@indielayer/ui 1.9.0 → 1.9.2

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 (98) hide show
  1. package/docs/pages/component/table/usage.vue +6 -1
  2. package/docs/pages/component/table/virtual.vue +1 -1
  3. package/docs/pages/typography.vue +14 -12
  4. package/lib/components/accordion/Accordion.vue.d.ts +4 -4
  5. package/lib/components/accordion/AccordionItem.vue.d.ts +6 -6
  6. package/lib/components/accordion/AccordionItem.vue.js +51 -51
  7. package/lib/components/alert/Alert.vue.d.ts +8 -8
  8. package/lib/components/alert/Alert.vue2.js +20 -20
  9. package/lib/components/avatar/Avatar.vue.d.ts +4 -4
  10. package/lib/components/badge/Badge.vue.d.ts +4 -4
  11. package/lib/components/breadcrumbs/Breadcrumbs.vue.d.ts +4 -4
  12. package/lib/components/button/Button.vue.d.ts +5 -5
  13. package/lib/components/button/ButtonGroup.vue.d.ts +4 -4
  14. package/lib/components/card/Card.vue.d.ts +4 -4
  15. package/lib/components/carousel/Carousel.vue.d.ts +7 -7
  16. package/lib/components/carousel/CarouselSlide.vue.d.ts +4 -4
  17. package/lib/components/checkbox/Checkbox.vue.d.ts +6 -6
  18. package/lib/components/checkbox/Checkbox.vue2.js +60 -60
  19. package/lib/components/container/Container.vue.d.ts +4 -4
  20. package/lib/components/datepicker/Datepicker.vue.d.ts +6 -6
  21. package/lib/components/datepicker/Datepicker.vue.js +3 -3
  22. package/lib/components/divider/Divider.vue.d.ts +4 -4
  23. package/lib/components/drawer/Drawer.vue.d.ts +6 -6
  24. package/lib/components/drawer/Drawer.vue.js +1 -1
  25. package/lib/components/form/Form.vue.d.ts +5 -5
  26. package/lib/components/formGroup/FormGroup.vue.d.ts +6 -6
  27. package/lib/components/formGroup/FormGroup.vue.js +7 -7
  28. package/lib/components/icon/Icon.vue.d.ts +4 -4
  29. package/lib/components/image/Image.vue.d.ts +3 -3
  30. package/lib/components/input/Input.vue.d.ts +6 -6
  31. package/lib/components/inputFooter/InputFooter.vue.d.ts +3 -3
  32. package/lib/components/label/Label.vue.d.ts +4 -4
  33. package/lib/components/link/Link.vue.d.ts +4 -4
  34. package/lib/components/loader/Loader.vue.d.ts +4 -4
  35. package/lib/components/menu/Menu.vue.d.ts +5 -5
  36. package/lib/components/menu/MenuItem.vue.d.ts +5 -5
  37. package/lib/components/menu/MenuItem.vue2.js +1 -1
  38. package/lib/components/modal/Modal.vue.d.ts +6 -6
  39. package/lib/components/modal/Modal.vue.js +1 -1
  40. package/lib/components/notifications/Notifications.vue.d.ts +5 -5
  41. package/lib/components/pagination/Pagination.vue.d.ts +5 -5
  42. package/lib/components/pagination/Pagination.vue.js +41 -41
  43. package/lib/components/pagination/PaginationItem.vue.d.ts +6 -6
  44. package/lib/components/popover/Popover.vue.d.ts +8 -8
  45. package/lib/components/popover/Popover.vue.js +1 -1
  46. package/lib/components/popover/PopoverContainer.vue.d.ts +4 -4
  47. package/lib/components/progress/Progress.vue.d.ts +4 -4
  48. package/lib/components/qrCode/QrCode.vue.d.ts +4 -4
  49. package/lib/components/radio/Radio.vue.d.ts +6 -6
  50. package/lib/components/radio/Radio.vue2.js +63 -63
  51. package/lib/components/scroll/Scroll.vue.d.ts +6 -6
  52. package/lib/components/scroll/Scroll.vue2.js +1 -1
  53. package/lib/components/select/Select.vue.d.ts +6 -6
  54. package/lib/components/select/Select.vue.js +1 -1
  55. package/lib/components/skeleton/Skeleton.vue.d.ts +4 -4
  56. package/lib/components/skeleton/Skeleton.vue.js +17 -17
  57. package/lib/components/slider/Slider.vue.d.ts +6 -6
  58. package/lib/components/spacer/Spacer.d.ts +1 -1
  59. package/lib/components/spinner/Spinner.vue.d.ts +4 -4
  60. package/lib/components/stepper/Stepper.vue.d.ts +5 -5
  61. package/lib/components/tab/Tab.vue.d.ts +5 -5
  62. package/lib/components/tab/Tab.vue.js +1 -1
  63. package/lib/components/tab/TabGroup.vue.d.ts +5 -5
  64. package/lib/components/tab/TabGroup.vue.js +2 -2
  65. package/lib/components/table/Table.vue.d.ts +41 -24
  66. package/lib/components/table/Table.vue.js +123 -116
  67. package/lib/components/table/TableBody.d.ts +1 -1
  68. package/lib/components/table/TableCell.vue.d.ts +4 -4
  69. package/lib/components/table/TableHead.vue.d.ts +4 -4
  70. package/lib/components/table/TableHeader.vue.d.ts +4 -4
  71. package/lib/components/table/TableHeader.vue.js +39 -39
  72. package/lib/components/table/TableRow.vue.d.ts +8 -4
  73. package/lib/components/table/TableRow.vue.js +3 -2
  74. package/lib/components/table/theme/TableRow.base.theme.js +1 -1
  75. package/lib/components/tag/Tag.vue.d.ts +5 -5
  76. package/lib/components/textarea/Textarea.vue.d.ts +6 -6
  77. package/lib/components/textarea/Textarea.vue.js +6 -6
  78. package/lib/components/themeProvider/ThemeProvider.vue.d.ts +3 -3
  79. package/lib/components/toggle/Toggle.vue.d.ts +6 -6
  80. package/lib/components/tooltip/ToggleTip.vue.d.ts +3 -3
  81. package/lib/components/tooltip/Tooltip.vue.d.ts +4 -4
  82. package/lib/components/tooltip/Tooltip.vue.js +1 -1
  83. package/lib/composables/useInputtable.d.ts +26 -6
  84. package/lib/composables/useVirtualList.js +1 -1
  85. package/lib/index.js +1 -1
  86. package/lib/index.umd.js +4 -4
  87. package/lib/node_modules/.pnpm/{@vueuse_core@10.2.0_vue@3.3.9_typescript@5.2.2_ → @vueuse_core@10.2.0_vue@3.5.10_typescript@5.2.2_}/node_modules/@vueuse/core/index.js +2 -2
  88. package/lib/version.d.ts +1 -1
  89. package/lib/version.js +1 -1
  90. package/package.json +3 -3
  91. package/src/components/table/Table.vue +10 -4
  92. package/src/components/table/TableRow.vue +1 -0
  93. package/src/components/table/theme/TableRow.base.theme.ts +4 -0
  94. package/src/version.ts +1 -1
  95. /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
  96. /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
  97. /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
  98. /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
@@ -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,
@@ -73,7 +73,7 @@ type InternalExtraData = {
73
73
  };
74
74
  export interface SelectTheme extends ThemeComponent<SelectProps, InternalClasses, InternalExtraData> {
75
75
  }
76
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
76
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
77
77
  placeholder: StringConstructor;
78
78
  options: PropType<SelectOption[]>;
79
79
  multiple: BooleanConstructor;
@@ -133,13 +133,13 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
133
133
  readonly type: StringConstructor;
134
134
  readonly default: string | undefined;
135
135
  };
136
- }, {
136
+ }>, {
137
137
  focus: () => void | undefined;
138
138
  blur: () => void | undefined;
139
139
  reset: () => void;
140
140
  validate: (val?: any) => boolean;
141
141
  setError: (val: string) => void;
142
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, string[], string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
142
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, string[], string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
143
143
  placeholder: StringConstructor;
144
144
  options: PropType<SelectOption[]>;
145
145
  multiple: BooleanConstructor;
@@ -199,9 +199,9 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
199
199
  readonly type: StringConstructor;
200
200
  readonly default: string | undefined;
201
201
  };
202
- }>> & {
202
+ }>> & Readonly<{
203
203
  [x: `on${Capitalize<string>}`]: ((...args: any[]) => any) | undefined;
204
- }, {
204
+ }>, {
205
205
  disabled: boolean;
206
206
  flat: boolean;
207
207
  color: string;
@@ -222,7 +222,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
222
222
  virtualList: boolean;
223
223
  virtualListItemHeight: number;
224
224
  virtualListOverscan: number;
225
- }, {}>, {
225
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, {
226
226
  "content-header"?(_: {}): any;
227
227
  "content-footer"?(_: {}): any;
228
228
  icon?(_: {}): any;
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as Le, ref as m, computed as k, watch as S, nextTick as ee, unref as s, onUnmounted as Ae, resolveComponent as Ve, openBlock as a, createBlock as g, mergeProps as E, toHandlers as le, withCtx as $, createElementVNode as w, createElementBlock as n, normalizeClass as L, Fragment as y, createTextVNode as F, toDisplayString as A, createVNode as q, renderSlot as H, createCommentVNode as T, normalizeProps as Ie, guardReactiveProps as Oe, renderList as U, withDirectives as Re, vModelSelect as $e } from "vue";
2
- import { useEventListener as Ce } 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 { useEventListener as Ce } 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 { useColors as Ne } from "../../composables/useColors.js";
4
4
  import { useCommon as te } from "../../composables/useCommon.js";
5
5
  import { useInputtable as j } from "../../composables/useInputtable.js";
@@ -17,7 +17,7 @@ export type SkeletonProps = ExtractPublicPropTypes<typeof skeletonProps>;
17
17
  type InternalClasses = 'wrapper';
18
18
  export interface SkeletonTheme extends ThemeComponent<SkeletonProps, InternalClasses> {
19
19
  }
20
- declare const _default: import("vue").DefineComponent<{
20
+ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
21
21
  tag: {
22
22
  type: StringConstructor;
23
23
  default: string;
@@ -27,7 +27,7 @@ declare const _default: import("vue").DefineComponent<{
27
27
  default: string;
28
28
  validator: (val: "line" | "circle") => boolean;
29
29
  };
30
- }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
30
+ }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
31
31
  tag: {
32
32
  type: StringConstructor;
33
33
  default: string;
@@ -37,8 +37,8 @@ declare const _default: import("vue").DefineComponent<{
37
37
  default: string;
38
38
  validator: (val: "line" | "circle") => boolean;
39
39
  };
40
- }>>, {
40
+ }>> & Readonly<{}>, {
41
41
  tag: string;
42
42
  shape: "line" | "circle";
43
- }, {}>;
43
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
44
44
  export default _default;
@@ -1,8 +1,8 @@
1
- import { defineComponent as c, openBlock as p, createBlock as i, resolveDynamicComponent as m, normalizeStyle as d, unref as t, normalizeClass as u, withCtx as f, createTextVNode as _ } from "vue";
1
+ import { defineComponent as c, openBlock as i, createBlock as m, resolveDynamicComponent as d, normalizeStyle as u, unref as t, normalizeClass as f, withCtx as y, createTextVNode as _ } from "vue";
2
2
  import { useTheme as h } from "../../composables/useTheme.js";
3
- const y = ["line", "circle"], s = {
4
- shape: y
5
- }, k = {
3
+ const k = ["line", "circle"], o = {
4
+ shape: k
5
+ }, S = {
6
6
  tag: {
7
7
  type: String,
8
8
  default: "div"
@@ -10,26 +10,26 @@ const y = ["line", "circle"], s = {
10
10
  shape: {
11
11
  type: String,
12
12
  default: "line",
13
- validator: (e) => s.shape.includes(e)
13
+ validator: (e) => o.shape.includes(e)
14
14
  }
15
- }, S = {
15
+ }, g = {
16
16
  name: "XSkeleton",
17
- validators: s
17
+ validators: o
18
18
  }, x = /* @__PURE__ */ c({
19
- ...S,
20
- props: k,
19
+ ...g,
20
+ props: S,
21
21
  setup(e) {
22
- const a = e, { styles: o, classes: n, className: l } = h("Skeleton", {}, a);
23
- return (r, g) => (p(), i(m(r.tag), {
24
- style: d(t(o)),
25
- class: u([
26
- t(l),
27
- t(n).wrapper
22
+ const a = e, { styles: n, classes: l, className: r } = h("Skeleton", {}, a);
23
+ return (p, s) => (i(), m(d(p.tag), {
24
+ style: u(t(n)),
25
+ class: f([
26
+ t(r),
27
+ t(l).wrapper
28
28
  ])
29
29
  }, {
30
- default: f(() => [
30
+ default: y(() => s[0] || (s[0] = [
31
31
  _(" ​ ")
32
- ]),
32
+ ])),
33
33
  _: 1
34
34
  }, 8, ["style", "class"]));
35
35
  }