@sankhyalabs/ezui 0.0.0-bugfix-dev-KB-75065.0 → 0.0.0-bugfix-dev-KB-83282.0
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-badge.cjs.entry.js +2 -14
- package/dist/cjs/ez-combo-box-list_3.cjs.entry.js +387 -0
- package/dist/cjs/ez-combo-box.cjs.entry.js +58 -184
- package/dist/cjs/ez-grid.cjs.entry.js +58 -0
- package/dist/cjs/ez-icon.cjs.entry.js +1 -1
- package/dist/cjs/ez-multi-selection-list.cjs.entry.js +186 -0
- package/dist/cjs/{ez-multi-selection-list_2.cjs.entry.js → ez-popover-core_2.cjs.entry.js} +115 -196
- package/dist/cjs/ezui.cjs.js +1 -1
- package/dist/cjs/index-a7b0c73d.js +8 -4
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/collection/collection-manifest.json +2 -0
- package/dist/collection/components/ez-badge/ez-badge.css +1 -12
- package/dist/collection/components/ez-badge/ez-badge.js +1 -31
- package/dist/collection/components/ez-combo-box/ez-combo-box-list/ez-combo-box-list.css +205 -0
- package/dist/collection/components/ez-combo-box/ez-combo-box-list/ez-combo-box-list.js +426 -0
- package/dist/collection/components/ez-combo-box/ez-combo-box.css +0 -250
- package/dist/collection/components/ez-combo-box/ez-combo-box.js +61 -194
- package/dist/collection/components/ez-grid/controller/ag-grid/AgGridController.js +3 -0
- package/dist/collection/components/ez-grid/ez-grid.js +56 -1
- package/dist/collection/components/ez-icon/ez-icon.css +4 -1
- package/dist/collection/components/ez-popover-plus/ez-popover-plus.css +0 -64
- package/dist/collection/components/ez-popover-plus/ez-popover-plus.js +47 -127
- package/dist/collection/components/ez-popover-plus/subcomponent/ez-popover-core.css +67 -0
- package/dist/collection/components/ez-popover-plus/subcomponent/ez-popover-core.js +468 -0
- package/dist/custom-elements/index.d.ts +12 -0
- package/dist/custom-elements/index.js +395 -219
- package/dist/esm/ez-badge.entry.js +2 -14
- package/dist/esm/ez-combo-box-list_3.entry.js +381 -0
- package/dist/esm/ez-combo-box.entry.js +59 -185
- package/dist/esm/ez-grid.entry.js +59 -1
- package/dist/esm/ez-icon.entry.js +1 -1
- package/dist/esm/ez-multi-selection-list.entry.js +182 -0
- package/dist/esm/{ez-multi-selection-list_2.entry.js → ez-popover-core_2.entry.js} +116 -197
- package/dist/esm/ezui.js +1 -1
- 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-3a009184.entry.js +1 -0
- package/dist/ezui/{p-a5950a0d.entry.js → p-53116373.entry.js} +46 -46
- package/dist/ezui/p-56fe5341.entry.js +1 -0
- package/dist/ezui/p-650e4b6d.entry.js +1 -0
- package/dist/ezui/p-7bd15498.entry.js +1 -0
- package/dist/ezui/p-dc73e1fe.entry.js +1 -0
- package/dist/ezui/p-f5931caa.entry.js +1 -0
- package/dist/types/components/ez-badge/ez-badge.d.ts +0 -5
- package/dist/types/components/ez-combo-box/ez-combo-box-list/ez-combo-box-list.d.ts +104 -0
- package/dist/types/components/ez-combo-box/ez-combo-box.d.ts +7 -16
- package/dist/types/components/ez-grid/ez-grid.d.ts +5 -0
- package/dist/types/components/ez-popover-plus/ez-popover-plus.d.ts +6 -19
- package/dist/types/components/ez-popover-plus/subcomponent/ez-popover-core.d.ts +81 -0
- package/dist/types/components.d.ts +218 -11
- package/package.json +1 -1
- package/react/components.d.ts +2 -0
- package/react/components.js +2 -0
- package/react/components.js.map +1 -1
- package/dist/cjs/ez-custom-form-input_2.cjs.entry.js +0 -236
- package/dist/esm/ez-custom-form-input_2.entry.js +0 -231
- package/dist/ezui/p-0ca05a2f.entry.js +0 -1
- package/dist/ezui/p-64b461b3.entry.js +0 -1
- package/dist/ezui/p-cdac80f1.entry.js +0 -1
- package/dist/ezui/p-dc8b36c3.entry.js +0 -1
- package/dist/ezui/p-e75c7a23.entry.js +0 -1
|
@@ -1382,7 +1382,7 @@ var Sizes;
|
|
|
1382
1382
|
Sizes["EXTRA_SMALL"] = "extra-small";
|
|
1383
1383
|
})(Sizes || (Sizes = {}));
|
|
1384
1384
|
|
|
1385
|
-
const ezBadgeCss = ":host{--ez-badge--size-2xs:var(--space--2xs, 8px);--ez-badge--size-xs:var(--space--xs, 12px);--ez-badge--size-sm:var(--space--sm, 16px);--ez-badge--size-md:var(--space--md, 20px);--ez-badge--size-lg:var(--space--lg, 24px);--ez-badge--size-xl:var(--space--xl, 32px);--ez-badge--padding-2xs:0;--ez-badge--padding-xs:var(--space--nano, 2px);--ez-badge--padding-sm:calc(var(--space--nano, 2px) + 1px);--ez-badge--padding-md:var(--space--3xs, 4px);--ez-badge--padding-lg:calc(var(--space--3xs, 4px) + 2px);--ez-badge--padding-xl:var(--space--2xs);--ez-badge--border-radius:calc(var(--border--radius-medium, 12px) + 8px);--ez-badge--font-family:var(--font-pattern, Roboto);--ez-badge--font-weight-medium:var(--text-weight--medium, 400);--ez-badge--background-color:var(--color--primary, #008561);--ez-badge--border-none:0;--ez-badge--color:var(--text--inverted, #ffffff);--ez-badge--gap:calc(var(--ez-badge--padding-xs) + 1px);--ez-badge--font-size-md:var(--text--medium);--ez-badge--font-size-sm:var(--text--medium);--ez-badge--font-size-xs:var(--text--small)}ez-icon{--ez-icon--color:inherit}.badge{display:flex;justify-content:center;align-items:center;position:relative}.badge__content{font-family:var(--ez-badge--font-family, Roboto);font-weight:var(--ez-badge--font-weight-medium, 400);background-color:var(--ez-badge--background-color, #008561);border:var(--ez-badge--border-none, 0);color:var(--ez-badge--color, #ffffff);border-radius:var(--ez-badge--border-radius, 20px);gap:var(--ez-badge--gap, 3px);display:flex;justify-content:center}.badge__content--fill-xs{height:var(--ez-badge--size-xs, 12px);min-width:var(--ez-badge--size-xs, 12px)}.badge__content--fill-2xs{height:var(--ez-badge--size-2xs, 8px);min-width:var(--ez-badge--size-2xs, 8px)}.badge__content--text-md{height:calc(var(--ez-badge--size-md, 20px) - 2px);min-width:var(--ez-badge--size-sm, 20px);padding-top:var(--ez-badge--padding-sm);padding-bottom:var(--ez-badge--padding-sm);padding-right:var(--ez-badge--padding-xl);padding-left:var(--ez-badge--padding-xl);font-size:var(--ez-badge--font-size-md)}.badge__content--text-sm{height:calc(var(--ez-badge--size-sm, 16px) - 2px);min-width:var(--ez-badge--size-sm, 16px);padding-top:var(--ez-badge--padding-sm);padding-bottom:var(--ez-badge--padding-sm);padding-right:var(--ez-badge--padding-xl);padding-left:var(--ez-badge--padding-xl);font-size:var(--ez-badge--font-size-sm)}.badge__content--text-xs{height:var(--ez-badge--size-sm, 16px);min-width:var(--ez-badge--size-sm, 16px);padding-top:var(--ez-badge--padding-2xs);padding-bottom:var(--ez-badge--padding-2xs);padding-right:var(--ez-badge--padding-lg);padding-left:var(--ez-badge--padding-lg);font-size:var(--ez-badge--font-size-xs)}.badge__content--icon-lg{height:var(--ez-badge--size-lg, 24px);min-width:var(--ez-badge--size-lg, 24px);padding:var(--ez-badge--padding-md)}.badge__content--icon-md{height:var(--ez-badge--size-sm, 16px);min-width:var(--ez-badge--size-sm, 16px);padding:var(--ez-badge--padding-md)}.badge__content--icon-sm{height:var(--ez-badge--size-sm, 16px);min-width:var(--ez-badge--size-sm, 16px);padding:var(--ez-badge--padding-xs)}.badge__content--icon-xs{height:var(--ez-badge--size-xs, 12px);min-width:var(--ez-badge--size-xs, 12px);padding:var(--ez-badge--padding-xs)}.badge__content--
|
|
1385
|
+
const ezBadgeCss = ":host{--ez-badge--size-2xs:var(--space--2xs, 8px);--ez-badge--size-xs:var(--space--xs, 12px);--ez-badge--size-sm:var(--space--sm, 16px);--ez-badge--size-md:var(--space--md, 20px);--ez-badge--size-lg:var(--space--lg, 24px);--ez-badge--size-xl:var(--space--xl, 32px);--ez-badge--padding-2xs:0;--ez-badge--padding-xs:var(--space--nano, 2px);--ez-badge--padding-sm:calc(var(--space--nano, 2px) + 1px);--ez-badge--padding-md:var(--space--3xs, 4px);--ez-badge--padding-lg:calc(var(--space--3xs, 4px) + 2px);--ez-badge--padding-xl:var(--space--2xs);--ez-badge--border-radius:calc(var(--border--radius-medium, 12px) + 8px);--ez-badge--font-family:var(--font-pattern, Roboto);--ez-badge--font-weight-medium:var(--text-weight--medium, 400);--ez-badge--background-color:var(--color--primary, #008561);--ez-badge--border-none:0;--ez-badge--color:var(--text--inverted, #ffffff);--ez-badge--gap:calc(var(--ez-badge--padding-xs) + 1px);--ez-badge--font-size-md:var(--text--medium);--ez-badge--font-size-sm:var(--text--medium);--ez-badge--font-size-xs:var(--text--small)}ez-icon{--ez-icon--color:inherit}.badge{display:flex;justify-content:center;align-items:center;position:relative}.badge__content{font-family:var(--ez-badge--font-family, Roboto);font-weight:var(--ez-badge--font-weight-medium, 400);background-color:var(--ez-badge--background-color, #008561);border:var(--ez-badge--border-none, 0);color:var(--ez-badge--color, #ffffff);border-radius:var(--ez-badge--border-radius, 20px);gap:var(--ez-badge--gap, 3px);display:flex;justify-content:center;align-items:center}.badge__content--fill-xs{height:var(--ez-badge--size-xs, 12px);min-width:var(--ez-badge--size-xs, 12px)}.badge__content--fill-2xs{height:var(--ez-badge--size-2xs, 8px);min-width:var(--ez-badge--size-2xs, 8px)}.badge__content--text-md{height:calc(var(--ez-badge--size-md, 20px) - 2px);min-width:var(--ez-badge--size-sm, 20px);padding-top:var(--ez-badge--padding-sm);padding-bottom:var(--ez-badge--padding-sm);padding-right:var(--ez-badge--padding-xl);padding-left:var(--ez-badge--padding-xl);font-size:var(--ez-badge--font-size-md)}.badge__content--text-sm{height:calc(var(--ez-badge--size-sm, 16px) - 2px);min-width:var(--ez-badge--size-sm, 16px);padding-top:var(--ez-badge--padding-sm);padding-bottom:var(--ez-badge--padding-sm);padding-right:var(--ez-badge--padding-xl);padding-left:var(--ez-badge--padding-xl);font-size:var(--ez-badge--font-size-sm)}.badge__content--text-xs{height:var(--ez-badge--size-sm, 16px);min-width:var(--ez-badge--size-sm, 16px);padding-top:var(--ez-badge--padding-2xs);padding-bottom:var(--ez-badge--padding-2xs);padding-right:var(--ez-badge--padding-lg);padding-left:var(--ez-badge--padding-lg);font-size:var(--ez-badge--font-size-xs)}.badge__content--icon-lg{height:var(--ez-badge--size-lg, 24px);min-width:var(--ez-badge--size-lg, 24px);padding:var(--ez-badge--padding-md)}.badge__content--icon-md{height:var(--ez-badge--size-sm, 16px);min-width:var(--ez-badge--size-sm, 16px);padding:var(--ez-badge--padding-md)}.badge__content--icon-sm{height:var(--ez-badge--size-sm, 16px);min-width:var(--ez-badge--size-sm, 16px);padding:var(--ez-badge--padding-xs)}.badge__content--icon-xs{height:var(--ez-badge--size-xs, 12px);min-width:var(--ez-badge--size-xs, 12px);padding:var(--ez-badge--padding-xs)}.badge__content--fill{position:absolute;top:0;inset-inline-end:0;z-index:var(--most-visible, 2)}.badge__content--fill-top-right{transform:translate(50%, -50%);position:absolute;top:0;right:0}.badge__content--fill-top-left{transform:translate(-50%, -50%);position:absolute;top:0;left:0}.badge__content--fill-bottom-left{transform:translate(-50%, 50%);position:absolute;bottom:0;left:0}.badge__content--fill-bottom-right{transform:translate(50%, 50%);position:absolute;bottom:0;right:0}";
|
|
1386
1386
|
|
|
1387
1387
|
const EzBadge$1 = class extends HTMLElement$1 {
|
|
1388
1388
|
constructor() {
|
|
@@ -1415,7 +1415,6 @@ const EzBadge$1 = class extends HTMLElement$1 {
|
|
|
1415
1415
|
this.iconLeft = undefined;
|
|
1416
1416
|
this.iconRight = undefined;
|
|
1417
1417
|
this.position = { horizontal: "right", vertical: "top" };
|
|
1418
|
-
this.alignItems = "center";
|
|
1419
1418
|
}
|
|
1420
1419
|
getIconSize() {
|
|
1421
1420
|
switch (this.size) {
|
|
@@ -1430,16 +1429,6 @@ const EzBadge$1 = class extends HTMLElement$1 {
|
|
|
1430
1429
|
return null;
|
|
1431
1430
|
}
|
|
1432
1431
|
}
|
|
1433
|
-
getAlignItemsClass() {
|
|
1434
|
-
switch (this.alignItems) {
|
|
1435
|
-
case "flex-end":
|
|
1436
|
-
return "end";
|
|
1437
|
-
case "flex-start":
|
|
1438
|
-
return "start";
|
|
1439
|
-
default:
|
|
1440
|
-
return "center";
|
|
1441
|
-
}
|
|
1442
|
-
}
|
|
1443
1432
|
componentDidLoad() {
|
|
1444
1433
|
if (this._element) {
|
|
1445
1434
|
ElementIDUtils.addIDInfo(this._element);
|
|
@@ -1463,8 +1452,7 @@ const EzBadge$1 = class extends HTMLElement$1 {
|
|
|
1463
1452
|
}
|
|
1464
1453
|
createContainerClassName() {
|
|
1465
1454
|
let sizeSufix = this._sizes[this.size].sufix;
|
|
1466
|
-
let
|
|
1467
|
-
let containerClassNames = ["badge__content", alignItemsClass];
|
|
1455
|
+
let containerClassNames = ["badge__content"];
|
|
1468
1456
|
if (this.hasSlot) {
|
|
1469
1457
|
containerClassNames.push("badge__content--fill-" + sizeSufix);
|
|
1470
1458
|
if (this.position.vertical == "bottom" && this.position.horizontal == "right") {
|
|
@@ -2903,7 +2891,7 @@ const EzCollapsibleBox$1 = class extends HTMLElement$1 {
|
|
|
2903
2891
|
static get style() { return ezCollapsibleBoxCss; }
|
|
2904
2892
|
};
|
|
2905
2893
|
|
|
2906
|
-
const ezComboBoxCss = ":host{--ez-combo-box--height:42px;--ez-combo-box--width:100%;--ez-combo-
|
|
2894
|
+
const ezComboBoxCss = ":host{--ez-combo-box--height:42px;--ez-combo-box--width:100%;--ez-combo-box--border-radius:var(--border--radius-medium, 12px);--ez-combo-box--font-size:var(--text--medium, 14px);--ez-combo-box--font-family:var(--font-pattern, Arial);--ez-combo-box--background-color--xlight:var(--background--xlight, #fff);--ez-combo-box__input--background-color:var(--background--medium, #e0e0e0);--ez-combo-box__input--border:var(--border--medium, 2px solid);--ez-combo-box__input--border-color:var(--ez-combo-box__input--background-color);--ez-combo-box__input--focus--border-color:var(--color--primary, #008561);--ez-combo-box__input--disabled--background-color:var(--color--disable-secondary, #F2F5F8);--ez-combo-box__input--disabled--color:var(--text--disable, #AFB6C0);--ez-combo-box__btn--color:var(--title--primary, #2B3A54);--ez-combo-box__btn-disabled--color:var(--text--disable, #AFB6C0);--ez-combo-box__btn-hover--color:var(--color--primary, #4e4e4e);width:var(--ez-combo-box--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)}.btn{outline:none;border:none;background:none;cursor:pointer;padding:0px;color:var(--ez-combo-box__btn--color)}.btn:disabled{cursor:unset;color:var(--ez-combo-box__btn-disabled--color)}.btn:disabled:hover{cursor:not-allowed;color:var(--ez-combo-box__btn-disabled--color)}.btn:hover{color:var(--ez-combo-box__btn-hover--color)}.btn__close{visibility:hidden}ez-text-input:hover .btn__close,ez-text-input:focus .btn__close{visibility:visible}.text-input-slot-container{--ez-text-input__icon--width:32px;--ez-text-input__min-width:var(--ez-combo-box__min-width);--ez-text-input__max-width:var(--ez-combo-box__max-width)}@-webkit-keyframes spin{0%{-webkit-transform:rotate(0deg)}100%{-webkit-transform:rotate(360deg)}}@keyframes spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}";
|
|
2907
2895
|
|
|
2908
2896
|
const EzComboBox$1 = class extends HTMLElement$1 {
|
|
2909
2897
|
constructor() {
|
|
@@ -2917,11 +2905,13 @@ const EzComboBox$1 = class extends HTMLElement$1 {
|
|
|
2917
2905
|
this._tabPressed = false;
|
|
2918
2906
|
this._textEmptyList = "Nenhum resultado encontrado";
|
|
2919
2907
|
this._lookupMode = false;
|
|
2908
|
+
this.isOpen = false;
|
|
2920
2909
|
this._preSelection = undefined;
|
|
2921
2910
|
this._visibleOptions = undefined;
|
|
2922
2911
|
this._startLoading = false;
|
|
2923
2912
|
this._showLoading = true;
|
|
2924
2913
|
this._criteria = undefined;
|
|
2914
|
+
this._textInputReady = undefined;
|
|
2925
2915
|
this.limitCharsToSearch = 3;
|
|
2926
2916
|
this.value = undefined;
|
|
2927
2917
|
this.label = undefined;
|
|
@@ -3027,63 +3017,6 @@ const EzComboBox$1 = class extends HTMLElement$1 {
|
|
|
3027
3017
|
async clearValue() {
|
|
3028
3018
|
this.clearSearch();
|
|
3029
3019
|
}
|
|
3030
|
-
scrollListener() {
|
|
3031
|
-
var _a;
|
|
3032
|
-
if (this._floatingID == undefined) {
|
|
3033
|
-
return;
|
|
3034
|
-
}
|
|
3035
|
-
if ((_a = this.listOptionsPosition) === null || _a === void 0 ? void 0 : _a.hardPosition) {
|
|
3036
|
-
this.hideOptions();
|
|
3037
|
-
}
|
|
3038
|
-
else {
|
|
3039
|
-
window.requestAnimationFrame(() => {
|
|
3040
|
-
this.updateListPosition();
|
|
3041
|
-
});
|
|
3042
|
-
}
|
|
3043
|
-
}
|
|
3044
|
-
updateListPosition() {
|
|
3045
|
-
let { verticalPosition, horizontalPosition, fromBottom, fromRight, bottomLimit, hardPosition } = this.getListPosition();
|
|
3046
|
-
const elementRect = this._listWrapper.getBoundingClientRect();
|
|
3047
|
-
const containerRect = this._listContainer.getBoundingClientRect();
|
|
3048
|
-
const textInputRect = this._textInput.getBoundingClientRect();
|
|
3049
|
-
const limitHeight = bottomLimit || window.innerHeight;
|
|
3050
|
-
const neededHeight = containerRect.bottom + elementRect.height;
|
|
3051
|
-
if (!fromBottom && (elementRect.top < 0 || neededHeight > limitHeight)) {
|
|
3052
|
-
fromBottom = true;
|
|
3053
|
-
}
|
|
3054
|
-
if (!hardPosition) {
|
|
3055
|
-
verticalPosition = verticalPosition || 0;
|
|
3056
|
-
horizontalPosition = horizontalPosition || 0;
|
|
3057
|
-
if (fromBottom) {
|
|
3058
|
-
verticalPosition = window.innerHeight - textInputRect.top + verticalPosition;
|
|
3059
|
-
}
|
|
3060
|
-
else {
|
|
3061
|
-
verticalPosition += containerRect.top;
|
|
3062
|
-
}
|
|
3063
|
-
if (fromRight) {
|
|
3064
|
-
horizontalPosition = window.innerWidth - textInputRect.right + horizontalPosition;
|
|
3065
|
-
}
|
|
3066
|
-
else {
|
|
3067
|
-
horizontalPosition += containerRect.left;
|
|
3068
|
-
}
|
|
3069
|
-
}
|
|
3070
|
-
if (verticalPosition != undefined) {
|
|
3071
|
-
this._listWrapper.style[fromBottom ? "bottom" : "top"] = `${verticalPosition}px`;
|
|
3072
|
-
this._listWrapper.style[fromBottom ? "top" : "bottom"] = "";
|
|
3073
|
-
}
|
|
3074
|
-
if (horizontalPosition != undefined) {
|
|
3075
|
-
this._listWrapper.style[fromRight ? "right" : "left"] = `${horizontalPosition}px`;
|
|
3076
|
-
this._listWrapper.style[fromRight ? "left" : "right"] = "";
|
|
3077
|
-
}
|
|
3078
|
-
}
|
|
3079
|
-
getListPosition() {
|
|
3080
|
-
if (this.listOptionsPosition) {
|
|
3081
|
-
return this.listOptionsPosition;
|
|
3082
|
-
}
|
|
3083
|
-
return {
|
|
3084
|
-
verticalPosition: 6
|
|
3085
|
-
};
|
|
3086
|
-
}
|
|
3087
3020
|
isDifferentValues(firstValue, secondValue) {
|
|
3088
3021
|
return ObjectUtils$1.objectToString(firstValue || {}) !== ObjectUtils$1.objectToString(secondValue || {});
|
|
3089
3022
|
}
|
|
@@ -3156,85 +3089,24 @@ const EzComboBox$1 = class extends HTMLElement$1 {
|
|
|
3156
3089
|
}
|
|
3157
3090
|
return 0;
|
|
3158
3091
|
}
|
|
3159
|
-
buildItem(opt, index) {
|
|
3160
|
-
const widthValue = this.showOptionValue && this._maxWidthValue > 0 ? `${this._maxWidthValue}px` : '';
|
|
3161
|
-
opt.label = opt.label || opt.value;
|
|
3162
|
-
return h("li", { class: index === this._preSelection ? "item preselected" : "item", id: `item_${opt.value}`, onMouseDown: () => this.selectOption(opt), onMouseOver: () => this._preSelection = index }, this.showOptionValue
|
|
3163
|
-
? h("span", { class: "item__value", title: opt.value, style: { width: widthValue, minWidth: widthValue, maxWidth: widthValue } }, opt.value)
|
|
3164
|
-
: undefined, h("span", { class: "item__label " + (this.showOptionValue ? "item__label--bold" : ""), title: opt.label }, opt.label));
|
|
3165
|
-
}
|
|
3166
3092
|
showOptions() {
|
|
3167
3093
|
var _a, _b;
|
|
3168
3094
|
if (!this.enabled)
|
|
3169
3095
|
return;
|
|
3170
|
-
|
|
3171
|
-
return;
|
|
3172
|
-
}
|
|
3096
|
+
this.openPopover();
|
|
3173
3097
|
const valueString = (_b = (_a = this.value) === null || _a === void 0 ? void 0 : _a.value) !== null && _b !== void 0 ? _b : this.value;
|
|
3174
3098
|
const indexValue = this._visibleOptions.findIndex(option => option.value === valueString);
|
|
3175
3099
|
this._preSelection = indexValue === -1 ? 0 : indexValue;
|
|
3176
3100
|
if (!!this._resizeObserver)
|
|
3177
3101
|
this._resizeObserver.observe(this._textInput);
|
|
3178
|
-
this._floatingID = FloatingManager.float(this._listWrapper, this._listContainer, { autoClose: true, isFixed: true, backClickListener: () => this.hideOptions() });
|
|
3179
3102
|
this.setFocus();
|
|
3180
|
-
window.requestAnimationFrame(() => {
|
|
3181
|
-
this.updateListPosition();
|
|
3182
|
-
if (!this.listOptionsPosition) {
|
|
3183
|
-
this._listWrapper.scrollIntoView({ behavior: "smooth", block: "nearest", inline: "nearest" });
|
|
3184
|
-
}
|
|
3185
|
-
});
|
|
3186
3103
|
}
|
|
3187
3104
|
hideOptions() {
|
|
3188
|
-
|
|
3189
|
-
|
|
3190
|
-
}
|
|
3191
|
-
this._floatingID = undefined;
|
|
3105
|
+
var _a;
|
|
3106
|
+
(_a = this._popover) === null || _a === void 0 ? void 0 : _a.hide();
|
|
3192
3107
|
if (!!this._resizeObserver)
|
|
3193
3108
|
this._resizeObserver.unobserve(this._textInput);
|
|
3194
3109
|
}
|
|
3195
|
-
isOptionsVisible() {
|
|
3196
|
-
return this._floatingID !== undefined && FloatingManager.isFloating(this._floatingID);
|
|
3197
|
-
}
|
|
3198
|
-
nextOption() {
|
|
3199
|
-
if (!this.isOptionsVisible()) {
|
|
3200
|
-
return;
|
|
3201
|
-
}
|
|
3202
|
-
this.showOptions();
|
|
3203
|
-
this._preSelection = this._preSelection === undefined ? 0 : Math.min(this._preSelection + 1, this._visibleOptions.length - 1);
|
|
3204
|
-
this.scrollToOption(this._visibleOptions[this._preSelection]);
|
|
3205
|
-
}
|
|
3206
|
-
previousOption() {
|
|
3207
|
-
this._preSelection = this._preSelection === undefined ? 0 : Math.max(this._preSelection - 1, 0);
|
|
3208
|
-
this.scrollToOption(this._visibleOptions[this._preSelection]);
|
|
3209
|
-
}
|
|
3210
|
-
scrollToOption(opt) {
|
|
3211
|
-
window.requestAnimationFrame(() => {
|
|
3212
|
-
const liElem = (opt === null || opt === void 0 ? void 0 : opt.value) ? this._optionsList.querySelector(`li#item_${opt.value.replace(/[<>\[\]#=]/g, '\\$&').replace(/:/g, '\\:')}`) : undefined;
|
|
3213
|
-
if (liElem)
|
|
3214
|
-
liElem.scrollIntoView({ behavior: "smooth", block: "nearest" });
|
|
3215
|
-
});
|
|
3216
|
-
}
|
|
3217
|
-
selectCurrentOption(focusOnInput = true) {
|
|
3218
|
-
if (this._preSelection !== undefined) {
|
|
3219
|
-
this.selectOption(this._visibleOptions[this._preSelection], focusOnInput);
|
|
3220
|
-
this._preSelection = undefined;
|
|
3221
|
-
}
|
|
3222
|
-
else {
|
|
3223
|
-
this.controlListWithOnlyOne(focusOnInput);
|
|
3224
|
-
}
|
|
3225
|
-
}
|
|
3226
|
-
controlListWithOnlyOne(focusOnInput = true) {
|
|
3227
|
-
var _a;
|
|
3228
|
-
const source = (_a = this._visibleOptions) === null || _a === void 0 ? void 0 : _a.filter((opt) => opt.label !== "" && opt.value != undefined);
|
|
3229
|
-
if ((source === null || source === void 0 ? void 0 : source.length) > 0) {
|
|
3230
|
-
let title = StringUtils$1.decodeHtmlEntities(source[0].label);
|
|
3231
|
-
const option = {
|
|
3232
|
-
value: source[0].value,
|
|
3233
|
-
label: title,
|
|
3234
|
-
};
|
|
3235
|
-
this.selectOption(option, focusOnInput);
|
|
3236
|
-
}
|
|
3237
|
-
}
|
|
3238
3110
|
updateSource(source) {
|
|
3239
3111
|
this._startLoading = false;
|
|
3240
3112
|
if (source instanceof Promise) {
|
|
@@ -3260,12 +3132,13 @@ const EzComboBox$1 = class extends HTMLElement$1 {
|
|
|
3260
3132
|
}
|
|
3261
3133
|
}
|
|
3262
3134
|
selectOption(newOption, focusOnInput = true) {
|
|
3263
|
-
var _a, _b;
|
|
3135
|
+
var _a, _b, _c;
|
|
3264
3136
|
const currentValue = this.getSelectedOption(this.value);
|
|
3265
3137
|
if ((((_a = currentValue === null || currentValue === void 0 ? void 0 : currentValue.value) === null || _a === void 0 ? void 0 : _a.toString()) !== ((_b = newOption === null || newOption === void 0 ? void 0 : newOption.value) === null || _b === void 0 ? void 0 : _b.toString()))
|
|
3266
3138
|
|| (currentValue == undefined && newOption != undefined && "value" in newOption)) {
|
|
3267
3139
|
const adjustedOpt = !(newOption === null || newOption === void 0 ? void 0 : newOption.value) ? undefined : newOption;
|
|
3268
3140
|
this.value = adjustedOpt;
|
|
3141
|
+
(_c = this._popover) === null || _c === void 0 ? void 0 : _c.hide();
|
|
3269
3142
|
}
|
|
3270
3143
|
else {
|
|
3271
3144
|
this.resetOptions();
|
|
@@ -3318,6 +3191,11 @@ const EzComboBox$1 = class extends HTMLElement$1 {
|
|
|
3318
3191
|
//---------------------------------------------
|
|
3319
3192
|
// Lifecycle web component
|
|
3320
3193
|
//---------------------------------------------
|
|
3194
|
+
componentDidRender() {
|
|
3195
|
+
if (this._textInput) {
|
|
3196
|
+
this._textInputReady = true;
|
|
3197
|
+
}
|
|
3198
|
+
}
|
|
3321
3199
|
componentWillLoad() {
|
|
3322
3200
|
if (this.options === undefined) {
|
|
3323
3201
|
this.options = [];
|
|
@@ -3336,15 +3214,6 @@ const EzComboBox$1 = class extends HTMLElement$1 {
|
|
|
3336
3214
|
}
|
|
3337
3215
|
this.loadOptions(SearchMode$1.PRELOAD);
|
|
3338
3216
|
}
|
|
3339
|
-
componentDidRender() {
|
|
3340
|
-
var _a;
|
|
3341
|
-
if (this._floatingID === undefined) {
|
|
3342
|
-
this._listWrapper.remove();
|
|
3343
|
-
}
|
|
3344
|
-
(_a = this._optionsList) === null || _a === void 0 ? void 0 : _a.querySelectorAll(".item").forEach((elem) => {
|
|
3345
|
-
ElementIDUtils.addIDInfoIfNotExists(elem, "itemComboBox");
|
|
3346
|
-
});
|
|
3347
|
-
}
|
|
3348
3217
|
componentDidLoad() {
|
|
3349
3218
|
CSSVarsUtils.applyVarsTextInput(this.el, this._textInput);
|
|
3350
3219
|
this.setInputValue(false);
|
|
@@ -3352,10 +3221,12 @@ const EzComboBox$1 = class extends HTMLElement$1 {
|
|
|
3352
3221
|
window.requestAnimationFrame(() => {
|
|
3353
3222
|
if (!Array.isArray(entries) || !entries.length)
|
|
3354
3223
|
return;
|
|
3355
|
-
|
|
3356
|
-
|
|
3357
|
-
|
|
3358
|
-
|
|
3224
|
+
if (!this._textInput)
|
|
3225
|
+
return;
|
|
3226
|
+
if (!this._comboBoxList)
|
|
3227
|
+
return;
|
|
3228
|
+
const textInputWidth = this._textInput.clientWidth;
|
|
3229
|
+
this._comboBoxList.width = textInputWidth;
|
|
3359
3230
|
});
|
|
3360
3231
|
});
|
|
3361
3232
|
if (this.autoFocus) {
|
|
@@ -3364,6 +3235,13 @@ const EzComboBox$1 = class extends HTMLElement$1 {
|
|
|
3364
3235
|
});
|
|
3365
3236
|
}
|
|
3366
3237
|
}
|
|
3238
|
+
disconnectedCallback() {
|
|
3239
|
+
var _a;
|
|
3240
|
+
(_a = this._popover) === null || _a === void 0 ? void 0 : _a.remove();
|
|
3241
|
+
if (this._resizeObserver) {
|
|
3242
|
+
this._resizeObserver.disconnect();
|
|
3243
|
+
}
|
|
3244
|
+
}
|
|
3367
3245
|
//---------------------------------------------
|
|
3368
3246
|
// Event handlers
|
|
3369
3247
|
//---------------------------------------------
|
|
@@ -3403,65 +3281,48 @@ const EzComboBox$1 = class extends HTMLElement$1 {
|
|
|
3403
3281
|
this.showOptions();
|
|
3404
3282
|
}
|
|
3405
3283
|
keyDownHandler(event) {
|
|
3406
|
-
|
|
3407
|
-
if (event.ctrlKey) {
|
|
3408
|
-
|
|
3409
|
-
|
|
3410
|
-
|
|
3411
|
-
|
|
3412
|
-
//não é interessante deixar o evento propagar;
|
|
3413
|
-
event.stopPropagation();
|
|
3414
|
-
event.stopImmediatePropagation();
|
|
3415
|
-
event.preventDefault();
|
|
3416
|
-
}
|
|
3284
|
+
var _a, _b, _c, _d, _e, _f;
|
|
3285
|
+
if (event.ctrlKey && (event.key === "f" || event.key === "F")) {
|
|
3286
|
+
this.loadOptions(SearchMode$1.ADVANCED);
|
|
3287
|
+
event.preventDefault();
|
|
3288
|
+
event.stopPropagation();
|
|
3289
|
+
return;
|
|
3417
3290
|
}
|
|
3418
3291
|
switch (event.key) {
|
|
3419
3292
|
case "ArrowDown":
|
|
3420
|
-
event.
|
|
3421
|
-
if (this.canShowListOptions())
|
|
3422
|
-
|
|
3423
|
-
|
|
3424
|
-
|
|
3293
|
+
event.preventDefault();
|
|
3294
|
+
if (this.canShowListOptions()) {
|
|
3295
|
+
this.showOptions();
|
|
3296
|
+
(_a = this._comboBoxList) === null || _a === void 0 ? void 0 : _a.nextOption();
|
|
3297
|
+
}
|
|
3425
3298
|
break;
|
|
3426
3299
|
case "ArrowUp":
|
|
3427
|
-
event.
|
|
3428
|
-
if (this.canShowListOptions())
|
|
3429
|
-
|
|
3430
|
-
|
|
3431
|
-
|
|
3300
|
+
event.preventDefault();
|
|
3301
|
+
if (this.canShowListOptions()) {
|
|
3302
|
+
this.showOptions();
|
|
3303
|
+
(_b = this._comboBoxList) === null || _b === void 0 ? void 0 : _b.previousOption();
|
|
3304
|
+
}
|
|
3432
3305
|
break;
|
|
3433
3306
|
case "Enter":
|
|
3434
|
-
this.
|
|
3435
|
-
|
|
3436
|
-
this.selectCurrentOption();
|
|
3307
|
+
if (this.isOpen) {
|
|
3308
|
+
event.preventDefault();
|
|
3309
|
+
(_c = this._comboBoxList) === null || _c === void 0 ? void 0 : _c.selectCurrentOption();
|
|
3437
3310
|
}
|
|
3438
3311
|
break;
|
|
3439
3312
|
case "Escape":
|
|
3440
|
-
if (this.
|
|
3441
|
-
event.
|
|
3313
|
+
if (this.isOpen) {
|
|
3314
|
+
event.preventDefault();
|
|
3315
|
+
(_d = this._popover) === null || _d === void 0 ? void 0 : _d.hide();
|
|
3442
3316
|
}
|
|
3443
|
-
this.cancelPreselection();
|
|
3444
|
-
this.resetOptions();
|
|
3445
3317
|
break;
|
|
3446
3318
|
case "Tab":
|
|
3447
3319
|
this._tabPressed = true;
|
|
3448
|
-
if (this.
|
|
3449
|
-
this.selectCurrentOption(
|
|
3320
|
+
if (this.isOpen) {
|
|
3321
|
+
(_e = this._comboBoxList) === null || _e === void 0 ? void 0 : _e.selectCurrentOption();
|
|
3322
|
+
(_f = this._popover) === null || _f === void 0 ? void 0 : _f.hide();
|
|
3450
3323
|
}
|
|
3451
|
-
this.resetOptions();
|
|
3452
3324
|
break;
|
|
3453
3325
|
}
|
|
3454
|
-
//ATENÇÃO: Existe a necessidade de propagar o evento de teclado.
|
|
3455
|
-
//Por exemplo, quando o usuário dá um Enter, além de selecionar
|
|
3456
|
-
//um valor, também significa que a ateração finalizou,
|
|
3457
|
-
//e o contexto pode reagir (fechar um popup por exemplo).
|
|
3458
|
-
//event.stopPropagation();
|
|
3459
|
-
}
|
|
3460
|
-
//O evento deve ter sua propagação interrompida, apenas se a lista de opções estiver sendo exibida.
|
|
3461
|
-
handleEventPropagation(event) {
|
|
3462
|
-
if (this._listContainer.hasChildNodes() && this.stopPropagateEnterKeyEvent) {
|
|
3463
|
-
event.stopPropagation();
|
|
3464
|
-
}
|
|
3465
3326
|
}
|
|
3466
3327
|
onTextInputFocusOutHandler() {
|
|
3467
3328
|
if (this.hideErrorOnFocusOut)
|
|
@@ -3470,14 +3331,15 @@ const EzComboBox$1 = class extends HTMLElement$1 {
|
|
|
3470
3331
|
canShowListOptions() {
|
|
3471
3332
|
return !this._showLoading && this._visibleOptions.length > 0;
|
|
3472
3333
|
}
|
|
3334
|
+
openPopover() {
|
|
3335
|
+
var _a;
|
|
3336
|
+
this.isOpen = true;
|
|
3337
|
+
(_a = this._popover) === null || _a === void 0 ? void 0 : _a.show();
|
|
3338
|
+
}
|
|
3473
3339
|
render() {
|
|
3340
|
+
var _a;
|
|
3474
3341
|
ElementIDUtils.addIDInfoIfNotExists(this.el, 'input');
|
|
3475
|
-
return (h(Host, null, h("ez-text-input", { "data-element-id": ElementIDUtils.getInternalIDInfo("textInput"), class: `text-input-slot-container ${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: "rightIcon", disabled: !this.enabled, tabindex: -1, onClick: () => this.handlerIconClick() }, h("ez-icon", { iconName: "chevron-down" }))), h("
|
|
3476
|
-
&& this._visibleOptions.length === 0
|
|
3477
|
-
&& h("div", { class: "message" }, h("span", { class: "message__no-result" }, this._textEmptyList)), this._showLoading
|
|
3478
|
-
&& h("div", { class: "message" }, h("div", { class: "message__loading" })), this.showOptionValue
|
|
3479
|
-
? h("span", { class: "item__value item__value--hidden", ref: elem => this._itemValueBasis = elem })
|
|
3480
|
-
: undefined, this.canShowListOptions() && this._visibleOptions.map((opt, index) => this.buildItem(opt, index)))))));
|
|
3342
|
+
return (h(Host, null, h("ez-text-input", { "data-element-id": ElementIDUtils.getInternalIDInfo("textInput"), class: `text-input-slot-container ${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: "rightIcon", disabled: !this.enabled, tabindex: -1, onClick: () => this.handlerIconClick() }, h("ez-icon", { iconName: "chevron-down" }))), h("ez-popover-plus", { ref: elem => this._popover = elem, anchorElement: this._textInput, autoClose: true, boxWidth: 'fit-content', overlayType: 'none', onEzVisibilityChange: event => this.isOpen = event.detail }, h("ez-combo-box-list", { ref: ref => this._comboBoxList = ref, showLoading: this._showLoading, visibleOptions: this._visibleOptions, textEmptyList: this._textEmptyList, showOptionValue: this.showOptionValue, preSelection: this._preSelection, maxWidth: this._maxWidthValue, width: (_a = this._textInput) === null || _a === void 0 ? void 0 : _a.clientWidth, onOptionSelect: (opt) => this.selectOption(opt), onOptionHover: (index) => this._preSelection = index }))));
|
|
3481
3343
|
}
|
|
3482
3344
|
get el() { return this; }
|
|
3483
3345
|
static get watchers() { return {
|
|
@@ -3494,6 +3356,158 @@ var SearchMode$1;
|
|
|
3494
3356
|
SearchMode["PREDICTIVE"] = "PREDICTIVE";
|
|
3495
3357
|
})(SearchMode$1 || (SearchMode$1 = {}));
|
|
3496
3358
|
|
|
3359
|
+
const ezComboBoxListCss = ":host{--ez-combo-box--border-radius:var(--border--radius-medium, 12px);--ez-combo-box--font-size:var(--text--medium, 14px);--ez-combo-box--font-family:var(--font-pattern, Arial);--ez-combo-box--font-weight--large:var(--text-weight--large, 500);--ez-combo-box--font-weight--medium:var(--text-weight--medium, 400);--ez-combo-box--background-color--xlight:var(--background--xlight, #fff);--ez-combo-box--background-medium:var(--background--medium, #f0f3f7);--ez-combo-box--line-height:calc(var(--text--medium, 14px) + 4px);--ez-combo-box__list-title--primary:var(--title--primary, #2B3A54);--ez-combo-box__list-text--primary:var(--text--primary, #626e82);--ez-combo-box__list-height:calc(var(--ez-combo-box--font-size) + var(--ez-combo-box--space--medium) + 4px);--ez-combo-box--space--medium:var(--space--medium, 12px);--ez-combo-box--space--small:var(--space--small, 6px);--ez-combo-box__scrollbar--color-default:var(--scrollbar--default, #626e82);--ez-combo-box__scrollbar--color-background:var(--scrollbar--background, #E5EAF0);--ez-combo-box__scrollbar--color-hover:var(--scrollbar--hover, #2B3A54);--ez-combo-box__scrollbar--color-clicked:var(--scrollbar--clicked, #a2abb9);--ez-combo-box__scrollbar--border-radius:var(--border--radius-small, 6px);--ez-combo-box__scrollbar--width:var(--space--medium, 12px);--ez-combo-box__list-container--padding:var(--space--extra-small, 3px)}.list-container{padding-top:var(--ez-combo-box__list-container--padding)}.list-wrapper{display:flex;flex-direction:column;box-sizing:border-box;width:0;z-index:var(--more-visible, 2);max-height:calc(4*var(--ez-combo-box__list-height) + 2*var(--ez-combo-box--space--small) + 9px);background-color:var(--ez-combo-box--background-color--xlight);border-radius:var(--ez-combo-box--border-radius);box-shadow:var(--shadow--medium, 0 8px 24px 0 rgba(43, 58, 84, 0.10));padding:var(--ez-combo-box--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-combo-box__scrollbar--color-clicked) var(--ez-combo-box__scrollbar--color-background)}.list-options::-webkit-scrollbar{background-color:var(--ez-combo-box__scrollbar--color-background);width:var(--ez-combo-box__scrollbar--width);max-width:var(--ez-combo-box__scrollbar--width);min-width:var(--ez-combo-box__scrollbar--width)}.list-options::-webkit-scrollbar-track{background-color:var(--ez-combo-box__scrollbar--color-background);border-radius:var(--ez-combo-box__scrollbar--border-radius)}.list-options::-webkit-scrollbar-thumb{background-color:var(--ez-combo-box__scrollbar--color-default);border-radius:var(--ez-combo-box__scrollbar--border-radius)}.list-options::-webkit-scrollbar-thumb:vertical:hover,.list-options::-webkit-scrollbar-thumb:horizontal:hover{background-color:var(--ez-combo-box__scrollbar--color-hover)}.list-options::-webkit-scrollbar-thumb:vertical:active,.list-options::-webkit-scrollbar-thumb:horizontal:active{background-color:var(--ez-combo-box__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-combo-box--border-radius-small);padding:var(--ez-combo-box--space--small);min-height:var(--ez-combo-box__list-height);gap:var(--space--small, 6px)}.item__value,.item__label{flex-basis:auto;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:var(--ez-combo-box__list-title--primary);font-family:var(--ez-combo-box--font-family);font-size:var(--ez-combo-box--font-size);line-height:var(--ez-combo-box--line-height)}.item__label{font-weight:var(--ez-combo-box--font-weight--medium)}.item__label--bold{font-weight:var(--ez-combo-box--font-weight--large)}.item__value{text-align:center;color:var(--ez-combo-box__list-text--primary);font-weight:var(--ez-combo-box--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-combo-box__list-height)}.message__no-result{color:var(--ez-combo-box__list-title--primary);font-family:var(--ez-combo-box--font-family);font-size:var(--ez-combo-box--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-combo-box__list-title--primary);border-top:3px solid transparent}li:hover{background-color:var(--ez-combo-box--background-medium)}.preselected{background-color:var(--background--medium)}@-webkit-keyframes spin{0%{-webkit-transform:rotate(0deg)}100%{-webkit-transform:rotate(360deg)}}@keyframes spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}";
|
|
3360
|
+
|
|
3361
|
+
const EzComboBoxList$1 = class extends HTMLElement$1 {
|
|
3362
|
+
constructor() {
|
|
3363
|
+
super();
|
|
3364
|
+
this.__registerHost();
|
|
3365
|
+
this.__attachShadow();
|
|
3366
|
+
this.showLoading = undefined;
|
|
3367
|
+
this.visibleOptions = undefined;
|
|
3368
|
+
this.textEmptyList = "Nenhum resultado encontrado";
|
|
3369
|
+
this.showOptionValue = undefined;
|
|
3370
|
+
this.preSelection = undefined;
|
|
3371
|
+
this.maxWidth = undefined;
|
|
3372
|
+
this.width = undefined;
|
|
3373
|
+
this.onOptionSelect = undefined;
|
|
3374
|
+
this.onOptionHover = undefined;
|
|
3375
|
+
}
|
|
3376
|
+
/**
|
|
3377
|
+
* Move a seleção para a próxima opção na lista.
|
|
3378
|
+
*/
|
|
3379
|
+
async nextOption() {
|
|
3380
|
+
var _a;
|
|
3381
|
+
if (!this.visibleOptions || this.visibleOptions.length === 0)
|
|
3382
|
+
return;
|
|
3383
|
+
const isAtLastOption = this.preSelection !== undefined && this.preSelection >= this.visibleOptions.length - 1;
|
|
3384
|
+
if (!isAtLastOption) {
|
|
3385
|
+
this.preSelection = this.preSelection === undefined ? 0 : this.preSelection + 1;
|
|
3386
|
+
this.scrollToOption(this.visibleOptions[this.preSelection]);
|
|
3387
|
+
(_a = this.onOptionHover) === null || _a === void 0 ? void 0 : _a.call(this, this.preSelection);
|
|
3388
|
+
}
|
|
3389
|
+
}
|
|
3390
|
+
/**
|
|
3391
|
+
* Move a seleção para a opção anterior na lista, sem ultrapassar o início.
|
|
3392
|
+
*/
|
|
3393
|
+
async previousOption() {
|
|
3394
|
+
var _a;
|
|
3395
|
+
if (!this.visibleOptions || this.visibleOptions.length === 0)
|
|
3396
|
+
return;
|
|
3397
|
+
const isAtFirstOption = this.preSelection !== undefined && this.preSelection <= 0;
|
|
3398
|
+
if (!isAtFirstOption) {
|
|
3399
|
+
this.preSelection = this.preSelection === undefined ? this.visibleOptions.length - 1 : this.preSelection - 1;
|
|
3400
|
+
this.scrollToOption(this.visibleOptions[this.preSelection]);
|
|
3401
|
+
(_a = this.onOptionHover) === null || _a === void 0 ? void 0 : _a.call(this, this.preSelection);
|
|
3402
|
+
}
|
|
3403
|
+
}
|
|
3404
|
+
/**
|
|
3405
|
+
* Seleciona a opção atualmente pré-selecionada.
|
|
3406
|
+
*/
|
|
3407
|
+
async selectCurrentOption() {
|
|
3408
|
+
if (this.preSelection !== undefined) {
|
|
3409
|
+
this.onOptionSelect(this.visibleOptions[this.preSelection]);
|
|
3410
|
+
this.preSelection = undefined;
|
|
3411
|
+
}
|
|
3412
|
+
}
|
|
3413
|
+
/**
|
|
3414
|
+
* Observa mudanças na propriedade `width` e ajusta a largura da lista.
|
|
3415
|
+
*
|
|
3416
|
+
* @param newValue O novo valor da largura.
|
|
3417
|
+
* @param oldValue O valor anterior da largura.
|
|
3418
|
+
*/
|
|
3419
|
+
observeWidth(newValue, oldValue) {
|
|
3420
|
+
if (newValue === oldValue)
|
|
3421
|
+
return;
|
|
3422
|
+
if (!this._listWrapper)
|
|
3423
|
+
return;
|
|
3424
|
+
this._listWrapper.style.width = `${this.width}px`;
|
|
3425
|
+
}
|
|
3426
|
+
/**
|
|
3427
|
+
* Observa mudanças na propriedade `maxWidth` e ajusta a largura máxima da lista.
|
|
3428
|
+
*
|
|
3429
|
+
* @param newValue O novo valor da largura máxima.
|
|
3430
|
+
* @param oldValue O valor anterior da largura máxima.
|
|
3431
|
+
*/
|
|
3432
|
+
observeMaxWidth(newValue, oldValue) {
|
|
3433
|
+
if (newValue === oldValue)
|
|
3434
|
+
return;
|
|
3435
|
+
if (!this._listWrapper)
|
|
3436
|
+
return;
|
|
3437
|
+
this._listWrapper.style.maxWidth = this.maxWidth ? `${this.maxWidth}px` : '';
|
|
3438
|
+
}
|
|
3439
|
+
/**
|
|
3440
|
+
* Gerencia a navegação por teclado na lista do combo box.
|
|
3441
|
+
*
|
|
3442
|
+
* - `ArrowDown`: Move para a próxima opção.
|
|
3443
|
+
* - `ArrowUp`: Move para a opção anterior.
|
|
3444
|
+
* - `Enter`: Seleciona a opção atual.
|
|
3445
|
+
* - `Escape`: Limpa a pré-seleção.
|
|
3446
|
+
*
|
|
3447
|
+
* @param event O evento de teclado.
|
|
3448
|
+
*/
|
|
3449
|
+
handleKeyDown(event) {
|
|
3450
|
+
switch (event.key) {
|
|
3451
|
+
case "ArrowDown":
|
|
3452
|
+
event.preventDefault();
|
|
3453
|
+
event.stopPropagation();
|
|
3454
|
+
this.nextOption();
|
|
3455
|
+
break;
|
|
3456
|
+
case "ArrowUp":
|
|
3457
|
+
event.preventDefault();
|
|
3458
|
+
event.stopPropagation();
|
|
3459
|
+
this.previousOption();
|
|
3460
|
+
break;
|
|
3461
|
+
case "Enter":
|
|
3462
|
+
this.selectCurrentOption();
|
|
3463
|
+
break;
|
|
3464
|
+
case "Escape":
|
|
3465
|
+
this.preSelection = undefined;
|
|
3466
|
+
break;
|
|
3467
|
+
}
|
|
3468
|
+
}
|
|
3469
|
+
buildItem(opt, index) {
|
|
3470
|
+
const widthValue = this.showOptionValue && this.maxWidth > 0 ? `${this.maxWidth}px` : '';
|
|
3471
|
+
opt.label = opt.label || opt.value;
|
|
3472
|
+
return h("li", { tabIndex: 1, class: index === this.preSelection ? "item preselected" : "item", id: `item_${opt.value}_${index}`, key: `item_${opt.value}_${index}`, onMouseDown: () => this.onOptionSelect(opt), onMouseOver: () => this.preSelection = index }, this.showOptionValue
|
|
3473
|
+
? h("span", { class: "item__value", title: opt.value, style: { width: widthValue, minWidth: widthValue, maxWidth: widthValue } }, opt.value)
|
|
3474
|
+
: undefined, h("span", { class: "item__label " + (this.showOptionValue ? "item__label--bold" : ""), title: opt.label }, opt.label));
|
|
3475
|
+
}
|
|
3476
|
+
scrollToOption(opt) {
|
|
3477
|
+
if (!opt || !opt.value || !this._optionsList)
|
|
3478
|
+
return;
|
|
3479
|
+
const index = this.visibleOptions.indexOf(opt);
|
|
3480
|
+
if (index === -1)
|
|
3481
|
+
return;
|
|
3482
|
+
const liElem = this._optionsList.querySelector(`li#item_${CSS.escape(opt.value)}_${CSS.escape(String(index))}`);
|
|
3483
|
+
if (liElem) {
|
|
3484
|
+
liElem.scrollIntoView({
|
|
3485
|
+
behavior: "smooth",
|
|
3486
|
+
block: "nearest"
|
|
3487
|
+
});
|
|
3488
|
+
}
|
|
3489
|
+
}
|
|
3490
|
+
componentDidLoad() {
|
|
3491
|
+
this._listWrapper.style.width = `${this.width}px`;
|
|
3492
|
+
this._listWrapper.style.maxWidth = this.maxWidth ? `${this.maxWidth}px` : '';
|
|
3493
|
+
}
|
|
3494
|
+
componentDidRender() {
|
|
3495
|
+
var _a;
|
|
3496
|
+
(_a = this._optionsList) === null || _a === void 0 ? void 0 : _a.querySelectorAll(".item").forEach((elem) => {
|
|
3497
|
+
ElementIDUtils.addIDInfoIfNotExists(elem, "itemComboBox");
|
|
3498
|
+
});
|
|
3499
|
+
}
|
|
3500
|
+
render() {
|
|
3501
|
+
return (h("section", { class: "list-container" }, h("div", { class: "list-wrapper", ref: elem => this._listWrapper = elem }, h("ul", { class: "list-options", ref: elem => this._optionsList = elem }, !this.showLoading && this.visibleOptions.length === 0 && (h("div", { class: "message" }, h("span", { class: "message__no-result" }, this.textEmptyList))), this.showLoading && (h("div", { class: "message" }, h("div", { class: "message__loading" }))), this.showOptionValue && (h("span", { class: "item__value item__value--hidden" })), !this.showLoading && this.visibleOptions.length > 0 &&
|
|
3502
|
+
this.visibleOptions.map((opt, index) => this.buildItem(opt, index))))));
|
|
3503
|
+
}
|
|
3504
|
+
static get watchers() { return {
|
|
3505
|
+
"width": ["observeWidth"],
|
|
3506
|
+
"maxWidth": ["observeMaxWidth"]
|
|
3507
|
+
}; }
|
|
3508
|
+
static get style() { return ezComboBoxListCss; }
|
|
3509
|
+
};
|
|
3510
|
+
|
|
3497
3511
|
const EzCustomFormInput$1 = class extends HTMLElement$1 {
|
|
3498
3512
|
constructor() {
|
|
3499
3513
|
super();
|
|
@@ -71985,6 +71999,9 @@ class AgGridController {
|
|
|
71985
71999
|
if (cfgColumn.customWidth != undefined) {
|
|
71986
72000
|
return cfgColumn.customWidth;
|
|
71987
72001
|
}
|
|
72002
|
+
if (cfgColumn.width != undefined) {
|
|
72003
|
+
return cfgColumn.width;
|
|
72004
|
+
}
|
|
71988
72005
|
const field = (_a = this._dataUnit) === null || _a === void 0 ? void 0 : _a.getField(cfgColumn.name);
|
|
71989
72006
|
if ((field === null || field === void 0 ? void 0 : field.userInterface) === UserInterface.SEARCH) {
|
|
71990
72007
|
return this.DEFAULT_MAX_SIZE;
|
|
@@ -72565,6 +72582,20 @@ const EzGrid$1 = class extends HTMLElement$1 {
|
|
|
72565
72582
|
.then(() => this.resetPaginationState());
|
|
72566
72583
|
}
|
|
72567
72584
|
}
|
|
72585
|
+
nextRecord() {
|
|
72586
|
+
if (this.dataUnit) {
|
|
72587
|
+
if (this.dataUnit.getSelectionInfo().records.length === 0) {
|
|
72588
|
+
this.dataUnit.selectFirst();
|
|
72589
|
+
return;
|
|
72590
|
+
}
|
|
72591
|
+
this.dataUnit.nextRecord();
|
|
72592
|
+
}
|
|
72593
|
+
}
|
|
72594
|
+
previousRecord() {
|
|
72595
|
+
if (this.dataUnit) {
|
|
72596
|
+
this.dataUnit.previousRecord();
|
|
72597
|
+
}
|
|
72598
|
+
}
|
|
72568
72599
|
resetPaginationState() {
|
|
72569
72600
|
var _a;
|
|
72570
72601
|
this._paginationChangedByKeyboard = false;
|
|
@@ -72647,6 +72678,7 @@ const EzGrid$1 = class extends HTMLElement$1 {
|
|
|
72647
72678
|
this._gridController.configFilterColumn(this._filterColumn);
|
|
72648
72679
|
if (this.paginationCounterMode === 'auto')
|
|
72649
72680
|
this._initHeaderOverflowWatcher();
|
|
72681
|
+
this.initKeyboardManager();
|
|
72650
72682
|
}
|
|
72651
72683
|
handlePaginationChange(selectFirstRecord, paginationInfo) {
|
|
72652
72684
|
var _a;
|
|
@@ -72713,6 +72745,7 @@ const EzGrid$1 = class extends HTMLElement$1 {
|
|
|
72713
72745
|
var _a, _b;
|
|
72714
72746
|
(_a = this._headerOverflowWatcher) === null || _a === void 0 ? void 0 : _a.destroy();
|
|
72715
72747
|
(_b = this._gridController) === null || _b === void 0 ? void 0 : _b.destroy();
|
|
72748
|
+
this.removeShortcuts();
|
|
72716
72749
|
}
|
|
72717
72750
|
connectedCallback() {
|
|
72718
72751
|
var _a;
|
|
@@ -72751,6 +72784,45 @@ const EzGrid$1 = class extends HTMLElement$1 {
|
|
|
72751
72784
|
return "left__header-expanded";
|
|
72752
72785
|
return "left__header-contracted";
|
|
72753
72786
|
}
|
|
72787
|
+
async initKeyboardManager() {
|
|
72788
|
+
this._keyboardManager = new KeyboardManager({ propagate: false, element: this._element });
|
|
72789
|
+
this._keyboardManager
|
|
72790
|
+
.bind("ctrl + .", () => {
|
|
72791
|
+
if (!this._paginationInfo)
|
|
72792
|
+
return;
|
|
72793
|
+
this.nextRecord();
|
|
72794
|
+
}, { description: "Avança para o próximo registro.", element: this._element })
|
|
72795
|
+
.bind("ctrl + ,", () => {
|
|
72796
|
+
if (!this._paginationInfo)
|
|
72797
|
+
return;
|
|
72798
|
+
this.previousRecord();
|
|
72799
|
+
}, { description: "Retorna ao registro anterior.", element: this._element })
|
|
72800
|
+
.bind("ctrl + alt + ArrowLeft", () => {
|
|
72801
|
+
if (!this._paginationInfo)
|
|
72802
|
+
return;
|
|
72803
|
+
const { currentPage } = this._paginationInfo;
|
|
72804
|
+
if (currentPage > 0) {
|
|
72805
|
+
this.previousPage();
|
|
72806
|
+
}
|
|
72807
|
+
}, { description: "Retorna a pagina anterior.", element: this._element })
|
|
72808
|
+
.bind("ctrl + alt + ArrowRight", () => {
|
|
72809
|
+
if (!this._paginationInfo)
|
|
72810
|
+
return;
|
|
72811
|
+
const { hasMore } = this._paginationInfo;
|
|
72812
|
+
if (hasMore) {
|
|
72813
|
+
this.nextPage();
|
|
72814
|
+
}
|
|
72815
|
+
}, { description: "Avança para a próxima página.", element: this._element });
|
|
72816
|
+
}
|
|
72817
|
+
async removeShortcuts() {
|
|
72818
|
+
if (this._keyboardManager) {
|
|
72819
|
+
this._keyboardManager
|
|
72820
|
+
.unbind("ctrl + .")
|
|
72821
|
+
.unbind("ctrl + ,")
|
|
72822
|
+
.unbind("ctrl + alt + ArrowLeft")
|
|
72823
|
+
.unbind("ctrl + alt + ArrowRight");
|
|
72824
|
+
}
|
|
72825
|
+
}
|
|
72754
72826
|
render() {
|
|
72755
72827
|
var _a;
|
|
72756
72828
|
return (h(Host, { "no-header": this.hideHeader() }, h("div", { class: {
|
|
@@ -72872,7 +72944,7 @@ const EzGuideNavigator$1 = class extends HTMLElement$1 {
|
|
|
72872
72944
|
static get style() { return ezGuideNavigatorCss; }
|
|
72873
72945
|
};
|
|
72874
72946
|
|
|
72875
|
-
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-\"]{font-family:'ez-icons' !important;font-size:16px;font-style:normal
|
|
72947
|
+
const ezIconCss = ":host{display:flex;overflow:hidden;position:relative;--ez-icon--color:var(--icon--color, #ffffff)}svg{display:flex;justify-content:center;align-items:center;fill:var(--ez-icon--color)}.x-small{width:12px;height:12px}.small{width:16px;height:16px}.medium{width:20px;height:20px}.large{width:24px;height:24px}.x-large{width:30px;height:30px}[class^=\"ez-icon-\"],[class*=\" ez-icon-\"]{color:var(--ez-icon--color)}[class^=\"ez-icon-\"],[class*=\" ez-icon-\"]{font-family:'ez-icons' !important;font-size:16px;font-style:normal;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.ez-icon-2chevron-down:before{content:\"\\ea01\"}.ez-icon-2chevron-up:before{content:\"\\ea02\"}.ez-icon-acao:before{content:\"\\ea03\"}.ez-icon-account-outline:before{content:\"\\ea04\"}.ez-icon-account:before{content:\"\\ea05\"}.ez-icon-add-to-cart:before{content:\"\\ea06\"}.ez-icon-alert-circle-inverted:before{content:\"\\ea07\"}.ez-icon-alert-circle:before{content:\"\\ea08\"}.ez-icon-alert-mail:before{content:\"\\ea09\"}.ez-icon-alert-popup:before{content:\"\\ea0a\"}.ez-icon-anexo:before{content:\"\\ea0b\"}.ez-icon-antecipação:before{content:\"\\ea0c\"}.ez-icon-apps:before{content:\"\\ea0d\"}.ez-icon-arrow-forward:before{content:\"\\ea0e\"}.ez-icon-arrow-upward:before{content:\"\\ea0f\"}.ez-icon-arrow_back:before{content:\"\\ea10\"}.ez-icon-arrow_downward:before{content:\"\\ea11\"}.ez-icon-baixa:before{content:\"\\ea12\"}.ez-icon-balance:before{content:\"\\ea13\"}.ez-icon-bell-inverted:before{content:\"\\ea14\"}.ez-icon-bell:before{content:\"\\ea15\"}.ez-icon-boleto:before{content:\"\\ea16\"}.ez-icon-boolean:before{content:\"\\ea17\"}.ez-icon-business-center:before{content:\"\\ea18\"}.ez-icon-calendar-clock:before{content:\"\\ea19\"}.ez-icon-calendar:before{content:\"\\ea1a\"}.ez-icon-cart-history:before{content:\"\\ea1b\"}.ez-icon-cash-remove:before{content:\"\\ea1c\"}.ez-icon-check-circle-inverted:before{content:\"\\ea1d\"}.ez-icon-check-circle:before{content:\"\\ea1e\"}.ez-icon-check:before{content:\"\\ea1f\"}.ez-icon-chevron-down:before{content:\"\\ea20\"}.ez-icon-chevron-left:before{content:\"\\ea21\"}.ez-icon-chevron-right:before{content:\"\\ea22\"}.ez-icon-chevron-up:before{content:\"\\ea23\"}.ez-icon-circle--medium:before{content:\"\\ea24\"}.ez-icon-circle:before{content:\"\\ea25\"}.ez-icon-clean-cart:before{content:\"\\ea26\"}.ez-icon-cleaning:before{content:\"\\ea27\"}.ez-icon-clipboard:before{content:\"\\ea28\"}.ez-icon-clock-rotate-left:before{content:\"\\ea29\"}.ez-icon-close:before{content:\"\\ea2a\"}.ez-icon-cobrar:before{content:\"\\ea2b\"}.ez-icon-code:before{content:\"\\ea2c\"}.ez-icon-configuration:before{content:\"\\ea2d\"}.ez-icon-content-cut:before{content:\"\\ea2e\"}.ez-icon-copy:before{content:\"\\ea2f\"}.ez-icon-credit_card:before{content:\"\\ea30\"}.ez-icon-crop:before{content:\"\\ea31\"}.ez-icon-custom:before{content:\"\\ea32\"}.ez-icon-delete-file:before{content:\"\\ea33\"}.ez-icon-delete:before{content:\"\\ea34\"}.ez-icon-description:before{content:\"\\ea35\"}.ez-icon-dividir:before{content:\"\\ea36\"}.ez-icon-docx:before{content:\"\\ea37\"}.ez-icon-dot-notification:before{content:\"\\ea38\"}.ez-icon-dots-horizontal:before{content:\"\\ea39\"}.ez-icon-dots-vertical:before{content:\"\\ea3a\"}.ez-icon-drag-indicator:before{content:\"\\ea3b\"}.ez-icon-dual-chevron-down:before{content:\"\\ea3c\"}.ez-icon-dual-chevron-left:before{content:\"\\ea3d\"}.ez-icon-dual-chevron-right:before{content:\"\\ea3e\"}.ez-icon-dual-chevron-up:before{content:\"\\ea3f\"}.ez-icon-edit-file:before{content:\"\\ea40\"}.ez-icon-edit-table:before{content:\"\\ea41\"}.ez-icon-edit-time:before{content:\"\\ea42\"}.ez-icon-edit-value:before{content:\"\\ea43\"}.ez-icon-edit:before{content:\"\\ea44\"}.ez-icon-email:before{content:\"\\ea45\"}.ez-icon-estorno:before{content:\"\\ea46\"}.ez-icon-exe:before{content:\"\\ea47\"}.ez-icon-expand:before{content:\"\\ea48\"}.ez-icon-expandir_card:before{content:\"\\ea49\"}.ez-icon-extrato:before{content:\"\\ea4a\"}.ez-icon-eye-off:before{content:\"\\ea4b\"}.ez-icon-eye:before{content:\"\\ea4c\"}.ez-icon-favorite:before{content:\"\\ea4d\"}.ez-icon-figma:before{content:\"\\ea4e\"}.ez-icon-file-download:before{content:\"\\ea4f\"}.ez-icon-file-upload:before{content:\"\\ea50\"}.ez-icon-filter:before{content:\"\\ea51\"}.ez-icon-find-file:before{content:\"\\ea52\"}.ez-icon-find-page:before{content:\"\\ea53\"}.ez-icon-format-color-fill:before{content:\"\\ea54\"}.ez-icon-generic:before{content:\"\\ea55\"}.ez-icon-gif:before{content:\"\\ea56\"}.ez-icon-graph_bar:before{content:\"\\ea57\"}.ez-icon-handshake:before{content:\"\\ea58\"}.ez-icon-help-inverted:before{content:\"\\ea59\"}.ez-icon-help:before{content:\"\\ea5a\"}.ez-icon-hide-list:before{content:\"\\ea5b\"}.ez-icon-hide_menu:before{content:\"\\ea5c\"}.ez-icon-hierarchical-tree:before{content:\"\\ea5d\"}.ez-icon-home:before{content:\"\\ea5e\"}.ez-icon-icons104:before{content:\"\\ea5f\"}.ez-icon-language:before{content:\"\\ea60\"}.ez-icon-launch:before{content:\"\\ea61\"}.ez-icon-lightbulb:before{content:\"\\ea62\"}.ez-icon-list:before{content:\"\\ea63\"}.ez-icon-location:before{content:\"\\ea64\"}.ez-icon-lock-outline:before{content:\"\\ea65\"}.ez-icon-lock:before{content:\"\\ea66\"}.ez-icon-menu:before{content:\"\\ea67\"}.ez-icon-mid:before{content:\"\\ea68\"}.ez-icon-minus:before{content:\"\\ea69\"}.ez-icon-money-off:before{content:\"\\ea6a\"}.ez-icon-money:before{content:\"\\ea6b\"}.ez-icon-more:before{content:\"\\ea6c\"}.ez-icon-mp3:before{content:\"\\ea6d\"}.ez-icon-mp4:before{content:\"\\ea6e\"}.ez-icon-multiple-files:before{content:\"\\ea6f\"}.ez-icon-north-west:before{content:\"\\ea70\"}.ez-icon-number:before{content:\"\\ea71\"}.ez-icon-ordem-ascendente:before{content:\"\\ea72\"}.ez-icon-ordem-descendente:before{content:\"\\ea73\"}.ez-icon-parcelar:before{content:\"\\ea74\"}.ez-icon-pause:before{content:\"\\ea75\"}.ez-icon-payments:before{content:\"\\ea76\"}.ez-icon-pdf:before{content:\"\\ea77\"}.ez-icon-play:before{content:\"\\ea78\"}.ez-icon-plus:before{content:\"\\ea79\"}.ez-icon-png:before{content:\"\\ea7a\"}.ez-icon-power:before{content:\"\\ea7b\"}.ez-icon-pptx:before{content:\"\\ea7c\"}.ez-icon-preview:before{content:\"\\ea7d\"}.ez-icon-print:before{content:\"\\ea7e\"}.ez-icon-push-pin:before{content:\"\\ea7f\"}.ez-icon-rateio:before{content:\"\\ea80\"}.ez-icon-receipt:before{content:\"\\ea81\"}.ez-icon-recolher_card:before{content:\"\\ea82\"}.ez-icon-remove-from-cart:before{content:\"\\ea83\"}.ez-icon-restore:before{content:\"\\ea84\"}.ez-icon-return:before{content:\"\\ea85\"}.ez-icon-sankhya-place:before{content:\"\\ea86\"}.ez-icon-save:before{content:\"\\ea87\"}.ez-icon-search:before{content:\"\\ea88\"}.ez-icon-settings-inverted:before{content:\"\\ea89\"}.ez-icon-settings:before{content:\"\\ea8a\"}.ez-icon-share:before{content:\"\\ea8b\"}.ez-icon-shield:before{content:\"\\ea8c\"}.ez-icon-show-list:before{content:\"\\ea8d\"}.ez-icon-show_menu:before{content:\"\\ea8e\"}.ez-icon-south-east:before{content:\"\\ea8f\"}.ez-icon-sync:before{content:\"\\ea90\"}.ez-icon-table:before{content:\"\\ea91\"}.ez-icon-tag_code:before{content:\"\\ea92\"}.ez-icon-text:before{content:\"\\ea93\"}.ez-icon-timeline:before{content:\"\\ea94\"}.ez-icon-timer-outline:before{content:\"\\ea95\"}.ez-icon-trending-up:before{content:\"\\ea96\"}.ez-icon-tune:before{content:\"\\ea97\"}.ez-icon-txt:before{content:\"\\ea98\"}.ez-icon-un-pin:before{content:\"\\ea99\"}.ez-icon-unfold_less:before{content:\"\\ea9a\"}.ez-icon-unfold_more:before{content:\"\\ea9b\"}.ez-icon-user-circle:before{content:\"\\ea9c\"}.ez-icon-warning-outline:before{content:\"\\ea9d\"}.ez-icon-warning_triangle:before{content:\"\\ea9e\"}.ez-icon-whatshot:before{content:\"\\ea9f\"}.ez-icon-xlsx:before{content:\"\\eaa0\"}.ez-icon-zip:before{content:\"\\eaa1\"}.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}";
|
|
72876
72948
|
|
|
72877
72949
|
const EzIcon$1 = class extends HTMLElement$1 {
|
|
72878
72950
|
constructor() {
|
|
@@ -75437,9 +75509,9 @@ const computePosition = (reference, floating, options) => {
|
|
|
75437
75509
|
});
|
|
75438
75510
|
};
|
|
75439
75511
|
|
|
75440
|
-
const
|
|
75512
|
+
const ezPopoverCoreCss = ":host{--ez-popover__box--border-radius:var(--border--radius-medium, 12px);--ez-popover__box--box-shadow:var(--shadow, 0px 0px 16px 0px #000);--ez-popover__box--background-color:var(--background--xlight, #fff);--ez-popover__box--z-index:var(--most-visible, 4);position:relative;display:flex;user-select:none}.popover__overlay{display:none;position:fixed;padding:0;top:0px;left:0px;width:100%;height:100vh;box-sizing:border-box;z-index:var(--more-visible--2x, 3)}.popover__overlay--light{background-color:rgba(var(--rgb-background--overlay), var(--opacity--bright))}.popover__overlay--medium{background-color:rgba(var(--rgb-background--overlay), var(--opacity--soft));backdrop-filter:blur(var(--background-blur--medium))}.popover__box{display:none;position:fixed;top:0;left:0;z-index:var(--ez-popover__box--z-index);flex-direction:column;height:fit-content;background-color:var(--ez-popover__box--background-color);border-radius:var(--ez-popover__box--border-radius);box-shadow:var(--ez-popover__box--box-shadow)}.popover__box--fit-content{width:fit-content}.popover__box--full-width{width:calc(100% - 10px)}";
|
|
75441
75513
|
|
|
75442
|
-
const
|
|
75514
|
+
const EzPopoverCore$1 = class extends HTMLElement$1 {
|
|
75443
75515
|
constructor() {
|
|
75444
75516
|
super();
|
|
75445
75517
|
this.__registerHost();
|
|
@@ -75454,16 +75526,16 @@ const EzPopoverPlus$1 = class extends HTMLElement$1 {
|
|
|
75454
75526
|
this.options = { horizontalGap: 0, verticalGap: 0, fromRight: false };
|
|
75455
75527
|
}
|
|
75456
75528
|
async observeOpened(newValue, oldValue) {
|
|
75457
|
-
if (newValue
|
|
75458
|
-
if (newValue) {
|
|
75459
|
-
this.openPopover();
|
|
75460
|
-
}
|
|
75461
|
-
else {
|
|
75462
|
-
this.hidePopover();
|
|
75463
|
-
}
|
|
75464
|
-
this.ezVisibilityChange.emit(newValue);
|
|
75529
|
+
if (newValue === oldValue)
|
|
75465
75530
|
return;
|
|
75531
|
+
if (newValue) {
|
|
75532
|
+
this.openPopover();
|
|
75533
|
+
}
|
|
75534
|
+
else {
|
|
75535
|
+
this.hidePopover();
|
|
75466
75536
|
}
|
|
75537
|
+
this.ezVisibilityChange.emit(newValue);
|
|
75538
|
+
return;
|
|
75467
75539
|
}
|
|
75468
75540
|
/**
|
|
75469
75541
|
* Atualiza a posição do popover.
|
|
@@ -75557,12 +75629,14 @@ const EzPopoverPlus$1 = class extends HTMLElement$1 {
|
|
|
75557
75629
|
if (!this._box) {
|
|
75558
75630
|
return;
|
|
75559
75631
|
}
|
|
75560
|
-
this.
|
|
75561
|
-
|
|
75562
|
-
|
|
75563
|
-
|
|
75564
|
-
|
|
75565
|
-
|
|
75632
|
+
if (this.opened) {
|
|
75633
|
+
this._box.style.display = 'flex';
|
|
75634
|
+
this._box.style.visibility = 'hidden';
|
|
75635
|
+
await this.updatePositionPopover();
|
|
75636
|
+
this.openOverlay();
|
|
75637
|
+
this.ezVisibilityChange.emit(true);
|
|
75638
|
+
this._box.style.visibility = 'visible';
|
|
75639
|
+
}
|
|
75566
75640
|
}
|
|
75567
75641
|
openOverlay() {
|
|
75568
75642
|
if (!this._overlay || !this._overlayIsActive) {
|
|
@@ -75602,6 +75676,7 @@ const EzPopoverPlus$1 = class extends HTMLElement$1 {
|
|
|
75602
75676
|
this._overlayIsActive = this.checkStatusOverlay();
|
|
75603
75677
|
this._resizeObserver = new ResizeObserver(this.updatePositionPopover.bind(this));
|
|
75604
75678
|
this._resizeObserver.observe(this._box);
|
|
75679
|
+
this.openPopover();
|
|
75605
75680
|
}
|
|
75606
75681
|
disconnectedCallback() {
|
|
75607
75682
|
window.removeEventListener('scroll', this.updatePositionDebounce.bind(this), true);
|
|
@@ -75619,6 +75694,103 @@ const EzPopoverPlus$1 = class extends HTMLElement$1 {
|
|
|
75619
75694
|
static get watchers() { return {
|
|
75620
75695
|
"opened": ["observeOpened"]
|
|
75621
75696
|
}; }
|
|
75697
|
+
static get style() { return ezPopoverCoreCss; }
|
|
75698
|
+
};
|
|
75699
|
+
|
|
75700
|
+
const ezPopoverPlusCss = ":host{display:none}";
|
|
75701
|
+
|
|
75702
|
+
const EzPopoverPlus$1 = class extends HTMLElement$1 {
|
|
75703
|
+
constructor() {
|
|
75704
|
+
super();
|
|
75705
|
+
this.__registerHost();
|
|
75706
|
+
this.__attachShadow();
|
|
75707
|
+
this.ezVisibilityChange = createEvent(this, "ezVisibilityChange", 7);
|
|
75708
|
+
this.autoClose = true;
|
|
75709
|
+
this.boxWidth = "fit-content";
|
|
75710
|
+
this.opened = false;
|
|
75711
|
+
this.overlayType = "light";
|
|
75712
|
+
this.anchorElement = undefined;
|
|
75713
|
+
this.options = { horizontalGap: 0, verticalGap: 0, fromRight: false };
|
|
75714
|
+
}
|
|
75715
|
+
listenerEzVisibilityChange({ detail }) {
|
|
75716
|
+
this.ezVisibilityChange.emit(detail);
|
|
75717
|
+
}
|
|
75718
|
+
async observeOpened(newValue) {
|
|
75719
|
+
if (newValue && !this._popOverCore) {
|
|
75720
|
+
this.renderPopoverCore();
|
|
75721
|
+
}
|
|
75722
|
+
this._popOverCore.opened = newValue;
|
|
75723
|
+
}
|
|
75724
|
+
/**
|
|
75725
|
+
* Atualiza a posição do popover.
|
|
75726
|
+
*/
|
|
75727
|
+
async updatePosition(top, left) {
|
|
75728
|
+
var _a;
|
|
75729
|
+
await ((_a = this._popOverCore) === null || _a === void 0 ? void 0 : _a.updatePosition(top, left));
|
|
75730
|
+
}
|
|
75731
|
+
/**
|
|
75732
|
+
* Exibe o ez-popover.
|
|
75733
|
+
*/
|
|
75734
|
+
async show(top, left) {
|
|
75735
|
+
if (!this._popOverCore) {
|
|
75736
|
+
this.renderPopoverCore();
|
|
75737
|
+
}
|
|
75738
|
+
await this._popOverCore.show(top, left);
|
|
75739
|
+
}
|
|
75740
|
+
/**
|
|
75741
|
+
* Ancora a exibição do popOver a um elemento HTML.
|
|
75742
|
+
*/
|
|
75743
|
+
async showUnder(element, options) {
|
|
75744
|
+
if (!this._popOverCore) {
|
|
75745
|
+
this.renderPopoverCore();
|
|
75746
|
+
}
|
|
75747
|
+
await this._popOverCore.showUnder(element, options);
|
|
75748
|
+
}
|
|
75749
|
+
/**
|
|
75750
|
+
* Oculta o ez-popover.
|
|
75751
|
+
*/
|
|
75752
|
+
async hide() {
|
|
75753
|
+
var _a;
|
|
75754
|
+
await ((_a = this._popOverCore) === null || _a === void 0 ? void 0 : _a.hide());
|
|
75755
|
+
}
|
|
75756
|
+
/**
|
|
75757
|
+
* Altera as opções.
|
|
75758
|
+
*/
|
|
75759
|
+
async setOptions(options) {
|
|
75760
|
+
var _a;
|
|
75761
|
+
await ((_a = this._popOverCore) === null || _a === void 0 ? void 0 : _a.setOptions(options));
|
|
75762
|
+
}
|
|
75763
|
+
/**
|
|
75764
|
+
* Altera o elemento de ancoragem.
|
|
75765
|
+
*/
|
|
75766
|
+
async setAnchorElement(anchor) {
|
|
75767
|
+
var _a;
|
|
75768
|
+
await ((_a = this._popOverCore) === null || _a === void 0 ? void 0 : _a.setAnchorElement(anchor));
|
|
75769
|
+
}
|
|
75770
|
+
renderPopoverCore() {
|
|
75771
|
+
this._popOverCore = document.createElement('ez-popover-core');
|
|
75772
|
+
this._popOverCore.opened = this.opened;
|
|
75773
|
+
this._popOverCore.anchorElement = this.anchorElement;
|
|
75774
|
+
this._popOverCore.autoClose = this.autoClose;
|
|
75775
|
+
this._popOverCore.boxWidth = this.boxWidth;
|
|
75776
|
+
this._popOverCore.overlayType = this.overlayType;
|
|
75777
|
+
this._popOverCore.options = this.options;
|
|
75778
|
+
const firstChild = this._host.children.item(0);
|
|
75779
|
+
if (firstChild) {
|
|
75780
|
+
this._popOverCore.appendChild(firstChild);
|
|
75781
|
+
}
|
|
75782
|
+
else {
|
|
75783
|
+
console.warn('O slot do popover está vazio. Adicione conteúdo ao slot para exibição correta.');
|
|
75784
|
+
}
|
|
75785
|
+
document.body.appendChild(this._popOverCore);
|
|
75786
|
+
}
|
|
75787
|
+
render() {
|
|
75788
|
+
return (h(Host, null, h("slot", null)));
|
|
75789
|
+
}
|
|
75790
|
+
get _host() { return this; }
|
|
75791
|
+
static get watchers() { return {
|
|
75792
|
+
"opened": ["observeOpened"]
|
|
75793
|
+
}; }
|
|
75622
75794
|
static get style() { return ezPopoverPlusCss; }
|
|
75623
75795
|
};
|
|
75624
75796
|
|
|
@@ -80400,7 +80572,7 @@ const EzActionsButton = /*@__PURE__*/proxyCustomElement(EzActionsButton$1, [1,"e
|
|
|
80400
80572
|
const EzAlert = /*@__PURE__*/proxyCustomElement(EzAlert$1, [1,"ez-alert",{"alertType":[513,"alert-type"]}]);
|
|
80401
80573
|
const EzAlertList = /*@__PURE__*/proxyCustomElement(EzAlertList$1, [1,"ez-alert-list",{"alerts":[1040],"enableDragAndDrop":[516,"enable-drag-and-drop"],"enableExpand":[516,"enable-expand"],"itemRightSlotBuilder":[16],"opened":[1540],"expanded":[1540],"_container":[32]}]);
|
|
80402
80574
|
const EzApplication = /*@__PURE__*/proxyCustomElement(EzApplication$1, [0,"ez-application"]);
|
|
80403
|
-
const EzBadge = /*@__PURE__*/proxyCustomElement(EzBadge$1, [1,"ez-badge",{"size":[513],"label":[513],"iconLeft":[513,"icon-left"],"iconRight":[513,"icon-right"],"position":[1040],"
|
|
80575
|
+
const EzBadge = /*@__PURE__*/proxyCustomElement(EzBadge$1, [1,"ez-badge",{"size":[513],"label":[513],"iconLeft":[513,"icon-left"],"iconRight":[513,"icon-right"],"position":[1040],"hasSlot":[32]}]);
|
|
80404
80576
|
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]}]);
|
|
80405
80577
|
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"]]]);
|
|
80406
80578
|
const EzCalendar = /*@__PURE__*/proxyCustomElement(EzCalendar$1, [1,"ez-calendar",{"value":[1040],"floating":[516],"time":[516],"showSeconds":[516,"show-seconds"]},[[11,"scroll","scrollListener"]]]);
|
|
@@ -80409,7 +80581,8 @@ const EzChart = /*@__PURE__*/proxyCustomElement(EzChart$1, [1,"ez-chart",{"type"
|
|
|
80409
80581
|
const EzCheck = /*@__PURE__*/proxyCustomElement(EzCheck$1, [1,"ez-check",{"label":[513],"value":[1540],"enabled":[1540],"indeterminate":[1540],"mode":[513],"compact":[4]}]);
|
|
80410
80582
|
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"]}]);
|
|
80411
80583
|
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]}]);
|
|
80412
|
-
const EzComboBox = /*@__PURE__*/proxyCustomElement(EzComboBox$1, [1,"ez-combo-box",{"limitCharsToSearch":[2,"limit-chars-to-search"],"value":[1537],"label":[513],"enabled":[516],"options":[1040],"errorMessage":[1537,"error-message"],"showSelectedValue":[4,"show-selected-value"],"showOptionValue":[4,"show-option-value"],"suppressSearch":[4,"suppress-search"],"optionLoader":[16],"suppressEmptyOption":[4,"suppress-empty-option"],"stopPropagateEnterKeyEvent":[4,"stop-propagate-enter-key-event"],"canShowError":[516,"can-show-error"],"mode":[513],"hideErrorOnFocusOut":[4,"hide-error-on-focus-out"],"listOptionsPosition":[16],"isTextSearch":[4,"is-text-search"],"autoFocus":[4,"auto-focus"],"_preSelection":[32],"_visibleOptions":[32],"_startLoading":[32],"_showLoading":[32],"_criteria":[32]
|
|
80584
|
+
const EzComboBox = /*@__PURE__*/proxyCustomElement(EzComboBox$1, [1,"ez-combo-box",{"limitCharsToSearch":[2,"limit-chars-to-search"],"value":[1537],"label":[513],"enabled":[516],"options":[1040],"errorMessage":[1537,"error-message"],"showSelectedValue":[4,"show-selected-value"],"showOptionValue":[4,"show-option-value"],"suppressSearch":[4,"suppress-search"],"optionLoader":[16],"suppressEmptyOption":[4,"suppress-empty-option"],"stopPropagateEnterKeyEvent":[4,"stop-propagate-enter-key-event"],"canShowError":[516,"can-show-error"],"mode":[513],"hideErrorOnFocusOut":[4,"hide-error-on-focus-out"],"listOptionsPosition":[16],"isTextSearch":[4,"is-text-search"],"autoFocus":[4,"auto-focus"],"isOpen":[32],"_preSelection":[32],"_visibleOptions":[32],"_startLoading":[32],"_showLoading":[32],"_criteria":[32],"_textInputReady":[32]}]);
|
|
80585
|
+
const EzComboBoxList = /*@__PURE__*/proxyCustomElement(EzComboBoxList$1, [1,"ez-combo-box-list",{"showLoading":[4,"show-loading"],"visibleOptions":[16],"textEmptyList":[1,"text-empty-list"],"showOptionValue":[4,"show-option-value"],"preSelection":[2,"pre-selection"],"maxWidth":[2,"max-width"],"width":[2],"onOptionSelect":[16],"onOptionHover":[16]},[[0,"keydown","handleKeyDown"]]]);
|
|
80413
80586
|
const EzCustomFormInput = /*@__PURE__*/proxyCustomElement(EzCustomFormInput$1, [2,"ez-custom-form-input",{"customEditor":[16],"formViewField":[16],"value":[1032],"detailContext":[1,"detail-context"],"builderFallback":[16],"selectedRecord":[16],"gui":[32]}]);
|
|
80414
80587
|
const EzDateInput = /*@__PURE__*/proxyCustomElement(EzDateInput$1, [1,"ez-date-input",{"label":[513],"value":[1040],"enabled":[516],"errorMessage":[1537,"error-message"],"mode":[513],"canShowError":[516,"can-show-error"],"autoFocus":[4,"auto-focus"]}]);
|
|
80415
80588
|
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],"canShowError":[516,"can-show-error"],"autoFocus":[4,"auto-focus"]}]);
|
|
@@ -80430,7 +80603,8 @@ const EzModalContainer = /*@__PURE__*/proxyCustomElement(EzModalContainer$1, [6,
|
|
|
80430
80603
|
const EzMultiSelectionList = /*@__PURE__*/proxyCustomElement(EzMuiltiSelectionList, [2,"ez-multi-selection-list",{"columnName":[1,"column-name"],"dataSource":[16],"useOptions":[1028,"use-options"],"options":[1040],"isTextSearch":[4,"is-text-search"],"filteredOptions":[32],"displayOptions":[32],"viewScenario":[32],"displayOptionToCheckAllItems":[32]}]);
|
|
80431
80604
|
const EzNumberInput = /*@__PURE__*/proxyCustomElement(EzNumberInput$1, [1,"ez-number-input",{"label":[1],"value":[1538],"enabled":[4],"canShowError":[516,"can-show-error"],"errorMessage":[1537,"error-message"],"allowNegative":[4,"allow-negative"],"precision":[2],"prettyPrecision":[2,"pretty-precision"],"mode":[513],"autoFocus":[4,"auto-focus"],"_value":[32]}]);
|
|
80432
80605
|
const EzPopover = /*@__PURE__*/proxyCustomElement(EzPopover$1, [1,"ez-popover",{"autoClose":[516,"auto-close"],"boxWidth":[513,"box-width"],"opened":[1540],"innerElement":[1537,"inner-element"],"overlayType":[513,"overlay-type"]}]);
|
|
80433
|
-
const
|
|
80606
|
+
const EzPopoverCore = /*@__PURE__*/proxyCustomElement(EzPopoverCore$1, [1,"ez-popover-core",{"autoClose":[516,"auto-close"],"boxWidth":[513,"box-width"],"opened":[1540],"overlayType":[513,"overlay-type"],"anchorElement":[1537,"anchor-element"],"options":[1040]}]);
|
|
80607
|
+
const EzPopoverPlus = /*@__PURE__*/proxyCustomElement(EzPopoverPlus$1, [1,"ez-popover-plus",{"autoClose":[516,"auto-close"],"boxWidth":[513,"box-width"],"opened":[1540],"overlayType":[513,"overlay-type"],"anchorElement":[1537,"anchor-element"],"options":[1040]},[[0,"ezVisibilityChange","listenerEzVisibilityChange"]]]);
|
|
80434
80608
|
const EzPopup = /*@__PURE__*/proxyCustomElement(EzPopup$1, [1,"ez-popup",{"size":[1],"opened":[1540],"useHeader":[516,"use-header"],"heightMode":[513,"height-mode"],"ezTitle":[1,"ez-title"],"enabledScroll":[4,"enabled-scroll"]}]);
|
|
80435
80609
|
const EzRadioButton = /*@__PURE__*/proxyCustomElement(EzRadioButton$1, [1,"ez-radio-button",{"value":[1544],"options":[1040],"enabled":[516],"label":[513],"direction":[1537]}]);
|
|
80436
80610
|
const EzScroller = /*@__PURE__*/proxyCustomElement(EzScroller$1, [1,"ez-scroller",{"direction":[1],"locked":[4],"activeShadow":[4,"active-shadow"],"isActive":[32]},[[2,"click","clickListener"],[1,"mousedown","mouseDownHandler"],[1,"mouseup","mouseUpHandler"],[1,"mousemove","mouseMoveHandler"]]]);
|
|
@@ -80470,6 +80644,7 @@ const defineCustomElements = (opts) => {
|
|
|
80470
80644
|
EzChip,
|
|
80471
80645
|
EzCollapsibleBox,
|
|
80472
80646
|
EzComboBox,
|
|
80647
|
+
EzComboBoxList,
|
|
80473
80648
|
EzCustomFormInput,
|
|
80474
80649
|
EzDateInput,
|
|
80475
80650
|
EzDateTimeInput,
|
|
@@ -80490,6 +80665,7 @@ const defineCustomElements = (opts) => {
|
|
|
80490
80665
|
EzMultiSelectionList,
|
|
80491
80666
|
EzNumberInput,
|
|
80492
80667
|
EzPopover,
|
|
80668
|
+
EzPopoverCore,
|
|
80493
80669
|
EzPopoverPlus,
|
|
80494
80670
|
EzPopup,
|
|
80495
80671
|
EzRadioButton,
|
|
@@ -80521,4 +80697,4 @@ const defineCustomElements = (opts) => {
|
|
|
80521
80697
|
}
|
|
80522
80698
|
};
|
|
80523
80699
|
|
|
80524
|
-
export { EzActionsButton, EzAlert, EzAlertList, EzApplication, EzBadge, EzBreadcrumb, EzButton, EzCalendar, EzCardItem, EzChart, EzCheck, EzChip, EzCollapsibleBox, EzComboBox, EzCustomFormInput, EzDateInput, EzDateTimeInput, EzDialog, EzDoubleList, EzDropdown, EzFileItem, EzFilterInput, EzForm, EzFormView, EzGrid, EzGuideNavigator, EzIcon, EzList, EzLoadingBar, EzModal, EzModalContainer, EzMultiSelectionList, EzNumberInput, EzPopover, EzPopoverPlus, EzPopup, EzRadioButton, EzScroller, EzSearch, EzSidebarButton, EzSidebarNavigator, EzSkeleton, EzSplitButton, EzSplitItem, EzSplitPanel, EzTabselector, EzTextArea, EzTextEdit, EzTextInput, EzTimeInput, EzToast, EzTooltip, EzTree, EzUpload, EzViewStack, FilterColumn, MultiSelectionBoxMessage, defineCustomElements };
|
|
80700
|
+
export { EzActionsButton, EzAlert, EzAlertList, EzApplication, EzBadge, EzBreadcrumb, EzButton, EzCalendar, EzCardItem, EzChart, EzCheck, EzChip, EzCollapsibleBox, EzComboBox, EzComboBoxList, EzCustomFormInput, EzDateInput, EzDateTimeInput, EzDialog, EzDoubleList, EzDropdown, EzFileItem, EzFilterInput, EzForm, EzFormView, EzGrid, EzGuideNavigator, EzIcon, EzList, EzLoadingBar, EzModal, EzModalContainer, EzMultiSelectionList, EzNumberInput, EzPopover, EzPopoverCore, EzPopoverPlus, EzPopup, EzRadioButton, EzScroller, EzSearch, EzSidebarButton, EzSidebarNavigator, EzSkeleton, EzSplitButton, EzSplitItem, EzSplitPanel, EzTabselector, EzTextArea, EzTextEdit, EzTextInput, EzTimeInput, EzToast, EzTooltip, EzTree, EzUpload, EzViewStack, FilterColumn, MultiSelectionBoxMessage, defineCustomElements };
|