@astryx-vue/core 0.7.27 → 0.7.29
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/dist/AlertDialog/index.d.ts +1 -1
- package/dist/AlertDialog/index.js +1 -1
- package/dist/{AlertDialog-DZpJzvOC.js → AlertDialog-BO2LucRK.js} +3 -3
- package/dist/AppShell/index.d.ts +1 -1
- package/dist/AppShell/index.js +1 -1
- package/dist/{AppShell-D7ik41g-.js → AppShell-CeFsQXNh.js} +8 -3
- package/dist/Avatar/index.js +1 -1
- package/dist/{Avatar-D_C9RBJb.js → Avatar-76xnfD9n.js} +3 -2
- package/dist/AvatarGroup/index.d.ts +1 -1
- package/dist/AvatarGroup/index.js +1 -1
- package/dist/{AvatarGroup-CFvNDgU-.js → AvatarGroup-Beuljwpu.js} +5 -3
- package/dist/Banner/index.d.ts +1 -1
- package/dist/Banner/index.js +1 -1
- package/dist/{Banner-C1B7DsHS.js → Banner-C-8DEWdJ.js} +4 -3
- package/dist/BottomSheet/index.d.ts +1 -1
- package/dist/Breadcrumbs/index.d.ts +2 -2
- package/dist/Breadcrumbs/index.js +2 -2
- package/dist/{Breadcrumbs-BgiZY7un.js → Breadcrumbs-sakAtNnr.js} +1 -1
- package/dist/Button/index.d.ts +2 -2
- package/dist/Button/index.js +1 -1
- package/dist/{Button-DsjdehLZ.js → Button-BeNp2zq_.js} +7 -4
- package/dist/ButtonGroup/index.d.ts +1 -1
- package/dist/ButtonGroup/index.js +1 -1
- package/dist/{ButtonGroup-CSW7a9vq.js → ButtonGroup-CosYAili.js} +15 -4
- package/dist/Calendar/index.d.ts +1 -1
- package/dist/Calendar/index.js +1 -1
- package/dist/{Calendar-Bzgi-XyF.js → Calendar-DwFAzDky.js} +4 -3
- package/dist/Card/index.d.ts +1 -1
- package/dist/Carousel/index.js +1 -1
- package/dist/{Carousel--VycM-Sa.js → Carousel-C8kE0YJh.js} +4 -3
- package/dist/Chat/index.d.ts +1 -1
- package/dist/Chat/index.js +1 -1
- package/dist/{Chat-C1DlnlCQ.js → Chat-Bl_Wr2lK.js} +26 -25
- package/dist/CheckboxInput/index.d.ts +1 -1
- package/dist/CheckboxInput/index.js +1 -1
- package/dist/{CheckboxInput-uk8nuCEf.js → CheckboxInput-iCg8FgRv.js} +1 -1
- package/dist/CheckboxList/index.d.ts +1 -1
- package/dist/CheckboxList/index.js +1 -1
- package/dist/{CheckboxList-Dr4kQ-BC.js → CheckboxList-Dr40y9ME.js} +5 -4
- package/dist/Citation/index.js +1 -1
- package/dist/{Citation-BAFsn6N1.js → Citation-CSgRYxGU.js} +3 -2
- package/dist/ClickableCard/index.d.ts +1 -1
- package/dist/Code/index.d.ts +1 -1
- package/dist/Code/index.js +1 -1
- package/dist/{CodeBlock-PSnUWX57.js → CodeBlock-CSxQPryb.js} +1 -1
- package/dist/CommandPalette/index.d.ts +1 -1
- package/dist/CommandPalette/index.js +1 -1
- package/dist/{CommandPalette-lewtyQrO.js → CommandPalette-C1duZfmg.js} +8 -7
- package/dist/ComplexSelector/index.d.ts +1 -1
- package/dist/ComplexSelector/index.js +1 -1
- package/dist/{ComplexSelector-BUnqjeW5.js → ComplexSelector-DFKi6sKq.js} +6 -5
- package/dist/ContextMenu/index.d.ts +2 -2
- package/dist/ContextMenu/index.js +2 -2
- package/dist/{ContextMenu-IDkvorRp.js → ContextMenu-DN_nTBgW.js} +6 -5
- package/dist/DateInput/index.d.ts +1 -1
- package/dist/DateInput/index.js +1 -1
- package/dist/{DateInput-DTxxFz9-.js → DateInput-CI1_FFPZ.js} +14 -9
- package/dist/DateRangeInput/index.d.ts +1 -1
- package/dist/DateRangeInput/index.js +1 -1
- package/dist/{DateRangeInput-D4Us58KW.js → DateRangeInput-lTx_eqfT.js} +14 -8
- package/dist/DateTimeInput/index.d.ts +1 -1
- package/dist/DateTimeInput/index.js +1 -1
- package/dist/{DateTimeInput-CliLnI7P.js → DateTimeInput-BouEOOwo.js} +16 -8
- package/dist/Dialog/index.d.ts +1 -1
- package/dist/Dialog/index.js +1 -1
- package/dist/{DialogHeader-Hk419KW1.js → DialogHeader-cr9rFLYM.js} +4 -3
- package/dist/Drawer/index.d.ts +1 -1
- package/dist/Drawer/index.js +1 -1
- package/dist/{Drawer-DoQ9hjKz.js → Drawer-Ba-yG1rk.js} +1 -1
- package/dist/DropdownMenu/index.d.ts +2 -2
- package/dist/DropdownMenu/index.js +3 -3
- package/dist/{DropdownMenu-BF2Z5T4h.js → DropdownMenu-BJicFgwf.js} +4 -5
- package/dist/{DropdownMenu-B2iga1fe.js → DropdownMenu-BPZjqbcw.js} +3 -4
- package/dist/{DropdownMenuRadioItem.vue-D455cIQQ.d.ts → DropdownMenuRadioItem.vue-C9DdN6UE.d.ts} +1 -1
- package/dist/Field/index.d.ts +2 -2
- package/dist/Field/index.js +3 -3
- package/dist/{Field-if5a58LO.js → Field-Dc15m78p.js} +1 -1
- package/dist/{FieldInfoTip-BJAaKJjM.js → FieldInfoTip-BouJddgS.js} +1 -1
- package/dist/{FieldLabel-C-IaUcP4.js → FieldLabel-CfO3zaZ5.js} +4 -3
- package/dist/FieldStatus/index.d.ts +1 -1
- package/dist/FileInput/index.d.ts +1 -1
- package/dist/FileInput/index.js +1 -1
- package/dist/{FileInput-0zBWfO8h.js → FileInput-CFUgV2px.js} +6 -5
- package/dist/HoverCard/index.d.ts +1 -1
- package/dist/Icon/index.d.ts +3 -3
- package/dist/IconButton/index.d.ts +1 -1
- package/dist/IconButton/index.js +1 -1
- package/dist/{IconButton-Crtfruc0.js → IconButton-C91rhbvu.js} +1 -1
- package/dist/Indicator/index.d.ts +2 -2
- package/dist/InfoTip/index.d.ts +1 -1
- package/dist/InfoTip/index.js +1 -1
- package/dist/{InfoTip-DNQy7wqB.js → InfoTip-iKOp_vUV.js} +3 -2
- package/dist/{InputClearButton-DhvxPkK6.js → InputClearButton-BiF7qGMR.js} +8 -5
- package/dist/InputGroup/index.d.ts +1 -1
- package/dist/InputGroup/index.js +1 -1
- package/dist/{InputGroup-B1kG0rBN.js → InputGroup-CIKleAu8.js} +1 -1
- package/dist/InternationalizationProvider/index.js +1 -1
- package/dist/{InternationalizationProvider-CUEIHCf4.js → InternationalizationProvider-CcEXq6fT.js} +2 -3
- package/dist/Kbd/index.js +1 -1
- package/dist/{Kbd-DyxKNYtE.js → Kbd-D4JPY4VI.js} +3 -2
- package/dist/Lightbox/index.js +1 -1
- package/dist/{Lightbox-B8uMFPOS.js → Lightbox-VlvxtZn4.js} +5 -4
- package/dist/Link/index.d.ts +1 -1
- package/dist/Link/index.js +1 -1
- package/dist/{Link-Kc2RQFHc.js → Link-k1Z20GSP.js} +3 -2
- package/dist/List/index.d.ts +1 -1
- package/dist/Markdown/index.js +1 -1
- package/dist/{Markdown-NVkHi_tk.js → Markdown-DsE-40yq.js} +9 -4
- package/dist/{MediaTheme-Bt7WBTkq.js → MediaTheme-BVKUsMfC.js} +37 -1
- package/dist/MetadataList/index.js +1 -1
- package/dist/{MetadataList-4GnMi6s9.js → MetadataList-n3YXiP4a.js} +3 -2
- package/dist/MobileNav/index.js +1 -1
- package/dist/{MobileNavToggle-TMDrnXfG.js → MobileNavToggle-_dutVRGj.js} +4 -3
- package/dist/MoreMenu/index.d.ts +1 -1
- package/dist/MoreMenu/index.js +1 -1
- package/dist/{MoreMenu-CpGEXWCd.js → MoreMenu-1lxF-JY5.js} +4 -3
- package/dist/MultiSelector/index.d.ts +1 -1
- package/dist/MultiSelector/index.js +1 -1
- package/dist/{MultiSelector-Baca6xNx.js → MultiSelector-Slqiulwd.js} +8 -7
- package/dist/{NavHeadingSurface-j2gzMVKt.js → NavHeadingSurface-Cjp2DHPt.js} +3 -2
- package/dist/NavItem/index.d.ts +1 -1
- package/dist/NumberInput/index.d.ts +1 -1
- package/dist/NumberInput/index.js +1 -1
- package/dist/{NumberInput-BBFGZ4Fg.js → NumberInput-Bsz7bmRp.js} +6 -5
- package/dist/Outline/index.js +1 -1
- package/dist/{Outline-BgDOI3ar.js → Outline-BXu7HCHp.js} +3 -2
- package/dist/OverflowList/index.d.ts +1 -1
- package/dist/OverflowList/index.js +1 -1
- package/dist/{OverflowList-D4fC5s_q.js → OverflowList-CJZgNVSb.js} +3 -2
- package/dist/Overlay/index.d.ts +1 -1
- package/dist/Pagination/index.d.ts +1 -1
- package/dist/Pagination/index.js +1 -1
- package/dist/{Pagination-Do_MIlo4.js → Pagination-DOw8gHjL.js} +4 -3
- package/dist/Popover/index.d.ts +1 -1
- package/dist/Popover/index.js +1 -1
- package/dist/{Popover-Bd93LlDd.js → Popover-cnfHz2tm.js} +4 -3
- package/dist/PowerSearch/index.d.ts +1 -1
- package/dist/PowerSearch/index.js +1 -1
- package/dist/{PowerSearch-DyqItMHo.js → PowerSearch-2jO62NSM.js} +19 -18
- package/dist/ProgressBar/index.d.ts +1 -1
- package/dist/Radio/index.d.ts +1 -1
- package/dist/Radio/index.js +1 -1
- package/dist/{RadioGroup-Dzp4qSgm.js → RadioGroup-D3TXgdwV.js} +1 -1
- package/dist/RadioList/index.d.ts +1 -1
- package/dist/RadioList/index.js +1 -1
- package/dist/{RadioList-CAIgB1j_.js → RadioList-Boj8QfPe.js} +1 -1
- package/dist/Resizable/index.d.ts +1 -1
- package/dist/Resizable/index.js +1 -1
- package/dist/{ResizeHandle-GAmiHb0-.js → ResizeHandle-Bon51yNV.js} +3 -2
- package/dist/ScrollableArea/index.d.ts +1 -1
- package/dist/SelectableCard/index.d.ts +1 -1
- package/dist/Selector/index.d.ts +1 -1
- package/dist/Selector/index.js +1 -1
- package/dist/{Selector-B9lINQRM.js → Selector-DCrEaxnG.js} +6 -5
- package/dist/SideNav/index.d.ts +1 -1
- package/dist/SideNav/index.js +1 -1
- package/dist/{SideNav-DzZ12DIq.js → SideNav-DeVtoFFq.js} +8 -7
- package/dist/Slider/index.d.ts +1 -1
- package/dist/Slider/index.js +1 -1
- package/dist/{Slider-Cuk2ul9w.js → Slider-BFc5GTXb.js} +1 -1
- package/dist/Spinner/index.js +1 -1
- package/dist/{Spinner-ke63bQPv.js → Spinner-DEVPDsD0.js} +3 -2
- package/dist/Stack/index.d.ts +1 -1
- package/dist/Stepper/index.d.ts +1 -1
- package/dist/Stepper/index.js +1 -1
- package/dist/{Stepper-C68f_iJG.js → Stepper-B_CDbhCW.js} +4 -3
- package/dist/Switch/index.d.ts +1 -1
- package/dist/Switch/index.js +1 -1
- package/dist/{Switch-bnxiN6Qe.js → Switch-B0E8cZy7.js} +4 -3
- package/dist/TabList/index.d.ts +1 -1
- package/dist/TabList/index.js +1 -1
- package/dist/{TabList-8dlO0Ws6.js → TabList-DBSXa5QT.js} +3 -2
- package/dist/Table/index.d.ts +1 -1
- package/dist/Table/index.js +1 -1
- package/dist/{Table-j_DCDbcI.js → Table-sKQpWVKc.js} +24 -23
- package/dist/TextArea/index.d.ts +1 -1
- package/dist/TextArea/index.js +1 -1
- package/dist/{TextArea-Bzz_KcKT.js → TextArea-BzcHz2qI.js} +11 -6
- package/dist/TextInput/index.d.ts +1 -1
- package/dist/TextInput/index.js +1 -1
- package/dist/{TextInput-givkH9HQ.js → TextInput-BeJNEQL6.js} +7 -6
- package/dist/Theme/index.d.ts +3 -3
- package/dist/Theme/index.js +3 -3
- package/dist/{Theme-BQe--DY6.js → Theme-1r_aWHvr.js} +330 -4
- package/dist/Thumbnail/index.js +1 -1
- package/dist/{Thumbnail-CZOWP5HN.js → Thumbnail-CTkLFo-A.js} +9 -4
- package/dist/{TimeField-ByoS5s_I.js → TimeField-BGtS_m-U.js} +10 -5
- package/dist/TimeInput/index.d.ts +1 -1
- package/dist/TimeInput/index.js +1 -1
- package/dist/{TimeInput-D9kvMQso.js → TimeInput-BKfg3SZ7.js} +2 -2
- package/dist/Timestamp/index.d.ts +1 -1
- package/dist/Timestamp/index.js +1 -1
- package/dist/{Timestamp-CEdNhKc5.js → Timestamp-B7H0KScU.js} +5 -4
- package/dist/Toast/index.js +1 -1
- package/dist/{Toast-CnZrcU-G.js → Toast-aI9QMW-L.js} +5 -4
- package/dist/ToggleButton/index.d.ts +1 -1
- package/dist/ToggleButton/index.js +1 -1
- package/dist/{ToggleButton-BMn4yJXe.js → ToggleButton-DI9I-LBH.js} +14 -7
- package/dist/Token/index.d.ts +1 -1
- package/dist/Token/index.js +1 -1
- package/dist/{Token-DWCDMawn.js → Token-CtG_XE6z.js} +3 -2
- package/dist/Tokenizer/index.d.ts +1 -1
- package/dist/Tokenizer/index.js +1 -1
- package/dist/{Tokenizer-R0eC1BOk.js → Tokenizer-XeyJuIJ7.js} +6 -5
- package/dist/Toolbar/index.d.ts +1 -1
- package/dist/Tooltip/index.d.ts +1 -1
- package/dist/TopNav/index.d.ts +1 -1
- package/dist/TopNav/index.js +1 -1
- package/dist/{TopNav-DHunql9h.js → TopNav-zpU9w-mH.js} +5 -4
- package/dist/TreeList/index.js +1 -1
- package/dist/{TreeList-Dg5gtkOu.js → TreeList-DeknLfbQ.js} +3 -2
- package/dist/Typeahead/index.d.ts +1 -1
- package/dist/Typeahead/index.js +2 -2
- package/dist/{Typeahead-BkmCC6DX.js → Typeahead-GOdnQXcB.js} +7 -6
- package/dist/{TypeaheadMenu-CFeJCv-6.js → TypeaheadMenu-BOzaCvSb.js} +1 -1
- package/dist/avatar-group-Dcn6i_ne.js +13 -0
- package/dist/banner-Bv76b50U.js +17 -0
- package/dist/calendar-Cs2vIPsV.js +31 -0
- package/dist/carousel-BHUqW44m.js +18 -0
- package/dist/chat-mh_siWVp.js +94 -0
- package/dist/checkbox-list-uI6q4y3V.js +13 -0
- package/dist/citation-h6fyz-JH.js +7 -0
- package/dist/command-palette-DuNs5XAd.js +34 -0
- package/dist/composables/index.d.ts +1 -1
- package/dist/composables/index.js +2 -2
- package/dist/{composables-DqJzanJ5.js → composables-lCxHhZQY.js} +4 -3
- package/dist/context-B8IEFCDR.js +51 -0
- package/dist/context-BJ9RkXYX.js +676 -0
- package/dist/context-menu-9i6CObx3.js +7 -0
- package/dist/date-input-Bj3KSuoJ.js +38 -0
- package/dist/date-range-input-CoCiWt9_.js +18 -0
- package/dist/dialog-CNjGcdd1.js +7 -0
- package/dist/dropdown-menu-BDu4gWwQ.js +15 -0
- package/dist/field-CehUqCe0.js +15 -0
- package/dist/file-input-C2JFODtb.js +40 -0
- package/dist/{locale-BA52q_fh.js → format-CiN0Dt_H.js} +1 -30
- package/dist/{index-BU78NOP-.d.ts → index-B0R5CLPF.d.ts} +1 -1
- package/dist/{index-rbhycKiu.d.ts → index-B16Jb5mf.d.ts} +11 -11
- package/dist/{index-CfPGC9aW.d.ts → index-BMCjAlq6.d.ts} +1 -1
- package/dist/{index-D57GW53K.d.ts → index-BMVI4cM5.d.ts} +1 -1
- package/dist/{index-rszZajcw.d.ts → index-BPf_jmME.d.ts} +2 -2
- package/dist/{index-BgT6mH3U.d.ts → index-BR3MOBYd.d.ts} +2 -2
- package/dist/{index-CbNLiaWw.d.ts → index-Bfm6mF-r.d.ts} +47 -2
- package/dist/{index-CAoenU4T.d.ts → index-BlhbRf58.d.ts} +1 -1
- package/dist/{index-gw92L7ZG.d.ts → index-BmYnVNI-.d.ts} +5 -5
- package/dist/{index-3t5RAfNP.d.ts → index-Bn-v89Vt.d.ts} +4 -4
- package/dist/{index-BDZCJ9ri.d.ts → index-BuubzuE8.d.ts} +2 -2
- package/dist/{index-BZuEYd9y.d.ts → index-BvWBeoa8.d.ts} +2 -2
- package/dist/{index-BOCb89V9.d.ts → index-BxWCX2pJ.d.ts} +1 -1
- package/dist/{index-DyALKpjX.d.ts → index-CM2L3SUw.d.ts} +4 -4
- package/dist/{index-B-3EGjfQ.d.ts → index-CO9GW-ik.d.ts} +1 -1
- package/dist/{index-Bgk1Rj2A.d.ts → index-CTjkJP4x.d.ts} +1 -1
- package/dist/{index-CvquEEGw.d.ts → index-CXOAA8us.d.ts} +2 -2
- package/dist/{index-YKCx03zD.d.ts → index-CdvmnNMH.d.ts} +1 -1
- package/dist/{index-BPyRH3WL.d.ts → index-CfXW4km8.d.ts} +1 -1
- package/dist/{index-Be7N3B5F.d.ts → index-CvLWh-d-.d.ts} +2 -2
- package/dist/{index-DaXzQxos.d.ts → index-CxdKu7d2.d.ts} +2 -2
- package/dist/{index-BzZC2Y7c.d.ts → index-Cz72NaF_.d.ts} +1 -1
- package/dist/{index-C3f1zsJR.d.ts → index-D4FgX9h3.d.ts} +4 -4
- package/dist/{index-DkF8wxHr.d.ts → index-DCxdesMw.d.ts} +8 -8
- package/dist/{index-C16d2Fc4.d.ts → index-DDAcxZAP.d.ts} +1 -1
- package/dist/{index-DCU6dy7n.d.ts → index-DKgonPjs.d.ts} +1 -1
- package/dist/{index-CL8JvxHW.d.ts → index-DY8Wph-A.d.ts} +2 -2
- package/dist/{index-IfiA8CSr.d.ts → index-DZKv1WNB.d.ts} +3 -3
- package/dist/{index-CM8KfpBL.d.ts → index-Dlq0cFK-.d.ts} +2 -2
- package/dist/{index--tm6L1ot.d.ts → index-DpYJBFJj.d.ts} +1 -1
- package/dist/{index-DN1RqxjP.d.ts → index-DxR6cZBf.d.ts} +1 -1
- package/dist/{index-IFFGXlhq.d.ts → index-GmoeIuhl.d.ts} +1 -1
- package/dist/{index-_VG-Bc2K.d.ts → index-MOtVbTwK.d.ts} +5 -5
- package/dist/{index-DhMCql2U.d.ts → index-NHtQmIIM.d.ts} +1 -1
- package/dist/{index-B1eCxBCY.d.ts → index-TXcNH86P.d.ts} +1 -1
- package/dist/{index-D21zdEgS.d.ts → index-Uh-ddE5F.d.ts} +1 -1
- package/dist/{index-BSlzqFzV.d.ts → index-a1jCiQP7.d.ts} +5 -5
- package/dist/{index-D4zmrP2a.d.ts → index-dRBNR7Tq.d.ts} +80 -80
- package/dist/{index-BjbPK91B.d.ts → index-pACjRM0E.d.ts} +8 -2
- package/dist/{index-Dy746dfn.d.ts → index-unAZVFGz.d.ts} +1 -1
- package/dist/index.d.ts +48 -48
- package/dist/index.js +80 -81
- package/dist/info-tip-BV42YsA4.js +7 -0
- package/dist/input-DUSvqqG_.js +17 -0
- package/dist/kbd-C-D_nOfU.js +41 -0
- package/dist/keyboard-hint-KWx0-7kD.js +7 -0
- package/dist/layout-DzxSsBe8.js +17 -0
- package/dist/lightbox-BrvPVD8I.js +32 -0
- package/dist/loadCatalog-BHlH2S6H.js +2349 -0
- package/dist/locale/index.d.ts +1 -1
- package/dist/locale/index.js +4 -4
- package/dist/{useTranslator-Q85hi4qz.js → locale-BGrZM4ow.js} +31 -3
- package/dist/markdown-JcCeKquw.js +23 -0
- package/dist/metadata-list-BEmAuMYs.js +13 -0
- package/dist/more-menu-B_dod4C-.js +7 -0
- package/dist/multi-selector-B_pe6KkZ.js +48 -0
- package/dist/nav-CoUOgByC.js +50 -0
- package/dist/number-input-Dw5NSQxh.js +18 -0
- package/dist/outline-BflaJV62.js +7 -0
- package/dist/pagination-Ds3yXCJw.js +58 -0
- package/dist/popover-DxCyd_Ua.js +7 -0
- package/dist/{searchResultMessage-CFmIy2Da.js → searchResultMessage-BEqDlHdV.js} +3 -2
- package/dist/selector-qWbffnIX.js +30 -0
- package/dist/{semantic-CXHSMwPK.d.ts → semantic-Dj507RuV.d.ts} +1 -1
- package/dist/shared-aoQdb_6V.js +23 -0
- package/dist/spinner-DVia-eDf.js +7 -0
- package/dist/stepper-BOgJs2Ht.js +32 -0
- package/dist/switch-B9xwxdOU.js +7 -0
- package/dist/tab-list-B_q2n-9d.js +7 -0
- package/dist/text-area-Co4Egt6b.js +14 -0
- package/dist/text-input-BtwGEoGv.js +8 -0
- package/dist/thumbnail-BI82Ijpj.js +15 -0
- package/dist/time-input-DL1_SV7j.js +68 -0
- package/dist/timestamp-CFBVCsHF.js +17 -0
- package/dist/toast-BvAnX6Vc.js +13 -0
- package/dist/token-DcbdjdZ2.js +7 -0
- package/dist/tokenizer-DD_UBzR7.js +29 -0
- package/dist/tree-list-NZ1EZhtd.js +7 -0
- package/dist/typeahead-BzrhssJi.js +24 -0
- package/dist/{types-Dcai2Icw.d.ts → types-D8t_HevJ.d.ts} +1 -0
- package/dist/{types-hB0M54I7.d.ts → types-DRpOiAlm.d.ts} +1 -1
- package/dist/{types-BwVJBE-G.d.ts → types-bAQk3F8G.d.ts} +1 -1
- package/dist/{types-Bq4Yl6CS.d.ts → types-uWxXh1Jm.d.ts} +7 -2
- package/dist/{useActionGroupTracking-BncJjk1A.js → useActionGroupTracking-B4niQ_tR.js} +3 -3
- package/dist/{useInputStatusIcon-DCnx00BM.js → useInputStatusIcon-Da2FiXwF.js} +1 -1
- package/dist/{useMenuDrillIn-C5eJCuO1.js → useMenuDrillIn-uQtOSny6.js} +9 -1
- package/package.json +1 -1
- package/styles/avatar.css +2 -2
- package/styles/badge.css +8 -0
- package/styles/button.css +3 -0
- package/styles/chat.css +10 -3
- package/styles/dropdown-menu.css +3 -3
- package/styles/field.css +9 -9
- package/styles/icon.css +4 -0
- package/styles/input-group.css +6 -6
- package/styles/list.css +7 -0
- package/styles/more-menu.css +4 -4
- package/styles/number-input.css +6 -6
- package/styles/power-search.css +3 -3
- package/styles/progress-bar.css +8 -0
- package/styles/status-dot.css +21 -1
- package/styles/stepper.css +11 -3
- package/styles/text-area.css +1 -1
- package/styles/touch-hit-area.css +37 -0
- package/styles.css +1 -0
- package/dist/context-CV6TrhJY.js +0 -2080
- package/dist/context-CZP3jfy-.js +0 -125
- package/dist/loadCatalog-Bulk4H7U.js +0 -143
- package/dist/upstreamMap-DrkVNtXW.js +0 -1073
- package/dist/{index-BqhgeAT4.d.ts → index-J6YRJ7Ul.d.ts} +1 -1
package/dist/Token/index.js
CHANGED
|
@@ -2,10 +2,11 @@ import { t as usePressFeedback } from "./usePressFeedback-Bcjsw9vv.js";
|
|
|
2
2
|
import { n as isSafeUrl } from "./safeUrl-CsvfcZ9m.js";
|
|
3
3
|
import { n as useLinkComponent } from "./context-C_peZbXf.js";
|
|
4
4
|
import { t as useInteractiveRole } from "./useInteractiveRole-Cn0Nd5GX.js";
|
|
5
|
-
import {
|
|
5
|
+
import { o as useComponentMessages } from "./context-B8IEFCDR.js";
|
|
6
6
|
import { t as useResolvedLabelHidden } from "./useResolvedLabelHidden-B2rlWiaI.js";
|
|
7
7
|
import { t as textDirection } from "./textDirection-D4ObTwbB.js";
|
|
8
8
|
import { n as disabledInteractionProps } from "./disabledInteraction-CPzL8kVP.js";
|
|
9
|
+
import { t as tokenMessages } from "./token-DcbdjdZ2.js";
|
|
9
10
|
import { computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, defineComponent, inject, mergeProps, normalizeClass, openBlock, renderSlot, resolveDynamicComponent, toDisplayString, toRaw, unref, useAttrs, withCtx } from "vue";
|
|
10
11
|
import "../styles/visually-hidden-utility.css";
|
|
11
12
|
import "../styles/token.css";
|
|
@@ -52,7 +53,7 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
52
53
|
const props = __props;
|
|
53
54
|
const emit = __emit;
|
|
54
55
|
const attrs = useAttrs();
|
|
55
|
-
const messages =
|
|
56
|
+
const messages = useComponentMessages({ token: tokenMessages });
|
|
56
57
|
/** 正名 isLabelHidden,旧名 labelHidden 任一为真就藏起文字。 */
|
|
57
58
|
const hideLabel = useResolvedLabelHidden(() => props.isLabelHidden, () => props.labelHidden);
|
|
58
59
|
const linkComponent = useLinkComponent();
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as TokenizerProps, c as TokenizerStatus, i as TokenizerOverflow, n as TokenizerChange, o as TokenizerSize, r as TokenizerEmits, s as TokenizerSlots, t as _default } from "../index-
|
|
1
|
+
import { a as TokenizerProps, c as TokenizerStatus, i as TokenizerOverflow, n as TokenizerChange, o as TokenizerSize, r as TokenizerEmits, s as TokenizerSlots, t as _default } from "../index-Bn-v89Vt.js";
|
|
2
2
|
export { _default as Tokenizer, type TokenizerChange, type TokenizerEmits, type TokenizerOverflow, type TokenizerProps, type TokenizerSize, type TokenizerSlots, type TokenizerStatus };
|
package/dist/Tokenizer/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as _sfc_main } from "../Tokenizer-
|
|
1
|
+
import { t as _sfc_main } from "../Tokenizer-XeyJuIJ7.js";
|
|
2
2
|
export { _sfc_main as Tokenizer };
|
|
@@ -4,15 +4,16 @@ import { r as trackInteractionModality, t as getInteractionModality } from "./in
|
|
|
4
4
|
import { t as _sfc_main$1 } from "./ButtonTooltip-CNKOQHYR.js";
|
|
5
5
|
import { t as useButtonTooltip } from "./useButtonTooltip-DjCaZMp_.js";
|
|
6
6
|
import { t as useAnnounce } from "./announce-B210eJVf.js";
|
|
7
|
-
import {
|
|
7
|
+
import { o as useComponentMessages } from "./context-B8IEFCDR.js";
|
|
8
8
|
import { n as useOverflow } from "./useOverflow-VrwF5oek.js";
|
|
9
9
|
import { t as useResolvedLabelHidden } from "./useResolvedLabelHidden-B2rlWiaI.js";
|
|
10
10
|
import { t as useScrollbars } from "./useScrollbars-Ch0xqJWO.js";
|
|
11
|
-
import { t as _sfc_main$2 } from "./Field-
|
|
11
|
+
import { t as _sfc_main$2 } from "./Field-Dc15m78p.js";
|
|
12
12
|
import { t as useFieldPartStyling } from "./fieldParts-CDOlBdy6.js";
|
|
13
|
-
import { t as
|
|
13
|
+
import { t as tokenizerMessages } from "./tokenizer-DD_UBzR7.js";
|
|
14
|
+
import { t as _sfc_main$3 } from "./Token-CtG_XE6z.js";
|
|
14
15
|
import { n as useAnchoredListbox, t as scrollOptionIntoView } from "./useAnchoredListbox-9Gn8asBR.js";
|
|
15
|
-
import { i as useTypeaheadMenu, r as useLatchedOptionGrid, t as _sfc_main$4 } from "./TypeaheadMenu-
|
|
16
|
+
import { i as useTypeaheadMenu, r as useLatchedOptionGrid, t as _sfc_main$4 } from "./TypeaheadMenu-BOzaCvSb.js";
|
|
16
17
|
import { Fragment, Teleport, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createSlots, createVNode, defineComponent, mergeProps, nextTick, normalizeClass, normalizeStyle, onBeforeUnmount, onMounted, openBlock, ref, renderList, renderSlot, toDisplayString, unref, useAttrs, useId, useTemplateRef, vShow, watch, withCtx, withDirectives } from "vue";
|
|
17
18
|
import "../styles/layer.css";
|
|
18
19
|
import "../styles/visually-hidden-utility.css";
|
|
@@ -295,7 +296,7 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
295
296
|
"aria-required"
|
|
296
297
|
]
|
|
297
298
|
});
|
|
298
|
-
const messages =
|
|
299
|
+
const messages = useComponentMessages({ tokenizer: tokenizerMessages });
|
|
299
300
|
/** 正名 isLabelHidden,旧名 labelHidden 任一为真就藏起标签。 */
|
|
300
301
|
const hideLabel = useResolvedLabelHidden(() => props.isLabelHidden, () => props.labelHidden);
|
|
301
302
|
const inputId = `astryx-tokenizer-${useId()}`;
|
package/dist/Toolbar/index.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { T as _default } from "../index-
|
|
1
|
+
import { T as _default } from "../index-dRBNR7Tq.js";
|
|
2
2
|
import { $ as ToolbarSize, Q as ToolbarProps, Z as ToolbarOrientation } from "../useResizable-fEGAFziz.js";
|
|
3
3
|
export { _default as Toolbar, type ToolbarOrientation, type ToolbarProps, type ToolbarSize };
|
package/dist/Tooltip/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as TooltipAlignment, c as TooltipProps, i as _default, l as TooltipTouchTrigger, n as UseTooltipReturn, o as TooltipFocusTrigger, r as useTooltip, s as TooltipPlacement, t as UseTooltipOptions } from "../index-
|
|
1
|
+
import { a as TooltipAlignment, c as TooltipProps, i as _default, l as TooltipTouchTrigger, n as UseTooltipReturn, o as TooltipFocusTrigger, r as useTooltip, s as TooltipPlacement, t as UseTooltipOptions } from "../index-Cz72NaF_.js";
|
|
2
2
|
export { _default as Tooltip, type TooltipAlignment, type TooltipFocusTrigger, type TooltipPlacement, type TooltipProps, type TooltipTouchTrigger, type UseTooltipOptions, type UseTooltipReturn, useTooltip };
|
package/dist/TopNav/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { C as TopNavMenuProps, S as TopNavMenuItem, _ as TopNavMegaMenuEmits, b as TopNavMegaMenuProps, c as _default$5, d as _default$2, f as _default$1, g as TopNavItemProps, h as TopNavItemEmits, l as _default$4, m as TopNavHeadingProps, p as _default, s as _default$6, u as _default$3, v as TopNavMegaMenuFeaturedCardProps, w as TopNavProps, x as TopNavMenuEmits, y as TopNavMegaMenuItemProps } from "../index-
|
|
1
|
+
import { C as TopNavMenuProps, S as TopNavMenuItem, _ as TopNavMegaMenuEmits, b as TopNavMegaMenuProps, c as _default$5, d as _default$2, f as _default$1, g as TopNavItemProps, h as TopNavItemEmits, l as _default$4, m as TopNavHeadingProps, p as _default, s as _default$6, u as _default$3, v as TopNavMegaMenuFeaturedCardProps, w as TopNavProps, x as TopNavMenuEmits, y as TopNavMegaMenuItemProps } from "../index-dRBNR7Tq.js";
|
|
2
2
|
export { _default as TopNav, _default$1 as TopNavHeading, type TopNavHeadingProps, _default$2 as TopNavItem, type TopNavItemEmits, type TopNavItemProps, _default$3 as TopNavMegaMenu, type TopNavMegaMenuEmits, _default$4 as TopNavMegaMenuFeaturedCard, type TopNavMegaMenuFeaturedCardProps, _default$5 as TopNavMegaMenuItem, type TopNavMegaMenuItemProps, type TopNavMegaMenuProps, _default$6 as TopNavMenu, type TopNavMenuEmits, type TopNavMenuItem, type TopNavMenuProps, type TopNavProps };
|
package/dist/TopNav/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as _sfc_main$2, i as _sfc_main$3, n as _sfc_main$5, o as _sfc_main$1, r as _sfc_main$4, s as _sfc_main, t as _sfc_main$6 } from "../TopNav-
|
|
1
|
+
import { a as _sfc_main$2, i as _sfc_main$3, n as _sfc_main$5, o as _sfc_main$1, r as _sfc_main$4, s as _sfc_main, t as _sfc_main$6 } from "../TopNav-zpU9w-mH.js";
|
|
2
2
|
export { _sfc_main as TopNav, _sfc_main$1 as TopNavHeading, _sfc_main$2 as TopNavItem, _sfc_main$3 as TopNavMegaMenu, _sfc_main$4 as TopNavMegaMenuFeaturedCard, _sfc_main$5 as TopNavMegaMenuItem, _sfc_main$6 as TopNavMenu };
|
|
@@ -2,14 +2,15 @@ import { t as _sfc_main$8 } from "./Icon-BCHo7W0x.js";
|
|
|
2
2
|
import { n as useLinkComponent } from "./context-C_peZbXf.js";
|
|
3
3
|
import { t as useMediaQuery } from "./useMediaQuery-GMmgp28-.js";
|
|
4
4
|
import { n as useAppShellMobile } from "./useAppShellMobile-DTsyuAJ4.js";
|
|
5
|
-
import {
|
|
5
|
+
import { o as useComponentMessages } from "./context-B8IEFCDR.js";
|
|
6
6
|
import { t as useListFocus } from "./useListFocus-CbHkLT-X.js";
|
|
7
|
-
import {
|
|
7
|
+
import { t as navMessages } from "./nav-CoUOgByC.js";
|
|
8
|
+
import { n as _sfc_main$10, r as mobileNavKey, t as _sfc_main$9 } from "./MobileNavToggle-_dutVRGj.js";
|
|
8
9
|
import { i as safeNavHref, n as isNavigableHref, r as resolveNavRoot } from "./link-DuuA2eCL.js";
|
|
9
10
|
import { t as _sfc_main$11 } from "./NavItem-BZLN0U5a.js";
|
|
10
11
|
import { n as navMenuCloseKey, t as _sfc_main$12 } from "./NavDisclosure-DG4jls5z.js";
|
|
11
12
|
import { n as _sfc_main$14, t as _sfc_main$13 } from "./NavMenuItem-DIMQohIa.js";
|
|
12
|
-
import { t as _sfc_main$15 } from "./NavHeadingSurface-
|
|
13
|
+
import { t as _sfc_main$15 } from "./NavHeadingSurface-Cjp2DHPt.js";
|
|
13
14
|
import { Fragment, Teleport, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createSlots, createTextVNode, createVNode, defineComponent, guardReactiveProps, inject, nextTick, normalizeClass, normalizeProps, onMounted, openBlock, ref, renderList, renderSlot, resolveDynamicComponent, toDisplayString, unref, useId, useSlots, vShow, watch, withCtx, withDirectives, withModifiers } from "vue";
|
|
14
15
|
import "../styles/top-nav.css";
|
|
15
16
|
//#region src/TopNav/TopNav.vue
|
|
@@ -40,7 +41,7 @@ const _sfc_main$7 = /*@__PURE__*/ defineComponent({
|
|
|
40
41
|
setup(__props) {
|
|
41
42
|
const props = __props;
|
|
42
43
|
const slots = useSlots();
|
|
43
|
-
const messages =
|
|
44
|
+
const messages = useComponentMessages({ nav: navMessages });
|
|
44
45
|
const drawerId = `astryx-top-nav-${useId()}`;
|
|
45
46
|
const mobileOpen = ref(false);
|
|
46
47
|
const shell = useAppShellMobile();
|
package/dist/TreeList/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as useTreeFocus, t as _sfc_main } from "../TreeList-
|
|
1
|
+
import { n as useTreeFocus, t as _sfc_main } from "../TreeList-DeknLfbQ.js";
|
|
2
2
|
export { _sfc_main as TreeList, useTreeFocus };
|
|
@@ -3,9 +3,10 @@ import { t as usePressFeedback } from "./usePressFeedback-Bcjsw9vv.js";
|
|
|
3
3
|
import { i as isIconGlyph, t as _sfc_main$2 } from "./Icon-BCHo7W0x.js";
|
|
4
4
|
import { n as isSafeUrl } from "./safeUrl-CsvfcZ9m.js";
|
|
5
5
|
import { n as useLinkComponent } from "./context-C_peZbXf.js";
|
|
6
|
-
import {
|
|
6
|
+
import { o as useComponentMessages } from "./context-B8IEFCDR.js";
|
|
7
7
|
import { t as _sfc_main$3 } from "./Badge-BbPS_49c.js";
|
|
8
8
|
import { t as consumeWhileDisabled } from "./disabledInteraction-CPzL8kVP.js";
|
|
9
|
+
import { t as treeListMessages } from "./tree-list-NZ1EZhtd.js";
|
|
9
10
|
import { Fragment, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createTextVNode, createVNode, defineComponent, mergeProps, normalizeClass, normalizeStyle, onMounted, openBlock, reactive, ref, renderList, renderSlot, resolveComponent, resolveDynamicComponent, toDisplayString, toRaw, unref, useAttrs, useId, useSlots, vShow, withCtx, withDirectives } from "vue";
|
|
10
11
|
import "../styles/tree-list.css";
|
|
11
12
|
//#region src/TreeList/TreeListItem.vue
|
|
@@ -102,7 +103,7 @@ const _sfc_main$1 = /*@__PURE__*/ defineComponent({
|
|
|
102
103
|
setup(__props, { emit: __emit }) {
|
|
103
104
|
const props = __props;
|
|
104
105
|
const emit = __emit;
|
|
105
|
-
const messages =
|
|
106
|
+
const messages = useComponentMessages({ treeList: treeListMessages });
|
|
106
107
|
const linkComponent = useLinkComponent();
|
|
107
108
|
const labelId = useId();
|
|
108
109
|
const descriptionId = useId();
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as TypeaheadEmits, c as TypeaheadSize, i as BaseTypeaheadProps, l as TypeaheadSlots, n as _default$1, o as TypeaheadItemProps, r as _default, s as TypeaheadProps, t as _default$2, u as TypeaheadStatus } from "../index-
|
|
1
|
+
import { a as TypeaheadEmits, c as TypeaheadSize, i as BaseTypeaheadProps, l as TypeaheadSlots, n as _default$1, o as TypeaheadItemProps, r as _default, s as TypeaheadProps, t as _default$2, u as TypeaheadStatus } from "../index-CM2L3SUw.js";
|
|
2
2
|
export { _default as BaseTypeahead, type BaseTypeaheadProps, _default$1 as Typeahead, type TypeaheadEmits, _default$2 as TypeaheadItem, type TypeaheadItemProps, type TypeaheadProps, type TypeaheadSize, type TypeaheadSlots, type TypeaheadStatus };
|
package/dist/Typeahead/index.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { n as _sfc_main$2 } from "../TypeaheadMenu-
|
|
2
|
-
import { n as _sfc_main, t as _sfc_main$1 } from "../Typeahead-
|
|
1
|
+
import { n as _sfc_main$2 } from "../TypeaheadMenu-BOzaCvSb.js";
|
|
2
|
+
import { n as _sfc_main, t as _sfc_main$1 } from "../Typeahead-GOdnQXcB.js";
|
|
3
3
|
export { _sfc_main as BaseTypeahead, _sfc_main$1 as Typeahead, _sfc_main$2 as TypeaheadItem };
|
|
@@ -2,15 +2,16 @@ import { r as useInputGroupDisabled } from "./context-Bg7eSJ47.js";
|
|
|
2
2
|
import { a as isImeKeyEvent } from "./layerDepth-CNDh-IHb.js";
|
|
3
3
|
import { t as _sfc_main$2 } from "./ButtonTooltip-CNKOQHYR.js";
|
|
4
4
|
import { t as useButtonTooltip } from "./useButtonTooltip-DjCaZMp_.js";
|
|
5
|
-
import {
|
|
5
|
+
import { o as useComponentMessages } from "./context-B8IEFCDR.js";
|
|
6
6
|
import { t as useResolvedLabelHidden } from "./useResolvedLabelHidden-B2rlWiaI.js";
|
|
7
7
|
import { t as useScrollbars } from "./useScrollbars-Ch0xqJWO.js";
|
|
8
|
-
import { t as _sfc_main$3 } from "./Spinner-
|
|
9
|
-
import { t as _sfc_main$4 } from "./Field-
|
|
8
|
+
import { t as _sfc_main$3 } from "./Spinner-DEVPDsD0.js";
|
|
9
|
+
import { t as _sfc_main$4 } from "./Field-Dc15m78p.js";
|
|
10
10
|
import { t as useFieldPartStyling } from "./fieldParts-CDOlBdy6.js";
|
|
11
|
-
import { t as
|
|
11
|
+
import { t as typeaheadMessages } from "./typeahead-BzrhssJi.js";
|
|
12
|
+
import { t as _sfc_main$5 } from "./Token-CtG_XE6z.js";
|
|
12
13
|
import { n as useAnchoredListbox, t as scrollOptionIntoView } from "./useAnchoredListbox-9Gn8asBR.js";
|
|
13
|
-
import { i as useTypeaheadMenu, r as useLatchedOptionGrid, t as _sfc_main$6 } from "./TypeaheadMenu-
|
|
14
|
+
import { i as useTypeaheadMenu, r as useLatchedOptionGrid, t as _sfc_main$6 } from "./TypeaheadMenu-BOzaCvSb.js";
|
|
14
15
|
import { Fragment, Teleport, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createSlots, createVNode, defineComponent, inject, mergeProps, nextTick, normalizeClass, normalizeStyle, onMounted, openBlock, provide, ref, renderSlot, resolveDynamicComponent, toDisplayString, unref, useAttrs, useId, useTemplateRef, vShow, watch, withCtx, withDirectives } from "vue";
|
|
15
16
|
import "../styles/layer.css";
|
|
16
17
|
import "../styles/visually-hidden-utility.css";
|
|
@@ -130,7 +131,7 @@ const _sfc_main$1 = /*@__PURE__*/ defineComponent({
|
|
|
130
131
|
const props = __props;
|
|
131
132
|
const emit = __emit;
|
|
132
133
|
const attrs = useAttrs();
|
|
133
|
-
const messages =
|
|
134
|
+
const messages = useComponentMessages({ typeahead: typeaheadMessages });
|
|
134
135
|
const generatedId = `astryx-typeahead-${useId()}`;
|
|
135
136
|
const inputId = computed(() => props.inputId ?? generatedId);
|
|
136
137
|
const listboxId = computed(() => `${inputId.value}-listbox`);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as characterCount } from "./characters-wTnzjkkR.js";
|
|
2
2
|
import { n as useAsyncSource } from "./useAsyncSource-Gk0VtE7_.js";
|
|
3
3
|
import { t as useCombobox } from "./useCombobox-CTo5C-gc.js";
|
|
4
|
-
import { t as _sfc_main$2 } from "./Spinner-
|
|
4
|
+
import { t as _sfc_main$2 } from "./Spinner-DEVPDsD0.js";
|
|
5
5
|
import { n as OptionAction, r as isOptionAction, t as useOptionActionGrid } from "./useOptionActionGrid-CkJcuvaU.js";
|
|
6
6
|
import { Fragment, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createTextVNode, createVNode, defineComponent, normalizeClass, openBlock, ref, renderList, renderSlot, toDisplayString, toValue, unref, watch, withModifiers } from "vue";
|
|
7
7
|
import "../styles/typeahead.css";
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
//#region src/locale/messages/avatar-group.ts
|
|
2
|
+
const avatarGroupMessages = {
|
|
3
|
+
"en": {
|
|
4
|
+
label: "Avatars",
|
|
5
|
+
keyboardHint: "Use arrow keys to move between avatars"
|
|
6
|
+
},
|
|
7
|
+
"zh-CN": {
|
|
8
|
+
label: "头像组",
|
|
9
|
+
keyboardHint: "用方向键在头像之间切换"
|
|
10
|
+
}
|
|
11
|
+
};
|
|
12
|
+
//#endregion
|
|
13
|
+
export { avatarGroupMessages as t };
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
//#region src/locale/messages/banner.ts
|
|
2
|
+
const bannerMessages = {
|
|
3
|
+
"en": {
|
|
4
|
+
dismiss: "Dismiss",
|
|
5
|
+
dismissTitled: (dismiss, title) => `${dismiss} ${title}`,
|
|
6
|
+
collapse: "Collapse",
|
|
7
|
+
expand: "Expand"
|
|
8
|
+
},
|
|
9
|
+
"zh-CN": {
|
|
10
|
+
dismiss: "关闭",
|
|
11
|
+
dismissTitled: (dismiss, title) => `${dismiss}“${title}”`,
|
|
12
|
+
collapse: "收起",
|
|
13
|
+
expand: "展开"
|
|
14
|
+
}
|
|
15
|
+
};
|
|
16
|
+
//#endregion
|
|
17
|
+
export { bannerMessages as t };
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
//#region src/locale/messages/calendar.ts
|
|
2
|
+
const calendarMessages = {
|
|
3
|
+
"en": {
|
|
4
|
+
label: "Calendar",
|
|
5
|
+
previousMonth: "Previous month",
|
|
6
|
+
nextMonth: "Next month",
|
|
7
|
+
rangeStart: (date) => `Start date ${date}. Select an end date.`,
|
|
8
|
+
rangeCleared: (date) => `Cleared start date ${date}. Select a start date.`,
|
|
9
|
+
rangeComplete: (start, end) => `Selected range: ${start} to ${end}.`,
|
|
10
|
+
rangeStartName: (date) => `${date}, range start`,
|
|
11
|
+
rangeEndName: (date) => `${date}, range end`,
|
|
12
|
+
rangeBoth: (date) => `${date}, range start and range end`,
|
|
13
|
+
daySelected: (date) => `${date}, selected`,
|
|
14
|
+
dayInRange: (date) => `${date}, in range`
|
|
15
|
+
},
|
|
16
|
+
"zh-CN": {
|
|
17
|
+
label: "日历",
|
|
18
|
+
previousMonth: "上个月",
|
|
19
|
+
nextMonth: "下个月",
|
|
20
|
+
rangeStart: (date) => `开始日期:${date}。请选择结束日期。`,
|
|
21
|
+
rangeCleared: (date) => `已取消开始日期 ${date}。请重新选择开始日期。`,
|
|
22
|
+
rangeComplete: (start, end) => `已选择 ${start} 至 ${end}。`,
|
|
23
|
+
rangeStartName: (date) => `${date},开始日期`,
|
|
24
|
+
rangeEndName: (date) => `${date},结束日期`,
|
|
25
|
+
rangeBoth: (date) => `${date},开始和结束日期`,
|
|
26
|
+
daySelected: (date) => `${date},已选中`,
|
|
27
|
+
dayInRange: (date) => `${date},在所选范围内`
|
|
28
|
+
}
|
|
29
|
+
};
|
|
30
|
+
//#endregion
|
|
31
|
+
export { calendarMessages as t };
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { r as formatCount } from "./shared-aoQdb_6V.js";
|
|
2
|
+
//#region src/locale/messages/carousel.ts
|
|
3
|
+
const carouselMessages = {
|
|
4
|
+
"en": {
|
|
5
|
+
label: "Carousel",
|
|
6
|
+
scrollLeft: "Scroll left",
|
|
7
|
+
scrollRight: "Scroll right",
|
|
8
|
+
slide: (current, total) => `Slide ${formatCount(current, "en")} of ${formatCount(total, "en")}`
|
|
9
|
+
},
|
|
10
|
+
"zh-CN": {
|
|
11
|
+
label: "轮播",
|
|
12
|
+
scrollLeft: "向左滚动",
|
|
13
|
+
scrollRight: "向右滚动",
|
|
14
|
+
slide: (current, total) => `第 ${formatCount(current, "zh-CN")} 张,共 ${formatCount(total, "zh-CN")} 张`
|
|
15
|
+
}
|
|
16
|
+
};
|
|
17
|
+
//#endregion
|
|
18
|
+
export { carouselMessages as t };
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
import { n as englishPlural, r as formatCount } from "./shared-aoQdb_6V.js";
|
|
2
|
+
//#region src/locale/messages/chat.ts
|
|
3
|
+
const chatMessages = {
|
|
4
|
+
"en": {
|
|
5
|
+
log: "Messages",
|
|
6
|
+
newMessages: "New messages",
|
|
7
|
+
scrollToBottom: "Scroll to bottom",
|
|
8
|
+
messageFrom: (sender) => `Message from ${sender}`,
|
|
9
|
+
messageStatus: (status) => `Message ${status}`,
|
|
10
|
+
statusSending: "Sending",
|
|
11
|
+
statusSent: "Sent",
|
|
12
|
+
statusDelivered: "Delivered",
|
|
13
|
+
statusRead: "Read",
|
|
14
|
+
statusFailed: "Failed",
|
|
15
|
+
senderUser: "user",
|
|
16
|
+
senderAssistant: "assistant",
|
|
17
|
+
senderSystem: "system",
|
|
18
|
+
toolError: (message) => `Error: ${message}`,
|
|
19
|
+
toolGroup: (count) => `${count} tool calls`,
|
|
20
|
+
toolPending: "Pending",
|
|
21
|
+
toolRunning: "Running",
|
|
22
|
+
toolComplete: "Complete",
|
|
23
|
+
toolFailed: "Failed",
|
|
24
|
+
thinking: "Thinking",
|
|
25
|
+
typingOne: (name) => `${name} is typing…`,
|
|
26
|
+
typingTwo: (first, second) => `${first} and ${second} are typing…`,
|
|
27
|
+
typingMany: (name, others) => `${name} and ${others} others are typing…`,
|
|
28
|
+
typingNames: (names) => `${names} are typing…`,
|
|
29
|
+
typingOthers: (count) => `${formatCount(count, "en")} ${englishPlural(count, "other", "others")}`,
|
|
30
|
+
unreadBelow: (label) => `${label} messages below`,
|
|
31
|
+
unreadLabel: "New",
|
|
32
|
+
placeholder: "Type a message…",
|
|
33
|
+
drawerLabel: "Items",
|
|
34
|
+
inputLabel: "Message input",
|
|
35
|
+
noSpeechDetected: "No speech was detected.",
|
|
36
|
+
expandPastedText: "Expand",
|
|
37
|
+
pastedTextLabel: (lines, chars) => lines === 1 ? `${formatCount(chars, "en")} chars` : `${formatCount(lines, "en")} lines, ${formatCount(chars, "en")} chars`,
|
|
38
|
+
drawerExpand: (label) => `Expand ${label}`,
|
|
39
|
+
drawerCollapse: (label) => `Collapse ${label}`,
|
|
40
|
+
startDictation: "Start dictation",
|
|
41
|
+
stopDictation: "Stop dictation",
|
|
42
|
+
send: "Send",
|
|
43
|
+
stop: "Stop",
|
|
44
|
+
suggestions: "Suggestions",
|
|
45
|
+
searching: "Searching…",
|
|
46
|
+
noResults: "No results"
|
|
47
|
+
},
|
|
48
|
+
"zh-CN": {
|
|
49
|
+
log: "消息列表",
|
|
50
|
+
newMessages: "有新消息",
|
|
51
|
+
scrollToBottom: "滚动到底部",
|
|
52
|
+
messageFrom: (sender) => `来自${sender}的消息`,
|
|
53
|
+
messageStatus: (status) => `消息${status}`,
|
|
54
|
+
statusSending: "发送中",
|
|
55
|
+
statusSent: "已发送",
|
|
56
|
+
statusDelivered: "已送达",
|
|
57
|
+
statusRead: "已读",
|
|
58
|
+
statusFailed: "发送失败",
|
|
59
|
+
senderUser: "用户",
|
|
60
|
+
senderAssistant: "助手",
|
|
61
|
+
senderSystem: "系统",
|
|
62
|
+
toolError: (message) => `错误:${message}`,
|
|
63
|
+
toolGroup: (count) => `${count} 个工具调用`,
|
|
64
|
+
toolPending: "等待中",
|
|
65
|
+
toolRunning: "进行中",
|
|
66
|
+
toolComplete: "已完成",
|
|
67
|
+
toolFailed: "失败",
|
|
68
|
+
thinking: "思考中",
|
|
69
|
+
typingOne: (name) => `${name} 正在输入…`,
|
|
70
|
+
typingTwo: (first, second) => `${first} 和 ${second} 正在输入…`,
|
|
71
|
+
typingMany: (name, others) => `${name} 和其他 ${others} 人正在输入…`,
|
|
72
|
+
typingNames: (names) => `${names}正在输入…`,
|
|
73
|
+
typingOthers: (count) => `另外 ${formatCount(count, "zh-CN")} 人`,
|
|
74
|
+
unreadBelow: (label) => `${label}以下是未读消息`,
|
|
75
|
+
unreadLabel: "新消息",
|
|
76
|
+
placeholder: "输入消息……",
|
|
77
|
+
drawerLabel: "项目",
|
|
78
|
+
inputLabel: "消息输入框",
|
|
79
|
+
noSpeechDetected: "未检测到语音。",
|
|
80
|
+
expandPastedText: "展开",
|
|
81
|
+
pastedTextLabel: (lines, chars) => lines === 1 ? `${formatCount(chars, "zh-CN")} 个字符` : `${formatCount(lines, "zh-CN")} 行,${formatCount(chars, "zh-CN")} 个字符`,
|
|
82
|
+
drawerExpand: (label) => `展开 ${label}`,
|
|
83
|
+
drawerCollapse: (label) => `折叠 ${label}`,
|
|
84
|
+
startDictation: "开始语音输入",
|
|
85
|
+
stopDictation: "停止语音输入",
|
|
86
|
+
send: "发送",
|
|
87
|
+
stop: "停止",
|
|
88
|
+
suggestions: "建议",
|
|
89
|
+
searching: "正在搜索…",
|
|
90
|
+
noResults: "没有结果"
|
|
91
|
+
}
|
|
92
|
+
};
|
|
93
|
+
//#endregion
|
|
94
|
+
export { chatMessages as t };
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
//#region src/locale/messages/checkbox-list.ts
|
|
2
|
+
const checkboxListMessages = {
|
|
3
|
+
"en": {
|
|
4
|
+
loading: "Loading",
|
|
5
|
+
checkbox: "Checkbox"
|
|
6
|
+
},
|
|
7
|
+
"zh-CN": {
|
|
8
|
+
loading: "正在加载",
|
|
9
|
+
checkbox: "复选框"
|
|
10
|
+
}
|
|
11
|
+
};
|
|
12
|
+
//#endregion
|
|
13
|
+
export { checkboxListMessages as t };
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { n as englishPlural, r as formatCount } from "./shared-aoQdb_6V.js";
|
|
2
|
+
//#region src/locale/messages/command-palette.ts
|
|
3
|
+
const commandPaletteMessages = {
|
|
4
|
+
"en": {
|
|
5
|
+
label: "Command palette",
|
|
6
|
+
emptySearch: "No results",
|
|
7
|
+
emptyBootstrap: "Type to search",
|
|
8
|
+
placeholder: "Search…",
|
|
9
|
+
listLabel: "Commands",
|
|
10
|
+
inputLabel: "Search commands",
|
|
11
|
+
loading: "Loading",
|
|
12
|
+
noResultsFor: (query) => `No results for ${query}`,
|
|
13
|
+
resultCount: (count) => `${formatCount(count, "en")} ${englishPlural(count, "result", "results")}`,
|
|
14
|
+
navigate: "Navigate",
|
|
15
|
+
select: "Select",
|
|
16
|
+
close: "Close"
|
|
17
|
+
},
|
|
18
|
+
"zh-CN": {
|
|
19
|
+
label: "命令面板",
|
|
20
|
+
emptySearch: "没有结果",
|
|
21
|
+
emptyBootstrap: "输入以搜索",
|
|
22
|
+
placeholder: "搜索…",
|
|
23
|
+
listLabel: "命令",
|
|
24
|
+
inputLabel: "搜索命令",
|
|
25
|
+
loading: "正在加载",
|
|
26
|
+
noResultsFor: (query) => `没有与 ${query} 匹配的结果`,
|
|
27
|
+
resultCount: (count) => `${formatCount(count, "zh-CN")} 个结果`,
|
|
28
|
+
navigate: "移动",
|
|
29
|
+
select: "选择",
|
|
30
|
+
close: "关闭"
|
|
31
|
+
}
|
|
32
|
+
};
|
|
33
|
+
//#endregion
|
|
34
|
+
export { commandPaletteMessages as t };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { $ as MergedRefHandle, $n as ContentRevealOptions, $t as Hotkey, A as useResolvedLabelHidden, An as devWarn, Ar as WeekStartsOn, At as UseKeyboardHint, B as computeOverflow, Bn as TimePresentation, Bt as useInputStatusIcon, C as ScrollableAreaState, Cn as UseEntryAnimationReturn, Cr as appShellMobileKey, Ct as useLayerTeleportTarget, D as RestoreFocus, Dn as DisclosureHandle, Dr as useAnnounce, Dt as UseLayerReturn, E as useScrollableArea, En as useDismiss, Er as AnnouncePoliteness, Et as UseLayerOptions, F as usePendingChange, Fn as resolveDateSurface, Fr as isRangeWithinSpan, Ft as UseInteractiveRoleReturn, G as computeSteppedValue, Gn as parseDisplayTime, Gt as UseIndicatorFocusRingOptions, H as NumberField, Hn as formatDisplayTime, Ht as UseInputContainerOptions, I as ComputeOverflowInput, In as HourFormat, Ir as isSameRange, It as useInteractiveRole, J as buildMonthGrid, Jn as shiftTime, Jt as ImageSampleRegion, K as useNumberField, Kn as parseISOTime, Kt as UseIndicatorFocusRingReturn, L as ComputeOverflowResult, Ln as ISOTimeString, Lr as orderRange, Lt as InputStatusVariant, M as UsePressFeedbackReturn, Mn as DatePresentation, Mr as compareISODate, Mt as useKeyboardHint, N as usePressFeedback, Nn as DateSurface, Nr as formatDateRange, Nt as InteractiveRole, O as UseRestoreFocusOptions, On as DisclosureHandleRef, Or as ISODateRange, Ot as useLayer, P as PendingChange, Pn as resolveDatePresentation, Pr as isDayOutsideSpan, Pt as UseInteractiveRoleOptions, Q as MergedRef, Qn as ContainerRevealOptions, Qt as useImageMode, R as UseOverflowOptions, Rn as NativePicker, Rr as resolveWeekStart, Rt as UseInputStatusIconOptions, S as ScrollStickyContainment, Sn as UseEntryAnimationOptions, Sr as AppShellMobile, St as useLayerMountTarget, T as UseScrollableAreaResult, Tn as UseDismissOptions, Tr as AnnounceFn, Tt as LayerMode, U as NumberStepDirection, Un as formatISOTime, Ut as useInputContainer, V as useOverflow, Vn as TimeSurface, Vt as InputContainerHandlers, W as UseNumberFieldOptions, Wn as isTimeInRange, Wt as IndicatorFocusRingHandlers, X as toISODate, Xn as UseControllableStateOptions, Xt as imageModeFromPixels, Y as parseISODate, Yn as ControllableState, Yt as UseImageModeOptions, Z as todayISODate, Zn as useControllableState, Zt as perceptualLightness, _ as ScrollAxis, _n as selectFiles, _r as useChatStreamScroll, _t as useLongPress, a as UseTouchTriggerOptions, an as useGridRovingFocus, ar as UseComboboxOptions, at as resetMenuPress, b as ScrollOverscroll, bn as useFieldControlState, br as UseChatNewMessagesReturn, bt as UseListFocusOptions, c as useTouchTrigger, cn as useGridFocus, cr as ClickableContainerHandlers, ct as MenuPressEffect, d as snapToGraphemeBoundary, dn as useFocusTrap, dr as hasInteractiveAncestor, dt as MenuPressPointerType, en as useHotkeys, er as UseContainerReveal, et as useMergedRefs, f as useStreamingText, fn as FileRejection, fr as hasTextSelection, ft as MenuPressStep, g as useScrollLock, gn as formatFileSize, gr as UseChatStreamScrollReturn, gt as LongPressOptions, h as useScrollOverflow, hn as FileSizeUnits, hr as UseChatStreamScrollOptions, ht as LongPressHandlers, i as LayerTouchTrigger, in as UseGridRovingFocusOptions, ir as ComboboxOption, it as isMenuPressActivation, j as UsePressFeedbackOptions, jn as useDevWarning, jr as applyRangeClick, jt as UseKeyboardHintOptions, k as useRestoreFocus, kn as useDisclosureHandle, kr as RangeClickResult, kt as KeyboardHintOrientation, l as StreamingTextSpeed, ln as FocusTrap, lr as INTERACTIVE_SELECTORS, lt as MenuPressEvent, m as UseScrollOverflowResult, mn as FileSelectionResult, mr as ChatScrollToBottomOptions, mt as useMediaQuery, n as UseTypeaheadReturn, nn as useHandleRef, nr as useContainerReveal, nt as MenuPressOptions, o as UseTouchTriggerReturn, on as UseGridFocusOptions, or as useCombobox, ot as MENU_PRESS_MARKER, p as ScrollOverflowState, pn as FileSelectionOptions, pr as useClickableContainer, pt as menuPressStep, q as addMonths, qn as resolveTimeSurface, qt as useIndicatorFocusRing, r as useTypeahead, rn as GridRovingFocus, rr as Combobox, rt as useMenuPress, s as isActionTrigger, sn as UseGridFocusReturn, sr as useCoarsePointer, st as MENU_PRESS_SETTLE_MS, t as UseTypeaheadOptions, tn as HandleRef, tr as UseContainerRevealOptions, tt as MenuPress, u as UseStreamingTextOptions, un as UseFocusTrapOptions, ur as UseClickableContainerOptions, ut as MenuPressGesture, v as ScrollAxisState, vn as FieldControlState, vr as CHAT_MESSAGE_CLASS, vt as ListFocus, w as UseScrollableAreaOptions, wn as useEntryAnimation, wr as useAppShellMobile, wt as useResolvedLayerTeleport, x as ScrollRole, xn as EntryAnimationPreset, xr as useChatNewMessages, xt as useListFocus, y as ScrollKeyboardAccess, yn as FieldControlStateInput, yr as UseChatNewMessagesOptions, yt as ListFocusOrientation, z as UseOverflowReturn, zn as ParsedTime, zr as spanDays, zt as UseInputStatusIconReturn } from "../index-
|
|
1
|
+
import { $ as MergedRefHandle, $n as ContentRevealOptions, $t as Hotkey, A as useResolvedLabelHidden, An as devWarn, Ar as WeekStartsOn, At as UseKeyboardHint, B as computeOverflow, Bn as TimePresentation, Bt as useInputStatusIcon, C as ScrollableAreaState, Cn as UseEntryAnimationReturn, Cr as appShellMobileKey, Ct as useLayerTeleportTarget, D as RestoreFocus, Dn as DisclosureHandle, Dr as useAnnounce, Dt as UseLayerReturn, E as useScrollableArea, En as useDismiss, Er as AnnouncePoliteness, Et as UseLayerOptions, F as usePendingChange, Fn as resolveDateSurface, Fr as isRangeWithinSpan, Ft as UseInteractiveRoleReturn, G as computeSteppedValue, Gn as parseDisplayTime, Gt as UseIndicatorFocusRingOptions, H as NumberField, Hn as formatDisplayTime, Ht as UseInputContainerOptions, I as ComputeOverflowInput, In as HourFormat, Ir as isSameRange, It as useInteractiveRole, J as buildMonthGrid, Jn as shiftTime, Jt as ImageSampleRegion, K as useNumberField, Kn as parseISOTime, Kt as UseIndicatorFocusRingReturn, L as ComputeOverflowResult, Ln as ISOTimeString, Lr as orderRange, Lt as InputStatusVariant, M as UsePressFeedbackReturn, Mn as DatePresentation, Mr as compareISODate, Mt as useKeyboardHint, N as usePressFeedback, Nn as DateSurface, Nr as formatDateRange, Nt as InteractiveRole, O as UseRestoreFocusOptions, On as DisclosureHandleRef, Or as ISODateRange, Ot as useLayer, P as PendingChange, Pn as resolveDatePresentation, Pr as isDayOutsideSpan, Pt as UseInteractiveRoleOptions, Q as MergedRef, Qn as ContainerRevealOptions, Qt as useImageMode, R as UseOverflowOptions, Rn as NativePicker, Rr as resolveWeekStart, Rt as UseInputStatusIconOptions, S as ScrollStickyContainment, Sn as UseEntryAnimationOptions, Sr as AppShellMobile, St as useLayerMountTarget, T as UseScrollableAreaResult, Tn as UseDismissOptions, Tr as AnnounceFn, Tt as LayerMode, U as NumberStepDirection, Un as formatISOTime, Ut as useInputContainer, V as useOverflow, Vn as TimeSurface, Vt as InputContainerHandlers, W as UseNumberFieldOptions, Wn as isTimeInRange, Wt as IndicatorFocusRingHandlers, X as toISODate, Xn as UseControllableStateOptions, Xt as imageModeFromPixels, Y as parseISODate, Yn as ControllableState, Yt as UseImageModeOptions, Z as todayISODate, Zn as useControllableState, Zt as perceptualLightness, _ as ScrollAxis, _n as selectFiles, _r as useChatStreamScroll, _t as useLongPress, a as UseTouchTriggerOptions, an as useGridRovingFocus, ar as UseComboboxOptions, at as resetMenuPress, b as ScrollOverscroll, bn as useFieldControlState, br as UseChatNewMessagesReturn, bt as UseListFocusOptions, c as useTouchTrigger, cn as useGridFocus, cr as ClickableContainerHandlers, ct as MenuPressEffect, d as snapToGraphemeBoundary, dn as useFocusTrap, dr as hasInteractiveAncestor, dt as MenuPressPointerType, en as useHotkeys, er as UseContainerReveal, et as useMergedRefs, f as useStreamingText, fn as FileRejection, fr as hasTextSelection, ft as MenuPressStep, g as useScrollLock, gn as formatFileSize, gr as UseChatStreamScrollReturn, gt as LongPressOptions, h as useScrollOverflow, hn as FileSizeUnits, hr as UseChatStreamScrollOptions, ht as LongPressHandlers, i as LayerTouchTrigger, in as UseGridRovingFocusOptions, ir as ComboboxOption, it as isMenuPressActivation, j as UsePressFeedbackOptions, jn as useDevWarning, jr as applyRangeClick, jt as UseKeyboardHintOptions, k as useRestoreFocus, kn as useDisclosureHandle, kr as RangeClickResult, kt as KeyboardHintOrientation, l as StreamingTextSpeed, ln as FocusTrap, lr as INTERACTIVE_SELECTORS, lt as MenuPressEvent, m as UseScrollOverflowResult, mn as FileSelectionResult, mr as ChatScrollToBottomOptions, mt as useMediaQuery, n as UseTypeaheadReturn, nn as useHandleRef, nr as useContainerReveal, nt as MenuPressOptions, o as UseTouchTriggerReturn, on as UseGridFocusOptions, or as useCombobox, ot as MENU_PRESS_MARKER, p as ScrollOverflowState, pn as FileSelectionOptions, pr as useClickableContainer, pt as menuPressStep, q as addMonths, qn as resolveTimeSurface, qt as useIndicatorFocusRing, r as useTypeahead, rn as GridRovingFocus, rr as Combobox, rt as useMenuPress, s as isActionTrigger, sn as UseGridFocusReturn, sr as useCoarsePointer, st as MENU_PRESS_SETTLE_MS, t as UseTypeaheadOptions, tn as HandleRef, tr as UseContainerRevealOptions, tt as MenuPress, u as UseStreamingTextOptions, un as UseFocusTrapOptions, ur as UseClickableContainerOptions, ut as MenuPressGesture, v as ScrollAxisState, vn as FieldControlState, vr as CHAT_MESSAGE_CLASS, vt as ListFocus, w as UseScrollableAreaOptions, wn as useEntryAnimation, wr as useAppShellMobile, wt as useResolvedLayerTeleport, x as ScrollRole, xn as EntryAnimationPreset, xr as useChatNewMessages, xt as useListFocus, y as ScrollKeyboardAccess, yn as FieldControlStateInput, yr as UseChatNewMessagesOptions, yt as ListFocusOrientation, z as UseOverflowReturn, zn as ParsedTime, zr as spanDays, zt as UseInputStatusIconReturn } from "../index-DKgonPjs.js";
|
|
2
2
|
import { a as SearchableItem, c as useAsyncSource, i as SearchSource, n as AsyncSourceStatus, o as UseAsyncSourceOptions, r as CreateStaticSourceOptions, s as createStaticSource, t as AsyncSource } from "../useAsyncSource-aGzrvRkI.js";
|
|
3
3
|
import { n as UseClipboardReturn, r as useClipboard, t as UseClipboardOptions } from "../useClipboard-CU-kfqeJ.js";
|
|
4
4
|
import { t as characterCount } from "../characters-rcDbGt71.js";
|
|
@@ -13,7 +13,7 @@ import { n as useAsyncSource, t as createStaticSource } from "../useAsyncSource-
|
|
|
13
13
|
import { n as CHAT_MESSAGE_CLASS, r as useChatNewMessages, t as useChatStreamScroll } from "../useChatStreamScroll-oDfybEos.js";
|
|
14
14
|
import { t as useClipboard } from "../useClipboard-Dk8cS810.js";
|
|
15
15
|
import { t as useCombobox } from "../useCombobox-CTo5C-gc.js";
|
|
16
|
-
import { a as useKeyboardHint, c as perceptualLightness, d as useGridFocus, f as useEntryAnimation, i as useStreamingText, l as useImageMode, m as useContainerReveal, n as useTouchTrigger, o as useIndicatorFocusRing, p as useControllableState, r as snapToGraphemeBoundary, s as imageModeFromPixels, t as isActionTrigger, u as useGridRovingFocus } from "../composables-
|
|
16
|
+
import { a as useKeyboardHint, c as perceptualLightness, d as useGridFocus, f as useEntryAnimation, i as useStreamingText, l as useImageMode, m as useContainerReveal, n as useTouchTrigger, o as useIndicatorFocusRing, p as useControllableState, r as snapToGraphemeBoundary, s as imageModeFromPixels, t as isActionTrigger, u as useGridRovingFocus } from "../composables-lCxHhZQY.js";
|
|
17
17
|
import { n as resolveDateSurface, t as resolveDatePresentation } from "../useDatePresentation-C07PnOCw.js";
|
|
18
18
|
import { a as isRangeWithinSpan, c as resolveWeekStart, i as isDayOutsideSpan, l as spanDays, n as compareISODate, o as isSameRange, r as formatDateRange, s as orderRange, t as applyRangeClick } from "../useDateRange-CIXoE_8k.js";
|
|
19
19
|
import { n as useDevWarning, t as devWarn } from "../useDevWarning-B2fsk2B-.js";
|
|
@@ -24,7 +24,7 @@ import { n as useFocusTrap, t as useRestoreFocus } from "../useRestoreFocus-CEG0
|
|
|
24
24
|
import { t as useHandleRef } from "../useHandleRef-6cdKugm8.js";
|
|
25
25
|
import { n as useResizable, r as useHotkeys, t as percent } from "../useResizable-I3BCiLSL.js";
|
|
26
26
|
import { t as useInputContainer } from "../useInputContainer-BpLtCA-U.js";
|
|
27
|
-
import { t as useInputStatusIcon } from "../useInputStatusIcon-
|
|
27
|
+
import { t as useInputStatusIcon } from "../useInputStatusIcon-Da2FiXwF.js";
|
|
28
28
|
import { t as useInteractiveRole } from "../useInteractiveRole-Cn0Nd5GX.js";
|
|
29
29
|
import { t as useListFocus } from "../useListFocus-CbHkLT-X.js";
|
|
30
30
|
import { a as useLongPress, i as MENU_PRESS_MARKER, n as MENU_PRESS_SETTLE_MS, r as menuPressStep, t as useMenuPress } from "../useMenuPress-BLPwY_m1.js";
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { r as trackInteractionModality, t as getInteractionModality } from "./interactionModality-ACpTMhak.js";
|
|
2
2
|
import { t as useMediaQuery } from "./useMediaQuery-GMmgp28-.js";
|
|
3
|
-
import {
|
|
4
|
-
import { t as _sfc_main$1 } from "./Kbd-
|
|
3
|
+
import { o as useComponentMessages } from "./context-B8IEFCDR.js";
|
|
4
|
+
import { t as _sfc_main$1 } from "./Kbd-D4JPY4VI.js";
|
|
5
|
+
import { t as keyboardHintMessages } from "./keyboard-hint-KWx0-7kD.js";
|
|
5
6
|
import { Fragment, computed, createBlock, createElementBlock, createElementVNode, defineComponent, h, normalizeStyle, onBeforeUnmount, onMounted, onScopeDispose, openBlock, ref, renderList, toDisplayString, toValue, unref, vShow, watch, withDirectives } from "vue";
|
|
6
7
|
import "../styles/indicator-focus-ring.css";
|
|
7
8
|
import "../styles/keyboard-hint.css";
|
|
@@ -516,7 +517,7 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
516
517
|
},
|
|
517
518
|
setup(__props) {
|
|
518
519
|
const props = __props;
|
|
519
|
-
const messages =
|
|
520
|
+
const messages = useComponentMessages({ keyboardHint: keyboardHintMessages });
|
|
520
521
|
const hint = ref(null);
|
|
521
522
|
const position = ref({
|
|
522
523
|
top: 0,
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { computed, inject, provide, toValue } from "vue";
|
|
2
|
+
//#region src/locale/context.ts
|
|
3
|
+
const astryxLocaleKey = Symbol("astryx-locale");
|
|
4
|
+
const astryxMessagesKey = Symbol("astryx-messages");
|
|
5
|
+
/**
|
|
6
|
+
* 把语言标签收成规范写法。
|
|
7
|
+
* `zh`、`zh-CN`、`zh-Hans` 收成 `zh-CN`,对上内置的简体中文文案。
|
|
8
|
+
* 其余标签只做大小写规范,例如 `en-gb` 收成 `en-GB`,日期和数字因此按这个地区的习惯排。
|
|
9
|
+
* 空值和解析不了的标签回到 `en`。
|
|
10
|
+
*/
|
|
11
|
+
function normalizeLocale(locale) {
|
|
12
|
+
const trimmed = locale?.trim() ?? "";
|
|
13
|
+
if (trimmed === "") return "en";
|
|
14
|
+
let parsed;
|
|
15
|
+
try {
|
|
16
|
+
parsed = new Intl.Locale(trimmed);
|
|
17
|
+
} catch {
|
|
18
|
+
return "en";
|
|
19
|
+
}
|
|
20
|
+
const base = parsed.baseName;
|
|
21
|
+
const lower = base.toLowerCase();
|
|
22
|
+
if (lower === "zh" || lower === "zh-cn" || lower === "zh-hans" || lower.startsWith("zh-hans-")) return "zh-CN";
|
|
23
|
+
return base;
|
|
24
|
+
}
|
|
25
|
+
function provideAstryxLocale(locale, messages) {
|
|
26
|
+
provide(astryxLocaleKey, computed(() => normalizeLocale(toValue(locale))));
|
|
27
|
+
if (messages !== void 0) provide(astryxMessagesKey, computed(() => toValue(messages)));
|
|
28
|
+
}
|
|
29
|
+
function useAstryxLocale() {
|
|
30
|
+
const injected = inject(astryxLocaleKey, void 0);
|
|
31
|
+
return computed(() => injected == null ? "en" : normalizeLocale(toValue(injected)));
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* 组件读内置文案的入口。组件只把自己用到的命名空间交进来,
|
|
35
|
+
* 打包时就只带上这几份文案,不会把整份 `AstryxMessages` 一起带进去。
|
|
36
|
+
*
|
|
37
|
+
* 外层 provider 交了文案树时取树里的同名命名空间;没有 provider 时按当前语言取 `defaults`。
|
|
38
|
+
*/
|
|
39
|
+
function useComponentMessages(defaults) {
|
|
40
|
+
const locale = useAstryxLocale();
|
|
41
|
+
const provided = inject(astryxMessagesKey, void 0);
|
|
42
|
+
return computed(() => {
|
|
43
|
+
const tree = provided == null ? void 0 : toValue(provided);
|
|
44
|
+
const language = locale.value === "zh-CN" ? "zh-CN" : "en";
|
|
45
|
+
const picked = {};
|
|
46
|
+
for (const name of Object.keys(defaults)) picked[name] = tree?.[name] ?? defaults[name]?.[language];
|
|
47
|
+
return picked;
|
|
48
|
+
});
|
|
49
|
+
}
|
|
50
|
+
//#endregion
|
|
51
|
+
export { useAstryxLocale as a, provideAstryxLocale as i, astryxMessagesKey as n, useComponentMessages as o, normalizeLocale as r, astryxLocaleKey as t };
|