@astryx-vue/core 0.17.0 → 0.19.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (122) hide show
  1. package/dist/AvatarGroup/index.d.ts +1 -1
  2. package/dist/Banner/index.d.ts +1 -1
  3. package/dist/BottomSheet/index.d.ts +1 -1
  4. package/dist/ButtonGroup/index.d.ts +1 -1
  5. package/dist/Calendar/index.d.ts +1 -1
  6. package/dist/Calendar/index.js +1 -1
  7. package/dist/{Calendar-Bk2nGoT-.js → Calendar-DSRNuw3y.js} +37 -13
  8. package/dist/Carousel/index.d.ts +1 -1
  9. package/dist/Center/index.d.ts +1 -1
  10. package/dist/Chat/index.js +1 -1
  11. package/dist/{Chat-Wq7e98zS.js → Chat-CXwXzlZ0.js} +1 -1
  12. package/dist/CheckboxInput/index.d.ts +1 -1
  13. package/dist/CheckboxList/index.d.ts +1 -1
  14. package/dist/ClickableCard/index.d.ts +1 -1
  15. package/dist/Collapsible/index.d.ts +1 -1
  16. package/dist/Collapsible/index.js +1 -1
  17. package/dist/{Collapsible-Dk9BQQbT.js → Collapsible-ExzU7vC0.js} +104 -40
  18. package/dist/ContextMenu/index.d.ts +1 -1
  19. package/dist/DateInput/index.d.ts +1 -1
  20. package/dist/DateInput/index.js +1 -1
  21. package/dist/{DateInput-BitZfGEY.js → DateInput-s2H0orUW.js} +3 -3
  22. package/dist/DateRangeInput/index.d.ts +1 -1
  23. package/dist/DateRangeInput/index.js +1 -1
  24. package/dist/{DateRangeInput-kxXBsUTU.js → DateRangeInput-Dn9I2PMM.js} +7 -7
  25. package/dist/DateTimeInput/index.d.ts +1 -1
  26. package/dist/DateTimeInput/index.js +1 -1
  27. package/dist/{DateTimeInput-Cfkuec_h.js → DateTimeInput-BR_tdURg.js} +47 -17
  28. package/dist/Dialog/index.d.ts +1 -1
  29. package/dist/Drawer/index.d.ts +1 -1
  30. package/dist/FileInput/index.d.ts +1 -1
  31. package/dist/HoverCard/index.d.ts +1 -1
  32. package/dist/HoverCard/index.js +1 -1
  33. package/dist/{HoverCard-DVPLeccv.js → HoverCard-FHYH3VXg.js} +50 -2
  34. package/dist/InfoTip/index.d.ts +1 -1
  35. package/dist/InternationalizationProvider/index.d.ts +1 -1
  36. package/dist/InternationalizationProvider/index.js +1 -1
  37. package/dist/{InternationalizationProvider-Dr5GE6f0.js → InternationalizationProvider-Ddo_-tLK.js} +1 -1
  38. package/dist/Link/index.d.ts +1 -1
  39. package/dist/{MediaTheme-Bkj-_DFN.js → MediaTheme-DfcdEWx-.js} +2 -36
  40. package/dist/MoreMenu/index.d.ts +1 -1
  41. package/dist/MultiSelector/index.d.ts +1 -1
  42. package/dist/NumberInput/index.d.ts +1 -1
  43. package/dist/NumberInput/index.js +1 -1
  44. package/dist/{NumberInput-BPeesTRv.js → NumberInput-BsWTXomE.js} +2 -23
  45. package/dist/OverflowList/index.d.ts +1 -1
  46. package/dist/PowerSearch/index.d.ts +1 -1
  47. package/dist/PowerSearch/index.js +1 -1
  48. package/dist/{PowerSearch-BAOqpQag.js → PowerSearch-CDEn08Pe.js} +6 -6
  49. package/dist/Radio/index.d.ts +1 -1
  50. package/dist/RadioList/index.d.ts +1 -1
  51. package/dist/ScrollableArea/index.d.ts +1 -1
  52. package/dist/SelectableCard/index.d.ts +1 -1
  53. package/dist/Selector/index.d.ts +1 -1
  54. package/dist/SideNav/index.d.ts +1 -1
  55. package/dist/Switch/index.d.ts +1 -1
  56. package/dist/Table/index.d.ts +1 -1
  57. package/dist/Table/index.js +1 -1
  58. package/dist/{Table-CRKljXg4.js → Table-WukSceMV.js} +376 -5
  59. package/dist/TextArea/index.d.ts +1 -1
  60. package/dist/TextInput/index.d.ts +1 -1
  61. package/dist/Theme/index.js +3 -2
  62. package/dist/{Theme-iqi6AvU_.js → Theme-1RJVaRgz.js} +3 -38
  63. package/dist/{TimeField-CBWgdA1Y.js → TimeField-BM-rVFhC.js} +419 -140
  64. package/dist/TimeInput/index.d.ts +2 -2
  65. package/dist/TimeInput/index.js +1 -1
  66. package/dist/{TimeInput-8ASOMV3B.js → TimeInput-CkZfhhAr.js} +28 -8
  67. package/dist/Timer/index.d.ts +1 -1
  68. package/dist/Timer/index.js +1 -1
  69. package/dist/{Timer-C8evnsTE.js → Timer-DiIs5GLA.js} +24 -15
  70. package/dist/Timestamp/index.d.ts +1 -1
  71. package/dist/Timestamp/index.js +1 -1
  72. package/dist/{Timestamp-CgvZe6vH.js → Timestamp-D9Jyk9sD.js} +152 -96
  73. package/dist/Toast/index.js +1 -1
  74. package/dist/{Toast-CzbqvHDN.js → Toast-D4Q6wvYu.js} +1 -1
  75. package/dist/ToggleButton/index.d.ts +1 -1
  76. package/dist/Token/index.d.ts +1 -1
  77. package/dist/Toolbar/index.d.ts +1 -1
  78. package/dist/Tooltip/index.d.ts +1 -1
  79. package/dist/TopNav/index.d.ts +1 -1
  80. package/dist/TreeList/index.d.ts +1 -1
  81. package/dist/TreeList/index.js +1 -1
  82. package/dist/{TreeList-CNj4KnHH.js → TreeList-ugSF9DWj.js} +117 -2
  83. package/dist/composables/index.d.ts +3 -2
  84. package/dist/composables/index.js +3 -3
  85. package/dist/{composables-BKHcPgN0.js → composables-BgfubKnk.js} +39 -332
  86. package/dist/{format-CMHyAMn3.js → format-mffyPc-L.js} +34 -4
  87. package/dist/handle-BPXdHbkr.js +458 -0
  88. package/dist/{index-9eluGe3a.d.ts → index-BA8exXNP.d.ts} +2 -1
  89. package/dist/{index-tuNsmJxw.d.ts → index-BLnvQ4Oj.d.ts} +9 -2
  90. package/dist/{index-B0iRA00v.d.ts → index-BapQGST1.d.ts} +2 -2
  91. package/dist/{index-D31bgBoy.d.ts → index-BdZCLUgY.d.ts} +1 -1
  92. package/dist/{index-DK0Wdo9N.d.ts → index-C9OzEvE_.d.ts} +3 -3
  93. package/dist/{index-CbA8rR_b.d.ts → index-CBOv5j3c.d.ts} +1 -1
  94. package/dist/{index-CMLnSg3T.d.ts → index-CKnr0JlT.d.ts} +7 -0
  95. package/dist/{index-C1qJlC65.d.ts → index-CQ-sq76o.d.ts} +1 -1
  96. package/dist/{index-85RFPeV0.d.ts → index-CULdl3Dg.d.ts} +3 -3
  97. package/dist/{index-BxWCX2pJ.d.ts → index-DFLPv9io.d.ts} +3 -3
  98. package/dist/{index-DofC9Rll.d.ts → index-Otl047R1.d.ts} +1 -1
  99. package/dist/{index-BKnyTWPM.d.ts → index-ZbNwGVkS.d.ts} +1 -1
  100. package/dist/{index-DYabo8TI.d.ts → index-eCp-ElSp.d.ts} +1 -1
  101. package/dist/{index-B95VIgRl.d.ts → index-t27MvEzT.d.ts} +70 -23
  102. package/dist/{index-wY6dKz6c.d.ts → index-yQc-te9a.d.ts} +7 -0
  103. package/dist/index.d.ts +19 -18
  104. package/dist/index.js +25 -24
  105. package/dist/landing-Bs0aMIsR.js +2049 -0
  106. package/dist/{loadCatalog-BJwcyX8i.d.ts → loadCatalog-C4h9SmJs.d.ts} +2 -0
  107. package/dist/{loadCatalog-C1kms5sO.js → loadCatalog-DsEKSY3U.js} +5 -1
  108. package/dist/locale/index.d.ts +2 -2
  109. package/dist/locale/index.js +4 -4
  110. package/dist/{locale-CHhsd9Mq.js → locale-C-Y-13BP.js} +1 -1
  111. package/dist/motionTokenDefaults-EFzpiAF5.js +38 -0
  112. package/dist/timeFormat-CqrwFE42.js +203 -0
  113. package/dist/{timestamp-BMYQsFDj.js → timestamp-saJUedIU.js} +4 -2
  114. package/dist/tokenName-0U-WEH09.js +36 -0
  115. package/dist/unicodeDigits-_BYIJcAu.js +46 -0
  116. package/dist/useAnimatedLayout-C0koWm4a.d.ts +56 -0
  117. package/dist/{useTimeValue-_XW9g2V1.js → useTimeValue-CcKrnO8z.js} +13 -6
  118. package/package.json +1 -1
  119. package/styles/calendar.css +5 -1
  120. package/styles/table.css +19 -0
  121. package/styles/timestamp.css +22 -10
  122. package/dist/{index-D8lv2BiD.d.ts → index-J6YRJ7Ul.d.ts} +1 -1
@@ -7,17 +7,19 @@ import { t as _sfc_main$5 } from "./IconButton-Du2XBBAX.js";
7
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
- import { a as parseISOTime, n as formatISOTime, t as formatDisplayTime } from "./useTimeValue-_XW9g2V1.js";
10
+ import { a as resolveHourFormat } from "./timeFormat-CqrwFE42.js";
11
+ import { a as parseISOTime, n as formatISOTime, t as formatDisplayTime } from "./useTimeValue-CcKrnO8z.js";
11
12
  import { t as _sfc_main$6 } from "./Spinner-DEVPDsD0.js";
12
13
  import { t as _sfc_main$7 } from "./Field-BXkGR8H0.js";
13
14
  import { t as useFieldPartStyling } from "./fieldParts-CbWvZLhH.js";
15
+ import { t as useBusyAnnouncement } from "./busyAnnouncement-CExubuYm.js";
14
16
  import { t as dateInputMessages } from "./date-input-rUD8YAow.js";
15
17
  import { t as formatInstant } from "./formatInstant-BDWUIxS7.js";
16
- import { n as _sfc_main$8, t as _sfc_main$9 } from "./DateInput-BitZfGEY.js";
18
+ import { n as _sfc_main$8, t as _sfc_main$9 } from "./DateInput-s2H0orUW.js";
17
19
  import { n as dateTimeInputMessages } from "./time-input-CKOsh84E.js";
18
- import { n as _sfc_main$10, t as _sfc_main$11 } from "./TimeField-CBWgdA1Y.js";
20
+ import { n as _sfc_main$10, t as _sfc_main$11 } from "./TimeField-BM-rVFhC.js";
19
21
  import { r as effectivePickerPresentation, s as resolvePickerPresentation } from "./inputPresentation-BOyHkCDr.js";
20
- import { Fragment, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createVNode, defineComponent, mergeModels, normalizeClass, normalizeStyle, openBlock, ref, toDisplayString, unref, useAttrs, useId, useModel, watch, withCtx } from "vue";
22
+ import { Fragment, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createVNode, defineComponent, mergeModels, normalizeClass, normalizeStyle, openBlock, ref, shallowRef, toDisplayString, unref, useAttrs, useId, useModel, useTemplateRef, watch, withCtx } from "vue";
21
23
  import "../styles/date-time-input.css";
22
24
  //#region src/DateTimeInput/TouchDateTimeField.vue
23
25
  const _hoisted_1$1 = {
@@ -33,7 +35,7 @@ const _hoisted_4 = [
33
35
  "aria-describedby"
34
36
  ];
35
37
  const _hoisted_5 = ["data-placeholder"];
36
- const _hoisted_6 = { class: "astryx-date-time-touch" };
38
+ const _hoisted_6 = ["id"];
37
39
  const _hoisted_7 = ["aria-label"];
38
40
  const _hoisted_8 = ["aria-selected"];
39
41
  const _hoisted_9 = ["aria-selected"];
@@ -52,7 +54,7 @@ const _sfc_main$1 = /*@__PURE__*/ defineComponent({
52
54
  placeholder: {},
53
55
  timePlaceholder: {},
54
56
  timeLabel: {},
55
- hourFormat: { default: "12h" },
57
+ hourFormat: {},
56
58
  hasSeconds: {
57
59
  type: Boolean,
58
60
  default: false
@@ -85,7 +87,8 @@ const _sfc_main$1 = /*@__PURE__*/ defineComponent({
85
87
  return new Date(year, month - 1, day);
86
88
  }
87
89
  const dateText = computed(() => props.date ? formatInstant(props.date, "date_long", locale.value) : "");
88
- const timeText = computed(() => props.time ? formatDisplayTime(props.time, props.hourFormat, props.hasSeconds) : "");
90
+ const hourFormat = computed(() => resolveHourFormat(locale.value, props.hourFormat));
91
+ const timeText = computed(() => props.time ? formatDisplayTime(props.time, hourFormat.value, props.hasSeconds, locale.value) : "");
89
92
  function clockBound(value) {
90
93
  const parsed = parseISOTime(value?.slice(11) ?? "");
91
94
  return parsed ? formatISOTime(parsed, true) : void 0;
@@ -147,7 +150,10 @@ const _sfc_main$1 = /*@__PURE__*/ defineComponent({
147
150
  height: "hug",
148
151
  padding: 0
149
152
  }, {
150
- default: withCtx(() => [createElementVNode("div", _hoisted_6, [createElementVNode("div", {
153
+ default: withCtx(() => [createElementVNode("div", {
154
+ id: `${__props.inputId}-sheet`,
155
+ class: "astryx-date-time-touch"
156
+ }, [createElementVNode("div", {
151
157
  class: "astryx-date-time-touch-tabs",
152
158
  role: "tablist",
153
159
  "aria-label": unref(messages).dateTimeInput.pickerMode
@@ -183,7 +189,7 @@ const _sfc_main$1 = /*@__PURE__*/ defineComponent({
183
189
  "save-disabled"
184
190
  ])) : (openBlock(), createElementBlock("div", _hoisted_10, [createVNode(_sfc_main$10, {
185
191
  "model-value": __props.time,
186
- "hour-format": __props.hourFormat,
192
+ "hour-format": hourFormat.value,
187
193
  "has-seconds": __props.hasSeconds,
188
194
  min: clockBound(__props.min),
189
195
  max: clockBound(__props.max),
@@ -198,7 +204,7 @@ const _sfc_main$1 = /*@__PURE__*/ defineComponent({
198
204
  type: "button",
199
205
  class: "astryx-date-touch-save",
200
206
  onClick: close
201
- }, toDisplayString(unref(messages).dateInput.savePicking), 1)]))])]),
207
+ }, toDisplayString(unref(messages).dateInput.savePicking), 1)]))], 8, _hoisted_6)]),
202
208
  _: 1
203
209
  }, 8, ["is-open", "label"])], 64);
204
210
  };
@@ -225,7 +231,7 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
225
231
  id: {},
226
232
  description: {},
227
233
  placeholder: {},
228
- hourFormat: { default: "12h" },
234
+ hourFormat: {},
229
235
  presentation: {},
230
236
  nativePicker: {},
231
237
  hasClear: {
@@ -332,8 +338,28 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
332
338
  const draftTime = ref(void 0);
333
339
  const action = usePendingChange(() => props.changeAction);
334
340
  const busy = computed(() => props.isLoading || action.busy.value);
341
+ const containerRef = useTemplateRef("container");
335
342
  const locked = computed(() => props.isDisabled || busy.value);
336
343
  const sheetLocked = computed(() => locked.value || props.isReadOnly === true);
344
+ useBusyAnnouncement(busy, () => messages.value.dateInput.loading, () => {
345
+ const sheet = document.getElementById(`${generatedId}-sheet`);
346
+ return sheet?.closest("dialog[open]") ? sheet : containerRef.value;
347
+ });
348
+ /** 日期那段当前的拒绝;时间那段的拒绝让位给它,日期那段的话在它自己的字段下面。 */
349
+ const dateEntryError = shallowRef(null);
350
+ const timeMessage = shallowRef(null);
351
+ const fieldStatus = computed(() => {
352
+ const own = props.status;
353
+ if (timeMessage.value == null || dateEntryError.value != null || own?.type === "error" && own.message) return own;
354
+ return {
355
+ type: "error",
356
+ message: timeMessage.value
357
+ };
358
+ });
359
+ function onDateEntryError(error) {
360
+ dateEntryError.value = error;
361
+ emit("entryErrorChange", error);
362
+ }
337
363
  const datePresentation = computed(() => {
338
364
  const value = props.presentation;
339
365
  if (value == null || value === "text-input") return void 0;
@@ -429,10 +455,11 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
429
455
  "is-optional": __props.isOptional,
430
456
  "is-required": __props.isRequired,
431
457
  "label-tooltip": __props.labelTooltip,
432
- status: __props.status,
458
+ status: fieldStatus.value,
433
459
  "status-variant": __props.statusVariant
434
460
  }, {
435
461
  default: withCtx((field) => [createElementVNode("div", {
462
+ ref: "container",
436
463
  class: normalizeClass(["astryx-date-time-input", unref(parts).controlClass()]),
437
464
  style: normalizeStyle(unref(parts).controlStyle()),
438
465
  "data-size": unref(size),
@@ -491,7 +518,7 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
491
518
  "disabled-message": __props.disabledMessage,
492
519
  "entry-error-behavior": __props.entryErrorBehavior,
493
520
  "onUpdate:modelValue": onDate,
494
- onEntryErrorChange: _cache[0] || (_cache[0] = ($event) => emit("entryErrorChange", $event))
521
+ onEntryErrorChange: onDateEntryError
495
522
  }, null, 8, [
496
523
  "model-value",
497
524
  "label",
@@ -524,7 +551,9 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
524
551
  "is-read-only": __props.isReadOnly,
525
552
  "disabled-message": __props.disabledMessage,
526
553
  status: __props.status,
527
- "onUpdate:modelValue": onTime
554
+ "entry-error-behavior": __props.entryErrorBehavior,
555
+ "onUpdate:modelValue": onTime,
556
+ onMessageChange: _cache[0] || (_cache[0] = ($event) => timeMessage.value = $event)
528
557
  }, null, 8, [
529
558
  "model-value",
530
559
  "label",
@@ -542,12 +571,13 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
542
571
  "is-disabled",
543
572
  "is-read-only",
544
573
  "disabled-message",
545
- "status"
574
+ "status",
575
+ "entry-error-behavior"
546
576
  ])])), busy.value ? (openBlock(), createBlock(_sfc_main$6, {
547
577
  key: 2,
548
578
  size: "sm",
549
- "aria-label": unref(messages).dateInput.loading
550
- }, null, 8, ["aria-label"])) : __props.hasClear && (dateValue.value || timeValue.value) && !locked.value ? (openBlock(), createBlock(_sfc_main$5, {
579
+ "aria-hidden": "true"
580
+ })) : __props.hasClear && (dateValue.value || timeValue.value) && !locked.value ? (openBlock(), createBlock(_sfc_main$5, {
551
581
  key: 3,
552
582
  class: "astryx-input-clear-button",
553
583
  variant: "ghost",
@@ -1,2 +1,2 @@
1
- import { a as _default$1, c as DialogHeaderProps, d as DialogProps, f as DialogPurpose, i as useDialogContext, l as DialogPadding, m as DialogContext, n as ImperativeDialogReturn, o as _default, p as DialogVariant, r as useImperativeDialog, s as DialogBlockPosition, t as ImperativeDialogOptions, u as DialogPosition } from "../index-CbA8rR_b.js";
1
+ import { a as _default$1, c as DialogHeaderProps, d as DialogProps, f as DialogPurpose, i as useDialogContext, l as DialogPadding, m as DialogContext, n as ImperativeDialogReturn, o as _default, p as DialogVariant, r as useImperativeDialog, s as DialogBlockPosition, t as ImperativeDialogOptions, u as DialogPosition } from "../index-CBOv5j3c.js";
2
2
  export { _default as Dialog, type DialogBlockPosition, type DialogContext, _default$1 as DialogHeader, type DialogHeaderProps, type DialogPadding, type DialogPosition, type DialogProps, type DialogPurpose, type DialogVariant, type ImperativeDialogOptions, type ImperativeDialogReturn, useDialogContext, useImperativeDialog };
@@ -1,2 +1,2 @@
1
- import { Ai as _default$1, Fi as DrawerHeaderSlots, Ii as DrawerPlacement, Li as DrawerProps, Mi as DrawerEmits, Ni as DrawerHeaderEmits, Pi as DrawerHeaderProps, Ri as DrawerSlots, ji as _default } from "../index-B95VIgRl.js";
1
+ import { Fi as DrawerHeaderProps, Ii as DrawerHeaderSlots, Li as DrawerPlacement, Mi as _default, Ni as DrawerEmits, Pi as DrawerHeaderEmits, Ri as DrawerProps, ji as _default$1, zi as DrawerSlots } from "../index-t27MvEzT.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 };
@@ -1,2 +1,2 @@
1
- import { Ci as _default, Di as FileInputSize, Ei as FileInputProps, Oi as FileInputStatus, Ti as FileInputMode, ki as FileInputValue, wi as FileInputEmits } from "../index-B95VIgRl.js";
1
+ import { Ai as FileInputValue, Di as FileInputProps, Ei as FileInputMode, Oi as FileInputSize, Ti as FileInputEmits, ki as FileInputStatus, wi as _default } from "../index-t27MvEzT.js";
2
2
  export { _default as FileInput, type FileInputEmits, type FileInputMode, type FileInputProps, type FileInputSize, type FileInputStatus, type FileInputValue };
@@ -1,2 +1,2 @@
1
- import { a as HoverCardAlignment, c as HoverCardHoverIndication, d as HoverCardSlots, f as HoverCardTouchTrigger, i as _default, l as HoverCardPlacement, n as UseHoverCardReturn, o as HoverCardEmits, r as useHoverCard, s as HoverCardFocusTrigger, t as UseHoverCardOptions, u as HoverCardProps } from "../index-DofC9Rll.js";
1
+ import { a as HoverCardAlignment, c as HoverCardHoverIndication, d as HoverCardSlots, f as HoverCardTouchTrigger, i as _default, l as HoverCardPlacement, n as UseHoverCardReturn, o as HoverCardEmits, r as useHoverCard, s as HoverCardFocusTrigger, t as UseHoverCardOptions, u as HoverCardProps } from "../index-Otl047R1.js";
2
2
  export { _default as HoverCard, type HoverCardAlignment, type HoverCardEmits, type HoverCardFocusTrigger, type HoverCardHoverIndication, type HoverCardPlacement, type HoverCardProps, type HoverCardSlots, type HoverCardTouchTrigger, type UseHoverCardOptions, type UseHoverCardReturn, useHoverCard };
@@ -1,2 +1,2 @@
1
- import { n as useHoverCard, t as _sfc_main } from "../HoverCard-DVPLeccv.js";
1
+ import { n as useHoverCard, t as _sfc_main } from "../HoverCard-FHYH3VXg.js";
2
2
  export { _sfc_main as HoverCard, useHoverCard };
@@ -9,8 +9,31 @@ import { Fragment, Teleport, Transition, computed, createBlock, createElementBlo
9
9
  import "../styles/hover-card.css";
10
10
  //#region src/HoverCard/hoverCardTrigger.ts
11
11
  /**
12
- * 悬停卡片触发器上哪些角色能写 aria-expanded,以及触发器的 id 合并。
12
+ * 悬停卡片触发器上哪些角色能写 aria-haspopup 和 aria-expanded,以及触发器的 id 合并。
13
13
  */
14
+ /** ARIA 1.2 里支持 aria-haspopup 的角色(含继承它的子角色)。 */
15
+ const HASPOPUP_ROLES = /* @__PURE__ */ new Set([
16
+ "application",
17
+ "button",
18
+ "combobox",
19
+ "gridcell",
20
+ "link",
21
+ "menuitem",
22
+ "menuitemcheckbox",
23
+ "menuitemradio",
24
+ "searchbox",
25
+ "slider",
26
+ "tab",
27
+ "textbox",
28
+ "treeitem"
29
+ ]);
30
+ const TEXT_INPUT_TYPES = /* @__PURE__ */ new Set([
31
+ "text",
32
+ "search",
33
+ "email",
34
+ "tel",
35
+ "url"
36
+ ]);
14
37
  const EXPANDABLE_ROLES = /* @__PURE__ */ new Set([
15
38
  "application",
16
39
  "button",
@@ -52,6 +75,26 @@ function supportsAriaExpanded(element) {
52
75
  default: return false;
53
76
  }
54
77
  }
78
+ /**
79
+ * aria-haspopup 同样只在一部分 role 上合法。没有 role 的触发器(`span`、`time`)不写它,
80
+ * 只在卡片打开时用 aria-controls 指向卡片。
81
+ */
82
+ function supportsAriaHaspopup(element) {
83
+ const explicit = element.getAttribute("role")?.trim().split(/\s+/)[0];
84
+ if (explicit) return HASPOPUP_ROLES.has(explicit);
85
+ switch (element.tagName) {
86
+ case "BUTTON":
87
+ case "SELECT":
88
+ case "TEXTAREA": return true;
89
+ case "A":
90
+ case "AREA": return element.hasAttribute("href");
91
+ case "INPUT": {
92
+ const type = element.type?.toLowerCase() ?? "text";
93
+ return BUTTON_INPUT_TYPES.has(type) || TEXT_INPUT_TYPES.has(type);
94
+ }
95
+ default: return false;
96
+ }
97
+ }
55
98
  function mergeIds(...ids) {
56
99
  const kept = ids.filter(Boolean);
57
100
  return kept.length > 0 ? kept.join(" ") : void 0;
@@ -65,11 +108,14 @@ function useHoverCardTriggerBinding(options) {
65
108
  let controlsBefore = null;
66
109
  let expandedBefore = null;
67
110
  let canExpand = false;
111
+ let canHaspopup = false;
68
112
  function applyTriggerAttributes() {
69
113
  const active = options.triggerRef.value;
70
114
  if (!active) return;
71
115
  if (options.isDialog.value) {
72
- active.setAttribute("aria-haspopup", "dialog");
116
+ if (canHaspopup) active.setAttribute("aria-haspopup", "dialog");
117
+ else if (haspopupBefore) active.setAttribute("aria-haspopup", haspopupBefore);
118
+ else active.removeAttribute("aria-haspopup");
73
119
  if (options.isOpen.value) active.setAttribute("aria-controls", mergeIds(controlsBefore, options.layerId) ?? "");
74
120
  else if (controlsBefore) active.setAttribute("aria-controls", controlsBefore);
75
121
  else active.removeAttribute("aria-controls");
@@ -101,6 +147,7 @@ function useHoverCardTriggerBinding(options) {
101
147
  controlsBefore = element.getAttribute("aria-controls");
102
148
  expandedBefore = element.getAttribute("aria-expanded");
103
149
  canExpand = options.supportsExpanded(element);
150
+ canHaspopup = supportsAriaHaspopup(element);
104
151
  element.addEventListener("pointerenter", options.handlers.onPointerEnter);
105
152
  element.addEventListener("mouseenter", options.handlers.onMouseEnter);
106
153
  element.addEventListener("mouseleave", options.handlers.onMouseLeave);
@@ -126,6 +173,7 @@ function useHoverCardTriggerBinding(options) {
126
173
  controlsBefore = null;
127
174
  expandedBefore = null;
128
175
  canExpand = false;
176
+ canHaspopup = false;
129
177
  }
130
178
  return {
131
179
  bind,
@@ -1,2 +1,2 @@
1
- import { Si as InfoTipSize, bi as _default, xi as InfoTipProps } from "../index-B95VIgRl.js";
1
+ import { Ci as InfoTipSize, Si as InfoTipProps, xi as _default } from "../index-t27MvEzT.js";
2
2
  export { _default as InfoTip, _default as default, type InfoTipProps, type InfoTipSize };
@@ -1,2 +1,2 @@
1
- import { a as useLocaleDirection, c as ProviderMessagesByLocale, i as astryxDirectionKey, l as ProviderOverrides, n as InternationalizationProviderProps, o as TextDirection, r as InternationalizationProviderSlots, s as getLocaleDirection, t as _default, u as resolveProviderMessages } from "../index-D31bgBoy.js";
1
+ import { a as useLocaleDirection, c as ProviderMessagesByLocale, i as astryxDirectionKey, l as ProviderOverrides, n as InternationalizationProviderProps, o as TextDirection, r as InternationalizationProviderSlots, s as getLocaleDirection, t as _default, u as resolveProviderMessages } from "../index-BdZCLUgY.js";
2
2
  export { _default as InternationalizationProvider, type InternationalizationProviderProps, type InternationalizationProviderSlots, type ProviderMessagesByLocale, type ProviderOverrides, type TextDirection, astryxDirectionKey, getLocaleDirection, resolveProviderMessages, useLocaleDirection };
@@ -1,2 +1,2 @@
1
- import { a as resolveProviderMessages, i as getLocaleDirection, n as astryxDirectionKey, r as useLocaleDirection, t as _sfc_main } from "../InternationalizationProvider-Dr5GE6f0.js";
1
+ import { a as resolveProviderMessages, i as getLocaleDirection, n as astryxDirectionKey, r as useLocaleDirection, t as _sfc_main } from "../InternationalizationProvider-Ddo_-tLK.js";
2
2
  export { _sfc_main as InternationalizationProvider, astryxDirectionKey, getLocaleDirection, resolveProviderMessages, useLocaleDirection };
@@ -1,6 +1,6 @@
1
1
  import { n as isDevBuild, t as devPropError } from "./devBuild-G249YcdZ.js";
2
2
  import { a as useAstryxLocale, i as provideAstryxLocale, r as normalizeLocale } from "./context-B8IEFCDR.js";
3
- import { m as icuPlaceholderNames, n as upstreamMessageMap, p as formatIcu, r as builtInMessages, t as loadAstryxCatalog } from "./loadCatalog-C1kms5sO.js";
3
+ import { m as icuPlaceholderNames, n as upstreamMessageMap, p as formatIcu, r as builtInMessages, t as loadAstryxCatalog } from "./loadCatalog-DsEKSY3U.js";
4
4
  import { computed, defineComponent, inject, provide, renderSlot } from "vue";
5
5
  //#region src/InternationalizationProvider/catalog.ts
6
6
  /**
@@ -1,3 +1,3 @@
1
1
  import { _ as LinkWeight, f as LinkColor, g as LinkType, h as LinkSize, m as LinkRoot, p as LinkProps } from "../index-Dc52pmSr.js";
2
- import { yi as _default } from "../index-B95VIgRl.js";
2
+ import { bi as _default } from "../index-t27MvEzT.js";
3
3
  export { _default as Link, type LinkColor, type LinkProps, type LinkRoot, type LinkSize, type LinkType, type LinkWeight };
@@ -1,4 +1,5 @@
1
1
  import { o as mediaThemeKey, s as themeContextKey } from "./themeIcons-CqGF0fwW.js";
2
+ import { n as normalizeTokenName } from "./tokenName-0U-WEH09.js";
2
3
  import { n as useResolvedColorMode, r as resolveLightDark, t as usePageReadable } from "./useResolvedColorMode-Df97_9w_.js";
3
4
  import { computed, createElementBlock, defineComponent, inject, normalizeClass, normalizeStyle, onBeforeUnmount, onMounted, onUpdated, openBlock, provide, ref, renderSlot, unref, useAttrs, useTemplateRef, watch } from "vue";
4
5
  import "../styles/media-theme.css";
@@ -144,41 +145,6 @@ function pickMediaMode(background, ambient, onDark, onLight) {
144
145
  return contrastRatio(onDark, background) >= contrastRatio(onLight, background) ? "dark" : "light";
145
146
  }
146
147
  //#endregion
147
- //#region src/Theme/tokenName.ts
148
- /** Unprefixed theme vocabulary: `--color-accent`, `--spacing-4`, `--font-size-base`. */
149
- const THEME_TOKEN_PREFIX = /^--(?:color|font|text|radius|duration|ease|spacing|size|shadow|border|focus|heading)-/;
150
- /** Accept `--color-accent`, `--astryx-color-accent`, or `color-accent`. */
151
- function normalizeTokenName(name) {
152
- const trimmed = name.trim();
153
- if (trimmed.startsWith("--astryx-")) return trimmed;
154
- if (trimmed.startsWith("--")) return `--astryx-${trimmed.slice(2)}`;
155
- return `--astryx-${trimmed}`;
156
- }
157
- /**
158
- * Whether a custom-property name belongs to the shared theme vocabulary,
159
- * written either way: `--color-accent` or `--astryx-color-accent`.
160
- *
161
- * A theme-local token may not use one of these names, because the shared
162
- * name already has a meaning every component reads.
163
- */
164
- function isPortableTokenName(name) {
165
- const trimmed = name.trim();
166
- const bare = trimmed.startsWith("--astryx-") ? `--${trimmed.slice(9)}` : trimmed;
167
- return THEME_TOKEN_PREFIX.test(bare);
168
- }
169
- /**
170
- * Rewrite `var(--color-accent)` to `var(--astryx-color-accent)`.
171
- *
172
- * Custom properties outside the theme vocabulary are left alone, so a
173
- * theme-local `var(--brand-ink)` keeps its exact name.
174
- */
175
- function prefixTokenReferences(value) {
176
- return value.replace(/var\(\s*(--(?!astryx-)[\w-]+)/g, (match, name) => {
177
- if (!THEME_TOKEN_PREFIX.test(name)) return match;
178
- return `var(${normalizeTokenName(name)}`;
179
- });
180
- }
181
- //#endregion
182
148
  //#region src/Theme/themeStyle.ts
183
149
  /**
184
150
  * Aliases declared on `:root` are substituted there. A later override of the
@@ -461,4 +427,4 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
461
427
  }
462
428
  });
463
429
  //#endregion
464
- export { normalizeTokenName as a, contrastRatio as c, DATA_TOKEN_DEFAULTS as d, isPortableTokenName as i, parseColor as l, useTheme as n, prefixTokenReferences as o, bridgeComponentTokens as r, compositeOver as s, _sfc_main as t, relativeLuminance as u };
430
+ export { contrastRatio as a, DATA_TOKEN_DEFAULTS as c, compositeOver as i, useTheme as n, parseColor as o, bridgeComponentTokens as r, relativeLuminance as s, _sfc_main as t };
@@ -1,2 +1,2 @@
1
- import { _i as MoreMenuSection, ci as MoreMenuEmits, di as MoreMenuItem, fi as MoreMenuItemVariant, gi as MoreMenuResolvedPresentation, hi as MoreMenuProps, li as MoreMenuIcon, mi as MoreMenuPresentation, oi as _default, pi as MoreMenuOption, si as MoreMenuDivider, ui as MoreMenuInitialFocus, vi as MoreMenuSlots } from "../index-B95VIgRl.js";
1
+ import { _i as MoreMenuResolvedPresentation, ci as MoreMenuDivider, di as MoreMenuInitialFocus, fi as MoreMenuItem, gi as MoreMenuProps, hi as MoreMenuPresentation, li as MoreMenuEmits, mi as MoreMenuOption, pi as MoreMenuItemVariant, si as _default, ui as MoreMenuIcon, vi as MoreMenuSection, yi as MoreMenuSlots } from "../index-t27MvEzT.js";
2
2
  export { _default as MoreMenu, type MoreMenuDivider, type MoreMenuEmits, type MoreMenuIcon, type MoreMenuInitialFocus, type MoreMenuItem, type MoreMenuItemVariant, type MoreMenuOption, type MoreMenuPresentation, type MoreMenuProps, type MoreMenuResolvedPresentation, type MoreMenuSection, type MoreMenuSlots };
@@ -1,2 +1,2 @@
1
- import { _ as MultiSelectorSlots, a as MultiSelectorCreateChange, b as MultiSelectorTriggerDisplay, c as MultiSelectorHandle, d as MultiSelectorOptionData, f as MultiSelectorPresentation, g as MultiSelectorSize, h as MultiSelectorSelectedItem, i as MultiSelectorCheckboxPosition, l as MultiSelectorHandleRef, m as MultiSelectorSection, n as flattenOptions, o as MultiSelectorDivider, p as MultiSelectorProps, r as _default, s as MultiSelectorEmits, t as SELECT_ALL_VALUE, u as MultiSelectorOption, v as MultiSelectorStatus, x as MultiSelectorVariant, y as MultiSelectorStatusVariant } from "../index-85RFPeV0.js";
1
+ import { _ as MultiSelectorSlots, a as MultiSelectorCreateChange, b as MultiSelectorTriggerDisplay, c as MultiSelectorHandle, d as MultiSelectorOptionData, f as MultiSelectorPresentation, g as MultiSelectorSize, h as MultiSelectorSelectedItem, i as MultiSelectorCheckboxPosition, l as MultiSelectorHandleRef, m as MultiSelectorSection, n as flattenOptions, o as MultiSelectorDivider, p as MultiSelectorProps, r as _default, s as MultiSelectorEmits, t as SELECT_ALL_VALUE, u as MultiSelectorOption, v as MultiSelectorStatus, x as MultiSelectorVariant, y as MultiSelectorStatusVariant } from "../index-CULdl3Dg.js";
2
2
  export { _default as MultiSelector, type MultiSelectorCheckboxPosition, type MultiSelectorCreateChange, type MultiSelectorDivider, type MultiSelectorEmits, type MultiSelectorHandle, type MultiSelectorHandleRef, type MultiSelectorOption, type MultiSelectorOptionData, type MultiSelectorPresentation, type MultiSelectorProps, type MultiSelectorSection, type MultiSelectorSelectedItem, type MultiSelectorSize, type MultiSelectorSlots, type MultiSelectorStatus, type MultiSelectorStatusVariant, type MultiSelectorTriggerDisplay, type MultiSelectorVariant, SELECT_ALL_VALUE, flattenOptions };
@@ -1,2 +1,2 @@
1
- import { ai as NumberInputStatus, ii as NumberInputProps, ni as _default, ri as NumberInputEmits } from "../index-B95VIgRl.js";
1
+ import { ai as NumberInputProps, ii as NumberInputEmits, oi as NumberInputStatus, ri as _default } from "../index-t27MvEzT.js";
2
2
  export { _default as NumberInput, type NumberInputEmits, type NumberInputProps, type NumberInputStatus };
@@ -1,2 +1,2 @@
1
- import { t as _sfc_main } from "../NumberInput-BPeesTRv.js";
1
+ import { t as _sfc_main } from "../NumberInput-BsWTXomE.js";
2
2
  export { _sfc_main as NumberInput };
@@ -9,6 +9,7 @@ import { t as _sfc_main$5 } from "./FieldInfoTip-DzpUxMDh.js";
9
9
  import { a as useAstryxLocale, o as useComponentMessages } from "./context-B8IEFCDR.js";
10
10
  import { n as useNumberField, t as computeSteppedValue } from "./useNumberField-Dk1BE3-K.js";
11
11
  import { t as unicodeRegExp } from "./unicodeRegExp-B7yQnpFC.js";
12
+ import { n as toAsciiDigits, t as INVISIBLE_CHARS } from "./unicodeDigits-_BYIJcAu.js";
12
13
  import { i as useAriaRequired } from "./context-DsNhYm5O.js";
13
14
  import { t as _sfc_main$6 } from "./Field-BXkGR8H0.js";
14
15
  import { t as useFieldPartStyling } from "./fieldParts-CbWvZLhH.js";
@@ -51,33 +52,11 @@ function getLocaleNumberSymbols(locale) {
51
52
  }
52
53
  return symbols;
53
54
  }
54
- const DECIMAL_DIGIT = unicodeRegExp("\\p{Nd}");
55
55
  const CURRENCY = unicodeRegExp("\\p{Sc}");
56
- const INVISIBLES = /[\u200B-\u200D\u200E\u200F\u061C\u2066-\u2069\uFEFF]/g;
57
56
  const MINUS_SIGNS = "−‒–-";
58
57
  const NUMBER_BODY = new RegExp(`^[0-9,.' ’٫٬]+$`);
59
58
  /** 没有分组、最多一个句点,也就是 `Number()` 能直接读的样子。 */
60
59
  const MACHINE_NUMBER = /^(?:\d+(?:\.\d*)?|\.\d+)$/;
61
- /** 十进制数字的数值。每种数字从 0 起连续排,往回找到 0 即可。 */
62
- function digitValue(char) {
63
- const codePoint = char.codePointAt(0);
64
- if (codePoint == null) return null;
65
- for (let zero = codePoint; codePoint - zero < 10; zero--) if (!DECIMAL_DIGIT.test(String.fromCodePoint(zero - 1))) return codePoint - zero;
66
- return null;
67
- }
68
- function toAsciiDigits(text) {
69
- let out = "";
70
- for (const char of text) {
71
- if (!DECIMAL_DIGIT.test(char)) {
72
- out += char;
73
- continue;
74
- }
75
- const value = digitValue(char);
76
- if (value == null) return null;
77
- out += String(value);
78
- }
79
- return out;
80
- }
81
60
  /**
82
61
  * 按一种读法把数字和分隔符收成机器数字。不成组就返回 null。
83
62
  * `minGroups` 是至少要看到几个分组符,才相信它是分组而不是小数点。
@@ -141,7 +120,7 @@ function stripCurrency(text) {
141
120
  * 读不出就返回 null。`123-456-789` 不是数字。
142
121
  */
143
122
  function parseLocaleNumber(text, locale) {
144
- const normalized = toAsciiDigits(text.normalize("NFKC").replace(INVISIBLES, ""));
123
+ const normalized = toAsciiDigits(text.normalize("NFKC").replace(INVISIBLE_CHARS, ""));
145
124
  if (normalized == null) return null;
146
125
  let rest = normalized.trim();
147
126
  let sign = 1;
@@ -1,2 +1,2 @@
1
- import { $r as OverflowListEmits, Qr as OverflowListCollapsedItem, Zr as _default, ei as OverflowListItem, ti as OverflowListProps } from "../index-B95VIgRl.js";
1
+ import { $r as OverflowListCollapsedItem, Qr as _default, ei as OverflowListEmits, ni as OverflowListProps, ti as OverflowListItem } from "../index-t27MvEzT.js";
2
2
  export { _default as OverflowList, type OverflowListCollapsedItem, type OverflowListEmits, type OverflowListItem, type OverflowListProps };
@@ -1,2 +1,2 @@
1
- import { A as PowerSearchItem, C as PowerSearchEmits, D as PowerSearchFieldType, E as PowerSearchFieldDefinition, F as PowerSearchSlots, I as PowerSearchStatus, M as PowerSearchOverflow, N as PowerSearchProps, O as PowerSearchFilter, P as PowerSearchSize, S as PowerSearchConfig, T as PowerSearchField, _ as FilterValue, a as usePowerSearchConfig, b as PowerSearchChangeType, c as resolveOperatorLabel, d as formatFilterValue, f as completePowerSearchFilter, g as DateTimeRangePart, h as DateTimeRange, i as createPowerSearchConfig, j as PowerSearchOperator, k as PowerSearchHandle, l as formatDateAbsolute, m as createPowerSearchLookup, n as InferPowerSearchData, o as _default, p as PowerSearchLookup, r as applyPowerSearchFilters, s as resolveEditorPlacement, t as searchPowerSearchFields, u as formatDateAbsoluteCompact, v as OperatorValue, w as PowerSearchEntity, x as PowerSearchComponents, y as PartialFilter } from "../index-B0iRA00v.js";
1
+ import { A as PowerSearchItem, C as PowerSearchEmits, D as PowerSearchFieldType, E as PowerSearchFieldDefinition, F as PowerSearchSlots, I as PowerSearchStatus, M as PowerSearchOverflow, N as PowerSearchProps, O as PowerSearchFilter, P as PowerSearchSize, S as PowerSearchConfig, T as PowerSearchField, _ as FilterValue, a as usePowerSearchConfig, b as PowerSearchChangeType, c as resolveOperatorLabel, d as formatFilterValue, f as completePowerSearchFilter, g as DateTimeRangePart, h as DateTimeRange, i as createPowerSearchConfig, j as PowerSearchOperator, k as PowerSearchHandle, l as formatDateAbsolute, m as createPowerSearchLookup, n as InferPowerSearchData, o as _default, p as PowerSearchLookup, r as applyPowerSearchFilters, s as resolveEditorPlacement, t as searchPowerSearchFields, u as formatDateAbsoluteCompact, v as OperatorValue, w as PowerSearchEntity, x as PowerSearchComponents, y as PartialFilter } from "../index-BapQGST1.js";
2
2
  export { type DateTimeRange, type DateTimeRangePart, type FilterValue, type InferPowerSearchData, type OperatorValue, type PartialFilter, _default as PowerSearch, type PowerSearchChangeType, type PowerSearchComponents, type PowerSearchConfig, type PowerSearchEmits, type PowerSearchEntity, type PowerSearchField, type PowerSearchFieldDefinition, type PowerSearchFieldType, type PowerSearchFilter, type PowerSearchHandle, type PowerSearchItem, type PowerSearchLookup, type PowerSearchOperator, type PowerSearchOverflow, type PowerSearchProps, type PowerSearchSize, type PowerSearchSlots, type PowerSearchStatus, applyPowerSearchFilters, completePowerSearchFilter, createPowerSearchConfig, createPowerSearchLookup, formatDateAbsolute, formatDateAbsoluteCompact, formatFilterValue, resolveEditorPlacement, resolveOperatorLabel, searchPowerSearchFields, usePowerSearchConfig };
@@ -1,2 +1,2 @@
1
- import { a as searchPowerSearchFields, c as formatDateAbsolute, d as createPowerSearchLookup, f as completePowerSearchFilter, i as _sfc_main, l as formatDateAbsoluteCompact, n as createPowerSearchConfig, o as resolveEditorPlacement, r as usePowerSearchConfig, s as resolveOperatorLabel, t as applyPowerSearchFilters, u as formatFilterValue } from "../PowerSearch-BAOqpQag.js";
1
+ import { a as searchPowerSearchFields, c as formatDateAbsolute, d as createPowerSearchLookup, f as completePowerSearchFilter, i as _sfc_main, l as formatDateAbsoluteCompact, n as createPowerSearchConfig, o as resolveEditorPlacement, r as usePowerSearchConfig, s as resolveOperatorLabel, t as applyPowerSearchFilters, u as formatFilterValue } from "../PowerSearch-CDEn08Pe.js";
2
2
  export { _sfc_main as PowerSearch, applyPowerSearchFilters, completePowerSearchFilter, createPowerSearchConfig, createPowerSearchLookup, formatDateAbsolute, formatDateAbsoluteCompact, formatFilterValue, resolveEditorPlacement, resolveOperatorLabel, searchPowerSearchFields, usePowerSearchConfig };
@@ -13,19 +13,19 @@ import { t as _sfc_main$7 } from "./Tooltip-DQipgW1R.js";
13
13
  import { t as useScrollbars } from "./useScrollbars-Ch0xqJWO.js";
14
14
  import { t as _sfc_main$8 } from "./Field-BXkGR8H0.js";
15
15
  import { t as useFieldPartStyling } from "./fieldParts-CbWvZLhH.js";
16
- import { t as _sfc_main$9 } from "./DateInput-BitZfGEY.js";
17
- import { l as powerSearchMessages } from "./loadCatalog-C1kms5sO.js";
18
- import { t as _sfc_main$10 } from "./DateRangeInput-kxXBsUTU.js";
19
- import { t as _sfc_main$11 } from "./DateTimeInput-Cfkuec_h.js";
16
+ import { t as _sfc_main$9 } from "./DateInput-s2H0orUW.js";
17
+ import { l as powerSearchMessages } from "./loadCatalog-DsEKSY3U.js";
18
+ import { t as _sfc_main$10 } from "./DateRangeInput-Dn9I2PMM.js";
19
+ import { t as _sfc_main$11 } from "./DateTimeInput-BR_tdURg.js";
20
20
  import { n as tokenNamingKey, t as _sfc_main$12 } from "./Token-jBbgdevV.js";
21
21
  import { n as scrollOptionIntoView, r as useAnchoredListbox } from "./stillPointerGate-0vdn-hSa.js";
22
22
  import { t as _sfc_main$13 } from "./MultiSelector-BK6nZweN.js";
23
- import { n as resolveNumberInputCommit, t as _sfc_main$14 } from "./NumberInput-BPeesTRv.js";
23
+ import { n as resolveNumberInputCommit, t as _sfc_main$14 } from "./NumberInput-BsWTXomE.js";
24
24
  import { t as _sfc_main$15 } from "./Selector-Bo7qkt1P.js";
25
25
  import { o as useTypeaheadMenu } from "./useTypeaheadMenuConfig--4f7jR6G.js";
26
26
  import { n as useTokenRemoveTap, t as _sfc_main$16 } from "./Tokenizer-CsFiYUJ_.js";
27
27
  import { t as _sfc_main$17 } from "./TextInput-_SIiqVOY.js";
28
- import { t as _sfc_main$18 } from "./TimeInput-8ASOMV3B.js";
28
+ import { t as _sfc_main$18 } from "./TimeInput-CkZfhhAr.js";
29
29
  import { t as _sfc_main$19 } from "./Typeahead--kEp21ut.js";
30
30
  import { Fragment, Teleport, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createSlots, createVNode, defineComponent, mergeProps, nextTick, normalizeClass, normalizeStyle, onMounted, openBlock, provide, ref, renderList, renderSlot, resolveComponent, resolveDynamicComponent, toDisplayString, unref, useAttrs, useId, useSlots, useTemplateRef, vShow, watch, withCtx, withDirectives, withModifiers } from "vue";
31
31
  import "../styles/layer.css";
@@ -1,2 +1,2 @@
1
- import { Br as RadioGroupProps, Gr as RadioProps, Ir as _default$1, Jr as RadioStatus, Kr as RadioSize, Lr as _default, Rr as RadioChangeEvent, Ur as RadioOption, Vr as RadioGroupSlots, Wr as RadioOrientation, Xr as RadioValue, Yr as RadioStatusType, qr as RadioSlots, zr as RadioGroupEmits } from "../index-B95VIgRl.js";
1
+ import { Br as RadioGroupEmits, Gr as RadioOrientation, Hr as RadioGroupSlots, Jr as RadioSlots, Kr as RadioProps, Lr as _default$1, Rr as _default, Vr as RadioGroupProps, Wr as RadioOption, Xr as RadioStatusType, Yr as RadioStatus, Zr as RadioValue, qr as RadioSize, zr as RadioChangeEvent } from "../index-t27MvEzT.js";
2
2
  export { _default as Radio, type RadioChangeEvent, _default$1 as RadioGroup, type RadioGroupEmits, type RadioGroupProps, type RadioGroupSlots, type RadioOption, type RadioOrientation, type RadioProps, type RadioSize, type RadioSlots, type RadioStatus, type RadioStatusType, type RadioValue };
@@ -1,2 +1,2 @@
1
- import { Fr as _default, Hr as RadioListProps, Nr as _default$1, Pr as RadioListItemProps } from "../index-B95VIgRl.js";
1
+ import { Fr as RadioListItemProps, Ir as _default, Pr as _default$1, Ur as RadioListProps } from "../index-t27MvEzT.js";
2
2
  export { _default as RadioList, _default$1 as RadioListItem, type RadioListItemProps, type RadioListProps };
@@ -1,2 +1,2 @@
1
- import { Ar as _default, Mr as ScrollableAreaSlots, jr as ScrollableAreaProps } from "../index-B95VIgRl.js";
1
+ import { Mr as ScrollableAreaProps, Nr as ScrollableAreaSlots, jr as _default } from "../index-t27MvEzT.js";
2
2
  export { _default as ScrollableArea, type ScrollableAreaProps, type ScrollableAreaSlots };
@@ -1,2 +1,2 @@
1
- import { Dr as SelectableCardEmits, Er as _default, Or as SelectableCardProps, kr as SelectableCardSlots } from "../index-B95VIgRl.js";
1
+ import { Ar as SelectableCardSlots, Dr as _default, Or as SelectableCardEmits, kr as SelectableCardProps } from "../index-t27MvEzT.js";
2
2
  export { _default as SelectableCard, _default as default, type SelectableCardEmits, type SelectableCardProps, type SelectableCardSlots };
@@ -1,2 +1,2 @@
1
- import { a as SelectorOption, c as SelectorProps, d as SelectorSlots, f as SelectorStatus, h as SelectorVariant, i as SelectorIndicatorPosition, l as SelectorSection, m as SelectorStatusVariant, n as SelectorEmits, o as SelectorOptionInput, p as SelectorStatusInput, r as SelectorEntry, s as SelectorPresentation, t as _default, u as SelectorSize } from "../index-DK0Wdo9N.js";
1
+ import { a as SelectorOption, c as SelectorProps, d as SelectorSlots, f as SelectorStatus, h as SelectorVariant, i as SelectorIndicatorPosition, l as SelectorSection, m as SelectorStatusVariant, n as SelectorEmits, o as SelectorOptionInput, p as SelectorStatusInput, r as SelectorEntry, s as SelectorPresentation, t as _default, u as SelectorSize } from "../index-C9OzEvE_.js";
2
2
  export { _default as Selector, type SelectorEmits, type SelectorEntry, type SelectorIndicatorPosition, type SelectorOption, type SelectorOptionInput, type SelectorPresentation, type SelectorProps, type SelectorSection, type SelectorSize, type SelectorSlots, type SelectorStatus, type SelectorStatusInput, type SelectorStatusVariant, type SelectorVariant };
@@ -1,2 +1,2 @@
1
- import { Cr as SideNavSectionProps, Sr as SideNavResizable, Tr as useSideNavCollapse, _r as SideNavHandle, br as SideNavItemProps, cr as _default$2, dr as SideNavCollapseButtonProps, fr as SideNavCollapseButtonSize, gr as SideNavEmits, hr as SideNavControlledCollapsible, lr as _default$1, mr as SideNavCollapsible, or as _default$4, pr as SideNavCollapseButtonSlots, sr as _default$3, ur as _default, vr as SideNavHeadingProps, wr as SideNavCollapseContext, xr as SideNavProps, yr as SideNavItemEmits } from "../index-B95VIgRl.js";
1
+ import { Cr as SideNavResizable, Er as useSideNavCollapse, Sr as SideNavProps, Tr as SideNavCollapseContext, _r as SideNavEmits, br as SideNavItemEmits, cr as _default$3, dr as _default, fr as SideNavCollapseButtonProps, gr as SideNavControlledCollapsible, hr as SideNavCollapsible, lr as _default$2, mr as SideNavCollapseButtonSlots, pr as SideNavCollapseButtonSize, sr as _default$4, ur as _default$1, vr as SideNavHandle, wr as SideNavSectionProps, xr as SideNavItemProps, yr as SideNavHeadingProps } from "../index-t27MvEzT.js";
2
2
  export { _default as SideNav, _default$1 as SideNavCollapseButton, type SideNavCollapseButtonProps, type SideNavCollapseButtonSize, type SideNavCollapseButtonSlots, type SideNavCollapseContext, type SideNavCollapsible, type SideNavControlledCollapsible, type SideNavEmits, type SideNavHandle, _default$2 as SideNavHeading, type SideNavHeadingProps, _default$3 as SideNavItem, type SideNavItemEmits, type SideNavItemProps, type SideNavProps, type SideNavResizable, _default$4 as SideNavSection, type SideNavSectionProps, useSideNavCollapse };
@@ -1,2 +1,2 @@
1
- import { $n as SwitchLabelPosition, Qn as SwitchEmits, Xn as SwitchChangeAction, Yn as _default, Zn as SwitchChangeEvent, ar as SwitchStatusType, er as SwitchLabelSpacing, ir as SwitchStatus, nr as SwitchSize, rr as SwitchSlots, tr as SwitchProps } from "../index-B95VIgRl.js";
1
+ import { $n as SwitchEmits, Qn as SwitchChangeEvent, Xn as _default, Zn as SwitchChangeAction, ar as SwitchStatus, er as SwitchLabelPosition, ir as SwitchSlots, nr as SwitchProps, or as SwitchStatusType, rr as SwitchSize, tr as SwitchLabelSpacing } from "../index-t27MvEzT.js";
2
2
  export { _default as Switch, type SwitchChangeAction, type SwitchChangeEvent, type SwitchEmits, type SwitchLabelPosition, type SwitchLabelSpacing, type SwitchProps, type SwitchSize, type SwitchSlots, type SwitchStatus, type SwitchStatusType };
@@ -1,3 +1,3 @@
1
- import { $t as TableCustomRowStatus, An as useTableColumnSettingsState, At as _default$4, Bn as capitalize, Bt as UseTableTreeDataConfig, Cn as applyTableFilters, Dn as TableColumnSettingsState, Dt as _default$7, En as ColumnSettingsOption, Fn as columnResizeMinWidth, Ft as UseTableColumnsVirtualizationConfig, Gn as proportional, Gt as StickySide, Hn as generateColumns, Ht as flattenTree, In as columnResizeStep, It as UseTableRowsVirtualizationConfig, Jn as sortRows, Jt as stickyOffsets, Kn as resolveColumnFloorWidths, Kt as UseTableStickyColumnsConfig, Ln as isProportionalColumnWidth, Lt as useTableColumnsVirtualization, Mn as ColumnResizeSnapshot, Mt as _default$2, Nn as UseTableColumnResizeConfig, Nt as _default$1, On as UseTableColumnSettingsConfig, Ot as _default$6, Pn as columnResizeDirectionSign, Pt as _default, Qt as useTableSortableState, Rn as resizeColumnWidths, Rt as useTableRowsVirtualization, Sn as UseTableFilteringConfig, Tn as useTableFiltering, Un as paginateData, Ut as useTableTreeData, Vn as cellText, Vt as UseTableTreeStateConfig, Wn as pixel, Wt as useTableTreeState, Xt as UseTableSortableConfig, Yt as useTableStickyColumns, Zt as useTableSortable, _n as buildGroupedRows, an as useTableRowStatus, bn as TableFilterStateHandle, cn as UseTableRowExpansionConfig, dn as UseTablePaginationConfig, en as TableRowStatus, fn as useTablePagination, gn as UseTableGroupedRowsConfig, hn as useTableInfiniteScroll, in as UseTableRowStatusConfig, jn as ColumnResizePlan, jt as _default$3, kn as useTableColumnSettings, kt as _default$5, ln as useTableRowExpansion, mn as UseTableInfiniteScrollConfig, nn as TableRowStatusName, on as UseTableRowIndexConfig, pn as isInteractiveRowClick, qn as resolveColumnWidths, qt as resolveStickySide, rn as TableSemanticRowStatus, sn as useTableRowIndex, tn as TableRowStatusColor, un as TablePaginationVariant, vn as isTableGroupHeader, wn as useTableFilterState, xn as UseTableFilterStateOptions, yn as useTableGroupedRows, zn as useTableColumnResize, zt as TableTreeRowMeta } from "../index-B95VIgRl.js";
1
+ import { $t as useTableSortableState, An as useTableColumnSettings, At as _default$5, Bn as useTableColumnResize, Bt as TableTreeRowMeta, Cn as UseTableFilteringConfig, Dn as ColumnSettingsOption, En as useTableFiltering, Fn as columnResizeDirectionSign, Ft as _default, Gn as pixel, Gt as useTableTreeState, Hn as cellText, Ht as UseTableTreeStateConfig, In as columnResizeMinWidth, It as UseTableColumnsVirtualizationConfig, Jn as resolveColumnWidths, Jt as resolveStickySide, Kn as proportional, Kt as StickySide, Ln as columnResizeStep, Lt as UseTableRowsVirtualizationConfig, Mn as ColumnResizePlan, Mt as _default$3, Nn as ColumnResizeSnapshot, Nt as _default$2, On as TableColumnSettingsState, Ot as _default$7, Pn as UseTableColumnResizeConfig, Pt as _default$1, Qt as useTableSortable, Rn as isProportionalColumnWidth, Rt as useTableColumnsVirtualization, Sn as UseTableFilterStateOptions, Tn as useTableFilterState, Un as generateColumns, Ut as flattenTree, Vn as capitalize, Vt as UseTableTreeDataConfig, Wn as paginateData, Wt as useTableTreeData, Xt as useTableStickyColumns, Yn as sortRows, Yt as stickyOffsets, Zt as UseTableSortableConfig, _n as UseTableGroupedRowsConfig, an as UseTableRowStatusConfig, bn as useTableGroupedRows, cn as useTableRowIndex, dn as TablePaginationVariant, en as TableCustomRowStatus, fn as UseTablePaginationConfig, gn as useTableInfiniteScroll, hn as UseTableInfiniteScrollConfig, in as TableSemanticRowStatus, jn as useTableColumnSettingsState, jt as _default$4, kn as UseTableColumnSettingsConfig, kt as _default$6, ln as UseTableRowExpansionConfig, mn as isInteractiveRowClick, nn as TableRowStatusColor, on as useTableRowStatus, pn as useTablePagination, qn as resolveColumnFloorWidths, qt as UseTableStickyColumnsConfig, rn as TableRowStatusName, sn as UseTableRowIndexConfig, tn as TableRowStatus, un as useTableRowExpansion, vn as buildGroupedRows, wn as applyTableFilters, xn as TableFilterStateHandle, yn as isTableGroupHeader, zn as resizeColumnWidths, zt as useTableRowsVirtualization } from "../index-t27MvEzT.js";
2
2
  import { $ as useTableSelectionState, A as TableLoadingState, B as TableSelectionToolbarSlots, C as TableFilterField, D as TableFilterVariant, E as TableFilterValue, F as TableRowMenuItem, G as TableTextOverflow, H as TableSortDirection, I as TableRowModel, J as TableSelectedKeysSetter, K as TableVerticalAlign, L as TableRowPatch, M as TablePlugin, N as TableProps, O as TableGroupPatch, P as TableRowListeners, Q as useTableSelection, R as TableRowProps, S as TableDividers, T as TableFilterState, U as TableSortEntry, W as TableSortState, X as UseTableSelectionConfig, Y as TableSelectionState, Z as UseTableSelectionStateConfig, _ as TableCellProps, b as TableColumnResizeContribution, g as TableCellPatch, h as ProportionalWidth, j as TablePanelPatch, k as TableHeaderPatch, m as PixelWidth, p as ColumnWidth, q as TableVirtualizationContribution, v as TableColumn, w as TableFilterFieldType, x as TableDensity, y as TableColumnAlign, z as TableSelectionToolbarProps } from "../useResizable-CJd4JkbJ.js";
3
3
  export { type ColumnResizePlan, type ColumnResizeSnapshot, type ColumnSettingsOption, type ColumnWidth, type PixelWidth, type ProportionalWidth, type StickySide, _default as Table, _default$1 as TableBody, _default$2 as TableCell, type TableCellPatch, type TableCellProps, type TableColumn, type TableColumnAlign, type TableColumnResizeContribution, type TableColumnSettingsState, type TableCustomRowStatus, type TableDensity, type TableDividers, type TableFilterField, type TableFilterFieldType, type TableFilterState, type TableFilterStateHandle, type TableFilterValue, type TableFilterVariant, _default$3 as TableFooter, type TableGroupPatch, _default$4 as TableHeader, _default$5 as TableHeaderCell, type TableHeaderPatch, type TableLoadingState, type TablePaginationVariant, type TablePanelPatch, type TablePlugin, type TableProps, _default$6 as TableRow, type TableRowListeners, type TableRowMenuItem, type TableRowModel, type TableRowPatch, type TableRowProps, type TableRowStatus, type TableRowStatusColor, type TableRowStatusName, type TableSelectedKeysSetter, type TableSelectionState, _default$7 as TableSelectionToolbar, type TableSelectionToolbarProps, type TableSelectionToolbarSlots, type TableSemanticRowStatus, type TableSortDirection, type TableSortEntry, type TableSortState, type TableTextOverflow, type TableTreeRowMeta, type TableVerticalAlign, type TableVirtualizationContribution, type UseTableColumnResizeConfig, type UseTableColumnSettingsConfig, type UseTableColumnsVirtualizationConfig, type UseTableFilterStateOptions, type UseTableFilteringConfig, type UseTableGroupedRowsConfig, type UseTableInfiniteScrollConfig, type UseTablePaginationConfig, type UseTableRowExpansionConfig, type UseTableRowIndexConfig, type UseTableRowStatusConfig, type UseTableRowsVirtualizationConfig, type UseTableSelectionConfig, type UseTableSelectionStateConfig, type UseTableSortableConfig, type UseTableStickyColumnsConfig, type UseTableTreeDataConfig, type UseTableTreeStateConfig, applyTableFilters, buildGroupedRows, capitalize, cellText, columnResizeDirectionSign, columnResizeMinWidth, columnResizeStep, flattenTree, generateColumns, isInteractiveRowClick, isProportionalColumnWidth, isTableGroupHeader, paginateData, paginateData as paginateTableData, pixel, proportional, resizeColumnWidths, resolveColumnFloorWidths, resolveColumnWidths, resolveStickySide, sortRows, stickyOffsets, useTableColumnResize, useTableColumnSettings, useTableColumnSettingsState, useTableColumnsVirtualization, useTableFilterState, useTableFiltering, useTableGroupedRows, useTableInfiniteScroll, useTablePagination, useTableRowExpansion, useTableRowIndex, useTableRowStatus, useTableRowsVirtualization, useTableSelection, useTableSelectionState, useTableSortable, useTableSortableState, useTableStickyColumns, useTableTreeData, useTableTreeState };
@@ -1,2 +1,2 @@
1
- import { A as applyTableFilters, B as useTableColumnResize, C as useTableRowExpansion, D as buildGroupedRows, E as useTableInfiniteScroll, F as columnResizeDirectionSign, G as pixel, H as cellText, I as columnResizeMinWidth, J as resolveColumnWidths, K as proportional, L as columnResizeStep, M as useTableFiltering, N as useTableColumnSettings, O as isTableGroupHeader, P as useTableColumnSettingsState, R as isProportionalColumnWidth, S as useTableRowIndex, T as isInteractiveRowClick, U as generateColumns, V as capitalize, W as paginateData, Y as sortRows, _ as useTableSortable, a as _sfc_main$3, b as useTableSelectionState, c as _sfc_main, d as flattenTree, f as useTableTreeData, g as useTableStickyColumns, h as stickyOffsets, i as _sfc_main$4, j as useTableFilterState, k as useTableGroupedRows, l as useTableColumnsVirtualization, m as resolveStickySide, n as _sfc_main$6, o as _sfc_main$2, p as useTableTreeState, q as resolveColumnFloorWidths, r as _sfc_main$5, s as _sfc_main$1, t as _sfc_main$7, u as useTableRowsVirtualization, v as useTableSortableState, w as useTablePagination, x as useTableRowStatus, y as useTableSelection, z as resizeColumnWidths } from "../Table-CRKljXg4.js";
1
+ import { A as applyTableFilters, B as useTableColumnResize, C as useTableRowExpansion, D as buildGroupedRows, E as useTableInfiniteScroll, F as columnResizeDirectionSign, G as pixel, H as cellText, I as columnResizeMinWidth, J as resolveColumnWidths, K as proportional, L as columnResizeStep, M as useTableFiltering, N as useTableColumnSettings, O as isTableGroupHeader, P as useTableColumnSettingsState, R as isProportionalColumnWidth, S as useTableRowIndex, T as isInteractiveRowClick, U as generateColumns, V as capitalize, W as paginateData, Y as sortRows, _ as useTableSortable, a as _sfc_main$3, b as useTableSelectionState, c as _sfc_main, d as flattenTree, f as useTableTreeData, g as useTableStickyColumns, h as stickyOffsets, i as _sfc_main$4, j as useTableFilterState, k as useTableGroupedRows, l as useTableColumnsVirtualization, m as resolveStickySide, n as _sfc_main$6, o as _sfc_main$2, p as useTableTreeState, q as resolveColumnFloorWidths, r as _sfc_main$5, s as _sfc_main$1, t as _sfc_main$7, u as useTableRowsVirtualization, v as useTableSortableState, w as useTablePagination, x as useTableRowStatus, y as useTableSelection, z as resizeColumnWidths } from "../Table-WukSceMV.js";
2
2
  export { _sfc_main as Table, _sfc_main$1 as TableBody, _sfc_main$2 as TableCell, _sfc_main$3 as TableFooter, _sfc_main$4 as TableHeader, _sfc_main$5 as TableHeaderCell, _sfc_main$6 as TableRow, _sfc_main$7 as TableSelectionToolbar, applyTableFilters, buildGroupedRows, capitalize, cellText, columnResizeDirectionSign, columnResizeMinWidth, columnResizeStep, flattenTree, generateColumns, isInteractiveRowClick, isProportionalColumnWidth, isTableGroupHeader, paginateData, paginateData as paginateTableData, pixel, proportional, resizeColumnWidths, resolveColumnFloorWidths, resolveColumnWidths, resolveStickySide, sortRows, stickyOffsets, useTableColumnResize, useTableColumnSettings, useTableColumnSettingsState, useTableColumnsVirtualization, useTableFilterState, useTableFiltering, useTableGroupedRows, useTableInfiniteScroll, useTablePagination, useTableRowExpansion, useTableRowIndex, useTableRowStatus, useTableRowsVirtualization, useTableSelection, useTableSelectionState, useTableSortable, useTableSortableState, useTableStickyColumns, useTableTreeData, useTableTreeState };