@sankhyalabs/ezui 7.1.0-dev.1 → 7.1.0-dev.11

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 (275) hide show
  1. package/dist/cjs/ez-actions-button.cjs.entry.js +1 -1
  2. package/dist/cjs/ez-alert-list.cjs.entry.js +1 -1
  3. package/dist/cjs/ez-alert.cjs.entry.js +1 -1
  4. package/dist/cjs/ez-application.cjs.entry.js +1 -1
  5. package/dist/cjs/ez-avatar.cjs.entry.js +1 -1
  6. package/dist/cjs/ez-badge.cjs.entry.js +1 -1
  7. package/dist/cjs/ez-breadcrumb.cjs.entry.js +1 -1
  8. package/dist/cjs/ez-button.cjs.entry.js +1 -1
  9. package/dist/cjs/ez-calendar.cjs.entry.js +1 -1
  10. package/dist/cjs/ez-card-item.cjs.entry.js +1 -1
  11. package/dist/cjs/ez-chart.cjs.entry.js +1 -1
  12. package/dist/cjs/ez-check.cjs.entry.js +1 -1
  13. package/dist/cjs/ez-chip.cjs.entry.js +1 -1
  14. package/dist/cjs/ez-classic-combo-box.cjs.entry.js +1 -1
  15. package/dist/cjs/ez-classic-input.cjs.entry.js +1 -1
  16. package/dist/cjs/ez-classic-text-area.cjs.entry.js +1 -1
  17. package/dist/cjs/ez-collapsible-box.cjs.entry.js +1 -1
  18. package/dist/cjs/ez-combo-box-list_4.cjs.entry.js +3 -3
  19. package/dist/cjs/ez-combo-box.cjs.entry.js +1 -1
  20. package/dist/cjs/ez-date-input.cjs.entry.js +1 -1
  21. package/dist/cjs/ez-date-time-input.cjs.entry.js +1 -1
  22. package/dist/cjs/ez-dialog.cjs.entry.js +2 -2
  23. package/dist/cjs/ez-double-list.cjs.entry.js +1 -1
  24. package/dist/cjs/ez-dropdown.cjs.entry.js +1 -1
  25. package/dist/cjs/ez-empty-card.cjs.entry.js +1 -1
  26. package/dist/cjs/ez-file-item.cjs.entry.js +1 -1
  27. package/dist/cjs/ez-filter-input.cjs.entry.js +1 -1
  28. package/dist/cjs/ez-form-view.cjs.entry.js +1 -1
  29. package/dist/cjs/ez-form.cjs.entry.js +111 -39
  30. package/dist/cjs/ez-grid-view.cjs.entry.js +1 -1
  31. package/dist/cjs/ez-grid.cjs.entry.js +4 -4
  32. package/dist/cjs/ez-guide-navigator.cjs.entry.js +1 -1
  33. package/dist/cjs/ez-icon.cjs.entry.js +1 -1
  34. package/dist/cjs/ez-link-builder_6.cjs.entry.js +1 -1
  35. package/dist/cjs/ez-list-item.cjs.entry.js +1 -1
  36. package/dist/cjs/ez-list.cjs.entry.js +1 -1
  37. package/dist/cjs/ez-loading-bar.cjs.entry.js +1 -1
  38. package/dist/cjs/ez-modal-container.cjs.entry.js +16 -17
  39. package/dist/cjs/ez-modal.cjs.entry.js +1 -1
  40. package/dist/cjs/ez-multi-selection-list.cjs.entry.js +1 -1
  41. package/dist/cjs/ez-number-input.cjs.entry.js +1 -1
  42. package/dist/cjs/ez-pagination.cjs.entry.js +1 -1
  43. package/dist/cjs/ez-popover-core.cjs.entry.js +1 -1
  44. package/dist/cjs/ez-popover-plus_3.cjs.entry.js +1 -1
  45. package/dist/cjs/ez-popover.cjs.entry.js +1 -1
  46. package/dist/cjs/ez-popup.cjs.entry.js +10 -7
  47. package/dist/cjs/ez-progress-bar.cjs.entry.js +1 -1
  48. package/dist/cjs/ez-radio-button.cjs.entry.js +1 -1
  49. package/dist/cjs/ez-rich-toolbar-item.cjs.entry.js +1 -1
  50. package/dist/cjs/ez-scroller_2.cjs.entry.js +1 -1
  51. package/dist/cjs/ez-search-plus.cjs.entry.js +1 -1
  52. package/dist/cjs/ez-search-result-list.cjs.entry.js +1 -1
  53. package/dist/cjs/ez-search.cjs.entry.js +1 -1
  54. package/dist/cjs/ez-sidebar-navigator.cjs.entry.js +1 -1
  55. package/dist/cjs/ez-skeleton.cjs.entry.js +1 -1
  56. package/dist/cjs/ez-sortable-list.cjs.entry.js +1 -1
  57. package/dist/cjs/ez-spinner.cjs.entry.js +1 -1
  58. package/dist/cjs/ez-split-button.cjs.entry.js +1 -1
  59. package/dist/cjs/ez-split-item.cjs.entry.js +1 -1
  60. package/dist/cjs/ez-split-panel.cjs.entry.js +1 -1
  61. package/dist/cjs/ez-tabselector.cjs.entry.js +1 -1
  62. package/dist/cjs/ez-tag-input.cjs.entry.js +1 -1
  63. package/dist/cjs/ez-tag.cjs.entry.js +1 -1
  64. package/dist/cjs/ez-text-area.cjs.entry.js +1 -1
  65. package/dist/cjs/ez-text-input.cjs.entry.js +1 -1
  66. package/dist/cjs/ez-tile-medium.cjs.entry.js +1 -1
  67. package/dist/cjs/ez-tile.cjs.entry.js +1 -1
  68. package/dist/cjs/ez-time-input.cjs.entry.js +1 -1
  69. package/dist/cjs/ez-toast.cjs.entry.js +1 -1
  70. package/dist/cjs/ez-tooltip.cjs.entry.js +1 -1
  71. package/dist/cjs/ez-tree.cjs.entry.js +155 -8
  72. package/dist/cjs/ez-underface.cjs.entry.js +1 -1
  73. package/dist/cjs/ez-upload.cjs.entry.js +1 -1
  74. package/dist/cjs/ez-view-stack.cjs.entry.js +1 -1
  75. package/dist/cjs/ezui.cjs.js +2 -2
  76. package/dist/cjs/filter-column.cjs.entry.js +1 -1
  77. package/dist/cjs/{index-a7b0c73d.js → index-9e5554cb.js} +3 -0
  78. package/dist/cjs/loader.cjs.js +2 -2
  79. package/dist/cjs/{purify-47a2f27b.js → purify-453a8028.js} +35 -12
  80. package/dist/cjs/{search-column-9aa090ec.js → search-column-540f3925.js} +2 -2
  81. package/dist/collection/components/ez-dialog/ez-dialog.css +6 -1
  82. package/dist/collection/components/ez-grid/controller/ag-grid/AgGridController.js +1 -1
  83. package/dist/collection/components/ez-modal-container/ez-modal-container.css +4 -9
  84. package/dist/collection/components/ez-modal-container/ez-modal-container.js +32 -15
  85. package/dist/collection/components/ez-popup/ez-popup.css +3 -2
  86. package/dist/collection/components/ez-popup/ez-popup.js +9 -6
  87. package/dist/collection/components/ez-tree/ez-tree.css +4 -0
  88. package/dist/collection/components/ez-tree/ez-tree.js +185 -6
  89. package/dist/collection/components/ez-tree/subcomponents/TreeItem.js +4 -1
  90. package/dist/collection/components/ez-tree/types/Node.js +7 -0
  91. package/dist/collection/components/ez-tree/types/Tree.js +19 -0
  92. package/dist/collection/components/ez-tree/types/UpdateItemConfig.js +1 -0
  93. package/dist/collection/utils/form/DataBinder.js +1 -1
  94. package/dist/collection/utils/form/FormMetadata.js +109 -37
  95. package/dist/custom-elements/index.js +327 -83
  96. package/dist/esm/ez-actions-button.entry.js +1 -1
  97. package/dist/esm/ez-alert-list.entry.js +1 -1
  98. package/dist/esm/ez-alert.entry.js +1 -1
  99. package/dist/esm/ez-application.entry.js +1 -1
  100. package/dist/esm/ez-avatar.entry.js +1 -1
  101. package/dist/esm/ez-badge.entry.js +1 -1
  102. package/dist/esm/ez-breadcrumb.entry.js +1 -1
  103. package/dist/esm/ez-button.entry.js +1 -1
  104. package/dist/esm/ez-calendar.entry.js +1 -1
  105. package/dist/esm/ez-card-item.entry.js +1 -1
  106. package/dist/esm/ez-chart.entry.js +1 -1
  107. package/dist/esm/ez-check.entry.js +1 -1
  108. package/dist/esm/ez-chip.entry.js +1 -1
  109. package/dist/esm/ez-classic-combo-box.entry.js +1 -1
  110. package/dist/esm/ez-classic-input.entry.js +1 -1
  111. package/dist/esm/ez-classic-text-area.entry.js +1 -1
  112. package/dist/esm/ez-collapsible-box.entry.js +1 -1
  113. package/dist/esm/ez-combo-box-list_4.entry.js +3 -3
  114. package/dist/esm/ez-combo-box.entry.js +1 -1
  115. package/dist/esm/ez-date-input.entry.js +1 -1
  116. package/dist/esm/ez-date-time-input.entry.js +1 -1
  117. package/dist/esm/ez-dialog.entry.js +2 -2
  118. package/dist/esm/ez-double-list.entry.js +1 -1
  119. package/dist/esm/ez-dropdown.entry.js +1 -1
  120. package/dist/esm/ez-empty-card.entry.js +1 -1
  121. package/dist/esm/ez-file-item.entry.js +1 -1
  122. package/dist/esm/ez-filter-input.entry.js +1 -1
  123. package/dist/esm/ez-form-view.entry.js +1 -1
  124. package/dist/esm/ez-form.entry.js +111 -39
  125. package/dist/esm/ez-grid-view.entry.js +1 -1
  126. package/dist/esm/ez-grid.entry.js +4 -4
  127. package/dist/esm/ez-guide-navigator.entry.js +1 -1
  128. package/dist/esm/ez-icon.entry.js +1 -1
  129. package/dist/esm/ez-link-builder_6.entry.js +1 -1
  130. package/dist/esm/ez-list-item.entry.js +1 -1
  131. package/dist/esm/ez-list.entry.js +1 -1
  132. package/dist/esm/ez-loading-bar.entry.js +1 -1
  133. package/dist/esm/ez-modal-container.entry.js +16 -17
  134. package/dist/esm/ez-modal.entry.js +1 -1
  135. package/dist/esm/ez-multi-selection-list.entry.js +1 -1
  136. package/dist/esm/ez-number-input.entry.js +1 -1
  137. package/dist/esm/ez-pagination.entry.js +1 -1
  138. package/dist/esm/ez-popover-core.entry.js +1 -1
  139. package/dist/esm/ez-popover-plus_3.entry.js +1 -1
  140. package/dist/esm/ez-popover.entry.js +1 -1
  141. package/dist/esm/ez-popup.entry.js +10 -7
  142. package/dist/esm/ez-progress-bar.entry.js +1 -1
  143. package/dist/esm/ez-radio-button.entry.js +1 -1
  144. package/dist/esm/ez-rich-toolbar-item.entry.js +1 -1
  145. package/dist/esm/ez-scroller_2.entry.js +1 -1
  146. package/dist/esm/ez-search-plus.entry.js +1 -1
  147. package/dist/esm/ez-search-result-list.entry.js +1 -1
  148. package/dist/esm/ez-search.entry.js +1 -1
  149. package/dist/esm/ez-sidebar-navigator.entry.js +1 -1
  150. package/dist/esm/ez-skeleton.entry.js +1 -1
  151. package/dist/esm/ez-sortable-list.entry.js +1 -1
  152. package/dist/esm/ez-spinner.entry.js +1 -1
  153. package/dist/esm/ez-split-button.entry.js +1 -1
  154. package/dist/esm/ez-split-item.entry.js +1 -1
  155. package/dist/esm/ez-split-panel.entry.js +1 -1
  156. package/dist/esm/ez-tabselector.entry.js +1 -1
  157. package/dist/esm/ez-tag-input.entry.js +1 -1
  158. package/dist/esm/ez-tag.entry.js +1 -1
  159. package/dist/esm/ez-text-area.entry.js +1 -1
  160. package/dist/esm/ez-text-input.entry.js +1 -1
  161. package/dist/esm/ez-tile-medium.entry.js +1 -1
  162. package/dist/esm/ez-tile.entry.js +1 -1
  163. package/dist/esm/ez-time-input.entry.js +1 -1
  164. package/dist/esm/ez-toast.entry.js +1 -1
  165. package/dist/esm/ez-tooltip.entry.js +1 -1
  166. package/dist/esm/ez-tree.entry.js +155 -8
  167. package/dist/esm/ez-underface.entry.js +1 -1
  168. package/dist/esm/ez-upload.entry.js +1 -1
  169. package/dist/esm/ez-view-stack.entry.js +1 -1
  170. package/dist/esm/ezui.js +3 -3
  171. package/dist/esm/filter-column.entry.js +1 -1
  172. package/dist/esm/{index-baa5e267.js → index-5a720e56.js} +3 -1
  173. package/dist/esm/loader.js +3 -3
  174. package/dist/esm/{purify-dc6814bf.js → purify-003c47e2.js} +35 -12
  175. package/dist/esm/{search-column-83562552.js → search-column-4e827a95.js} +2 -2
  176. package/dist/ezui/ezui.esm.js +1 -1
  177. package/dist/ezui/{p-e75c7a23.entry.js → p-000159dc.entry.js} +1 -1
  178. package/dist/ezui/{p-7f8c1fce.entry.js → p-0391f255.entry.js} +1 -1
  179. package/dist/ezui/{p-93e1c917.entry.js → p-05e68ab3.entry.js} +1 -1
  180. package/dist/ezui/{p-1730ee24.entry.js → p-06ca9d9a.entry.js} +1 -1
  181. package/dist/ezui/{p-288631d1.entry.js → p-06f1b8e4.entry.js} +1 -1
  182. package/dist/ezui/{p-6d596a5a.entry.js → p-0b531233.entry.js} +1 -1
  183. package/dist/ezui/{p-5ab08b60.entry.js → p-129fea99.entry.js} +1 -1
  184. package/dist/ezui/{p-1bfef8e5.entry.js → p-13949839.entry.js} +1 -1
  185. package/dist/ezui/p-14d6aeb8.entry.js +1 -0
  186. package/dist/ezui/{p-2528e988.entry.js → p-169d460d.entry.js} +1 -1
  187. package/dist/ezui/{p-6f77a359.entry.js → p-1723f728.entry.js} +1 -1
  188. package/dist/ezui/{p-0c0eb410.entry.js → p-1d846a77.entry.js} +1 -1
  189. package/dist/ezui/{p-8bb3aeb0.entry.js → p-1d8ea7d2.entry.js} +1 -1
  190. package/dist/ezui/p-231cf227.entry.js +1 -0
  191. package/dist/ezui/{p-1266fe78.entry.js → p-26077a43.entry.js} +1 -1
  192. package/dist/ezui/{p-3fe05d6b.entry.js → p-2d803ee6.entry.js} +1 -1
  193. package/dist/ezui/{p-6f119d5f.entry.js → p-30513f10.entry.js} +1 -1
  194. package/dist/ezui/{p-2a70f094.entry.js → p-3136f418.entry.js} +1 -1
  195. package/dist/ezui/{p-ef8bd3e8.entry.js → p-35e3715c.entry.js} +1 -1
  196. package/dist/ezui/{p-1adf7139.entry.js → p-3b5bafe4.entry.js} +1 -1
  197. package/dist/ezui/p-3be7d8d8.entry.js +1 -0
  198. package/dist/ezui/p-4296e9f9.js +1 -0
  199. package/dist/ezui/{p-a7eab406.entry.js → p-43106b79.entry.js} +1 -1
  200. package/dist/ezui/{p-fa6732f2.entry.js → p-44b39e81.entry.js} +1 -1
  201. package/dist/ezui/{p-e46a4d06.entry.js → p-4815ddbf.entry.js} +1 -1
  202. package/dist/ezui/{p-d0e6911e.entry.js → p-4a530109.entry.js} +1 -1
  203. package/dist/ezui/{p-4d30b703.entry.js → p-4a876b8b.entry.js} +1 -1
  204. package/dist/ezui/{p-1cde96f9.entry.js → p-4cc79a52.entry.js} +1 -1
  205. package/dist/ezui/{p-e882635e.entry.js → p-4dc07e01.entry.js} +1 -1
  206. package/dist/ezui/{p-6369a0cd.entry.js → p-51e34317.entry.js} +1 -1
  207. package/dist/ezui/{p-eee3c7ff.entry.js → p-53412766.entry.js} +1 -1
  208. package/dist/ezui/{p-8dc267ff.entry.js → p-53e773a4.entry.js} +1 -1
  209. package/dist/ezui/{p-48effc69.entry.js → p-570cf58a.entry.js} +1 -1
  210. package/dist/ezui/p-580f5fb8.entry.js +1 -0
  211. package/dist/ezui/{p-0b333f09.entry.js → p-5d1adf13.entry.js} +1 -1
  212. package/dist/ezui/{p-dee18824.entry.js → p-5f4a66ec.entry.js} +1 -1
  213. package/dist/ezui/{p-1f50fa05.entry.js → p-6b51c9cc.entry.js} +1 -1
  214. package/dist/ezui/p-6ec40dec.entry.js +1 -0
  215. package/dist/ezui/{p-5ed81457.entry.js → p-6fc26622.entry.js} +1 -1
  216. package/dist/ezui/{p-e27d7dc2.entry.js → p-74f08ec9.entry.js} +1 -1
  217. package/dist/ezui/{p-d6f50207.entry.js → p-770cf2b8.entry.js} +1 -1
  218. package/dist/ezui/{p-124699e0.entry.js → p-77e738d5.entry.js} +1 -1
  219. package/dist/ezui/{p-91c9d50e.entry.js → p-78e975b4.entry.js} +1 -1
  220. package/dist/ezui/{p-59a98e31.entry.js → p-78f18973.entry.js} +1 -1
  221. package/dist/ezui/{p-957d08cd.entry.js → p-7fdf1f2b.entry.js} +1 -1
  222. package/dist/ezui/{p-1e7a8633.entry.js → p-81461d2f.entry.js} +1 -1
  223. package/dist/ezui/{p-8df1ca33.entry.js → p-82fa4b09.entry.js} +1 -1
  224. package/dist/ezui/{p-59092a66.entry.js → p-8aa7d60b.entry.js} +1 -1
  225. package/dist/ezui/{p-a3075f52.entry.js → p-9bcfa689.entry.js} +1 -1
  226. package/dist/ezui/{p-ba7e908a.entry.js → p-a48979a8.entry.js} +1 -1
  227. package/dist/ezui/{p-e8c6c973.entry.js → p-a859ea2e.entry.js} +1 -1
  228. package/dist/ezui/{p-d6742c1e.entry.js → p-a9432878.entry.js} +1 -1
  229. package/dist/ezui/{p-e8c57463.entry.js → p-b21efe83.entry.js} +1 -1
  230. package/dist/ezui/{p-6a9a20a0.entry.js → p-b3530711.entry.js} +1 -1
  231. package/dist/ezui/{p-4e1df756.entry.js → p-b5b33be8.entry.js} +1 -1
  232. package/dist/ezui/{p-2ba2d792.entry.js → p-b77a0ce4.entry.js} +1 -1
  233. package/dist/ezui/{p-7fe97ef5.entry.js → p-b7c6ce20.entry.js} +1 -1
  234. package/dist/ezui/p-b81d19c7.entry.js +1 -0
  235. package/dist/ezui/p-bb409cba.js +3 -0
  236. package/dist/ezui/p-bb7cf512.entry.js +1 -0
  237. package/dist/ezui/{p-a0bf1fc7.entry.js → p-bc693db6.entry.js} +1 -1
  238. package/dist/ezui/{p-9f5fa3f9.entry.js → p-c2b20f78.entry.js} +1 -1
  239. package/dist/ezui/{p-a401041c.entry.js → p-c73964f8.entry.js} +1 -1
  240. package/dist/ezui/{p-6020f3d5.entry.js → p-c754774e.entry.js} +1 -1
  241. package/dist/ezui/{p-d2645bdf.entry.js → p-c96e536d.entry.js} +1 -1
  242. package/dist/ezui/{p-d66bf34e.entry.js → p-cb4f1ee9.entry.js} +2 -2
  243. package/dist/ezui/{p-20c024f7.entry.js → p-cf33bc48.entry.js} +1 -1
  244. package/dist/ezui/{p-0e49c0ff.entry.js → p-cf4e2a35.entry.js} +1 -1
  245. package/dist/ezui/p-cff2434d.entry.js +1 -0
  246. package/dist/ezui/{p-9b2e6438.entry.js → p-d3779449.entry.js} +1 -1
  247. package/dist/ezui/{p-a80b1287.entry.js → p-dfca5946.entry.js} +1 -1
  248. package/dist/ezui/{p-7f792043.entry.js → p-e195eaad.entry.js} +1 -1
  249. package/dist/ezui/{p-79277e43.entry.js → p-e2eb894a.entry.js} +1 -1
  250. package/dist/ezui/{p-23a36bb6.js → p-e4c7eb39.js} +2 -2
  251. package/dist/ezui/{p-e7a7c594.entry.js → p-e9b409c1.entry.js} +1 -1
  252. package/dist/ezui/{p-e99cbb51.entry.js → p-f17e7182.entry.js} +1 -1
  253. package/dist/ezui/{p-a3ada561.entry.js → p-f26b97e9.entry.js} +1 -1
  254. package/dist/ezui/{p-411c0222.entry.js → p-f7ca8634.entry.js} +1 -1
  255. package/dist/types/components/ez-modal-container/ez-modal-container.d.ts +6 -2
  256. package/dist/types/components/ez-popup/ez-popup.d.ts +1 -0
  257. package/dist/types/components/ez-tree/ez-tree.d.ts +20 -1
  258. package/dist/types/components/ez-tree/types/Node.d.ts +1 -0
  259. package/dist/types/components/ez-tree/types/Tree.d.ts +1 -0
  260. package/dist/types/components/ez-tree/types/UpdateItemConfig.d.ts +4 -0
  261. package/dist/types/components.d.ts +26 -1
  262. package/dist/types/utils/form/FormMetadata.d.ts +2 -1
  263. package/dist/types/utils/form/interfaces/IFormSheetMetadata.d.ts +3 -0
  264. package/dist/types/utils/form/interfaces/ITabConfig.d.ts +3 -0
  265. package/package.json +1 -1
  266. package/dist/ezui/p-02f6e3b0.entry.js +0 -1
  267. package/dist/ezui/p-191cfbc8.entry.js +0 -1
  268. package/dist/ezui/p-228a4d2f.js +0 -3
  269. package/dist/ezui/p-2df50161.entry.js +0 -1
  270. package/dist/ezui/p-4c4f0850.entry.js +0 -1
  271. package/dist/ezui/p-623161e2.js +0 -1
  272. package/dist/ezui/p-bc2f844e.entry.js +0 -1
  273. package/dist/ezui/p-bd6146c5.entry.js +0 -1
  274. package/dist/ezui/p-c943f7c4.entry.js +0 -1
  275. package/dist/ezui/p-d8cc640d.entry.js +0 -1
@@ -3,7 +3,7 @@
3
3
  const _commonjsHelpers = require('./_commonjsHelpers-537d719a.js');
4
4
 
5
5
  var purify = _commonjsHelpers.createCommonjsModule(function (module, exports) {
6
- /*! @license DOMPurify 3.2.7 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.2.7/LICENSE */
6
+ /*! @license DOMPurify 3.3.0 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.3.0/LICENSE */
7
7
 
8
8
  (function (global, factory) {
9
9
  module.exports = factory() ;
@@ -192,7 +192,7 @@ var purify = _commonjsHelpers.createCommonjsModule(function (module, exports) {
192
192
  }
193
193
 
194
194
  const html$1 = freeze(['a', 'abbr', 'acronym', 'address', 'area', 'article', 'aside', 'audio', 'b', 'bdi', 'bdo', 'big', 'blink', 'blockquote', 'body', 'br', 'button', 'canvas', 'caption', 'center', 'cite', 'code', 'col', 'colgroup', 'content', 'data', 'datalist', 'dd', 'decorator', 'del', 'details', 'dfn', 'dialog', 'dir', 'div', 'dl', 'dt', 'element', 'em', 'fieldset', 'figcaption', 'figure', 'font', 'footer', 'form', 'h1', 'h2', 'h3', 'h4', 'h5', 'h6', 'head', 'header', 'hgroup', 'hr', 'html', 'i', 'img', 'input', 'ins', 'kbd', 'label', 'legend', 'li', 'main', 'map', 'mark', 'marquee', 'menu', 'menuitem', 'meter', 'nav', 'nobr', 'ol', 'optgroup', 'option', 'output', 'p', 'picture', 'pre', 'progress', 'q', 'rp', 'rt', 'ruby', 's', 'samp', 'search', 'section', 'select', 'shadow', 'slot', 'small', 'source', 'spacer', 'span', 'strike', 'strong', 'style', 'sub', 'summary', 'sup', 'table', 'tbody', 'td', 'template', 'textarea', 'tfoot', 'th', 'thead', 'time', 'tr', 'track', 'tt', 'u', 'ul', 'var', 'video', 'wbr']);
195
- const svg$1 = freeze(['svg', 'a', 'altglyph', 'altglyphdef', 'altglyphitem', 'animatecolor', 'animatemotion', 'animatetransform', 'circle', 'clippath', 'defs', 'desc', 'ellipse', 'enterkeyhint', 'exportparts', 'filter', 'font', 'g', 'glyph', 'glyphref', 'hkern', 'image', 'inputmode', 'line', 'lineargradient', 'marker', 'mask', 'metadata', 'mpath', 'part', 'path', 'pattern', 'polygon', 'polyline', 'radialgradient', 'rect', 'slot', 'stop', 'style', 'switch', 'symbol', 'text', 'textpath', 'title', 'tref', 'tspan', 'view', 'vkern']);
195
+ const svg$1 = freeze(['svg', 'a', 'altglyph', 'altglyphdef', 'altglyphitem', 'animatecolor', 'animatemotion', 'animatetransform', 'circle', 'clippath', 'defs', 'desc', 'ellipse', 'enterkeyhint', 'exportparts', 'filter', 'font', 'g', 'glyph', 'glyphref', 'hkern', 'image', 'inputmode', 'line', 'lineargradient', 'marker', 'mask', 'metadata', 'mpath', 'part', 'path', 'pattern', 'polygon', 'polyline', 'radialgradient', 'rect', 'stop', 'style', 'switch', 'symbol', 'text', 'textpath', 'title', 'tref', 'tspan', 'view', 'vkern']);
196
196
  const svgFilters = freeze(['feBlend', 'feColorMatrix', 'feComponentTransfer', 'feComposite', 'feConvolveMatrix', 'feDiffuseLighting', 'feDisplacementMap', 'feDistantLight', 'feDropShadow', 'feFlood', 'feFuncA', 'feFuncB', 'feFuncG', 'feFuncR', 'feGaussianBlur', 'feImage', 'feMerge', 'feMergeNode', 'feMorphology', 'feOffset', 'fePointLight', 'feSpecularLighting', 'feSpotLight', 'feTile', 'feTurbulence']);
197
197
  // List of SVG elements that are disallowed by default.
198
198
  // We still need to know them so that we can do namespace
@@ -206,7 +206,7 @@ var purify = _commonjsHelpers.createCommonjsModule(function (module, exports) {
206
206
  const text = freeze(['#text']);
207
207
 
208
208
  const html = freeze(['accept', 'action', 'align', 'alt', 'autocapitalize', 'autocomplete', 'autopictureinpicture', 'autoplay', 'background', 'bgcolor', 'border', 'capture', 'cellpadding', 'cellspacing', 'checked', 'cite', 'class', 'clear', 'color', 'cols', 'colspan', 'controls', 'controlslist', 'coords', 'crossorigin', 'datetime', 'decoding', 'default', 'dir', 'disabled', 'disablepictureinpicture', 'disableremoteplayback', 'download', 'draggable', 'enctype', 'enterkeyhint', 'exportparts', 'face', 'for', 'headers', 'height', 'hidden', 'high', 'href', 'hreflang', 'id', 'inert', 'inputmode', 'integrity', 'ismap', 'kind', 'label', 'lang', 'list', 'loading', 'loop', 'low', 'max', 'maxlength', 'media', 'method', 'min', 'minlength', 'multiple', 'muted', 'name', 'nonce', 'noshade', 'novalidate', 'nowrap', 'open', 'optimum', 'part', 'pattern', 'placeholder', 'playsinline', 'popover', 'popovertarget', 'popovertargetaction', 'poster', 'preload', 'pubdate', 'radiogroup', 'readonly', 'rel', 'required', 'rev', 'reversed', 'role', 'rows', 'rowspan', 'spellcheck', 'scope', 'selected', 'shape', 'size', 'sizes', 'slot', 'span', 'srclang', 'start', 'src', 'srcset', 'step', 'style', 'summary', 'tabindex', 'title', 'translate', 'type', 'usemap', 'valign', 'value', 'width', 'wrap', 'xmlns', 'slot']);
209
- const svg = freeze(['accent-height', 'accumulate', 'additive', 'alignment-baseline', 'amplitude', 'ascent', 'attributename', 'attributetype', 'azimuth', 'basefrequency', 'baseline-shift', 'begin', 'bias', 'by', 'class', 'clip', 'clippathunits', 'clip-path', 'clip-rule', 'color', 'color-interpolation', 'color-interpolation-filters', 'color-profile', 'color-rendering', 'cx', 'cy', 'd', 'dx', 'dy', 'diffuseconstant', 'direction', 'display', 'divisor', 'dur', 'edgemode', 'elevation', 'end', 'exponent', 'fill', 'fill-opacity', 'fill-rule', 'filter', 'filterunits', 'flood-color', 'flood-opacity', 'font-family', 'font-size', 'font-size-adjust', 'font-stretch', 'font-style', 'font-variant', 'font-weight', 'fx', 'fy', 'g1', 'g2', 'glyph-name', 'glyphref', 'gradientunits', 'gradienttransform', 'height', 'href', 'id', 'image-rendering', 'in', 'in2', 'intercept', 'k', 'k1', 'k2', 'k3', 'k4', 'kerning', 'keypoints', 'keysplines', 'keytimes', 'lang', 'lengthadjust', 'letter-spacing', 'kernelmatrix', 'kernelunitlength', 'lighting-color', 'local', 'marker-end', 'marker-mid', 'marker-start', 'markerheight', 'markerunits', 'markerwidth', 'maskcontentunits', 'maskunits', 'max', 'mask', 'media', 'method', 'mode', 'min', 'name', 'numoctaves', 'offset', 'operator', 'opacity', 'order', 'orient', 'orientation', 'origin', 'overflow', 'paint-order', 'path', 'pathlength', 'patterncontentunits', 'patterntransform', 'patternunits', 'points', 'preservealpha', 'preserveaspectratio', 'primitiveunits', 'r', 'rx', 'ry', 'radius', 'refx', 'refy', 'repeatcount', 'repeatdur', 'restart', 'result', 'rotate', 'scale', 'seed', 'shape-rendering', 'slope', 'specularconstant', 'specularexponent', 'spreadmethod', 'startoffset', 'stddeviation', 'stitchtiles', 'stop-color', 'stop-opacity', 'stroke-dasharray', 'stroke-dashoffset', 'stroke-linecap', 'stroke-linejoin', 'stroke-miterlimit', 'stroke-opacity', 'stroke', 'stroke-width', 'style', 'surfacescale', 'systemlanguage', 'tabindex', 'tablevalues', 'targetx', 'targety', 'transform', 'transform-origin', 'text-anchor', 'text-decoration', 'text-rendering', 'textlength', 'type', 'u1', 'u2', 'unicode', 'values', 'viewbox', 'visibility', 'version', 'vert-adv-y', 'vert-origin-x', 'vert-origin-y', 'width', 'word-spacing', 'wrap', 'writing-mode', 'xchannelselector', 'ychannelselector', 'x', 'x1', 'x2', 'xmlns', 'y', 'y1', 'y2', 'z', 'zoomandpan']);
209
+ const svg = freeze(['accent-height', 'accumulate', 'additive', 'alignment-baseline', 'amplitude', 'ascent', 'attributename', 'attributetype', 'azimuth', 'basefrequency', 'baseline-shift', 'begin', 'bias', 'by', 'class', 'clip', 'clippathunits', 'clip-path', 'clip-rule', 'color', 'color-interpolation', 'color-interpolation-filters', 'color-profile', 'color-rendering', 'cx', 'cy', 'd', 'dx', 'dy', 'diffuseconstant', 'direction', 'display', 'divisor', 'dur', 'edgemode', 'elevation', 'end', 'exponent', 'fill', 'fill-opacity', 'fill-rule', 'filter', 'filterunits', 'flood-color', 'flood-opacity', 'font-family', 'font-size', 'font-size-adjust', 'font-stretch', 'font-style', 'font-variant', 'font-weight', 'fx', 'fy', 'g1', 'g2', 'glyph-name', 'glyphref', 'gradientunits', 'gradienttransform', 'height', 'href', 'id', 'image-rendering', 'in', 'in2', 'intercept', 'k', 'k1', 'k2', 'k3', 'k4', 'kerning', 'keypoints', 'keysplines', 'keytimes', 'lang', 'lengthadjust', 'letter-spacing', 'kernelmatrix', 'kernelunitlength', 'lighting-color', 'local', 'marker-end', 'marker-mid', 'marker-start', 'markerheight', 'markerunits', 'markerwidth', 'maskcontentunits', 'maskunits', 'max', 'mask', 'mask-type', 'media', 'method', 'mode', 'min', 'name', 'numoctaves', 'offset', 'operator', 'opacity', 'order', 'orient', 'orientation', 'origin', 'overflow', 'paint-order', 'path', 'pathlength', 'patterncontentunits', 'patterntransform', 'patternunits', 'points', 'preservealpha', 'preserveaspectratio', 'primitiveunits', 'r', 'rx', 'ry', 'radius', 'refx', 'refy', 'repeatcount', 'repeatdur', 'restart', 'result', 'rotate', 'scale', 'seed', 'shape-rendering', 'slope', 'specularconstant', 'specularexponent', 'spreadmethod', 'startoffset', 'stddeviation', 'stitchtiles', 'stop-color', 'stop-opacity', 'stroke-dasharray', 'stroke-dashoffset', 'stroke-linecap', 'stroke-linejoin', 'stroke-miterlimit', 'stroke-opacity', 'stroke', 'stroke-width', 'style', 'surfacescale', 'systemlanguage', 'tabindex', 'tablevalues', 'targetx', 'targety', 'transform', 'transform-origin', 'text-anchor', 'text-decoration', 'text-rendering', 'textlength', 'type', 'u1', 'u2', 'unicode', 'values', 'viewbox', 'visibility', 'version', 'vert-adv-y', 'vert-origin-x', 'vert-origin-y', 'width', 'word-spacing', 'wrap', 'writing-mode', 'xchannelselector', 'ychannelselector', 'x', 'x1', 'x2', 'xmlns', 'y', 'y1', 'y2', 'z', 'zoomandpan']);
210
210
  const mathMl = freeze(['accent', 'accentunder', 'align', 'bevelled', 'close', 'columnsalign', 'columnlines', 'columnspan', 'denomalign', 'depth', 'dir', 'display', 'displaystyle', 'encoding', 'fence', 'frame', 'height', 'href', 'id', 'largeop', 'length', 'linethickness', 'lspace', 'lquote', 'mathbackground', 'mathcolor', 'mathsize', 'mathvariant', 'maxsize', 'minsize', 'movablelimits', 'notation', 'numalign', 'open', 'rowalign', 'rowlines', 'rowspacing', 'rowspan', 'rspace', 'rquote', 'scriptlevel', 'scriptminsize', 'scriptsizemultiplier', 'selection', 'separator', 'separators', 'stretchy', 'subscriptshift', 'supscriptshift', 'symmetric', 'voffset', 'width', 'xmlns']);
211
211
  const xml = freeze(['xlink:href', 'xml:id', 'xlink:title', 'xml:space', 'xmlns:xlink']);
212
212
 
@@ -313,7 +313,7 @@ var purify = _commonjsHelpers.createCommonjsModule(function (module, exports) {
313
313
  function createDOMPurify() {
314
314
  let window = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : getGlobal();
315
315
  const DOMPurify = root => createDOMPurify(root);
316
- DOMPurify.version = '3.2.7';
316
+ DOMPurify.version = '3.3.0';
317
317
  DOMPurify.removed = [];
318
318
  if (!window || !window.document || window.document.nodeType !== NODE_TYPE.document || !window.Element) {
319
319
  // Not running in a browser, provide a factory function
@@ -424,6 +424,21 @@ var purify = _commonjsHelpers.createCommonjsModule(function (module, exports) {
424
424
  let FORBID_TAGS = null;
425
425
  /* Explicitly forbidden attributes (overrides ALLOWED_ATTR/ADD_ATTR) */
426
426
  let FORBID_ATTR = null;
427
+ /* Config object to store ADD_TAGS/ADD_ATTR functions (when used as functions) */
428
+ const EXTRA_ELEMENT_HANDLING = Object.seal(create(null, {
429
+ tagCheck: {
430
+ writable: true,
431
+ configurable: false,
432
+ enumerable: true,
433
+ value: null
434
+ },
435
+ attributeCheck: {
436
+ writable: true,
437
+ configurable: false,
438
+ enumerable: true,
439
+ value: null
440
+ }
441
+ }));
427
442
  /* Decide if ARIA attributes are okay */
428
443
  let ALLOW_ARIA_ATTR = true;
429
444
  /* Decide if custom data attributes are okay */
@@ -616,16 +631,24 @@ var purify = _commonjsHelpers.createCommonjsModule(function (module, exports) {
616
631
  }
617
632
  /* Merge configuration parameters */
618
633
  if (cfg.ADD_TAGS) {
619
- if (ALLOWED_TAGS === DEFAULT_ALLOWED_TAGS) {
620
- ALLOWED_TAGS = clone(ALLOWED_TAGS);
634
+ if (typeof cfg.ADD_TAGS === 'function') {
635
+ EXTRA_ELEMENT_HANDLING.tagCheck = cfg.ADD_TAGS;
636
+ } else {
637
+ if (ALLOWED_TAGS === DEFAULT_ALLOWED_TAGS) {
638
+ ALLOWED_TAGS = clone(ALLOWED_TAGS);
639
+ }
640
+ addToSet(ALLOWED_TAGS, cfg.ADD_TAGS, transformCaseFunc);
621
641
  }
622
- addToSet(ALLOWED_TAGS, cfg.ADD_TAGS, transformCaseFunc);
623
642
  }
624
643
  if (cfg.ADD_ATTR) {
625
- if (ALLOWED_ATTR === DEFAULT_ALLOWED_ATTR) {
626
- ALLOWED_ATTR = clone(ALLOWED_ATTR);
644
+ if (typeof cfg.ADD_ATTR === 'function') {
645
+ EXTRA_ELEMENT_HANDLING.attributeCheck = cfg.ADD_ATTR;
646
+ } else {
647
+ if (ALLOWED_ATTR === DEFAULT_ALLOWED_ATTR) {
648
+ ALLOWED_ATTR = clone(ALLOWED_ATTR);
649
+ }
650
+ addToSet(ALLOWED_ATTR, cfg.ADD_ATTR, transformCaseFunc);
627
651
  }
628
- addToSet(ALLOWED_ATTR, cfg.ADD_ATTR, transformCaseFunc);
629
652
  }
630
653
  if (cfg.ADD_URI_SAFE_ATTR) {
631
654
  addToSet(URI_SAFE_ATTRIBUTES, cfg.ADD_URI_SAFE_ATTR, transformCaseFunc);
@@ -933,7 +956,7 @@ var purify = _commonjsHelpers.createCommonjsModule(function (module, exports) {
933
956
  return true;
934
957
  }
935
958
  /* Remove element if anything forbids its presence */
936
- if (!ALLOWED_TAGS[tagName] || FORBID_TAGS[tagName]) {
959
+ if (!(EXTRA_ELEMENT_HANDLING.tagCheck instanceof Function && EXTRA_ELEMENT_HANDLING.tagCheck(tagName)) && (!ALLOWED_TAGS[tagName] || FORBID_TAGS[tagName])) {
937
960
  /* Check if we have a custom element to handle */
938
961
  if (!FORBID_TAGS[tagName] && _isBasicCustomElement(tagName)) {
939
962
  if (CUSTOM_ELEMENT_HANDLING.tagNameCheck instanceof RegExp && regExpTest(CUSTOM_ELEMENT_HANDLING.tagNameCheck, tagName)) {
@@ -1005,7 +1028,7 @@ var purify = _commonjsHelpers.createCommonjsModule(function (module, exports) {
1005
1028
  (https://html.spec.whatwg.org/multipage/dom.html#embedding-custom-non-visible-data-with-the-data-*-attributes)
1006
1029
  XML-compatible (https://html.spec.whatwg.org/multipage/infrastructure.html#xml-compatible and http://www.w3.org/TR/xml/#d0e804)
1007
1030
  We don't need to check the value; it's always URI safe. */
1008
- if (ALLOW_DATA_ATTR && !FORBID_ATTR[lcName] && regExpTest(DATA_ATTR, lcName)) ; else if (ALLOW_ARIA_ATTR && regExpTest(ARIA_ATTR, lcName)) ; else if (!ALLOWED_ATTR[lcName] || FORBID_ATTR[lcName]) {
1031
+ if (ALLOW_DATA_ATTR && !FORBID_ATTR[lcName] && regExpTest(DATA_ATTR, lcName)) ; else if (ALLOW_ARIA_ATTR && regExpTest(ARIA_ATTR, lcName)) ; else if (EXTRA_ELEMENT_HANDLING.attributeCheck instanceof Function && EXTRA_ELEMENT_HANDLING.attributeCheck(lcName, lcTag)) ; else if (!ALLOWED_ATTR[lcName] || FORBID_ATTR[lcName]) {
1009
1032
  if (
1010
1033
  // First condition does a very basic check if a) it's basically a valid custom element tagname AND
1011
1034
  // b) if the tagName passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.tagNameCheck
@@ -3,7 +3,7 @@
3
3
  const core = require('@sankhyalabs/core');
4
4
  const ApplicationUtils = require('./ApplicationUtils-d04f5c94.js');
5
5
  const index = require('./index-00d0166b.js');
6
- const index$1 = require('./index-a7b0c73d.js');
6
+ const index$1 = require('./index-9e5554cb.js');
7
7
 
8
8
  const buildFieldMetadata = (descriptor, config) => {
9
9
  var _a, _b;
@@ -232,7 +232,7 @@ class DataBinder {
232
232
  clearFieldError(fieldName) {
233
233
  var _a;
234
234
  const field = (_a = this._fields.get(fieldName)) === null || _a === void 0 ? void 0 : _a.field;
235
- if (field["errorMessage"]) {
235
+ if (field && field["errorMessage"]) {
236
236
  field["errorMessage"] = "";
237
237
  this._dataUnit.clearInvalid(this.getCurrentRecordId(), fieldName);
238
238
  }
@@ -8,9 +8,11 @@
8
8
  /*@doc Define a cor de fundo do botão de fechar.*/
9
9
  --dialog__btn__close--background-color: var(--title--primary, #2b3a54);
10
10
  /*@doc Define o espaçamento direito do botão de negação.*/
11
- --dialog__btn__no--padding-right: var(--space--large, 24px);
11
+ --dialog__btn__no--padding-right: var(--space--8, 8px);
12
12
  /*@doc Contém a imagem do ícone de fechamento.*/
13
13
  --dialog__btn__close__image: url('data:image/svg+xml;utf8,<svg width="12" height="12" viewBox="0 0 12 12" xmlns="http://www.w3.org/2000/svg%22%3E<path d="M 7.0060773,5.995511 11.461972,1.5397722 c 0.132856,-0.1328413 0.207547,-0.3130253 0.207547,-0.5009046 0,-0.18786999 -0.07469,-0.3680541 -0.207547,-0.5009048 -0.132857,-0.13284126 -0.31302,-0.20748126 -0.500927,-0.20748126 -0.187812,0 -0.36807,0.07464 -0.500926,0.20748126 L 6.0042244,4.9937015 1.5482921,0.5379628 C 1.4154357,0.40512154 1.2352533,0.33048154 1.0473657,0.33048154 c -0.18787813,0 -0.36807,0.07464 -0.50092647,0.20748126 -0.13285646,0.1328507 -0.20749026,0.31303481 -0.20749026,0.5009048 0,0.1878793 0.0746338,0.3680633 0.20749026,0.5009046 L 5.0023715,5.995511 0.54643923,10.452213 c -0.0676086,0.06534 -0.12151598,0.14352 -0.15859681,0.229916 -0.0370714,0.08639 -0.0565645,0.1794 -0.0573369,0.27335 -7.724e-4,0.09404 0.0171873,0.187331 0.0528423,0.274293 0.0356455,0.08705 0.0882688,0.166087 0.15479148,0.23256 0.0665321,0.06648 0.14562277,0.11897 0.2326735,0.154567 0.0870507,0.0356 0.18031463,0.05344 0.2743433,0.05259 0.094029,-8.5e-4 0.1869528,-0.02049 0.2733331,-0.0576 0.08639,-0.0372 0.1645078,-0.09121 0.2298029,-0.158817 L 6.0042244,6.9973204 10.460119,11.453078 c 0.132856,0.132851 0.313114,0.207444 0.500926,0.207444 0.187907,0 0.36807,-0.07459 0.500927,-0.207444 0.132856,-0.13285 0.207547,-0.313006 0.207547,-0.500904 0,-0.187898 -0.07469,-0.368054 -0.207547,-0.500905 z"/></svg>');
14
+ /*@doc Define a largura mínima dos botões.*/
15
+ --dialog__btn__min-width: 80px;
14
16
 
15
17
  /* Título */
16
18
  /*@doc Define o estilo da mensagem exibida no título.*/
@@ -245,6 +247,7 @@ h2 {
245
247
 
246
248
  .button__cancel {
247
249
  padding-right: var(--dialog__btn__no--padding-right);
250
+ --ez-button--min-width: var(--dialog__btn__min-width);
248
251
  }
249
252
 
250
253
  .button__confirm{
@@ -252,6 +255,7 @@ h2 {
252
255
  --ez-button--color: var(--color--inverted);
253
256
  --ez-button--hover--background-color: var(--color--primary-600);
254
257
  --ez-button--hover-color: var(--color--inverted);
258
+ --ez-button--min-width: var(--dialog__btn__min-width);
255
259
  }
256
260
 
257
261
  .button__confirm--danger{
@@ -259,6 +263,7 @@ h2 {
259
263
  --ez-button--color: var(--color--inverted);
260
264
  --ez-button--hover--background-color: var(--color-alert--error-900, #a10020);
261
265
  --ez-button--hover-color: var(--color--inverted);
266
+ --ez-button--min-width: var(--dialog__btn__min-width);
262
267
  }
263
268
 
264
269
  .button__confirm--container {
@@ -763,7 +763,7 @@ export default class AgGridController {
763
763
  const colDefsWithConfigs = this.getColsDefWithConfigApplied(colDefs, this._lastColsConfig);
764
764
  this._gridOptions.api.setColumnDefs(colDefsWithConfigs);
765
765
  }
766
- getColsDefWithConfigApplied(colDefs, colsConfig) {
766
+ getColsDefWithConfigApplied(colDefs, colsConfig = []) {
767
767
  //Cria map de colunas existentes na config e seu índice
768
768
  const orderMap = colsConfig.reduce((map, col, index) => {
769
769
  map[col.name] = index;
@@ -1,8 +1,8 @@
1
1
  :host {
2
2
  --ez-modal-container-overflow-y: auto;
3
3
  --ez-modal-container-overflow-x: hidden;
4
- display: grid;
5
- grid-template-rows: 0 auto 1fr auto 0;
4
+ display: flex;
5
+ flex-direction: column;
6
6
  width: 100%;
7
7
  height: 100%;
8
8
  }
@@ -23,6 +23,7 @@
23
23
  overflow-y: var(--ez-modal-container-overflow-y);
24
24
  overflow-x: var(--ez-modal-container-overflow-x);
25
25
  outline: none;
26
+ flex: 1 1 auto;
26
27
  }
27
28
 
28
29
  .ez-modal-container__content::-webkit-scrollbar {
@@ -35,7 +36,7 @@
35
36
  display: flex;
36
37
  flex-direction: row;
37
38
  justify-content: flex-end;
38
- gap: var(--space--medium);
39
+ gap: var(--space--8, 8px);
39
40
  width: 100%;
40
41
  padding-top: var(--space--small, 6px);
41
42
  }
@@ -55,9 +56,3 @@
55
56
  .ez-modal-container__close-icon {
56
57
  --icon--color: var(--title--primary, #2B3A54)
57
58
  }
58
-
59
- .ez-modal-container__focus-ctrl {
60
- height: 0px;
61
- background-color: transparent;
62
- border: none;
63
- }
@@ -13,6 +13,7 @@ export class EzModalContainer {
13
13
  this.cancelButtonStatus = undefined;
14
14
  this.okButtonStatus = undefined;
15
15
  this.showCloseButton = true;
16
+ this.autoFocus = false;
16
17
  }
17
18
  async handleEzModalAction(event) {
18
19
  var _a;
@@ -26,18 +27,25 @@ export class EzModalContainer {
26
27
  okIsVisible() {
27
28
  return (this.okButtonStatus !== ModalButtonStatus.HIDDEN && this.okButtonLabel != undefined);
28
29
  }
30
+ emitOkAction() {
31
+ this.ezModalAction.emit(ModalAction.OK);
32
+ }
29
33
  async componentWillLoad() {
30
34
  this.i18n = await initI18n();
31
35
  }
36
+ connectedCallback() {
37
+ this._keyboardManager = new KeyboardManager({ propagate: false, element: this._element })
38
+ .bind("Enter", () => this.emitOkAction())
39
+ .bind("Escape", () => this.closeModal())
40
+ .bind("Esc", () => this.closeModal());
41
+ }
32
42
  componentDidLoad() {
33
43
  window.requestAnimationFrame(() => {
34
44
  this.ezModalAction.emit(ModalAction.LOAD);
35
- this._modalRef.focus();
45
+ if (this.autoFocus) {
46
+ this._modalRef.focus();
47
+ }
36
48
  });
37
- this._keyboardManager = new KeyboardManager({ propagate: false, element: this._element })
38
- .bind("Enter", this.ezModalAction.emit.bind(ModalAction.OK))
39
- .bind("Escape", () => this.closeModal())
40
- .bind("Esc", () => this.closeModal());
41
49
  }
42
50
  disconnectedCallback() {
43
51
  var _a;
@@ -46,17 +54,8 @@ export class EzModalContainer {
46
54
  closeModal() {
47
55
  this.ezModalAction.emit("CLOSE");
48
56
  }
49
- focusLast() {
50
- if (this._okButton == undefined) {
51
- return;
52
- }
53
- this._okButton.setFocus();
54
- }
55
- focusFirst() {
56
- this._closeButton.focus();
57
- }
58
57
  render() {
59
- 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.CLOSE), "aria-label": this.i18n("app.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 || this.i18n("app.cancel"), enabled: this.cancelButtonStatus !== ModalButtonStatus.DISABLED, onClick: () => this.ezModalAction.emit(ModalAction.CANCEL) })), this.okIsVisible() && (h("ez-button", { ref: ref => this._okButton = ref, class: "ez-button--primary", label: this.okButtonLabel || this.i18n("app.ok"), enabled: this.okButtonStatus !== ModalButtonStatus.DISABLED, onClick: () => this.ezModalAction.emit(ModalAction.OK) }))), h("button", { class: "ez-modal-container__focus-ctrl", onFocusin: () => this.focusFirst() })));
58
+ return (h(Host, null, h("header", { 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.CLOSE), "aria-label": this.i18n("app.close") }, h("ez-icon", { class: "ez-modal-container__close-icon", size: "medium", iconName: "close" })))))), h("main", { tabIndex: -1, class: "ez-modal-container__content" }, h("slot", null)), h("footer", { tabIndex: -1, class: "ez-modal-container__footer" }, this.cancelIsVisible() && (h("ez-button", { label: this.cancelButtonLabel || this.i18n("app.cancel"), isDisabled: this.cancelButtonStatus === ModalButtonStatus.DISABLED, onClick: () => this.ezModalAction.emit(ModalAction.CANCEL) })), this.okIsVisible() && (h("ez-button", { ref: ref => this._okButton = ref, class: "ez-button--primary", label: this.okButtonLabel || this.i18n("app.ok"), isDisabled: this.okButtonStatus === ModalButtonStatus.DISABLED, onClick: () => this.emitOkAction() })))));
60
59
  }
61
60
  static get is() { return "ez-modal-container"; }
62
61
  static get encapsulation() { return "scoped"; }
@@ -209,6 +208,24 @@ export class EzModalContainer {
209
208
  "attribute": "show-close-button",
210
209
  "reflect": false,
211
210
  "defaultValue": "true"
211
+ },
212
+ "autoFocus": {
213
+ "type": "boolean",
214
+ "mutable": false,
215
+ "complexType": {
216
+ "original": "boolean",
217
+ "resolved": "boolean",
218
+ "references": {}
219
+ },
220
+ "required": false,
221
+ "optional": true,
222
+ "docs": {
223
+ "tags": [],
224
+ "text": "Se true o modal container receber\u00E1 o foco ao ser renderizado."
225
+ },
226
+ "attribute": "auto-focus",
227
+ "reflect": false,
228
+ "defaultValue": "false"
212
229
  }
213
230
  };
214
231
  }
@@ -72,17 +72,17 @@
72
72
  }
73
73
 
74
74
  .popup__expandable-content {
75
+ flex-grow: 1;
75
76
  box-sizing: border-box;
76
77
  width: 100%;
77
- flex: 1;
78
78
  font-family: var(--font--pattern, "Roboto");
79
79
  font-size: var(--font-size--default, 14px);
80
80
  color: var(--title--primary, #00281D);
81
81
  font-weight: var(--font-weight--regular, 400);
82
- line-height: var(--line-height--24, 24px);
83
82
  }
84
83
 
85
84
  .popup__header {
85
+ flex-shrink: 0;
86
86
  width: 100%;
87
87
  display: flex;
88
88
  align-items: center;
@@ -115,6 +115,7 @@
115
115
  }
116
116
 
117
117
  .popup__footer {
118
+ flex-shrink: 0;
118
119
  display: flex;
119
120
  width: 100%;
120
121
  flex-direction: row-reverse;
@@ -8,7 +8,7 @@ export class EzPopup {
8
8
  this.useHeader = true;
9
9
  this.heightMode = "full";
10
10
  this.ezTitle = undefined;
11
- this.enabledScroll = false;
11
+ this.enabledScroll = true;
12
12
  this.autoClose = true;
13
13
  this.footerButtons = [];
14
14
  }
@@ -78,9 +78,6 @@ export class EzPopup {
78
78
  if (this.heightMode === 'auto') {
79
79
  className += ' popup__container--auto';
80
80
  }
81
- if (this.enabledScroll) {
82
- className += ' popup__overflow-y--auto';
83
- }
84
81
  className += ` ${this.getGridSize()}`;
85
82
  return className;
86
83
  }
@@ -141,9 +138,15 @@ export class EzPopup {
141
138
  };
142
139
  }
143
140
  }
141
+ renderFooterButtons() {
142
+ return this.footerButtons.slice(0, 3).map((buttonProps, index) => (h("ez-button", Object.assign({ key: index }, this.handleDefaultPropsButtonsByIndex(index), buttonProps))));
143
+ }
144
144
  render() {
145
145
  return (h(Host, null, this.opened && (h("div", { class: "overlay", tabIndex: -1, onClick: this.handleAutoClose.bind(this) }, h("dialog", { ref: ref => this._popupRef = ref, class: this.getDialogClass() }, this.useHeader &&
146
- h("header", { class: "popup__header" }, !!this.ezTitle && h("h1", { class: "popup__title" }, this.ezTitle), h("ez-button", { class: this.ezTitle ? "btn-close" : "btn-close btn-close--solo", variant: "tertiary", mode: "icon", iconName: "close", size: "small", onClick: this.closePopup.bind(this) })), h("main", { class: "popup__expandable-content" }, h("slot", null)), this.footerButtons.length > 0 && (h("footer", { class: "popup__footer" }, this.footerButtons.slice(0, 3).map((buttonProps, index) => (h("ez-button", Object.assign({ key: index }, this.handleDefaultPropsButtonsByIndex(index), buttonProps)))))))))));
146
+ h("header", { class: "popup__header" }, !!this.ezTitle && h("h1", { class: "popup__title" }, this.ezTitle), h("ez-button", { class: this.ezTitle ? "btn-close" : "btn-close btn-close--solo", variant: "tertiary", mode: "icon", iconName: "close", size: "small", onClick: this.closePopup.bind(this) })), h("main", { class: {
147
+ "popup__expandable-content": true,
148
+ "popup__overflow-y--auto": this.enabledScroll
149
+ } }, h("slot", null)), h("footer", { class: "popup__footer" }, this.footerButtons.length > 0 && (this.renderFooterButtons()), h("slot", { name: 'footer' })))))));
147
150
  }
148
151
  static get is() { return "ez-popup"; }
149
152
  static get encapsulation() { return "shadow"; }
@@ -264,7 +267,7 @@ export class EzPopup {
264
267
  },
265
268
  "attribute": "enabled-scroll",
266
269
  "reflect": false,
267
- "defaultValue": "false"
270
+ "defaultValue": "true"
268
271
  },
269
272
  "autoClose": {
270
273
  "type": "boolean",
@@ -8,6 +8,9 @@
8
8
  --ez-tree--margin: var(--space--extra-small, 3px);
9
9
  /*@doc Define a margem da direita do componente.*/
10
10
  --ez-tree--margin-right: 0px;
11
+
12
+ /*@doc Define se o texto dos itens pode ser selecionado pelo usuário.*/
13
+ --ez-tree--user-select: auto;
11
14
 
12
15
  /* Fontes e cor de ícones*/
13
16
  /*@doc Define a família da fonte.*/
@@ -197,6 +200,7 @@ ul.first-level {
197
200
  text-overflow: ellipsis;
198
201
  overflow: hidden;
199
202
  white-space: nowrap;
203
+ user-select: var(--ez-tree--user-select);
200
204
 
201
205
  /*public*/
202
206
  font-family: var(--ez-tree--font-family);