@sankhyalabs/ezui 5.22.0-dev.12 → 5.22.0-dev.120

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 (422) hide show
  1. package/dist/cjs/{CSSVarsUtils-10c9d5b4.js → CSSVarsUtils-f20973d1.js} +1 -0
  2. package/dist/cjs/DataBinder-b9973a19.js +474 -0
  3. package/dist/cjs/FocusResolver-885f2173.js +35 -0
  4. package/dist/cjs/FormLayout-c2451c7f.js +7 -0
  5. package/dist/cjs/{constants-2714478b.js → constants-569271bc.js} +4 -0
  6. package/dist/cjs/ez-actions-button.cjs.entry.js +6 -4
  7. package/dist/cjs/ez-badge.cjs.entry.js +14 -2
  8. package/dist/cjs/ez-button.cjs.entry.js +11 -5
  9. package/dist/cjs/ez-card-item_2.cjs.entry.js +270 -0
  10. package/dist/cjs/ez-chart.cjs.entry.js +3 -3
  11. package/dist/cjs/ez-check.cjs.entry.js +18 -10
  12. package/dist/cjs/ez-chip.cjs.entry.js +1 -1
  13. package/dist/cjs/ez-collapsible-box.cjs.entry.js +3 -2
  14. package/dist/cjs/ez-combo-box-list_3.cjs.entry.js +388 -0
  15. package/dist/cjs/ez-combo-box.cjs.entry.js +79 -156
  16. package/dist/cjs/ez-date-input.cjs.entry.js +16 -19
  17. package/dist/cjs/ez-date-time-input.cjs.entry.js +15 -20
  18. package/dist/cjs/ez-dialog.cjs.entry.js +18 -8
  19. package/dist/cjs/ez-double-list.cjs.entry.js +287 -0
  20. package/dist/cjs/ez-dropdown.cjs.entry.js +14 -8
  21. package/dist/cjs/ez-filter-input.cjs.entry.js +129 -0
  22. package/dist/cjs/ez-form-view.cjs.entry.js +41 -27
  23. package/dist/cjs/ez-form.cjs.entry.js +34 -327
  24. package/dist/cjs/ez-grid.cjs.entry.js +15146 -69779
  25. package/dist/cjs/ez-icon.cjs.entry.js +1 -1
  26. package/dist/cjs/ez-list.cjs.entry.js +258 -211
  27. package/dist/cjs/ez-modal-container.cjs.entry.js +7 -3
  28. package/dist/cjs/ez-modal.cjs.entry.js +17 -4
  29. package/dist/cjs/ez-multi-selection-list.cjs.entry.js +2 -2
  30. package/dist/cjs/ez-number-input.cjs.entry.js +16 -3
  31. package/dist/cjs/ez-popover-plus_3.cjs.entry.js +209 -0
  32. package/dist/cjs/ez-popup.cjs.entry.js +29 -3
  33. package/dist/cjs/ez-scroller_2.cjs.entry.js +3 -3
  34. package/dist/cjs/ez-search-plus.cjs.entry.js +398 -0
  35. package/dist/cjs/ez-search-result-list.cjs.entry.js +97 -0
  36. package/dist/cjs/ez-search.cjs.entry.js +124 -191
  37. package/dist/cjs/ez-sidebar-navigator.cjs.entry.js +1 -1
  38. package/dist/cjs/ez-skeleton.cjs.entry.js +1 -1
  39. package/dist/cjs/ez-split-button.cjs.entry.js +2 -2
  40. package/dist/cjs/ez-split-item.cjs.entry.js +8 -4
  41. package/dist/cjs/ez-split-panel.cjs.entry.js +68 -6
  42. package/dist/cjs/ez-text-area.cjs.entry.js +91 -8
  43. package/dist/cjs/ez-text-input.cjs.entry.js +135 -30
  44. package/dist/cjs/ez-time-input.cjs.entry.js +9 -2
  45. package/dist/cjs/ez-tooltip.cjs.entry.js +135 -0
  46. package/dist/cjs/ez-tree.cjs.entry.js +5 -4
  47. package/dist/cjs/ezListHelper-0d3970b4.js +90 -0
  48. package/dist/cjs/ezui.cjs.js +1 -1
  49. package/dist/cjs/filter-column.cjs.entry.js +10 -47
  50. package/dist/cjs/floating-ui.dom.esm-017acce4.js +1404 -0
  51. package/dist/cjs/index-9e5554cb.js +32 -8
  52. package/dist/cjs/loader.cjs.js +1 -1
  53. package/dist/cjs/searchFormatters-b7e1ed1e.js +23 -0
  54. package/dist/cjs/{ICustomRender-6fafffce.js → types-6a5df0c7.js} +8 -0
  55. package/dist/collection/collection-manifest.json +20 -2
  56. package/dist/collection/components/ez-actions-button/ez-actions-button.js +3 -2
  57. package/dist/collection/components/ez-badge/ez-badge.css +12 -1
  58. package/dist/collection/components/ez-badge/ez-badge.js +31 -1
  59. package/dist/collection/components/ez-button/ez-button.css +24 -14
  60. package/dist/collection/components/ez-button/ez-button.js +12 -6
  61. package/dist/collection/components/ez-card-item/ez-card-item.css +58 -10
  62. package/dist/collection/components/ez-card-item/ez-card-item.js +30 -3
  63. package/dist/collection/components/ez-chart/ez-chart.js +2 -2
  64. package/dist/collection/components/ez-chart/interfaces/ChartTypeValue.js +1 -0
  65. package/dist/collection/components/ez-chart/types/BaseHighChartsRender.js +3 -3
  66. package/dist/collection/components/ez-check/ez-check.css +10 -6
  67. package/dist/collection/components/ez-check/ez-check.js +34 -9
  68. package/dist/collection/components/ez-chip/ez-chip.css +5 -1
  69. package/dist/collection/components/ez-collapsible-box/ez-collapsible-box.css +2 -2
  70. package/dist/collection/components/ez-combo-box/ez-combo-box-list/ez-combo-box-list.css +205 -0
  71. package/dist/collection/components/ez-combo-box/ez-combo-box-list/ez-combo-box-list.js +426 -0
  72. package/dist/collection/components/ez-combo-box/ez-combo-box.css +8 -246
  73. package/dist/collection/components/ez-combo-box/ez-combo-box.js +139 -165
  74. package/dist/collection/components/ez-date-input/ez-date-input.css +1 -1
  75. package/dist/collection/components/ez-date-input/ez-date-input.js +58 -19
  76. package/dist/collection/components/ez-date-time-input/ez-date-time-input.css +1 -1
  77. package/dist/collection/components/ez-date-time-input/ez-date-time-input.js +57 -20
  78. package/dist/collection/components/ez-dialog/ez-dialog.css +27 -24
  79. package/dist/collection/components/ez-dialog/ez-dialog.js +18 -17
  80. package/dist/collection/components/ez-double-list/doubleListHelper.js +82 -0
  81. package/dist/collection/components/ez-double-list/ez-double-list.css +62 -0
  82. package/dist/collection/components/ez-double-list/ez-double-list.js +440 -0
  83. package/dist/collection/components/ez-dropdown/ez-dropdown.js +33 -8
  84. package/dist/collection/components/ez-filter-input/ez-filter-input.css +1 -1
  85. package/dist/collection/components/ez-filter-input/ez-filter-input.js +35 -4
  86. package/dist/collection/components/ez-form/ez-form.js +32 -4
  87. package/dist/collection/components/ez-form-view/custom-input/ez-custom-form-input.js +49 -6
  88. package/dist/collection/components/ez-form-view/ez-form-view.css +13 -2
  89. package/dist/collection/components/ez-form-view/ez-form-view.js +21 -2
  90. package/dist/collection/components/ez-form-view/fieldbuilder/FieldBuilder.js +5 -2
  91. package/dist/collection/components/ez-form-view/fieldbuilder/templates/CheckBox.tpl.js +1 -1
  92. package/dist/collection/components/ez-form-view/fieldbuilder/templates/ComboBox.tpl.js +1 -1
  93. package/dist/collection/components/ez-form-view/fieldbuilder/templates/DateInput.tpl.js +8 -4
  94. package/dist/collection/components/ez-form-view/fieldbuilder/templates/FileInput.tpl.js +1 -1
  95. package/dist/collection/components/ez-form-view/fieldbuilder/templates/NumberInput.tpl.js +1 -1
  96. package/dist/collection/components/ez-form-view/fieldbuilder/templates/SearchInput.tpl.js +1 -1
  97. package/dist/collection/components/ez-form-view/fieldbuilder/templates/SearchInputPlus.tpl.js +6 -0
  98. package/dist/collection/components/ez-form-view/fieldbuilder/templates/TextArea.tpl.js +1 -1
  99. package/dist/collection/components/ez-form-view/fieldbuilder/templates/TextInput.tpl.js +2 -2
  100. package/dist/collection/components/ez-grid/controller/ag-grid/AgGridController.js +387 -73
  101. package/dist/collection/components/ez-grid/controller/ag-grid/DataSource.js +170 -33
  102. package/dist/collection/components/ez-grid/controller/ag-grid/DataSourceInterceptor.js +2 -1
  103. package/dist/collection/components/ez-grid/controller/ag-grid/GridEditionManager.js +248 -43
  104. package/dist/collection/components/ez-grid/controller/ag-grid/components/EzGridCustomCellEditor.js +16 -0
  105. package/dist/collection/components/ez-grid/controller/ag-grid/components/EzGridCustomHeader.js +1 -1
  106. package/dist/collection/components/ez-grid/controller/ag-grid/editor/EzCellEditor.js +10 -0
  107. package/dist/collection/components/ez-grid/controller/ag-grid/editor/templates/ComboBox.tpl.js +2 -0
  108. package/dist/collection/components/ez-grid/controller/ag-grid/editor/templates/DateInput.tpl.js +1 -0
  109. package/dist/collection/components/ez-grid/controller/ag-grid/editor/templates/NumberInput.tpl.js +1 -0
  110. package/dist/collection/components/ez-grid/controller/ag-grid/editor/templates/Search.tpl.js +8 -1
  111. package/dist/collection/components/ez-grid/controller/ag-grid/editor/templates/SearchPlus.tpl.js +15 -0
  112. package/dist/collection/components/ez-grid/controller/ag-grid/editor/templates/TextInput.tpl.js +4 -1
  113. package/dist/collection/components/ez-grid/controller/ag-grid/test/constants/GridEditionMock.js +2 -0
  114. package/dist/collection/components/ez-grid/ez-grid.css +95 -10
  115. package/dist/collection/components/ez-grid/ez-grid.js +370 -12
  116. package/dist/collection/components/ez-grid/subcomponents/filter-column.css +4 -0
  117. package/dist/collection/components/ez-grid/subcomponents/filter-column.js +9 -46
  118. package/dist/collection/components/ez-grid/utils/ColumnFilterManager.js +7 -54
  119. package/dist/collection/components/ez-grid/utils/InMemoryFilterColumnDataSource.js +20 -4
  120. package/dist/collection/components/ez-icon/ez-icon.css +156 -149
  121. package/dist/collection/components/ez-list/ez-list.css +5 -4
  122. package/dist/collection/components/ez-list/ez-list.js +301 -212
  123. package/dist/collection/components/ez-list/ezListHelper.js +85 -0
  124. package/dist/collection/components/ez-modal/ez-modal.css +7 -2
  125. package/dist/collection/components/ez-modal/ez-modal.js +18 -5
  126. package/dist/collection/components/ez-modal-container/ez-modal-container.css +1 -0
  127. package/dist/collection/components/ez-modal-container/ez-modal-container.js +6 -2
  128. package/dist/collection/components/ez-multi-selection-list/ez-multi-selection-list.css +3 -3
  129. package/dist/collection/components/ez-multi-selection-list/ez-multi-selection-list.js +1 -1
  130. package/dist/collection/components/ez-number-input/ez-number-input.css +8 -0
  131. package/dist/collection/components/ez-number-input/ez-number-input.js +67 -1
  132. package/dist/collection/components/ez-popover-plus/ez-popover-plus.css +3 -0
  133. package/dist/collection/components/ez-popover-plus/ez-popover-plus.js +434 -0
  134. package/dist/collection/components/ez-popover-plus/subcomponent/ez-popover-core.css +67 -0
  135. package/dist/collection/components/ez-popover-plus/subcomponent/ez-popover-core.js +527 -0
  136. package/dist/collection/components/ez-popup/ez-popup.css +8 -3
  137. package/dist/collection/components/ez-popup/ez-popup.js +48 -4
  138. package/dist/collection/components/ez-scroller/ez-scroller.css +4 -0
  139. package/dist/collection/components/ez-search/ez-search.css +2 -210
  140. package/dist/collection/components/ez-search/ez-search.js +223 -204
  141. package/dist/collection/components/ez-search/subcomponent/search-list/search-list.css +227 -0
  142. package/dist/collection/components/ez-search/subcomponent/search-list/search-list.js +289 -0
  143. package/dist/collection/components/ez-search/utils/searchFormatters.js +18 -0
  144. package/dist/collection/components/ez-search-plus/ez-search-plus.css +373 -0
  145. package/dist/collection/components/ez-search-plus/ez-search-plus.js +984 -0
  146. package/dist/collection/components/ez-search-plus/subcomponent/ez-search-result-list/ez-search-result-list.css +221 -0
  147. package/dist/collection/components/ez-search-plus/subcomponent/ez-search-result-list/ez-search-result-list.js +278 -0
  148. package/dist/collection/components/ez-sidebar-button/ez-sidebar-button.css +3 -0
  149. package/dist/collection/components/ez-sidebar-button/ez-sidebar-button.js +1 -1
  150. package/dist/collection/components/ez-sidebar-navigator/ez-sidebar-navigator.css +4 -1
  151. package/dist/collection/components/ez-skeleton/ez-skeleton.css +54 -34
  152. package/dist/collection/components/ez-split-button/ez-split-button.css +52 -14
  153. package/dist/collection/components/ez-split-button/ez-split-button.js +3 -3
  154. package/dist/collection/components/ez-split-panel/ez-split-panel.css +15 -0
  155. package/dist/collection/components/ez-split-panel/ez-split-panel.js +106 -5
  156. package/dist/collection/components/ez-split-panel/interfaces/IPanelSizeInfo.js +1 -0
  157. package/dist/collection/components/ez-split-panel/structure/item/ez-split-item.css +14 -2
  158. package/dist/collection/components/ez-split-panel/structure/item/ez-split-item.js +22 -1
  159. package/dist/collection/components/ez-text-area/ez-text-area.css +78 -29
  160. package/dist/collection/components/ez-text-area/ez-text-area.js +151 -6
  161. package/dist/collection/components/ez-text-input/ez-text-input.css +126 -93
  162. package/dist/collection/components/ez-text-input/ez-text-input.js +216 -28
  163. package/dist/collection/components/ez-time-input/ez-time-input.js +43 -1
  164. package/dist/collection/components/ez-tooltip/ez-tooltip.css +61 -0
  165. package/dist/collection/components/ez-tooltip/ez-tooltip.js +310 -0
  166. package/dist/collection/components/ez-tree/ez-tree.js +21 -1
  167. package/dist/collection/components/ez-tree/subcomponents/TreeItem.js +3 -3
  168. package/dist/collection/sw.js +46 -0
  169. package/dist/collection/utils/CSSVarsUtils.js +1 -0
  170. package/dist/collection/utils/FocusResolver.js +31 -0
  171. package/dist/collection/utils/constants.js +2 -0
  172. package/dist/collection/utils/form/DataBinder.js +65 -21
  173. package/dist/collection/utils/form/FormMetadata.js +2 -1
  174. package/dist/collection/utils/form/interfaces/FormLayout.js +5 -0
  175. package/dist/collection/utils/form/interfaces/index.js +1 -1
  176. package/dist/collection/utils/form/test/DataBinder.test.js +14 -0
  177. package/dist/collection/utils/index.js +2 -0
  178. package/dist/collection/utils/interfaces/AbstractFieldMetadata.js +1 -1
  179. package/dist/collection/utils/search/types.js +7 -0
  180. package/dist/collection/utils/validators/recordvalidator/IInvalidCells.js +1 -0
  181. package/dist/collection/utils/validators/recordvalidator/RecordValidationProcessor.js +7 -1
  182. package/dist/custom-elements/index.d.ts +48 -0
  183. package/dist/custom-elements/index.js +21625 -72913
  184. package/dist/esm/{CSSVarsUtils-71ce76be.js → CSSVarsUtils-acba92d7.js} +1 -0
  185. package/dist/esm/DataBinder-1035e36f.js +470 -0
  186. package/dist/esm/FocusResolver-1ccbf850.js +33 -0
  187. package/dist/esm/FormLayout-54092963.js +7 -0
  188. package/dist/esm/constants-b036528f.js +7 -0
  189. package/dist/esm/ez-actions-button.entry.js +6 -4
  190. package/dist/esm/ez-badge.entry.js +14 -2
  191. package/dist/esm/ez-button.entry.js +11 -5
  192. package/dist/esm/ez-card-item_2.entry.js +265 -0
  193. package/dist/esm/ez-chart.entry.js +3 -3
  194. package/dist/esm/ez-check.entry.js +18 -10
  195. package/dist/esm/ez-chip.entry.js +1 -1
  196. package/dist/esm/ez-collapsible-box.entry.js +3 -2
  197. package/dist/esm/ez-combo-box-list_3.entry.js +382 -0
  198. package/dist/esm/ez-combo-box.entry.js +80 -157
  199. package/dist/esm/ez-date-input.entry.js +16 -19
  200. package/dist/esm/ez-date-time-input.entry.js +15 -20
  201. package/dist/esm/ez-dialog.entry.js +19 -9
  202. package/dist/esm/ez-double-list.entry.js +283 -0
  203. package/dist/esm/ez-dropdown.entry.js +14 -8
  204. package/dist/esm/ez-filter-input.entry.js +125 -0
  205. package/dist/esm/ez-form-view.entry.js +42 -28
  206. package/dist/esm/ez-form.entry.js +33 -326
  207. package/dist/esm/ez-grid.entry.js +15145 -69778
  208. package/dist/esm/ez-icon.entry.js +1 -1
  209. package/dist/esm/ez-list.entry.js +258 -211
  210. package/dist/esm/ez-modal-container.entry.js +7 -3
  211. package/dist/esm/ez-modal.entry.js +17 -4
  212. package/dist/esm/ez-multi-selection-list.entry.js +2 -2
  213. package/dist/esm/ez-number-input.entry.js +16 -3
  214. package/dist/esm/ez-popover-plus_3.entry.js +203 -0
  215. package/dist/esm/ez-popup.entry.js +29 -3
  216. package/dist/esm/ez-scroller_2.entry.js +3 -3
  217. package/dist/esm/ez-search-plus.entry.js +394 -0
  218. package/dist/esm/ez-search-result-list.entry.js +93 -0
  219. package/dist/esm/ez-search.entry.js +125 -192
  220. package/dist/esm/ez-sidebar-navigator.entry.js +1 -1
  221. package/dist/esm/ez-skeleton.entry.js +1 -1
  222. package/dist/esm/ez-split-button.entry.js +2 -2
  223. package/dist/esm/ez-split-item.entry.js +8 -4
  224. package/dist/esm/ez-split-panel.entry.js +69 -7
  225. package/dist/esm/ez-text-area.entry.js +91 -8
  226. package/dist/esm/ez-text-input.entry.js +135 -30
  227. package/dist/esm/ez-time-input.entry.js +9 -2
  228. package/dist/esm/ez-tooltip.entry.js +131 -0
  229. package/dist/esm/ez-tree.entry.js +5 -4
  230. package/dist/esm/ezListHelper-00fb9b8d.js +87 -0
  231. package/dist/esm/ezui.js +1 -1
  232. package/dist/esm/filter-column.entry.js +10 -47
  233. package/dist/esm/floating-ui.dom.esm-5d3da819.js +1398 -0
  234. package/dist/esm/index-5a720e56.js +32 -8
  235. package/dist/esm/loader.js +1 -1
  236. package/dist/esm/searchFormatters-8229207e.js +20 -0
  237. package/dist/esm/{ICustomRender-875b5a40.js → types-6f6b2650.js} +9 -1
  238. package/dist/ezui/ezui.esm.js +1 -1
  239. package/dist/ezui/p-000159dc.entry.js +1 -0
  240. package/dist/ezui/p-06f1b8e4.entry.js +1 -0
  241. package/dist/ezui/{p-044d46d5.entry.js → p-07594da0.entry.js} +1 -1
  242. package/dist/ezui/p-0cfbbe82.entry.js +1 -0
  243. package/dist/ezui/p-0f658cfd.entry.js +1 -0
  244. package/dist/ezui/p-15ea0c98.js +1 -0
  245. package/dist/ezui/p-173f68ea.js +1 -0
  246. package/dist/ezui/p-18e71523.entry.js +1 -0
  247. package/dist/ezui/p-19389207.entry.js +1 -0
  248. package/dist/ezui/p-1f7241cd.entry.js +1 -0
  249. package/dist/ezui/p-1fefb37a.entry.js +1 -0
  250. package/dist/ezui/p-2069c78a.entry.js +1 -0
  251. package/dist/ezui/{p-b2f6bc0a.entry.js → p-2f351332.entry.js} +1 -1
  252. package/dist/ezui/{p-82ac8b06.entry.js → p-2f77f563.entry.js} +1 -1
  253. package/dist/ezui/p-3eaa0f67.entry.js +1 -0
  254. package/dist/ezui/p-40a60148.js +1 -0
  255. package/dist/ezui/p-44b39e81.entry.js +1 -0
  256. package/dist/ezui/p-4d8afc8e.entry.js +1 -0
  257. package/dist/ezui/p-5895e687.js +1 -0
  258. package/dist/ezui/p-5b85d3de.entry.js +1 -0
  259. package/dist/ezui/p-5b8639c0.entry.js +1 -0
  260. package/dist/ezui/p-5eea9886.js +1 -0
  261. package/dist/ezui/p-6b3fddee.entry.js +1 -0
  262. package/dist/ezui/p-6ccfb01f.entry.js +1 -0
  263. package/dist/ezui/p-708b196e.entry.js +1 -0
  264. package/dist/ezui/p-72731b9b.entry.js +1 -0
  265. package/dist/ezui/p-80dfc50b.js +1 -0
  266. package/dist/ezui/p-81452714.entry.js +309 -0
  267. package/dist/ezui/p-88c615f0.entry.js +1 -0
  268. package/dist/ezui/p-8d9ab0b0.entry.js +1 -0
  269. package/dist/ezui/p-8f49705f.entry.js +1 -0
  270. package/dist/ezui/p-9066b0b0.entry.js +1 -0
  271. package/dist/ezui/p-90e91173.entry.js +1 -0
  272. package/dist/ezui/p-926a0bde.entry.js +1 -0
  273. package/dist/ezui/p-97d94ef3.entry.js +1 -0
  274. package/dist/ezui/p-9e95bfeb.entry.js +1 -0
  275. package/dist/ezui/p-a11827ca.entry.js +1 -0
  276. package/dist/ezui/p-b8344ae8.entry.js +1 -0
  277. package/dist/ezui/p-b9255e16.entry.js +1 -0
  278. package/dist/ezui/p-c2b1b592.entry.js +1 -0
  279. package/dist/ezui/p-c7035d65.entry.js +1 -0
  280. package/dist/ezui/p-cf33bc48.entry.js +1 -0
  281. package/dist/ezui/p-d2290004.entry.js +1 -0
  282. package/dist/ezui/p-dc628ed3.js +1 -0
  283. package/dist/ezui/p-ddb22a70.entry.js +1 -0
  284. package/dist/ezui/p-e07e4671.js +1 -0
  285. package/dist/ezui/p-e18c7afe.entry.js +1 -0
  286. package/dist/ezui/p-e5e911ef.entry.js +1 -0
  287. package/dist/ezui/p-ec7db713.js +1 -0
  288. package/dist/ezui/p-ed48a632.entry.js +1 -0
  289. package/dist/ezui/p-f6a88217.entry.js +1 -0
  290. package/dist/types/components/ez-badge/ez-badge.d.ts +5 -0
  291. package/dist/types/components/ez-button/ez-button.d.ts +2 -1
  292. package/dist/types/components/ez-calendar/ez-calendar.d.ts +3 -3
  293. package/dist/types/components/ez-card-item/ez-card-item.d.ts +5 -0
  294. package/dist/types/components/ez-chart/interfaces/ChartAxis.d.ts +2 -0
  295. package/dist/types/components/ez-chart/interfaces/ChartTypeValue.d.ts +1 -0
  296. package/dist/types/components/ez-check/ez-check.d.ts +7 -2
  297. package/dist/types/components/ez-combo-box/ez-combo-box-list/ez-combo-box-list.d.ts +104 -0
  298. package/dist/types/components/ez-combo-box/ez-combo-box.d.ts +19 -15
  299. package/dist/types/components/ez-date-input/ez-date-input.d.ts +12 -3
  300. package/dist/types/components/ez-date-time-input/ez-date-time-input.d.ts +12 -3
  301. package/dist/types/components/ez-dialog/ez-dialog.d.ts +3 -1
  302. package/dist/types/components/ez-double-list/doubleListHelper.d.ts +10 -0
  303. package/dist/types/components/ez-double-list/ez-double-list.d.ts +87 -0
  304. package/dist/types/components/ez-dropdown/ez-dropdown.d.ts +4 -0
  305. package/dist/types/components/ez-dropdown/structure/DropdownItem.d.ts +1 -1
  306. package/dist/types/components/ez-filter-input/ez-filter-input.d.ts +6 -1
  307. package/dist/types/components/ez-form/ez-form.d.ts +5 -1
  308. package/dist/types/components/ez-form-view/custom-input/ez-custom-form-input.d.ts +7 -1
  309. package/dist/types/components/ez-form-view/ez-form-view.d.ts +4 -0
  310. package/dist/types/components/ez-form-view/fieldbuilder/templates/DateInput.tpl.d.ts +2 -1
  311. package/dist/types/components/ez-form-view/fieldbuilder/templates/SearchInputPlus.tpl.d.ts +2 -0
  312. package/dist/types/components/ez-form-view/fieldbuilder/templates/TextInput.tpl.d.ts +1 -1
  313. package/dist/types/components/ez-grid/controller/EzGridController.d.ts +75 -4
  314. package/dist/types/components/ez-grid/controller/ag-grid/AgGridController.d.ts +42 -6
  315. package/dist/types/components/ez-grid/controller/ag-grid/DataSource.d.ts +26 -2
  316. package/dist/types/components/ez-grid/controller/ag-grid/GridEditionManager.d.ts +34 -7
  317. package/dist/types/components/ez-grid/controller/ag-grid/components/EzGridCustomCellEditor.d.ts +4 -1
  318. package/dist/types/components/ez-grid/controller/ag-grid/components/EzGridCustomCellRender.d.ts +1 -1
  319. package/dist/types/components/ez-grid/controller/ag-grid/components/EzGridCustomHeader.d.ts +1 -1
  320. package/dist/types/components/ez-grid/controller/ag-grid/components/cellRendererStatus.d.ts +1 -1
  321. package/dist/types/components/ez-grid/controller/ag-grid/components/selectionHeader.d.ts +1 -1
  322. package/dist/types/components/ez-grid/controller/ag-grid/editor/EzCellEditor.d.ts +2 -1
  323. package/dist/types/components/ez-grid/controller/ag-grid/editor/EzCellRender.d.ts +1 -1
  324. package/dist/types/components/ez-grid/controller/ag-grid/editor/IUICellEditor.d.ts +1 -0
  325. package/dist/types/components/ez-grid/controller/ag-grid/editor/templates/SearchPlus.tpl.d.ts +3 -0
  326. package/dist/types/components/ez-grid/controller/ag-grid/mock/Server.d.ts +1 -1
  327. package/dist/types/components/ez-grid/ez-grid.d.ts +59 -1
  328. package/dist/types/components/ez-grid/subcomponents/filter-column.d.ts +0 -11
  329. package/dist/types/components/ez-grid/utils/ColumnFilterManager.d.ts +1 -1
  330. package/dist/types/components/ez-grid/utils/InMemoryFilterColumnDataSource.d.ts +3 -0
  331. package/dist/types/components/ez-list/ez-list.d.ts +23 -2
  332. package/dist/types/components/ez-list/ezListHelper.d.ts +20 -0
  333. package/dist/types/components/ez-modal/ez-modal.d.ts +4 -1
  334. package/dist/types/components/ez-modal-container/ez-modal-container.d.ts +2 -0
  335. package/dist/types/components/ez-number-input/ez-number-input.d.ts +12 -0
  336. package/dist/types/components/ez-popover-plus/ez-popover-plus.d.ts +74 -0
  337. package/dist/types/components/ez-popover-plus/subcomponent/ez-popover-core.d.ts +91 -0
  338. package/dist/types/components/ez-popup/ez-popup.d.ts +10 -1
  339. package/dist/types/components/ez-search/ez-search.d.ts +36 -18
  340. package/dist/types/components/ez-search/subcomponent/search-list/search-list.d.ts +23 -0
  341. package/dist/types/components/ez-search/utils/searchFormatters.d.ts +2 -0
  342. package/dist/types/components/ez-search-plus/ez-search-plus.d.ts +186 -0
  343. package/dist/types/components/ez-search-plus/subcomponent/ez-search-result-list/ez-search-result-list.d.ts +26 -0
  344. package/dist/types/components/ez-split-button/ez-split-button.d.ts +1 -1
  345. package/dist/types/components/ez-split-panel/ez-split-panel.d.ts +11 -0
  346. package/dist/types/components/ez-split-panel/interfaces/IPanelSizeInfo.d.ts +9 -0
  347. package/dist/types/components/ez-split-panel/structure/item/ez-split-item.d.ts +5 -0
  348. package/dist/types/components/ez-text-area/ez-text-area.d.ts +25 -0
  349. package/dist/types/components/ez-text-input/ez-text-input.d.ts +35 -3
  350. package/dist/types/components/ez-time-input/ez-time-input.d.ts +8 -0
  351. package/dist/types/components/ez-tooltip/ez-tooltip.d.ts +57 -0
  352. package/dist/types/components/ez-tree/ez-tree.d.ts +4 -0
  353. package/dist/types/components/ez-tree/interfaces/ITreeItem.d.ts +1 -0
  354. package/dist/types/components/ez-tree/subcomponents/TreeItem.d.ts +1 -0
  355. package/dist/types/components.d.ts +1233 -63
  356. package/dist/types/utils/FocusResolver.d.ts +5 -0
  357. package/dist/types/utils/constants.d.ts +2 -0
  358. package/dist/types/utils/customEditor/interfaces/ICustomEditor.d.ts +2 -0
  359. package/dist/types/utils/form/DataBinder.d.ts +7 -2
  360. package/dist/types/utils/form/interfaces/FormLayout.d.ts +4 -0
  361. package/dist/types/utils/form/interfaces/index.d.ts +1 -0
  362. package/dist/types/utils/index.d.ts +2 -0
  363. package/dist/types/utils/search/types.d.ts +12 -0
  364. package/dist/types/utils/validators/recordvalidator/IInvalidCells.d.ts +5 -0
  365. package/dist/types/utils/validators/recordvalidator/RecordValidationProcessor.d.ts +1 -1
  366. package/package.json +12 -4
  367. package/react/components.d.ts +62 -54
  368. package/react/components.js +8 -0
  369. package/react/components.js.map +1 -1
  370. package/react/react-component-lib/createComponent.d.ts +1 -1
  371. package/react/react-component-lib/createComponent.js.map +1 -1
  372. package/react/react-component-lib/createOverlayComponent.js.map +1 -1
  373. package/react/react-component-lib/interfaces.js +1 -0
  374. package/react/react-component-lib/utils/attachProps.d.ts +1 -1
  375. package/react/react-component-lib/utils/attachProps.js.map +1 -1
  376. package/react/react-component-lib/utils/dev.js.map +1 -1
  377. package/react/react-component-lib/utils/index.d.ts +2 -2
  378. package/react/react-component-lib/utils/index.js.map +1 -1
  379. package/dist/cjs/RecordValidationProcessor-4c893e04.js +0 -102
  380. package/dist/cjs/ez-card-item_3.cjs.entry.js +0 -183
  381. package/dist/cjs/ez-custom-form-input_2.cjs.entry.js +0 -206
  382. package/dist/esm/RecordValidationProcessor-b00b8b77.js +0 -99
  383. package/dist/esm/constants-4e0d35b7.js +0 -5
  384. package/dist/esm/ez-card-item_3.entry.js +0 -177
  385. package/dist/esm/ez-custom-form-input_2.entry.js +0 -201
  386. package/dist/ezui/p-04f24913.js +0 -1
  387. package/dist/ezui/p-05e1f4e7.js +0 -1
  388. package/dist/ezui/p-0ee0ac03.entry.js +0 -1
  389. package/dist/ezui/p-11b09aa1.entry.js +0 -1
  390. package/dist/ezui/p-1b08bf3c.entry.js +0 -1
  391. package/dist/ezui/p-24ca32a3.entry.js +0 -1
  392. package/dist/ezui/p-2af4e2de.entry.js +0 -1
  393. package/dist/ezui/p-30951bd7.entry.js +0 -1
  394. package/dist/ezui/p-3141ee18.entry.js +0 -1
  395. package/dist/ezui/p-31674f8e.entry.js +0 -1
  396. package/dist/ezui/p-33792b2b.entry.js +0 -1
  397. package/dist/ezui/p-36180f4d.entry.js +0 -1
  398. package/dist/ezui/p-3f8c33e0.entry.js +0 -1
  399. package/dist/ezui/p-4607fb89.js +0 -1
  400. package/dist/ezui/p-52100a6e.entry.js +0 -1
  401. package/dist/ezui/p-5517995b.entry.js +0 -1
  402. package/dist/ezui/p-5fefcdc9.entry.js +0 -1
  403. package/dist/ezui/p-615def37.entry.js +0 -304
  404. package/dist/ezui/p-752c4069.entry.js +0 -1
  405. package/dist/ezui/p-81cffa53.entry.js +0 -1
  406. package/dist/ezui/p-81f99ace.entry.js +0 -1
  407. package/dist/ezui/p-868b56f7.entry.js +0 -1
  408. package/dist/ezui/p-8eef0f70.entry.js +0 -1
  409. package/dist/ezui/p-9634631d.entry.js +0 -1
  410. package/dist/ezui/p-9a23d513.entry.js +0 -1
  411. package/dist/ezui/p-9aa27e69.entry.js +0 -1
  412. package/dist/ezui/p-9c2e2d68.entry.js +0 -1
  413. package/dist/ezui/p-9e11fc7b.js +0 -1
  414. package/dist/ezui/p-b0e71d23.entry.js +0 -1
  415. package/dist/ezui/p-c3b7a23e.entry.js +0 -1
  416. package/dist/ezui/p-cd1a2e6b.entry.js +0 -1
  417. package/dist/ezui/p-dbeee5aa.entry.js +0 -1
  418. package/dist/ezui/p-de870657.entry.js +0 -1
  419. package/dist/ezui/p-ee9315ff.entry.js +0 -1
  420. package/dist/ezui/p-f1c2c19e.entry.js +0 -1
  421. package/dist/ezui/p-f1c3f85d.entry.js +0 -1
  422. package/dist/ezui/p-f291db18.entry.js +0 -1
@@ -0,0 +1,221 @@
1
+ :host {
2
+ /* list */
3
+ /*@doc Define a cor do texto da lista de opções.*/
4
+ --ez-search__list-title--primary: var(--title--primary, #2B3A54);
5
+ /*@doc Define a cor do texto do value da lista de opções.*/
6
+ --ez-search__list-text--primary: var(--text--primary, #626e82);
7
+ /*@doc Define a altura do box da lista de opções.*/
8
+ --ez-search__list-height: calc(var(--ez-search--font-size) + var(--ez-search--space--medium) + 4px);
9
+ /*@doc Define a largura mínima da lista de opções.*/
10
+ --ez-search__list-min-width: 64px;
11
+
12
+ /* scrollbar */
13
+ /*@doc Define a cor da barra de rolagem do componente.*/
14
+ --ez-search__scrollbar--color-default: var(--scrollbar--default, #626e82);
15
+ /*@doc Define a cor de fundo da barra de rolagem do componente.*/
16
+ --ez-search__scrollbar--color-background: var(--scrollbar--background, #E5EAF0);
17
+ /*@doc Define a cor do hover na barra de rolagem do componente.*/
18
+ --ez-search__scrollbar--color-hover: var(--scrollbar--hover, #2B3A54);
19
+ /*@doc Define a cor do active na barra de rolagem do componente.*/
20
+ --ez-search__scrollbar--color-clicked: var(--scrollbar--clicked, #a2abb9);
21
+ /*@doc Define o raio da borda da barra de rolagem do componente.*/
22
+ --ez-search__scrollbar--border-radius: var(--border--radius-small, 6px);
23
+ /*@doc Define a largura da barra de rolagem do componente.*/
24
+ --ez-search__scrollbar--width: var(--space--small, 6px);
25
+
26
+ /* general */
27
+ /*@doc Define o raio da borda do input quando pequeno.*/
28
+ --ez-search--border-radius-small: var(--border--radius-small, 6px);
29
+ /*@doc Define o tamanho da fonte dentro do input.*/
30
+ --ez-search--font-size: var(--text--medium, 14px);
31
+ /*@doc Define a família da fonte dentro do input.*/
32
+ --ez-search--font-family: var(--font-pattern, Arial);
33
+ /*@doc Define o peso da fonte dentro do input quando pesada.*/
34
+ --ez-search--font-weight--large: var(--text-weight--large, 500);
35
+ /*@doc Define o peso da fonte dentro do input quando média.*/
36
+ --ez-search--font-weight--medium: var(--text-weight--medium, 400);
37
+ /*@doc Define a cor de fundo dos itens da lista de opções.*/
38
+ --ez-search--background-medium: var(--background--medium, #f0f3f7);
39
+ /*@doc Define a altura da linha do texto dentro do input.*/
40
+ --ez-search--line-height: calc(var(--text--medium, 14px) + 4px);
41
+ }
42
+
43
+ .list-options {
44
+ position: relative;
45
+ z-index: var(--more-visible, 2);
46
+ margin: var(--space--small) 0px;
47
+ padding: 0px;
48
+ padding-inline-start: 0px;
49
+ box-sizing: border-box;
50
+ width: 100%;
51
+ height: 100%;
52
+ max-height: 350px;
53
+ min-width: 150px;
54
+ display: flex;
55
+ flex-direction: column;
56
+ scroll-behavior: smooth;
57
+ overflow-y: auto;
58
+ overflow-x: hidden;
59
+ scrollbar-width: thin;
60
+
61
+ /*public*/
62
+ scrollbar-color: var(--ez-search__scrollbar--color-clicked) var(--ez-search__scrollbar--color-background);
63
+
64
+ }
65
+
66
+ .list-options::-webkit-scrollbar {
67
+ /*public*/
68
+ background-color: var(--scrollbar--background);
69
+ width: var(--space--small);
70
+ max-width: var(--space--small);
71
+ min-width: var(--space--small);
72
+ height: var(--space--small);
73
+ max-height: var(--space--small);
74
+ min-height: var(--space--small);
75
+ }
76
+
77
+ .list-options::-webkit-scrollbar-track {
78
+ /*public*/
79
+ background-color: var(--ez-search__scrollbar--color-background);
80
+ border-radius: var(--ez-search__scrollbar--border-radius);
81
+ }
82
+
83
+ .list-options::-webkit-scrollbar-thumb {
84
+ /*public*/
85
+ background-color: var(--ez-search__scrollbar--color-default);
86
+ border-radius: var(--ez-search__scrollbar--border-radius);
87
+ }
88
+
89
+ .list-options::-webkit-scrollbar-thumb:vertical:hover,
90
+ .list-options::-webkit-scrollbar-thumb:horizontal:hover {
91
+ /*public*/
92
+ background-color: var(--ez-search__scrollbar--color-hover);
93
+ }
94
+
95
+ .list-options::-webkit-scrollbar-thumb:vertical:active,
96
+ .list-options::-webkit-scrollbar-thumb:horizontal:active {
97
+ /*public*/
98
+ background-color: var(--ez-search__scrollbar--color-clicked);
99
+ }
100
+
101
+ .message {
102
+ text-align: center;
103
+ display: flex;
104
+ justify-content: center;
105
+ align-items: center;
106
+ list-style-type: none;
107
+ margin: var(--space--medium) 0px;
108
+
109
+ /*public*/
110
+ min-height: var(--ez-search__list-height);
111
+ }
112
+
113
+ .message__no-result {
114
+ /*public*/
115
+ color: var(--ez-search__list-title--primary);
116
+ font-family: var(--ez-search--font-family);
117
+ font-size: var(--ez-search--font-size);
118
+ }
119
+
120
+ .loading__container {
121
+ display: flex;
122
+ flex-direction: column;
123
+ margin: var(--space--small);
124
+ }
125
+
126
+ .item__value,
127
+ .item__label {
128
+ flex-basis: auto;
129
+ white-space: nowrap;
130
+ overflow: hidden;
131
+ text-overflow: ellipsis;
132
+
133
+ /*public*/
134
+ color: var(--ez-search__list-title--primary);
135
+ font-family: var(--ez-search--font-family);
136
+ font-size: var(--ez-search--font-size);
137
+ line-height: var(--ez-search--line-height);
138
+ }
139
+
140
+ .item__label {
141
+ /*public*/
142
+ font-weight: var(--ez-search--font-weight--medium);
143
+ }
144
+
145
+ .item__label--bold {
146
+ /*public*/
147
+ font-weight: var(--ez-search--font-weight--large);
148
+ }
149
+
150
+ .item__value {
151
+ text-align: center;
152
+
153
+ /*public*/
154
+ color: var(--ez-search__list-text--primary);
155
+ font-weight: var(--ez-search--font-weight--large);
156
+ }
157
+
158
+ .item__value--hidden {
159
+ visibility: hidden;
160
+ position: absolute;
161
+ white-space: nowrap;
162
+ z-index: -1;
163
+ top: 0;
164
+ left: 0;
165
+ }
166
+
167
+ .item__label {
168
+ text-align: left;
169
+ }
170
+
171
+ .item__list>li:hover {
172
+ /*public*/
173
+ background-color: var(--ez-search--background-medium);
174
+ }
175
+
176
+ .item {
177
+ display: flex;
178
+ align-items: center;
179
+ width: 100%;
180
+ box-sizing: border-box;
181
+ list-style-type: none;
182
+ cursor: pointer;
183
+
184
+ /*public*/
185
+ border-radius: var(--ez-search--border-radius-small);
186
+ gap: var(--space--small, 6px);
187
+ }
188
+
189
+ .preselected {
190
+ /*public*/
191
+ background-color: var(--background--medium);
192
+ }
193
+
194
+ @-webkit-keyframes spin {
195
+ 0% {
196
+ -webkit-transform: rotate(0deg);
197
+ }
198
+
199
+ 100% {
200
+ -webkit-transform: rotate(360deg);
201
+ }
202
+ }
203
+
204
+ @keyframes spin {
205
+ 0% {
206
+ transform: rotate(0deg);
207
+ }
208
+
209
+ 100% {
210
+ transform: rotate(360deg);
211
+ }
212
+ }
213
+
214
+ @supports not (scrollbar-width: thin) {
215
+
216
+ /* Estilos para navegadores que NÃO suportam scrollbar-width */
217
+ .item {
218
+ /* Estilos alternativos, por exemplo, para navegadores que não suportam scrollbar-width */
219
+ padding-right: 8px;
220
+ }
221
+ }
@@ -0,0 +1,278 @@
1
+ import { Host, h } from '@stencil/core';
2
+ import { StringUtils } from '@sankhyalabs/core';
3
+ export class EzSearchResultList {
4
+ constructor() {
5
+ this._textEmptyList = "Nenhum resultado encontrado";
6
+ this._startHighlightTag = "<span class='card-item__highlight'>";
7
+ this._endHighlightTag = "</span>";
8
+ this.showLoading = undefined;
9
+ this.visibleOptions = [];
10
+ this.value = undefined;
11
+ this.showOptionValue = true;
12
+ this._preSelection = undefined;
13
+ }
14
+ async nextOption() {
15
+ const newPreSelection = this._preSelection === undefined ? 0 : Math.min(this._preSelection + 1, this.visibleOptions.length - 1);
16
+ this.preSelectItemByIndex(newPreSelection);
17
+ }
18
+ async previousOption() {
19
+ const newPreSelection = this._preSelection === undefined ? 0 : Math.max(this._preSelection - 1, 0);
20
+ this.preSelectItemByIndex(newPreSelection);
21
+ }
22
+ preSelectItemByIndex(newIndex) {
23
+ this._preSelection = newIndex;
24
+ const option = this.visibleOptions[newIndex];
25
+ this.scrollToOption(option);
26
+ }
27
+ selectOption(newOption) {
28
+ const newOptionsReplaced = Object.assign(Object.assign({}, newOption), { value: newOption === null || newOption === void 0 ? void 0 : newOption.value, label: newOption === null || newOption === void 0 ? void 0 : newOption.label });
29
+ const newOptionsFormatted = Object.assign(Object.assign({}, newOptionsReplaced), { value: newOptionsReplaced === null || newOptionsReplaced === void 0 ? void 0 : newOptionsReplaced.value, label: newOptionsReplaced === null || newOptionsReplaced === void 0 ? void 0 : newOptionsReplaced.label });
30
+ this.changeValue.emit(newOptionsFormatted);
31
+ }
32
+ createAndSelectOption(detail) {
33
+ let { key, title } = detail;
34
+ key = String(key !== null && key !== void 0 ? key : "");
35
+ const startHighlight = new RegExp(this._startHighlightTag, 'g');
36
+ const endHighlight = new RegExp(this._endHighlightTag, 'g');
37
+ title = StringUtils.decodeHtmlEntities(title);
38
+ const option = {
39
+ value: key === null || key === void 0 ? void 0 : key.replace(startHighlight, '').replace(endHighlight, ''),
40
+ label: title === null || title === void 0 ? void 0 : title.replace(startHighlight, '').replace(endHighlight, '')
41
+ };
42
+ this.selectOption(option);
43
+ }
44
+ scrollToOption(opt) {
45
+ if (!(opt === null || opt === void 0 ? void 0 : opt.value) || !this._optionsList)
46
+ return;
47
+ window.requestAnimationFrame(() => {
48
+ var _a;
49
+ const currentValue = String((_a = opt === null || opt === void 0 ? void 0 : opt.value) !== null && _a !== void 0 ? _a : "");
50
+ const liElem = currentValue
51
+ ? this._optionsList.querySelector(`div#item_${currentValue.replace(/([ #;&,.+*~':"!^$[\]()=<>|/\\])/g, '\\$1')}`)
52
+ : undefined;
53
+ if (liElem) {
54
+ liElem.scrollIntoView({ behavior: "smooth", block: "nearest" });
55
+ }
56
+ });
57
+ }
58
+ buildItem(opt, index) {
59
+ var _a;
60
+ opt.label = opt.label || opt.value;
61
+ const card = {
62
+ key: String((_a = opt.presentationValue) !== null && _a !== void 0 ? _a : ""),
63
+ title: opt.presentationLabel,
64
+ details: opt.details
65
+ };
66
+ return h("div", { style: { "height": "100%" }, class: index === this._preSelection ? "item preselected" : "item", id: `item_${opt.value}`, onMouseDown: () => this.createAndSelectOption(card), onMouseOver: () => { this._preSelection = index; } }, h("ez-card-item", { item: card, compacted: true, enableKey: this.showOptionValue }));
67
+ }
68
+ async selectCurrentItem() {
69
+ this.selectOption(this.visibleOptions[this._preSelection]);
70
+ }
71
+ async cancelSelection() {
72
+ this.cancelPreselection();
73
+ }
74
+ cancelPreselection() {
75
+ this._preSelection = undefined;
76
+ }
77
+ canShowListOptions() {
78
+ return !this.showLoading && this.visibleOptions.length > 0;
79
+ }
80
+ render() {
81
+ return (h(Host, null, h("ul", { class: "list-options", ref: elem => this._optionsList = elem }, !this.showLoading
82
+ && this.visibleOptions.length === 0
83
+ && h("div", { class: "message" }, h("span", { class: "message__no-result" }, this._textEmptyList)), this.showLoading && (h("div", { class: "loading__container" }, h("ez-skeleton", { count: 4, height: '20px' }))), this.canShowListOptions() && this.visibleOptions.map((opt, index) => this.buildItem(opt, index)))));
84
+ }
85
+ static get is() { return "ez-search-result-list"; }
86
+ static get encapsulation() { return "shadow"; }
87
+ static get originalStyleUrls() {
88
+ return {
89
+ "$": ["ez-search-result-list.css"]
90
+ };
91
+ }
92
+ static get styleUrls() {
93
+ return {
94
+ "$": ["ez-search-result-list.css"]
95
+ };
96
+ }
97
+ static get properties() {
98
+ return {
99
+ "showLoading": {
100
+ "type": "boolean",
101
+ "mutable": false,
102
+ "complexType": {
103
+ "original": "boolean",
104
+ "resolved": "boolean",
105
+ "references": {}
106
+ },
107
+ "required": false,
108
+ "optional": false,
109
+ "docs": {
110
+ "tags": [],
111
+ "text": ""
112
+ },
113
+ "attribute": "show-loading",
114
+ "reflect": false
115
+ },
116
+ "visibleOptions": {
117
+ "type": "unknown",
118
+ "mutable": false,
119
+ "complexType": {
120
+ "original": "Array<IOption>",
121
+ "resolved": "IOption[]",
122
+ "references": {
123
+ "Array": {
124
+ "location": "global"
125
+ },
126
+ "IOption": {
127
+ "location": "import",
128
+ "path": "../../ez-search-plus"
129
+ }
130
+ }
131
+ },
132
+ "required": false,
133
+ "optional": false,
134
+ "docs": {
135
+ "tags": [],
136
+ "text": ""
137
+ },
138
+ "defaultValue": "[]"
139
+ },
140
+ "value": {
141
+ "type": "string",
142
+ "mutable": false,
143
+ "complexType": {
144
+ "original": "IOption | string",
145
+ "resolved": "IOption | string",
146
+ "references": {
147
+ "IOption": {
148
+ "location": "import",
149
+ "path": "../../ez-search-plus"
150
+ }
151
+ }
152
+ },
153
+ "required": false,
154
+ "optional": false,
155
+ "docs": {
156
+ "tags": [],
157
+ "text": ""
158
+ },
159
+ "attribute": "value",
160
+ "reflect": false
161
+ },
162
+ "showOptionValue": {
163
+ "type": "boolean",
164
+ "mutable": false,
165
+ "complexType": {
166
+ "original": "boolean",
167
+ "resolved": "boolean",
168
+ "references": {}
169
+ },
170
+ "required": false,
171
+ "optional": false,
172
+ "docs": {
173
+ "tags": [],
174
+ "text": ""
175
+ },
176
+ "attribute": "show-option-value",
177
+ "reflect": false,
178
+ "defaultValue": "true"
179
+ }
180
+ };
181
+ }
182
+ static get states() {
183
+ return {
184
+ "_preSelection": {}
185
+ };
186
+ }
187
+ static get events() {
188
+ return [{
189
+ "method": "changeValue",
190
+ "name": "changeValue",
191
+ "bubbles": true,
192
+ "cancelable": true,
193
+ "composed": true,
194
+ "docs": {
195
+ "tags": [],
196
+ "text": ""
197
+ },
198
+ "complexType": {
199
+ "original": "IOption",
200
+ "resolved": "IOption",
201
+ "references": {
202
+ "IOption": {
203
+ "location": "import",
204
+ "path": "../../ez-search-plus"
205
+ }
206
+ }
207
+ }
208
+ }];
209
+ }
210
+ static get methods() {
211
+ return {
212
+ "nextOption": {
213
+ "complexType": {
214
+ "signature": "() => Promise<void>",
215
+ "parameters": [],
216
+ "references": {
217
+ "Promise": {
218
+ "location": "global"
219
+ }
220
+ },
221
+ "return": "Promise<void>"
222
+ },
223
+ "docs": {
224
+ "text": "",
225
+ "tags": []
226
+ }
227
+ },
228
+ "previousOption": {
229
+ "complexType": {
230
+ "signature": "() => Promise<void>",
231
+ "parameters": [],
232
+ "references": {
233
+ "Promise": {
234
+ "location": "global"
235
+ }
236
+ },
237
+ "return": "Promise<void>"
238
+ },
239
+ "docs": {
240
+ "text": "",
241
+ "tags": []
242
+ }
243
+ },
244
+ "selectCurrentItem": {
245
+ "complexType": {
246
+ "signature": "() => Promise<void>",
247
+ "parameters": [],
248
+ "references": {
249
+ "Promise": {
250
+ "location": "global"
251
+ }
252
+ },
253
+ "return": "Promise<void>"
254
+ },
255
+ "docs": {
256
+ "text": "",
257
+ "tags": []
258
+ }
259
+ },
260
+ "cancelSelection": {
261
+ "complexType": {
262
+ "signature": "() => Promise<void>",
263
+ "parameters": [],
264
+ "references": {
265
+ "Promise": {
266
+ "location": "global"
267
+ }
268
+ },
269
+ "return": "Promise<void>"
270
+ },
271
+ "docs": {
272
+ "text": "",
273
+ "tags": []
274
+ }
275
+ }
276
+ };
277
+ }
278
+ }
@@ -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*/
@@ -53,6 +55,7 @@
53
55
  height: var(--ez-sidebar-navigator--height);
54
56
  padding-top: var(--space--xs, 12px);
55
57
  padding-bottom: var(--space--xs, 12px);
58
+ outline: none;
56
59
 
57
60
  /* public */
58
61
  gap: var(--ez-sidebar-navigator--gap);
@@ -124,7 +127,7 @@
124
127
 
125
128
  .dynamic {
126
129
  position: absolute;
127
- z-index: var(--most-visible , 4);
130
+ z-index: var(--ez-sidebar-navigator--z-index);
128
131
  }
129
132
 
130
133
  .fixed {
@@ -1,16 +1,17 @@
1
1
  .skeleton {
2
- box-sizing: border-box;
3
- outline: none;
4
- overflow: hidden;
5
- position: relative;
6
-
7
- background:var(--skeleton-background, #eff1f6) no-repeat;
2
+ background: var(--skeleton-background, #eff1f6) no-repeat;
8
3
 
9
4
  border-radius: var(--skeleton-border-radius, 4px);
10
5
  width: var(--skeleton-width, 100%);
11
6
  height: var(--skeleton-height, 20px);
12
7
  display: inline-block;
13
- margin-bottom: var(--skeleton-margin-bottom, 0px);
8
+ margin-bottom: var(--skeleton-margin-bottom, 0px);
9
+ box-sizing: border-box;
10
+ outline: none;
11
+ overflow: hidden;
12
+ position: relative;
13
+ -webkit-will-change: transform;
14
+ -moz-will-change: transform;
14
15
  will-change: transform;
15
16
 
16
17
  &:after,
@@ -31,29 +32,31 @@
31
32
 
32
33
  &.progress,
33
34
  &.progress-dark {
35
+ -webkit-animation: progress 2s cubic-bezier(0.4, 0, 0.2, 1) infinite;
36
+ -moz-animation: progress 2s cubic-bezier(0.4, 0, 0.2, 1) infinite;
37
+ -ms-animation: progress 2s cubic-bezier(0.4, 0, 0.2, 1) infinite;
34
38
  animation: progress 2s cubic-bezier(0.4, 0, 0.2, 1) infinite;
35
39
  background-size: 200px 100%;
36
40
  }
37
41
 
38
42
  &.progress {
39
- background-image: linear-gradient(
40
- 90deg,
41
- rgba(255, 255, 255, 0),
42
- rgba(255, 255, 255, 0.6),
43
- rgba(255, 255, 255, 0)
44
- );
43
+ background-image: -webkit-linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0));
44
+ background-image: -moz-linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0));
45
+ background-image: -ms-linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0));
46
+ background-image: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0));
45
47
  }
46
48
 
47
49
  &.progress-dark {
48
- background-image: linear-gradient(
49
- 90deg,
50
- transparent,
51
- rgba(0, 0, 0, 0.2),
52
- transparent
53
- );
50
+ background-image: -webkit-linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.2), transparent);
51
+ background-image: -moz-linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.2), transparent);
52
+ background-image: -ms-linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.2), transparent);
53
+ background-image: linear-gradient(90deg,transparent,rgba(0, 0, 0, 0.2),transparent);
54
54
  }
55
55
 
56
56
  &.pulse {
57
+ -webkit-animation: pulse 1.5s cubic-bezier(0.4, 0, 0.2, 1) infinite;
58
+ -moz-animation: pulse 1.5s cubic-bezier(0.4, 0, 0.2, 1) infinite;
59
+ -ms-animation: pulse 1.5s cubic-bezier(0.4, 0, 0.2, 1) infinite;
57
60
  animation: pulse 1.5s cubic-bezier(0.4, 0, 0.2, 1) infinite;
58
61
  animation-delay: 0.5s;
59
62
  }
@@ -72,23 +75,40 @@
72
75
  }
73
76
  }
74
77
 
78
+ @-webkit-keyframes progress {
79
+ 0% { background-position: -200px 0; }
80
+ 100% { background-position: calc(200px + 100%) 0; }
81
+ }
82
+ @-moz-keyframes progress {
83
+ 0% { background-position: -200px 0; }
84
+ 100% { background-position: calc(200px + 100%) 0; }
85
+ }
86
+ @-ms-keyframes progress {
87
+ 0% { background-position: -200px 0; }
88
+ 100% { background-position: calc(200px + 100%) 0; }
89
+ }
75
90
  @keyframes progress {
76
- 0% {
77
- background-position: -200px 0;
78
- }
79
- 100% {
80
- background-position: calc(200px + 100%) 0;
81
- }
91
+ 0% { background-position: -200px 0; }
92
+ 100% { background-position: calc(200px + 100%) 0; }
82
93
  }
83
94
 
95
+ @-webkit-keyframes pulse {
96
+ 0% { opacity: 1; }
97
+ 50% { opacity: 0.4; }
98
+ 100% { opacity: 1; }
99
+ }
100
+ @-moz-keyframes pulse {
101
+ 0% { opacity: 1; }
102
+ 50% { opacity: 0.4; }
103
+ 100% { opacity: 1; }
104
+ }
105
+ @-ms-keyframes pulse {
106
+ 0% { opacity: 1; }
107
+ 50% { opacity: 0.4; }
108
+ 100% { opacity: 1; }
109
+ }
84
110
  @keyframes pulse {
85
- 0% {
86
- opacity: 1;
87
- }
88
- 50% {
89
- opacity: 0.4;
90
- }
91
- 100% {
92
- opacity: 1;
93
- }
111
+ 0% { opacity: 1; }
112
+ 50% { opacity: 0.4; }
113
+ 100% { opacity: 1; }
94
114
  }