@sankhyalabs/sankhyablocks 8.15.0-dev.9 → 8.15.0-rc.10

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 (295) hide show
  1. package/dist/cjs/{ConfigStorage-302bbbd4.js → ConfigStorage-34be11ce.js} +70 -7
  2. package/dist/cjs/{DataFetcher-ba94ed5b.js → DataFetcher-99f0f6ed.js} +5 -3
  3. package/dist/cjs/{ISave-d68ce3cd.js → ISave-e91b70a7.js} +1 -0
  4. package/dist/cjs/{SnkFormConfigManager-71c4768e.js → SnkFormConfigManager-6211fb28.js} +7 -2
  5. package/dist/cjs/{SnkMessageBuilder-7293d0ad.js → SnkMessageBuilder-141aa18d.js} +15 -1
  6. package/dist/cjs/SnkMultiSelectionListDataSource-5213120b.js +140 -0
  7. package/dist/cjs/{auth-fetcher-c8467c07.js → auth-fetcher-5161d082.js} +1 -1
  8. package/dist/cjs/{form-config-fetcher-df043d3d.js → form-config-fetcher-9f1a13ca.js} +1 -1
  9. package/dist/cjs/index-f9e81701.js +2 -10
  10. package/dist/cjs/loader.cjs.js +1 -1
  11. package/dist/cjs/{dataunit-fetcher-353e4af2.js → pesquisa-fetcher-94f6b316.js} +439 -39
  12. package/dist/cjs/sankhyablocks.cjs.js +1 -1
  13. package/dist/cjs/{snk-actions-button_2.cjs.entry.js → snk-actions-button_4.cjs.entry.js} +524 -8
  14. package/dist/cjs/snk-application.cjs.entry.js +44 -10
  15. package/dist/cjs/snk-attach.cjs.entry.js +392 -62
  16. package/dist/cjs/snk-crud.cjs.entry.js +17 -12
  17. package/dist/cjs/snk-data-exporter.cjs.entry.js +9 -5
  18. package/dist/cjs/{snk-data-unit-1bc69073.js → snk-data-unit-6026a9f7.js} +1 -1
  19. package/dist/cjs/snk-data-unit.cjs.entry.js +2 -2
  20. package/dist/cjs/snk-detail-view.cjs.entry.js +10 -12
  21. package/dist/cjs/snk-entity-list.cjs.entry.js +5 -3
  22. package/dist/cjs/snk-filter-bar.cjs.entry.js +44 -8
  23. package/dist/cjs/snk-filter-item.cjs.entry.js +4 -47
  24. package/dist/cjs/snk-filter-modal-item.cjs.entry.js +3 -3
  25. package/dist/cjs/snk-filter-modal.cjs.entry.js +2 -1
  26. package/dist/cjs/snk-filter-multi-select.cjs.entry.js +2 -1
  27. package/dist/cjs/snk-form-config.cjs.entry.js +47 -27
  28. package/dist/cjs/snk-form.cjs.entry.js +11 -4
  29. package/dist/cjs/snk-grid.cjs.entry.js +40 -22
  30. package/dist/cjs/{snk-guides-viewer-e60ccc5e.js → snk-guides-viewer-508bb6fe.js} +16 -11
  31. package/dist/cjs/snk-guides-viewer.cjs.entry.js +8 -10
  32. package/dist/cjs/snk-personalized-filter-editor.cjs.entry.js +3 -1
  33. package/dist/cjs/snk-personalized-filter.cjs.entry.js +3 -3
  34. package/dist/cjs/snk-pesquisa.cjs.entry.js +1 -1
  35. package/dist/cjs/snk-simple-crud.cjs.entry.js +229 -27
  36. package/dist/cjs/snk-taskbar.cjs.entry.js +100 -14
  37. package/dist/cjs/{taskbar-elements-01b85b99.js → taskbar-elements-3ecd1278.js} +9 -9
  38. package/dist/collection/collection-manifest.json +6 -6
  39. package/dist/collection/components/snk-application/__mocks__/snk-application.js +7 -0
  40. package/dist/collection/components/snk-application/snk-application.js +85 -2
  41. package/dist/collection/components/snk-attach/snk-attach.js +188 -39
  42. package/dist/collection/components/snk-attach/structure/{crud-config-builder.js → builder/anexo-sistema-crud-config.builder.js} +1 -1
  43. package/dist/collection/components/snk-attach/structure/builder/attach-crud-config.builder.js +62 -0
  44. package/dist/collection/components/snk-attach/structure/{taskbar-builder.js → builder/taskbar-builder.js} +1 -1
  45. package/dist/collection/components/snk-attach/structure/fetcher/facade/fetcher.facade.js +1 -0
  46. package/dist/collection/components/snk-attach/structure/{data-unit-builder.js → fetcher/factory/anexo-sistema-data-unit.factory.js} +14 -11
  47. package/dist/collection/components/snk-attach/structure/fetcher/factory/attach-fetcher-data-unit.factory.js +111 -0
  48. package/dist/collection/components/snk-attach/structure/index.js +6 -3
  49. package/dist/collection/components/snk-crud/snk-crud.js +95 -3
  50. package/dist/collection/components/snk-crud/subcomponents/snk-detail-view/snk-detail-view.js +2 -2
  51. package/dist/collection/components/snk-crud/subcomponents/snk-guides-viewer.css +11 -2
  52. package/dist/collection/components/snk-crud/subcomponents/snk-guides-viewer.js +27 -3
  53. package/dist/collection/components/snk-data-exporter/snk-data-exporter.js +6 -2
  54. package/dist/collection/components/snk-entity-list/snk-entity-list.js +5 -3
  55. package/dist/collection/components/snk-filter-bar/filter-item/editors/snk-filter-multi-select.js +2 -1
  56. package/dist/collection/components/snk-filter-bar/filter-item/editors/snk-personalized-filter-editor/snk-personalized-filter-editor.js +3 -1
  57. package/dist/collection/components/snk-filter-bar/filter-item/snk-filter-item.js +4 -47
  58. package/dist/collection/components/snk-filter-bar/filter-modal/snk-filter-modal.js +19 -1
  59. package/dist/collection/components/snk-filter-bar/snk-filter-bar.css +23 -1
  60. package/dist/collection/components/snk-filter-bar/snk-filter-bar.js +137 -3
  61. package/dist/collection/components/snk-filter-bar/utils/SnkFilterModalFactory.js +3 -1
  62. package/dist/collection/components/snk-form/snk-form.js +25 -1
  63. package/dist/collection/components/{snk-form → snk-form-config}/SnkFormConfigManager.js +6 -1
  64. package/dist/collection/components/{snk-form/subcomponents/snk-form-config → snk-form-config}/snk-form-config.js +50 -30
  65. package/dist/collection/components/snk-grid/snk-grid.js +103 -16
  66. package/dist/collection/components/{snk-grid/subcomponents/snk-grid-config → snk-grid-config}/snk-grid-config.js +130 -123
  67. package/dist/collection/components/{snk-grid/subcomponents → snk-grid-config}/snk-select-box/snk-select-box.js +1 -1
  68. package/dist/collection/components/snk-pesquisa/snk-pesquisa.css +2 -4
  69. package/dist/collection/components/snk-simple-crud/regular-buttons.js +3 -0
  70. package/dist/collection/components/snk-simple-crud/snk-simple-crud.css +5 -0
  71. package/dist/collection/components/snk-simple-crud/snk-simple-crud.js +378 -18
  72. package/dist/collection/components/snk-taskbar/elements/taskbar-actions-button/taskbar-actions-button.js +4 -2
  73. package/dist/collection/components/snk-taskbar/elements/taskbar-elements.js +9 -9
  74. package/dist/collection/components/snk-taskbar/snk-taskbar.css +17 -0
  75. package/dist/collection/components/snk-taskbar/snk-taskbar.js +139 -13
  76. package/dist/collection/lib/configs/ConfigStorage.js +63 -3
  77. package/dist/collection/lib/dataUnit/InMemoryLoader.js +1 -1
  78. package/dist/collection/lib/http/data-fetcher/DataFetcher.js +5 -3
  79. package/dist/collection/lib/http/data-fetcher/fetchers/{attach-fetcher.js → AttachFetcher/anexo-sistema-fetcher.js} +16 -15
  80. package/dist/collection/lib/http/data-fetcher/fetchers/AttachFetcher/attach-fetcher.js +90 -0
  81. package/dist/collection/lib/http/data-fetcher/fetchers/AttachFetcher/facade/attach-fetcher.facade.js +1 -0
  82. package/dist/collection/lib/http/data-fetcher/fetchers/AttachFetcher/index.js +2 -0
  83. package/dist/collection/lib/http/data-fetcher/fetchers/AttachFetcher/interfaces/IDelete.js +1 -0
  84. package/dist/collection/lib/http/data-fetcher/fetchers/AttachFetcher/interfaces/IDownloadKey.js +1 -0
  85. package/dist/collection/lib/http/data-fetcher/fetchers/{fecthAttach → AttachFetcher}/interfaces/ISave.js +1 -0
  86. package/dist/collection/lib/http/data-fetcher/fetchers/data-unit/dataunit-fetcher.js +17 -3
  87. package/dist/collection/lib/http/data-fetcher/fetchers/data-unit/loadstrategy/DatasetStrategy.js +29 -22
  88. package/dist/collection/lib/http/data-fetcher/fetchers/parameters-fecher.js +21 -0
  89. package/dist/collection/lib/http/data-fetcher/fetchers/personalized-filter-fetcher.js +6 -3
  90. package/dist/collection/lib/http/data-fetcher/fetchers/pesquisa-fetcher.js +11 -12
  91. package/dist/collection/lib/index.js +1 -1
  92. package/dist/collection/lib/message/resources/snk-attach.msg.js +13 -0
  93. package/dist/collection/lib/message/resources/snk-data-exporter.msg.js +2 -1
  94. package/dist/collection/lib/utils/CrudUtils.js +13 -1
  95. package/dist/components/ConfigStorage.js +68 -5
  96. package/dist/components/DataFetcher.js +5 -3
  97. package/dist/components/SnkFormConfigManager.js +5 -0
  98. package/dist/components/SnkMessageBuilder.js +15 -1
  99. package/dist/components/dataunit-fetcher.js +58 -38
  100. package/dist/components/field-search.js +93 -3
  101. package/dist/components/index.d.ts +6 -6
  102. package/dist/components/snk-actions-button2.js +1 -0
  103. package/dist/components/snk-application2.js +41 -2
  104. package/dist/components/snk-attach2.js +448 -69
  105. package/dist/components/snk-crud.js +15 -3
  106. package/dist/components/snk-data-exporter2.js +6 -2
  107. package/dist/components/snk-detail-view2.js +40 -7
  108. package/dist/components/snk-entity-list.js +5 -3
  109. package/dist/components/snk-filter-bar2.js +47 -6
  110. package/dist/components/snk-filter-item2.js +4 -47
  111. package/dist/components/snk-filter-modal.js +4 -2
  112. package/dist/components/snk-filter-multi-select.js +2 -1
  113. package/dist/components/snk-form-config2.js +46 -26
  114. package/dist/components/snk-form.js +8 -0
  115. package/dist/components/snk-grid-config2.js +128 -102
  116. package/dist/components/snk-grid2.js +41 -17
  117. package/dist/components/snk-personalized-filter-editor.js +3 -1
  118. package/dist/components/snk-pesquisa2.js +1 -1
  119. package/dist/components/snk-simple-crud2.js +285 -29
  120. package/dist/components/snk-taskbar2.js +114 -24
  121. package/dist/components/taskbar-actions-button2.js +4 -2
  122. package/dist/esm/{ConfigStorage-4151acc8.js → ConfigStorage-101a2b4c.js} +70 -7
  123. package/dist/esm/{DataFetcher-aa159c5a.js → DataFetcher-a650ae58.js} +5 -3
  124. package/dist/esm/{ISave-4412b20c.js → ISave-d8c8bc59.js} +1 -0
  125. package/dist/esm/{SnkFormConfigManager-5c7d3771.js → SnkFormConfigManager-d86ba46f.js} +7 -2
  126. package/dist/esm/{SnkMessageBuilder-ca843d1b.js → SnkMessageBuilder-9747ddd2.js} +15 -1
  127. package/dist/esm/SnkMultiSelectionListDataSource-7e7eada5.js +133 -0
  128. package/dist/esm/{auth-fetcher-c05dc474.js → auth-fetcher-17dc5b5e.js} +1 -1
  129. package/dist/esm/{form-config-fetcher-36219cd3.js → form-config-fetcher-f121f880.js} +1 -1
  130. package/dist/esm/index-a7d3d3f1.js +2 -10
  131. package/dist/esm/loader.js +1 -1
  132. package/dist/esm/{dataunit-fetcher-0fc935a0.js → pesquisa-fetcher-f05a12ca.js} +429 -31
  133. package/dist/esm/sankhyablocks.js +1 -1
  134. package/dist/esm/{snk-actions-button_2.entry.js → snk-actions-button_4.entry.js} +523 -9
  135. package/dist/esm/snk-application.entry.js +43 -9
  136. package/dist/esm/snk-attach.entry.js +392 -62
  137. package/dist/esm/snk-crud.entry.js +17 -12
  138. package/dist/esm/snk-data-exporter.entry.js +9 -5
  139. package/dist/esm/{snk-data-unit-6208ebf0.js → snk-data-unit-4c343635.js} +1 -1
  140. package/dist/esm/snk-data-unit.entry.js +2 -2
  141. package/dist/esm/snk-detail-view.entry.js +10 -12
  142. package/dist/esm/snk-entity-list.entry.js +5 -3
  143. package/dist/esm/snk-filter-bar.entry.js +44 -8
  144. package/dist/esm/snk-filter-item.entry.js +4 -47
  145. package/dist/esm/snk-filter-modal-item.entry.js +3 -3
  146. package/dist/esm/snk-filter-modal.entry.js +2 -1
  147. package/dist/esm/snk-filter-multi-select.entry.js +2 -1
  148. package/dist/esm/snk-form-config.entry.js +48 -28
  149. package/dist/esm/snk-form.entry.js +11 -4
  150. package/dist/esm/snk-grid.entry.js +41 -23
  151. package/dist/esm/{snk-guides-viewer-98a8e45e.js → snk-guides-viewer-18859840.js} +16 -11
  152. package/dist/esm/snk-guides-viewer.entry.js +8 -10
  153. package/dist/esm/snk-personalized-filter-editor.entry.js +3 -1
  154. package/dist/esm/snk-personalized-filter.entry.js +3 -3
  155. package/dist/esm/snk-pesquisa.entry.js +1 -1
  156. package/dist/esm/snk-simple-crud.entry.js +229 -27
  157. package/dist/esm/snk-taskbar.entry.js +101 -15
  158. package/dist/esm/{taskbar-elements-d4d0b424.js → taskbar-elements-2473c8ac.js} +9 -9
  159. package/dist/sankhyablocks/p-1f3174cb.entry.js +1 -0
  160. package/dist/sankhyablocks/p-1fa5a18c.entry.js +11 -0
  161. package/dist/sankhyablocks/p-20b46647.entry.js +1 -0
  162. package/dist/sankhyablocks/{p-9e7d65a4.js → p-21749402.js} +1 -1
  163. package/dist/sankhyablocks/p-2897fb8c.js +1 -0
  164. package/dist/sankhyablocks/{p-ff6064e7.js → p-2936303b.js} +1 -1
  165. package/dist/sankhyablocks/p-2b909f08.entry.js +1 -0
  166. package/dist/sankhyablocks/p-33718dfc.entry.js +1 -0
  167. package/dist/sankhyablocks/p-50783a8b.js +1 -0
  168. package/dist/sankhyablocks/p-5c0b53ce.js +56 -0
  169. package/dist/sankhyablocks/p-5dbc1a3f.js +1 -0
  170. package/dist/sankhyablocks/p-60fa6c7a.js +1 -0
  171. package/dist/sankhyablocks/p-64c1b368.entry.js +1 -0
  172. package/dist/sankhyablocks/{p-7f3c7b09.entry.js → p-6b28cc74.entry.js} +1 -1
  173. package/dist/sankhyablocks/p-70a4af56.entry.js +1 -0
  174. package/dist/sankhyablocks/{p-e0fd9555.entry.js → p-7ddd95b6.entry.js} +1 -1
  175. package/dist/sankhyablocks/p-7e05bd83.entry.js +1 -0
  176. package/dist/sankhyablocks/p-7f97fee2.entry.js +1 -0
  177. package/dist/sankhyablocks/p-86801b08.entry.js +1 -0
  178. package/dist/sankhyablocks/{p-32f0935f.js → p-9a5d1b39.js} +1 -1
  179. package/dist/sankhyablocks/{p-0d7863ed.js → p-a13ccb86.js} +1 -1
  180. package/dist/sankhyablocks/p-ae4fc9a9.js +1 -0
  181. package/dist/sankhyablocks/p-b11aa1e0.entry.js +1 -0
  182. package/dist/sankhyablocks/p-b41a622a.entry.js +1 -0
  183. package/dist/sankhyablocks/p-b4de81ac.entry.js +1 -0
  184. package/dist/sankhyablocks/p-ba4871b5.entry.js +1 -0
  185. package/dist/sankhyablocks/{p-9695f78b.js → p-be75153c.js} +1 -1
  186. package/dist/sankhyablocks/p-bf2acf72.entry.js +1 -0
  187. package/dist/sankhyablocks/p-d01ceda6.entry.js +1 -0
  188. package/dist/sankhyablocks/{p-247a8b36.entry.js → p-d1791da2.entry.js} +1 -1
  189. package/dist/sankhyablocks/p-d304659d.entry.js +1 -0
  190. package/dist/sankhyablocks/p-d78d4062.js +65 -0
  191. package/dist/sankhyablocks/p-e4fb3308.entry.js +1 -0
  192. package/dist/sankhyablocks/p-e7dbe53a.entry.js +1 -0
  193. package/dist/sankhyablocks/sankhyablocks.esm.js +1 -1
  194. package/dist/types/components/snk-application/__mocks__/snk-application.d.ts +3 -0
  195. package/dist/types/components/snk-application/snk-application.d.ts +15 -0
  196. package/dist/types/components/snk-attach/{structure/crud-config-builder.d.ts → interfaces/ICrudConfig.d.ts} +1 -2
  197. package/dist/types/components/snk-attach/interfaces/TFetcherType.d.ts +1 -0
  198. package/dist/types/components/snk-attach/snk-attach.d.ts +27 -6
  199. package/dist/types/components/snk-attach/structure/builder/anexo-sistema-crud-config.builder.d.ts +2 -0
  200. package/dist/types/components/snk-attach/structure/builder/attach-crud-config.builder.d.ts +31 -0
  201. package/dist/types/components/snk-attach/structure/{taskbar-builder.d.ts → builder/taskbar-builder.d.ts} +1 -1
  202. package/dist/types/components/snk-attach/structure/fetcher/facade/fetcher.facade.d.ts +11 -0
  203. package/dist/types/components/snk-attach/structure/fetcher/factory/anexo-sistema-data-unit.factory.d.ts +17 -0
  204. package/dist/types/components/snk-attach/structure/fetcher/factory/attach-fetcher-data-unit.factory.d.ts +15 -0
  205. package/dist/types/components/snk-attach/structure/index.d.ts +6 -3
  206. package/dist/types/components/snk-crud/snk-crud.d.ts +21 -0
  207. package/dist/types/components/snk-crud/subcomponents/snk-detail-view/snk-detail-view.d.ts +1 -1
  208. package/dist/types/components/snk-crud/subcomponents/snk-guides-viewer.d.ts +6 -1
  209. package/dist/types/components/snk-filter-bar/filter-item/snk-filter-item.d.ts +1 -2
  210. package/dist/types/components/snk-filter-bar/filter-modal/snk-filter-modal.d.ts +5 -0
  211. package/dist/types/components/snk-filter-bar/snk-filter-bar.d.ts +24 -1
  212. package/dist/types/components/snk-filter-bar/utils/SnkFilterModalFactory.d.ts +3 -1
  213. package/dist/types/components/snk-form/snk-form.d.ts +6 -1
  214. package/dist/types/components/{snk-form → snk-form-config}/SnkFormConfigManager.d.ts +1 -0
  215. package/dist/types/components/{snk-form/subcomponents/snk-form-config → snk-form-config}/snk-form-config.d.ts +5 -3
  216. package/dist/types/components/snk-grid/snk-grid.d.ts +20 -1
  217. package/dist/types/components/{snk-grid/subcomponents/snk-grid-config → snk-grid-config}/snk-grid-config.d.ts +11 -6
  218. package/dist/types/components/{snk-grid/subcomponents → snk-grid-config}/snk-select-box/snk-select-box.d.ts +1 -1
  219. package/dist/types/components/snk-simple-crud/regular-buttons.d.ts +3 -0
  220. package/dist/types/components/snk-simple-crud/snk-simple-crud.d.ts +71 -4
  221. package/dist/types/components/snk-taskbar/snk-taskbar.d.ts +28 -1
  222. package/dist/types/components.d.ts +265 -12
  223. package/dist/types/lib/configs/ConfigStorage.d.ts +21 -1
  224. package/dist/types/lib/http/data-fetcher/DataFetcher.d.ts +1 -1
  225. package/dist/types/lib/http/data-fetcher/fetchers/{attach-fetcher.d.ts → AttachFetcher/anexo-sistema-fetcher.d.ts} +3 -2
  226. package/dist/types/lib/http/data-fetcher/fetchers/AttachFetcher/attach-fetcher.d.ts +11 -0
  227. package/dist/types/lib/http/data-fetcher/fetchers/AttachFetcher/facade/attach-fetcher.facade.d.ts +8 -0
  228. package/dist/types/lib/http/data-fetcher/fetchers/AttachFetcher/index.d.ts +3 -0
  229. package/dist/types/lib/http/data-fetcher/fetchers/{fecthAttach → AttachFetcher}/interfaces/ISave.d.ts +2 -1
  230. package/dist/types/lib/http/data-fetcher/fetchers/data-unit/dataunit-fetcher.d.ts +1 -0
  231. package/dist/types/lib/http/data-fetcher/fetchers/data-unit/loadstrategy/DatasetStrategy.d.ts +1 -0
  232. package/dist/types/lib/http/data-fetcher/fetchers/parameters-fecher.d.ts +1 -0
  233. package/dist/types/lib/http/data-fetcher/fetchers/personalized-filter-fetcher.d.ts +2 -1
  234. package/dist/types/lib/index.d.ts +1 -1
  235. package/dist/types/lib/utils/CrudUtils.d.ts +3 -0
  236. package/package.json +13 -6
  237. package/dist/cjs/PreloadManager-84466da6.js +0 -224
  238. package/dist/cjs/SnkMultiSelectionListDataSource-ba5838c2.js +0 -49
  239. package/dist/cjs/pesquisa-fetcher-ef050a47.js +0 -167
  240. package/dist/cjs/snk-grid-config.cjs.entry.js +0 -483
  241. package/dist/cjs/snk-select-box.cjs.entry.js +0 -25
  242. package/dist/esm/PreloadManager-c1c2f2b4.js +0 -222
  243. package/dist/esm/SnkMultiSelectionListDataSource-44494b0e.js +0 -43
  244. package/dist/esm/pesquisa-fetcher-dd3ca0a5.js +0 -165
  245. package/dist/esm/snk-grid-config.entry.js +0 -479
  246. package/dist/esm/snk-select-box.entry.js +0 -21
  247. package/dist/sankhyablocks/p-0874adb5.entry.js +0 -1
  248. package/dist/sankhyablocks/p-094c30cb.js +0 -1
  249. package/dist/sankhyablocks/p-1d75d9f9.entry.js +0 -1
  250. package/dist/sankhyablocks/p-20726710.entry.js +0 -1
  251. package/dist/sankhyablocks/p-374d03f6.js +0 -1
  252. package/dist/sankhyablocks/p-41560fd8.entry.js +0 -1
  253. package/dist/sankhyablocks/p-4775a293.entry.js +0 -1
  254. package/dist/sankhyablocks/p-573a07c5.js +0 -1
  255. package/dist/sankhyablocks/p-6678d5d4.entry.js +0 -1
  256. package/dist/sankhyablocks/p-69efa80d.entry.js +0 -1
  257. package/dist/sankhyablocks/p-71439fd9.entry.js +0 -1
  258. package/dist/sankhyablocks/p-761ed32f.entry.js +0 -1
  259. package/dist/sankhyablocks/p-7d8d7fe9.entry.js +0 -1
  260. package/dist/sankhyablocks/p-90f9b4db.entry.js +0 -11
  261. package/dist/sankhyablocks/p-98674137.entry.js +0 -1
  262. package/dist/sankhyablocks/p-a91bb13d.js +0 -1
  263. package/dist/sankhyablocks/p-a9e5b094.entry.js +0 -1
  264. package/dist/sankhyablocks/p-aa95fb2c.js +0 -56
  265. package/dist/sankhyablocks/p-abfa8101.entry.js +0 -1
  266. package/dist/sankhyablocks/p-b05ab13d.entry.js +0 -1
  267. package/dist/sankhyablocks/p-b3020263.entry.js +0 -1
  268. package/dist/sankhyablocks/p-bf93a748.js +0 -60
  269. package/dist/sankhyablocks/p-c22c1d8e.js +0 -1
  270. package/dist/sankhyablocks/p-c6f89389.entry.js +0 -1
  271. package/dist/sankhyablocks/p-c758265f.entry.js +0 -1
  272. package/dist/sankhyablocks/p-cb7419e0.entry.js +0 -1
  273. package/dist/sankhyablocks/p-cebae710.entry.js +0 -1
  274. package/dist/sankhyablocks/p-d4f9ee17.entry.js +0 -1
  275. package/dist/sankhyablocks/p-d9bb09b3.js +0 -6
  276. package/dist/sankhyablocks/p-e6380c60.js +0 -1
  277. package/dist/types/components/snk-attach/structure/data-unit-builder.d.ts +0 -15
  278. /package/dist/collection/{lib/http/data-fetcher/fetchers/fecthAttach/interfaces/IDelete.js → components/snk-attach/interfaces/ICrudConfig.js} +0 -0
  279. /package/dist/collection/{lib/http/data-fetcher/fetchers/fecthAttach/interfaces/IDownloadKey.js → components/snk-attach/interfaces/TFetcherType.js} +0 -0
  280. /package/dist/collection/components/{snk-form/subcomponents/snk-form-config → snk-form-config}/snk-form-config.css +0 -0
  281. /package/dist/collection/components/{snk-form → snk-form-config}/subcomponents/snk-config-options/snk-config-options.css +0 -0
  282. /package/dist/collection/components/{snk-form → snk-form-config}/subcomponents/snk-config-options/snk-config-options.js +0 -0
  283. /package/dist/collection/components/{snk-form → snk-form-config}/subcomponents/snk-field-config/snk-field-config.css +0 -0
  284. /package/dist/collection/components/{snk-form → snk-form-config}/subcomponents/snk-field-config/snk-field-config.js +0 -0
  285. /package/dist/collection/components/{snk-form → snk-form-config}/subcomponents/snk-tab-config/snk-tab-config.css +0 -0
  286. /package/dist/collection/components/{snk-form → snk-form-config}/subcomponents/snk-tab-config/snk-tab-config.js +0 -0
  287. /package/dist/collection/components/{snk-grid/subcomponents/snk-grid-config → snk-grid-config}/snk-grid-config.css +0 -0
  288. /package/dist/collection/components/{snk-grid/subcomponents → snk-grid-config}/snk-select-box/snk-select-box.css +0 -0
  289. /package/dist/collection/lib/http/data-fetcher/fetchers/{fecthAttach → AttachFetcher}/interfaces/index.js +0 -0
  290. /package/dist/types/components/{snk-form → snk-form-config}/subcomponents/snk-config-options/snk-config-options.d.ts +0 -0
  291. /package/dist/types/components/{snk-form → snk-form-config}/subcomponents/snk-field-config/snk-field-config.d.ts +0 -0
  292. /package/dist/types/components/{snk-form → snk-form-config}/subcomponents/snk-tab-config/snk-tab-config.d.ts +0 -0
  293. /package/dist/types/lib/http/data-fetcher/fetchers/{fecthAttach → AttachFetcher}/interfaces/IDelete.d.ts +0 -0
  294. /package/dist/types/lib/http/data-fetcher/fetchers/{fecthAttach → AttachFetcher}/interfaces/IDownloadKey.d.ts +0 -0
  295. /package/dist/types/lib/http/data-fetcher/fetchers/{fecthAttach → AttachFetcher}/interfaces/index.d.ts +0 -0
@@ -7,9 +7,9 @@ const Sortable = require('./Sortable-fb1c4cbb.js');
7
7
  const core = require('@sankhyalabs/core');
8
8
  const utils = require('@sankhyalabs/ezui/dist/collection/utils');
9
9
  const constants = require('./constants-35ddd366.js');
10
- const formConfigFetcher = require('./form-config-fetcher-df043d3d.js');
10
+ const formConfigFetcher = require('./form-config-fetcher-9f1a13ca.js');
11
11
  const form = require('@sankhyalabs/ezui/dist/collection/utils/form');
12
- require('./DataFetcher-ba94ed5b.js');
12
+ require('./DataFetcher-99f0f6ed.js');
13
13
  require('./PrintUtils-bcaeb82f.js');
14
14
  require('@sankhyalabs/core/dist/dataunit/metadata/UnitMetadata');
15
15
 
@@ -38,6 +38,7 @@ const SnkFormConfig = class {
38
38
  this._formFieldsStyle = "ez-col ez-col--sd-12 ez-col--tb-4 ez-padding-right--small ez-padding-bottom--medium sc-snk-form-config";
39
39
  this._fieldsAvailableStyle = "ez-col ez-col--sd-12 ez-col--tb-12 ez-margin-bottom--medium ez-margin-right--medium sc-snk-form-config";
40
40
  this._fieldFloatingStyle = "form-config__field-config--dragged";
41
+ this._sortableTimer = 100;
41
42
  this._formConfigOptions = [];
42
43
  this._fieldConfigSelected = undefined;
43
44
  this._layoutFormConfig = undefined;
@@ -52,20 +53,27 @@ const SnkFormConfig = class {
52
53
  this.messagesBuilder = undefined;
53
54
  }
54
55
  observeConfigManager() {
55
- this.loadConfig();
56
+ this.loadConfig(this._sortableTimer);
56
57
  }
57
- loadFields() {
58
+ loadFields(updateTimer = 0) {
58
59
  this._layoutFormConfig = [];
59
- this.buildFields();
60
+ if (updateTimer > 0) {
61
+ setTimeout(() => {
62
+ this.buildFields();
63
+ }, updateTimer);
64
+ }
65
+ else {
66
+ this.buildFields();
67
+ }
60
68
  }
61
69
  buildFields() {
62
70
  this.buildFormConfig();
63
71
  this.buildAvailableFields();
64
72
  }
65
- loadFormConfig() {
73
+ loadFormConfig(updateTimer) {
66
74
  var _a;
67
75
  this._formConfig = this.getConfig();
68
- this.loadFields();
76
+ this.loadFields(updateTimer);
69
77
  this.controlFieldConfig();
70
78
  if (((_a = this._filterFieldsAvailable) === null || _a === void 0 ? void 0 : _a.value) != undefined) {
71
79
  this._filterFieldsAvailable.value = "";
@@ -108,12 +116,12 @@ const SnkFormConfig = class {
108
116
  }
109
117
  }
110
118
  resetChangeConfig() {
111
- this.loadFormConfig();
119
+ this.loadFormConfig(this._sortableTimer);
112
120
  this.clearTempGroups();
113
121
  }
114
122
  resetChangeOptionConfig() {
115
123
  this._formConfigChanged = false;
116
- this.loadConfig();
124
+ this.loadConfig(this._sortableTimer);
117
125
  this.clearTempGroups();
118
126
  }
119
127
  getTabsToSave() {
@@ -328,7 +336,9 @@ const SnkFormConfig = class {
328
336
  && oldContainer.id === newContainer.id) {
329
337
  evt.cancel();
330
338
  this._fieldsAvailable = [];
331
- this.buildAvailableFields();
339
+ setTimeout(() => {
340
+ this.buildAvailableFields();
341
+ }, this._sortableTimer);
332
342
  return true;
333
343
  }
334
344
  return false;
@@ -371,7 +381,11 @@ const SnkFormConfig = class {
371
381
  if (isNewGroup) {
372
382
  this.clearTempGroups(true);
373
383
  }
374
- this.updateFieldsToSave();
384
+ const sortableTimer = oldContainer.dataset.groupName !== newContainer.dataset.groupName
385
+ || (newContainer.id === CONTAINER_ID.withoutGroup && oldContainer.id === CONTAINER_ID.fieldsAvailable)
386
+ ? this._sortableTimer
387
+ : 0;
388
+ this.updateFieldsToSave(sortableTimer);
375
389
  }, this._renderTimer);
376
390
  return true;
377
391
  }
@@ -401,12 +415,12 @@ const SnkFormConfig = class {
401
415
  return;
402
416
  }
403
417
  }
404
- updateFieldsToSave() {
418
+ updateFieldsToSave(updateTimer = 0) {
405
419
  const fields = this.getFieldsToSave();
406
420
  if ((fields === null || fields === void 0 ? void 0 : fields.length) > 0) {
407
421
  this._formConfig.fields = fields;
408
422
  }
409
- this.loadFields();
423
+ this.loadFields(updateTimer);
410
424
  this._formConfigChanged = true;
411
425
  }
412
426
  controlSortableField() {
@@ -436,7 +450,7 @@ const SnkFormConfig = class {
436
450
  controlStopDraggingGroup(evt) {
437
451
  if (evt.data.newIndex !== evt.data.oldIndex) {
438
452
  setTimeout(() => {
439
- this.updateFieldsToSave();
453
+ this.updateFieldsToSave(this._sortableTimer);
440
454
  }, this._renderTimer);
441
455
  }
442
456
  }
@@ -509,7 +523,7 @@ const SnkFormConfig = class {
509
523
  });
510
524
  if (tabs.length > 0) {
511
525
  this._formConfig.tabs = tabs;
512
- this.loadFields();
526
+ this.loadFields(this._sortableTimer);
513
527
  this.controlFieldConfig();
514
528
  this._formConfigChanged = true;
515
529
  }
@@ -533,13 +547,13 @@ const SnkFormConfig = class {
533
547
  if (config != undefined) {
534
548
  this._formConfig = config;
535
549
  this._tabSelected = 1;
536
- this.loadFields();
550
+ this.loadFields(this._sortableTimer);
537
551
  this.controlFieldConfig();
538
552
  this.clearTempGroups();
539
553
  }
540
554
  }
541
- loadConfig() {
542
- this.loadFormConfig();
555
+ loadConfig(updateTimer = 0) {
556
+ this.loadFormConfig(updateTimer);
543
557
  this.loadUserConfig();
544
558
  }
545
559
  addNewGroup() {
@@ -580,7 +594,7 @@ const SnkFormConfig = class {
580
594
  });
581
595
  }
582
596
  else {
583
- this.updateFieldsToSave();
597
+ this.updateFieldsToSave(this._sortableTimer);
584
598
  }
585
599
  }
586
600
  checkGroupExists(newLabel, indexGroup, isTempGroup = false) {
@@ -626,7 +640,7 @@ const SnkFormConfig = class {
626
640
  field.group = newLabel;
627
641
  }
628
642
  });
629
- this.loadFields();
643
+ this.loadFields(this._sortableTimer);
630
644
  this.controlFieldConfig();
631
645
  this._formConfigChanged = true;
632
646
  }
@@ -840,14 +854,14 @@ const SnkFormConfig = class {
840
854
  this._formConfigChanged = true;
841
855
  this.resetSortables();
842
856
  }
843
- controlRemoveFieldConfig(fieldConfig) {
857
+ controlRemoveFieldConfig(fieldConfig, updateTimer) {
844
858
  var _a;
845
859
  this._formConfigChanged = false;
846
860
  if (fieldConfig == undefined) {
847
861
  return;
848
862
  }
849
863
  this._formConfig.fields = (_a = this._formConfig.fields) === null || _a === void 0 ? void 0 : _a.filter((field) => field.name !== fieldConfig.name);
850
- this.loadFields();
864
+ this.loadFields(updateTimer);
851
865
  this.controlFieldConfig();
852
866
  this._formConfigChanged = true;
853
867
  this.resetSortables();
@@ -856,14 +870,14 @@ const SnkFormConfig = class {
856
870
  this.controlSortableField();
857
871
  this.controlSortableGroup();
858
872
  }
859
- handleFieldConfigChange(evt) {
873
+ handleFieldConfigChange(evt, updateTimer = 0) {
860
874
  const { field: fieldConfig, type: actionType } = evt.detail;
861
875
  if (actionType === constants.ACTION_CONFIG.configuration) {
862
876
  this.controlFieldConfig(fieldConfig);
863
877
  return;
864
878
  }
865
879
  if (actionType === constants.ACTION_CONFIG.remove) {
866
- this.controlRemoveFieldConfig(fieldConfig);
880
+ this.controlRemoveFieldConfig(fieldConfig, updateTimer);
867
881
  return;
868
882
  }
869
883
  if (actionType === constants.ACTION_CONFIG.add) {
@@ -884,7 +898,7 @@ const SnkFormConfig = class {
884
898
  tab.label = newLabel;
885
899
  }
886
900
  });
887
- this.loadFields();
901
+ this.loadFields(this._sortableTimer);
888
902
  this.controlFieldConfig();
889
903
  this._formConfigChanged = true;
890
904
  }
@@ -904,7 +918,7 @@ const SnkFormConfig = class {
904
918
  this._formConfig.tabs = (_a = this._formConfig.tabs) === null || _a === void 0 ? void 0 : _a.filter((tab) => {
905
919
  return tab.label !== tabSelected.detail.label;
906
920
  });
907
- this.loadFields();
921
+ this.loadFields(this._sortableTimer);
908
922
  this.controlFieldConfig();
909
923
  this._formConfigChanged = true;
910
924
  }
@@ -917,7 +931,7 @@ const SnkFormConfig = class {
917
931
  tab.visible = !tab.visible;
918
932
  }
919
933
  });
920
- this.loadFields();
934
+ this.loadFields(this._sortableTimer);
921
935
  this.controlFieldConfig();
922
936
  this._formConfigChanged = true;
923
937
  }
@@ -942,6 +956,12 @@ const SnkFormConfig = class {
942
956
  this.controlSortableField();
943
957
  this.controlSortableGroup();
944
958
  }
959
+ async componentWillRender() {
960
+ if (this.messagesBuilder == undefined) {
961
+ const application = core.ApplicationContext.getContextValue("__SNK__APPLICATION__");
962
+ this.messagesBuilder = application.messagesBuilder;
963
+ }
964
+ }
945
965
  componentWillLoad() {
946
966
  this.loadConfig();
947
967
  }
@@ -4,11 +4,11 @@ Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-f9e81701.js');
6
6
  const core = require('@sankhyalabs/core');
7
- const SnkFormConfigManager = require('./SnkFormConfigManager-71c4768e.js');
7
+ const SnkFormConfigManager = require('./SnkFormConfigManager-6211fb28.js');
8
8
  const ResourceIDUtils = require('./ResourceIDUtils-5ff86aa7.js');
9
- require('./ConfigStorage-302bbbd4.js');
10
- require('./form-config-fetcher-df043d3d.js');
11
- require('./DataFetcher-ba94ed5b.js');
9
+ require('./ConfigStorage-34be11ce.js');
10
+ require('./form-config-fetcher-9f1a13ca.js');
11
+ require('./DataFetcher-99f0f6ed.js');
12
12
  require('./PrintUtils-bcaeb82f.js');
13
13
  require('@sankhyalabs/core/dist/dataunit/metadata/UnitMetadata');
14
14
  require('./filter-item-type.enum-a7ffdaa6.js');
@@ -28,6 +28,7 @@ const SnkForm = class {
28
28
  this.configName = undefined;
29
29
  this.recordsValidator = undefined;
30
30
  this.messagesBuilder = undefined;
31
+ this.formLegacyConfigName = undefined;
31
32
  this.resourceID = undefined;
32
33
  }
33
34
  /**
@@ -75,8 +76,14 @@ const SnkForm = class {
75
76
  this.resourceID = await ResourceIDUtils.ResourceIDUtils.getResourceID();
76
77
  }
77
78
  this._configManager = new SnkFormConfigManager.SnkFormConfigManager(this.configName, this.resourceID);
79
+ this.addFormLegacyConfig();
78
80
  this._configManager.loadConfig();
79
81
  }
82
+ addFormLegacyConfig() {
83
+ if (this.formLegacyConfigName) {
84
+ this._configManager.addFormLegacyConfig(this.formLegacyConfigName);
85
+ }
86
+ }
80
87
  render() {
81
88
  if (!this._dataUnit || !this._dataState) {
82
89
  return undefined;
@@ -5,20 +5,23 @@ Object.defineProperty(exports, '__esModule', { value: true });
5
5
  const index = require('./index-f9e81701.js');
6
6
  const core = require('@sankhyalabs/core');
7
7
  const UnitMetadata = require('@sankhyalabs/core/dist/dataunit/metadata/UnitMetadata');
8
- const taskbarElements = require('./taskbar-elements-01b85b99.js');
9
- const ConfigStorage = require('./ConfigStorage-302bbbd4.js');
8
+ const taskbarElements = require('./taskbar-elements-3ecd1278.js');
9
+ const ConfigStorage = require('./ConfigStorage-34be11ce.js');
10
10
  const index$1 = require('./index-0922807b.js');
11
11
  const fieldSearch = require('./field-search-f56aa7d6.js');
12
12
  const index$2 = require('./index-102ba62d.js');
13
- const SnkMultiSelectionListDataSource = require('./SnkMultiSelectionListDataSource-ba5838c2.js');
13
+ const SnkMultiSelectionListDataSource = require('./SnkMultiSelectionListDataSource-5213120b.js');
14
14
  const DataUnit = require('@sankhyalabs/core/dist/dataunit/DataUnit');
15
- require('./form-config-fetcher-df043d3d.js');
16
- require('./DataFetcher-ba94ed5b.js');
17
- require('./PrintUtils-bcaeb82f.js');
15
+ require('./DataFetcher-99f0f6ed.js');
16
+ require('./pesquisa-fetcher-94f6b316.js');
17
+ require('./ISave-e91b70a7.js');
18
+ require('@sankhyalabs/ezui/dist/collection/utils/constants');
18
19
  require('./filter-item-type.enum-a7ffdaa6.js');
20
+ require('./form-config-fetcher-9f1a13ca.js');
19
21
  require('@sankhyalabs/ezui/dist/collection/components/ez-grid/utils/InMemoryFilterColumnDataSource');
20
- require('./PreloadManager-84466da6.js');
22
+ require('./PrintUtils-bcaeb82f.js');
21
23
  require('@sankhyalabs/ezui/dist/collection/components/ez-grid/utils');
24
+ require('./ResourceIDUtils-5ff86aa7.js');
22
25
 
23
26
  const snkGridCss = ".sc-snk-grid-h{--snk-grid-min-height:300px}.snk-grid__container.sc-snk-grid{display:flex;height:100%;width:100%}.snk-grid__header.sc-snk-grid{width:100%;display:flex;flex-wrap:nowrap;justify-content:flex-end}.snk-grid__filter-bar.sc-snk-grid{width:100%}.snk-grid__header-divider.sc-snk-grid{margin-bottom:var(--space--medium)}.snk-grid__table.sc-snk-grid{min-height:var(--snk-grid-min-height)}.snk-grid-container__without-shadow.sc-snk-grid{--ezgrid__container--shadow:unset}";
24
27
 
@@ -53,6 +56,7 @@ const SnkGrid = class {
53
56
  this._showSnkFilterBar = true;
54
57
  this.columnFilterDataSource = new SnkMultiSelectionListDataSource.SnkMultiSelectionListDataSource();
55
58
  this.configName = undefined;
59
+ this.filterBarTitle = undefined;
56
60
  this.resourceID = undefined;
57
61
  this.selectionToastConfig = undefined;
58
62
  this.actionsList = undefined;
@@ -68,6 +72,9 @@ const SnkGrid = class {
68
72
  this.taskbarCustomContainerId = undefined;
69
73
  this.gridHeaderCustomSlotId = 'GRID_HEADER_CUSTOM_ELEMENTS';
70
74
  this.topTaskbarCustomSlotId = 'GRID_TASKBAR_CUSTOM_ELEMENTS';
75
+ this.disablePersonalizedFilter = undefined;
76
+ this.gridLegacyConfigName = undefined;
77
+ this.filterBarLegacyConfigName = undefined;
71
78
  }
72
79
  /**
73
80
  * Exibe a janela de configurações da grade.
@@ -112,6 +119,16 @@ const SnkGrid = class {
112
119
  async findColumn() {
113
120
  await fieldSearch.openFieldSearch(this._moreOptions, this._columnSearch);
114
121
  }
122
+ async handleGridLegacyConfigName(newLegacyConfig, oldLegacyConfig) {
123
+ if (!newLegacyConfig) {
124
+ return;
125
+ }
126
+ if (newLegacyConfig === oldLegacyConfig) {
127
+ return;
128
+ }
129
+ this.addGridLegacyConfigName();
130
+ this.loadConfig();
131
+ }
115
132
  openGridConfig() {
116
133
  this._grid.getColumnsState()
117
134
  .then((gridColumns) => {
@@ -125,19 +142,7 @@ const SnkGrid = class {
125
142
  }
126
143
  setGridConfig(config) {
127
144
  this._gridConfig = config;
128
- this.assertDefaultSorting();
129
- }
130
- assertDefaultSorting() {
131
- if (this._gridConfig && this._dataUnit) {
132
- this._dataUnit.defaultSorting = this._gridConfig
133
- .columns
134
- .filter(col => col.ascending != undefined)
135
- .sort((colA, colB) => colA.orderIndex - colB.orderIndex)
136
- .map(({ name: field, ascending }) => {
137
- const { dataType } = this._dataUnit.getField(field);
138
- return { field, dataType, mode: ascending ? UnitMetadata.SortMode.ASC : UnitMetadata.SortMode.DESC };
139
- });
140
- }
145
+ SnkMultiSelectionListDataSource.CrudUtils.assertDefaultSorting(this._gridConfig, this._dataUnit);
141
146
  }
142
147
  loadConfig() {
143
148
  ConfigStorage.ConfigStorage.loadGridConfig(this.configName, this.resourceID)
@@ -148,6 +153,11 @@ const SnkGrid = class {
148
153
  console.warn(error);
149
154
  });
150
155
  }
156
+ addGridLegacyConfigName() {
157
+ if (this.gridLegacyConfigName && this.configName) {
158
+ ConfigStorage.ConfigStorage.addGridLegacyConfig(this.configName, this.gridLegacyConfigName);
159
+ }
160
+ }
151
161
  gridConfigChangeHandler(evt) {
152
162
  const config = evt.detail;
153
163
  ConfigStorage.ConfigStorage.saveGridConfig(config, this.configName, this.resourceID);
@@ -263,7 +273,7 @@ const SnkGrid = class {
263
273
  core.ElementIDUtils.addIDInfo(this._element, null, dataInfo);
264
274
  }
265
275
  finshLoading() {
266
- this.assertDefaultSorting();
276
+ SnkMultiSelectionListDataSource.CrudUtils.assertDefaultSorting(this._gridConfig, this._dataUnit);
267
277
  this.addElementID();
268
278
  if (this.columnFilterDataSource != undefined) {
269
279
  this.columnFilterDataSource.setApplication(this._application);
@@ -272,6 +282,7 @@ const SnkGrid = class {
272
282
  }
273
283
  componentWillLoad() {
274
284
  this._application = core.ApplicationContext.getContextValue("__SNK__APPLICATION__");
285
+ //TODO: substituir pelo metodo nativo closest
275
286
  let parent = this._element.parentElement;
276
287
  while (parent) {
277
288
  if (parent.tagName.toUpperCase() === "SNK-DATA-UNIT") {
@@ -301,6 +312,7 @@ const SnkGrid = class {
301
312
  }
302
313
  parent = parent.parentElement;
303
314
  }
315
+ this.addGridLegacyConfigName();
304
316
  this.loadConfig();
305
317
  }
306
318
  getHeaderDisabledButtons() {
@@ -410,14 +422,20 @@ const SnkGrid = class {
410
422
  }
411
423
  this._showSnkFilterBar = true;
412
424
  }
425
+ getConfig() {
426
+ return this._gridConfig == undefined ? undefined : Object.assign({}, this._gridConfig);
427
+ }
413
428
  render() {
414
429
  if (!this._dataUnit) {
415
430
  return undefined;
416
431
  }
417
432
  return (index.h("div", { class: "snk-grid__container ez-flex ez-flex--column ez-flex-item--auto ez-padding--large" }, index.h("div", { class: "snk-grid__header ez-margin-bottom--medium" }, this._showSnkFilterBar &&
418
- index.h(index.Fragment, null, index.h("snk-filter-bar", { ref: (ref) => this._snkFilterBar = ref, dataUnit: this._dataUnit, "data-element-id": "gridFilter", class: "snk-grid__filter-bar ez-align--top", configName: this.configName, messagesBuilder: this.messagesBuilder, resourceID: this.resourceID, onConfigUpdated: evt => this.handleFilterConfigUpdated(evt.detail) }), index.h("hr", { class: "ez-divider-vertical ez-divider--dark ez-margin-left--medium snk-grid__header-divider" })), index.h("snk-taskbar", { class: "ez-padding-left--medium", "data-element-id": "grid_top", key: "topTaskbar", configName: this.configName, dataUnit: this._dataUnit, messagesBuilder: this.messagesBuilder, buttons: this._topTaskbarProcessor.buttons, disabledButtons: this._topTaskbarProcessor.disabledButtons, customButtons: this._topTaskbarProcessor.customButtons, primaryButton: this.getPrimaryButton(), resourceID: this.resourceID, customContainerId: this.taskbarCustomContainerId, customSlotId: this.topTaskbarCustomSlotId }, index.h("slot", { name: this.topTaskbarCustomSlotId }))), index.h("ez-grid", { ref: ref => this._grid = ref, class: (this.presentationMode === index$1.PresentationMode.SECONDARY ? "snk-grid-container__without-shadow " : "") + "snk-grid__table", "data-element-id": "embedded", dataUnit: this._dataUnit, key: "grid-" + this._snkDataUnit.entityName, config: this._gridConfig, onConfigChange: (evt) => { this.gridConfigChangeHandler(evt); }, onEzDoubleClick: (evt) => this.gridDoubleClick.emit(evt.detail), statusResolver: this.statusResolver, multipleSelection: this.multipleSelection, columnfilterDataSource: this.columnFilterDataSource, selectionToastConfig: this.selectionToastConfig, useEnterLikeTab: this.useEnterLikeTab, recordsValidator: this.recordsValidator, canEdit: this.canEdit }, index.h("snk-taskbar", { dataUnit: this._dataUnit, configName: this.configName, messagesBuilder: this.messagesBuilder, "data-element-id": "grid_left", buttons: this._headerTaskbarProcessor.buttons, presentationMode: this.presentationMode, disabledButtons: this._headerTaskbarProcessor.disabledButtons, customButtons: this._headerTaskbarProcessor.customButtons, slot: "leftButtons", actionsList: this.getActionsList(), primaryButton: this.getPrimaryButton(), resourceID: this.resourceID, customContainerId: this.taskbarCustomContainerId, customSlotId: this.gridHeaderCustomSlotId }, index.h("slot", { name: this.gridHeaderCustomSlotId }))), index.h("div", { class: "ez-col ez-col--sd-12" }, index.h("slot", { name: "SnkGridFooter" })), index.h("ez-modal", { modalSize: "small", closeEsc: false, closeOutsideClick: false, opened: this._popUpGridConfig, onEzCloseModal: () => this.closeGridConfig() }, index.h("snk-grid-config", { ref: ref => this._snkGridConfig = ref, config: this._gridConfig, "data-element-id": this._element.getAttribute(core.ElementIDUtils.DATA_ELEMENT_ID_ATTRIBUTE_NAME), application: this._application, selectedIndex: 0, configName: this.configName, onConfigChange: (evt) => this.modalConfigChangeHandler(evt), onConfigCancel: () => this.closeGridConfig(), resourceID: this.resourceID }))));
433
+ index.h(index.Fragment, null, index.h("snk-filter-bar", { ref: (ref) => this._snkFilterBar = ref, title: this.filterBarTitle, dataUnit: this._dataUnit, "data-element-id": "gridFilter", class: "snk-grid__filter-bar ez-align--top", configName: this.configName, messagesBuilder: this.messagesBuilder, resourceID: this.resourceID, onConfigUpdated: evt => this.handleFilterConfigUpdated(evt.detail), disablePersonalizedFilter: this.disablePersonalizedFilter, filterBarLegacyConfigName: this.filterBarLegacyConfigName }), index.h("hr", { class: "ez-divider-vertical ez-divider--dark ez-margin-left--medium snk-grid__header-divider" })), index.h("snk-taskbar", { class: "ez-padding-left--medium", "data-element-id": "grid_top", key: "topTaskbar", configName: this.configName, dataUnit: this._dataUnit, messagesBuilder: this.messagesBuilder, buttons: this._topTaskbarProcessor.buttons, disabledButtons: this._topTaskbarProcessor.disabledButtons, customButtons: this._topTaskbarProcessor.customButtons, primaryButton: this.getPrimaryButton(), resourceID: this.resourceID, customContainerId: this.taskbarCustomContainerId, customSlotId: this.topTaskbarCustomSlotId, overflowStrategy: 'none' }, index.h("slot", { name: this.topTaskbarCustomSlotId }))), index.h("ez-grid", { ref: ref => this._grid = ref, class: (this.presentationMode === index$1.PresentationMode.SECONDARY ? "snk-grid-container__without-shadow " : "") + "snk-grid__table", "data-element-id": "embedded", dataUnit: this._dataUnit, key: "grid-" + this._snkDataUnit.entityName, config: this.getConfig(), onConfigChange: (evt) => { this.gridConfigChangeHandler(evt); }, onEzDoubleClick: (evt) => this.gridDoubleClick.emit(evt.detail), statusResolver: this.statusResolver, multipleSelection: this.multipleSelection, columnfilterDataSource: this.columnFilterDataSource, selectionToastConfig: this.selectionToastConfig, useEnterLikeTab: this.useEnterLikeTab, recordsValidator: this.recordsValidator, canEdit: this.canEdit }, index.h("snk-taskbar", { id: 'teste', dataUnit: this._dataUnit, configName: this.configName, messagesBuilder: this.messagesBuilder, "data-element-id": "grid_left", buttons: this._headerTaskbarProcessor.buttons, presentationMode: this.presentationMode, disabledButtons: this._headerTaskbarProcessor.disabledButtons, customButtons: this._headerTaskbarProcessor.customButtons, slot: "leftButtons", actionsList: this.getActionsList(), primaryButton: this.getPrimaryButton(), resourceID: this.resourceID, customContainerId: this.taskbarCustomContainerId, customSlotId: this.gridHeaderCustomSlotId }, index.h("slot", { name: this.gridHeaderCustomSlotId }))), index.h("div", { class: "ez-col ez-col--sd-12" }, index.h("slot", { name: "SnkGridFooter" })), index.h("ez-modal", { modalSize: "small", closeEsc: false, closeOutsideClick: false, opened: this._popUpGridConfig, onEzCloseModal: () => this.closeGridConfig() }, index.h("snk-grid-config", { ref: ref => this._snkGridConfig = ref, config: this._gridConfig, "data-element-id": this._element.getAttribute(core.ElementIDUtils.DATA_ELEMENT_ID_ATTRIBUTE_NAME), selectedIndex: 0, configName: this.configName, onConfigChange: (evt) => this.modalConfigChangeHandler(evt), onConfigCancel: () => this.closeGridConfig(), resourceID: this.resourceID }))));
419
434
  }
420
435
  get _element() { return index.getElement(this); }
436
+ static get watchers() { return {
437
+ "gridLegacyConfigName": ["handleGridLegacyConfigName"]
438
+ }; }
421
439
  };
422
440
  SnkGrid.style = snkGridCss;
423
441
 
@@ -2,24 +2,22 @@
2
2
 
3
3
  const index = require('./index-f9e81701.js');
4
4
  const core = require('@sankhyalabs/core');
5
- const SnkFormConfigManager = require('./SnkFormConfigManager-71c4768e.js');
5
+ const SnkFormConfigManager = require('./SnkFormConfigManager-6211fb28.js');
6
6
  const form = require('@sankhyalabs/ezui/dist/collection/utils/form');
7
7
  const fieldSearch = require('./field-search-f56aa7d6.js');
8
- const taskbarElements = require('./taskbar-elements-01b85b99.js');
8
+ const taskbarElements = require('./taskbar-elements-3ecd1278.js');
9
9
  const constants = require('./constants-35ddd366.js');
10
- require('./DataFetcher-ba94ed5b.js');
11
- require('./pesquisa-fetcher-ef050a47.js');
10
+ require('./DataFetcher-99f0f6ed.js');
11
+ require('./pesquisa-fetcher-94f6b316.js');
12
12
  const index$1 = require('./index-0922807b.js');
13
- require('./ISave-d68ce3cd.js');
13
+ require('./ISave-e91b70a7.js');
14
14
  require('@sankhyalabs/ezui/dist/collection/utils/constants');
15
15
  require('@sankhyalabs/core/dist/dataunit/metadata/UnitMetadata');
16
- require('./dataunit-fetcher-353e4af2.js');
17
- require('./PreloadManager-84466da6.js');
18
16
  require('./filter-item-type.enum-a7ffdaa6.js');
19
- require('./form-config-fetcher-df043d3d.js');
17
+ require('./form-config-fetcher-9f1a13ca.js');
20
18
  const DataUnit = require('@sankhyalabs/core/dist/dataunit/DataUnit');
21
19
 
22
- const snkGuidesViewerCss = ".sc-snk-guides-viewer-h{--snk-guides-viewer--space-large:var(--space--large, 24px);--snk-guides-viewer--space-medium:var(--space--medium, 12px);--snk-guides-viewer__header--min-height:94px;--snk-guides-viewer__header--z-index:var(--more-visible, 2);--snk-guides-viewer__header--background-color:var(--background--body, #fafcff);--snk-guides-viewer__guide-navigator--width:340px;display:block}snk-form-view.sc-snk-guides-viewer{width:100%}.snk-guides-viewer.sc-snk-guides-viewer{position:relative;padding-left:0px;padding-top:0px;padding-right:var(--snk-guides-viewer--space-large);padding-bottom:var(--snk-guides-viewer--space-large)}.snk-guides-viewer__detail-container.sc-snk-guides-viewer{display:flex;row-gap:24px;flex-direction:column}.snk-guides-viewer__header.sc-snk-guides-viewer{position:sticky;align-items:center;top:0;z-index:var(--snk-guides-viewer__header--z-index);background-color:var(--snk-guides-viewer__header--background-color);min-height:var(--snk-guides-viewer__header--min-height);width:calc(100% + (var(--snk-guides-viewer--space-large) * 2));padding-left:var(--snk-guides-viewer--space-large);padding-right:var(--snk-guides-viewer--space-large);padding-top:var(--snk-guides-viewer--space-large);padding-bottom:var(--snk-guides-viewer--space-medium);margin-left:calc(var(--snk-guides-viewer--space-large) * -1);margin-right:calc(var(--snk-guides-viewer--space-large) * -1);margin-bottom:var(--snk-guides-viewer--space-medium)}.snk-guides-viewer__container.sc-snk-guides-viewer{display:grid;grid-template-columns:minmax(0, auto) minmax(0, 100%);height:100%;column-gap:var(--snk-guides-viewer--space-large)}.snk-guides-viewer__guide-navigator.sc-snk-guides-viewer{position:sticky;top:calc(var(--snk-guides-viewer__header--min-height) + var(--snk-guides-viewer--space-medium));height:calc(100vh - var(--snk-guides-viewer__header--min-height) - var(--snk-guides-viewer--space-large) - var(--snk-guides-viewer--space-medium))}.snk-guides-viewer__guide-navigator[open].sc-snk-guides-viewer{width:var(--snk-guides-viewer__guide-navigator--width);max-width:var(--snk-guides-viewer__guide-navigator--width);min-width:var(--snk-guides-viewer__guide-navigator--width)}.snk-guides-viewer__detail-content.sc-snk-guides-viewer{min-height:100%;align-items:flex-start;align-content:flex-start}";
20
+ const snkGuidesViewerCss = ".sc-snk-guides-viewer-h{--snk-guides-viewer--space-large:var(--space--large, 24px);--snk-guides-viewer--space-medium:var(--space--medium, 12px);--snk-guides-viewer__header--min-height:94px;--snk-guides-viewer__header--z-index:var(--more-visible, 2);--snk-guides-viewer__header--background-color:var(--background--body, #fafcff);--snk-guides-viewer__guide-navigator--width:340px;display:block}snk-form-view.sc-snk-guides-viewer{width:100%}.snk-guides-viewer.sc-snk-guides-viewer{position:relative;padding-left:0px;padding-top:0px;padding-right:var(--snk-guides-viewer--space-large);padding-bottom:var(--snk-guides-viewer--space-large)}.snk-guides-viewer__detail-container.sc-snk-guides-viewer{display:flex;row-gap:24px;flex-direction:column}.snk-guides-viewer__header.sc-snk-guides-viewer{position:sticky;align-items:center;top:0;z-index:var(--snk-guides-viewer__header--z-index);background-color:var(--snk-guides-viewer__header--background-color);min-height:var(--snk-guides-viewer__header--min-height);width:calc(100% + (var(--snk-guides-viewer--space-large) * 2));padding-left:var(--snk-guides-viewer--space-large);padding-right:var(--snk-guides-viewer--space-large);padding-top:var(--snk-guides-viewer--space-large);padding-bottom:var(--snk-guides-viewer--space-medium);margin-left:calc(var(--snk-guides-viewer--space-large) * -1);margin-right:calc(var(--snk-guides-viewer--space-large) * -1);margin-bottom:var(--snk-guides-viewer--space-medium)}.snk-guides-viewer__header-breadcrumb.sc-snk-guides-viewer{width:25%;display:flex}.snk-guides-viewer__header-taskbar.sc-snk-guides-viewer{width:75%}.snk-guides-viewer__container.sc-snk-guides-viewer{display:grid;grid-template-columns:minmax(0, auto) minmax(0, 100%);height:100%;column-gap:var(--snk-guides-viewer--space-large)}.snk-guides-viewer__guide-navigator.sc-snk-guides-viewer{position:sticky;top:calc(var(--snk-guides-viewer__header--min-height) + var(--snk-guides-viewer--space-medium));height:calc(100vh - var(--snk-guides-viewer__header--min-height) - var(--snk-guides-viewer--space-large) - var(--snk-guides-viewer--space-medium))}.snk-guides-viewer__guide-navigator[open].sc-snk-guides-viewer{width:var(--snk-guides-viewer__guide-navigator--width);max-width:var(--snk-guides-viewer__guide-navigator--width);min-width:var(--snk-guides-viewer__guide-navigator--width)}.snk-guides-viewer__detail-content.sc-snk-guides-viewer{min-height:100%;align-items:flex-start;align-content:flex-start}";
23
21
 
24
22
  const FORM_NAME_PREFIX = "__FORM:";
25
23
  const SnkGuidesViewer = class {
@@ -43,6 +41,7 @@ const SnkGuidesViewer = class {
43
41
  this.presentationMode = undefined;
44
42
  this.resourceID = undefined;
45
43
  this.detailTaskbarCustomContainerId = undefined;
44
+ this.formLegacyConfigName = undefined;
46
45
  this._hasToCreateFieldSearch = true;
47
46
  this._breadcrumbItems = [];
48
47
  this._guides = undefined;
@@ -340,11 +339,17 @@ const SnkGuidesViewer = class {
340
339
  var _a;
341
340
  return this.selectedGuide === undefined || '__main' === ((_a = this.selectedGuide) === null || _a === void 0 ? void 0 : _a.id);
342
341
  }
342
+ addFormLegacyConfigName() {
343
+ if (this.formLegacyConfigName) {
344
+ this._configManager.addFormLegacyConfig(this.formLegacyConfigName);
345
+ }
346
+ }
343
347
  componentWillLoad() {
344
348
  if (this.resourceID == undefined) {
345
349
  throw new Error("Erro interno: resourceID não informado");
346
350
  }
347
351
  this._configManager = new SnkFormConfigManager.SnkFormConfigManager(this.configName, this.resourceID, config => this.masterFormConfig = config);
352
+ this.addFormLegacyConfigName();
348
353
  this._configManager.loadConfig();
349
354
  }
350
355
  componentDidRender() {
@@ -400,7 +405,7 @@ const SnkGuidesViewer = class {
400
405
  }
401
406
  buildTaskBar() {
402
407
  var _a;
403
- return index.h("div", { class: `ez-col ez-flex-item--align-center ez-col--sd-6 ez-col--tb-6 ${this.presentationMode != index$1.PresentationMode.SECONDARY ? 'ez-align--right' : 'ez-padding-bottom--medium'}` }, index.h("snk-taskbar", { key: "guideViewerTaskbar", "data-element-id": "guideViewer", configName: this.configName, buttons: this._taskbarProcessor.buttons, disabledButtons: this._taskbarProcessor.disabledButtons, customButtons: this._taskbarProcessor.customButtons, actionsList: this.getActionsList(), messagesBuilder: this.messagesBuilder, presentationMode: this.presentationMode, primaryButton: ((_a = this.dataState) === null || _a === void 0 ? void 0 : _a.isDirty) ? "SAVE" : "INSERT", "data-taskbar-owner": "master", dataUnit: this.dataUnit, resourceID: this.resourceID, customSlotId: "GUIDES_VIEWER_TASKBAR_CUSTOM_ELEMENTS" }, index.h("slot", { name: "GUIDES_VIEWER_TASKBAR_CUSTOM_ELEMENTS" })));
408
+ return index.h("div", { class: `snk-guides-viewer__header-taskbar ${this.presentationMode != index$1.PresentationMode.SECONDARY ? 'ez-align--right' : 'ez-padding-bottom--medium'}` }, index.h("snk-taskbar", { key: "guideViewerTaskbar", "data-element-id": "guideViewer", configName: this.configName, buttons: this._taskbarProcessor.buttons, disabledButtons: this._taskbarProcessor.disabledButtons, customButtons: this._taskbarProcessor.customButtons, actionsList: this.getActionsList(), messagesBuilder: this.messagesBuilder, presentationMode: this.presentationMode, primaryButton: ((_a = this.dataState) === null || _a === void 0 ? void 0 : _a.isDirty) ? "SAVE" : "INSERT", "data-taskbar-owner": "master", dataUnit: this.dataUnit, resourceID: this.resourceID, customSlotId: "GUIDES_VIEWER_TASKBAR_CUSTOM_ELEMENTS", alignRigth: true }, index.h("slot", { name: "GUIDES_VIEWER_TASKBAR_CUSTOM_ELEMENTS" })));
404
409
  }
405
410
  async dataUnitActionHandler(action) {
406
411
  var _a;
@@ -459,7 +464,7 @@ const SnkGuidesViewer = class {
459
464
  }
460
465
  this.loadTaskbarProcessor();
461
466
  const showGuides = this._guides && (this._guides.length > 1);
462
- return (index.h("section", { class: "snk-guides-viewer" }, index.h("div", { class: "ez-row snk-guides-viewer__header" }, index.h("div", { class: "ez-col ez-col--sd-6 ez-col--tb-6 ez-flex--align-items-center ez-flex-item--align-center ez-padding-left--large", key: "header" }, index.h("ez-button", { onClick: () => this.exitViewer(), title: this.getMessage("snkCrud.goBackTitle"), mode: "icon", iconName: "arrow_back", class: "ez-padding-right--medium", size: "small" }), index.h("div", { class: "ez-flex ez-flex--column ez-flex-item--auto" }, index.h("h1", { class: "ez-title ez-title--primary ez-title--xlarge" }, this.getMessage("snkCrud.title")), ((_a = this._breadcrumbItems) === null || _a === void 0 ? void 0 : _a.length) > 1 &&
467
+ return (index.h("section", { class: "snk-guides-viewer" }, index.h("div", { class: "ez-row snk-guides-viewer__header" }, index.h("div", { class: "snk-guides-viewer__header-breadcrumb ez-flex--align-items-center ez-flex-item--align-center ez-padding-left--large", key: "header" }, index.h("ez-button", { onClick: () => this.exitViewer(), title: this.getMessage("snkCrud.goBackTitle"), mode: "icon", iconName: "arrow_back", class: "ez-padding-right--medium", size: "small" }), index.h("div", { class: "ez-flex ez-flex--column ez-flex-item--auto" }, index.h("h1", { class: "ez-title ez-title--primary ez-title--xlarge" }, this.getMessage("snkCrud.title")), ((_a = this._breadcrumbItems) === null || _a === void 0 ? void 0 : _a.length) > 1 &&
463
468
  index.h("div", { class: "ez-margin-top--extra-small" }, index.h("ez-breadcrumb", Object.assign({ items: this._breadcrumbItems, onSelectedItem: (evt) => this.onBreadcrumbClickHandler(evt === null || evt === void 0 ? void 0 : evt.detail) }, { [core.ElementIDUtils.DATA_ELEMENT_ID_ATTRIBUTE_NAME]: `${core.ElementIDUtils.getInternalIDInfo("breadcrumb")}` }))))), this.presentationMode != index$1.PresentationMode.SECONDARY && this.buildTaskBar()), index.h("div", { class: "snk-guides-viewer__container" }, showGuides ?
464
469
  index.h("ez-guide-navigator", { ref: (ref) => this._guideNavigator = ref, class: "snk-guides-viewer__guide-navigator", items: this._guides, selectedId: this.selectedGuide ? this.selectedGuide.id : undefined, onEzSelectionChange: evt => this.updateSelectedGuideHandler(evt.detail) })
465
470
  :
@@ -2,29 +2,27 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const snkGuidesViewer = require('./snk-guides-viewer-e60ccc5e.js');
5
+ const snkGuidesViewer = require('./snk-guides-viewer-508bb6fe.js');
6
6
  require('./index-f9e81701.js');
7
7
  require('@sankhyalabs/core');
8
- require('./SnkFormConfigManager-71c4768e.js');
9
- require('./ConfigStorage-302bbbd4.js');
10
- require('./form-config-fetcher-df043d3d.js');
11
- require('./DataFetcher-ba94ed5b.js');
8
+ require('./SnkFormConfigManager-6211fb28.js');
9
+ require('./ConfigStorage-34be11ce.js');
10
+ require('./form-config-fetcher-9f1a13ca.js');
11
+ require('./DataFetcher-99f0f6ed.js');
12
12
  require('./PrintUtils-bcaeb82f.js');
13
13
  require('@sankhyalabs/core/dist/dataunit/metadata/UnitMetadata');
14
14
  require('./filter-item-type.enum-a7ffdaa6.js');
15
15
  require('@sankhyalabs/ezui/dist/collection/utils/form');
16
16
  require('./field-search-f56aa7d6.js');
17
- require('./taskbar-elements-01b85b99.js');
17
+ require('./taskbar-elements-3ecd1278.js');
18
18
  require('./index-0922807b.js');
19
19
  require('./index-102ba62d.js');
20
20
  require('./constants-35ddd366.js');
21
- require('./pesquisa-fetcher-ef050a47.js');
22
- require('./ISave-d68ce3cd.js');
21
+ require('./pesquisa-fetcher-94f6b316.js');
23
22
  require('@sankhyalabs/ezui/dist/collection/utils/constants');
24
- require('./dataunit-fetcher-353e4af2.js');
25
- require('./PreloadManager-84466da6.js');
26
23
  require('@sankhyalabs/ezui/dist/collection/components/ez-grid/utils');
27
24
  require('./ResourceIDUtils-5ff86aa7.js');
25
+ require('./ISave-e91b70a7.js');
28
26
  require('@sankhyalabs/core/dist/dataunit/DataUnit');
29
27
 
30
28
 
@@ -67,8 +67,10 @@ const SnkFilterPersonalized = class {
67
67
  return this.presentationMode === presentationMode.EPresentationMode.MODAL;
68
68
  }
69
69
  doSearch(mode, argument, param) {
70
+ const context = Object.assign({}, param.searchContext);
71
+ context.searchOptions = Object.assign(Object.assign({}, context.searchOptions), { showInactives: "true" });
70
72
  return new Promise((resolve, reject) => {
71
- this._application.executePreparedSearch(mode, argument, param.searchContext)
73
+ this._application.executePreparedSearch(mode, argument, context)
72
74
  .then(result => {
73
75
  resolve(result);
74
76
  }).catch(reason => {
@@ -5,13 +5,13 @@ Object.defineProperty(exports, '__esModule', { value: true });
5
5
  const index = require('./index-f9e81701.js');
6
6
  const core = require('@sankhyalabs/core');
7
7
  const PersonalizedFilterUtils = require('./PersonalizedFilterUtils-0184ffbb.js');
8
- const ConfigStorage = require('./ConfigStorage-302bbbd4.js');
8
+ const ConfigStorage = require('./ConfigStorage-34be11ce.js');
9
9
  const utils = require('@sankhyalabs/ezui/dist/collection/utils');
10
10
  const index$1 = require('./index-c5771aba.js');
11
11
  const index$2 = require('./index-102ba62d.js');
12
12
  require('./filter-item-type.enum-a7ffdaa6.js');
13
- require('./form-config-fetcher-df043d3d.js');
14
- require('./DataFetcher-ba94ed5b.js');
13
+ require('./form-config-fetcher-9f1a13ca.js');
14
+ require('./DataFetcher-99f0f6ed.js');
15
15
  require('./PrintUtils-bcaeb82f.js');
16
16
  require('@sankhyalabs/core/dist/dataunit/metadata/UnitMetadata');
17
17
 
@@ -5,7 +5,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
5
5
  const index = require('./index-f9e81701.js');
6
6
  const core = require('@sankhyalabs/core');
7
7
 
8
- const snkPesquisaCss = ".sc-snk-pesquisa-h{--snk-pesquisa--font-size:var(--text--medium, 14px);--snk-pesquisa--font-family:var(--font-pattern, Arial);--snk-pesquisa--font-weight:var(--text-weight--medium, 400);--snk-pesquisa__records--color:var(--text--primary, #626e82);--snk-pesquisa__records--padding-vertical:var(--space--medium, 12px);--snk-pesquisa__content--padding-right:var(--space--small, 6px);--snk-pesquisa__btn--color:var(--title--primary, #2B3A54);--snk-pesquisa__btn-disabled--color:var(--text--disable, #AFB6C0);--snk-pesquisa__btn-hover--color:var(--color--primary, #4e4e4e);--snk-pesquisa__scrollbar--color-default:var(--scrollbar--default, #626e82);--snk-pesquisa__scrollbar--color-background:var(--scrollbar--background, #E5EAF0);--snk-pesquisa__scrollbar--color-hover:var(--scrollbar--hover, #2B3A54);--snk-pesquisa__scrollbar--color-clicked:var(--scrollbar--clicked, #a2abb9);--snk-pesquisa__scrollbar--border-radius:var(--border--radius-small, 6px);--snk-pesquisa__scrollbar--width:var(--space--medium, 12px);max-height:100%;height:100%;display:flex;flex-direction:column;overflow-y:auto}.snk-pesquisa.sc-snk-pesquisa{display:flex;flex-direction:column;height:100%}.snk-pesquisa__input.sc-snk-pesquisa{display:flex;width:100%;box-sizing:border-box;padding-top:4px;padding-right:4px}.snk-pesquisa__input.sc-snk-pesquisa ez-icon.sc-snk-pesquisa{--ez-icon--color:inherit;font-weight:var(--text-weight--large, 600)}.snk-pesquisa__content.sc-snk-pesquisa{display:flex;flex-direction:column;height:100%;overflow-y:auto;scrollbar-width:thin;scrollbar-color:var(--snk-pesquisa__scrollbar--color-clicked) var(--snk-pesquisa__scrollbar--color-background);padding-right:var(--snk-pesquisa__content--padding-right)}.snk-pesquisa__content.sc-snk-pesquisa::-webkit-scrollbar{background-color:var(--snk-pesquisa__scrollbar--color-background);width:var(--snk-pesquisa__scrollbar--width);max-width:var(--snk-pesquisa__scrollbar--width);min-width:var(--snk-pesquisa__scrollbar--width)}.snk-pesquisa__content.sc-snk-pesquisa::-webkit-scrollbar-track{background-color:var(--snk-pesquisa__scrollbar--color-background);border-radius:var(--snk-pesquisa__scrollbar--border-radius)}.snk-pesquisa__content.sc-snk-pesquisa::-webkit-scrollbar-thumb{background-color:var(--snk-pesquisa__scrollbar--color-default);border-radius:var(--snk-pesquisa__scrollbar--border-radius)}.snk-pesquisa__content.sc-snk-pesquisa::-webkit-scrollbar-thumb:vertical:hover,.snk-pesquisa__content.sc-snk-pesquisa::-webkit-scrollbar-thumb:horizontal:hover{background-color:var(--snk-pesquisa__scrollbar--color-hover)}.snk-pesquisa__content.sc-snk-pesquisa::-webkit-scrollbar-thumb:vertical:active,.snk-pesquisa__content.sc-snk-pesquisa::-webkit-scrollbar-thumb:horizontal:active{background-color:var(--snk-pesquisa__scrollbar--color-clicked)}.snk-pesquisa__records.sc-snk-pesquisa{font-family:var(--snk-pesquisa--font-family);font-weight:var(--snk-pesquisa--font-weight);font-size:var(--snk-pesquisa--font-size);color:var(--snk-pesquisa__records--color);padding-bottom:var(--snk-pesquisa__records--padding-vertical);padding-top:var(--snk-pesquisa__records--padding-vertical)}.snk-pesquisa__btn.sc-snk-pesquisa{outline:none;border:none;background:none;cursor:pointer;color:var(--snk-pesquisa__btn--color)}.snk-pesquisa__btn.sc-snk-pesquisa:disabled{cursor:unset;color:var(--snk-pesquisa__btn-disabled--color)}.snk-pesquisa__btn.sc-snk-pesquisa:disabled:hover{cursor:unset;color:var(--snk-pesquisa__btn-disabled--color)}.snk-pesquisa__btn.sc-snk-pesquisa:hover{color:var(--snk-pesquisa__btn-hover--color)}";
8
+ const snkPesquisaCss = ".sc-snk-pesquisa-h{--snk-pesquisa--font-size:var(--text--medium, 14px);--snk-pesquisa--font-family:var(--font-pattern, Arial);--snk-pesquisa--font-weight:var(--text-weight--medium, 400);--snk-pesquisa__records--color:var(--text--primary, #626e82);--snk-pesquisa__records--padding-vertical:var(--space--medium, 12px);--snk-pesquisa__content--padding-right:var(--space--small, 6px);--snk-pesquisa__btn--color:var(--title--primary, #2B3A54);--snk-pesquisa__btn-disabled--color:var(--text--disable, #AFB6C0);--snk-pesquisa__btn-hover--color:var(--color--primary, #4e4e4e);--snk-pesquisa__scrollbar--color-default:var(--scrollbar--default, #626e82);--snk-pesquisa__scrollbar--color-background:var(--scrollbar--background, #E5EAF0);--snk-pesquisa__scrollbar--color-hover:var(--scrollbar--hover, #2B3A54);--snk-pesquisa__scrollbar--color-clicked:var(--scrollbar--clicked, #a2abb9);--snk-pesquisa__scrollbar--border-radius:var(--border--radius-small, 6px);--snk-pesquisa__scrollbar--width:var(--space--medium, 12px);height:100%;display:flex;flex-direction:column;overflow-y:auto}.snk-pesquisa.sc-snk-pesquisa{display:flex;flex-direction:column;height:100%}.snk-pesquisa__input.sc-snk-pesquisa{display:flex;width:100%;box-sizing:border-box;padding-top:4px;padding-right:4px}.snk-pesquisa__input.sc-snk-pesquisa ez-icon.sc-snk-pesquisa{--ez-icon--color:inherit;font-weight:var(--text-weight--large, 600)}.snk-pesquisa__content.sc-snk-pesquisa{display:flex;flex-direction:column;overflow-y:auto;scrollbar-width:thin;scrollbar-color:var(--snk-pesquisa__scrollbar--color-clicked) var(--snk-pesquisa__scrollbar--color-background);padding-right:var(--snk-pesquisa__content--padding-right)}.snk-pesquisa__content.sc-snk-pesquisa::-webkit-scrollbar{background-color:var(--snk-pesquisa__scrollbar--color-background);width:var(--snk-pesquisa__scrollbar--width);max-width:var(--snk-pesquisa__scrollbar--width);min-width:var(--snk-pesquisa__scrollbar--width)}.snk-pesquisa__content.sc-snk-pesquisa::-webkit-scrollbar-track{background-color:var(--snk-pesquisa__scrollbar--color-background);border-radius:var(--snk-pesquisa__scrollbar--border-radius)}.snk-pesquisa__content.sc-snk-pesquisa::-webkit-scrollbar-thumb{background-color:var(--snk-pesquisa__scrollbar--color-default);border-radius:var(--snk-pesquisa__scrollbar--border-radius)}.snk-pesquisa__content.sc-snk-pesquisa::-webkit-scrollbar-thumb:vertical:hover,.snk-pesquisa__content.sc-snk-pesquisa::-webkit-scrollbar-thumb:horizontal:hover{background-color:var(--snk-pesquisa__scrollbar--color-hover)}.snk-pesquisa__content.sc-snk-pesquisa::-webkit-scrollbar-thumb:vertical:active,.snk-pesquisa__content.sc-snk-pesquisa::-webkit-scrollbar-thumb:horizontal:active{background-color:var(--snk-pesquisa__scrollbar--color-clicked)}.snk-pesquisa__records.sc-snk-pesquisa{font-family:var(--snk-pesquisa--font-family);font-weight:var(--snk-pesquisa--font-weight);font-size:var(--snk-pesquisa--font-size);color:var(--snk-pesquisa__records--color);padding-bottom:var(--snk-pesquisa__records--padding-vertical);padding-top:var(--snk-pesquisa__records--padding-vertical)}.snk-pesquisa__btn.sc-snk-pesquisa{outline:none;border:none;background:none;cursor:pointer;color:var(--snk-pesquisa__btn--color)}.snk-pesquisa__btn.sc-snk-pesquisa:disabled{cursor:unset;color:var(--snk-pesquisa__btn-disabled--color)}.snk-pesquisa__btn.sc-snk-pesquisa:disabled:hover{cursor:unset;color:var(--snk-pesquisa__btn-disabled--color)}.snk-pesquisa__btn.sc-snk-pesquisa:hover{color:var(--snk-pesquisa__btn-hover--color)}";
9
9
 
10
10
  const SnkPesquisa = class {
11
11
  constructor(hostRef) {