@astryx-vue/core 0.2.2 → 0.2.3
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/THIRD_PARTY_NOTICES.md +2 -0
- package/dist/AppShell/index.d.ts +1 -1
- package/dist/AppShell/index.js +1 -1
- package/dist/{AppShell-Cb41gIAj.js → AppShell-Dd-D4bA2.js} +2 -2
- package/dist/AvatarGroup/index.d.ts +1 -1
- package/dist/Banner/index.d.ts +1 -1
- package/dist/Breadcrumbs/index.d.ts +3 -2
- package/dist/Breadcrumbs/index.js +3 -2
- package/dist/{Breadcrumbs-CTQ7fjDn.js → Breadcrumbs-CWGfgLNK.js} +13 -8
- package/dist/Button/index.d.ts +1 -1
- package/dist/ButtonGroup/index.d.ts +1 -1
- package/dist/Calendar/index.d.ts +2 -2
- package/dist/Calendar/index.js +1 -1
- package/dist/Calendar-CnOsSjMY.js +656 -0
- package/dist/Card/index.d.ts +1 -1
- package/dist/Carousel/index.js +1 -1
- package/dist/{Carousel-X0cuQkvg.js → Carousel-JA7ilqI_.js} +2 -2
- package/dist/Chat/index.d.ts +1 -1
- package/dist/Chat/index.js +1 -1
- package/dist/{Chat-M0tiGrNT.js → Chat-C7WrCOE4.js} +3 -3
- package/dist/CheckboxIndicator/index.js +1 -1
- package/dist/CheckboxIndicator-D37cm2Rh.js +68 -0
- package/dist/CheckboxInput/index.d.ts +1 -1
- package/dist/CheckboxInput/index.js +1 -1
- package/dist/{CheckboxInput-CMsEE1_4.js → CheckboxInput-25Q8ItH-.js} +10 -9
- package/dist/CheckboxList/index.d.ts +1 -1
- package/dist/CheckboxList/index.js +1 -1
- package/dist/{CheckboxList-BbCPiend.js → CheckboxList-CnCGnkZk.js} +77 -24
- package/dist/Citation/index.js +1 -1
- package/dist/{Citation-C1veUk5p.js → Citation-CtwrU33I.js} +2 -2
- package/dist/ClickableCard/index.d.ts +1 -1
- package/dist/Code/index.d.ts +1 -1
- package/dist/Code/index.js +2 -2
- package/dist/{Code-yb_KOFtJ.js → Code-BvefYRpx.js} +2 -1
- package/dist/{CodeBlock-DesTJAkm.js → CodeBlock-BZGzYeoL.js} +1 -1
- package/dist/Collapsible/index.d.ts +1 -1
- package/dist/Collapsible/index.js +1 -1
- package/dist/{Collapsible-BestK35V.js → Collapsible-3YerR-FO.js} +1 -1
- package/dist/CommandPalette/index.js +1 -1
- package/dist/{CommandPalette-BArt97V8.js → CommandPalette-BNbM9T9y.js} +1 -1
- package/dist/ComplexSelector/index.d.ts +1 -1
- package/dist/ComplexSelector/index.js +1 -1
- package/dist/{ComplexSelector-CAoig1RK.js → ComplexSelector-LtbLlrcj.js} +3 -3
- package/dist/ContextMenu/index.d.ts +3 -2
- package/dist/ContextMenu/index.js +3 -2
- package/dist/{ContextMenu-9Im6i43E.js → ContextMenu-DVQl0xL5.js} +204 -56
- package/dist/DateInput/index.d.ts +2 -2
- package/dist/DateInput/index.js +1 -1
- package/dist/DateInput-zm8sNc0t.js +743 -0
- package/dist/DateRangeInput/index.d.ts +1 -1
- package/dist/DateRangeInput/index.js +1 -1
- package/dist/{DateRangeInput-DwDy3eRo.js → DateRangeInput-DlVFzrf7.js} +54 -19
- package/dist/DateTimeInput/index.d.ts +1 -1
- package/dist/DateTimeInput/index.js +1 -1
- package/dist/{DateTimeInput-BYiaC9bn.js → DateTimeInput-C7Z-p6Yd.js} +54 -15
- package/dist/Dialog/index.d.ts +1 -1
- package/dist/DropdownMenu/index.d.ts +3 -3
- package/dist/DropdownMenu/index.js +4 -3
- package/dist/{DropdownMenu-Dh-WAHKb.js → DropdownMenu-BoZChdev.js} +308 -63
- package/dist/DropdownMenu-u1psFjis.js +325 -0
- package/dist/DropdownMenuRadioItem.vue-uVM0FD2f.d.ts +564 -0
- package/dist/FileInput/index.d.ts +1 -1
- package/dist/FileInput/index.js +1 -1
- package/dist/{FileInput-DLO6V12n.js → FileInput-QdlZn7qK.js} +2 -2
- package/dist/Icon/index.d.ts +4 -3
- package/dist/Icon/index.js +2 -2
- package/dist/{Icon-CJKjdJy-.js → Icon-bteSId7T.js} +113 -18
- package/dist/Indicator/index.d.ts +3 -0
- package/dist/Indicator/index.js +2 -0
- package/dist/InputGroup/index.d.ts +2 -2
- package/dist/InputGroup/index.js +3 -2
- package/dist/InputGroup-BzR6JRZb.js +129 -0
- package/dist/Lightbox/index.js +1 -1
- package/dist/{Lightbox-CdFCS_EA.js → Lightbox-BSzfqZ-u.js} +2 -2
- package/dist/List/index.d.ts +1 -1
- package/dist/Markdown/index.js +1 -1
- package/dist/{Markdown-BqKloI3w.js → Markdown-B6tSqenv.js} +8 -5
- package/dist/MetadataList/index.js +1 -1
- package/dist/{MetadataList-CvZkmisf.js → MetadataList-aN1tRn6W.js} +1 -1
- package/dist/MobileNav/index.js +1 -1
- package/dist/{MobileNavToggle-Bwi0qXXM.js → MobileNavToggle-fqcSafkc.js} +1 -1
- package/dist/MoreMenu/index.d.ts +1 -1
- package/dist/MoreMenu/index.js +1 -1
- package/dist/{MoreMenu-BwJaJrkB.js → MoreMenu-B3brqdK_.js} +1 -1
- package/dist/MultiSelector/index.d.ts +2 -2
- package/dist/MultiSelector/index.js +1 -1
- package/dist/{MultiSelector-C-ETfFy_.js → MultiSelector-BD5PMgez.js} +303 -121
- package/dist/{NavDisclosure-DHrSNRDR.js → NavDisclosure-DbYLDXK0.js} +1 -1
- package/dist/NavItem/index.d.ts +1 -1
- package/dist/NavMenu/index.js +2 -2
- package/dist/{NavMenuItem-B-k7olt5.js → NavMenuItem-DrwIMHKO.js} +1 -1
- package/dist/NumberInput/index.d.ts +1 -1
- package/dist/NumberInput/index.js +1 -1
- package/dist/{NumberInput-DjetVB8O.js → NumberInput-CBeU4lEl.js} +1 -1
- package/dist/Outline/index.js +1 -1
- package/dist/{Outline-Bz9c-u5y.js → Outline--HVMSB6i.js} +1 -1
- package/dist/OverflowList/index.d.ts +1 -1
- package/dist/OverflowList/index.js +1 -1
- package/dist/{OverflowList-ED-KN9Y5.js → OverflowList-FMh7r-r_.js} +3 -3
- package/dist/Pagination/index.d.ts +1 -1
- package/dist/Pagination/index.js +1 -1
- package/dist/{Pagination-Cb66HMEf.js → Pagination-DlIvESjx.js} +2 -2
- package/dist/Popover/index.d.ts +1 -1
- package/dist/Popover/index.js +1 -1
- package/dist/{Popover-Crhk9PNP.js → Popover-D7zqpFwU.js} +1 -1
- package/dist/PowerSearch/index.d.ts +1 -1
- package/dist/PowerSearch/index.js +1 -1
- package/dist/{PowerSearch-CjU8y4mi.js → PowerSearch-CMG7Rb69.js} +14 -14
- 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-BqjdSCfJ.js → RadioGroup-CBqUPq_L.js} +16 -8
- package/dist/RadioList/index.d.ts +1 -1
- package/dist/RadioList/index.js +1 -1
- package/dist/{RadioList-DI8ujXcT.js → RadioList-CPOJn9Th.js} +1 -1
- package/dist/Resizable/index.js +1 -1
- package/dist/{Resizable-D-TBCg0Y.js → Resizable-CXpvj1TZ.js} +1 -1
- package/dist/ScrollableArea/index.d.ts +1 -1
- package/dist/SegmentedControl/index.d.ts +1 -1
- package/dist/SelectableCard/index.d.ts +1 -1
- package/dist/Selector/index.d.ts +2 -2
- package/dist/Selector/index.js +1 -1
- package/dist/Selector-BpPnuWH3.js +618 -0
- package/dist/SideNav/index.d.ts +1 -1
- package/dist/SideNav/index.js +1 -1
- package/dist/{SideNav-DonEfiAx.js → SideNav-D4TupqgE.js} +3 -3
- package/dist/Stack/index.d.ts +1 -1
- package/dist/Stepper/index.d.ts +1 -1
- package/dist/Stepper/index.js +1 -1
- package/dist/{Stepper-D2ZIcUNx.js → Stepper-H-6-T5Ps.js} +1 -1
- package/dist/Switch/index.d.ts +1 -1
- package/dist/TabList/index.d.ts +1 -1
- package/dist/TabList/index.js +1 -1
- package/dist/{TabList-D3F-stq-.js → TabList-BlzkrObv.js} +2 -2
- package/dist/Table/index.js +1 -1
- package/dist/{Table-CrP2Uffq.js → Table-nqA_njNz.js} +6 -6
- package/dist/TextArea/index.d.ts +1 -1
- package/dist/TextInput/index.d.ts +1 -1
- package/dist/Theme/index.d.ts +2 -1
- package/dist/Theme/index.js +1 -1
- package/dist/{Theme-BuUiiJNr.js → Theme-CejS9MHm.js} +21 -3
- package/dist/Thumbnail/index.js +1 -1
- package/dist/{Thumbnail-BC5JGPGZ.js → Thumbnail-CXb3m_Hv.js} +2 -2
- package/dist/{TimeField-DpHFrNv0.js → TimeField-B3cndWb0.js} +2 -2
- package/dist/TimeInput/index.d.ts +1 -1
- package/dist/TimeInput/index.js +1 -1
- package/dist/{TimeInput-DJLV0_4z.js → TimeInput-BHQ_LKGm.js} +1 -1
- package/dist/Timestamp/index.d.ts +1 -1
- package/dist/Timestamp/index.js +1 -1
- package/dist/{Timestamp-GKNjjt5g.js → Timestamp-Cfuxbb3i.js} +2 -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-Chu_eCVs.js → Token-CdVLH0_H.js} +2 -2
- package/dist/Tokenizer/index.d.ts +1 -1
- package/dist/Tokenizer/index.js +1 -1
- package/dist/{Tokenizer-DRDpvQ_l.js → Tokenizer-DlD-S_8-.js} +3 -3
- 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-CEyWddtA.js → TopNav-DzV874G7.js} +5 -5
- package/dist/TreeList/index.js +1 -1
- package/dist/{TreeList-COS8US8e.js → TreeList-DEwvlZRV.js} +2 -2
- package/dist/Typeahead/index.d.ts +1 -1
- package/dist/Typeahead/index.js +1 -1
- package/dist/{Typeahead-P7cCqtaQ.js → Typeahead-DQ3tmqYe.js} +3 -3
- package/dist/{context-O2Vb8cJl.js → colorMode-CBgdgDSn.js} +1 -7
- package/dist/composables/index.d.ts +2 -2
- package/dist/composables/index.js +10 -5
- package/dist/{composables-CVfjp9h4.js → composables-DDI08XFF.js} +98 -1
- package/dist/context-Cws_tXTr.js +7 -0
- package/dist/context-D5-MwxnN.js +4 -0
- package/dist/{context-CiKncNSH.js → context-DmOLCubj.js} +82 -8
- package/dist/{index-DimuSES0.d.ts → index-B1x05arQ.d.ts} +3 -1
- package/dist/index-B9f1rUEv.d.ts +77 -0
- package/dist/{index-D-ZuubCK.d.ts → index-BB5yVIN-.d.ts} +2 -2
- package/dist/{index-Bu0Zd1uw.d.ts → index-BMn9ghAX.d.ts} +3 -3
- package/dist/{index-CJlBAXwj.d.ts → index-BRfR0lhb.d.ts} +41 -4
- package/dist/{index-DNRBbwp_.d.ts → index-BTAgQRP0.d.ts} +758 -111
- package/dist/{index-DA52oIdw.d.ts → index-BcJBLWJ0.d.ts} +2 -2
- package/dist/{index-jdjcb3Js.d.ts → index-Bqb_Fyju.d.ts} +2 -2
- package/dist/{index-CNjbOgty.d.ts → index-C-QpeUlQ.d.ts} +2 -2
- package/dist/{index-DGXviOlp.d.ts → index-C2sfHfBw.d.ts} +31 -5
- package/dist/{index-By2mSzUA.d.ts → index-CA6RbRWx.d.ts} +1 -1
- package/dist/{index-gW0HW02U.d.ts → index-COxy6LEW.d.ts} +1 -1
- package/dist/{index-CVn0GBdB.d.ts → index-Ca8VIE4l.d.ts} +1 -1
- package/dist/{index-CRizexSC.d.ts → index-Ch6BbxCP.d.ts} +2 -67
- package/dist/{index-DWH_HzXi.d.ts → index-ChWlKHjc.d.ts} +1 -1
- package/dist/{index-kVhSuA9t.d.ts → index-Ctu32CLv.d.ts} +4 -4
- package/dist/{index-DOUEn7V0.d.ts → index-D1Twv_fL.d.ts} +65 -6
- package/dist/{index-D_nYxnNv.d.ts → index-D7-WTV6I.d.ts} +1 -1
- package/dist/{index-c_TaW8mM.d.ts → index-D8o50qOE.d.ts} +1 -1
- package/dist/{index-D4I_obqR.d.ts → index-DAiGhkNZ.d.ts} +1 -1
- package/dist/{index-Cs5pcwY3.d.ts → index-DMQG6kdM.d.ts} +3 -3
- package/dist/index-D_UEJIU5.d.ts +83 -0
- package/dist/{index-fa72tWIU.d.ts → index-DkVEBdWa.d.ts} +2 -2
- package/dist/{index-B1TG2GPS.d.ts → index-DxsKyAxq.d.ts} +116 -44
- package/dist/{index-BHqRH7QW.d.ts → index-FEy8qFSD.d.ts} +2 -2
- package/dist/{index-qiZtHnGK.d.ts → index-LIyvJTW3.d.ts} +39 -0
- package/dist/{index-BKr7yvVv.d.ts → index-MPcg1Pm4.d.ts} +1 -1
- package/dist/{index-cGagYM1g.d.ts → index-ViSV0RBx.d.ts} +1 -1
- package/dist/{index-C7mxUcDR.d.ts → index-f4NGT-e2.d.ts} +4 -4
- package/dist/{index-DsyKhauk.d.ts → index-foQMNKZO.d.ts} +1 -1
- package/dist/{index-u5ozu0G7.d.ts → index-vP0EtrJJ.d.ts} +13 -3
- package/dist/{index-CZeoAr0a.d.ts → index-xfkEuGLY.d.ts} +2 -2
- package/dist/index.d.ts +76 -75
- package/dist/index.js +115 -107
- package/dist/locale/index.d.ts +1 -1
- package/dist/locale/index.js +2 -2
- package/dist/{locale-Cpk_nrLA.js → locale-CCwVnyMZ.js} +25 -1
- package/dist/searchResultMessage-DN0HeRRB.js +94 -0
- package/dist/semantic-CKH9XVqa.d.ts +54 -0
- package/dist/{types-pnljWjEE.d.ts → types-CwyibrRB.d.ts} +12 -11
- package/dist/types-jmqqnkKA.d.ts +163 -0
- package/dist/{useAnchoredListbox-7W90Ny-9.js → useAnchoredListbox-BN9LQnon.js} +1 -1
- package/dist/useDatePresentation-C07PnOCw.js +21 -0
- package/dist/{useMonthGrid-CmJsZTcB.js → useDateRange-CIXoE_8k.js} +1 -42
- package/dist/useDisclosureHandle-Df3HhAfC.js +24 -0
- package/dist/{useDismiss-CAiHU6QD.js → useDismiss-Cj8x_51F.js} +8 -4
- package/dist/useFieldControlState-voICDrys.js +18 -0
- package/dist/useHandleRef-6cdKugm8.js +17 -0
- package/dist/useIndicator-i1NORM7W.js +147 -0
- package/dist/useMenuDrillIn-OaEwjK44.js +520 -0
- package/dist/useMonthGrid-fGHSSrFc.js +43 -0
- package/dist/usePendingChange-ib-h8FZK.js +25 -0
- package/dist/useSubmenuMode-CZN9qrUo.js +37 -0
- package/package.json +5 -1
- package/styles/calendar.css +38 -3
- package/styles/check-indicator.css +17 -0
- package/styles/checkbox-indicator.css +29 -10
- package/styles/checkbox-input.css +0 -11
- package/styles/date-input.css +48 -0
- package/styles/dropdown-menu.css +163 -0
- package/styles/field.css +48 -0
- package/styles/icon.css +51 -3
- package/styles/input-group.css +32 -3
- package/styles/multi-selector.css +26 -0
- package/styles/radio-indicator.css +90 -0
- package/styles/radio.css +9 -42
- package/styles/selector.css +112 -14
- package/styles.css +2 -0
- package/dist/Calendar-BFaI5AMv.js +0 -352
- package/dist/CheckboxIndicator-DdJmksHt.js +0 -52
- package/dist/DateInput-BLocxqC3.js +0 -376
- package/dist/DropdownMenu-Ddfr-aEC.js +0 -164
- package/dist/InputGroup-ChrFVxzV.js +0 -42
- package/dist/Selector-DE2IEFML.js +0 -468
- package/dist/index-Bgv4ZmBl.d.ts +0 -72
- package/dist/index-DN7MXPHM.d.ts +0 -398
- package/dist/index-IbUN4M8V.d.ts +0 -40
- package/dist/types-DDAAT1Xd.d.ts +0 -285
- package/dist/useGridRovingFocus-DQQAOYH5.js +0 -99
- /package/dist/{index-BUXNRekN.d.ts → index-BXkNZF3q.d.ts} +0 -0
|
@@ -4,12 +4,24 @@ const calendarMessages = {
|
|
|
4
4
|
"en": {
|
|
5
5
|
label: "Calendar",
|
|
6
6
|
previousMonth: "Previous month",
|
|
7
|
-
nextMonth: "Next month"
|
|
7
|
+
nextMonth: "Next month",
|
|
8
|
+
rangeStart: (date) => `Range start, ${date}`,
|
|
9
|
+
rangeCleared: (date) => `Range cleared, ${date}`,
|
|
10
|
+
rangeComplete: (start, end) => `${start} to ${end}`,
|
|
11
|
+
rangeStartName: (date) => `${date}, range start`,
|
|
12
|
+
rangeEndName: (date) => `${date}, range end`,
|
|
13
|
+
rangeBoth: (date) => `${date}, range start and range end`
|
|
8
14
|
},
|
|
9
15
|
"zh-CN": {
|
|
10
16
|
label: "日历",
|
|
11
17
|
previousMonth: "上一月",
|
|
12
|
-
nextMonth: "下一月"
|
|
18
|
+
nextMonth: "下一月",
|
|
19
|
+
rangeStart: (date) => `已选择开始日期,${date}`,
|
|
20
|
+
rangeCleared: (date) => `已取消选择,${date}`,
|
|
21
|
+
rangeComplete: (start, end) => `${start}到${end}`,
|
|
22
|
+
rangeStartName: (date) => `${date},范围开始`,
|
|
23
|
+
rangeEndName: (date) => `${date},范围结束`,
|
|
24
|
+
rangeBoth: (date) => `${date},范围开始和结束`
|
|
13
25
|
}
|
|
14
26
|
};
|
|
15
27
|
//#endregion
|
|
@@ -111,6 +123,12 @@ const chatMessages = {
|
|
|
111
123
|
}
|
|
112
124
|
};
|
|
113
125
|
//#endregion
|
|
126
|
+
//#region src/locale/messages/checkbox-list.ts
|
|
127
|
+
const checkboxListMessages = {
|
|
128
|
+
"en": { loading: "Loading" },
|
|
129
|
+
"zh-CN": { loading: "正在加载" }
|
|
130
|
+
};
|
|
131
|
+
//#endregion
|
|
114
132
|
//#region src/locale/messages/citation.ts
|
|
115
133
|
const citationMessages = {
|
|
116
134
|
"en": { label: (number, title) => `Citation ${number}: ${title}` },
|
|
@@ -159,14 +177,18 @@ const dateInputMessages = {
|
|
|
159
177
|
dialogLabel: "Choose date",
|
|
160
178
|
openCalendar: "Open calendar",
|
|
161
179
|
closeCalendar: "Close calendar",
|
|
162
|
-
clear: (label) => clearLabel(label, "Clear", "Clear ")
|
|
180
|
+
clear: (label) => clearLabel(label, "Clear", "Clear "),
|
|
181
|
+
invalidDate: "That date is not available",
|
|
182
|
+
loading: "Loading"
|
|
163
183
|
},
|
|
164
184
|
"zh-CN": {
|
|
165
185
|
placeholder: "选择日期",
|
|
166
186
|
dialogLabel: "选择日期",
|
|
167
187
|
openCalendar: "打开日历",
|
|
168
188
|
closeCalendar: "关闭日历",
|
|
169
|
-
clear: (label) => clearLabel(label, "清除", "清除")
|
|
189
|
+
clear: (label) => clearLabel(label, "清除", "清除"),
|
|
190
|
+
invalidDate: "这个日期不可用",
|
|
191
|
+
loading: "正在加载"
|
|
170
192
|
}
|
|
171
193
|
};
|
|
172
194
|
//#endregion
|
|
@@ -198,6 +220,18 @@ const dateTimeInputMessages = {
|
|
|
198
220
|
}
|
|
199
221
|
};
|
|
200
222
|
//#endregion
|
|
223
|
+
//#region src/locale/messages/dropdown-menu.ts
|
|
224
|
+
const dropdownMenuMessages = {
|
|
225
|
+
"en": {
|
|
226
|
+
back: "Back",
|
|
227
|
+
backTo: (parent) => `Back to ${parent}`
|
|
228
|
+
},
|
|
229
|
+
"zh-CN": {
|
|
230
|
+
back: "返回",
|
|
231
|
+
backTo: (parent) => `返回到${parent}`
|
|
232
|
+
}
|
|
233
|
+
};
|
|
234
|
+
//#endregion
|
|
201
235
|
//#region src/locale/messages/file-input.ts
|
|
202
236
|
const fileInputMessages = {
|
|
203
237
|
"en": {
|
|
@@ -224,6 +258,20 @@ const fileInputMessages = {
|
|
|
224
258
|
}
|
|
225
259
|
};
|
|
226
260
|
//#endregion
|
|
261
|
+
//#region src/locale/messages/input.ts
|
|
262
|
+
const inputMessages = {
|
|
263
|
+
"en": {
|
|
264
|
+
statusError: "Error details",
|
|
265
|
+
statusWarning: "Warning details",
|
|
266
|
+
statusSuccess: "Success details"
|
|
267
|
+
},
|
|
268
|
+
"zh-CN": {
|
|
269
|
+
statusError: "错误详情",
|
|
270
|
+
statusWarning: "警告详情",
|
|
271
|
+
statusSuccess: "成功详情"
|
|
272
|
+
}
|
|
273
|
+
};
|
|
274
|
+
//#endregion
|
|
227
275
|
//#region src/locale/messages/layout.ts
|
|
228
276
|
const layoutMessages = {
|
|
229
277
|
"en": {
|
|
@@ -301,18 +349,30 @@ const multiSelectorMessages = {
|
|
|
301
349
|
search: "Search…",
|
|
302
350
|
clear: "Clear",
|
|
303
351
|
empty: "No matches",
|
|
352
|
+
emptySearch: "No results found",
|
|
304
353
|
selectAll: "Select all",
|
|
305
354
|
selected: (count) => `${count} selected`,
|
|
306
|
-
more: (count) => `+${count}
|
|
355
|
+
more: (count) => `+${count}`,
|
|
356
|
+
resultCount: (count) => count === 1 ? "1 result" : `${count} results`,
|
|
357
|
+
create: (query) => `Create "${query}"`,
|
|
358
|
+
created: (label) => `${label} created`,
|
|
359
|
+
readOnly: "Read-only",
|
|
360
|
+
loading: "Loading"
|
|
307
361
|
},
|
|
308
362
|
"zh-CN": {
|
|
309
363
|
placeholder: "请选择",
|
|
310
364
|
search: "搜索…",
|
|
311
365
|
clear: "清除",
|
|
312
366
|
empty: "无匹配项",
|
|
367
|
+
emptySearch: "未找到结果",
|
|
313
368
|
selectAll: "全选",
|
|
314
369
|
selected: (count) => `已选 ${count} 项`,
|
|
315
|
-
more: (count) => `+${count}
|
|
370
|
+
more: (count) => `+${count}`,
|
|
371
|
+
resultCount: (count) => `${count} 个结果`,
|
|
372
|
+
create: (query) => `创建“${query}”`,
|
|
373
|
+
created: (label) => `已创建 ${label}`,
|
|
374
|
+
readOnly: "只读",
|
|
375
|
+
loading: "正在加载"
|
|
316
376
|
}
|
|
317
377
|
};
|
|
318
378
|
//#endregion
|
|
@@ -532,13 +592,21 @@ const selectorMessages = {
|
|
|
532
592
|
placeholder: "Select…",
|
|
533
593
|
search: "Search…",
|
|
534
594
|
clear: "Clear",
|
|
535
|
-
empty: "No matches"
|
|
595
|
+
empty: "No matches",
|
|
596
|
+
emptySearch: "No results found",
|
|
597
|
+
resultCount: (count) => count === 1 ? "1 result" : `${count} results`,
|
|
598
|
+
readOnly: "Read-only",
|
|
599
|
+
loading: "Loading"
|
|
536
600
|
},
|
|
537
601
|
"zh-CN": {
|
|
538
602
|
placeholder: "请选择",
|
|
539
603
|
search: "搜索…",
|
|
540
604
|
clear: "清除",
|
|
541
|
-
empty: "无匹配项"
|
|
605
|
+
empty: "无匹配项",
|
|
606
|
+
emptySearch: "未找到结果",
|
|
607
|
+
resultCount: (count) => `${count} 个结果`,
|
|
608
|
+
readOnly: "只读",
|
|
609
|
+
loading: "正在加载"
|
|
542
610
|
}
|
|
543
611
|
};
|
|
544
612
|
//#endregion
|
|
@@ -746,12 +814,15 @@ const astryxMessages = {
|
|
|
746
814
|
calendar: calendarMessages.en,
|
|
747
815
|
carousel: carouselMessages.en,
|
|
748
816
|
chat: chatMessages.en,
|
|
817
|
+
checkboxList: checkboxListMessages.en,
|
|
749
818
|
citation: citationMessages.en,
|
|
750
819
|
commandPalette: commandPaletteMessages.en,
|
|
751
820
|
dateInput: dateInputMessages.en,
|
|
752
821
|
dateRangeInput: dateRangeInputMessages.en,
|
|
753
822
|
dateTimeInput: dateTimeInputMessages.en,
|
|
823
|
+
dropdownMenu: dropdownMenuMessages.en,
|
|
754
824
|
fileInput: fileInputMessages.en,
|
|
825
|
+
input: inputMessages.en,
|
|
755
826
|
layout: layoutMessages.en,
|
|
756
827
|
lightbox: lightboxMessages.en,
|
|
757
828
|
markdown: markdownMessages.en,
|
|
@@ -777,12 +848,15 @@ const astryxMessages = {
|
|
|
777
848
|
calendar: calendarMessages["zh-CN"],
|
|
778
849
|
carousel: carouselMessages["zh-CN"],
|
|
779
850
|
chat: chatMessages["zh-CN"],
|
|
851
|
+
checkboxList: checkboxListMessages["zh-CN"],
|
|
780
852
|
citation: citationMessages["zh-CN"],
|
|
781
853
|
commandPalette: commandPaletteMessages["zh-CN"],
|
|
782
854
|
dateInput: dateInputMessages["zh-CN"],
|
|
783
855
|
dateRangeInput: dateRangeInputMessages["zh-CN"],
|
|
784
856
|
dateTimeInput: dateTimeInputMessages["zh-CN"],
|
|
857
|
+
dropdownMenu: dropdownMenuMessages["zh-CN"],
|
|
785
858
|
fileInput: fileInputMessages["zh-CN"],
|
|
859
|
+
input: inputMessages["zh-CN"],
|
|
786
860
|
layout: layoutMessages["zh-CN"],
|
|
787
861
|
lightbox: lightboxMessages["zh-CN"],
|
|
788
862
|
markdown: markdownMessages["zh-CN"],
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { A as DropdownMenuSize, y as DropdownMenuOption } from "./DropdownMenuRadioItem.vue-uVM0FD2f.js";
|
|
2
2
|
import { ComputedRef } from "vue";
|
|
3
3
|
//#region src/Breadcrumbs/types.d.ts
|
|
4
4
|
type BreadcrumbsVariant = 'default' | 'supporting';
|
|
@@ -46,6 +46,8 @@ interface BreadcrumbItemProps {
|
|
|
46
46
|
type __VLS_Slots$1 = {
|
|
47
47
|
default: () => unknown;
|
|
48
48
|
startIcon: () => unknown;
|
|
49
|
+
/** Compound menu rows. Used instead of the `menu` array. */
|
|
50
|
+
menu?: () => unknown;
|
|
49
51
|
};
|
|
50
52
|
declare const __VLS_base$1: import("vue").DefineComponent<BreadcrumbItemProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
51
53
|
click: (event: MouseEvent) => any;
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
import { _ as IndicatorProps, d as IndicatorComponent, h as IndicatorName, i as ThemeDefinition, u as CoreIndicatorName, y as IndicatorSize } from "./types-jmqqnkKA.js";
|
|
2
|
+
import { ComputedRef, VNodeChild } from "vue";
|
|
3
|
+
//#region src/Indicator/CheckIndicator.vue.d.ts
|
|
4
|
+
type __VLS_Props$1 = IndicatorProps<'singleSelection'>;
|
|
5
|
+
declare var __VLS_1$1: {};
|
|
6
|
+
type __VLS_Slots$1 = {} & {
|
|
7
|
+
default?: (props: typeof __VLS_1$1) => any;
|
|
8
|
+
};
|
|
9
|
+
declare const __VLS_base$1: import("vue").DefineComponent<__VLS_Props$1, {
|
|
10
|
+
element: Readonly<import("vue").ShallowRef<HTMLElement | null>>;
|
|
11
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props$1> & Readonly<{}>, {
|
|
12
|
+
size: IndicatorSize;
|
|
13
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
14
|
+
declare const __VLS_export$1: __VLS_WithSlots$1<typeof __VLS_base$1, __VLS_Slots$1>;
|
|
15
|
+
declare const _default$1: typeof __VLS_export$1;
|
|
16
|
+
type __VLS_WithSlots$1<T, S> = T & {
|
|
17
|
+
new (): {
|
|
18
|
+
$slots: S;
|
|
19
|
+
};
|
|
20
|
+
};
|
|
21
|
+
//#endregion
|
|
22
|
+
//#region src/Indicator/isRenderable.d.ts
|
|
23
|
+
/**
|
|
24
|
+
* Whether a slot or vnode should replace an indicator's own mark.
|
|
25
|
+
*
|
|
26
|
+
* Null, undefined, booleans, and the empty string do not count. An element
|
|
27
|
+
* does, even when that element later renders nothing. A host writes
|
|
28
|
+
* `v-if="busy"` around a spinner, and `false` must not delete the mark.
|
|
29
|
+
*/
|
|
30
|
+
declare function isRenderable(value: VNodeChild | VNodeChild[] | undefined): boolean;
|
|
31
|
+
//#endregion
|
|
32
|
+
//#region src/Indicator/RadioIndicator.vue.d.ts
|
|
33
|
+
type __VLS_Props = IndicatorProps<'singleSelection'>;
|
|
34
|
+
declare var __VLS_1: {};
|
|
35
|
+
type __VLS_Slots = {} & {
|
|
36
|
+
default?: (props: typeof __VLS_1) => any;
|
|
37
|
+
};
|
|
38
|
+
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {
|
|
39
|
+
element: Readonly<import("vue").ShallowRef<HTMLSpanElement | null>>;
|
|
40
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
41
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
42
|
+
declare const _default: typeof __VLS_export;
|
|
43
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
44
|
+
new (): {
|
|
45
|
+
$slots: S;
|
|
46
|
+
};
|
|
47
|
+
};
|
|
48
|
+
//#endregion
|
|
49
|
+
//#region src/Indicator/registry.d.ts
|
|
50
|
+
/**
|
|
51
|
+
* The graphics this package ships.
|
|
52
|
+
*
|
|
53
|
+
* A theme's `indicators` entries replace these by name. The set is closed:
|
|
54
|
+
* a name added by augmentation is not in here.
|
|
55
|
+
*/
|
|
56
|
+
declare const defaultIndicators: { [N in CoreIndicatorName]: IndicatorComponent; };
|
|
57
|
+
declare function isCoreIndicatorName(name: string): name is CoreIndicatorName;
|
|
58
|
+
/**
|
|
59
|
+
* Resolve one graphic by name.
|
|
60
|
+
*
|
|
61
|
+
* A core name always resolves. A name this package does not know resolves
|
|
62
|
+
* only when the theme supplies it.
|
|
63
|
+
*/
|
|
64
|
+
declare function getIndicator<N extends CoreIndicatorName>(name: N, theme?: ThemeDefinition | null): IndicatorComponent;
|
|
65
|
+
declare function getIndicator(name: IndicatorName | (string & {}), theme?: ThemeDefinition | null): IndicatorComponent | undefined;
|
|
66
|
+
//#endregion
|
|
67
|
+
//#region src/Indicator/useIndicator.d.ts
|
|
68
|
+
/**
|
|
69
|
+
* The indicator graphic from the nearest theme.
|
|
70
|
+
*
|
|
71
|
+
* A core name always resolves. Any other name resolves only when that theme
|
|
72
|
+
* supplies a component.
|
|
73
|
+
*/
|
|
74
|
+
declare function useIndicator<N extends CoreIndicatorName>(name: N): ComputedRef<IndicatorComponent>;
|
|
75
|
+
declare function useIndicator(name: string): ComputedRef<IndicatorComponent | undefined>;
|
|
76
|
+
//#endregion
|
|
77
|
+
export { _default as a, isCoreIndicatorName as i, defaultIndicators as n, isRenderable as o, getIndicator as r, _default$1 as s, useIndicator as t };
|
|
@@ -32,10 +32,10 @@ declare const __VLS_base$2: import("vue").DefineComponent<ItemProps, {
|
|
|
32
32
|
focus: typeof focus;
|
|
33
33
|
blur: typeof blur;
|
|
34
34
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ItemProps> & Readonly<{}>, {
|
|
35
|
+
isSelected: boolean;
|
|
35
36
|
isDisabled: boolean;
|
|
36
|
-
as: ItemElement;
|
|
37
37
|
density: ListDensity;
|
|
38
|
-
|
|
38
|
+
as: ItemElement;
|
|
39
39
|
align: ItemAlign;
|
|
40
40
|
layout: ItemLayout;
|
|
41
41
|
isHighlighted: boolean;
|
|
@@ -12,14 +12,14 @@ declare const __VLS_base: import("vue").DefineComponent<PopoverProps, {}, {}, {}
|
|
|
12
12
|
}, string, import("vue").PublicProps, Readonly<PopoverProps> & Readonly<{
|
|
13
13
|
onOpenChange?: ((isOpen: boolean) => any) | undefined;
|
|
14
14
|
}>, {
|
|
15
|
-
label: string;
|
|
16
|
-
width: string | number;
|
|
17
15
|
padding: PopoverPadding;
|
|
16
|
+
width: string | number;
|
|
17
|
+
label: string;
|
|
18
18
|
isOpen: boolean;
|
|
19
19
|
placement: LayerPlacement;
|
|
20
20
|
alignment: LayerAlignment;
|
|
21
|
-
isEnabled: boolean;
|
|
22
21
|
hasAutoFocus: boolean;
|
|
22
|
+
isEnabled: boolean;
|
|
23
23
|
role: PopoverRole;
|
|
24
24
|
isModal: boolean;
|
|
25
25
|
hasCloseButton: boolean;
|
|
@@ -1,6 +1,21 @@
|
|
|
1
1
|
import { n as LayerPlacement, t as LayerAlignment } from "./position-DFW5ymAF.js";
|
|
2
|
-
import {
|
|
3
|
-
import { ComputedRef, InjectionKey } from "vue";
|
|
2
|
+
import { A as DropdownMenuSize, F as DropdownMenuSubMenuSlots, N as DropdownMenuSubMenuPresentation, P as DropdownMenuSubMenuProps, _ as DropdownMenuItemSlots, b as DropdownMenuPresentation, f as DropdownMenuGroupProps, g as DropdownMenuItemProps, i as DropdownMenuButtonProps, j as DropdownMenuSlots, p as DropdownMenuGroupSlots, v as DropdownMenuItemVariant, x as DropdownMenuProps } from "./DropdownMenuRadioItem.vue-uVM0FD2f.js";
|
|
3
|
+
import { ComputedRef, InjectionKey, Ref } from "vue";
|
|
4
|
+
//#region src/DropdownMenu/useMenuDrillIn.d.ts
|
|
5
|
+
/**
|
|
6
|
+
* The view stack a menu root keeps so a submenu can replace the rows in place.
|
|
7
|
+
*
|
|
8
|
+
* Sampled once, when the menu opens, so the panel never changes shape under
|
|
9
|
+
* the pointer. Closing forgets the stack and the next open starts at the root.
|
|
10
|
+
*/
|
|
11
|
+
interface MenuDrillIn {
|
|
12
|
+
isCompactTouch: boolean;
|
|
13
|
+
viewStack: readonly string[];
|
|
14
|
+
host: HTMLElement | null;
|
|
15
|
+
push: (viewId: string) => void;
|
|
16
|
+
pop: () => void;
|
|
17
|
+
}
|
|
18
|
+
//#endregion
|
|
4
19
|
//#region src/DropdownMenu/context.d.ts
|
|
5
20
|
/**
|
|
6
21
|
* What a `DropdownMenu` tells the rows inside it.
|
|
@@ -16,9 +31,25 @@ interface DropdownMenuContextValue {
|
|
|
16
31
|
isOpen: ComputedRef<boolean>;
|
|
17
32
|
/** Size of the menu, derived from the trigger button's size. */
|
|
18
33
|
menuSize: ComputedRef<DropdownMenuSize>;
|
|
34
|
+
/** Name a drilled view's Back row returns to. */
|
|
35
|
+
menuLabel: ComputedRef<string | undefined>;
|
|
36
|
+
/** Whether a header or footer sits beside the menu. */
|
|
37
|
+
hasRegions: ComputedRef<boolean>;
|
|
38
|
+
/** View stack for submenus that replace the rows in place. */
|
|
39
|
+
drillIn: ComputedRef<MenuDrillIn>;
|
|
40
|
+
/** Move focus to the header or the footer. */
|
|
41
|
+
focusRegion: (direction: 'previous' | 'next') => boolean;
|
|
19
42
|
}
|
|
20
43
|
/** The surrounding menu, or `undefined` when a row stands alone. */
|
|
21
44
|
declare function useDropdownMenuContext(): DropdownMenuContextValue | undefined;
|
|
45
|
+
/** Single-select state owned by `DropdownMenuRadioGroup`. */
|
|
46
|
+
interface DropdownMenuRadioGroupContext {
|
|
47
|
+
value: ComputedRef<string | undefined>;
|
|
48
|
+
hasCloseOnSelect: ComputedRef<boolean>;
|
|
49
|
+
select: (value: string) => void;
|
|
50
|
+
}
|
|
51
|
+
/** The radio group around this row, or `undefined` when there is none. */
|
|
52
|
+
declare function useDropdownMenuRadioGroup(): DropdownMenuRadioGroupContext | undefined;
|
|
22
53
|
//#endregion
|
|
23
54
|
//#region src/DropdownMenu/DropdownMenu.vue.d.ts
|
|
24
55
|
type __VLS_Props = DropdownMenuProps;
|
|
@@ -86,8 +117,14 @@ type __VLS_WithSlots$1<T, S> = T & {
|
|
|
86
117
|
//#endregion
|
|
87
118
|
//#region src/DropdownMenu/DropdownMenuSubMenu.vue.d.ts
|
|
88
119
|
type __VLS_Slots = DropdownMenuSubMenuSlots;
|
|
89
|
-
declare const __VLS_base: import("vue").DefineComponent<DropdownMenuSubMenuProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
120
|
+
declare const __VLS_base: import("vue").DefineComponent<DropdownMenuSubMenuProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
121
|
+
openChange: (isOpen: boolean) => any;
|
|
122
|
+
}, string, import("vue").PublicProps, Readonly<DropdownMenuSubMenuProps> & Readonly<{
|
|
123
|
+
onOpenChange?: ((isOpen: boolean) => any) | undefined;
|
|
124
|
+
}>, {
|
|
90
125
|
isDisabled: boolean;
|
|
126
|
+
presentation: DropdownMenuSubMenuPresentation;
|
|
127
|
+
hasSpinner: boolean;
|
|
91
128
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
92
129
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
93
130
|
declare const _default: typeof __VLS_export;
|
|
@@ -97,4 +134,4 @@ type __VLS_WithSlots<T, S> = T & {
|
|
|
97
134
|
};
|
|
98
135
|
};
|
|
99
136
|
//#endregion
|
|
100
|
-
export { _default$4 as a, _default$3 as i, _default$1 as n, DropdownMenuContextValue as o, _default$2 as r,
|
|
137
|
+
export { _default$4 as a, useDropdownMenuContext as c, _default$3 as i, useDropdownMenuRadioGroup as l, _default$1 as n, DropdownMenuContextValue as o, _default$2 as r, DropdownMenuRadioGroupContext as s, _default as t, MenuDrillIn as u };
|