@astryx-vue/core 0.7.1 → 0.7.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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/Button/index.d.ts +1 -1
- package/dist/ButtonGroup/index.d.ts +1 -1
- package/dist/Calendar/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/CommandPalette/index.d.ts +1 -1
- package/dist/ComplexSelector/index.d.ts +1 -1
- package/dist/ContextMenu/index.d.ts +1 -1
- 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/Divider/index.d.ts +1 -1
- package/dist/Drawer/index.d.ts +1 -1
- package/dist/FileInput/index.d.ts +1 -1
- package/dist/Heading/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/MultiSelector/index.d.ts +1 -1
- package/dist/NavItem/index.d.ts +1 -1
- package/dist/NumberInput/index.d.ts +1 -1
- package/dist/OverflowList/index.d.ts +1 -1
- package/dist/Overlay/index.d.ts +1 -1
- package/dist/Pagination/index.d.ts +1 -1
- package/dist/Pagination/index.js +1 -1
- package/dist/{Pagination-CYmPEKKt.js → Pagination-DLLwmSLb.js} +44 -15
- package/dist/Popover/index.d.ts +1 -1
- package/dist/PowerSearch/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/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/Table/index.js +1 -1
- package/dist/{Table-DB1DBqHj.js → Table-DczJvBBc.js} +1 -1
- package/dist/Text/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/ToggleButton/index.d.ts +1 -1
- package/dist/Token/index.d.ts +1 -1
- package/dist/Tokenizer/index.d.ts +1 -1
- package/dist/Toolbar/index.d.ts +1 -1
- package/dist/TopNav/index.d.ts +1 -1
- package/dist/TreeList/index.d.ts +1 -1
- package/dist/TreeList/index.js +1 -1
- package/dist/{TreeList-A_YrW4iI.js → TreeList-rz7FL_GT.js} +30 -14
- package/dist/Typeahead/index.d.ts +1 -1
- package/dist/{index-Bn-v89Vt.d.ts → index-3t5RAfNP.d.ts} +4 -4
- package/dist/{index-CHuSkU5Q.d.ts → index-B8wXa2fZ.d.ts} +2 -2
- package/dist/{index-DsaP4-eB.d.ts → index-BNaRK-s5.d.ts} +1 -1
- package/dist/{index-BnEhvmdR.d.ts → index-BaxM-pFP.d.ts} +4 -4
- package/dist/{index-D7ShT2c-.d.ts → index-BgT6mH3U.d.ts} +1 -1
- package/dist/{index-BDZCJ9ri.d.ts → index-BuubzuE8.d.ts} +2 -2
- package/dist/{index-BOCb89V9.d.ts → index-BxWCX2pJ.d.ts} +1 -1
- package/dist/{index-BngdKVro.d.ts → index-C3f1zsJR.d.ts} +1 -1
- package/dist/{index-BVQwXcnZ.d.ts → index-CL8JvxHW.d.ts} +2 -2
- package/dist/{index-C085uLOn.d.ts → index-C_4A4pml.d.ts} +1 -1
- package/dist/{index-ChOyJzJh.d.ts → index-Ca8VIE4l.d.ts} +2 -2
- package/dist/{index-CW32PbaD.d.ts → index-Co40qE1U.d.ts} +9 -9
- package/dist/{index-C8wfe0Mr.d.ts → index-D05JGsT3.d.ts} +1 -1
- package/dist/{index--17eKu38.d.ts → index-DCyf_Id0.d.ts} +9 -9
- package/dist/{index-oYGkhGRq.d.ts → index-DLAG3m9W.d.ts} +1 -1
- package/dist/{index-CXdImpTj.d.ts → index-DO5rBnsP.d.ts} +45 -45
- package/dist/{index-D97pQbua.d.ts → index-DXhtlG4u.d.ts} +2 -2
- package/dist/{index-DfsX0szf.d.ts → index-D_K1wfRa.d.ts} +1 -1
- package/dist/{index-BAC56Bhr.d.ts → index-DaXzQxos.d.ts} +2 -2
- package/dist/{index-8px-LKw_.d.ts → index-Dacg7XTH.d.ts} +2 -2
- package/dist/{index-unAZVFGz.d.ts → index-Dy746dfn.d.ts} +1 -1
- package/dist/{index-itjBXTrm.d.ts → index-RW8kvEwf.d.ts} +7 -7
- package/dist/{index-DMcf0QeR.d.ts → index-rszZajcw.d.ts} +1 -1
- package/dist/{index-BbArm3_c.d.ts → index-tJF9nSnc.d.ts} +2 -2
- package/dist/index.d.ts +25 -25
- package/dist/index.js +3 -3
- package/package.json +1 -1
- package/styles/pagination.css +7 -1
- package/styles/top-nav.css +1 -1
- package/styles/tree-list.css +2 -1
- package/dist/{index-BJ9Wim6J.d.ts → index-BqhgeAT4.d.ts} +1 -1
|
@@ -4,6 +4,7 @@ import { n as isSafeUrl } from "./safeUrl-CsvfcZ9m.js";
|
|
|
4
4
|
import { n as useLinkComponent } from "./context-C_peZbXf.js";
|
|
5
5
|
import { s as useAstryxMessages } from "./context-CVUee2tp.js";
|
|
6
6
|
import { t as _sfc_main$3 } from "./Badge-CjDQPF5g.js";
|
|
7
|
+
import { t as consumeWhileDisabled } from "./disabledInteraction-CPzL8kVP.js";
|
|
7
8
|
import { Fragment, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createTextVNode, createVNode, defineComponent, mergeProps, normalizeClass, normalizeStyle, onMounted, openBlock, reactive, ref, renderList, renderSlot, resolveComponent, resolveDynamicComponent, toDisplayString, toRaw, unref, useAttrs, useId, useSlots, vShow, withCtx, withDirectives } from "vue";
|
|
8
9
|
import "../styles/tree-list.css";
|
|
9
10
|
//#region src/TreeList/TreeListItem.vue
|
|
@@ -33,7 +34,7 @@ const _hoisted_5 = [
|
|
|
33
34
|
"data-state",
|
|
34
35
|
"aria-expanded",
|
|
35
36
|
"aria-label",
|
|
36
|
-
"disabled"
|
|
37
|
+
"aria-disabled"
|
|
37
38
|
];
|
|
38
39
|
const _hoisted_6 = {
|
|
39
40
|
key: 1,
|
|
@@ -46,9 +47,9 @@ const _hoisted_7 = {
|
|
|
46
47
|
const _hoisted_8 = ["id"];
|
|
47
48
|
const _hoisted_9 = ["id"];
|
|
48
49
|
const _hoisted_10 = [
|
|
49
|
-
"disabled",
|
|
50
50
|
"aria-labelledby",
|
|
51
|
-
"aria-describedby"
|
|
51
|
+
"aria-describedby",
|
|
52
|
+
"aria-disabled"
|
|
52
53
|
];
|
|
53
54
|
const _hoisted_11 = ["id"];
|
|
54
55
|
const _hoisted_12 = ["id"];
|
|
@@ -120,9 +121,18 @@ const _sfc_main$1 = /*@__PURE__*/ defineComponent({
|
|
|
120
121
|
else if (hasChildren.value) emit("toggle", props.item.id);
|
|
121
122
|
}
|
|
122
123
|
function onToggle(event) {
|
|
124
|
+
if (consumeWhileDisabled(event, props.item.isDisabled === true)) return;
|
|
123
125
|
event.stopPropagation();
|
|
124
126
|
emit("toggle", props.item.id);
|
|
125
127
|
}
|
|
128
|
+
function onActionClick(event) {
|
|
129
|
+
if (consumeWhileDisabled(event, props.item.isDisabled === true)) return;
|
|
130
|
+
props.item.onClick?.(event);
|
|
131
|
+
}
|
|
132
|
+
function onLinkClick(event) {
|
|
133
|
+
if (props.item.isDisabled) event.preventDefault();
|
|
134
|
+
consumeWhileDisabled(event, props.item.isDisabled === true);
|
|
135
|
+
}
|
|
126
136
|
const press = usePressFeedback();
|
|
127
137
|
const rowPress = computed(() => {
|
|
128
138
|
return (props.item.onClick != null || safeHref.value != null || hasChildren.value) && props.item.isDisabled !== true ? press.pressableProps : {};
|
|
@@ -150,7 +160,7 @@ const _sfc_main$1 = /*@__PURE__*/ defineComponent({
|
|
|
150
160
|
key: level,
|
|
151
161
|
class: "astryx-tree-list__guide",
|
|
152
162
|
style: normalizeStyle({ insetInlineStart: branchOffset(level) })
|
|
153
|
-
}, [..._cache[
|
|
163
|
+
}, [..._cache[4] || (_cache[4] = [createElementVNode("span", {
|
|
154
164
|
class: "astryx-tree-list__guide-line",
|
|
155
165
|
"data-span": "full"
|
|
156
166
|
}, null, -1)])], 4)), [[vShow, !ancestorIsLast && level !== __props.nestedLevel - 1]]);
|
|
@@ -179,14 +189,15 @@ const _sfc_main$1 = /*@__PURE__*/ defineComponent({
|
|
|
179
189
|
"data-state": isExpanded.value ? "expanded" : "collapsed",
|
|
180
190
|
"aria-expanded": isExpanded.value,
|
|
181
191
|
"aria-label": unref(messages).treeList.toggleChildren,
|
|
182
|
-
disabled: __props.item.isDisabled,
|
|
192
|
+
"aria-disabled": __props.item.isDisabled || void 0,
|
|
183
193
|
tabindex: "-1",
|
|
184
|
-
onClick: onToggle
|
|
194
|
+
onClick: onToggle,
|
|
195
|
+
onKeydown: _cache[0] || (_cache[0] = ($event) => unref(consumeWhileDisabled)($event, __props.item.isDisabled === true))
|
|
185
196
|
}, [createVNode(_sfc_main$2, {
|
|
186
197
|
icon: "chevronRight",
|
|
187
198
|
size: "sm",
|
|
188
199
|
color: "inherit"
|
|
189
|
-
})],
|
|
200
|
+
})], 40, _hoisted_5)) : createCommentVNode("v-if", true),
|
|
190
201
|
__props.item.icon ? (openBlock(), createElementBlock("span", _hoisted_6, [unref(isIconGlyph)(__props.item.icon) ? (openBlock(), createBlock(_sfc_main$2, {
|
|
191
202
|
key: 0,
|
|
192
203
|
icon: __props.item.icon,
|
|
@@ -204,7 +215,10 @@ const _sfc_main$1 = /*@__PURE__*/ defineComponent({
|
|
|
204
215
|
rel: linkRel.value,
|
|
205
216
|
"aria-labelledby": unref(labelId),
|
|
206
217
|
"aria-describedby": __props.item.description ? unref(descriptionId) : void 0,
|
|
207
|
-
|
|
218
|
+
"aria-disabled": __props.item.isDisabled || void 0,
|
|
219
|
+
tabindex: "-1",
|
|
220
|
+
onClick: onLinkClick,
|
|
221
|
+
onKeydown: _cache[1] || (_cache[1] = ($event) => unref(consumeWhileDisabled)($event, __props.item.isDisabled === true))
|
|
208
222
|
}, {
|
|
209
223
|
default: withCtx(() => [createElementVNode("span", {
|
|
210
224
|
id: unref(labelId),
|
|
@@ -215,22 +229,24 @@ const _sfc_main$1 = /*@__PURE__*/ defineComponent({
|
|
|
215
229
|
class: "astryx-tree-list__description"
|
|
216
230
|
}, toDisplayString(__props.item.description), 9, _hoisted_9)) : createCommentVNode("v-if", true)]),
|
|
217
231
|
_: 1
|
|
218
|
-
},
|
|
232
|
+
}, 40, [
|
|
219
233
|
"href",
|
|
220
234
|
"to",
|
|
221
235
|
"target",
|
|
222
236
|
"rel",
|
|
223
237
|
"aria-labelledby",
|
|
224
|
-
"aria-describedby"
|
|
238
|
+
"aria-describedby",
|
|
239
|
+
"aria-disabled"
|
|
225
240
|
])) : __props.item.onClick ? (openBlock(), createElementBlock("button", {
|
|
226
241
|
key: 3,
|
|
227
242
|
type: "button",
|
|
228
243
|
class: "astryx-tree-list__action",
|
|
229
|
-
disabled: __props.item.isDisabled,
|
|
230
244
|
"aria-labelledby": unref(labelId),
|
|
231
245
|
"aria-describedby": __props.item.description ? unref(descriptionId) : void 0,
|
|
246
|
+
"aria-disabled": __props.item.isDisabled || void 0,
|
|
232
247
|
tabindex: "-1",
|
|
233
|
-
onClick:
|
|
248
|
+
onClick: onActionClick,
|
|
249
|
+
onKeydown: _cache[2] || (_cache[2] = ($event) => unref(consumeWhileDisabled)($event, __props.item.isDisabled === true))
|
|
234
250
|
}, [createElementVNode("span", {
|
|
235
251
|
id: unref(labelId),
|
|
236
252
|
class: "astryx-tree-list__label"
|
|
@@ -238,7 +254,7 @@ const _sfc_main$1 = /*@__PURE__*/ defineComponent({
|
|
|
238
254
|
key: 0,
|
|
239
255
|
id: unref(descriptionId),
|
|
240
256
|
class: "astryx-tree-list__description"
|
|
241
|
-
}, toDisplayString(__props.item.description), 9, _hoisted_12)) : createCommentVNode("v-if", true)],
|
|
257
|
+
}, toDisplayString(__props.item.description), 9, _hoisted_12)) : createCommentVNode("v-if", true)], 40, _hoisted_10)) : (openBlock(), createElementBlock("span", _hoisted_13, [createElementVNode("span", {
|
|
242
258
|
id: unref(labelId),
|
|
243
259
|
class: "astryx-tree-list__label"
|
|
244
260
|
}, toDisplayString(__props.item.label), 9, _hoisted_14), __props.item.description ? (openBlock(), createElementBlock("span", {
|
|
@@ -272,7 +288,7 @@ const _sfc_main$1 = /*@__PURE__*/ defineComponent({
|
|
|
272
288
|
"tabbable-id": __props.tabbableId,
|
|
273
289
|
"pos-in-set": index + 1,
|
|
274
290
|
"set-size": __props.item.children?.length ?? 0,
|
|
275
|
-
onToggle: _cache[
|
|
291
|
+
onToggle: _cache[3] || (_cache[3] = ($event) => emit("toggle", $event))
|
|
276
292
|
}, null, 8, [
|
|
277
293
|
"item",
|
|
278
294
|
"density",
|
|
@@ -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-BaxM-pFP.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 };
|
|
@@ -100,12 +100,12 @@ interface TokenizerSlots<T extends SearchableItem = SearchableItem> {
|
|
|
100
100
|
//#region src/Tokenizer/Tokenizer.vue.d.ts
|
|
101
101
|
declare const __VLS_export: <T extends SearchableItem>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
102
102
|
props: import("vue").PublicProps & __VLS_PrettifyLocal<TokenizerProps<T> & {
|
|
103
|
-
onSearch?: ((query: string) => any) | undefined;
|
|
104
103
|
onChange?: ((value: T[], change: TokenizerChange<T>) => any) | undefined;
|
|
105
|
-
|
|
106
|
-
"onUpdate:modelValue"?: ((value: T[]) => any) | undefined;
|
|
104
|
+
onSearch?: ((query: string) => any) | undefined;
|
|
107
105
|
onBlur?: ((event: FocusEvent) => any) | undefined;
|
|
108
106
|
onFocus?: ((event: FocusEvent) => any) | undefined;
|
|
107
|
+
onOpenChange?: ((isOpen: boolean) => any) | undefined;
|
|
108
|
+
"onUpdate:modelValue"?: ((value: T[]) => any) | undefined;
|
|
109
109
|
onChangeQuery?: ((query: string) => any) | undefined;
|
|
110
110
|
}> & (typeof globalThis extends {
|
|
111
111
|
__VLS_PROPS_FALLBACK: infer P;
|
|
@@ -116,7 +116,7 @@ declare const __VLS_export: <T extends SearchableItem>(__VLS_props: NonNullable<
|
|
|
116
116
|
}>) => void;
|
|
117
117
|
attrs: any;
|
|
118
118
|
slots: TokenizerSlots<T>;
|
|
119
|
-
emit: ((evt: "
|
|
119
|
+
emit: ((evt: "change", value: T[], change: TokenizerChange<T>) => void) & ((evt: "search", query: string) => void) & ((evt: "blur", event: FocusEvent) => void) & ((evt: "focus", event: FocusEvent) => void) & ((evt: "openChange", isOpen: boolean) => void) & ((evt: "update:modelValue", value: T[]) => void) & ((evt: "changeQuery", query: string) => void);
|
|
120
120
|
}>) => import("vue").VNode & {
|
|
121
121
|
__ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
|
|
122
122
|
};
|
|
@@ -9,11 +9,11 @@ declare const __VLS_base: import("vue").DefineComponent<LinkProps, {}, {}, {}, {
|
|
|
9
9
|
onClick?: ((event: MouseEvent) => any) | undefined;
|
|
10
10
|
}>, {
|
|
11
11
|
isDisabled: boolean;
|
|
12
|
-
color: LinkColor;
|
|
13
|
-
maxLines: number;
|
|
14
12
|
isExternalLink: boolean;
|
|
15
13
|
hasUnderline: boolean;
|
|
14
|
+
color: LinkColor;
|
|
16
15
|
isStandalone: boolean;
|
|
16
|
+
maxLines: number;
|
|
17
17
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
18
18
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
19
19
|
declare const _default: typeof __VLS_export;
|
|
@@ -46,8 +46,8 @@ interface TreeListSlots {
|
|
|
46
46
|
//#region src/TreeList/TreeList.vue.d.ts
|
|
47
47
|
type __VLS_Slots = TreeListSlots;
|
|
48
48
|
declare const __VLS_base: import("vue").DefineComponent<TreeListProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<TreeListProps> & Readonly<{}>, {
|
|
49
|
-
density: TreeListDensity;
|
|
50
49
|
variant: TreeListVariant;
|
|
50
|
+
density: TreeListDensity;
|
|
51
51
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
52
52
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
53
53
|
declare const _default: typeof __VLS_export;
|
|
@@ -148,8 +148,8 @@ interface TypeaheadSlots<T extends SearchableItem = SearchableItem> {
|
|
|
148
148
|
//#region src/Typeahead/BaseTypeahead.vue.d.ts
|
|
149
149
|
declare const __VLS_export$2: <T extends SearchableItem>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal$1<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
150
150
|
props: import("vue").PublicProps & __VLS_PrettifyLocal$1<BaseTypeaheadProps<T> & {
|
|
151
|
-
onSearch?: ((query: string) => any) | undefined;
|
|
152
151
|
onChange?: ((value: T | null) => any) | undefined;
|
|
152
|
+
onSearch?: ((query: string) => any) | undefined;
|
|
153
153
|
onOpenChange?: ((isOpen: boolean) => any) | undefined;
|
|
154
154
|
"onUpdate:modelValue"?: ((value: T | null) => any) | undefined;
|
|
155
155
|
onChangeQuery?: ((query: string) => any) | undefined;
|
|
@@ -162,7 +162,7 @@ declare const __VLS_export$2: <T extends SearchableItem>(__VLS_props: NonNullabl
|
|
|
162
162
|
}>) => void;
|
|
163
163
|
attrs: any;
|
|
164
164
|
slots: TypeaheadSlots<T>;
|
|
165
|
-
emit: ((evt: "
|
|
165
|
+
emit: ((evt: "change", value: T | null) => void) & ((evt: "search", query: string) => void) & ((evt: "openChange", isOpen: boolean) => void) & ((evt: "update:modelValue", value: T | null) => void) & ((evt: "changeQuery", query: string) => void);
|
|
166
166
|
}>) => import("vue").VNode & {
|
|
167
167
|
__ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
|
|
168
168
|
};
|
|
@@ -172,8 +172,8 @@ type __VLS_PrettifyLocal$1<T> = (T extends any ? { [K in keyof T]: T[K]; } : { [
|
|
|
172
172
|
//#region src/Typeahead/Typeahead.vue.d.ts
|
|
173
173
|
declare const __VLS_export$1: <T extends SearchableItem>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
174
174
|
props: import("vue").PublicProps & __VLS_PrettifyLocal<TypeaheadProps<T> & {
|
|
175
|
-
onSearch?: ((query: string) => any) | undefined;
|
|
176
175
|
onChange?: ((value: T | null) => any) | undefined;
|
|
176
|
+
onSearch?: ((query: string) => any) | undefined;
|
|
177
177
|
onOpenChange?: ((isOpen: boolean) => any) | undefined;
|
|
178
178
|
"onUpdate:modelValue"?: ((value: T | null) => any) | undefined;
|
|
179
179
|
onChangeQuery?: ((query: string) => any) | undefined;
|
|
@@ -186,7 +186,7 @@ declare const __VLS_export$1: <T extends SearchableItem>(__VLS_props: NonNullabl
|
|
|
186
186
|
}>) => void;
|
|
187
187
|
attrs: any;
|
|
188
188
|
slots: TypeaheadSlots<T>;
|
|
189
|
-
emit: ((evt: "
|
|
189
|
+
emit: ((evt: "change", value: T | null) => void) & ((evt: "search", query: string) => void) & ((evt: "openChange", isOpen: boolean) => void) & ((evt: "update:modelValue", value: T | null) => void) & ((evt: "changeQuery", query: string) => void);
|
|
190
190
|
}>) => import("vue").VNode & {
|
|
191
191
|
__ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
|
|
192
192
|
};
|
|
@@ -35,8 +35,8 @@ type __VLS_Slots$1 = {
|
|
|
35
35
|
default: () => unknown;
|
|
36
36
|
};
|
|
37
37
|
declare const __VLS_base$1: import("vue").DefineComponent<StackItemProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<StackItemProps> & Readonly<{}>, {
|
|
38
|
-
as: StackElement;
|
|
39
38
|
size: StackItemSize;
|
|
39
|
+
as: StackElement;
|
|
40
40
|
isScrollable: boolean;
|
|
41
41
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
42
42
|
declare const __VLS_export$1: __VLS_WithSlots$1<typeof __VLS_base$1, __VLS_Slots$1>;
|
|
@@ -175,8 +175,8 @@ declare const __VLS_base$1: import("vue").DefineComponent<__VLS_PublicProps, {
|
|
|
175
175
|
}>, {
|
|
176
176
|
position: OverlayPosition;
|
|
177
177
|
align: OverlayAlign;
|
|
178
|
-
showOn: OverlayShowOn;
|
|
179
178
|
scrim: OverlayScrimMode;
|
|
179
|
+
showOn: OverlayShowOn;
|
|
180
180
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
181
181
|
declare const __VLS_export$1: __VLS_WithSlots$1<typeof __VLS_base$1, __VLS_Slots$1>;
|
|
182
182
|
declare const _default$1: typeof __VLS_export$1;
|
|
@@ -192,8 +192,8 @@ declare const __VLS_base: import("vue").DefineComponent<OverlayScrimProps, {}, {
|
|
|
192
192
|
isOpen: boolean;
|
|
193
193
|
position: OverlayPosition;
|
|
194
194
|
align: OverlayAlign;
|
|
195
|
-
showOn: OverlayShowOn;
|
|
196
195
|
scrim: OverlayScrimMode;
|
|
196
|
+
showOn: OverlayShowOn;
|
|
197
197
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
198
198
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
199
199
|
declare const _default: typeof __VLS_export;
|
|
@@ -140,8 +140,8 @@ declare const __VLS_base$1: import("vue").DefineComponent<__VLS_PublicProps$1, {
|
|
|
140
140
|
height: string | number;
|
|
141
141
|
isInline: boolean;
|
|
142
142
|
purpose: BottomSheetPurpose;
|
|
143
|
-
hasScrim: boolean;
|
|
144
143
|
snapPoints: readonly BottomSheetSnapPoint[];
|
|
144
|
+
hasScrim: boolean;
|
|
145
145
|
finalFocusRef: import("vue").MaybeRef<HTMLElement | null>;
|
|
146
146
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
147
147
|
declare const __VLS_export$1: __VLS_WithSlots$1<typeof __VLS_base$1, __VLS_Slots$1>;
|
|
@@ -35,10 +35,10 @@ declare const __VLS_base$2: import("vue").DefineComponent<ItemProps, {
|
|
|
35
35
|
focus: typeof focus;
|
|
36
36
|
blur: typeof blur;
|
|
37
37
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ItemProps> & Readonly<{}>, {
|
|
38
|
+
isSelected: boolean;
|
|
38
39
|
isDisabled: boolean;
|
|
39
40
|
density: ListDensity;
|
|
40
41
|
as: ItemElement;
|
|
41
|
-
isSelected: boolean;
|
|
42
42
|
align: ItemAlign;
|
|
43
43
|
layout: ItemLayout;
|
|
44
44
|
isHighlighted: boolean;
|
|
@@ -28,10 +28,10 @@ declare const __VLS_base: import("vue").DefineComponent<NavItemProps, {}, {}, {}
|
|
|
28
28
|
onClick?: ((event: MouseEvent) => any) | undefined;
|
|
29
29
|
}>, {
|
|
30
30
|
block: boolean;
|
|
31
|
+
isSelected: boolean;
|
|
31
32
|
isDisabled: boolean;
|
|
32
|
-
isIconOnly: boolean;
|
|
33
33
|
size: NavItemSize;
|
|
34
|
-
|
|
34
|
+
isIconOnly: boolean;
|
|
35
35
|
plain: boolean;
|
|
36
36
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
37
37
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
@@ -404,10 +404,10 @@ declare const __VLS_base: import("vue").DefineComponent<PowerSearchProps, {
|
|
|
404
404
|
status: PowerSearchStatus;
|
|
405
405
|
size: PowerSearchSize;
|
|
406
406
|
statusVariant: PowerSearchStatusVariant;
|
|
407
|
-
hasClear: boolean;
|
|
408
407
|
labelHidden: boolean;
|
|
409
408
|
disabled: boolean;
|
|
410
409
|
clearable: boolean;
|
|
410
|
+
hasClear: boolean;
|
|
411
411
|
overflow: PowerSearchOverflow;
|
|
412
412
|
readOnly: boolean;
|
|
413
413
|
maxTokenLength: number;
|
|
@@ -85,8 +85,8 @@ interface StepSlots {
|
|
|
85
85
|
type __VLS_Slots$1 = StepSlots;
|
|
86
86
|
declare const __VLS_base$1: import("vue").DefineComponent<StepProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<StepProps> & Readonly<{}>, {
|
|
87
87
|
isDisabled: boolean;
|
|
88
|
-
isOptional: boolean;
|
|
89
88
|
indicator: StepIndicator;
|
|
89
|
+
isOptional: boolean;
|
|
90
90
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
91
91
|
declare const __VLS_export$1: __VLS_WithSlots$1<typeof __VLS_base$1, __VLS_Slots$1>;
|
|
92
92
|
declare const _default$1: typeof __VLS_export$1;
|
|
@@ -99,8 +99,8 @@ type __VLS_WithSlots$1<T, S> = T & {
|
|
|
99
99
|
//#region src/Stepper/Stepper.vue.d.ts
|
|
100
100
|
type __VLS_Slots = StepperSlots;
|
|
101
101
|
declare const __VLS_base: import("vue").DefineComponent<StepperProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<StepperProps> & Readonly<{}>, {
|
|
102
|
-
density: StepperDensity;
|
|
103
102
|
orientation: StepperOrientation;
|
|
103
|
+
density: StepperDensity;
|
|
104
104
|
indicatorPosition: StepperIndicatorPosition;
|
|
105
105
|
hasCollapsibleLabels: boolean;
|
|
106
106
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
@@ -146,34 +146,34 @@ interface SelectorSlots {
|
|
|
146
146
|
//#region src/Selector/Selector.vue.d.ts
|
|
147
147
|
type __VLS_Slots = SelectorSlots;
|
|
148
148
|
declare const __VLS_base: import("vue").DefineComponent<SelectorProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
149
|
+
change: (value: string | number | null) => any;
|
|
149
150
|
search: (query: string) => any;
|
|
150
151
|
click: (event: MouseEvent) => any;
|
|
151
|
-
|
|
152
|
+
focus: (event: FocusEvent) => any;
|
|
152
153
|
keydown: (event: KeyboardEvent) => any;
|
|
153
154
|
"update:modelValue": (value: string | number | null) => any;
|
|
154
|
-
focus: (event: FocusEvent) => any;
|
|
155
155
|
}, string, import("vue").PublicProps, Readonly<SelectorProps> & Readonly<{
|
|
156
|
+
onChange?: ((value: string | number | null) => any) | undefined;
|
|
156
157
|
onSearch?: ((query: string) => any) | undefined;
|
|
157
158
|
onClick?: ((event: MouseEvent) => any) | undefined;
|
|
158
|
-
|
|
159
|
+
onFocus?: ((event: FocusEvent) => any) | undefined;
|
|
159
160
|
onKeydown?: ((event: KeyboardEvent) => any) | undefined;
|
|
160
161
|
"onUpdate:modelValue"?: ((value: string | number | null) => any) | undefined;
|
|
161
|
-
onFocus?: ((event: FocusEvent) => any) | undefined;
|
|
162
162
|
}>, {
|
|
163
|
+
variant: SelectorVariant;
|
|
164
|
+
indicatorPosition: SelectorIndicatorPosition;
|
|
163
165
|
status: SelectorStatusInput;
|
|
164
166
|
isOptional: boolean;
|
|
165
|
-
indicatorPosition: SelectorIndicatorPosition;
|
|
166
|
-
variant: SelectorVariant;
|
|
167
|
-
isLoading: boolean;
|
|
168
167
|
size: SelectorSize;
|
|
168
|
+
isLoading: boolean;
|
|
169
169
|
modelValue: string | number | null;
|
|
170
170
|
isLabelHidden: boolean;
|
|
171
171
|
isRequired: boolean;
|
|
172
172
|
statusVariant: SelectorStatusVariant;
|
|
173
|
-
isReadOnly: boolean;
|
|
174
|
-
presentation: SelectorPresentation;
|
|
175
173
|
disabled: boolean;
|
|
176
174
|
clearable: boolean;
|
|
175
|
+
presentation: SelectorPresentation;
|
|
176
|
+
isReadOnly: boolean;
|
|
177
177
|
searchable: boolean;
|
|
178
178
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
179
179
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
@@ -21,8 +21,8 @@ type __VLS_Slots = {} & {
|
|
|
21
21
|
label?: (props: typeof __VLS_1) => any;
|
|
22
22
|
};
|
|
23
23
|
declare const __VLS_base: import("vue").DefineComponent<DividerProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<DividerProps> & Readonly<{}>, {
|
|
24
|
-
orientation: DividerOrientation;
|
|
25
24
|
variant: DividerVariant;
|
|
25
|
+
orientation: DividerOrientation;
|
|
26
26
|
isFullBleed: boolean;
|
|
27
27
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
28
28
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
@@ -172,37 +172,37 @@ declare const __VLS_base: import("vue").DefineComponent<MultiSelectorProps, {
|
|
|
172
172
|
focus: () => void;
|
|
173
173
|
blur: () => void | undefined;
|
|
174
174
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
175
|
+
change: (value: (string | number)[], change?: MultiSelectorCreateChange | undefined) => any;
|
|
175
176
|
search: (query: string) => any;
|
|
176
177
|
click: (event: MouseEvent) => any;
|
|
177
|
-
|
|
178
|
+
focus: (event: FocusEvent) => any;
|
|
178
179
|
keydown: (event: KeyboardEvent) => any;
|
|
179
180
|
openChange: (isOpen: boolean) => any;
|
|
180
181
|
"update:modelValue": (value: (string | number)[]) => any;
|
|
181
|
-
focus: (event: FocusEvent) => any;
|
|
182
182
|
}, string, import("vue").PublicProps, Readonly<MultiSelectorProps> & Readonly<{
|
|
183
|
+
onChange?: ((value: (string | number)[], change?: MultiSelectorCreateChange | undefined) => any) | undefined;
|
|
183
184
|
onSearch?: ((query: string) => any) | undefined;
|
|
184
185
|
onClick?: ((event: MouseEvent) => any) | undefined;
|
|
185
|
-
|
|
186
|
+
onFocus?: ((event: FocusEvent) => any) | undefined;
|
|
186
187
|
onKeydown?: ((event: KeyboardEvent) => any) | undefined;
|
|
187
188
|
onOpenChange?: ((isOpen: boolean) => any) | undefined;
|
|
188
189
|
"onUpdate:modelValue"?: ((value: (string | number)[]) => any) | undefined;
|
|
189
|
-
onFocus?: ((event: FocusEvent) => any) | undefined;
|
|
190
190
|
}>, {
|
|
191
191
|
required: boolean;
|
|
192
|
-
status: MultiSelectorStatus;
|
|
193
192
|
variant: MultiSelectorVariant;
|
|
194
|
-
|
|
193
|
+
status: MultiSelectorStatus;
|
|
195
194
|
size: MultiSelectorSize;
|
|
195
|
+
isLoading: boolean;
|
|
196
196
|
modelValue: readonly (string | number)[];
|
|
197
197
|
statusVariant: MultiSelectorStatusVariant;
|
|
198
|
-
isReadOnly: boolean;
|
|
199
|
-
presentation: MultiSelectorPresentation;
|
|
200
198
|
labelHidden: boolean;
|
|
201
199
|
disabled: boolean;
|
|
202
200
|
clearable: boolean;
|
|
203
|
-
searchable: boolean;
|
|
204
201
|
hasCreate: boolean;
|
|
205
202
|
optional: boolean;
|
|
203
|
+
presentation: MultiSelectorPresentation;
|
|
204
|
+
isReadOnly: boolean;
|
|
205
|
+
searchable: boolean;
|
|
206
206
|
selectAll: boolean;
|
|
207
207
|
triggerDisplay: MultiSelectorTriggerDisplay;
|
|
208
208
|
maxBadges: number;
|
|
@@ -162,8 +162,8 @@ declare const __VLS_base: import("vue").DefineComponent<TabListProps, {}, {}, {}
|
|
|
162
162
|
}>, {
|
|
163
163
|
size: TabListSize;
|
|
164
164
|
isFullBleed: boolean;
|
|
165
|
-
hasDivider: boolean;
|
|
166
165
|
overflow: TabListOverflow;
|
|
166
|
+
hasDivider: boolean;
|
|
167
167
|
layout: TabListLayout;
|
|
168
168
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
169
169
|
declare const __VLS_export$1: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|