@indielayer/ui 1.9.0 → 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 (98) hide show
  1. package/docs/pages/component/table/usage.vue +5 -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 +32 -24
  66. package/lib/components/table/Table.vue.js +119 -115
  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 +9 -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
@@ -1,4 +1,4 @@
1
- import { defineComponent as K, computed as k, provide as q, openBlock as m, createBlock as d, mergeProps as w, unref as o, toHandlers as B, withKeys as N, withCtx as $, createElementVNode as A, normalizeClass as E, renderSlot as O, createCommentVNode as P } from "vue";
1
+ import { defineComponent as k, computed as q, provide as w, openBlock as m, createBlock as d, mergeProps as B, unref as o, toHandlers as K, withKeys as N, withCtx as $, createElementVNode as A, normalizeClass as E, renderSlot as O, createCommentVNode as P } from "vue";
2
2
  import { useTheme as j } from "../../composables/useTheme.js";
3
3
  import { useInteractive as z } from "../../composables/useInteractive.js";
4
4
  import { useInputtable as a } from "../../composables/useInputtable.js";
@@ -14,13 +14,13 @@ const X = {
14
14
  }
15
15
  }, D = {
16
16
  name: "XFormGroup"
17
- }, Y = /* @__PURE__ */ K({
17
+ }, Y = /* @__PURE__ */ k({
18
18
  ...D,
19
19
  props: X,
20
20
  emits: a.emits(),
21
21
  setup(f, { expose: c, emit: V }) {
22
- const r = f, t = [], y = k(() => typeof r.modelValue == "string" || typeof r.modelValue == "number" || Array.isArray(r.modelValue) ? r.modelValue : "");
23
- q(H, {
22
+ const r = f, t = [], y = q(() => typeof r.modelValue == "string" || typeof r.modelValue == "number" || Array.isArray(r.modelValue) ? r.modelValue : "");
23
+ w(H, {
24
24
  registerInputGroup: (e, s) => {
25
25
  t.push({ name: e, focus: s });
26
26
  },
@@ -54,7 +54,7 @@ const X = {
54
54
  r.validateOnInput && !p.value && l(r.modelValue);
55
55
  }
56
56
  const { styles: G, classes: g, className: _ } = j("FormGroup", {}, r, { errorInternal: u });
57
- return c({ focus: i, blur, reset: h, validate: l, setError: I }), (e, s) => (m(), d(S, w({
57
+ return c({ focus: i, blur, reset: h, validate: l, setError: I }), (e, s) => (m(), d(S, B({
58
58
  tag: "fieldset",
59
59
  style: o(G),
60
60
  disabled: e.disabled,
@@ -65,7 +65,7 @@ const X = {
65
65
  o(_)
66
66
  ],
67
67
  tooltip: e.tooltip
68
- }, B(b), {
68
+ }, K(b), {
69
69
  onKeyup: N(F, ["space"])
70
70
  }), {
71
71
  default: $(() => [
@@ -81,7 +81,7 @@ const X = {
81
81
  }, null, 8, ["error", "helper"]))
82
82
  ]),
83
83
  _: 3
84
- }, 16, ["style", "disabled", "required", "is-inside-form", "label", "class", "tooltip", "onKeyup"]));
84
+ }, 16, ["style", "disabled", "required", "is-inside-form", "label", "class", "tooltip"]));
85
85
  }
86
86
  });
87
87
  export {
@@ -26,7 +26,7 @@ export type IconInjection = Record<string, Icon>;
26
26
  type InternalClasses = 'wrapper';
27
27
  export interface IconTheme extends ThemeComponent<IconProps, InternalClasses> {
28
28
  }
29
- declare const _default: import("vue").DefineComponent<{
29
+ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
30
30
  icon: {
31
31
  type: StringConstructor;
32
32
  required: boolean;
@@ -41,7 +41,7 @@ declare const _default: import("vue").DefineComponent<{
41
41
  readonly default: "md";
42
42
  readonly validator: (value: string) => boolean;
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
  icon: {
46
46
  type: StringConstructor;
47
47
  required: boolean;
@@ -56,9 +56,9 @@ declare const _default: import("vue").DefineComponent<{
56
56
  readonly default: "md";
57
57
  readonly validator: (value: string) => boolean;
58
58
  };
59
- }>>, {
59
+ }>> & Readonly<{}>, {
60
60
  size: import("../../composables/useCommon").Size;
61
61
  filled: boolean;
62
62
  viewBox: string;
63
- }, {}>;
63
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
64
64
  export default _default;
@@ -7,9 +7,9 @@ export type ImageProps = ExtractPublicPropTypes<typeof imageProps>;
7
7
  type InternalClasses = 'wrapper';
8
8
  export interface ImageTheme extends ThemeComponent<ImageProps, InternalClasses> {
9
9
  }
10
- declare const _default: import("vue").DefineComponent<{
10
+ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
11
11
  src: StringConstructor;
12
- }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
12
+ }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
13
13
  src: StringConstructor;
14
- }>>, {}, {}>;
14
+ }>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
15
15
  export default _default;
@@ -69,7 +69,7 @@ type InternalExtraData = {
69
69
  };
70
70
  export interface InputTheme extends ThemeComponent<InputProps, InternalClasses, InternalExtraData> {
71
71
  }
72
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
72
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
73
73
  showPasswordToggle: {
74
74
  type: BooleanConstructor;
75
75
  default: boolean;
@@ -130,13 +130,13 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
130
130
  readonly default: "md";
131
131
  readonly validator: (value: string) => boolean;
132
132
  };
133
- }, {
133
+ }>, {
134
134
  focus: () => void | undefined;
135
135
  blur: () => void | undefined;
136
136
  reset: () => void;
137
137
  validate: (val?: any) => boolean;
138
138
  setError: (val: string) => void;
139
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, string[], string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
139
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, string[], string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
140
140
  showPasswordToggle: {
141
141
  type: BooleanConstructor;
142
142
  default: boolean;
@@ -197,9 +197,9 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
197
197
  readonly default: "md";
198
198
  readonly validator: (value: string) => boolean;
199
199
  };
200
- }>> & {
200
+ }>> & Readonly<{
201
201
  [x: `on${Capitalize<string>}`]: ((...args: any[]) => any) | undefined;
202
- }, {
202
+ }>, {
203
203
  disabled: boolean;
204
204
  type: string;
205
205
  color: string;
@@ -216,7 +216,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
216
216
  skipFormRegistry: boolean;
217
217
  showPasswordToggle: boolean;
218
218
  dir: "rtl" | "ltr";
219
- }, {}>, {
219
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, {
220
220
  prefix?(_: {}): any;
221
221
  suffix?(_: {}): any;
222
222
  }>;
@@ -8,11 +8,11 @@ export type InputFooterProps = ExtractPublicPropTypes<typeof inputFooterProps>;
8
8
  type InternalClasses = 'wrapper' | 'helperText' | 'errorText';
9
9
  export interface InputFooterTheme extends ThemeComponent<InputFooterProps, InternalClasses> {
10
10
  }
11
- declare const _default: import("vue").DefineComponent<{
11
+ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
12
12
  helper: StringConstructor;
13
13
  error: StringConstructor;
14
- }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
14
+ }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
15
15
  helper: StringConstructor;
16
16
  error: StringConstructor;
17
- }>>, {}, {}>;
17
+ }>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
18
18
  export default _default;
@@ -21,7 +21,7 @@ export type LabelProps = ExtractPublicPropTypes<typeof labelProps>;
21
21
  type InternalClasses = 'wrapper' | 'label';
22
22
  export interface LabelTheme extends ThemeComponent<LabelProps, InternalClasses> {
23
23
  }
24
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
24
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
25
25
  label: StringConstructor;
26
26
  disabled: BooleanConstructor;
27
27
  required: BooleanConstructor;
@@ -37,7 +37,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
37
37
  readonly default: "md";
38
38
  readonly validator: (value: string) => boolean;
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
  label: StringConstructor;
42
42
  disabled: BooleanConstructor;
43
43
  required: BooleanConstructor;
@@ -53,14 +53,14 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
53
53
  readonly default: "md";
54
54
  readonly validator: (value: string) => boolean;
55
55
  };
56
- }>>, {
56
+ }>> & Readonly<{}>, {
57
57
  disabled: boolean;
58
58
  tag: string;
59
59
  size: import("../../composables/useCommon").Size;
60
60
  block: boolean;
61
61
  required: boolean;
62
62
  isInsideForm: boolean;
63
- }, {}>, {
63
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, {
64
64
  default?(_: {}): any;
65
65
  }>;
66
66
  export default _default;
@@ -18,7 +18,7 @@ export type LinkProps = ExtractPublicPropTypes<typeof linkProps>;
18
18
  type InternalClasses = 'wrapper';
19
19
  export interface LinkTheme extends ThemeComponent<LinkProps, InternalClasses> {
20
20
  }
21
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
21
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
22
22
  tag: {
23
23
  type: StringConstructor;
24
24
  default: string;
@@ -31,7 +31,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
31
31
  readonly type: StringConstructor;
32
32
  readonly default: string | undefined;
33
33
  };
34
- }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
34
+ }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
35
35
  tag: {
36
36
  type: StringConstructor;
37
37
  default: string;
@@ -44,13 +44,13 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
44
44
  readonly type: StringConstructor;
45
45
  readonly default: string | undefined;
46
46
  };
47
- }>>, {
47
+ }>> & Readonly<{}>, {
48
48
  tag: string;
49
49
  color: string;
50
50
  shadow: boolean;
51
51
  underline: boolean;
52
52
  external: boolean;
53
- }, {}>, {
53
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, {
54
54
  default?(_: {}): any;
55
55
  }>;
56
56
  export default _default;
@@ -18,7 +18,7 @@ export type LoaderProps = ExtractPublicPropTypes<typeof loaderProps>;
18
18
  type InternalClasses = 'wrapper' | 'iconSuccess' | 'iconError' | 'label';
19
19
  export interface LoaderTheme extends ThemeComponent<LoaderProps, InternalClasses> {
20
20
  }
21
- declare const _default: import("vue").DefineComponent<{
21
+ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
22
22
  status: {
23
23
  type: PropType<LoaderStatus>;
24
24
  default: string;
@@ -30,7 +30,7 @@ declare const _default: import("vue").DefineComponent<{
30
30
  readonly default: "md";
31
31
  readonly validator: (value: string) => boolean;
32
32
  };
33
- }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
33
+ }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
34
34
  status: {
35
35
  type: PropType<LoaderStatus>;
36
36
  default: string;
@@ -42,8 +42,8 @@ declare const _default: import("vue").DefineComponent<{
42
42
  readonly default: "md";
43
43
  readonly validator: (value: string) => boolean;
44
44
  };
45
- }>>, {
45
+ }>> & Readonly<{}>, {
46
46
  size: import("../../composables/useCommon").Size;
47
47
  status: LoaderStatus;
48
- }, {}>;
48
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
49
49
  export default _default;
@@ -57,7 +57,7 @@ export type MenuProps = ExtractPublicPropTypes<typeof menuProps>;
57
57
  type InternalClasses = 'wrapper';
58
58
  export interface MenuTheme extends ThemeComponent<MenuProps, InternalClasses> {
59
59
  }
60
- declare const _default: import("vue").DefineComponent<{
60
+ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
61
61
  items: PropType<MenuArrayItem[]>;
62
62
  collapsible: {
63
63
  type: BooleanConstructor;
@@ -84,7 +84,7 @@ declare const _default: import("vue").DefineComponent<{
84
84
  readonly default: "md";
85
85
  readonly validator: (value: string) => boolean;
86
86
  };
87
- }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("expand" | "item-click")[], "expand" | "item-click", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
87
+ }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("expand" | "item-click")[], "expand" | "item-click", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
88
88
  items: PropType<MenuArrayItem[]>;
89
89
  collapsible: {
90
90
  type: BooleanConstructor;
@@ -111,10 +111,10 @@ declare const _default: import("vue").DefineComponent<{
111
111
  readonly default: "md";
112
112
  readonly validator: (value: string) => boolean;
113
113
  };
114
- }>> & {
114
+ }>> & Readonly<{
115
115
  onExpand?: ((...args: any[]) => any) | undefined;
116
116
  "onItem-click"?: ((...args: any[]) => any) | undefined;
117
- }, {
117
+ }>, {
118
118
  disabled: boolean;
119
119
  expanded: boolean;
120
120
  color: string;
@@ -123,5 +123,5 @@ declare const _default: import("vue").DefineComponent<{
123
123
  filled: boolean;
124
124
  collapsible: boolean;
125
125
  minimal: boolean;
126
- }, {}>;
126
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
127
127
  export default _default;
@@ -49,7 +49,7 @@ type InternalExtraData = {
49
49
  };
50
50
  export interface MenuItemTheme extends ThemeComponent<MenuItemProps, InternalClasses, InternalExtraData> {
51
51
  }
52
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
52
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
53
53
  item: {
54
54
  type: PropType<MenuArrayItem>;
55
55
  default: () => void;
@@ -89,7 +89,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
89
89
  readonly default: "md";
90
90
  readonly validator: (value: string) => boolean;
91
91
  };
92
- }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("active" | "click")[], "active" | "click", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
92
+ }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("click" | "active")[], "click" | "active", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
93
93
  item: {
94
94
  type: PropType<MenuArrayItem>;
95
95
  default: () => void;
@@ -129,10 +129,10 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
129
129
  readonly default: "md";
130
130
  readonly validator: (value: string) => boolean;
131
131
  };
132
- }>> & {
132
+ }>> & Readonly<{
133
133
  onClick?: ((...args: any[]) => any) | undefined;
134
134
  onActive?: ((...args: any[]) => any) | undefined;
135
- }, {
135
+ }>, {
136
136
  disabled: boolean;
137
137
  color: string;
138
138
  rounded: boolean;
@@ -145,7 +145,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
145
145
  attrs: Record<string, any>;
146
146
  exact: boolean;
147
147
  selected: boolean;
148
- }, {}>, {
148
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, {
149
149
  prefix?(_: {}): any;
150
150
  default?(_: {}): any;
151
151
  suffix?(_: {}): any;
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as z, ref as p, computed as d, onMounted as S, watch as k, openBlock as l, createBlock as i, resolveDynamicComponent as x, mergeProps as N, unref as s, withCtx as R, createElementBlock as r, renderSlot as n, createCommentVNode as u, createTextVNode as I, toDisplayString as M, createElementVNode as O, Fragment as P } from "vue";
2
- import { useMutationObserver as j } 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 { useMutationObserver as j } 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 w } from "../../composables/useColors.js";
4
4
  import { useCommon as h } from "../../composables/useCommon.js";
5
5
  import { useTheme as D } from "../../composables/useTheme.js";
@@ -55,7 +55,7 @@ type InternaData = {
55
55
  };
56
56
  export interface ModalTheme extends ThemeComponent<ModalProps, InternalClasses, InternaData> {
57
57
  }
58
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
58
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
59
59
  size: {
60
60
  type: PropType<"xs" | "sm" | "md" | "lg" | "xl" | "full">;
61
61
  default: string;
@@ -97,10 +97,10 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
97
97
  default: () => never[];
98
98
  };
99
99
  persistent: BooleanConstructor;
100
- }, {
100
+ }>, {
101
101
  open: () => void;
102
102
  close: () => void;
103
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("submit" | "update:modelValue")[], "submit" | "update:modelValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
103
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("submit" | "update:modelValue")[], "submit" | "update:modelValue", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
104
104
  size: {
105
105
  type: PropType<"xs" | "sm" | "md" | "lg" | "xl" | "full">;
106
106
  default: string;
@@ -142,10 +142,10 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
142
142
  default: () => never[];
143
143
  };
144
144
  persistent: BooleanConstructor;
145
- }>> & {
145
+ }>> & Readonly<{
146
146
  onSubmit?: ((...args: any[]) => any) | undefined;
147
147
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
148
- }, {
148
+ }>, {
149
149
  size: "xs" | "sm" | "md" | "lg" | "xl" | "full";
150
150
  position: "top" | "bottom" | "center";
151
151
  loading: boolean;
@@ -160,7 +160,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
160
160
  formAutoValidate: boolean;
161
161
  formErrors: [FormError[], FormError];
162
162
  persistent: boolean;
163
- }, {}>, {
163
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, {
164
164
  image?(_: {}): any;
165
165
  header?(_: {}): any;
166
166
  "header-content"?(_: {}): any;
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as X, ref as y, watch as S, nextTick as w, useSlots as H, computed as M, openBlock as t, createBlock as v, Teleport as j, createElementBlock as r, normalizeStyle as q, unref as o, normalizeClass as l, createCommentVNode as a, createElementVNode as B, resolveDynamicComponent as K, withCtx as $, renderSlot as i, toDisplayString as k } from "vue";
2
- import { onClickOutside as L, useEventListener as G } 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 { onClickOutside as L, useEventListener as G } 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 J } from "../../composables/useTheme.js";
4
4
  import { useFocusTrap as Q } from "../../composables/useFocusTrap.js";
5
5
  import { closeIcon as U } from "../../common/icons.js";
@@ -64,7 +64,7 @@ export type NotificationInjection = {
64
64
  type InternalClasses = 'wrapper' | 'list' | 'item';
65
65
  export interface NotificationsTheme extends ThemeComponent<NotificationsProps, InternalClasses> {
66
66
  }
67
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
67
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
68
68
  align: {
69
69
  type: PropType<"left" | "right">;
70
70
  default: string;
@@ -91,14 +91,14 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
91
91
  readonly type: StringConstructor;
92
92
  readonly default: string | undefined;
93
93
  };
94
- }, {
94
+ }>, {
95
95
  log: (notification: NotificationEvent | string) => void;
96
96
  info: (notification: NotificationEvent | string) => void;
97
97
  success: (notification: NotificationEvent | string) => void;
98
98
  warn: (notification: NotificationEvent | string) => void;
99
99
  warning: (notification: NotificationEvent | string) => void;
100
100
  error: (notification: NotificationEvent | string) => void;
101
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
101
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
102
102
  align: {
103
103
  type: PropType<"left" | "right">;
104
104
  default: string;
@@ -125,14 +125,14 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
125
125
  readonly type: StringConstructor;
126
126
  readonly default: string | undefined;
127
127
  };
128
- }>>, {
128
+ }>> & Readonly<{}>, {
129
129
  removable: boolean;
130
130
  color: string;
131
131
  position: "top" | "bottom";
132
132
  align: "left" | "right";
133
133
  timeout: number;
134
134
  injectKey: string | symbol;
135
- }, {}>, {
135
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, {
136
136
  default?(_: {}): any;
137
137
  }>;
138
138
  export default _default;
@@ -26,7 +26,7 @@ export type PaginationProps = ExtractPublicPropTypes<typeof paginationProps>;
26
26
  type InternalClasses = 'wrapper' | 'dots';
27
27
  export interface PaginationTheme extends ThemeComponent<PaginationProps, InternalClasses> {
28
28
  }
29
- declare const _default: import("vue").DefineComponent<{
29
+ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
30
30
  links: BooleanConstructor;
31
31
  totalPages: {
32
32
  type: NumberConstructor;
@@ -45,7 +45,7 @@ declare const _default: import("vue").DefineComponent<{
45
45
  readonly default: "md";
46
46
  readonly validator: (value: string) => boolean;
47
47
  };
48
- }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
48
+ }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
49
49
  links: BooleanConstructor;
50
50
  totalPages: {
51
51
  type: NumberConstructor;
@@ -64,13 +64,13 @@ declare const _default: import("vue").DefineComponent<{
64
64
  readonly default: "md";
65
65
  readonly validator: (value: string) => boolean;
66
66
  };
67
- }>> & {
67
+ }>> & Readonly<{
68
68
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
69
- }, {
69
+ }>, {
70
70
  size: import("../../composables/useCommon").Size;
71
71
  modelValue: number;
72
72
  links: boolean;
73
73
  totalPages: number;
74
74
  variant: "dots" | "simple" | "quick";
75
- }, {}>;
75
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
76
76
  export default _default;
@@ -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
  };