@sankhyalabs/ezui 2.3.12 → 2.3.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/ez-actions-button.cjs.entry.js +1 -0
- package/dist/cjs/ez-button.cjs.entry.js +2 -2
- package/dist/cjs/ez-check.cjs.entry.js +1 -4
- package/dist/cjs/ez-chip.cjs.entry.js +1 -2
- package/dist/cjs/ez-collapsible-box.cjs.entry.js +5 -6
- package/dist/cjs/ez-combo-box.cjs.entry.js +2 -2
- package/dist/cjs/ez-date-input.cjs.entry.js +2 -2
- package/dist/cjs/ez-date-time-input.cjs.entry.js +2 -2
- package/dist/cjs/ez-filter-input.cjs.entry.js +2 -2
- package/dist/cjs/ez-form.cjs.entry.js +5 -5
- package/dist/cjs/ez-grid.cjs.entry.js +3 -3
- package/dist/cjs/ez-icon.cjs.entry.js +4 -0
- package/dist/cjs/ez-list.cjs.entry.js +4 -0
- package/dist/cjs/ez-number-input.cjs.entry.js +2 -2
- package/dist/cjs/ez-radio-button.cjs.entry.js +1 -1
- package/dist/cjs/ez-search.cjs.entry.js +2 -2
- package/dist/cjs/ez-tabselector.cjs.entry.js +5 -4
- package/dist/cjs/ez-text-area.cjs.entry.js +2 -2
- package/dist/cjs/ez-text-edit.cjs.entry.js +2 -2
- package/dist/cjs/ez-text-input.cjs.entry.js +2 -2
- package/dist/cjs/ez-time-input.cjs.entry.js +2 -2
- package/dist/cjs/ezui.cjs.js +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/collection/components/ez-actions-button/ez-actions-button.js +2 -1
- package/dist/collection/components/ez-button/ez-button.js +2 -2
- package/dist/collection/components/ez-check/ez-check.js +1 -4
- package/dist/collection/components/ez-chip/ez-chip.js +1 -2
- package/dist/collection/components/ez-collapsible-box/ez-collapsible-box.css +15 -2
- package/dist/collection/components/ez-collapsible-box/ez-collapsible-box.js +11 -12
- package/dist/collection/components/ez-combo-box/ez-combo-box.js +2 -2
- package/dist/collection/components/ez-date-input/ez-date-input.js +3 -3
- package/dist/collection/components/ez-date-time-input/ez-date-time-input.js +3 -3
- package/dist/collection/components/ez-filter-input/ez-filter-input.js +2 -2
- package/dist/collection/components/ez-form/ez-form.js +4 -4
- package/dist/collection/components/ez-form/structure/FormItem.js +1 -1
- package/dist/collection/components/ez-grid/ez-grid.js +3 -3
- package/dist/collection/components/ez-icon/ez-icon.js +6 -2
- package/dist/collection/components/ez-list/ez-list.js +4 -0
- package/dist/collection/components/ez-number-input/ez-number-input.js +2 -2
- package/dist/collection/components/ez-radio-button/ez-radio-button.js +1 -1
- package/dist/collection/components/ez-search/ez-search.js +2 -2
- package/dist/collection/components/ez-tabselector/ez-tabselector.js +5 -4
- package/dist/collection/components/ez-text-area/ez-text-area.js +2 -2
- package/dist/collection/components/ez-text-edit/ez-text-edit.js +2 -2
- package/dist/collection/components/ez-text-input/ez-text-input.js +2 -2
- package/dist/collection/components/ez-time-input/ez-time-input.js +2 -2
- package/dist/custom-elements/index.js +52 -48
- package/dist/esm/ez-actions-button.entry.js +2 -1
- package/dist/esm/ez-button.entry.js +2 -2
- package/dist/esm/ez-check.entry.js +1 -4
- package/dist/esm/ez-chip.entry.js +1 -2
- package/dist/esm/ez-collapsible-box.entry.js +5 -6
- package/dist/esm/ez-combo-box.entry.js +2 -2
- package/dist/esm/ez-date-input.entry.js +2 -2
- package/dist/esm/ez-date-time-input.entry.js +2 -2
- package/dist/esm/ez-filter-input.entry.js +2 -2
- package/dist/esm/ez-form.entry.js +5 -5
- package/dist/esm/ez-grid.entry.js +3 -3
- package/dist/esm/ez-icon.entry.js +6 -2
- package/dist/esm/ez-list.entry.js +4 -0
- package/dist/esm/ez-number-input.entry.js +2 -2
- package/dist/esm/ez-radio-button.entry.js +1 -1
- package/dist/esm/ez-search.entry.js +2 -2
- package/dist/esm/ez-tabselector.entry.js +5 -4
- package/dist/esm/ez-text-area.entry.js +2 -2
- package/dist/esm/ez-text-edit.entry.js +2 -2
- package/dist/esm/ez-text-input.entry.js +2 -2
- package/dist/esm/ez-time-input.entry.js +2 -2
- package/dist/esm/ezui.js +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/ezui/ezui.esm.js +1 -1
- package/dist/ezui/{p-81fb0c90.entry.js → p-01b79946.entry.js} +1 -1
- package/dist/ezui/{p-ccbe8272.entry.js → p-123a2bd5.entry.js} +1 -1
- package/dist/ezui/{p-941d9bf9.entry.js → p-1a89d3ff.entry.js} +1 -1
- package/dist/ezui/{p-ff5be174.entry.js → p-4c061e51.entry.js} +1 -1
- package/dist/ezui/p-51e31ecb.entry.js +1 -0
- package/dist/ezui/p-52997e83.entry.js +1 -0
- package/dist/ezui/p-5cb4b43b.entry.js +1 -0
- package/dist/ezui/p-6d0b9d3c.entry.js +1 -0
- package/dist/ezui/p-7b906805.entry.js +1 -0
- package/dist/ezui/p-7e496975.entry.js +1 -0
- package/dist/ezui/p-87ee59e8.entry.js +1 -0
- package/dist/ezui/p-941e9792.entry.js +1 -0
- package/dist/ezui/p-9def6fd0.entry.js +1 -0
- package/dist/ezui/p-a2e55b33.entry.js +1 -0
- package/dist/ezui/p-a34b52f8.entry.js +1 -0
- package/dist/ezui/p-abcd17e6.entry.js +1 -0
- package/dist/ezui/{p-ede1328a.entry.js → p-ad5fe50b.entry.js} +1 -1
- package/dist/ezui/p-bf26ae36.entry.js +1 -0
- package/dist/ezui/{p-72d755a8.entry.js → p-ea877274.entry.js} +1 -1
- package/dist/ezui/p-f2627de5.entry.js +1 -0
- package/dist/ezui/p-f2c4e811.entry.js +1 -0
- package/dist/types/components/ez-collapsible-box/ez-collapsible-box.d.ts +2 -2
- package/dist/types/components/ez-form/ez-form.d.ts +0 -1
- package/dist/types/components/ez-icon/ez-icon.d.ts +2 -0
- package/dist/types/components/ez-list/ez-list.d.ts +1 -0
- package/dist/types/components.d.ts +8 -8
- package/package.json +1 -1
- package/dist/ezui/p-1214c5ce.entry.js +0 -1
- package/dist/ezui/p-205fc8bc.entry.js +0 -1
- package/dist/ezui/p-66ebdf34.entry.js +0 -1
- package/dist/ezui/p-6bcf35fd.entry.js +0 -1
- package/dist/ezui/p-7cf71eb3.entry.js +0 -1
- package/dist/ezui/p-88d0fc06.entry.js +0 -1
- package/dist/ezui/p-8964287f.entry.js +0 -1
- package/dist/ezui/p-8c874b58.entry.js +0 -1
- package/dist/ezui/p-ac15d77e.entry.js +0 -1
- package/dist/ezui/p-c2ebc450.entry.js +0 -1
- package/dist/ezui/p-ca9a0a49.entry.js +0 -1
- package/dist/ezui/p-e2337c61.entry.js +0 -1
- package/dist/ezui/p-ec9decf2.entry.js +0 -1
- package/dist/ezui/p-f4d2438e.entry.js +0 -1
- package/dist/ezui/p-fcee02c6.entry.js +0 -1
|
@@ -310,6 +310,7 @@ let EzActionsButton$1 = class extends HTMLElement$1 {
|
|
|
310
310
|
}
|
|
311
311
|
componentDidLoad() {
|
|
312
312
|
CSSVarsUtils.applyVarsButton(this._element, this._button);
|
|
313
|
+
ElementIDUtils.addIDInfo(this._element);
|
|
313
314
|
this.controlScrollPage();
|
|
314
315
|
}
|
|
315
316
|
componentDidRender() {
|
|
@@ -397,8 +398,8 @@ let EzButton$1 = class extends HTMLElement$1 {
|
|
|
397
398
|
ElementIDUtils.addIDInfo(this._element);
|
|
398
399
|
}
|
|
399
400
|
if (this._button) {
|
|
400
|
-
const dataInfo = { id: '
|
|
401
|
-
ElementIDUtils.addIDInfo(this._button,
|
|
401
|
+
const dataInfo = { id: 'embedded' };
|
|
402
|
+
ElementIDUtils.addIDInfo(this._button, 'button', dataInfo);
|
|
402
403
|
}
|
|
403
404
|
}
|
|
404
405
|
getIconSize(sizeParam = "medium") {
|
|
@@ -748,9 +749,6 @@ let EzCheck$1 = class extends HTMLElement$1 {
|
|
|
748
749
|
this._inputElem.focus();
|
|
749
750
|
}
|
|
750
751
|
componentDidLoad() {
|
|
751
|
-
if (this._inputElem) {
|
|
752
|
-
ElementIDUtils.addIDInfo(this._inputElem, 'input');
|
|
753
|
-
}
|
|
754
752
|
if (this._element) {
|
|
755
753
|
ElementIDUtils.addIDInfo(this._element, 'input');
|
|
756
754
|
}
|
|
@@ -774,7 +772,7 @@ let EzCheck$1 = class extends HTMLElement$1 {
|
|
|
774
772
|
return ((_a = this.mode) === null || _a === void 0 ? void 0 : _a.toUpperCase()) === CheckMode.SWITCH ? "switch-mode" : "regular-mode";
|
|
775
773
|
}
|
|
776
774
|
render() {
|
|
777
|
-
return (h(Host, null, h("input", { type: "checkbox", ref: (el) => this._inputElem = el, class: this.getInputClasses(), checked: this.value === true, onChange: () => { this.changeValue(); }, indeterminate: this.indeterminate, disabled: !this.enabled }), this.label ? h("label", { class: this.getLabelClasses(), onClick: () => { this.changeValue(); }, title: this.label }, this.label) : undefined));
|
|
775
|
+
return (h(Host, null, h("input", { type: "checkbox", ref: (el) => this._inputElem = el, class: this.getInputClasses(), checked: this.value === true, onChange: () => { this.changeValue(); }, indeterminate: this.indeterminate, disabled: !this.enabled, "data-element-id": ElementIDUtils.getInternalIDInfo("input") }), this.label ? h("label", { class: this.getLabelClasses(), onClick: () => { this.changeValue(); }, title: this.label }, this.label) : undefined));
|
|
778
776
|
}
|
|
779
777
|
get _element() { return this; }
|
|
780
778
|
static get watchers() { return {
|
|
@@ -876,8 +874,7 @@ let EzChip$1 = class extends HTMLElement$1 {
|
|
|
876
874
|
if (this._containerElem) {
|
|
877
875
|
this.observeValue();
|
|
878
876
|
this.observeEnabled();
|
|
879
|
-
this._containerElem.setAttribute(ElementIDUtils.DATA_ELEMENT_ID_ATTRIBUTE_NAME, '
|
|
880
|
-
ElementIDUtils.addIDInfo(this._containerElem);
|
|
877
|
+
this._containerElem.setAttribute(ElementIDUtils.DATA_ELEMENT_ID_ATTRIBUTE_NAME, ElementIDUtils.getInternalIDInfo('button'));
|
|
881
878
|
}
|
|
882
879
|
}
|
|
883
880
|
render() {
|
|
@@ -895,7 +892,7 @@ var ChipSize;
|
|
|
895
892
|
ChipSize[ChipSize["CHAR_LIMIT"] = 28] = "CHAR_LIMIT";
|
|
896
893
|
})(ChipSize || (ChipSize = {}));
|
|
897
894
|
|
|
898
|
-
const ezCollapsibleBoxCss = ":host{--ez-collapsible-box--font-size:var(--title--medium, 14px);--ez-collapsible-box--font-family:var(--font-pattern, Arial);--ez-collapsible-box--font-weight:var(--text-weight--large, 600);--ez-collapsible-box--color:var(--title--primary);--ez-collapsible-box--focus--color:var(--color--primary-600);--ez-collapsible-box__icon--color:var(--ez-collapsible-box--color);--ez-collapsible-box__header--padding-top:0px;--ez-collapsible-box__header--padding-bottom:0px;--ez-collapsible-box__header--padding-right:0px;--ez-collapsible-box__header--padding-left:0px;display:flex;flex-wrap:wrap;width:100%}ez-icon{--ez-icon--color:inherit}.collapsible-box{display:flex;flex-direction:column;width:100%}.collapsible-box__header{display:flex;box-sizing:border-box;padding-top:var(--ez-collapsible-box__header--padding-top);padding-bottom:var(--ez-collapsible-box__header--padding-bottom);padding-right:var(--ez-collapsible-box__header--padding-right);padding-left:var(--ez-collapsible-box__header--padding-left)}.collapsible-box__title{position:relative;width:auto;display:flex;box-sizing:border-box;align-items:center;outline:none;border:none;background-color:unset;cursor:pointer;padding:0px;text-align:left;color:var(--ez-collapsible-box--color);--ez-icon--color:var(--ez-collapsible-box__icon--color);margin-bottom:var(--space--medium, 12px)}.collapsible-box__title:focus{color:var(--ez-collapsible-box--focus--color);--ez-icon--color:var(--ez-collapsible-box--focus--color)}.collapsible-box__label{display:flex;white-space:nowrap;overflow:hidden;cursor:pointer;text-overflow:ellipsis;box-sizing:border-box;margin-left:6px;gap:6px;font-family:var(--ez-collapsible-box--font-family);font-size:var(--ez-collapsible-box--font-size);font-weight:var(--ez-collapsible-box--font-weight)}.collapsible-box__label ez-icon{visibility:hidden;transition:0.25s linear}.collapsible-box__label:hover ez-icon{visibility:visible}.collapsible-box__text-edit{margin-left:6px}.collapsible-box__icon{transform:rotate(90deg) translate(0px, 14%);transition:transform var(--transition)}.collapsible-box__icon--collapsed{transform:rotate(0deg) translate(-14%, 0px)}.collapsible-box__title--icon-right{flex-direction:row-reverse}.collapsible-box__title--icon-right .collapsible-box__icon{transform:rotate(90deg) translate(0px, -14%)}.collapsible-box__title--icon-right .collapsible-box__icon--collapsed{transform:rotate(0deg) translate(14%, 0px)}.collapsible-box__title--icon-right .collapsible-box__label{margin-left:0px;margin-right:6px}.collapsible-box__title--
|
|
895
|
+
const ezCollapsibleBoxCss = ":host{--ez-collapsible-box--font-size:var(--title--medium, 14px);--ez-collapsible-box--font-family:var(--font-pattern, Arial);--ez-collapsible-box--font-weight:var(--text-weight--large, 600);--ez-collapsible-box--color:var(--title--primary);--ez-collapsible-box--focus--color:var(--color--primary-600);--ez-collapsible-box__icon--color:var(--ez-collapsible-box--color);--ez-collapsible-box__header--padding-top:0px;--ez-collapsible-box__header--padding-bottom:0px;--ez-collapsible-box__header--padding-right:0px;--ez-collapsible-box__header--padding-left:0px;display:flex;flex-wrap:wrap;width:100%}ez-icon{--ez-icon--color:inherit}.collapsible-box{display:flex;flex-direction:column;width:100%}.collapsible-box__header{display:flex;box-sizing:border-box;padding-top:var(--ez-collapsible-box__header--padding-top);padding-bottom:var(--ez-collapsible-box__header--padding-bottom);padding-right:var(--ez-collapsible-box__header--padding-right);padding-left:var(--ez-collapsible-box__header--padding-left)}.collapsible-box__title{position:relative;width:auto;display:flex;box-sizing:border-box;align-items:center;outline:none;border:none;background-color:unset;cursor:pointer;padding:0px;text-align:left;color:var(--ez-collapsible-box--color);--ez-icon--color:var(--ez-collapsible-box__icon--color);margin-bottom:var(--space--medium, 12px)}.collapsible-box__title:focus{color:var(--ez-collapsible-box--focus--color);--ez-icon--color:var(--ez-collapsible-box--focus--color)}.collapsible-box__label{display:flex;white-space:nowrap;overflow:hidden;cursor:pointer;text-overflow:ellipsis;box-sizing:border-box;margin-left:6px;gap:6px;font-family:var(--ez-collapsible-box--font-family);font-size:var(--ez-collapsible-box--font-size);font-weight:var(--ez-collapsible-box--font-weight)}.collapsible-box__label ez-icon{visibility:hidden;transition:0.25s linear}.collapsible-box__label:hover ez-icon{visibility:visible}.collapsible-box__text-edit{margin-left:6px}.collapsible-box__icon{transform:rotate(90deg) translate(0px, 14%);transition:transform var(--transition)}.collapsible-box__icon--collapsed{transform:rotate(0deg) translate(-14%, 0px)}.collapsible-box__title--icon-right{flex-direction:row-reverse}.collapsible-box__title--icon-right .collapsible-box__icon{transform:rotate(90deg) translate(0px, -14%)}.collapsible-box__title--icon-right .collapsible-box__icon--collapsed{transform:rotate(0deg) translate(14%, 0px)}.collapsible-box__title--icon-right .collapsible-box__label{margin-left:0px;margin-right:6px}.collapsible-box__title--left{margin-right:auto}.collapsible-box__title--right{margin-left:auto}.collapsible-box__title--center{margin-left:auto;margin-right:auto}.collapsible-box__title--stretch{justify-content:space-between;width:100%}.collapsible-box__title--no-margin{margin-bottom:0}.collapsible-box__content{display:flex;flex-wrap:wrap;width:100%;height:0px;max-height:0px;opacity:0;overflow:hidden;transition:all var(--transition, 0.5s)}.collapsible-box__content--show{height:100%;max-height:none;opacity:1;overflow:visible;transition:all var(--transition, 0.5s)}.font--x-small{font-size:10px}.font--small{font-size:12px}.font--medium{font-size:14px}.font--large{font-size:16px}.font--x-large{font-size:20px}";
|
|
899
896
|
|
|
900
897
|
let EzCollapsibleBox$1 = class extends HTMLElement$1 {
|
|
901
898
|
constructor() {
|
|
@@ -920,9 +917,9 @@ let EzCollapsibleBox$1 = class extends HTMLElement$1 {
|
|
|
920
917
|
*/
|
|
921
918
|
this.iconPlacement = "left";
|
|
922
919
|
/**
|
|
923
|
-
*
|
|
920
|
+
* Define a posição do conteúdo do cabeçalho do componente.
|
|
924
921
|
*/
|
|
925
|
-
this.
|
|
922
|
+
this.headerAlign = "left";
|
|
926
923
|
/**
|
|
927
924
|
* Se true mostra o ícone para remoção do componente.
|
|
928
925
|
*/
|
|
@@ -1013,10 +1010,9 @@ let EzCollapsibleBox$1 = class extends HTMLElement$1 {
|
|
|
1013
1010
|
ElementIDUtils.addIDInfo(this._hostElement);
|
|
1014
1011
|
}
|
|
1015
1012
|
render() {
|
|
1016
|
-
return (h("div", { class: "collapsible-box" }, h("div", { class: "collapsible-box__header" }, h("button", Object.assign({}, (!this._activeEditText ? { onClick: () => { this.showHide(); } } : null), { class: "collapsible-box__title" +
|
|
1013
|
+
return (h("div", { class: "collapsible-box" }, h("div", { class: "collapsible-box__header" }, h("button", Object.assign({}, (!this._activeEditText ? { onClick: () => { this.showHide(); } } : null), { class: "collapsible-box__title collapsible-box__title--" + (this.headerAlign || "left") +
|
|
1017
1014
|
(this.iconPlacement === "right" ? " collapsible-box__title--icon-right" : "") +
|
|
1018
|
-
(this.
|
|
1019
|
-
(this.value ? " collapsible-box__title--no-margin" : "") }), h("ez-icon", { slot: "icon", "icon-name": "chevron-right", size: this.getHeaderSize(), class: "collapsible-box__icon collapsible-box__icon--" + this.getHeaderSize() + (this.value ? " collapsible-box__icon--collapsed" : "") }), !this._activeEditText ?
|
|
1015
|
+
(this.value ? " collapsible-box__title--no-margin" : "") }), h("ez-icon", { slot: "icon", "icon-name": "chevron-right", size: this.getHeaderSize(), class: "collapsible-box__icon collapsible-box__icon--" + this.getHeaderSize() + (this.value ? " collapsible-box__icon--collapsed" : ""), id: "toggleCollapsible" }), !this._activeEditText ?
|
|
1020
1016
|
h("label", { class: "collapsible-box__label font--" + this.getHeaderSize(), title: this.label, ref: elem => this._refLabel = elem }, h("span", null, this.label), this.editable &&
|
|
1021
1017
|
h("ez-icon", { slot: "icon", "icon-name": "edit", onClick: (evt) => this.editLabel(evt), title: "Editar" }), this.removable &&
|
|
1022
1018
|
h("ez-icon", { slot: "icon", "icon-name": "delete", onClick: (evt) => this.confirmRemove(evt), title: "Remover" })) :
|
|
@@ -1473,8 +1469,8 @@ let EzComboBox$1 = class extends HTMLElement$1 {
|
|
|
1473
1469
|
}
|
|
1474
1470
|
render() {
|
|
1475
1471
|
var _a;
|
|
1476
|
-
|
|
1477
|
-
return (h(Host, null, h("ez-text-input", { "data-element-id": ElementIDUtils.getInternalIDInfo(
|
|
1472
|
+
ElementIDUtils.addIDInfoIfNotExists(this.el, 'input');
|
|
1473
|
+
return (h(Host, null, h("ez-text-input", { "data-element-id": ElementIDUtils.getInternalIDInfo("textInput"), class: this.suppressSearch ? "suppressed-search-input" : "", ref: elem => this._textInput = elem, "data-slave-mode": "true", enabled: this.enabled && !this.suppressSearch, onInput: event => this.onTextInputChangeHandler(event), onClick: () => this.onTextInputClickHandler(), onFocusout: () => this.onTextInputFocusOutHandler(), onKeyDown: event => this.keyDownHandler(event), label: this.label, canShowError: this.canShowError, errorMessage: this.errorMessage, mode: this.mode }, h("button", { class: "btn", slot: this.searchMode ? "leftIcon" : "rightIcon", disabled: !this.enabled, tabindex: -1, onClick: () => this.handlerIconClick() }, h("ez-icon", { iconName: this.searchMode ? "search" : "chevron-down" })), this.searchMode && ((_a = this._textInput) === null || _a === void 0 ? void 0 : _a.value) && (this._criteria || this.value)
|
|
1478
1474
|
? h("button", { class: "btn btn__close", slot: "rightIcon", disabled: !this.enabled, tabindex: -1, onClick: () => this.clearSearch() }, h("ez-icon", { iconName: "close" }))
|
|
1479
1475
|
: undefined), h("section", { class: "list-container", ref: elem => this._listContainer = elem }, h("div", { class: "list-wrapper", ref: elem => this._listWrapper = elem }, h("div", { class: "list-options", ref: elem => this._optionsList = elem }, this._visibleOptions.length === 0
|
|
1480
1476
|
&& h("div", { class: "message" }, !this._showLoading && h("span", { class: "message__no-result" }, this._textEmptyList), this._showLoading && h("div", { class: "message__loading" })), this.showOptionValue
|
|
@@ -1635,8 +1631,8 @@ let EzDateInput$1 = class extends HTMLElement$1 {
|
|
|
1635
1631
|
this.setInputValue();
|
|
1636
1632
|
}
|
|
1637
1633
|
render() {
|
|
1638
|
-
|
|
1639
|
-
return (h(Host, null, h("ez-text-input", { "data-element-id": ElementIDUtils.getInternalIDInfo(
|
|
1634
|
+
ElementIDUtils.addIDInfoIfNotExists(this._elem, 'input');
|
|
1635
|
+
return (h(Host, null, h("ez-text-input", { "data-element-id": ElementIDUtils.getInternalIDInfo("textInput"), ref: elem => this._textInput = elem, "data-slave-mode": "true", label: this.label, onBlur: () => this.handleBlur(), onInput: (evt) => this.handleInput(evt), restrict: "0123456789/", enabled: this.enabled, errorMessage: this.errorMessage, mode: this.mode }, h("button", { disabled: !this.enabled, tabindex: -1, class: "btn-open-cal", onClick: () => this.showCalendar(), slot: "leftIcon" })), h("ez-calendar", { "data-element-id": ElementIDUtils.getInternalIDInfo("calendar"), onEzChange: (event) => { this.hideCalendar(); event.stopPropagation(); }, floating: true, ref: elem => this._calendar = elem })));
|
|
1640
1636
|
}
|
|
1641
1637
|
get _elem() { return this; }
|
|
1642
1638
|
static get watchers() { return {
|
|
@@ -1842,8 +1838,8 @@ let EzDateTimeInput$1 = class extends HTMLElement$1 {
|
|
|
1842
1838
|
this.setInputValue();
|
|
1843
1839
|
}
|
|
1844
1840
|
render() {
|
|
1845
|
-
|
|
1846
|
-
return (h(Host, null, h("ez-text-input", { "data-element-id": ElementIDUtils.getInternalIDInfo(
|
|
1841
|
+
ElementIDUtils.addIDInfoIfNotExists(this._elem, 'input');
|
|
1842
|
+
return (h(Host, null, h("ez-text-input", { "data-element-id": ElementIDUtils.getInternalIDInfo("textInput"), ref: elem => this._textInput = elem, "data-slave-mode": "true", label: this.label, restrict: "0123456789/: ", enabled: this.enabled, errorMessage: this.errorMessage, mode: this.mode, onKeyDown: event => { this.handleKeyDown(event); }, onBlur: () => this.handleBlur(), onInput: (evt) => this.handleInput(evt), onFocus: () => this.handleFocus(), onClick: () => this.handleClick() }, h("button", { disabled: !this.enabled, tabindex: -1, class: "btn-open-cal", onClick: () => this.showCalendar(), slot: "leftIcon" })), h("ez-calendar", { "data-element-id": ElementIDUtils.getInternalIDInfo("calendar"), onEzChange: (event) => { this.changeValue(this._calendar.value); event.stopPropagation(); }, floating: true, ref: elem => this._calendar = elem, time: true, showSeconds: this.showSeconds })));
|
|
1847
1843
|
}
|
|
1848
1844
|
get _elem() { return this; }
|
|
1849
1845
|
static get watchers() { return {
|
|
@@ -2052,8 +2048,8 @@ let EzFilterInput$1 = class extends HTMLElement$1 {
|
|
|
2052
2048
|
CSSVarsUtils.applyVarsTextInput(this._elem, this._textInput);
|
|
2053
2049
|
}
|
|
2054
2050
|
render() {
|
|
2055
|
-
|
|
2056
|
-
return (h("ez-text-input", { "data-element-id": ElementIDUtils.getInternalIDInfo(
|
|
2051
|
+
ElementIDUtils.addIDInfoIfNotExists(this._elem, 'input');
|
|
2052
|
+
return (h("ez-text-input", { "data-element-id": ElementIDUtils.getInternalIDInfo("textInput"), ref: elem => this._textInput = elem, label: this.label, onEzChange: evt => this.changeValue(evt), value: this.value, enabled: this.enabled, errorMessage: this.errorMessage, restrict: this.restrict, mode: this.mode }, h("ez-icon", { slot: "leftIcon", iconName: "search" })));
|
|
2057
2053
|
}
|
|
2058
2054
|
get _elem() { return this; }
|
|
2059
2055
|
static get watchers() { return {
|
|
@@ -2330,7 +2326,7 @@ const buildField = (field) => {
|
|
|
2330
2326
|
const FormItem = ({ source }) => {
|
|
2331
2327
|
if ("items" in source) {
|
|
2332
2328
|
const fieldSet = source;
|
|
2333
|
-
return h("ez-collapsible-box", { label: source.label, "header-size": "large" }, fieldSet.items.map(fi => buildField(fi)));
|
|
2329
|
+
return h("ez-collapsible-box", { label: source.label, "header-size": "large", key: source.label }, fieldSet.items.map(fi => buildField(fi)));
|
|
2334
2330
|
}
|
|
2335
2331
|
else {
|
|
2336
2332
|
return buildField(source);
|
|
@@ -3009,10 +3005,10 @@ let EzForm$1 = class extends HTMLElement$1 {
|
|
|
3009
3005
|
const tabs = allSheets.map((sheet, index) => {
|
|
3010
3006
|
return { tabKey: sheet.name, label: sheet.label, index };
|
|
3011
3007
|
});
|
|
3012
|
-
const idTabSelector =
|
|
3008
|
+
const idTabSelector = `selector`;
|
|
3013
3009
|
result.push(h("ez-tabselector", { tabs: this.buildIdTabSelector(tabs), onEzChange: (evt) => this._store.dispatch(changeTab(evt.detail)), selectedTab: currentSheet.name, "data-element-id": idTabSelector }));
|
|
3014
3010
|
}
|
|
3015
|
-
const idFormSheet = `${
|
|
3011
|
+
const idFormSheet = `${StringUtils$1.replaceAccentuatedChars(StringUtils$1.toCamelCase(currentSheet.label), false)}_selectorContainer`;
|
|
3016
3012
|
result.push(h(FormSheet, { store: this._store, source: currentSheet, dataElementId: idFormSheet }));
|
|
3017
3013
|
return result;
|
|
3018
3014
|
}
|
|
@@ -3077,7 +3073,7 @@ let EzForm$1 = class extends HTMLElement$1 {
|
|
|
3077
3073
|
this._staticFields = Array.from(this._element.querySelectorAll("[data-field-name]"));
|
|
3078
3074
|
this.processMetadata();
|
|
3079
3075
|
const dataInfo = { dataUnit: this.dataUnit };
|
|
3080
|
-
|
|
3076
|
+
ElementIDUtils.addIDInfo(this._element, null, dataInfo);
|
|
3081
3077
|
}
|
|
3082
3078
|
componentDidRender() {
|
|
3083
3079
|
this._dataBinder.bind(Array.from(this._element.querySelectorAll("[data-field-name]")));
|
|
@@ -3090,7 +3086,7 @@ let EzForm$1 = class extends HTMLElement$1 {
|
|
|
3090
3086
|
}
|
|
3091
3087
|
buildIdTabSelector(tabs) {
|
|
3092
3088
|
if (tabs) {
|
|
3093
|
-
tabs.forEach(tab => tab[ElementIDUtils.DATA_ELEMENT_ID_ATTRIBUTE_NAME] =
|
|
3089
|
+
tabs.forEach(tab => tab[ElementIDUtils.DATA_ELEMENT_ID_ATTRIBUTE_NAME] = StringUtils$1.toCamelCase(tab.label));
|
|
3094
3090
|
}
|
|
3095
3091
|
return tabs;
|
|
3096
3092
|
}
|
|
@@ -118523,9 +118519,9 @@ let EzGrid$1 = class extends HTMLElement$1 {
|
|
|
118523
118519
|
}
|
|
118524
118520
|
buildDataElementId() {
|
|
118525
118521
|
const dataInfo = { dataUnit: this.dataUnit };
|
|
118526
|
-
|
|
118527
|
-
const dtInfo = { id:
|
|
118528
|
-
ElementIDUtils.addIDInfo(this._refPaginationControl,
|
|
118522
|
+
ElementIDUtils.addIDInfo(this._element, null, dataInfo);
|
|
118523
|
+
const dtInfo = { id: "ezGrid" };
|
|
118524
|
+
ElementIDUtils.addIDInfo(this._refPaginationControl, "pagination", dtInfo);
|
|
118529
118525
|
}
|
|
118530
118526
|
previousPage() {
|
|
118531
118527
|
if (this.dataUnit) {
|
|
@@ -118593,9 +118589,13 @@ let EzIcon$1 = class extends HTMLElement$1 {
|
|
|
118593
118589
|
return h("img", { class: this.size, src: this.href });
|
|
118594
118590
|
}
|
|
118595
118591
|
}
|
|
118592
|
+
componentDidLoad() {
|
|
118593
|
+
ElementIDUtils.addIDInfo(this._hostElement, "icon");
|
|
118594
|
+
}
|
|
118596
118595
|
render() {
|
|
118597
118596
|
return (h(Host, null, this.getIconContent()));
|
|
118598
118597
|
}
|
|
118598
|
+
get _hostElement() { return this; }
|
|
118599
118599
|
static get style() { return ezIconCss; }
|
|
118600
118600
|
};
|
|
118601
118601
|
|
|
@@ -118763,6 +118763,9 @@ let EzList$1 = class extends HTMLElement$1 {
|
|
|
118763
118763
|
componentWillRender() {
|
|
118764
118764
|
this.createList();
|
|
118765
118765
|
}
|
|
118766
|
+
componentDidLoad() {
|
|
118767
|
+
ElementIDUtils.addIDInfo(this._element);
|
|
118768
|
+
}
|
|
118766
118769
|
onDrop(ev, dragEndItem) {
|
|
118767
118770
|
this.removeOverClass();
|
|
118768
118771
|
this.setSelection(undefined);
|
|
@@ -119392,8 +119395,8 @@ let EzNumberInput$1 = class extends HTMLElement$1 {
|
|
|
119392
119395
|
this.setInputValue();
|
|
119393
119396
|
}
|
|
119394
119397
|
render() {
|
|
119395
|
-
|
|
119396
|
-
return (h("ez-text-input", { "data-element-id": ElementIDUtils.getInternalIDInfo(
|
|
119398
|
+
ElementIDUtils.addIDInfoIfNotExists(this._elem, 'input');
|
|
119399
|
+
return (h("ez-text-input", { "data-element-id": ElementIDUtils.getInternalIDInfo("textInput"), ref: elem => this._textInput = elem, "data-slave-mode": "true", label: this.label, onBlur: () => this.handleBlur(), onInput: () => this.handleInput(), restrict: this.precision > 0 ? "0123456789-,." : "0123456789-", enabled: this.enabled, errorMessage: this.errorMessage, mode: this.mode }));
|
|
119397
119400
|
}
|
|
119398
119401
|
get _elem() { return this; }
|
|
119399
119402
|
static get watchers() { return {
|
|
@@ -119635,7 +119638,7 @@ let EzRadioButton$1 = class extends HTMLElement$1 {
|
|
|
119635
119638
|
this.ezChange.emit(this.value);
|
|
119636
119639
|
}
|
|
119637
119640
|
render() {
|
|
119638
|
-
return (h(Host, null, this.label && h("label", { class: "label" }, this.label), h("div", { class: "form form--" + this.direction }, this._options.map((option, key) => h("div", { class: "form__group" }, h("input", { id: "rad" + key, class: "form__radio", name: "theradio", type: "radio", value: option.value, onChange: (ev) => { this.handleInputChange(ev); }, disabled: !this.enabled, checked: option.value === this.value }), h("label", { htmlFor: "rad" + key, class: "form__label" }, option.label))))));
|
|
119641
|
+
return (h(Host, null, this.label && h("label", { class: "label" }, this.label), h("div", { class: "form form--" + this.direction }, this._options.map((option, key) => h("div", { class: "form__group" }, h("input", { id: "rad" + key, class: "form__radio", name: "theradio", type: "radio", value: option.value, onChange: (ev) => { this.handleInputChange(ev); }, disabled: !this.enabled, checked: option.value === this.value, "data-element-id": ElementIDUtils.getInternalIDInfo(`input_${option.value}`) }), h("label", { htmlFor: "rad" + key, class: "form__label" }, option.label))))));
|
|
119639
119642
|
}
|
|
119640
119643
|
get hostElement() { return this; }
|
|
119641
119644
|
static get style() { return ezRadioButtonCss; }
|
|
@@ -119886,8 +119889,8 @@ let EzSearch$1 = class extends HTMLElement$1 {
|
|
|
119886
119889
|
CSSVarsUtils.applyVarsTextInput(this._elem, this._comboElement);
|
|
119887
119890
|
}
|
|
119888
119891
|
render() {
|
|
119889
|
-
|
|
119890
|
-
return (h("ez-combo-box", { "data-element-id": ElementIDUtils.getInternalIDInfo(
|
|
119892
|
+
ElementIDUtils.addIDInfoIfNotExists(this._elem, 'input');
|
|
119893
|
+
return (h("ez-combo-box", { "data-element-id": ElementIDUtils.getInternalIDInfo("combo"), ref: elem => this._comboElement = elem, value: this.value, label: this.label, enabled: this.enabled, errorMessage: this.errorMessage, optionLoader: this.optionLoader, searchMode: true, onEzChange: event => this.onComboChange(event), showSelectedValue: this.showSelectedValue, showOptionValue: this.showOptionValue, suppressEmptyOption: this.suppressEmptyOption, mode: this.mode }));
|
|
119891
119894
|
}
|
|
119892
119895
|
;
|
|
119893
119896
|
get _elem() { return this; }
|
|
@@ -119971,7 +119974,6 @@ let EzTabselector$1 = class extends HTMLElement$1 {
|
|
|
119971
119974
|
this.setFocusedBtn(false, tab.index);
|
|
119972
119975
|
}
|
|
119973
119976
|
componentWillRender() {
|
|
119974
|
-
ElementIDUtils.addIDInfo(this._hostElem);
|
|
119975
119977
|
if (!this._processedTabs) {
|
|
119976
119978
|
this._processedTabs = [];
|
|
119977
119979
|
if (this.tabs) {
|
|
@@ -120003,10 +120005,12 @@ let EzTabselector$1 = class extends HTMLElement$1 {
|
|
|
120003
120005
|
this.updateScroll();
|
|
120004
120006
|
}
|
|
120005
120007
|
componentDidLoad() {
|
|
120008
|
+
ElementIDUtils.addIDInfo(this._hostElem, "itemsSelector");
|
|
120006
120009
|
this._hostElem.shadowRoot.querySelectorAll('button[name="tab-button"]').forEach((elem) => {
|
|
120007
|
-
|
|
120008
|
-
const
|
|
120009
|
-
|
|
120010
|
+
var _a;
|
|
120011
|
+
const label = (_a = elem.querySelector('span.tab-label')) === null || _a === void 0 ? void 0 : _a.innerText;
|
|
120012
|
+
const dataInfo = { id: `${StringUtils$1.toCamelCase(label)}` };
|
|
120013
|
+
ElementIDUtils.addIDInfo(elem, "itemSelector", dataInfo);
|
|
120010
120014
|
});
|
|
120011
120015
|
}
|
|
120012
120016
|
handleSlotChange(ev) {
|
|
@@ -120264,10 +120268,10 @@ let EzTextArea$1 = class extends HTMLElement$1 {
|
|
|
120264
120268
|
this.observeMode();
|
|
120265
120269
|
}
|
|
120266
120270
|
render() {
|
|
120267
|
-
|
|
120271
|
+
ElementIDUtils.addIDInfoIfNotExists(this._hostElement, 'input');
|
|
120268
120272
|
return (h(Host, null, h("div", { class: "textarea", ref: (el) => this._container = el }, this.label && this.mode != "slim" ?
|
|
120269
120273
|
h("label", { ref: (el) => this._labelElem = el, class: this.enabled ? "textarea__label" : "textarea__label textarea__label--disabled", onClick: () => this._inputElem.focus(), title: this.label }, this.label)
|
|
120270
|
-
: null, h("textarea", { onFocus: () => this.handleFocus(), "data-element-id": ElementIDUtils.getInternalIDInfo(
|
|
120274
|
+
: null, h("textarea", { onFocus: () => this.handleFocus(), "data-element-id": ElementIDUtils.getInternalIDInfo("input"), ref: (el) => this._inputElem = el, value: this.value, disabled: !this.enabled, class: this.mode === "slim" ? "textarea--slim" : "", placeholder: this.mode === "slim" && this.label ? this.label : "", onInput: () => { this.handleChange(); }, onFocusout: () => { this.handleFocusout(); }, onKeyDown: event => event.stopPropagation(), rows: this.rows })), this.canShowError && this.mode != "slim" &&
|
|
120271
120275
|
h("span", { class: "message-box", ref: (el) => this._messageBoxElem = el, title: this.errorMessage }, this.errorMessage)));
|
|
120272
120276
|
}
|
|
120273
120277
|
get _hostElement() { return this; }
|
|
@@ -120369,8 +120373,8 @@ let EzTextEdit$1 = class extends HTMLElement$1 {
|
|
|
120369
120373
|
this.setStyledInput();
|
|
120370
120374
|
}
|
|
120371
120375
|
render() {
|
|
120372
|
-
|
|
120373
|
-
return (h(Host, null, h("span", { class: "text-edit__hidden-value", ref: elem => this._valueBasis = elem }), h("ez-text-input", { "data-element-id": ElementIDUtils.getInternalIDInfo(
|
|
120376
|
+
ElementIDUtils.addIDInfoIfNotExists(this._element, 'input');
|
|
120377
|
+
return (h(Host, null, h("span", { class: "text-edit__hidden-value", ref: elem => this._valueBasis = elem }), h("ez-text-input", { "data-element-id": ElementIDUtils.getInternalIDInfo("textInput"), onInput: () => { this.calcSizeInput(this._newValue); }, class: "text-edit__form-input", value: this._newValue, ref: (elem) => this._inputElement = elem, mode: "slim", onEzChange: (evt) => this.setNewValue(evt === null || evt === void 0 ? void 0 : evt.detail), noBorder: true }), h("ez-button", { class: "text-edit__icon-check", mode: "icon", iconName: "check", size: "small", onClick: () => { this.handleSaveEdition(); } }), h("ez-button", { class: "text-edit__icon-close", mode: "icon", iconName: "close", size: "small", onClick: () => { this.cancelEdition.emit(); } })));
|
|
120374
120378
|
}
|
|
120375
120379
|
get _element() { return this; }
|
|
120376
120380
|
static get style() { return ezTextEditCss; }
|
|
@@ -120605,10 +120609,10 @@ let EzTextInput$1 = class extends HTMLElement$1 {
|
|
|
120605
120609
|
}
|
|
120606
120610
|
}
|
|
120607
120611
|
render() {
|
|
120608
|
-
|
|
120612
|
+
ElementIDUtils.addIDInfoIfNotExists(this._hostElement, 'input');
|
|
120609
120613
|
return (h(Host, null, h("slot", { name: "leftIcon", onSlotchange: (ev) => { this.handleSlotChange(ev); } }), this.label && this.mode != "slim" ?
|
|
120610
120614
|
h("label", { ref: (el) => this._labelElem = el, class: this.enabled ? "input__label" : "input__label input__label--disabled", onClick: () => this._inputElem.focus(), title: this.label }, this.label)
|
|
120611
|
-
: null, h("input", { "data-element-id": ElementIDUtils.getInternalIDInfo(
|
|
120615
|
+
: null, h("input", { "data-element-id": ElementIDUtils.getInternalIDInfo("input"), onFocus: () => this.doFocus(), ref: (el) => this._inputElem = el, type: "text", class: this.mode === "slim" ? "input--slim" : "", placeholder: this.mode === "slim" && this.label ? this.label : "", value: this.value, disabled: !this.enabled, onInput: () => { this.handleChange(); }, onFocusout: () => { this.handleFocusout(); } }), h("slot", { name: "rightIcon", onSlotchange: (ev) => { this.handleSlotChange(ev); } }), this.canShowError && this.mode != "slim" &&
|
|
120612
120616
|
h("span", { class: "message-box", ref: (el) => this._messageBoxElem = el, title: this.errorMessage }, this.errorMessage)));
|
|
120613
120617
|
}
|
|
120614
120618
|
get _hostElement() { return this; }
|
|
@@ -120769,8 +120773,8 @@ let EzTimeInput$1 = class extends HTMLElement$1 {
|
|
|
120769
120773
|
}
|
|
120770
120774
|
}
|
|
120771
120775
|
render() {
|
|
120772
|
-
|
|
120773
|
-
return (h(Host, null, h("ez-text-input", { "data-element-id": ElementIDUtils.getInternalIDInfo(
|
|
120776
|
+
ElementIDUtils.addIDInfoIfNotExists(this._elem, 'input');
|
|
120777
|
+
return (h(Host, null, h("ez-text-input", { "data-element-id": ElementIDUtils.getInternalIDInfo("textInput"), ref: (el) => this._textInput = el, "data-slave-mode": "true", value: this._viewValue, enabled: this.enabled, label: this.label, restrict: "0123456789:", onBlur: () => this.handleBlur(), onInput: () => this.handleInput(), errorMessage: this.errorMessage, mode: this.mode }, h("ez-icon", { slot: "leftIcon", iconName: "timer-outline" }))));
|
|
120774
120778
|
}
|
|
120775
120779
|
static get assetsDirs() { return ["../assets"]; }
|
|
120776
120780
|
get _elem() { return this; }
|
|
@@ -121329,7 +121333,7 @@ const EzCalendar = /*@__PURE__*/proxyCustomElement(EzCalendar$1, [1,"ez-calendar
|
|
|
121329
121333
|
const EzCardItem = /*@__PURE__*/proxyCustomElement(EzCardItem$1, [1,"ez-card-item",{"item":[16]}]);
|
|
121330
121334
|
const EzCheck = /*@__PURE__*/proxyCustomElement(EzCheck$1, [1,"ez-check",{"label":[513],"value":[1540],"enabled":[1540],"indeterminate":[516],"mode":[513]}]);
|
|
121331
121335
|
const EzChip = /*@__PURE__*/proxyCustomElement(EzChip$1, [1,"ez-chip",{"label":[513],"enabled":[516],"removePosition":[513,"remove-position"],"mode":[513],"value":[1540]}]);
|
|
121332
|
-
const EzCollapsibleBox = /*@__PURE__*/proxyCustomElement(EzCollapsibleBox$1, [1,"ez-collapsible-box",{"value":[1540],"label":[513],"headerSize":[513,"header-size"],"iconPlacement":[513,"icon-placement"],"
|
|
121336
|
+
const EzCollapsibleBox = /*@__PURE__*/proxyCustomElement(EzCollapsibleBox$1, [1,"ez-collapsible-box",{"value":[1540],"label":[513],"headerSize":[513,"header-size"],"iconPlacement":[513,"icon-placement"],"headerAlign":[513,"header-align"],"removable":[516],"editable":[516],"conditionalSave":[16],"_activeEditText":[32]}]);
|
|
121333
121337
|
const EzComboBox = /*@__PURE__*/proxyCustomElement(EzComboBox$1, [1,"ez-combo-box",{"value":[1537],"label":[513],"enabled":[516],"options":[1040],"errorMessage":[1537,"error-message"],"searchMode":[4,"search-mode"],"showSelectedValue":[4,"show-selected-value"],"showOptionValue":[4,"show-option-value"],"suppressSearch":[4,"suppress-search"],"optionLoader":[16],"suppressEmptyOption":[4,"suppress-empty-option"],"canShowError":[516,"can-show-error"],"mode":[513],"_preSelection":[32],"_visibleOptions":[32],"_startLoading":[32],"_showLoading":[32],"_criteria":[32]}]);
|
|
121334
121338
|
const EzDateInput = /*@__PURE__*/proxyCustomElement(EzDateInput$1, [1,"ez-date-input",{"label":[513],"value":[1040],"enabled":[516],"errorMessage":[1537,"error-message"],"mode":[513]}]);
|
|
121335
121339
|
const EzDateTimeInput = /*@__PURE__*/proxyCustomElement(EzDateTimeInput$1, [1,"ez-date-time-input",{"label":[513],"value":[1040],"enabled":[516],"errorMessage":[1537,"error-message"],"showSeconds":[516,"show-seconds"],"mode":[513]}]);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-7bc778b3.js';
|
|
2
|
-
import { FloatingManager } from '@sankhyalabs/core';
|
|
2
|
+
import { FloatingManager, ElementIDUtils } from '@sankhyalabs/core';
|
|
3
3
|
import './ApplicationUtils-205ac4bc.js';
|
|
4
4
|
import { C as CSSVarsUtils } from './CSSVarsUtils-00f67f32.js';
|
|
5
5
|
import './DialogType-4059dc4d.js';
|
|
@@ -168,6 +168,7 @@ let EzActionsButton = class {
|
|
|
168
168
|
}
|
|
169
169
|
componentDidLoad() {
|
|
170
170
|
CSSVarsUtils.applyVarsButton(this._element, this._button);
|
|
171
|
+
ElementIDUtils.addIDInfo(this._element);
|
|
171
172
|
this.controlScrollPage();
|
|
172
173
|
}
|
|
173
174
|
componentDidRender() {
|
|
@@ -32,8 +32,8 @@ let EzButton = class {
|
|
|
32
32
|
ElementIDUtils.addIDInfo(this._element);
|
|
33
33
|
}
|
|
34
34
|
if (this._button) {
|
|
35
|
-
const dataInfo = { id: '
|
|
36
|
-
ElementIDUtils.addIDInfo(this._button,
|
|
35
|
+
const dataInfo = { id: 'embedded' };
|
|
36
|
+
ElementIDUtils.addIDInfo(this._button, 'button', dataInfo);
|
|
37
37
|
}
|
|
38
38
|
}
|
|
39
39
|
getIconSize(sizeParam = "medium") {
|
|
@@ -40,9 +40,6 @@ let EzCheck = class {
|
|
|
40
40
|
this._inputElem.focus();
|
|
41
41
|
}
|
|
42
42
|
componentDidLoad() {
|
|
43
|
-
if (this._inputElem) {
|
|
44
|
-
ElementIDUtils.addIDInfo(this._inputElem, 'input');
|
|
45
|
-
}
|
|
46
43
|
if (this._element) {
|
|
47
44
|
ElementIDUtils.addIDInfo(this._element, 'input');
|
|
48
45
|
}
|
|
@@ -66,7 +63,7 @@ let EzCheck = class {
|
|
|
66
63
|
return ((_a = this.mode) === null || _a === void 0 ? void 0 : _a.toUpperCase()) === CheckMode.SWITCH ? "switch-mode" : "regular-mode";
|
|
67
64
|
}
|
|
68
65
|
render() {
|
|
69
|
-
return (h(Host, null, h("input", { type: "checkbox", ref: (el) => this._inputElem = el, class: this.getInputClasses(), checked: this.value === true, onChange: () => { this.changeValue(); }, indeterminate: this.indeterminate, disabled: !this.enabled }), this.label ? h("label", { class: this.getLabelClasses(), onClick: () => { this.changeValue(); }, title: this.label }, this.label) : undefined));
|
|
66
|
+
return (h(Host, null, h("input", { type: "checkbox", ref: (el) => this._inputElem = el, class: this.getInputClasses(), checked: this.value === true, onChange: () => { this.changeValue(); }, indeterminate: this.indeterminate, disabled: !this.enabled, "data-element-id": ElementIDUtils.getInternalIDInfo("input") }), this.label ? h("label", { class: this.getLabelClasses(), onClick: () => { this.changeValue(); }, title: this.label }, this.label) : undefined));
|
|
70
67
|
}
|
|
71
68
|
get _element() { return getElement(this); }
|
|
72
69
|
static get watchers() { return {
|
|
@@ -92,8 +92,7 @@ let EzChip = class {
|
|
|
92
92
|
if (this._containerElem) {
|
|
93
93
|
this.observeValue();
|
|
94
94
|
this.observeEnabled();
|
|
95
|
-
this._containerElem.setAttribute(ElementIDUtils.DATA_ELEMENT_ID_ATTRIBUTE_NAME, '
|
|
96
|
-
ElementIDUtils.addIDInfo(this._containerElem);
|
|
95
|
+
this._containerElem.setAttribute(ElementIDUtils.DATA_ELEMENT_ID_ATTRIBUTE_NAME, ElementIDUtils.getInternalIDInfo('button'));
|
|
97
96
|
}
|
|
98
97
|
}
|
|
99
98
|
render() {
|
|
@@ -4,7 +4,7 @@ import { A as ApplicationUtils } from './ApplicationUtils-205ac4bc.js';
|
|
|
4
4
|
import './DialogType-4059dc4d.js';
|
|
5
5
|
import './CheckMode-bdb2ec19.js';
|
|
6
6
|
|
|
7
|
-
const ezCollapsibleBoxCss = ":host{--ez-collapsible-box--font-size:var(--title--medium, 14px);--ez-collapsible-box--font-family:var(--font-pattern, Arial);--ez-collapsible-box--font-weight:var(--text-weight--large, 600);--ez-collapsible-box--color:var(--title--primary);--ez-collapsible-box--focus--color:var(--color--primary-600);--ez-collapsible-box__icon--color:var(--ez-collapsible-box--color);--ez-collapsible-box__header--padding-top:0px;--ez-collapsible-box__header--padding-bottom:0px;--ez-collapsible-box__header--padding-right:0px;--ez-collapsible-box__header--padding-left:0px;display:flex;flex-wrap:wrap;width:100%}ez-icon{--ez-icon--color:inherit}.collapsible-box{display:flex;flex-direction:column;width:100%}.collapsible-box__header{display:flex;box-sizing:border-box;padding-top:var(--ez-collapsible-box__header--padding-top);padding-bottom:var(--ez-collapsible-box__header--padding-bottom);padding-right:var(--ez-collapsible-box__header--padding-right);padding-left:var(--ez-collapsible-box__header--padding-left)}.collapsible-box__title{position:relative;width:auto;display:flex;box-sizing:border-box;align-items:center;outline:none;border:none;background-color:unset;cursor:pointer;padding:0px;text-align:left;color:var(--ez-collapsible-box--color);--ez-icon--color:var(--ez-collapsible-box__icon--color);margin-bottom:var(--space--medium, 12px)}.collapsible-box__title:focus{color:var(--ez-collapsible-box--focus--color);--ez-icon--color:var(--ez-collapsible-box--focus--color)}.collapsible-box__label{display:flex;white-space:nowrap;overflow:hidden;cursor:pointer;text-overflow:ellipsis;box-sizing:border-box;margin-left:6px;gap:6px;font-family:var(--ez-collapsible-box--font-family);font-size:var(--ez-collapsible-box--font-size);font-weight:var(--ez-collapsible-box--font-weight)}.collapsible-box__label ez-icon{visibility:hidden;transition:0.25s linear}.collapsible-box__label:hover ez-icon{visibility:visible}.collapsible-box__text-edit{margin-left:6px}.collapsible-box__icon{transform:rotate(90deg) translate(0px, 14%);transition:transform var(--transition)}.collapsible-box__icon--collapsed{transform:rotate(0deg) translate(-14%, 0px)}.collapsible-box__title--icon-right{flex-direction:row-reverse}.collapsible-box__title--icon-right .collapsible-box__icon{transform:rotate(90deg) translate(0px, -14%)}.collapsible-box__title--icon-right .collapsible-box__icon--collapsed{transform:rotate(0deg) translate(14%, 0px)}.collapsible-box__title--icon-right .collapsible-box__label{margin-left:0px;margin-right:6px}.collapsible-box__title--
|
|
7
|
+
const ezCollapsibleBoxCss = ":host{--ez-collapsible-box--font-size:var(--title--medium, 14px);--ez-collapsible-box--font-family:var(--font-pattern, Arial);--ez-collapsible-box--font-weight:var(--text-weight--large, 600);--ez-collapsible-box--color:var(--title--primary);--ez-collapsible-box--focus--color:var(--color--primary-600);--ez-collapsible-box__icon--color:var(--ez-collapsible-box--color);--ez-collapsible-box__header--padding-top:0px;--ez-collapsible-box__header--padding-bottom:0px;--ez-collapsible-box__header--padding-right:0px;--ez-collapsible-box__header--padding-left:0px;display:flex;flex-wrap:wrap;width:100%}ez-icon{--ez-icon--color:inherit}.collapsible-box{display:flex;flex-direction:column;width:100%}.collapsible-box__header{display:flex;box-sizing:border-box;padding-top:var(--ez-collapsible-box__header--padding-top);padding-bottom:var(--ez-collapsible-box__header--padding-bottom);padding-right:var(--ez-collapsible-box__header--padding-right);padding-left:var(--ez-collapsible-box__header--padding-left)}.collapsible-box__title{position:relative;width:auto;display:flex;box-sizing:border-box;align-items:center;outline:none;border:none;background-color:unset;cursor:pointer;padding:0px;text-align:left;color:var(--ez-collapsible-box--color);--ez-icon--color:var(--ez-collapsible-box__icon--color);margin-bottom:var(--space--medium, 12px)}.collapsible-box__title:focus{color:var(--ez-collapsible-box--focus--color);--ez-icon--color:var(--ez-collapsible-box--focus--color)}.collapsible-box__label{display:flex;white-space:nowrap;overflow:hidden;cursor:pointer;text-overflow:ellipsis;box-sizing:border-box;margin-left:6px;gap:6px;font-family:var(--ez-collapsible-box--font-family);font-size:var(--ez-collapsible-box--font-size);font-weight:var(--ez-collapsible-box--font-weight)}.collapsible-box__label ez-icon{visibility:hidden;transition:0.25s linear}.collapsible-box__label:hover ez-icon{visibility:visible}.collapsible-box__text-edit{margin-left:6px}.collapsible-box__icon{transform:rotate(90deg) translate(0px, 14%);transition:transform var(--transition)}.collapsible-box__icon--collapsed{transform:rotate(0deg) translate(-14%, 0px)}.collapsible-box__title--icon-right{flex-direction:row-reverse}.collapsible-box__title--icon-right .collapsible-box__icon{transform:rotate(90deg) translate(0px, -14%)}.collapsible-box__title--icon-right .collapsible-box__icon--collapsed{transform:rotate(0deg) translate(14%, 0px)}.collapsible-box__title--icon-right .collapsible-box__label{margin-left:0px;margin-right:6px}.collapsible-box__title--left{margin-right:auto}.collapsible-box__title--right{margin-left:auto}.collapsible-box__title--center{margin-left:auto;margin-right:auto}.collapsible-box__title--stretch{justify-content:space-between;width:100%}.collapsible-box__title--no-margin{margin-bottom:0}.collapsible-box__content{display:flex;flex-wrap:wrap;width:100%;height:0px;max-height:0px;opacity:0;overflow:hidden;transition:all var(--transition, 0.5s)}.collapsible-box__content--show{height:100%;max-height:none;opacity:1;overflow:visible;transition:all var(--transition, 0.5s)}.font--x-small{font-size:10px}.font--small{font-size:12px}.font--medium{font-size:14px}.font--large{font-size:16px}.font--x-large{font-size:20px}";
|
|
8
8
|
|
|
9
9
|
let EzCollapsibleBox = class {
|
|
10
10
|
constructor(hostRef) {
|
|
@@ -27,9 +27,9 @@ let EzCollapsibleBox = class {
|
|
|
27
27
|
*/
|
|
28
28
|
this.iconPlacement = "left";
|
|
29
29
|
/**
|
|
30
|
-
*
|
|
30
|
+
* Define a posição do conteúdo do cabeçalho do componente.
|
|
31
31
|
*/
|
|
32
|
-
this.
|
|
32
|
+
this.headerAlign = "left";
|
|
33
33
|
/**
|
|
34
34
|
* Se true mostra o ícone para remoção do componente.
|
|
35
35
|
*/
|
|
@@ -120,10 +120,9 @@ let EzCollapsibleBox = class {
|
|
|
120
120
|
ElementIDUtils.addIDInfo(this._hostElement);
|
|
121
121
|
}
|
|
122
122
|
render() {
|
|
123
|
-
return (h("div", { class: "collapsible-box" }, h("div", { class: "collapsible-box__header" }, h("button", Object.assign({}, (!this._activeEditText ? { onClick: () => { this.showHide(); } } : null), { class: "collapsible-box__title" +
|
|
123
|
+
return (h("div", { class: "collapsible-box" }, h("div", { class: "collapsible-box__header" }, h("button", Object.assign({}, (!this._activeEditText ? { onClick: () => { this.showHide(); } } : null), { class: "collapsible-box__title collapsible-box__title--" + (this.headerAlign || "left") +
|
|
124
124
|
(this.iconPlacement === "right" ? " collapsible-box__title--icon-right" : "") +
|
|
125
|
-
(this.
|
|
126
|
-
(this.value ? " collapsible-box__title--no-margin" : "") }), h("ez-icon", { slot: "icon", "icon-name": "chevron-right", size: this.getHeaderSize(), class: "collapsible-box__icon collapsible-box__icon--" + this.getHeaderSize() + (this.value ? " collapsible-box__icon--collapsed" : "") }), !this._activeEditText ?
|
|
125
|
+
(this.value ? " collapsible-box__title--no-margin" : "") }), h("ez-icon", { slot: "icon", "icon-name": "chevron-right", size: this.getHeaderSize(), class: "collapsible-box__icon collapsible-box__icon--" + this.getHeaderSize() + (this.value ? " collapsible-box__icon--collapsed" : ""), id: "toggleCollapsible" }), !this._activeEditText ?
|
|
127
126
|
h("label", { class: "collapsible-box__label font--" + this.getHeaderSize(), title: this.label, ref: elem => this._refLabel = elem }, h("span", null, this.label), this.editable &&
|
|
128
127
|
h("ez-icon", { slot: "icon", "icon-name": "edit", onClick: (evt) => this.editLabel(evt), title: "Editar" }), this.removable &&
|
|
129
128
|
h("ez-icon", { slot: "icon", "icon-name": "delete", onClick: (evt) => this.confirmRemove(evt), title: "Remover" })) :
|
|
@@ -447,8 +447,8 @@ let EzComboBox = class {
|
|
|
447
447
|
}
|
|
448
448
|
render() {
|
|
449
449
|
var _a;
|
|
450
|
-
|
|
451
|
-
return (h(Host, null, h("ez-text-input", { "data-element-id": ElementIDUtils.getInternalIDInfo(
|
|
450
|
+
ElementIDUtils.addIDInfoIfNotExists(this.el, 'input');
|
|
451
|
+
return (h(Host, null, h("ez-text-input", { "data-element-id": ElementIDUtils.getInternalIDInfo("textInput"), class: this.suppressSearch ? "suppressed-search-input" : "", ref: elem => this._textInput = elem, "data-slave-mode": "true", enabled: this.enabled && !this.suppressSearch, onInput: event => this.onTextInputChangeHandler(event), onClick: () => this.onTextInputClickHandler(), onFocusout: () => this.onTextInputFocusOutHandler(), onKeyDown: event => this.keyDownHandler(event), label: this.label, canShowError: this.canShowError, errorMessage: this.errorMessage, mode: this.mode }, h("button", { class: "btn", slot: this.searchMode ? "leftIcon" : "rightIcon", disabled: !this.enabled, tabindex: -1, onClick: () => this.handlerIconClick() }, h("ez-icon", { iconName: this.searchMode ? "search" : "chevron-down" })), this.searchMode && ((_a = this._textInput) === null || _a === void 0 ? void 0 : _a.value) && (this._criteria || this.value)
|
|
452
452
|
? h("button", { class: "btn btn__close", slot: "rightIcon", disabled: !this.enabled, tabindex: -1, onClick: () => this.clearSearch() }, h("ez-icon", { iconName: "close" }))
|
|
453
453
|
: undefined), h("section", { class: "list-container", ref: elem => this._listContainer = elem }, h("div", { class: "list-wrapper", ref: elem => this._listWrapper = elem }, h("div", { class: "list-options", ref: elem => this._optionsList = elem }, this._visibleOptions.length === 0
|
|
454
454
|
&& h("div", { class: "message" }, !this._showLoading && h("span", { class: "message__no-result" }, this._textEmptyList), this._showLoading && h("div", { class: "message__loading" })), this.showOptionValue
|
|
@@ -140,8 +140,8 @@ let EzDateInput = class {
|
|
|
140
140
|
this.setInputValue();
|
|
141
141
|
}
|
|
142
142
|
render() {
|
|
143
|
-
|
|
144
|
-
return (h(Host, null, h("ez-text-input", { "data-element-id": ElementIDUtils.getInternalIDInfo(
|
|
143
|
+
ElementIDUtils.addIDInfoIfNotExists(this._elem, 'input');
|
|
144
|
+
return (h(Host, null, h("ez-text-input", { "data-element-id": ElementIDUtils.getInternalIDInfo("textInput"), ref: elem => this._textInput = elem, "data-slave-mode": "true", label: this.label, onBlur: () => this.handleBlur(), onInput: (evt) => this.handleInput(evt), restrict: "0123456789/", enabled: this.enabled, errorMessage: this.errorMessage, mode: this.mode }, h("button", { disabled: !this.enabled, tabindex: -1, class: "btn-open-cal", onClick: () => this.showCalendar(), slot: "leftIcon" })), h("ez-calendar", { "data-element-id": ElementIDUtils.getInternalIDInfo("calendar"), onEzChange: (event) => { this.hideCalendar(); event.stopPropagation(); }, floating: true, ref: elem => this._calendar = elem })));
|
|
145
145
|
}
|
|
146
146
|
get _elem() { return getElement(this); }
|
|
147
147
|
static get watchers() { return {
|
|
@@ -195,8 +195,8 @@ let EzDateTimeInput = class {
|
|
|
195
195
|
this.setInputValue();
|
|
196
196
|
}
|
|
197
197
|
render() {
|
|
198
|
-
|
|
199
|
-
return (h(Host, null, h("ez-text-input", { "data-element-id": ElementIDUtils.getInternalIDInfo(
|
|
198
|
+
ElementIDUtils.addIDInfoIfNotExists(this._elem, 'input');
|
|
199
|
+
return (h(Host, null, h("ez-text-input", { "data-element-id": ElementIDUtils.getInternalIDInfo("textInput"), ref: elem => this._textInput = elem, "data-slave-mode": "true", label: this.label, restrict: "0123456789/: ", enabled: this.enabled, errorMessage: this.errorMessage, mode: this.mode, onKeyDown: event => { this.handleKeyDown(event); }, onBlur: () => this.handleBlur(), onInput: (evt) => this.handleInput(evt), onFocus: () => this.handleFocus(), onClick: () => this.handleClick() }, h("button", { disabled: !this.enabled, tabindex: -1, class: "btn-open-cal", onClick: () => this.showCalendar(), slot: "leftIcon" })), h("ez-calendar", { "data-element-id": ElementIDUtils.getInternalIDInfo("calendar"), onEzChange: (event) => { this.changeValue(this._calendar.value); event.stopPropagation(); }, floating: true, ref: elem => this._calendar = elem, time: true, showSeconds: this.showSeconds })));
|
|
200
200
|
}
|
|
201
201
|
get _elem() { return getElement(this); }
|
|
202
202
|
static get watchers() { return {
|
|
@@ -62,8 +62,8 @@ let EzFilterInput = class {
|
|
|
62
62
|
CSSVarsUtils.applyVarsTextInput(this._elem, this._textInput);
|
|
63
63
|
}
|
|
64
64
|
render() {
|
|
65
|
-
|
|
66
|
-
return (h("ez-text-input", { "data-element-id": ElementIDUtils.getInternalIDInfo(
|
|
65
|
+
ElementIDUtils.addIDInfoIfNotExists(this._elem, 'input');
|
|
66
|
+
return (h("ez-text-input", { "data-element-id": ElementIDUtils.getInternalIDInfo("textInput"), ref: elem => this._textInput = elem, label: this.label, onEzChange: evt => this.changeValue(evt), value: this.value, enabled: this.enabled, errorMessage: this.errorMessage, restrict: this.restrict, mode: this.mode }, h("ez-icon", { slot: "leftIcon", iconName: "search" })));
|
|
67
67
|
}
|
|
68
68
|
get _elem() { return getElement(this); }
|
|
69
69
|
static get watchers() { return {
|
|
@@ -270,7 +270,7 @@ const buildField = (field) => {
|
|
|
270
270
|
const FormItem = ({ source }) => {
|
|
271
271
|
if ("items" in source) {
|
|
272
272
|
const fieldSet = source;
|
|
273
|
-
return h("ez-collapsible-box", { label: source.label, "header-size": "large" }, fieldSet.items.map(fi => buildField(fi)));
|
|
273
|
+
return h("ez-collapsible-box", { label: source.label, "header-size": "large", key: source.label }, fieldSet.items.map(fi => buildField(fi)));
|
|
274
274
|
}
|
|
275
275
|
else {
|
|
276
276
|
return buildField(source);
|
|
@@ -948,10 +948,10 @@ let EzForm = class {
|
|
|
948
948
|
const tabs = allSheets.map((sheet, index) => {
|
|
949
949
|
return { tabKey: sheet.name, label: sheet.label, index };
|
|
950
950
|
});
|
|
951
|
-
const idTabSelector =
|
|
951
|
+
const idTabSelector = `selector`;
|
|
952
952
|
result.push(h("ez-tabselector", { tabs: this.buildIdTabSelector(tabs), onEzChange: (evt) => this._store.dispatch(changeTab(evt.detail)), selectedTab: currentSheet.name, "data-element-id": idTabSelector }));
|
|
953
953
|
}
|
|
954
|
-
const idFormSheet = `${
|
|
954
|
+
const idFormSheet = `${StringUtils.replaceAccentuatedChars(StringUtils.toCamelCase(currentSheet.label), false)}_selectorContainer`;
|
|
955
955
|
result.push(h(FormSheet, { store: this._store, source: currentSheet, dataElementId: idFormSheet }));
|
|
956
956
|
return result;
|
|
957
957
|
}
|
|
@@ -1016,7 +1016,7 @@ let EzForm = class {
|
|
|
1016
1016
|
this._staticFields = Array.from(this._element.querySelectorAll("[data-field-name]"));
|
|
1017
1017
|
this.processMetadata();
|
|
1018
1018
|
const dataInfo = { dataUnit: this.dataUnit };
|
|
1019
|
-
|
|
1019
|
+
ElementIDUtils.addIDInfo(this._element, null, dataInfo);
|
|
1020
1020
|
}
|
|
1021
1021
|
componentDidRender() {
|
|
1022
1022
|
this._dataBinder.bind(Array.from(this._element.querySelectorAll("[data-field-name]")));
|
|
@@ -1029,7 +1029,7 @@ let EzForm = class {
|
|
|
1029
1029
|
}
|
|
1030
1030
|
buildIdTabSelector(tabs) {
|
|
1031
1031
|
if (tabs) {
|
|
1032
|
-
tabs.forEach(tab => tab[ElementIDUtils.DATA_ELEMENT_ID_ATTRIBUTE_NAME] =
|
|
1032
|
+
tabs.forEach(tab => tab[ElementIDUtils.DATA_ELEMENT_ID_ATTRIBUTE_NAME] = StringUtils.toCamelCase(tab.label));
|
|
1033
1033
|
}
|
|
1034
1034
|
return tabs;
|
|
1035
1035
|
}
|
|
@@ -115419,9 +115419,9 @@ let EzGrid = class {
|
|
|
115419
115419
|
}
|
|
115420
115420
|
buildDataElementId() {
|
|
115421
115421
|
const dataInfo = { dataUnit: this.dataUnit };
|
|
115422
|
-
|
|
115423
|
-
const dtInfo = { id:
|
|
115424
|
-
ElementIDUtils.addIDInfo(this._refPaginationControl,
|
|
115422
|
+
ElementIDUtils.addIDInfo(this._element, null, dataInfo);
|
|
115423
|
+
const dtInfo = { id: "ezGrid" };
|
|
115424
|
+
ElementIDUtils.addIDInfo(this._refPaginationControl, "pagination", dtInfo);
|
|
115425
115425
|
}
|
|
115426
115426
|
previousPage() {
|
|
115427
115427
|
if (this.dataUnit) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { r as registerInstance, h, H as Host } from './index-7bc778b3.js';
|
|
2
|
-
import { StringUtils } from '@sankhyalabs/core';
|
|
1
|
+
import { r as registerInstance, h, H as Host, g as getElement } from './index-7bc778b3.js';
|
|
2
|
+
import { StringUtils, ElementIDUtils } from '@sankhyalabs/core';
|
|
3
3
|
|
|
4
4
|
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-account-outline:before{content:\"\\ea03\"}.ez-icon-account:before{content:\"\\ea04\"}.ez-icon-actions-sprite: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-apps:before{content:\"\\ea0b\"}.ez-icon-arrow_back:before{content:\"\\ea0c\"}.ez-icon-arrow_downward:before{content:\"\\ea0d\"}.ez-icon-balance:before{content:\"\\ea0e\"}.ez-icon-bell-inverted:before{content:\"\\ea0f\"}.ez-icon-bell:before{content:\"\\ea10\"}.ez-icon-boleto:before{content:\"\\ea11\"}.ez-icon-business-center:before{content:\"\\ea12\"}.ez-icon-calendar-clock:before{content:\"\\ea13\"}.ez-icon-calendar:before{content:\"\\ea14\"}.ez-icon-cash-remove:before{content:\"\\ea15\"}.ez-icon-check-circle-inverted:before{content:\"\\ea16\"}.ez-icon-check-circle:before{content:\"\\ea17\"}.ez-icon-check:before{content:\"\\ea18\"}.ez-icon-chevron-down:before{content:\"\\ea19\"}.ez-icon-chevron-left:before{content:\"\\ea1a\"}.ez-icon-chevron-right:before{content:\"\\ea1b\"}.ez-icon-chevron-up:before{content:\"\\ea1c\"}.ez-icon-circle--medium:before{content:\"\\ea1d\"}.ez-icon-circle:before{content:\"\\ea1e\"}.ez-icon-cleaning:before{content:\"\\ea1f\"}.ez-icon-clipboard:before{content:\"\\ea20\"}.ez-icon-close:before{content:\"\\ea21\"}.ez-icon-cobrar:before{content:\"\\ea22\"}.ez-icon-configuration:before{content:\"\\ea23\"}.ez-icon-copy:before{content:\"\\ea24\"}.ez-icon-credit_card:before{content:\"\\ea25\"}.ez-icon-crop:before{content:\"\\ea26\"}.ez-icon-custom:before{content:\"\\ea27\"}.ez-icon-delete:before{content:\"\\ea28\"}.ez-icon-description:before{content:\"\\ea29\"}.ez-icon-dot-notification:before{content:\"\\ea2a\"}.ez-icon-dots-horizontal:before{content:\"\\ea2b\"}.ez-icon-dots-vertical:before{content:\"\\ea2c\"}.ez-icon-drag-indicator:before{content:\"\\ea2d\"}.ez-icon-dual-chevron-down:before{content:\"\\ea2e\"}.ez-icon-dual-chevron-up:before{content:\"\\ea2f\"}.ez-icon-edit-file:before{content:\"\\ea30\"}.ez-icon-edit-table:before{content:\"\\ea31\"}.ez-icon-edit-time:before{content:\"\\ea32\"}.ez-icon-edit:before{content:\"\\ea33\"}.ez-icon-email:before{content:\"\\ea34\"}.ez-icon-expand:before{content:\"\\ea35\"}.ez-icon-extrato:before{content:\"\\ea36\"}.ez-icon-eye-off:before{content:\"\\ea37\"}.ez-icon-eye:before{content:\"\\ea38\"}.ez-icon-favorite:before{content:\"\\ea39\"}.ez-icon-file-download:before{content:\"\\ea3a\"}.ez-icon-file-upload:before{content:\"\\ea3b\"}.ez-icon-filter:before{content:\"\\ea3c\"}.ez-icon-find-file:before{content:\"\\ea3d\"}.ez-icon-find-page:before{content:\"\\ea3e\"}.ez-icon-format-color-fill:before{content:\"\\ea3f\"}.ez-icon-graph_bar:before{content:\"\\ea40\"}.ez-icon-handshake:before{content:\"\\ea41\"}.ez-icon-help-inverted:before{content:\"\\ea42\"}.ez-icon-help:before{content:\"\\ea43\"}.ez-icon-home:before{content:\"\\ea44\"}.ez-icon-icons104:before{content:\"\\ea45\"}.ez-icon-language:before{content:\"\\ea46\"}.ez-icon-launch:before{content:\"\\ea47\"}.ez-icon-lightbulb:before{content:\"\\ea48\"}.ez-icon-list:before{content:\"\\ea49\"}.ez-icon-location:before{content:\"\\ea4a\"}.ez-icon-lock-outline:before{content:\"\\ea4b\"}.ez-icon-lock:before{content:\"\\ea4c\"}.ez-icon-menu:before{content:\"\\ea4d\"}.ez-icon-mid:before{content:\"\\ea4e\"}.ez-icon-minus:before{content:\"\\ea4f\"}.ez-icon-money-off:before{content:\"\\ea50\"}.ez-icon-money:before{content:\"\\ea51\"}.ez-icon-more:before{content:\"\\ea52\"}.ez-icon-north-west:before{content:\"\\ea53\"}.ez-icon-number:before{content:\"\\ea54\"}.ez-icon-ordem-ascendente:before{content:\"\\ea55\"}.ez-icon-ordem-descendente:before{content:\"\\ea56\"}.ez-icon-parcelar:before{content:\"\\ea57\"}.ez-icon-pause:before{content:\"\\ea58\"}.ez-icon-payments:before{content:\"\\ea59\"}.ez-icon-play:before{content:\"\\ea5a\"}.ez-icon-plus:before{content:\"\\ea5b\"}.ez-icon-power:before{content:\"\\ea5c\"}.ez-icon-print:before{content:\"\\ea5d\"}.ez-icon-push-pin:before{content:\"\\ea5e\"}.ez-icon-receipt:before{content:\"\\ea5f\"}.ez-icon-restore:before{content:\"\\ea60\"}.ez-icon-return:before{content:\"\\ea61\"}.ez-icon-save:before{content:\"\\ea62\"}.ez-icon-search:before{content:\"\\ea63\"}.ez-icon-settings-inverted:before{content:\"\\ea64\"}.ez-icon-settings:before{content:\"\\ea65\"}.ez-icon-share:before{content:\"\\ea66\"}.ez-icon-shield:before{content:\"\\ea67\"}.ez-icon-south-east:before{content:\"\\ea68\"}.ez-icon-sync:before{content:\"\\ea69\"}.ez-icon-table:before{content:\"\\ea6a\"}.ez-icon-text:before{content:\"\\ea6b\"}.ez-icon-timeline:before{content:\"\\ea6c\"}.ez-icon-timer-outline:before{content:\"\\ea6d\"}.ez-icon-tune:before{content:\"\\ea6e\"}.ez-icon-un-pin:before{content:\"\\ea6f\"}.ez-icon-unfold_less:before{content:\"\\ea70\"}.ez-icon-unfold_more:before{content:\"\\ea71\"}.ez-icon-user-circle:before{content:\"\\ea72\"}.ez-icon-warning-outline:before{content:\"\\ea73\"}.ez-icon-warning_triangle:before{content:\"\\ea74\"}.ez-icon-whatshot:before{content:\"\\ea75\"}.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}";
|
|
5
5
|
|
|
@@ -28,9 +28,13 @@ let EzIcon = class {
|
|
|
28
28
|
return h("img", { class: this.size, src: this.href });
|
|
29
29
|
}
|
|
30
30
|
}
|
|
31
|
+
componentDidLoad() {
|
|
32
|
+
ElementIDUtils.addIDInfo(this._hostElement, "icon");
|
|
33
|
+
}
|
|
31
34
|
render() {
|
|
32
35
|
return (h(Host, null, this.getIconContent()));
|
|
33
36
|
}
|
|
37
|
+
get _hostElement() { return getElement(this); }
|
|
34
38
|
};
|
|
35
39
|
EzIcon.style = ezIconCss;
|
|
36
40
|
|