@pequity/squirrel 5.4.7 → 5.4.8

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 (154) hide show
  1. package/dist/cjs/chunks/p-date-picker.js +2 -2
  2. package/dist/cjs/chunks/p-dropdown-select.js +4 -4
  3. package/dist/cjs/chunks/p-inline-date-picker.js +1 -1
  4. package/dist/cjs/chunks/p-link.js +1 -1
  5. package/dist/cjs/chunks/p-select.js +1 -1
  6. package/dist/cjs/index.js +37 -37
  7. package/dist/cjs/p-btn.js +2 -2
  8. package/dist/cjs/p-checkbox.js +1 -1
  9. package/dist/cjs/p-chips.js +2 -2
  10. package/dist/cjs/p-input-number.js +3 -3
  11. package/dist/cjs/p-input-search.js +1 -1
  12. package/dist/cjs/p-loading.js +2 -2
  13. package/dist/cjs/p-modal.js +2 -2
  14. package/dist/cjs/p-skeleton-loader.js +1 -1
  15. package/dist/cjs/p-table-td.js +1 -1
  16. package/dist/cjs/p-toggle.js +1 -1
  17. package/dist/cjs/tailwind.js +2 -2
  18. package/dist/cjs/usePTableRowVirtualizer.js +1 -1
  19. package/dist/cjs/useSelectList.js +3 -3
  20. package/dist/es/chunks/p-date-picker.js +2 -2
  21. package/dist/es/chunks/p-dropdown-select.js +4 -4
  22. package/dist/es/chunks/p-inline-date-picker.js +1 -1
  23. package/dist/es/chunks/p-link.js +1 -1
  24. package/dist/es/chunks/p-select.js +1 -1
  25. package/dist/es/index.js +35 -35
  26. package/dist/es/p-btn.js +2 -2
  27. package/dist/es/p-checkbox.js +1 -1
  28. package/dist/es/p-chips.js +2 -2
  29. package/dist/es/p-input-number.js +3 -3
  30. package/dist/es/p-input-search.js +1 -1
  31. package/dist/es/p-loading.js +2 -2
  32. package/dist/es/p-modal.js +2 -2
  33. package/dist/es/p-skeleton-loader.js +1 -1
  34. package/dist/es/p-table-td.js +1 -1
  35. package/dist/es/p-toggle.js +1 -1
  36. package/dist/es/tailwind.js +2 -2
  37. package/dist/es/usePTableRowVirtualizer.js +1 -1
  38. package/dist/es/useSelectList.js +3 -3
  39. package/dist/squirrel/components/index.d.ts +13 -13
  40. package/dist/squirrel/components/p-btn/p-btn.vue.d.ts +2 -2
  41. package/dist/squirrel/components/p-card/p-card.vue.d.ts +3 -2
  42. package/dist/squirrel/components/p-checkbox/p-checkbox.vue.d.ts +2 -1
  43. package/dist/squirrel/components/p-close-btn/p-close-btn.vue.d.ts +1 -1
  44. package/dist/squirrel/components/p-date-picker/p-date-picker.vue.d.ts +2 -1
  45. package/dist/squirrel/components/p-drawer/p-drawer.vue.d.ts +1 -1
  46. package/dist/squirrel/components/p-dropdown-select/p-dropdown-select.vue.d.ts +7 -6
  47. package/dist/squirrel/components/p-file-upload/p-file-upload.vue.d.ts +1 -1
  48. package/dist/squirrel/components/p-icon/p-icon.vue.d.ts +2 -2
  49. package/dist/squirrel/components/p-info-icon/p-info-icon.vue.d.ts +2 -1
  50. package/dist/squirrel/components/p-input/p-input.vue.d.ts +1 -1
  51. package/dist/squirrel/components/p-input-number/p-input-number.vue.d.ts +1 -1
  52. package/dist/squirrel/components/p-input-percent/p-input-percent.vue.d.ts +1 -1
  53. package/dist/squirrel/components/p-input-search/p-input-search.vue.d.ts +2 -2
  54. package/dist/squirrel/components/p-link/p-link.vue.d.ts +2 -1
  55. package/dist/squirrel/components/p-modal/p-modal.vue.d.ts +2 -1
  56. package/dist/squirrel/components/p-pagination-info/p-pagination-info.vue.d.ts +2 -1
  57. package/dist/squirrel/components/p-ring-loader/p-ring-loader.vue.d.ts +1 -1
  58. package/dist/squirrel/components/p-select/p-select.vue.d.ts +3 -2
  59. package/dist/squirrel/components/p-select-btn/p-select-btn.vue.d.ts +3 -2
  60. package/dist/squirrel/components/p-select-list/p-select-list.vue.d.ts +6 -5
  61. package/dist/squirrel/components/p-select-pill/p-select-pill.vue.d.ts +1 -1
  62. package/dist/squirrel/components/p-table/p-table.vue.d.ts +3 -2
  63. package/dist/squirrel/components/p-table-loader/p-table-loader.vue.d.ts +1 -1
  64. package/dist/squirrel/components/p-table-sort/p-table-sort.vue.d.ts +1 -1
  65. package/dist/squirrel/components/p-table-td/p-table-td.vue.d.ts +2 -1
  66. package/dist/squirrel/components/p-tabs/p-tabs.vue.d.ts +2 -2
  67. package/dist/squirrel/components/p-textarea/p-textarea.vue.d.ts +1 -1
  68. package/dist/squirrel/components/p-toggle/p-toggle.vue.d.ts +1 -1
  69. package/dist/squirrel/index.d.ts +1 -1
  70. package/dist/squirrel/utils/index.d.ts +8 -8
  71. package/dist/squirrel/utils/inputClassesMixin.d.ts +1 -1
  72. package/dist/style.css +61 -61
  73. package/package.json +25 -25
  74. package/squirrel/components/index.ts +37 -37
  75. package/squirrel/components/p-action-bar/p-action-bar.spec.ts +1 -1
  76. package/squirrel/components/p-action-bar/p-action-bar.stories.js +2 -2
  77. package/squirrel/components/p-action-bar/p-action-bar.vue +1 -1
  78. package/squirrel/components/p-alert/p-alert.vue +1 -1
  79. package/squirrel/components/p-btn/p-btn.spec.js +2 -2
  80. package/squirrel/components/p-btn/p-btn.vue +4 -4
  81. package/squirrel/components/p-checkbox/p-checkbox.vue +1 -1
  82. package/squirrel/components/p-chips/p-chips.vue +1 -1
  83. package/squirrel/components/p-date-picker/p-date-picker.stories.js +1 -1
  84. package/squirrel/components/p-date-picker/p-date-picker.vue +3 -3
  85. package/squirrel/components/p-dropdown/p-dropdown.spec.js +1 -1
  86. package/squirrel/components/p-dropdown/p-dropdown.vue +1 -1
  87. package/squirrel/components/p-dropdown-select/p-dropdown-select.spec.js +4 -4
  88. package/squirrel/components/p-dropdown-select/p-dropdown-select.stories.js +2 -2
  89. package/squirrel/components/p-dropdown-select/p-dropdown-select.vue +8 -8
  90. package/squirrel/components/p-file-upload/p-file-upload.vue +2 -2
  91. package/squirrel/components/p-icon/p-icon.spec.js +1 -1
  92. package/squirrel/components/p-icon/p-icon.stories.js +1 -1
  93. package/squirrel/components/p-icon/p-icon.vue +2 -2
  94. package/squirrel/components/p-inline-date-picker/p-inline-date-picker.spec.js +1 -1
  95. package/squirrel/components/p-inline-date-picker/p-inline-date-picker.stories.js +1 -1
  96. package/squirrel/components/p-inline-date-picker/p-inline-date-picker.vue +3 -3
  97. package/squirrel/components/p-input/p-input.stories.js +1 -1
  98. package/squirrel/components/p-input/p-input.vue +1 -1
  99. package/squirrel/components/p-input-number/p-input-number.stories.js +1 -1
  100. package/squirrel/components/p-input-number/p-input-number.vue +3 -3
  101. package/squirrel/components/p-input-percent/p-input-percent.stories.js +1 -1
  102. package/squirrel/components/p-input-percent/p-input-percent.vue +1 -1
  103. package/squirrel/components/p-input-search/p-input-search.stories.js +1 -1
  104. package/squirrel/components/p-input-search/p-input-search.vue +1 -1
  105. package/squirrel/components/p-link/p-link.spec.js +1 -1
  106. package/squirrel/components/p-link/p-link.vue +1 -1
  107. package/squirrel/components/p-loading/p-loading.spec.js +2 -2
  108. package/squirrel/components/p-loading/p-loading.stories.js +2 -2
  109. package/squirrel/components/p-loading/p-loading.vue +1 -1
  110. package/squirrel/components/p-loading/usePLoading.ts +1 -1
  111. package/squirrel/components/p-modal/p-modal-basic.spec.js +1 -1
  112. package/squirrel/components/p-modal/p-modal-events.spec.js +1 -1
  113. package/squirrel/components/p-modal/p-modal-features.spec.js +1 -1
  114. package/squirrel/components/p-modal/p-modal.vue +3 -3
  115. package/squirrel/components/p-pagination/p-pagination.vue +1 -1
  116. package/squirrel/components/p-progress-bar/p-progess-bar.spec.js +1 -1
  117. package/squirrel/components/p-progress-bar/p-progress-bar.vue +1 -1
  118. package/squirrel/components/p-select/p-select.spec.js +1 -1
  119. package/squirrel/components/p-select/p-select.stories.js +1 -1
  120. package/squirrel/components/p-select/p-select.vue +1 -1
  121. package/squirrel/components/p-select-btn/p-select-btn.spec.js +1 -1
  122. package/squirrel/components/p-select-btn/p-select-btn.stories.js +1 -1
  123. package/squirrel/components/p-select-btn/p-select-btn.vue +1 -1
  124. package/squirrel/components/p-select-list/p-select-list.spec.js +4 -4
  125. package/squirrel/components/p-select-list/p-select-list.vue +5 -5
  126. package/squirrel/components/p-select-list/useSelectList.ts +3 -3
  127. package/squirrel/components/p-select-pill/p-select-pill.spec.js +1 -1
  128. package/squirrel/components/p-select-pill/p-select-pill.stories.js +2 -2
  129. package/squirrel/components/p-select-pill/p-select-pill.vue +1 -1
  130. package/squirrel/components/p-skeleton-loader/p-skeleton-loader.vue +1 -1
  131. package/squirrel/components/p-table/p-table.spec.js +2 -2
  132. package/squirrel/components/p-table/p-table.vue +4 -4
  133. package/squirrel/components/p-table/usePTableColResize.spec.js +1 -1
  134. package/squirrel/components/p-table/usePTableColResize.ts +1 -1
  135. package/squirrel/components/p-table/usePTableRowVirtualizer.ts +1 -1
  136. package/squirrel/components/p-table-sort/p-table-sort.spec.js +1 -1
  137. package/squirrel/components/p-table-sort/p-table-sort.stories.js +1 -1
  138. package/squirrel/components/p-table-sort/p-table-sort.vue +1 -1
  139. package/squirrel/components/p-table-td/p-table-td.spec.js +3 -3
  140. package/squirrel/components/p-table-td/p-table-td.stories.js +1 -1
  141. package/squirrel/components/p-table-td/p-table-td.vue +2 -2
  142. package/squirrel/components/p-tabs/p-tabs.vue +1 -1
  143. package/squirrel/components/p-textarea/p-textarea.stories.js +1 -1
  144. package/squirrel/components/p-textarea/p-textarea.vue +1 -1
  145. package/squirrel/components/p-toggle/p-toggle.stories.js +1 -1
  146. package/squirrel/components/p-toggle/p-toggle.vue +1 -1
  147. package/squirrel/composables/useInputClasses.spec.js +1 -1
  148. package/squirrel/index.ts +1 -1
  149. package/squirrel/utils/component.ts +1 -1
  150. package/squirrel/utils/index.ts +18 -18
  151. package/squirrel/utils/inputClassesMixin.ts +1 -1
  152. package/squirrel/utils/pagination.spec.js +2 -2
  153. package/squirrel/utils/sanitization.spec.js +1 -1
  154. package/squirrel/utils/tailwind.ts +3 -2
@@ -51,7 +51,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
51
51
  };
52
52
  }
53
53
  });
54
- const pCheckbox = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-01f2e2c0"]]);
54
+ const pCheckbox = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-81cd6154"]]);
55
55
  export {
56
56
  pCheckbox as default
57
57
  };
@@ -1,5 +1,5 @@
1
- import { defineComponent, openBlock, createElementBlock, createElementVNode, renderSlot, Fragment, renderList, toDisplayString, withDirectives, vShow } from "vue";
2
1
  import { isObject } from "lodash-es";
2
+ import { defineComponent, openBlock, createElementBlock, createElementVNode, renderSlot, Fragment, renderList, toDisplayString, withDirectives, vShow } from "vue";
3
3
  import { _ as _export_sfc } from "./chunks/_plugin-vue_export-helper.js";
4
4
  const _sfc_main = defineComponent({
5
5
  name: "PChips",
@@ -103,7 +103,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
103
103
  ], 512)
104
104
  ], 512);
105
105
  }
106
- const pChips = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-cb511035"]]);
106
+ const pChips = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-c4e84a46"]]);
107
107
  export {
108
108
  pChips as default
109
109
  };
@@ -1,9 +1,9 @@
1
1
  import PInfoIcon from "./p-info-icon.js";
2
2
  import inputClassesMixin from "./inputClassesMixin.js";
3
- import { useCurrencyInput } from "vue-currency-input";
4
- import { defineComponent, computed, watch, resolveComponent, openBlock, createElementBlock, normalizeClass, normalizeStyle, createElementVNode, renderSlot, toDisplayString, createCommentVNode, createBlock, mergeProps, withDirectives, vShow } from "vue";
5
- import { kebabCase } from "lodash-es";
6
3
  import { toNumberOrNull } from "./number.js";
4
+ import { kebabCase } from "lodash-es";
5
+ import { defineComponent, computed, watch, resolveComponent, openBlock, createElementBlock, normalizeClass, normalizeStyle, createElementVNode, renderSlot, toDisplayString, createCommentVNode, createBlock, mergeProps, withDirectives, vShow } from "vue";
6
+ import { useCurrencyInput } from "vue-currency-input";
7
7
  import { _ as _export_sfc } from "./chunks/_plugin-vue_export-helper.js";
8
8
  const ALL_OPTIONS = [
9
9
  "locale",
@@ -107,7 +107,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
107
107
  _: 1
108
108
  }, 16, ["modelValue", "size", "onKeydown"]);
109
109
  }
110
- const PInputSearch = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-60b13ffe"]]);
110
+ const PInputSearch = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-2674242c"]]);
111
111
  export {
112
112
  PInputSearch as default
113
113
  };
@@ -1,6 +1,6 @@
1
1
  import { defineComponent, ref, watch, toValue, onBeforeUnmount, openBlock, createBlock, Teleport, createVNode, Transition, withCtx, unref, createElementBlock, createElementVNode, normalizeStyle, resolveDynamicComponent, normalizeProps, mergeProps, normalizeClass, toDisplayString, createCommentVNode } from "vue";
2
- import { isComponent } from "./component.js";
3
2
  import { usePLoading } from "./usePLoading.js";
3
+ import { isComponent } from "./component.js";
4
4
  import { _ as _export_sfc } from "./chunks/_plugin-vue_export-helper.js";
5
5
  const _hoisted_1 = {
6
6
  key: 0,
@@ -81,7 +81,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
81
81
  };
82
82
  }
83
83
  });
84
- const pLoading = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-980d32e1"]]);
84
+ const pLoading = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-b4ee3729"]]);
85
85
  export {
86
86
  pLoading as default
87
87
  };
@@ -110,7 +110,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
110
110
  ],
111
111
  setup(__props, { emit: __emit }) {
112
112
  useCssVars((_ctx) => ({
113
- "6f065855": __props.maxWidth
113
+ "8621f24e": __props.maxWidth
114
114
  }));
115
115
  let animatingZIndex = 0;
116
116
  const emit = __emit;
@@ -367,7 +367,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
367
367
  };
368
368
  }
369
369
  });
370
- const pModal = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-dd6e68e1"]]);
370
+ const pModal = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-7a8f90b4"]]);
371
371
  export {
372
372
  pModal as default
373
373
  };
@@ -68,7 +68,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
68
68
  renderSlot(_ctx.$slots, "default", {}, void 0, true)
69
69
  ], 2);
70
70
  }
71
- const PSkeletonLoader = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-53e537dc"]]);
71
+ const PSkeletonLoader = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-3d77f34f"]]);
72
72
  export {
73
73
  PSkeletonLoader as default
74
74
  };
@@ -81,7 +81,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
81
81
  };
82
82
  }
83
83
  });
84
- const pTableTd = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-09e6d191"]]);
84
+ const pTableTd = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-c9978e26"]]);
85
85
  export {
86
86
  pTableTd as default
87
87
  };
@@ -110,7 +110,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
110
110
  ])
111
111
  ], 14, _hoisted_1);
112
112
  }
113
- const pToggle = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-7aa9c3e7"]]);
113
+ const pToggle = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-152f5bf8"]]);
114
114
  export {
115
115
  pToggle as default
116
116
  };
@@ -1,7 +1,7 @@
1
1
  var _a;
2
- import resolveConfig from "tailwindcss/resolveConfig";
3
- import { get } from "lodash-es";
4
2
  import { config as config$1 } from "./config.js";
3
+ import { get } from "lodash-es";
4
+ import resolveConfig from "tailwindcss/resolveConfig";
5
5
  const config = resolveConfig(config$1);
6
6
  const theme = config.theme;
7
7
  const colors = theme == null ? void 0 : theme.colors;
@@ -1,5 +1,5 @@
1
- import { ref, computed, isRef, unref, nextTick } from "vue";
2
1
  import { useVirtualizer } from "@tanstack/vue-virtual";
2
+ import { ref, computed, isRef, unref, nextTick } from "vue";
3
3
  const usePTableRowVirtualizer = (options) => {
4
4
  if (!options.value) {
5
5
  return {
@@ -1,9 +1,9 @@
1
- import { ref, computed, watch, onUnmounted, nextTick } from "vue";
2
- import { setupListKeyboardNavigation } from "./listKeyboardNavigation.js";
3
- import { cloneDeep, uniqBy } from "lodash-es";
4
1
  import { isObject } from "./object.js";
2
+ import { setupListKeyboardNavigation } from "./listKeyboardNavigation.js";
5
3
  import { toString } from "./string.js";
6
4
  import { useVirtualizer } from "@tanstack/vue-virtual";
5
+ import { cloneDeep, uniqBy } from "lodash-es";
6
+ import { ref, computed, watch, onUnmounted, nextTick } from "vue";
7
7
  const createInternalItems = (items) => {
8
8
  let arr = Array.isArray(items) ? items.slice() : [];
9
9
  if (arr.length && !isObject(arr[0])) {
@@ -1,6 +1,8 @@
1
+ import { type PActionBarAction } from './p-action-bar/p-action-bar.types';
1
2
  import PActionBar from './p-action-bar/p-action-bar.vue';
2
3
  import PAlert from './p-alert/p-alert.vue';
3
4
  import PAvatar from './p-avatar/p-avatar.vue';
5
+ import { type Size } from './p-btn/p-btn.types';
4
6
  import PBtn from './p-btn/p-btn.vue';
5
7
  import PCard from './p-card/p-card.vue';
6
8
  import PCheckbox from './p-checkbox/p-checkbox.vue';
@@ -10,8 +12,9 @@ import PDatePicker from './p-date-picker/p-date-picker.vue';
10
12
  import PDrawer from './p-drawer/p-drawer.vue';
11
13
  import PDropdown from './p-dropdown/p-dropdown.vue';
12
14
  import PDropdownSelect from './p-dropdown-select/p-dropdown-select.vue';
15
+ import { type FileUploadFile } from './p-file-upload/p-file-upload.types';
13
16
  import PFileUpload from './p-file-upload/p-file-upload.vue';
14
- import PFilterIcon from './p-table-header-cell/p-table-filter-icon.vue';
17
+ import { P_ICON_ALIASES, type PIconAlias } from './p-icon/p-icon.types';
15
18
  import PIcon from './p-icon/p-icon.vue';
16
19
  import PInfoIcon from './p-info-icon/p-info-icon.vue';
17
20
  import PInlineDatePicker from './p-inline-date-picker/p-inline-date-picker.vue';
@@ -21,7 +24,9 @@ import PInputPercent from './p-input-percent/p-input-percent.vue';
21
24
  import PInputSearch from './p-input-search/p-input-search.vue';
22
25
  import PLink from './p-link/p-link.vue';
23
26
  import PLoading from './p-loading/p-loading.vue';
27
+ import { usePLoading } from './p-loading/usePLoading';
24
28
  import PModal from './p-modal/p-modal.vue';
29
+ import { usePModal } from './p-modal/usePModal';
25
30
  import PPagination from './p-pagination/p-pagination.vue';
26
31
  import PPaginationInfo from './p-pagination-info/p-pagination-info.vue';
27
32
  import PProgressBar from './p-progress-bar/p-progress-bar.vue';
@@ -29,25 +34,20 @@ import PRingLoader from './p-ring-loader/p-ring-loader.vue';
29
34
  import PSelect from './p-select/p-select.vue';
30
35
  import PSelectBtn from './p-select-btn/p-select-btn.vue';
31
36
  import PSelectList from './p-select-list/p-select-list.vue';
37
+ import { useSelectList } from './p-select-list/useSelectList';
32
38
  import PSelectPill from './p-select-pill/p-select-pill.vue';
33
39
  import PSkeletonLoader from './p-skeleton-loader/p-skeleton-loader.vue';
40
+ import { colsInjectionKey, type HeaderCellAttrs, isColsResizableInjectionKey, isFirstColFixedInjectionKey, isLastColFixedInjectionKey, MIN_WIDTH_COL_RESIZE, type TableCol, type ThAttrs } from './p-table/p-table.types';
34
41
  import PTable from './p-table/p-table.vue';
42
+ import { usePTableColResize } from './p-table/usePTableColResize';
43
+ import { usePTableRowVirtualizer } from './p-table/usePTableRowVirtualizer';
44
+ import PFilterIcon from './p-table-header-cell/p-table-filter-icon.vue';
35
45
  import PTableHeaderCell from './p-table-header-cell/p-table-header-cell.vue';
36
46
  import PTableLoader from './p-table-loader/p-table-loader.vue';
47
+ import { SORTING_TYPES, type SortingType, type SortingTypeWithoutNoSorting } from './p-table-sort/p-table-sort.config';
37
48
  import PTableSort from './p-table-sort/p-table-sort.vue';
38
49
  import PTableTd from './p-table-td/p-table-td.vue';
39
50
  import PTabs from './p-tabs/p-tabs.vue';
40
51
  import PTextarea from './p-textarea/p-textarea.vue';
41
52
  import PToggle from './p-toggle/p-toggle.vue';
42
- import { type FileUploadFile } from './p-file-upload/p-file-upload.types';
43
- import { type HeaderCellAttrs, MIN_WIDTH_COL_RESIZE, type TableCol, type ThAttrs, colsInjectionKey, isColsResizableInjectionKey, isFirstColFixedInjectionKey, isLastColFixedInjectionKey } from './p-table/p-table.types';
44
- import { type PActionBarAction } from './p-action-bar/p-action-bar.types';
45
- import { type PIconAlias, P_ICON_ALIASES } from './p-icon/p-icon.types';
46
- import { SORTING_TYPES, type SortingType, type SortingTypeWithoutNoSorting } from './p-table-sort/p-table-sort.config';
47
- import { type Size } from './p-btn/p-btn.types';
48
- import { usePLoading } from './p-loading/usePLoading';
49
- import { usePModal } from './p-modal/usePModal';
50
- import { usePTableColResize } from './p-table/usePTableColResize';
51
- import { usePTableRowVirtualizer } from './p-table/usePTableRowVirtualizer';
52
- import { useSelectList } from './p-select-list/useSelectList';
53
- export { PActionBar, PActionBarAction, PAlert, PAvatar, PBtn, PCard, PCheckbox, PChips, PCloseBtn, PDatePicker, PDrawer, PDropdown, PDropdownSelect, PFileUpload, PFilterIcon, PIcon, PInfoIcon, PInlineDatePicker, PInput, PInputNumber, PInputPercent, PInputSearch, PLink, PLoading, PModal, PPagination, PPaginationInfo, PProgressBar, PRingLoader, PSelect, PSelectBtn, PSelectList, PSelectPill, PSkeletonLoader, PTable, PTableHeaderCell, PTableLoader, PTableSort, PTableTd, PTabs, PTextarea, PToggle, SORTING_TYPES, MIN_WIDTH_COL_RESIZE, P_ICON_ALIASES, colsInjectionKey, isColsResizableInjectionKey, isFirstColFixedInjectionKey, isLastColFixedInjectionKey, usePModal, usePTableColResize, usePTableRowVirtualizer, useSelectList, usePLoading, SortingType, SortingTypeWithoutNoSorting, Size, FileUploadFile, HeaderCellAttrs, TableCol, ThAttrs, PIconAlias, };
53
+ export { colsInjectionKey, FileUploadFile, HeaderCellAttrs, isColsResizableInjectionKey, isFirstColFixedInjectionKey, isLastColFixedInjectionKey, MIN_WIDTH_COL_RESIZE, P_ICON_ALIASES, PActionBar, PActionBarAction, PAlert, PAvatar, PBtn, PCard, PCheckbox, PChips, PCloseBtn, PDatePicker, PDrawer, PDropdown, PDropdownSelect, PFileUpload, PFilterIcon, PIcon, PIconAlias, PInfoIcon, PInlineDatePicker, PInput, PInputNumber, PInputPercent, PInputSearch, PLink, PLoading, PModal, PPagination, PPaginationInfo, PProgressBar, PRingLoader, PSelect, PSelectBtn, PSelectList, PSelectPill, PSkeletonLoader, PTable, PTableHeaderCell, PTableLoader, PTableSort, PTableTd, PTabs, PTextarea, PToggle, Size, SORTING_TYPES, SortingType, SortingTypeWithoutNoSorting, TableCol, ThAttrs, usePLoading, usePModal, usePTableColResize, usePTableRowVirtualizer, useSelectList, };
@@ -1,6 +1,6 @@
1
+ import { type Size } from './p-btn.types';
1
2
  import { type PropType } from 'vue';
2
3
  import { type RouteLocationRaw } from 'vue-router';
3
- import { type Size } from './p-btn.types';
4
4
  declare const BUTTON_TYPES: {
5
5
  readonly PRIMARY: "primary";
6
6
  readonly SECONDARY: "secondary";
@@ -162,7 +162,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
162
162
  size: number;
163
163
  color: string;
164
164
  duration: string;
165
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
165
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, HTMLDivElement>;
166
166
  RouterLink: import("vue-router")._RouterLinkI;
167
167
  }, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
168
168
  export default _default;
@@ -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;
@@ -8,6 +8,7 @@ type Props = {
8
8
  timezone?: string;
9
9
  };
10
10
  declare function __VLS_template(): {
11
+ attrs: Partial<{}>;
11
12
  slots: {
12
13
  label?(_: {
13
14
  label: string;
@@ -15,7 +16,7 @@ declare function __VLS_template(): {
15
16
  }): any;
16
17
  };
17
18
  refs: {};
18
- attrs: Partial<{}>;
19
+ rootEl: any;
19
20
  };
20
21
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
21
22
  declare const __VLS_component: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
@@ -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;
@@ -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<{}>, {
@@ -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<{
@@ -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;