@astryx-vue/core 0.7.2 → 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.
Files changed (94) hide show
  1. package/dist/AppShell/index.d.ts +1 -1
  2. package/dist/AvatarGroup/index.d.ts +1 -1
  3. package/dist/Banner/index.d.ts +1 -1
  4. package/dist/BottomSheet/index.d.ts +1 -1
  5. package/dist/Button/index.d.ts +1 -1
  6. package/dist/ButtonGroup/index.d.ts +1 -1
  7. package/dist/Calendar/index.d.ts +1 -1
  8. package/dist/Card/index.d.ts +1 -1
  9. package/dist/Chat/index.d.ts +1 -1
  10. package/dist/CheckboxInput/index.d.ts +1 -1
  11. package/dist/CheckboxList/index.d.ts +1 -1
  12. package/dist/ClickableCard/index.d.ts +1 -1
  13. package/dist/Code/index.d.ts +1 -1
  14. package/dist/Collapsible/index.d.ts +1 -1
  15. package/dist/ComplexSelector/index.d.ts +1 -1
  16. package/dist/ContextMenu/index.d.ts +1 -1
  17. package/dist/DateInput/index.d.ts +1 -1
  18. package/dist/DateRangeInput/index.d.ts +1 -1
  19. package/dist/DateTimeInput/index.d.ts +1 -1
  20. package/dist/Dialog/index.d.ts +1 -1
  21. package/dist/Divider/index.d.ts +1 -1
  22. package/dist/Drawer/index.d.ts +1 -1
  23. package/dist/FileInput/index.d.ts +1 -1
  24. package/dist/Heading/index.d.ts +1 -1
  25. package/dist/Link/index.d.ts +1 -1
  26. package/dist/List/index.d.ts +1 -1
  27. package/dist/MoreMenu/index.d.ts +1 -1
  28. package/dist/MultiSelector/index.d.ts +1 -1
  29. package/dist/NavItem/index.d.ts +1 -1
  30. package/dist/NumberInput/index.d.ts +1 -1
  31. package/dist/OverflowList/index.d.ts +1 -1
  32. package/dist/Pagination/index.d.ts +1 -1
  33. package/dist/Pagination/index.js +1 -1
  34. package/dist/{Pagination-CYmPEKKt.js → Pagination-DLLwmSLb.js} +44 -15
  35. package/dist/Popover/index.d.ts +1 -1
  36. package/dist/PowerSearch/index.d.ts +1 -1
  37. package/dist/ProgressBar/index.d.ts +1 -1
  38. package/dist/Radio/index.d.ts +1 -1
  39. package/dist/RadioList/index.d.ts +1 -1
  40. package/dist/ScrollableArea/index.d.ts +1 -1
  41. package/dist/SelectableCard/index.d.ts +1 -1
  42. package/dist/Selector/index.d.ts +1 -1
  43. package/dist/SideNav/index.d.ts +1 -1
  44. package/dist/Stepper/index.d.ts +1 -1
  45. package/dist/Switch/index.d.ts +1 -1
  46. package/dist/TabList/index.d.ts +1 -1
  47. package/dist/Table/index.d.ts +1 -1
  48. package/dist/Table/index.js +1 -1
  49. package/dist/{Table-DB1DBqHj.js → Table-DczJvBBc.js} +1 -1
  50. package/dist/Text/index.d.ts +1 -1
  51. package/dist/TextArea/index.d.ts +1 -1
  52. package/dist/TextInput/index.d.ts +1 -1
  53. package/dist/TimeInput/index.d.ts +1 -1
  54. package/dist/Timestamp/index.d.ts +1 -1
  55. package/dist/ToggleButton/index.d.ts +1 -1
  56. package/dist/Tokenizer/index.d.ts +1 -1
  57. package/dist/Toolbar/index.d.ts +1 -1
  58. package/dist/TopNav/index.d.ts +1 -1
  59. package/dist/TreeList/index.d.ts +1 -1
  60. package/dist/TreeList/index.js +1 -1
  61. package/dist/{TreeList-A_YrW4iI.js → TreeList-rz7FL_GT.js} +30 -14
  62. package/dist/Typeahead/index.d.ts +1 -1
  63. package/dist/{index-mkbGYz8f.d.ts → index-3t5RAfNP.d.ts} +2 -2
  64. package/dist/{index-TXcNH86P.d.ts → index-B1eCxBCY.d.ts} +1 -1
  65. package/dist/{index-CHuSkU5Q.d.ts → index-B8wXa2fZ.d.ts} +2 -2
  66. package/dist/{index-wY6dKz6c.d.ts → index-BEZ4ezJk.d.ts} +2 -2
  67. package/dist/{index-DsaP4-eB.d.ts → index-BNaRK-s5.d.ts} +1 -1
  68. package/dist/{index-BnEhvmdR.d.ts → index-BaxM-pFP.d.ts} +4 -4
  69. package/dist/{index-CTjkJP4x.d.ts → index-Bgk1Rj2A.d.ts} +1 -1
  70. package/dist/{index-DFLPv9io.d.ts → index-BxWCX2pJ.d.ts} +3 -3
  71. package/dist/{index-BngdKVro.d.ts → index-C3f1zsJR.d.ts} +1 -1
  72. package/dist/{index-B3yTdknp.d.ts → index-CL8JvxHW.d.ts} +1 -1
  73. package/dist/{index-C3dirxkN.d.ts → index-C_4A4pml.d.ts} +3 -3
  74. package/dist/{index-ChOyJzJh.d.ts → index-Ca8VIE4l.d.ts} +2 -2
  75. package/dist/{index-DARkgF2a.d.ts → index-Co40qE1U.d.ts} +5 -5
  76. package/dist/{index-C8wfe0Mr.d.ts → index-D05JGsT3.d.ts} +1 -1
  77. package/dist/{index-hCpxKePE.d.ts → index-D5N9ikrS.d.ts} +1 -1
  78. package/dist/{index-y7IZ2irW.d.ts → index-DCyf_Id0.d.ts} +4 -4
  79. package/dist/{index-DXJ3U3ve.d.ts → index-DLAG3m9W.d.ts} +2 -2
  80. package/dist/{index-DZf0vVdL.d.ts → index-DO5rBnsP.d.ts} +47 -47
  81. package/dist/{index-D97pQbua.d.ts → index-DXhtlG4u.d.ts} +2 -2
  82. package/dist/{index-B2kcUxGA.d.ts → index-D_K1wfRa.d.ts} +1 -1
  83. package/dist/{index-MEix_m1o.d.ts → index-DaXzQxos.d.ts} +2 -2
  84. package/dist/{index-8px-LKw_.d.ts → index-Dacg7XTH.d.ts} +2 -2
  85. package/dist/{index-qayqGnJT.d.ts → index-IfiA8CSr.d.ts} +2 -2
  86. package/dist/{index-B6eL2gOK.d.ts → index-RW8kvEwf.d.ts} +5 -5
  87. package/dist/{index-CdvmnNMH.d.ts → index-YKCx03zD.d.ts} +1 -1
  88. package/dist/{index-B449gOMC.d.ts → index-rszZajcw.d.ts} +2 -2
  89. package/dist/{index-BbArm3_c.d.ts → index-tJF9nSnc.d.ts} +2 -2
  90. package/dist/index.d.ts +27 -27
  91. package/dist/index.js +3 -3
  92. package/package.json +1 -1
  93. package/styles/pagination.css +7 -1
  94. package/styles/tree-list.css +2 -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[2] || (_cache[2] = [createElementVNode("span", {
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
- })], 8, _hoisted_5)) : createCommentVNode("v-if", true),
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
- tabindex: "-1"
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
- }, 8, [
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: _cache[0] || (_cache[0] = ($event) => __props.item.onClick($event))
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)], 8, _hoisted_10)) : (openBlock(), createElementBlock("span", _hoisted_13, [createElementVNode("span", {
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[1] || (_cache[1] = ($event) => emit("toggle", $event))
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-BnEhvmdR.js";
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,10 +100,10 @@ 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
+ onChange?: ((value: T[], change: TokenizerChange<T>) => any) | undefined;
103
104
  onSearch?: ((query: string) => any) | undefined;
104
105
  onBlur?: ((event: FocusEvent) => any) | undefined;
105
106
  onFocus?: ((event: FocusEvent) => any) | undefined;
106
- onChange?: ((value: T[], change: TokenizerChange<T>) => any) | undefined;
107
107
  onOpenChange?: ((isOpen: boolean) => any) | undefined;
108
108
  "onUpdate:modelValue"?: ((value: T[]) => any) | undefined;
109
109
  onChangeQuery?: ((query: string) => any) | undefined;
@@ -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: "search", query: string) => void) & ((evt: "blur", event: FocusEvent) => void) & ((evt: "focus", event: FocusEvent) => void) & ((evt: "change", value: T[], change: TokenizerChange<T>) => void) & ((evt: "openChange", isOpen: boolean) => void) & ((evt: "update:modelValue", value: T[]) => void) & ((evt: "changeQuery", query: string) => void);
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
  };
@@ -52,8 +52,8 @@ declare const __VLS_base: import("vue").DefineComponent<__VLS_PublicProps, {
52
52
  "onUpdate:mobileNavOpen"?: ((value: boolean) => any) | undefined;
53
53
  onMobileNavOpenChange?: ((isOpen: boolean) => any) | undefined;
54
54
  }>, {
55
- variant: AppShellVariant;
56
55
  height: AppShellHeight;
56
+ variant: AppShellVariant;
57
57
  mobileNav: false | AppShellMobileNav;
58
58
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
59
59
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
@@ -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;
@@ -154,11 +154,11 @@ type __VLS_ModelProps = {
154
154
  };
155
155
  type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
156
156
  declare const __VLS_base: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
157
- "update:value": (value: CollapsibleGroupValue | undefined) => any;
158
157
  change: (value: CollapsibleGroupValue) => any;
158
+ "update:value": (value: CollapsibleGroupValue | undefined) => any;
159
159
  }, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
160
- "onUpdate:value"?: ((value: CollapsibleGroupValue | undefined) => any) | undefined;
161
160
  onChange?: ((value: CollapsibleGroupValue) => any) | undefined;
161
+ "onUpdate:value"?: ((value: CollapsibleGroupValue | undefined) => any) | undefined;
162
162
  }>, {
163
163
  type: CollapsibleGroupType;
164
164
  hasDividers: boolean;
@@ -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: "search", query: string) => void) & ((evt: "change", value: T | null) => void) & ((evt: "openChange", isOpen: boolean) => void) & ((evt: "update:modelValue", value: T | null) => void) & ((evt: "changeQuery", query: string) => void);
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: "search", query: string) => void) & ((evt: "change", value: T | null) => void) & ((evt: "openChange", isOpen: boolean) => void) & ((evt: "update:modelValue", value: T | null) => void) & ((evt: "changeQuery", query: string) => void);
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
  };
@@ -111,8 +111,8 @@ type __VLS_Slots = CardSlots;
111
111
  declare const __VLS_base: import("vue").DefineComponent<CardProps, {
112
112
  element: Readonly<import("vue").ShallowRef<HTMLDivElement | null>>;
113
113
  }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<CardProps> & Readonly<{}>, {
114
- elevation: CardElevation;
115
114
  variant: keyof CardVariantMap;
115
+ elevation: CardElevation;
116
116
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
117
117
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
118
118
  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>;
@@ -175,11 +175,11 @@ type __VLS_Slots = {} & {
175
175
  default?: (props: typeof __VLS_1) => any;
176
176
  };
177
177
  declare const __VLS_base: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
178
- "update:activeSheet": (value: string | null) => any;
179
178
  cancel: (event: Event) => any;
179
+ "update:activeSheet": (value: string | null) => any;
180
180
  }, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
181
- "onUpdate:activeSheet"?: ((value: string | null) => any) | undefined;
182
181
  onCancel?: ((event: Event) => any) | undefined;
182
+ "onUpdate:activeSheet"?: ((value: string | null) => any) | undefined;
183
183
  }>, {
184
184
  hasScrim: boolean;
185
185
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
@@ -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
33
  size: NavItemSize;
33
34
  isIconOnly: boolean;
34
- isSelected: 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>;
@@ -391,23 +391,23 @@ declare const __VLS_base: import("vue").DefineComponent<PowerSearchProps, {
391
391
  focusTypeahead: () => void | undefined;
392
392
  blurTypeahead: () => void | undefined;
393
393
  }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
394
+ change: (filters: PowerSearchFilter[], changeType: PowerSearchChangeType, index: number) => any;
394
395
  blur: (event: FocusEvent) => any;
395
396
  focus: (event: FocusEvent) => any;
396
- change: (filters: PowerSearchFilter[], changeType: PowerSearchChangeType, index: number) => any;
397
397
  "update:filters": (filters: PowerSearchFilter[]) => any;
398
398
  }, string, import("vue").PublicProps, Readonly<PowerSearchProps> & Readonly<{
399
+ onChange?: ((filters: PowerSearchFilter[], changeType: PowerSearchChangeType, index: number) => any) | undefined;
399
400
  onBlur?: ((event: FocusEvent) => any) | undefined;
400
401
  onFocus?: ((event: FocusEvent) => any) | undefined;
401
- onChange?: ((filters: PowerSearchFilter[], changeType: PowerSearchChangeType, index: number) => any) | undefined;
402
402
  "onUpdate:filters"?: ((filters: PowerSearchFilter[]) => any) | undefined;
403
403
  }>, {
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
- change: (value: string | number | null) => any;
153
153
  keydown: (event: KeyboardEvent) => any;
154
154
  "update:modelValue": (value: string | number | null) => 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
- onChange?: ((value: string | number | null) => any) | undefined;
160
160
  onKeydown?: ((event: KeyboardEvent) => any) | undefined;
161
161
  "onUpdate:modelValue"?: ((value: string | number | null) => any) | undefined;
162
162
  }>, {
163
+ variant: SelectorVariant;
164
+ indicatorPosition: SelectorIndicatorPosition;
163
165
  status: SelectorStatusInput;
164
166
  isOptional: boolean;
165
- indicatorPosition: SelectorIndicatorPosition;
166
167
  size: SelectorSize;
167
168
  isLoading: boolean;
168
- variant: SelectorVariant;
169
169
  modelValue: string | number | null;
170
170
  isLabelHidden: boolean;
171
171
  isRequired: boolean;
172
172
  statusVariant: SelectorStatusVariant;
173
- isReadOnly: boolean;
174
173
  disabled: boolean;
175
174
  clearable: boolean;
176
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>;
@@ -209,8 +209,8 @@ declare const __VLS_export$1: import("vue").DefineComponent<CodeBlockProps, {
209
209
  }, string, import("vue").PublicProps, Readonly<CodeBlockProps> & Readonly<{
210
210
  onCopy?: (() => any) | undefined;
211
211
  }>, {
212
- size: CodeBlockSize;
213
212
  width: string;
213
+ size: CodeBlockSize;
214
214
  container: CodeBlockContainer;
215
215
  language: string;
216
216
  hasLanguageLabel: boolean;
@@ -172,36 +172,36 @@ 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
- change: (value: (string | number)[], change?: MultiSelectorCreateChange | undefined) => any;
179
179
  keydown: (event: KeyboardEvent) => any;
180
180
  openChange: (isOpen: boolean) => any;
181
181
  "update:modelValue": (value: (string | number)[]) => 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
- onChange?: ((value: (string | number)[], change?: MultiSelectorCreateChange | undefined) => any) | undefined;
187
187
  onKeydown?: ((event: KeyboardEvent) => any) | undefined;
188
188
  onOpenChange?: ((isOpen: boolean) => any) | undefined;
189
189
  "onUpdate:modelValue"?: ((value: (string | number)[]) => any) | undefined;
190
190
  }>, {
191
191
  required: boolean;
192
+ variant: MultiSelectorVariant;
192
193
  status: MultiSelectorStatus;
193
194
  size: MultiSelectorSize;
194
195
  isLoading: boolean;
195
- variant: MultiSelectorVariant;
196
196
  modelValue: readonly (string | number)[];
197
197
  statusVariant: MultiSelectorStatusVariant;
198
- isReadOnly: boolean;
199
198
  labelHidden: boolean;
200
199
  disabled: boolean;
201
200
  clearable: boolean;
202
201
  hasCreate: boolean;
203
202
  optional: boolean;
204
203
  presentation: MultiSelectorPresentation;
204
+ isReadOnly: boolean;
205
205
  searchable: boolean;
206
206
  selectAll: boolean;
207
207
  triggerDisplay: MultiSelectorTriggerDisplay;
@@ -154,11 +154,11 @@ type __VLS_Slots = {
154
154
  default: () => unknown;
155
155
  };
156
156
  declare const __VLS_base: import("vue").DefineComponent<TabListProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
157
- "update:value": (value: string) => any;
158
157
  change: (value: string) => any;
158
+ "update:value": (value: string) => any;
159
159
  }, string, import("vue").PublicProps, Readonly<TabListProps> & Readonly<{
160
- "onUpdate:value"?: ((value: string) => any) | undefined;
161
160
  onChange?: ((value: string) => any) | undefined;
161
+ "onUpdate:value"?: ((value: string) => any) | undefined;
162
162
  }>, {
163
163
  size: TabListSize;
164
164
  isFullBleed: boolean;