@astryx-vue/core 0.9.1 → 0.10.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/README.md +8 -1
- 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/Breadcrumbs/index.js +1 -1
- package/dist/{Breadcrumbs-CrqG4fGx.js → Breadcrumbs-Dxjz2Dxn.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/Card/index.d.ts +1 -1
- package/dist/Carousel/index.d.ts +1 -1
- package/dist/Chat/index.d.ts +1 -1
- package/dist/Chat/index.js +1 -1
- package/dist/{Chat-Bl_Wr2lK.js → Chat-Bz9KRyug.js} +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.d.ts +1 -1
- package/dist/CommandPalette/index.d.ts +1 -1
- package/dist/ContextMenu/index.d.ts +1 -1
- package/dist/ContextMenu/index.js +1 -1
- package/dist/{ContextMenu-DN_nTBgW.js → ContextMenu-6AnjpPJg.js} +119 -142
- package/dist/DateInput/index.d.ts +1 -1
- package/dist/DateRangeInput/index.d.ts +1 -1
- package/dist/DateTimeInput/index.d.ts +1 -1
- package/dist/Dialog/index.d.ts +1 -1
- package/dist/Divider/index.d.ts +1 -1
- package/dist/Drawer/index.d.ts +1 -1
- package/dist/DropdownMenu/index.js +2 -2
- package/dist/{DropdownMenu-B758ASzK.js → DropdownMenu-B9eUWp_X.js} +23 -41
- package/dist/{DropdownMenu-D_KdcZCL.js → DropdownMenu-DJK_xIUd.js} +3 -5
- package/dist/Field/index.d.ts +1 -1
- package/dist/FileInput/index.d.ts +1 -1
- package/dist/HoverCard/index.d.ts +1 -1
- package/dist/HoverCard/index.js +1 -1
- package/dist/{HoverCard-CLcbBLBN.js → HoverCard-3S3axq-o.js} +2 -39
- package/dist/InfoTip/index.d.ts +1 -1
- package/dist/InputGroup/index.d.ts +1 -1
- package/dist/Link/index.d.ts +1 -1
- package/dist/List/index.d.ts +1 -1
- package/dist/MoreMenu/index.d.ts +1 -1
- package/dist/MoreMenu/index.js +1 -1
- package/dist/{MoreMenu-1lxF-JY5.js → MoreMenu-DaLb4bgr.js} +1 -24
- package/dist/MultiSelector/index.d.ts +1 -1
- package/dist/NavMenu/index.js +1 -1
- package/dist/{NavMenu-C5BgRNpG.js → NavMenu-ChlWdHfi.js} +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.d.ts +1 -1
- package/dist/Popover/index.d.ts +1 -1
- package/dist/PowerSearch/index.d.ts +1 -1
- 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/Resizable/index.d.ts +1 -1
- package/dist/ScrollableArea/index.d.ts +1 -1
- package/dist/SegmentedControl/index.d.ts +1 -1
- package/dist/SelectableCard/index.d.ts +1 -1
- package/dist/Selector/index.d.ts +1 -1
- package/dist/SideNav/index.d.ts +1 -1
- package/dist/Stack/index.d.ts +1 -1
- 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/TextArea/index.d.ts +1 -1
- package/dist/TextInput/index.d.ts +1 -1
- package/dist/TimeInput/index.d.ts +1 -1
- package/dist/Timestamp/index.d.ts +1 -1
- package/dist/Timestamp/index.js +1 -1
- package/dist/{Timestamp-B7H0KScU.js → Timestamp-DWnbOvnI.js} +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/Tooltip/index.d.ts +1 -1
- package/dist/TopNav/index.d.ts +1 -1
- package/dist/TreeList/index.d.ts +1 -1
- package/dist/TreeList/index.js +1 -1
- package/dist/{TreeList-DeknLfbQ.js → TreeList-CRMLcaRx.js} +11 -5
- package/dist/Typeahead/index.d.ts +1 -1
- package/dist/composables/index.js +3 -2
- package/dist/{composables-CF4EnyHW.js → composables-JBLeessI.js} +1 -145
- package/dist/{index-BgT6mH3U.d.ts → index-BB9acgK8.d.ts} +1 -1
- package/dist/{index-wY6dKz6c.d.ts → index-BEZ4ezJk.d.ts} +2 -2
- package/dist/{index-CfPGC9aW.d.ts → index-BMCjAlq6.d.ts} +1 -1
- package/dist/{index-C1C7wOAU.d.ts → index-BM_ecKyA.d.ts} +11 -11
- package/dist/{index-DTfA4uE3.d.ts → index-BSCGAS9f.d.ts} +3 -3
- package/dist/{index-CsxZ8Jr0.d.ts → index-BWzEt0gT.d.ts} +3 -3
- package/dist/{index-CTjkJP4x.d.ts → index-Bgk1Rj2A.d.ts} +1 -1
- package/dist/{index-O_KX_p13.d.ts → index-Bh81JoCO.d.ts} +11 -11
- 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-GmoeIuhl.d.ts → index-Byan7Dad.d.ts} +1 -1
- package/dist/{index-dWlCpnua.d.ts → index-C5e2rZML.d.ts} +2 -2
- package/dist/{index-5WZNQzWs.d.ts → index-CTmPclix.d.ts} +9 -9
- package/dist/{index-B449gOMC.d.ts → index-Cj3oYBbW.d.ts} +1 -1
- package/dist/{index-6kd7pher.d.ts → index-CtFkEity.d.ts} +1 -1
- package/dist/{index-C8wfe0Mr.d.ts → index-D05JGsT3.d.ts} +1 -1
- package/dist/{index-B-3EGjfQ.d.ts → index-D1ncEgaS.d.ts} +1 -1
- package/dist/{index-BxWCX2pJ.d.ts → index-DFjI9t5J.d.ts} +1 -1
- package/dist/{index-CM2L3SUw.d.ts → index-DItIx1wC.d.ts} +4 -4
- package/dist/{index-Bnj1hZmL.d.ts → index-DPH5yoAr.d.ts} +1 -1
- package/dist/{index-CuTGi_CF.d.ts → index-DcCW_2qu.d.ts} +76 -76
- package/dist/{index-Cun6cXGP.d.ts → index-DnskskrO.d.ts} +3 -3
- package/dist/{index-Dg0JsBpI.d.ts → index-DoSTYXsP.d.ts} +2 -2
- package/dist/{index-DZKv1WNB.d.ts → index-Dsab_-sG.d.ts} +1 -1
- package/dist/{index-PsawGBwC.d.ts → index-DzuyarZi.d.ts} +4 -4
- package/dist/{index-DneQgJfI.d.ts → index-O9y23OPJ.d.ts} +1 -1
- package/dist/{index-MEix_m1o.d.ts → index-R9mtTNPl.d.ts} +3 -3
- package/dist/{index-CdvmnNMH.d.ts → index-Xc3q9f84.d.ts} +2 -2
- package/dist/{index-Dy746dfn.d.ts → index-unAZVFGz.d.ts} +1 -1
- package/dist/index.d.ts +30 -30
- package/dist/index.js +13 -12
- package/dist/menuActivation-BqiaK6ot.js +27 -0
- package/dist/typeaheadMatch-Cl-oxKFt.js +78 -0
- package/dist/useTouchTrigger-GGd85Obb.js +146 -0
- package/dist/{useTypeahead-DXnNlISe.js → useTypeahead-DSMObTtg.js} +10 -10
- package/package.json +1 -1
- package/dist/{index-J6YRJ7Ul.d.ts → index-BqhgeAT4.d.ts} +1 -1
|
@@ -5,7 +5,7 @@ import { t as _sfc_main$2 } from "./LayerContentBoundary-CvsKxwwm.js";
|
|
|
5
5
|
import { n as useOverflow } from "./useOverflow-VrwF5oek.js";
|
|
6
6
|
import { t as _sfc_main$3 } from "./Item-Cfv4ALls.js";
|
|
7
7
|
import { n as useDropdownMenuMessages, s as useDropdownMenuContext } from "./useMenuDrillIn-uQtOSny6.js";
|
|
8
|
-
import { a as
|
|
8
|
+
import { a as _sfc_main$5, c as _sfc_main$4, i as activateFocusedMenuItem, n as useMenuRegions, r as useMenuFocus } from "./DropdownMenu-B9eUWp_X.js";
|
|
9
9
|
import { n as clampInlineSize, r as isIntrinsicInlineSize } from "./inlineSize-BNe8wggI.js";
|
|
10
10
|
import { t as _sfc_main$6 } from "./Spinner-DEVPDsD0.js";
|
|
11
11
|
import { t as useSubmenuMode } from "./useSubmenuMode-CZN9qrUo.js";
|
|
@@ -190,8 +190,7 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
190
190
|
event.preventDefault();
|
|
191
191
|
event.stopPropagation();
|
|
192
192
|
if (event.repeat) return;
|
|
193
|
-
|
|
194
|
-
if (focused instanceof HTMLElement && MENU_ITEM_ROLES.has(focused.getAttribute("role") ?? "")) activateMenuItem(focused, event);
|
|
193
|
+
activateFocusedMenuItem(event);
|
|
195
194
|
return;
|
|
196
195
|
}
|
|
197
196
|
event.stopPropagation();
|
|
@@ -219,8 +218,7 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
219
218
|
event.preventDefault();
|
|
220
219
|
event.stopPropagation();
|
|
221
220
|
if (event.repeat) return;
|
|
222
|
-
|
|
223
|
-
if (focused instanceof HTMLElement && MENU_ITEM_ROLES.has(focused.getAttribute("role") ?? "")) activateMenuItem(focused, event);
|
|
221
|
+
activateFocusedMenuItem(event);
|
|
224
222
|
return;
|
|
225
223
|
}
|
|
226
224
|
event.stopPropagation();
|
package/dist/Field/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { a as FieldSlots, c as FieldStatusType, i as FieldSlotProps, l as FieldStatusVariant, n as FieldLabelSlots, o as FieldStatusInput, r as FieldProps, s as FieldStatusProps, t as FieldLabelProps } from "../types-bAQk3F8G.js";
|
|
2
2
|
import { t as FieldPartStylingProps } from "../fieldParts-LXpQMKE8.js";
|
|
3
|
-
import { n as _default$1, r as _default, t as _default$2 } from "../index-
|
|
3
|
+
import { n as _default$1, r as _default, t as _default$2 } from "../index-Byan7Dad.js";
|
|
4
4
|
export { _default as Field, _default$1 as FieldLabel, type FieldLabelProps, type FieldLabelSlots, type FieldPartStylingProps, type FieldProps, type FieldSlotProps, type FieldSlots, type FieldStatusInput, type FieldStatusProps, type FieldStatusType, type FieldStatusVariant, _default$2 as InputClearButton };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { Ci as FileInputValue, Si as FileInputStatus, _i as _default, bi as FileInputProps, vi as FileInputEmits, xi as FileInputSize, yi as FileInputMode } from "../index-
|
|
1
|
+
import { Ci as FileInputValue, Si as FileInputStatus, _i as _default, bi as FileInputProps, vi as FileInputEmits, xi as FileInputSize, yi as FileInputMode } from "../index-DcCW_2qu.js";
|
|
2
2
|
export { _default as FileInput, type FileInputEmits, type FileInputMode, type FileInputProps, type FileInputSize, type FileInputStatus, type FileInputValue };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as HoverCardAlignment, c as HoverCardHoverIndication, d as HoverCardSlots, f as HoverCardTouchTrigger, i as _default, l as HoverCardPlacement, n as UseHoverCardReturn, o as HoverCardEmits, r as useHoverCard, s as HoverCardFocusTrigger, t as UseHoverCardOptions, u as HoverCardProps } from "../index-
|
|
1
|
+
import { a as HoverCardAlignment, c as HoverCardHoverIndication, d as HoverCardSlots, f as HoverCardTouchTrigger, i as _default, l as HoverCardPlacement, n as UseHoverCardReturn, o as HoverCardEmits, r as useHoverCard, s as HoverCardFocusTrigger, t as UseHoverCardOptions, u as HoverCardProps } from "../index-DnskskrO.js";
|
|
2
2
|
export { _default as HoverCard, type HoverCardAlignment, type HoverCardEmits, type HoverCardFocusTrigger, type HoverCardHoverIndication, type HoverCardPlacement, type HoverCardProps, type HoverCardSlots, type HoverCardTouchTrigger, type UseHoverCardOptions, type UseHoverCardReturn, useHoverCard };
|
package/dist/HoverCard/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as useHoverCard, t as _sfc_main } from "../HoverCard-
|
|
1
|
+
import { n as useHoverCard, t as _sfc_main } from "../HoverCard-3S3axq-o.js";
|
|
2
2
|
export { _sfc_main as HoverCard, useHoverCard };
|
|
@@ -4,12 +4,13 @@ import { t as useLayer } from "./useLayer-CED-g4Q2.js";
|
|
|
4
4
|
import { t as _sfc_main$1 } from "./LayerContentBoundary-CvsKxwwm.js";
|
|
5
5
|
import { i as isFocusable } from "./focus-l8jVTcqd.js";
|
|
6
6
|
import { t as useMergedRefs } from "./useMergedRefs-DTGo1cEU.js";
|
|
7
|
+
import { t as isActionTrigger } from "./useTouchTrigger-GGd85Obb.js";
|
|
7
8
|
import { t as useHoverLayerDismiss } from "./useHoverLayerDismiss-kYJ_NqL4.js";
|
|
8
9
|
import { Fragment, Teleport, Transition, computed, createBlock, createElementBlock, createElementVNode, createTextVNode, createVNode, defineComponent, mergeProps, onMounted, onScopeDispose, onUpdated, openBlock, ref, renderSlot, shallowRef, toDisplayString, toValue, unref, vShow, watch, withCtx, withDirectives } from "vue";
|
|
9
10
|
import "../styles/hover-card.css";
|
|
10
11
|
//#region src/HoverCard/hoverCardTrigger.ts
|
|
11
12
|
/**
|
|
12
|
-
* 悬停卡片触发器上哪些角色能写 aria-expanded
|
|
13
|
+
* 悬停卡片触发器上哪些角色能写 aria-expanded,以及触发器的 id 合并。
|
|
13
14
|
*/
|
|
14
15
|
const EXPANDABLE_ROLES = /* @__PURE__ */ new Set([
|
|
15
16
|
"application",
|
|
@@ -35,23 +36,6 @@ const BUTTON_INPUT_TYPES = /* @__PURE__ */ new Set([
|
|
|
35
36
|
"reset",
|
|
36
37
|
"image"
|
|
37
38
|
]);
|
|
38
|
-
const ACTION_ROLES = /* @__PURE__ */ new Set([
|
|
39
|
-
"button",
|
|
40
|
-
"checkbox",
|
|
41
|
-
"combobox",
|
|
42
|
-
"link",
|
|
43
|
-
"menuitem",
|
|
44
|
-
"menuitemcheckbox",
|
|
45
|
-
"menuitemradio",
|
|
46
|
-
"option",
|
|
47
|
-
"radio",
|
|
48
|
-
"searchbox",
|
|
49
|
-
"slider",
|
|
50
|
-
"spinbutton",
|
|
51
|
-
"switch",
|
|
52
|
-
"tab",
|
|
53
|
-
"textbox"
|
|
54
|
-
]);
|
|
55
39
|
/**
|
|
56
40
|
* aria-expanded 只在一部分 role 上合法。没有 role 的触发器只靠 aria-haspopup
|
|
57
41
|
* 和 aria-controls 宣告弹层。写在不合法的地方就是 aria-allowed-attr 缺陷。
|
|
@@ -69,27 +53,6 @@ function supportsAriaExpanded(element) {
|
|
|
69
53
|
default: return false;
|
|
70
54
|
}
|
|
71
55
|
}
|
|
72
|
-
function isEditable(element) {
|
|
73
|
-
if (element.isContentEditable === true) return true;
|
|
74
|
-
const attribute = element.getAttribute("contenteditable");
|
|
75
|
-
return attribute != null && attribute !== "false";
|
|
76
|
-
}
|
|
77
|
-
/** 触发器自己会做事(按钮、链接、输入框)时,轻点属于它,不打开卡片。 */
|
|
78
|
-
function isActionTrigger(element) {
|
|
79
|
-
const role = element.getAttribute("role");
|
|
80
|
-
if (role != null && role !== "") return ACTION_ROLES.has(role);
|
|
81
|
-
switch (element.tagName) {
|
|
82
|
-
case "BUTTON":
|
|
83
|
-
case "INPUT":
|
|
84
|
-
case "LABEL":
|
|
85
|
-
case "SELECT":
|
|
86
|
-
case "SUMMARY":
|
|
87
|
-
case "TEXTAREA": return true;
|
|
88
|
-
case "A":
|
|
89
|
-
case "AREA": return element.hasAttribute("href");
|
|
90
|
-
default: return isEditable(element);
|
|
91
|
-
}
|
|
92
|
-
}
|
|
93
56
|
function mergeIds(...ids) {
|
|
94
57
|
const kept = ids.filter(Boolean);
|
|
95
58
|
return kept.length > 0 ? kept.join(" ") : void 0;
|
package/dist/InfoTip/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { gi as InfoTipSize, hi as InfoTipProps, mi as _default } from "../index-
|
|
1
|
+
import { gi as InfoTipSize, hi as InfoTipProps, mi as _default } from "../index-DcCW_2qu.js";
|
|
2
2
|
export { _default as InfoTip, _default as default, type InfoTipProps, type InfoTipSize };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as InputGroupSlots, c as INPUT_GROUP_KEY, i as InputGroupSize, l as InputGroupContext, n as _default, o as InputGroupTextProps, r as InputGroupProps, s as InputGroupTextSlots, t as _default$1 } from "../index-
|
|
1
|
+
import { a as InputGroupSlots, c as INPUT_GROUP_KEY, i as InputGroupSize, l as InputGroupContext, n as _default, o as InputGroupTextProps, r as InputGroupProps, s as InputGroupTextSlots, t as _default$1 } from "../index-BvWBeoa8.js";
|
|
2
2
|
export { INPUT_GROUP_KEY, _default as InputGroup, type InputGroupContext, type InputGroupProps, type InputGroupSize, type InputGroupSlots, _default$1 as InputGroupText, type InputGroupTextProps, type InputGroupTextSlots };
|
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 { pi as _default } from "../index-
|
|
2
|
+
import { pi as _default } from "../index-DcCW_2qu.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 };
|
package/dist/MoreMenu/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { ai as MoreMenuItem, ci as MoreMenuPresentation, di as MoreMenuSection, ei as _default, fi as MoreMenuSlots, ii as MoreMenuInitialFocus, li as MoreMenuProps, ni as MoreMenuEmits, oi as MoreMenuItemVariant, ri as MoreMenuIcon, si as MoreMenuOption, ti as MoreMenuDivider, ui as MoreMenuResolvedPresentation } from "../index-
|
|
1
|
+
import { ai as MoreMenuItem, ci as MoreMenuPresentation, di as MoreMenuSection, ei as _default, fi as MoreMenuSlots, ii as MoreMenuInitialFocus, li as MoreMenuProps, ni as MoreMenuEmits, oi as MoreMenuItemVariant, ri as MoreMenuIcon, si as MoreMenuOption, ti as MoreMenuDivider, ui as MoreMenuResolvedPresentation } from "../index-DcCW_2qu.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 };
|
package/dist/MoreMenu/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as _sfc_main } from "../MoreMenu-
|
|
1
|
+
import { t as _sfc_main } from "../MoreMenu-DaLb4bgr.js";
|
|
2
2
|
export { _sfc_main as MoreMenu };
|
|
@@ -11,6 +11,7 @@ import { n as useOverflow } from "./useOverflow-VrwF5oek.js";
|
|
|
11
11
|
import { t as _sfc_main$8 } from "./Heading-C10qO8wg.js";
|
|
12
12
|
import { t as useScrollbars } from "./useScrollbars-Ch0xqJWO.js";
|
|
13
13
|
import { t as _sfc_main$9 } from "./Divider-mOZ6vIQw.js";
|
|
14
|
+
import { n as isModifiedClick, t as activateMenuItem } from "./menuActivation-BqiaK6ot.js";
|
|
14
15
|
import { n as _sfc_main$11, t as _sfc_main$10 } from "./ListItem-2evjQQ7n.js";
|
|
15
16
|
import { t as moreMenuMessages } from "./more-menu-B_dod4C-.js";
|
|
16
17
|
import { Fragment, Teleport, Transition, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createSlots, createTextVNode, createVNode, defineComponent, h, inject, mergeModels, mergeProps, nextTick, normalizeClass, normalizeStyle, onBeforeUnmount, onMounted, openBlock, provide, ref, renderList, renderSlot, resolveComponent, resolveDynamicComponent, shallowRef, toDisplayString, toRaw, unref, useId, useModel, useTemplateRef, watch, withCtx } from "vue";
|
|
@@ -65,30 +66,6 @@ const MENU_ITEM_SELECTOR = [.../* @__PURE__ */ new Set([
|
|
|
65
66
|
"menuitemradio",
|
|
66
67
|
"menuitemcheckbox"
|
|
67
68
|
])].map((role) => `[role="${role}"]:not([aria-disabled="true"])`).join(",");
|
|
68
|
-
/**
|
|
69
|
-
* Whether a click carries a modifier or a non-primary button. On a row that is
|
|
70
|
-
* a link the browser gives such a click a meaning of its own, which the row
|
|
71
|
-
* must leave alone.
|
|
72
|
-
*/
|
|
73
|
-
function isModifiedClick(event) {
|
|
74
|
-
return event.metaKey || event.ctrlKey || event.shiftKey || event.altKey || (event.button ?? 0) !== 0;
|
|
75
|
-
}
|
|
76
|
-
/**
|
|
77
|
-
* Activate a row from the keyboard: a synthesized click that carries the key's
|
|
78
|
-
* modifiers, so a modified Enter on a link row opens the way a modified click
|
|
79
|
-
* would. `detail` stays 0, the mark of a non-pointer activation.
|
|
80
|
-
*/
|
|
81
|
-
function activateMenuItem(row, key) {
|
|
82
|
-
row.dispatchEvent(new MouseEvent("click", {
|
|
83
|
-
altKey: key.altKey,
|
|
84
|
-
bubbles: true,
|
|
85
|
-
cancelable: true,
|
|
86
|
-
composed: true,
|
|
87
|
-
ctrlKey: key.ctrlKey,
|
|
88
|
-
metaKey: key.metaKey,
|
|
89
|
-
shiftKey: key.shiftKey
|
|
90
|
-
}));
|
|
91
|
-
}
|
|
92
69
|
/** Whether the element or one of its ancestors flows right to left. */
|
|
93
70
|
function isRtl(element) {
|
|
94
71
|
if (element == null) return false;
|
|
@@ -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-Bh81JoCO.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 };
|
package/dist/NavMenu/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { t as _sfc_main } from "../NavDisclosure-DG4jls5z.js";
|
|
2
|
-
import { n as _sfc_main$1, t as _sfc_main$2 } from "../NavMenu-
|
|
2
|
+
import { n as _sfc_main$1, t as _sfc_main$2 } from "../NavMenu-ChlWdHfi.js";
|
|
3
3
|
import { n as _sfc_main$3, t as _sfc_main$4 } from "../NavMenuItem-DIMQohIa.js";
|
|
4
4
|
export { _sfc_main as NavDisclosure, _sfc_main$1 as NavHeadingMenu, _sfc_main$2 as NavHeadingMenuItem, _sfc_main$3 as NavMenu, _sfc_main$4 as NavMenuItem };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { n as readLayerScoped } from "./scopedProvide-C-Df7c15.js";
|
|
2
2
|
import { n as useLinkComponent } from "./context-C_peZbXf.js";
|
|
3
3
|
import { t as useListFocus } from "./useListFocus-CbHkLT-X.js";
|
|
4
|
-
import { t as useTypeahead } from "./useTypeahead-
|
|
4
|
+
import { t as useTypeahead } from "./useTypeahead-DSMObTtg.js";
|
|
5
5
|
import { n as isNavigableHref } from "./link-DuuA2eCL.js";
|
|
6
6
|
import { i as navMenuKey, n as navMenuCloseKey, r as navMenuFocusKey } from "./NavDisclosure-DG4jls5z.js";
|
|
7
7
|
import { computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, defineComponent, inject, mergeProps, nextTick, normalizeClass, onMounted, openBlock, provide, ref, renderSlot, resolveDynamicComponent, toDisplayString, toRaw, useAttrs, watch, withCtx } from "vue";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { $r as NumberInputStatus, Qr as NumberInputProps, Xr as _default, Zr as NumberInputEmits } from "../index-
|
|
1
|
+
import { $r as NumberInputStatus, Qr as NumberInputProps, Xr as _default, Zr as NumberInputEmits } from "../index-DcCW_2qu.js";
|
|
2
2
|
export { _default as NumberInput, type NumberInputEmits, type NumberInputProps, type NumberInputStatus };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { Gr as _default, Jr as OverflowListItem, Kr as OverflowListCollapsedItem, Yr as OverflowListProps, qr as OverflowListEmits } from "../index-
|
|
1
|
+
import { Gr as _default, Jr as OverflowListItem, Kr as OverflowListCollapsedItem, Yr as OverflowListProps, qr as OverflowListEmits } from "../index-DcCW_2qu.js";
|
|
2
2
|
export { _default as OverflowList, type OverflowListCollapsedItem, type OverflowListEmits, type OverflowListItem, type OverflowListProps };
|
package/dist/Overlay/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as OverlayContainerProps, c as OverlayScrimMode, d as OverlayShowOn, f as OverlaySlots, i as OverlayAlign, l as OverlayScrimProps, m as UseOverlayResult, n as _default$1, o as OverlayPosition, p as UseOverlayOptions, r as _default, s as OverlayProps, t as useOverlay, u as OverlayScrimSlots } from "../index-
|
|
1
|
+
import { a as OverlayContainerProps, c as OverlayScrimMode, d as OverlayShowOn, f as OverlaySlots, i as OverlayAlign, l as OverlayScrimProps, m as UseOverlayResult, n as _default$1, o as OverlayPosition, p as UseOverlayOptions, r as _default, s as OverlayProps, t as useOverlay, u as OverlayScrimSlots } from "../index-BuubzuE8.js";
|
|
2
2
|
export { _default as Overlay, type OverlayAlign, type OverlayContainerProps, type OverlayPosition, type OverlayProps, _default$1 as OverlayScrim, type OverlayScrimMode, type OverlayScrimProps, type OverlayScrimSlots, type OverlayShowOn, type OverlaySlots, type UseOverlayOptions, type UseOverlayResult, useOverlay };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as PaginationSlots, i as PaginationSize, n as PaginationEmits, o as PaginationVariant, r as PaginationProps, t as _default } from "../index-
|
|
1
|
+
import { a as PaginationSlots, i as PaginationSize, n as PaginationEmits, o as PaginationVariant, r as PaginationProps, t as _default } from "../index-Cj3oYBbW.js";
|
|
2
2
|
export { _default as Pagination, type PaginationEmits, type PaginationProps, type PaginationSize, type PaginationSlots, type PaginationVariant };
|
package/dist/Popover/index.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { a as PopoverRole, i as PopoverProps, n as PopoverPadding, r as PopoverPlacement, t as PopoverAlignment } from "../types-OGMYGejX.js";
|
|
2
|
-
import { i as _default, n as UsePopoverReturn, r as usePopover, t as UsePopoverOptions } from "../index-
|
|
2
|
+
import { i as _default, n as UsePopoverReturn, r as usePopover, t as UsePopoverOptions } from "../index-R9mtTNPl.js";
|
|
3
3
|
export { _default as Popover, type PopoverAlignment, type PopoverPadding, type PopoverPlacement, type PopoverProps, type PopoverRole, type UsePopoverOptions, type UsePopoverReturn, usePopover };
|
|
@@ -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-DPH5yoAr.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 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-Xc3q9f84.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 { Ar as _default$1, Br as RadioSize, Fr as RadioGroupSlots, Hr as RadioStatus, Lr as RadioOption, Mr as RadioChangeEvent, Nr as RadioGroupEmits, Pr as RadioGroupProps, Rr as RadioOrientation, Ur as RadioStatusType, Vr as RadioSlots, Wr as RadioValue, jr as _default, zr as RadioProps } from "../index-
|
|
1
|
+
import { Ar as _default$1, Br as RadioSize, Fr as RadioGroupSlots, Hr as RadioStatus, Lr as RadioOption, Mr as RadioChangeEvent, Nr as RadioGroupEmits, Pr as RadioGroupProps, Rr as RadioOrientation, Ur as RadioStatusType, Vr as RadioSlots, Wr as RadioValue, jr as _default, zr as RadioProps } from "../index-DcCW_2qu.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 { Dr as _default$1, Ir as RadioListProps, Or as RadioListItemProps, kr as _default } from "../index-
|
|
1
|
+
import { Dr as _default$1, Ir as RadioListProps, Or as RadioListItemProps, kr as _default } from "../index-DcCW_2qu.js";
|
|
2
2
|
export { _default as RadioList, _default$1 as RadioListItem, type RadioListItemProps, type RadioListProps };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as ResizePillPlacement, i as ResizeHandleSlots, n as ResizeDirection, o as ResizePosition, r as ResizeHandleProps, t as _default } from "../index-
|
|
1
|
+
import { a as ResizePillPlacement, i as ResizeHandleSlots, n as ResizeDirection, o as ResizePosition, r as ResizeHandleProps, t as _default } from "../index-BMCjAlq6.js";
|
|
2
2
|
export { type ResizeDirection, _default as ResizeHandle, type ResizeHandleProps, type ResizeHandleSlots, type ResizePillPlacement, type ResizePosition };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { Er as ScrollableAreaSlots, Tr as ScrollableAreaProps, wr as _default } from "../index-
|
|
1
|
+
import { Er as ScrollableAreaSlots, Tr as ScrollableAreaProps, wr as _default } from "../index-DcCW_2qu.js";
|
|
2
2
|
export { _default as ScrollableArea, type ScrollableAreaProps, type ScrollableAreaSlots };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as SegmentedControlItemProps, c as SegmentedControlProps, i as SegmentedControlEmits, l as SegmentedControlSize, n as _default, o as SegmentedControlItemSlots, r as SegmentedControlContextValue, s as SegmentedControlLayout, t as _default$1, u as SegmentedControlSlots } from "../index-
|
|
1
|
+
import { a as SegmentedControlItemProps, c as SegmentedControlProps, i as SegmentedControlEmits, l as SegmentedControlSize, n as _default, o as SegmentedControlItemSlots, r as SegmentedControlContextValue, s as SegmentedControlLayout, t as _default$1, u as SegmentedControlSlots } from "../index-CtFkEity.js";
|
|
2
2
|
export { _default as SegmentedControl, type SegmentedControlContextValue, type SegmentedControlEmits, _default$1 as SegmentedControlItem, type SegmentedControlItemProps, type SegmentedControlItemSlots, type SegmentedControlLayout, type SegmentedControlProps, type SegmentedControlSize, type SegmentedControlSlots };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { Cr as SelectableCardSlots, Sr as SelectableCardProps, br as _default, xr as SelectableCardEmits } from "../index-
|
|
1
|
+
import { Cr as SelectableCardSlots, Sr as SelectableCardProps, br as _default, xr as SelectableCardEmits } from "../index-DcCW_2qu.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-BM_ecKyA.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/SideNav/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { _r as SideNavSectionProps, ar as SideNavCollapseButtonProps, cr as SideNavCollapsible, dr as SideNavHandle, er as _default$4, fr as SideNavHeadingProps, gr as SideNavResizable, hr as SideNavProps, ir as _default, lr as SideNavControlledCollapsible, mr as SideNavItemProps, nr as _default$2, or as SideNavCollapseButtonSize, pr as SideNavItemEmits, rr as _default$1, sr as SideNavCollapseButtonSlots, tr as _default$3, ur as SideNavEmits, vr as SideNavCollapseContext, yr as useSideNavCollapse } from "../index-
|
|
1
|
+
import { _r as SideNavSectionProps, ar as SideNavCollapseButtonProps, cr as SideNavCollapsible, dr as SideNavHandle, er as _default$4, fr as SideNavHeadingProps, gr as SideNavResizable, hr as SideNavProps, ir as _default, lr as SideNavControlledCollapsible, mr as SideNavItemProps, nr as _default$2, or as SideNavCollapseButtonSize, pr as SideNavItemEmits, rr as _default$1, sr as SideNavCollapseButtonSlots, tr as _default$3, ur as SideNavEmits, vr as SideNavCollapseContext, yr as useSideNavCollapse } from "../index-DcCW_2qu.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/Stack/index.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { a as StackDirection, c as StackItemProps, d as StackProps, f as StackSizeValue, i as StackCrossAlignment, l as StackItemSize, m as VStackProps, n as SpacingStep, o as StackElement, p as StackWrap, r as StackAlignment, s as StackItemCrossAlignSelf, t as HStackProps, u as StackMainAlignment } from "../types-BTk0WZ0b.js";
|
|
2
|
-
import { i as _default, n as _default$2, r as _default$1, t as _default$3 } from "../index-
|
|
2
|
+
import { i as _default, n as _default$2, r as _default$1, t as _default$3 } from "../index-BB9acgK8.js";
|
|
3
3
|
export { _default as HStack, type HStackProps, type SpacingStep, _default$1 as Stack, type StackAlignment, type StackCrossAlignment, type StackDirection, type StackElement, _default$2 as StackItem, type StackItemCrossAlignSelf, type StackItemProps, type StackItemSize, type StackMainAlignment, type StackProps, type StackSizeValue, type StackWrap, _default$3 as VStack, type VStackProps };
|
package/dist/Stepper/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as StepProps, c as StepperCollapsedVariant, d as StepperIndicatorPosition, f as StepperOrientation, i as StepProgress, l as StepperDensity, m as StepperSlots, n as _default, o as StepSlots, p as StepperProps, r as StepIndicator, s as StepStatus, t as _default$1, u as StepperHorizontalOptions } from "../index-
|
|
1
|
+
import { a as StepProps, c as StepperCollapsedVariant, d as StepperIndicatorPosition, f as StepperOrientation, i as StepProgress, l as StepperDensity, m as StepperSlots, n as _default, o as StepSlots, p as StepperProps, r as StepIndicator, s as StepStatus, t as _default$1, u as StepperHorizontalOptions } from "../index-D1ncEgaS.js";
|
|
2
2
|
export { _default as Step, type StepIndicator, type StepProgress, type StepProps, type StepSlots, type StepStatus, _default$1 as Stepper, type StepperCollapsedVariant, type StepperDensity, type StepperHorizontalOptions, type StepperIndicatorPosition, type StepperOrientation, type StepperProps, type StepperSlots };
|
package/dist/Switch/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { $n as SwitchStatusType, Gn as SwitchChangeEvent, Jn as SwitchLabelSpacing, Kn as SwitchEmits, Qn as SwitchStatus, Un as _default, Wn as SwitchChangeAction, Xn as SwitchSize, Yn as SwitchProps, Zn as SwitchSlots, qn as SwitchLabelPosition } from "../index-
|
|
1
|
+
import { $n as SwitchStatusType, Gn as SwitchChangeEvent, Jn as SwitchLabelSpacing, Kn as SwitchEmits, Qn as SwitchStatus, Un as _default, Wn as SwitchChangeAction, Xn as SwitchSize, Yn as SwitchProps, Zn as SwitchSlots, qn as SwitchLabelPosition } from "../index-DcCW_2qu.js";
|
|
2
2
|
export { _default as Switch, type SwitchChangeAction, type SwitchChangeEvent, type SwitchEmits, type SwitchLabelPosition, type SwitchLabelSpacing, type SwitchProps, type SwitchSize, type SwitchSlots, type SwitchStatus, type SwitchStatusType };
|
package/dist/TabList/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as TabListLayout, c as TabListSize, d as TabMenuProps, f as TabProps, i as TabListEdgeCompensation, l as TabListTab, n as _default$1, o as TabListOverflow, p as TabSlots, r as _default, s as TabListProps, t as _default$2, u as TabMenuOption } from "../index-
|
|
1
|
+
import { a as TabListLayout, c as TabListSize, d as TabMenuProps, f as TabProps, i as TabListEdgeCompensation, l as TabListTab, n as _default$1, o as TabListOverflow, p as TabSlots, r as _default, s as TabListProps, t as _default$2, u as TabMenuOption } from "../index-C5e2rZML.js";
|
|
2
2
|
export { _default as Tab, _default$1 as TabList, type TabListEdgeCompensation, type TabListLayout, type TabListOverflow, type TabListProps, type TabListSize, type TabListTab, _default$2 as TabMenu, type TabMenuOption, type TabMenuProps, type TabProps, type TabSlots };
|
package/dist/Table/index.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { $t as TableSemanticRowStatus, An as columnResizeStep, At as _default$4, Bn as resolveColumnFloorWidths, Bt as useTableTreeState, Cn as useTableColumnSettings, Dn as UseTableColumnResizeConfig, Dt as _default$7, En as ColumnResizeSnapshot, Fn as cellText, Ft as TableTreeRowMeta, Gt as useTableStickyColumns, Hn as sortRows, Ht as UseTableStickyColumnsConfig, In as generateColumns, It as UseTableTreeDataConfig, Jt as useTableSortableState, Kt as UseTableSortableConfig, Ln as paginateData, Lt as UseTableTreeStateConfig, Mn as resizeColumnWidths, Mt as _default$2, Nn as useTableColumnResize, Nt as _default$1, On as columnResizeDirectionSign, Ot as _default$6, Pn as capitalize, Pt as _default, Qt as TableRowStatusName, Rn as pixel, Rt as flattenTree, Sn as UseTableColumnSettingsConfig, Tn as ColumnResizePlan, Ut as resolveStickySide, Vn as resolveColumnWidths, Vt as StickySide, Wt as stickyOffsets, Xt as TableRowStatus, Yt as TableCustomRowStatus, Zt as TableRowStatusColor, _n as applyTableFilters, an as useTableRowExpansion, bn as ColumnSettingsOption, cn as useTablePagination, dn as buildGroupedRows, en as UseTableRowStatusConfig, fn as isTableGroupHeader, gn as UseTableFilteringConfig, hn as UseTableFilterStateOptions, in as UseTableRowExpansionConfig, jn as isProportionalColumnWidth, jt as _default$3, kn as columnResizeMinWidth, kt as _default$5, ln as isInteractiveRowClick, mn as TableFilterStateHandle, nn as UseTableRowIndexConfig, on as TablePaginationVariant, pn as useTableGroupedRows, qt as useTableSortable, rn as useTableRowIndex, sn as UseTablePaginationConfig, tn as useTableRowStatus, un as UseTableGroupedRowsConfig, vn as useTableFilterState, wn as useTableColumnSettingsState, xn as TableColumnSettingsState, yn as useTableFiltering, zn as proportional, zt as useTableTreeData } from "../index-
|
|
1
|
+
import { $t as TableSemanticRowStatus, An as columnResizeStep, At as _default$4, Bn as resolveColumnFloorWidths, Bt as useTableTreeState, Cn as useTableColumnSettings, Dn as UseTableColumnResizeConfig, Dt as _default$7, En as ColumnResizeSnapshot, Fn as cellText, Ft as TableTreeRowMeta, Gt as useTableStickyColumns, Hn as sortRows, Ht as UseTableStickyColumnsConfig, In as generateColumns, It as UseTableTreeDataConfig, Jt as useTableSortableState, Kt as UseTableSortableConfig, Ln as paginateData, Lt as UseTableTreeStateConfig, Mn as resizeColumnWidths, Mt as _default$2, Nn as useTableColumnResize, Nt as _default$1, On as columnResizeDirectionSign, Ot as _default$6, Pn as capitalize, Pt as _default, Qt as TableRowStatusName, Rn as pixel, Rt as flattenTree, Sn as UseTableColumnSettingsConfig, Tn as ColumnResizePlan, Ut as resolveStickySide, Vn as resolveColumnWidths, Vt as StickySide, Wt as stickyOffsets, Xt as TableRowStatus, Yt as TableCustomRowStatus, Zt as TableRowStatusColor, _n as applyTableFilters, an as useTableRowExpansion, bn as ColumnSettingsOption, cn as useTablePagination, dn as buildGroupedRows, en as UseTableRowStatusConfig, fn as isTableGroupHeader, gn as UseTableFilteringConfig, hn as UseTableFilterStateOptions, in as UseTableRowExpansionConfig, jn as isProportionalColumnWidth, jt as _default$3, kn as columnResizeMinWidth, kt as _default$5, ln as isInteractiveRowClick, mn as TableFilterStateHandle, nn as UseTableRowIndexConfig, on as TablePaginationVariant, pn as useTableGroupedRows, qt as useTableSortable, rn as useTableRowIndex, sn as UseTablePaginationConfig, tn as useTableRowStatus, un as UseTableGroupedRowsConfig, vn as useTableFilterState, wn as useTableColumnSettingsState, xn as TableColumnSettingsState, yn as useTableFiltering, zn as proportional, zt as useTableTreeData } from "../index-DcCW_2qu.js";
|
|
2
2
|
import { A as TablePanelPatch, B as TableSortDirection, C as TableFilterField, D as TableFilterVariant, E as TableFilterValue, F as TableRowPatch, G as TableSelectedKeysSetter, H as TableSortState, I as TableRowProps, J as UseTableSelectionStateConfig, K as TableSelectionState, L as TableSelectionToolbarProps, M as TableProps, N as TableRowListeners, O as TableGroupPatch, P as TableRowMenuItem, R as TableSelectionToolbarSlots, S as TableDividers, T as TableFilterState, U as TableTextOverflow, V as TableSortEntry, W as TableVerticalAlign, X as useTableSelectionState, Y as useTableSelection, _ as TableCellProps, b as TableColumnResizeContribution, g as TableCellPatch, h as ProportionalWidth, j as TablePlugin, k as TableHeaderPatch, m as PixelWidth, p as ColumnWidth, q as UseTableSelectionConfig, v as TableColumn, w as TableFilterFieldType, x as TableDensity, y as TableColumnAlign } from "../useResizable-fEGAFziz.js";
|
|
3
3
|
export { type ColumnResizePlan, type ColumnResizeSnapshot, type ColumnSettingsOption, type ColumnWidth, type PixelWidth, type ProportionalWidth, type StickySide, _default as Table, _default$1 as TableBody, _default$2 as TableCell, type TableCellPatch, type TableCellProps, type TableColumn, type TableColumnAlign, type TableColumnResizeContribution, type TableColumnSettingsState, type TableCustomRowStatus, type TableDensity, type TableDividers, type TableFilterField, type TableFilterFieldType, type TableFilterState, type TableFilterStateHandle, type TableFilterValue, type TableFilterVariant, _default$3 as TableFooter, type TableGroupPatch, _default$4 as TableHeader, _default$5 as TableHeaderCell, type TableHeaderPatch, type TablePaginationVariant, type TablePanelPatch, type TablePlugin, type TableProps, _default$6 as TableRow, type TableRowListeners, type TableRowMenuItem, type TableRowPatch, type TableRowProps, type TableRowStatus, type TableRowStatusColor, type TableRowStatusName, type TableSelectedKeysSetter, type TableSelectionState, _default$7 as TableSelectionToolbar, type TableSelectionToolbarProps, type TableSelectionToolbarSlots, type TableSemanticRowStatus, type TableSortDirection, type TableSortEntry, type TableSortState, type TableTextOverflow, type TableTreeRowMeta, type TableVerticalAlign, type UseTableColumnResizeConfig, type UseTableColumnSettingsConfig, type UseTableFilterStateOptions, type UseTableFilteringConfig, type UseTableGroupedRowsConfig, type UseTablePaginationConfig, type UseTableRowExpansionConfig, type UseTableRowIndexConfig, type UseTableRowStatusConfig, type UseTableSelectionConfig, type UseTableSelectionStateConfig, type UseTableSortableConfig, type UseTableStickyColumnsConfig, type UseTableTreeDataConfig, type UseTableTreeStateConfig, applyTableFilters, buildGroupedRows, capitalize, cellText, columnResizeDirectionSign, columnResizeMinWidth, columnResizeStep, flattenTree, generateColumns, isInteractiveRowClick, isProportionalColumnWidth, isTableGroupHeader, paginateData, paginateData as paginateTableData, pixel, proportional, resizeColumnWidths, resolveColumnFloorWidths, resolveColumnWidths, resolveStickySide, sortRows, stickyOffsets, useTableColumnResize, useTableColumnSettings, useTableColumnSettingsState, useTableFilterState, useTableFiltering, useTableGroupedRows, useTablePagination, useTableRowExpansion, useTableRowIndex, useTableRowStatus, useTableSelection, useTableSelectionState, useTableSortable, useTableSortableState, useTableStickyColumns, useTableTreeData, useTableTreeState };
|
package/dist/TextArea/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { Ct as TextAreaSlots, Et as TextAreaWrap, St as TextAreaSize, Tt as TextAreaStatusType, _t as TextAreaChangeAction, bt as TextAreaProps, gt as _default, vt as TextAreaChangeEvent, wt as TextAreaStatus, xt as TextAreaResize, yt as TextAreaEmits } from "../index-
|
|
1
|
+
import { Ct as TextAreaSlots, Et as TextAreaWrap, St as TextAreaSize, Tt as TextAreaStatusType, _t as TextAreaChangeAction, bt as TextAreaProps, gt as _default, vt as TextAreaChangeEvent, wt as TextAreaStatus, xt as TextAreaResize, yt as TextAreaEmits } from "../index-DcCW_2qu.js";
|
|
2
2
|
export { _default as TextArea, type TextAreaChangeAction, type TextAreaChangeEvent, type TextAreaEmits, type TextAreaProps, type TextAreaResize, type TextAreaSize, type TextAreaSlots, type TextAreaStatus, type TextAreaStatusType, type TextAreaWrap };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { ct as TextInputChangeEvent, dt as TextInputSize, ft as TextInputSlots, ht as TextInputType, lt as TextInputEmits, mt as TextInputStatusType, ot as _default, pt as TextInputStatus, st as TextInputChangeAction, ut as TextInputProps } from "../index-
|
|
1
|
+
import { ct as TextInputChangeEvent, dt as TextInputSize, ft as TextInputSlots, ht as TextInputType, lt as TextInputEmits, mt as TextInputStatusType, ot as _default, pt as TextInputStatus, st as TextInputChangeAction, ut as TextInputProps } from "../index-DcCW_2qu.js";
|
|
2
2
|
export { _default as TextInput, type TextInputChangeAction, type TextInputChangeEvent, type TextInputEmits, type TextInputProps, type TextInputSize, type TextInputSlots, type TextInputStatus, type TextInputStatusType, type TextInputType };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { at as TimeInputSize, it as TimeInputProps, nt as _default, rt as TimeInputEmits } from "../index-
|
|
1
|
+
import { at as TimeInputSize, it as TimeInputProps, nt as _default, rt as TimeInputEmits } from "../index-DcCW_2qu.js";
|
|
2
2
|
export { _default as TimeInput, type TimeInputEmits, type TimeInputProps, type TimeInputSize };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { $ as FormatInstantOptions, G as TimestampColor, J as TimestampTooltipEntry, K as TimestampFormat, Q as formatRelativeTime, W as _default, X as TimestampTooltipLine, Y as TimestampTooltipFormat, Z as formatTooltipLines, et as InstantFormat, q as TimestampProps, tt as formatInstant } from "../index-
|
|
1
|
+
import { $ as FormatInstantOptions, G as TimestampColor, J as TimestampTooltipEntry, K as TimestampFormat, Q as formatRelativeTime, W as _default, X as TimestampTooltipLine, Y as TimestampTooltipFormat, Z as formatTooltipLines, et as InstantFormat, q as TimestampProps, tt as formatInstant } from "../index-DcCW_2qu.js";
|
|
2
2
|
export { type FormatInstantOptions, type InstantFormat, _default as Timestamp, type TimestampColor, type TimestampFormat, type TimestampProps, type TimestampTooltipEntry, type TimestampTooltipFormat, type TimestampTooltipLine, formatInstant, formatRelativeTime, formatTooltipLines };
|
package/dist/Timestamp/index.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { t as formatInstant } from "../formatInstant-BDWUIxS7.js";
|
|
2
|
-
import { n as formatTooltipLines, r as formatRelativeTime, t as _sfc_main } from "../Timestamp-
|
|
2
|
+
import { n as formatTooltipLines, r as formatRelativeTime, t as _sfc_main } from "../Timestamp-DWnbOvnI.js";
|
|
3
3
|
export { _sfc_main as Timestamp, formatInstant, formatRelativeTime, formatTooltipLines };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as _sfc_main$2 } from "./IconButton-C91rhbvu.js";
|
|
2
2
|
import { a as useAstryxLocale, o as useComponentMessages } from "./context-B8IEFCDR.js";
|
|
3
3
|
import { t as _sfc_main$3 } from "./Text-WB-fpFne.js";
|
|
4
|
-
import { t as _sfc_main$4 } from "./HoverCard-
|
|
4
|
+
import { t as _sfc_main$4 } from "./HoverCard-3S3axq-o.js";
|
|
5
5
|
import { t as _sfc_main$5 } from "./ComponentIcon-BRXBBKeG.js";
|
|
6
6
|
import { t as formatInstant } from "./formatInstant-BDWUIxS7.js";
|
|
7
7
|
import { t as timestampMessages } from "./timestamp-CFBVCsHF.js";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { A as ToggleButtonEmits, B as ToggleButtonPressedChangeHandler, D as _default, E as _default$1, F as ToggleButtonGroupProps, H as ToggleButtonSize, I as ToggleButtonGroupSingleProps, L as ToggleButtonGroupSlots, M as ToggleButtonGroupEmits, N as ToggleButtonGroupMultipleProps, O as ToggleButtonChangeAction, P as ToggleButtonGroupOrientation, R as ToggleButtonGroupType, U as ToggleButtonSlots, V as ToggleButtonProps, j as ToggleButtonGroupBaseProps, k as ToggleButtonElevation, z as ToggleButtonGroupValue } from "../index-
|
|
1
|
+
import { A as ToggleButtonEmits, B as ToggleButtonPressedChangeHandler, D as _default, E as _default$1, F as ToggleButtonGroupProps, H as ToggleButtonSize, I as ToggleButtonGroupSingleProps, L as ToggleButtonGroupSlots, M as ToggleButtonGroupEmits, N as ToggleButtonGroupMultipleProps, O as ToggleButtonChangeAction, P as ToggleButtonGroupOrientation, R as ToggleButtonGroupType, U as ToggleButtonSlots, V as ToggleButtonProps, j as ToggleButtonGroupBaseProps, k as ToggleButtonElevation, z as ToggleButtonGroupValue } from "../index-DcCW_2qu.js";
|
|
2
2
|
export { _default as ToggleButton, _default as default, type ToggleButtonChangeAction, type ToggleButtonElevation, type ToggleButtonEmits, _default$1 as ToggleButtonGroup, type ToggleButtonGroupBaseProps, type ToggleButtonGroupEmits, type ToggleButtonGroupMultipleProps, type ToggleButtonGroupOrientation, type ToggleButtonGroupProps, type ToggleButtonGroupSingleProps, type ToggleButtonGroupSlots, type ToggleButtonGroupType, type ToggleButtonGroupValue, type ToggleButtonPressedChangeHandler, type ToggleButtonProps, type ToggleButtonSize, type ToggleButtonSlots };
|
package/dist/Token/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as TokenProps, i as TokenEmits, n as TOKEN_COLORS, o as TokenSize, r as TokenColor, s as TokenSlots, t as _default } from "../index-
|
|
1
|
+
import { a as TokenProps, i as TokenEmits, n as TOKEN_COLORS, o as TokenSize, r as TokenColor, s as TokenSlots, t as _default } from "../index-BqhgeAT4.js";
|
|
2
2
|
export { TOKEN_COLORS, _default as Token, type TokenColor, type TokenEmits, type TokenProps, type TokenSize, type TokenSlots };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as TokenizerProps, c as TokenizerStatus, i as TokenizerOverflow, n as TokenizerChange, o as TokenizerSize, r as TokenizerEmits, s as TokenizerSlots, t as _default } from "../index-
|
|
1
|
+
import { a as TokenizerProps, c as TokenizerStatus, i as TokenizerOverflow, n as TokenizerChange, o as TokenizerSize, r as TokenizerEmits, s as TokenizerSlots, t as _default } from "../index-DzuyarZi.js";
|
|
2
2
|
export { _default as Tokenizer, type TokenizerChange, type TokenizerEmits, type TokenizerOverflow, type TokenizerProps, type TokenizerSize, type TokenizerSlots, type TokenizerStatus };
|
package/dist/Toolbar/index.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { T as _default } from "../index-
|
|
1
|
+
import { T as _default } from "../index-DcCW_2qu.js";
|
|
2
2
|
import { $ as ToolbarSize, Q as ToolbarProps, Z as ToolbarOrientation } from "../useResizable-fEGAFziz.js";
|
|
3
3
|
export { _default as Toolbar, type ToolbarOrientation, type ToolbarProps, type ToolbarSize };
|
package/dist/Tooltip/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as TooltipAlignment, c as TooltipProps, i as _default, l as TooltipTouchTrigger, n as UseTooltipReturn, o as TooltipFocusTrigger, r as useTooltip, s as TooltipPlacement, t as UseTooltipOptions } from "../index-
|
|
1
|
+
import { a as TooltipAlignment, c as TooltipProps, i as _default, l as TooltipTouchTrigger, n as UseTooltipReturn, o as TooltipFocusTrigger, r as useTooltip, s as TooltipPlacement, t as UseTooltipOptions } from "../index-BSCGAS9f.js";
|
|
2
2
|
export { _default as Tooltip, type TooltipAlignment, type TooltipFocusTrigger, type TooltipPlacement, type TooltipProps, type TooltipTouchTrigger, type UseTooltipOptions, type UseTooltipReturn, useTooltip };
|
package/dist/TopNav/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { C as TopNavMenuProps, S as TopNavMenuItem, _ as TopNavMegaMenuEmits, b as TopNavMegaMenuProps, c as _default$5, d as _default$2, f as _default$1, g as TopNavItemProps, h as TopNavItemEmits, l as _default$4, m as TopNavHeadingProps, p as _default, s as _default$6, u as _default$3, v as TopNavMegaMenuFeaturedCardProps, w as TopNavProps, x as TopNavMenuEmits, y as TopNavMegaMenuItemProps } from "../index-
|
|
1
|
+
import { C as TopNavMenuProps, S as TopNavMenuItem, _ as TopNavMegaMenuEmits, b as TopNavMegaMenuProps, c as _default$5, d as _default$2, f as _default$1, g as TopNavItemProps, h as TopNavItemEmits, l as _default$4, m as TopNavHeadingProps, p as _default, s as _default$6, u as _default$3, v as TopNavMegaMenuFeaturedCardProps, w as TopNavProps, x as TopNavMenuEmits, y as TopNavMegaMenuItemProps } from "../index-DcCW_2qu.js";
|
|
2
2
|
export { _default as TopNav, _default$1 as TopNavHeading, type TopNavHeadingProps, _default$2 as TopNavItem, type TopNavItemEmits, type TopNavItemProps, _default$3 as TopNavMegaMenu, type TopNavMegaMenuEmits, _default$4 as TopNavMegaMenuFeaturedCard, type TopNavMegaMenuFeaturedCardProps, _default$5 as TopNavMegaMenuItem, type TopNavMegaMenuItemProps, type TopNavMegaMenuProps, _default$6 as TopNavMenu, type TopNavMenuEmits, type TopNavMenuItem, type TopNavMenuProps, type TopNavProps };
|
package/dist/TreeList/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as TreeListItemData, c as TreeListVariant, i as TreeListDensity, n as useTreeFocus, o as TreeListProps, r as _default, s as TreeListSlots, t as UseTreeFocusOptions } from "../index-
|
|
1
|
+
import { a as TreeListItemData, c as TreeListVariant, i as TreeListDensity, n as useTreeFocus, o as TreeListProps, r as _default, s as TreeListSlots, t as UseTreeFocusOptions } from "../index-O9y23OPJ.js";
|
|
2
2
|
export { _default as TreeList, type TreeListDensity, type TreeListItemData, type TreeListProps, type TreeListSlots, type TreeListVariant, type UseTreeFocusOptions, useTreeFocus };
|
package/dist/TreeList/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as useTreeFocus, t as _sfc_main } from "../TreeList-
|
|
1
|
+
import { n as useTreeFocus, t as _sfc_main } from "../TreeList-CRMLcaRx.js";
|
|
2
2
|
export { _sfc_main as TreeList, useTreeFocus };
|
|
@@ -4,6 +4,7 @@ import { i as isIconGlyph, t as _sfc_main$2 } from "./Icon-BCHo7W0x.js";
|
|
|
4
4
|
import { n as isSafeUrl } from "./safeUrl-CsvfcZ9m.js";
|
|
5
5
|
import { n as useLinkComponent } from "./context-C_peZbXf.js";
|
|
6
6
|
import { o as useComponentMessages } from "./context-B8IEFCDR.js";
|
|
7
|
+
import { n as isShortcutChord, r as nextTypeaheadBuffer, t as findTypeaheadMatch } from "./typeaheadMatch-Cl-oxKFt.js";
|
|
7
8
|
import { t as _sfc_main$3 } from "./Badge-BbPS_49c.js";
|
|
8
9
|
import { t as consumeWhileDisabled } from "./disabledInteraction-CPzL8kVP.js";
|
|
9
10
|
import { t as treeListMessages } from "./tree-list-NZ1EZhtd.js";
|
|
@@ -371,10 +372,10 @@ function useTreeFocus(options) {
|
|
|
371
372
|
const ids = item.getAttribute("aria-labelledby")?.split(/\s+/).filter(Boolean) ?? [];
|
|
372
373
|
if (ids.length > 0) {
|
|
373
374
|
const doc = item.ownerDocument;
|
|
374
|
-
return ids.map((id) => doc.getElementById(id)?.textContent ?? "").join(" ").trim()
|
|
375
|
+
return ids.map((id) => doc.getElementById(id)?.textContent ?? "").join(" ").trim();
|
|
375
376
|
}
|
|
376
377
|
}
|
|
377
|
-
return (item.textContent ?? "").trim()
|
|
378
|
+
return (item.textContent ?? "").trim();
|
|
378
379
|
}
|
|
379
380
|
/** 树节点的 id:优先 `data-tree-id`,退回元素自己的 `id`。 */
|
|
380
381
|
function idOf(item) {
|
|
@@ -412,14 +413,19 @@ function useTreeFocus(options) {
|
|
|
412
413
|
const activeItem = active instanceof Element ? active.closest(selector) : null;
|
|
413
414
|
const currentIndex = list.findIndex((item) => item === activeItem);
|
|
414
415
|
const current = currentIndex >= 0 ? list[currentIndex] : void 0;
|
|
415
|
-
if ((options.typeahead ?? true) && event.key.length === 1 && !event
|
|
416
|
-
typeahead.buffer
|
|
416
|
+
if ((options.typeahead ?? true) && event.key.length === 1 && !isShortcutChord(event) && (!event.altKey || event.getModifierState("AltGraph")) && !NAVIGATION_KEYS.has(event.key)) {
|
|
417
|
+
const nextBuffer = nextTypeaheadBuffer(typeahead.buffer, event.key);
|
|
418
|
+
if (nextBuffer == null) return;
|
|
419
|
+
typeahead.buffer = nextBuffer;
|
|
417
420
|
clearTimeout(typeahead.timer);
|
|
418
421
|
typeahead.timer = setTimeout(() => {
|
|
419
422
|
typeahead.buffer = "";
|
|
420
423
|
}, TYPEAHEAD_RESET_MS);
|
|
421
424
|
const query = typeahead.buffer;
|
|
422
|
-
const
|
|
425
|
+
const from = query.length === 1 ? currentIndex + 1 : Math.max(currentIndex, 0);
|
|
426
|
+
const ordered = [...list.slice(from), ...list.slice(0, from)].filter((item) => !disabled(item));
|
|
427
|
+
const matchIndex = findTypeaheadMatch(ordered.map((_, index) => index), (index) => matchText(ordered[index]), query);
|
|
428
|
+
const match = matchIndex >= 0 ? ordered[matchIndex] : void 0;
|
|
423
429
|
if (match != null) {
|
|
424
430
|
event.preventDefault();
|
|
425
431
|
focusItem(match);
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as TypeaheadEmits, c as TypeaheadSize, i as BaseTypeaheadProps, l as TypeaheadSlots, n as _default$1, o as TypeaheadItemProps, r as _default, s as TypeaheadProps, t as _default$2, u as TypeaheadStatus } from "../index-
|
|
1
|
+
import { a as TypeaheadEmits, c as TypeaheadSize, i as BaseTypeaheadProps, l as TypeaheadSlots, n as _default$1, o as TypeaheadItemProps, r as _default, s as TypeaheadProps, t as _default$2, u as TypeaheadStatus } from "../index-DItIx1wC.js";
|
|
2
2
|
export { _default as BaseTypeahead, type BaseTypeaheadProps, _default$1 as Typeahead, type TypeaheadEmits, _default$2 as TypeaheadItem, type TypeaheadItemProps, type TypeaheadProps, type TypeaheadSize, type TypeaheadSlots, type TypeaheadStatus };
|
|
@@ -13,7 +13,7 @@ import { n as useAsyncSource, t as createStaticSource } from "../useAsyncSource-
|
|
|
13
13
|
import { n as CHAT_MESSAGE_CLASS, r as useChatNewMessages, t as useChatStreamScroll } from "../useChatStreamScroll-oDfybEos.js";
|
|
14
14
|
import { t as useClipboard } from "../useClipboard-i4a_x_Io.js";
|
|
15
15
|
import { t as useCombobox } from "../useCombobox-CTo5C-gc.js";
|
|
16
|
-
import { a as
|
|
16
|
+
import { a as useIndicatorFocusRing, c as useImageMode, d as useEntryAnimation, f as useControllableState, i as useKeyboardHint, l as useGridRovingFocus, n as useStreamingText, o as imageModeFromPixels, p as useContainerReveal, r as useSnapPaging, s as perceptualLightness, t as snapToGraphemeBoundary, u as useGridFocus } from "../composables-JBLeessI.js";
|
|
17
17
|
import { n as resolveDateSurface, t as resolveDatePresentation } from "../useDatePresentation-C07PnOCw.js";
|
|
18
18
|
import { a as isRangeWithinSpan, c as resolveWeekStart, i as isDayOutsideSpan, l as spanDays, n as compareISODate, o as isSameRange, r as formatDateRange, s as orderRange, t as applyRangeClick } from "../useDateRange-CIXoE_8k.js";
|
|
19
19
|
import { n as useDevWarning, t as devWarn } from "../useDevWarning-B2fsk2B-.js";
|
|
@@ -38,5 +38,6 @@ import { t as useScrollableArea } from "../useScrollableArea-BE8b3qm7.js";
|
|
|
38
38
|
import { t as useScrollLock } from "../scrollLock-C3aT4-0z.js";
|
|
39
39
|
import { t as useScrollOverflow } from "../useScrollOverflow-DuMoGXmm.js";
|
|
40
40
|
import { a as parseISOTime, i as parseDisplayTime, n as formatISOTime, o as resolveTimeSurface, r as isTimeInRange, s as shiftTime, t as formatDisplayTime } from "../useTimeValue-BJd0xBhG.js";
|
|
41
|
-
import { t as
|
|
41
|
+
import { n as useTouchTrigger, t as isActionTrigger } from "../useTouchTrigger-GGd85Obb.js";
|
|
42
|
+
import { t as useTypeahead } from "../useTypeahead-DSMObTtg.js";
|
|
42
43
|
export { CHAT_MESSAGE_CLASS, INTERACTIVE_SELECTORS, MENU_PRESS_MARKER, MENU_PRESS_SETTLE_MS, addMonths, appShellMobileKey, applyRangeClick, buildMonthGrid, compareISODate, computeOverflow, computeSteppedValue, characterCount as countCharacters, createStaticSource, devWarn, formatDateRange, formatDisplayTime, formatFileSize, formatISOTime, hasInteractiveAncestor, hasTextSelection, imageModeFromPixels, isActionTrigger, isDayOutsideSpan, isMenuPressActivation, isRangeWithinSpan, isSameRange, isTimeInRange, menuPressStep, orderRange, parseDisplayTime, parseISODate, parseISOTime, percent, perceptualLightness, resetMenuPress, resolveDatePresentation, resolveDateSurface, resolveTimeSurface, resolveWeekStart, selectFiles, shiftTime, snapToGraphemeBoundary, spanDays, toISODate, todayISODate, useAnnounce, useAppShellMobile, useAsyncSource, useChatNewMessages, useChatStreamScroll, useClickableContainer, useClipboard, useCoarsePointer, useCombobox, useContainerReveal, useControllableState, useDevWarning, useDisclosureHandle, useDismiss, useEntryAnimation, useFieldControlState, useFocusTrap, useGridFocus, useGridRovingFocus, useHandleRef, useHotkeys, useImageMode, useIndicatorFocusRing, useInputContainer, useInputStatusIcon, useInteractiveRole, useKeyboardHint, useLayer, useLayerMountTarget, useLayerTeleportTarget, useListFocus, useLongPress, useMediaQuery, useMenuPress, useMergedRefs, useNumberField, useOverflow, usePendingChange, usePressFeedback, useResizable, useResolvedLabelHidden, useResolvedLayerTeleport, useRestoreFocus, useScrollLock, useScrollOverflow, useScrollableArea, useSnapPaging, useStreamingText, useTouchTrigger, useTypeahead };
|