@vc-shell/framework 2.0.0-alpha.33 → 2.0.0-alpha.33-pr220.455e322
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +194 -209
- package/dist/ai-agent/index.js +4 -4
- package/dist/chunks/VcAiAgentPanel.vue_vue_type_style_index_0_lang-D0kWIlz3.js +4485 -0
- package/dist/chunks/VcTableAdapter.vue_vue_type_style_index_0_lang-D71wkuIU.js +22109 -0
- package/dist/chunks/{index-HNCQdWHc.js → index-CDUdOax4.js} +2 -2
- package/dist/chunks/{vendor-boolbase-Cyd7_957.js → vendor-boolbase-DYkUBG-P.js} +1 -1
- package/dist/chunks/{vendor-cheerio-DKt5ox2U.js → vendor-cheerio-DE71XQ9x.js} +1 -1
- package/dist/chunks/{vendor-cheerio-select-B8BTSEdK.js → vendor-cheerio-select-D-qK1Cpo.js} +2 -2
- package/dist/chunks/{vendor-css-select-C4b9igDP.js → vendor-css-select-DqoO1-RK.js} +2 -2
- package/dist/chunks/{vendor-dompurify-BIuh5IAZ.js → vendor-dompurify-DpIUMBYC.js} +228 -221
- package/dist/chunks/{vendor-gridstack-Dkfw452e.js → vendor-gridstack-Beau2jQ7.js} +230 -160
- package/dist/chunks/{vendor-intlify-core-base-BfDxYEHM.js → vendor-intlify-core-base-Cf8V01l9.js} +260 -260
- package/dist/chunks/{vendor-intlify-message-compiler-B2Y3gZDu.js → vendor-intlify-message-compiler-h1txdYa8.js} +2 -2
- package/dist/chunks/{vendor-intlify-shared-Drx6AmQ9.js → vendor-intlify-shared-D4BJYR57.js} +3 -3
- package/dist/chunks/{vendor-iso-639-1-ig8i9Svg.js → vendor-iso-639-1-BEjYyfKo.js} +17 -14
- package/dist/chunks/{vendor-lodash-es-BB-IQCna.js → vendor-lodash-es-CfnUOh0o.js} +364 -371
- package/dist/chunks/vendor-markdown-it-task-lists-CHKeJZfk.js +69 -0
- package/dist/chunks/vendor-microsoft-applicationinsights-analytics-js-ufpnHxNR.js +1142 -0
- package/dist/chunks/vendor-microsoft-applicationinsights-cfgsync-js-BmGq5cEx.js +247 -0
- package/dist/chunks/vendor-microsoft-applicationinsights-channel-js-BdtUi1l8.js +1907 -0
- package/dist/chunks/vendor-microsoft-applicationinsights-core-js-CR3vyuZc.js +8406 -0
- package/dist/chunks/vendor-microsoft-applicationinsights-dependencies-js-DXmYt4tG.js +1441 -0
- package/dist/chunks/vendor-microsoft-applicationinsights-properties-js-CLbNzgkN.js +610 -0
- package/dist/chunks/{vendor-microsoft-applicationinsights-shims-Ds7KyOsR.js → vendor-microsoft-applicationinsights-shims-CGX8KXgN.js} +13 -12
- package/dist/chunks/vendor-microsoft-applicationinsights-web-DzgnK2Mn.js +970 -0
- package/dist/chunks/{vendor-microsoft-dynamicproto-js-CMXJqDx1.js → vendor-microsoft-dynamicproto-js-D7567TLZ.js} +15 -15
- package/dist/chunks/vendor-nevware21-ts-async-BxN_lmkD.js +271 -0
- package/dist/chunks/vendor-nevware21-ts-utils-Dr-hD3q9.js +973 -0
- package/dist/chunks/{vendor-nth-check-CuyQT_ny.js → vendor-nth-check-D0N1qpsw.js} +1 -1
- package/dist/chunks/{vendor-prettier-B0zlh-ye.js → vendor-prettier-2Sf6a5jB.js} +876 -782
- package/dist/chunks/{vendor-prosemirror-commands-Bv4ChObl.js → vendor-prosemirror-commands-BaRVaTVO.js} +2 -2
- package/dist/chunks/{vendor-prosemirror-dropcursor-kF5UKNFM.js → vendor-prosemirror-dropcursor-PuLxL9JM.js} +2 -2
- package/dist/chunks/{vendor-prosemirror-gapcursor-D3tpkzBp.js → vendor-prosemirror-gapcursor-C7MEx13L.js} +3 -3
- package/dist/chunks/{vendor-prosemirror-history-CQYKHz3u.js → vendor-prosemirror-history-_AfZxoMt.js} +2 -2
- package/dist/chunks/{vendor-prosemirror-keymap-CAfQyvJ7.js → vendor-prosemirror-keymap-tvZqK1zZ.js} +1 -1
- package/dist/chunks/{vendor-prosemirror-schema-list-BNJkECdS.js → vendor-prosemirror-schema-list-qDgvFydE.js} +1 -1
- package/dist/chunks/{vendor-prosemirror-state-IeimrELV.js → vendor-prosemirror-state-BvFA7AjG.js} +1 -1
- package/dist/chunks/{vendor-prosemirror-tables-DIAkeGRL.js → vendor-prosemirror-tables-CbmHRq4G.js} +4 -4
- package/dist/chunks/{vendor-prosemirror-transform-BUjWd5Tb.js → vendor-prosemirror-transform-DVGD47fI.js} +118 -102
- package/dist/chunks/{vendor-prosemirror-view-Chu67Jpw.js → vendor-prosemirror-view-BW4UqvjQ.js} +7 -5
- package/dist/chunks/{vendor-striptags--4dtoP3u.js → vendor-striptags-DtlgQudQ.js} +1 -1
- package/dist/chunks/{vendor-tiptap-core-BWgKs47g.js → vendor-tiptap-core-CZbeo7XQ.js} +722 -703
- package/dist/chunks/{vendor-tiptap-extension-blockquote-B1RV9c0W.js → vendor-tiptap-extension-blockquote-B8uwrgnZ.js} +1 -1
- package/dist/chunks/{vendor-tiptap-extension-bold-BdAf6fWQ.js → vendor-tiptap-extension-bold-Ch9pbrZY.js} +1 -1
- package/dist/chunks/{vendor-tiptap-extension-code-_cv4EOBy.js → vendor-tiptap-extension-code-CVh_mZgz.js} +1 -1
- package/dist/chunks/{vendor-tiptap-extension-code-block-CT5P4x0D.js → vendor-tiptap-extension-code-block-CfoUSR2N.js} +2 -2
- package/dist/chunks/{vendor-tiptap-extension-document-C41wXth1.js → vendor-tiptap-extension-document-C4tn-v0L.js} +1 -1
- package/dist/chunks/{vendor-tiptap-extension-hard-break-Ds2hA4at.js → vendor-tiptap-extension-hard-break-CbK1eM89.js} +1 -1
- package/dist/chunks/{vendor-tiptap-extension-heading-DvnqoCO-.js → vendor-tiptap-extension-heading-BlkYF-RD.js} +1 -1
- package/dist/chunks/{vendor-tiptap-extension-horizontal-rule-BceRNOIu.js → vendor-tiptap-extension-horizontal-rule-DjMOsQCA.js} +2 -2
- package/dist/chunks/{vendor-tiptap-extension-image-DLERQS1u.js → vendor-tiptap-extension-image-BpqLcXdw.js} +1 -1
- package/dist/chunks/{vendor-tiptap-extension-italic-BGv0ktjJ.js → vendor-tiptap-extension-italic-YDdh6jEW.js} +1 -1
- package/dist/chunks/{vendor-tiptap-extension-link-BAzgztbX.js → vendor-tiptap-extension-link-CETrc0Mo.js} +2 -2
- package/dist/chunks/{vendor-tiptap-extension-list-rFRwhCY_.js → vendor-tiptap-extension-list-DsiDvJxK.js} +209 -180
- package/dist/chunks/vendor-tiptap-extension-paragraph-Bcss4jc0.js +49 -0
- package/dist/chunks/vendor-tiptap-extension-placeholder-ClNjQXk_.js +1 -0
- package/dist/chunks/{vendor-tiptap-extension-strike-Cqq1i9pe.js → vendor-tiptap-extension-strike-BZiBed9b.js} +1 -1
- package/dist/chunks/vendor-tiptap-extension-table-QVjcLO_H.js +409 -0
- package/dist/chunks/vendor-tiptap-extension-table-cell-CuXZTKj8.js +1 -0
- package/dist/chunks/vendor-tiptap-extension-table-header-CuXZTKj8.js +1 -0
- package/dist/chunks/vendor-tiptap-extension-table-row-CuXZTKj8.js +1 -0
- package/dist/chunks/{vendor-tiptap-extension-text-BaLQc3hC.js → vendor-tiptap-extension-text-Wofhchrp.js} +1 -1
- package/dist/chunks/{vendor-tiptap-extension-text-style-BDbT1PMb.js → vendor-tiptap-extension-text-style-Bc6nvmn0.js} +1 -1
- package/dist/chunks/{vendor-tiptap-extension-underline-CiUEdG6D.js → vendor-tiptap-extension-underline-Bo1pXXDN.js} +1 -1
- package/dist/chunks/{vendor-tiptap-extensions-pwHVUzkb.js → vendor-tiptap-extensions-D7eaegpB.js} +6 -6
- package/dist/chunks/{vendor-tiptap-markdown-D0feGfKk.js → vendor-tiptap-markdown-18K1hcU0.js} +3 -3
- package/dist/chunks/vendor-tiptap-pm-yqZPZQMU.js +1 -0
- package/dist/chunks/{vendor-tiptap-starter-kit-BEsLVJ4Q.js → vendor-tiptap-starter-kit-ny-AoaO_.js} +17 -17
- package/dist/chunks/{vendor-tiptap-vue-3-CdIBiRMV.js → vendor-tiptap-vue-3-BNAw8onj.js} +1 -1
- package/dist/chunks/{vendor-truncate-html-DDVwXwPl.js → vendor-truncate-html-ChA1T5zy.js} +1 -1
- package/dist/chunks/{vendor-unovis-ts-D3MmJ11i.js → vendor-unovis-ts-stSsHr9j.js} +1 -1
- package/dist/chunks/{vendor-unovis-vue-CMGNLXsC.js → vendor-unovis-vue-CZWGT3-0.js} +1 -1
- package/dist/chunks/{vendor-vue-i18n-BSCeQYoP.js → vendor-vue-i18n-LO-EJStU.js} +27 -27
- package/dist/chunks/{vendor-vue3-application-insights-Cq46Q3rj.js → vendor-vue3-application-insights-CAgbt8pk.js} +2 -2
- package/dist/chunks/{vendor-vueuse-components-DRdTsx6e.js → vendor-vueuse-components-BW7i7Uhb.js} +1 -1
- package/dist/chunks/{vendor-vueuse-core-D4-2M4AW.js → vendor-vueuse-core-CEdpDfzx.js} +9 -9
- package/dist/chunks/{vendor-vueuse-shared-PQ04AyOW.js → vendor-vueuse-shared-BlCOXw5g.js} +8 -8
- package/dist/core/api/platform.d.ts +5 -5
- package/dist/core/api/platform.d.ts.map +1 -1
- package/dist/core/blade-navigation/types/index.d.ts +1 -1
- package/dist/core/blade-navigation/types/index.d.ts.map +1 -1
- package/dist/core/composables/useAppInsights/index.d.ts.map +1 -1
- package/dist/core/composables/useBladeRegistry/index.d.ts.map +1 -1
- package/dist/core/composables/usePlatformLocaleSync/index.d.ts +17 -0
- package/dist/core/composables/usePlatformLocaleSync/index.d.ts.map +1 -0
- package/dist/core/composables/useTheme/index.d.ts.map +1 -1
- package/dist/core/composables/useUser/index.d.ts +1 -0
- package/dist/core/composables/useUser/index.d.ts.map +1 -1
- package/dist/core/composables/useUserManagement/index.d.ts.map +1 -1
- package/dist/core/directives/index.d.ts +2 -0
- package/dist/core/directives/index.d.ts.map +1 -1
- package/dist/core/plugins/ai-agent/components/_internal/VcAiAgentHeader.vue.d.ts +2 -2
- package/dist/core/plugins/ai-agent/components/_internal/VcAiAgentHeader.vue.d.ts.map +1 -1
- package/dist/core/plugins/ai-agent/components/_internal/VcAiAgentIframe.vue.d.ts.map +1 -1
- package/dist/core/plugins/ai-agent/composables/useAiAgentContext.d.ts.map +1 -1
- package/dist/core/plugins/ai-agent/services/ai-agent-service.d.ts.map +1 -1
- package/dist/core/plugins/modularity/index.d.ts +1 -1
- package/dist/core/plugins/modularity/index.d.ts.map +1 -1
- package/dist/core/services/widget-service.d.ts.map +1 -1
- package/dist/core/types/menu-types.d.ts.map +1 -1
- package/dist/framework.js +3176 -3936
- package/dist/index.css +2 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/modules/assets/index.d.ts +0 -5
- package/dist/modules/assets/index.d.ts.map +1 -1
- package/dist/modules/assets-manager/components/assets-manager/assets-manager.vue.d.ts.map +1 -1
- package/dist/modules/assets-manager/index.d.ts +0 -6
- package/dist/modules/assets-manager/index.d.ts.map +1 -1
- package/dist/scripts/check-locales.cjs +3 -0
- package/dist/shell/_internal/blade-navigation/plugin-v2.d.ts +0 -6
- package/dist/shell/_internal/blade-navigation/plugin-v2.d.ts.map +1 -1
- package/dist/shell/_internal/notifications/components/notification-container/index.d.ts +2 -2
- package/dist/shell/_internal/notifications/composables/useInstance/index.d.ts.map +1 -1
- package/dist/shell/_internal/popup/common/vc-popup-base.vue.d.ts +1 -1
- package/dist/shell/_internal/popup/common/vc-popup-base.vue.d.ts.map +1 -1
- package/dist/shell/_internal/popup/index.d.ts +0 -4
- package/dist/shell/_internal/popup/index.d.ts.map +1 -1
- package/dist/shell/auth/ChangePasswordPage/components/change-password/ChangePassword.vue.d.ts.map +1 -1
- package/dist/shell/auth/ForgotPasswordPage/components/forgot-password/ForgotPassword.vue.d.ts.map +1 -1
- package/dist/shell/auth/InvitePage/components/invite/Invite.vue.d.ts +2 -2
- package/dist/shell/auth/InvitePage/components/invite/Invite.vue.d.ts.map +1 -1
- package/dist/shell/auth/LoginPage/components/login/Login.vue.d.ts.map +1 -1
- package/dist/shell/auth/ResetPasswordPage/components/reset-password/ResetPassword.vue.d.ts +2 -2
- package/dist/shell/auth/ResetPasswordPage/components/reset-password/ResetPassword.vue.d.ts.map +1 -1
- package/dist/shell/components/change-password/change-password.vue.d.ts.map +1 -1
- package/dist/shell/components/change-password/index.d.ts +0 -5
- package/dist/shell/components/change-password/index.d.ts.map +1 -1
- package/dist/shell/components/error-interceptor/index.d.ts +0 -5
- package/dist/shell/components/error-interceptor/index.d.ts.map +1 -1
- package/dist/shell/components/language-selector/index.d.ts +0 -5
- package/dist/shell/components/language-selector/index.d.ts.map +1 -1
- package/dist/shell/components/notification-dropdown/_internal/notification/notification.vue.d.ts.map +1 -1
- package/dist/shell/components/notification-dropdown/index.d.ts +0 -5
- package/dist/shell/components/notification-dropdown/index.d.ts.map +1 -1
- package/dist/shell/components/notification-template/index.d.ts +0 -5
- package/dist/shell/components/notification-template/index.d.ts.map +1 -1
- package/dist/shell/components/sidebar/index.d.ts +3 -3
- package/dist/shell/components/sidebar/sidebar.vue.d.ts +1 -1
- package/dist/shell/components/sidebar/sidebar.vue.d.ts.map +1 -1
- package/dist/shell/components/user-dropdown-button/index.d.ts +0 -5
- package/dist/shell/components/user-dropdown-button/index.d.ts.map +1 -1
- package/dist/shell/dashboard/dashboard-widget-card/dashboard-widget-card.vue.d.ts.map +1 -1
- package/dist/test-helpers.d.ts +6 -18
- package/dist/test-helpers.d.ts.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/ui/components/atoms/vc-badge/vc-badge.vue.d.ts +3 -3
- package/dist/ui/components/atoms/vc-badge/vc-badge.vue.d.ts.map +1 -1
- package/dist/ui/components/atoms/vc-button/vc-button.vue.d.ts +2 -2
- package/dist/ui/components/atoms/vc-button/vc-button.vue.d.ts.map +1 -1
- package/dist/ui/components/atoms/vc-progress/vc-progress.vue.d.ts +1 -1
- package/dist/ui/components/atoms/vc-progress/vc-progress.vue.d.ts.map +1 -1
- package/dist/ui/components/atoms/vc-skeleton/vc-skeleton.vue.d.ts +1 -1
- package/dist/ui/components/atoms/vc-skeleton/vc-skeleton.vue.d.ts.map +1 -1
- package/dist/ui/components/atoms/vc-tooltip/vc-tooltip.vue.d.ts +2 -2
- package/dist/ui/components/atoms/vc-tooltip/vc-tooltip.vue.d.ts.map +1 -1
- package/dist/ui/components/atoms/vc-widget/vc-widget.vue.d.ts.map +1 -1
- package/dist/ui/components/molecules/index.d.ts +1 -0
- package/dist/ui/components/molecules/index.d.ts.map +1 -1
- package/dist/ui/components/molecules/multilanguage-selector/multilanguage-selector.vue.d.ts +1 -1
- package/dist/ui/components/molecules/vc-accordion/_internal/vc-accordion-item/vc-accordion-item.vue.d.ts +1 -1
- package/dist/ui/components/molecules/vc-accordion/_internal/vc-accordion-item/vc-accordion-item.vue.d.ts.map +1 -1
- package/dist/ui/components/molecules/vc-accordion/vc-accordion.vue.d.ts +1 -1
- package/dist/ui/components/molecules/vc-accordion/vc-accordion.vue.d.ts.map +1 -1
- package/dist/ui/components/molecules/vc-breadcrumbs/vc-breadcrumbs.vue.d.ts +1 -1
- package/dist/ui/components/molecules/vc-breadcrumbs/vc-breadcrumbs.vue.d.ts.map +1 -1
- package/dist/ui/components/molecules/vc-color-input/vc-color-input.vue.d.ts +3 -3
- package/dist/ui/components/molecules/vc-color-input/vc-color-input.vue.d.ts.map +1 -1
- package/dist/ui/components/molecules/vc-date-picker/vc-date-picker.vue.d.ts +3 -3
- package/dist/ui/components/molecules/vc-date-picker/vc-date-picker.vue.d.ts.map +1 -1
- package/dist/ui/components/molecules/vc-dropdown/vc-dropdown.vue.d.ts +1 -1
- package/dist/ui/components/molecules/vc-dropdown/vc-dropdown.vue.d.ts.map +1 -1
- package/dist/ui/components/molecules/vc-dropdown-panel/vc-dropdown-panel.vue.d.ts +1 -1
- package/dist/ui/components/molecules/vc-dropdown-panel/vc-dropdown-panel.vue.d.ts.map +1 -1
- package/dist/ui/components/molecules/vc-editor/_internal/vc-editor-toolbar.vue.d.ts +2 -2
- package/dist/ui/components/molecules/vc-editor/_internal/vc-editor-toolbar.vue.d.ts.map +1 -1
- package/dist/ui/components/molecules/vc-editor/vc-editor.vue.d.ts.map +1 -1
- package/dist/ui/components/molecules/vc-field/vc-field.vue.d.ts.map +1 -1
- package/dist/ui/components/molecules/vc-file-upload/vc-file-upload.vue.d.ts +1 -1
- package/dist/ui/components/molecules/vc-file-upload/vc-file-upload.vue.d.ts.map +1 -1
- package/dist/ui/components/molecules/vc-input/vc-input.vue.d.ts +3 -3
- package/dist/ui/components/molecules/vc-input/vc-input.vue.d.ts.map +1 -1
- package/dist/ui/components/molecules/vc-menu/vc-menu-group.vue.d.ts +1 -1
- package/dist/ui/components/molecules/vc-menu/vc-menu-group.vue.d.ts.map +1 -1
- package/dist/ui/components/molecules/vc-menu/vc-menu-item.vue.d.ts +1 -1
- package/dist/ui/components/molecules/vc-menu/vc-menu-item.vue.d.ts.map +1 -1
- package/dist/ui/components/molecules/vc-multivalue/_internal/MultivalueTrigger.vue.d.ts +2 -2
- package/dist/ui/components/molecules/vc-rating/vc-rating.vue.d.ts +1 -1
- package/dist/ui/components/molecules/vc-rating/vc-rating.vue.d.ts.map +1 -1
- package/dist/ui/components/molecules/vc-select/_internal/SelectTrigger.vue.d.ts +2 -2
- package/dist/ui/components/molecules/vc-select/vc-select.vue.d.ts +10 -27
- package/dist/ui/components/molecules/vc-select/vc-select.vue.d.ts.map +1 -1
- package/dist/ui/components/molecules/vc-slider/vc-slider.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-app/_internal/app-bar/components/AppBarWidgetItem.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-app/_internal/app-bar/composables/useToggleableContent.d.ts +3 -3
- package/dist/ui/components/organisms/vc-app/_internal/app-bar/composables/useToggleableContent.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-app/_internal/sidebar/SidebarHeader.vue.d.ts +1 -1
- package/dist/ui/components/organisms/vc-app/_internal/sidebar/SidebarHeader.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-app/composables/useShellBootstrap.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-app/vc-app.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-blade/_internal/BladeHeader.vue.d.ts +2 -2
- package/dist/ui/components/organisms/vc-blade/_internal/BladeToolbar.vue.d.ts +1 -1
- package/dist/ui/components/organisms/vc-blade/_internal/BladeToolbar.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-blade/_internal/toolbar/ToolbarBaseButton.vue.d.ts +1 -1
- package/dist/ui/components/organisms/vc-blade/vc-blade.vue.d.ts +3 -3
- package/dist/ui/components/organisms/vc-blade/vc-blade.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-data-table/VcDataTable.vue.d.ts +19 -17
- package/dist/ui/components/organisms/vc-data-table/VcDataTable.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-data-table/VcTableAdapter.vue.d.ts +1 -1
- package/dist/ui/components/organisms/vc-data-table/VcTableAdapter.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-data-table/_internal/vc-table-column-switcher/vc-table-column-switcher.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-data-table/_internal/vc-table-counter/vc-table-counter.vue.d.ts +2 -2
- package/dist/ui/components/organisms/vc-data-table/_internal/vc-table-counter/vc-table-counter.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-data-table/_internal/vc-table-empty/vc-table-empty.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-data-table/_internal/vc-table-filter/vc-table-filter.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-data-table/components/ColumnFilter.vue.d.ts +1 -1
- package/dist/ui/components/organisms/vc-data-table/components/ColumnFilter.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-data-table/components/DataTableBody.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-data-table/components/GlobalFiltersPanel.vue.d.ts +2 -2
- package/dist/ui/components/organisms/vc-data-table/components/GlobalFiltersPanel.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-data-table/components/TableCell.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-data-table/components/TableCheckbox.vue.d.ts +2 -2
- package/dist/ui/components/organisms/vc-data-table/components/TableHead.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-data-table/components/TableRow.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-data-table/components/TableRowActions.vue.d.ts +1 -1
- package/dist/ui/components/organisms/vc-data-table/components/TableRowActions.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-data-table/components/VcColumn.vue.d.ts +7 -7
- package/dist/ui/components/organisms/vc-data-table/components/mobile/DataTableMobileCard.vue.d.ts +2 -2
- package/dist/ui/components/organisms/vc-data-table/components/mobile/DataTableMobileCard.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-data-table/components/mobile/DataTableMobileView.vue.d.ts +4 -4
- package/dist/ui/components/organisms/vc-data-table/components/mobile/DataTableMobileView.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-data-table/components/mobile/MobileActionSheet.vue.d.ts +2 -2
- package/dist/ui/components/organisms/vc-data-table/components/mobile/PullToRefresh.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-data-table/composables/useColumnWidthEngine.d.ts +46 -0
- package/dist/ui/components/organisms/vc-data-table/composables/useColumnWidthEngine.d.ts.map +1 -0
- package/dist/ui/components/organisms/vc-data-table/composables/useDataTableOrchestrator.d.ts +6 -5
- package/dist/ui/components/organisms/vc-data-table/composables/useDataTableOrchestrator.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-data-table/composables/useDataTableState.d.ts +6 -6
- package/dist/ui/components/organisms/vc-data-table/composables/useDataTableState.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-data-table/composables/useTableColumns.d.ts +24 -11
- package/dist/ui/components/organisms/vc-data-table/composables/useTableColumns.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-data-table/composables/useTableColumnsReorder.d.ts +6 -9
- package/dist/ui/components/organisms/vc-data-table/composables/useTableColumnsReorder.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-data-table/composables/useTableColumnsResize.d.ts +18 -13
- package/dist/ui/components/organisms/vc-data-table/composables/useTableColumnsResize.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-data-table/composables/useTableEditing.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-data-table/composables/useTableSort.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-data-table/keys.d.ts +2 -2
- package/dist/ui/components/organisms/vc-data-table/keys.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-data-table/types.d.ts +26 -0
- package/dist/ui/components/organisms/vc-data-table/types.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-data-table/utils/ColumnCollector.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-data-table/utils/columnHelpers.d.ts +30 -0
- package/dist/ui/components/organisms/vc-data-table/utils/columnHelpers.d.ts.map +1 -0
- package/dist/ui/components/organisms/vc-data-table/utils/index.d.ts +1 -0
- package/dist/ui/components/organisms/vc-data-table/utils/index.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-gallery/_internal/vc-gallery-filmstrip/vc-gallery-filmstrip.vue.d.ts +1 -1
- package/dist/ui/components/organisms/vc-gallery/_internal/vc-gallery-filmstrip/vc-gallery-filmstrip.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-gallery/_internal/vc-gallery-item/vc-gallery-item.vue.d.ts +1 -1
- package/dist/ui/components/organisms/vc-gallery/_internal/vc-gallery-item/vc-gallery-item.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-gallery/_internal/vc-gallery-preview/vc-gallery-preview.vue.d.ts +1 -1
- package/dist/ui/components/organisms/vc-gallery/_internal/vc-gallery-preview/vc-gallery-preview.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-gallery/composables/useGalleryUpload.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-gallery/vc-gallery.vue.d.ts +2 -1
- package/dist/ui/components/organisms/vc-gallery/vc-gallery.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-image-upload/vc-image-upload.vue.d.ts +1 -1
- package/dist/ui/components/organisms/vc-image-upload/vc-image-upload.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-popup/vc-popup.vue.d.ts +4 -4
- package/dist/ui/components/organisms/vc-popup/vc-popup.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-sidebar/vc-sidebar.vue.d.ts +8 -8
- package/dist/ui/components/organisms/vc-sidebar/vc-sidebar.vue.d.ts.map +1 -1
- package/dist/ui/composables/useCollapsible.d.ts.map +1 -1
- package/dist/ui/index.d.ts +1 -0
- package/dist/ui/index.d.ts.map +1 -1
- package/dist/ui/index.js +87 -81
- package/package.json +8 -6
- package/dist/chunks/VcAiAgentPanel.vue_vue_type_style_index_0_lang-CrmX4_5C.js +0 -4256
- package/dist/chunks/VcTableAdapter.vue_vue_type_style_index_0_lang-D9BrIj43.js +0 -21552
- package/dist/chunks/vendor-markdown-it-task-lists-xwqUBSah.js +0 -72
- package/dist/chunks/vendor-microsoft-applicationinsights-analytics-js-Dvbvo5Dl.js +0 -1207
- package/dist/chunks/vendor-microsoft-applicationinsights-cfgsync-js-9wxxo7yB.js +0 -261
- package/dist/chunks/vendor-microsoft-applicationinsights-channel-js-c-UYe0ly.js +0 -1822
- package/dist/chunks/vendor-microsoft-applicationinsights-common-DgFOCv6a.js +0 -1921
- package/dist/chunks/vendor-microsoft-applicationinsights-core-js-DYtaESwI.js +0 -4276
- package/dist/chunks/vendor-microsoft-applicationinsights-dependencies-js-BoRkSVPF.js +0 -1407
- package/dist/chunks/vendor-microsoft-applicationinsights-properties-js-Ymy9TFDL.js +0 -572
- package/dist/chunks/vendor-microsoft-applicationinsights-web-gIbMmGYP.js +0 -487
- package/dist/chunks/vendor-nevware21-ts-async-CP171WHM.js +0 -261
- package/dist/chunks/vendor-nevware21-ts-utils-Dl8msUu_.js +0 -853
- package/dist/chunks/vendor-tiptap-extension-paragraph-EwqudBl5.js +0 -49
- package/dist/chunks/vendor-tiptap-extension-placeholder-D1_k7Sra.js +0 -1
- package/dist/chunks/vendor-tiptap-extension-table-cell-odWoHoTv.js +0 -1
- package/dist/chunks/vendor-tiptap-extension-table-header-odWoHoTv.js +0 -1
- package/dist/chunks/vendor-tiptap-extension-table-row-odWoHoTv.js +0 -1
- package/dist/chunks/vendor-tiptap-extension-table-tNWQInwa.js +0 -374
- package/dist/chunks/vendor-tiptap-pm-CG4ksPkF.js +0 -1
- package/dist/ui/types/global-components.d.ts +0 -10
- package/dist/ui/types/global-components.d.ts.map +0 -1
package/dist/chunks/{vendor-intlify-core-base-BfDxYEHM.js → vendor-intlify-core-base-Cf8V01l9.js}
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { b as C, w as te, i as
|
|
2
|
-
import { c as Je, C as Qe, d as et, a as tt, b as nt } from "./vendor-intlify-message-compiler-
|
|
1
|
+
import { b as C, w as te, i as u, c as $, d as v, a as z, e as w, g as P, h as Ee, k as xe, l as F, m as K, f as Re, n as ge, o as S, p as le, s as He, q as Le, r as Ne, t as H, u as V, v as j, x as je, y as ze, z as Xe, A as Ze, j as qe } from "./vendor-intlify-shared-D4BJYR57.js";
|
|
2
|
+
import { c as Je, C as Qe, d as et, a as tt, b as nt } from "./vendor-intlify-message-compiler-h1txdYa8.js";
|
|
3
3
|
/*!
|
|
4
|
-
* core-base v11.3.
|
|
4
|
+
* core-base v11.3.2
|
|
5
5
|
* (c) 2026 kazuya kawaguchi
|
|
6
6
|
* Released under the MIT License.
|
|
7
7
|
*/
|
|
@@ -87,12 +87,12 @@ function ft(e, t) {
|
|
|
87
87
|
const o = st(n);
|
|
88
88
|
return e.plural(o.reduce((i, l) => [
|
|
89
89
|
...i,
|
|
90
|
-
|
|
90
|
+
pe(e, l)
|
|
91
91
|
], []));
|
|
92
92
|
} else
|
|
93
|
-
return
|
|
93
|
+
return pe(e, n);
|
|
94
94
|
}
|
|
95
|
-
function
|
|
95
|
+
function pe(e, t) {
|
|
96
96
|
const n = ot(t);
|
|
97
97
|
if (n != null)
|
|
98
98
|
return e.type === "text" ? n : e.normalize([n]);
|
|
@@ -138,7 +138,7 @@ function oe(e, t) {
|
|
|
138
138
|
}
|
|
139
139
|
const mt = "Detected HTML in '{source}' message. Recommend not using HTML messages to avoid XSS.";
|
|
140
140
|
function _t(e, t) {
|
|
141
|
-
t && et(e) && te(
|
|
141
|
+
t && et(e) && te(Re(mt, { source: e }));
|
|
142
142
|
}
|
|
143
143
|
const dt = (e) => e;
|
|
144
144
|
let Q = w();
|
|
@@ -151,7 +151,7 @@ function Et(e, t = {}) {
|
|
|
151
151
|
}
|
|
152
152
|
// @__NO_SIDE_EFFECTS__
|
|
153
153
|
function tn(e, t) {
|
|
154
|
-
if (!__INTLIFY_DROP_MESSAGE_COMPILER__ &&
|
|
154
|
+
if (!__INTLIFY_DROP_MESSAGE_COMPILER__ && u(e)) {
|
|
155
155
|
const n = P(t.warnHtmlMessage) ? t.warnHtmlMessage : !0;
|
|
156
156
|
process.env.NODE_ENV !== "production" && _t(e, n);
|
|
157
157
|
const a = (t.onCacheKey || dt)(e), o = Q[a];
|
|
@@ -186,8 +186,8 @@ function gt(e, t, n) {
|
|
|
186
186
|
meta: n
|
|
187
187
|
});
|
|
188
188
|
}
|
|
189
|
-
const Nt = /* @__PURE__ */
|
|
190
|
-
function
|
|
189
|
+
const Nt = /* @__PURE__ */ pt("function:translate");
|
|
190
|
+
function pt(e) {
|
|
191
191
|
return (t) => q && q.emit(e, t);
|
|
192
192
|
}
|
|
193
193
|
const h = {
|
|
@@ -201,9 +201,9 @@ const h = {
|
|
|
201
201
|
NOT_SUPPORT_LOCALE_TYPE: 23
|
|
202
202
|
}, rn = 24;
|
|
203
203
|
function W(e) {
|
|
204
|
-
return Je(e, null, process.env.NODE_ENV !== "production" ? { messages:
|
|
204
|
+
return Je(e, null, process.env.NODE_ENV !== "production" ? { messages: Ot } : void 0);
|
|
205
205
|
}
|
|
206
|
-
const
|
|
206
|
+
const Ot = {
|
|
207
207
|
[h.INVALID_ARGUMENT]: "Invalid arguments",
|
|
208
208
|
[h.INVALID_DATE_ARGUMENT]: "The date provided is an invalid Date object.Make sure your Date represents a valid date.",
|
|
209
209
|
[h.INVALID_ISO_DATE_ARGUMENT]: "The argument provided is not a valid ISO date string",
|
|
@@ -213,11 +213,11 @@ const pt = {
|
|
|
213
213
|
[h.NOT_SUPPORT_LOCALE_TYPE]: "cannot support locale type"
|
|
214
214
|
};
|
|
215
215
|
function ue(e, t) {
|
|
216
|
-
return t.locale != null ?
|
|
216
|
+
return t.locale != null ? Oe(t.locale) : Oe(e.locale);
|
|
217
217
|
}
|
|
218
218
|
let re;
|
|
219
|
-
function
|
|
220
|
-
if (
|
|
219
|
+
function Oe(e) {
|
|
220
|
+
if (u(e))
|
|
221
221
|
return e;
|
|
222
222
|
if (C(e)) {
|
|
223
223
|
if (e.resolvedOnce && re != null)
|
|
@@ -232,31 +232,31 @@ function pe(e) {
|
|
|
232
232
|
} else
|
|
233
233
|
throw W(h.NOT_SUPPORT_LOCALE_TYPE);
|
|
234
234
|
}
|
|
235
|
-
function
|
|
235
|
+
function Tt(e, t, n) {
|
|
236
236
|
return [.../* @__PURE__ */ new Set([
|
|
237
237
|
n,
|
|
238
|
-
...$(t) ? t : F(t) ? Object.keys(t) :
|
|
238
|
+
...$(t) ? t : F(t) ? Object.keys(t) : u(t) ? [t] : [n]
|
|
239
239
|
])];
|
|
240
240
|
}
|
|
241
241
|
function an(e, t, n) {
|
|
242
|
-
const r =
|
|
242
|
+
const r = u(n) ? n : ie, a = e;
|
|
243
243
|
a.__localeChainCache || (a.__localeChainCache = /* @__PURE__ */ new Map());
|
|
244
244
|
let o = a.__localeChainCache.get(r);
|
|
245
245
|
if (!o) {
|
|
246
246
|
o = [];
|
|
247
247
|
let i = [n];
|
|
248
248
|
for (; $(i); )
|
|
249
|
-
i =
|
|
250
|
-
const l = $(t) || !
|
|
251
|
-
i =
|
|
249
|
+
i = Te(o, i, t);
|
|
250
|
+
const l = $(t) || !v(t) ? t : t.default ? t.default : null;
|
|
251
|
+
i = u(l) ? [l] : l, $(i) && Te(o, i, !1), a.__localeChainCache.set(r, o);
|
|
252
252
|
}
|
|
253
253
|
return o;
|
|
254
254
|
}
|
|
255
|
-
function
|
|
255
|
+
function Te(e, t, n) {
|
|
256
256
|
let r = !0;
|
|
257
257
|
for (let a = 0; a < t.length && P(r); a++) {
|
|
258
258
|
const o = t[a];
|
|
259
|
-
|
|
259
|
+
u(o) && (r = At(e, t[a], n));
|
|
260
260
|
}
|
|
261
261
|
return r;
|
|
262
262
|
}
|
|
@@ -274,7 +274,7 @@ function Dt(e, t, n) {
|
|
|
274
274
|
if (!e.includes(t) && (r = !0, t)) {
|
|
275
275
|
r = t[t.length - 1] !== "!";
|
|
276
276
|
const a = t.replace(/!/g, "");
|
|
277
|
-
e.push(a), ($(n) ||
|
|
277
|
+
e.push(a), ($(n) || v(n)) && n[a] && (r = n[a]);
|
|
278
278
|
}
|
|
279
279
|
return r;
|
|
280
280
|
}
|
|
@@ -443,11 +443,11 @@ const Mt = /^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;
|
|
|
443
443
|
function It(e) {
|
|
444
444
|
return Mt.test(e);
|
|
445
445
|
}
|
|
446
|
-
function
|
|
446
|
+
function vt(e) {
|
|
447
447
|
const t = e.charCodeAt(0), n = e.charCodeAt(e.length - 1);
|
|
448
448
|
return t === n && (t === 34 || t === 39) ? e.slice(1, -1) : e;
|
|
449
449
|
}
|
|
450
|
-
function
|
|
450
|
+
function Rt(e) {
|
|
451
451
|
if (e == null)
|
|
452
452
|
return "o";
|
|
453
453
|
switch (e.charCodeAt(0)) {
|
|
@@ -484,61 +484,61 @@ function Lt(e) {
|
|
|
484
484
|
}
|
|
485
485
|
return "i";
|
|
486
486
|
}
|
|
487
|
-
function
|
|
487
|
+
function Lt(e) {
|
|
488
488
|
const t = e.trim();
|
|
489
|
-
return e.charAt(0) === "0" && isNaN(parseInt(e)) ? !1 : It(t) ?
|
|
489
|
+
return e.charAt(0) === "0" && isNaN(parseInt(e)) ? !1 : It(t) ? vt(t) : "*" + t;
|
|
490
490
|
}
|
|
491
491
|
function Ct(e) {
|
|
492
492
|
const t = [];
|
|
493
|
-
let n = -1, r = 0, a = 0, o, i, l, s,
|
|
494
|
-
const
|
|
495
|
-
|
|
493
|
+
let n = -1, r = 0, a = 0, o, i, l, s, c, d, N;
|
|
494
|
+
const f = [];
|
|
495
|
+
f[
|
|
496
496
|
0
|
|
497
497
|
/* Actions.APPEND */
|
|
498
498
|
] = () => {
|
|
499
499
|
i === void 0 ? i = l : i += l;
|
|
500
|
-
},
|
|
500
|
+
}, f[
|
|
501
501
|
1
|
|
502
502
|
/* Actions.PUSH */
|
|
503
503
|
] = () => {
|
|
504
504
|
i !== void 0 && (t.push(i), i = void 0);
|
|
505
|
-
},
|
|
505
|
+
}, f[
|
|
506
506
|
2
|
|
507
507
|
/* Actions.INC_SUB_PATH_DEPTH */
|
|
508
508
|
] = () => {
|
|
509
|
-
|
|
509
|
+
f[
|
|
510
510
|
0
|
|
511
511
|
/* Actions.APPEND */
|
|
512
512
|
](), a++;
|
|
513
|
-
},
|
|
513
|
+
}, f[
|
|
514
514
|
3
|
|
515
515
|
/* Actions.PUSH_SUB_PATH */
|
|
516
516
|
] = () => {
|
|
517
517
|
if (a > 0)
|
|
518
|
-
a--, r = 4,
|
|
518
|
+
a--, r = 4, f[
|
|
519
519
|
0
|
|
520
520
|
/* Actions.APPEND */
|
|
521
521
|
]();
|
|
522
522
|
else {
|
|
523
|
-
if (a = 0, i === void 0 || (i =
|
|
523
|
+
if (a = 0, i === void 0 || (i = Lt(i), i === !1))
|
|
524
524
|
return !1;
|
|
525
|
-
|
|
525
|
+
f[
|
|
526
526
|
1
|
|
527
527
|
/* Actions.PUSH */
|
|
528
528
|
]();
|
|
529
529
|
}
|
|
530
530
|
};
|
|
531
|
-
function
|
|
531
|
+
function m() {
|
|
532
532
|
const I = e[n + 1];
|
|
533
533
|
if (r === 5 && I === "'" || r === 6 && I === '"')
|
|
534
|
-
return n++, l = "\\" + I,
|
|
534
|
+
return n++, l = "\\" + I, f[
|
|
535
535
|
0
|
|
536
536
|
/* Actions.APPEND */
|
|
537
537
|
](), !0;
|
|
538
538
|
}
|
|
539
539
|
for (; r !== null; )
|
|
540
|
-
if (n++, o = e[n], !(o === "\\" &&
|
|
541
|
-
if (s =
|
|
540
|
+
if (n++, o = e[n], !(o === "\\" && m())) {
|
|
541
|
+
if (s = Rt(o), N = Y[r], c = N[s] || N.l || 8, c === 8 || (r = c[0], c[1] !== void 0 && (d = f[c[1]], d && (l = o, d() === !1))))
|
|
542
542
|
return;
|
|
543
543
|
if (r === 7)
|
|
544
544
|
return t;
|
|
@@ -567,7 +567,7 @@ function sn(e, t) {
|
|
|
567
567
|
}
|
|
568
568
|
return a;
|
|
569
569
|
}
|
|
570
|
-
const
|
|
570
|
+
const R = {
|
|
571
571
|
NOT_FOUND_KEY: 1,
|
|
572
572
|
FALLBACK_TO_TRANSLATE: 2,
|
|
573
573
|
CANNOT_FORMAT_NUMBER: 3,
|
|
@@ -578,34 +578,34 @@ const L = {
|
|
|
578
578
|
INVALID_NUMBER_ARGUMENT: 8,
|
|
579
579
|
INVALID_DATE_ARGUMENT: 9
|
|
580
580
|
}, on = 10, Ft = {
|
|
581
|
-
[
|
|
582
|
-
[
|
|
583
|
-
[
|
|
584
|
-
[
|
|
585
|
-
[
|
|
586
|
-
[
|
|
587
|
-
[
|
|
588
|
-
[
|
|
589
|
-
[
|
|
581
|
+
[R.NOT_FOUND_KEY]: "Not found '{key}' key in '{locale}' locale messages.",
|
|
582
|
+
[R.FALLBACK_TO_TRANSLATE]: "Fall back to translate '{key}' key with '{target}' locale.",
|
|
583
|
+
[R.CANNOT_FORMAT_NUMBER]: "Cannot format a number value due to not supported Intl.NumberFormat.",
|
|
584
|
+
[R.FALLBACK_TO_NUMBER_FORMAT]: "Fall back to number format '{key}' key with '{target}' locale.",
|
|
585
|
+
[R.CANNOT_FORMAT_DATE]: "Cannot format a date value due to not supported Intl.DateTimeFormat.",
|
|
586
|
+
[R.FALLBACK_TO_DATE_FORMAT]: "Fall back to datetime format '{key}' key with '{target}' locale.",
|
|
587
|
+
[R.EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER]: "This project is using Custom Message Compiler, which is an experimental feature. It may receive breaking changes or be removed in the future.",
|
|
588
|
+
[R.INVALID_NUMBER_ARGUMENT]: "Invalid argument for number formatting: expected a number but received '{value}'.",
|
|
589
|
+
[R.INVALID_DATE_ARGUMENT]: "Invalid argument for datetime formatting: expected a Date, number, or ISO string but received '{value}'."
|
|
590
590
|
};
|
|
591
591
|
function G(e, ...t) {
|
|
592
|
-
return
|
|
592
|
+
return Re(Ft[e], ...t);
|
|
593
593
|
}
|
|
594
|
-
const St = "11.3.
|
|
594
|
+
const St = "11.3.2", fe = -1, ie = "en-US", ee = "", De = (e) => `${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;
|
|
595
595
|
function bt() {
|
|
596
596
|
return {
|
|
597
|
-
upper: (e, t) => t === "text" &&
|
|
598
|
-
lower: (e, t) => t === "text" &&
|
|
599
|
-
capitalize: (e, t) => t === "text" &&
|
|
597
|
+
upper: (e, t) => t === "text" && u(e) ? e.toUpperCase() : t === "vnode" && F(e) && "__v_isVNode" in e ? e.children.toUpperCase() : e,
|
|
598
|
+
lower: (e, t) => t === "text" && u(e) ? e.toLowerCase() : t === "vnode" && F(e) && "__v_isVNode" in e ? e.children.toLowerCase() : e,
|
|
599
|
+
capitalize: (e, t) => t === "text" && u(e) ? De(e) : t === "vnode" && F(e) && "__v_isVNode" in e ? De(e.children) : e
|
|
600
600
|
};
|
|
601
601
|
}
|
|
602
|
-
let
|
|
602
|
+
let Ve;
|
|
603
603
|
function ln(e) {
|
|
604
|
-
|
|
604
|
+
Ve = e;
|
|
605
605
|
}
|
|
606
|
-
let
|
|
606
|
+
let ke;
|
|
607
607
|
function cn(e) {
|
|
608
|
-
|
|
608
|
+
ke = e;
|
|
609
609
|
}
|
|
610
610
|
let Ue;
|
|
611
611
|
function un(e) {
|
|
@@ -621,9 +621,9 @@ const mn = (e) => {
|
|
|
621
621
|
}, _n = () => $e;
|
|
622
622
|
let Me = 0;
|
|
623
623
|
function dn(e = {}) {
|
|
624
|
-
const t = C(e.onWarn) ? e.onWarn : te, n =
|
|
625
|
-
process.env.NODE_ENV !== "production" && C(e.messageCompiler) && xe(G(
|
|
626
|
-
const
|
|
624
|
+
const t = C(e.onWarn) ? e.onWarn : te, n = u(e.version) ? e.version : St, r = u(e.locale) || C(e.locale) ? e.locale : ie, a = C(r) ? ie : r, o = $(e.fallbackLocale) || v(e.fallbackLocale) || u(e.fallbackLocale) || e.fallbackLocale === !1 ? e.fallbackLocale : a, i = v(e.messages) ? e.messages : ae(a), l = v(e.datetimeFormats) ? e.datetimeFormats : ae(a), s = v(e.numberFormats) ? e.numberFormats : ae(a), c = z(w(), e.modifiers, bt()), d = e.pluralRules || w(), N = C(e.missing) ? e.missing : null, f = P(e.missingWarn) || Ee(e.missingWarn) ? e.missingWarn : !0, m = P(e.fallbackWarn) || Ee(e.fallbackWarn) ? e.fallbackWarn : !0, I = !!e.fallbackFormat, p = !!e.unresolving, D = C(e.postTranslation) ? e.postTranslation : null, g = v(e.processor) ? e.processor : null, _ = P(e.warnHtmlMessage) ? e.warnHtmlMessage : !0, O = !!e.escapeParameter, E = C(e.messageCompiler) ? e.messageCompiler : Ve;
|
|
625
|
+
process.env.NODE_ENV !== "production" && C(e.messageCompiler) && xe(G(R.EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER));
|
|
626
|
+
const M = C(e.messageResolver) ? e.messageResolver : ke || ht, T = C(e.localeFallbacker) ? e.localeFallbacker : Ue || Tt, L = F(e.fallbackContext) ? e.fallbackContext : void 0, A = e, b = F(A.__datetimeFormatters) ? A.__datetimeFormatters : /* @__PURE__ */ new Map(), U = F(A.__numberFormatters) ? A.__numberFormatters : /* @__PURE__ */ new Map(), X = F(A.__meta) ? A.__meta : {};
|
|
627
627
|
Me++;
|
|
628
628
|
const y = {
|
|
629
629
|
version: n,
|
|
@@ -631,21 +631,21 @@ function dn(e = {}) {
|
|
|
631
631
|
locale: r,
|
|
632
632
|
fallbackLocale: o,
|
|
633
633
|
messages: i,
|
|
634
|
-
modifiers:
|
|
635
|
-
pluralRules:
|
|
636
|
-
missing:
|
|
637
|
-
missingWarn:
|
|
638
|
-
fallbackWarn:
|
|
634
|
+
modifiers: c,
|
|
635
|
+
pluralRules: d,
|
|
636
|
+
missing: N,
|
|
637
|
+
missingWarn: f,
|
|
638
|
+
fallbackWarn: m,
|
|
639
639
|
fallbackFormat: I,
|
|
640
640
|
unresolving: p,
|
|
641
|
-
postTranslation:
|
|
642
|
-
processor:
|
|
641
|
+
postTranslation: D,
|
|
642
|
+
processor: g,
|
|
643
643
|
warnHtmlMessage: _,
|
|
644
|
-
escapeParameter:
|
|
645
|
-
messageCompiler:
|
|
646
|
-
messageResolver:
|
|
647
|
-
localeFallbacker:
|
|
648
|
-
fallbackContext:
|
|
644
|
+
escapeParameter: O,
|
|
645
|
+
messageCompiler: E,
|
|
646
|
+
messageResolver: M,
|
|
647
|
+
localeFallbacker: T,
|
|
648
|
+
fallbackContext: L,
|
|
649
649
|
onWarn: t,
|
|
650
650
|
__meta: X
|
|
651
651
|
};
|
|
@@ -671,9 +671,9 @@ function _e(e, t, n, r, a) {
|
|
|
671
671
|
}
|
|
672
672
|
if (o !== null) {
|
|
673
673
|
const l = o(e, n, t, a);
|
|
674
|
-
return
|
|
674
|
+
return u(l) ? l : t;
|
|
675
675
|
} else
|
|
676
|
-
return process.env.NODE_ENV !== "production" && wt(r, t) && i(G(
|
|
676
|
+
return process.env.NODE_ENV !== "production" && wt(r, t) && i(G(R.NOT_FOUND_KEY, { key: t, locale: n })), t;
|
|
677
677
|
}
|
|
678
678
|
function En(e, t, n) {
|
|
679
679
|
const r = e;
|
|
@@ -698,47 +698,47 @@ const Ie = typeof Intl < "u", Ke = {
|
|
|
698
698
|
function gn(e, ...t) {
|
|
699
699
|
const { datetimeFormats: n, unresolving: r, fallbackLocale: a, onWarn: o, localeFallbacker: i } = e, { __datetimeFormatters: l } = e;
|
|
700
700
|
if (process.env.NODE_ENV !== "production" && !Ke.dateTimeFormat)
|
|
701
|
-
return o(G(
|
|
702
|
-
if (!
|
|
703
|
-
return process.env.NODE_ENV !== "production" && o(G(
|
|
701
|
+
return o(G(R.CANNOT_FORMAT_DATE)), ee;
|
|
702
|
+
if (!u(t[0]) && !Le(t[0]) && !S(t[0]))
|
|
703
|
+
return process.env.NODE_ENV !== "production" && o(G(R.INVALID_DATE_ARGUMENT, {
|
|
704
704
|
value: String(t[0])
|
|
705
705
|
})), ee;
|
|
706
|
-
const [s,
|
|
706
|
+
const [s, c, d, N] = kt(...t), f = P(d.missingWarn) ? d.missingWarn : e.missingWarn, m = P(d.fallbackWarn) ? d.fallbackWarn : e.fallbackWarn, I = !!d.part, p = ue(e, d), D = i(
|
|
707
707
|
e,
|
|
708
708
|
// eslint-disable-line @typescript-eslint/no-explicit-any
|
|
709
709
|
a,
|
|
710
710
|
p
|
|
711
711
|
);
|
|
712
|
-
if (!
|
|
713
|
-
return new Intl.DateTimeFormat(p.replace(/!/g, ""),
|
|
714
|
-
let
|
|
715
|
-
const
|
|
716
|
-
for (let b = 0; b <
|
|
717
|
-
if (_ =
|
|
712
|
+
if (!u(s) || s === "")
|
|
713
|
+
return new Intl.DateTimeFormat(p.replace(/!/g, ""), N).format(c);
|
|
714
|
+
let g = {}, _, O = null, E = p, M = null;
|
|
715
|
+
const T = "datetime format";
|
|
716
|
+
for (let b = 0; b < D.length; b++) {
|
|
717
|
+
if (_ = M = D[b], process.env.NODE_ENV !== "production" && p !== _ && me(m, s) && o(G(R.FALLBACK_TO_DATE_FORMAT, {
|
|
718
718
|
key: s,
|
|
719
719
|
target: _
|
|
720
720
|
})), process.env.NODE_ENV !== "production" && p !== _) {
|
|
721
721
|
const U = e.__v_emitter;
|
|
722
722
|
U && U.emit("fallback", {
|
|
723
|
-
type:
|
|
723
|
+
type: T,
|
|
724
724
|
key: s,
|
|
725
|
-
from:
|
|
726
|
-
to:
|
|
727
|
-
groupId: `${
|
|
725
|
+
from: E,
|
|
726
|
+
to: M,
|
|
727
|
+
groupId: `${T}:${s}`
|
|
728
728
|
});
|
|
729
729
|
}
|
|
730
|
-
if (
|
|
730
|
+
if (g = n[_] || {}, O = g[s], v(O))
|
|
731
731
|
break;
|
|
732
|
-
_e(e, s, _,
|
|
732
|
+
_e(e, s, _, f, T), E = M;
|
|
733
733
|
}
|
|
734
|
-
if (!
|
|
734
|
+
if (!v(O) || !u(_))
|
|
735
735
|
return r ? fe : s;
|
|
736
|
-
let
|
|
737
|
-
le(
|
|
738
|
-
let A = l.get(
|
|
739
|
-
return A || (A = new Intl.DateTimeFormat(_, z({},
|
|
736
|
+
let L = `${_}__${s}`;
|
|
737
|
+
le(N) || (L = `${L}__${JSON.stringify(N)}`);
|
|
738
|
+
let A = l.get(L);
|
|
739
|
+
return A || (A = new Intl.DateTimeFormat(_, z({}, O, N)), l.set(L, A)), I ? A.formatToParts(c) : A.format(c);
|
|
740
740
|
}
|
|
741
|
-
const
|
|
741
|
+
const Vt = [
|
|
742
742
|
"localeMatcher",
|
|
743
743
|
"weekday",
|
|
744
744
|
"era",
|
|
@@ -760,21 +760,21 @@ const kt = [
|
|
|
760
760
|
"hourCycle",
|
|
761
761
|
"fractionalSecondDigits"
|
|
762
762
|
];
|
|
763
|
-
function
|
|
763
|
+
function kt(...e) {
|
|
764
764
|
const [t, n, r, a] = e, o = w();
|
|
765
765
|
let i = w(), l;
|
|
766
|
-
if (
|
|
766
|
+
if (u(t)) {
|
|
767
767
|
const s = t.match(/(\d{4}-\d{2}-\d{2})(T|\s)?(.*)/);
|
|
768
768
|
if (!s)
|
|
769
769
|
throw W(h.INVALID_ISO_DATE_ARGUMENT);
|
|
770
|
-
const
|
|
771
|
-
l = new Date(
|
|
770
|
+
const c = s[3] ? s[3].trim().startsWith("T") ? `${s[1].trim()}${s[3].trim()}` : `${s[1].trim()}T${s[3].trim()}` : s[1].trim();
|
|
771
|
+
l = new Date(c);
|
|
772
772
|
try {
|
|
773
773
|
l.toISOString();
|
|
774
774
|
} catch {
|
|
775
775
|
throw W(h.INVALID_ISO_DATE_ARGUMENT);
|
|
776
776
|
}
|
|
777
|
-
} else if (
|
|
777
|
+
} else if (Le(t)) {
|
|
778
778
|
if (isNaN(t.getTime()))
|
|
779
779
|
throw W(h.INVALID_DATE_ARGUMENT);
|
|
780
780
|
l = t;
|
|
@@ -782,9 +782,9 @@ function Vt(...e) {
|
|
|
782
782
|
l = t;
|
|
783
783
|
else
|
|
784
784
|
throw W(h.INVALID_ARGUMENT);
|
|
785
|
-
return
|
|
786
|
-
|
|
787
|
-
}),
|
|
785
|
+
return u(n) ? o.key = n : v(n) && Object.keys(n).forEach((s) => {
|
|
786
|
+
Vt.includes(s) ? i[s] = n[s] : o[s] = n[s];
|
|
787
|
+
}), u(r) ? o.locale = r : v(r) && (i = r), v(a) && (i = a), [o.key || "", l, o, i];
|
|
788
788
|
}
|
|
789
789
|
function Nn(e, t, n) {
|
|
790
790
|
const r = e;
|
|
@@ -793,48 +793,48 @@ function Nn(e, t, n) {
|
|
|
793
793
|
r.__datetimeFormatters.has(o) && r.__datetimeFormatters.delete(o);
|
|
794
794
|
}
|
|
795
795
|
}
|
|
796
|
-
function
|
|
796
|
+
function pn(e, ...t) {
|
|
797
797
|
const { numberFormats: n, unresolving: r, fallbackLocale: a, onWarn: o, localeFallbacker: i } = e, { __numberFormatters: l } = e;
|
|
798
798
|
if (process.env.NODE_ENV !== "production" && !Ke.numberFormat)
|
|
799
|
-
return o(G(
|
|
799
|
+
return o(G(R.CANNOT_FORMAT_NUMBER)), ee;
|
|
800
800
|
if (!S(t[0]))
|
|
801
|
-
return process.env.NODE_ENV !== "production" && o(G(
|
|
801
|
+
return process.env.NODE_ENV !== "production" && o(G(R.INVALID_NUMBER_ARGUMENT, {
|
|
802
802
|
value: String(t[0])
|
|
803
803
|
})), ee;
|
|
804
|
-
const [s,
|
|
804
|
+
const [s, c, d, N] = Wt(...t), f = P(d.missingWarn) ? d.missingWarn : e.missingWarn, m = P(d.fallbackWarn) ? d.fallbackWarn : e.fallbackWarn, I = !!d.part, p = ue(e, d), D = i(
|
|
805
805
|
e,
|
|
806
806
|
// eslint-disable-line @typescript-eslint/no-explicit-any
|
|
807
807
|
a,
|
|
808
808
|
p
|
|
809
809
|
);
|
|
810
|
-
if (!
|
|
811
|
-
return new Intl.NumberFormat(p.replace(/!/g, ""),
|
|
812
|
-
let
|
|
813
|
-
const
|
|
814
|
-
for (let b = 0; b <
|
|
815
|
-
if (_ =
|
|
810
|
+
if (!u(s) || s === "")
|
|
811
|
+
return new Intl.NumberFormat(p.replace(/!/g, ""), N).format(c);
|
|
812
|
+
let g = {}, _, O = null, E = p, M = null;
|
|
813
|
+
const T = "number format";
|
|
814
|
+
for (let b = 0; b < D.length; b++) {
|
|
815
|
+
if (_ = M = D[b], process.env.NODE_ENV !== "production" && p !== _ && me(m, s) && o(G(R.FALLBACK_TO_NUMBER_FORMAT, {
|
|
816
816
|
key: s,
|
|
817
817
|
target: _
|
|
818
818
|
})), process.env.NODE_ENV !== "production" && p !== _) {
|
|
819
819
|
const U = e.__v_emitter;
|
|
820
820
|
U && U.emit("fallback", {
|
|
821
|
-
type:
|
|
821
|
+
type: T,
|
|
822
822
|
key: s,
|
|
823
|
-
from:
|
|
824
|
-
to:
|
|
825
|
-
groupId: `${
|
|
823
|
+
from: E,
|
|
824
|
+
to: M,
|
|
825
|
+
groupId: `${T}:${s}`
|
|
826
826
|
});
|
|
827
827
|
}
|
|
828
|
-
if (
|
|
828
|
+
if (g = n[_] || {}, O = g[s], v(O))
|
|
829
829
|
break;
|
|
830
|
-
_e(e, s, _,
|
|
830
|
+
_e(e, s, _, f, T), E = M;
|
|
831
831
|
}
|
|
832
|
-
if (!
|
|
832
|
+
if (!v(O) || !u(_))
|
|
833
833
|
return r ? fe : s;
|
|
834
|
-
let
|
|
835
|
-
le(
|
|
836
|
-
let A = l.get(
|
|
837
|
-
return A || (A = new Intl.NumberFormat(_, z({},
|
|
834
|
+
let L = `${_}__${s}`;
|
|
835
|
+
le(N) || (L = `${L}__${JSON.stringify(N)}`);
|
|
836
|
+
let A = l.get(L);
|
|
837
|
+
return A || (A = new Intl.NumberFormat(_, z({}, O, N)), l.set(L, A)), I ? A.formatToParts(c) : A.format(c);
|
|
838
838
|
}
|
|
839
839
|
const Ut = [
|
|
840
840
|
"localeMatcher",
|
|
@@ -864,11 +864,11 @@ function Wt(...e) {
|
|
|
864
864
|
if (!S(t))
|
|
865
865
|
throw W(h.INVALID_ARGUMENT);
|
|
866
866
|
const l = t;
|
|
867
|
-
return
|
|
867
|
+
return u(n) ? o.key = n : v(n) && Object.keys(n).forEach((s) => {
|
|
868
868
|
Ut.includes(s) ? i[s] = n[s] : o[s] = n[s];
|
|
869
|
-
}),
|
|
869
|
+
}), u(r) ? o.locale = r : v(r) && (i = r), v(a) && (i = a), [o.key || "", l, o, i];
|
|
870
870
|
}
|
|
871
|
-
function
|
|
871
|
+
function On(e, t, n) {
|
|
872
872
|
const r = e;
|
|
873
873
|
for (const a in n) {
|
|
874
874
|
const o = `${t}__${a}`;
|
|
@@ -884,62 +884,62 @@ function xt(e) {
|
|
|
884
884
|
return S(e.named?.count) ? e.named.count : S(e.named?.n) ? e.named.n : t;
|
|
885
885
|
}
|
|
886
886
|
function Ht(e = {}) {
|
|
887
|
-
const t = e.locale, n = xt(e), r =
|
|
887
|
+
const t = e.locale, n = xt(e), r = u(t) && C(e.pluralRules?.[t]) ? e.pluralRules[t] : se, a = r === se ? void 0 : se, o = (g) => g[r(n, g.length, a)], i = e.list || [], l = (g) => i[g], s = e.named || w();
|
|
888
888
|
S(e.pluralIndex) && (s.count ||= e.pluralIndex, s.n ||= e.pluralIndex);
|
|
889
|
-
const
|
|
890
|
-
function
|
|
891
|
-
const
|
|
892
|
-
return
|
|
889
|
+
const c = (g) => s[g];
|
|
890
|
+
function d(g, _) {
|
|
891
|
+
const O = C(e.messages) ? e.messages(g, !!_) : F(e.messages) ? e.messages[g] : !1;
|
|
892
|
+
return O || (e.parent ? e.parent.message(g) : Gt);
|
|
893
893
|
}
|
|
894
|
-
const
|
|
894
|
+
const N = (g) => e.modifiers ? e.modifiers[g] : $t, f = C(e.processor?.normalize) ? e.processor.normalize : Bt, m = C(e.processor?.interpolate) ? e.processor.interpolate : Yt, I = u(e.processor?.type) ? e.processor.type : Kt, D = {
|
|
895
895
|
list: l,
|
|
896
|
-
named:
|
|
896
|
+
named: c,
|
|
897
897
|
plural: o,
|
|
898
|
-
linked: (
|
|
899
|
-
const [
|
|
900
|
-
let
|
|
901
|
-
_.length === 1 ? F(
|
|
902
|
-
const
|
|
898
|
+
linked: (g, ..._) => {
|
|
899
|
+
const [O, E] = _;
|
|
900
|
+
let M = "text", T = "";
|
|
901
|
+
_.length === 1 ? F(O) ? (T = O.modifier || T, M = O.type || M) : u(O) && (T = O || T) : _.length === 2 && (u(O) && (T = O || T), u(E) && (M = E || M));
|
|
902
|
+
const L = d(g, !0)(D), A = L === "" || L === void 0 ? g : L, b = (
|
|
903
903
|
// The message in vnode resolved with linked are returned as an array by processor.nomalize
|
|
904
|
-
|
|
904
|
+
M === "vnode" && $(A) && T ? A[0] : A
|
|
905
905
|
);
|
|
906
|
-
return
|
|
906
|
+
return T ? N(T)(b, M) : b;
|
|
907
907
|
},
|
|
908
|
-
message:
|
|
908
|
+
message: d,
|
|
909
909
|
type: I,
|
|
910
|
-
interpolate:
|
|
911
|
-
normalize:
|
|
910
|
+
interpolate: m,
|
|
911
|
+
normalize: f,
|
|
912
912
|
values: z(w(), i, s)
|
|
913
913
|
};
|
|
914
|
-
return
|
|
914
|
+
return D;
|
|
915
915
|
}
|
|
916
|
-
const
|
|
917
|
-
function
|
|
918
|
-
const { fallbackFormat: n, postTranslation: r, unresolving: a, messageCompiler: o, fallbackLocale: i, messages: l } = e, [s,
|
|
919
|
-
|
|
920
|
-
let [
|
|
916
|
+
const ve = () => "", k = (e) => C(e);
|
|
917
|
+
function Tn(e, ...t) {
|
|
918
|
+
const { fallbackFormat: n, postTranslation: r, unresolving: a, messageCompiler: o, fallbackLocale: i, messages: l } = e, [s, c] = Xt(...t), d = P(c.missingWarn) ? c.missingWarn : e.missingWarn, N = P(c.fallbackWarn) ? c.fallbackWarn : e.fallbackWarn, f = P(c.escapeParameter) ? c.escapeParameter : e.escapeParameter, m = !!c.resolvedMessage, I = u(c.default) || P(c.default) ? P(c.default) ? o ? s : () => s : c.default : n ? o ? s : () => s : null, p = n || I != null && (u(I) || C(I)), D = ue(e, c);
|
|
919
|
+
f && jt(c);
|
|
920
|
+
let [g, _, O] = m ? [
|
|
921
921
|
s,
|
|
922
|
-
|
|
923
|
-
l[
|
|
924
|
-
] : Be(e, s,
|
|
925
|
-
if (!
|
|
922
|
+
D,
|
|
923
|
+
l[D] || w()
|
|
924
|
+
] : Be(e, s, D, i, N, d), E = g, M = s;
|
|
925
|
+
if (!m && !(u(E) || x(E) || k(E)) && p && (E = I, M = E), !m && (!(u(E) || x(E) || k(E)) || !u(_)))
|
|
926
926
|
return a ? fe : s;
|
|
927
|
-
if (process.env.NODE_ENV !== "production" &&
|
|
927
|
+
if (process.env.NODE_ENV !== "production" && u(E) && e.messageCompiler == null)
|
|
928
928
|
return te(`The message format compilation is not supported in this build. Because message compiler isn't included. You need to pre-compilation all message format. So translate function return '${s}'.`), s;
|
|
929
|
-
let
|
|
930
|
-
const
|
|
931
|
-
|
|
932
|
-
}, A =
|
|
933
|
-
if (
|
|
934
|
-
return
|
|
935
|
-
const b = Jt(e, _,
|
|
929
|
+
let T = !1;
|
|
930
|
+
const L = () => {
|
|
931
|
+
T = !0;
|
|
932
|
+
}, A = k(E) ? E : Ye(e, s, _, E, M, L);
|
|
933
|
+
if (T)
|
|
934
|
+
return E;
|
|
935
|
+
const b = Jt(e, _, O, c), U = Ht(b), X = zt(e, A, U);
|
|
936
936
|
let y = r ? r(X, s) : X;
|
|
937
|
-
if (
|
|
937
|
+
if (f && u(y) && (y = He(y)), process.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__) {
|
|
938
938
|
const de = {
|
|
939
939
|
timestamp: Date.now(),
|
|
940
|
-
key:
|
|
941
|
-
locale: _ || (
|
|
942
|
-
format:
|
|
940
|
+
key: u(s) ? s : k(E) ? E.key : "",
|
|
941
|
+
locale: _ || (k(E) ? E.locale : ""),
|
|
942
|
+
format: u(E) ? E : k(E) ? E.source : "",
|
|
943
943
|
message: y
|
|
944
944
|
};
|
|
945
945
|
de.meta = z({}, e.__meta, /* @__PURE__ */ Pt() || {}), Nt(de);
|
|
@@ -947,102 +947,102 @@ function On(e, ...t) {
|
|
|
947
947
|
return y;
|
|
948
948
|
}
|
|
949
949
|
function jt(e) {
|
|
950
|
-
$(e.list) ? e.list = e.list.map((t) =>
|
|
951
|
-
|
|
950
|
+
$(e.list) ? e.list = e.list.map((t) => u(t) ? Ne(t) : t) : F(e.named) && Object.keys(e.named).forEach((t) => {
|
|
951
|
+
u(e.named[t]) && (e.named[t] = Ne(e.named[t]));
|
|
952
952
|
});
|
|
953
953
|
}
|
|
954
954
|
function Be(e, t, n, r, a, o) {
|
|
955
|
-
const { messages: i, onWarn: l, messageResolver: s, localeFallbacker:
|
|
956
|
-
let
|
|
957
|
-
const
|
|
958
|
-
for (let
|
|
959
|
-
|
|
955
|
+
const { messages: i, onWarn: l, messageResolver: s, localeFallbacker: c } = e, d = c(e, r, n);
|
|
956
|
+
let N = w(), f, m = null, I = n, p = null;
|
|
957
|
+
const D = "translate";
|
|
958
|
+
for (let g = 0; g < d.length; g++) {
|
|
959
|
+
f = p = d[g], process.env.NODE_ENV !== "production" && n !== f && !Ge(n, f) && me(a, t) && l(G(R.FALLBACK_TO_TRANSLATE, {
|
|
960
960
|
key: t,
|
|
961
|
-
target:
|
|
962
|
-
}))
|
|
963
|
-
|
|
964
|
-
|
|
965
|
-
|
|
966
|
-
|
|
967
|
-
|
|
968
|
-
|
|
969
|
-
|
|
970
|
-
|
|
971
|
-
|
|
972
|
-
|
|
973
|
-
|
|
974
|
-
|
|
975
|
-
const O = window.performance.now(), D = e.__v_emitter;
|
|
976
|
-
D && _ && E && D.emit("message-resolve", {
|
|
961
|
+
target: f
|
|
962
|
+
}));
|
|
963
|
+
const _ = process.env.NODE_ENV !== "production" ? e.__v_emitter : void 0;
|
|
964
|
+
process.env.NODE_ENV !== "production" && n !== f && _ && _.emit("fallback", {
|
|
965
|
+
type: D,
|
|
966
|
+
key: t,
|
|
967
|
+
from: I,
|
|
968
|
+
to: p,
|
|
969
|
+
groupId: `${D}:${t}`
|
|
970
|
+
}), N = i[f] || w();
|
|
971
|
+
let O = null, E, M;
|
|
972
|
+
if (process.env.NODE_ENV !== "production" && H && _ && (O = window.performance.now(), E = "intlify-message-resolve-start", M = "intlify-message-resolve-end", V && V(E)), (m = s(N, t)) === null && (m = N[t]), process.env.NODE_ENV !== "production" && H && _) {
|
|
973
|
+
const T = window.performance.now();
|
|
974
|
+
_ && O && m && _.emit("message-resolve", {
|
|
977
975
|
type: "message-resolve",
|
|
978
976
|
key: t,
|
|
979
|
-
message:
|
|
980
|
-
time:
|
|
981
|
-
groupId: `${
|
|
982
|
-
}),
|
|
977
|
+
message: m,
|
|
978
|
+
time: T - O,
|
|
979
|
+
groupId: `${D}:${t}`
|
|
980
|
+
}), E && M && V && j && (V(M), j("intlify message resolve", E, M));
|
|
983
981
|
}
|
|
984
|
-
if (
|
|
982
|
+
if (u(m) || x(m) || k(m))
|
|
985
983
|
break;
|
|
986
|
-
if (!yt(
|
|
987
|
-
const
|
|
984
|
+
if (!yt(f, d)) {
|
|
985
|
+
const T = _e(
|
|
988
986
|
e,
|
|
989
987
|
// eslint-disable-line @typescript-eslint/no-explicit-any
|
|
990
988
|
t,
|
|
991
|
-
|
|
989
|
+
f,
|
|
992
990
|
o,
|
|
993
|
-
|
|
991
|
+
D
|
|
994
992
|
);
|
|
995
|
-
|
|
993
|
+
T !== t && (m = T);
|
|
996
994
|
}
|
|
997
995
|
I = p;
|
|
998
996
|
}
|
|
999
|
-
return [
|
|
997
|
+
return [m, f, N];
|
|
1000
998
|
}
|
|
1001
999
|
function Ye(e, t, n, r, a, o) {
|
|
1002
1000
|
const { messageCompiler: i, warnHtmlMessage: l } = e;
|
|
1003
|
-
if (
|
|
1004
|
-
const
|
|
1005
|
-
return
|
|
1001
|
+
if (k(r)) {
|
|
1002
|
+
const m = r;
|
|
1003
|
+
return m.locale = m.locale || n, m.key = m.key || t, m;
|
|
1006
1004
|
}
|
|
1007
1005
|
if (i == null) {
|
|
1008
|
-
const
|
|
1009
|
-
return
|
|
1006
|
+
const m = (() => r);
|
|
1007
|
+
return m.locale = n, m.key = t, m;
|
|
1010
1008
|
}
|
|
1011
|
-
|
|
1012
|
-
|
|
1013
|
-
|
|
1014
|
-
|
|
1015
|
-
|
|
1016
|
-
|
|
1009
|
+
const s = process.env.NODE_ENV !== "production" ? e.__v_emitter : void 0;
|
|
1010
|
+
let c = null, d, N;
|
|
1011
|
+
process.env.NODE_ENV !== "production" && H && s && (c = window.performance.now(), d = "intlify-message-compilation-start", N = "intlify-message-compilation-end", V && V(d));
|
|
1012
|
+
const f = i(r, Zt(e, n, a, r, l, o));
|
|
1013
|
+
if (process.env.NODE_ENV !== "production" && H && s) {
|
|
1014
|
+
const m = window.performance.now();
|
|
1015
|
+
s && c && s.emit("message-compilation", {
|
|
1017
1016
|
type: "message-compilation",
|
|
1018
1017
|
message: r,
|
|
1019
|
-
time:
|
|
1018
|
+
time: m - c,
|
|
1020
1019
|
groupId: `translate:${t}`
|
|
1021
|
-
}),
|
|
1020
|
+
}), d && N && V && j && (V(N), j("intlify message compilation", d, N));
|
|
1022
1021
|
}
|
|
1023
|
-
return
|
|
1022
|
+
return f.locale = n, f.key = t, f.source = r, f;
|
|
1024
1023
|
}
|
|
1025
1024
|
function zt(e, t, n) {
|
|
1026
|
-
|
|
1027
|
-
|
|
1028
|
-
|
|
1029
|
-
|
|
1030
|
-
|
|
1031
|
-
s
|
|
1025
|
+
const r = process.env.NODE_ENV !== "production" ? e.__v_emitter : void 0;
|
|
1026
|
+
let a = null, o, i;
|
|
1027
|
+
process.env.NODE_ENV !== "production" && H && r && (a = window.performance.now(), o = "intlify-message-evaluation-start", i = "intlify-message-evaluation-end", V && V(o));
|
|
1028
|
+
const l = t(n);
|
|
1029
|
+
if (process.env.NODE_ENV !== "production" && H && r) {
|
|
1030
|
+
const s = window.performance.now();
|
|
1031
|
+
r && a && r.emit("message-evaluation", {
|
|
1032
1032
|
type: "message-evaluation",
|
|
1033
|
-
value:
|
|
1034
|
-
time:
|
|
1033
|
+
value: l,
|
|
1034
|
+
time: s - a,
|
|
1035
1035
|
groupId: `translate:${t.key}`
|
|
1036
|
-
}),
|
|
1036
|
+
}), o && i && V && j && (V(i), j("intlify message evaluation", o, i));
|
|
1037
1037
|
}
|
|
1038
|
-
return
|
|
1038
|
+
return l;
|
|
1039
1039
|
}
|
|
1040
1040
|
function Xt(...e) {
|
|
1041
1041
|
const [t, n, r] = e, a = w();
|
|
1042
|
-
if (!
|
|
1042
|
+
if (!u(t) && !S(t) && !k(t) && !x(t))
|
|
1043
1043
|
throw W(h.INVALID_ARGUMENT);
|
|
1044
|
-
const o = S(t) ? String(t) : (
|
|
1045
|
-
return S(n) ? a.plural = n :
|
|
1044
|
+
const o = S(t) ? String(t) : (k(t), t);
|
|
1045
|
+
return S(n) ? a.plural = n : u(n) ? a.default = n : v(n) && !le(n) ? a.named = n : $(n) && (a.list = n), S(r) ? a.plural = r : u(r) ? a.default = r : v(r) && z(a, r), [o, a];
|
|
1046
1046
|
}
|
|
1047
1047
|
function Zt(e, t, n, r, a, o) {
|
|
1048
1048
|
return {
|
|
@@ -1051,17 +1051,17 @@ function Zt(e, t, n, r, a, o) {
|
|
|
1051
1051
|
warnHtmlMessage: a,
|
|
1052
1052
|
onError: (i) => {
|
|
1053
1053
|
if (o && o(i), process.env.NODE_ENV !== "production") {
|
|
1054
|
-
const l = qt(r), s = i.location && l && Ze(l, i.location.start.offset, i.location.end.offset),
|
|
1055
|
-
|
|
1054
|
+
const l = qt(r), s = i.location && l && Ze(l, i.location.start.offset, i.location.end.offset), c = e.__v_emitter;
|
|
1055
|
+
c && l && c.emit("compile-error", {
|
|
1056
1056
|
message: l,
|
|
1057
1057
|
error: i.message,
|
|
1058
1058
|
start: i.location && i.location.start.offset,
|
|
1059
1059
|
end: i.location && i.location.end.offset,
|
|
1060
1060
|
groupId: `translate:${n}`
|
|
1061
1061
|
});
|
|
1062
|
-
const
|
|
1063
|
-
throw new SyntaxError(s ? `${
|
|
1064
|
-
${s}` :
|
|
1062
|
+
const d = `Message compilation error: ${i.message}`;
|
|
1063
|
+
throw new SyntaxError(s ? `${d}
|
|
1064
|
+
${s}` : d);
|
|
1065
1065
|
}
|
|
1066
1066
|
throw i;
|
|
1067
1067
|
},
|
|
@@ -1069,40 +1069,40 @@ ${s}` : m);
|
|
|
1069
1069
|
};
|
|
1070
1070
|
}
|
|
1071
1071
|
function qt(e) {
|
|
1072
|
-
if (
|
|
1072
|
+
if (u(e))
|
|
1073
1073
|
return e;
|
|
1074
1074
|
if (e.loc && e.loc.source)
|
|
1075
1075
|
return e.loc.source;
|
|
1076
1076
|
}
|
|
1077
1077
|
function Jt(e, t, n, r) {
|
|
1078
|
-
const { modifiers: a, pluralRules: o, messageResolver: i, fallbackLocale: l, fallbackWarn: s, missingWarn:
|
|
1078
|
+
const { modifiers: a, pluralRules: o, messageResolver: i, fallbackLocale: l, fallbackWarn: s, missingWarn: c, fallbackContext: d } = e, f = {
|
|
1079
1079
|
locale: t,
|
|
1080
1080
|
modifiers: a,
|
|
1081
1081
|
pluralRules: o,
|
|
1082
|
-
messages: (
|
|
1083
|
-
let p = i(n,
|
|
1084
|
-
if (p == null && (
|
|
1085
|
-
const [, ,
|
|
1086
|
-
|
|
1082
|
+
messages: (m, I) => {
|
|
1083
|
+
let p = i(n, m);
|
|
1084
|
+
if (p == null && (d || I)) {
|
|
1085
|
+
const [D, , g] = Be(
|
|
1086
|
+
d || e,
|
|
1087
1087
|
// NOTE: if has fallbackContext, fallback to root, else if use linked, fallback to local context
|
|
1088
|
-
|
|
1088
|
+
m,
|
|
1089
1089
|
t,
|
|
1090
1090
|
l,
|
|
1091
1091
|
s,
|
|
1092
|
-
|
|
1092
|
+
c
|
|
1093
1093
|
);
|
|
1094
|
-
p = i(
|
|
1094
|
+
p = D ?? i(g, m);
|
|
1095
1095
|
}
|
|
1096
|
-
if (
|
|
1097
|
-
let
|
|
1098
|
-
const _ = Ye(e,
|
|
1099
|
-
|
|
1096
|
+
if (u(p) || x(p)) {
|
|
1097
|
+
let D = !1;
|
|
1098
|
+
const _ = Ye(e, m, t, p, m, () => {
|
|
1099
|
+
D = !0;
|
|
1100
1100
|
});
|
|
1101
|
-
return
|
|
1102
|
-
} else return
|
|
1101
|
+
return D ? ve : _;
|
|
1102
|
+
} else return k(p) ? p : ve;
|
|
1103
1103
|
}
|
|
1104
1104
|
};
|
|
1105
|
-
return e.processor && (
|
|
1105
|
+
return e.processor && (f.processor = e.processor), r.list && (f.list = r.list), r.named && (f.named = r.named), S(r.plural) && (f.pluralIndex = r.plural), f;
|
|
1106
1106
|
}
|
|
1107
1107
|
rt();
|
|
1108
1108
|
export {
|
|
@@ -1113,7 +1113,7 @@ export {
|
|
|
1113
1113
|
ee as M,
|
|
1114
1114
|
fe as N,
|
|
1115
1115
|
Nn as a,
|
|
1116
|
-
|
|
1116
|
+
On as b,
|
|
1117
1117
|
dn as c,
|
|
1118
1118
|
me as d,
|
|
1119
1119
|
wt as e,
|
|
@@ -1122,16 +1122,16 @@ export {
|
|
|
1122
1122
|
an as h,
|
|
1123
1123
|
x as i,
|
|
1124
1124
|
mn as j,
|
|
1125
|
-
|
|
1125
|
+
kt as k,
|
|
1126
1126
|
gn as l,
|
|
1127
1127
|
Wt as m,
|
|
1128
|
-
|
|
1129
|
-
|
|
1128
|
+
pn as n,
|
|
1129
|
+
k as o,
|
|
1130
1130
|
Xt as p,
|
|
1131
1131
|
Ut as q,
|
|
1132
|
-
|
|
1132
|
+
Vt as r,
|
|
1133
1133
|
fn as s,
|
|
1134
|
-
|
|
1134
|
+
Tn as t,
|
|
1135
1135
|
En as u,
|
|
1136
1136
|
ln as v,
|
|
1137
1137
|
cn as w,
|