@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
@@ -18,7 +18,7 @@ var ModalButtonStatus;
18
18
  })(ModalButtonStatus || (ModalButtonStatus = {}));
19
19
  const ModalButtonStatus$1 = ModalButtonStatus;
20
20
 
21
- const ezModalContainerCss = ".sc-ez-modal-container-h{--ez-modal-container-overflow-y:auto;--ez-modal-container-overflow-x:clip;display:grid;grid-template-rows:0 auto 1fr auto 0;width:100%;height:100%}.ez-modal-container__header-container.sc-ez-modal-container{outline:none}.ez-modal-container__header.sc-ez-modal-container{display:flex;flex-wrap:nowrap;flex-direction:row;justify-content:space-between}.ez-modal-container__content.sc-ez-modal-container{overflow-y:var(--ez-modal-container-overflow-y);overflow-x:var(--ez-modal-container-overflow-x)}.ez-modal-container__content.sc-ez-modal-container::-webkit-scrollbar{width:var(--space--small);min-width:var(--space--small);max-width:var(--space--small)}.ez-modal-container__footer.sc-ez-modal-container{display:flex;flex-direction:row;justify-content:flex-end;gap:var(--space--medium);width:100%;padding-top:var(--space--small, 6px)}.ez-modal-container__title.sc-ez-modal-container{display:grid}.ez-modal-container__close-button.sc-ez-modal-container{cursor:pointer;background-color:transparent;border:none}.ez-modal-container__close-icon.sc-ez-modal-container{--icon--color:var(--title--primary, #2B3A54)}.ez-modal-container__focus-ctrl.sc-ez-modal-container{height:0px;background-color:transparent;border:none}";
21
+ const ezModalContainerCss = ".sc-ez-modal-container-h{--ez-modal-container-overflow-y:auto;--ez-modal-container-overflow-x:clip;display:grid;grid-template-rows:0 auto 1fr auto 0;width:100%;height:100%}.ez-modal-container__header-container.sc-ez-modal-container{outline:none}.ez-modal-container__header.sc-ez-modal-container{display:flex;flex-wrap:nowrap;flex-direction:row;justify-content:space-between}.ez-modal-container__content.sc-ez-modal-container{overflow-y:var(--ez-modal-container-overflow-y);overflow-x:var(--ez-modal-container-overflow-x)}.ez-modal-container__content.sc-ez-modal-container::-webkit-scrollbar{width:var(--space--small);min-width:var(--space--small);max-width:var(--space--small)}.ez-modal-container__footer.sc-ez-modal-container{display:flex;flex-direction:row;justify-content:flex-end;gap:var(--space--medium);width:100%;padding-top:var(--space--small, 6px)}.ez-modal-container__title.sc-ez-modal-container{display:grid}.ez-modal-container__close-button.sc-ez-modal-container{cursor:pointer;background-color:transparent;border:none;outline:none}.ez-modal-container__close-icon.sc-ez-modal-container{--icon--color:var(--title--primary, #2B3A54)}.ez-modal-container__focus-ctrl.sc-ez-modal-container{height:0px;background-color:transparent;border:none}";
22
22
 
23
23
  const EzModalContainer = class {
24
24
  constructor(hostRef) {
@@ -50,11 +50,15 @@ const EzModalContainer = class {
50
50
  this.ezModalAction.emit(ModalAction$1.LOAD);
51
51
  this._modalRef.focus();
52
52
  });
53
- new KeyboardManager({ propagate: false, element: this._element })
53
+ this._keyboardManager = new KeyboardManager({ propagate: false, element: this._element })
54
54
  .bind("Enter", this.ezModalAction.emit.bind(ModalAction$1.OK))
55
55
  .bind("Escape", () => this.closeModal())
56
56
  .bind("Esc", () => this.closeModal());
57
57
  }
58
+ disconnectedCallback() {
59
+ var _a;
60
+ (_a = this._keyboardManager) === null || _a === void 0 ? void 0 : _a.unbindAllShortcutKeys();
61
+ }
58
62
  closeModal() {
59
63
  this.ezModalAction.emit("CLOSE");
60
64
  }
@@ -68,7 +72,7 @@ const EzModalContainer = class {
68
72
  this._closeButton.focus();
69
73
  }
70
74
  render() {
71
- return (h(Host, null, h("button", { class: "ez-modal-container__focus-ctrl", onFocusin: () => this.focusLast() }), h("div", { ref: ref => this._modalRef = ref, tabIndex: -1, class: "ez-modal-container__header-container" }, this.showTitleBar && (h("div", { class: "ez-modal-container__header ez-margin-bottom--large" }, h("div", { class: "ez-col ez-align--middle ez-modal-container__title" }, h("h2", { class: "ez-text ez-title--large ez-title--primary ez-text--bold ez-margin-vertical--extra-small" }, this.modalTitle), this.modalSubTitle && (h("div", { class: "ez-text ez-text--medium ez-text--primary ez-margin-vertical--extra-small" }, this.modalSubTitle))), (this.showCloseButton && h("button", { ref: ref => this._closeButton = ref, class: "ez-modal-container__close-button", onClick: () => this.ezModalAction.emit(ModalAction$1.CLOSE) }, h("ez-icon", { class: "ez-modal-container__close-icon", size: "medium", iconName: "close" })))))), h("div", { class: "ez-modal-container__content" }, h("slot", null)), h("div", { class: "ez-modal-container__footer" }, this.cancelIsVisible() && (h("ez-button", { label: this.cancelButtonLabel, enabled: this.cancelButtonStatus !== ModalButtonStatus$1.DISABLED, onClick: () => this.ezModalAction.emit(ModalAction$1.CANCEL) })), this.okIsVisible() && (h("ez-button", { ref: ref => this._okButton = ref, class: "ez-button--primary", label: this.okButtonLabel, enabled: this.okButtonStatus !== ModalButtonStatus$1.DISABLED, onClick: () => this.ezModalAction.emit(ModalAction$1.OK) }))), h("button", { class: "ez-modal-container__focus-ctrl", onFocusin: () => this.focusFirst() })));
75
+ return (h(Host, null, h("button", { class: "ez-modal-container__focus-ctrl", onFocusin: () => this.focusLast() }), h("div", { ref: ref => this._modalRef = ref, tabIndex: -1, class: "ez-modal-container__header-container" }, this.showTitleBar && (h("div", { class: "ez-modal-container__header ez-margin-bottom--medium" }, h("div", { class: "ez-col ez-align--middle ez-modal-container__title" }, h("h2", { class: "ez-text ez-title--large ez-title--primary ez-text--bold ez-margin-vertical--extra-small" }, this.modalTitle), this.modalSubTitle && (h("div", { class: "ez-text ez-text--medium ez-text--primary ez-margin-vertical--extra-small" }, this.modalSubTitle))), (this.showCloseButton && h("button", { ref: ref => this._closeButton = ref, class: "ez-modal-container__close-button", onClick: () => this.ezModalAction.emit(ModalAction$1.CLOSE) }, h("ez-icon", { class: "ez-modal-container__close-icon", size: "medium", iconName: "close" })))))), h("div", { tabIndex: -1, class: "ez-modal-container__content" }, h("slot", null)), h("div", { tabIndex: -1, class: "ez-modal-container__footer" }, this.cancelIsVisible() && (h("ez-button", { label: this.cancelButtonLabel, enabled: this.cancelButtonStatus !== ModalButtonStatus$1.DISABLED, onClick: () => this.ezModalAction.emit(ModalAction$1.CANCEL) })), this.okIsVisible() && (h("ez-button", { ref: ref => this._okButton = ref, class: "ez-button--primary", label: this.okButtonLabel, enabled: this.okButtonStatus !== ModalButtonStatus$1.DISABLED, onClick: () => this.ezModalAction.emit(ModalAction$1.OK) }))), h("button", { class: "ez-modal-container__focus-ctrl", onFocusin: () => this.focusFirst() })));
72
76
  }
73
77
  get _element() { return getElement(this); }
74
78
  };
@@ -1,7 +1,7 @@
1
1
  import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-5a720e56.js';
2
2
  import { FloatingManager, KeyboardManager } from '@sankhyalabs/core';
3
3
 
4
- const ezModalCss = ":host{--ez-modal-z-index:var(--elevation--12, 12);--ez-modal-vertical-padding:var(--space--large, 24px);--ez-modal-content-padding:24px;display:block}.modal{position:fixed;display:flex;top:0px;z-index:var(--ez-modal-z-index);left:0px;width:100%;box-sizing:border-box;height:100vh}.modal__screen-light{background:rgba(0, 4, 12, 0.1)}.modal__screen-medium{backdrop-filter:blur(4px);background:rgba(0, 4, 12, 0.4)}.modal__vertical-padding{padding:var(--ez-modal-vertical-padding) 0}@keyframes expand-modal--left{from{transform:translate(-100%)}}@keyframes expand-modal--right{from{transform:translate(100%)}}.modal__container{display:flex;flex-wrap:wrap;height:100%;box-sizing:border-box;width:100%;align-items:flex-start}.modal__container--right{animation:expand-modal--right .2s ease-in-out 1;justify-content:flex-end}.modal__container--left{animation:expand-modal--left .2s ease-in-out 1;justify-content:flex-start}.modal__content{display:flex;flex-wrap:wrap;box-sizing:border-box;max-height:100%;height:100%;overflow-y:auto;background-color:rgb(255, 255, 255);padding:var(--ez-modal-content-padding);box-shadow:rgb(0 38 111 / 12%) 0px 0px 16px 0px}.modal__content--right{border-radius:12px 0px 0px 12px}.modal__content--left{border-radius:0px 12px 12px 0px}.modal__box__container{display:flex;flex-wrap:wrap;background-color:#fff;width:100%;border-radius:12px}.row{width:100%;display:flex;flex-wrap:wrap}.col{display:flex;flex-wrap:wrap;align-self:flex-start;box-sizing:border-box}.col--stretch{align-self:stretch}.col--undefined{width:unset}.col--nowrap{flex-wrap:nowrap}@media screen and (min-width: 320px){.col--sd-1{width:8.33333%}.col--sd-2{width:16.66667%}.col--sd-3{width:25%}.col--sd-4{width:33.33333%}.col--sd-5{width:41.66667%}.col--sd-6{width:50%}.col--sd-7{width:58.33333%}.col--sd-8{width:66.66667%}.col--sd-9{width:75%}.col--sd-10{width:83.33333%}.col--sd-11{width:91.66667%}.col--sd-12{width:100%}}@media screen and (min-width: 480px){.col--pn-1{width:8.33333%}.col--pn-2{width:16.66667%}.col--pn-3{width:25%}.col--pn-4{width:33.33333%}.col--pn-5{width:41.66667%}.col--pn-6{width:50%}.col--pn-7{width:58.33333%}.col--pn-8{width:66.66667%}.col--pn-9{width:75%}.col--pn-10{width:83.33333%}.col--pn-11{width:91.66667%}.col--pn-12{width:100%}}@media screen and (min-width: 768px){.col--tb-1{width:8.33333%}.col--tb-2{width:16.66667%}.col--tb-3{width:25%}.col--tb-4{width:33.33333%}.col--tb-5{width:41.66667%}.col--tb-6{width:50%}.col--tb-7{width:58.33333%}.col--tb-8{width:66.66667%}.col--tb-9{width:75%}.col--tb-10{width:83.33333%}.col--tb-11{width:91.66667%}.col--tb-12{width:100%}}@media screen and (min-width: 992px){.col--md-1{width:8.33333%}.col--md-2{width:16.66667%}.col--md-3{width:25%}.col--md-4{width:33.33333%}.col--md-5{width:41.66667%}.col--md-6{width:50%}.col--md-7{width:58.33333%}.col--md-8{width:66.66667%}.col--md-9{width:75%}.col--md-10{width:83.33333%}.col--md-11{width:91.66667%}.col--md-12{width:100%}}@media screen and (min-width: 1200px){.col--ld-1{width:8.33333%}.col--ld-2{width:16.66667%}.col--ld-3{width:25%}.col--ld-4{width:33.33333%}.col--ld-5{width:41.66667%}.col--ld-6{width:50%}.col--ld-7{width:58.33333%}.col--ld-8{width:66.66667%}.col--ld-9{width:75%}.col--ld-10{width:83.33333%}.col--ld-11{width:91.66667%}.col--ld-12{width:100%}}";
4
+ const ezModalCss = ":host{--ez-modal-z-index:var(--elevation--22, 22);--ez-modal-vertical-padding:var(--space--large, 24px);--ez-modal-content-padding:24px;display:block}.modal{position:fixed;display:flex;top:0px;z-index:var(--ez-modal-z-index);left:0px;width:100%;box-sizing:border-box;height:100vh;outline:none}.modal__screen-light{background:rgba(0, 4, 12, 0.1)}.modal__screen-none{background:none}.modal__screen-medium{backdrop-filter:blur(4px);background:rgba(0, 4, 12, 0.4)}.modal__vertical-padding{padding:var(--ez-modal-vertical-padding) 0}@keyframes expand-modal--left{from{transform:translate(-100%)}}@keyframes expand-modal--right{from{transform:translate(100%)}}.modal__container{display:flex;flex-wrap:wrap;height:100%;box-sizing:border-box;width:100%;align-items:flex-start}.modal__container--right{animation:expand-modal--right .2s ease-in-out 1;justify-content:flex-end}.modal__container--left{animation:expand-modal--left .2s ease-in-out 1;justify-content:flex-start}.modal__content{display:flex;flex-wrap:wrap;box-sizing:border-box;max-height:100%;height:100%;overflow-y:auto;background-color:rgb(255, 255, 255);padding:var(--ez-modal-content-padding);box-shadow:rgb(0 38 111 / 12%) 0px 0px 16px 0px}.modal__content--right{border-radius:12px 0px 0px 12px}.modal__content--left{border-radius:0px 12px 12px 0px}.modal__box__container{display:flex;flex-wrap:wrap;background-color:#fff;width:100%;border-radius:12px}.row{width:100%;display:flex;flex-wrap:wrap}.col{display:flex;flex-wrap:wrap;align-self:flex-start;box-sizing:border-box}.col--stretch{align-self:stretch}.col--undefined{width:unset}.col--nowrap{flex-wrap:nowrap}@media screen and (min-width: 320px){.col--sd-1{width:8.33333%}.col--sd-2{width:16.66667%}.col--sd-3{width:25%}.col--sd-4{width:33.33333%}.col--sd-5{width:41.66667%}.col--sd-6{width:50%}.col--sd-7{width:58.33333%}.col--sd-8{width:66.66667%}.col--sd-9{width:75%}.col--sd-10{width:83.33333%}.col--sd-11{width:91.66667%}.col--sd-12{width:100%}}@media screen and (min-width: 480px){.col--pn-1{width:8.33333%}.col--pn-2{width:16.66667%}.col--pn-3{width:25%}.col--pn-4{width:33.33333%}.col--pn-5{width:41.66667%}.col--pn-6{width:50%}.col--pn-7{width:58.33333%}.col--pn-8{width:66.66667%}.col--pn-9{width:75%}.col--pn-10{width:83.33333%}.col--pn-11{width:91.66667%}.col--pn-12{width:100%}}@media screen and (min-width: 768px){.col--tb-1{width:8.33333%}.col--tb-2{width:16.66667%}.col--tb-3{width:25%}.col--tb-4{width:33.33333%}.col--tb-5{width:41.66667%}.col--tb-6{width:50%}.col--tb-7{width:58.33333%}.col--tb-8{width:66.66667%}.col--tb-9{width:75%}.col--tb-10{width:83.33333%}.col--tb-11{width:91.66667%}.col--tb-12{width:100%}}@media screen and (min-width: 992px){.col--md-1{width:8.33333%}.col--md-2{width:16.66667%}.col--md-3{width:25%}.col--md-4{width:33.33333%}.col--md-5{width:41.66667%}.col--md-6{width:50%}.col--md-7{width:58.33333%}.col--md-8{width:66.66667%}.col--md-9{width:75%}.col--md-10{width:83.33333%}.col--md-11{width:91.66667%}.col--md-12{width:100%}}@media screen and (min-width: 1200px){.col--ld-1{width:8.33333%}.col--ld-2{width:16.66667%}.col--ld-3{width:25%}.col--ld-4{width:33.33333%}.col--ld-5{width:41.66667%}.col--ld-6{width:50%}.col--ld-7{width:58.33333%}.col--ld-8{width:66.66667%}.col--ld-9{width:75%}.col--ld-10{width:83.33333%}.col--ld-11{width:91.66667%}.col--ld-12{width:100%}}";
5
5
 
6
6
  const EzModal = class {
7
7
  constructor(hostRef) {
@@ -32,15 +32,28 @@ const EzModal = class {
32
32
  }
33
33
  componentDidLoad() {
34
34
  this.observeOpened();
35
- new KeyboardManager({ propagate: false, element: this._element })
35
+ this._keyboardManager = new KeyboardManager({ propagate: false, element: this._element, enableShadowDom: true })
36
36
  .bind("Enter", this.ezModalAction.emit.bind("OK"))
37
37
  .bind("Escape", () => this.closeModal())
38
38
  .bind("Esc", () => this.closeModal());
39
39
  }
40
40
  componentDidRender() {
41
- if (this.opened) {
42
- this.ezOpenModal.emit();
41
+ this.modalFocus();
42
+ }
43
+ disconnectedCallback() {
44
+ var _a;
45
+ (_a = this._keyboardManager) === null || _a === void 0 ? void 0 : _a.unbindAllShortcutKeys();
46
+ }
47
+ modalFocus() {
48
+ if (!this.opened) {
49
+ return;
43
50
  }
51
+ requestAnimationFrame(() => {
52
+ const slot = this._element.shadowRoot.querySelector("ez-modal-container");
53
+ if (this._modalRef && slot === null) {
54
+ this._modalRef.focus();
55
+ }
56
+ });
44
57
  }
45
58
  onMouseDownHandler(event) {
46
59
  if (this.closeOutsideClick && event.target === this._overlay) {
@@ -1,7 +1,7 @@
1
1
  import { r as registerInstance, c as createEvent, h, F as Fragment, H as Host } from './index-5a720e56.js';
2
2
  import { ArrayUtils } from '@sankhyalabs/core';
3
3
 
4
- const ezMultiSelectionListCss = ".sc-ez-multi-selection-list-h{--ez-check--outter-gap:0px;display:block;width:304px;height:322px;max-height:calc(100vh - 350px)}.multi-selection__input.sc-ez-multi-selection-list{margin-bottom:var(--space--2xs, 8px)}.multi-selection__content-options.sc-ez-multi-selection-list{position:relative;top:-12px;left:-4px}.multi-selection__select-all.sc-ez-multi-selection-list{height:var(--space--xl);margin:0 var(--space--small, 6px)}.multi-selection__list.sc-ez-multi-selection-list{height:235px;max-height:calc(100vh - 435px);overflow-y:auto;overflow-x:clip}.multi-selection__list.sc-ez-multi-selection-list::-webkit-scrollbar{width:var(--space--small);min-width:var(--space--small);max-width:var(--space--small)}";
4
+ const ezMultiSelectionListCss = ".sc-ez-multi-selection-list-h{--ez-check--outter-gap:0px;--ez-multi-selection-default-height:322px;display:block;width:304px;height:var(--ez-multi-selection-default-height);min-height:fit-content;max-height:calc(100vh - 350px)}.multi-selection__input.sc-ez-multi-selection-list{margin-bottom:var(--space--2xs, 8px)}.multi-selection__content-options.sc-ez-multi-selection-list{position:relative;left:-4px}.multi-selection__select-all.sc-ez-multi-selection-list{height:var(--space--xl);margin:0 var(--space--small, 6px)}.multi-selection__list.sc-ez-multi-selection-list{max-height:calc(100vh - 435px);overflow-y:auto;overflow-x:clip}.multi-selection__list.sc-ez-multi-selection-list::-webkit-scrollbar{width:var(--space--small);min-width:var(--space--small);max-width:var(--space--small)}";
5
5
 
6
6
  var ViewScenarios;
7
7
  (function (ViewScenarios) {
@@ -101,7 +101,7 @@ const EzMuiltiSelectionList = class {
101
101
  }
102
102
  async searchWithDataSource(searchArgument, fieldName) {
103
103
  const { argument, mode } = searchArgument;
104
- if (mode !== 'PRELOAD') {
104
+ if (mode !== 'PRELOAD' && fieldName) {
105
105
  return this.dataSource.fetchData(argument, fieldName);
106
106
  }
107
107
  }
@@ -1,8 +1,8 @@
1
1
  import { r as registerInstance, c as createEvent, h, g as getElement } from './index-5a720e56.js';
2
2
  import { NumberUtils, StringUtils, ElementIDUtils } from '@sankhyalabs/core';
3
- import { C as CSSVarsUtils } from './CSSVarsUtils-71ce76be.js';
3
+ import { C as CSSVarsUtils } from './CSSVarsUtils-acba92d7.js';
4
4
 
5
- const ezNumberInputCss = ":host{display:block;width:100%}.number__input{height:100%}";
5
+ const ezNumberInputCss = ":host{--ez-number-input__min-width:0px;--ez-number-input__max-width:100%;display:block;width:100%}.number__input{height:100%;min-width:var(--ez-number-input__min-width);max-width:var(--ez-number-input__max-width)}";
6
6
 
7
7
  const EzNumberInput = class {
8
8
  constructor(hostRef) {
@@ -19,9 +19,12 @@ const EzNumberInput = class {
19
19
  this.enabled = true;
20
20
  this.canShowError = true;
21
21
  this.errorMessage = undefined;
22
+ this.allowNegative = true;
22
23
  this.precision = undefined;
23
24
  this.prettyPrecision = undefined;
24
25
  this.mode = "regular";
26
+ this.autoFocus = false;
27
+ this.alternativePlaceholder = undefined;
25
28
  }
26
29
  /**
27
30
  * Aplica o foco no campo.
@@ -162,15 +165,25 @@ const EzNumberInput = class {
162
165
  const textValue = this.getTextValue(this.value) || '';
163
166
  if ((this._value || '') !== textValue) {
164
167
  this._value = textValue;
168
+ this._textInput.value = this._value;
165
169
  }
166
170
  }
167
171
  componentDidLoad() {
168
172
  CSSVarsUtils.applyVarsTextInput(this._elem, this._textInput);
169
173
  this.setInputValue();
174
+ if (this.autoFocus) {
175
+ requestAnimationFrame(() => {
176
+ this.setFocus({ selectText: true });
177
+ });
178
+ }
170
179
  }
171
180
  render() {
172
181
  ElementIDUtils.addIDInfoIfNotExists(this._elem, 'input');
173
- return (h("ez-text-input", { class: "number__input", "data-element-id": ElementIDUtils.getInternalIDInfo("textInput"), ref: elem => this._textInput = elem, "data-slave-mode": "true", label: this.label, onBlur: () => this.handleBlur(), onInput: () => this.handleInput(), restrict: this.precision > 0 ? "0123456789-,." : "0123456789-", enabled: this.enabled, errorMessage: this.errorMessage, mode: this.mode, canShowError: this.canShowError, value: this._value }));
182
+ let restrict = this.precision > 0 ? "0123456789,." : "0123456789";
183
+ if (this.allowNegative) {
184
+ restrict += '-';
185
+ }
186
+ return (h("ez-text-input", { class: "number__input", "data-element-id": ElementIDUtils.getInternalIDInfo("textInput"), ref: elem => this._textInput = elem, "data-slave-mode": "true", label: this.label, onBlur: () => this.handleBlur(), onInput: () => this.handleInput(), restrict: restrict, enabled: this.enabled, errorMessage: this.errorMessage, mode: this.mode, canShowError: this.canShowError, value: this._value, alternativePlaceholder: this.alternativePlaceholder }));
174
187
  }
175
188
  get _elem() { return getElement(this); }
176
189
  static get watchers() { return {
@@ -0,0 +1,203 @@
1
+ import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-5a720e56.js';
2
+ import { StringUtils } from '@sankhyalabs/core';
3
+ import { a as replaceHighlight, r as replaceQuotes } from './searchFormatters-8229207e.js';
4
+
5
+ const ezPopoverPlusCss = ":host{display:none}";
6
+
7
+ const EzPopoverPlus = class {
8
+ constructor(hostRef) {
9
+ registerInstance(this, hostRef);
10
+ this.ezVisibilityChange = createEvent(this, "ezVisibilityChange", 7);
11
+ this.autoClose = true;
12
+ this.boxWidth = "fit-content";
13
+ this.opened = false;
14
+ this.overlayType = "light";
15
+ this.anchorElement = undefined;
16
+ this.options = { horizontalGap: 0, verticalGap: 0, fromRight: false };
17
+ this.useAnchorSize = false;
18
+ this.minWidth = 150;
19
+ }
20
+ async observeOpened(newValue) {
21
+ if (newValue && !this._popOverCore) {
22
+ this.renderPopoverCore();
23
+ }
24
+ this._popOverCore.opened = newValue;
25
+ }
26
+ /**
27
+ * Atualiza a posição do popover.
28
+ */
29
+ async updatePosition(top, left) {
30
+ var _a;
31
+ await ((_a = this._popOverCore) === null || _a === void 0 ? void 0 : _a.updatePosition(top, left));
32
+ }
33
+ /**
34
+ * Exibe o ez-popover.
35
+ */
36
+ async show(top, left) {
37
+ if (!this._popOverCore) {
38
+ this.renderPopoverCore();
39
+ }
40
+ await this._popOverCore.show(top, left);
41
+ }
42
+ /**
43
+ * Ancora a exibição do popOver a um elemento HTML.
44
+ */
45
+ async showUnder(element, options) {
46
+ if (!this._popOverCore) {
47
+ this.renderPopoverCore();
48
+ }
49
+ await this._popOverCore.showUnder(element, options);
50
+ }
51
+ /**
52
+ * Oculta o ez-popover.
53
+ */
54
+ async hide() {
55
+ var _a;
56
+ await ((_a = this._popOverCore) === null || _a === void 0 ? void 0 : _a.hide());
57
+ }
58
+ /**
59
+ * Altera as opções.
60
+ */
61
+ async setOptions(options) {
62
+ var _a;
63
+ await ((_a = this._popOverCore) === null || _a === void 0 ? void 0 : _a.setOptions(options));
64
+ }
65
+ /**
66
+ * Altera o elemento de ancoragem.
67
+ */
68
+ async setAnchorElement(anchor) {
69
+ var _a;
70
+ await ((_a = this._popOverCore) === null || _a === void 0 ? void 0 : _a.setAnchorElement(anchor));
71
+ this.anchorElement = anchor;
72
+ }
73
+ getFirstElement(collection) {
74
+ if (Array.isArray(collection) && collection.length) {
75
+ return collection[0];
76
+ }
77
+ if (!Array.isArray(collection) && collection.item) {
78
+ return collection.item(0);
79
+ }
80
+ return null;
81
+ }
82
+ renderPopoverCore() {
83
+ var _a;
84
+ this._popOverCore = document.createElement('ez-popover-core');
85
+ this._popOverCore.opened = this.opened;
86
+ this._popOverCore.anchorElement = this.anchorElement;
87
+ this._popOverCore.autoClose = this.autoClose;
88
+ this._popOverCore.boxWidth = this.boxWidth;
89
+ this._popOverCore.overlayType = this.overlayType;
90
+ this._popOverCore.options = this.options;
91
+ this._popOverCore.useAnchorSize = this.useAnchorSize;
92
+ this._popOverCore.minWidth = this.minWidth;
93
+ this._popOverCore.addEventListener('ezVisibilityChange', ({ detail }) => {
94
+ this.ezVisibilityChange.emit(detail);
95
+ this.opened = detail;
96
+ });
97
+ const firstChild = this.getFirstElement(this._host.children);
98
+ if (firstChild) {
99
+ this._popOverCore.appendChild(firstChild);
100
+ }
101
+ else {
102
+ console.warn('O slot do popover está vazio. Adicione conteúdo ao slot para exibição correta.');
103
+ }
104
+ const root = document.body.querySelector("#root");
105
+ const firstDiv = this.getFirstElement(document.body.getElementsByTagName("div"));
106
+ const parentElement = (_a = root !== null && root !== void 0 ? root : firstDiv) !== null && _a !== void 0 ? _a : document.body;
107
+ parentElement.appendChild(this._popOverCore);
108
+ }
109
+ render() {
110
+ return (h(Host, null, h("slot", null)));
111
+ }
112
+ get _host() { return getElement(this); }
113
+ static get watchers() { return {
114
+ "opened": ["observeOpened"]
115
+ }; }
116
+ };
117
+ EzPopoverPlus.style = ezPopoverPlusCss;
118
+
119
+ const multiSelectionBoxMessageCss = ".multi-selection__message{display:flex;flex-direction:row;align-items:center;justify-content:center;width:100%;min-height:320px;text-align:center}.multi-selection__text-message{margin-top:-30px;font-family:var(--font-pattern);font-size:var(--text--meduim);padding:var(--space-xs);color:var(--text--primary)}";
120
+
121
+ const MultiSelectionBoxMessage = class {
122
+ constructor(hostRef) {
123
+ registerInstance(this, hostRef);
124
+ this.message = undefined;
125
+ }
126
+ render() {
127
+ return (h("div", { class: "multi-selection__message" }, h("span", { class: "multi-selection__text-message" }, this.message)));
128
+ }
129
+ };
130
+ MultiSelectionBoxMessage.style = multiSelectionBoxMessageCss;
131
+
132
+ const searchListCss = ":host{--ez-search__list-title--primary:var(--title--primary, #2B3A54);--ez-search__list-text--primary:var(--text--primary, #626e82);--ez-search__list-height:calc(var(--ez-search--font-size) + var(--ez-search--space--medium) + 4px);--ez-search__list-min-width:64px;--ez-search__scrollbar--color-default:var(--scrollbar--default, #626e82);--ez-search__scrollbar--color-background:var(--scrollbar--background, #E5EAF0);--ez-search__scrollbar--color-hover:var(--scrollbar--hover, #2B3A54);--ez-search__scrollbar--color-clicked:var(--scrollbar--clicked, #a2abb9);--ez-search__scrollbar--border-radius:var(--border--radius-small, 6px);--ez-search__scrollbar--width:var(--space--small, 6px);--ez-search--border-radius-small:var(--border--radius-small, 6px);--ez-search--font-size:var(--text--medium, 14px);--ez-search--font-family:var(--font-pattern, Arial);--ez-search--font-weight--large:var(--text-weight--large, 500);--ez-search--font-weight--medium:var(--text-weight--medium, 400);--ez-search--background-medium:var(--background--medium, #f0f3f7);--ez-search--line-height:calc(var(--text--medium, 14px) + 4px)}.list-options{position:relative;z-index:var(--more-visible, 2);margin:var(--space--small) 0px;padding:0px;padding-inline-start:0px;box-sizing:border-box;width:100%;height:100%;max-height:350px;min-width:150px;display:flex;flex-direction:column;scroll-behavior:smooth;overflow-y:auto;overflow-x:hidden;scrollbar-width:thin;scrollbar-color:var(--ez-search__scrollbar--color-clicked) var(--ez-search__scrollbar--color-background)}.list-options::-webkit-scrollbar{background-color:var(--scrollbar--background);width:var(--space--small);max-width:var(--space--small);min-width:var(--space--small);height:var(--space--small);max-height:var(--space--small);min-height:var(--space--small)}.list-options::-webkit-scrollbar-track{background-color:var(--ez-search__scrollbar--color-background);border-radius:var(--ez-search__scrollbar--border-radius)}.list-options::-webkit-scrollbar-thumb{background-color:var(--ez-search__scrollbar--color-default);border-radius:var(--ez-search__scrollbar--border-radius)}.list-options::-webkit-scrollbar-thumb:vertical:hover,.list-options::-webkit-scrollbar-thumb:horizontal:hover{background-color:var(--ez-search__scrollbar--color-hover)}.list-options::-webkit-scrollbar-thumb:vertical:active,.list-options::-webkit-scrollbar-thumb:horizontal:active{background-color:var(--ez-search__scrollbar--color-clicked)}.message{text-align:center;display:flex;justify-content:center;align-items:center;list-style-type:none;margin:var(--space--medium) 0px;min-height:var(--ez-search__list-height)}.message__no-result{color:var(--ez-search__list-title--primary);font-family:var(--ez-search--font-family);font-size:var(--ez-search--font-size)}.message__loading{border-radius:50%;width:14px;height:14px;-webkit-animation:spin 1s linear infinite;animation:spin 1s linear infinite;border:3px solid var(--ez-search__list-title--primary);border-top:3px solid transparent}.item__value,.item__label{flex-basis:auto;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:var(--ez-search__list-title--primary);font-family:var(--ez-search--font-family);font-size:var(--ez-search--font-size);line-height:var(--ez-search--line-height)}.item__label{font-weight:var(--ez-search--font-weight--medium)}.item__label--bold{font-weight:var(--ez-search--font-weight--large)}.item__value{text-align:center;color:var(--ez-search__list-text--primary);font-weight:var(--ez-search--font-weight--large)}.item__value--hidden{visibility:hidden;position:absolute;white-space:nowrap;z-index:-1;top:0;left:0}.item__label{text-align:left}.item__list>li:hover{background-color:var(--ez-search--background-medium)}.item{display:flex;align-items:center;width:100%;box-sizing:border-box;list-style-type:none;cursor:pointer;border-radius:var(--ez-search--border-radius-small);gap:var(--space--small, 6px)}.preselected{background-color:var(--background--medium)}@-webkit-keyframes spin{0%{-webkit-transform:rotate(0deg)}100%{-webkit-transform:rotate(360deg)}}@keyframes spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@supports not (scrollbar-width: thin){.item{padding-right:8px}}";
133
+
134
+ const SearchList = class {
135
+ constructor(hostRef) {
136
+ registerInstance(this, hostRef);
137
+ this.changeValue = createEvent(this, "changeValue", 7);
138
+ this.changePreSelection = createEvent(this, "changePreSelection", 7);
139
+ this._startHighlightTag = "<span class='card-item__highlight'>";
140
+ this._endHighlightTag = "</span>";
141
+ this.showLoading = undefined;
142
+ this.visibleOptions = [];
143
+ this.textEmptyList = undefined;
144
+ this.canShowListOptions = undefined;
145
+ this.value = undefined;
146
+ this.showOptionValue = true;
147
+ this.preSelection = undefined;
148
+ }
149
+ async nextOption() {
150
+ const newPreSelection = this.preSelection === undefined ? 0 : Math.min(this.preSelection + 1, this.visibleOptions.length - 1);
151
+ this.changePreSelection.emit(newPreSelection);
152
+ this.scrollToOption(this.visibleOptions[newPreSelection]);
153
+ }
154
+ async previousOption() {
155
+ const newPreSelection = this.preSelection === undefined ? 0 : Math.max(this.preSelection - 1, 0);
156
+ this.changePreSelection.emit(newPreSelection);
157
+ this.scrollToOption(this.visibleOptions[newPreSelection]);
158
+ }
159
+ selectOption(newOption) {
160
+ const newOptionsReplaced = Object.assign(Object.assign({}, newOption), { value: replaceHighlight(newOption === null || newOption === void 0 ? void 0 : newOption.value), label: replaceHighlight(newOption === null || newOption === void 0 ? void 0 : newOption.label) });
161
+ const newOptionsFormatted = Object.assign(Object.assign({}, newOptionsReplaced), { value: replaceQuotes(newOptionsReplaced === null || newOptionsReplaced === void 0 ? void 0 : newOptionsReplaced.value), label: replaceQuotes(newOptionsReplaced === null || newOptionsReplaced === void 0 ? void 0 : newOptionsReplaced.label) });
162
+ this.changeValue.emit(newOptionsFormatted);
163
+ }
164
+ createOption(detail) {
165
+ let { key, title } = detail;
166
+ const startHighlight = new RegExp(this._startHighlightTag, 'g');
167
+ const endHighlight = new RegExp(this._endHighlightTag, 'g');
168
+ title = StringUtils.decodeHtmlEntities(title);
169
+ const option = {
170
+ value: key === null || key === void 0 ? void 0 : key.replace(startHighlight, '').replace(endHighlight, ''),
171
+ label: title === null || title === void 0 ? void 0 : title.replace(startHighlight, '').replace(endHighlight, '')
172
+ };
173
+ this.selectOption(option);
174
+ }
175
+ scrollToOption(opt) {
176
+ window.requestAnimationFrame(() => {
177
+ const liElem = (opt === null || opt === void 0 ? void 0 : opt.value)
178
+ ? this._optionsList.querySelector(`div#item_${opt.value.replace(/([ #;&,.+*~':"!^$[\]()=<>|/\\])/g, '\\$1')}`)
179
+ : undefined;
180
+ if (liElem) {
181
+ liElem.scrollIntoView({ behavior: "smooth", block: "nearest" });
182
+ }
183
+ });
184
+ }
185
+ buildItem(opt, index) {
186
+ opt.label = opt.label || opt.value;
187
+ const card = {
188
+ key: opt.value,
189
+ title: opt.label,
190
+ details: opt.details
191
+ };
192
+ return h("div", { style: { "height": "100%" }, class: index === this.preSelection ? "item preselected" : "item", id: `item_${opt.value}`, onMouseDown: () => this.createOption(card), onMouseOver: () => this.changePreSelection.emit(index) }, h("ez-card-item", { item: card, compacted: true, enableKey: this.showOptionValue }));
193
+ }
194
+ render() {
195
+ return (h(Host, null, h("ul", { class: "list-options", ref: elem => this._optionsList = elem }, !this.showLoading
196
+ && this.visibleOptions.length === 0
197
+ && h("div", { class: "message" }, h("span", { class: "message__no-result" }, this.textEmptyList)), this.showLoading
198
+ && h("div", { class: "message" }, h("div", { class: "message__loading" })), this.canShowListOptions && this.visibleOptions.map((opt, index) => this.buildItem(opt, index)))));
199
+ }
200
+ };
201
+ SearchList.style = searchListCss;
202
+
203
+ export { EzPopoverPlus as ez_popover_plus, MultiSelectionBoxMessage as multi_selection_box_message, SearchList as search_list };
@@ -1,7 +1,7 @@
1
1
  import { r as registerInstance, c as createEvent, h, F as Fragment, H as Host, g as getElement } from './index-5a720e56.js';
2
2
  import { KeyboardManager, FloatingManager } from '@sankhyalabs/core';
3
3
 
4
- const ezPopupCss = ":host{display:flex;--ez-popup-z-index:var(--elevation--24, 24);--ez-popup__container--color:var(--title--primary, #2b3a54);--ez-popup__container--padding:var(--space--large, 24px);--ez-popup__header--padding-bottom:var(--space--medium, 12px);--ez-popup__title--font-family:var(--font-pattern, \"Roboto\");--ez-popup__title--font-size:var(--title--extra-large, 24px);--ez-popup__title--color:var(--title--primary, #2b3a54);--ez-popup__title--font-weight:var(--text-weight--large, 600);--ez-popup__btn__close--icon-color:var(--title--primary, #2b3a54);--ez-popup__btn__close--icon:url('data:image/svg+xml;utf8,<svg width=\"14\" height=\"14\" viewBox=\"0 0 14 14\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M 8.2421753,6.9944578 13.743748,1.4930784 C 13.907781,1.3290628 14,1.1065946 14,0.87462511 14,0.64266712 13.907782,0.42019873 13.743748,0.25617155 13.579712,0.09215597 13.35727,6.48e-8 13.125266,6.48e-8 12.89338,6.48e-8 12.670821,0.09215634 12.506787,0.25617155 L 7.005215,5.7575508 1.5035972,0.25617155 C 1.3395631,0.09215597 1.1170968,6.48e-8 0.88511716,6.48e-8 0.65314917,6.48e-8 0.4306712,0.09215597 0.26663695,0.25617155 0.10260271,0.42019873 0.01045441,0.64266712 0.01045441,0.87462511 c 0,0.23196949 0.0921483,0.45443769 0.25618254,0.61845329 L 5.7682546,6.9944578 0.26663695,12.497027 c -0.0834745,0.08067 -0.15003245,0.1772 -0.19581514,0.283871 C 0.02505077,12.887561 9.831648e-4,13.002399 2.950369e-5,13.118395 -9.2415746e-4,13.234504 0.02125019,13.349689 0.06527245,13.457057 c 0.04401053,0.107479 0.10898307,0.205064 0.1911168,0.287137 0.0821454,0.08208 0.17979645,0.146888 0.28727561,0.190839 0.10747906,0.04395 0.22262954,0.06598 0.33872417,0.06493 0.116095,-10e-4 0.23082547,-0.0253 0.33747687,-0.07112 0.1066637,-0.04593 0.2031133,-0.112615 0.2837313,-0.196086 L 7.005215,8.2313646 12.506787,13.732768 c 0.164034,0.164027 0.386593,0.256125 0.618479,0.256125 0.232004,0 0.454446,-0.09209 0.618482,-0.256125 C 13.907781,13.568741 14,13.346308 14,13.114315 14,12.882323 13.90779,12.659888 13.743748,12.495861 Z\"/></svg>')}.overlay{position:fixed;display:flex;top:0px;z-index:var(--ez-popup-z-index, 24);left:0px;width:100%;align-items:center;justify-content:center;box-sizing:border-box;height:100vh;backdrop-filter:blur(4px);background:rgba(0, 4, 12, 0.4)}.popup{display:flex;height:100%;align-items:center;justify-content:center;box-sizing:border-box}.popup__container{width:100%;max-height:90%;height:100%;display:flex;flex-wrap:wrap;overflow:hidden;outline:none;background:#FFFF;color:var(--ez-popup__container--color);border-radius:12px;box-shadow:0px 0px 16px rgba(0, 38, 111, 0.122);box-sizing:border-box;padding:var(--ez-popup__container--padding)}.popup__container--auto{height:auto}.popup__content{box-sizing:border-box;height:100%;width:100%}.popup__expandable-content{box-sizing:border-box;width:100%;height:calc(100% - 44px)}.popup__header{width:100%;display:flex}.popup__header--padding{padding-bottom:var(--ez-popup__header--padding-bottom)}.popup__title{display:flex;margin:0;width:100%;font-family:var(--ez-popup__title--font-family);font-size:var(--ez-popup__title--font-size);font-weight:var(--ez-popup__title--font-weight);color:var(--ez-popup__title--color);line-height:1.3}.btn-close{justify-content:flex-end;align-self:flex-start;align-items:flex-start;display:flex;outline:none;border:none;background-color:unset;cursor:pointer}.btn-close::after{content:'';display:flex;background-color:var(--ez-popup__btn__close--icon-color);width:14px;height:14px;-webkit-mask-image:var(--ez-popup__btn__close--icon);mask-image:var(--ez-popup__btn__close--icon)}.btn-close--solo{width:100%}.row{width:100%;display:flex;flex-wrap:wrap}.col{display:flex;flex-wrap:wrap;align-self:flex-start;box-sizing:border-box}.col--stretch{align-self:stretch}.col--undefined{width:unset}.col--nowrap{flex-wrap:nowrap}.ez-popup__size-limit--x-small{min-width:350px;max-width:560px}@media screen and (min-width: 320px){.col--sd-1{width:8.33333%}.col--sd-2{width:16.66667%}.col--sd-3{width:25%}.col--sd-4{width:33.33333%}.col--sd-5{width:41.66667%}.col--sd-6{width:50%}.col--sd-7{width:58.33333%}.col--sd-8{width:66.66667%}.col--sd-9{width:75%}.col--sd-10{width:83.33333%}.col--sd-11{width:91.66667%}.col--sd-12{width:100%}}@media screen and (min-width: 480px){.col--pn-1{width:8.33333%}.col--pn-2{width:16.66667%}.col--pn-3{width:25%}.col--pn-4{width:33.33333%}.col--pn-5{width:41.66667%}.col--pn-6{width:50%}.col--pn-7{width:58.33333%}.col--pn-8{width:66.66667%}.col--pn-9{width:75%}.col--pn-10{width:83.33333%}.col--pn-11{width:91.66667%}.col--pn-12{width:100%}}@media screen and (min-width: 768px){.col--tb-1{width:8.33333%}.col--tb-2{width:16.66667%}.col--tb-3{width:25%}.col--tb-4{width:33.33333%}.col--tb-5{width:41.66667%}.col--tb-6{width:50%}.col--tb-7{width:58.33333%}.col--tb-8{width:66.66667%}.col--tb-9{width:75%}.col--tb-10{width:83.33333%}.col--tb-11{width:91.66667%}.col--tb-12{width:100%}}@media screen and (min-width: 992px){.col--md-1{width:8.33333%}.col--md-2{width:16.66667%}.col--md-3{width:25%}.col--md-4{width:33.33333%}.col--md-5{width:41.66667%}.col--md-6{width:50%}.col--md-7{width:58.33333%}.col--md-8{width:66.66667%}.col--md-9{width:75%}.col--md-10{width:83.33333%}.col--md-11{width:91.66667%}.col--md-12{width:100%}}@media screen and (min-width: 1200px){.col--ld-1{width:8.33333%}.col--ld-2{width:16.66667%}.col--ld-3{width:25%}.col--ld-4{width:33.33333%}.col--ld-5{width:41.66667%}.col--ld-6{width:50%}.col--ld-7{width:58.33333%}.col--ld-8{width:66.66667%}.col--ld-9{width:75%}.col--ld-10{width:83.33333%}.col--ld-11{width:91.66667%}.col--ld-12{width:100%}}";
4
+ const ezPopupCss = ":host{display:flex;width:auto;--ez-popup-z-index:var(--elevation--24, 24);--ez-popup__container--color:var(--title--primary, #2b3a54);--ez-popup__container--padding:var(--space--md, 20px);--ez-popup__header--padding-bottom:var(--space--medium, 12px);--ez-popup__title--font-family:var(--font-pattern, \"Roboto\");--ez-popup__title--font-size:var(--title--large, 20px);--ez-popup__title--color:var(--title--primary, #2b3a54);--ez-popup__title--font-weight:var(--text-weight--large, 600);--ez-popup__btn__close--icon-color:var(--title--primary, #2b3a54);--ez-popup__btn__close--icon:url('data:image/svg+xml;utf8,<svg width=\"14\" height=\"14\" viewBox=\"0 0 14 14\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M 8.2421753,6.9944578 13.743748,1.4930784 C 13.907781,1.3290628 14,1.1065946 14,0.87462511 14,0.64266712 13.907782,0.42019873 13.743748,0.25617155 13.579712,0.09215597 13.35727,6.48e-8 13.125266,6.48e-8 12.89338,6.48e-8 12.670821,0.09215634 12.506787,0.25617155 L 7.005215,5.7575508 1.5035972,0.25617155 C 1.3395631,0.09215597 1.1170968,6.48e-8 0.88511716,6.48e-8 0.65314917,6.48e-8 0.4306712,0.09215597 0.26663695,0.25617155 0.10260271,0.42019873 0.01045441,0.64266712 0.01045441,0.87462511 c 0,0.23196949 0.0921483,0.45443769 0.25618254,0.61845329 L 5.7682546,6.9944578 0.26663695,12.497027 c -0.0834745,0.08067 -0.15003245,0.1772 -0.19581514,0.283871 C 0.02505077,12.887561 9.831648e-4,13.002399 2.950369e-5,13.118395 -9.2415746e-4,13.234504 0.02125019,13.349689 0.06527245,13.457057 c 0.04401053,0.107479 0.10898307,0.205064 0.1911168,0.287137 0.0821454,0.08208 0.17979645,0.146888 0.28727561,0.190839 0.10747906,0.04395 0.22262954,0.06598 0.33872417,0.06493 0.116095,-10e-4 0.23082547,-0.0253 0.33747687,-0.07112 0.1066637,-0.04593 0.2031133,-0.112615 0.2837313,-0.196086 L 7.005215,8.2313646 12.506787,13.732768 c 0.164034,0.164027 0.386593,0.256125 0.618479,0.256125 0.232004,0 0.454446,-0.09209 0.618482,-0.256125 C 13.907781,13.568741 14,13.346308 14,13.114315 14,12.882323 13.90779,12.659888 13.743748,12.495861 Z\"/></svg>')}.overlay{position:fixed;display:flex;top:0px;z-index:var(--ez-popup-z-index, 24);left:0px;width:100%;align-items:center;justify-content:center;box-sizing:border-box;height:100vh;backdrop-filter:blur(4px);background:rgba(0, 4, 12, 0.4)}.popup{display:flex;height:100%;align-items:center;justify-content:center;box-sizing:border-box}.popup__container{width:100%;max-height:90%;height:100%;display:flex;flex-wrap:wrap;overflow:hidden;outline:none;background:#FFFF;color:var(--ez-popup__container--color);border-radius:12px;box-shadow:0px 0px 16px rgba(0, 38, 111, 0.122);box-sizing:border-box;padding:var(--ez-popup__container--padding)}.popup__container--auto{height:auto}.popup__overflow-y--auto{overflow-y:auto}.popup__content{box-sizing:border-box;height:100%;width:100%}.popup__expandable-content{box-sizing:border-box;width:100%;height:calc(100% - 44px)}.popup__header{width:100%;display:flex}.popup__header--padding{padding-bottom:var(--ez-popup__header--padding-bottom)}.popup__title{display:flex;margin:0;width:100%;font-family:var(--ez-popup__title--font-family);font-size:var(--ez-popup__title--font-size);font-weight:var(--ez-popup__title--font-weight);color:var(--ez-popup__title--color);line-height:1.3}.btn-close{justify-content:flex-end;align-self:flex-start;align-items:flex-start;display:flex;outline:none;border:none;background-color:unset;cursor:pointer}.btn-close::after{content:'';display:flex;background-color:var(--ez-popup__btn__close--icon-color);width:14px;height:14px;-webkit-mask-image:var(--ez-popup__btn__close--icon);mask-image:var(--ez-popup__btn__close--icon)}.btn-close--solo{width:100%}.row{width:100%;display:flex;flex-wrap:wrap}.col{display:flex;flex-wrap:wrap;align-self:flex-start;box-sizing:border-box}.col--stretch{align-self:stretch}.col--undefined{width:unset}.col--nowrap{flex-wrap:nowrap}.ez-popup__size-limit--x-small{min-width:350px;max-width:560px}@media screen and (min-width: 320px){.col--sd-1{width:8.33333%}.col--sd-2{width:16.66667%}.col--sd-3{width:25%}.col--sd-4{width:33.33333%}.col--sd-5{width:41.66667%}.col--sd-6{width:50%}.col--sd-7{width:58.33333%}.col--sd-8{width:66.66667%}.col--sd-9{width:75%}.col--sd-10{width:83.33333%}.col--sd-11{width:91.66667%}.col--sd-12{width:100%}}@media screen and (min-width: 480px){.col--pn-1{width:8.33333%}.col--pn-2{width:16.66667%}.col--pn-3{width:25%}.col--pn-4{width:33.33333%}.col--pn-5{width:41.66667%}.col--pn-6{width:50%}.col--pn-7{width:58.33333%}.col--pn-8{width:66.66667%}.col--pn-9{width:75%}.col--pn-10{width:83.33333%}.col--pn-11{width:91.66667%}.col--pn-12{width:100%}}@media screen and (min-width: 768px){.col--tb-1{width:8.33333%}.col--tb-2{width:16.66667%}.col--tb-3{width:25%}.col--tb-4{width:33.33333%}.col--tb-5{width:41.66667%}.col--tb-6{width:50%}.col--tb-7{width:58.33333%}.col--tb-8{width:66.66667%}.col--tb-9{width:75%}.col--tb-10{width:83.33333%}.col--tb-11{width:91.66667%}.col--tb-12{width:100%}}@media screen and (min-width: 992px){.col--md-1{width:8.33333%}.col--md-2{width:16.66667%}.col--md-3{width:25%}.col--md-4{width:33.33333%}.col--md-5{width:41.66667%}.col--md-6{width:50%}.col--md-7{width:58.33333%}.col--md-8{width:66.66667%}.col--md-9{width:75%}.col--md-10{width:83.33333%}.col--md-11{width:91.66667%}.col--md-12{width:100%}}@media screen and (min-width: 1200px){.col--ld-1{width:8.33333%}.col--ld-2{width:16.66667%}.col--ld-3{width:25%}.col--ld-4{width:33.33333%}.col--ld-5{width:41.66667%}.col--ld-6{width:50%}.col--ld-7{width:58.33333%}.col--ld-8{width:66.66667%}.col--ld-9{width:75%}.col--ld-10{width:83.33333%}.col--ld-11{width:91.66667%}.col--ld-12{width:100%}}";
5
5
 
6
6
  const EzPopup = class {
7
7
  constructor(hostRef) {
@@ -15,12 +15,14 @@ const EzPopup = class {
15
15
  "large": "col--sd-9",
16
16
  "x-large": "col--sd-11",
17
17
  "default": "ez-popup__size-limit--x-small",
18
+ "auto": "",
18
19
  };
19
20
  this.size = "medium";
20
21
  this.opened = false;
21
22
  this.useHeader = true;
22
23
  this.heightMode = "full";
23
24
  this.ezTitle = undefined;
25
+ this.enabledScroll = false;
24
26
  }
25
27
  observeConfig() {
26
28
  this.manageOverflow();
@@ -29,11 +31,15 @@ const EzPopup = class {
29
31
  if (this.opened && this._popupRef) {
30
32
  this._popupRef.focus();
31
33
  }
32
- new KeyboardManager({ propagate: false, element: this._element })
34
+ this._keyboardManager = new KeyboardManager({ propagate: false, element: this._element, enableShadowDom: true })
33
35
  .bind("Enter", this.ezPopupAction.emit.bind("OK"))
34
36
  .bind("Escape", () => this.closePopup())
35
37
  .bind("Esc", () => this.closePopup());
36
38
  }
39
+ disconnectedCallback() {
40
+ var _a;
41
+ (_a = this._keyboardManager) === null || _a === void 0 ? void 0 : _a.unbindAllShortcutKeys();
42
+ }
37
43
  closePopup() {
38
44
  this.opened = false;
39
45
  this.manageOverflow();
@@ -55,14 +61,34 @@ const EzPopup = class {
55
61
  FloatingManager.unsubscribeOverlayControl(this._popupRef || this._overlayId);
56
62
  }
57
63
  }
64
+ popUpFocus() {
65
+ if (!this.opened) {
66
+ return;
67
+ }
68
+ requestAnimationFrame(() => {
69
+ const slot = this._element.shadowRoot.querySelector("ez-modal-container");
70
+ if (this._popupRef && slot === null) {
71
+ this._popupRef.focus();
72
+ }
73
+ });
74
+ }
58
75
  getGridSize() {
76
+ if (this.size === "auto")
77
+ return "";
59
78
  return this._sizeClasses[this.size] || this._sizeClasses["medium"];
60
79
  }
80
+ handlePopupHeight() {
81
+ return this.heightMode === 'auto' ? 'popup__container--auto' : '';
82
+ }
83
+ handlePopupOverflowY() {
84
+ return this.enabledScroll ? 'popup__overflow-y--auto' : '';
85
+ }
61
86
  componentDidRender() {
62
87
  this.manageOverlay();
88
+ this.popUpFocus();
63
89
  }
64
90
  render() {
65
- return (h(Host, null, this.opened ? (h("div", { class: "overlay", ref: ref => this._popupRef = ref, tabIndex: -1 }, h("div", { class: "popup col " + this.getGridSize() }, h("div", { class: "popup__container " + (this.heightMode === "auto" ? "popup__container--auto" : "") }, h("div", { class: "popup__content" }, h("div", { class: "popup__header " + (this.useHeader ? "popup__header--padding" : "") }, this.useHeader &&
91
+ return (h(Host, null, this.opened ? (h("div", { class: "overlay", ref: ref => this._popupRef = ref, tabIndex: -1 }, h("div", { class: "popup col " + this.getGridSize() }, h("div", { class: `popup__container ${(this.handlePopupHeight())} ${this.handlePopupOverflowY()}` }, h("div", { class: "popup__content" }, h("div", { class: "popup__header " + (this.useHeader ? "popup__header--padding" : "") }, this.useHeader &&
66
92
  h(Fragment, null, !!this.ezTitle && h("div", { class: "popup__title" }, this.ezTitle), h("button", { class: this.ezTitle ? "btn-close" : "btn-close btn-close--solo", onClick: () => { this.opened = false; this.ezClosePopup.emit(); } }))), h("div", { class: "popup__expandable-content" }, h("slot", null))))))) : undefined));
67
93
  }
68
94
  get _element() { return getElement(this); }
@@ -2,7 +2,7 @@ import { r as registerInstance, h, H as Host, c as createEvent, g as getElement
2
2
  import { JSUtils, ElementIDUtils } from '@sankhyalabs/core';
3
3
  import { E as EzScrollDirection } from './EzScrollDirection-2df26c93.js';
4
4
 
5
- const ezScrollerCss = ":host{--ez-scroller--box-shadow-color:var(--background--body, #fafcff);--ez-scroller__scrollbar--color-default:var(--scrollbar--default, #626e82);--ez-scroller__scrollbar--color-background:var(--scrollbar--background, #E5EAF0);--ez-scroller__scrollbar--color-hover:var(--scrollbar--hover, #2B3A54);--ez-scroller__scrollbar--color-clicked:var(--scrollbar--clicked, #a2abb9);--ez-scroller__scrollbar--border-radius:var(--border--radius-small, 6px);--ez-scroller__scrollbar--width:var(--space--small, 6px);--ez-scroller__max-height:unset;display:flex;cursor:grab;width:100%;overflow:hidden}.dragging{cursor:grabbing}.ez-scroller__container{display:flex;overflow-y:hidden;overflow-x:hidden;scrollbar-width:thin;scrollbar-color:transparent transparent}.ez-scroller__container--both:not(.ez-scroller__container--locked),.ez-scroller__container:not(.ez-scroller__container--locked):hover{scrollbar-color:var(--ez-scroller__scrollbar--color-clicked) var(--ez-scroller__scrollbar--color-background)}.ez-scroller__container--both{overflow-y:scroll;overflow-x:scroll;flex-wrap:wrap}.ez-scroller__container--horizontal{overflow-x:scroll;flex-direction:row}.ez-scroller__container--vertical{overflow-y:scroll;flex-direction:column;max-height:var(--ez-scroller__max-height)}.ez-scroller__container::-webkit-scrollbar{background-color:transparent;width:var(--ez-scroller__scrollbar--width);height:var(--ez-scroller__scrollbar--width);max-width:var(--ez-scroller__scrollbar--width);min-width:var(--ez-scroller__scrollbar--width)}.ez-scroller__container--both:not(.ez-scroller__container--locked)::-webkit-scrollbar,.ez-scroller__container:not(.ez-scroller__container--locked):hover::-webkit-scrollbar{background-color:var(--ez-scroller__scrollbar--color-background)}.ez-scroller__container::-webkit-scrollbar-track{visibility:hidden;background-color:transparent;border-radius:var(--ez-scroller__scrollbar--border-radius)}.ez-scroller__container--both:not(.ez-scroller__container--locked)::-webkit-scrollbar-track,.ez-scroller__container:not(.ez-scroller__container--locked):hover::-webkit-scrollbar-track{background-color:var(--ez-scroller__scrollbar--color-background)}.ez-scroller__container::-webkit-scrollbar-thumb{background-color:transparent;border-radius:var(--ez-scroller__scrollbar--border-radius)}.ez-scroller__container--both:not(.ez-scroller__container--locked)::-webkit-scrollbar-thumb,.ez-scroller__container:not(.ez-scroller__container--locked):hover::-webkit-scrollbar-thumb{background-color:var(--ez-scroller__scrollbar--color-default)}.ez-scroller__container::-webkit-scrollbar-thumb:vertical:hover,.ez-scroller__container::-webkit-scrollbar-thumb:horizontal:hover{background-color:transparent}.ez-scroller__container--both:not(.ez-scroller__container--locked)::-webkit-scrollbar-thumb:vertical:hover,.ez-scroller__container--both:not(.ez-scroller__container--locked)::-webkit-scrollbar-thumb:horizontal:hover,.ez-scroller__container:not(.ez-scroller__container--locked):hover::-webkit-scrollbar-thumb:vertical:hover,.ez-scroller__container:not(.ez-scroller__container--locked):hover::-webkit-scrollbar-thumb:horizontal:hover{background-color:var(--ez-scroller__scrollbar--color-hover)}.ez-scroller__container::-webkit-scrollbar-thumb:vertical:active,.ez-scroller__container::-webkit-scrollbar-thumb:horizontal:active{background-color:transparent}.ez-scroller__container--both:not(.ez-scroller__container--locked)::-webkit-scrollbar-thumb:vertical:active,.ez-scroller__container--both:not(.ez-scroller__container--locked)::-webkit-scrollbar-thumb:horizontal:active,.ez-scroller__container:not(.ez-scroller__container--locked):hover::-webkit-scrollbar-thumb:vertical:active,.ez-scroller__container:not(.ez-scroller__container--locked):hover::-webkit-scrollbar-thumb:horizontal:active{background-color:var(--ez-scroller__scrollbar--color-clicked)}.ez-scroller__wrapper{display:flex;position:relative;width:100%;height:auto}.ez-scroller__wrapper--horizontal{flex-direction:row}.ez-scroller__wrapper--vertical{flex-direction:column}.ez-scroller__wrapper--shadow-start::before,.ez-scroller__wrapper--shadow-end::after{content:\"\";display:flex;position:absolute;z-index:1}.ez-scroller__wrapper--horizontal.ez-scroller__wrapper--shadow-start::before,.ez-scroller__wrapper--horizontal.ez-scroller__wrapper--shadow-end::after{width:24px;min-height:calc(100% - 10px)}.ez-scroller__wrapper--horizontal.ez-scroller__wrapper--shadow-start::before{left:0;background:linear-gradient(to right, var(--ez-scroller--box-shadow-color) 20%, transparent 80%)}.ez-scroller__wrapper--horizontal.ez-scroller__wrapper--shadow-end::after{right:0;background:linear-gradient(to left, var(--ez-scroller--box-shadow-color) 20%, transparent 80%)}.ez-scroller__wrapper--vertical.ez-scroller__wrapper--shadow-start::before,.ez-scroller__wrapper--vertical.ez-scroller__wrapper--shadow-end::after{min-width:calc(100% - 10px);height:24px}.ez-scroller__wrapper--vertical.ez-scroller__wrapper--shadow-start::before{top:0;background:linear-gradient(to bottom, var(--ez-scroller--box-shadow-color) 20%, transparent 80%)}.ez-scroller__wrapper--vertical.ez-scroller__wrapper--shadow-end::after{bottom:0;background:linear-gradient(to top, var(--ez-scroller--box-shadow-color) 20%, transparent 80%)}";
5
+ const ezScrollerCss = ":host{--ez-scroller--box-shadow-color:var(--background--body, #fafcff);--ez-scroller__scrollbar--color-default:var(--scrollbar--default, #626e82);--ez-scroller__scrollbar--color-background:var(--scrollbar--background, #E5EAF0);--ez-scroller__scrollbar--color-hover:var(--scrollbar--hover, #2B3A54);--ez-scroller__scrollbar--color-clicked:var(--scrollbar--clicked, #a2abb9);--ez-scroller__scrollbar--border-radius:var(--border--radius-small, 6px);--ez-scroller__scrollbar--width:var(--space--small, 6px);--ez-scroller__max-height:unset;--ez-scroller__scrollbar--padding-right:var(--space-extra-small, 3px);display:flex;cursor:grab;width:100%;overflow:hidden}.dragging{cursor:grabbing}.ez-scroller__container{display:flex;overflow-y:hidden;overflow-x:hidden;scrollbar-width:thin;scrollbar-color:transparent transparent}.ez-scroller__container--both:not(.ez-scroller__container--locked),.ez-scroller__container:not(.ez-scroller__container--locked):hover{scrollbar-color:var(--ez-scroller__scrollbar--color-clicked) var(--ez-scroller__scrollbar--color-background)}.ez-scroller__container--both{overflow-y:scroll;overflow-x:scroll;flex-wrap:wrap}.ez-scroller__container--horizontal{overflow-x:scroll;flex-direction:row;padding-right:var(--ez-scroller__scrollbar--padding-right)}.ez-scroller__container--vertical{overflow-y:scroll;flex-direction:column;width:100%;max-height:var(--ez-scroller__max-height)}.ez-scroller__container::-webkit-scrollbar{background-color:transparent;width:var(--ez-scroller__scrollbar--width);height:var(--ez-scroller__scrollbar--width);max-width:var(--ez-scroller__scrollbar--width);min-width:var(--ez-scroller__scrollbar--width)}.ez-scroller__container--both:not(.ez-scroller__container--locked)::-webkit-scrollbar,.ez-scroller__container:not(.ez-scroller__container--locked):hover::-webkit-scrollbar{background-color:var(--ez-scroller__scrollbar--color-background)}.ez-scroller__container::-webkit-scrollbar-track{visibility:hidden;background-color:transparent;border-radius:var(--ez-scroller__scrollbar--border-radius)}.ez-scroller__container--both:not(.ez-scroller__container--locked)::-webkit-scrollbar-track,.ez-scroller__container:not(.ez-scroller__container--locked):hover::-webkit-scrollbar-track{background-color:var(--ez-scroller__scrollbar--color-background)}.ez-scroller__container::-webkit-scrollbar-thumb{background-color:transparent;border-radius:var(--ez-scroller__scrollbar--border-radius)}.ez-scroller__container--both:not(.ez-scroller__container--locked)::-webkit-scrollbar-thumb,.ez-scroller__container:not(.ez-scroller__container--locked):hover::-webkit-scrollbar-thumb{background-color:var(--ez-scroller__scrollbar--color-default)}.ez-scroller__container::-webkit-scrollbar-thumb:vertical:hover,.ez-scroller__container::-webkit-scrollbar-thumb:horizontal:hover{background-color:transparent}.ez-scroller__container--both:not(.ez-scroller__container--locked)::-webkit-scrollbar-thumb:vertical:hover,.ez-scroller__container--both:not(.ez-scroller__container--locked)::-webkit-scrollbar-thumb:horizontal:hover,.ez-scroller__container:not(.ez-scroller__container--locked):hover::-webkit-scrollbar-thumb:vertical:hover,.ez-scroller__container:not(.ez-scroller__container--locked):hover::-webkit-scrollbar-thumb:horizontal:hover{background-color:var(--ez-scroller__scrollbar--color-hover)}.ez-scroller__container::-webkit-scrollbar-thumb:vertical:active,.ez-scroller__container::-webkit-scrollbar-thumb:horizontal:active{background-color:transparent}.ez-scroller__container--both:not(.ez-scroller__container--locked)::-webkit-scrollbar-thumb:vertical:active,.ez-scroller__container--both:not(.ez-scroller__container--locked)::-webkit-scrollbar-thumb:horizontal:active,.ez-scroller__container:not(.ez-scroller__container--locked):hover::-webkit-scrollbar-thumb:vertical:active,.ez-scroller__container:not(.ez-scroller__container--locked):hover::-webkit-scrollbar-thumb:horizontal:active{background-color:var(--ez-scroller__scrollbar--color-clicked)}.ez-scroller__wrapper{display:flex;position:relative;width:100%;height:auto}.ez-scroller__wrapper--horizontal{flex-direction:row}.ez-scroller__wrapper--vertical{flex-direction:column}.ez-scroller__wrapper--shadow-start::before,.ez-scroller__wrapper--shadow-end::after{content:\"\";display:flex;position:absolute;z-index:1}.ez-scroller__wrapper--horizontal.ez-scroller__wrapper--shadow-start::before,.ez-scroller__wrapper--horizontal.ez-scroller__wrapper--shadow-end::after{width:24px;min-height:calc(100% - 10px)}.ez-scroller__wrapper--horizontal.ez-scroller__wrapper--shadow-start::before{left:0;background:linear-gradient(to right, var(--ez-scroller--box-shadow-color) 20%, transparent 80%)}.ez-scroller__wrapper--horizontal.ez-scroller__wrapper--shadow-end::after{right:0;background:linear-gradient(to left, var(--ez-scroller--box-shadow-color) 20%, transparent 80%)}.ez-scroller__wrapper--vertical.ez-scroller__wrapper--shadow-start::before,.ez-scroller__wrapper--vertical.ez-scroller__wrapper--shadow-end::after{min-width:calc(100% - 10px);height:24px}.ez-scroller__wrapper--vertical.ez-scroller__wrapper--shadow-start::before{top:0;background:linear-gradient(to bottom, var(--ez-scroller--box-shadow-color) 20%, transparent 80%)}.ez-scroller__wrapper--vertical.ez-scroller__wrapper--shadow-end::after{bottom:0;background:linear-gradient(to top, var(--ez-scroller--box-shadow-color) 20%, transparent 80%)}";
6
6
 
7
7
  const EzScroller = class {
8
8
  constructor(hostRef) {
@@ -191,7 +191,7 @@ class ScrollCtrl {
191
191
  }
192
192
  EzScroller.style = ezScrollerCss;
193
193
 
194
- const ezSidebarButtonCss = ":host{position:relative;--ez-sidebar-button--width:6px;--ez-sidebar-button--hover--width:12px;--ez-sidebar-button--height:96px;--ez-sidebar-button--background-color--xlight:var(--background--xlight, #fff);--ez-sidebar-button--background-color--primary:var(--color--primary);--ez-sidebar-button--space--small:var(--space--small, 6px);--ez-sidebar-button--space--medium:var(--space--medium, 12px);--ez-sidebar-button--box-shadow:var(--shadow--small, 0px 0px 16px rgba(0, 38, 111, 0.07));--ez-sidebar-button--hover--box-shadow:var(--shadow--hard, 0px 0px 16px rgba(43, 58, 84, 0.24));--ez-sidebar-button--border--radius-small:var(--border--radius-small);--ez-sidebar-button--border--radius-medium:var(--border--radius-medium)}button{position:absolute;display:flex;background:var(--ez-sidebar-button--background-color--xlight);border:0;border-radius:0 var(--ez-sidebar-button--border--radius-medium) var(--ez-sidebar-button--border--radius-medium) 0;box-shadow:var(--ez-sidebar-button--box-shadow);padding:0;cursor:pointer;align-items:center}span{width:var(--ez-sidebar-button--width);height:var(--ez-sidebar-button--height);margin:var(--ez-sidebar-button--space--medium) 0 var(--ez-sidebar-button--space--medium) 0;background:var(--ez-sidebar-button--background-color--primary);border-radius:0 var(--ez-sidebar-button--border--radius-small) var(--ez-sidebar-button--border--radius-small) 0}ez-icon{--ez-icon--color:var(--ez-sidebar-button--background-color--primary)}button:hover{box-shadow:var(--ez-sidebar-button--hover--box-shadow)}button:hover span{width:var(--ez-sidebar-button--hover--width);margin:var(--ez-sidebar-button--space--medium) 0 var(--ez-sidebar-button--space--medium) 0}";
194
+ const ezSidebarButtonCss = ":host{position:relative;--ez-sidebar-button--width:6px;--ez-sidebar-button--hover--width:12px;--ez-sidebar-button--height:96px;--ez-sidebar-navigator-button--z-index:var(--elevation--20, 20);--ez-sidebar-button--background-color--xlight:var(--background--xlight, #fff);--ez-sidebar-button--background-color--primary:var(--color--primary);--ez-sidebar-button--space--small:var(--space--small, 6px);--ez-sidebar-button--space--medium:var(--space--medium, 12px);--ez-sidebar-button--box-shadow:var(--shadow--small, 0px 0px 16px rgba(0, 38, 111, 0.07));--ez-sidebar-button--hover--box-shadow:var(--shadow--hard, 0px 0px 16px rgba(43, 58, 84, 0.24));--ez-sidebar-button--border--radius-small:var(--border--radius-small);--ez-sidebar-button--border--radius-medium:var(--border--radius-medium)}button{z-index:var(--ez-sidebar-navigator-button--z-index);position:absolute;display:flex;background:var(--ez-sidebar-button--background-color--xlight);border:0;border-radius:0 var(--ez-sidebar-button--border--radius-medium) var(--ez-sidebar-button--border--radius-medium) 0;box-shadow:var(--ez-sidebar-button--box-shadow);padding:0;cursor:pointer;align-items:center}span{width:var(--ez-sidebar-button--width);height:var(--ez-sidebar-button--height);margin:var(--ez-sidebar-button--space--medium) 0 var(--ez-sidebar-button--space--medium) 0;background:var(--ez-sidebar-button--background-color--primary);border-radius:0 var(--ez-sidebar-button--border--radius-small) var(--ez-sidebar-button--border--radius-small) 0}ez-icon{--ez-icon--color:var(--ez-sidebar-button--background-color--primary)}button:hover{box-shadow:var(--ez-sidebar-button--hover--box-shadow)}button:hover span{width:var(--ez-sidebar-button--hover--width);margin:var(--ez-sidebar-button--space--medium) 0 var(--ez-sidebar-button--space--medium) 0}";
195
195
 
196
196
  const EzSidebarButton = class {
197
197
  constructor(hostRef) {
@@ -208,7 +208,7 @@ const EzSidebarButton = class {
208
208
  }
209
209
  }
210
210
  render() {
211
- return (h("button", { type: "button", onClick: () => { this.ezClick.emit(); }, ref: (el) => this._button = el }, h("span", null), h("ez-icon", { iconName: "chevron-right" })));
211
+ 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" })));
212
212
  }
213
213
  get _element() { return getElement(this); }
214
214
  };