@vc-shell/framework 1.1.46 → 1.1.47
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 +4 -0
- package/core/plugins/modularity/loader.ts +126 -97
- package/dist/assets/042c75b764bc78a7.svg +1 -0
- package/dist/assets/0ba156439a339f2a.svg +1 -0
- package/dist/assets/0be560bfb22d0e72.woff2 +0 -0
- package/dist/assets/0f590f8a94577092.svg +1 -0
- package/dist/assets/0fc5820f8be53a1b.svg +1 -0
- package/dist/assets/10768e2cc79fc60b.svg +1 -0
- package/dist/assets/11b3d25a56fd9a21.woff2 +0 -0
- package/dist/assets/157b8721e0600ea8.svg +1 -0
- package/dist/assets/15e91cdd649cde9a.svg +1 -0
- package/dist/assets/1a3e84b2457f709a.woff +0 -0
- package/dist/assets/1de63eb118636cce.svg +1 -0
- package/dist/assets/1ea01de36eb5491b.svg +1 -0
- package/dist/assets/204eaf512fde2023.svg +1 -0
- package/dist/assets/2088983edf42e153.svg +1 -0
- package/dist/assets/208f810a9321a327.svg +1 -0
- package/dist/assets/21220a9d10e6c558.svg +1 -0
- package/dist/assets/220db345a102045d.woff2 +0 -0
- package/dist/assets/225da11d23968333.svg +1 -0
- package/dist/assets/226f862dd81bdc13.woff2 +0 -0
- package/dist/assets/23a2d53395ddb14f.woff +0 -0
- package/dist/assets/259e6ad461a52ad7.svg +1 -0
- package/dist/assets/261e6dec4d53b9ac.woff +0 -0
- package/dist/assets/262f46a0b6d94bb6.svg +1 -0
- package/dist/assets/2857c513073467da.svg +1 -0
- package/dist/assets/2b3be7889467d98f.woff +0 -0
- package/dist/assets/2d4e6190eec72737.svg +1 -0
- package/dist/assets/2eba973185078bc8.woff +0 -0
- package/dist/assets/327511cd4a7ba7f9.woff +0 -0
- package/dist/assets/334d3f6bc766c516.woff +0 -0
- package/dist/assets/34ff7dd0c2285956.svg +1 -0
- package/dist/assets/3d26b7c1ab78bbe2.woff +0 -0
- package/dist/assets/3f8c4cc8099e34b6.woff2 +0 -0
- package/dist/assets/40a0e53b79ce63c6.woff2 +0 -0
- package/dist/assets/41275bcb979cb650.svg +1 -0
- package/dist/assets/42df4e2d6fa3fd2a.woff2 +0 -0
- package/dist/assets/434f7982590e462f.woff +0 -0
- package/dist/assets/4ae5f23e0ca888e7.woff2 +0 -0
- package/dist/assets/4d7a77b0e5373992.svg +1 -0
- package/dist/assets/4e43c74354534fb3.svg +1 -0
- package/dist/assets/4fe75f5117100705.svg +1 -0
- package/dist/assets/52610491f372cb0c.woff2 +0 -0
- package/dist/assets/52e261a005074e1b.woff +0 -0
- package/dist/assets/5304c3d05a5f9789.woff2 +0 -0
- package/dist/assets/572bb1bb4156a9c1.svg +1 -0
- package/dist/assets/5b3661be8be679d0.woff2 +0 -0
- package/dist/assets/5d96cfcc5bedd917.woff2 +0 -0
- package/dist/assets/6075995d7e74da46.woff2 +0 -0
- package/dist/assets/617c4736236e199e.woff +0 -0
- package/dist/assets/6619e9e10beea0e7.woff2 +0 -0
- package/dist/assets/67230f05dc94a265.svg +1 -0
- package/dist/assets/6798e4dd4add9b48.svg +1 -0
- package/dist/assets/698ec6c722d4cb05.woff2 +0 -0
- package/dist/assets/6a3e73faf406cf33.svg +1 -0
- package/dist/assets/72de3a63bc0b70dd.svg +1 -0
- package/dist/assets/74c6a6ab81bb6340.woff2 +0 -0
- package/dist/assets/74ed5f8a78e71106.svg +1 -0
- package/dist/assets/7ce0c166fd6a1204.woff +0 -0
- package/dist/assets/7d55399c2a7bc985.svg +1 -0
- package/dist/assets/7d970675c69fca1d.woff +0 -0
- package/dist/assets/7eda727273fd98d3.svg +1 -0
- package/dist/assets/7f6ebfd707b76ca2.woff +0 -0
- package/dist/assets/7fa898d213fcc7bc.woff2 +0 -0
- package/dist/assets/861e6b7192b3b6c7.woff +0 -0
- package/dist/assets/8bbcde81ba21ecb2.woff2 +0 -0
- package/dist/assets/8f6657e5e0b8d3e4.woff +0 -0
- package/dist/assets/910b0d99b9e26568.svg +1 -0
- package/dist/assets/91eee1aa81f72683.woff +0 -0
- package/dist/assets/92508f8707159b51.svg +1 -0
- package/dist/assets/9392bf1d591e1abb.svg +1 -0
- package/dist/assets/97e8d4984ba0713a.woff2 +0 -0
- package/dist/assets/9cb83236f6bb7ab1.svg +1 -0
- package/dist/assets/9d37314695c0b68d.woff +0 -0
- package/dist/assets/a18404194e3f9047.svg +1 -0
- package/dist/assets/a2017fe7f0a26510.svg +1 -0
- package/dist/assets/a47034e65dbcc3d7.woff +0 -0
- package/dist/assets/a617e11804bbacb7.woff +0 -0
- package/dist/assets/ab6e7190bb1492d5.woff2 +0 -0
- package/dist/assets/abf88f301a0730f4.svg +1 -0
- package/dist/assets/aed17cb6fdad2ada.woff2 +0 -0
- package/dist/assets/b1a596e31ad1185a.svg +1 -0
- package/dist/assets/b27767411c8427be.woff +0 -0
- package/dist/assets/b291dc35a17511f7.woff +0 -0
- package/dist/assets/b325adcae33bbe7a.svg +1 -0
- package/dist/assets/b372390551ca2fa1.svg +1 -0
- package/dist/assets/b5bb1e8fc975decd.svg +1 -0
- package/dist/assets/b645a4a2181b9dc1.svg +1 -0
- package/dist/assets/b6499ddce0a4ef7d.svg +1 -0
- package/dist/assets/b94421fadd23b0f2.svg +1 -0
- package/dist/assets/bb28fb0f27f1c11b.svg +1 -0
- package/dist/assets/bfbe205759295eca.woff2 +0 -0
- package/dist/assets/ca791c5ca5848a03.svg +1 -0
- package/dist/assets/cb32840ce330103f.woff +0 -0
- package/dist/assets/d084bda16abe8a56.svg +1 -0
- package/dist/assets/d32b129cae2fffd6.svg +1 -0
- package/dist/assets/d35a4c7113315758.woff2 +0 -0
- package/dist/assets/d3f792f54ae4c307.svg +1 -0
- package/dist/assets/d5a5b8630120073d.svg +1 -0
- package/dist/assets/d5f9664ebbfb104b.svg +1 -0
- package/dist/assets/d80b05788e407de7.woff2 +0 -0
- package/dist/assets/d84247b59449dd88.woff2 +0 -0
- package/dist/assets/dd05d43ff0df2fc7.svg +1 -0
- package/dist/assets/e38acaa1757232e0.svg +1 -0
- package/dist/assets/e4a8550f1c7ffe36.svg +1 -0
- package/dist/assets/e5adb5ae3a3698f6.svg +1 -0
- package/dist/assets/e61a1889bac955f4.woff2 +0 -0
- package/dist/assets/e72bb11356af94c7.svg +1 -0
- package/dist/assets/e98196a9f8dcb2f0.svg +1 -0
- package/dist/assets/ebec912a42ad49ff.woff +0 -0
- package/dist/assets/f09d89268e4c0317.svg +1 -0
- package/dist/assets/f276d55184e05a07.woff +0 -0
- package/dist/assets/f5722262b6e7214e.woff2 +0 -0
- package/dist/assets/f7fc8bf46089d8b2.svg +1 -0
- package/dist/assets/fcb1c1ffb5640194.woff +0 -0
- package/dist/assets/fe141d99763f5d2b.woff +0 -0
- package/dist/assets/fed13b0d59903483.svg +1 -0
- package/dist/assets/fed757d2c2344ead.woff2 +0 -0
- package/dist/assets/ffc438f20e79ce73.woff +0 -0
- package/dist/core/plugins/modularity/loader.d.ts.map +1 -1
- package/dist/framework.js +16544 -25878
- package/dist/index.css +1 -1
- package/dist/index.d.ts +5 -8
- package/dist/index.d.ts.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/ui/components/atoms/vc-icon/vc-lucide-icon.vue.d.ts.map +1 -1
- package/dist/vendor-boolbase-Bgn9I6iN.js +21 -0
- package/dist/vendor-cheerio-CleDsuQZ.js +1053 -0
- package/dist/vendor-cheerio-select-CVkYl3Z-.js +191 -0
- package/dist/vendor-css-select-CtIzVIiG.js +622 -0
- package/dist/vendor-css-what-CZZaquJM.js +267 -0
- package/dist/vendor-cypress-signalr-mock-CdKwIhWw.js +769 -0
- package/dist/vendor-date-fns-CdFbeoHV.js +2989 -0
- package/dist/vendor-dom-serializer-CugO0RdN.js +213 -0
- package/dist/vendor-dom7-wvIUV9pT.js +529 -0
- package/dist/vendor-domelementtype-B3sFIGaC.js +21 -0
- package/dist/vendor-domhandler-CL40eeX9.js +311 -0
- package/dist/vendor-dompurify-eYFoHPwR.js +528 -0
- package/dist/vendor-domutils-D3Y2YQFR.js +386 -0
- package/dist/vendor-entities-v26HW8wW.js +363 -0
- package/dist/vendor-floating-ui-core-C9uEvi1M.js +349 -0
- package/dist/vendor-floating-ui-dom-CZkYGmv4.js +393 -0
- package/dist/vendor-floating-ui-utils-Bx3BTd6_.js +259 -0
- package/dist/vendor-floating-ui-vue-CLOiVYP7.js +107 -0
- package/dist/vendor-headlessui-vue-Dg0Llidi.js +961 -0
- package/dist/vendor-htmlparser2-CXL_uhMI.js +735 -0
- package/dist/vendor-iconify-vue-D4fihzvl.js +1205 -0
- package/dist/vendor-intlify-core-base-Bvt2vJFV.js +1129 -0
- package/dist/vendor-intlify-message-compiler-1VxNzq21.js +945 -0
- package/dist/vendor-intlify-shared-D7kiPMOG.js +130 -0
- package/dist/vendor-iso-639-1-dVGfSUIM.js +781 -0
- package/dist/vendor-linkify-it-LzoUhj6C.js +199 -0
- package/dist/vendor-linkifyjs-DTu7SY_Y.js +705 -0
- package/dist/vendor-lodash-es-CrYlgAi8.js +4816 -0
- package/dist/vendor-markdown-it-4AJoRTAg.js +2263 -0
- package/dist/vendor-markdown-it-task-lists-Byg1-ms9.js +69 -0
- package/dist/vendor-mdurl-DZFDNdqC.js +192 -0
- package/dist/vendor-microsoft-applicationinsights-analytics-js-DA-ctcAL.js +1105 -0
- package/dist/vendor-microsoft-applicationinsights-cfgsync-js-COfRj-2q.js +261 -0
- package/dist/vendor-microsoft-applicationinsights-channel-js-MTPYhH-I.js +1809 -0
- package/dist/vendor-microsoft-applicationinsights-common-CDVnJ6MR.js +1921 -0
- package/dist/vendor-microsoft-applicationinsights-core-js-D7Aicf8S.js +4127 -0
- package/dist/vendor-microsoft-applicationinsights-dependencies-js-CvQWWraU.js +1399 -0
- package/dist/vendor-microsoft-applicationinsights-properties-js-C0Iv1cZE.js +572 -0
- package/dist/vendor-microsoft-applicationinsights-shims-CxtPYiwp.js +43 -0
- package/dist/vendor-microsoft-applicationinsights-web-BRuQAzjU.js +487 -0
- package/dist/vendor-microsoft-dynamicproto-js-DSkQkH3T.js +147 -0
- package/dist/vendor-microsoft-signalr-qIrag5xx.js +1761 -0
- package/dist/vendor-moment-CwOqp704.js +2589 -0
- package/dist/vendor-nevware21-ts-async-FAyg3c9V.js +260 -0
- package/dist/vendor-nevware21-ts-utils-Dy41wRhA.js +853 -0
- package/dist/vendor-nth-check-BE7AeBMg.js +45 -0
- package/dist/vendor-orderedmap-B3SOk52B.js +103 -0
- package/dist/vendor-parse5-DqztJOGh.js +5747 -0
- package/dist/vendor-parse5-htmlparser2-tree-adapter-CNubfdOP.js +143 -0
- package/dist/vendor-popperjs-core-LGjf7Wza.js +905 -0
- package/dist/vendor-prettier-D8C9GG-0.js +4858 -0
- package/dist/vendor-prosemirror-commands-BqYcdumy.js +344 -0
- package/dist/vendor-prosemirror-dropcursor-zknUsW5x.js +86 -0
- package/dist/vendor-prosemirror-gapcursor-DjOZhP78.js +200 -0
- package/dist/vendor-prosemirror-history-l8l3CFac.js +248 -0
- package/dist/vendor-prosemirror-keymap-C17r08p-.js +62 -0
- package/dist/vendor-prosemirror-markdown-WJEDhc-w.js +650 -0
- package/dist/vendor-prosemirror-model-BN5TnJD_.js +2736 -0
- package/dist/vendor-prosemirror-schema-list-CR0gi7aY.js +87 -0
- package/dist/vendor-prosemirror-state-B0bFP8WI.js +821 -0
- package/dist/vendor-prosemirror-tables-B1txTKlC.js +1711 -0
- package/dist/vendor-prosemirror-transform-Bo7kNPme.js +1507 -0
- package/dist/vendor-prosemirror-view--C7TZvmQ.js +3746 -0
- package/dist/vendor-punycode-js-CNI-zL6U.js +133 -0
- package/dist/vendor-rope-sequence-sEGCUMi8.js +100 -0
- package/dist/vendor-semver-BoKYtkQw.js +1021 -0
- package/dist/vendor-ssr-window-D4k3p53c.js +133 -0
- package/dist/vendor-swiper-CMVLTGu0.js +2825 -0
- package/dist/vendor-tippy-js-BGdgwGX-.js +812 -0
- package/dist/vendor-tiptap-core-BRY37Sb2.js +2806 -0
- package/dist/vendor-tiptap-extension-blockquote-CPd5qv-9.js +43 -0
- package/dist/vendor-tiptap-extension-bold-B0GwBNks.js +71 -0
- package/dist/vendor-tiptap-extension-bubble-menu-B0sZZld7.js +128 -0
- package/dist/vendor-tiptap-extension-bullet-list-CQm4ReOu.js +53 -0
- package/dist/vendor-tiptap-extension-code-C8cy6bRj.js +51 -0
- package/dist/vendor-tiptap-extension-code-block-BqTchNEf.js +133 -0
- package/dist/vendor-tiptap-extension-document-Dka1Uu0g.js +9 -0
- package/dist/vendor-tiptap-extension-dropcursor-CFSh-BuE.js +20 -0
- package/dist/vendor-tiptap-extension-floating-menu-H8PB4zeI.js +99 -0
- package/dist/vendor-tiptap-extension-gapcursor-CzwfD_IT.js +24 -0
- package/dist/vendor-tiptap-extension-hard-break-Rm6aVcrK.js +55 -0
- package/dist/vendor-tiptap-extension-heading-CavI6u1v.js +54 -0
- package/dist/vendor-tiptap-extension-history-WEN1_74D.js +35 -0
- package/dist/vendor-tiptap-extension-horizontal-rule-DZkUEL6s.js +58 -0
- package/dist/vendor-tiptap-extension-image-B67_mxGM.js +64 -0
- package/dist/vendor-tiptap-extension-italic-BshxBFou.js +70 -0
- package/dist/vendor-tiptap-extension-link-CJAQIgui.js +262 -0
- package/dist/vendor-tiptap-extension-list-item-DF-iMpqO.js +33 -0
- package/dist/vendor-tiptap-extension-ordered-list-CN8MF-kN.js +71 -0
- package/dist/vendor-tiptap-extension-paragraph-DI577lM5.js +33 -0
- package/dist/vendor-tiptap-extension-placeholder-DwAtlfAF.js +52 -0
- package/dist/vendor-tiptap-extension-strike-CIty09KN.js +61 -0
- package/dist/vendor-tiptap-extension-table-C5nv-GUb.js +213 -0
- package/dist/vendor-tiptap-extension-table-cell-DXbBhJW3.js +40 -0
- package/dist/vendor-tiptap-extension-table-header-rtggsYXA.js +40 -0
- package/dist/vendor-tiptap-extension-table-row-67khjMDt.js +22 -0
- package/dist/vendor-tiptap-extension-text-D1OHb_a1.js +8 -0
- package/dist/vendor-tiptap-extension-underline-IqWixw3m.js +40 -0
- package/dist/vendor-tiptap-markdown-DVxB1hbO.js +825 -0
- package/dist/vendor-tiptap-starter-kit-CPH9gu2X.js +29 -0
- package/dist/vendor-tiptap-vue-3-CkBe4_xM.js +225 -0
- package/dist/vendor-truncate-html-Bx1HJzRq.js +145 -0
- package/dist/vendor-uc-micro-4lbSaZOs.js +17 -0
- package/dist/vendor-vee-validate-i18n-zT8NxX3R.js +93 -0
- package/dist/vendor-vee-validate-rules-DDeNM2Gc.js +314 -0
- package/dist/vendor-vue-currency-input-DxWnS-HB.js +315 -0
- package/dist/vendor-vue-devtools-api-aVYGocXp.js +93 -0
- package/dist/vendor-vue-i18n-DPtOLen3.js +1359 -0
- package/dist/vendor-vue3-application-insights-dAGGfA_M.js +69 -0
- package/dist/vendor-vue3-touch-events-8Pa3HHlV.js +169 -0
- package/dist/vendor-vuepic-vue-datepicker-DglsiNYa.js +4997 -0
- package/dist/vendor-vueuse-components-DtK_mxpP.js +219 -0
- package/dist/vendor-vueuse-core-cB-c7DzH.js +5129 -0
- package/dist/vendor-vueuse-shared-Dg7PMM0z.js +1169 -0
- package/dist/vendor-w3c-keyname-CLxH8j-f.js +92 -0
- package/dist/vendor-whatwg-fetch-l0sNRNKZ.js +1 -0
- package/package.json +5 -4
- package/ui/components/atoms/vc-icon/vc-lucide-icon.vue +2 -1
- package/dist/vendor-boolbase-Cp9L0GAZ.js +0 -25
- package/dist/vendor-cheerio-HN9zIPZn.js +0 -3135
- package/dist/vendor-cheerio-select-5Ry0HvBq.js +0 -306
- package/dist/vendor-css-select-DRIZ9kfZ.js +0 -966
- package/dist/vendor-css-what-DuPJ1HEF.js +0 -448
- package/dist/vendor-cypress-signalr-mock-BKdBJpdt.js +0 -778
- package/dist/vendor-date-fns-515YWkk-.js +0 -6724
- package/dist/vendor-dom-serializer-nQMsqjYW.js +0 -286
- package/dist/vendor-dom7-CJLPMwy5.js +0 -941
- package/dist/vendor-domelementtype-CjSzQey5.js +0 -53
- package/dist/vendor-domhandler-9z8cS16a.js +0 -484
- package/dist/vendor-dompurify-CRFzu7ib.js +0 -1336
- package/dist/vendor-domutils-Bc-Opz-v.js +0 -981
- package/dist/vendor-entities-Bfsx4xOQ.js +0 -636
- package/dist/vendor-floating-ui-core-wV8u8QP4.js +0 -511
- package/dist/vendor-floating-ui-dom-DDnRPs17.js +0 -706
- package/dist/vendor-floating-ui-utils-OMIFy1QU.js +0 -296
- package/dist/vendor-floating-ui-vue-D-tCDAMm.js +0 -167
- package/dist/vendor-fontsource-plus-jakarta-sans.css +0 -1
- package/dist/vendor-headlessui-vue-CY9FRgTb.js +0 -83
- package/dist/vendor-htmlparser2-B1dhFPOs.js +0 -1426
- package/dist/vendor-iconify-vue-DfRGgyNu.js +0 -1840
- package/dist/vendor-intlify-core-base-BuknsFQe.js +0 -1876
- package/dist/vendor-intlify-message-compiler-CuOQDWx1.js +0 -1508
- package/dist/vendor-intlify-shared-Cz4YRMuC.js +0 -241
- package/dist/vendor-iso-639-1-BJCk9DvE.js +0 -819
- package/dist/vendor-linkify-it-CKUf4vsc.js +0 -830
- package/dist/vendor-linkifyjs-BfyGgbCh.js +0 -1756
- package/dist/vendor-lodash-es-BySUOlwf.js +0 -18333
- package/dist/vendor-markdown-it-D-apazHa.js +0 -6000
- package/dist/vendor-markdown-it-task-lists-rxMVH6Ku.js +0 -131
- package/dist/vendor-mdurl-BNh2CCgT.js +0 -537
- package/dist/vendor-microsoft-applicationinsights-analytics-js-kG3lLg8X.js +0 -1275
- package/dist/vendor-microsoft-applicationinsights-cfgsync-js-C0uQkiQq.js +0 -591
- package/dist/vendor-microsoft-applicationinsights-channel-js-Dyd_PXA3.js +0 -2153
- package/dist/vendor-microsoft-applicationinsights-common-CfmP1_Qr.js +0 -2470
- package/dist/vendor-microsoft-applicationinsights-core-js-Cq4YSEvZ.js +0 -6589
- package/dist/vendor-microsoft-applicationinsights-dependencies-js-C56OBFr4.js +0 -1510
- package/dist/vendor-microsoft-applicationinsights-properties-js-CBJTBawx.js +0 -761
- package/dist/vendor-microsoft-applicationinsights-shims-CX8sJgar.js +0 -70
- package/dist/vendor-microsoft-applicationinsights-web-pim2ri-g.js +0 -667
- package/dist/vendor-microsoft-dynamicproto-js-CFBBUu9p.js +0 -520
- package/dist/vendor-microsoft-signalr-dUnlRsGm.js +0 -3339
- package/dist/vendor-moment-Mki5YqAR.js +0 -5679
- package/dist/vendor-nevware21-ts-async-CLMApQ9E.js +0 -395
- package/dist/vendor-nevware21-ts-utils-e8v8Jty3.js +0 -1160
- package/dist/vendor-nth-check-Bx8TxtJt.js +0 -157
- package/dist/vendor-orderedmap-dGG6uMFJ.js +0 -137
- package/dist/vendor-parse5-Bt2NhSzR.js +0 -8432
- package/dist/vendor-parse5-htmlparser2-tree-adapter-BUUtKzf8.js +0 -216
- package/dist/vendor-popperjs-core-Cr2byIky.js +0 -1790
- package/dist/vendor-prettier-B4PaeWRQ.js +0 -98
- package/dist/vendor-prosemirror-commands-BH9lWGpW.js +0 -561
- package/dist/vendor-prosemirror-dropcursor-CeyPcxrA.js +0 -146
- package/dist/vendor-prosemirror-gapcursor-U8UoUJII.js +0 -236
- package/dist/vendor-prosemirror-history-BDaJkvNx.js +0 -414
- package/dist/vendor-prosemirror-keymap-BbWvIWmH.js +0 -128
- package/dist/vendor-prosemirror-markdown-gB0PXBbz.js +0 -866
- package/dist/vendor-prosemirror-model-BZu3WVcD.js +0 -3463
- package/dist/vendor-prosemirror-schema-list-Bl9NpKA7.js +0 -158
- package/dist/vendor-prosemirror-state-BvL9Pxph.js +0 -1003
- package/dist/vendor-prosemirror-tables-17qAnviK.js +0 -2159
- package/dist/vendor-prosemirror-transform-CE9VV3qg.js +0 -2156
- package/dist/vendor-prosemirror-view-CU2WTHT7.js +0 -5811
- package/dist/vendor-punycode-js-iAs5RxMf.js +0 -441
- package/dist/vendor-rope-sequence-BdXDKoGt.js +0 -207
- package/dist/vendor-semver-CVLMK-S4.js +0 -2702
- package/dist/vendor-ssr-window-s6OpKa3O.js +0 -150
- package/dist/vendor-swiper-CdiyNHVt.js +0 -5679
- package/dist/vendor-tippy-js-DWFe2TfK.js +0 -1647
- package/dist/vendor-tiptap-core-NfwGfaQk.js +0 -4910
- package/dist/vendor-tiptap-extension-blockquote-jmWBTtsI.js +0 -57
- package/dist/vendor-tiptap-extension-bold-p5frh4ak.js +0 -97
- package/dist/vendor-tiptap-extension-bubble-menu-KUhZSfrs.js +0 -218
- package/dist/vendor-tiptap-extension-bullet-list-COmZRoSB.js +0 -73
- package/dist/vendor-tiptap-extension-code-block-DyTARZss.js +0 -221
- package/dist/vendor-tiptap-extension-code-jVv6CXpX.js +0 -75
- package/dist/vendor-tiptap-extension-document-DssuotYs.js +0 -13
- package/dist/vendor-tiptap-extension-dropcursor-BoO0Qv91.js +0 -26
- package/dist/vendor-tiptap-extension-floating-menu-CrO8CN5w.js +0 -165
- package/dist/vendor-tiptap-extension-gapcursor-KpsWEoMD.js +0 -30
- package/dist/vendor-tiptap-extension-hard-break-ldOzhSvf.js +0 -68
- package/dist/vendor-tiptap-extension-heading-CKz2llX0.js +0 -77
- package/dist/vendor-tiptap-extension-history-DeKZ2VQ9.js +0 -48
- package/dist/vendor-tiptap-extension-horizontal-rule-CAjWRyDS.js +0 -92
- package/dist/vendor-tiptap-extension-image-ZagcEYuk.js +0 -76
- package/dist/vendor-tiptap-extension-italic-CM4xdznY.js +0 -96
- package/dist/vendor-tiptap-extension-link-Z-AMC4Ri.js +0 -414
- package/dist/vendor-tiptap-extension-list-item-BJi5QpXc.js +0 -37
- package/dist/vendor-tiptap-extension-ordered-list-C_TMrfBE.js +0 -97
- package/dist/vendor-tiptap-extension-paragraph-CQw0E0Au.js +0 -39
- package/dist/vendor-tiptap-extension-placeholder-BBNVKfa_.js +0 -66
- package/dist/vendor-tiptap-extension-strike-DUyMYX1Z.js +0 -79
- package/dist/vendor-tiptap-extension-table-cell-CoDIMPA5.js +0 -47
- package/dist/vendor-tiptap-extension-table-header-DvbGHnmw.js +0 -47
- package/dist/vendor-tiptap-extension-table-row-D1uqN5Aj.js +0 -26
- package/dist/vendor-tiptap-extension-table-tKS4MOM4.js +0 -354
- package/dist/vendor-tiptap-extension-text-DtRBhKB2.js +0 -12
- package/dist/vendor-tiptap-extension-underline-DqaSFp_P.js +0 -50
- package/dist/vendor-tiptap-markdown-7-PCADTU.js +0 -1017
- package/dist/vendor-tiptap-starter-kit-CDSV_Zuu.js +0 -88
- package/dist/vendor-tiptap-vue-3-DZg2fjq_.js +0 -268
- package/dist/vendor-truncate-html-3qQY0Djo.js +0 -196
- package/dist/vendor-uc-micro-jjt6LQ65.js +0 -23
- package/dist/vendor-vee-validate-i18n-v_gHjRmD.js +0 -154
- package/dist/vendor-vee-validate-rules-DzV3VY3N.js +0 -536
- package/dist/vendor-vue-currency-input-DGAkEFBO.js +0 -545
- package/dist/vendor-vue-devtools-api-DXYR8qBG.js +0 -169
- package/dist/vendor-vue-i18n-Co752uk3.js +0 -1897
- package/dist/vendor-vue3-application-insights-CYWFCr_J.js +0 -119
- package/dist/vendor-vue3-touch-events-BJEAiSa3.js +0 -416
- package/dist/vendor-vuepic-vue-datepicker-BSWXRSiu.js +0 -5019
- package/dist/vendor-vueuse-components-l1bL12mE.js +0 -339
- package/dist/vendor-vueuse-core-DGcJOmwG.js +0 -7743
- package/dist/vendor-vueuse-shared-_mOXsFuM.js +0 -1568
- package/dist/vendor-w3c-keyname-BOm2dtJm.js +0 -121
|
@@ -0,0 +1,1359 @@
|
|
|
1
|
+
import { C as Yt, D as qe, u as B, c as jt, a as Ce, b as De, i as K, A as Bt, s as Xt, g as Jt, N as Kt, d as zt, e as qt, f as Qe, h as Qt, j as Se, p as ye, t as Ve, M as Me, k as Ue, l as We, m as $e, n as we, o as Zt, q as ea, r as ta, v as aa, w as na, x as sa, y as la, z as ra, B as oa } from "./vendor-intlify-core-base-Bvt2vJFV.js";
|
|
2
|
+
import { w as Ze, e as N, l as ia, A as S, a as F, B as Ne, b, i as P, f as le, r as re, d as C, c as A, C as se, k as oe, j as R, g as $, n as z, h as Te, o as ca, m as J } from "./vendor-intlify-shared-D7kiPMOG.js";
|
|
3
|
+
import { effectScope as _a, ref as ua, shallowRef as ma, computed as X, watch as ge, isRef as fa, defineComponent as Le, getCurrentInstance as q, h as et, Fragment as tt, inject as ga, onMounted as Ea, onUnmounted as da, createVNode as ba, Text as va } from "vue";
|
|
4
|
+
import { s as Ia } from "./vendor-vue-devtools-api-aVYGocXp.js";
|
|
5
|
+
import { c as pa } from "./vendor-intlify-message-compiler-1VxNzq21.js";
|
|
6
|
+
/*!
|
|
7
|
+
* vue-i18n v11.1.7
|
|
8
|
+
* (c) 2025 kazuya kawaguchi
|
|
9
|
+
* Released under the MIT License.
|
|
10
|
+
*/
|
|
11
|
+
const at = "11.1.7";
|
|
12
|
+
function Na() {
|
|
13
|
+
typeof __VUE_I18N_FULL_INSTALL__ != "boolean" && (J().__VUE_I18N_FULL_INSTALL__ = !0), typeof __VUE_I18N_LEGACY_API__ != "boolean" && (J().__VUE_I18N_LEGACY_API__ = !0), typeof __INTLIFY_DROP_MESSAGE_COMPILER__ != "boolean" && (J().__INTLIFY_DROP_MESSAGE_COMPILER__ = !1), typeof __INTLIFY_PROD_DEVTOOLS__ != "boolean" && (J().__INTLIFY_PROD_DEVTOOLS__ = !1);
|
|
14
|
+
}
|
|
15
|
+
const E = {
|
|
16
|
+
// composer module errors
|
|
17
|
+
UNEXPECTED_RETURN_TYPE: Qt,
|
|
18
|
+
// 24
|
|
19
|
+
// legacy module errors
|
|
20
|
+
INVALID_ARGUMENT: 25,
|
|
21
|
+
// i18n module errors
|
|
22
|
+
MUST_BE_CALL_SETUP_TOP: 26,
|
|
23
|
+
NOT_INSTALLED: 27,
|
|
24
|
+
// directive module errors
|
|
25
|
+
REQUIRED_VALUE: 28,
|
|
26
|
+
INVALID_VALUE: 29,
|
|
27
|
+
// vue-devtools errors
|
|
28
|
+
CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN: 30,
|
|
29
|
+
NOT_INSTALLED_WITH_PROVIDE: 31,
|
|
30
|
+
// unexpected error
|
|
31
|
+
UNEXPECTED_ERROR: 32,
|
|
32
|
+
// not compatible legacy vue-i18n constructor
|
|
33
|
+
NOT_COMPATIBLE_LEGACY_VUE_I18N: 33,
|
|
34
|
+
// Not available Compostion API in Legacy API mode. Please make sure that the legacy API mode is working properly
|
|
35
|
+
NOT_AVAILABLE_COMPOSITION_IN_LEGACY: 34,
|
|
36
|
+
// duplicate `useI18n` calling
|
|
37
|
+
DUPLICATE_USE_I18N_CALLING: 35
|
|
38
|
+
};
|
|
39
|
+
function L(e, ...t) {
|
|
40
|
+
return pa(e, null, process.env.NODE_ENV !== "production" ? { messages: Ta, args: t } : void 0);
|
|
41
|
+
}
|
|
42
|
+
const Ta = {
|
|
43
|
+
[E.UNEXPECTED_RETURN_TYPE]: "Unexpected return type in composer",
|
|
44
|
+
[E.INVALID_ARGUMENT]: "Invalid argument",
|
|
45
|
+
[E.MUST_BE_CALL_SETUP_TOP]: "Must be called at the top of a `setup` function",
|
|
46
|
+
[E.NOT_INSTALLED]: "Need to install with `app.use` function",
|
|
47
|
+
[E.UNEXPECTED_ERROR]: "Unexpected error",
|
|
48
|
+
[E.REQUIRED_VALUE]: "Required in value: {0}",
|
|
49
|
+
[E.INVALID_VALUE]: "Invalid value",
|
|
50
|
+
[E.CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN]: "Cannot setup vue-devtools plugin",
|
|
51
|
+
[E.NOT_INSTALLED_WITH_PROVIDE]: "Need to install with `provide` function",
|
|
52
|
+
[E.NOT_COMPATIBLE_LEGACY_VUE_I18N]: "Not compatible legacy VueI18n.",
|
|
53
|
+
[E.NOT_AVAILABLE_COMPOSITION_IN_LEGACY]: "Not available Compostion API in Legacy API mode. Please make sure that the legacy API mode is working properly",
|
|
54
|
+
[E.DUPLICATE_USE_I18N_CALLING]: "Duplicate `useI18n` calling by local scope. Please don't call it on local scope"
|
|
55
|
+
}, Ee = /* @__PURE__ */ S("__translateVNode"), de = /* @__PURE__ */ S("__datetimeParts"), be = /* @__PURE__ */ S("__numberParts"), w = /* @__PURE__ */ S("__enableEmitter"), Q = /* @__PURE__ */ S("__disableEmitter"), nt = S("__setPluralRules"), st = /* @__PURE__ */ S("__injectWithOption"), ve = /* @__PURE__ */ S("__dispose"), D = {
|
|
56
|
+
FALLBACK_TO_ROOT: Yt,
|
|
57
|
+
// 8
|
|
58
|
+
NOT_FOUND_PARENT_SCOPE: 9,
|
|
59
|
+
IGNORE_OBJ_FLATTEN: 10,
|
|
60
|
+
/**
|
|
61
|
+
* @deprecated will be removed at vue-i18n v12
|
|
62
|
+
*/
|
|
63
|
+
DEPRECATE_LEGACY_MODE: 11,
|
|
64
|
+
/**
|
|
65
|
+
* @deprecated will be removed at vue-i18n v12
|
|
66
|
+
*/
|
|
67
|
+
DEPRECATE_TRANSLATE_CUSTOME_DIRECTIVE: 12
|
|
68
|
+
}, La = {
|
|
69
|
+
[D.FALLBACK_TO_ROOT]: "Fall back to {type} '{key}' with root locale.",
|
|
70
|
+
[D.NOT_FOUND_PARENT_SCOPE]: "Not found parent scope. use the global scope.",
|
|
71
|
+
[D.IGNORE_OBJ_FLATTEN]: "Ignore object flatten: '{key}' key has an string value",
|
|
72
|
+
/**
|
|
73
|
+
* @deprecated will be removed at vue-i18n v12
|
|
74
|
+
*/
|
|
75
|
+
[D.DEPRECATE_LEGACY_MODE]: `Legacy API mode has been deprecated in v11. Use Composition API mode instead.
|
|
76
|
+
About how to use the Composition API mode, see https://vue-i18n.intlify.dev/guide/advanced/composition.html`,
|
|
77
|
+
/**
|
|
78
|
+
* @deprecated will be removed at vue-i18n v12
|
|
79
|
+
*/
|
|
80
|
+
[D.DEPRECATE_TRANSLATE_CUSTOME_DIRECTIVE]: "'v-t' has been deprecated in v11. Use translate APIs ('t' or '$t') instead."
|
|
81
|
+
};
|
|
82
|
+
function te(e, ...t) {
|
|
83
|
+
return ia(La[e], ...t);
|
|
84
|
+
}
|
|
85
|
+
function Z(e) {
|
|
86
|
+
if (!R(e) || K(e))
|
|
87
|
+
return e;
|
|
88
|
+
for (const t in e)
|
|
89
|
+
if (oe(e, t))
|
|
90
|
+
if (!t.includes("."))
|
|
91
|
+
R(e[t]) && Z(e[t]);
|
|
92
|
+
else {
|
|
93
|
+
const s = t.split("."), n = s.length - 1;
|
|
94
|
+
let a = e, o = !1;
|
|
95
|
+
for (let r = 0; r < n; r++) {
|
|
96
|
+
if (s[r] === "__proto__")
|
|
97
|
+
throw new Error(`unsafe key: ${s[r]}`);
|
|
98
|
+
if (s[r] in a || (a[s[r]] = A()), !R(a[s[r]])) {
|
|
99
|
+
process.env.NODE_ENV !== "production" && Te(te(D.IGNORE_OBJ_FLATTEN, {
|
|
100
|
+
key: s[r]
|
|
101
|
+
})), o = !0;
|
|
102
|
+
break;
|
|
103
|
+
}
|
|
104
|
+
a = a[s[r]];
|
|
105
|
+
}
|
|
106
|
+
if (o || (K(a) ? Bt.includes(s[n]) || delete e[t] : (a[s[n]] = e[t], delete e[t])), !K(a)) {
|
|
107
|
+
const r = a[s[n]];
|
|
108
|
+
R(r) && Z(r);
|
|
109
|
+
}
|
|
110
|
+
}
|
|
111
|
+
return e;
|
|
112
|
+
}
|
|
113
|
+
function Oe(e, t) {
|
|
114
|
+
const { messages: s, __i18n: n, messageResolver: a, flatJson: o } = t, r = F(s) ? s : P(n) ? A() : { [e]: A() };
|
|
115
|
+
if (P(n) && n.forEach((c) => {
|
|
116
|
+
if ("locale" in c && "resource" in c) {
|
|
117
|
+
const { locale: u, resource: m } = c;
|
|
118
|
+
u ? (r[u] = r[u] || A(), se(m, r[u])) : se(m, r);
|
|
119
|
+
} else
|
|
120
|
+
b(c) && se(JSON.parse(c), r);
|
|
121
|
+
}), a == null && o)
|
|
122
|
+
for (const c in r)
|
|
123
|
+
oe(r, c) && Z(r[c]);
|
|
124
|
+
return r;
|
|
125
|
+
}
|
|
126
|
+
function lt(e) {
|
|
127
|
+
return e.type;
|
|
128
|
+
}
|
|
129
|
+
function rt(e, t, s) {
|
|
130
|
+
let n = R(t.messages) ? t.messages : A();
|
|
131
|
+
"__i18nGlobal" in s && (n = Oe(e.locale.value, {
|
|
132
|
+
messages: n,
|
|
133
|
+
__i18n: s.__i18nGlobal
|
|
134
|
+
}));
|
|
135
|
+
const a = Object.keys(n);
|
|
136
|
+
a.length && a.forEach((o) => {
|
|
137
|
+
e.mergeLocaleMessage(o, n[o]);
|
|
138
|
+
});
|
|
139
|
+
{
|
|
140
|
+
if (R(t.datetimeFormats)) {
|
|
141
|
+
const o = Object.keys(t.datetimeFormats);
|
|
142
|
+
o.length && o.forEach((r) => {
|
|
143
|
+
e.mergeDateTimeFormat(r, t.datetimeFormats[r]);
|
|
144
|
+
});
|
|
145
|
+
}
|
|
146
|
+
if (R(t.numberFormats)) {
|
|
147
|
+
const o = Object.keys(t.numberFormats);
|
|
148
|
+
o.length && o.forEach((r) => {
|
|
149
|
+
e.mergeNumberFormat(r, t.numberFormats[r]);
|
|
150
|
+
});
|
|
151
|
+
}
|
|
152
|
+
}
|
|
153
|
+
}
|
|
154
|
+
function xe(e) {
|
|
155
|
+
return ba(va, null, e, 0);
|
|
156
|
+
}
|
|
157
|
+
const Ge = "__INTLIFY_META__", He = () => [], Oa = () => !1;
|
|
158
|
+
let Ye = 0;
|
|
159
|
+
function je(e) {
|
|
160
|
+
return (t, s, n, a) => e(s, n, q() || void 0, a);
|
|
161
|
+
}
|
|
162
|
+
const ha = /* @__NO_SIDE_EFFECTS__ */ () => {
|
|
163
|
+
const e = q();
|
|
164
|
+
let t = null;
|
|
165
|
+
return e && (t = lt(e)[Ge]) ? { [Ge]: t } : null;
|
|
166
|
+
};
|
|
167
|
+
function he(e = {}) {
|
|
168
|
+
const { __root: t, __injectWithOption: s } = e, n = t === void 0, a = e.flatJson, o = re ? ua : ma;
|
|
169
|
+
let r = N(e.inheritLocale) ? e.inheritLocale : !0;
|
|
170
|
+
const c = o(
|
|
171
|
+
// prettier-ignore
|
|
172
|
+
t && r ? t.locale.value : b(e.locale) ? e.locale : qe
|
|
173
|
+
), u = o(
|
|
174
|
+
// prettier-ignore
|
|
175
|
+
t && r ? t.fallbackLocale.value : b(e.fallbackLocale) || P(e.fallbackLocale) || F(e.fallbackLocale) || e.fallbackLocale === !1 ? e.fallbackLocale : c.value
|
|
176
|
+
), m = o(Oe(c.value, e)), d = o(F(e.datetimeFormats) ? e.datetimeFormats : { [c.value]: {} }), f = o(F(e.numberFormats) ? e.numberFormats : { [c.value]: {} });
|
|
177
|
+
let v = t ? t.missingWarn : N(e.missingWarn) || le(e.missingWarn) ? e.missingWarn : !0, T = t ? t.fallbackWarn : N(e.fallbackWarn) || le(e.fallbackWarn) ? e.fallbackWarn : !0, O = t ? t.fallbackRoot : N(e.fallbackRoot) ? e.fallbackRoot : !0, h = !!e.fallbackFormat, y = $(e.missing) ? e.missing : null, k = $(e.missing) ? je(e.missing) : null, V = $(e.postTranslation) ? e.postTranslation : null, G = t ? t.warnHtmlMessage : N(e.warnHtmlMessage) ? e.warnHtmlMessage : !0, H = !!e.escapeParameter;
|
|
178
|
+
const Y = t ? t.modifiers : F(e.modifiers) ? e.modifiers : {};
|
|
179
|
+
let j = e.pluralRules || t && t.pluralRules, _;
|
|
180
|
+
_ = (() => {
|
|
181
|
+
n && Se(null);
|
|
182
|
+
const l = {
|
|
183
|
+
version: at,
|
|
184
|
+
locale: c.value,
|
|
185
|
+
fallbackLocale: u.value,
|
|
186
|
+
messages: m.value,
|
|
187
|
+
modifiers: Y,
|
|
188
|
+
pluralRules: j,
|
|
189
|
+
missing: k === null ? void 0 : k,
|
|
190
|
+
missingWarn: v,
|
|
191
|
+
fallbackWarn: T,
|
|
192
|
+
fallbackFormat: h,
|
|
193
|
+
unresolving: !0,
|
|
194
|
+
postTranslation: V === null ? void 0 : V,
|
|
195
|
+
warnHtmlMessage: G,
|
|
196
|
+
escapeParameter: H,
|
|
197
|
+
messageResolver: e.messageResolver,
|
|
198
|
+
messageCompiler: e.messageCompiler,
|
|
199
|
+
__meta: { framework: "vue" }
|
|
200
|
+
};
|
|
201
|
+
l.datetimeFormats = d.value, l.numberFormats = f.value, l.__datetimeFormatters = F(_) ? _.__datetimeFormatters : void 0, l.__numberFormatters = F(_) ? _.__numberFormatters : void 0, process.env.NODE_ENV !== "production" && (l.__v_emitter = F(_) ? _.__v_emitter : void 0);
|
|
202
|
+
const i = jt(l);
|
|
203
|
+
return n && Se(i), i;
|
|
204
|
+
})(), B(_, c.value, u.value);
|
|
205
|
+
const me = X({
|
|
206
|
+
get: () => c.value,
|
|
207
|
+
set: (l) => {
|
|
208
|
+
_.locale = l, c.value = l;
|
|
209
|
+
}
|
|
210
|
+
}), gt = X({
|
|
211
|
+
get: () => u.value,
|
|
212
|
+
set: (l) => {
|
|
213
|
+
_.fallbackLocale = l, u.value = l, B(_, c.value, l);
|
|
214
|
+
}
|
|
215
|
+
}), Et = X(() => m.value), dt = /* @__PURE__ */ X(() => d.value), bt = /* @__PURE__ */ X(() => f.value);
|
|
216
|
+
function vt() {
|
|
217
|
+
return $(V) ? V : null;
|
|
218
|
+
}
|
|
219
|
+
function It(l) {
|
|
220
|
+
V = l, _.postTranslation = l;
|
|
221
|
+
}
|
|
222
|
+
function pt() {
|
|
223
|
+
return y;
|
|
224
|
+
}
|
|
225
|
+
function Nt(l) {
|
|
226
|
+
l !== null && (k = je(l)), y = l, _.missing = k;
|
|
227
|
+
}
|
|
228
|
+
function Tt(l, i) {
|
|
229
|
+
return l !== "translate" || !i.resolvedMessage;
|
|
230
|
+
}
|
|
231
|
+
const M = (l, i, g, I, U, ne) => {
|
|
232
|
+
let x;
|
|
233
|
+
try {
|
|
234
|
+
(process.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__) && Xt(/* @__PURE__ */ ha()), n || (_.fallbackContext = t ? Jt() : void 0), x = l(_);
|
|
235
|
+
} finally {
|
|
236
|
+
n || (_.fallbackContext = void 0);
|
|
237
|
+
}
|
|
238
|
+
if (g !== "translate exists" && // for not `te` (e.g `t`)
|
|
239
|
+
z(x) && x === Kt || g === "translate exists" && !x) {
|
|
240
|
+
const [W, Ht] = i();
|
|
241
|
+
if (process.env.NODE_ENV !== "production" && t && b(W) && Tt(g, Ht) && (O && (zt(T, W) || qt(v, W)) && Te(te(D.FALLBACK_TO_ROOT, {
|
|
242
|
+
key: W,
|
|
243
|
+
type: g
|
|
244
|
+
})), process.env.NODE_ENV !== "production")) {
|
|
245
|
+
const { __v_emitter: Ae } = _;
|
|
246
|
+
Ae && O && Ae.emit("fallback", {
|
|
247
|
+
type: g,
|
|
248
|
+
key: W,
|
|
249
|
+
to: "global",
|
|
250
|
+
groupId: `${g}:${W}`
|
|
251
|
+
});
|
|
252
|
+
}
|
|
253
|
+
return t && O ? I(t) : U(W);
|
|
254
|
+
} else {
|
|
255
|
+
if (ne(x))
|
|
256
|
+
return x;
|
|
257
|
+
throw L(E.UNEXPECTED_RETURN_TYPE);
|
|
258
|
+
}
|
|
259
|
+
};
|
|
260
|
+
function ke(...l) {
|
|
261
|
+
return M((i) => Reflect.apply(Ve, null, [i, ...l]), () => ye(...l), "translate", (i) => Reflect.apply(i.t, i, [...l]), (i) => i, (i) => b(i));
|
|
262
|
+
}
|
|
263
|
+
function Lt(...l) {
|
|
264
|
+
const [i, g, I] = l;
|
|
265
|
+
if (I && !R(I))
|
|
266
|
+
throw L(E.INVALID_ARGUMENT);
|
|
267
|
+
return ke(i, g, C({ resolvedMessage: !0 }, I || {}));
|
|
268
|
+
}
|
|
269
|
+
function Ot(...l) {
|
|
270
|
+
return M((i) => Reflect.apply(We, null, [i, ...l]), () => Ue(...l), "datetime format", (i) => Reflect.apply(i.d, i, [...l]), () => Me, (i) => b(i) || P(i));
|
|
271
|
+
}
|
|
272
|
+
function ht(...l) {
|
|
273
|
+
return M((i) => Reflect.apply(we, null, [i, ...l]), () => $e(...l), "number format", (i) => Reflect.apply(i.n, i, [...l]), () => Me, (i) => b(i) || P(i));
|
|
274
|
+
}
|
|
275
|
+
function Ft(l) {
|
|
276
|
+
return l.map((i) => b(i) || z(i) || N(i) ? xe(String(i)) : i);
|
|
277
|
+
}
|
|
278
|
+
const Rt = {
|
|
279
|
+
normalize: Ft,
|
|
280
|
+
interpolate: (l) => l,
|
|
281
|
+
type: "vnode"
|
|
282
|
+
};
|
|
283
|
+
function kt(...l) {
|
|
284
|
+
return M((i) => {
|
|
285
|
+
let g;
|
|
286
|
+
const I = i;
|
|
287
|
+
try {
|
|
288
|
+
I.processor = Rt, g = Reflect.apply(Ve, null, [I, ...l]);
|
|
289
|
+
} finally {
|
|
290
|
+
I.processor = null;
|
|
291
|
+
}
|
|
292
|
+
return g;
|
|
293
|
+
}, () => ye(...l), "translate", (i) => i[Ee](...l), (i) => [xe(i)], (i) => P(i));
|
|
294
|
+
}
|
|
295
|
+
function Pt(...l) {
|
|
296
|
+
return M((i) => Reflect.apply(we, null, [i, ...l]), () => $e(...l), "number format", (i) => i[be](...l), He, (i) => b(i) || P(i));
|
|
297
|
+
}
|
|
298
|
+
function At(...l) {
|
|
299
|
+
return M((i) => Reflect.apply(We, null, [i, ...l]), () => Ue(...l), "datetime format", (i) => i[de](...l), He, (i) => b(i) || P(i));
|
|
300
|
+
}
|
|
301
|
+
function Ct(l) {
|
|
302
|
+
j = l, _.pluralRules = j;
|
|
303
|
+
}
|
|
304
|
+
function Dt(l, i) {
|
|
305
|
+
return M(() => {
|
|
306
|
+
if (!l)
|
|
307
|
+
return !1;
|
|
308
|
+
const g = b(i) ? i : c.value, I = Pe(g), U = _.messageResolver(I, l);
|
|
309
|
+
return K(U) || Zt(U) || b(U);
|
|
310
|
+
}, () => [l], "translate exists", (g) => Reflect.apply(g.te, g, [l, i]), Oa, (g) => N(g));
|
|
311
|
+
}
|
|
312
|
+
function St(l) {
|
|
313
|
+
let i = null;
|
|
314
|
+
const g = Qe(_, u.value, c.value);
|
|
315
|
+
for (let I = 0; I < g.length; I++) {
|
|
316
|
+
const U = m.value[g[I]] || {}, ne = _.messageResolver(U, l);
|
|
317
|
+
if (ne != null) {
|
|
318
|
+
i = ne;
|
|
319
|
+
break;
|
|
320
|
+
}
|
|
321
|
+
}
|
|
322
|
+
return i;
|
|
323
|
+
}
|
|
324
|
+
function yt(l) {
|
|
325
|
+
const i = St(l);
|
|
326
|
+
return i ?? (t ? t.tm(l) || {} : {});
|
|
327
|
+
}
|
|
328
|
+
function Pe(l) {
|
|
329
|
+
return m.value[l] || {};
|
|
330
|
+
}
|
|
331
|
+
function Vt(l, i) {
|
|
332
|
+
if (a) {
|
|
333
|
+
const g = { [l]: i };
|
|
334
|
+
for (const I in g)
|
|
335
|
+
oe(g, I) && Z(g[I]);
|
|
336
|
+
i = g[l];
|
|
337
|
+
}
|
|
338
|
+
m.value[l] = i, _.messages = m.value;
|
|
339
|
+
}
|
|
340
|
+
function Mt(l, i) {
|
|
341
|
+
m.value[l] = m.value[l] || {};
|
|
342
|
+
const g = { [l]: i };
|
|
343
|
+
if (a)
|
|
344
|
+
for (const I in g)
|
|
345
|
+
oe(g, I) && Z(g[I]);
|
|
346
|
+
i = g[l], se(i, m.value[l]), _.messages = m.value;
|
|
347
|
+
}
|
|
348
|
+
function Ut(l) {
|
|
349
|
+
return d.value[l] || {};
|
|
350
|
+
}
|
|
351
|
+
function Wt(l, i) {
|
|
352
|
+
d.value[l] = i, _.datetimeFormats = d.value, Ce(_, l, i);
|
|
353
|
+
}
|
|
354
|
+
function $t(l, i) {
|
|
355
|
+
d.value[l] = C(d.value[l] || {}, i), _.datetimeFormats = d.value, Ce(_, l, i);
|
|
356
|
+
}
|
|
357
|
+
function wt(l) {
|
|
358
|
+
return f.value[l] || {};
|
|
359
|
+
}
|
|
360
|
+
function xt(l, i) {
|
|
361
|
+
f.value[l] = i, _.numberFormats = f.value, De(_, l, i);
|
|
362
|
+
}
|
|
363
|
+
function Gt(l, i) {
|
|
364
|
+
f.value[l] = C(f.value[l] || {}, i), _.numberFormats = f.value, De(_, l, i);
|
|
365
|
+
}
|
|
366
|
+
Ye++, t && re && (ge(t.locale, (l) => {
|
|
367
|
+
r && (c.value = l, _.locale = l, B(_, c.value, u.value));
|
|
368
|
+
}), ge(t.fallbackLocale, (l) => {
|
|
369
|
+
r && (u.value = l, _.fallbackLocale = l, B(_, c.value, u.value));
|
|
370
|
+
}));
|
|
371
|
+
const p = {
|
|
372
|
+
id: Ye,
|
|
373
|
+
locale: me,
|
|
374
|
+
fallbackLocale: gt,
|
|
375
|
+
get inheritLocale() {
|
|
376
|
+
return r;
|
|
377
|
+
},
|
|
378
|
+
set inheritLocale(l) {
|
|
379
|
+
r = l, l && t && (c.value = t.locale.value, u.value = t.fallbackLocale.value, B(_, c.value, u.value));
|
|
380
|
+
},
|
|
381
|
+
get availableLocales() {
|
|
382
|
+
return Object.keys(m.value).sort();
|
|
383
|
+
},
|
|
384
|
+
messages: Et,
|
|
385
|
+
get modifiers() {
|
|
386
|
+
return Y;
|
|
387
|
+
},
|
|
388
|
+
get pluralRules() {
|
|
389
|
+
return j || {};
|
|
390
|
+
},
|
|
391
|
+
get isGlobal() {
|
|
392
|
+
return n;
|
|
393
|
+
},
|
|
394
|
+
get missingWarn() {
|
|
395
|
+
return v;
|
|
396
|
+
},
|
|
397
|
+
set missingWarn(l) {
|
|
398
|
+
v = l, _.missingWarn = v;
|
|
399
|
+
},
|
|
400
|
+
get fallbackWarn() {
|
|
401
|
+
return T;
|
|
402
|
+
},
|
|
403
|
+
set fallbackWarn(l) {
|
|
404
|
+
T = l, _.fallbackWarn = T;
|
|
405
|
+
},
|
|
406
|
+
get fallbackRoot() {
|
|
407
|
+
return O;
|
|
408
|
+
},
|
|
409
|
+
set fallbackRoot(l) {
|
|
410
|
+
O = l;
|
|
411
|
+
},
|
|
412
|
+
get fallbackFormat() {
|
|
413
|
+
return h;
|
|
414
|
+
},
|
|
415
|
+
set fallbackFormat(l) {
|
|
416
|
+
h = l, _.fallbackFormat = h;
|
|
417
|
+
},
|
|
418
|
+
get warnHtmlMessage() {
|
|
419
|
+
return G;
|
|
420
|
+
},
|
|
421
|
+
set warnHtmlMessage(l) {
|
|
422
|
+
G = l, _.warnHtmlMessage = l;
|
|
423
|
+
},
|
|
424
|
+
get escapeParameter() {
|
|
425
|
+
return H;
|
|
426
|
+
},
|
|
427
|
+
set escapeParameter(l) {
|
|
428
|
+
H = l, _.escapeParameter = l;
|
|
429
|
+
},
|
|
430
|
+
t: ke,
|
|
431
|
+
getLocaleMessage: Pe,
|
|
432
|
+
setLocaleMessage: Vt,
|
|
433
|
+
mergeLocaleMessage: Mt,
|
|
434
|
+
getPostTranslationHandler: vt,
|
|
435
|
+
setPostTranslationHandler: It,
|
|
436
|
+
getMissingHandler: pt,
|
|
437
|
+
setMissingHandler: Nt,
|
|
438
|
+
[nt]: Ct
|
|
439
|
+
};
|
|
440
|
+
return p.datetimeFormats = dt, p.numberFormats = bt, p.rt = Lt, p.te = Dt, p.tm = yt, p.d = Ot, p.n = ht, p.getDateTimeFormat = Ut, p.setDateTimeFormat = Wt, p.mergeDateTimeFormat = $t, p.getNumberFormat = wt, p.setNumberFormat = xt, p.mergeNumberFormat = Gt, p[st] = s, p[Ee] = kt, p[de] = At, p[be] = Pt, process.env.NODE_ENV !== "production" && (p[w] = (l) => {
|
|
441
|
+
_.__v_emitter = l;
|
|
442
|
+
}, p[Q] = () => {
|
|
443
|
+
_.__v_emitter = void 0;
|
|
444
|
+
}), p;
|
|
445
|
+
}
|
|
446
|
+
const ot = "vue-i18n: composer properties", fe = {
|
|
447
|
+
"vue-devtools-plugin-vue-i18n": "Vue I18n DevTools",
|
|
448
|
+
"vue-i18n-resource-inspector": "Vue I18n DevTools",
|
|
449
|
+
"vue-i18n-timeline": "Vue I18n"
|
|
450
|
+
}, Fa = {
|
|
451
|
+
"vue-i18n-resource-inspector": "Search for scopes ..."
|
|
452
|
+
}, Ra = {
|
|
453
|
+
"vue-i18n-timeline": 16764185
|
|
454
|
+
};
|
|
455
|
+
let Ie;
|
|
456
|
+
async function ka(e, t) {
|
|
457
|
+
return new Promise((s, n) => {
|
|
458
|
+
try {
|
|
459
|
+
Ia({
|
|
460
|
+
id: "vue-devtools-plugin-vue-i18n",
|
|
461
|
+
label: fe["vue-devtools-plugin-vue-i18n"],
|
|
462
|
+
packageName: "vue-i18n",
|
|
463
|
+
homepage: "https://vue-i18n.intlify.dev",
|
|
464
|
+
logo: "https://vue-i18n.intlify.dev/vue-i18n-devtools-logo.png",
|
|
465
|
+
componentStateTypes: [ot],
|
|
466
|
+
app: e
|
|
467
|
+
// eslint-disable-line @typescript-eslint/no-explicit-any
|
|
468
|
+
}, (a) => {
|
|
469
|
+
Ie = a, a.on.visitComponentTree(({ componentInstance: r, treeNode: c }) => {
|
|
470
|
+
Pa(r, c, t);
|
|
471
|
+
}), a.on.inspectComponent(({ componentInstance: r, instanceData: c }) => {
|
|
472
|
+
r.vnode.el && r.vnode.el.__VUE_I18N__ && c && (t.mode === "legacy" ? r.vnode.el.__VUE_I18N__ !== t.global.__composer && Be(c, r.vnode.el.__VUE_I18N__) : Be(c, r.vnode.el.__VUE_I18N__));
|
|
473
|
+
}), a.addInspector({
|
|
474
|
+
id: "vue-i18n-resource-inspector",
|
|
475
|
+
label: fe["vue-i18n-resource-inspector"],
|
|
476
|
+
icon: "language",
|
|
477
|
+
treeFilterPlaceholder: Fa["vue-i18n-resource-inspector"]
|
|
478
|
+
}), a.on.getInspectorTree((r) => {
|
|
479
|
+
r.app === e && r.inspectorId === "vue-i18n-resource-inspector" && ya(r, t);
|
|
480
|
+
});
|
|
481
|
+
const o = /* @__PURE__ */ new Map();
|
|
482
|
+
a.on.getInspectorState(async (r) => {
|
|
483
|
+
if (r.app === e && r.inspectorId === "vue-i18n-resource-inspector")
|
|
484
|
+
if (a.unhighlightElement(), Ma(r, t), r.nodeId === "global") {
|
|
485
|
+
if (!o.has(r.app)) {
|
|
486
|
+
const [c] = await a.getComponentInstances(r.app);
|
|
487
|
+
o.set(r.app, c);
|
|
488
|
+
}
|
|
489
|
+
a.highlightElement(o.get(r.app));
|
|
490
|
+
} else {
|
|
491
|
+
const c = Va(r.nodeId, t);
|
|
492
|
+
c && a.highlightElement(c);
|
|
493
|
+
}
|
|
494
|
+
}), a.on.editInspectorState((r) => {
|
|
495
|
+
r.app === e && r.inspectorId === "vue-i18n-resource-inspector" && Wa(r, t);
|
|
496
|
+
}), a.addTimelineLayer({
|
|
497
|
+
id: "vue-i18n-timeline",
|
|
498
|
+
label: fe["vue-i18n-timeline"],
|
|
499
|
+
color: Ra["vue-i18n-timeline"]
|
|
500
|
+
}), s(!0);
|
|
501
|
+
});
|
|
502
|
+
} catch (a) {
|
|
503
|
+
console.error(a), n(!1);
|
|
504
|
+
}
|
|
505
|
+
});
|
|
506
|
+
}
|
|
507
|
+
function it(e) {
|
|
508
|
+
return e.type.name || e.type.displayName || e.type.__file || "Anonymous";
|
|
509
|
+
}
|
|
510
|
+
function Pa(e, t, s) {
|
|
511
|
+
const n = s.mode === "composition" ? s.global : s.global.__composer;
|
|
512
|
+
if (e && e.vnode.el && e.vnode.el.__VUE_I18N__ && e.vnode.el.__VUE_I18N__ !== n) {
|
|
513
|
+
const a = {
|
|
514
|
+
label: `i18n (${it(e)} Scope)`,
|
|
515
|
+
textColor: 0,
|
|
516
|
+
backgroundColor: 16764185
|
|
517
|
+
};
|
|
518
|
+
t.tags.push(a);
|
|
519
|
+
}
|
|
520
|
+
}
|
|
521
|
+
function Be(e, t) {
|
|
522
|
+
const s = ot;
|
|
523
|
+
e.state.push({
|
|
524
|
+
type: s,
|
|
525
|
+
key: "locale",
|
|
526
|
+
editable: !0,
|
|
527
|
+
value: t.locale.value
|
|
528
|
+
}), e.state.push({
|
|
529
|
+
type: s,
|
|
530
|
+
key: "availableLocales",
|
|
531
|
+
editable: !1,
|
|
532
|
+
value: t.availableLocales
|
|
533
|
+
}), e.state.push({
|
|
534
|
+
type: s,
|
|
535
|
+
key: "fallbackLocale",
|
|
536
|
+
editable: !0,
|
|
537
|
+
value: t.fallbackLocale.value
|
|
538
|
+
}), e.state.push({
|
|
539
|
+
type: s,
|
|
540
|
+
key: "inheritLocale",
|
|
541
|
+
editable: !0,
|
|
542
|
+
value: t.inheritLocale
|
|
543
|
+
}), e.state.push({
|
|
544
|
+
type: s,
|
|
545
|
+
key: "messages",
|
|
546
|
+
editable: !1,
|
|
547
|
+
value: Fe(t.messages.value)
|
|
548
|
+
}), e.state.push({
|
|
549
|
+
type: s,
|
|
550
|
+
key: "datetimeFormats",
|
|
551
|
+
editable: !1,
|
|
552
|
+
value: t.datetimeFormats.value
|
|
553
|
+
}), e.state.push({
|
|
554
|
+
type: s,
|
|
555
|
+
key: "numberFormats",
|
|
556
|
+
editable: !1,
|
|
557
|
+
value: t.numberFormats.value
|
|
558
|
+
});
|
|
559
|
+
}
|
|
560
|
+
function Fe(e) {
|
|
561
|
+
const t = {};
|
|
562
|
+
return Object.keys(e).forEach((s) => {
|
|
563
|
+
const n = e[s];
|
|
564
|
+
$(n) && "source" in n ? t[s] = Sa(n) : K(n) && n.loc && n.loc.source ? t[s] = n.loc.source : R(n) ? t[s] = Fe(n) : t[s] = n;
|
|
565
|
+
}), t;
|
|
566
|
+
}
|
|
567
|
+
const Aa = {
|
|
568
|
+
"<": "<",
|
|
569
|
+
">": ">",
|
|
570
|
+
'"': """,
|
|
571
|
+
"&": "&"
|
|
572
|
+
};
|
|
573
|
+
function Ca(e) {
|
|
574
|
+
return e.replace(/[<>"&]/g, Da);
|
|
575
|
+
}
|
|
576
|
+
function Da(e) {
|
|
577
|
+
return Aa[e] || e;
|
|
578
|
+
}
|
|
579
|
+
function Sa(e) {
|
|
580
|
+
return {
|
|
581
|
+
_custom: {
|
|
582
|
+
type: "function",
|
|
583
|
+
display: `<span>ƒ</span> ${e.source ? `("${Ca(e.source)}")` : "(?)"}`
|
|
584
|
+
}
|
|
585
|
+
};
|
|
586
|
+
}
|
|
587
|
+
function ya(e, t) {
|
|
588
|
+
e.rootNodes.push({
|
|
589
|
+
id: "global",
|
|
590
|
+
label: "Global Scope"
|
|
591
|
+
});
|
|
592
|
+
const s = t.mode === "composition" ? t.global : t.global.__composer;
|
|
593
|
+
for (const [n, a] of t.__instances) {
|
|
594
|
+
const o = t.mode === "composition" ? a : a.__composer;
|
|
595
|
+
s !== o && e.rootNodes.push({
|
|
596
|
+
id: o.id.toString(),
|
|
597
|
+
label: `${it(n)} Scope`
|
|
598
|
+
});
|
|
599
|
+
}
|
|
600
|
+
}
|
|
601
|
+
function Va(e, t) {
|
|
602
|
+
let s = null;
|
|
603
|
+
if (e !== "global") {
|
|
604
|
+
for (const [n, a] of t.__instances.entries())
|
|
605
|
+
if (a.id.toString() === e) {
|
|
606
|
+
s = n;
|
|
607
|
+
break;
|
|
608
|
+
}
|
|
609
|
+
}
|
|
610
|
+
return s;
|
|
611
|
+
}
|
|
612
|
+
function ct(e, t) {
|
|
613
|
+
if (e === "global")
|
|
614
|
+
return t.mode === "composition" ? t.global : t.global.__composer;
|
|
615
|
+
{
|
|
616
|
+
const s = Array.from(t.__instances.values()).find((n) => n.id.toString() === e);
|
|
617
|
+
return s ? t.mode === "composition" ? s : s.__composer : null;
|
|
618
|
+
}
|
|
619
|
+
}
|
|
620
|
+
function Ma(e, t) {
|
|
621
|
+
const s = ct(e.nodeId, t);
|
|
622
|
+
return s && (e.state = Ua(s)), null;
|
|
623
|
+
}
|
|
624
|
+
function Ua(e) {
|
|
625
|
+
const t = {}, s = "Locale related info", n = [
|
|
626
|
+
{
|
|
627
|
+
type: s,
|
|
628
|
+
key: "locale",
|
|
629
|
+
editable: !0,
|
|
630
|
+
value: e.locale.value
|
|
631
|
+
},
|
|
632
|
+
{
|
|
633
|
+
type: s,
|
|
634
|
+
key: "fallbackLocale",
|
|
635
|
+
editable: !0,
|
|
636
|
+
value: e.fallbackLocale.value
|
|
637
|
+
},
|
|
638
|
+
{
|
|
639
|
+
type: s,
|
|
640
|
+
key: "availableLocales",
|
|
641
|
+
editable: !1,
|
|
642
|
+
value: e.availableLocales
|
|
643
|
+
},
|
|
644
|
+
{
|
|
645
|
+
type: s,
|
|
646
|
+
key: "inheritLocale",
|
|
647
|
+
editable: !0,
|
|
648
|
+
value: e.inheritLocale
|
|
649
|
+
}
|
|
650
|
+
];
|
|
651
|
+
t[s] = n;
|
|
652
|
+
const a = "Locale messages info", o = [
|
|
653
|
+
{
|
|
654
|
+
type: a,
|
|
655
|
+
key: "messages",
|
|
656
|
+
editable: !1,
|
|
657
|
+
value: Fe(e.messages.value)
|
|
658
|
+
}
|
|
659
|
+
];
|
|
660
|
+
t[a] = o;
|
|
661
|
+
{
|
|
662
|
+
const r = "Datetime formats info", c = [
|
|
663
|
+
{
|
|
664
|
+
type: r,
|
|
665
|
+
key: "datetimeFormats",
|
|
666
|
+
editable: !1,
|
|
667
|
+
value: e.datetimeFormats.value
|
|
668
|
+
}
|
|
669
|
+
];
|
|
670
|
+
t[r] = c;
|
|
671
|
+
const u = "Datetime formats info", m = [
|
|
672
|
+
{
|
|
673
|
+
type: u,
|
|
674
|
+
key: "numberFormats",
|
|
675
|
+
editable: !1,
|
|
676
|
+
value: e.numberFormats.value
|
|
677
|
+
}
|
|
678
|
+
];
|
|
679
|
+
t[u] = m;
|
|
680
|
+
}
|
|
681
|
+
return t;
|
|
682
|
+
}
|
|
683
|
+
function ee(e, t) {
|
|
684
|
+
if (Ie) {
|
|
685
|
+
let s;
|
|
686
|
+
t && "groupId" in t && (s = t.groupId, delete t.groupId), Ie.addTimelineEvent({
|
|
687
|
+
layerId: "vue-i18n-timeline",
|
|
688
|
+
event: {
|
|
689
|
+
title: e,
|
|
690
|
+
groupId: s,
|
|
691
|
+
time: Date.now(),
|
|
692
|
+
meta: {},
|
|
693
|
+
data: t || {},
|
|
694
|
+
logType: e === "compile-error" ? "error" : e === "fallback" || e === "missing" ? "warning" : "default"
|
|
695
|
+
}
|
|
696
|
+
});
|
|
697
|
+
}
|
|
698
|
+
}
|
|
699
|
+
function Wa(e, t) {
|
|
700
|
+
const s = ct(e.nodeId, t);
|
|
701
|
+
if (s) {
|
|
702
|
+
const [n] = e.path;
|
|
703
|
+
n === "locale" && b(e.state.value) ? s.locale.value = e.state.value : n === "fallbackLocale" && (b(e.state.value) || P(e.state.value) || R(e.state.value)) ? s.fallbackLocale.value = e.state.value : n === "inheritLocale" && N(e.state.value) && (s.inheritLocale = e.state.value);
|
|
704
|
+
}
|
|
705
|
+
}
|
|
706
|
+
function $a(e) {
|
|
707
|
+
const t = b(e.locale) ? e.locale : qe, s = b(e.fallbackLocale) || P(e.fallbackLocale) || F(e.fallbackLocale) || e.fallbackLocale === !1 ? e.fallbackLocale : t, n = $(e.missing) ? e.missing : void 0, a = N(e.silentTranslationWarn) || le(e.silentTranslationWarn) ? !e.silentTranslationWarn : !0, o = N(e.silentFallbackWarn) || le(e.silentFallbackWarn) ? !e.silentFallbackWarn : !0, r = N(e.fallbackRoot) ? e.fallbackRoot : !0, c = !!e.formatFallbackMessages, u = F(e.modifiers) ? e.modifiers : {}, m = e.pluralizationRules, d = $(e.postTranslation) ? e.postTranslation : void 0, f = b(e.warnHtmlInMessage) ? e.warnHtmlInMessage !== "off" : !0, v = !!e.escapeParameterHtml, T = N(e.sync) ? e.sync : !0;
|
|
708
|
+
let O = e.messages;
|
|
709
|
+
if (F(e.sharedMessages)) {
|
|
710
|
+
const Y = e.sharedMessages;
|
|
711
|
+
O = Object.keys(Y).reduce((_, ae) => {
|
|
712
|
+
const me = _[ae] || (_[ae] = {});
|
|
713
|
+
return C(me, Y[ae]), _;
|
|
714
|
+
}, O || {});
|
|
715
|
+
}
|
|
716
|
+
const { __i18n: h, __root: y, __injectWithOption: k } = e, V = e.datetimeFormats, G = e.numberFormats, H = e.flatJson;
|
|
717
|
+
return {
|
|
718
|
+
locale: t,
|
|
719
|
+
fallbackLocale: s,
|
|
720
|
+
messages: O,
|
|
721
|
+
flatJson: H,
|
|
722
|
+
datetimeFormats: V,
|
|
723
|
+
numberFormats: G,
|
|
724
|
+
missing: n,
|
|
725
|
+
missingWarn: a,
|
|
726
|
+
fallbackWarn: o,
|
|
727
|
+
fallbackRoot: r,
|
|
728
|
+
fallbackFormat: c,
|
|
729
|
+
modifiers: u,
|
|
730
|
+
pluralRules: m,
|
|
731
|
+
postTranslation: d,
|
|
732
|
+
warnHtmlMessage: f,
|
|
733
|
+
escapeParameter: v,
|
|
734
|
+
messageResolver: e.messageResolver,
|
|
735
|
+
inheritLocale: T,
|
|
736
|
+
__i18n: h,
|
|
737
|
+
__root: y,
|
|
738
|
+
__injectWithOption: k
|
|
739
|
+
};
|
|
740
|
+
}
|
|
741
|
+
function pe(e = {}) {
|
|
742
|
+
const t = he($a(e)), { __extender: s } = e, n = {
|
|
743
|
+
// id
|
|
744
|
+
id: t.id,
|
|
745
|
+
// locale
|
|
746
|
+
get locale() {
|
|
747
|
+
return t.locale.value;
|
|
748
|
+
},
|
|
749
|
+
set locale(a) {
|
|
750
|
+
t.locale.value = a;
|
|
751
|
+
},
|
|
752
|
+
// fallbackLocale
|
|
753
|
+
get fallbackLocale() {
|
|
754
|
+
return t.fallbackLocale.value;
|
|
755
|
+
},
|
|
756
|
+
set fallbackLocale(a) {
|
|
757
|
+
t.fallbackLocale.value = a;
|
|
758
|
+
},
|
|
759
|
+
// messages
|
|
760
|
+
get messages() {
|
|
761
|
+
return t.messages.value;
|
|
762
|
+
},
|
|
763
|
+
// datetimeFormats
|
|
764
|
+
get datetimeFormats() {
|
|
765
|
+
return t.datetimeFormats.value;
|
|
766
|
+
},
|
|
767
|
+
// numberFormats
|
|
768
|
+
get numberFormats() {
|
|
769
|
+
return t.numberFormats.value;
|
|
770
|
+
},
|
|
771
|
+
// availableLocales
|
|
772
|
+
get availableLocales() {
|
|
773
|
+
return t.availableLocales;
|
|
774
|
+
},
|
|
775
|
+
// missing
|
|
776
|
+
get missing() {
|
|
777
|
+
return t.getMissingHandler();
|
|
778
|
+
},
|
|
779
|
+
set missing(a) {
|
|
780
|
+
t.setMissingHandler(a);
|
|
781
|
+
},
|
|
782
|
+
// silentTranslationWarn
|
|
783
|
+
get silentTranslationWarn() {
|
|
784
|
+
return N(t.missingWarn) ? !t.missingWarn : t.missingWarn;
|
|
785
|
+
},
|
|
786
|
+
set silentTranslationWarn(a) {
|
|
787
|
+
t.missingWarn = N(a) ? !a : a;
|
|
788
|
+
},
|
|
789
|
+
// silentFallbackWarn
|
|
790
|
+
get silentFallbackWarn() {
|
|
791
|
+
return N(t.fallbackWarn) ? !t.fallbackWarn : t.fallbackWarn;
|
|
792
|
+
},
|
|
793
|
+
set silentFallbackWarn(a) {
|
|
794
|
+
t.fallbackWarn = N(a) ? !a : a;
|
|
795
|
+
},
|
|
796
|
+
// modifiers
|
|
797
|
+
get modifiers() {
|
|
798
|
+
return t.modifiers;
|
|
799
|
+
},
|
|
800
|
+
// formatFallbackMessages
|
|
801
|
+
get formatFallbackMessages() {
|
|
802
|
+
return t.fallbackFormat;
|
|
803
|
+
},
|
|
804
|
+
set formatFallbackMessages(a) {
|
|
805
|
+
t.fallbackFormat = a;
|
|
806
|
+
},
|
|
807
|
+
// postTranslation
|
|
808
|
+
get postTranslation() {
|
|
809
|
+
return t.getPostTranslationHandler();
|
|
810
|
+
},
|
|
811
|
+
set postTranslation(a) {
|
|
812
|
+
t.setPostTranslationHandler(a);
|
|
813
|
+
},
|
|
814
|
+
// sync
|
|
815
|
+
get sync() {
|
|
816
|
+
return t.inheritLocale;
|
|
817
|
+
},
|
|
818
|
+
set sync(a) {
|
|
819
|
+
t.inheritLocale = a;
|
|
820
|
+
},
|
|
821
|
+
// warnInHtmlMessage
|
|
822
|
+
get warnHtmlInMessage() {
|
|
823
|
+
return t.warnHtmlMessage ? "warn" : "off";
|
|
824
|
+
},
|
|
825
|
+
set warnHtmlInMessage(a) {
|
|
826
|
+
t.warnHtmlMessage = a !== "off";
|
|
827
|
+
},
|
|
828
|
+
// escapeParameterHtml
|
|
829
|
+
get escapeParameterHtml() {
|
|
830
|
+
return t.escapeParameter;
|
|
831
|
+
},
|
|
832
|
+
set escapeParameterHtml(a) {
|
|
833
|
+
t.escapeParameter = a;
|
|
834
|
+
},
|
|
835
|
+
// pluralizationRules
|
|
836
|
+
get pluralizationRules() {
|
|
837
|
+
return t.pluralRules || {};
|
|
838
|
+
},
|
|
839
|
+
// for internal
|
|
840
|
+
__composer: t,
|
|
841
|
+
// t
|
|
842
|
+
t(...a) {
|
|
843
|
+
return Reflect.apply(t.t, t, [...a]);
|
|
844
|
+
},
|
|
845
|
+
// rt
|
|
846
|
+
rt(...a) {
|
|
847
|
+
return Reflect.apply(t.rt, t, [...a]);
|
|
848
|
+
},
|
|
849
|
+
// te
|
|
850
|
+
te(a, o) {
|
|
851
|
+
return t.te(a, o);
|
|
852
|
+
},
|
|
853
|
+
// tm
|
|
854
|
+
tm(a) {
|
|
855
|
+
return t.tm(a);
|
|
856
|
+
},
|
|
857
|
+
// getLocaleMessage
|
|
858
|
+
getLocaleMessage(a) {
|
|
859
|
+
return t.getLocaleMessage(a);
|
|
860
|
+
},
|
|
861
|
+
// setLocaleMessage
|
|
862
|
+
setLocaleMessage(a, o) {
|
|
863
|
+
t.setLocaleMessage(a, o);
|
|
864
|
+
},
|
|
865
|
+
// mergeLocaleMessage
|
|
866
|
+
mergeLocaleMessage(a, o) {
|
|
867
|
+
t.mergeLocaleMessage(a, o);
|
|
868
|
+
},
|
|
869
|
+
// d
|
|
870
|
+
d(...a) {
|
|
871
|
+
return Reflect.apply(t.d, t, [...a]);
|
|
872
|
+
},
|
|
873
|
+
// getDateTimeFormat
|
|
874
|
+
getDateTimeFormat(a) {
|
|
875
|
+
return t.getDateTimeFormat(a);
|
|
876
|
+
},
|
|
877
|
+
// setDateTimeFormat
|
|
878
|
+
setDateTimeFormat(a, o) {
|
|
879
|
+
t.setDateTimeFormat(a, o);
|
|
880
|
+
},
|
|
881
|
+
// mergeDateTimeFormat
|
|
882
|
+
mergeDateTimeFormat(a, o) {
|
|
883
|
+
t.mergeDateTimeFormat(a, o);
|
|
884
|
+
},
|
|
885
|
+
// n
|
|
886
|
+
n(...a) {
|
|
887
|
+
return Reflect.apply(t.n, t, [...a]);
|
|
888
|
+
},
|
|
889
|
+
// getNumberFormat
|
|
890
|
+
getNumberFormat(a) {
|
|
891
|
+
return t.getNumberFormat(a);
|
|
892
|
+
},
|
|
893
|
+
// setNumberFormat
|
|
894
|
+
setNumberFormat(a, o) {
|
|
895
|
+
t.setNumberFormat(a, o);
|
|
896
|
+
},
|
|
897
|
+
// mergeNumberFormat
|
|
898
|
+
mergeNumberFormat(a, o) {
|
|
899
|
+
t.mergeNumberFormat(a, o);
|
|
900
|
+
}
|
|
901
|
+
};
|
|
902
|
+
return n.__extender = s, process.env.NODE_ENV !== "production" && (n.__enableEmitter = (a) => {
|
|
903
|
+
const o = t;
|
|
904
|
+
o[w] && o[w](a);
|
|
905
|
+
}, n.__disableEmitter = () => {
|
|
906
|
+
const a = t;
|
|
907
|
+
a[Q] && a[Q]();
|
|
908
|
+
}), n;
|
|
909
|
+
}
|
|
910
|
+
function wa(e, t, s) {
|
|
911
|
+
return {
|
|
912
|
+
beforeCreate() {
|
|
913
|
+
const n = q();
|
|
914
|
+
if (!n)
|
|
915
|
+
throw L(E.UNEXPECTED_ERROR);
|
|
916
|
+
const a = this.$options;
|
|
917
|
+
if (a.i18n) {
|
|
918
|
+
const o = a.i18n;
|
|
919
|
+
if (a.__i18n && (o.__i18n = a.__i18n), o.__root = t, this === this.$root)
|
|
920
|
+
this.$i18n = Xe(e, o);
|
|
921
|
+
else {
|
|
922
|
+
o.__injectWithOption = !0, o.__extender = s.__vueI18nExtend, this.$i18n = pe(o);
|
|
923
|
+
const r = this.$i18n;
|
|
924
|
+
r.__extender && (r.__disposer = r.__extender(this.$i18n));
|
|
925
|
+
}
|
|
926
|
+
} else if (a.__i18n)
|
|
927
|
+
if (this === this.$root)
|
|
928
|
+
this.$i18n = Xe(e, a);
|
|
929
|
+
else {
|
|
930
|
+
this.$i18n = pe({
|
|
931
|
+
__i18n: a.__i18n,
|
|
932
|
+
__injectWithOption: !0,
|
|
933
|
+
__extender: s.__vueI18nExtend,
|
|
934
|
+
__root: t
|
|
935
|
+
});
|
|
936
|
+
const o = this.$i18n;
|
|
937
|
+
o.__extender && (o.__disposer = o.__extender(this.$i18n));
|
|
938
|
+
}
|
|
939
|
+
else
|
|
940
|
+
this.$i18n = e;
|
|
941
|
+
a.__i18nGlobal && rt(t, a, a), this.$t = (...o) => this.$i18n.t(...o), this.$rt = (...o) => this.$i18n.rt(...o), this.$te = (o, r) => this.$i18n.te(o, r), this.$d = (...o) => this.$i18n.d(...o), this.$n = (...o) => this.$i18n.n(...o), this.$tm = (o) => this.$i18n.tm(o), s.__setInstance(n, this.$i18n);
|
|
942
|
+
},
|
|
943
|
+
mounted() {
|
|
944
|
+
if (process.env.NODE_ENV !== "production" && this.$el && this.$i18n) {
|
|
945
|
+
const n = this.$i18n;
|
|
946
|
+
this.$el.__VUE_I18N__ = n.__composer;
|
|
947
|
+
const a = this.__v_emitter = Ne();
|
|
948
|
+
n.__enableEmitter && n.__enableEmitter(a), a.on("*", ee);
|
|
949
|
+
}
|
|
950
|
+
},
|
|
951
|
+
unmounted() {
|
|
952
|
+
const n = q();
|
|
953
|
+
if (!n)
|
|
954
|
+
throw L(E.UNEXPECTED_ERROR);
|
|
955
|
+
const a = this.$i18n;
|
|
956
|
+
process.env.NODE_ENV !== "production" && this.$el && this.$el.__VUE_I18N__ && (this.__v_emitter && (this.__v_emitter.off("*", ee), delete this.__v_emitter), this.$i18n && (a.__disableEmitter && a.__disableEmitter(), delete this.$el.__VUE_I18N__)), delete this.$t, delete this.$rt, delete this.$te, delete this.$d, delete this.$n, delete this.$tm, a.__disposer && (a.__disposer(), delete a.__disposer, delete a.__extender), s.__deleteInstance(n), delete this.$i18n;
|
|
957
|
+
}
|
|
958
|
+
};
|
|
959
|
+
}
|
|
960
|
+
function Xe(e, t) {
|
|
961
|
+
e.locale = t.locale || e.locale, e.fallbackLocale = t.fallbackLocale || e.fallbackLocale, e.missing = t.missing || e.missing, e.silentTranslationWarn = t.silentTranslationWarn || e.silentFallbackWarn, e.silentFallbackWarn = t.silentFallbackWarn || e.silentFallbackWarn, e.formatFallbackMessages = t.formatFallbackMessages || e.formatFallbackMessages, e.postTranslation = t.postTranslation || e.postTranslation, e.warnHtmlInMessage = t.warnHtmlInMessage || e.warnHtmlInMessage, e.escapeParameterHtml = t.escapeParameterHtml || e.escapeParameterHtml, e.sync = t.sync || e.sync, e.__composer[nt](t.pluralizationRules || e.pluralizationRules);
|
|
962
|
+
const s = Oe(e.locale, {
|
|
963
|
+
messages: t.messages,
|
|
964
|
+
__i18n: t.__i18n
|
|
965
|
+
});
|
|
966
|
+
return Object.keys(s).forEach((n) => e.mergeLocaleMessage(n, s[n])), t.datetimeFormats && Object.keys(t.datetimeFormats).forEach((n) => e.mergeDateTimeFormat(n, t.datetimeFormats[n])), t.numberFormats && Object.keys(t.numberFormats).forEach((n) => e.mergeNumberFormat(n, t.numberFormats[n])), e;
|
|
967
|
+
}
|
|
968
|
+
const Re = {
|
|
969
|
+
tag: {
|
|
970
|
+
type: [String, Object]
|
|
971
|
+
},
|
|
972
|
+
locale: {
|
|
973
|
+
type: String
|
|
974
|
+
},
|
|
975
|
+
scope: {
|
|
976
|
+
type: String,
|
|
977
|
+
// NOTE: avoid https://github.com/microsoft/rushstack/issues/1050
|
|
978
|
+
validator: (e) => e === "parent" || e === "global",
|
|
979
|
+
default: "parent"
|
|
980
|
+
/* ComponentI18nScope */
|
|
981
|
+
},
|
|
982
|
+
i18n: {
|
|
983
|
+
type: Object
|
|
984
|
+
}
|
|
985
|
+
};
|
|
986
|
+
function xa({ slots: e }, t) {
|
|
987
|
+
return t.length === 1 && t[0] === "default" ? (e.default ? e.default() : []).reduce((n, a) => [
|
|
988
|
+
...n,
|
|
989
|
+
// prettier-ignore
|
|
990
|
+
...a.type === tt ? a.children : [a]
|
|
991
|
+
], []) : t.reduce((s, n) => {
|
|
992
|
+
const a = e[n];
|
|
993
|
+
return a && (s[n] = a()), s;
|
|
994
|
+
}, A());
|
|
995
|
+
}
|
|
996
|
+
function _t() {
|
|
997
|
+
return tt;
|
|
998
|
+
}
|
|
999
|
+
const Ga = /* @__PURE__ */ Le({
|
|
1000
|
+
/* eslint-disable */
|
|
1001
|
+
name: "i18n-t",
|
|
1002
|
+
props: C({
|
|
1003
|
+
keypath: {
|
|
1004
|
+
type: String,
|
|
1005
|
+
required: !0
|
|
1006
|
+
},
|
|
1007
|
+
plural: {
|
|
1008
|
+
type: [Number, String],
|
|
1009
|
+
validator: (e) => z(e) || !isNaN(e)
|
|
1010
|
+
}
|
|
1011
|
+
}, Re),
|
|
1012
|
+
/* eslint-enable */
|
|
1013
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
1014
|
+
setup(e, t) {
|
|
1015
|
+
const { slots: s, attrs: n } = t, a = e.i18n || ue({
|
|
1016
|
+
useScope: e.scope,
|
|
1017
|
+
__useComponent: !0
|
|
1018
|
+
});
|
|
1019
|
+
return () => {
|
|
1020
|
+
const o = Object.keys(s).filter((f) => f[0] !== "_"), r = A();
|
|
1021
|
+
e.locale && (r.locale = e.locale), e.plural !== void 0 && (r.plural = b(e.plural) ? +e.plural : e.plural);
|
|
1022
|
+
const c = xa(t, o), u = a[Ee](e.keypath, c, r), m = C(A(), n), d = b(e.tag) || R(e.tag) ? e.tag : _t();
|
|
1023
|
+
return et(d, m, u);
|
|
1024
|
+
};
|
|
1025
|
+
}
|
|
1026
|
+
}), ie = Ga, Ha = ie;
|
|
1027
|
+
function Ya(e) {
|
|
1028
|
+
return P(e) && !b(e[0]);
|
|
1029
|
+
}
|
|
1030
|
+
function ut(e, t, s, n) {
|
|
1031
|
+
const { slots: a, attrs: o } = t;
|
|
1032
|
+
return () => {
|
|
1033
|
+
const r = { part: !0 };
|
|
1034
|
+
let c = A();
|
|
1035
|
+
e.locale && (r.locale = e.locale), b(e.format) ? r.key = e.format : R(e.format) && (b(e.format.key) && (r.key = e.format.key), c = Object.keys(e.format).reduce((v, T) => s.includes(T) ? C(A(), v, { [T]: e.format[T] }) : v, A()));
|
|
1036
|
+
const u = n(e.value, r, c);
|
|
1037
|
+
let m = [r.key];
|
|
1038
|
+
P(u) ? m = u.map((v, T) => {
|
|
1039
|
+
const O = a[v.type], h = O ? O({ [v.type]: v.value, index: T, parts: u }) : [v.value];
|
|
1040
|
+
return Ya(h) && (h[0].key = `${v.type}-${T}`), h;
|
|
1041
|
+
}) : b(u) && (m = [u]);
|
|
1042
|
+
const d = C(A(), o), f = b(e.tag) || R(e.tag) ? e.tag : _t();
|
|
1043
|
+
return et(f, d, m);
|
|
1044
|
+
};
|
|
1045
|
+
}
|
|
1046
|
+
const ja = /* @__PURE__ */ Le({
|
|
1047
|
+
/* eslint-disable */
|
|
1048
|
+
name: "i18n-n",
|
|
1049
|
+
props: C({
|
|
1050
|
+
value: {
|
|
1051
|
+
type: Number,
|
|
1052
|
+
required: !0
|
|
1053
|
+
},
|
|
1054
|
+
format: {
|
|
1055
|
+
type: [String, Object]
|
|
1056
|
+
}
|
|
1057
|
+
}, Re),
|
|
1058
|
+
/* eslint-enable */
|
|
1059
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
1060
|
+
setup(e, t) {
|
|
1061
|
+
const s = e.i18n || ue({
|
|
1062
|
+
useScope: e.scope,
|
|
1063
|
+
__useComponent: !0
|
|
1064
|
+
});
|
|
1065
|
+
return ut(e, t, ea, (...n) => (
|
|
1066
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
1067
|
+
s[be](...n)
|
|
1068
|
+
));
|
|
1069
|
+
}
|
|
1070
|
+
}), ce = ja, Ba = ce;
|
|
1071
|
+
function Xa(e, t) {
|
|
1072
|
+
const s = e;
|
|
1073
|
+
if (e.mode === "composition")
|
|
1074
|
+
return s.__getInstance(t) || e.global;
|
|
1075
|
+
{
|
|
1076
|
+
const n = s.__getInstance(t);
|
|
1077
|
+
return n != null ? n.__composer : e.global.__composer;
|
|
1078
|
+
}
|
|
1079
|
+
}
|
|
1080
|
+
function mt(e) {
|
|
1081
|
+
const t = (r) => {
|
|
1082
|
+
process.env.NODE_ENV !== "production" && Ze(te(D.DEPRECATE_TRANSLATE_CUSTOME_DIRECTIVE));
|
|
1083
|
+
const { instance: c, value: u } = r;
|
|
1084
|
+
if (!c || !c.$)
|
|
1085
|
+
throw L(E.UNEXPECTED_ERROR);
|
|
1086
|
+
const m = Xa(e, c.$), d = Je(u);
|
|
1087
|
+
return [
|
|
1088
|
+
Reflect.apply(m.t, m, [...Ke(d)]),
|
|
1089
|
+
m
|
|
1090
|
+
];
|
|
1091
|
+
};
|
|
1092
|
+
return {
|
|
1093
|
+
created: (r, c) => {
|
|
1094
|
+
const [u, m] = t(c);
|
|
1095
|
+
re && e.global === m && (r.__i18nWatcher = ge(m.locale, () => {
|
|
1096
|
+
c.instance && c.instance.$forceUpdate();
|
|
1097
|
+
})), r.__composer = m, r.textContent = u;
|
|
1098
|
+
},
|
|
1099
|
+
unmounted: (r) => {
|
|
1100
|
+
re && r.__i18nWatcher && (r.__i18nWatcher(), r.__i18nWatcher = void 0, delete r.__i18nWatcher), r.__composer && (r.__composer = void 0, delete r.__composer);
|
|
1101
|
+
},
|
|
1102
|
+
beforeUpdate: (r, { value: c }) => {
|
|
1103
|
+
if (r.__composer) {
|
|
1104
|
+
const u = r.__composer, m = Je(c);
|
|
1105
|
+
r.textContent = Reflect.apply(u.t, u, [
|
|
1106
|
+
...Ke(m)
|
|
1107
|
+
]);
|
|
1108
|
+
}
|
|
1109
|
+
},
|
|
1110
|
+
getSSRProps: (r) => {
|
|
1111
|
+
const [c] = t(r);
|
|
1112
|
+
return { textContent: c };
|
|
1113
|
+
}
|
|
1114
|
+
};
|
|
1115
|
+
}
|
|
1116
|
+
function Je(e) {
|
|
1117
|
+
if (b(e))
|
|
1118
|
+
return { path: e };
|
|
1119
|
+
if (F(e)) {
|
|
1120
|
+
if (!("path" in e))
|
|
1121
|
+
throw L(E.REQUIRED_VALUE, "path");
|
|
1122
|
+
return e;
|
|
1123
|
+
} else
|
|
1124
|
+
throw L(E.INVALID_VALUE);
|
|
1125
|
+
}
|
|
1126
|
+
function Ke(e) {
|
|
1127
|
+
const { path: t, locale: s, args: n, choice: a, plural: o } = e, r = {}, c = n || {};
|
|
1128
|
+
return b(s) && (r.locale = s), z(a) && (r.plural = a), z(o) && (r.plural = o), [t, c, r];
|
|
1129
|
+
}
|
|
1130
|
+
function Ja(e, t, ...s) {
|
|
1131
|
+
const n = F(s[0]) ? s[0] : {};
|
|
1132
|
+
(N(n.globalInstall) ? n.globalInstall : !0) && ([ie.name, "I18nT"].forEach((o) => e.component(o, ie)), [ce.name, "I18nN"].forEach((o) => e.component(o, ce)), [_e.name, "I18nD"].forEach((o) => e.component(o, _e))), e.directive("t", mt(t));
|
|
1133
|
+
}
|
|
1134
|
+
const ft = /* @__PURE__ */ S("global-vue-i18n");
|
|
1135
|
+
function Ka(e = {}) {
|
|
1136
|
+
const t = __VUE_I18N_LEGACY_API__ && N(e.legacy) ? e.legacy : __VUE_I18N_LEGACY_API__;
|
|
1137
|
+
process.env.NODE_ENV !== "production" && t && Ze(te(D.DEPRECATE_LEGACY_MODE));
|
|
1138
|
+
const s = N(e.globalInjection) ? e.globalInjection : !0, n = /* @__PURE__ */ new Map(), [a, o] = za(e, t), r = /* @__PURE__ */ S(process.env.NODE_ENV !== "production" ? "vue-i18n" : "");
|
|
1139
|
+
function c(f) {
|
|
1140
|
+
return n.get(f) || null;
|
|
1141
|
+
}
|
|
1142
|
+
function u(f, v) {
|
|
1143
|
+
n.set(f, v);
|
|
1144
|
+
}
|
|
1145
|
+
function m(f) {
|
|
1146
|
+
n.delete(f);
|
|
1147
|
+
}
|
|
1148
|
+
const d = {
|
|
1149
|
+
// mode
|
|
1150
|
+
get mode() {
|
|
1151
|
+
return __VUE_I18N_LEGACY_API__ && t ? "legacy" : "composition";
|
|
1152
|
+
},
|
|
1153
|
+
// install plugin
|
|
1154
|
+
async install(f, ...v) {
|
|
1155
|
+
if (process.env.NODE_ENV !== "production" && (f.__VUE_I18N__ = d), f.__VUE_I18N_SYMBOL__ = r, f.provide(f.__VUE_I18N_SYMBOL__, d), F(v[0])) {
|
|
1156
|
+
const h = v[0];
|
|
1157
|
+
d.__composerExtend = h.__composerExtend, d.__vueI18nExtend = h.__vueI18nExtend;
|
|
1158
|
+
}
|
|
1159
|
+
let T = null;
|
|
1160
|
+
!t && s && (T = sn(f, d.global)), __VUE_I18N_FULL_INSTALL__ && Ja(f, d, ...v), __VUE_I18N_LEGACY_API__ && t && f.mixin(wa(o, o.__composer, d));
|
|
1161
|
+
const O = f.unmount;
|
|
1162
|
+
if (f.unmount = () => {
|
|
1163
|
+
T && T(), d.dispose(), O();
|
|
1164
|
+
}, process.env.NODE_ENV !== "production") {
|
|
1165
|
+
if (!await ka(f, d))
|
|
1166
|
+
throw L(E.CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN);
|
|
1167
|
+
const y = Ne();
|
|
1168
|
+
if (t) {
|
|
1169
|
+
const k = o;
|
|
1170
|
+
k.__enableEmitter && k.__enableEmitter(y);
|
|
1171
|
+
} else {
|
|
1172
|
+
const k = o;
|
|
1173
|
+
k[w] && k[w](y);
|
|
1174
|
+
}
|
|
1175
|
+
y.on("*", ee);
|
|
1176
|
+
}
|
|
1177
|
+
},
|
|
1178
|
+
// global accessor
|
|
1179
|
+
get global() {
|
|
1180
|
+
return o;
|
|
1181
|
+
},
|
|
1182
|
+
dispose() {
|
|
1183
|
+
a.stop();
|
|
1184
|
+
},
|
|
1185
|
+
// @internal
|
|
1186
|
+
__instances: n,
|
|
1187
|
+
// @internal
|
|
1188
|
+
__getInstance: c,
|
|
1189
|
+
// @internal
|
|
1190
|
+
__setInstance: u,
|
|
1191
|
+
// @internal
|
|
1192
|
+
__deleteInstance: m
|
|
1193
|
+
};
|
|
1194
|
+
return d;
|
|
1195
|
+
}
|
|
1196
|
+
function ue(e = {}) {
|
|
1197
|
+
const t = q();
|
|
1198
|
+
if (t == null)
|
|
1199
|
+
throw L(E.MUST_BE_CALL_SETUP_TOP);
|
|
1200
|
+
if (!t.isCE && t.appContext.app != null && !t.appContext.app.__VUE_I18N_SYMBOL__)
|
|
1201
|
+
throw L(E.NOT_INSTALLED);
|
|
1202
|
+
const s = qa(t), n = Za(s), a = lt(t), o = Qa(e, a);
|
|
1203
|
+
if (o === "global")
|
|
1204
|
+
return rt(n, e, a), n;
|
|
1205
|
+
if (o === "parent") {
|
|
1206
|
+
let u = en(s, t, e.__useComponent);
|
|
1207
|
+
return u == null && (process.env.NODE_ENV !== "production" && Te(te(D.NOT_FOUND_PARENT_SCOPE)), u = n), u;
|
|
1208
|
+
}
|
|
1209
|
+
const r = s;
|
|
1210
|
+
let c = r.__getInstance(t);
|
|
1211
|
+
if (c == null) {
|
|
1212
|
+
const u = C({}, e);
|
|
1213
|
+
"__i18n" in a && (u.__i18n = a.__i18n), n && (u.__root = n), c = he(u), r.__composerExtend && (c[ve] = r.__composerExtend(c)), an(r, t, c), r.__setInstance(t, c);
|
|
1214
|
+
} else if (process.env.NODE_ENV !== "production" && o === "local")
|
|
1215
|
+
throw L(E.DUPLICATE_USE_I18N_CALLING);
|
|
1216
|
+
return c;
|
|
1217
|
+
}
|
|
1218
|
+
function za(e, t) {
|
|
1219
|
+
const s = _a(), n = __VUE_I18N_LEGACY_API__ && t ? s.run(() => pe(e)) : s.run(() => he(e));
|
|
1220
|
+
if (n == null)
|
|
1221
|
+
throw L(E.UNEXPECTED_ERROR);
|
|
1222
|
+
return [s, n];
|
|
1223
|
+
}
|
|
1224
|
+
function qa(e) {
|
|
1225
|
+
const t = ga(e.isCE ? ft : e.appContext.app.__VUE_I18N_SYMBOL__);
|
|
1226
|
+
if (!t)
|
|
1227
|
+
throw L(e.isCE ? E.NOT_INSTALLED_WITH_PROVIDE : E.UNEXPECTED_ERROR);
|
|
1228
|
+
return t;
|
|
1229
|
+
}
|
|
1230
|
+
function Qa(e, t) {
|
|
1231
|
+
return ca(e) ? "__i18n" in t ? "local" : "global" : e.useScope ? e.useScope : "local";
|
|
1232
|
+
}
|
|
1233
|
+
function Za(e) {
|
|
1234
|
+
return e.mode === "composition" ? e.global : e.global.__composer;
|
|
1235
|
+
}
|
|
1236
|
+
function en(e, t, s = !1) {
|
|
1237
|
+
let n = null;
|
|
1238
|
+
const a = t.root;
|
|
1239
|
+
let o = tn(t, s);
|
|
1240
|
+
for (; o != null; ) {
|
|
1241
|
+
const r = e;
|
|
1242
|
+
if (e.mode === "composition")
|
|
1243
|
+
n = r.__getInstance(o);
|
|
1244
|
+
else if (__VUE_I18N_LEGACY_API__) {
|
|
1245
|
+
const c = r.__getInstance(o);
|
|
1246
|
+
c != null && (n = c.__composer, s && n && !n[st] && (n = null));
|
|
1247
|
+
}
|
|
1248
|
+
if (n != null || a === o)
|
|
1249
|
+
break;
|
|
1250
|
+
o = o.parent;
|
|
1251
|
+
}
|
|
1252
|
+
return n;
|
|
1253
|
+
}
|
|
1254
|
+
function tn(e, t = !1) {
|
|
1255
|
+
return e == null ? null : t && e.vnode.ctx || e.parent;
|
|
1256
|
+
}
|
|
1257
|
+
function an(e, t, s) {
|
|
1258
|
+
let n = null;
|
|
1259
|
+
Ea(() => {
|
|
1260
|
+
if (process.env.NODE_ENV !== "production" && t.vnode.el) {
|
|
1261
|
+
t.vnode.el.__VUE_I18N__ = s, n = Ne();
|
|
1262
|
+
const a = s;
|
|
1263
|
+
a[w] && a[w](n), n.on("*", ee);
|
|
1264
|
+
}
|
|
1265
|
+
}, t), da(() => {
|
|
1266
|
+
const a = s;
|
|
1267
|
+
process.env.NODE_ENV !== "production" && t.vnode.el && t.vnode.el.__VUE_I18N__ && (n && n.off("*", ee), a[Q] && a[Q](), delete t.vnode.el.__VUE_I18N__), e.__deleteInstance(t);
|
|
1268
|
+
const o = a[ve];
|
|
1269
|
+
o && (o(), delete a[ve]);
|
|
1270
|
+
}, t);
|
|
1271
|
+
}
|
|
1272
|
+
const nn = [
|
|
1273
|
+
"locale",
|
|
1274
|
+
"fallbackLocale",
|
|
1275
|
+
"availableLocales"
|
|
1276
|
+
], ze = ["t", "rt", "d", "n", "tm", "te"];
|
|
1277
|
+
function sn(e, t) {
|
|
1278
|
+
const s = /* @__PURE__ */ Object.create(null);
|
|
1279
|
+
return nn.forEach((a) => {
|
|
1280
|
+
const o = Object.getOwnPropertyDescriptor(t, a);
|
|
1281
|
+
if (!o)
|
|
1282
|
+
throw L(E.UNEXPECTED_ERROR);
|
|
1283
|
+
const r = fa(o.value) ? {
|
|
1284
|
+
get() {
|
|
1285
|
+
return o.value.value;
|
|
1286
|
+
},
|
|
1287
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
1288
|
+
set(c) {
|
|
1289
|
+
o.value.value = c;
|
|
1290
|
+
}
|
|
1291
|
+
} : {
|
|
1292
|
+
get() {
|
|
1293
|
+
return o.get && o.get();
|
|
1294
|
+
}
|
|
1295
|
+
};
|
|
1296
|
+
Object.defineProperty(s, a, r);
|
|
1297
|
+
}), e.config.globalProperties.$i18n = s, ze.forEach((a) => {
|
|
1298
|
+
const o = Object.getOwnPropertyDescriptor(t, a);
|
|
1299
|
+
if (!o || !o.value)
|
|
1300
|
+
throw L(E.UNEXPECTED_ERROR);
|
|
1301
|
+
Object.defineProperty(e.config.globalProperties, `$${a}`, o);
|
|
1302
|
+
}), () => {
|
|
1303
|
+
delete e.config.globalProperties.$i18n, ze.forEach((a) => {
|
|
1304
|
+
delete e.config.globalProperties[`$${a}`];
|
|
1305
|
+
});
|
|
1306
|
+
};
|
|
1307
|
+
}
|
|
1308
|
+
const ln = /* @__PURE__ */ Le({
|
|
1309
|
+
/* eslint-disable */
|
|
1310
|
+
name: "i18n-d",
|
|
1311
|
+
props: C({
|
|
1312
|
+
value: {
|
|
1313
|
+
type: [Number, Date],
|
|
1314
|
+
required: !0
|
|
1315
|
+
},
|
|
1316
|
+
format: {
|
|
1317
|
+
type: [String, Object]
|
|
1318
|
+
}
|
|
1319
|
+
}, Re),
|
|
1320
|
+
/* eslint-enable */
|
|
1321
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
1322
|
+
setup(e, t) {
|
|
1323
|
+
const s = e.i18n || ue({
|
|
1324
|
+
useScope: e.scope,
|
|
1325
|
+
__useComponent: !0
|
|
1326
|
+
});
|
|
1327
|
+
return ut(e, t, ta, (...n) => (
|
|
1328
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
1329
|
+
s[de](...n)
|
|
1330
|
+
));
|
|
1331
|
+
}
|
|
1332
|
+
}), _e = ln, rn = _e;
|
|
1333
|
+
Na();
|
|
1334
|
+
aa(la);
|
|
1335
|
+
na(ra);
|
|
1336
|
+
sa(Qe);
|
|
1337
|
+
if (process.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__) {
|
|
1338
|
+
const e = J();
|
|
1339
|
+
e.__INTLIFY__ = !0, oa(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__);
|
|
1340
|
+
}
|
|
1341
|
+
const gn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1342
|
+
__proto__: null,
|
|
1343
|
+
DatetimeFormat: _e,
|
|
1344
|
+
I18nD: rn,
|
|
1345
|
+
I18nInjectionKey: ft,
|
|
1346
|
+
I18nN: Ba,
|
|
1347
|
+
I18nT: Ha,
|
|
1348
|
+
NumberFormat: ce,
|
|
1349
|
+
Translation: ie,
|
|
1350
|
+
VERSION: at,
|
|
1351
|
+
createI18n: Ka,
|
|
1352
|
+
useI18n: ue,
|
|
1353
|
+
vTDirective: mt
|
|
1354
|
+
}, Symbol.toStringTag, { value: "Module" }));
|
|
1355
|
+
export {
|
|
1356
|
+
gn as V,
|
|
1357
|
+
Ka as c,
|
|
1358
|
+
ue as u
|
|
1359
|
+
};
|