@astryx-vue/core 0.36.2 → 0.37.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 (143) hide show
  1. package/dist/AlertDialog/index.js +1 -1
  2. package/dist/{AlertDialog-Dz8T0KIa.js → AlertDialog-DwITRN1M.js} +1 -1
  3. package/dist/AvatarGroup/index.d.ts +1 -1
  4. package/dist/Banner/index.d.ts +1 -1
  5. package/dist/BottomSheet/index.d.ts +1 -1
  6. package/dist/BottomSheet/index.js +2 -2
  7. package/dist/{BottomSheet-CRHPDrmS.js → BottomSheet-CDxV1Rkx.js} +1 -1
  8. package/dist/{BottomSheet-CYsGu9GP.js → BottomSheet-Cr6FacYP.js} +4 -77
  9. package/dist/Breadcrumbs/index.js +1 -1
  10. package/dist/{Breadcrumbs-nO9YHygD.js → Breadcrumbs-DaxgM0-F.js} +1 -1
  11. package/dist/Button/index.d.ts +1 -1
  12. package/dist/ButtonGroup/index.d.ts +1 -1
  13. package/dist/Calendar/index.d.ts +1 -1
  14. package/dist/Card/index.d.ts +1 -1
  15. package/dist/Carousel/index.d.ts +1 -1
  16. package/dist/Chat/index.d.ts +1 -1
  17. package/dist/CheckboxInput/index.d.ts +1 -1
  18. package/dist/CheckboxList/index.d.ts +1 -1
  19. package/dist/ClickableCard/index.d.ts +1 -1
  20. package/dist/Collapsible/index.d.ts +1 -1
  21. package/dist/CommandPalette/index.d.ts +1 -1
  22. package/dist/CommandPalette/index.js +1 -1
  23. package/dist/{CommandPalette-D07roA0D.js → CommandPalette-CWaKVNGZ.js} +2 -1
  24. package/dist/ComplexSelector/index.js +1 -1
  25. package/dist/{ComplexSelector-7OdAby6v.js → ComplexSelector-D2QRdM57.js} +1 -1
  26. package/dist/ContextMenu/index.d.ts +1 -1
  27. package/dist/ContextMenu/index.js +1 -1
  28. package/dist/{ContextMenu-BIJyyObZ.js → ContextMenu-D-G53u7B.js} +1 -1
  29. package/dist/DateInput/index.d.ts +1 -1
  30. package/dist/DateInput/index.js +1 -1
  31. package/dist/{DateInput-BNKoPL3j.js → DateInput-BHSp4fZS.js} +2 -2
  32. package/dist/DateRangeInput/index.d.ts +1 -1
  33. package/dist/DateRangeInput/index.js +1 -1
  34. package/dist/{DateRangeInput-CGDlPnUb.js → DateRangeInput-DP1QWK_6.js} +1 -1
  35. package/dist/DateTimeInput/index.d.ts +1 -1
  36. package/dist/DateTimeInput/index.js +1 -1
  37. package/dist/{DateTimeInput-CRWUAh75.js → DateTimeInput-Bgx9lgWb.js} +3 -3
  38. package/dist/Dialog/index.d.ts +1 -1
  39. package/dist/Dialog/index.js +3 -3
  40. package/dist/{Dialog-CXa-tu02.js → Dialog-DCKT1dWC.js} +2 -1
  41. package/dist/{Dialog-BxijA4zr.js → Dialog-DRQrtKHT.js} +3 -80
  42. package/dist/{DialogHeader-D7f97ksG.js → DialogHeader-C3Mc580J.js} +1 -1
  43. package/dist/Divider/index.d.ts +1 -1
  44. package/dist/Drawer/index.d.ts +1 -1
  45. package/dist/Drawer/index.js +1 -1
  46. package/dist/Drawer-CnFTUjln.js +422 -0
  47. package/dist/DropdownMenu/index.js +1 -1
  48. package/dist/{DropdownMenu-Bklf6ekH.js → DropdownMenu-DU_Rw88D.js} +1 -1
  49. package/dist/FileInput/index.d.ts +1 -1
  50. package/dist/HoverCard/index.d.ts +1 -1
  51. package/dist/InfoTip/index.d.ts +1 -1
  52. package/dist/InputGroup/index.d.ts +1 -1
  53. package/dist/Link/index.d.ts +1 -1
  54. package/dist/List/index.d.ts +1 -1
  55. package/dist/Markdown/index.d.ts +1 -1
  56. package/dist/MoreMenu/index.d.ts +1 -1
  57. package/dist/MultiSelector/index.d.ts +1 -1
  58. package/dist/MultiSelector/index.js +1 -1
  59. package/dist/{MultiSelector-BjFYfRqV.js → MultiSelector-DUQMNBoZ.js} +1 -1
  60. package/dist/NavItem/index.d.ts +1 -1
  61. package/dist/NumberInput/index.d.ts +1 -1
  62. package/dist/OverflowList/index.d.ts +1 -1
  63. package/dist/Overlay/index.d.ts +1 -1
  64. package/dist/Pagination/index.d.ts +1 -1
  65. package/dist/Pagination/index.js +1 -1
  66. package/dist/{Pagination-DGcl38z9.js → Pagination-DBikmHyn.js} +1 -1
  67. package/dist/Popover/index.d.ts +1 -1
  68. package/dist/Popover/index.js +1 -1
  69. package/dist/{Popover-DlCqmkYD.js → Popover-CTCWhA_K.js} +1 -1
  70. package/dist/PowerSearch/index.d.ts +1 -1
  71. package/dist/PowerSearch/index.js +1 -1
  72. package/dist/{PowerSearch-BKhXYPRO.js → PowerSearch-CTNFHNnr.js} +8 -8
  73. package/dist/ProgressBar/index.d.ts +1 -1
  74. package/dist/Radio/index.d.ts +1 -1
  75. package/dist/RadioList/index.d.ts +1 -1
  76. package/dist/Resizable/index.d.ts +1 -1
  77. package/dist/ScrollableArea/index.d.ts +1 -1
  78. package/dist/SegmentedControl/index.d.ts +1 -1
  79. package/dist/SelectableCard/index.d.ts +1 -1
  80. package/dist/Selector/index.d.ts +1 -1
  81. package/dist/Selector/index.js +1 -1
  82. package/dist/{Selector-CHq3XHwH.js → Selector-BvxQXUYr.js} +1 -1
  83. package/dist/SideNav/index.d.ts +1 -1
  84. package/dist/Stack/index.d.ts +1 -1
  85. package/dist/Stepper/index.d.ts +1 -1
  86. package/dist/Switch/index.d.ts +1 -1
  87. package/dist/TabList/index.d.ts +1 -1
  88. package/dist/Table/index.d.ts +1 -1
  89. package/dist/Table/index.js +1 -1
  90. package/dist/{Table-waEj3x_o.js → Table-3GiSElIS.js} +5 -5
  91. package/dist/TextArea/index.d.ts +1 -1
  92. package/dist/TextInput/index.d.ts +1 -1
  93. package/dist/{TimeField-BXQCZIwP.js → TimeField-BYuUKUNq.js} +1 -1
  94. package/dist/TimeInput/index.d.ts +1 -1
  95. package/dist/TimeInput/index.js +1 -1
  96. package/dist/{TimeInput-C_ZssG1D.js → TimeInput-Bqo_oHMl.js} +1 -1
  97. package/dist/Timestamp/index.d.ts +1 -1
  98. package/dist/Toast/index.js +1 -1
  99. package/dist/{Toast-W6aKxXlF.js → Toast-BSay0eZw.js} +14 -6
  100. package/dist/ToggleButton/index.d.ts +1 -1
  101. package/dist/Tokenizer/index.d.ts +1 -1
  102. package/dist/Tokenizer/index.js +1 -1
  103. package/dist/{Tokenizer-hmGkGVG7.js → Tokenizer-D-wBxbBE.js} +2 -2
  104. package/dist/Toolbar/index.d.ts +1 -1
  105. package/dist/Tooltip/index.d.ts +1 -1
  106. package/dist/TopNav/index.d.ts +1 -1
  107. package/dist/Typeahead/index.d.ts +1 -1
  108. package/dist/{index-BWzEt0gT.d.ts → index--kbwaSXW.d.ts} +2 -2
  109. package/dist/{index-CArP_6wv.d.ts → index-0RIgvtdm.d.ts} +1 -1
  110. package/dist/{index-CAJMHw-g.d.ts → index-1yvu_vpF.d.ts} +4 -4
  111. package/dist/{index-DlH0BI35.d.ts → index-Ak1b0V24.d.ts} +1 -1
  112. package/dist/{index-SWw-WMTO.d.ts → index-B44fLswd.d.ts} +2 -2
  113. package/dist/{index-C0smuLQ8.d.ts → index-B7Rd2RuL.d.ts} +93 -81
  114. package/dist/{index-BgT6mH3U.d.ts → index-BB9acgK8.d.ts} +1 -1
  115. package/dist/{index-BuubzuE8.d.ts → index-BDZCJ9ri.d.ts} +2 -2
  116. package/dist/{index-maTGrWjF.d.ts → index-BenG-F5d.d.ts} +1 -1
  117. package/dist/{index-BGUuyAMO.d.ts → index-BhpRhww0.d.ts} +11 -11
  118. package/dist/{index-C1e8LNx2.d.ts → index-BjqoHLMq.d.ts} +1 -1
  119. package/dist/{index-D05JGsT3.d.ts → index-C8wfe0Mr.d.ts} +1 -1
  120. package/dist/{index-gmY3A_Iw.d.ts → index-C93nwgTW.d.ts} +1 -1
  121. package/dist/{index-D2B3ysZr.d.ts → index-CGRtGORf.d.ts} +1 -1
  122. package/dist/{index-Xc3q9f84.d.ts → index-COgrQZIL.d.ts} +3 -3
  123. package/dist/{index-Bgk1Rj2A.d.ts → index-CTjkJP4x.d.ts} +1 -1
  124. package/dist/{index-Bwh8O-v8.d.ts → index-CZ29Xu_E.d.ts} +1 -1
  125. package/dist/{index-BQ3cm7mP.d.ts → index-CbA8rR_b.d.ts} +1 -1
  126. package/dist/{index-C6Iv6sgd.d.ts → index-CilCxEvD.d.ts} +3 -3
  127. package/dist/{index-BWWirRm3.d.ts → index-DHUCHxn2.d.ts} +1 -1
  128. package/dist/{index-DsWEyz1N.d.ts → index-DVX2jlTQ.d.ts} +3 -3
  129. package/dist/{index-CJdOt5Cc.d.ts → index-Dk50Zh3F.d.ts} +2 -2
  130. package/dist/{index-DA3DMFds.d.ts → index-J83fLEyo.d.ts} +4 -4
  131. package/dist/{index-BfFpUr1B.d.ts → index-ZKBj_1nu.d.ts} +1 -1
  132. package/dist/{index-BRr4ANpr.d.ts → index-hwP1oWCA.d.ts} +8 -8
  133. package/dist/{index-Cm36VS1A.d.ts → index-mK1ICsVg.d.ts} +2 -2
  134. package/dist/{index-ql9ApSTF.d.ts → index-yQc-te9a.d.ts} +2 -2
  135. package/dist/index.d.ts +27 -27
  136. package/dist/index.js +24 -24
  137. package/dist/{lazyBottomSheet-zUe1mYmM.js → lazyBottomSheet-C6Rw8yoX.js} +1 -1
  138. package/dist/{modalOutlet-Drr9a16b.js → modalOutlet-BwR9AAlm.js} +16 -1
  139. package/dist/position-DwHfneha.js +79 -0
  140. package/dist/sheetTransition-BEm1GCv1.js +76 -0
  141. package/package.json +1 -1
  142. package/styles/drawer.css +136 -44
  143. package/dist/Drawer-C3t7NKiF.js +0 -137
@@ -0,0 +1,422 @@
1
+ import { r as resetLayerScopedContext } from "./scopedProvide-C-Df7c15.js";
2
+ import { n as provideLayerMountTarget } from "./mount-7R_s-bHB.js";
3
+ import { n as useLayerDepth, o as pushLayer, t as provideLayerDepth } from "./layerDepth-DRfWATFr.js";
4
+ import { t as useFocusTrap } from "./useFocusTrap-Bj9GskLh.js";
5
+ import { t as useScrollLock } from "./scrollLock-CoVg9lLU.js";
6
+ import { t as holdEntranceInput } from "./holdEntranceInput-CROBPhuO.js";
7
+ import { n as restoreLayerFocus, r as trackLayerFocus, t as isLayerFocusStranded } from "./layerFocusReturn-uixUCSc8.js";
8
+ import { n as notifyTopLayerEntry, t as createModalOutletHandle } from "./modalOutlet-BwR9AAlm.js";
9
+ import { a as useBackdropPress, i as DIALOG_CONTEXT_KEY, r as findInitialFocusTarget, t as formatDialogSize } from "./position-DwHfneha.js";
10
+ import { o as provideLayoutContainer } from "./context-D-Hwh-Jf.js";
11
+ import { t as waitForTransition } from "./sheetTransition-BEm1GCv1.js";
12
+ import { t as _sfc_main$2 } from "./DialogHeader-C3Mc580J.js";
13
+ import { Fragment, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createSlots, defineComponent, getCurrentInstance, mergeProps, normalizeStyle, onBeforeUnmount, onMounted, onScopeDispose, openBlock, provide, ref, renderSlot, unref, useAttrs, useId, useSlots, useTemplateRef, watch, withCtx } from "vue";
14
+ import "../styles/drawer.css";
15
+ //#region src/Drawer/drawerHost.ts
16
+ /**
17
+ * 抽屉的原生宿主:模态时是 `showModal()` 打开的对话框,非模态时是 `popover="manual"`
18
+ * 的顶层元素。两种都在浏览器顶层里,画在页面最上面,不用管 z-index。
19
+ *
20
+ * 不支持 Popover API 的引擎退回 `show()`:不在顶层,但页面照样能用。
21
+ */
22
+ function isPopoverOpen(dialog) {
23
+ try {
24
+ return dialog.matches(":popover-open");
25
+ } catch {
26
+ return false;
27
+ }
28
+ }
29
+ /** 宿主此刻是否开着。 */
30
+ function isDrawerHostOpen(dialog, isModal) {
31
+ return isModal ? dialog.open : isPopoverOpen(dialog) || dialog.open;
32
+ }
33
+ /** 进入宿主。非模态抽屉进入顶层后通知全局常驻的层(toast 视口)重新排到它上面。 */
34
+ function showDrawerHost(dialog, isModal) {
35
+ if (isModal) {
36
+ dialog.showModal();
37
+ return;
38
+ }
39
+ if (typeof dialog.showPopover === "function") {
40
+ dialog.showPopover();
41
+ notifyTopLayerEntry();
42
+ return;
43
+ }
44
+ dialog.show();
45
+ }
46
+ /**
47
+ * 离开宿主。返回调用方是否还欠一个 `close` 事件:popover 关闭时不发 `close`,
48
+ * 但监听抽屉 `close` 事件的调用方要和模态时一样收到它。
49
+ */
50
+ function hideDrawerHost(dialog, isModal) {
51
+ if (!isModal && typeof dialog.hidePopover === "function") {
52
+ if (isPopoverOpen(dialog)) dialog.hidePopover();
53
+ return true;
54
+ }
55
+ if (dialog.open) dialog.close();
56
+ return false;
57
+ }
58
+ /** 补发 popover 宿主欠下的 `close` 事件。 */
59
+ function dispatchDrawerClose(dialog) {
60
+ const EventConstructor = dialog.ownerDocument.defaultView?.Event ?? Event;
61
+ dialog.dispatchEvent(new EventConstructor("close"));
62
+ }
63
+ /** 抽屉是否被后开的模态层盖住:那时页面上的 Escape 归那个模态层,不归它。 */
64
+ function isBehindModal(dialog) {
65
+ try {
66
+ const modal = dialog.ownerDocument.querySelector(":modal");
67
+ return modal != null && modal !== dialog && !dialog.contains(modal);
68
+ } catch {
69
+ return false;
70
+ }
71
+ }
72
+ //#endregion
73
+ //#region src/Drawer/useDrawerLayerDismiss.ts
74
+ /**
75
+ * 把非模态抽屉登记进全页关闭栈,Escape 才关得掉它(popover 宿主自己不认 Escape)。
76
+ *
77
+ * 模态抽屉不登记:它和对话框一样走原生 `cancel`,在它上面再开的对话框照样先收到 Escape。
78
+ * 点在外面不关:非模态抽屉旁边的页面本来就要能用。
79
+ * 退场还在屏幕上时继续占着栈,Escape 不会漏到下面那一层。
80
+ */
81
+ function useDrawerLayerDismiss(options) {
82
+ const depth = useLayerDepth();
83
+ const token = {};
84
+ let stop = null;
85
+ function sync() {
86
+ stop?.();
87
+ stop = null;
88
+ if (!options.isActive.value) return;
89
+ stop = pushLayer({
90
+ token,
91
+ depth,
92
+ getContainer: options.getContainer,
93
+ isPresent: () => {
94
+ const dialog = options.getContainer();
95
+ return dialog != null && !isBehindModal(dialog);
96
+ },
97
+ dismissOnPointerOutside: false,
98
+ dismissOnEscape: options.escape.value,
99
+ onDismiss: options.onDismiss
100
+ });
101
+ }
102
+ watch([options.isActive, options.escape], sync, { immediate: true });
103
+ onScopeDispose(() => {
104
+ stop?.();
105
+ stop = null;
106
+ });
107
+ }
108
+ //#endregion
109
+ //#region src/Drawer/useDrawerPresence.ts
110
+ /**
111
+ * 抽屉的出现与消失。
112
+ *
113
+ * 打开:记下打开者,进入宿主(模态对话框或 popover),把焦点放进去,手指在进场播完前点不到东西。
114
+ * 关闭:等面板的 `transform` 退场过渡播完,再离开宿主、同一轮里停止绘制,然后把被困住的焦点还给打开者。
115
+ * 先离开宿主再还焦点:模态对话框开着时页面其余部分不可交互,早还会落空。
116
+ * 打开着就被卸载时同样离开宿主,等它离开文档后再还焦点。
117
+ */
118
+ function useDrawerPresence(options) {
119
+ const isRendered = ref(options.isOpen());
120
+ const isHostOpen = ref(false);
121
+ let shownModal = false;
122
+ let focusRecord = null;
123
+ let releaseEntrance = null;
124
+ let cancelExit = null;
125
+ const modalOutlet = createModalOutletHandle();
126
+ function releaseEntranceHold() {
127
+ releaseEntrance?.();
128
+ releaseEntrance = null;
129
+ }
130
+ function stopExit() {
131
+ cancelExit?.();
132
+ cancelExit = null;
133
+ }
134
+ function openDrawer() {
135
+ const dialog = options.dialog.value;
136
+ if (dialog == null) return;
137
+ stopExit();
138
+ isRendered.value = true;
139
+ if (!isHostOpen.value || !isDrawerHostOpen(dialog, shownModal)) {
140
+ const opener = (dialog.ownerDocument.hasFocus() ? dialog.ownerDocument : document).activeElement;
141
+ focusRecord?.stop();
142
+ focusRecord = trackLayerFocus({
143
+ getLayer: () => options.dialog.value,
144
+ opener: opener instanceof HTMLElement ? opener : null
145
+ });
146
+ shownModal = options.isModal();
147
+ showDrawerHost(dialog, shownModal);
148
+ isHostOpen.value = true;
149
+ if (shownModal) modalOutlet.attach(dialog);
150
+ }
151
+ options.initialFocus()?.focus({ preventScroll: true });
152
+ releaseEntranceHold();
153
+ releaseEntrance = holdEntranceInput(dialog, { isModal: shownModal });
154
+ }
155
+ function finishExit(dialog) {
156
+ const record = focusRecord;
157
+ focusRecord = null;
158
+ const wasStranded = record != null && isLayerFocusStranded(record, dialog);
159
+ const owesClose = hideDrawerHost(dialog, shownModal);
160
+ isHostOpen.value = false;
161
+ isRendered.value = false;
162
+ if (record != null) {
163
+ if (wasStranded) restoreLayerFocus(record, {
164
+ layer: dialog,
165
+ name: "Drawer"
166
+ });
167
+ record.stop();
168
+ }
169
+ if (owesClose) dispatchDrawerClose(dialog);
170
+ }
171
+ function closeDrawer() {
172
+ releaseEntranceHold();
173
+ modalOutlet.detach();
174
+ const dialog = options.dialog.value;
175
+ if (dialog == null || !isHostOpen.value) {
176
+ isRendered.value = false;
177
+ return;
178
+ }
179
+ stopExit();
180
+ cancelExit = waitForTransition(dialog, "transform", () => {
181
+ cancelExit = null;
182
+ finishExit(dialog);
183
+ });
184
+ }
185
+ watch(options.isOpen, (open) => {
186
+ if (open) isRendered.value = true;
187
+ }, { flush: "sync" });
188
+ watch(options.isOpen, (open) => {
189
+ if (open) openDrawer();
190
+ else closeDrawer();
191
+ }, { flush: "post" });
192
+ onMounted(() => {
193
+ if (options.isOpen()) openDrawer();
194
+ });
195
+ onBeforeUnmount(() => {
196
+ releaseEntranceHold();
197
+ stopExit();
198
+ modalOutlet.detach();
199
+ const dialog = options.dialog.value;
200
+ const record = focusRecord;
201
+ focusRecord = null;
202
+ const wasStranded = record != null && isLayerFocusStranded(record, dialog);
203
+ if (dialog != null && isHostOpen.value && hideDrawerHost(dialog, shownModal)) dispatchDrawerClose(dialog);
204
+ isHostOpen.value = false;
205
+ if (record == null) return;
206
+ queueMicrotask(() => {
207
+ if (wasStranded) restoreLayerFocus(record, {
208
+ layer: null,
209
+ name: "Drawer"
210
+ });
211
+ record.stop();
212
+ });
213
+ });
214
+ return {
215
+ isRendered,
216
+ isHostOpen
217
+ };
218
+ }
219
+ //#endregion
220
+ //#region src/Drawer/Drawer.vue
221
+ const _hoisted_1 = [
222
+ "data-side",
223
+ "data-open",
224
+ "data-rendered",
225
+ "popover",
226
+ "role",
227
+ "aria-modal",
228
+ "aria-label"
229
+ ];
230
+ const _hoisted_2 = { class: "astryx-drawer-body" };
231
+ const _hoisted_3 = {
232
+ key: 0,
233
+ class: "astryx-drawer-footer"
234
+ };
235
+ /**
236
+ * 贴边的侧边面板,浮在页面上面,不挤动下面的布局。
237
+ *
238
+ * 带遮罩(默认)时用 `showModal()` 打开:顶层、焦点陷阱、滚动锁、点遮罩关闭。
239
+ * 不带遮罩时用 `popover="manual"` 进入顶层:旁边的页面照常能点、能滚,焦点不关在里面。
240
+ * 进场从贴着的那一边滑入,退场从同一边滑出,播完才离开顶层。
241
+ */
242
+ const _sfc_main$1 = /*@__PURE__*/ defineComponent({
243
+ name: "AstryxDrawer",
244
+ inheritAttrs: false,
245
+ __name: "Drawer",
246
+ props: {
247
+ isOpen: { type: Boolean },
248
+ label: {},
249
+ placement: { default: "end" },
250
+ width: { default: 400 },
251
+ padding: { default: void 0 },
252
+ purpose: { default: "info" },
253
+ hasScrim: {
254
+ type: Boolean,
255
+ default: true
256
+ }
257
+ },
258
+ emits: ["openChange"],
259
+ setup(__props, { emit: __emit }) {
260
+ const props = __props;
261
+ const emit = __emit;
262
+ const attrs = useAttrs();
263
+ resetLayerScopedContext();
264
+ provideLayoutContainer("dialog");
265
+ provide(DIALOG_CONTEXT_KEY, {
266
+ titleId: `astryx-drawer-title-${useId()}`,
267
+ isInline: computed(() => false),
268
+ registerTitle: () => {}
269
+ });
270
+ provideLayerDepth();
271
+ const layerHostRef = ref(null);
272
+ provideLayerMountTarget(layerHostRef);
273
+ const dialogRef = useTemplateRef("dialogRef");
274
+ const contentRef = useTemplateRef("contentRef");
275
+ function initialFocusTarget() {
276
+ const dialog = dialogRef.value;
277
+ if (dialog == null) return null;
278
+ return findInitialFocusTarget(dialog) ?? contentRef.value;
279
+ }
280
+ const { isRendered, isHostOpen } = useDrawerPresence({
281
+ dialog: dialogRef,
282
+ isOpen: () => props.isOpen,
283
+ isModal: () => props.hasScrim,
284
+ initialFocus: initialFocusTarget
285
+ });
286
+ useFocusTrap({
287
+ container: dialogRef,
288
+ isEnabled: computed(() => props.isOpen && props.hasScrim && isHostOpen.value),
289
+ initialFocus: initialFocusTarget
290
+ });
291
+ useScrollLock(computed(() => props.isOpen && props.hasScrim && isHostOpen.value));
292
+ const exitSide = ref(props.placement);
293
+ watch(() => [props.isOpen, props.placement], ([open, placement]) => {
294
+ if (open) exitSide.value = placement;
295
+ });
296
+ const anchoredSide = computed(() => props.isOpen ? props.placement : exitSide.value);
297
+ function requestClose() {
298
+ emit("openChange", false);
299
+ }
300
+ useDrawerLayerDismiss({
301
+ isActive: computed(() => !props.hasScrim && isRendered.value),
302
+ escape: computed(() => props.isOpen && props.purpose !== "required" ? "close" : "block"),
303
+ getContainer: () => dialogRef.value,
304
+ onDismiss: requestClose
305
+ });
306
+ function onCancel(event) {
307
+ if (event.target !== dialogRef.value) return;
308
+ event.preventDefault();
309
+ if (props.isOpen && props.purpose !== "required") requestClose();
310
+ }
311
+ const backdropPress = useBackdropPress(() => dialogRef.value, () => {
312
+ if (props.hasScrim && props.isOpen && props.purpose === "info") requestClose();
313
+ });
314
+ const rootAttrs = computed(() => Object.fromEntries(Object.entries(attrs).filter(([name]) => name !== "class" && name !== "style")));
315
+ const rootStyle = computed(() => ({ "--_drawer-width": formatDialogSize(props.width) }));
316
+ const contentStyle = computed(() => {
317
+ if (props.padding == null) return void 0;
318
+ return { "--_drawer-padding": `var(--astryx-spacing-${String(props.padding).replace(".", "-")})` };
319
+ });
320
+ return (_ctx, _cache) => {
321
+ return openBlock(), createElementBlock(Fragment, null, [createCommentVNode(" eslint-disable-next-line vue-a11y/click-events-have-key-events, vue-a11y/no-static-element-interactions -- 遮罩点击只作用于原生 dialog 元素本身;Escape 由原生 cancel 和关闭栈处理。 "), createElementVNode("dialog", mergeProps({
322
+ ref_key: "dialogRef",
323
+ ref: dialogRef
324
+ }, rootAttrs.value, {
325
+ class: ["astryx-drawer astryx-layer", [
326
+ `astryx-drawer--${anchoredSide.value}`,
327
+ { "astryx-drawer--scrim": __props.hasScrim },
328
+ unref(attrs).class
329
+ ]],
330
+ style: [rootStyle.value, unref(attrs).style],
331
+ "data-side": anchoredSide.value,
332
+ "data-open": __props.isOpen ? "" : void 0,
333
+ "data-rendered": unref(isRendered) ? "" : void 0,
334
+ popover: __props.hasScrim ? void 0 : "manual",
335
+ role: unref(attrs).role ?? (__props.purpose === "required" && __props.hasScrim ? "alertdialog" : void 0),
336
+ "aria-modal": __props.hasScrim && unref(isHostOpen) ? "true" : void 0,
337
+ "aria-label": __props.label,
338
+ onPointerdown: _cache[0] || (_cache[0] = (...args) => unref(backdropPress).onPointerDown && unref(backdropPress).onPointerDown(...args)),
339
+ onClick: _cache[1] || (_cache[1] = (...args) => unref(backdropPress).onClick && unref(backdropPress).onClick(...args)),
340
+ onCancel
341
+ }), [createElementVNode("div", {
342
+ ref_key: "contentRef",
343
+ ref: contentRef,
344
+ class: "astryx-drawer__content",
345
+ tabindex: "-1",
346
+ style: normalizeStyle(contentStyle.value)
347
+ }, [createElementVNode("div", _hoisted_2, [renderSlot(_ctx.$slots, "default")]), _ctx.$slots.footer ? (openBlock(), createElementBlock("div", _hoisted_3, [renderSlot(_ctx.$slots, "footer")])) : createCommentVNode("v-if", true)], 4), createElementVNode("div", {
348
+ ref_key: "layerHostRef",
349
+ ref: layerHostRef,
350
+ class: "astryx-drawer__layer-host"
351
+ }, null, 512)], 16, _hoisted_1)], 2112);
352
+ };
353
+ }
354
+ });
355
+ //#endregion
356
+ //#region src/Drawer/DrawerHeader.vue
357
+ /**
358
+ * 抽屉的标题行。布局、标题语义和关闭按钮的补偿边都复用 `DialogHeader`,
359
+ * 这里只把关闭按钮的默认值和事件名换成抽屉的说法。
360
+ */
361
+ const _sfc_main = /*@__PURE__*/ defineComponent({
362
+ name: "AstryxDrawerHeader",
363
+ __name: "DrawerHeader",
364
+ props: {
365
+ title: {},
366
+ subtitle: { default: void 0 },
367
+ hasCloseButton: {
368
+ type: Boolean,
369
+ default: void 0
370
+ },
371
+ closeButtonLabel: { default: void 0 }
372
+ },
373
+ emits: ["openChange"],
374
+ setup(__props, { emit: __emit }) {
375
+ const props = __props;
376
+ const emit = __emit;
377
+ const instance = getCurrentInstance();
378
+ const slots = useSlots();
379
+ /**
380
+ * 关闭按钮只在有人接关闭请求时出现:没人处理的按钮点了什么也不会发生。
381
+ * 显式传 `hasCloseButton` 时以传入值为准。监听函数在渲染时才看得到,所以放在 computed 里读。
382
+ */
383
+ const showClose = computed(() => props.hasCloseButton ?? instance?.vnode?.props?.onOpenChange != null);
384
+ return (_ctx, _cache) => {
385
+ return openBlock(), createBlock(_sfc_main$2, {
386
+ "close-button-label": __props.closeButtonLabel,
387
+ "has-close-button": showClose.value,
388
+ subtitle: __props.subtitle,
389
+ title: __props.title,
390
+ onOpenChange: _cache[0] || (_cache[0] = ($event) => emit("openChange", false))
391
+ }, createSlots({ _: 2 }, [
392
+ unref(slots).title ? {
393
+ name: "title",
394
+ fn: withCtx(() => [renderSlot(_ctx.$slots, "title")]),
395
+ key: "0"
396
+ } : void 0,
397
+ unref(slots).subtitle ? {
398
+ name: "subtitle",
399
+ fn: withCtx(() => [renderSlot(_ctx.$slots, "subtitle")]),
400
+ key: "1"
401
+ } : void 0,
402
+ unref(slots).startContent ? {
403
+ name: "startContent",
404
+ fn: withCtx(() => [renderSlot(_ctx.$slots, "startContent")]),
405
+ key: "2"
406
+ } : void 0,
407
+ unref(slots).endContent ? {
408
+ name: "endContent",
409
+ fn: withCtx(() => [renderSlot(_ctx.$slots, "endContent")]),
410
+ key: "3"
411
+ } : void 0
412
+ ]), 1032, [
413
+ "close-button-label",
414
+ "has-close-button",
415
+ "subtitle",
416
+ "title"
417
+ ]);
418
+ };
419
+ }
420
+ });
421
+ //#endregion
422
+ export { _sfc_main$1 as n, _sfc_main as t };
@@ -1,3 +1,3 @@
1
1
  import { a as _sfc_main$6, l as useDropdownMenuContext, o as _sfc_main$5, s as _sfc_main$1, u as useDropdownMenuRadioGroup } from "../accessibleName-CHrrgpAy.js";
2
- import { a as _sfc_main$2, i as _sfc_main$3, n as _sfc_main$7, r as _sfc_main$4, t as _sfc_main } from "../DropdownMenu-Bklf6ekH.js";
2
+ import { a as _sfc_main$2, i as _sfc_main$3, n as _sfc_main$7, r as _sfc_main$4, t as _sfc_main } from "../DropdownMenu-DU_Rw88D.js";
3
3
  export { _sfc_main as DropdownMenu, _sfc_main$1 as DropdownMenuCheckboxItem, _sfc_main$2 as DropdownMenuDivider, _sfc_main$3 as DropdownMenuGroup, _sfc_main$4 as DropdownMenuItem, _sfc_main$5 as DropdownMenuRadioGroup, _sfc_main$6 as DropdownMenuRadioItem, _sfc_main$7 as DropdownMenuSubMenu, useDropdownMenuContext, useDropdownMenuRadioGroup };
@@ -18,7 +18,7 @@ import { a as _sfc_main$12, c as dropdownMenuContextKey, i as useDropdownMenuMes
18
18
  import { n as clampInlineSize, r as isIntrinsicInlineSize, t as LAYER_MAX_INLINE_SIZE } from "./inlineSize-BNe8wggI.js";
19
19
  import { t as useHeldPresentation } from "./useHeldPresentation-CaIKTwUh.js";
20
20
  import { t as useMenuEntranceHold } from "./useMenuEntranceHold-DMHMzaRW.js";
21
- import { t as LazyBottomSheet } from "./lazyBottomSheet-zUe1mYmM.js";
21
+ import { t as LazyBottomSheet } from "./lazyBottomSheet-C6Rw8yoX.js";
22
22
  import { t as _sfc_main$15 } from "./Divider-mOZ6vIQw.js";
23
23
  import { t as useBusyAnnouncement } from "./busyAnnouncement-CExubuYm.js";
24
24
  import { t as useMenuHover } from "./useMenuHover-DoBatZeD.js";
@@ -1,2 +1,2 @@
1
- import { a as FileInputSize, i as FileInputProps, n as FileInputEmits, o as FileInputStatus, r as FileInputMode, s as FileInputValue, t as _default } from "../index-BWWirRm3.js";
1
+ import { a as FileInputSize, i as FileInputProps, n as FileInputEmits, o as FileInputStatus, r as FileInputMode, s as FileInputValue, t as _default } from "../index-DHUCHxn2.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-CJdOt5Cc.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-Dk50Zh3F.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 { La as _default, Ra as InfoTipProps, za as InfoTipSize } from "../index-C0smuLQ8.js";
1
+ import { La as _default, Ra as InfoTipProps, za as InfoTipSize } from "../index-B7Rd2RuL.js";
2
2
  export { _default as InfoTip, _default as default, type InfoTipProps, type InfoTipSize };
@@ -1,2 +1,2 @@
1
- import { a as InputGroupSlots, c as INPUT_GROUP_KEY, i as InputGroupSize, l as InputGroupContext, n as _default, o as InputGroupTextProps, r as InputGroupProps, s as InputGroupTextSlots, t as _default$1 } from "../index-maTGrWjF.js";
1
+ import { a as InputGroupSlots, c as INPUT_GROUP_KEY, i as InputGroupSize, l as InputGroupContext, n as _default, o as InputGroupTextProps, r as InputGroupProps, s as InputGroupTextSlots, t as _default$1 } from "../index-BenG-F5d.js";
2
2
  export { INPUT_GROUP_KEY, _default as InputGroup, type InputGroupContext, type InputGroupProps, type InputGroupSize, type InputGroupSlots, _default$1 as InputGroupText, type InputGroupTextProps, type InputGroupTextSlots };
@@ -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 { Ia as _default } from "../index-C0smuLQ8.js";
2
+ import { Ia as _default } from "../index-B7Rd2RuL.js";
3
3
  export { _default as Link, type LinkColor, type LinkProps, type LinkRoot, type LinkSize, type LinkType, type LinkWeight };
@@ -1,3 +1,3 @@
1
1
  import { _ as ListItemProps, a as ItemLayout, b as ListProps, c as ItemSwipeAction, d as ItemSwipeSide, f as ItemTarget, g as ListEdgeCompensation, h as ListEdge, i as ItemLabel, l as ItemSwipeActions, m as ListDensity, n as ItemDensity, o as ItemProps, p as ItemText, r as ItemElement, s as ItemSlots, t as ItemAlign, u as ItemSwipeBehavior, v as ListItemSlots, x as ListSlots, y as ListMarkerStyle } from "../types-BHHT6Bho.js";
2
- import { a as useListContext, i as useItemDescriptionId, n as _default$1, r as _default, t as _default$2 } from "../index-D2B3ysZr.js";
2
+ import { a as useListContext, i as useItemDescriptionId, n as _default$1, r as _default, t as _default$2 } from "../index-CGRtGORf.js";
3
3
  export { _default as Item, type ItemAlign, type ItemDensity, type ItemElement, type ItemLabel, type ItemLayout, type ItemProps, type ItemSlots, type ItemSwipeAction, type ItemSwipeActions, type ItemSwipeBehavior, type ItemSwipeSide, type ItemTarget, type ItemText, _default$1 as List, type ListDensity, type ListEdge, type ListEdgeCompensation, _default$2 as ListItem, type ListItemProps, type ListItemSlots, type ListMarkerStyle, type ListProps, type ListSlots, useItemDescriptionId, useListContext };
@@ -1,4 +1,4 @@
1
- import { Aa as MarkdownTransformContext, Ca as MarkdownListProps, Da as MarkdownInlinePlugin, Ea as MarkdownSource, Fa as isMarkdownExtensionNode, Ma as applyMarkdownPlugins, Na as defineMarkdownPlugin, Oa as MarkdownPlugin, Pa as firstStrongDirection, Sa as MarkdownLinkProps, Ta as MarkdownSlots, _a as MarkdownDisplay, ba as MarkdownImageProps, ca as ParseMarkdownOptions, da as MarkdownAlign, fa as MarkdownAutolink, ga as MarkdownDensity, ha as MarkdownComponents, ja as applyInlinePlugins, ka as MarkdownPluginRenderContext, la as parseMarkdown, ma as MarkdownCodeProps, oa as slugify, pa as MarkdownCitationStyle, sa as uniqueSlug, ua as _default, va as MarkdownHeadingLevel, wa as MarkdownProps, xa as MarkdownInlineCodeProps, ya as MarkdownHeadingProps } from "../index-C0smuLQ8.js";
1
+ import { Aa as MarkdownTransformContext, Ca as MarkdownListProps, Da as MarkdownInlinePlugin, Ea as MarkdownSource, Fa as isMarkdownExtensionNode, Ma as applyMarkdownPlugins, Na as defineMarkdownPlugin, Oa as MarkdownPlugin, Pa as firstStrongDirection, Sa as MarkdownLinkProps, Ta as MarkdownSlots, _a as MarkdownDisplay, ba as MarkdownImageProps, ca as ParseMarkdownOptions, da as MarkdownAlign, fa as MarkdownAutolink, ga as MarkdownDensity, ha as MarkdownComponents, ja as applyInlinePlugins, ka as MarkdownPluginRenderContext, la as parseMarkdown, ma as MarkdownCodeProps, oa as slugify, pa as MarkdownCitationStyle, sa as uniqueSlug, ua as _default, va as MarkdownHeadingLevel, wa as MarkdownProps, xa as MarkdownInlineCodeProps, ya as MarkdownHeadingProps } from "../index-B7Rd2RuL.js";
2
2
  import { K as MarkdownAstRoot, Q as visitMarkdownNodes, U as MarkdownAstPhrasingContent } from "../protocol-DwUmpC5G.js";
3
3
  import { a as ParseOptions, c as parseInlineAst, d as parseMarkdownIncremental, f as BlockNode, m as InlineNode, o as createIncrementalState, s as parseInline, u as parseMarkdownAst, y as SourceRange } from "../publicParser-B6XMcsB2.js";
4
4
  import { t as decodeMarkdownCharacterReferences } from "../index-BkUkm6Al.js";
@@ -1,2 +1,2 @@
1
- import { $i as MoreMenuItemVariant, Ji as MoreMenuDivider, Qi as MoreMenuItem, Xi as MoreMenuIcon, Yi as MoreMenuEmits, Zi as MoreMenuInitialFocus, aa as MoreMenuSlots, ea as MoreMenuOption, ia as MoreMenuSection, na as MoreMenuProps, qi as _default, ra as MoreMenuResolvedPresentation, ta as MoreMenuPresentation } from "../index-C0smuLQ8.js";
1
+ import { $i as MoreMenuItemVariant, Ji as MoreMenuDivider, Qi as MoreMenuItem, Xi as MoreMenuIcon, Yi as MoreMenuEmits, Zi as MoreMenuInitialFocus, aa as MoreMenuSlots, ea as MoreMenuOption, ia as MoreMenuSection, na as MoreMenuProps, qi as _default, ra as MoreMenuResolvedPresentation, ta as MoreMenuPresentation } from "../index-B7Rd2RuL.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-BRr4ANpr.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-hwP1oWCA.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 { n as SELECT_ALL_VALUE, r as flattenOptions, t as _sfc_main } from "../MultiSelector-BjFYfRqV.js";
1
+ import { n as SELECT_ALL_VALUE, r as flattenOptions, t as _sfc_main } from "../MultiSelector-DUQMNBoZ.js";
2
2
  export { _sfc_main as MultiSelector, SELECT_ALL_VALUE, flattenOptions };
@@ -1,4 +1,4 @@
1
- import { n as _sfc_main$2 } from "./BottomSheet-CYsGu9GP.js";
1
+ import { n as _sfc_main$2 } from "./BottomSheet-Cr6FacYP.js";
2
2
  import { t as _sfc_main$3 } from "./Icon-Dk0jccgU.js";
3
3
  import { n as useInputGroupContext, r as useInputGroupDisabled } from "./context-Bg7eSJ47.js";
4
4
  import { i as useSize } from "./SizeContext-BbaF-SEx.js";
@@ -1,3 +1,3 @@
1
1
  import { a as NavItemSize, i as NavItemProps, n as NavIconSlots, o as NavItemSlots, r as NavItemEmits, s as NavLinkComponent, t as NavIconProps } from "../types-C2ZuV4jf.js";
2
- import { n as _default, r as resolveNavRoot, t as _default$1 } from "../index-BfFpUr1B.js";
2
+ import { n as _default, r as resolveNavRoot, t as _default$1 } from "../index-ZKBj_1nu.js";
3
3
  export { _default as NavIcon, type NavIconProps, type NavIconSlots, _default$1 as NavItem, type NavItemEmits, type NavItemProps, type NavItemSize, type NavItemSlots, type NavLinkComponent, resolveNavRoot };
@@ -1,2 +1,2 @@
1
- import { Gi as NumberInputStatus, Hi as _default, Ki as NumberInputEntryError, Ui as NumberInputEmits, Wi as NumberInputProps } from "../index-C0smuLQ8.js";
1
+ import { Gi as NumberInputStatus, Hi as _default, Ki as NumberInputEntryError, Ui as NumberInputEmits, Wi as NumberInputProps } from "../index-B7Rd2RuL.js";
2
2
  export { _default as NumberInput, type NumberInputEmits, type NumberInputEntryError, type NumberInputProps, type NumberInputStatus };
@@ -1,2 +1,2 @@
1
- import { Bi as OverflowListItem, Li as _default, Ri as OverflowListCollapsedItem, Vi as OverflowListProps, zi as OverflowListEmits } from "../index-C0smuLQ8.js";
1
+ import { Bi as OverflowListItem, Li as _default, Ri as OverflowListCollapsedItem, Vi as OverflowListProps, zi as OverflowListEmits } from "../index-B7Rd2RuL.js";
2
2
  export { _default as OverflowList, type OverflowListCollapsedItem, type OverflowListEmits, type OverflowListItem, type OverflowListProps };
@@ -1,2 +1,2 @@
1
- import { a as OverlayContainerProps, c as OverlayScrimMode, d as OverlayShowOn, f as OverlaySlots, i as OverlayAlign, l as OverlayScrimProps, m as UseOverlayResult, n as _default$1, o as OverlayPosition, p as UseOverlayOptions, r as _default, s as OverlayProps, t as useOverlay, u as OverlayScrimSlots } from "../index-BuubzuE8.js";
1
+ import { a as OverlayContainerProps, c as OverlayScrimMode, d as OverlayShowOn, f as OverlaySlots, i as OverlayAlign, l as OverlayScrimProps, m as UseOverlayResult, n as _default$1, o as OverlayPosition, p as UseOverlayOptions, r as _default, s as OverlayProps, t as useOverlay, u as OverlayScrimSlots } from "../index-BDZCJ9ri.js";
2
2
  export { _default as Overlay, type OverlayAlign, type OverlayContainerProps, type OverlayPosition, type OverlayProps, _default$1 as OverlayScrim, type OverlayScrimMode, type OverlayScrimProps, type OverlayScrimSlots, type OverlayShowOn, type OverlaySlots, type UseOverlayOptions, type UseOverlayResult, useOverlay };
@@ -1,2 +1,2 @@
1
- import { a as PaginationSlots, i as PaginationSize, n as PaginationEmits, o as PaginationVariant, r as PaginationProps, t as _default } from "../index-CArP_6wv.js";
1
+ import { a as PaginationSlots, i as PaginationSize, n as PaginationEmits, o as PaginationVariant, r as PaginationProps, t as _default } from "../index-0RIgvtdm.js";
2
2
  export { _default as Pagination, type PaginationEmits, type PaginationProps, type PaginationSize, type PaginationSlots, type PaginationVariant };
@@ -1,2 +1,2 @@
1
- import { t as _sfc_main } from "../Pagination-DGcl38z9.js";
1
+ import { t as _sfc_main } from "../Pagination-DBikmHyn.js";
2
2
  export { _sfc_main as Pagination };
@@ -8,7 +8,7 @@ import { t as consumeWhileDisabled } from "./disabledInteraction-Bqoyhoss.js";
8
8
  import { i as safeNavHref } from "./link-DuuA2eCL.js";
9
9
  import { t as paginationMessages } from "./pagination-CxZBYsPu.js";
10
10
  import { t as _sfc_main$1 } from "./NumberInput-vWUcgJU8.js";
11
- import { t as _sfc_main$2 } from "./Selector-CHq3XHwH.js";
11
+ import { t as _sfc_main$2 } from "./Selector-BvxQXUYr.js";
12
12
  import { Fragment, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createTextVNode, createVNode, defineComponent, getCurrentInstance, mergeProps, normalizeClass, onBeforeUnmount, onMounted, openBlock, ref, renderList, renderSlot, resolveDynamicComponent, shallowRef, toDisplayString, toRaw, toValue, unref, vShow, watch, withCtx, withDirectives, withModifiers } from "vue";
13
13
  import "../styles/pagination.css";
14
14
  /**
@@ -1,3 +1,3 @@
1
1
  import { a as PopoverProps, i as PopoverPresentation, n as PopoverPadding, o as PopoverRole, r as PopoverPlacement, t as PopoverAlignment } from "../types-D97oBk6c.js";
2
- import { i as _default, n as UsePopoverReturn, r as usePopover, t as UsePopoverOptions } from "../index-C6Iv6sgd.js";
2
+ import { i as _default, n as UsePopoverReturn, r as usePopover, t as UsePopoverOptions } from "../index-CilCxEvD.js";
3
3
  export { _default as Popover, type PopoverAlignment, type PopoverPadding, type PopoverPlacement, type PopoverPresentation, type PopoverProps, type PopoverRole, type UsePopoverOptions, type UsePopoverReturn, usePopover };
@@ -1,2 +1,2 @@
1
- import { n as usePopover, t as _sfc_main } from "../Popover-DlCqmkYD.js";
1
+ import { n as usePopover, t as _sfc_main } from "../Popover-CTCWhA_K.js";
2
2
  export { _sfc_main as Popover, usePopover };
@@ -19,7 +19,7 @@ import { n as mapRange, t as mapProgress } from "./progress-FQfSgLZC.js";
19
19
  import { t as bottomSheetEscapeKey } from "./escape-DzSxSmez.js";
20
20
  import { n as clampInlineSize, t as LAYER_MAX_INLINE_SIZE } from "./inlineSize-BNe8wggI.js";
21
21
  import { i as useAdaptivePresentation, t as createPresentationHold } from "./presentationHold-ZKixVLcz.js";
22
- import { n as preloadBottomSheet, t as LazyBottomSheet } from "./lazyBottomSheet-zUe1mYmM.js";
22
+ import { n as preloadBottomSheet, t as LazyBottomSheet } from "./lazyBottomSheet-C6Rw8yoX.js";
23
23
  import { t as popoverMessages } from "./popover-DxCyd_Ua.js";
24
24
  import { Fragment, Teleport, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createVNode, defineComponent, mergeProps, nextTick, onBeforeUnmount, onMounted, onScopeDispose, onUpdated, openBlock, provide, ref, renderSlot, shallowRef, toValue, unref, useId, vShow, watch, withCtx, withDirectives } from "vue";
25
25
  import "../styles/popover.css";
@@ -1,2 +1,2 @@
1
- import { Ai as PowerSearchOperator, Ci as PowerSearchEntity, Di as PowerSearchFilter, Ei as PowerSearchFieldType, Fi as PowerSearchSlots, Ii as PowerSearchStatus, Mi as PowerSearchPresentation, Ni as PowerSearchProps, Oi as PowerSearchHandle, Pi as PowerSearchSize, Si as PowerSearchEmits, Ti as PowerSearchFieldDefinition, _i as OperatorValue, ai as _default, bi as PowerSearchComponents, ci as formatDateAbsolute, di as completePowerSearchFilter, ei as searchPowerSearchFields, fi as PowerSearchLookup, gi as FilterValue, hi as DateTimeRangePart, ii as usePowerSearchConfig, ji as PowerSearchOverflow, ki as PowerSearchItem, li as formatDateAbsoluteCompact, mi as DateTimeRange, ni as applyPowerSearchFilters, oi as resolveEditorPlacement, pi as createPowerSearchLookup, ri as createPowerSearchConfig, si as resolveOperatorLabel, ti as InferPowerSearchData, ui as formatFilterValue, vi as PartialFilter, wi as PowerSearchField, xi as PowerSearchConfig, yi as PowerSearchChangeType } from "../index-C0smuLQ8.js";
1
+ import { Ai as PowerSearchOperator, Ci as PowerSearchEntity, Di as PowerSearchFilter, Ei as PowerSearchFieldType, Fi as PowerSearchSlots, Ii as PowerSearchStatus, Mi as PowerSearchPresentation, Ni as PowerSearchProps, Oi as PowerSearchHandle, Pi as PowerSearchSize, Si as PowerSearchEmits, Ti as PowerSearchFieldDefinition, _i as OperatorValue, ai as _default, bi as PowerSearchComponents, ci as formatDateAbsolute, di as completePowerSearchFilter, ei as searchPowerSearchFields, fi as PowerSearchLookup, gi as FilterValue, hi as DateTimeRangePart, ii as usePowerSearchConfig, ji as PowerSearchOverflow, ki as PowerSearchItem, li as formatDateAbsoluteCompact, mi as DateTimeRange, ni as applyPowerSearchFilters, oi as resolveEditorPlacement, pi as createPowerSearchLookup, ri as createPowerSearchConfig, si as resolveOperatorLabel, ti as InferPowerSearchData, ui as formatFilterValue, vi as PartialFilter, wi as PowerSearchField, xi as PowerSearchConfig, yi as PowerSearchChangeType } from "../index-B7Rd2RuL.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 PowerSearchPresentation, 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-BKhXYPRO.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-CTNFHNnr.js";
2
2
  export { _sfc_main as PowerSearch, applyPowerSearchFilters, completePowerSearchFilter, createPowerSearchConfig, createPowerSearchLookup, formatDateAbsolute, formatDateAbsoluteCompact, formatFilterValue, resolveEditorPlacement, resolveOperatorLabel, searchPowerSearchFields, usePowerSearchConfig };
@@ -16,7 +16,7 @@ import { t as _sfc_main$16 } from "./Tooltip-BdG9g6c6.js";
16
16
  import { t as _sfc_main$17 } from "./Heading-BZ0ydu2s.js";
17
17
  import { t as useScrollbars } from "./useScrollbars-Ch0xqJWO.js";
18
18
  import { t as _sfc_main$18 } from "./Text-bvai__ae.js";
19
- import { t as LazyBottomSheet } from "./lazyBottomSheet-zUe1mYmM.js";
19
+ import { t as LazyBottomSheet } from "./lazyBottomSheet-C6Rw8yoX.js";
20
20
  import { r as useCalendarSystem } from "./calendar-C7py_wtb.js";
21
21
  import { r as formatCalendarInstant } from "./calendarFormat-_CEZIMZG.js";
22
22
  import { t as _sfc_main$19 } from "./Calendar-CUMnYIhe.js";
@@ -24,22 +24,22 @@ import { t as _sfc_main$20 } from "./Field-CZndbiqR.js";
24
24
  import { t as useFieldPartStyling } from "./fieldParts-CuE5V12i.js";
25
25
  import { n as _sfc_main$21, t as _sfc_main$22 } from "./ListItem-B1ztelEC.js";
26
26
  import { n as _sfc_main$23, t as _sfc_main$24 } from "./CheckboxListItem-DoWYdLf-.js";
27
- import { t as _sfc_main$25 } from "./DateInput-BNKoPL3j.js";
27
+ import { t as _sfc_main$25 } from "./DateInput-BHSp4fZS.js";
28
28
  import { t as tokenizerMessages } from "./tokenizer-C1y-55Ft.js";
29
29
  import { l as powerSearchMessages, u as powerSearchSheetMessages } from "./loadCatalog-CKntEldg.js";
30
- import { t as _sfc_main$26 } from "./DateRangeInput-CGDlPnUb.js";
31
- import { t as _sfc_main$27 } from "./DateTimeInput-CRWUAh75.js";
30
+ import { t as _sfc_main$26 } from "./DateRangeInput-DP1QWK_6.js";
31
+ import { t as _sfc_main$27 } from "./DateTimeInput-Bgx9lgWb.js";
32
32
  import { t as _sfc_main$28 } from "./EmptyState-DU7uOI2G.js";
33
33
  import { n as tokenNamingKey, t as _sfc_main$29 } from "./Token-Dk6MPUkH.js";
34
34
  import { n as scrollOptionIntoView, r as useAnchoredListbox } from "./stillPointerGate-BU1CKW7m.js";
35
- import { t as _sfc_main$30 } from "./MultiSelector-BjFYfRqV.js";
35
+ import { t as _sfc_main$30 } from "./MultiSelector-DUQMNBoZ.js";
36
36
  import { n as resolveNumberInputCommit, t as _sfc_main$31 } from "./NumberInput-vWUcgJU8.js";
37
- import { t as _sfc_main$32 } from "./Selector-CHq3XHwH.js";
37
+ import { t as _sfc_main$32 } from "./Selector-BvxQXUYr.js";
38
38
  import { o as useTypeaheadMenu } from "./useTypeaheadMenuConfig-B14t0HGE.js";
39
- import { a as _sfc_main$34, i as dismissSearchOnTouchDrag, n as useSheetPresentation, r as useTokenRemoveTap, t as _sfc_main$33 } from "./Tokenizer-hmGkGVG7.js";
39
+ import { a as _sfc_main$34, i as dismissSearchOnTouchDrag, n as useSheetPresentation, r as useTokenRemoveTap, t as _sfc_main$33 } from "./Tokenizer-D-wBxbBE.js";
40
40
  import { t as _sfc_main$35 } from "./TextInput-cotkU2bC.js";
41
41
  import { n as _sfc_main$36, t as _sfc_main$37 } from "./RadioListItem-BAEF0vc8.js";
42
- import { t as _sfc_main$38 } from "./TimeInput-C_ZssG1D.js";
42
+ import { t as _sfc_main$38 } from "./TimeInput-Bqo_oHMl.js";
43
43
  import { t as _sfc_main$39 } from "./Typeahead-Cx086Mmv.js";
44
44
  import { Fragment, Teleport, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createSlots, createTextVNode, createVNode, defineComponent, guardReactiveProps, h, mergeModels, mergeProps, nextTick, normalizeClass, normalizeProps, normalizeStyle, onMounted, openBlock, provide, reactive, ref, renderList, renderSlot, resolveComponent, resolveDynamicComponent, shallowRef, toDisplayString, toHandlers, unref, useAttrs, useId, useModel, useSlots, useTemplateRef, vShow, watch, withCtx, withDirectives, withModifiers } from "vue";
45
45
  import "../styles/layer.css";
@@ -1,2 +1,2 @@
1
- import { a as ProgressBarVariant, i as ProgressBarSize, n as ProgressBarMark, r as ProgressBarProps, t as _default } from "../index-Xc3q9f84.js";
1
+ import { a as ProgressBarVariant, i as ProgressBarSize, n as ProgressBarMark, r as ProgressBarProps, t as _default } from "../index-COgrQZIL.js";
2
2
  export { _default as ProgressBar, type ProgressBarMark, type ProgressBarProps, type ProgressBarSize, type ProgressBarVariant };