@pequity/squirrel 8.4.5 → 8.5.0

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 (81) hide show
  1. package/README.md +29 -0
  2. package/dist/cjs/chunks/index.js +530 -179
  3. package/dist/cjs/chunks/p-alert.js +11 -16
  4. package/dist/cjs/chunks/p-btn.js +1 -1
  5. package/dist/cjs/chunks/p-input-percent.js +2 -2
  6. package/dist/cjs/index.js +33 -27
  7. package/dist/cjs/inputClasses.js +3 -3
  8. package/dist/cjs/p-icon.js +2 -1
  9. package/dist/cjs/p-loading.js +2 -2
  10. package/dist/cjs/p-modal.js +45 -43
  11. package/dist/cjs/p-table-header-cell.js +3 -2
  12. package/dist/cjs/p-table.js +2 -0
  13. package/dist/cjs/usePTableHeaderWrap.js +38 -0
  14. package/dist/es/chunks/index.js +530 -179
  15. package/dist/es/chunks/p-alert.js +11 -16
  16. package/dist/es/chunks/p-btn.js +2 -2
  17. package/dist/es/chunks/p-input-percent.js +2 -2
  18. package/dist/es/index.js +39 -33
  19. package/dist/es/inputClasses.js +4 -4
  20. package/dist/es/p-icon.js +2 -1
  21. package/dist/es/p-loading.js +2 -2
  22. package/dist/es/p-modal.js +45 -43
  23. package/dist/es/p-table-header-cell.js +3 -2
  24. package/dist/es/p-table.js +2 -0
  25. package/dist/es/usePTableHeaderWrap.js +38 -0
  26. package/dist/squirrel/components/p-action-bar/p-action-bar.vue.d.ts +1 -1
  27. package/dist/squirrel/components/p-alert/p-alert.vue.d.ts +2 -2
  28. package/dist/squirrel/components/p-avatar/p-avatar.vue.d.ts +1 -1
  29. package/dist/squirrel/components/p-btn/p-btn.vue.d.ts +3 -3
  30. package/dist/squirrel/components/p-card/p-card.vue.d.ts +1 -1
  31. package/dist/squirrel/components/p-checkbox/p-checkbox.vue.d.ts +1 -1
  32. package/dist/squirrel/components/p-close-btn/p-close-btn.vue.d.ts +1 -1
  33. package/dist/squirrel/components/p-date-picker/p-date-picker.vue.d.ts +1 -1
  34. package/dist/squirrel/components/p-drawer/p-drawer.vue.d.ts +12 -12
  35. package/dist/squirrel/components/p-dropdown-select/p-dropdown-select.vue.d.ts +1 -1
  36. package/dist/squirrel/components/p-file-upload/p-file-upload.vue.d.ts +1 -1
  37. package/dist/squirrel/components/p-icon/p-icon.types.d.ts +1 -0
  38. package/dist/squirrel/components/p-icon/p-icon.vue.d.ts +1 -1
  39. package/dist/squirrel/components/p-info-icon/p-info-icon.vue.d.ts +1 -1
  40. package/dist/squirrel/components/p-inline-date-picker/p-inline-date-picker.vue.d.ts +1 -1
  41. package/dist/squirrel/components/p-input/p-input.vue.d.ts +1 -1
  42. package/dist/squirrel/components/p-input-percent/p-input-percent.vue.d.ts +1 -1
  43. package/dist/squirrel/components/p-input-search/p-input-search.vue.d.ts +1 -1
  44. package/dist/squirrel/components/p-link/p-link.vue.d.ts +1 -1
  45. package/dist/squirrel/components/p-loading/p-loading.vue.d.ts +1 -1
  46. package/dist/squirrel/components/p-modal/p-modal.vue.d.ts +5 -1
  47. package/dist/squirrel/components/p-pagination/p-pagination.vue.d.ts +1 -1
  48. package/dist/squirrel/components/p-pagination-info/p-pagination-info.vue.d.ts +1 -1
  49. package/dist/squirrel/components/p-progress-bar/p-progress-bar.vue.d.ts +1 -1
  50. package/dist/squirrel/components/p-ring-loader/p-ring-loader.vue.d.ts +1 -1
  51. package/dist/squirrel/components/p-select/p-select.vue.d.ts +1 -1
  52. package/dist/squirrel/components/p-select-btn/p-select-btn.vue.d.ts +1 -1
  53. package/dist/squirrel/components/p-select-list/p-select-list.vue.d.ts +1 -1
  54. package/dist/squirrel/components/p-steps/p-steps.vue.d.ts +1 -1
  55. package/dist/squirrel/components/p-table/p-table.types.d.ts +1 -0
  56. package/dist/squirrel/components/p-table/p-table.vue.d.ts +1 -1
  57. package/dist/squirrel/components/p-table/usePTableHeaderWrap.d.ts +4 -0
  58. package/dist/squirrel/components/p-table-header-cell/p-table-filter-icon.vue.d.ts +1 -1
  59. package/dist/squirrel/components/p-table-header-cell/p-table-header-cell.vue.d.ts +3 -3
  60. package/dist/squirrel/components/p-table-loader/p-table-loader.vue.d.ts +1 -1
  61. package/dist/squirrel/components/p-table-sort/p-table-sort.vue.d.ts +1 -1
  62. package/dist/squirrel/components/p-table-td/p-table-td.vue.d.ts +1 -1
  63. package/dist/squirrel/components/p-tabs/p-tabs.vue.d.ts +1 -1
  64. package/dist/squirrel/components/p-tabs-pills/p-tabs-pills.vue.d.ts +1 -1
  65. package/dist/squirrel/components/p-textarea/p-textarea.vue.d.ts +1 -1
  66. package/dist/squirrel/components/p-toggle/p-toggle.vue.d.ts +1 -1
  67. package/dist/squirrel.css +22 -22
  68. package/package.json +23 -21
  69. package/squirrel/components/p-alert/p-alert.spec.js +4 -4
  70. package/squirrel/components/p-alert/p-alert.stories.js +19 -13
  71. package/squirrel/components/p-alert/p-alert.vue +9 -11
  72. package/squirrel/components/p-icon/p-icon.types.ts +1 -0
  73. package/squirrel/components/p-modal/p-modal-basic.spec.js +29 -3
  74. package/squirrel/components/p-modal/p-modal.vue +44 -33
  75. package/squirrel/components/p-table/p-table.spec.js +51 -15
  76. package/squirrel/components/p-table/p-table.types.ts +2 -0
  77. package/squirrel/components/p-table/p-table.vue +7 -4
  78. package/squirrel/components/p-table/usePTableHeaderWrap.spec.js +118 -0
  79. package/squirrel/components/p-table/usePTableHeaderWrap.ts +45 -0
  80. package/squirrel/components/p-table-header-cell/p-table-header-cell.spec.js +5 -1
  81. package/squirrel/components/p-table-header-cell/p-table-header-cell.vue +2 -1
@@ -20,7 +20,7 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
20
20
  type: StringConstructor;
21
21
  default: string;
22
22
  };
23
- }>, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
23
+ }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
24
24
  /**
25
25
  * The title of the card - displayed at the top
26
26
  * If not provided, you can use the title slot instead
@@ -24,7 +24,7 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
24
24
  type: StringConstructor;
25
25
  default: string;
26
26
  };
27
- }>, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
27
+ }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
28
28
  "update:modelValue": (val: boolean) => any;
29
29
  }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
30
30
  /**
@@ -13,7 +13,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
13
13
  type: PropType<Variant>;
14
14
  default: string;
15
15
  };
16
- }>, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
16
+ }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
17
17
  /**
18
18
  * The visual variant of the close button.
19
19
  * Controls the background color and hover effects.
@@ -24,7 +24,7 @@ type __VLS_PublicProps = __VLS_Props & {
24
24
  */
25
25
  modelValue?: Date | string | null;
26
26
  };
27
- declare const _default: import("vue").DefineComponent<__VLS_PublicProps, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
27
+ declare const _default: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
28
28
  "update:modelValue": (value: string | Date | null) => any;
29
29
  }, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
30
30
  "onUpdate:modelValue"?: ((value: string | Date | null) => any) | undefined;
@@ -313,12 +313,12 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
313
313
  PAlert: {
314
314
  new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("vue").ExtractPropTypes<{
315
315
  type: {
316
- type: import("vue").PropType<"info" | "error" | "success" | "warning">;
316
+ type: import("vue").PropType<"info" | "warning" | "error" | "success">;
317
317
  default: string;
318
- validator(value: "info" | "error" | "success" | "warning"): boolean;
318
+ validator(value: "info" | "warning" | "error" | "success"): boolean;
319
319
  };
320
- }>> & Readonly<{}>, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {
321
- type: "info" | "error" | "success" | "warning";
320
+ }>> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {
321
+ type: "info" | "warning" | "error" | "success";
322
322
  }, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
323
323
  P: {};
324
324
  B: {};
@@ -328,24 +328,24 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
328
328
  Defaults: {};
329
329
  }, Readonly<import("vue").ExtractPropTypes<{
330
330
  type: {
331
- type: import("vue").PropType<"info" | "error" | "success" | "warning">;
331
+ type: import("vue").PropType<"info" | "warning" | "error" | "success">;
332
332
  default: string;
333
- validator(value: "info" | "error" | "success" | "warning"): boolean;
333
+ validator(value: "info" | "warning" | "error" | "success"): boolean;
334
334
  };
335
335
  }>> & Readonly<{}>, {}, {}, {}, {}, {
336
- type: "info" | "error" | "success" | "warning";
336
+ type: "info" | "warning" | "error" | "success";
337
337
  }>;
338
338
  __isFragment?: never;
339
339
  __isTeleport?: never;
340
340
  __isSuspense?: never;
341
341
  } & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
342
342
  type: {
343
- type: import("vue").PropType<"info" | "error" | "success" | "warning">;
343
+ type: import("vue").PropType<"info" | "warning" | "error" | "success">;
344
344
  default: string;
345
- validator(value: "info" | "error" | "success" | "warning"): boolean;
345
+ validator(value: "info" | "warning" | "error" | "success"): boolean;
346
346
  };
347
- }>> & Readonly<{}>, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
348
- type: "info" | "error" | "success" | "warning";
347
+ }>> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
348
+ type: "info" | "warning" | "error" | "success";
349
349
  }, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
350
350
  $slots: {
351
351
  icon?: () => unknown;
@@ -357,7 +357,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
357
357
  type: import("vue").PropType<"transparent" | "gray" | "dark">;
358
358
  default: string;
359
359
  };
360
- }>, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
360
+ }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
361
361
  variant: {
362
362
  type: import("vue").PropType<"transparent" | "gray" | "dark">;
363
363
  default: string;
@@ -189,7 +189,7 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
189
189
  type: BooleanConstructor;
190
190
  default: boolean;
191
191
  };
192
- }>, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
192
+ }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
193
193
  select: (...args: any[]) => void;
194
194
  "update:modelValue": (...args: any[]) => void;
195
195
  create: (...args: any[]) => void;
@@ -73,7 +73,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
73
73
  type: NumberConstructor;
74
74
  default: number;
75
75
  };
76
- }>, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
76
+ }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
77
77
  "update:modelValue": (value: FileUploadFile | FileUploadFile[]) => any;
78
78
  "file-removed": (file: FileUploadFile) => any;
79
79
  "file-added": (files: FileUploadFile[]) => any;
@@ -35,5 +35,6 @@ export declare const P_ICON_ALIASES: {
35
35
  readonly info: "streamline:information-circle";
36
36
  readonly help: "ph:question";
37
37
  readonly search: "streamline:magnifying-glass-solid";
38
+ readonly warning: "ri:error-warning-line";
38
39
  };
39
40
  export type PIconAlias = keyof typeof P_ICON_ALIASES;
@@ -8,5 +8,5 @@ interface Props extends /* @vue-ignore */ IconifyIconProperties {
8
8
  */
9
9
  icon: PIconAlias | (string & {});
10
10
  }
11
- declare const _default: import("vue").DefineComponent<Props, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
11
+ declare const _default: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
12
12
  export default _default;
@@ -12,7 +12,7 @@ type Props = {
12
12
  */
13
13
  text?: string | null;
14
14
  };
15
- declare const __VLS_component: import("vue").DefineComponent<Props, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {
15
+ declare const __VLS_component: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {
16
16
  text: string | null;
17
17
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
18
18
  declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
@@ -35,7 +35,7 @@ type __VLS_PublicProps = __VLS_Props & {
35
35
  */
36
36
  modelValue?: Date | string | null;
37
37
  };
38
- declare const __VLS_component: import("vue").DefineComponent<__VLS_PublicProps, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
38
+ declare const __VLS_component: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
39
39
  "update:modelValue": (value: string | Date | null) => any;
40
40
  }, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
41
41
  "onUpdate:modelValue"?: ((value: string | Date | null) => any) | undefined;
@@ -65,7 +65,7 @@ declare const _default: __VLS_WithSlots<import("vue").DefineComponent<import("vu
65
65
  type: BooleanConstructor;
66
66
  default: boolean;
67
67
  };
68
- }>, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
68
+ }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
69
69
  "update:modelValue": (value: string) => any;
70
70
  }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
71
71
  /**
@@ -19,7 +19,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
19
19
  type: PropType<Size>;
20
20
  default: string;
21
21
  };
22
- }>, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
22
+ }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
23
23
  "update:modelValue": (value: number | null) => any;
24
24
  }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
25
25
  /**
@@ -26,7 +26,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
26
26
  type: BooleanConstructor;
27
27
  default: boolean;
28
28
  };
29
- }>, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
29
+ }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
30
30
  "update:modelValue": (value: string) => any;
31
31
  enter: (value: string) => any;
32
32
  }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
@@ -5,7 +5,7 @@ type __VLS_Slots = {} & {
5
5
  } & {
6
6
  default?: (props: typeof __VLS_9) => any;
7
7
  };
8
- declare const __VLS_component: import("vue").DefineComponent<RouterLinkProps, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<RouterLinkProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
8
+ 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>;
9
9
  declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
10
10
  export default _default;
11
11
  type __VLS_WithSlots<T, S> = T & {
@@ -1,2 +1,2 @@
1
- declare const _default: import("vue").DefineComponent<{}, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
1
+ declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
2
2
  export default _default;
@@ -4,6 +4,10 @@ type __VLS_Slots = {
4
4
  * Default content slot for the modal body.
5
5
  */
6
6
  default?: () => unknown;
7
+ /**
8
+ * Custom modal wrapper content.
9
+ */
10
+ 'modal-wrapper'?: () => unknown;
7
11
  /**
8
12
  * Custom title wrapper content.
9
13
  */
@@ -182,7 +186,7 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
182
186
  type: StringConstructor;
183
187
  default: string;
184
188
  };
185
- }>, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
189
+ }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
186
190
  "update:modelValue": (value: boolean) => any;
187
191
  closed: () => any;
188
192
  "before-open": () => any;
@@ -40,7 +40,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
40
40
  type: BooleanConstructor;
41
41
  default: boolean;
42
42
  };
43
- }>, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
43
+ }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
44
44
  "update:modelValue": (value: number) => any;
45
45
  }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
46
46
  /**
@@ -35,7 +35,7 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
35
35
  type: BooleanConstructor;
36
36
  default: boolean;
37
37
  };
38
- }>, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
38
+ }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
39
39
  /**
40
40
  * The current page number (1-based).
41
41
  * Used to calculate the starting item number in the display range.
@@ -27,5 +27,5 @@ type Props = {
27
27
  */
28
28
  items: ProgressItem[];
29
29
  };
30
- declare const _default: import("vue").DefineComponent<Props, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
30
+ declare const _default: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
31
31
  export default _default;
@@ -12,7 +12,7 @@ type Props = {
12
12
  */
13
13
  color?: string;
14
14
  };
15
- declare const _default: import("vue").DefineComponent<Props, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {
15
+ declare const _default: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {
16
16
  size: number;
17
17
  color: string;
18
18
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
@@ -78,7 +78,7 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
78
78
  type: PropType<string | number | boolean | null>;
79
79
  default: string;
80
80
  };
81
- }>, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
81
+ }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
82
82
  "update:modelValue": (...args: any[]) => void;
83
83
  }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
84
84
  /**
@@ -77,7 +77,7 @@ type __VLS_Slots = {
77
77
  isSelected: boolean;
78
78
  }) => unknown;
79
79
  };
80
- declare const __VLS_component: import("vue").DefineComponent<Props, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
80
+ declare const __VLS_component: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
81
81
  "update:modelValue": (value: string | number | boolean | BtnGroupItem[] | null) => any;
82
82
  }, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
83
83
  "onUpdate:modelValue"?: ((value: string | number | boolean | BtnGroupItem[] | null) => any) | undefined;
@@ -133,7 +133,7 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
133
133
  type: PropType<string>;
134
134
  default: string;
135
135
  };
136
- }>, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
136
+ }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
137
137
  select: (...args: any[]) => void;
138
138
  "update:modelValue": (...args: any[]) => void;
139
139
  }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
@@ -16,7 +16,7 @@ type Props = {
16
16
  */
17
17
  clickable?: boolean;
18
18
  };
19
- declare const _default: import("vue").DefineComponent<Props, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
19
+ declare const _default: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
20
20
  "click:step": (step: StepItem, index: number) => any;
21
21
  }, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
22
22
  "onClick:step"?: ((step: StepItem, index: number) => any) | undefined;
@@ -27,3 +27,4 @@ export declare const isFirstColFixedInjectionKey: unique symbol;
27
27
  export declare const isLastColFixedInjectionKey: unique symbol;
28
28
  export declare const isColsResizableInjectionKey: unique symbol;
29
29
  export declare const MIN_WIDTH_COL_RESIZE = 80;
30
+ export declare const HEADER_CELL_ONE_LINE_HEIGHT = 20;
@@ -48,7 +48,7 @@ declare const _default: <T extends Record<string, unknown>>(__VLS_props: NonNull
48
48
  * Each object should have properties matching the column names.
49
49
  */
50
50
  data?: T[];
51
- } & Partial<{}>> & import("vue").PublicProps;
51
+ } & {}> & import("vue").PublicProps;
52
52
  expose(exposed: import("vue").ShallowUnwrapRef<{
53
53
  tbodyElement: import("vue").Ref<HTMLElement | null, HTMLElement | null>;
54
54
  }>): void;
@@ -0,0 +1,4 @@
1
+ import { type Ref } from 'vue';
2
+ export declare const usePTableHeaderWrap: (theadRef: Ref<HTMLElement | null>) => {
3
+ hasWrap: Ref<boolean, boolean>;
4
+ };
@@ -6,7 +6,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
6
6
  type: BooleanConstructor;
7
7
  default: boolean;
8
8
  };
9
- }>, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
9
+ }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
10
10
  /**
11
11
  * Whether the filter icon is active (filtered state).
12
12
  */
@@ -127,7 +127,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
127
127
  type: BooleanConstructor;
128
128
  default: boolean;
129
129
  };
130
- }>, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
130
+ }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
131
131
  active: {
132
132
  type: BooleanConstructor;
133
133
  default: boolean;
@@ -138,7 +138,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
138
138
  PInfoIcon: {
139
139
  new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<{
140
140
  text?: string | null;
141
- }> & Readonly<{}>, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {
141
+ }> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {
142
142
  text: string | null;
143
143
  }, false, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
144
144
  P: {};
@@ -157,7 +157,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
157
157
  __isSuspense?: never;
158
158
  } & import("vue").ComponentOptionsBase<Readonly<{
159
159
  text?: string | null;
160
- }> & Readonly<{}>, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
160
+ }> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
161
161
  text: string | null;
162
162
  }, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
163
163
  $slots: {
@@ -39,7 +39,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
39
39
  type: BooleanConstructor;
40
40
  default: boolean;
41
41
  };
42
- }>, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
42
+ }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
43
43
  /**
44
44
  * The number of rows to display in the skeleton table.
45
45
  * Controls the vertical size of the loading placeholder.
@@ -11,7 +11,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
11
11
  default: "noSorting";
12
12
  validator(value: SortingType): boolean;
13
13
  };
14
- }>, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
14
+ }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
15
15
  "update:modelValue": (value: SortingType) => any;
16
16
  }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
17
17
  /**
@@ -19,7 +19,7 @@ declare var __VLS_1: {};
19
19
  type __VLS_Slots = {} & {
20
20
  default?: (props: typeof __VLS_1) => any;
21
21
  };
22
- declare const __VLS_component: import("vue").DefineComponent<Props, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {
22
+ declare const __VLS_component: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {
23
23
  isSelected: boolean;
24
24
  isEditable: boolean;
25
25
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
@@ -38,7 +38,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
38
38
  type: NumberConstructor;
39
39
  default: number;
40
40
  };
41
- }>, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
41
+ }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
42
42
  "click:tab": (tabName: string) => any;
43
43
  }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
44
44
  /**
@@ -30,7 +30,7 @@ type Props = {
30
30
  */
31
31
  itemValue?: string;
32
32
  };
33
- declare const _default: import("vue").DefineComponent<Props, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
33
+ declare const _default: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
34
34
  "update:modelValue": (val: Value) => any;
35
35
  }, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
36
36
  "onUpdate:modelValue"?: ((val: Value) => any) | undefined;
@@ -53,7 +53,7 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
53
53
  default: string;
54
54
  validator(value: Size): boolean;
55
55
  };
56
- }>, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
56
+ }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
57
57
  "update:modelValue": (value: string) => any;
58
58
  }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
59
59
  /**
@@ -43,7 +43,7 @@ declare const _default: __VLS_WithSlots<import("vue").DefineComponent<import("vu
43
43
  default: string;
44
44
  validator(value: Size): boolean;
45
45
  };
46
- }>, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
46
+ }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
47
47
  "update:modelValue": (value: boolean) => any;
48
48
  }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
49
49
  /**
package/dist/squirrel.css CHANGED
@@ -295,33 +295,33 @@ to {
295
295
  opacity: 0;
296
296
  transform: translate3d(0, -100%, 0);
297
297
  }
298
- }.pm[data-v-bb3daa48] {
298
+ }.pm[data-v-5c370dbc] {
299
299
  width: calc(100% - 32px);
300
300
  min-width: 110px;
301
- max-width: var(--5951a2a6);
301
+ max-width: var(--a8364442);
302
302
  max-height: calc(100vh - 32px);
303
303
  }
304
- .fadeIn[data-v-bb3daa48] {
304
+ .fadeIn[data-v-5c370dbc] {
305
305
  animation-duration: 0.4s;
306
- animation-name: fadeInFrames-bb3daa48;
306
+ animation-name: fadeInFrames-5c370dbc;
307
307
  animation-fill-mode: both;
308
308
  }
309
- .fadeOut[data-v-bb3daa48] {
309
+ .fadeOut[data-v-5c370dbc] {
310
310
  animation-duration: 0.2s;
311
- animation-name: fadeOutFrames-bb3daa48;
311
+ animation-name: fadeOutFrames-5c370dbc;
312
312
  animation-fill-mode: both;
313
313
  }
314
- .slideInTop[data-v-bb3daa48] {
314
+ .slideInTop[data-v-5c370dbc] {
315
315
  animation-duration: 0.4s;
316
- animation-name: fadeInFrames-bb3daa48,slideInTopFrames-bb3daa48;
316
+ animation-name: fadeInFrames-5c370dbc,slideInTopFrames-5c370dbc;
317
317
  animation-fill-mode: both;
318
318
  }
319
- .slideOutTop[data-v-bb3daa48] {
319
+ .slideOutTop[data-v-5c370dbc] {
320
320
  animation-duration: 0.2s;
321
- animation-name: fadeOutFrames-bb3daa48,slideOutTopFrames-bb3daa48;
321
+ animation-name: fadeOutFrames-5c370dbc,slideOutTopFrames-5c370dbc;
322
322
  animation-fill-mode: both;
323
323
  }
324
- @keyframes slideInTopFrames-bb3daa48 {
324
+ @keyframes slideInTopFrames-5c370dbc {
325
325
  from {
326
326
  transform: translate(0, -12px);
327
327
  animation-timing-function: cubic-bezier(0, 0, 0, 1);
@@ -330,7 +330,7 @@ to {
330
330
  transform: translate(0, 0);
331
331
  }
332
332
  }
333
- @keyframes slideOutTopFrames-bb3daa48 {
333
+ @keyframes slideOutTopFrames-5c370dbc {
334
334
  from {
335
335
  transform: translate(0, 0);
336
336
  animation-timing-function: cubic-bezier(0.33, 0, 0.67, 1);
@@ -339,7 +339,7 @@ to {
339
339
  transform: translate(0, -12px);
340
340
  }
341
341
  }
342
- @keyframes fadeInFrames-bb3daa48 {
342
+ @keyframes fadeInFrames-5c370dbc {
343
343
  from {
344
344
  opacity: 0;
345
345
  animation-timing-function: cubic-bezier(0, 0, 1, 1);
@@ -348,7 +348,7 @@ to {
348
348
  opacity: 1;
349
349
  }
350
350
  }
351
- @keyframes fadeOutFrames-bb3daa48 {
351
+ @keyframes fadeOutFrames-5c370dbc {
352
352
  from {
353
353
  opacity: 1;
354
354
  animation-timing-function: cubic-bezier(0.33, 0, 0.67, 1);
@@ -1128,35 +1128,35 @@ to {
1128
1128
  background-image: url("data:image/svg+xml,%3csvg%20width='33'%20height='30'%20viewBox='0%200%2033%2030'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M31.0143%2029.9524C31.1862%2029.9516%2031.3551%2029.9066%2031.5045%2029.8215C31.6539%2029.7365%2031.7789%2029.6144%2031.8674%2029.4669C31.9558%2029.3195%2032.0048%2029.1517%2032.0095%2028.9799C32.0142%2028.808%2031.9745%2028.6378%2031.8943%2028.4857L16.8943%200.485744C16.8006%200.337008%2016.6708%200.214443%2016.5169%200.129498C16.363%200.0445534%2016.1901%200%2016.0143%200C15.8385%200%2015.6656%200.0445534%2015.5117%200.129498C15.3578%200.214443%2015.228%200.337008%2015.1343%200.485744L0.134286%2028.4857C0.0463617%2028.6353%200%2028.8056%200%2028.9791C0%2029.1526%200.0463617%2029.3229%200.134286%2029.4724C0.221436%2029.6207%200.346313%2029.7432%200.496207%2029.8275C0.6461%2029.9118%200.815658%2029.9549%200.98762%2029.9524H31.0143ZM16.0143%2026.2857C15.6176%2026.2857%2015.2299%2026.1677%2014.9004%2025.9467C14.571%2025.7258%2014.3147%2025.4118%2014.1641%2025.0448C14.0136%2024.6778%2013.9755%2024.2743%2014.0549%2023.8857C14.1342%2023.497%2014.3274%2023.1407%2014.6098%2022.8621C14.8922%2022.5835%2015.251%2022.3951%2015.6407%2022.321C16.0304%2022.2468%2016.4334%2022.2903%2016.7983%2022.4458C17.1633%2022.6012%2017.4737%2022.8617%2017.6903%2023.1941C17.9068%2023.5265%2018.0196%2023.9158%2018.0143%2024.3124C18.0073%2024.8382%2017.7935%2025.3401%2017.4192%2025.7094C17.0448%2026.0787%2016.5401%2026.2858%2016.0143%2026.2857ZM16.0143%209.95241C16.3679%209.95241%2016.707%2010.0929%2016.9571%2010.3429C17.2071%2010.593%2017.3476%2010.9321%2017.3476%2011.2857V18.5791C17.3476%2018.9327%2017.2071%2019.2718%2016.9571%2019.5219C16.707%2019.7719%2016.3679%2019.9124%2016.0143%2019.9124C15.6607%2019.9124%2015.3215%2019.7719%2015.0715%2019.5219C14.8214%2019.2718%2014.681%2018.9327%2014.681%2018.5791V11.2857C14.681%2010.9321%2014.8214%2010.593%2015.0715%2010.3429C15.3215%2010.0929%2015.6607%209.95241%2016.0143%209.95241Z'%20fill='%23F2C94C'%20/%3e%3c/svg%3e");
1129
1129
  }
1130
1130
 
1131
- /*# sourceMappingURL=squirrel.css.map */.p-table[data-v-b51c1939] {
1131
+ /*# sourceMappingURL=squirrel.css.map */.p-table[data-v-8af637b9] {
1132
1132
  color: rgb(var(--color-night));
1133
1133
  height: 1px;
1134
1134
  }
1135
- .p-table th[data-v-b51c1939] {
1135
+ .p-table th[data-v-8af637b9] {
1136
1136
  position: sticky;
1137
1137
  top: 0px;
1138
1138
  z-index: 20;
1139
1139
  padding: 0px;
1140
1140
  }
1141
- .p-table.first-col-fixed th[data-v-b51c1939]:first-child {
1141
+ .p-table.first-col-fixed th[data-v-8af637b9]:first-child {
1142
1142
  left: 0px;
1143
1143
  z-index: 30;
1144
1144
  }
1145
- .p-table.first-col-fixed th:first-child .th-shadow[data-v-b51c1939] {
1145
+ .p-table.first-col-fixed th:first-child .th-shadow[data-v-8af637b9] {
1146
1146
  box-shadow: -1px 1px 5px 4px rgba(0, 0, 0, 0.15);
1147
1147
  clip-path: inset(0px -12px 0px 0px);
1148
1148
  }
1149
- .p-table.last-col-fixed th[data-v-b51c1939]:last-child {
1149
+ .p-table.last-col-fixed th[data-v-8af637b9]:last-child {
1150
1150
  right: 0px;
1151
1151
  z-index: 30;
1152
1152
  }
1153
- .p-table.last-col-fixed th:last-child .th-shadow[data-v-b51c1939] {
1153
+ .p-table.last-col-fixed th:last-child .th-shadow[data-v-8af637b9] {
1154
1154
  box-shadow: -2px 1px 8px rgba(0, 0, 0, 0.15);
1155
1155
  clip-path: inset(0px 0px 0px -12px);
1156
1156
  }
1157
- [data-v-b51c1939] .p-table tr:last-child td {
1157
+ [data-v-8af637b9] .p-table tr:last-child td {
1158
1158
  border-bottom-width: 0px;
1159
1159
  }
1160
- [data-v-b51c1939] .p-table tr:last-child td.td-col-fixed-border-b::after {
1160
+ [data-v-8af637b9] .p-table tr:last-child td.td-col-fixed-border-b::after {
1161
1161
  height: 0px;
1162
1162
  }