@sankhyalabs/ezui 5.22.0-dev.8 → 5.22.0-dev.80

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 (311) hide show
  1. package/dist/cjs/DataBinder-e92314c2.js +445 -0
  2. package/dist/cjs/FocusResolver-885f2173.js +35 -0
  3. package/dist/cjs/ez-actions-button.cjs.entry.js +3 -2
  4. package/dist/cjs/ez-button.cjs.entry.js +11 -5
  5. package/dist/cjs/ez-card-item_2.cjs.entry.js +76 -0
  6. package/dist/cjs/ez-check.cjs.entry.js +1 -1
  7. package/dist/cjs/ez-collapsible-box.cjs.entry.js +1 -1
  8. package/dist/cjs/ez-combo-box.cjs.entry.js +67 -13
  9. package/dist/cjs/ez-custom-form-input_2.cjs.entry.js +35 -5
  10. package/dist/cjs/ez-date-input.cjs.entry.js +14 -4
  11. package/dist/cjs/ez-date-time-input.cjs.entry.js +11 -4
  12. package/dist/cjs/ez-dialog.cjs.entry.js +14 -7
  13. package/dist/cjs/ez-double-list.cjs.entry.js +287 -0
  14. package/dist/cjs/{ez-dropdown.cjs.entry.js → ez-dropdown_2.cjs.entry.js} +75 -8
  15. package/dist/cjs/ez-filter-input.cjs.entry.js +130 -0
  16. package/dist/cjs/ez-form-view.cjs.entry.js +29 -22
  17. package/dist/cjs/ez-form.cjs.entry.js +6 -325
  18. package/dist/cjs/ez-grid.cjs.entry.js +14861 -69696
  19. package/dist/cjs/ez-icon.cjs.entry.js +1 -1
  20. package/dist/cjs/ez-list.cjs.entry.js +258 -211
  21. package/dist/cjs/ez-modal-container.cjs.entry.js +2 -1
  22. package/dist/cjs/ez-modal.cjs.entry.js +19 -4
  23. package/dist/cjs/ez-multi-selection-list.cjs.entry.js +2 -2
  24. package/dist/cjs/ez-number-input.cjs.entry.js +15 -2
  25. package/dist/cjs/ez-popup.cjs.entry.js +24 -2
  26. package/dist/cjs/ez-scroller_2.cjs.entry.js +3 -3
  27. package/dist/cjs/ez-search.cjs.entry.js +108 -47
  28. package/dist/cjs/ez-sidebar-navigator.cjs.entry.js +1 -1
  29. package/dist/cjs/ez-split-button.cjs.entry.js +2 -2
  30. package/dist/cjs/ez-split-item.cjs.entry.js +5 -2
  31. package/dist/cjs/ez-split-panel.cjs.entry.js +68 -6
  32. package/dist/cjs/ez-text-area.cjs.entry.js +68 -6
  33. package/dist/cjs/ez-text-input.cjs.entry.js +153 -16
  34. package/dist/cjs/ez-time-input.cjs.entry.js +8 -1
  35. package/dist/cjs/ez-tooltip.cjs.entry.js +55 -0
  36. package/dist/cjs/ez-tree.cjs.entry.js +5 -4
  37. package/dist/cjs/ezListHelper-0d3970b4.js +90 -0
  38. package/dist/cjs/ezui.cjs.js +1 -1
  39. package/dist/cjs/filter-column.cjs.entry.js +2 -2
  40. package/dist/cjs/index-a7b0c73d.js +16 -8
  41. package/dist/cjs/loader.cjs.js +1 -1
  42. package/dist/collection/collection-manifest.json +3 -1
  43. package/dist/collection/components/ez-actions-button/ez-actions-button.js +3 -2
  44. package/dist/collection/components/ez-button/ez-button.css +23 -13
  45. package/dist/collection/components/ez-button/ez-button.js +12 -6
  46. package/dist/collection/components/ez-card-item/ez-card-item.css +60 -10
  47. package/dist/collection/components/ez-card-item/ez-card-item.js +30 -3
  48. package/dist/collection/components/ez-check/ez-check.css +1 -6
  49. package/dist/collection/components/ez-collapsible-box/ez-collapsible-box.css +2 -2
  50. package/dist/collection/components/ez-combo-box/ez-combo-box.css +13 -1
  51. package/dist/collection/components/ez-combo-box/ez-combo-box.js +130 -15
  52. package/dist/collection/components/ez-date-input/ez-date-input.css +1 -1
  53. package/dist/collection/components/ez-date-input/ez-date-input.js +58 -5
  54. package/dist/collection/components/ez-date-time-input/ez-date-time-input.css +1 -1
  55. package/dist/collection/components/ez-date-time-input/ez-date-time-input.js +55 -5
  56. package/dist/collection/components/ez-dialog/ez-dialog.css +3 -3
  57. package/dist/collection/components/ez-dialog/ez-dialog.js +14 -16
  58. package/dist/collection/components/ez-double-list/doubleListHelper.js +82 -0
  59. package/dist/collection/components/ez-double-list/ez-double-list.css +62 -0
  60. package/dist/collection/components/ez-double-list/ez-double-list.js +440 -0
  61. package/dist/collection/components/ez-dropdown/ez-dropdown.js +33 -8
  62. package/dist/collection/components/ez-filter-input/ez-filter-input.js +55 -5
  63. package/dist/collection/components/ez-form/ez-form.js +1 -0
  64. package/dist/collection/components/ez-form-view/custom-input/ez-custom-form-input.js +49 -6
  65. package/dist/collection/components/ez-form-view/ez-form-view.css +5 -2
  66. package/dist/collection/components/ez-form-view/fieldbuilder/FieldBuilder.js +2 -1
  67. package/dist/collection/components/ez-form-view/fieldbuilder/templates/CheckBox.tpl.js +1 -1
  68. package/dist/collection/components/ez-form-view/fieldbuilder/templates/ComboBox.tpl.js +1 -1
  69. package/dist/collection/components/ez-form-view/fieldbuilder/templates/DateInput.tpl.js +8 -4
  70. package/dist/collection/components/ez-form-view/fieldbuilder/templates/FileInput.tpl.js +1 -1
  71. package/dist/collection/components/ez-form-view/fieldbuilder/templates/NumberInput.tpl.js +1 -1
  72. package/dist/collection/components/ez-form-view/fieldbuilder/templates/SearchInput.tpl.js +3 -2
  73. package/dist/collection/components/ez-form-view/fieldbuilder/templates/TextArea.tpl.js +1 -1
  74. package/dist/collection/components/ez-form-view/fieldbuilder/templates/TextInput.tpl.js +2 -2
  75. package/dist/collection/components/ez-grid/controller/ag-grid/AgGridController.js +292 -63
  76. package/dist/collection/components/ez-grid/controller/ag-grid/DataSource.js +151 -31
  77. package/dist/collection/components/ez-grid/controller/ag-grid/DataSourceInterceptor.js +2 -1
  78. package/dist/collection/components/ez-grid/controller/ag-grid/GridEditionManager.js +219 -42
  79. package/dist/collection/components/ez-grid/controller/ag-grid/components/EzGridCustomCellEditor.js +16 -0
  80. package/dist/collection/components/ez-grid/controller/ag-grid/editor/EzCellEditor.js +8 -0
  81. package/dist/collection/components/ez-grid/controller/ag-grid/editor/templates/ComboBox.tpl.js +2 -0
  82. package/dist/collection/components/ez-grid/controller/ag-grid/editor/templates/DateInput.tpl.js +1 -0
  83. package/dist/collection/components/ez-grid/controller/ag-grid/editor/templates/NumberInput.tpl.js +1 -0
  84. package/dist/collection/components/ez-grid/controller/ag-grid/editor/templates/Search.tpl.js +8 -1
  85. package/dist/collection/components/ez-grid/controller/ag-grid/editor/templates/TextInput.tpl.js +4 -1
  86. package/dist/collection/components/ez-grid/controller/ag-grid/test/constants/GridEditionMock.js +2 -0
  87. package/dist/collection/components/ez-grid/ez-grid.css +47 -8
  88. package/dist/collection/components/ez-grid/ez-grid.js +280 -9
  89. package/dist/collection/components/ez-grid/subcomponents/filter-column.css +4 -0
  90. package/dist/collection/components/ez-grid/subcomponents/filter-column.js +1 -1
  91. package/dist/collection/components/ez-icon/ez-icon.css +155 -149
  92. package/dist/collection/components/ez-list/ez-list.css +2 -1
  93. package/dist/collection/components/ez-list/ez-list.js +301 -212
  94. package/dist/collection/components/ez-list/ezListHelper.js +85 -0
  95. package/dist/collection/components/ez-modal/ez-modal.css +5 -1
  96. package/dist/collection/components/ez-modal/ez-modal.js +38 -5
  97. package/dist/collection/components/ez-modal-container/ez-modal-container.js +20 -1
  98. package/dist/collection/components/ez-multi-selection-list/ez-multi-selection-list.css +2 -3
  99. package/dist/collection/components/ez-multi-selection-list/ez-multi-selection-list.js +1 -1
  100. package/dist/collection/components/ez-number-input/ez-number-input.css +8 -0
  101. package/dist/collection/components/ez-number-input/ez-number-input.js +68 -1
  102. package/dist/collection/components/ez-popup/ez-popup.css +8 -3
  103. package/dist/collection/components/ez-popup/ez-popup.js +43 -3
  104. package/dist/collection/components/ez-scroller/ez-scroller.css +1 -0
  105. package/dist/collection/components/ez-search/ez-search.css +21 -10
  106. package/dist/collection/components/ez-search/ez-search.js +211 -53
  107. package/dist/collection/components/ez-sidebar-button/ez-sidebar-button.css +3 -0
  108. package/dist/collection/components/ez-sidebar-button/ez-sidebar-button.js +1 -1
  109. package/dist/collection/components/ez-sidebar-navigator/ez-sidebar-navigator.css +3 -1
  110. package/dist/collection/components/ez-skeleton/ez-skeleton.css +54 -34
  111. package/dist/collection/components/ez-split-button/ez-split-button.css +50 -14
  112. package/dist/collection/components/ez-split-button/ez-split-button.js +3 -3
  113. package/dist/collection/components/ez-split-panel/ez-split-panel.css +15 -0
  114. package/dist/collection/components/ez-split-panel/ez-split-panel.js +106 -5
  115. package/dist/collection/components/ez-split-panel/interfaces/IPanelSizeInfo.js +1 -0
  116. package/dist/collection/components/ez-split-panel/structure/item/ez-split-item.css +14 -2
  117. package/dist/collection/components/ez-split-panel/structure/item/ez-split-item.js +22 -1
  118. package/dist/collection/components/ez-text-area/ez-text-area.css +78 -29
  119. package/dist/collection/components/ez-text-area/ez-text-area.js +104 -4
  120. package/dist/collection/components/ez-text-input/ez-text-input.css +106 -91
  121. package/dist/collection/components/ez-text-input/ez-text-input.js +185 -15
  122. package/dist/collection/components/ez-time-input/ez-time-input.js +44 -1
  123. package/dist/collection/components/ez-tooltip/ez-tooltip.css +20 -0
  124. package/dist/collection/components/ez-tooltip/ez-tooltip.js +116 -0
  125. package/dist/collection/components/ez-tree/ez-tree.js +21 -1
  126. package/dist/collection/components/ez-tree/subcomponents/TreeItem.js +3 -3
  127. package/dist/collection/sw.js +46 -0
  128. package/dist/collection/utils/FocusResolver.js +31 -0
  129. package/dist/collection/utils/ResponsiveInputUtils.js +26 -0
  130. package/dist/collection/utils/form/DataBinder.js +22 -7
  131. package/dist/collection/utils/form/FormMetadata.js +2 -1
  132. package/dist/collection/utils/interfaces/AbstractFieldMetadata.js +1 -1
  133. package/dist/collection/utils/validators/recordvalidator/IInvalidCells.js +1 -0
  134. package/dist/collection/utils/validators/recordvalidator/RecordValidationProcessor.js +7 -1
  135. package/dist/custom-elements/index.d.ts +12 -0
  136. package/dist/custom-elements/index.js +16502 -70294
  137. package/dist/esm/DataBinder-9c877244.js +441 -0
  138. package/dist/esm/FocusResolver-1ccbf850.js +33 -0
  139. package/dist/esm/ez-actions-button.entry.js +3 -2
  140. package/dist/esm/ez-button.entry.js +11 -5
  141. package/dist/esm/ez-card-item_2.entry.js +71 -0
  142. package/dist/esm/ez-check.entry.js +1 -1
  143. package/dist/esm/ez-collapsible-box.entry.js +1 -1
  144. package/dist/esm/ez-combo-box.entry.js +68 -14
  145. package/dist/esm/ez-custom-form-input_2.entry.js +36 -6
  146. package/dist/esm/ez-date-input.entry.js +14 -4
  147. package/dist/esm/ez-date-time-input.entry.js +11 -4
  148. package/dist/esm/ez-dialog.entry.js +15 -8
  149. package/dist/esm/ez-double-list.entry.js +283 -0
  150. package/dist/esm/{ez-dropdown.entry.js → ez-dropdown_2.entry.js} +75 -9
  151. package/dist/esm/ez-filter-input.entry.js +126 -0
  152. package/dist/esm/ez-form-view.entry.js +29 -22
  153. package/dist/esm/ez-form.entry.js +5 -324
  154. package/dist/esm/ez-grid.entry.js +14891 -69726
  155. package/dist/esm/ez-icon.entry.js +1 -1
  156. package/dist/esm/ez-list.entry.js +258 -211
  157. package/dist/esm/ez-modal-container.entry.js +2 -1
  158. package/dist/esm/ez-modal.entry.js +19 -4
  159. package/dist/esm/ez-multi-selection-list.entry.js +2 -2
  160. package/dist/esm/ez-number-input.entry.js +15 -2
  161. package/dist/esm/ez-popup.entry.js +24 -2
  162. package/dist/esm/ez-scroller_2.entry.js +3 -3
  163. package/dist/esm/ez-search.entry.js +108 -47
  164. package/dist/esm/ez-sidebar-navigator.entry.js +1 -1
  165. package/dist/esm/ez-split-button.entry.js +2 -2
  166. package/dist/esm/ez-split-item.entry.js +5 -2
  167. package/dist/esm/ez-split-panel.entry.js +69 -7
  168. package/dist/esm/ez-text-area.entry.js +68 -6
  169. package/dist/esm/ez-text-input.entry.js +153 -16
  170. package/dist/esm/ez-time-input.entry.js +8 -1
  171. package/dist/esm/ez-tooltip.entry.js +51 -0
  172. package/dist/esm/ez-tree.entry.js +5 -4
  173. package/dist/esm/ezListHelper-00fb9b8d.js +87 -0
  174. package/dist/esm/ezui.js +1 -1
  175. package/dist/esm/filter-column.entry.js +2 -2
  176. package/dist/esm/index-baa5e267.js +16 -8
  177. package/dist/esm/loader.js +1 -1
  178. package/dist/ezui/ezui.esm.js +1 -1
  179. package/dist/ezui/p-14b769d7.entry.js +1 -0
  180. package/dist/ezui/p-16e612fc.entry.js +1 -0
  181. package/dist/ezui/p-17eabf46.entry.js +1 -0
  182. package/dist/ezui/p-2475fd6e.entry.js +1 -0
  183. package/dist/ezui/p-2bb2a0c4.entry.js +1 -0
  184. package/dist/ezui/p-2f45506d.entry.js +1 -0
  185. package/dist/ezui/p-35464ae8.entry.js +1 -0
  186. package/dist/ezui/p-354abfe8.entry.js +1 -0
  187. package/dist/ezui/{p-baf80b13.entry.js → p-35d467a8.entry.js} +1 -1
  188. package/dist/ezui/p-3f2dd525.entry.js +1 -0
  189. package/dist/ezui/p-420f97ff.entry.js +1 -0
  190. package/dist/ezui/p-50d83a46.entry.js +1 -0
  191. package/dist/ezui/p-654b3f99.entry.js +1 -0
  192. package/dist/ezui/p-65f471bc.entry.js +1 -0
  193. package/dist/ezui/p-6cdd3e0a.entry.js +1 -0
  194. package/dist/ezui/p-6d79930d.entry.js +1 -0
  195. package/dist/ezui/p-6f22a385.entry.js +1 -0
  196. package/dist/ezui/p-7409eeaa.entry.js +1 -0
  197. package/dist/ezui/p-7e677b7b.entry.js +1 -0
  198. package/dist/ezui/{p-bf79aaa1.entry.js → p-7fdd479f.entry.js} +1 -1
  199. package/dist/ezui/p-80dfc50b.js +1 -0
  200. package/dist/ezui/p-990b4318.entry.js +1 -0
  201. package/dist/ezui/p-a6fe527a.entry.js +1 -0
  202. package/dist/ezui/p-acddfb2e.js +1 -0
  203. package/dist/ezui/p-b6597f49.entry.js +309 -0
  204. package/dist/ezui/p-b6a4e6de.entry.js +1 -0
  205. package/dist/ezui/p-c3045972.entry.js +1 -0
  206. package/dist/ezui/p-ca6340a9.entry.js +1 -0
  207. package/dist/ezui/p-cf87aacb.entry.js +1 -0
  208. package/dist/ezui/p-da1b4a38.entry.js +1 -0
  209. package/dist/ezui/p-dc628ed3.js +1 -0
  210. package/dist/ezui/p-dc8b36c3.entry.js +1 -0
  211. package/dist/ezui/{p-84e439b9.entry.js → p-e347df9c.entry.js} +1 -1
  212. package/dist/ezui/p-e3e3fd7a.entry.js +1 -0
  213. package/dist/ezui/p-ea54d056.entry.js +1 -0
  214. package/dist/ezui/p-f43dbada.entry.js +1 -0
  215. package/dist/ezui/p-fa6732f2.entry.js +1 -0
  216. package/dist/ezui/p-fec696ab.entry.js +1 -0
  217. package/dist/types/components/ez-button/ez-button.d.ts +2 -1
  218. package/dist/types/components/ez-card-item/ez-card-item.d.ts +5 -0
  219. package/dist/types/components/ez-combo-box/ez-combo-box.d.ts +16 -1
  220. package/dist/types/components/ez-date-input/ez-date-input.d.ts +10 -1
  221. package/dist/types/components/ez-date-time-input/ez-date-time-input.d.ts +10 -1
  222. package/dist/types/components/ez-dialog/ez-dialog.d.ts +2 -1
  223. package/dist/types/components/ez-double-list/doubleListHelper.d.ts +10 -0
  224. package/dist/types/components/ez-double-list/ez-double-list.d.ts +87 -0
  225. package/dist/types/components/ez-dropdown/ez-dropdown.d.ts +4 -0
  226. package/dist/types/components/ez-dropdown/structure/DropdownItem.d.ts +1 -1
  227. package/dist/types/components/ez-filter-input/ez-filter-input.d.ts +10 -1
  228. package/dist/types/components/ez-form-view/custom-input/ez-custom-form-input.d.ts +7 -1
  229. package/dist/types/components/ez-form-view/fieldbuilder/templates/DateInput.tpl.d.ts +2 -1
  230. package/dist/types/components/ez-form-view/fieldbuilder/templates/SearchInput.tpl.d.ts +1 -1
  231. package/dist/types/components/ez-form-view/fieldbuilder/templates/TextInput.tpl.d.ts +1 -1
  232. package/dist/types/components/ez-grid/controller/EzGridController.d.ts +71 -4
  233. package/dist/types/components/ez-grid/controller/ag-grid/AgGridController.d.ts +36 -4
  234. package/dist/types/components/ez-grid/controller/ag-grid/DataSource.d.ts +25 -2
  235. package/dist/types/components/ez-grid/controller/ag-grid/GridEditionManager.d.ts +33 -7
  236. package/dist/types/components/ez-grid/controller/ag-grid/components/EzGridCustomCellEditor.d.ts +4 -1
  237. package/dist/types/components/ez-grid/controller/ag-grid/components/EzGridCustomCellRender.d.ts +1 -1
  238. package/dist/types/components/ez-grid/controller/ag-grid/components/EzGridCustomHeader.d.ts +1 -1
  239. package/dist/types/components/ez-grid/controller/ag-grid/components/cellRendererStatus.d.ts +1 -1
  240. package/dist/types/components/ez-grid/controller/ag-grid/components/selectionHeader.d.ts +1 -1
  241. package/dist/types/components/ez-grid/controller/ag-grid/editor/EzCellEditor.d.ts +2 -1
  242. package/dist/types/components/ez-grid/controller/ag-grid/editor/EzCellRender.d.ts +1 -1
  243. package/dist/types/components/ez-grid/controller/ag-grid/editor/IUICellEditor.d.ts +1 -0
  244. package/dist/types/components/ez-grid/controller/ag-grid/mock/Server.d.ts +1 -1
  245. package/dist/types/components/ez-grid/ez-grid.d.ts +49 -1
  246. package/dist/types/components/ez-list/ez-list.d.ts +23 -2
  247. package/dist/types/components/ez-list/ezListHelper.d.ts +20 -0
  248. package/dist/types/components/ez-modal/ez-modal.d.ts +7 -1
  249. package/dist/types/components/ez-modal-container/ez-modal-container.d.ts +4 -0
  250. package/dist/types/components/ez-number-input/ez-number-input.d.ts +12 -0
  251. package/dist/types/components/ez-popup/ez-popup.d.ts +8 -1
  252. package/dist/types/components/ez-search/ez-search.d.ts +34 -6
  253. package/dist/types/components/ez-split-button/ez-split-button.d.ts +1 -1
  254. package/dist/types/components/ez-split-panel/ez-split-panel.d.ts +11 -0
  255. package/dist/types/components/ez-split-panel/interfaces/IPanelSizeInfo.d.ts +9 -0
  256. package/dist/types/components/ez-split-panel/structure/item/ez-split-item.d.ts +5 -0
  257. package/dist/types/components/ez-text-area/ez-text-area.d.ts +17 -0
  258. package/dist/types/components/ez-text-input/ez-text-input.d.ts +28 -2
  259. package/dist/types/components/ez-time-input/ez-time-input.d.ts +8 -0
  260. package/dist/types/components/ez-tooltip/ez-tooltip.d.ts +21 -0
  261. package/dist/types/components/ez-tree/ez-tree.d.ts +4 -0
  262. package/dist/types/components/ez-tree/interfaces/ITreeItem.d.ts +1 -0
  263. package/dist/types/components/ez-tree/subcomponents/TreeItem.d.ts +1 -0
  264. package/dist/types/components.d.ts +486 -27
  265. package/dist/types/utils/FocusResolver.d.ts +5 -0
  266. package/dist/types/utils/ResponsiveInputUtils.d.ts +6 -0
  267. package/dist/types/utils/customEditor/interfaces/ICustomEditor.d.ts +2 -0
  268. package/dist/types/utils/form/DataBinder.d.ts +3 -0
  269. package/dist/types/utils/validators/recordvalidator/IInvalidCells.d.ts +5 -0
  270. package/dist/types/utils/validators/recordvalidator/RecordValidationProcessor.d.ts +1 -1
  271. package/package.json +12 -4
  272. package/react/components.d.ts +2 -0
  273. package/react/components.js +2 -0
  274. package/react/components.js.map +1 -1
  275. package/dist/cjs/RecordValidationProcessor-4c893e04.js +0 -102
  276. package/dist/cjs/ez-card-item_3.cjs.entry.js +0 -183
  277. package/dist/cjs/ez-skeleton.cjs.entry.js +0 -67
  278. package/dist/esm/RecordValidationProcessor-b00b8b77.js +0 -99
  279. package/dist/esm/ez-card-item_3.entry.js +0 -177
  280. package/dist/esm/ez-skeleton.entry.js +0 -63
  281. package/dist/ezui/p-04f24913.js +0 -1
  282. package/dist/ezui/p-072e6347.entry.js +0 -1
  283. package/dist/ezui/p-1285c902.entry.js +0 -1
  284. package/dist/ezui/p-13d2fe2d.entry.js +0 -1
  285. package/dist/ezui/p-2097d0cf.entry.js +0 -1
  286. package/dist/ezui/p-30775e7f.entry.js +0 -1
  287. package/dist/ezui/p-32e553e5.entry.js +0 -304
  288. package/dist/ezui/p-3b4eeeb6.entry.js +0 -1
  289. package/dist/ezui/p-3faa2b46.entry.js +0 -1
  290. package/dist/ezui/p-49456b34.entry.js +0 -1
  291. package/dist/ezui/p-4d5235f1.entry.js +0 -1
  292. package/dist/ezui/p-5bd5e68f.entry.js +0 -1
  293. package/dist/ezui/p-784fe207.entry.js +0 -1
  294. package/dist/ezui/p-7922142b.entry.js +0 -1
  295. package/dist/ezui/p-7af81663.entry.js +0 -1
  296. package/dist/ezui/p-7bc07c31.entry.js +0 -1
  297. package/dist/ezui/p-85c8baae.entry.js +0 -1
  298. package/dist/ezui/p-8888d9ed.entry.js +0 -1
  299. package/dist/ezui/p-8f0144f6.entry.js +0 -1
  300. package/dist/ezui/p-9050d2cd.entry.js +0 -1
  301. package/dist/ezui/p-922ac38b.entry.js +0 -1
  302. package/dist/ezui/p-9ab22a07.entry.js +0 -1
  303. package/dist/ezui/p-a31b9c90.entry.js +0 -1
  304. package/dist/ezui/p-af95cd16.entry.js +0 -1
  305. package/dist/ezui/p-bae4e180.entry.js +0 -1
  306. package/dist/ezui/p-bcb53f27.entry.js +0 -1
  307. package/dist/ezui/p-d9401ea0.entry.js +0 -1
  308. package/dist/ezui/p-e85c48d7.entry.js +0 -1
  309. package/dist/ezui/p-ecc2c1ec.entry.js +0 -1
  310. package/dist/ezui/p-f3c526cc.entry.js +0 -1
  311. package/dist/ezui/p-fcf0acce.entry.js +0 -1
@@ -18,24 +18,30 @@ export class EzSearch {
18
18
  this._visibleOptions = undefined;
19
19
  this._startLoading = false;
20
20
  this._showLoading = true;
21
+ this._showLoadingDescription = false;
21
22
  this._criteria = undefined;
22
23
  this.value = undefined;
23
24
  this.label = undefined;
24
25
  this.enabled = true;
25
26
  this.errorMessage = undefined;
26
27
  this.optionLoader = undefined;
28
+ this.contextProperties = undefined;
27
29
  this.showSelectedValue = true;
28
30
  this.showOptionValue = true;
29
31
  this.suppressEmptyOption = false;
32
+ this.stopPropagateEnterKeyEvent = false;
30
33
  this.mode = "regular";
31
34
  this.canShowError = true;
32
35
  this.hideErrorOnFocusOut = true;
33
36
  this.listOptionsPosition = undefined;
34
37
  this.isTextSearch = false;
35
38
  this.ignoreLimitCharsToSearch = false;
39
+ this.noMargin = false;
36
40
  this.options = undefined;
37
41
  this.suppressSearch = false;
38
- this.fromGrid = false;
42
+ this.ensureClearButtonVisible = false;
43
+ this.suppressPreLoad = true;
44
+ this.autoFocus = false;
39
45
  }
40
46
  observeErrorMessage() {
41
47
  var _a;
@@ -46,12 +52,21 @@ export class EzSearch {
46
52
  }
47
53
  }
48
54
  }
55
+ getValue(val) {
56
+ return typeof val === 'object' ? val === null || val === void 0 ? void 0 : val.value : val;
57
+ }
49
58
  validateNewValue(newValue, oldValue) {
50
- const getValue = (val) => typeof val === 'object' ? val === null || val === void 0 ? void 0 : val.value : val;
51
- return (getValue(newValue) !== getValue(oldValue));
59
+ const parsedNewValue = this.getValue(newValue);
60
+ const parsedOldValue = this.getValue(oldValue);
61
+ const newValueIsValid = parsedNewValue !== "[object Object]";
62
+ const valuesIsDifferent = parsedNewValue !== parsedOldValue;
63
+ if (newValueIsValid && valuesIsDifferent) {
64
+ return true;
65
+ }
66
+ return false;
52
67
  }
53
68
  async observeValue(newValue, oldValue) {
54
- if (this._textInput && newValue !== oldValue && this.validateNewValue(newValue, oldValue)) {
69
+ if (this._textInput && this.validateNewValue(newValue, oldValue)) {
55
70
  if (typeof newValue === "string") {
56
71
  await this.handleValueAsString(newValue);
57
72
  return;
@@ -68,7 +83,7 @@ export class EzSearch {
68
83
  }
69
84
  }
70
85
  observeOptions(newOptions, oldOptions) {
71
- if (!newOptions.length && this.fromGrid)
86
+ if (!newOptions.length && this.suppressPreLoad)
72
87
  return;
73
88
  if ((newOptions === null || newOptions === void 0 ? void 0 : newOptions.join('')) === (oldOptions === null || oldOptions === void 0 ? void 0 : oldOptions.join('')))
74
89
  return;
@@ -94,9 +109,9 @@ export class EzSearch {
94
109
  /**
95
110
  * Aplica o foco no campo.
96
111
  */
97
- async setFocus() {
112
+ async setFocus(options) {
98
113
  if (this._textInput) {
99
- this._textInput.setFocus();
114
+ this._textInput.setFocus(options);
100
115
  }
101
116
  }
102
117
  /**
@@ -139,6 +154,9 @@ export class EzSearch {
139
154
  return;
140
155
  }
141
156
  await this.loadDescriptionValue(value);
157
+ if (!this._currentValue) {
158
+ return;
159
+ }
142
160
  this.setInputValue();
143
161
  this.ezChange.emit(this.value);
144
162
  this._currentValue = this.value;
@@ -183,7 +201,7 @@ export class EzSearch {
183
201
  return this.listOptionsPosition;
184
202
  }
185
203
  return {
186
- verticalPosition: (this.errorMessage || !this.canShowError || this.mode === "slim") ? 6 : -13
204
+ verticalPosition: 6
187
205
  };
188
206
  }
189
207
  isDifferentValues(firstValue, secondValue) {
@@ -193,13 +211,16 @@ export class EzSearch {
193
211
  if (currentValue == undefined) {
194
212
  return;
195
213
  }
196
- let text = (!this.showSelectedValue || currentValue.value == undefined) ? currentValue.label : `${currentValue.value} - ${currentValue.label}`;
197
- text = text.replace(new RegExp(this._startHighlightTag, 'g'), '').replace(new RegExp(this._endHighlightTag, 'g'), '');
214
+ let text = (!this.showSelectedValue || currentValue.value == undefined) ? currentValue.label : currentValue.label ? `${currentValue.value} - ${currentValue.label}` : currentValue.value;
215
+ text = text === null || text === void 0 ? void 0 : text.replace(new RegExp(this._startHighlightTag, 'g'), '').replace(new RegExp(this._endHighlightTag, 'g'), '');
198
216
  return text;
199
217
  }
200
218
  getText() {
201
219
  const currentValue = this.getSelectedOption(this._currentValue);
202
220
  const text = this.getFormattedText(currentValue);
221
+ return this.replaceQuotes(text);
222
+ }
223
+ replaceQuotes(text) {
203
224
  if (text == undefined) {
204
225
  return;
205
226
  }
@@ -270,7 +291,7 @@ export class EzSearch {
270
291
  title: opt.label,
271
292
  details: opt.details
272
293
  };
273
- return h("div", { style: { "height": "100%" }, class: index === this._preSelection ? "item preselected" : "item", id: `item_${opt.value}`, onMouseDown: () => this.createOption(card), onMouseOver: () => this._preSelection = index }, h("ez-card-item", { item: card }));
294
+ return h("div", { style: { "height": "100%" }, class: index === this._preSelection ? "item preselected" : "item", id: `item_${opt.value}`, onMouseDown: () => this.createOption(card), onMouseOver: () => this._preSelection = index }, h("ez-card-item", { item: card, compacted: true, enableKey: this.showOptionValue }));
274
295
  }
275
296
  showOptions() {
276
297
  if (!this.enabled)
@@ -335,10 +356,13 @@ export class EzSearch {
335
356
  this._startLoading = false;
336
357
  if (source instanceof Promise) {
337
358
  this._showLoading = true;
359
+ this._showLoadingDescription = true;
338
360
  source.then(result => {
339
- this._showLoading = false;
340
361
  this.updateSource(result);
341
- }).catch(() => this._showLoading = false);
362
+ }).finally(() => {
363
+ this._showLoading = false;
364
+ this._showLoadingDescription = false;
365
+ });
342
366
  this.updateVisibleOptions();
343
367
  }
344
368
  else {
@@ -348,7 +372,7 @@ export class EzSearch {
348
372
  this.updateVisibleOptions();
349
373
  if (this._tabPressed) {
350
374
  this._tabPressed = false;
351
- this.controlEmptySearch();
375
+ this.controlEmptySearch(false);
352
376
  }
353
377
  }
354
378
  else {
@@ -363,15 +387,16 @@ export class EzSearch {
363
387
  replaceHighlight(value) {
364
388
  const startHighlight = new RegExp(this._startHighlightTag, 'g');
365
389
  const endHighlight = new RegExp(this._endHighlightTag, 'g');
366
- return (value !== null && value !== void 0 ? value : "").replace(startHighlight, '').replace(endHighlight, '');
390
+ return String(value !== null && value !== void 0 ? value : "").replace(startHighlight, '').replace(endHighlight, '');
367
391
  }
368
- selectOption(newOption) {
392
+ selectOption(newOption, focusOnInput = true) {
369
393
  var _a, _b;
370
394
  const currentValue = this.getSelectedOption(this.value);
371
395
  const newOptionsReplaced = Object.assign(Object.assign({}, newOption), { value: this.replaceHighlight(newOption === null || newOption === void 0 ? void 0 : newOption.value), label: this.replaceHighlight(newOption === null || newOption === void 0 ? void 0 : newOption.label) });
372
- if ((((_a = currentValue === null || currentValue === void 0 ? void 0 : currentValue.value) === null || _a === void 0 ? void 0 : _a.toString()) !== ((_b = newOptionsReplaced === null || newOptionsReplaced === void 0 ? void 0 : newOptionsReplaced.value) === null || _b === void 0 ? void 0 : _b.toString()))
373
- || (currentValue == undefined && newOptionsReplaced != undefined && "value" in newOptionsReplaced)) {
374
- const adjustedOpt = !(newOptionsReplaced === null || newOptionsReplaced === void 0 ? void 0 : newOptionsReplaced.value) ? undefined : newOptionsReplaced;
396
+ const newOptionsFormatted = Object.assign(Object.assign({}, newOptionsReplaced), { value: this.replaceQuotes(newOptionsReplaced === null || newOptionsReplaced === void 0 ? void 0 : newOptionsReplaced.value), label: this.replaceQuotes(newOptionsReplaced === null || newOptionsReplaced === void 0 ? void 0 : newOptionsReplaced.label) });
397
+ if ((((_a = currentValue === null || currentValue === void 0 ? void 0 : currentValue.value) === null || _a === void 0 ? void 0 : _a.toString()) !== ((_b = newOptionsFormatted === null || newOptionsFormatted === void 0 ? void 0 : newOptionsFormatted.value) === null || _b === void 0 ? void 0 : _b.toString()))
398
+ || (currentValue == undefined && newOptionsFormatted != undefined && "value" in newOptionsFormatted)) {
399
+ const adjustedOpt = !(newOptionsFormatted === null || newOptionsFormatted === void 0 ? void 0 : newOptionsFormatted.value) ? undefined : newOptionsFormatted;
375
400
  this.value = adjustedOpt;
376
401
  this._currentValue = adjustedOpt;
377
402
  }
@@ -381,13 +406,18 @@ export class EzSearch {
381
406
  }
382
407
  this._visibleOptions = [];
383
408
  this.clearSource();
409
+ if (focusOnInput) {
410
+ setTimeout(() => {
411
+ this.setFocus();
412
+ }, 0);
413
+ }
384
414
  }
385
415
  loadOptions(mode, argument = "") {
386
416
  this._criteria = argument;
387
417
  this._startLoading = true;
388
418
  if (this.optionLoader) {
389
419
  const searchArgument = { mode, argument };
390
- this.updateSource(this.optionLoader(searchArgument));
420
+ this.updateSource(this.optionLoader(searchArgument, this.contextProperties));
391
421
  }
392
422
  else {
393
423
  this.updateSource(this.options);
@@ -417,7 +447,7 @@ export class EzSearch {
417
447
  this.value = null;
418
448
  this._currentValue = null;
419
449
  }
420
- controlListWithOnlyOne() {
450
+ controlListWithOnlyOne(focusOnInput = true) {
421
451
  var _a, _b;
422
452
  const source = (_a = this._visibleOptions) === null || _a === void 0 ? void 0 : _a.filter((opt) => opt.label !== "" && opt.value != undefined);
423
453
  if ((source === null || source === void 0 ? void 0 : source.length) > 0) {
@@ -428,31 +458,18 @@ export class EzSearch {
428
458
  value: (_b = source[0].value) === null || _b === void 0 ? void 0 : _b.replace(startHighlight, '').replace(endHighlight, ''),
429
459
  label: title === null || title === void 0 ? void 0 : title.replace(startHighlight, '').replace(endHighlight, '')
430
460
  };
431
- this.selectOption(option);
461
+ this.selectOption(option, focusOnInput);
432
462
  }
433
463
  }
434
- controlEmptySearch() {
464
+ controlEmptySearch(focusOnInput = true) {
435
465
  var _a;
436
466
  if (!((_a = this._visibleOptions) === null || _a === void 0 ? void 0 : _a.length)) {
437
467
  this.clearSearch();
438
468
  ApplicationUtils.info(this._textEmptyList);
439
469
  }
440
470
  else {
441
- this.controlListWithOnlyOne();
442
- }
443
- }
444
- validateDescriptionValue() {
445
- if (StringUtils.isEmpty(this.value)) {
446
- return;
447
- }
448
- if (!this.validateNewValue(this.value, this._currentValue)) {
449
- return;
450
- }
451
- let value = this.value;
452
- if (typeof value === "object") {
453
- return;
471
+ this.controlListWithOnlyOne(focusOnInput);
454
472
  }
455
- this.loadDescriptionValue(value);
456
473
  }
457
474
  async loadDescriptionValue(argument) {
458
475
  var _a, _b;
@@ -467,7 +484,7 @@ export class EzSearch {
467
484
  mode: SearchMode.PREDICTIVE,
468
485
  argument
469
486
  };
470
- const source = await ((_b = this.optionLoader) === null || _b === void 0 ? void 0 : _b.call(this, searchArgument));
487
+ const source = await ((_b = this.optionLoader) === null || _b === void 0 ? void 0 : _b.call(this, searchArgument, this.contextProperties));
471
488
  if (source == undefined) {
472
489
  return;
473
490
  }
@@ -488,6 +505,15 @@ export class EzSearch {
488
505
  }
489
506
  this._currentValue = value ? Object.assign(Object.assign({}, value), { value: this.replaceHighlight(value.value), label: this.replaceHighlight(value.label) }) : value;
490
507
  this.value = this._currentValue;
508
+ this.setTextInputValue();
509
+ }
510
+ setTextInputValue() {
511
+ if (this._textInput && (this._textInput.value === null || this._textInput.value === undefined)) {
512
+ if (this.value === undefined || this.value === null)
513
+ return;
514
+ const textValue = (typeof this.value === 'string') ? this.value : this.getFormattedText(this.value);
515
+ this._textInput.value = this.replaceQuotes(textValue);
516
+ }
491
517
  }
492
518
  loadOptionValue(argument) {
493
519
  var _a;
@@ -513,6 +539,19 @@ export class EzSearch {
513
539
  this._preSelection = undefined;
514
540
  this.updateVisibleOptions();
515
541
  }
542
+ async handleInitialValue() {
543
+ const valueIsValid = !!this.getValue(this.value);
544
+ if (!valueIsValid) {
545
+ return;
546
+ }
547
+ if (typeof this.value === "string") {
548
+ await this.handleValueAsString(this.value);
549
+ return;
550
+ }
551
+ let text = this.getFormattedText(this.value);
552
+ text = this.replaceQuotes(text);
553
+ this._textInput.value = text;
554
+ }
516
555
  //---------------------------------------------
517
556
  // Lifecycle web component
518
557
  //---------------------------------------------
@@ -543,12 +582,10 @@ export class EzSearch {
543
582
  (_a = this._optionsList) === null || _a === void 0 ? void 0 : _a.querySelectorAll(".item").forEach((elem) => {
544
583
  ElementIDUtils.addIDInfoIfNotExists(elem, "itemSearch");
545
584
  });
546
- this.validateDescriptionValue();
547
585
  }
548
- componentDidLoad() {
586
+ async componentDidLoad() {
549
587
  this._currentValue = this.value;
550
588
  CSSVarsUtils.applyVarsTextInput(this.el, this._textInput);
551
- this.setInputValue(false);
552
589
  this._resizeObserver = new ResizeObserver((entries) => {
553
590
  window.requestAnimationFrame(() => {
554
591
  if (!Array.isArray(entries) || !entries.length)
@@ -559,6 +596,16 @@ export class EzSearch {
559
596
  }
560
597
  });
561
598
  });
599
+ await this.handleInitialValue();
600
+ if (this.autoFocus) {
601
+ requestAnimationFrame(() => {
602
+ this.setFocus({ selectText: true });
603
+ });
604
+ }
605
+ }
606
+ disconnectedCallback() {
607
+ var _a;
608
+ (_a = this._resizeObserver) === null || _a === void 0 ? void 0 : _a.disconnect();
562
609
  }
563
610
  //---------------------------------------------
564
611
  // Event handlers
@@ -590,7 +637,7 @@ export class EzSearch {
590
637
  if (argument) {
591
638
  this._showLoading = false;
592
639
  this.clearSource();
593
- if (!isNaN(argumentNumber) || argument.length >= this._limitCharsToSearch) {
640
+ if (this.ignoreLimitCharsToSearch || !isNaN(argumentNumber) || argument.length >= this._limitCharsToSearch) {
594
641
  this._showLoading = true;
595
642
  this._changeDeboucingTimeout = window.setTimeout(() => {
596
643
  this.loadOptions(SearchMode.PREDICTIVE, isNaN(argumentNumber) ? argument : argumentNumber.toString());
@@ -628,14 +675,19 @@ export class EzSearch {
628
675
  }
629
676
  switch (event.key) {
630
677
  case "ArrowDown":
631
- this.nextOption();
632
678
  event.stopPropagation();
679
+ if (this.canShowListOptions())
680
+ event.preventDefault();
681
+ this.nextOption();
633
682
  break;
634
683
  case "ArrowUp":
635
- this.previousOption();
636
684
  event.stopPropagation();
685
+ if (this.canShowListOptions())
686
+ event.preventDefault();
687
+ this.previousOption();
637
688
  break;
638
689
  case "Enter":
690
+ this.handleEventPropagation(event);
639
691
  this.selectCurrentOption();
640
692
  break;
641
693
  case "Escape":
@@ -643,7 +695,7 @@ export class EzSearch {
643
695
  break;
644
696
  case "Tab":
645
697
  this._tabPressed = true;
646
- this.controlListWithOnlyOne();
698
+ this.controlListWithOnlyOne(false);
647
699
  break;
648
700
  }
649
701
  //ATENÇÃO: Existe a necessidade de propagar o evento de teclado.
@@ -652,6 +704,12 @@ export class EzSearch {
652
704
  //e o contexto pode reagir (fechar um popup por exemplo).
653
705
  //event.stopPropagation();
654
706
  }
707
+ //O evento deve ter sua propagação interrompida, apenas se a lista de opções estiver sendo exibida.
708
+ handleEventPropagation(event) {
709
+ if (this._listContainer.hasChildNodes() && this.stopPropagateEnterKeyEvent) {
710
+ event.stopPropagation();
711
+ }
712
+ }
655
713
  onTextInputFocusOutHandler() {
656
714
  if (this.hideErrorOnFocusOut)
657
715
  this.cancelPreselection();
@@ -659,10 +717,13 @@ export class EzSearch {
659
717
  canShowListOptions() {
660
718
  return !this._showLoading && this._visibleOptions.length > 0;
661
719
  }
720
+ canShowLoadSpinDescription() {
721
+ return this._showLoadingDescription && this._floatingID == undefined;
722
+ }
662
723
  render() {
663
724
  var _a;
664
725
  ElementIDUtils.addIDInfoIfNotExists(this.el, 'input');
665
- 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() }, h("ez-icon", { iconName: "search" })), (((_a = this._textInput) === null || _a === void 0 ? void 0 : _a.value) && (this._criteria || this.value) || this.fromGrid)
726
+ 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, noMargin: this.noMargin }, 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)
666
727
  ? h("button", { class: "btn btn__close", slot: "rightIcon", disabled: !this.enabled, tabindex: -1, onClick: () => this.clearSearch() }, h("ez-icon", { iconName: "close" }))
667
728
  : undefined), h("section", { class: "list-container", ref: elem => this._listContainer = elem }, h("div", { class: "list-wrapper", ref: elem => this._listWrapper = elem }, h("ul", { class: "list-options", ref: elem => this._optionsList = elem }, !this._showLoading
668
729
  && this._visibleOptions.length === 0
@@ -760,8 +821,8 @@ export class EzSearch {
760
821
  "type": "unknown",
761
822
  "mutable": false,
762
823
  "complexType": {
763
- "original": "(argument: ISearchArgument) => Promise<Array<IOption>> | Array<IOption> | IOption",
764
- "resolved": "(argument: ISearchArgument) => IOption | IOption[] | Promise<IOption[]>",
824
+ "original": "(argument: ISearchArgument, ctxProperties?: any) => Promise<Array<IOption>> | Array<IOption> | IOption",
825
+ "resolved": "(argument: ISearchArgument, ctxProperties?: any) => IOption | IOption[] | Promise<IOption[]>",
765
826
  "references": {
766
827
  "ISearchArgument": {
767
828
  "location": "local"
@@ -784,6 +845,23 @@ export class EzSearch {
784
845
  "text": "Carrega as op\u00E7\u00F5es dinamicamente."
785
846
  }
786
847
  },
848
+ "contextProperties": {
849
+ "type": "any",
850
+ "mutable": false,
851
+ "complexType": {
852
+ "original": "any",
853
+ "resolved": "any",
854
+ "references": {}
855
+ },
856
+ "required": false,
857
+ "optional": true,
858
+ "docs": {
859
+ "tags": [],
860
+ "text": "Propriedades de contexto da aplica\u00E7\u00E3o."
861
+ },
862
+ "attribute": "context-properties",
863
+ "reflect": false
864
+ },
787
865
  "showSelectedValue": {
788
866
  "type": "boolean",
789
867
  "mutable": false,
@@ -838,6 +916,24 @@ export class EzSearch {
838
916
  "reflect": false,
839
917
  "defaultValue": "false"
840
918
  },
919
+ "stopPropagateEnterKeyEvent": {
920
+ "type": "boolean",
921
+ "mutable": false,
922
+ "complexType": {
923
+ "original": "boolean",
924
+ "resolved": "boolean",
925
+ "references": {}
926
+ },
927
+ "required": false,
928
+ "optional": false,
929
+ "docs": {
930
+ "tags": [],
931
+ "text": "Se true, ineterrompe a propaga\u00E7\u00E3o do evento de KeyDown da tecla enter"
932
+ },
933
+ "attribute": "stop-propagate-enter-key-event",
934
+ "reflect": false,
935
+ "defaultValue": "false"
936
+ },
841
937
  "mode": {
842
938
  "type": "string",
843
939
  "mutable": false,
@@ -948,6 +1044,24 @@ export class EzSearch {
948
1044
  "reflect": false,
949
1045
  "defaultValue": "false"
950
1046
  },
1047
+ "noMargin": {
1048
+ "type": "boolean",
1049
+ "mutable": false,
1050
+ "complexType": {
1051
+ "original": "boolean",
1052
+ "resolved": "boolean",
1053
+ "references": {}
1054
+ },
1055
+ "required": false,
1056
+ "optional": false,
1057
+ "docs": {
1058
+ "tags": [],
1059
+ "text": "Quando verdadeiro, o campo n\u00E3o ter\u00E1 espa\u00E7amento externo."
1060
+ },
1061
+ "attribute": "no-margin",
1062
+ "reflect": false,
1063
+ "defaultValue": "false"
1064
+ },
951
1065
  "options": {
952
1066
  "type": "unknown",
953
1067
  "mutable": true,
@@ -988,7 +1102,25 @@ export class EzSearch {
988
1102
  "reflect": false,
989
1103
  "defaultValue": "false"
990
1104
  },
991
- "fromGrid": {
1105
+ "ensureClearButtonVisible": {
1106
+ "type": "boolean",
1107
+ "mutable": false,
1108
+ "complexType": {
1109
+ "original": "boolean",
1110
+ "resolved": "boolean",
1111
+ "references": {}
1112
+ },
1113
+ "required": false,
1114
+ "optional": false,
1115
+ "docs": {
1116
+ "tags": [],
1117
+ "text": "Garante que o bot\u00E3o de limpar pesquisa est\u00E1 sempre vis\u00EDvel"
1118
+ },
1119
+ "attribute": "ensure-clear-button-visible",
1120
+ "reflect": false,
1121
+ "defaultValue": "false"
1122
+ },
1123
+ "suppressPreLoad": {
992
1124
  "type": "boolean",
993
1125
  "mutable": false,
994
1126
  "complexType": {
@@ -1000,9 +1132,27 @@ export class EzSearch {
1000
1132
  "optional": false,
1001
1133
  "docs": {
1002
1134
  "tags": [],
1003
- "text": "Informa se o componente est\u00E1 instanciado de dentro de uma grade"
1135
+ "text": "Se true, desabilita pr\u00E9-load das op\u00E7\u00F5es ao carregar componente"
1004
1136
  },
1005
- "attribute": "from-grid",
1137
+ "attribute": "suppress-pre-load",
1138
+ "reflect": false,
1139
+ "defaultValue": "true"
1140
+ },
1141
+ "autoFocus": {
1142
+ "type": "boolean",
1143
+ "mutable": false,
1144
+ "complexType": {
1145
+ "original": "boolean",
1146
+ "resolved": "boolean",
1147
+ "references": {}
1148
+ },
1149
+ "required": false,
1150
+ "optional": false,
1151
+ "docs": {
1152
+ "tags": [],
1153
+ "text": "Se true o campo de texto receber\u00E1 o foco ao ser renderizado."
1154
+ },
1155
+ "attribute": "auto-focus",
1006
1156
  "reflect": false,
1007
1157
  "defaultValue": "false"
1008
1158
  }
@@ -1014,6 +1164,7 @@ export class EzSearch {
1014
1164
  "_visibleOptions": {},
1015
1165
  "_startLoading": {},
1016
1166
  "_showLoading": {},
1167
+ "_showLoadingDescription": {},
1017
1168
  "_criteria": {}
1018
1169
  };
1019
1170
  }
@@ -1059,11 +1210,18 @@ export class EzSearch {
1059
1210
  },
1060
1211
  "setFocus": {
1061
1212
  "complexType": {
1062
- "signature": "() => Promise<void>",
1063
- "parameters": [],
1213
+ "signature": "(options?: TFocusOptions) => Promise<void>",
1214
+ "parameters": [{
1215
+ "tags": [],
1216
+ "text": ""
1217
+ }],
1064
1218
  "references": {
1065
1219
  "Promise": {
1066
1220
  "location": "global"
1221
+ },
1222
+ "TFocusOptions": {
1223
+ "location": "import",
1224
+ "path": "../ez-text-input/ez-text-input"
1067
1225
  }
1068
1226
  },
1069
1227
  "return": "Promise<void>"
@@ -8,6 +8,8 @@
8
8
  --ez-sidebar-button--hover--width: 12px;
9
9
  /*@doc Define a altura do span do botão.*/
10
10
  --ez-sidebar-button--height: 96px;
11
+ /*@doc Define a camada em que o componente será exibido.*/
12
+ --ez-sidebar-navigator-button--z-index: var(--elevation--20, 20);
11
13
 
12
14
  /* cor */
13
15
  /*@doc Define a cor de fundo do botão.*/
@@ -35,6 +37,7 @@
35
37
  }
36
38
 
37
39
  button {
40
+ z-index: var(--ez-sidebar-navigator-button--z-index);
38
41
  position: absolute;
39
42
  display: flex;
40
43
  background: var(--ez-sidebar-button--background-color--xlight);
@@ -11,7 +11,7 @@ export class EzSidebarButton {
11
11
  }
12
12
  }
13
13
  render() {
14
- return (h("button", { type: "button", onClick: () => { this.ezClick.emit(); }, ref: (el) => this._button = el }, h("span", null), h("ez-icon", { iconName: "chevron-right" })));
14
+ return (h("button", { type: "button", onClick: () => { this.ezClick.emit(); }, ref: (el) => this._button = el }, h("span", null), h("ez-icon", { iconName: "chevron-right", size: "small" })));
15
15
  }
16
16
  static get is() { return "ez-sidebar-button"; }
17
17
  static get encapsulation() { return "shadow"; }
@@ -14,6 +14,8 @@
14
14
  --ez-sidebar-navigator--border-radius: 0px var(--border--radius-medium) var(--border--radius-medium) 0px;
15
15
  /*@doc Força uma altura especifica para o sidebar, o padrão é 100% da tela*/
16
16
  --ez-sidebar-navigator--height: calc(100vh - var(--space--lg, 24px));
17
+ /*@doc Define a camada em que o componente será exibido.*/
18
+ --ez-sidebar-navigator--z-index: var(--elevation--20, 20);
17
19
 
18
20
  /*Labels Header */
19
21
  /*@doc Define o espaçamento entre os componente do cabeçalho*/
@@ -124,7 +126,7 @@
124
126
 
125
127
  .dynamic {
126
128
  position: absolute;
127
- z-index: var(--most-visible , 4);
129
+ z-index: var(--ez-sidebar-navigator--z-index);
128
130
  }
129
131
 
130
132
  .fixed {