@pequity/squirrel 6.0.3 → 6.0.5
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.
- package/dist/cjs/chunks/p-date-picker.js +1 -0
- package/dist/cjs/chunks/p-icon.js +20 -220
- package/dist/cjs/chunks/p-inline-date-picker.js +1 -0
- package/dist/cjs/chunks/p-select-btn.js +3 -3
- package/dist/cjs/p-loading.js +2 -2
- package/dist/cjs/p-modal.js +3 -3
- package/dist/es/chunks/p-date-picker.js +1 -0
- package/dist/es/chunks/p-icon.js +20 -220
- package/dist/es/chunks/p-inline-date-picker.js +1 -0
- package/dist/es/chunks/p-select-btn.js +3 -3
- package/dist/es/p-loading.js +2 -2
- package/dist/es/p-modal.js +3 -3
- package/dist/squirrel/components/p-checkbox/p-checkbox.vue.d.ts +1 -1
- package/dist/squirrel/components/p-date-picker/p-date-picker.vue.d.ts +1 -0
- package/dist/squirrel/components/p-drawer/p-drawer.vue.d.ts +1 -1
- package/dist/squirrel/components/p-dropdown-select/p-dropdown-select.vue.d.ts +192 -1
- package/dist/squirrel/components/p-file-upload/p-file-upload.vue.d.ts +3 -1
- package/dist/squirrel/components/p-loading/p-loading.vue.d.ts +3 -1
- package/dist/squirrel/components/p-modal/p-modal.vue.d.ts +7 -4
- package/dist/squirrel/components/p-pagination-info/p-pagination-info.vue.d.ts +1 -1
- package/dist/squirrel/components/p-select-list/p-select-list.vue.d.ts +191 -1
- package/dist/squirrel/components/p-table/p-table.vue.d.ts +4 -1
- package/dist/squirrel.css +20 -20
- package/package.json +19 -19
- package/squirrel/components/p-dropdown/p-dropdown.vue +1 -0
- package/squirrel/components/p-loading/p-loading.vue +1 -1
- package/squirrel/components/p-modal/p-modal.vue +1 -1
- package/squirrel/components/p-select-btn/p-select-btn.spec.js +18 -0
- package/squirrel/components/p-select-btn/p-select-btn.vue +3 -3
package/dist/es/chunks/p-icon.js
CHANGED
|
@@ -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.
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
1513
|
+
let _window;
|
|
1717
1514
|
try {
|
|
1718
|
-
|
|
1515
|
+
_window = window;
|
|
1719
1516
|
} catch (err) {
|
|
1720
1517
|
}
|
|
1721
|
-
if (
|
|
1722
|
-
|
|
1723
|
-
|
|
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 (
|
|
1744
|
-
const providers =
|
|
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
|
-
|
|
1773
|
-
|
|
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
|
|
@@ -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 },
|
|
@@ -70,9 +70,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
70
70
|
type: "secondary-outline-blue",
|
|
71
71
|
disabled: item.disabled,
|
|
72
72
|
class: normalizeClass({
|
|
73
|
-
"rounded-none": index !== 0 && index !== _ctx.items.length - 1,
|
|
74
|
-
"rounded-br-none rounded-tr-none": index === 0,
|
|
75
|
-
"rounded-bl-none rounded-tl-none": index === _ctx.items.length - 1,
|
|
73
|
+
"rounded-none": index !== 0 && index !== _ctx.items.length - 1 && _ctx.items.length > 1,
|
|
74
|
+
"rounded-br-none rounded-tr-none": index === 0 && _ctx.items.length > 1,
|
|
75
|
+
"rounded-bl-none rounded-tl-none": index === _ctx.items.length - 1 && _ctx.items.length > 1,
|
|
76
76
|
"-mr-0.5": index !== _ctx.items.length - 1,
|
|
77
77
|
"flex-1": _ctx.grow
|
|
78
78
|
}),
|
package/dist/es/p-loading.js
CHANGED
|
@@ -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-[
|
|
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-
|
|
84
|
+
const pLoading = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-245e3308"]]);
|
|
85
85
|
export {
|
|
86
86
|
pLoading as default
|
|
87
87
|
};
|
package/dist/es/p-modal.js
CHANGED
|
@@ -113,7 +113,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
113
113
|
],
|
|
114
114
|
setup(__props, { emit: __emit }) {
|
|
115
115
|
useCssVars((_ctx) => ({
|
|
116
|
-
"
|
|
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
|
|
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-
|
|
373
|
+
const pModal = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-c3379c94"]]);
|
|
374
374
|
export {
|
|
375
375
|
pModal as default
|
|
376
376
|
};
|
|
@@ -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, {
|
|
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, {
|
|
103
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {
|
|
104
|
+
fileInputRef: HTMLInputElement;
|
|
105
|
+
}, HTMLDivElement>;
|
|
104
106
|
export default _default;
|
|
@@ -1,2 +1,4 @@
|
|
|
1
|
-
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {
|
|
2
|
+
dimsReference: HTMLDivElement;
|
|
3
|
+
}, any>;
|
|
2
4
|
export default _default;
|
|
@@ -2,10 +2,10 @@ import { type PropType, type StyleValue } from 'vue';
|
|
|
2
2
|
declare function __VLS_template(): {
|
|
3
3
|
attrs: Partial<{}>;
|
|
4
4
|
slots: {
|
|
5
|
-
|
|
6
|
-
|
|
5
|
+
'title-wrapper'?(_: {}): any;
|
|
6
|
+
'content-wrapper'?(_: {}): any;
|
|
7
7
|
default?(_: {}): any;
|
|
8
|
-
|
|
8
|
+
'footer-wrapper'?(_: {}): any;
|
|
9
9
|
footer?(_: {}): any;
|
|
10
10
|
};
|
|
11
11
|
refs: {
|
|
@@ -205,7 +205,10 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
205
205
|
modalStyle: StyleValue;
|
|
206
206
|
bgInClass: string;
|
|
207
207
|
bgOutClass: string;
|
|
208
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {
|
|
208
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {
|
|
209
|
+
pmWrapper: HTMLDivElement;
|
|
210
|
+
pm: HTMLDivElement;
|
|
211
|
+
}, any>;
|
|
209
212
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
210
213
|
export default _default;
|
|
211
214
|
type __VLS_WithTemplateSlots<T, S> = T & {
|