@robuust-digital/vue-components 2.2.0-rc.0 → 2.2.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.
Files changed (53) hide show
  1. package/CHANGELOG.md +2 -2
  2. package/dist/_shared/{ButtonBase.vue_vue_type_script_setup_true_lang-B0YsKehI.js → ButtonBase.vue_vue_type_script_setup_true_lang-DeflHqux.js} +1 -1
  3. package/dist/_shared/{Combobox.vue_vue_type_script_setup_true_lang-D1vKMJok.js → Combobox.vue_vue_type_script_setup_true_lang-CP3x2DUA.js} +3 -3
  4. package/dist/_shared/{Drawer.vue_vue_type_script_setup_true_lang-DT6tBBZ7.js → Drawer.vue_vue_type_script_setup_true_lang-CD5914Fk.js} +5 -6
  5. package/dist/_shared/{Dropdown.vue_vue_type_script_setup_true_lang-D5vTFLkq.js → Dropdown.vue_vue_type_script_setup_true_lang-CmYj-7WQ.js} +1 -1
  6. package/dist/_shared/{Lightswitch.vue_vue_type_script_setup_true_lang-CvN-2WJt.js → Lightswitch.vue_vue_type_script_setup_true_lang-DX23lEFd.js} +8 -9
  7. package/dist/_shared/{Modal.vue_vue_type_script_setup_true_lang-DBEOIZnO.js → Modal.vue_vue_type_script_setup_true_lang-CoHkAJj3.js} +4 -5
  8. package/dist/_shared/{RichTextEditor.vue_vue_type_script_setup_true_lang-Bs4WdJhA.js → RichTextEditor.vue_vue_type_script_setup_true_lang-CIVhqJtE.js} +1 -1
  9. package/dist/_shared/{Tabs.vue_vue_type_script_setup_true_lang-CsGx6wBK.js → Tabs.vue_vue_type_script_setup_true_lang-BgOTdYXd.js} +1 -1
  10. package/dist/_shared/{Toast.vue_vue_type_script_setup_true_lang-FEeRXoIx.js → Toast.vue_vue_type_script_setup_true_lang-Be3i_0zE.js} +26 -23
  11. package/dist/_shared/{icon-spinner-CmxIOqaK.js → icon-spinner-CP0VP_YM.js} +2 -2
  12. package/dist/combobox/index.js +1 -1
  13. package/dist/combobox.d.ts +132 -4
  14. package/dist/core/index.js +2 -2
  15. package/dist/core.d.ts +669 -27
  16. package/dist/dialogs/index.js +2 -2
  17. package/dist/dialogs.d.ts +226 -5
  18. package/dist/dropdown/index.js +1 -1
  19. package/dist/dropdown.d.ts +145 -4
  20. package/dist/index/index.js +9 -9
  21. package/dist/index.d.ts +1343 -8
  22. package/dist/lightswitch/index.js +1 -1
  23. package/dist/lightswitch.d.ts +39 -4
  24. package/dist/rich-text-editor/index.js +1 -1
  25. package/dist/rich-text-editor.d.ts +89 -4
  26. package/dist/toast/index.js +1 -1
  27. package/dist/toast.d.ts +66 -4
  28. package/dist/tooltip.d.ts +61 -4
  29. package/package.json +25 -28
  30. package/dist/components/Accordion.vue.d.ts +0 -37
  31. package/dist/components/Alert.vue.d.ts +0 -39
  32. package/dist/components/Badge.vue.d.ts +0 -32
  33. package/dist/components/ButtonBase.vue.d.ts +0 -50
  34. package/dist/components/Checkbox.vue.d.ts +0 -39
  35. package/dist/components/Combobox.vue.d.ts +0 -112
  36. package/dist/components/DataTable.vue.d.ts +0 -122
  37. package/dist/components/Drawer.vue.d.ts +0 -103
  38. package/dist/components/Dropdown.vue.d.ts +0 -120
  39. package/dist/components/EmptyState.vue.d.ts +0 -23
  40. package/dist/components/FormInput.vue.d.ts +0 -49
  41. package/dist/components/FormSelect.vue.d.ts +0 -58
  42. package/dist/components/FormTextarea.vue.d.ts +0 -16
  43. package/dist/components/Lightswitch.vue.d.ts +0 -26
  44. package/dist/components/Modal.vue.d.ts +0 -98
  45. package/dist/components/Pagination.vue.d.ts +0 -60
  46. package/dist/components/Radio.vue.d.ts +0 -34
  47. package/dist/components/RichTextEditor.vue.d.ts +0 -71
  48. package/dist/components/Tabs.vue.d.ts +0 -26
  49. package/dist/components/Toast.vue.d.ts +0 -46
  50. package/dist/components/Tooltip.vue.d.ts +0 -45
  51. package/dist/composables/useDialogContext.d.ts +0 -18
  52. package/dist/composables/useForm.d.ts +0 -6
  53. package/dist/types/shared.d.ts +0 -3
package/CHANGELOG.md CHANGED
@@ -1,8 +1,8 @@
1
- ## 2.2.0-rc.0 (12-08-2025)
1
+ ## 2.2.0 (23-09-2025)
2
2
 
3
3
  ### Added
4
4
 
5
- * Typescript support for all components
5
+ * Typescript support for all components 🎉
6
6
 
7
7
  ## 2.1.0 (05-08-2025)
8
8
 
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as b, watchEffect as p, createBlock as l, openBlock as e, resolveDynamicComponent as s, mergeProps as c, withCtx as d, createElementBlock as f, renderSlot as o, createCommentVNode as a, createTextVNode as t, toDisplayString as r, unref as y } from "vue";
2
- import { S as m } from "./icon-spinner-CmxIOqaK.js";
2
+ import { S as m } from "./icon-spinner-CP0VP_YM.js";
3
3
  const v = {
4
4
  key: 0,
5
5
  class: "rvc-button-label"
@@ -2,7 +2,7 @@ import { createElementBlock as c, openBlock as n, createElementVNode as r, defin
2
2
  import { useDebounceFn as J } from "@vueuse/core";
3
3
  import { Combobox as Q, ComboboxInput as W, ComboboxButton as X, ComboboxOptions as Y, ComboboxOption as _ } from "@headlessui/vue";
4
4
  import { r as ee, _ as oe } from "./ChevronDownIcon-DaaXfD3C.js";
5
- import { S as le } from "./icon-spinner-CmxIOqaK.js";
5
+ import { S as le } from "./icon-spinner-CP0VP_YM.js";
6
6
  function te(s, L) {
7
7
  return n(), c("svg", {
8
8
  xmlns: "http://www.w3.org/2000/svg",
@@ -218,9 +218,9 @@ const ne = { class: "rvc-combobox-container" }, se = { class: "rvc-combobox-wrap
218
218
  r("div", null, [
219
219
  r("em", null, "Minimal " + A(e.minLength) + " characters.", 1)
220
220
  ])
221
- ])) : !b.value && !i.value.length ? (n(), c("div", ce, l[5] || (l[5] = [
221
+ ])) : !b.value && !i.value.length ? (n(), c("div", ce, [...l[5] || (l[5] = [
222
222
  r("div", null, " No results found. ", -1)
223
- ]))) : (n(!0), c(N, { key: 2 }, M(i.value, (o) => (n(), C(d(_), {
223
+ ])])) : (n(!0), c(N, { key: 2 }, M(i.value, (o) => (n(), C(d(_), {
224
224
  key: `option-${o[e.itemKey]}`,
225
225
  value: o,
226
226
  as: "template"
@@ -1,7 +1,7 @@
1
1
  import { defineComponent as S, createBlock as w, openBlock as d, unref as a, withCtx as i, createVNode as s, withModifiers as L, createElementVNode as t, normalizeClass as c, createElementBlock as u, renderSlot as n, createCommentVNode as m, createTextVNode as T, toDisplayString as F } from "vue";
2
2
  import { TransitionRoot as N, Dialog as V, TransitionChild as b, DialogPanel as R, DialogTitle as y } from "@headlessui/vue";
3
- import { _ as k } from "./ButtonBase.vue_vue_type_script_setup_true_lang-B0YsKehI.js";
4
- import { u as A } from "./Modal.vue_vue_type_script_setup_true_lang-DBEOIZnO.js";
3
+ import { _ as k } from "./ButtonBase.vue_vue_type_script_setup_true_lang-DeflHqux.js";
4
+ import { u as A } from "./Modal.vue_vue_type_script_setup_true_lang-CoHkAJj3.js";
5
5
  import { r as C } from "./XMarkIcon-90mcPzBs.js";
6
6
  const H = {
7
7
  class: "rvc-drawer-presentation",
@@ -60,14 +60,13 @@ const H = {
60
60
  onBeforeEnter: r[0] || (r[0] = (l) => o("drawer:open")),
61
61
  onAfterEnter: r[1] || (r[1] = (l) => o("drawer:opened"))
62
62
  }, {
63
- default: i(() => r[8] || (r[8] = [
63
+ default: i(() => [...r[8] || (r[8] = [
64
64
  t("div", {
65
65
  class: "rvc-drawer-backdrop",
66
66
  "aria-hidden": "true"
67
67
  }, null, -1)
68
- ])),
69
- _: 1,
70
- __: [8]
68
+ ])]),
69
+ _: 1
71
70
  }),
72
71
  t("div", H, [
73
72
  t("div", I, [
@@ -1,6 +1,6 @@
1
1
  import { createElementBlock as v, openBlock as n, createElementVNode as _, defineComponent as B, createBlock as a, unref as t, normalizeClass as c, withCtx as r, renderSlot as s, createVNode as l, mergeProps as u, Transition as M, Fragment as $, renderList as y, resolveDynamicComponent as f, createCommentVNode as A, createTextVNode as L, toDisplayString as N } from "vue";
2
2
  import { Menu as V, MenuButton as p, MenuItems as D, MenuItem as m } from "@headlessui/vue";
3
- import { _ as I } from "./ButtonBase.vue_vue_type_script_setup_true_lang-B0YsKehI.js";
3
+ import { _ as I } from "./ButtonBase.vue_vue_type_script_setup_true_lang-DeflHqux.js";
4
4
  function Z(w, i) {
5
5
  return n(), v("svg", {
6
6
  xmlns: "http://www.w3.org/2000/svg",
@@ -1,6 +1,6 @@
1
1
  import { defineComponent as c, computed as p, createBlock as s, openBlock as r, unref as o, withCtx as a, createVNode as f, createCommentVNode as h, mergeProps as g, createElementVNode as V, renderSlot as w } from "vue";
2
- import { SwitchGroup as v, Switch as _, SwitchLabel as S } from "@headlessui/vue";
3
- const B = /* @__PURE__ */ c({
2
+ import { SwitchGroup as v, Switch as S, SwitchLabel as b } from "@headlessui/vue";
3
+ const C = /* @__PURE__ */ c({
4
4
  inheritAttrs: !1,
5
5
  __name: "Lightswitch",
6
6
  props: {
@@ -17,18 +17,17 @@ const B = /* @__PURE__ */ c({
17
17
  class: "rvc-lightswitch-group"
18
18
  }, {
19
19
  default: a(() => [
20
- f(o(_), g({
20
+ f(o(S), g({
21
21
  modelValue: l.value,
22
22
  "onUpdate:modelValue": t[0] || (t[0] = (m) => l.value = m),
23
23
  class: [{ "rvc-lightswitch-enabled": l.value }, "rvc-lightswitch"]
24
24
  }, e.$attrs), {
25
- default: a(() => t[1] || (t[1] = [
25
+ default: a(() => [...t[1] || (t[1] = [
26
26
  V("span", { class: "rvc-lightswitch-toggle" }, null, -1)
27
- ])),
28
- _: 1,
29
- __: [1]
27
+ ])]),
28
+ _: 1
30
29
  }, 16, ["modelValue", "class"]),
31
- e.$slots.default ? (r(), s(o(S), { key: 0 }, {
30
+ e.$slots.default ? (r(), s(o(b), { key: 0 }, {
32
31
  default: a(() => [
33
32
  w(e.$slots, "default")
34
33
  ]),
@@ -40,5 +39,5 @@ const B = /* @__PURE__ */ c({
40
39
  }
41
40
  });
42
41
  export {
43
- B as _
42
+ C as _
44
43
  };
@@ -1,6 +1,6 @@
1
1
  import { ref as C, computed as u, defineComponent as D, createBlock as L, openBlock as y, unref as t, withCtx as d, createVNode as n, withModifiers as T, createElementVNode as r, normalizeClass as I, createElementBlock as $, renderSlot as s, createCommentVNode as N, createTextVNode as R, toDisplayString as S } from "vue";
2
2
  import { TransitionRoot as V, Dialog as h, TransitionChild as g, DialogPanel as A, DialogTitle as B } from "@headlessui/vue";
3
- import { _ as E } from "./ButtonBase.vue_vue_type_script_setup_true_lang-B0YsKehI.js";
3
+ import { _ as E } from "./ButtonBase.vue_vue_type_script_setup_true_lang-DeflHqux.js";
4
4
  import { r as w } from "./XMarkIcon-90mcPzBs.js";
5
5
  function H(m) {
6
6
  const f = C(null), p = C(!1), l = u(() => m.as === "form"), b = u(() => `${m.id}-title`), v = u(() => `${m.id}-content`), c = u(() => {
@@ -74,14 +74,13 @@ const M = {
74
74
  onBeforeEnter: o[0] || (o[0] = (a) => l("modal:open")),
75
75
  onAfterEnter: o[1] || (o[1] = (a) => l("modal:opened"))
76
76
  }, {
77
- default: d(() => o[9] || (o[9] = [
77
+ default: d(() => [...o[9] || (o[9] = [
78
78
  r("div", {
79
79
  "aria-hidden": "true",
80
80
  class: "rvc-modal-backdrop"
81
81
  }, null, -1)
82
- ])),
83
- _: 1,
84
- __: [9]
82
+ ])]),
83
+ _: 1
85
84
  }),
86
85
  r("div", M, [
87
86
  r("div", q, [
@@ -3,7 +3,7 @@ import { useEditor as N, EditorContent as O } from "@tiptap/vue-3";
3
3
  import T from "@tiptap/starter-kit";
4
4
  import { _ as z } from "./Tooltip.vue_vue_type_script_setup_true_lang-CoydN9sS.js";
5
5
  import { _ as D } from "./FormInput.vue_vue_type_script_setup_true_lang-BhJpG-Fw.js";
6
- import { _ as I } from "./Modal.vue_vue_type_script_setup_true_lang-DBEOIZnO.js";
6
+ import { _ as I } from "./Modal.vue_vue_type_script_setup_true_lang-CoHkAJj3.js";
7
7
  function q(r, d) {
8
8
  return o(), n("svg", {
9
9
  xmlns: "http://www.w3.org/2000/svg",
@@ -1,7 +1,7 @@
1
1
  import { createElementBlock as n, openBlock as a, createElementVNode as c, defineComponent as C, Fragment as k, renderList as w, renderSlot as u, createTextVNode as M, toDisplayString as g, createVNode as L, unref as h, normalizeClass as b, createBlock as B, resolveDynamicComponent as P, withCtx as I, createCommentVNode as $, computed as S, useAttrs as z, ref as _, withDirectives as O, mergeProps as y, vModelDynamic as E, normalizeProps as H, guardReactiveProps as R, vModelSelect as U, vModelText as Z } from "vue";
2
2
  import { r as K } from "./XMarkIcon-90mcPzBs.js";
3
3
  import { u as N } from "./FormInput.vue_vue_type_script_setup_true_lang-BhJpG-Fw.js";
4
- import { S as q } from "./icon-spinner-CmxIOqaK.js";
4
+ import { S as q } from "./icon-spinner-CP0VP_YM.js";
5
5
  import { r as G } from "./ChevronDownIcon-DaaXfD3C.js";
6
6
  function J(f, s) {
7
7
  return a(), n("svg", {
@@ -1,7 +1,10 @@
1
- import { defineComponent as d, onMounted as h, watch as w, createBlock as a, openBlock as o, unref as r, withCtx as i, resolveDynamicComponent as c, normalizeClass as y, renderSlot as s, createElementVNode as m, createCommentVNode as u, toDisplayString as C, createElementBlock as $, createVNode as b } from "vue";
2
- import { TransitionRoot as k } from "@headlessui/vue";
1
+ import { defineComponent as d, onMounted as y, watch as h, createBlock as a, openBlock as e, unref as i, withCtx as c, resolveDynamicComponent as m, normalizeClass as w, renderSlot as s, createElementVNode as C, createCommentVNode as n, createElementBlock as u, toDisplayString as $, createVNode as k } from "vue";
2
+ import { TransitionRoot as b } from "@headlessui/vue";
3
3
  import { r as B } from "./XMarkIcon-90mcPzBs.js";
4
- const T = { class: "rvc-toast-title" }, S = /* @__PURE__ */ d({
4
+ const T = {
5
+ key: 0,
6
+ class: "rvc-toast-title"
7
+ }, S = /* @__PURE__ */ d({
5
8
  __name: "Toast",
6
9
  props: {
7
10
  show: { type: Boolean, default: !1 },
@@ -15,16 +18,16 @@ const T = { class: "rvc-toast-title" }, S = /* @__PURE__ */ d({
15
18
  },
16
19
  emits: ["toast:close"],
17
20
  setup(f, { emit: p }) {
18
- const e = f, v = p, n = () => {
19
- e.timeout && e.show && setTimeout(() => {
21
+ const o = f, v = p, l = () => {
22
+ o.timeout && o.show && setTimeout(() => {
20
23
  v("toast:close");
21
- }, e.timeout);
24
+ }, o.timeout);
22
25
  };
23
- return h(() => {
24
- n();
25
- }), w(() => e.show, (t) => {
26
- t && n();
27
- }), (t, l) => (o(), a(r(k), {
26
+ return y(() => {
27
+ l();
28
+ }), h(() => o.show, (t) => {
29
+ t && l();
30
+ }), (t, r) => (e(), a(i(b), {
28
31
  show: t.show,
29
32
  as: "template",
30
33
  enter: "rvc-toast-transition-enter",
@@ -34,33 +37,33 @@ const T = { class: "rvc-toast-title" }, S = /* @__PURE__ */ d({
34
37
  "leave-from": "rvc-toast-transition-leave-from",
35
38
  "leave-to": "rvc-toast-transition-leave-to"
36
39
  }, {
37
- default: i(() => [
38
- (o(), a(c(t.as), {
39
- class: y(["rvc-toast", `rvc-toast-${t.position}`, `rvc-toast-${t.type}`, { "rvc-toast-open": t.show }])
40
+ default: c(() => [
41
+ (e(), a(m(t.as), {
42
+ class: w(["rvc-toast", `rvc-toast-${t.position}`, `rvc-toast-${t.type}`, { "rvc-toast-open": t.show }])
40
43
  }, {
41
- default: i(() => [
44
+ default: c(() => [
42
45
  s(t.$slots, "icon", {}, () => [
43
- t.icon ? (o(), a(c(t.icon), {
46
+ t.icon ? (e(), a(m(t.icon), {
44
47
  key: 0,
45
48
  class: "rvc-toast-icon"
46
- })) : u("", !0)
49
+ })) : n("", !0)
47
50
  ]),
48
- m("div", null, [
51
+ C("div", null, [
49
52
  s(t.$slots, "title", {}, () => [
50
- m("span", T, C(t.title), 1)
53
+ t.title ? (e(), u("span", T, $(t.title), 1)) : n("", !0)
51
54
  ]),
52
55
  s(t.$slots, "default")
53
56
  ]),
54
57
  s(t.$slots, "close", {}, () => [
55
- t.showClose ? (o(), $("button", {
58
+ t.showClose ? (e(), u("button", {
56
59
  key: 0,
57
60
  type: "button",
58
61
  class: "rvc-toast-close",
59
62
  "aria-label": "Close",
60
- onClick: l[0] || (l[0] = (N) => t.$emit("toast:close"))
63
+ onClick: r[0] || (r[0] = (N) => t.$emit("toast:close"))
61
64
  }, [
62
- b(r(B))
63
- ])) : u("", !0)
65
+ k(i(B))
66
+ ])) : n("", !0)
64
67
  ])
65
68
  ]),
66
69
  _: 3
@@ -5,7 +5,7 @@ const n = {
5
5
  viewBox: "0 0 24 24"
6
6
  };
7
7
  function l(c, e) {
8
- return t(), o("svg", n, e[0] || (e[0] = [
8
+ return t(), o("svg", n, [...e[0] || (e[0] = [
9
9
  r("circle", {
10
10
  cx: "12",
11
11
  cy: "12",
@@ -18,7 +18,7 @@ function l(c, e) {
18
18
  fill: "currentColor",
19
19
  d: "M4 12a8 8 0 0 1 8-8V0C5.373 0 0 5.373 0 12zm2 5.291A7.96 7.96 0 0 1 4 12H0c0 3.042 1.135 5.824 3 7.938z"
20
20
  }, null, -1)
21
- ]));
21
+ ])]);
22
22
  }
23
23
  const s = { render: l };
24
24
  export {
@@ -1,4 +1,4 @@
1
- import { _ as a } from "../_shared/Combobox.vue_vue_type_script_setup_true_lang-D1vKMJok.js";
1
+ import { _ as a } from "../_shared/Combobox.vue_vue_type_script_setup_true_lang-CP3x2DUA.js";
2
2
  export {
3
3
  a as Combobox,
4
4
  a as default
@@ -1,4 +1,132 @@
1
- import { default as Combobox } from './components/Combobox.vue';
2
- export type { ComboboxProps, ComboboxModelValue, ComboboxSize } from './components/Combobox.vue';
3
- export { Combobox };
4
- export default Combobox;
1
+ import { ComponentOptionsMixin } from 'vue';
2
+ import { ComponentProvideOptions } from 'vue';
3
+ import { DefineComponent } from 'vue';
4
+ import { FunctionalComponent } from 'vue';
5
+ import { HTMLAttributes } from 'vue';
6
+ import { PublicProps } from 'vue';
7
+ import { SVGAttributes } from 'vue';
8
+ import { VNodeProps } from 'vue';
9
+
10
+ declare const __VLS_component: DefineComponent<ComboboxProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
11
+ "update:modelValue": (value: ComboboxModelValue) => any;
12
+ "update:requestParams": (value: Record<string, unknown>) => any;
13
+ "combobox:noResults": (value: string | null) => any;
14
+ "combobox:error": (error: unknown) => any;
15
+ }, string, PublicProps, Readonly<ComboboxProps> & Readonly<{
16
+ "onUpdate:modelValue"?: ((value: ComboboxModelValue) => any) | undefined;
17
+ "onUpdate:requestParams"?: ((value: Record<string, unknown>) => any) | undefined;
18
+ "onCombobox:noResults"?: ((value: string | null) => any) | undefined;
19
+ "onCombobox:error"?: ((error: unknown) => any) | undefined;
20
+ }>, {
21
+ icon: Icon | null;
22
+ size: ComboboxSize;
23
+ modelValue: ComboboxModelValue;
24
+ rootClass: string;
25
+ prefixIcon: Icon | null;
26
+ disabled: boolean;
27
+ endpoint: string;
28
+ requestParams: Record<string, unknown>;
29
+ manualInput: boolean;
30
+ responseData: (data: unknown) => unknown[];
31
+ displayValue: (item: unknown) => string | null;
32
+ optionText: (option: unknown) => string | null;
33
+ minLength: number;
34
+ itemKey: string;
35
+ clearable: boolean;
36
+ rootAttrs: Record<string, unknown>;
37
+ multiple: boolean;
38
+ onSearch: (value: string | null, params: Record<string, unknown>, endpoint?: string) => Promise<{
39
+ data: unknown;
40
+ error?: unknown;
41
+ cancel?: () => void;
42
+ }>;
43
+ searchOnly: boolean;
44
+ debounce: number;
45
+ minLoadingTime: number;
46
+ onCancel: (cancelToken: (() => void) | null) => void;
47
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
48
+
49
+ declare function __VLS_template(): {
50
+ attrs: Partial<{}>;
51
+ slots: {
52
+ prefixIcon?(_: {
53
+ icon: Icon;
54
+ }): any;
55
+ spinner?(_: {
56
+ spinning: true;
57
+ }): any;
58
+ icon?(_: {
59
+ icon: Icon | null;
60
+ }): any;
61
+ clear?(_: {}): any;
62
+ chip?(_: {
63
+ optionText: string | null;
64
+ option: any;
65
+ removeOption: (option: Record<string, unknown>) => void;
66
+ }): any;
67
+ option?(_: {
68
+ option: unknown;
69
+ isActive: (value: number | string) => boolean;
70
+ }): any;
71
+ optionPrefix?(_: {
72
+ option: unknown;
73
+ isActive: (value: number | string) => boolean;
74
+ }): any;
75
+ optionSuffix?(_: {
76
+ option: unknown;
77
+ isActive: (value: number | string) => boolean;
78
+ }): any;
79
+ };
80
+ refs: {};
81
+ rootEl: any;
82
+ };
83
+
84
+ declare type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
85
+
86
+ declare type __VLS_WithTemplateSlots<T, S> = T & {
87
+ new (): {
88
+ $slots: S;
89
+ };
90
+ };
91
+
92
+ declare type ComboboxModelValue = object | Array<unknown> | null;
93
+
94
+ declare interface ComboboxProps {
95
+ id: string;
96
+ rootClass?: string;
97
+ modelValue?: ComboboxModelValue;
98
+ endpoint?: string;
99
+ requestParams?: Record<string, unknown>;
100
+ manualInput?: boolean;
101
+ responseData?: (data: unknown) => unknown[];
102
+ displayValue?: (item: unknown) => string | null;
103
+ optionText?: (option: unknown) => string | null;
104
+ disabled?: boolean;
105
+ minLength?: number;
106
+ itemKey?: string;
107
+ clearable?: boolean;
108
+ rootAttrs?: Record<string, unknown>;
109
+ multiple?: boolean;
110
+ onSearch?: (value: string | null, params: Record<string, unknown>, endpoint?: string) => Promise<{
111
+ data: unknown;
112
+ error?: unknown;
113
+ cancel?: () => void;
114
+ }>;
115
+ searchOnly?: boolean;
116
+ icon?: Icon | null;
117
+ prefixIcon?: Icon | null;
118
+ size?: ComboboxSize;
119
+ debounce?: number;
120
+ minLoadingTime?: number;
121
+ onCancel?: (cancelToken: (() => void) | null) => void;
122
+ }
123
+
124
+ declare type ComboboxSize = 'sm' | 'base';
125
+
126
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
127
+ export { _default as Combobox }
128
+ export default _default;
129
+
130
+ declare type Icon = FunctionalComponent<SVGAttributes & HTMLAttributes & VNodeProps>;
131
+
132
+ export { }
@@ -1,6 +1,6 @@
1
- import { _ as e, a as s, b as t, c as r, d as m, e as p, f as x, g as c, h as f, i } from "../_shared/Tabs.vue_vue_type_script_setup_true_lang-CsGx6wBK.js";
1
+ import { _ as e, a as s, b as t, c as r, d as m, e as p, f as x, g as c, h as f, i } from "../_shared/Tabs.vue_vue_type_script_setup_true_lang-BgOTdYXd.js";
2
2
  import { _ as b } from "../_shared/ChevronDownIcon-DaaXfD3C.js";
3
- import { _ } from "../_shared/ButtonBase.vue_vue_type_script_setup_true_lang-B0YsKehI.js";
3
+ import { _ } from "../_shared/ButtonBase.vue_vue_type_script_setup_true_lang-DeflHqux.js";
4
4
  import { _ as l } from "../_shared/FormInput.vue_vue_type_script_setup_true_lang-BhJpG-Fw.js";
5
5
  export {
6
6
  e as Accordion,