@sankhyalabs/ezui 5.22.0-dev.64 → 5.22.0-dev.65
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/ez-actions-button.cjs.entry.js +1 -1
- package/dist/cjs/ez-alert-list.cjs.entry.js +1 -1
- package/dist/cjs/ez-alert.cjs.entry.js +1 -1
- package/dist/cjs/ez-application.cjs.entry.js +1 -1
- package/dist/cjs/ez-badge.cjs.entry.js +1 -1
- package/dist/cjs/ez-breadcrumb.cjs.entry.js +1 -1
- package/dist/cjs/ez-button.cjs.entry.js +1 -1
- package/dist/cjs/ez-calendar.cjs.entry.js +1 -1
- package/dist/cjs/{ez-card-item_3.cjs.entry.js → ez-card-item_2.cjs.entry.js} +1 -124
- package/dist/cjs/ez-chart.cjs.entry.js +1 -1
- package/dist/cjs/ez-check.cjs.entry.js +1 -1
- package/dist/cjs/ez-chip.cjs.entry.js +1 -1
- package/dist/cjs/ez-collapsible-box.cjs.entry.js +1 -1
- package/dist/cjs/ez-combo-box.cjs.entry.js +1 -1
- package/dist/cjs/ez-custom-form-input_2.cjs.entry.js +2 -2
- package/dist/cjs/ez-date-input.cjs.entry.js +1 -1
- package/dist/cjs/ez-date-time-input.cjs.entry.js +1 -1
- package/dist/cjs/ez-dialog.cjs.entry.js +1 -1
- package/dist/cjs/ez-double-list.cjs.entry.js +285 -0
- package/dist/cjs/ez-dropdown_2.cjs.entry.js +1 -1
- package/dist/cjs/ez-file-item.cjs.entry.js +1 -1
- package/dist/cjs/ez-filter-input.cjs.entry.js +130 -0
- package/dist/cjs/ez-form-view.cjs.entry.js +1 -1
- package/dist/cjs/ez-form.cjs.entry.js +1 -1
- package/dist/cjs/ez-grid.cjs.entry.js +1 -1
- package/dist/cjs/ez-guide-navigator.cjs.entry.js +1 -1
- package/dist/cjs/ez-icon.cjs.entry.js +1 -1
- package/dist/cjs/ez-list.cjs.entry.js +247 -206
- package/dist/cjs/ez-loading-bar.cjs.entry.js +1 -1
- package/dist/cjs/ez-modal-container.cjs.entry.js +1 -1
- package/dist/cjs/ez-modal.cjs.entry.js +1 -1
- package/dist/cjs/ez-multi-selection-list.cjs.entry.js +1 -1
- package/dist/cjs/ez-number-input.cjs.entry.js +1 -1
- package/dist/cjs/ez-popover.cjs.entry.js +1 -1
- package/dist/cjs/ez-popup.cjs.entry.js +5 -2
- package/dist/cjs/ez-radio-button.cjs.entry.js +1 -1
- package/dist/cjs/ez-scroller_2.cjs.entry.js +1 -1
- package/dist/cjs/ez-search.cjs.entry.js +1 -1
- package/dist/cjs/ez-sidebar-navigator.cjs.entry.js +1 -1
- package/dist/cjs/ez-split-button.cjs.entry.js +1 -1
- package/dist/cjs/ez-split-item.cjs.entry.js +1 -1
- package/dist/cjs/ez-split-panel.cjs.entry.js +1 -1
- package/dist/cjs/ez-tabselector.cjs.entry.js +1 -1
- package/dist/cjs/ez-text-area.cjs.entry.js +1 -1
- package/dist/cjs/ez-text-input.cjs.entry.js +1 -1
- package/dist/cjs/ez-time-input.cjs.entry.js +1 -1
- package/dist/cjs/ez-toast.cjs.entry.js +1 -1
- package/dist/cjs/ez-tooltip.cjs.entry.js +1 -1
- package/dist/cjs/ez-tree.cjs.entry.js +1 -1
- package/dist/cjs/ez-upload.cjs.entry.js +1 -1
- package/dist/cjs/ez-view-stack.cjs.entry.js +1 -1
- package/dist/cjs/ezListHelper-0d3970b4.js +90 -0
- package/dist/cjs/ezui.cjs.js +2 -2
- package/dist/cjs/filter-column.cjs.entry.js +1 -1
- package/dist/cjs/{index-9e5554cb.js → index-a7b0c73d.js} +10 -5
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/collection/collection-manifest.json +1 -0
- package/dist/collection/components/ez-double-list/doubleListHelper.js +82 -0
- package/dist/collection/components/ez-double-list/ez-double-list.css +62 -0
- package/dist/collection/components/ez-double-list/ez-double-list.js +418 -0
- package/dist/collection/components/ez-list/ez-list.js +273 -208
- package/dist/collection/components/ez-list/ezListHelper.js +85 -0
- package/dist/collection/components/ez-popup/ez-popup.css +1 -0
- package/dist/collection/components/ez-popup/ez-popup.js +5 -2
- package/dist/custom-elements/index.d.ts +6 -0
- package/dist/custom-elements/index.js +623 -216
- package/dist/esm/ez-actions-button.entry.js +1 -1
- package/dist/esm/ez-alert-list.entry.js +1 -1
- package/dist/esm/ez-alert.entry.js +1 -1
- package/dist/esm/ez-application.entry.js +1 -1
- package/dist/esm/ez-badge.entry.js +1 -1
- package/dist/esm/ez-breadcrumb.entry.js +1 -1
- package/dist/esm/ez-button.entry.js +1 -1
- package/dist/esm/ez-calendar.entry.js +1 -1
- package/dist/esm/{ez-card-item_3.entry.js → ez-card-item_2.entry.js} +2 -124
- package/dist/esm/ez-chart.entry.js +1 -1
- package/dist/esm/ez-check.entry.js +1 -1
- package/dist/esm/ez-chip.entry.js +1 -1
- package/dist/esm/ez-collapsible-box.entry.js +1 -1
- package/dist/esm/ez-combo-box.entry.js +1 -1
- package/dist/esm/ez-custom-form-input_2.entry.js +2 -2
- package/dist/esm/ez-date-input.entry.js +1 -1
- package/dist/esm/ez-date-time-input.entry.js +1 -1
- package/dist/esm/ez-dialog.entry.js +1 -1
- package/dist/esm/ez-double-list.entry.js +281 -0
- package/dist/esm/ez-dropdown_2.entry.js +1 -1
- package/dist/esm/ez-file-item.entry.js +1 -1
- package/dist/esm/ez-filter-input.entry.js +126 -0
- package/dist/esm/ez-form-view.entry.js +1 -1
- package/dist/esm/ez-form.entry.js +1 -1
- package/dist/esm/ez-grid.entry.js +1 -1
- package/dist/esm/ez-guide-navigator.entry.js +1 -1
- package/dist/esm/ez-icon.entry.js +1 -1
- package/dist/esm/ez-list.entry.js +247 -206
- package/dist/esm/ez-loading-bar.entry.js +1 -1
- package/dist/esm/ez-modal-container.entry.js +1 -1
- package/dist/esm/ez-modal.entry.js +1 -1
- package/dist/esm/ez-multi-selection-list.entry.js +1 -1
- package/dist/esm/ez-number-input.entry.js +1 -1
- package/dist/esm/ez-popover.entry.js +1 -1
- package/dist/esm/ez-popup.entry.js +5 -2
- package/dist/esm/ez-radio-button.entry.js +1 -1
- package/dist/esm/ez-scroller_2.entry.js +1 -1
- package/dist/esm/ez-search.entry.js +1 -1
- package/dist/esm/ez-sidebar-navigator.entry.js +1 -1
- package/dist/esm/ez-split-button.entry.js +1 -1
- package/dist/esm/ez-split-item.entry.js +1 -1
- package/dist/esm/ez-split-panel.entry.js +1 -1
- package/dist/esm/ez-tabselector.entry.js +1 -1
- package/dist/esm/ez-text-area.entry.js +1 -1
- package/dist/esm/ez-text-input.entry.js +1 -1
- package/dist/esm/ez-time-input.entry.js +1 -1
- package/dist/esm/ez-toast.entry.js +1 -1
- package/dist/esm/ez-tooltip.entry.js +1 -1
- package/dist/esm/ez-tree.entry.js +1 -1
- package/dist/esm/ez-upload.entry.js +1 -1
- package/dist/esm/ez-view-stack.entry.js +1 -1
- package/dist/esm/ezListHelper-00fb9b8d.js +87 -0
- package/dist/esm/ezui.js +3 -3
- package/dist/esm/filter-column.entry.js +1 -1
- package/dist/esm/{index-5a720e56.js → index-baa5e267.js} +11 -5
- package/dist/esm/loader.js +3 -3
- package/dist/ezui/ezui.esm.js +1 -1
- package/dist/ezui/{p-e6b38ade.entry.js → p-0306dff7.entry.js} +1 -1
- package/dist/ezui/{p-91ccae0c.entry.js → p-09de35a2.entry.js} +1 -1
- package/dist/ezui/p-13165bb1.entry.js +1 -0
- package/dist/ezui/{p-c7d1333c.entry.js → p-14b769d7.entry.js} +1 -1
- package/dist/ezui/{p-b2f6bc0a.entry.js → p-17be134a.entry.js} +1 -1
- package/dist/ezui/p-17eabf46.entry.js +1 -0
- package/dist/ezui/{p-319d36b7.entry.js → p-181b5ae8.entry.js} +1 -1
- package/dist/ezui/{p-81461d2f.entry.js → p-1e7a8633.entry.js} +1 -1
- package/dist/ezui/{p-6b51c9cc.entry.js → p-1f50fa05.entry.js} +1 -1
- package/dist/ezui/{p-e4c7eb39.js → p-23a36bb6.js} +2 -2
- package/dist/ezui/p-2475fd6e.entry.js +1 -0
- package/dist/ezui/{p-3c10cd94.entry.js → p-2b46b37b.entry.js} +1 -1
- package/dist/ezui/{p-6d31c43c.entry.js → p-2bb2a0c4.entry.js} +1 -1
- package/dist/ezui/{p-efbe0b73.entry.js → p-3175fe8c.entry.js} +1 -1
- package/dist/ezui/p-31d1fab6.entry.js +1 -0
- package/dist/ezui/{p-fad4f1dd.entry.js → p-35d467a8.entry.js} +1 -1
- package/dist/ezui/{p-5d01d189.entry.js → p-3f2dd525.entry.js} +1 -1
- package/dist/ezui/{p-0378416a.entry.js → p-44caad9a.entry.js} +1 -1
- package/dist/ezui/{p-aa543378.entry.js → p-50d83a46.entry.js} +1 -1
- package/dist/ezui/{p-7567ccdd.entry.js → p-555c9018.entry.js} +1 -1
- package/dist/ezui/{p-044d46d5.entry.js → p-5b205c80.entry.js} +1 -1
- package/dist/ezui/{p-6fc26622.entry.js → p-5ed81457.entry.js} +1 -1
- package/dist/ezui/{p-f1c2c19e.entry.js → p-650e4b6d.entry.js} +1 -1
- package/dist/ezui/{p-aee8d615.entry.js → p-654b3f99.entry.js} +1 -1
- package/dist/ezui/p-65f471bc.entry.js +1 -0
- package/dist/ezui/{p-6d8b3298.entry.js → p-6cdd3e0a.entry.js} +1 -1
- package/dist/ezui/{p-554522db.entry.js → p-6d79930d.entry.js} +1 -1
- package/dist/ezui/{p-fc194825.entry.js → p-6e429cff.entry.js} +1 -1
- package/dist/ezui/{p-def75121.entry.js → p-6f22a385.entry.js} +1 -1
- package/dist/ezui/{p-2f53435e.entry.js → p-7409eeaa.entry.js} +1 -1
- package/dist/ezui/{p-11bfeca3.entry.js → p-77a4bd35.entry.js} +1 -1
- package/dist/ezui/{p-397e3026.entry.js → p-7ed30844.entry.js} +1 -1
- package/dist/ezui/{p-e18d9e6a.entry.js → p-7fdd479f.entry.js} +1 -1
- package/dist/ezui/p-80dfc50b.js +1 -0
- package/dist/ezui/{p-1b08bf3c.entry.js → p-8888d9ed.entry.js} +1 -1
- package/dist/ezui/{p-82fa4b09.entry.js → p-8df1ca33.entry.js} +1 -1
- package/dist/ezui/{p-e7395eae.entry.js → p-90bcd2ba.entry.js} +1 -1
- package/dist/ezui/{p-a921e3e7.entry.js → p-990b4318.entry.js} +1 -1
- package/dist/ezui/{p-c2b20f78.entry.js → p-9f5fa3f9.entry.js} +1 -1
- package/dist/ezui/{p-b6241ea3.entry.js → p-a6fe527a.entry.js} +1 -1
- package/dist/ezui/{p-dfca5946.entry.js → p-a80b1287.entry.js} +1 -1
- package/dist/ezui/{p-18a2a28a.entry.js → p-b6a4e6de.entry.js} +1 -1
- package/dist/ezui/p-bc2f844e.entry.js +1 -0
- package/dist/ezui/{p-92748142.entry.js → p-c0d9c4f8.entry.js} +1 -1
- package/dist/ezui/{p-b858fc6e.entry.js → p-c3045972.entry.js} +1 -1
- package/dist/ezui/{p-a563df31.entry.js → p-c4320a39.entry.js} +1 -1
- package/dist/ezui/{p-ec5f987d.entry.js → p-ca6340a9.entry.js} +1 -1
- package/dist/ezui/{p-16e21a40.entry.js → p-d0ca26fe.entry.js} +1 -1
- package/dist/ezui/{p-cce6c015.entry.js → p-d520839d.entry.js} +1 -1
- package/dist/ezui/p-dc8b36c3.entry.js +1 -0
- package/dist/ezui/{p-bef7daac.entry.js → p-e347df9c.entry.js} +1 -1
- package/dist/ezui/{p-35d0b2fb.entry.js → p-e3e3fd7a.entry.js} +1 -1
- package/dist/ezui/{p-469b2619.entry.js → p-e82d122c.entry.js} +1 -1
- package/dist/ezui/{p-6bda82d1.entry.js → p-fec696ab.entry.js} +1 -1
- package/dist/types/components/ez-double-list/doubleListHelper.d.ts +10 -0
- package/dist/types/components/ez-double-list/ez-double-list.d.ts +86 -0
- package/dist/types/components/ez-list/ez-list.d.ts +19 -3
- package/dist/types/components/ez-list/ezListHelper.d.ts +20 -0
- package/dist/types/components/ez-popup/ez-popup.d.ts +1 -1
- package/dist/types/components.d.ts +97 -6
- package/package.json +1 -1
- package/react/components.d.ts +1 -0
- package/react/components.js +1 -0
- package/react/components.js.map +1 -1
- package/dist/ezui/p-3af64edd.entry.js +0 -1
- package/dist/ezui/p-46a46507.entry.js +0 -1
- package/dist/ezui/p-6ec40dec.entry.js +0 -1
- package/dist/ezui/p-7f5afb1f.entry.js +0 -1
- package/dist/ezui/p-a1c0eadf.entry.js +0 -1
|
@@ -0,0 +1,285 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
const index = require('./index-a7b0c73d.js');
|
|
6
|
+
const core = require('@sankhyalabs/core');
|
|
7
|
+
const ezListHelper = require('./ezListHelper-0d3970b4.js');
|
|
8
|
+
const EzScrollDirection = require('./EzScrollDirection-b2c99895.js');
|
|
9
|
+
|
|
10
|
+
function moveItems(selectedItemsList, itemsList, foward) {
|
|
11
|
+
if (!selectedItemsList.length)
|
|
12
|
+
return [...itemsList];
|
|
13
|
+
if (!itemsList.length)
|
|
14
|
+
return [];
|
|
15
|
+
const selectedIndexes = getItemsIndex(selectedItemsList, itemsList);
|
|
16
|
+
const startIndex = getMinValue(selectedIndexes);
|
|
17
|
+
const endIndex = getMaxValue(selectedIndexes);
|
|
18
|
+
return moveRange(startIndex, endIndex, foward, itemsList);
|
|
19
|
+
}
|
|
20
|
+
function getMinValue(numbers) {
|
|
21
|
+
if (numbers.length === 0)
|
|
22
|
+
return 0;
|
|
23
|
+
return numbers.reduce((min, current) => (current < min ? current : min), numbers[0]);
|
|
24
|
+
}
|
|
25
|
+
function getMaxValue(numbers) {
|
|
26
|
+
if (numbers.length === 0)
|
|
27
|
+
return 0;
|
|
28
|
+
return numbers.reduce((max, current) => (current > max ? current : max), numbers[0]);
|
|
29
|
+
}
|
|
30
|
+
function getItemsIndex(selectedItemsList, itemsList) {
|
|
31
|
+
return selectedItemsList.map(selectedId => itemsList.findIndex(original => original.id === selectedId));
|
|
32
|
+
}
|
|
33
|
+
function moveRange(startIndex, endIndex, moveForward, listItem) {
|
|
34
|
+
if (startIndex < 0 || endIndex >= listItem.length || startIndex > endIndex)
|
|
35
|
+
return listItem;
|
|
36
|
+
if (moveForward)
|
|
37
|
+
return moveFoward(endIndex, startIndex, listItem);
|
|
38
|
+
return moveBackward(startIndex, endIndex, listItem);
|
|
39
|
+
}
|
|
40
|
+
function moveBackward(startIndex, endIndex, listItem) {
|
|
41
|
+
if (startIndex === 0)
|
|
42
|
+
return listItem;
|
|
43
|
+
const beforeRange = listItem.slice(0, startIndex - 1);
|
|
44
|
+
const range = listItem.slice(startIndex, endIndex + 1);
|
|
45
|
+
const afterRange = listItem.slice(endIndex + 1);
|
|
46
|
+
const movedItem = listItem[startIndex - 1];
|
|
47
|
+
return [...beforeRange, ...range, movedItem, ...afterRange];
|
|
48
|
+
}
|
|
49
|
+
function moveFoward(endIndex, startIndex, listItem) {
|
|
50
|
+
if (endIndex === listItem.length - 1)
|
|
51
|
+
return listItem;
|
|
52
|
+
const beforeRange = listItem.slice(0, startIndex);
|
|
53
|
+
const range = listItem.slice(startIndex, endIndex + 1);
|
|
54
|
+
const afterRange = listItem.slice(endIndex + 1);
|
|
55
|
+
const movedItem = afterRange.shift();
|
|
56
|
+
return movedItem
|
|
57
|
+
? [...beforeRange, movedItem, ...range, ...afterRange]
|
|
58
|
+
: listItem;
|
|
59
|
+
}
|
|
60
|
+
function transferAll({ from, to, selectedFrom, selectedTo }) {
|
|
61
|
+
to = [...to.map(i => setItemSelection(i, false)), ...from.map(i => setItemSelection(i, true))];
|
|
62
|
+
selectedFrom = [];
|
|
63
|
+
selectedTo = [...from.map(({ id }) => id)];
|
|
64
|
+
from = [];
|
|
65
|
+
return { from, to, selectedFrom, selectedTo };
|
|
66
|
+
}
|
|
67
|
+
function transferItems({ from, to, selectedFrom, selectedTo }) {
|
|
68
|
+
if (!from.length)
|
|
69
|
+
return { from, to, selectedFrom, selectedTo };
|
|
70
|
+
const itemsToTransfer = getItemsToTransfer(to, selectedFrom, from);
|
|
71
|
+
if (!itemsToTransfer.length)
|
|
72
|
+
return { from, to, selectedFrom, selectedTo };
|
|
73
|
+
to = [
|
|
74
|
+
...to.map(i => setItemSelection(i, false)),
|
|
75
|
+
...itemsToTransfer.map(i => setItemSelection(i, true))
|
|
76
|
+
];
|
|
77
|
+
const selectedFromIds = selectedFrom.map(id => id);
|
|
78
|
+
from = [...from.filter(item => !selectedFromIds.includes(item.id))];
|
|
79
|
+
selectedTo = [...selectedFrom];
|
|
80
|
+
selectedFrom = [];
|
|
81
|
+
return { from, to, selectedFrom, selectedTo };
|
|
82
|
+
}
|
|
83
|
+
function getItemsToTransfer(to, selectedFrom, from) {
|
|
84
|
+
const toListIds = to.map(item => item.id);
|
|
85
|
+
//Não deve transferir um item que já existe na lista destino
|
|
86
|
+
const itemsToTransferId = selectedFrom.filter((id) => !toListIds.includes(id));
|
|
87
|
+
return from.filter(({ id }) => itemsToTransferId.includes(id));
|
|
88
|
+
}
|
|
89
|
+
function setItemSelection(item, select) {
|
|
90
|
+
return Object.assign(Object.assign({}, item), { selected: select });
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
const ezDoubleListCss = ".sc-ez-double-list-h{display:flex;flex-direction:row;gap:8px;align-items:center;font-family:var(--font-pattern, \"Roboto\")}.group.sc-ez-double-list{display:flex;justify-content:space-between;gap:10px;flex-direction:column;border:var(--border--small) var(--color--strokes);border-radius:var(--border--radius-medium);width:350px;height:400px}.group__header.sc-ez-double-list{background:var(--background--body);padding:10px;border-radius:var(--border--radius-medium) var(--border--radius-medium) 0 0}.group__label.sc-ez-double-list{font-weight:var(--text-weight--large);font-size:var(--text--medium);color:var(--title--primary);margin-bottom:10px;display:block}.group__totalizer.sc-ez-double-list{padding:5px 10px;background:var(--background--body);font-weight:var(--text-weight--medium);font-size:var(--text--medium);color:var(--text--secondary);border-radius:0 0 var(--border--radius-medium) var(--border--radius-medium)}.empty-message.sc-ez-double-list{font-weight:var(--text-weight--medium);font-size:var(--text--medium);color:var(--text--secondary);text-align:center;margin:auto}.list__container.sc-ez-double-list{height:100%;min-height:150px;overflow:auto;display:flex}.actions__column.sc-ez-double-list{display:flex;flex-direction:column;gap:4px}";
|
|
94
|
+
|
|
95
|
+
const EzDoubleList = class {
|
|
96
|
+
constructor(hostRef) {
|
|
97
|
+
index.registerInstance(this, hostRef);
|
|
98
|
+
this.ezLeftListChanged = index.createEvent(this, "ezLeftListChanged", 7);
|
|
99
|
+
this.ezRightListChanged = index.createEvent(this, "ezRightListChanged", 7);
|
|
100
|
+
this.LEFT_LIST_ID = 'LEFT-LIST-ID';
|
|
101
|
+
this.RIGHT_LIST_ID = 'RIGHT-LIST-ID';
|
|
102
|
+
this.LEFT_FILTER_ID = 'LEFT-FILTER-ID';
|
|
103
|
+
this.RIGHT_FILTER_ID = 'RIGHT-FILTER-ID';
|
|
104
|
+
this.leftList = [];
|
|
105
|
+
this.leftTitle = undefined;
|
|
106
|
+
this.rightList = [];
|
|
107
|
+
this.entityLabel = 'item';
|
|
108
|
+
this.entityLabelPlural = 'itens';
|
|
109
|
+
this.leftListLabel = 'disponíveis';
|
|
110
|
+
this.rightListLabel = 'selecionados';
|
|
111
|
+
this.rightTitle = undefined;
|
|
112
|
+
this.leftFilteredList = [];
|
|
113
|
+
this.rightFilteredList = [];
|
|
114
|
+
this.selectedLeftList = [];
|
|
115
|
+
this.selectedRightList = [];
|
|
116
|
+
this.isFilteringLeft = false;
|
|
117
|
+
this.isFilteringRight = false;
|
|
118
|
+
}
|
|
119
|
+
observeLeftList(newValue, oldValue) {
|
|
120
|
+
if (core.ObjectUtils.equals(newValue, oldValue))
|
|
121
|
+
return;
|
|
122
|
+
this.ezLeftListChanged.emit(newValue);
|
|
123
|
+
}
|
|
124
|
+
observeRightList(newValue, oldValue) {
|
|
125
|
+
if (core.ObjectUtils.equals(newValue, oldValue))
|
|
126
|
+
return;
|
|
127
|
+
this.ezRightListChanged.emit(newValue);
|
|
128
|
+
}
|
|
129
|
+
handleFilterChangeLeft(value) {
|
|
130
|
+
this.leftFilteredList = core.ArrayUtils.applyStringFilter(value, this.leftList, true, 'label');
|
|
131
|
+
this.isFilteringLeft = this.leftFilteredList.length !== this.leftList.length;
|
|
132
|
+
}
|
|
133
|
+
handleFilterChangeRight(value) {
|
|
134
|
+
this.rightFilteredList = core.ArrayUtils.applyStringFilter(value, this.rightList, true, 'label');
|
|
135
|
+
this.isFilteringRight = this.rightFilteredList.length !== this.rightList.length;
|
|
136
|
+
}
|
|
137
|
+
async handleChangeLeft({ detail }) {
|
|
138
|
+
this.leftList = [...detail];
|
|
139
|
+
this.selectedLeftList = [...detail.filter(item => item.selected)];
|
|
140
|
+
await this.leftEzListInstance.clearHistory();
|
|
141
|
+
}
|
|
142
|
+
async handleChangeRight({ detail }) {
|
|
143
|
+
this.rightList = [...detail];
|
|
144
|
+
this.selectedRightList = [...detail.filter(item => item.selected)];
|
|
145
|
+
await this.rightEzListInstance.clearHistory();
|
|
146
|
+
}
|
|
147
|
+
enableTransferAllToRight() {
|
|
148
|
+
return this.leftList.length > 0;
|
|
149
|
+
}
|
|
150
|
+
enableTransferAllToLeft() {
|
|
151
|
+
return this.rightList.length > 0;
|
|
152
|
+
}
|
|
153
|
+
enableTransferToRight() {
|
|
154
|
+
return this.selectedLeftList.length > 0;
|
|
155
|
+
}
|
|
156
|
+
enableTransferToLeft() {
|
|
157
|
+
return this.selectedRightList.length > 0;
|
|
158
|
+
}
|
|
159
|
+
enableMoveUp(moveAll) {
|
|
160
|
+
if (this.isFilteringRight)
|
|
161
|
+
return false;
|
|
162
|
+
const selectedIndexes = this.getRightSelectedItemsIndex();
|
|
163
|
+
return this.selectedRightList.length > 0
|
|
164
|
+
&& !selectedIndexes.includes(0)
|
|
165
|
+
&& (moveAll ? true : ezListHelper.isContinuousSequence(selectedIndexes));
|
|
166
|
+
}
|
|
167
|
+
enableMoveDown(moveAll) {
|
|
168
|
+
if (this.isFilteringRight)
|
|
169
|
+
return false;
|
|
170
|
+
const selectedIndexes = this.getRightSelectedItemsIndex();
|
|
171
|
+
const lastIndex = this.rightList.length - 1;
|
|
172
|
+
return this.selectedRightList.length > 0
|
|
173
|
+
&& !selectedIndexes.includes(lastIndex)
|
|
174
|
+
&& (moveAll ? true : ezListHelper.isContinuousSequence(selectedIndexes));
|
|
175
|
+
}
|
|
176
|
+
getRightSelectedItemsIndex() {
|
|
177
|
+
return this.selectedRightList.map(id => this.rightList.findIndex(original => original.id === id));
|
|
178
|
+
}
|
|
179
|
+
transferToRight() {
|
|
180
|
+
const { from, to, selectedFrom, selectedTo } = transferItems(this.buildTransferToRightConfig());
|
|
181
|
+
this.leftList = [...from];
|
|
182
|
+
this.rightList = [...to];
|
|
183
|
+
this.selectedLeftList = [...selectedFrom];
|
|
184
|
+
this.selectedRightList = [...selectedTo];
|
|
185
|
+
}
|
|
186
|
+
transferToLeft() {
|
|
187
|
+
const { from, to, selectedFrom, selectedTo } = transferItems(this.buildTransferToLeftConfig());
|
|
188
|
+
this.rightList = [...from];
|
|
189
|
+
this.leftList = [...to];
|
|
190
|
+
this.selectedRightList = [...selectedFrom];
|
|
191
|
+
this.selectedLeftList = [...selectedTo];
|
|
192
|
+
}
|
|
193
|
+
handleTransferAllToRight() {
|
|
194
|
+
const { from, to, selectedFrom, selectedTo } = transferAll(this.buildTransferToRightConfig());
|
|
195
|
+
this.leftList = [...from];
|
|
196
|
+
this.rightList = [...to];
|
|
197
|
+
this.selectedLeftList = [...selectedFrom];
|
|
198
|
+
this.selectedRightList = [...selectedTo];
|
|
199
|
+
}
|
|
200
|
+
handleTransferAllToLeft() {
|
|
201
|
+
const { from, to, selectedFrom, selectedTo } = transferAll(this.buildTransferToLeftConfig());
|
|
202
|
+
this.rightList = [...from];
|
|
203
|
+
this.leftList = [...to];
|
|
204
|
+
this.selectedRightList = [...selectedFrom];
|
|
205
|
+
this.selectedLeftList = [...selectedTo];
|
|
206
|
+
}
|
|
207
|
+
buildTransferToRightConfig() {
|
|
208
|
+
return {
|
|
209
|
+
from: this.leftList,
|
|
210
|
+
to: this.rightList,
|
|
211
|
+
selectedFrom: this.selectedLeftList,
|
|
212
|
+
selectedTo: this.selectedRightList,
|
|
213
|
+
};
|
|
214
|
+
}
|
|
215
|
+
buildTransferToLeftConfig() {
|
|
216
|
+
return {
|
|
217
|
+
from: this.rightList,
|
|
218
|
+
to: this.leftList,
|
|
219
|
+
selectedFrom: this.selectedRightList,
|
|
220
|
+
selectedTo: this.selectedLeftList,
|
|
221
|
+
};
|
|
222
|
+
}
|
|
223
|
+
handleMoveUp() {
|
|
224
|
+
this.rightList = [...moveItems(this.selectedRightList, this.rightList, false)];
|
|
225
|
+
}
|
|
226
|
+
handleMoveDown() {
|
|
227
|
+
this.rightList = [...moveItems(this.selectedRightList, this.rightList, true)];
|
|
228
|
+
}
|
|
229
|
+
handleMoveToTop() {
|
|
230
|
+
const { itemsToKeep, itemsToMove } = this.getItemsToKeepAndToMove();
|
|
231
|
+
this.rightList = [...itemsToMove, ...itemsToKeep];
|
|
232
|
+
}
|
|
233
|
+
handleMoveToBottom() {
|
|
234
|
+
const { itemsToKeep, itemsToMove } = this.getItemsToKeepAndToMove();
|
|
235
|
+
this.rightList = [...itemsToKeep, ...itemsToMove];
|
|
236
|
+
}
|
|
237
|
+
handleSelectLeftItem({ detail }) {
|
|
238
|
+
const selectedItems = Array.isArray(detail) ? detail : [detail];
|
|
239
|
+
this.selectedLeftList = [...selectedItems.map(({ id }) => id)];
|
|
240
|
+
}
|
|
241
|
+
handleSelectRightItem({ detail }) {
|
|
242
|
+
const selectedItems = Array.isArray(detail) ? detail : [detail];
|
|
243
|
+
this.selectedRightList = [...selectedItems.map(({ id }) => id)];
|
|
244
|
+
}
|
|
245
|
+
getItemsToKeepAndToMove() {
|
|
246
|
+
const itemsToKeep = this.rightList.filter(item => !this.selectedRightList.includes(item.id));
|
|
247
|
+
const itemsToMove = this.rightList.filter(item => this.selectedRightList.includes(item.id));
|
|
248
|
+
return { itemsToKeep, itemsToMove };
|
|
249
|
+
}
|
|
250
|
+
handleTransferToRight() {
|
|
251
|
+
this.transferToRight();
|
|
252
|
+
this.leftFilteredList = [];
|
|
253
|
+
this.leftEzFilterInput.value = '';
|
|
254
|
+
}
|
|
255
|
+
handleTransferToLeft() {
|
|
256
|
+
this.transferToLeft();
|
|
257
|
+
this.rightFilteredList = [];
|
|
258
|
+
this.rightEzFilterInput.value = '';
|
|
259
|
+
}
|
|
260
|
+
buildTotalizer(list) {
|
|
261
|
+
return `Total de ${list.length} ${list.length === 1 ? this.entityLabel : this.entityLabelPlural}`;
|
|
262
|
+
}
|
|
263
|
+
renderLeftList() {
|
|
264
|
+
if (!this.leftList.length) {
|
|
265
|
+
return index.h("span", { class: 'empty-message' }, "Nenhum ", this.entityLabel, " dispon\u00EDvel");
|
|
266
|
+
}
|
|
267
|
+
return (index.h("ez-scroller", { direction: EzScrollDirection.EzScrollDirection.VERTICAL, activeShadow: true }, index.h("ez-list", { ref: (ref) => this.leftEzListInstance = ref, id: this.LEFT_LIST_ID, hoverFeedback: true, dataSource: this.isFilteringLeft ? this.leftFilteredList : this.leftList, ezDraggable: !this.isFilteringLeft, enableMultipleSelection: true, onEzChange: this.handleChangeLeft.bind(this), ezSelectable: true, onEzSelectItem: this.handleSelectLeftItem.bind(this), onEzDoubleClick: this.handleTransferToRight.bind(this) })));
|
|
268
|
+
}
|
|
269
|
+
renderRightList() {
|
|
270
|
+
if (!this.rightList.length) {
|
|
271
|
+
return index.h("span", { class: 'empty-message' }, "Nenhum ", this.entityLabel, " selecionado");
|
|
272
|
+
}
|
|
273
|
+
return (index.h("ez-scroller", { direction: EzScrollDirection.EzScrollDirection.VERTICAL, activeShadow: true }, index.h("ez-list", { ref: (ref) => this.rightEzListInstance = ref, id: this.RIGHT_LIST_ID, hoverFeedback: true, dataSource: this.isFilteringRight ? this.rightFilteredList : this.rightList, ezDraggable: !this.isFilteringRight, enableMultipleSelection: true, onEzChange: this.handleChangeRight.bind(this), ezSelectable: true, onEzSelectItem: this.handleSelectRightItem.bind(this), onEzDoubleClick: this.handleTransferToLeft.bind(this) })));
|
|
274
|
+
}
|
|
275
|
+
render() {
|
|
276
|
+
return (index.h(index.Host, null, index.h("div", { class: 'group' }, index.h("div", { class: 'group__header' }, index.h("span", { class: 'group__label' }, this.leftTitle), index.h("ez-filter-input", { ref: (ref) => this.leftEzFilterInput = ref, id: this.LEFT_FILTER_ID, label: `Buscar ${this.entityLabel}`, mode: 'slim', onEzChange: evt => this.handleFilterChangeLeft(evt.detail) })), index.h("div", { class: 'list__container' }, this.renderLeftList()), index.h("div", { class: 'group__totalizer' }, this.buildTotalizer(this.leftList))), index.h("div", { class: 'actions__column' }, index.h("ez-button", { mode: 'icon', iconName: 'dual-chevron-right', enabled: this.enableTransferAllToRight(), title: `Mover todos para ${this.leftListLabel}`, size: 'small', onClick: this.handleTransferAllToRight.bind(this) }), index.h("ez-button", { mode: 'icon', iconName: 'chevron-right', enabled: this.enableTransferToRight(), title: `Mover para ${this.leftListLabel}`, size: 'small', onClick: this.handleTransferToRight.bind(this) }), index.h("ez-button", { mode: 'icon', iconName: 'chevron-left', enabled: this.enableTransferToLeft(), title: `Mover para ${this.rightListLabel}`, size: 'small', onClick: this.handleTransferToLeft.bind(this) }), index.h("ez-button", { mode: 'icon', iconName: 'dual-chevron-left', enabled: this.enableTransferAllToLeft(), title: `Mover todos para ${this.rightListLabel}`, size: 'small', onClick: this.handleTransferAllToLeft.bind(this) })), index.h("div", { class: 'group' }, index.h("div", { class: 'group__header' }, index.h("span", { class: 'group__label' }, this.rightTitle), index.h("ez-filter-input", { ref: (ref) => this.rightEzFilterInput = ref, id: this.RIGHT_FILTER_ID, label: `Buscar ${this.entityLabel}`, mode: 'slim', onEzChange: evt => this.handleFilterChangeRight(evt.detail) })), index.h("div", { class: 'list__container' }, this.renderRightList()), index.h("div", { class: 'group__totalizer' }, this.buildTotalizer(this.rightList))), index.h("div", { class: 'actions__column' }, index.h("ez-button", { mode: 'icon', iconName: 'dual-chevron-up', enabled: this.enableMoveUp(true), title: 'Mover para primeira posi\u00E7\u00E3o', size: 'small', onClick: this.handleMoveToTop.bind(this) }), index.h("ez-button", { mode: 'icon', iconName: 'chevron-up', enabled: this.enableMoveUp(), title: 'Mover para cima', size: 'small', onClick: this.handleMoveUp.bind(this) }), index.h("ez-button", { mode: 'icon', iconName: 'chevron-down', enabled: this.enableMoveDown(), title: 'Mover para baixo', size: 'small', onClick: this.handleMoveDown.bind(this) }), index.h("ez-button", { mode: 'icon', iconName: 'dual-chevron-down', enabled: this.enableMoveDown(true), title: 'Mover para \u00FAltima posi\u00E7\u00E3o', size: 'small', onClick: this.handleMoveToBottom.bind(this) }))));
|
|
277
|
+
}
|
|
278
|
+
static get watchers() { return {
|
|
279
|
+
"leftList": ["observeLeftList"],
|
|
280
|
+
"rightList": ["observeRightList"]
|
|
281
|
+
}; }
|
|
282
|
+
};
|
|
283
|
+
EzDoubleList.style = ezDoubleListCss;
|
|
284
|
+
|
|
285
|
+
exports.ez_double_list = EzDoubleList;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
5
|
+
const index = require('./index-a7b0c73d.js');
|
|
6
6
|
const core = require('@sankhyalabs/core');
|
|
7
7
|
|
|
8
8
|
const DropdownItem = ({ item, hasIcon, hasChildren, isLockedLevels, onSubActionClick }) => {
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
5
|
+
const index = require('./index-a7b0c73d.js');
|
|
6
6
|
const core = require('@sankhyalabs/core');
|
|
7
7
|
|
|
8
8
|
const ezFileItemCss = ":host{display:flex;width:100%;--ez-file-item--height:42px;--ez-file-item--padding:9px;--ez-file-item--border-radius:var(--border--radius-medium, 12px);--ez-file-item--border-color:var(--color--strokes, #DCE0E8);--ez-file-item--border-style:var(--border--small, 1px solid);--ez-file-item--font-family:var(--font-pattern, Arial);--ez-file-item--font-size:var(--text--medium, 14px);--ez-file-item--font-weight:var(--text-weight--medium, 400);--ez-file-item--color:var(--title--primary, #2B3A54);--ez-file-item__file-size--font-weight:var(--text-weight--large, 600);--ez-file-item__file-size--color:var(--color--primary, #008561);--ez-file-item__background-progress--color:var(--color--primary-300, E2F4EF);--ez-file-item--icon-color:var(--title--primary, #2B3A54)}.box{display:flex;box-sizing:border-box;position:relative;align-items:center;justify-content:space-between;width:100%;padding:var(--ez-file-item--padding);border:var(--ez-file-item--border-color) var(--ez-file-item--border-style);border-radius:var(--ez-file-item--border-radius);height:var(--ez-file-item--height)}.box::before{content:\"\";position:absolute;top:0;left:0;width:100%;height:100%;clip-path:inset(2px calc(var(--ez-file-item--upload-progress, 0%) + 2px) 2px 2px round calc(var(--ez-file-item--border-radius) - 4px));background-color:var(--ez-file-item__background-progress--color)}.content{display:flex;align-items:center;z-index:0;overflow:hidden}.file-name{text-overflow:ellipsis;overflow:hidden;white-space:nowrap;font-family:var(--ez-file-item--font-family);font-size:var(--ez-file-item--font-size);font-weight:var(--ez-file-item--font-weight);color:var(--ez-file-item--color)}.file-type-icon{flex-shrink:0;--ez-icon--color:var(--ez-file-item--icon-color);padding-right:var(--ez-file-item--padding)}.file-size{padding-left:2px;overflow:hidden;flex-shrink:0;white-space:nowrap;font-family:var(--ez-file-item--font-family);font-size:var(--ez-file-item--font-size);font-weight:var(--ez-file-item__file-size--font-weight);color:var(--ez-file-item__file-size--color)}.btn-remove{cursor:pointer;flex-shrink:0;--ez-icon--color:var(--ez-file-item--icon-color)}";
|
|
@@ -0,0 +1,130 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
const index = require('./index-a7b0c73d.js');
|
|
6
|
+
const core = require('@sankhyalabs/core');
|
|
7
|
+
const CSSVarsUtils = require('./CSSVarsUtils-10c9d5b4.js');
|
|
8
|
+
|
|
9
|
+
const ezFilterInputCss = ":host{display:block;width:100%}";
|
|
10
|
+
|
|
11
|
+
const EzFilterInput = class {
|
|
12
|
+
constructor(hostRef) {
|
|
13
|
+
index.registerInstance(this, hostRef);
|
|
14
|
+
this.ezChange = index.createEvent(this, "ezChange", 7);
|
|
15
|
+
this.ezSearching = index.createEvent(this, "ezSearching", 7);
|
|
16
|
+
this.ezFocusIn = index.createEvent(this, "ezFocusIn", 7);
|
|
17
|
+
this._searchingText = "";
|
|
18
|
+
this.handleFocus = () => {
|
|
19
|
+
if (this._searchingText === "") {
|
|
20
|
+
this._textInput.value = "";
|
|
21
|
+
}
|
|
22
|
+
else {
|
|
23
|
+
this._textInput.value = this._searchingText;
|
|
24
|
+
}
|
|
25
|
+
this.ezFocusIn.emit();
|
|
26
|
+
};
|
|
27
|
+
this.label = undefined;
|
|
28
|
+
this.value = undefined;
|
|
29
|
+
this.enabled = true;
|
|
30
|
+
this.errorMessage = undefined;
|
|
31
|
+
this.restrict = undefined;
|
|
32
|
+
this.mode = "regular";
|
|
33
|
+
this.asyncSearch = false;
|
|
34
|
+
this.canShowError = true;
|
|
35
|
+
this.autoFocus = false;
|
|
36
|
+
this.noMargin = false;
|
|
37
|
+
}
|
|
38
|
+
observeLabel() {
|
|
39
|
+
if (this._textInput) {
|
|
40
|
+
this._textInput.label = this.label;
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
observeErrorMessage() {
|
|
44
|
+
if (this._textInput) {
|
|
45
|
+
this._textInput.errorMessage = this.errorMessage;
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
observeValue(newValue, oldValue) {
|
|
49
|
+
if (this._textInput && newValue != oldValue) {
|
|
50
|
+
this._textInput.value = newValue;
|
|
51
|
+
this.ezChange.emit(newValue);
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
/**
|
|
55
|
+
* Aplica o foco no campo.
|
|
56
|
+
*/
|
|
57
|
+
async setFocus(options) {
|
|
58
|
+
this._textInput.setFocus(options);
|
|
59
|
+
}
|
|
60
|
+
/**
|
|
61
|
+
* Remove o foco do campo.
|
|
62
|
+
*/
|
|
63
|
+
async setBlur() {
|
|
64
|
+
this._textInput.setBlur();
|
|
65
|
+
}
|
|
66
|
+
/**
|
|
67
|
+
* Retorna se o conteúdo é inválido.
|
|
68
|
+
*/
|
|
69
|
+
async isInvalid() {
|
|
70
|
+
return typeof this.errorMessage === "string" && this.errorMessage.trim() !== "";
|
|
71
|
+
}
|
|
72
|
+
/**
|
|
73
|
+
* Método responsável por setar um novo valor ao campo.
|
|
74
|
+
*/
|
|
75
|
+
async setValue(newValue) {
|
|
76
|
+
if (!this.asyncSearch || this._textInput == undefined) {
|
|
77
|
+
return;
|
|
78
|
+
}
|
|
79
|
+
if (newValue !== this.value) {
|
|
80
|
+
this.value = newValue;
|
|
81
|
+
this._searchingText = "";
|
|
82
|
+
}
|
|
83
|
+
else {
|
|
84
|
+
this._textInput.value = newValue;
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
/**
|
|
88
|
+
* Método responsável por resetar o valor do campo para o ultimo valor inputado.
|
|
89
|
+
*/
|
|
90
|
+
async endSearch() {
|
|
91
|
+
if (!this.asyncSearch || this._textInput == undefined) {
|
|
92
|
+
return;
|
|
93
|
+
}
|
|
94
|
+
if (this._textInput.value !== this.value) {
|
|
95
|
+
this._textInput.value = this.value;
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
handleChange(evt) {
|
|
99
|
+
const newValue = evt.detail;
|
|
100
|
+
this.errorMessage = "";
|
|
101
|
+
if (this.asyncSearch) {
|
|
102
|
+
this._searchingText = newValue;
|
|
103
|
+
this.ezSearching.emit(newValue);
|
|
104
|
+
}
|
|
105
|
+
else if (newValue !== this.value) {
|
|
106
|
+
this.value = newValue;
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
componentDidLoad() {
|
|
110
|
+
CSSVarsUtils.CSSVarsUtils.applyVarsTextInput(this._elem, this._textInput);
|
|
111
|
+
if (this.autoFocus) {
|
|
112
|
+
requestAnimationFrame(() => {
|
|
113
|
+
this.setFocus({ selectText: true });
|
|
114
|
+
});
|
|
115
|
+
}
|
|
116
|
+
}
|
|
117
|
+
render() {
|
|
118
|
+
core.ElementIDUtils.addIDInfoIfNotExists(this._elem, 'input');
|
|
119
|
+
return (index.h("ez-text-input", { "data-element-id": core.ElementIDUtils.getInternalIDInfo("textInput"), ref: elem => this._textInput = elem, label: this.label, onEzChange: evt => this.handleChange(evt), value: this.value, enabled: this.enabled, errorMessage: this.errorMessage, restrict: this.restrict, mode: this.mode, onFocusin: this.handleFocus, canShowError: this.canShowError, noMargin: this.noMargin }, index.h("ez-icon", { slot: "leftIcon", iconName: "search" })));
|
|
120
|
+
}
|
|
121
|
+
get _elem() { return index.getElement(this); }
|
|
122
|
+
static get watchers() { return {
|
|
123
|
+
"label": ["observeLabel"],
|
|
124
|
+
"errorMessage": ["observeErrorMessage"],
|
|
125
|
+
"value": ["observeValue"]
|
|
126
|
+
}; }
|
|
127
|
+
};
|
|
128
|
+
EzFilterInput.style = ezFilterInputCss;
|
|
129
|
+
|
|
130
|
+
exports.ez_filter_input = EzFilterInput;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
5
|
+
const index = require('./index-a7b0c73d.js');
|
|
6
6
|
const core = require('@sankhyalabs/core');
|
|
7
7
|
const constants = require('./constants-2714478b.js');
|
|
8
8
|
const CheckMode = require('./CheckMode-ecb90b87.js');
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
5
|
+
const index = require('./index-a7b0c73d.js');
|
|
6
6
|
const core = require('@sankhyalabs/core');
|
|
7
7
|
const DataBinder = require('./DataBinder-b4ef826a.js');
|
|
8
8
|
require('./ApplicationUtils-c9d1205c.js');
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
5
|
+
const index = require('./index-a7b0c73d.js');
|
|
6
6
|
const core = require('@sankhyalabs/core');
|
|
7
7
|
const DataUnit = require('@sankhyalabs/core/dist/dataunit/DataUnit');
|
|
8
8
|
const ApplicationUtils = require('./ApplicationUtils-c9d1205c.js');
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
5
|
+
const index = require('./index-a7b0c73d.js');
|
|
6
6
|
const core = require('@sankhyalabs/core');
|
|
7
7
|
const EzScrollDirection = require('./EzScrollDirection-b2c99895.js');
|
|
8
8
|
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
5
|
+
const index = require('./index-a7b0c73d.js');
|
|
6
6
|
const core = require('@sankhyalabs/core');
|
|
7
7
|
|
|
8
8
|
const ezIconCss = ":host{display:flex;overflow:hidden;position:relative;--ez-icon--color:var(--icon--color, #ffffff)}svg{display:flex;justify-content:center;align-items:center;fill:var(--ez-icon--color)}.x-small{width:12px;height:12px}.small{width:16px;height:16px}.medium{width:20px;height:20px}.large{width:24px;height:24px}.x-large{width:30px;height:30px}[class^=\"ez-icon-\"],[class*=\" ez-icon-\"]{color:var(--ez-icon--color)}[class^=\"ez-icon-\"],[class*=\" ez-icon-\"]{font-family:'ez-icons' !important;font-size:16px;font-style:normal;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.ez-icon-2chevron-down:before{content:\"\\ea01\"}.ez-icon-2chevron-up:before{content:\"\\ea02\"}.ez-icon-acao:before{content:\"\\ea03\"}.ez-icon-account-outline:before{content:\"\\ea04\"}.ez-icon-account:before{content:\"\\ea05\"}.ez-icon-add-to-cart:before{content:\"\\ea06\"}.ez-icon-alert-circle-inverted:before{content:\"\\ea07\"}.ez-icon-alert-circle:before{content:\"\\ea08\"}.ez-icon-alert-mail:before{content:\"\\ea09\"}.ez-icon-alert-popup:before{content:\"\\ea0a\"}.ez-icon-anexo:before{content:\"\\ea0b\"}.ez-icon-antecipação:before{content:\"\\ea0c\"}.ez-icon-apps:before{content:\"\\ea0d\"}.ez-icon-arrow-forward:before{content:\"\\ea0e\"}.ez-icon-arrow-upward:before{content:\"\\ea0f\"}.ez-icon-arrow_back:before{content:\"\\ea10\"}.ez-icon-arrow_downward:before{content:\"\\ea11\"}.ez-icon-baixa:before{content:\"\\ea12\"}.ez-icon-balance:before{content:\"\\ea13\"}.ez-icon-bell-inverted:before{content:\"\\ea14\"}.ez-icon-bell:before{content:\"\\ea15\"}.ez-icon-boleto:before{content:\"\\ea16\"}.ez-icon-boolean:before{content:\"\\ea17\"}.ez-icon-business-center:before{content:\"\\ea18\"}.ez-icon-calendar-clock:before{content:\"\\ea19\"}.ez-icon-calendar:before{content:\"\\ea1a\"}.ez-icon-cart-history:before{content:\"\\ea1b\"}.ez-icon-cash-remove:before{content:\"\\ea1c\"}.ez-icon-check-circle-inverted:before{content:\"\\ea1d\"}.ez-icon-check-circle:before{content:\"\\ea1e\"}.ez-icon-check:before{content:\"\\ea1f\"}.ez-icon-chevron-down:before{content:\"\\ea20\"}.ez-icon-chevron-left:before{content:\"\\ea21\"}.ez-icon-chevron-right:before{content:\"\\ea22\"}.ez-icon-chevron-up:before{content:\"\\ea23\"}.ez-icon-circle--medium:before{content:\"\\ea24\"}.ez-icon-circle:before{content:\"\\ea25\"}.ez-icon-clean-cart:before{content:\"\\ea26\"}.ez-icon-cleaning:before{content:\"\\ea27\"}.ez-icon-clipboard:before{content:\"\\ea28\"}.ez-icon-clock-rotate-left:before{content:\"\\ea29\"}.ez-icon-close:before{content:\"\\ea2a\"}.ez-icon-cobrar:before{content:\"\\ea2b\"}.ez-icon-code:before{content:\"\\ea2c\"}.ez-icon-configuration:before{content:\"\\ea2d\"}.ez-icon-content-cut:before{content:\"\\ea2e\"}.ez-icon-copy:before{content:\"\\ea2f\"}.ez-icon-credit_card:before{content:\"\\ea30\"}.ez-icon-crop:before{content:\"\\ea31\"}.ez-icon-custom:before{content:\"\\ea32\"}.ez-icon-delete-file:before{content:\"\\ea33\"}.ez-icon-delete:before{content:\"\\ea34\"}.ez-icon-description:before{content:\"\\ea35\"}.ez-icon-dividir:before{content:\"\\ea36\"}.ez-icon-docx:before{content:\"\\ea37\"}.ez-icon-dot-notification:before{content:\"\\ea38\"}.ez-icon-dots-horizontal:before{content:\"\\ea39\"}.ez-icon-dots-vertical:before{content:\"\\ea3a\"}.ez-icon-drag-indicator:before{content:\"\\ea3b\"}.ez-icon-dual-chevron-down:before{content:\"\\ea3c\"}.ez-icon-dual-chevron-left:before{content:\"\\ea3d\"}.ez-icon-dual-chevron-right:before{content:\"\\ea3e\"}.ez-icon-dual-chevron-up:before{content:\"\\ea3f\"}.ez-icon-edit-file:before{content:\"\\ea40\"}.ez-icon-edit-table:before{content:\"\\ea41\"}.ez-icon-edit-time:before{content:\"\\ea42\"}.ez-icon-edit-value:before{content:\"\\ea43\"}.ez-icon-edit:before{content:\"\\ea44\"}.ez-icon-email:before{content:\"\\ea45\"}.ez-icon-estorno:before{content:\"\\ea46\"}.ez-icon-exe:before{content:\"\\ea47\"}.ez-icon-expand:before{content:\"\\ea48\"}.ez-icon-expandir_card:before{content:\"\\ea49\"}.ez-icon-extrato:before{content:\"\\ea4a\"}.ez-icon-eye-off:before{content:\"\\ea4b\"}.ez-icon-eye:before{content:\"\\ea4c\"}.ez-icon-favorite:before{content:\"\\ea4d\"}.ez-icon-figma:before{content:\"\\ea4e\"}.ez-icon-file-download:before{content:\"\\ea4f\"}.ez-icon-file-upload:before{content:\"\\ea50\"}.ez-icon-filter:before{content:\"\\ea51\"}.ez-icon-find-file:before{content:\"\\ea52\"}.ez-icon-find-page:before{content:\"\\ea53\"}.ez-icon-format-color-fill:before{content:\"\\ea54\"}.ez-icon-generic:before{content:\"\\ea55\"}.ez-icon-gif:before{content:\"\\ea56\"}.ez-icon-graph_bar:before{content:\"\\ea57\"}.ez-icon-handshake:before{content:\"\\ea58\"}.ez-icon-help-inverted:before{content:\"\\ea59\"}.ez-icon-help:before{content:\"\\ea5a\"}.ez-icon-hide_menu:before{content:\"\\ea5b\"}.ez-icon-home:before{content:\"\\ea5c\"}.ez-icon-icons104:before{content:\"\\ea5d\"}.ez-icon-language:before{content:\"\\ea5e\"}.ez-icon-launch:before{content:\"\\ea5f\"}.ez-icon-lightbulb:before{content:\"\\ea60\"}.ez-icon-list:before{content:\"\\ea61\"}.ez-icon-location:before{content:\"\\ea62\"}.ez-icon-lock-outline:before{content:\"\\ea63\"}.ez-icon-lock:before{content:\"\\ea64\"}.ez-icon-menu:before{content:\"\\ea65\"}.ez-icon-mid:before{content:\"\\ea66\"}.ez-icon-minus:before{content:\"\\ea67\"}.ez-icon-money-off:before{content:\"\\ea68\"}.ez-icon-money:before{content:\"\\ea69\"}.ez-icon-more:before{content:\"\\ea6a\"}.ez-icon-mp3:before{content:\"\\ea6b\"}.ez-icon-mp4:before{content:\"\\ea6c\"}.ez-icon-multiple-files:before{content:\"\\ea6d\"}.ez-icon-north-west:before{content:\"\\ea6e\"}.ez-icon-number:before{content:\"\\ea6f\"}.ez-icon-ordem-ascendente:before{content:\"\\ea70\"}.ez-icon-ordem-descendente:before{content:\"\\ea71\"}.ez-icon-parcelar:before{content:\"\\ea72\"}.ez-icon-pause:before{content:\"\\ea73\"}.ez-icon-payments:before{content:\"\\ea74\"}.ez-icon-pdf:before{content:\"\\ea75\"}.ez-icon-play:before{content:\"\\ea76\"}.ez-icon-plus:before{content:\"\\ea77\"}.ez-icon-png:before{content:\"\\ea78\"}.ez-icon-power:before{content:\"\\ea79\"}.ez-icon-pptx:before{content:\"\\ea7a\"}.ez-icon-preview:before{content:\"\\ea7b\"}.ez-icon-print:before{content:\"\\ea7c\"}.ez-icon-push-pin:before{content:\"\\ea7d\"}.ez-icon-rateio:before{content:\"\\ea7e\"}.ez-icon-receipt:before{content:\"\\ea7f\"}.ez-icon-recolher_card:before{content:\"\\ea80\"}.ez-icon-remove-from-cart:before{content:\"\\ea81\"}.ez-icon-restore:before{content:\"\\ea82\"}.ez-icon-return:before{content:\"\\ea83\"}.ez-icon-sankhya-place:before{content:\"\\ea84\"}.ez-icon-save:before{content:\"\\ea85\"}.ez-icon-search:before{content:\"\\ea86\"}.ez-icon-settings-inverted:before{content:\"\\ea87\"}.ez-icon-settings:before{content:\"\\ea88\"}.ez-icon-share:before{content:\"\\ea89\"}.ez-icon-shield:before{content:\"\\ea8a\"}.ez-icon-show_menu:before{content:\"\\ea8b\"}.ez-icon-south-east:before{content:\"\\ea8c\"}.ez-icon-sync:before{content:\"\\ea8d\"}.ez-icon-table:before{content:\"\\ea8e\"}.ez-icon-tag_code:before{content:\"\\ea8f\"}.ez-icon-text:before{content:\"\\ea90\"}.ez-icon-timeline:before{content:\"\\ea91\"}.ez-icon-timer-outline:before{content:\"\\ea92\"}.ez-icon-trending-up:before{content:\"\\ea93\"}.ez-icon-tune:before{content:\"\\ea94\"}.ez-icon-txt:before{content:\"\\ea95\"}.ez-icon-un-pin:before{content:\"\\ea96\"}.ez-icon-unfold_less:before{content:\"\\ea97\"}.ez-icon-unfold_more:before{content:\"\\ea98\"}.ez-icon-user-circle:before{content:\"\\ea99\"}.ez-icon-warning-outline:before{content:\"\\ea9a\"}.ez-icon-warning_triangle:before{content:\"\\ea9b\"}.ez-icon-whatshot:before{content:\"\\ea9c\"}.ez-icon-xlsx:before{content:\"\\ea9d\"}.ez-icon-zip:before{content:\"\\ea9e\"}.x-small--font{font-size:12px}.small--font{font-size:16px}.medium--font{font-size:20px}.large--font{font-size:24px}.x-large--font{font-size:30px}";
|