@astryx-vue/core 0.19.1 → 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.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/ButtonGroup/index.d.ts +1 -1
- package/dist/Calendar/index.d.ts +1 -1
- package/dist/Carousel/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.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-CiIWOWXM.js → DateInput-DrMqXWSj.js} +2 -2
- package/dist/DateRangeInput/index.d.ts +1 -1
- package/dist/DateRangeInput/index.js +1 -1
- package/dist/{DateRangeInput-CLVQ8E0Y.js → DateRangeInput-BZuyhf-w.js} +1 -1
- package/dist/DateTimeInput/index.d.ts +1 -1
- package/dist/DateTimeInput/index.js +1 -1
- package/dist/{DateTimeInput-jHSN-Dzu.js → DateTimeInput-DhB2gzx5.js} +3 -3
- package/dist/Dialog/index.d.ts +1 -1
- 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/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/Pagination/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.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-C2x4uuAM.js → PowerSearch-CPgbhvEL.js} +6 -6
- package/dist/ProgressBar/index.d.ts +1 -1
- 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/Stepper/index.d.ts +1 -1
- 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-o3aGMDT1.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/Timer/index.d.ts +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/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.d.ts +1 -1
- 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.js +2 -2
- 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-X4S7_dmq.d.ts → index-BA8exXNP.d.ts} +1 -1
- package/dist/{index-CryFtTT6.d.ts → index-BIQZa2BD.d.ts} +1 -1
- 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-CbA8rR_b.d.ts → index-CBOv5j3c.d.ts} +1 -1
- package/dist/{index-D-giO0SA.d.ts → index-CHLLk77c.d.ts} +1 -1
- package/dist/{index-C4S65SAW.d.ts → index-CKnr0JlT.d.ts} +1 -1
- package/dist/{index-B-3EGjfQ.d.ts → index-CO9GW-ik.d.ts} +1 -1
- package/dist/{index-CdvmnNMH.d.ts → index-COgrQZIL.d.ts} +1 -1
- package/dist/{index-B449gOMC.d.ts → index-Cy1rEWC-.d.ts} +2 -2
- package/dist/{index-BO9TY87G.d.ts → index-DFLPv9io.d.ts} +1 -1
- package/dist/{index-ohw86wfM.d.ts → index-DbfcTFO6.d.ts} +37 -33
- package/dist/{index-Dg0JsBpI.d.ts → index-DoSTYXsP.d.ts} +2 -2
- package/dist/{index-CfXW4km8.d.ts → index-GgHVkJtB.d.ts} +1 -1
- package/dist/{index-aE810PYg.d.ts → index-Xhq1E7WZ.d.ts} +2 -2
- package/dist/{index-B3yTdknp.d.ts → index-ZKBj_1nu.d.ts} +3 -2
- package/dist/{index-CUCgbqBB.d.ts → index-gxuXI7KD.d.ts} +4 -4
- package/dist/{index-dWlCpnua.d.ts → index-mK1ICsVg.d.ts} +1 -1
- package/dist/{index-DdT2wE_N.d.ts → index-mPBIdznc.d.ts} +5 -5
- package/dist/index.d.ts +21 -21
- package/dist/index.js +34 -34
- 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/{useFocusTrap-BUd-fvUH.js → useFocusTrap-DsYtRdmV.js} +2 -81
- package/package.json +1 -1
- 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-BqhgeAT4.d.ts → index-CHx33xGa.d.ts} +2 -2
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { r as resetLayerScopedContext } from "./scopedProvide-C-Df7c15.js";
|
|
2
2
|
import { t as _sfc_main$2 } from "./Icon-BCHo7W0x.js";
|
|
3
|
-
import { t as useFocusTrap } from "./useFocusTrap-
|
|
3
|
+
import { t as useFocusTrap } from "./useFocusTrap-DsYtRdmV.js";
|
|
4
4
|
import { t as _sfc_main$3 } from "./IconButton-Du2XBBAX.js";
|
|
5
5
|
import { o as useComponentMessages } from "./context-B8IEFCDR.js";
|
|
6
6
|
import { t as useScrollLock } from "./scrollLock-CoVg9lLU.js";
|
package/dist/Link/index.d.ts
CHANGED
|
@@ -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 { bi as _default } from "../index-
|
|
2
|
+
import { bi as _default } from "../index-DbfcTFO6.js";
|
|
3
3
|
export { _default as Link, type LinkColor, type LinkProps, type LinkRoot, type LinkSize, type LinkType, type LinkWeight };
|
package/dist/List/index.d.ts
CHANGED
|
@@ -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-Dxs5rf-2.js";
|
|
2
|
-
import { a as useListContext, i as useItemDescriptionId, n as _default$1, r as _default, t as _default$2 } from "../index-
|
|
2
|
+
import { a as useListContext, i as useItemDescriptionId, n as _default$1, r as _default, t as _default$2 } from "../index-DoSTYXsP.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,2 +1,2 @@
|
|
|
1
|
-
import { a as MobileNavSide, c as MobileNavToggleProps, i as MobileNavProps, l as mobileNavKey, n as _default, o as MobileNavSlots, r as MobileNavEmits, s as MobileNavToggleEmits, t as _default$1 } from "../index-
|
|
1
|
+
import { a as MobileNavSide, c as MobileNavToggleProps, i as MobileNavProps, l as mobileNavKey, n as _default, o as MobileNavSlots, r as MobileNavEmits, s as MobileNavToggleEmits, t as _default$1 } from "../index-C5fbwY7Y.js";
|
|
2
2
|
export { _default as MobileNav, type MobileNavEmits, type MobileNavProps, type MobileNavSide, type MobileNavSlots, _default$1 as MobileNavToggle, type MobileNavToggleEmits, type MobileNavToggleProps, mobileNavKey };
|
package/dist/MobileNav/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as _sfc_main, r as mobileNavKey, t as _sfc_main$1 } from "../MobileNavToggle-
|
|
1
|
+
import { n as _sfc_main, r as mobileNavKey, t as _sfc_main$1 } from "../MobileNavToggle-CKEOroi0.js";
|
|
2
2
|
export { _sfc_main as MobileNav, _sfc_main$1 as MobileNavToggle, mobileNavKey };
|
|
@@ -1,13 +1,43 @@
|
|
|
1
1
|
import { r as resetLayerScopedContext } from "./scopedProvide-C-Df7c15.js";
|
|
2
2
|
import { c as useLayerDepth, f as pushLayer, s as provideLayerDepth, u as isTopLayer } from "./interactionModality-B5dR7nnb.js";
|
|
3
|
-
import { t as useFocusTrap } from "./useFocusTrap-
|
|
3
|
+
import { t as useFocusTrap } from "./useFocusTrap-DsYtRdmV.js";
|
|
4
4
|
import { o as useComponentMessages } from "./context-B8IEFCDR.js";
|
|
5
5
|
import { t as useRestoreFocus } from "./useRestoreFocus-Cz_jM_nW.js";
|
|
6
6
|
import { t as useScrollLock } from "./scrollLock-CoVg9lLU.js";
|
|
7
7
|
import { t as useScrollbars } from "./useScrollbars-Ch0xqJWO.js";
|
|
8
8
|
import { t as navMessages } from "./nav-DpKQUHqR.js";
|
|
9
|
-
import { Fragment, computed, createCommentVNode, createElementBlock, createElementVNode, createTextVNode, defineComponent, mergeModels, nextTick, normalizeClass, normalizeStyle, onBeforeUnmount, onMounted, onScopeDispose, openBlock, provide, ref, renderSlot, toDisplayString, unref, useId, useModel, useTemplateRef, watch } from "vue";
|
|
9
|
+
import { Fragment, computed, createCommentVNode, createElementBlock, createElementVNode, createTextVNode, defineComponent, mergeModels, nextTick, normalizeClass, normalizeStyle, onBeforeUnmount, onMounted, onScopeDispose, openBlock, provide, ref, renderSlot, toDisplayString, unref, useAttrs, useId, useModel, useSlots, useTemplateRef, watch } from "vue";
|
|
10
10
|
import "../styles/mobile-nav.css";
|
|
11
|
+
//#region src/MobileNav/autoSide.ts
|
|
12
|
+
/**
|
|
13
|
+
* @file autoSide.ts
|
|
14
|
+
* @input 抽屉的 dialog 元素和它的 id
|
|
15
|
+
* @output `side="auto"` 时抽屉从哪条边滑入
|
|
16
|
+
* @position MobileNav 内部
|
|
17
|
+
*
|
|
18
|
+
* 抽屉从打开它的那个控件所在的一侧滑入,按文字方向算:控件落在行内起始半边,
|
|
19
|
+
* 抽屉就从行内起始边出来(LTR 是左边,RTL 是右边);正中间的控件算行内结束半边。
|
|
20
|
+
* 打开者是当前有焦点的元素;触屏点按不一定让按钮拿到焦点,焦点在页面上没有、
|
|
21
|
+
* 或已经在抽屉里(服务端就已打开的抽屉水合后,原生模态会先把焦点挪进去)时,
|
|
22
|
+
* 改找 `aria-controls` 指向这个抽屉的元素。都找不到就从行内结束边出来。
|
|
23
|
+
*/
|
|
24
|
+
function openerOf(dialog, dialogId) {
|
|
25
|
+
const doc = dialog?.ownerDocument ?? document;
|
|
26
|
+
const focused = doc.activeElement;
|
|
27
|
+
if (focused instanceof HTMLElement && focused !== doc.body && !dialog?.contains(focused)) return focused;
|
|
28
|
+
for (const candidate of doc.querySelectorAll("[aria-controls]")) if (candidate.getAttribute("aria-controls")?.split(/\s+/).includes(dialogId)) return candidate;
|
|
29
|
+
return null;
|
|
30
|
+
}
|
|
31
|
+
function resolveAutoSide(dialog, dialogId) {
|
|
32
|
+
const opener = openerOf(dialog, dialogId);
|
|
33
|
+
if (opener == null) return "end";
|
|
34
|
+
const view = opener.ownerDocument.defaultView ?? window;
|
|
35
|
+
const rect = opener.getBoundingClientRect();
|
|
36
|
+
const center = rect.left + rect.width / 2;
|
|
37
|
+
const half = view.innerWidth / 2;
|
|
38
|
+
return (view.getComputedStyle(opener).direction === "rtl" ? center > half : center < half) ? "start" : "end";
|
|
39
|
+
}
|
|
40
|
+
//#endregion
|
|
11
41
|
//#region src/MobileNav/context.ts
|
|
12
42
|
/** 内容渲染在移动导航抽屉里时为 true。菜单在这里改成内联折叠,不再弹出。 */
|
|
13
43
|
const mobileNavKey = Symbol("astryx-mobile-nav");
|
|
@@ -49,13 +79,10 @@ const _hoisted_1$1 = [
|
|
|
49
79
|
"aria-labelledby",
|
|
50
80
|
"aria-label"
|
|
51
81
|
];
|
|
52
|
-
const _hoisted_2 =
|
|
82
|
+
const _hoisted_2 = ["data-side"];
|
|
53
83
|
const _hoisted_3 = ["id"];
|
|
54
84
|
const _hoisted_4 = ["aria-label"];
|
|
55
|
-
const _hoisted_5 =
|
|
56
|
-
ref: "body",
|
|
57
|
-
class: "astryx-mobile-nav__body"
|
|
58
|
-
};
|
|
85
|
+
const _hoisted_5 = ["aria-labelledby", "aria-label"];
|
|
59
86
|
const CLOSE_DELAY_MS = 300;
|
|
60
87
|
const _sfc_main$1 = /*@__PURE__*/ defineComponent({
|
|
61
88
|
name: "AstryxMobileNav",
|
|
@@ -84,13 +111,18 @@ const _sfc_main$1 = /*@__PURE__*/ defineComponent({
|
|
|
84
111
|
const dialogRef = ref(null);
|
|
85
112
|
const bodyEl = useTemplateRef("body");
|
|
86
113
|
useScrollbars(bodyEl);
|
|
87
|
-
const resolvedSide = ref(props.side === "
|
|
114
|
+
const resolvedSide = ref(props.side === "start" ? "start" : "end");
|
|
88
115
|
const generatedId = `astryx-mobile-nav-${useId()}`;
|
|
89
116
|
const dialogId = computed(() => props.id || generatedId);
|
|
90
117
|
const labelId = computed(() => `${dialogId.value}-label`);
|
|
118
|
+
const attrs = useAttrs();
|
|
119
|
+
const slots = useSlots();
|
|
91
120
|
const accessibleName = computed(() => props.label || props.header || messages.value.nav.mobileNav);
|
|
92
121
|
const closing = ref(false);
|
|
93
122
|
const trapEnabled = computed(() => isOpen.value || closing.value);
|
|
123
|
+
const hasTitle = computed(() => Boolean(slots.header) || Boolean(props.header));
|
|
124
|
+
/** 内容区地标和对话框同名:调用方写的 aria-labelledby 优先,其次是标题,再退回 aria-label。 */
|
|
125
|
+
const landmarkLabelledby = computed(() => attrs["aria-labelledby"] || (hasTitle.value ? labelId.value : void 0));
|
|
94
126
|
const sideIsStart = computed(() => resolvedSide.value === "start");
|
|
95
127
|
let closeTimer;
|
|
96
128
|
useScrollLock(isOpen);
|
|
@@ -108,14 +140,10 @@ const _sfc_main$1 = /*@__PURE__*/ defineComponent({
|
|
|
108
140
|
isOpen,
|
|
109
141
|
onDismiss: () => setOpen(false)
|
|
110
142
|
});
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
const rect = active.getBoundingClientRect();
|
|
116
|
-
return rect.left + rect.width / 2 < window.innerWidth / 2 ? "start" : "end";
|
|
117
|
-
}
|
|
118
|
-
return "start";
|
|
143
|
+
/** 显式的 `side` 直接用;`auto` 按打开者的位置和文字方向算。 */
|
|
144
|
+
function resolveSide() {
|
|
145
|
+
if (props.side === "start" || props.side === "end") return props.side;
|
|
146
|
+
return resolveAutoSide(dialogRef.value, dialogId.value);
|
|
119
147
|
}
|
|
120
148
|
function clearCloseTimer() {
|
|
121
149
|
if (closeTimer !== void 0) clearTimeout(closeTimer);
|
|
@@ -136,7 +164,6 @@ const _sfc_main$1 = /*@__PURE__*/ defineComponent({
|
|
|
136
164
|
if (open) {
|
|
137
165
|
clearCloseTimer();
|
|
138
166
|
closing.value = false;
|
|
139
|
-
resolvedSide.value = resolveSide(props.side);
|
|
140
167
|
if (typeof dialog.showModal === "function" && !dialog.open) dialog.showModal();
|
|
141
168
|
else dialog.setAttribute("open", "");
|
|
142
169
|
return;
|
|
@@ -155,6 +182,7 @@ const _sfc_main$1 = /*@__PURE__*/ defineComponent({
|
|
|
155
182
|
emit("openChange", next);
|
|
156
183
|
}
|
|
157
184
|
function onCancel(event) {
|
|
185
|
+
if (event.target !== event.currentTarget) return;
|
|
158
186
|
event.preventDefault();
|
|
159
187
|
if (!layer.shouldCloseOnCancel()) return;
|
|
160
188
|
setOpen(false);
|
|
@@ -163,11 +191,14 @@ const _sfc_main$1 = /*@__PURE__*/ defineComponent({
|
|
|
163
191
|
if (event.target === dialogRef.value) setOpen(false);
|
|
164
192
|
}
|
|
165
193
|
watch(isOpen, (open) => {
|
|
194
|
+
if (open) resolvedSide.value = resolveSide();
|
|
166
195
|
if (!open && dialogRef.value?.open && !reduceMotion()) closing.value = true;
|
|
167
196
|
nextTick(() => syncDialog(open));
|
|
168
|
-
});
|
|
197
|
+
}, { flush: "pre" });
|
|
169
198
|
onMounted(() => {
|
|
170
|
-
if (isOpen.value)
|
|
199
|
+
if (!isOpen.value) return;
|
|
200
|
+
resolvedSide.value = resolveSide();
|
|
201
|
+
syncDialog(true);
|
|
171
202
|
});
|
|
172
203
|
onBeforeUnmount(() => {
|
|
173
204
|
clearCloseTimer();
|
|
@@ -187,19 +218,31 @@ const _sfc_main$1 = /*@__PURE__*/ defineComponent({
|
|
|
187
218
|
"aria-label": _ctx.$slots.header || __props.header ? void 0 : accessibleName.value,
|
|
188
219
|
onCancel,
|
|
189
220
|
onClick: onDialogClick
|
|
190
|
-
}, [createElementVNode("div",
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
221
|
+
}, [createElementVNode("div", {
|
|
222
|
+
class: "astryx-mobile-nav__drawer astryx-mobile-nav-drawer",
|
|
223
|
+
"data-side": resolvedSide.value
|
|
224
|
+
}, [
|
|
225
|
+
createElementVNode("div", { class: normalizeClass(["astryx-mobile-nav__header", { "astryx-mobile-nav__header--end": !_ctx.$slots.header && !__props.header }]) }, [_ctx.$slots.header || __props.header ? (openBlock(), createElementBlock("div", {
|
|
226
|
+
key: 0,
|
|
227
|
+
id: labelId.value,
|
|
228
|
+
class: "astryx-mobile-nav__title"
|
|
229
|
+
}, [renderSlot(_ctx.$slots, "header", {}, () => [createTextVNode(toDisplayString(__props.header), 1)])], 8, _hoisted_3)) : createCommentVNode("v-if", true), createElementVNode("button", {
|
|
230
|
+
type: "button",
|
|
231
|
+
class: "astryx-mobile-nav__close",
|
|
232
|
+
"aria-label": unref(messages).nav.close,
|
|
233
|
+
onClick: _cache[0] || (_cache[0] = ($event) => setOpen(false))
|
|
234
|
+
}, [..._cache[1] || (_cache[1] = [createElementVNode("span", {
|
|
235
|
+
class: "astryx-mobile-nav__close-glyph",
|
|
236
|
+
"aria-hidden": "true"
|
|
237
|
+
}, null, -1)])], 8, _hoisted_4)], 2),
|
|
238
|
+
createCommentVNode(" 模态对话框本身不是地标,抽屉里的内容区是导航地标,和对话框同名。 "),
|
|
239
|
+
createElementVNode("nav", {
|
|
240
|
+
ref: "body",
|
|
241
|
+
class: "astryx-mobile-nav__body",
|
|
242
|
+
"aria-labelledby": landmarkLabelledby.value,
|
|
243
|
+
"aria-label": accessibleName.value
|
|
244
|
+
}, [renderSlot(_ctx.$slots, "default")], 8, _hoisted_5)
|
|
245
|
+
], 8, _hoisted_2)], 46, _hoisted_1$1)], 2112);
|
|
203
246
|
};
|
|
204
247
|
}
|
|
205
248
|
});
|
package/dist/MoreMenu/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { _i as MoreMenuResolvedPresentation, ci as MoreMenuDivider, di as MoreMenuInitialFocus, fi as MoreMenuItem, gi as MoreMenuProps, hi as MoreMenuPresentation, li as MoreMenuEmits, mi as MoreMenuOption, pi as MoreMenuItemVariant, si as _default, ui as MoreMenuIcon, vi as MoreMenuSection, yi as MoreMenuSlots } from "../index-
|
|
1
|
+
import { _i as MoreMenuResolvedPresentation, ci as MoreMenuDivider, di as MoreMenuInitialFocus, fi as MoreMenuItem, gi as MoreMenuProps, hi as MoreMenuPresentation, li as MoreMenuEmits, mi as MoreMenuOption, pi as MoreMenuItemVariant, si as _default, ui as MoreMenuIcon, vi as MoreMenuSection, yi as MoreMenuSlots } from "../index-DbfcTFO6.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-
|
|
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-gxuXI7KD.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-
|
|
1
|
+
import { n as SELECT_ALL_VALUE, r as flattenOptions, t as _sfc_main } from "../MultiSelector-CkAhUYdn.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-
|
|
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 { n as useInputGroupContext, r as useInputGroupDisabled } from "./context-Bg7eSJ47.js";
|
|
4
4
|
import { i as useSize } from "./SizeContext-BbaF-SEx.js";
|
|
@@ -4,7 +4,7 @@ import { o as useComponentMessages } from "./context-B8IEFCDR.js";
|
|
|
4
4
|
import { t as navMessages } from "./nav-DpKQUHqR.js";
|
|
5
5
|
import { i as safeNavHref, n as isNavigableHref, r as resolveNavRoot } from "./link-DuuA2eCL.js";
|
|
6
6
|
import { t as _sfc_main$3 } from "./NavDisclosure-Dg6U7pc7.js";
|
|
7
|
-
import { computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createTextVNode, createVNode, defineComponent, guardReactiveProps, mergeProps, normalizeClass, normalizeProps, openBlock, renderSlot, resolveDynamicComponent, toDisplayString, useSlots, withCtx, withModifiers } from "vue";
|
|
7
|
+
import { Fragment, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createTextVNode, createVNode, defineComponent, guardReactiveProps, mergeProps, normalizeClass, normalizeProps, openBlock, renderSlot, resolveDynamicComponent, toDisplayString, useSlots, withCtx, withModifiers } from "vue";
|
|
8
8
|
//#region src/NavMenu/navHeadingMode.ts
|
|
9
9
|
/** 标题的点击边界:整段链接、整段打开菜单,或链接和箭头各管各的。 */
|
|
10
10
|
function resolveNavHeadingMode(input) {
|
|
@@ -176,8 +176,22 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
176
176
|
"href",
|
|
177
177
|
"to",
|
|
178
178
|
"aria-label"
|
|
179
|
-
])) : mode.value === "whole-link" ? (openBlock(), createBlock(resolveDynamicComponent(headingRoot.value), {
|
|
180
|
-
|
|
179
|
+
])) : mode.value === "whole-link" && __props.kind === "side" && _ctx.$slots.end ? (openBlock(), createElementBlock(Fragment, { key: 1 }, [createCommentVNode(" 整个标题是链接、又带末端内容:末端内容常是控件,不能放进 <a>,所以链接和末端内容并排放在一个 div 里。 "), createElementVNode("div", { class: normalizeClass([block.value, `${block.value}--link`]) }, [(openBlock(), createBlock(resolveDynamicComponent(headingRoot.value), {
|
|
180
|
+
class: normalizeClass(`${block.value}__whole-link`),
|
|
181
|
+
href: safeHeadingHref.value,
|
|
182
|
+
to: safeHeadingHref.value && customLink.value != null ? safeHeadingHref.value : void 0
|
|
183
|
+
}, {
|
|
184
|
+
default: withCtx(() => [_ctx.$slots.icon ? (openBlock(), createElementBlock("span", {
|
|
185
|
+
key: 0,
|
|
186
|
+
class: normalizeClass(`${block.value}__icon`)
|
|
187
|
+
}, [renderSlot(_ctx.$slots, "icon")], 2)) : createCommentVNode("v-if", true), createVNode(_sfc_main$1, normalizeProps(guardReactiveProps(textProps.value)), null, 16)]),
|
|
188
|
+
_: 3
|
|
189
|
+
}, 8, [
|
|
190
|
+
"class",
|
|
191
|
+
"href",
|
|
192
|
+
"to"
|
|
193
|
+
])), createElementVNode("span", { class: normalizeClass(`${block.value}__end`) }, [renderSlot(_ctx.$slots, "end")], 2)], 2)], 2112)) : mode.value === "whole-link" ? (openBlock(), createBlock(resolveDynamicComponent(headingRoot.value), {
|
|
194
|
+
key: 2,
|
|
181
195
|
class: normalizeClass([block.value, `${block.value}--link`]),
|
|
182
196
|
href: safeHeadingHref.value,
|
|
183
197
|
to: safeHeadingHref.value && customLink.value != null ? safeHeadingHref.value : void 0
|
|
@@ -199,7 +213,7 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
199
213
|
"href",
|
|
200
214
|
"to"
|
|
201
215
|
])) : mode.value === "trigger" || mode.value === "mixed" ? (openBlock(), createBlock(_sfc_main$3, {
|
|
202
|
-
key:
|
|
216
|
+
key: 3,
|
|
203
217
|
hover: "",
|
|
204
218
|
label: __props.heading || logoName.value,
|
|
205
219
|
"panel-class": `${block.value}__panel`
|
|
@@ -270,7 +284,7 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
270
284
|
})], 2)]),
|
|
271
285
|
_: 3
|
|
272
286
|
}, 8, ["label", "panel-class"])) : (openBlock(), createElementBlock("div", {
|
|
273
|
-
key:
|
|
287
|
+
key: 4,
|
|
274
288
|
class: normalizeClass(block.value)
|
|
275
289
|
}, [
|
|
276
290
|
logoIsLink.value && _ctx.$slots.icon ? (openBlock(), createBlock(resolveDynamicComponent(headingRoot.value), {
|
package/dist/NavItem/index.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
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-
|
|
2
|
-
import { n as _default, r as resolveNavRoot, t as _default$1 } from "../index-
|
|
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-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 };
|
package/dist/NavItem/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { r as resolveNavRoot } from "../link-DuuA2eCL.js";
|
|
2
2
|
import { t as _sfc_main } from "../NavItem-thEKXyJA.js";
|
|
3
|
-
import { t as _sfc_main$1 } from "../NavItem-
|
|
3
|
+
import { t as _sfc_main$1 } from "../NavItem-CcbOJNnY.js";
|
|
4
4
|
export { _sfc_main as NavIcon, _sfc_main$1 as NavItem, resolveNavRoot };
|
|
@@ -1,6 +1,8 @@
|
|
|
1
|
+
import { t as hasSlotContent } from "./slotContent-CNWOrGOr.js";
|
|
1
2
|
import { t as usePressFeedback } from "./usePressFeedback-2YAzGB6C.js";
|
|
2
3
|
import { n as useLinkComponent } from "./context-C_peZbXf.js";
|
|
3
4
|
import { n as isNavigableHref, r as resolveNavRoot, t as isExternalNavTarget } from "./link-DuuA2eCL.js";
|
|
5
|
+
import { n as disabledInteractionProps } from "./disabledInteraction-CPzL8kVP.js";
|
|
4
6
|
import { computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createTextVNode, defineComponent, mergeProps, normalizeClass, openBlock, renderSlot, resolveDynamicComponent, toDisplayString, unref, useAttrs, useSlots, withCtx } from "vue";
|
|
5
7
|
import "../styles/nav-item.css";
|
|
6
8
|
//#region src/NavItem/NavItem.vue
|
|
@@ -35,6 +37,10 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
35
37
|
type: Boolean,
|
|
36
38
|
default: false
|
|
37
39
|
},
|
|
40
|
+
isFocusableWhenDisabled: {
|
|
41
|
+
type: Boolean,
|
|
42
|
+
default: false
|
|
43
|
+
},
|
|
38
44
|
size: { default: "md" },
|
|
39
45
|
iconClass: {},
|
|
40
46
|
selectedIconClass: {},
|
|
@@ -63,14 +69,21 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
63
69
|
const linkComponent = useLinkComponent();
|
|
64
70
|
/** 触屏按压模型只标记,按压色由 nav-item.css 自己画。 */
|
|
65
71
|
const { pressableProps } = usePressFeedback({ hasOverlay: false });
|
|
72
|
+
const isLink = computed(() => isNavigableHref(props.href, props.isDisabled));
|
|
73
|
+
/** 禁用但仍可聚焦的按钮:浏览器照常派发事件,所以调用方的处理函数一个都不能跑(焦点和失焦除外)。 */
|
|
74
|
+
const keepsFocus = computed(() => props.isDisabled && props.isFocusableWhenDisabled && !isLink.value);
|
|
75
|
+
const HELD_BACK = /^on(?!Focus|Blur)[A-Z]/;
|
|
66
76
|
function forwardedAttrs() {
|
|
67
77
|
const forwarded = Object.fromEntries(Object.entries(attrs).filter(([key]) => key !== "class" && key !== "style"));
|
|
78
|
+
if (keepsFocus.value) return {
|
|
79
|
+
...Object.fromEntries(Object.entries(forwarded).filter(([key]) => !HELD_BACK.test(key))),
|
|
80
|
+
...disabledInteractionProps()
|
|
81
|
+
};
|
|
68
82
|
return props.isDisabled ? forwarded : {
|
|
69
83
|
...pressableProps,
|
|
70
84
|
...forwarded
|
|
71
85
|
};
|
|
72
86
|
}
|
|
73
|
-
const isLink = computed(() => isNavigableHref(props.href, props.isDisabled));
|
|
74
87
|
const iconOnlyName = computed(() => {
|
|
75
88
|
const given = attrs["aria-label"];
|
|
76
89
|
if (!props.isIconOnly) return typeof given === "string" ? given : void 0;
|
|
@@ -84,8 +97,8 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
84
97
|
if (props.isSelected && props.selectedIconClass) return props.selectedIconClass;
|
|
85
98
|
return props.iconClass;
|
|
86
99
|
});
|
|
87
|
-
const showSelectedArtwork = computed(() => props.isSelected && (props.selectedIconClass != null || slots.selectedIcon
|
|
88
|
-
const hasIcon = computed(() => Boolean(props.iconClass || props.selectedIconClass || slots.icon || slots.selectedIcon));
|
|
100
|
+
const showSelectedArtwork = computed(() => props.isSelected && (props.selectedIconClass != null || hasSlotContent(slots.selectedIcon)));
|
|
101
|
+
const hasIcon = computed(() => Boolean(props.iconClass || props.selectedIconClass || hasSlotContent(slots.icon) || hasSlotContent(slots.selectedIcon)));
|
|
89
102
|
const rel = computed(() => {
|
|
90
103
|
if (!isLink.value) return void 0;
|
|
91
104
|
const parts = new Set((props.rel ?? "").split(" ").filter(Boolean));
|
|
@@ -121,7 +134,7 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
121
134
|
target: isLink.value ? __props.target : void 0,
|
|
122
135
|
rel: rel.value,
|
|
123
136
|
type: isLink.value ? void 0 : "button",
|
|
124
|
-
disabled: isLink.value ? void 0 : __props.isDisabled,
|
|
137
|
+
disabled: isLink.value || keepsFocus.value ? void 0 : __props.isDisabled,
|
|
125
138
|
"aria-current": __props.isSelected ? "page" : void 0,
|
|
126
139
|
"aria-disabled": __props.isDisabled || void 0,
|
|
127
140
|
"aria-label": iconOnlyName.value,
|
|
@@ -137,7 +150,7 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
137
150
|
class: normalizeClass(["astryx-nav-item__glyph", glyph.value])
|
|
138
151
|
}, null, 2)) : createCommentVNode("v-if", true)], void 0, 1)])) : createCommentVNode("v-if", true),
|
|
139
152
|
!__props.isIconOnly ? (openBlock(), createElementBlock("span", _hoisted_2, [renderSlot(_ctx.$slots, "default", {}, () => [createTextVNode(toDisplayString(__props.label), 1)])])) : createCommentVNode("v-if", true),
|
|
140
|
-
!__props.isIconOnly && _ctx.$slots.end ? (openBlock(), createElementBlock("span", _hoisted_3, [renderSlot(_ctx.$slots, "end")])) : createCommentVNode("v-if", true)
|
|
153
|
+
!__props.isIconOnly && unref(hasSlotContent)(_ctx.$slots.end) ? (openBlock(), createElementBlock("span", _hoisted_3, [renderSlot(_ctx.$slots, "end")])) : createCommentVNode("v-if", true)
|
|
141
154
|
]),
|
|
142
155
|
_: 3
|
|
143
156
|
}, 16, [
|
package/dist/NavMenu/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as _default, c as NavHeadingMenuItemEmits, d as NavMenuEmits, f as NavMenuItemEmits, g as NavMenuSize, h as NavMenuFocusRequest, i as _default$1, l as NavHeadingMenuItemProps, m as NavMenuProps, n as _default$3, o as NavDisclosureProps, p as NavMenuItemProps, r as _default$2, s as NavHeadingMenuEmits, t as _default$4, u as NavHeadingMenuProps } from "../index-
|
|
1
|
+
import { a as _default, c as NavHeadingMenuItemEmits, d as NavMenuEmits, f as NavMenuItemEmits, g as NavMenuSize, h as NavMenuFocusRequest, i as _default$1, l as NavHeadingMenuItemProps, m as NavMenuProps, n as _default$3, o as NavDisclosureProps, p as NavMenuItemProps, r as _default$2, s as NavHeadingMenuEmits, t as _default$4, u as NavHeadingMenuProps } from "../index-BIQZa2BD.js";
|
|
2
2
|
export { _default as NavDisclosure, type NavDisclosureProps, _default$1 as NavHeadingMenu, type NavHeadingMenuEmits, _default$2 as NavHeadingMenuItem, type NavHeadingMenuItemEmits, type NavHeadingMenuItemProps, type NavHeadingMenuProps, _default$3 as NavMenu, type NavMenuEmits, type NavMenuFocusRequest, _default$4 as NavMenuItem, type NavMenuItemEmits, type NavMenuItemProps, type NavMenuProps, type NavMenuSize };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { ai as NumberInputProps, ii as NumberInputEmits, oi as NumberInputStatus, ri as _default } from "../index-
|
|
1
|
+
import { ai as NumberInputProps, ii as NumberInputEmits, oi as NumberInputStatus, ri as _default } from "../index-DbfcTFO6.js";
|
|
2
2
|
export { _default as NumberInput, type NumberInputEmits, type NumberInputProps, type NumberInputStatus };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { $r as OverflowListCollapsedItem, Qr as _default, ei as OverflowListEmits, ni as OverflowListProps, ti as OverflowListItem } from "../index-
|
|
1
|
+
import { $r as OverflowListCollapsedItem, Qr as _default, ei as OverflowListEmits, ni as OverflowListProps, ti as OverflowListItem } from "../index-DbfcTFO6.js";
|
|
2
2
|
export { _default as OverflowList, type OverflowListCollapsedItem, type OverflowListEmits, type OverflowListItem, type OverflowListProps };
|
|
@@ -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-
|
|
1
|
+
import { a as PaginationSlots, i as PaginationSize, n as PaginationEmits, o as PaginationVariant, r as PaginationProps, t as _default } from "../index-Cy1rEWC-.js";
|
|
2
2
|
export { _default as Pagination, type PaginationEmits, type PaginationProps, type PaginationSize, type PaginationSlots, type PaginationVariant };
|
package/dist/Pagination/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as _sfc_main } from "../Pagination-
|
|
1
|
+
import { t as _sfc_main } from "../Pagination-C0oI5FRP.js";
|
|
2
2
|
export { _sfc_main as Pagination };
|
|
@@ -3,7 +3,7 @@ import { t as useListFocus } from "./useListFocus-CbHkLT-X.js";
|
|
|
3
3
|
import { t as usePendingChange } from "./usePendingChange-ib-h8FZK.js";
|
|
4
4
|
import { t as consumeWhileDisabled } from "./disabledInteraction-CPzL8kVP.js";
|
|
5
5
|
import { t as paginationMessages } from "./pagination-CxZBYsPu.js";
|
|
6
|
-
import { t as _sfc_main$1 } from "./Selector-
|
|
6
|
+
import { t as _sfc_main$1 } from "./Selector-CUTnAjq-.js";
|
|
7
7
|
import { Fragment, computed, createCommentVNode, createElementBlock, createElementVNode, createTextVNode, createVNode, defineComponent, normalizeClass, onBeforeUnmount, onMounted, openBlock, ref, renderList, renderSlot, toDisplayString, toValue, unref, vShow, watch, withDirectives, withKeys } from "vue";
|
|
8
8
|
import "../styles/pagination.css";
|
|
9
9
|
/**
|
package/dist/Popover/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as usePopover, t as _sfc_main } from "../Popover-
|
|
1
|
+
import { n as usePopover, t as _sfc_main } from "../Popover-Cl4gQQZq.js";
|
|
2
2
|
export { _sfc_main as Popover, usePopover };
|
|
@@ -4,7 +4,8 @@ import { t as useDismiss } from "./useDismiss-Dfb0Ky7T.js";
|
|
|
4
4
|
import { n as useLayer } from "./tooltipTriggerRules-PBxqztvn.js";
|
|
5
5
|
import { t as _sfc_main$2 } from "./LayerContentBoundary-CpqXMTyU.js";
|
|
6
6
|
import { n as focusElement, r as getFocusables } from "./focus-x7mxEqjR.js";
|
|
7
|
-
import {
|
|
7
|
+
import { a as inDocumentOrder } from "./focusRegion-CmDg7_4b.js";
|
|
8
|
+
import { t as useFocusTrap } from "./useFocusTrap-DsYtRdmV.js";
|
|
8
9
|
import { o as useComponentMessages } from "./context-B8IEFCDR.js";
|
|
9
10
|
import { t as useMergedRefs } from "./useMergedRefs-DTGo1cEU.js";
|
|
10
11
|
import { n as restoreLayerFocus, r as trackLayerFocus, t as isLayerFocusStranded } from "./layerFocusReturn-B8Hp14ZG.js";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { A as PowerSearchItem, C as PowerSearchEmits, D as PowerSearchFieldType, E as PowerSearchFieldDefinition, F as PowerSearchSlots, I as PowerSearchStatus, M as PowerSearchOverflow, N as PowerSearchProps, O as PowerSearchFilter, P as PowerSearchSize, S as PowerSearchConfig, T as PowerSearchField, _ as FilterValue, a as usePowerSearchConfig, b as PowerSearchChangeType, c as resolveOperatorLabel, d as formatFilterValue, f as completePowerSearchFilter, g as DateTimeRangePart, h as DateTimeRange, i as createPowerSearchConfig, j as PowerSearchOperator, k as PowerSearchHandle, l as formatDateAbsolute, m as createPowerSearchLookup, n as InferPowerSearchData, o as _default, p as PowerSearchLookup, r as applyPowerSearchFilters, s as resolveEditorPlacement, t as searchPowerSearchFields, u as formatDateAbsoluteCompact, v as OperatorValue, w as PowerSearchEntity, x as PowerSearchComponents, y as PartialFilter } from "../index-
|
|
1
|
+
import { A as PowerSearchItem, C as PowerSearchEmits, D as PowerSearchFieldType, E as PowerSearchFieldDefinition, F as PowerSearchSlots, I as PowerSearchStatus, M as PowerSearchOverflow, N as PowerSearchProps, O as PowerSearchFilter, P as PowerSearchSize, S as PowerSearchConfig, T as PowerSearchField, _ as FilterValue, a as usePowerSearchConfig, b as PowerSearchChangeType, c as resolveOperatorLabel, d as formatFilterValue, f as completePowerSearchFilter, g as DateTimeRangePart, h as DateTimeRange, i as createPowerSearchConfig, j as PowerSearchOperator, k as PowerSearchHandle, l as formatDateAbsolute, m as createPowerSearchLookup, n as InferPowerSearchData, o as _default, p as PowerSearchLookup, r as applyPowerSearchFilters, s as resolveEditorPlacement, t as searchPowerSearchFields, u as formatDateAbsoluteCompact, v as OperatorValue, w as PowerSearchEntity, x as PowerSearchComponents, y as PartialFilter } from "../index-Xhq1E7WZ.js";
|
|
2
2
|
export { type DateTimeRange, type DateTimeRangePart, type FilterValue, type InferPowerSearchData, type OperatorValue, type PartialFilter, _default as PowerSearch, type PowerSearchChangeType, type PowerSearchComponents, type PowerSearchConfig, type PowerSearchEmits, type PowerSearchEntity, type PowerSearchField, type PowerSearchFieldDefinition, type PowerSearchFieldType, type PowerSearchFilter, type PowerSearchHandle, type PowerSearchItem, type PowerSearchLookup, type PowerSearchOperator, type PowerSearchOverflow, type PowerSearchProps, type PowerSearchSize, type PowerSearchSlots, type PowerSearchStatus, applyPowerSearchFilters, completePowerSearchFilter, createPowerSearchConfig, createPowerSearchLookup, formatDateAbsolute, formatDateAbsoluteCompact, formatFilterValue, resolveEditorPlacement, resolveOperatorLabel, searchPowerSearchFields, usePowerSearchConfig };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as searchPowerSearchFields, c as formatDateAbsolute, d as createPowerSearchLookup, f as completePowerSearchFilter, i as _sfc_main, l as formatDateAbsoluteCompact, n as createPowerSearchConfig, o as resolveEditorPlacement, r as usePowerSearchConfig, s as resolveOperatorLabel, t as applyPowerSearchFilters, u as formatFilterValue } from "../PowerSearch-
|
|
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-CPgbhvEL.js";
|
|
2
2
|
export { _sfc_main as PowerSearch, applyPowerSearchFilters, completePowerSearchFilter, createPowerSearchConfig, createPowerSearchLookup, formatDateAbsolute, formatDateAbsoluteCompact, formatFilterValue, resolveEditorPlacement, resolveOperatorLabel, searchPowerSearchFields, usePowerSearchConfig };
|
|
@@ -13,19 +13,19 @@ import { t as _sfc_main$7 } from "./Tooltip-DQipgW1R.js";
|
|
|
13
13
|
import { t as useScrollbars } from "./useScrollbars-Ch0xqJWO.js";
|
|
14
14
|
import { t as _sfc_main$8 } from "./Field-BXkGR8H0.js";
|
|
15
15
|
import { t as useFieldPartStyling } from "./fieldParts-CbWvZLhH.js";
|
|
16
|
-
import { t as _sfc_main$9 } from "./DateInput-
|
|
16
|
+
import { t as _sfc_main$9 } from "./DateInput-DrMqXWSj.js";
|
|
17
17
|
import { l as powerSearchMessages } from "./loadCatalog-DsEKSY3U.js";
|
|
18
|
-
import { t as _sfc_main$10 } from "./DateRangeInput-
|
|
19
|
-
import { t as _sfc_main$11 } from "./DateTimeInput-
|
|
18
|
+
import { t as _sfc_main$10 } from "./DateRangeInput-BZuyhf-w.js";
|
|
19
|
+
import { t as _sfc_main$11 } from "./DateTimeInput-DhB2gzx5.js";
|
|
20
20
|
import { n as tokenNamingKey, t as _sfc_main$12 } from "./Token-jBbgdevV.js";
|
|
21
21
|
import { n as scrollOptionIntoView, r as useAnchoredListbox } from "./stillPointerGate-0vdn-hSa.js";
|
|
22
|
-
import { t as _sfc_main$13 } from "./MultiSelector-
|
|
22
|
+
import { t as _sfc_main$13 } from "./MultiSelector-CkAhUYdn.js";
|
|
23
23
|
import { n as resolveNumberInputCommit, t as _sfc_main$14 } from "./NumberInput-BsWTXomE.js";
|
|
24
|
-
import { t as _sfc_main$15 } from "./Selector-
|
|
24
|
+
import { t as _sfc_main$15 } from "./Selector-CUTnAjq-.js";
|
|
25
25
|
import { o as useTypeaheadMenu } from "./useTypeaheadMenuConfig--4f7jR6G.js";
|
|
26
26
|
import { n as useTokenRemoveTap, t as _sfc_main$16 } from "./Tokenizer-CsFiYUJ_.js";
|
|
27
27
|
import { t as _sfc_main$17 } from "./TextInput-_SIiqVOY.js";
|
|
28
|
-
import { t as _sfc_main$18 } from "./TimeInput-
|
|
28
|
+
import { t as _sfc_main$18 } from "./TimeInput-CvFcN4nl.js";
|
|
29
29
|
import { t as _sfc_main$19 } from "./Typeahead--kEp21ut.js";
|
|
30
30
|
import { Fragment, Teleport, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createSlots, createVNode, defineComponent, mergeProps, nextTick, normalizeClass, normalizeStyle, onMounted, openBlock, provide, ref, renderList, renderSlot, resolveComponent, resolveDynamicComponent, toDisplayString, unref, useAttrs, useId, useSlots, useTemplateRef, vShow, watch, withCtx, withDirectives, withModifiers } from "vue";
|
|
31
31
|
import "../styles/layer.css";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as ProgressBarVariant, i as ProgressBarSize, n as ProgressBarMark, r as ProgressBarProps, t as _default } from "../index-
|
|
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 };
|
package/dist/Radio/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { Br as RadioGroupEmits, Gr as RadioOrientation, Hr as RadioGroupSlots, Jr as RadioSlots, Kr as RadioProps, Lr as _default$1, Rr as _default, Vr as RadioGroupProps, Wr as RadioOption, Xr as RadioStatusType, Yr as RadioStatus, Zr as RadioValue, qr as RadioSize, zr as RadioChangeEvent } from "../index-
|
|
1
|
+
import { Br as RadioGroupEmits, Gr as RadioOrientation, Hr as RadioGroupSlots, Jr as RadioSlots, Kr as RadioProps, Lr as _default$1, Rr as _default, Vr as RadioGroupProps, Wr as RadioOption, Xr as RadioStatusType, Yr as RadioStatus, Zr as RadioValue, qr as RadioSize, zr as RadioChangeEvent } from "../index-DbfcTFO6.js";
|
|
2
2
|
export { _default as Radio, type RadioChangeEvent, _default$1 as RadioGroup, type RadioGroupEmits, type RadioGroupProps, type RadioGroupSlots, type RadioOption, type RadioOrientation, type RadioProps, type RadioSize, type RadioSlots, type RadioStatus, type RadioStatusType, type RadioValue };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { Fr as RadioListItemProps, Ir as _default, Pr as _default$1, Ur as RadioListProps } from "../index-
|
|
1
|
+
import { Fr as RadioListItemProps, Ir as _default, Pr as _default$1, Ur as RadioListProps } from "../index-DbfcTFO6.js";
|
|
2
2
|
export { _default as RadioList, _default$1 as RadioListItem, type RadioListItemProps, type RadioListProps };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { Mr as ScrollableAreaProps, Nr as ScrollableAreaSlots, jr as _default } from "../index-
|
|
1
|
+
import { Mr as ScrollableAreaProps, Nr as ScrollableAreaSlots, jr as _default } from "../index-DbfcTFO6.js";
|
|
2
2
|
export { _default as ScrollableArea, type ScrollableAreaProps, type ScrollableAreaSlots };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { Ar as SelectableCardSlots, Dr as _default, Or as SelectableCardEmits, kr as SelectableCardProps } from "../index-
|
|
1
|
+
import { Ar as SelectableCardSlots, Dr as _default, Or as SelectableCardEmits, kr as SelectableCardProps } from "../index-DbfcTFO6.js";
|
|
2
2
|
export { _default as SelectableCard, _default as default, type SelectableCardEmits, type SelectableCardProps, type SelectableCardSlots };
|
package/dist/Selector/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as SelectorOption, c as SelectorProps, d as SelectorSlots, f as SelectorStatus, h as SelectorVariant, i as SelectorIndicatorPosition, l as SelectorSection, m as SelectorStatusVariant, n as SelectorEmits, o as SelectorOptionInput, p as SelectorStatusInput, r as SelectorEntry, s as SelectorPresentation, t as _default, u as SelectorSize } from "../index-
|
|
1
|
+
import { a as SelectorOption, c as SelectorProps, d as SelectorSlots, f as SelectorStatus, h as SelectorVariant, i as SelectorIndicatorPosition, l as SelectorSection, m as SelectorStatusVariant, n as SelectorEmits, o as SelectorOptionInput, p as SelectorStatusInput, r as SelectorEntry, s as SelectorPresentation, t as _default, u as SelectorSize } from "../index-mPBIdznc.js";
|
|
2
2
|
export { _default as Selector, type SelectorEmits, type SelectorEntry, type SelectorIndicatorPosition, type SelectorOption, type SelectorOptionInput, type SelectorPresentation, type SelectorProps, type SelectorSection, type SelectorSize, type SelectorSlots, type SelectorStatus, type SelectorStatusInput, type SelectorStatusVariant, type SelectorVariant };
|
package/dist/Selector/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as _sfc_main } from "../Selector-
|
|
1
|
+
import { t as _sfc_main } from "../Selector-CUTnAjq-.js";
|
|
2
2
|
export { _sfc_main as Selector };
|
|
@@ -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 { n as useInputGroupContext, r as useInputGroupDisabled } from "./context-Bg7eSJ47.js";
|
|
4
4
|
import { i as useSize } from "./SizeContext-BbaF-SEx.js";
|
package/dist/SideNav/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { Cr as SideNavResizable, Er as useSideNavCollapse, Sr as SideNavProps, Tr as SideNavCollapseContext, _r as SideNavEmits, br as SideNavItemEmits, cr as _default$3, dr as _default, fr as SideNavCollapseButtonProps, gr as SideNavControlledCollapsible, hr as SideNavCollapsible, lr as _default$2, mr as SideNavCollapseButtonSlots, pr as SideNavCollapseButtonSize, sr as _default$4, ur as _default$1, vr as SideNavHandle, wr as SideNavSectionProps, xr as SideNavItemProps, yr as SideNavHeadingProps } from "../index-
|
|
1
|
+
import { Cr as SideNavResizable, Er as useSideNavCollapse, Sr as SideNavProps, Tr as SideNavCollapseContext, _r as SideNavEmits, br as SideNavItemEmits, cr as _default$3, dr as _default, fr as SideNavCollapseButtonProps, gr as SideNavControlledCollapsible, hr as SideNavCollapsible, lr as _default$2, mr as SideNavCollapseButtonSlots, pr as SideNavCollapseButtonSize, sr as _default$4, ur as _default$1, vr as SideNavHandle, wr as SideNavSectionProps, xr as SideNavItemProps, yr as SideNavHeadingProps } from "../index-DbfcTFO6.js";
|
|
2
2
|
export { _default as SideNav, _default$1 as SideNavCollapseButton, type SideNavCollapseButtonProps, type SideNavCollapseButtonSize, type SideNavCollapseButtonSlots, type SideNavCollapseContext, type SideNavCollapsible, type SideNavControlledCollapsible, type SideNavEmits, type SideNavHandle, _default$2 as SideNavHeading, type SideNavHeadingProps, _default$3 as SideNavItem, type SideNavItemEmits, type SideNavItemProps, type SideNavProps, type SideNavResizable, _default$4 as SideNavSection, type SideNavSectionProps, useSideNavCollapse };
|
package/dist/SideNav/index.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { a as _sfc_main$1, i as _sfc_main, n as _sfc_main$3, r as _sfc_main$2, t as _sfc_main$4 } from "../SideNav-
|
|
1
|
+
import { a as useSideNavCollapse } from "../context-Cj_zItu2.js";
|
|
2
|
+
import { a as _sfc_main$1, i as _sfc_main, n as _sfc_main$3, r as _sfc_main$2, t as _sfc_main$4 } from "../SideNav-5yLlEOdD.js";
|
|
3
3
|
export { _sfc_main as SideNav, _sfc_main$1 as SideNavCollapseButton, _sfc_main$2 as SideNavHeading, _sfc_main$3 as SideNavItem, _sfc_main$4 as SideNavSection, useSideNavCollapse };
|