From 5b3b7a186580d229a452955bf19e802a4831ef43 Mon Sep 17 00:00:00 2001 From: Ivan Borshchov Date: Wed, 8 Jan 2025 16:51:06 +0200 Subject: [PATCH] Deploy website - based on 8a800f461b996925a6fa078e68d214a9c56d54f8 --- 404.html | 2 +- assets/js/5dd1e9f0.cdc765aa.js | 1 - assets/js/5dd1e9f0.faf106c3.js | 1 + ...runtime~main.e310d6ee.js => runtime~main.e63957e7.js} | 2 +- blog/ai-blog/index.html | 2 +- blog/archive/index.html | 2 +- blog/authors/index.html | 2 +- blog/backup-database-to-aws-glacier/index.html | 2 +- blog/chatgpt-plugin/index.html | 2 +- blog/compose-ec2-deployment-github-actions/index.html | 2 +- blog/compose-ec2-deployment/index.html | 2 +- blog/index.html | 2 +- blog/tags/aws/index.html | 2 +- blog/tags/chatgpt/index.html | 2 +- blog/tags/github-actions/index.html | 2 +- blog/tags/index.html | 2 +- blog/tags/nuxt/index.html | 2 +- blog/tags/plugin/index.html | 2 +- blog/tags/terraform/index.html | 2 +- docs/api/index.html | 2 +- docs/api/types/Back/classes/Filters/index.html | 2 +- docs/api/types/Back/classes/Sorts/index.html | 2 +- docs/api/types/Back/index.html | 2 +- .../Back/interfaces/AdminForthBulkAction/index.html | 2 +- .../types/Back/interfaces/AdminForthConfig/index.html | 2 +- .../interfaces/AdminForthConfigCustomization/index.html | 2 +- .../Back/interfaces/AdminForthForeignResource/index.html | 2 +- .../Back/interfaces/AdminForthInputConfig/index.html | 2 +- .../types/Back/interfaces/AdminForthResource/index.html | 2 +- .../Back/interfaces/AdminForthResourceColumn/index.html | 2 +- .../Back/interfaces/AdminForthResourceInput/index.html | 2 +- docs/api/types/Back/interfaces/HttpExtra/index.html | 2 +- docs/api/types/Back/interfaces/IAdminForth/index.html | 2 +- .../api/types/Back/interfaces/IAdminForthAuth/index.html | 2 +- .../interfaces/IAdminForthDataSourceConnector/index.html | 2 +- .../IAdminForthDataSourceConnectorBase/index.html | 2 +- .../IAdminForthDataSourceConnectorConstructor/index.html | 2 +- .../types/Back/interfaces/IAdminForthFilter/index.html | 2 +- .../Back/interfaces/IAdminForthHttpResponse/index.html | 2 +- .../types/Back/interfaces/IAdminForthPlugin/index.html | 2 +- .../types/Back/interfaces/IAdminForthRestAPI/index.html | 2 +- .../api/types/Back/interfaces/IAdminForthSort/index.html | 2 +- docs/api/types/Back/interfaces/ICodeInjector/index.html | 2 +- .../types/Back/interfaces/IConfigValidator/index.html | 2 +- .../types/Back/interfaces/IExpressHttpServer/index.html | 2 +- docs/api/types/Back/interfaces/IHttpServer/index.html | 2 +- .../Back/interfaces/IOperationalResource/index.html | 2 +- .../types/Back/interfaces/IWebSocketBroker/index.html | 2 +- .../types/Back/interfaces/IWebSocketClient/index.html | 2 +- .../api/types/Back/interfaces/ResourceOptions/index.html | 2 +- .../Back/interfaces/ResourceOptionsInput/index.html | 2 +- .../Back/type-aliases/AdminForthDataSource/index.html | 2 +- .../Back/type-aliases/AfterCreateSaveFunction/index.html | 2 +- .../AfterDataSourceResponseFunction/index.html | 2 +- .../Back/type-aliases/AfterDeleteSaveFunction/index.html | 2 +- .../Back/type-aliases/AfterEditSaveFunction/index.html | 2 +- .../Back/type-aliases/AllowedActionValue/index.html | 2 +- .../types/Back/type-aliases/AllowedActions/index.html | 2 +- .../Back/type-aliases/AllowedActionsInput/index.html | 2 +- .../type-aliases/BeforeCreateSaveFunction/index.html | 2 +- .../BeforeDataSourceRequestFunction/index.html | 2 +- .../type-aliases/BeforeDeleteSaveFunction/index.html | 2 +- .../Back/type-aliases/BeforeEditSaveFunction/index.html | 2 +- .../BeforeLoginConfirmationFunction/index.html | 2 +- docs/api/types/Back/type-aliases/FDataFilter/index.html | 2 +- docs/api/types/Back/type-aliases/FDataSort/index.html | 2 +- .../Common/enumerations/ActionCheckSource/index.html | 2 +- .../Common/enumerations/AdminForthDataTypes/index.html | 2 +- .../enumerations/AdminForthFilterOperators/index.html | 2 +- .../Common/enumerations/AdminForthMenuTypes/index.html | 2 +- .../enumerations/AdminForthResourcePages/index.html | 2 +- .../enumerations/AdminForthSortDirections/index.html | 2 +- .../Common/enumerations/AllowedActionsEnum/index.html | 2 +- docs/api/types/Common/index.html | 2 +- .../interfaces/AdminForthBulkActionCommon/index.html | 2 +- .../interfaces/AdminForthColumnEnumItem/index.html | 2 +- .../AdminForthComponentDeclarationFull/index.html | 2 +- .../interfaces/AdminForthConfigForFrontend/index.html | 2 +- .../interfaces/AdminForthConfigMenuItem/index.html | 2 +- .../interfaces/AdminForthFieldComponents/index.html | 2 +- .../AdminForthForeignResourceCommon/index.html | 2 +- .../interfaces/AdminForthResourceColumnCommon/index.html | 2 +- .../AdminForthResourceColumnInputCommon/index.html | 2 +- .../interfaces/AdminForthResourceCommon/index.html | 2 +- .../interfaces/AdminForthResourceInputCommon/index.html | 2 +- docs/api/types/Common/interfaces/AdminUser/index.html | 2 +- .../Common/interfaces/GetBaseConfigResponse/index.html | 2 +- .../types/Common/interfaces/ResourceVeryShort/index.html | 2 +- docs/api/types/Common/interfaces/UserData/index.html | 2 +- .../AdminForthComponentDeclaration/index.html | 2 +- .../type-aliases/AllowedActionsResolved/index.html | 2 +- .../type-aliases/AnnouncementBadgeResponse/index.html | 2 +- .../Common/type-aliases/ValidationObject/index.html | 2 +- .../FrontendAPI/enumerations/AlertVariant/index.html | 2 +- docs/api/types/FrontendAPI/index.html | 2 +- .../interfaces/FrontendAPIInterface/index.html | 2 +- .../FrontendAPI/type-aliases/AlertParams/index.html | 2 +- .../FrontendAPI/type-aliases/ConfirmParams/index.html | 2 +- .../FrontendAPI/type-aliases/FilterParams/index.html | 2 +- docs/tutorial/Advanced/plugin-development/index.html | 2 +- docs/tutorial/Customization/afcl/index.html | 2 +- docs/tutorial/Customization/alert/index.html | 2 +- docs/tutorial/Customization/branding/index.html | 2 +- docs/tutorial/Customization/bulkActions/index.html | 2 +- .../Customization/customFieldRendering/index.html | 2 +- docs/tutorial/Customization/customPages/index.html | 2 +- docs/tutorial/Customization/dataApi/index.html | 2 +- docs/tutorial/Customization/hooks/index.html | 2 +- docs/tutorial/Customization/limitingAccess/index.html | 2 +- docs/tutorial/Customization/menuConfiguration/index.html | 2 +- docs/tutorial/Customization/pageInjections/index.html | 2 +- docs/tutorial/Customization/security/index.html | 2 +- .../Customization/standardPagesTuning/index.html | 2 +- docs/tutorial/Customization/virtualColumns/index.html | 2 +- docs/tutorial/Customization/websocket/index.html | 2 +- docs/tutorial/Plugins/AuditLog/index.html | 2 +- docs/tutorial/Plugins/ForeignInlineList/index.html | 2 +- docs/tutorial/Plugins/RichEditor/index.html | 2 +- docs/tutorial/Plugins/TwoFactorsAuth/index.html | 2 +- docs/tutorial/Plugins/email-password-reset/index.html | 2 +- docs/tutorial/Plugins/i18n/index.html | 9 +++++++-- docs/tutorial/Plugins/import-export/index.html | 2 +- docs/tutorial/Plugins/open-signup/index.html | 2 +- docs/tutorial/Plugins/text-complete/index.html | 2 +- docs/tutorial/Plugins/upload/index.html | 2 +- docs/tutorial/deploy/index.html | 2 +- docs/tutorial/gettingStarted/index.html | 2 +- docs/tutorial/glossary/index.html | 2 +- docs/tutorial/hello-world/index.html | 2 +- index.html | 2 +- search/index.html | 2 +- 131 files changed, 136 insertions(+), 131 deletions(-) delete mode 100644 assets/js/5dd1e9f0.cdc765aa.js create mode 100644 assets/js/5dd1e9f0.faf106c3.js rename assets/js/{runtime~main.e310d6ee.js => runtime~main.e63957e7.js} (82%) diff --git a/404.html b/404.html index fc1c277fe..580c21a7e 100644 --- a/404.html +++ b/404.html @@ -16,7 +16,7 @@ - + diff --git a/assets/js/5dd1e9f0.cdc765aa.js b/assets/js/5dd1e9f0.cdc765aa.js deleted file mode 100644 index 6470c15c3..000000000 --- a/assets/js/5dd1e9f0.cdc765aa.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkadminforth=self.webpackChunkadminforth||[]).push([[5653],{6610:(n,e,t)=>{t.r(e),t.d(e,{assets:()=>l,contentTitle:()=>o,default:()=>u,frontMatter:()=>r,metadata:()=>a,toc:()=>d});const a=JSON.parse('{"id":"tutorial/Plugins/i18n","title":"Internationalization (i18n)","description":"This plugin allows you translate your AdminForth application to multiple languages.","source":"@site/docs/tutorial/05-Plugins/10-i18n.md","sourceDirName":"tutorial/05-Plugins","slug":"/tutorial/Plugins/i18n","permalink":"/docs/tutorial/Plugins/i18n","draft":false,"unlisted":false,"tags":[],"version":"current","sidebarPosition":10,"frontMatter":{},"sidebar":"tutorialSidebar","previous":{"title":"Open Signup","permalink":"/docs/tutorial/Plugins/open-signup"},"next":{"title":"Plugin development guide","permalink":"/docs/tutorial/Advanced/plugin-development"}}');var s=t(4848),i=t(8453);const r={},o="Internationalization (i18n)",l={},d=[{value:"Installation",id:"installation",level:2},{value:"Translation for custom components",id:"translation-for-custom-components",level:2},{value:"Variables in frontend translations",id:"variables-in-frontend-translations",level:3},{value:"HTML in translations",id:"html-in-translations",level:3},{value:"Pluralization",id:"pluralization",level:3},{value:"Limiting access to translating",id:"limiting-access-to-translating",level:2},{value:"Translations in custom APIs",id:"translations-in-custom-apis",level:2},{value:"Pluralisation in backend translations",id:"pluralisation-in-backend-translations",level:3},{value:"Translating messages within bulk action",id:"translating-messages-within-bulk-action",level:2},{value:"Translating external application",id:"translating-external-application",level:2}];function c(n){const e={a:"a",blockquote:"blockquote",code:"code",h1:"h1",h2:"h2",h3:"h3",header:"header",img:"img",li:"li",p:"p",pre:"pre",ul:"ul",...(0,i.R)(),...n.components};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(e.header,{children:(0,s.jsx)(e.h1,{id:"internationalization-i18n",children:"Internationalization (i18n)"})}),"\n",(0,s.jsx)(e.p,{children:"This plugin allows you translate your AdminForth application to multiple languages.\nMain features:"}),"\n",(0,s.jsxs)(e.ul,{children:["\n",(0,s.jsxs)(e.li,{children:["Stores all translation strings in your application in a single AdminForth resource. You can set ",(0,s.jsx)(e.a,{href:"/docs/tutorial/Customization/limitingAccess/#disable-some-action-based-on-logged-in-user-record-or-role",children:"allowed actions"})," only to Developers/Translators role if you don't want other users to see/edit the translations."]}),"\n",(0,s.jsx)(e.li,{children:"Supports AI completion adapters to help with translations. For example, you can use OpenAI ChatGPT to generate translations. Supports correct pluralization, even for Slavic languages."}),"\n",(0,s.jsx)(e.li,{children:"Supports any number of languages."}),"\n"]}),"\n",(0,s.jsx)(e.p,{children:"Under the hood it uses vue-i18n library and provides several additional facilities to make the translation process easier."}),"\n",(0,s.jsx)(e.h2,{id:"installation",children:"Installation"}),"\n",(0,s.jsx)(e.p,{children:"To install the plugin:"}),"\n",(0,s.jsx)(e.pre,{children:(0,s.jsx)(e.code,{className:"language-bash",children:"npm install @adminforth/i18n --save\nnpm install @adminforth/completion-adapter-open-ai-chat-gpt --save\n"})}),"\n",(0,s.jsx)(e.p,{children:"For example lets add translations to next 4 languages: Ukrainian, Japanese, French, Spanish. Also we will support basic translation for English."}),"\n",(0,s.jsx)(e.p,{children:"Add a model for translations, if you are using prisma, add something like this:"}),"\n",(0,s.jsx)(e.pre,{children:(0,s.jsx)(e.code,{className:"language-ts",metastring:"title='./schema.prisma'",children:"model translations {\n id String @id\n en_string String\n created_at DateTime\n uk_string String? // translation for Ukrainian language\n ja_string String? // translation for Japanese language\n fr_string String? // translation for French language\n es_string String? // translation for Spanish language\n category String\n source String?\n completedLangs String?\n \n // we need both indexes on en_string+category and separately on category\n @@index([en_string, category])\n @@index([category])\n}\n"})}),"\n",(0,s.jsxs)(e.p,{children:["If you want more languages, just add more fields like ",(0,s.jsx)(e.code,{children:"uk_string"}),", ",(0,s.jsx)(e.code,{children:"ja_string"}),", ",(0,s.jsx)(e.code,{children:"fr_string"}),", ",(0,s.jsx)(e.code,{children:"es_string"})," to the model."]}),"\n",(0,s.jsx)(e.p,{children:"Next, add resource for translations:"}),"\n",(0,s.jsx)(e.pre,{children:(0,s.jsx)(e.code,{className:"language-ts",metastring:"title='./resources/translations.ts'",children:"\nimport AdminForth, { AdminForthDataTypes, AdminForthResourceInput } from \"adminforth\";\nimport CompletionAdapterOpenAIChatGPT from \"@adminforth/completion-adapter-open-ai-chat-gpt\";\nimport I18nPlugin from \"@adminforth/i18n\";\nimport { v1 as uuid } from \"uuid\";\n\n\nexport default {\n dataSource: \"maindb\",\n table: \"translations\",\n resourceId: \"translations\",\n label: \"Translations\",\n\n recordLabel: (r: any) => `\u270d\ufe0f ${r.en_string}`,\n plugins: [\n new I18nPlugin({\n supportedLanguages: ['en', 'uk', 'ja', 'fr'],\n\n // names of the fields in the resource which will store translations\n translationFieldNames: {\n en: 'en_string',\n uk: 'uk_string',\n ja: 'ja_string',\n fr: 'fr_string',\n },\n\n // name of the field which will store the category of the string\n // this helps to categorize strings and deliver them efficiently\n categoryFieldName: 'category',\n\n // optional field to store the source (e.g. source file name)\n sourceFieldName: 'source',\n\n // optional field store list of completed translations\n // will hel to filter out incomplete translations\n completedFieldName: 'completedLangs',\n\n completeAdapter: new CompletionAdapterOpenAIChatGPT({\n openAiApiKey: process.env.OPENAI_API_KEY as string,\n model: 'gpt-4o-mini',\n expert: {\n // for UI translation it is better to lower down the temperature from default 0.7. Less creative and more accurate\n temperature: 0.5,\n },\n }),\n }),\n\n ],\n options: {\n listPageSize: 30,\n },\n columns: [\n {\n name: \"id\",\n fillOnCreate: ({ initialRecord, adminUser }: any) => uuid(),\n primaryKey: true,\n showIn: [],\n },\n {\n name: \"en_string\",\n type: AdminForthDataTypes.STRING,\n label: 'English',\n },\n {\n name: \"created_at\",\n fillOnCreate: ({ initialRecord, adminUser }: any) => new Date().toISOString(),\n },\n {\n name: \"uk_string\",\n type: AdminForthDataTypes.STRING,\n label: 'Ukrainian',\n },\n {\n name: \"ja_string\",\n type: AdminForthDataTypes.STRING,\n label: 'Japanese',\n },\n {\n name: \"fr_string\",\n type: AdminForthDataTypes.STRING,\n label: 'French',\n },\n {\n name: \"completedLangs\",\n },\n {\n name: \"source\",\n showIn: ['filter', 'show'],\n type: AdminForthDataTypes.STRING,\n },\n {\n name: \"category\",\n showIn: ['filter', 'show', 'list'],\n type: AdminForthDataTypes.STRING,\n }\n ],\n} as AdminForthResourceInput;\n"})}),"\n",(0,s.jsxs)(e.p,{children:["Add ",(0,s.jsx)(e.code,{children:"OPENAI_API_KEY"})," to your ",(0,s.jsx)(e.code,{children:".env"})," file:"]}),"\n",(0,s.jsx)(e.pre,{children:(0,s.jsx)(e.code,{className:"language-bash",children:"OPENAI_API_KEY=your_openai_api_key\n"})}),"\n",(0,s.jsxs)(e.p,{children:["Also add the resource to main file and add menu item in ",(0,s.jsx)(e.code,{children:"./index.ts"}),":"]}),"\n",(0,s.jsx)(e.pre,{children:(0,s.jsx)(e.code,{className:"language-ts",metastring:"title='./index.ts'",children:"\n//diff-add\nimport translations from \"./resources/translations\";\n...\n\nconst adminForth = new AdminForth({\n ...\n resources: [\n ...\n//diff-add\n translations,\n ],\n menu: [\n ...\n//diff-add\n {\n//diff-add\n label: 'Translations',\n//diff-add\n icon: 'material-symbols:translate',\n//diff-add\n resourceId: 'translations',\n//diff-add\n },\n ],\n ...\n});\n\n"})}),"\n",(0,s.jsx)(e.p,{children:"This is it, now you should restart your app and see the translations resource in the menu."}),"\n",(0,s.jsx)(e.p,{children:"You can add translations for each language manually or use Bulk actions to generate translations with AI completion adapter."}),"\n",(0,s.jsx)(e.p,{children:'For simplicity you can also use filter to get only untranslated strings and complete them one by one (filter name "Fully translated" in the filter).'}),"\n",(0,s.jsx)(e.h2,{id:"translation-for-custom-components",children:"Translation for custom components"}),"\n",(0,s.jsx)(e.p,{children:"To translate custom components, you should simply wrap all strings in $t function. For example:"}),"\n",(0,s.jsxs)(e.p,{children:["Now create file ",(0,s.jsx)(e.code,{children:"CustomLoginFooter.vue"})," in the ",(0,s.jsx)(e.code,{children:"custom"})," folder of your project:"]}),"\n",(0,s.jsx)(e.pre,{children:(0,s.jsx)(e.code,{className:"language-html",metastring:'title="./custom/CustomLoginFooter.vue"',children:'\n'})}),"\n",(0,s.jsx)(e.h3,{id:"variables-in-frontend-translations",children:"Variables in frontend translations"}),"\n",(0,s.jsx)(e.p,{children:"You can use variables in translations in same way like you would do it with vue-i18n library."}),"\n",(0,s.jsx)(e.p,{children:"This is generally helps to understand the context of the translation for AI completion adapters and simplifies the translation process, even if done manually."}),"\n",(0,s.jsx)(e.p,{children:'For example if you have string "Showing 1 to 10 of 100 entries" you can of course simply do'}),"\n",(0,s.jsx)(e.pre,{children:(0,s.jsx)(e.code,{className:"language-html",children:"{{ $t('Showing')}} {{from}} {{$t('to')}} {{to}} {{$t('of')}} {{total}} {{$t('entries') }}\n"})}),"\n",(0,s.jsx)(e.p,{children:"And it will form 4 translation strings. But it is much better to have it as single string with variables like this:"}),"\n",(0,s.jsx)(e.pre,{children:(0,s.jsx)(e.code,{className:"language-html",children:"{{ $t('Showing {from} to {to} of {total} entries', { from, to, total } ) }}\n"})}),"\n",(0,s.jsx)(e.p,{children:"For example, let's add user greeting to the header."}),"\n",(0,s.jsx)(e.pre,{children:(0,s.jsx)(e.code,{className:"language-html",metastring:'title="./custom/Header.vue"',children:'\n\n - + diff --git a/blog/archive/index.html b/blog/archive/index.html index dc781a964..9f7e08c2c 100644 --- a/blog/archive/index.html +++ b/blog/archive/index.html @@ -16,7 +16,7 @@ - + diff --git a/blog/authors/index.html b/blog/authors/index.html index c70938eaf..e01c92a02 100644 --- a/blog/authors/index.html +++ b/blog/authors/index.html @@ -16,7 +16,7 @@ - + diff --git a/blog/backup-database-to-aws-glacier/index.html b/blog/backup-database-to-aws-glacier/index.html index 5da3967ee..73f4de58f 100644 --- a/blog/backup-database-to-aws-glacier/index.html +++ b/blog/backup-database-to-aws-glacier/index.html @@ -16,7 +16,7 @@ - + diff --git a/blog/chatgpt-plugin/index.html b/blog/chatgpt-plugin/index.html index bf245cf57..3e10bcc88 100644 --- a/blog/chatgpt-plugin/index.html +++ b/blog/chatgpt-plugin/index.html @@ -16,7 +16,7 @@ - + diff --git a/blog/compose-ec2-deployment-github-actions/index.html b/blog/compose-ec2-deployment-github-actions/index.html index 8c136d286..f3d3c9484 100644 --- a/blog/compose-ec2-deployment-github-actions/index.html +++ b/blog/compose-ec2-deployment-github-actions/index.html @@ -16,7 +16,7 @@ - + diff --git a/blog/compose-ec2-deployment/index.html b/blog/compose-ec2-deployment/index.html index b7c778e20..b453e11f0 100644 --- a/blog/compose-ec2-deployment/index.html +++ b/blog/compose-ec2-deployment/index.html @@ -16,7 +16,7 @@ - + diff --git a/blog/index.html b/blog/index.html index 36656d230..a892482b4 100644 --- a/blog/index.html +++ b/blog/index.html @@ -16,7 +16,7 @@ - + diff --git a/blog/tags/aws/index.html b/blog/tags/aws/index.html index 02d0c92a0..301426086 100644 --- a/blog/tags/aws/index.html +++ b/blog/tags/aws/index.html @@ -16,7 +16,7 @@ - + diff --git a/blog/tags/chatgpt/index.html b/blog/tags/chatgpt/index.html index c4f09fe03..694e0dc11 100644 --- a/blog/tags/chatgpt/index.html +++ b/blog/tags/chatgpt/index.html @@ -16,7 +16,7 @@ - + diff --git a/blog/tags/github-actions/index.html b/blog/tags/github-actions/index.html index dc0e4027b..edd130977 100644 --- a/blog/tags/github-actions/index.html +++ b/blog/tags/github-actions/index.html @@ -16,7 +16,7 @@ - + diff --git a/blog/tags/index.html b/blog/tags/index.html index 7a85101d9..5b141b25a 100644 --- a/blog/tags/index.html +++ b/blog/tags/index.html @@ -16,7 +16,7 @@ - + diff --git a/blog/tags/nuxt/index.html b/blog/tags/nuxt/index.html index 9850df861..6416b74cc 100644 --- a/blog/tags/nuxt/index.html +++ b/blog/tags/nuxt/index.html @@ -16,7 +16,7 @@ - + diff --git a/blog/tags/plugin/index.html b/blog/tags/plugin/index.html index 085d16702..db703ce57 100644 --- a/blog/tags/plugin/index.html +++ b/blog/tags/plugin/index.html @@ -16,7 +16,7 @@ - + diff --git a/blog/tags/terraform/index.html b/blog/tags/terraform/index.html index f9082c7fa..cece5ce41 100644 --- a/blog/tags/terraform/index.html +++ b/blog/tags/terraform/index.html @@ -16,7 +16,7 @@ - + diff --git a/docs/api/index.html b/docs/api/index.html index 05061da56..66c4b0bfd 100644 --- a/docs/api/index.html +++ b/docs/api/index.html @@ -16,7 +16,7 @@ - + diff --git a/docs/api/types/Back/classes/Filters/index.html b/docs/api/types/Back/classes/Filters/index.html index 9bd807b9e..cb4218ab2 100644 --- a/docs/api/types/Back/classes/Filters/index.html +++ b/docs/api/types/Back/classes/Filters/index.html @@ -16,7 +16,7 @@ - + diff --git a/docs/api/types/Back/classes/Sorts/index.html b/docs/api/types/Back/classes/Sorts/index.html index a59b70dc1..1968db5d7 100644 --- a/docs/api/types/Back/classes/Sorts/index.html +++ b/docs/api/types/Back/classes/Sorts/index.html @@ -16,7 +16,7 @@ - + diff --git a/docs/api/types/Back/index.html b/docs/api/types/Back/index.html index d803742d8..4d56c90e1 100644 --- a/docs/api/types/Back/index.html +++ b/docs/api/types/Back/index.html @@ -16,7 +16,7 @@ - + diff --git a/docs/api/types/Back/interfaces/AdminForthBulkAction/index.html b/docs/api/types/Back/interfaces/AdminForthBulkAction/index.html index 6b211b0fa..2d717a8e2 100644 --- a/docs/api/types/Back/interfaces/AdminForthBulkAction/index.html +++ b/docs/api/types/Back/interfaces/AdminForthBulkAction/index.html @@ -16,7 +16,7 @@ - + diff --git a/docs/api/types/Back/interfaces/AdminForthConfig/index.html b/docs/api/types/Back/interfaces/AdminForthConfig/index.html index ef34a5971..be7e46427 100644 --- a/docs/api/types/Back/interfaces/AdminForthConfig/index.html +++ b/docs/api/types/Back/interfaces/AdminForthConfig/index.html @@ -16,7 +16,7 @@ - + diff --git a/docs/api/types/Back/interfaces/AdminForthConfigCustomization/index.html b/docs/api/types/Back/interfaces/AdminForthConfigCustomization/index.html index 0b5942d8c..4d7282d9c 100644 --- a/docs/api/types/Back/interfaces/AdminForthConfigCustomization/index.html +++ b/docs/api/types/Back/interfaces/AdminForthConfigCustomization/index.html @@ -16,7 +16,7 @@ - + diff --git a/docs/api/types/Back/interfaces/AdminForthForeignResource/index.html b/docs/api/types/Back/interfaces/AdminForthForeignResource/index.html index 39b475cfe..537fff30b 100644 --- a/docs/api/types/Back/interfaces/AdminForthForeignResource/index.html +++ b/docs/api/types/Back/interfaces/AdminForthForeignResource/index.html @@ -16,7 +16,7 @@ - + diff --git a/docs/api/types/Back/interfaces/AdminForthInputConfig/index.html b/docs/api/types/Back/interfaces/AdminForthInputConfig/index.html index f36800c62..55eee8b5b 100644 --- a/docs/api/types/Back/interfaces/AdminForthInputConfig/index.html +++ b/docs/api/types/Back/interfaces/AdminForthInputConfig/index.html @@ -16,7 +16,7 @@ - + diff --git a/docs/api/types/Back/interfaces/AdminForthResource/index.html b/docs/api/types/Back/interfaces/AdminForthResource/index.html index 4ee9b2fec..293e125d4 100644 --- a/docs/api/types/Back/interfaces/AdminForthResource/index.html +++ b/docs/api/types/Back/interfaces/AdminForthResource/index.html @@ -16,7 +16,7 @@ - + diff --git a/docs/api/types/Back/interfaces/AdminForthResourceColumn/index.html b/docs/api/types/Back/interfaces/AdminForthResourceColumn/index.html index 9c16efdff..6bf02c665 100644 --- a/docs/api/types/Back/interfaces/AdminForthResourceColumn/index.html +++ b/docs/api/types/Back/interfaces/AdminForthResourceColumn/index.html @@ -16,7 +16,7 @@ - + diff --git a/docs/api/types/Back/interfaces/AdminForthResourceInput/index.html b/docs/api/types/Back/interfaces/AdminForthResourceInput/index.html index 23388b4e1..6ecdef130 100644 --- a/docs/api/types/Back/interfaces/AdminForthResourceInput/index.html +++ b/docs/api/types/Back/interfaces/AdminForthResourceInput/index.html @@ -16,7 +16,7 @@ - + diff --git a/docs/api/types/Back/interfaces/HttpExtra/index.html b/docs/api/types/Back/interfaces/HttpExtra/index.html index 6f86deb03..c105784f0 100644 --- a/docs/api/types/Back/interfaces/HttpExtra/index.html +++ b/docs/api/types/Back/interfaces/HttpExtra/index.html @@ -16,7 +16,7 @@ - + diff --git a/docs/api/types/Back/interfaces/IAdminForth/index.html b/docs/api/types/Back/interfaces/IAdminForth/index.html index 440ca5687..98ce74723 100644 --- a/docs/api/types/Back/interfaces/IAdminForth/index.html +++ b/docs/api/types/Back/interfaces/IAdminForth/index.html @@ -16,7 +16,7 @@ - + diff --git a/docs/api/types/Back/interfaces/IAdminForthAuth/index.html b/docs/api/types/Back/interfaces/IAdminForthAuth/index.html index b0bbcd659..3faa89ab3 100644 --- a/docs/api/types/Back/interfaces/IAdminForthAuth/index.html +++ b/docs/api/types/Back/interfaces/IAdminForthAuth/index.html @@ -16,7 +16,7 @@ - + diff --git a/docs/api/types/Back/interfaces/IAdminForthDataSourceConnector/index.html b/docs/api/types/Back/interfaces/IAdminForthDataSourceConnector/index.html index cae143445..fb74872a7 100644 --- a/docs/api/types/Back/interfaces/IAdminForthDataSourceConnector/index.html +++ b/docs/api/types/Back/interfaces/IAdminForthDataSourceConnector/index.html @@ -16,7 +16,7 @@ - + diff --git a/docs/api/types/Back/interfaces/IAdminForthDataSourceConnectorBase/index.html b/docs/api/types/Back/interfaces/IAdminForthDataSourceConnectorBase/index.html index a2519ef84..b4152e3ef 100644 --- a/docs/api/types/Back/interfaces/IAdminForthDataSourceConnectorBase/index.html +++ b/docs/api/types/Back/interfaces/IAdminForthDataSourceConnectorBase/index.html @@ -16,7 +16,7 @@ - + diff --git a/docs/api/types/Back/interfaces/IAdminForthDataSourceConnectorConstructor/index.html b/docs/api/types/Back/interfaces/IAdminForthDataSourceConnectorConstructor/index.html index a80d0a5fc..37bd4812b 100644 --- a/docs/api/types/Back/interfaces/IAdminForthDataSourceConnectorConstructor/index.html +++ b/docs/api/types/Back/interfaces/IAdminForthDataSourceConnectorConstructor/index.html @@ -16,7 +16,7 @@ - + diff --git a/docs/api/types/Back/interfaces/IAdminForthFilter/index.html b/docs/api/types/Back/interfaces/IAdminForthFilter/index.html index 74fb1f332..974cf6453 100644 --- a/docs/api/types/Back/interfaces/IAdminForthFilter/index.html +++ b/docs/api/types/Back/interfaces/IAdminForthFilter/index.html @@ -16,7 +16,7 @@ - + diff --git a/docs/api/types/Back/interfaces/IAdminForthHttpResponse/index.html b/docs/api/types/Back/interfaces/IAdminForthHttpResponse/index.html index 67a424257..a6c557c30 100644 --- a/docs/api/types/Back/interfaces/IAdminForthHttpResponse/index.html +++ b/docs/api/types/Back/interfaces/IAdminForthHttpResponse/index.html @@ -16,7 +16,7 @@ - + diff --git a/docs/api/types/Back/interfaces/IAdminForthPlugin/index.html b/docs/api/types/Back/interfaces/IAdminForthPlugin/index.html index f9eaaed56..48d427b1d 100644 --- a/docs/api/types/Back/interfaces/IAdminForthPlugin/index.html +++ b/docs/api/types/Back/interfaces/IAdminForthPlugin/index.html @@ -16,7 +16,7 @@ - + diff --git a/docs/api/types/Back/interfaces/IAdminForthRestAPI/index.html b/docs/api/types/Back/interfaces/IAdminForthRestAPI/index.html index 8f1fc3bb7..16e3b35d7 100644 --- a/docs/api/types/Back/interfaces/IAdminForthRestAPI/index.html +++ b/docs/api/types/Back/interfaces/IAdminForthRestAPI/index.html @@ -16,7 +16,7 @@ - + diff --git a/docs/api/types/Back/interfaces/IAdminForthSort/index.html b/docs/api/types/Back/interfaces/IAdminForthSort/index.html index 30f899ef3..5c47c01c2 100644 --- a/docs/api/types/Back/interfaces/IAdminForthSort/index.html +++ b/docs/api/types/Back/interfaces/IAdminForthSort/index.html @@ -16,7 +16,7 @@ - + diff --git a/docs/api/types/Back/interfaces/ICodeInjector/index.html b/docs/api/types/Back/interfaces/ICodeInjector/index.html index aa7ea9f93..1c8416100 100644 --- a/docs/api/types/Back/interfaces/ICodeInjector/index.html +++ b/docs/api/types/Back/interfaces/ICodeInjector/index.html @@ -16,7 +16,7 @@ - + diff --git a/docs/api/types/Back/interfaces/IConfigValidator/index.html b/docs/api/types/Back/interfaces/IConfigValidator/index.html index 9f33dd8cf..5a11e5680 100644 --- a/docs/api/types/Back/interfaces/IConfigValidator/index.html +++ b/docs/api/types/Back/interfaces/IConfigValidator/index.html @@ -16,7 +16,7 @@ - + diff --git a/docs/api/types/Back/interfaces/IExpressHttpServer/index.html b/docs/api/types/Back/interfaces/IExpressHttpServer/index.html index cddf85549..46b008786 100644 --- a/docs/api/types/Back/interfaces/IExpressHttpServer/index.html +++ b/docs/api/types/Back/interfaces/IExpressHttpServer/index.html @@ -16,7 +16,7 @@ - + diff --git a/docs/api/types/Back/interfaces/IHttpServer/index.html b/docs/api/types/Back/interfaces/IHttpServer/index.html index 45cff8042..9eb1dd78e 100644 --- a/docs/api/types/Back/interfaces/IHttpServer/index.html +++ b/docs/api/types/Back/interfaces/IHttpServer/index.html @@ -16,7 +16,7 @@ - + diff --git a/docs/api/types/Back/interfaces/IOperationalResource/index.html b/docs/api/types/Back/interfaces/IOperationalResource/index.html index f7f5029fd..46a4a3b7a 100644 --- a/docs/api/types/Back/interfaces/IOperationalResource/index.html +++ b/docs/api/types/Back/interfaces/IOperationalResource/index.html @@ -16,7 +16,7 @@ - + diff --git a/docs/api/types/Back/interfaces/IWebSocketBroker/index.html b/docs/api/types/Back/interfaces/IWebSocketBroker/index.html index 3be616dec..951c873fb 100644 --- a/docs/api/types/Back/interfaces/IWebSocketBroker/index.html +++ b/docs/api/types/Back/interfaces/IWebSocketBroker/index.html @@ -16,7 +16,7 @@ - + diff --git a/docs/api/types/Back/interfaces/IWebSocketClient/index.html b/docs/api/types/Back/interfaces/IWebSocketClient/index.html index 324af4724..3fb9989c0 100644 --- a/docs/api/types/Back/interfaces/IWebSocketClient/index.html +++ b/docs/api/types/Back/interfaces/IWebSocketClient/index.html @@ -16,7 +16,7 @@ - + diff --git a/docs/api/types/Back/interfaces/ResourceOptions/index.html b/docs/api/types/Back/interfaces/ResourceOptions/index.html index d0f33f6fc..d95938df5 100644 --- a/docs/api/types/Back/interfaces/ResourceOptions/index.html +++ b/docs/api/types/Back/interfaces/ResourceOptions/index.html @@ -16,7 +16,7 @@ - + diff --git a/docs/api/types/Back/interfaces/ResourceOptionsInput/index.html b/docs/api/types/Back/interfaces/ResourceOptionsInput/index.html index b1d97a190..094d2a8b0 100644 --- a/docs/api/types/Back/interfaces/ResourceOptionsInput/index.html +++ b/docs/api/types/Back/interfaces/ResourceOptionsInput/index.html @@ -16,7 +16,7 @@ - + diff --git a/docs/api/types/Back/type-aliases/AdminForthDataSource/index.html b/docs/api/types/Back/type-aliases/AdminForthDataSource/index.html index 9741f1207..cdf7b6013 100644 --- a/docs/api/types/Back/type-aliases/AdminForthDataSource/index.html +++ b/docs/api/types/Back/type-aliases/AdminForthDataSource/index.html @@ -16,7 +16,7 @@ - + diff --git a/docs/api/types/Back/type-aliases/AfterCreateSaveFunction/index.html b/docs/api/types/Back/type-aliases/AfterCreateSaveFunction/index.html index 31267b6ba..1c39bcb5f 100644 --- a/docs/api/types/Back/type-aliases/AfterCreateSaveFunction/index.html +++ b/docs/api/types/Back/type-aliases/AfterCreateSaveFunction/index.html @@ -16,7 +16,7 @@ - + diff --git a/docs/api/types/Back/type-aliases/AfterDataSourceResponseFunction/index.html b/docs/api/types/Back/type-aliases/AfterDataSourceResponseFunction/index.html index 89d657669..7b3da012d 100644 --- a/docs/api/types/Back/type-aliases/AfterDataSourceResponseFunction/index.html +++ b/docs/api/types/Back/type-aliases/AfterDataSourceResponseFunction/index.html @@ -16,7 +16,7 @@ - + diff --git a/docs/api/types/Back/type-aliases/AfterDeleteSaveFunction/index.html b/docs/api/types/Back/type-aliases/AfterDeleteSaveFunction/index.html index 2560f7382..d4dd0e783 100644 --- a/docs/api/types/Back/type-aliases/AfterDeleteSaveFunction/index.html +++ b/docs/api/types/Back/type-aliases/AfterDeleteSaveFunction/index.html @@ -16,7 +16,7 @@ - + diff --git a/docs/api/types/Back/type-aliases/AfterEditSaveFunction/index.html b/docs/api/types/Back/type-aliases/AfterEditSaveFunction/index.html index bed85bfed..f56e93c25 100644 --- a/docs/api/types/Back/type-aliases/AfterEditSaveFunction/index.html +++ b/docs/api/types/Back/type-aliases/AfterEditSaveFunction/index.html @@ -16,7 +16,7 @@ - + diff --git a/docs/api/types/Back/type-aliases/AllowedActionValue/index.html b/docs/api/types/Back/type-aliases/AllowedActionValue/index.html index df6423b7c..562e35115 100644 --- a/docs/api/types/Back/type-aliases/AllowedActionValue/index.html +++ b/docs/api/types/Back/type-aliases/AllowedActionValue/index.html @@ -16,7 +16,7 @@ - + diff --git a/docs/api/types/Back/type-aliases/AllowedActions/index.html b/docs/api/types/Back/type-aliases/AllowedActions/index.html index 44a83d8bb..dbe31eb44 100644 --- a/docs/api/types/Back/type-aliases/AllowedActions/index.html +++ b/docs/api/types/Back/type-aliases/AllowedActions/index.html @@ -16,7 +16,7 @@ - + diff --git a/docs/api/types/Back/type-aliases/AllowedActionsInput/index.html b/docs/api/types/Back/type-aliases/AllowedActionsInput/index.html index 9de9d73cd..3a80ca1ae 100644 --- a/docs/api/types/Back/type-aliases/AllowedActionsInput/index.html +++ b/docs/api/types/Back/type-aliases/AllowedActionsInput/index.html @@ -16,7 +16,7 @@ - + diff --git a/docs/api/types/Back/type-aliases/BeforeCreateSaveFunction/index.html b/docs/api/types/Back/type-aliases/BeforeCreateSaveFunction/index.html index cb29f800e..bf7f22d3e 100644 --- a/docs/api/types/Back/type-aliases/BeforeCreateSaveFunction/index.html +++ b/docs/api/types/Back/type-aliases/BeforeCreateSaveFunction/index.html @@ -16,7 +16,7 @@ - + diff --git a/docs/api/types/Back/type-aliases/BeforeDataSourceRequestFunction/index.html b/docs/api/types/Back/type-aliases/BeforeDataSourceRequestFunction/index.html index ccedd3a0a..c5b4c71a2 100644 --- a/docs/api/types/Back/type-aliases/BeforeDataSourceRequestFunction/index.html +++ b/docs/api/types/Back/type-aliases/BeforeDataSourceRequestFunction/index.html @@ -16,7 +16,7 @@ - + diff --git a/docs/api/types/Back/type-aliases/BeforeDeleteSaveFunction/index.html b/docs/api/types/Back/type-aliases/BeforeDeleteSaveFunction/index.html index 4a5ad92e9..cca891fc3 100644 --- a/docs/api/types/Back/type-aliases/BeforeDeleteSaveFunction/index.html +++ b/docs/api/types/Back/type-aliases/BeforeDeleteSaveFunction/index.html @@ -16,7 +16,7 @@ - + diff --git a/docs/api/types/Back/type-aliases/BeforeEditSaveFunction/index.html b/docs/api/types/Back/type-aliases/BeforeEditSaveFunction/index.html index 392d92907..ceccf5132 100644 --- a/docs/api/types/Back/type-aliases/BeforeEditSaveFunction/index.html +++ b/docs/api/types/Back/type-aliases/BeforeEditSaveFunction/index.html @@ -16,7 +16,7 @@ - + diff --git a/docs/api/types/Back/type-aliases/BeforeLoginConfirmationFunction/index.html b/docs/api/types/Back/type-aliases/BeforeLoginConfirmationFunction/index.html index a3fdf4777..8fafde2b2 100644 --- a/docs/api/types/Back/type-aliases/BeforeLoginConfirmationFunction/index.html +++ b/docs/api/types/Back/type-aliases/BeforeLoginConfirmationFunction/index.html @@ -16,7 +16,7 @@ - + diff --git a/docs/api/types/Back/type-aliases/FDataFilter/index.html b/docs/api/types/Back/type-aliases/FDataFilter/index.html index c27134930..5c49c15b5 100644 --- a/docs/api/types/Back/type-aliases/FDataFilter/index.html +++ b/docs/api/types/Back/type-aliases/FDataFilter/index.html @@ -16,7 +16,7 @@ - + diff --git a/docs/api/types/Back/type-aliases/FDataSort/index.html b/docs/api/types/Back/type-aliases/FDataSort/index.html index 510493a67..935ec02d8 100644 --- a/docs/api/types/Back/type-aliases/FDataSort/index.html +++ b/docs/api/types/Back/type-aliases/FDataSort/index.html @@ -16,7 +16,7 @@ - + diff --git a/docs/api/types/Common/enumerations/ActionCheckSource/index.html b/docs/api/types/Common/enumerations/ActionCheckSource/index.html index 09ee4f159..9ba44457a 100644 --- a/docs/api/types/Common/enumerations/ActionCheckSource/index.html +++ b/docs/api/types/Common/enumerations/ActionCheckSource/index.html @@ -16,7 +16,7 @@ - + diff --git a/docs/api/types/Common/enumerations/AdminForthDataTypes/index.html b/docs/api/types/Common/enumerations/AdminForthDataTypes/index.html index 7f6caca85..a16edc429 100644 --- a/docs/api/types/Common/enumerations/AdminForthDataTypes/index.html +++ b/docs/api/types/Common/enumerations/AdminForthDataTypes/index.html @@ -16,7 +16,7 @@ - + diff --git a/docs/api/types/Common/enumerations/AdminForthFilterOperators/index.html b/docs/api/types/Common/enumerations/AdminForthFilterOperators/index.html index 03216efc1..352814c40 100644 --- a/docs/api/types/Common/enumerations/AdminForthFilterOperators/index.html +++ b/docs/api/types/Common/enumerations/AdminForthFilterOperators/index.html @@ -16,7 +16,7 @@ - + diff --git a/docs/api/types/Common/enumerations/AdminForthMenuTypes/index.html b/docs/api/types/Common/enumerations/AdminForthMenuTypes/index.html index da9cb00ec..535a46f52 100644 --- a/docs/api/types/Common/enumerations/AdminForthMenuTypes/index.html +++ b/docs/api/types/Common/enumerations/AdminForthMenuTypes/index.html @@ -16,7 +16,7 @@ - + diff --git a/docs/api/types/Common/enumerations/AdminForthResourcePages/index.html b/docs/api/types/Common/enumerations/AdminForthResourcePages/index.html index 25edd22c7..cf3acbe49 100644 --- a/docs/api/types/Common/enumerations/AdminForthResourcePages/index.html +++ b/docs/api/types/Common/enumerations/AdminForthResourcePages/index.html @@ -16,7 +16,7 @@ - + diff --git a/docs/api/types/Common/enumerations/AdminForthSortDirections/index.html b/docs/api/types/Common/enumerations/AdminForthSortDirections/index.html index f1c1e98c0..6c25f2bea 100644 --- a/docs/api/types/Common/enumerations/AdminForthSortDirections/index.html +++ b/docs/api/types/Common/enumerations/AdminForthSortDirections/index.html @@ -16,7 +16,7 @@ - + diff --git a/docs/api/types/Common/enumerations/AllowedActionsEnum/index.html b/docs/api/types/Common/enumerations/AllowedActionsEnum/index.html index d987fba35..44a3d24cd 100644 --- a/docs/api/types/Common/enumerations/AllowedActionsEnum/index.html +++ b/docs/api/types/Common/enumerations/AllowedActionsEnum/index.html @@ -16,7 +16,7 @@ - + diff --git a/docs/api/types/Common/index.html b/docs/api/types/Common/index.html index 228750c62..8ed560d84 100644 --- a/docs/api/types/Common/index.html +++ b/docs/api/types/Common/index.html @@ -16,7 +16,7 @@ - + diff --git a/docs/api/types/Common/interfaces/AdminForthBulkActionCommon/index.html b/docs/api/types/Common/interfaces/AdminForthBulkActionCommon/index.html index af177451b..da6e6835a 100644 --- a/docs/api/types/Common/interfaces/AdminForthBulkActionCommon/index.html +++ b/docs/api/types/Common/interfaces/AdminForthBulkActionCommon/index.html @@ -16,7 +16,7 @@ - + diff --git a/docs/api/types/Common/interfaces/AdminForthColumnEnumItem/index.html b/docs/api/types/Common/interfaces/AdminForthColumnEnumItem/index.html index 3766cf95d..9ddd658a5 100644 --- a/docs/api/types/Common/interfaces/AdminForthColumnEnumItem/index.html +++ b/docs/api/types/Common/interfaces/AdminForthColumnEnumItem/index.html @@ -16,7 +16,7 @@ - + diff --git a/docs/api/types/Common/interfaces/AdminForthComponentDeclarationFull/index.html b/docs/api/types/Common/interfaces/AdminForthComponentDeclarationFull/index.html index 4954ae26d..fdf7da167 100644 --- a/docs/api/types/Common/interfaces/AdminForthComponentDeclarationFull/index.html +++ b/docs/api/types/Common/interfaces/AdminForthComponentDeclarationFull/index.html @@ -16,7 +16,7 @@ - + diff --git a/docs/api/types/Common/interfaces/AdminForthConfigForFrontend/index.html b/docs/api/types/Common/interfaces/AdminForthConfigForFrontend/index.html index 9eed79e79..eb0f8ec82 100644 --- a/docs/api/types/Common/interfaces/AdminForthConfigForFrontend/index.html +++ b/docs/api/types/Common/interfaces/AdminForthConfigForFrontend/index.html @@ -16,7 +16,7 @@ - + diff --git a/docs/api/types/Common/interfaces/AdminForthConfigMenuItem/index.html b/docs/api/types/Common/interfaces/AdminForthConfigMenuItem/index.html index 311283a2f..caf7b9713 100644 --- a/docs/api/types/Common/interfaces/AdminForthConfigMenuItem/index.html +++ b/docs/api/types/Common/interfaces/AdminForthConfigMenuItem/index.html @@ -16,7 +16,7 @@ - + diff --git a/docs/api/types/Common/interfaces/AdminForthFieldComponents/index.html b/docs/api/types/Common/interfaces/AdminForthFieldComponents/index.html index 24504d7a7..e618681da 100644 --- a/docs/api/types/Common/interfaces/AdminForthFieldComponents/index.html +++ b/docs/api/types/Common/interfaces/AdminForthFieldComponents/index.html @@ -16,7 +16,7 @@ - + diff --git a/docs/api/types/Common/interfaces/AdminForthForeignResourceCommon/index.html b/docs/api/types/Common/interfaces/AdminForthForeignResourceCommon/index.html index 5bfcea5ad..ab53806cc 100644 --- a/docs/api/types/Common/interfaces/AdminForthForeignResourceCommon/index.html +++ b/docs/api/types/Common/interfaces/AdminForthForeignResourceCommon/index.html @@ -16,7 +16,7 @@ - + diff --git a/docs/api/types/Common/interfaces/AdminForthResourceColumnCommon/index.html b/docs/api/types/Common/interfaces/AdminForthResourceColumnCommon/index.html index ed3eaa13c..c011eaf21 100644 --- a/docs/api/types/Common/interfaces/AdminForthResourceColumnCommon/index.html +++ b/docs/api/types/Common/interfaces/AdminForthResourceColumnCommon/index.html @@ -16,7 +16,7 @@ - + diff --git a/docs/api/types/Common/interfaces/AdminForthResourceColumnInputCommon/index.html b/docs/api/types/Common/interfaces/AdminForthResourceColumnInputCommon/index.html index 426feea3b..52c615eb2 100644 --- a/docs/api/types/Common/interfaces/AdminForthResourceColumnInputCommon/index.html +++ b/docs/api/types/Common/interfaces/AdminForthResourceColumnInputCommon/index.html @@ -16,7 +16,7 @@ - + diff --git a/docs/api/types/Common/interfaces/AdminForthResourceCommon/index.html b/docs/api/types/Common/interfaces/AdminForthResourceCommon/index.html index 46381e6aa..96c4d12ab 100644 --- a/docs/api/types/Common/interfaces/AdminForthResourceCommon/index.html +++ b/docs/api/types/Common/interfaces/AdminForthResourceCommon/index.html @@ -16,7 +16,7 @@ - + diff --git a/docs/api/types/Common/interfaces/AdminForthResourceInputCommon/index.html b/docs/api/types/Common/interfaces/AdminForthResourceInputCommon/index.html index 52b296ff5..26b3f0547 100644 --- a/docs/api/types/Common/interfaces/AdminForthResourceInputCommon/index.html +++ b/docs/api/types/Common/interfaces/AdminForthResourceInputCommon/index.html @@ -16,7 +16,7 @@ - + diff --git a/docs/api/types/Common/interfaces/AdminUser/index.html b/docs/api/types/Common/interfaces/AdminUser/index.html index 56021a8a1..a27827abc 100644 --- a/docs/api/types/Common/interfaces/AdminUser/index.html +++ b/docs/api/types/Common/interfaces/AdminUser/index.html @@ -16,7 +16,7 @@ - + diff --git a/docs/api/types/Common/interfaces/GetBaseConfigResponse/index.html b/docs/api/types/Common/interfaces/GetBaseConfigResponse/index.html index b824cc99a..5797fa1e5 100644 --- a/docs/api/types/Common/interfaces/GetBaseConfigResponse/index.html +++ b/docs/api/types/Common/interfaces/GetBaseConfigResponse/index.html @@ -16,7 +16,7 @@ - + diff --git a/docs/api/types/Common/interfaces/ResourceVeryShort/index.html b/docs/api/types/Common/interfaces/ResourceVeryShort/index.html index 5e3eadd7c..80644de36 100644 --- a/docs/api/types/Common/interfaces/ResourceVeryShort/index.html +++ b/docs/api/types/Common/interfaces/ResourceVeryShort/index.html @@ -16,7 +16,7 @@ - + diff --git a/docs/api/types/Common/interfaces/UserData/index.html b/docs/api/types/Common/interfaces/UserData/index.html index c77c947b4..a5b0242a8 100644 --- a/docs/api/types/Common/interfaces/UserData/index.html +++ b/docs/api/types/Common/interfaces/UserData/index.html @@ -16,7 +16,7 @@ - + diff --git a/docs/api/types/Common/type-aliases/AdminForthComponentDeclaration/index.html b/docs/api/types/Common/type-aliases/AdminForthComponentDeclaration/index.html index 7bf1fdafb..ecf225b58 100644 --- a/docs/api/types/Common/type-aliases/AdminForthComponentDeclaration/index.html +++ b/docs/api/types/Common/type-aliases/AdminForthComponentDeclaration/index.html @@ -16,7 +16,7 @@ - + diff --git a/docs/api/types/Common/type-aliases/AllowedActionsResolved/index.html b/docs/api/types/Common/type-aliases/AllowedActionsResolved/index.html index da8930f59..ddff5e54c 100644 --- a/docs/api/types/Common/type-aliases/AllowedActionsResolved/index.html +++ b/docs/api/types/Common/type-aliases/AllowedActionsResolved/index.html @@ -16,7 +16,7 @@ - + diff --git a/docs/api/types/Common/type-aliases/AnnouncementBadgeResponse/index.html b/docs/api/types/Common/type-aliases/AnnouncementBadgeResponse/index.html index 0b6efda19..1c0464e8d 100644 --- a/docs/api/types/Common/type-aliases/AnnouncementBadgeResponse/index.html +++ b/docs/api/types/Common/type-aliases/AnnouncementBadgeResponse/index.html @@ -16,7 +16,7 @@ - + diff --git a/docs/api/types/Common/type-aliases/ValidationObject/index.html b/docs/api/types/Common/type-aliases/ValidationObject/index.html index d30bbc8ef..4b56fd3d0 100644 --- a/docs/api/types/Common/type-aliases/ValidationObject/index.html +++ b/docs/api/types/Common/type-aliases/ValidationObject/index.html @@ -16,7 +16,7 @@ - + diff --git a/docs/api/types/FrontendAPI/enumerations/AlertVariant/index.html b/docs/api/types/FrontendAPI/enumerations/AlertVariant/index.html index 118491844..4499d12c3 100644 --- a/docs/api/types/FrontendAPI/enumerations/AlertVariant/index.html +++ b/docs/api/types/FrontendAPI/enumerations/AlertVariant/index.html @@ -16,7 +16,7 @@ - + diff --git a/docs/api/types/FrontendAPI/index.html b/docs/api/types/FrontendAPI/index.html index e5a2af911..197d2641e 100644 --- a/docs/api/types/FrontendAPI/index.html +++ b/docs/api/types/FrontendAPI/index.html @@ -16,7 +16,7 @@ - + diff --git a/docs/api/types/FrontendAPI/interfaces/FrontendAPIInterface/index.html b/docs/api/types/FrontendAPI/interfaces/FrontendAPIInterface/index.html index 05ad6d00c..171c51986 100644 --- a/docs/api/types/FrontendAPI/interfaces/FrontendAPIInterface/index.html +++ b/docs/api/types/FrontendAPI/interfaces/FrontendAPIInterface/index.html @@ -16,7 +16,7 @@ - + diff --git a/docs/api/types/FrontendAPI/type-aliases/AlertParams/index.html b/docs/api/types/FrontendAPI/type-aliases/AlertParams/index.html index 06d9917f3..d54005af5 100644 --- a/docs/api/types/FrontendAPI/type-aliases/AlertParams/index.html +++ b/docs/api/types/FrontendAPI/type-aliases/AlertParams/index.html @@ -16,7 +16,7 @@ - + diff --git a/docs/api/types/FrontendAPI/type-aliases/ConfirmParams/index.html b/docs/api/types/FrontendAPI/type-aliases/ConfirmParams/index.html index dcca2c078..75537f762 100644 --- a/docs/api/types/FrontendAPI/type-aliases/ConfirmParams/index.html +++ b/docs/api/types/FrontendAPI/type-aliases/ConfirmParams/index.html @@ -16,7 +16,7 @@ - + diff --git a/docs/api/types/FrontendAPI/type-aliases/FilterParams/index.html b/docs/api/types/FrontendAPI/type-aliases/FilterParams/index.html index 5d40513af..6c5f1faa2 100644 --- a/docs/api/types/FrontendAPI/type-aliases/FilterParams/index.html +++ b/docs/api/types/FrontendAPI/type-aliases/FilterParams/index.html @@ -16,7 +16,7 @@ - + diff --git a/docs/tutorial/Advanced/plugin-development/index.html b/docs/tutorial/Advanced/plugin-development/index.html index 879d587c3..85a54ce32 100644 --- a/docs/tutorial/Advanced/plugin-development/index.html +++ b/docs/tutorial/Advanced/plugin-development/index.html @@ -16,7 +16,7 @@ - + diff --git a/docs/tutorial/Customization/afcl/index.html b/docs/tutorial/Customization/afcl/index.html index b2feaadcf..ceacfd01e 100644 --- a/docs/tutorial/Customization/afcl/index.html +++ b/docs/tutorial/Customization/afcl/index.html @@ -16,7 +16,7 @@ - + diff --git a/docs/tutorial/Customization/alert/index.html b/docs/tutorial/Customization/alert/index.html index 48721346e..943e759b9 100644 --- a/docs/tutorial/Customization/alert/index.html +++ b/docs/tutorial/Customization/alert/index.html @@ -16,7 +16,7 @@ - + diff --git a/docs/tutorial/Customization/branding/index.html b/docs/tutorial/Customization/branding/index.html index 8ddcc7578..372356e5b 100644 --- a/docs/tutorial/Customization/branding/index.html +++ b/docs/tutorial/Customization/branding/index.html @@ -16,7 +16,7 @@ - + diff --git a/docs/tutorial/Customization/bulkActions/index.html b/docs/tutorial/Customization/bulkActions/index.html index 859bed91c..7d8642584 100644 --- a/docs/tutorial/Customization/bulkActions/index.html +++ b/docs/tutorial/Customization/bulkActions/index.html @@ -16,7 +16,7 @@ - + diff --git a/docs/tutorial/Customization/customFieldRendering/index.html b/docs/tutorial/Customization/customFieldRendering/index.html index dd475f053..c14492334 100644 --- a/docs/tutorial/Customization/customFieldRendering/index.html +++ b/docs/tutorial/Customization/customFieldRendering/index.html @@ -16,7 +16,7 @@ - + diff --git a/docs/tutorial/Customization/customPages/index.html b/docs/tutorial/Customization/customPages/index.html index c9dff1ade..01c007f1e 100644 --- a/docs/tutorial/Customization/customPages/index.html +++ b/docs/tutorial/Customization/customPages/index.html @@ -16,7 +16,7 @@ - + diff --git a/docs/tutorial/Customization/dataApi/index.html b/docs/tutorial/Customization/dataApi/index.html index 104421e63..79b04ae19 100644 --- a/docs/tutorial/Customization/dataApi/index.html +++ b/docs/tutorial/Customization/dataApi/index.html @@ -16,7 +16,7 @@ - + diff --git a/docs/tutorial/Customization/hooks/index.html b/docs/tutorial/Customization/hooks/index.html index a0c42ce01..14b86a4c0 100644 --- a/docs/tutorial/Customization/hooks/index.html +++ b/docs/tutorial/Customization/hooks/index.html @@ -16,7 +16,7 @@ - + diff --git a/docs/tutorial/Customization/limitingAccess/index.html b/docs/tutorial/Customization/limitingAccess/index.html index 8d7fdf62f..eb82edd7d 100644 --- a/docs/tutorial/Customization/limitingAccess/index.html +++ b/docs/tutorial/Customization/limitingAccess/index.html @@ -16,7 +16,7 @@ - + diff --git a/docs/tutorial/Customization/menuConfiguration/index.html b/docs/tutorial/Customization/menuConfiguration/index.html index 9dcf1e71e..ed99a3842 100644 --- a/docs/tutorial/Customization/menuConfiguration/index.html +++ b/docs/tutorial/Customization/menuConfiguration/index.html @@ -16,7 +16,7 @@ - + diff --git a/docs/tutorial/Customization/pageInjections/index.html b/docs/tutorial/Customization/pageInjections/index.html index 9bb889609..33f1d0b90 100644 --- a/docs/tutorial/Customization/pageInjections/index.html +++ b/docs/tutorial/Customization/pageInjections/index.html @@ -16,7 +16,7 @@ - + diff --git a/docs/tutorial/Customization/security/index.html b/docs/tutorial/Customization/security/index.html index 23c8dcb4b..3e0ff77ad 100644 --- a/docs/tutorial/Customization/security/index.html +++ b/docs/tutorial/Customization/security/index.html @@ -16,7 +16,7 @@ - + diff --git a/docs/tutorial/Customization/standardPagesTuning/index.html b/docs/tutorial/Customization/standardPagesTuning/index.html index 79daa321d..6580142e0 100644 --- a/docs/tutorial/Customization/standardPagesTuning/index.html +++ b/docs/tutorial/Customization/standardPagesTuning/index.html @@ -16,7 +16,7 @@ - + diff --git a/docs/tutorial/Customization/virtualColumns/index.html b/docs/tutorial/Customization/virtualColumns/index.html index a44922400..9516df1dd 100644 --- a/docs/tutorial/Customization/virtualColumns/index.html +++ b/docs/tutorial/Customization/virtualColumns/index.html @@ -16,7 +16,7 @@ - + diff --git a/docs/tutorial/Customization/websocket/index.html b/docs/tutorial/Customization/websocket/index.html index 51665cf4e..f4ab5bcf8 100644 --- a/docs/tutorial/Customization/websocket/index.html +++ b/docs/tutorial/Customization/websocket/index.html @@ -16,7 +16,7 @@ - + diff --git a/docs/tutorial/Plugins/AuditLog/index.html b/docs/tutorial/Plugins/AuditLog/index.html index c3be7b0e7..30ba40e86 100644 --- a/docs/tutorial/Plugins/AuditLog/index.html +++ b/docs/tutorial/Plugins/AuditLog/index.html @@ -16,7 +16,7 @@ - + diff --git a/docs/tutorial/Plugins/ForeignInlineList/index.html b/docs/tutorial/Plugins/ForeignInlineList/index.html index b17b1d404..6d1b5f807 100644 --- a/docs/tutorial/Plugins/ForeignInlineList/index.html +++ b/docs/tutorial/Plugins/ForeignInlineList/index.html @@ -16,7 +16,7 @@ - + diff --git a/docs/tutorial/Plugins/RichEditor/index.html b/docs/tutorial/Plugins/RichEditor/index.html index 51b6a1d35..37b680e39 100644 --- a/docs/tutorial/Plugins/RichEditor/index.html +++ b/docs/tutorial/Plugins/RichEditor/index.html @@ -16,7 +16,7 @@ - + diff --git a/docs/tutorial/Plugins/TwoFactorsAuth/index.html b/docs/tutorial/Plugins/TwoFactorsAuth/index.html index b1a0770b1..25d69bb3d 100644 --- a/docs/tutorial/Plugins/TwoFactorsAuth/index.html +++ b/docs/tutorial/Plugins/TwoFactorsAuth/index.html @@ -16,7 +16,7 @@ - + diff --git a/docs/tutorial/Plugins/email-password-reset/index.html b/docs/tutorial/Plugins/email-password-reset/index.html index c316b17fa..53d8c9393 100644 --- a/docs/tutorial/Plugins/email-password-reset/index.html +++ b/docs/tutorial/Plugins/email-password-reset/index.html @@ -16,7 +16,7 @@ - + diff --git a/docs/tutorial/Plugins/i18n/index.html b/docs/tutorial/Plugins/i18n/index.html index 26c451765..100f09f5c 100644 --- a/docs/tutorial/Plugins/i18n/index.html +++ b/docs/tutorial/Plugins/i18n/index.html @@ -16,7 +16,7 @@ - + @@ -124,6 +124,11 @@

./your-nuxt-app-source-file.ts
import { callAdminForthApi } from '@/utils';

export async function loadLocaleMessages(i18n, locale) {
// load locale messages with dynamic import
const messages = await callAdminForthApi({
path: `/api/translations/?lang=${locale}`,
method: 'GET',
});

// set locale and locale message
i18n.global.setLocaleMessage(locale, messages.default)

return nextTick()
}

See vue-i18n's lazy loading feature to understand where better to call loadLocaleMessages function.

Here is how API for messages will look:

-
./index.ts
app.get(`${ADMIN_BASE_URL}/api/translations/`, 
async (req, res) => {
const lang = req.query.lang;
const messages = await admin.getPluginByClassName<I18nPlugin>('I18nPlugin').getCategoryTranslations('nextApp', lang);
res.json(messages);
}
);
+
./index.ts
app.get(`${ADMIN_BASE_URL}/api/translations/`, 
async (req, res) => {
const lang = req.query.lang;
const messages = await admin.getPluginByClassName<I18nPlugin>('I18nPlugin').getCategoryTranslations('nextApp', lang);
res.json(messages);
}
);
+

Get language names

+

Also you can use handy method to get language names in native and English form with emoji flags:

+
./api.ts
const languages = await admin.getPluginByClassName<I18nPlugin>('I18nPlugin').languagesList();
+

Response will look like this:

+
  "languages": [
{
"code": "en",
"nameOnNative": "English",
"nameEnglish": "English",
"emojiFlag": "🇪🇳"
},
{
"code": "uk",
"nameOnNative": "Українська",
"nameEnglish": "Ukrainian",
"emojiFlag": "🇺🇰"
},
{
"code": "ar",
"nameOnNative": "العربية",
"nameEnglish": "Arabic",
"emojiFlag": "🇦🇷"
},
\ No newline at end of file diff --git a/docs/tutorial/Plugins/import-export/index.html b/docs/tutorial/Plugins/import-export/index.html index a3cac82e1..eb42ec711 100644 --- a/docs/tutorial/Plugins/import-export/index.html +++ b/docs/tutorial/Plugins/import-export/index.html @@ -16,7 +16,7 @@ - + diff --git a/docs/tutorial/Plugins/open-signup/index.html b/docs/tutorial/Plugins/open-signup/index.html index bd22ff2d3..b82555846 100644 --- a/docs/tutorial/Plugins/open-signup/index.html +++ b/docs/tutorial/Plugins/open-signup/index.html @@ -16,7 +16,7 @@ - + diff --git a/docs/tutorial/Plugins/text-complete/index.html b/docs/tutorial/Plugins/text-complete/index.html index 1e7d11eb4..193ab6074 100644 --- a/docs/tutorial/Plugins/text-complete/index.html +++ b/docs/tutorial/Plugins/text-complete/index.html @@ -16,7 +16,7 @@ - + diff --git a/docs/tutorial/Plugins/upload/index.html b/docs/tutorial/Plugins/upload/index.html index 1221f67ef..c8b27bcc1 100644 --- a/docs/tutorial/Plugins/upload/index.html +++ b/docs/tutorial/Plugins/upload/index.html @@ -16,7 +16,7 @@ - + diff --git a/docs/tutorial/deploy/index.html b/docs/tutorial/deploy/index.html index c143905c4..b19026963 100644 --- a/docs/tutorial/deploy/index.html +++ b/docs/tutorial/deploy/index.html @@ -16,7 +16,7 @@ - + diff --git a/docs/tutorial/gettingStarted/index.html b/docs/tutorial/gettingStarted/index.html index 4e1fbed1b..c555a2c9b 100644 --- a/docs/tutorial/gettingStarted/index.html +++ b/docs/tutorial/gettingStarted/index.html @@ -16,7 +16,7 @@ - + diff --git a/docs/tutorial/glossary/index.html b/docs/tutorial/glossary/index.html index 552b80b6c..05c2172a4 100644 --- a/docs/tutorial/glossary/index.html +++ b/docs/tutorial/glossary/index.html @@ -16,7 +16,7 @@ - + diff --git a/docs/tutorial/hello-world/index.html b/docs/tutorial/hello-world/index.html index 7c9977058..5d06d0598 100644 --- a/docs/tutorial/hello-world/index.html +++ b/docs/tutorial/hello-world/index.html @@ -16,7 +16,7 @@ - + diff --git a/index.html b/index.html index 3d5f61ec1..6b36dc3a0 100644 --- a/index.html +++ b/index.html @@ -16,7 +16,7 @@ - + diff --git a/search/index.html b/search/index.html index 87331e653..62e137a4c 100644 --- a/search/index.html +++ b/search/index.html @@ -16,7 +16,7 @@ - +