@sankhyalabs/sankhyablocks 8.16.0-rc.9 → 9.0.0-rc.1

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 (1000) hide show
  1. package/dist/cjs/AuthorizationConfig-79ffae4b.js.gz +0 -0
  2. package/dist/cjs/ClientSideExporterProvider-fe52f7cf.js +383 -0
  3. package/dist/cjs/ClientSideExporterProvider-fe52f7cf.js.gz +0 -0
  4. package/dist/cjs/{ConfigStorage-e49214c6.js → ConfigStorage-6b633b10.js} +2 -2
  5. package/dist/cjs/ConfigStorage-6b633b10.js.gz +0 -0
  6. package/dist/cjs/{DataFetcher-77729a93.js → DataFetcher-875371e9.js} +217 -82
  7. package/dist/cjs/DataFetcher-875371e9.js.gz +0 -0
  8. package/dist/cjs/GetSelectedRecordsIDsInfo-bd50caf1.js.gz +0 -0
  9. package/dist/cjs/IFetchDataExporterParams-e78ec415.js +8 -0
  10. package/dist/cjs/IFetchDataExporterParams-e78ec415.js.gz +0 -0
  11. package/dist/cjs/ISave-e91b70a7.js.gz +0 -0
  12. package/dist/cjs/ParamType-90b440a0.js.gz +0 -0
  13. package/dist/cjs/PersonalizedFilterUtils-0184ffbb.js.gz +0 -0
  14. package/dist/cjs/PrintUtils-bcaeb82f.js.gz +0 -0
  15. package/dist/cjs/ResourceIDUtils-5ff86aa7.js.gz +0 -0
  16. package/dist/cjs/{SnkFormConfigManager-beebf47a.js → SnkFormConfigManager-d680be08.js} +75 -17
  17. package/dist/cjs/SnkFormConfigManager-d680be08.js.gz +0 -0
  18. package/dist/cjs/{SnkMessageBuilder-cceebbae.js → SnkMessageBuilder-bae64d0d.js} +5 -1
  19. package/dist/cjs/SnkMessageBuilder-bae64d0d.js.gz +0 -0
  20. package/dist/cjs/Sortable-fb1c4cbb.js.gz +0 -0
  21. package/dist/cjs/{auth-fetcher-29bb791c.js → auth-fetcher-24ba4135.js} +1 -1
  22. package/dist/cjs/auth-fetcher-24ba4135.js.gz +0 -0
  23. package/dist/cjs/{constants-35ddd366.js → constants-241934b3.js} +9 -0
  24. package/dist/cjs/constants-241934b3.js.gz +0 -0
  25. package/dist/cjs/{dataunit-fetcher-d4873076.js → dataunit-fetcher-b95768e8.js} +214 -168
  26. package/dist/cjs/dataunit-fetcher-b95768e8.js.gz +0 -0
  27. package/dist/cjs/{field-search-f56aa7d6.js → field-search-68e34bf4.js} +5 -1
  28. package/dist/cjs/field-search-68e34bf4.js.gz +0 -0
  29. package/dist/cjs/filter-item-type.enum-a7ffdaa6.js.gz +0 -0
  30. package/dist/cjs/filter-type.enum-b14ce507.js.gz +0 -0
  31. package/dist/cjs/filterNumberVariation-d65332da.js.gz +0 -0
  32. package/dist/cjs/{form-config-fetcher-feb08214.js → form-config-fetcher-e0a512c3.js} +42 -2
  33. package/dist/cjs/form-config-fetcher-e0a512c3.js.gz +0 -0
  34. package/dist/cjs/index-8d94b7e0.js.gz +0 -0
  35. package/dist/cjs/{index-102ba62d.js → index-ab1cfb44.js} +3 -4
  36. package/dist/cjs/index-ab1cfb44.js.gz +0 -0
  37. package/dist/cjs/index-c5771aba.js.gz +0 -0
  38. package/dist/cjs/{index-1dfc7a6e.js → index-e3e39724.js} +5 -0
  39. package/dist/cjs/index-e3e39724.js.gz +0 -0
  40. package/dist/cjs/index-f9e81701.js +16 -32
  41. package/dist/cjs/index-f9e81701.js.gz +0 -0
  42. package/dist/cjs/index.cjs.js.gz +0 -0
  43. package/dist/cjs/loader.cjs.js +1 -1
  44. package/dist/cjs/loader.cjs.js.gz +0 -0
  45. package/dist/cjs/pesquisa-fetcher-30cab386.js +365 -0
  46. package/dist/cjs/pesquisa-fetcher-30cab386.js.gz +0 -0
  47. package/dist/cjs/pesquisa-grid_2.cjs.entry.js +156 -0
  48. package/dist/cjs/pesquisa-grid_2.cjs.entry.js.gz +0 -0
  49. package/dist/cjs/presentationMode-52ec3bdd.js.gz +0 -0
  50. package/dist/cjs/sankhyablocks.cjs.js +1 -1
  51. package/dist/cjs/sankhyablocks.cjs.js.gz +0 -0
  52. package/dist/cjs/{snk-actions-button_4.cjs.entry.js → snk-actions-button_5.cjs.entry.js} +127 -34
  53. package/dist/cjs/snk-actions-button_5.cjs.entry.js.gz +0 -0
  54. package/dist/cjs/snk-actions-form.cjs.entry.js.gz +0 -0
  55. package/dist/cjs/snk-application.cjs.entry.js +303 -71
  56. package/dist/cjs/snk-application.cjs.entry.js.gz +0 -0
  57. package/dist/cjs/snk-attach.cjs.entry.js +92 -50
  58. package/dist/cjs/snk-attach.cjs.entry.js.gz +0 -0
  59. package/dist/cjs/snk-client-confirm.cjs.entry.js.gz +0 -0
  60. package/dist/cjs/{snk-form-config.cjs.entry.js → snk-config-options_3.cjs.entry.js} +399 -13
  61. package/dist/cjs/snk-config-options_3.cjs.entry.js.gz +0 -0
  62. package/dist/cjs/snk-configurator.cjs.entry.js +2 -2
  63. package/dist/cjs/snk-configurator.cjs.entry.js.gz +0 -0
  64. package/dist/cjs/snk-crud.cjs.entry.js +28 -23
  65. package/dist/cjs/snk-crud.cjs.entry.js.gz +0 -0
  66. package/dist/cjs/snk-custom-slot-elements.cjs.entry.js.gz +0 -0
  67. package/dist/cjs/snk-data-exporter.cjs.entry.js +35 -26
  68. package/dist/cjs/snk-data-exporter.cjs.entry.js.gz +0 -0
  69. package/dist/cjs/{snk-data-unit-486c7ac4.js → snk-data-unit-33937ffe.js} +53 -29
  70. package/dist/cjs/snk-data-unit-33937ffe.js.gz +0 -0
  71. package/dist/cjs/snk-data-unit.cjs.entry.js +4 -4
  72. package/dist/cjs/snk-data-unit.cjs.entry.js.gz +0 -0
  73. package/dist/cjs/snk-detail-view.cjs.entry.js +15 -15
  74. package/dist/cjs/snk-detail-view.cjs.entry.js.gz +0 -0
  75. package/dist/cjs/snk-entity-list.cjs.entry.js.gz +0 -0
  76. package/dist/cjs/snk-exporter-email-sender.cjs.entry.js.gz +0 -0
  77. package/dist/cjs/snk-expression-group_2.cjs.entry.js +1 -1
  78. package/dist/cjs/snk-expression-group_2.cjs.entry.js.gz +0 -0
  79. package/dist/cjs/snk-field-config.cjs.entry.js +1 -1
  80. package/dist/cjs/snk-field-config.cjs.entry.js.gz +0 -0
  81. package/dist/cjs/snk-filter-advanced-mode_2.cjs.entry.js.gz +0 -0
  82. package/dist/cjs/snk-filter-bar_4.cjs.entry.js +1438 -0
  83. package/dist/cjs/snk-filter-bar_4.cjs.entry.js.gz +0 -0
  84. package/dist/cjs/snk-filter-binary-select.cjs.entry.js +1 -1
  85. package/dist/cjs/snk-filter-binary-select.cjs.entry.js.gz +0 -0
  86. package/dist/cjs/snk-filter-checkbox-list.cjs.entry.js +1 -1
  87. package/dist/cjs/snk-filter-checkbox-list.cjs.entry.js.gz +0 -0
  88. package/dist/cjs/snk-filter-detail.cjs.entry.js.gz +0 -0
  89. package/dist/cjs/snk-filter-field-search_2.cjs.entry.js.gz +0 -0
  90. package/dist/cjs/snk-filter-modal-item.cjs.entry.js +3 -3
  91. package/dist/cjs/snk-filter-modal-item.cjs.entry.js.gz +0 -0
  92. package/dist/cjs/snk-filter-multi-select.cjs.entry.js.gz +0 -0
  93. package/dist/cjs/snk-filter-number.cjs.entry.js +1 -1
  94. package/dist/cjs/snk-filter-number.cjs.entry.js.gz +0 -0
  95. package/dist/cjs/snk-filter-period.cjs.entry.js.gz +0 -0
  96. package/dist/cjs/snk-filter-search.cjs.entry.js.gz +0 -0
  97. package/dist/cjs/snk-filter-text.cjs.entry.js +2 -1
  98. package/dist/cjs/snk-filter-text.cjs.entry.js.gz +0 -0
  99. package/dist/cjs/snk-form-summary.cjs.entry.js.gz +0 -0
  100. package/dist/cjs/snk-form-view.cjs.entry.js.gz +0 -0
  101. package/dist/cjs/snk-grid.cjs.entry.js +95 -25
  102. package/dist/cjs/snk-grid.cjs.entry.js.gz +0 -0
  103. package/dist/cjs/{snk-guides-viewer-69ec61af.js → snk-guides-viewer-b6002ea7.js} +32 -16
  104. package/dist/cjs/snk-guides-viewer-b6002ea7.js.gz +0 -0
  105. package/dist/cjs/snk-guides-viewer.cjs.entry.js +12 -12
  106. package/dist/cjs/snk-guides-viewer.cjs.entry.js.gz +0 -0
  107. package/dist/cjs/snk-personalized-filter-editor.cjs.entry.js +4 -4
  108. package/dist/cjs/snk-personalized-filter-editor.cjs.entry.js.gz +0 -0
  109. package/dist/cjs/snk-personalized-filter.cjs.entry.js +4 -4
  110. package/dist/cjs/snk-personalized-filter.cjs.entry.js.gz +0 -0
  111. package/dist/cjs/snk-pesquisa.cjs.entry.js +117 -31
  112. package/dist/cjs/snk-pesquisa.cjs.entry.js.gz +0 -0
  113. package/dist/cjs/snk-print-selector.cjs.entry.js +1 -1
  114. package/dist/cjs/snk-print-selector.cjs.entry.js.gz +0 -0
  115. package/dist/cjs/snk-simple-bar.cjs.entry.js +1 -1
  116. package/dist/cjs/snk-simple-bar.cjs.entry.js.gz +0 -0
  117. package/dist/cjs/snk-simple-crud.cjs.entry.js +117 -113
  118. package/dist/cjs/snk-simple-crud.cjs.entry.js.gz +0 -0
  119. package/dist/cjs/snk-tab-config.cjs.entry.js +1 -1
  120. package/dist/cjs/snk-tab-config.cjs.entry.js.gz +0 -0
  121. package/dist/cjs/snk-taskbar.cjs.entry.js +54 -41
  122. package/dist/cjs/snk-taskbar.cjs.entry.js.gz +0 -0
  123. package/dist/cjs/{taskbar-elements-9ad1f9c0.js → taskbar-elements-ebddaef4.js} +2 -2
  124. package/dist/cjs/taskbar-elements-ebddaef4.js.gz +0 -0
  125. package/dist/cjs/teste-pesquisa.cjs.entry.js.gz +0 -0
  126. package/dist/collection/collection-manifest.json +14 -31
  127. package/dist/collection/components/snk-actions-button/actions/enum/ActionsType.js.gz +0 -0
  128. package/dist/collection/components/snk-actions-button/actions/enum/ParamType.js.gz +0 -0
  129. package/dist/collection/components/snk-actions-button/actions/enum/RefreshType.js.gz +0 -0
  130. package/dist/collection/components/snk-actions-button/actions/executor/java.executor.js.gz +0 -0
  131. package/dist/collection/components/snk-actions-button/actions/executor/javascript.executor.js.gz +0 -0
  132. package/dist/collection/components/snk-actions-button/actions/executor/launch-screen.executor.js.gz +0 -0
  133. package/dist/collection/components/snk-actions-button/actions/executor/procedure.executor.js.gz +0 -0
  134. package/dist/collection/components/snk-actions-button/actions/factory/executor.factory.js.gz +0 -0
  135. package/dist/collection/components/snk-actions-button/actions/index.js +4 -4
  136. package/dist/collection/components/snk-actions-button/actions/index.js.gz +0 -0
  137. package/dist/collection/components/snk-actions-button/actions/interfaces/IAction.js.gz +0 -0
  138. package/dist/collection/components/snk-actions-button/actions/interfaces/IExecSource.js.gz +0 -0
  139. package/dist/collection/components/snk-actions-button/actions/interfaces/IExecuteActions.js.gz +0 -0
  140. package/dist/collection/components/snk-actions-button/actions/interfaces/IExecuteActionsProps.js.gz +0 -0
  141. package/dist/collection/components/snk-actions-button/actions/interfaces/IResultParam.js.gz +0 -0
  142. package/dist/collection/components/snk-actions-button/clientEvent/index.js.gz +0 -0
  143. package/dist/collection/components/snk-actions-button/clientEvent/interfaces/IClientEventConfirm.js.gz +0 -0
  144. package/dist/collection/components/snk-actions-button/interfaces/index.js +1 -0
  145. package/dist/collection/components/snk-actions-button/interfaces/index.js.gz +0 -0
  146. package/dist/collection/components/snk-actions-button/snk-actions-button.css.gz +0 -0
  147. package/dist/collection/components/snk-actions-button/snk-actions-button.js +27 -26
  148. package/dist/collection/components/snk-actions-button/snk-actions-button.js.gz +0 -0
  149. package/dist/collection/components/snk-actions-button/subcomponents/snk-actions-form.js.gz +0 -0
  150. package/dist/collection/components/snk-actions-button/subcomponents/snk-client-confirm.js.gz +0 -0
  151. package/dist/collection/components/snk-application/__mocks__/snk-application.js.gz +0 -0
  152. package/dist/collection/components/snk-application/errorhandler/snk-error-handler.js.gz +0 -0
  153. package/dist/collection/components/snk-application/request-listener/DebouncedRequestListener.js +29 -0
  154. package/dist/collection/components/snk-application/request-listener/DebouncedRequestListener.js.gz +0 -0
  155. package/dist/collection/components/snk-application/request-listener/RequestListenerFactory.js +16 -0
  156. package/dist/collection/components/snk-application/request-listener/RequestListenerFactory.js.gz +0 -0
  157. package/dist/collection/components/snk-application/request-listener/RequestListenerLoadingBar.js +52 -0
  158. package/dist/collection/components/snk-application/request-listener/RequestListenerLoadingBar.js.gz +0 -0
  159. package/dist/collection/components/snk-application/snk-application.css +36 -0
  160. package/dist/collection/components/snk-application/snk-application.css.gz +0 -0
  161. package/dist/collection/components/snk-application/snk-application.js +325 -66
  162. package/dist/collection/components/snk-application/snk-application.js.gz +0 -0
  163. package/dist/collection/components/snk-attach/interfaces/ICrudConfig.js.gz +0 -0
  164. package/dist/collection/components/snk-attach/interfaces/TFetcherType.js.gz +0 -0
  165. package/dist/collection/components/snk-attach/interfaces/index.js.gz +0 -0
  166. package/dist/collection/components/snk-attach/snk-attach.css.gz +0 -0
  167. package/dist/collection/components/snk-attach/snk-attach.js +51 -16
  168. package/dist/collection/components/snk-attach/snk-attach.js.gz +0 -0
  169. package/dist/collection/components/snk-attach/structure/builder/anexo-sistema-crud-config.builder.js.gz +0 -0
  170. package/dist/collection/components/snk-attach/structure/builder/attach-crud-config.builder.js.gz +0 -0
  171. package/dist/collection/components/snk-attach/structure/builder/taskbar-builder.js +8 -4
  172. package/dist/collection/components/snk-attach/structure/builder/taskbar-builder.js.gz +0 -0
  173. package/dist/collection/components/snk-attach/structure/fetcher/facade/fetcher.facade.js.gz +0 -0
  174. package/dist/collection/components/snk-attach/structure/fetcher/factory/anexo-sistema-data-unit.factory.js.gz +0 -0
  175. package/dist/collection/components/snk-attach/structure/fetcher/factory/attach-fetcher-data-unit.factory.js +19 -18
  176. package/dist/collection/components/snk-attach/structure/fetcher/factory/attach-fetcher-data-unit.factory.js.gz +0 -0
  177. package/dist/collection/components/snk-attach/structure/index.js.gz +0 -0
  178. package/dist/collection/components/snk-configurator/AuthorizationConfig.js.gz +0 -0
  179. package/dist/collection/components/snk-configurator/snk-configurator.css +1 -1
  180. package/dist/collection/components/snk-configurator/snk-configurator.css.gz +0 -0
  181. package/dist/collection/components/snk-configurator/snk-configurator.js.gz +0 -0
  182. package/dist/collection/components/snk-crud/interfaces/PropsCustomEditor.js.gz +0 -0
  183. package/dist/collection/components/snk-crud/interfaces/PropsCustomRender.js.gz +0 -0
  184. package/dist/collection/components/snk-crud/snk-crud.css.gz +0 -0
  185. package/dist/collection/components/snk-crud/snk-crud.js +166 -14
  186. package/dist/collection/components/snk-crud/snk-crud.js.gz +0 -0
  187. package/dist/collection/components/snk-crud/subcomponents/CardFormResizeObserver.js.gz +0 -0
  188. package/dist/collection/components/snk-crud/subcomponents/GuideBuilder.js.gz +0 -0
  189. package/dist/collection/components/snk-crud/subcomponents/snk-detail-view/snk-detail-view.css.gz +0 -0
  190. package/dist/collection/components/snk-crud/subcomponents/snk-detail-view/snk-detail-view.js +2 -2
  191. package/dist/collection/components/snk-crud/subcomponents/snk-detail-view/snk-detail-view.js.gz +0 -0
  192. package/dist/collection/components/snk-crud/subcomponents/snk-form-summary.css.gz +0 -0
  193. package/dist/collection/components/snk-crud/subcomponents/snk-form-summary.js.gz +0 -0
  194. package/dist/collection/components/snk-crud/subcomponents/snk-form-view.css.gz +0 -0
  195. package/dist/collection/components/snk-crud/subcomponents/snk-form-view.js.gz +0 -0
  196. package/dist/collection/components/snk-crud/subcomponents/snk-guides-viewer.css +6 -6
  197. package/dist/collection/components/snk-crud/subcomponents/snk-guides-viewer.css.gz +0 -0
  198. package/dist/collection/components/snk-crud/subcomponents/snk-guides-viewer.js +72 -6
  199. package/dist/collection/components/snk-crud/subcomponents/snk-guides-viewer.js.gz +0 -0
  200. package/dist/collection/components/snk-custom-slot-elements/snk-custom-slot-elements.css.gz +0 -0
  201. package/dist/collection/components/snk-custom-slot-elements/snk-custom-slot-elements.js.gz +0 -0
  202. package/dist/collection/components/snk-data-exporter/data/attachment.js.gz +0 -0
  203. package/dist/collection/components/snk-data-exporter/data/email.js.gz +0 -0
  204. package/dist/collection/components/snk-data-exporter/data/export-config.js.gz +0 -0
  205. package/dist/collection/components/snk-data-exporter/data/export-result.js.gz +0 -0
  206. package/dist/collection/components/snk-data-exporter/data/report.js.gz +0 -0
  207. package/dist/collection/components/snk-data-exporter/exporter-email-sender/email-info-step.js.gz +0 -0
  208. package/dist/collection/components/snk-data-exporter/exporter-email-sender/options-step.js.gz +0 -0
  209. package/dist/collection/components/snk-data-exporter/exporter-email-sender/snk-exporter-email-sender.js.gz +0 -0
  210. package/dist/collection/components/snk-data-exporter/exporter-strategy/ClientSideExporterStrategy.js +8 -8
  211. package/dist/collection/components/snk-data-exporter/exporter-strategy/ClientSideExporterStrategy.js.gz +0 -0
  212. package/dist/collection/components/snk-data-exporter/exporter-strategy/ServerSideExporterStrategy.js +9 -2
  213. package/dist/collection/components/snk-data-exporter/exporter-strategy/ServerSideExporterStrategy.js.gz +0 -0
  214. package/dist/collection/components/snk-data-exporter/interfaces/IExporterProvider.js +51 -16
  215. package/dist/collection/components/snk-data-exporter/interfaces/IExporterProvider.js.gz +0 -0
  216. package/dist/collection/components/snk-data-exporter/interfaces/IExporterStrategy.js.gz +0 -0
  217. package/dist/collection/components/snk-data-exporter/interfaces/IRecordID.js.gz +0 -0
  218. package/dist/collection/components/snk-data-exporter/interfaces/ISelectedID.js.gz +0 -0
  219. package/dist/collection/components/snk-data-exporter/providers/ClientSideExporterProvider.js +17 -5
  220. package/dist/collection/components/snk-data-exporter/providers/ClientSideExporterProvider.js.gz +0 -0
  221. package/dist/collection/components/snk-data-exporter/providers/ServerSideExporterProvider.js.gz +0 -0
  222. package/dist/collection/components/snk-data-exporter/snk-data-exporter.css.gz +0 -0
  223. package/dist/collection/components/snk-data-exporter/snk-data-exporter.js +10 -9
  224. package/dist/collection/components/snk-data-exporter/snk-data-exporter.js.gz +0 -0
  225. package/dist/collection/components/snk-data-exporter/structure/ItemBuilder.js.gz +0 -0
  226. package/dist/collection/components/snk-data-exporter/test/resources/ClientSideExporterStrategyResources.js +4 -4
  227. package/dist/collection/components/snk-data-exporter/test/resources/ClientSideExporterStrategyResources.js.gz +0 -0
  228. package/dist/collection/components/snk-data-exporter/utils/ParserExport.js +1 -1
  229. package/dist/collection/components/snk-data-exporter/utils/ParserExport.js.gz +0 -0
  230. package/dist/collection/components/snk-data-unit/snk-data-unit.js +51 -27
  231. package/dist/collection/components/snk-data-unit/snk-data-unit.js.gz +0 -0
  232. package/dist/collection/components/snk-data-unit/test/resources/metadataMock.js.gz +0 -0
  233. package/dist/collection/components/snk-data-unit/test/resources/parentMetadataMock.js.gz +0 -0
  234. package/dist/collection/components/snk-entity-list/snk-entity-list.css.gz +0 -0
  235. package/dist/collection/components/snk-entity-list/snk-entity-list.js.gz +0 -0
  236. package/dist/collection/components/snk-filter-bar/filter-item/dataunitfilter/data-unit-filter-builder.js +3 -3
  237. package/dist/collection/components/snk-filter-bar/filter-item/dataunitfilter/data-unit-filter-builder.js.gz +0 -0
  238. package/dist/collection/components/snk-filter-bar/filter-item/editors/enum/filterNumberVariation.js.gz +0 -0
  239. package/dist/collection/components/snk-filter-bar/filter-item/editors/enum/presentationMode.js.gz +0 -0
  240. package/dist/collection/components/snk-filter-bar/filter-item/editors/snk-filter-binary-select.js +1 -1
  241. package/dist/collection/components/snk-filter-bar/filter-item/editors/snk-filter-binary-select.js.gz +0 -0
  242. package/dist/collection/components/snk-filter-bar/filter-item/editors/snk-filter-checkbox-list.js +1 -1
  243. package/dist/collection/components/snk-filter-bar/filter-item/editors/snk-filter-checkbox-list.js.gz +0 -0
  244. package/dist/collection/components/snk-filter-bar/filter-item/editors/snk-filter-multi-select.js.gz +0 -0
  245. package/dist/collection/components/snk-filter-bar/filter-item/editors/snk-filter-number.js +1 -1
  246. package/dist/collection/components/snk-filter-bar/filter-item/editors/snk-filter-number.js.gz +0 -0
  247. package/dist/collection/components/snk-filter-bar/filter-item/editors/snk-filter-period.js.gz +0 -0
  248. package/dist/collection/components/snk-filter-bar/filter-item/editors/snk-filter-search.js.gz +0 -0
  249. package/dist/collection/components/snk-filter-bar/filter-item/editors/snk-filter-text.js +2 -1
  250. package/dist/collection/components/snk-filter-bar/filter-item/editors/snk-filter-text.js.gz +0 -0
  251. package/dist/collection/components/snk-filter-bar/filter-item/editors/snk-personalized-filter-editor/snk-personalized-filter-editor.css +13 -0
  252. package/dist/collection/components/snk-filter-bar/filter-item/editors/snk-personalized-filter-editor/snk-personalized-filter-editor.css.gz +0 -0
  253. package/dist/collection/components/snk-filter-bar/filter-item/editors/snk-personalized-filter-editor/snk-personalized-filter-editor.js +3 -3
  254. package/dist/collection/components/snk-filter-bar/filter-item/editors/snk-personalized-filter-editor/snk-personalized-filter-editor.js.gz +0 -0
  255. package/dist/collection/components/snk-filter-bar/filter-item/filter-item-type-mask.enum.js +8 -0
  256. package/dist/collection/components/snk-filter-bar/filter-item/filter-item-type-mask.enum.js.gz +0 -0
  257. package/dist/collection/components/snk-filter-bar/filter-item/filter-item-type.enum.js.gz +0 -0
  258. package/dist/collection/components/snk-filter-bar/filter-item/snk-filter-detail.js.gz +0 -0
  259. package/dist/collection/components/snk-filter-bar/filter-item/snk-filter-item.js +10 -4
  260. package/dist/collection/components/snk-filter-bar/filter-item/snk-filter-item.js.gz +0 -0
  261. package/dist/collection/components/snk-filter-bar/filter-list/snk-filter-list.js.gz +0 -0
  262. package/dist/collection/components/snk-filter-bar/filter-modal/snk-filter-modal.css +1 -1
  263. package/dist/collection/components/snk-filter-bar/filter-modal/snk-filter-modal.css.gz +0 -0
  264. package/dist/collection/components/snk-filter-bar/filter-modal/snk-filter-modal.js +3 -1
  265. package/dist/collection/components/snk-filter-bar/filter-modal/snk-filter-modal.js.gz +0 -0
  266. package/dist/collection/components/snk-filter-bar/filter-modal/subcomponents/snk-filter-modal-item.css.gz +0 -0
  267. package/dist/collection/components/snk-filter-bar/filter-modal/subcomponents/snk-filter-modal-item.js.gz +0 -0
  268. package/dist/collection/components/snk-filter-bar/snk-filter-bar.css +3 -6
  269. package/dist/collection/components/snk-filter-bar/snk-filter-bar.css.gz +0 -0
  270. package/dist/collection/components/snk-filter-bar/snk-filter-bar.js +104 -22
  271. package/dist/collection/components/snk-filter-bar/snk-filter-bar.js.gz +0 -0
  272. package/dist/collection/components/snk-filter-bar/types/custom-element-filter.js.gz +0 -0
  273. package/dist/collection/components/snk-filter-bar/types/filter-type.enum.js.gz +0 -0
  274. package/dist/collection/components/snk-filter-bar/utils/SnkFilterModalFactory.js.gz +0 -0
  275. package/dist/collection/components/snk-filter-bar/utils/filters-mock.js.gz +0 -0
  276. package/dist/collection/components/snk-filter-field-search/interfaces/index.js.gz +0 -0
  277. package/dist/collection/components/snk-filter-field-search/snk-filter-field-search.css.gz +0 -0
  278. package/dist/collection/components/snk-filter-field-search/snk-filter-field-search.js.gz +0 -0
  279. package/dist/collection/components/snk-filter-field-search/subcomponents/index.js.gz +0 -0
  280. package/dist/collection/components/snk-filter-field-search/subcomponents/list-item.js.gz +0 -0
  281. package/dist/collection/components/snk-form/snk-form.css.gz +0 -0
  282. package/dist/collection/components/snk-form/snk-form.js +2 -2
  283. package/dist/collection/components/snk-form/snk-form.js.gz +0 -0
  284. package/dist/collection/components/snk-form-config/SnkFormConfigManager.js +73 -15
  285. package/dist/collection/components/snk-form-config/SnkFormConfigManager.js.gz +0 -0
  286. package/dist/collection/components/snk-form-config/snk-form-config.css +8 -3
  287. package/dist/collection/components/snk-form-config/snk-form-config.css.gz +0 -0
  288. package/dist/collection/components/snk-form-config/snk-form-config.js +49 -8
  289. package/dist/collection/components/snk-form-config/snk-form-config.js.gz +0 -0
  290. package/dist/collection/components/snk-form-config/subcomponents/snk-config-options/snk-config-options.css.gz +0 -0
  291. package/dist/collection/components/snk-form-config/subcomponents/snk-config-options/snk-config-options.js.gz +0 -0
  292. package/dist/collection/components/snk-form-config/subcomponents/snk-field-config/snk-field-config.css.gz +0 -0
  293. package/dist/collection/components/snk-form-config/subcomponents/snk-field-config/snk-field-config.js.gz +0 -0
  294. package/dist/collection/components/snk-form-config/subcomponents/snk-tab-config/snk-tab-config.css.gz +0 -0
  295. package/dist/collection/components/snk-form-config/subcomponents/snk-tab-config/snk-tab-config.js.gz +0 -0
  296. package/dist/collection/components/snk-grid/filtercolumn/SnkMultiSelectionListDataSource.js.gz +0 -0
  297. package/dist/collection/components/snk-grid/snk-grid.css +9 -0
  298. package/dist/collection/components/snk-grid/snk-grid.css.gz +0 -0
  299. package/dist/collection/components/snk-grid/snk-grid.js +217 -12
  300. package/dist/collection/components/snk-grid/snk-grid.js.gz +0 -0
  301. package/dist/collection/components/snk-grid-config/snk-grid-config.css +1 -1
  302. package/dist/collection/components/snk-grid-config/snk-grid-config.css.gz +0 -0
  303. package/dist/collection/components/snk-grid-config/snk-grid-config.js.gz +0 -0
  304. package/dist/collection/components/snk-grid-config/snk-select-box/snk-select-box.css.gz +0 -0
  305. package/dist/collection/components/snk-grid-config/snk-select-box/snk-select-box.js.gz +0 -0
  306. package/dist/collection/components/snk-personalized-filter/interfaces/IExpressionGroup.js.gz +0 -0
  307. package/dist/collection/components/snk-personalized-filter/interfaces/IExpressionItem.js.gz +0 -0
  308. package/dist/collection/components/snk-personalized-filter/interfaces/IParameter.js.gz +0 -0
  309. package/dist/collection/components/snk-personalized-filter/interfaces/IPersonalizedFilter.js.gz +0 -0
  310. package/dist/collection/components/snk-personalized-filter/interfaces/ISystemFilterConfig.js.gz +0 -0
  311. package/dist/collection/components/snk-personalized-filter/interfaces/IUserFilterConfig.js.gz +0 -0
  312. package/dist/collection/components/snk-personalized-filter/interfaces/index.js.gz +0 -0
  313. package/dist/collection/components/snk-personalized-filter/snk-personalized-filter.css.gz +0 -0
  314. package/dist/collection/components/snk-personalized-filter/snk-personalized-filter.js.gz +0 -0
  315. package/dist/collection/components/snk-personalized-filter/subcomponents/snk-expression-group/snk-expression-group.css.gz +0 -0
  316. package/dist/collection/components/snk-personalized-filter/subcomponents/snk-expression-group/snk-expression-group.js.gz +0 -0
  317. package/dist/collection/components/snk-personalized-filter/subcomponents/snk-expression-item/filter-operands/filter-operands.js.gz +0 -0
  318. package/dist/collection/components/snk-personalized-filter/subcomponents/snk-expression-item/snk-expression-item.css.gz +0 -0
  319. package/dist/collection/components/snk-personalized-filter/subcomponents/snk-expression-item/snk-expression-item.js.gz +0 -0
  320. package/dist/collection/components/snk-personalized-filter/subcomponents/snk-filter-advanced-mode/snk-filter-advanced-mode.css.gz +0 -0
  321. package/dist/collection/components/snk-personalized-filter/subcomponents/snk-filter-advanced-mode/snk-filter-advanced-mode.js.gz +0 -0
  322. package/dist/collection/components/snk-personalized-filter/subcomponents/snk-filter-assistent-mode/snk-filter-assistent-mode.css.gz +0 -0
  323. package/dist/collection/components/snk-personalized-filter/subcomponents/snk-filter-assistent-mode/snk-filter-assistent-mode.js.gz +0 -0
  324. package/dist/collection/components/snk-personalized-filter/subcomponents/snk-filter-param-config/snk-filter-param-config.css.gz +0 -0
  325. package/dist/collection/components/snk-personalized-filter/subcomponents/snk-filter-param-config/snk-filter-param-config.js.gz +0 -0
  326. package/dist/collection/components/snk-personalized-filter/subcomponents/snk-filter-param-config/utils/PersonalizedFilterUtils.js.gz +0 -0
  327. package/dist/collection/components/snk-pesquisa/pesquisa-grid/pesquisa-grid.css +9 -0
  328. package/dist/collection/components/snk-pesquisa/pesquisa-grid/pesquisa-grid.css.gz +0 -0
  329. package/dist/collection/components/snk-pesquisa/pesquisa-grid/pesquisa-grid.js +226 -0
  330. package/dist/collection/components/snk-pesquisa/pesquisa-grid/pesquisa-grid.js.gz +0 -0
  331. package/dist/collection/components/snk-pesquisa/pesquisa-tree/pesquisa-tree.css +28 -0
  332. package/dist/collection/components/snk-pesquisa/pesquisa-tree/pesquisa-tree.css.gz +0 -0
  333. package/dist/collection/components/snk-pesquisa/pesquisa-tree/pesquisa-tree.js +208 -0
  334. package/dist/collection/components/snk-pesquisa/pesquisa-tree/pesquisa-tree.js.gz +0 -0
  335. package/dist/collection/components/snk-pesquisa/pesquisaHelper.js +99 -0
  336. package/dist/collection/components/snk-pesquisa/pesquisaHelper.js.gz +0 -0
  337. package/dist/collection/components/snk-pesquisa/snk-pesquisa.css +35 -6
  338. package/dist/collection/components/snk-pesquisa/snk-pesquisa.css.gz +0 -0
  339. package/dist/collection/components/snk-pesquisa/snk-pesquisa.js +181 -32
  340. package/dist/collection/components/snk-pesquisa/snk-pesquisa.js.gz +0 -0
  341. package/dist/collection/components/snk-print-selector/snk-print-selector.css.gz +0 -0
  342. package/dist/collection/components/snk-print-selector/snk-print-selector.js +1 -1
  343. package/dist/collection/components/snk-print-selector/snk-print-selector.js.gz +0 -0
  344. package/dist/collection/components/snk-simple-bar/snk-simple-bar.css.gz +0 -0
  345. package/dist/collection/components/snk-simple-bar/snk-simple-bar.js +1 -1
  346. package/dist/collection/components/snk-simple-bar/snk-simple-bar.js.gz +0 -0
  347. package/dist/collection/components/snk-simple-crud/regular-buttons.js.gz +0 -0
  348. package/dist/collection/components/snk-simple-crud/snk-simple-crud.css +1 -1
  349. package/dist/collection/components/snk-simple-crud/snk-simple-crud.css.gz +0 -0
  350. package/dist/collection/components/snk-simple-crud/snk-simple-crud.js +199 -34
  351. package/dist/collection/components/snk-simple-crud/snk-simple-crud.js.gz +0 -0
  352. package/dist/collection/components/snk-simple-form-config/snk-simple-form-config.css +22 -0
  353. package/dist/collection/components/snk-simple-form-config/snk-simple-form-config.css.gz +0 -0
  354. package/dist/collection/components/snk-simple-form-config/snk-simple-form-config.js +181 -0
  355. package/dist/collection/components/snk-simple-form-config/snk-simple-form-config.js.gz +0 -0
  356. package/dist/collection/components/snk-taskbar/elements/taskbar-actions-button/taskbar-actions-button.css.gz +0 -0
  357. package/dist/collection/components/snk-taskbar/elements/taskbar-actions-button/taskbar-actions-button.js.gz +0 -0
  358. package/dist/collection/components/snk-taskbar/elements/taskbar-elements.js.gz +0 -0
  359. package/dist/collection/components/snk-taskbar/processor/taskbar-processor.js +5 -1
  360. package/dist/collection/components/snk-taskbar/processor/taskbar-processor.js.gz +0 -0
  361. package/dist/collection/components/snk-taskbar/snk-taskbar.css.gz +0 -0
  362. package/dist/collection/components/snk-taskbar/snk-taskbar.js +52 -39
  363. package/dist/collection/components/snk-taskbar/snk-taskbar.js.gz +0 -0
  364. package/dist/collection/components/snk-taskbar/subcomponents/field-search.js.gz +0 -0
  365. package/dist/collection/components/teste-pesquisa/teste-pesquisa.css.gz +0 -0
  366. package/dist/collection/components/teste-pesquisa/teste-pesquisa.js.gz +0 -0
  367. package/dist/collection/index.js.gz +0 -0
  368. package/dist/collection/lib/@types/index.js +5 -0
  369. package/dist/collection/lib/@types/index.js.gz +0 -0
  370. package/dist/collection/lib/DefaultCustomFormatters/RmPrecisionCustomValueFormatter.js +11 -5
  371. package/dist/collection/lib/DefaultCustomFormatters/RmPrecisionCustomValueFormatter.js.gz +0 -0
  372. package/dist/collection/lib/applet-caller/applet-caller.js.gz +0 -0
  373. package/dist/collection/lib/auth/mgeauthorization.module.js.gz +0 -0
  374. package/dist/collection/lib/configs/ConfigStorage.js.gz +0 -0
  375. package/dist/collection/lib/dataUnit/InMemoryLoader.js +12 -103
  376. package/dist/collection/lib/dataUnit/InMemoryLoader.js.gz +0 -0
  377. package/dist/collection/lib/dataUnit/ValueFormatter.js.gz +0 -0
  378. package/dist/collection/lib/dataUnit/dataUnitInMemoryUtils.js +11 -32
  379. package/dist/collection/lib/dataUnit/dataUnitInMemoryUtils.js.gz +0 -0
  380. package/dist/collection/lib/dataUnit/interfaces/InMemoryLoaderConfig.js.gz +0 -0
  381. package/dist/collection/lib/http/data-fetcher/DataFetcher.js +30 -27
  382. package/dist/collection/lib/http/data-fetcher/DataFetcher.js.gz +0 -0
  383. package/dist/collection/lib/http/data-fetcher/fetchers/AttachFetcher/anexo-sistema-fetcher.js +7 -5
  384. package/dist/collection/lib/http/data-fetcher/fetchers/AttachFetcher/anexo-sistema-fetcher.js.gz +0 -0
  385. package/dist/collection/lib/http/data-fetcher/fetchers/AttachFetcher/attach-fetcher.js.gz +0 -0
  386. package/dist/collection/lib/http/data-fetcher/fetchers/AttachFetcher/facade/attach-fetcher.facade.js.gz +0 -0
  387. package/dist/collection/lib/http/data-fetcher/fetchers/AttachFetcher/index.js.gz +0 -0
  388. package/dist/collection/lib/http/data-fetcher/fetchers/AttachFetcher/interfaces/IDelete.js.gz +0 -0
  389. package/dist/collection/lib/http/data-fetcher/fetchers/AttachFetcher/interfaces/IDownloadKey.js.gz +0 -0
  390. package/dist/collection/lib/http/data-fetcher/fetchers/AttachFetcher/interfaces/ISave.js.gz +0 -0
  391. package/dist/collection/lib/http/data-fetcher/fetchers/AttachFetcher/interfaces/index.js.gz +0 -0
  392. package/dist/collection/lib/http/data-fetcher/fetchers/application-config-fetcher.js.gz +0 -0
  393. package/dist/collection/lib/http/data-fetcher/fetchers/auth-fetcher.js.gz +0 -0
  394. package/dist/collection/lib/http/data-fetcher/fetchers/data-unit/DataUnitDataLoader.js +59 -14
  395. package/dist/collection/lib/http/data-fetcher/fetchers/data-unit/DataUnitDataLoader.js.gz +0 -0
  396. package/dist/collection/lib/http/data-fetcher/fetchers/data-unit/cache/ArrayRepository.js +21 -7
  397. package/dist/collection/lib/http/data-fetcher/fetchers/data-unit/cache/ArrayRepository.js.gz +0 -0
  398. package/dist/collection/lib/http/data-fetcher/fetchers/data-unit/cache/PreloadManager.js.gz +0 -0
  399. package/dist/collection/lib/http/data-fetcher/fetchers/data-unit/dataunit-fetcher.js.gz +0 -0
  400. package/dist/collection/lib/http/data-fetcher/fetchers/data-unit/helpers/DataUnitDataLoaderHelper.js +108 -0
  401. package/dist/collection/lib/http/data-fetcher/fetchers/data-unit/helpers/DataUnitDataLoaderHelper.js.gz +0 -0
  402. package/dist/collection/lib/http/data-fetcher/fetchers/data-unit/interfaces/IBuildRequestBodyLoadRowMetadata.js.gz +0 -0
  403. package/dist/collection/lib/http/data-fetcher/fetchers/data-unit/interfaces/ILoadDataResult.js.gz +0 -0
  404. package/dist/collection/lib/http/data-fetcher/fetchers/data-unit/interfaces/ILoadDataStrategy.js.gz +0 -0
  405. package/dist/collection/lib/http/data-fetcher/fetchers/data-unit/interfaces/ILoadingInfo.js.gz +0 -0
  406. package/dist/collection/lib/http/data-fetcher/fetchers/data-unit/interfaces/IRecordField.js.gz +0 -0
  407. package/dist/collection/lib/http/data-fetcher/fetchers/data-unit/interfaces/IResponseRecord.js.gz +0 -0
  408. package/dist/collection/lib/http/data-fetcher/fetchers/data-unit/interfaces/IRowMetadata.js.gz +0 -0
  409. package/dist/collection/lib/http/data-fetcher/fetchers/data-unit/loadstrategy/DataUnitStrategy.js.gz +0 -0
  410. package/dist/collection/lib/http/data-fetcher/fetchers/data-unit/loadstrategy/DatasetStrategy.js +17 -9
  411. package/dist/collection/lib/http/data-fetcher/fetchers/data-unit/loadstrategy/DatasetStrategy.js.gz +0 -0
  412. package/dist/collection/lib/http/data-fetcher/fetchers/data-unit/loadstrategy/test/resources/metadataMock.js.gz +0 -0
  413. package/dist/collection/lib/http/data-fetcher/fetchers/fetchDataExporter/interfaces/IExporterColumnMetadata.js.gz +0 -0
  414. package/dist/collection/lib/http/data-fetcher/fetchers/fetchDataExporter/interfaces/IFetchDataExporterParams.js +6 -1
  415. package/dist/collection/lib/http/data-fetcher/fetchers/fetchDataExporter/interfaces/IFetchDataExporterParams.js.gz +0 -0
  416. package/dist/collection/lib/http/data-fetcher/fetchers/fetchDataExporter/interfaces/IFetchDataExporterResponse.js.gz +0 -0
  417. package/dist/collection/lib/http/data-fetcher/fetchers/fetchDataExporter/interfaces/IPersonalizedReport.js.gz +0 -0
  418. package/dist/collection/lib/http/data-fetcher/fetchers/fetchDataExporter/permission-export-pdf.js.gz +0 -0
  419. package/dist/collection/lib/http/data-fetcher/fetchers/fetchDataExporter/personalized-reports-fetcher.js.gz +0 -0
  420. package/dist/collection/lib/http/data-fetcher/fetchers/filter-bar-config-fetcher.js.gz +0 -0
  421. package/dist/collection/lib/http/data-fetcher/fetchers/form-config-fetcher.js +45 -5
  422. package/dist/collection/lib/http/data-fetcher/fetchers/form-config-fetcher.js.gz +0 -0
  423. package/dist/collection/lib/http/data-fetcher/fetchers/grid-config-fetcher.js.gz +0 -0
  424. package/dist/collection/lib/http/data-fetcher/fetchers/parameters-fecher.js +7 -1
  425. package/dist/collection/lib/http/data-fetcher/fetchers/parameters-fecher.js.gz +0 -0
  426. package/dist/collection/lib/http/data-fetcher/fetchers/personalized-filter-fetcher.js.gz +0 -0
  427. package/dist/collection/lib/http/data-fetcher/fetchers/pesquisa-fetcher.js +107 -7
  428. package/dist/collection/lib/http/data-fetcher/fetchers/pesquisa-fetcher.js.gz +0 -0
  429. package/dist/collection/lib/http/data-fetcher/fetchers/resource-fetcher.js.gz +0 -0
  430. package/dist/collection/lib/http/data-fetcher/fetchers/totals-fetcher.js.gz +0 -0
  431. package/dist/collection/lib/http/data-fetcher/interfaces/IClientEventResponse.js.gz +0 -0
  432. package/dist/collection/lib/http/data-fetcher/recaller/GraphQLRecaller.js.gz +0 -0
  433. package/dist/collection/lib/http/data-fetcher/recaller/IDataFetcherRecaller.js.gz +0 -0
  434. package/dist/collection/lib/http/data-fetcher/recaller/ServiceBrokerRecaller.js.gz +0 -0
  435. package/dist/collection/lib/http/data-fetcher/state/LoadStateManager.js.gz +0 -0
  436. package/dist/collection/lib/index.js +1 -0
  437. package/dist/collection/lib/index.js.gz +0 -0
  438. package/dist/collection/lib/licenses/sankhyalicense.module.js.gz +0 -0
  439. package/dist/collection/lib/message/SnkMessageBuilder.js.gz +0 -0
  440. package/dist/collection/lib/message/resources/crud-utils.msg.js.gz +0 -0
  441. package/dist/collection/lib/message/resources/file-viewer.msg.js.gz +0 -0
  442. package/dist/collection/lib/message/resources/snk-actions-button.msg.js.gz +0 -0
  443. package/dist/collection/lib/message/resources/snk-application.msg.js.gz +0 -0
  444. package/dist/collection/lib/message/resources/snk-attach.msg.js.gz +0 -0
  445. package/dist/collection/lib/message/resources/snk-configurator.msg.js.gz +0 -0
  446. package/dist/collection/lib/message/resources/snk-crud.msg.js.gz +0 -0
  447. package/dist/collection/lib/message/resources/snk-data-exporter.msg.js.gz +0 -0
  448. package/dist/collection/lib/message/resources/snk-data-unit.msg.js.gz +0 -0
  449. package/dist/collection/lib/message/resources/snk-entity-list.msg.js.gz +0 -0
  450. package/dist/collection/lib/message/resources/snk-exporter.msg.js.gz +0 -0
  451. package/dist/collection/lib/message/resources/snk-filter-bar.msg.js.gz +0 -0
  452. package/dist/collection/lib/message/resources/snk-filter-field-search.msg.js.gz +0 -0
  453. package/dist/collection/lib/message/resources/snk-filter-param-config.msg.js.gz +0 -0
  454. package/dist/collection/lib/message/resources/snk-form.msg.js.gz +0 -0
  455. package/dist/collection/lib/message/resources/snk-grid.msg.js +5 -1
  456. package/dist/collection/lib/message/resources/snk-grid.msg.js.gz +0 -0
  457. package/dist/collection/lib/message/resources/snk-personalized-filter.msg.js.gz +0 -0
  458. package/dist/collection/lib/message/resources/snk-print-selector.msg.js.gz +0 -0
  459. package/dist/collection/lib/message/resources/snk-simple-bar.msg.js.gz +0 -0
  460. package/dist/collection/lib/message/resources/snk-simple-crud.msg.js.gz +0 -0
  461. package/dist/collection/lib/message/resources/snk-taskbar.msg.js.gz +0 -0
  462. package/dist/collection/lib/resourceid/ResourceIDUtils.js.gz +0 -0
  463. package/dist/collection/lib/store/index.js.gz +0 -0
  464. package/dist/collection/lib/utils/ContinuousInsertUtils.js +31 -0
  465. package/dist/collection/lib/utils/ContinuousInsertUtils.js.gz +0 -0
  466. package/dist/collection/lib/utils/CrudUtils.js +25 -16
  467. package/dist/collection/lib/utils/CrudUtils.js.gz +0 -0
  468. package/dist/collection/lib/utils/GetSelectedRecordsIDsInfo.js.gz +0 -0
  469. package/dist/collection/lib/utils/PrintUtils.js.gz +0 -0
  470. package/dist/collection/lib/utils/constants.js +9 -0
  471. package/dist/collection/lib/utils/constants.js.gz +0 -0
  472. package/dist/collection/lib/utils/fileViewer/index.js.gz +0 -0
  473. package/dist/collection/lib/utils/fileViewer/interfaces/IFileViewerParams.js.gz +0 -0
  474. package/dist/collection/lib/utils/pesquisa.js.gz +0 -0
  475. package/dist/collection/lib/utils/urlutils.js.gz +0 -0
  476. package/dist/collection/lib/workspace/workspace.js.gz +0 -0
  477. package/dist/collection/sw.js +46 -0
  478. package/dist/collection/sw.js.gz +0 -0
  479. package/dist/components/AuthorizationConfig.js.gz +0 -0
  480. package/dist/components/ConfigStorage.js.gz +0 -0
  481. package/dist/components/ContinuousInsertUtils.js +451 -0
  482. package/dist/components/ContinuousInsertUtils.js.gz +0 -0
  483. package/dist/components/DataFetcher.js +217 -82
  484. package/dist/components/DataFetcher.js.gz +0 -0
  485. package/dist/components/GetSelectedRecordsIDsInfo.js.gz +0 -0
  486. package/dist/components/ISave.js +367 -1
  487. package/dist/components/ISave.js.gz +0 -0
  488. package/dist/components/ParamType.js.gz +0 -0
  489. package/dist/components/PersonalizedFilterUtils.js.gz +0 -0
  490. package/dist/components/PrintUtils.js.gz +0 -0
  491. package/dist/components/ResourceIDUtils.js.gz +0 -0
  492. package/dist/components/SnkFormConfigManager.js +73 -15
  493. package/dist/components/SnkFormConfigManager.js.gz +0 -0
  494. package/dist/components/SnkMessageBuilder.js +5 -1
  495. package/dist/components/SnkMessageBuilder.js.gz +0 -0
  496. package/dist/components/auth-fetcher.js.gz +0 -0
  497. package/dist/components/constants.js +10 -1
  498. package/dist/components/constants.js.gz +0 -0
  499. package/dist/components/dataunit-fetcher.js +232 -183
  500. package/dist/components/dataunit-fetcher.js.gz +0 -0
  501. package/dist/components/filter-item-type.enum.js.gz +0 -0
  502. package/dist/components/filterNumberVariation.js.gz +0 -0
  503. package/dist/components/form-config-fetcher.js +41 -1
  504. package/dist/components/form-config-fetcher.js.gz +0 -0
  505. package/dist/components/index.d.ts +3 -0
  506. package/dist/components/index.js +3 -0
  507. package/dist/components/index.js.gz +0 -0
  508. package/dist/components/index2.js +3 -4
  509. package/dist/components/index2.js.gz +0 -0
  510. package/dist/components/pesquisa-grid.d.ts +11 -0
  511. package/dist/components/pesquisa-grid.js +6 -0
  512. package/dist/components/pesquisa-grid.js.gz +0 -0
  513. package/dist/components/pesquisa-grid2.js +102 -0
  514. package/dist/components/pesquisa-grid2.js.gz +0 -0
  515. package/dist/components/pesquisa-tree.d.ts +11 -0
  516. package/dist/components/pesquisa-tree.js +6 -0
  517. package/dist/components/pesquisa-tree.js.gz +0 -0
  518. package/dist/components/pesquisa-tree2.js +91 -0
  519. package/dist/components/pesquisa-tree2.js.gz +0 -0
  520. package/dist/components/presentationMode.js.gz +0 -0
  521. package/dist/components/snk-actions-button.js.gz +0 -0
  522. package/dist/components/snk-actions-button2.js +32 -31
  523. package/dist/components/snk-actions-button2.js.gz +0 -0
  524. package/dist/components/snk-actions-form.js.gz +0 -0
  525. package/dist/components/snk-application.js.gz +0 -0
  526. package/dist/components/snk-application2.js +322 -70
  527. package/dist/components/snk-application2.js.gz +0 -0
  528. package/dist/components/snk-attach.js.gz +0 -0
  529. package/dist/components/snk-attach2.js +97 -74
  530. package/dist/components/snk-attach2.js.gz +0 -0
  531. package/dist/components/snk-client-confirm.js.gz +0 -0
  532. package/dist/components/snk-config-options.js.gz +0 -0
  533. package/dist/components/snk-config-options2.js +1 -1
  534. package/dist/components/snk-config-options2.js.gz +0 -0
  535. package/dist/components/snk-configurator.js.gz +0 -0
  536. package/dist/components/snk-configurator2.js +1 -1
  537. package/dist/components/snk-configurator2.js.gz +0 -0
  538. package/dist/components/snk-crud.js +88 -71
  539. package/dist/components/snk-crud.js.gz +0 -0
  540. package/dist/components/snk-custom-slot-elements.js.gz +0 -0
  541. package/dist/components/snk-data-exporter.js.gz +0 -0
  542. package/dist/components/snk-data-exporter2.js +35 -21
  543. package/dist/components/snk-data-exporter2.js.gz +0 -0
  544. package/dist/components/snk-data-unit.js.gz +0 -0
  545. package/dist/components/snk-data-unit2.js +52 -28
  546. package/dist/components/snk-data-unit2.js.gz +0 -0
  547. package/dist/components/snk-detail-view.js.gz +0 -0
  548. package/dist/components/snk-detail-view2.js +114 -105
  549. package/dist/components/snk-detail-view2.js.gz +0 -0
  550. package/dist/components/snk-entity-list.js.gz +0 -0
  551. package/dist/components/snk-exporter-email-sender.js.gz +0 -0
  552. package/dist/components/snk-exporter-email-sender2.js.gz +0 -0
  553. package/dist/components/snk-expression-group.js.gz +0 -0
  554. package/dist/components/snk-expression-group2.js.gz +0 -0
  555. package/dist/components/snk-expression-item.js.gz +0 -0
  556. package/dist/components/snk-expression-item2.js.gz +0 -0
  557. package/dist/components/snk-field-config.js.gz +0 -0
  558. package/dist/components/snk-field-config2.js.gz +0 -0
  559. package/dist/components/snk-filter-advanced-mode.js.gz +0 -0
  560. package/dist/components/snk-filter-advanced-mode2.js.gz +0 -0
  561. package/dist/components/snk-filter-assistent-mode.js.gz +0 -0
  562. package/dist/components/snk-filter-assistent-mode2.js.gz +0 -0
  563. package/dist/components/snk-filter-bar.js.gz +0 -0
  564. package/dist/components/snk-filter-bar2.js +53 -27
  565. package/dist/components/snk-filter-bar2.js.gz +0 -0
  566. package/dist/components/snk-filter-binary-select.js +1 -1
  567. package/dist/components/snk-filter-binary-select.js.gz +0 -0
  568. package/dist/components/snk-filter-checkbox-list.js +1 -1
  569. package/dist/components/snk-filter-checkbox-list.js.gz +0 -0
  570. package/dist/components/snk-filter-detail.js.gz +0 -0
  571. package/dist/components/snk-filter-detail2.js.gz +0 -0
  572. package/dist/components/snk-filter-field-search.js.gz +0 -0
  573. package/dist/components/snk-filter-field-search2.js.gz +0 -0
  574. package/dist/components/snk-filter-item.js.gz +0 -0
  575. package/dist/components/snk-filter-item2.js +10 -4
  576. package/dist/components/snk-filter-item2.js.gz +0 -0
  577. package/dist/components/snk-filter-list.js.gz +0 -0
  578. package/dist/components/snk-filter-modal-item.js.gz +0 -0
  579. package/dist/components/snk-filter-modal-item2.js.gz +0 -0
  580. package/dist/components/snk-filter-modal.js +4 -2
  581. package/dist/components/snk-filter-modal.js.gz +0 -0
  582. package/dist/components/snk-filter-multi-select.js.gz +0 -0
  583. package/dist/components/snk-filter-number.js +1 -1
  584. package/dist/components/snk-filter-number.js.gz +0 -0
  585. package/dist/components/snk-filter-param-config.js.gz +0 -0
  586. package/dist/components/snk-filter-param-config2.js.gz +0 -0
  587. package/dist/components/snk-filter-period.js.gz +0 -0
  588. package/dist/components/snk-filter-search.js.gz +0 -0
  589. package/dist/components/snk-filter-text.js +2 -1
  590. package/dist/components/snk-filter-text.js.gz +0 -0
  591. package/dist/components/snk-form-config.js.gz +0 -0
  592. package/dist/components/snk-form-config2.js +35 -10
  593. package/dist/components/snk-form-config2.js.gz +0 -0
  594. package/dist/components/snk-form-summary.js.gz +0 -0
  595. package/dist/components/snk-form-summary2.js.gz +0 -0
  596. package/dist/components/snk-form-view.js.gz +0 -0
  597. package/dist/components/snk-form-view2.js.gz +0 -0
  598. package/dist/components/snk-form.js +2 -2
  599. package/dist/components/snk-form.js.gz +0 -0
  600. package/dist/components/snk-grid-config.js.gz +0 -0
  601. package/dist/components/snk-grid-config2.js +1 -1
  602. package/dist/components/snk-grid-config2.js.gz +0 -0
  603. package/dist/components/snk-grid.js.gz +0 -0
  604. package/dist/components/snk-grid2.js +91 -15
  605. package/dist/components/snk-grid2.js.gz +0 -0
  606. package/dist/components/snk-guides-viewer.js.gz +0 -0
  607. package/dist/components/snk-personalized-filter-editor.js +4 -4
  608. package/dist/components/snk-personalized-filter-editor.js.gz +0 -0
  609. package/dist/components/snk-personalized-filter.js.gz +0 -0
  610. package/dist/components/snk-personalized-filter2.js.gz +0 -0
  611. package/dist/components/snk-pesquisa.js.gz +0 -0
  612. package/dist/components/snk-pesquisa2.js +132 -33
  613. package/dist/components/snk-pesquisa2.js.gz +0 -0
  614. package/dist/components/snk-print-selector.js +1 -1
  615. package/dist/components/snk-print-selector.js.gz +0 -0
  616. package/dist/components/snk-select-box.js.gz +0 -0
  617. package/dist/components/snk-select-box2.js.gz +0 -0
  618. package/dist/components/snk-simple-bar.js.gz +0 -0
  619. package/dist/components/snk-simple-bar2.js +1 -1
  620. package/dist/components/snk-simple-bar2.js.gz +0 -0
  621. package/dist/components/snk-simple-crud.js.gz +0 -0
  622. package/dist/components/snk-simple-crud2.js +109 -121
  623. package/dist/components/snk-simple-crud2.js.gz +0 -0
  624. package/dist/components/snk-simple-form-config.d.ts +11 -0
  625. package/dist/components/snk-simple-form-config.js +6 -0
  626. package/dist/components/snk-simple-form-config.js.gz +0 -0
  627. package/dist/components/snk-simple-form-config2.js +121 -0
  628. package/dist/components/snk-simple-form-config2.js.gz +0 -0
  629. package/dist/components/snk-tab-config.js.gz +0 -0
  630. package/dist/components/snk-tab-config2.js +1 -1
  631. package/dist/components/snk-tab-config2.js.gz +0 -0
  632. package/dist/components/snk-taskbar.js.gz +0 -0
  633. package/dist/components/snk-taskbar2.js +52 -39
  634. package/dist/components/snk-taskbar2.js.gz +0 -0
  635. package/dist/components/taskbar-actions-button.js.gz +0 -0
  636. package/dist/components/taskbar-actions-button2.js.gz +0 -0
  637. package/dist/components/teste-pesquisa.js +13 -1
  638. package/dist/components/teste-pesquisa.js.gz +0 -0
  639. package/dist/esm/AuthorizationConfig-dcbd207a.js.gz +0 -0
  640. package/dist/esm/ClientSideExporterProvider-bd24a4b3.js +372 -0
  641. package/dist/esm/ClientSideExporterProvider-bd24a4b3.js.gz +0 -0
  642. package/dist/esm/{ConfigStorage-e476378d.js → ConfigStorage-e5c1f4c0.js} +2 -2
  643. package/dist/esm/ConfigStorage-e5c1f4c0.js.gz +0 -0
  644. package/dist/esm/{DataFetcher-773a3e4b.js → DataFetcher-ecf5f903.js} +217 -82
  645. package/dist/esm/DataFetcher-ecf5f903.js.gz +0 -0
  646. package/dist/esm/GetSelectedRecordsIDsInfo-9fa41508.js.gz +0 -0
  647. package/dist/esm/IFetchDataExporterParams-d73bed3d.js +8 -0
  648. package/dist/esm/IFetchDataExporterParams-d73bed3d.js.gz +0 -0
  649. package/dist/esm/ISave-d8c8bc59.js.gz +0 -0
  650. package/dist/esm/ParamType-d5152b06.js.gz +0 -0
  651. package/dist/esm/PersonalizedFilterUtils-e2b38ef7.js.gz +0 -0
  652. package/dist/esm/PrintUtils-3e4ff0f5.js.gz +0 -0
  653. package/dist/esm/ResourceIDUtils-a114189a.js.gz +0 -0
  654. package/dist/esm/{SnkFormConfigManager-298cd647.js → SnkFormConfigManager-1efd102b.js} +75 -17
  655. package/dist/esm/SnkFormConfigManager-1efd102b.js.gz +0 -0
  656. package/dist/esm/{SnkMessageBuilder-ae87b754.js → SnkMessageBuilder-6fff4a4c.js} +5 -1
  657. package/dist/esm/SnkMessageBuilder-6fff4a4c.js.gz +0 -0
  658. package/dist/esm/Sortable-83960219.js.gz +0 -0
  659. package/dist/esm/{auth-fetcher-a411f73c.js → auth-fetcher-9987c66e.js} +1 -1
  660. package/dist/esm/auth-fetcher-9987c66e.js.gz +0 -0
  661. package/dist/esm/{constants-8457af36.js → constants-75abb876.js} +10 -1
  662. package/dist/esm/constants-75abb876.js.gz +0 -0
  663. package/dist/esm/{dataunit-fetcher-3d2ec959.js → dataunit-fetcher-ed6e65ef.js} +216 -167
  664. package/dist/esm/dataunit-fetcher-ed6e65ef.js.gz +0 -0
  665. package/dist/esm/{field-search-efbe307f.js → field-search-f8b1d91e.js} +5 -1
  666. package/dist/esm/field-search-f8b1d91e.js.gz +0 -0
  667. package/dist/esm/filter-item-type.enum-d45e026f.js.gz +0 -0
  668. package/dist/esm/filter-type.enum-a80c1b6b.js.gz +0 -0
  669. package/dist/esm/filterNumberVariation-8cee02ea.js.gz +0 -0
  670. package/dist/esm/{form-config-fetcher-e0382e5a.js → form-config-fetcher-34becd23.js} +42 -2
  671. package/dist/esm/form-config-fetcher-34becd23.js.gz +0 -0
  672. package/dist/esm/index-620ac460.js.gz +0 -0
  673. package/dist/esm/index-a7d3d3f1.js +16 -32
  674. package/dist/esm/index-a7d3d3f1.js.gz +0 -0
  675. package/dist/esm/index-ae591a44.js.gz +0 -0
  676. package/dist/esm/{index-3aa4977a.js → index-b40568ff.js} +6 -1
  677. package/dist/esm/index-b40568ff.js.gz +0 -0
  678. package/dist/esm/{index-bdf75557.js → index-c57e49af.js} +3 -4
  679. package/dist/esm/index-c57e49af.js.gz +0 -0
  680. package/dist/esm/index.js.gz +0 -0
  681. package/dist/esm/loader.js +1 -1
  682. package/dist/esm/loader.js.gz +0 -0
  683. package/dist/esm/pesquisa-fetcher-e26c3295.js +362 -0
  684. package/dist/esm/pesquisa-fetcher-e26c3295.js.gz +0 -0
  685. package/dist/esm/pesquisa-grid_2.entry.js +151 -0
  686. package/dist/esm/pesquisa-grid_2.entry.js.gz +0 -0
  687. package/dist/esm/polyfills/core-js.js.gz +0 -0
  688. package/dist/esm/polyfills/css-shim.js.gz +0 -0
  689. package/dist/esm/polyfills/dom.js.gz +0 -0
  690. package/dist/esm/polyfills/es5-html-element.js.gz +0 -0
  691. package/dist/esm/polyfills/index.js.gz +0 -0
  692. package/dist/esm/polyfills/system.js.gz +0 -0
  693. package/dist/esm/presentationMode-783bbf9d.js.gz +0 -0
  694. package/dist/esm/sankhyablocks.js +1 -1
  695. package/dist/esm/sankhyablocks.js.gz +0 -0
  696. package/dist/esm/{snk-actions-button_4.entry.js → snk-actions-button_5.entry.js} +128 -36
  697. package/dist/esm/snk-actions-button_5.entry.js.gz +0 -0
  698. package/dist/esm/snk-actions-form.entry.js.gz +0 -0
  699. package/dist/esm/snk-application.entry.js +305 -73
  700. package/dist/esm/snk-application.entry.js.gz +0 -0
  701. package/dist/esm/snk-attach.entry.js +93 -51
  702. package/dist/esm/snk-attach.entry.js.gz +0 -0
  703. package/dist/esm/snk-client-confirm.entry.js.gz +0 -0
  704. package/dist/esm/{snk-form-config.entry.js → snk-config-options_3.entry.js} +399 -15
  705. package/dist/esm/snk-config-options_3.entry.js.gz +0 -0
  706. package/dist/esm/snk-configurator.entry.js +2 -2
  707. package/dist/esm/snk-configurator.entry.js.gz +0 -0
  708. package/dist/esm/snk-crud.entry.js +28 -23
  709. package/dist/esm/snk-crud.entry.js.gz +0 -0
  710. package/dist/esm/snk-custom-slot-elements.entry.js.gz +0 -0
  711. package/dist/esm/snk-data-exporter.entry.js +35 -26
  712. package/dist/esm/snk-data-exporter.entry.js.gz +0 -0
  713. package/dist/esm/{snk-data-unit-ac3423fa.js → snk-data-unit-6258b8ae.js} +53 -29
  714. package/dist/esm/snk-data-unit-6258b8ae.js.gz +0 -0
  715. package/dist/esm/snk-data-unit.entry.js +4 -4
  716. package/dist/esm/snk-data-unit.entry.js.gz +0 -0
  717. package/dist/esm/snk-detail-view.entry.js +15 -15
  718. package/dist/esm/snk-detail-view.entry.js.gz +0 -0
  719. package/dist/esm/snk-entity-list.entry.js.gz +0 -0
  720. package/dist/esm/snk-exporter-email-sender.entry.js.gz +0 -0
  721. package/dist/esm/snk-expression-group_2.entry.js +1 -1
  722. package/dist/esm/snk-expression-group_2.entry.js.gz +0 -0
  723. package/dist/esm/snk-field-config.entry.js +1 -1
  724. package/dist/esm/snk-field-config.entry.js.gz +0 -0
  725. package/dist/esm/snk-filter-advanced-mode_2.entry.js.gz +0 -0
  726. package/dist/esm/snk-filter-bar_4.entry.js +1431 -0
  727. package/dist/esm/snk-filter-bar_4.entry.js.gz +0 -0
  728. package/dist/esm/snk-filter-binary-select.entry.js +1 -1
  729. package/dist/esm/snk-filter-binary-select.entry.js.gz +0 -0
  730. package/dist/esm/snk-filter-checkbox-list.entry.js +1 -1
  731. package/dist/esm/snk-filter-checkbox-list.entry.js.gz +0 -0
  732. package/dist/esm/snk-filter-detail.entry.js.gz +0 -0
  733. package/dist/esm/snk-filter-field-search_2.entry.js.gz +0 -0
  734. package/dist/esm/snk-filter-modal-item.entry.js +3 -3
  735. package/dist/esm/snk-filter-modal-item.entry.js.gz +0 -0
  736. package/dist/esm/snk-filter-multi-select.entry.js.gz +0 -0
  737. package/dist/esm/snk-filter-number.entry.js +1 -1
  738. package/dist/esm/snk-filter-number.entry.js.gz +0 -0
  739. package/dist/esm/snk-filter-period.entry.js.gz +0 -0
  740. package/dist/esm/snk-filter-search.entry.js.gz +0 -0
  741. package/dist/esm/snk-filter-text.entry.js +2 -1
  742. package/dist/esm/snk-filter-text.entry.js.gz +0 -0
  743. package/dist/esm/snk-form-summary.entry.js.gz +0 -0
  744. package/dist/esm/snk-form-view.entry.js.gz +0 -0
  745. package/dist/esm/snk-grid.entry.js +90 -20
  746. package/dist/esm/snk-grid.entry.js.gz +0 -0
  747. package/dist/esm/{snk-guides-viewer-43f21b03.js → snk-guides-viewer-39fae8d5.js} +32 -16
  748. package/dist/esm/snk-guides-viewer-39fae8d5.js.gz +0 -0
  749. package/dist/esm/snk-guides-viewer.entry.js +12 -12
  750. package/dist/esm/snk-guides-viewer.entry.js.gz +0 -0
  751. package/dist/esm/snk-personalized-filter-editor.entry.js +4 -4
  752. package/dist/esm/snk-personalized-filter-editor.entry.js.gz +0 -0
  753. package/dist/esm/snk-personalized-filter.entry.js +4 -4
  754. package/dist/esm/snk-personalized-filter.entry.js.gz +0 -0
  755. package/dist/esm/snk-pesquisa.entry.js +117 -31
  756. package/dist/esm/snk-pesquisa.entry.js.gz +0 -0
  757. package/dist/esm/snk-print-selector.entry.js +1 -1
  758. package/dist/esm/snk-print-selector.entry.js.gz +0 -0
  759. package/dist/esm/snk-simple-bar.entry.js +1 -1
  760. package/dist/esm/snk-simple-bar.entry.js.gz +0 -0
  761. package/dist/esm/snk-simple-crud.entry.js +103 -99
  762. package/dist/esm/snk-simple-crud.entry.js.gz +0 -0
  763. package/dist/esm/snk-tab-config.entry.js +1 -1
  764. package/dist/esm/snk-tab-config.entry.js.gz +0 -0
  765. package/dist/esm/snk-taskbar.entry.js +55 -42
  766. package/dist/esm/snk-taskbar.entry.js.gz +0 -0
  767. package/dist/esm/{taskbar-elements-d59867f1.js → taskbar-elements-ed51e143.js} +2 -2
  768. package/dist/esm/taskbar-elements-ed51e143.js.gz +0 -0
  769. package/dist/esm/teste-pesquisa.entry.js.gz +0 -0
  770. package/dist/index.cjs.js.gz +0 -0
  771. package/dist/index.js.gz +0 -0
  772. package/dist/sankhyablocks/index.esm.js.gz +0 -0
  773. package/dist/sankhyablocks/p-057fad05.js.gz +0 -0
  774. package/dist/sankhyablocks/p-0f3698af.js +1 -0
  775. package/dist/sankhyablocks/p-0f3698af.js.gz +0 -0
  776. package/dist/sankhyablocks/p-118e769b.entry.js.gz +0 -0
  777. package/dist/sankhyablocks/p-11afea24.entry.js +1 -0
  778. package/dist/sankhyablocks/p-11afea24.entry.js.gz +0 -0
  779. package/dist/sankhyablocks/p-16a1dd18.entry.js.gz +0 -0
  780. package/dist/sankhyablocks/p-17425c72.js +1 -0
  781. package/dist/sankhyablocks/p-17425c72.js.gz +0 -0
  782. package/dist/sankhyablocks/p-18389343.entry.js +1 -0
  783. package/dist/sankhyablocks/p-18389343.entry.js.gz +0 -0
  784. package/dist/sankhyablocks/p-1a68fb59.js.gz +0 -0
  785. package/dist/sankhyablocks/{p-b0ef4383.js → p-1d19a5b0.js} +1 -1
  786. package/dist/sankhyablocks/p-1d19a5b0.js.gz +0 -0
  787. package/dist/sankhyablocks/p-1db45d26.entry.js.gz +0 -0
  788. package/dist/sankhyablocks/p-21749402.js.gz +0 -0
  789. package/dist/sankhyablocks/p-21a81901.entry.js.gz +0 -0
  790. package/dist/sankhyablocks/p-22ddc147.js +26 -0
  791. package/dist/sankhyablocks/p-22ddc147.js.gz +0 -0
  792. package/dist/sankhyablocks/p-23736d75.js +1 -0
  793. package/dist/sankhyablocks/p-23736d75.js.gz +0 -0
  794. package/dist/sankhyablocks/{p-8eb67fa4.entry.js → p-23cd6abf.entry.js} +1 -1
  795. package/dist/sankhyablocks/p-23cd6abf.entry.js.gz +0 -0
  796. package/dist/sankhyablocks/p-240ac47f.entry.js +1 -0
  797. package/dist/sankhyablocks/p-240ac47f.entry.js.gz +0 -0
  798. package/dist/sankhyablocks/p-26b0ce3e.entry.js.gz +0 -0
  799. package/dist/sankhyablocks/{p-27b57eb7.entry.js → p-2746d606.entry.js} +1 -1
  800. package/dist/sankhyablocks/p-2746d606.entry.js.gz +0 -0
  801. package/dist/sankhyablocks/{p-95df461f.entry.js → p-2953c481.entry.js} +1 -1
  802. package/dist/sankhyablocks/p-2953c481.entry.js.gz +0 -0
  803. package/dist/sankhyablocks/p-33718dfc.entry.js.gz +0 -0
  804. package/dist/sankhyablocks/p-3ab6df3d.entry.js.gz +0 -0
  805. package/dist/sankhyablocks/p-3ce68be5.js +1 -0
  806. package/dist/sankhyablocks/p-3ce68be5.js.gz +0 -0
  807. package/dist/sankhyablocks/{p-3287a6cc.js → p-3fcb90d6.js} +1 -1
  808. package/dist/sankhyablocks/p-3fcb90d6.js.gz +0 -0
  809. package/dist/sankhyablocks/{p-72fc257b.entry.js → p-434817f0.entry.js} +1 -1
  810. package/dist/sankhyablocks/p-434817f0.entry.js.gz +0 -0
  811. package/dist/sankhyablocks/p-43769aa9.js +1 -0
  812. package/dist/sankhyablocks/p-43769aa9.js.gz +0 -0
  813. package/dist/sankhyablocks/p-47178038.entry.js +1 -0
  814. package/dist/sankhyablocks/p-47178038.entry.js.gz +0 -0
  815. package/dist/sankhyablocks/{p-7663f597.entry.js → p-4c9adf1c.entry.js} +1 -1
  816. package/dist/sankhyablocks/p-4c9adf1c.entry.js.gz +0 -0
  817. package/dist/sankhyablocks/{p-7e7a7473.js → p-517efc93.js} +1 -1
  818. package/dist/sankhyablocks/p-517efc93.js.gz +0 -0
  819. package/dist/sankhyablocks/p-54a5d52a.entry.js.gz +0 -0
  820. package/dist/sankhyablocks/p-5a7e18f4.js +1 -0
  821. package/dist/sankhyablocks/p-5a7e18f4.js.gz +0 -0
  822. package/dist/sankhyablocks/p-5e9fbd76.js +1 -0
  823. package/dist/sankhyablocks/p-5e9fbd76.js.gz +0 -0
  824. package/dist/sankhyablocks/{p-aaa3ee68.entry.js → p-5f157b09.entry.js} +1 -1
  825. package/dist/sankhyablocks/p-5f157b09.entry.js.gz +0 -0
  826. package/dist/sankhyablocks/p-688dcb4c.js.gz +0 -0
  827. package/dist/sankhyablocks/p-6b898a51.entry.js +1 -0
  828. package/dist/sankhyablocks/p-6b898a51.entry.js.gz +0 -0
  829. package/dist/sankhyablocks/p-77168ab4.entry.js +1 -0
  830. package/dist/sankhyablocks/p-77168ab4.entry.js.gz +0 -0
  831. package/dist/sankhyablocks/p-79f823f3.entry.js +1 -0
  832. package/dist/sankhyablocks/p-79f823f3.entry.js.gz +0 -0
  833. package/dist/sankhyablocks/p-7dd49d15.js.gz +0 -0
  834. package/dist/sankhyablocks/p-7e0a0aae.js +60 -0
  835. package/dist/sankhyablocks/p-7e0a0aae.js.gz +0 -0
  836. package/dist/sankhyablocks/p-7e2ded86.entry.js.gz +0 -0
  837. package/dist/sankhyablocks/p-8002dcd0.entry.js.gz +0 -0
  838. package/dist/sankhyablocks/p-81f5e44b.entry.js +11 -0
  839. package/dist/sankhyablocks/p-81f5e44b.entry.js.gz +0 -0
  840. package/dist/sankhyablocks/p-89c92727.entry.js +1 -0
  841. package/dist/sankhyablocks/p-89c92727.entry.js.gz +0 -0
  842. package/dist/sankhyablocks/{p-41f8bfa3.entry.js → p-8c235d4c.entry.js} +1 -1
  843. package/dist/sankhyablocks/p-8c235d4c.entry.js.gz +0 -0
  844. package/dist/sankhyablocks/p-8d884fab.js.gz +0 -0
  845. package/dist/sankhyablocks/p-8f3f2306.js +1 -0
  846. package/dist/sankhyablocks/p-8f3f2306.js.gz +0 -0
  847. package/dist/sankhyablocks/p-91708c3d.entry.js +1 -0
  848. package/dist/sankhyablocks/p-91708c3d.entry.js.gz +0 -0
  849. package/dist/sankhyablocks/p-933c0c0b.js.gz +0 -0
  850. package/dist/sankhyablocks/p-9523fc40.entry.js +1 -0
  851. package/dist/sankhyablocks/p-9523fc40.entry.js.gz +0 -0
  852. package/dist/sankhyablocks/p-9531fd46.entry.js.gz +0 -0
  853. package/dist/sankhyablocks/p-9887a437.entry.js +1 -0
  854. package/dist/sankhyablocks/p-9887a437.entry.js.gz +0 -0
  855. package/dist/sankhyablocks/p-9ebc3f3b.entry.js +1 -0
  856. package/dist/sankhyablocks/p-9ebc3f3b.entry.js.gz +0 -0
  857. package/dist/sankhyablocks/p-a5bdcb3f.entry.js +1 -0
  858. package/dist/sankhyablocks/p-a5bdcb3f.entry.js.gz +0 -0
  859. package/dist/sankhyablocks/{p-bd008859.entry.js → p-a61bbe18.entry.js} +1 -1
  860. package/dist/sankhyablocks/p-a61bbe18.entry.js.gz +0 -0
  861. package/dist/sankhyablocks/{p-0cd3c0a9.js → p-a77bdadc.js} +1 -1
  862. package/dist/sankhyablocks/p-a77bdadc.js.gz +0 -0
  863. package/dist/sankhyablocks/p-abd9681c.js +1 -0
  864. package/dist/sankhyablocks/p-abd9681c.js.gz +0 -0
  865. package/dist/sankhyablocks/p-ac8d1cd6.entry.js.gz +0 -0
  866. package/dist/sankhyablocks/p-bf2acf72.entry.js.gz +0 -0
  867. package/dist/sankhyablocks/{p-9d3a025a.entry.js → p-bfdf92e9.entry.js} +1 -1
  868. package/dist/sankhyablocks/p-bfdf92e9.entry.js.gz +0 -0
  869. package/dist/sankhyablocks/p-c2e468c9.entry.js +1 -0
  870. package/dist/sankhyablocks/p-c2e468c9.entry.js.gz +0 -0
  871. package/dist/sankhyablocks/p-c8622597.entry.js.gz +0 -0
  872. package/dist/sankhyablocks/p-cb1e77e0.entry.js +1 -0
  873. package/dist/sankhyablocks/p-cb1e77e0.entry.js.gz +0 -0
  874. package/dist/sankhyablocks/p-d2d301a6.js.gz +0 -0
  875. package/dist/sankhyablocks/{p-9dfda04a.entry.js → p-d3b9b377.entry.js} +1 -1
  876. package/dist/sankhyablocks/p-d3b9b377.entry.js.gz +0 -0
  877. package/dist/sankhyablocks/p-d9804798.js.gz +0 -0
  878. package/dist/sankhyablocks/p-dc36cfbf.js.gz +0 -0
  879. package/dist/sankhyablocks/p-e289826a.js +1 -0
  880. package/dist/sankhyablocks/p-e289826a.js.gz +0 -0
  881. package/dist/sankhyablocks/p-e51c52cf.entry.js +1 -0
  882. package/dist/sankhyablocks/p-e51c52cf.entry.js.gz +0 -0
  883. package/dist/sankhyablocks/p-e66bcb5c.entry.js +1 -0
  884. package/dist/sankhyablocks/p-e66bcb5c.entry.js.gz +0 -0
  885. package/dist/sankhyablocks/p-eaad0aa8.js.gz +0 -0
  886. package/dist/sankhyablocks/p-ef076eea.js +6 -0
  887. package/dist/sankhyablocks/p-ef076eea.js.gz +0 -0
  888. package/dist/sankhyablocks/p-f4184ce7.js.gz +0 -0
  889. package/dist/sankhyablocks/p-fa80e546.js.gz +0 -0
  890. package/dist/sankhyablocks/p-fa816fb2.js.gz +0 -0
  891. package/dist/sankhyablocks/p-ff1990ad.js.gz +0 -0
  892. package/dist/sankhyablocks/sankhyablocks.esm.js +1 -1
  893. package/dist/sankhyablocks/sankhyablocks.esm.js.gz +0 -0
  894. package/dist/types/components/snk-actions-button/interfaces/index.d.ts +3 -0
  895. package/dist/types/components/snk-actions-button/snk-actions-button.d.ts +3 -2
  896. package/dist/types/components/snk-application/request-listener/DebouncedRequestListener.d.ts +11 -0
  897. package/dist/types/components/snk-application/request-listener/RequestListenerFactory.d.ts +12 -0
  898. package/dist/types/components/snk-application/request-listener/RequestListenerLoadingBar.d.ts +13 -0
  899. package/dist/types/components/snk-application/snk-application.d.ts +38 -14
  900. package/dist/types/components/snk-attach/snk-attach.d.ts +2 -0
  901. package/dist/types/components/snk-crud/snk-crud.d.ts +30 -0
  902. package/dist/types/components/snk-crud/subcomponents/snk-guides-viewer.d.ts +15 -0
  903. package/dist/types/components/snk-data-exporter/data/export-result.d.ts +2 -1
  904. package/dist/types/components/snk-data-exporter/exporter-strategy/ServerSideExporterStrategy.d.ts +1 -0
  905. package/dist/types/components/snk-data-exporter/interfaces/IExporterProvider.d.ts +9 -1
  906. package/dist/types/components/snk-data-exporter/interfaces/IRecordID.d.ts +1 -0
  907. package/dist/types/components/snk-data-exporter/providers/ClientSideExporterProvider.d.ts +3 -1
  908. package/dist/types/components/snk-data-exporter/test/resources/ClientSideExporterStrategyResources.d.ts +3 -3
  909. package/dist/types/components/snk-data-exporter/utils/ParserExport.d.ts +1 -1
  910. package/dist/types/components/snk-data-unit/snk-data-unit.d.ts +2 -0
  911. package/dist/types/components/snk-filter-bar/filter-item/filter-item-type-mask.enum.d.ts +7 -0
  912. package/dist/types/components/snk-filter-bar/filter-item/snk-filter-item.d.ts +2 -0
  913. package/dist/types/components/snk-filter-bar/snk-filter-bar.d.ts +14 -1
  914. package/dist/types/components/snk-form-config/SnkFormConfigManager.d.ts +7 -2
  915. package/dist/types/components/snk-form-config/snk-form-config.d.ts +4 -0
  916. package/dist/types/components/snk-grid/snk-grid.d.ts +37 -0
  917. package/dist/types/components/snk-pesquisa/pesquisa-grid/pesquisa-grid.d.ts +44 -0
  918. package/dist/types/components/snk-pesquisa/pesquisa-tree/pesquisa-tree.d.ts +33 -0
  919. package/dist/types/components/snk-pesquisa/pesquisaHelper.d.ts +24 -0
  920. package/dist/types/components/snk-pesquisa/snk-pesquisa.d.ts +36 -1
  921. package/dist/types/components/snk-simple-crud/snk-simple-crud.d.ts +31 -3
  922. package/dist/types/components/snk-simple-form-config/snk-simple-form-config.d.ts +34 -0
  923. package/dist/types/components/snk-taskbar/processor/taskbar-processor.d.ts +1 -0
  924. package/dist/types/components/snk-taskbar/snk-taskbar.d.ts +1 -0
  925. package/dist/types/components.d.ts +423 -15
  926. package/dist/types/lib/@types/index.d.ts +4 -0
  927. package/dist/types/lib/dataUnit/InMemoryLoader.d.ts +4 -11
  928. package/dist/types/lib/dataUnit/dataUnitInMemoryUtils.d.ts +9 -2
  929. package/dist/types/lib/dataUnit/interfaces/InMemoryLoaderConfig.d.ts +2 -2
  930. package/dist/types/lib/http/data-fetcher/DataFetcher.d.ts +1 -0
  931. package/dist/types/lib/http/data-fetcher/fetchers/AttachFetcher/anexo-sistema-fetcher.d.ts +3 -2
  932. package/dist/types/lib/http/data-fetcher/fetchers/data-unit/DataUnitDataLoader.d.ts +9 -1
  933. package/dist/types/lib/http/data-fetcher/fetchers/data-unit/cache/ArrayRepository.d.ts +4 -0
  934. package/dist/types/lib/http/data-fetcher/fetchers/data-unit/helpers/DataUnitDataLoaderHelper.d.ts +6 -0
  935. package/dist/types/lib/http/data-fetcher/fetchers/data-unit/interfaces/ILoadingInfo.d.ts +4 -0
  936. package/dist/types/lib/http/data-fetcher/fetchers/data-unit/loadstrategy/DatasetStrategy.d.ts +3 -3
  937. package/dist/types/lib/http/data-fetcher/fetchers/fetchDataExporter/interfaces/IFetchDataExporterParams.d.ts +6 -2
  938. package/dist/types/lib/http/data-fetcher/fetchers/form-config-fetcher.d.ts +8 -2
  939. package/dist/types/lib/http/data-fetcher/fetchers/parameters-fecher.d.ts +1 -0
  940. package/dist/types/lib/http/data-fetcher/fetchers/pesquisa-fetcher.d.ts +17 -1
  941. package/dist/types/lib/index.d.ts +1 -0
  942. package/dist/types/lib/utils/ContinuousInsertUtils.d.ts +10 -0
  943. package/dist/types/lib/utils/CrudUtils.d.ts +1 -0
  944. package/dist/types/lib/utils/constants.d.ts +7 -0
  945. package/package.json +7 -6
  946. package/react/components.d.ts +3 -0
  947. package/react/components.js +3 -0
  948. package/react/components.js.map +1 -1
  949. package/dist/cjs/IExporterProvider-10b7fed5.js +0 -230
  950. package/dist/cjs/pesquisa-fetcher-a1d0353f.js +0 -166
  951. package/dist/cjs/snk-config-options.cjs.entry.js +0 -239
  952. package/dist/cjs/snk-filter-bar.cjs.entry.js +0 -722
  953. package/dist/cjs/snk-filter-item.cjs.entry.js +0 -312
  954. package/dist/cjs/snk-filter-list.cjs.entry.js +0 -152
  955. package/dist/cjs/snk-filter-modal.cjs.entry.js +0 -249
  956. package/dist/cjs/snk-form.cjs.entry.js +0 -143
  957. package/dist/components/IExporterProvider.js +0 -298
  958. package/dist/components/pesquisa-fetcher.js +0 -164
  959. package/dist/esm/IExporterProvider-d597f27d.js +0 -221
  960. package/dist/esm/pesquisa-fetcher-a87445a0.js +0 -164
  961. package/dist/esm/snk-config-options.entry.js +0 -235
  962. package/dist/esm/snk-filter-bar.entry.js +0 -718
  963. package/dist/esm/snk-filter-item.entry.js +0 -308
  964. package/dist/esm/snk-filter-list.entry.js +0 -148
  965. package/dist/esm/snk-filter-modal.entry.js +0 -245
  966. package/dist/esm/snk-form.entry.js +0 -139
  967. package/dist/sankhyablocks/p-01ba23cd.entry.js +0 -1
  968. package/dist/sankhyablocks/p-091ce761.js +0 -60
  969. package/dist/sankhyablocks/p-162b9a59.entry.js +0 -11
  970. package/dist/sankhyablocks/p-181975f1.js +0 -26
  971. package/dist/sankhyablocks/p-18ed15f4.entry.js +0 -1
  972. package/dist/sankhyablocks/p-1e596b15.entry.js +0 -1
  973. package/dist/sankhyablocks/p-1f35c795.js +0 -1
  974. package/dist/sankhyablocks/p-25f1fc39.js +0 -6
  975. package/dist/sankhyablocks/p-2d6dc51d.entry.js +0 -1
  976. package/dist/sankhyablocks/p-2e9c764c.entry.js +0 -1
  977. package/dist/sankhyablocks/p-30cf616e.js +0 -1
  978. package/dist/sankhyablocks/p-3b60db06.entry.js +0 -1
  979. package/dist/sankhyablocks/p-42f7b05d.entry.js +0 -1
  980. package/dist/sankhyablocks/p-53412c1d.entry.js +0 -1
  981. package/dist/sankhyablocks/p-594bc21d.js +0 -1
  982. package/dist/sankhyablocks/p-5b26cc7c.entry.js +0 -1
  983. package/dist/sankhyablocks/p-5f016aed.js +0 -1
  984. package/dist/sankhyablocks/p-6dc031de.js +0 -1
  985. package/dist/sankhyablocks/p-70a4af56.entry.js +0 -1
  986. package/dist/sankhyablocks/p-76a65660.js +0 -1
  987. package/dist/sankhyablocks/p-7b8f7242.entry.js +0 -1
  988. package/dist/sankhyablocks/p-7c4aabe2.js +0 -1
  989. package/dist/sankhyablocks/p-81f6d043.entry.js +0 -1
  990. package/dist/sankhyablocks/p-88aa931b.entry.js +0 -1
  991. package/dist/sankhyablocks/p-939e15d3.entry.js +0 -1
  992. package/dist/sankhyablocks/p-96a89d58.entry.js +0 -1
  993. package/dist/sankhyablocks/p-b11aa1e0.entry.js +0 -1
  994. package/dist/sankhyablocks/p-c2495304.js +0 -1
  995. package/dist/sankhyablocks/p-d1791da2.entry.js +0 -1
  996. package/dist/sankhyablocks/p-d3f53df2.entry.js +0 -1
  997. package/dist/sankhyablocks/p-e8763234.entry.js +0 -1
  998. package/dist/sankhyablocks/p-e8bd4c15.js +0 -1
  999. package/dist/sankhyablocks/p-fa155ad6.entry.js +0 -1
  1000. package/dist/sankhyablocks/p-fd8a58ff.entry.js +0 -1
@@ -0,0 +1,151 @@
1
+ import { r as registerInstance, c as createEvent, h, H as Host, F as Fragment } from './index-a7d3d3f1.js';
2
+ import { I as InMemoryLoader } from './dataunit-fetcher-ed6e65ef.js';
3
+ import './DataFetcher-ecf5f903.js';
4
+ import { P as PesquisaFetcher } from './pesquisa-fetcher-e26c3295.js';
5
+ import '@sankhyalabs/core';
6
+ import './index-b40568ff.js';
7
+ import './ISave-d8c8bc59.js';
8
+ import '@sankhyalabs/ezui/dist/collection/utils/constants';
9
+ import '@sankhyalabs/core/dist/dataunit/metadata/UnitMetadata';
10
+ import './filter-item-type.enum-d45e026f.js';
11
+ import './form-config-fetcher-34becd23.js';
12
+ import './constants-75abb876.js';
13
+ import { ApplicationUtils } from '@sankhyalabs/ezui/dist/collection/utils';
14
+ import '@sankhyalabs/ezui/dist/collection/components/ez-grid/utils';
15
+ import '@sankhyalabs/core/dist/utils/SortingUtils';
16
+ import './ResourceIDUtils-a114189a.js';
17
+ import './PrintUtils-3e4ff0f5.js';
18
+
19
+ const pesquisaGridCss = ".sc-pesquisa-grid-h{background:var(--background--xlight, #FFF);overflow-x:auto}ez-grid.sc-pesquisa-grid{--ez-grid__container--shadow:none;--ez-grid__header--shadow:none}";
20
+
21
+ const PesquisaGrid = class {
22
+ constructor(hostRef) {
23
+ registerInstance(this, hostRef);
24
+ this.pesquisaGridSelectItem = createEvent(this, "pesquisaGridSelectItem", 7);
25
+ this._pesquisaFetcher = new PesquisaFetcher();
26
+ this.metadata = undefined;
27
+ this.dataSource = [];
28
+ this.pkField = undefined;
29
+ this.descriptionField = undefined;
30
+ this.entityName = undefined;
31
+ this.shouldLoadConfig = false;
32
+ this._gridConfig = undefined;
33
+ this._inMemoryLoader = undefined;
34
+ this._dataunit = undefined;
35
+ }
36
+ observeDataSource(newValue) {
37
+ if (!this._inMemoryLoader || !this._dataunit || !newValue)
38
+ return;
39
+ this._inMemoryLoader.records = [...newValue];
40
+ }
41
+ observeMetadata() {
42
+ this.initializeDataUnit();
43
+ }
44
+ async observeShouldLoadConfig(newValue) {
45
+ if (!newValue || this._gridConfig)
46
+ return;
47
+ await this.loadGridConfig();
48
+ }
49
+ async loadGridConfig() {
50
+ this._gridConfig = await this._pesquisaFetcher.loadPesquisaGridConfig(this.entityName);
51
+ }
52
+ initializeDataUnit() {
53
+ var _a;
54
+ if (!this.metadata || this._dataunit)
55
+ return;
56
+ this._inMemoryLoader = new InMemoryLoader(this.metadata, (_a = this.dataSource) !== null && _a !== void 0 ? _a : []);
57
+ this._dataunit = this._inMemoryLoader.dataUnit;
58
+ this._dataunit.pageSize = 0;
59
+ }
60
+ handleDbClick(record) {
61
+ const option = {
62
+ value: record[this.pkField],
63
+ label: record[this.descriptionField],
64
+ };
65
+ this.pesquisaGridSelectItem.emit(option);
66
+ }
67
+ async handleConfigChanged({ detail }) {
68
+ var _a;
69
+ const columns = (_a = detail === null || detail === void 0 ? void 0 : detail.columns) !== null && _a !== void 0 ? _a : [];
70
+ await this._pesquisaFetcher.savePesquisaGridConfig(this.entityName, columns);
71
+ }
72
+ render() {
73
+ if (!this.metadata || !this._dataunit)
74
+ return;
75
+ return (h(Host, null, h("ez-grid", { dataUnit: this._dataunit, config: this._gridConfig, canEdit: false, suppressCheckboxColumn: true, compact: true, autoFocus: false, onEzDoubleClick: ({ detail }) => this.handleDbClick(detail), onConfigChange: async (event) => this.handleConfigChanged(event) })));
76
+ }
77
+ static get watchers() { return {
78
+ "dataSource": ["observeDataSource"],
79
+ "metadata": ["observeMetadata"],
80
+ "shouldLoadConfig": ["observeShouldLoadConfig"]
81
+ }; }
82
+ };
83
+ PesquisaGrid.style = pesquisaGridCss;
84
+
85
+ const pesquisaTreeCss = ".sc-pesquisa-tree-h{--snk-pesquisa--tree__action-container--top:var(--space--sm);--snk-pesquisa--tree__action-container--right:var(--space--small);--snk-pesquisa--tree__min-height:var(--space--extra-large);background:var(--background--xlight, #FFF);position:relative;min-height:var(--snk-pesquisa--tree__min-height);height:100%;display:block;overflow-y:auto}.sc-pesquisa-tree-h:hover .actions-container.sc-pesquisa-tree{display:flex}.actions-container.sc-pesquisa-tree{flex-direction:row;position:absolute;top:var(--snk-pesquisa--tree__action-container--top);right:var(--snk-pesquisa--tree__action-container--right);display:none}";
86
+
87
+ const PesquisaTree = class {
88
+ constructor(hostRef) {
89
+ registerInstance(this, hostRef);
90
+ this.pesquisaTreeSelectItem = createEvent(this, "pesquisaTreeSelectItem", 7);
91
+ this.treeLoader = undefined;
92
+ this.argument = undefined;
93
+ this.allowsNonAnalytic = false;
94
+ this.shouldLoadTree = false;
95
+ this.items = [];
96
+ }
97
+ async applyFilter() {
98
+ await this._tree.applyFilter(this.argument);
99
+ }
100
+ async observeShouldLoadTree(newValue) {
101
+ if (!newValue || this.items.length > 0)
102
+ return;
103
+ await this.loadTree();
104
+ }
105
+ async loadTree() {
106
+ if (!this.shouldLoadTree)
107
+ return;
108
+ if (!this.treeLoader || typeof this.treeLoader !== 'function')
109
+ return;
110
+ const response = await this.treeLoader((this.argument || '').trim());
111
+ this.items = [...response];
112
+ }
113
+ expandOrCloseAllItems(items, expanded) {
114
+ return items.map(item => (Object.assign(Object.assign({}, item), { expanded, children: item.children ? this.expandOrCloseAllItems(item.children, expanded) : undefined })));
115
+ }
116
+ handleExpandAll() {
117
+ this.items = [...this.expandOrCloseAllItems(this.items, true)];
118
+ }
119
+ handleCloseAll() {
120
+ this.items = [...this.expandOrCloseAllItems(this.items, false)];
121
+ }
122
+ handleDbClick(item) {
123
+ var _a;
124
+ if (!this.allowsNonAnalytic && !((_a = item['props']) === null || _a === void 0 ? void 0 : _a['analitico'])) {
125
+ const title = 'Erro';
126
+ const message = `Há pelo menos um registro inválido selecionado. Você deve selecionar itens do tipo 'analítico'.`;
127
+ ApplicationUtils.error(title, message);
128
+ return;
129
+ }
130
+ const option = {
131
+ value: item.id,
132
+ label: item.label,
133
+ };
134
+ this.pesquisaTreeSelectItem.emit(option);
135
+ }
136
+ renderEmptyMessage() {
137
+ return (h("div", { class: "ez-flex ez-flex--justify-center ez-flex--align-items-center ez-margin--large ez-text ez-text--xlarge ez-text--secondary" }, h("span", null, "Nenhum registro encontrado...")));
138
+ }
139
+ render() {
140
+ var _a;
141
+ return (h(Host, null, !((_a = this.items) === null || _a === void 0 ? void 0 : _a.length) ?
142
+ this.renderEmptyMessage() :
143
+ h(Fragment, null, h("div", { class: 'actions-container' }, h("ez-button", { size: 'small', mode: 'icon', class: 'ez-margin-right--small', iconName: 'show-list', title: "Expandir", onClick: () => this.handleExpandAll() }), h("ez-button", { size: 'small', mode: 'icon', iconName: 'hide-list', title: "Recolher", onClick: () => this.handleCloseAll() })), h("ez-tree", { ref: (element) => this._tree = element, onEzDbClickItem: ({ detail }) => this.handleDbClick(detail), items: this.items }))));
144
+ }
145
+ static get watchers() { return {
146
+ "shouldLoadTree": ["observeShouldLoadTree"]
147
+ }; }
148
+ };
149
+ PesquisaTree.style = pesquisaTreeCss;
150
+
151
+ export { PesquisaGrid as pesquisa_grid, PesquisaTree as pesquisa_tree };
Binary file
Binary file
Binary file
Binary file
@@ -14,5 +14,5 @@ const patchBrowser = () => {
14
14
  };
15
15
 
16
16
  patchBrowser().then(options => {
17
- return bootstrapLazy(JSON.parse("[[\"teste-pesquisa\",[[1,\"teste-pesquisa\"]]],[\"snk-filter-modal\",[[0,\"snk-filter-modal\",{\"getMessage\":[16],\"configName\":[1025,\"config-name\"],\"filters\":[1040],\"applyFilters\":[16],\"closeModal\":[16],\"addPersonalizedFilter\":[16],\"editPersonalizedFilter\":[16],\"deletePersonalizedFilter\":[16],\"filtersToDelete\":[16],\"disablePersonalizedFilter\":[4,\"disable-personalized-filter\"]},[[0,\"deleteFilter\",\"deletePersonalizedFilterListener\"]]]]],[\"snk-actions-form\",[[2,\"snk-actions-form\",{\"action\":[16],\"applyParameters\":[16],\"dataUnit\":[32],\"openPopup\":[64]}]]],[\"snk-client-confirm\",[[2,\"snk-client-confirm\",{\"titleMessage\":[1,\"title-message\"],\"message\":[1],\"accept\":[16],\"cancel\":[16],\"openPopup\":[64]}]]],[\"snk-custom-slot-elements\",[[6,\"snk-custom-slot-elements\",{\"slotName\":[1,\"slot-name\"]}]]],[\"snk-entity-list\",[[2,\"snk-entity-list\",{\"config\":[1040],\"rightListSlotBuilder\":[1040],\"maxHeightList\":[1,\"max-height-list\"],\"_searchValue\":[32],\"_ezListSource\":[32],\"reloadList\":[64]}]]],[\"snk-filter-binary-select\",[[0,\"snk-filter-binary-select\",{\"value\":[1544],\"config\":[16],\"presentationMode\":[2,\"presentation-mode\"],\"resetValues\":[64]},[[0,\"ezChange\",\"ezChangeListener\"]]]]],[\"snk-filter-checkbox-list\",[[0,\"snk-filter-checkbox-list\",{\"config\":[1040],\"optionsList\":[32]}]]],[\"snk-filter-list\",[[4,\"snk-filter-list\",{\"label\":[1],\"iconName\":[1,\"icon-name\"],\"items\":[16],\"getMessage\":[16],\"emptyText\":[1,\"empty-text\"],\"findFilterText\":[1,\"find-filter-text\"],\"buttonClass\":[1,\"button-class\"],\"_filterArgument\":[32],\"_showAll\":[32],\"hideDetail\":[64]},[[2,\"keydown\",\"keyDownHandler\"]]]]],[\"snk-filter-multi-select\",[[0,\"snk-filter-multi-select\",{\"value\":[1544],\"config\":[16],\"show\":[64]},[[0,\"ezChange\",\"ezChangeListener\"]]]]],[\"snk-filter-number\",[[0,\"snk-filter-number\",{\"config\":[16],\"getMessage\":[16],\"value\":[2],\"presentationMode\":[2,\"presentation-mode\"],\"show\":[64]},[[0,\"ezChange\",\"ezChangeListener\"]]]]],[\"snk-filter-period\",[[0,\"snk-filter-period\",{\"config\":[16],\"getMessage\":[16],\"value\":[8],\"presentationMode\":[2,\"presentation-mode\"],\"show\":[64]},[[0,\"ezChange\",\"ezChangeListener\"]]]]],[\"snk-filter-search\",[[0,\"snk-filter-search\",{\"config\":[16],\"value\":[16],\"show\":[64]},[[0,\"ezChange\",\"ezChangeListener\"]]]]],[\"snk-filter-text\",[[0,\"snk-filter-text\",{\"config\":[16],\"value\":[1]},[[0,\"ezChange\",\"ezChangeListener\"]]]]],[\"snk-personalized-filter-editor\",[[2,\"snk-personalized-filter-editor\",{\"messagesBuilder\":[1040],\"presentationMode\":[2,\"presentation-mode\"],\"config\":[16],\"value\":[1040],\"items\":[32],\"show\":[64]}]]],[\"snk-print-selector\",[[2,\"snk-print-selector\",{\"_printServerActive\":[32],\"_selectedPrinter\":[32],\"_remotePrintersDataSource\":[32],\"_localPrintersDataSource\":[32],\"_printJobData\":[32],\"openPrintSelector\":[64]}]]],[\"snk-filter-modal-item\",[[0,\"snk-filter-modal-item\",{\"filterItem\":[1040],\"configName\":[1025,\"config-name\"],\"resourceID\":[1,\"resource-i-d\"]}]]],[\"snk-pesquisa\",[[2,\"snk-pesquisa\",{\"searchLoader\":[16],\"selectItem\":[16],\"argument\":[1025],\"_itemList\":[32],\"_startLoading\":[32]}]]],[\"snk-simple-crud\",[[6,\"snk-simple-crud\",{\"dataState\":[16],\"dataUnit\":[16],\"entityName\":[1,\"entity-name\"],\"mode\":[2],\"gridConfig\":[1040],\"formConfig\":[1040],\"multipleSelection\":[4,\"multiple-selection\"],\"useCancelConfirm\":[4,\"use-cancel-confirm\"],\"pageSize\":[2,\"page-size\"],\"resourceID\":[1,\"resource-i-d\"],\"taskbarManager\":[16],\"messagesBuilder\":[1040],\"useEnterLikeTab\":[4,\"use-enter-like-tab\"],\"actionsList\":[16],\"configName\":[1025,\"config-name\"],\"showConfiguratorButtons\":[4,\"show-configurator-buttons\"],\"gridLegacyConfigName\":[1,\"grid-legacy-config-name\"],\"formLegacyConfigName\":[1,\"form-legacy-config-name\"],\"ignoreReadOnlyFormFields\":[4,\"ignore-read-only-form-fields\"],\"autoFocus\":[4,\"auto-focus\"],\"domainMessagesBuilder\":[1,\"domain-messages-builder\"],\"autoLoad\":[4,\"auto-load\"],\"_showPopUpGridConfig\":[32],\"_showFormConfig\":[32],\"_currentViewMode\":[32],\"_config\":[32],\"_fieldToGetFocus\":[32],\"_customContainerId\":[32],\"_formFields\":[32],\"_fieldsProps\":[32],\"addCustomEditor\":[64],\"addGridCustomRender\":[64],\"addCustomValueFormatter\":[64],\"removeCustomValueFormatter\":[64],\"setFieldProp\":[64],\"goToView\":[64],\"setMetadata\":[64],\"setRecords\":[64],\"getRecords\":[64],\"openConfigurator\":[64],\"closeConfigurator\":[64],\"updateConfig\":[64]},[[0,\"actionClick\",\"actionClickListener\"]]]]],[\"snk-attach\",[[2,\"snk-attach\",{\"fetcherType\":[1,\"fetcher-type\"],\"fetcher\":[16],\"dataUnit\":[16],\"dataUnitBuilder\":[16],\"registerKey\":[1,\"register-key\"],\"entityName\":[1,\"entity-name\"],\"messagesBuilder\":[1040],\"_currentFetcher\":[32],\"_currentDataUnit\":[32],\"crudConfig\":[32]}]]],[\"snk-form-summary\",[[2,\"snk-form-summary\",{\"fixed\":[1540],\"contracted\":[1540],\"summary\":[16]}]]],[\"snk-form-view\",[[6,\"snk-form-view\",{\"levelPath\":[1,\"level-path\"],\"label\":[1],\"name\":[1],\"fields\":[16],\"formMetadata\":[8,\"form-metadata\"],\"dataUnit\":[16],\"contracted\":[4],\"fixed\":[1540],\"summaryFields\":[16],\"canExpand\":[4,\"can-expand\"],\"canFix\":[4,\"can-fix\"],\"recordsValidator\":[16],\"fieldToFocus\":[1,\"field-to-focus\"],\"customEditors\":[16],\"fieldsProps\":[16],\"showUp\":[64],\"addCustomEditor\":[64],\"setFieldProp\":[64]}]]],[\"snk-filter-field-search_2\",[[2,\"snk-filter-field-search\",{\"searchable\":[4],\"fieldsDataSource\":[16],\"breadcrumbItems\":[32],\"linkItems\":[32],\"fieldItems\":[32],\"searchEmpty\":[32],\"groupEmpty\":[32],\"show\":[64],\"applyFilter\":[64]}],[0,\"snk-filter-param-config\",{\"messagesBuilder\":[1040],\"_opened\":[32],\"_configType\":[32],\"_expressionItem\":[32],\"_informedInstance\":[32],\"_canSave\":[32],\"open\":[64],\"close\":[64]}]]],[\"snk-expression-group_2\",[[2,\"snk-expression-group\",{\"parentTop\":[1026,\"parent-top\"],\"group\":[1040],\"messagesBuilder\":[1040],\"filterId\":[1025,\"filter-id\"],\"entityURI\":[1025,\"entity-u-r-i\"],\"_conditionOperator\":[32],\"_group\":[32],\"_selfTop\":[32],\"canAddExpression\":[32],\"_showDashes\":[32],\"getExpressionGroup\":[64]},[[8,\"ezExpressionLayoutChanged\",\"todoCompletedHandler\"]]],[2,\"snk-expression-item\",{\"expression\":[16],\"canRemove\":[516,\"can-remove\"],\"messagesBuilder\":[1040],\"entityURI\":[1025,\"entity-u-r-i\"],\"_showValueVariable\":[32],\"_fieldSelected\":[32],\"_optionNotNull\":[32]}]]],[\"snk-personalized-filter\",[[2,\"snk-personalized-filter\",{\"messagesBuilder\":[1040],\"entityUri\":[1025,\"entity-uri\"],\"filterId\":[1025,\"filter-id\"],\"configName\":[1025,\"config-name\"],\"resourceID\":[1,\"resource-i-d\"],\"_filterAssistentMode\":[32],\"_filterAssistent\":[32],\"createPersonalizedFilter\":[64]}]]],[\"snk-filter-item\",[[0,\"snk-filter-item\",{\"config\":[1040],\"getMessage\":[16],\"showChips\":[4,\"show-chips\"],\"detailIsVisible\":[32],\"showUp\":[64],\"hideDetail\":[64]},[[2,\"click\",\"clickListener\"],[2,\"mousedown\",\"mouseDownListener\"],[0,\"filterChange\",\"filterChangeListener\"]]]]],[\"snk-filter-bar\",[[2,\"snk-filter-bar\",{\"dataUnit\":[1040],\"title\":[1],\"configName\":[1,\"config-name\"],\"resourceID\":[1,\"resource-i-d\"],\"mode\":[1],\"filterConfig\":[1040],\"messagesBuilder\":[1040],\"disablePersonalizedFilter\":[4,\"disable-personalized-filter\"],\"filterBarLegacyConfigName\":[1,\"filter-bar-legacy-config-name\"],\"autoLoad\":[4,\"auto-load\"],\"allowDefault\":[32],\"scrollerLocked\":[32],\"showPersonalizedFilter\":[32],\"personalizedFilterId\":[32],\"reload\":[64],\"getFilterItem\":[64],\"updateFilterItem\":[64],\"addFilterItem\":[64],\"removeFilterItem\":[64],\"showFilterModal\":[64]},[[0,\"filterChange\",\"filterChangeListener\"]]]]],[\"snk-grid\",[[6,\"snk-grid\",{\"columnFilterDataSource\":[1040],\"configName\":[1,\"config-name\"],\"filterBarTitle\":[1,\"filter-bar-title\"],\"resourceID\":[1,\"resource-i-d\"],\"selectionToastConfig\":[16],\"actionsList\":[16],\"isDetail\":[4,\"is-detail\"],\"taskbarManager\":[16],\"statusResolver\":[16],\"multipleSelection\":[4,\"multiple-selection\"],\"presentationMode\":[1,\"presentation-mode\"],\"messagesBuilder\":[1040],\"useEnterLikeTab\":[4,\"use-enter-like-tab\"],\"recordsValidator\":[16],\"canEdit\":[4,\"can-edit\"],\"taskbarCustomContainerId\":[1,\"taskbar-custom-container-id\"],\"gridHeaderCustomSlotId\":[1,\"grid-header-custom-slot-id\"],\"topTaskbarCustomSlotId\":[1,\"top-taskbar-custom-slot-id\"],\"disablePersonalizedFilter\":[4,\"disable-personalized-filter\"],\"gridLegacyConfigName\":[1,\"grid-legacy-config-name\"],\"filterBarLegacyConfigName\":[1,\"filter-bar-legacy-config-name\"],\"autoLoad\":[4,\"auto-load\"],\"autoFocus\":[4,\"auto-focus\"],\"_dataUnit\":[32],\"_dataState\":[32],\"_gridConfig\":[32],\"_popUpGridConfig\":[32],\"_showSnkFilterBar\":[32],\"showConfig\":[64],\"hideConfig\":[64],\"setConfig\":[64],\"reloadFilterBar\":[64],\"getFilterBar\":[64],\"findColumn\":[64],\"addCustomEditor\":[64],\"addGridCustomRender\":[64],\"addCustomValueFormatter\":[64],\"removeCustomValueFormatter\":[64],\"setFocus\":[64]}]]],[\"snk-configurator\",[[2,\"snk-configurator\",{\"showActionButtons\":[4,\"show-action-buttons\"],\"configName\":[1,\"config-name\"],\"resourceID\":[1,\"resource-i-d\"],\"viewMode\":[2,\"view-mode\"],\"customContainerId\":[1,\"custom-container-id\"],\"messagesBuilder\":[1040],\"_opened\":[32],\"_permissions\":[32],\"open\":[64],\"close\":[64]}]]],[\"snk-data-unit\",[[2,\"snk-data-unit\",{\"dataState\":[1040],\"messagesBuilder\":[1040],\"dataUnitName\":[1,\"data-unit-name\"],\"entityName\":[1,\"entity-name\"],\"pageSize\":[2,\"page-size\"],\"dataUnit\":[1040],\"beforeSave\":[16],\"afterSave\":[16],\"useCancelConfirm\":[4,\"use-cancel-confirm\"],\"ignoreSaveMessage\":[4,\"ignore-save-message\"],\"configName\":[1,\"config-name\"],\"resourceID\":[1,\"resource-i-d\"],\"domainMessagesBuilder\":[1,\"domain-messages-builder\"],\"fieldsToLink\":[32],\"getDataUnit\":[64],\"getSelectedRecordsIDsInfo\":[64],\"getFieldsWithRmp\":[64],\"getFieldsWithRmPrecision\":[64],\"getRowMetadata\":[64]}]]],[\"snk-taskbar\",[[6,\"snk-taskbar\",{\"alignRigth\":[4,\"align-rigth\"],\"customSlotId\":[1,\"custom-slot-id\"],\"customContainerId\":[1,\"custom-container-id\"],\"overflowStrategy\":[1,\"overflow-strategy\"],\"configName\":[1,\"config-name\"],\"resourceID\":[1,\"resource-i-d\"],\"buttons\":[1],\"customButtons\":[16],\"actionsList\":[16],\"primaryButton\":[1,\"primary-button\"],\"disabledButtons\":[16],\"dataUnit\":[16],\"presentationMode\":[1537,\"presentation-mode\"],\"messagesBuilder\":[1040],\"_permissions\":[32],\"_overFlowedElements\":[32],\"_customElements\":[32],\"_customElementsId\":[32],\"_slotContainer\":[32],\"_hiddenActionsList\":[32],\"_lastWidth\":[32],\"_hasToUpdateOverFlow\":[32],\"_isWaitingForSave\":[32]},[[8,\"snkCustomSlotElementsLoaded\",\"handleCustomSlotElementsLoaded\"],[8,\"taskbarSaveLocker\",\"handleTaskbarSaveLocker\"],[8,\"taskbarSaveUnlocker\",\"handleTaskbarSaveUnlocker\"]]]]],[\"snk-filter-detail\",[[0,\"snk-filter-detail\",{\"config\":[1040],\"getMessage\":[16],\"showHardFixed\":[4,\"show-hard-fixed\"],\"show\":[64]}]]],[\"snk-config-options\",[[2,\"snk-config-options\",{\"fieldConfig\":[16],\"idConfig\":[513,\"id-config\"],\"dataUnit\":[16],\"messagesBuilder\":[1040],\"_defaultType\":[32]}]]],[\"snk-field-config\",[[2,\"snk-field-config\",{\"isConfigActive\":[16],\"fieldConfig\":[16],\"modeInsertion\":[516,\"mode-insertion\"],\"dataUnit\":[16],\"messagesBuilder\":[1040]}]]],[\"snk-simple-bar\",[[6,\"snk-simple-bar\",{\"label\":[1],\"breadcrumbItens\":[16],\"messagesBuilder\":[1040]}]]],[\"snk-tab-config\",[[6,\"snk-tab-config\",{\"selectedIndex\":[1538,\"selected-index\"],\"selectedTab\":[1537,\"selected-tab\"],\"tabs\":[1],\"tabItems\":[16],\"messagesBuilder\":[1040],\"_processedTabs\":[32],\"_activeEditText\":[32],\"_activeEditTextIndex\":[32],\"_actionsHide\":[32],\"_actionsShow\":[32]}]]],[\"snk-form-config\",[[2,\"snk-form-config\",{\"dataUnit\":[16],\"configManager\":[16],\"messagesBuilder\":[1040],\"_formConfigOptions\":[32],\"_fieldConfigSelected\":[32],\"_layoutFormConfig\":[32],\"_fieldsAvailable\":[32],\"_formConfig\":[32],\"_formConfigChanged\":[32],\"_optionFormConfigSelected\":[32],\"_optionFormConfigChanged\":[32],\"_tempGroups\":[32]}]]],[\"snk-exporter-email-sender\",[[0,\"snk-exporter-email-sender\",{\"getMessage\":[16],\"_config\":[32],\"_opened\":[32],\"_currentStep\":[32],\"open\":[64],\"close\":[64]}]]],[\"snk-crud\",[[6,\"snk-crud\",{\"configName\":[1025,\"config-name\"],\"filterBarTitle\":[1,\"filter-bar-title\"],\"selectionToastConfig\":[16],\"showActionButtons\":[4,\"show-action-buttons\"],\"actionsList\":[16],\"taskbarManager\":[16],\"recordsValidator\":[16],\"statusResolver\":[16],\"multipleSelection\":[4,\"multiple-selection\"],\"presentationMode\":[1,\"presentation-mode\"],\"messagesBuilder\":[1040],\"useEnterLikeTab\":[4,\"use-enter-like-tab\"],\"gridLegacyConfigName\":[1,\"grid-legacy-config-name\"],\"filterBarLegacyConfigName\":[1,\"filter-bar-legacy-config-name\"],\"formLegacyConfigName\":[1,\"form-legacy-config-name\"],\"disablePersonalizedFilter\":[4,\"disable-personalized-filter\"],\"autoLoad\":[4,\"auto-load\"],\"autoFocus\":[4,\"auto-focus\"],\"domainMessagesBuilder\":[1,\"domain-messages-builder\"],\"_dataUnit\":[32],\"_dataState\":[32],\"attachmentRegisterKey\":[32],\"_currentViewMode\":[32],\"_canEdit\":[32],\"_resourceID\":[32],\"customContainerId\":[32],\"goToView\":[64],\"openConfigurator\":[64],\"closeConfigurator\":[64],\"reloadFilterBar\":[64],\"getFilterBar\":[64],\"addCustomEditor\":[64],\"addGridCustomRender\":[64],\"addCustomValueFormatter\":[64],\"removeCustomValueFormatter\":[64],\"setFieldProp\":[64]}]]],[\"snk-form\",[[2,\"snk-form\",{\"configName\":[1,\"config-name\"],\"recordsValidator\":[16],\"messagesBuilder\":[1040],\"formLegacyConfigName\":[1,\"form-legacy-config-name\"],\"resourceID\":[1,\"resource-i-d\"],\"_dataUnit\":[32],\"_dataState\":[32],\"_showFormConfig\":[32],\"_configManager\":[32],\"showConfig\":[64],\"hideConfig\":[64],\"addCustomEditor\":[64],\"setFieldProp\":[64]}]]],[\"snk-data-exporter\",[[2,\"snk-data-exporter\",{\"provider\":[16],\"messagesBuilder\":[1040],\"_items\":[32],\"_showDropdown\":[32]}]]],[\"snk-guides-viewer\",[[6,\"snk-guides-viewer\",{\"dataUnit\":[16],\"dataState\":[16],\"configName\":[1,\"config-name\"],\"entityPath\":[1,\"entity-path\"],\"actionsList\":[16],\"recordsValidator\":[16],\"masterFormConfig\":[1040],\"selectedGuide\":[16],\"taskbarManager\":[16],\"messagesBuilder\":[1040],\"canEdit\":[4,\"can-edit\"],\"presentationMode\":[1,\"presentation-mode\"],\"resourceID\":[1,\"resource-i-d\"],\"detailTaskbarCustomContainerId\":[1,\"detail-taskbar-custom-container-id\"],\"formLegacyConfigName\":[1,\"form-legacy-config-name\"],\"_hasToCreateFieldSearch\":[32],\"_breadcrumbItems\":[32],\"_guides\":[32],\"_formEditorConfigManager\":[32],\"_formEditorDataUnit\":[32],\"_fieldToGetFocus\":[32],\"_customEditors\":[32],\"_customRenders\":[32],\"_fieldsProps\":[32],\"showFormConfig\":[64],\"findField\":[64],\"addCustomEditor\":[64],\"addGridCustomRender\":[64],\"setFieldProp\":[64],\"setFocus\":[64]},[[2,\"actionClick\",\"onActionClick\"],[0,\"snkContentCardChanged\",\"onContentCardChanged\"]]]]],[\"snk-application\",[[2,\"snk-application\",{\"messagesBuilder\":[1040],\"configName\":[1,\"config-name\"],\"gridLegacyConfigName\":[1,\"grid-legacy-config-name\"],\"formLegacyConfigName\":[1,\"form-legacy-config-name\"],\"loadByPK\":[16],\"getKeyboardManager\":[64],\"isUserSup\":[64],\"addPendingAction\":[64],\"callServiceBroker\":[64],\"initOnboarding\":[64],\"hasAccess\":[64],\"getAllAccess\":[64],\"getStringParam\":[64],\"getIntParam\":[64],\"getFloatParam\":[64],\"getBooleanParam\":[64],\"getDateParam\":[64],\"showPopUp\":[64],\"showModal\":[64],\"showAlerts\":[64],\"closeModal\":[64],\"closePopUp\":[64],\"temOpcional\":[64],\"getConfig\":[64],\"saveConfig\":[64],\"getAttributeFromHTMLWrapper\":[64],\"openApp\":[64],\"webConnection\":[64],\"createDataunit\":[64],\"updateDataunitCache\":[64],\"getDataUnit\":[64],\"addClientEvent\":[64],\"removeClientEvent\":[64],\"hasClientEvent\":[64],\"getResourceID\":[64],\"getUserID\":[64],\"alert\":[64],\"error\":[64],\"success\":[64],\"message\":[64],\"confirm\":[64],\"info\":[64],\"loadTotals\":[64],\"isLoadedByPk\":[64],\"executeSearch\":[64],\"executePreparedSearch\":[64],\"isDebugMode\":[64],\"getAppLabel\":[64],\"addSearchListener\":[64],\"importScript\":[64],\"getApplicationPath\":[64],\"executeSelectDistinct\":[64],\"getDataFetcher\":[64],\"whenApplicationReady\":[64],\"setSearchFilterContext\":[64]}]]],[\"snk-filter-advanced-mode_2\",[[2,\"snk-filter-assistent-mode\",{\"filterAssistent\":[1040],\"messagesBuilder\":[1040],\"filterId\":[1025,\"filter-id\"],\"entityUri\":[1025,\"entity-uri\"],\"application\":[1040]}],[2,\"snk-filter-advanced-mode\",{\"filterAssistent\":[1040],\"application\":[1040]}]]],[\"snk-actions-button_4\",[[2,\"snk-grid-config\",{\"selectedIndex\":[1026,\"selected-index\"],\"columns\":[1040],\"config\":[1040],\"configName\":[1,\"config-name\"],\"resourceID\":[1,\"resource-i-d\"]}],[2,\"snk-actions-button\",{\"_items\":[32],\"_showDropdown\":[32],\"_actions\":[32],\"_isOrderActions\":[32]}],[1,\"snk-select-box\",{\"selectedOption\":[1,\"selected-option\"]}],[2,\"taskbar-actions-button\",{\"title\":[1],\"enabled\":[4],\"actions\":[16],\"_showDropdown\":[32],\"showActions\":[64],\"hideActions\":[64],\"isOpened\":[64]},[[8,\"keydown\",\"handleKeyDown\"],[8,\"ezOpenModal\",\"handleClose\"]]]]],[\"snk-detail-view\",[[6,\"snk-detail-view\",{\"formConfigManager\":[1040],\"dataUnitName\":[1,\"data-unit-name\"],\"resourceID\":[1,\"resource-i-d\"],\"guideItemPath\":[16],\"entityName\":[1,\"entity-name\"],\"label\":[1],\"dataUnit\":[1040],\"selectedForm\":[1025,\"selected-form\"],\"dataState\":[1040],\"messagesBuilder\":[1040],\"branchGuide\":[1040],\"canEdit\":[4,\"can-edit\"],\"taskbarCustomContainerId\":[1,\"taskbar-custom-container-id\"],\"customEditors\":[16],\"customRenders\":[16],\"_disabledButtons\":[32],\"_currentView\":[32],\"attachmentRegisterKey\":[32],\"changeViewMode\":[64],\"configGrid\":[64],\"showUp\":[64],\"addCustomEditor\":[64],\"addGridCustomRender\":[64]},[[0,\"snkContentCardChanged\",\"onContentCardChanged\"]]]]]]"), options);
17
+ return bootstrapLazy(JSON.parse("[[\"teste-pesquisa\",[[1,\"teste-pesquisa\"]]],[\"snk-actions-form\",[[2,\"snk-actions-form\",{\"action\":[16],\"applyParameters\":[16],\"dataUnit\":[32],\"openPopup\":[64]}]]],[\"snk-client-confirm\",[[2,\"snk-client-confirm\",{\"titleMessage\":[1,\"title-message\"],\"message\":[1],\"accept\":[16],\"cancel\":[16],\"openPopup\":[64]}]]],[\"snk-custom-slot-elements\",[[6,\"snk-custom-slot-elements\",{\"slotName\":[1,\"slot-name\"]}]]],[\"snk-entity-list\",[[2,\"snk-entity-list\",{\"config\":[1040],\"rightListSlotBuilder\":[1040],\"maxHeightList\":[1,\"max-height-list\"],\"_searchValue\":[32],\"_ezListSource\":[32],\"reloadList\":[64]}]]],[\"snk-filter-binary-select\",[[0,\"snk-filter-binary-select\",{\"value\":[1544],\"config\":[16],\"presentationMode\":[2,\"presentation-mode\"],\"resetValues\":[64]},[[0,\"ezChange\",\"ezChangeListener\"]]]]],[\"snk-filter-checkbox-list\",[[0,\"snk-filter-checkbox-list\",{\"config\":[1040],\"optionsList\":[32]}]]],[\"snk-filter-multi-select\",[[0,\"snk-filter-multi-select\",{\"value\":[1544],\"config\":[16],\"show\":[64]},[[0,\"ezChange\",\"ezChangeListener\"]]]]],[\"snk-filter-number\",[[0,\"snk-filter-number\",{\"config\":[16],\"getMessage\":[16],\"value\":[2],\"presentationMode\":[2,\"presentation-mode\"],\"show\":[64]},[[0,\"ezChange\",\"ezChangeListener\"]]]]],[\"snk-filter-period\",[[0,\"snk-filter-period\",{\"config\":[16],\"getMessage\":[16],\"value\":[8],\"presentationMode\":[2,\"presentation-mode\"],\"show\":[64]},[[0,\"ezChange\",\"ezChangeListener\"]]]]],[\"snk-filter-search\",[[0,\"snk-filter-search\",{\"config\":[16],\"value\":[16],\"show\":[64]},[[0,\"ezChange\",\"ezChangeListener\"]]]]],[\"snk-filter-text\",[[0,\"snk-filter-text\",{\"config\":[16],\"value\":[1]},[[0,\"ezChange\",\"ezChangeListener\"]]]]],[\"snk-personalized-filter-editor\",[[2,\"snk-personalized-filter-editor\",{\"messagesBuilder\":[1040],\"presentationMode\":[2,\"presentation-mode\"],\"config\":[16],\"value\":[1040],\"items\":[32],\"show\":[64]}]]],[\"snk-print-selector\",[[2,\"snk-print-selector\",{\"_printServerActive\":[32],\"_selectedPrinter\":[32],\"_remotePrintersDataSource\":[32],\"_localPrintersDataSource\":[32],\"_printJobData\":[32],\"openPrintSelector\":[64]}]]],[\"snk-pesquisa\",[[2,\"snk-pesquisa\",{\"searchLoader\":[16],\"treeLoader\":[16],\"selectItem\":[16],\"entityName\":[1,\"entity-name\"],\"argument\":[1025],\"isHierarchyEntity\":[4,\"is-hierarchy-entity\"],\"allowsNonAnalytic\":[4,\"allows-non-analytic\"],\"_itemList\":[32],\"_startLoading\":[32],\"_presentationMode\":[32],\"_currentView\":[32],\"_valideDataSource\":[32]}]]],[\"snk-application\",[[2,\"snk-application\",{\"enableLockManagerLoadingApp\":[4,\"enable-lock-manager-loading-app\"],\"messagesBuilder\":[1040],\"configName\":[1,\"config-name\"],\"gridLegacyConfigName\":[1,\"grid-legacy-config-name\"],\"formLegacyConfigName\":[1,\"form-legacy-config-name\"],\"loadByPK\":[16],\"_applicationReady\":[32],\"_templateSkeleton\":[32],\"_activeScrimWindow\":[32],\"getKeyboardManager\":[64],\"isUserSup\":[64],\"addPendingAction\":[64],\"callServiceBroker\":[64],\"initOnboarding\":[64],\"hasAccess\":[64],\"getAllAccess\":[64],\"getStringParam\":[64],\"getIntParam\":[64],\"getFloatParam\":[64],\"getBooleanParam\":[64],\"getDateParam\":[64],\"showPopUp\":[64],\"showModal\":[64],\"showAlerts\":[64],\"closeModal\":[64],\"closePopUp\":[64],\"temOpcional\":[64],\"getConfig\":[64],\"saveConfig\":[64],\"getAttributeFromHTMLWrapper\":[64],\"openApp\":[64],\"webConnection\":[64],\"createDataunit\":[64],\"updateDataunitCache\":[64],\"getDataUnit\":[64],\"addClientEvent\":[64],\"removeClientEvent\":[64],\"hasClientEvent\":[64],\"getResourceID\":[64],\"getUserID\":[64],\"alert\":[64],\"error\":[64],\"success\":[64],\"message\":[64],\"confirm\":[64],\"info\":[64],\"loadTotals\":[64],\"isLoadedByPk\":[64],\"preloadMangerRemoveRecord\":[64],\"executeSearch\":[64],\"executePreparedSearch\":[64],\"isDebugMode\":[64],\"getAppLabel\":[64],\"addSearchListener\":[64],\"importScript\":[64],\"getApplicationPath\":[64],\"executeSelectDistinct\":[64],\"getDataFetcher\":[64],\"whenApplicationReady\":[64],\"setSearchFilterContext\":[64],\"showScrimApp\":[64],\"markToReload\":[64],\"addLoadingLock\":[64]}]]],[\"snk-filter-modal-item\",[[0,\"snk-filter-modal-item\",{\"filterItem\":[1040],\"configName\":[1025,\"config-name\"],\"resourceID\":[1,\"resource-i-d\"]}]]],[\"snk-filter-detail\",[[0,\"snk-filter-detail\",{\"config\":[1040],\"getMessage\":[16],\"showHardFixed\":[4,\"show-hard-fixed\"],\"show\":[64]}]]],[\"snk-simple-bar\",[[6,\"snk-simple-bar\",{\"label\":[1],\"breadcrumbItens\":[16],\"messagesBuilder\":[1040]}]]],[\"snk-filter-field-search_2\",[[2,\"snk-filter-field-search\",{\"searchable\":[4],\"fieldsDataSource\":[16],\"breadcrumbItems\":[32],\"linkItems\":[32],\"fieldItems\":[32],\"searchEmpty\":[32],\"groupEmpty\":[32],\"show\":[64],\"applyFilter\":[64]}],[0,\"snk-filter-param-config\",{\"messagesBuilder\":[1040],\"_opened\":[32],\"_configType\":[32],\"_expressionItem\":[32],\"_informedInstance\":[32],\"_canSave\":[32],\"open\":[64],\"close\":[64]}]]],[\"snk-expression-group_2\",[[2,\"snk-expression-group\",{\"parentTop\":[1026,\"parent-top\"],\"group\":[1040],\"messagesBuilder\":[1040],\"filterId\":[1025,\"filter-id\"],\"entityURI\":[1025,\"entity-u-r-i\"],\"_conditionOperator\":[32],\"_group\":[32],\"_selfTop\":[32],\"canAddExpression\":[32],\"_showDashes\":[32],\"getExpressionGroup\":[64]},[[8,\"ezExpressionLayoutChanged\",\"todoCompletedHandler\"]]],[2,\"snk-expression-item\",{\"expression\":[16],\"canRemove\":[516,\"can-remove\"],\"messagesBuilder\":[1040],\"entityURI\":[1025,\"entity-u-r-i\"],\"_showValueVariable\":[32],\"_fieldSelected\":[32],\"_optionNotNull\":[32]}]]],[\"snk-filter-advanced-mode_2\",[[2,\"snk-filter-assistent-mode\",{\"filterAssistent\":[1040],\"messagesBuilder\":[1040],\"filterId\":[1025,\"filter-id\"],\"entityUri\":[1025,\"entity-uri\"],\"application\":[1040]}],[2,\"snk-filter-advanced-mode\",{\"filterAssistent\":[1040],\"application\":[1040]}]]],[\"snk-personalized-filter\",[[2,\"snk-personalized-filter\",{\"messagesBuilder\":[1040],\"entityUri\":[1025,\"entity-uri\"],\"filterId\":[1025,\"filter-id\"],\"configName\":[1025,\"config-name\"],\"resourceID\":[1,\"resource-i-d\"],\"_filterAssistentMode\":[32],\"_filterAssistent\":[32],\"createPersonalizedFilter\":[64]}]]],[\"snk-actions-button_5\",[[0,\"snk-simple-form-config\",{\"dataUnit\":[16],\"configName\":[1,\"config-name\"],\"avaliableFields\":[32],\"selectedFields\":[32],\"show\":[64]}],[2,\"snk-grid-config\",{\"selectedIndex\":[1026,\"selected-index\"],\"columns\":[1040],\"config\":[1040],\"configName\":[1,\"config-name\"],\"resourceID\":[1,\"resource-i-d\"]}],[2,\"snk-actions-button\",{\"_items\":[32],\"_showDropdown\":[32]}],[1,\"snk-select-box\",{\"selectedOption\":[1,\"selected-option\"]}],[2,\"taskbar-actions-button\",{\"title\":[1],\"enabled\":[4],\"actions\":[16],\"_showDropdown\":[32],\"showActions\":[64],\"hideActions\":[64],\"isOpened\":[64]},[[8,\"keydown\",\"handleKeyDown\"],[8,\"ezOpenModal\",\"handleClose\"]]]]],[\"snk-grid\",[[6,\"snk-grid\",{\"columnFilterDataSource\":[1040],\"enableLockManagerLoadingComp\":[4,\"enable-lock-manager-loading-comp\"],\"enableLockManagerTaskbarClick\":[4,\"enable-lock-manager-taskbar-click\"],\"configName\":[1,\"config-name\"],\"filterBarTitle\":[1,\"filter-bar-title\"],\"resourceID\":[1,\"resource-i-d\"],\"selectionToastConfig\":[16],\"actionsList\":[16],\"isDetail\":[4,\"is-detail\"],\"taskbarManager\":[16],\"statusResolver\":[16],\"multipleSelection\":[4,\"multiple-selection\"],\"presentationMode\":[1,\"presentation-mode\"],\"messagesBuilder\":[1040],\"useEnterLikeTab\":[4,\"use-enter-like-tab\"],\"recordsValidator\":[16],\"canEdit\":[4,\"can-edit\"],\"taskbarCustomContainerId\":[1,\"taskbar-custom-container-id\"],\"gridHeaderCustomSlotId\":[1,\"grid-header-custom-slot-id\"],\"topTaskbarCustomSlotId\":[1,\"top-taskbar-custom-slot-id\"],\"disablePersonalizedFilter\":[4,\"disable-personalized-filter\"],\"gridLegacyConfigName\":[1,\"grid-legacy-config-name\"],\"filterBarLegacyConfigName\":[1,\"filter-bar-legacy-config-name\"],\"autoLoad\":[4,\"auto-load\"],\"autoFocus\":[4,\"auto-focus\"],\"enableGridInsert\":[4,\"enable-grid-insert\"],\"outlineMode\":[4,\"outline-mode\"],\"strategyExporter\":[1025,\"strategy-exporter\"],\"paginationCounterMode\":[1,\"pagination-counter-mode\"],\"_dataUnit\":[32],\"_dataState\":[32],\"_gridConfig\":[32],\"_popUpGridConfig\":[32],\"_showSnkFilterBar\":[32],\"_enableContinuousInsert\":[32],\"reloadConfig\":[64],\"showConfig\":[64],\"hideConfig\":[64],\"setConfig\":[64],\"reloadFilterBar\":[64],\"getFilterBar\":[64],\"findColumn\":[64],\"addCustomEditor\":[64],\"addGridCustomRender\":[64],\"addCustomValueFormatter\":[64],\"removeCustomValueFormatter\":[64],\"setFocus\":[64]},[[2,\"click\",\"handleClick\"]]]]],[\"snk-form-summary\",[[2,\"snk-form-summary\",{\"fixed\":[1540],\"contracted\":[1540],\"summary\":[16]}]]],[\"snk-form-view\",[[6,\"snk-form-view\",{\"levelPath\":[1,\"level-path\"],\"label\":[1],\"name\":[1],\"fields\":[16],\"formMetadata\":[8,\"form-metadata\"],\"dataUnit\":[16],\"contracted\":[4],\"fixed\":[1540],\"summaryFields\":[16],\"canExpand\":[4,\"can-expand\"],\"canFix\":[4,\"can-fix\"],\"recordsValidator\":[16],\"fieldToFocus\":[1,\"field-to-focus\"],\"customEditors\":[16],\"fieldsProps\":[16],\"showUp\":[64],\"addCustomEditor\":[64],\"setFieldProp\":[64]}]]],[\"snk-field-config\",[[2,\"snk-field-config\",{\"isConfigActive\":[16],\"fieldConfig\":[16],\"modeInsertion\":[516,\"mode-insertion\"],\"dataUnit\":[16],\"messagesBuilder\":[1040]}]]],[\"snk-tab-config\",[[6,\"snk-tab-config\",{\"selectedIndex\":[1538,\"selected-index\"],\"selectedTab\":[1537,\"selected-tab\"],\"tabs\":[1],\"tabItems\":[16],\"messagesBuilder\":[1040],\"_processedTabs\":[32],\"_activeEditText\":[32],\"_activeEditTextIndex\":[32],\"_actionsHide\":[32],\"_actionsShow\":[32]}]]],[\"snk-configurator\",[[2,\"snk-configurator\",{\"showActionButtons\":[4,\"show-action-buttons\"],\"configName\":[1,\"config-name\"],\"resourceID\":[1,\"resource-i-d\"],\"viewMode\":[2,\"view-mode\"],\"customContainerId\":[1,\"custom-container-id\"],\"messagesBuilder\":[1040],\"_opened\":[32],\"_permissions\":[32],\"open\":[64],\"close\":[64]}]]],[\"snk-data-unit\",[[2,\"snk-data-unit\",{\"dataState\":[1040],\"messagesBuilder\":[1040],\"dataUnitName\":[1,\"data-unit-name\"],\"entityName\":[1,\"entity-name\"],\"pageSize\":[2,\"page-size\"],\"dataUnit\":[1040],\"beforeSave\":[16],\"afterSave\":[16],\"useCancelConfirm\":[4,\"use-cancel-confirm\"],\"ignoreSaveMessage\":[4,\"ignore-save-message\"],\"configName\":[1,\"config-name\"],\"resourceID\":[1,\"resource-i-d\"],\"domainMessagesBuilder\":[1,\"domain-messages-builder\"],\"fieldsToLink\":[32],\"getDataUnit\":[64],\"getSelectedRecordsIDsInfo\":[64],\"getFieldsWithRmp\":[64],\"getFieldsWithRmPrecision\":[64],\"getRowMetadata\":[64]}]]],[\"pesquisa-grid_2\",[[2,\"pesquisa-grid\",{\"metadata\":[16],\"dataSource\":[16],\"pkField\":[1,\"pk-field\"],\"descriptionField\":[1,\"description-field\"],\"entityName\":[1,\"entity-name\"],\"shouldLoadConfig\":[4,\"should-load-config\"],\"_gridConfig\":[32],\"_inMemoryLoader\":[32],\"_dataunit\":[32]}],[2,\"pesquisa-tree\",{\"treeLoader\":[16],\"argument\":[1025],\"allowsNonAnalytic\":[4,\"allows-non-analytic\"],\"shouldLoadTree\":[4,\"should-load-tree\"],\"items\":[32],\"applyFilter\":[64]}]]],[\"snk-exporter-email-sender\",[[0,\"snk-exporter-email-sender\",{\"getMessage\":[16],\"_config\":[32],\"_opened\":[32],\"_currentStep\":[32],\"open\":[64],\"close\":[64]}]]],[\"snk-data-exporter\",[[2,\"snk-data-exporter\",{\"provider\":[16],\"messagesBuilder\":[1040],\"_items\":[32],\"_showDropdown\":[32]}]]],[\"snk-taskbar\",[[6,\"snk-taskbar\",{\"alignRigth\":[4,\"align-rigth\"],\"customSlotId\":[1,\"custom-slot-id\"],\"customContainerId\":[1,\"custom-container-id\"],\"overflowStrategy\":[1,\"overflow-strategy\"],\"configName\":[1,\"config-name\"],\"resourceID\":[1,\"resource-i-d\"],\"buttons\":[1],\"customButtons\":[16],\"actionsList\":[16],\"primaryButton\":[1,\"primary-button\"],\"disabledButtons\":[16],\"dataUnit\":[16],\"presentationMode\":[1537,\"presentation-mode\"],\"messagesBuilder\":[1040],\"_permissions\":[32],\"_overFlowedElements\":[32],\"_customElements\":[32],\"_customElementsId\":[32],\"_slotContainer\":[32],\"_hiddenActionsList\":[32],\"_lastWidth\":[32],\"_hasToUpdateOverFlow\":[32],\"_isWaitingForSave\":[32]},[[8,\"snkCustomSlotElementsLoaded\",\"handleCustomSlotElementsLoaded\"],[8,\"taskbarSaveLocker\",\"handleTaskbarSaveLocker\"],[8,\"taskbarSaveUnlocker\",\"handleTaskbarSaveUnlocker\"]]]]],[\"snk-simple-crud\",[[6,\"snk-simple-crud\",{\"enableLockManagerLoadingComp\":[4,\"enable-lock-manager-loading-comp\"],\"enableLockManagerTaskbarClick\":[4,\"enable-lock-manager-taskbar-click\"],\"dataState\":[16],\"dataUnit\":[16],\"entityName\":[1,\"entity-name\"],\"mode\":[2],\"gridConfig\":[1040],\"formConfig\":[1040],\"enableContinuousInsert\":[1028,\"enable-continuous-insert\"],\"multipleSelection\":[4,\"multiple-selection\"],\"useCancelConfirm\":[4,\"use-cancel-confirm\"],\"pageSize\":[2,\"page-size\"],\"resourceID\":[1,\"resource-i-d\"],\"enableGridInsert\":[4,\"enable-grid-insert\"],\"paginationCounterMode\":[1,\"pagination-counter-mode\"],\"taskbarManager\":[16],\"messagesBuilder\":[1040],\"useEnterLikeTab\":[4,\"use-enter-like-tab\"],\"actionsList\":[16],\"configName\":[1025,\"config-name\"],\"showConfiguratorButtons\":[4,\"show-configurator-buttons\"],\"gridLegacyConfigName\":[1,\"grid-legacy-config-name\"],\"formLegacyConfigName\":[1,\"form-legacy-config-name\"],\"ignoreReadOnlyFormFields\":[4,\"ignore-read-only-form-fields\"],\"autoFocus\":[4,\"auto-focus\"],\"domainMessagesBuilder\":[1,\"domain-messages-builder\"],\"autoLoad\":[4,\"auto-load\"],\"outlineMode\":[4,\"outline-mode\"],\"_showPopUpGridConfig\":[32],\"_currentViewMode\":[32],\"_config\":[32],\"_fieldToGetFocus\":[32],\"_customContainerId\":[32],\"_formFields\":[32],\"_fieldsProps\":[32],\"addCustomEditor\":[64],\"addGridCustomRender\":[64],\"addCustomValueFormatter\":[64],\"removeCustomValueFormatter\":[64],\"setFieldProp\":[64],\"goToView\":[64],\"setMetadata\":[64],\"setRecords\":[64],\"getRecords\":[64],\"openConfigurator\":[64],\"closeConfigurator\":[64],\"updateConfig\":[64]},[[0,\"actionClick\",\"actionClickListener\"]]]]],[\"snk-attach\",[[2,\"snk-attach\",{\"fetcherType\":[1,\"fetcher-type\"],\"fetcher\":[16],\"dataUnit\":[16],\"dataUnitBuilder\":[16],\"registerKey\":[1,\"register-key\"],\"entityName\":[1,\"entity-name\"],\"messagesBuilder\":[1040],\"_currentFetcher\":[32],\"_currentDataUnit\":[32],\"crudConfig\":[32]}]]],[\"snk-filter-bar_4\",[[0,\"snk-filter-modal\",{\"getMessage\":[16],\"configName\":[1025,\"config-name\"],\"filters\":[1040],\"applyFilters\":[16],\"closeModal\":[16],\"addPersonalizedFilter\":[16],\"editPersonalizedFilter\":[16],\"deletePersonalizedFilter\":[16],\"filtersToDelete\":[16],\"disablePersonalizedFilter\":[4,\"disable-personalized-filter\"]},[[0,\"deleteFilter\",\"deletePersonalizedFilterListener\"]]],[4,\"snk-filter-list\",{\"label\":[1],\"iconName\":[1,\"icon-name\"],\"items\":[16],\"getMessage\":[16],\"emptyText\":[1,\"empty-text\"],\"findFilterText\":[1,\"find-filter-text\"],\"buttonClass\":[1,\"button-class\"],\"_filterArgument\":[32],\"_showAll\":[32],\"hideDetail\":[64]},[[2,\"keydown\",\"keyDownHandler\"]]],[2,\"snk-filter-bar\",{\"enableLockManagerLoadingComp\":[4,\"enable-lock-manager-loading-comp\"],\"customFilterBarConfig\":[16],\"dataUnit\":[1040],\"title\":[1],\"configName\":[1,\"config-name\"],\"resourceID\":[1,\"resource-i-d\"],\"mode\":[1],\"filterConfig\":[1040],\"messagesBuilder\":[1040],\"disablePersonalizedFilter\":[4,\"disable-personalized-filter\"],\"filterBarLegacyConfigName\":[1,\"filter-bar-legacy-config-name\"],\"autoLoad\":[4,\"auto-load\"],\"afterApplyConfig\":[16],\"allowDefault\":[32],\"scrollerLocked\":[32],\"showPersonalizedFilter\":[32],\"personalizedFilterId\":[32],\"reload\":[64],\"getFilterItem\":[64],\"updateFilterItem\":[64],\"addFilterItem\":[64],\"removeFilterItem\":[64],\"showFilterModal\":[64]},[[0,\"filterChange\",\"filterChangeListener\"]]],[0,\"snk-filter-item\",{\"config\":[1040],\"getMessage\":[16],\"showChips\":[4,\"show-chips\"],\"detailIsVisible\":[32],\"showUp\":[64],\"hideDetail\":[64]},[[2,\"click\",\"clickListener\"],[2,\"mousedown\",\"mouseDownListener\"],[0,\"filterChange\",\"filterChangeListener\"]]]]],[\"snk-detail-view\",[[6,\"snk-detail-view\",{\"formConfigManager\":[1040],\"dataUnitName\":[1,\"data-unit-name\"],\"resourceID\":[1,\"resource-i-d\"],\"guideItemPath\":[16],\"entityName\":[1,\"entity-name\"],\"label\":[1],\"dataUnit\":[1040],\"selectedForm\":[1025,\"selected-form\"],\"dataState\":[1040],\"messagesBuilder\":[1040],\"branchGuide\":[1040],\"canEdit\":[4,\"can-edit\"],\"taskbarCustomContainerId\":[1,\"taskbar-custom-container-id\"],\"customEditors\":[16],\"customRenders\":[16],\"_disabledButtons\":[32],\"_currentView\":[32],\"attachmentRegisterKey\":[32],\"changeViewMode\":[64],\"configGrid\":[64],\"showUp\":[64],\"addCustomEditor\":[64],\"addGridCustomRender\":[64]},[[0,\"snkContentCardChanged\",\"onContentCardChanged\"]]]]],[\"snk-config-options_3\",[[2,\"snk-form\",{\"configName\":[1,\"config-name\"],\"recordsValidator\":[16],\"messagesBuilder\":[1040],\"formLegacyConfigName\":[1,\"form-legacy-config-name\"],\"resourceID\":[1,\"resource-i-d\"],\"_dataUnit\":[32],\"_dataState\":[32],\"_showFormConfig\":[32],\"_configManager\":[32],\"showConfig\":[64],\"hideConfig\":[64],\"addCustomEditor\":[64],\"setFieldProp\":[64]}],[2,\"snk-form-config\",{\"dataUnit\":[16],\"configManager\":[16],\"messagesBuilder\":[1040],\"ignoreReadOnlyFormFields\":[4,\"ignore-read-only-form-fields\"],\"_formConfigOptions\":[32],\"_fieldConfigSelected\":[32],\"_layoutFormConfig\":[32],\"_fieldsAvailable\":[32],\"_formConfig\":[32],\"_formConfigChanged\":[32],\"_optionFormConfigSelected\":[32],\"_optionFormConfigChanged\":[32],\"_tempGroups\":[32]}],[2,\"snk-config-options\",{\"fieldConfig\":[16],\"idConfig\":[513,\"id-config\"],\"dataUnit\":[16],\"messagesBuilder\":[1040],\"_defaultType\":[32]}]]],[\"snk-guides-viewer\",[[6,\"snk-guides-viewer\",{\"dataUnit\":[16],\"dataState\":[16],\"configName\":[1,\"config-name\"],\"entityPath\":[1,\"entity-path\"],\"actionsList\":[16],\"recordsValidator\":[16],\"masterFormConfig\":[1040],\"selectedGuide\":[16],\"taskbarManager\":[16],\"messagesBuilder\":[1040],\"canEdit\":[4,\"can-edit\"],\"presentationMode\":[1,\"presentation-mode\"],\"resourceID\":[1,\"resource-i-d\"],\"detailTaskbarCustomContainerId\":[1,\"detail-taskbar-custom-container-id\"],\"formLegacyConfigName\":[1,\"form-legacy-config-name\"],\"enableGridInsert\":[4,\"enable-grid-insert\"],\"ignoreReadOnlyFormFields\":[4,\"ignore-read-only-form-fields\"],\"getCustomTitle\":[16],\"_hasToCreateFieldSearch\":[32],\"_breadcrumbItems\":[32],\"_guides\":[32],\"_formEditorConfigManager\":[32],\"_formEditorDataUnit\":[32],\"_fieldToGetFocus\":[32],\"_customEditors\":[32],\"_customRenders\":[32],\"_fieldsProps\":[32],\"showFormConfig\":[64],\"findField\":[64],\"addCustomEditor\":[64],\"addGridCustomRender\":[64],\"setFieldProp\":[64],\"setFocus\":[64]},[[2,\"actionClick\",\"onActionClick\"],[0,\"snkContentCardChanged\",\"onContentCardChanged\"]]]]],[\"snk-crud\",[[6,\"snk-crud\",{\"enableLockManagerLoadingComp\":[4,\"enable-lock-manager-loading-comp\"],\"enableLockManagerTaskbarClick\":[4,\"enable-lock-manager-taskbar-click\"],\"configName\":[1025,\"config-name\"],\"filterBarTitle\":[1,\"filter-bar-title\"],\"selectionToastConfig\":[16],\"showActionButtons\":[4,\"show-action-buttons\"],\"actionsList\":[16],\"taskbarManager\":[16],\"recordsValidator\":[16],\"statusResolver\":[16],\"multipleSelection\":[4,\"multiple-selection\"],\"presentationMode\":[1,\"presentation-mode\"],\"messagesBuilder\":[1040],\"useEnterLikeTab\":[4,\"use-enter-like-tab\"],\"gridLegacyConfigName\":[1,\"grid-legacy-config-name\"],\"filterBarLegacyConfigName\":[1,\"filter-bar-legacy-config-name\"],\"formLegacyConfigName\":[1,\"form-legacy-config-name\"],\"disablePersonalizedFilter\":[4,\"disable-personalized-filter\"],\"autoLoad\":[4,\"auto-load\"],\"autoFocus\":[4,\"auto-focus\"],\"enableGridInsert\":[4,\"enable-grid-insert\"],\"domainMessagesBuilder\":[1,\"domain-messages-builder\"],\"ignoreReadOnlyFormFields\":[4,\"ignore-read-only-form-fields\"],\"setCustomFormTitle\":[16],\"strategyExporter\":[1025,\"strategy-exporter\"],\"paginationCounterMode\":[1,\"pagination-counter-mode\"],\"_dataUnit\":[32],\"_dataState\":[32],\"attachmentRegisterKey\":[32],\"_currentViewMode\":[32],\"_canEdit\":[32],\"_resourceID\":[32],\"customContainerId\":[32],\"goToView\":[64],\"openConfigurator\":[64],\"closeConfigurator\":[64],\"reloadFilterBar\":[64],\"getFilterBar\":[64],\"addCustomEditor\":[64],\"addGridCustomRender\":[64],\"addCustomValueFormatter\":[64],\"removeCustomValueFormatter\":[64],\"setFieldProp\":[64]}]]]]"), options);
18
18
  });
Binary file
@@ -1,21 +1,21 @@
1
1
  import { r as registerInstance, h, H as Host, g as getElement, c as createEvent } from './index-a7d3d3f1.js';
2
- import { ApplicationContext, StringUtils, ErrorException, WarningException, ObjectUtils, DateUtils, ArrayUtils, ElementIDUtils } from '@sankhyalabs/core';
3
- import { D as DataFetcher } from './DataFetcher-773a3e4b.js';
2
+ import { ApplicationContext, StringUtils, ErrorException, WarningException, ObjectUtils, DateUtils, ServiceUtils, StorageType, ArrayUtils, ElementIDUtils } from '@sankhyalabs/core';
3
+ import { D as DataFetcher } from './DataFetcher-ecf5f903.js';
4
4
  import { P as ParamType } from './ParamType-d5152b06.js';
5
- import './pesquisa-fetcher-a87445a0.js';
6
- import './index-3aa4977a.js';
5
+ import './pesquisa-fetcher-e26c3295.js';
6
+ import './index-b40568ff.js';
7
7
  import './ISave-d8c8bc59.js';
8
8
  import '@sankhyalabs/ezui/dist/collection/utils/constants';
9
9
  import '@sankhyalabs/core/dist/dataunit/metadata/UnitMetadata';
10
- import './dataunit-fetcher-3d2ec959.js';
10
+ import './dataunit-fetcher-ed6e65ef.js';
11
11
  import './filter-item-type.enum-d45e026f.js';
12
- import './form-config-fetcher-e0382e5a.js';
12
+ import { F as FormConfigFetcher } from './form-config-fetcher-34becd23.js';
13
+ import { O as ORDER_VALUES } from './constants-75abb876.js';
13
14
  import { g as getSelectedRecordsIDsInfo } from './GetSelectedRecordsIDsInfo-9fa41508.js';
14
15
  import { R as ResourceIDUtils } from './ResourceIDUtils-a114189a.js';
15
16
  import { ApplicationUtils, DialogType } from '@sankhyalabs/ezui/dist/collection/utils';
16
17
  import { CheckMode } from '@sankhyalabs/ezui/dist/collection/components/ez-check/CheckMode';
17
- import { C as ConfigStorage } from './ConfigStorage-e476378d.js';
18
- import { O as ORDER_VALUES } from './constants-8457af36.js';
18
+ import { C as ConfigStorage } from './ConfigStorage-e5c1f4c0.js';
19
19
  import './PrintUtils-3e4ff0f5.js';
20
20
  import '@sankhyalabs/ezui/dist/collection/components/ez-grid/utils';
21
21
  import '@sankhyalabs/core/dist/utils/SortingUtils';
@@ -251,9 +251,9 @@ class Actions {
251
251
  return resultParams;
252
252
  });
253
253
  }
254
- actionExecute(execSource, callback) {
254
+ async actionExecute(execSource, callback) {
255
255
  execSource.virtualPage = this.buildVirtualPage();
256
- this.prepareAndExecute(execSource, callback);
256
+ await this.prepareAndExecute(execSource, callback);
257
257
  this.recordsReloader(execSource.refreshType);
258
258
  }
259
259
  resolvePromptParams(action, execSource, hasParamsToSave) {
@@ -448,9 +448,9 @@ class Actions {
448
448
  async buildResourceId(actionId) {
449
449
  return this._appResourceId + '.actionconfig.' + actionId;
450
450
  }
451
- prepareAndExecute(execSource, executeAction) {
451
+ async prepareAndExecute(execSource, executeAction) {
452
452
  this.addRows(execSource);
453
- executeAction(execSource);
453
+ await executeAction(execSource);
454
454
  }
455
455
  addRows(execSource) {
456
456
  const primaryKeys = this.getPrimaryKeys();
@@ -605,6 +605,7 @@ const SnkActionsButton = class {
605
605
  constructor(hostRef) {
606
606
  registerInstance(this, hostRef);
607
607
  this.CLIENT_EVENT_CONFIRM_NAME = "br.com.sankhya.actionbutton.clientconfirm";
608
+ this._actions = [];
608
609
  this.handleClick = (evt) => {
609
610
  const selectedAction = this._actions.find((action) => action.actionID == evt.detail.id);
610
611
  const executor = new ExecutorFactory(selectedAction.type).executor;
@@ -614,27 +615,22 @@ const SnkActionsButton = class {
614
615
  };
615
616
  this._items = [];
616
617
  this._showDropdown = false;
617
- this._actions = [];
618
- this._isOrderActions = false;
619
618
  }
620
619
  async getActions() {
621
- let param = {
622
- param: {
623
- entityName: this._entityName,
624
- resourceID: this._resourceID
625
- }
626
- };
627
- return DataFetcher.get().callServiceBroker('ActionButtonsSP.getActions', param).then((result) => {
620
+ const actions = await ServiceUtils.useCacheWithService(`SnkActionsButton_${this._entityName}-${this._resourceID}`, async () => {
628
621
  var _a;
629
- if (!((_a = result.actions) === null || _a === void 0 ? void 0 : _a.action))
630
- return;
631
- if (this._isOrderActions) {
632
- this._actions = ArrayUtils.sortAlphabetically(result.actions.action, 'description');
633
- }
634
- else {
635
- this._actions = result.actions.action;
636
- }
637
- });
622
+ const param = {
623
+ param: {
624
+ entityName: this._entityName,
625
+ resourceID: this._resourceID,
626
+ },
627
+ };
628
+ const result = await DataFetcher.get().callServiceBroker('ActionButtonsSP.getActions', param);
629
+ return ((_a = result.actions) === null || _a === void 0 ? void 0 : _a.action) || [];
630
+ }, StorageType.IN_MEMORY_CACHE);
631
+ this._actions = SnkActionsButton.parameters.isOrderActions
632
+ ? ArrayUtils.sortAlphabetically(actions, 'description')
633
+ : actions;
638
634
  }
639
635
  controlDropdown() {
640
636
  this._showDropdown = !this._showDropdown;
@@ -667,7 +663,7 @@ const SnkActionsButton = class {
667
663
  }
668
664
  async componentWillLoad() {
669
665
  this._application = ApplicationContext.getContextValue("__SNK__APPLICATION__");
670
- this._isOrderActions = await this._application.getBooleanParam('global.ordenar.acoes.personalizadas');
666
+ await this.loadParameters();
671
667
  const snkDataUnit = this._element.parentElement;
672
668
  this._dataUnit = snkDataUnit === null || snkDataUnit === void 0 ? void 0 : snkDataUnit.dataUnit;
673
669
  this._resourceID = snkDataUnit === null || snkDataUnit === void 0 ? void 0 : snkDataUnit.resourceID;
@@ -676,9 +672,8 @@ const SnkActionsButton = class {
676
672
  this._resourceID = await ResourceIDUtils.getResourceID();
677
673
  }
678
674
  this.setEvents();
679
- this.getActions().then(() => {
680
- this.loadItems();
681
- });
675
+ await this.getActions();
676
+ this.loadItems();
682
677
  }
683
678
  async componentDidLoad() {
684
679
  if (!this._element)
@@ -705,6 +700,11 @@ const SnkActionsButton = class {
705
700
  [ElementIDUtils.DATA_ELEMENT_ID_ATTRIBUTE_NAME]: ElementIDUtils.getInternalIDInfo(sufix)
706
701
  };
707
702
  }
703
+ async loadParameters() {
704
+ if (SnkActionsButton.parameters.isOrderActions != null)
705
+ return;
706
+ SnkActionsButton.parameters.isOrderActions = await this._application.getBooleanParam('global.ordenar.acoes.personalizadas');
707
+ }
708
708
  render() {
709
709
  return (h(Host, null, (this._actions && this._actions.length > 0) &&
710
710
  (h("div", { class: `ez-padding-left--medium snk-actions-button
@@ -718,9 +718,12 @@ const SnkActionsButton = class {
718
718
  }
719
719
  get _element() { return getElement(this); }
720
720
  };
721
+ SnkActionsButton.parameters = {
722
+ isOrderActions: null
723
+ };
721
724
  SnkActionsButton.style = snkActionsButtonCss;
722
725
 
723
- const snkGridConfigCss = ".sc-snk-grid-config-h{--snk-grid-config__footer--padding-top:var(--space--medium, 12px);--snk-grid-config__main--padding-right:var(--space--medium, 12px);--snk-grid-config__tabselector-container--padding:var(--space--medium, 12px);--snk-grid-config__button-close--padding-left:var(--space--medium, 12px);--snk-grid-config__title--color:var(--title--primary, #2B3A54);--snk-grid-config__title--font-family:var(--font-pattern, \"Roboto\");--snk-grid-config__title--font-size:var(--title--large, 20px);--snk-grid-config__title--font-weight:var(--text-weight--extra-large, 700);--snk-grid-config__subtitle--font-family:var(--font-pattern, \"Roboto\");--snk-grid-config__subtitle--font-size:var(--text--medium, 14px);--snk-grid-config__group--font-family:var(--font-pattern, \"Roboto\");--snk-grid-config__group--font-size:var(--text--medium, 14px);--snk-grid-config__group--font-weight:var(--text-weight--large, 600);--snk-grid-config__group--padding-bottom:var(--space-small, 6px);--snk-grid-config__scrollbar--color-default:var(--scrollbar--default, #626e82);--snk-grid-config__scrollbar--color-background:var(--scrollbar--background, #E5EAF0);--snk-grid-config__scrollbar--color-hover:var(--scrollbar--hover, #2B3A54);--snk-grid-config__scrollbar--color-clicked:var(--scrollbar--clicked, #a2abb9);--snk-grid-config__scrollbar--border-radius:var(--border--radius-small, 6px);--snk-grid-config__scrollbar--width:var(--space--medium, 12px);display:grid;grid-template-rows:auto 1fr auto;max-height:100%;width:100%}@media screen and (min-width: 480px){.sc-snk-grid-config-h{width:359px;max-width:359px}}.padding-right--medium.sc-snk-grid-config{padding-right:var(--space--medium)}ez-list.sc-snk-grid-config{height:100%}.height-calc.sc-snk-grid-config{max-height:calc(100% - 24px)}.grid-config__footer.sc-snk-grid-config{display:flex;justify-content:flex-end;width:100%;padding-top:var(--snk-grid-config__footer--padding-top)}.hidden.sc-snk-grid-config{display:none}.tabselector-container.sc-snk-grid-config{padding:var(--snk-grid-config__tabselector-container--padding) 0}.button-close.sc-snk-grid-config{padding-left:var(--snk-grid-config__button-close--padding-left)}.title-container.sc-snk-grid-config{display:flex;justify-content:space-between;align-items:center;width:100%}.title.sc-snk-grid-config{display:flex;margin:0;line-height:normal;letter-spacing:0em;text-align:left;color:var(--snk-grid-config__title--color);font-size:var(--snk-grid-config__title--font-size);font-family:var(--snk-grid-config__title--font-family);font-weight:var(--snk-grid-config__title--font-weight)}.subtitle.sc-snk-grid-config{color:var(--text--primary);font-size:var(--snk-grid-config__subtitle--font-size);font-family:var(--snk-grid-config__subtitle--font-family)}.grid-config__main.sc-snk-grid-config{overflow-y:auto;scrollbar-width:thin;scrollbar-color:var(--snk-grid-config__scrollbar--color-clicked) var(--snk-grid-config__scrollbar--color-background);padding-right:var(--snk-grid-config__main--padding-right)}.grid-config__main.sc-snk-grid-config::-webkit-scrollbar{width:var(--snk-grid-config__scrollbar--width);max-width:var(--snk-grid-config__scrollbar--width);min-width:var(--snk-grid-config__scrollbar--width);background-color:var(--snk-grid-config__scrollbar--color-background)}.grid-config__main.sc-snk-grid-config::-webkit-scrollbar-track{background-color:var(--snk-grid-config__scrollbar--color-background);border-radius:var(--snk-grid-config__scrollbar--border-radius)}.grid-config__main.sc-snk-grid-config::-webkit-scrollbar-thumb{background-color:var(--snk-grid-config__scrollbar--color-default);border-radius:var(--snk-grid-config__scrollbar--border-radius)}.grid-config__main.sc-snk-grid-config::-webkit-scrollbar-thumb:vertical:hover,.grid-config__main.sc-snk-grid-config::-webkit-scrollbar-thumb:horizontal:hover{background-color:var(--snk-grid-config__scrollbar--color-hover)}.grid-config__main.sc-snk-grid-config::-webkit-scrollbar-thumb:vertical:active,.grid-config__main.sc-snk-grid-config::-webkit-scrollbar-thumb:horizontal:active{background-color:var(--snk-grid-config__scrollbar--color-clicked)}.group-name.sc-snk-grid-config{font-family:var(--snk-grid-config__group--font-family);font-size:var(--snk-grid-config__group--font-size);font-weight:var(--snk-grid-config__group--font-weight);padding-bottom:var(--snk-grid-config__group--padding-bottom)}";
726
+ const snkGridConfigCss = ".sc-snk-grid-config-h{--snk-grid-config__footer--padding-top:var(--space--medium, 12px);--snk-grid-config__main--padding-right:var(--space--medium, 12px);--snk-grid-config__tabselector-container--padding:var(--space--medium, 12px);--snk-grid-config__button-close--padding-left:var(--space--medium, 12px);--snk-grid-config__title--color:var(--title--primary, #2B3A54);--snk-grid-config__title--font-family:var(--font-pattern, \"Roboto\");--snk-grid-config__title--font-size:var(--title--large, 20px);--snk-grid-config__title--font-weight:var(--text-weight--extra-large, 700);--snk-grid-config__subtitle--font-family:var(--font-pattern, \"Roboto\");--snk-grid-config__subtitle--font-size:var(--text--medium, 14px);--snk-grid-config__group--font-family:var(--font-pattern, \"Roboto\");--snk-grid-config__group--font-size:var(--text--medium, 14px);--snk-grid-config__group--font-weight:var(--text-weight--large, 600);--snk-grid-config__group--padding-bottom:var(--space-small, 6px);--snk-grid-config__scrollbar--color-default:var(--scrollbar--default, #626e82);--snk-grid-config__scrollbar--color-background:var(--scrollbar--background, #E5EAF0);--snk-grid-config__scrollbar--color-hover:var(--scrollbar--hover, #2B3A54);--snk-grid-config__scrollbar--color-clicked:var(--scrollbar--clicked, #a2abb9);--snk-grid-config__scrollbar--border-radius:var(--border--radius-small, 6px);--snk-grid-config__scrollbar--width:var(--space--small, 6px);display:grid;grid-template-rows:auto 1fr auto;max-height:100%;width:100%}@media screen and (min-width: 480px){.sc-snk-grid-config-h{width:359px;max-width:359px}}.padding-right--medium.sc-snk-grid-config{padding-right:var(--space--medium)}ez-list.sc-snk-grid-config{height:100%}.height-calc.sc-snk-grid-config{max-height:calc(100% - 24px)}.grid-config__footer.sc-snk-grid-config{display:flex;justify-content:flex-end;width:100%;padding-top:var(--snk-grid-config__footer--padding-top)}.hidden.sc-snk-grid-config{display:none}.tabselector-container.sc-snk-grid-config{padding:var(--snk-grid-config__tabselector-container--padding) 0}.button-close.sc-snk-grid-config{padding-left:var(--snk-grid-config__button-close--padding-left)}.title-container.sc-snk-grid-config{display:flex;justify-content:space-between;align-items:center;width:100%}.title.sc-snk-grid-config{display:flex;margin:0;line-height:normal;letter-spacing:0em;text-align:left;color:var(--snk-grid-config__title--color);font-size:var(--snk-grid-config__title--font-size);font-family:var(--snk-grid-config__title--font-family);font-weight:var(--snk-grid-config__title--font-weight)}.subtitle.sc-snk-grid-config{color:var(--text--primary);font-size:var(--snk-grid-config__subtitle--font-size);font-family:var(--snk-grid-config__subtitle--font-family)}.grid-config__main.sc-snk-grid-config{overflow-y:auto;scrollbar-width:thin;scrollbar-color:var(--snk-grid-config__scrollbar--color-clicked) var(--snk-grid-config__scrollbar--color-background);padding-right:var(--snk-grid-config__main--padding-right)}.grid-config__main.sc-snk-grid-config::-webkit-scrollbar{width:var(--snk-grid-config__scrollbar--width);max-width:var(--snk-grid-config__scrollbar--width);min-width:var(--snk-grid-config__scrollbar--width);background-color:var(--snk-grid-config__scrollbar--color-background)}.grid-config__main.sc-snk-grid-config::-webkit-scrollbar-track{background-color:var(--snk-grid-config__scrollbar--color-background);border-radius:var(--snk-grid-config__scrollbar--border-radius)}.grid-config__main.sc-snk-grid-config::-webkit-scrollbar-thumb{background-color:var(--snk-grid-config__scrollbar--color-default);border-radius:var(--snk-grid-config__scrollbar--border-radius)}.grid-config__main.sc-snk-grid-config::-webkit-scrollbar-thumb:vertical:hover,.grid-config__main.sc-snk-grid-config::-webkit-scrollbar-thumb:horizontal:hover{background-color:var(--snk-grid-config__scrollbar--color-hover)}.grid-config__main.sc-snk-grid-config::-webkit-scrollbar-thumb:vertical:active,.grid-config__main.sc-snk-grid-config::-webkit-scrollbar-thumb:horizontal:active{background-color:var(--snk-grid-config__scrollbar--color-clicked)}.group-name.sc-snk-grid-config{font-family:var(--snk-grid-config__group--font-family);font-size:var(--snk-grid-config__group--font-size);font-weight:var(--snk-grid-config__group--font-weight);padding-bottom:var(--snk-grid-config__group--padding-bottom)}";
724
727
 
725
728
  const SnkGridConfig = class {
726
729
  constructor(hostRef) {
@@ -1230,6 +1233,95 @@ const SelectBox = class {
1230
1233
  };
1231
1234
  SelectBox.style = snkSelectBoxCss;
1232
1235
 
1236
+ const snkSimpleFormConfigCss = ":host{display:block}.config-container{display:flex;flex-direction:column;align-items:center;justify-content:space-between}.config-lists{margin-bottom:12px}.config-actions{display:flex;flex-direction:row;justify-content:flex-end;width:100%;gap:12px}";
1237
+
1238
+ const SnkSimpleFormConfig = class {
1239
+ constructor(hostRef) {
1240
+ registerInstance(this, hostRef);
1241
+ this.snkConfigSaved = createEvent(this, "snkConfigSaved", 7);
1242
+ this._formConfigFetcher = new FormConfigFetcher();
1243
+ this.fieldsToSave = [];
1244
+ this.dataUnit = undefined;
1245
+ this.configName = undefined;
1246
+ this.avaliableFields = [];
1247
+ this.selectedFields = [];
1248
+ }
1249
+ /**
1250
+ * Responsável por abrir o configurador.
1251
+ */
1252
+ async show() {
1253
+ var _a;
1254
+ await ((_a = this.ezDoubleListRef) === null || _a === void 0 ? void 0 : _a.resetSelectedLists());
1255
+ await this.initializeFormConfig();
1256
+ this.ezPopupRef.opened = true;
1257
+ }
1258
+ ;
1259
+ async initializeFormConfig() {
1260
+ if (!this.configName)
1261
+ return;
1262
+ const allFields = this.getAllVisibleFieldsFromDataUnit();
1263
+ const displayedFieldNameList = await this.getConfig();
1264
+ //Quando não retorna dados, é por quê não existe configuração do usuário salva.
1265
+ if (displayedFieldNameList.length === 0) {
1266
+ this.avaliableFields = [];
1267
+ this.selectedFields = [...allFields];
1268
+ this.fieldsToSave = [...this.selectedFields];
1269
+ return;
1270
+ }
1271
+ const selectedFieldsAux = this.sortDisplayedFields(displayedFieldNameList, allFields);
1272
+ const avaliableFieldsAux = allFields.filter(field => !displayedFieldNameList.includes(field.id));
1273
+ this.avaliableFields = [...avaliableFieldsAux];
1274
+ this.selectedFields = [...selectedFieldsAux];
1275
+ this.fieldsToSave = [...this.selectedFields];
1276
+ }
1277
+ async getConfig() {
1278
+ const fieldList = await this._formConfigFetcher.fetchSimpleFormConfig(this.configName);
1279
+ return [...this.removeDuplicates(fieldList)];
1280
+ }
1281
+ removeDuplicates(strings) {
1282
+ return strings.filter((item, index) => strings.indexOf(item) === index);
1283
+ }
1284
+ sortDisplayedFields(displayedFieldNameList, allFields) {
1285
+ const selectedFieldsAux = [];
1286
+ //É preciso garantir a ordem na qual os campos vieram na resposta do fetchSimpleFormConfig.
1287
+ displayedFieldNameList.forEach(fieldName => {
1288
+ const field = allFields.find(field => field.id === fieldName);
1289
+ if (!field)
1290
+ return;
1291
+ selectedFieldsAux.push(field);
1292
+ });
1293
+ return selectedFieldsAux;
1294
+ }
1295
+ getAllVisibleFieldsFromDataUnit() {
1296
+ var _a, _b, _c;
1297
+ const visibleFields = ((_c = (_b = (_a = this.dataUnit) === null || _a === void 0 ? void 0 : _a.metadata) === null || _b === void 0 ? void 0 : _b.fields) !== null && _c !== void 0 ? _c : []).filter(field => field.visible);
1298
+ return visibleFields.map(field => {
1299
+ return { id: field.name, label: field.label };
1300
+ });
1301
+ }
1302
+ close() {
1303
+ this.ezPopupRef.opened = false;
1304
+ }
1305
+ async handleResetConfigs() {
1306
+ await this._formConfigFetcher.restoreFormConfig(this.configName);
1307
+ await this.initializeFormConfig();
1308
+ await this.handleSave();
1309
+ }
1310
+ handleCancel() {
1311
+ this.close();
1312
+ }
1313
+ async handleSave() {
1314
+ const saveList = this.fieldsToSave.map(field => field.id);
1315
+ await this._formConfigFetcher.saveSimpleFormConfig(this.configName, saveList);
1316
+ this.close();
1317
+ this.snkConfigSaved.emit();
1318
+ }
1319
+ render() {
1320
+ return (h("ez-popup", { ref: (ref) => this.ezPopupRef = ref, heightMode: 'auto', size: 'auto', ezTitle: 'Configurar formul\u00E1rio' }, h("div", { class: 'config-container' }, h("div", { class: 'config-lists' }, h("ez-double-list", { ref: (ref) => this.ezDoubleListRef = ref, leftList: this.avaliableFields, leftTitle: 'Campos disponíveis', rightList: this.selectedFields, rightTitle: 'Campos selecionados', onEzRightListChanged: ({ detail }) => this.fieldsToSave = [...detail], entityLabel: 'campo', entityLabelPlural: 'campos' })), h("div", { class: 'config-actions' }, h("ez-button", { label: 'Restaurar', onClick: this.handleResetConfigs.bind(this), size: 'small' }), h("ez-button", { label: 'Cancelar', onClick: this.handleCancel.bind(this), size: 'small' }), h("ez-button", { label: 'Salvar', class: 'ez-button--primary', onClick: this.handleSave.bind(this), size: 'small' })))));
1321
+ }
1322
+ };
1323
+ SnkSimpleFormConfig.style = snkSimpleFormConfigCss;
1324
+
1233
1325
  const taskbarActionsButtonCss = ".sc-taskbar-actions-button-h{display:flex;width:fit-content;height:fit-content}";
1234
1326
 
1235
1327
  const TaskbarActionsButton = class {
@@ -1361,4 +1453,4 @@ const TaskbarActionsButton = class {
1361
1453
  };
1362
1454
  TaskbarActionsButton.style = taskbarActionsButtonCss;
1363
1455
 
1364
- export { SnkActionsButton as snk_actions_button, SnkGridConfig as snk_grid_config, SelectBox as snk_select_box, TaskbarActionsButton as taskbar_actions_button };
1456
+ export { SnkActionsButton as snk_actions_button, SnkGridConfig as snk_grid_config, SelectBox as snk_select_box, SnkSimpleFormConfig as snk_simple_form_config, TaskbarActionsButton as taskbar_actions_button };