@pequity/squirrel 5.4.1 → 5.4.3

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 (82) 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/index.js +55 -53
  9. package/dist/cjs/p-btn.js +8 -5
  10. package/dist/cjs/p-chips.js +3 -5
  11. package/dist/cjs/p-date-picker.js +2 -138
  12. package/dist/cjs/p-info-icon.js +1 -3
  13. package/dist/cjs/p-inline-date-picker.js +2 -143
  14. package/dist/cjs/p-table-td.js +3 -5
  15. package/dist/es/chunks/p-action-bar.js +10 -11
  16. package/dist/es/chunks/p-date-picker.js +109 -0
  17. package/dist/es/chunks/p-dropdown-select.js +7 -8
  18. package/dist/es/chunks/p-inline-date-picker.js +113 -0
  19. package/dist/es/chunks/p-input-percent.js +3 -5
  20. package/dist/es/chunks/p-pagination-info.js +1 -1
  21. package/dist/es/chunks/p-pagination.js +12 -16
  22. package/dist/es/index.js +104 -102
  23. package/dist/es/p-btn.js +8 -5
  24. package/dist/es/p-chips.js +4 -6
  25. package/dist/es/p-date-picker.js +2 -138
  26. package/dist/es/p-info-icon.js +2 -4
  27. package/dist/es/p-inline-date-picker.js +2 -143
  28. package/dist/es/p-table-td.js +4 -6
  29. package/dist/squirrel/components/p-action-bar/p-action-bar.vue.d.ts +5 -14
  30. package/dist/squirrel/components/p-alert/p-alert.vue.d.ts +4 -4
  31. package/dist/squirrel/components/p-avatar/p-avatar.vue.d.ts +5 -5
  32. package/dist/squirrel/components/p-btn/p-btn.vue.d.ts +40 -5
  33. package/dist/squirrel/components/p-card/p-card.vue.d.ts +4 -4
  34. package/dist/squirrel/components/p-checkbox/p-checkbox.vue.d.ts +5 -5
  35. package/dist/squirrel/components/p-chips/p-chips.vue.d.ts +5 -5
  36. package/dist/squirrel/components/p-close-btn/p-close-btn.vue.d.ts +4 -4
  37. package/dist/squirrel/components/p-date-picker/p-date-picker.vue.d.ts +35 -128
  38. package/dist/squirrel/components/p-drawer/p-drawer.vue.d.ts +37 -5
  39. package/dist/squirrel/components/p-dropdown/p-dropdown.vue.d.ts +5 -5
  40. package/dist/squirrel/components/p-dropdown-select/p-dropdown-select.vue.d.ts +128 -29
  41. package/dist/squirrel/components/p-file-upload/p-file-upload.vue.d.ts +5 -5
  42. package/dist/squirrel/components/p-icon/p-icon.vue.d.ts +1 -10
  43. package/dist/squirrel/components/p-info-icon/p-info-icon.vue.d.ts +2 -23
  44. package/dist/squirrel/components/p-input/p-input.vue.d.ts +9 -9
  45. package/dist/squirrel/components/p-input-number/p-input-number.vue.d.ts +40 -10
  46. package/dist/squirrel/components/p-input-percent/p-input-percent.vue.d.ts +5 -5
  47. package/dist/squirrel/components/p-input-search/p-input-search.vue.d.ts +121 -5
  48. package/dist/squirrel/components/p-link/p-link.vue.d.ts +1 -10
  49. package/dist/squirrel/components/p-loading/p-loading.vue.d.ts +1 -1
  50. package/dist/squirrel/components/p-modal/p-modal.vue.d.ts +5 -5
  51. package/dist/squirrel/components/p-pagination/p-pagination.vue.d.ts +5 -5
  52. package/dist/squirrel/components/p-pagination-info/p-pagination-info.vue.d.ts +4 -4
  53. package/dist/squirrel/components/p-progress-bar/p-progress-bar.vue.d.ts +3 -3
  54. package/dist/squirrel/components/p-ring-loader/p-ring-loader.vue.d.ts +4 -4
  55. package/dist/squirrel/components/p-select/p-select.vue.d.ts +5 -5
  56. package/dist/squirrel/components/p-select-btn/p-select-btn.vue.d.ts +4 -45
  57. package/dist/squirrel/components/p-select-list/p-select-list.vue.d.ts +143 -29
  58. package/dist/squirrel/components/p-select-list/useSelectList.d.ts +4 -4
  59. package/dist/squirrel/components/p-select-pill/p-select-pill.vue.d.ts +5 -5
  60. package/dist/squirrel/components/p-skeleton-loader/p-skeleton-loader.vue.d.ts +4 -4
  61. package/dist/squirrel/components/p-table/p-table.vue.d.ts +10 -47
  62. package/dist/squirrel/components/p-table/usePTableColResize.d.ts +4 -4
  63. package/dist/squirrel/components/p-table/usePTableRowVirtualizer.d.ts +10 -4
  64. package/dist/squirrel/components/p-table-header-cell/p-table-filter-icon.vue.d.ts +4 -4
  65. package/dist/squirrel/components/p-table-header-cell/p-table-header-cell.vue.d.ts +48 -5
  66. package/dist/squirrel/components/p-table-loader/p-table-loader.vue.d.ts +4 -4
  67. package/dist/squirrel/components/p-table-sort/p-table-sort.vue.d.ts +5 -5
  68. package/dist/squirrel/components/p-table-td/p-table-td.vue.d.ts +2 -25
  69. package/dist/squirrel/components/p-tabs/p-tabs.vue.d.ts +5 -5
  70. package/dist/squirrel/components/p-textarea/p-textarea.vue.d.ts +9 -9
  71. package/dist/squirrel/components/p-toggle/p-toggle.vue.d.ts +9 -9
  72. package/dist/squirrel/composables/useInputClasses.d.ts +1 -1
  73. package/dist/squirrel/utils/inputClassesMixin.d.ts +4 -4
  74. package/package.json +25 -25
  75. package/squirrel/components/p-btn/p-btn.spec.js +33 -4
  76. package/squirrel/components/p-btn/p-btn.vue +5 -2
  77. package/squirrel/components/p-date-picker/p-date-picker.vue +79 -86
  78. package/squirrel/components/p-inline-date-picker/p-inline-date-picker.spec.js +12 -14
  79. package/squirrel/components/p-inline-date-picker/p-inline-date-picker.vue +87 -99
  80. package/squirrel/components/p-select-list/p-select-list.spec.js +26 -0
  81. package/squirrel/components/p-select-list/p-select-list.vue +8 -1
  82. package/dist/squirrel/components/p-inline-date-picker/p-inline-date-picker.vue.d.ts +0 -154
@@ -1,5 +1,5 @@
1
1
  import { type AnyObject, type AnyValue, type ModelValue, type Size } from './p-select-list.types';
2
- import { type PropType } from 'vue';
2
+ import { type PropType, type StyleValue } from 'vue';
3
3
  declare function __VLS_template(): {
4
4
  slots: Readonly<{
5
5
  'selected-item'(props: {
@@ -25,7 +25,7 @@ declare function __VLS_template(): {
25
25
  refs: {
26
26
  formControl: HTMLDivElement;
27
27
  actionsContainer: HTMLDivElement;
28
- inputSearch: import("vue").CreateComponentPublicInstance<Readonly<import("vue").ExtractPropTypes<{
28
+ inputSearch: import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("vue").ExtractPropTypes<{
29
29
  modelValue: {
30
30
  type: StringConstructor;
31
31
  default: string;
@@ -39,10 +39,10 @@ declare function __VLS_template(): {
39
39
  type: BooleanConstructor;
40
40
  default: boolean;
41
41
  };
42
- }>> & {
42
+ }>> & Readonly<{
43
43
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
44
44
  onEnter?: ((...args: any[]) => any) | undefined;
45
- }, unknown, {
45
+ }>, {}, {
46
46
  query: string;
47
47
  showEnterIconOnFocus: boolean;
48
48
  }, {
@@ -52,28 +52,127 @@ declare function __VLS_template(): {
52
52
  }, {
53
53
  clearSearch(): void;
54
54
  keydownEnter(): void;
55
- }, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "enter")[], import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<import("vue").ExtractPropTypes<{
56
- modelValue: {
57
- type: StringConstructor;
58
- default: string;
59
- };
60
- size: {
61
- type: PropType<import("../..").InputSize>;
62
- default: string;
63
- validator(value: import("../..").InputSize): boolean;
64
- };
65
- showEnterIcon: {
66
- type: BooleanConstructor;
67
- default: boolean;
68
- };
69
- }>> & {
70
- "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
71
- onEnter?: ((...args: any[]) => any) | undefined;
72
- }, {
55
+ }, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "enter")[], import("vue").PublicProps, {
73
56
  size: "sm" | "lg" | "md";
74
57
  modelValue: string;
75
58
  showEnterIcon: boolean;
76
59
  }, true, {}, {}, {
60
+ PInput: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
61
+ modelValue: {
62
+ type: (StringConstructor | NumberConstructor)[];
63
+ default: string;
64
+ };
65
+ type: {
66
+ type: PropType<string>;
67
+ default: string;
68
+ validator(value: string): boolean;
69
+ };
70
+ label: {
71
+ type: StringConstructor;
72
+ default: string;
73
+ };
74
+ errorMsg: {
75
+ type: StringConstructor;
76
+ default: string;
77
+ };
78
+ required: {
79
+ type: BooleanConstructor;
80
+ default: boolean;
81
+ };
82
+ rounded: {
83
+ type: BooleanConstructor;
84
+ default: boolean;
85
+ };
86
+ }>, {}, {}, {
87
+ attrs(): {
88
+ [x: string]: unknown;
89
+ };
90
+ style(): StyleValue;
91
+ }, {}, import("vue").DefineComponent<import("vue").ExtractPropTypes<{
92
+ size: {
93
+ type: PropType<import("../..").InputSize>;
94
+ default: string;
95
+ validator(value: import("../..").InputSize): boolean;
96
+ };
97
+ errorMsg: {
98
+ type: StringConstructor;
99
+ default: string;
100
+ };
101
+ required: {
102
+ type: BooleanConstructor;
103
+ default: boolean;
104
+ };
105
+ rounded: {
106
+ type: BooleanConstructor;
107
+ default: boolean;
108
+ };
109
+ }>, {}, {
110
+ errorMsgClasses: string;
111
+ }, {
112
+ inputClasses(): string;
113
+ labelClasses(): string;
114
+ selectClasses(): string;
115
+ textareaClasses(): string;
116
+ }, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
117
+ size: {
118
+ type: PropType<import("../..").InputSize>;
119
+ default: string;
120
+ validator(value: import("../..").InputSize): boolean;
121
+ };
122
+ errorMsg: {
123
+ type: StringConstructor;
124
+ default: string;
125
+ };
126
+ required: {
127
+ type: BooleanConstructor;
128
+ default: boolean;
129
+ };
130
+ rounded: {
131
+ type: BooleanConstructor;
132
+ default: boolean;
133
+ };
134
+ }>> & Readonly<{}>, {
135
+ size: "sm" | "lg" | "md";
136
+ rounded: boolean;
137
+ required: boolean;
138
+ errorMsg: string;
139
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, import("vue").ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
140
+ modelValue: {
141
+ type: (StringConstructor | NumberConstructor)[];
142
+ default: string;
143
+ };
144
+ type: {
145
+ type: PropType<string>;
146
+ default: string;
147
+ validator(value: string): boolean;
148
+ };
149
+ label: {
150
+ type: StringConstructor;
151
+ default: string;
152
+ };
153
+ errorMsg: {
154
+ type: StringConstructor;
155
+ default: string;
156
+ };
157
+ required: {
158
+ type: BooleanConstructor;
159
+ default: boolean;
160
+ };
161
+ rounded: {
162
+ type: BooleanConstructor;
163
+ default: boolean;
164
+ };
165
+ }>> & Readonly<{
166
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
167
+ }>, {
168
+ type: string;
169
+ label: string;
170
+ rounded: boolean;
171
+ required: boolean;
172
+ modelValue: string | number;
173
+ errorMsg: string;
174
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
175
+ } & import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
77
176
  P: {};
78
177
  B: {};
79
178
  D: {};
@@ -94,10 +193,10 @@ declare function __VLS_template(): {
94
193
  type: BooleanConstructor;
95
194
  default: boolean;
96
195
  };
97
- }>> & {
196
+ }>> & Readonly<{
98
197
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
99
198
  onEnter?: ((...args: any[]) => any) | undefined;
100
- }, {}, {
199
+ }>, {}, {
101
200
  query: string;
102
201
  showEnterIconOnFocus: boolean;
103
202
  }, {
@@ -117,7 +216,7 @@ declare function __VLS_template(): {
117
216
  attrs: Partial<{}>;
118
217
  };
119
218
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
120
- declare const __VLS_component: import("vue").DefineComponent<{
219
+ declare const __VLS_component: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
121
220
  modelValue: {
122
221
  type: PropType<ModelValue>;
123
222
  default: null;
@@ -225,7 +324,14 @@ declare const __VLS_component: import("vue").DefineComponent<{
225
324
  type: BooleanConstructor;
226
325
  default: boolean;
227
326
  };
228
- }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
327
+ /**
328
+ * Focus the search input on mount
329
+ */
330
+ focusSearchOnMount: {
331
+ type: BooleanConstructor;
332
+ default: boolean;
333
+ };
334
+ }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
229
335
  select: (...args: any[]) => void;
230
336
  "update:modelValue": (...args: any[]) => void;
231
337
  }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
@@ -336,10 +442,17 @@ declare const __VLS_component: import("vue").DefineComponent<{
336
442
  type: BooleanConstructor;
337
443
  default: boolean;
338
444
  };
339
- }>> & {
445
+ /**
446
+ * Focus the search input on mount
447
+ */
448
+ focusSearchOnMount: {
449
+ type: BooleanConstructor;
450
+ default: boolean;
451
+ };
452
+ }>> & Readonly<{
340
453
  onSelect?: ((...args: any[]) => any) | undefined;
341
454
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
342
- }, {
455
+ }>, {
343
456
  size: "sm" | "lg" | "md";
344
457
  label: string;
345
458
  required: boolean;
@@ -358,7 +471,8 @@ declare const __VLS_component: import("vue").DefineComponent<{
358
471
  selectedTopShown: boolean;
359
472
  topSectionClass: string;
360
473
  closePopperOnSelect: boolean;
361
- }, {}>;
474
+ focusSearchOnMount: boolean;
475
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
362
476
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
363
477
  export default _default;
364
478
  type __VLS_WithTemplateSlots<T, S> = T & {
@@ -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;