@sankhyalabs/ezui 0.0.0-bugfix-dev-KB-85772.0 → 0.0.0-bugfix-dev-KB-87769.0

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 (228) hide show
  1. package/dist/cjs/{DataBinder-c2060474.js → DataBinder-b9973a19.js} +39 -11
  2. package/dist/cjs/ez-actions-button.cjs.entry.js +1 -1
  3. package/dist/cjs/ez-alert-list.cjs.entry.js +1 -1
  4. package/dist/cjs/ez-alert.cjs.entry.js +1 -1
  5. package/dist/cjs/ez-application.cjs.entry.js +1 -1
  6. package/dist/cjs/ez-badge.cjs.entry.js +1 -1
  7. package/dist/cjs/ez-breadcrumb.cjs.entry.js +1 -1
  8. package/dist/cjs/ez-button.cjs.entry.js +1 -1
  9. package/dist/cjs/ez-calendar.cjs.entry.js +1 -1
  10. package/dist/cjs/ez-card-item_2.cjs.entry.js +1 -1
  11. package/dist/cjs/ez-chart.cjs.entry.js +1 -1
  12. package/dist/cjs/ez-check.cjs.entry.js +19 -11
  13. package/dist/cjs/ez-chip.cjs.entry.js +1 -1
  14. package/dist/cjs/ez-collapsible-box.cjs.entry.js +1 -1
  15. package/dist/cjs/ez-combo-box-list_3.cjs.entry.js +2 -2
  16. package/dist/cjs/ez-combo-box.cjs.entry.js +3 -2
  17. package/dist/cjs/ez-date-input.cjs.entry.js +3 -2
  18. package/dist/cjs/ez-date-time-input.cjs.entry.js +3 -2
  19. package/dist/cjs/ez-dialog.cjs.entry.js +1 -1
  20. package/dist/cjs/ez-double-list.cjs.entry.js +1 -1
  21. package/dist/cjs/ez-dropdown.cjs.entry.js +1 -1
  22. package/dist/cjs/ez-file-item.cjs.entry.js +1 -1
  23. package/dist/cjs/ez-filter-input.cjs.entry.js +1 -1
  24. package/dist/cjs/ez-form-view.cjs.entry.js +1 -1
  25. package/dist/cjs/ez-form.cjs.entry.js +2 -2
  26. package/dist/cjs/ez-grid.cjs.entry.js +53 -17
  27. package/dist/cjs/ez-guide-navigator.cjs.entry.js +1 -1
  28. package/dist/cjs/ez-icon.cjs.entry.js +1 -1
  29. package/dist/cjs/ez-list.cjs.entry.js +1 -1
  30. package/dist/cjs/ez-loading-bar.cjs.entry.js +1 -1
  31. package/dist/cjs/ez-modal-container.cjs.entry.js +1 -1
  32. package/dist/cjs/ez-modal.cjs.entry.js +1 -1
  33. package/dist/cjs/ez-multi-selection-list.cjs.entry.js +1 -1
  34. package/dist/cjs/ez-number-input.cjs.entry.js +3 -2
  35. package/dist/cjs/ez-popover-plus_3.cjs.entry.js +1 -1
  36. package/dist/cjs/ez-popover.cjs.entry.js +1 -1
  37. package/dist/cjs/ez-popup.cjs.entry.js +1 -1
  38. package/dist/cjs/ez-radio-button.cjs.entry.js +1 -1
  39. package/dist/cjs/ez-scroller_2.cjs.entry.js +1 -1
  40. package/dist/cjs/ez-search-plus.cjs.entry.js +1 -1
  41. package/dist/cjs/ez-search-result-list.cjs.entry.js +1 -1
  42. package/dist/cjs/ez-search.cjs.entry.js +3 -2
  43. package/dist/cjs/ez-sidebar-navigator.cjs.entry.js +1 -1
  44. package/dist/cjs/ez-skeleton.cjs.entry.js +1 -1
  45. package/dist/cjs/ez-split-button.cjs.entry.js +1 -1
  46. package/dist/cjs/ez-split-item.cjs.entry.js +1 -1
  47. package/dist/cjs/ez-split-panel.cjs.entry.js +1 -1
  48. package/dist/cjs/ez-tabselector.cjs.entry.js +1 -1
  49. package/dist/cjs/ez-text-area.cjs.entry.js +25 -4
  50. package/dist/cjs/ez-text-input.cjs.entry.js +28 -4
  51. package/dist/cjs/ez-time-input.cjs.entry.js +3 -2
  52. package/dist/cjs/ez-toast.cjs.entry.js +1 -1
  53. package/dist/cjs/ez-tooltip.cjs.entry.js +1 -1
  54. package/dist/cjs/ez-tree.cjs.entry.js +1 -1
  55. package/dist/cjs/ez-upload.cjs.entry.js +1 -1
  56. package/dist/cjs/ez-view-stack.cjs.entry.js +1 -1
  57. package/dist/cjs/ezui.cjs.js +2 -2
  58. package/dist/cjs/filter-column.cjs.entry.js +15 -5
  59. package/dist/cjs/{index-9e5554cb.js → index-a7b0c73d.js} +0 -3
  60. package/dist/cjs/loader.cjs.js +2 -2
  61. package/dist/collection/components/ez-check/ez-check.css +9 -0
  62. package/dist/collection/components/ez-check/ez-check.js +34 -9
  63. package/dist/collection/components/ez-combo-box/ez-combo-box.js +19 -1
  64. package/dist/collection/components/ez-date-input/ez-date-input.js +19 -1
  65. package/dist/collection/components/ez-date-time-input/ez-date-time-input.js +19 -1
  66. package/dist/collection/components/ez-grid/controller/ag-grid/AgGridController.js +38 -8
  67. package/dist/collection/components/ez-grid/controller/ag-grid/DataSource.js +4 -2
  68. package/dist/collection/components/ez-grid/controller/ag-grid/GridEditionManager.js +9 -5
  69. package/dist/collection/components/ez-grid/subcomponents/filter-column.js +14 -4
  70. package/dist/collection/components/ez-multi-selection-list/interfaces/IStaticOptionsFetchConfig.js +1 -0
  71. package/dist/collection/components/ez-number-input/ez-number-input.js +19 -1
  72. package/dist/collection/components/ez-search/ez-search.js +19 -1
  73. package/dist/collection/components/ez-search-plus/ez-search-plus.js +40 -16
  74. package/dist/collection/components/ez-text-area/ez-text-area.js +47 -2
  75. package/dist/collection/components/ez-text-input/ez-text-input.js +47 -3
  76. package/dist/collection/components/ez-time-input/ez-time-input.js +19 -1
  77. package/dist/collection/utils/form/DataBinder.js +40 -12
  78. package/dist/collection/utils/form/test/DataBinder.test.js +14 -0
  79. package/dist/custom-elements/index.js +194 -62
  80. package/dist/esm/{DataBinder-89946126.js → DataBinder-1035e36f.js} +40 -12
  81. package/dist/esm/ez-actions-button.entry.js +1 -1
  82. package/dist/esm/ez-alert-list.entry.js +1 -1
  83. package/dist/esm/ez-alert.entry.js +1 -1
  84. package/dist/esm/ez-application.entry.js +1 -1
  85. package/dist/esm/ez-badge.entry.js +1 -1
  86. package/dist/esm/ez-breadcrumb.entry.js +1 -1
  87. package/dist/esm/ez-button.entry.js +1 -1
  88. package/dist/esm/ez-calendar.entry.js +1 -1
  89. package/dist/esm/ez-card-item_2.entry.js +1 -1
  90. package/dist/esm/ez-chart.entry.js +1 -1
  91. package/dist/esm/ez-check.entry.js +19 -11
  92. package/dist/esm/ez-chip.entry.js +1 -1
  93. package/dist/esm/ez-collapsible-box.entry.js +1 -1
  94. package/dist/esm/ez-combo-box-list_3.entry.js +2 -2
  95. package/dist/esm/ez-combo-box.entry.js +3 -2
  96. package/dist/esm/ez-date-input.entry.js +3 -2
  97. package/dist/esm/ez-date-time-input.entry.js +3 -2
  98. package/dist/esm/ez-dialog.entry.js +1 -1
  99. package/dist/esm/ez-double-list.entry.js +1 -1
  100. package/dist/esm/ez-dropdown.entry.js +1 -1
  101. package/dist/esm/ez-file-item.entry.js +1 -1
  102. package/dist/esm/ez-filter-input.entry.js +1 -1
  103. package/dist/esm/ez-form-view.entry.js +1 -1
  104. package/dist/esm/ez-form.entry.js +2 -2
  105. package/dist/esm/ez-grid.entry.js +54 -18
  106. package/dist/esm/ez-guide-navigator.entry.js +1 -1
  107. package/dist/esm/ez-icon.entry.js +1 -1
  108. package/dist/esm/ez-list.entry.js +1 -1
  109. package/dist/esm/ez-loading-bar.entry.js +1 -1
  110. package/dist/esm/ez-modal-container.entry.js +1 -1
  111. package/dist/esm/ez-modal.entry.js +1 -1
  112. package/dist/esm/ez-multi-selection-list.entry.js +1 -1
  113. package/dist/esm/ez-number-input.entry.js +3 -2
  114. package/dist/esm/ez-popover-plus_3.entry.js +1 -1
  115. package/dist/esm/ez-popover.entry.js +1 -1
  116. package/dist/esm/ez-popup.entry.js +1 -1
  117. package/dist/esm/ez-radio-button.entry.js +1 -1
  118. package/dist/esm/ez-scroller_2.entry.js +1 -1
  119. package/dist/esm/ez-search-plus.entry.js +1 -1
  120. package/dist/esm/ez-search-result-list.entry.js +1 -1
  121. package/dist/esm/ez-search.entry.js +3 -2
  122. package/dist/esm/ez-sidebar-navigator.entry.js +1 -1
  123. package/dist/esm/ez-skeleton.entry.js +1 -1
  124. package/dist/esm/ez-split-button.entry.js +1 -1
  125. package/dist/esm/ez-split-item.entry.js +1 -1
  126. package/dist/esm/ez-split-panel.entry.js +1 -1
  127. package/dist/esm/ez-tabselector.entry.js +1 -1
  128. package/dist/esm/ez-text-area.entry.js +25 -4
  129. package/dist/esm/ez-text-input.entry.js +28 -4
  130. package/dist/esm/ez-time-input.entry.js +3 -2
  131. package/dist/esm/ez-toast.entry.js +1 -1
  132. package/dist/esm/ez-tooltip.entry.js +1 -1
  133. package/dist/esm/ez-tree.entry.js +1 -1
  134. package/dist/esm/ez-upload.entry.js +1 -1
  135. package/dist/esm/ez-view-stack.entry.js +1 -1
  136. package/dist/esm/ezui.js +3 -3
  137. package/dist/esm/filter-column.entry.js +15 -5
  138. package/dist/esm/{index-5a720e56.js → index-baa5e267.js} +1 -3
  139. package/dist/esm/loader.js +3 -3
  140. package/dist/ezui/ezui.esm.js +1 -1
  141. package/dist/ezui/{p-e6b38ade.entry.js → p-0306dff7.entry.js} +1 -1
  142. package/dist/ezui/{p-b8344ae8.entry.js → p-03c106f6.entry.js} +1 -1
  143. package/dist/ezui/{p-91ccae0c.entry.js → p-09de35a2.entry.js} +1 -1
  144. package/dist/ezui/{p-1f7241cd.entry.js → p-0bffeffc.entry.js} +1 -1
  145. package/dist/ezui/p-15ea0c98.js +1 -0
  146. package/dist/ezui/{p-81461d2f.entry.js → p-1e7a8633.entry.js} +1 -1
  147. package/dist/ezui/{p-6b51c9cc.entry.js → p-1f50fa05.entry.js} +1 -1
  148. package/dist/ezui/{p-cf33bc48.entry.js → p-20c024f7.entry.js} +1 -1
  149. package/dist/ezui/{p-e4c7eb39.js → p-23a36bb6.js} +2 -2
  150. package/dist/ezui/{p-8f49705f.entry.js → p-2872fd16.entry.js} +1 -1
  151. package/dist/ezui/{p-06f1b8e4.entry.js → p-288631d1.entry.js} +1 -1
  152. package/dist/ezui/{p-1fefb37a.entry.js → p-2b4df33d.entry.js} +1 -1
  153. package/dist/ezui/p-3ba9565c.entry.js +1 -0
  154. package/dist/ezui/{p-0378416a.entry.js → p-44caad9a.entry.js} +1 -1
  155. package/dist/ezui/p-496f7832.entry.js +1 -0
  156. package/dist/ezui/p-4bd6dd6a.entry.js +1 -0
  157. package/dist/ezui/{p-2f77f563.entry.js → p-4cf0aaeb.entry.js} +1 -1
  158. package/dist/ezui/{p-7567ccdd.entry.js → p-555c9018.entry.js} +1 -1
  159. package/dist/ezui/{p-9066b0b0.entry.js → p-56fe5341.entry.js} +1 -1
  160. package/dist/ezui/p-5a14f506.entry.js +1 -0
  161. package/dist/ezui/{p-0f658cfd.entry.js → p-5ec0ae79.entry.js} +1 -1
  162. package/dist/ezui/{p-6fc26622.entry.js → p-5ed81457.entry.js} +1 -1
  163. package/dist/ezui/p-629d15ed.entry.js +1 -0
  164. package/dist/ezui/{p-5b8639c0.entry.js → p-6754489a.entry.js} +1 -1
  165. package/dist/ezui/{p-b9255e16.entry.js → p-6825bdc7.entry.js} +1 -1
  166. package/dist/ezui/{p-bab2bb93.entry.js → p-6b39b79a.entry.js} +2 -2
  167. package/dist/ezui/{p-fc194825.entry.js → p-6e429cff.entry.js} +1 -1
  168. package/dist/ezui/p-6f4681f8.entry.js +1 -0
  169. package/dist/ezui/p-7019f782.entry.js +1 -0
  170. package/dist/ezui/{p-f6a88217.entry.js → p-7742802c.entry.js} +1 -1
  171. package/dist/ezui/{p-11bfeca3.entry.js → p-77a4bd35.entry.js} +1 -1
  172. package/dist/ezui/{p-2069c78a.entry.js → p-7e677b7b.entry.js} +1 -1
  173. package/dist/ezui/{p-82fa4b09.entry.js → p-8df1ca33.entry.js} +1 -1
  174. package/dist/ezui/{p-ed48a632.entry.js → p-9478b13b.entry.js} +1 -1
  175. package/dist/ezui/{p-ddb22a70.entry.js → p-9567b31a.entry.js} +1 -1
  176. package/dist/ezui/{p-18e71523.entry.js → p-9c5cd3b2.entry.js} +1 -1
  177. package/dist/ezui/{p-c2b20f78.entry.js → p-9f5fa3f9.entry.js} +1 -1
  178. package/dist/ezui/{p-0cfbbe82.entry.js → p-a4cee65d.entry.js} +1 -1
  179. package/dist/ezui/{p-dfca5946.entry.js → p-a80b1287.entry.js} +1 -1
  180. package/dist/ezui/p-b81881ac.entry.js +1 -0
  181. package/dist/ezui/{p-926a0bde.entry.js → p-bac0f920.entry.js} +1 -1
  182. package/dist/ezui/p-bc2f844e.entry.js +1 -0
  183. package/dist/ezui/{p-e18c7afe.entry.js → p-bf9dec89.entry.js} +1 -1
  184. package/dist/ezui/p-c00df4be.entry.js +1 -0
  185. package/dist/ezui/{p-92748142.entry.js → p-c0d9c4f8.entry.js} +1 -1
  186. package/dist/ezui/p-cb75eb46.entry.js +1 -0
  187. package/dist/ezui/{p-07594da0.entry.js → p-d47dabdf.entry.js} +1 -1
  188. package/dist/ezui/{p-708b196e.entry.js → p-da1b4a38.entry.js} +1 -1
  189. package/dist/ezui/{p-c7035d65.entry.js → p-dc73e1fe.entry.js} +1 -1
  190. package/dist/ezui/{p-2f351332.entry.js → p-e06a9886.entry.js} +1 -1
  191. package/dist/ezui/{p-9e95bfeb.entry.js → p-e6a9041d.entry.js} +1 -1
  192. package/dist/ezui/{p-000159dc.entry.js → p-e75c7a23.entry.js} +1 -1
  193. package/dist/ezui/p-ebd23857.entry.js +1 -0
  194. package/dist/ezui/{p-72731b9b.entry.js → p-ecaac11f.entry.js} +1 -1
  195. package/dist/ezui/{p-8d9ab0b0.entry.js → p-f4861c6a.entry.js} +1 -1
  196. package/dist/ezui/{p-3eaa0f67.entry.js → p-f5a30e35.entry.js} +1 -1
  197. package/dist/ezui/{p-bcffc6c5.entry.js → p-f6316720.entry.js} +1 -1
  198. package/dist/ezui/{p-44b39e81.entry.js → p-fa6732f2.entry.js} +1 -1
  199. package/dist/types/components/ez-check/ez-check.d.ts +7 -2
  200. package/dist/types/components/ez-combo-box/ez-combo-box.d.ts +4 -0
  201. package/dist/types/components/ez-date-input/ez-date-input.d.ts +4 -0
  202. package/dist/types/components/ez-date-time-input/ez-date-time-input.d.ts +4 -0
  203. package/dist/types/components/ez-grid/controller/ag-grid/AgGridController.d.ts +2 -0
  204. package/dist/types/components/ez-grid/subcomponents/filter-column.d.ts +1 -0
  205. package/dist/types/components/ez-multi-selection-list/interfaces/IMultiSelectionListDataSource.d.ts +2 -1
  206. package/dist/types/components/ez-multi-selection-list/interfaces/IStaticOptionsFetchConfig.d.ts +3 -0
  207. package/dist/types/components/ez-number-input/ez-number-input.d.ts +4 -0
  208. package/dist/types/components/ez-search/ez-search.d.ts +4 -0
  209. package/dist/types/components/ez-search-plus/ez-search-plus.d.ts +8 -8
  210. package/dist/types/components/ez-text-area/ez-text-area.d.ts +8 -0
  211. package/dist/types/components/ez-text-input/ez-text-input.d.ts +9 -0
  212. package/dist/types/components/ez-time-input/ez-time-input.d.ts +4 -0
  213. package/dist/types/components.d.ts +88 -16
  214. package/dist/types/utils/form/DataBinder.d.ts +4 -2
  215. package/package.json +1 -1
  216. package/dist/ezui/p-1bb62d6b.entry.js +0 -1
  217. package/dist/ezui/p-23dab72f.entry.js +0 -1
  218. package/dist/ezui/p-4818b8ce.entry.js +0 -1
  219. package/dist/ezui/p-6ec40dec.entry.js +0 -1
  220. package/dist/ezui/p-6ee27742.entry.js +0 -1
  221. package/dist/ezui/p-88c615f0.entry.js +0 -1
  222. package/dist/ezui/p-906015ee.entry.js +0 -1
  223. package/dist/ezui/p-a64cfcfc.js +0 -1
  224. package/dist/ezui/p-a79f3789.entry.js +0 -1
  225. package/dist/ezui/p-bbf086de.entry.js +0 -1
  226. package/dist/ezui/p-c2b1b592.entry.js +0 -1
  227. package/dist/ezui/p-c96fbbef.entry.js +0 -1
  228. package/dist/ezui/p-e18d9e6a.entry.js +0 -1
@@ -1,6 +1,6 @@
1
1
  import { HTMLElement as HTMLElement$1, createEvent, h, Host, forceUpdate, Fragment, proxyCustomElement } from '@stencil/core/internal/client';
2
2
  export { setAssetPath, setPlatformOptions } from '@stencil/core/internal/client';
3
- import { UserInterface, DateUtils as DateUtils$1, Action, StringUtils as StringUtils$1, ApplicationContext, WaitingChangeException, DataUnitAction, FloatingManager, ElementIDUtils, ObjectUtils as ObjectUtils$1, JSUtils, HTMLBuilder, TimeFormatter, KeyboardManager, ArrayUtils as ArrayUtils$1, DataUnit, LockManager, LockManagerOperation, NumberUtils as NumberUtils$1, MaskFormatter, DataType, SortMode, ColumnFilterManager as ColumnFilterManager$1, FieldComparator, OverflowWatcher, OVERFLOWED_CLASS_NAME } from '@sankhyalabs/core';
3
+ import { UserInterface, DateUtils as DateUtils$1, Action, StringUtils as StringUtils$1, ApplicationContext, ObjectUtils as ObjectUtils$1, WaitingChangeException, DataUnitAction, FloatingManager, ElementIDUtils, JSUtils, HTMLBuilder, TimeFormatter, KeyboardManager, ArrayUtils as ArrayUtils$1, DataUnit, LockManager, LockManagerOperation, DataType, NumberUtils as NumberUtils$1, MaskFormatter, SortMode, ColumnFilterManager as ColumnFilterManager$1, FieldComparator, OverflowWatcher, OVERFLOWED_CLASS_NAME } from '@sankhyalabs/core';
4
4
  import { SelectionMode } from '@sankhyalabs/core/dist/dataunit/DataUnit';
5
5
 
6
6
  // Unique ID creation requires a high quality random # generator. In the browser we therefore
@@ -592,8 +592,12 @@ class RecordValidationProcessor {
592
592
  class DataBinder {
593
593
  constructor(dataUnit) {
594
594
  this.onDataUnitEvent = (action) => {
595
- var _a, _b;
595
+ var _a;
596
596
  switch (action.type) {
597
+ case Action.MULTIPLE_EDITION_CHANGED:
598
+ this.clearInvalid();
599
+ this.updateAllFieldsValues();
600
+ break;
597
601
  case Action.DATA_LOADED:
598
602
  case Action.DATA_SAVED:
599
603
  case Action.RECORDS_REMOVED:
@@ -608,13 +612,11 @@ class DataBinder {
608
612
  case Action.CHANGE_UNDONE:
609
613
  case Action.CHANGE_REDONE:
610
614
  case Action.RECORD_LOADED:
611
- (_a = this._fields) === null || _a === void 0 ? void 0 : _a.forEach(field => {
612
- this.updateValue(field.fieldName, field.field);
613
- });
615
+ this.updateAllFieldsValues();
614
616
  this.clearFieldError(Object.keys(action.payload)[0]);
615
617
  break;
616
618
  case Action.FIELD_INVALIDATED:
617
- (_b = this._fields) === null || _b === void 0 ? void 0 : _b.forEach(field => {
619
+ (_a = this._fields) === null || _a === void 0 ? void 0 : _a.forEach(field => {
618
620
  this.updateErrorMessage(field.fieldName, field.field);
619
621
  });
620
622
  break;
@@ -712,13 +714,19 @@ class DataBinder {
712
714
  this._dataUnit.clearInvalid(this.getCurrentRecordId(), fieldName);
713
715
  }
714
716
  }
715
- updateValue(fieldName, field) {
717
+ updateFieldValue(fieldName, field) {
716
718
  const bind = this._fields.get(fieldName);
717
719
  try {
718
- if (bind) {
720
+ if (bind)
719
721
  bind.listen = false;
722
+ if (this._dataUnit.isMultipleEdition && this.hasMultipleValuesBetweenRecords(fieldName)) {
723
+ field['value'] = undefined;
724
+ field['alternativePlaceholder'] = 'Múltiplos Valores';
725
+ }
726
+ else {
727
+ field["value"] = this._dataUnit.getFieldValue(fieldName);
728
+ field['alternativePlaceholder'] = undefined;
720
729
  }
721
- field["value"] = this._dataUnit.getFieldValue(fieldName);
722
730
  this.updateErrorMessage(fieldName, field);
723
731
  }
724
732
  finally {
@@ -727,6 +735,14 @@ class DataBinder {
727
735
  }
728
736
  }
729
737
  }
738
+ hasMultipleValuesBetweenRecords(key) {
739
+ var _a, _b;
740
+ const selectedRecords = (_b = (_a = this._dataUnit.getSelectionInfo()) === null || _a === void 0 ? void 0 : _a.records) !== null && _b !== void 0 ? _b : [];
741
+ if (selectedRecords.length <= 1)
742
+ return false;
743
+ const firstValue = selectedRecords[0][key];
744
+ return !selectedRecords.every(record => ObjectUtils$1.equals(record[key], firstValue));
745
+ }
730
746
  validate() {
731
747
  return this._recordValidatorProcessor.validate();
732
748
  }
@@ -765,7 +781,7 @@ class DataBinder {
765
781
  oldBind.destroy();
766
782
  }
767
783
  this.bindSearchOptionsLoader(fieldName, field);
768
- field["value"] = this._dataUnit.getFieldValue(fieldName);
784
+ this.updateFieldValue(fieldName, field);
769
785
  this.updateErrorMessage(fieldName, field);
770
786
  this._fields.set(fieldName, Bind.create(fieldName, field, (fieldName, waitingChange) => this.changeStarted(fieldName, waitingChange), (fieldName) => this.cancelWaitingChange(fieldName), (fieldName, newValue) => this.setFieldValue(fieldName, newValue)));
771
787
  this.applyEzUploadContext(fieldName, field);
@@ -807,8 +823,14 @@ class DataBinder {
807
823
  this._dataUnit.addRecord();
808
824
  }
809
825
  this._dataUnit.clearInvalid(this.getCurrentRecordId(), fieldName);
810
- const record = this._dataUnit.getSelectedRecord();
811
- this._dataUnit.setFieldValue(fieldName, newValue, record ? [record.__record__id__] : undefined);
826
+ if (this._dataUnit.isMultipleEdition) {
827
+ const selectionInfo = this._dataUnit.getSelectionInfo();
828
+ this._dataUnit.setFieldValue(fieldName, newValue, selectionInfo.recordIds);
829
+ }
830
+ else {
831
+ const record = this._dataUnit.getSelectedRecord();
832
+ this._dataUnit.setFieldValue(fieldName, newValue, record ? [record.__record__id__] : undefined);
833
+ }
812
834
  if (this._dataUnit.waitingForChange(fieldName)) {
813
835
  const bind = this._fields.get(fieldName);
814
836
  if (bind) {
@@ -840,6 +862,12 @@ class DataBinder {
840
862
  field["maxFiles"] = ((_b = descriptor.properties) === null || _b === void 0 ? void 0 : _b.MAX_FILES) || 0;
841
863
  }
842
864
  }
865
+ updateAllFieldsValues() {
866
+ var _a;
867
+ (_a = this._fields) === null || _a === void 0 ? void 0 : _a.forEach(field => {
868
+ this.updateFieldValue(field.fieldName, field.field);
869
+ });
870
+ }
843
871
  interceptAction(action) {
844
872
  if (action.type === Action.RECORDS_COPIED) {
845
873
  const cleanFields = this._formMetadata.getCleanOnCopyFields();
@@ -2597,7 +2625,7 @@ const EzChart$1 = class extends HTMLElement$1 {
2597
2625
  static get style() { return ezChartCss; }
2598
2626
  };
2599
2627
 
2600
- const ezCheckCss = ":host{--ez-check--box--width:20px;--ez-check--box--height:20px;--ez-check--width:calc(var(--ez-check--box--width) + var(--ez-check--outter-gap, 14px));--ez-check--height:calc(var(--ez-check--box--width) + var(--ez-check--outter-gap, 14px));--ez-check--border-radius:var(--border--radius-small);--ez-check--checked--background-color:var(--color--primary-200);--ez-check--focus--background-color:var(--color--strokes, #FFFFFF);--ez-check--hover--background-color:var(--background--medium);--ez-check--checked--disabled--background-color:var(--color--disable-secondary);--ez-check--border:var(--border--medium) var(--title--primary);--ez-check--disabled--border:var(--border--medium) var(--color--strokes);--ez-check--checked--border:var(--border--medium) var(--color--primary);--ez-check--checked--hover--background-color:var(--color--primary-200);--ez-check--checked--focus--background-color:var(--color--primary-300, #FFFFFF);--ez-check--check--image:url('data:image/svg+xml;utf8,<svg width=\"8\" height=\"7\" viewBox=\"0 0 8 7\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M7.70002 0.398999L7.48502 0.207997C7.31524 0.0598858 7.09376 -0.0150438 6.86894 -0.000430025C6.64411 0.0141838 6.43419 0.117153 6.28502 0.285997L2.70002 4.332L1.61802 3.384C1.44837 3.23576 1.22697 3.16067 1.00214 3.17509C0.77732 3.18952 0.567332 3.2923 0.418019 3.461L0.229019 3.674C0.0752361 3.84797 -0.00437434 4.07521 0.00721192 4.30713C0.0187982 4.53904 0.120661 4.75722 0.291019 4.915L2.27402 6.762C2.35832 6.8432 2.45842 6.90618 2.56811 6.94702C2.67779 6.98787 2.79471 7.00571 2.91159 6.99942C3.02846 6.99314 3.14279 6.96287 3.24747 6.91049C3.35214 6.85812 3.44492 6.78477 3.52002 6.695L7.79102 1.638C7.94063 1.46048 8.01486 1.23149 7.99786 0.999963C7.98085 0.768436 7.87396 0.552749 7.70002 0.398999Z\"/></svg>');--ez-check--indeterminate--image:url('data:image/svg+xml;utf8,<svg width=\"10\" height=\"2\" viewBox=\"0 0 10 2\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"m 1,0 h 8 c 0.554,0 1,0.446 1,1 0,0.554 -0.446,1 -1,1 H 1 C 0.446,2 0,1.554 0,1 0,0.446 0.446,0 1,0 Z\" /></svg>');--ez-check--check--background-color:var(--color--primary);--ez-check--check--disabled--background-color:var(--color--strokes);--ez-switch--slider--width:34px;--ez-switch--slider--height:14px;--ez-switch--pin--width:19px;--ez-switch--pin--height:19px;--ez-switch--focus--width:32px;--ez-switch--focus--height:32px;--ez-switch--background-color:var(--color--strokes);--ez-switch--disabled--background-color:var(--color--disable-secondary);--ez-switch--disabled--checked--background-color:var(--color--primary-300);--ez-switch--checked--background-color:var(--color--primary);--ez-switch--pin--background-color:var(--background--xlight);--ez-switch--pin--disabled--background-color:var(--color--disable-primary);--ez-switch--pin--checked--background-color:var(--background--xlight);--ez-switch--pin--checked--disabled--background-color:#E8F7F4;--ez-switch--pin--focus--background-color:var(--text--disable);--ez-switch--pin--checked--focus--background-color:var(--color--primary);--ez-switch--pin--border-color:var(--text--primary);--ez-switch--pin--disabled--border-color:var(--text--secondary);--ez-check--label--font-size:var(--text--medium, 14px);--ez-check--label--font-family:var(--font-pattern, Arial);--ez-check--label--color:var(--title--primary, #000);--ez-check--label--disabled--color:var(--text--disable, #AFB6C0);display:flex;align-items:center;margin:0;max-width:100%}input.regular-mode{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;box-sizing:border-box;-webkit-appearance:none;appearance:none;cursor:pointer;border-radius:50%;position:relative}input.compact{margin-right:0px}input.regular-mode:enabled:hover{background-color:var(--ez-check--hover--background-color)}input.regular-mode:enabled:focus{outline:none;background-color:var(--ez-check--focus--background-color)}input.regular-mode:disabled{cursor:auto;background:none}input.regular-mode::before{box-sizing:border-box;content:\"\";display:block;width:var(--ez-check--box--width);height:var(--ez-check--box--height);border-radius:var(--ez-check--border-radius);border:var(--ez-check--border)}input.regular-mode:disabled::before{border:var(--ez-check--disabled--border)}input.regular-mode:checked:enabled:hover,input.regular-mode:indeterminate:enabled:hover{background-color:var(--ez-check--checked--hover--background-color)}input.regular-mode:checked:enabled:focus,input.regular-mode:indeterminate:enabled:focus{background-color:var(--ez-check--checked--focus--background-color)}input.regular-mode:checked::before,input.regular-mode:indeterminate::before{border:var(--ez-check--checked--border);background-color:var(--ez-check--checked--background-color)}input.regular-mode:disabled:before{border:var(--ez-check--disabled--border);background-color:var(--ez-check--checked--disabled--background-color)}input.regular-mode:checked::after,input.regular-mode:indeterminate:after{display:flex;position:absolute;content:\"\";background-color:var(--ez-check--check--background-color);width:8px;height:7px;-webkit-mask-image:var(--ez-check--check--image);mask-image:var(--ez-check--check--image)}input.regular-mode:indeterminate:after{display:flex;position:absolute;content:\"\";background-color:var(--ez-check--check--background-color);width:10px;height:2px;-webkit-mask-image:var(--ez-check--indeterminate--image);mask-image:var(--ez-check--indeterminate--image)}input.regular-mode:checked:disabled::after,input.regular-mode:indeterminate:disabled::after{background-color:var(--ez-check--check--disabled--background-color)}input.switch-mode{flex-shrink:0;-webkit-appearance:none;appearance:none;position:relative;outline:none;cursor:pointer;border-radius:20px;border:var(--border--small, 1px solid) var(--ez-switch--pin--border-color, #626e82);transition:background-color var(--transition);width:var(--ez-switch--slider--width);height:var(--ez-switch--slider--height);background-color:var(--ez-switch--background-color)}input.switch-mode:disabled{background-color:var(--ez-switch--disabled--background-color);border:var(--border--small, 1px solid) var(--ez-switch--pin--disabled--border-color, #a2abb9)}input.switch-mode:checked:disabled{background-color:var(--ez-switch--disabled--checked--background-color)}input.switch-mode::after{content:\"\";display:block;position:absolute;box-shadow:var(--shadow);transition:transform var(--transition);transition:background-color var(--transition);transition:border-color var(--transition);transform:translateX(-2px) translateY(-4px);border-radius:50%;border:var(--border--small, 1px solid) var(--ez-switch--pin--border-color, #626e82);width:var(--ez-switch--pin--width);height:var(--ez-switch--pin--height);background-color:var(--ez-switch--pin--background-color)}input.switch-mode:disabled::after{background-color:var(--ez-switch--pin--disabled--background-color);border:var(--border--small, 1px solid) var(--ez-switch--pin--disabled--border-color, #a2abb9)}input.switch-mode:checked{transition:background-color var(--transition), border var(--transition);background-color:var(--ez-switch--checked--background-color);border:var(--border--small, 1px solid) var(--color--primary, #008561)}input.switch-mode::before{display:block;content:\"\";display:block;position:absolute;border-radius:50%;opacity:0;width:var(--ez-switch--focus--width);height:var(--ez-switch--focus--height);top:calc((var(--ez-switch--slider--height) - var(--ez-switch--focus--height)) / 2);left:calc((var(--ez-switch--pin--width) - var(--ez-switch--focus--width) - 2px) / 2);background-color:var(--ez-switch--pin--focus--background-color)}input.switch-mode:focus::before{opacity:0.24;transition:opacity var(--transition)}input.switch-mode:checked:focus::before{background-color:var(--ez-switch--pin--checked--focus--background-color);transform:translateX(calc(var(--ez-switch--slider--width) - var(--ez-switch--pin--width) + 2px))}input.switch-mode:checked::after{transition:transform var(--transition);transition:background-color var(--transition);transition:border-color var(--transition);transform:translateX(calc(var(--ez-switch--slider--width) - var(--ez-switch--pin--width))) translateY(-4px);box-shadow:var(--shadow);background-color:var(--ez-switch--pin--checked--background-color);border:var(--border--small, 1px solid) var(--color--primary, #008561)}input.switch-mode:checked:disabled::after{background-color:var(--ez-switch--pin--checked--disabled--background-color)}.label{flex-shrink:1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:var(--ez-check--label--color);font-size:var(--ez-check--label--font-size);font-family:var(--ez-check--label--font-family);cursor:default;width:inherit}.label--disabled{color:var(--ez-check--label--disabled--color)}.label--padding{padding-left:var(--space--extra-small)}";
2628
+ const ezCheckCss = ":host{--ez-check--box--width:20px;--ez-check--box--height:20px;--ez-check--width:calc(var(--ez-check--box--width) + var(--ez-check--outter-gap, 14px));--ez-check--height:calc(var(--ez-check--box--width) + var(--ez-check--outter-gap, 14px));--ez-check--border-radius:var(--border--radius-small);--ez-check--checked--background-color:var(--color--primary-200);--ez-check--focus--background-color:var(--color--strokes, #FFFFFF);--ez-check--hover--background-color:var(--background--medium);--ez-check--checked--disabled--background-color:var(--color--disable-secondary);--ez-check--border:var(--border--medium) var(--title--primary);--ez-check--disabled--border:var(--border--medium) var(--color--strokes);--ez-check--checked--border:var(--border--medium) var(--color--primary);--ez-check--checked--hover--background-color:var(--color--primary-200);--ez-check--checked--focus--background-color:var(--color--primary-300, #FFFFFF);--ez-check--check--image:url('data:image/svg+xml;utf8,<svg width=\"8\" height=\"7\" viewBox=\"0 0 8 7\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M7.70002 0.398999L7.48502 0.207997C7.31524 0.0598858 7.09376 -0.0150438 6.86894 -0.000430025C6.64411 0.0141838 6.43419 0.117153 6.28502 0.285997L2.70002 4.332L1.61802 3.384C1.44837 3.23576 1.22697 3.16067 1.00214 3.17509C0.77732 3.18952 0.567332 3.2923 0.418019 3.461L0.229019 3.674C0.0752361 3.84797 -0.00437434 4.07521 0.00721192 4.30713C0.0187982 4.53904 0.120661 4.75722 0.291019 4.915L2.27402 6.762C2.35832 6.8432 2.45842 6.90618 2.56811 6.94702C2.67779 6.98787 2.79471 7.00571 2.91159 6.99942C3.02846 6.99314 3.14279 6.96287 3.24747 6.91049C3.35214 6.85812 3.44492 6.78477 3.52002 6.695L7.79102 1.638C7.94063 1.46048 8.01486 1.23149 7.99786 0.999963C7.98085 0.768436 7.87396 0.552749 7.70002 0.398999Z\"/></svg>');--ez-check--indeterminate--image:url('data:image/svg+xml;utf8,<svg width=\"10\" height=\"2\" viewBox=\"0 0 10 2\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"m 1,0 h 8 c 0.554,0 1,0.446 1,1 0,0.554 -0.446,1 -1,1 H 1 C 0.446,2 0,1.554 0,1 0,0.446 0.446,0 1,0 Z\" /></svg>');--ez-check--check--background-color:var(--color--primary);--ez-check--check--disabled--background-color:var(--color--strokes);--ez-switch--slider--width:34px;--ez-switch--slider--height:14px;--ez-switch--pin--width:19px;--ez-switch--pin--height:19px;--ez-switch--focus--width:32px;--ez-switch--focus--height:32px;--ez-switch--background-color:var(--color--strokes);--ez-switch--disabled--background-color:var(--color--disable-secondary);--ez-switch--disabled--checked--background-color:var(--color--primary-300);--ez-switch--checked--background-color:var(--color--primary);--ez-switch--pin--background-color:var(--background--xlight);--ez-switch--pin--disabled--background-color:var(--color--disable-primary);--ez-switch--pin--checked--background-color:var(--background--xlight);--ez-switch--pin--checked--disabled--background-color:#E8F7F4;--ez-switch--pin--focus--background-color:var(--text--disable);--ez-switch--pin--checked--focus--background-color:var(--color--primary);--ez-switch--pin--border-color:var(--text--primary);--ez-switch--pin--disabled--border-color:var(--text--secondary);--ez-check--label--font-size:var(--text--medium, 14px);--ez-check--label--font-family:var(--font-pattern, Arial);--ez-check--label--color:var(--title--primary, #000);--ez-check--label--disabled--color:var(--text--disable, #AFB6C0);display:flex;align-items:center;margin:0;max-width:100%}input.regular-mode{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;box-sizing:border-box;-webkit-appearance:none;appearance:none;cursor:pointer;border-radius:50%;position:relative}input.compact{margin-right:0px}input.regular-mode:enabled:hover{background-color:var(--ez-check--hover--background-color)}input.regular-mode:enabled:focus{outline:none;background-color:var(--ez-check--focus--background-color)}input.regular-mode:disabled{cursor:auto;background:none}input.regular-mode::before{box-sizing:border-box;content:\"\";display:block;width:var(--ez-check--box--width);height:var(--ez-check--box--height);border-radius:var(--ez-check--border-radius);border:var(--ez-check--border)}input.regular-mode:disabled::before{border:var(--ez-check--disabled--border)}input.regular-mode:checked:enabled:hover,input.regular-mode:indeterminate:enabled:hover{background-color:var(--ez-check--checked--hover--background-color)}input.regular-mode:checked:enabled:focus,input.regular-mode:indeterminate:enabled:focus{background-color:var(--ez-check--checked--focus--background-color)}input.regular-mode:checked::before,input.regular-mode:indeterminate::before{border:var(--ez-check--checked--border);background-color:var(--ez-check--checked--background-color)}input.regular-mode:disabled:before{border:var(--ez-check--disabled--border);background-color:var(--ez-check--checked--disabled--background-color)}input.regular-mode:checked::after,input.regular-mode:indeterminate:after{display:flex;position:absolute;content:\"\";background-color:var(--ez-check--check--background-color);width:8px;height:7px;-webkit-mask-image:var(--ez-check--check--image);mask-image:var(--ez-check--check--image)}input.regular-mode:indeterminate:after{display:flex;position:absolute;content:\"\";background-color:var(--ez-check--check--background-color);width:10px;height:2px;-webkit-mask-image:var(--ez-check--indeterminate--image);mask-image:var(--ez-check--indeterminate--image)}input.regular-mode:checked:disabled::after,input.regular-mode:indeterminate:disabled::after{background-color:var(--ez-check--check--disabled--background-color)}input.switch-mode{flex-shrink:0;-webkit-appearance:none;appearance:none;position:relative;outline:none;cursor:pointer;border-radius:20px;border:var(--border--small, 1px solid) var(--ez-switch--pin--border-color, #626e82);transition:background-color var(--transition);width:var(--ez-switch--slider--width);height:var(--ez-switch--slider--height);background-color:var(--ez-switch--background-color)}input.switch-mode:disabled{background-color:var(--ez-switch--disabled--background-color);border:var(--border--small, 1px solid) var(--ez-switch--pin--disabled--border-color, #a2abb9)}input.switch-mode:checked:disabled{background-color:var(--ez-switch--disabled--checked--background-color)}input.switch-mode::after{content:\"\";display:block;position:absolute;box-shadow:var(--shadow);transition:transform var(--transition);transition:background-color var(--transition);transition:border-color var(--transition);transform:translateX(-2px) translateY(-4px);border-radius:50%;border:var(--border--small, 1px solid) var(--ez-switch--pin--border-color, #626e82);width:var(--ez-switch--pin--width);height:var(--ez-switch--pin--height);background-color:var(--ez-switch--pin--background-color)}input.switch-mode:disabled::after{background-color:var(--ez-switch--pin--disabled--background-color);border:var(--border--small, 1px solid) var(--ez-switch--pin--disabled--border-color, #a2abb9)}input.switch-mode:checked{transition:background-color var(--transition), border var(--transition);background-color:var(--ez-switch--checked--background-color);border:var(--border--small, 1px solid) var(--color--primary, #008561)}input.switch-mode::before{display:block;content:\"\";display:block;position:absolute;border-radius:50%;opacity:0;width:var(--ez-switch--focus--width);height:var(--ez-switch--focus--height);top:calc((var(--ez-switch--slider--height) - var(--ez-switch--focus--height)) / 2);left:calc((var(--ez-switch--pin--width) - var(--ez-switch--focus--width) - 2px) / 2);background-color:var(--ez-switch--pin--focus--background-color)}input.switch-mode:focus::before{opacity:0.24;transition:opacity var(--transition)}input.switch-mode:checked:focus::before{background-color:var(--ez-switch--pin--checked--focus--background-color);transform:translateX(calc(var(--ez-switch--slider--width) - var(--ez-switch--pin--width) + 2px))}input.switch-mode:checked::after{transition:transform var(--transition);transition:background-color var(--transition);transition:border-color var(--transition);transform:translateX(calc(var(--ez-switch--slider--width) - var(--ez-switch--pin--width))) translateY(-4px);box-shadow:var(--shadow);background-color:var(--ez-switch--pin--checked--background-color);border:var(--border--small, 1px solid) var(--color--primary, #008561)}input.switch-mode:checked:disabled::after{background-color:var(--ez-switch--pin--checked--disabled--background-color)}.label{flex-shrink:1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:var(--ez-check--label--color);font-size:var(--ez-check--label--font-size);font-family:var(--ez-check--label--font-family);cursor:default;width:inherit;display:flex;align-content:center;gap:var(--space--small)}.label--disabled{color:var(--ez-check--label--disabled--color)}.label--padding{padding-left:var(--space--extra-small)}.label-alternative{font-size:var(--text--small);color:var(--text--secondary);padding-top:2px}";
2601
2629
 
2602
2630
  const EzCheck$1 = class extends HTMLElement$1 {
2603
2631
  constructor() {
@@ -2606,6 +2634,7 @@ const EzCheck$1 = class extends HTMLElement$1 {
2606
2634
  this.__attachShadow();
2607
2635
  this.ezChange = createEvent(this, "ezChange", 7);
2608
2636
  this.label = undefined;
2637
+ this.alternativePlaceholder = undefined;
2609
2638
  this.value = undefined;
2610
2639
  this.enabled = true;
2611
2640
  this.indeterminate = undefined;
@@ -2657,25 +2686,32 @@ const EzCheck$1 = class extends HTMLElement$1 {
2657
2686
  this.ezChange.emit(this.value);
2658
2687
  }
2659
2688
  getLabelClasses() {
2660
- const classes = ["label"];
2689
+ const classes = ['label'];
2661
2690
  if (!this.enabled) {
2662
- classes.push("label--disabled");
2691
+ classes.push('label--disabled');
2663
2692
  }
2664
2693
  if (!this.compact) {
2665
- classes.push("label--padding");
2694
+ classes.push('label--padding');
2666
2695
  }
2667
- return classes.join(" ");
2696
+ return classes.join(' ');
2668
2697
  }
2669
2698
  getInputClasses() {
2670
2699
  var _a;
2671
- const classes = [""];
2672
- classes.push(((_a = this.mode) === null || _a === void 0 ? void 0 : _a.toUpperCase()) === CheckMode.SWITCH ? "switch-mode" : "regular-mode");
2700
+ const classes = [''];
2701
+ classes.push(((_a = this.mode) === null || _a === void 0 ? void 0 : _a.toUpperCase()) === CheckMode.SWITCH ? 'switch-mode' : 'regular-mode');
2673
2702
  if (this.compact)
2674
- classes.push("compact");
2675
- return classes.join(" ");
2703
+ classes.push('compact');
2704
+ return classes.join(' ');
2676
2705
  }
2677
2706
  render() {
2678
- return (h(Host, null, h("input", { type: "checkbox", ref: (el) => this._inputElem = el, class: this.getInputClasses(), checked: this.value === true, onChange: () => { this.changeValue(); }, indeterminate: this.indeterminate, disabled: !this.enabled, "data-element-id": ElementIDUtils.getInternalIDInfo("input") }), this.label ? h("label", { class: this.getLabelClasses(), onClick: () => { this.changeValue(); }, title: this.label }, this.label) : undefined));
2707
+ return (h(Host, null, h("input", { type: "checkbox", ref: (el) => this._inputElem = el, class: this.getInputClasses(), checked: this.value === true, onChange: () => {
2708
+ this.changeValue();
2709
+ }, indeterminate: this.indeterminate, disabled: !this.enabled, "data-element-id": ElementIDUtils.getInternalIDInfo('input') }), this.renderLabel()));
2710
+ }
2711
+ renderLabel() {
2712
+ if (!this.label)
2713
+ return undefined;
2714
+ return (h("label", { class: this.getLabelClasses(), onClick: () => this.changeValue(), title: this.label }, this.label, " ", this.alternativePlaceholder ? h("span", { class: "label-alternative" }, this.alternativePlaceholder) : undefined));
2679
2715
  }
2680
2716
  get _element() { return this; }
2681
2717
  static get watchers() { return {
@@ -2956,6 +2992,7 @@ const EzComboBox$1 = class extends HTMLElement$1 {
2956
2992
  this.listOptionsPosition = undefined;
2957
2993
  this.isTextSearch = false;
2958
2994
  this.autoFocus = false;
2995
+ this.alternativePlaceholder = undefined;
2959
2996
  }
2960
2997
  observeErrorMessage() {
2961
2998
  var _a;
@@ -3360,7 +3397,7 @@ const EzComboBox$1 = class extends HTMLElement$1 {
3360
3397
  render() {
3361
3398
  var _a;
3362
3399
  ElementIDUtils.addIDInfoIfNotExists(this.el, 'input');
3363
- return (h(Host, null, h("ez-text-input", { "data-element-id": ElementIDUtils.getInternalIDInfo("textInput"), class: `text-input-slot-container ${this.suppressSearch ? "suppressed-search-input" : ""}`, ref: elem => this._textInput = elem, "data-slave-mode": "true", enabled: this.enabled && !this.suppressSearch, onInput: event => this.onTextInputChangeHandler(event), onClick: () => this.onTextInputClickHandler(), onFocusout: () => this.onTextInputFocusOutHandler(), onKeyDown: event => this.keyDownHandler(event), label: this.label, canShowError: this.canShowError, errorMessage: this.errorMessage, mode: this.mode }, h("button", { class: "btn", slot: "rightIcon", disabled: !this.enabled, tabindex: -1, onClick: () => this.handlerIconClick() }, h("ez-icon", { iconName: "chevron-down" }))), h("ez-popover-plus", { ref: elem => this._popover = elem, anchorElement: this._textInput, autoClose: true, boxWidth: 'fit-content', overlayType: 'none', onEzVisibilityChange: event => this.isOpen = event.detail }, h("ez-combo-box-list", { ref: ref => this._comboBoxList = ref, showLoading: this._showLoading, visibleOptions: this._visibleOptions, textEmptyList: this._textEmptyList, showOptionValue: this.showOptionValue, preSelection: this._preSelection, maxWidth: this._maxWidthValue, width: (_a = this._textInput) === null || _a === void 0 ? void 0 : _a.clientWidth, onOptionSelect: (opt) => this.selectOption(opt), onOptionHover: (index) => this._preSelection = index }))));
3400
+ return (h(Host, null, h("ez-text-input", { "data-element-id": ElementIDUtils.getInternalIDInfo("textInput"), class: `text-input-slot-container ${this.suppressSearch ? "suppressed-search-input" : ""}`, ref: elem => this._textInput = elem, "data-slave-mode": "true", enabled: this.enabled && !this.suppressSearch, onInput: event => this.onTextInputChangeHandler(event), onClick: () => this.onTextInputClickHandler(), onFocusout: () => this.onTextInputFocusOutHandler(), onKeyDown: event => this.keyDownHandler(event), label: this.label, canShowError: this.canShowError, errorMessage: this.errorMessage, mode: this.mode, alternativePlaceholder: this.alternativePlaceholder }, h("button", { class: "btn", slot: "rightIcon", disabled: !this.enabled, tabindex: -1, onClick: () => this.handlerIconClick() }, h("ez-icon", { iconName: "chevron-down" }))), h("ez-popover-plus", { ref: elem => this._popover = elem, anchorElement: this._textInput, autoClose: true, boxWidth: 'fit-content', overlayType: 'none', onEzVisibilityChange: event => this.isOpen = event.detail }, h("ez-combo-box-list", { ref: ref => this._comboBoxList = ref, showLoading: this._showLoading, visibleOptions: this._visibleOptions, textEmptyList: this._textEmptyList, showOptionValue: this.showOptionValue, preSelection: this._preSelection, maxWidth: this._maxWidthValue, width: (_a = this._textInput) === null || _a === void 0 ? void 0 : _a.clientWidth, onOptionSelect: (opt) => this.selectOption(opt), onOptionHover: (index) => this._preSelection = index }))));
3364
3401
  }
3365
3402
  get el() { return this; }
3366
3403
  static get watchers() { return {
@@ -3677,6 +3714,7 @@ const EzDateInput$1 = class extends HTMLElement$1 {
3677
3714
  this.mode = "regular";
3678
3715
  this.canShowError = true;
3679
3716
  this.autoFocus = false;
3717
+ this.alternativePlaceholder = undefined;
3680
3718
  }
3681
3719
  observeLabel() {
3682
3720
  if (this._textInput) {
@@ -3827,7 +3865,7 @@ const EzDateInput$1 = class extends HTMLElement$1 {
3827
3865
  }
3828
3866
  render() {
3829
3867
  ElementIDUtils.addIDInfoIfNotExists(this._elem, 'input');
3830
- return (h(Host, null, h("ez-text-input", { "data-element-id": ElementIDUtils.getInternalIDInfo("textInput"), ref: elem => this._textInput = elem, "data-slave-mode": "true", label: this.label, onBlur: () => this.handleBlur(), onInput: (evt) => this.handleInput(evt), restrict: "0123456789/", enabled: this.enabled, errorMessage: this.errorMessage, mode: this.mode, canShowError: this.canShowError }, h("button", { disabled: !this.enabled, tabindex: -1, class: "btn-open-cal", onClick: () => { var _a; return (_a = this._popover) === null || _a === void 0 ? void 0 : _a.showUnder(this._textInput); }, slot: "leftIcon" })), h("ez-popover-plus", { ref: elem => this._popover = elem, anchorElement: this._textInput, autoClose: true, boxWidth: 'fit-content', overlayType: 'none' }, h("ez-calendar", { ref: elem => this._calendar = elem, "data-element-id": ElementIDUtils.getInternalIDInfo("calendar"), onEzChange: (event) => { this.hideCalendar(); event.stopPropagation(); } }))));
3868
+ return (h(Host, null, h("ez-text-input", { "data-element-id": ElementIDUtils.getInternalIDInfo("textInput"), ref: elem => this._textInput = elem, "data-slave-mode": "true", label: this.label, onBlur: () => this.handleBlur(), onInput: (evt) => this.handleInput(evt), restrict: "0123456789/", enabled: this.enabled, errorMessage: this.errorMessage, mode: this.mode, canShowError: this.canShowError, alternativePlaceholder: this.alternativePlaceholder }, h("button", { disabled: !this.enabled, tabindex: -1, class: "btn-open-cal", onClick: () => { var _a; return (_a = this._popover) === null || _a === void 0 ? void 0 : _a.showUnder(this._textInput); }, slot: "leftIcon" })), h("ez-popover-plus", { ref: elem => this._popover = elem, anchorElement: this._textInput, autoClose: true, boxWidth: 'fit-content', overlayType: 'none' }, h("ez-calendar", { ref: elem => this._calendar = elem, "data-element-id": ElementIDUtils.getInternalIDInfo("calendar"), onEzChange: (event) => { this.hideCalendar(); event.stopPropagation(); } }))));
3831
3869
  }
3832
3870
  get _elem() { return this; }
3833
3871
  static get watchers() { return {
@@ -3859,6 +3897,7 @@ const EzDateTimeInput$1 = class extends HTMLElement$1 {
3859
3897
  this.mode = "regular";
3860
3898
  this.canShowError = true;
3861
3899
  this.autoFocus = false;
3900
+ this.alternativePlaceholder = undefined;
3862
3901
  }
3863
3902
  observeLabel() {
3864
3903
  if (this._textInput) {
@@ -4059,7 +4098,7 @@ const EzDateTimeInput$1 = class extends HTMLElement$1 {
4059
4098
  }
4060
4099
  render() {
4061
4100
  ElementIDUtils.addIDInfoIfNotExists(this._elem, 'input');
4062
- return (h(Host, null, h("ez-text-input", { "data-element-id": ElementIDUtils.getInternalIDInfo("textInput"), ref: elem => this._textInput = elem, "data-slave-mode": "true", label: this.label, restrict: "0123456789/: ", enabled: this.enabled, errorMessage: this.errorMessage, mode: this.mode, onKeyDown: event => { this.handleKeyDown(event); }, onBlur: () => this.handleBlur(), onInput: (evt) => this.handleInput(evt), onFocus: () => this.handleFocus(), onClick: () => this.handleClick(), canShowError: this.canShowError }, h("button", { disabled: !this.enabled, tabindex: -1, class: "btn-open-cal", onClick: () => { var _a; return (_a = this._popover) === null || _a === void 0 ? void 0 : _a.showUnder(this._textInput); }, slot: "leftIcon" })), h("ez-popover-plus", { ref: elem => this._popover = elem, anchorElement: this._textInput, autoClose: true, boxWidth: 'fit-content', overlayType: 'none' }, h("ez-calendar", { ref: elem => this._calendar = elem, "data-element-id": ElementIDUtils.getInternalIDInfo("calendar"), onEzChange: (event) => { this.hideCalendar(); event.stopPropagation(); }, time: true, showSeconds: this.showSeconds }))));
4101
+ return (h(Host, null, h("ez-text-input", { "data-element-id": ElementIDUtils.getInternalIDInfo("textInput"), ref: elem => this._textInput = elem, "data-slave-mode": "true", label: this.label, restrict: "0123456789/: ", enabled: this.enabled, errorMessage: this.errorMessage, mode: this.mode, onKeyDown: event => { this.handleKeyDown(event); }, onBlur: () => this.handleBlur(), onInput: (evt) => this.handleInput(evt), onFocus: () => this.handleFocus(), onClick: () => this.handleClick(), canShowError: this.canShowError, alternativePlaceholder: this.alternativePlaceholder }, h("button", { disabled: !this.enabled, tabindex: -1, class: "btn-open-cal", onClick: () => { var _a; return (_a = this._popover) === null || _a === void 0 ? void 0 : _a.showUnder(this._textInput); }, slot: "leftIcon" })), h("ez-popover-plus", { ref: elem => this._popover = elem, anchorElement: this._textInput, autoClose: true, boxWidth: 'fit-content', overlayType: 'none' }, h("ez-calendar", { ref: elem => this._calendar = elem, "data-element-id": ElementIDUtils.getInternalIDInfo("calendar"), onEzChange: (event) => { this.hideCalendar(); event.stopPropagation(); }, time: true, showSeconds: this.showSeconds }))));
4063
4102
  }
4064
4103
  get _elem() { return this; }
4065
4104
  static get watchers() { return {
@@ -56477,9 +56516,11 @@ class DataSource {
56477
56516
  var _a, _b, _c, _d;
56478
56517
  const props = new Map();
56479
56518
  props.set(PRESENTATION_FROM_COL_PROP_NAME, field.name);
56519
+ const descriptionFieldName = `${(_a = field.properties) === null || _a === void 0 ? void 0 : _a.ENTITYNAME}.${(_b = field.properties) === null || _b === void 0 ? void 0 : _b.DESCRIPTIONFIELD}`;
56520
+ this._dataUnit.addSourceFieldValue(descriptionFieldName, field.name);
56480
56521
  return {
56481
- label: `${(_a = field.properties) === null || _a === void 0 ? void 0 : _a.DESCRIPTIONFIELDLABEL} (${(_b = field.properties) === null || _b === void 0 ? void 0 : _b.DESCRIPTIONENTITY})`,
56482
- name: `${(_c = field.properties) === null || _c === void 0 ? void 0 : _c.ENTITYNAME}.${(_d = field.properties) === null || _d === void 0 ? void 0 : _d.DESCRIPTIONFIELD}`,
56522
+ label: `${(_c = field.properties) === null || _c === void 0 ? void 0 : _c.DESCRIPTIONFIELDLABEL} (${(_d = field.properties) === null || _d === void 0 ? void 0 : _d.DESCRIPTIONENTITY})`,
56523
+ name: descriptionFieldName,
56483
56524
  userInterface: UserInterface.SHORTTEXT,
56484
56525
  props
56485
56526
  };
@@ -57524,21 +57565,25 @@ class GridEditionManager {
57524
57565
  return this.updateCellValue(event, resolved);
57525
57566
  }
57526
57567
  async updateCellValue(event, newValue) {
57527
- var _a, _b, _c, _d;
57568
+ var _a, _b, _c;
57528
57569
  const fieldName = event.colDef.field;
57570
+ const fieldDescriptor = this._dataUnit.getField(fieldName);
57571
+ if (newValue == '' && newValue != this._dataUnit.getFieldValue(fieldName) && (fieldDescriptor === null || fieldDescriptor === void 0 ? void 0 : fieldDescriptor.userInterface) === UserInterface.SEARCH) {
57572
+ newValue = this._dataUnit.getFieldValue(fieldName);
57573
+ }
57529
57574
  const newData = { [fieldName]: newValue };
57530
- const descriptionColName = (_b = (_a = this._dataUnit.getField(fieldName)) === null || _a === void 0 ? void 0 : _a.properties) === null || _b === void 0 ? void 0 : _b[PRESENTATION_COL_ID_PROP_NAME];
57575
+ const descriptionColName = (_a = fieldDescriptor === null || fieldDescriptor === void 0 ? void 0 : fieldDescriptor.properties) === null || _a === void 0 ? void 0 : _a[PRESENTATION_COL_ID_PROP_NAME];
57531
57576
  if (!StringUtils$1.isEmpty(descriptionColName)) {
57532
57577
  newData[descriptionColName] = newValue === null || newValue === void 0 ? void 0 : newValue.label;
57533
57578
  }
57534
- event.node.setData(Object.assign(Object.assign({}, event.data), { newData }));
57535
- (_c = this._currentEditLock) === null || _c === void 0 ? void 0 : _c.call(this);
57579
+ event.node.setData(Object.assign(Object.assign({}, event.data), { [fieldName]: newValue }));
57580
+ (_b = this._currentEditLock) === null || _b === void 0 ? void 0 : _b.call(this);
57536
57581
  if (event.oldValue !== newValue) {
57537
57582
  this._isGridEdition = true;
57538
57583
  await this._dataUnit.setFieldValue(fieldName, newValue, [event.data.__record__id__], { suppressCreateNewRecord: true });
57539
57584
  this._lastCellEdited = { rowIndex: event.rowIndex, column: event.column, rowPinned: undefined };
57540
57585
  }
57541
- (_d = this._inProgressChanges) === null || _d === void 0 ? void 0 : _d.forEach(({ resolve }) => resolve(newValue));
57586
+ (_c = this._inProgressChanges) === null || _c === void 0 ? void 0 : _c.forEach(({ resolve }) => resolve(newValue));
57542
57587
  }
57543
57588
  setCellEditors(customEditors) {
57544
57589
  var _a;
@@ -71014,7 +71059,8 @@ class AgGridController {
71014
71059
  }
71015
71060
  showFilterColumn(configs) {
71016
71061
  var _a;
71017
- (_a = this._filterColumn) === null || _a === void 0 ? void 0 : _a.show(configs);
71062
+ const presentationMetadata = this.resolveDescriptionColMetadata(configs.columnName);
71063
+ (_a = this._filterColumn) === null || _a === void 0 ? void 0 : _a.show(Object.assign(Object.assign({}, configs), { fieldDescriptor: presentationMetadata }));
71018
71064
  }
71019
71065
  constructor(_enterprise) {
71020
71066
  this.DEFAULT_ROW_HEIGHT = 30;
@@ -71070,10 +71116,15 @@ class AgGridController {
71070
71116
  return;
71071
71117
  }
71072
71118
  return Array.from(this._filteredColumns.entries())
71073
- .map(([column, items]) => {
71119
+ .map(([col, items]) => {
71074
71120
  var _a;
71075
71121
  const checkedOptions = items.filter(option => option.check);
71076
71122
  if (checkedOptions.length > 0) {
71123
+ let column = col;
71124
+ const presentationFrom = this.getCodeColFromDescriptionCol(col);
71125
+ if (!StringUtils$1.isEmpty(presentationFrom)) {
71126
+ column = presentationFrom;
71127
+ }
71077
71128
  const fieldDescriptor = this._dataUnit.getField(column);
71078
71129
  const dataType = (_a = fieldDescriptor === null || fieldDescriptor === void 0 ? void 0 : fieldDescriptor.dataType) !== null && _a !== void 0 ? _a : DataType.TEXT;
71079
71130
  let placeholders = '';
@@ -71267,6 +71318,23 @@ class AgGridController {
71267
71318
  action: () => this.showFilterColumn({ columnName, columnLabel, leftPosition: this._filterColumnleftPosition, filteredOptions: this._filteredColumns.get(columnName) }),
71268
71319
  };
71269
71320
  }
71321
+ resolveDescriptionColMetadata(columnName) {
71322
+ var _a;
71323
+ const colDef = (_a = this._gridOptions.columnApi.getColumn(columnName)) === null || _a === void 0 ? void 0 : _a.getColDef();
71324
+ const presentationFrom = this.getCodeColFromDescriptionCol(columnName);
71325
+ if (!StringUtils$1.isEmpty(presentationFrom)) {
71326
+ return {
71327
+ label: colDef.headerName,
71328
+ name: columnName,
71329
+ userInterface: UserInterface.SHORTTEXT,
71330
+ dataType: DataType.TEXT,
71331
+ properties: {
71332
+ [PRESENTATION_FROM_COL_PROP_NAME]: presentationFrom
71333
+ }
71334
+ };
71335
+ }
71336
+ return undefined;
71337
+ }
71270
71338
  buildMenuItemOptionPin(params) {
71271
71339
  const { column, columnApi } = params;
71272
71340
  const isPinned = params.column.isPinned();
@@ -71593,7 +71661,7 @@ class AgGridController {
71593
71661
  }
71594
71662
  syncSelectWithDataUnit() {
71595
71663
  const rowNode = this._gridOptions.api.getRowNode(this._dataUnit.getSelectedRecord().__record__id__);
71596
- if ((rowNode === null || rowNode === void 0 ? void 0 : rowNode.rowIndex) < 0)
71664
+ if (!rowNode || (rowNode === null || rowNode === void 0 ? void 0 : rowNode.rowIndex) < 0)
71597
71665
  return;
71598
71666
  const rowRange = this._gridOptions.api.getCellRanges().find(row => row.startRow.rowIndex === rowNode.rowIndex);
71599
71667
  if ((rowRange === null || rowRange === void 0 ? void 0 : rowRange.columns.length) > 0) {
@@ -71864,7 +71932,7 @@ class AgGridController {
71864
71932
  return filterOptions.map(item => item.check).includes(true);
71865
71933
  }
71866
71934
  buildColDef(source) {
71867
- var _a, _b, _c, _d;
71935
+ var _a, _b, _c, _d, _e;
71868
71936
  let tooltip = undefined;
71869
71937
  const propSortable = StringUtils$1.getBooleanValue((_a = source.props) === null || _a === void 0 ? void 0 : _a.get('gridSortable'), true);
71870
71938
  if ((_b = source.props) === null || _b === void 0 ? void 0 : _b.get('gridHeaderTooltip')) {
@@ -71873,6 +71941,7 @@ class AgGridController {
71873
71941
  else if (propSortable === false) {
71874
71942
  tooltip = 'Coluna não pode ser ordenada';
71875
71943
  }
71944
+ const presentationFrom = (_d = source === null || source === void 0 ? void 0 : source.props) === null || _d === void 0 ? void 0 : _d.get(PRESENTATION_FROM_COL_PROP_NAME);
71876
71945
  return this._editionManager.configureColumn({
71877
71946
  headerName: source.label,
71878
71947
  field: source.name,
@@ -71880,16 +71949,16 @@ class AgGridController {
71880
71949
  resizable: true,
71881
71950
  headerComponent: 'ezGridCustomHeader',
71882
71951
  headerComponentParams: {
71952
+ presentationFrom,
71883
71953
  tooltip: tooltip,
71884
71954
  isSortable: propSortable,
71885
71955
  hasFilter: () => this.hasFilterColumn(source.name),
71886
71956
  showColumnFilter: (leftPosition) => this.showFilterColumn({ columnName: source.name, columnLabel: source.label, leftPosition, filteredOptions: this._filteredColumns.get(source.name), fromIcon: true }),
71887
71957
  },
71888
71958
  valueFormatter: params => {
71889
- var _a, _b, _c, _d;
71890
- const presentationFrom = (_a = source === null || source === void 0 ? void 0 : source.props) === null || _a === void 0 ? void 0 : _a.get(PRESENTATION_FROM_COL_PROP_NAME);
71959
+ var _a, _b, _c;
71891
71960
  if (presentationFrom) {
71892
- return (_d = (_c = (_b = params === null || params === void 0 ? void 0 : params.data) === null || _b === void 0 ? void 0 : _b[presentationFrom]) === null || _c === void 0 ? void 0 : _c.label) !== null && _d !== void 0 ? _d : "";
71961
+ return (_c = (_b = (_a = params === null || params === void 0 ? void 0 : params.data) === null || _a === void 0 ? void 0 : _a[presentationFrom]) === null || _b === void 0 ? void 0 : _b.label) !== null && _c !== void 0 ? _c : "";
71893
71962
  }
71894
71963
  if (params.value === undefined || params.value === null) {
71895
71964
  return "";
@@ -71910,7 +71979,7 @@ class AgGridController {
71910
71979
  return this.getFormatterByColumn(params, source);
71911
71980
  },
71912
71981
  cellStyle: this.getStyleByColumn(source),
71913
- editable: !((_d = source.props) === null || _d === void 0 ? void 0 : _d.has(PRESENTATION_FROM_COL_PROP_NAME))
71982
+ editable: !((_e = source.props) === null || _e === void 0 ? void 0 : _e.has(PRESENTATION_FROM_COL_PROP_NAME))
71914
71983
  });
71915
71984
  }
71916
71985
  setCustomFormatters(customFormatters) {
@@ -72181,6 +72250,12 @@ class AgGridController {
72181
72250
  const labelSize = ((label === null || label === void 0 ? void 0 : label.length) || 0) * this.DEFAULT_FONT_SIZE + this.DEFAULT_ICON_SIZE;
72182
72251
  return labelSize > this.DEFAULT_MAX_SIZE ? this.DEFAULT_MAX_SIZE : labelSize;
72183
72252
  }
72253
+ getCodeColFromDescriptionCol(descriptionColName) {
72254
+ var _a;
72255
+ const colGrid = this._gridOptions.columnApi.getColumn(descriptionColName);
72256
+ const colDef = colGrid === null || colGrid === void 0 ? void 0 : colGrid.getColDef();
72257
+ return (_a = colDef === null || colDef === void 0 ? void 0 : colDef.headerComponentParams) === null || _a === void 0 ? void 0 : _a.presentationFrom;
72258
+ }
72184
72259
  }
72185
72260
 
72186
72261
  function enableSelectAll(total) {
@@ -74120,6 +74195,7 @@ const EzNumberInput$1 = class extends HTMLElement$1 {
74120
74195
  this.prettyPrecision = undefined;
74121
74196
  this.mode = "regular";
74122
74197
  this.autoFocus = false;
74198
+ this.alternativePlaceholder = undefined;
74123
74199
  }
74124
74200
  /**
74125
74201
  * Aplica o foco no campo.
@@ -74278,7 +74354,7 @@ const EzNumberInput$1 = class extends HTMLElement$1 {
74278
74354
  if (this.allowNegative) {
74279
74355
  restrict += '-';
74280
74356
  }
74281
- return (h("ez-text-input", { class: "number__input", "data-element-id": ElementIDUtils.getInternalIDInfo("textInput"), ref: elem => this._textInput = elem, "data-slave-mode": "true", label: this.label, onBlur: () => this.handleBlur(), onInput: () => this.handleInput(), restrict: restrict, enabled: this.enabled, errorMessage: this.errorMessage, mode: this.mode, canShowError: this.canShowError, value: this._value }));
74357
+ return (h("ez-text-input", { class: "number__input", "data-element-id": ElementIDUtils.getInternalIDInfo("textInput"), ref: elem => this._textInput = elem, "data-slave-mode": "true", label: this.label, onBlur: () => this.handleBlur(), onInput: () => this.handleInput(), restrict: restrict, enabled: this.enabled, errorMessage: this.errorMessage, mode: this.mode, canShowError: this.canShowError, value: this._value, alternativePlaceholder: this.alternativePlaceholder }));
74282
74358
  }
74283
74359
  get _elem() { return this; }
74284
74360
  static get watchers() { return {
@@ -76557,6 +76633,7 @@ const EzSearch$1 = class extends HTMLElement$1 {
76557
76633
  this.ensureClearButtonVisible = false;
76558
76634
  this.suppressPreLoad = true;
76559
76635
  this.autoFocus = false;
76636
+ this.alternativePlaceholder = undefined;
76560
76637
  }
76561
76638
  observeErrorMessage() {
76562
76639
  var _a;
@@ -77111,7 +77188,7 @@ const EzSearch$1 = class extends HTMLElement$1 {
77111
77188
  render() {
77112
77189
  var _a;
77113
77190
  ElementIDUtils.addIDInfoIfNotExists(this.el, 'input');
77114
- return (h(Host, null, h("ez-text-input", { "data-element-id": ElementIDUtils.getInternalIDInfo("textInput"), class: this.suppressSearch ? "suppressed-search-input" : "", ref: elem => this._textInput = elem, "data-slave-mode": "true", enabled: this.enabled && !this.suppressSearch, onInput: event => this.onTextInputChangeHandler(event), onFocusout: () => this.onTextInputFocusOutHandler(), onKeyDown: event => this.keyDownHandler(event), label: this.label, canShowError: this.canShowError, errorMessage: this.errorMessage, mode: this.mode }, h("button", { class: "btn", slot: "leftIcon", disabled: !this.enabled, tabindex: -1, onClick: () => this.handlerIconClick() }, this.canShowLoadSpinDescription() ? h("div", { class: "message__loading" }) : h("ez-icon", { iconName: "search" })), (((_a = this._textInput) === null || _a === void 0 ? void 0 : _a.value) && (this._criteria || this.value) || this.ensureClearButtonVisible)
77191
+ return (h(Host, null, h("ez-text-input", { "data-element-id": ElementIDUtils.getInternalIDInfo("textInput"), class: this.suppressSearch ? "suppressed-search-input" : "", ref: elem => this._textInput = elem, "data-slave-mode": "true", enabled: this.enabled && !this.suppressSearch, onInput: event => this.onTextInputChangeHandler(event), onFocusout: () => this.onTextInputFocusOutHandler(), onKeyDown: event => this.keyDownHandler(event), label: this.label, canShowError: this.canShowError, errorMessage: this.errorMessage, mode: this.mode, alternativePlaceholder: this.alternativePlaceholder }, h("button", { class: "btn", slot: "leftIcon", disabled: !this.enabled, tabindex: -1, onClick: () => this.handlerIconClick() }, this.canShowLoadSpinDescription() ? h("div", { class: "message__loading" }) : h("ez-icon", { iconName: "search" })), (((_a = this._textInput) === null || _a === void 0 ? void 0 : _a.value) && (this._criteria || this.value) || this.ensureClearButtonVisible)
77115
77192
  ? h("button", { class: "btn btn__close", slot: "rightIcon", disabled: !this.enabled, tabindex: -1, onClick: () => this.clearSearch() }, h("ez-icon", { iconName: "close" }))
77116
77193
  : undefined), h("ez-popover-plus", { ref: elem => this._ezPopOverPlusElement = elem, autoClose: false, overlayType: "none", useAnchorSize: true, anchorElement: [this._textInput, this.el] }, h("search-list", { ref: (ref) => this._searchList = ref, showLoading: this._showLoading, visibleOptions: this._visibleOptions, textEmptyList: this._textEmptyList, canShowListOptions: this.canShowListOptions(), value: this.value, showOptionValue: this.showOptionValue, preSelection: this._preSelection, onChangeValue: ({ detail }) => this.selectOption(detail), onChangePreSelection: ({ detail }) => this.onChangePreSelection(detail) }))));
77117
77194
  }
@@ -79105,6 +79182,8 @@ const EzTextArea$1 = class extends HTMLElement$1 {
79105
79182
  this.enableResize = true;
79106
79183
  this.autoRows = false;
79107
79184
  this.autoFocus = false;
79185
+ this.alternativePlaceholder = undefined;
79186
+ this.forceLabelFloat = false;
79108
79187
  }
79109
79188
  observeErrorMessage() {
79110
79189
  var _a, _b, _c, _d;
@@ -79155,6 +79234,9 @@ const EzTextArea$1 = class extends HTMLElement$1 {
79155
79234
  (_b = this._resizeObserver) === null || _b === void 0 ? void 0 : _b.disconnect();
79156
79235
  }
79157
79236
  }
79237
+ observeAlternativePlaceholder(newValue) {
79238
+ this.forceLabelFloat = !!newValue;
79239
+ }
79158
79240
  //---------------------------------------------
79159
79241
  // Public methods
79160
79242
  //---------------------------------------------
@@ -79203,6 +79285,8 @@ const EzTextArea$1 = class extends HTMLElement$1 {
79203
79285
  return this._inputElem && (this.value || "") !== this._inputElem.value;
79204
79286
  }
79205
79287
  adjustFloatingLabel() {
79288
+ if (this.forceLabelFloat)
79289
+ return;
79206
79290
  if (this.label && this._labelElem) {
79207
79291
  const hasValue = this.value && this.value.toString().length > 0;
79208
79292
  const containsFloatedClass = this._labelElem.classList.contains("textarea__label--floated");
@@ -79286,6 +79370,19 @@ const EzTextArea$1 = class extends HTMLElement$1 {
79286
79370
  var _a;
79287
79371
  (_a = this._resizeObserver) === null || _a === void 0 ? void 0 : _a.disconnect();
79288
79372
  }
79373
+ buildPlaceholder() {
79374
+ if (this.alternativePlaceholder)
79375
+ return this.alternativePlaceholder;
79376
+ return (this.mode === "slim" && this.label) ? this.label : '';
79377
+ }
79378
+ buildLabelClass() {
79379
+ let classList = this.enabled ? 'textarea__label' : 'textarea__label textarea__label--disabled';
79380
+ if (this.errorMessage)
79381
+ classList = classList + ' hasError';
79382
+ if (this.forceLabelFloat)
79383
+ classList = classList + ' textarea__label--floated';
79384
+ return classList;
79385
+ }
79289
79386
  //---------------------------------------------
79290
79387
  // Lifecycle web component
79291
79388
  //---------------------------------------------
@@ -79302,11 +79399,11 @@ const EzTextArea$1 = class extends HTMLElement$1 {
79302
79399
  render() {
79303
79400
  ElementIDUtils.addIDInfoIfNotExists(this._hostElement, 'input');
79304
79401
  return (h(Host, null, h("div", { class: `textarea ${this.enabled ? "" : "textarea--disabled"}`, ref: (el) => this._container = el }, this.label && this.mode != "slim" ?
79305
- h("label", { ref: (el) => this._labelElem = el, class: this.enabled ? "textarea__label" : "textarea__label textarea__label--disabled", onClick: () => this._inputElem.focus(), title: this.label }, this.label)
79402
+ h("label", { ref: (el) => this._labelElem = el, class: this.buildLabelClass(), onClick: () => this._inputElem.focus(), title: this.label }, this.label)
79306
79403
  : null, h("textarea", { onFocus: () => this.handleFocus(), "data-element-id": ElementIDUtils.getInternalIDInfo("input"), ref: (el) => this._inputElem = el, value: this.value, disabled: !this.enabled, class: {
79307
79404
  "textarea--slim": this.mode === "slim",
79308
79405
  "textarea--resizable": this.enableResize
79309
- }, placeholder: this.mode === "slim" && this.label ? this.label : "", onInput: () => { this.handleChange(); }, onFocusout: () => { this.handleFocusout(); }, rows: this.rows })), this.canShowError && this.mode != "slim" &&
79406
+ }, placeholder: this.buildPlaceholder(), onInput: () => { this.handleChange(); }, onFocusout: () => { this.handleFocusout(); }, rows: this.rows })), this.canShowError && this.mode != "slim" &&
79310
79407
  h("span", { class: "message-box", ref: (el) => this._messageBoxElem = el, title: this.errorMessage }, this.errorMessage)));
79311
79408
  }
79312
79409
  get _hostElement() { return this; }
@@ -79315,7 +79412,8 @@ const EzTextArea$1 = class extends HTMLElement$1 {
79315
79412
  "value": ["observeValue"],
79316
79413
  "mode": ["observeMode"],
79317
79414
  "rows": ["observeRows"],
79318
- "autoRows": ["observeAutoRows"]
79415
+ "autoRows": ["observeAutoRows"],
79416
+ "alternativePlaceholder": ["observeAlternativePlaceholder"]
79319
79417
  }; }
79320
79418
  static get style() { return ezTextAreaCss; }
79321
79419
  };
@@ -79428,6 +79526,7 @@ const EzTextInput$1 = class extends HTMLElement$1 {
79428
79526
  this.ezChange = createEvent(this, "ezChange", 7);
79429
79527
  this._isOverflowing = false;
79430
79528
  this.label = undefined;
79529
+ this.alternativePlaceholder = undefined;
79431
79530
  this.value = undefined;
79432
79531
  this.enabled = true;
79433
79532
  this.errorMessage = undefined;
@@ -79441,6 +79540,7 @@ const EzTextInput$1 = class extends HTMLElement$1 {
79441
79540
  this.password = false;
79442
79541
  this.autoFocus = false;
79443
79542
  this.hasRightSlotContent = false;
79543
+ this.forceLabelFloat = false;
79444
79544
  }
79445
79545
  observeHasInvalid(newValue, oldValue) {
79446
79546
  if (newValue === oldValue) {
@@ -79472,6 +79572,9 @@ const EzTextInput$1 = class extends HTMLElement$1 {
79472
79572
  }
79473
79573
  }
79474
79574
  }
79575
+ observeAlternativePlaceholder(newValue) {
79576
+ this.forceLabelFloat = !!newValue;
79577
+ }
79475
79578
  //---------------------------------------------
79476
79579
  // Private methods
79477
79580
  //---------------------------------------------
@@ -79499,6 +79602,8 @@ const EzTextInput$1 = class extends HTMLElement$1 {
79499
79602
  if (this._inputElem && !this._inputElem.classList.contains("input--with--label")) {
79500
79603
  this._inputElem.classList.add("input--with--label");
79501
79604
  }
79605
+ if (this.forceLabelFloat)
79606
+ return;
79502
79607
  const hasValue = this.value && this.value.toString().length > 0;
79503
79608
  const containsFloatedClass = this._labelElem.classList.contains("input__label--floated");
79504
79609
  if (hasValue || this.isFocused()) {
@@ -79674,6 +79779,19 @@ const EzTextInput$1 = class extends HTMLElement$1 {
79674
79779
  getValue() {
79675
79780
  return this.mask && this.cleanValueMask ? this.applyMask(this.value) : this.value;
79676
79781
  }
79782
+ buildLabelClass() {
79783
+ let classList = this.enabled ? 'input__label' : 'input__label input__label--disabled';
79784
+ if (this.errorMessage)
79785
+ classList = classList + ' hasError';
79786
+ if (this.forceLabelFloat)
79787
+ classList = classList + ' input__label--floated';
79788
+ return classList;
79789
+ }
79790
+ buildPlaceholder() {
79791
+ if (this.alternativePlaceholder)
79792
+ return this.alternativePlaceholder;
79793
+ return (this.mode === "slim" && this.label) ? this.label : '';
79794
+ }
79677
79795
  checkIsOverflowing() {
79678
79796
  if (this._inputElem) {
79679
79797
  this._isOverflowing = this._inputElem.offsetWidth < this._inputElem.scrollWidth;
@@ -79723,11 +79841,14 @@ const EzTextInput$1 = class extends HTMLElement$1 {
79723
79841
  this._inputElem.setSelectionRange(0, (_a = this._inputElem) === null || _a === void 0 ? void 0 : _a.value.length);
79724
79842
  });
79725
79843
  }
79844
+ componentDidRender() {
79845
+ this.adjustFloatingLabel();
79846
+ }
79726
79847
  render() {
79727
79848
  ElementIDUtils.addIDInfoIfNotExists(this._hostElement, 'input');
79728
79849
  return (h(Host, { style: this._hostElement.classList.contains("grid_editor") ? { "height": "100%" } : null }, h("slot", { name: "leftIcon", onSlotchange: (ev) => { this.handleSlotChange(ev); } }), this.label && this.mode != "slim" ?
79729
- h("label", { ref: (el) => this._labelElem = el, class: `${this.enabled ? "input__label" : "input__label input__label--disabled"} ${this.errorMessage ? "hasError" : ""}`, onClick: () => this._inputElem.focus(), title: this.label }, this.label)
79730
- : null, h("input", { "data-element-id": ElementIDUtils.getInternalIDInfo("input"), onFocus: () => this.doFocus(), ref: (el) => this._inputElem = el, type: this.password ? "password" : "text", class: `${this.mode === "slim" ? "input--slim" : ""}`, placeholder: this.mode === "slim" && this.label ? this.label : "", value: this.getValue(), disabled: !this.enabled, onInput: () => { this.handleChange(); }, onFocusout: () => { this.handleFocusout(); } }), h("ez-tooltip", { anchoringElement: this._hostElement, message: this.getValue(), active: this._isOverflowing, useAnchorSize: true }), this.canShowError && this.mode != "slim" && this.errorMessage &&
79850
+ h("label", { ref: (el) => this._labelElem = el, class: this.buildLabelClass(), onClick: () => this._inputElem.focus(), title: this.label }, this.label)
79851
+ : null, h("input", { "data-element-id": ElementIDUtils.getInternalIDInfo("input"), onFocus: () => this.doFocus(), ref: (el) => this._inputElem = el, type: this.password ? "password" : "text", class: `${this.mode === "slim" ? "input--slim" : ""}`, placeholder: this.buildPlaceholder(), value: this.getValue(), disabled: !this.enabled, onInput: () => { this.handleChange(); }, onFocusout: () => { this.handleFocusout(); } }), h("ez-tooltip", { anchoringElement: this._hostElement, message: this.getValue(), active: this._isOverflowing, useAnchorSize: true }), this.canShowError && this.mode != "slim" && this.errorMessage &&
79731
79852
  h("ez-tooltip", { type: "error", message: this.errorMessage }, h("ez-icon", { class: `tooltip-icon ${this.errorMessage ? "hasError" : ""} ${this.hasRightSlotContent ? "rightIconSlot" : ""}`, "data-element-id": ElementIDUtils.getInternalIDInfo("tooltip-icon"), ref: (el) => this._tooltipIconElem = el, iconName: "alert-circle" })), h("slot", { name: "rightIcon", onSlotchange: (ev) => { this.handleSlotChange(ev); } }, " ")));
79732
79853
  }
79733
79854
  get _hostElement() { return this; }
@@ -79736,7 +79857,8 @@ const EzTextInput$1 = class extends HTMLElement$1 {
79736
79857
  "errorMessage": ["observeHasInvalid"],
79737
79858
  "canShowError": ["observeHasInvalid"],
79738
79859
  "mask": ["observeMask"],
79739
- "value": ["observeValue"]
79860
+ "value": ["observeValue"],
79861
+ "alternativePlaceholder": ["observeAlternativePlaceholder"]
79740
79862
  }; }
79741
79863
  static get style() { return ezTextInputCss; }
79742
79864
  };
@@ -79759,6 +79881,7 @@ const EzTimeInput$1 = class extends HTMLElement$1 {
79759
79881
  this.mode = "regular";
79760
79882
  this.canShowError = true;
79761
79883
  this.autoFocus = false;
79884
+ this.alternativePlaceholder = undefined;
79762
79885
  }
79763
79886
  observeErrorMessage() {
79764
79887
  var _a;
@@ -79896,7 +80019,7 @@ const EzTimeInput$1 = class extends HTMLElement$1 {
79896
80019
  }
79897
80020
  render() {
79898
80021
  ElementIDUtils.addIDInfoIfNotExists(this._elem, 'input');
79899
- return (h(Host, null, h("ez-text-input", { class: "time__input", "data-element-id": ElementIDUtils.getInternalIDInfo("textInput"), ref: (el) => this._textInput = el, "data-slave-mode": "true", value: this._viewValue, enabled: this.enabled, label: this.label, restrict: "0123456789:", onBlur: () => this.handleBlur(), onInput: () => this.handleInput(), errorMessage: this.errorMessage, mode: this.mode, canShowError: this.canShowError }, h("ez-icon", { slot: "leftIcon", iconName: "timer-outline" }))));
80022
+ return (h(Host, null, h("ez-text-input", { class: "time__input", "data-element-id": ElementIDUtils.getInternalIDInfo("textInput"), ref: (el) => this._textInput = el, "data-slave-mode": "true", value: this._viewValue, enabled: this.enabled, label: this.label, restrict: "0123456789:", onBlur: () => this.handleBlur(), onInput: () => this.handleInput(), errorMessage: this.errorMessage, mode: this.mode, canShowError: this.canShowError, alternativePlaceholder: this.alternativePlaceholder }, h("ez-icon", { slot: "leftIcon", iconName: "timer-outline" }))));
79900
80023
  }
79901
80024
  static get assetsDirs() { return ["../assets"]; }
79902
80025
  get _elem() { return this; }
@@ -81220,13 +81343,14 @@ const FilterColumn$1 = class extends HTMLElement$1 {
81220
81343
  * @Params IFilterColumnConfigs informações para configurar o filtro
81221
81344
  */
81222
81345
  async show(configs) {
81346
+ var _a;
81223
81347
  if (this.canShow(configs)) {
81224
81348
  await this.hide();
81225
- this.fieldDescriptor = this.dataUnit.getField(configs.columnName);
81349
+ this.fieldDescriptor = (_a = configs.fieldDescriptor) !== null && _a !== void 0 ? _a : this.dataUnit.getField(configs.columnName);
81226
81350
  this.buildIsTextSearch();
81227
81351
  this.columnName = configs.columnName;
81228
81352
  this.columnLabel = configs.columnLabel;
81229
- await this.setOptions(configs.filteredOptions);
81353
+ await this.setOptions(configs);
81230
81354
  await this.ezPopoverElement.showUnder(`filter-column-${configs.columnName}-${this.dataUnit.dataUnitId}`);
81231
81355
  }
81232
81356
  }
@@ -81264,14 +81388,22 @@ const FilterColumn$1 = class extends HTMLElement$1 {
81264
81388
  return this.fieldDescriptor.userInterface === UserInterface.SWITCH
81265
81389
  || this.fieldDescriptor.userInterface === UserInterface.CHECKBOX;
81266
81390
  }
81267
- async setOptions(selectedItems) {
81391
+ async setOptions(config) {
81392
+ var _a, _b, _c, _d;
81393
+ const selectedItems = config.filteredOptions;
81268
81394
  const validateFieldUserInterfaceOptionSelector = this.hasToUseOptions();
81269
81395
  if (validateFieldUserInterfaceOptionSelector) {
81270
81396
  this.useOptions = validateFieldUserInterfaceOptionSelector;
81271
81397
  this.options = validateFieldUserInterfaceOptionSelector ? this.buildOptions(selectedItems) : (selectedItems !== null && selectedItems !== void 0 ? selectedItems : null);
81272
81398
  return;
81273
81399
  }
81274
- const options = await this.dataSource.getStaticOptions(this.columnName);
81400
+ let colName = this.columnName;
81401
+ const staticOptionsConfig = { onlyLabel: false };
81402
+ if ((_b = (_a = config.fieldDescriptor) === null || _a === void 0 ? void 0 : _a.properties) === null || _b === void 0 ? void 0 : _b[PRESENTATION_FROM_COL_PROP_NAME]) {
81403
+ colName = (_d = (_c = config.fieldDescriptor) === null || _c === void 0 ? void 0 : _c.properties) === null || _d === void 0 ? void 0 : _d[PRESENTATION_FROM_COL_PROP_NAME];
81404
+ staticOptionsConfig.onlyLabel = true;
81405
+ }
81406
+ const options = await this.dataSource.getStaticOptions(colName, staticOptionsConfig);
81275
81407
  if (options != undefined) {
81276
81408
  const selected = new Set((selectedItems || []).filter(item => item.check).map(item => item.label));
81277
81409
  this.useOptions = true;
@@ -81412,14 +81544,14 @@ const EzButton = /*@__PURE__*/proxyCustomElement(EzButton$1, [1,"ez-button",{"la
81412
81544
  const EzCalendar = /*@__PURE__*/proxyCustomElement(EzCalendar$1, [1,"ez-calendar",{"value":[1040],"floating":[516],"time":[516],"showSeconds":[516,"show-seconds"]},[[11,"scroll","scrollListener"]]]);
81413
81545
  const EzCardItem = /*@__PURE__*/proxyCustomElement(EzCardItem$1, [1,"ez-card-item",{"item":[16],"enableKey":[4,"enable-key"],"compacted":[4]}]);
81414
81546
  const EzChart = /*@__PURE__*/proxyCustomElement(EzChart$1, [1,"ez-chart",{"type":[1],"xAxis":[16],"yAxis":[16],"chartTitle":[1,"chart-title"],"chartSubTitle":[1,"chart-sub-title"],"legendEnabled":[4,"legend-enabled"],"series":[16],"width":[2],"height":[2]}]);
81415
- const EzCheck = /*@__PURE__*/proxyCustomElement(EzCheck$1, [1,"ez-check",{"label":[513],"value":[1540],"enabled":[1540],"indeterminate":[1540],"mode":[513],"compact":[4]}]);
81547
+ const EzCheck = /*@__PURE__*/proxyCustomElement(EzCheck$1, [1,"ez-check",{"label":[513],"alternativePlaceholder":[513,"alternative-placeholder"],"value":[1540],"enabled":[1540],"indeterminate":[1540],"mode":[513],"compact":[4]}]);
81416
81548
  const EzChip = /*@__PURE__*/proxyCustomElement(EzChip$1, [1,"ez-chip",{"label":[513],"enabled":[516],"removePosition":[513,"remove-position"],"mode":[513],"value":[1540],"showNativeTooltip":[4,"show-native-tooltip"]}]);
81417
81549
  const EzCollapsibleBox = /*@__PURE__*/proxyCustomElement(EzCollapsibleBox$1, [1,"ez-collapsible-box",{"value":[1540],"boxBordered":[4,"box-bordered"],"label":[513],"subtitle":[513],"headerSize":[513,"header-size"],"iconPlacement":[513,"icon-placement"],"headerAlign":[513,"header-align"],"removable":[516],"editable":[516],"conditionalSave":[16],"_activeEditText":[32]}]);
81418
- const EzComboBox = /*@__PURE__*/proxyCustomElement(EzComboBox$1, [1,"ez-combo-box",{"limitCharsToSearch":[2,"limit-chars-to-search"],"value":[1537],"label":[513],"enabled":[516],"options":[1040],"errorMessage":[1537,"error-message"],"showSelectedValue":[4,"show-selected-value"],"showOptionValue":[4,"show-option-value"],"suppressSearch":[4,"suppress-search"],"optionLoader":[16],"suppressEmptyOption":[4,"suppress-empty-option"],"stopPropagateEnterKeyEvent":[4,"stop-propagate-enter-key-event"],"canShowError":[516,"can-show-error"],"mode":[513],"hideErrorOnFocusOut":[4,"hide-error-on-focus-out"],"listOptionsPosition":[16],"isTextSearch":[4,"is-text-search"],"autoFocus":[4,"auto-focus"],"isOpen":[32],"_preSelection":[32],"_visibleOptions":[32],"_startLoading":[32],"_showLoading":[32],"_criteria":[32]}]);
81550
+ const EzComboBox = /*@__PURE__*/proxyCustomElement(EzComboBox$1, [1,"ez-combo-box",{"limitCharsToSearch":[2,"limit-chars-to-search"],"value":[1537],"label":[513],"enabled":[516],"options":[1040],"errorMessage":[1537,"error-message"],"showSelectedValue":[4,"show-selected-value"],"showOptionValue":[4,"show-option-value"],"suppressSearch":[4,"suppress-search"],"optionLoader":[16],"suppressEmptyOption":[4,"suppress-empty-option"],"stopPropagateEnterKeyEvent":[4,"stop-propagate-enter-key-event"],"canShowError":[516,"can-show-error"],"mode":[513],"hideErrorOnFocusOut":[4,"hide-error-on-focus-out"],"listOptionsPosition":[16],"isTextSearch":[4,"is-text-search"],"autoFocus":[4,"auto-focus"],"alternativePlaceholder":[513,"alternative-placeholder"],"isOpen":[32],"_preSelection":[32],"_visibleOptions":[32],"_startLoading":[32],"_showLoading":[32],"_criteria":[32]}]);
81419
81551
  const EzComboBoxList = /*@__PURE__*/proxyCustomElement(EzComboBoxList$1, [1,"ez-combo-box-list",{"showLoading":[4,"show-loading"],"visibleOptions":[16],"textEmptyList":[1,"text-empty-list"],"showOptionValue":[4,"show-option-value"],"preSelection":[2,"pre-selection"],"maxWidth":[2,"max-width"],"width":[2],"onOptionSelect":[16],"onOptionHover":[16]},[[0,"keydown","handleKeyDown"]]]);
81420
81552
  const EzCustomFormInput = /*@__PURE__*/proxyCustomElement(EzCustomFormInput$1, [2,"ez-custom-form-input",{"customEditor":[16],"formViewField":[16],"value":[1032],"detailContext":[1,"detail-context"],"builderFallback":[16],"selectedRecord":[16],"gui":[32]}]);
81421
- const EzDateInput = /*@__PURE__*/proxyCustomElement(EzDateInput$1, [1,"ez-date-input",{"label":[513],"value":[1040],"enabled":[516],"errorMessage":[1537,"error-message"],"mode":[513],"canShowError":[516,"can-show-error"],"autoFocus":[4,"auto-focus"]}]);
81422
- 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],"canShowError":[516,"can-show-error"],"autoFocus":[4,"auto-focus"]}]);
81553
+ const EzDateInput = /*@__PURE__*/proxyCustomElement(EzDateInput$1, [1,"ez-date-input",{"label":[513],"value":[1040],"enabled":[516],"errorMessage":[1537,"error-message"],"mode":[513],"canShowError":[516,"can-show-error"],"autoFocus":[4,"auto-focus"],"alternativePlaceholder":[513,"alternative-placeholder"]}]);
81554
+ 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],"canShowError":[516,"can-show-error"],"autoFocus":[4,"auto-focus"],"alternativePlaceholder":[513,"alternative-placeholder"]}]);
81423
81555
  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"],"beforeClose":[1040]}]);
81424
81556
  const EzDoubleList = /*@__PURE__*/proxyCustomElement(EzDoubleList$1, [2,"ez-double-list",{"leftList":[1040],"leftTitle":[1,"left-title"],"rightList":[1040],"entityLabel":[1,"entity-label"],"entityLabelPlural":[1,"entity-label-plural"],"leftListLabel":[1,"left-list-label"],"rightListLabel":[1,"right-list-label"],"rightTitle":[1,"right-title"],"leftFilteredList":[32],"rightFilteredList":[32],"selectedLeftList":[32],"selectedRightList":[32],"isFilteringLeft":[32],"isFilteringRight":[32]}]);
81425
81557
  const EzDropdown = /*@__PURE__*/proxyCustomElement(EzDropdown$1, [1,"ez-dropdown",{"items":[1040],"value":[1040],"itemBuilder":[16]},[[4,"click","handleClickOutside"]]]);
@@ -81435,14 +81567,14 @@ const EzLoadingBar = /*@__PURE__*/proxyCustomElement(EzLoadingBar$1, [1,"ez-load
81435
81567
  const EzModal = /*@__PURE__*/proxyCustomElement(EzModal$1, [1,"ez-modal",{"modalSize":[1,"modal-size"],"align":[1],"heightMode":[1,"height-mode"],"opened":[1028],"closeEsc":[4,"close-esc"],"closeOutsideClick":[4,"close-outside-click"],"closeOutsideLeave":[4,"close-outside-leave"],"scrim":[1]}]);
81436
81568
  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"],"showCloseButton":[4,"show-close-button"]},[[4,"ezCloseModal","handleEzModalAction"]]]);
81437
81569
  const EzMultiSelectionList = /*@__PURE__*/proxyCustomElement(EzMuiltiSelectionList, [2,"ez-multi-selection-list",{"columnName":[1,"column-name"],"dataSource":[16],"useOptions":[1028,"use-options"],"options":[1040],"isTextSearch":[4,"is-text-search"],"filteredOptions":[32],"displayOptions":[32],"viewScenario":[32],"displayOptionToCheckAllItems":[32]}]);
81438
- const EzNumberInput = /*@__PURE__*/proxyCustomElement(EzNumberInput$1, [1,"ez-number-input",{"label":[1],"value":[1538],"enabled":[4],"canShowError":[516,"can-show-error"],"errorMessage":[1537,"error-message"],"allowNegative":[4,"allow-negative"],"precision":[2],"prettyPrecision":[2,"pretty-precision"],"mode":[513],"autoFocus":[4,"auto-focus"],"_value":[32]}]);
81570
+ const EzNumberInput = /*@__PURE__*/proxyCustomElement(EzNumberInput$1, [1,"ez-number-input",{"label":[1],"value":[1538],"enabled":[4],"canShowError":[516,"can-show-error"],"errorMessage":[1537,"error-message"],"allowNegative":[4,"allow-negative"],"precision":[2],"prettyPrecision":[2,"pretty-precision"],"mode":[513],"autoFocus":[4,"auto-focus"],"alternativePlaceholder":[1,"alternative-placeholder"],"_value":[32]}]);
81439
81571
  const EzPopover = /*@__PURE__*/proxyCustomElement(EzPopover$1, [1,"ez-popover",{"autoClose":[516,"auto-close"],"boxWidth":[513,"box-width"],"opened":[1540],"innerElement":[1537,"inner-element"],"overlayType":[513,"overlay-type"]}]);
81440
81572
  const EzPopoverCore = /*@__PURE__*/proxyCustomElement(EzPopoverCore$1, [1,"ez-popover-core",{"autoClose":[516,"auto-close"],"boxWidth":[513,"box-width"],"opened":[1540],"overlayType":[513,"overlay-type"],"anchorElement":[1537,"anchor-element"],"options":[1040],"useAnchorSize":[516,"use-anchor-size"],"minWidth":[514,"min-width"]}]);
81441
81573
  const EzPopoverPlus = /*@__PURE__*/proxyCustomElement(EzPopoverPlus$1, [1,"ez-popover-plus",{"autoClose":[516,"auto-close"],"boxWidth":[513,"box-width"],"opened":[1540],"overlayType":[513,"overlay-type"],"anchorElement":[1537,"anchor-element"],"options":[1040],"useAnchorSize":[516,"use-anchor-size"],"minWidth":[514,"min-width"]}]);
81442
81574
  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"],"enabledScroll":[4,"enabled-scroll"]}]);
81443
81575
  const EzRadioButton = /*@__PURE__*/proxyCustomElement(EzRadioButton$1, [1,"ez-radio-button",{"value":[1544],"options":[1040],"enabled":[516],"label":[513],"direction":[1537]}]);
81444
81576
  const EzScroller = /*@__PURE__*/proxyCustomElement(EzScroller$1, [1,"ez-scroller",{"direction":[1],"locked":[4],"activeShadow":[4,"active-shadow"],"isActive":[32]},[[2,"click","clickListener"],[1,"mousedown","mouseDownHandler"],[1,"mouseup","mouseUpHandler"],[1,"mousemove","mouseMoveHandler"]]]);
81445
- const EzSearch = /*@__PURE__*/proxyCustomElement(EzSearch$1, [1,"ez-search",{"value":[1537],"label":[1537],"enabled":[1540],"errorMessage":[1537,"error-message"],"optionLoader":[16],"contextProperties":[8,"context-properties"],"showSelectedValue":[4,"show-selected-value"],"showOptionValue":[4,"show-option-value"],"suppressEmptyOption":[4,"suppress-empty-option"],"stopPropagateEnterKeyEvent":[4,"stop-propagate-enter-key-event"],"mode":[513],"canShowError":[516,"can-show-error"],"hideErrorOnFocusOut":[4,"hide-error-on-focus-out"],"listOptionsPosition":[16],"isTextSearch":[4,"is-text-search"],"ignoreLimitCharsToSearch":[4,"ignore-limit-chars-to-search"],"options":[1040],"suppressSearch":[4,"suppress-search"],"ensureClearButtonVisible":[4,"ensure-clear-button-visible"],"suppressPreLoad":[4,"suppress-pre-load"],"autoFocus":[4,"auto-focus"],"_preSelection":[32],"_visibleOptions":[32],"_startLoading":[32],"_showLoading":[32],"_showLoadingDescription":[32],"_criteria":[32]}]);
81577
+ const EzSearch = /*@__PURE__*/proxyCustomElement(EzSearch$1, [1,"ez-search",{"value":[1537],"label":[1537],"enabled":[1540],"errorMessage":[1537,"error-message"],"optionLoader":[16],"contextProperties":[8,"context-properties"],"showSelectedValue":[4,"show-selected-value"],"showOptionValue":[4,"show-option-value"],"suppressEmptyOption":[4,"suppress-empty-option"],"stopPropagateEnterKeyEvent":[4,"stop-propagate-enter-key-event"],"mode":[513],"canShowError":[516,"can-show-error"],"hideErrorOnFocusOut":[4,"hide-error-on-focus-out"],"listOptionsPosition":[16],"isTextSearch":[4,"is-text-search"],"ignoreLimitCharsToSearch":[4,"ignore-limit-chars-to-search"],"options":[1040],"suppressSearch":[4,"suppress-search"],"ensureClearButtonVisible":[4,"ensure-clear-button-visible"],"suppressPreLoad":[4,"suppress-pre-load"],"autoFocus":[4,"auto-focus"],"alternativePlaceholder":[513,"alternative-placeholder"],"_preSelection":[32],"_visibleOptions":[32],"_startLoading":[32],"_showLoading":[32],"_showLoadingDescription":[32],"_criteria":[32]}]);
81446
81578
  const EzSearchPlus = /*@__PURE__*/proxyCustomElement(EzSearchPlus$1, [1,"ez-search-plus",{"value":[1537],"enabled":[1540],"disableCodeInput":[1540,"disable-code-input"],"disableDescriptionInput":[1540,"disable-description-input"],"label":[1537],"codLabel":[1537,"cod-label"],"hideDescriptionInput":[1540,"hide-description-input"],"canShowError":[516,"can-show-error"],"errorMessage":[1537,"error-message"],"mode":[513],"contextProperties":[8,"context-properties"],"optionLoader":[16],"showOptionValue":[4,"show-option-value"],"stopPropagateEnterKeyEvent":[4,"stop-propagate-enter-key-event"],"autoFocus":[4,"auto-focus"],"showSelectedValue":[4,"show-selected-value"],"suppressEmptyOption":[4,"suppress-empty-option"],"hideErrorOnFocusOut":[4,"hide-error-on-focus-out"],"listOptionsPosition":[16],"isTextSearch":[4,"is-text-search"],"ignoreLimitCharsToSearch":[4,"ignore-limit-chars-to-search"],"suppressSearch":[4,"suppress-search"],"suppressPreLoad":[4,"suppress-pre-load"],"ensureClearButtonVisible":[4,"ensure-clear-button-visible"],"descriptionValue":[32],"codeValue":[32],"isLoadingDescription":[32],"searchDescriptionIsOpen":[32],"visibleOptions":[32],"showLoading":[32]}]);
81447
81579
  const EzSearchResultList = /*@__PURE__*/proxyCustomElement(EzSearchResultList$1, [1,"ez-search-result-list",{"showLoading":[4,"show-loading"],"visibleOptions":[16],"value":[1],"showOptionValue":[4,"show-option-value"],"_preSelection":[32]}]);
81448
81580
  const EzSidebarButton = /*@__PURE__*/proxyCustomElement(EzSidebarButton$1, [1,"ez-sidebar-button"]);
@@ -81452,10 +81584,10 @@ const EzSplitButton = /*@__PURE__*/proxyCustomElement(EzSplitButton$1, [1,"ez-sp
81452
81584
  const EzSplitItem = /*@__PURE__*/proxyCustomElement(SplitItem, [4,"ez-split-item",{"label":[1],"enableExpand":[516,"enable-expand"],"size":[1],"structural":[4],"_expanded":[32]}]);
81453
81585
  const EzSplitPanel = /*@__PURE__*/proxyCustomElement(SplitPanel, [0,"ez-split-panel",{"direction":[1],"anchorToExpand":[4,"anchor-to-expand"],"structural":[4]}]);
81454
81586
  const EzTabselector = /*@__PURE__*/proxyCustomElement(EzTabselector$1, [1,"ez-tabselector",{"selectedIndex":[1538,"selected-index"],"selectedTab":[1537,"selected-tab"],"tabs":[1],"_processedTabs":[32]}]);
81455
- 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],"enableResize":[516,"enable-resize"],"autoRows":[516,"auto-rows"],"autoFocus":[4,"auto-focus"]}]);
81587
+ 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],"enableResize":[516,"enable-resize"],"autoRows":[516,"auto-rows"],"autoFocus":[4,"auto-focus"],"alternativePlaceholder":[513,"alternative-placeholder"],"forceLabelFloat":[32]}]);
81456
81588
  const EzTextEdit = /*@__PURE__*/proxyCustomElement(EzTextEdit$1, [1,"ez-text-edit",{"value":[1],"styled":[16],"_newValue":[32]}]);
81457
- const EzTextInput = /*@__PURE__*/proxyCustomElement(EzTextInput$1, [1,"ez-text-input",{"label":[513],"value":[1537],"enabled":[516],"errorMessage":[1537,"error-message"],"hasInvalid":[1540,"has-invalid"],"mask":[1],"cleanValueMask":[4,"clean-value-mask"],"canShowError":[516,"can-show-error"],"restrict":[1],"mode":[513],"noBorder":[516,"no-border"],"password":[4],"autoFocus":[4,"auto-focus"],"hasRightSlotContent":[32]}]);
81458
- 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],"canShowError":[516,"can-show-error"],"autoFocus":[4,"auto-focus"]}]);
81589
+ const EzTextInput = /*@__PURE__*/proxyCustomElement(EzTextInput$1, [1,"ez-text-input",{"label":[513],"alternativePlaceholder":[513,"alternative-placeholder"],"value":[1537],"enabled":[516],"errorMessage":[1537,"error-message"],"hasInvalid":[1540,"has-invalid"],"mask":[1],"cleanValueMask":[4,"clean-value-mask"],"canShowError":[516,"can-show-error"],"restrict":[1],"mode":[513],"noBorder":[516,"no-border"],"password":[4],"autoFocus":[4,"auto-focus"],"hasRightSlotContent":[32],"forceLabelFloat":[32]}]);
81590
+ 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],"canShowError":[516,"can-show-error"],"autoFocus":[4,"auto-focus"],"alternativePlaceholder":[1,"alternative-placeholder"]}]);
81459
81591
  const EzToast = /*@__PURE__*/proxyCustomElement(EzToast$1, [1,"ez-toast",{"message":[1025],"fadeTime":[1026,"fade-time"],"useIcon":[1028,"use-icon"],"canClose":[1028,"can-close"]}]);
81460
81592
  const EzTooltip = /*@__PURE__*/proxyCustomElement(EzTooltip$1, [1,"ez-tooltip",{"message":[1],"anchoringElement":[16],"placement":[1],"gapOptions":[16],"type":[1],"debouncingTime":[2,"debouncing-time"],"active":[4],"maxWidth":[2,"max-width"],"useAnchorSize":[4,"use-anchor-size"]}]);
81461
81593
  const EzTree = /*@__PURE__*/proxyCustomElement(EzTree$1, [1,"ez-tree",{"items":[1040],"value":[1040],"selectedId":[1537,"selected-id"],"iconResolver":[16],"tooltipResolver":[16],"_tree":[32],"_waintingForLoad":[32]},[[2,"keydown","onKeyDownListener"]]]);