@sankhyalabs/ezui 1.1.87 → 1.1.90
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/{AssetsUtils-caf95dab.js → AssetsUtils-4909c6de.js} +1 -1
- package/dist/cjs/ez-action-chip.cjs.entry.js +1 -1
- package/dist/cjs/ez-application.cjs.entry.js +1 -1
- package/dist/cjs/ez-button_11.cjs.entry.js +86 -21
- package/dist/cjs/ez-calendar.cjs.entry.js +11 -4
- package/dist/cjs/ez-collapsible-box_7.cjs.entry.js +1 -1
- package/dist/cjs/ez-combo-box.cjs.entry.js +1 -1
- package/dist/cjs/ez-dialog.cjs.entry.js +1 -1
- package/dist/cjs/ez-form.cjs.entry.js +1 -1
- package/dist/cjs/ez-label-chip.cjs.entry.js +1 -1
- package/dist/cjs/ez-popover.cjs.entry.js +1 -1
- package/dist/cjs/ez-popup.cjs.entry.js +1 -1
- package/dist/cjs/ez-time-input.cjs.entry.js +2 -2
- package/dist/cjs/ez-toast.cjs.entry.js +1 -1
- package/dist/cjs/ezui.cjs.js +2 -2
- package/dist/cjs/{index-0bce1636.js → index-88286449.js} +358 -8
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/collection/components/ez-button/ez-button.js +19 -2
- package/dist/collection/components/ez-calendar/ez-calendar.css +33 -29
- package/dist/collection/components/ez-calendar/ez-calendar.js +9 -2
- package/dist/collection/components/ez-grid/controller/DataUnitBridge.js +7 -5
- package/dist/collection/components/ez-grid/controller/ag-grid/AgGridController.js +49 -1
- package/dist/collection/components/ez-grid/ez-grid.css +7 -2
- package/dist/collection/components/ez-grid/ez-grid.js +26 -6
- package/dist/collection/components/ez-icon/ez-icon.css +133 -1
- package/dist/collection/components/ez-icon/ez-icon.js +34 -6
- package/dist/collection/components/ez-list/ez-list.js +2 -1
- package/dist/custom-elements/index.js +116 -44
- package/dist/esm/{AssetsUtils-9b1d9c38.js → AssetsUtils-9b1329a3.js} +1 -1
- package/dist/esm/ez-action-chip.entry.js +1 -1
- package/dist/esm/ez-application.entry.js +1 -1
- package/dist/esm/ez-button_11.entry.js +86 -21
- package/dist/esm/ez-calendar.entry.js +11 -4
- package/dist/esm/ez-collapsible-box_7.entry.js +1 -1
- package/dist/esm/ez-combo-box.entry.js +1 -1
- package/dist/esm/ez-dialog.entry.js +1 -1
- package/dist/esm/ez-form.entry.js +1 -1
- package/dist/esm/ez-label-chip.entry.js +1 -1
- package/dist/esm/ez-popover.entry.js +1 -1
- package/dist/esm/ez-popup.entry.js +1 -1
- package/dist/esm/ez-time-input.entry.js +2 -2
- package/dist/esm/ez-toast.entry.js +1 -1
- package/dist/esm/ezui.js +2 -2
- package/dist/esm/{index-d80a8d1f.js → index-6b8bfbeb.js} +358 -8
- package/dist/esm/loader.js +2 -2
- package/dist/ezui/ezui.esm.js +1 -1
- package/dist/ezui/{p-091b27f2.entry.js → p-020f1285.entry.js} +1 -1
- package/dist/ezui/{p-27a35580.entry.js → p-038fd0cb.entry.js} +1 -1
- package/dist/ezui/{p-f87c7082.js → p-477bb703.js} +1 -1
- package/dist/ezui/{p-4e08b842.entry.js → p-4c20d96e.entry.js} +1 -1
- package/dist/ezui/{p-a52b3368.entry.js → p-502d7e0d.entry.js} +1 -1
- package/dist/ezui/{p-19d8a928.entry.js → p-542d3d29.entry.js} +1 -1
- package/dist/ezui/{p-826b6c4d.entry.js → p-552a0b2e.entry.js} +1 -1
- package/dist/ezui/{p-3e79877f.entry.js → p-60469339.entry.js} +1 -1
- package/dist/ezui/{p-eefc1f9d.entry.js → p-7e0281cd.entry.js} +1 -1
- package/dist/ezui/p-89a57641.js +1 -0
- package/dist/ezui/p-95fc543c.entry.js +1 -0
- package/dist/ezui/{p-b678dc80.entry.js → p-b217f40b.entry.js} +1 -1
- package/dist/ezui/{p-6206515e.entry.js → p-b8678ee6.entry.js} +1 -1
- package/dist/ezui/p-d22db59d.entry.js +1 -0
- package/dist/ezui/{p-b796d351.entry.js → p-f241de18.entry.js} +19 -19
- package/dist/types/components/ez-button/ez-button.d.ts +4 -0
- package/dist/types/components/ez-calendar/ez-calendar.d.ts +1 -0
- package/dist/types/components/ez-grid/controller/EzGridController.d.ts +12 -0
- package/dist/types/components/ez-grid/controller/ag-grid/AgGridController.d.ts +3 -0
- package/dist/types/components/ez-grid/ez-grid.d.ts +4 -0
- package/dist/types/components/ez-icon/ez-icon.d.ts +6 -0
- package/dist/types/components.d.ts +20 -0
- package/package.json +2 -2
- package/dist/collection/utils/FloatingManager.js +0 -16
- package/dist/ezui/p-39218c31.entry.js +0 -1
- package/dist/ezui/p-535771b6.entry.js +0 -1
- package/dist/ezui/p-7c101b34.js +0 -1
|
@@ -84,13 +84,13 @@ let EzButton$1 = class extends HTMLElement$1 {
|
|
|
84
84
|
}
|
|
85
85
|
render() {
|
|
86
86
|
if (this.mode == "icon") {
|
|
87
|
-
return (h("button", { class: "icon " + this.size, type: "button", disabled: !this.enabled }, h("ez-icon", { class: "icon", href: this.image, size: this.getIconSize(), onClick: evt => {
|
|
87
|
+
return (h("button", { class: "icon " + this.size, type: "button", disabled: !this.enabled }, h("ez-icon", { class: "icon", href: this.image, iconName: this.iconName, size: this.getIconSize(), onClick: evt => {
|
|
88
88
|
if (!this.enabled)
|
|
89
89
|
evt.stopPropagation();
|
|
90
90
|
} })));
|
|
91
91
|
}
|
|
92
92
|
else if (this.mode == "label-icon") {
|
|
93
|
-
return (h("div", { class: "label-icon" }, h("button", { class: "icon", type: "button", disabled: !this.enabled }, h("ez-icon", { class: "icon", href: this.image, size: "large", onClick: evt => {
|
|
93
|
+
return (h("div", { class: "label-icon" }, h("button", { class: "icon", type: "button", disabled: !this.enabled }, h("ez-icon", { class: "icon", href: this.image, iconName: this.iconName, size: "large", onClick: evt => {
|
|
94
94
|
if (!this.enabled)
|
|
95
95
|
evt.stopPropagation();
|
|
96
96
|
} })), h("label", { title: this.label }, this.label)));
|
|
@@ -7776,7 +7776,7 @@ function HeadersInstanceToPlainObject(headers) {
|
|
|
7776
7776
|
//# sourceMappingURL=index.js.map
|
|
7777
7777
|
});
|
|
7778
7778
|
|
|
7779
|
-
const ezCalendarCss = ":host{--ez-calendar--font-family:var(--font-pattern, Arial);--ez-calendar--color:var(--title--primary, #626e82);--ez-calendar--text-shadow:var(--text-shadow, 0 0 0 #353535, 0 0 1px transparent);--ez-calendar__body--background-color:var(--background--xlight, #FFF);--ez-calendar__Time--background-color:var(--background--xlight, #FAFAFA);--ez-calendar__body--padding:var(--space--medium, 12px);--ez-calendar__body--border-radius:var(--border--radius-medium, 12px);--ez-calendar__body--shadow:var(--shadow, 0px 0px 16px 0px #000);--ez-calendar__header-line--stroke:
|
|
7779
|
+
const ezCalendarCss = ":host{--ez-calendar--font-family:var(--font-pattern, Arial);--ez-calendar--color:var(--title--primary, #626e82);--ez-calendar--text-shadow:var(--text-shadow, 0 0 0 #353535, 0 0 1px transparent);--ez-calendar__body--background-color:var(--background--xlight, #FFF);--ez-calendar__Time--background-color:var(--background--xlight, #FAFAFA);--ez-calendar__body--padding:var(--space--medium, 12px) var(--space--small, 6px);--ez-calendar__body--border-radius:var(--border--radius-medium, 12px);--ez-calendar__body--shadow:var(--shadow, 0px 0px 16px 0px #000);--ez-calendar__header-line--stroke:1px;--ez-calendar__header-line--color:var(--color--strokes, #C0C0C0);--ez-calendar__nav-btn--fill:var(--text--primary, #008561);--ez-calendar__nav-btn--hover--fill:var(--color--primary, #350404);--ez-calendar__nav-btn--width:10px;--ez-calendar__nav-btn--height:16px;--ez-calendar__nav-btn--previous-image:url('data:image/svg+xml;utf8,<svg xmlns=\"http://www.w3.org/2000/svg\" version=\"1.1\" height=\"16px\" width=\"10px\"><path d=\"M 9.7808475,13.860393 3.9204526,8.0000004 9.7808475,2.0624965 7.9301965,0.28895552 0.21915255,8.0000004 7.9301965,15.711044 Z\"/></svg>');--ez-calendar__nav-btn--next-image:url('data:image/svg+xml;utf8,<svg xmlns=\"http://www.w3.org/2000/svg\" version=\"1.1\" height=\"16px\" width=\"10px\"><path d=\"M 0.21915251,13.860393 6.0795475,8.0000007 0.21915251,2.0624968 2.0698036,0.28895588 9.7808475,8.0000007 2.0698036,15.711044 Z\"/></svg>');--ez-calendar__cell--margin:0px 1.5px;--ez-calendar__cell--width:var(--space--large, 24px);--ez-calendar__cell--padding:1.5px 0px;--ez-calendar__cell--border-radius:var(--border--radius-small, 6px);--ez-calendar__cell--over--background-color:var(--color--primary, #E2F4EF);--ez-calendar__cell--over--color:var(--color--primary-300, #008561);--ez-calendar__cell--outset--color:var(--color--disable-primary, #E5EAF0);--ez-calendar__cell--selected--background-color:var(--color--primary, #008561);--ez-calendar__cell--selected--color:var(--color--inverted, #FFF);--ez-calendar__btn-today--color:var(--color--primary);--ez-calendar__btn-today--hover--background-color:var(--color--primary-300, #E2F4EF);--ez-calendar__btn-today--border-radius:var(--border--radius-small, 6px);position:relative;display:flex;user-select:none}.calendar{z-index:var(--more-visible, 2);display:flex;flex-direction:column;background-color:var(--ez-calendar__body--background-color);padding:var(--ez-calendar__body--padding);border-radius:var(--ez-calendar__body--border-radius);box-shadow:var(--ez-calendar__body--shadow)}.calendar__header{display:flex;justify-content:space-between;padding-bottom:var(--space--small, 6px);margin:0px var(--space--, 12px) var(--space--small, 6px) var(--space--, 12px);font-family:var(--ez-calendar--font-family);color:var(--ez-calendar--color);text-shadow:var(--ez-calendar--text-shadow);border-bottom:solid var(--ez-calendar__header-line--stroke) var(--ez-calendar__header-line--color)}.calendar__btn-next,.calendar__btn-previous{outline:none;border:none;background-color:unset;cursor:pointer;padding:0px}.calendar__btn-next::after,.calendar__btn-previous::after{content:'';display:flex;background-color:var(--ez-calendar__nav-btn--fill);width:var(--ez-calendar__nav-btn--width);height:var(--ez-calendar__nav-btn--height)}.calendar__btn-previous::after{-webkit-mask-image:var(--ez-calendar__nav-btn--previous-image);mask-image:var(--ez-calendar__nav-btn--previous-image)}.calendar__btn-next::after{-webkit-mask-image:var(--ez-calendar__nav-btn--next-image);mask-image:var(--ez-calendar__nav-btn--next-image)}.calendar__btn-next:hover::after,.calendar__btn-previous:hover::after{background-color:var(--ez-calendar__nav-btn--hover--fill)}.calendar__lbl-month{font-weight:var(--text-weight--extra-large, 700);font-size:var(--title--small, 14px);font-family:var(--ez-calendar--font-family);color:var(--ez-calendar--color);text-shadow:var(--ez-calendar--text-shadow)}.calendar__line{display:flex;padding:0px;margin:0px}.calendar__cell{display:flex;justify-content:center;align-content:center;cursor:pointer;font-size:var(--text--extra-small, 10px);font-family:var(--ez-calendar--font-family);color:var(--ez-calendar--color);text-shadow:var(--ez-calendar--text-shadow);padding:var(--ez-calendar__cell--padding);margin:var(--ez-calendar__cell--margin);min-width:var(--ez-calendar__cell--width);border-radius:var(--ez-calendar__cell--border-radius)}.calendar__cell:hover{background-color:var(--ez-calendar__cell--over--background-color);color:var(--ez-calendar__cell--over--color)}.calendar__cell--secondary{color:var(--ez-calendar__cell--outset--color)}.calendar__cell--unselectable:hover{background-color:unset;border-radius:unset;cursor:unset}.calendar__cell--unselectable{font-weight:var(--text-weight--large, 600);font-family:var(--ez-calendar--font-family);color:var(--ez-calendar--color);text-shadow:var(--ez-calendar--text-shadow)}.calendar__cell--selected,.calendar__cell--selected:hover{background-color:var(--ez-calendar__cell--selected--background-color);color:var(--ez-calendar__cell--selected--color)}.calendar__footer{display:flex;flex-direction:column}.calendar__btn-today{border:none;background-color:unset;cursor:pointer;font-weight:var(--text-weight--large, 600);font-size:var(--title--extra-small, 12px);padding:0px;font-family:var(--ez-calendar--font-family);text-shadow:var(--ez-calendar--text-shadow);color:var(--ez-calendar__btn-today--color);border-radius:var(--ez-calendar__btn-today--border-radius)}.calendar__btn-today:hover{background-color:var(--ez-calendar__btn-today--hover--background-color)}section{display:flex}.calendarTime{margin-left:-10px;display:flex;flex-direction:column;padding:12px 0px 0px 10px;background-color:var(--ez-calendar__Time--background-color);border-top-right-radius:var(--ez-calendar__body--border-radius);border-bottom-right-radius:var(--ez-calendar__body--border-radius);box-shadow:var(--ez-calendar__body--shadow)}.calendar__column{height:136px;padding:0px;margin:0px;overflow:auto}.calendar__column::-webkit-scrollbar{width:0px;max-width:0px;min-width:0px}.calendarTime__header{padding-left:var(--space--small, 6px);padding-right:var(--space--small, 6px);display:flex;justify-content:space-between;padding-bottom:var(--space--small, 6px);margin:0px var(--space--, 12px) var(--space--small, 6px) var(--space--, 12px);font-weight:var(--text-weight--extra-large, 700);font-size:var(--title--small, 14px);font-family:var(--ez-calendar--font-family);color:var(--ez-calendar--color);text-shadow:var(--ez-calendar--text-shadow);border-bottom:solid var(--ez-calendar__header-line--stroke) var(--ez-calendar__header-line--color);font-family:var(--ez-calendar--font-family);color:var(--ez-calendar--color);text-shadow:var(--ez-calendar--text-shadow)}.separatorTime{color:#A2ABB9;padding:0px 1px;line-height:16px;font-size:17px;font-weight:normal}.endHidden{-webkit-mask-image:linear-gradient(180deg, #000 calc(100% - 48px), transparent 100%)}.calendar__column .calendar__cell{margin:0px;padding:1.5px 1.5px}";
|
|
7780
7780
|
|
|
7781
7781
|
let EzCalendar$1 = class extends HTMLElement$1 {
|
|
7782
7782
|
constructor() {
|
|
@@ -7789,7 +7789,7 @@ let EzCalendar$1 = class extends HTMLElement$1 {
|
|
|
7789
7789
|
this._weekDayLabels = ["D", "S", "T", "Q", "Q", "S", "S"];
|
|
7790
7790
|
this._monthLabels = ["Janeiro", "Fevereiro", "Março", "Abril", "Maio", "Junho", "Julho", "Agosto", "Setembro", "Outubro", "Novembro", "Dezembro"];
|
|
7791
7791
|
this._hoursLabel = ["00", "01", "02", "03", "04", "05", "06", "07", "08", "09", "10", "11", "12", "13", "14", "15", "16", "17", "18", "19", "20", "21", "22", "23"];
|
|
7792
|
-
this._minutosLabel = ["00", "01", "02", "03", "04", "05", "06", "07", "08", "09", "10", "11", "12", "13", "14", "15", "16", "17", "18", "19", "20", "21", "22", "23", "25", "26", "27", "28", "29", "30", "31", "32", "33", "34", "35", "36", "37", "38", "39", "40", "41", "42", "43", "44", "45", "46", "47", "48", "49", "50", "51", "52", "53", "54", "55", "56", "57", "58", "59"];
|
|
7792
|
+
this._minutosLabel = ["00", "01", "02", "03", "04", "05", "06", "07", "08", "09", "10", "11", "12", "13", "14", "15", "16", "17", "18", "19", "20", "21", "22", "23", "24", "25", "26", "27", "28", "29", "30", "31", "32", "33", "34", "35", "36", "37", "38", "39", "40", "41", "42", "43", "44", "45", "46", "47", "48", "49", "50", "51", "52", "53", "54", "55", "56", "57", "58", "59"];
|
|
7793
7793
|
/**
|
|
7794
7794
|
* A data selecionada no calendário
|
|
7795
7795
|
*/
|
|
@@ -7820,6 +7820,7 @@ let EzCalendar$1 = class extends HTMLElement$1 {
|
|
|
7820
7820
|
window.requestAnimationFrame(() => {
|
|
7821
7821
|
this._box.scrollIntoView({ behavior: "smooth", block: "nearest", inline: "nearest" });
|
|
7822
7822
|
});
|
|
7823
|
+
this.scroll();
|
|
7823
7824
|
}
|
|
7824
7825
|
}
|
|
7825
7826
|
/**
|
|
@@ -7922,11 +7923,17 @@ let EzCalendar$1 = class extends HTMLElement$1 {
|
|
|
7922
7923
|
this.updateScroll(this._secondsScroll);
|
|
7923
7924
|
}
|
|
7924
7925
|
componentDidLoad() {
|
|
7926
|
+
this.scroll();
|
|
7927
|
+
}
|
|
7928
|
+
scroll() {
|
|
7925
7929
|
if (this.time || this.showSeconds) {
|
|
7926
7930
|
this._hoursScroll.scrollTop = this._hoursSelect.offsetTop - 64;
|
|
7927
7931
|
this._minutesScroll.scrollTop = this._minutesSelect.offsetTop - 64;
|
|
7932
|
+
this.updateScroll(this._hoursScroll);
|
|
7933
|
+
this.updateScroll(this._minutesScroll);
|
|
7928
7934
|
if (this.showSeconds) {
|
|
7929
7935
|
this._secondsScroll.scrollTop = this._secondsSelect.offsetTop - 64;
|
|
7936
|
+
this.updateScroll(this._secondsScroll);
|
|
7930
7937
|
}
|
|
7931
7938
|
}
|
|
7932
7939
|
}
|
|
@@ -7956,7 +7963,7 @@ let EzCalendar$1 = class extends HTMLElement$1 {
|
|
|
7956
7963
|
})))), h("div", { class: "calendar__footer" }, h("button", { class: "calendar__btn-today", onClick: () => this.selectDate(new Date()) }, this._todayLabel))), (this.time || this.showSeconds) &&
|
|
7957
7964
|
h("div", { class: "calendarTime" }, h("div", { class: "calendarTime__header" }, h("div", null, "H"), h("div", { class: "separatorTime" }, ":"), h("div", null, "M"), this.showSeconds &&
|
|
7958
7965
|
h("div", { class: "separatorTime" }, ":"), this.showSeconds &&
|
|
7959
|
-
h("div", null, "S")), h("div", { class: "calendar__body ", style: { display: 'flex', paddingLeft: '
|
|
7966
|
+
h("div", null, "S")), h("div", { class: "calendar__body ", style: { display: 'flex', paddingLeft: '12px', paddingRight: '12px' } }, h("div", { class: "calendar__column", ref: elem => this._hoursScroll = elem, onScroll: () => this.updateScroll(this._hoursScroll) }, this._hoursLabel.map((offset, index) => {
|
|
7960
7967
|
if (index === this.value.getHours()) {
|
|
7961
7968
|
return (h("div", { style: { display: 'flex' }, ref: elem => this._hoursSelect = elem }, h("div", { class: "calendar__cell calendar__cell--selected", onClick: () => this.selectHours(index) }, offset), h("div", { class: "separatorTime" }, ":")));
|
|
7962
7969
|
}
|
|
@@ -119470,6 +119477,7 @@ class AgGridController {
|
|
|
119470
119477
|
this._columnStateChangeCallback = options.onColumnStateChange;
|
|
119471
119478
|
this._selectionChangeCallback = options.onSelectionChange;
|
|
119472
119479
|
this._paginationChangeCallback = options.onPaginationChange;
|
|
119480
|
+
this._doubleClickCallBack = options.onDoubleClick;
|
|
119473
119481
|
this._multipleSelection = options.allowMultipleSelection;
|
|
119474
119482
|
this._pageSize = options.pageSize;
|
|
119475
119483
|
this._serverURL = options.serverURL;
|
|
@@ -119509,6 +119517,7 @@ class AgGridController {
|
|
|
119509
119517
|
opt.onColumnVisible = e => this.onCallStateChange("visibleChange", e);
|
|
119510
119518
|
opt.onSelectionChanged = e => this.onSelectionChange(e);
|
|
119511
119519
|
opt.onPaginationChanged = () => this.onPaginationChange();
|
|
119520
|
+
opt.onRowDoubleClicked = evt => this.onRowDoubleClick(evt);
|
|
119512
119521
|
}
|
|
119513
119522
|
setOptionsPagination(opt) {
|
|
119514
119523
|
opt.pagination = (this._pageSize > -1);
|
|
@@ -119567,7 +119576,13 @@ class AgGridController {
|
|
|
119567
119576
|
if (this._grid === undefined) {
|
|
119568
119577
|
throw new Error("Erro interno: Grid ainda não inicializado.");
|
|
119569
119578
|
}
|
|
119570
|
-
|
|
119579
|
+
//TODO neste ponto estamos utilizando um método descontinuado,
|
|
119580
|
+
//pelo fato de que o applyColumnState não reordena as colunas conforme
|
|
119581
|
+
//o estado passado.
|
|
119582
|
+
//https://stackoverflow.com/questions/51488241/ag-grid-how-to-save-and-reload-column-order
|
|
119583
|
+
//Assim que for corrigido o applyColumnState devemos substituir o setColumnState por ele.
|
|
119584
|
+
// this._gridOptions.columnApi.applyColumnState({ state: state.map(s => this.buildColState(s)) });
|
|
119585
|
+
this._gridOptions.columnApi.setColumnState(state.map(s => this.buildColState(s)));
|
|
119571
119586
|
}
|
|
119572
119587
|
getColumnsState() {
|
|
119573
119588
|
if (this._grid === undefined) {
|
|
@@ -119607,9 +119622,44 @@ class AgGridController {
|
|
|
119607
119622
|
resizable: true,
|
|
119608
119623
|
headerComponentParams: {
|
|
119609
119624
|
template: HeaderColumnTemplate
|
|
119625
|
+
},
|
|
119626
|
+
valueFormatter: params => {
|
|
119627
|
+
return this.getFormatterByColumn(params, source);
|
|
119610
119628
|
}
|
|
119611
119629
|
};
|
|
119612
119630
|
}
|
|
119631
|
+
getFormatterByColumn(params, source) {
|
|
119632
|
+
var _a, _b;
|
|
119633
|
+
if ((source === null || source === void 0 ? void 0 : source.userInterface) === "OPTIONSELECTOR" && source.options) {
|
|
119634
|
+
const prop = source === null || source === void 0 ? void 0 : source.options;
|
|
119635
|
+
let options;
|
|
119636
|
+
if (typeof prop === "string") {
|
|
119637
|
+
const parsed = JSON.parse(prop);
|
|
119638
|
+
options = Object.keys(parsed).map(key => { return { value: key, label: parsed[key] }; });
|
|
119639
|
+
}
|
|
119640
|
+
else {
|
|
119641
|
+
options = prop;
|
|
119642
|
+
}
|
|
119643
|
+
let optionSelected;
|
|
119644
|
+
options.forEach((option) => {
|
|
119645
|
+
if (option.value == params.value) {
|
|
119646
|
+
optionSelected = option;
|
|
119647
|
+
}
|
|
119648
|
+
});
|
|
119649
|
+
return optionSelected === null || optionSelected === void 0 ? void 0 : optionSelected.label;
|
|
119650
|
+
}
|
|
119651
|
+
if ((source === null || source === void 0 ? void 0 : source.userInterface) === "SWITCH") {
|
|
119652
|
+
if ((params === null || params === void 0 ? void 0 : params.value) === "S" || (params === null || params === void 0 ? void 0 : params.value) === true) {
|
|
119653
|
+
return "Sim";
|
|
119654
|
+
}
|
|
119655
|
+
else if ((params === null || params === void 0 ? void 0 : params.value) === "N" || (params === null || params === void 0 ? void 0 : params.value) === false) {
|
|
119656
|
+
return "Não";
|
|
119657
|
+
}
|
|
119658
|
+
}
|
|
119659
|
+
if ((source === null || source === void 0 ? void 0 : source.userInterface) === "SEARCH") {
|
|
119660
|
+
return ((_a = params === null || params === void 0 ? void 0 : params.value) === null || _a === void 0 ? void 0 : _a.value) + " - " + ((_b = params === null || params === void 0 ? void 0 : params.value) === null || _b === void 0 ? void 0 : _b.label);
|
|
119661
|
+
}
|
|
119662
|
+
}
|
|
119613
119663
|
buildColState(source) {
|
|
119614
119664
|
return {
|
|
119615
119665
|
colId: source.name,
|
|
@@ -119652,6 +119702,11 @@ class AgGridController {
|
|
|
119652
119702
|
}
|
|
119653
119703
|
}
|
|
119654
119704
|
}
|
|
119705
|
+
onRowDoubleClick(evt) {
|
|
119706
|
+
if (this._doubleClickCallBack) {
|
|
119707
|
+
this._doubleClickCallBack(evt.data);
|
|
119708
|
+
}
|
|
119709
|
+
}
|
|
119655
119710
|
conditionalSet(host, attribute, value) {
|
|
119656
119711
|
if (value !== null && value !== undefined && value !== false) {
|
|
119657
119712
|
host[attribute] = value;
|
|
@@ -119659,25 +119714,6 @@ class AgGridController {
|
|
|
119659
119714
|
}
|
|
119660
119715
|
}
|
|
119661
119716
|
|
|
119662
|
-
const getSpritePath = (sprite) => `${getContextAssetsPath("../assets/actions-sprite.svg")}#${sprite}`;
|
|
119663
|
-
let ctxLoaded = false;
|
|
119664
|
-
function getContextAssetsPath(resource) {
|
|
119665
|
-
if (!ctxLoaded) {
|
|
119666
|
-
const scriptElem = document.querySelector("script[data-ezui-assets-url]");
|
|
119667
|
-
if (scriptElem) {
|
|
119668
|
-
let assetsPath = scriptElem.dataset.ezuiAssetsUrl;
|
|
119669
|
-
if (assetsPath) {
|
|
119670
|
-
if (assetsPath.startsWith('/')) {
|
|
119671
|
-
assetsPath = window.location.origin + assetsPath;
|
|
119672
|
-
}
|
|
119673
|
-
setAssetPath(assetsPath);
|
|
119674
|
-
}
|
|
119675
|
-
}
|
|
119676
|
-
ctxLoaded = true;
|
|
119677
|
-
}
|
|
119678
|
-
return getAssetPath(resource);
|
|
119679
|
-
}
|
|
119680
|
-
|
|
119681
119717
|
class DataUnitBridge {
|
|
119682
119718
|
constructor(gridController, dataUnit) {
|
|
119683
119719
|
this._gridController = gridController;
|
|
@@ -119693,16 +119729,18 @@ class DataUnitBridge {
|
|
|
119693
119729
|
}
|
|
119694
119730
|
buildColumnDefs() {
|
|
119695
119731
|
const columnDefs = [];
|
|
119696
|
-
this._dataUnit.metadata
|
|
119697
|
-
|
|
119698
|
-
|
|
119699
|
-
|
|
119700
|
-
|
|
119732
|
+
if (this._dataUnit.metadata) {
|
|
119733
|
+
this._dataUnit.metadata.fields.forEach(f => {
|
|
119734
|
+
if (f.visible !== false) {
|
|
119735
|
+
columnDefs.push({ label: f.label, name: f.name, userInterface: f.userInterface, options: this._dataUnit.getField(f.name).properties.options });
|
|
119736
|
+
}
|
|
119737
|
+
});
|
|
119738
|
+
}
|
|
119701
119739
|
return columnDefs;
|
|
119702
119740
|
}
|
|
119703
119741
|
}
|
|
119704
119742
|
|
|
119705
|
-
const ezGridCss = ".sc-ez-grid-h{display:grid;grid-template-rows:auto 1fr auto;height:100%;width:100%;--ezgrid__header--background-color:var(--background--xlight, #FFF)}.
|
|
119743
|
+
const ezGridCss = ".sc-ez-grid-h{display:grid;grid-template-rows:auto 1fr auto;height:100%;width:100%;--ezgrid__header--background-color:var(--background--xlight, #FFF)}.grid-header.sc-ez-grid{display:flex;justify-content:space-between;align-items:center;background-color:var(--ezgrid__header--background-color)}.grid-header__container.sc-ez-grid{display:flex;align-items:center}";
|
|
119706
119744
|
|
|
119707
119745
|
let EzGrid$1 = class extends HTMLElement$1 {
|
|
119708
119746
|
constructor() {
|
|
@@ -119710,6 +119748,7 @@ let EzGrid$1 = class extends HTMLElement$1 {
|
|
|
119710
119748
|
this.__registerHost();
|
|
119711
119749
|
this.ezColumnStateChange = createEvent(this, "ezColumnStateChange", 7);
|
|
119712
119750
|
this.ezSelectionChange = createEvent(this, "ezSelectionChange", 7);
|
|
119751
|
+
this.ezDoubleClick = createEvent(this, "ezDoubleClick", 7);
|
|
119713
119752
|
this._gridController = new AgGridController(false);
|
|
119714
119753
|
this._popUpVisible = false;
|
|
119715
119754
|
/**
|
|
@@ -119778,6 +119817,9 @@ let EzGrid$1 = class extends HTMLElement$1 {
|
|
|
119778
119817
|
this._navigationLastRow = status.pageEnd;
|
|
119779
119818
|
this._navigationTotalRows = status.totalRows;
|
|
119780
119819
|
},
|
|
119820
|
+
onDoubleClick: (row) => {
|
|
119821
|
+
this.ezDoubleClick.emit(row);
|
|
119822
|
+
},
|
|
119781
119823
|
allowMultipleSelection: this.multipleSelection,
|
|
119782
119824
|
pageSize: this.pageSize,
|
|
119783
119825
|
serverURL: this.serverUrl,
|
|
@@ -119793,8 +119835,8 @@ let EzGrid$1 = class extends HTMLElement$1 {
|
|
|
119793
119835
|
}
|
|
119794
119836
|
return [
|
|
119795
119837
|
h("div", { class: "text text--primary text--medium margin-right--medium" }, h("strong", { class: "text text--primary text--medium" }, `${this._navigationFirstRow}-${this._navigationLastRow}`), ` de ${this._navigationTotalRows}`),
|
|
119796
|
-
h("ez-button", { size: "small",
|
|
119797
|
-
h("ez-button", { size: "small",
|
|
119838
|
+
h("ez-button", { size: "small", iconName: "chevron-left", class: "button--secondary margin-right--medium", mode: "icon", enabled: this._navigationHasPrevious, onClick: () => this._gridController.previousPage(), label: "P\u00E1gina anterior" }),
|
|
119839
|
+
h("ez-button", { size: "small", iconName: "chevron-right", class: "button--secondary margin-right--medium", mode: "icon", enabled: this._navigationHasNext, onClick: () => this._gridController.nextPage(), label: "Pr\u00F3xima P\u00E1gina" })
|
|
119798
119840
|
];
|
|
119799
119841
|
}
|
|
119800
119842
|
applyConfig(cols) {
|
|
@@ -119810,13 +119852,13 @@ let EzGrid$1 = class extends HTMLElement$1 {
|
|
|
119810
119852
|
this._popUpVisible = true;
|
|
119811
119853
|
}
|
|
119812
119854
|
render() {
|
|
119813
|
-
return (h(Host, null, h("div", { class: "box box--shadow padding--medium
|
|
119855
|
+
return (h(Host, null, h("div", { class: "box box--shadow padding--medium grid-header margin-bottom--small" }, h("div", { class: "grid-header__container" }, h("slot", { name: "leftButtons" })), h("div", { class: "grid-header__container" }, this.getPaginationControl(), h("ez-button", { size: "small", iconName: "settings", class: "button--secondary", mode: "icon", onClick: () => { this.openConfig(); } }))), h("div", { class: "grid__container ag-sankhya-theme", ref: elem => this._container = elem }), h("div", { class: "grid__footer" }), h("ez-modal", { modalSize: "small", closeEsc: true, closeOutsideClick: true, opened: this._popUpVisible, onEzCloseModal: () => this._popUpVisible = false }, h("grid-config", { ref: ref => this._gridConfig = ref, selectedTab: "Colunas", onConfigFinish: evt => this.applyConfig(evt.detail), onConfigCancel: _evt => this.closeConfig() }))));
|
|
119814
119856
|
}
|
|
119815
119857
|
static get assetsDirs() { return ["../assets"]; }
|
|
119816
119858
|
static get style() { return ezGridCss; }
|
|
119817
119859
|
};
|
|
119818
119860
|
|
|
119819
|
-
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}";
|
|
119861
|
+
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;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.ez-icon-account-outline:before{content:\"\\ea01\"}.ez-icon-account:before{content:\"\\ea02\"}.ez-icon-alert-circle-inverted:before{content:\"\\ea03\"}.ez-icon-alert-circle:before{content:\"\\ea04\"}.ez-icon-alert-mail:before{content:\"\\ea05\"}.ez-icon-alert-outline:before{content:\"\\ea06\"}.ez-icon-alert-popup:before{content:\"\\ea07\"}.ez-icon-apps:before{content:\"\\ea08\"}.ez-icon-arrow_back:before{content:\"\\ea09\"}.ez-icon-bell-inverted:before{content:\"\\ea0a\"}.ez-icon-bell:before{content:\"\\ea0b\"}.ez-icon-business-center:before{content:\"\\ea0c\"}.ez-icon-calendar-text:before{content:\"\\ea0d\"}.ez-icon-calendar:before{content:\"\\ea0e\"}.ez-icon-check-circle-inverted:before{content:\"\\ea0f\"}.ez-icon-check-circle:before{content:\"\\ea10\"}.ez-icon-check:before{content:\"\\ea11\"}.ez-icon-chevron-down:before{content:\"\\ea12\"}.ez-icon-chevron-left:before{content:\"\\ea13\"}.ez-icon-chevron-right:before{content:\"\\ea14\"}.ez-icon-chevron-up:before{content:\"\\ea15\"}.ez-icon-circle--medium:before{content:\"\\ea16\"}.ez-icon-circle:before{content:\"\\ea17\"}.ez-icon-clipboard:before{content:\"\\ea18\"}.ez-icon-close-circle-inverted:before{content:\"\\ea19\"}.ez-icon-close-circle:before{content:\"\\ea1a\"}.ez-icon-close:before{content:\"\\ea1b\"}.ez-icon-comment-inverted:before{content:\"\\ea1c\"}.ez-icon-comment:before{content:\"\\ea1d\"}.ez-icon-configuration:before{content:\"\\ea1e\"}.ez-icon-copy:before{content:\"\\ea1f\"}.ez-icon-crop:before{content:\"\\ea20\"}.ez-icon-delete:before{content:\"\\ea21\"}.ez-icon-description:before{content:\"\\ea22\"}.ez-icon-dot-notification:before{content:\"\\ea23\"}.ez-icon-dots-horizontal:before{content:\"\\ea24\"}.ez-icon-dots-vertical:before{content:\"\\ea25\"}.ez-icon-drag-indicator:before{content:\"\\ea26\"}.ez-icon-edit-file:before{content:\"\\ea27\"}.ez-icon-edit-table:before{content:\"\\ea28\"}.ez-icon-edit-time:before{content:\"\\ea29\"}.ez-icon-edit:before{content:\"\\ea2a\"}.ez-icon-email-inverted:before{content:\"\\ea2b\"}.ez-icon-email:before{content:\"\\ea2c\"}.ez-icon-error-octagon:before{content:\"\\ea2d\"}.ez-icon-expand:before{content:\"\\ea2e\"}.ez-icon-eye-off:before{content:\"\\ea2f\"}.ez-icon-eye:before{content:\"\\ea30\"}.ez-icon-favorite:before{content:\"\\ea31\"}.ez-icon-file-download:before{content:\"\\ea32\"}.ez-icon-file-upload:before{content:\"\\ea33\"}.ez-icon-filter:before{content:\"\\ea34\"}.ez-icon-find-file:before{content:\"\\ea35\"}.ez-icon-find-page:before{content:\"\\ea36\"}.ez-icon-format-color-fill:before{content:\"\\ea37\"}.ez-icon-help-circle-outline:before{content:\"\\ea38\"}.ez-icon-help-inverted:before{content:\"\\ea39\"}.ez-icon-help:before{content:\"\\ea3a\"}.ez-icon-home:before{content:\"\\ea3b\"}.ez-icon-language:before{content:\"\\ea3c\"}.ez-icon-launch:before{content:\"\\ea3d\"}.ez-icon-lightbulb:before{content:\"\\ea3e\"}.ez-icon-list:before{content:\"\\ea3f\"}.ez-icon-loading:before{content:\"\\ea40\"}.ez-icon-lock-outline:before{content:\"\\ea41\"}.ez-icon-lock:before{content:\"\\ea42\"}.ez-icon-menu:before{content:\"\\ea43\"}.ez-icon-minus-circle-inverted:before{content:\"\\ea44\"}.ez-icon-minus:before{content:\"\\ea45\"}.ez-icon-money-off:before{content:\"\\ea46\"}.ez-icon-money:before{content:\"\\ea47\"}.ez-icon-north-west:before{content:\"\\ea48\"}.ez-icon-pause:before{content:\"\\ea49\"}.ez-icon-payments:before{content:\"\\ea4a\"}.ez-icon-play:before{content:\"\\ea4b\"}.ez-icon-plus-circle-inverted:before{content:\"\\ea4c\"}.ez-icon-plus-circle:before{content:\"\\ea4d\"}.ez-icon-plus:before{content:\"\\ea4e\"}.ez-icon-power:before{content:\"\\ea4f\"}.ez-icon-push-pin:before{content:\"\\ea50\"}.ez-icon-restore:before{content:\"\\ea51\"}.ez-icon-return:before{content:\"\\ea52\"}.ez-icon-rotate:before{content:\"\\ea53\"}.ez-icon-save:before{content:\"\\ea54\"}.ez-icon-search:before{content:\"\\ea55\"}.ez-icon-settings-inverted:before{content:\"\\ea56\"}.ez-icon-settings:before{content:\"\\ea57\"}.ez-icon-share:before{content:\"\\ea58\"}.ez-icon-shield:before{content:\"\\ea59\"}.ez-icon-south-east:before{content:\"\\ea5a\"}.ez-icon-success-circle:before{content:\"\\ea5b\"}.ez-icon-sync:before{content:\"\\ea5c\"}.ez-icon-table:before{content:\"\\ea5d\"}.ez-icon-timer-outline:before{content:\"\\ea5e\"}.ez-icon-user-circle:before{content:\"\\ea5f\"}.ez-icon-warning-minus:before{content:\"\\ea60\"}.ez-icon-warning-triangle:before{content:\"\\ea61\"}.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}";
|
|
119820
119862
|
|
|
119821
119863
|
let EzIcon$1 = class extends HTMLElement$1 {
|
|
119822
119864
|
constructor() {
|
|
@@ -119831,12 +119873,22 @@ let EzIcon$1 = class extends HTMLElement$1 {
|
|
|
119831
119873
|
isSprite() {
|
|
119832
119874
|
return this.href && this.href.indexOf('#') > -1;
|
|
119833
119875
|
}
|
|
119876
|
+
getIconClassName() {
|
|
119877
|
+
return `ez-icon-${this.iconName}`;
|
|
119878
|
+
}
|
|
119879
|
+
getIconContent() {
|
|
119880
|
+
if (this.isSprite()) {
|
|
119881
|
+
return h("svg", { class: this.size, role: "img" }, h("use", { xlinkHref: this.href }));
|
|
119882
|
+
}
|
|
119883
|
+
else if (!StringUtils.isEmpty(this.iconName)) {
|
|
119884
|
+
return h("span", { class: `icon-content ${this.getIconClassName()} ${this.size}--font` });
|
|
119885
|
+
}
|
|
119886
|
+
else {
|
|
119887
|
+
return h("img", { class: this.size, src: this.href });
|
|
119888
|
+
}
|
|
119889
|
+
}
|
|
119834
119890
|
render() {
|
|
119835
|
-
return (h(Host, null, this.
|
|
119836
|
-
?
|
|
119837
|
-
h("svg", { class: this.size, role: "img" }, h("use", { xlinkHref: this.href }))
|
|
119838
|
-
:
|
|
119839
|
-
h("img", { class: this.size, src: this.href })));
|
|
119891
|
+
return (h(Host, null, this.getIconContent()));
|
|
119840
119892
|
}
|
|
119841
119893
|
static get style() { return ezIconCss; }
|
|
119842
119894
|
};
|
|
@@ -120107,7 +120159,8 @@ let EzList$1 = class extends HTMLElement$1 {
|
|
|
120107
120159
|
}
|
|
120108
120160
|
}
|
|
120109
120161
|
else {
|
|
120110
|
-
|
|
120162
|
+
let indexForAdd = (dragEndItem.index > this._dragStartItem.index) ? dragEndItem.index - 1 : dragEndItem.index;
|
|
120163
|
+
newList.find(group => group.group == dragEndItem.groupName).items.splice(indexForAdd, 0, this._dragStartItem.item);
|
|
120111
120164
|
}
|
|
120112
120165
|
this._listGroupItems = newList;
|
|
120113
120166
|
this.ezChange.emit(this._listGroupItems);
|
|
@@ -121198,6 +121251,25 @@ let EzTextInput$1 = class extends HTMLElement$1 {
|
|
|
121198
121251
|
static get style() { return ezTextInputCss; }
|
|
121199
121252
|
};
|
|
121200
121253
|
|
|
121254
|
+
const getSpritePath = (sprite) => `${getContextAssetsPath("../assets/actions-sprite.svg")}#${sprite}`;
|
|
121255
|
+
let ctxLoaded = false;
|
|
121256
|
+
function getContextAssetsPath(resource) {
|
|
121257
|
+
if (!ctxLoaded) {
|
|
121258
|
+
const scriptElem = document.querySelector("script[data-ezui-assets-url]");
|
|
121259
|
+
if (scriptElem) {
|
|
121260
|
+
let assetsPath = scriptElem.dataset.ezuiAssetsUrl;
|
|
121261
|
+
if (assetsPath) {
|
|
121262
|
+
if (assetsPath.startsWith('/')) {
|
|
121263
|
+
assetsPath = window.location.origin + assetsPath;
|
|
121264
|
+
}
|
|
121265
|
+
setAssetPath(assetsPath);
|
|
121266
|
+
}
|
|
121267
|
+
}
|
|
121268
|
+
ctxLoaded = true;
|
|
121269
|
+
}
|
|
121270
|
+
return getAssetPath(resource);
|
|
121271
|
+
}
|
|
121272
|
+
|
|
121201
121273
|
const ezTimeInputCss = ":host{display:flex;flex-wrap:wrap;position:relative;width:100%}";
|
|
121202
121274
|
|
|
121203
121275
|
let EzTimeInput$1 = class extends HTMLElement$1 {
|
|
@@ -122023,7 +122095,7 @@ let TestDu$1 = class extends HTMLElement$1 {
|
|
|
122023
122095
|
|
|
122024
122096
|
const EzActionChip = /*@__PURE__*/proxyCustomElement(EzLabelChip$2, [1,"ez-action-chip",{"label":[513],"enabled":[516]}]);
|
|
122025
122097
|
const EzApplication = /*@__PURE__*/proxyCustomElement(EzApplication$1, [0,"ez-application"]);
|
|
122026
|
-
const EzButton = /*@__PURE__*/proxyCustomElement(EzButton$1, [1,"ez-button",{"label":[513],"enabled":[516],"mode":[513],"image":[513],"size":[513]}]);
|
|
122098
|
+
const EzButton = /*@__PURE__*/proxyCustomElement(EzButton$1, [1,"ez-button",{"label":[513],"enabled":[516],"mode":[513],"image":[513],"iconName":[513,"icon-name"],"size":[513]}]);
|
|
122027
122099
|
const EzCalendar = /*@__PURE__*/proxyCustomElement(EzCalendar$1, [1,"ez-calendar",{"value":[1040],"floating":[516],"time":[516],"showSeconds":[516,"show-seconds"]}]);
|
|
122028
122100
|
const EzCheck = /*@__PURE__*/proxyCustomElement(EzCheck$1, [1,"ez-check",{"label":[513],"value":[1540],"enabled":[516],"mode":[513]}]);
|
|
122029
122101
|
const EzCollapsibleBox = /*@__PURE__*/proxyCustomElement(EzCollapsibleBox$1, [1,"ez-collapsible-box",{"value":[1540],"label":[513],"headerSize":[513,"header-size"],"iconPlacement":[513,"icon-placement"]}]);
|
|
@@ -122032,8 +122104,8 @@ const EzDateInput = /*@__PURE__*/proxyCustomElement(EzDateInput$1, [1,"ez-date-i
|
|
|
122032
122104
|
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"]}]);
|
|
122033
122105
|
const EzDialog = /*@__PURE__*/proxyCustomElement(EzDialog$1, [1,"ez-dialog",{"confirm":[1028],"critical":[1028],"message":[1025],"opened":[1540],"personalizedIconPath":[1025,"personalized-icon-path"],"ezTitle":[1025,"ez-title"]}]);
|
|
122034
122106
|
const EzForm = /*@__PURE__*/proxyCustomElement(EzForm$1, [0,"ez-form",{"dataUnit":[1040],"config":[16]}]);
|
|
122035
|
-
const EzGrid = /*@__PURE__*/proxyCustomElement(EzGrid$1, [
|
|
122036
|
-
const EzIcon = /*@__PURE__*/proxyCustomElement(EzIcon$1, [1,"ez-icon",{"size":[513],"href":[513]}]);
|
|
122107
|
+
const EzGrid = /*@__PURE__*/proxyCustomElement(EzGrid$1, [6,"ez-grid",{"multipleSelection":[4,"multiple-selection"],"pageSize":[2,"page-size"],"serverUrl":[1,"server-url"],"dataUnit":[16],"_navigationHasPrevious":[32],"_navigationHasNext":[32],"_navigationFirstRow":[32],"_navigationLastRow":[32],"_navigationTotalRows":[32],"_popUpVisible":[32]}]);
|
|
122108
|
+
const EzIcon = /*@__PURE__*/proxyCustomElement(EzIcon$1, [1,"ez-icon",{"size":[513],"href":[513],"iconName":[513,"icon-name"]}]);
|
|
122037
122109
|
const EzLabelChip = /*@__PURE__*/proxyCustomElement(EzLabelChip$1, [1,"ez-label-chip",{"label":[513],"enabled":[516],"removable":[516],"value":[1540]}]);
|
|
122038
122110
|
const EzList = /*@__PURE__*/proxyCustomElement(EzList$1, [1,"ez-list",{"dataSource":[1040],"useGroups":[1540,"use-groups"],"ezDraggable":[1028,"ez-draggable"],"ezSelectable":[1028,"ez-selectable"],"itemSlotBuilder":[1040],"_listItems":[32],"_listGroupItems":[32]}]);
|
|
122039
122111
|
const EzModal = /*@__PURE__*/proxyCustomElement(EzModal$1, [1,"ez-modal",{"modalSize":[1,"modal-size"],"align":[1],"opened":[1028],"closeEsc":[4,"close-esc"],"closeOutsideClick":[4,"close-outside-click"]}]);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as getAssetPath, s as setAssetPath } from './index-
|
|
1
|
+
import { a as getAssetPath, s as setAssetPath } from './index-6b8bfbeb.js';
|
|
2
2
|
|
|
3
3
|
const getSpritePath = (sprite) => `${getContextAssetsPath("../assets/actions-sprite.svg")}#${sprite}`;
|
|
4
4
|
let ctxLoaded = false;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, c as createEvent, h } from './index-
|
|
1
|
+
import { r as registerInstance, c as createEvent, h } from './index-6b8bfbeb.js';
|
|
2
2
|
|
|
3
3
|
const ezActionChipCss = ":host{--ez-action-chip--height:36px;--ez-action-chip--border-radius:var(--border--radius-large, 24px);--ez-action-chip__border:1px solid;--ez-action-chip__border-color-strokes:var(--color--strokes, #DCE0E8);--ez-action-chip--font-size:var(--text--medium, 14px);--ez-action-chip--font-family:var(--font-pattern, Arial);--ez-action-chip--font-weight:var(--text-weight--large, 500);--ez-action-chip__label--title--primary:var(--title--primary, #919191);--ez-action-chip__label-color--disable-secondary:var(--color--disable-secondary, #F2F5F8);--ez-action-chip__label__default--background-color--hover:var(--color--primary-200, #f2faf8);--ez-action-chip__label__default--border-color--hover:var(--color--primary-600, #007a5a)}.label__container{width:fit-content;display:flex;flex-wrap:wrap;position:relative;background-color:#FFFFFF;align-items:center;align-self:center;cursor:pointer;color:var(--ez-action-chip__label--title--primary);fill:var(--ez-action-chip__label--title--primary);border:var(--ez-action-chip__border);border-radius:var(--ez-action-chip--border-radius);border-color:var(--ez-action-chip__border-color-strokes);padding-right:var(--space--medium, 12px);padding-left:var(--space--medium, 12px)}.label__container:hover{border-color:var(--ez-action-chip__label__default--border-color--hover);background-color:var(--ez-action-chip__label__default--background-color--hover)}label{display:flex;align-items:center;font-weight:var(--text-weight--large, 600);cursor:pointer;height:var(--ez-action-chip--height);font-family:var(--ez-action-chip--font-family);font-size:var(--ez-action-chip--font-size)}";
|
|
4
4
|
|