@sankhyalabs/ezui 1.1.14 → 1.1.18

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.
Files changed (46) hide show
  1. package/dist/cjs/ez-action-chip.cjs.entry.js +1 -1
  2. package/dist/cjs/ez-button_14.cjs.entry.js +17 -16
  3. package/dist/cjs/ez-label-chip.cjs.entry.js +1 -1
  4. package/dist/cjs/ez-modal.cjs.entry.js +12 -12
  5. package/dist/cjs/ez-number-input.cjs.entry.js +3 -1
  6. package/dist/cjs/ez-time-input.cjs.entry.js +1 -1
  7. package/dist/cjs/ezui.cjs.js +2 -2
  8. package/dist/cjs/form-metadata.cjs.entry.js +1 -1
  9. package/dist/cjs/{index-9403fe8f.js → index-b0ab12a1.js} +73 -21
  10. package/dist/cjs/loader.cjs.js +2 -2
  11. package/dist/collection/collection-manifest.json +1 -1
  12. package/dist/collection/components/ez-modal/ez-modal.css +216 -6
  13. package/dist/collection/components/ez-modal/ez-modal.js +12 -12
  14. package/dist/collection/components/ez-number-input/ez-number-input.js +18 -1
  15. package/dist/collection/components/ez-search/ez-search.js +28 -14
  16. package/dist/collection/components/ez-text-area/ez-text-area.js +1 -0
  17. package/dist/collection/components/ez-text-input/ez-text-input.css +2 -0
  18. package/dist/custom-elements/index.js +29 -26
  19. package/dist/esm/ez-action-chip.entry.js +1 -1
  20. package/dist/esm/ez-button_14.entry.js +17 -16
  21. package/dist/esm/ez-label-chip.entry.js +1 -1
  22. package/dist/esm/ez-modal.entry.js +12 -12
  23. package/dist/esm/ez-number-input.entry.js +3 -1
  24. package/dist/esm/ez-time-input.entry.js +1 -1
  25. package/dist/esm/ezui.js +2 -2
  26. package/dist/esm/form-metadata.entry.js +1 -1
  27. package/dist/esm/{index-95bb3fd9.js → index-93e65e82.js} +73 -21
  28. package/dist/esm/loader.js +2 -2
  29. package/dist/ezui/ezui.esm.js +1 -1
  30. package/dist/ezui/{p-172bb08b.entry.js → p-0635823b.entry.js} +1 -1
  31. package/dist/ezui/p-0e84340a.entry.js +1 -0
  32. package/dist/ezui/{p-fa260f22.entry.js → p-104e9734.entry.js} +1 -1
  33. package/dist/ezui/p-2712c0fb.entry.js +1 -0
  34. package/dist/ezui/{p-22b82efb.entry.js → p-95d21a40.entry.js} +1 -1
  35. package/dist/ezui/{p-dd4331b7.entry.js → p-9f167da7.entry.js} +1 -1
  36. package/dist/ezui/p-c3ca8f26.js +1 -0
  37. package/dist/ezui/{p-61829528.entry.js → p-fcbd6b80.entry.js} +1 -1
  38. package/dist/types/components/ez-modal/ez-modal.d.ts +0 -1
  39. package/dist/types/components/ez-number-input/ez-number-input.d.ts +5 -0
  40. package/dist/types/components/ez-search/ez-search.d.ts +5 -0
  41. package/dist/types/components.d.ts +5 -0
  42. package/dist/types/stencil-public-runtime.d.ts +183 -182
  43. package/package.json +1 -1
  44. package/dist/ezui/p-185c57f4.js +0 -1
  45. package/dist/ezui/p-77fdb4fd.entry.js +0 -1
  46. package/dist/ezui/p-f6fd31ab.entry.js +0 -1
@@ -74,14 +74,224 @@
74
74
  border-radius: 12px;
75
75
  }
76
76
 
77
- .small {
78
- width: 30%;
77
+ /* //////// GRID SYSTEM //////// */
78
+
79
+ .row {
80
+ width: 100%;
81
+ display: flex;
82
+ flex-wrap: wrap;
83
+ }
84
+
85
+ .col {
86
+ display: flex;
87
+ flex-wrap: wrap;
88
+ align-self: flex-start;
89
+ box-sizing: border-box;
90
+ }
91
+
92
+ .col--stretch {
93
+ align-self: stretch;
94
+ }
95
+
96
+ .col--undefined {
97
+ width: unset;
98
+ }
99
+
100
+ .col--nowrap {
101
+ flex-wrap: nowrap;
102
+ }
103
+
104
+ @media screen and (min-width: 320px) {
105
+ .col--sd-1 {
106
+ width: 8.33333%;
107
+ }
108
+ .col--sd-2 {
109
+ width: 16.66667%;
110
+ }
111
+ .col--sd-3 {
112
+ width: 25%;
113
+ }
114
+ .col--sd-4 {
115
+ width: 33.33333%;
116
+ }
117
+ .col--sd-5 {
118
+ width: 41.66667%;
119
+ }
120
+ .col--sd-6 {
121
+ width: 50%;
122
+ }
123
+ .col--sd-7 {
124
+ width: 58.33333%;
125
+ }
126
+ .col--sd-8 {
127
+ width: 66.66667%;
128
+ }
129
+ .col--sd-9 {
130
+ width: 75%;
131
+ }
132
+ .col--sd-10 {
133
+ width: 83.33333%;
134
+ }
135
+ .col--sd-11 {
136
+ width: 91.66667%;
137
+ }
138
+ .col--sd-12 {
139
+ width: 100%;
140
+ }
141
+ }
142
+
143
+ @media screen and (min-width: 480px) {
144
+ .col--pn-1 {
145
+ width: 8.33333%;
146
+ }
147
+ .col--pn-2 {
148
+ width: 16.66667%;
149
+ }
150
+ .col--pn-3 {
151
+ width: 25%;
152
+ }
153
+ .col--pn-4 {
154
+ width: 33.33333%;
155
+ }
156
+ .col--pn-5 {
157
+ width: 41.66667%;
158
+ }
159
+ .col--pn-6 {
160
+ width: 50%;
161
+ }
162
+ .col--pn-7 {
163
+ width: 58.33333%;
164
+ }
165
+ .col--pn-8 {
166
+ width: 66.66667%;
167
+ }
168
+ .col--pn-9 {
169
+ width: 75%;
170
+ }
171
+ .col--pn-10 {
172
+ width: 83.33333%;
173
+ }
174
+ .col--pn-11 {
175
+ width: 91.66667%;
176
+ }
177
+ .col--pn-12 {
178
+ width: 100%;
179
+ }
180
+ }
181
+
182
+ @media screen and (min-width: 768px) {
183
+ .col--tb-1 {
184
+ width: 8.33333%;
185
+ }
186
+ .col--tb-2 {
187
+ width: 16.66667%;
188
+ }
189
+ .col--tb-3 {
190
+ width: 25%;
191
+ }
192
+ .col--tb-4 {
193
+ width: 33.33333%;
194
+ }
195
+ .col--tb-5 {
196
+ width: 41.66667%;
197
+ }
198
+ .col--tb-6 {
199
+ width: 50%;
200
+ }
201
+ .col--tb-7 {
202
+ width: 58.33333%;
203
+ }
204
+ .col--tb-8 {
205
+ width: 66.66667%;
206
+ }
207
+ .col--tb-9 {
208
+ width: 75%;
209
+ }
210
+ .col--tb-10 {
211
+ width: 83.33333%;
212
+ }
213
+ .col--tb-11 {
214
+ width: 91.66667%;
215
+ }
216
+ .col--tb-12 {
217
+ width: 100%;
218
+ }
79
219
  }
80
220
 
81
- .medium {
82
- width: 50%;
221
+ @media screen and (min-width: 992px) {
222
+ .col--md-1 {
223
+ width: 8.33333%;
224
+ }
225
+ .col--md-2 {
226
+ width: 16.66667%;
227
+ }
228
+ .col--md-3 {
229
+ width: 25%;
230
+ }
231
+ .col--md-4 {
232
+ width: 33.33333%;
233
+ }
234
+ .col--md-5 {
235
+ width: 41.66667%;
236
+ }
237
+ .col--md-6 {
238
+ width: 50%;
239
+ }
240
+ .col--md-7 {
241
+ width: 58.33333%;
242
+ }
243
+ .col--md-8 {
244
+ width: 66.66667%;
245
+ }
246
+ .col--md-9 {
247
+ width: 75%;
248
+ }
249
+ .col--md-10 {
250
+ width: 83.33333%;
251
+ }
252
+ .col--md-11 {
253
+ width: 91.66667%;
254
+ }
255
+ .col--md-12 {
256
+ width: 100%;
257
+ }
83
258
  }
84
259
 
85
- .large {
86
- width: 70%;
260
+ @media screen and (min-width: 1200px) {
261
+ .col--ld-1 {
262
+ width: 8.33333%;
263
+ }
264
+ .col--ld-2 {
265
+ width: 16.66667%;
266
+ }
267
+ .col--ld-3 {
268
+ width: 25%;
269
+ }
270
+ .col--ld-4 {
271
+ width: 33.33333%;
272
+ }
273
+ .col--ld-5 {
274
+ width: 41.66667%;
275
+ }
276
+ .col--ld-6 {
277
+ width: 50%;
278
+ }
279
+ .col--ld-7 {
280
+ width: 58.33333%;
281
+ }
282
+ .col--ld-8 {
283
+ width: 66.66667%;
284
+ }
285
+ .col--ld-9 {
286
+ width: 75%;
287
+ }
288
+ .col--ld-10 {
289
+ width: 83.33333%;
290
+ }
291
+ .col--ld-11 {
292
+ width: 91.66667%;
293
+ }
294
+ .col--ld-12 {
295
+ width: 100%;
296
+ }
87
297
  }
@@ -21,13 +21,13 @@ export class EzModal {
21
21
  }
22
22
  };
23
23
  }
24
- handleClickOverlay(ev) {
25
- ev === null || ev === void 0 ? void 0 : ev.stopPropagation();
26
- if (ev instanceof PointerEvent && this.closeoutsideclick) {
27
- this.oppened = false;
28
- this.ezChange.emit(this.oppened);
29
- }
30
- }
24
+ // handleClickOverlay(ev) {
25
+ // ev?.stopPropagation();
26
+ // if (ev instanceof PointerEvent && this.closeoutsideclick) {
27
+ // this.oppened = false;
28
+ // this.ezChange.emit(this.oppened);
29
+ // }
30
+ // }
31
31
  handleOppenedChange() {
32
32
  if (this.oppened) {
33
33
  document.addEventListener('keydown', this.handleKeyboardEvent);
@@ -87,16 +87,16 @@ export class EzModal {
87
87
  //Ainda teremos ajustes visuais
88
88
  render() {
89
89
  return (h(Host, null, this.oppened ?
90
- h("div", { class: 'modal' /* ref={el => this._overlay = el} */, onClick: (ev) => this.handleClickOverlay(ev) },
90
+ h("div", { class: 'modal' /* ref={el => this._overlay = el} */ /* onClick={(ev) => this.handleClickOverlay(ev)} */ },
91
91
  this.align === 'left'
92
92
  ?
93
- h("div", { onClick: (ev) => this.handleClickOverlay(ev), class: "modal__container modal__container--left" },
94
- h("div", { onClick: (ev) => ev.stopPropagation(), class: "modal__content modal__content--left " + this.modalsize },
93
+ h("div", { class: "modal__container modal__container--left" },
94
+ h("div", { class: "modal__content modal__content--left " + this.modalsize },
95
95
  h("slot", null)))
96
96
  : undefined,
97
97
  this.align === 'right' ?
98
- h("div", { onClick: (ev) => this.handleClickOverlay(ev), class: "modal__container modal__container--right" },
99
- h("div", { onClick: (ev) => ev.stopPropagation(), class: "modal__content modal__content--right " + this.modalsize },
98
+ h("div", { class: "modal__container modal__container--right" },
99
+ h("div", { class: "modal__content modal__content--right " + this.modalsize },
100
100
  h("slot", null)))
101
101
  : undefined)
102
102
  : undefined));
@@ -1,4 +1,4 @@
1
- import { Component, h, Host, Prop, Watch, Method, Element } from '@stencil/core';
1
+ import { Component, h, Host, Prop, Watch, Method, Element, Event } from '@stencil/core';
2
2
  import { NumberUtils } from '@sankhyalabs/core';
3
3
  export class NumberInput {
4
4
  constructor() {
@@ -194,6 +194,7 @@ export class NumberInput {
194
194
  }
195
195
  this.strvalue = this._inputElem.value;
196
196
  }
197
+ this.ezChange.emit({ strValue: this.strvalue, value: this.value });
197
198
  this.adjustFloatingLabel();
198
199
  }
199
200
  settingValue() {
@@ -398,6 +399,22 @@ export class NumberInput {
398
399
  "defaultValue": "\"PT-BR\""
399
400
  }
400
401
  }; }
402
+ static get events() { return [{
403
+ "method": "ezChange",
404
+ "name": "ezChange",
405
+ "bubbles": true,
406
+ "cancelable": true,
407
+ "composed": true,
408
+ "docs": {
409
+ "tags": [],
410
+ "text": ""
411
+ },
412
+ "complexType": {
413
+ "original": "{ strValue: string, value: number }",
414
+ "resolved": "{ strValue: string; value: number; }",
415
+ "references": {}
416
+ }
417
+ }]; }
401
418
  static get methods() { return {
402
419
  "setFocus": {
403
420
  "complexType": {
@@ -253,28 +253,27 @@ export class EzSearch {
253
253
  let key = this.buildId();
254
254
  this.saveStorageItem(key, this._inputElem.value);
255
255
  /* load data */
256
- if (this.loadexecutor) {
257
- this._loadDataFunction(this._inputElem.value, (serverData) => { this.populateOptions(serverData); });
258
- }
256
+ this.load('PREDICTIVE');
259
257
  }, 200);
260
258
  }
259
+ load(mode) {
260
+ if (this.loadexecutor) {
261
+ this._loadDataFunction({ mode, argument: this._inputElem.value }, (serverData) => { this.populateOptions(serverData); });
262
+ }
263
+ }
261
264
  normalizeResult(data) {
262
- let options = [];
263
265
  if (data instanceof Array) {
266
+ let options = [];
264
267
  options = data;
268
+ this._options = [{ value: '', label: '' }].concat(options);
269
+ this.buildOptions();
265
270
  }
266
271
  else {
267
- if (data instanceof Object) {
268
- for (var key in data) {
269
- let newOption = { value: '', label: '' };
270
- newOption.value = key;
271
- newOption.label = data[key];
272
- options.push(newOption);
273
- }
272
+ if (data === null || data === void 0 ? void 0 : data.value) {
273
+ this.value = data.value;
274
+ this._inputElem.value = data.value;
274
275
  }
275
276
  }
276
- this._options = [{ value: '', label: '' }].concat(options);
277
- this.buildOptions();
278
277
  }
279
278
  populateOptions(serverData) {
280
279
  if (serverData instanceof Promise) {
@@ -323,7 +322,7 @@ export class EzSearch {
323
322
  var _a;
324
323
  return (h(Host, null,
325
324
  h("ez-text-input", { ref: (el) => { this._inputElem = el; }, label: this.label, enabled: this.enabled, onFocus: () => { this.handleFocus(); }, onInput: () => { this.handleChange(); }, onKeyDown: event => this.keyDownHandler(event), errormessage: this.errormessage },
326
- h("button", { disabled: !this.enabled, tabindex: -1, class: "btn-open-search", onClick: () => { alert("Esta ação irá abrir o PopUp!"); }, slot: "leftIcon" })),
325
+ h("button", { disabled: !this.enabled, tabindex: -1, class: "btn-open-search", onClick: () => { this.load('ADVANCED'); this.showPopup.emit(); }, slot: "leftIcon" })),
327
326
  h("ez-popover", { boxwidth: '100%', ref: el => this._popover = el },
328
327
  h("div", { class: 'list-container', ref: (el) => this._divElem = el }, (_a = this._visibleOptions) === null || _a === void 0 ? void 0 : _a.map((opt, index) => this.buildItem(opt, index))))));
329
328
  }
@@ -504,6 +503,21 @@ export class EzSearch {
504
503
  }
505
504
  }
506
505
  }
506
+ }, {
507
+ "method": "showPopup",
508
+ "name": "showPopup",
509
+ "bubbles": true,
510
+ "cancelable": true,
511
+ "composed": true,
512
+ "docs": {
513
+ "tags": [],
514
+ "text": "Este \u00E9 o evento emitido ao clicar para abrir o popup"
515
+ },
516
+ "complexType": {
517
+ "original": "any",
518
+ "resolved": "any",
519
+ "references": {}
520
+ }
507
521
  }]; }
508
522
  static get methods() { return {
509
523
  "onInputTeste": {
@@ -25,6 +25,7 @@ export class EzTextArea {
25
25
  this._inputElem.value = this.value;
26
26
  this.handleChange();
27
27
  this.adjustFloatingLabel();
28
+ this.ezChange.emit(this.value);
28
29
  }
29
30
  adjustFloatingLabel() {
30
31
  if (this.label) {
@@ -149,6 +149,7 @@ input.text--right {
149
149
 
150
150
  .input__label--left {
151
151
  /*public*/
152
+ text-align: left;
152
153
  left: calc(var(--it__icon--width) + 2px); /*borda*/
153
154
  width: calc(100% - var(--it__icon--width));
154
155
  }
@@ -159,6 +160,7 @@ input.text--right {
159
160
  width: calc(100% - var(--it__icon--width));
160
161
  }
161
162
 
163
+ /* ISSO TA ERRADO CRIAR INPUT__LABEL--BOTH */
162
164
  .input__label--left.input__label--right {
163
165
  left: calc(var(--it__icon--width) + 2px); /*borda*/
164
166
  width: calc(100% - var(--it__icon--width) * 2);
@@ -3551,7 +3551,7 @@ const EzLabelChip$1 = class extends HTMLElement {
3551
3551
  static get style() { return ezLabelChipCss; }
3552
3552
  };
3553
3553
 
3554
- const ezModalCss = ":host{--modal-z-index:var(--most-visible, 3);--modal-vertical-padding:var(--space--extra-large, 48px);display:block}.modal{position:fixed;padding:var(--modal-vertical-padding) 0;display:flex;top:0px;z-index:var(--modal-z-index);left:0px;width:100%;height:100vh;backdrop-filter:blur(4px);background:rgb(0 4 12 / 40%)}@keyframes expand-modal--left{from{transform:translate(-100%)}}@keyframes expand-modal--right{from{transform:translate(100%)}}.modal__container{display:flex;flex-wrap:wrap;width:100%;align-items:flex-start}.modal__container--right{animation:expand-modal--right .2s ease-in-out 1;justify-content:flex-end}.modal__container--left{animation:expand-modal--left .2s ease-in-out 1;justify-content:flex-start}.modal__content{display:flex;flex-wrap:wrap;max-height:89.6vh;overflow-y:auto;background-color:#fff;padding:24px;border-radius:12px 0px 0px 12px;box-shadow:0px 0px 16px 0px rgba(0, 38, 111, 0.12)}.modal__content--right{border-radius:12px 0px 0px 12px}.modal__content--left{border-radius:0px 12px 12px 0px}.modal__box__container{display:flex;flex-wrap:wrap;background-color:#fff;width:100%;border-radius:12px}.small{width:30%}.medium{width:50%}.large{width:70%}";
3554
+ const ezModalCss = ":host{--modal-z-index:var(--most-visible, 3);--modal-vertical-padding:var(--space--extra-large, 48px);display:block}.modal{position:fixed;padding:var(--modal-vertical-padding) 0;display:flex;top:0px;z-index:var(--modal-z-index);left:0px;width:100%;height:100vh;backdrop-filter:blur(4px);background:rgb(0 4 12 / 40%)}@keyframes expand-modal--left{from{transform:translate(-100%)}}@keyframes expand-modal--right{from{transform:translate(100%)}}.modal__container{display:flex;flex-wrap:wrap;width:100%;align-items:flex-start}.modal__container--right{animation:expand-modal--right .2s ease-in-out 1;justify-content:flex-end}.modal__container--left{animation:expand-modal--left .2s ease-in-out 1;justify-content:flex-start}.modal__content{display:flex;flex-wrap:wrap;max-height:89.6vh;overflow-y:auto;background-color:#fff;padding:24px;border-radius:12px 0px 0px 12px;box-shadow:0px 0px 16px 0px rgba(0, 38, 111, 0.12)}.modal__content--right{border-radius:12px 0px 0px 12px}.modal__content--left{border-radius:0px 12px 12px 0px}.modal__box__container{display:flex;flex-wrap:wrap;background-color:#fff;width:100%;border-radius:12px}.row{width:100%;display:flex;flex-wrap:wrap}.col{display:flex;flex-wrap:wrap;align-self:flex-start;box-sizing:border-box}.col--stretch{align-self:stretch}.col--undefined{width:unset}.col--nowrap{flex-wrap:nowrap}@media screen and (min-width: 320px){.col--sd-1{width:8.33333%}.col--sd-2{width:16.66667%}.col--sd-3{width:25%}.col--sd-4{width:33.33333%}.col--sd-5{width:41.66667%}.col--sd-6{width:50%}.col--sd-7{width:58.33333%}.col--sd-8{width:66.66667%}.col--sd-9{width:75%}.col--sd-10{width:83.33333%}.col--sd-11{width:91.66667%}.col--sd-12{width:100%}}@media screen and (min-width: 480px){.col--pn-1{width:8.33333%}.col--pn-2{width:16.66667%}.col--pn-3{width:25%}.col--pn-4{width:33.33333%}.col--pn-5{width:41.66667%}.col--pn-6{width:50%}.col--pn-7{width:58.33333%}.col--pn-8{width:66.66667%}.col--pn-9{width:75%}.col--pn-10{width:83.33333%}.col--pn-11{width:91.66667%}.col--pn-12{width:100%}}@media screen and (min-width: 768px){.col--tb-1{width:8.33333%}.col--tb-2{width:16.66667%}.col--tb-3{width:25%}.col--tb-4{width:33.33333%}.col--tb-5{width:41.66667%}.col--tb-6{width:50%}.col--tb-7{width:58.33333%}.col--tb-8{width:66.66667%}.col--tb-9{width:75%}.col--tb-10{width:83.33333%}.col--tb-11{width:91.66667%}.col--tb-12{width:100%}}@media screen and (min-width: 992px){.col--md-1{width:8.33333%}.col--md-2{width:16.66667%}.col--md-3{width:25%}.col--md-4{width:33.33333%}.col--md-5{width:41.66667%}.col--md-6{width:50%}.col--md-7{width:58.33333%}.col--md-8{width:66.66667%}.col--md-9{width:75%}.col--md-10{width:83.33333%}.col--md-11{width:91.66667%}.col--md-12{width:100%}}@media screen and (min-width: 1200px){.col--ld-1{width:8.33333%}.col--ld-2{width:16.66667%}.col--ld-3{width:25%}.col--ld-4{width:33.33333%}.col--ld-5{width:41.66667%}.col--ld-6{width:50%}.col--ld-7{width:58.33333%}.col--ld-8{width:66.66667%}.col--ld-9{width:75%}.col--ld-10{width:83.33333%}.col--ld-11{width:91.66667%}.col--ld-12{width:100%}}";
3555
3555
 
3556
3556
  const EzModal$1 = class extends HTMLElement {
3557
3557
  constructor() {
@@ -3579,13 +3579,13 @@ const EzModal$1 = class extends HTMLElement {
3579
3579
  }
3580
3580
  };
3581
3581
  }
3582
- handleClickOverlay(ev) {
3583
- ev === null || ev === void 0 ? void 0 : ev.stopPropagation();
3584
- if (ev instanceof PointerEvent && this.closeoutsideclick) {
3585
- this.oppened = false;
3586
- this.ezChange.emit(this.oppened);
3587
- }
3588
- }
3582
+ // handleClickOverlay(ev) {
3583
+ // ev?.stopPropagation();
3584
+ // if (ev instanceof PointerEvent && this.closeoutsideclick) {
3585
+ // this.oppened = false;
3586
+ // this.ezChange.emit(this.oppened);
3587
+ // }
3588
+ // }
3589
3589
  handleOppenedChange() {
3590
3590
  if (this.oppened) {
3591
3591
  document.addEventListener('keydown', this.handleKeyboardEvent);
@@ -3645,11 +3645,11 @@ const EzModal$1 = class extends HTMLElement {
3645
3645
  //Ainda teremos ajustes visuais
3646
3646
  render() {
3647
3647
  return (h(Host, null, this.oppened ?
3648
- h("div", { class: 'modal' /* ref={el => this._overlay = el} */, onClick: (ev) => this.handleClickOverlay(ev) }, this.align === 'left'
3648
+ h("div", { class: 'modal' /* ref={el => this._overlay = el} */ /* onClick={(ev) => this.handleClickOverlay(ev)} */ }, this.align === 'left'
3649
3649
  ?
3650
- h("div", { onClick: (ev) => this.handleClickOverlay(ev), class: "modal__container modal__container--left" }, h("div", { onClick: (ev) => ev.stopPropagation(), class: "modal__content modal__content--left " + this.modalsize }, h("slot", null)))
3650
+ h("div", { class: "modal__container modal__container--left" }, h("div", { class: "modal__content modal__content--left " + this.modalsize }, h("slot", null)))
3651
3651
  : undefined, this.align === 'right' ?
3652
- h("div", { onClick: (ev) => this.handleClickOverlay(ev), class: "modal__container modal__container--right" }, h("div", { onClick: (ev) => ev.stopPropagation(), class: "modal__content modal__content--right " + this.modalsize }, h("slot", null)))
3652
+ h("div", { class: "modal__container modal__container--right" }, h("div", { class: "modal__content modal__content--right " + this.modalsize }, h("slot", null)))
3653
3653
  : undefined)
3654
3654
  : undefined));
3655
3655
  }
@@ -3666,6 +3666,7 @@ const NumberInput = class extends HTMLElement {
3666
3666
  super();
3667
3667
  this.__registerHost();
3668
3668
  attachShadow(this);
3669
+ this.ezChange = createEvent(this, "ezChange", 7);
3669
3670
  /**
3670
3671
  * Deixa o campo disponível ou não para digitação.
3671
3672
  */
@@ -3858,6 +3859,7 @@ const NumberInput = class extends HTMLElement {
3858
3859
  }
3859
3860
  this.strvalue = this._inputElem.value;
3860
3861
  }
3862
+ this.ezChange.emit({ strValue: this.strvalue, value: this.value });
3861
3863
  this.adjustFloatingLabel();
3862
3864
  }
3863
3865
  settingValue() {
@@ -4019,6 +4021,7 @@ const EzSearch$1 = class extends HTMLElement {
4019
4021
  this.__registerHost();
4020
4022
  attachShadow(this);
4021
4023
  this.ezChange = createEvent(this, "ezChange", 7);
4024
+ this.showPopup = createEvent(this, "showPopup", 7);
4022
4025
  this._options = [];
4023
4026
  this._classSelect = 'list-container--4row';
4024
4027
  /**
@@ -4264,28 +4267,27 @@ const EzSearch$1 = class extends HTMLElement {
4264
4267
  let key = this.buildId();
4265
4268
  this.saveStorageItem(key, this._inputElem.value);
4266
4269
  /* load data */
4267
- if (this.loadexecutor) {
4268
- this._loadDataFunction(this._inputElem.value, (serverData) => { this.populateOptions(serverData); });
4269
- }
4270
+ this.load('PREDICTIVE');
4270
4271
  }, 200);
4271
4272
  }
4273
+ load(mode) {
4274
+ if (this.loadexecutor) {
4275
+ this._loadDataFunction({ mode, argument: this._inputElem.value }, (serverData) => { this.populateOptions(serverData); });
4276
+ }
4277
+ }
4272
4278
  normalizeResult(data) {
4273
- let options = [];
4274
4279
  if (data instanceof Array) {
4280
+ let options = [];
4275
4281
  options = data;
4282
+ this._options = [{ value: '', label: '' }].concat(options);
4283
+ this.buildOptions();
4276
4284
  }
4277
4285
  else {
4278
- if (data instanceof Object) {
4279
- for (var key in data) {
4280
- let newOption = { value: '', label: '' };
4281
- newOption.value = key;
4282
- newOption.label = data[key];
4283
- options.push(newOption);
4284
- }
4286
+ if (data === null || data === void 0 ? void 0 : data.value) {
4287
+ this.value = data.value;
4288
+ this._inputElem.value = data.value;
4285
4289
  }
4286
4290
  }
4287
- this._options = [{ value: '', label: '' }].concat(options);
4288
- this.buildOptions();
4289
4291
  }
4290
4292
  populateOptions(serverData) {
4291
4293
  if (serverData instanceof Promise) {
@@ -4332,7 +4334,7 @@ const EzSearch$1 = class extends HTMLElement {
4332
4334
  }
4333
4335
  render() {
4334
4336
  var _a;
4335
- return (h(Host, null, h("ez-text-input", { ref: (el) => { this._inputElem = el; }, label: this.label, enabled: this.enabled, onFocus: () => { this.handleFocus(); }, onInput: () => { this.handleChange(); }, onKeyDown: event => this.keyDownHandler(event), errormessage: this.errormessage }, h("button", { disabled: !this.enabled, tabindex: -1, class: "btn-open-search", onClick: () => { alert("Esta ação irá abrir o PopUp!"); }, slot: "leftIcon" })), h("ez-popover", { boxwidth: '100%', ref: el => this._popover = el }, h("div", { class: 'list-container', ref: (el) => this._divElem = el }, (_a = this._visibleOptions) === null || _a === void 0 ? void 0 : _a.map((opt, index) => this.buildItem(opt, index))))));
4337
+ return (h(Host, null, h("ez-text-input", { ref: (el) => { this._inputElem = el; }, label: this.label, enabled: this.enabled, onFocus: () => { this.handleFocus(); }, onInput: () => { this.handleChange(); }, onKeyDown: event => this.keyDownHandler(event), errormessage: this.errormessage }, h("button", { disabled: !this.enabled, tabindex: -1, class: "btn-open-search", onClick: () => { this.load('ADVANCED'); this.showPopup.emit(); }, slot: "leftIcon" })), h("ez-popover", { boxwidth: '100%', ref: el => this._popover = el }, h("div", { class: 'list-container', ref: (el) => this._divElem = el }, (_a = this._visibleOptions) === null || _a === void 0 ? void 0 : _a.map((opt, index) => this.buildItem(opt, index))))));
4336
4338
  }
4337
4339
  ;
4338
4340
  get el() { return this; }
@@ -4581,6 +4583,7 @@ const EzTextArea$1 = class extends HTMLElement {
4581
4583
  this._inputElem.value = this.value;
4582
4584
  this.handleChange();
4583
4585
  this.adjustFloatingLabel();
4586
+ this.ezChange.emit(this.value);
4584
4587
  }
4585
4588
  adjustFloatingLabel() {
4586
4589
  if (this.label) {
@@ -4657,7 +4660,7 @@ function isValidNumber(strValue) {
4657
4660
  return strValue && /^-?\d*[.,]?\d*$/.test(strValue);
4658
4661
  }
4659
4662
 
4660
- const ezTextInputCss = ":host{--it--height:42px;--it--width:100%;--it__icon--width:48px;--it--border-radius:var(--border--radius-medium, 12px);--it--font-size:var(--text--medium, 14px);--it--font-family:var(--font-pattern, Arial);--it--font-weight:var(--text-weight--large, 500);--it--color:var(--title--primary, #000);--it__input--background-color:var(--background--medium, #e0e0e0);--it__input--border:var(--border--medium, 2px solid);--it__input--border-color:var(--it__input--background-color);--it__input--focus--border-color:var(--color--primary, #008561);--it__input--disabled--background-color:var(--color--disable-secondary, #F2F5F8);--it__input--disabled--color:var(--text--disable, #AFB6C0);--it__input--error--border-color:#CC2936;--it__message_box--font-size:var(--text--small, 12px);--it__message_box--info--color:var(--color--success, #22085d);--it__message_box--error--color:var(--color--error, #FF0000);--it__label--floating--top:6px;--it__label--padding-top:12px;--it__label--padding-left:14px;--it__label--padding-right:12px;display:flex;flex-wrap:wrap;position:relative;width:var(--it--width)}input{width:100%;box-sizing:border-box;padding:var(--space--medium, 6px);font-weight:var(--text-weight--large, 600);height:var(--it--height);border-radius:var(--it--border-radius);font-family:var(--it--font-family);font-size:var(--it--font-size);border:var(--it__input--border);border-color:var(--it__input--border-color);background-color:var(--it__input--background-color);color:var(--it--color)}input:disabled{background-color:var(--it__input--disabled--background-color);color:var(--it__input--disabled--color)}input:focus{outline:none;border-color:var(--it__input--focus--border-color)}input.icon--left{padding-left:var(--it__icon--width)}input.icon--right{padding-right:var(--it__icon--width)}input.hasError{color:var(--it--color);border-color:var(--it__input--error--border-color)}input.text--right{text-align:right}.message-box{min-height:16px;min-width:100%;margin-top:2px;line-height:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-family:var(--it--font-family);font-size:var(--it__message_box--font-size);color:var(--it__message_box--info--color)}.hasError{color:var(--it__message_box--error--color)}.input__label{box-sizing:border-box;position:absolute;z-index:var(--visible);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;-webkit-transition:font-size .05s, top .05s;transition:font-size .05s, top .05s;width:calc(100% - var(--it__label--padding-right));left:var(--it--space--medium);font-family:var(--it--font-family);font-size:var(--it--font-size);font-weight:var(--it--font-weight);color:var(--it--color);top:var(--it__label--padding-top);left:var(--it__label--padding-left);padding-right:var(--it__label--padding-right)}.input__label--floated{font-family:var(--it--font-family);font-size:var(--text--extra-small);color:var(--text--primary);top:var(--it__label--floating--top)}.input__label--disabled{color:var(--it__input--disabled--color)}.input__label--left{left:calc(var(--it__icon--width) + 2px);width:calc(100% - var(--it__icon--width))}.input__label--right{right:var(--it__icon--width);width:calc(100% - var(--it__icon--width))}.input__label--left.input__label--right{left:calc(var(--it__icon--width) + 2px);width:calc(100% - var(--it__icon--width) * 2)}.input--with--label{padding-bottom:0}";
4663
+ const ezTextInputCss = ":host{--it--height:42px;--it--width:100%;--it__icon--width:48px;--it--border-radius:var(--border--radius-medium, 12px);--it--font-size:var(--text--medium, 14px);--it--font-family:var(--font-pattern, Arial);--it--font-weight:var(--text-weight--large, 500);--it--color:var(--title--primary, #000);--it__input--background-color:var(--background--medium, #e0e0e0);--it__input--border:var(--border--medium, 2px solid);--it__input--border-color:var(--it__input--background-color);--it__input--focus--border-color:var(--color--primary, #008561);--it__input--disabled--background-color:var(--color--disable-secondary, #F2F5F8);--it__input--disabled--color:var(--text--disable, #AFB6C0);--it__input--error--border-color:#CC2936;--it__message_box--font-size:var(--text--small, 12px);--it__message_box--info--color:var(--color--success, #22085d);--it__message_box--error--color:var(--color--error, #FF0000);--it__label--floating--top:6px;--it__label--padding-top:12px;--it__label--padding-left:14px;--it__label--padding-right:12px;display:flex;flex-wrap:wrap;position:relative;width:var(--it--width)}input{width:100%;box-sizing:border-box;padding:var(--space--medium, 6px);font-weight:var(--text-weight--large, 600);height:var(--it--height);border-radius:var(--it--border-radius);font-family:var(--it--font-family);font-size:var(--it--font-size);border:var(--it__input--border);border-color:var(--it__input--border-color);background-color:var(--it__input--background-color);color:var(--it--color)}input:disabled{background-color:var(--it__input--disabled--background-color);color:var(--it__input--disabled--color)}input:focus{outline:none;border-color:var(--it__input--focus--border-color)}input.icon--left{padding-left:var(--it__icon--width)}input.icon--right{padding-right:var(--it__icon--width)}input.hasError{color:var(--it--color);border-color:var(--it__input--error--border-color)}input.text--right{text-align:right}.message-box{min-height:16px;min-width:100%;margin-top:2px;line-height:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-family:var(--it--font-family);font-size:var(--it__message_box--font-size);color:var(--it__message_box--info--color)}.hasError{color:var(--it__message_box--error--color)}.input__label{box-sizing:border-box;position:absolute;z-index:var(--visible);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;-webkit-transition:font-size .05s, top .05s;transition:font-size .05s, top .05s;width:calc(100% - var(--it__label--padding-right));left:var(--it--space--medium);font-family:var(--it--font-family);font-size:var(--it--font-size);font-weight:var(--it--font-weight);color:var(--it--color);top:var(--it__label--padding-top);left:var(--it__label--padding-left);padding-right:var(--it__label--padding-right)}.input__label--floated{font-family:var(--it--font-family);font-size:var(--text--extra-small);color:var(--text--primary);top:var(--it__label--floating--top)}.input__label--disabled{color:var(--it__input--disabled--color)}.input__label--left{text-align:left;left:calc(var(--it__icon--width) + 2px);width:calc(100% - var(--it__icon--width))}.input__label--right{right:var(--it__icon--width);width:calc(100% - var(--it__icon--width))}.input__label--left.input__label--right{left:calc(var(--it__icon--width) + 2px);width:calc(100% - var(--it__icon--width) * 2)}.input--with--label{padding-bottom:0}";
4661
4664
 
4662
4665
  const EzTextInput$1 = class extends HTMLElement {
4663
4666
  constructor() {
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, c as createEvent, h } from './index-95bb3fd9.js';
1
+ import { r as registerInstance, c as createEvent, h } from './index-93e65e82.js';
2
2
 
3
3
  const ezActionChipCss = ":host{--ac--height:36px;--ac--width:100%;--ac__icon--width:48px;--ac--border-radius:var(--border--radius-large, 24px);--ac--font-size:var(--text--medium, 14px);--ac--font-family:var(--font-pattern, Arial);--ac--font-weight:var(--text-weight--large, 500);--ac--space--medium:var(--space--medium, 6px);--ac__border:1px solid;--ac__border-color-strokes:var(--color--strokes, #DCE0E8);--ac__label--title--primary:var(--title--primary, #919191);--ac__label--color-primary:var(--color--primary, #008561);--ac__label-color--disable-secondary:var(--color--disable-secondary, #F2F5F8);--ac__label--background-color:#0085610F;--ac__label__default--background-color--hover:var(--color--primary-200, #f2faf8);--ac__label__default--border-color--hover:var(--color--primary-600, #007a5a);--ac__label--text--disabled:var(--text--disable, #AFB6C0);--ac__label--text--primary:var(--text--primary, #626e82);--ac__message_box--font-size:var(--text--small, 12px);--ac__message_box--info--color:var(--color--success, #22085d);--ac__message_box--error--color:var(--color--error, #FF0000);width:100%}.padding-right--small{padding-right:var(--ac--space--medium)}.padding-left--small{padding-left:var(--ac--space--medium)}.label__container{width:fit-content;display:flex;flex-wrap:wrap;position:relative;align-items:center;align-self:center;color:var(--ac__label--title--primary);fill:var(--ac__label--title--primary);border:var(--ac__border);border-radius:var(--ac--border-radius);border-color:var( --ac__border-color-strokes);padding-right:var(--space--large, 12px);padding-left:var(--space--large, 12px);cursor:pointer}.label__container:hover{border-color:var(--ac__label__default--border-color--hover);background-color:var(--ac__label__default--background-color--hover)}.label__container--active:hover{border-color:var(--ac__label__active--background-color--hover);background-color:var(--ac__label__active--background-color--hover)}label{display:flex;align-items:center;width:calc(100% - var(--ac__icon--width));width:fit-content;font-weight:var(--text-weight--large, 600);cursor:pointer;height:var(--ac--height);font-family:var(--ac--font-family);font-size:var(--ac--font-size)}";
4
4
 
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, h, c as createEvent, f as forceUpdate, H as Host, g as getElement } from './index-95bb3fd9.js';
1
+ import { r as registerInstance, h, c as createEvent, f as forceUpdate, H as Host, g as getElement } from './index-93e65e82.js';
2
2
  import { M as MaskFormatter } from './RequestMetadata-c265c9d5.js';
3
3
  import { D as DependencyType, s as selectIsCollapsedFieldSet, c as collapseExpandGroup, a as selectCurrentTab, b as selectVisibleButtons, d as changeTab$1, e as showHideNavigationButtons, f as formLoad, g as DataUnit, i as invalidField$1 } from './DataUnit-0671f541.js';
4
4
 
@@ -2497,6 +2497,7 @@ const EzSearch = class {
2497
2497
  constructor(hostRef) {
2498
2498
  registerInstance(this, hostRef);
2499
2499
  this.ezChange = createEvent(this, "ezChange", 7);
2500
+ this.showPopup = createEvent(this, "showPopup", 7);
2500
2501
  this._options = [];
2501
2502
  this._classSelect = 'list-container--4row';
2502
2503
  /**
@@ -2742,28 +2743,27 @@ const EzSearch = class {
2742
2743
  let key = this.buildId();
2743
2744
  this.saveStorageItem(key, this._inputElem.value);
2744
2745
  /* load data */
2745
- if (this.loadexecutor) {
2746
- this._loadDataFunction(this._inputElem.value, (serverData) => { this.populateOptions(serverData); });
2747
- }
2746
+ this.load('PREDICTIVE');
2748
2747
  }, 200);
2749
2748
  }
2749
+ load(mode) {
2750
+ if (this.loadexecutor) {
2751
+ this._loadDataFunction({ mode, argument: this._inputElem.value }, (serverData) => { this.populateOptions(serverData); });
2752
+ }
2753
+ }
2750
2754
  normalizeResult(data) {
2751
- let options = [];
2752
2755
  if (data instanceof Array) {
2756
+ let options = [];
2753
2757
  options = data;
2758
+ this._options = [{ value: '', label: '' }].concat(options);
2759
+ this.buildOptions();
2754
2760
  }
2755
2761
  else {
2756
- if (data instanceof Object) {
2757
- for (var key in data) {
2758
- let newOption = { value: '', label: '' };
2759
- newOption.value = key;
2760
- newOption.label = data[key];
2761
- options.push(newOption);
2762
- }
2762
+ if (data === null || data === void 0 ? void 0 : data.value) {
2763
+ this.value = data.value;
2764
+ this._inputElem.value = data.value;
2763
2765
  }
2764
2766
  }
2765
- this._options = [{ value: '', label: '' }].concat(options);
2766
- this.buildOptions();
2767
2767
  }
2768
2768
  populateOptions(serverData) {
2769
2769
  if (serverData instanceof Promise) {
@@ -2810,7 +2810,7 @@ const EzSearch = class {
2810
2810
  }
2811
2811
  render() {
2812
2812
  var _a;
2813
- return (h(Host, null, h("ez-text-input", { ref: (el) => { this._inputElem = el; }, label: this.label, enabled: this.enabled, onFocus: () => { this.handleFocus(); }, onInput: () => { this.handleChange(); }, onKeyDown: event => this.keyDownHandler(event), errormessage: this.errormessage }, h("button", { disabled: !this.enabled, tabindex: -1, class: "btn-open-search", onClick: () => { alert("Esta ação irá abrir o PopUp!"); }, slot: "leftIcon" })), h("ez-popover", { boxwidth: '100%', ref: el => this._popover = el }, h("div", { class: 'list-container', ref: (el) => this._divElem = el }, (_a = this._visibleOptions) === null || _a === void 0 ? void 0 : _a.map((opt, index) => this.buildItem(opt, index))))));
2813
+ return (h(Host, null, h("ez-text-input", { ref: (el) => { this._inputElem = el; }, label: this.label, enabled: this.enabled, onFocus: () => { this.handleFocus(); }, onInput: () => { this.handleChange(); }, onKeyDown: event => this.keyDownHandler(event), errormessage: this.errormessage }, h("button", { disabled: !this.enabled, tabindex: -1, class: "btn-open-search", onClick: () => { this.load('ADVANCED'); this.showPopup.emit(); }, slot: "leftIcon" })), h("ez-popover", { boxwidth: '100%', ref: el => this._popover = el }, h("div", { class: 'list-container', ref: (el) => this._divElem = el }, (_a = this._visibleOptions) === null || _a === void 0 ? void 0 : _a.map((opt, index) => this.buildItem(opt, index))))));
2814
2814
  }
2815
2815
  ;
2816
2816
  get el() { return getElement(this); }
@@ -3055,6 +3055,7 @@ const EzTextArea = class {
3055
3055
  this._inputElem.value = this.value;
3056
3056
  this.handleChange();
3057
3057
  this.adjustFloatingLabel();
3058
+ this.ezChange.emit(this.value);
3058
3059
  }
3059
3060
  adjustFloatingLabel() {
3060
3061
  if (this.label) {
@@ -3131,7 +3132,7 @@ function isValidNumber(strValue) {
3131
3132
  return strValue && /^-?\d*[.,]?\d*$/.test(strValue);
3132
3133
  }
3133
3134
 
3134
- const ezTextInputCss = ":host{--it--height:42px;--it--width:100%;--it__icon--width:48px;--it--border-radius:var(--border--radius-medium, 12px);--it--font-size:var(--text--medium, 14px);--it--font-family:var(--font-pattern, Arial);--it--font-weight:var(--text-weight--large, 500);--it--color:var(--title--primary, #000);--it__input--background-color:var(--background--medium, #e0e0e0);--it__input--border:var(--border--medium, 2px solid);--it__input--border-color:var(--it__input--background-color);--it__input--focus--border-color:var(--color--primary, #008561);--it__input--disabled--background-color:var(--color--disable-secondary, #F2F5F8);--it__input--disabled--color:var(--text--disable, #AFB6C0);--it__input--error--border-color:#CC2936;--it__message_box--font-size:var(--text--small, 12px);--it__message_box--info--color:var(--color--success, #22085d);--it__message_box--error--color:var(--color--error, #FF0000);--it__label--floating--top:6px;--it__label--padding-top:12px;--it__label--padding-left:14px;--it__label--padding-right:12px;display:flex;flex-wrap:wrap;position:relative;width:var(--it--width)}input{width:100%;box-sizing:border-box;padding:var(--space--medium, 6px);font-weight:var(--text-weight--large, 600);height:var(--it--height);border-radius:var(--it--border-radius);font-family:var(--it--font-family);font-size:var(--it--font-size);border:var(--it__input--border);border-color:var(--it__input--border-color);background-color:var(--it__input--background-color);color:var(--it--color)}input:disabled{background-color:var(--it__input--disabled--background-color);color:var(--it__input--disabled--color)}input:focus{outline:none;border-color:var(--it__input--focus--border-color)}input.icon--left{padding-left:var(--it__icon--width)}input.icon--right{padding-right:var(--it__icon--width)}input.hasError{color:var(--it--color);border-color:var(--it__input--error--border-color)}input.text--right{text-align:right}.message-box{min-height:16px;min-width:100%;margin-top:2px;line-height:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-family:var(--it--font-family);font-size:var(--it__message_box--font-size);color:var(--it__message_box--info--color)}.hasError{color:var(--it__message_box--error--color)}.input__label{box-sizing:border-box;position:absolute;z-index:var(--visible);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;-webkit-transition:font-size .05s, top .05s;transition:font-size .05s, top .05s;width:calc(100% - var(--it__label--padding-right));left:var(--it--space--medium);font-family:var(--it--font-family);font-size:var(--it--font-size);font-weight:var(--it--font-weight);color:var(--it--color);top:var(--it__label--padding-top);left:var(--it__label--padding-left);padding-right:var(--it__label--padding-right)}.input__label--floated{font-family:var(--it--font-family);font-size:var(--text--extra-small);color:var(--text--primary);top:var(--it__label--floating--top)}.input__label--disabled{color:var(--it__input--disabled--color)}.input__label--left{left:calc(var(--it__icon--width) + 2px);width:calc(100% - var(--it__icon--width))}.input__label--right{right:var(--it__icon--width);width:calc(100% - var(--it__icon--width))}.input__label--left.input__label--right{left:calc(var(--it__icon--width) + 2px);width:calc(100% - var(--it__icon--width) * 2)}.input--with--label{padding-bottom:0}";
3135
+ const ezTextInputCss = ":host{--it--height:42px;--it--width:100%;--it__icon--width:48px;--it--border-radius:var(--border--radius-medium, 12px);--it--font-size:var(--text--medium, 14px);--it--font-family:var(--font-pattern, Arial);--it--font-weight:var(--text-weight--large, 500);--it--color:var(--title--primary, #000);--it__input--background-color:var(--background--medium, #e0e0e0);--it__input--border:var(--border--medium, 2px solid);--it__input--border-color:var(--it__input--background-color);--it__input--focus--border-color:var(--color--primary, #008561);--it__input--disabled--background-color:var(--color--disable-secondary, #F2F5F8);--it__input--disabled--color:var(--text--disable, #AFB6C0);--it__input--error--border-color:#CC2936;--it__message_box--font-size:var(--text--small, 12px);--it__message_box--info--color:var(--color--success, #22085d);--it__message_box--error--color:var(--color--error, #FF0000);--it__label--floating--top:6px;--it__label--padding-top:12px;--it__label--padding-left:14px;--it__label--padding-right:12px;display:flex;flex-wrap:wrap;position:relative;width:var(--it--width)}input{width:100%;box-sizing:border-box;padding:var(--space--medium, 6px);font-weight:var(--text-weight--large, 600);height:var(--it--height);border-radius:var(--it--border-radius);font-family:var(--it--font-family);font-size:var(--it--font-size);border:var(--it__input--border);border-color:var(--it__input--border-color);background-color:var(--it__input--background-color);color:var(--it--color)}input:disabled{background-color:var(--it__input--disabled--background-color);color:var(--it__input--disabled--color)}input:focus{outline:none;border-color:var(--it__input--focus--border-color)}input.icon--left{padding-left:var(--it__icon--width)}input.icon--right{padding-right:var(--it__icon--width)}input.hasError{color:var(--it--color);border-color:var(--it__input--error--border-color)}input.text--right{text-align:right}.message-box{min-height:16px;min-width:100%;margin-top:2px;line-height:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-family:var(--it--font-family);font-size:var(--it__message_box--font-size);color:var(--it__message_box--info--color)}.hasError{color:var(--it__message_box--error--color)}.input__label{box-sizing:border-box;position:absolute;z-index:var(--visible);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;-webkit-transition:font-size .05s, top .05s;transition:font-size .05s, top .05s;width:calc(100% - var(--it__label--padding-right));left:var(--it--space--medium);font-family:var(--it--font-family);font-size:var(--it--font-size);font-weight:var(--it--font-weight);color:var(--it--color);top:var(--it__label--padding-top);left:var(--it__label--padding-left);padding-right:var(--it__label--padding-right)}.input__label--floated{font-family:var(--it--font-family);font-size:var(--text--extra-small);color:var(--text--primary);top:var(--it__label--floating--top)}.input__label--disabled{color:var(--it__input--disabled--color)}.input__label--left{text-align:left;left:calc(var(--it__icon--width) + 2px);width:calc(100% - var(--it__icon--width))}.input__label--right{right:var(--it__icon--width);width:calc(100% - var(--it__icon--width))}.input__label--left.input__label--right{left:calc(var(--it__icon--width) + 2px);width:calc(100% - var(--it__icon--width) * 2)}.input--with--label{padding-bottom:0}";
3135
3136
 
3136
3137
  const EzTextInput = class {
3137
3138
  constructor(hostRef) {