@astryx-vue/core 0.7.27 → 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.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-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/Card/index.d.ts +1 -1
- 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/Code/index.d.ts +1 -1
- package/dist/Collapsible/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-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/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/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.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/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.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-C3f1zsJR.d.ts → index-9tZJgo0R.d.ts} +3 -3
- 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-rbhycKiu.d.ts → index-BtuK-muv.d.ts} +5 -5
- package/dist/{index-CL8JvxHW.d.ts → index-C1zwvxPH.d.ts} +2 -2
- package/dist/{index-_VG-Bc2K.d.ts → index-CEHqYyz5.d.ts} +4 -4
- package/dist/{index-DaXzQxos.d.ts → index-CL6DNvOo.d.ts} +3 -3
- package/dist/{index-DyALKpjX.d.ts → index-CM2L3SUw.d.ts} +4 -4
- package/dist/{index-YKCx03zD.d.ts → index-COgrQZIL.d.ts} +2 -2
- package/dist/{index-Bgk1Rj2A.d.ts → index-CTjkJP4x.d.ts} +1 -1
- package/dist/{index-Be7N3B5F.d.ts → index-CpG5Wql5.d.ts} +4 -4
- package/dist/{index-rszZajcw.d.ts → index-D1JXm7Et.d.ts} +2 -2
- package/dist/{index-D4zmrP2a.d.ts → index-D44l1Esr.d.ts} +63 -63
- package/dist/{index-B-3EGjfQ.d.ts → index-Q1oG9yIT.d.ts} +2 -2
- 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-DkF8wxHr.d.ts → index-Ukeoz7_9.d.ts} +6 -6
- package/dist/{index-BSlzqFzV.d.ts → index-a1jCiQP7.d.ts} +5 -5
- package/dist/{index-CM8KfpBL.d.ts → index-dWlCpnua.d.ts} +3 -3
- package/dist/{index-3t5RAfNP.d.ts → index-mkbGYz8f.d.ts} +2 -2
- package/dist/{index-BjbPK91B.d.ts → index-pACjRM0E.d.ts} +8 -2
- package/dist/{index-IfiA8CSr.d.ts → index-qayqGnJT.d.ts} +2 -2
- package/dist/{index-CtYlR9Cu.d.ts → index-rdwI-mcm.d.ts} +1 -1
- package/dist/{index-BEZ4ezJk.d.ts → index-wY6dKz6c.d.ts} +2 -2
- package/dist/{index-C89cIh4E.d.ts → index-waTkqxTz.d.ts} +1 -1
- package/dist/{index-gw92L7ZG.d.ts → index-wkeCkhTi.d.ts} +2 -2
- package/dist/index.d.ts +27 -27
- 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/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
|
@@ -4,11 +4,12 @@ import { n as isKeyboardModality, r as trackInteractionModality } from "./intera
|
|
|
4
4
|
import { t as invokeNativeEventHandler } from "./eventHandlers-DUXzBWZy.js";
|
|
5
5
|
import { t as useAnnounce } from "./announce-B210eJVf.js";
|
|
6
6
|
import { n as useAsyncSource } from "./useAsyncSource-Gk0VtE7_.js";
|
|
7
|
-
import {
|
|
8
|
-
import { t as _sfc_main$8 } from "./Kbd-
|
|
7
|
+
import { o as useComponentMessages } from "./context-B8IEFCDR.js";
|
|
8
|
+
import { t as _sfc_main$8 } from "./Kbd-D4JPY4VI.js";
|
|
9
9
|
import { n as DIALOG_CONTEXT_KEY, t as _sfc_main$9 } from "./Dialog-BtPktuiy.js";
|
|
10
10
|
import { t as useScrollbars } from "./useScrollbars-Ch0xqJWO.js";
|
|
11
|
-
import { t as _sfc_main$10 } from "./Spinner-
|
|
11
|
+
import { t as _sfc_main$10 } from "./Spinner-DEVPDsD0.js";
|
|
12
|
+
import { t as commandPaletteMessages } from "./command-palette-DuNs5XAd.js";
|
|
12
13
|
import { Fragment, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createTextVNode, createVNode, defineComponent, getCurrentInstance, inject, mergeModels, mergeProps, normalizeClass, normalizeStyle, onMounted, openBlock, provide, ref, renderList, renderSlot, toDisplayString, unref, useAttrs, useId, useModel, useTemplateRef, watch, withCtx } from "vue";
|
|
13
14
|
import "../styles/command-palette.css";
|
|
14
15
|
//#region src/CommandPalette/CommandPaletteEmpty.vue
|
|
@@ -32,7 +33,7 @@ const _sfc_main$5 = /*@__PURE__*/ defineComponent({
|
|
|
32
33
|
name: "AstryxCommandPaletteFooter",
|
|
33
34
|
__name: "CommandPaletteFooter",
|
|
34
35
|
setup(__props) {
|
|
35
|
-
const messages =
|
|
36
|
+
const messages = useComponentMessages({ commandPalette: commandPaletteMessages });
|
|
36
37
|
return (_ctx, _cache) => {
|
|
37
38
|
return openBlock(), createElementBlock("div", _hoisted_1$4, [renderSlot(_ctx.$slots, "default", {}, () => [
|
|
38
39
|
createElementVNode("span", _hoisted_2$3, [
|
|
@@ -104,7 +105,7 @@ const _sfc_main$3 = /*@__PURE__*/ defineComponent({
|
|
|
104
105
|
const palette = inject(commandPaletteKey, null);
|
|
105
106
|
const dialog = inject(DIALOG_CONTEXT_KEY, null);
|
|
106
107
|
const attrs = useAttrs();
|
|
107
|
-
const messages =
|
|
108
|
+
const messages = useComponentMessages({ commandPalette: commandPaletteMessages });
|
|
108
109
|
const inputRef = useTemplateRef("input");
|
|
109
110
|
const keyboardFocus = ref(false);
|
|
110
111
|
trackInteractionModality();
|
|
@@ -344,7 +345,7 @@ const _sfc_main$1 = /*@__PURE__*/ defineComponent({
|
|
|
344
345
|
setup(__props) {
|
|
345
346
|
const props = __props;
|
|
346
347
|
const palette = inject(commandPaletteKey, null);
|
|
347
|
-
const messages =
|
|
348
|
+
const messages = useComponentMessages({ commandPalette: commandPaletteMessages });
|
|
348
349
|
const label = computed(() => props.label ?? messages.value.commandPalette.listLabel);
|
|
349
350
|
/** 没有可选项时它只是个空容器,不再当作 listbox 暴露给读屏。单独使用时始终是 listbox。 */
|
|
350
351
|
const hasOptions = computed(() => palette == null || palette.items.value.length > 0);
|
|
@@ -416,7 +417,7 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
416
417
|
const props = __props;
|
|
417
418
|
const emit = __emit;
|
|
418
419
|
const value = useModel(__props, "value");
|
|
419
|
-
const messages =
|
|
420
|
+
const messages = useComponentMessages({ commandPalette: commandPaletteMessages });
|
|
420
421
|
const announce = useAnnounce();
|
|
421
422
|
const search = ref("");
|
|
422
423
|
const highlightedIndex = ref(-1);
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as ComplexSelectorProps, c as ComplexSelectorState, i as ComplexSelectorHandleRef, l as ComplexSelectorTriggerProps, n as ComplexSelectorEmits, o as ComplexSelectorSlotProps, r as ComplexSelectorHandle, s as ComplexSelectorSlots, t as _default, u as ComplexSelectorVariant } from "../index-
|
|
1
|
+
import { a as ComplexSelectorProps, c as ComplexSelectorState, i as ComplexSelectorHandleRef, l as ComplexSelectorTriggerProps, n as ComplexSelectorEmits, o as ComplexSelectorSlotProps, r as ComplexSelectorHandle, s as ComplexSelectorSlots, t as _default, u as ComplexSelectorVariant } from "../index-wkeCkhTi.js";
|
|
2
2
|
export { _default as ComplexSelector, _default as default, type ComplexSelectorEmits, type ComplexSelectorHandle, type ComplexSelectorHandleRef, type ComplexSelectorProps, type ComplexSelectorSlotProps, type ComplexSelectorSlots, type ComplexSelectorState, type ComplexSelectorTriggerProps, type ComplexSelectorVariant };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as _sfc_main, t as ComplexSelector_default } from "../ComplexSelector-
|
|
1
|
+
import { n as _sfc_main, t as ComplexSelector_default } from "../ComplexSelector-BgnhEjIN.js";
|
|
2
2
|
export { _sfc_main as ComplexSelector, ComplexSelector_default as default };
|
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
import { t as _sfc_main$1 } from "./Icon-BCHo7W0x.js";
|
|
2
2
|
import { n as useDevWarning } from "./useDevWarning-B2fsk2B-.js";
|
|
3
|
-
import {
|
|
3
|
+
import { o as useComponentMessages } from "./context-B8IEFCDR.js";
|
|
4
4
|
import { t as useScrollbars } from "./useScrollbars-Ch0xqJWO.js";
|
|
5
|
-
import { t as _sfc_main$2 } from "./Spinner-
|
|
6
|
-
import { t as _sfc_main$3 } from "./Field-
|
|
5
|
+
import { t as _sfc_main$2 } from "./Spinner-DEVPDsD0.js";
|
|
6
|
+
import { t as _sfc_main$3 } from "./Field-Dc15m78p.js";
|
|
7
7
|
import { t as useFieldPartStyling } from "./fieldParts-CDOlBdy6.js";
|
|
8
8
|
import { t as consumeWhileDisabled } from "./disabledInteraction-CPzL8kVP.js";
|
|
9
9
|
import { n as fieldStatusPlacement, t as normalizeTriggerVariant } from "./triggerVariant-BsL8jMHs.js";
|
|
10
|
-
import { t as
|
|
10
|
+
import { t as selectorMessages } from "./selector-qWbffnIX.js";
|
|
11
|
+
import { t as _sfc_main$4 } from "./Popover-DaGcaKHo.js";
|
|
11
12
|
import { computed, createBlock, createCommentVNode, createElementVNode, createVNode, defineComponent, guardReactiveProps, mergeModels, mergeProps, normalizeClass, normalizeProps, normalizeStyle, onBeforeUnmount, openBlock, ref, renderSlot, resolveDynamicComponent, toDisplayString, unref, useAttrs, useId, useModel, useSlots, useTemplateRef, watch, withCtx } from "vue";
|
|
12
13
|
import "../styles/complex-selector.css";
|
|
13
14
|
//#region src/ComplexSelector/ComplexSelector.vue
|
|
@@ -147,7 +148,7 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
147
148
|
const triggerVariant = computed(() => normalizeTriggerVariant(props.variant));
|
|
148
149
|
const effectiveStatusVariant = computed(() => fieldStatusPlacement(props.variant, props.statusVariant));
|
|
149
150
|
const model = useModel(__props, "modelValue");
|
|
150
|
-
const messages =
|
|
151
|
+
const messages = useComponentMessages({ selector: selectorMessages });
|
|
151
152
|
const isOpen = ref(false);
|
|
152
153
|
const isPending = ref(false);
|
|
153
154
|
const contentEl = useTemplateRef("contentEl");
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { $i as _default$4, Aa as ContextMenuVariant, Ca as ContextMenuSection, Da as ContextMenuSubMenuProps, Ea as ContextMenuSubMenuEmits, Oa as ContextMenuSubMenuSlots, Qi as _default$7, Sa as ContextMenuRadioOptionData, Ta as ContextMenuSlots, _a as ContextMenuItemTarget, aa as ContextMenuCheckboxData, ba as ContextMenuProps, ca as ContextMenuEmits, da as ContextMenuGroupSlots, ea as _default$3, fa as ContextMenuItemData, ga as ContextMenuItemSlots, ha as ContextMenuItemProps, ia as useContextMenuSize, ja as ContextMenuWidth, ka as ContextMenuTriggerElement, la as ContextMenuEntry, ma as ContextMenuItemIcon, na as _default, oa as ContextMenuDividerData, pa as ContextMenuItemEmits, ra as useContextMenu, sa as ContextMenuDividerProps, ta as _default$2, ua as ContextMenuGroupProps, va as ContextMenuOption, wa as ContextMenuSize, xa as ContextMenuRadioData, ya as ContextMenuPresentation } from "../index-
|
|
1
|
+
import { $i as _default$4, Aa as ContextMenuVariant, Ca as ContextMenuSection, Da as ContextMenuSubMenuProps, Ea as ContextMenuSubMenuEmits, Oa as ContextMenuSubMenuSlots, Qi as _default$7, Sa as ContextMenuRadioOptionData, Ta as ContextMenuSlots, _a as ContextMenuItemTarget, aa as ContextMenuCheckboxData, ba as ContextMenuProps, ca as ContextMenuEmits, da as ContextMenuGroupSlots, ea as _default$3, fa as ContextMenuItemData, ga as ContextMenuItemSlots, ha as ContextMenuItemProps, ia as useContextMenuSize, ja as ContextMenuWidth, ka as ContextMenuTriggerElement, la as ContextMenuEntry, ma as ContextMenuItemIcon, na as _default, oa as ContextMenuDividerData, pa as ContextMenuItemEmits, ra as useContextMenu, sa as ContextMenuDividerProps, ta as _default$2, ua as ContextMenuGroupProps, va as ContextMenuOption, wa as ContextMenuSize, xa as ContextMenuRadioData, ya as ContextMenuPresentation } from "../index-D44l1Esr.js";
|
|
2
2
|
import { n as _default$5, r as _default$1, t as _default$6 } from "../DropdownMenuRadioItem.vue-D455cIQQ.js";
|
|
3
3
|
export { _default as ContextMenu, type ContextMenuCheckboxData, _default$1 as ContextMenuCheckboxItem, _default$2 as ContextMenuDivider, type ContextMenuDividerData, type ContextMenuDividerProps, type ContextMenuEmits, type ContextMenuEntry, _default$3 as ContextMenuGroup, type ContextMenuGroupProps, type ContextMenuGroupSlots, _default$4 as ContextMenuItem, type ContextMenuItemData, type ContextMenuItemEmits, type ContextMenuItemIcon, type ContextMenuItemProps, type ContextMenuItemSlots, type ContextMenuItemTarget, type ContextMenuOption, type ContextMenuPresentation, type ContextMenuProps, type ContextMenuRadioData, _default$5 as ContextMenuRadioGroup, _default$6 as ContextMenuRadioItem, type ContextMenuRadioOptionData, type ContextMenuSection, type ContextMenuSize, type ContextMenuSlots, _default$7 as ContextMenuSubMenu, type ContextMenuSubMenuEmits, type ContextMenuSubMenuProps, type ContextMenuSubMenuSlots, type ContextMenuTriggerElement, type ContextMenuVariant, type ContextMenuWidth, useContextMenu, useContextMenuSize };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { a as _sfc_main$2, i as _sfc_main$3, n as _sfc_main$7, r as _sfc_main$4, t as _sfc_main } from "../ContextMenu-
|
|
1
|
+
import { a as _sfc_main$1, d as useContextMenu, f as useContextMenuSize, i as _sfc_main$5, r as _sfc_main$6 } from "../useMenuDrillIn-uQtOSny6.js";
|
|
2
|
+
import { a as _sfc_main$2, i as _sfc_main$3, n as _sfc_main$7, r as _sfc_main$4, t as _sfc_main } from "../ContextMenu-DN_nTBgW.js";
|
|
3
3
|
export { _sfc_main as ContextMenu, _sfc_main$1 as ContextMenuCheckboxItem, _sfc_main$2 as ContextMenuDivider, _sfc_main$3 as ContextMenuGroup, _sfc_main$4 as ContextMenuItem, _sfc_main$5 as ContextMenuRadioGroup, _sfc_main$6 as ContextMenuRadioItem, _sfc_main$7 as ContextMenuSubMenu, useContextMenu, useContextMenuSize };
|
|
@@ -6,13 +6,14 @@ import { n as usePositionedLayer, t as useDismiss } from "./useDismiss-0-Z-9D0A.
|
|
|
6
6
|
import { a as isImeKeyEvent } from "./layerDepth-CNDh-IHb.js";
|
|
7
7
|
import { t as _sfc_main$8 } from "./LayerContentBoundary-CvsKxwwm.js";
|
|
8
8
|
import { t as useMediaQuery } from "./useMediaQuery-GMmgp28-.js";
|
|
9
|
-
import {
|
|
9
|
+
import { o as useComponentMessages } from "./context-B8IEFCDR.js";
|
|
10
10
|
import { a as useLongPress, t as useMenuPress } from "./useMenuPress-BLPwY_m1.js";
|
|
11
11
|
import { n as useOverflow } from "./useOverflow-VrwF5oek.js";
|
|
12
12
|
import { t as useScrollbars } from "./useScrollbars-Ch0xqJWO.js";
|
|
13
|
-
import {
|
|
13
|
+
import { a as _sfc_main$9, d as useContextMenu, f as useContextMenuSize, i as _sfc_main$10, l as contextMenuContextKey, n as useDropdownMenuMessages, r as _sfc_main$11, t as useMenuDrillIn, u as submenuAncestorOpenKey } from "./useMenuDrillIn-uQtOSny6.js";
|
|
14
14
|
import { t as _sfc_main$12 } from "./Divider-mOZ6vIQw.js";
|
|
15
|
-
import { t as _sfc_main$13 } from "./Spinner-
|
|
15
|
+
import { t as _sfc_main$13 } from "./Spinner-DEVPDsD0.js";
|
|
16
|
+
import { t as contextMenuMessages } from "./context-menu-9i6CObx3.js";
|
|
16
17
|
import { t as useSubmenuMode } from "./useSubmenuMode-CZN9qrUo.js";
|
|
17
18
|
import { t as createHideTimer } from "./hoverIntent-DMHGb85c.js";
|
|
18
19
|
import { Fragment, Teleport, Transition, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createTextVNode, createVNode, defineComponent, inject, mergeModels, mergeProps, nextTick, normalizeClass, normalizeStyle, onBeforeUnmount, onMounted, onScopeDispose, openBlock, provide, ref, renderList, renderSlot, resolveComponent, resolveDynamicComponent, shallowRef, toDisplayString, toRaw, unref, useAttrs, useId, useModel, useTemplateRef, vShow, watch, withCtx, withDirectives, withModifiers } from "vue";
|
|
@@ -562,7 +563,7 @@ const _sfc_main$2 = /*@__PURE__*/ defineComponent({
|
|
|
562
563
|
const attrs = useAttrs();
|
|
563
564
|
const menu = useContextMenu();
|
|
564
565
|
const size = useContextMenuSize();
|
|
565
|
-
const messages =
|
|
566
|
+
const messages = useDropdownMenuMessages();
|
|
566
567
|
const viewId = useId();
|
|
567
568
|
const mode = useSubmenuMode({
|
|
568
569
|
drillIn: computed(() => menu?.drillIn.value),
|
|
@@ -996,7 +997,7 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
996
997
|
const props = __props;
|
|
997
998
|
const emit = __emit;
|
|
998
999
|
const attrs = useAttrs();
|
|
999
|
-
const messages =
|
|
1000
|
+
const messages = useComponentMessages({ contextMenu: contextMenuMessages });
|
|
1000
1001
|
const menuName = computed(() => props.label ?? messages.value.contextMenu.label);
|
|
1001
1002
|
/**
|
|
1002
1003
|
* `class` and `style` describe the painted menu surface, the way upstream's
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { Gi as DateInputFormatName, Hi as _default, Ji as DateInputProps, Ki as DateInputNativePicker, Ui as DateInputEmits, Wi as DateInputFormat, Xi as DateInputStatus, Yi as DateInputSlots, Zi as DateInputStatusType, qi as DateInputPresentation } from "../index-
|
|
1
|
+
import { Gi as DateInputFormatName, Hi as _default, Ji as DateInputProps, Ki as DateInputNativePicker, Ui as DateInputEmits, Wi as DateInputFormat, Xi as DateInputStatus, Yi as DateInputSlots, Zi as DateInputStatusType, qi as DateInputPresentation } from "../index-D44l1Esr.js";
|
|
2
2
|
export { _default as DateInput, type DateInputEmits, type DateInputFormat, type DateInputFormatName, type DateInputNativePicker, type DateInputPresentation, type DateInputProps, type DateInputSlots, type DateInputStatus, type DateInputStatusType };
|
package/dist/DateInput/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as _sfc_main } from "../DateInput-
|
|
1
|
+
import { t as _sfc_main } from "../DateInput-BY9qdl_H.js";
|
|
2
2
|
export { _sfc_main as DateInput };
|
|
@@ -9,16 +9,18 @@ import { t as useButtonTooltip } from "./useButtonTooltip-DjCaZMp_.js";
|
|
|
9
9
|
import { t as useMediaQuery } from "./useMediaQuery-GMmgp28-.js";
|
|
10
10
|
import { n as resolveDateSurface, t as resolveDatePresentation } from "./useDatePresentation-C07PnOCw.js";
|
|
11
11
|
import { t as _sfc_main$8 } from "./FieldIcon-DMtfe1Ne.js";
|
|
12
|
-
import {
|
|
13
|
-
import { a as weekdayNames, i as standaloneShortWeekdayNames, r as formatCalendarMonth } from "./locale-BA52q_fh.js";
|
|
12
|
+
import { a as useAstryxLocale, o as useComponentMessages } from "./context-B8IEFCDR.js";
|
|
14
13
|
import { t as usePendingChange } from "./usePendingChange-ib-h8FZK.js";
|
|
15
14
|
import { t as useResolvedLabelHidden } from "./useResolvedLabelHidden-B2rlWiaI.js";
|
|
16
|
-
import {
|
|
17
|
-
import { t as
|
|
15
|
+
import { n as standaloneShortWeekdayNames, r as weekdayNames, t as formatCalendarMonth } from "./format-CiN0Dt_H.js";
|
|
16
|
+
import { t as calendarMessages } from "./calendar-Cs2vIPsV.js";
|
|
17
|
+
import { a as isOutsideCalendarBounds, c as toCalendarDate, i as isCalendarDateDisabled, l as weekStartIndex, n as resolveCalendarKey, o as formatWeekdayDate, r as buildCalendarWeeks, s as sameCalendarDay, t as _sfc_main$9 } from "./Calendar-DwFAzDky.js";
|
|
18
|
+
import { t as _sfc_main$10 } from "./Spinner-DEVPDsD0.js";
|
|
18
19
|
import { i as useAriaRequired } from "./context-Cfml4jaK.js";
|
|
19
|
-
import { t as _sfc_main$11 } from "./Field-
|
|
20
|
+
import { t as _sfc_main$11 } from "./Field-Dc15m78p.js";
|
|
20
21
|
import { t as useFieldPartStyling } from "./fieldParts-CDOlBdy6.js";
|
|
21
|
-
import { t as _sfc_main$12 } from "./Popover-
|
|
22
|
+
import { t as _sfc_main$12 } from "./Popover-DaGcaKHo.js";
|
|
23
|
+
import { t as dateInputMessages } from "./date-input-Bj3KSuoJ.js";
|
|
22
24
|
import { t as formatInstant } from "./formatInstant-BDWUIxS7.js";
|
|
23
25
|
import { t as _sfc_main$13 } from "./PickerWheel-CSwUYfes.js";
|
|
24
26
|
import { Fragment, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createTextVNode, createVNode, defineComponent, mergeProps, normalizeClass, normalizeStyle, onBeforeUnmount, onMounted, openBlock, ref, renderList, renderSlot, resolveDynamicComponent, shallowRef, toDisplayString, unref, useAttrs, useId, useTemplateRef, watch, withCtx } from "vue";
|
|
@@ -138,7 +140,7 @@ const _sfc_main$3 = /*@__PURE__*/ defineComponent({
|
|
|
138
140
|
const emit = __emit;
|
|
139
141
|
const attrs = useAttrs();
|
|
140
142
|
const ariaRequired = useAriaRequired(props);
|
|
141
|
-
const messages =
|
|
143
|
+
const messages = useComponentMessages({ dateInput: dateInputMessages });
|
|
142
144
|
const locale = useAstryxLocale();
|
|
143
145
|
const inputRef = useTemplateRef("input");
|
|
144
146
|
const containerRef = useTemplateRef("container");
|
|
@@ -598,7 +600,10 @@ const _sfc_main$1 = /*@__PURE__*/ defineComponent({
|
|
|
598
600
|
setup(__props, { emit: __emit }) {
|
|
599
601
|
const props = __props;
|
|
600
602
|
const emit = __emit;
|
|
601
|
-
const messages =
|
|
603
|
+
const messages = useComponentMessages({
|
|
604
|
+
calendar: calendarMessages,
|
|
605
|
+
dateInput: dateInputMessages
|
|
606
|
+
});
|
|
602
607
|
const locale = useAstryxLocale();
|
|
603
608
|
const wheelsOpen = ref(false);
|
|
604
609
|
const dragX = ref(null);
|
|
@@ -924,7 +929,7 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
924
929
|
const generatedId = `astryx-date-input-${useId()}`;
|
|
925
930
|
const inputId = computed(() => props.id ?? generatedId);
|
|
926
931
|
const popupId = computed(() => `${inputId.value}-popup`);
|
|
927
|
-
const messages =
|
|
932
|
+
const messages = useComponentMessages({ dateInput: dateInputMessages });
|
|
928
933
|
const locale = useAstryxLocale();
|
|
929
934
|
const isCoarsePointer = useMediaQuery(TOUCH_POINTER_QUERY);
|
|
930
935
|
const resolvedPlaceholder = computed(() => props.placeholder ?? messages.value.dateInput.placeholder);
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { Bi as DateRangeInputProps, Li as _default, Ri as DateRange, Vi as DateRangePreset, zi as DateRangeInputEmits } from "../index-
|
|
1
|
+
import { Bi as DateRangeInputProps, Li as _default, Ri as DateRange, Vi as DateRangePreset, zi as DateRangeInputEmits } from "../index-D44l1Esr.js";
|
|
2
2
|
export { type DateRange, _default as DateRangeInput, type DateRangeInputEmits, type DateRangeInputProps, type DateRangePreset };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as _sfc_main } from "../DateRangeInput-
|
|
1
|
+
import { t as _sfc_main } from "../DateRangeInput-C0vyG95Z.js";
|
|
2
2
|
export { _sfc_main as DateRangeInput };
|
|
@@ -6,17 +6,20 @@ import { t as useButtonTooltip } from "./useButtonTooltip-DjCaZMp_.js";
|
|
|
6
6
|
import { a as isRangeWithinSpan, c as resolveWeekStart, i as isDayOutsideSpan, r as formatDateRange, s as orderRange, t as applyRangeClick } from "./useDateRange-CIXoE_8k.js";
|
|
7
7
|
import { t as _sfc_main$5 } from "./FieldIcon-DMtfe1Ne.js";
|
|
8
8
|
import { t as _sfc_main$6 } from "./IconButton-Crtfruc0.js";
|
|
9
|
-
import {
|
|
10
|
-
import { a as weekdayNames, i as standaloneShortWeekdayNames, r as formatCalendarMonth } from "./locale-BA52q_fh.js";
|
|
9
|
+
import { a as useAstryxLocale, o as useComponentMessages } from "./context-B8IEFCDR.js";
|
|
11
10
|
import { a as todayISODate, n as buildMonthGrid, t as addMonths } from "./useMonthGrid-fGHSSrFc.js";
|
|
12
11
|
import { t as usePendingChange } from "./usePendingChange-ib-h8FZK.js";
|
|
13
12
|
import { t as useResolvedLabelHidden } from "./useResolvedLabelHidden-B2rlWiaI.js";
|
|
14
13
|
import { t as useScrollbars } from "./useScrollbars-Ch0xqJWO.js";
|
|
15
|
-
import { t as
|
|
14
|
+
import { n as standaloneShortWeekdayNames, r as weekdayNames, t as formatCalendarMonth } from "./format-CiN0Dt_H.js";
|
|
15
|
+
import { t as calendarMessages } from "./calendar-Cs2vIPsV.js";
|
|
16
|
+
import { t as _sfc_main$7 } from "./Spinner-DEVPDsD0.js";
|
|
16
17
|
import { i as useAriaRequired } from "./context-Cfml4jaK.js";
|
|
17
|
-
import { t as _sfc_main$8 } from "./Field-
|
|
18
|
+
import { t as _sfc_main$8 } from "./Field-Dc15m78p.js";
|
|
18
19
|
import { t as useFieldPartStyling } from "./fieldParts-CDOlBdy6.js";
|
|
19
|
-
import { t as _sfc_main$9 } from "./Popover-
|
|
20
|
+
import { t as _sfc_main$9 } from "./Popover-DaGcaKHo.js";
|
|
21
|
+
import { t as dateInputMessages } from "./date-input-Bj3KSuoJ.js";
|
|
22
|
+
import { t as dateRangeInputMessages } from "./date-range-input-CoCiWt9_.js";
|
|
20
23
|
import { Fragment, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createTextVNode, createVNode, defineComponent, mergeModels, mergeProps, normalizeClass, normalizeStyle, openBlock, renderList, shallowRef, toDisplayString, unref, useAttrs, useId, useModel, useTemplateRef, withCtx } from "vue";
|
|
21
24
|
import "../styles/calendar.css";
|
|
22
25
|
import "../styles/date-range-input.css";
|
|
@@ -62,7 +65,7 @@ const _sfc_main$1 = /*@__PURE__*/ defineComponent({
|
|
|
62
65
|
const props = __props;
|
|
63
66
|
const emit = __emit;
|
|
64
67
|
const locale = useAstryxLocale();
|
|
65
|
-
const messages =
|
|
68
|
+
const messages = useComponentMessages({ calendar: calendarMessages });
|
|
66
69
|
const hover = useModel(__props, "hover");
|
|
67
70
|
const today = todayISODate();
|
|
68
71
|
const weekStart = computed(() => resolveWeekStart(props.weekStartsOn ?? (locale.value === "zh-CN" ? 1 : 0)));
|
|
@@ -285,7 +288,10 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
285
288
|
});
|
|
286
289
|
const hideLabel = useResolvedLabelHidden(() => props.isLabelHidden, () => props.labelHidden);
|
|
287
290
|
const ariaRequired = useAriaRequired(props);
|
|
288
|
-
const messages =
|
|
291
|
+
const messages = useComponentMessages({
|
|
292
|
+
dateInput: dateInputMessages,
|
|
293
|
+
dateRangeInput: dateRangeInputMessages
|
|
294
|
+
});
|
|
289
295
|
const locale = useAstryxLocale();
|
|
290
296
|
const generatedId = `astryx-date-range-${useId()}`;
|
|
291
297
|
const inputId = computed(() => props.id ?? generatedId);
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { Fi as DateTimeInputProps, Ii as DateTimeInputSize, Ni as _default, Pi as DateTimeInputEmits } from "../index-
|
|
1
|
+
import { Fi as DateTimeInputProps, Ii as DateTimeInputSize, Ni as _default, Pi as DateTimeInputEmits } from "../index-D44l1Esr.js";
|
|
2
2
|
export { _default as DateTimeInput, type DateTimeInputEmits, type DateTimeInputProps, type DateTimeInputSize };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as _sfc_main } from "../DateTimeInput-
|
|
1
|
+
import { t as _sfc_main } from "../DateTimeInput-BmIljXWd.js";
|
|
2
2
|
export { _sfc_main as DateTimeInput };
|
|
@@ -4,16 +4,18 @@ import { i as useSize } from "./SizeContext-BbaF-SEx.js";
|
|
|
4
4
|
import { t as useMediaQuery } from "./useMediaQuery-GMmgp28-.js";
|
|
5
5
|
import { t as _sfc_main$4 } from "./FieldIcon-DMtfe1Ne.js";
|
|
6
6
|
import { t as _sfc_main$5 } from "./IconButton-Crtfruc0.js";
|
|
7
|
-
import {
|
|
7
|
+
import { a as useAstryxLocale, o as useComponentMessages } from "./context-B8IEFCDR.js";
|
|
8
8
|
import { t as usePendingChange } from "./usePendingChange-ib-h8FZK.js";
|
|
9
9
|
import { t as useResolvedLabelHidden } from "./useResolvedLabelHidden-B2rlWiaI.js";
|
|
10
10
|
import { a as parseISOTime, n as formatISOTime, t as formatDisplayTime } from "./useTimeValue-BJd0xBhG.js";
|
|
11
|
-
import { t as _sfc_main$6 } from "./Spinner-
|
|
12
|
-
import { t as _sfc_main$7 } from "./Field-
|
|
11
|
+
import { t as _sfc_main$6 } from "./Spinner-DEVPDsD0.js";
|
|
12
|
+
import { t as _sfc_main$7 } from "./Field-Dc15m78p.js";
|
|
13
13
|
import { t as useFieldPartStyling } from "./fieldParts-CDOlBdy6.js";
|
|
14
|
+
import { t as dateInputMessages } from "./date-input-Bj3KSuoJ.js";
|
|
14
15
|
import { t as formatInstant } from "./formatInstant-BDWUIxS7.js";
|
|
15
|
-
import { n as _sfc_main$8, t as _sfc_main$9 } from "./DateInput-
|
|
16
|
-
import { n as
|
|
16
|
+
import { n as _sfc_main$8, t as _sfc_main$9 } from "./DateInput-BY9qdl_H.js";
|
|
17
|
+
import { n as dateTimeInputMessages } from "./time-input-DL1_SV7j.js";
|
|
18
|
+
import { n as _sfc_main$10, t as _sfc_main$11 } from "./TimeField-2QBI5tU6.js";
|
|
17
19
|
import { r as effectivePickerPresentation, s as resolvePickerPresentation } from "./inputPresentation-BOyHkCDr.js";
|
|
18
20
|
import { Fragment, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createVNode, defineComponent, mergeModels, normalizeClass, normalizeStyle, openBlock, ref, toDisplayString, unref, useAttrs, useId, useModel, watch, withCtx } from "vue";
|
|
19
21
|
import "../styles/date-time-input.css";
|
|
@@ -69,7 +71,10 @@ const _sfc_main$1 = /*@__PURE__*/ defineComponent({
|
|
|
69
71
|
setup(__props, { emit: __emit }) {
|
|
70
72
|
const props = __props;
|
|
71
73
|
const emit = __emit;
|
|
72
|
-
const messages =
|
|
74
|
+
const messages = useComponentMessages({
|
|
75
|
+
dateInput: dateInputMessages,
|
|
76
|
+
dateTimeInput: dateTimeInputMessages
|
|
77
|
+
});
|
|
73
78
|
const locale = useAstryxLocale();
|
|
74
79
|
const open = ref(false);
|
|
75
80
|
const panel = ref("date");
|
|
@@ -313,7 +318,10 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
313
318
|
});
|
|
314
319
|
const hideLabel = useResolvedLabelHidden(() => props.isLabelHidden, () => props.labelHidden);
|
|
315
320
|
const coarse = useMediaQuery("(pointer: coarse)");
|
|
316
|
-
const messages =
|
|
321
|
+
const messages = useComponentMessages({
|
|
322
|
+
dateInput: dateInputMessages,
|
|
323
|
+
dateTimeInput: dateTimeInputMessages
|
|
324
|
+
});
|
|
317
325
|
const generatedId = `astryx-date-time-${useId()}`;
|
|
318
326
|
const draftDate = ref(void 0);
|
|
319
327
|
const draftTime = ref(void 0);
|
package/dist/Dialog/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as _default, c as DialogPadding, d as DialogPurpose, f as DialogVariant, i as _default$1, l as DialogPosition, n as ImperativeDialogReturn, o as DialogBlockPosition, r as useImperativeDialog, s as DialogHeaderProps, t as ImperativeDialogOptions, u as DialogProps } from "../index-
|
|
1
|
+
import { a as _default, c as DialogPadding, d as DialogPurpose, f as DialogVariant, i as _default$1, l as DialogPosition, n as ImperativeDialogReturn, o as DialogBlockPosition, r as useImperativeDialog, s as DialogHeaderProps, t as ImperativeDialogOptions, u as DialogProps } from "../index-qayqGnJT.js";
|
|
2
2
|
export { _default as Dialog, type DialogBlockPosition, _default$1 as DialogHeader, type DialogHeaderProps, type DialogPadding, type DialogPosition, type DialogProps, type DialogPurpose, type DialogVariant, type ImperativeDialogOptions, type ImperativeDialogReturn, useImperativeDialog };
|
package/dist/Dialog/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { t as _sfc_main } from "../Dialog-BtPktuiy.js";
|
|
2
|
-
import { t as _sfc_main$1 } from "../DialogHeader-
|
|
2
|
+
import { t as _sfc_main$1 } from "../DialogHeader-Dfegdd7v.js";
|
|
3
3
|
import { t as useImperativeDialog } from "../Dialog-B_s-w66_.js";
|
|
4
4
|
export { _sfc_main as Dialog, _sfc_main$1 as DialogHeader, useImperativeDialog };
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { t as _sfc_main$1 } from "./IconButton-Crtfruc0.js";
|
|
2
|
-
import {
|
|
2
|
+
import { o as useComponentMessages } from "./context-B8IEFCDR.js";
|
|
3
3
|
import { a as useLayoutArea } from "./context-CjX2RSDn.js";
|
|
4
4
|
import { n as DIALOG_CONTEXT_KEY } from "./Dialog-BtPktuiy.js";
|
|
5
|
+
import { t as dialogMessages } from "./dialog-CNjGcdd1.js";
|
|
5
6
|
import { computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createTextVNode, defineComponent, getCurrentInstance, inject, mergeProps, normalizeClass, onBeforeUnmount, onMounted, openBlock, renderSlot, toDisplayString, useAttrs, useId, useSlots, withCtx } from "vue";
|
|
6
7
|
import "../styles/dialog-header.css";
|
|
7
8
|
//#region src/Dialog/DialogHeader.vue
|
|
@@ -40,7 +41,7 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
40
41
|
const emit = __emit;
|
|
41
42
|
const slots = useSlots();
|
|
42
43
|
const attrs = useAttrs();
|
|
43
|
-
const messages =
|
|
44
|
+
const messages = useComponentMessages({ dialog: dialogMessages });
|
|
44
45
|
const layoutArea = useLayoutArea();
|
|
45
46
|
const inLayoutHeader = computed(() => layoutArea.value === "header");
|
|
46
47
|
const dialog = inject(DIALOG_CONTEXT_KEY, null);
|
package/dist/Drawer/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { Ai as DrawerPlacement, Di as DrawerHeaderEmits, Ei as DrawerEmits, Mi as DrawerSlots, Oi as DrawerHeaderProps, Ti as _default, ji as DrawerProps, ki as DrawerHeaderSlots, wi as _default$1 } from "../index-
|
|
1
|
+
import { Ai as DrawerPlacement, Di as DrawerHeaderEmits, Ei as DrawerEmits, Mi as DrawerSlots, Oi as DrawerHeaderProps, Ti as _default, ji as DrawerProps, ki as DrawerHeaderSlots, wi as _default$1 } from "../index-D44l1Esr.js";
|
|
2
2
|
export { _default as Drawer, type DrawerEmits, _default$1 as DrawerHeader, type DrawerHeaderEmits, type DrawerHeaderProps, type DrawerHeaderSlots, type DrawerPlacement, type DrawerProps, type DrawerSlots };
|
package/dist/Drawer/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as _sfc_main, t as _sfc_main$1 } from "../Drawer-
|
|
1
|
+
import { n as _sfc_main, t as _sfc_main$1 } from "../Drawer-7LLlGQcE.js";
|
|
2
2
|
export { _sfc_main as Drawer, _sfc_main$1 as DrawerHeader };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as _sfc_main$2 } from "./Dialog-BtPktuiy.js";
|
|
2
|
-
import { t as _sfc_main$3 } from "./DialogHeader-
|
|
2
|
+
import { t as _sfc_main$3 } from "./DialogHeader-Dfegdd7v.js";
|
|
3
3
|
import { computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createSlots, defineComponent, getCurrentInstance, mergeProps, openBlock, renderSlot, unref, useAttrs, useSlots, withCtx } from "vue";
|
|
4
4
|
import "../styles/drawer.css";
|
|
5
5
|
//#region src/Drawer/Drawer.vue
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { c as _sfc_main$2, i as _sfc_main$4, s as _sfc_main$3, t as _sfc_main } from "../DropdownMenu-
|
|
3
|
-
import { t as _sfc_main$7 } from "../DropdownMenu-
|
|
1
|
+
import { a as _sfc_main$1, c as useDropdownMenuRadioGroup, i as _sfc_main$5, r as _sfc_main$6, s as useDropdownMenuContext } from "../useMenuDrillIn-uQtOSny6.js";
|
|
2
|
+
import { c as _sfc_main$2, i as _sfc_main$4, s as _sfc_main$3, t as _sfc_main } from "../DropdownMenu-B6SXhr61.js";
|
|
3
|
+
import { t as _sfc_main$7 } from "../DropdownMenu-CJxA-kJ2.js";
|
|
4
4
|
export { _sfc_main as DropdownMenu, _sfc_main$1 as DropdownMenuCheckboxItem, _sfc_main$2 as DropdownMenuDivider, _sfc_main$3 as DropdownMenuGroup, _sfc_main$4 as DropdownMenuItem, _sfc_main$5 as DropdownMenuRadioGroup, _sfc_main$6 as DropdownMenuRadioItem, _sfc_main$7 as DropdownMenuSubMenu, useDropdownMenuContext, useDropdownMenuRadioGroup };
|
|
@@ -8,13 +8,12 @@ import { t as _sfc_main$9 } from "./LayerContentBoundary-CvsKxwwm.js";
|
|
|
8
8
|
import { r as trackInteractionModality, t as getInteractionModality } from "./interactionModality-ACpTMhak.js";
|
|
9
9
|
import { t as useMediaQuery } from "./useMediaQuery-GMmgp28-.js";
|
|
10
10
|
import { r as getFocusables } from "./focus-l8jVTcqd.js";
|
|
11
|
-
import { s as useAstryxMessages } from "./context-CV6TrhJY.js";
|
|
12
11
|
import { t as useMenuPress } from "./useMenuPress-BLPwY_m1.js";
|
|
13
12
|
import { n as useOverflow } from "./useOverflow-VrwF5oek.js";
|
|
14
13
|
import { t as useTypeahead } from "./useTypeahead-BvtflkRk.js";
|
|
15
14
|
import { t as useScrollbars } from "./useScrollbars-Ch0xqJWO.js";
|
|
16
15
|
import { t as _sfc_main$10 } from "./Item-Cfv4ALls.js";
|
|
17
|
-
import { a as
|
|
16
|
+
import { a as _sfc_main$12, i as _sfc_main$13, n as useDropdownMenuMessages, o as dropdownMenuContextKey, r as _sfc_main$11, s as useDropdownMenuContext, t as useMenuDrillIn } from "./useMenuDrillIn-uQtOSny6.js";
|
|
18
17
|
import { n as clampInlineSize, r as isIntrinsicInlineSize, t as LAYER_MAX_INLINE_SIZE } from "./inlineSize-BNe8wggI.js";
|
|
19
18
|
import { t as _sfc_main$14 } from "./Divider-mOZ6vIQw.js";
|
|
20
19
|
import { Fragment, Teleport, Transition, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createSlots, createTextVNode, createVNode, defineAsyncComponent, defineComponent, guardReactiveProps, h, inject, markRaw, mergeModels, mergeProps, nextTick, normalizeProps, normalizeStyle, onBeforeUnmount, onMounted, openBlock, provide, reactive, ref, renderSlot, resolveDynamicComponent, shallowRef, toDisplayString, toRaw, unref, useAttrs, useId, useModel, useSlots, vShow, watch, withCtx, withDirectives } from "vue";
|
|
@@ -895,7 +894,7 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
895
894
|
const emit = __emit;
|
|
896
895
|
const attrs = useAttrs();
|
|
897
896
|
const slots = useSlots();
|
|
898
|
-
const messages =
|
|
897
|
+
const messages = useDropdownMenuMessages();
|
|
899
898
|
const focusReturn = useFocusReturnVisibility();
|
|
900
899
|
const open = useModel(__props, "isMenuOpen");
|
|
901
900
|
const localIsOpen = shallowRef(false);
|
|
@@ -2,13 +2,12 @@ import { n as isMenuPressActivation } from "./strayClick-CY-_ImKv.js";
|
|
|
2
2
|
import { t as _sfc_main$1 } from "./Icon-BCHo7W0x.js";
|
|
3
3
|
import { n as usePositionedLayer, t as useDismiss } from "./useDismiss-0-Z-9D0A.js";
|
|
4
4
|
import { t as _sfc_main$2 } from "./LayerContentBoundary-CvsKxwwm.js";
|
|
5
|
-
import { s as useAstryxMessages } from "./context-CV6TrhJY.js";
|
|
6
5
|
import { n as useOverflow } from "./useOverflow-VrwF5oek.js";
|
|
7
6
|
import { t as _sfc_main$3 } from "./Item-Cfv4ALls.js";
|
|
8
|
-
import {
|
|
9
|
-
import { a as MENU_ITEM_ROLES, i as _sfc_main$5, l as _sfc_main$4, n as useMenuRegions, o as activateMenuItem, r as useMenuFocus } from "./DropdownMenu-
|
|
7
|
+
import { n as useDropdownMenuMessages, s as useDropdownMenuContext } from "./useMenuDrillIn-uQtOSny6.js";
|
|
8
|
+
import { a as MENU_ITEM_ROLES, i as _sfc_main$5, l as _sfc_main$4, n as useMenuRegions, o as activateMenuItem, r as useMenuFocus } from "./DropdownMenu-B6SXhr61.js";
|
|
10
9
|
import { n as clampInlineSize, r as isIntrinsicInlineSize } from "./inlineSize-BNe8wggI.js";
|
|
11
|
-
import { t as _sfc_main$6 } from "./Spinner-
|
|
10
|
+
import { t as _sfc_main$6 } from "./Spinner-DEVPDsD0.js";
|
|
12
11
|
import { t as useSubmenuMode } from "./useSubmenuMode-CZN9qrUo.js";
|
|
13
12
|
import { t as useMenuHover } from "./useMenuHover-CbjjfzAd.js";
|
|
14
13
|
import { Fragment, Teleport, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createSlots, createVNode, defineComponent, mergeProps, nextTick, normalizeClass, normalizeStyle, openBlock, ref, renderSlot, unref, useId, useSlots, vShow, watch, withCtx, withDirectives, withKeys, withModifiers } from "vue";
|
|
@@ -57,7 +56,7 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
57
56
|
const props = __props;
|
|
58
57
|
const emit = __emit;
|
|
59
58
|
const slots = useSlots();
|
|
60
|
-
const messages =
|
|
59
|
+
const messages = useDropdownMenuMessages();
|
|
61
60
|
const menu = useDropdownMenuContext();
|
|
62
61
|
const rowComponent = ref(null);
|
|
63
62
|
const rowRef = computed(() => rowComponent.value?.element ?? null);
|
package/dist/Field/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as _sfc_main$1 } from "../FieldLabel-
|
|
2
|
-
import { t as _sfc_main } from "../Field-
|
|
3
|
-
import { t as _sfc_main$2 } from "../InputClearButton-
|
|
1
|
+
import { t as _sfc_main$1 } from "../FieldLabel-CfO3zaZ5.js";
|
|
2
|
+
import { t as _sfc_main } from "../Field-Dc15m78p.js";
|
|
3
|
+
import { t as _sfc_main$2 } from "../InputClearButton-DjIxNNH8.js";
|
|
4
4
|
export { _sfc_main as Field, _sfc_main$1 as FieldLabel, _sfc_main$2 as InputClearButton };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { a as useFormLayout } from "./context-Cfml4jaK.js";
|
|
2
|
-
import { t as _sfc_main$1 } from "./FieldLabel-
|
|
2
|
+
import { t as _sfc_main$1 } from "./FieldLabel-CfO3zaZ5.js";
|
|
3
3
|
import { t as _sfc_main$2 } from "./FieldStatus-DSUCli4W.js";
|
|
4
4
|
import { computed, createElementBlock, createElementVNode, createSlots, createVNode, defineComponent, guardReactiveProps, mergeProps, normalizeProps, openBlock, renderSlot, unref, useAttrs, useTemplateRef, withCtx } from "vue";
|
|
5
5
|
import "../styles/field.css";
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { t as _sfc_main$1 } from "./Icon-BCHo7W0x.js";
|
|
2
|
-
import {
|
|
2
|
+
import { o as useComponentMessages } from "./context-B8IEFCDR.js";
|
|
3
3
|
import { a as useFormLayout, n as showsOptionalIndicator, r as showsRequiredIndicator } from "./context-Cfml4jaK.js";
|
|
4
|
-
import { t as _sfc_main$2 } from "./InfoTip-
|
|
4
|
+
import { t as _sfc_main$2 } from "./InfoTip-iKOp_vUV.js";
|
|
5
|
+
import { t as fieldMessages } from "./field-CehUqCe0.js";
|
|
5
6
|
import { computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createTextVNode, defineComponent, normalizeClass, openBlock, renderSlot, resolveDynamicComponent, toDisplayString, toRaw, unref, useTemplateRef, withCtx } from "vue";
|
|
6
7
|
import "../styles/field.css";
|
|
7
8
|
//#region src/Field/FieldLabel.vue
|
|
@@ -39,7 +40,7 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
39
40
|
},
|
|
40
41
|
setup(__props, { expose: __expose }) {
|
|
41
42
|
const props = __props;
|
|
42
|
-
const messages =
|
|
43
|
+
const messages = useComponentMessages({ field: fieldMessages });
|
|
43
44
|
const element = useTemplateRef("label");
|
|
44
45
|
__expose({ element });
|
|
45
46
|
const labelId = computed(() => props.labelId ?? `${props.inputId}-label`);
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { Ci as FileInputValue, Si as FileInputStatus, _i as _default, bi as FileInputProps, vi as FileInputEmits, xi as FileInputSize, yi as FileInputMode } from "../index-
|
|
1
|
+
import { Ci as FileInputValue, Si as FileInputStatus, _i as _default, bi as FileInputProps, vi as FileInputEmits, xi as FileInputSize, yi as FileInputMode } from "../index-D44l1Esr.js";
|
|
2
2
|
export { _default as FileInput, type FileInputEmits, type FileInputMode, type FileInputProps, type FileInputSize, type FileInputStatus, type FileInputValue };
|
package/dist/FileInput/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as _sfc_main } from "../FileInput-
|
|
1
|
+
import { t as _sfc_main } from "../FileInput-C6eX4nBl.js";
|
|
2
2
|
export { _sfc_main as FileInput };
|
|
@@ -5,11 +5,12 @@ import { t as useButtonTooltip } from "./useButtonTooltip-DjCaZMp_.js";
|
|
|
5
5
|
import { t as useAnnounce } from "./announce-B210eJVf.js";
|
|
6
6
|
import { n as selectFiles, t as formatFileSize } from "./useFileSelection-B44UpbvF.js";
|
|
7
7
|
import { t as _sfc_main$4 } from "./FieldIcon-DMtfe1Ne.js";
|
|
8
|
-
import {
|
|
9
|
-
import { t as _sfc_main$5 } from "./Spinner-
|
|
10
|
-
import { t as _sfc_main$6 } from "./Field-
|
|
8
|
+
import { o as useComponentMessages } from "./context-B8IEFCDR.js";
|
|
9
|
+
import { t as _sfc_main$5 } from "./Spinner-DEVPDsD0.js";
|
|
10
|
+
import { t as _sfc_main$6 } from "./Field-Dc15m78p.js";
|
|
11
11
|
import { t as useFieldPartStyling } from "./fieldParts-CDOlBdy6.js";
|
|
12
|
-
import { t as
|
|
12
|
+
import { t as fileInputMessages } from "./file-input-C2JFODtb.js";
|
|
13
|
+
import { t as _sfc_main$7 } from "./InputClearButton-DjIxNNH8.js";
|
|
13
14
|
import { Fragment, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createTextVNode, createVNode, defineComponent, mergeModels, mergeProps, normalizeClass, normalizeStyle, openBlock, shallowRef, toDisplayString, unref, useAttrs, useId, useModel, useTemplateRef, withCtx } from "vue";
|
|
14
15
|
import "../styles/bordered-control.css";
|
|
15
16
|
import "../styles/file-input.css";
|
|
@@ -124,7 +125,7 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
124
125
|
"aria-describedby"
|
|
125
126
|
]
|
|
126
127
|
});
|
|
127
|
-
const messages =
|
|
128
|
+
const messages = useComponentMessages({ fileInput: fileInputMessages });
|
|
128
129
|
const announce = useAnnounce();
|
|
129
130
|
const generatedId = `astryx-file-input-${useId()}`;
|
|
130
131
|
const inputId = computed(() => props.id ?? generatedId);
|
package/dist/Heading/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as HeadingLevel, c as HeadingType, d as HeadingWrap, i as HeadingJustify, l as HeadingWeight, n as HeadingColor, o as HeadingProps, r as HeadingDisplay, s as HeadingTruncateTooltip, t as _default, u as HeadingWordBreak } from "../index-
|
|
1
|
+
import { a as HeadingLevel, c as HeadingType, d as HeadingWrap, i as HeadingJustify, l as HeadingWeight, n as HeadingColor, o as HeadingProps, r as HeadingDisplay, s as HeadingTruncateTooltip, t as _default, u as HeadingWordBreak } from "../index-waTkqxTz.js";
|
|
2
2
|
export { _default as Heading, type HeadingColor, type HeadingDisplay, type HeadingJustify, type HeadingLevel, type HeadingProps, type HeadingTruncateTooltip, type HeadingType, type HeadingWeight, type HeadingWordBreak, type HeadingWrap };
|
package/dist/InfoTip/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { gi as InfoTipSize, hi as InfoTipProps, mi as _default } from "../index-
|
|
1
|
+
import { gi as InfoTipSize, hi as InfoTipProps, mi as _default } from "../index-D44l1Esr.js";
|
|
2
2
|
export { _default as InfoTip, _default as default, type InfoTipProps, type InfoTipSize };
|
package/dist/InfoTip/index.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { t as _sfc_main$1 } from "./Icon-BCHo7W0x.js";
|
|
2
|
-
import {
|
|
2
|
+
import { o as useComponentMessages } from "./context-B8IEFCDR.js";
|
|
3
3
|
import { r as _sfc_main$2, t as useTooltip } from "./useTooltip-D8Tq7-yd.js";
|
|
4
|
+
import { t as infoTipMessages } from "./info-tip-BV42YsA4.js";
|
|
4
5
|
import { Fragment, computed, createElementBlock, createElementVNode, createTextVNode, createVNode, defineComponent, mergeProps, onMounted, onUpdated, openBlock, ref, renderSlot, shallowRef, toDisplayString, unref, useAttrs, useTemplateRef, withCtx } from "vue";
|
|
5
6
|
import "../styles/info-tip.css";
|
|
6
7
|
//#region src/InfoTip/InfoTip.vue
|
|
@@ -25,7 +26,7 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
25
26
|
*
|
|
26
27
|
* 按钮是 `useTooltip` 的 `show()` / `hide()` 开关:hook 负责预览、保持、播报和关闭。
|
|
27
28
|
*/
|
|
28
|
-
const messages =
|
|
29
|
+
const messages = useComponentMessages({ infoTip: infoTipMessages });
|
|
29
30
|
const attrs = useAttrs();
|
|
30
31
|
const button = useTemplateRef("button");
|
|
31
32
|
const element = computed(() => button.value ?? null);
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { t as _sfc_main$1 } from "./FieldIcon-DMtfe1Ne.js";
|
|
2
2
|
import { t as _sfc_main$2 } from "./IconButton-Crtfruc0.js";
|
|
3
|
-
import {
|
|
3
|
+
import { o as useComponentMessages } from "./context-B8IEFCDR.js";
|
|
4
|
+
import { t as inputMessages } from "./input-DUSvqqG_.js";
|
|
4
5
|
import { createBlock, createVNode, defineComponent, mergeProps, openBlock, unref, useAttrs, withCtx } from "vue";
|
|
5
6
|
//#region src/Field/InputClearButton.vue
|
|
6
7
|
const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
@@ -12,7 +13,7 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
12
13
|
setup(__props, { emit: __emit }) {
|
|
13
14
|
const emit = __emit;
|
|
14
15
|
const attrs = useAttrs();
|
|
15
|
-
const {
|
|
16
|
+
const messages = useComponentMessages({ input: inputMessages });
|
|
16
17
|
function press(event) {
|
|
17
18
|
event.preventDefault();
|
|
18
19
|
}
|
|
@@ -22,7 +23,7 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
22
23
|
variant: "ghost",
|
|
23
24
|
size: "sm",
|
|
24
25
|
label: __props.label,
|
|
25
|
-
tooltip: unref(
|
|
26
|
+
tooltip: unref(messages).input.tooltip,
|
|
26
27
|
onPointerdown: press,
|
|
27
28
|
onMousedown: press,
|
|
28
29
|
onClick: _cache[0] || (_cache[0] = ($event) => emit("click", $event))
|
package/dist/InputGroup/index.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { t as INPUT_GROUP_KEY } from "../context-Bg7eSJ47.js";
|
|
2
|
-
import { n as _sfc_main, t as _sfc_main$1 } from "../InputGroup-
|
|
2
|
+
import { n as _sfc_main, t as _sfc_main$1 } from "../InputGroup-CIKleAu8.js";
|
|
3
3
|
export { INPUT_GROUP_KEY, _sfc_main as InputGroup, _sfc_main$1 as InputGroupText };
|