@pequity/squirrel 5.4.0 → 5.4.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 (94) hide show
  1. package/dist/cjs/chunks/p-action-bar.js +10 -11
  2. package/dist/cjs/chunks/p-date-picker.js +108 -0
  3. package/dist/cjs/chunks/p-dropdown-select.js +7 -8
  4. package/dist/cjs/chunks/p-inline-date-picker.js +112 -0
  5. package/dist/cjs/chunks/p-input-percent.js +3 -5
  6. package/dist/cjs/chunks/p-pagination-info.js +1 -1
  7. package/dist/cjs/chunks/p-pagination.js +12 -16
  8. package/dist/cjs/config.js +54 -54
  9. package/dist/cjs/index.js +47 -52
  10. package/dist/cjs/p-btn.js +8 -5
  11. package/dist/cjs/p-chips.js +3 -5
  12. package/dist/cjs/p-date-picker.js +2 -138
  13. package/dist/cjs/p-drawer.js +3 -3
  14. package/dist/cjs/p-info-icon.js +1 -3
  15. package/dist/cjs/p-inline-date-picker.js +2 -143
  16. package/dist/cjs/p-modal.js +3 -3
  17. package/dist/cjs/p-table-td.js +3 -5
  18. package/dist/es/chunks/p-action-bar.js +10 -11
  19. package/dist/es/chunks/p-date-picker.js +109 -0
  20. package/dist/es/chunks/p-dropdown-select.js +7 -8
  21. package/dist/es/chunks/p-inline-date-picker.js +113 -0
  22. package/dist/es/chunks/p-input-percent.js +3 -5
  23. package/dist/es/chunks/p-pagination-info.js +1 -1
  24. package/dist/es/chunks/p-pagination.js +12 -16
  25. package/dist/es/config.js +54 -54
  26. package/dist/es/index.js +96 -101
  27. package/dist/es/p-btn.js +8 -5
  28. package/dist/es/p-chips.js +4 -6
  29. package/dist/es/p-date-picker.js +2 -138
  30. package/dist/es/p-drawer.js +3 -3
  31. package/dist/es/p-info-icon.js +2 -4
  32. package/dist/es/p-inline-date-picker.js +2 -143
  33. package/dist/es/p-modal.js +3 -3
  34. package/dist/es/p-table-td.js +4 -6
  35. package/dist/squirrel/components/p-action-bar/p-action-bar.vue.d.ts +5 -14
  36. package/dist/squirrel/components/p-alert/p-alert.vue.d.ts +4 -4
  37. package/dist/squirrel/components/p-avatar/p-avatar.vue.d.ts +5 -5
  38. package/dist/squirrel/components/p-btn/p-btn.vue.d.ts +40 -5
  39. package/dist/squirrel/components/p-card/p-card.vue.d.ts +4 -4
  40. package/dist/squirrel/components/p-checkbox/p-checkbox.vue.d.ts +5 -5
  41. package/dist/squirrel/components/p-chips/p-chips.vue.d.ts +5 -5
  42. package/dist/squirrel/components/p-close-btn/p-close-btn.vue.d.ts +4 -4
  43. package/dist/squirrel/components/p-date-picker/p-date-picker.vue.d.ts +35 -128
  44. package/dist/squirrel/components/p-drawer/p-drawer.vue.d.ts +37 -5
  45. package/dist/squirrel/components/p-dropdown/p-dropdown.vue.d.ts +5 -5
  46. package/dist/squirrel/components/p-dropdown-select/p-dropdown-select.vue.d.ts +128 -29
  47. package/dist/squirrel/components/p-file-upload/p-file-upload.vue.d.ts +5 -5
  48. package/dist/squirrel/components/p-icon/p-icon.vue.d.ts +1 -10
  49. package/dist/squirrel/components/p-info-icon/p-info-icon.vue.d.ts +2 -23
  50. package/dist/squirrel/components/p-input/p-input.vue.d.ts +9 -9
  51. package/dist/squirrel/components/p-input-number/p-input-number.vue.d.ts +40 -10
  52. package/dist/squirrel/components/p-input-percent/p-input-percent.vue.d.ts +5 -5
  53. package/dist/squirrel/components/p-input-search/p-input-search.vue.d.ts +121 -5
  54. package/dist/squirrel/components/p-link/p-link.vue.d.ts +1 -10
  55. package/dist/squirrel/components/p-loading/p-loading.vue.d.ts +1 -1
  56. package/dist/squirrel/components/p-modal/p-modal.vue.d.ts +5 -5
  57. package/dist/squirrel/components/p-pagination/p-pagination.vue.d.ts +5 -5
  58. package/dist/squirrel/components/p-pagination-info/p-pagination-info.vue.d.ts +4 -4
  59. package/dist/squirrel/components/p-progress-bar/p-progress-bar.vue.d.ts +3 -3
  60. package/dist/squirrel/components/p-ring-loader/p-ring-loader.vue.d.ts +4 -4
  61. package/dist/squirrel/components/p-select/p-select.vue.d.ts +5 -5
  62. package/dist/squirrel/components/p-select-btn/p-select-btn.vue.d.ts +4 -45
  63. package/dist/squirrel/components/p-select-list/p-select-list.vue.d.ts +128 -29
  64. package/dist/squirrel/components/p-select-list/useSelectList.d.ts +4 -4
  65. package/dist/squirrel/components/p-select-pill/p-select-pill.vue.d.ts +5 -5
  66. package/dist/squirrel/components/p-skeleton-loader/p-skeleton-loader.vue.d.ts +4 -4
  67. package/dist/squirrel/components/p-table/p-table.vue.d.ts +10 -47
  68. package/dist/squirrel/components/p-table/usePTableColResize.d.ts +4 -4
  69. package/dist/squirrel/components/p-table/usePTableRowVirtualizer.d.ts +10 -4
  70. package/dist/squirrel/components/p-table-header-cell/p-table-filter-icon.vue.d.ts +4 -4
  71. package/dist/squirrel/components/p-table-header-cell/p-table-header-cell.vue.d.ts +48 -5
  72. package/dist/squirrel/components/p-table-loader/p-table-loader.vue.d.ts +4 -4
  73. package/dist/squirrel/components/p-table-sort/p-table-sort.vue.d.ts +5 -5
  74. package/dist/squirrel/components/p-table-td/p-table-td.vue.d.ts +2 -25
  75. package/dist/squirrel/components/p-tabs/p-tabs.vue.d.ts +5 -5
  76. package/dist/squirrel/components/p-textarea/p-textarea.vue.d.ts +9 -9
  77. package/dist/squirrel/components/p-toggle/p-toggle.vue.d.ts +9 -9
  78. package/dist/squirrel/composables/useInputClasses.d.ts +1 -1
  79. package/dist/squirrel/tailwind/config.d.ts +54 -54
  80. package/dist/squirrel/utils/inputClassesMixin.d.ts +4 -4
  81. package/dist/style.css +92 -92
  82. package/dist/tailwind/config.js +54 -54
  83. package/package.json +25 -25
  84. package/squirrel/assets/squirrel.css +41 -41
  85. package/squirrel/components/p-alert/p-alert.spec.js +1 -1
  86. package/squirrel/components/p-btn/p-btn.spec.js +33 -4
  87. package/squirrel/components/p-btn/p-btn.vue +5 -2
  88. package/squirrel/components/p-date-picker/p-date-picker.vue +79 -86
  89. package/squirrel/components/p-drawer/p-drawer.vue +1 -1
  90. package/squirrel/components/p-inline-date-picker/p-inline-date-picker.spec.js +12 -14
  91. package/squirrel/components/p-inline-date-picker/p-inline-date-picker.vue +87 -99
  92. package/squirrel/components/p-modal/p-modal.vue +1 -1
  93. package/squirrel/tailwind/config.ts +54 -54
  94. package/dist/squirrel/components/p-inline-date-picker/p-inline-date-picker.vue.d.ts +0 -154
@@ -31,10 +31,10 @@ export declare const useSelectList: (props: Props, inputSearch: InputSearch, vir
31
31
  computedItems: import("vue").ComputedRef<AnyObject[]>;
32
32
  computedItemSize: import("vue").ComputedRef<number>;
33
33
  computedInsideSelected: import("vue").ComputedRef<boolean>;
34
- internalItems: Ref<AnyObject[]>;
35
- internalValue: Ref<AnyValue[]>;
36
- search: Ref<string>;
37
- rowVirtualizer: Ref<import("@tanstack/vue-virtual").Virtualizer<HTMLElement, Element>>;
34
+ internalItems: Ref<AnyObject[], AnyObject[]>;
35
+ internalValue: Ref<AnyValue[], AnyValue[]>;
36
+ search: Ref<string, string>;
37
+ rowVirtualizer: Ref<import("@tanstack/vue-virtual").Virtualizer<HTMLElement, Element>, import("@tanstack/vue-virtual").Virtualizer<HTMLElement, Element>>;
38
38
  getValue: (index: number) => AnyValue;
39
39
  getText: (index: number) => AnyValue;
40
40
  isSelected: (val: AnyValue) => boolean;
@@ -11,7 +11,7 @@ declare const SIZES: {
11
11
  lg: string;
12
12
  };
13
13
  type Size = keyof typeof SIZES;
14
- declare const _default: import("vue").DefineComponent<{
14
+ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
15
15
  modelValue: {
16
16
  type: (StringConstructor | NumberConstructor)[];
17
17
  default: string;
@@ -37,7 +37,7 @@ declare const _default: import("vue").DefineComponent<{
37
37
  default: string;
38
38
  validator(value: Size): boolean;
39
39
  };
40
- }, unknown, {
40
+ }>, {}, {
41
41
  SIZES: {
42
42
  sm: string;
43
43
  md: string;
@@ -73,14 +73,14 @@ declare const _default: import("vue").DefineComponent<{
73
73
  default: string;
74
74
  validator(value: Size): boolean;
75
75
  };
76
- }>> & {
76
+ }>> & Readonly<{
77
77
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
78
- }, {
78
+ }>, {
79
79
  size: "sm" | "lg" | "md";
80
80
  modelValue: string | number;
81
81
  items: [] | Option[] | null | undefined;
82
82
  itemText: string;
83
83
  itemValue: string | number;
84
84
  itemSubtext: string;
85
- }, {}>;
85
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
86
86
  export default _default;
@@ -4,7 +4,7 @@ declare const LOADER_TYPES: {
4
4
  readonly circle: "circle";
5
5
  };
6
6
  type LoaderType = (typeof LOADER_TYPES)[keyof typeof LOADER_TYPES];
7
- declare const _default: import("vue").DefineComponent<{
7
+ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
8
8
  type: {
9
9
  type: PropType<LoaderType>;
10
10
  default: "rectangle";
@@ -22,7 +22,7 @@ declare const _default: import("vue").DefineComponent<{
22
22
  type: StringConstructor;
23
23
  default: string;
24
24
  };
25
- }, unknown, {
25
+ }>, {}, {
26
26
  LOADER_TYPES: {
27
27
  readonly rectangle: "rectangle";
28
28
  readonly circle: "circle";
@@ -50,10 +50,10 @@ declare const _default: import("vue").DefineComponent<{
50
50
  type: StringConstructor;
51
51
  default: string;
52
52
  };
53
- }>>, {
53
+ }>> & Readonly<{}>, {
54
54
  type: LoaderType;
55
55
  bgClass: string;
56
56
  cssClass: string;
57
57
  shimmerColor: string;
58
- }, {}>;
58
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
59
59
  export default _default;
@@ -24,37 +24,17 @@ declare function __VLS_template(): {
24
24
  attrs: Partial<{}>;
25
25
  };
26
26
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
27
- declare const __VLS_component: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
28
- colsResizable: boolean;
29
- isFirstColFixed: boolean;
30
- isLastColFixed: boolean;
31
- lockScroll: boolean;
32
- subheader: boolean;
33
- virtualizer: () => {
34
- paddingTop: number;
35
- paddingBottom: number;
36
- };
37
- }>, {
38
- tbodyElement: import("vue").Ref<HTMLElement | null>;
39
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
40
- scroll: (val: Event) => void;
41
- "click-filter-icon": (val: Event, col: any) => void;
42
- "col-resize": (colIndex: number, width: number) => void;
43
- }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
44
- colsResizable: boolean;
45
- isFirstColFixed: boolean;
46
- isLastColFixed: boolean;
47
- lockScroll: boolean;
48
- subheader: boolean;
49
- virtualizer: () => {
50
- paddingTop: number;
51
- paddingBottom: number;
52
- };
53
- }>>> & {
27
+ declare const __VLS_component: import("vue").DefineComponent<Props, {
28
+ tbodyElement: import("vue").Ref<HTMLElement | null, HTMLElement | null>;
29
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
30
+ "col-resize": (colIndex: number, width: number) => any;
31
+ scroll: (val: Event) => any;
32
+ "click-filter-icon": (val: Event, col: any) => any;
33
+ }, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
34
+ "onCol-resize"?: ((colIndex: number, width: number) => any) | undefined;
54
35
  onScroll?: ((val: Event) => any) | undefined;
55
36
  "onClick-filter-icon"?: ((val: Event, col: any) => any) | undefined;
56
- "onCol-resize"?: ((colIndex: number, width: number) => any) | undefined;
57
- }, {
37
+ }>, {
58
38
  isFirstColFixed: boolean;
59
39
  isLastColFixed: boolean;
60
40
  colsResizable: boolean;
@@ -64,28 +44,11 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_WithDefaults<
64
44
  paddingTop: number;
65
45
  paddingBottom: number;
66
46
  };
67
- }, {}>;
47
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
68
48
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
69
49
  export default _default;
70
- type __VLS_WithDefaults<P, D> = {
71
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
72
- default: D[K];
73
- }> : P[K];
74
- };
75
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
76
- type __VLS_TypePropsToOption<T> = {
77
- [K in keyof T]-?: {} extends Pick<T, K> ? {
78
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
79
- } : {
80
- type: import('vue').PropType<T[K]>;
81
- required: true;
82
- };
83
- };
84
50
  type __VLS_WithTemplateSlots<T, S> = T & {
85
51
  new (): {
86
52
  $slots: S;
87
53
  };
88
54
  };
89
- type __VLS_PrettifyLocal<T> = {
90
- [K in keyof T]: T[K];
91
- } & {};
@@ -4,10 +4,10 @@ type Options = {
4
4
  ths: Ref<HTMLElement[]>;
5
5
  };
6
6
  export declare const usePTableColResize: (options: Options) => {
7
- isColResizing: Ref<boolean>;
8
- colResizeHandleLeft: Ref<string>;
9
- colResizingIndex: Ref<number>;
10
- colResizingWidth: Ref<number>;
7
+ isColResizing: Ref<boolean, boolean>;
8
+ colResizeHandleLeft: Ref<string, string>;
9
+ colResizingIndex: Ref<number, number>;
10
+ colResizingWidth: Ref<number, number>;
11
11
  colResize: (e: MouseEvent) => void;
12
12
  colResizeStart: (e: MouseEvent, i: number) => void;
13
13
  colResizeStop: () => void;
@@ -11,12 +11,18 @@ export declare const usePTableRowVirtualizer: (options: Options) => {
11
11
  virtualRows: Ref<{
12
12
  key: number;
13
13
  index: number;
14
+ }[], {
15
+ key: number;
16
+ index: number;
17
+ }[] | {
18
+ key: number;
19
+ index: number;
14
20
  }[]>;
15
- paddingTop: Ref<number>;
16
- paddingBottom: Ref<number>;
17
- measureElement: () => Ref<undefined>;
21
+ paddingTop: Ref<number, number>;
22
+ paddingBottom: Ref<number, number>;
23
+ measureElement: () => Ref<undefined, undefined>;
18
24
  } | {
19
- virtualizer: Ref<import("@tanstack/vue-virtual").Virtualizer<HTMLElement, Element>>;
25
+ virtualizer: Ref<import("@tanstack/vue-virtual").Virtualizer<HTMLElement, Element>, import("@tanstack/vue-virtual").Virtualizer<HTMLElement, Element>>;
20
26
  virtualRows: ComputedRef<import("@tanstack/vue-virtual").VirtualItem[]>;
21
27
  paddingTop: ComputedRef<number>;
22
28
  paddingBottom: ComputedRef<number>;
@@ -1,14 +1,14 @@
1
- declare const _default: import("vue").DefineComponent<{
1
+ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
2
2
  active: {
3
3
  type: BooleanConstructor;
4
4
  default: boolean;
5
5
  };
6
- }, unknown, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
6
+ }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
7
7
  active: {
8
8
  type: BooleanConstructor;
9
9
  default: boolean;
10
10
  };
11
- }>>, {
11
+ }>> & Readonly<{}>, {
12
12
  active: boolean;
13
- }, {}>;
13
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
14
14
  export default _default;
@@ -1,4 +1,4 @@
1
- declare const _default: import("vue").DefineComponent<{
1
+ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
2
2
  text: {
3
3
  type: StringConstructor;
4
4
  default: string;
@@ -23,7 +23,7 @@ declare const _default: import("vue").DefineComponent<{
23
23
  type: StringConstructor;
24
24
  default: string;
25
25
  };
26
- }, unknown, {
26
+ }>, {}, {
27
27
  DEFAULT_CLASSES: string;
28
28
  }, {
29
29
  textColorClass(): "" | "text-active-blue" | "text-p-gray-60";
@@ -57,14 +57,57 @@ declare const _default: import("vue").DefineComponent<{
57
57
  type: StringConstructor;
58
58
  default: string;
59
59
  };
60
- }>> & {
60
+ }>> & Readonly<{
61
61
  "onClick-filter-icon"?: ((...args: any[]) => any) | undefined;
62
- }, {
62
+ }>, {
63
63
  textColor: string;
64
64
  text: string;
65
65
  tooltipText: string;
66
66
  textClass: string | Record<string, any> | unknown[];
67
67
  filterActive: boolean;
68
68
  showFilterIcon: boolean;
69
- }, {}>;
69
+ }, {}, {
70
+ PTableFilterIcon: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
71
+ active: {
72
+ type: BooleanConstructor;
73
+ default: boolean;
74
+ };
75
+ }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
76
+ active: {
77
+ type: BooleanConstructor;
78
+ default: boolean;
79
+ };
80
+ }>> & Readonly<{}>, {
81
+ active: boolean;
82
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
83
+ PInfoIcon: {
84
+ new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<{
85
+ text?: string | null;
86
+ }> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {
87
+ text: string | null;
88
+ }, false, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
89
+ P: {};
90
+ B: {};
91
+ D: {};
92
+ C: {};
93
+ M: {};
94
+ Defaults: {};
95
+ }, Readonly<{
96
+ text?: string | null;
97
+ }> & Readonly<{}>, {}, {}, {}, {}, {
98
+ text: string | null;
99
+ }>;
100
+ __isFragment?: never;
101
+ __isTeleport?: never;
102
+ __isSuspense?: never;
103
+ } & import("vue").ComponentOptionsBase<Readonly<{
104
+ text?: string | null;
105
+ }> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
106
+ text: string | null;
107
+ }, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
108
+ $slots: {
109
+ default?(_: {}): any;
110
+ };
111
+ });
112
+ }, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
70
113
  export default _default;
@@ -1,4 +1,4 @@
1
- declare const _default: import("vue").DefineComponent<{
1
+ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
2
2
  rows: {
3
3
  type: (StringConstructor | NumberConstructor)[];
4
4
  default: number;
@@ -19,7 +19,7 @@ declare const _default: import("vue").DefineComponent<{
19
19
  type: BooleanConstructor;
20
20
  default: boolean;
21
21
  };
22
- }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
22
+ }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
23
23
  rows: {
24
24
  type: (StringConstructor | NumberConstructor)[];
25
25
  default: number;
@@ -40,11 +40,11 @@ declare const _default: import("vue").DefineComponent<{
40
40
  type: BooleanConstructor;
41
41
  default: boolean;
42
42
  };
43
- }>>, {
43
+ }>> & Readonly<{}>, {
44
44
  columns: string | number;
45
45
  rows: string | number;
46
46
  tdClasses: string;
47
47
  tdSkeletonClasses: string;
48
48
  withSubheader: boolean;
49
- }, {}>;
49
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
50
50
  export default _default;
@@ -1,12 +1,12 @@
1
1
  import { type PropType } from 'vue';
2
2
  import { type SortingType } from './p-table-sort.config';
3
- declare const _default: import("vue").DefineComponent<{
3
+ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
4
4
  modelValue: {
5
5
  type: PropType<SortingType>;
6
6
  default: "noSorting";
7
7
  validator(value: SortingType): boolean;
8
8
  };
9
- }, unknown, {
9
+ }>, {}, {
10
10
  SORTING_TYPES: Readonly<{
11
11
  readonly NO_SORTING: "noSorting";
12
12
  readonly ASC: "asc";
@@ -18,9 +18,9 @@ declare const _default: import("vue").DefineComponent<{
18
18
  default: "noSorting";
19
19
  validator(value: SortingType): boolean;
20
20
  };
21
- }>> & {
21
+ }>> & Readonly<{
22
22
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
23
- }, {
23
+ }>, {
24
24
  modelValue: SortingType;
25
- }, {}>;
25
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
26
26
  export default _default;
@@ -11,37 +11,14 @@ declare function __VLS_template(): {
11
11
  attrs: Partial<{}>;
12
12
  };
13
13
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
14
- declare const __VLS_component: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
15
- isEditable: boolean;
16
- isSelected: boolean;
17
- }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
18
- isEditable: boolean;
19
- isSelected: boolean;
20
- }>>>, {
14
+ declare const __VLS_component: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {
21
15
  isSelected: boolean;
22
16
  isEditable: boolean;
23
- }, {}>;
17
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
24
18
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
25
19
  export default _default;
26
- type __VLS_WithDefaults<P, D> = {
27
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
28
- default: D[K];
29
- }> : P[K];
30
- };
31
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
32
- type __VLS_TypePropsToOption<T> = {
33
- [K in keyof T]-?: {} extends Pick<T, K> ? {
34
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
35
- } : {
36
- type: import('vue').PropType<T[K]>;
37
- required: true;
38
- };
39
- };
40
20
  type __VLS_WithTemplateSlots<T, S> = T & {
41
21
  new (): {
42
22
  $slots: S;
43
23
  };
44
24
  };
45
- type __VLS_PrettifyLocal<T> = {
46
- [K in keyof T]: T[K];
47
- } & {};
@@ -6,7 +6,7 @@ type Tab = {
6
6
  icon?: string | ShallowRef<string>;
7
7
  to?: RouteLocationRaw;
8
8
  };
9
- declare const _default: import("vue").DefineComponent<{
9
+ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
10
10
  tabs: {
11
11
  type: () => Tab[];
12
12
  required: true;
@@ -19,7 +19,7 @@ declare const _default: import("vue").DefineComponent<{
19
19
  type: NumberConstructor;
20
20
  default: number;
21
21
  };
22
- }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
22
+ }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
23
23
  "click:tab": (...args: any[]) => void;
24
24
  }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
25
25
  tabs: {
@@ -34,9 +34,9 @@ declare const _default: import("vue").DefineComponent<{
34
34
  type: NumberConstructor;
35
35
  default: number;
36
36
  };
37
- }>> & {
37
+ }>> & Readonly<{
38
38
  "onClick:tab"?: ((...args: any[]) => any) | undefined;
39
- }, {
39
+ }>, {
40
40
  tabsLeftPadding: number;
41
- }, {}>;
41
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
42
42
  export default _default;
@@ -1,5 +1,5 @@
1
1
  import { type StyleValue } from 'vue';
2
- declare const _default: import("vue").DefineComponent<{
2
+ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
3
3
  modelValue: {
4
4
  type: (StringConstructor | NumberConstructor)[];
5
5
  default: string;
@@ -16,14 +16,14 @@ declare const _default: import("vue").DefineComponent<{
16
16
  type: BooleanConstructor;
17
17
  default: boolean;
18
18
  };
19
- }, unknown, unknown, {
19
+ }>, {}, {}, {
20
20
  attrs(): {
21
21
  [x: string]: unknown;
22
22
  };
23
23
  style(): StyleValue;
24
24
  }, {
25
25
  updateValue(e: Event): void;
26
- }, import("vue").DefineComponent<{
26
+ }, import("vue").DefineComponent<import("vue").ExtractPropTypes<{
27
27
  size: {
28
28
  type: import("vue").PropType<import("../../index.js").InputSize>;
29
29
  default: string;
@@ -41,7 +41,7 @@ declare const _default: import("vue").DefineComponent<{
41
41
  type: BooleanConstructor;
42
42
  default: boolean;
43
43
  };
44
- }, unknown, {
44
+ }>, {}, {
45
45
  errorMsgClasses: string;
46
46
  }, {
47
47
  inputClasses(): string;
@@ -66,12 +66,12 @@ declare const _default: import("vue").DefineComponent<{
66
66
  type: BooleanConstructor;
67
67
  default: boolean;
68
68
  };
69
- }>>, {
69
+ }>> & Readonly<{}>, {
70
70
  size: "sm" | "lg" | "md";
71
71
  rounded: boolean;
72
72
  required: boolean;
73
73
  errorMsg: string;
74
- }, {}>, import("vue").ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
74
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, import("vue").ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
75
75
  modelValue: {
76
76
  type: (StringConstructor | NumberConstructor)[];
77
77
  default: string;
@@ -88,12 +88,12 @@ declare const _default: import("vue").DefineComponent<{
88
88
  type: BooleanConstructor;
89
89
  default: boolean;
90
90
  };
91
- }>> & {
91
+ }>> & Readonly<{
92
92
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
93
- }, {
93
+ }>, {
94
94
  label: string;
95
95
  required: boolean;
96
96
  modelValue: string | number;
97
97
  errorMsg: string;
98
- }, {}>;
98
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
99
99
  export default _default;
@@ -1,5 +1,5 @@
1
1
  import { type StyleValue } from 'vue';
2
- declare const _default: import("vue").DefineComponent<{
2
+ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
3
3
  modelValue: {
4
4
  type: BooleanConstructor;
5
5
  default: boolean;
@@ -16,7 +16,7 @@ declare const _default: import("vue").DefineComponent<{
16
16
  type: BooleanConstructor;
17
17
  default: boolean;
18
18
  };
19
- }, unknown, unknown, {
19
+ }>, {}, {}, {
20
20
  toggleClasses(): string;
21
21
  toggleLabelClasses(): string;
22
22
  attrs(): {
@@ -25,7 +25,7 @@ declare const _default: import("vue").DefineComponent<{
25
25
  style(): StyleValue;
26
26
  }, {
27
27
  change(e: Event): void;
28
- }, import("vue").DefineComponent<{
28
+ }, import("vue").DefineComponent<import("vue").ExtractPropTypes<{
29
29
  size: {
30
30
  type: import("vue").PropType<import("../../index.js").InputSize>;
31
31
  default: string;
@@ -43,7 +43,7 @@ declare const _default: import("vue").DefineComponent<{
43
43
  type: BooleanConstructor;
44
44
  default: boolean;
45
45
  };
46
- }, unknown, {
46
+ }>, {}, {
47
47
  errorMsgClasses: string;
48
48
  }, {
49
49
  inputClasses(): string;
@@ -68,12 +68,12 @@ declare const _default: import("vue").DefineComponent<{
68
68
  type: BooleanConstructor;
69
69
  default: boolean;
70
70
  };
71
- }>>, {
71
+ }>> & Readonly<{}>, {
72
72
  size: "sm" | "lg" | "md";
73
73
  rounded: boolean;
74
74
  required: boolean;
75
75
  errorMsg: string;
76
- }, {}>, import("vue").ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
76
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, import("vue").ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
77
77
  modelValue: {
78
78
  type: BooleanConstructor;
79
79
  default: boolean;
@@ -90,12 +90,12 @@ declare const _default: import("vue").DefineComponent<{
90
90
  type: BooleanConstructor;
91
91
  default: boolean;
92
92
  };
93
- }>> & {
93
+ }>> & Readonly<{
94
94
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
95
- }, {
95
+ }>, {
96
96
  label: string;
97
97
  required: boolean;
98
98
  modelValue: boolean;
99
99
  errorMsg: string;
100
- }, {}>;
100
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
101
101
  export default _default;
@@ -12,6 +12,6 @@ export declare function useInputClasses(props: Partial<Props>): {
12
12
  labelClasses: import("vue").ComputedRef<string>;
13
13
  selectClasses: import("vue").ComputedRef<string>;
14
14
  textareaClasses: import("vue").ComputedRef<string>;
15
- errorMsgClasses: import("vue").Ref<string>;
15
+ errorMsgClasses: import("vue").Ref<string, string>;
16
16
  };
17
17
  export {};