@pequity/squirrel 6.0.2 → 6.0.4

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 (32) hide show
  1. package/dist/cjs/chunks/p-date-picker.js +1 -0
  2. package/dist/cjs/chunks/p-icon.js +24 -221
  3. package/dist/cjs/chunks/p-inline-date-picker.js +1 -0
  4. package/dist/cjs/p-icon.js +27 -2
  5. package/dist/cjs/p-loading.js +2 -2
  6. package/dist/cjs/p-modal.js +3 -3
  7. package/dist/es/chunks/p-date-picker.js +1 -0
  8. package/dist/es/chunks/p-icon.js +25 -222
  9. package/dist/es/chunks/p-inline-date-picker.js +1 -0
  10. package/dist/es/p-icon.js +27 -2
  11. package/dist/es/p-loading.js +2 -2
  12. package/dist/es/p-modal.js +3 -3
  13. package/dist/squirrel/components/p-checkbox/p-checkbox.vue.d.ts +1 -1
  14. package/dist/squirrel/components/p-date-picker/p-date-picker.vue.d.ts +1 -0
  15. package/dist/squirrel/components/p-drawer/p-drawer.vue.d.ts +1 -1
  16. package/dist/squirrel/components/p-dropdown-select/p-dropdown-select.vue.d.ts +192 -1
  17. package/dist/squirrel/components/p-file-upload/p-file-upload.vue.d.ts +3 -1
  18. package/dist/squirrel/components/p-icon/p-icon.types.d.ts +26 -1
  19. package/dist/squirrel/components/p-icon/p-icon.vue.d.ts +3 -3
  20. package/dist/squirrel/components/p-loading/p-loading.vue.d.ts +3 -1
  21. package/dist/squirrel/components/p-modal/p-modal.vue.d.ts +7 -4
  22. package/dist/squirrel/components/p-pagination-info/p-pagination-info.vue.d.ts +1 -1
  23. package/dist/squirrel/components/p-select-list/p-select-list.vue.d.ts +191 -1
  24. package/dist/squirrel/components/p-table/p-table.vue.d.ts +4 -1
  25. package/dist/squirrel.css +20 -20
  26. package/package.json +19 -19
  27. package/squirrel/components/p-dropdown/p-dropdown.vue +1 -0
  28. package/squirrel/components/p-icon/p-icon.stories.js +1 -1
  29. package/squirrel/components/p-icon/p-icon.types.ts +26 -1
  30. package/squirrel/components/p-icon/p-icon.vue +4 -4
  31. package/squirrel/components/p-loading/p-loading.vue +1 -1
  32. package/squirrel/components/p-modal/p-modal.vue +1 -1
@@ -1,7 +1,7 @@
1
1
  var __defProp = Object.defineProperty;
2
2
  var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
3
3
  var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
4
- import { defineComponent, openBlock, createElementBlock, normalizeProps, guardReactiveProps, unref } from "vue";
4
+ import { defineComponent, openBlock, createElementBlock, unref } from "vue";
5
5
  import { P_ICON_ALIASES } from "../p-icon.js";
6
6
  /**
7
7
  * (c) Iconify
@@ -12,7 +12,7 @@ import { P_ICON_ALIASES } from "../p-icon.js";
12
12
  * Licensed under MIT.
13
13
  *
14
14
  * @license MIT
15
- * @version 2.2.0
15
+ * @version 2.3.0
16
16
  */
17
17
  const defaultIconDimensions = Object.freeze(
18
18
  {
@@ -888,193 +888,6 @@ function sendAPIQuery(target, query, callback) {
888
888
  }
889
889
  return redundancy.query(query, send2, callback)().abort;
890
890
  }
891
- const browserCacheVersion = "iconify2";
892
- const browserCachePrefix = "iconify";
893
- const browserCacheCountKey = browserCachePrefix + "-count";
894
- const browserCacheVersionKey = browserCachePrefix + "-version";
895
- const browserStorageHour = 36e5;
896
- const browserStorageCacheExpiration = 168;
897
- const browserStorageLimit = 50;
898
- function getStoredItem(func, key) {
899
- try {
900
- return func.getItem(key);
901
- } catch (err) {
902
- }
903
- }
904
- function setStoredItem(func, key, value) {
905
- try {
906
- func.setItem(key, value);
907
- return true;
908
- } catch (err) {
909
- }
910
- }
911
- function removeStoredItem(func, key) {
912
- try {
913
- func.removeItem(key);
914
- } catch (err) {
915
- }
916
- }
917
- function setBrowserStorageItemsCount(storage2, value) {
918
- return setStoredItem(storage2, browserCacheCountKey, value.toString());
919
- }
920
- function getBrowserStorageItemsCount(storage2) {
921
- return parseInt(getStoredItem(storage2, browserCacheCountKey)) || 0;
922
- }
923
- const browserStorageConfig = {
924
- local: true,
925
- session: true
926
- };
927
- const browserStorageEmptyItems = {
928
- local: /* @__PURE__ */ new Set(),
929
- session: /* @__PURE__ */ new Set()
930
- };
931
- let browserStorageStatus = false;
932
- function setBrowserStorageStatus(status) {
933
- browserStorageStatus = status;
934
- }
935
- let _window = typeof window === "undefined" ? {} : window;
936
- function getBrowserStorage(key) {
937
- const attr = key + "Storage";
938
- try {
939
- if (_window && _window[attr] && typeof _window[attr].length === "number") {
940
- return _window[attr];
941
- }
942
- } catch (err) {
943
- }
944
- browserStorageConfig[key] = false;
945
- }
946
- function iterateBrowserStorage(key, callback) {
947
- const func = getBrowserStorage(key);
948
- if (!func) {
949
- return;
950
- }
951
- const version = getStoredItem(func, browserCacheVersionKey);
952
- if (version !== browserCacheVersion) {
953
- if (version) {
954
- const total2 = getBrowserStorageItemsCount(func);
955
- for (let i = 0; i < total2; i++) {
956
- removeStoredItem(func, browserCachePrefix + i.toString());
957
- }
958
- }
959
- setStoredItem(func, browserCacheVersionKey, browserCacheVersion);
960
- setBrowserStorageItemsCount(func, 0);
961
- return;
962
- }
963
- const minTime = Math.floor(Date.now() / browserStorageHour) - browserStorageCacheExpiration;
964
- const parseItem = (index) => {
965
- const name = browserCachePrefix + index.toString();
966
- const item = getStoredItem(func, name);
967
- if (typeof item !== "string") {
968
- return;
969
- }
970
- try {
971
- const data = JSON.parse(item);
972
- if (typeof data === "object" && typeof data.cached === "number" && data.cached > minTime && typeof data.provider === "string" && typeof data.data === "object" && typeof data.data.prefix === "string" && // Valid item: run callback
973
- callback(data, index)) {
974
- return true;
975
- }
976
- } catch (err) {
977
- }
978
- removeStoredItem(func, name);
979
- };
980
- let total = getBrowserStorageItemsCount(func);
981
- for (let i = total - 1; i >= 0; i--) {
982
- if (!parseItem(i)) {
983
- if (i === total - 1) {
984
- total--;
985
- setBrowserStorageItemsCount(func, total);
986
- } else {
987
- browserStorageEmptyItems[key].add(i);
988
- }
989
- }
990
- }
991
- }
992
- function initBrowserStorage() {
993
- if (browserStorageStatus) {
994
- return;
995
- }
996
- setBrowserStorageStatus(true);
997
- for (const key in browserStorageConfig) {
998
- iterateBrowserStorage(key, (item) => {
999
- const iconSet = item.data;
1000
- const provider = item.provider;
1001
- const prefix = iconSet.prefix;
1002
- const storage2 = getStorage(
1003
- provider,
1004
- prefix
1005
- );
1006
- if (!addIconSet(storage2, iconSet).length) {
1007
- return false;
1008
- }
1009
- const lastModified = iconSet.lastModified || -1;
1010
- storage2.lastModifiedCached = storage2.lastModifiedCached ? Math.min(storage2.lastModifiedCached, lastModified) : lastModified;
1011
- return true;
1012
- });
1013
- }
1014
- }
1015
- function updateLastModified(storage2, lastModified) {
1016
- const lastValue = storage2.lastModifiedCached;
1017
- if (
1018
- // Matches or newer
1019
- lastValue && lastValue >= lastModified
1020
- ) {
1021
- return lastValue === lastModified;
1022
- }
1023
- storage2.lastModifiedCached = lastModified;
1024
- if (lastValue) {
1025
- for (const key in browserStorageConfig) {
1026
- iterateBrowserStorage(key, (item) => {
1027
- const iconSet = item.data;
1028
- return item.provider !== storage2.provider || iconSet.prefix !== storage2.prefix || iconSet.lastModified === lastModified;
1029
- });
1030
- }
1031
- }
1032
- return true;
1033
- }
1034
- function storeInBrowserStorage(storage2, data) {
1035
- if (!browserStorageStatus) {
1036
- initBrowserStorage();
1037
- }
1038
- function store(key) {
1039
- let func;
1040
- if (!browserStorageConfig[key] || !(func = getBrowserStorage(key))) {
1041
- return;
1042
- }
1043
- const set = browserStorageEmptyItems[key];
1044
- let index;
1045
- if (set.size) {
1046
- set.delete(index = Array.from(set).shift());
1047
- } else {
1048
- index = getBrowserStorageItemsCount(func);
1049
- if (index >= browserStorageLimit || !setBrowserStorageItemsCount(func, index + 1)) {
1050
- return;
1051
- }
1052
- }
1053
- const item = {
1054
- cached: Math.floor(Date.now() / browserStorageHour),
1055
- provider: storage2.provider,
1056
- data
1057
- };
1058
- return setStoredItem(
1059
- func,
1060
- browserCachePrefix + index.toString(),
1061
- JSON.stringify(item)
1062
- );
1063
- }
1064
- if (data.lastModified && !updateLastModified(storage2, data.lastModified)) {
1065
- return;
1066
- }
1067
- if (!Object.keys(data.icons).length) {
1068
- return;
1069
- }
1070
- if (data.not_found) {
1071
- data = Object.assign({}, data);
1072
- delete data.not_found;
1073
- }
1074
- if (!store("local")) {
1075
- store("session");
1076
- }
1077
- }
1078
891
  function emptyCallback() {
1079
892
  }
1080
893
  function loadedNewIcons(storage2) {
@@ -1097,7 +910,7 @@ function checkIconNamesForAPI(icons) {
1097
910
  invalid
1098
911
  };
1099
912
  }
1100
- function parseLoaderResponse(storage2, icons, data, isAPIResponse) {
913
+ function parseLoaderResponse(storage2, icons, data) {
1101
914
  function checkMissing() {
1102
915
  const pending = storage2.pendingIcons;
1103
916
  icons.forEach((name) => {
@@ -1116,9 +929,6 @@ function parseLoaderResponse(storage2, icons, data, isAPIResponse) {
1116
929
  checkMissing();
1117
930
  return;
1118
931
  }
1119
- if (isAPIResponse) {
1120
- storeInBrowserStorage(storage2, data);
1121
- }
1122
932
  } catch (err) {
1123
933
  console.error(err);
1124
934
  }
@@ -1158,7 +968,7 @@ function loadNewIcons(storage2, icons) {
1158
968
  parsePossiblyAsyncResponse(
1159
969
  storage2.loadIcons(icons2, prefix, provider),
1160
970
  (data) => {
1161
- parseLoaderResponse(storage2, icons2, data, false);
971
+ parseLoaderResponse(storage2, icons2, data);
1162
972
  }
1163
973
  );
1164
974
  return;
@@ -1173,27 +983,27 @@ function loadNewIcons(storage2, icons) {
1173
983
  [name]: data
1174
984
  }
1175
985
  } : null;
1176
- parseLoaderResponse(storage2, [name], iconSet, false);
986
+ parseLoaderResponse(storage2, [name], iconSet);
1177
987
  });
1178
988
  });
1179
989
  return;
1180
990
  }
1181
991
  const { valid, invalid } = checkIconNamesForAPI(icons2);
1182
992
  if (invalid.length) {
1183
- parseLoaderResponse(storage2, invalid, null, false);
993
+ parseLoaderResponse(storage2, invalid, null);
1184
994
  }
1185
995
  if (!valid.length) {
1186
996
  return;
1187
997
  }
1188
998
  const api = prefix.match(matchIconName) ? getAPIModule(provider) : null;
1189
999
  if (!api) {
1190
- parseLoaderResponse(storage2, valid, null, false);
1000
+ parseLoaderResponse(storage2, valid, null);
1191
1001
  return;
1192
1002
  }
1193
1003
  const params = api.prepare(provider, prefix, valid);
1194
1004
  params.forEach((item) => {
1195
1005
  sendAPIQuery(provider, item, (data) => {
1196
- parseLoaderResponse(storage2, item.icons, data, true);
1006
+ parseLoaderResponse(storage2, item.icons, data);
1197
1007
  });
1198
1008
  });
1199
1009
  });
@@ -1683,19 +1493,6 @@ function setCustomIconsLoader$1(loader, prefix, provider) {
1683
1493
  function setCustomIconLoader$1(loader, prefix, provider) {
1684
1494
  getStorage(provider || "", prefix).loadIcon = loader;
1685
1495
  }
1686
- function toggleBrowserCache(storage2, value) {
1687
- switch (storage2) {
1688
- case "local":
1689
- case "session":
1690
- browserStorageConfig[storage2] = value;
1691
- break;
1692
- case "all":
1693
- for (const key in browserStorageConfig) {
1694
- browserStorageConfig[key] = value;
1695
- }
1696
- break;
1697
- }
1698
- }
1699
1496
  const nodeAttr = "data-style";
1700
1497
  let customStyle = "";
1701
1498
  function appendCustomStyle(style) {
@@ -1713,15 +1510,14 @@ function updateStyle(parent, inline) {
1713
1510
  function exportFunctions() {
1714
1511
  setAPIModule("", fetchAPIModule);
1715
1512
  allowSimpleNames(true);
1716
- let _window2;
1513
+ let _window;
1717
1514
  try {
1718
- _window2 = window;
1515
+ _window = window;
1719
1516
  } catch (err) {
1720
1517
  }
1721
- if (_window2) {
1722
- initBrowserStorage();
1723
- if (_window2.IconifyPreload !== void 0) {
1724
- const preload = _window2.IconifyPreload;
1518
+ if (_window) {
1519
+ if (_window.IconifyPreload !== void 0) {
1520
+ const preload = _window.IconifyPreload;
1725
1521
  const err = "Invalid IconifyPreload syntax.";
1726
1522
  if (typeof preload === "object" && preload !== null) {
1727
1523
  (preload instanceof Array ? preload : [preload]).forEach((item) => {
@@ -1740,8 +1536,8 @@ function exportFunctions() {
1740
1536
  });
1741
1537
  }
1742
1538
  }
1743
- if (_window2.IconifyProviders !== void 0) {
1744
- const providers = _window2.IconifyProviders;
1539
+ if (_window.IconifyProviders !== void 0) {
1540
+ const providers = _window.IconifyProviders;
1745
1541
  if (typeof providers === "object" && providers !== null) {
1746
1542
  for (const key in providers) {
1747
1543
  const err = "IconifyProviders[" + key + "] is invalid.";
@@ -1769,8 +1565,12 @@ function exportFunctions() {
1769
1565
  listAPIProviders
1770
1566
  };
1771
1567
  return {
1772
- enableCache: (storage2) => toggleBrowserCache(storage2, true),
1773
- disableCache: (storage2) => toggleBrowserCache(storage2, false),
1568
+ // eslint-disable-next-line @typescript-eslint/no-unused-vars
1569
+ enableCache: (storage2) => {
1570
+ },
1571
+ // eslint-disable-next-line @typescript-eslint/no-unused-vars
1572
+ disableCache: (storage2) => {
1573
+ },
1774
1574
  iconLoaded: iconLoaded$1,
1775
1575
  iconExists: iconLoaded$1,
1776
1576
  // deprecated, kept to avoid breaking changes
@@ -2269,6 +2069,7 @@ function defineIconifyIcon(name = "iconify-icon") {
2269
2069
  return IconifyIcon;
2270
2070
  }
2271
2071
  defineIconifyIcon() || exportFunctions();
2072
+ const _hoisted_1 = ["icon"];
2272
2073
  const _sfc_main = /* @__PURE__ */ defineComponent({
2273
2074
  ...{
2274
2075
  name: "PIcon"
@@ -2280,7 +2081,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
2280
2081
  setup(__props) {
2281
2082
  const isPIcon = (icon) => !!P_ICON_ALIASES[icon];
2282
2083
  return (_ctx, _cache) => {
2283
- return openBlock(), createElementBlock("iconify-icon", normalizeProps(guardReactiveProps({ ..._ctx.$props, icon: isPIcon(_ctx.icon) ? unref(P_ICON_ALIASES)[_ctx.icon] : _ctx.icon })), null, 16);
2084
+ return openBlock(), createElementBlock("iconify-icon", {
2085
+ icon: isPIcon(_ctx.icon) ? unref(P_ICON_ALIASES)[_ctx.icon] : _ctx.icon
2086
+ }, null, 8, _hoisted_1);
2284
2087
  };
2285
2088
  }
2286
2089
  });
@@ -42,6 +42,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
42
42
  hideInputIcon: { type: Boolean },
43
43
  state: { type: Boolean },
44
44
  clearable: { type: Boolean },
45
+ alwaysClearable: { type: Boolean },
45
46
  autoApply: { type: Boolean, default: true },
46
47
  filters: {},
47
48
  disableMonthYearSelect: { type: Boolean },
package/dist/es/p-icon.js CHANGED
@@ -1,8 +1,33 @@
1
1
  const P_ICON_ALIASES = {
2
2
  delete: "octicon:trash-24",
3
3
  edit: "simple-line-icons:pencil",
4
- send: "fa:paper-plane",
5
- settings: "heroicons:cog-8-tooth-20-solid"
4
+ send: "mingcute:send-plane-fill",
5
+ settings: "heroicons:cog-8-tooth-20-solid",
6
+ empty: "ph:empty",
7
+ "chevron-left": "material-symbols:chevron-left-rounded",
8
+ "chevron-right": "material-symbols:chevron-right-rounded",
9
+ "chevron-up": "ph:caret-up",
10
+ "chevron-down": "ph:caret-down",
11
+ "ok-circle": "material-symbols:check-circle",
12
+ "cancel-circle": "material-symbols:cancel",
13
+ ok: "material-symbols:check",
14
+ cancel: "material-symbols:close",
15
+ "ok-bold": "fa:check",
16
+ "cancel-bold": "fa:close",
17
+ archive: "solar:archive-outline",
18
+ lock: "material-symbols:lock",
19
+ "drag-horizontal": "ci:drag-horizontal",
20
+ email: "tabler:mail-filled",
21
+ location: "gridicons:location",
22
+ calendar: "mdi:calendar-today",
23
+ save: "material-symbols:save-rounded",
24
+ copy: "ph:copy",
25
+ plus: "ic:outline-plus",
26
+ add: "ic:outline-plus",
27
+ more: "lineicons:more-alt",
28
+ filters: "mage:filter",
29
+ "bar-chart": "material-symbols:bar-chart-4-bars-rounded",
30
+ list: "material-symbols:format-list-bulleted"
6
31
  };
7
32
  export {
8
33
  P_ICON_ALIASES
@@ -4,7 +4,7 @@ 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,
7
- class: "fixed left-0 top-0 z-[120] flex w-full justify-center",
7
+ class: "fixed left-0 top-0 z-[9999] flex w-full justify-center",
8
8
  "aria-live": "polite",
9
9
  "aria-busy": "true"
10
10
  };
@@ -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-b4ee3729"]]);
84
+ const pLoading = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-245e3308"]]);
85
85
  export {
86
86
  pLoading as default
87
87
  };
@@ -113,7 +113,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
113
113
  ],
114
114
  setup(__props, { emit: __emit }) {
115
115
  useCssVars((_ctx) => ({
116
- "4895a587": __props.maxWidth
116
+ "9a05239e": __props.maxWidth
117
117
  }));
118
118
  let animatingZIndex = 0;
119
119
  const emit = __emit;
@@ -355,7 +355,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
355
355
  ], 10, _hoisted_8)
356
356
  ], true),
357
357
  renderSlot(_ctx.$slots, "footer-wrapper", {}, () => [
358
- _ctx.$slots["footer"] ? (openBlock(), createElementBlock("div", _hoisted_9, [
358
+ _ctx.$slots.footer ? (openBlock(), createElementBlock("div", _hoisted_9, [
359
359
  renderSlot(_ctx.$slots, "footer", {}, void 0, true)
360
360
  ])) : createCommentVNode("", true)
361
361
  ], true)
@@ -370,7 +370,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
370
370
  };
371
371
  }
372
372
  });
373
- const pModal = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-5fd440a3"]]);
373
+ const pModal = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-c3379c94"]]);
374
374
  export {
375
375
  pModal as default
376
376
  };
@@ -1,7 +1,7 @@
1
1
  declare function __VLS_template(): {
2
2
  attrs: Partial<{}>;
3
3
  slots: {
4
- "label-before"?(_: {}): any;
4
+ 'label-before'?(_: {}): any;
5
5
  label?(_: {}): any;
6
6
  };
7
7
  refs: {};
@@ -30,6 +30,7 @@ declare const _default: import("vue").DefineComponent<__VLS_PublicProps, {}, {},
30
30
  rangeSeparator?: string;
31
31
  selectOnFocus?: boolean;
32
32
  format?: string | string[] | ((value: string) => Date | null);
33
+ escClose?: boolean;
33
34
  };
34
35
  hideOffsetDates: boolean;
35
36
  modelType: "timestamp" | "iso" | "format" | string;
@@ -157,8 +157,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
157
157
  zIndex: number;
158
158
  width: string;
159
159
  title: string;
160
- position: string;
161
160
  disabled: boolean;
161
+ position: string;
162
162
  modelValue: boolean;
163
163
  errorMsg: string;
164
164
  appendTo: string;
@@ -503,7 +503,198 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
503
503
  placeholderSearch: string;
504
504
  selectedTopShown: boolean;
505
505
  disabledBy: string;
506
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
506
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {
507
+ formControl: HTMLDivElement;
508
+ button: HTMLButtonElement;
509
+ actionsContainer: HTMLDivElement;
510
+ inputSearch: import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("vue").ExtractPropTypes<{
511
+ modelValue: {
512
+ type: StringConstructor;
513
+ default: string;
514
+ };
515
+ size: {
516
+ type: PropType<import("../..").InputSize>;
517
+ default: string;
518
+ validator(value: import("../..").InputSize): boolean;
519
+ };
520
+ showEnterIcon: {
521
+ type: BooleanConstructor;
522
+ default: boolean;
523
+ };
524
+ }>> & Readonly<{
525
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
526
+ onEnter?: ((...args: any[]) => any) | undefined;
527
+ }>, {}, {
528
+ query: string;
529
+ showEnterIconOnFocus: boolean;
530
+ }, {
531
+ searchIconClasses(): string;
532
+ enterIconClasses(): string;
533
+ clearIconClasses(): string;
534
+ }, {
535
+ clearSearch(): void;
536
+ keydownEnter(): void;
537
+ }, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "enter")[], import("vue").PublicProps, {
538
+ size: "sm" | "md" | "lg";
539
+ modelValue: string;
540
+ showEnterIcon: boolean;
541
+ }, true, {}, {}, {
542
+ PInput: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
543
+ modelValue: {
544
+ type: (StringConstructor | NumberConstructor)[];
545
+ default: string;
546
+ };
547
+ type: {
548
+ type: PropType<string>;
549
+ default: string;
550
+ validator(value: string): boolean;
551
+ };
552
+ label: {
553
+ type: StringConstructor;
554
+ default: string;
555
+ };
556
+ errorMsg: {
557
+ type: StringConstructor;
558
+ default: string;
559
+ };
560
+ required: {
561
+ type: BooleanConstructor;
562
+ default: boolean;
563
+ };
564
+ rounded: {
565
+ type: BooleanConstructor;
566
+ default: boolean;
567
+ };
568
+ }>, {}, {}, {
569
+ attrs(): {
570
+ [x: string]: unknown;
571
+ };
572
+ style(): StyleValue;
573
+ }, {}, import("vue").DefineComponent<import("vue").ExtractPropTypes<{
574
+ size: {
575
+ type: PropType<import("../..").InputSize>;
576
+ default: string;
577
+ validator(value: import("../..").InputSize): boolean;
578
+ };
579
+ errorMsg: {
580
+ type: StringConstructor;
581
+ default: string;
582
+ };
583
+ required: {
584
+ type: BooleanConstructor;
585
+ default: boolean;
586
+ };
587
+ rounded: {
588
+ type: BooleanConstructor;
589
+ default: boolean;
590
+ };
591
+ }>, {}, {
592
+ errorMsgClasses: string;
593
+ }, {
594
+ inputClasses(): string;
595
+ labelClasses(): string;
596
+ selectClasses(): string;
597
+ textareaClasses(): string;
598
+ }, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
599
+ size: {
600
+ type: PropType<import("../..").InputSize>;
601
+ default: string;
602
+ validator(value: import("../..").InputSize): boolean;
603
+ };
604
+ errorMsg: {
605
+ type: StringConstructor;
606
+ default: string;
607
+ };
608
+ required: {
609
+ type: BooleanConstructor;
610
+ default: boolean;
611
+ };
612
+ rounded: {
613
+ type: BooleanConstructor;
614
+ default: boolean;
615
+ };
616
+ }>> & Readonly<{}>, {
617
+ size: "sm" | "md" | "lg";
618
+ rounded: boolean;
619
+ required: boolean;
620
+ errorMsg: string;
621
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, import("vue").ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
622
+ modelValue: {
623
+ type: (StringConstructor | NumberConstructor)[];
624
+ default: string;
625
+ };
626
+ type: {
627
+ type: PropType<string>;
628
+ default: string;
629
+ validator(value: string): boolean;
630
+ };
631
+ label: {
632
+ type: StringConstructor;
633
+ default: string;
634
+ };
635
+ errorMsg: {
636
+ type: StringConstructor;
637
+ default: string;
638
+ };
639
+ required: {
640
+ type: BooleanConstructor;
641
+ default: boolean;
642
+ };
643
+ rounded: {
644
+ type: BooleanConstructor;
645
+ default: boolean;
646
+ };
647
+ }>> & Readonly<{
648
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
649
+ }>, {
650
+ type: string;
651
+ label: string;
652
+ rounded: boolean;
653
+ required: boolean;
654
+ modelValue: string | number;
655
+ errorMsg: string;
656
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
657
+ } & import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
658
+ P: {};
659
+ B: {};
660
+ D: {};
661
+ C: {};
662
+ M: {};
663
+ Defaults: {};
664
+ }, Readonly<import("vue").ExtractPropTypes<{
665
+ modelValue: {
666
+ type: StringConstructor;
667
+ default: string;
668
+ };
669
+ size: {
670
+ type: PropType<import("../..").InputSize>;
671
+ default: string;
672
+ validator(value: import("../..").InputSize): boolean;
673
+ };
674
+ showEnterIcon: {
675
+ type: BooleanConstructor;
676
+ default: boolean;
677
+ };
678
+ }>> & Readonly<{
679
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
680
+ onEnter?: ((...args: any[]) => any) | undefined;
681
+ }>, {}, {
682
+ query: string;
683
+ showEnterIconOnFocus: boolean;
684
+ }, {
685
+ searchIconClasses(): string;
686
+ enterIconClasses(): string;
687
+ clearIconClasses(): string;
688
+ }, {
689
+ clearSearch(): void;
690
+ keydownEnter(): void;
691
+ }, {
692
+ size: "sm" | "md" | "lg";
693
+ modelValue: string;
694
+ showEnterIcon: boolean;
695
+ }> | null;
696
+ virtualizerRef: HTMLDivElement;
697
+ }, any>;
507
698
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
508
699
  export default _default;
509
700
  type __VLS_WithTemplateSlots<T, S> = T & {
@@ -100,5 +100,7 @@ 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, {}, HTMLDivElement>;
103
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {
104
+ fileInputRef: HTMLInputElement;
105
+ }, HTMLDivElement>;
104
106
  export default _default;