zignal-stencil-library 1.1.194 → 1.1.196
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/{autocomplete-address_46.cjs.entry.js → autocomplete-address_45.cjs.entry.js} +503 -682
- package/dist/cjs/create-master-data-dialog.master-data-item.entry.cjs.js.map +1 -1
- package/dist/cjs/create-master-data-dialog_2.cjs.entry.js +10 -9
- package/dist/cjs/dayjs-DJhkF-a1.js +155 -0
- package/dist/cjs/dayjs-DJhkF-a1.js.map +1 -0
- package/dist/cjs/{icon-svg-CgXY0S7L.js → icon-svg-DrwTEcWs.js} +5 -3
- package/dist/{esm/icon-svg-t8bE_WeG.js.map → cjs/icon-svg-DrwTEcWs.js.map} +1 -1
- package/dist/cjs/{index-GjHureph.js → index-WaqydP_w.js} +93 -228
- package/dist/cjs/index-WaqydP_w.js.map +1 -0
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/master-status-app.cjs.entry.js +19 -17
- package/dist/cjs/master-status-app.entry.cjs.js.map +1 -1
- package/dist/cjs/master-tag-app.cjs.entry.js +19 -17
- package/dist/cjs/master-tag-app.entry.cjs.js.map +1 -1
- package/dist/cjs/quick-message-app.cjs.entry.js +223 -0
- package/dist/cjs/quick-message-app.entry.cjs.js.map +1 -0
- package/dist/cjs/store-dZyyLnWf.js +360 -0
- package/dist/cjs/store-dZyyLnWf.js.map +1 -0
- package/dist/cjs/{z-input-BDN69u5m.js → z-input-C-0O3vNd.js} +68 -420
- package/dist/cjs/z-input-C-0O3vNd.js.map +1 -0
- package/dist/cjs/zignal-stencil-library.cjs.js +1 -1
- package/dist/collection/api/index.js +11 -0
- package/dist/collection/api/index.js.map +1 -1
- package/dist/collection/api/type.js.map +1 -1
- package/dist/collection/components/autocomplete-address/autocomplete-address.css +1 -1
- package/dist/collection/components/autocomplete-multiple-select/autocomplete-multiple-select.css +1 -1
- package/dist/collection/components/autocomplete-select/autocomplete-select.css +1 -1
- package/dist/collection/components/channel-box/channel-box.css +1 -1
- package/dist/collection/components/chat-app/chat-app.css +1 -1
- package/dist/collection/components/chat-header/chat-header.css +1 -1
- package/dist/collection/components/chat-header/chat-header.js +1 -1
- package/dist/collection/components/chat-header/chat-header.js.map +1 -1
- package/dist/collection/components/chat-input/chat-input.css +1 -1
- package/dist/collection/components/checkbox-list/checkbox-list.css +1 -1
- package/dist/collection/components/create-master-data-dialog/create-master-data-dialog.css +1 -1
- package/dist/collection/components/dialog-bill-editor/dialog-bill-editor.css +1 -1
- package/dist/collection/components/dialog-custom-filter/dialog-custom-filter.css +1 -1
- package/dist/collection/components/dialog-editor/dialog-editor.css +1 -1
- package/dist/collection/components/dialog-preview-media/dialog-preview-media.css +1 -1
- package/dist/collection/components/dialog-search/dialog-search.css +1 -1
- package/dist/collection/components/master-data-item/master-data-item.css +1 -1
- package/dist/collection/components/master-status-app/master-status-app.css +1 -1
- package/dist/collection/components/master-tag-app/master-tag-app.css +1 -1
- package/dist/collection/components/menu-chat-channel/menu-chat-channel.css +1 -1
- package/dist/collection/components/menu-chat-type/menu-chat-type.css +1 -1
- package/dist/collection/components/menu-list/menu-list.css +1 -1
- package/dist/collection/components/menu-list/menu-list.js +23 -3
- package/dist/collection/components/menu-list/menu-list.js.map +1 -1
- package/dist/collection/components/message-box/message-box.css +1 -1
- package/dist/collection/components/message-content/message-content.css +1 -1
- package/dist/collection/components/message-item/message-item.css +1 -1
- package/dist/collection/components/message-media/message-media.css +1 -1
- package/dist/collection/components/profile-history/profile-history.css +1 -1
- package/dist/collection/components/profile-info/profile-info.css +1 -1
- package/dist/collection/components/profile-info/profile-info.js +1 -1
- package/dist/collection/components/profile-info/profile-info.js.map +1 -1
- package/dist/collection/components/profile-info/user-info-section.js +43 -7
- package/dist/collection/components/profile-info/user-info-section.js.map +1 -1
- package/dist/collection/components/profile-media/profile-media.css +1 -1
- package/dist/collection/components/profile-media/profile-media.js +1 -1
- package/dist/collection/components/profile-tabs/profile-tabs.css +1 -1
- package/dist/collection/components/profile-tabs/profile-tabs.js +2 -2
- package/dist/collection/components/profile-tabs/profile-tabs.js.map +1 -1
- package/dist/collection/components/quick-message-add-template/quick-message-add-template.css +1 -1
- package/dist/collection/components/quick-message-add-template/quick-message-add-template.js +3 -3
- package/dist/collection/components/quick-message-add-template/quick-message-text-content.js +1 -1
- package/dist/collection/components/quick-message-app/quick-message-app.css +1 -1
- package/dist/collection/components/quick-message-app/quick-message-app.js +1 -1
- package/dist/collection/components/quick-message-file/quick-message-file.css +1 -1
- package/dist/collection/components/quick-message-file/quick-message-file.js +1 -1
- package/dist/collection/components/quick-message-image/quick-message-image.css +1 -1
- package/dist/collection/components/quick-message-image/quick-message-image.js +1 -1
- package/dist/collection/components/quick-message-modal/quick-message-modal.css +1 -1
- package/dist/collection/components/quick-message-modal/quick-message-modal.js +1 -1
- package/dist/collection/components/quick-message-template/quick-message-template.css +1 -1
- package/dist/collection/components/quick-message-template/quick-message-template.js +3 -3
- package/dist/collection/components/search-box/search-box.css +1 -1
- package/dist/collection/components/search-box/search-box.js +5 -5
- package/dist/collection/components/status-badge/status-badge.css +1 -1
- package/dist/collection/components/status-badge/status-badge.js +2 -2
- package/dist/collection/components/tag-list/tag-list.css +1 -1
- package/dist/collection/components/tag-list/tag-list.js +1 -1
- package/dist/collection/components/tag-or-status-item/tag-or-status-item.css +1 -1
- package/dist/collection/components/tag-or-status-item/tag-or-status-item.js +2 -2
- package/dist/collection/components/tag-popper/tag-popper.css +1 -1
- package/dist/collection/components/tag-popper/tag-popper.js +2 -2
- package/dist/collection/components/typography-clamp/typography-clamp.css +1 -1
- package/dist/collection/components/typography-clamp/typography-clamp.js +2 -2
- package/dist/collection/components/z-avatar/z-avatar.css +1 -1
- package/dist/collection/components/z-dialog/z-dialog.css +1 -1
- package/dist/collection/components/z-tooltip/z-tooltip.css +1 -1
- package/dist/collection/store/type.js.map +1 -1
- package/dist/collection/utils/icon-svg.js +1 -0
- package/dist/collection/utils/icon-svg.js.map +1 -1
- package/dist/components/autocomplete-address2.js +1 -1
- package/dist/components/autocomplete-address2.js.map +1 -1
- package/dist/components/autocomplete-multiple-select2.js +1 -1
- package/dist/components/autocomplete-multiple-select2.js.map +1 -1
- package/dist/components/autocomplete-select2.js +1 -1
- package/dist/components/autocomplete-select2.js.map +1 -1
- package/dist/components/channel-box2.js +1 -1
- package/dist/components/channel-box2.js.map +1 -1
- package/dist/components/chat-app.js +1 -1
- package/dist/components/chat-app.js.map +1 -1
- package/dist/components/chat-header2.js +3 -3
- package/dist/components/chat-header2.js.map +1 -1
- package/dist/components/chat-input2.js +1 -1
- package/dist/components/chat-input2.js.map +1 -1
- package/dist/components/checkbox-list2.js +1 -1
- package/dist/components/checkbox-list2.js.map +1 -1
- package/dist/components/create-master-data-dialog2.js +1 -1
- package/dist/components/create-master-data-dialog2.js.map +1 -1
- package/dist/components/dialog-bill-editor2.js +1 -1
- package/dist/components/dialog-bill-editor2.js.map +1 -1
- package/dist/components/dialog-custom-filter2.js +1 -1
- package/dist/components/dialog-custom-filter2.js.map +1 -1
- package/dist/components/dialog-editor2.js +1 -1
- package/dist/components/dialog-editor2.js.map +1 -1
- package/dist/components/dialog-preview-media2.js +1 -1
- package/dist/components/dialog-preview-media2.js.map +1 -1
- package/dist/components/dialog-search2.js +1 -1
- package/dist/components/dialog-search2.js.map +1 -1
- package/dist/components/icon-svg.js +2 -1
- package/dist/components/icon-svg.js.map +1 -1
- package/dist/components/icon.js +55 -55
- package/dist/components/icon.js.map +1 -1
- package/dist/components/index3.js +12 -1
- package/dist/components/index3.js.map +1 -1
- package/dist/components/master-data-item2.js +1 -1
- package/dist/components/master-data-item2.js.map +1 -1
- package/dist/components/master-status-app.js +2 -2
- package/dist/components/master-status-app.js.map +1 -1
- package/dist/components/master-tag-app.js +2 -2
- package/dist/components/master-tag-app.js.map +1 -1
- package/dist/components/menu-chat-channel2.js +1 -1
- package/dist/components/menu-chat-channel2.js.map +1 -1
- package/dist/components/menu-chat-type2.js +1 -1
- package/dist/components/menu-chat-type2.js.map +1 -1
- package/dist/components/menu-list2.js +5 -3
- package/dist/components/menu-list2.js.map +1 -1
- package/dist/components/message-box2.js +1 -1
- package/dist/components/message-box2.js.map +1 -1
- package/dist/components/message-content2.js +1 -1
- package/dist/components/message-content2.js.map +1 -1
- package/dist/components/message-item2.js +1 -1
- package/dist/components/message-item2.js.map +1 -1
- package/dist/components/message-media2.js +1 -1
- package/dist/components/message-media2.js.map +1 -1
- package/dist/components/profile-history2.js +1 -1
- package/dist/components/profile-history2.js.map +1 -1
- package/dist/components/profile-info2.js +15 -9
- package/dist/components/profile-info2.js.map +1 -1
- package/dist/components/profile-media2.js +2 -2
- package/dist/components/profile-media2.js.map +1 -1
- package/dist/components/profile-tabs2.js +3 -3
- package/dist/components/profile-tabs2.js.map +1 -1
- package/dist/components/quick-message-add-template2.js +4 -4
- package/dist/components/quick-message-add-template2.js.map +1 -1
- package/dist/components/quick-message-app.js +2 -2
- package/dist/components/quick-message-app.js.map +1 -1
- package/dist/components/quick-message-file2.js +2 -2
- package/dist/components/quick-message-file2.js.map +1 -1
- package/dist/components/quick-message-image2.js +2 -2
- package/dist/components/quick-message-image2.js.map +1 -1
- package/dist/components/quick-message-modal2.js +2 -2
- package/dist/components/quick-message-modal2.js.map +1 -1
- package/dist/components/quick-message-template2.js +4 -4
- package/dist/components/quick-message-template2.js.map +1 -1
- package/dist/components/quick-message-text-content2.js +1 -1
- package/dist/components/search-box2.js +6 -6
- package/dist/components/search-box2.js.map +1 -1
- package/dist/components/status-badge2.js +3 -3
- package/dist/components/status-badge2.js.map +1 -1
- package/dist/components/summarize-message-section2.js +1 -1
- package/dist/components/summarize-message-section2.js.map +1 -1
- package/dist/components/tag-list2.js +2 -2
- package/dist/components/tag-list2.js.map +1 -1
- package/dist/components/tag-or-status-item2.js +3 -3
- package/dist/components/tag-or-status-item2.js.map +1 -1
- package/dist/components/tag-popper2.js +3 -3
- package/dist/components/tag-popper2.js.map +1 -1
- package/dist/components/typography-clamp2.js +3 -3
- package/dist/components/typography-clamp2.js.map +1 -1
- package/dist/components/user-info-section2.js +52 -10
- package/dist/components/user-info-section2.js.map +1 -1
- package/dist/components/z-avatar2.js +1 -1
- package/dist/components/z-avatar2.js.map +1 -1
- package/dist/components/z-dialog2.js +1 -1
- package/dist/components/z-dialog2.js.map +1 -1
- package/dist/components/z-tooltip2.js +1 -1
- package/dist/components/z-tooltip2.js.map +1 -1
- package/dist/esm/{autocomplete-address_46.entry.js → autocomplete-address_45.entry.js} +116 -294
- package/dist/esm/create-master-data-dialog.master-data-item.entry.js.map +1 -1
- package/dist/esm/create-master-data-dialog_2.entry.js +5 -4
- package/dist/esm/dayjs-BAV7Kp5H.js +144 -0
- package/dist/esm/dayjs-BAV7Kp5H.js.map +1 -0
- package/dist/esm/{icon-svg-t8bE_WeG.js → icon-svg-D46sQeCq.js} +5 -4
- package/dist/{cjs/icon-svg-CgXY0S7L.js.map → esm/icon-svg-D46sQeCq.js.map} +1 -1
- package/dist/{zignal-stencil-library/index-CtvW4AWU.js → esm/index-CGxyaXAw.js} +16 -144
- package/dist/esm/index-CGxyaXAw.js.map +1 -0
- package/dist/esm/loader.js +1 -1
- package/dist/esm/master-status-app.entry.js +5 -3
- package/dist/esm/master-status-app.entry.js.map +1 -1
- package/dist/esm/master-tag-app.entry.js +5 -3
- package/dist/esm/master-tag-app.entry.js.map +1 -1
- package/dist/esm/quick-message-app.entry.js +221 -0
- package/dist/esm/quick-message-app.entry.js.map +1 -0
- package/dist/esm/store-yUM2Y3GN.js +338 -0
- package/dist/esm/store-yUM2Y3GN.js.map +1 -0
- package/dist/esm/{z-input-D9WwC2eR.js → z-input-CpnrmPm8.js} +62 -393
- package/dist/esm/z-input-CpnrmPm8.js.map +1 -0
- package/dist/esm/zignal-stencil-library.js +1 -1
- package/dist/types/api/index.d.ts +1 -0
- package/dist/types/api/type.d.ts +10 -0
- package/dist/types/components/menu-list/menu-list.d.ts +2 -1
- package/dist/types/components/profile-info/user-info-section.d.ts +1 -0
- package/dist/types/components.d.ts +3 -1
- package/dist/types/store/type.d.ts +2 -2
- package/dist/types/utils/icon-svg.d.ts +1 -0
- package/dist/zignal-stencil-library/{autocomplete-address_46.entry.js → autocomplete-address_45.entry.js} +116 -294
- package/dist/zignal-stencil-library/create-master-data-dialog.master-data-item.entry.esm.js.map +1 -1
- package/dist/zignal-stencil-library/create-master-data-dialog_2.entry.js +5 -4
- package/dist/zignal-stencil-library/dayjs-BAV7Kp5H.js +144 -0
- package/dist/zignal-stencil-library/dayjs-BAV7Kp5H.js.map +1 -0
- package/dist/zignal-stencil-library/{icon-svg-t8bE_WeG.js → icon-svg-D46sQeCq.js} +5 -4
- package/dist/zignal-stencil-library/{icon-svg-t8bE_WeG.js.map → icon-svg-D46sQeCq.js.map} +1 -1
- package/dist/{esm/index-CtvW4AWU.js → zignal-stencil-library/index-CGxyaXAw.js} +16 -144
- package/dist/zignal-stencil-library/index-CGxyaXAw.js.map +1 -0
- package/dist/zignal-stencil-library/master-status-app.entry.esm.js.map +1 -1
- package/dist/zignal-stencil-library/master-status-app.entry.js +5 -3
- package/dist/zignal-stencil-library/master-tag-app.entry.esm.js.map +1 -1
- package/dist/zignal-stencil-library/master-tag-app.entry.js +5 -3
- package/dist/zignal-stencil-library/quick-message-app.entry.esm.js.map +1 -0
- package/dist/zignal-stencil-library/quick-message-app.entry.js +221 -0
- package/dist/zignal-stencil-library/store-yUM2Y3GN.js +338 -0
- package/dist/zignal-stencil-library/store-yUM2Y3GN.js.map +1 -0
- package/dist/zignal-stencil-library/{z-input-D9WwC2eR.js → z-input-CpnrmPm8.js} +62 -393
- package/dist/zignal-stencil-library/z-input-CpnrmPm8.js.map +1 -0
- package/dist/zignal-stencil-library/zignal-stencil-library.esm.js +1 -1
- package/package.json +2 -2
- package/dist/cjs/index-GjHureph.js.map +0 -1
- package/dist/cjs/z-input-BDN69u5m.js.map +0 -1
- package/dist/esm/index-CtvW4AWU.js.map +0 -1
- package/dist/esm/z-input-D9WwC2eR.js.map +0 -1
- package/dist/zignal-stencil-library/index-CtvW4AWU.js.map +0 -1
- package/dist/zignal-stencil-library/z-input-D9WwC2eR.js.map +0 -1
|
@@ -1,339 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
function useTranslation() {
|
|
5
|
-
return instance.t;
|
|
6
|
-
}
|
|
7
|
-
const rgbToHex = (rgb) => {
|
|
8
|
-
const values = rgb.match(/\d+/g) || [];
|
|
9
|
-
const hexValues = values.map(val => {
|
|
10
|
-
const hex = parseInt(val, 10).toString(16);
|
|
11
|
-
return hex.length === 1 ? '0' + hex : hex;
|
|
12
|
-
});
|
|
13
|
-
return '#' + hexValues.join('');
|
|
14
|
-
};
|
|
15
|
-
const calculateBrightness = (hexColor) => {
|
|
16
|
-
// Formula for calculating brightness: 0.299*R + 0.587*G + 0.114*B
|
|
17
|
-
const r = parseInt(hexColor.substring(1, 3), 16);
|
|
18
|
-
const g = parseInt(hexColor.substring(3, 5), 16);
|
|
19
|
-
const b = parseInt(hexColor.substring(5, 7), 16);
|
|
20
|
-
return 0.299 * r + 0.587 * g + 0.114 * b;
|
|
21
|
-
};
|
|
22
|
-
const getContrastColorHelper = (color, isInvert = false) => {
|
|
23
|
-
let hexColor = '#000';
|
|
24
|
-
const format = color.includes('rgb') ? 'rgb' : 'hex';
|
|
25
|
-
if (format === 'hex') {
|
|
26
|
-
hexColor = color;
|
|
27
|
-
}
|
|
28
|
-
else if (format === 'rgb') {
|
|
29
|
-
hexColor = rgbToHex(color);
|
|
30
|
-
}
|
|
31
|
-
const brightness = calculateBrightness(hexColor);
|
|
32
|
-
if (isInvert) {
|
|
33
|
-
return brightness > 128 ? '#fff' : '#000';
|
|
34
|
-
}
|
|
35
|
-
return brightness > 128 ? '#000' : '#fff';
|
|
36
|
-
};
|
|
37
|
-
function base64ToFileList(base64Array, filenames) {
|
|
38
|
-
const dataTransfer = new DataTransfer();
|
|
39
|
-
base64Array.forEach((base64, index) => {
|
|
40
|
-
const arr = base64.split(',');
|
|
41
|
-
const mimeMatch = arr[0].match(/:(.*?);/);
|
|
42
|
-
const mime = mimeMatch ? mimeMatch[1] : 'image/png';
|
|
43
|
-
const bstr = atob(arr[1]);
|
|
44
|
-
let n = bstr.length;
|
|
45
|
-
const u8arr = new Uint8Array(n);
|
|
46
|
-
while (n--) {
|
|
47
|
-
u8arr[n] = bstr.charCodeAt(n);
|
|
48
|
-
}
|
|
49
|
-
const fileName = `image${index}.png`;
|
|
50
|
-
const file = new File([u8arr], fileName, { type: mime });
|
|
51
|
-
dataTransfer.items.add(file);
|
|
52
|
-
});
|
|
53
|
-
return dataTransfer.files;
|
|
54
|
-
}
|
|
55
|
-
const preventInputNoneBasicNumber = (event) => {
|
|
56
|
-
return (['e', 'E', '+', '-', 'ArrowDown'].includes(event.key) || ((event.key === 'ArrowDown') && ((parseInt(event.target.value) === 0) || (event.target.value === '')))) && event.preventDefault();
|
|
57
|
-
};
|
|
58
|
-
|
|
59
|
-
const appendToMap = (map, propName, value) => {
|
|
60
|
-
const items = map.get(propName);
|
|
61
|
-
if (!items) {
|
|
62
|
-
map.set(propName, [value]);
|
|
63
|
-
}
|
|
64
|
-
else if (!items.includes(value)) {
|
|
65
|
-
items.push(value);
|
|
66
|
-
}
|
|
67
|
-
};
|
|
68
|
-
const debounce = (fn, ms) => {
|
|
69
|
-
let timeoutId;
|
|
70
|
-
return (...args) => {
|
|
71
|
-
if (timeoutId) {
|
|
72
|
-
clearTimeout(timeoutId);
|
|
73
|
-
}
|
|
74
|
-
timeoutId = setTimeout(() => {
|
|
75
|
-
timeoutId = 0;
|
|
76
|
-
fn(...args);
|
|
77
|
-
}, ms);
|
|
78
|
-
};
|
|
79
|
-
};
|
|
80
|
-
|
|
81
|
-
/**
|
|
82
|
-
* Check if a possible element isConnected.
|
|
83
|
-
* The property might not be there, so we check for it.
|
|
84
|
-
*
|
|
85
|
-
* We want it to return true if isConnected is not a property,
|
|
86
|
-
* otherwise we would remove these elements and would not update.
|
|
87
|
-
*
|
|
88
|
-
* Better leak in Edge than to be useless.
|
|
89
|
-
*/
|
|
90
|
-
const isConnected = (maybeElement) => !('isConnected' in maybeElement) || maybeElement.isConnected;
|
|
91
|
-
const cleanupElements = debounce((map) => {
|
|
92
|
-
for (let key of map.keys()) {
|
|
93
|
-
map.set(key, map.get(key).filter(isConnected));
|
|
94
|
-
}
|
|
95
|
-
}, 2_000);
|
|
96
|
-
const stencilSubscription = () => {
|
|
97
|
-
if (typeof getRenderingRef !== 'function') {
|
|
98
|
-
// If we are not in a stencil project, we do nothing.
|
|
99
|
-
// This function is not really exported by @stencil/core.
|
|
100
|
-
return {};
|
|
101
|
-
}
|
|
102
|
-
const elmsToUpdate = new Map();
|
|
103
|
-
return {
|
|
104
|
-
dispose: () => elmsToUpdate.clear(),
|
|
105
|
-
get: (propName) => {
|
|
106
|
-
const elm = getRenderingRef();
|
|
107
|
-
if (elm) {
|
|
108
|
-
appendToMap(elmsToUpdate, propName, elm);
|
|
109
|
-
}
|
|
110
|
-
},
|
|
111
|
-
set: (propName) => {
|
|
112
|
-
const elements = elmsToUpdate.get(propName);
|
|
113
|
-
if (elements) {
|
|
114
|
-
elmsToUpdate.set(propName, elements.filter(forceUpdate));
|
|
115
|
-
}
|
|
116
|
-
cleanupElements(elmsToUpdate);
|
|
117
|
-
},
|
|
118
|
-
reset: () => {
|
|
119
|
-
elmsToUpdate.forEach((elms) => elms.forEach(forceUpdate));
|
|
120
|
-
cleanupElements(elmsToUpdate);
|
|
121
|
-
},
|
|
122
|
-
};
|
|
123
|
-
};
|
|
124
|
-
|
|
125
|
-
const unwrap = (val) => (typeof val === 'function' ? val() : val);
|
|
126
|
-
const createObservableMap = (defaultState, shouldUpdate = (a, b) => a !== b) => {
|
|
127
|
-
const unwrappedState = unwrap(defaultState);
|
|
128
|
-
let states = new Map(Object.entries(unwrappedState ?? {}));
|
|
129
|
-
const handlers = {
|
|
130
|
-
dispose: [],
|
|
131
|
-
get: [],
|
|
132
|
-
set: [],
|
|
133
|
-
reset: [],
|
|
134
|
-
};
|
|
135
|
-
// Track onChange listeners to enable removeListener functionality
|
|
136
|
-
const changeListeners = new Map();
|
|
137
|
-
const reset = () => {
|
|
138
|
-
// When resetting the state, the default state may be a function - unwrap it to invoke it.
|
|
139
|
-
// otherwise, the state won't be properly reset
|
|
140
|
-
states = new Map(Object.entries(unwrap(defaultState) ?? {}));
|
|
141
|
-
handlers.reset.forEach((cb) => cb());
|
|
142
|
-
};
|
|
143
|
-
const dispose = () => {
|
|
144
|
-
// Call first dispose as resetting the state would
|
|
145
|
-
// cause less updates ;)
|
|
146
|
-
handlers.dispose.forEach((cb) => cb());
|
|
147
|
-
reset();
|
|
148
|
-
};
|
|
149
|
-
const get = (propName) => {
|
|
150
|
-
handlers.get.forEach((cb) => cb(propName));
|
|
151
|
-
return states.get(propName);
|
|
152
|
-
};
|
|
153
|
-
const set = (propName, value) => {
|
|
154
|
-
const oldValue = states.get(propName);
|
|
155
|
-
if (shouldUpdate(value, oldValue, propName)) {
|
|
156
|
-
states.set(propName, value);
|
|
157
|
-
handlers.set.forEach((cb) => cb(propName, value, oldValue));
|
|
158
|
-
}
|
|
159
|
-
};
|
|
160
|
-
const state = (typeof Proxy === 'undefined'
|
|
161
|
-
? {}
|
|
162
|
-
: new Proxy(unwrappedState, {
|
|
163
|
-
get(_, propName) {
|
|
164
|
-
return get(propName);
|
|
165
|
-
},
|
|
166
|
-
ownKeys(_) {
|
|
167
|
-
return Array.from(states.keys());
|
|
168
|
-
},
|
|
169
|
-
getOwnPropertyDescriptor() {
|
|
170
|
-
return {
|
|
171
|
-
enumerable: true,
|
|
172
|
-
configurable: true,
|
|
173
|
-
};
|
|
174
|
-
},
|
|
175
|
-
has(_, propName) {
|
|
176
|
-
return states.has(propName);
|
|
177
|
-
},
|
|
178
|
-
set(_, propName, value) {
|
|
179
|
-
set(propName, value);
|
|
180
|
-
return true;
|
|
181
|
-
},
|
|
182
|
-
}));
|
|
183
|
-
const on = (eventName, callback) => {
|
|
184
|
-
handlers[eventName].push(callback);
|
|
185
|
-
return () => {
|
|
186
|
-
removeFromArray(handlers[eventName], callback);
|
|
187
|
-
};
|
|
188
|
-
};
|
|
189
|
-
const onChange = (propName, cb) => {
|
|
190
|
-
const setHandler = (key, newValue) => {
|
|
191
|
-
if (key === propName) {
|
|
192
|
-
cb(newValue);
|
|
193
|
-
}
|
|
194
|
-
};
|
|
195
|
-
const resetHandler = () => cb(unwrap(defaultState)[propName]);
|
|
196
|
-
// Register the handlers
|
|
197
|
-
const unSet = on('set', setHandler);
|
|
198
|
-
const unReset = on('reset', resetHandler);
|
|
199
|
-
// Track the relationship between the user callback and internal handlers
|
|
200
|
-
changeListeners.set(cb, { setHandler, resetHandler, propName });
|
|
201
|
-
return () => {
|
|
202
|
-
unSet();
|
|
203
|
-
unReset();
|
|
204
|
-
changeListeners.delete(cb);
|
|
205
|
-
};
|
|
206
|
-
};
|
|
207
|
-
const use = (...subscriptions) => {
|
|
208
|
-
const unsubs = subscriptions.reduce((unsubs, subscription) => {
|
|
209
|
-
if (subscription.set) {
|
|
210
|
-
unsubs.push(on('set', subscription.set));
|
|
211
|
-
}
|
|
212
|
-
if (subscription.get) {
|
|
213
|
-
unsubs.push(on('get', subscription.get));
|
|
214
|
-
}
|
|
215
|
-
if (subscription.reset) {
|
|
216
|
-
unsubs.push(on('reset', subscription.reset));
|
|
217
|
-
}
|
|
218
|
-
if (subscription.dispose) {
|
|
219
|
-
unsubs.push(on('dispose', subscription.dispose));
|
|
220
|
-
}
|
|
221
|
-
return unsubs;
|
|
222
|
-
}, []);
|
|
223
|
-
return () => unsubs.forEach((unsub) => unsub());
|
|
224
|
-
};
|
|
225
|
-
const forceUpdate = (key) => {
|
|
226
|
-
const oldValue = states.get(key);
|
|
227
|
-
handlers.set.forEach((cb) => cb(key, oldValue, oldValue));
|
|
228
|
-
};
|
|
229
|
-
const removeListener = (propName, listener) => {
|
|
230
|
-
const listenerInfo = changeListeners.get(listener);
|
|
231
|
-
if (listenerInfo && listenerInfo.propName === propName) {
|
|
232
|
-
// Remove the specific handlers that were created for this listener
|
|
233
|
-
removeFromArray(handlers.set, listenerInfo.setHandler);
|
|
234
|
-
removeFromArray(handlers.reset, listenerInfo.resetHandler);
|
|
235
|
-
changeListeners.delete(listener);
|
|
236
|
-
}
|
|
237
|
-
};
|
|
238
|
-
return {
|
|
239
|
-
state,
|
|
240
|
-
get,
|
|
241
|
-
set,
|
|
242
|
-
on,
|
|
243
|
-
onChange,
|
|
244
|
-
use,
|
|
245
|
-
dispose,
|
|
246
|
-
reset,
|
|
247
|
-
forceUpdate,
|
|
248
|
-
removeListener,
|
|
249
|
-
};
|
|
250
|
-
};
|
|
251
|
-
const removeFromArray = (array, item) => {
|
|
252
|
-
const index = array.indexOf(item);
|
|
253
|
-
if (index >= 0) {
|
|
254
|
-
array[index] = array[array.length - 1];
|
|
255
|
-
array.length--;
|
|
256
|
-
}
|
|
257
|
-
};
|
|
258
|
-
|
|
259
|
-
const createStore = (defaultState, shouldUpdate) => {
|
|
260
|
-
const map = createObservableMap(defaultState, shouldUpdate);
|
|
261
|
-
map.use(stencilSubscription());
|
|
262
|
-
return map;
|
|
263
|
-
};
|
|
264
|
-
|
|
265
|
-
const configStore = createStore({
|
|
266
|
-
language: 'en',
|
|
267
|
-
theme: 'light',
|
|
268
|
-
businessId: null,
|
|
269
|
-
shopId: null,
|
|
270
|
-
accessToken: null,
|
|
271
|
-
isProduction: false,
|
|
272
|
-
timeZone: null,
|
|
273
|
-
translationSettings: {
|
|
274
|
-
is_auto: false,
|
|
275
|
-
target_language: null,
|
|
276
|
-
exclude_languages: [],
|
|
277
|
-
},
|
|
278
|
-
isNotConnected: false,
|
|
279
|
-
isZwiz: false,
|
|
280
|
-
connectionList: [],
|
|
281
|
-
memberList: [],
|
|
282
|
-
});
|
|
283
|
-
const messagesStore = createStore({
|
|
284
|
-
messages: [],
|
|
285
|
-
reads: [],
|
|
286
|
-
loadedKeys: new Set(),
|
|
287
|
-
readsMap: {},
|
|
288
|
-
});
|
|
289
|
-
const filterChatsStore = createStore({
|
|
290
|
-
filterType: 'quick',
|
|
291
|
-
});
|
|
292
|
-
const statusesStore = createStore({
|
|
293
|
-
statuses: [],
|
|
294
|
-
});
|
|
295
|
-
const tagsStore = createStore({
|
|
296
|
-
tags: [],
|
|
297
|
-
});
|
|
298
|
-
const chatsStore = createStore({
|
|
299
|
-
chats: [],
|
|
300
|
-
loadedKeys: new Set(),
|
|
301
|
-
});
|
|
302
|
-
const userStore = createStore({
|
|
303
|
-
user: null,
|
|
304
|
-
});
|
|
305
|
-
const userAddressStore = createStore({
|
|
306
|
-
userAddress: null,
|
|
307
|
-
});
|
|
308
|
-
const selectedChatStore = createStore({
|
|
309
|
-
selectedChat: null,
|
|
310
|
-
isSyncingTag: false,
|
|
311
|
-
isSyncingMessage: false,
|
|
312
|
-
});
|
|
313
|
-
const selectedMessageToReplyStore = createStore({
|
|
314
|
-
selectedMessageToReply: null,
|
|
315
|
-
});
|
|
316
|
-
const responsiveStore = createStore({
|
|
317
|
-
isMobile: false,
|
|
318
|
-
});
|
|
319
|
-
const profilePanelStore = createStore({
|
|
320
|
-
isShowProfile: false,
|
|
321
|
-
});
|
|
322
|
-
const customFiltersStore = createStore({
|
|
323
|
-
filters: [],
|
|
324
|
-
selectedFilter: null,
|
|
325
|
-
loading: false,
|
|
326
|
-
});
|
|
327
|
-
const chatLanguageStore = createStore({
|
|
328
|
-
isEdit: false
|
|
329
|
-
});
|
|
330
|
-
const translateStore = createStore({ translatedMessages: {} });
|
|
331
|
-
const chatInputStore = createStore({
|
|
332
|
-
originalText: '',
|
|
333
|
-
});
|
|
1
|
+
import { h } from './index-NR-FjQmT.js';
|
|
2
|
+
import { c as configStore } from './store-yUM2Y3GN.js';
|
|
334
3
|
|
|
335
4
|
/**
|
|
336
|
-
* @license lucide v0.
|
|
5
|
+
* @license lucide v0.555.0 - ISC
|
|
337
6
|
*
|
|
338
7
|
* This source code is licensed under the ISC license.
|
|
339
8
|
* See the LICENSE file in the root directory of this source tree.
|
|
@@ -345,7 +14,7 @@ const ArrowDown = [
|
|
|
345
14
|
];
|
|
346
15
|
|
|
347
16
|
/**
|
|
348
|
-
* @license lucide v0.
|
|
17
|
+
* @license lucide v0.555.0 - ISC
|
|
349
18
|
*
|
|
350
19
|
* This source code is licensed under the ISC license.
|
|
351
20
|
* See the LICENSE file in the root directory of this source tree.
|
|
@@ -357,7 +26,7 @@ const ArrowRight = [
|
|
|
357
26
|
];
|
|
358
27
|
|
|
359
28
|
/**
|
|
360
|
-
* @license lucide v0.
|
|
29
|
+
* @license lucide v0.555.0 - ISC
|
|
361
30
|
*
|
|
362
31
|
* This source code is licensed under the ISC license.
|
|
363
32
|
* See the LICENSE file in the root directory of this source tree.
|
|
@@ -371,7 +40,7 @@ const ArrowUpDown = [
|
|
|
371
40
|
];
|
|
372
41
|
|
|
373
42
|
/**
|
|
374
|
-
* @license lucide v0.
|
|
43
|
+
* @license lucide v0.555.0 - ISC
|
|
375
44
|
*
|
|
376
45
|
* This source code is licensed under the ISC license.
|
|
377
46
|
* See the LICENSE file in the root directory of this source tree.
|
|
@@ -383,7 +52,7 @@ const Ban = [
|
|
|
383
52
|
];
|
|
384
53
|
|
|
385
54
|
/**
|
|
386
|
-
* @license lucide v0.
|
|
55
|
+
* @license lucide v0.555.0 - ISC
|
|
387
56
|
*
|
|
388
57
|
* This source code is licensed under the ISC license.
|
|
389
58
|
* See the LICENSE file in the root directory of this source tree.
|
|
@@ -404,7 +73,7 @@ const BotMessageSquare = [
|
|
|
404
73
|
];
|
|
405
74
|
|
|
406
75
|
/**
|
|
407
|
-
* @license lucide v0.
|
|
76
|
+
* @license lucide v0.555.0 - ISC
|
|
408
77
|
*
|
|
409
78
|
* This source code is licensed under the ISC license.
|
|
410
79
|
* See the LICENSE file in the root directory of this source tree.
|
|
@@ -420,7 +89,7 @@ const Bot = [
|
|
|
420
89
|
];
|
|
421
90
|
|
|
422
91
|
/**
|
|
423
|
-
* @license lucide v0.
|
|
92
|
+
* @license lucide v0.555.0 - ISC
|
|
424
93
|
*
|
|
425
94
|
* This source code is licensed under the ISC license.
|
|
426
95
|
* See the LICENSE file in the root directory of this source tree.
|
|
@@ -437,7 +106,7 @@ const Camera = [
|
|
|
437
106
|
];
|
|
438
107
|
|
|
439
108
|
/**
|
|
440
|
-
* @license lucide v0.
|
|
109
|
+
* @license lucide v0.555.0 - ISC
|
|
441
110
|
*
|
|
442
111
|
* This source code is licensed under the ISC license.
|
|
443
112
|
* See the LICENSE file in the root directory of this source tree.
|
|
@@ -446,7 +115,7 @@ const Camera = [
|
|
|
446
115
|
const Check = [["path", { d: "M20 6 9 17l-5-5" }]];
|
|
447
116
|
|
|
448
117
|
/**
|
|
449
|
-
* @license lucide v0.
|
|
118
|
+
* @license lucide v0.555.0 - ISC
|
|
450
119
|
*
|
|
451
120
|
* This source code is licensed under the ISC license.
|
|
452
121
|
* See the LICENSE file in the root directory of this source tree.
|
|
@@ -455,7 +124,7 @@ const Check = [["path", { d: "M20 6 9 17l-5-5" }]];
|
|
|
455
124
|
const ChevronDown = [["path", { d: "m6 9 6 6 6-6" }]];
|
|
456
125
|
|
|
457
126
|
/**
|
|
458
|
-
* @license lucide v0.
|
|
127
|
+
* @license lucide v0.555.0 - ISC
|
|
459
128
|
*
|
|
460
129
|
* This source code is licensed under the ISC license.
|
|
461
130
|
* See the LICENSE file in the root directory of this source tree.
|
|
@@ -464,7 +133,7 @@ const ChevronDown = [["path", { d: "m6 9 6 6 6-6" }]];
|
|
|
464
133
|
const ChevronLeft = [["path", { d: "m15 18-6-6 6-6" }]];
|
|
465
134
|
|
|
466
135
|
/**
|
|
467
|
-
* @license lucide v0.
|
|
136
|
+
* @license lucide v0.555.0 - ISC
|
|
468
137
|
*
|
|
469
138
|
* This source code is licensed under the ISC license.
|
|
470
139
|
* See the LICENSE file in the root directory of this source tree.
|
|
@@ -473,7 +142,7 @@ const ChevronLeft = [["path", { d: "m15 18-6-6 6-6" }]];
|
|
|
473
142
|
const ChevronRight = [["path", { d: "m9 18 6-6-6-6" }]];
|
|
474
143
|
|
|
475
144
|
/**
|
|
476
|
-
* @license lucide v0.
|
|
145
|
+
* @license lucide v0.555.0 - ISC
|
|
477
146
|
*
|
|
478
147
|
* This source code is licensed under the ISC license.
|
|
479
148
|
* See the LICENSE file in the root directory of this source tree.
|
|
@@ -482,7 +151,7 @@ const ChevronRight = [["path", { d: "m9 18 6-6-6-6" }]];
|
|
|
482
151
|
const ChevronUp = [["path", { d: "m18 15-6-6-6 6" }]];
|
|
483
152
|
|
|
484
153
|
/**
|
|
485
|
-
* @license lucide v0.
|
|
154
|
+
* @license lucide v0.555.0 - ISC
|
|
486
155
|
*
|
|
487
156
|
* This source code is licensed under the ISC license.
|
|
488
157
|
* See the LICENSE file in the root directory of this source tree.
|
|
@@ -494,7 +163,7 @@ const CircleCheck = [
|
|
|
494
163
|
];
|
|
495
164
|
|
|
496
165
|
/**
|
|
497
|
-
* @license lucide v0.
|
|
166
|
+
* @license lucide v0.555.0 - ISC
|
|
498
167
|
*
|
|
499
168
|
* This source code is licensed under the ISC license.
|
|
500
169
|
* See the LICENSE file in the root directory of this source tree.
|
|
@@ -506,7 +175,7 @@ const CircleMinus = [
|
|
|
506
175
|
];
|
|
507
176
|
|
|
508
177
|
/**
|
|
509
|
-
* @license lucide v0.
|
|
178
|
+
* @license lucide v0.555.0 - ISC
|
|
510
179
|
*
|
|
511
180
|
* This source code is licensed under the ISC license.
|
|
512
181
|
* See the LICENSE file in the root directory of this source tree.
|
|
@@ -519,7 +188,7 @@ const CircleOff = [
|
|
|
519
188
|
];
|
|
520
189
|
|
|
521
190
|
/**
|
|
522
|
-
* @license lucide v0.
|
|
191
|
+
* @license lucide v0.555.0 - ISC
|
|
523
192
|
*
|
|
524
193
|
* This source code is licensed under the ISC license.
|
|
525
194
|
* See the LICENSE file in the root directory of this source tree.
|
|
@@ -532,7 +201,7 @@ const CircleX = [
|
|
|
532
201
|
];
|
|
533
202
|
|
|
534
203
|
/**
|
|
535
|
-
* @license lucide v0.
|
|
204
|
+
* @license lucide v0.555.0 - ISC
|
|
536
205
|
*
|
|
537
206
|
* This source code is licensed under the ISC license.
|
|
538
207
|
* See the LICENSE file in the root directory of this source tree.
|
|
@@ -545,7 +214,7 @@ const EllipsisVertical = [
|
|
|
545
214
|
];
|
|
546
215
|
|
|
547
216
|
/**
|
|
548
|
-
* @license lucide v0.
|
|
217
|
+
* @license lucide v0.555.0 - ISC
|
|
549
218
|
*
|
|
550
219
|
* This source code is licensed under the ISC license.
|
|
551
220
|
* See the LICENSE file in the root directory of this source tree.
|
|
@@ -558,13 +227,13 @@ const Ellipsis = [
|
|
|
558
227
|
];
|
|
559
228
|
|
|
560
229
|
/**
|
|
561
|
-
* @license lucide v0.
|
|
230
|
+
* @license lucide v0.555.0 - ISC
|
|
562
231
|
*
|
|
563
232
|
* This source code is licensed under the ISC license.
|
|
564
233
|
* See the LICENSE file in the root directory of this source tree.
|
|
565
234
|
*/
|
|
566
235
|
|
|
567
|
-
const File
|
|
236
|
+
const File = [
|
|
568
237
|
[
|
|
569
238
|
"path",
|
|
570
239
|
{
|
|
@@ -575,7 +244,7 @@ const File$1 = [
|
|
|
575
244
|
];
|
|
576
245
|
|
|
577
246
|
/**
|
|
578
|
-
* @license lucide v0.
|
|
247
|
+
* @license lucide v0.555.0 - ISC
|
|
579
248
|
*
|
|
580
249
|
* This source code is licensed under the ISC license.
|
|
581
250
|
* See the LICENSE file in the root directory of this source tree.
|
|
@@ -591,7 +260,7 @@ const Folder = [
|
|
|
591
260
|
];
|
|
592
261
|
|
|
593
262
|
/**
|
|
594
|
-
* @license lucide v0.
|
|
263
|
+
* @license lucide v0.555.0 - ISC
|
|
595
264
|
*
|
|
596
265
|
* This source code is licensed under the ISC license.
|
|
597
266
|
* See the LICENSE file in the root directory of this source tree.
|
|
@@ -607,7 +276,7 @@ const Funnel = [
|
|
|
607
276
|
];
|
|
608
277
|
|
|
609
278
|
/**
|
|
610
|
-
* @license lucide v0.
|
|
279
|
+
* @license lucide v0.555.0 - ISC
|
|
611
280
|
*
|
|
612
281
|
* This source code is licensed under the ISC license.
|
|
613
282
|
* See the LICENSE file in the root directory of this source tree.
|
|
@@ -620,7 +289,7 @@ const Globe = [
|
|
|
620
289
|
];
|
|
621
290
|
|
|
622
291
|
/**
|
|
623
|
-
* @license lucide v0.
|
|
292
|
+
* @license lucide v0.555.0 - ISC
|
|
624
293
|
*
|
|
625
294
|
* This source code is licensed under the ISC license.
|
|
626
295
|
* See the LICENSE file in the root directory of this source tree.
|
|
@@ -639,7 +308,7 @@ const Grip = [
|
|
|
639
308
|
];
|
|
640
309
|
|
|
641
310
|
/**
|
|
642
|
-
* @license lucide v0.
|
|
311
|
+
* @license lucide v0.555.0 - ISC
|
|
643
312
|
*
|
|
644
313
|
* This source code is licensed under the ISC license.
|
|
645
314
|
* See the LICENSE file in the root directory of this source tree.
|
|
@@ -655,7 +324,7 @@ const ImageOff = [
|
|
|
655
324
|
];
|
|
656
325
|
|
|
657
326
|
/**
|
|
658
|
-
* @license lucide v0.
|
|
327
|
+
* @license lucide v0.555.0 - ISC
|
|
659
328
|
*
|
|
660
329
|
* This source code is licensed under the ISC license.
|
|
661
330
|
* See the LICENSE file in the root directory of this source tree.
|
|
@@ -668,7 +337,7 @@ const Image = [
|
|
|
668
337
|
];
|
|
669
338
|
|
|
670
339
|
/**
|
|
671
|
-
* @license lucide v0.
|
|
340
|
+
* @license lucide v0.555.0 - ISC
|
|
672
341
|
*
|
|
673
342
|
* This source code is licensed under the ISC license.
|
|
674
343
|
* See the LICENSE file in the root directory of this source tree.
|
|
@@ -685,7 +354,7 @@ const Inbox = [
|
|
|
685
354
|
];
|
|
686
355
|
|
|
687
356
|
/**
|
|
688
|
-
* @license lucide v0.
|
|
357
|
+
* @license lucide v0.555.0 - ISC
|
|
689
358
|
*
|
|
690
359
|
* This source code is licensed under the ISC license.
|
|
691
360
|
* See the LICENSE file in the root directory of this source tree.
|
|
@@ -698,7 +367,7 @@ const Info = [
|
|
|
698
367
|
];
|
|
699
368
|
|
|
700
369
|
/**
|
|
701
|
-
* @license lucide v0.
|
|
370
|
+
* @license lucide v0.555.0 - ISC
|
|
702
371
|
*
|
|
703
372
|
* This source code is licensed under the ISC license.
|
|
704
373
|
* See the LICENSE file in the root directory of this source tree.
|
|
@@ -714,7 +383,7 @@ const Languages = [
|
|
|
714
383
|
];
|
|
715
384
|
|
|
716
385
|
/**
|
|
717
|
-
* @license lucide v0.
|
|
386
|
+
* @license lucide v0.555.0 - ISC
|
|
718
387
|
*
|
|
719
388
|
* This source code is licensed under the ISC license.
|
|
720
389
|
* See the LICENSE file in the root directory of this source tree.
|
|
@@ -723,7 +392,7 @@ const Languages = [
|
|
|
723
392
|
const LoaderCircle = [["path", { d: "M21 12a9 9 0 1 1-6.219-8.56" }]];
|
|
724
393
|
|
|
725
394
|
/**
|
|
726
|
-
* @license lucide v0.
|
|
395
|
+
* @license lucide v0.555.0 - ISC
|
|
727
396
|
*
|
|
728
397
|
* This source code is licensed under the ISC license.
|
|
729
398
|
* See the LICENSE file in the root directory of this source tree.
|
|
@@ -736,7 +405,7 @@ const MailCheck = [
|
|
|
736
405
|
];
|
|
737
406
|
|
|
738
407
|
/**
|
|
739
|
-
* @license lucide v0.
|
|
408
|
+
* @license lucide v0.555.0 - ISC
|
|
740
409
|
*
|
|
741
410
|
* This source code is licensed under the ISC license.
|
|
742
411
|
* See the LICENSE file in the root directory of this source tree.
|
|
@@ -750,7 +419,7 @@ const MailWarning = [
|
|
|
750
419
|
];
|
|
751
420
|
|
|
752
421
|
/**
|
|
753
|
-
* @license lucide v0.
|
|
422
|
+
* @license lucide v0.555.0 - ISC
|
|
754
423
|
*
|
|
755
424
|
* This source code is licensed under the ISC license.
|
|
756
425
|
* See the LICENSE file in the root directory of this source tree.
|
|
@@ -762,7 +431,7 @@ const Mail = [
|
|
|
762
431
|
];
|
|
763
432
|
|
|
764
433
|
/**
|
|
765
|
-
* @license lucide v0.
|
|
434
|
+
* @license lucide v0.555.0 - ISC
|
|
766
435
|
*
|
|
767
436
|
* This source code is licensed under the ISC license.
|
|
768
437
|
* See the LICENSE file in the root directory of this source tree.
|
|
@@ -781,7 +450,7 @@ const MessageSquareText = [
|
|
|
781
450
|
];
|
|
782
451
|
|
|
783
452
|
/**
|
|
784
|
-
* @license lucide v0.
|
|
453
|
+
* @license lucide v0.555.0 - ISC
|
|
785
454
|
*
|
|
786
455
|
* This source code is licensed under the ISC license.
|
|
787
456
|
* See the LICENSE file in the root directory of this source tree.
|
|
@@ -797,7 +466,7 @@ const Paperclip = [
|
|
|
797
466
|
];
|
|
798
467
|
|
|
799
468
|
/**
|
|
800
|
-
* @license lucide v0.
|
|
469
|
+
* @license lucide v0.555.0 - ISC
|
|
801
470
|
*
|
|
802
471
|
* This source code is licensed under the ISC license.
|
|
803
472
|
* See the LICENSE file in the root directory of this source tree.
|
|
@@ -814,7 +483,7 @@ const Pencil = [
|
|
|
814
483
|
];
|
|
815
484
|
|
|
816
485
|
/**
|
|
817
|
-
* @license lucide v0.
|
|
486
|
+
* @license lucide v0.555.0 - ISC
|
|
818
487
|
*
|
|
819
488
|
* This source code is licensed under the ISC license.
|
|
820
489
|
* See the LICENSE file in the root directory of this source tree.
|
|
@@ -831,7 +500,7 @@ const Pin = [
|
|
|
831
500
|
];
|
|
832
501
|
|
|
833
502
|
/**
|
|
834
|
-
* @license lucide v0.
|
|
503
|
+
* @license lucide v0.555.0 - ISC
|
|
835
504
|
*
|
|
836
505
|
* This source code is licensed under the ISC license.
|
|
837
506
|
* See the LICENSE file in the root directory of this source tree.
|
|
@@ -845,7 +514,7 @@ const Play = [
|
|
|
845
514
|
];
|
|
846
515
|
|
|
847
516
|
/**
|
|
848
|
-
* @license lucide v0.
|
|
517
|
+
* @license lucide v0.555.0 - ISC
|
|
849
518
|
*
|
|
850
519
|
* This source code is licensed under the ISC license.
|
|
851
520
|
* See the LICENSE file in the root directory of this source tree.
|
|
@@ -857,7 +526,7 @@ const Plus = [
|
|
|
857
526
|
];
|
|
858
527
|
|
|
859
528
|
/**
|
|
860
|
-
* @license lucide v0.
|
|
529
|
+
* @license lucide v0.555.0 - ISC
|
|
861
530
|
*
|
|
862
531
|
* This source code is licensed under the ISC license.
|
|
863
532
|
* See the LICENSE file in the root directory of this source tree.
|
|
@@ -869,7 +538,7 @@ const Reply = [
|
|
|
869
538
|
];
|
|
870
539
|
|
|
871
540
|
/**
|
|
872
|
-
* @license lucide v0.
|
|
541
|
+
* @license lucide v0.555.0 - ISC
|
|
873
542
|
*
|
|
874
543
|
* This source code is licensed under the ISC license.
|
|
875
544
|
* See the LICENSE file in the root directory of this source tree.
|
|
@@ -881,7 +550,7 @@ const RotateCw = [
|
|
|
881
550
|
];
|
|
882
551
|
|
|
883
552
|
/**
|
|
884
|
-
* @license lucide v0.
|
|
553
|
+
* @license lucide v0.555.0 - ISC
|
|
885
554
|
*
|
|
886
555
|
* This source code is licensed under the ISC license.
|
|
887
556
|
* See the LICENSE file in the root directory of this source tree.
|
|
@@ -899,7 +568,7 @@ const Save = [
|
|
|
899
568
|
];
|
|
900
569
|
|
|
901
570
|
/**
|
|
902
|
-
* @license lucide v0.
|
|
571
|
+
* @license lucide v0.555.0 - ISC
|
|
903
572
|
*
|
|
904
573
|
* This source code is licensed under the ISC license.
|
|
905
574
|
* See the LICENSE file in the root directory of this source tree.
|
|
@@ -911,7 +580,7 @@ const Search = [
|
|
|
911
580
|
];
|
|
912
581
|
|
|
913
582
|
/**
|
|
914
|
-
* @license lucide v0.
|
|
583
|
+
* @license lucide v0.555.0 - ISC
|
|
915
584
|
*
|
|
916
585
|
* This source code is licensed under the ISC license.
|
|
917
586
|
* See the LICENSE file in the root directory of this source tree.
|
|
@@ -928,7 +597,7 @@ const Send = [
|
|
|
928
597
|
];
|
|
929
598
|
|
|
930
599
|
/**
|
|
931
|
-
* @license lucide v0.
|
|
600
|
+
* @license lucide v0.555.0 - ISC
|
|
932
601
|
*
|
|
933
602
|
* This source code is licensed under the ISC license.
|
|
934
603
|
* See the LICENSE file in the root directory of this source tree.
|
|
@@ -947,7 +616,7 @@ const SlidersHorizontal = [
|
|
|
947
616
|
];
|
|
948
617
|
|
|
949
618
|
/**
|
|
950
|
-
* @license lucide v0.
|
|
619
|
+
* @license lucide v0.555.0 - ISC
|
|
951
620
|
*
|
|
952
621
|
* This source code is licensed under the ISC license.
|
|
953
622
|
* See the LICENSE file in the root directory of this source tree.
|
|
@@ -961,7 +630,7 @@ const SquareMenu = [
|
|
|
961
630
|
];
|
|
962
631
|
|
|
963
632
|
/**
|
|
964
|
-
* @license lucide v0.
|
|
633
|
+
* @license lucide v0.555.0 - ISC
|
|
965
634
|
*
|
|
966
635
|
* This source code is licensed under the ISC license.
|
|
967
636
|
* See the LICENSE file in the root directory of this source tree.
|
|
@@ -978,7 +647,7 @@ const SquarePen = [
|
|
|
978
647
|
];
|
|
979
648
|
|
|
980
649
|
/**
|
|
981
|
-
* @license lucide v0.
|
|
650
|
+
* @license lucide v0.555.0 - ISC
|
|
982
651
|
*
|
|
983
652
|
* This source code is licensed under the ISC license.
|
|
984
653
|
* See the LICENSE file in the root directory of this source tree.
|
|
@@ -991,7 +660,7 @@ const Touchpad = [
|
|
|
991
660
|
];
|
|
992
661
|
|
|
993
662
|
/**
|
|
994
|
-
* @license lucide v0.
|
|
663
|
+
* @license lucide v0.555.0 - ISC
|
|
995
664
|
*
|
|
996
665
|
* This source code is licensed under the ISC license.
|
|
997
666
|
* See the LICENSE file in the root directory of this source tree.
|
|
@@ -1006,7 +675,7 @@ const Trash2 = [
|
|
|
1006
675
|
];
|
|
1007
676
|
|
|
1008
677
|
/**
|
|
1009
|
-
* @license lucide v0.
|
|
678
|
+
* @license lucide v0.555.0 - ISC
|
|
1010
679
|
*
|
|
1011
680
|
* This source code is licensed under the ISC license.
|
|
1012
681
|
* See the LICENSE file in the root directory of this source tree.
|
|
@@ -1019,7 +688,7 @@ const TriangleAlert = [
|
|
|
1019
688
|
];
|
|
1020
689
|
|
|
1021
690
|
/**
|
|
1022
|
-
* @license lucide v0.
|
|
691
|
+
* @license lucide v0.555.0 - ISC
|
|
1023
692
|
*
|
|
1024
693
|
* This source code is licensed under the ISC license.
|
|
1025
694
|
* See the LICENSE file in the root directory of this source tree.
|
|
@@ -1030,7 +699,7 @@ const Triangle = [
|
|
|
1030
699
|
];
|
|
1031
700
|
|
|
1032
701
|
/**
|
|
1033
|
-
* @license lucide v0.
|
|
702
|
+
* @license lucide v0.555.0 - ISC
|
|
1034
703
|
*
|
|
1035
704
|
* This source code is licensed under the ISC license.
|
|
1036
705
|
* See the LICENSE file in the root directory of this source tree.
|
|
@@ -1054,7 +723,7 @@ const Unlink = [
|
|
|
1054
723
|
];
|
|
1055
724
|
|
|
1056
725
|
/**
|
|
1057
|
-
* @license lucide v0.
|
|
726
|
+
* @license lucide v0.555.0 - ISC
|
|
1058
727
|
*
|
|
1059
728
|
* This source code is licensed under the ISC license.
|
|
1060
729
|
* See the LICENSE file in the root directory of this source tree.
|
|
@@ -1066,7 +735,7 @@ const UserRound = [
|
|
|
1066
735
|
];
|
|
1067
736
|
|
|
1068
737
|
/**
|
|
1069
|
-
* @license lucide v0.
|
|
738
|
+
* @license lucide v0.555.0 - ISC
|
|
1070
739
|
*
|
|
1071
740
|
* This source code is licensed under the ISC license.
|
|
1072
741
|
* See the LICENSE file in the root directory of this source tree.
|
|
@@ -1080,7 +749,7 @@ const UserSearch = [
|
|
|
1080
749
|
];
|
|
1081
750
|
|
|
1082
751
|
/**
|
|
1083
|
-
* @license lucide v0.
|
|
752
|
+
* @license lucide v0.555.0 - ISC
|
|
1084
753
|
*
|
|
1085
754
|
* This source code is licensed under the ISC license.
|
|
1086
755
|
* See the LICENSE file in the root directory of this source tree.
|
|
@@ -1093,7 +762,7 @@ const UsersRound = [
|
|
|
1093
762
|
];
|
|
1094
763
|
|
|
1095
764
|
/**
|
|
1096
|
-
* @license lucide v0.
|
|
765
|
+
* @license lucide v0.555.0 - ISC
|
|
1097
766
|
*
|
|
1098
767
|
* This source code is licensed under the ISC license.
|
|
1099
768
|
* See the LICENSE file in the root directory of this source tree.
|
|
@@ -1124,7 +793,7 @@ const iconMap = {
|
|
|
1124
793
|
Edit: SquarePen,
|
|
1125
794
|
Ellipsis,
|
|
1126
795
|
EllipsisVertical,
|
|
1127
|
-
File
|
|
796
|
+
File,
|
|
1128
797
|
Folder,
|
|
1129
798
|
Globe,
|
|
1130
799
|
Grip,
|
|
@@ -1216,7 +885,7 @@ const ZInput = ({ id, label, placeholder = '', value = '', onChange, onKeyDown,
|
|
|
1216
885
|
}, onKeyDown: onKeyDown, autoFocus: autoFocus, maxLength: maxLength }), maxLength && (h("span", { class: "absolute right-3 top-1/2 -translate-y-1/2 text-xs text-gray-400 pointer-events-none" }, "(", value.length, "/", maxLength, ")"))), error && h("p", { class: "z-input-error" }, error)));
|
|
1217
886
|
};
|
|
1218
887
|
|
|
1219
|
-
export { Icon as I, ZInput as Z, ZButton as a
|
|
1220
|
-
//# sourceMappingURL=z-input-
|
|
888
|
+
export { Icon as I, ZInput as Z, ZButton as a };
|
|
889
|
+
//# sourceMappingURL=z-input-CpnrmPm8.js.map
|
|
1221
890
|
|
|
1222
|
-
//# sourceMappingURL=z-input-
|
|
891
|
+
//# sourceMappingURL=z-input-CpnrmPm8.js.map
|