@indielayer/ui 1.8.4 → 1.9.1

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 (119) hide show
  1. package/docs/pages/component/select/usage.vue +17 -5
  2. package/docs/pages/component/table/index.vue +7 -0
  3. package/docs/pages/component/table/usage.vue +5 -1
  4. package/docs/pages/component/table/virtual.vue +53 -0
  5. package/docs/pages/typography.vue +14 -12
  6. package/lib/components/accordion/Accordion.vue.d.ts +4 -4
  7. package/lib/components/accordion/AccordionItem.vue.d.ts +6 -6
  8. package/lib/components/accordion/AccordionItem.vue.js +51 -51
  9. package/lib/components/alert/Alert.vue.d.ts +8 -8
  10. package/lib/components/alert/Alert.vue2.js +20 -20
  11. package/lib/components/avatar/Avatar.vue.d.ts +4 -4
  12. package/lib/components/badge/Badge.vue.d.ts +4 -4
  13. package/lib/components/breadcrumbs/Breadcrumbs.vue.d.ts +4 -4
  14. package/lib/components/button/Button.vue.d.ts +5 -5
  15. package/lib/components/button/ButtonGroup.vue.d.ts +4 -4
  16. package/lib/components/card/Card.vue.d.ts +4 -4
  17. package/lib/components/carousel/Carousel.vue.d.ts +7 -7
  18. package/lib/components/carousel/CarouselSlide.vue.d.ts +4 -4
  19. package/lib/components/checkbox/Checkbox.vue.d.ts +6 -6
  20. package/lib/components/checkbox/Checkbox.vue2.js +60 -60
  21. package/lib/components/container/Container.vue.d.ts +4 -4
  22. package/lib/components/datepicker/Datepicker.vue.d.ts +6 -6
  23. package/lib/components/datepicker/Datepicker.vue.js +3 -3
  24. package/lib/components/divider/Divider.vue.d.ts +4 -4
  25. package/lib/components/drawer/Drawer.vue.d.ts +6 -6
  26. package/lib/components/drawer/Drawer.vue.js +1 -1
  27. package/lib/components/form/Form.vue.d.ts +5 -5
  28. package/lib/components/formGroup/FormGroup.vue.d.ts +6 -6
  29. package/lib/components/formGroup/FormGroup.vue.js +7 -7
  30. package/lib/components/icon/Icon.vue.d.ts +4 -4
  31. package/lib/components/image/Image.vue.d.ts +3 -3
  32. package/lib/components/input/Input.vue.d.ts +6 -6
  33. package/lib/components/inputFooter/InputFooter.vue.d.ts +3 -3
  34. package/lib/components/label/Label.vue.d.ts +4 -4
  35. package/lib/components/link/Link.vue.d.ts +4 -4
  36. package/lib/components/loader/Loader.vue.d.ts +4 -4
  37. package/lib/components/menu/Menu.vue.d.ts +5 -5
  38. package/lib/components/menu/MenuItem.vue.d.ts +5 -5
  39. package/lib/components/menu/MenuItem.vue2.js +1 -1
  40. package/lib/components/modal/Modal.vue.d.ts +6 -6
  41. package/lib/components/modal/Modal.vue.js +1 -1
  42. package/lib/components/notifications/Notifications.vue.d.ts +5 -5
  43. package/lib/components/pagination/Pagination.vue.d.ts +5 -5
  44. package/lib/components/pagination/Pagination.vue.js +41 -41
  45. package/lib/components/pagination/PaginationItem.vue.d.ts +6 -6
  46. package/lib/components/popover/Popover.vue.d.ts +8 -8
  47. package/lib/components/popover/Popover.vue.js +1 -1
  48. package/lib/components/popover/PopoverContainer.vue.d.ts +4 -4
  49. package/lib/components/progress/Progress.vue.d.ts +4 -4
  50. package/lib/components/qrCode/QrCode.vue.d.ts +4 -4
  51. package/lib/components/radio/Radio.vue.d.ts +6 -6
  52. package/lib/components/radio/Radio.vue2.js +63 -63
  53. package/lib/components/scroll/Scroll.vue.d.ts +6 -6
  54. package/lib/components/scroll/Scroll.vue2.js +1 -1
  55. package/lib/components/select/Select.vue.d.ts +42 -6
  56. package/lib/components/select/Select.vue.js +224 -201
  57. package/lib/components/select/theme/Select.base.theme.js +1 -1
  58. package/lib/components/skeleton/Skeleton.vue.d.ts +4 -4
  59. package/lib/components/skeleton/Skeleton.vue.js +17 -17
  60. package/lib/components/slider/Slider.vue.d.ts +6 -6
  61. package/lib/components/spacer/Spacer.d.ts +1 -1
  62. package/lib/components/spinner/Spinner.vue.d.ts +4 -4
  63. package/lib/components/stepper/Stepper.vue.d.ts +5 -5
  64. package/lib/components/tab/Tab.vue.d.ts +5 -5
  65. package/lib/components/tab/Tab.vue.js +1 -1
  66. package/lib/components/tab/TabGroup.vue.d.ts +5 -5
  67. package/lib/components/tab/TabGroup.vue.js +2 -2
  68. package/lib/components/table/Table.vue.d.ts +119 -24
  69. package/lib/components/table/Table.vue.js +226 -188
  70. package/lib/components/table/TableBody.d.ts +1 -1
  71. package/lib/components/table/TableCell.vue.d.ts +4 -4
  72. package/lib/components/table/TableHead.vue.d.ts +10 -2
  73. package/lib/components/table/TableHead.vue.js +16 -13
  74. package/lib/components/table/TableHeader.vue.d.ts +4 -8
  75. package/lib/components/table/TableHeader.vue.js +40 -41
  76. package/lib/components/table/TableRow.vue.d.ts +8 -4
  77. package/lib/components/table/TableRow.vue.js +3 -2
  78. package/lib/components/table/theme/TableHead.base.theme.js +7 -4
  79. package/lib/components/table/theme/TableHead.carbon.theme.js +7 -4
  80. package/lib/components/table/theme/TableHeader.base.theme.js +3 -3
  81. package/lib/components/table/theme/TableHeader.carbon.theme.js +1 -1
  82. package/lib/components/table/theme/TableRow.base.theme.js +1 -1
  83. package/lib/components/tag/Tag.vue.d.ts +5 -5
  84. package/lib/components/textarea/Textarea.vue.d.ts +6 -6
  85. package/lib/components/textarea/Textarea.vue.js +6 -6
  86. package/lib/components/themeProvider/ThemeProvider.vue.d.ts +3 -3
  87. package/lib/components/toggle/Toggle.vue.d.ts +6 -6
  88. package/lib/components/tooltip/ToggleTip.vue.d.ts +3 -3
  89. package/lib/components/tooltip/Tooltip.vue.d.ts +4 -4
  90. package/lib/components/tooltip/Tooltip.vue.js +1 -1
  91. package/lib/composables/index.d.ts +1 -0
  92. package/lib/composables/useInputtable.d.ts +26 -6
  93. package/lib/composables/useVirtualList.d.ts +48 -0
  94. package/lib/composables/useVirtualList.js +123 -0
  95. package/lib/index.js +35 -33
  96. package/lib/index.umd.js +4 -4
  97. package/lib/node_modules/.pnpm/@vueuse_core@10.2.0_vue@3.5.10_typescript@5.2.2_/node_modules/@vueuse/core/index.js +412 -0
  98. package/lib/version.d.ts +1 -1
  99. package/lib/version.js +1 -1
  100. package/package.json +3 -3
  101. package/src/components/select/Select.vue +56 -26
  102. package/src/components/select/theme/Select.base.theme.ts +1 -1
  103. package/src/components/table/Table.vue +158 -114
  104. package/src/components/table/TableHead.vue +6 -2
  105. package/src/components/table/TableHeader.vue +0 -1
  106. package/src/components/table/TableRow.vue +1 -0
  107. package/src/components/table/theme/TableHead.base.theme.ts +7 -1
  108. package/src/components/table/theme/TableHead.carbon.theme.ts +7 -1
  109. package/src/components/table/theme/TableHeader.base.theme.ts +0 -2
  110. package/src/components/table/theme/TableHeader.carbon.theme.ts +0 -2
  111. package/src/components/table/theme/TableRow.base.theme.ts +4 -0
  112. package/src/composables/index.ts +1 -0
  113. package/src/composables/useVirtualList.ts +286 -0
  114. package/src/version.ts +1 -1
  115. package/lib/node_modules/.pnpm/@vueuse_core@10.2.0_vue@3.3.9_typescript@5.2.2_/node_modules/@vueuse/core/index.js +0 -379
  116. /package/lib/node_modules/.pnpm/{@vuepic_vue-datepicker@8.3.2_vue@3.3.9_typescript@5.2.2_ → @vuepic_vue-datepicker@8.3.2_vue@3.5.10_typescript@5.2.2_}/node_modules/@vuepic/vue-datepicker/dist/main.css.js +0 -0
  117. /package/lib/node_modules/.pnpm/{@vuepic_vue-datepicker@8.3.2_vue@3.3.9_typescript@5.2.2_ → @vuepic_vue-datepicker@8.3.2_vue@3.5.10_typescript@5.2.2_}/node_modules/@vuepic/vue-datepicker/dist/vue-datepicker.js +0 -0
  118. /package/lib/node_modules/.pnpm/{@vueuse_shared@10.2.0_vue@3.3.9_typescript@5.2.2_ → @vueuse_shared@10.2.0_vue@3.5.10_typescript@5.2.2_}/node_modules/@vueuse/shared/index.js +0 -0
  119. /package/lib/node_modules/.pnpm/{floating-vue@5.2.2_@nuxt_kit@3.10.1_rollup@3.29.4__vue@3.3.9_typescript@5.2.2_ → floating-vue@5.2.2_@nuxt_kit@3.10.1_rollup@3.29.4__vue@3.5.10_typescript@5.2.2_}/node_modules/floating-vue/dist/floating-vue.js +0 -0
@@ -1,12 +1,12 @@
1
- import { defineComponent as E, computed as z, ref as X, watch as D, openBlock as o, createElementBlock as n, normalizeStyle as F, unref as t, normalizeClass as v, Fragment as u, createVNode as r, createElementVNode as V, withKeys as L, toDisplayString as Q, createBlock as m, createCommentVNode as d, renderList as P } from "vue";
2
- import { useTheme as T } from "../../composables/useTheme.js";
1
+ import { defineComponent as X, computed as v, ref as D, watch as F, openBlock as s, createElementBlock as n, normalizeStyle as L, unref as t, normalizeClass as c, Fragment as u, createVNode as r, createElementVNode as f, withKeys as Q, toDisplayString as T, createBlock as m, createCommentVNode as d, renderList as P } from "vue";
2
+ import { useTheme as U } from "../../composables/useTheme.js";
3
3
  import { useCommon as C } from "../../composables/useCommon.js";
4
- import { prevIcon as U, nextIcon as j, dotsIcon as y } from "../../common/icons.js";
4
+ import { prevIcon as j, nextIcon as A, dotsIcon as y } from "../../common/icons.js";
5
5
  import b from "../icon/Icon.vue.js";
6
- import A from "../input/Input.vue.js";
6
+ import G from "../input/Input.vue.js";
7
7
  import I from "../button/Button.vue.js";
8
- import f from "./PaginationItem.vue.js";
9
- const G = { class: "mx-9 flex items-center" }, H = /* @__PURE__ */ V("span", { class: "text-secondary-600 mr-2" }, "Page", -1), J = { class: "text-secondary-600 ml-2" }, M = ["onClick"], O = ["simple", "quick", "dots"], R = {
8
+ import V from "./PaginationItem.vue.js";
9
+ const H = { class: "mx-9 flex items-center" }, J = { class: "text-secondary-600 ml-2" }, M = ["onClick"], O = ["simple", "quick", "dots"], R = {
10
10
  ...C.props(),
11
11
  links: Boolean,
12
12
  totalPages: {
@@ -27,17 +27,17 @@ const G = { class: "mx-9 flex items-center" }, H = /* @__PURE__ */ V("span", { c
27
27
  ...C.validators(),
28
28
  variant: O
29
29
  }
30
- }, se = /* @__PURE__ */ E({
30
+ }, oe = /* @__PURE__ */ X({
31
31
  ...W,
32
32
  props: R,
33
33
  emits: ["update:modelValue"],
34
- setup($, { emit: w }) {
35
- const l = $, p = w, B = z(() => l.totalPages === 3 ? [2] : l.totalPages > 2 ? l.modelValue === 1 || l.modelValue === 2 ? [2, 3] : l.modelValue === l.totalPages || l.modelValue === l.totalPages - 1 ? [l.totalPages - 2, l.totalPages - 1] : [l.modelValue - 1, l.modelValue, l.modelValue + 1] : []), i = X(l.modelValue + "");
36
- function N() {
34
+ setup($, { emit: B }) {
35
+ const l = $, p = B, N = v(() => l.totalPages === 3 ? [2] : l.totalPages > 2 ? l.modelValue === 1 || l.modelValue === 2 ? [2, 3] : l.modelValue === l.totalPages || l.modelValue === l.totalPages - 1 ? [l.totalPages - 2, l.totalPages - 1] : [l.modelValue - 1, l.modelValue, l.modelValue + 1] : []), i = D(l.modelValue + "");
36
+ function w() {
37
37
  const e = parseInt(i.value);
38
38
  e >= 0 && e <= l.totalPages ? p("update:modelValue", e) : i.value = l.modelValue + "";
39
39
  }
40
- D(() => l.modelValue, (e) => {
40
+ F(() => l.modelValue, (e) => {
41
41
  i.value = l.modelValue + "";
42
42
  });
43
43
  function q() {
@@ -46,86 +46,86 @@ const G = { class: "mx-9 flex items-center" }, H = /* @__PURE__ */ V("span", { c
46
46
  function S() {
47
47
  l.modelValue < l.totalPages && p("update:modelValue", l.modelValue + 1);
48
48
  }
49
- const g = z(() => l.size === "xs" ? "xs" : l.size === "sm" ? "sm" : l.size === "lg" ? "md" : l.size === "xl" ? "lg" : "sm"), { styles: K, classes: c, className: h } = T("Pagination", {}, l);
50
- return (e, s) => (o(), n("ul", {
51
- style: F(t(K)),
52
- class: v([
53
- t(h),
54
- t(c).wrapper
49
+ const g = v(() => l.size === "xs" ? "xs" : l.size === "sm" ? "sm" : l.size === "lg" ? "md" : l.size === "xl" ? "lg" : "sm"), { styles: E, classes: k, className: K } = U("Pagination", {}, l);
50
+ return (e, o) => (s(), n("ul", {
51
+ style: L(t(E)),
52
+ class: c([
53
+ t(K),
54
+ t(k).wrapper
55
55
  ])
56
56
  }, [
57
- e.variant === "quick" ? (o(), n(u, { key: 0 }, [
57
+ e.variant === "quick" ? (s(), n(u, { key: 0 }, [
58
58
  r(I, {
59
- "icon-left": t(U),
59
+ "icon-left": t(j),
60
60
  size: g.value,
61
61
  disabled: e.modelValue <= 1,
62
62
  onClick: q
63
63
  }, null, 8, ["icon-left", "size", "disabled"]),
64
- V("div", G, [
65
- H,
66
- r(A, {
64
+ f("div", H, [
65
+ o[4] || (o[4] = f("span", { class: "text-secondary-600 mr-2" }, "Page", -1)),
66
+ r(G, {
67
67
  modelValue: i.value,
68
- "onUpdate:modelValue": s[0] || (s[0] = (a) => i.value = a),
68
+ "onUpdate:modelValue": o[0] || (o[0] = (a) => i.value = a),
69
69
  size: e.size,
70
70
  class: "text-center w-16",
71
71
  "hide-footer": "",
72
- onKeydown: L(N, ["enter"])
73
- }, null, 8, ["modelValue", "size", "onKeydown"]),
74
- V("span", J, "of " + Q(e.totalPages), 1)
72
+ onKeydown: Q(w, ["enter"])
73
+ }, null, 8, ["modelValue", "size"]),
74
+ f("span", J, "of " + T(e.totalPages), 1)
75
75
  ]),
76
76
  r(I, {
77
- "icon-left": t(j),
77
+ "icon-left": t(A),
78
78
  size: g.value,
79
79
  disabled: e.modelValue >= e.totalPages,
80
80
  onClick: S
81
81
  }, null, 8, ["icon-left", "size", "disabled"])
82
- ], 64)) : e.variant === "simple" ? (o(), n(u, { key: 1 }, [
83
- r(f, {
82
+ ], 64)) : e.variant === "simple" ? (s(), n(u, { key: 1 }, [
83
+ r(V, {
84
84
  value: 1,
85
85
  links: e.links,
86
86
  size: e.size,
87
87
  selected: e.modelValue === 1,
88
- onInput: s[1] || (s[1] = (a) => e.$emit("update:modelValue", a))
88
+ onInput: o[1] || (o[1] = (a) => e.$emit("update:modelValue", a))
89
89
  }, null, 8, ["links", "size", "selected"]),
90
- e.totalPages > 3 && e.modelValue > 3 ? (o(), m(b, {
90
+ e.totalPages > 3 && e.modelValue > 3 ? (s(), m(b, {
91
91
  key: 0,
92
92
  class: "mx-1",
93
93
  icon: t(y),
94
94
  size: e.size
95
95
  }, null, 8, ["icon", "size"])) : d("", !0),
96
- (o(!0), n(u, null, P(B.value, (a) => (o(), m(f, {
96
+ (s(!0), n(u, null, P(N.value, (a) => (s(), m(V, {
97
97
  key: a,
98
98
  value: a,
99
99
  links: e.links,
100
100
  size: e.size,
101
101
  selected: e.modelValue === a,
102
- onInput: s[2] || (s[2] = (k) => e.$emit("update:modelValue", k))
102
+ onInput: o[2] || (o[2] = (z) => e.$emit("update:modelValue", z))
103
103
  }, null, 8, ["value", "links", "size", "selected"]))), 128)),
104
- e.totalPages > 3 && e.modelValue < e.totalPages - 2 ? (o(), m(b, {
104
+ e.totalPages > 3 && e.modelValue < e.totalPages - 2 ? (s(), m(b, {
105
105
  key: 1,
106
106
  class: "mx-1",
107
107
  icon: t(y),
108
108
  size: e.size
109
109
  }, null, 8, ["icon", "size"])) : d("", !0),
110
- e.totalPages > 1 ? (o(), m(f, {
110
+ e.totalPages > 1 ? (s(), m(V, {
111
111
  key: 2,
112
112
  value: e.totalPages,
113
113
  links: e.links,
114
114
  size: e.size,
115
115
  selected: e.modelValue === e.totalPages,
116
- onInput: s[3] || (s[3] = (a) => e.$emit("update:modelValue", a))
116
+ onInput: o[3] || (o[3] = (a) => e.$emit("update:modelValue", a))
117
117
  }, null, 8, ["value", "links", "size", "selected"])) : d("", !0)
118
- ], 64)) : e.variant === "dots" ? (o(!0), n(u, { key: 2 }, P(e.totalPages, (a) => (o(), n("li", {
118
+ ], 64)) : e.variant === "dots" ? (s(!0), n(u, { key: 2 }, P(e.totalPages, (a) => (s(), n("li", {
119
119
  key: a,
120
- class: v(["rounded-full cursor-pointer", [
121
- t(c).dots,
120
+ class: c(["rounded-full cursor-pointer", [
121
+ t(k).dots,
122
122
  a === e.modelValue ? "bg-[color:var(--x-pagination-bg)]" : "bg-secondary-100 hover:bg-secondary-200"
123
123
  ]]),
124
- onClick: (k) => e.$emit("update:modelValue", a)
124
+ onClick: (z) => e.$emit("update:modelValue", a)
125
125
  }, null, 10, M))), 128)) : d("", !0)
126
126
  ], 6));
127
127
  }
128
128
  });
129
129
  export {
130
- se as default
130
+ oe as default
131
131
  };
@@ -17,7 +17,7 @@ export type PaginationItemProps = ExtractPublicPropTypes<typeof paginationItemPr
17
17
  type InternalClasses = 'wrapper';
18
18
  export interface PaginationItemTheme extends ThemeComponent<PaginationItemProps, InternalClasses> {
19
19
  }
20
- declare const _default: import("vue").DefineComponent<{
20
+ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
21
21
  value: {
22
22
  type: NumberConstructor;
23
23
  default: number;
@@ -29,7 +29,7 @@ declare const _default: import("vue").DefineComponent<{
29
29
  readonly default: "md";
30
30
  readonly validator: (value: string) => boolean;
31
31
  };
32
- }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "input"[], "input", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
32
+ }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "input"[], "input", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
33
33
  value: {
34
34
  type: NumberConstructor;
35
35
  default: number;
@@ -41,12 +41,12 @@ declare const _default: import("vue").DefineComponent<{
41
41
  readonly default: "md";
42
42
  readonly validator: (value: string) => boolean;
43
43
  };
44
- }>> & {
44
+ }>> & Readonly<{
45
45
  onInput?: ((...args: any[]) => any) | undefined;
46
- }, {
47
- size: import("../../composables/useCommon").Size;
46
+ }>, {
48
47
  value: number;
48
+ size: import("../../composables/useCommon").Size;
49
49
  selected: boolean;
50
50
  links: boolean;
51
- }, {}>;
51
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
52
52
  export default _default;
@@ -59,7 +59,7 @@ export type PopoverProps = ExtractPublicPropTypes<typeof popoverProps>;
59
59
  type InternalClasses = 'wrapper' | 'content';
60
60
  export interface PopoverTheme extends ThemeComponent<PopoverProps, InternalClasses> {
61
61
  }
62
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
62
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
63
63
  disabled: BooleanConstructor;
64
64
  positioningDisabled: BooleanConstructor;
65
65
  placement: {
@@ -110,12 +110,12 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
110
110
  eagerMount: BooleanConstructor;
111
111
  popperClass: (ArrayConstructor | ObjectConstructor | StringConstructor)[];
112
112
  computeTransformOrigin: BooleanConstructor;
113
- }, {
113
+ }>, {
114
114
  show: () => void;
115
115
  hide: () => void;
116
116
  toggle: () => void;
117
- isOpen: import("vue").Ref<boolean>;
118
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("show" | "resize" | "hide" | "update:shown" | "apply-show" | "apply-hide" | "close-group" | "close-directive" | "auto-hide")[], "show" | "resize" | "hide" | "update:shown" | "apply-show" | "apply-hide" | "close-group" | "close-directive" | "auto-hide", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
117
+ isOpen: import("vue").Ref<boolean, boolean>;
118
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("resize" | "show" | "hide" | "update:shown" | "apply-show" | "apply-hide" | "close-group" | "close-directive" | "auto-hide")[], "resize" | "show" | "hide" | "update:shown" | "apply-show" | "apply-hide" | "close-group" | "close-directive" | "auto-hide", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
119
119
  disabled: BooleanConstructor;
120
120
  positioningDisabled: BooleanConstructor;
121
121
  placement: {
@@ -166,9 +166,9 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
166
166
  eagerMount: BooleanConstructor;
167
167
  popperClass: (ArrayConstructor | ObjectConstructor | StringConstructor)[];
168
168
  computeTransformOrigin: BooleanConstructor;
169
- }>> & {
170
- onShow?: ((...args: any[]) => any) | undefined;
169
+ }>> & Readonly<{
171
170
  onResize?: ((...args: any[]) => any) | undefined;
171
+ onShow?: ((...args: any[]) => any) | undefined;
172
172
  onHide?: ((...args: any[]) => any) | undefined;
173
173
  "onUpdate:shown"?: ((...args: any[]) => any) | undefined;
174
174
  "onApply-show"?: ((...args: any[]) => any) | undefined;
@@ -176,7 +176,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
176
176
  "onClose-group"?: ((...args: any[]) => any) | undefined;
177
177
  "onClose-directive"?: ((...args: any[]) => any) | undefined;
178
178
  "onAuto-hide"?: ((...args: any[]) => any) | undefined;
179
- }, {
179
+ }>, {
180
180
  disabled: boolean;
181
181
  delay: string | number | {
182
182
  show: number;
@@ -194,7 +194,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
194
194
  instantMove: boolean;
195
195
  eagerMount: boolean;
196
196
  computeTransformOrigin: boolean;
197
- }, {}>, {
197
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, {
198
198
  default?(_: {}): any;
199
199
  content?(_: {}): any;
200
200
  }>;
@@ -1,6 +1,6 @@
1
1
  import { defineComponent as b, ref as a, openBlock as v, createBlock as S, unref as r, normalizeStyle as T, normalizeClass as A, withCtx as l, renderSlot as d } from "vue";
2
2
  import { useTheme as B } from "../../composables/useTheme.js";
3
- import { Dropdown as $ } from "../../node_modules/.pnpm/floating-vue@5.2.2_@nuxt_kit@3.10.1_rollup@3.29.4__vue@3.3.9_typescript@5.2.2_/node_modules/floating-vue/dist/floating-vue.js";
3
+ import { Dropdown as $ } from "../../node_modules/.pnpm/floating-vue@5.2.2_@nuxt_kit@3.10.1_rollup@3.29.4__vue@3.5.10_typescript@5.2.2_/node_modules/floating-vue/dist/floating-vue.js";
4
4
  const k = {
5
5
  placement: ["top", "top-start", "top-end", "bottom", "bottom-start", "bottom-end", "left", "left-start", "left-end", "right", "right-start", "right-end"]
6
6
  }, z = {
@@ -10,19 +10,19 @@ export type PopoverContainerProps = ExtractPublicPropTypes<typeof popoverContain
10
10
  type InternalClasses = 'wrapper';
11
11
  export interface PopoverContainerTheme extends ThemeComponent<PopoverContainerProps, InternalClasses> {
12
12
  }
13
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
13
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
14
14
  tag: {
15
15
  default: string;
16
16
  type: StringConstructor;
17
17
  };
18
- }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
18
+ }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
19
19
  tag: {
20
20
  default: string;
21
21
  type: StringConstructor;
22
22
  };
23
- }>>, {
23
+ }>> & Readonly<{}>, {
24
24
  tag: string;
25
- }, {}>, {
25
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, {
26
26
  default?(_: {}): any;
27
27
  }>;
28
28
  export default _default;
@@ -21,7 +21,7 @@ export type ProgressProps = ExtractPublicPropTypes<typeof progressProps>;
21
21
  type InternalClasses = 'wrapper' | 'list' | 'item';
22
22
  export interface ProgressTheme extends ThemeComponent<ProgressProps, InternalClasses> {
23
23
  }
24
- declare const _default: import("vue").DefineComponent<{
24
+ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
25
25
  percentage: {
26
26
  type: NumberConstructor;
27
27
  default: number;
@@ -37,7 +37,7 @@ declare const _default: import("vue").DefineComponent<{
37
37
  readonly type: StringConstructor;
38
38
  readonly default: string | undefined;
39
39
  };
40
- }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
40
+ }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
41
41
  percentage: {
42
42
  type: NumberConstructor;
43
43
  default: number;
@@ -53,11 +53,11 @@ declare const _default: import("vue").DefineComponent<{
53
53
  readonly type: StringConstructor;
54
54
  readonly default: string | undefined;
55
55
  };
56
- }>>, {
56
+ }>> & Readonly<{}>, {
57
57
  color: string;
58
58
  percentage: number;
59
59
  gradient: boolean;
60
60
  animate: boolean;
61
61
  thick: boolean;
62
- }, {}>;
62
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
63
63
  export default _default;
@@ -23,7 +23,7 @@ export type QrCodeProps = ExtractPublicPropTypes<typeof qrCodeProps>;
23
23
  type InternalClasses = 'wrapper';
24
24
  export interface QrCodeTheme extends ThemeComponent<QrCodeProps, InternalClasses> {
25
25
  }
26
- declare const _default: import("vue").DefineComponent<{
26
+ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
27
27
  value: StringConstructor;
28
28
  color: {
29
29
  type: StringConstructor;
@@ -41,7 +41,7 @@ declare const _default: import("vue").DefineComponent<{
41
41
  type: StringConstructor;
42
42
  default: string;
43
43
  };
44
- }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
44
+ }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
45
45
  value: StringConstructor;
46
46
  color: {
47
47
  type: StringConstructor;
@@ -59,10 +59,10 @@ declare const _default: import("vue").DefineComponent<{
59
59
  type: StringConstructor;
60
60
  default: string;
61
61
  };
62
- }>>, {
62
+ }>> & Readonly<{}>, {
63
63
  color: string;
64
64
  size: string | number;
65
65
  backgroundColor: string;
66
66
  errorCorrectionLevel: string;
67
- }, {}>;
67
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
68
68
  export default _default;
@@ -51,7 +51,7 @@ type InternalExtraData = {
51
51
  };
52
52
  export interface RadioTheme extends ThemeComponent<RadioProps, InternalClasses, InternalExtraData> {
53
53
  }
54
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
54
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
55
55
  value: (StringConstructor | NumberConstructor)[];
56
56
  glow: BooleanConstructor;
57
57
  modelValue: {
@@ -92,13 +92,13 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
92
92
  readonly default: "md";
93
93
  readonly validator: (value: string) => boolean;
94
94
  };
95
- }, {
95
+ }>, {
96
96
  focus: () => void | undefined;
97
97
  blur: () => void | undefined;
98
98
  reset: () => void;
99
99
  validate: (val?: any) => boolean;
100
100
  setError: (val: string) => void;
101
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, string[], string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
101
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, string[], string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
102
102
  value: (StringConstructor | NumberConstructor)[];
103
103
  glow: BooleanConstructor;
104
104
  modelValue: {
@@ -139,9 +139,9 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
139
139
  readonly default: "md";
140
140
  readonly validator: (value: string) => boolean;
141
141
  };
142
- }>> & {
142
+ }>> & Readonly<{
143
143
  [x: `on${Capitalize<string>}`]: ((...args: any[]) => any) | undefined;
144
- }, {
144
+ }>, {
145
145
  disabled: boolean;
146
146
  glow: boolean;
147
147
  color: string;
@@ -155,7 +155,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
155
155
  hideFooter: boolean;
156
156
  rules: unknown[];
157
157
  skipFormRegistry: boolean;
158
- }, {}>, {
158
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, {
159
159
  default?(_: {}): any;
160
160
  }>;
161
161
  export default _default;
@@ -1,132 +1,132 @@
1
- import { defineComponent as D, ref as M, computed as P, unref as s, openBlock as o, createElementBlock as n, normalizeStyle as T, normalizeClass as r, withKeys as H, withModifiers as L, createElementVNode as a, withDirectives as O, mergeProps as U, toHandlers as X, vModelRadio as _, createBlock as h, toDisplayString as j, createCommentVNode as p, renderSlot as A } from "vue";
2
- import { useCommon as g } from "../../composables/useCommon.js";
3
- import { useTheme as J } from "../../composables/useTheme.js";
4
- import { useColors as Q } from "../../composables/useColors.js";
5
- import { useInteractive as w } from "../../composables/useInteractive.js";
1
+ import { defineComponent as D, ref as M, computed as P, unref as s, openBlock as r, createElementBlock as d, normalizeStyle as T, normalizeClass as o, withKeys as H, withModifiers as L, createElementVNode as t, withDirectives as O, mergeProps as U, toHandlers as X, vModelRadio as j, createBlock as g, toDisplayString as A, createCommentVNode as f, renderSlot as J } from "vue";
2
+ import { useCommon as w } from "../../composables/useCommon.js";
3
+ import { useTheme as Q } from "../../composables/useTheme.js";
4
+ import { useColors as W } from "../../composables/useColors.js";
5
+ import { useInteractive as V } from "../../composables/useInteractive.js";
6
6
  import { useInputtable as c } from "../../composables/useInputtable.js";
7
- import W from "../spinner/Spinner.vue.js";
8
- import Y from "../inputFooter/InputFooter.vue.js";
9
- const Z = ["aria-selected", "aria-disabled", "onKeypress"], x = ["id", "name", "required", "disabled"], ee = /* @__PURE__ */ a("circle", {
10
- cx: "10",
11
- cy: "10",
12
- r: "10"
13
- }, null, -1), le = [
14
- ee
15
- ], se = ["textContent"], oe = {
16
- ...g.props(),
17
- ...Q.props("primary"),
7
+ import Y from "../spinner/Spinner.vue.js";
8
+ import Z from "../inputFooter/InputFooter.vue.js";
9
+ const _ = ["aria-selected", "aria-disabled", "onKeypress"], x = ["id", "name", "required", "disabled"], ee = ["textContent"], le = {
18
10
  ...w.props(),
11
+ ...W.props("primary"),
12
+ ...V.props(),
19
13
  ...c.props(),
20
14
  value: [String, Number],
21
15
  glow: Boolean
22
- }, re = {
16
+ }, se = {
23
17
  name: "XRadio",
24
18
  validators: {
25
- ...g.validators()
19
+ ...w.validators()
26
20
  }
27
- }, ce = /* @__PURE__ */ D({
28
- ...re,
29
- props: oe,
21
+ }, me = /* @__PURE__ */ D({
22
+ ...se,
23
+ props: le,
30
24
  emits: c.emits(!1),
31
- setup(V, { expose: k, emit: I }) {
32
- const l = V, d = I, f = M(null), { focus: v, blur: C } = w(f), {
25
+ setup(h, { expose: k, emit: I }) {
26
+ const l = h, u = I, v = M(null), { focus: b, blur: C } = V(v), {
33
27
  errorInternal: $,
34
28
  hideFooterInternal: z,
35
29
  isInsideForm: B,
36
- isInsideFormGroup: u,
30
+ isInsideFormGroup: m,
37
31
  isFirstValidation: R,
38
- formGroup: m,
32
+ formGroup: p,
39
33
  reset: F,
40
- validate: b,
34
+ validate: y,
41
35
  setError: N
42
- } = c(l, { focus: v, emit: d, withListeners: !1 }), i = P({
36
+ } = c(l, { focus: b, emit: u, withListeners: !1 }), i = P({
43
37
  get() {
44
- const e = s(m.value);
45
- return u ? e === l.value : l.value === l.modelValue;
38
+ const e = s(p.value);
39
+ return m ? e === l.value : l.value === l.modelValue;
46
40
  },
47
41
  set() {
48
- d("update:modelValue", l.value), m.setValue(l.value);
42
+ u("update:modelValue", l.value), p.setValue(l.value);
49
43
  }
50
44
  });
51
45
  function S() {
52
- d("update:modelValue", l.value), m.setValue(l.value);
46
+ u("update:modelValue", l.value), p.setValue(l.value);
53
47
  }
54
48
  const q = {
55
49
  input: () => {
56
- u || setTimeout(() => {
57
- l.validateOnInput && !R.value && b(l.modelValue);
50
+ m || setTimeout(() => {
51
+ l.validateOnInput && !R.value && y(l.modelValue);
58
52
  }, 0);
59
53
  }
60
- }, { styles: E, classes: t, className: G } = J("Radio", {}, l, { selected: i, isInsideForm: B, isInsideFormGroup: u });
61
- return k({ focus: v, blur: C, reset: F, validate: b, setError: N }), (e, y) => (o(), n("label", {
54
+ }, { styles: E, classes: a, className: G } = Q("Radio", {}, l, { selected: i, isInsideForm: B, isInsideFormGroup: m });
55
+ return k({ focus: b, blur: C, reset: F, validate: y, setError: N }), (e, n) => (r(), d("label", {
62
56
  ref_key: "elRef",
63
- ref: f,
57
+ ref: v,
64
58
  tabindex: "0",
65
59
  "aria-selected": i.value ? "true" : "false",
66
60
  "aria-disabled": e.disabled || e.loading ? "true" : void 0,
67
61
  style: T(s(E)),
68
- class: r([
62
+ class: o([
69
63
  s(G),
70
- s(t).wrapper
64
+ s(a).wrapper
71
65
  ]),
72
66
  onKeypress: H(L(S, ["prevent", "stop"]), ["space"])
73
67
  }, [
74
- a("div", {
75
- class: r(["flex items-center", { "cursor-not-allowed": e.disabled }])
68
+ t("div", {
69
+ class: o(["flex items-center", { "cursor-not-allowed": e.disabled }])
76
70
  }, [
77
- O(a("input", U({
71
+ O(t("input", U({
78
72
  id: e.id,
79
- "onUpdate:modelValue": y[0] || (y[0] = (K) => i.value = K),
73
+ "onUpdate:modelValue": n[0] || (n[0] = (K) => i.value = K),
80
74
  name: e.name,
81
75
  required: e.required,
82
76
  disabled: e.disabled || e.loading,
83
77
  type: "radio",
84
78
  class: "invisible absolute"
85
79
  }, X(q, !0)), null, 16, x), [
86
- [_, i.value]
80
+ [j, i.value]
87
81
  ]),
88
- a("div", {
89
- class: r([
82
+ t("div", {
83
+ class: o([
90
84
  e.$style.radio,
91
- s(t).circle,
85
+ s(a).circle,
92
86
  [e.glow && !e.disabled && !e.loading ? e.$style["radio--glow"] : ""]
93
87
  ])
94
88
  }, [
95
- e.loading ? (o(), h(W, {
89
+ e.loading ? (r(), g(Y, {
96
90
  key: 0,
97
91
  size: e.size,
98
92
  class: "absolute"
99
- }, null, 8, ["size"])) : (o(), n("svg", {
93
+ }, null, 8, ["size"])) : (r(), d("svg", {
100
94
  key: 1,
101
95
  viewBox: "0 0 20 20",
102
- class: r(["fill-current w-full", [
103
- s(t).circleIcon,
96
+ class: o(["fill-current w-full", [
97
+ s(a).circleIcon,
104
98
  e.$style.radio_circle
105
99
  ]])
106
- }, le, 2))
100
+ }, n[1] || (n[1] = [
101
+ t("circle", {
102
+ cx: "10",
103
+ cy: "10",
104
+ r: "10"
105
+ }, null, -1)
106
+ ]), 2))
107
107
  ], 2),
108
- a("div", null, [
109
- e.label ? (o(), n("div", {
108
+ t("div", null, [
109
+ e.label ? (r(), d("div", {
110
110
  key: 0,
111
- class: r(s(t).label),
112
- textContent: j(e.label)
113
- }, null, 10, se)) : p("", !0),
114
- e.$slots.default ? (o(), n("div", {
111
+ class: o(s(a).label),
112
+ textContent: A(e.label)
113
+ }, null, 10, ee)) : f("", !0),
114
+ e.$slots.default ? (r(), d("div", {
115
115
  key: 1,
116
- class: r(s(t).content)
116
+ class: o(s(a).content)
117
117
  }, [
118
- A(e.$slots, "default")
119
- ], 2)) : p("", !0)
118
+ J(e.$slots, "default")
119
+ ], 2)) : f("", !0)
120
120
  ])
121
121
  ], 2),
122
- s(z) ? p("", !0) : (o(), h(Y, {
122
+ s(z) ? f("", !0) : (r(), g(Z, {
123
123
  key: 0,
124
124
  error: s($),
125
125
  helper: e.helper
126
126
  }, null, 8, ["error", "helper"]))
127
- ], 46, Z));
127
+ ], 46, _));
128
128
  }
129
129
  });
130
130
  export {
131
- ce as default
131
+ me as default
132
132
  };
@@ -13,7 +13,7 @@ export type ScrollProps = ExtractPublicPropTypes<typeof scrollProps>;
13
13
  type InternalClasses = 'wrapper';
14
14
  export interface ScrollTheme extends ThemeComponent<ScrollProps, InternalClasses> {
15
15
  }
16
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
16
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
17
17
  shadow: BooleanConstructor;
18
18
  horizontal: BooleanConstructor;
19
19
  mousewheel: BooleanConstructor;
@@ -21,9 +21,9 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
21
21
  type: BooleanConstructor;
22
22
  default: boolean;
23
23
  };
24
- }, {
25
- scrollEl: Ref<HTMLElement | null>;
26
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
24
+ }>, {
25
+ scrollEl: Ref<HTMLElement | null, HTMLElement | null>;
26
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
27
27
  shadow: BooleanConstructor;
28
28
  horizontal: BooleanConstructor;
29
29
  mousewheel: BooleanConstructor;
@@ -31,12 +31,12 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
31
31
  type: BooleanConstructor;
32
32
  default: boolean;
33
33
  };
34
- }>>, {
34
+ }>> & Readonly<{}>, {
35
35
  shadow: boolean;
36
36
  horizontal: boolean;
37
37
  mousewheel: boolean;
38
38
  scrollbar: boolean;
39
- }, {}>, {
39
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, {
40
40
  default?(_: {}): any;
41
41
  }>;
42
42
  export default _default;
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as v, ref as w, toRefs as y, openBlock as $, createElementBlock as z, normalizeClass as r, unref as o, normalizeStyle as E, createElementVNode as S, renderSlot as B } from "vue";
2
- import { useScroll as b, useResizeObserver as g, useEventListener as k } from "../../node_modules/.pnpm/@vueuse_core@10.2.0_vue@3.3.9_typescript@5.2.2_/node_modules/@vueuse/core/index.js";
2
+ import { useScroll as b, useResizeObserver as g, useEventListener as k } from "../../node_modules/.pnpm/@vueuse_core@10.2.0_vue@3.5.10_typescript@5.2.2_/node_modules/@vueuse/core/index.js";
3
3
  import { useTheme as C } from "../../composables/useTheme.js";
4
4
  const L = {
5
5
  shadow: Boolean,