@sankhyalabs/ezui 1.1.89 → 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 +55 -11
- 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-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 +42 -1
- package/dist/collection/components/ez-grid/ez-grid.css +7 -2
- package/dist/collection/components/ez-grid/ez-grid.js +6 -3
- package/dist/collection/components/ez-list/ez-list.js +2 -1
- package/dist/custom-elements/index.js +64 -13
- 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 +55 -11
- 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-93bb1854.entry.js → p-f241de18.entry.js} +2 -2
- package/dist/types/components/ez-calendar/ez-calendar.d.ts +1 -0
- package/dist/types/components/ez-grid/controller/EzGridController.d.ts +8 -0
- package/dist/types/components/ez-grid/controller/ag-grid/AgGridController.d.ts +1 -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
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
/*@doc Define a cor de fundo do corpo da hora do calendário.*/
|
|
13
13
|
--ez-calendar__Time--background-color: var(--background--xlight, #FAFAFA);
|
|
14
14
|
/*@doc Define o espaçamento do corpo do calendário.*/
|
|
15
|
-
--ez-calendar__body--padding: var(--space--medium, 12px);
|
|
15
|
+
--ez-calendar__body--padding: var(--space--medium, 12px) var(--space--small, 6px) ;
|
|
16
16
|
/*@doc Define o raio da borda do corpo do calendário.*/
|
|
17
17
|
--ez-calendar__body--border-radius: var(--border--radius-medium, 12px);
|
|
18
18
|
/*@doc Define a sombra do corpo do calendário.*/
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
|
|
21
21
|
/* cal__header */
|
|
22
22
|
/*@doc Define a espessura da borda inferior do header.*/
|
|
23
|
-
--ez-calendar__header-line--stroke:
|
|
23
|
+
--ez-calendar__header-line--stroke: 1px;
|
|
24
24
|
/*@doc Define a cor da borda inferior do header.*/
|
|
25
25
|
--ez-calendar__header-line--color: var(--color--strokes, #C0C0C0);
|
|
26
26
|
|
|
@@ -40,17 +40,19 @@
|
|
|
40
40
|
|
|
41
41
|
/* cell */
|
|
42
42
|
/*@doc Define o espaçamento vertical entre as células.*/
|
|
43
|
-
--ez-calendar__cell--margin: 0px
|
|
43
|
+
--ez-calendar__cell--margin: 0px 1.5px;
|
|
44
44
|
/*@doc Define a largura das células.*/
|
|
45
45
|
--ez-calendar__cell--width: var(--space--large, 24px);
|
|
46
46
|
/*@doc Define o espaçamento horizontal entre as células.*/
|
|
47
|
-
--ez-calendar__cell--padding:
|
|
47
|
+
--ez-calendar__cell--padding: 1.5px 0px;
|
|
48
48
|
/*@doc Define o raio da borda das células.*/
|
|
49
49
|
--ez-calendar__cell--border-radius: var(--border--radius-small, 6px);
|
|
50
50
|
/*@doc Define a cor de fundo das células.*/
|
|
51
|
-
--ez-calendar__cell--over--background-color: var(--color--
|
|
51
|
+
--ez-calendar__cell--over--background-color: var(--color--primary, #E2F4EF);
|
|
52
|
+
/*@doc Define a cor de do texto das células.*/
|
|
53
|
+
--ez-calendar__cell--over--color: var(--color--primary-300, #008561);
|
|
52
54
|
/*@doc Define a cor do texto para células secundárias (fora do mês selecionado).*/
|
|
53
|
-
--ez-calendar__cell--outset--color: var(--color--
|
|
55
|
+
--ez-calendar__cell--outset--color: var(--color--disable-primary, #E5EAF0);
|
|
54
56
|
/*@doc Define a cor de fundo das células selecionadas.*/
|
|
55
57
|
--ez-calendar__cell--selected--background-color: var(--color--primary, #008561);
|
|
56
58
|
/*@doc Define a cor do texto da célula selecionada.*/
|
|
@@ -60,7 +62,7 @@
|
|
|
60
62
|
/*@doc Define a cor do texto do botão "Hoje".*/
|
|
61
63
|
--ez-calendar__btn-today--color: var(--color--primary);
|
|
62
64
|
/*@doc Define a cor de fundo do botão "Hoje" quando o cursor está sobre ele.*/
|
|
63
|
-
--ez-calendar__btn-today--hover--background-color: var(--color--
|
|
65
|
+
--ez-calendar__btn-today--hover--background-color: var(--color--primary-300, #E2F4EF);
|
|
64
66
|
/*@doc Define o raio da borda do botão "Hoje".*/
|
|
65
67
|
--ez-calendar__btn-today--border-radius: var(--border--radius-small, 6px);
|
|
66
68
|
|
|
@@ -90,8 +92,8 @@
|
|
|
90
92
|
/*private*/
|
|
91
93
|
display: flex;
|
|
92
94
|
justify-content: space-between;
|
|
93
|
-
padding-bottom: var(--space--
|
|
94
|
-
margin: var(--space--small, 6px) var(--space--, 12px);
|
|
95
|
+
padding-bottom: var(--space--small, 6px);
|
|
96
|
+
margin: 0px var(--space--, 12px) var(--space--small, 6px) var(--space--, 12px);
|
|
95
97
|
|
|
96
98
|
/*public*/
|
|
97
99
|
font-family: var(--ez-calendar--font-family);
|
|
@@ -140,8 +142,8 @@
|
|
|
140
142
|
|
|
141
143
|
.calendar__lbl-month {
|
|
142
144
|
/*private*/
|
|
143
|
-
font-weight: var(--text-weight--large,
|
|
144
|
-
font-size: var(--title--
|
|
145
|
+
font-weight: var(--text-weight--extra-large, 700);
|
|
146
|
+
font-size: var(--title--small, 14px);
|
|
145
147
|
|
|
146
148
|
/*public*/
|
|
147
149
|
font-family: var(--ez-calendar--font-family);
|
|
@@ -162,7 +164,7 @@
|
|
|
162
164
|
justify-content: center;
|
|
163
165
|
align-content: center;
|
|
164
166
|
cursor: pointer;
|
|
165
|
-
font-size: var(--text--small,
|
|
167
|
+
font-size: var(--text--extra-small, 10px);
|
|
166
168
|
|
|
167
169
|
/*public*/
|
|
168
170
|
font-family: var(--ez-calendar--font-family);
|
|
@@ -178,6 +180,7 @@
|
|
|
178
180
|
.calendar__cell:hover {
|
|
179
181
|
/*public*/
|
|
180
182
|
background-color: var(--ez-calendar__cell--over--background-color);
|
|
183
|
+
color: var(--ez-calendar__cell--over--color);
|
|
181
184
|
}
|
|
182
185
|
|
|
183
186
|
.calendar__cell--secondary {
|
|
@@ -208,11 +211,6 @@
|
|
|
208
211
|
color: var(--ez-calendar__cell--selected--color);
|
|
209
212
|
}
|
|
210
213
|
|
|
211
|
-
.calendar__body {
|
|
212
|
-
/*private*/
|
|
213
|
-
padding: var(--space--small, 6px) 0px;
|
|
214
|
-
}
|
|
215
|
-
|
|
216
214
|
.calendar__footer {
|
|
217
215
|
/*private*/
|
|
218
216
|
display: flex;
|
|
@@ -225,8 +223,8 @@
|
|
|
225
223
|
background-color: unset;
|
|
226
224
|
cursor: pointer;
|
|
227
225
|
font-weight: var(--text-weight--large, 600);
|
|
228
|
-
font-size: var(--title--small);
|
|
229
|
-
padding:
|
|
226
|
+
font-size: var(--title--extra-small, 12px);
|
|
227
|
+
padding: 0px;
|
|
230
228
|
|
|
231
229
|
/*public*/
|
|
232
230
|
font-family: var(--ez-calendar--font-family);
|
|
@@ -249,9 +247,7 @@ section{
|
|
|
249
247
|
margin-left: -10px;
|
|
250
248
|
display: flex;
|
|
251
249
|
flex-direction: column;
|
|
252
|
-
padding: 12px
|
|
253
|
-
padding-left: 16px;
|
|
254
|
-
padding-bottom: 0px;
|
|
250
|
+
padding: 12px 0px 0px 10px;
|
|
255
251
|
|
|
256
252
|
/*public*/
|
|
257
253
|
/*TODO Criar variavel para color o calendar_time var(--ez-calendar__body-time--background-color)*/
|
|
@@ -261,7 +257,7 @@ section{
|
|
|
261
257
|
box-shadow: var(--ez-calendar__body--shadow);
|
|
262
258
|
}
|
|
263
259
|
.calendar__column {
|
|
264
|
-
height:
|
|
260
|
+
height: 136px;
|
|
265
261
|
padding: 0px;
|
|
266
262
|
margin: 0px;
|
|
267
263
|
overflow: auto;
|
|
@@ -276,14 +272,14 @@ section{
|
|
|
276
272
|
|
|
277
273
|
.calendarTime__header{
|
|
278
274
|
/*private*/
|
|
279
|
-
padding-left: 6px;
|
|
280
|
-
padding-right: 6px;
|
|
275
|
+
padding-left: var(--space--small, 6px);
|
|
276
|
+
padding-right: var(--space--small, 6px);
|
|
281
277
|
display: flex;
|
|
282
278
|
justify-content: space-between;
|
|
283
|
-
padding-bottom: var(--space--
|
|
284
|
-
margin: var(--space--small, 6px) var(--space--, 12px);
|
|
285
|
-
font-weight: var(--text-weight--large,
|
|
286
|
-
font-size: var(--title--
|
|
279
|
+
padding-bottom: var(--space--small, 6px);
|
|
280
|
+
margin: 0px var(--space--, 12px) var(--space--small, 6px) var(--space--, 12px);
|
|
281
|
+
font-weight: var(--text-weight--extra-large, 700);
|
|
282
|
+
font-size: var(--title--small, 14px);
|
|
287
283
|
|
|
288
284
|
|
|
289
285
|
/*public*/
|
|
@@ -298,9 +294,17 @@ section{
|
|
|
298
294
|
|
|
299
295
|
.separatorTime{
|
|
300
296
|
color: #A2ABB9;
|
|
297
|
+
padding: 0px 1px;
|
|
298
|
+
line-height: 16px;
|
|
299
|
+
font-size: 17px;
|
|
300
|
+
font-weight: normal;
|
|
301
301
|
}
|
|
302
302
|
|
|
303
303
|
.endHidden {
|
|
304
304
|
-webkit-mask-image: linear-gradient(180deg, #000 calc(100% - 48px), transparent 100%);
|
|
305
305
|
}
|
|
306
306
|
|
|
307
|
+
.calendar__column .calendar__cell{
|
|
308
|
+
margin: 0px;
|
|
309
|
+
padding: 1.5px 1.5px;
|
|
310
|
+
}
|
|
@@ -7,7 +7,7 @@ export class EzCalendar {
|
|
|
7
7
|
this._weekDayLabels = ["D", "S", "T", "Q", "Q", "S", "S"];
|
|
8
8
|
this._monthLabels = ["Janeiro", "Fevereiro", "Março", "Abril", "Maio", "Junho", "Julho", "Agosto", "Setembro", "Outubro", "Novembro", "Dezembro"];
|
|
9
9
|
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"];
|
|
10
|
-
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"];
|
|
10
|
+
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"];
|
|
11
11
|
/**
|
|
12
12
|
* A data selecionada no calendário
|
|
13
13
|
*/
|
|
@@ -38,6 +38,7 @@ export class EzCalendar {
|
|
|
38
38
|
window.requestAnimationFrame(() => {
|
|
39
39
|
this._box.scrollIntoView({ behavior: "smooth", block: "nearest", inline: "nearest" });
|
|
40
40
|
});
|
|
41
|
+
this.scroll();
|
|
41
42
|
}
|
|
42
43
|
}
|
|
43
44
|
/**
|
|
@@ -140,11 +141,17 @@ export class EzCalendar {
|
|
|
140
141
|
this.updateScroll(this._secondsScroll);
|
|
141
142
|
}
|
|
142
143
|
componentDidLoad() {
|
|
144
|
+
this.scroll();
|
|
145
|
+
}
|
|
146
|
+
scroll() {
|
|
143
147
|
if (this.time || this.showSeconds) {
|
|
144
148
|
this._hoursScroll.scrollTop = this._hoursSelect.offsetTop - 64;
|
|
145
149
|
this._minutesScroll.scrollTop = this._minutesSelect.offsetTop - 64;
|
|
150
|
+
this.updateScroll(this._hoursScroll);
|
|
151
|
+
this.updateScroll(this._minutesScroll);
|
|
146
152
|
if (this.showSeconds) {
|
|
147
153
|
this._secondsScroll.scrollTop = this._secondsSelect.offsetTop - 64;
|
|
154
|
+
this.updateScroll(this._secondsScroll);
|
|
148
155
|
}
|
|
149
156
|
}
|
|
150
157
|
}
|
|
@@ -193,7 +200,7 @@ export class EzCalendar {
|
|
|
193
200
|
h("div", { class: "separatorTime" }, ":"),
|
|
194
201
|
this.showSeconds &&
|
|
195
202
|
h("div", null, "S")),
|
|
196
|
-
h("div", { class: "calendar__body ", style: { display: 'flex', paddingLeft: '
|
|
203
|
+
h("div", { class: "calendar__body ", style: { display: 'flex', paddingLeft: '12px', paddingRight: '12px' } },
|
|
197
204
|
h("div", { class: "calendar__column", ref: elem => this._hoursScroll = elem, onScroll: () => this.updateScroll(this._hoursScroll) }, this._hoursLabel.map((offset, index) => {
|
|
198
205
|
if (index === this.value.getHours()) {
|
|
199
206
|
return (h("div", { style: { display: 'flex' }, ref: elem => this._hoursSelect = elem },
|
|
@@ -14,11 +14,13 @@ export default class DataUnitBridge {
|
|
|
14
14
|
}
|
|
15
15
|
buildColumnDefs() {
|
|
16
16
|
const columnDefs = [];
|
|
17
|
-
this._dataUnit.metadata
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
17
|
+
if (this._dataUnit.metadata) {
|
|
18
|
+
this._dataUnit.metadata.fields.forEach(f => {
|
|
19
|
+
if (f.visible !== false) {
|
|
20
|
+
columnDefs.push({ label: f.label, name: f.name, userInterface: f.userInterface, options: this._dataUnit.getField(f.name).properties.options });
|
|
21
|
+
}
|
|
22
|
+
});
|
|
23
|
+
}
|
|
22
24
|
return columnDefs;
|
|
23
25
|
}
|
|
24
26
|
}
|
|
@@ -112,7 +112,13 @@ export default class AgGridController {
|
|
|
112
112
|
if (this._grid === undefined) {
|
|
113
113
|
throw new Error("Erro interno: Grid ainda não inicializado.");
|
|
114
114
|
}
|
|
115
|
-
|
|
115
|
+
//TODO neste ponto estamos utilizando um método descontinuado,
|
|
116
|
+
//pelo fato de que o applyColumnState não reordena as colunas conforme
|
|
117
|
+
//o estado passado.
|
|
118
|
+
//https://stackoverflow.com/questions/51488241/ag-grid-how-to-save-and-reload-column-order
|
|
119
|
+
//Assim que for corrigido o applyColumnState devemos substituir o setColumnState por ele.
|
|
120
|
+
// this._gridOptions.columnApi.applyColumnState({ state: state.map(s => this.buildColState(s)) });
|
|
121
|
+
this._gridOptions.columnApi.setColumnState(state.map(s => this.buildColState(s)));
|
|
116
122
|
}
|
|
117
123
|
getColumnsState() {
|
|
118
124
|
if (this._grid === undefined) {
|
|
@@ -152,9 +158,44 @@ export default class AgGridController {
|
|
|
152
158
|
resizable: true,
|
|
153
159
|
headerComponentParams: {
|
|
154
160
|
template: HeaderColumnTemplate
|
|
161
|
+
},
|
|
162
|
+
valueFormatter: params => {
|
|
163
|
+
return this.getFormatterByColumn(params, source);
|
|
155
164
|
}
|
|
156
165
|
};
|
|
157
166
|
}
|
|
167
|
+
getFormatterByColumn(params, source) {
|
|
168
|
+
var _a, _b;
|
|
169
|
+
if ((source === null || source === void 0 ? void 0 : source.userInterface) === "OPTIONSELECTOR" && source.options) {
|
|
170
|
+
const prop = source === null || source === void 0 ? void 0 : source.options;
|
|
171
|
+
let options;
|
|
172
|
+
if (typeof prop === "string") {
|
|
173
|
+
const parsed = JSON.parse(prop);
|
|
174
|
+
options = Object.keys(parsed).map(key => { return { value: key, label: parsed[key] }; });
|
|
175
|
+
}
|
|
176
|
+
else {
|
|
177
|
+
options = prop;
|
|
178
|
+
}
|
|
179
|
+
let optionSelected;
|
|
180
|
+
options.forEach((option) => {
|
|
181
|
+
if (option.value == params.value) {
|
|
182
|
+
optionSelected = option;
|
|
183
|
+
}
|
|
184
|
+
});
|
|
185
|
+
return optionSelected === null || optionSelected === void 0 ? void 0 : optionSelected.label;
|
|
186
|
+
}
|
|
187
|
+
if ((source === null || source === void 0 ? void 0 : source.userInterface) === "SWITCH") {
|
|
188
|
+
if ((params === null || params === void 0 ? void 0 : params.value) === "S" || (params === null || params === void 0 ? void 0 : params.value) === true) {
|
|
189
|
+
return "Sim";
|
|
190
|
+
}
|
|
191
|
+
else if ((params === null || params === void 0 ? void 0 : params.value) === "N" || (params === null || params === void 0 ? void 0 : params.value) === false) {
|
|
192
|
+
return "Não";
|
|
193
|
+
}
|
|
194
|
+
}
|
|
195
|
+
if ((source === null || source === void 0 ? void 0 : source.userInterface) === "SEARCH") {
|
|
196
|
+
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);
|
|
197
|
+
}
|
|
198
|
+
}
|
|
158
199
|
buildColState(source) {
|
|
159
200
|
return {
|
|
160
201
|
colId: source.name,
|
|
@@ -7,12 +7,17 @@
|
|
|
7
7
|
--ezgrid__header--background-color: var(--background--xlight, #FFF)
|
|
8
8
|
}
|
|
9
9
|
|
|
10
|
-
.
|
|
10
|
+
.grid-header {
|
|
11
11
|
/*private*/
|
|
12
12
|
display: flex;
|
|
13
|
-
justify-content:
|
|
13
|
+
justify-content: space-between;
|
|
14
14
|
align-items: center;
|
|
15
15
|
|
|
16
16
|
/*public*/
|
|
17
17
|
background-color: var(--ezgrid__header--background-color);
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
.grid-header__container{
|
|
21
|
+
display: flex;
|
|
22
|
+
align-items: center;
|
|
18
23
|
}
|
|
@@ -109,9 +109,12 @@ export class EzGrid {
|
|
|
109
109
|
}
|
|
110
110
|
render() {
|
|
111
111
|
return (h(Host, null,
|
|
112
|
-
h("div", { class: "box box--shadow padding--medium
|
|
113
|
-
|
|
114
|
-
|
|
112
|
+
h("div", { class: "box box--shadow padding--medium grid-header margin-bottom--small" },
|
|
113
|
+
h("div", { class: "grid-header__container" },
|
|
114
|
+
h("slot", { name: "leftButtons" })),
|
|
115
|
+
h("div", { class: "grid-header__container" },
|
|
116
|
+
this.getPaginationControl(),
|
|
117
|
+
h("ez-button", { size: "small", iconName: "settings", class: "button--secondary", mode: "icon", onClick: () => { this.openConfig(); } }))),
|
|
115
118
|
h("div", { class: "grid__container ag-sankhya-theme", ref: elem => this._container = elem }),
|
|
116
119
|
h("div", { class: "grid__footer" }),
|
|
117
120
|
h("ez-modal", { modalSize: "small", closeEsc: true, closeOutsideClick: true, opened: this._popUpVisible, onEzCloseModal: () => this._popUpVisible = false },
|
|
@@ -162,7 +162,8 @@ export class EzList {
|
|
|
162
162
|
}
|
|
163
163
|
}
|
|
164
164
|
else {
|
|
165
|
-
|
|
165
|
+
let indexForAdd = (dragEndItem.index > this._dragStartItem.index) ? dragEndItem.index - 1 : dragEndItem.index;
|
|
166
|
+
newList.find(group => group.group == dragEndItem.groupName).items.splice(indexForAdd, 0, this._dragStartItem.item);
|
|
166
167
|
}
|
|
167
168
|
this._listGroupItems = newList;
|
|
168
169
|
this.ezChange.emit(this._listGroupItems);
|
|
@@ -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
|
}
|
|
@@ -119569,7 +119576,13 @@ class AgGridController {
|
|
|
119569
119576
|
if (this._grid === undefined) {
|
|
119570
119577
|
throw new Error("Erro interno: Grid ainda não inicializado.");
|
|
119571
119578
|
}
|
|
119572
|
-
|
|
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)));
|
|
119573
119586
|
}
|
|
119574
119587
|
getColumnsState() {
|
|
119575
119588
|
if (this._grid === undefined) {
|
|
@@ -119609,9 +119622,44 @@ class AgGridController {
|
|
|
119609
119622
|
resizable: true,
|
|
119610
119623
|
headerComponentParams: {
|
|
119611
119624
|
template: HeaderColumnTemplate
|
|
119625
|
+
},
|
|
119626
|
+
valueFormatter: params => {
|
|
119627
|
+
return this.getFormatterByColumn(params, source);
|
|
119612
119628
|
}
|
|
119613
119629
|
};
|
|
119614
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
|
+
}
|
|
119615
119663
|
buildColState(source) {
|
|
119616
119664
|
return {
|
|
119617
119665
|
colId: source.name,
|
|
@@ -119681,16 +119729,18 @@ class DataUnitBridge {
|
|
|
119681
119729
|
}
|
|
119682
119730
|
buildColumnDefs() {
|
|
119683
119731
|
const columnDefs = [];
|
|
119684
|
-
this._dataUnit.metadata
|
|
119685
|
-
|
|
119686
|
-
|
|
119687
|
-
|
|
119688
|
-
|
|
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
|
+
}
|
|
119689
119739
|
return columnDefs;
|
|
119690
119740
|
}
|
|
119691
119741
|
}
|
|
119692
119742
|
|
|
119693
|
-
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}";
|
|
119694
119744
|
|
|
119695
119745
|
let EzGrid$1 = class extends HTMLElement$1 {
|
|
119696
119746
|
constructor() {
|
|
@@ -119802,7 +119852,7 @@ let EzGrid$1 = class extends HTMLElement$1 {
|
|
|
119802
119852
|
this._popUpVisible = true;
|
|
119803
119853
|
}
|
|
119804
119854
|
render() {
|
|
119805
|
-
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() }))));
|
|
119806
119856
|
}
|
|
119807
119857
|
static get assetsDirs() { return ["../assets"]; }
|
|
119808
119858
|
static get style() { return ezGridCss; }
|
|
@@ -120109,7 +120159,8 @@ let EzList$1 = class extends HTMLElement$1 {
|
|
|
120109
120159
|
}
|
|
120110
120160
|
}
|
|
120111
120161
|
else {
|
|
120112
|
-
|
|
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);
|
|
120113
120164
|
}
|
|
120114
120165
|
this._listGroupItems = newList;
|
|
120115
120166
|
this.ezChange.emit(this._listGroupItems);
|
|
@@ -122053,7 +122104,7 @@ const EzDateInput = /*@__PURE__*/proxyCustomElement(EzDateInput$1, [1,"ez-date-i
|
|
|
122053
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"]}]);
|
|
122054
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"]}]);
|
|
122055
122106
|
const EzForm = /*@__PURE__*/proxyCustomElement(EzForm$1, [0,"ez-form",{"dataUnit":[1040],"config":[16]}]);
|
|
122056
|
-
const EzGrid = /*@__PURE__*/proxyCustomElement(EzGrid$1, [
|
|
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]}]);
|
|
122057
122108
|
const EzIcon = /*@__PURE__*/proxyCustomElement(EzIcon$1, [1,"ez-icon",{"size":[513],"href":[513],"iconName":[513,"icon-name"]}]);
|
|
122058
122109
|
const EzLabelChip = /*@__PURE__*/proxyCustomElement(EzLabelChip$1, [1,"ez-label-chip",{"label":[513],"enabled":[516],"removable":[516],"value":[1540]}]);
|
|
122059
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]}]);
|
|
@@ -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
|
|