@pequity/squirrel 5.4.7 → 5.4.9

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 (158) hide show
  1. package/README.md +1 -1
  2. package/dist/cjs/chunks/p-date-picker.js +143 -85
  3. package/dist/cjs/chunks/p-dropdown-select.js +4 -4
  4. package/dist/cjs/chunks/p-inline-date-picker.js +117 -67
  5. package/dist/cjs/chunks/p-link.js +1 -1
  6. package/dist/cjs/chunks/p-select.js +1 -1
  7. package/dist/cjs/index.js +37 -37
  8. package/dist/cjs/p-btn.js +2 -2
  9. package/dist/cjs/p-checkbox.js +1 -1
  10. package/dist/cjs/p-chips.js +2 -2
  11. package/dist/cjs/p-input-number.js +3 -3
  12. package/dist/cjs/p-input-search.js +1 -1
  13. package/dist/cjs/p-loading.js +2 -2
  14. package/dist/cjs/p-modal.js +2 -2
  15. package/dist/cjs/p-skeleton-loader.js +1 -1
  16. package/dist/cjs/p-table-td.js +1 -1
  17. package/dist/cjs/p-toggle.js +1 -1
  18. package/dist/cjs/tailwind.js +2 -2
  19. package/dist/cjs/usePTableRowVirtualizer.js +1 -1
  20. package/dist/cjs/useSelectList.js +3 -3
  21. package/dist/es/chunks/p-date-picker.js +144 -86
  22. package/dist/es/chunks/p-dropdown-select.js +4 -4
  23. package/dist/es/chunks/p-inline-date-picker.js +118 -68
  24. package/dist/es/chunks/p-link.js +1 -1
  25. package/dist/es/chunks/p-select.js +1 -1
  26. package/dist/es/index.js +35 -35
  27. package/dist/es/p-btn.js +2 -2
  28. package/dist/es/p-checkbox.js +1 -1
  29. package/dist/es/p-chips.js +2 -2
  30. package/dist/es/p-input-number.js +3 -3
  31. package/dist/es/p-input-search.js +1 -1
  32. package/dist/es/p-loading.js +2 -2
  33. package/dist/es/p-modal.js +2 -2
  34. package/dist/es/p-skeleton-loader.js +1 -1
  35. package/dist/es/p-table-td.js +1 -1
  36. package/dist/es/p-toggle.js +1 -1
  37. package/dist/es/tailwind.js +2 -2
  38. package/dist/es/usePTableRowVirtualizer.js +1 -1
  39. package/dist/es/useSelectList.js +3 -3
  40. package/dist/squirrel/components/index.d.ts +13 -13
  41. package/dist/squirrel/components/p-btn/p-btn.vue.d.ts +2 -2
  42. package/dist/squirrel/components/p-card/p-card.vue.d.ts +3 -2
  43. package/dist/squirrel/components/p-checkbox/p-checkbox.vue.d.ts +2 -1
  44. package/dist/squirrel/components/p-close-btn/p-close-btn.vue.d.ts +1 -1
  45. package/dist/squirrel/components/p-date-picker/p-date-picker.vue.d.ts +27 -30
  46. package/dist/squirrel/components/p-drawer/p-drawer.vue.d.ts +3 -3
  47. package/dist/squirrel/components/p-dropdown-select/p-dropdown-select.vue.d.ts +8 -7
  48. package/dist/squirrel/components/p-file-upload/p-file-upload.vue.d.ts +1 -1
  49. package/dist/squirrel/components/p-icon/p-icon.vue.d.ts +2 -2
  50. package/dist/squirrel/components/p-info-icon/p-info-icon.vue.d.ts +2 -1
  51. package/dist/squirrel/components/p-inline-date-picker/p-inline-date-picker.vue.d.ts +46 -0
  52. package/dist/squirrel/components/p-input/p-input.vue.d.ts +1 -1
  53. package/dist/squirrel/components/p-input-number/p-input-number.vue.d.ts +1 -1
  54. package/dist/squirrel/components/p-input-percent/p-input-percent.vue.d.ts +1 -1
  55. package/dist/squirrel/components/p-input-search/p-input-search.vue.d.ts +2 -2
  56. package/dist/squirrel/components/p-link/p-link.vue.d.ts +2 -1
  57. package/dist/squirrel/components/p-modal/p-modal.vue.d.ts +5 -4
  58. package/dist/squirrel/components/p-pagination-info/p-pagination-info.vue.d.ts +2 -1
  59. package/dist/squirrel/components/p-ring-loader/p-ring-loader.vue.d.ts +1 -1
  60. package/dist/squirrel/components/p-select/p-select.vue.d.ts +3 -2
  61. package/dist/squirrel/components/p-select-btn/p-select-btn.vue.d.ts +3 -2
  62. package/dist/squirrel/components/p-select-list/p-select-list.vue.d.ts +6 -5
  63. package/dist/squirrel/components/p-select-pill/p-select-pill.vue.d.ts +1 -1
  64. package/dist/squirrel/components/p-table/p-table.vue.d.ts +3 -2
  65. package/dist/squirrel/components/p-table-loader/p-table-loader.vue.d.ts +1 -1
  66. package/dist/squirrel/components/p-table-sort/p-table-sort.vue.d.ts +1 -1
  67. package/dist/squirrel/components/p-table-td/p-table-td.vue.d.ts +2 -1
  68. package/dist/squirrel/components/p-tabs/p-tabs.vue.d.ts +2 -2
  69. package/dist/squirrel/components/p-textarea/p-textarea.vue.d.ts +1 -1
  70. package/dist/squirrel/components/p-toggle/p-toggle.vue.d.ts +1 -1
  71. package/dist/squirrel/index.d.ts +1 -1
  72. package/dist/squirrel/utils/index.d.ts +8 -8
  73. package/dist/squirrel/utils/inputClassesMixin.d.ts +1 -1
  74. package/dist/style.css +98 -989
  75. package/package.json +30 -32
  76. package/squirrel/assets/squirrel.css +45 -6
  77. package/squirrel/components/index.ts +37 -37
  78. package/squirrel/components/p-action-bar/p-action-bar.spec.ts +1 -1
  79. package/squirrel/components/p-action-bar/p-action-bar.stories.js +2 -2
  80. package/squirrel/components/p-action-bar/p-action-bar.vue +1 -1
  81. package/squirrel/components/p-alert/p-alert.vue +1 -1
  82. package/squirrel/components/p-btn/p-btn.spec.js +2 -2
  83. package/squirrel/components/p-btn/p-btn.vue +4 -4
  84. package/squirrel/components/p-checkbox/p-checkbox.vue +1 -1
  85. package/squirrel/components/p-chips/p-chips.vue +1 -1
  86. package/squirrel/components/p-date-picker/p-date-picker.spec.js +292 -0
  87. package/squirrel/components/p-date-picker/p-date-picker.stories.js +3 -3
  88. package/squirrel/components/p-date-picker/p-date-picker.vue +45 -90
  89. package/squirrel/components/p-dropdown/p-dropdown.spec.js +1 -1
  90. package/squirrel/components/p-dropdown/p-dropdown.vue +1 -1
  91. package/squirrel/components/p-dropdown-select/p-dropdown-select.spec.js +4 -4
  92. package/squirrel/components/p-dropdown-select/p-dropdown-select.stories.js +2 -2
  93. package/squirrel/components/p-dropdown-select/p-dropdown-select.vue +8 -8
  94. package/squirrel/components/p-file-upload/p-file-upload.vue +2 -2
  95. package/squirrel/components/p-icon/p-icon.spec.js +1 -1
  96. package/squirrel/components/p-icon/p-icon.stories.js +1 -1
  97. package/squirrel/components/p-icon/p-icon.vue +2 -2
  98. package/squirrel/components/p-inline-date-picker/p-inline-date-picker.spec.js +21 -45
  99. package/squirrel/components/p-inline-date-picker/p-inline-date-picker.stories.js +3 -3
  100. package/squirrel/components/p-inline-date-picker/p-inline-date-picker.vue +16 -85
  101. package/squirrel/components/p-input/p-input.stories.js +1 -1
  102. package/squirrel/components/p-input/p-input.vue +1 -1
  103. package/squirrel/components/p-input-number/p-input-number.stories.js +1 -1
  104. package/squirrel/components/p-input-number/p-input-number.vue +3 -3
  105. package/squirrel/components/p-input-percent/p-input-percent.stories.js +1 -1
  106. package/squirrel/components/p-input-percent/p-input-percent.vue +1 -1
  107. package/squirrel/components/p-input-search/p-input-search.stories.js +1 -1
  108. package/squirrel/components/p-input-search/p-input-search.vue +1 -1
  109. package/squirrel/components/p-link/p-link.spec.js +1 -1
  110. package/squirrel/components/p-link/p-link.vue +1 -1
  111. package/squirrel/components/p-loading/p-loading.spec.js +2 -2
  112. package/squirrel/components/p-loading/p-loading.stories.js +2 -2
  113. package/squirrel/components/p-loading/p-loading.vue +1 -1
  114. package/squirrel/components/p-loading/usePLoading.ts +1 -1
  115. package/squirrel/components/p-modal/p-modal-basic.spec.js +1 -1
  116. package/squirrel/components/p-modal/p-modal-events.spec.js +1 -1
  117. package/squirrel/components/p-modal/p-modal-features.spec.js +1 -1
  118. package/squirrel/components/p-modal/p-modal.vue +3 -3
  119. package/squirrel/components/p-pagination/p-pagination.vue +1 -1
  120. package/squirrel/components/p-progress-bar/p-progess-bar.spec.js +1 -1
  121. package/squirrel/components/p-progress-bar/p-progress-bar.vue +1 -1
  122. package/squirrel/components/p-select/p-select.spec.js +1 -1
  123. package/squirrel/components/p-select/p-select.stories.js +1 -1
  124. package/squirrel/components/p-select/p-select.vue +1 -1
  125. package/squirrel/components/p-select-btn/p-select-btn.spec.js +1 -1
  126. package/squirrel/components/p-select-btn/p-select-btn.stories.js +1 -1
  127. package/squirrel/components/p-select-btn/p-select-btn.vue +1 -1
  128. package/squirrel/components/p-select-list/p-select-list.spec.js +4 -4
  129. package/squirrel/components/p-select-list/p-select-list.vue +5 -5
  130. package/squirrel/components/p-select-list/useSelectList.ts +3 -3
  131. package/squirrel/components/p-select-pill/p-select-pill.spec.js +1 -1
  132. package/squirrel/components/p-select-pill/p-select-pill.stories.js +2 -2
  133. package/squirrel/components/p-select-pill/p-select-pill.vue +1 -1
  134. package/squirrel/components/p-skeleton-loader/p-skeleton-loader.vue +1 -1
  135. package/squirrel/components/p-table/p-table.spec.js +2 -2
  136. package/squirrel/components/p-table/p-table.vue +4 -4
  137. package/squirrel/components/p-table/usePTableColResize.spec.js +1 -1
  138. package/squirrel/components/p-table/usePTableColResize.ts +1 -1
  139. package/squirrel/components/p-table/usePTableRowVirtualizer.ts +1 -1
  140. package/squirrel/components/p-table-sort/p-table-sort.spec.js +1 -1
  141. package/squirrel/components/p-table-sort/p-table-sort.stories.js +1 -1
  142. package/squirrel/components/p-table-sort/p-table-sort.vue +1 -1
  143. package/squirrel/components/p-table-td/p-table-td.spec.js +3 -3
  144. package/squirrel/components/p-table-td/p-table-td.stories.js +1 -1
  145. package/squirrel/components/p-table-td/p-table-td.vue +2 -2
  146. package/squirrel/components/p-tabs/p-tabs.vue +1 -1
  147. package/squirrel/components/p-textarea/p-textarea.stories.js +1 -1
  148. package/squirrel/components/p-textarea/p-textarea.vue +1 -1
  149. package/squirrel/components/p-toggle/p-toggle.stories.js +1 -1
  150. package/squirrel/components/p-toggle/p-toggle.vue +1 -1
  151. package/squirrel/composables/useInputClasses.spec.js +1 -1
  152. package/squirrel/index.ts +1 -1
  153. package/squirrel/utils/component.ts +1 -1
  154. package/squirrel/utils/index.ts +18 -18
  155. package/squirrel/utils/inputClassesMixin.ts +1 -1
  156. package/squirrel/utils/pagination.spec.js +2 -2
  157. package/squirrel/utils/sanitization.spec.js +1 -1
  158. package/squirrel/utils/tailwind.ts +3 -2
@@ -1,4 +1,5 @@
1
1
  declare function __VLS_template(): {
2
+ attrs: Partial<{}>;
2
3
  slots: {
3
4
  title?(_: {
4
5
  titleClass: "text-xl font-medium leading-none text-p-purple-60";
@@ -6,7 +7,7 @@ declare function __VLS_template(): {
6
7
  default?(_: {}): any;
7
8
  };
8
9
  refs: {};
9
- attrs: Partial<{}>;
10
+ rootEl: HTMLDivElement;
10
11
  };
11
12
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
12
13
  declare const __VLS_component: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
@@ -21,7 +22,7 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
21
22
  };
22
23
  }>> & Readonly<{}>, {
23
24
  title: string;
24
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
25
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, HTMLDivElement>;
25
26
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
26
27
  export default _default;
27
28
  type __VLS_WithTemplateSlots<T, S> = T & {
@@ -1,10 +1,11 @@
1
1
  declare function __VLS_template(): {
2
+ attrs: Partial<{}>;
2
3
  slots: {
3
4
  "label-before"?(_: {}): any;
4
5
  label?(_: {}): any;
5
6
  };
6
7
  refs: {};
7
- attrs: Partial<{}>;
8
+ rootEl: any;
8
9
  };
9
10
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
10
11
  declare const __VLS_component: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
@@ -12,5 +12,5 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
12
12
  };
13
13
  }>> & Readonly<{}>, {
14
14
  variant: Variant;
15
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
15
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, HTMLButtonElement>;
16
16
  export default _default;
@@ -1,40 +1,37 @@
1
+ import { type VueDatePickerProps } from '@vuepic/vue-datepicker';
1
2
  type Props = {
2
- modelValue?: string | null;
3
3
  label?: string;
4
4
  errorMsg?: string;
5
5
  required?: boolean;
6
- minDate?: Date | null;
7
- maxDate?: Date | null;
8
- timezone?: string;
9
- };
10
- declare function __VLS_template(): {
11
- slots: {
12
- label?(_: {
13
- label: string;
14
- labelClasses: string;
15
- }): any;
16
- };
17
- refs: {};
18
- attrs: Partial<{}>;
19
- };
20
- type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
21
- declare const __VLS_component: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
22
- "update:modelValue": (value: string | null) => any;
23
- }, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
24
- "onUpdate:modelValue"?: ((value: string | null) => any) | undefined;
6
+ } & VueDatePickerProps;
7
+ type __VLS_Props = Props;
8
+ type __VLS_PublicProps = {
9
+ modelValue?: Date | string | null;
10
+ } & __VLS_Props;
11
+ declare const _default: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
12
+ "update:modelValue": (value: string | Date | null) => any;
13
+ }, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
14
+ "onUpdate:modelValue"?: ((value: string | Date | null) => any) | undefined;
25
15
  }>, {
26
16
  label: string;
17
+ inline: boolean | {
18
+ input?: boolean;
19
+ };
27
20
  required: boolean;
28
- modelValue: string | null;
29
21
  errorMsg: string;
30
- minDate: Date | null;
31
- maxDate: Date | null;
32
- timezone: string;
22
+ enableTimePicker: boolean;
23
+ weekStart: "0" | "1" | "2" | "3" | "4" | "5" | "6" | 0 | 1 | 2 | 3 | 4 | 5 | 6;
24
+ format: string | ((date: Date) => string) | ((dates: Date[]) => string);
25
+ autoApply: boolean;
26
+ textInput: boolean | {
27
+ enterSubmit?: boolean;
28
+ tabSubmit?: boolean;
29
+ openMenu?: "open" | "toggle" | boolean;
30
+ rangeSeparator?: string;
31
+ selectOnFocus?: boolean;
32
+ format?: string | string[] | ((value: string) => Date | null);
33
+ };
34
+ hideOffsetDates: boolean;
35
+ modelType: "timestamp" | "iso" | "format" | string;
33
36
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
34
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
35
37
  export default _default;
36
- type __VLS_WithTemplateSlots<T, S> = T & {
37
- new (): {
38
- $slots: S;
39
- };
40
- };
@@ -79,7 +79,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
79
79
  beforeClose(): void;
80
80
  closing(): void;
81
81
  closed(): void;
82
- }, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "before-open" | "opening" | "opened" | "before-close" | "closing" | "closed")[], "update:modelValue" | "before-open" | "opening" | "opened" | "before-close" | "closing" | "closed", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
82
+ }, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "closed" | "before-open" | "opening" | "opened" | "before-close" | "closing")[], "update:modelValue" | "closed" | "before-open" | "opening" | "opened" | "before-close" | "closing", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
83
83
  appendTo: {
84
84
  type: StringConstructor;
85
85
  default: string;
@@ -147,12 +147,12 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
147
147
  };
148
148
  }>> & Readonly<{
149
149
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
150
+ onClosed?: ((...args: any[]) => any) | undefined;
150
151
  "onBefore-open"?: ((...args: any[]) => any) | undefined;
151
152
  onOpening?: ((...args: any[]) => any) | undefined;
152
153
  onOpened?: ((...args: any[]) => any) | undefined;
153
154
  "onBefore-close"?: ((...args: any[]) => any) | undefined;
154
155
  onClosing?: ((...args: any[]) => any) | undefined;
155
- onClosed?: ((...args: any[]) => any) | undefined;
156
156
  }>, {
157
157
  zIndex: number;
158
158
  width: string;
@@ -201,6 +201,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
201
201
  };
202
202
  }>> & Readonly<{}>, {
203
203
  variant: "transparent" | "gray" | "dark";
204
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
204
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, HTMLButtonElement>;
205
205
  }, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
206
206
  export default _default;
@@ -1,8 +1,9 @@
1
- import { type PropType, type StyleValue } from 'vue';
2
1
  import { type ModelValue, type Size } from '../p-select-list/p-select-list.types';
2
+ import { type PropType, type StyleValue } from 'vue';
3
3
  type AnyValue = string | number | boolean | null | undefined | Record<string, unknown>;
4
4
  type AnyObject = Record<string, AnyValue>;
5
5
  declare function __VLS_template(): {
6
+ attrs: Partial<{}>;
6
7
  slots: Readonly<{
7
8
  'selected-item'(props: {
8
9
  item: any;
@@ -56,7 +57,7 @@ declare function __VLS_template(): {
56
57
  clearSearch(): void;
57
58
  keydownEnter(): void;
58
59
  }, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "enter")[], import("vue").PublicProps, {
59
- size: "sm" | "lg" | "md";
60
+ size: "sm" | "md" | "lg";
60
61
  modelValue: string;
61
62
  showEnterIcon: boolean;
62
63
  }, true, {}, {}, {
@@ -135,7 +136,7 @@ declare function __VLS_template(): {
135
136
  default: boolean;
136
137
  };
137
138
  }>> & Readonly<{}>, {
138
- size: "sm" | "lg" | "md";
139
+ size: "sm" | "md" | "lg";
139
140
  rounded: boolean;
140
141
  required: boolean;
141
142
  errorMsg: string;
@@ -210,13 +211,13 @@ declare function __VLS_template(): {
210
211
  clearSearch(): void;
211
212
  keydownEnter(): void;
212
213
  }, {
213
- size: "sm" | "lg" | "md";
214
+ size: "sm" | "md" | "lg";
214
215
  modelValue: string;
215
216
  showEnterIcon: boolean;
216
217
  }> | null;
217
218
  virtualizerRef: HTMLDivElement;
218
219
  };
219
- attrs: Partial<{}>;
220
+ rootEl: any;
220
221
  };
221
222
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
222
223
  declare const __VLS_component: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
@@ -480,7 +481,7 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
480
481
  onSelect?: ((...args: any[]) => any) | undefined;
481
482
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
482
483
  }>, {
483
- size: "sm" | "lg" | "md";
484
+ size: "sm" | "md" | "lg";
484
485
  label: string;
485
486
  required: boolean;
486
487
  modelValue: ModelValue;
@@ -488,6 +489,7 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
488
489
  itemText: string;
489
490
  errorMsg: string;
490
491
  placeholder: string;
492
+ clearable: boolean;
491
493
  valueIsObject: boolean;
492
494
  itemValue: string | number;
493
495
  itemSize: number;
@@ -497,7 +499,6 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
497
499
  dropdownMenuStyle: Record<string, any>;
498
500
  pDropdownProps: Record<string, any>;
499
501
  searchable: boolean;
500
- clearable: boolean;
501
502
  multiple: boolean;
502
503
  placeholderSearch: string;
503
504
  selectedTopShown: boolean;
@@ -100,5 +100,5 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
100
100
  fileTypes: string[] | readonly string[];
101
101
  maxSizeInBytes: number;
102
102
  maxNumberOfFiles: number;
103
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
103
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, HTMLDivElement>;
104
104
  export default _default;
@@ -1,6 +1,6 @@
1
- import { type IconifyIconAttributes } from 'iconify-icon';
2
- import { type PIconAlias } from './p-icon.types';
3
1
  import 'iconify-icon';
2
+ import { type PIconAlias } from './p-icon.types';
3
+ import { type IconifyIconAttributes } from 'iconify-icon';
4
4
  interface Props extends /* @vue-ignore */ Omit<IconifyIconAttributes, 'icon'> {
5
5
  icon: IconifyIconAttributes['icon'] | PIconAlias;
6
6
  }
@@ -2,11 +2,12 @@ type Props = {
2
2
  text?: string | null;
3
3
  };
4
4
  declare function __VLS_template(): {
5
+ attrs: Partial<{}>;
5
6
  slots: {
6
7
  default?(_: {}): any;
7
8
  };
8
9
  refs: {};
9
- attrs: Partial<{}>;
10
+ rootEl: any;
10
11
  };
11
12
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
12
13
  declare const __VLS_component: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {
@@ -0,0 +1,46 @@
1
+ import { type VueDatePickerProps } from '@vuepic/vue-datepicker';
2
+ type Props = {
3
+ label?: string;
4
+ errorMsg?: string;
5
+ required?: boolean;
6
+ } & VueDatePickerProps;
7
+ type __VLS_Props = Props;
8
+ type __VLS_PublicProps = {
9
+ modelValue?: Date | string | null;
10
+ } & __VLS_Props;
11
+ declare function __VLS_template(): {
12
+ attrs: Partial<{}>;
13
+ slots: {
14
+ label?(_: {
15
+ label: string;
16
+ labelClasses: string;
17
+ }): any;
18
+ };
19
+ refs: {};
20
+ rootEl: any;
21
+ };
22
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
23
+ declare const __VLS_component: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
24
+ "update:modelValue": (value: string | Date | null) => any;
25
+ }, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
26
+ "onUpdate:modelValue"?: ((value: string | Date | null) => any) | undefined;
27
+ }>, {
28
+ label: string;
29
+ inline: boolean | {
30
+ input?: boolean;
31
+ };
32
+ required: boolean;
33
+ errorMsg: string;
34
+ enableTimePicker: boolean;
35
+ weekStart: "0" | "1" | "2" | "3" | "4" | "5" | "6" | 0 | 1 | 2 | 3 | 4 | 5 | 6;
36
+ autoApply: boolean;
37
+ hideOffsetDates: boolean;
38
+ modelType: "timestamp" | "iso" | "format" | string;
39
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
40
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
41
+ export default _default;
42
+ type __VLS_WithTemplateSlots<T, S> = T & {
43
+ new (): {
44
+ $slots: S;
45
+ };
46
+ };
@@ -80,7 +80,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
80
80
  default: boolean;
81
81
  };
82
82
  }>> & Readonly<{}>, {
83
- size: "sm" | "lg" | "md";
83
+ size: "sm" | "md" | "lg";
84
84
  rounded: boolean;
85
85
  required: boolean;
86
86
  errorMsg: string;
@@ -75,7 +75,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
75
75
  default: boolean;
76
76
  };
77
77
  }>> & Readonly<{}>, {
78
- size: "sm" | "lg" | "md";
78
+ size: "sm" | "md" | "lg";
79
79
  rounded: boolean;
80
80
  required: boolean;
81
81
  errorMsg: string;
@@ -23,7 +23,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
23
23
  }>> & Readonly<{
24
24
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
25
25
  }>, {
26
- size: "sm" | "lg" | "md";
26
+ size: "sm" | "md" | "lg";
27
27
  modelValue: string | number | null | undefined;
28
28
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
29
29
  export default _default;
@@ -42,7 +42,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
42
42
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
43
43
  onEnter?: ((...args: any[]) => any) | undefined;
44
44
  }>, {
45
- size: "sm" | "lg" | "md";
45
+ size: "sm" | "md" | "lg";
46
46
  modelValue: string;
47
47
  showEnterIcon: boolean;
48
48
  }, {}, {
@@ -121,7 +121,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
121
121
  default: boolean;
122
122
  };
123
123
  }>> & Readonly<{}>, {
124
- size: "sm" | "lg" | "md";
124
+ size: "sm" | "md" | "lg";
125
125
  rounded: boolean;
126
126
  required: boolean;
127
127
  errorMsg: string;
@@ -1,11 +1,12 @@
1
1
  import { type RouterLinkProps } from 'vue-router';
2
2
  declare function __VLS_template(): {
3
+ attrs: Partial<{}>;
3
4
  slots: {
4
5
  default?(_: {}): any;
5
6
  default?(_: {}): any;
6
7
  };
7
8
  refs: {};
8
- attrs: Partial<{}>;
9
+ rootEl: any;
9
10
  };
10
11
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
11
12
  declare const __VLS_component: import("vue").DefineComponent<RouterLinkProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<RouterLinkProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
@@ -1,5 +1,6 @@
1
1
  import { type PropType, type StyleValue } from 'vue';
2
2
  declare function __VLS_template(): {
3
+ attrs: Partial<{}>;
3
4
  slots: {
4
5
  "title-wrapper"?(_: {}): any;
5
6
  "content-wrapper"?(_: {}): any;
@@ -11,7 +12,7 @@ declare function __VLS_template(): {
11
12
  pmWrapper: HTMLDivElement;
12
13
  pm: HTMLDivElement;
13
14
  };
14
- attrs: Partial<{}>;
15
+ rootEl: any;
15
16
  };
16
17
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
17
18
  declare const __VLS_component: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
@@ -93,12 +94,12 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
93
94
  };
94
95
  }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
95
96
  "update:modelValue": (...args: any[]) => void;
97
+ closed: (...args: any[]) => void;
96
98
  "before-open": (...args: any[]) => void;
97
99
  opening: (...args: any[]) => void;
98
100
  opened: (...args: any[]) => void;
99
101
  "before-close": (...args: any[]) => void;
100
102
  closing: (...args: any[]) => void;
101
- closed: (...args: any[]) => void;
102
103
  }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
103
104
  name: {
104
105
  type: StringConstructor;
@@ -178,12 +179,12 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
178
179
  };
179
180
  }>> & Readonly<{
180
181
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
182
+ onClosed?: ((...args: any[]) => any) | undefined;
181
183
  "onBefore-open"?: ((...args: any[]) => any) | undefined;
182
184
  onOpening?: ((...args: any[]) => any) | undefined;
183
185
  onOpened?: ((...args: any[]) => any) | undefined;
184
186
  "onBefore-close"?: ((...args: any[]) => any) | undefined;
185
187
  onClosing?: ((...args: any[]) => any) | undefined;
186
- onClosed?: ((...args: any[]) => any) | undefined;
187
188
  }>, {
188
189
  maxWidth: string;
189
190
  name: string;
@@ -197,9 +198,9 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
197
198
  live: boolean;
198
199
  closeLabel: string;
199
200
  enableClose: boolean;
200
- wrapperClass: StyleValue;
201
201
  baseZindex: number;
202
202
  bgClass: StyleValue;
203
+ wrapperClass: StyleValue;
203
204
  modalClass: StyleValue;
204
205
  modalStyle: StyleValue;
205
206
  bgInClass: string;
@@ -1,9 +1,10 @@
1
1
  declare function __VLS_template(): {
2
+ attrs: Partial<{}>;
2
3
  slots: {
3
4
  "no-results"?(_: {}): any;
4
5
  };
5
6
  refs: {};
6
- attrs: Partial<{}>;
7
+ rootEl: any;
7
8
  };
8
9
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
9
10
  declare const __VLS_component: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
@@ -30,5 +30,5 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
30
30
  size: number;
31
31
  color: string;
32
32
  duration: string;
33
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
33
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, HTMLDivElement>;
34
34
  export default _default;
@@ -1,6 +1,7 @@
1
1
  import { type InputSize } from '../../utils/inputClassesShared';
2
2
  import { type PropType } from 'vue';
3
3
  declare function __VLS_template(): {
4
+ attrs: Partial<{}>;
4
5
  slots: {
5
6
  label?(_: {
6
7
  label: string;
@@ -8,7 +9,7 @@ declare function __VLS_template(): {
8
9
  }): any;
9
10
  };
10
11
  refs: {};
11
- attrs: Partial<{}>;
12
+ rootEl: any;
12
13
  };
13
14
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
14
15
  declare const __VLS_component: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
@@ -84,7 +85,7 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
84
85
  }>> & Readonly<{
85
86
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
86
87
  }>, {
87
- size: "sm" | "lg" | "md";
88
+ size: "sm" | "md" | "lg";
88
89
  label: string;
89
90
  required: boolean;
90
91
  modelValue: string | number | boolean | null;
@@ -14,12 +14,13 @@ type Props = {
14
14
  noPadding?: boolean;
15
15
  };
16
16
  declare function __VLS_template(): {
17
+ attrs: Partial<{}>;
17
18
  slots: Partial<Record<`btn-${number}`, (_: {
18
19
  item: BtnGroupItem;
19
20
  isSelected: boolean | undefined;
20
21
  }) => any>>;
21
22
  refs: {};
22
- attrs: Partial<{}>;
23
+ rootEl: HTMLDivElement;
23
24
  };
24
25
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
25
26
  declare const __VLS_component: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
@@ -38,7 +39,7 @@ declare const __VLS_component: import("vue").DefineComponent<Props, {}, {}, {},
38
39
  showTooltip: boolean;
39
40
  highlightSelected: boolean;
40
41
  noPadding: boolean;
41
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
42
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, HTMLDivElement>;
42
43
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
43
44
  export default _default;
44
45
  type __VLS_WithTemplateSlots<T, S> = T & {
@@ -1,6 +1,7 @@
1
1
  import { type AnyObject, type AnyValue, type ModelValue, type Size } from './p-select-list.types';
2
2
  import { type PropType, type StyleValue } from 'vue';
3
3
  declare function __VLS_template(): {
4
+ attrs: Partial<{}>;
4
5
  slots: Readonly<{
5
6
  'selected-item'(props: {
6
7
  item: any;
@@ -53,7 +54,7 @@ declare function __VLS_template(): {
53
54
  clearSearch(): void;
54
55
  keydownEnter(): void;
55
56
  }, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "enter")[], import("vue").PublicProps, {
56
- size: "sm" | "lg" | "md";
57
+ size: "sm" | "md" | "lg";
57
58
  modelValue: string;
58
59
  showEnterIcon: boolean;
59
60
  }, true, {}, {}, {
@@ -132,7 +133,7 @@ declare function __VLS_template(): {
132
133
  default: boolean;
133
134
  };
134
135
  }>> & Readonly<{}>, {
135
- size: "sm" | "lg" | "md";
136
+ size: "sm" | "md" | "lg";
136
137
  rounded: boolean;
137
138
  required: boolean;
138
139
  errorMsg: string;
@@ -207,13 +208,13 @@ declare function __VLS_template(): {
207
208
  clearSearch(): void;
208
209
  keydownEnter(): void;
209
210
  }, {
210
- size: "sm" | "lg" | "md";
211
+ size: "sm" | "md" | "lg";
211
212
  modelValue: string;
212
213
  showEnterIcon: boolean;
213
214
  }> | null;
214
215
  virtualizerRef: HTMLDivElement;
215
216
  };
216
- attrs: Partial<{}>;
217
+ rootEl: any;
217
218
  };
218
219
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
219
220
  declare const __VLS_component: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
@@ -467,7 +468,7 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
467
468
  onSelect?: ((...args: any[]) => any) | undefined;
468
469
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
469
470
  }>, {
470
- size: "sm" | "lg" | "md";
471
+ size: "sm" | "md" | "lg";
471
472
  label: string;
472
473
  required: boolean;
473
474
  modelValue: ModelValue;
@@ -76,7 +76,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
76
76
  }>> & Readonly<{
77
77
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
78
78
  }>, {
79
- size: "sm" | "lg" | "md";
79
+ size: "sm" | "md" | "lg";
80
80
  modelValue: string | number;
81
81
  items: [] | Option[] | null | undefined;
82
82
  itemText: string;
@@ -12,6 +12,7 @@ type Props = {
12
12
  };
13
13
  };
14
14
  declare function __VLS_template(): {
15
+ attrs: Partial<{}>;
15
16
  slots: Partial<Record<`prepend-header-cell-${string}`, (_: {
16
17
  col: TableCol;
17
18
  }) => any>> & Partial<Record<`subheader-cell-${string}`, (_: {}) => any>> & {
@@ -21,7 +22,7 @@ declare function __VLS_template(): {
21
22
  scrollWrapper: HTMLDivElement;
22
23
  tbodyElement: HTMLTableSectionElement;
23
24
  };
24
- attrs: Partial<{}>;
25
+ rootEl: HTMLDivElement;
25
26
  };
26
27
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
27
28
  declare const __VLS_component: import("vue").DefineComponent<Props, {
@@ -44,7 +45,7 @@ declare const __VLS_component: import("vue").DefineComponent<Props, {
44
45
  paddingTop: number;
45
46
  paddingBottom: number;
46
47
  };
47
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
48
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, HTMLDivElement>;
48
49
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
49
50
  export default _default;
50
51
  type __VLS_WithTemplateSlots<T, S> = T & {
@@ -46,5 +46,5 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
46
46
  tdClasses: string;
47
47
  tdSkeletonClasses: string;
48
48
  withSubheader: boolean;
49
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
49
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, HTMLDivElement>;
50
50
  export default _default;
@@ -1,5 +1,5 @@
1
- import { type PropType } from 'vue';
2
1
  import { type SortingType } from './p-table-sort.config';
2
+ import { type PropType } from 'vue';
3
3
  declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
4
4
  modelValue: {
5
5
  type: PropType<SortingType>;
@@ -4,11 +4,12 @@ type Props = {
4
4
  isSelected?: boolean;
5
5
  };
6
6
  declare function __VLS_template(): {
7
+ attrs: Partial<{}>;
7
8
  slots: {
8
9
  default?(_: {}): any;
9
10
  };
10
11
  refs: {};
11
- attrs: Partial<{}>;
12
+ rootEl: any;
12
13
  };
13
14
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
14
15
  declare const __VLS_component: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {
@@ -1,5 +1,5 @@
1
- import { type RouteLocationRaw } from 'vue-router';
2
1
  import { type ShallowRef } from 'vue';
2
+ import { type RouteLocationRaw } from 'vue-router';
3
3
  type Tab = {
4
4
  name: string;
5
5
  title: string;
@@ -38,5 +38,5 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
38
38
  "onClick:tab"?: ((...args: any[]) => any) | undefined;
39
39
  }>, {
40
40
  tabsLeftPadding: number;
41
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
41
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, HTMLDivElement>;
42
42
  export default _default;
@@ -67,7 +67,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
67
67
  default: boolean;
68
68
  };
69
69
  }>> & Readonly<{}>, {
70
- size: "sm" | "lg" | "md";
70
+ size: "sm" | "md" | "lg";
71
71
  rounded: boolean;
72
72
  required: boolean;
73
73
  errorMsg: string;
@@ -69,7 +69,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
69
69
  default: boolean;
70
70
  };
71
71
  }>> & Readonly<{}>, {
72
- size: "sm" | "lg" | "md";
72
+ size: "sm" | "md" | "lg";
73
73
  rounded: boolean;
74
74
  required: boolean;
75
75
  errorMsg: string;