@nxgt/material-vue 0.22.0 → 0.23.0
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/README.md +14 -1
- package/dist/{Button-pivhf0dI.js → Button-DcFHQ3oH.js} +2 -2
- package/dist/{DropdownMenuTrigger-CN8_B7pW.js → DropdownMenuTrigger-BHAhXGUO.js} +1 -1
- package/dist/{HoverCardTrigger-yygLSc07.js → HoverCardTrigger-D99aHKDX.js} +56 -85
- package/dist/{_Uint8Array-DT-6Im9e.js → _Uint8Array-2hFHkjYD.js} +20 -20
- package/dist/{_baseIsEqual-DO9tjdtt.js → _baseIsEqual-BUD8VQJE.js} +22 -22
- package/dist/{_defineProperty-BlaaM_1a.js → _defineProperty-C606G0Re.js} +2 -2
- package/dist/{_initCloneObject-BSldCT0L.js → _initCloneObject-D3WSYU-D.js} +15 -15
- package/dist/{abnfDiagram-O67JEVCF-Cl_I9xuI.js → abnfDiagram-O67JEVCF-zi427H-1.js} +8 -8
- package/dist/{arc-DNNg1pxp.js → arc-BVFnqPx6.js} +3 -3
- package/dist/architecture-7GRP2DOG-CMg7-eYj.js +3 -0
- package/dist/{architectureDiagram-NJMV4G6O-CVS4UUCi.js → architectureDiagram-NJMV4G6O-HNmyjC6R.js} +11 -11
- package/dist/{blockDiagram-BEXU5L5S-BsSbtJ0q.js → blockDiagram-BEXU5L5S-TXcaNPiA.js} +18 -18
- package/dist/{c4Diagram-YGBWAQC7-B6jKsl3h.js → c4Diagram-YGBWAQC7-DB1KwkmW.js} +10 -10
- package/dist/{camera-DquOJeHc.js → camera-C7V5U_xH.js} +11 -11
- package/dist/channel-B8wKCSzH.js +5 -0
- package/dist/{chunk-2Q5K7J3B-kzxEEeTu.js → chunk-2Q5K7J3B-C1pX24ft.js} +2 -2
- package/dist/{chunk-3FUC2YCW-BjAQA8CW.js → chunk-3FUC2YCW-Bw4AJEzl.js} +11 -11
- package/dist/{chunk-5DYCD2WN-B9vjeX2u.js → chunk-5DYCD2WN-4BDKWc4g.js} +5 -5
- package/dist/{chunk-5VM5RSS4-Cr17nBXp.js → chunk-5VM5RSS4-BFskf6Qk.js} +2 -2
- package/dist/{chunk-6AEJRKK7-D9IaQdwq.js → chunk-6AEJRKK7-D1W4b1Ir.js} +4 -4
- package/dist/{chunk-742MDFTN-BIhVe9GR.js → chunk-742MDFTN-Bh_u1X2k.js} +14 -14
- package/dist/{chunk-7INBJB4K-CwPgdc2G.js → chunk-7INBJB4K-OheKRjIZ.js} +10 -10
- package/dist/{chunk-7M6MHVWA-B6VDnhvE.js → chunk-7M6MHVWA-wgE1MsQ9.js} +14 -14
- package/dist/{chunk-7PRAP22T-CofnNOEr.js → chunk-7PRAP22T-CZmOrCLD.js} +3 -3
- package/dist/{chunk-DUW6YSOI-BdOla2G8.js → chunk-DUW6YSOI-9R-v-IIp.js} +2 -2
- package/dist/{chunk-FOHPRMQF-Crq0JMf2.js → chunk-FOHPRMQF-DBc3Omt0.js} +1 -1
- package/dist/{chunk-GNY47TPC-c_sooZ3L.js → chunk-GNY47TPC-BByCj-tp.js} +14 -14
- package/dist/{chunk-GTNCS2PH-BR0O70z_.js → chunk-GTNCS2PH--PxF9Mrf.js} +5 -5
- package/dist/{chunk-GWA4HPMP-DU9lUCZD.js → chunk-GWA4HPMP-hjyItnXu.js} +5 -5
- package/dist/{chunk-J5ZVWO5B-CYzz6Pq8.js → chunk-J5ZVWO5B-DmRRmhon.js} +2 -2
- package/dist/{chunk-JWPE2WC7-Ccb0QaC8.js → chunk-JWPE2WC7-BGVSGRTC.js} +2 -2
- package/dist/{chunk-LNGE3PJU-CiGrDO_F.js → chunk-LNGE3PJU-DJjGTS7O.js} +2 -2
- package/dist/{chunk-MBY4JIJT-HYVRUG_P.js → chunk-MBY4JIJT-ODeZ1ugd.js} +8 -8
- package/dist/{chunk-NETBCI7D-C8amwD_P.js → chunk-NETBCI7D-B_M68PfO.js} +3 -3
- package/dist/{chunk-O7XYJQB3-WMQqqzRb.js → chunk-O7XYJQB3-BDucxjeL.js} +5 -5
- package/dist/{chunk-UA2S7LBM-DtBatid7.js → chunk-UA2S7LBM-DN55-gzN.js} +10 -10
- package/dist/{chunk-WEXAMYUT-Cc10h8ed.js → chunk-WEXAMYUT-DufdZ2tS.js} +4 -4
- package/dist/{chunk-XXDRQBXY-B2pGFcse.js → chunk-XXDRQBXY-B9ckANit.js} +3 -3
- package/dist/{chunk-Y2CYZVJY-i11wjrBe.js → chunk-Y2CYZVJY-BAad7w_K.js} +1 -1
- package/dist/{chunk-Z7XXMR3K-CJmsOGTV.js → chunk-Z7XXMR3K-DdnrI6vA.js} +11 -11
- package/dist/{chunk-ZIGJFQKS-DBdWb0bj.js → chunk-ZIGJFQKS-JoSqKBE3.js} +44 -44
- package/dist/{classDiagram-v2-NBCMYWYE-BTeb-Duf.js → classDiagram-v2-NBCMYWYE-LDc3yyTu.js} +18 -18
- package/dist/{cloneDeep-Gp-zHISG.js → cloneDeep-Cv9TF8j3.js} +20 -20
- package/dist/{components-Bwxq-DLd.js → components-BSnW1NZK.js} +9731 -9766
- package/dist/components.js +8 -11
- package/dist/composables.js +13 -13
- package/dist/{cose-bilkent-JH36ORCC-DStMi-eo.js → cose-bilkent-JH36ORCC-DMu3MtOq.js} +4 -4
- package/dist/cynefin-OW5HDTMX-BGe4AjUw.js +3 -0
- package/dist/{cynefinDiagram-VND7K2PF-0Mq0e5NQ.js → cynefinDiagram-VND7K2PF-D5sBaWLI.js} +8 -8
- package/dist/{cytoscape.esm-_jXi1N4y.js → cytoscape.esm-DXVRLXF3.js} +1 -1
- package/dist/{dagre-6A5THRUB-DjL-7QUw.js → dagre-6A5THRUB-CCigPI-W.js} +91 -91
- package/dist/{defaultLocale-DnzPsei5.js → defaultLocale-DQ8-aLi9.js} +12 -12
- package/dist/{diagram-22UHCM2B-BZRVXHfN.js → diagram-22UHCM2B-vav-BOss.js} +20 -20
- package/dist/{diagram-3UASUU5V-BznCZHss.js → diagram-3UASUU5V-CqXTP2Mz.js} +33 -33
- package/dist/{diagram-ATOU4E4O-DtIUxSAn.js → diagram-ATOU4E4O-Cgp2M2t6.js} +8 -8
- package/dist/{diagram-CDSNMT55-DOjN3BR2.js → diagram-CDSNMT55-Cn6ZdED_.js} +10 -10
- package/dist/{diagram-MLGK6HIB-Dx2UboD6.js → diagram-MLGK6HIB-BRXHWpn7.js} +8 -8
- package/dist/{diagram-MPIPVDR6-DnPL3RV0.js → diagram-MPIPVDR6-bi_zEJWx.js} +8 -8
- package/dist/{dist-D9zvfe2i.js → dist-Dt_YNX2O.js} +2 -2
- package/dist/dnd.js +1 -1
- package/dist/{ebnfDiagram-ZINNZB2B-BNbxCL0b.js → ebnfDiagram-ZINNZB2B-C5aSFX4G.js} +8 -8
- package/dist/{elk-276RUBZZ-Dk9afnNr.js → elk-276RUBZZ-BJJUfdzz.js} +14 -14
- package/dist/{erDiagram-OPXOYQCR-CbcJosNF.js → erDiagram-OPXOYQCR-BV3UGLoQ.js} +17 -17
- package/dist/{es-BuwtGDrj.js → es-DHDGcYW_.js} +8 -8
- package/dist/eventmodeling-NTZA5JFV-38h1xeNf.js +3 -0
- package/dist/flowDiagram-KWPJA3E3-B3AfwLQk.js +17 -0
- package/dist/{ganttDiagram-FUAMR5RP-64EZDDmC.js → ganttDiagram-FUAMR5RP-Vt6mFjaq.js} +28 -28
- package/dist/{get-Bo6bWpt-.js → get-CTzJAwfc.js} +47 -47
- package/dist/gitGraph-4MIJSDKK-C-5NH3Jx.js +3 -0
- package/dist/{gitGraphDiagram-X574FWY7-DmMMrp5A.js → gitGraphDiagram-X574FWY7-CE4Fp_CC.js} +8 -8
- package/dist/{graphlib-rFZlNaRl.js → graphlib-DQVPat8q.js} +42 -42
- package/dist/i18n.js +3 -3
- package/dist/{icon-button-BLvgnEFO.js → icon-button-DnjboAtZ.js} +2 -2
- package/dist/{image-cropper-canvas-BBPB5AKG.js → image-cropper-canvas-DZGLMjV6.js} +1 -1
- package/dist/info-A6RAGUB7-DTwpNebQ.js +3 -0
- package/dist/{infoDiagram-VRGFBTTK-XlBUAu0t.js → infoDiagram-VRGFBTTK-Ct4AP_ux.js} +6 -6
- package/dist/{init-MwSGRDIl.js → init-O6p85zx5.js} +1 -1
- package/dist/{isArrayLikeObject-BEv42rW5.js → isArrayLikeObject-Bs4bzQBR.js} +12 -12
- package/dist/{isEmpty-B1knfyUj.js → isEmpty-Cx_InbyF.js} +5 -5
- package/dist/{ishikawaDiagram-OU5B5YK6-C9cMWMPO.js → ishikawaDiagram-OU5B5YK6-Dw6IQYtd.js} +7 -7
- package/dist/{journeyDiagram-ZHPQQLJL-DXdfP9BW.js → journeyDiagram-ZHPQQLJL-BGCDYlgK.js} +7 -7
- package/dist/{kanban-definition-PNTS6WVX-DhOBy3A0.js → kanban-definition-PNTS6WVX-BkzhtlFU.js} +14 -14
- package/dist/{katex-BMQ6LGsM.js → katex-BLTzjTha.js} +1 -1
- package/dist/lib/components/ui/media/pdf-viewer/index.d.ts +9 -9
- package/dist/lib/components/ui/media/pdf-viewer/partials/pdf-page-list.vue.d.ts +1 -1
- package/dist/lib/components/ui/media/pdf-viewer/partials/pdf-page.vue.d.ts +1 -1
- package/dist/lib/components/ui/media/pdf-viewer/partials/pdf-reader-body.vue.d.ts +2 -2
- package/dist/lib/components/ui/media/pdf-viewer/partials/pdf-sidebar.vue.d.ts +1 -1
- package/dist/lib/components/ui/media/pdf-viewer/partials/pdf-thumbnail-sidebar.vue.d.ts +1 -1
- package/dist/lib/components/ui/media/pdf-viewer/pdf-text-layer.d.ts +1 -1
- package/dist/lib/components/ui/media/pdf-viewer/types.d.ts +3 -3
- package/dist/lib/components/ui/media/pdf-viewer/use-pdf-document-search.d.ts +1 -1
- package/dist/lib/components/ui/media/pdf-viewer/use-pdf-document.d.ts +2 -2
- package/dist/lib/components/ui/media/pdf-viewer/use-pdf-file-actions.d.ts +1 -1
- package/dist/lib/components/ui/media/pdf-viewer/use-pdf-page-area.d.ts +1 -1
- package/dist/lib/components/ui/media/pdf-viewer/use-pdf-reader.d.ts +1 -1
- package/dist/lib/components/ui/media/pdf-viewer/use-pdf-search-hits.d.ts +1 -2
- package/dist/lib/composables/use-formatters.d.ts +1 -1
- package/dist/lib/lib/print-format.utils.d.ts +7 -57
- package/dist/lib/pdf/index.d.ts +7 -7
- package/dist/lib/pdf/output.d.ts +2 -2
- package/dist/lib/pdf/pdf-download-action.d.ts +1 -1
- package/dist/lib/pdf/renderer.d.ts +2 -2
- package/dist/lib/pdf/renderer.lazy.d.ts +1 -1
- package/dist/lib/pdf/use-pdf.d.ts +1 -1
- package/dist/lib/vite/index.d.ts +5 -64
- package/dist/lib.js +15 -16
- package/dist/{line-UP6dkL36.js → line-CAYWvrRN.js} +4 -4
- package/dist/{linear-bD_QoED_.js → linear-CobEklb6.js} +23 -23
- package/dist/main.js +15 -18
- package/dist/map.js +5 -5
- package/dist/{merge-Cdqy5M_E.js → merge-BzRhCAF6.js} +13 -13
- package/dist/{mermaid-parser.core-Cz-MfB4Z.js → mermaid-parser.core-BXD_TD1T.js} +32 -32
- package/dist/{mermaid.core-BJPK8qYI.js → mermaid.core-B2ydTQ4X.js} +59 -59
- package/dist/{mindmap-definition-NLK3R4M7-Dqo7INQ9.js → mindmap-definition-NLK3R4M7-DCb99I7s.js} +18 -18
- package/dist/{number.utils-B19BYzc_.js → number.utils-Cy1z6qI7.js} +47 -47
- package/dist/{ordinal-D_ZgubzR.js → ordinal-BCmOO3Sy.js} +3 -3
- package/dist/packet-AYTQ26CC-Cc2sGaDY.js +3 -0
- package/dist/{path-DGNPZRdx.js → path-3-p5y-N7.js} +3 -3
- package/dist/{pdf-D_G-uiri.js → pdf-MkmivNXn.js} +1 -1
- package/dist/{pdf-outline-sidebar-BVRKziX3.js → pdf-outline-sidebar-D45RuliO.js} +3 -3
- package/dist/pdf-page-QUKMeod_.js +255 -0
- package/dist/{pdf-page-list-Cy6S2VCO.js → pdf-page-list-DzfNykQj.js} +2 -2
- package/dist/pdf-reader-Bmj2kN0E.js +603 -0
- package/dist/{pdf-sidebar-DoGyXFtw.js → pdf-sidebar-CV_Hy9vw.js} +4 -4
- package/dist/{pdf-thumbnail-sidebar-DmayzCN2.js → pdf-thumbnail-sidebar-Cgk8Y79g.js} +4 -4
- package/dist/{pdf-toolbar-CZqa7bbp.js → pdf-toolbar-Cj_fCmo3.js} +6 -6
- package/dist/pdf.js +72 -363
- package/dist/{pdf.worker.min-DRpqlnXj.js → pdf.worker.min-ByGJNiUH.js} +1 -1
- package/dist/{pegDiagram-GJSIUBJH-gvsGke9W.js → pegDiagram-GJSIUBJH-C27MdQV_.js} +8 -8
- package/dist/pie-WAS4IAKB-Qm7ZL20Y.js +3 -0
- package/dist/{pieDiagram-5QR66LMP-DLBcErnI.js → pieDiagram-5QR66LMP-B_7CzTL0.js} +15 -15
- package/dist/{client-only.utils-KvNbU5SA.js → print-format.utils-DwJfU1tK.js} +40 -39
- package/dist/{quadrantDiagram-O4NWA36T-Bn3CmGxM.js → quadrantDiagram-O4NWA36T-D84Ta5MW.js} +5 -5
- package/dist/radar-RG4KPBEZ-TQ0zaqCR.js +3 -0
- package/dist/railroad-74A4TZTK-bk-BYNub.js +3 -0
- package/dist/railroad-abnf-HS5TGJTU-Bdw25bd-.js +3 -0
- package/dist/railroad-ebnf-LZEXJU2U-DiFjNUyt.js +3 -0
- package/dist/railroad-peg-WCYAUIDC-xf3JLr_Y.js +3 -0
- package/dist/{railroadDiagram-XR7U4H2S-DLeBxWbV.js → railroadDiagram-XR7U4H2S-Cw5CuVpF.js} +8 -8
- package/dist/renderer.lazy-DCZLnjCM.js +10 -0
- package/dist/{requirementDiagram-PLB6GJNP-Kk5ubF7h.js → requirementDiagram-PLB6GJNP-DnkvMOW6.js} +16 -16
- package/dist/{rough.esm-rcMoXTJj.js → rough.esm-Cvc79rxE.js} +1 -1
- package/dist/{sankeyDiagram-IPEJSGJF-a4rFl5rR.js → sankeyDiagram-IPEJSGJF-jmnYqtty.js} +19 -19
- package/dist/{sequenceDiagram-PO4LG4MO-CjUigcL2.js → sequenceDiagram-PO4LG4MO-KN-jz2e0.js} +9 -9
- package/dist/{sizeCapture-INFHLROL-CHXIsPO_.js → sizeCapture-INFHLROL-C_032szM.js} +2 -2
- package/dist/{sortable-provider-DWSOOfI1.js → sortable-provider-CxI3cMbb.js} +3 -3
- package/dist/{src-CNRY2AUH.js → src-Pe71xVTz.js} +87 -87
- package/dist/{stateDiagram-v2-GCMORJYK-CrmN5l-3.js → stateDiagram-v2-GCMORJYK-BCh7NZQn.js} +17 -17
- package/dist/{stx-player-3Z0wuORy.js → stx-player-C3g6Pcxu.js} +3 -3
- package/dist/{swimlanes-2SLR337P-BkQTH51J.js → swimlanes-2SLR337P-BKV0Xke-.js} +14 -14
- package/dist/swimlanesDiagram-TC7HE7FX-D4-k5-iq.js +28 -0
- package/dist/{timeline-definition-EJHVYXUP-C0aHlt9K.js → timeline-definition-EJHVYXUP-BSBcDEzP.js} +8 -8
- package/dist/{intl-messageformat-C5e1ivyL.js → translator-BJPRdlc8.js} +171 -137
- package/dist/treeView-Q6P3EWNA-Dyk8HSag.js +3 -0
- package/dist/treemap-WGGIJYW6-CHrhBv7m.js +3 -0
- package/dist/{use-heading-spy-ByCrZQBk.js → use-heading-spy-xe2FFmGU.js} +2 -2
- package/dist/{use-material-translation-ClPGTJaN.js → use-material-translation-gr5V24w5.js} +1 -1
- package/dist/{usecaseDiagram-POWQR4AR-B1FgJuU5.js → usecaseDiagram-POWQR4AR-Bi5we59l.js} +403 -403
- package/dist/{utils-Cy-ByIEo.js → utils-CykWQ0iJ.js} +2 -2
- package/dist/{vennDiagram-UO4OBE2U-B22Jhju8.js → vennDiagram-UO4OBE2U-DC4GDZLl.js} +8 -8
- package/dist/vite.js +1 -17
- package/dist/wardley-WFR3VGLG-DnLHjx6k.js +3 -0
- package/dist/{wardleyDiagram-VNRHLVJA-Dw4YgRiQ.js → wardleyDiagram-VNRHLVJA-CZHdSrpN.js} +8 -8
- package/dist/{xychartDiagram-PMCCYNJV-DtuDs9I7.js → xychartDiagram-PMCCYNJV-CYfbQA4q.js} +14 -14
- package/docs/getting-started.md +20 -0
- package/docs/guides/pdf.md +5 -1
- package/docs/guides/ssr.md +7 -1
- package/docs/troubleshooting.md +30 -1
- package/lib/vite/index.ts +5 -125
- package/package.json +7 -10
- package/dist/architecture-7GRP2DOG-DDr0RGVC.js +0 -3
- package/dist/channel-BA1GJyZ7.js +0 -5
- package/dist/cynefin-OW5HDTMX-B8HVdZhp.js +0 -3
- package/dist/eventmodeling-NTZA5JFV-C1CEo-26.js +0 -3
- package/dist/flowDiagram-KWPJA3E3-Da1NFRX5.js +0 -17
- package/dist/gitGraph-4MIJSDKK-BTeCS_5q.js +0 -3
- package/dist/info-A6RAGUB7-BvtuPd9C.js +0 -3
- package/dist/lib/components/ui/fields/currency-field/currency-digits.d.ts +0 -7
- package/dist/lib/components/ui/forms/field-blur-layers.d.ts +0 -34
- package/dist/lib/components/ui/media/pdf-viewer/pdf-document-search.d.ts +0 -44
- package/dist/lib/components/ui/media/pdf-viewer/pdf-escape.d.ts +0 -6
- package/dist/lib/components/ui/media/pdf-viewer/pdf-page-geometry.d.ts +0 -57
- package/dist/lib/components/ui/media/pdf-viewer/pdf-page-sizes.d.ts +0 -37
- package/dist/lib/components/ui/media/pdf-viewer/pdf-scroll-spy.d.ts +0 -42
- package/dist/lib/components/ui/media/pdf-viewer/pdf-text-search.d.ts +0 -25
- package/dist/lib/lib/pdf-download.d.ts +0 -35
- package/dist/lib/lib/pdf-file-name.d.ts +0 -9
- package/dist/lib/lib/pdf-source.d.ts +0 -57
- package/dist/lib/lib/print-fraction-digits.d.ts +0 -12
- package/dist/lib/lib/print-table.utils.d.ts +0 -60
- package/dist/lib/lib/print-value.utils.d.ts +0 -40
- package/dist/lib/pdf-core/file-loader.d.ts +0 -18
- package/dist/lib/pdf-core/http.d.ts +0 -22
- package/dist/lib/pdf-core/index.d.ts +0 -11
- package/dist/lib/pdf-core/model/builders.d.ts +0 -54
- package/dist/lib/pdf-core/model/data-table.d.ts +0 -24
- package/dist/lib/pdf-core/model/index.d.ts +0 -4
- package/dist/lib/pdf-core/model/nodes.d.ts +0 -133
- package/dist/lib/pdf-core/model/theme.d.ts +0 -16
- package/dist/lib/pdf-core/model/types.d.ts +0 -108
- package/dist/lib/pdf-core/render/context.d.ts +0 -50
- package/dist/lib/pdf-core/render/document.d.ts +0 -21
- package/dist/lib/pdf-core/render/index.d.ts +0 -5
- package/dist/lib/pdf-core/render/nodes/blocks.d.ts +0 -19
- package/dist/lib/pdf-core/render/nodes/header.d.ts +0 -14
- package/dist/lib/pdf-core/render/nodes/layout.d.ts +0 -44
- package/dist/lib/pdf-core/render/nodes/table.d.ts +0 -14
- package/dist/lib/pdf-core/render/page.d.ts +0 -30
- package/dist/lib/pdf-core/render/render-node.d.ts +0 -10
- package/dist/lib/pdf-core/render/styles.d.ts +0 -303
- package/dist/packet-AYTQ26CC-CshIswP8.js +0 -3
- package/dist/pdf-download-WnIo-5y5.js +0 -94
- package/dist/pdf-page-CIJOEX08.js +0 -317
- package/dist/pdf-page-geometry-DXA9Duo_.js +0 -61
- package/dist/pdf-reader-DDLWi_kg.js +0 -745
- package/dist/pdf-source-CLguNN1r.js +0 -61
- package/dist/pie-WAS4IAKB-CYs22y4X.js +0 -3
- package/dist/print-format.utils-Cvgc3Mov.js +0 -56
- package/dist/radar-RG4KPBEZ-BOJKjbGv.js +0 -3
- package/dist/railroad-74A4TZTK-Dt1BmUkI.js +0 -3
- package/dist/railroad-abnf-HS5TGJTU-Cs9GMUMY.js +0 -3
- package/dist/railroad-ebnf-LZEXJU2U-D4y0fXoW.js +0 -3
- package/dist/railroad-peg-WCYAUIDC-D2f_ZNR5.js +0 -3
- package/dist/renderer.lazy-CSZ6JIRd.js +0 -686
- package/dist/swimlanesDiagram-TC7HE7FX-BMfUzAWu.js +0 -28
- package/dist/translator-000Eza6E.js +0 -39
- package/dist/treeView-Q6P3EWNA-BrJylG9N.js +0 -3
- package/dist/treemap-WGGIJYW6-DpIZuqbj.js +0 -3
- package/dist/wardley-WFR3VGLG-CbwdAAbH.js +0 -3
|
@@ -1,38 +1,40 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
import { a as e, i as t, r as n, t as r } from "./stored-language-D7FRT1hD.js";
|
|
2
|
+
import { t as i } from "./get-CTzJAwfc.js";
|
|
3
|
+
//#region ../../node_modules/@formatjs/fast-memoize/index.js
|
|
4
|
+
function a(e, t) {
|
|
5
|
+
let n = t && t.cache ? t.cache : ne, r = t && t.serializer ? t.serializer : ee;
|
|
6
|
+
return (t && t.strategy ? t.strategy : u)(e, {
|
|
5
7
|
cache: n,
|
|
6
8
|
serializer: r
|
|
7
9
|
});
|
|
8
10
|
}
|
|
9
|
-
function
|
|
11
|
+
function o(e) {
|
|
10
12
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
11
13
|
}
|
|
12
|
-
function
|
|
13
|
-
let
|
|
14
|
-
return
|
|
14
|
+
function s(e, t, n, r) {
|
|
15
|
+
let i = o(r) ? r : n(r), a = t.get(i);
|
|
16
|
+
return a === void 0 && (a = e.call(this, r), t.set(i, a)), a;
|
|
15
17
|
}
|
|
16
|
-
function
|
|
18
|
+
function c(e, t, n) {
|
|
17
19
|
let r = Array.prototype.slice.call(arguments, 3), i = n(r), a = t.get(i);
|
|
18
20
|
return a === void 0 && (a = e.apply(this, r), t.set(i, a)), a;
|
|
19
21
|
}
|
|
20
|
-
function
|
|
22
|
+
function l(e, t, n, r, i) {
|
|
21
23
|
return n.bind(t, e, r, i);
|
|
22
24
|
}
|
|
23
|
-
function
|
|
24
|
-
let
|
|
25
|
-
return
|
|
25
|
+
function u(e, t) {
|
|
26
|
+
let n = e.length === 1 ? s : c;
|
|
27
|
+
return l(e, this, n, t.cache.create(), t.serializer);
|
|
26
28
|
}
|
|
27
|
-
function
|
|
28
|
-
return
|
|
29
|
+
function d(e, t) {
|
|
30
|
+
return l(e, this, c, t.cache.create(), t.serializer);
|
|
29
31
|
}
|
|
30
|
-
function
|
|
31
|
-
return
|
|
32
|
+
function f(e, t) {
|
|
33
|
+
return l(e, this, s, t.cache.create(), t.serializer);
|
|
32
34
|
}
|
|
33
|
-
var
|
|
35
|
+
var ee = function() {
|
|
34
36
|
return JSON.stringify(arguments);
|
|
35
|
-
},
|
|
37
|
+
}, te = class {
|
|
36
38
|
constructor() {
|
|
37
39
|
this.cache = Object.create(null);
|
|
38
40
|
}
|
|
@@ -42,15 +44,15 @@ var c = function() {
|
|
|
42
44
|
set(e, t) {
|
|
43
45
|
this.cache[e] = t;
|
|
44
46
|
}
|
|
45
|
-
},
|
|
46
|
-
return new
|
|
47
|
-
} },
|
|
48
|
-
variadic:
|
|
49
|
-
monadic:
|
|
50
|
-
},
|
|
51
|
-
function
|
|
47
|
+
}, ne = { create: function() {
|
|
48
|
+
return new te();
|
|
49
|
+
} }, p = {
|
|
50
|
+
variadic: d,
|
|
51
|
+
monadic: f
|
|
52
|
+
}, re = /(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;
|
|
53
|
+
function ie(e) {
|
|
52
54
|
let t = {};
|
|
53
|
-
return e.replace(
|
|
55
|
+
return e.replace(re, (e) => {
|
|
54
56
|
let n = e.length;
|
|
55
57
|
switch (e[0]) {
|
|
56
58
|
case "G":
|
|
@@ -145,10 +147,10 @@ function f(e) {
|
|
|
145
147
|
return "";
|
|
146
148
|
}), t;
|
|
147
149
|
}
|
|
148
|
-
var
|
|
149
|
-
function
|
|
150
|
+
var ae = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
151
|
+
function oe(e) {
|
|
150
152
|
if (e.length === 0) throw Error("Number skeleton cannot be empty");
|
|
151
|
-
let t = e.split(
|
|
153
|
+
let t = e.split(ae).filter((e) => e.length > 0), n = [];
|
|
152
154
|
for (let e of t) {
|
|
153
155
|
let t = e.split("/");
|
|
154
156
|
if (t.length === 0) throw Error("Invalid number skeleton");
|
|
@@ -161,17 +163,17 @@ function ne(e) {
|
|
|
161
163
|
}
|
|
162
164
|
return n;
|
|
163
165
|
}
|
|
164
|
-
function
|
|
166
|
+
function se(e) {
|
|
165
167
|
return e.replace(/^(.*?)-/, "");
|
|
166
168
|
}
|
|
167
|
-
var
|
|
168
|
-
function
|
|
169
|
+
var m = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, h = /^(@+)?(\+|#+)?[rs]?$/g, ce = /(\*)(0+)|(#+)(0+)|(0+)/g, g = /^(0+)$/;
|
|
170
|
+
function _(e) {
|
|
169
171
|
let t = {};
|
|
170
|
-
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(
|
|
172
|
+
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(h, function(e, n, r) {
|
|
171
173
|
return typeof r == "string" ? r === "+" ? t.minimumSignificantDigits = n.length : n[0] === "#" ? t.maximumSignificantDigits = n.length : (t.minimumSignificantDigits = n.length, t.maximumSignificantDigits = n.length + (typeof r == "string" ? r.length : 0)) : (t.minimumSignificantDigits = n.length, t.maximumSignificantDigits = n.length), "";
|
|
172
174
|
}), t;
|
|
173
175
|
}
|
|
174
|
-
function
|
|
176
|
+
function v(e) {
|
|
175
177
|
switch (e) {
|
|
176
178
|
case "sign-auto": return { signDisplay: "auto" };
|
|
177
179
|
case "sign-accounting":
|
|
@@ -194,19 +196,19 @@ function _(e) {
|
|
|
194
196
|
case "+_": return { signDisplay: "never" };
|
|
195
197
|
}
|
|
196
198
|
}
|
|
197
|
-
function
|
|
199
|
+
function le(e) {
|
|
198
200
|
let t;
|
|
199
201
|
if (e[0] === "E" && e[1] === "E" ? (t = { notation: "engineering" }, e = e.slice(2)) : e[0] === "E" && (t = { notation: "scientific" }, e = e.slice(1)), t) {
|
|
200
202
|
let n = e.slice(0, 2);
|
|
201
|
-
if (n === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : n === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !
|
|
203
|
+
if (n === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : n === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !g.test(e)) throw Error("Malformed concise eng/scientific notation");
|
|
202
204
|
t.minimumIntegerDigits = e.length;
|
|
203
205
|
}
|
|
204
206
|
return t;
|
|
205
207
|
}
|
|
206
|
-
function
|
|
207
|
-
return
|
|
208
|
+
function y(e) {
|
|
209
|
+
return v(e) || {};
|
|
208
210
|
}
|
|
209
|
-
function
|
|
211
|
+
function ue(e) {
|
|
210
212
|
let t = {};
|
|
211
213
|
for (let n of e) {
|
|
212
214
|
switch (n.stem) {
|
|
@@ -230,7 +232,7 @@ function oe(e) {
|
|
|
230
232
|
continue;
|
|
231
233
|
case "measure-unit":
|
|
232
234
|
case "unit":
|
|
233
|
-
t.style = "unit", t.unit =
|
|
235
|
+
t.style = "unit", t.unit = se(n.options[0]);
|
|
234
236
|
continue;
|
|
235
237
|
case "compact-short":
|
|
236
238
|
case "K":
|
|
@@ -246,7 +248,7 @@ function oe(e) {
|
|
|
246
248
|
notation: "scientific",
|
|
247
249
|
...n.options.reduce((e, t) => ({
|
|
248
250
|
...e,
|
|
249
|
-
...
|
|
251
|
+
...y(t)
|
|
250
252
|
}), {})
|
|
251
253
|
};
|
|
252
254
|
continue;
|
|
@@ -256,7 +258,7 @@ function oe(e) {
|
|
|
256
258
|
notation: "engineering",
|
|
257
259
|
...n.options.reduce((e, t) => ({
|
|
258
260
|
...e,
|
|
259
|
-
...
|
|
261
|
+
...y(t)
|
|
260
262
|
}), {})
|
|
261
263
|
};
|
|
262
264
|
continue;
|
|
@@ -301,7 +303,7 @@ function oe(e) {
|
|
|
301
303
|
continue;
|
|
302
304
|
case "integer-width":
|
|
303
305
|
if (n.options.length > 1) throw RangeError("integer-width stems only accept a single optional option");
|
|
304
|
-
n.options[0].replace(
|
|
306
|
+
n.options[0].replace(ce, function(e, n, r, i, a, o) {
|
|
305
307
|
if (n) t.minimumIntegerDigits = r.length;
|
|
306
308
|
else if (i && a) throw Error("We currently do not support maximum integer digits");
|
|
307
309
|
else if (o) throw Error("We currently do not support exact integer digits");
|
|
@@ -309,13 +311,13 @@ function oe(e) {
|
|
|
309
311
|
});
|
|
310
312
|
continue;
|
|
311
313
|
}
|
|
312
|
-
if (
|
|
314
|
+
if (g.test(n.stem)) {
|
|
313
315
|
t.minimumIntegerDigits = n.stem.length;
|
|
314
316
|
continue;
|
|
315
317
|
}
|
|
316
|
-
if (
|
|
318
|
+
if (m.test(n.stem)) {
|
|
317
319
|
if (n.options.length > 1) throw RangeError("Fraction-precision stems only accept a single optional option");
|
|
318
|
-
n.stem.replace(
|
|
320
|
+
n.stem.replace(m, function(e, n, r, i, a, o) {
|
|
319
321
|
return r === "*" ? t.minimumFractionDigits = n.length : i && i[0] === "#" ? t.maximumFractionDigits = i.length : a && o ? (t.minimumFractionDigits = a.length, t.maximumFractionDigits = a.length + o.length) : (t.minimumFractionDigits = n.length, t.maximumFractionDigits = n.length), "";
|
|
320
322
|
});
|
|
321
323
|
let e = n.options[0];
|
|
@@ -324,23 +326,23 @@ function oe(e) {
|
|
|
324
326
|
trailingZeroDisplay: "stripIfInteger"
|
|
325
327
|
} : e && (t = {
|
|
326
328
|
...t,
|
|
327
|
-
...
|
|
329
|
+
..._(e)
|
|
328
330
|
});
|
|
329
331
|
continue;
|
|
330
332
|
}
|
|
331
|
-
if (
|
|
333
|
+
if (h.test(n.stem)) {
|
|
332
334
|
t = {
|
|
333
335
|
...t,
|
|
334
|
-
...
|
|
336
|
+
..._(n.stem)
|
|
335
337
|
};
|
|
336
338
|
continue;
|
|
337
339
|
}
|
|
338
|
-
let e =
|
|
340
|
+
let e = v(n.stem);
|
|
339
341
|
e && (t = {
|
|
340
342
|
...t,
|
|
341
343
|
...e
|
|
342
344
|
});
|
|
343
|
-
let r =
|
|
345
|
+
let r = le(n.stem);
|
|
344
346
|
r && (t = {
|
|
345
347
|
...t,
|
|
346
348
|
...r
|
|
@@ -349,32 +351,32 @@ function oe(e) {
|
|
|
349
351
|
return t;
|
|
350
352
|
}
|
|
351
353
|
//#endregion
|
|
352
|
-
//#region node_modules/@formatjs/icu-messageformat-parser/index.js
|
|
353
|
-
var
|
|
354
|
+
//#region ../../node_modules/@formatjs/icu-messageformat-parser/index.js
|
|
355
|
+
var de = /* @__PURE__ */ function(e) {
|
|
354
356
|
return e[e.EXPECT_ARGUMENT_CLOSING_BRACE = 1] = "EXPECT_ARGUMENT_CLOSING_BRACE", e[e.EMPTY_ARGUMENT = 2] = "EMPTY_ARGUMENT", e[e.MALFORMED_ARGUMENT = 3] = "MALFORMED_ARGUMENT", e[e.EXPECT_ARGUMENT_TYPE = 4] = "EXPECT_ARGUMENT_TYPE", e[e.INVALID_ARGUMENT_TYPE = 5] = "INVALID_ARGUMENT_TYPE", e[e.EXPECT_ARGUMENT_STYLE = 6] = "EXPECT_ARGUMENT_STYLE", e[e.INVALID_NUMBER_SKELETON = 7] = "INVALID_NUMBER_SKELETON", e[e.INVALID_DATE_TIME_SKELETON = 8] = "INVALID_DATE_TIME_SKELETON", e[e.EXPECT_NUMBER_SKELETON = 9] = "EXPECT_NUMBER_SKELETON", e[e.EXPECT_DATE_TIME_SKELETON = 10] = "EXPECT_DATE_TIME_SKELETON", e[e.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE = 11] = "UNCLOSED_QUOTE_IN_ARGUMENT_STYLE", e[e.EXPECT_SELECT_ARGUMENT_OPTIONS = 12] = "EXPECT_SELECT_ARGUMENT_OPTIONS", e[e.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE = 13] = "EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE", e[e.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE = 14] = "INVALID_PLURAL_ARGUMENT_OFFSET_VALUE", e[e.EXPECT_SELECT_ARGUMENT_SELECTOR = 15] = "EXPECT_SELECT_ARGUMENT_SELECTOR", e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR = 16] = "EXPECT_PLURAL_ARGUMENT_SELECTOR", e[e.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT = 17] = "EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT", e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT = 18] = "EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT", e[e.INVALID_PLURAL_ARGUMENT_SELECTOR = 19] = "INVALID_PLURAL_ARGUMENT_SELECTOR", e[e.DUPLICATE_PLURAL_ARGUMENT_SELECTOR = 20] = "DUPLICATE_PLURAL_ARGUMENT_SELECTOR", e[e.DUPLICATE_SELECT_ARGUMENT_SELECTOR = 21] = "DUPLICATE_SELECT_ARGUMENT_SELECTOR", e[e.MISSING_OTHER_CLAUSE = 22] = "MISSING_OTHER_CLAUSE", e[e.INVALID_TAG = 23] = "INVALID_TAG", e[e.INVALID_TAG_NAME = 25] = "INVALID_TAG_NAME", e[e.UNMATCHED_CLOSING_TAG = 26] = "UNMATCHED_CLOSING_TAG", e[e.UNCLOSED_TAG = 27] = "UNCLOSED_TAG", e;
|
|
355
357
|
}({});
|
|
356
|
-
function
|
|
358
|
+
function b(e) {
|
|
357
359
|
return e.type === 0;
|
|
358
360
|
}
|
|
359
|
-
function
|
|
361
|
+
function x(e) {
|
|
360
362
|
return e.type === 1;
|
|
361
363
|
}
|
|
362
|
-
function
|
|
364
|
+
function S(e) {
|
|
363
365
|
return e.type === 2;
|
|
364
366
|
}
|
|
365
|
-
function
|
|
367
|
+
function C(e) {
|
|
366
368
|
return e.type === 3;
|
|
367
369
|
}
|
|
368
|
-
function
|
|
370
|
+
function w(e) {
|
|
369
371
|
return e.type === 4;
|
|
370
372
|
}
|
|
371
|
-
function
|
|
373
|
+
function T(e) {
|
|
372
374
|
return e.type === 5;
|
|
373
375
|
}
|
|
374
|
-
function
|
|
376
|
+
function E(e) {
|
|
375
377
|
return e.type === 6;
|
|
376
378
|
}
|
|
377
|
-
function
|
|
379
|
+
function fe(e) {
|
|
378
380
|
return e.type === 7;
|
|
379
381
|
}
|
|
380
382
|
function D(e) {
|
|
@@ -1590,15 +1592,15 @@ var L = !!Object.fromEntries, R = !!String.prototype.trimStart, z = !!String.pro
|
|
|
1590
1592
|
return e.trimStart();
|
|
1591
1593
|
} : function(e) {
|
|
1592
1594
|
return e.replace(P, "");
|
|
1593
|
-
},
|
|
1595
|
+
}, pe = z ? function(e) {
|
|
1594
1596
|
return e.trimEnd();
|
|
1595
1597
|
} : function(e) {
|
|
1596
1598
|
return e.replace(F, "");
|
|
1597
|
-
},
|
|
1598
|
-
function
|
|
1599
|
-
return
|
|
1599
|
+
}, H = /* @__PURE__ */ RegExp("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
1600
|
+
function me(e, t) {
|
|
1601
|
+
return H.lastIndex = t, H.exec(e)[1] ?? "";
|
|
1600
1602
|
}
|
|
1601
|
-
function
|
|
1603
|
+
function he(e) {
|
|
1602
1604
|
if (e.length === 0) return null;
|
|
1603
1605
|
let t = 1, n = 1;
|
|
1604
1606
|
for (let r = 0; r < e.length;) {
|
|
@@ -1622,7 +1624,7 @@ function G(e) {
|
|
|
1622
1624
|
column: n
|
|
1623
1625
|
};
|
|
1624
1626
|
}
|
|
1625
|
-
var
|
|
1627
|
+
var ge = class {
|
|
1626
1628
|
constructor(e, t = {}) {
|
|
1627
1629
|
this.message = e, this.position = {
|
|
1628
1630
|
offset: 0,
|
|
@@ -1635,7 +1637,7 @@ var K = class {
|
|
|
1635
1637
|
if (this.message.length > 0) {
|
|
1636
1638
|
let e = this.message.charCodeAt(0);
|
|
1637
1639
|
if (e !== 35 && e !== 39 && e !== 60 && e !== 123 && e !== 125) {
|
|
1638
|
-
let e =
|
|
1640
|
+
let e = he(this.message);
|
|
1639
1641
|
if (e) {
|
|
1640
1642
|
let t = this.clonePosition();
|
|
1641
1643
|
return this.position = e, {
|
|
@@ -1669,7 +1671,7 @@ var K = class {
|
|
|
1669
1671
|
} else if (i === 60 && !this.ignoreTag && this.peek() === 47) {
|
|
1670
1672
|
if (n) break;
|
|
1671
1673
|
return this.error(26, I(this.clonePosition(), this.clonePosition()));
|
|
1672
|
-
} else if (i === 60 && !this.ignoreTag &&
|
|
1674
|
+
} else if (i === 60 && !this.ignoreTag && U(this.peek() || 0)) {
|
|
1673
1675
|
let n = this.parseTag(e, t);
|
|
1674
1676
|
if (n.err) return n;
|
|
1675
1677
|
r.push(n.val);
|
|
@@ -1701,7 +1703,7 @@ var K = class {
|
|
|
1701
1703
|
if (i.err) return i;
|
|
1702
1704
|
let a = i.val, o = this.clonePosition();
|
|
1703
1705
|
if (this.bumpIf("</")) {
|
|
1704
|
-
if (this.isEOF() || !
|
|
1706
|
+
if (this.isEOF() || !U(this.char())) return this.error(23, I(o, this.clonePosition()));
|
|
1705
1707
|
let e = this.clonePosition();
|
|
1706
1708
|
return r === this.parseTagName() ? (this.bumpSpace(), this.bumpIf(">") ? {
|
|
1707
1709
|
val: {
|
|
@@ -1717,7 +1719,7 @@ var K = class {
|
|
|
1717
1719
|
}
|
|
1718
1720
|
parseTagName() {
|
|
1719
1721
|
let e = this.offset();
|
|
1720
|
-
for (this.bump(); !this.isEOF() &&
|
|
1722
|
+
for (this.bump(); !this.isEOF() && ve(this.char());) this.bump();
|
|
1721
1723
|
return this.message.slice(e, this.offset());
|
|
1722
1724
|
}
|
|
1723
1725
|
parseLiteral(e, t) {
|
|
@@ -1751,7 +1753,7 @@ var K = class {
|
|
|
1751
1753
|
};
|
|
1752
1754
|
}
|
|
1753
1755
|
tryParseLeftAngleBracket() {
|
|
1754
|
-
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || !
|
|
1756
|
+
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || !_e(this.peek() || 0)) ? (this.bump(), "<") : null;
|
|
1755
1757
|
}
|
|
1756
1758
|
tryParseQuote(e) {
|
|
1757
1759
|
if (this.isEOF() || this.char() !== 39) return null;
|
|
@@ -1806,7 +1808,7 @@ var K = class {
|
|
|
1806
1808
|
}
|
|
1807
1809
|
}
|
|
1808
1810
|
parseIdentifierIfPossible() {
|
|
1809
|
-
let e = this.clonePosition(), t = this.offset(), n =
|
|
1811
|
+
let e = this.clonePosition(), t = this.offset(), n = me(this.message, t), r = t + n.length;
|
|
1810
1812
|
return this.bumpTo(r), {
|
|
1811
1813
|
value: n,
|
|
1812
1814
|
location: I(e, this.clonePosition())
|
|
@@ -1825,7 +1827,7 @@ var K = class {
|
|
|
1825
1827
|
this.bumpSpace();
|
|
1826
1828
|
let t = this.clonePosition(), n = this.parseSimpleArgStyleIfPossible();
|
|
1827
1829
|
if (n.err) return n;
|
|
1828
|
-
let r =
|
|
1830
|
+
let r = pe(n.val);
|
|
1829
1831
|
if (r.length === 0) return this.error(6, I(this.clonePosition(), this.clonePosition()));
|
|
1830
1832
|
e = {
|
|
1831
1833
|
style: r,
|
|
@@ -1856,7 +1858,7 @@ var K = class {
|
|
|
1856
1858
|
type: 1,
|
|
1857
1859
|
pattern: r,
|
|
1858
1860
|
location: e.styleLocation,
|
|
1859
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
1861
|
+
parsedOptions: this.shouldParseSkeletons ? ie(r) : {}
|
|
1860
1862
|
};
|
|
1861
1863
|
return {
|
|
1862
1864
|
val: {
|
|
@@ -1957,7 +1959,7 @@ var K = class {
|
|
|
1957
1959
|
parseNumberSkeletonFromString(e, t) {
|
|
1958
1960
|
let n = [];
|
|
1959
1961
|
try {
|
|
1960
|
-
n =
|
|
1962
|
+
n = oe(e);
|
|
1961
1963
|
} catch {
|
|
1962
1964
|
return this.error(7, t);
|
|
1963
1965
|
}
|
|
@@ -1966,7 +1968,7 @@ var K = class {
|
|
|
1966
1968
|
type: 0,
|
|
1967
1969
|
tokens: n,
|
|
1968
1970
|
location: t,
|
|
1969
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
1971
|
+
parsedOptions: this.shouldParseSkeletons ? ue(n) : {}
|
|
1970
1972
|
},
|
|
1971
1973
|
err: null
|
|
1972
1974
|
};
|
|
@@ -2071,7 +2073,7 @@ var K = class {
|
|
|
2071
2073
|
}
|
|
2072
2074
|
}
|
|
2073
2075
|
bumpSpace() {
|
|
2074
|
-
for (; !this.isEOF() &&
|
|
2076
|
+
for (; !this.isEOF() && ye(this.char());) this.bump();
|
|
2075
2077
|
}
|
|
2076
2078
|
peek() {
|
|
2077
2079
|
if (this.isEOF()) return null;
|
|
@@ -2079,83 +2081,83 @@ var K = class {
|
|
|
2079
2081
|
return this.message.charCodeAt(t + (e >= 65536 ? 2 : 1)) ?? null;
|
|
2080
2082
|
}
|
|
2081
2083
|
};
|
|
2082
|
-
function
|
|
2084
|
+
function U(e) {
|
|
2083
2085
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
2084
2086
|
}
|
|
2085
|
-
function
|
|
2086
|
-
return
|
|
2087
|
+
function _e(e) {
|
|
2088
|
+
return U(e) || e === 47;
|
|
2087
2089
|
}
|
|
2088
|
-
function
|
|
2090
|
+
function ve(e) {
|
|
2089
2091
|
return e === 45 || e === 46 || e >= 48 && e <= 57 || e === 95 || e >= 97 && e <= 122 || e >= 65 && e <= 90 || e == 183 || e >= 192 && e <= 214 || e >= 216 && e <= 246 || e >= 248 && e <= 893 || e >= 895 && e <= 8191 || e >= 8204 && e <= 8205 || e >= 8255 && e <= 8256 || e >= 8304 && e <= 8591 || e >= 11264 && e <= 12271 || e >= 12289 && e <= 55295 || e >= 63744 && e <= 64975 || e >= 65008 && e <= 65533 || e >= 65536 && e <= 983039;
|
|
2090
2092
|
}
|
|
2091
|
-
function
|
|
2093
|
+
function ye(e) {
|
|
2092
2094
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
2093
2095
|
}
|
|
2094
|
-
function
|
|
2096
|
+
function W(e) {
|
|
2095
2097
|
e.forEach((e) => {
|
|
2096
|
-
if (delete e.location,
|
|
2097
|
-
else
|
|
2098
|
+
if (delete e.location, T(e) || E(e)) for (let t in e.options) delete e.options[t].location, W(e.options[t].value);
|
|
2099
|
+
else S(e) && O(e.style) || (C(e) || w(e)) && k(e.style) ? delete e.style.location : D(e) && W(e.children);
|
|
2098
2100
|
});
|
|
2099
2101
|
}
|
|
2100
|
-
function
|
|
2102
|
+
function be(e, t = {}) {
|
|
2101
2103
|
t = {
|
|
2102
2104
|
shouldParseSkeletons: !0,
|
|
2103
2105
|
requiresOtherClause: !0,
|
|
2104
2106
|
...t
|
|
2105
2107
|
};
|
|
2106
|
-
let n = new
|
|
2108
|
+
let n = new ge(e, t).parse();
|
|
2107
2109
|
if (n.err) {
|
|
2108
|
-
let e = SyntaxError(
|
|
2110
|
+
let e = SyntaxError(de[n.err.kind]);
|
|
2109
2111
|
throw e.location = n.err.location, e.originalMessage = n.err.message, e;
|
|
2110
2112
|
}
|
|
2111
|
-
return t?.captureLocation ||
|
|
2113
|
+
return t?.captureLocation || W(n.val), n.val;
|
|
2112
2114
|
}
|
|
2113
2115
|
//#endregion
|
|
2114
|
-
//#region node_modules/intl-messageformat/index.js
|
|
2115
|
-
var
|
|
2116
|
+
//#region ../../node_modules/intl-messageformat/index.js
|
|
2117
|
+
var G = class extends Error {
|
|
2116
2118
|
constructor(e, t, n) {
|
|
2117
2119
|
super(e), this.code = t, this.originalMessage = n;
|
|
2118
2120
|
}
|
|
2119
2121
|
toString() {
|
|
2120
2122
|
return `[formatjs Error: ${this.code}] ${this.message}`;
|
|
2121
2123
|
}
|
|
2122
|
-
},
|
|
2124
|
+
}, K = class extends G {
|
|
2123
2125
|
constructor(e, t, n, r) {
|
|
2124
2126
|
super(`Invalid values for "${e}": "${t}". Options are "${Object.keys(n).join("\", \"")}"`, "INVALID_VALUE", r);
|
|
2125
2127
|
}
|
|
2126
|
-
},
|
|
2128
|
+
}, xe = class extends G {
|
|
2127
2129
|
constructor(e, t, n) {
|
|
2128
2130
|
super(`Value for "${e}" must be of type ${t}`, "INVALID_VALUE", n);
|
|
2129
2131
|
}
|
|
2130
|
-
},
|
|
2132
|
+
}, Se = class extends G {
|
|
2131
2133
|
constructor(e, t) {
|
|
2132
2134
|
super(`The intl string context variable "${e}" was not provided to the string "${t}"`, "MISSING_VALUE", t);
|
|
2133
2135
|
}
|
|
2134
2136
|
};
|
|
2135
|
-
function
|
|
2137
|
+
function Ce(e) {
|
|
2136
2138
|
return e.length < 2 ? e : e.reduce((e, t) => {
|
|
2137
2139
|
let n = e[e.length - 1];
|
|
2138
2140
|
return !n || n.type !== 0 || t.type !== 0 ? e.push(t) : n.value += t.value, e;
|
|
2139
2141
|
}, []);
|
|
2140
2142
|
}
|
|
2141
|
-
function
|
|
2143
|
+
function we(e) {
|
|
2142
2144
|
return typeof e == "function";
|
|
2143
2145
|
}
|
|
2144
|
-
function
|
|
2145
|
-
if (e.length === 1 &&
|
|
2146
|
+
function q(e, t, n, r, i, a, o) {
|
|
2147
|
+
if (e.length === 1 && b(e[0])) return [{
|
|
2146
2148
|
type: 0,
|
|
2147
2149
|
value: e[0].value
|
|
2148
2150
|
}];
|
|
2149
2151
|
let s = [];
|
|
2150
2152
|
for (let c of e) {
|
|
2151
|
-
if (
|
|
2153
|
+
if (b(c)) {
|
|
2152
2154
|
s.push({
|
|
2153
2155
|
type: 0,
|
|
2154
2156
|
value: c.value
|
|
2155
2157
|
});
|
|
2156
2158
|
continue;
|
|
2157
2159
|
}
|
|
2158
|
-
if (
|
|
2160
|
+
if (fe(c)) {
|
|
2159
2161
|
typeof a == "number" && s.push({
|
|
2160
2162
|
type: 0,
|
|
2161
2163
|
value: n.getNumberFormat(t).format(a)
|
|
@@ -2163,16 +2165,16 @@ function Q(e, t, n, r, i, a, o) {
|
|
|
2163
2165
|
continue;
|
|
2164
2166
|
}
|
|
2165
2167
|
let { value: e } = c;
|
|
2166
|
-
if (!(i && e in i)) throw new
|
|
2168
|
+
if (!(i && e in i)) throw new Se(e, o);
|
|
2167
2169
|
let l = i[e];
|
|
2168
|
-
if (
|
|
2170
|
+
if (x(c)) {
|
|
2169
2171
|
(!l || typeof l == "string" || typeof l == "number" || typeof l == "bigint") && (l = typeof l == "string" || typeof l == "number" || typeof l == "bigint" ? String(l) : ""), s.push({
|
|
2170
2172
|
type: typeof l == "string" ? 0 : 1,
|
|
2171
2173
|
value: l
|
|
2172
2174
|
});
|
|
2173
2175
|
continue;
|
|
2174
2176
|
}
|
|
2175
|
-
if (
|
|
2177
|
+
if (C(c)) {
|
|
2176
2178
|
let e = typeof c.style == "string" ? r.date[c.style] : k(c.style) ? c.style.parsedOptions : void 0;
|
|
2177
2179
|
s.push({
|
|
2178
2180
|
type: 0,
|
|
@@ -2180,7 +2182,7 @@ function Q(e, t, n, r, i, a, o) {
|
|
|
2180
2182
|
});
|
|
2181
2183
|
continue;
|
|
2182
2184
|
}
|
|
2183
|
-
if (
|
|
2185
|
+
if (w(c)) {
|
|
2184
2186
|
let e = typeof c.style == "string" ? r.time[c.style] : k(c.style) ? c.style.parsedOptions : r.time.medium;
|
|
2185
2187
|
s.push({
|
|
2186
2188
|
type: 0,
|
|
@@ -2188,7 +2190,7 @@ function Q(e, t, n, r, i, a, o) {
|
|
|
2188
2190
|
});
|
|
2189
2191
|
continue;
|
|
2190
2192
|
}
|
|
2191
|
-
if (
|
|
2193
|
+
if (S(c)) {
|
|
2192
2194
|
let e = typeof c.style == "string" ? r.number[c.style] : O(c.style) ? c.style.parsedOptions : void 0;
|
|
2193
2195
|
if (e && e.scale) {
|
|
2194
2196
|
let t = e.scale || 1;
|
|
@@ -2205,35 +2207,35 @@ function Q(e, t, n, r, i, a, o) {
|
|
|
2205
2207
|
}
|
|
2206
2208
|
if (D(c)) {
|
|
2207
2209
|
let { children: e, value: l } = c, u = i[l];
|
|
2208
|
-
if (!
|
|
2209
|
-
let d = u(
|
|
2210
|
+
if (!we(u)) throw new xe(l, "function", o);
|
|
2211
|
+
let d = u(q(e, t, n, r, i, a).map((e) => e.value));
|
|
2210
2212
|
Array.isArray(d) || (d = [d]), s.push(...d.map((e) => ({
|
|
2211
2213
|
type: typeof e == "string" ? 0 : 1,
|
|
2212
2214
|
value: e
|
|
2213
2215
|
})));
|
|
2214
2216
|
}
|
|
2215
|
-
if (
|
|
2217
|
+
if (T(c)) {
|
|
2216
2218
|
let e = l, a = (Object.prototype.hasOwnProperty.call(c.options, e) ? c.options[e] : void 0) || c.options.other;
|
|
2217
|
-
if (!a) throw new
|
|
2218
|
-
s.push(...
|
|
2219
|
+
if (!a) throw new K(c.value, l, Object.keys(c.options), o);
|
|
2220
|
+
s.push(...q(a.value, t, n, r, i));
|
|
2219
2221
|
continue;
|
|
2220
2222
|
}
|
|
2221
|
-
if (
|
|
2223
|
+
if (E(c)) {
|
|
2222
2224
|
let e = `=${l}`, a = Object.prototype.hasOwnProperty.call(c.options, e) ? c.options[e] : void 0;
|
|
2223
2225
|
if (!a) {
|
|
2224
|
-
if (!Intl.PluralRules) throw new
|
|
2226
|
+
if (!Intl.PluralRules) throw new G("Intl.PluralRules is not available in this environment.\nTry polyfilling it using \"@formatjs/intl-pluralrules\"\n", "MISSING_INTL_API", o);
|
|
2225
2227
|
let e = typeof l == "bigint" ? Number(l) : l, r = n.getPluralRules(t, { type: c.pluralType }).select(e - (c.offset || 0));
|
|
2226
2228
|
a = (Object.prototype.hasOwnProperty.call(c.options, r) ? c.options[r] : void 0) || c.options.other;
|
|
2227
2229
|
}
|
|
2228
|
-
if (!a) throw new
|
|
2230
|
+
if (!a) throw new K(c.value, l, Object.keys(c.options), o);
|
|
2229
2231
|
let u = typeof l == "bigint" ? Number(l) : l;
|
|
2230
|
-
s.push(...
|
|
2232
|
+
s.push(...q(a.value, t, n, r, i, u - (c.offset || 0)));
|
|
2231
2233
|
continue;
|
|
2232
2234
|
}
|
|
2233
2235
|
}
|
|
2234
|
-
return
|
|
2236
|
+
return Ce(s);
|
|
2235
2237
|
}
|
|
2236
|
-
function
|
|
2238
|
+
function Te(e, t) {
|
|
2237
2239
|
return t ? {
|
|
2238
2240
|
...e,
|
|
2239
2241
|
...t,
|
|
@@ -2243,10 +2245,10 @@ function he(e, t) {
|
|
|
2243
2245
|
}, n), {})
|
|
2244
2246
|
} : e;
|
|
2245
2247
|
}
|
|
2246
|
-
function
|
|
2247
|
-
return t ? Object.keys(e).reduce((n, r) => (n[r] =
|
|
2248
|
+
function Ee(e, t) {
|
|
2249
|
+
return t ? Object.keys(e).reduce((n, r) => (n[r] = Te(e[r], t[r]), n), { ...e }) : e;
|
|
2248
2250
|
}
|
|
2249
|
-
function
|
|
2251
|
+
function J(e) {
|
|
2250
2252
|
return { create() {
|
|
2251
2253
|
return {
|
|
2252
2254
|
get(t) {
|
|
@@ -2258,27 +2260,27 @@ function $(e) {
|
|
|
2258
2260
|
};
|
|
2259
2261
|
} };
|
|
2260
2262
|
}
|
|
2261
|
-
function
|
|
2263
|
+
function De(e = {
|
|
2262
2264
|
number: {},
|
|
2263
2265
|
dateTime: {},
|
|
2264
2266
|
pluralRules: {}
|
|
2265
2267
|
}) {
|
|
2266
2268
|
return {
|
|
2267
|
-
getNumberFormat:
|
|
2268
|
-
cache:
|
|
2269
|
-
strategy:
|
|
2269
|
+
getNumberFormat: a((...e) => new Intl.NumberFormat(...e), {
|
|
2270
|
+
cache: J(e.number),
|
|
2271
|
+
strategy: p.variadic
|
|
2270
2272
|
}),
|
|
2271
|
-
getDateTimeFormat:
|
|
2272
|
-
cache:
|
|
2273
|
-
strategy:
|
|
2273
|
+
getDateTimeFormat: a((...e) => new Intl.DateTimeFormat(...e), {
|
|
2274
|
+
cache: J(e.dateTime),
|
|
2275
|
+
strategy: p.variadic
|
|
2274
2276
|
}),
|
|
2275
|
-
getPluralRules:
|
|
2276
|
-
cache:
|
|
2277
|
-
strategy:
|
|
2277
|
+
getPluralRules: a((...e) => new Intl.PluralRules(...e), {
|
|
2278
|
+
cache: J(e.pluralRules),
|
|
2279
|
+
strategy: p.variadic
|
|
2278
2280
|
})
|
|
2279
2281
|
};
|
|
2280
2282
|
}
|
|
2281
|
-
var
|
|
2283
|
+
var Oe = class e {
|
|
2282
2284
|
constructor(t, n = e.defaultLocale, r, i) {
|
|
2283
2285
|
if (this.formatterCache = {
|
|
2284
2286
|
number: {},
|
|
@@ -2289,7 +2291,7 @@ var ve = class e {
|
|
|
2289
2291
|
if (t.length === 1) return t[0].value;
|
|
2290
2292
|
let n = t.reduce((e, t) => (!e.length || t.type !== 0 || typeof e[e.length - 1] != "string" ? e.push(t.value) : e[e.length - 1] += t.value, e), []);
|
|
2291
2293
|
return n.length <= 1 ? n[0] || "" : n;
|
|
2292
|
-
}, this.formatToParts = (e) =>
|
|
2294
|
+
}, this.formatToParts = (e) => q(this.ast, this.locales, this.formatters, this.formats, e, void 0, this.message), this.resolvedOptions = () => ({ locale: this.resolvedLocale?.toString() || Intl.NumberFormat.supportedLocalesOf(this.locales)[0] }), this.getAst = () => this.ast, this.locales = n, this.resolvedLocale = e.resolveLocale(n), typeof t == "string") {
|
|
2293
2295
|
if (this.message = t, !e.__parse) throw TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
|
2294
2296
|
let { ...n } = i || {};
|
|
2295
2297
|
this.ast = e.__parse(t, {
|
|
@@ -2298,7 +2300,7 @@ var ve = class e {
|
|
|
2298
2300
|
});
|
|
2299
2301
|
} else this.ast = t;
|
|
2300
2302
|
if (!Array.isArray(this.ast)) throw TypeError("A message must be provided as a String or AST.");
|
|
2301
|
-
this.formats =
|
|
2303
|
+
this.formats = Ee(e.formats, r), this.formatters = i && i.formatters || De(this.formatterCache);
|
|
2302
2304
|
}
|
|
2303
2305
|
static {
|
|
2304
2306
|
this.memoizedDefaultLocale = null;
|
|
@@ -2314,7 +2316,7 @@ var ve = class e {
|
|
|
2314
2316
|
};
|
|
2315
2317
|
}
|
|
2316
2318
|
static {
|
|
2317
|
-
this.__parse =
|
|
2319
|
+
this.__parse = be;
|
|
2318
2320
|
}
|
|
2319
2321
|
static {
|
|
2320
2322
|
this.formats = {
|
|
@@ -2371,6 +2373,38 @@ var ve = class e {
|
|
|
2371
2373
|
}
|
|
2372
2374
|
};
|
|
2373
2375
|
}
|
|
2374
|
-
};
|
|
2376
|
+
}, ke = 500, Y = /* @__PURE__ */ new Map();
|
|
2377
|
+
function X(e, t) {
|
|
2378
|
+
let n = `${t}\u0000${e}`, r = Y.get(n);
|
|
2379
|
+
return r || (r = new Oe(e, t), Y.size >= ke && Y.clear(), Y.set(n, r)), r;
|
|
2380
|
+
}
|
|
2381
|
+
function Ae(e, t, n) {
|
|
2382
|
+
try {
|
|
2383
|
+
return X(e, t).format(n);
|
|
2384
|
+
} catch (t) {
|
|
2385
|
+
return console.error(t), e;
|
|
2386
|
+
}
|
|
2387
|
+
}
|
|
2388
|
+
var je = () => !(typeof process < "u" && process.env.NODE_ENV === "production");
|
|
2389
|
+
function Me(e, t, n) {
|
|
2390
|
+
if (!n && !e.includes("{")) return e;
|
|
2391
|
+
try {
|
|
2392
|
+
return X(e, t).format(n);
|
|
2393
|
+
} catch (t) {
|
|
2394
|
+
return je() && console.warn(`[@nxgt/material-vue] Could not format the fallback "${e}":`, t), e;
|
|
2395
|
+
}
|
|
2396
|
+
}
|
|
2397
|
+
//#endregion
|
|
2398
|
+
//#region lib/i18n/translator.ts
|
|
2399
|
+
function Z() {
|
|
2400
|
+
return r(n, "en", t);
|
|
2401
|
+
}
|
|
2402
|
+
function Q(e = {}, t = Z) {
|
|
2403
|
+
return (n, r = void 0, a = t) => {
|
|
2404
|
+
let o = typeof a == "function" ? a() : a;
|
|
2405
|
+
return Ae(i(e[o], n) ?? n, o, r);
|
|
2406
|
+
};
|
|
2407
|
+
}
|
|
2408
|
+
var $ = Q(e);
|
|
2375
2409
|
//#endregion
|
|
2376
|
-
export {
|
|
2410
|
+
export { Me as i, Z as n, $ as r, Q as t };
|