@sankhyalabs/ezui 2.3.1 → 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 (155) 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 +3 -6
  14. package/dist/cjs/ez-grid.cjs.entry.js +16 -17
  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 +7 -42
  48. package/dist/collection/components/ez-grid/ez-grid.js +41 -42
  49. package/dist/collection/components/ez-icon/ez-icon.js +11 -11
  50. package/dist/collection/components/ez-list/ez-list.js +112 -93
  51. package/dist/collection/components/ez-loading-bar/ez-loading-bar.js +10 -6
  52. package/dist/collection/components/ez-modal/ez-modal.js +14 -14
  53. package/dist/collection/components/ez-modal-container/ez-modal-container.js +16 -16
  54. package/dist/collection/components/ez-number-input/ez-number-input.js +20 -20
  55. package/dist/collection/components/ez-popover/ez-popover.js +22 -24
  56. package/dist/collection/components/ez-popup/ez-popup.js +16 -17
  57. package/dist/collection/components/ez-radio-button/ez-radio-button.js +8 -8
  58. package/dist/collection/components/ez-scroller/ez-scroller.js +6 -12
  59. package/dist/collection/components/ez-search/ez-search.js +42 -46
  60. package/dist/collection/components/ez-tabselector/ez-tabselector.js +2 -2
  61. package/dist/collection/components/ez-text-area/ez-text-area.js +20 -37
  62. package/dist/collection/components/ez-text-edit/ez-text-edit.js +6 -6
  63. package/dist/collection/components/ez-text-input/ez-text-input.js +21 -38
  64. package/dist/collection/components/ez-time-input/ez-time-input.js +20 -20
  65. package/dist/collection/components/ez-toast/ez-toast.js +12 -12
  66. package/dist/collection/components/ez-upload/ez-upload.js +14 -14
  67. package/dist/collection/components/ez-view-stack/ez-view-stack.js +4 -4
  68. package/dist/custom-elements/index.js +265 -279
  69. package/dist/esm/ez-actions-button.entry.js +12 -8
  70. package/dist/esm/ez-button.entry.js +5 -5
  71. package/dist/esm/ez-calendar.entry.js +10 -13
  72. package/dist/esm/ez-check.entry.js +5 -8
  73. package/dist/esm/ez-chip.entry.js +4 -4
  74. package/dist/esm/ez-collapsible-box.entry.js +14 -14
  75. package/dist/esm/ez-combo-box.entry.js +11 -11
  76. package/dist/esm/ez-date-input.entry.js +5 -5
  77. package/dist/esm/ez-date-time-input.entry.js +7 -7
  78. package/dist/esm/ez-dialog.entry.js +4 -7
  79. package/dist/esm/ez-filter-input.entry.js +6 -6
  80. package/dist/esm/ez-form.entry.js +3 -6
  81. package/dist/esm/ez-grid.entry.js +16 -17
  82. package/dist/esm/ez-icon.entry.js +3 -3
  83. package/dist/esm/ez-list.entry.js +71 -71
  84. package/dist/esm/ez-loading-bar.entry.js +8 -4
  85. package/dist/esm/ez-modal-container.entry.js +2 -2
  86. package/dist/esm/ez-modal.entry.js +6 -6
  87. package/dist/esm/ez-number-input.entry.js +5 -5
  88. package/dist/esm/ez-popover.entry.js +8 -10
  89. package/dist/esm/ez-popup.entry.js +4 -5
  90. package/dist/esm/ez-radio-button.entry.js +3 -3
  91. package/dist/esm/ez-scroller.entry.js +2 -7
  92. package/dist/esm/ez-search.entry.js +13 -14
  93. package/dist/esm/ez-text-area.entry.js +7 -7
  94. package/dist/esm/ez-text-edit.entry.js +1 -1
  95. package/dist/esm/ez-text-input.entry.js +7 -7
  96. package/dist/esm/ez-time-input.entry.js +6 -6
  97. package/dist/esm/ez-toast.entry.js +5 -5
  98. package/dist/esm/ez-upload.entry.js +5 -5
  99. package/dist/esm/ez-view-stack.entry.js +2 -2
  100. package/dist/esm/ezui.js +1 -1
  101. package/dist/esm/loader.js +1 -1
  102. package/dist/ezui/ezui.esm.js +1 -1
  103. package/dist/ezui/p-1214c5ce.entry.js +1 -0
  104. package/dist/ezui/p-2af9fe67.entry.js +1 -0
  105. package/dist/ezui/p-642c530f.entry.js +1 -0
  106. package/dist/ezui/p-96265e26.entry.js +1 -0
  107. package/dist/ezui/p-b47eb5d4.entry.js +1 -0
  108. package/dist/ezui/{p-855f99f8.entry.js → p-ccbe8272.entry.js} +1 -1
  109. package/dist/ezui/p-e60e7308.entry.js +1 -0
  110. package/dist/ezui/p-ede1328a.entry.js +1 -0
  111. package/dist/ezui/p-f6111077.entry.js +1 -0
  112. package/dist/types/components/ez-actions-button/ez-actions-button.d.ts +15 -14
  113. package/dist/types/components/ez-button/ez-button.d.ts +10 -10
  114. package/dist/types/components/ez-calendar/ez-calendar.d.ts +11 -14
  115. package/dist/types/components/ez-card-item/ez-card-item.d.ts +7 -0
  116. package/dist/types/components/ez-check/ez-check.d.ts +11 -13
  117. package/dist/types/components/ez-chip/ez-chip.d.ts +15 -14
  118. package/dist/types/components/ez-collapsible-box/ez-collapsible-box.d.ts +25 -25
  119. package/dist/types/components/ez-combo-box/ez-combo-box.d.ts +21 -20
  120. package/dist/types/components/ez-date-input/ez-date-input.d.ts +16 -17
  121. package/dist/types/components/ez-date-time-input/ez-date-time-input.d.ts +18 -19
  122. package/dist/types/components/ez-dialog/ez-dialog.d.ts +13 -16
  123. package/dist/types/components/ez-filter-input/ez-filter-input.d.ts +12 -17
  124. package/dist/types/components/ez-form/ez-form.d.ts +7 -5
  125. package/dist/types/components/ez-grid/controller/EzGridController.d.ts +2 -2
  126. package/dist/types/components/ez-grid/ez-grid.d.ts +37 -39
  127. package/dist/types/components/ez-icon/ez-icon.d.ts +4 -4
  128. package/dist/types/components/ez-list/ez-list.d.ts +29 -32
  129. package/dist/types/components/ez-loading-bar/ez-loading-bar.d.ts +6 -0
  130. package/dist/types/components/ez-modal/ez-modal.d.ts +15 -15
  131. package/dist/types/components/ez-modal-container/ez-modal-container.d.ts +10 -10
  132. package/dist/types/components/ez-number-input/ez-number-input.d.ts +18 -24
  133. package/dist/types/components/ez-popover/ez-popover.d.ts +13 -16
  134. package/dist/types/components/ez-popup/ez-popup.d.ts +12 -13
  135. package/dist/types/components/ez-radio-button/ez-radio-button.d.ts +8 -8
  136. package/dist/types/components/ez-scroller/ez-scroller.d.ts +3 -4
  137. package/dist/types/components/ez-search/ez-search.d.ts +27 -31
  138. package/dist/types/components/ez-tabselector/ez-tabselector.d.ts +4 -7
  139. package/dist/types/components/ez-text-area/ez-text-area.d.ts +12 -16
  140. package/dist/types/components/ez-text-edit/ez-text-edit.d.ts +5 -5
  141. package/dist/types/components/ez-text-input/ez-text-input.d.ts +14 -19
  142. package/dist/types/components/ez-time-input/ez-time-input.d.ts +16 -17
  143. package/dist/types/components/ez-toast/ez-toast.d.ts +7 -7
  144. package/dist/types/components/ez-upload/ez-upload.d.ts +11 -12
  145. package/dist/types/components/ez-view-stack/ez-view-stack.d.ts +2 -2
  146. package/dist/types/components.d.ts +514 -529
  147. package/package.json +2 -2
  148. package/dist/ezui/p-0fb5f4be.entry.js +0 -1
  149. package/dist/ezui/p-1ba371a3.entry.js +0 -1
  150. package/dist/ezui/p-42c6493e.entry.js +0 -1
  151. package/dist/ezui/p-6700360e.entry.js +0 -1
  152. package/dist/ezui/p-89b2a151.entry.js +0 -1
  153. package/dist/ezui/p-8c2105a5.entry.js +0 -1
  154. package/dist/ezui/p-ed2135a5.entry.js +0 -1
  155. 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;
@@ -118322,51 +118314,50 @@ let EzGrid$1 = class extends HTMLElement$1 {
118322
118314
  this._paginationChangedByKeyboard = true;
118323
118315
  }
118324
118316
  /**
118325
- * Método responsável por receber a definição das colunas
118326
- */
118317
+ * Aplica a definição de colunas.
118318
+ */
118327
118319
  async setColumnsDef(cols) {
118328
118320
  this._gridController.setColumnsDef(cols);
118329
118321
  }
118330
118322
  /**
118331
- * Adiciona item de menu nas colunas.
118332
- */
118323
+ * Adiciona item de menu nas colunas.
118324
+ */
118333
118325
  async addColumnMenuItem(label, name, action) {
118334
118326
  this._gridController.addColumnMenuItem({ label, name, action });
118335
118327
  }
118336
118328
  /**
118337
- * Método responsável por aplicar estado pré-existente nas colunas do grid.
118338
- */
118329
+ * Aplica o estado das colunas.
118330
+ */
118339
118331
  async setColumnsState(state) {
118340
118332
  this._gridController.setColumnsState(state);
118341
118333
  }
118342
118334
  /**
118343
- * Método de carga dos registros. Os objetos deste array devem conter atributos
118344
- * para as colunas desejadas.
118345
- */
118335
+ * Insere os registros no ez-grid.
118336
+ */
118346
118337
  async setData(data) {
118347
118338
  this._gridController.setData(data);
118348
118339
  }
118349
118340
  /**
118350
- * Retorna as linhas selecionadas na grade.
118351
- */
118341
+ * Obtém as linhas selecionadas.
118342
+ */
118352
118343
  async getSelection() {
118353
118344
  return Promise.resolve(this._gridController.getSelection());
118354
118345
  }
118355
118346
  /**
118356
- * Método retornar o estado atual das colunas do grid.
118357
- */
118347
+ * Obtém o estado atual das colunas.
118348
+ */
118358
118349
  async getColumnsState() {
118359
118350
  return Promise.resolve(this._gridController.getColumnsState());
118360
118351
  }
118361
118352
  /**
118362
- * Método retornar o estado atual das colunas do grid.
118363
- */
118353
+ * Obtém a lista de definição de colunas.
118354
+ */
118364
118355
  async getColumns() {
118365
118356
  return Promise.resolve(this._gridController.getColumnsDef());
118366
118357
  }
118367
118358
  /**
118368
- * Método para fazer um filtro rápido na grid.
118369
- */
118359
+ * Aplica um filtro rápido.
118360
+ */
118370
118361
  async quickFilter(term) {
118371
118362
  this._gridController.quickFilter(term);
118372
118363
  }
@@ -118519,12 +118510,12 @@ let EzIcon$1 = class extends HTMLElement$1 {
118519
118510
  this.__registerHost();
118520
118511
  this.__attachShadow();
118521
118512
  /**
118522
- * Tamanho do ícone
118513
+ * Define o tamanho do ícone.
118523
118514
  */
118524
- this.size = 'medium';
118515
+ this.size = "medium";
118525
118516
  }
118526
118517
  isSprite() {
118527
- return this.href && this.href.indexOf('#') > -1;
118518
+ return this.href && this.href.indexOf("#") > -1;
118528
118519
  }
118529
118520
  getIconClassName() {
118530
118521
  return `ez-icon-${this.iconName}`;
@@ -118558,64 +118549,42 @@ let EzList$1 = class extends HTMLElement$1 {
118558
118549
  this._listGroupItems = [];
118559
118550
  this._listItemsHistory = [];
118560
118551
  /**
118561
- * Define a lista inicial do componente.
118562
- */
118552
+ * Define a lista inicial do componente.
118553
+ */
118563
118554
  this.dataSource = [];
118564
118555
  /**
118565
- * Define se o componente renderizará os itens separados em grupos..
118566
- */
118556
+ * Se true os grupos serão exibidos.
118557
+ */
118567
118558
  this.useGroups = false;
118568
118559
  /**
118569
- * Define se o componente terá o comportamento de arrasto de linhas.
118570
- */
118560
+ * Se true habilita `drag and drop` para os itens.
118561
+ */
118571
118562
  this.ezDraggable = false;
118572
118563
  /**
118573
- * Define se os items da lista serão selecionáveis.
118574
- */
118564
+ * Se true os itens serão selecionáveis.
118565
+ */
118575
118566
  this.ezSelectable = false;
118576
118567
  }
118577
- createList() {
118578
- if (this.useGroups) {
118579
- let list = [...this.dataSource];
118580
- list.forEach(itemGroup => {
118581
- this.sortGroup(itemGroup);
118582
- });
118583
- this._listGroupItems = list;
118584
- }
118585
- else {
118586
- this._listItems = this._listItemsHistory.length > 0 ? this._listItemsHistory : [...this.dataSource];
118587
- }
118588
- }
118589
- sortGroup(itemGroup) {
118590
- if (itemGroup.sort) {
118591
- itemGroup.items.sort(function (a, b) {
118592
- return a.label < b.label ? -1 : a.label > b.label ? 1 : 0;
118593
- });
118594
- if (itemGroup.sort === "DSC") {
118595
- itemGroup.items.reverse();
118596
- }
118597
- }
118598
- }
118599
118568
  /**
118600
- * Responsável por limpar a lista de histórico do componente.
118601
- */
118569
+ * Limpa o histórico da lista.
118570
+ */
118602
118571
  async clearHistory() {
118603
118572
  this._listItemsHistory = [];
118604
118573
  }
118605
118574
  /**
118606
- * Responsável por dar um scroll top no componente da lista.
118607
- */
118575
+ * Traz o conteúdo da lista para a área visível.
118576
+ */
118608
118577
  async scrollToTop() {
118609
118578
  if (this.useGroups) {
118610
- this._element.shadowRoot.querySelector('.group-container').scrollTop = 0;
118579
+ this._element.shadowRoot.querySelector(".group-container").scrollTop = 0;
118611
118580
  }
118612
118581
  else {
118613
- this._element.shadowRoot.querySelector('.items-container').scrollTop = 0;
118582
+ this._element.shadowRoot.querySelector(".items-container").scrollTop = 0;
118614
118583
  }
118615
118584
  }
118616
118585
  /**
118617
- * 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).
118618
- */
118586
+ * Aplica seleção nas linhas da lista.
118587
+ */
118619
118588
  async setSelection(selectedItem, scrollToOption) {
118620
118589
  if (selectedItem && this.ezSelectable) {
118621
118590
  if (this.useGroups) {
@@ -118646,8 +118615,8 @@ let EzList$1 = class extends HTMLElement$1 {
118646
118615
  }
118647
118616
  if (scrollToOption) {
118648
118617
  let liElem = this.useGroups ?
118649
- this._groupContainer.querySelector('li#item_' + this.getItemId(selectedItem.label))
118650
- : 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));
118651
118620
  if (liElem) {
118652
118621
  liElem.scrollIntoView();
118653
118622
  }
@@ -118657,27 +118626,9 @@ let EzList$1 = class extends HTMLElement$1 {
118657
118626
  this.removeSelection();
118658
118627
  }
118659
118628
  }
118660
- removeSelection() {
118661
- if (this.useGroups) {
118662
- let newList = [...this._listGroupItems];
118663
- newList.forEach(groupItem => {
118664
- groupItem.items.forEach(item => {
118665
- item.selected = false;
118666
- });
118667
- });
118668
- this._listGroupItems = newList;
118669
- }
118670
- else {
118671
- let newList = [...this._listItems];
118672
- newList.forEach(item => {
118673
- item.selected = false;
118674
- });
118675
- this._listItems = newList;
118676
- }
118677
- }
118678
118629
  /**
118679
- * Retorna o item selecionado.
118680
- */
118630
+ * Obtém o item selecionado.
118631
+ */
118681
118632
  async getSelection() {
118682
118633
  let selectedItem;
118683
118634
  if (this.useGroups) {
@@ -118696,7 +118647,7 @@ let EzList$1 = class extends HTMLElement$1 {
118696
118647
  return selectedItem;
118697
118648
  }
118698
118649
  /**
118699
- * Retorna a lista de items conforme o modo de uso.
118650
+ * Obtém a lista de items ou grupos.
118700
118651
  */
118701
118652
  async getList() {
118702
118653
  if (this.useGroups) {
@@ -118704,6 +118655,46 @@ let EzList$1 = class extends HTMLElement$1 {
118704
118655
  }
118705
118656
  return this._listItems;
118706
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
+ }
118707
118698
  componentWillLoad() {
118708
118699
  this._listItemsHistory = [];
118709
118700
  }
@@ -118826,7 +118817,7 @@ let EzList$1 = class extends HTMLElement$1 {
118826
118817
  }
118827
118818
  addOverClass(element) {
118828
118819
  if ((element === null || element === void 0 ? void 0 : element.__proto__) == HTMLDivElement.prototype && element.classList.contains("draggable")) {
118829
- element.classList.add('over');
118820
+ element.classList.add("over");
118830
118821
  }
118831
118822
  else if ((element === null || element === void 0 ? void 0 : element.parentElement) && !element.parentElement.classList.contains("draggable-list")) {
118832
118823
  this.addOverClass(element.parentElement);
@@ -118851,21 +118842,21 @@ let EzList$1 = class extends HTMLElement$1 {
118851
118842
  let overCollection;
118852
118843
  let overLastDroppableCollection;
118853
118844
  if (this.useGroups) {
118854
- overCollection = (_a = this._groupContainer) === null || _a === void 0 ? void 0 : _a.getElementsByClassName('over');
118855
- 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");
118856
118847
  }
118857
118848
  else {
118858
- overCollection = (_b = this._itemContainer) === null || _b === void 0 ? void 0 : _b.getElementsByClassName('over');
118859
- 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");
118860
118851
  }
118861
118852
  if (overCollection) {
118862
118853
  Array.from(overCollection).forEach(function (element) {
118863
- element.classList.remove('over');
118854
+ element.classList.remove("over");
118864
118855
  });
118865
118856
  }
118866
118857
  if (overLastDroppableCollection) {
118867
118858
  Array.from(overLastDroppableCollection).forEach(function (element) {
118868
- element.classList.remove('over');
118859
+ element.classList.remove("over");
118869
118860
  });
118870
118861
  }
118871
118862
  }
@@ -119016,7 +119007,7 @@ let EzList$1 = class extends HTMLElement$1 {
119016
119007
  onDragOverLastIndex(ev) {
119017
119008
  ev.preventDefault();
119018
119009
  if (this._dragStartItem) {
119019
- ev.target.classList.add('over');
119010
+ ev.target.classList.add("over");
119020
119011
  ev.stopPropagation();
119021
119012
  }
119022
119013
  }
@@ -119042,7 +119033,7 @@ let EzList$1 = class extends HTMLElement$1 {
119042
119033
  return (h(Host, { ref: (el) => this._element = el }, this.useGroups ?
119043
119034
  h("div", { class: "group-container", ref: (el) => this._groupContainer = el, tabIndex: 0, onKeyDown: (event) => { this.keyDownHandler(event); } }, this._listGroupItems.map(group => {
119044
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) => {
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 " : ""), 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 ?
119046
119037
  h("div", { class: "slot-item" }, this.itemSlotBuilder(item, group))
119047
119038
  : undefined));
119048
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 ?
@@ -119051,7 +119042,7 @@ let EzList$1 = class extends HTMLElement$1 {
119051
119042
  }))
119052
119043
  :
119053
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) => {
119054
- 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 ?
119055
119046
  h("div", null, this.itemSlotBuilder(item))
119056
119047
  : undefined));
119057
119048
  }), h("div", { class: "last-droppable-space", onDragLeave: () => this.removeOverClass(), onDragOver: (event) => { this.onDragOverLastIndex(event); }, onDragEnd: () => this.onDragEnd(), onDrop: (event) => this.onDropLastIndex(event) })))));
@@ -119068,13 +119059,17 @@ let EzLoadingBar$1 = class extends HTMLElement$1 {
119068
119059
  this.__attachShadow();
119069
119060
  this._showLoading = true;
119070
119061
  }
119071
- hide() {
119062
+ /**
119063
+ * Oculta o ez-loading-bar.
119064
+ */
119065
+ async hide() {
119072
119066
  this._showLoading = false;
119073
- return Promise.resolve();
119074
119067
  }
119075
- show() {
119068
+ /**
119069
+ * Exibe o ez-loading-bar.
119070
+ */
119071
+ async show() {
119076
119072
  this._showLoading = true;
119077
- return Promise.resolve();
119078
119073
  }
119079
119074
  render() {
119080
119075
  return (h(Host, null, this._showLoading && h("div", { class: "loading-bar" }, h("div", { class: "loading-bar__container" }))));
@@ -119092,16 +119087,16 @@ let EzModal$1 = class extends HTMLElement$1 {
119092
119087
  this.ezCloseModal = createEvent(this, "ezCloseModal", 7);
119093
119088
  this.ezOpenModal = createEvent(this, "ezOpenModal", 7);
119094
119089
  /**
119095
- * Controle de exibição do Modal
119096
- */
119090
+ * Define se o ez-modal está aberto.
119091
+ */
119097
119092
  this.opened = true;
119098
119093
  /**
119099
- * Define se o modal será fechado ao clicar ESC
119100
- */
119094
+ * Define se o ez-modal será fechado ao clicar `ESC`.
119095
+ */
119101
119096
  this.closeEsc = false;
119102
119097
  /**
119103
- * Define se o modal será fechado ao clicar fora do conteúdo.
119104
- */
119098
+ * Define se o modal será fechado ao clicar fora do conteúdo.
119099
+ */
119105
119100
  this.closeOutsideClick = false;
119106
119101
  this.handleKeyboardEvent = (ev) => {
119107
119102
  if ((ev === null || ev === void 0 ? void 0 : ev.key) === "Escape" && this.closeEsc) {
@@ -119173,7 +119168,7 @@ let EzModalContainer$1 = class extends HTMLElement$1 {
119173
119168
  this.__registerHost();
119174
119169
  this.ezModalAction = createEvent(this, "ezModalAction", 7);
119175
119170
  /**
119176
- * Determina se o cabeçalho com o título deverá ser mostrado
119171
+ * Define se o cabeçalho será mostrado.
119177
119172
  */
119178
119173
  this.showTitleBar = true;
119179
119174
  }
@@ -119195,7 +119190,7 @@ let EzModalContainer$1 = class extends HTMLElement$1 {
119195
119190
  this._closeButton.focus();
119196
119191
  }
119197
119192
  render() {
119198
- 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) })));
119199
119194
  }
119200
119195
  static get style() { return ezModalContainerCss; }
119201
119196
  };
@@ -119212,28 +119207,28 @@ let EzNumberInput$1 = class extends HTMLElement$1 {
119212
119207
  this.ezCancelWaitingChange = createEvent(this, "ezCancelWaitingChange", 7);
119213
119208
  this._focused = false;
119214
119209
  /**
119215
- * Deixa o campo disponível ou não para uso.
119210
+ * Se false, o usuário não pode interagir com o campo.
119216
119211
  */
119217
119212
  this.enabled = true;
119218
119213
  /**
119219
- * Define o modo do tamanho do campo; opções: slim e regular.
119214
+ * Define o tamanho do campo.
119220
119215
  */
119221
119216
  this.mode = "regular";
119222
119217
  }
119223
119218
  /**
119224
- * Realiza o foco no componente de input
119219
+ * Aplica o foco no campo.
119225
119220
  */
119226
119221
  async setFocus() {
119227
119222
  this._textInput.setFocus();
119228
119223
  }
119229
119224
  /**
119230
- * Remove o foco no componente de input
119225
+ * Remove o foco do campo.
119231
119226
  */
119232
119227
  async setBlur() {
119233
119228
  this._textInput.setBlur();
119234
119229
  }
119235
119230
  /**
119236
- * Retorna informando se o campo está inválido (true | false)
119231
+ * Retorna se o conteúdo é inválido.
119237
119232
  */
119238
119233
  async isInvalid() {
119239
119234
  return typeof this.errorMessage === "string" && this.errorMessage.trim() !== "";
@@ -119357,29 +119352,27 @@ let EzPopover$1 = class extends HTMLElement$1 {
119357
119352
  this.ezVisibilityChange = createEvent(this, "ezVisibilityChange", 7);
119358
119353
  this._firstRender = true;
119359
119354
  /**
119360
- * No modo floating = false o popover se tornará visível
119361
- * quando o método show() for acionado.
119355
+ * Define que será fechado automaticamente quando o usuário clicar fora do conteúdo.
119362
119356
  */
119363
119357
  this.autoClose = true;
119364
119358
  /**
119365
- * 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.
119366
119360
  */
119367
119361
  this.top = "0px";
119368
119362
  /**
119369
- * 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.
119370
119364
  */
119371
119365
  this.left = "0px";
119372
119366
  /**
119373
- * 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.
119374
119368
  */
119375
119369
  this.bottom = "0px";
119376
119370
  /**
119377
- * 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.
119378
119372
  */
119379
119373
  this.right = "0px";
119380
119374
  /**
119381
119375
  * Ajusta o comportamento da largura do popover.
119382
- * Opções: "100% e "fit-content" (default)
119383
119376
  */
119384
119377
  this.boxWidth = "fit-content";
119385
119378
  this.innerClickTest = (_popOvercontainer, node, eventOrigin) => {
@@ -119430,7 +119423,7 @@ let EzPopover$1 = class extends HTMLElement$1 {
119430
119423
  }
119431
119424
  }
119432
119425
  /**
119433
- * Atualiza a posição do popover em relação ao componente pai.
119426
+ * Atualiza a posição do popover.
119434
119427
  */
119435
119428
  async updatePosition(top = this.top, left = this.left, bottom = this.bottom, right = this.right) {
119436
119429
  const floatingOptions = {
@@ -119445,7 +119438,7 @@ let EzPopover$1 = class extends HTMLElement$1 {
119445
119438
  FloatingManager.updateFloatPosition(this._box, this._container, floatingOptions);
119446
119439
  }
119447
119440
  /**
119448
- * Faz com que o popover seja renderizado na DOM.
119441
+ * Exibe o ez-popover.
119449
119442
  */
119450
119443
  async show(top = this.top, left = this.left, bottom = this.bottom, right = this.right) {
119451
119444
  const floatingOptions = {
@@ -119461,7 +119454,7 @@ let EzPopover$1 = class extends HTMLElement$1 {
119461
119454
  this.opened = true;
119462
119455
  }
119463
119456
  /**
119464
- * Usado no modo floating. Faz com que o componente seja ocultado.
119457
+ * Oculta o ez-popover.
119465
119458
  */
119466
119459
  async hide() {
119467
119460
  if (this._floatingID !== undefined) {
@@ -119502,20 +119495,19 @@ let EzPopup$1 = class extends HTMLElement$1 {
119502
119495
  "x-large": "col--sd-11"
119503
119496
  };
119504
119497
  /**
119505
- * Define o width que o componente deve ter, seguindo o grid system. Os valores devem estar
119506
- * compreendidos em [x-small | small | medium | large | x-large].
119498
+ * Define a largura do ez-popup.
119507
119499
  */
119508
119500
  this.size = "medium";
119509
119501
  /**
119510
- * Controla a exibição do componente.
119502
+ * Define se o ez-popover está aberto.
119511
119503
  */
119512
119504
  this.opened = false;
119513
119505
  /**
119514
- * Define se o componente utilizará um cabeçalho com botão de fechamento.
119506
+ * Define se o componente utilizará cabeçalho.
119515
119507
  */
119516
119508
  this.useHeader = true;
119517
119509
  /**
119518
- * Define se o componente utilizará um cabeçalho com botão de fechamento.
119510
+ * Define altura do componente.
119519
119511
  */
119520
119512
  this.heightMode = "full";
119521
119513
  }
@@ -119551,11 +119543,11 @@ let EzRadioButton$1 = class extends HTMLElement$1 {
119551
119543
  */
119552
119544
  this.options = [];
119553
119545
  /**
119554
- * Define se o componente está habilitado ou desabilitado
119555
- */
119546
+ * Se false o usuário não pode interagir com o campo.
119547
+ */
119556
119548
  this.enabled = true;
119557
119549
  /**
119558
- * Define a direção em que os itens são apresentadoss, podendo ser horizontal ou vertical.
119550
+ * Define a direção dos itens.
119559
119551
  */
119560
119552
  this.direction = "vertical";
119561
119553
  }
@@ -119604,16 +119596,11 @@ let EzScroller$1 = class extends HTMLElement$1 {
119604
119596
  this._classHidden = "ez-scroller__shadow--hidden";
119605
119597
  this.isFirefox = false;
119606
119598
  /**
119607
- * Determina se haverá scroll na direção Vertical, Horizontal ou Ambos.
119608
- * Por padrão, a direção é "Ambos".
119609
- */
119610
- this.direction = EzScrollDirection.BOTH;
119611
- /**
119612
- * Determina se o scroll estará bloqueado quando necessário.
119599
+ * Define se o `scroll` estará bloqueado.
119613
119600
  */
119614
119601
  this.locked = false;
119615
119602
  /**
119616
- * Determina de o efeito de sombreado está ativo.
119603
+ * Define se haverá efeito de sombreado.
119617
119604
  */
119618
119605
  this.activeShadow = false;
119619
119606
  }
@@ -119772,26 +119759,25 @@ let EzSearch$1 = class extends HTMLElement$1 {
119772
119759
  this.__registerHost();
119773
119760
  this.__attachShadow();
119774
119761
  this.ezChange = createEvent(this, "ezChange", 7);
119775
- this.showPopup = createEvent(this, "showPopup", 7);
119776
119762
  /**
119777
- * Deixa o campo disponível ou não.
119778
- */
119763
+ * Se false o usuário não pode interagir com o campo.
119764
+ */
119779
119765
  this.enabled = true;
119780
119766
  /**
119781
- * Ajusta a opção de mostrar o "value" ao selecionar uma opção.
119782
- */
119767
+ * Se false a opção selecionada deve exibir somente o `label`.
119768
+ */
119783
119769
  this.showSelectedValue = true;
119784
119770
  /**
119785
- * Ajusta a opção de mostrar o "value" para cada opção.
119786
- */
119771
+ * Se false cada opção na lista deve exibir somente o `label`.
119772
+ */
119787
119773
  this.showOptionValue = true;
119788
119774
  /**
119789
- * Remove a opção vazia da lista de opções
119790
- */
119775
+ * Se true remove a opção vazia da lista.
119776
+ */
119791
119777
  this.suppressEmptyOption = false;
119792
119778
  /**
119793
- * Define o modo do tamanho do campo; opções: slim e regular.
119794
- */
119779
+ * Define o tamanho do campo.
119780
+ */
119795
119781
  this.mode = "regular";
119796
119782
  }
119797
119783
  observeErrorMessage() {
@@ -119805,19 +119791,19 @@ let EzSearch$1 = class extends HTMLElement$1 {
119805
119791
  }
119806
119792
  }
119807
119793
  /**
119808
- * Realiza o foco no componente de pesquisa
119794
+ * Aplica o foco no campo.
119809
119795
  */
119810
119796
  async setFocus() {
119811
119797
  this._comboElement.setFocus();
119812
119798
  }
119813
119799
  /**
119814
- * Remove o foco no componente de pesquisa
119800
+ * Remove o foco do campo.
119815
119801
  */
119816
119802
  async setBlur() {
119817
119803
  this._comboElement.setBlur();
119818
119804
  }
119819
119805
  /**
119820
- * Retorna informando se o campo está inválido (true | false)
119806
+ * Retorna se o conteúdo é inválido.
119821
119807
  */
119822
119808
  async isInvalid() {
119823
119809
  return typeof this.errorMessage === "string" && this.errorMessage.trim() !== "";
@@ -120079,19 +120065,19 @@ let EzTextArea$1 = class extends HTMLElement$1 {
120079
120065
  this.__attachShadow();
120080
120066
  this.ezChange = createEvent(this, "ezChange", 7);
120081
120067
  /**
120082
- * Deixa o campo disponível ou não para digitação.
120068
+ * Se false o usuário não pode interagir com o campo.
120083
120069
  */
120084
120070
  this.enabled = true;
120085
120071
  /**
120086
- * Ajusta o número de linhas e consequentemente o height do textarea. Valor default: 4
120072
+ * Define o número de linhas.
120087
120073
  */
120088
120074
  this.rows = 4;
120089
120075
  /**
120090
- * Permite exibir a mensagem de erro.
120076
+ * Se false deixa de exibir a mensagem de erro dentro do campo.
120091
120077
  */
120092
120078
  this.canShowError = true;
120093
120079
  /**
120094
- * Define o modo do tamanho do campo; opções: slim e regular.
120080
+ * Define o tamanho do campo.
120095
120081
  */
120096
120082
  this.mode = "regular";
120097
120083
  }
@@ -120139,19 +120125,19 @@ let EzTextArea$1 = class extends HTMLElement$1 {
120139
120125
  // Public methods
120140
120126
  //---------------------------------------------
120141
120127
  /**
120142
- * Faz o foco no componente de input
120128
+ * Aplica o foco no campo.
120143
120129
  */
120144
120130
  async setFocus() {
120145
120131
  this._inputElem.focus();
120146
120132
  }
120147
120133
  /**
120148
- * Remove o foco no componente de input
120134
+ * Remove o foco do campo.
120149
120135
  */
120150
120136
  async setBlur() {
120151
120137
  this._inputElem.blur();
120152
120138
  }
120153
120139
  /**
120154
- * Retorna informando se o campo está inválido (true | false)
120140
+ * Retorna se o conteúdo é inválido.
120155
120141
  */
120156
120142
  async isInvalid() {
120157
120143
  return typeof this.errorMessage === "string" && this.errorMessage.trim() !== "";
@@ -120239,7 +120225,7 @@ let EzTextEdit$1 = class extends HTMLElement$1 {
120239
120225
  this.cancelEdition = createEvent(this, "cancelEdition", 7);
120240
120226
  }
120241
120227
  /**
120242
- * Aplica focus no campo.
120228
+ * Aplica foco no campo.
120243
120229
  */
120244
120230
  async applyFocusSelect() {
120245
120231
  this.calcSizeInput(this.value, true);
@@ -120333,19 +120319,19 @@ let EzTextInput$1 = class extends HTMLElement$1 {
120333
120319
  this.__attachShadow();
120334
120320
  this.ezChange = createEvent(this, "ezChange", 7);
120335
120321
  /**
120336
- * Deixa o campo disponível ou não para digitação.
120322
+ * Se false o usuário não pode interagir com o campo.
120337
120323
  */
120338
120324
  this.enabled = true;
120339
120325
  /**
120340
- * Permite exibir a mensagem de erro.
120326
+ * Se false deixa de exibir a mensagem de erro dentro do campo.
120341
120327
  */
120342
120328
  this.canShowError = true;
120343
120329
  /**
120344
- * Define o modo do tamanho do campo; opções: slim e regular.
120330
+ * Define o tamanho do campo.
120345
120331
  */
120346
120332
  this.mode = "regular";
120347
120333
  /**
120348
- * Define se o campo contará com bordas ou não
120334
+ * Se true o campo não terá bordas.
120349
120335
  */
120350
120336
  this.noBorder = false;
120351
120337
  }
@@ -120430,19 +120416,19 @@ let EzTextInput$1 = class extends HTMLElement$1 {
120430
120416
  // Public methods
120431
120417
  //---------------------------------------------
120432
120418
  /**
120433
- * Faz o foco no componente de input
120419
+ * Aplica o foco no campo.
120434
120420
  */
120435
120421
  async setFocus() {
120436
120422
  this._inputElem.focus();
120437
120423
  }
120438
120424
  /**
120439
- * Remove o foco no componente de input
120425
+ * Remove o foco do campo.
120440
120426
  */
120441
120427
  async setBlur() {
120442
120428
  this._inputElem.blur();
120443
120429
  }
120444
120430
  /**
120445
- * Retorna informando se o campo está inválido (true | false)
120431
+ * Retorna se o conteúdo é inválido.
120446
120432
  */
120447
120433
  async isInvalid() {
120448
120434
  return typeof this.errorMessage === "string" && this.errorMessage.trim() !== "";
@@ -120579,15 +120565,15 @@ let EzTimeInput$1 = class extends HTMLElement$1 {
120579
120565
  this.ezStartChange = createEvent(this, "ezStartChange", 7);
120580
120566
  this.ezCancelWaitingChange = createEvent(this, "ezCancelWaitingChange", 7);
120581
120567
  /**
120582
- * Deixa o campo disponível ou não para digitação.
120568
+ * Se false o usuário não pode interagir com o campo.
120583
120569
  */
120584
120570
  this.enabled = true;
120585
120571
  /**
120586
- * Define se o componente irá ou não considerar os segundos.
120572
+ * Se true considera segundos.
120587
120573
  */
120588
120574
  this.showSeconds = false;
120589
120575
  /**
120590
- * Define o modo do tamanho do campo; opções: slim e regular.
120576
+ * Define o tamanho do campo.
120591
120577
  */
120592
120578
  this.mode = "regular";
120593
120579
  }
@@ -120668,19 +120654,19 @@ let EzTimeInput$1 = class extends HTMLElement$1 {
120668
120654
  }
120669
120655
  }
120670
120656
  /**
120671
- * Faz o foco no componente de input
120657
+ * Aplica o foco no campo.
120672
120658
  */
120673
120659
  async setFocus() {
120674
120660
  this._textInput.setFocus();
120675
120661
  }
120676
120662
  /**
120677
- * Remove o foco no componente de input
120663
+ * Remove o foco do campo.
120678
120664
  */
120679
120665
  async setBlur() {
120680
120666
  this._textInput.setBlur();
120681
120667
  }
120682
120668
  /**
120683
- * Retorna informando se o campo está inválido (true | false)
120669
+ * Retorna se o conteúdo é inválido.
120684
120670
  */
120685
120671
  async isInvalid() {
120686
120672
  return typeof this.errorMessage === "string" && this.errorMessage.trim() !== "";
@@ -120743,21 +120729,21 @@ let EzToast$1 = class extends HTMLElement$1 {
120743
120729
  this._lastTimeOut = undefined;
120744
120730
  this._lang = "pt"; // Controla qual idioma será usado para definir a regras de hifenização.
120745
120731
  /**
120746
- * Controla o tempo de exibição do componente em milissegundos.
120732
+ * Define o tempo de exibição em milissegundos.
120747
120733
  */
120748
120734
  this.fadeTime = 5000;
120749
120735
  /**
120750
- * Adiciona ícone de check no componente.
120736
+ * Se true permite a utilização do slot de ícone.
120751
120737
  */
120752
120738
  this.useIcon = false;
120753
120739
  /**
120754
- * Controla o uso do icone de fechar o toast.
120740
+ * Se false, o usuário não consegue fechar.
120755
120741
  */
120756
120742
  this.canClose = true;
120757
120743
  }
120758
120744
  /**
120759
- * Exibe o componente na tela.
120760
- */
120745
+ * Exibe o ez-toast.
120746
+ */
120761
120747
  async show(message, fadeTime, useIcon, canClose) {
120762
120748
  return new Promise(resolve => {
120763
120749
  var _a;
@@ -120920,7 +120906,7 @@ let EzUpload$1 = class extends HTMLElement$1 {
120920
120906
  this.ezCancelWaitingChange = createEvent(this, "ezCancelWaitingChange", 7);
120921
120907
  this._filePointers = new Map();
120922
120908
  /**
120923
- * Deixa o campo disponível ou não para digitação.
120909
+ * Se false o usuário não pode interagir com o campo.
120924
120910
  */
120925
120911
  this.enabled = true;
120926
120912
  }
@@ -120959,8 +120945,8 @@ let EzUpload$1 = class extends HTMLElement$1 {
120959
120945
  }
120960
120946
  }
120961
120947
  /**
120962
- * Método responsável por adicionar um ou mais arquivos ao componente.
120963
- */
120948
+ * Adiciona arquivos.
120949
+ */
120964
120950
  async addFiles(files) {
120965
120951
  if (this.maxFiles > 0) {
120966
120952
  let countDistinctFiles = this._filePointers.size;
@@ -120977,13 +120963,13 @@ let EzUpload$1 = class extends HTMLElement$1 {
120977
120963
  Array.prototype.forEach.call(files, this.addFile.bind(this));
120978
120964
  }
120979
120965
  /**
120980
- * Realiza o foco no componente de upload
120966
+ * Aplica o foco no campo.
120981
120967
  */
120982
120968
  async setFocus() {
120983
120969
  this._fileInput.focus();
120984
120970
  }
120985
120971
  /**
120986
- * Remove o foco no componente de upload
120972
+ * Remove o foco do campo.
120987
120973
  */
120988
120974
  async setBlur() {
120989
120975
  this._fileInput.blur();
@@ -121204,7 +121190,7 @@ let EzViewStack$1 = class extends HTMLElement$1 {
121204
121190
  this._dataKey = 'id_'.concat(Date.now().toString());
121205
121191
  }
121206
121192
  /**
121207
- * 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.
121208
121194
  */
121209
121195
  async show(index) {
121210
121196
  if (index !== this._focusedIndex && 0 <= index && index < this._totalStackItems) {
@@ -121214,7 +121200,7 @@ let EzViewStack$1 = class extends HTMLElement$1 {
121214
121200
  }
121215
121201
  }
121216
121202
  /**
121217
- * Retorna o index que está atualmente ativo e sendo exibido.
121203
+ * Obtem o índice selecionado.
121218
121204
  */
121219
121205
  async getSelectedIndex() {
121220
121206
  return this._focusedIndex;
@@ -121275,14 +121261,14 @@ const EzApplication = /*@__PURE__*/proxyCustomElement(EzApplication$1, [0,"ez-ap
121275
121261
  const EzButton = /*@__PURE__*/proxyCustomElement(EzButton$1, [1,"ez-button",{"label":[513],"enabled":[516],"mode":[513],"image":[513],"iconName":[513,"icon-name"],"size":[513]}]);
121276
121262
  const EzCalendar = /*@__PURE__*/proxyCustomElement(EzCalendar$1, [1,"ez-calendar",{"value":[1040],"floating":[516],"time":[516],"showSeconds":[516,"show-seconds"]}]);
121277
121263
  const EzCardItem = /*@__PURE__*/proxyCustomElement(EzCardItem$1, [1,"ez-card-item",{"item":[16]}]);
121278
- 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]}]);
121279
121265
  const EzChip = /*@__PURE__*/proxyCustomElement(EzChip$1, [1,"ez-chip",{"label":[513],"enabled":[516],"removePosition":[513,"remove-position"],"mode":[513],"value":[1540]}]);
121280
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]}]);
121281
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]}]);
121282
121268
  const EzDateInput = /*@__PURE__*/proxyCustomElement(EzDateInput$1, [1,"ez-date-input",{"label":[513],"value":[1040],"enabled":[516],"errorMessage":[1537,"error-message"],"mode":[513]}]);
121283
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]}]);
121284
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"]}]);
121285
- 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]}]);
121286
121272
  const EzForm = /*@__PURE__*/proxyCustomElement(EzForm$1, [0,"ez-form",{"dataUnit":[1040],"config":[16],"recordsValidator":[16]}]);
121287
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]}]);
121288
121274
  const EzIcon = /*@__PURE__*/proxyCustomElement(EzIcon$1, [1,"ez-icon",{"size":[513],"href":[513],"iconName":[513,"icon-name"]}]);
@@ -121292,14 +121278,14 @@ const EzModal = /*@__PURE__*/proxyCustomElement(EzModal$1, [1,"ez-modal",{"modal
121292
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"]}]);
121293
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]}]);
121294
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"]}]);
121295
- 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"]}]);
121296
121282
  const EzRadioButton = /*@__PURE__*/proxyCustomElement(EzRadioButton$1, [1,"ez-radio-button",{"value":[1544],"options":[1040],"enabled":[516],"label":[513],"direction":[1537]}]);
121297
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"]]]);
121298
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]}]);
121299
121285
  const EzTabselector = /*@__PURE__*/proxyCustomElement(EzTabselector$1, [1,"ez-tabselector",{"selectedIndex":[1538,"selected-index"],"selectedTab":[1537,"selected-tab"],"tabs":[1],"_processedTabs":[32]}]);
121300
- 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]}]);
121301
121287
  const EzTextEdit = /*@__PURE__*/proxyCustomElement(EzTextEdit$1, [1,"ez-text-edit",{"value":[1],"styled":[16],"_newValue":[32]}]);
121302
- 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"]}]);
121303
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]}]);
121304
121290
  const EzToast = /*@__PURE__*/proxyCustomElement(EzToast$1, [1,"ez-toast",{"message":[1025],"fadeTime":[1026,"fade-time"],"useIcon":[1028,"use-icon"],"canClose":[1028,"can-close"]}]);
121305
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]}]);