@sankhyalabs/ezui 5.20.0-dev.3 → 5.20.0-dev.30
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/README.md +4 -5
- package/dist/cjs/{CSSVarsUtils-b136a156.js → CSSVarsUtils-10c9d5b4.js} +13 -0
- package/dist/cjs/ez-actions-button.cjs.entry.js +1 -1
- package/dist/cjs/ez-alert-list.cjs.entry.js +34 -29
- package/dist/cjs/ez-card-item_3.cjs.entry.js +6 -5
- package/dist/cjs/ez-combo-box.cjs.entry.js +9 -8
- package/dist/cjs/ez-date-input.cjs.entry.js +4 -1
- package/dist/cjs/ez-date-time-input.cjs.entry.js +4 -1
- package/dist/cjs/ez-form-view.cjs.entry.js +34 -15
- package/dist/cjs/ez-grid.cjs.entry.js +130 -36
- package/dist/cjs/ez-icon.cjs.entry.js +1 -1
- package/dist/cjs/ez-multi-selection-list.cjs.entry.js +2 -10
- package/dist/cjs/ez-number-input.cjs.entry.js +4 -1
- package/dist/cjs/ez-popup.cjs.entry.js +1 -1
- package/dist/cjs/ez-search.cjs.entry.js +7 -8
- package/dist/cjs/ez-split-button.cjs.entry.js +147 -0
- package/dist/cjs/ez-split-item.cjs.entry.js +20 -2
- package/dist/cjs/ez-split-panel.cjs.entry.js +15 -12
- package/dist/cjs/ez-time-input.cjs.entry.js +1 -1
- package/dist/cjs/ezui.cjs.js +1 -1
- package/dist/cjs/filter-column.cjs.entry.js +16 -5
- package/dist/cjs/index-a7b0c73d.js +8 -4
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/collection/collection-manifest.json +2 -1
- package/dist/collection/components/ez-alert-list/ez-alert-list.css +1 -1
- package/dist/collection/components/ez-alert-list/ez-alert-list.js +33 -28
- package/dist/collection/components/ez-card-item/ez-card-item.css +39 -6
- package/dist/collection/components/ez-card-item/ez-card-item.js +22 -3
- package/dist/collection/components/ez-collapsible-box/ez-collapsible-box.css +1 -0
- package/dist/collection/components/ez-combo-box/ez-combo-box.js +8 -7
- package/dist/collection/components/ez-date-input/ez-date-input.js +3 -0
- package/dist/collection/components/ez-date-time-input/ez-date-time-input.js +3 -0
- package/dist/collection/components/ez-form-view/ez-form-view.css +17 -1
- package/dist/collection/components/ez-form-view/ez-form-view.js +22 -5
- package/dist/collection/components/ez-form-view/fieldbuilder/templates/CheckBox.tpl.js +1 -1
- package/dist/collection/components/ez-form-view/fieldbuilder/templates/ComboBox.tpl.js +1 -1
- package/dist/collection/components/ez-form-view/fieldbuilder/templates/DateInput.tpl.js +3 -3
- package/dist/collection/components/ez-form-view/fieldbuilder/templates/FileInput.tpl.js +4 -2
- package/dist/collection/components/ez-form-view/fieldbuilder/templates/NumberInput.tpl.js +1 -1
- package/dist/collection/components/ez-form-view/fieldbuilder/templates/SearchInput.tpl.js +1 -1
- package/dist/collection/components/ez-form-view/fieldbuilder/templates/TextInput.tpl.js +1 -1
- package/dist/collection/components/ez-grid/controller/ag-grid/AgGridController.js +33 -17
- package/dist/collection/components/ez-grid/controller/ag-grid/DataSource.js +14 -1
- package/dist/collection/components/ez-grid/controller/ag-grid/DataSourceInterceptor.js +21 -0
- package/dist/collection/components/ez-grid/controller/ag-grid/components/EzGridCustomHeader.js +1 -3
- package/dist/collection/components/ez-grid/ez-grid.css +25 -1
- package/dist/collection/components/ez-grid/ez-grid.js +67 -10
- package/dist/collection/components/ez-grid/subcomponents/filter-column.js +16 -5
- package/dist/collection/components/ez-icon/ez-icon.css +119 -117
- package/dist/collection/components/ez-multi-selection-list/ez-multi-selection-list.js +2 -10
- package/dist/collection/components/ez-number-input/ez-number-input.js +3 -0
- package/dist/collection/components/ez-popup/ez-popup.css +2 -5
- package/dist/collection/components/ez-search/ez-search.css +2 -1
- package/dist/collection/components/ez-search/ez-search.js +5 -6
- package/dist/collection/components/ez-split-button/ez-split-button.css +229 -0
- package/dist/collection/components/ez-split-button/ez-split-button.js +436 -0
- package/dist/collection/components/ez-split-button/test/dropdownItems.js +42 -0
- package/dist/collection/components/ez-split-panel/ez-split-panel.css +6 -7
- package/dist/collection/components/ez-split-panel/ez-split-panel.js +35 -14
- package/dist/collection/components/ez-split-panel/structure/item/ez-split-item.css +62 -12
- package/dist/collection/components/ez-split-panel/structure/item/ez-split-item.js +82 -2
- package/dist/collection/utils/CSSVarsUtils.js +13 -0
- package/dist/collection/utils/form/test/DataBinder.test.js +9 -0
- package/dist/custom-elements/index.d.ts +6 -0
- package/dist/custom-elements/index.js +435 -132
- package/dist/esm/{CSSVarsUtils-a97cfa29.js → CSSVarsUtils-71ce76be.js} +13 -0
- package/dist/esm/ez-actions-button.entry.js +1 -1
- package/dist/esm/ez-alert-list.entry.js +34 -29
- package/dist/esm/ez-card-item_3.entry.js +6 -5
- package/dist/esm/ez-combo-box.entry.js +9 -8
- package/dist/esm/ez-date-input.entry.js +4 -1
- package/dist/esm/ez-date-time-input.entry.js +4 -1
- package/dist/esm/ez-form-view.entry.js +35 -16
- package/dist/esm/ez-grid.entry.js +131 -37
- package/dist/esm/ez-icon.entry.js +1 -1
- package/dist/esm/ez-multi-selection-list.entry.js +2 -10
- package/dist/esm/ez-number-input.entry.js +4 -1
- package/dist/esm/ez-popup.entry.js +1 -1
- package/dist/esm/ez-search.entry.js +7 -8
- package/dist/esm/ez-split-button.entry.js +143 -0
- package/dist/esm/ez-split-item.entry.js +20 -2
- package/dist/esm/ez-split-panel.entry.js +15 -12
- package/dist/esm/ez-time-input.entry.js +1 -1
- package/dist/esm/ezui.js +1 -1
- package/dist/esm/filter-column.entry.js +16 -5
- package/dist/esm/index-baa5e267.js +8 -4
- package/dist/esm/loader.js +1 -1
- package/dist/ezui/ezui.esm.js +1 -1
- package/dist/ezui/{p-f56dd1da.entry.js → p-07cbffce.entry.js} +1 -1
- package/dist/ezui/{p-6e2f8e6b.entry.js → p-1e367a93.entry.js} +2 -2
- package/dist/ezui/p-2eb8f73b.entry.js +1 -0
- package/dist/ezui/p-3376ad44.entry.js +1 -0
- package/dist/ezui/{p-40f72de4.entry.js → p-784fe207.entry.js} +1 -1
- package/dist/ezui/p-7af81663.entry.js +1 -0
- package/dist/ezui/p-7bc07c31.entry.js +1 -0
- package/dist/ezui/p-8e7031a0.entry.js +1 -0
- package/dist/ezui/{p-eb36f072.entry.js → p-99ead599.entry.js} +1 -1
- package/dist/ezui/{p-7eb3e1a5.js → p-9e11fc7b.js} +1 -1
- package/dist/ezui/p-9f1e89c9.entry.js +1 -0
- package/dist/ezui/{p-51c5e071.entry.js → p-abc23d6f.entry.js} +1 -1
- package/dist/ezui/p-af95cd16.entry.js +1 -0
- package/dist/ezui/{p-c0f1715f.entry.js → p-b567fa8c.entry.js} +1 -1
- package/dist/ezui/p-b9fbf4e7.entry.js +1 -0
- package/dist/ezui/p-bae3d0aa.entry.js +1 -0
- package/dist/ezui/p-baf80b13.entry.js +1 -0
- package/dist/ezui/p-db77a984.entry.js +1 -0
- package/dist/ezui/{p-9cad9b6e.entry.js → p-e85c48d7.entry.js} +1 -1
- package/dist/types/components/ez-alert-list/ez-alert-list.d.ts +1 -1
- package/dist/types/components/ez-card-item/ez-card-item.d.ts +4 -0
- package/dist/types/components/ez-combo-box/ez-combo-box.d.ts +1 -0
- package/dist/types/components/ez-form-view/ez-form-view.d.ts +3 -0
- package/dist/types/components/ez-grid/controller/EzGridController.d.ts +1 -0
- package/dist/types/components/ez-grid/controller/ag-grid/AgGridController.d.ts +2 -0
- package/dist/types/components/ez-grid/controller/ag-grid/DataSource.d.ts +2 -1
- package/dist/types/components/ez-grid/controller/ag-grid/DataSourceInterceptor.d.ts +8 -0
- package/dist/types/components/ez-grid/controller/ag-grid/components/EzGridCustomHeader.d.ts +1 -1
- package/dist/types/components/ez-grid/ez-grid.d.ts +15 -2
- package/dist/types/components/ez-grid/subcomponents/filter-column.d.ts +4 -1
- package/dist/types/components/ez-multi-selection-list/ez-multi-selection-list.d.ts +0 -1
- package/dist/types/components/ez-split-button/ez-split-button.d.ts +89 -0
- package/dist/types/components/ez-split-button/test/dropdownItems.d.ts +2 -0
- package/dist/types/components/ez-split-panel/ez-split-panel.d.ts +23 -0
- package/dist/types/components/ez-split-panel/structure/item/ez-split-item.d.ts +27 -0
- package/dist/types/components.d.ts +155 -0
- package/dist/types/utils/CSSVarsUtils.d.ts +1 -0
- package/dist/types/utils/form/test/DataBinder.test.d.ts +1 -0
- package/package.json +13 -5
- package/react/components.d.ts +1 -0
- package/react/components.js +1 -0
- package/react/components.js.map +1 -1
- package/dist/collection/components/ez-grid/controller/ag-grid/AgGridUtils.js +0 -8
- package/dist/ezui/p-133fae4a.entry.js +0 -1
- package/dist/ezui/p-24d3fede.entry.js +0 -1
- package/dist/ezui/p-43b03119.entry.js +0 -1
- package/dist/ezui/p-4a7f113d.entry.js +0 -1
- package/dist/ezui/p-596634e9.entry.js +0 -1
- package/dist/ezui/p-76ba9d67.entry.js +0 -1
- package/dist/ezui/p-796c1a88.entry.js +0 -1
- package/dist/ezui/p-af15c277.entry.js +0 -1
- package/dist/ezui/p-ba875f37.entry.js +0 -1
- package/dist/ezui/p-d6ffe679.entry.js +0 -1
- package/dist/types/components/ez-grid/controller/ag-grid/AgGridUtils.d.ts +0 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { HTMLElement as HTMLElement$1, createEvent, h, Host, forceUpdate, Fragment, proxyCustomElement } from '@stencil/core/internal/client';
|
|
2
2
|
export { setAssetPath, setPlatformOptions } from '@stencil/core/internal/client';
|
|
3
|
-
import { UserInterface, DateUtils as DateUtils$1, Action, WaitingChangeException, ApplicationContext, DataUnitAction, FloatingManager, ElementIDUtils, ObjectUtils as ObjectUtils$1, JSUtils, StringUtils as StringUtils$1, TimeFormatter, DataUnit, HTMLBuilder, NumberUtils as NumberUtils$1, MaskFormatter, DataType, SortMode, FieldComparator, ArrayUtils as ArrayUtils$1 } from '@sankhyalabs/core';
|
|
3
|
+
import { UserInterface, DateUtils as DateUtils$1, Action, WaitingChangeException, ApplicationContext, DataUnitAction, FloatingManager, ElementIDUtils, ObjectUtils as ObjectUtils$1, JSUtils, StringUtils as StringUtils$1, TimeFormatter, DataUnit, HTMLBuilder, NumberUtils as NumberUtils$1, MaskFormatter, DataType, SortMode, FieldComparator, ArrayUtils as ArrayUtils$1, OverflowWatcher, OVERFLOWED_CLASS_NAME } from '@sankhyalabs/core';
|
|
4
4
|
import { SelectionMode } from '@sankhyalabs/core/dist/dataunit/DataUnit';
|
|
5
5
|
|
|
6
6
|
// Unique ID creation requires a high quality random # generator. In the browser we therefore
|
|
@@ -284,6 +284,19 @@ class CSSVarsUtils {
|
|
|
284
284
|
});
|
|
285
285
|
}
|
|
286
286
|
}
|
|
287
|
+
static applyVarsGrid(host, child) {
|
|
288
|
+
if (child) {
|
|
289
|
+
[
|
|
290
|
+
"--ez-grid--min-height",
|
|
291
|
+
"--snk-grid-min-height",
|
|
292
|
+
].forEach(prop => {
|
|
293
|
+
const propValue = getComputedStyle(host).getPropertyValue(prop);
|
|
294
|
+
if (propValue !== null && propValue !== undefined) {
|
|
295
|
+
child.style.setProperty(prop, propValue);
|
|
296
|
+
}
|
|
297
|
+
});
|
|
298
|
+
}
|
|
299
|
+
}
|
|
287
300
|
static applyIfExists(host, element, varName) {
|
|
288
301
|
const prop = getComputedStyle(host).getPropertyValue(varName);
|
|
289
302
|
if (prop) {
|
|
@@ -1113,7 +1126,7 @@ const EzAlert$1 = class extends HTMLElement$1 {
|
|
|
1113
1126
|
static get style() { return ezAlertCss; }
|
|
1114
1127
|
};
|
|
1115
1128
|
|
|
1116
|
-
const ezAlertListCss = ":host {\n display: flex;\n\n /* Alert List */\n \n /*@doc Define a largura da lista minimizado */\n --ez-alert-list__container--width: 680px;\n /*@doc Define a altura da lista minimizado */\n --ez-alert-list__container--height: 220px;\n \n /*@doc Define a largura da lista maximizada */\n --ez-alert-list__container--width--expanded: 920px;\n /*@doc Define a altura da lista maximizada */\n --ez-alert-list__container--height--expanded: 540px;\n\n /* Title */\n /*@doc Define a fonte do título do componente */\n --ez-alert-list__title--font-family: var(--font-pattern, \"Roboto\");\n /*@doc Define o tamanho da fonte do título do popup.*/\n --ez-alert-list__title--font-size: var(--title--large, 20px);\n /*@doc Define a cor da fonte do título do popup.*/\n --ez-alert-list__title--color: var(--title--primary, #2b3a54);\n /*@doc Define o peso da fonte do título do popup.*/\n --ez-alert-list__title--font-weight: var(--text-weight--extra-large, 700);\n\n /* @doc Define a borda inferior do item da lista. */\n --ez-list__item--border-bottom: var(--border--small, 1px solid);\n\n /* @doc Define a cor da borda inferior do item da lista. */\n --ez-list__item--border-bottom-color: var(--color--strokes, #DCE0E8);\n\n /* @doc Define o tipo da quebra de linha do item da lista. */\n --ez-list__item--white-space: break-space;\n}\n\n.alert-list__content {\n display: flex;\n flex-direction: column;\n \n gap: var(--space--xs);\n margin: var(--space--large, 24px);\n width: 100%;\n}\n\n.alert-list__container {\n z-index: var(--
|
|
1129
|
+
const ezAlertListCss = ":host {\n display: flex;\n\n /* Alert List */\n \n /*@doc Define a largura da lista minimizado */\n --ez-alert-list__container--width: 680px;\n /*@doc Define a altura da lista minimizado */\n --ez-alert-list__container--height: 220px;\n \n /*@doc Define a largura da lista maximizada */\n --ez-alert-list__container--width--expanded: 920px;\n /*@doc Define a altura da lista maximizada */\n --ez-alert-list__container--height--expanded: 540px;\n\n /* Title */\n /*@doc Define a fonte do título do componente */\n --ez-alert-list__title--font-family: var(--font-pattern, \"Roboto\");\n /*@doc Define o tamanho da fonte do título do popup.*/\n --ez-alert-list__title--font-size: var(--title--large, 20px);\n /*@doc Define a cor da fonte do título do popup.*/\n --ez-alert-list__title--color: var(--title--primary, #2b3a54);\n /*@doc Define o peso da fonte do título do popup.*/\n --ez-alert-list__title--font-weight: var(--text-weight--extra-large, 700);\n\n /* @doc Define a borda inferior do item da lista. */\n --ez-list__item--border-bottom: var(--border--small, 1px solid);\n\n /* @doc Define a cor da borda inferior do item da lista. */\n --ez-list__item--border-bottom-color: var(--color--strokes, #DCE0E8);\n\n /* @doc Define o tipo da quebra de linha do item da lista. */\n --ez-list__item--white-space: break-space;\n}\n\n.alert-list__content {\n display: flex;\n flex-direction: column;\n \n gap: var(--space--xs);\n margin: var(--space--large, 24px);\n width: 100%;\n}\n\n.alert-list__container {\n z-index: var(--ez-elevation--8, 8);\n display: flex;\n height: var(--ez-alert-list__container--height);\n width: var(--ez-alert-list__container--width);\n border-radius: var(--border--radius-medium);\n background-color: var(--background--xlight);\n box-shadow: var(--shadow--medium);\n\n &.expanded {\n height: var(--ez-alert-list__container--height--expanded);\n width: var(--ez-alert-list__container--width--expanded);\n }\n\n @media (max-height: 640px) {\n max-height: calc(100vh - var(--space--3xl));\n } \n}\n\n.alert-list__header {\n width: 100%;\n display: flex;\n align-items: center;\n justify-content: space-between;\n}\n\n.alert-list__title {\n font-family: var(--ez-alert-list__title--font-family);\n font-size: var(--ez-alert-list__title--font-size);\n font-weight: var(--ez-alert-list__title--font-weight);\n color: var(--ez-alert-list__title--color);\n}\n\n.alert-list__header__buttons {\n display: flex;\n gap: var(--space--xs);\n}\n\n.alert-list__expandable-content {\n overflow-y: auto;\n scrollbar-width: thin;\n}\n\n";
|
|
1117
1130
|
|
|
1118
1131
|
const EzAlertList$1 = class extends HTMLElement$1 {
|
|
1119
1132
|
constructor() {
|
|
@@ -1171,11 +1184,13 @@ const EzAlertList$1 = class extends HTMLElement$1 {
|
|
|
1171
1184
|
/**
|
|
1172
1185
|
* Gerencia a exibição do overlay usando FloatingManager do Core.
|
|
1173
1186
|
*/
|
|
1174
|
-
|
|
1175
|
-
if (this.opened) {
|
|
1187
|
+
manageOverlay() {
|
|
1188
|
+
if (this.opened && this._container) {
|
|
1176
1189
|
this._overlayId = FloatingManager.float(this._container, this._overlayRef, this.getFloatOptions());
|
|
1177
1190
|
}
|
|
1178
1191
|
else {
|
|
1192
|
+
if (this._overlayId === undefined)
|
|
1193
|
+
return;
|
|
1179
1194
|
FloatingManager.close(this._overlayId);
|
|
1180
1195
|
this._overlayId = undefined;
|
|
1181
1196
|
}
|
|
@@ -1184,8 +1199,10 @@ const EzAlertList$1 = class extends HTMLElement$1 {
|
|
|
1184
1199
|
* Atualiza a posição da lista.
|
|
1185
1200
|
*/
|
|
1186
1201
|
updatePosition(right, bottom) {
|
|
1187
|
-
|
|
1188
|
-
|
|
1202
|
+
if (this.opened) {
|
|
1203
|
+
FloatingManager.updateFloatPosition(this._container, this._overlayRef, Object.assign(Object.assign({}, this.getFloatOptions()), { right,
|
|
1204
|
+
bottom }));
|
|
1205
|
+
}
|
|
1189
1206
|
}
|
|
1190
1207
|
;
|
|
1191
1208
|
/**
|
|
@@ -1194,7 +1211,7 @@ const EzAlertList$1 = class extends HTMLElement$1 {
|
|
|
1194
1211
|
getFloatOptions() {
|
|
1195
1212
|
return {
|
|
1196
1213
|
autoClose: false,
|
|
1197
|
-
isFixed:
|
|
1214
|
+
isFixed: true,
|
|
1198
1215
|
bottom: '10px',
|
|
1199
1216
|
right: '10px',
|
|
1200
1217
|
};
|
|
@@ -1216,9 +1233,9 @@ const EzAlertList$1 = class extends HTMLElement$1 {
|
|
|
1216
1233
|
const boxHeight = this._container.getBoundingClientRect().height;
|
|
1217
1234
|
return ((docHeight - boxHeight) / 2) + 'px';
|
|
1218
1235
|
}
|
|
1219
|
-
|
|
1236
|
+
componentDidLoad() {
|
|
1220
1237
|
this.manageOverlay();
|
|
1221
|
-
if (this.opened) {
|
|
1238
|
+
if (this.opened && this._container) {
|
|
1222
1239
|
this._container.focus();
|
|
1223
1240
|
}
|
|
1224
1241
|
}
|
|
@@ -1226,27 +1243,28 @@ const EzAlertList$1 = class extends HTMLElement$1 {
|
|
|
1226
1243
|
this.dataElementId = ElementIDUtils.addIDInfo(this._element, 'EzAlertList');
|
|
1227
1244
|
}
|
|
1228
1245
|
render() {
|
|
1229
|
-
return (h(Host, Object.assign({}, { [ElementIDUtils.DATA_ELEMENT_ID_ATTRIBUTE_NAME]: this.dataElementId }),
|
|
1230
|
-
|
|
1231
|
-
|
|
1232
|
-
|
|
1233
|
-
|
|
1234
|
-
|
|
1235
|
-
|
|
1236
|
-
|
|
1237
|
-
|
|
1238
|
-
|
|
1239
|
-
|
|
1240
|
-
|
|
1241
|
-
|
|
1242
|
-
|
|
1243
|
-
|
|
1244
|
-
|
|
1245
|
-
|
|
1246
|
-
|
|
1247
|
-
|
|
1248
|
-
|
|
1249
|
-
|
|
1246
|
+
return (h(Host, Object.assign({}, { [ElementIDUtils.DATA_ELEMENT_ID_ATTRIBUTE_NAME]: this.dataElementId }), this.opened ?
|
|
1247
|
+
(h("div", { ref: elem => (this._overlayRef = elem) }, h("div", { class: `alert-list__container ${this.expanded ? 'expanded' : ''}`, ref: elem => (this._container = elem) }, h("div", { class: "alert-list__content" }, h("div", { class: "alert-list__header" }, h("div", { class: "alert-list__title" }, `Avisos (${this.alerts.length})`), h("div", { class: "alert-list__header__buttons" }, this.enableExpand && (h("ez-button", { mode: "icon", size: "small", iconName: "expand", onClick: () => this.toggleExpandContainer(), "data-element-id": ElementIDUtils.getInternalIDInfo('expandButton'), title: this.expanded ? 'Resumir' : 'Expandir' })), h("ez-button", { mode: "icon", size: "small", iconName: "close", "data-element-id": ElementIDUtils.getInternalIDInfo('closeButton'), onClick: () => {
|
|
1248
|
+
this.opened = false;
|
|
1249
|
+
}, title: 'Fechar' }))), h("div", { class: "alert-list__expandable-content" }, h("ez-list", { itemSlotBuilder: this.itemRightSlotBuilder, hoverFeedback: true, itemLeftSlotBuilder: item => {
|
|
1250
|
+
return (h("a", { href: "#", style: {
|
|
1251
|
+
fontFamily: "var(--font-pattern, 'Roboto')",
|
|
1252
|
+
fontSize: 'var(--text--medium, 14px)',
|
|
1253
|
+
fontWeight: 'var(--text-weight--medium, 400)',
|
|
1254
|
+
color: 'var(--color--primary, #008561)',
|
|
1255
|
+
marginRight: '4px',
|
|
1256
|
+
cursor: 'pointer',
|
|
1257
|
+
display: 'flex',
|
|
1258
|
+
width: 'max-content',
|
|
1259
|
+
textDecoration: 'none'
|
|
1260
|
+
} }, this.getTitleText(item)));
|
|
1261
|
+
}, dataSource: this.alerts.map((alert, index) => {
|
|
1262
|
+
var _a;
|
|
1263
|
+
return {
|
|
1264
|
+
id: this.alertId(alert.title, index),
|
|
1265
|
+
label: (_a = alert.detail) !== null && _a !== void 0 ? _a : "",
|
|
1266
|
+
};
|
|
1267
|
+
}) })))))) : null));
|
|
1250
1268
|
}
|
|
1251
1269
|
get _element() { return this; }
|
|
1252
1270
|
static get watchers() { return {
|
|
@@ -1981,7 +1999,7 @@ const EzCalendar$1 = class extends HTMLElement$1 {
|
|
|
1981
1999
|
static get style() { return ezCalendarCss; }
|
|
1982
2000
|
};
|
|
1983
2001
|
|
|
1984
|
-
const ezCardItemCss = ":host {\n /*@doc Define o tamanho da fonte do componente.*/\n --ez-card-item--font-size: var(--text--medium, 14px);\n\n /*@doc Define a família da fonte do componente.*/\n --ez-card-item--font-family: var(--font-pattern, Arial);\n\n /*@doc Define o peso da fonte do componente.*/\n --ez-card-item--font-weight: var(--text-weight--medium, 400);\n\n /*@doc Define o peso da fonte do title do componente.*/\n --ez-card-item--font-weight-large: var(--text-weight--large, 600);\n\n /*@doc Define a cor da fonte do componente.*/\n --ez-card-item--color: var(--title--primary, #2B3A54);\n\n /*@doc Define a cor da fonte da key do componente.*/\n --ez-card-item__key--color: var(--text--primary, #626e82);\n\n /*@doc Define a cor da fonte do label do detalhe do componente.*/\n --ez-card-item__detail-label--color: var(--text--secondary, #A2ABB9);\n\n /*@doc Define o espaçamento inferior dos detalhes do componente.*/\n --ez-card-item__detail--padding-bottom: var(--space--extra-small, 3px);\n\n /*@doc Define o espaçamento inferior do title do componente.*/\n --ez-card-item__title--padding-bottom: var(--space--extra-small, 3px);\n\n /*@doc Define a cor do highlight / marcação nos textos do componente.*/\n --ez-card-item__highlight--color: var(--color--primary-300, #E2F4EF);\n\n width: 100%;\n display: flex;\n cursor: pointer;\n}\n\n.card-item {\n display: flex;\n flex-direction: column;\n width: 100%;\n cursor: pointer;\n padding: 12px;\n z-index: 0;\n position: relative;\n container-type: inline-size;\n container-name: box;\n}\n\n.card-item:hover {\n background: #F0F3F7;\n border-radius: 12px;\n}\n\n.card-item__title {\n display: flex;\n align-items: center;\n line-height: 18px;\n cursor: pointer;\n\n /*public*/\n font-size: var(--ez-card-item--font-size);\n font-family: var(--ez-card-item--font-family);\n font-weight: var(--ez-card-item--font-weight-large);\n color: var(--ez-card-item--color);\n padding-bottom: var(--ez-card-item__title--padding-bottom);\n gap: var(--space--small, 6px);\n}\n\n.card-item__key {\n /*public*/\n color: var(--ez-card-item__key--color);\n}\n\n.card-item__details {\n display: flex;\n cursor: pointer;\n justify-content: space-between;\n
|
|
2002
|
+
const ezCardItemCss = ":host {\n /*@doc Define o tamanho da fonte do componente.*/\n --ez-card-item--font-size: var(--text--medium, 14px);\n\n /*@doc Define a família da fonte do componente.*/\n --ez-card-item--font-family: var(--font-pattern, Arial);\n\n /*@doc Define o peso da fonte do componente.*/\n --ez-card-item--font-weight: var(--text-weight--medium, 400);\n\n /*@doc Define o peso da fonte do title do componente.*/\n --ez-card-item--font-weight-large: var(--text-weight--large, 600);\n\n /*@doc Define a cor da fonte do componente.*/\n --ez-card-item--color: var(--title--primary, #2B3A54);\n\n /*@doc Define a cor da fonte da key do componente.*/\n --ez-card-item__key--color: var(--text--primary, #626e82);\n\n /*@doc Define a cor da fonte do label do detalhe do componente.*/\n --ez-card-item__detail-label--color: var(--text--secondary, #A2ABB9);\n\n /*@doc Define o espaçamento inferior dos detalhes do componente.*/\n --ez-card-item__detail--padding-bottom: var(--space--extra-small, 3px);\n\n /*@doc Define o espaçamento inferior do title do componente.*/\n --ez-card-item__title--padding-bottom: var(--space--extra-small, 3px);\n\n /*@doc Define a cor do highlight / marcação nos textos do componente.*/\n --ez-card-item__highlight--color: var(--color--primary-300, #E2F4EF);\n\n width: 100%;\n display: flex;\n cursor: pointer;\n}\n\n.card-item {\n display: flex;\n flex-direction: column;\n width: 100%;\n cursor: pointer;\n padding: 12px;\n z-index: 0;\n position: relative;\n container-type: inline-size;\n container-name: box;\n white-space: pre-line;\n}\n\n.card-item:hover {\n background: #F0F3F7;\n border-radius: 12px;\n}\n\n.card-item__title {\n display: flex;\n align-items: center;\n line-height: 18px;\n cursor: pointer;\n\n /*public*/\n font-size: var(--ez-card-item--font-size);\n font-family: var(--ez-card-item--font-family);\n font-weight: var(--ez-card-item--font-weight-large);\n color: var(--ez-card-item--color);\n padding-bottom: var(--ez-card-item__title--padding-bottom);\n gap: var(--space--small, 6px);\n}\n\n.card-item__key {\n /*public*/\n color: var(--ez-card-item__key--color);\n}\n\n.card-item__details {\n display: flex;\n flex-direction: column;\n cursor: pointer;\n justify-content: space-between;\n width: 100%;\n}\n\n.card-item__details-container__left {\n white-space: pre-line;\n cursor: pointer;\n width: 50%;\n}\n\n.card-item__details-container__right {\n white-space: pre-line;\n width: 50%;\n cursor: pointer;\n}\n\n.card-item__detail:not(:last-child) {\n cursor: pointer;\n white-space: pre-line;\n\n /*public*/\n padding-bottom: var(--ez-card-item__detail--padding-bottom);\n}\n\n.card-item__detail-label {\n cursor: pointer;\n\n /*public*/\n font-size: var(--ez-card-item--font-size);\n font-family: var(--ez-card-item--font-family);\n font-weight: var(--ez-card-item--font-weight);\n color: var(--ez-card-item__detail-label--color);\n}\n\n.card-item__detail-value {\n cursor: pointer;\n line-break: anywhere;\n\n /*public*/\n font-size: var(--ez-card-item--font-size);\n font-family: var(--ez-card-item--font-family);\n font-weight: var(--ez-card-item--font-weight);\n color: var(--ez-card-item--color);\n}\n\n.card-item__highlight {\n position: relative;\n border-radius: 8px;\n z-index: -1;\n\n /*public*/\n background-color: var(--ez-card-item__highlight--color);\n outline: 2px solid var(--ez-card-item__highlight--color);\n box-shadow: -4px 0px 0px 0px var(--ez-card-item__highlight--color), \n 4px 0px 0px 0px var(--ez-card-item__highlight--color);\n}\n\n.card-item__content{\n display: flex;\n align-items: center;\n}\n\n.card-item__details-container{\n display: flex;\n}\n\n.card-item__details-slot{\n margin-left: auto;\n}\n\n@container box (max-width: 550px) {\n .card-item__details {\n flex-direction: column;\n }\n\n .card-item__details-container__left {\n width: 100%;\n }\n \n .card-item__details-container__right {\n width: 100%;\n }\n}\n\n@container box (max-width: 200px) {\n .card-item__title {\n font-size: 10px;\n }\n\n .card-item__detail-label {\n font-size: 10px;\n }\n\n .card-item__detail-value {\n font-size: 10px;\n }\n\n}";
|
|
1985
2003
|
|
|
1986
2004
|
const EzCardItem$1 = class extends HTMLElement$1 {
|
|
1987
2005
|
constructor() {
|
|
@@ -1990,6 +2008,7 @@ const EzCardItem$1 = class extends HTMLElement$1 {
|
|
|
1990
2008
|
this.__attachShadow();
|
|
1991
2009
|
this.ezClick = createEvent(this, "ezClick", 7);
|
|
1992
2010
|
this.item = undefined;
|
|
2011
|
+
this.enableKey = true;
|
|
1993
2012
|
}
|
|
1994
2013
|
componentWillRender() {
|
|
1995
2014
|
this.createDetailList();
|
|
@@ -2017,11 +2036,11 @@ const EzCardItem$1 = class extends HTMLElement$1 {
|
|
|
2017
2036
|
}
|
|
2018
2037
|
render() {
|
|
2019
2038
|
return (h(Host, null, this.item &&
|
|
2020
|
-
h("div", { class: "card-item", onClick: () => { this.ezClick.emit(this.item); } }, h("label", { class: "card-item__title" }, h("span", { class: "card-item__key", innerHTML: this.item.key }), h("span", { innerHTML: this.item.title })), h("div", { class: "card-item__details" }, h("div", { class: "card-item__details-
|
|
2039
|
+
h("div", { class: "card-item", onClick: () => { this.ezClick.emit(this.item); } }, h("div", { class: "ez-row card-item__content" }, h("div", { class: "ez-col ez-col--sd-11 card-item__details" }, h("label", { class: "card-item__title" }, this.enableKey && (h("span", { class: "card-item__key", innerHTML: this.item.key })), h("span", { innerHTML: this.item.title })), h("div", { class: "card-item__details-container" }, h("div", { class: "card-item__details-container__left" }, this._details.detailsLeft.map(detail => {
|
|
2021
2040
|
return this.buildDetailContent(detail);
|
|
2022
|
-
})), h("div", { class: "card-item__details-
|
|
2041
|
+
})), h("div", { class: "card-item__details-container__right" }, this._details.detailsRight.map(detail => {
|
|
2023
2042
|
return this.buildDetailContent(detail);
|
|
2024
|
-
}))))));
|
|
2043
|
+
})))), h("div", { class: "ez-col ez-col--sd-1 card-item__details-slot" }, h("slot", { name: "rightSlot" }))))));
|
|
2025
2044
|
}
|
|
2026
2045
|
get _element() { return this; }
|
|
2027
2046
|
static get style() { return ezCardItemCss; }
|
|
@@ -2421,7 +2440,7 @@ const EzComboBox$1 = class extends HTMLElement$1 {
|
|
|
2421
2440
|
}
|
|
2422
2441
|
}
|
|
2423
2442
|
observeOptions(newOptions, oldOptions) {
|
|
2424
|
-
if ((newOptions
|
|
2443
|
+
if (ObjectUtils$1.equals(newOptions, oldOptions))
|
|
2425
2444
|
return;
|
|
2426
2445
|
this.loadOptions(SearchMode$1.PRELOAD);
|
|
2427
2446
|
}
|
|
@@ -2563,14 +2582,15 @@ const EzComboBox$1 = class extends HTMLElement$1 {
|
|
|
2563
2582
|
const upperCriteria = this._criteria.toUpperCase();
|
|
2564
2583
|
opts = opts.filter(opt => opt.label.toLocaleUpperCase().indexOf(upperCriteria) > -1);
|
|
2565
2584
|
}
|
|
2566
|
-
if (this.
|
|
2567
|
-
|
|
2568
|
-
}
|
|
2569
|
-
else {
|
|
2570
|
-
this._visibleOptions = [{ value: undefined, label: "" }].concat(opts);
|
|
2585
|
+
if (this.hasToAddEmptyoption(opts)) {
|
|
2586
|
+
opts = [{ value: undefined, label: "" }].concat(opts);
|
|
2571
2587
|
}
|
|
2588
|
+
this._visibleOptions = opts;
|
|
2572
2589
|
this._maxWidthValue = this.getMaxWidthValue();
|
|
2573
2590
|
}
|
|
2591
|
+
hasToAddEmptyoption(opts) {
|
|
2592
|
+
return !this.suppressEmptyOption && !opts.filter(opt => !opt.value).length;
|
|
2593
|
+
}
|
|
2574
2594
|
getMaxWidthValue() {
|
|
2575
2595
|
var _a;
|
|
2576
2596
|
if (this.showOptionValue) {
|
|
@@ -2711,7 +2731,7 @@ const EzComboBox$1 = class extends HTMLElement$1 {
|
|
|
2711
2731
|
}
|
|
2712
2732
|
else {
|
|
2713
2733
|
window.setTimeout(() => {
|
|
2714
|
-
this.setInputValue();
|
|
2734
|
+
this.setInputValue(false);
|
|
2715
2735
|
}, this._deboucingTime);
|
|
2716
2736
|
}
|
|
2717
2737
|
this.resetOptions();
|
|
@@ -2992,6 +3012,9 @@ const EzDateInput$1 = class extends HTMLElement$1 {
|
|
|
2992
3012
|
this._calendar.hide();
|
|
2993
3013
|
}
|
|
2994
3014
|
handleBlur() {
|
|
3015
|
+
if (!this._changePending) {
|
|
3016
|
+
return;
|
|
3017
|
+
}
|
|
2995
3018
|
try {
|
|
2996
3019
|
const strValue = this._textInput.value;
|
|
2997
3020
|
const newValue = DateUtils$1.strToDate(strValue);
|
|
@@ -3225,6 +3248,9 @@ const EzDateTimeInput$1 = class extends HTMLElement$1 {
|
|
|
3225
3248
|
}
|
|
3226
3249
|
handleBlur() {
|
|
3227
3250
|
var _a, _b;
|
|
3251
|
+
if (!this._changePending) {
|
|
3252
|
+
return;
|
|
3253
|
+
}
|
|
3228
3254
|
try {
|
|
3229
3255
|
const strValue = ((_b = (_a = this._textInput) === null || _a === void 0 ? void 0 : _a.value) === null || _b === void 0 ? void 0 : _b.trim()) || "";
|
|
3230
3256
|
const newValue = this.getParsedDateTime();
|
|
@@ -4698,7 +4724,7 @@ const buildCheckBox = (field) => {
|
|
|
4698
4724
|
return buildField(field.name, field.label, field.readOnly, field.contextName, false);
|
|
4699
4725
|
};
|
|
4700
4726
|
function buildField(fieldName, fieldLabel, readOnly, contextName, switchMode) {
|
|
4701
|
-
return (h("div", { class: "ez-col ez-col--sd-12 ez-
|
|
4727
|
+
return (h("div", { class: "ez-col ez-col--sd-12 ez-align--middle ez-padding-horizontal--small ez-padding-bottom--large" },
|
|
4702
4728
|
h("ez-check", { enabled: !readOnly, label: fieldLabel, mode: switchMode ? CheckMode.SWITCH : CheckMode.REGULAR, "data-field-name": fieldName, "data-context-name": contextName, key: fieldName })));
|
|
4703
4729
|
}
|
|
4704
4730
|
|
|
@@ -4712,29 +4738,31 @@ const buildComboBox$1 = ({ name, label, readOnly, required, props, contextName,
|
|
|
4712
4738
|
else {
|
|
4713
4739
|
options = prop;
|
|
4714
4740
|
}
|
|
4715
|
-
return (h("div", { class: "ez-col ez-col--sd-12 ez-
|
|
4741
|
+
return (h("div", { class: "ez-col ez-col--sd-12 ez-padding-horizontal--small" },
|
|
4716
4742
|
h("ez-combo-box", { enabled: !readOnly, suppressEmptyOption: required, label: label, "data-field-name": name, "data-context-name": contextName, key: name, options: options, canShowError: canShowError })));
|
|
4717
4743
|
};
|
|
4718
4744
|
|
|
4719
4745
|
const buildDate$1 = ({ name, label, readOnly, canShowError }) => {
|
|
4720
|
-
return (h("div", { class: "ez-col ez-col--sd-12 ez-
|
|
4746
|
+
return (h("div", { class: "ez-col ez-col--sd-12 ez-padding-horizontal--small" },
|
|
4721
4747
|
h("ez-date-input", { enabled: !readOnly, label: label, "data-field-name": name, key: name, canShowError: canShowError })));
|
|
4722
4748
|
};
|
|
4723
4749
|
const buildTime$1 = ({ name, label, readOnly, canShowError }) => {
|
|
4724
|
-
return (h("div", { class: "ez-col ez-col--sd-12 ez-
|
|
4750
|
+
return (h("div", { class: "ez-col ez-col--sd-12 ez-padding-horizontal--small" },
|
|
4725
4751
|
h("ez-time-input", { enabled: !readOnly, label: label, "data-field-name": name, key: name, canShowError: canShowError })));
|
|
4726
4752
|
};
|
|
4727
4753
|
const buildDateTime$1 = ({ name, label, readOnly, contextName, canShowError }) => {
|
|
4728
|
-
return (h("div", { class: "ez-col ez-col--sd-12 ez-
|
|
4754
|
+
return (h("div", { class: "ez-col ez-col--sd-12 ez-padding-horizontal--small" },
|
|
4729
4755
|
h("ez-date-time-input", { enabled: !readOnly, label: label, "data-field-name": name, "data-context-name": contextName, key: name, canShowError: canShowError })));
|
|
4730
4756
|
};
|
|
4731
4757
|
|
|
4732
4758
|
const buildFile = ({ name, label, readOnly, contextName, props }) => {
|
|
4733
4759
|
const uploadProps = ObjectUtils$1.removeEmptyValues({
|
|
4734
4760
|
subTitle: props.subTitle,
|
|
4735
|
-
requestHeaders: props.STORAGESTRATEGY
|
|
4761
|
+
requestHeaders: Object.assign(Object.assign({}, (props.STORAGESTRATEGY && {
|
|
4736
4762
|
STORAGESTRATEGY: props.STORAGESTRATEGY
|
|
4737
|
-
}
|
|
4763
|
+
})), (props.INTERNAL_FILENAME && {
|
|
4764
|
+
INTERNAL_FILENAME: props.INTERNAL_FILENAME
|
|
4765
|
+
})),
|
|
4738
4766
|
});
|
|
4739
4767
|
return (h("div", { class: "ez-col ez-col--sd-12 ez-padding-horizontal--small" },
|
|
4740
4768
|
h("ez-upload", Object.assign({ enabled: !readOnly, label: label, "data-field-name": name, "data-context-name": contextName, key: name }, uploadProps))));
|
|
@@ -4749,12 +4777,12 @@ const buildInteger$1 = ({ name, label, readOnly, contextName, canShowError }) =>
|
|
|
4749
4777
|
return buildNumeric$1(name, label, readOnly, 0, 0, contextName, canShowError);
|
|
4750
4778
|
};
|
|
4751
4779
|
function buildNumeric$1(fieldName, fieldLabel, readOnly, precision, prettyPrecision, contextName, canShowError) {
|
|
4752
|
-
return (h("div", { class: "ez-col ez-col--sd-12 ez-
|
|
4780
|
+
return (h("div", { class: "ez-col ez-col--sd-12 ez-padding-horizontal--small" },
|
|
4753
4781
|
h("ez-number-input", { enabled: !readOnly, label: fieldLabel, precision: precision, prettyPrecision: prettyPrecision, "data-field-name": fieldName, "data-context-name": contextName, key: fieldName, canShowError: canShowError })));
|
|
4754
4782
|
}
|
|
4755
4783
|
|
|
4756
4784
|
const buildSearch$1 = ({ name, label, readOnly, required, contextName, canShowError, optionLoader }) => {
|
|
4757
|
-
return (h("div", { class: "ez-col ez-col--sd-12 ez-
|
|
4785
|
+
return (h("div", { class: "ez-col ez-col--sd-12 ez-padding-horizontal--small" },
|
|
4758
4786
|
h("ez-search", { enabled: !readOnly, suppressEmptyOption: required, label: label, "data-field-name": name, "data-context-name": contextName, key: name, canShowError: canShowError, optionLoader: optionLoader })));
|
|
4759
4787
|
};
|
|
4760
4788
|
|
|
@@ -4764,7 +4792,7 @@ const buildTextArea = ({ name, label, readOnly, contextName, rows, canShowError
|
|
|
4764
4792
|
};
|
|
4765
4793
|
|
|
4766
4794
|
const buildTextInput$1 = ({ name, label, readOnly, contextName, canShowError }) => {
|
|
4767
|
-
return (h("div", { class: "ez-col ez-col--sd-12 ez-
|
|
4795
|
+
return (h("div", { class: "ez-col ez-col--sd-12 ez-padding-horizontal--small" },
|
|
4768
4796
|
h("ez-text-input", { label: label, "data-field-name": name, "data-context-name": contextName, key: name, enabled: !readOnly, canShowError: canShowError })));
|
|
4769
4797
|
};
|
|
4770
4798
|
|
|
@@ -4824,7 +4852,7 @@ class FormItems {
|
|
|
4824
4852
|
}
|
|
4825
4853
|
}
|
|
4826
4854
|
|
|
4827
|
-
const ezFormViewCss = ".sc-ez-form-view-h{display:flex;flex-
|
|
4855
|
+
const ezFormViewCss = ".sc-ez-form-view-h{display:flex;flex-wrap:wrap;width:100%;--ez-form-view__item--min-width:220px;--ez-form-view__item--sapce-width:5px}.form-view__content.sc-ez-form-view{display:grid;grid-template-columns:repeat(auto-fill, minmax(var(--ez-form-view__item--min-width), 1fr));gap:var(--ez-form-view__item--sapce-width);width:100%}.input-full_width.sc-ez-form-view{grid-column:1 / -1;width:100%}";
|
|
4828
4856
|
|
|
4829
4857
|
const EzFormView$1 = class extends HTMLElement$1 {
|
|
4830
4858
|
constructor() {
|
|
@@ -4860,19 +4888,36 @@ const EzFormView$1 = class extends HTMLElement$1 {
|
|
|
4860
4888
|
const formItems = new FormItems(Array.from(this._element.querySelectorAll("[data-form-item]")));
|
|
4861
4889
|
this.formItemsReady.emit(formItems);
|
|
4862
4890
|
}
|
|
4891
|
+
isItemFullWidth(userInterface) {
|
|
4892
|
+
return [
|
|
4893
|
+
UserInterface.FILE,
|
|
4894
|
+
UserInterface.LONGTEXT
|
|
4895
|
+
].includes(userInterface);
|
|
4896
|
+
}
|
|
4897
|
+
buildFormItemElement(item, classItem = "") {
|
|
4898
|
+
if (this.isItemFullWidth(item.userInterface)) {
|
|
4899
|
+
classItem += " input-full_width";
|
|
4900
|
+
}
|
|
4901
|
+
return h("div", { class: classItem }, fieldBuilder(item));
|
|
4902
|
+
}
|
|
4863
4903
|
render() {
|
|
4864
4904
|
ElementIDUtils.addIDInfoIfNotExists(this._element, 'ezFormView');
|
|
4865
4905
|
if (this.fields == undefined) {
|
|
4866
4906
|
return;
|
|
4867
4907
|
}
|
|
4868
|
-
|
|
4908
|
+
let nonArrayGrup = [];
|
|
4909
|
+
let formContent = Array.from(this.groupFields(this.fields).entries()).map(([label, value]) => {
|
|
4869
4910
|
if (Array.isArray(value)) {
|
|
4870
|
-
return (h("ez-collapsible-box", { id: `group-${label}`, label: label, "header-size": "large", key: label }, value.map(fi =>
|
|
4911
|
+
return (h("ez-collapsible-box", { id: `group-${label}`, label: label, "header-size": "large", key: label }, h("div", { class: "form-view__content" }, value.map(fi => (this.buildFormItemElement(fi))))));
|
|
4871
4912
|
}
|
|
4872
4913
|
else {
|
|
4873
|
-
|
|
4914
|
+
nonArrayGrup.push(value);
|
|
4874
4915
|
}
|
|
4875
|
-
})
|
|
4916
|
+
});
|
|
4917
|
+
// Filtra os elementos que não são arrays e os coloca dentro de uma única div
|
|
4918
|
+
let nonArrayElements = nonArrayGrup.map((value) => this.buildFormItemElement(value));
|
|
4919
|
+
let groupedNonArrayElements = h("div", { class: "form-view__content" }, nonArrayElements);
|
|
4920
|
+
return (h(Host, null, groupedNonArrayElements, formContent));
|
|
4876
4921
|
}
|
|
4877
4922
|
get _element() { return this; }
|
|
4878
4923
|
static get style() { return ezFormViewCss; }
|
|
@@ -123698,7 +123743,35 @@ var AllEnterpriseModules = [
|
|
|
123698
123743
|
|
|
123699
123744
|
ModuleRegistry.registerModules(AllEnterpriseModules);
|
|
123700
123745
|
|
|
123746
|
+
class DataSourceInterceptor {
|
|
123747
|
+
constructor(controller) {
|
|
123748
|
+
this._controller = controller;
|
|
123749
|
+
}
|
|
123750
|
+
clearColumnFilter(filters) {
|
|
123751
|
+
var _a;
|
|
123752
|
+
return (_a = filters.filter(filter => !filter.name.startsWith(DISTINCT_FILTER_NAME_PREFIX))) !== null && _a !== void 0 ? _a : [];
|
|
123753
|
+
}
|
|
123754
|
+
interceptAction(action) {
|
|
123755
|
+
var _a;
|
|
123756
|
+
if (action.type === Action.LOADING_DATA) {
|
|
123757
|
+
if (EZ_GRID_LOADING_SOURCE !== action.payload.source) {
|
|
123758
|
+
action.payload.filters = ((_a = action.payload) === null || _a === void 0 ? void 0 : _a.filters) !== undefined ? this.clearColumnFilter(action.payload.filters) : action.payload.filters;
|
|
123759
|
+
this._controller.clearFilter();
|
|
123760
|
+
}
|
|
123761
|
+
}
|
|
123762
|
+
return action;
|
|
123763
|
+
}
|
|
123764
|
+
}
|
|
123765
|
+
|
|
123701
123766
|
class DataSource {
|
|
123767
|
+
updateLoadedRecords(action) {
|
|
123768
|
+
const records = action.payload;
|
|
123769
|
+
if ((records === null || records === void 0 ? void 0 : records.length) > 0) {
|
|
123770
|
+
records.forEach(record => {
|
|
123771
|
+
this._controller.changeValues(record, [record.__record__id__]);
|
|
123772
|
+
});
|
|
123773
|
+
}
|
|
123774
|
+
}
|
|
123702
123775
|
isSilentChange(action) {
|
|
123703
123776
|
//TODO: Provisorio p/ não atualizar a grade quando a alteração for apenas de campos transisntes
|
|
123704
123777
|
var _a, _b;
|
|
@@ -123751,6 +123824,9 @@ class DataSource {
|
|
|
123751
123824
|
case Action.PREVIOUS_SELECTED:
|
|
123752
123825
|
this.updateSelection();
|
|
123753
123826
|
break;
|
|
123827
|
+
case Action.RECORD_LOADED:
|
|
123828
|
+
this.updateLoadedRecords(action);
|
|
123829
|
+
break;
|
|
123754
123830
|
}
|
|
123755
123831
|
};
|
|
123756
123832
|
this._dataUnit = dataUnit;
|
|
@@ -123758,6 +123834,7 @@ class DataSource {
|
|
|
123758
123834
|
this._controller.setColumnsDef(this.buildColumnDefs());
|
|
123759
123835
|
this._options = options;
|
|
123760
123836
|
this._dataUnit.subscribe(this.duObserver);
|
|
123837
|
+
this._dataUnit.addInterceptor(new DataSourceInterceptor(this._controller));
|
|
123761
123838
|
}
|
|
123762
123839
|
updateSelection() {
|
|
123763
123840
|
const selectionInfo = this._dataUnit.getSelectionInfo();
|
|
@@ -123820,15 +123897,6 @@ class DataSource {
|
|
|
123820
123897
|
}
|
|
123821
123898
|
}
|
|
123822
123899
|
|
|
123823
|
-
function calcFilterColumnLeftPosition(leftReference) {
|
|
123824
|
-
const FIX_MARGIN = 60;
|
|
123825
|
-
const FILTER_COLUMN_WIDTH = 330;
|
|
123826
|
-
const screenWidth = window.innerWidth;
|
|
123827
|
-
const maxLeft = screenWidth - (FILTER_COLUMN_WIDTH + FIX_MARGIN);
|
|
123828
|
-
const leftInt = leftReference - FIX_MARGIN;
|
|
123829
|
-
return leftInt > maxLeft ? maxLeft : leftInt;
|
|
123830
|
-
}
|
|
123831
|
-
|
|
123832
123900
|
class EzGridCustomHeader {
|
|
123833
123901
|
init(agParams) {
|
|
123834
123902
|
var _a;
|
|
@@ -123865,8 +123933,7 @@ class EzGridCustomHeader {
|
|
|
123865
123933
|
}
|
|
123866
123934
|
onClickFilter() {
|
|
123867
123935
|
var _a;
|
|
123868
|
-
|
|
123869
|
-
this.params.showColumnFilter(`${calcFilterColumnLeftPosition(iconLeft)}px`, true);
|
|
123936
|
+
this.params.showColumnFilter((_a = this.filterButton) === null || _a === void 0 ? void 0 : _a.getBoundingClientRect().left);
|
|
123870
123937
|
}
|
|
123871
123938
|
configSortIcon() {
|
|
123872
123939
|
this.sortDownIcon.style.display = this.params.column.isSortDescending() ? 'flex' : 'none';
|
|
@@ -124525,6 +124592,10 @@ class AgGridController {
|
|
|
124525
124592
|
this._gridOptions.api.refreshHeader();
|
|
124526
124593
|
this._dataUnit.loadData(undefined, undefined, undefined, EZ_GRID_LOADING_SOURCE);
|
|
124527
124594
|
}
|
|
124595
|
+
clearFilter() {
|
|
124596
|
+
this._filteredColumns.clear();
|
|
124597
|
+
this._gridOptions.api.refreshHeader();
|
|
124598
|
+
}
|
|
124528
124599
|
showFilterColumn(configs) {
|
|
124529
124600
|
var _a;
|
|
124530
124601
|
(_a = this._filterColumn) === null || _a === void 0 ? void 0 : _a.show(configs);
|
|
@@ -124543,7 +124614,7 @@ class AgGridController {
|
|
|
124543
124614
|
this._idAttribName = '__record__id__';
|
|
124544
124615
|
this._gridConfig = [];
|
|
124545
124616
|
this._filteredColumns = new Map();
|
|
124546
|
-
this._filterColumnleftPosition =
|
|
124617
|
+
this._filterColumnleftPosition = 0;
|
|
124547
124618
|
this._enterprise = enterprise;
|
|
124548
124619
|
}
|
|
124549
124620
|
getGridConfig() {
|
|
@@ -124580,22 +124651,27 @@ class AgGridController {
|
|
|
124580
124651
|
const dataType = (_a = fieldDescriptor === null || fieldDescriptor === void 0 ? void 0 : fieldDescriptor.dataType) !== null && _a !== void 0 ? _a : DataType.TEXT;
|
|
124581
124652
|
let placeholders = '';
|
|
124582
124653
|
const params = [];
|
|
124654
|
+
let isNullIncluded;
|
|
124583
124655
|
checkedOptions.forEach(option => {
|
|
124584
|
-
if (placeholders.length > 0) {
|
|
124585
|
-
placeholders = placeholders + ',';
|
|
124586
|
-
}
|
|
124587
124656
|
const paramName = `PARAM_${column}_${params.length + 1}`;
|
|
124588
|
-
placeholders = `${placeholders}:${paramName}`; //FIXME: trocar por ? quando o backend estiver funcionando
|
|
124589
124657
|
params.push({
|
|
124590
124658
|
dataType: dataType === DataType.OBJECT ? DataType.TEXT : dataType,
|
|
124591
124659
|
name: paramName,
|
|
124592
124660
|
value: option.value,
|
|
124593
124661
|
});
|
|
124662
|
+
if (option.value == undefined) {
|
|
124663
|
+
isNullIncluded = true;
|
|
124664
|
+
}
|
|
124665
|
+
else {
|
|
124666
|
+
if (placeholders.length > 0) {
|
|
124667
|
+
placeholders = placeholders + ',';
|
|
124668
|
+
}
|
|
124669
|
+
placeholders = `${placeholders}:${paramName}`;
|
|
124670
|
+
}
|
|
124594
124671
|
});
|
|
124595
|
-
const columnExpression = dataType === DataType.DATE ? `onlydate(this.${column})` : `this.${column}`;
|
|
124596
124672
|
return {
|
|
124597
124673
|
name: `${DISTINCT_FILTER_NAME_PREFIX}${column}`,
|
|
124598
|
-
expression:
|
|
124674
|
+
expression: this.getExpression(dataType, column, placeholders, isNullIncluded),
|
|
124599
124675
|
params,
|
|
124600
124676
|
};
|
|
124601
124677
|
}
|
|
@@ -124603,6 +124679,16 @@ class AgGridController {
|
|
|
124603
124679
|
})
|
|
124604
124680
|
.filter(item => item != undefined);
|
|
124605
124681
|
}
|
|
124682
|
+
getExpression(dataType, columnName, placeholders, isNullIncluded) {
|
|
124683
|
+
const columnExpression = dataType === DataType.DATE ? `onlydate(this.${columnName})` : `this.${columnName}`;
|
|
124684
|
+
if (placeholders.length > 0 && isNullIncluded) {
|
|
124685
|
+
return `(${columnExpression} in (${placeholders}) OR ${columnName} IS NULL)`;
|
|
124686
|
+
}
|
|
124687
|
+
if (isNullIncluded) {
|
|
124688
|
+
return `${columnName} IS NULL`;
|
|
124689
|
+
}
|
|
124690
|
+
return `${columnExpression} in (${placeholders})`;
|
|
124691
|
+
}
|
|
124606
124692
|
initDatagrid(container, options) {
|
|
124607
124693
|
var _a;
|
|
124608
124694
|
if (this._grid === undefined) {
|
|
@@ -124669,11 +124755,9 @@ class AgGridController {
|
|
|
124669
124755
|
this._gridOptions.api.setHeaderHeight(this.getHeaderRowHeight());
|
|
124670
124756
|
}
|
|
124671
124757
|
}
|
|
124672
|
-
setFilterColumnLeftPosition(
|
|
124673
|
-
if (
|
|
124674
|
-
|
|
124675
|
-
const leftString = ePopup.style.left.replace('px', '');
|
|
124676
|
-
this._filterColumnleftPosition = `${calcFilterColumnLeftPosition(parseInt(leftString))}px`;
|
|
124758
|
+
setFilterColumnLeftPosition({ type, ePopup }) {
|
|
124759
|
+
if (type === 'columnMenu') {
|
|
124760
|
+
this._filterColumnleftPosition = ePopup.getBoundingClientRect().left;
|
|
124677
124761
|
return;
|
|
124678
124762
|
}
|
|
124679
124763
|
}
|
|
@@ -125113,10 +125197,10 @@ class AgGridController {
|
|
|
125113
125197
|
tooltip: tooltip,
|
|
125114
125198
|
isSortable: propSortable,
|
|
125115
125199
|
hasFilter: () => this.hasFilterColumn(source.name),
|
|
125116
|
-
showColumnFilter: (leftPosition
|
|
125200
|
+
showColumnFilter: (leftPosition) => this.showFilterColumn({ columnName: source.name, columnLabel: source.label, leftPosition, filteredOptions: this._filteredColumns.get(source.name), fromIcon: true }),
|
|
125117
125201
|
},
|
|
125118
125202
|
valueFormatter: params => {
|
|
125119
|
-
if (params.value
|
|
125203
|
+
if (params.value === undefined) {
|
|
125120
125204
|
return "";
|
|
125121
125205
|
}
|
|
125122
125206
|
if (params.value instanceof Promise) {
|
|
@@ -125498,13 +125582,13 @@ class InMemoryFilterColumnDataSource {
|
|
|
125498
125582
|
}
|
|
125499
125583
|
}
|
|
125500
125584
|
|
|
125501
|
-
const ezGridCss = ".sc-ez-grid-h{display:grid;grid-template-rows:auto 1fr auto;height:100%;width:100%;--ez-grid__header--background-color:var(--background--xlight, #FFF);--ez-grid__selection-counter--z-index:var(--visible, 1);--ez-grid__container--shadow:0 0 16px 0 rgb(0 38 111 / 12%)}.grid-header.sc-ez-grid{display:grid;justify-content:space-between;align-items:center;grid-row-start:1;grid-template-columns:1fr;background-color:var(--ez-grid__header--background-color, #FFF)}.grid__container.sc-ez-grid{padding-top:15px;margin-top:-12px;box-shadow:var(--ez-grid__container--shadow);background-color:var(--ez-grid__header--background-color)}.grid-header__popover.sc-ez-grid{position:relative;top:var(--space--sm, 16px)}.grid-header__container.sc-ez-grid{display:flex;align-items:center}.grid-header__position.sc-ez-grid{display:flex;align-items:center;justify-content:space-between}.grid__selection-counter.sc-ez-grid{position:fixed;white-space:nowrap;transform:translate(-50%, 0px);left:50%;opacity:0;bottom:-100%;transition:opacity 0.1s, bottom 0.5s}.grid__selection-counter--opened.sc-ez-grid{opacity:1;bottom:0px}.grid__btn-close.sc-ez-grid{display:flex;align-items:center;justify-content:center;padding:0;outline:none;width:20px;height:20px;border:none;background-color:unset;cursor:pointer}.grid__btn-clear.sc-ez-grid{--ez-button--link-color:var(--color--alert-warning-900, #8C6B00);--ez-button--link--hover-color:var(--color--alert-warning-900, #8C6B00)}[no-header].sc-ez-grid-h .grid-header.sc-ez-grid{height:0;padding:0}";
|
|
125585
|
+
const ezGridCss = ".sc-ez-grid-h{display:grid;grid-template-rows:auto 1fr auto;height:100%;width:100%;--ez-grid__header--background-color:var(--background--xlight, #FFF);--ez-grid__selection-counter--z-index:var(--visible, 1);--ez-grid__container--shadow:0 0 16px 0 rgb(0 38 111 / 12%);--ez-grid--min-height:300px;min-height:var(--ez-grid--min-height)}.grid-header.sc-ez-grid{display:grid;justify-content:space-between;align-items:center;grid-row-start:1;grid-template-columns:1fr;background-color:var(--ez-grid__header--background-color, #FFF)}.grid__container.sc-ez-grid{padding-top:15px;margin-top:-12px;box-shadow:var(--ez-grid__container--shadow);background-color:var(--ez-grid__header--background-color)}.grid-header__popover.sc-ez-grid{position:relative;top:var(--space--sm, 16px)}.grid-header__container.sc-ez-grid{display:flex;align-items:center}.grid-header__position.sc-ez-grid{display:flex;align-items:center;justify-content:space-between}.grid__selection-counter.sc-ez-grid{position:fixed;white-space:nowrap;transform:translate(-50%, 0px);left:50%;opacity:0;bottom:-100%;transition:opacity 0.1s, bottom 0.5s}.grid__selection-counter--opened.sc-ez-grid{opacity:1;bottom:0px}.grid__btn-close.sc-ez-grid{display:flex;align-items:center;justify-content:center;padding:0;outline:none;width:20px;height:20px;border:none;background-color:unset;cursor:pointer}.grid__btn-clear.sc-ez-grid{--ez-button--link-color:var(--color--alert-warning-900, #8C6B00);--ez-button--link--hover-color:var(--color--alert-warning-900, #8C6B00)}[no-header].sc-ez-grid-h .grid-header.sc-ez-grid{height:0;padding:0}.grid-header__pagination.sc-ez-grid{width:30%;min-width:100px;justify-content:flex-end;flex-wrap:wrap}.grid-header__left-container.sc-ez-grid{width:70%}.grid-header__pagination-label.sc-ez-grid{width:100%;white-space:nowrap}.overflowed.sc-ez-grid{display:none}";
|
|
125502
125586
|
|
|
125503
125587
|
const windowInstace$1 = window;
|
|
125504
125588
|
const matches = (text, filter) => {
|
|
125505
|
-
const normalizedText = StringUtils$1.replaceAccentuatedCharsLower(text.toLocaleLowerCase());
|
|
125589
|
+
const normalizedText = StringUtils$1.replaceAccentuatedCharsLower(text === null || text === void 0 ? void 0 : text.toLocaleLowerCase());
|
|
125506
125590
|
const normalizedFilter = StringUtils$1.replaceAccentuatedCharsLower(filter.toLocaleLowerCase());
|
|
125507
|
-
return normalizedText.includes(normalizedFilter);
|
|
125591
|
+
return normalizedText === null || normalizedText === void 0 ? void 0 : normalizedText.includes(normalizedFilter);
|
|
125508
125592
|
};
|
|
125509
125593
|
const EzGrid$1 = class extends HTMLElement$1 {
|
|
125510
125594
|
constructor() {
|
|
@@ -125598,6 +125682,14 @@ const EzGrid$1 = class extends HTMLElement$1 {
|
|
|
125598
125682
|
observeConfig(config) {
|
|
125599
125683
|
this._gridController.setColumnsState(config.columns);
|
|
125600
125684
|
}
|
|
125685
|
+
updatePaginationTooltip() {
|
|
125686
|
+
if (!this._refPaginationLabelTooltip)
|
|
125687
|
+
return;
|
|
125688
|
+
const alreadyDefined = this._refPaginationLabelTooltip.getAttribute('data-tooltip');
|
|
125689
|
+
if (alreadyDefined) {
|
|
125690
|
+
this._refPaginationLabelTooltip.setAttribute('data-tooltip', this._getPaginationTooltip());
|
|
125691
|
+
}
|
|
125692
|
+
}
|
|
125601
125693
|
onSelectionChange(evt) {
|
|
125602
125694
|
this._currentPageSelected = evt.detail.selectionHeaderStatus === true;
|
|
125603
125695
|
if (this.dataUnit) {
|
|
@@ -125753,11 +125845,10 @@ const EzGrid$1 = class extends HTMLElement$1 {
|
|
|
125753
125845
|
}
|
|
125754
125846
|
getPaginationControl() {
|
|
125755
125847
|
if (this._paginationInfo) {
|
|
125756
|
-
const {
|
|
125848
|
+
const { currentPage, hasMore } = this._paginationInfo;
|
|
125757
125849
|
return [
|
|
125758
|
-
h("div", { class: "ez-text ez-text--primary ez-text--medium ez-margin-right--medium" }, h("strong", { class: "ez-text ez-text--primary ez-text--medium" },
|
|
125759
|
-
h("
|
|
125760
|
-
h("ez-button", { size: "small", iconName: "chevron-right", class: "ez-margin-right--medium", mode: "icon", enabled: hasMore, onClick: () => this.nextPage(), label: "Pr\u00F3xima P\u00E1gina" }),
|
|
125850
|
+
h("div", { class: "ez-text ez-text--primary ez-text--medium ez-margin-right--medium", ref: (element) => (this._refPaginationLabel = element) }, h("span", { class: "grid-header__pagination-label" }, h("strong", { class: "ez-text ez-text--primary ez-text--medium" }, this._getActualPageLabel()), this._getRemainingPageLabel())),
|
|
125851
|
+
h("div", { id: "grid-pagination-tooltip", ref: (element) => (this._refPaginationLabelTooltip = element), class: "ez-flex ez-margin-right--medium" }, h("ez-button", { size: "small", class: "ez-margin-right--medium", iconName: "chevron-left", mode: "icon", enabled: currentPage > 0, onClick: () => this.previousPage(), label: "P\u00E1gina anterior" }), h("ez-button", { size: "small", iconName: "chevron-right", mode: "icon", enabled: hasMore, onClick: () => this.nextPage(), label: "Pr\u00F3xima P\u00E1gina" })),
|
|
125761
125852
|
];
|
|
125762
125853
|
}
|
|
125763
125854
|
return null;
|
|
@@ -125801,6 +125892,53 @@ const EzGrid$1 = class extends HTMLElement$1 {
|
|
|
125801
125892
|
this.setEvents();
|
|
125802
125893
|
this.componentReady.emit();
|
|
125803
125894
|
this._gridController.configFilterColumn(this._filterColumn);
|
|
125895
|
+
this._initHeaderOverflowWatcher();
|
|
125896
|
+
}
|
|
125897
|
+
_getActualPageLabel() {
|
|
125898
|
+
const { firstRecord, lastRecord } = this._paginationInfo;
|
|
125899
|
+
return `${firstRecord}-${lastRecord}`;
|
|
125900
|
+
}
|
|
125901
|
+
_getRemainingPageLabel() {
|
|
125902
|
+
const { total, count } = this._paginationInfo;
|
|
125903
|
+
return `${total == undefined ? ` de ${count + 1} ou mais` : ` de ${total}`}`;
|
|
125904
|
+
}
|
|
125905
|
+
_getPaginationTooltip() {
|
|
125906
|
+
return this._getActualPageLabel() + this._getRemainingPageLabel();
|
|
125907
|
+
}
|
|
125908
|
+
_initHeaderOverflowWatcher() {
|
|
125909
|
+
this._headerOverflowWatcher = new OverflowWatcher(this.buildOverFlowWatcherParams());
|
|
125910
|
+
}
|
|
125911
|
+
buildOverFlowWatcherParams() {
|
|
125912
|
+
return {
|
|
125913
|
+
element: this._refPaginationControl,
|
|
125914
|
+
callback: this.handleOverFlow.bind(this),
|
|
125915
|
+
notOverFlow: ["grid-pagination-tooltip"]
|
|
125916
|
+
};
|
|
125917
|
+
}
|
|
125918
|
+
handleOverFlow(elementsOverflow) {
|
|
125919
|
+
if (!this._refPaginationLabel)
|
|
125920
|
+
return;
|
|
125921
|
+
if (elementsOverflow.length > 0) {
|
|
125922
|
+
this._hidePaginationDescription();
|
|
125923
|
+
}
|
|
125924
|
+
else {
|
|
125925
|
+
this._showPaginationDescription();
|
|
125926
|
+
}
|
|
125927
|
+
}
|
|
125928
|
+
_hidePaginationDescription() {
|
|
125929
|
+
this._refPaginationLabel.classList.add(OVERFLOWED_CLASS_NAME);
|
|
125930
|
+
this._refPaginationLabelTooltip.setAttribute('data-flow', 'bottom');
|
|
125931
|
+
this._refPaginationLabelTooltip.setAttribute('data-tooltip', this._getPaginationTooltip());
|
|
125932
|
+
}
|
|
125933
|
+
;
|
|
125934
|
+
_showPaginationDescription() {
|
|
125935
|
+
this._refPaginationLabel.classList.remove(OVERFLOWED_CLASS_NAME);
|
|
125936
|
+
this._refPaginationLabelTooltip.removeAttribute('data-flow');
|
|
125937
|
+
this._refPaginationLabelTooltip.removeAttribute('data-tooltip');
|
|
125938
|
+
}
|
|
125939
|
+
disconnectedCallback() {
|
|
125940
|
+
var _a;
|
|
125941
|
+
(_a = this._headerOverflowWatcher) === null || _a === void 0 ? void 0 : _a.destroy();
|
|
125804
125942
|
}
|
|
125805
125943
|
componentWillRender() {
|
|
125806
125944
|
this.configSelectionCounter();
|
|
@@ -125824,14 +125962,15 @@ const EzGrid$1 = class extends HTMLElement$1 {
|
|
|
125824
125962
|
}
|
|
125825
125963
|
render() {
|
|
125826
125964
|
var _a;
|
|
125827
|
-
return (h(Host, { "no-header": this.hideHeader() }, h("div", { class: "grid__container ez-grid", ref: elem => (this._container = elem) }), h("div", { class: "ez-box ez-box--shadow ez-padding--medium grid-header" }, h("filter-column", { class: "grid-header__popover", noHeaderTaskBar: !this._hasLeftButtons, dataSource: this.getDataSource(), dataUnit: this.dataUnit, gridHeaderHidden: this.hideHeader(), ref: (element) => (this._filterColumn = element) }), h("div", { class: "grid-header__position" }, h("div", { class: "grid-header__container" }, h("slot", { name: "leftButtons" })), h("div", { class: "grid-header__container", ref: ref => (this._refPaginationControl = ref) }, this.getPaginationControl()))), h("div", { ref: (ref) => (this._gridSelectionCounter = ref), class: `grid__selection-counter ez-elevation--4
|
|
125965
|
+
return (h(Host, { "no-header": this.hideHeader() }, h("div", { class: "grid__container ez-grid", ref: elem => (this._container = elem) }), h("div", { class: "ez-box ez-box--shadow ez-padding--medium grid-header" }, h("filter-column", { class: "grid-header__popover", noHeaderTaskBar: !this._hasLeftButtons, dataSource: this.getDataSource(), dataUnit: this.dataUnit, gridHeaderHidden: this.hideHeader(), ref: (element) => (this._filterColumn = element) }), h("div", { class: "grid-header__position" }, h("div", { class: "grid-header__container grid-header__left-container" }, h("slot", { name: "leftButtons" })), h("div", { class: "grid-header__container grid-header__pagination", ref: ref => (this._refPaginationControl = ref) }, this.getPaginationControl()))), h("div", { ref: (ref) => (this._gridSelectionCounter = ref), class: `grid__selection-counter ez-elevation--4
|
|
125828
125966
|
${this._showSelectionCounter ? 'grid__selection-counter--opened' : ''}
|
|
125829
125967
|
` }, h(SelectionCounter, { selectionCount: this._selectionCount, currentPageSelected: this._currentPageSelected, paginationInfo: this._paginationInfo, canSelectAll: (_a = this.selectionToastConfig) === null || _a === void 0 ? void 0 : _a.canSelectAll, allRecordSelected: this._isAllSelection, onSelectAll: () => this.onSelectAllRecords(), onSelectPage: () => this.onSelectPageRecords(), onClearAll: () => this.onClearSelectedRecords(), onClose: () => (this._showSelectionCounter = false) })), h("div", { class: "grid__footer" }, h("slot", { name: "footer" }))));
|
|
125830
125968
|
}
|
|
125831
125969
|
static get assetsDirs() { return ["../assets"]; }
|
|
125832
125970
|
get _element() { return this; }
|
|
125833
125971
|
static get watchers() { return {
|
|
125834
|
-
"config": ["observeConfig"]
|
|
125972
|
+
"config": ["observeConfig"],
|
|
125973
|
+
"_paginationInfo": ["updatePaginationTooltip"]
|
|
125835
125974
|
}; }
|
|
125836
125975
|
static get style() { return ezGridCss; }
|
|
125837
125976
|
};
|
|
@@ -125938,7 +126077,7 @@ const EzGuideNavigator$1 = class extends HTMLElement$1 {
|
|
|
125938
126077
|
static get style() { return ezGuideNavigatorCss; }
|
|
125939
126078
|
};
|
|
125940
126079
|
|
|
125941
|
-
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-alert-circle-inverted:before{content:\"\\ea06\"}.ez-icon-alert-circle:before{content:\"\\ea07\"}.ez-icon-alert-mail:before{content:\"\\ea08\"}.ez-icon-alert-popup:before{content:\"\\ea09\"}.ez-icon-anexo:before{content:\"\\ea0a\"}.ez-icon-
|
|
126080
|
+
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-alert-circle-inverted:before{content:\"\\ea06\"}.ez-icon-alert-circle:before{content:\"\\ea07\"}.ez-icon-alert-mail:before{content:\"\\ea08\"}.ez-icon-alert-popup:before{content:\"\\ea09\"}.ez-icon-anexo:before{content:\"\\ea0a\"}.ez-icon-antecipacao:before{content:\"\\ea0b\"}.ez-icon-apps:before{content:\"\\ea0c\"}.ez-icon-arrow-forward:before{content:\"\\ea0d\"}.ez-icon-arrow-upward:before{content:\"\\ea0e\"}.ez-icon-arrow_back:before{content:\"\\ea0f\"}.ez-icon-arrow_downward:before{content:\"\\ea10\"}.ez-icon-baixa:before{content:\"\\ea11\"}.ez-icon-balance:before{content:\"\\ea12\"}.ez-icon-bell-inverted:before{content:\"\\ea13\"}.ez-icon-bell:before{content:\"\\ea14\"}.ez-icon-boleto:before{content:\"\\ea15\"}.ez-icon-boolean:before{content:\"\\ea16\"}.ez-icon-business-center:before{content:\"\\ea17\"}.ez-icon-calendar-clock:before{content:\"\\ea18\"}.ez-icon-calendar:before{content:\"\\ea19\"}.ez-icon-cash-remove:before{content:\"\\ea1a\"}.ez-icon-check-circle-inverted:before{content:\"\\ea1b\"}.ez-icon-check-circle:before{content:\"\\ea1c\"}.ez-icon-check:before{content:\"\\ea1d\"}.ez-icon-chevron-down:before{content:\"\\ea1e\"}.ez-icon-chevron-left:before{content:\"\\ea1f\"}.ez-icon-chevron-right:before{content:\"\\ea20\"}.ez-icon-chevron-up:before{content:\"\\ea21\"}.ez-icon-circle--medium:before{content:\"\\ea22\"}.ez-icon-circle:before{content:\"\\ea23\"}.ez-icon-cleaning:before{content:\"\\ea24\"}.ez-icon-clipboard:before{content:\"\\ea25\"}.ez-icon-clock-rotate-left:before{content:\"\\ea26\"}.ez-icon-close:before{content:\"\\ea27\"}.ez-icon-cobrar:before{content:\"\\ea28\"}.ez-icon-code:before{content:\"\\ea29\"}.ez-icon-configuration:before{content:\"\\ea2a\"}.ez-icon-content-cut:before{content:\"\\ea2b\"}.ez-icon-copy:before{content:\"\\ea2c\"}.ez-icon-credit_card:before{content:\"\\ea2d\"}.ez-icon-crop:before{content:\"\\ea2e\"}.ez-icon-custom:before{content:\"\\ea2f\"}.ez-icon-delete-file:before{content:\"\\ea30\"}.ez-icon-delete:before{content:\"\\ea31\"}.ez-icon-description:before{content:\"\\ea32\"}.ez-icon-dividir:before{content:\"\\ea33\"}.ez-icon-docx:before{content:\"\\ea34\"}.ez-icon-dot-notification:before{content:\"\\ea35\"}.ez-icon-dots-horizontal:before{content:\"\\ea36\"}.ez-icon-dots-vertical:before{content:\"\\ea37\"}.ez-icon-drag-indicator:before{content:\"\\ea38\"}.ez-icon-dual-chevron-down:before{content:\"\\ea39\"}.ez-icon-dual-chevron-left:before{content:\"\\ea3a\"}.ez-icon-dual-chevron-right:before{content:\"\\ea3b\"}.ez-icon-dual-chevron-up:before{content:\"\\ea3c\"}.ez-icon-edit-file:before{content:\"\\ea3d\"}.ez-icon-edit-table:before{content:\"\\ea3e\"}.ez-icon-edit-time:before{content:\"\\ea3f\"}.ez-icon-edit-value:before{content:\"\\ea40\"}.ez-icon-edit:before{content:\"\\ea41\"}.ez-icon-email:before{content:\"\\ea42\"}.ez-icon-estorno:before{content:\"\\ea43\"}.ez-icon-exe:before{content:\"\\ea44\"}.ez-icon-expand:before{content:\"\\ea45\"}.ez-icon-expandir_card:before{content:\"\\ea46\"}.ez-icon-extrato:before{content:\"\\ea47\"}.ez-icon-eye-off:before{content:\"\\ea48\"}.ez-icon-eye:before{content:\"\\ea49\"}.ez-icon-favorite:before{content:\"\\ea4a\"}.ez-icon-figma:before{content:\"\\ea4b\"}.ez-icon-file-download:before{content:\"\\ea4c\"}.ez-icon-file-upload:before{content:\"\\ea4d\"}.ez-icon-filter:before{content:\"\\ea4e\"}.ez-icon-find-file:before{content:\"\\ea4f\"}.ez-icon-find-page:before{content:\"\\ea50\"}.ez-icon-format-color-fill:before{content:\"\\ea51\"}.ez-icon-generic:before{content:\"\\ea52\"}.ez-icon-gif:before{content:\"\\ea53\"}.ez-icon-graph_bar:before{content:\"\\ea54\"}.ez-icon-handshake:before{content:\"\\ea55\"}.ez-icon-help-inverted:before{content:\"\\ea56\"}.ez-icon-help:before{content:\"\\ea57\"}.ez-icon-hide_menu:before{content:\"\\ea58\"}.ez-icon-home:before{content:\"\\ea59\"}.ez-icon-icons104:before{content:\"\\ea5a\"}.ez-icon-language:before{content:\"\\ea5b\"}.ez-icon-launch:before{content:\"\\ea5c\"}.ez-icon-lightbulb:before{content:\"\\ea5d\"}.ez-icon-list:before{content:\"\\ea5e\"}.ez-icon-location:before{content:\"\\ea5f\"}.ez-icon-lock-outline:before{content:\"\\ea60\"}.ez-icon-lock:before{content:\"\\ea61\"}.ez-icon-menu:before{content:\"\\ea62\"}.ez-icon-mid:before{content:\"\\ea63\"}.ez-icon-minus:before{content:\"\\ea64\"}.ez-icon-money-off:before{content:\"\\ea65\"}.ez-icon-money:before{content:\"\\ea66\"}.ez-icon-more:before{content:\"\\ea67\"}.ez-icon-mp3:before{content:\"\\ea68\"}.ez-icon-mp4:before{content:\"\\ea69\"}.ez-icon-multiple-files:before{content:\"\\ea6a\"}.ez-icon-north-west:before{content:\"\\ea6b\"}.ez-icon-number:before{content:\"\\ea6c\"}.ez-icon-ordem-ascendente:before{content:\"\\ea6d\"}.ez-icon-ordem-descendente:before{content:\"\\ea6e\"}.ez-icon-parcelar:before{content:\"\\ea6f\"}.ez-icon-pause:before{content:\"\\ea70\"}.ez-icon-payments:before{content:\"\\ea71\"}.ez-icon-pdf:before{content:\"\\ea72\"}.ez-icon-play:before{content:\"\\ea73\"}.ez-icon-plus:before{content:\"\\ea74\"}.ez-icon-png:before{content:\"\\ea75\"}.ez-icon-power:before{content:\"\\ea76\"}.ez-icon-pptx:before{content:\"\\ea77\"}.ez-icon-preview:before{content:\"\\ea78\"}.ez-icon-print:before{content:\"\\ea79\"}.ez-icon-push-pin:before{content:\"\\ea7a\"}.ez-icon-rateio:before{content:\"\\ea7b\"}.ez-icon-receipt:before{content:\"\\ea7c\"}.ez-icon-recolher_card:before{content:\"\\ea7d\"}.ez-icon-restore:before{content:\"\\ea7e\"}.ez-icon-return:before{content:\"\\ea7f\"}.ez-icon-sankhya-place:before{content:\"\\ea80\"}.ez-icon-save:before{content:\"\\ea81\"}.ez-icon-search:before{content:\"\\ea82\"}.ez-icon-settings-inverted:before{content:\"\\ea83\"}.ez-icon-settings:before{content:\"\\ea84\"}.ez-icon-share:before{content:\"\\ea85\"}.ez-icon-shield:before{content:\"\\ea86\"}.ez-icon-show_menu:before{content:\"\\ea87\"}.ez-icon-south-east:before{content:\"\\ea88\"}.ez-icon-sync:before{content:\"\\ea89\"}.ez-icon-table:before{content:\"\\ea8a\"}.ez-icon-tag_code:before{content:\"\\ea8b\"}.ez-icon-text:before{content:\"\\ea8c\"}.ez-icon-timeline:before{content:\"\\ea8d\"}.ez-icon-timer-outline:before{content:\"\\ea8e\"}.ez-icon-trending-up:before{content:\"\\ea8f\"}.ez-icon-tune:before{content:\"\\ea90\"}.ez-icon-txt:before{content:\"\\ea91\"}.ez-icon-un-pin:before{content:\"\\ea92\"}.ez-icon-unfold_less:before{content:\"\\ea93\"}.ez-icon-unfold_more:before{content:\"\\ea94\"}.ez-icon-user-circle:before{content:\"\\ea95\"}.ez-icon-warning-outline:before{content:\"\\ea96\"}.ez-icon-warning_triangle:before{content:\"\\ea97\"}.ez-icon-whatshot:before{content:\"\\ea98\"}.ez-icon-xlsx:before{content:\"\\ea99\"}.ez-icon-zip:before{content:\"\\ea9a\"}.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}";
|
|
125942
126081
|
|
|
125943
126082
|
const EzIcon$1 = class extends HTMLElement$1 {
|
|
125944
126083
|
constructor() {
|
|
@@ -126823,16 +126962,8 @@ const EzMuiltiSelectionList = class extends HTMLElement$1 {
|
|
|
126823
126962
|
}
|
|
126824
126963
|
handleChangeSelectedItem(event) {
|
|
126825
126964
|
const { detail: itemCheckSelected } = event;
|
|
126826
|
-
|
|
126827
|
-
|
|
126828
|
-
return Object.assign(Object.assign({}, item), { check: itemCheckSelected.check });
|
|
126829
|
-
}
|
|
126830
|
-
return item;
|
|
126831
|
-
});
|
|
126832
|
-
this.clearInputs();
|
|
126833
|
-
}
|
|
126834
|
-
clearInputs() {
|
|
126835
|
-
this.filterInput ? (this.filterInput.value = '') : (this.searchInput.value = '');
|
|
126965
|
+
const itemSelected = this.filteredOptions.find(item => item.label === itemCheckSelected.label);
|
|
126966
|
+
itemSelected.check = itemCheckSelected.check;
|
|
126836
126967
|
}
|
|
126837
126968
|
buildViewList(hasDelete) {
|
|
126838
126969
|
return (h(Fragment, null, this.displayOptionToCheckAllItems && (h("ez-check", { ref: (element) => (this.checkInput = element), label: "Selecionar todos", class: "multi-selection__select-all", onEzChange: this.handleChangeSelectAllItems.bind(this) })), h("ez-list", { class: "multi-selection__list", dataSource: this.displayOptions, listMode: "check", hoverFeedback: true, onEzCheckChange: this.handleChangeSelectedItem.bind(this), itemSlotBuilder: hasDelete ? this.buildDeleteIconSlot.bind(this) : null })));
|
|
@@ -126982,6 +127113,9 @@ const EzNumberInput$1 = class extends HTMLElement$1 {
|
|
|
126982
127113
|
this.ezCancelWaitingChange.emit();
|
|
126983
127114
|
}
|
|
126984
127115
|
handleBlur() {
|
|
127116
|
+
if (!this._changePending) {
|
|
127117
|
+
return;
|
|
127118
|
+
}
|
|
126985
127119
|
try {
|
|
126986
127120
|
const parsedNumber = this.getParsedNumber();
|
|
126987
127121
|
if (parsedNumber !== undefined && isNaN(parsedNumber)) {
|
|
@@ -127192,7 +127326,7 @@ const EzPopover$1 = class extends HTMLElement$1 {
|
|
|
127192
127326
|
static get style() { return ezPopoverCss; }
|
|
127193
127327
|
};
|
|
127194
127328
|
|
|
127195
|
-
const ezPopupCss = ":host{display:flex;--ez-popup-z-index:var(--elevation--24, 24);--ez-popup__container--color:var(--title--primary, #2b3a54);--ez-popup__container--padding:var(--space--large, 24px);--ez-popup__header--padding-bottom:var(--space--medium, 12px);--ez-popup__title--font-family:var(--font-pattern, \"Roboto\");--ez-popup__title--font-size:var(--title--extra-large, 24px);--ez-popup__title--color:var(--title--primary, #2b3a54);--ez-popup__title--font-weight:var(--text-weight--large, 600);--ez-popup__btn__close--icon-color:var(--title--primary, #2b3a54);--ez-popup__btn__close--icon:url('data:image/svg+xml;utf8,<svg width=\"14\" height=\"14\" viewBox=\"0 0 14 14\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M 8.2421753,6.9944578 13.743748,1.4930784 C 13.907781,1.3290628 14,1.1065946 14,0.87462511 14,0.64266712 13.907782,0.42019873 13.743748,0.25617155 13.579712,0.09215597 13.35727,6.48e-8 13.125266,6.48e-8 12.89338,6.48e-8 12.670821,0.09215634 12.506787,0.25617155 L 7.005215,5.7575508 1.5035972,0.25617155 C 1.3395631,0.09215597 1.1170968,6.48e-8 0.88511716,6.48e-8 0.65314917,6.48e-8 0.4306712,0.09215597 0.26663695,0.25617155 0.10260271,0.42019873 0.01045441,0.64266712 0.01045441,0.87462511 c 0,0.23196949 0.0921483,0.45443769 0.25618254,0.61845329 L 5.7682546,6.9944578 0.26663695,12.497027 c -0.0834745,0.08067 -0.15003245,0.1772 -0.19581514,0.283871 C 0.02505077,12.887561 9.831648e-4,13.002399 2.950369e-5,13.118395 -9.2415746e-4,13.234504 0.02125019,13.349689 0.06527245,13.457057 c 0.04401053,0.107479 0.10898307,0.205064 0.1911168,0.287137 0.0821454,0.08208 0.17979645,0.146888 0.28727561,0.190839 0.10747906,0.04395 0.22262954,0.06598 0.33872417,0.06493 0.116095,-10e-4 0.23082547,-0.0253 0.33747687,-0.07112 0.1066637,-0.04593 0.2031133,-0.112615 0.2837313,-0.196086 L 7.005215,8.2313646 12.506787,13.732768 c 0.164034,0.164027 0.386593,0.256125 0.618479,0.256125 0.232004,0 0.454446,-0.09209 0.618482,-0.256125 C 13.907781,13.568741 14,13.346308 14,13.114315 14,12.882323 13.90779,12.659888 13.743748,12.495861 Z\"/></svg>')}.overlay{position:fixed;display:flex;top:0px;z-index:var(--ez-popup-z-index, 24);left:0px;width:100%;align-items:center;justify-content:center;box-sizing:border-box;height:100vh;backdrop-filter:blur(4px);background:rgba(0, 4, 12, 0.4)}.popup{display:flex;height:100%;align-items:center;justify-content:center;box-sizing:border-box}.popup__container{width:100%;max-height:90%;height:100%;display:flex;flex-wrap:wrap;overflow:hidden;outline:none;background:#FFFF;color:var(--ez-popup__container--color);border-radius:12px;box-shadow:0px 0px 16px rgba(0, 38, 111, 0.122);box-sizing:border-box;padding:var(--ez-popup__container--padding)}.popup__container--auto{height:auto}.popup__content{box-sizing:border-box;
|
|
127329
|
+
const ezPopupCss = ":host{display:flex;--ez-popup-z-index:var(--elevation--24, 24);--ez-popup__container--color:var(--title--primary, #2b3a54);--ez-popup__container--padding:var(--space--large, 24px);--ez-popup__header--padding-bottom:var(--space--medium, 12px);--ez-popup__title--font-family:var(--font-pattern, \"Roboto\");--ez-popup__title--font-size:var(--title--extra-large, 24px);--ez-popup__title--color:var(--title--primary, #2b3a54);--ez-popup__title--font-weight:var(--text-weight--large, 600);--ez-popup__btn__close--icon-color:var(--title--primary, #2b3a54);--ez-popup__btn__close--icon:url('data:image/svg+xml;utf8,<svg width=\"14\" height=\"14\" viewBox=\"0 0 14 14\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M 8.2421753,6.9944578 13.743748,1.4930784 C 13.907781,1.3290628 14,1.1065946 14,0.87462511 14,0.64266712 13.907782,0.42019873 13.743748,0.25617155 13.579712,0.09215597 13.35727,6.48e-8 13.125266,6.48e-8 12.89338,6.48e-8 12.670821,0.09215634 12.506787,0.25617155 L 7.005215,5.7575508 1.5035972,0.25617155 C 1.3395631,0.09215597 1.1170968,6.48e-8 0.88511716,6.48e-8 0.65314917,6.48e-8 0.4306712,0.09215597 0.26663695,0.25617155 0.10260271,0.42019873 0.01045441,0.64266712 0.01045441,0.87462511 c 0,0.23196949 0.0921483,0.45443769 0.25618254,0.61845329 L 5.7682546,6.9944578 0.26663695,12.497027 c -0.0834745,0.08067 -0.15003245,0.1772 -0.19581514,0.283871 C 0.02505077,12.887561 9.831648e-4,13.002399 2.950369e-5,13.118395 -9.2415746e-4,13.234504 0.02125019,13.349689 0.06527245,13.457057 c 0.04401053,0.107479 0.10898307,0.205064 0.1911168,0.287137 0.0821454,0.08208 0.17979645,0.146888 0.28727561,0.190839 0.10747906,0.04395 0.22262954,0.06598 0.33872417,0.06493 0.116095,-10e-4 0.23082547,-0.0253 0.33747687,-0.07112 0.1066637,-0.04593 0.2031133,-0.112615 0.2837313,-0.196086 L 7.005215,8.2313646 12.506787,13.732768 c 0.164034,0.164027 0.386593,0.256125 0.618479,0.256125 0.232004,0 0.454446,-0.09209 0.618482,-0.256125 C 13.907781,13.568741 14,13.346308 14,13.114315 14,12.882323 13.90779,12.659888 13.743748,12.495861 Z\"/></svg>')}.overlay{position:fixed;display:flex;top:0px;z-index:var(--ez-popup-z-index, 24);left:0px;width:100%;align-items:center;justify-content:center;box-sizing:border-box;height:100vh;backdrop-filter:blur(4px);background:rgba(0, 4, 12, 0.4)}.popup{display:flex;height:100%;align-items:center;justify-content:center;box-sizing:border-box}.popup__container{width:100%;max-height:90%;height:100%;display:flex;flex-wrap:wrap;overflow:hidden;outline:none;background:#FFFF;color:var(--ez-popup__container--color);border-radius:12px;box-shadow:0px 0px 16px rgba(0, 38, 111, 0.122);box-sizing:border-box;padding:var(--ez-popup__container--padding)}.popup__container--auto{height:auto}.popup__content{box-sizing:border-box;height:100%;width:100%}.popup__expandable-content{box-sizing:border-box;width:100%;height:calc(100% - 44px)}.popup__header{width:100%;display:flex}.popup__header--padding{padding-bottom:var(--ez-popup__header--padding-bottom)}.popup__title{display:flex;margin:0;width:100%;font-family:var(--ez-popup__title--font-family);font-size:var(--ez-popup__title--font-size);font-weight:var(--ez-popup__title--font-weight);color:var(--ez-popup__title--color);line-height:1.3}.btn-close{justify-content:flex-end;align-self:flex-start;align-items:flex-start;display:flex;outline:none;border:none;background-color:unset;cursor:pointer}.btn-close::after{content:'';display:flex;background-color:var(--ez-popup__btn__close--icon-color);width:14px;height:14px;-webkit-mask-image:var(--ez-popup__btn__close--icon);mask-image:var(--ez-popup__btn__close--icon)}.btn-close--solo{width:100%}.row{width:100%;display:flex;flex-wrap:wrap}.col{display:flex;flex-wrap:wrap;align-self:flex-start;box-sizing:border-box}.col--stretch{align-self:stretch}.col--undefined{width:unset}.col--nowrap{flex-wrap:nowrap}.ez-popup__size-limit--x-small{min-width:350px;max-width:560px}@media screen and (min-width: 320px){.col--sd-1{width:8.33333%}.col--sd-2{width:16.66667%}.col--sd-3{width:25%}.col--sd-4{width:33.33333%}.col--sd-5{width:41.66667%}.col--sd-6{width:50%}.col--sd-7{width:58.33333%}.col--sd-8{width:66.66667%}.col--sd-9{width:75%}.col--sd-10{width:83.33333%}.col--sd-11{width:91.66667%}.col--sd-12{width:100%}}@media screen and (min-width: 480px){.col--pn-1{width:8.33333%}.col--pn-2{width:16.66667%}.col--pn-3{width:25%}.col--pn-4{width:33.33333%}.col--pn-5{width:41.66667%}.col--pn-6{width:50%}.col--pn-7{width:58.33333%}.col--pn-8{width:66.66667%}.col--pn-9{width:75%}.col--pn-10{width:83.33333%}.col--pn-11{width:91.66667%}.col--pn-12{width:100%}}@media screen and (min-width: 768px){.col--tb-1{width:8.33333%}.col--tb-2{width:16.66667%}.col--tb-3{width:25%}.col--tb-4{width:33.33333%}.col--tb-5{width:41.66667%}.col--tb-6{width:50%}.col--tb-7{width:58.33333%}.col--tb-8{width:66.66667%}.col--tb-9{width:75%}.col--tb-10{width:83.33333%}.col--tb-11{width:91.66667%}.col--tb-12{width:100%}}@media screen and (min-width: 992px){.col--md-1{width:8.33333%}.col--md-2{width:16.66667%}.col--md-3{width:25%}.col--md-4{width:33.33333%}.col--md-5{width:41.66667%}.col--md-6{width:50%}.col--md-7{width:58.33333%}.col--md-8{width:66.66667%}.col--md-9{width:75%}.col--md-10{width:83.33333%}.col--md-11{width:91.66667%}.col--md-12{width:100%}}@media screen and (min-width: 1200px){.col--ld-1{width:8.33333%}.col--ld-2{width:16.66667%}.col--ld-3{width:25%}.col--ld-4{width:33.33333%}.col--ld-5{width:41.66667%}.col--ld-6{width:50%}.col--ld-7{width:58.33333%}.col--ld-8{width:66.66667%}.col--ld-9{width:75%}.col--ld-10{width:83.33333%}.col--ld-11{width:91.66667%}.col--ld-12{width:100%}}";
|
|
127196
127330
|
|
|
127197
127331
|
const EzPopup$1 = class extends HTMLElement$1 {
|
|
127198
127332
|
constructor() {
|
|
@@ -127485,7 +127619,7 @@ class ScrollCtrl {
|
|
|
127485
127619
|
}
|
|
127486
127620
|
}
|
|
127487
127621
|
|
|
127488
|
-
const ezSearchCss = ":host{--ez-search--height:42px;--ez-search--width:100%;--ez-search__icon--width:48px;--ez-search--border-radius:var(--border--radius-medium, 12px);--ez-search--border-radius-small:var(--border--radius-small, 6px);--ez-search--font-size:var(--text--medium, 14px);--ez-search--font-family:var(--font-pattern, Arial);--ez-search--font-weight--large:var(--text-weight--large, 500);--ez-search--font-weight--medium:var(--text-weight--medium, 400);--ez-search--background-color--xlight:var(--background--xlight, #fff);--ez-search--background-medium:var(--background--medium, #f0f3f7);--ez-search--line-height:calc(var(--text--medium, 14px) + 4px);--ez-search__input--background-color:var(--background--medium, #e0e0e0);--ez-search__input--border:var(--border--medium, 2px solid);--ez-search__input--border-color:var(--ez-search__input--background-color);--ez-search__input--focus--border-color:var(--color--primary, #008561);--ez-search__input--disabled--background-color:var(--color--disable-secondary, #F2F5F8);--ez-search__input--disabled--color:var(--text--disable, #AFB6C0);--ez-search__input--error--border-color:#CC2936;--ez-search__btn--color:var(--title--primary, #2B3A54);--ez-search__btn-disabled--color:var(--text--disable, #AFB6C0);--ez-search__btn-hover--color:var(--color--primary, #4e4e4e);--ez-search__label--color:var(--title--primary, #2B3A54);--ez-search__list-title--primary:var(--title--primary, #2B3A54);--ez-search__list-text--primary:var(--text--primary, #626e82);--ez-search__list-height:calc(var(--ez-search--font-size) + var(--ez-search--space--medium) + 4px);--ez-search__list-min-width:64px;--ez-search--space--medium:var(--space--medium, 12px);--ez-search--space--small:var(--space--small, 6px);--ez-search__scrollbar--color-default:var(--scrollbar--default, #626e82);--ez-search__scrollbar--color-background:var(--scrollbar--background, #E5EAF0);--ez-search__scrollbar--color-hover:var(--scrollbar--hover, #2B3A54);--ez-search__scrollbar--color-clicked:var(--scrollbar--clicked, #a2abb9);--ez-search__scrollbar--border-radius:var(--border--radius-small, 6px);--ez-search__scrollbar--width:var(--space--medium, 12px);display:flex;flex-wrap:wrap;position:relative;width:var(--ez-search--width)}ez-icon{--ez-icon--color:inherit;font-weight:var(--text-weight--large, 600)}.suppressed-search-input{--ez-text-input__input--border-color:var(--color--strokes, #dce0e8);--ez-text-input__input--disabled--background-color:var(--background--xlight, #fff);--ez-text-input__input--disabled--color:var(--title--primary, #2B3A54)}.list-container{min-width:var(--ez-search__list-min-width);position:relative;width:100%}.list-wrapper{display:flex;flex-direction:column;box-sizing:border-box;width:0;z-index:var(--more-visible, 2);max-height:350px;background-color:var(--ez-search--background-color--xlight);border-radius:var(--ez-search--border-radius);box-shadow:var(--shadow, 0px 0px 16px 0px #000);padding:var(--ez-search--space--small)}.list-options{box-sizing:border-box;width:100%;height:100%;padding:0;display:flex;flex-direction:column;scroll-behavior:smooth;overflow:auto;scrollbar-width:thin;gap:3px;scrollbar-color:var(--ez-search__scrollbar--color-clicked) var(--ez-search__scrollbar--color-background)}.list-options::-webkit-scrollbar{background-color:var(--ez-search__scrollbar--color-background);width:var(--ez-search__scrollbar--width);max-width:var(--ez-search__scrollbar--width);min-width:var(--ez-search__scrollbar--width)}.list-options::-webkit-scrollbar-track{background-color:var(--ez-search__scrollbar--color-background);border-radius:var(--ez-search__scrollbar--border-radius)}.list-options::-webkit-scrollbar-thumb{background-color:var(--ez-search__scrollbar--color-default);border-radius:var(--ez-search__scrollbar--border-radius)}.list-options::-webkit-scrollbar-thumb:vertical:hover,.list-options::-webkit-scrollbar-thumb:horizontal:hover{background-color:var(--ez-search__scrollbar--color-hover)}.list-options::-webkit-scrollbar-thumb:vertical:active,.list-options::-webkit-scrollbar-thumb:horizontal:active{background-color:var(--ez-search__scrollbar--color-clicked)}.item{display:flex;align-items:center;width:100%;box-sizing:border-box;list-style-type:none;cursor:pointer;border-radius:var(--ez-search--border-radius-small);padding:var(--ez-search--space--small);
|
|
127622
|
+
const ezSearchCss = ":host{--ez-search--height:42px;--ez-search--width:100%;--ez-search__icon--width:48px;--ez-search--border-radius:var(--border--radius-medium, 12px);--ez-search--border-radius-small:var(--border--radius-small, 6px);--ez-search--font-size:var(--text--medium, 14px);--ez-search--font-family:var(--font-pattern, Arial);--ez-search--font-weight--large:var(--text-weight--large, 500);--ez-search--font-weight--medium:var(--text-weight--medium, 400);--ez-search--background-color--xlight:var(--background--xlight, #fff);--ez-search--background-medium:var(--background--medium, #f0f3f7);--ez-search--line-height:calc(var(--text--medium, 14px) + 4px);--ez-search__input--background-color:var(--background--medium, #e0e0e0);--ez-search__input--border:var(--border--medium, 2px solid);--ez-search__input--border-color:var(--ez-search__input--background-color);--ez-search__input--focus--border-color:var(--color--primary, #008561);--ez-search__input--disabled--background-color:var(--color--disable-secondary, #F2F5F8);--ez-search__input--disabled--color:var(--text--disable, #AFB6C0);--ez-search__input--error--border-color:#CC2936;--ez-search__btn--color:var(--title--primary, #2B3A54);--ez-search__btn-disabled--color:var(--text--disable, #AFB6C0);--ez-search__btn-hover--color:var(--color--primary, #4e4e4e);--ez-search__label--color:var(--title--primary, #2B3A54);--ez-search__list-title--primary:var(--title--primary, #2B3A54);--ez-search__list-text--primary:var(--text--primary, #626e82);--ez-search__list-height:calc(var(--ez-search--font-size) + var(--ez-search--space--medium) + 4px);--ez-search__list-min-width:64px;--ez-search--space--medium:var(--space--medium, 12px);--ez-search--space--small:var(--space--small, 6px);--ez-search__scrollbar--color-default:var(--scrollbar--default, #626e82);--ez-search__scrollbar--color-background:var(--scrollbar--background, #E5EAF0);--ez-search__scrollbar--color-hover:var(--scrollbar--hover, #2B3A54);--ez-search__scrollbar--color-clicked:var(--scrollbar--clicked, #a2abb9);--ez-search__scrollbar--border-radius:var(--border--radius-small, 6px);--ez-search__scrollbar--width:var(--space--medium, 12px);display:flex;flex-wrap:wrap;position:relative;width:var(--ez-search--width)}ez-icon{--ez-icon--color:inherit;font-weight:var(--text-weight--large, 600)}.suppressed-search-input{--ez-text-input__input--border-color:var(--color--strokes, #dce0e8);--ez-text-input__input--disabled--background-color:var(--background--xlight, #fff);--ez-text-input__input--disabled--color:var(--title--primary, #2B3A54)}.list-container{min-width:var(--ez-search__list-min-width);overflow:auto;position:relative;width:100%}.list-wrapper{display:flex;flex-direction:column;box-sizing:border-box;width:0;z-index:var(--more-visible, 2);max-height:350px;min-width:150px;background-color:var(--ez-search--background-color--xlight);border-radius:var(--ez-search--border-radius);box-shadow:var(--shadow, 0px 0px 16px 0px #000);padding:var(--ez-search--space--small)}.list-options{box-sizing:border-box;width:100%;height:100%;padding:0;display:flex;flex-direction:column;scroll-behavior:smooth;overflow:auto;scrollbar-width:thin;gap:3px;scrollbar-color:var(--ez-search__scrollbar--color-clicked) var(--ez-search__scrollbar--color-background)}.list-options::-webkit-scrollbar{background-color:var(--ez-search__scrollbar--color-background);width:var(--ez-search__scrollbar--width);max-width:var(--ez-search__scrollbar--width);min-width:var(--ez-search__scrollbar--width)}.list-options::-webkit-scrollbar-track{background-color:var(--ez-search__scrollbar--color-background);border-radius:var(--ez-search__scrollbar--border-radius)}.list-options::-webkit-scrollbar-thumb{background-color:var(--ez-search__scrollbar--color-default);border-radius:var(--ez-search__scrollbar--border-radius)}.list-options::-webkit-scrollbar-thumb:vertical:hover,.list-options::-webkit-scrollbar-thumb:horizontal:hover{background-color:var(--ez-search__scrollbar--color-hover)}.list-options::-webkit-scrollbar-thumb:vertical:active,.list-options::-webkit-scrollbar-thumb:horizontal:active{background-color:var(--ez-search__scrollbar--color-clicked)}.item{display:flex;align-items:center;width:100%;box-sizing:border-box;list-style-type:none;cursor:pointer;border-radius:var(--ez-search--border-radius-small);padding:var(--ez-search--space--small);gap:var(--space--small, 6px)}.item__value,.item__label{flex-basis:auto;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:var(--ez-search__list-title--primary);font-family:var(--ez-search--font-family);font-size:var(--ez-search--font-size);line-height:var(--ez-search--line-height)}.item__label{font-weight:var(--ez-search--font-weight--medium)}.item__label--bold{font-weight:var(--ez-search--font-weight--large)}.item__value{text-align:center;color:var(--ez-search__list-text--primary);font-weight:var(--ez-search--font-weight--large)}.item__value--hidden{visibility:hidden;position:absolute;white-space:nowrap;z-index:-1;top:0;left:0}.item__label{text-align:left}.message{text-align:center;display:flex;justify-content:center;align-items:center;list-style-type:none;min-height:var(--ez-search__list-height)}.message__no-result{color:var(--ez-search__list-title--primary);font-family:var(--ez-search--font-family);font-size:var(--ez-search--font-size)}.message__loading{border-radius:50%;width:14px;height:14px;-webkit-animation:spin 1s linear infinite;animation:spin 1s linear infinite;border:3px solid var(--ez-search__list-title--primary);border-top:3px solid transparent}.item__list>li:hover{background-color:var(--ez-search--background-medium)}.preselected{background-color:var(--background--medium)}.btn{outline:none;border:none;background:none;cursor:pointer;color:var(--ez-search__btn--color)}.btn:disabled{cursor:unset;color:var(--ez-search__btn-disabled--color)}.btn:disabled:hover{cursor:unset;color:var(--ez-search__btn-disabled--color)}.btn:hover{color:var(--ez-search__btn-hover--color)}.btn__close{visibility:hidden}ez-text-input:hover .btn__close,ez-text-input:focus .btn__close{visibility:visible}@-webkit-keyframes spin{0%{-webkit-transform:rotate(0deg)}100%{-webkit-transform:rotate(360deg)}}@keyframes spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}";
|
|
127489
127623
|
|
|
127490
127624
|
const EzSearch$1 = class extends HTMLElement$1 {
|
|
127491
127625
|
constructor() {
|
|
@@ -127675,10 +127809,9 @@ const EzSearch$1 = class extends HTMLElement$1 {
|
|
|
127675
127809
|
if (currentValue == undefined) {
|
|
127676
127810
|
return;
|
|
127677
127811
|
}
|
|
127678
|
-
|
|
127679
|
-
|
|
127680
|
-
|
|
127681
|
-
return currentValue.label ? `${currentValue.value} - ${currentValue.label}` : currentValue.value;
|
|
127812
|
+
let text = (!this.showSelectedValue || currentValue.value == undefined) ? currentValue.label : `${currentValue.value} - ${currentValue.label}`;
|
|
127813
|
+
text = text.replace(new RegExp(this._startHighlightTag, 'g'), '').replace(new RegExp(this._endHighlightTag, 'g'), '');
|
|
127814
|
+
return text;
|
|
127682
127815
|
}
|
|
127683
127816
|
getText() {
|
|
127684
127817
|
const currentValue = this.getSelectedOption(this.value);
|
|
@@ -127750,7 +127883,7 @@ const EzSearch$1 = class extends HTMLElement$1 {
|
|
|
127750
127883
|
title: opt.label,
|
|
127751
127884
|
details: opt.details
|
|
127752
127885
|
};
|
|
127753
|
-
return h("div", { style: { "height": "100%" }, onMouseDown: () => this.createOption(card), onMouseOver: () => this._preSelection = index }, h("ez-card-item", { item: card }));
|
|
127886
|
+
return h("div", { style: { "height": "100%" }, class: index === this._preSelection ? "item preselected" : "item", id: `item_${opt.value}`, onMouseDown: () => this.createOption(card), onMouseOver: () => this._preSelection = index }, h("ez-card-item", { item: card }));
|
|
127754
127887
|
}
|
|
127755
127888
|
showOptions() {
|
|
127756
127889
|
if (!this.enabled)
|
|
@@ -127794,7 +127927,7 @@ const EzSearch$1 = class extends HTMLElement$1 {
|
|
|
127794
127927
|
}
|
|
127795
127928
|
scrollToOption(opt) {
|
|
127796
127929
|
window.requestAnimationFrame(() => {
|
|
127797
|
-
const liElem = (opt === null || opt === void 0 ? void 0 : opt.value) ? this._optionsList.querySelector(`
|
|
127930
|
+
const liElem = (opt === null || opt === void 0 ? void 0 : opt.value) ? this._optionsList.querySelector(`div#item_${opt.value.replace(/[<>\[\]#=]/g, '\\$&').replace(/:/g, '\\:')}`) : undefined;
|
|
127798
127931
|
if (liElem)
|
|
127799
127932
|
liElem.scrollIntoView({ behavior: "smooth", block: "nearest" });
|
|
127800
127933
|
});
|
|
@@ -128237,15 +128370,169 @@ const EzSkeleton$1 = class extends HTMLElement$1 {
|
|
|
128237
128370
|
static get style() { return ezSkeletonCss; }
|
|
128238
128371
|
};
|
|
128239
128372
|
|
|
128240
|
-
const
|
|
128373
|
+
const ezSplitButtonCss = ":host{--ez-split-button--min-width:24;--ez-split-button--width:'auto';--ez-split-button__medium--height:32px;--ez-split-button__large--height:42px;--ez-split-button__medium-icon--width:40px;--ez-split-button__large-icon--width:44px;--ez-split-button__inline__icon--gap:6px;--ez-split-button__label--padding-top:0px;--ez-split-button__label--padding-bottom:0px;--ez-split-button__right-button--padding-left:8px;--ez-split-button--color:var(--title--primary, #FFF);--ez-split-button--font-size:var(--text--medium, 14px);--ez-split-button--font-family:var(--font-pattern, Arial);--ez-split-button--font-weight:var(--text-weight--large);--ez-split-button--background-color:var(--background--medium, #008561);--ez-split-button--border-radius:var(--border--radius-large, 12px);--ez-split-button--border:none;--ez-split-button--justify-content:center;--ez-split-button--hover-color:var(--color--primary-600);--ez-split-button--hover--background-color:var(--background--medium, var(--ez-split-button--background-color));--ez-split-button--disabled-color:var(--text--disable);--ez-split-button--disabled--background-color:var(--color--disable-secondary);--ez-split-button--focus--border:var(--border--medium, 2px) var(--color--primary-300);--ez-split-button--focus--box-shadow:none;--ez-split-button--active-color:var(--color--primary-700);--ez-split-button--active--background-color:var(--background--strong)}ez-icon{--ez-icon--color:inherit}button{position:relative;display:flex;align-items:center;margin:0;cursor:pointer;transition:background-color 0.2s linear;white-space:nowrap;min-width:var(--ez-split-button--min-width);width:var(--ez-split-button--width);height:var(--ez-split-button__medium--height);font-family:var(--ez-split-button--font-family);font-size:var(--ez-split-button--font-size);font-weight:var(--ez-split-button--font-weight);padding:var(--ez-split-button__label--padding-top) 0 var(--ez-split-button__label--padding-bottom) 0;border-top-left-radius:var(--ez-split-button--border-radius);border-bottom-left-radius:var(--ez-split-button--border-radius);background-color:var(--ez-split-button--background-color);color:var(--ez-split-button--color);fill:var(--ez-split-button--color);border:var(--ez-split-button--border);justify-content:var(--ez-split-button--justify-content)}label{cursor:pointer}button:active{outline:none;box-shadow:none;background-color:var(--ez-split-button--active--background-color);color:var(--ez-split-button--active-color);fill:var(--ez-split-button--active-color);--ez-icon--color:var(--ez-split-button--active-color)}.ez-split-button__left-button:focus,.ez-split-button__right-button:focus{outline:var(--ez-split-button--focus--border);box-shadow:var(--ez-split-button--focus--box-shadow)}.ez-split-button__left-button:hover,.ez-split-button__right-button:hover{outline:none;background-color:var(--ez-split-button--hover--background-color);color:var(--ez-split-button--hover-color);fill:var(--ez-split-button--hover-color);--ez-icon--color:var(--ez-split-button--hover-color)}.ez-split-button__left-button:disabled,.ez-split-button__left-button:disabled label,.ez-split-button__right-button:disabled{background-color:var(--ez-split-button--disabled--background-color);color:var(--ez-split-button--disabled-color);fill:var(--ez-split-button--disabled-color);border:none;--ez-icon--color:var(--ez-split-button--disabled-color);cursor:not-allowed}button.large{height:var(--ez-split-button__large--height)}button.medium{height:var(--ez-split-button__medium--height)}.default label{padding:var(--ez-split-button__label--padding-top) 12px var(--ez-split-button__label--padding-bottom) 20px}.icon-left{gap:var(--ez-split-button__inline__icon--gap)}.icon-left label{padding-right:12px}.icon-left ez-icon{padding-left:20px}.icon-only{padding-left:12px;padding-right:12px}.ez-split-button__right-button{border-top-right-radius:var(--ez-split-button--border-radius);border-bottom-right-radius:var(--ez-split-button--border-radius);border-top-left-radius:0;border-bottom-left-radius:0}.ez-split-button__right-button--medium{min-width:var(--ez-split-button__medium-icon--width)}.ez-split-button__right-button--large{min-width:var(--ez-split-button__large-icon--width)}.ez-split-button__right-button--divider{top:10%;bottom:10%}.ez-split-button__right-button--divider:before{content:\"\";position:absolute;left:0;border-left:1px solid rgba(0, 0, 0, 20%);border-radius:2px;height:75%}.btn-icon--medium{min-width:--ez-split-button__medium-icon--width}.btn-icon--large{min-width:--ez-split-button__large-icon--width}.ez-split-button__right-button-container{position:absolute;left:0;padding-left:var(--ez-split-button__right-button--padding-left)}.label-icon{display:flex;flex-direction:row;align-items:center;color:var(--ez-split-button--color)}.label-icon:active{color:var(--ez-split-button--active-color);fill:var(--ez-split-button--active-color);--ez-icon--color:var(--ez-split-button--active-color)}.dropdown{display:flex}.dropdown-content{display:block;position:absolute;background-color:#f1f1f1;min-width:160px;z-index:--ez-elevation--8;border-radius:var(--ez-split-button--border-radius)}.dropdown-content>ez-dropdown{position:relative}";
|
|
128374
|
+
|
|
128375
|
+
const EzSplitButton$1 = class extends HTMLElement$1 {
|
|
128376
|
+
constructor() {
|
|
128377
|
+
super();
|
|
128378
|
+
this.__registerHost();
|
|
128379
|
+
this.__attachShadow();
|
|
128380
|
+
this.buttonClick = createEvent(this, "buttonClick", 7);
|
|
128381
|
+
this.dropdownItemClick = createEvent(this, "dropdownItemClick", 7);
|
|
128382
|
+
this.dropdownSubActionClick = createEvent(this, "dropdownSubActionClick", 7);
|
|
128383
|
+
this.rightDefaultTitle = 'Mais opções';
|
|
128384
|
+
this.show = false;
|
|
128385
|
+
this.enabled = true;
|
|
128386
|
+
this.iconName = undefined;
|
|
128387
|
+
this.image = undefined;
|
|
128388
|
+
this.items = undefined;
|
|
128389
|
+
this.label = undefined;
|
|
128390
|
+
this.leftTitle = undefined;
|
|
128391
|
+
this.rightTitle = 'Mais opções';
|
|
128392
|
+
this.mode = 'default';
|
|
128393
|
+
this.size = 'medium';
|
|
128394
|
+
}
|
|
128395
|
+
/**
|
|
128396
|
+
* Remove o foco de ambos os botões.
|
|
128397
|
+
*/
|
|
128398
|
+
async setBlur() {
|
|
128399
|
+
this.leftButton.blur();
|
|
128400
|
+
this.rightButton.blur();
|
|
128401
|
+
}
|
|
128402
|
+
/**
|
|
128403
|
+
* Aplica o foco no botão principal.
|
|
128404
|
+
*/
|
|
128405
|
+
async setLeftButtonFocus() {
|
|
128406
|
+
this.leftButton.focus();
|
|
128407
|
+
}
|
|
128408
|
+
/**
|
|
128409
|
+
* Aplica o foco no botão do dropdown.
|
|
128410
|
+
*/
|
|
128411
|
+
async setRightButtonFocus() {
|
|
128412
|
+
this.rightButton.focus();
|
|
128413
|
+
}
|
|
128414
|
+
clickListener(evt) {
|
|
128415
|
+
if (!this.enabled) {
|
|
128416
|
+
evt.preventDefault();
|
|
128417
|
+
evt.stopPropagation();
|
|
128418
|
+
evt.stopImmediatePropagation();
|
|
128419
|
+
}
|
|
128420
|
+
}
|
|
128421
|
+
getIconSize(sizeParam = 'medium') {
|
|
128422
|
+
var _a;
|
|
128423
|
+
const sizeList = ['medium', 'large'];
|
|
128424
|
+
const sizeLowerCase = (_a = this.size) === null || _a === void 0 ? void 0 : _a.toLowerCase();
|
|
128425
|
+
return sizeList.includes(sizeLowerCase) ? sizeLowerCase : sizeParam;
|
|
128426
|
+
}
|
|
128427
|
+
closeDropdown() {
|
|
128428
|
+
this.show = false;
|
|
128429
|
+
}
|
|
128430
|
+
toggleDropdown() {
|
|
128431
|
+
this.show = !this.show;
|
|
128432
|
+
}
|
|
128433
|
+
handleButtonClick() {
|
|
128434
|
+
this.buttonClick.emit();
|
|
128435
|
+
}
|
|
128436
|
+
handleDropdownItemClick(evt) {
|
|
128437
|
+
this.dropdownItemClick.emit(evt.detail);
|
|
128438
|
+
evt.stopPropagation();
|
|
128439
|
+
this.closeDropdown();
|
|
128440
|
+
}
|
|
128441
|
+
handleDropdownSubActionClick(evt) {
|
|
128442
|
+
this.dropdownSubActionClick.emit(evt.detail);
|
|
128443
|
+
evt.stopPropagation();
|
|
128444
|
+
this.closeDropdown();
|
|
128445
|
+
}
|
|
128446
|
+
/**
|
|
128447
|
+
* Método responsável em posicionar o dropdown na tela.
|
|
128448
|
+
* Faz com que o dropdown se ajuste automaticamente ao espaco na tela
|
|
128449
|
+
*/
|
|
128450
|
+
positionDropdown() {
|
|
128451
|
+
const { rightButton: _rightButton, dropdownParent: _dropdownParent } = this;
|
|
128452
|
+
const rightButtonRect = _rightButton.getBoundingClientRect();
|
|
128453
|
+
const dropdownParentRect = _dropdownParent.getBoundingClientRect();
|
|
128454
|
+
const spaceBelow = window.innerHeight - rightButtonRect.bottom;
|
|
128455
|
+
const spaceAbove = rightButtonRect.top;
|
|
128456
|
+
const spaceRight = window.innerWidth - rightButtonRect.right;
|
|
128457
|
+
const spaceLeft = rightButtonRect.left;
|
|
128458
|
+
const hasSpaceBelow = spaceBelow < dropdownParentRect.height && spaceAbove > dropdownParentRect.height;
|
|
128459
|
+
const hasSpaceRight = spaceRight < dropdownParentRect.width && spaceLeft > dropdownParentRect.width;
|
|
128460
|
+
let top = `${rightButtonRect.bottom + window.scrollY}px`;
|
|
128461
|
+
let left = `${rightButtonRect.left + window.scrollX}px`;
|
|
128462
|
+
let bottom = 'auto';
|
|
128463
|
+
if (hasSpaceBelow) {
|
|
128464
|
+
bottom = `${window.innerHeight - rightButtonRect.top - window.scrollY}px`;
|
|
128465
|
+
top = 'auto';
|
|
128466
|
+
_dropdownParent.style.maxHeight = `${spaceAbove}px`;
|
|
128467
|
+
}
|
|
128468
|
+
if (hasSpaceRight) {
|
|
128469
|
+
left = `${rightButtonRect.right - dropdownParentRect.width + window.scrollX}px`;
|
|
128470
|
+
}
|
|
128471
|
+
_dropdownParent.style.top = top;
|
|
128472
|
+
_dropdownParent.style.bottom = bottom;
|
|
128473
|
+
_dropdownParent.style.left = left;
|
|
128474
|
+
}
|
|
128475
|
+
setEvents() {
|
|
128476
|
+
window.removeEventListener('scroll', this.positionDropdown.bind(this));
|
|
128477
|
+
window.addEventListener('scroll', this.positionDropdown.bind(this));
|
|
128478
|
+
}
|
|
128479
|
+
componentWillLoad() {
|
|
128480
|
+
this.setEvents();
|
|
128481
|
+
}
|
|
128482
|
+
componentDidLoad() {
|
|
128483
|
+
if (this._element)
|
|
128484
|
+
ElementIDUtils.addIDInfo(this._element);
|
|
128485
|
+
if (this.leftButton) {
|
|
128486
|
+
const dataInfo = { id: 'embedded' };
|
|
128487
|
+
ElementIDUtils.addIDInfo(this.leftButton, 'left-button', dataInfo);
|
|
128488
|
+
}
|
|
128489
|
+
if (this.rightButton) {
|
|
128490
|
+
const dataInfo = { id: 'embedded' };
|
|
128491
|
+
ElementIDUtils.addIDInfo(this.rightButton, 'right-button', dataInfo);
|
|
128492
|
+
}
|
|
128493
|
+
this.positionDropdown();
|
|
128494
|
+
}
|
|
128495
|
+
componentDidUpdate() {
|
|
128496
|
+
this.positionDropdown();
|
|
128497
|
+
}
|
|
128498
|
+
render() {
|
|
128499
|
+
const hasIconButton = this.shouldShowIconOnLeftButton();
|
|
128500
|
+
const hasLabelButton = this.shouldShowLabelOnLeftButton();
|
|
128501
|
+
const iconSize = this.getIconSize();
|
|
128502
|
+
return (h("div", { class: "label-icon" }, h("button", { class: `ez-split-button__left-button ${iconSize} ${this.mode}`, title: this.leftTitle || this.label, type: "button", disabled: !this.enabled, onClick: () => { this.handleButtonClick(); }, ref: el => (this.leftButton = el) }, hasIconButton && h("ez-icon", { href: this.image, iconName: this.iconName, size: iconSize }), hasLabelButton && h("label", { title: this.leftTitle || this.label }, this.label)), h("div", { class: "dropdown" }, h("button", { class: `ez-split-button__right-button ${iconSize} ez-split-button__right-button--${iconSize} ez-split-button__right-button--divider`, title: this.rightTitle || this.rightDefaultTitle, type: "button", disabled: !this.enabled, onClick: () => { this.toggleDropdown(); }, ref: el => (this.rightButton = el) }, h("ez-icon", { class: `ez-split-button__right-button-container ` + (iconSize ? `btn-icon--${iconSize}` : ''), iconName: 'chevron-down', size: iconSize })), h("div", { class: `dropdown-content dropdown-content--${this.size}`, ref: (ref) => (this.dropdownParent = ref) }, this.show && (h("ez-dropdown", { items: this.items, onClick: evt => { evt.stopPropagation(); }, onEzOutsideClick: () => { this.closeDropdown(); }, onEzClick: evt => { this.handleDropdownItemClick(evt); }, onEzSubActionClick: evt => { this.handleDropdownSubActionClick(evt); } }))))));
|
|
128503
|
+
}
|
|
128504
|
+
shouldShowLabelOnLeftButton() {
|
|
128505
|
+
return ['icon-left', 'default'].includes(this.mode);
|
|
128506
|
+
}
|
|
128507
|
+
shouldShowIconOnLeftButton() {
|
|
128508
|
+
return ['icon-left', 'icon-only'].includes(this.mode);
|
|
128509
|
+
}
|
|
128510
|
+
get _element() { return this; }
|
|
128511
|
+
static get style() { return ezSplitButtonCss; }
|
|
128512
|
+
};
|
|
128513
|
+
|
|
128514
|
+
const ezSplitItemCss = "ez-split-item{--snk-grid-min-height:0;--ez-grid--min-height:0}.box_split-item{background-color:var(--background--xlight);width:100%;height:100%;border-radius:var(--border--radius-medium);box-shadow:var(--shadow);flex-direction:column;overflow:hidden;display:flex;padding:var(--space--nano)}.box_split-item>.ez-split-item--content{overflow:auto}.expanded__item{position:absolute;z-index:var(--more-visible);top:0;left:0;width:100%;height:100%}.ez-split-item--header{display:flex;align-items:center;justify-content:space-between}.ez-split-item--header-title{flex:1;white-space:nowrap;overflow:hidden}.ez-split-item--header-title h3{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block}.ez-split-item--header-buttons{display:flex;align-items:center}.ez-split-item--content{display:block;height:100%}";
|
|
128241
128515
|
|
|
128242
128516
|
const SplitItem = class extends HTMLElement$1 {
|
|
128243
128517
|
constructor() {
|
|
128244
128518
|
super();
|
|
128245
128519
|
this.__registerHost();
|
|
128520
|
+
this.label = undefined;
|
|
128521
|
+
this.enableExpand = true;
|
|
128522
|
+
this._expanded = false;
|
|
128523
|
+
this.size = undefined;
|
|
128524
|
+
}
|
|
128525
|
+
/**
|
|
128526
|
+
* Alterna a visibilidade do painel.
|
|
128527
|
+
*/
|
|
128528
|
+
toggleExpandItem() {
|
|
128529
|
+
this._expanded = !this._expanded;
|
|
128530
|
+
}
|
|
128531
|
+
componentDidLoad() {
|
|
128532
|
+
CSSVarsUtils.applyVarsGrid(this._element, this._slot.children[0]);
|
|
128246
128533
|
}
|
|
128247
128534
|
render() {
|
|
128248
|
-
return (h(Host, { class:
|
|
128535
|
+
return (h(Host, { class: `box_split-item ${this._expanded ? 'expanded__item' : ''}`, ref: el => (this._element = el) }, h("div", { class: "ez-split-item--header" }, h("slot", { name: "leftButtons" }), h("div", { class: "ez-split-item--header-title" }, this.label && (h("h3", { class: "ez-margin--small ez-title ez-title--small", title: this.label }, this.label))), h("div", { class: "ez-split-item--header-buttons" }, this.enableExpand && (h("ez-button", { size: "small", mode: "icon", iconName: "expand", class: 'ez-button--tertiary', onClick: () => this.toggleExpandItem(), title: this._expanded ? 'Resumir' : 'Expandir' })), h("slot", { name: "rightButtons" }))), h("div", { class: "ez-split-item--content", ref: el => (this._slot = el) }, h("slot", null))));
|
|
128249
128536
|
}
|
|
128250
128537
|
static get style() { return ezSplitItemCss; }
|
|
128251
128538
|
};
|
|
@@ -128935,6 +129222,7 @@ const SplitPanel = class extends HTMLElement$1 {
|
|
|
128935
129222
|
this.__registerHost();
|
|
128936
129223
|
this._items = [];
|
|
128937
129224
|
this.direction = 'column';
|
|
129225
|
+
this.anchorToExpand = false;
|
|
128938
129226
|
}
|
|
128939
129227
|
componentDidLoad() {
|
|
128940
129228
|
this._panelID = StringUtils$1.generateUUID();
|
|
@@ -128961,7 +129249,7 @@ const SplitPanel = class extends HTMLElement$1 {
|
|
|
128961
129249
|
getGutters() {
|
|
128962
129250
|
const gutters = {
|
|
128963
129251
|
columnGutters: [],
|
|
128964
|
-
rowGutters: []
|
|
129252
|
+
rowGutters: [],
|
|
128965
129253
|
};
|
|
128966
129254
|
if (!this._items.length) {
|
|
128967
129255
|
return gutters;
|
|
@@ -128971,19 +129259,19 @@ const SplitPanel = class extends HTMLElement$1 {
|
|
|
128971
129259
|
if (index == this._items.length - 1)
|
|
128972
129260
|
return;
|
|
128973
129261
|
let gutterTrack = item.dataset.trackNumber;
|
|
128974
|
-
if (index ===
|
|
129262
|
+
if (index === this._items.length - 1) {
|
|
128975
129263
|
gutterTrack = this._items.length.toString();
|
|
128976
129264
|
}
|
|
128977
129265
|
gutters[proToChange].push({
|
|
128978
129266
|
track: Number(gutterTrack),
|
|
128979
|
-
element: this._element.querySelector(`ez-split-panel[data-panel-id="${this._panelID}"] > [data-item-track="${item.dataset.trackNumber}"]`)
|
|
129267
|
+
element: this._element.querySelector(`ez-split-panel[data-panel-id="${this._panelID}"] > [data-item-track="${item.dataset.trackNumber}"]`),
|
|
128980
129268
|
});
|
|
128981
129269
|
});
|
|
128982
129270
|
return gutters;
|
|
128983
129271
|
}
|
|
128984
129272
|
addItemGutter(item) {
|
|
128985
129273
|
const gutter = document.createElement('div');
|
|
128986
|
-
gutter.classList.add(
|
|
129274
|
+
gutter.classList.add('ez-split-gutter');
|
|
128987
129275
|
gutter.classList.add(this.direction);
|
|
128988
129276
|
gutter.dataset.itemTrack = `${item.dataset.trackNumber}`;
|
|
128989
129277
|
gutter.dataset.trackNumber = (Number(item.dataset.trackNumber) + 1).toString();
|
|
@@ -128991,29 +129279,31 @@ const SplitPanel = class extends HTMLElement$1 {
|
|
|
128991
129279
|
}
|
|
128992
129280
|
getElementStyle() {
|
|
128993
129281
|
const style = {
|
|
128994
|
-
|
|
128995
|
-
|
|
128996
|
-
|
|
129282
|
+
display: 'grid',
|
|
129283
|
+
height: '100%',
|
|
129284
|
+
width: '100%',
|
|
129285
|
+
position: this.anchorToExpand ? 'relative' : 'unset',
|
|
128997
129286
|
};
|
|
128998
129287
|
return style;
|
|
128999
129288
|
}
|
|
129000
129289
|
getGridTemplate() {
|
|
129001
129290
|
let template = '';
|
|
129002
|
-
this._items.forEach((
|
|
129291
|
+
this._items.forEach((col, index) => {
|
|
129292
|
+
const size = col.size || '1fr';
|
|
129003
129293
|
if (index === this._items.length - 1) {
|
|
129004
|
-
template += `
|
|
129294
|
+
template += ` ${size}`;
|
|
129005
129295
|
return;
|
|
129006
129296
|
}
|
|
129007
129297
|
if (index === 0) {
|
|
129008
|
-
template +=
|
|
129298
|
+
template += `${size} 5px`;
|
|
129009
129299
|
return;
|
|
129010
129300
|
}
|
|
129011
|
-
template += `
|
|
129301
|
+
template += ` ${size} 5px`;
|
|
129012
129302
|
});
|
|
129013
129303
|
return template;
|
|
129014
129304
|
}
|
|
129015
129305
|
render() {
|
|
129016
|
-
return
|
|
129306
|
+
return h(Host, { style: this.getElementStyle() });
|
|
129017
129307
|
}
|
|
129018
129308
|
get _element() { return this; }
|
|
129019
129309
|
static get style() { return ezSplitPanelCss; }
|
|
@@ -131067,6 +131357,8 @@ const FilterColumn$1 = class extends HTMLElement$1 {
|
|
|
131067
131357
|
this.TOP_POSITION_NO_TASKBAR = '32';
|
|
131068
131358
|
this.TOP_POSITION_NO_TASKBAR_HEADER_HIDDEN = '20';
|
|
131069
131359
|
this.DEFAULT_HEIGHT = 430;
|
|
131360
|
+
this.FIX_MARGIN = 60;
|
|
131361
|
+
this.FILTER_COLUMN_WIDTH = 330;
|
|
131070
131362
|
this.opened = true;
|
|
131071
131363
|
this.columnName = undefined;
|
|
131072
131364
|
this.columnLabel = undefined;
|
|
@@ -131099,15 +131391,24 @@ const FilterColumn$1 = class extends HTMLElement$1 {
|
|
|
131099
131391
|
await this.ezPopoverElement.show(this.calcTopPosition(), this.calculateLeftPosition(configs));
|
|
131100
131392
|
}
|
|
131101
131393
|
}
|
|
131102
|
-
calculateLeftPosition(
|
|
131103
|
-
|
|
131104
|
-
|
|
131394
|
+
calculateLeftPosition({ leftPosition, fromIcon }) {
|
|
131395
|
+
const leftPositionCalculated = this.calcFilterColumnLeftPosition(leftPosition);
|
|
131396
|
+
if (!fromIcon) {
|
|
131397
|
+
return `${leftPositionCalculated}px`;
|
|
131105
131398
|
}
|
|
131106
131399
|
const difference = this.ezPopoverElement.getBoundingClientRect().left;
|
|
131107
|
-
const
|
|
131108
|
-
const leftResolved = (leftReference + 16) - difference;
|
|
131400
|
+
const leftResolved = (leftPositionCalculated + 16) - difference;
|
|
131109
131401
|
return `${(leftResolved > 0 ? leftResolved : 0)}px`;
|
|
131110
131402
|
}
|
|
131403
|
+
calcFilterColumnLeftPosition(leftReference) {
|
|
131404
|
+
var _a, _b;
|
|
131405
|
+
const gridReference = this.ezPopoverElement.closest("ez-grid");
|
|
131406
|
+
const gridLimit = (_a = gridReference.getBoundingClientRect()) === null || _a === void 0 ? void 0 : _a.right;
|
|
131407
|
+
const popoverDiff = (_b = this.ezPopoverElement.getBoundingClientRect()) === null || _b === void 0 ? void 0 : _b.left;
|
|
131408
|
+
const maxLeft = gridLimit - (this.FILTER_COLUMN_WIDTH + popoverDiff);
|
|
131409
|
+
const leftInt = leftReference - (this.FIX_MARGIN + popoverDiff);
|
|
131410
|
+
return leftInt > maxLeft ? maxLeft : leftInt;
|
|
131411
|
+
}
|
|
131111
131412
|
buildIsTextSearch() {
|
|
131112
131413
|
var _a, _b;
|
|
131113
131414
|
const userInterface = (_b = (_a = this.fieldDescriptor) === null || _a === void 0 ? void 0 : _a.userInterface) !== null && _b !== void 0 ? _b : UserInterface.SHORTTEXT;
|
|
@@ -131227,7 +131528,7 @@ const EzBadge = /*@__PURE__*/proxyCustomElement(EzBadge$1, [1,"ez-badge",{"size"
|
|
|
131227
131528
|
const EzBreadcrumb = /*@__PURE__*/proxyCustomElement(EzBreadcrumb$1, [1,"ez-breadcrumb",{"items":[1040],"fillMode":[1025,"fill-mode"],"maxItems":[1026,"max-items"],"positionEllipsis":[1026,"position-ellipsis"],"visibleItems":[32],"hiddenItems":[32],"showDropdown":[32],"collapseConfigPosition":[32]}]);
|
|
131228
131529
|
const EzButton = /*@__PURE__*/proxyCustomElement(EzButton$1, [1,"ez-button",{"label":[513],"enabled":[516],"mode":[513],"image":[513],"iconName":[513,"icon-name"],"size":[513]},[[2,"click","clickListener"]]]);
|
|
131229
131530
|
const EzCalendar = /*@__PURE__*/proxyCustomElement(EzCalendar$1, [1,"ez-calendar",{"value":[1040],"floating":[516],"time":[516],"showSeconds":[516,"show-seconds"]},[[11,"scroll","scrollListener"]]]);
|
|
131230
|
-
const EzCardItem = /*@__PURE__*/proxyCustomElement(EzCardItem$1, [1,"ez-card-item",{"item":[16]}]);
|
|
131531
|
+
const EzCardItem = /*@__PURE__*/proxyCustomElement(EzCardItem$1, [1,"ez-card-item",{"item":[16],"enableKey":[4,"enable-key"]}]);
|
|
131231
131532
|
const EzCheck = /*@__PURE__*/proxyCustomElement(EzCheck$1, [1,"ez-check",{"label":[513],"value":[1540],"enabled":[1540],"indeterminate":[1540],"mode":[513],"compact":[4]}]);
|
|
131232
131533
|
const EzChip = /*@__PURE__*/proxyCustomElement(EzChip$1, [1,"ez-chip",{"label":[513],"enabled":[516],"removePosition":[513,"remove-position"],"mode":[513],"value":[1540],"showNativeTooltip":[4,"show-native-tooltip"]}]);
|
|
131233
131534
|
const EzCollapsibleBox = /*@__PURE__*/proxyCustomElement(EzCollapsibleBox$1, [1,"ez-collapsible-box",{"value":[1540],"boxBordered":[4,"box-bordered"],"label":[513],"subtitle":[513],"headerSize":[513,"header-size"],"iconPlacement":[513,"icon-placement"],"headerAlign":[513,"header-align"],"removable":[516],"editable":[516],"conditionalSave":[16],"_activeEditText":[32]}]);
|
|
@@ -131256,8 +131557,9 @@ const EzScroller = /*@__PURE__*/proxyCustomElement(EzScroller$1, [1,"ez-scroller
|
|
|
131256
131557
|
const EzSearch = /*@__PURE__*/proxyCustomElement(EzSearch$1, [1,"ez-search",{"value":[1537],"label":[1537],"enabled":[1540],"errorMessage":[1537,"error-message"],"optionLoader":[16],"showSelectedValue":[4,"show-selected-value"],"showOptionValue":[4,"show-option-value"],"suppressEmptyOption":[4,"suppress-empty-option"],"mode":[513],"canShowError":[516,"can-show-error"],"hideErrorOnFocusOut":[4,"hide-error-on-focus-out"],"listOptionsPosition":[16],"isTextSearch":[4,"is-text-search"],"ignoreLimitCharsToSearch":[4,"ignore-limit-chars-to-search"],"options":[1040],"suppressSearch":[4,"suppress-search"],"_preSelection":[32],"_visibleOptions":[32],"_startLoading":[32],"_showLoading":[32],"_criteria":[32]},[[11,"scroll","scrollListener"]]]);
|
|
131257
131558
|
const EzSidebarButton = /*@__PURE__*/proxyCustomElement(EzSidebarButton$1, [1,"ez-sidebar-button"]);
|
|
131258
131559
|
const EzSkeleton = /*@__PURE__*/proxyCustomElement(EzSkeleton$1, [0,"ez-skeleton",{"count":[2],"variant":[1],"width":[1],"height":[1],"marginBottom":[1,"margin-bottom"],"animation":[1]}]);
|
|
131259
|
-
const
|
|
131260
|
-
const
|
|
131560
|
+
const EzSplitButton = /*@__PURE__*/proxyCustomElement(EzSplitButton$1, [1,"ez-split-button",{"enabled":[516],"iconName":[513,"icon-name"],"image":[513],"items":[16],"label":[513],"leftTitle":[513,"left-title"],"rightTitle":[513,"right-title"],"mode":[513],"size":[513],"show":[32]},[[2,"click","clickListener"]]]);
|
|
131561
|
+
const EzSplitItem = /*@__PURE__*/proxyCustomElement(SplitItem, [4,"ez-split-item",{"label":[1],"enableExpand":[516,"enable-expand"],"size":[1],"_expanded":[32]}]);
|
|
131562
|
+
const EzSplitPanel = /*@__PURE__*/proxyCustomElement(SplitPanel, [0,"ez-split-panel",{"direction":[1],"anchorToExpand":[4,"anchor-to-expand"]}]);
|
|
131261
131563
|
const EzTabselector = /*@__PURE__*/proxyCustomElement(EzTabselector$1, [1,"ez-tabselector",{"selectedIndex":[1538,"selected-index"],"selectedTab":[1537,"selected-tab"],"tabs":[1],"_processedTabs":[32]}]);
|
|
131262
131564
|
const EzTextArea = /*@__PURE__*/proxyCustomElement(EzTextArea$1, [1,"ez-text-area",{"label":[513],"value":[1537],"enabled":[516],"errorMessage":[1537,"error-message"],"rows":[1538],"canShowError":[516,"can-show-error"],"mode":[513],"enableResize":[516,"enable-resize"]}]);
|
|
131263
131565
|
const EzTextEdit = /*@__PURE__*/proxyCustomElement(EzTextEdit$1, [1,"ez-text-edit",{"value":[1],"styled":[16],"_newValue":[32]}]);
|
|
@@ -131309,6 +131611,7 @@ const defineCustomElements = (opts) => {
|
|
|
131309
131611
|
EzSearch,
|
|
131310
131612
|
EzSidebarButton,
|
|
131311
131613
|
EzSkeleton,
|
|
131614
|
+
EzSplitButton,
|
|
131312
131615
|
EzSplitItem,
|
|
131313
131616
|
EzSplitPanel,
|
|
131314
131617
|
EzTabselector,
|
|
@@ -131330,4 +131633,4 @@ const defineCustomElements = (opts) => {
|
|
|
131330
131633
|
}
|
|
131331
131634
|
};
|
|
131332
131635
|
|
|
131333
|
-
export { EzActionsButton, EzAlert, EzAlertList, EzApplication, EzBadge, EzBreadcrumb, EzButton, EzCalendar, EzCardItem, EzCheck, EzChip, EzCollapsibleBox, EzComboBox, EzDateInput, EzDateTimeInput, EzDialog, EzDropdown, EzFileItem, EzFilterInput, EzForm, EzFormView, EzGrid, EzGuideNavigator, EzIcon, EzList, EzLoadingBar, EzModal, EzModalContainer, EzMultiSelectionList, EzNumberInput, EzPopover, EzPopup, EzRadioButton, EzScroller, EzSearch, EzSidebarButton, EzSkeleton, EzSplitItem, EzSplitPanel, EzTabselector, EzTextArea, EzTextEdit, EzTextInput, EzTimeInput, EzToast, EzTree, EzUpload, EzViewStack, FilterColumn, MultiSelectionBoxMessage, defineCustomElements };
|
|
131636
|
+
export { EzActionsButton, EzAlert, EzAlertList, EzApplication, EzBadge, EzBreadcrumb, EzButton, EzCalendar, EzCardItem, EzCheck, EzChip, EzCollapsibleBox, EzComboBox, EzDateInput, EzDateTimeInput, EzDialog, EzDropdown, EzFileItem, EzFilterInput, EzForm, EzFormView, EzGrid, EzGuideNavigator, EzIcon, EzList, EzLoadingBar, EzModal, EzModalContainer, EzMultiSelectionList, EzNumberInput, EzPopover, EzPopup, EzRadioButton, EzScroller, EzSearch, EzSidebarButton, EzSkeleton, EzSplitButton, EzSplitItem, EzSplitPanel, EzTabselector, EzTextArea, EzTextEdit, EzTextInput, EzTimeInput, EzToast, EzTree, EzUpload, EzViewStack, FilterColumn, MultiSelectionBoxMessage, defineCustomElements };
|