@sankhyalabs/ezui 2.3.0 → 2.3.2

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 (158) hide show
  1. package/README.md +1 -0
  2. package/dist/cjs/ez-actions-button.cjs.entry.js +12 -8
  3. package/dist/cjs/ez-button.cjs.entry.js +5 -5
  4. package/dist/cjs/ez-calendar.cjs.entry.js +10 -13
  5. package/dist/cjs/ez-check.cjs.entry.js +5 -8
  6. package/dist/cjs/ez-chip.cjs.entry.js +4 -4
  7. package/dist/cjs/ez-collapsible-box.cjs.entry.js +14 -14
  8. package/dist/cjs/ez-combo-box.cjs.entry.js +11 -11
  9. package/dist/cjs/ez-date-input.cjs.entry.js +5 -5
  10. package/dist/cjs/ez-date-time-input.cjs.entry.js +7 -7
  11. package/dist/cjs/ez-dialog.cjs.entry.js +4 -7
  12. package/dist/cjs/ez-filter-input.cjs.entry.js +6 -6
  13. package/dist/cjs/ez-form.cjs.entry.js +4 -7
  14. package/dist/cjs/ez-grid.cjs.entry.js +93 -19
  15. package/dist/cjs/ez-icon.cjs.entry.js +3 -3
  16. package/dist/cjs/ez-list.cjs.entry.js +71 -71
  17. package/dist/cjs/ez-loading-bar.cjs.entry.js +8 -4
  18. package/dist/cjs/ez-modal-container.cjs.entry.js +2 -2
  19. package/dist/cjs/ez-modal.cjs.entry.js +6 -6
  20. package/dist/cjs/ez-number-input.cjs.entry.js +5 -5
  21. package/dist/cjs/ez-popover.cjs.entry.js +8 -10
  22. package/dist/cjs/ez-popup.cjs.entry.js +4 -5
  23. package/dist/cjs/ez-radio-button.cjs.entry.js +3 -3
  24. package/dist/cjs/ez-scroller.cjs.entry.js +2 -7
  25. package/dist/cjs/ez-search.cjs.entry.js +13 -14
  26. package/dist/cjs/ez-text-area.cjs.entry.js +7 -7
  27. package/dist/cjs/ez-text-edit.cjs.entry.js +1 -1
  28. package/dist/cjs/ez-text-input.cjs.entry.js +7 -7
  29. package/dist/cjs/ez-time-input.cjs.entry.js +6 -6
  30. package/dist/cjs/ez-toast.cjs.entry.js +5 -5
  31. package/dist/cjs/ez-upload.cjs.entry.js +5 -5
  32. package/dist/cjs/ez-view-stack.cjs.entry.js +2 -2
  33. package/dist/cjs/ezui.cjs.js +1 -1
  34. package/dist/cjs/loader.cjs.js +1 -1
  35. package/dist/collection/components/ez-actions-button/ez-actions-button.js +27 -22
  36. package/dist/collection/components/ez-button/ez-button.js +15 -15
  37. package/dist/collection/components/ez-calendar/ez-calendar.js +18 -21
  38. package/dist/collection/components/ez-card-item/ez-card-item.js +2 -2
  39. package/dist/collection/components/ez-check/ez-check.js +28 -22
  40. package/dist/collection/components/ez-chip/ez-chip.js +15 -15
  41. package/dist/collection/components/ez-collapsible-box/ez-collapsible-box.js +28 -28
  42. package/dist/collection/components/ez-combo-box/ez-combo-box.js +42 -33
  43. package/dist/collection/components/ez-date-input/ez-date-input.js +18 -18
  44. package/dist/collection/components/ez-date-time-input/ez-date-time-input.js +21 -21
  45. package/dist/collection/components/ez-dialog/ez-dialog.js +13 -35
  46. package/dist/collection/components/ez-filter-input/ez-filter-input.js +18 -35
  47. package/dist/collection/components/ez-form/ez-form.js +8 -43
  48. package/dist/collection/components/ez-grid/controller/ag-grid/AgGridController.js +63 -1
  49. package/dist/collection/components/ez-grid/ez-grid.js +57 -44
  50. package/dist/collection/components/ez-icon/ez-icon.js +11 -11
  51. package/dist/collection/components/ez-list/ez-list.js +112 -93
  52. package/dist/collection/components/ez-loading-bar/ez-loading-bar.js +10 -6
  53. package/dist/collection/components/ez-modal/ez-modal.js +14 -14
  54. package/dist/collection/components/ez-modal-container/ez-modal-container.js +16 -16
  55. package/dist/collection/components/ez-number-input/ez-number-input.js +20 -20
  56. package/dist/collection/components/ez-popover/ez-popover.js +22 -24
  57. package/dist/collection/components/ez-popup/ez-popup.js +16 -17
  58. package/dist/collection/components/ez-radio-button/ez-radio-button.js +8 -8
  59. package/dist/collection/components/ez-scroller/ez-scroller.js +6 -12
  60. package/dist/collection/components/ez-search/ez-search.js +42 -46
  61. package/dist/collection/components/ez-tabselector/ez-tabselector.js +2 -2
  62. package/dist/collection/components/ez-text-area/ez-text-area.js +20 -37
  63. package/dist/collection/components/ez-text-edit/ez-text-edit.js +6 -6
  64. package/dist/collection/components/ez-text-input/ez-text-input.js +21 -38
  65. package/dist/collection/components/ez-time-input/ez-time-input.js +20 -20
  66. package/dist/collection/components/ez-toast/ez-toast.js +12 -12
  67. package/dist/collection/components/ez-upload/ez-upload.js +14 -14
  68. package/dist/collection/components/ez-view-stack/ez-view-stack.js +4 -4
  69. package/dist/custom-elements/index.js +344 -283
  70. package/dist/esm/ez-actions-button.entry.js +12 -8
  71. package/dist/esm/ez-button.entry.js +5 -5
  72. package/dist/esm/ez-calendar.entry.js +10 -13
  73. package/dist/esm/ez-check.entry.js +5 -8
  74. package/dist/esm/ez-chip.entry.js +4 -4
  75. package/dist/esm/ez-collapsible-box.entry.js +14 -14
  76. package/dist/esm/ez-combo-box.entry.js +11 -11
  77. package/dist/esm/ez-date-input.entry.js +5 -5
  78. package/dist/esm/ez-date-time-input.entry.js +7 -7
  79. package/dist/esm/ez-dialog.entry.js +4 -7
  80. package/dist/esm/ez-filter-input.entry.js +6 -6
  81. package/dist/esm/ez-form.entry.js +4 -7
  82. package/dist/esm/ez-grid.entry.js +93 -19
  83. package/dist/esm/ez-icon.entry.js +3 -3
  84. package/dist/esm/ez-list.entry.js +71 -71
  85. package/dist/esm/ez-loading-bar.entry.js +8 -4
  86. package/dist/esm/ez-modal-container.entry.js +2 -2
  87. package/dist/esm/ez-modal.entry.js +6 -6
  88. package/dist/esm/ez-number-input.entry.js +5 -5
  89. package/dist/esm/ez-popover.entry.js +8 -10
  90. package/dist/esm/ez-popup.entry.js +4 -5
  91. package/dist/esm/ez-radio-button.entry.js +3 -3
  92. package/dist/esm/ez-scroller.entry.js +2 -7
  93. package/dist/esm/ez-search.entry.js +13 -14
  94. package/dist/esm/ez-text-area.entry.js +7 -7
  95. package/dist/esm/ez-text-edit.entry.js +1 -1
  96. package/dist/esm/ez-text-input.entry.js +7 -7
  97. package/dist/esm/ez-time-input.entry.js +6 -6
  98. package/dist/esm/ez-toast.entry.js +5 -5
  99. package/dist/esm/ez-upload.entry.js +5 -5
  100. package/dist/esm/ez-view-stack.entry.js +2 -2
  101. package/dist/esm/ezui.js +1 -1
  102. package/dist/esm/loader.js +1 -1
  103. package/dist/ezui/ezui.esm.js +1 -1
  104. package/dist/ezui/p-1214c5ce.entry.js +1 -0
  105. package/dist/ezui/{p-77b7b623.entry.js → p-19a38745.entry.js} +1 -1
  106. package/dist/ezui/p-2af9fe67.entry.js +1 -0
  107. package/dist/ezui/p-642c530f.entry.js +1 -0
  108. package/dist/ezui/p-96265e26.entry.js +1 -0
  109. package/dist/ezui/p-b47eb5d4.entry.js +1 -0
  110. package/dist/ezui/{p-855f99f8.entry.js → p-ccbe8272.entry.js} +1 -1
  111. package/dist/ezui/p-e60e7308.entry.js +1 -0
  112. package/dist/ezui/p-ede1328a.entry.js +1 -0
  113. package/dist/ezui/p-f6111077.entry.js +1 -0
  114. package/dist/types/components/ez-actions-button/ez-actions-button.d.ts +15 -14
  115. package/dist/types/components/ez-button/ez-button.d.ts +10 -10
  116. package/dist/types/components/ez-calendar/ez-calendar.d.ts +11 -14
  117. package/dist/types/components/ez-card-item/ez-card-item.d.ts +7 -0
  118. package/dist/types/components/ez-check/ez-check.d.ts +11 -13
  119. package/dist/types/components/ez-chip/ez-chip.d.ts +15 -14
  120. package/dist/types/components/ez-collapsible-box/ez-collapsible-box.d.ts +25 -25
  121. package/dist/types/components/ez-combo-box/ez-combo-box.d.ts +21 -20
  122. package/dist/types/components/ez-date-input/ez-date-input.d.ts +16 -17
  123. package/dist/types/components/ez-date-time-input/ez-date-time-input.d.ts +18 -19
  124. package/dist/types/components/ez-dialog/ez-dialog.d.ts +13 -16
  125. package/dist/types/components/ez-filter-input/ez-filter-input.d.ts +12 -17
  126. package/dist/types/components/ez-form/ez-form.d.ts +7 -5
  127. package/dist/types/components/ez-grid/controller/EzGridController.d.ts +10 -2
  128. package/dist/types/components/ez-grid/controller/ag-grid/AgGridController.d.ts +4 -0
  129. package/dist/types/components/ez-grid/ez-grid.d.ts +38 -39
  130. package/dist/types/components/ez-icon/ez-icon.d.ts +4 -4
  131. package/dist/types/components/ez-list/ez-list.d.ts +29 -32
  132. package/dist/types/components/ez-loading-bar/ez-loading-bar.d.ts +6 -0
  133. package/dist/types/components/ez-modal/ez-modal.d.ts +15 -15
  134. package/dist/types/components/ez-modal-container/ez-modal-container.d.ts +10 -10
  135. package/dist/types/components/ez-number-input/ez-number-input.d.ts +18 -24
  136. package/dist/types/components/ez-popover/ez-popover.d.ts +13 -16
  137. package/dist/types/components/ez-popup/ez-popup.d.ts +12 -13
  138. package/dist/types/components/ez-radio-button/ez-radio-button.d.ts +8 -8
  139. package/dist/types/components/ez-scroller/ez-scroller.d.ts +3 -4
  140. package/dist/types/components/ez-search/ez-search.d.ts +27 -31
  141. package/dist/types/components/ez-tabselector/ez-tabselector.d.ts +4 -7
  142. package/dist/types/components/ez-text-area/ez-text-area.d.ts +12 -16
  143. package/dist/types/components/ez-text-edit/ez-text-edit.d.ts +5 -5
  144. package/dist/types/components/ez-text-input/ez-text-input.d.ts +14 -19
  145. package/dist/types/components/ez-time-input/ez-time-input.d.ts +16 -17
  146. package/dist/types/components/ez-toast/ez-toast.d.ts +7 -7
  147. package/dist/types/components/ez-upload/ez-upload.d.ts +11 -12
  148. package/dist/types/components/ez-view-stack/ez-view-stack.d.ts +2 -2
  149. package/dist/types/components.d.ts +514 -529
  150. package/package.json +2 -2
  151. package/dist/ezui/p-0fb5f4be.entry.js +0 -1
  152. package/dist/ezui/p-1ba371a3.entry.js +0 -1
  153. package/dist/ezui/p-42c6493e.entry.js +0 -1
  154. package/dist/ezui/p-6700360e.entry.js +0 -1
  155. package/dist/ezui/p-8c2105a5.entry.js +0 -1
  156. package/dist/ezui/p-cba61296.entry.js +0 -1
  157. package/dist/ezui/p-ed2135a5.entry.js +0 -1
  158. package/dist/ezui/p-f6afdc4d.entry.js +0 -1
@@ -154,23 +154,27 @@ let EzActionsButton$1 = class extends HTMLElement$1 {
154
154
  this.__attachShadow();
155
155
  this.ezAction = createEvent(this, "ezAction", 7);
156
156
  /**
157
- * Deixa o campo disponível ou não para interação com usuário.
157
+ * Se false o usuário não pode interagir com o componente.
158
158
  */
159
159
  this.enabled = true;
160
160
  /**
161
- * Define se o label será apresentado no display do componente.
161
+ * Determina o tamanho do ez-action-button.
162
+ */
163
+ this.size = "medium";
164
+ /**
165
+ * Se true o label será apresentado.
162
166
  */
163
167
  this.showLabel = false;
164
168
  /**
165
- * Define se na opção selecionada apresentará um ícone de check.
169
+ * Se true o check será apresentado para os itens.
166
170
  */
167
171
  this.checkOption = false;
168
172
  /**
169
- * Define se o background do botão será transparent.
173
+ * Se true o background será transparent.
170
174
  */
171
175
  this.isTransparent = false;
172
176
  /**
173
- * Define se o elemento contará com a seta de orientação.
177
+ * Se true a seta de ordenação será apresentada.
174
178
  */
175
179
  this.arrowActive = false;
176
180
  this.innerClickCheck = (floatingContainer, node) => {
@@ -190,7 +194,7 @@ let EzActionsButton$1 = class extends HTMLElement$1 {
190
194
  };
191
195
  }
192
196
  /**
193
- * Oculta a lista de ações
197
+ * Oculta a lista de ações.
194
198
  */
195
199
  async hideActions() {
196
200
  if (this._floatingID != undefined) {
@@ -199,7 +203,7 @@ let EzActionsButton$1 = class extends HTMLElement$1 {
199
203
  this._floatingID = undefined;
200
204
  }
201
205
  /**
202
- * Verifica se a lista de ações está oculta
206
+ * Verifica se a lista de ações está aberta.
203
207
  */
204
208
  async isOpened() {
205
209
  return this._floatingID != undefined;
@@ -282,7 +286,7 @@ let EzActionsButton$1 = class extends HTMLElement$1 {
282
286
  render() {
283
287
  var _a;
284
288
  return (h(Host, null, h("ez-button", { ref: elem => this._button = elem, class: (this.isTransparent ? "ez-actions-button__btn-transparent" : "") +
285
- (this.showLabel ? " ez-actions-button__btn-label" : ""), label: this.showLabel && ((_a = this._selectedAction) === null || _a === void 0 ? void 0 : _a.label), enabled: this.enabled, mode: this.showLabel ? "" : "icon", iconName: this.showLabel ? "" : this.displayIcon || "dots-vertical", size: this.size, onClick: () => this.handlerButtonClick() }, this.showLabel &&
289
+ (this.showLabel ? " ez-actions-button__btn-label" : ""), label: this.showLabel && ((_a = this._selectedAction) === null || _a === void 0 ? void 0 : _a.label), enabled: this.enabled, mode: this.showLabel ? undefined : "icon", iconName: this.showLabel ? "" : this.displayIcon || "dots-vertical", size: this.size, onClick: () => this.handlerButtonClick() }, this.showLabel &&
286
290
  h("ez-icon", { class: "ez-actions-button__icon-right", slot: "rightIcon", iconName: this.displayIcon || "dots-vertical" })), h("section", { class: "ez-actions-button__list-container", ref: elem => this._listContainer = elem }, this.arrowActive &&
287
291
  h("div", { class: "ez-actions-button__arrow" +
288
292
  (this.isTransparent ? " ez-actions-button__arrow--upped" : "") }), h("div", { ref: elem => this._actionsList = elem, class: "ez-actions-button__actions-list" +
@@ -326,22 +330,22 @@ let EzButton$1 = class extends HTMLElement$1 {
326
330
  this.__registerHost();
327
331
  this.__attachShadow();
328
332
  /**
329
- * Deixa o botão disponível ou não para interação com o usuário.
333
+ * Se false o usuário não pode interagir com o botão.
330
334
  */
331
335
  this.enabled = true;
332
336
  /**
333
- * Define o modo de uso do botão; opções: icon, link e regular
334
- */
337
+ * Define o modo de uso do botão.
338
+ */
335
339
  this.mode = "regular";
336
340
  }
337
341
  /**
338
- * Realiza o foco no botão
342
+ * Aplica o foco no botão.
339
343
  */
340
344
  async setFocus() {
341
345
  this._button.focus();
342
346
  }
343
347
  /**
344
- * Remove o foco no botão
348
+ * Remove o foco do botão.
345
349
  */
346
350
  async setBlur() {
347
351
  this._button.blur();
@@ -417,28 +421,25 @@ let EzCalendar$1 = class extends HTMLElement$1 {
417
421
  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"];
418
422
  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"];
419
423
  /**
420
- * A data selecionada no calendário
424
+ * Define o valor do calendário.
421
425
  */
422
426
  this.value = new Date();
423
427
  /**
424
- * No modo floating o calendário se tornará visível
425
- * quando o método show() for acionado.
428
+ * Define se a exibição do ez-calendar será feita pelos métodos `show()` e `hide()`.
426
429
  */
427
430
  this.floating = false;
428
431
  /**
429
- * Exibe ou não as horas e minutos no calendario
432
+ * Se true a data considera horas e minutos.
430
433
  */
431
434
  this.time = false;
432
435
  /**
433
- * Exibe ou não os segundos no calendario
434
- */
436
+ * Se true a data considera segundos. Deve ser usado em conjunto com a propriedade `time`.
437
+ */
435
438
  this.showSeconds = false;
436
439
  }
437
440
  /**
438
- * Usado no modo floating. Faz com que o componente seja exibido.
439
- * É possível determinar ajustes de posicionamento através dos parâmetros
440
- * top, left, bottom e right. Esses parâmetros devem ser informados como
441
- * strings no formato css.
441
+ * Exibe o ez-calendar em uma posição determinada.
442
+ * É possível determinar o posicionamento através dos parâmetros, no formato css.
442
443
  */
443
444
  async show(top, left, bottom, right) {
444
445
  if (this.floating) {
@@ -450,8 +451,8 @@ let EzCalendar$1 = class extends HTMLElement$1 {
450
451
  }
451
452
  }
452
453
  /**
453
- * Método necessário para ajustar o posicionamento do calendar acima ou abaixo do ez-date-input conforme a disponibilidade de espaço.
454
- */
454
+ * Ajusta o posicionamento do ez-calendar conforme a disponibilidade de espaço.
455
+ */
455
456
  async fitVertical(topOffset, bottomOffset) {
456
457
  const neededHeight = this._container.getBoundingClientRect().bottom + this._calendarHeight;
457
458
  const availableBottom = (window.innerHeight || document.documentElement.clientHeight) > neededHeight;
@@ -463,7 +464,7 @@ let EzCalendar$1 = class extends HTMLElement$1 {
463
464
  }
464
465
  }
465
466
  /**
466
- * Usado no modo floating. Faz com que o componente seja ocultado.
467
+ * Oculta o ez-calendar.
467
468
  */
468
469
  async hide() {
469
470
  if (this._floatingID !== undefined) {
@@ -674,14 +675,11 @@ let EzCheck$1 = class extends HTMLElement$1 {
674
675
  this.__attachShadow();
675
676
  this.ezChange = createEvent(this, "ezChange", 7);
676
677
  /**
677
- * Deixa o campo disponível ou não para interação com o usuário.
678
+ * Se false o usuário não pode interagir com o campo.
678
679
  */
679
680
  this.enabled = true;
680
681
  /**
681
- * Existem dois modos de visualização: regular e switch.
682
- * Se esta propriedade for omitida, o componete assume o formato "regular".
683
- * No modo "regular" a visualização é a tradicional de uma caixinha marcada/desmarcada.
684
- * No modo "switch" o campo tem uma interface em formato de um pino liga/desliga.
682
+ * Define o modo de visualização do ez-check.
685
683
  */
686
684
  this.mode = CheckMode.REGULAR;
687
685
  }
@@ -689,13 +687,13 @@ let EzCheck$1 = class extends HTMLElement$1 {
689
687
  // Public methods
690
688
  //---------------------------------------------
691
689
  /**
692
- * Devolve o modo escolhido para o componente
690
+ * Obtém o modo escolhido.
693
691
  */
694
692
  async getMode() {
695
- return this.mode;
693
+ return CheckMode[this.mode];
696
694
  }
697
695
  /**
698
- * Faz o foco no componente de input
696
+ * Aplica o foco no campo.
699
697
  */
700
698
  async setFocus() {
701
699
  this._inputElem.focus();
@@ -744,11 +742,11 @@ let EzChip$1 = class extends HTMLElement$1 {
744
742
  this.removeChip = createEvent(this, "removeChip", 7);
745
743
  this.actionClick = createEvent(this, "actionClick", 7);
746
744
  /**
747
- * Deixa o componente disponível ou não para seleção.
745
+ * Se false o usuário não pode interagir com o ez-chip.
748
746
  */
749
747
  this.enabled = true;
750
748
  /**
751
- * Indica se o componente está ou não ativado.
749
+ * Define o valor do ez-chip.
752
750
  */
753
751
  this.value = false;
754
752
  }
@@ -756,13 +754,13 @@ let EzChip$1 = class extends HTMLElement$1 {
756
754
  // Public methods
757
755
  //---------------------------------------------
758
756
  /**
759
- * Faz o foco no componente de input
757
+ * Aplica o foco no ez-chip.
760
758
  */
761
759
  async setFocus() {
762
760
  this._labelElem.focus();
763
761
  }
764
762
  /**
765
- * Remove o foco no componente de input
763
+ * Remove o foco do ez-chip.
766
764
  */
767
765
  async setBlur() {
768
766
  this._labelElem.blur();
@@ -858,45 +856,45 @@ let EzCollapsibleBox$1 = class extends HTMLElement$1 {
858
856
  this.ezEditLabelMode = createEvent(this, "ezEditLabelMode", 7);
859
857
  this._activeEditText = false;
860
858
  /**
861
- * Valor externalizado que garante a exibição ou não do componente.
859
+ * Define o valor do componente.
862
860
  */
863
861
  this.value = false;
864
862
  /**
865
- * Define o tamanho do texto e do ícone do componente.
866
- */
863
+ * Define o tamanho do texto e do ícone.
864
+ */
867
865
  this.headerSize = "small";
868
866
  /**
869
- * Define o local onde o ícone será renderizado.
870
- */
867
+ * Define o posicionamento do ícone.
868
+ */
871
869
  this.iconPlacement = "left";
872
870
  /**
873
- * Define se o titulo irá ocupar toda a largura do componente.
874
- */
871
+ * Se true o título irá ocupar toda a largura do componente.
872
+ */
875
873
  this.stretchTitle = false;
876
874
  /**
877
- * Ativa o ícone para remoção do componente.
878
- */
875
+ * Se true mostra o ícone para remoção do componente.
876
+ */
879
877
  this.removable = false;
880
878
  /**
881
- * Ativa o ícone para edição do componente.
882
- */
879
+ * Se true mostra o ícone para edição do componente.
880
+ */
883
881
  this.editable = false;
884
882
  }
885
883
  /**
886
- * Esconde ou revela o conteúdo do componente.
884
+ * Oculta/mostra o conteúdo do ez-collapsible-box.
887
885
  */
888
886
  async showHide() {
889
887
  this.value = !this.value;
890
888
  }
891
889
  /**
892
- * Aplica focus no campo de edição de título.
890
+ * Aplica o foco no campo de edição de título.
893
891
  */
894
892
  async applyFocusTextEdit() {
895
893
  var _a;
896
894
  (_a = this._refTextEdit) === null || _a === void 0 ? void 0 : _a.applyFocusSelect();
897
895
  }
898
896
  /**
899
- * Fecha a edição de título.
897
+ * Cancela a edição de título.
900
898
  */
901
899
  async cancelEdition() {
902
900
  this._activeEditText = false;
@@ -996,31 +994,31 @@ let EzComboBox$1 = class extends HTMLElement$1 {
996
994
  this._startLoading = false;
997
995
  this._showLoading = true;
998
996
  /**
999
- * Deixa o campo disponível ou não para interação com usuário.
997
+ * Se false o usuário não pode interagir com o campo.
1000
998
  */
1001
999
  this.enabled = true;
1002
1000
  /**
1003
- * Ajusta a opção de mostrar o "value" ao selecionar uma opção. Por padrão não mostra.
1001
+ * Se true a opção selecionada exibe o `value` junto com `label`.
1004
1002
  */
1005
1003
  this.showSelectedValue = false;
1006
1004
  /**
1007
- * Ajusta a opção de mostrar o "value" para cada opção. Por padrão não mostra
1005
+ * Se true cada opção na lista exibe o `value` junto com `label`.
1008
1006
  */
1009
1007
  this.showOptionValue = false;
1010
1008
  /**
1011
- * Desabilita a digitação dentro do componente.
1012
- */
1009
+ * Se true desabilita a digitação dentro do componente.
1010
+ */
1013
1011
  this.suppressSearch = false;
1014
1012
  /**
1015
- * Remove a opção vazia da lista de opções
1013
+ * Se true remove a opção vazia da lista.
1016
1014
  */
1017
1015
  this.suppressEmptyOption = false;
1018
1016
  /**
1019
- * Permite exibir a mensagem de erro.
1017
+ * Se false deixa de exibir a mensagem de erro dentro do campo.
1020
1018
  */
1021
1019
  this.canShowError = true;
1022
1020
  /**
1023
- * Define o modo do tamanho do campo; opções: slim e regular.
1021
+ * Define o tamanho do campo.
1024
1022
  */
1025
1023
  this.mode = "regular";
1026
1024
  }
@@ -1054,19 +1052,19 @@ let EzComboBox$1 = class extends HTMLElement$1 {
1054
1052
  }
1055
1053
  }
1056
1054
  /**
1057
- * Realiza o foco no componente de seleção
1055
+ * Aplica o foco no campo.
1058
1056
  */
1059
1057
  async setFocus() {
1060
1058
  this._textInput.setFocus();
1061
1059
  }
1062
1060
  /**
1063
- * Remove o foco no componente de seleção
1061
+ * Remove o foco do campo.
1064
1062
  */
1065
1063
  async setBlur() {
1066
1064
  this._textInput.setBlur();
1067
1065
  }
1068
1066
  /**
1069
- * Retorna informando se o campo está inválido (true | false)
1067
+ * Retorna se o conteúdo é inválido.
1070
1068
  */
1071
1069
  async isInvalid() {
1072
1070
  return typeof this.errorMessage === "string" && this.errorMessage.trim() !== "";
@@ -1457,11 +1455,11 @@ let EzDateInput$1 = class extends HTMLElement$1 {
1457
1455
  this.ezCancelWaitingChange = createEvent(this, "ezCancelWaitingChange", 7);
1458
1456
  this._focused = false;
1459
1457
  /**
1460
- * Deixa o campo disponível ou não para uso.
1458
+ * Se false o usuário não pode interagir com o campo.
1461
1459
  */
1462
1460
  this.enabled = true;
1463
1461
  /**
1464
- * Define o modo do tamanho do campo; opções: slim e regular.
1462
+ * Define o tamanho do campo.
1465
1463
  */
1466
1464
  this.mode = "regular";
1467
1465
  }
@@ -1497,19 +1495,19 @@ let EzDateInput$1 = class extends HTMLElement$1 {
1497
1495
  }
1498
1496
  }
1499
1497
  /**
1500
- * Realiza o foco no componente de data
1498
+ * Aplica o foco no campo.
1501
1499
  */
1502
1500
  async setFocus() {
1503
1501
  this._textInput.setFocus();
1504
1502
  }
1505
1503
  /**
1506
- * Remove o foco no componente de data
1504
+ * Remove o foco do campo.
1507
1505
  */
1508
1506
  async setBlur() {
1509
1507
  this._textInput.setBlur();
1510
1508
  }
1511
1509
  /**
1512
- * Retorna informando se o campo está inválido (true | false)
1510
+ * Retorna se o conteúdo é inválido.
1513
1511
  */
1514
1512
  async isInvalid() {
1515
1513
  return typeof this.errorMessage === "string" && this.errorMessage.trim() !== "";
@@ -1609,15 +1607,15 @@ let EzDateTimeInput$1 = class extends HTMLElement$1 {
1609
1607
  this.ezCancelWaitingChange = createEvent(this, "ezCancelWaitingChange", 7);
1610
1608
  this._focused = false;
1611
1609
  /**
1612
- * Deixa o campo disponível ou não para uso.
1610
+ * Se false o usuário não pode interagir com o campo.
1613
1611
  */
1614
1612
  this.enabled = true;
1615
1613
  /**
1616
- * Exibe ou não os segundos no input
1617
- */
1614
+ * Se true considera segundos.
1615
+ */
1618
1616
  this.showSeconds = false;
1619
1617
  /**
1620
- * Define o modo do tamanho do campo; opções: slim e regular.
1618
+ * Define o tamanho do campo.
1621
1619
  */
1622
1620
  this.mode = "regular";
1623
1621
  }
@@ -1653,19 +1651,19 @@ let EzDateTimeInput$1 = class extends HTMLElement$1 {
1653
1651
  }
1654
1652
  }
1655
1653
  /**
1656
- * Realiza o foco no componente de datetime
1654
+ * Aplica o foco no campo.
1657
1655
  */
1658
1656
  async setFocus() {
1659
1657
  this._textInput.setFocus();
1660
1658
  }
1661
1659
  /**
1662
- * Remove o foco no componente de datetime
1660
+ * Remove o foco do campo.
1663
1661
  */
1664
1662
  async setBlur() {
1665
1663
  this._textInput.setBlur();
1666
1664
  }
1667
1665
  /**
1668
- * Retorna informando se o campo está inválido (true | false)
1666
+ * Retorna se o conteúdo é inválido.
1669
1667
  */
1670
1668
  async isInvalid() {
1671
1669
  return typeof this.errorMessage === "string" && this.errorMessage.trim() !== "";
@@ -1830,19 +1828,16 @@ let EzDialog$1 = class extends HTMLElement$1 {
1830
1828
  this.labelCancel = 'Não';
1831
1829
  this.btnConfirmDanger = false;
1832
1830
  /**
1833
- * Define se o componente será utilizado no modo de confirmação.
1831
+ * Define se o ez-dialog será utilizado no modo de confirmação.
1834
1832
  */
1835
1833
  this.confirm = false;
1836
1834
  /**
1837
- * Controla a exibição do componente
1835
+ * Define se o ez-dialog está aberto.
1838
1836
  */
1839
1837
  this.opened = false;
1840
1838
  this._messageQueue = [];
1841
1839
  }
1842
- /**
1843
- * Lida com o clique nos botões de dentro do componente.
1844
- */
1845
- async handleButtonClick(selectedOption) {
1840
+ handleButtonClick(selectedOption) {
1846
1841
  this.opened = this._messageQueue.length > 0;
1847
1842
  if (this._currentMessage.callBack) {
1848
1843
  this._currentMessage.callBack(selectedOption);
@@ -1854,7 +1849,7 @@ let EzDialog$1 = class extends HTMLElement$1 {
1854
1849
  forceUpdate(this);
1855
1850
  }
1856
1851
  /**
1857
- * Faz com que o componente seja exibido.
1852
+ * Exibe o ez-dialog.
1858
1853
  */
1859
1854
  async show(title, message, dialogType, confirm, icon, labelCancel, labelConfirm, btnConfirmDanger) {
1860
1855
  this.opened = true;
@@ -1954,11 +1949,11 @@ let EzFilterInput$1 = class extends HTMLElement$1 {
1954
1949
  this.__attachShadow();
1955
1950
  this.ezChange = createEvent(this, "ezChange", 7);
1956
1951
  /**
1957
- * Deixa o campo disponível ou não para uso.
1952
+ * Se false o usuário não pode interagir com o campo.
1958
1953
  */
1959
1954
  this.enabled = true;
1960
1955
  /**
1961
- * Define o modo do tamanho do campo; opções: slim e regular.
1956
+ * Define o tamanho do campo.
1962
1957
  */
1963
1958
  this.mode = "regular";
1964
1959
  }
@@ -1979,19 +1974,19 @@ let EzFilterInput$1 = class extends HTMLElement$1 {
1979
1974
  }
1980
1975
  }
1981
1976
  /**
1982
- * Realiza o foco no componente de input
1977
+ * Aplica o foco no campo.
1983
1978
  */
1984
1979
  async setFocus() {
1985
1980
  this._textInput.setFocus();
1986
1981
  }
1987
1982
  /**
1988
- * Remove o foco no componente de input
1983
+ * Remove o foco do campo.
1989
1984
  */
1990
1985
  async setBlur() {
1991
1986
  this._textInput.setBlur();
1992
1987
  }
1993
1988
  /**
1994
- * Retorna informando se o campo está inválido (true | false)
1989
+ * Retorna se o conteúdo é inválido.
1995
1990
  */
1996
1991
  async isInvalid() {
1997
1992
  return typeof this.errorMessage === "string" && this.errorMessage.trim() !== "";
@@ -2008,7 +2003,7 @@ let EzFilterInput$1 = class extends HTMLElement$1 {
2008
2003
  }
2009
2004
  render() {
2010
2005
  let elementId = ElementIDUtils.addIDInfoIfNotExists(this._elem, 'input');
2011
- return (h("ez-text-input", { "data-element-id": ElementIDUtils.getInternalIDInfo(elementId, "textInput"), ref: elem => this._textInput = elem, label: this.label, onEzChange: evt => this.changeValue(evt), value: this.value, enabled: this.enabled, errorMessage: this.errorMessage, restrict: this.restrict, loading: this.loading, mode: this.mode }, h("ez-icon", { slot: "leftIcon", iconName: "search" })));
2006
+ return (h("ez-text-input", { "data-element-id": ElementIDUtils.getInternalIDInfo(elementId, "textInput"), ref: elem => this._textInput = elem, label: this.label, onEzChange: evt => this.changeValue(evt), value: this.value, enabled: this.enabled, errorMessage: this.errorMessage, restrict: this.restrict, mode: this.mode }, h("ez-icon", { slot: "leftIcon", iconName: "search" })));
2012
2007
  }
2013
2008
  get _elem() { return this; }
2014
2009
  static get watchers() { return {
@@ -2868,12 +2863,9 @@ let EzForm$1 = class extends HTMLElement$1 {
2868
2863
  }
2869
2864
  };
2870
2865
  }
2871
- submit() {
2872
- return Promise.resolve();
2873
- }
2874
- cancel() {
2875
- return Promise.resolve();
2876
- }
2866
+ /**
2867
+ * Realiza validação no conteúdo de todos os campos.
2868
+ */
2877
2869
  validate() {
2878
2870
  return new Promise((accept, reject) => {
2879
2871
  var _a;
@@ -2960,7 +2952,7 @@ let EzForm$1 = class extends HTMLElement$1 {
2960
2952
  const idTabSelector = `${this._dataElementIdEzForm}_internal_tabSelector`;
2961
2953
  result.push(h("ez-tabselector", { tabs: this.buildIdTabSelector(tabs), onEzChange: (evt) => this._store.dispatch(changeTab(evt.detail)), selectedTab: currentSheet.name, "data-element-id": idTabSelector }));
2962
2954
  }
2963
- const idFormSheet = `${this._dataElementIdEzForm}_${StringUtils$1.toCamelCase(currentSheet.label)}`;
2955
+ const idFormSheet = `${this._dataElementIdEzForm}_${StringUtils$1.replaceAccentuatedChars(StringUtils$1.toCamelCase(currentSheet.label), false)}`;
2964
2956
  result.push(h(FormSheet, { store: this._store, source: currentSheet, dataElementId: idFormSheet }));
2965
2957
  return result;
2966
2958
  }
@@ -117843,6 +117835,7 @@ class AgGridController {
117843
117835
  sortingOrder: ['desc', 'asc', null],
117844
117836
  columnDefs: this._colDefs,
117845
117837
  blockLoadDebounceMillis: this.BLOCK_LOAD_DEBOUNCE,
117838
+ navigateToNextCell: this.navigateToNextCell.bind(this),
117846
117839
  getRowNodeId: this._dataUnit ? (params) => typeof params === "string" ? params : params[this._idAttribName] : undefined,
117847
117840
  getMainMenuItems: (params) => {
117848
117841
  const column = params.column;
@@ -117882,6 +117875,45 @@ class AgGridController {
117882
117875
  getRowHeight() {
117883
117876
  return this.DEFAULT_ROW_HEIGHT;
117884
117877
  }
117878
+ navigateToNextCell(params) {
117879
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j;
117880
+ switch (params.key) {
117881
+ case 'ArrowUp':
117882
+ if (((_a = this._dataUnit) === null || _a === void 0 ? void 0 : _a.hasPrevious()) === false) {
117883
+ return null;
117884
+ }
117885
+ this._gridOptions.api.deselectAll();
117886
+ if (((_b = params.nextCellPosition) === null || _b === void 0 ? void 0 : _b.rowIndex) < 0) {
117887
+ (_c = this._dataUnit) === null || _c === void 0 ? void 0 : _c.previousRecord();
117888
+ return null;
117889
+ }
117890
+ else {
117891
+ (_d = this._dataUnit) === null || _d === void 0 ? void 0 : _d.setSelectionByIndex([params.nextCellPosition.rowIndex]);
117892
+ return params.nextCellPosition;
117893
+ }
117894
+ case 'ArrowDown':
117895
+ if (((_e = this._dataUnit) === null || _e === void 0 ? void 0 : _e.hasNext()) === false) {
117896
+ return null;
117897
+ }
117898
+ this._gridOptions.api.deselectAll();
117899
+ if ((_f = params.nextCellPosition) === null || _f === void 0 ? void 0 : _f.rowIndex) {
117900
+ (_g = this._dataUnit) === null || _g === void 0 ? void 0 : _g.setSelectionByIndex([params.nextCellPosition.rowIndex]);
117901
+ }
117902
+ else {
117903
+ (_h = this._dataUnit) === null || _h === void 0 ? void 0 : _h.nextRecord();
117904
+ }
117905
+ return params.nextCellPosition;
117906
+ case "ArrowLeft":
117907
+ case "ArrowRight":
117908
+ if (((_j = params.nextCellPosition) === null || _j === void 0 ? void 0 : _j.column.colDef.headerName) !== "") {
117909
+ return params.nextCellPosition;
117910
+ }
117911
+ else {
117912
+ return null;
117913
+ }
117914
+ }
117915
+ return null;
117916
+ }
117885
117917
  setOptionsEvents(opt) {
117886
117918
  opt.onSortChanged = e => this.onCallStateChange("sort", e);
117887
117919
  opt.onColumnResized = e => this.onCallStateChange("columnResize", e);
@@ -117942,7 +117974,14 @@ class AgGridController {
117942
117974
  throw new Error("Erro interno: Grid ainda não inicializado.");
117943
117975
  }
117944
117976
  this._gridOptions.api.forEachNode(node => {
117945
- node.setSelected(rowIds && rowIds.includes(node.id));
117977
+ var _a;
117978
+ if (rowIds && rowIds.includes(node.id)) {
117979
+ node.setSelected(true);
117980
+ (_a = this._gridOptions.api) === null || _a === void 0 ? void 0 : _a.ensureNodeVisible(node);
117981
+ }
117982
+ else {
117983
+ node.setSelected(false);
117984
+ }
117946
117985
  });
117947
117986
  const selectionHeader = this._gridOptions.context.selectionHeader;
117948
117987
  if (selectionHeader) {
@@ -117988,6 +118027,21 @@ class AgGridController {
117988
118027
  }
117989
118028
  this._gridOptions.api.refreshServerSide({ purge: false });
117990
118029
  }
118030
+ setFocusFirstRow() {
118031
+ const firstRow = this._gridOptions.api.getDisplayedRowAtIndex(0);
118032
+ this.setFocusOnRow(firstRow.rowIndex);
118033
+ }
118034
+ setFocusLastRow() {
118035
+ const lastRow = this._gridOptions.api.getDisplayedRowAtIndex(this._gridOptions.api.getLastDisplayedRow());
118036
+ this.setFocusOnRow(lastRow.rowIndex);
118037
+ }
118038
+ setFocusOnRow(rowIndex) {
118039
+ let displayedColumns = this._gridOptions.columnApi.getAllDisplayedColumns();
118040
+ let firstCell = displayedColumns.find((column) => column.getColDef().headerName !== "");
118041
+ this._gridOptions.api.ensureColumnVisible(firstCell);
118042
+ this._gridOptions.api.ensureIndexVisible(rowIndex);
118043
+ this._gridOptions.api.setFocusedCell(rowIndex, firstCell);
118044
+ }
117991
118045
  setColumnsDef(cols) {
117992
118046
  const newColDefs = [Object.assign({ colId: this.CHECK_BOX_COL_ID, headerName: "", checkboxSelection: true, width: 28, suppressMovable: true, suppressAutoSize: true, suppressMenu: true, lockPosition: true, pinned: true }, this._multipleSelection && { headerComponent: "ezGridHeaderComponent", headerClass: "ag-column-select-header" })];
117993
118047
  if (this._statusResolver != undefined) {
@@ -118257,53 +118311,53 @@ let EzGrid$1 = class extends HTMLElement$1 {
118257
118311
  this.ezDoubleClick = createEvent(this, "ezDoubleClick", 7);
118258
118312
  this.configChange = createEvent(this, "configChange", 7);
118259
118313
  this._gridController = new AgGridController(false);
118314
+ this._paginationChangedByKeyboard = true;
118260
118315
  }
118261
118316
  /**
118262
- * Método responsável por receber a definição das colunas
118263
- */
118317
+ * Aplica a definição de colunas.
118318
+ */
118264
118319
  async setColumnsDef(cols) {
118265
118320
  this._gridController.setColumnsDef(cols);
118266
118321
  }
118267
118322
  /**
118268
- * Adiciona item de menu nas colunas.
118269
- */
118323
+ * Adiciona item de menu nas colunas.
118324
+ */
118270
118325
  async addColumnMenuItem(label, name, action) {
118271
118326
  this._gridController.addColumnMenuItem({ label, name, action });
118272
118327
  }
118273
118328
  /**
118274
- * Método responsável por aplicar estado pré-existente nas colunas do grid.
118275
- */
118329
+ * Aplica o estado das colunas.
118330
+ */
118276
118331
  async setColumnsState(state) {
118277
118332
  this._gridController.setColumnsState(state);
118278
118333
  }
118279
118334
  /**
118280
- * Método de carga dos registros. Os objetos deste array devem conter atributos
118281
- * para as colunas desejadas.
118282
- */
118335
+ * Insere os registros no ez-grid.
118336
+ */
118283
118337
  async setData(data) {
118284
118338
  this._gridController.setData(data);
118285
118339
  }
118286
118340
  /**
118287
- * Retorna as linhas selecionadas na grade.
118288
- */
118341
+ * Obtém as linhas selecionadas.
118342
+ */
118289
118343
  async getSelection() {
118290
118344
  return Promise.resolve(this._gridController.getSelection());
118291
118345
  }
118292
118346
  /**
118293
- * Método retornar o estado atual das colunas do grid.
118294
- */
118347
+ * Obtém o estado atual das colunas.
118348
+ */
118295
118349
  async getColumnsState() {
118296
118350
  return Promise.resolve(this._gridController.getColumnsState());
118297
118351
  }
118298
118352
  /**
118299
- * Método retornar o estado atual das colunas do grid.
118300
- */
118353
+ * Obtém a lista de definição de colunas.
118354
+ */
118301
118355
  async getColumns() {
118302
118356
  return Promise.resolve(this._gridController.getColumnsDef());
118303
118357
  }
118304
118358
  /**
118305
- * Método para fazer um filtro rápido na grid.
118306
- */
118359
+ * Aplica um filtro rápido.
118360
+ */
118307
118361
  async quickFilter(term) {
118308
118362
  this._gridController.quickFilter(term);
118309
118363
  }
@@ -118381,7 +118435,17 @@ let EzGrid$1 = class extends HTMLElement$1 {
118381
118435
  this._gridController.initDatagrid(this._container, {
118382
118436
  onColumnStateChange: (type, state, info) => this.onColumnStateChange(type, state, info),
118383
118437
  onSelectionChange: (selection) => this.ezSelectionChange.emit(selection),
118384
- onPaginationChange: (paginationInfo) => this._paginationInfo = paginationInfo,
118438
+ onPaginationChange: (paginationInfo) => {
118439
+ var _a;
118440
+ if (((_a = this._paginationInfo) === null || _a === void 0 ? void 0 : _a.currentPage) > paginationInfo.currentPage && this._paginationChangedByKeyboard) {
118441
+ this._gridController.setFocusLastRow();
118442
+ }
118443
+ else {
118444
+ this._gridController.setFocusFirstRow();
118445
+ this._paginationChangedByKeyboard = true;
118446
+ }
118447
+ this._paginationInfo = paginationInfo;
118448
+ },
118385
118449
  onDoubleClick: (row) => {
118386
118450
  this.ezDoubleClick.emit(row);
118387
118451
  },
@@ -118404,11 +118468,13 @@ let EzGrid$1 = class extends HTMLElement$1 {
118404
118468
  previousPage() {
118405
118469
  if (this.dataUnit) {
118406
118470
  this.dataUnit.previousPage();
118471
+ this._paginationChangedByKeyboard = false;
118407
118472
  }
118408
118473
  }
118409
118474
  nextPage() {
118410
118475
  if (this.dataUnit) {
118411
118476
  this.dataUnit.nextPage();
118477
+ this._paginationChangedByKeyboard = false;
118412
118478
  }
118413
118479
  }
118414
118480
  getPaginationControl() {
@@ -118444,12 +118510,12 @@ let EzIcon$1 = class extends HTMLElement$1 {
118444
118510
  this.__registerHost();
118445
118511
  this.__attachShadow();
118446
118512
  /**
118447
- * Tamanho do ícone
118513
+ * Define o tamanho do ícone.
118448
118514
  */
118449
- this.size = 'medium';
118515
+ this.size = "medium";
118450
118516
  }
118451
118517
  isSprite() {
118452
- return this.href && this.href.indexOf('#') > -1;
118518
+ return this.href && this.href.indexOf("#") > -1;
118453
118519
  }
118454
118520
  getIconClassName() {
118455
118521
  return `ez-icon-${this.iconName}`;
@@ -118483,64 +118549,42 @@ let EzList$1 = class extends HTMLElement$1 {
118483
118549
  this._listGroupItems = [];
118484
118550
  this._listItemsHistory = [];
118485
118551
  /**
118486
- * Define a lista inicial do componente.
118487
- */
118552
+ * Define a lista inicial do componente.
118553
+ */
118488
118554
  this.dataSource = [];
118489
118555
  /**
118490
- * Define se o componente renderizará os itens separados em grupos..
118491
- */
118556
+ * Se true os grupos serão exibidos.
118557
+ */
118492
118558
  this.useGroups = false;
118493
118559
  /**
118494
- * Define se o componente terá o comportamento de arrasto de linhas.
118495
- */
118560
+ * Se true habilita `drag and drop` para os itens.
118561
+ */
118496
118562
  this.ezDraggable = false;
118497
118563
  /**
118498
- * Define se os items da lista serão selecionáveis.
118499
- */
118564
+ * Se true os itens serão selecionáveis.
118565
+ */
118500
118566
  this.ezSelectable = false;
118501
118567
  }
118502
- createList() {
118503
- if (this.useGroups) {
118504
- let list = [...this.dataSource];
118505
- list.forEach(itemGroup => {
118506
- this.sortGroup(itemGroup);
118507
- });
118508
- this._listGroupItems = list;
118509
- }
118510
- else {
118511
- this._listItems = this._listItemsHistory.length > 0 ? this._listItemsHistory : [...this.dataSource];
118512
- }
118513
- }
118514
- sortGroup(itemGroup) {
118515
- if (itemGroup.sort) {
118516
- itemGroup.items.sort(function (a, b) {
118517
- return a.label < b.label ? -1 : a.label > b.label ? 1 : 0;
118518
- });
118519
- if (itemGroup.sort === "DSC") {
118520
- itemGroup.items.reverse();
118521
- }
118522
- }
118523
- }
118524
118568
  /**
118525
- * Responsável por limpar a lista de histórico do componente.
118526
- */
118569
+ * Limpa o histórico da lista.
118570
+ */
118527
118571
  async clearHistory() {
118528
118572
  this._listItemsHistory = [];
118529
118573
  }
118530
118574
  /**
118531
- * Responsável por dar um scroll top no componente da lista.
118532
- */
118575
+ * Traz o conteúdo da lista para a área visível.
118576
+ */
118533
118577
  async scrollToTop() {
118534
118578
  if (this.useGroups) {
118535
- this._element.shadowRoot.querySelector('.group-container').scrollTop = 0;
118579
+ this._element.shadowRoot.querySelector(".group-container").scrollTop = 0;
118536
118580
  }
118537
118581
  else {
118538
- this._element.shadowRoot.querySelector('.items-container').scrollTop = 0;
118582
+ this._element.shadowRoot.querySelector(".items-container").scrollTop = 0;
118539
118583
  }
118540
118584
  }
118541
118585
  /**
118542
- * Recebe como argumento um ListItem {label: string} e um booleano que define se o componente deve fazer scroll para exibir o item específico (opcional).
118543
- */
118586
+ * Aplica seleção nas linhas da lista.
118587
+ */
118544
118588
  async setSelection(selectedItem, scrollToOption) {
118545
118589
  if (selectedItem && this.ezSelectable) {
118546
118590
  if (this.useGroups) {
@@ -118571,8 +118615,8 @@ let EzList$1 = class extends HTMLElement$1 {
118571
118615
  }
118572
118616
  if (scrollToOption) {
118573
118617
  let liElem = this.useGroups ?
118574
- this._groupContainer.querySelector('li#item_' + this.getItemId(selectedItem.label))
118575
- : this._itemContainer.querySelector('li#item_' + this.getItemId(selectedItem.label));
118618
+ this._groupContainer.querySelector("li#item_" + this.getItemId(selectedItem.label))
118619
+ : this._itemContainer.querySelector("li#item_" + this.getItemId(selectedItem.label));
118576
118620
  if (liElem) {
118577
118621
  liElem.scrollIntoView();
118578
118622
  }
@@ -118582,27 +118626,9 @@ let EzList$1 = class extends HTMLElement$1 {
118582
118626
  this.removeSelection();
118583
118627
  }
118584
118628
  }
118585
- removeSelection() {
118586
- if (this.useGroups) {
118587
- let newList = [...this._listGroupItems];
118588
- newList.forEach(groupItem => {
118589
- groupItem.items.forEach(item => {
118590
- item.selected = false;
118591
- });
118592
- });
118593
- this._listGroupItems = newList;
118594
- }
118595
- else {
118596
- let newList = [...this._listItems];
118597
- newList.forEach(item => {
118598
- item.selected = false;
118599
- });
118600
- this._listItems = newList;
118601
- }
118602
- }
118603
118629
  /**
118604
- * Retorna o item selecionado.
118605
- */
118630
+ * Obtém o item selecionado.
118631
+ */
118606
118632
  async getSelection() {
118607
118633
  let selectedItem;
118608
118634
  if (this.useGroups) {
@@ -118621,7 +118647,7 @@ let EzList$1 = class extends HTMLElement$1 {
118621
118647
  return selectedItem;
118622
118648
  }
118623
118649
  /**
118624
- * Retorna a lista de items conforme o modo de uso.
118650
+ * Obtém a lista de items ou grupos.
118625
118651
  */
118626
118652
  async getList() {
118627
118653
  if (this.useGroups) {
@@ -118629,6 +118655,46 @@ let EzList$1 = class extends HTMLElement$1 {
118629
118655
  }
118630
118656
  return this._listItems;
118631
118657
  }
118658
+ createList() {
118659
+ if (this.useGroups) {
118660
+ let list = this.dataSource.map(item => item);
118661
+ list.forEach(itemGroup => {
118662
+ this.sortGroup(itemGroup);
118663
+ });
118664
+ this._listGroupItems = list;
118665
+ }
118666
+ else {
118667
+ this._listItems = this._listItemsHistory.length > 0 ? this._listItemsHistory : this.dataSource.map(item => item);
118668
+ }
118669
+ }
118670
+ sortGroup(itemGroup) {
118671
+ if (itemGroup.sort) {
118672
+ itemGroup.items.sort(function (a, b) {
118673
+ return a.label < b.label ? -1 : a.label > b.label ? 1 : 0;
118674
+ });
118675
+ if (itemGroup.sort === "DSC") {
118676
+ itemGroup.items.reverse();
118677
+ }
118678
+ }
118679
+ }
118680
+ removeSelection() {
118681
+ if (this.useGroups) {
118682
+ let newList = [...this._listGroupItems];
118683
+ newList.forEach(groupItem => {
118684
+ groupItem.items.forEach(item => {
118685
+ item.selected = false;
118686
+ });
118687
+ });
118688
+ this._listGroupItems = newList;
118689
+ }
118690
+ else {
118691
+ let newList = [...this._listItems];
118692
+ newList.forEach(item => {
118693
+ item.selected = false;
118694
+ });
118695
+ this._listItems = newList;
118696
+ }
118697
+ }
118632
118698
  componentWillLoad() {
118633
118699
  this._listItemsHistory = [];
118634
118700
  }
@@ -118751,7 +118817,7 @@ let EzList$1 = class extends HTMLElement$1 {
118751
118817
  }
118752
118818
  addOverClass(element) {
118753
118819
  if ((element === null || element === void 0 ? void 0 : element.__proto__) == HTMLDivElement.prototype && element.classList.contains("draggable")) {
118754
- element.classList.add('over');
118820
+ element.classList.add("over");
118755
118821
  }
118756
118822
  else if ((element === null || element === void 0 ? void 0 : element.parentElement) && !element.parentElement.classList.contains("draggable-list")) {
118757
118823
  this.addOverClass(element.parentElement);
@@ -118776,21 +118842,21 @@ let EzList$1 = class extends HTMLElement$1 {
118776
118842
  let overCollection;
118777
118843
  let overLastDroppableCollection;
118778
118844
  if (this.useGroups) {
118779
- overCollection = (_a = this._groupContainer) === null || _a === void 0 ? void 0 : _a.getElementsByClassName('over');
118780
- overLastDroppableCollection = this._groupContainer.getElementsByClassName('last-droppable-space');
118845
+ overCollection = (_a = this._groupContainer) === null || _a === void 0 ? void 0 : _a.getElementsByClassName("over");
118846
+ overLastDroppableCollection = this._groupContainer.getElementsByClassName("last-droppable-space");
118781
118847
  }
118782
118848
  else {
118783
- overCollection = (_b = this._itemContainer) === null || _b === void 0 ? void 0 : _b.getElementsByClassName('over');
118784
- overLastDroppableCollection = this._itemContainer.getElementsByClassName('last-droppable-space');
118849
+ overCollection = (_b = this._itemContainer) === null || _b === void 0 ? void 0 : _b.getElementsByClassName("over");
118850
+ overLastDroppableCollection = this._itemContainer.getElementsByClassName("last-droppable-space");
118785
118851
  }
118786
118852
  if (overCollection) {
118787
118853
  Array.from(overCollection).forEach(function (element) {
118788
- element.classList.remove('over');
118854
+ element.classList.remove("over");
118789
118855
  });
118790
118856
  }
118791
118857
  if (overLastDroppableCollection) {
118792
118858
  Array.from(overLastDroppableCollection).forEach(function (element) {
118793
- element.classList.remove('over');
118859
+ element.classList.remove("over");
118794
118860
  });
118795
118861
  }
118796
118862
  }
@@ -118941,7 +119007,7 @@ let EzList$1 = class extends HTMLElement$1 {
118941
119007
  onDragOverLastIndex(ev) {
118942
119008
  ev.preventDefault();
118943
119009
  if (this._dragStartItem) {
118944
- ev.target.classList.add('over');
119010
+ ev.target.classList.add("over");
118945
119011
  ev.stopPropagation();
118946
119012
  }
118947
119013
  }
@@ -118967,7 +119033,7 @@ let EzList$1 = class extends HTMLElement$1 {
118967
119033
  return (h(Host, { ref: (el) => this._element = el }, this.useGroups ?
118968
119034
  h("div", { class: "group-container", ref: (el) => this._groupContainer = el, tabIndex: 0, onKeyDown: (event) => { this.keyDownHandler(event); } }, this._listGroupItems.map(group => {
118969
119035
  return h("div", { id: this.getDivGroupId(group.group), class: "group", key: group.group + group.items.length, onDrop: () => this.onDropGroup(group) }, h("label", { draggable: false, class: "group-name" }, group.group), h("section", { class: "section-container", onDragOver: (ev) => ev.preventDefault() }, h("div", { class: "group-items-container" }, h("div", { class: "draggable-list" }, group.items.map((item, index) => {
118970
- return h("li", { id: 'item_' + this.getItemId(item.label), class: this.ezSelectable ? "selectable-container" : "", key: 'item_' + this.getItemId(item.label) }, h("div", { class: "draggable" + (item.selected == true ? " selected-item " : "") + (this.ezSelectable == true ? " selectable " : ""), onClick: () => { this.setSelection(item); }, onDragLeave: () => { group.sort ? undefined : this.removeOverClass(); }, onDragEnd: () => this.onDragEnd(), onDragStart: () => this.onDragStart(item, group, index), onDragOver: (event) => { group.sort ? undefined : this.onDragOverItem(event); }, onDrop: (event) => this.onDrop(event, { groupName: group.group, item: item, index: index }), draggable: this.ezDraggable }, h("div", { class: "item-content" }, this.ezDraggable ? h("span", { class: "draggable-icon" }) : undefined, h("p", { title: item.label, class: "person-name text--ellipsis" }, item.label)), this.itemSlotBuilder ?
119036
+ return h("li", { id: "item_" + this.getItemId(item.label), class: this.ezSelectable ? "selectable-container" : "", key: "item_" + this.getItemId(item.label) }, h("div", { class: "draggable" + (item.selected == true ? " selected-item " : "") + (this.ezSelectable == true ? " selectable " : ""), onClick: () => { this.setSelection(item); }, onDragLeave: () => { group.sort ? undefined : this.removeOverClass(); }, onDragEnd: () => this.onDragEnd(), onDragStart: () => this.onDragStart(item, group, index), onDragOver: (event) => { group.sort ? undefined : this.onDragOverItem(event); }, onDrop: (event) => this.onDrop(event, { groupName: group.group, item: item, index: index }), draggable: this.ezDraggable }, h("div", { class: "item-content" }, this.ezDraggable ? h("span", { class: "draggable-icon" }) : undefined, h("p", { title: item.label, class: "person-name text--ellipsis" }, item.label)), this.itemSlotBuilder ?
118971
119037
  h("div", { class: "slot-item" }, this.itemSlotBuilder(item, group))
118972
119038
  : undefined));
118973
119039
  })), h("div", { class: "last-droppable-space", onDragLeave: () => this.removeOverClass(), onDragOver: (event) => { this.onDragOverLastIndex(event); }, onDragEnd: () => this.onDragEnd(), onDrop: (event) => this.onDropLastIndex(event, group) })), group.sort ?
@@ -118976,7 +119042,7 @@ let EzList$1 = class extends HTMLElement$1 {
118976
119042
  }))
118977
119043
  :
118978
119044
  h("div", { class: "items-container", ref: (el) => this._itemContainer = el, tabIndex: 0, onKeyDown: (event) => { this.keyDownHandler(event); } }, h("div", { class: "draggable-list" }, this._listItems.map((item, index) => {
118979
- return h("li", { id: 'item_' + this.getItemId(item.label), class: this.ezSelectable ? "selectable-container" : "", key: 'item_' + this.getItemId(item.label) }, h("div", { class: "draggable" + (item.selected == true ? " selected-item " : "") + (this.ezSelectable == true ? " selectable " : ""), onDragStart: () => this.onDragStart({ item: item, index: index }), onClick: () => { this.setSelection(item); }, onDragLeave: () => this.removeOverClass(), onDragOver: (event) => this.onDragOverItem(event), onDragEnd: () => this.onDragEnd(), onDrop: (event) => this.onDrop(event, { item: item, index: index }), draggable: this.ezDraggable }, h("div", { class: "item-content" }, this.ezDraggable ? h("span", { class: "draggable-icon" }) : undefined, h("p", { title: item.label, class: "person-name text--ellipsis" }, item.label)), this.itemSlotBuilder ?
119045
+ return h("li", { id: "item_" + this.getItemId(item.label), class: this.ezSelectable ? "selectable-container" : "", key: "item_" + this.getItemId(item.label) }, h("div", { class: "draggable" + (item.selected == true ? " selected-item " : "") + (this.ezSelectable == true ? " selectable " : ""), onDragStart: () => this.onDragStart({ item: item, index: index }), onClick: () => { this.setSelection(item); }, onDragLeave: () => this.removeOverClass(), onDragOver: (event) => this.onDragOverItem(event), onDragEnd: () => this.onDragEnd(), onDrop: (event) => this.onDrop(event, { item: item, index: index }), draggable: this.ezDraggable }, h("div", { class: "item-content" }, this.ezDraggable ? h("span", { class: "draggable-icon" }) : undefined, h("p", { title: item.label, class: "person-name text--ellipsis" }, item.label)), this.itemSlotBuilder ?
118980
119046
  h("div", null, this.itemSlotBuilder(item))
118981
119047
  : undefined));
118982
119048
  }), h("div", { class: "last-droppable-space", onDragLeave: () => this.removeOverClass(), onDragOver: (event) => { this.onDragOverLastIndex(event); }, onDragEnd: () => this.onDragEnd(), onDrop: (event) => this.onDropLastIndex(event) })))));
@@ -118993,13 +119059,17 @@ let EzLoadingBar$1 = class extends HTMLElement$1 {
118993
119059
  this.__attachShadow();
118994
119060
  this._showLoading = true;
118995
119061
  }
118996
- hide() {
119062
+ /**
119063
+ * Oculta o ez-loading-bar.
119064
+ */
119065
+ async hide() {
118997
119066
  this._showLoading = false;
118998
- return Promise.resolve();
118999
119067
  }
119000
- show() {
119068
+ /**
119069
+ * Exibe o ez-loading-bar.
119070
+ */
119071
+ async show() {
119001
119072
  this._showLoading = true;
119002
- return Promise.resolve();
119003
119073
  }
119004
119074
  render() {
119005
119075
  return (h(Host, null, this._showLoading && h("div", { class: "loading-bar" }, h("div", { class: "loading-bar__container" }))));
@@ -119017,16 +119087,16 @@ let EzModal$1 = class extends HTMLElement$1 {
119017
119087
  this.ezCloseModal = createEvent(this, "ezCloseModal", 7);
119018
119088
  this.ezOpenModal = createEvent(this, "ezOpenModal", 7);
119019
119089
  /**
119020
- * Controle de exibição do Modal
119021
- */
119090
+ * Define se o ez-modal está aberto.
119091
+ */
119022
119092
  this.opened = true;
119023
119093
  /**
119024
- * Define se o modal será fechado ao clicar ESC
119025
- */
119094
+ * Define se o ez-modal será fechado ao clicar `ESC`.
119095
+ */
119026
119096
  this.closeEsc = false;
119027
119097
  /**
119028
- * Define se o modal será fechado ao clicar fora do conteúdo.
119029
- */
119098
+ * Define se o modal será fechado ao clicar fora do conteúdo.
119099
+ */
119030
119100
  this.closeOutsideClick = false;
119031
119101
  this.handleKeyboardEvent = (ev) => {
119032
119102
  if ((ev === null || ev === void 0 ? void 0 : ev.key) === "Escape" && this.closeEsc) {
@@ -119098,7 +119168,7 @@ let EzModalContainer$1 = class extends HTMLElement$1 {
119098
119168
  this.__registerHost();
119099
119169
  this.ezModalAction = createEvent(this, "ezModalAction", 7);
119100
119170
  /**
119101
- * Determina se o cabeçalho com o título deverá ser mostrado
119171
+ * Define se o cabeçalho será mostrado.
119102
119172
  */
119103
119173
  this.showTitleBar = true;
119104
119174
  }
@@ -119120,7 +119190,7 @@ let EzModalContainer$1 = class extends HTMLElement$1 {
119120
119190
  this._closeButton.focus();
119121
119191
  }
119122
119192
  render() {
119123
- return (h(Host, null, h("button", { class: "ez-modal-container__focus-ctrl", onFocusin: evt => this.focusLast(evt) }), this.showTitleBar && h("div", { class: "ez-modal-container__header ez-margin-bottom--large ez-align--middle" }, h("div", { class: "ez-col ez-align--middle ez-modal-container__title" }, h("h2", { class: "ez-text ez-title--large ez-title--primary ez-text--bold ez-margin-vertical--extra-small" }, this.modalTitle), this.modalSubTitle ? h("div", { class: "ez-text ez-text--medium ez-text--primary ez-margin-vertical--extra-small" }, this.modalSubTitle) : undefined), h("button", { ref: ref => this._closeButton = ref, class: "ez-modal-container__close-button", onClick: () => this.ezModalAction.emit(ModalAction$1.CLOSE) }, h("ez-icon", { class: "ez-modal-container__close-icon", size: "medium", iconName: "close" }))), h("div", null, h("slot", null)), h("div", { class: 'ez-col ez-margin-left--auto' }, this.cancelIsVisible() ? h("ez-button", { label: this.cancelButtonLabel, enabled: this.cancelButtonStatus !== ModalButtonStatus$1.DISABLED, onClick: () => this.ezModalAction.emit(ModalAction$1.CANCEL) }) : undefined, this.okIsVisible() ? h("ez-button", { ref: ref => this._okButton = ref, label: this.okButtonLabel, enabled: this.okButtonStatus !== ModalButtonStatus$1.DISABLED, class: "ez-button--primary ez-margin-left--medium", onClick: () => this.ezModalAction.emit(ModalAction$1.OK) }) : undefined), h("button", { class: "ez-modal-container__focus-ctrl", onFocusin: evt => this.focusFirst(evt) })));
119193
+ return (h(Host, null, h("button", { class: "ez-modal-container__focus-ctrl", onFocusin: evt => this.focusLast(evt) }), this.showTitleBar && h("div", { class: "ez-modal-container__header ez-margin-bottom--large ez-align--middle" }, h("div", { class: "ez-col ez-align--middle ez-modal-container__title" }, h("h2", { class: "ez-text ez-title--large ez-title--primary ez-text--bold ez-margin-vertical--extra-small" }, this.modalTitle), this.modalSubTitle ? h("div", { class: "ez-text ez-text--medium ez-text--primary ez-margin-vertical--extra-small" }, this.modalSubTitle) : undefined), h("button", { ref: ref => this._closeButton = ref, class: "ez-modal-container__close-button", onClick: () => this.ezModalAction.emit(ModalAction$1.CLOSE) }, h("ez-icon", { class: "ez-modal-container__close-icon", size: "medium", iconName: "close" }))), h("div", null, h("slot", null)), h("div", { class: "ez-col ez-margin-left--auto" }, this.cancelIsVisible() ? h("ez-button", { label: this.cancelButtonLabel, enabled: this.cancelButtonStatus !== ModalButtonStatus$1.DISABLED, onClick: () => this.ezModalAction.emit(ModalAction$1.CANCEL) }) : undefined, this.okIsVisible() ? h("ez-button", { ref: ref => this._okButton = ref, label: this.okButtonLabel, enabled: this.okButtonStatus !== ModalButtonStatus$1.DISABLED, class: "ez-button--primary ez-margin-left--medium", onClick: () => this.ezModalAction.emit(ModalAction$1.OK) }) : undefined), h("button", { class: "ez-modal-container__focus-ctrl", onFocusin: evt => this.focusFirst(evt) })));
119124
119194
  }
119125
119195
  static get style() { return ezModalContainerCss; }
119126
119196
  };
@@ -119137,28 +119207,28 @@ let EzNumberInput$1 = class extends HTMLElement$1 {
119137
119207
  this.ezCancelWaitingChange = createEvent(this, "ezCancelWaitingChange", 7);
119138
119208
  this._focused = false;
119139
119209
  /**
119140
- * Deixa o campo disponível ou não para uso.
119210
+ * Se false, o usuário não pode interagir com o campo.
119141
119211
  */
119142
119212
  this.enabled = true;
119143
119213
  /**
119144
- * Define o modo do tamanho do campo; opções: slim e regular.
119214
+ * Define o tamanho do campo.
119145
119215
  */
119146
119216
  this.mode = "regular";
119147
119217
  }
119148
119218
  /**
119149
- * Realiza o foco no componente de input
119219
+ * Aplica o foco no campo.
119150
119220
  */
119151
119221
  async setFocus() {
119152
119222
  this._textInput.setFocus();
119153
119223
  }
119154
119224
  /**
119155
- * Remove o foco no componente de input
119225
+ * Remove o foco do campo.
119156
119226
  */
119157
119227
  async setBlur() {
119158
119228
  this._textInput.setBlur();
119159
119229
  }
119160
119230
  /**
119161
- * Retorna informando se o campo está inválido (true | false)
119231
+ * Retorna se o conteúdo é inválido.
119162
119232
  */
119163
119233
  async isInvalid() {
119164
119234
  return typeof this.errorMessage === "string" && this.errorMessage.trim() !== "";
@@ -119282,29 +119352,27 @@ let EzPopover$1 = class extends HTMLElement$1 {
119282
119352
  this.ezVisibilityChange = createEvent(this, "ezVisibilityChange", 7);
119283
119353
  this._firstRender = true;
119284
119354
  /**
119285
- * No modo floating = false o popover se tornará visível
119286
- * quando o método show() for acionado.
119355
+ * Define que será fechado automaticamente quando o usuário clicar fora do conteúdo.
119287
119356
  */
119288
119357
  this.autoClose = true;
119289
119358
  /**
119290
- * Offset top do popover em relação ao componente pai
119359
+ * Define a distância do topo. Devem ser usados valores válidos de CSS.
119291
119360
  */
119292
119361
  this.top = "0px";
119293
119362
  /**
119294
- * Offset left do popover em relação ao componente pai
119363
+ * Define a distância do lado esquerdo. Devem ser usados valores válidos de CSS.
119295
119364
  */
119296
119365
  this.left = "0px";
119297
119366
  /**
119298
- * Offset bottom do popover em relação ao componente pai
119367
+ * Define a distância de baixo. Devem ser usados valores válidos de CSS.
119299
119368
  */
119300
119369
  this.bottom = "0px";
119301
119370
  /**
119302
- * Offset right do popover em relação ao componente pai
119371
+ * Define a distância do lado direito. Devem ser usados valores válidos de CSS.
119303
119372
  */
119304
119373
  this.right = "0px";
119305
119374
  /**
119306
119375
  * Ajusta o comportamento da largura do popover.
119307
- * Opções: "100% e "fit-content" (default)
119308
119376
  */
119309
119377
  this.boxWidth = "fit-content";
119310
119378
  this.innerClickTest = (_popOvercontainer, node, eventOrigin) => {
@@ -119355,7 +119423,7 @@ let EzPopover$1 = class extends HTMLElement$1 {
119355
119423
  }
119356
119424
  }
119357
119425
  /**
119358
- * Atualiza a posição do popover em relação ao componente pai.
119426
+ * Atualiza a posição do popover.
119359
119427
  */
119360
119428
  async updatePosition(top = this.top, left = this.left, bottom = this.bottom, right = this.right) {
119361
119429
  const floatingOptions = {
@@ -119370,7 +119438,7 @@ let EzPopover$1 = class extends HTMLElement$1 {
119370
119438
  FloatingManager.updateFloatPosition(this._box, this._container, floatingOptions);
119371
119439
  }
119372
119440
  /**
119373
- * Faz com que o popover seja renderizado na DOM.
119441
+ * Exibe o ez-popover.
119374
119442
  */
119375
119443
  async show(top = this.top, left = this.left, bottom = this.bottom, right = this.right) {
119376
119444
  const floatingOptions = {
@@ -119386,7 +119454,7 @@ let EzPopover$1 = class extends HTMLElement$1 {
119386
119454
  this.opened = true;
119387
119455
  }
119388
119456
  /**
119389
- * Usado no modo floating. Faz com que o componente seja ocultado.
119457
+ * Oculta o ez-popover.
119390
119458
  */
119391
119459
  async hide() {
119392
119460
  if (this._floatingID !== undefined) {
@@ -119427,20 +119495,19 @@ let EzPopup$1 = class extends HTMLElement$1 {
119427
119495
  "x-large": "col--sd-11"
119428
119496
  };
119429
119497
  /**
119430
- * Define o width que o componente deve ter, seguindo o grid system. Os valores devem estar
119431
- * compreendidos em [x-small | small | medium | large | x-large].
119498
+ * Define a largura do ez-popup.
119432
119499
  */
119433
119500
  this.size = "medium";
119434
119501
  /**
119435
- * Controla a exibição do componente.
119502
+ * Define se o ez-popover está aberto.
119436
119503
  */
119437
119504
  this.opened = false;
119438
119505
  /**
119439
- * Define se o componente utilizará um cabeçalho com botão de fechamento.
119506
+ * Define se o componente utilizará cabeçalho.
119440
119507
  */
119441
119508
  this.useHeader = true;
119442
119509
  /**
119443
- * Define se o componente utilizará um cabeçalho com botão de fechamento.
119510
+ * Define altura do componente.
119444
119511
  */
119445
119512
  this.heightMode = "full";
119446
119513
  }
@@ -119476,11 +119543,11 @@ let EzRadioButton$1 = class extends HTMLElement$1 {
119476
119543
  */
119477
119544
  this.options = [];
119478
119545
  /**
119479
- * Define se o componente está habilitado ou desabilitado
119480
- */
119546
+ * Se false o usuário não pode interagir com o campo.
119547
+ */
119481
119548
  this.enabled = true;
119482
119549
  /**
119483
- * Define a direção em que os itens são apresentadoss, podendo ser horizontal ou vertical.
119550
+ * Define a direção dos itens.
119484
119551
  */
119485
119552
  this.direction = "vertical";
119486
119553
  }
@@ -119529,16 +119596,11 @@ let EzScroller$1 = class extends HTMLElement$1 {
119529
119596
  this._classHidden = "ez-scroller__shadow--hidden";
119530
119597
  this.isFirefox = false;
119531
119598
  /**
119532
- * Determina se haverá scroll na direção Vertical, Horizontal ou Ambos.
119533
- * Por padrão, a direção é "Ambos".
119534
- */
119535
- this.direction = EzScrollDirection.BOTH;
119536
- /**
119537
- * Determina se o scroll estará bloqueado quando necessário.
119599
+ * Define se o `scroll` estará bloqueado.
119538
119600
  */
119539
119601
  this.locked = false;
119540
119602
  /**
119541
- * Determina de o efeito de sombreado está ativo.
119603
+ * Define se haverá efeito de sombreado.
119542
119604
  */
119543
119605
  this.activeShadow = false;
119544
119606
  }
@@ -119697,26 +119759,25 @@ let EzSearch$1 = class extends HTMLElement$1 {
119697
119759
  this.__registerHost();
119698
119760
  this.__attachShadow();
119699
119761
  this.ezChange = createEvent(this, "ezChange", 7);
119700
- this.showPopup = createEvent(this, "showPopup", 7);
119701
119762
  /**
119702
- * Deixa o campo disponível ou não.
119703
- */
119763
+ * Se false o usuário não pode interagir com o campo.
119764
+ */
119704
119765
  this.enabled = true;
119705
119766
  /**
119706
- * Ajusta a opção de mostrar o "value" ao selecionar uma opção.
119707
- */
119767
+ * Se false a opção selecionada deve exibir somente o `label`.
119768
+ */
119708
119769
  this.showSelectedValue = true;
119709
119770
  /**
119710
- * Ajusta a opção de mostrar o "value" para cada opção.
119711
- */
119771
+ * Se false cada opção na lista deve exibir somente o `label`.
119772
+ */
119712
119773
  this.showOptionValue = true;
119713
119774
  /**
119714
- * Remove a opção vazia da lista de opções
119715
- */
119775
+ * Se true remove a opção vazia da lista.
119776
+ */
119716
119777
  this.suppressEmptyOption = false;
119717
119778
  /**
119718
- * Define o modo do tamanho do campo; opções: slim e regular.
119719
- */
119779
+ * Define o tamanho do campo.
119780
+ */
119720
119781
  this.mode = "regular";
119721
119782
  }
119722
119783
  observeErrorMessage() {
@@ -119730,19 +119791,19 @@ let EzSearch$1 = class extends HTMLElement$1 {
119730
119791
  }
119731
119792
  }
119732
119793
  /**
119733
- * Realiza o foco no componente de pesquisa
119794
+ * Aplica o foco no campo.
119734
119795
  */
119735
119796
  async setFocus() {
119736
119797
  this._comboElement.setFocus();
119737
119798
  }
119738
119799
  /**
119739
- * Remove o foco no componente de pesquisa
119800
+ * Remove o foco do campo.
119740
119801
  */
119741
119802
  async setBlur() {
119742
119803
  this._comboElement.setBlur();
119743
119804
  }
119744
119805
  /**
119745
- * Retorna informando se o campo está inválido (true | false)
119806
+ * Retorna se o conteúdo é inválido.
119746
119807
  */
119747
119808
  async isInvalid() {
119748
119809
  return typeof this.errorMessage === "string" && this.errorMessage.trim() !== "";
@@ -120004,19 +120065,19 @@ let EzTextArea$1 = class extends HTMLElement$1 {
120004
120065
  this.__attachShadow();
120005
120066
  this.ezChange = createEvent(this, "ezChange", 7);
120006
120067
  /**
120007
- * Deixa o campo disponível ou não para digitação.
120068
+ * Se false o usuário não pode interagir com o campo.
120008
120069
  */
120009
120070
  this.enabled = true;
120010
120071
  /**
120011
- * Ajusta o número de linhas e consequentemente o height do textarea. Valor default: 4
120072
+ * Define o número de linhas.
120012
120073
  */
120013
120074
  this.rows = 4;
120014
120075
  /**
120015
- * Permite exibir a mensagem de erro.
120076
+ * Se false deixa de exibir a mensagem de erro dentro do campo.
120016
120077
  */
120017
120078
  this.canShowError = true;
120018
120079
  /**
120019
- * Define o modo do tamanho do campo; opções: slim e regular.
120080
+ * Define o tamanho do campo.
120020
120081
  */
120021
120082
  this.mode = "regular";
120022
120083
  }
@@ -120064,19 +120125,19 @@ let EzTextArea$1 = class extends HTMLElement$1 {
120064
120125
  // Public methods
120065
120126
  //---------------------------------------------
120066
120127
  /**
120067
- * Faz o foco no componente de input
120128
+ * Aplica o foco no campo.
120068
120129
  */
120069
120130
  async setFocus() {
120070
120131
  this._inputElem.focus();
120071
120132
  }
120072
120133
  /**
120073
- * Remove o foco no componente de input
120134
+ * Remove o foco do campo.
120074
120135
  */
120075
120136
  async setBlur() {
120076
120137
  this._inputElem.blur();
120077
120138
  }
120078
120139
  /**
120079
- * Retorna informando se o campo está inválido (true | false)
120140
+ * Retorna se o conteúdo é inválido.
120080
120141
  */
120081
120142
  async isInvalid() {
120082
120143
  return typeof this.errorMessage === "string" && this.errorMessage.trim() !== "";
@@ -120164,7 +120225,7 @@ let EzTextEdit$1 = class extends HTMLElement$1 {
120164
120225
  this.cancelEdition = createEvent(this, "cancelEdition", 7);
120165
120226
  }
120166
120227
  /**
120167
- * Aplica focus no campo.
120228
+ * Aplica foco no campo.
120168
120229
  */
120169
120230
  async applyFocusSelect() {
120170
120231
  this.calcSizeInput(this.value, true);
@@ -120258,19 +120319,19 @@ let EzTextInput$1 = class extends HTMLElement$1 {
120258
120319
  this.__attachShadow();
120259
120320
  this.ezChange = createEvent(this, "ezChange", 7);
120260
120321
  /**
120261
- * Deixa o campo disponível ou não para digitação.
120322
+ * Se false o usuário não pode interagir com o campo.
120262
120323
  */
120263
120324
  this.enabled = true;
120264
120325
  /**
120265
- * Permite exibir a mensagem de erro.
120326
+ * Se false deixa de exibir a mensagem de erro dentro do campo.
120266
120327
  */
120267
120328
  this.canShowError = true;
120268
120329
  /**
120269
- * Define o modo do tamanho do campo; opções: slim e regular.
120330
+ * Define o tamanho do campo.
120270
120331
  */
120271
120332
  this.mode = "regular";
120272
120333
  /**
120273
- * Define se o campo contará com bordas ou não
120334
+ * Se true o campo não terá bordas.
120274
120335
  */
120275
120336
  this.noBorder = false;
120276
120337
  }
@@ -120355,19 +120416,19 @@ let EzTextInput$1 = class extends HTMLElement$1 {
120355
120416
  // Public methods
120356
120417
  //---------------------------------------------
120357
120418
  /**
120358
- * Faz o foco no componente de input
120419
+ * Aplica o foco no campo.
120359
120420
  */
120360
120421
  async setFocus() {
120361
120422
  this._inputElem.focus();
120362
120423
  }
120363
120424
  /**
120364
- * Remove o foco no componente de input
120425
+ * Remove o foco do campo.
120365
120426
  */
120366
120427
  async setBlur() {
120367
120428
  this._inputElem.blur();
120368
120429
  }
120369
120430
  /**
120370
- * Retorna informando se o campo está inválido (true | false)
120431
+ * Retorna se o conteúdo é inválido.
120371
120432
  */
120372
120433
  async isInvalid() {
120373
120434
  return typeof this.errorMessage === "string" && this.errorMessage.trim() !== "";
@@ -120504,15 +120565,15 @@ let EzTimeInput$1 = class extends HTMLElement$1 {
120504
120565
  this.ezStartChange = createEvent(this, "ezStartChange", 7);
120505
120566
  this.ezCancelWaitingChange = createEvent(this, "ezCancelWaitingChange", 7);
120506
120567
  /**
120507
- * Deixa o campo disponível ou não para digitação.
120568
+ * Se false o usuário não pode interagir com o campo.
120508
120569
  */
120509
120570
  this.enabled = true;
120510
120571
  /**
120511
- * Define se o componente irá ou não considerar os segundos.
120572
+ * Se true considera segundos.
120512
120573
  */
120513
120574
  this.showSeconds = false;
120514
120575
  /**
120515
- * Define o modo do tamanho do campo; opções: slim e regular.
120576
+ * Define o tamanho do campo.
120516
120577
  */
120517
120578
  this.mode = "regular";
120518
120579
  }
@@ -120593,19 +120654,19 @@ let EzTimeInput$1 = class extends HTMLElement$1 {
120593
120654
  }
120594
120655
  }
120595
120656
  /**
120596
- * Faz o foco no componente de input
120657
+ * Aplica o foco no campo.
120597
120658
  */
120598
120659
  async setFocus() {
120599
120660
  this._textInput.setFocus();
120600
120661
  }
120601
120662
  /**
120602
- * Remove o foco no componente de input
120663
+ * Remove o foco do campo.
120603
120664
  */
120604
120665
  async setBlur() {
120605
120666
  this._textInput.setBlur();
120606
120667
  }
120607
120668
  /**
120608
- * Retorna informando se o campo está inválido (true | false)
120669
+ * Retorna se o conteúdo é inválido.
120609
120670
  */
120610
120671
  async isInvalid() {
120611
120672
  return typeof this.errorMessage === "string" && this.errorMessage.trim() !== "";
@@ -120668,21 +120729,21 @@ let EzToast$1 = class extends HTMLElement$1 {
120668
120729
  this._lastTimeOut = undefined;
120669
120730
  this._lang = "pt"; // Controla qual idioma será usado para definir a regras de hifenização.
120670
120731
  /**
120671
- * Controla o tempo de exibição do componente em milissegundos.
120732
+ * Define o tempo de exibição em milissegundos.
120672
120733
  */
120673
120734
  this.fadeTime = 5000;
120674
120735
  /**
120675
- * Adiciona ícone de check no componente.
120736
+ * Se true permite a utilização do slot de ícone.
120676
120737
  */
120677
120738
  this.useIcon = false;
120678
120739
  /**
120679
- * Controla o uso do icone de fechar o toast.
120740
+ * Se false, o usuário não consegue fechar.
120680
120741
  */
120681
120742
  this.canClose = true;
120682
120743
  }
120683
120744
  /**
120684
- * Exibe o componente na tela.
120685
- */
120745
+ * Exibe o ez-toast.
120746
+ */
120686
120747
  async show(message, fadeTime, useIcon, canClose) {
120687
120748
  return new Promise(resolve => {
120688
120749
  var _a;
@@ -120845,7 +120906,7 @@ let EzUpload$1 = class extends HTMLElement$1 {
120845
120906
  this.ezCancelWaitingChange = createEvent(this, "ezCancelWaitingChange", 7);
120846
120907
  this._filePointers = new Map();
120847
120908
  /**
120848
- * Deixa o campo disponível ou não para digitação.
120909
+ * Se false o usuário não pode interagir com o campo.
120849
120910
  */
120850
120911
  this.enabled = true;
120851
120912
  }
@@ -120884,8 +120945,8 @@ let EzUpload$1 = class extends HTMLElement$1 {
120884
120945
  }
120885
120946
  }
120886
120947
  /**
120887
- * Método responsável por adicionar um ou mais arquivos ao componente.
120888
- */
120948
+ * Adiciona arquivos.
120949
+ */
120889
120950
  async addFiles(files) {
120890
120951
  if (this.maxFiles > 0) {
120891
120952
  let countDistinctFiles = this._filePointers.size;
@@ -120902,13 +120963,13 @@ let EzUpload$1 = class extends HTMLElement$1 {
120902
120963
  Array.prototype.forEach.call(files, this.addFile.bind(this));
120903
120964
  }
120904
120965
  /**
120905
- * Realiza o foco no componente de upload
120966
+ * Aplica o foco no campo.
120906
120967
  */
120907
120968
  async setFocus() {
120908
120969
  this._fileInput.focus();
120909
120970
  }
120910
120971
  /**
120911
- * Remove o foco no componente de upload
120972
+ * Remove o foco do campo.
120912
120973
  */
120913
120974
  async setBlur() {
120914
120975
  this._fileInput.blur();
@@ -121129,7 +121190,7 @@ let EzViewStack$1 = class extends HTMLElement$1 {
121129
121190
  this._dataKey = 'id_'.concat(Date.now().toString());
121130
121191
  }
121131
121192
  /**
121132
- * Exibe a aba desejada de acordo com o index passado na tela fazendo com a ativa atual seja removida ou oculta dependendo da hidePolicy.
121193
+ * Exibe a visão de acordo com o índice.
121133
121194
  */
121134
121195
  async show(index) {
121135
121196
  if (index !== this._focusedIndex && 0 <= index && index < this._totalStackItems) {
@@ -121139,7 +121200,7 @@ let EzViewStack$1 = class extends HTMLElement$1 {
121139
121200
  }
121140
121201
  }
121141
121202
  /**
121142
- * Retorna o index que está atualmente ativo e sendo exibido.
121203
+ * Obtem o índice selecionado.
121143
121204
  */
121144
121205
  async getSelectedIndex() {
121145
121206
  return this._focusedIndex;
@@ -121200,16 +121261,16 @@ const EzApplication = /*@__PURE__*/proxyCustomElement(EzApplication$1, [0,"ez-ap
121200
121261
  const EzButton = /*@__PURE__*/proxyCustomElement(EzButton$1, [1,"ez-button",{"label":[513],"enabled":[516],"mode":[513],"image":[513],"iconName":[513,"icon-name"],"size":[513]}]);
121201
121262
  const EzCalendar = /*@__PURE__*/proxyCustomElement(EzCalendar$1, [1,"ez-calendar",{"value":[1040],"floating":[516],"time":[516],"showSeconds":[516,"show-seconds"]}]);
121202
121263
  const EzCardItem = /*@__PURE__*/proxyCustomElement(EzCardItem$1, [1,"ez-card-item",{"item":[16]}]);
121203
- const EzCheck = /*@__PURE__*/proxyCustomElement(EzCheck$1, [1,"ez-check",{"label":[513],"value":[1540],"enabled":[1540],"indeterminate":[4],"mode":[513]}]);
121264
+ const EzCheck = /*@__PURE__*/proxyCustomElement(EzCheck$1, [1,"ez-check",{"label":[513],"value":[1540],"enabled":[1540],"indeterminate":[516],"mode":[513]}]);
121204
121265
  const EzChip = /*@__PURE__*/proxyCustomElement(EzChip$1, [1,"ez-chip",{"label":[513],"enabled":[516],"removePosition":[513,"remove-position"],"mode":[513],"value":[1540]}]);
121205
121266
  const EzCollapsibleBox = /*@__PURE__*/proxyCustomElement(EzCollapsibleBox$1, [1,"ez-collapsible-box",{"value":[1540],"label":[513],"headerSize":[513,"header-size"],"iconPlacement":[513,"icon-placement"],"stretchTitle":[516,"stretch-title"],"removable":[516],"editable":[516],"conditionalSave":[16],"_activeEditText":[32]}]);
121206
121267
  const EzComboBox = /*@__PURE__*/proxyCustomElement(EzComboBox$1, [1,"ez-combo-box",{"value":[1537],"label":[513],"enabled":[516],"options":[1040],"errorMessage":[1537,"error-message"],"searchMode":[4,"search-mode"],"showSelectedValue":[4,"show-selected-value"],"showOptionValue":[4,"show-option-value"],"suppressSearch":[4,"suppress-search"],"optionLoader":[16],"suppressEmptyOption":[4,"suppress-empty-option"],"canShowError":[516,"can-show-error"],"mode":[513],"_preSelection":[32],"_visibleOptions":[32],"_startLoading":[32],"_showLoading":[32],"_criteria":[32]}]);
121207
121268
  const EzDateInput = /*@__PURE__*/proxyCustomElement(EzDateInput$1, [1,"ez-date-input",{"label":[513],"value":[1040],"enabled":[516],"errorMessage":[1537,"error-message"],"mode":[513]}]);
121208
121269
  const EzDateTimeInput = /*@__PURE__*/proxyCustomElement(EzDateTimeInput$1, [1,"ez-date-time-input",{"label":[513],"value":[1040],"enabled":[516],"errorMessage":[1537,"error-message"],"showSeconds":[516,"show-seconds"],"mode":[513]}]);
121209
121270
  const EzDialog = /*@__PURE__*/proxyCustomElement(EzDialog$1, [1,"ez-dialog",{"confirm":[1028],"dialogType":[1025,"dialog-type"],"message":[1025],"opened":[1540],"personalizedIconPath":[1025,"personalized-icon-path"],"ezTitle":[1025,"ez-title"]}]);
121210
- const EzFilterInput = /*@__PURE__*/proxyCustomElement(EzFilterInput$1, [1,"ez-filter-input",{"label":[1],"value":[1537],"enabled":[4],"loading":[516],"errorMessage":[1537,"error-message"],"restrict":[1],"mode":[513]}]);
121271
+ const EzFilterInput = /*@__PURE__*/proxyCustomElement(EzFilterInput$1, [1,"ez-filter-input",{"label":[1],"value":[1537],"enabled":[4],"errorMessage":[1537,"error-message"],"restrict":[1],"mode":[513]}]);
121211
121272
  const EzForm = /*@__PURE__*/proxyCustomElement(EzForm$1, [0,"ez-form",{"dataUnit":[1040],"config":[16],"recordsValidator":[16]}]);
121212
- const EzGrid = /*@__PURE__*/proxyCustomElement(EzGrid$1, [6,"ez-grid",{"multipleSelection":[4,"multiple-selection"],"config":[1040],"serverUrl":[1,"server-url"],"dataUnit":[16],"statusResolver":[16],"_paginationInfo":[32]}]);
121273
+ const EzGrid = /*@__PURE__*/proxyCustomElement(EzGrid$1, [6,"ez-grid",{"multipleSelection":[4,"multiple-selection"],"config":[1040],"serverUrl":[1,"server-url"],"dataUnit":[16],"statusResolver":[16],"_paginationInfo":[32],"_paginationChangedByKeyboard":[32]}]);
121213
121274
  const EzIcon = /*@__PURE__*/proxyCustomElement(EzIcon$1, [1,"ez-icon",{"size":[513],"href":[513],"iconName":[513,"icon-name"]}]);
121214
121275
  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]}]);
121215
121276
  const EzLoadingBar = /*@__PURE__*/proxyCustomElement(EzLoadingBar$1, [1,"ez-loading-bar",{"_showLoading":[32]}]);
@@ -121217,14 +121278,14 @@ const EzModal = /*@__PURE__*/proxyCustomElement(EzModal$1, [1,"ez-modal",{"modal
121217
121278
  const EzModalContainer = /*@__PURE__*/proxyCustomElement(EzModalContainer$1, [6,"ez-modal-container",{"modalTitle":[1,"modal-title"],"modalSubTitle":[1,"modal-sub-title"],"showTitleBar":[4,"show-title-bar"],"cancelButtonLabel":[1,"cancel-button-label"],"okButtonLabel":[1,"ok-button-label"],"cancelButtonStatus":[1,"cancel-button-status"],"okButtonStatus":[1,"ok-button-status"]}]);
121218
121279
  const EzNumberInput = /*@__PURE__*/proxyCustomElement(EzNumberInput$1, [1,"ez-number-input",{"label":[1],"value":[1538],"enabled":[4],"errorMessage":[1537,"error-message"],"precision":[2],"prettyPrecision":[2,"pretty-precision"],"mode":[513]}]);
121219
121280
  const EzPopover = /*@__PURE__*/proxyCustomElement(EzPopover$1, [1,"ez-popover",{"autoClose":[516,"auto-close"],"top":[1537],"left":[1537],"bottom":[1537],"right":[1537],"boxWidth":[513,"box-width"],"opened":[1540],"innerElement":[1537,"inner-element"]}]);
121220
- const EzPopup = /*@__PURE__*/proxyCustomElement(EzPopup$1, [1,"ez-popup",{"size":[1],"opened":[1540],"useHeader":[1540,"use-header"],"heightMode":[1537,"height-mode"],"ezTitle":[1,"ez-title"]}]);
121281
+ const EzPopup = /*@__PURE__*/proxyCustomElement(EzPopup$1, [1,"ez-popup",{"size":[1],"opened":[1540],"useHeader":[516,"use-header"],"heightMode":[513,"height-mode"],"ezTitle":[1,"ez-title"]}]);
121221
121282
  const EzRadioButton = /*@__PURE__*/proxyCustomElement(EzRadioButton$1, [1,"ez-radio-button",{"value":[1544],"options":[1040],"enabled":[516],"label":[513],"direction":[1537]}]);
121222
121283
  const EzScroller = /*@__PURE__*/proxyCustomElement(EzScroller$1, [1,"ez-scroller",{"direction":[1],"locked":[4],"activeShadow":[4,"active-shadow"],"isFirefox":[32]},[[2,"click","clickListener"],[1,"mousedown","mouseDownHandler"],[1,"mouseup","mouseUpHandler"],[1,"mousemove","mouseMoveHandler"]]]);
121223
121284
  const EzSearch = /*@__PURE__*/proxyCustomElement(EzSearch$1, [1,"ez-search",{"value":[1537],"label":[1537],"enabled":[1540],"errorMessage":[1537,"error-message"],"optionLoader":[16],"showSelectedValue":[4,"show-selected-value"],"showOptionValue":[4,"show-option-value"],"suppressEmptyOption":[4,"suppress-empty-option"],"mode":[513]}]);
121224
121285
  const EzTabselector = /*@__PURE__*/proxyCustomElement(EzTabselector$1, [1,"ez-tabselector",{"selectedIndex":[1538,"selected-index"],"selectedTab":[1537,"selected-tab"],"tabs":[1],"_processedTabs":[32]}]);
121225
- const EzTextArea = /*@__PURE__*/proxyCustomElement(EzTextArea$1, [1,"ez-text-area",{"label":[513],"value":[1537],"enabled":[516],"loading":[516],"errorMessage":[1537,"error-message"],"rows":[1538],"canShowError":[516,"can-show-error"],"mode":[513]}]);
121286
+ const EzTextArea = /*@__PURE__*/proxyCustomElement(EzTextArea$1, [1,"ez-text-area",{"label":[513],"value":[1537],"enabled":[516],"errorMessage":[1537,"error-message"],"rows":[1538],"canShowError":[516,"can-show-error"],"mode":[513]}]);
121226
121287
  const EzTextEdit = /*@__PURE__*/proxyCustomElement(EzTextEdit$1, [1,"ez-text-edit",{"value":[1],"styled":[16],"_newValue":[32]}]);
121227
- const EzTextInput = /*@__PURE__*/proxyCustomElement(EzTextInput$1, [1,"ez-text-input",{"label":[513],"value":[1537],"enabled":[516],"loading":[516],"errorMessage":[1537,"error-message"],"mask":[1],"canShowError":[516,"can-show-error"],"restrict":[1],"mode":[513],"noBorder":[516,"no-border"]}]);
121288
+ const EzTextInput = /*@__PURE__*/proxyCustomElement(EzTextInput$1, [1,"ez-text-input",{"label":[513],"value":[1537],"enabled":[516],"errorMessage":[1537,"error-message"],"mask":[1],"canShowError":[516,"can-show-error"],"restrict":[1],"mode":[513],"noBorder":[516,"no-border"]}]);
121228
121289
  const EzTimeInput = /*@__PURE__*/proxyCustomElement(EzTimeInput$1, [1,"ez-time-input",{"label":[513],"value":[1026],"enabled":[516],"errorMessage":[1537,"error-message"],"showSeconds":[516,"show-seconds"],"mode":[513]}]);
121229
121290
  const EzToast = /*@__PURE__*/proxyCustomElement(EzToast$1, [1,"ez-toast",{"message":[1025],"fadeTime":[1026,"fade-time"],"useIcon":[1028,"use-icon"],"canClose":[1028,"can-close"]}]);
121230
121291
  const EzUpload = /*@__PURE__*/proxyCustomElement(EzUpload$1, [1,"ez-upload",{"label":[1],"enabled":[4],"maxFileSize":[2,"max-file-size"],"maxFiles":[2,"max-files"],"requestHeaders":[8,"request-headers"],"urlUpload":[1,"url-upload"],"urlDelete":[1,"url-delete"],"value":[1040]}]);