@astryx-vue/core 0.2.2 → 0.2.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (253) hide show
  1. package/THIRD_PARTY_NOTICES.md +2 -0
  2. package/dist/AppShell/index.d.ts +1 -1
  3. package/dist/AppShell/index.js +1 -1
  4. package/dist/{AppShell-Cb41gIAj.js → AppShell-Dd-D4bA2.js} +2 -2
  5. package/dist/AvatarGroup/index.d.ts +1 -1
  6. package/dist/Banner/index.d.ts +1 -1
  7. package/dist/Breadcrumbs/index.d.ts +3 -2
  8. package/dist/Breadcrumbs/index.js +3 -2
  9. package/dist/{Breadcrumbs-CTQ7fjDn.js → Breadcrumbs-CWGfgLNK.js} +13 -8
  10. package/dist/Button/index.d.ts +1 -1
  11. package/dist/ButtonGroup/index.d.ts +1 -1
  12. package/dist/Calendar/index.d.ts +2 -2
  13. package/dist/Calendar/index.js +1 -1
  14. package/dist/Calendar-CnOsSjMY.js +656 -0
  15. package/dist/Card/index.d.ts +1 -1
  16. package/dist/Carousel/index.js +1 -1
  17. package/dist/{Carousel-X0cuQkvg.js → Carousel-JA7ilqI_.js} +2 -2
  18. package/dist/Chat/index.d.ts +1 -1
  19. package/dist/Chat/index.js +1 -1
  20. package/dist/{Chat-M0tiGrNT.js → Chat-C7WrCOE4.js} +3 -3
  21. package/dist/CheckboxIndicator/index.js +1 -1
  22. package/dist/CheckboxIndicator-D37cm2Rh.js +68 -0
  23. package/dist/CheckboxInput/index.d.ts +1 -1
  24. package/dist/CheckboxInput/index.js +1 -1
  25. package/dist/{CheckboxInput-CMsEE1_4.js → CheckboxInput-25Q8ItH-.js} +10 -9
  26. package/dist/CheckboxList/index.d.ts +1 -1
  27. package/dist/CheckboxList/index.js +1 -1
  28. package/dist/{CheckboxList-BbCPiend.js → CheckboxList-CnCGnkZk.js} +77 -24
  29. package/dist/Citation/index.js +1 -1
  30. package/dist/{Citation-C1veUk5p.js → Citation-CtwrU33I.js} +2 -2
  31. package/dist/ClickableCard/index.d.ts +1 -1
  32. package/dist/Code/index.d.ts +1 -1
  33. package/dist/Code/index.js +2 -2
  34. package/dist/{Code-yb_KOFtJ.js → Code-BvefYRpx.js} +2 -1
  35. package/dist/{CodeBlock-DesTJAkm.js → CodeBlock-BZGzYeoL.js} +1 -1
  36. package/dist/Collapsible/index.d.ts +1 -1
  37. package/dist/Collapsible/index.js +1 -1
  38. package/dist/{Collapsible-BestK35V.js → Collapsible-3YerR-FO.js} +1 -1
  39. package/dist/CommandPalette/index.js +1 -1
  40. package/dist/{CommandPalette-BArt97V8.js → CommandPalette-BNbM9T9y.js} +1 -1
  41. package/dist/ComplexSelector/index.d.ts +1 -1
  42. package/dist/ComplexSelector/index.js +1 -1
  43. package/dist/{ComplexSelector-CAoig1RK.js → ComplexSelector-LtbLlrcj.js} +3 -3
  44. package/dist/ContextMenu/index.d.ts +3 -2
  45. package/dist/ContextMenu/index.js +3 -2
  46. package/dist/{ContextMenu-9Im6i43E.js → ContextMenu-DVQl0xL5.js} +204 -56
  47. package/dist/DateInput/index.d.ts +2 -2
  48. package/dist/DateInput/index.js +1 -1
  49. package/dist/DateInput-zm8sNc0t.js +743 -0
  50. package/dist/DateRangeInput/index.d.ts +1 -1
  51. package/dist/DateRangeInput/index.js +1 -1
  52. package/dist/{DateRangeInput-DwDy3eRo.js → DateRangeInput-DlVFzrf7.js} +54 -19
  53. package/dist/DateTimeInput/index.d.ts +1 -1
  54. package/dist/DateTimeInput/index.js +1 -1
  55. package/dist/{DateTimeInput-BYiaC9bn.js → DateTimeInput-C7Z-p6Yd.js} +54 -15
  56. package/dist/Dialog/index.d.ts +1 -1
  57. package/dist/DropdownMenu/index.d.ts +3 -3
  58. package/dist/DropdownMenu/index.js +4 -3
  59. package/dist/{DropdownMenu-Dh-WAHKb.js → DropdownMenu-BoZChdev.js} +308 -63
  60. package/dist/DropdownMenu-u1psFjis.js +325 -0
  61. package/dist/DropdownMenuRadioItem.vue-uVM0FD2f.d.ts +564 -0
  62. package/dist/FileInput/index.d.ts +1 -1
  63. package/dist/FileInput/index.js +1 -1
  64. package/dist/{FileInput-DLO6V12n.js → FileInput-QdlZn7qK.js} +2 -2
  65. package/dist/Icon/index.d.ts +4 -3
  66. package/dist/Icon/index.js +2 -2
  67. package/dist/{Icon-CJKjdJy-.js → Icon-bteSId7T.js} +113 -18
  68. package/dist/Indicator/index.d.ts +3 -0
  69. package/dist/Indicator/index.js +2 -0
  70. package/dist/InputGroup/index.d.ts +2 -2
  71. package/dist/InputGroup/index.js +3 -2
  72. package/dist/InputGroup-BzR6JRZb.js +129 -0
  73. package/dist/Lightbox/index.js +1 -1
  74. package/dist/{Lightbox-CdFCS_EA.js → Lightbox-BSzfqZ-u.js} +2 -2
  75. package/dist/List/index.d.ts +1 -1
  76. package/dist/Markdown/index.js +1 -1
  77. package/dist/{Markdown-BqKloI3w.js → Markdown-B6tSqenv.js} +8 -5
  78. package/dist/MetadataList/index.js +1 -1
  79. package/dist/{MetadataList-CvZkmisf.js → MetadataList-aN1tRn6W.js} +1 -1
  80. package/dist/MobileNav/index.js +1 -1
  81. package/dist/{MobileNavToggle-Bwi0qXXM.js → MobileNavToggle-fqcSafkc.js} +1 -1
  82. package/dist/MoreMenu/index.d.ts +1 -1
  83. package/dist/MoreMenu/index.js +1 -1
  84. package/dist/{MoreMenu-BwJaJrkB.js → MoreMenu-B3brqdK_.js} +1 -1
  85. package/dist/MultiSelector/index.d.ts +2 -2
  86. package/dist/MultiSelector/index.js +1 -1
  87. package/dist/{MultiSelector-C-ETfFy_.js → MultiSelector-BD5PMgez.js} +303 -121
  88. package/dist/{NavDisclosure-DHrSNRDR.js → NavDisclosure-DbYLDXK0.js} +1 -1
  89. package/dist/NavItem/index.d.ts +1 -1
  90. package/dist/NavMenu/index.js +2 -2
  91. package/dist/{NavMenuItem-B-k7olt5.js → NavMenuItem-DrwIMHKO.js} +1 -1
  92. package/dist/NumberInput/index.d.ts +1 -1
  93. package/dist/NumberInput/index.js +1 -1
  94. package/dist/{NumberInput-DjetVB8O.js → NumberInput-CBeU4lEl.js} +1 -1
  95. package/dist/Outline/index.js +1 -1
  96. package/dist/{Outline-Bz9c-u5y.js → Outline--HVMSB6i.js} +1 -1
  97. package/dist/OverflowList/index.d.ts +1 -1
  98. package/dist/OverflowList/index.js +1 -1
  99. package/dist/{OverflowList-ED-KN9Y5.js → OverflowList-FMh7r-r_.js} +3 -3
  100. package/dist/Pagination/index.d.ts +1 -1
  101. package/dist/Pagination/index.js +1 -1
  102. package/dist/{Pagination-Cb66HMEf.js → Pagination-DlIvESjx.js} +2 -2
  103. package/dist/Popover/index.d.ts +1 -1
  104. package/dist/Popover/index.js +1 -1
  105. package/dist/{Popover-Crhk9PNP.js → Popover-D7zqpFwU.js} +1 -1
  106. package/dist/PowerSearch/index.d.ts +1 -1
  107. package/dist/PowerSearch/index.js +1 -1
  108. package/dist/{PowerSearch-CjU8y4mi.js → PowerSearch-CMG7Rb69.js} +14 -14
  109. package/dist/ProgressBar/index.d.ts +1 -1
  110. package/dist/Radio/index.d.ts +1 -1
  111. package/dist/Radio/index.js +1 -1
  112. package/dist/{RadioGroup-BqjdSCfJ.js → RadioGroup-CBqUPq_L.js} +16 -8
  113. package/dist/RadioList/index.d.ts +1 -1
  114. package/dist/RadioList/index.js +1 -1
  115. package/dist/{RadioList-DI8ujXcT.js → RadioList-CPOJn9Th.js} +1 -1
  116. package/dist/Resizable/index.js +1 -1
  117. package/dist/{Resizable-D-TBCg0Y.js → Resizable-CXpvj1TZ.js} +1 -1
  118. package/dist/ScrollableArea/index.d.ts +1 -1
  119. package/dist/SegmentedControl/index.d.ts +1 -1
  120. package/dist/SelectableCard/index.d.ts +1 -1
  121. package/dist/Selector/index.d.ts +2 -2
  122. package/dist/Selector/index.js +1 -1
  123. package/dist/Selector-BpPnuWH3.js +618 -0
  124. package/dist/SideNav/index.d.ts +1 -1
  125. package/dist/SideNav/index.js +1 -1
  126. package/dist/{SideNav-DonEfiAx.js → SideNav-D4TupqgE.js} +3 -3
  127. package/dist/Stack/index.d.ts +1 -1
  128. package/dist/Stepper/index.d.ts +1 -1
  129. package/dist/Stepper/index.js +1 -1
  130. package/dist/{Stepper-D2ZIcUNx.js → Stepper-H-6-T5Ps.js} +1 -1
  131. package/dist/Switch/index.d.ts +1 -1
  132. package/dist/TabList/index.d.ts +1 -1
  133. package/dist/TabList/index.js +1 -1
  134. package/dist/{TabList-D3F-stq-.js → TabList-BlzkrObv.js} +2 -2
  135. package/dist/Table/index.js +1 -1
  136. package/dist/{Table-CrP2Uffq.js → Table-nqA_njNz.js} +6 -6
  137. package/dist/TextArea/index.d.ts +1 -1
  138. package/dist/TextInput/index.d.ts +1 -1
  139. package/dist/Theme/index.d.ts +2 -1
  140. package/dist/Theme/index.js +1 -1
  141. package/dist/{Theme-BuUiiJNr.js → Theme-CejS9MHm.js} +21 -3
  142. package/dist/Thumbnail/index.js +1 -1
  143. package/dist/{Thumbnail-BC5JGPGZ.js → Thumbnail-CXb3m_Hv.js} +2 -2
  144. package/dist/{TimeField-DpHFrNv0.js → TimeField-B3cndWb0.js} +2 -2
  145. package/dist/TimeInput/index.d.ts +1 -1
  146. package/dist/TimeInput/index.js +1 -1
  147. package/dist/{TimeInput-DJLV0_4z.js → TimeInput-BHQ_LKGm.js} +1 -1
  148. package/dist/Timestamp/index.d.ts +1 -1
  149. package/dist/Timestamp/index.js +1 -1
  150. package/dist/{Timestamp-GKNjjt5g.js → Timestamp-Cfuxbb3i.js} +2 -2
  151. package/dist/ToggleButton/index.d.ts +1 -1
  152. package/dist/Token/index.d.ts +1 -1
  153. package/dist/Token/index.js +1 -1
  154. package/dist/{Token-Chu_eCVs.js → Token-CdVLH0_H.js} +2 -2
  155. package/dist/Tokenizer/index.d.ts +1 -1
  156. package/dist/Tokenizer/index.js +1 -1
  157. package/dist/{Tokenizer-DRDpvQ_l.js → Tokenizer-DlD-S_8-.js} +3 -3
  158. package/dist/Toolbar/index.d.ts +1 -1
  159. package/dist/TopNav/index.d.ts +1 -1
  160. package/dist/TopNav/index.js +1 -1
  161. package/dist/{TopNav-CEyWddtA.js → TopNav-DzV874G7.js} +5 -5
  162. package/dist/TreeList/index.js +1 -1
  163. package/dist/{TreeList-COS8US8e.js → TreeList-DEwvlZRV.js} +2 -2
  164. package/dist/Typeahead/index.d.ts +1 -1
  165. package/dist/Typeahead/index.js +1 -1
  166. package/dist/{Typeahead-P7cCqtaQ.js → Typeahead-DQ3tmqYe.js} +3 -3
  167. package/dist/{context-O2Vb8cJl.js → colorMode-CBgdgDSn.js} +1 -7
  168. package/dist/composables/index.d.ts +2 -2
  169. package/dist/composables/index.js +10 -5
  170. package/dist/{composables-CVfjp9h4.js → composables-DDI08XFF.js} +98 -1
  171. package/dist/context-Cws_tXTr.js +7 -0
  172. package/dist/context-D5-MwxnN.js +4 -0
  173. package/dist/{context-CiKncNSH.js → context-DmOLCubj.js} +82 -8
  174. package/dist/{index-DimuSES0.d.ts → index-B1x05arQ.d.ts} +3 -1
  175. package/dist/index-B9f1rUEv.d.ts +77 -0
  176. package/dist/{index-D-ZuubCK.d.ts → index-BB5yVIN-.d.ts} +2 -2
  177. package/dist/{index-Bu0Zd1uw.d.ts → index-BMn9ghAX.d.ts} +3 -3
  178. package/dist/{index-CJlBAXwj.d.ts → index-BRfR0lhb.d.ts} +41 -4
  179. package/dist/{index-DNRBbwp_.d.ts → index-BTAgQRP0.d.ts} +758 -111
  180. package/dist/{index-DA52oIdw.d.ts → index-BcJBLWJ0.d.ts} +2 -2
  181. package/dist/{index-jdjcb3Js.d.ts → index-Bqb_Fyju.d.ts} +2 -2
  182. package/dist/{index-CNjbOgty.d.ts → index-C-QpeUlQ.d.ts} +2 -2
  183. package/dist/{index-DGXviOlp.d.ts → index-C2sfHfBw.d.ts} +31 -5
  184. package/dist/{index-By2mSzUA.d.ts → index-CA6RbRWx.d.ts} +1 -1
  185. package/dist/{index-gW0HW02U.d.ts → index-COxy6LEW.d.ts} +1 -1
  186. package/dist/{index-CVn0GBdB.d.ts → index-Ca8VIE4l.d.ts} +1 -1
  187. package/dist/{index-CRizexSC.d.ts → index-Ch6BbxCP.d.ts} +2 -67
  188. package/dist/{index-DWH_HzXi.d.ts → index-ChWlKHjc.d.ts} +1 -1
  189. package/dist/{index-kVhSuA9t.d.ts → index-Ctu32CLv.d.ts} +4 -4
  190. package/dist/{index-DOUEn7V0.d.ts → index-D1Twv_fL.d.ts} +65 -6
  191. package/dist/{index-D_nYxnNv.d.ts → index-D7-WTV6I.d.ts} +1 -1
  192. package/dist/{index-c_TaW8mM.d.ts → index-D8o50qOE.d.ts} +1 -1
  193. package/dist/{index-D4I_obqR.d.ts → index-DAiGhkNZ.d.ts} +1 -1
  194. package/dist/{index-Cs5pcwY3.d.ts → index-DMQG6kdM.d.ts} +3 -3
  195. package/dist/index-D_UEJIU5.d.ts +83 -0
  196. package/dist/{index-fa72tWIU.d.ts → index-DkVEBdWa.d.ts} +2 -2
  197. package/dist/{index-B1TG2GPS.d.ts → index-DxsKyAxq.d.ts} +116 -44
  198. package/dist/{index-BHqRH7QW.d.ts → index-FEy8qFSD.d.ts} +2 -2
  199. package/dist/{index-qiZtHnGK.d.ts → index-LIyvJTW3.d.ts} +39 -0
  200. package/dist/{index-BKr7yvVv.d.ts → index-MPcg1Pm4.d.ts} +1 -1
  201. package/dist/{index-cGagYM1g.d.ts → index-ViSV0RBx.d.ts} +1 -1
  202. package/dist/{index-C7mxUcDR.d.ts → index-f4NGT-e2.d.ts} +4 -4
  203. package/dist/{index-DsyKhauk.d.ts → index-foQMNKZO.d.ts} +1 -1
  204. package/dist/{index-u5ozu0G7.d.ts → index-vP0EtrJJ.d.ts} +13 -3
  205. package/dist/{index-CZeoAr0a.d.ts → index-xfkEuGLY.d.ts} +2 -2
  206. package/dist/index.d.ts +76 -75
  207. package/dist/index.js +115 -107
  208. package/dist/locale/index.d.ts +1 -1
  209. package/dist/locale/index.js +2 -2
  210. package/dist/{locale-Cpk_nrLA.js → locale-CCwVnyMZ.js} +25 -1
  211. package/dist/searchResultMessage-DN0HeRRB.js +94 -0
  212. package/dist/semantic-CKH9XVqa.d.ts +54 -0
  213. package/dist/{types-pnljWjEE.d.ts → types-CwyibrRB.d.ts} +12 -11
  214. package/dist/types-jmqqnkKA.d.ts +163 -0
  215. package/dist/{useAnchoredListbox-7W90Ny-9.js → useAnchoredListbox-BN9LQnon.js} +1 -1
  216. package/dist/useDatePresentation-C07PnOCw.js +21 -0
  217. package/dist/{useMonthGrid-CmJsZTcB.js → useDateRange-CIXoE_8k.js} +1 -42
  218. package/dist/useDisclosureHandle-Df3HhAfC.js +24 -0
  219. package/dist/{useDismiss-CAiHU6QD.js → useDismiss-Cj8x_51F.js} +8 -4
  220. package/dist/useFieldControlState-voICDrys.js +18 -0
  221. package/dist/useHandleRef-6cdKugm8.js +17 -0
  222. package/dist/useIndicator-i1NORM7W.js +147 -0
  223. package/dist/useMenuDrillIn-OaEwjK44.js +520 -0
  224. package/dist/useMonthGrid-fGHSSrFc.js +43 -0
  225. package/dist/usePendingChange-ib-h8FZK.js +25 -0
  226. package/dist/useSubmenuMode-CZN9qrUo.js +37 -0
  227. package/package.json +5 -1
  228. package/styles/calendar.css +38 -3
  229. package/styles/check-indicator.css +17 -0
  230. package/styles/checkbox-indicator.css +29 -10
  231. package/styles/checkbox-input.css +0 -11
  232. package/styles/date-input.css +48 -0
  233. package/styles/dropdown-menu.css +163 -0
  234. package/styles/field.css +48 -0
  235. package/styles/icon.css +51 -3
  236. package/styles/input-group.css +32 -3
  237. package/styles/multi-selector.css +26 -0
  238. package/styles/radio-indicator.css +90 -0
  239. package/styles/radio.css +9 -42
  240. package/styles/selector.css +112 -14
  241. package/styles.css +2 -0
  242. package/dist/Calendar-BFaI5AMv.js +0 -352
  243. package/dist/CheckboxIndicator-DdJmksHt.js +0 -52
  244. package/dist/DateInput-BLocxqC3.js +0 -376
  245. package/dist/DropdownMenu-Ddfr-aEC.js +0 -164
  246. package/dist/InputGroup-ChrFVxzV.js +0 -42
  247. package/dist/Selector-DE2IEFML.js +0 -468
  248. package/dist/index-Bgv4ZmBl.d.ts +0 -72
  249. package/dist/index-DN7MXPHM.d.ts +0 -398
  250. package/dist/index-IbUN4M8V.d.ts +0 -40
  251. package/dist/types-DDAAT1Xd.d.ts +0 -285
  252. package/dist/useGridRovingFocus-DQQAOYH5.js +0 -99
  253. /package/dist/{index-BUXNRekN.d.ts → index-BXkNZF3q.d.ts} +0 -0
@@ -0,0 +1,618 @@
1
+ import { t as useAnnounce } from "./announce-Cnio10Wk.js";
2
+ import { t as useCombobox } from "./useCombobox-CTo5C-gc.js";
3
+ import { t as useDismiss } from "./useDismiss-Cj8x_51F.js";
4
+ import { t as useFieldControlState } from "./useFieldControlState-voICDrys.js";
5
+ import { a as useAstryxMessages } from "./context-DmOLCubj.js";
6
+ import { t as usePositionedLayer } from "./usePositionedLayer-C1NBOsVT.js";
7
+ import { t as _sfc_main$1 } from "./BottomSheet-Dg95HB1s.js";
8
+ import { t as _sfc_main$2 } from "./Icon-bteSId7T.js";
9
+ import { t as _sfc_main$3 } from "./Spinner-9cYUCnDy.js";
10
+ import { t as useIndicator } from "./useIndicator-i1NORM7W.js";
11
+ import { t as _sfc_main$4 } from "./Field-8zRxzDHE.js";
12
+ import { t as INPUT_GROUP_KEY } from "./context-D5-MwxnN.js";
13
+ import { n as fieldStatusPlacement, r as _sfc_main$5, t as searchResultMessage } from "./searchResultMessage-DN0HeRRB.js";
14
+ import { Fragment, Teleport, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createTextVNode, createVNode, defineComponent, inject, nextTick, normalizeClass, normalizeStyle, onMounted, openBlock, ref, renderList, renderSlot, resolveDynamicComponent, toDisplayString, unref, useId, useSlots, useTemplateRef, vShow, watch, withCtx, withDirectives, withKeys, withModifiers } from "vue";
15
+ import "../styles/visually-hidden-utility.css";
16
+ import "../styles/selector.css";
17
+ //#region src/Selector/Selector.vue
18
+ const _hoisted_1 = [
19
+ "disabled",
20
+ "role",
21
+ "aria-haspopup",
22
+ "aria-expanded",
23
+ "aria-controls",
24
+ "aria-readonly",
25
+ "aria-busy",
26
+ "aria-required",
27
+ "aria-label",
28
+ "aria-describedby",
29
+ "aria-autocomplete",
30
+ "aria-activedescendant",
31
+ "title"
32
+ ];
33
+ const _hoisted_2 = { class: "astryx-selector-value-label" };
34
+ const _hoisted_3 = ["aria-label"];
35
+ const _hoisted_4 = { class: "astryx-selector-sheet-title" };
36
+ const _hoisted_5 = ["data-placement"];
37
+ const _hoisted_6 = {
38
+ key: 0,
39
+ class: "astryx-selector-search"
40
+ };
41
+ const _hoisted_7 = [
42
+ "id",
43
+ "aria-label",
44
+ "aria-expanded",
45
+ "aria-activedescendant",
46
+ "placeholder",
47
+ "value"
48
+ ];
49
+ const _hoisted_8 = ["aria-label"];
50
+ const _hoisted_9 = {
51
+ key: 1,
52
+ class: "astryx-selector-options"
53
+ };
54
+ const _hoisted_10 = {
55
+ key: 0,
56
+ class: "astryx-selector-section",
57
+ role: "presentation"
58
+ };
59
+ const _hoisted_11 = [
60
+ "id",
61
+ "aria-selected",
62
+ "aria-disabled",
63
+ "onClick",
64
+ "onKeydown"
65
+ ];
66
+ const _hoisted_12 = {
67
+ key: 0,
68
+ class: "astryx-selector-option-mark"
69
+ };
70
+ const _hoisted_13 = { class: "astryx-selector-option-body" };
71
+ const _hoisted_14 = { class: "astryx-selector-option-copy" };
72
+ const _hoisted_15 = { class: "astryx-selector-option-label" };
73
+ const _hoisted_16 = {
74
+ key: 0,
75
+ class: "astryx-selector-option-description"
76
+ };
77
+ const _hoisted_17 = {
78
+ key: 1,
79
+ class: "astryx-selector-option-mark"
80
+ };
81
+ const _hoisted_18 = {
82
+ key: 2,
83
+ class: "astryx-selector-empty",
84
+ role: "presentation"
85
+ };
86
+ const _hoisted_19 = [
87
+ "id",
88
+ "name",
89
+ "value",
90
+ "disabled",
91
+ "aria-label"
92
+ ];
93
+ const _hoisted_20 = ["value"];
94
+ const _sfc_main = /*@__PURE__*/ defineComponent({
95
+ name: "AstryxSelector",
96
+ inheritAttrs: false,
97
+ __name: "Selector",
98
+ props: {
99
+ modelValue: { default: null },
100
+ options: {},
101
+ placeholder: {},
102
+ disabled: {
103
+ type: Boolean,
104
+ default: false
105
+ },
106
+ disabledReason: {},
107
+ status: { default: "default" },
108
+ statusMessage: {},
109
+ statusVariant: { default: "attached" },
110
+ size: { default: "md" },
111
+ variant: { default: "default" },
112
+ presentation: { default: "popover" },
113
+ searchable: {
114
+ type: Boolean,
115
+ default: false
116
+ },
117
+ searchPlaceholder: {},
118
+ clearable: {
119
+ type: Boolean,
120
+ default: false
121
+ },
122
+ clearLabel: {},
123
+ emptyText: {},
124
+ emptySearchText: {},
125
+ label: {},
126
+ isLabelHidden: {
127
+ type: Boolean,
128
+ default: false
129
+ },
130
+ description: {},
131
+ width: {},
132
+ name: {},
133
+ isReadOnly: {
134
+ type: Boolean,
135
+ default: false
136
+ },
137
+ isLoading: {
138
+ type: Boolean,
139
+ default: false
140
+ },
141
+ isOptional: {
142
+ type: Boolean,
143
+ default: false
144
+ },
145
+ isRequired: {
146
+ type: Boolean,
147
+ default: false
148
+ },
149
+ indicatorPosition: { default: "end" }
150
+ },
151
+ emits: [
152
+ "update:modelValue",
153
+ "change",
154
+ "search"
155
+ ],
156
+ setup(__props, { emit: __emit }) {
157
+ const props = __props;
158
+ const emit = __emit;
159
+ const slots = useSlots();
160
+ const SelectionMark = useIndicator("check");
161
+ const selectorId = `astryx-selector-${useId()}`;
162
+ const listboxId = `${selectorId}-listbox`;
163
+ const messages = useAstryxMessages();
164
+ const resolvedPlaceholder = computed(() => props.placeholder ?? messages.value.selector.placeholder);
165
+ const resolvedSearchPlaceholder = computed(() => props.searchPlaceholder ?? messages.value.selector.search);
166
+ const resolvedClearLabel = computed(() => props.clearLabel ?? messages.value.selector.clear);
167
+ const resolvedEmptyText = computed(() => props.emptyText ?? messages.value.selector.empty);
168
+ const resolvedEmptySearchText = computed(() => props.emptySearchText ?? messages.value.selector.emptySearch);
169
+ const inputGroup = inject(INPUT_GROUP_KEY, null);
170
+ const inGroup = computed(() => inputGroup != null);
171
+ const control = useFieldControlState({
172
+ disabled: () => props.disabled || (inputGroup?.disabled.value ?? false),
173
+ readOnly: () => props.isReadOnly,
174
+ loading: () => props.isLoading
175
+ });
176
+ const announce = useAnnounce();
177
+ const readOnlyId = `${selectorId}-readonly`;
178
+ const fieldRef = useTemplateRef("fieldRef");
179
+ const listboxRef = useTemplateRef("listboxRef");
180
+ const searchInputRef = useTemplateRef("searchInputRef");
181
+ const sheetSlot = useTemplateRef("sheetSlot");
182
+ const isSheet = computed(() => props.presentation === "bottom-sheet");
183
+ const sheetLabel = computed(() => props.label || resolvedPlaceholder.value);
184
+ const isEnabled = control.canActivate;
185
+ const isSearchable = computed(() => props.searchable && control.canActivate.value);
186
+ function isSection(entry) {
187
+ return typeof entry === "object" && entry !== null && "type" in entry && entry.type === "section";
188
+ }
189
+ function asOption(entry) {
190
+ if (typeof entry === "string") return {
191
+ value: entry,
192
+ label: entry
193
+ };
194
+ return entry;
195
+ }
196
+ const normalizedEntries = computed(() => props.options.map((entry) => {
197
+ if (isSection(entry)) return {
198
+ ...entry,
199
+ options: entry.options.map(asOption)
200
+ };
201
+ return asOption(entry);
202
+ }));
203
+ const flatOptions = computed(() => normalizedEntries.value.flatMap((entry) => isSection(entry) ? entry.options : [entry]));
204
+ const comboboxOptions = computed(() => flatOptions.value.map((opt) => ({
205
+ value: opt.value,
206
+ label: opt.label,
207
+ disabled: opt.disabled ?? false
208
+ })));
209
+ const modelValueRef = computed({
210
+ get: () => props.modelValue,
211
+ set: (value) => {
212
+ emit("update:modelValue", value);
213
+ emit("change", value);
214
+ }
215
+ });
216
+ const combobox = useCombobox({
217
+ options: comboboxOptions,
218
+ modelValue: modelValueRef,
219
+ isEnabled,
220
+ isSearchable,
221
+ onChange: (value) => {
222
+ modelValueRef.value = value;
223
+ },
224
+ onOpenChange: (isOpen) => {
225
+ if (isOpen && props.searchable) nextTick(() => {
226
+ searchInputRef.value?.focus();
227
+ });
228
+ }
229
+ });
230
+ const sheetOpen = computed({
231
+ get: () => isSheet.value && combobox.isOpen.value,
232
+ set: (open) => {
233
+ if (!open && combobox.isOpen.value) combobox.close();
234
+ }
235
+ });
236
+ const popoverOpen = computed(() => combobox.isOpen.value && !isSheet.value);
237
+ const listboxTarget = computed(() => isSheet.value && sheetSlot.value ? sheetSlot.value : "body");
238
+ const { position } = usePositionedLayer({
239
+ anchor: fieldRef,
240
+ layer: listboxRef,
241
+ isOpen: popoverOpen,
242
+ placement: computed(() => "below"),
243
+ alignment: computed(() => "start"),
244
+ gap: 4
245
+ });
246
+ useDismiss({
247
+ container: listboxRef,
248
+ trigger: fieldRef,
249
+ isEnabled: popoverOpen,
250
+ enableEscape: ref(true),
251
+ onDismiss: () => {
252
+ combobox.close();
253
+ }
254
+ });
255
+ const selectedOption = computed(() => {
256
+ if (props.modelValue == null) return null;
257
+ return flatOptions.value.find((opt) => opt.value === props.modelValue) ?? null;
258
+ });
259
+ const fieldLabel = computed(() => props.label || resolvedPlaceholder.value);
260
+ const hideLabel = computed(() => props.isLabelHidden || !props.label);
261
+ const statusType = computed(() => {
262
+ const status = props.status;
263
+ if (status == null || status === "default") return "default";
264
+ if (typeof status === "string") return status;
265
+ return status.type;
266
+ });
267
+ const fieldStatus = computed(() => {
268
+ const status = props.status;
269
+ if (status && typeof status === "object") return status;
270
+ if (!props.statusMessage || statusType.value === "default") return void 0;
271
+ return {
272
+ type: statusType.value,
273
+ message: props.statusMessage
274
+ };
275
+ });
276
+ const effectiveStatusVariant = computed(() => fieldStatusPlacement(props.variant, props.statusVariant));
277
+ const statusGlyph = computed(() => {
278
+ const type = statusType.value;
279
+ if (type !== "error" && type !== "warning" && type !== "success" || effectiveStatusVariant.value === "detached") return void 0;
280
+ return type;
281
+ });
282
+ const displayRows = computed(() => {
283
+ const indexByValue = new Map(combobox.filteredOptions.value.map((option, index) => [option.value, index]));
284
+ const rows = [];
285
+ for (const entry of normalizedEntries.value) {
286
+ if (isSection(entry)) {
287
+ const children = entry.options.filter((option) => indexByValue.has(option.value));
288
+ if (children.length === 0) continue;
289
+ rows.push({
290
+ kind: "section",
291
+ title: entry.title
292
+ });
293
+ for (const option of children) rows.push({
294
+ kind: "option",
295
+ option,
296
+ index: indexByValue.get(option.value)
297
+ });
298
+ continue;
299
+ }
300
+ if (!indexByValue.has(entry.value)) continue;
301
+ rows.push({
302
+ kind: "option",
303
+ option: entry,
304
+ index: indexByValue.get(entry.value)
305
+ });
306
+ }
307
+ return rows;
308
+ });
309
+ const displayText = computed(() => {
310
+ return selectedOption.value?.label ?? resolvedPlaceholder.value;
311
+ });
312
+ const isEmpty = computed(() => {
313
+ return combobox.filteredOptions.value.length === 0;
314
+ });
315
+ const isSearching = computed(() => props.searchable && combobox.searchQuery.value.trim() !== "");
316
+ const showEmpty = computed(() => isEmpty.value && !control.isLoading.value);
317
+ const describedBy = computed(() => {
318
+ return [inGroup.value ? inputGroup?.describedBy.value : void 0, control.isReadOnly.value ? readOnlyId : void 0].filter(Boolean).join(" ") || void 0;
319
+ });
320
+ const announcement = computed(() => searchResultMessage({
321
+ isOpen: combobox.isOpen.value,
322
+ isLoading: control.isLoading.value,
323
+ query: combobox.searchQuery.value,
324
+ matchCount: combobox.filteredOptions.value.length,
325
+ emptyText: resolvedEmptyText.value,
326
+ emptySearchText: resolvedEmptySearchText.value,
327
+ resultCount: messages.value.selector.resultCount
328
+ }));
329
+ watch(announcement, (message) => {
330
+ if (message) announce(message);
331
+ });
332
+ function onTriggerClick() {
333
+ if (control.canActivate.value) combobox.toggle();
334
+ }
335
+ function onTriggerKeyDown(event) {
336
+ combobox.onKeyDown(event);
337
+ }
338
+ function onOptionClick(option) {
339
+ if (!option.disabled) combobox.select(option.value);
340
+ }
341
+ function onClear(event) {
342
+ event.stopPropagation();
343
+ if (!control.canActivate.value) return;
344
+ modelValueRef.value = null;
345
+ combobox.close();
346
+ }
347
+ function clearSearch(event) {
348
+ event.stopPropagation();
349
+ combobox.setSearchQuery("");
350
+ emit("search", "");
351
+ searchInputRef.value?.focus();
352
+ }
353
+ function onSearchInput(event) {
354
+ const target = event.target;
355
+ combobox.setSearchQuery(target.value);
356
+ emit("search", target.value);
357
+ }
358
+ function getOptionId(index) {
359
+ return `${listboxId}-option-${index}`;
360
+ }
361
+ const anchorWidth = ref(0);
362
+ function syncAnchorWidth() {
363
+ anchorWidth.value = fieldRef.value?.getBoundingClientRect().width ?? 0;
364
+ }
365
+ const listboxStyle = computed(() => isSheet.value ? void 0 : {
366
+ top: `${position.value.top}px`,
367
+ left: `${position.value.left}px`,
368
+ minWidth: anchorWidth.value > 0 ? `${anchorWidth.value}px` : void 0
369
+ });
370
+ watch(combobox.isOpen, (open) => {
371
+ if (open) syncAnchorWidth();
372
+ }, { flush: "pre" });
373
+ onMounted(syncAnchorWidth);
374
+ watch(() => combobox.activeIndex.value, (index) => {
375
+ if (index >= 0 && combobox.isOpen.value) nextTick(() => {
376
+ const listbox = listboxRef.value;
377
+ const optionEl = listbox?.querySelector(`#${getOptionId(index)}`);
378
+ if (!listbox || !optionEl) return;
379
+ const listboxRect = listbox.getBoundingClientRect();
380
+ const optionRect = optionEl.getBoundingClientRect();
381
+ if (optionRect.top < listboxRect.top) listbox.scrollTop -= listboxRect.top - optionRect.top;
382
+ else if (optionRect.bottom > listboxRect.bottom) listbox.scrollTop += optionRect.bottom - listboxRect.bottom;
383
+ });
384
+ });
385
+ return (_ctx, _cache) => {
386
+ return openBlock(), createBlock(_sfc_main$4, {
387
+ class: normalizeClass(["astryx-selector", [
388
+ `size-${props.size}`,
389
+ `status-${statusType.value}`,
390
+ `variant-${props.variant}`
391
+ ]]),
392
+ label: fieldLabel.value,
393
+ "input-id": selectorId,
394
+ "is-label-hidden": inGroup.value || hideLabel.value,
395
+ "is-disabled": unref(control).isDisabled.value,
396
+ "is-optional": inGroup.value ? false : props.isOptional,
397
+ "is-required": inGroup.value ? false : props.isRequired,
398
+ description: inGroup.value ? void 0 : props.description,
399
+ status: inGroup.value ? void 0 : fieldStatus.value,
400
+ "status-variant": effectiveStatusVariant.value,
401
+ width: props.width
402
+ }, {
403
+ default: withCtx(() => [
404
+ createElementVNode("div", {
405
+ ref_key: "fieldRef",
406
+ ref: fieldRef,
407
+ class: normalizeClass(["astryx-selector-field", {
408
+ "is-open": unref(combobox).isOpen.value,
409
+ "is-disabled": unref(control).isDisabled.value,
410
+ "is-readonly": unref(control).isReadOnly.value,
411
+ "is-loading": unref(control).isLoading.value,
412
+ "is-ghost": props.variant === "ghost"
413
+ }])
414
+ }, [
415
+ createElementVNode("button", {
416
+ id: selectorId,
417
+ type: "button",
418
+ class: normalizeClass(["astryx-selector-trigger", {
419
+ "is-open": unref(combobox).isOpen.value,
420
+ "is-disabled": unref(control).isDisabled.value
421
+ }]),
422
+ disabled: unref(control).isDisabled.value,
423
+ role: unref(control).isReadOnly.value || !props.searchable ? "combobox" : void 0,
424
+ "aria-haspopup": unref(control).isReadOnly.value ? void 0 : "listbox",
425
+ "aria-expanded": unref(control).isReadOnly.value ? false : unref(combobox).isOpen.value,
426
+ "aria-controls": unref(control).isReadOnly.value ? void 0 : listboxId,
427
+ "aria-readonly": unref(control).isReadOnly.value || void 0,
428
+ "aria-busy": unref(control).isLoading.value || void 0,
429
+ "aria-required": props.isRequired || void 0,
430
+ "aria-label": props.label,
431
+ "aria-describedby": describedBy.value,
432
+ "aria-autocomplete": props.searchable ? void 0 : "none",
433
+ "aria-activedescendant": !props.searchable && !unref(control).isReadOnly.value && unref(combobox).activeIndex.value >= 0 ? getOptionId(unref(combobox).activeIndex.value) : void 0,
434
+ title: props.disabledReason,
435
+ onClick: onTriggerClick,
436
+ onKeydown: onTriggerKeyDown
437
+ }, [createElementVNode("span", { class: normalizeClass(["astryx-selector-value", {
438
+ "is-placeholder": !selectedOption.value,
439
+ "is-rich": unref(slots).selected,
440
+ "is-grouped": inGroup.value
441
+ }]) }, [unref(slots).selected ? renderSlot(_ctx.$slots, "selected", { option: selectedOption.value }, void 0, void 0, 0) : (openBlock(), createElementBlock(Fragment, { key: 1 }, [selectedOption.value?.icon ? (openBlock(), createElementBlock("span", {
442
+ key: 0,
443
+ class: normalizeClass(["astryx-selector-value-icon", selectedOption.value.icon]),
444
+ "aria-hidden": "true"
445
+ }, null, 2)) : createCommentVNode("v-if", true), createElementVNode("span", _hoisted_2, toDisplayString(displayText.value), 1)], 64))], 2)], 42, _hoisted_1),
446
+ unref(control).isLoading.value ? (openBlock(), createBlock(_sfc_main$3, {
447
+ key: 0,
448
+ class: "astryx-selector-spinner",
449
+ size: "sm",
450
+ "aria-label": unref(messages).selector.loading
451
+ }, null, 8, ["aria-label"])) : createCommentVNode("v-if", true),
452
+ props.clearable && selectedOption.value && unref(control).canActivate.value ? (openBlock(), createElementBlock("button", {
453
+ key: 1,
454
+ type: "button",
455
+ class: "astryx-selector-clear",
456
+ "aria-label": resolvedClearLabel.value,
457
+ onClick: onClear
458
+ }, [createVNode(_sfc_main$2, {
459
+ icon: "close",
460
+ size: "sm"
461
+ })], 8, _hoisted_3)) : createCommentVNode("v-if", true),
462
+ statusGlyph.value ? (openBlock(), createBlock(_sfc_main$5, {
463
+ key: 2,
464
+ type: statusGlyph.value,
465
+ message: fieldStatus.value?.message,
466
+ tooltip: effectiveStatusVariant.value === "tooltip"
467
+ }, null, 8, [
468
+ "type",
469
+ "message",
470
+ "tooltip"
471
+ ])) : unref(control).canActivate.value ? (openBlock(), createBlock(_sfc_main$2, {
472
+ key: 3,
473
+ class: "astryx-selector-icon",
474
+ icon: "chevronDown",
475
+ size: "sm"
476
+ })) : createCommentVNode("v-if", true),
477
+ unref(control).isReadOnly.value ? (openBlock(), createElementBlock("span", {
478
+ key: 4,
479
+ id: readOnlyId,
480
+ class: "astryx-visually-hidden"
481
+ }, toDisplayString(unref(messages).selector.readOnly), 1)) : createCommentVNode("v-if", true)
482
+ ], 2),
483
+ isSheet.value ? (openBlock(), createBlock(_sfc_main$1, {
484
+ key: 0,
485
+ "is-open": sheetOpen.value,
486
+ "onUpdate:isOpen": _cache[0] || (_cache[0] = ($event) => sheetOpen.value = $event),
487
+ height: "hug",
488
+ label: sheetLabel.value,
489
+ padding: 2
490
+ }, {
491
+ default: withCtx(() => [createElementVNode("div", {
492
+ ref_key: "sheetSlot",
493
+ ref: sheetSlot,
494
+ class: "astryx-selector-sheet"
495
+ }, [createElementVNode("div", _hoisted_4, toDisplayString(sheetLabel.value), 1)], 512)]),
496
+ _: 1
497
+ }, 8, ["is-open", "label"])) : createCommentVNode("v-if", true),
498
+ (openBlock(), createBlock(Teleport, { to: listboxTarget.value }, [withDirectives(createElementVNode("div", {
499
+ id: listboxId,
500
+ ref_key: "listboxRef",
501
+ ref: listboxRef,
502
+ role: "listbox",
503
+ class: normalizeClass(["astryx-selector-listbox", { "is-sheet": isSheet.value }]),
504
+ "data-placement": isSheet.value ? void 0 : unref(position).placement,
505
+ style: normalizeStyle(listboxStyle.value),
506
+ tabindex: "-1"
507
+ }, [props.searchable ? (openBlock(), createElementBlock("div", _hoisted_6, [
508
+ createVNode(_sfc_main$2, {
509
+ class: "astryx-selector-search-icon",
510
+ icon: "search",
511
+ size: "sm"
512
+ }),
513
+ createElementVNode("input", {
514
+ id: `${selectorId}-search`,
515
+ ref_key: "searchInputRef",
516
+ ref: searchInputRef,
517
+ type: "text",
518
+ class: "astryx-selector-search-input",
519
+ role: "combobox",
520
+ autocomplete: "off",
521
+ "aria-label": resolvedSearchPlaceholder.value,
522
+ "aria-expanded": unref(combobox).isOpen.value,
523
+ "aria-controls": listboxId,
524
+ "aria-autocomplete": "list",
525
+ "aria-activedescendant": unref(combobox).activeIndex.value >= 0 ? getOptionId(unref(combobox).activeIndex.value) : void 0,
526
+ placeholder: resolvedSearchPlaceholder.value,
527
+ value: unref(combobox).searchQuery.value,
528
+ onInput: onSearchInput,
529
+ onKeydown: onTriggerKeyDown
530
+ }, null, 40, _hoisted_7),
531
+ unref(combobox).searchQuery.value ? (openBlock(), createElementBlock("button", {
532
+ key: 0,
533
+ type: "button",
534
+ class: "astryx-selector-search-clear",
535
+ "aria-label": resolvedClearLabel.value,
536
+ onClick: clearSearch
537
+ }, [createVNode(_sfc_main$2, {
538
+ icon: "close",
539
+ size: "sm"
540
+ })], 8, _hoisted_8)) : createCommentVNode("v-if", true)
541
+ ])) : createCommentVNode("v-if", true), !unref(control).isLoading.value && !isEmpty.value ? (openBlock(), createElementBlock("div", _hoisted_9, [(openBlock(true), createElementBlock(Fragment, null, renderList(displayRows.value, (row, rowIndex) => {
542
+ return openBlock(), createElementBlock(Fragment, { key: row.kind === "section" ? `section-${rowIndex}` : row.option?.value }, [row.kind === "section" ? (openBlock(), createElementBlock("div", _hoisted_10, toDisplayString(row.title), 1)) : row.option && row.index != null ? (openBlock(), createElementBlock("div", {
543
+ key: 1,
544
+ id: getOptionId(row.index),
545
+ role: "option",
546
+ tabindex: "0",
547
+ class: normalizeClass(["astryx-selector-option", {
548
+ "is-active": row.index === unref(combobox).activeIndex.value,
549
+ "is-selected": row.option.value === props.modelValue,
550
+ "is-disabled": row.option.disabled
551
+ }]),
552
+ "aria-selected": row.option.value === props.modelValue,
553
+ "aria-disabled": row.option.disabled,
554
+ onClick: ($event) => onOptionClick(row.option),
555
+ onKeydown: [withKeys(($event) => onOptionClick(row.option), ["enter"]), withKeys(withModifiers(($event) => onOptionClick(row.option), ["prevent"]), ["space"])]
556
+ }, [
557
+ props.indicatorPosition === "start" ? (openBlock(), createElementBlock("span", _hoisted_12, [(openBlock(), createBlock(resolveDynamicComponent(unref(SelectionMark)), {
558
+ class: "astryx-selector-check",
559
+ state: row.option.value === props.modelValue ? "checked" : "unchecked",
560
+ size: "sm",
561
+ "is-disabled": row.option.disabled
562
+ }, null, 8, ["state", "is-disabled"]))])) : createCommentVNode("v-if", true),
563
+ createElementVNode("span", _hoisted_13, [unref(slots).option ? renderSlot(_ctx.$slots, "option", {
564
+ option: row.option,
565
+ isActive: row.index === unref(combobox).activeIndex.value,
566
+ isSelected: row.option.value === props.modelValue
567
+ }, void 0, void 0, 0) : (openBlock(), createElementBlock(Fragment, { key: 1 }, [row.option.icon ? (openBlock(), createElementBlock("span", {
568
+ key: 0,
569
+ class: normalizeClass(["astryx-selector-option-icon", row.option.icon]),
570
+ "aria-hidden": "true"
571
+ }, null, 2)) : createCommentVNode("v-if", true), createElementVNode("span", _hoisted_14, [createElementVNode("span", _hoisted_15, toDisplayString(row.option.label), 1), row.option.description ? (openBlock(), createElementBlock("span", _hoisted_16, toDisplayString(row.option.description), 1)) : createCommentVNode("v-if", true)])], 64))]),
572
+ props.indicatorPosition === "end" ? (openBlock(), createElementBlock("span", _hoisted_17, [(openBlock(), createBlock(resolveDynamicComponent(unref(SelectionMark)), {
573
+ class: "astryx-selector-check",
574
+ state: row.option.value === props.modelValue ? "checked" : "unchecked",
575
+ size: "sm",
576
+ "is-disabled": row.option.disabled
577
+ }, null, 8, ["state", "is-disabled"]))])) : createCommentVNode("v-if", true)
578
+ ], 42, _hoisted_11)) : createCommentVNode("v-if", true)], 64);
579
+ }), 128))])) : showEmpty.value ? (openBlock(), createElementBlock("div", _hoisted_18, [!isSearching.value && unref(slots).empty ? renderSlot(_ctx.$slots, "empty", {}, void 0, void 0, 0) : (openBlock(), createElementBlock(Fragment, { key: 1 }, [createTextVNode(toDisplayString(isSearching.value ? resolvedEmptySearchText.value : resolvedEmptyText.value), 1)], 64))])) : createCommentVNode("v-if", true)], 14, _hoisted_5), [[vShow, unref(combobox).isOpen.value]])], 8, ["to"])),
580
+ props.name ? (openBlock(), createElementBlock("select", {
581
+ key: 1,
582
+ id: `${selectorId}-hidden-select`,
583
+ name: props.name,
584
+ value: props.modelValue ?? "",
585
+ disabled: unref(control).isDisabled.value,
586
+ "aria-label": props.label || resolvedPlaceholder.value,
587
+ tabindex: "-1",
588
+ style: {
589
+ "position": "absolute",
590
+ "left": "-9999px",
591
+ "width": "1px",
592
+ "height": "1px"
593
+ }
594
+ }, [_cache[1] || (_cache[1] = createElementVNode("option", { value: "" }, null, -1)), (openBlock(true), createElementBlock(Fragment, null, renderList(flatOptions.value, (option) => {
595
+ return openBlock(), createElementBlock("option", {
596
+ key: option.value,
597
+ value: option.value
598
+ }, toDisplayString(option.label), 9, _hoisted_20);
599
+ }), 128))], 8, _hoisted_19)) : createCommentVNode("v-if", true)
600
+ ]),
601
+ _: 3
602
+ }, 8, [
603
+ "class",
604
+ "label",
605
+ "is-label-hidden",
606
+ "is-disabled",
607
+ "is-optional",
608
+ "is-required",
609
+ "description",
610
+ "status",
611
+ "status-variant",
612
+ "width"
613
+ ]);
614
+ };
615
+ }
616
+ });
617
+ //#endregion
618
+ export { _sfc_main as t };
@@ -1,2 +1,2 @@
1
- import { Bt as _default$1, Gt as SideNavHeadingProps, Ht as SideNavCollapseButtonProps, Jt as SideNavProps, Kt as SideNavItemEmits, Lt as _default$4, Rt as _default$3, Ut as SideNavCollapsible, Vt as _default, Wt as SideNavEmits, Xt as SideNavCollapseContext, Yt as SideNavSectionProps, Zt as useSideNavCollapse, qt as SideNavItemProps, zt as _default$2 } from "../index-DNRBbwp_.js";
1
+ import { Bt as _default$1, Gt as SideNavHeadingProps, Ht as SideNavCollapseButtonProps, Jt as SideNavProps, Kt as SideNavItemEmits, Lt as _default$4, Rt as _default$3, Ut as SideNavCollapsible, Vt as _default, Wt as SideNavEmits, Xt as SideNavCollapseContext, Yt as SideNavSectionProps, Zt as useSideNavCollapse, qt as SideNavItemProps, zt as _default$2 } from "../index-BTAgQRP0.js";
2
2
  export { _default as SideNav, _default$1 as SideNavCollapseButton, type SideNavCollapseButtonProps, type SideNavCollapseContext, type SideNavCollapsible, type SideNavEmits, _default$2 as SideNavHeading, type SideNavHeadingProps, _default$3 as SideNavItem, type SideNavItemEmits, type SideNavItemProps, type SideNavProps, _default$4 as SideNavSection, type SideNavSectionProps, useSideNavCollapse };
@@ -1,3 +1,3 @@
1
1
  import { r as useSideNavCollapse } from "../context-BjNya0v8.js";
2
- import { a as _sfc_main$1, i as _sfc_main, n as _sfc_main$3, r as _sfc_main$2, t as _sfc_main$4 } from "../SideNav-DonEfiAx.js";
2
+ import { a as _sfc_main$1, i as _sfc_main, n as _sfc_main$3, r as _sfc_main$2, t as _sfc_main$4 } from "../SideNav-D4TupqgE.js";
3
3
  export { _sfc_main as SideNav, _sfc_main$1 as SideNavCollapseButton, _sfc_main$2 as SideNavHeading, _sfc_main$3 as SideNavItem, _sfc_main$4 as SideNavSection, useSideNavCollapse };
@@ -1,11 +1,11 @@
1
1
  import { t as useHotkeys } from "./useHotkeys-dABSK1o9.js";
2
- import { a as useAstryxMessages } from "./context-CiKncNSH.js";
2
+ import { a as useAstryxMessages } from "./context-DmOLCubj.js";
3
3
  import { i as useSideNavRenderMode, r as useSideNavCollapse, t as sideNavCollapseKey } from "./context-BjNya0v8.js";
4
4
  import { t as _sfc_main$5 } from "./Tooltip-mp0NMh_Y.js";
5
- import { t as _sfc_main$6 } from "./Icon-CJKjdJy-.js";
5
+ import { t as _sfc_main$6 } from "./Icon-bteSId7T.js";
6
6
  import { n as resolveNavRoot } from "./link-CdcUSxAj.js";
7
7
  import { t as _sfc_main$7 } from "./NavItem-FFOisITc.js";
8
- import { t as _sfc_main$8 } from "./NavDisclosure-DHrSNRDR.js";
8
+ import { t as _sfc_main$8 } from "./NavDisclosure-DbYLDXK0.js";
9
9
  import { Fragment, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createSlots, createTextVNode, createVNode, defineComponent, getCurrentInstance, normalizeClass, openBlock, provide, ref, renderSlot, resolveDynamicComponent, toDisplayString, unref, useId, useSlots, watch, withCtx, withModifiers } from "vue";
10
10
  import "../styles/visually-hidden.css";
11
11
  import "../styles/side-nav.css";
@@ -1,3 +1,3 @@
1
1
  import { a as StackDirection, c as StackItemProps, d as StackProps, f as StackSizeValue, i as StackCrossAlignment, l as StackItemSize, m as VStackProps, n as SpacingStep, o as StackElement, p as StackWrap, r as StackAlignment, s as StackItemCrossAlignSelf, t as HStackProps, u as StackMainAlignment } from "../types-D7QNSqoN.js";
2
- import { i as _default, n as _default$2, r as _default$1, t as _default$3 } from "../index-BKr7yvVv.js";
2
+ import { i as _default, n as _default$2, r as _default$1, t as _default$3 } from "../index-MPcg1Pm4.js";
3
3
  export { _default as HStack, type HStackProps, type SpacingStep, _default$1 as Stack, type StackAlignment, type StackCrossAlignment, type StackDirection, type StackElement, _default$2 as StackItem, type StackItemCrossAlignSelf, type StackItemProps, type StackItemSize, type StackMainAlignment, type StackProps, type StackSizeValue, type StackWrap, _default$3 as VStack, type VStackProps };
@@ -1,2 +1,2 @@
1
- import { a as StepProps, c as StepperCollapsedVariant, d as StepperIndicatorPosition, f as StepperOrientation, i as StepProgress, l as StepperDensity, m as StepperSlots, n as _default, o as StepSlots, p as StepperProps, r as StepIndicator, s as StepStatus, t as _default$1, u as StepperHorizontalOptions } from "../index-CVn0GBdB.js";
1
+ import { a as StepProps, c as StepperCollapsedVariant, d as StepperIndicatorPosition, f as StepperOrientation, i as StepProgress, l as StepperDensity, m as StepperSlots, n as _default, o as StepSlots, p as StepperProps, r as StepIndicator, s as StepStatus, t as _default$1, u as StepperHorizontalOptions } from "../index-Ca8VIE4l.js";
2
2
  export { _default as Step, type StepIndicator, type StepProgress, type StepProps, type StepSlots, type StepStatus, _default$1 as Stepper, type StepperCollapsedVariant, type StepperDensity, type StepperHorizontalOptions, type StepperIndicatorPosition, type StepperOrientation, type StepperProps, type StepperSlots };
@@ -1,2 +1,2 @@
1
- import { n as _sfc_main, t as _sfc_main$1 } from "../Stepper-D2ZIcUNx.js";
1
+ import { n as _sfc_main, t as _sfc_main$1 } from "../Stepper-H-6-T5Ps.js";
2
2
  export { _sfc_main as Step, _sfc_main$1 as Stepper };
@@ -1,5 +1,5 @@
1
1
  import { t as _sfc_main$3 } from "./VisuallyHidden-C7NN3VEP.js";
2
- import { a as useAstryxMessages } from "./context-CiKncNSH.js";
2
+ import { a as useAstryxMessages } from "./context-DmOLCubj.js";
3
3
  import { computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createTextVNode, createVNode, defineComponent, inject, onMounted, onUnmounted, openBlock, provide, ref, renderSlot, resolveDynamicComponent, toDisplayString, unref, useTemplateRef, watch, withCtx } from "vue";
4
4
  import "../styles/stepper.css";
5
5
  //#region src/Stepper/context.ts
@@ -1,2 +1,2 @@
1
- import { At as SwitchChangeEvent, Ft as SwitchStatus, It as SwitchStatusType, Mt as SwitchProps, Nt as SwitchSize, Ot as _default, Pt as SwitchSlots, jt as SwitchEmits, kt as SwitchChangeAction } from "../index-DNRBbwp_.js";
1
+ import { At as SwitchChangeEvent, Ft as SwitchStatus, It as SwitchStatusType, Mt as SwitchProps, Nt as SwitchSize, Ot as _default, Pt as SwitchSlots, jt as SwitchEmits, kt as SwitchChangeAction } from "../index-BTAgQRP0.js";
2
2
  export { _default as Switch, type SwitchChangeAction, type SwitchChangeEvent, type SwitchEmits, type SwitchProps, type SwitchSize, type SwitchSlots, type SwitchStatus, type SwitchStatusType };