@astryx-vue/core 0.19.0 → 0.20.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.
- package/dist/AlertDialog/index.js +1 -1
- package/dist/{AlertDialog-CNb0dkY9.js → AlertDialog-Dbg8L2oy.js} +1 -1
- package/dist/AppShell/index.js +1 -1
- package/dist/{AppShell-NvIT99xw.js → AppShell-zEXmJb1h.js} +116 -9
- package/dist/AvatarGroup/index.d.ts +1 -1
- package/dist/Banner/index.d.ts +1 -1
- package/dist/BottomSheet/index.js +2 -2
- package/dist/{BottomSheet-CCW58Kl3.js → BottomSheet-DNuzJPfQ.js} +2 -2
- package/dist/{BottomSheet-HQpcSkPH.js → BottomSheet-DV7bboru.js} +1 -1
- package/dist/Breadcrumbs/index.d.ts +1 -1
- package/dist/Breadcrumbs/index.js +1 -1
- package/dist/{Breadcrumbs-DXzBkpkd.js → Breadcrumbs-yB6yZCuZ.js} +1 -1
- package/dist/Button/index.d.ts +1 -1
- package/dist/ButtonGroup/index.d.ts +1 -1
- package/dist/Calendar/index.d.ts +1 -1
- package/dist/Calendar/index.js +1 -1
- package/dist/{Calendar-DSRNuw3y.js → Calendar-ydp0vJdO.js} +1 -1
- package/dist/Carousel/index.d.ts +1 -1
- package/dist/Center/index.d.ts +1 -1
- package/dist/Chat/index.d.ts +1 -1
- package/dist/CheckboxInput/index.d.ts +1 -1
- package/dist/CheckboxList/index.d.ts +1 -1
- package/dist/ClickableCard/index.d.ts +1 -1
- package/dist/Collapsible/index.js +1 -1
- package/dist/{Collapsible-ExzU7vC0.js → Collapsible-BG-u5nEt.js} +2 -1
- package/dist/CommandPalette/index.js +1 -1
- package/dist/{CommandPalette-CECjNvGB.js → CommandPalette-CV7t0ouM.js} +1 -1
- package/dist/ComplexSelector/index.d.ts +1 -1
- package/dist/ComplexSelector/index.js +1 -1
- package/dist/{ComplexSelector-Dmaag1wm.js → ComplexSelector-BOACo2vq.js} +1 -1
- package/dist/ContextMenu/index.d.ts +1 -1
- package/dist/ContextMenu/index.js +1 -1
- package/dist/{ContextMenu-CujLDt4e.js → ContextMenu-_cj8wRB6.js} +1 -1
- package/dist/DateInput/index.d.ts +1 -1
- package/dist/DateInput/index.js +1 -1
- package/dist/{DateInput-s2H0orUW.js → DateInput-DrMqXWSj.js} +3 -3
- package/dist/DateRangeInput/index.d.ts +1 -1
- package/dist/DateRangeInput/index.js +1 -1
- package/dist/{DateRangeInput-Dn9I2PMM.js → DateRangeInput-BZuyhf-w.js} +19 -11
- package/dist/DateTimeInput/index.d.ts +1 -1
- package/dist/DateTimeInput/index.js +1 -1
- package/dist/{DateTimeInput-BR_tdURg.js → DateTimeInput-DhB2gzx5.js} +3 -3
- package/dist/Dialog/index.js +3 -3
- package/dist/{Dialog-BQ5OBB1d.js → Dialog-B2pOTrnQ.js} +1 -1
- package/dist/{Dialog-DgdbRn2l.js → Dialog-CztWmbf8.js} +1 -1
- package/dist/{DialogHeader-D8234o9F.js → DialogHeader-5A5BUTTB.js} +1 -1
- package/dist/Divider/index.d.ts +1 -1
- package/dist/Drawer/index.d.ts +1 -1
- package/dist/Drawer/index.js +1 -1
- package/dist/{Drawer-Dqus7kUc.js → Drawer-Dt6paoDZ.js} +2 -2
- package/dist/DropdownMenu/index.js +2 -2
- package/dist/{DropdownMenu-LQsXd-_V.js → DropdownMenu-CFX1k1Ib.js} +1 -1
- package/dist/{DropdownMenu-BC_zB9le.js → DropdownMenu-D8s058G5.js} +1 -1
- package/dist/FileInput/index.d.ts +1 -1
- package/dist/InfoTip/index.d.ts +1 -1
- package/dist/InputGroup/index.d.ts +1 -1
- package/dist/Lightbox/index.js +1 -1
- package/dist/{Lightbox-RN_f7zRw.js → Lightbox-D8kFIbPj.js} +1 -1
- package/dist/Link/index.d.ts +1 -1
- package/dist/List/index.d.ts +1 -1
- package/dist/MobileNav/index.d.ts +1 -1
- package/dist/MobileNav/index.js +1 -1
- package/dist/{MobileNavToggle-DlQmYaBx.js → MobileNavToggle-CKEOroi0.js} +75 -32
- package/dist/MoreMenu/index.d.ts +1 -1
- package/dist/MultiSelector/index.d.ts +1 -1
- package/dist/MultiSelector/index.js +1 -1
- package/dist/{MultiSelector-BK6nZweN.js → MultiSelector-CkAhUYdn.js} +1 -1
- package/dist/{NavHeadingSurface-C17cbKn9.js → NavHeadingSurface-DZPa2px5.js} +19 -5
- package/dist/NavItem/index.d.ts +2 -2
- package/dist/NavItem/index.js +1 -1
- package/dist/{NavItem-BAe-tUG9.js → NavItem-CcbOJNnY.js} +18 -5
- package/dist/NavMenu/index.d.ts +1 -1
- package/dist/NumberInput/index.d.ts +1 -1
- package/dist/OverflowList/index.d.ts +1 -1
- package/dist/Overlay/index.d.ts +1 -1
- package/dist/Pagination/index.js +1 -1
- package/dist/{Pagination-DFQNX_Mb.js → Pagination-C0oI5FRP.js} +1 -1
- package/dist/Popover/index.d.ts +1 -1
- package/dist/Popover/index.js +1 -1
- package/dist/{Popover-CmAEizH-.js → Popover-Cl4gQQZq.js} +2 -1
- package/dist/PowerSearch/index.d.ts +1 -1
- package/dist/PowerSearch/index.js +1 -1
- package/dist/{PowerSearch-CDEn08Pe.js → PowerSearch-CPgbhvEL.js} +6 -6
- package/dist/Radio/index.d.ts +1 -1
- package/dist/RadioList/index.d.ts +1 -1
- package/dist/ScrollableArea/index.d.ts +1 -1
- package/dist/SelectableCard/index.d.ts +1 -1
- package/dist/Selector/index.d.ts +1 -1
- package/dist/Selector/index.js +1 -1
- package/dist/{Selector-Bo7qkt1P.js → Selector-CUTnAjq-.js} +1 -1
- package/dist/SideNav/index.d.ts +1 -1
- package/dist/SideNav/index.js +2 -2
- package/dist/{SideNav-CcZLUd7G.js → SideNav-5yLlEOdD.js} +511 -57
- package/dist/Switch/index.d.ts +1 -1
- package/dist/TabList/index.d.ts +1 -1
- package/dist/Table/index.d.ts +1 -1
- package/dist/Table/index.js +1 -1
- package/dist/{Table-WukSceMV.js → Table-Eok91IcO.js} +8 -6
- package/dist/TextArea/index.d.ts +1 -1
- package/dist/TextInput/index.d.ts +1 -1
- package/dist/{TimeField-BM-rVFhC.js → TimeField-jfhGVEyI.js} +1 -1
- package/dist/TimeInput/index.d.ts +1 -1
- package/dist/TimeInput/index.js +1 -1
- package/dist/{TimeInput-CkZfhhAr.js → TimeInput-CvFcN4nl.js} +1 -1
- package/dist/Timestamp/index.d.ts +1 -1
- package/dist/ToggleButton/index.d.ts +1 -1
- package/dist/Token/index.d.ts +1 -1
- package/dist/Tokenizer/index.d.ts +1 -1
- package/dist/Toolbar/index.d.ts +1 -1
- package/dist/TopNav/index.d.ts +1 -1
- package/dist/TopNav/index.js +1 -1
- package/dist/{TopNav-CFkThrKq.js → TopNav-CSFUTuyI.js} +3 -3
- package/dist/TreeList/index.js +1 -1
- package/dist/{TreeList-ugSF9DWj.js → TreeList-B33huihx.js} +2 -1
- package/dist/{landing-Bs0aMIsR.js → batch-BJD6Bt-O.js} +42 -740
- package/dist/composables/index.d.ts +1 -1
- package/dist/composables/index.js +4 -4
- package/dist/{composables-BgfubKnk.js → composables-CDrwFX0l.js} +2 -19
- package/dist/context-Cj_zItu2.js +729 -0
- package/dist/edge-DIlkB7vS.js +164 -0
- package/dist/edgeRide-D0oC2JEB.js +499 -0
- package/dist/focusRegion-CmDg7_4b.js +81 -0
- package/dist/{handle-BPXdHbkr.js → handle-ChN2TMKH.js} +1 -1
- package/dist/{index-CuW4AQ7M.d.ts → index--kbwaSXW.d.ts} +1 -1
- package/dist/{index-CryFtTT6.d.ts → index-BIQZa2BD.d.ts} +1 -1
- package/dist/{index-ZbNwGVkS.d.ts → index-BKnyTWPM.d.ts} +1 -1
- package/dist/{index-BDZCJ9ri.d.ts → index-BuubzuE8.d.ts} +2 -2
- package/dist/{index-CEjvYAUZ.d.ts → index-BvWBeoa8.d.ts} +1 -1
- package/dist/{index-BeR-1LgF.d.ts → index-C5fbwY7Y.d.ts} +4 -3
- package/dist/{index-D05JGsT3.d.ts → index-C8wfe0Mr.d.ts} +1 -1
- package/dist/{index-CyMStZq4.d.ts → index-CHLLk77c.d.ts} +6 -6
- package/dist/{index-BLnvQ4Oj.d.ts → index-DBu-H-vB.d.ts} +5 -1
- package/dist/{index-QnlWyUxN.d.ts → index-DE1genab.d.ts} +2 -2
- package/dist/{index-t27MvEzT.d.ts → index-DbfcTFO6.d.ts} +47 -43
- package/dist/{index-lmd9LZKB.d.ts → index-Djf0M7PH.d.ts} +1 -1
- package/dist/{index-9tZJgo0R.d.ts → index-DoSTYXsP.d.ts} +1 -1
- package/dist/{index-CH-xSiJz.d.ts → index-DtZUOyCy.d.ts} +2 -2
- package/dist/{index-CfXW4km8.d.ts → index-GgHVkJtB.d.ts} +1 -1
- package/dist/{index-BapQGST1.d.ts → index-Xhq1E7WZ.d.ts} +3 -3
- package/dist/{index-C1zwvxPH.d.ts → index-ZKBj_1nu.d.ts} +2 -1
- package/dist/{index-CULdl3Dg.d.ts → index-gxuXI7KD.d.ts} +3 -3
- package/dist/{index-dWlCpnua.d.ts → index-mK1ICsVg.d.ts} +1 -1
- package/dist/{index-C9OzEvE_.d.ts → index-mPBIdznc.d.ts} +5 -5
- package/dist/index.d.ts +22 -22
- package/dist/index.js +37 -37
- package/dist/landing-C7nc9JHm.js +104 -0
- package/dist/quietFinished-CKZXgsPM.js +19 -0
- package/dist/{types-BG23kC3S.d.ts → types-C2ZuV4jf.d.ts} +7 -1
- package/dist/{useDateRange-CIXoE_8k.js → useDateRange-D1Szw54e.js} +7 -3
- package/dist/{useFocusTrap-BUd-fvUH.js → useFocusTrap-DsYtRdmV.js} +2 -81
- package/dist/{useMonthGrid-fGHSSrFc.js → useMonthGrid-Bzvlstgc.js} +1 -1
- package/package.json +1 -1
- package/styles/date-range-input.css +19 -2
- package/styles/mobile-nav.css +4 -2
- package/styles/nav-item.css +3 -3
- package/styles/side-nav.css +36 -8
- package/dist/context-ZsDEkhSF.js +0 -24
- package/dist/{index-J6YRJ7Ul.d.ts → index-CHx33xGa.d.ts} +1 -1
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as _sfc_main, t as useImperativeAlertDialog } from "../AlertDialog-
|
|
1
|
+
import { n as _sfc_main, t as useImperativeAlertDialog } from "../AlertDialog-Dbg8L2oy.js";
|
|
2
2
|
export { _sfc_main as AlertDialog, useImperativeAlertDialog };
|
|
@@ -3,7 +3,7 @@ import { t as useActionGroupTracking } from "./useActionGroupTracking-DGeOIv3K.j
|
|
|
3
3
|
import { t as _sfc_main$1 } from "./Button-BZtim0B-.js";
|
|
4
4
|
import { t as useCoarsePointer } from "./useCoarsePointer-GItEMrjX.js";
|
|
5
5
|
import { t as useMediaQuery } from "./useMediaQuery-BzXGT1Aw.js";
|
|
6
|
-
import { t as _sfc_main$2 } from "./Dialog-
|
|
6
|
+
import { t as _sfc_main$2 } from "./Dialog-CztWmbf8.js";
|
|
7
7
|
import { t as _sfc_main$3 } from "./Heading-Oph-5DDq.js";
|
|
8
8
|
import { t as useScrollbars } from "./useScrollbars-Ch0xqJWO.js";
|
|
9
9
|
import { t as _sfc_main$4 } from "./Stack-DPB-Ztf7.js";
|
package/dist/AppShell/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as _sfc_main } from "../AppShell-
|
|
1
|
+
import { t as _sfc_main } from "../AppShell-zEXmJb1h.js";
|
|
2
2
|
export { _sfc_main as AppShell };
|
|
@@ -1,3 +1,7 @@
|
|
|
1
|
+
import { n as createAnimatedLayout } from "./handle-ChN2TMKH.js";
|
|
2
|
+
import { g as layoutStartFor } from "./batch-BJD6Bt-O.js";
|
|
3
|
+
import { c as holdLayoutSwap, i as sideNavShellKey, l as playLayoutFrames, r as sideNavRenderModeKey, u as playLayoutSwap } from "./context-Cj_zItu2.js";
|
|
4
|
+
import { i as reportLayoutChange, n as landLayoutGlide, r as layoutMotionFor } from "./landing-C7nc9JHm.js";
|
|
1
5
|
import { t as appShellMobileKey } from "./useAppShellMobile-DTsyuAJ4.js";
|
|
2
6
|
import { o as useComponentMessages } from "./context-B8IEFCDR.js";
|
|
3
7
|
import { t as attachScrollKeyboardDelegation } from "./scrollKeyboardDelegation-DZ4t5PvC.js";
|
|
@@ -5,8 +9,7 @@ import { n as observeMainOverflow } from "./useScrollRegionProps-DwkPUb-O.js";
|
|
|
5
9
|
import { a as _sfc_main$2, n as _sfc_main$4, r as _sfc_main$3, t as _sfc_main$5 } from "./LayoutPanel-DuroKU_A.js";
|
|
6
10
|
import { t as layoutMessages } from "./layout-DhX4-SyE.js";
|
|
7
11
|
import { t as navMessages } from "./nav-DpKQUHqR.js";
|
|
8
|
-
import { n as _sfc_main$7, t as _sfc_main$6 } from "./MobileNavToggle-
|
|
9
|
-
import { r as sideNavRenderModeKey } from "./context-ZsDEkhSF.js";
|
|
12
|
+
import { n as _sfc_main$7, t as _sfc_main$6 } from "./MobileNavToggle-CKEOroi0.js";
|
|
10
13
|
import { computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createSlots, createVNode, defineComponent, mergeModels, mergeProps, openBlock, provide, reactive, ref, renderSlot, toDisplayString, unref, useAttrs, useId, useModel, useSlots, useTemplateRef, watch, withCtx } from "vue";
|
|
11
14
|
import "../styles/app-shell.css";
|
|
12
15
|
//#region src/SideNav/SideNavRenderMode.vue
|
|
@@ -23,6 +26,99 @@ const _sfc_main$1 = /*@__PURE__*/ defineComponent({
|
|
|
23
26
|
}
|
|
24
27
|
});
|
|
25
28
|
//#endregion
|
|
29
|
+
//#region src/AppShell/useAppShellRail.ts
|
|
30
|
+
/** 主内容区旁边的那一列:它的祖先里,父元素同时装着轨道的那一个。滑动移动它,轨道的边骑在它上面。 */
|
|
31
|
+
function columnOf(main, rail) {
|
|
32
|
+
let column = main;
|
|
33
|
+
while (column.parentElement != null && !column.parentElement.contains(rail)) column = column.parentElement;
|
|
34
|
+
return column;
|
|
35
|
+
}
|
|
36
|
+
function useAppShellRail(elements) {
|
|
37
|
+
const contentLayout = createAnimatedLayout(() => elements.root.value);
|
|
38
|
+
let pending = null;
|
|
39
|
+
let lastSwap = null;
|
|
40
|
+
return {
|
|
41
|
+
animatedLayout: contentLayout,
|
|
42
|
+
rail: () => elements.rail.value,
|
|
43
|
+
column: () => elements.main.value == null ? null : columnOf(elements.main.value, elements.rail.value),
|
|
44
|
+
landContent() {
|
|
45
|
+
if (elements.main.value != null) landLayoutGlide(columnOf(elements.main.value, elements.rail.value));
|
|
46
|
+
},
|
|
47
|
+
beforeRailChange() {
|
|
48
|
+
const main = elements.main.value;
|
|
49
|
+
if (main == null) return;
|
|
50
|
+
const motion = layoutMotionFor(main);
|
|
51
|
+
let change = null;
|
|
52
|
+
if (motion.kind === "glide") {
|
|
53
|
+
change = reportLayoutChange(contentLayout, () => elements.rail.value);
|
|
54
|
+
change.measureBefore();
|
|
55
|
+
}
|
|
56
|
+
let held = 1;
|
|
57
|
+
let entering = 0;
|
|
58
|
+
const last = lastSwap;
|
|
59
|
+
if (last != null && motion.kind === "glide") {
|
|
60
|
+
const elapsed = Math.max(0, layoutStartFor(main.ownerDocument) - last.startedAt);
|
|
61
|
+
if (elapsed < motion.progress.durationMs) {
|
|
62
|
+
const p = 1 - motion.progress.remaining(elapsed);
|
|
63
|
+
held = last.entering + (1 - last.entering) * p;
|
|
64
|
+
entering = last.held * (1 - p);
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
lastSwap = null;
|
|
68
|
+
pending = {
|
|
69
|
+
change,
|
|
70
|
+
swap: holdLayoutSwap(contentLayout, main, { isVisiblePart: true }),
|
|
71
|
+
before: main.getBoundingClientRect(),
|
|
72
|
+
held,
|
|
73
|
+
entering
|
|
74
|
+
};
|
|
75
|
+
},
|
|
76
|
+
afterRailChange() {
|
|
77
|
+
const noted = pending;
|
|
78
|
+
pending = null;
|
|
79
|
+
const main = elements.main.value;
|
|
80
|
+
if (noted == null || main == null) return () => {};
|
|
81
|
+
noted.change?.animate();
|
|
82
|
+
const column = columnOf(main, elements.rail.value);
|
|
83
|
+
const after = main.getBoundingClientRect();
|
|
84
|
+
const isRtl = getComputedStyle(main).direction === "rtl";
|
|
85
|
+
const travel = isRtl ? noted.before.right - after.right : noted.before.left - after.left;
|
|
86
|
+
const cover = [];
|
|
87
|
+
const surface = elements.backdrop.value ?? main;
|
|
88
|
+
const color = getComputedStyle(surface).backgroundColor;
|
|
89
|
+
const isPainted = !/^rgba\(.*,\s*0\)$|^transparent$/.test(color);
|
|
90
|
+
const glides = layoutMotionFor(main).kind === "glide";
|
|
91
|
+
if ((isRtl ? travel > 0 : travel < 0) && glides && isPainted) cover.push({
|
|
92
|
+
element: surface,
|
|
93
|
+
frames: (p) => ({ boxShadow: `${-travel * (1 - p)}px 0px 0px 0px ${color}` })
|
|
94
|
+
});
|
|
95
|
+
if (noted.swap == null || column.parentElement == null) return playLayoutFrames(contentLayout, cover);
|
|
96
|
+
if (!glides && isPainted) noted.swap.copy.style.backgroundColor = color;
|
|
97
|
+
const { held, entering } = noted;
|
|
98
|
+
lastSwap = {
|
|
99
|
+
startedAt: layoutStartFor(main.ownerDocument),
|
|
100
|
+
held,
|
|
101
|
+
entering
|
|
102
|
+
};
|
|
103
|
+
return playLayoutSwap(noted.swap, {
|
|
104
|
+
host: column.parentElement,
|
|
105
|
+
copy: (p) => ({ opacity: held * (1 - p) }),
|
|
106
|
+
rideWith: {
|
|
107
|
+
element: column,
|
|
108
|
+
travel: {
|
|
109
|
+
x: travel,
|
|
110
|
+
y: 0
|
|
111
|
+
}
|
|
112
|
+
},
|
|
113
|
+
incoming: [...Array.from(main.children, (element) => ({
|
|
114
|
+
element,
|
|
115
|
+
frames: (p) => ({ opacity: entering + (1 - entering) * p })
|
|
116
|
+
})), ...cover]
|
|
117
|
+
});
|
|
118
|
+
}
|
|
119
|
+
};
|
|
120
|
+
}
|
|
121
|
+
//#endregion
|
|
26
122
|
//#region src/AppShell/AppShell.vue
|
|
27
123
|
const _hoisted_1 = ["data-variant", "data-height"];
|
|
28
124
|
const _hoisted_2 = ["href"];
|
|
@@ -34,11 +130,7 @@ const _hoisted_4 = {
|
|
|
34
130
|
const _hoisted_5 = ["data-variant"];
|
|
35
131
|
const _hoisted_6 = ["aria-label"];
|
|
36
132
|
const _hoisted_7 = ["data-elevated"];
|
|
37
|
-
const _hoisted_8 =
|
|
38
|
-
key: 0,
|
|
39
|
-
class: "astryx-app-shell__backdrop"
|
|
40
|
-
};
|
|
41
|
-
const _hoisted_9 = ["id"];
|
|
133
|
+
const _hoisted_8 = ["id"];
|
|
42
134
|
const mainId = "astryx-app-shell-main";
|
|
43
135
|
const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
44
136
|
name: "AstryxAppShell",
|
|
@@ -169,6 +261,14 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
169
261
|
flush: "post",
|
|
170
262
|
immediate: true
|
|
171
263
|
});
|
|
264
|
+
const rail = useTemplateRef("rail");
|
|
265
|
+
const backdrop = useTemplateRef("backdrop");
|
|
266
|
+
provide(sideNavShellKey, useAppShellRail({
|
|
267
|
+
root: computed(() => root.value),
|
|
268
|
+
rail: computed(() => rail.value?.element ?? null),
|
|
269
|
+
main: computed(() => content.value?.element ?? null),
|
|
270
|
+
backdrop: computed(() => backdrop.value)
|
|
271
|
+
}));
|
|
172
272
|
function focusMain() {
|
|
173
273
|
const main = root.value?.ownerDocument.getElementById(mainId);
|
|
174
274
|
if (main == null) return;
|
|
@@ -200,7 +300,12 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
200
300
|
default: withCtx(() => [createElementVNode("div", {
|
|
201
301
|
class: "astryx-app-shell__main",
|
|
202
302
|
"data-elevated": elevate.value || void 0
|
|
203
|
-
}, [elevate.value ? (openBlock(), createElementBlock("div",
|
|
303
|
+
}, [elevate.value ? (openBlock(), createElementBlock("div", {
|
|
304
|
+
key: 0,
|
|
305
|
+
ref_key: "backdrop",
|
|
306
|
+
ref: backdrop,
|
|
307
|
+
class: "astryx-app-shell__backdrop"
|
|
308
|
+
}, null, 512)) : createCommentVNode("v-if", true), createVNode(_sfc_main$3, {
|
|
204
309
|
id: mainId,
|
|
205
310
|
ref_key: "content",
|
|
206
311
|
ref: content,
|
|
@@ -261,6 +366,8 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
261
366
|
} : void 0, showSideInline.value ? {
|
|
262
367
|
name: "start",
|
|
263
368
|
fn: withCtx(() => [createVNode(_sfc_main$5, {
|
|
369
|
+
ref_key: "rail",
|
|
370
|
+
ref: rail,
|
|
264
371
|
class: "astryx-app-shell__sidenav",
|
|
265
372
|
padding: 0,
|
|
266
373
|
"has-divider": __props.variant === "section",
|
|
@@ -283,7 +390,7 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
283
390
|
"onUpdate:isOpen": _cache[1] || (_cache[1] = ($event) => open.value = $event),
|
|
284
391
|
label: unref(messages).layout.mobileNavigation
|
|
285
392
|
}, {
|
|
286
|
-
default: withCtx(() => [createElementVNode("div", { id: `${mobileNavId}-items` }, null, 8,
|
|
393
|
+
default: withCtx(() => [createElementVNode("div", { id: `${mobileNavId}-items` }, null, 8, _hoisted_8), createVNode(_sfc_main$1, { mode: "drawer-content" }, {
|
|
287
394
|
default: withCtx(() => [renderSlot(_ctx.$slots, "sideNav")]),
|
|
288
395
|
_: 3
|
|
289
396
|
})]),
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as AvatarGroupOverflowSlots, i as AvatarGroupOverflowProps, n as _default, o as AvatarGroupProps, r as AvatarGroupOverflowEmits, t as _default$1 } from "../index-
|
|
1
|
+
import { a as AvatarGroupOverflowSlots, i as AvatarGroupOverflowProps, n as _default, o as AvatarGroupProps, r as AvatarGroupOverflowEmits, t as _default$1 } from "../index-DbfcTFO6.js";
|
|
2
2
|
export { _default as AvatarGroup, _default$1 as AvatarGroupOverflow, type AvatarGroupOverflowEmits, type AvatarGroupOverflowProps, type AvatarGroupOverflowSlots, type AvatarGroupProps };
|
package/dist/Banner/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { Co as BannerSlots, So as BannerProps, bo as BannerContainer, wo as BannerStatus, xo as BannerEmits, yo as _default } from "../index-
|
|
1
|
+
import { Co as BannerSlots, So as BannerProps, bo as BannerContainer, wo as BannerStatus, xo as BannerEmits, yo as _default } from "../index-DbfcTFO6.js";
|
|
2
2
|
export { _default as Banner, type BannerContainer, type BannerEmits, type BannerProps, type BannerSlots, type BannerStatus };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { n as _sfc_main } from "../BottomSheet-
|
|
2
|
-
import { t as _sfc_main$1 } from "../BottomSheet-
|
|
1
|
+
import { n as _sfc_main } from "../BottomSheet-DV7bboru.js";
|
|
2
|
+
import { t as _sfc_main$1 } from "../BottomSheet-DNuzJPfQ.js";
|
|
3
3
|
export { _sfc_main as BottomSheet, _sfc_main$1 as BottomSheetSwitcher };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { i as bottomSheetSwitcherKey, r as useSheetLayerDismiss } from "./BottomSheet-
|
|
1
|
+
import { i as bottomSheetSwitcherKey, r as useSheetLayerDismiss } from "./BottomSheet-DV7bboru.js";
|
|
2
2
|
import { p as isImeKeyEvent } from "./interactionModality-B5dR7nnb.js";
|
|
3
|
-
import { t as useFocusTrap } from "./useFocusTrap-
|
|
3
|
+
import { t as useFocusTrap } from "./useFocusTrap-DsYtRdmV.js";
|
|
4
4
|
import { t as useScrollLock } from "./scrollLock-CoVg9lLU.js";
|
|
5
5
|
import { Fragment, computed, createCommentVNode, createElementBlock, createElementVNode, defineComponent, mergeModels, mergeProps, nextTick, onBeforeUnmount, onMounted, openBlock, provide, ref, renderSlot, shallowRef, useModel, useTemplateRef, watch } from "vue";
|
|
6
6
|
import "../styles/bottom-sheet.css";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { r as resetLayerScopedContext } from "./scopedProvide-C-Df7c15.js";
|
|
2
2
|
import { c as useLayerDepth, f as pushLayer, p as isImeKeyEvent, s as provideLayerDepth, u as isTopLayer } from "./interactionModality-B5dR7nnb.js";
|
|
3
|
-
import { t as useFocusTrap } from "./useFocusTrap-BUd-fvUH.js";
|
|
4
3
|
import { t as focusForLastInput } from "./focusReturn-D7Y7Pwwb.js";
|
|
4
|
+
import { t as useFocusTrap } from "./useFocusTrap-DsYtRdmV.js";
|
|
5
5
|
import { t as useRestoreFocus } from "./useRestoreFocus-Cz_jM_nW.js";
|
|
6
6
|
import { t as attachScrollKeyboardDelegation } from "./scrollKeyboardDelegation-DZ4t5PvC.js";
|
|
7
7
|
import { t as useScrollLock } from "./scrollLock-CoVg9lLU.js";
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { b as DropdownMenuCheckboxItemProps, j as DropdownMenuRadioItemProps, k as DropdownMenuRadioGroupProps, n as _default$2, r as _default$1, t as _default$3 } from "../DropdownMenuRadioItem.vue-C9DdN6UE.js";
|
|
2
|
-
import { a as BreadcrumbsProps, i as BreadcrumbMenuOption, n as _default, o as BreadcrumbsVariant, r as BreadcrumbItemProps, t as _default$4 } from "../index-
|
|
2
|
+
import { a as BreadcrumbsProps, i as BreadcrumbMenuOption, n as _default, o as BreadcrumbsVariant, r as BreadcrumbItemProps, t as _default$4 } from "../index-GgHVkJtB.js";
|
|
3
3
|
export { _default as BreadcrumbItem, type BreadcrumbItemProps, _default$1 as BreadcrumbMenuCheckboxItem, type DropdownMenuCheckboxItemProps as BreadcrumbMenuCheckboxItemProps, type BreadcrumbMenuOption, _default$2 as BreadcrumbMenuRadioGroup, type DropdownMenuRadioGroupProps as BreadcrumbMenuRadioGroupProps, _default$3 as BreadcrumbMenuRadioItem, type DropdownMenuRadioItemProps as BreadcrumbMenuRadioItemProps, _default$4 as Breadcrumbs, type BreadcrumbsProps, type BreadcrumbsVariant };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { a as _sfc_main$1, i as _sfc_main$2, r as _sfc_main$3 } from "../useMenuDrillIn-BaNYxWiS.js";
|
|
2
|
-
import { n as _sfc_main, t as _sfc_main$4 } from "../Breadcrumbs-
|
|
2
|
+
import { n as _sfc_main, t as _sfc_main$4 } from "../Breadcrumbs-yB6yZCuZ.js";
|
|
3
3
|
export { _sfc_main as BreadcrumbItem, _sfc_main$1 as BreadcrumbMenuCheckboxItem, _sfc_main$2 as BreadcrumbMenuRadioGroup, _sfc_main$3 as BreadcrumbMenuRadioItem, _sfc_main$4 as Breadcrumbs };
|
|
@@ -3,7 +3,7 @@ import { n as readLayerScoped, t as defineLayerScopedKey } from "./scopedProvide
|
|
|
3
3
|
import { t as _sfc_main$2 } from "./Icon-BCHo7W0x.js";
|
|
4
4
|
import { n as useLinkComponent } from "./context-C_peZbXf.js";
|
|
5
5
|
import { n as useDevWarning } from "./useDevWarning-B2fsk2B-.js";
|
|
6
|
-
import { t as _sfc_main$3 } from "./DropdownMenu-
|
|
6
|
+
import { t as _sfc_main$3 } from "./DropdownMenu-CFX1k1Ib.js";
|
|
7
7
|
import { n as isNavigableHref } from "./link-DuuA2eCL.js";
|
|
8
8
|
import { Fragment, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createSlots, createTextVNode, createVNode, defineComponent, mergeProps, normalizeClass, onMounted, onScopeDispose, onUpdated, openBlock, provide, ref, renderSlot, resolveDynamicComponent, toDisplayString, toRaw, unref, useId, useSlots, useTemplateRef, watch, withCtx } from "vue";
|
|
9
9
|
import "../styles/breadcrumbs.css";
|
package/dist/Button/index.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { a as ButtonProps, c as ButtonSizeValue, d as ButtonVariantMap, i as ButtonLinkElement, l as ButtonSlots, n as ButtonElevation, o as ButtonRootElement, r as ButtonEmits, s as ButtonSize, t as ButtonClickAction, u as ButtonVariant } from "../types-DRpOiAlm.js";
|
|
2
|
-
import { t as _default } from "../index
|
|
2
|
+
import { t as _default } from "../index--kbwaSXW.js";
|
|
3
3
|
export { _default as Button, _default as default, type ButtonClickAction, type ButtonElevation, type ButtonEmits, type ButtonLinkElement, type ButtonProps, type ButtonRootElement, type ButtonSize, type ButtonSizeValue, type ButtonSlots, type ButtonVariant, type ButtonVariantMap };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { _o as ButtonGroupSlots, go as ButtonGroupProps, ho as _default, vo as ButtonGroupOrientation } from "../index-
|
|
1
|
+
import { _o as ButtonGroupSlots, go as ButtonGroupProps, ho as _default, vo as ButtonGroupOrientation } from "../index-DbfcTFO6.js";
|
|
2
2
|
export { _default as ButtonGroup, _default as default, type ButtonGroupOrientation, type ButtonGroupProps, type ButtonGroupSlots };
|
package/dist/Calendar/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { co as _default, do as CalendarHandleRef, fo as CalendarProps, lo as CalendarEmits, mo as CalendarSlots, po as CalendarRangeValue, uo as CalendarHandle } from "../index-
|
|
1
|
+
import { co as _default, do as CalendarHandleRef, fo as CalendarProps, lo as CalendarEmits, mo as CalendarSlots, po as CalendarRangeValue, uo as CalendarHandle } from "../index-DbfcTFO6.js";
|
|
2
2
|
export { _default as Calendar, type CalendarEmits, type CalendarHandle, type CalendarHandleRef, type CalendarProps, type CalendarRangeValue, type CalendarSlots };
|
package/dist/Calendar/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as _sfc_main } from "../Calendar-
|
|
1
|
+
import { t as _sfc_main } from "../Calendar-ydp0vJdO.js";
|
|
2
2
|
export { _sfc_main as Calendar };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as _sfc_main$1 } from "./Icon-BCHo7W0x.js";
|
|
2
2
|
import { t as _sfc_main$2 } from "./VisuallyHidden-cpmsV-0M.js";
|
|
3
3
|
import { t as useAnnounce } from "./announce-GU01Oix2.js";
|
|
4
|
-
import { c as resolveWeekStart } from "./useDateRange-
|
|
4
|
+
import { c as resolveWeekStart } from "./useDateRange-D1Szw54e.js";
|
|
5
5
|
import { t as useHandleRef } from "./useHandleRef-6cdKugm8.js";
|
|
6
6
|
import { a as useAstryxLocale, o as useComponentMessages } from "./context-B8IEFCDR.js";
|
|
7
7
|
import { i as weekdayNames, n as formatDayNumber, r as standaloneShortWeekdayNames, t as formatCalendarMonth } from "./format-mffyPc-L.js";
|
package/dist/Carousel/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { ao as CarouselHandle, io as CarouselGap, oo as CarouselProps, ro as _default, so as CarouselSlots } from "../index-
|
|
1
|
+
import { ao as CarouselHandle, io as CarouselGap, oo as CarouselProps, ro as _default, so as CarouselSlots } from "../index-DbfcTFO6.js";
|
|
2
2
|
export { _default as Carousel, type CarouselGap, type CarouselHandle, type CarouselProps, type CarouselSlots };
|
package/dist/Center/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as CenterSlots, i as CenterSizeValue, n as CenterAxis, r as CenterProps, t as _default } from "../index-
|
|
1
|
+
import { a as CenterSlots, i as CenterSizeValue, n as CenterAxis, r as CenterProps, t as _default } from "../index-BKnyTWPM.js";
|
|
2
2
|
export { _default as Center, type CenterAxis, type CenterProps, type CenterSizeValue, type CenterSlots };
|
package/dist/Chat/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { $ as ChatComposerTokenBadge, A as _default$8, At as ChatReasoningProps, B as ChatComposerDrawerEmits, Bt as ChatTypingIndicatorProps, C as _default$15, Ct as ChatMessageMetadataProps, D as _default$11, Dt as ChatMessageSlots, E as _default$12, Et as ChatMessageSender, F as _default$3, Ft as ChatToolCallItem, G as ChatComposerInputControl, H as ChatComposerDrawerSlots, I as _default$2, It as ChatToolCallStatus, J as ChatComposerInputProps, K as ChatComposerInputEmits, L as _default$1, Lt as ChatToolCallsEmits, M as _default$6, Mt as ChatSystemMessageProps, N as _default$5, Nt as ChatSystemMessageSlots, O as _default$10, Ot as ChatMessageStatus, P as _default$4, Pt as ChatSystemMessageVariant, Q as ChatComposerToken, R as _default, Rt as ChatToolCallsProps, S as _default$16, St as ChatMessageListSlots, T as _default$13, Tt as ChatMessageProps, U as ChatComposerElevation, V as ChatComposerDrawerProps, Vt as ChatUnreadDividerProps, W as ChatComposerEmits, X as ChatComposerSlots, Y as ChatComposerProps, Z as ChatComposerStatus, _ as useChatComposerContext, _t as ChatMessageBubbleProps, a as useChatPasteAsToken, at as ChatSendButtonEmits, b as useChatMessageContext, bt as ChatMessageListAlign, c as SpeechRecognitionError, ct as ChatTokenizedTextProps, d as useSpeechRecognition, dt as ChatLayoutProps, et as ChatComposerTokenCustom, f as TokenPortal, ft as ChatLayoutScrollButtonEmits, g as ChatComposerContextValue, gt as ChatMessageBubbleGroup, h as useChatComposerTokens, ht as ChatLayoutSlots, i as pastedTextLabel, it as ChatDictationButtonProps, j as _default$7, jt as ChatReasoningSlots, k as _default$9, kt as ChatReasoningEmits, l as UseSpeechRecognitionOptions, lt as ChatTokenizedTextSlots, m as UseChatComposerTokensReturn, mt as ChatLayoutScrollSlotProps, n as UseChatPasteAsTokenOptions, nt as ChatComposerTrigger, o as UseChatDictationOptions, ot as ChatSendButtonProps, p as UseChatComposerTokensOptions, pt as ChatLayoutScrollButtonProps, q as ChatComposerInputHandle, r as UseChatPasteAsTokenReturn, rt as ChatComposerTriggerItem, s as useChatDictation, st as ChatSendButtonSlots, t as PASTE_TOKEN_THRESHOLD, tt as ChatComposerTokenElementProps, u as UseSpeechRecognitionReturn, ut as ChatDensity, v as useChatLayoutContext, vt as ChatMessageBubbleSlots, w as _default$14, wt as ChatMessageMetadataSlots, x as _default$17, xt as ChatMessageListProps, y as useChatListContext, yt as ChatMessageBubbleVariant, z as ChatComposerDensity, zt as ChatToolCallsSlots } from "../index-
|
|
1
|
+
import { $ as ChatComposerTokenBadge, A as _default$8, At as ChatReasoningProps, B as ChatComposerDrawerEmits, Bt as ChatTypingIndicatorProps, C as _default$15, Ct as ChatMessageMetadataProps, D as _default$11, Dt as ChatMessageSlots, E as _default$12, Et as ChatMessageSender, F as _default$3, Ft as ChatToolCallItem, G as ChatComposerInputControl, H as ChatComposerDrawerSlots, I as _default$2, It as ChatToolCallStatus, J as ChatComposerInputProps, K as ChatComposerInputEmits, L as _default$1, Lt as ChatToolCallsEmits, M as _default$6, Mt as ChatSystemMessageProps, N as _default$5, Nt as ChatSystemMessageSlots, O as _default$10, Ot as ChatMessageStatus, P as _default$4, Pt as ChatSystemMessageVariant, Q as ChatComposerToken, R as _default, Rt as ChatToolCallsProps, S as _default$16, St as ChatMessageListSlots, T as _default$13, Tt as ChatMessageProps, U as ChatComposerElevation, V as ChatComposerDrawerProps, Vt as ChatUnreadDividerProps, W as ChatComposerEmits, X as ChatComposerSlots, Y as ChatComposerProps, Z as ChatComposerStatus, _ as useChatComposerContext, _t as ChatMessageBubbleProps, a as useChatPasteAsToken, at as ChatSendButtonEmits, b as useChatMessageContext, bt as ChatMessageListAlign, c as SpeechRecognitionError, ct as ChatTokenizedTextProps, d as useSpeechRecognition, dt as ChatLayoutProps, et as ChatComposerTokenCustom, f as TokenPortal, ft as ChatLayoutScrollButtonEmits, g as ChatComposerContextValue, gt as ChatMessageBubbleGroup, h as useChatComposerTokens, ht as ChatLayoutSlots, i as pastedTextLabel, it as ChatDictationButtonProps, j as _default$7, jt as ChatReasoningSlots, k as _default$9, kt as ChatReasoningEmits, l as UseSpeechRecognitionOptions, lt as ChatTokenizedTextSlots, m as UseChatComposerTokensReturn, mt as ChatLayoutScrollSlotProps, n as UseChatPasteAsTokenOptions, nt as ChatComposerTrigger, o as UseChatDictationOptions, ot as ChatSendButtonProps, p as UseChatComposerTokensOptions, pt as ChatLayoutScrollButtonProps, q as ChatComposerInputHandle, r as UseChatPasteAsTokenReturn, rt as ChatComposerTriggerItem, s as useChatDictation, st as ChatSendButtonSlots, t as PASTE_TOKEN_THRESHOLD, tt as ChatComposerTokenElementProps, u as UseSpeechRecognitionReturn, ut as ChatDensity, v as useChatLayoutContext, vt as ChatMessageBubbleSlots, w as _default$14, wt as ChatMessageMetadataSlots, x as _default$17, xt as ChatMessageListProps, y as useChatListContext, yt as ChatMessageBubbleVariant, z as ChatComposerDensity, zt as ChatToolCallsSlots } from "../index-CHLLk77c.js";
|
|
2
2
|
export { _default as ChatComposer, type ChatComposerContextValue, type ChatComposerDensity, _default$1 as ChatComposerDrawer, type ChatComposerDrawerEmits, type ChatComposerDrawerProps, type ChatComposerDrawerSlots, type ChatComposerElevation, type ChatComposerEmits, _default$2 as ChatComposerInput, type ChatComposerInputControl, type ChatComposerInputEmits, type ChatComposerInputHandle, type ChatComposerInputProps, type ChatComposerProps, type ChatComposerSlots, type ChatComposerStatus, type ChatComposerToken, type ChatComposerTokenBadge, type ChatComposerTokenCustom, _default$3 as ChatComposerTokenElement, type ChatComposerTokenElementProps, type ChatComposerTrigger, type ChatComposerTriggerItem, type ChatDensity, _default$4 as ChatDictationButton, type ChatDictationButtonProps, _default$5 as ChatLayout, type ChatLayoutProps, _default$6 as ChatLayoutScrollButton, type ChatLayoutScrollButtonEmits, type ChatLayoutScrollButtonProps, type ChatLayoutScrollSlotProps, type ChatLayoutSlots, _default$7 as ChatMessage, _default$8 as ChatMessageBubble, type ChatMessageBubbleGroup, type ChatMessageBubbleProps, type ChatMessageBubbleSlots, type ChatMessageBubbleVariant, _default$9 as ChatMessageList, type ChatMessageListAlign, type ChatMessageListProps, type ChatMessageListSlots, _default$10 as ChatMessageMetadata, type ChatMessageMetadataProps, type ChatMessageMetadataSlots, type ChatMessageProps, type ChatMessageSender, type ChatMessageSlots, type ChatMessageStatus, _default$11 as ChatReasoning, type ChatReasoningEmits, type ChatReasoningProps, type ChatReasoningSlots, _default$12 as ChatSendButton, type ChatSendButtonEmits, type ChatSendButtonProps, type ChatSendButtonSlots, _default$13 as ChatSystemMessage, type ChatSystemMessageProps, type ChatSystemMessageSlots, type ChatSystemMessageVariant, _default$14 as ChatTokenizedText, type ChatTokenizedTextProps, type ChatTokenizedTextSlots, type ChatToolCallItem, type ChatToolCallStatus, _default$15 as ChatToolCalls, type ChatToolCallsEmits, type ChatToolCallsProps, type ChatToolCallsSlots, _default$16 as ChatTypingIndicator, type ChatTypingIndicatorProps, _default$17 as ChatUnreadDivider, type ChatUnreadDividerProps, PASTE_TOKEN_THRESHOLD, type SpeechRecognitionError, type TokenPortal, type UseChatComposerTokensOptions, type UseChatComposerTokensReturn, type UseChatDictationOptions, type UseChatPasteAsTokenOptions, type UseChatPasteAsTokenReturn, type UseSpeechRecognitionOptions, type UseSpeechRecognitionReturn, pastedTextLabel, useChatComposerContext, useChatComposerTokens, useChatDictation, useChatLayoutContext, useChatListContext, useChatMessageContext, useChatPasteAsToken, useSpeechRecognition };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { $a as CheckboxInputEmits, Qa as CheckboxInputChangeEvent, Xa as _default, Za as CheckboxInputChangeAction, eo as CheckboxInputProps, no as CheckboxValue, to as CheckboxInputSlots } from "../index-
|
|
1
|
+
import { $a as CheckboxInputEmits, Qa as CheckboxInputChangeEvent, Xa as _default, Za as CheckboxInputChangeAction, eo as CheckboxInputProps, no as CheckboxValue, to as CheckboxInputSlots } from "../index-DbfcTFO6.js";
|
|
2
2
|
export { _default as CheckboxInput, type CheckboxInputChangeAction, type CheckboxInputChangeEvent, type CheckboxInputEmits, type CheckboxInputProps, type CheckboxInputSlots, type CheckboxValue };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { Ga as _default, Ja as CheckboxListItemProps, Ka as CheckboxListEmits, Wa as _default$1, Ya as CheckboxListProps, qa as CheckboxListItemEmits } from "../index-
|
|
1
|
+
import { Ga as _default, Ja as CheckboxListItemProps, Ka as CheckboxListEmits, Wa as _default$1, Ya as CheckboxListProps, qa as CheckboxListItemEmits } from "../index-DbfcTFO6.js";
|
|
2
2
|
export { _default as CheckboxList, type CheckboxListEmits, _default$1 as CheckboxListItem, type CheckboxListItemEmits, type CheckboxListItemProps, type CheckboxListProps };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { Ba as _default, Ha as ClickableCardProps, Ua as ClickableCardSlots, Va as ClickableCardEmits } from "../index-
|
|
1
|
+
import { Ba as _default, Ha as ClickableCardProps, Ua as ClickableCardSlots, Va as ClickableCardEmits } from "../index-DbfcTFO6.js";
|
|
2
2
|
export { _default as ClickableCard, _default as default, type ClickableCardEmits, type ClickableCardProps, type ClickableCardSlots };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as _sfc_main, r as useCollapsible, t as _sfc_main$1 } from "../Collapsible-
|
|
1
|
+
import { n as _sfc_main, r as useCollapsible, t as _sfc_main$1 } from "../Collapsible-BG-u5nEt.js";
|
|
2
2
|
export { _sfc_main as Collapsible, _sfc_main$1 as CollapsibleGroup, useCollapsible };
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { t as usePressFeedback } from "./usePressFeedback-2YAzGB6C.js";
|
|
2
2
|
import { n as readLayerScoped, t as defineLayerScopedKey } from "./scopedProvide-C-Df7c15.js";
|
|
3
3
|
import { t as _sfc_main$2 } from "./Icon-BCHo7W0x.js";
|
|
4
|
-
import {
|
|
4
|
+
import { n as releaseLayoutExit, r as playLayoutChange, t as holdLayoutExit } from "./edgeRide-D0oC2JEB.js";
|
|
5
|
+
import { i as reportLayoutChange, t as applyLayoutChangeTransition } from "./landing-C7nc9JHm.js";
|
|
5
6
|
import { Transition, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createTextVNode, createVNode, defineComponent, getCurrentInstance, mergeModels, mergeProps, onMounted, openBlock, provide, ref, renderSlot, shallowRef, toDisplayString, toValue, unref, useId, useModel, useTemplateRef, vShow, watch, withCtx, withDirectives } from "vue";
|
|
6
7
|
import "../styles/collapsible.css";
|
|
7
8
|
//#region src/composables/internal/layoutDisclosure.ts
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as _sfc_main$3, i as _sfc_main$4, n as _sfc_main$6, o as _sfc_main$2, r as _sfc_main$5, s as _sfc_main$1, t as _sfc_main } from "../CommandPalette-
|
|
1
|
+
import { a as _sfc_main$3, i as _sfc_main$4, n as _sfc_main$6, o as _sfc_main$2, r as _sfc_main$5, s as _sfc_main$1, t as _sfc_main } from "../CommandPalette-CV7t0ouM.js";
|
|
2
2
|
export { _sfc_main as CommandPalette, _sfc_main$1 as CommandPaletteEmpty, _sfc_main$2 as CommandPaletteFooter, _sfc_main$3 as CommandPaletteGroup, _sfc_main$4 as CommandPaletteInput, _sfc_main$5 as CommandPaletteItem, _sfc_main$6 as CommandPaletteList };
|
|
@@ -6,7 +6,7 @@ import { t as useAnnounce } from "./announce-GU01Oix2.js";
|
|
|
6
6
|
import { n as useAsyncSource } from "./useAsyncSource-7GTcK8ep.js";
|
|
7
7
|
import { o as useComponentMessages } from "./context-B8IEFCDR.js";
|
|
8
8
|
import { t as _sfc_main$8 } from "./Kbd-CbD993ig.js";
|
|
9
|
-
import { n as DIALOG_CONTEXT_KEY, t as _sfc_main$9 } from "./Dialog-
|
|
9
|
+
import { n as DIALOG_CONTEXT_KEY, t as _sfc_main$9 } from "./Dialog-CztWmbf8.js";
|
|
10
10
|
import { t as useScrollbars } from "./useScrollbars-Ch0xqJWO.js";
|
|
11
11
|
import { t as _sfc_main$10 } from "./Spinner-DEVPDsD0.js";
|
|
12
12
|
import { t as commandPaletteMessages } from "./command-palette-g8Mnclgo.js";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as ComplexSelectorProps, c as ComplexSelectorState, i as ComplexSelectorHandleRef, l as ComplexSelectorTriggerProps, n as ComplexSelectorEmits, o as ComplexSelectorSlotProps, r as ComplexSelectorHandle, s as ComplexSelectorSlots, t as _default, u as ComplexSelectorVariant } from "../index-
|
|
1
|
+
import { a as ComplexSelectorProps, c as ComplexSelectorState, i as ComplexSelectorHandleRef, l as ComplexSelectorTriggerProps, n as ComplexSelectorEmits, o as ComplexSelectorSlotProps, r as ComplexSelectorHandle, s as ComplexSelectorSlots, t as _default, u as ComplexSelectorVariant } from "../index-DE1genab.js";
|
|
2
2
|
export { _default as ComplexSelector, _default as default, type ComplexSelectorEmits, type ComplexSelectorHandle, type ComplexSelectorHandleRef, type ComplexSelectorProps, type ComplexSelectorSlotProps, type ComplexSelectorSlots, type ComplexSelectorState, type ComplexSelectorTriggerProps, type ComplexSelectorVariant };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as _sfc_main, t as ComplexSelector_default } from "../ComplexSelector-
|
|
1
|
+
import { n as _sfc_main, t as ComplexSelector_default } from "../ComplexSelector-BOACo2vq.js";
|
|
2
2
|
export { _sfc_main as ComplexSelector, ComplexSelector_default as default };
|
|
@@ -12,7 +12,7 @@ import { t as consumeWhileDisabled } from "./disabledInteraction-CPzL8kVP.js";
|
|
|
12
12
|
import { t as useBusyAnnouncement } from "./busyAnnouncement-CExubuYm.js";
|
|
13
13
|
import { n as fieldStatusPlacement, r as _sfc_main$5, t as normalizeTriggerVariant } from "./triggerVariant-BDVvyLtv.js";
|
|
14
14
|
import { t as selectorMessages } from "./selector-BmGLjm94.js";
|
|
15
|
-
import { t as _sfc_main$6 } from "./Popover-
|
|
15
|
+
import { t as _sfc_main$6 } from "./Popover-Cl4gQQZq.js";
|
|
16
16
|
import { Fragment, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createVNode, defineComponent, guardReactiveProps, mergeModels, mergeProps, normalizeClass, normalizeProps, normalizeStyle, onBeforeUnmount, openBlock, ref, renderSlot, resolveDynamicComponent, shallowRef, toDisplayString, unref, useAttrs, useId, useModel, useSlots, useTemplateRef, watch, withCtx } from "vue";
|
|
17
17
|
import "../styles/visually-hidden-utility.css";
|
|
18
18
|
import "../styles/complex-selector.css";
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { Aa as ContextMenuRadioOptionData, Ca as ContextMenuItemProps, Da as ContextMenuPresentation, Ea as ContextMenuOption, Fa as ContextMenuSubMenuProps, Ia as ContextMenuSubMenuSlots, La as ContextMenuTriggerElement, Ma as ContextMenuSize, Na as ContextMenuSlots, Oa as ContextMenuProps, Pa as ContextMenuSubMenuEmits, Ra as ContextMenuVariant, Sa as ContextMenuItemIcon, Ta as ContextMenuItemTarget, _a as ContextMenuEntry, ba as ContextMenuItemData, ca as _default$3, da as useContextMenu, fa as useContextMenuSize, ga as ContextMenuEmits, ha as ContextMenuDividerProps, ja as ContextMenuSection, ka as ContextMenuRadioData, la as _default$2, ma as ContextMenuDividerData, oa as _default$7, pa as ContextMenuCheckboxData, sa as _default$4, ua as _default, va as ContextMenuGroupProps, wa as ContextMenuItemSlots, xa as ContextMenuItemEmits, ya as ContextMenuGroupSlots, za as ContextMenuWidth } from "../index-
|
|
1
|
+
import { Aa as ContextMenuRadioOptionData, Ca as ContextMenuItemProps, Da as ContextMenuPresentation, Ea as ContextMenuOption, Fa as ContextMenuSubMenuProps, Ia as ContextMenuSubMenuSlots, La as ContextMenuTriggerElement, Ma as ContextMenuSize, Na as ContextMenuSlots, Oa as ContextMenuProps, Pa as ContextMenuSubMenuEmits, Ra as ContextMenuVariant, Sa as ContextMenuItemIcon, Ta as ContextMenuItemTarget, _a as ContextMenuEntry, ba as ContextMenuItemData, ca as _default$3, da as useContextMenu, fa as useContextMenuSize, ga as ContextMenuEmits, ha as ContextMenuDividerProps, ja as ContextMenuSection, ka as ContextMenuRadioData, la as _default$2, ma as ContextMenuDividerData, oa as _default$7, pa as ContextMenuCheckboxData, sa as _default$4, ua as _default, va as ContextMenuGroupProps, wa as ContextMenuItemSlots, xa as ContextMenuItemEmits, ya as ContextMenuGroupSlots, za as ContextMenuWidth } from "../index-DbfcTFO6.js";
|
|
2
2
|
import { n as _default$5, r as _default$1, t as _default$6 } from "../DropdownMenuRadioItem.vue-C9DdN6UE.js";
|
|
3
3
|
export { _default as ContextMenu, type ContextMenuCheckboxData, _default$1 as ContextMenuCheckboxItem, _default$2 as ContextMenuDivider, type ContextMenuDividerData, type ContextMenuDividerProps, type ContextMenuEmits, type ContextMenuEntry, _default$3 as ContextMenuGroup, type ContextMenuGroupProps, type ContextMenuGroupSlots, _default$4 as ContextMenuItem, type ContextMenuItemData, type ContextMenuItemEmits, type ContextMenuItemIcon, type ContextMenuItemProps, type ContextMenuItemSlots, type ContextMenuItemTarget, type ContextMenuOption, type ContextMenuPresentation, type ContextMenuProps, type ContextMenuRadioData, _default$5 as ContextMenuRadioGroup, _default$6 as ContextMenuRadioItem, type ContextMenuRadioOptionData, type ContextMenuSection, type ContextMenuSize, type ContextMenuSlots, _default$7 as ContextMenuSubMenu, type ContextMenuSubMenuEmits, type ContextMenuSubMenuProps, type ContextMenuSubMenuSlots, type ContextMenuTriggerElement, type ContextMenuVariant, type ContextMenuWidth, useContextMenu, useContextMenuSize };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { a as _sfc_main$1, d as useContextMenu, f as useContextMenuSize, i as _sfc_main$5, r as _sfc_main$6 } from "../useMenuDrillIn-BaNYxWiS.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 "../ContextMenu-
|
|
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 "../ContextMenu-_cj8wRB6.js";
|
|
3
3
|
export { _sfc_main as ContextMenu, _sfc_main$1 as ContextMenuCheckboxItem, _sfc_main$2 as ContextMenuDivider, _sfc_main$3 as ContextMenuGroup, _sfc_main$4 as ContextMenuItem, _sfc_main$5 as ContextMenuRadioGroup, _sfc_main$6 as ContextMenuRadioItem, _sfc_main$7 as ContextMenuSubMenu, useContextMenu, useContextMenuSize };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as _sfc_main$6 } from "./BottomSheet-
|
|
1
|
+
import { n as _sfc_main$6 } from "./BottomSheet-DV7bboru.js";
|
|
2
2
|
import { r as resetMenuPress } from "./strayClick-_QKRT5aH.js";
|
|
3
3
|
import { t as _sfc_main$7 } from "./Icon-BCHo7W0x.js";
|
|
4
4
|
import { n as useLinkComponent } from "./context-C_peZbXf.js";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { $i as DateInputFormatName, Qi as DateInputFormat, Xi as DateInputEntryError, Yi as _default, Zi as DateInputEmits, aa as DateInputStatusType, ea as DateInputNativePicker, ia as DateInputStatus, na as DateInputProps, ra as DateInputSlots, ta as DateInputPresentation } from "../index-
|
|
1
|
+
import { $i as DateInputFormatName, Qi as DateInputFormat, Xi as DateInputEntryError, Yi as _default, Zi as DateInputEmits, aa as DateInputStatusType, ea as DateInputNativePicker, ia as DateInputStatus, na as DateInputProps, ra as DateInputSlots, ta as DateInputPresentation } from "../index-DbfcTFO6.js";
|
|
2
2
|
export { _default as DateInput, type DateInputEmits, type DateInputEntryError, type DateInputFormat, type DateInputFormatName, type DateInputNativePicker, type DateInputPresentation, type DateInputProps, type DateInputSlots, type DateInputStatus, type DateInputStatusType };
|
package/dist/DateInput/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as _sfc_main } from "../DateInput-
|
|
1
|
+
import { t as _sfc_main } from "../DateInput-DrMqXWSj.js";
|
|
2
2
|
export { _sfc_main as DateInput };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as _sfc_main$4 } from "./BottomSheet-
|
|
1
|
+
import { n as _sfc_main$4 } from "./BottomSheet-DV7bboru.js";
|
|
2
2
|
import { t as _sfc_main$5 } from "./Icon-BCHo7W0x.js";
|
|
3
3
|
import { r as useInputGroupDisabled } from "./context-Bg7eSJ47.js";
|
|
4
4
|
import { i as useSize } from "./SizeContext-BbaF-SEx.js";
|
|
@@ -14,13 +14,13 @@ import { t as usePendingChange } from "./usePendingChange-ib-h8FZK.js";
|
|
|
14
14
|
import { t as useResolvedLabelHidden } from "./useResolvedLabelHidden-B2rlWiaI.js";
|
|
15
15
|
import { i as weekdayNames, n as formatDayNumber, r as standaloneShortWeekdayNames, t as formatCalendarMonth } from "./format-mffyPc-L.js";
|
|
16
16
|
import { t as calendarMessages } from "./calendar-Cs2vIPsV.js";
|
|
17
|
-
import { a as isOutsideCalendarBounds, c as toCalendarDate, i as isCalendarDateDisabled, l as weekStartIndex, n as resolveCalendarKey, o as formatWeekdayDate, r as buildCalendarWeeks, s as sameCalendarDay, t as _sfc_main$9 } from "./Calendar-
|
|
17
|
+
import { a as isOutsideCalendarBounds, c as toCalendarDate, i as isCalendarDateDisabled, l as weekStartIndex, n as resolveCalendarKey, o as formatWeekdayDate, r as buildCalendarWeeks, s as sameCalendarDay, t as _sfc_main$9 } from "./Calendar-ydp0vJdO.js";
|
|
18
18
|
import { t as _sfc_main$10 } from "./Spinner-DEVPDsD0.js";
|
|
19
19
|
import { a as useEntryErrorBehavior, i as useAriaRequired } from "./context-DsNhYm5O.js";
|
|
20
20
|
import { t as _sfc_main$11 } from "./Field-BXkGR8H0.js";
|
|
21
21
|
import { t as useFieldPartStyling } from "./fieldParts-CbWvZLhH.js";
|
|
22
22
|
import { t as useBusyAnnouncement } from "./busyAnnouncement-CExubuYm.js";
|
|
23
|
-
import { t as _sfc_main$12 } from "./Popover-
|
|
23
|
+
import { t as _sfc_main$12 } from "./Popover-Cl4gQQZq.js";
|
|
24
24
|
import { t as dateInputMessages } from "./date-input-rUD8YAow.js";
|
|
25
25
|
import { t as formatInstant } from "./formatInstant-BDWUIxS7.js";
|
|
26
26
|
import { P as plainDateToDate, n as parseDateInput } from "./dateParser-DS_a8Ej8.js";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { Gi as DateRange, Ji as DateRangePreset, Ki as DateRangeInputEmits, Wi as _default, qi as DateRangeInputProps } from "../index-
|
|
1
|
+
import { Gi as DateRange, Ji as DateRangePreset, Ki as DateRangeInputEmits, Wi as _default, qi as DateRangeInputProps } from "../index-DbfcTFO6.js";
|
|
2
2
|
export { type DateRange, _default as DateRangeInput, type DateRangeInputEmits, type DateRangeInputProps, type DateRangePreset };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as _sfc_main } from "../DateRangeInput-
|
|
1
|
+
import { t as _sfc_main } from "../DateRangeInput-BZuyhf-w.js";
|
|
2
2
|
export { _sfc_main as DateRangeInput };
|
|
@@ -3,11 +3,12 @@ import { i as useSize } from "./SizeContext-BbaF-SEx.js";
|
|
|
3
3
|
import { t as _sfc_main$3 } from "./VisuallyHidden-cpmsV-0M.js";
|
|
4
4
|
import { t as _sfc_main$4 } from "./ButtonTooltip-CNKOQHYR.js";
|
|
5
5
|
import { t as useButtonTooltip } from "./useButtonTooltip-DjCaZMp_.js";
|
|
6
|
-
import {
|
|
6
|
+
import { n as isDevBuild, t as devPropError } from "./devBuild-G249YcdZ.js";
|
|
7
|
+
import { a as isRangeWithinSpan, c as resolveWeekStart, i as isDayOutsideSpan, r as formatDateRange, s as orderRange, t as applyRangeClick } from "./useDateRange-D1Szw54e.js";
|
|
7
8
|
import { t as _sfc_main$5 } from "./FieldIcon-DMtfe1Ne.js";
|
|
8
9
|
import { t as _sfc_main$6 } from "./IconButton-Du2XBBAX.js";
|
|
9
10
|
import { a as useAstryxLocale, o as useComponentMessages } from "./context-B8IEFCDR.js";
|
|
10
|
-
import { a as todayISODate, n as buildMonthGrid, t as addMonths } from "./useMonthGrid-
|
|
11
|
+
import { a as todayISODate, n as buildMonthGrid, t as addMonths } from "./useMonthGrid-Bzvlstgc.js";
|
|
11
12
|
import { t as usePendingChange } from "./usePendingChange-ib-h8FZK.js";
|
|
12
13
|
import { t as useResolvedLabelHidden } from "./useResolvedLabelHidden-B2rlWiaI.js";
|
|
13
14
|
import { t as useScrollbars } from "./useScrollbars-Ch0xqJWO.js";
|
|
@@ -18,10 +19,10 @@ import { i as useAriaRequired } from "./context-DsNhYm5O.js";
|
|
|
18
19
|
import { t as _sfc_main$8 } from "./Field-BXkGR8H0.js";
|
|
19
20
|
import { t as useFieldPartStyling } from "./fieldParts-CbWvZLhH.js";
|
|
20
21
|
import { t as useBusyAnnouncement } from "./busyAnnouncement-CExubuYm.js";
|
|
21
|
-
import { t as _sfc_main$9 } from "./Popover-
|
|
22
|
+
import { t as _sfc_main$9 } from "./Popover-Cl4gQQZq.js";
|
|
22
23
|
import { t as dateInputMessages } from "./date-input-rUD8YAow.js";
|
|
23
24
|
import { t as dateRangeInputMessages } from "./date-range-input-WnkVv8HN.js";
|
|
24
|
-
import { Fragment, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createTextVNode, createVNode, defineComponent, mergeModels, mergeProps, normalizeClass, normalizeStyle, openBlock, renderList, shallowRef, toDisplayString, unref, useAttrs, useId, useModel, useTemplateRef, withCtx } from "vue";
|
|
25
|
+
import { Fragment, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createTextVNode, createVNode, defineComponent, getCurrentInstance, inject, mergeModels, mergeProps, normalizeClass, normalizeStyle, onMounted, openBlock, renderList, shallowRef, ssrContextKey, toDisplayString, unref, useAttrs, useId, useModel, useTemplateRef, withCtx } from "vue";
|
|
25
26
|
import "../styles/calendar.css";
|
|
26
27
|
import "../styles/date-range-input.css";
|
|
27
28
|
import "../styles/bordered-control.css";
|
|
@@ -187,7 +188,7 @@ const _hoisted_2 = [
|
|
|
187
188
|
"aria-disabled"
|
|
188
189
|
];
|
|
189
190
|
const _hoisted_3 = ["data-placeholder"];
|
|
190
|
-
const _hoisted_4 = { class: "astryx-date-range-
|
|
191
|
+
const _hoisted_4 = { class: "astryx-date-range-panel" };
|
|
191
192
|
const _hoisted_5 = {
|
|
192
193
|
key: 0,
|
|
193
194
|
class: "astryx-date-range-presets"
|
|
@@ -270,6 +271,7 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
270
271
|
const emit = __emit;
|
|
271
272
|
const size = useSize(() => props.size, "md");
|
|
272
273
|
const model = useModel(__props, "modelValue");
|
|
274
|
+
if (isDevBuild() && model.value != null && (typeof model.value.start !== "string" || typeof model.value.end !== "string")) throw devPropError("DateRangeInput", "modelValue", "must be null or { start, end } with ISO date strings, for example v-model=\"{ start: '2026-01-01', end: '2026-01-31' }\". Pass strings, not Date objects.");
|
|
273
275
|
const attrs = useAttrs();
|
|
274
276
|
const parts = useFieldPartStyling({
|
|
275
277
|
component: "DateRangeInput",
|
|
@@ -315,7 +317,12 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
315
317
|
useScrollbars(panelEl);
|
|
316
318
|
const visibleMonths = computed(() => props.numberOfMonths ?? props.monthCount);
|
|
317
319
|
useBusyAnnouncement(busy, () => messages.value.dateInput.loading, () => containerRef.value);
|
|
318
|
-
const
|
|
320
|
+
const isServerOrHydrating = typeof document === "undefined" || inject(ssrContextKey, void 0) !== void 0 || getCurrentInstance()?.vnode.el != null;
|
|
321
|
+
const currentYear = shallowRef(isServerOrHydrating ? null : (/* @__PURE__ */ new Date()).getFullYear());
|
|
322
|
+
onMounted(() => {
|
|
323
|
+
currentYear.value ??= (/* @__PURE__ */ new Date()).getFullYear();
|
|
324
|
+
});
|
|
325
|
+
const display = computed(() => formatDateRange(model.value, locale.value, currentYear.value));
|
|
319
326
|
const placeholder = computed(() => props.placeholder ?? messages.value.dateRangeInput.placeholder);
|
|
320
327
|
const clearLabel = computed(() => props.clearLabel ?? messages.value.dateRangeInput.clear(props.label));
|
|
321
328
|
function commit(value) {
|
|
@@ -325,6 +332,7 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
325
332
|
action.run(value);
|
|
326
333
|
}
|
|
327
334
|
function onSelect(day) {
|
|
335
|
+
if (locked.value) return;
|
|
328
336
|
const result = applyRangeClick(pending.value, day, props.minRangeSpan, props.maxRangeSpan);
|
|
329
337
|
pending.value = result.pending;
|
|
330
338
|
if (result.commit) {
|
|
@@ -347,7 +355,7 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
347
355
|
if (!next) pending.value = null;
|
|
348
356
|
}
|
|
349
357
|
function applyPreset(preset) {
|
|
350
|
-
if (presetDisabled(preset)) return;
|
|
358
|
+
if (locked.value || presetDisabled(preset)) return;
|
|
351
359
|
const range = preset.getRange();
|
|
352
360
|
if (!isRangeWithinSpan(range, props.minRangeSpan, props.maxRangeSpan)) return;
|
|
353
361
|
commit(range);
|
|
@@ -403,11 +411,11 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
403
411
|
label: unref(messages).dateRangeInput.dialogLabel,
|
|
404
412
|
onOpenChange
|
|
405
413
|
}, {
|
|
406
|
-
content: withCtx(() => [createElementVNode("div",
|
|
414
|
+
content: withCtx(() => [createElementVNode("div", {
|
|
407
415
|
ref_key: "panelEl",
|
|
408
416
|
ref: panelEl,
|
|
409
|
-
class: "astryx-date-range-
|
|
410
|
-
}, [__props.presets?.length ? (openBlock(), createElementBlock("div", _hoisted_5, [(openBlock(true), createElementBlock(Fragment, null, renderList(__props.presets, (preset) => {
|
|
417
|
+
class: "astryx-date-range-popover"
|
|
418
|
+
}, [createElementVNode("div", _hoisted_4, [__props.presets?.length ? (openBlock(), createElementBlock("div", _hoisted_5, [(openBlock(true), createElementBlock(Fragment, null, renderList(__props.presets, (preset) => {
|
|
411
419
|
return openBlock(), createElementBlock("button", {
|
|
412
420
|
key: preset.label,
|
|
413
421
|
type: "button",
|
|
@@ -442,7 +450,7 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
442
450
|
"min-range-span",
|
|
443
451
|
"max-range-span",
|
|
444
452
|
"week-starts-on"
|
|
445
|
-
])) : createCommentVNode("v-if", true)], 512)])
|
|
453
|
+
])) : createCommentVNode("v-if", true)])], 512)]),
|
|
446
454
|
default: withCtx(() => [createElementVNode("div", {
|
|
447
455
|
ref_key: "containerRef",
|
|
448
456
|
ref: containerRef,
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { Bi as _default, Hi as DateTimeInputProps, Ui as DateTimeInputSize, Vi as DateTimeInputEmits } from "../index-
|
|
1
|
+
import { Bi as _default, Hi as DateTimeInputProps, Ui as DateTimeInputSize, Vi as DateTimeInputEmits } from "../index-DbfcTFO6.js";
|
|
2
2
|
export { _default as DateTimeInput, type DateTimeInputEmits, type DateTimeInputProps, type DateTimeInputSize };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as _sfc_main } from "../DateTimeInput-
|
|
1
|
+
import { t as _sfc_main } from "../DateTimeInput-DhB2gzx5.js";
|
|
2
2
|
export { _sfc_main as DateTimeInput };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as _sfc_main$2 } from "./BottomSheet-
|
|
1
|
+
import { n as _sfc_main$2 } from "./BottomSheet-DV7bboru.js";
|
|
2
2
|
import { t as _sfc_main$3 } from "./Icon-BCHo7W0x.js";
|
|
3
3
|
import { i as useSize } from "./SizeContext-BbaF-SEx.js";
|
|
4
4
|
import { t as useMediaQuery } from "./useMediaQuery-BzXGT1Aw.js";
|
|
@@ -15,9 +15,9 @@ import { t as useFieldPartStyling } from "./fieldParts-CbWvZLhH.js";
|
|
|
15
15
|
import { t as useBusyAnnouncement } from "./busyAnnouncement-CExubuYm.js";
|
|
16
16
|
import { t as dateInputMessages } from "./date-input-rUD8YAow.js";
|
|
17
17
|
import { t as formatInstant } from "./formatInstant-BDWUIxS7.js";
|
|
18
|
-
import { n as _sfc_main$8, t as _sfc_main$9 } from "./DateInput-
|
|
18
|
+
import { n as _sfc_main$8, t as _sfc_main$9 } from "./DateInput-DrMqXWSj.js";
|
|
19
19
|
import { n as dateTimeInputMessages } from "./time-input-CKOsh84E.js";
|
|
20
|
-
import { n as _sfc_main$10, t as _sfc_main$11 } from "./TimeField-
|
|
20
|
+
import { n as _sfc_main$10, t as _sfc_main$11 } from "./TimeField-jfhGVEyI.js";
|
|
21
21
|
import { r as effectivePickerPresentation, s as resolvePickerPresentation } from "./inputPresentation-BOyHkCDr.js";
|
|
22
22
|
import { Fragment, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createVNode, defineComponent, mergeModels, normalizeClass, normalizeStyle, openBlock, ref, shallowRef, toDisplayString, unref, useAttrs, useId, useModel, useTemplateRef, watch, withCtx } from "vue";
|
|
23
23
|
import "../styles/date-time-input.css";
|