@astryx-vue/core 0.2.0 → 0.2.2

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 (225) hide show
  1. package/dist/AppShell/index.js +1 -1
  2. package/dist/{AppShell-EiGyPFbA.js → AppShell-Cb41gIAj.js} +2 -2
  3. package/dist/Avatar/index.d.ts +1 -1
  4. package/dist/Avatar/index.js +1 -1
  5. package/dist/Avatar-jmHInHwj.js +244 -0
  6. package/dist/AvatarGroup/index.d.ts +1 -1
  7. package/dist/AvatarGroup/index.js +1 -1
  8. package/dist/{AvatarGroup-CZcgAMjM.js → AvatarGroup-QyzSrpYA.js} +8 -7
  9. package/dist/Badge/index.d.ts +2 -1
  10. package/dist/Badge/index.js +1 -1
  11. package/dist/Badge-CjDQPF5g.js +30 -0
  12. package/dist/Banner/index.d.ts +1 -1
  13. package/dist/Breadcrumbs/index.d.ts +2 -2
  14. package/dist/Breadcrumbs/index.js +1 -1
  15. package/dist/{Breadcrumbs-C3YZFQ9w.js → Breadcrumbs-CTQ7fjDn.js} +45 -11
  16. package/dist/ButtonGroup/index.d.ts +1 -1
  17. package/dist/Calendar/index.d.ts +2 -2
  18. package/dist/Calendar/index.js +1 -1
  19. package/dist/Calendar-BFaI5AMv.js +352 -0
  20. package/dist/Card/index.d.ts +1 -1
  21. package/dist/Carousel/index.js +1 -1
  22. package/dist/{Carousel-BTtHkKea.js → Carousel-X0cuQkvg.js} +2 -2
  23. package/dist/Chat/index.d.ts +2 -2
  24. package/dist/Chat/index.js +2 -2
  25. package/dist/Chat-M0tiGrNT.js +3148 -0
  26. package/dist/CheckboxInput/index.d.ts +1 -1
  27. package/dist/CheckboxList/index.d.ts +1 -1
  28. package/dist/CheckboxList/index.js +1 -1
  29. package/dist/Citation/index.js +1 -1
  30. package/dist/{Citation-DijdbUUu.js → Citation-C1veUk5p.js} +2 -2
  31. package/dist/ClickableCard/index.d.ts +1 -1
  32. package/dist/Code/index.js +1 -1
  33. package/dist/{CodeBlock-CxTb6j9_.js → CodeBlock-DesTJAkm.js} +1 -1
  34. package/dist/Collapsible/index.js +1 -1
  35. package/dist/{Collapsible-9MC08X39.js → Collapsible-BestK35V.js} +1 -1
  36. package/dist/CommandPalette/index.js +1 -1
  37. package/dist/{CommandPalette-BD2iODF5.js → CommandPalette-BArt97V8.js} +1 -1
  38. package/dist/ComplexSelector/index.d.ts +1 -1
  39. package/dist/ComplexSelector/index.js +1 -1
  40. package/dist/{ComplexSelector-D9iXd5cH.js → ComplexSelector-CAoig1RK.js} +2 -2
  41. package/dist/ContextMenu/index.d.ts +2 -2
  42. package/dist/ContextMenu/index.js +1 -1
  43. package/dist/{ContextMenu-HS_WqYIg.js → ContextMenu-9Im6i43E.js} +101 -63
  44. package/dist/DateInput/index.d.ts +2 -2
  45. package/dist/DateInput/index.js +1 -1
  46. package/dist/DateInput-BLocxqC3.js +376 -0
  47. package/dist/DateRangeInput/index.d.ts +1 -1
  48. package/dist/DateRangeInput/index.js +1 -1
  49. package/dist/{DateRangeInput-1bhPGG2s.js → DateRangeInput-DwDy3eRo.js} +2 -2
  50. package/dist/DateTimeInput/index.d.ts +1 -1
  51. package/dist/DateTimeInput/index.js +1 -1
  52. package/dist/{DateTimeInput-SnPdgk6P.js → DateTimeInput-BYiaC9bn.js} +5 -3
  53. package/dist/DropdownMenu/index.d.ts +3 -2
  54. package/dist/DropdownMenu/index.js +3 -2
  55. package/dist/DropdownMenu-Ddfr-aEC.js +164 -0
  56. package/dist/{DropdownMenu-UJGych6v.js → DropdownMenu-Dh-WAHKb.js} +63 -16
  57. package/dist/FileInput/index.d.ts +1 -1
  58. package/dist/FileInput/index.js +1 -1
  59. package/dist/{FileInput-BQiwE-GB.js → FileInput-DLO6V12n.js} +2 -2
  60. package/dist/Icon/index.d.ts +4 -3
  61. package/dist/Icon/index.js +3 -2
  62. package/dist/Icon/plugin.d.ts +45 -0
  63. package/dist/Icon/plugin.js +177 -0
  64. package/dist/Icon-CJKjdJy-.js +198 -0
  65. package/dist/Lightbox/index.js +1 -1
  66. package/dist/{Lightbox-CshKoB0r.js → Lightbox-CdFCS_EA.js} +2 -2
  67. package/dist/Link/index.d.ts +1 -1
  68. package/dist/Link/index.js +1 -1
  69. package/dist/Link-DqdQZ37C.js +141 -0
  70. package/dist/Markdown/index.js +1 -1
  71. package/dist/{Markdown-D-Ua055V.js → Markdown-BqKloI3w.js} +3 -3
  72. package/dist/MetadataList/index.js +1 -1
  73. package/dist/{MetadataList-sYph_d8Q.js → MetadataList-CvZkmisf.js} +1 -1
  74. package/dist/MobileNav/index.js +1 -1
  75. package/dist/{MobileNavToggle-DD9D01aj.js → MobileNavToggle-Bwi0qXXM.js} +1 -1
  76. package/dist/MoreMenu/index.d.ts +1 -1
  77. package/dist/MoreMenu/index.js +1 -1
  78. package/dist/{MoreMenu-BVrK5kkk.js → MoreMenu-BwJaJrkB.js} +2 -2
  79. package/dist/MultiSelector/index.js +1 -1
  80. package/dist/{MultiSelector-DiYov9sF.js → MultiSelector-C-ETfFy_.js} +2 -2
  81. package/dist/NumberInput/index.d.ts +2 -2
  82. package/dist/NumberInput/index.js +1 -1
  83. package/dist/NumberInput-DjetVB8O.js +210 -0
  84. package/dist/Outline/index.js +1 -1
  85. package/dist/{Outline-DQfEBxlc.js → Outline-Bz9c-u5y.js} +1 -1
  86. package/dist/OverflowList/index.d.ts +1 -1
  87. package/dist/OverflowList/index.js +1 -1
  88. package/dist/{OverflowList-BU5VCntl.js → OverflowList-ED-KN9Y5.js} +1 -1
  89. package/dist/Overlay/index.d.ts +1 -1
  90. package/dist/Pagination/index.d.ts +2 -2
  91. package/dist/Pagination/index.js +1 -1
  92. package/dist/{Pagination-HdhtykeF.js → Pagination-Cb66HMEf.js} +76 -22
  93. package/dist/PowerSearch/index.d.ts +2 -0
  94. package/dist/PowerSearch/index.js +2 -0
  95. package/dist/PowerSearch-CjU8y4mi.js +2386 -0
  96. package/dist/ProgressBar/index.d.ts +1 -1
  97. package/dist/ProgressBar/index.js +1 -1
  98. package/dist/{ProgressBar-ChDp-7oe.js → ProgressBar-DO9Chic6.js} +31 -11
  99. package/dist/Radio/index.d.ts +1 -1
  100. package/dist/RadioList/index.d.ts +1 -1
  101. package/dist/Resizable/index.d.ts +1 -1
  102. package/dist/Resizable/index.js +1 -1
  103. package/dist/{Resizable-BhSMfO5B.js → Resizable-D-TBCg0Y.js} +1 -1
  104. package/dist/ScrollableArea/index.d.ts +1 -1
  105. package/dist/SelectableCard/index.d.ts +1 -1
  106. package/dist/Selector/index.d.ts +2 -2
  107. package/dist/Selector/index.js +1 -1
  108. package/dist/Selector-DE2IEFML.js +468 -0
  109. package/dist/SideNav/index.d.ts +1 -1
  110. package/dist/SideNav/index.js +1 -1
  111. package/dist/{SideNav-B-Om6Bz3.js → SideNav-DonEfiAx.js} +17 -17
  112. package/dist/Stepper/index.js +1 -1
  113. package/dist/{Stepper-BZ_8SEZt.js → Stepper-D2ZIcUNx.js} +1 -1
  114. package/dist/Switch/index.d.ts +1 -1
  115. package/dist/TabList/index.d.ts +1 -1
  116. package/dist/TabList/index.js +1 -1
  117. package/dist/{TabList-Cnc2Hs1H.js → TabList-D3F-stq-.js} +10 -3
  118. package/dist/Table/index.d.ts +3 -3
  119. package/dist/Table/index.js +2 -2
  120. package/dist/Table-CrP2Uffq.js +1982 -0
  121. package/dist/TextArea/index.d.ts +1 -1
  122. package/dist/TextArea/index.js +1 -1
  123. package/dist/{TextArea-Cv9UVbzS.js → TextArea-CPwSytdO.js} +12 -6
  124. package/dist/TextInput/index.d.ts +1 -1
  125. package/dist/Thumbnail/index.js +1 -1
  126. package/dist/{Thumbnail-Dc1UpykG.js → Thumbnail-BC5JGPGZ.js} +11 -11
  127. package/dist/{TimeField-C7t9Knq9.js → TimeField-DpHFrNv0.js} +2 -2
  128. package/dist/TimeInput/index.d.ts +1 -1
  129. package/dist/TimeInput/index.js +1 -1
  130. package/dist/{TimeInput-BXxCOY98.js → TimeInput-DJLV0_4z.js} +1 -1
  131. package/dist/Timestamp/index.d.ts +1 -1
  132. package/dist/Timestamp/index.js +2 -1
  133. package/dist/{Timestamp-DlZSmgCJ.js → Timestamp-GKNjjt5g.js} +4 -121
  134. package/dist/Toast/index.d.ts +2 -2
  135. package/dist/Toast/index.js +1 -1
  136. package/dist/{Toast-BKXPvEMp.js → Toast-C2ML-bmi.js} +37 -7
  137. package/dist/ToggleButton/index.d.ts +1 -1
  138. package/dist/Token/index.js +1 -1
  139. package/dist/{Token-wt4e80IM.js → Token-Chu_eCVs.js} +1 -1
  140. package/dist/Tokenizer/index.js +1 -1
  141. package/dist/{Tokenizer-nmTqdS9n.js → Tokenizer-DRDpvQ_l.js} +3 -3
  142. package/dist/Toolbar/index.d.ts +1 -1
  143. package/dist/TopNav/index.d.ts +1 -1
  144. package/dist/TopNav/index.js +1 -1
  145. package/dist/{TopNav-notp-mJx.js → TopNav-CEyWddtA.js} +3 -3
  146. package/dist/TreeList/index.js +1 -1
  147. package/dist/{TreeList-s1xBQ0qq.js → TreeList-COS8US8e.js} +3 -3
  148. package/dist/Typeahead/index.js +1 -1
  149. package/dist/{Typeahead-VAuiCurV.js → Typeahead-P7cCqtaQ.js} +3 -3
  150. package/dist/{useTypeaheadMenu-Ba7XpcZl.js → TypeaheadMenu-CGvo0Tud.js} +107 -107
  151. package/dist/composables/index.d.ts +3 -3
  152. package/dist/{context-Dbo22sck.js → context-CiKncNSH.js} +184 -6
  153. package/dist/formatInstant-BDWUIxS7.js +119 -0
  154. package/dist/{index-SMh42NI8.d.ts → index-B1TG2GPS.d.ts} +2 -2
  155. package/dist/{index-DRmb-oUa.d.ts → index-B9WzWqzk.d.ts} +3 -29
  156. package/dist/{index-BuubzuE8.d.ts → index-BDZCJ9ri.d.ts} +2 -2
  157. package/dist/{index-z4p2k9VR.d.ts → index-Bgv4ZmBl.d.ts} +20 -2
  158. package/dist/{index-BoRIw-bP.d.ts → index-Bt7ewoz2.d.ts} +32 -2
  159. package/dist/{index-uQrLBZfF.d.ts → index-Bu3oXIIS.d.ts} +24 -0
  160. package/dist/index-CJlBAXwj.d.ts +100 -0
  161. package/dist/{index-DT9S92sh.d.ts → index-CNjbOgty.d.ts} +15 -0
  162. package/dist/{index-DXSs3rwa.d.ts → index-CngORuiq.d.ts} +137 -2
  163. package/dist/index-Cs5pcwY3.d.ts +416 -0
  164. package/dist/{index-NzLDrOkk.d.ts → index-D4I_obqR.d.ts} +14 -1
  165. package/dist/{index-BtPZKO20.d.ts → index-DGXviOlp.d.ts} +49 -7
  166. package/dist/{index-CTolyeii.d.ts → index-DN7MXPHM.d.ts} +15 -1
  167. package/dist/{index-C6iJwTL0.d.ts → index-DNRBbwp_.d.ts} +165 -55
  168. package/dist/{index-C59PdX9L.d.ts → index-DWH_HzXi.d.ts} +1 -1
  169. package/dist/{index-BfOtLyNH.d.ts → index-D_nYxnNv.d.ts} +1 -1
  170. package/dist/{index-Bn_odHQ9.d.ts → index-Dg3ZmwEg.d.ts} +12 -1
  171. package/dist/{index-BiMGXtD-.d.ts → index-DimuSES0.d.ts} +14 -1
  172. package/dist/{index-DEeJowZf.d.ts → index-cGagYM1g.d.ts} +15 -2
  173. package/dist/{index-Ck8qy6Rf.d.ts → index-c_TaW8mM.d.ts} +24 -2
  174. package/dist/index-kVhSuA9t.d.ts +902 -0
  175. package/dist/{index-1uRMrk63.d.ts → index-nCEmW6wa.d.ts} +1 -1
  176. package/dist/{index-DoFCm2Q2.d.ts → index-qiZtHnGK.d.ts} +26 -0
  177. package/dist/{index-Bainr_3n.d.ts → index-u5ozu0G7.d.ts} +2 -2
  178. package/dist/index.d.ts +79 -76
  179. package/dist/index.js +111 -100
  180. package/dist/locale/index.d.ts +1 -1
  181. package/dist/locale/index.js +1 -1
  182. package/dist/power-search-DrDfcoL1.d.ts +68 -0
  183. package/dist/registry-B1ObuP--.d.ts +45 -0
  184. package/dist/registry-C7OZb0PJ.js +135 -0
  185. package/dist/{types-JktRxujg.d.ts → types-Cp4liug-.d.ts} +66 -3
  186. package/dist/{index-B8MbfMwV.d.ts → types-DDAAT1Xd.d.ts} +36 -82
  187. package/dist/types-DIYwbkpe.d.ts +33 -0
  188. package/dist/{types-DZoEm_DG.d.ts → types-pnljWjEE.d.ts} +23 -6
  189. package/dist/{useResizable-CeESZS1v.d.ts → useResizable-CUoNPmUw.d.ts} +1 -1
  190. package/package.json +10 -1
  191. package/styles/avatar.css +14 -0
  192. package/styles/badge.css +8 -0
  193. package/styles/breadcrumbs.css +6 -1
  194. package/styles/button.css +13 -0
  195. package/styles/calendar.css +16 -0
  196. package/styles/card.css +2 -0
  197. package/styles/chat.css +474 -3
  198. package/styles/dropdown-menu.css +11 -0
  199. package/styles/icon.css +58 -8
  200. package/styles/link.css +5 -0
  201. package/styles/number-input.css +22 -0
  202. package/styles/pagination.css +45 -1
  203. package/styles/power-search.css +303 -0
  204. package/styles/progress-bar.css +4 -0
  205. package/styles/selector.css +58 -0
  206. package/styles/tab-list.css +15 -0
  207. package/styles/table.css +304 -1
  208. package/styles/text-area.css +17 -0
  209. package/styles/text-input.css +5 -0
  210. package/styles/toast.css +7 -0
  211. package/styles/toolbar.css +11 -0
  212. package/styles.css +1 -0
  213. package/dist/Avatar-5s3HSrtN.js +0 -136
  214. package/dist/Badge-Ba0EwsTj.js +0 -19
  215. package/dist/Calendar-BG7wEsro.js +0 -277
  216. package/dist/Chat-DjNxw5gv.js +0 -1051
  217. package/dist/DateInput-DE2TN1Rq.js +0 -250
  218. package/dist/Icon-Dfr4k6-S.js +0 -86
  219. package/dist/Link-CprjOuTI.js +0 -92
  220. package/dist/NumberInput-CTYiQxHq.js +0 -147
  221. package/dist/Selector-Da-2BO3q.js +0 -325
  222. package/dist/Table-D-LhAy_J.js +0 -967
  223. package/dist/index-DJo-BmXZ.d.ts +0 -431
  224. package/dist/index-DtjAdYEc.d.ts +0 -68
  225. package/dist/{CheckboxList-EsIEXjK_.js → CheckboxList-BbCPiend.js} +1 -1
@@ -0,0 +1,376 @@
1
+ import { t as useMediaQuery } from "./useMediaQuery-GMmgp28-.js";
2
+ import { a as useAstryxMessages, i as useAstryxLocale } from "./context-CiKncNSH.js";
3
+ import { t as _sfc_main$1 } from "./FieldIcon--NTgW5IU.js";
4
+ import { t as _sfc_main$2 } from "./BottomSheet-Dg95HB1s.js";
5
+ import { t as _sfc_main$3 } from "./Calendar-BFaI5AMv.js";
6
+ import { t as _sfc_main$4 } from "./Field-8zRxzDHE.js";
7
+ import { t as _sfc_main$5 } from "./Popover-Crhk9PNP.js";
8
+ import { t as formatInstant } from "./formatInstant-BDWUIxS7.js";
9
+ import { computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createVNode, defineComponent, guardReactiveProps, normalizeClass, normalizeProps, openBlock, ref, renderSlot, resolveDynamicComponent, useId, useTemplateRef, watch, withCtx } from "vue";
10
+ import "../styles/date-input.css";
11
+ //#region src/DateInput/DateInput.vue
12
+ const _hoisted_1 = ["data-status", "data-presentation"];
13
+ const _hoisted_2 = [
14
+ "data-disabled",
15
+ "data-size",
16
+ "data-status"
17
+ ];
18
+ const _hoisted_3 = {
19
+ key: 0,
20
+ class: "astryx-date-input-prefix"
21
+ };
22
+ const _hoisted_4 = ["disabled", "aria-label"];
23
+ const _hoisted_5 = [
24
+ "id",
25
+ "value",
26
+ "placeholder",
27
+ "disabled",
28
+ "readonly",
29
+ "inputmode",
30
+ "aria-label",
31
+ "aria-labelledby",
32
+ "aria-describedby",
33
+ "aria-invalid",
34
+ "aria-controls",
35
+ "aria-expanded",
36
+ "title"
37
+ ];
38
+ const _hoisted_6 = ["aria-label"];
39
+ const _hoisted_7 = {
40
+ key: 2,
41
+ class: "astryx-date-input-suffix"
42
+ };
43
+ const _hoisted_8 = ["id"];
44
+ const _hoisted_9 = ["id"];
45
+ const _hoisted_10 = ["name", "value"];
46
+ const TOUCH_POINTER_QUERY = "(pointer: coarse)";
47
+ const _sfc_main = /*@__PURE__*/ defineComponent({
48
+ name: "AstryxDateInput",
49
+ __name: "DateInput",
50
+ props: {
51
+ id: {},
52
+ describedBy: {},
53
+ modelValue: { default: null },
54
+ placeholder: {},
55
+ min: {},
56
+ max: {},
57
+ isDateDisabled: {},
58
+ name: {},
59
+ label: {},
60
+ description: {},
61
+ isLabelHidden: { type: Boolean },
62
+ disabled: {
63
+ type: Boolean,
64
+ default: false
65
+ },
66
+ disabledReason: {},
67
+ clearable: {
68
+ type: Boolean,
69
+ default: false
70
+ },
71
+ clearLabel: {},
72
+ size: { default: "md" },
73
+ status: {},
74
+ statusVariant: { default: "attached" },
75
+ format: {
76
+ type: [String, Function],
77
+ default: "date_long"
78
+ },
79
+ presentation: { default: "popover" }
80
+ },
81
+ emits: ["update:modelValue", "change"],
82
+ setup(__props, { emit: __emit }) {
83
+ const props = __props;
84
+ const emit = __emit;
85
+ const PassThrough = defineComponent({
86
+ name: "DateInputPassThrough",
87
+ setup(_, { slots }) {
88
+ return () => slots.default?.({});
89
+ }
90
+ });
91
+ const generatedId = `astryx-date-input-${useId()}`;
92
+ const inputId = computed(() => props.id ?? generatedId);
93
+ const popupId = computed(() => `${inputId.value}-popup`);
94
+ const messages = useAstryxMessages();
95
+ const locale = useAstryxLocale();
96
+ const isCoarsePointer = useMediaQuery(TOUCH_POINTER_QUERY);
97
+ const resolvedPlaceholder = computed(() => props.placeholder ?? messages.value.dateInput.placeholder);
98
+ const resolvedClearLabel = computed(() => props.clearLabel ?? messages.value.dateInput.clear(props.label));
99
+ const dialogLabel = computed(() => props.label || messages.value.dateInput.dialogLabel);
100
+ const inputRef = useTemplateRef("inputRef");
101
+ const isOpen = ref(false);
102
+ const inputValue = ref("");
103
+ const modelValueRef = computed({
104
+ get: () => props.modelValue,
105
+ set: (value) => {
106
+ emit("update:modelValue", value);
107
+ emit("change", value);
108
+ }
109
+ });
110
+ function toIso(date) {
111
+ return `${date.getFullYear()}-${String(date.getMonth() + 1).padStart(2, "0")}-${String(date.getDate()).padStart(2, "0")}`;
112
+ }
113
+ function formatCommitted(date) {
114
+ if (!date) return "";
115
+ const iso = toIso(date);
116
+ const format = props.format;
117
+ if (typeof format === "function") return format(iso);
118
+ if (format === "system_date") return iso;
119
+ return formatInstant(date, format, locale.value);
120
+ }
121
+ function parseDate(str) {
122
+ if (!str.trim()) return null;
123
+ const match = str.match(/^(\d{4})-(\d{1,2})-(\d{1,2})$/);
124
+ if (match) {
125
+ const [, year, month, day] = match;
126
+ const date = new Date(Number(year), Number(month) - 1, Number(day));
127
+ if (!Number.isNaN(date.getTime()) && date.getFullYear() === Number(year) && date.getMonth() === Number(month) - 1 && date.getDate() === Number(day)) return date;
128
+ }
129
+ return null;
130
+ }
131
+ function syncDisplayValue() {
132
+ inputValue.value = formatCommitted(props.modelValue);
133
+ }
134
+ watch(() => [
135
+ props.modelValue,
136
+ props.format,
137
+ locale.value
138
+ ], syncDisplayValue, { immediate: true });
139
+ function resolvedStatus(status) {
140
+ if (status == null || status === "default") return void 0;
141
+ if (typeof status === "string") return { type: status };
142
+ return status;
143
+ }
144
+ const statusValue = computed(() => resolvedStatus(props.status));
145
+ const statusType = computed(() => statusValue.value?.type);
146
+ const useSheet = computed(() => {
147
+ if (props.presentation === "bottom-sheet") return true;
148
+ if (props.presentation === "adaptive-bottom-sheet") return isCoarsePointer.value;
149
+ return false;
150
+ });
151
+ const showsField = computed(() => {
152
+ if (props.isLabelHidden && !props.description && !statusValue.value?.message) return false;
153
+ return Boolean(props.label || props.description || statusValue.value?.message);
154
+ });
155
+ const shell = computed(() => showsField.value ? _sfc_main$4 : PassThrough);
156
+ const fieldBindings = computed(() => showsField.value ? {
157
+ label: props.label ?? "",
158
+ inputId: inputId.value,
159
+ description: props.description,
160
+ isLabelHidden: props.isLabelHidden || !props.label,
161
+ isDisabled: props.disabled,
162
+ status: statusValue.value,
163
+ statusVariant: props.statusVariant
164
+ } : {});
165
+ const toggleLabel = computed(() => isOpen.value ? messages.value.dateInput.closeCalendar : messages.value.dateInput.openCalendar);
166
+ function describedBy(fieldIds) {
167
+ return [props.describedBy, fieldIds].filter(Boolean).join(" ") || void 0;
168
+ }
169
+ function onInput(event) {
170
+ if (useSheet.value) return;
171
+ const target = event.target;
172
+ const value = target.value.trim();
173
+ inputValue.value = target.value;
174
+ const parsed = parseDate(value);
175
+ if (parsed) modelValueRef.value = parsed;
176
+ }
177
+ function onBlur() {
178
+ if (!parseDate(inputValue.value.trim())) syncDisplayValue();
179
+ }
180
+ function onOpenChange(open) {
181
+ if (!useSheet.value) isOpen.value = open;
182
+ }
183
+ function openCalendar() {
184
+ if (!props.disabled) isOpen.value = true;
185
+ }
186
+ function onToggleClick() {
187
+ if (useSheet.value) openCalendar();
188
+ }
189
+ function onInputKeyDown(event) {
190
+ if (props.disabled || isOpen.value) return;
191
+ if (event.key === "ArrowDown" || event.altKey && event.key === "ArrowDown") {
192
+ event.preventDefault();
193
+ openCalendar();
194
+ }
195
+ }
196
+ function onCalendarChange(date) {
197
+ modelValueRef.value = date;
198
+ isOpen.value = false;
199
+ inputRef.value?.blur();
200
+ }
201
+ function onClear(event) {
202
+ event.stopPropagation();
203
+ modelValueRef.value = null;
204
+ inputValue.value = "";
205
+ isOpen.value = false;
206
+ }
207
+ syncDisplayValue();
208
+ return (_ctx, _cache) => {
209
+ return openBlock(), createBlock(resolveDynamicComponent(shell.value), normalizeProps(guardReactiveProps(fieldBindings.value)), {
210
+ default: withCtx((field) => [createElementVNode("div", {
211
+ class: normalizeClass(["astryx-date-input", [statusType.value ? `status-${statusType.value}` : void 0, `size-${props.size}`]]),
212
+ "data-status": statusType.value,
213
+ "data-presentation": useSheet.value ? "bottom-sheet" : "popover"
214
+ }, [
215
+ createVNode(_sfc_main$5, {
216
+ "is-open": useSheet.value ? false : isOpen.value,
217
+ "is-enabled": !useSheet.value && !props.disabled,
218
+ placement: "below",
219
+ alignment: "start",
220
+ padding: 0,
221
+ width: 248,
222
+ "has-close-button": false,
223
+ "is-modal": false,
224
+ "has-auto-focus": true,
225
+ role: "dialog",
226
+ label: dialogLabel.value,
227
+ onOpenChange
228
+ }, {
229
+ content: withCtx(() => [!useSheet.value ? (openBlock(), createElementBlock("div", {
230
+ key: 0,
231
+ id: popupId.value
232
+ }, [createVNode(_sfc_main$3, {
233
+ "model-value": props.modelValue,
234
+ min: props.min,
235
+ max: props.max,
236
+ "is-date-disabled": props.isDateDisabled,
237
+ "onUpdate:modelValue": onCalendarChange
238
+ }, null, 8, [
239
+ "model-value",
240
+ "min",
241
+ "max",
242
+ "is-date-disabled"
243
+ ])], 8, _hoisted_8)) : createCommentVNode("v-if", true)]),
244
+ default: withCtx(() => [createElementVNode("div", {
245
+ class: "astryx-date-input-wrapper",
246
+ "data-disabled": props.disabled ? "true" : void 0,
247
+ "data-size": props.size,
248
+ "data-status": statusType.value
249
+ }, [
250
+ _ctx.$slots.prefix ? (openBlock(), createElementBlock("span", _hoisted_3, [renderSlot(_ctx.$slots, "prefix")])) : createCommentVNode("v-if", true),
251
+ createElementVNode("button", {
252
+ type: "button",
253
+ class: "astryx-date-input-toggle",
254
+ disabled: props.disabled,
255
+ "aria-label": toggleLabel.value,
256
+ onClick: onToggleClick
257
+ }, [..._cache[1] || (_cache[1] = [createElementVNode("svg", {
258
+ width: "16",
259
+ height: "16",
260
+ viewBox: "0 0 16 16",
261
+ fill: "none",
262
+ "aria-hidden": "true"
263
+ }, [
264
+ createElementVNode("rect", {
265
+ x: "3",
266
+ y: "4",
267
+ width: "10",
268
+ height: "9",
269
+ rx: "1",
270
+ stroke: "currentColor",
271
+ "stroke-width": "1.5"
272
+ }),
273
+ createElementVNode("path", {
274
+ d: "M3 6H13",
275
+ stroke: "currentColor",
276
+ "stroke-width": "1.5"
277
+ }),
278
+ createElementVNode("path", {
279
+ d: "M5 3V5M11 3V5",
280
+ stroke: "currentColor",
281
+ "stroke-width": "1.5",
282
+ "stroke-linecap": "round"
283
+ })
284
+ ], -1)])], 8, _hoisted_4),
285
+ createElementVNode("input", {
286
+ id: inputId.value,
287
+ ref_key: "inputRef",
288
+ ref: inputRef,
289
+ type: "text",
290
+ class: "astryx-date-input-field",
291
+ role: "combobox",
292
+ value: inputValue.value,
293
+ placeholder: resolvedPlaceholder.value,
294
+ disabled: props.disabled,
295
+ readonly: useSheet.value,
296
+ inputmode: useSheet.value ? "none" : void 0,
297
+ "aria-label": showsField.value ? void 0 : props.label,
298
+ "aria-labelledby": showsField.value ? field?.labelId : void 0,
299
+ "aria-describedby": describedBy(field?.describedBy),
300
+ "aria-invalid": statusType.value === "error" ? "true" : void 0,
301
+ "aria-controls": popupId.value,
302
+ "aria-expanded": isOpen.value,
303
+ "aria-haspopup": "dialog",
304
+ title: props.disabledReason,
305
+ autocomplete: "off",
306
+ onInput,
307
+ onBlur,
308
+ onClick: openCalendar,
309
+ onKeydown: onInputKeyDown
310
+ }, null, 40, _hoisted_5),
311
+ props.clearable && props.modelValue ? (openBlock(), createElementBlock("button", {
312
+ key: 1,
313
+ type: "button",
314
+ class: "astryx-date-input-clear",
315
+ "aria-label": resolvedClearLabel.value,
316
+ tabindex: "-1",
317
+ onClick: onClear
318
+ }, [..._cache[2] || (_cache[2] = [createElementVNode("svg", {
319
+ width: "16",
320
+ height: "16",
321
+ viewBox: "0 0 16 16",
322
+ fill: "none",
323
+ "aria-hidden": "true"
324
+ }, [createElementVNode("path", {
325
+ d: "M12 4L4 12M4 4L12 12",
326
+ stroke: "currentColor",
327
+ "stroke-width": "1.5",
328
+ "stroke-linecap": "round"
329
+ })], -1)])], 8, _hoisted_6)) : _ctx.$slots.suffix ? (openBlock(), createElementBlock("span", _hoisted_7, [renderSlot(_ctx.$slots, "suffix")])) : createCommentVNode("v-if", true),
330
+ statusType.value && props.statusVariant !== "tooltip" ? (openBlock(), createBlock(_sfc_main$1, {
331
+ key: 3,
332
+ type: statusType.value
333
+ }, null, 8, ["type"])) : createCommentVNode("v-if", true)
334
+ ], 8, _hoisted_2)]),
335
+ _: 2
336
+ }, 1032, [
337
+ "is-open",
338
+ "is-enabled",
339
+ "label"
340
+ ]),
341
+ useSheet.value ? (openBlock(), createBlock(_sfc_main$2, {
342
+ key: 0,
343
+ "is-open": isOpen.value,
344
+ "onUpdate:isOpen": _cache[0] || (_cache[0] = ($event) => isOpen.value = $event),
345
+ label: dialogLabel.value,
346
+ height: "hug",
347
+ padding: 0
348
+ }, {
349
+ default: withCtx(() => [createElementVNode("div", { id: popupId.value }, [createVNode(_sfc_main$3, {
350
+ "model-value": props.modelValue,
351
+ min: props.min,
352
+ max: props.max,
353
+ "is-date-disabled": props.isDateDisabled,
354
+ "onUpdate:modelValue": onCalendarChange
355
+ }, null, 8, [
356
+ "model-value",
357
+ "min",
358
+ "max",
359
+ "is-date-disabled"
360
+ ])], 8, _hoisted_9)]),
361
+ _: 1
362
+ }, 8, ["is-open", "label"])) : createCommentVNode("v-if", true),
363
+ props.name ? (openBlock(), createElementBlock("input", {
364
+ key: 1,
365
+ type: "hidden",
366
+ name: props.name,
367
+ value: props.modelValue ? toIso(props.modelValue) : ""
368
+ }, null, 8, _hoisted_10)) : createCommentVNode("v-if", true)
369
+ ], 10, _hoisted_1)]),
370
+ _: 3
371
+ }, 16);
372
+ };
373
+ }
374
+ });
375
+ //#endregion
376
+ export { _sfc_main as t };
@@ -1,2 +1,2 @@
1
- import { $n as DateRangeInputEmits, Qn as DateRange, Zn as _default, er as DateRangeInputProps, tr as DateRangePreset } from "../index-C6iJwTL0.js";
1
+ import { $n as DateRangeInputEmits, Qn as DateRange, Zn as _default, er as DateRangeInputProps, tr as DateRangePreset } from "../index-DNRBbwp_.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-1bhPGG2s.js";
1
+ import { t as _sfc_main } from "../DateRangeInput-DwDy3eRo.js";
2
2
  export { _sfc_main as DateRangeInput };
@@ -1,9 +1,9 @@
1
1
  import { a as todayISODate, c as formatDateRange, f as orderRange, l as isDayOutsideSpan, n as buildMonthGrid, o as applyRangeClick, p as resolveWeekStart, t as addMonths, u as isRangeWithinSpan } from "./useMonthGrid-CmJsZTcB.js";
2
- import { a as useAstryxMessages, i as useAstryxLocale } from "./context-Dbo22sck.js";
2
+ import { a as useAstryxMessages, i as useAstryxLocale } from "./context-CiKncNSH.js";
3
3
  import { n as weekdayNames, t as formatCalendarMonth } from "./locale-Cpk_nrLA.js";
4
4
  import { t as _sfc_main$2 } from "./FieldIcon--NTgW5IU.js";
5
5
  import { t as _sfc_main$3 } from "./IconButton-BNQuz9W_.js";
6
- import { t as _sfc_main$4 } from "./Icon-Dfr4k6-S.js";
6
+ import { t as _sfc_main$4 } from "./Icon-CJKjdJy-.js";
7
7
  import { t as _sfc_main$5 } from "./Field-8zRxzDHE.js";
8
8
  import { t as _sfc_main$6 } from "./Popover-Crhk9PNP.js";
9
9
  import { Fragment, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createVNode, defineComponent, mergeModels, normalizeClass, openBlock, renderList, shallowRef, toDisplayString, unref, useId, useModel, withCtx } from "vue";
@@ -1,2 +1,2 @@
1
- import { Jn as DateTimeInputEmits, Xn as DateTimeInputSize, Yn as DateTimeInputProps, qn as _default } from "../index-C6iJwTL0.js";
1
+ import { Jn as DateTimeInputEmits, Xn as DateTimeInputSize, Yn as DateTimeInputProps, qn as _default } from "../index-DNRBbwp_.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-SnPdgk6P.js";
1
+ import { t as _sfc_main } from "../DateTimeInput-BYiaC9bn.js";
2
2
  export { _sfc_main as DateTimeInput };
@@ -1,9 +1,9 @@
1
- import { a as useAstryxMessages } from "./context-Dbo22sck.js";
1
+ import { a as useAstryxMessages } from "./context-CiKncNSH.js";
2
2
  import { t as _sfc_main$1 } from "./FieldIcon--NTgW5IU.js";
3
3
  import { t as _sfc_main$2 } from "./IconButton-BNQuz9W_.js";
4
4
  import { t as _sfc_main$3 } from "./Field-8zRxzDHE.js";
5
- import { t as _sfc_main$4 } from "./DateInput-DE2TN1Rq.js";
6
- import { t as _sfc_main$5 } from "./TimeField-C7t9Knq9.js";
5
+ import { t as _sfc_main$4 } from "./DateInput-BLocxqC3.js";
6
+ import { t as _sfc_main$5 } from "./TimeField-DpHFrNv0.js";
7
7
  import { computed, createBlock, createCommentVNode, createElementVNode, createVNode, defineComponent, mergeModels, openBlock, ref, unref, useId, useModel, watch, withCtx } from "vue";
8
8
  import "../styles/date-time-input.css";
9
9
  //#region src/DateTimeInput/DateTimeInput.vue
@@ -127,6 +127,8 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
127
127
  id: generatedId,
128
128
  "model-value": dateValue.value,
129
129
  label: unref(messages).dateTimeInput.dateLabel,
130
+ format: "system_date",
131
+ "is-label-hidden": "",
130
132
  placeholder: __props.placeholder,
131
133
  disabled: __props.isDisabled,
132
134
  size: __props.size,
@@ -1,2 +1,3 @@
1
- import { S as DropdownMenuTriggerProps, _ as DropdownMenuOption, a as DropdownMenuContextValue, b as DropdownMenuSize, c as DropdownMenuDividerData, d as DropdownMenuGroupSlots, f as DropdownMenuItemData, g as DropdownMenuItemVariant, h as DropdownMenuItemSlots, i as _default, l as DropdownMenuEmits, m as DropdownMenuItemProps, n as _default$2, o as useDropdownMenuContext, p as DropdownMenuItemEmits, r as _default$1, s as DropdownMenuButtonProps, t as _default$3, u as DropdownMenuGroupProps, v as DropdownMenuProps, x as DropdownMenuSlots, y as DropdownMenuSection } from "../index-B8MbfMwV.js";
2
- export { _default as DropdownMenu, type DropdownMenuButtonProps, type DropdownMenuContextValue, _default$1 as DropdownMenuDivider, type DropdownMenuDividerData, type DropdownMenuEmits, _default$2 as DropdownMenuGroup, type DropdownMenuGroupProps, type DropdownMenuGroupSlots, _default$3 as DropdownMenuItem, type DropdownMenuItemData, type DropdownMenuItemEmits, type DropdownMenuItemProps, type DropdownMenuItemSlots, type DropdownMenuItemVariant, type DropdownMenuOption, type DropdownMenuProps, type DropdownMenuSection, type DropdownMenuSize, type DropdownMenuSlots, type DropdownMenuTriggerProps, useDropdownMenuContext };
1
+ import { _ as DropdownMenuSubMenuProps, a as DropdownMenuGroupSlots, c as DropdownMenuItemProps, d as DropdownMenuOption, f as DropdownMenuPresentation, g as DropdownMenuSlots, h as DropdownMenuSize, i as DropdownMenuGroupProps, l as DropdownMenuItemSlots, m as DropdownMenuSection, n as DropdownMenuDividerData, o as DropdownMenuItemData, p as DropdownMenuProps, r as DropdownMenuEmits, s as DropdownMenuItemEmits, t as DropdownMenuButtonProps, u as DropdownMenuItemVariant, v as DropdownMenuSubMenuSlots, y as DropdownMenuTriggerProps } from "../types-DDAAT1Xd.js";
2
+ import { a as _default, i as _default$1, n as _default$3, o as DropdownMenuContextValue, r as _default$2, s as useDropdownMenuContext, t as _default$4 } from "../index-CJlBAXwj.js";
3
+ export { _default as DropdownMenu, type DropdownMenuButtonProps, type DropdownMenuContextValue, _default$1 as DropdownMenuDivider, type DropdownMenuDividerData, type DropdownMenuEmits, _default$2 as DropdownMenuGroup, type DropdownMenuGroupProps, type DropdownMenuGroupSlots, _default$3 as DropdownMenuItem, type DropdownMenuItemData, type DropdownMenuItemEmits, type DropdownMenuItemProps, type DropdownMenuItemSlots, type DropdownMenuItemVariant, type DropdownMenuOption, type DropdownMenuPresentation, type DropdownMenuProps, type DropdownMenuSection, type DropdownMenuSize, type DropdownMenuSlots, _default$4 as DropdownMenuSubMenu, type DropdownMenuSubMenuProps, type DropdownMenuSubMenuSlots, type DropdownMenuTriggerProps, useDropdownMenuContext };
@@ -1,2 +1,3 @@
1
- import { a as useDropdownMenuContext, i as _sfc_main$1, n as _sfc_main$3, r as _sfc_main$2, t as _sfc_main } from "../DropdownMenu-UJGych6v.js";
2
- export { _sfc_main as DropdownMenu, _sfc_main$1 as DropdownMenuDivider, _sfc_main$2 as DropdownMenuGroup, _sfc_main$3 as DropdownMenuItem, useDropdownMenuContext };
1
+ import { a as _sfc_main$1, c as useDropdownMenuContext, i as _sfc_main$2, r as _sfc_main$3, t as _sfc_main } from "../DropdownMenu-Dh-WAHKb.js";
2
+ import { t as _sfc_main$4 } from "../DropdownMenu-Ddfr-aEC.js";
3
+ export { _sfc_main as DropdownMenu, _sfc_main$1 as DropdownMenuDivider, _sfc_main$2 as DropdownMenuGroup, _sfc_main$3 as DropdownMenuItem, _sfc_main$4 as DropdownMenuSubMenu, useDropdownMenuContext };
@@ -0,0 +1,164 @@
1
+ import { t as usePositionedLayer } from "./usePositionedLayer-C1NBOsVT.js";
2
+ import { t as _sfc_main$1 } from "./Icon-CJKjdJy-.js";
3
+ import { c as useDropdownMenuContext, n as useMenuFocus, o as MENU_ITEM_ROLES, s as activateMenuItem } from "./DropdownMenu-Dh-WAHKb.js";
4
+ import { t as _sfc_main$2 } from "./Item-C1z6gXn8.js";
5
+ import { Fragment, Teleport, computed, createBlock, createElementBlock, createElementVNode, createSlots, createVNode, defineComponent, nextTick, normalizeStyle, onBeforeUnmount, openBlock, ref, renderSlot, unref, useSlots, vShow, watch, withCtx, withDirectives, withKeys, withModifiers } from "vue";
6
+ import "../styles/dropdown-menu.css";
7
+ //#region src/DropdownMenu/DropdownMenuSubMenu.vue
8
+ const _sfc_main = /*@__PURE__*/ defineComponent({
9
+ name: "AstryxDropdownMenuSubMenu",
10
+ inheritAttrs: false,
11
+ __name: "DropdownMenuSubMenu",
12
+ props: {
13
+ label: {},
14
+ icon: {},
15
+ description: {},
16
+ isDisabled: {
17
+ type: Boolean,
18
+ default: false
19
+ }
20
+ },
21
+ setup(__props) {
22
+ const props = __props;
23
+ const slots = useSlots();
24
+ const menu = useDropdownMenuContext();
25
+ const rowComponent = ref(null);
26
+ const rowRef = computed(() => rowComponent.value?.element ?? null);
27
+ const flyoutRef = ref(null);
28
+ const flyoutOpen = ref(false);
29
+ const menuSize = computed(() => menu?.menuSize.value ?? "md");
30
+ const density = computed(() => menuSize.value === "sm" ? "compact" : "balanced");
31
+ const hasStart = computed(() => slots.icon != null || props.icon != null);
32
+ const focus = useMenuFocus({ list: flyoutRef });
33
+ const { position } = usePositionedLayer({
34
+ anchor: rowRef,
35
+ layer: flyoutRef,
36
+ isOpen: flyoutOpen,
37
+ placement: computed(() => "end"),
38
+ alignment: computed(() => "start"),
39
+ gap: 4
40
+ });
41
+ const flyoutStyle = computed(() => ({
42
+ top: `${position.value.top}px`,
43
+ left: `${position.value.left}px`,
44
+ zIndex: 1001
45
+ }));
46
+ let closeTimer = 0;
47
+ function cancelClose() {
48
+ if (closeTimer !== 0) window.clearTimeout(closeTimer);
49
+ closeTimer = 0;
50
+ }
51
+ function scheduleClose() {
52
+ cancelClose();
53
+ closeTimer = window.setTimeout(() => {
54
+ flyoutOpen.value = false;
55
+ }, 120);
56
+ }
57
+ async function openFlyout() {
58
+ if (props.isDisabled) return;
59
+ cancelClose();
60
+ flyoutOpen.value = true;
61
+ await nextTick();
62
+ focus.focusFirst();
63
+ }
64
+ function closeFlyout() {
65
+ cancelClose();
66
+ flyoutOpen.value = false;
67
+ rowComponent.value?.focus();
68
+ }
69
+ function onFlyoutKeydown(event) {
70
+ if (event.key === "ArrowLeft" || event.key === "Escape") {
71
+ event.preventDefault();
72
+ event.stopPropagation();
73
+ closeFlyout();
74
+ return;
75
+ }
76
+ if (event.key === "Enter" || event.key === " ") {
77
+ event.preventDefault();
78
+ event.stopPropagation();
79
+ const focused = document.activeElement;
80
+ if (focused instanceof HTMLElement && MENU_ITEM_ROLES.has(focused.getAttribute("role") ?? "")) activateMenuItem(focused, event);
81
+ return;
82
+ }
83
+ event.stopPropagation();
84
+ focus.handleKeyDown(event);
85
+ }
86
+ watch(() => menu?.isOpen.value, (open) => {
87
+ if (!open) flyoutOpen.value = false;
88
+ });
89
+ onBeforeUnmount(cancelClose);
90
+ return (_ctx, _cache) => {
91
+ return openBlock(), createElementBlock(Fragment, null, [createVNode(_sfc_main$2, {
92
+ ref_key: "rowComponent",
93
+ ref: rowComponent,
94
+ class: "astryx-dropdown-menu-item",
95
+ role: "menuitem",
96
+ "aria-haspopup": "menu",
97
+ "aria-expanded": flyoutOpen.value,
98
+ "data-menu-size": menuSize.value,
99
+ "data-variant": "default",
100
+ density: density.value,
101
+ description: __props.description,
102
+ "is-disabled": __props.isDisabled,
103
+ label: __props.label,
104
+ tabindex: __props.isDisabled ? void 0 : -1,
105
+ "on-click": openFlyout,
106
+ onKeydown: [
107
+ withKeys(withModifiers(openFlyout, ["prevent", "stop"]), ["right"]),
108
+ withKeys(withModifiers(openFlyout, ["prevent", "stop"]), ["enter"]),
109
+ withKeys(withModifiers(openFlyout, ["prevent", "stop"]), ["space"])
110
+ ],
111
+ onPointerenter: openFlyout,
112
+ onPointerleave: scheduleClose
113
+ }, createSlots({
114
+ endContent: withCtx(() => [createVNode(_sfc_main$1, {
115
+ color: "secondary",
116
+ icon: "chevronRight",
117
+ size: "sm"
118
+ })]),
119
+ _: 2
120
+ }, [
121
+ hasStart.value ? {
122
+ name: "startContent",
123
+ fn: withCtx(() => [renderSlot(_ctx.$slots, "icon", {}, () => [createVNode(_sfc_main$1, {
124
+ color: "secondary",
125
+ icon: __props.icon,
126
+ size: "sm"
127
+ }, null, 8, ["icon"])])]),
128
+ key: "0"
129
+ } : void 0,
130
+ unref(slots).label ? {
131
+ name: "label",
132
+ fn: withCtx(() => [renderSlot(_ctx.$slots, "label")]),
133
+ key: "1"
134
+ } : void 0,
135
+ unref(slots).description ? {
136
+ name: "description",
137
+ fn: withCtx(() => [renderSlot(_ctx.$slots, "description")]),
138
+ key: "2"
139
+ } : void 0
140
+ ]), 1032, [
141
+ "aria-expanded",
142
+ "data-menu-size",
143
+ "density",
144
+ "description",
145
+ "is-disabled",
146
+ "label",
147
+ "tabindex",
148
+ "onKeydown"
149
+ ]), (openBlock(), createBlock(Teleport, { to: "body" }, [withDirectives(createElementVNode("div", {
150
+ ref_key: "flyoutRef",
151
+ ref: flyoutRef,
152
+ class: "astryx-dropdown-menu astryx-dropdown-submenu",
153
+ role: "menu",
154
+ style: normalizeStyle(flyoutStyle.value),
155
+ tabindex: "-1",
156
+ onKeydown: onFlyoutKeydown,
157
+ onPointerenter: cancelClose,
158
+ onPointerleave: scheduleClose
159
+ }, [renderSlot(_ctx.$slots, "default")], 36), [[vShow, flyoutOpen.value]])]))], 64);
160
+ };
161
+ }
162
+ });
163
+ //#endregion
164
+ export { _sfc_main as t };