@astryx-vue/core 0.7.26 → 0.7.28
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/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-Dx2JtVc-.js} +3 -2
- package/dist/BottomSheet/index.d.ts +1 -1
- package/dist/Breadcrumbs/index.js +2 -2
- package/dist/{Breadcrumbs-BgiZY7un.js → Breadcrumbs-Brgi3F8q.js} +1 -1
- package/dist/Button/index.d.ts +1 -1
- package/dist/ButtonGroup/index.d.ts +1 -1
- 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/Carousel/index.js +1 -1
- package/dist/{Carousel--VycM-Sa.js → Carousel-CSsQ4GHW.js} +3 -2
- package/dist/Chat/index.d.ts +1 -1
- package/dist/Chat/index.js +1 -1
- package/dist/{Chat-C1DlnlCQ.js → Chat-j2m3Exwo.js} +21 -20
- 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/CommandPalette/index.js +1 -1
- package/dist/{CommandPalette-lewtyQrO.js → CommandPalette-C1duZfmg.js} +8 -7
- package/dist/ComplexSelector/index.js +1 -1
- package/dist/{ComplexSelector-BUnqjeW5.js → ComplexSelector-BgnhEjIN.js} +6 -5
- package/dist/ContextMenu/index.d.ts +1 -1
- 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-BY9qdl_H.js} +14 -9
- package/dist/DateRangeInput/index.d.ts +1 -1
- package/dist/DateRangeInput/index.js +1 -1
- package/dist/{DateRangeInput-D4Us58KW.js → DateRangeInput-C0vyG95Z.js} +13 -7
- package/dist/DateTimeInput/index.d.ts +1 -1
- package/dist/DateTimeInput/index.js +1 -1
- package/dist/{DateTimeInput-CliLnI7P.js → DateTimeInput-BmIljXWd.js} +15 -7
- package/dist/Dialog/index.d.ts +1 -1
- package/dist/Dialog/index.js +1 -1
- package/dist/{DialogHeader-Hk419KW1.js → DialogHeader-Dfegdd7v.js} +3 -2
- package/dist/Divider/index.d.ts +1 -1
- package/dist/Drawer/index.d.ts +1 -1
- package/dist/Drawer/index.js +1 -1
- package/dist/{Drawer-DoQ9hjKz.js → Drawer-7LLlGQcE.js} +1 -1
- package/dist/DropdownMenu/index.js +3 -3
- package/dist/{DropdownMenu-B2iga1fe.js → DropdownMenu-B6SXhr61.js} +2 -3
- package/dist/{DropdownMenu-BF2Z5T4h.js → DropdownMenu-CJxA-kJ2.js} +4 -5
- package/dist/Field/index.js +3 -3
- package/dist/{Field-if5a58LO.js → Field-Dc15m78p.js} +1 -1
- package/dist/{FieldLabel-C-IaUcP4.js → FieldLabel-CfO3zaZ5.js} +4 -3
- package/dist/FileInput/index.d.ts +1 -1
- package/dist/FileInput/index.js +1 -1
- package/dist/{FileInput-0zBWfO8h.js → FileInput-C6eX4nBl.js} +6 -5
- package/dist/Heading/index.d.ts +1 -1
- package/dist/HoverCard/index.d.ts +1 -1
- 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-DjIxNNH8.js} +4 -3
- 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-rY1XJs38.js} +4 -3
- 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-BQbchOad.js} +8 -3
- 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-C2ZrGrJ-.js} +3 -2
- package/dist/MultiSelector/index.d.ts +1 -1
- package/dist/MultiSelector/index.js +1 -1
- package/dist/{MultiSelector-Baca6xNx.js → MultiSelector-DWKh7ePj.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-Bzc9v9oU.js} +5 -4
- 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/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-DaGcaKHo.js} +3 -2
- package/dist/PowerSearch/index.d.ts +1 -1
- package/dist/PowerSearch/index.js +1 -1
- package/dist/{PowerSearch-DyqItMHo.js → PowerSearch-CtC5P-zt.js} +18 -17
- 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.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-YO-fBuwR.js} +7 -6
- 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/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-DkibnUnt.js} +23 -22
- package/dist/Text/index.d.ts +1 -1
- package/dist/TextArea/index.d.ts +1 -1
- package/dist/TextArea/index.js +1 -1
- package/dist/{TextArea-Bzz_KcKT.js → TextArea-CKg-oybo.js} +9 -4
- package/dist/TextInput/index.d.ts +1 -1
- package/dist/TextInput/index.js +1 -1
- package/dist/{TextInput-givkH9HQ.js → TextInput-QnW6aidH.js} +5 -4
- package/dist/Thumbnail/index.js +1 -1
- package/dist/{Thumbnail-CZOWP5HN.js → Thumbnail-Cqt2l_zO.js} +8 -3
- package/dist/{TimeField-ByoS5s_I.js → TimeField-2QBI5tU6.js} +9 -4
- package/dist/TimeInput/index.d.ts +1 -1
- package/dist/TimeInput/index.js +1 -1
- package/dist/{TimeInput-D9kvMQso.js → TimeInput-DYAsRNAO.js} +2 -2
- package/dist/Timer/index.d.ts +1 -1
- package/dist/Timestamp/index.d.ts +1 -1
- package/dist/Timestamp/index.js +1 -1
- package/dist/{Timestamp-CEdNhKc5.js → Timestamp-CwNc1inn.js} +4 -3
- package/dist/Toast/index.js +1 -1
- package/dist/{Toast-CnZrcU-G.js → Toast-cVNBdW-q.js} +3 -2
- package/dist/ToggleButton/index.d.ts +1 -1
- 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.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.d.ts +1 -1
- package/dist/TreeList/index.js +1 -1
- package/dist/{TreeList-Dg5gtkOu.js → TreeList-DeknLfbQ.js} +3 -2
- 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.js +1 -1
- package/dist/{composables-DqJzanJ5.js → composables-lCxHhZQY.js} +4 -3
- package/dist/context-B8IEFCDR.js +51 -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-Cun6cXGP.d.ts → index--tm6L1ot.d.ts} +1 -1
- package/dist/{index-BngdKVro.d.ts → index-9tZJgo0R.d.ts} +2 -2
- package/dist/{index-9eluGe3a.d.ts → index-BBTU-TKb.d.ts} +1 -1
- package/dist/{index-BOCb89V9.d.ts → index-BO9TY87G.d.ts} +3 -3
- package/dist/{index-B7brdDVR.d.ts → index-BtuK-muv.d.ts} +4 -4
- package/dist/{index-DTfA4uE3.d.ts → index-BzZC2Y7c.d.ts} +1 -1
- package/dist/{index-B3yTdknp.d.ts → index-C1zwvxPH.d.ts} +1 -1
- package/dist/{index-BfSZhAVv.d.ts → index-CEHqYyz5.d.ts} +1 -1
- package/dist/{index-MEix_m1o.d.ts → index-CL6DNvOo.d.ts} +1 -1
- package/dist/{index-CdvmnNMH.d.ts → index-COgrQZIL.d.ts} +1 -1
- package/dist/{index-BqEPgwku.d.ts → index-CpG5Wql5.d.ts} +2 -2
- package/dist/{index-C8wfe0Mr.d.ts → index-D05JGsT3.d.ts} +1 -1
- package/dist/{index-B449gOMC.d.ts → index-D1JXm7Et.d.ts} +3 -3
- package/dist/{index-DFDadgys.d.ts → index-D44l1Esr.d.ts} +38 -38
- package/dist/{index-DneQgJfI.d.ts → index-O9y23OPJ.d.ts} +1 -1
- package/dist/{index-B-3EGjfQ.d.ts → index-Q1oG9yIT.d.ts} +2 -2
- package/dist/{index-mJ_aqK5M.d.ts → index-Ukeoz7_9.d.ts} +4 -4
- package/dist/{index-BnqDF_AX.d.ts → index-a1jCiQP7.d.ts} +2 -2
- package/dist/{index--uIQXVJ7.d.ts → index-dWlCpnua.d.ts} +1 -1
- package/dist/{index-BjbPK91B.d.ts → index-pACjRM0E.d.ts} +8 -2
- package/dist/{index-DZKv1WNB.d.ts → index-qayqGnJT.d.ts} +1 -1
- package/dist/{index-CtYlR9Cu.d.ts → index-rdwI-mcm.d.ts} +1 -1
- package/dist/{index-C89cIh4E.d.ts → index-waTkqxTz.d.ts} +1 -1
- package/dist/index.d.ts +24 -24
- package/dist/index.js +70 -71
- 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/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/{useMenuDrillIn-C5eJCuO1.js → useMenuDrillIn-uQtOSny6.js} +9 -1
- package/package.json +1 -1
- package/styles/calendar.css +4 -0
- package/styles/chat.css +2 -0
- package/styles/code.css +4 -1
- package/styles/empty-state.css +2 -0
- package/styles/markdown.css +1 -0
- package/styles/more-menu.css +1 -0
- package/styles/multi-selector.css +2 -0
- package/styles/pagination.css +1 -0
- package/styles/power-search.css +2 -0
- package/styles/segmented-control.css +1 -0
- package/styles/side-nav.css +1 -0
- package/styles/slider.css +1 -0
- package/styles/stepper.css +1 -0
- package/styles/tab-list.css +3 -0
- package/styles/table.css +3 -0
- package/styles/text-area.css +1 -0
- package/styles/text-input.css +1 -0
- package/styles/theme.css +5 -1
- package/styles/tokenizer.css +1 -0
- package/dist/context-CV6TrhJY.js +0 -2080
- package/dist/loadCatalog-Bulk4H7U.js +0 -143
- package/dist/upstreamMap-DrkVNtXW.js +0 -1073
- package/dist/{index-BqhgeAT4.d.ts → index-5FGt4HsB.d.ts} +1 -1
|
@@ -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 };
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { t as clearLabel } from "./shared-aoQdb_6V.js";
|
|
2
|
+
//#region src/locale/messages/date-input.ts
|
|
3
|
+
const dateInputMessages = {
|
|
4
|
+
"en": {
|
|
5
|
+
placeholder: "Select a date",
|
|
6
|
+
dialogLabel: "Choose date",
|
|
7
|
+
openCalendar: "Open calendar",
|
|
8
|
+
closeCalendar: "Close calendar",
|
|
9
|
+
toggleCalendarClose: "Close calendar",
|
|
10
|
+
clear: (label) => clearLabel(label, "Clear", "Clear "),
|
|
11
|
+
invalidDate: "Invalid date",
|
|
12
|
+
loading: "Loading",
|
|
13
|
+
resetPicking: "Reset",
|
|
14
|
+
savePicking: "Save",
|
|
15
|
+
doneChoosingMonth: "Done",
|
|
16
|
+
chooseMonthYear: (monthYear) => `${monthYear}, Choose month and year`,
|
|
17
|
+
monthWheel: "Month",
|
|
18
|
+
yearWheel: "Year"
|
|
19
|
+
},
|
|
20
|
+
"zh-CN": {
|
|
21
|
+
placeholder: "选择日期",
|
|
22
|
+
dialogLabel: "选择日期",
|
|
23
|
+
openCalendar: "打开日历",
|
|
24
|
+
closeCalendar: "关闭日历",
|
|
25
|
+
toggleCalendarClose: "收起日历",
|
|
26
|
+
clear: (label) => clearLabel(label, "清除", "清除"),
|
|
27
|
+
invalidDate: "日期无效",
|
|
28
|
+
loading: "正在加载",
|
|
29
|
+
resetPicking: "重置",
|
|
30
|
+
savePicking: "保存",
|
|
31
|
+
doneChoosingMonth: "完成",
|
|
32
|
+
chooseMonthYear: (monthYear) => `${monthYear},切换月份和年份`,
|
|
33
|
+
monthWheel: "月份",
|
|
34
|
+
yearWheel: "年份"
|
|
35
|
+
}
|
|
36
|
+
};
|
|
37
|
+
//#endregion
|
|
38
|
+
export { dateInputMessages as t };
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { t as clearLabel } from "./shared-aoQdb_6V.js";
|
|
2
|
+
//#region src/locale/messages/date-range-input.ts
|
|
3
|
+
const dateRangeInputMessages = {
|
|
4
|
+
"en": {
|
|
5
|
+
placeholder: "Select date range",
|
|
6
|
+
dialogLabel: "Choose date range",
|
|
7
|
+
clear: (label) => clearLabel(label, "Clear", "Clear "),
|
|
8
|
+
presetDateRanges: "Preset date ranges"
|
|
9
|
+
},
|
|
10
|
+
"zh-CN": {
|
|
11
|
+
placeholder: "选择日期范围",
|
|
12
|
+
dialogLabel: "选择日期范围",
|
|
13
|
+
clear: (label) => clearLabel(label, "清除", "清除"),
|
|
14
|
+
presetDateRanges: "快捷日期范围"
|
|
15
|
+
}
|
|
16
|
+
};
|
|
17
|
+
//#endregion
|
|
18
|
+
export { dateRangeInputMessages as t };
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
//#region src/locale/messages/dropdown-menu.ts
|
|
2
|
+
const dropdownMenuMessages = {
|
|
3
|
+
"en": {
|
|
4
|
+
label: "Menu",
|
|
5
|
+
back: "Back",
|
|
6
|
+
backTo: (parent) => `Back to ${parent}`
|
|
7
|
+
},
|
|
8
|
+
"zh-CN": {
|
|
9
|
+
label: "菜单",
|
|
10
|
+
back: "返回",
|
|
11
|
+
backTo: (parent) => `返回到${parent}`
|
|
12
|
+
}
|
|
13
|
+
};
|
|
14
|
+
//#endregion
|
|
15
|
+
export { dropdownMenuMessages as t };
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
//#region src/locale/messages/field.ts
|
|
2
|
+
const fieldMessages = {
|
|
3
|
+
"en": {
|
|
4
|
+
optional: "Optional",
|
|
5
|
+
required: "Required",
|
|
6
|
+
labelTooltip: (label) => `About ${label}`
|
|
7
|
+
},
|
|
8
|
+
"zh-CN": {
|
|
9
|
+
optional: "可选",
|
|
10
|
+
required: "必填",
|
|
11
|
+
labelTooltip: (label) => `关于${label}`
|
|
12
|
+
}
|
|
13
|
+
};
|
|
14
|
+
//#endregion
|
|
15
|
+
export { fieldMessages as t };
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { t as clearLabel } from "./shared-aoQdb_6V.js";
|
|
2
|
+
//#region src/locale/messages/file-input.ts
|
|
3
|
+
const fileInputMessages = {
|
|
4
|
+
"en": {
|
|
5
|
+
placeholder: "Choose file",
|
|
6
|
+
placeholderMultiple: "Choose files",
|
|
7
|
+
clear: "Clear",
|
|
8
|
+
clearField: (label) => clearLabel(label, "Clear", "Clear "),
|
|
9
|
+
required: "Required",
|
|
10
|
+
dropHint: "Drop files here",
|
|
11
|
+
triggerWithFiles: (label, fileNames) => `${label}, ${fileNames}`,
|
|
12
|
+
fileSelected: (fileName) => `1 file selected: ${fileName}`,
|
|
13
|
+
filesSelected: (count) => `${count} files selected`,
|
|
14
|
+
errorType: (fileName) => `"${fileName}" is not an accepted file type`,
|
|
15
|
+
errorSize: (fileName, maxSize) => `"${fileName}" exceeds ${maxSize} limit`,
|
|
16
|
+
errorCount: (maxFiles) => `Maximum ${maxFiles} files allowed`,
|
|
17
|
+
fileSizeBytes: (size) => `${size} B`,
|
|
18
|
+
fileSizeKilobytes: (size) => `${size} KB`,
|
|
19
|
+
fileSizeMegabytes: (size) => `${size} MB`
|
|
20
|
+
},
|
|
21
|
+
"zh-CN": {
|
|
22
|
+
placeholder: "选择文件",
|
|
23
|
+
placeholderMultiple: "选择文件",
|
|
24
|
+
clear: "清除",
|
|
25
|
+
clearField: (label) => clearLabel(label, "清除", "清除"),
|
|
26
|
+
required: "必填",
|
|
27
|
+
dropHint: "把文件拖到这里",
|
|
28
|
+
triggerWithFiles: (label, fileNames) => `${label},${fileNames}`,
|
|
29
|
+
fileSelected: (fileName) => `已选择 1 个文件:${fileName}`,
|
|
30
|
+
filesSelected: (count) => `已选择 ${count} 个文件`,
|
|
31
|
+
errorType: (fileName) => `不支持“${fileName}”的文件类型`,
|
|
32
|
+
errorSize: (fileName, maxSize) => `“${fileName}”超过了 ${maxSize} 的大小限制`,
|
|
33
|
+
errorCount: (maxFiles) => `最多只能选择 ${maxFiles} 个文件`,
|
|
34
|
+
fileSizeBytes: (size) => `${size} 字节`,
|
|
35
|
+
fileSizeKilobytes: (size) => `${size} KB`,
|
|
36
|
+
fileSizeMegabytes: (size) => `${size} MB`
|
|
37
|
+
}
|
|
38
|
+
};
|
|
39
|
+
//#endregion
|
|
40
|
+
export { fileInputMessages as t };
|
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
import { o as useAstryxLocale } from "./context-CV6TrhJY.js";
|
|
2
|
-
import { computed, toValue } from "vue";
|
|
3
1
|
//#region src/locale/weekdays.ts
|
|
4
2
|
const standaloneShortWeekdayNamesByLocale = {
|
|
5
3
|
"af": [
|
|
@@ -313,31 +311,4 @@ function weekdayNames(locale, style) {
|
|
|
313
311
|
});
|
|
314
312
|
}
|
|
315
313
|
//#endregion
|
|
316
|
-
|
|
317
|
-
/**
|
|
318
|
-
* 按当前语言比较字符串,对应原版的 `useCollator`。
|
|
319
|
-
* 没提供语言时用 `en`。`options` 用 ref 或 computed 包起来,变了才会重建比较器。
|
|
320
|
-
*
|
|
321
|
-
* @example
|
|
322
|
-
* ```ts
|
|
323
|
-
* const collator = useCollator({ numeric: true })
|
|
324
|
-
* items.sort((a, b) => collator.value.compare(a.name, b.name))
|
|
325
|
-
* ```
|
|
326
|
-
*/
|
|
327
|
-
function useCollator(options) {
|
|
328
|
-
const locale = useAstryxLocale();
|
|
329
|
-
return computed(() => new Intl.Collator(locale.value, toValue(options)));
|
|
330
|
-
}
|
|
331
|
-
//#endregion
|
|
332
|
-
//#region src/locale/useLocale.ts
|
|
333
|
-
/**
|
|
334
|
-
* 对应原版 Astryx 的 `hooks/useLocale`。
|
|
335
|
-
*
|
|
336
|
-
* 读当前生效的语言标签。把它交给需要显式语言的纯函数或别的包,
|
|
337
|
-
* 不要从 `navigator.language` 或者写死的字面量里另取一份,那样会跟 provider 对不上。
|
|
338
|
-
*/
|
|
339
|
-
function useLocale() {
|
|
340
|
-
return { locale: useAstryxLocale() };
|
|
341
|
-
}
|
|
342
|
-
//#endregion
|
|
343
|
-
export { weekdayNames as a, standaloneShortWeekdayNames as i, useCollator as n, formatCalendarMonth as r, useLocale as t };
|
|
314
|
+
export { standaloneShortWeekdayNames as n, weekdayNames as r, formatCalendarMonth as t };
|
|
@@ -89,11 +89,11 @@ declare const __VLS_base: import("vue").DefineComponent<HoverCardProps, {
|
|
|
89
89
|
placement: HoverCardPlacement;
|
|
90
90
|
alignment: HoverCardAlignment;
|
|
91
91
|
isDefaultOpen: boolean;
|
|
92
|
-
isEnabled: boolean;
|
|
93
92
|
delay: number;
|
|
94
93
|
hideDelay: number;
|
|
95
94
|
focusTrigger: HoverCardFocusTrigger;
|
|
96
95
|
touchTrigger: HoverCardTouchTrigger;
|
|
96
|
+
isEnabled: boolean;
|
|
97
97
|
hasHoverIndication: HoverCardHoverIndication;
|
|
98
98
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
99
99
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
@@ -36,11 +36,11 @@ declare const __VLS_base$2: import("vue").DefineComponent<ItemProps, {
|
|
|
36
36
|
blur: typeof blur;
|
|
37
37
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ItemProps> & Readonly<{}>, {
|
|
38
38
|
isDisabled: boolean;
|
|
39
|
-
density: ListDensity;
|
|
40
39
|
as: ItemElement;
|
|
40
|
+
density: ListDensity;
|
|
41
|
+
layout: ItemLayout;
|
|
41
42
|
isSelected: boolean;
|
|
42
43
|
align: ItemAlign;
|
|
43
|
-
layout: ItemLayout;
|
|
44
44
|
isHighlighted: boolean;
|
|
45
45
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
46
46
|
declare const __VLS_export$2: __VLS_WithSlots$2<typeof __VLS_base$2, __VLS_Slots$2>;
|
|
@@ -44,8 +44,8 @@ interface TimerProps {
|
|
|
44
44
|
//#region src/Timer/Timer.vue.d.ts
|
|
45
45
|
declare const __VLS_export: import("vue").DefineComponent<TimerProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<TimerProps> & Readonly<{}>, {
|
|
46
46
|
type: TimerType;
|
|
47
|
-
color: TimerColor;
|
|
48
47
|
format: "clock" | "elapsed";
|
|
48
|
+
color: TimerColor;
|
|
49
49
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
50
50
|
declare const _default: typeof __VLS_export;
|
|
51
51
|
//#endregion
|
|
@@ -139,9 +139,9 @@ declare const __VLS_base$1: import("vue").DefineComponent<__VLS_PublicProps$1, {
|
|
|
139
139
|
padding: BottomSheetPadding;
|
|
140
140
|
height: string | number;
|
|
141
141
|
isInline: boolean;
|
|
142
|
+
snapPoints: readonly BottomSheetSnapPoint[];
|
|
142
143
|
purpose: BottomSheetPurpose;
|
|
143
144
|
hasScrim: boolean;
|
|
144
|
-
snapPoints: readonly BottomSheetSnapPoint[];
|
|
145
145
|
finalFocusRef: import("vue").MaybeRef<HTMLElement | null>;
|
|
146
146
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
147
147
|
declare const __VLS_export$1: __VLS_WithSlots$1<typeof __VLS_base$1, __VLS_Slots$1>;
|
|
@@ -175,11 +175,11 @@ type __VLS_Slots = {} & {
|
|
|
175
175
|
default?: (props: typeof __VLS_1) => any;
|
|
176
176
|
};
|
|
177
177
|
declare const __VLS_base: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
178
|
-
cancel: (event: Event) => any;
|
|
179
178
|
"update:activeSheet": (value: string | null) => any;
|
|
179
|
+
cancel: (event: Event) => any;
|
|
180
180
|
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
181
|
-
onCancel?: ((event: Event) => any) | undefined;
|
|
182
181
|
"onUpdate:activeSheet"?: ((value: string | null) => any) | undefined;
|
|
182
|
+
onCancel?: ((event: Event) => any) | undefined;
|
|
183
183
|
}>, {
|
|
184
184
|
hasScrim: boolean;
|
|
185
185
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
@@ -174,19 +174,19 @@ declare const __VLS_base: import("vue").DefineComponent<SelectorProps, {}, {}, {
|
|
|
174
174
|
onKeydown?: ((event: KeyboardEvent) => any) | undefined;
|
|
175
175
|
"onUpdate:modelValue"?: ((value: string | number | null) => any) | undefined;
|
|
176
176
|
}>, {
|
|
177
|
-
status: SelectorStatusInput;
|
|
178
|
-
isOptional: boolean;
|
|
179
|
-
indicatorPosition: SelectorIndicatorPosition;
|
|
180
177
|
isLoading: boolean;
|
|
181
178
|
variant: SelectorVariant;
|
|
179
|
+
indicatorPosition: SelectorIndicatorPosition;
|
|
180
|
+
status: SelectorStatusInput;
|
|
181
|
+
isOptional: boolean;
|
|
182
182
|
modelValue: string | number | null;
|
|
183
183
|
isLabelHidden: boolean;
|
|
184
184
|
isRequired: boolean;
|
|
185
185
|
statusVariant: SelectorStatusVariant;
|
|
186
186
|
disabled: boolean;
|
|
187
|
+
isReadOnly: boolean;
|
|
187
188
|
clearable: boolean;
|
|
188
189
|
presentation: SelectorPresentation;
|
|
189
|
-
isReadOnly: boolean;
|
|
190
190
|
searchable: boolean;
|
|
191
191
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
192
192
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
@@ -71,11 +71,11 @@ declare const __VLS_base: import("vue").DefineComponent<TooltipProps, {}, {}, {}
|
|
|
71
71
|
placement: TooltipPlacement;
|
|
72
72
|
alignment: TooltipAlignment;
|
|
73
73
|
isDefaultOpen: boolean;
|
|
74
|
-
isEnabled: boolean;
|
|
75
74
|
delay: number;
|
|
76
75
|
hideDelay: number;
|
|
77
76
|
focusTrigger: TooltipFocusTrigger;
|
|
78
77
|
touchTrigger: TooltipTouchTrigger;
|
|
78
|
+
isEnabled: boolean;
|
|
79
79
|
hasHoverIndication: boolean | "auto";
|
|
80
80
|
anchorsOnSelf: boolean;
|
|
81
81
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
@@ -28,8 +28,8 @@ declare const __VLS_base: import("vue").DefineComponent<NavItemProps, {}, {}, {}
|
|
|
28
28
|
onClick?: ((event: MouseEvent) => any) | undefined;
|
|
29
29
|
}>, {
|
|
30
30
|
block: boolean;
|
|
31
|
-
isDisabled: boolean;
|
|
32
31
|
size: NavItemSize;
|
|
32
|
+
isDisabled: boolean;
|
|
33
33
|
isIconOnly: boolean;
|
|
34
34
|
isSelected: boolean;
|
|
35
35
|
plain: boolean;
|
|
@@ -9,8 +9,8 @@ declare const __VLS_base: import("vue").DefineComponent<ButtonProps, {
|
|
|
9
9
|
onClick?: ((event: MouseEvent) => any) | undefined;
|
|
10
10
|
}>, {
|
|
11
11
|
type: "button" | "reset" | "submit";
|
|
12
|
-
isDisabled: boolean;
|
|
13
12
|
elevation: ButtonElevation;
|
|
13
|
+
isDisabled: boolean;
|
|
14
14
|
isLoading: boolean;
|
|
15
15
|
isIconOnly: boolean;
|
|
16
16
|
isInterruptible: boolean;
|
|
@@ -22,8 +22,8 @@ declare const __VLS_base: import("vue").DefineComponent<PopoverProps, {}, {}, {}
|
|
|
22
22
|
isOpen: boolean;
|
|
23
23
|
placement: LayerPlacement;
|
|
24
24
|
alignment: LayerAlignment;
|
|
25
|
-
hasAutoFocus: boolean;
|
|
26
25
|
role: PopoverRole;
|
|
26
|
+
hasAutoFocus: boolean;
|
|
27
27
|
hasCloseButton: boolean;
|
|
28
28
|
closeButtonLabel: string;
|
|
29
29
|
isEnabled: boolean;
|
|
@@ -43,8 +43,8 @@ interface ProgressBarProps {
|
|
|
43
43
|
//#endregion
|
|
44
44
|
//#region src/ProgressBar/ProgressBar.vue.d.ts
|
|
45
45
|
declare const __VLS_export: import("vue").DefineComponent<ProgressBarProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ProgressBarProps> & Readonly<{}>, {
|
|
46
|
-
isDisabled: boolean;
|
|
47
46
|
size: ProgressBarSize;
|
|
47
|
+
isDisabled: boolean;
|
|
48
48
|
value: number;
|
|
49
49
|
variant: ProgressBarVariant;
|
|
50
50
|
isLabelHidden: boolean;
|
|
@@ -403,10 +403,10 @@ declare const __VLS_base: import("vue").DefineComponent<PowerSearchProps, {
|
|
|
403
403
|
}>, {
|
|
404
404
|
status: PowerSearchStatus;
|
|
405
405
|
statusVariant: PowerSearchStatusVariant;
|
|
406
|
-
labelHidden: boolean;
|
|
407
406
|
disabled: boolean;
|
|
408
|
-
clearable: boolean;
|
|
409
407
|
hasClear: boolean;
|
|
408
|
+
clearable: boolean;
|
|
409
|
+
labelHidden: boolean;
|
|
410
410
|
overflow: PowerSearchOverflow;
|
|
411
411
|
readOnly: boolean;
|
|
412
412
|
maxTokenLength: number;
|
|
@@ -21,8 +21,8 @@ type __VLS_Slots = {} & {
|
|
|
21
21
|
label?: (props: typeof __VLS_1) => any;
|
|
22
22
|
};
|
|
23
23
|
declare const __VLS_base: import("vue").DefineComponent<DividerProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<DividerProps> & Readonly<{}>, {
|
|
24
|
-
orientation: DividerOrientation;
|
|
25
24
|
variant: DividerVariant;
|
|
25
|
+
orientation: DividerOrientation;
|
|
26
26
|
isFullBleed: boolean;
|
|
27
27
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
28
28
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
@@ -108,11 +108,10 @@ declare const __VLS_base: import("vue").DefineComponent<PaginationProps, {}, {},
|
|
|
108
108
|
"onUpdate:pageSize"?: ((value: number) => any) | undefined;
|
|
109
109
|
onPageSizeChange?: ((pageSize: number) => any) | undefined;
|
|
110
110
|
}>, {
|
|
111
|
-
step: number;
|
|
112
|
-
isDisabled: boolean;
|
|
113
111
|
size: PaginationSize;
|
|
112
|
+
isDisabled: boolean;
|
|
114
113
|
variant: PaginationVariant;
|
|
115
|
-
|
|
114
|
+
step: number;
|
|
116
115
|
page: number;
|
|
117
116
|
pageSize: number;
|
|
118
117
|
total: number;
|
|
@@ -120,6 +119,7 @@ declare const __VLS_base: import("vue").DefineComponent<PaginationProps, {}, {},
|
|
|
120
119
|
showSizeChanger: boolean;
|
|
121
120
|
pageSizeOptions: number[];
|
|
122
121
|
showTotal: boolean;
|
|
122
|
+
disabled: boolean;
|
|
123
123
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
124
124
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
125
125
|
declare const _default: typeof __VLS_export;
|