@sankhyalabs/sankhyablocks 9.2.0-rc.2 → 9.2.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 (997) hide show
  1. package/dist/cjs/AuthorizationConfig-79ffae4b.js.gz +0 -0
  2. package/dist/cjs/{SnkMultiSelectionListDataSource-b7ab26ba.js → ClientSideExporterProvider-bb0b2273.js} +78 -78
  3. package/dist/cjs/ClientSideExporterProvider-bb0b2273.js.gz +0 -0
  4. package/dist/cjs/{ConfigStorage-8b6def32.js → ConfigStorage-0ebc800f.js} +2 -2
  5. package/dist/cjs/ConfigStorage-0ebc800f.js.gz +0 -0
  6. package/dist/cjs/{DataFetcher-2c37b6a1.js → DataFetcher-602cdc72.js} +0 -51
  7. package/dist/cjs/{DataFetcher-2c37b6a1.js.gz → DataFetcher-602cdc72.js.gz} +0 -0
  8. package/dist/cjs/FormConfigHelper-ebb77625.js.gz +0 -0
  9. package/dist/cjs/GetSelectedRecordsIDsInfo-bd50caf1.js.gz +0 -0
  10. package/dist/cjs/IFetchDataExporterParams-e78ec415.js.gz +0 -0
  11. package/dist/cjs/{ISave-b22b3cf0.js → ISave-18205d86.js} +1 -1
  12. package/dist/cjs/ISave-18205d86.js.gz +0 -0
  13. package/dist/cjs/ParamType-90b440a0.js.gz +0 -0
  14. package/dist/cjs/PersonalizedFilterUtils-7259cf65.js.gz +0 -0
  15. package/dist/cjs/PrintUtils-bcaeb82f.js.gz +0 -0
  16. package/dist/cjs/ResourceIDUtils-5ff86aa7.js.gz +0 -0
  17. package/dist/cjs/{SnkFormConfigManager-477a27de.js → SnkFormConfigManager-4b651537.js} +2 -2
  18. package/dist/cjs/SnkFormConfigManager-4b651537.js.gz +0 -0
  19. package/dist/cjs/{auth-fetcher-78a90b36.js → auth-fetcher-82317d4d.js} +1 -1
  20. package/dist/cjs/auth-fetcher-82317d4d.js.gz +0 -0
  21. package/dist/cjs/config-header.cjs.entry.js.gz +0 -0
  22. package/dist/cjs/configs-button.cjs.entry.js.gz +0 -0
  23. package/dist/cjs/constants-6d82e405.js.gz +0 -0
  24. package/dist/cjs/{dataunit-fetcher-877944a9.js → dataunit-fetcher-93077a2f.js} +1 -1
  25. package/dist/cjs/dataunit-fetcher-93077a2f.js.gz +0 -0
  26. package/dist/cjs/default-filters-a09bf82b.js.gz +0 -0
  27. package/dist/cjs/field-config_2.cjs.entry.js.gz +0 -0
  28. package/dist/cjs/fields-layout.cjs.entry.js.gz +0 -0
  29. package/dist/cjs/fields-selector.cjs.entry.js.gz +0 -0
  30. package/dist/cjs/filter-item-type.enum-a7ffdaa6.js.gz +0 -0
  31. package/dist/cjs/filter-type.enum-2bb46d2a.js.gz +0 -0
  32. package/dist/cjs/filterNumberVariation-d65332da.js.gz +0 -0
  33. package/dist/cjs/{form-config-fetcher-dee08eb4.js → form-config-fetcher-05d210e7.js} +1 -1
  34. package/dist/cjs/form-config-fetcher-05d210e7.js.gz +0 -0
  35. package/dist/cjs/guides-configurator.cjs.entry.js.gz +0 -0
  36. package/dist/cjs/index-13d05f03.js.gz +0 -0
  37. package/dist/cjs/index-1cf293c1.js +8 -8
  38. package/dist/cjs/index-1cf293c1.js.gz +0 -0
  39. package/dist/cjs/index-62760a9c.js.gz +0 -0
  40. package/dist/cjs/index-8d94b7e0.js.gz +0 -0
  41. package/dist/cjs/index-e3e39724.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-grid_2.cjs.entry.js +4 -4
  46. package/dist/cjs/pesquisa-grid_2.cjs.entry.js.gz +0 -0
  47. package/dist/cjs/presentationMode-52ec3bdd.js.gz +0 -0
  48. package/dist/cjs/sankhyablocks.cjs.js +1 -1
  49. package/dist/cjs/sankhyablocks.cjs.js.gz +0 -0
  50. package/dist/cjs/snk-actions-button_8.cjs.entry.js +5 -5
  51. package/dist/cjs/snk-actions-button_8.cjs.entry.js.gz +0 -0
  52. package/dist/cjs/snk-actions-form.cjs.entry.js.gz +0 -0
  53. package/dist/cjs/snk-application.cjs.entry.js +6 -6
  54. package/dist/cjs/snk-application.cjs.entry.js.gz +0 -0
  55. package/dist/cjs/snk-attach.cjs.entry.js +5 -5
  56. package/dist/cjs/snk-attach.cjs.entry.js.gz +0 -0
  57. package/dist/cjs/snk-client-confirm.cjs.entry.js.gz +0 -0
  58. package/dist/cjs/snk-configurator.cjs.entry.js.gz +0 -0
  59. package/dist/cjs/snk-crud.cjs.entry.js +5 -5
  60. package/dist/cjs/snk-crud.cjs.entry.js.gz +0 -0
  61. package/dist/cjs/snk-custom-slot-elements.cjs.entry.js.gz +0 -0
  62. package/dist/cjs/snk-data-exporter.cjs.entry.js +5 -5
  63. package/dist/cjs/snk-data-exporter.cjs.entry.js.gz +0 -0
  64. package/dist/cjs/{snk-data-unit-0cfa7622.js → snk-data-unit-7cb76490.js} +2 -2
  65. package/dist/cjs/snk-data-unit-7cb76490.js.gz +0 -0
  66. package/dist/cjs/snk-data-unit.cjs.entry.js +3 -3
  67. package/dist/cjs/snk-data-unit.cjs.entry.js.gz +0 -0
  68. package/dist/cjs/snk-default-filter.cjs.entry.js.gz +0 -0
  69. package/dist/cjs/snk-detail-view.cjs.entry.js +7 -7
  70. package/dist/cjs/snk-detail-view.cjs.entry.js.gz +0 -0
  71. package/dist/cjs/snk-entity-list.cjs.entry.js +2 -5
  72. package/dist/cjs/snk-entity-list.cjs.entry.js.gz +0 -0
  73. package/dist/cjs/snk-exporter-email-sender.cjs.entry.js.gz +0 -0
  74. package/dist/cjs/snk-expression-group_2.cjs.entry.js.gz +0 -0
  75. package/dist/cjs/snk-filter-advanced-mode_2.cjs.entry.js.gz +0 -0
  76. package/dist/cjs/snk-filter-bar_4.cjs.entry.js +100 -164
  77. package/dist/cjs/snk-filter-bar_4.cjs.entry.js.gz +0 -0
  78. package/dist/cjs/snk-filter-binary-select.cjs.entry.js +2 -23
  79. package/dist/cjs/snk-filter-binary-select.cjs.entry.js.gz +0 -0
  80. package/dist/cjs/snk-filter-checkbox-list.cjs.entry.js +2 -20
  81. package/dist/cjs/snk-filter-checkbox-list.cjs.entry.js.gz +0 -0
  82. package/dist/cjs/snk-filter-detail.cjs.entry.js +8 -25
  83. package/dist/cjs/snk-filter-detail.cjs.entry.js.gz +0 -0
  84. package/dist/cjs/snk-filter-field-search_2.cjs.entry.js.gz +0 -0
  85. package/dist/cjs/snk-filter-modal-item.cjs.entry.js +14 -9
  86. package/dist/cjs/snk-filter-modal-item.cjs.entry.js.gz +0 -0
  87. package/dist/cjs/snk-filter-multi-select.cjs.entry.js +3 -16
  88. package/dist/cjs/snk-filter-multi-select.cjs.entry.js.gz +0 -0
  89. package/dist/cjs/snk-filter-number.cjs.entry.js +3 -34
  90. package/dist/cjs/snk-filter-number.cjs.entry.js.gz +0 -0
  91. package/dist/cjs/snk-filter-period.cjs.entry.js +14 -59
  92. package/dist/cjs/snk-filter-period.cjs.entry.js.gz +0 -0
  93. package/dist/cjs/snk-filter-search.cjs.entry.js +3 -14
  94. package/dist/cjs/snk-filter-search.cjs.entry.js.gz +0 -0
  95. package/dist/cjs/snk-filter-text.cjs.entry.js +1 -18
  96. package/dist/cjs/snk-filter-text.cjs.entry.js.gz +0 -0
  97. package/dist/cjs/snk-form-summary.cjs.entry.js.gz +0 -0
  98. package/dist/cjs/snk-form-view.cjs.entry.js.gz +0 -0
  99. package/dist/cjs/snk-form_2.cjs.entry.js +4 -4
  100. package/dist/cjs/snk-form_2.cjs.entry.js.gz +0 -0
  101. package/dist/cjs/snk-grid.cjs.entry.js +21 -38
  102. package/dist/cjs/snk-grid.cjs.entry.js.gz +0 -0
  103. package/dist/cjs/{snk-guides-viewer-38277265.js → snk-guides-viewer-73d40f42.js} +5 -5
  104. package/dist/cjs/snk-guides-viewer-73d40f42.js.gz +0 -0
  105. package/dist/cjs/snk-guides-viewer.cjs.entry.js +7 -7
  106. package/dist/cjs/snk-guides-viewer.cjs.entry.js.gz +0 -0
  107. package/dist/cjs/snk-personalized-filter-editor.cjs.entry.js.gz +0 -0
  108. package/dist/cjs/snk-personalized-filter.cjs.entry.js +3 -3
  109. package/dist/cjs/snk-personalized-filter.cjs.entry.js.gz +0 -0
  110. package/dist/cjs/snk-pesquisa.cjs.entry.js +4 -4
  111. package/dist/cjs/snk-pesquisa.cjs.entry.js.gz +0 -0
  112. package/dist/cjs/snk-print-selector.cjs.entry.js.gz +0 -0
  113. package/dist/cjs/snk-simple-bar.cjs.entry.js.gz +0 -0
  114. package/dist/cjs/snk-simple-crud.cjs.entry.js +13 -13
  115. package/dist/cjs/snk-simple-crud.cjs.entry.js.gz +0 -0
  116. package/dist/cjs/snk-taskbar.cjs.entry.js.gz +0 -0
  117. package/dist/cjs/sortable.esm-9a110bb7.js.gz +0 -0
  118. package/dist/cjs/taskbar-elements-fb5d1e08.js.gz +0 -0
  119. package/dist/cjs/taskbar-processor-2fba34a8.js.gz +0 -0
  120. package/dist/cjs/teste-pesquisa.cjs.entry.js.gz +0 -0
  121. package/dist/collection/components/snk-actions-button/actions/enum/ActionsType.js.gz +0 -0
  122. package/dist/collection/components/snk-actions-button/actions/enum/ParamType.js.gz +0 -0
  123. package/dist/collection/components/snk-actions-button/actions/enum/RefreshType.js.gz +0 -0
  124. package/dist/collection/components/snk-actions-button/actions/executor/java.executor.js.gz +0 -0
  125. package/dist/collection/components/snk-actions-button/actions/executor/javascript.executor.js.gz +0 -0
  126. package/dist/collection/components/snk-actions-button/actions/executor/launch-screen.executor.js.gz +0 -0
  127. package/dist/collection/components/snk-actions-button/actions/executor/procedure.executor.js.gz +0 -0
  128. package/dist/collection/components/snk-actions-button/actions/factory/executor.factory.js.gz +0 -0
  129. package/dist/collection/components/snk-actions-button/actions/index.js.gz +0 -0
  130. package/dist/collection/components/snk-actions-button/actions/interfaces/IAction.js.gz +0 -0
  131. package/dist/collection/components/snk-actions-button/actions/interfaces/IExecSource.js.gz +0 -0
  132. package/dist/collection/components/snk-actions-button/actions/interfaces/IExecuteActions.js.gz +0 -0
  133. package/dist/collection/components/snk-actions-button/actions/interfaces/IExecuteActionsProps.js.gz +0 -0
  134. package/dist/collection/components/snk-actions-button/actions/interfaces/IResultParam.js.gz +0 -0
  135. package/dist/collection/components/snk-actions-button/clientEvent/index.js.gz +0 -0
  136. package/dist/collection/components/snk-actions-button/clientEvent/interfaces/IClientEventConfirm.js.gz +0 -0
  137. package/dist/collection/components/snk-actions-button/interfaces/index.js.gz +0 -0
  138. package/dist/collection/components/snk-actions-button/snk-actions-button.css.gz +0 -0
  139. package/dist/collection/components/snk-actions-button/snk-actions-button.js.gz +0 -0
  140. package/dist/collection/components/snk-actions-button/subcomponents/snk-actions-form.js.gz +0 -0
  141. package/dist/collection/components/snk-actions-button/subcomponents/snk-client-confirm.js.gz +0 -0
  142. package/dist/collection/components/snk-application/__mocks__/snk-application.js.gz +0 -0
  143. package/dist/collection/components/snk-application/errorhandler/snk-error-handler.js.gz +0 -0
  144. package/dist/collection/components/snk-application/request-listener/DebouncedRequestListener.js.gz +0 -0
  145. package/dist/collection/components/snk-application/request-listener/RequestListenerFactory.js.gz +0 -0
  146. package/dist/collection/components/snk-application/request-listener/RequestListenerLoadingBar.js.gz +0 -0
  147. package/dist/collection/components/snk-application/search-strategy/exec-prepared-search-plus.js.gz +0 -0
  148. package/dist/collection/components/snk-application/snk-application.css.gz +0 -0
  149. package/dist/collection/components/snk-application/snk-application.js.gz +0 -0
  150. package/dist/collection/components/snk-attach/interfaces/ICrudConfig.js.gz +0 -0
  151. package/dist/collection/components/snk-attach/interfaces/TFetcherType.js.gz +0 -0
  152. package/dist/collection/components/snk-attach/interfaces/index.js.gz +0 -0
  153. package/dist/collection/components/snk-attach/snk-attach.css.gz +0 -0
  154. package/dist/collection/components/snk-attach/snk-attach.js.gz +0 -0
  155. package/dist/collection/components/snk-attach/structure/builder/anexo-sistema-crud-config.builder.js.gz +0 -0
  156. package/dist/collection/components/snk-attach/structure/builder/attach-crud-config.builder.js.gz +0 -0
  157. package/dist/collection/components/snk-attach/structure/builder/taskbar-builder.js.gz +0 -0
  158. package/dist/collection/components/snk-attach/structure/fetcher/facade/fetcher.facade.js.gz +0 -0
  159. package/dist/collection/components/snk-attach/structure/fetcher/factory/anexo-sistema-data-unit.factory.js.gz +0 -0
  160. package/dist/collection/components/snk-attach/structure/fetcher/factory/attach-fetcher-data-unit.factory.js.gz +0 -0
  161. package/dist/collection/components/snk-attach/structure/index.js.gz +0 -0
  162. package/dist/collection/components/snk-configurator/AuthorizationConfig.js.gz +0 -0
  163. package/dist/collection/components/snk-configurator/snk-configurator.css.gz +0 -0
  164. package/dist/collection/components/snk-configurator/snk-configurator.js.gz +0 -0
  165. package/dist/collection/components/snk-crud/interfaces/PropsCustomEditor.js.gz +0 -0
  166. package/dist/collection/components/snk-crud/interfaces/PropsCustomRender.js.gz +0 -0
  167. package/dist/collection/components/snk-crud/snk-crud.css.gz +0 -0
  168. package/dist/collection/components/snk-crud/snk-crud.js.gz +0 -0
  169. package/dist/collection/components/snk-crud/subcomponents/CardFormResizeObserver.js.gz +0 -0
  170. package/dist/collection/components/snk-crud/subcomponents/GuideBuilder.js.gz +0 -0
  171. package/dist/collection/components/snk-crud/subcomponents/snk-detail-view/snk-detail-view.css.gz +0 -0
  172. package/dist/collection/components/snk-crud/subcomponents/snk-detail-view/snk-detail-view.js.gz +0 -0
  173. package/dist/collection/components/snk-crud/subcomponents/snk-form-summary.css.gz +0 -0
  174. package/dist/collection/components/snk-crud/subcomponents/snk-form-summary.js.gz +0 -0
  175. package/dist/collection/components/snk-crud/subcomponents/snk-form-view.css.gz +0 -0
  176. package/dist/collection/components/snk-crud/subcomponents/snk-form-view.js.gz +0 -0
  177. package/dist/collection/components/snk-crud/subcomponents/snk-guides-viewer.css.gz +0 -0
  178. package/dist/collection/components/snk-crud/subcomponents/snk-guides-viewer.js.gz +0 -0
  179. package/dist/collection/components/snk-custom-slot-elements/snk-custom-slot-elements.css.gz +0 -0
  180. package/dist/collection/components/snk-custom-slot-elements/snk-custom-slot-elements.js.gz +0 -0
  181. package/dist/collection/components/snk-data-exporter/data/attachment.js.gz +0 -0
  182. package/dist/collection/components/snk-data-exporter/data/email.js.gz +0 -0
  183. package/dist/collection/components/snk-data-exporter/data/export-config.js.gz +0 -0
  184. package/dist/collection/components/snk-data-exporter/data/export-result.js.gz +0 -0
  185. package/dist/collection/components/snk-data-exporter/data/report.js.gz +0 -0
  186. package/dist/collection/components/snk-data-exporter/exporter-email-sender/email-info-step.js.gz +0 -0
  187. package/dist/collection/components/snk-data-exporter/exporter-email-sender/options-step.js.gz +0 -0
  188. package/dist/collection/components/snk-data-exporter/exporter-email-sender/snk-exporter-email-sender.js.gz +0 -0
  189. package/dist/collection/components/snk-data-exporter/exporter-strategy/ClientSideExporterStrategy.js.gz +0 -0
  190. package/dist/collection/components/snk-data-exporter/exporter-strategy/ServerSideExporterStrategy.js.gz +0 -0
  191. package/dist/collection/components/snk-data-exporter/interfaces/IExporterProvider.js.gz +0 -0
  192. package/dist/collection/components/snk-data-exporter/interfaces/IExporterStrategy.js.gz +0 -0
  193. package/dist/collection/components/snk-data-exporter/interfaces/IRecordID.js.gz +0 -0
  194. package/dist/collection/components/snk-data-exporter/interfaces/ISelectedID.js.gz +0 -0
  195. package/dist/collection/components/snk-data-exporter/providers/ClientSideExporterProvider.js.gz +0 -0
  196. package/dist/collection/components/snk-data-exporter/providers/ServerSideExporterProvider.js.gz +0 -0
  197. package/dist/collection/components/snk-data-exporter/snk-data-exporter.css.gz +0 -0
  198. package/dist/collection/components/snk-data-exporter/snk-data-exporter.js.gz +0 -0
  199. package/dist/collection/components/snk-data-exporter/structure/ItemBuilder.js.gz +0 -0
  200. package/dist/collection/components/snk-data-exporter/test/resources/ClientSideExporterStrategyResources.js.gz +0 -0
  201. package/dist/collection/components/snk-data-exporter/utils/ParserExport.js.gz +0 -0
  202. package/dist/collection/components/snk-data-unit/MultipleUpdateHelper.js.gz +0 -0
  203. package/dist/collection/components/snk-data-unit/snk-data-unit.js.gz +0 -0
  204. package/dist/collection/components/snk-data-unit/test/resources/metadataMock.js.gz +0 -0
  205. package/dist/collection/components/snk-data-unit/test/resources/parentMetadataMock.js.gz +0 -0
  206. package/dist/collection/components/snk-entity-list/snk-entity-list.css.gz +0 -0
  207. package/dist/collection/components/snk-entity-list/snk-entity-list.js +3 -23
  208. package/dist/collection/components/snk-entity-list/snk-entity-list.js.gz +0 -0
  209. package/dist/collection/components/snk-filter-bar/filter-item/dataunitfilter/data-unit-filter-builder.js.gz +0 -0
  210. package/dist/collection/components/snk-filter-bar/filter-item/editors/enum/filterNumberVariation.js.gz +0 -0
  211. package/dist/collection/components/snk-filter-bar/filter-item/editors/enum/presentationMode.js.gz +0 -0
  212. package/dist/collection/components/snk-filter-bar/filter-item/editors/snk-filter-binary-select.js +2 -72
  213. package/dist/collection/components/snk-filter-bar/filter-item/editors/snk-filter-binary-select.js.gz +0 -0
  214. package/dist/collection/components/snk-filter-bar/filter-item/editors/snk-filter-checkbox-list.js +2 -73
  215. package/dist/collection/components/snk-filter-bar/filter-item/editors/snk-filter-checkbox-list.js.gz +0 -0
  216. package/dist/collection/components/snk-filter-bar/filter-item/editors/snk-filter-multi-select.js +5 -51
  217. package/dist/collection/components/snk-filter-bar/filter-item/editors/snk-filter-multi-select.js.gz +0 -0
  218. package/dist/collection/components/snk-filter-bar/filter-item/editors/snk-filter-number.js +3 -83
  219. package/dist/collection/components/snk-filter-bar/filter-item/editors/snk-filter-number.js.gz +0 -0
  220. package/dist/collection/components/snk-filter-bar/filter-item/editors/snk-filter-period.js +27 -118
  221. package/dist/collection/components/snk-filter-bar/filter-item/editors/snk-filter-period.js.gz +0 -0
  222. package/dist/collection/components/snk-filter-bar/filter-item/editors/snk-filter-search.js +5 -49
  223. package/dist/collection/components/snk-filter-bar/filter-item/editors/snk-filter-search.js.gz +0 -0
  224. package/dist/collection/components/snk-filter-bar/filter-item/editors/snk-filter-text.js +1 -71
  225. package/dist/collection/components/snk-filter-bar/filter-item/editors/snk-filter-text.js.gz +0 -0
  226. package/dist/collection/components/snk-filter-bar/filter-item/editors/snk-personalized-filter-editor/snk-personalized-filter-editor.css.gz +0 -0
  227. package/dist/collection/components/snk-filter-bar/filter-item/editors/snk-personalized-filter-editor/snk-personalized-filter-editor.js.gz +0 -0
  228. package/dist/collection/components/snk-filter-bar/filter-item/filter-item-type-mask.enum.js.gz +0 -0
  229. package/dist/collection/components/snk-filter-bar/filter-item/filter-item-type.enum.js.gz +0 -0
  230. package/dist/collection/components/snk-filter-bar/filter-item/snk-filter-detail.js +11 -62
  231. package/dist/collection/components/snk-filter-bar/filter-item/snk-filter-detail.js.gz +0 -0
  232. package/dist/collection/components/snk-filter-bar/filter-item/snk-filter-item.css.gz +0 -0
  233. package/dist/collection/components/snk-filter-bar/filter-item/snk-filter-item.js +8 -70
  234. package/dist/collection/components/snk-filter-bar/filter-item/snk-filter-item.js.gz +0 -0
  235. package/dist/collection/components/snk-filter-bar/filter-list/snk-filter-list.js.gz +0 -0
  236. package/dist/collection/components/snk-filter-bar/filter-modal/snk-filter-modal.css +4 -0
  237. package/dist/collection/components/snk-filter-bar/filter-modal/snk-filter-modal.css.gz +0 -0
  238. package/dist/collection/components/snk-filter-bar/filter-modal/snk-filter-modal.js +16 -112
  239. package/dist/collection/components/snk-filter-bar/filter-modal/snk-filter-modal.js.gz +0 -0
  240. package/dist/collection/components/snk-filter-bar/filter-modal/subcomponents/snk-default-filter/snk-default-filter.css.gz +0 -0
  241. package/dist/collection/components/snk-filter-bar/filter-modal/subcomponents/snk-default-filter/snk-default-filter.js.gz +0 -0
  242. package/dist/collection/components/snk-filter-bar/filter-modal/subcomponents/snk-filter-modal-item.css.gz +0 -0
  243. package/dist/collection/components/snk-filter-bar/filter-modal/subcomponents/snk-filter-modal-item.js +16 -8
  244. package/dist/collection/components/snk-filter-bar/filter-modal/subcomponents/snk-filter-modal-item.js.gz +0 -0
  245. package/dist/collection/components/snk-filter-bar/snk-filter-bar.css.gz +0 -0
  246. package/dist/collection/components/snk-filter-bar/snk-filter-bar.js +52 -106
  247. package/dist/collection/components/snk-filter-bar/snk-filter-bar.js.gz +0 -0
  248. package/dist/collection/components/snk-filter-bar/types/custom-element-filter.js.gz +0 -0
  249. package/dist/collection/components/snk-filter-bar/types/default-filters.js.gz +0 -0
  250. package/dist/collection/components/snk-filter-bar/types/filter-type.enum.js.gz +0 -0
  251. package/dist/collection/components/snk-filter-bar/utils/SnkFilterModalFactory.js +1 -3
  252. package/dist/collection/components/snk-filter-bar/utils/SnkFilterModalFactory.js.gz +0 -0
  253. package/dist/collection/components/snk-filter-bar/utils/filters-mock.js.gz +0 -0
  254. package/dist/collection/components/snk-filter-field-search/interfaces/index.js.gz +0 -0
  255. package/dist/collection/components/snk-filter-field-search/snk-filter-field-search.css.gz +0 -0
  256. package/dist/collection/components/snk-filter-field-search/snk-filter-field-search.js.gz +0 -0
  257. package/dist/collection/components/snk-filter-field-search/subcomponents/index.js.gz +0 -0
  258. package/dist/collection/components/snk-filter-field-search/subcomponents/list-item.js.gz +0 -0
  259. package/dist/collection/components/snk-form/snk-form.css.gz +0 -0
  260. package/dist/collection/components/snk-form/snk-form.js.gz +0 -0
  261. package/dist/collection/components/snk-form-config/FormConfigHelper.js.gz +0 -0
  262. package/dist/collection/components/snk-form-config/SnkFormConfigManager.js.gz +0 -0
  263. package/dist/collection/components/snk-form-config/config-header/config-header.css.gz +0 -0
  264. package/dist/collection/components/snk-form-config/config-header/config-header.js.gz +0 -0
  265. package/dist/collection/components/snk-form-config/config-header/configs-button/configs-button.css.gz +0 -0
  266. package/dist/collection/components/snk-form-config/config-header/configs-button/configs-button.js.gz +0 -0
  267. package/dist/collection/components/snk-form-config/field-item/field-config/field-config.css.gz +0 -0
  268. package/dist/collection/components/snk-form-config/field-item/field-config/field-config.js.gz +0 -0
  269. package/dist/collection/components/snk-form-config/field-item/field-item.css.gz +0 -0
  270. package/dist/collection/components/snk-form-config/field-item/field-item.js.gz +0 -0
  271. package/dist/collection/components/snk-form-config/fields-layout/fields-layout.css.gz +0 -0
  272. package/dist/collection/components/snk-form-config/fields-layout/fields-layout.js.gz +0 -0
  273. package/dist/collection/components/snk-form-config/fields-selector/fields-selector.css.gz +0 -0
  274. package/dist/collection/components/snk-form-config/fields-selector/fields-selector.js.gz +0 -0
  275. package/dist/collection/components/snk-form-config/guides-configurator/guides-configurator.css.gz +0 -0
  276. package/dist/collection/components/snk-form-config/guides-configurator/guides-configurator.js.gz +0 -0
  277. package/dist/collection/components/snk-form-config/snk-form-config.css.gz +0 -0
  278. package/dist/collection/components/snk-form-config/snk-form-config.js.gz +0 -0
  279. package/dist/collection/components/snk-grid/filtercolumn/SnkMultiSelectionListDataSource.js.gz +0 -0
  280. package/dist/collection/components/snk-grid/snk-grid.css.gz +0 -0
  281. package/dist/collection/components/snk-grid/snk-grid.js +16 -91
  282. package/dist/collection/components/snk-grid/snk-grid.js.gz +0 -0
  283. package/dist/collection/components/snk-grid-config/snk-grid-config.css.gz +0 -0
  284. package/dist/collection/components/snk-grid-config/snk-grid-config.js.gz +0 -0
  285. package/dist/collection/components/snk-grid-config/snk-select-box/snk-select-box.css.gz +0 -0
  286. package/dist/collection/components/snk-grid-config/snk-select-box/snk-select-box.js.gz +0 -0
  287. package/dist/collection/components/snk-layout-form-config/snk-layout-form-config.css.gz +0 -0
  288. package/dist/collection/components/snk-layout-form-config/snk-layout-form-config.js.gz +0 -0
  289. package/dist/collection/components/snk-layout-form-config/snk-view-representation/snk-view-representation.css.gz +0 -0
  290. package/dist/collection/components/snk-layout-form-config/snk-view-representation/snk-view-representation.js.gz +0 -0
  291. package/dist/collection/components/snk-personalized-filter/interfaces/IExpressionGroup.js.gz +0 -0
  292. package/dist/collection/components/snk-personalized-filter/interfaces/IExpressionItem.js.gz +0 -0
  293. package/dist/collection/components/snk-personalized-filter/interfaces/IParameter.js.gz +0 -0
  294. package/dist/collection/components/snk-personalized-filter/interfaces/IPersonalizedFilter.js.gz +0 -0
  295. package/dist/collection/components/snk-personalized-filter/interfaces/ISystemFilterConfig.js.gz +0 -0
  296. package/dist/collection/components/snk-personalized-filter/interfaces/IUserFilterConfig.js.gz +0 -0
  297. package/dist/collection/components/snk-personalized-filter/interfaces/index.js.gz +0 -0
  298. package/dist/collection/components/snk-personalized-filter/snk-personalized-filter.css.gz +0 -0
  299. package/dist/collection/components/snk-personalized-filter/snk-personalized-filter.js.gz +0 -0
  300. package/dist/collection/components/snk-personalized-filter/subcomponents/snk-expression-group/snk-expression-group.css.gz +0 -0
  301. package/dist/collection/components/snk-personalized-filter/subcomponents/snk-expression-group/snk-expression-group.js.gz +0 -0
  302. package/dist/collection/components/snk-personalized-filter/subcomponents/snk-expression-item/filter-operands/filter-operands.js.gz +0 -0
  303. package/dist/collection/components/snk-personalized-filter/subcomponents/snk-expression-item/snk-expression-item.css.gz +0 -0
  304. package/dist/collection/components/snk-personalized-filter/subcomponents/snk-expression-item/snk-expression-item.js.gz +0 -0
  305. package/dist/collection/components/snk-personalized-filter/subcomponents/snk-filter-advanced-mode/snk-filter-advanced-mode.css.gz +0 -0
  306. package/dist/collection/components/snk-personalized-filter/subcomponents/snk-filter-advanced-mode/snk-filter-advanced-mode.js.gz +0 -0
  307. package/dist/collection/components/snk-personalized-filter/subcomponents/snk-filter-assistent-mode/snk-filter-assistent-mode.css.gz +0 -0
  308. package/dist/collection/components/snk-personalized-filter/subcomponents/snk-filter-assistent-mode/snk-filter-assistent-mode.js.gz +0 -0
  309. package/dist/collection/components/snk-personalized-filter/subcomponents/snk-filter-param-config/snk-filter-param-config.css.gz +0 -0
  310. package/dist/collection/components/snk-personalized-filter/subcomponents/snk-filter-param-config/snk-filter-param-config.js.gz +0 -0
  311. package/dist/collection/components/snk-personalized-filter/subcomponents/snk-filter-param-config/utils/PersonalizedFilterUtils.js.gz +0 -0
  312. package/dist/collection/components/snk-pesquisa/pesquisa-grid/pesquisa-grid.css.gz +0 -0
  313. package/dist/collection/components/snk-pesquisa/pesquisa-grid/pesquisa-grid.js.gz +0 -0
  314. package/dist/collection/components/snk-pesquisa/pesquisa-tree/pesquisa-tree.css.gz +0 -0
  315. package/dist/collection/components/snk-pesquisa/pesquisa-tree/pesquisa-tree.js.gz +0 -0
  316. package/dist/collection/components/snk-pesquisa/pesquisaHelper.js.gz +0 -0
  317. package/dist/collection/components/snk-pesquisa/snk-pesquisa.css.gz +0 -0
  318. package/dist/collection/components/snk-pesquisa/snk-pesquisa.js.gz +0 -0
  319. package/dist/collection/components/snk-print-selector/snk-print-selector.css.gz +0 -0
  320. package/dist/collection/components/snk-print-selector/snk-print-selector.js.gz +0 -0
  321. package/dist/collection/components/snk-simple-bar/snk-simple-bar.css.gz +0 -0
  322. package/dist/collection/components/snk-simple-bar/snk-simple-bar.js.gz +0 -0
  323. package/dist/collection/components/snk-simple-crud/snk-simple-crud.constants.js.gz +0 -0
  324. package/dist/collection/components/snk-simple-crud/snk-simple-crud.css.gz +0 -0
  325. package/dist/collection/components/snk-simple-crud/snk-simple-crud.js.gz +0 -0
  326. package/dist/collection/components/snk-simple-form-config/snk-simple-form-config.css.gz +0 -0
  327. package/dist/collection/components/snk-simple-form-config/snk-simple-form-config.js.gz +0 -0
  328. package/dist/collection/components/snk-taskbar/elements/taskbar-actions-button/taskbar-actions-button.css.gz +0 -0
  329. package/dist/collection/components/snk-taskbar/elements/taskbar-actions-button/taskbar-actions-button.js.gz +0 -0
  330. package/dist/collection/components/snk-taskbar/elements/taskbar-elements.js.gz +0 -0
  331. package/dist/collection/components/snk-taskbar/elements/taskbar-split-button/taskbar-split-button.css.gz +0 -0
  332. package/dist/collection/components/snk-taskbar/elements/taskbar-split-button/taskbar-split-button.js.gz +0 -0
  333. package/dist/collection/components/snk-taskbar/processor/taskbar-processor.js.gz +0 -0
  334. package/dist/collection/components/snk-taskbar/snk-taskbar.css.gz +0 -0
  335. package/dist/collection/components/snk-taskbar/snk-taskbar.js.gz +0 -0
  336. package/dist/collection/components/teste-pesquisa/teste-pesquisa.css.gz +0 -0
  337. package/dist/collection/components/teste-pesquisa/teste-pesquisa.js.gz +0 -0
  338. package/dist/collection/index.js.gz +0 -0
  339. package/dist/collection/lib/@types/index.js.gz +0 -0
  340. package/dist/collection/lib/DefaultCustomFormatters/RmPrecisionCustomValueFormatter.js.gz +0 -0
  341. package/dist/collection/lib/applet-caller/applet-caller.js.gz +0 -0
  342. package/dist/collection/lib/auth/mgeauthorization.module.js.gz +0 -0
  343. package/dist/collection/lib/configs/ConfigStorage.js.gz +0 -0
  344. package/dist/collection/lib/configs/LayoutFormConfig.js.gz +0 -0
  345. package/dist/collection/lib/dataUnit/InMemoryLoader.js.gz +0 -0
  346. package/dist/collection/lib/dataUnit/ValueFormatter.js.gz +0 -0
  347. package/dist/collection/lib/dataUnit/dataUnitInMemoryUtils.js.gz +0 -0
  348. package/dist/collection/lib/dataUnit/interfaces/InMemoryLoaderConfig.js.gz +0 -0
  349. package/dist/collection/lib/http/data-fetcher/DataFetcher.js +0 -1
  350. package/dist/collection/lib/http/data-fetcher/DataFetcher.js.gz +0 -0
  351. package/dist/collection/lib/http/data-fetcher/fetchers/AttachFetcher/anexo-sistema-fetcher.js.gz +0 -0
  352. package/dist/collection/lib/http/data-fetcher/fetchers/AttachFetcher/attach-fetcher.js.gz +0 -0
  353. package/dist/collection/lib/http/data-fetcher/fetchers/AttachFetcher/facade/attach-fetcher.facade.js.gz +0 -0
  354. package/dist/collection/lib/http/data-fetcher/fetchers/AttachFetcher/index.js.gz +0 -0
  355. package/dist/collection/lib/http/data-fetcher/fetchers/AttachFetcher/interfaces/IDelete.js.gz +0 -0
  356. package/dist/collection/lib/http/data-fetcher/fetchers/AttachFetcher/interfaces/IDownloadKey.js.gz +0 -0
  357. package/dist/collection/lib/http/data-fetcher/fetchers/AttachFetcher/interfaces/ISave.js.gz +0 -0
  358. package/dist/collection/lib/http/data-fetcher/fetchers/AttachFetcher/interfaces/index.js.gz +0 -0
  359. package/dist/collection/lib/http/data-fetcher/fetchers/application-config-fetcher.js.gz +0 -0
  360. package/dist/collection/lib/http/data-fetcher/fetchers/auth-fetcher.js.gz +0 -0
  361. package/dist/collection/lib/http/data-fetcher/fetchers/data-unit/DataUnitDataLoader.js.gz +0 -0
  362. package/dist/collection/lib/http/data-fetcher/fetchers/data-unit/cache/ArrayRepository.js.gz +0 -0
  363. package/dist/collection/lib/http/data-fetcher/fetchers/data-unit/cache/PreloadManager.js.gz +0 -0
  364. package/dist/collection/lib/http/data-fetcher/fetchers/data-unit/dataunit-fetcher.js.gz +0 -0
  365. package/dist/collection/lib/http/data-fetcher/fetchers/data-unit/helpers/DataUnitDataLoaderHelper.js.gz +0 -0
  366. package/dist/collection/lib/http/data-fetcher/fetchers/data-unit/interfaces/IBuildRequestBodyLoadRowMetadata.js.gz +0 -0
  367. package/dist/collection/lib/http/data-fetcher/fetchers/data-unit/interfaces/ILoadDataResult.js.gz +0 -0
  368. package/dist/collection/lib/http/data-fetcher/fetchers/data-unit/interfaces/ILoadDataStrategy.js.gz +0 -0
  369. package/dist/collection/lib/http/data-fetcher/fetchers/data-unit/interfaces/ILoadingInfo.js.gz +0 -0
  370. package/dist/collection/lib/http/data-fetcher/fetchers/data-unit/interfaces/IRecordField.js.gz +0 -0
  371. package/dist/collection/lib/http/data-fetcher/fetchers/data-unit/interfaces/IResponseRecord.js.gz +0 -0
  372. package/dist/collection/lib/http/data-fetcher/fetchers/data-unit/interfaces/IRowMetadata.js.gz +0 -0
  373. package/dist/collection/lib/http/data-fetcher/fetchers/data-unit/loadstrategy/DataUnitStrategy.js.gz +0 -0
  374. package/dist/collection/lib/http/data-fetcher/fetchers/data-unit/loadstrategy/DatasetStrategy.js.gz +0 -0
  375. package/dist/collection/lib/http/data-fetcher/fetchers/data-unit/loadstrategy/test/resources/metadataMock.js.gz +0 -0
  376. package/dist/collection/lib/http/data-fetcher/fetchers/fetchDataExporter/interfaces/IExporterColumnMetadata.js.gz +0 -0
  377. package/dist/collection/lib/http/data-fetcher/fetchers/fetchDataExporter/interfaces/IFetchDataExporterParams.js.gz +0 -0
  378. package/dist/collection/lib/http/data-fetcher/fetchers/fetchDataExporter/interfaces/IFetchDataExporterResponse.js.gz +0 -0
  379. package/dist/collection/lib/http/data-fetcher/fetchers/fetchDataExporter/interfaces/IPersonalizedReport.js.gz +0 -0
  380. package/dist/collection/lib/http/data-fetcher/fetchers/fetchDataExporter/permission-export-pdf.js.gz +0 -0
  381. package/dist/collection/lib/http/data-fetcher/fetchers/fetchDataExporter/personalized-reports-fetcher.js.gz +0 -0
  382. package/dist/collection/lib/http/data-fetcher/fetchers/filter-bar-config-fetcher.js.gz +0 -0
  383. package/dist/collection/lib/http/data-fetcher/fetchers/form-config-fetcher.js.gz +0 -0
  384. package/dist/collection/lib/http/data-fetcher/fetchers/grid-config-fetcher.js.gz +0 -0
  385. package/dist/collection/lib/http/data-fetcher/fetchers/parameters-fecher.js.gz +0 -0
  386. package/dist/collection/lib/http/data-fetcher/fetchers/personalized-filter-fetcher.js.gz +0 -0
  387. package/dist/collection/lib/http/data-fetcher/fetchers/pesquisa-fetcher.js.gz +0 -0
  388. package/dist/collection/lib/http/data-fetcher/fetchers/resource-fetcher.js.gz +0 -0
  389. package/dist/collection/lib/http/data-fetcher/fetchers/totals-fetcher.js.gz +0 -0
  390. package/dist/collection/lib/http/data-fetcher/interfaces/IClientEventResponse.js.gz +0 -0
  391. package/dist/collection/lib/http/data-fetcher/recaller/GraphQLRecaller.js.gz +0 -0
  392. package/dist/collection/lib/http/data-fetcher/recaller/IDataFetcherRecaller.js.gz +0 -0
  393. package/dist/collection/lib/http/data-fetcher/recaller/ServiceBrokerRecaller.js.gz +0 -0
  394. package/dist/collection/lib/http/data-fetcher/state/LoadStateManager.js.gz +0 -0
  395. package/dist/collection/lib/index.js.gz +0 -0
  396. package/dist/collection/lib/message/SnkMessageBuilder.js.gz +0 -0
  397. package/dist/collection/lib/message/messageResourceEnUSUtils.js.gz +0 -0
  398. package/dist/collection/lib/message/messageResourceEsESUtils.js.gz +0 -0
  399. package/dist/collection/lib/message/messageResourcePtBRUtils.js.gz +0 -0
  400. package/dist/collection/lib/message/resources/en-us/continuousInsertUtils.msg.js.gz +0 -0
  401. package/dist/collection/lib/message/resources/en-us/crud-utils.msg.js.gz +0 -0
  402. package/dist/collection/lib/message/resources/en-us/dataFetcher.msg.js.gz +0 -0
  403. package/dist/collection/lib/message/resources/en-us/dataUnitDataLoaderHelper.msg.js.gz +0 -0
  404. package/dist/collection/lib/message/resources/en-us/file-viewer.msg.js.gz +0 -0
  405. package/dist/collection/lib/message/resources/en-us/snk-actions-button.msg.js.gz +0 -0
  406. package/dist/collection/lib/message/resources/en-us/snk-application.msg.js.gz +0 -0
  407. package/dist/collection/lib/message/resources/en-us/snk-attach.msg.js.gz +0 -0
  408. package/dist/collection/lib/message/resources/en-us/snk-configurator.msg.js.gz +0 -0
  409. package/dist/collection/lib/message/resources/en-us/snk-crud.msg.js.gz +0 -0
  410. package/dist/collection/lib/message/resources/en-us/snk-data-exporter.msg.js.gz +0 -0
  411. package/dist/collection/lib/message/resources/en-us/snk-data-unit.msg.js.gz +0 -0
  412. package/dist/collection/lib/message/resources/en-us/snk-entity-list.msg.js.gz +0 -0
  413. package/dist/collection/lib/message/resources/en-us/snk-error-handler.msg.js.gz +0 -0
  414. package/dist/collection/lib/message/resources/en-us/snk-exporter.msg.js.gz +0 -0
  415. package/dist/collection/lib/message/resources/en-us/snk-filter-bar.msg.js +0 -1
  416. package/dist/collection/lib/message/resources/en-us/snk-filter-bar.msg.js.gz +0 -0
  417. package/dist/collection/lib/message/resources/en-us/snk-filter-field-search.msg.js.gz +0 -0
  418. package/dist/collection/lib/message/resources/en-us/snk-filter-list.msg.js.gz +0 -0
  419. package/dist/collection/lib/message/resources/en-us/snk-filter-param-config.msg.js.gz +0 -0
  420. package/dist/collection/lib/message/resources/en-us/snk-form.msg.js.gz +0 -0
  421. package/dist/collection/lib/message/resources/en-us/snk-grid.msg.js +0 -4
  422. package/dist/collection/lib/message/resources/en-us/snk-grid.msg.js.gz +0 -0
  423. package/dist/collection/lib/message/resources/en-us/snk-layout-form-config.msg.js.gz +0 -0
  424. package/dist/collection/lib/message/resources/en-us/snk-personalized-filter.msg.js.gz +0 -0
  425. package/dist/collection/lib/message/resources/en-us/snk-pesquisa.msg.js.gz +0 -0
  426. package/dist/collection/lib/message/resources/en-us/snk-print-selector.msg.js.gz +0 -0
  427. package/dist/collection/lib/message/resources/en-us/snk-simple-bar.msg.js.gz +0 -0
  428. package/dist/collection/lib/message/resources/en-us/snk-simple-crud.msg.js.gz +0 -0
  429. package/dist/collection/lib/message/resources/en-us/snk-simple-form-config.msg.js.gz +0 -0
  430. package/dist/collection/lib/message/resources/en-us/snk-taskbar.msg.js.gz +0 -0
  431. package/dist/collection/lib/message/resources/es-es/continuousInsertUtils.msg.js.gz +0 -0
  432. package/dist/collection/lib/message/resources/es-es/crud-utils.msg.js.gz +0 -0
  433. package/dist/collection/lib/message/resources/es-es/dataFetcher.msg.js.gz +0 -0
  434. package/dist/collection/lib/message/resources/es-es/dataUnitDataLoaderHelper.msg.js.gz +0 -0
  435. package/dist/collection/lib/message/resources/es-es/file-viewer.msg.js.gz +0 -0
  436. package/dist/collection/lib/message/resources/es-es/snk-actions-button.msg.js.gz +0 -0
  437. package/dist/collection/lib/message/resources/es-es/snk-application.msg.js.gz +0 -0
  438. package/dist/collection/lib/message/resources/es-es/snk-attach.msg.js.gz +0 -0
  439. package/dist/collection/lib/message/resources/es-es/snk-configurator.msg.js.gz +0 -0
  440. package/dist/collection/lib/message/resources/es-es/snk-crud.msg.js.gz +0 -0
  441. package/dist/collection/lib/message/resources/es-es/snk-data-exporter.msg.js.gz +0 -0
  442. package/dist/collection/lib/message/resources/es-es/snk-data-unit.msg.js.gz +0 -0
  443. package/dist/collection/lib/message/resources/es-es/snk-entity-list.msg.js.gz +0 -0
  444. package/dist/collection/lib/message/resources/es-es/snk-error-handler.msg.js.gz +0 -0
  445. package/dist/collection/lib/message/resources/es-es/snk-exporter.msg.js.gz +0 -0
  446. package/dist/collection/lib/message/resources/es-es/snk-filter-bar.msg.js +0 -1
  447. package/dist/collection/lib/message/resources/es-es/snk-filter-bar.msg.js.gz +0 -0
  448. package/dist/collection/lib/message/resources/es-es/snk-filter-field-search.msg.js.gz +0 -0
  449. package/dist/collection/lib/message/resources/es-es/snk-filter-list.msg.js.gz +0 -0
  450. package/dist/collection/lib/message/resources/es-es/snk-filter-param-config.msg.js.gz +0 -0
  451. package/dist/collection/lib/message/resources/es-es/snk-form.msg.js.gz +0 -0
  452. package/dist/collection/lib/message/resources/es-es/snk-grid.msg.js +0 -4
  453. package/dist/collection/lib/message/resources/es-es/snk-grid.msg.js.gz +0 -0
  454. package/dist/collection/lib/message/resources/es-es/snk-layout-form-config.msg.js.gz +0 -0
  455. package/dist/collection/lib/message/resources/es-es/snk-personalized-filter.msg.js.gz +0 -0
  456. package/dist/collection/lib/message/resources/es-es/snk-pesquisa.msg.js.gz +0 -0
  457. package/dist/collection/lib/message/resources/es-es/snk-print-selector.msg.js.gz +0 -0
  458. package/dist/collection/lib/message/resources/es-es/snk-simple-bar.msg.js.gz +0 -0
  459. package/dist/collection/lib/message/resources/es-es/snk-simple-crud.msg.js.gz +0 -0
  460. package/dist/collection/lib/message/resources/es-es/snk-simple-form-config.msg.js.gz +0 -0
  461. package/dist/collection/lib/message/resources/es-es/snk-taskbar.msg.js.gz +0 -0
  462. package/dist/collection/lib/message/resources/pt-br/continuousInsertUtils.msg.js.gz +0 -0
  463. package/dist/collection/lib/message/resources/pt-br/crud-utils.msg.js.gz +0 -0
  464. package/dist/collection/lib/message/resources/pt-br/dataFetcher.msg.js.gz +0 -0
  465. package/dist/collection/lib/message/resources/pt-br/dataUnitDataLoaderHelper.msg.js.gz +0 -0
  466. package/dist/collection/lib/message/resources/pt-br/file-viewer.msg.js.gz +0 -0
  467. package/dist/collection/lib/message/resources/pt-br/snk-actions-button.msg.js.gz +0 -0
  468. package/dist/collection/lib/message/resources/pt-br/snk-application.msg.js.gz +0 -0
  469. package/dist/collection/lib/message/resources/pt-br/snk-attach.msg.js.gz +0 -0
  470. package/dist/collection/lib/message/resources/pt-br/snk-configurator.msg.js.gz +0 -0
  471. package/dist/collection/lib/message/resources/pt-br/snk-crud.msg.js.gz +0 -0
  472. package/dist/collection/lib/message/resources/pt-br/snk-data-exporter.msg.js.gz +0 -0
  473. package/dist/collection/lib/message/resources/pt-br/snk-data-unit.msg.js.gz +0 -0
  474. package/dist/collection/lib/message/resources/pt-br/snk-entity-list.msg.js.gz +0 -0
  475. package/dist/collection/lib/message/resources/pt-br/snk-error-handler.msg.js.gz +0 -0
  476. package/dist/collection/lib/message/resources/pt-br/snk-exporter.msg.js.gz +0 -0
  477. package/dist/collection/lib/message/resources/pt-br/snk-filter-bar.msg.js +0 -1
  478. package/dist/collection/lib/message/resources/pt-br/snk-filter-bar.msg.js.gz +0 -0
  479. package/dist/collection/lib/message/resources/pt-br/snk-filter-field-search.msg.js.gz +0 -0
  480. package/dist/collection/lib/message/resources/pt-br/snk-filter-list.msg.js.gz +0 -0
  481. package/dist/collection/lib/message/resources/pt-br/snk-filter-param-config.msg.js.gz +0 -0
  482. package/dist/collection/lib/message/resources/pt-br/snk-form.msg.js.gz +0 -0
  483. package/dist/collection/lib/message/resources/pt-br/snk-grid.msg.js +0 -4
  484. package/dist/collection/lib/message/resources/pt-br/snk-grid.msg.js.gz +0 -0
  485. package/dist/collection/lib/message/resources/pt-br/snk-layout-form-config.msg.js.gz +0 -0
  486. package/dist/collection/lib/message/resources/pt-br/snk-personalized-filter.msg.js.gz +0 -0
  487. package/dist/collection/lib/message/resources/pt-br/snk-pesquisa.msg.js.gz +0 -0
  488. package/dist/collection/lib/message/resources/pt-br/snk-print-selector.msg.js.gz +0 -0
  489. package/dist/collection/lib/message/resources/pt-br/snk-simple-bar.msg.js.gz +0 -0
  490. package/dist/collection/lib/message/resources/pt-br/snk-simple-crud.msg.js.gz +0 -0
  491. package/dist/collection/lib/message/resources/pt-br/snk-simple-form-config.msg.js.gz +0 -0
  492. package/dist/collection/lib/message/resources/pt-br/snk-taskbar.msg.js.gz +0 -0
  493. package/dist/collection/lib/resourceid/ResourceIDUtils.js.gz +0 -0
  494. package/dist/collection/lib/store/index.js.gz +0 -0
  495. package/dist/collection/lib/utils/ContinuousInsertUtils.js.gz +0 -0
  496. package/dist/collection/lib/utils/CrudUtils.js.gz +0 -0
  497. package/dist/collection/lib/utils/GetSelectedRecordsIDsInfo.js.gz +0 -0
  498. package/dist/collection/lib/utils/PrintUtils.js.gz +0 -0
  499. package/dist/collection/lib/utils/constants.js.gz +0 -0
  500. package/dist/collection/lib/utils/fileViewer/index.js.gz +0 -0
  501. package/dist/collection/lib/utils/fileViewer/interfaces/IFileViewerParams.js.gz +0 -0
  502. package/dist/collection/lib/utils/pesquisa.js.gz +0 -0
  503. package/dist/collection/lib/utils/urlutils.js.gz +0 -0
  504. package/dist/collection/lib/workspace/workspace.js.gz +0 -0
  505. package/dist/collection/sw.js.gz +0 -0
  506. package/dist/components/AuthorizationConfig.js.gz +0 -0
  507. package/dist/components/ConfigStorage.js.gz +0 -0
  508. package/dist/components/ContinuousInsertUtils.js.gz +0 -0
  509. package/dist/components/DataFetcher.js +0 -51
  510. package/dist/components/DataFetcher.js.gz +0 -0
  511. package/dist/components/GetSelectedRecordsIDsInfo.js.gz +0 -0
  512. package/dist/components/ISave.js.gz +0 -0
  513. package/dist/components/ParamType.js.gz +0 -0
  514. package/dist/components/PersonalizedFilterUtils.js.gz +0 -0
  515. package/dist/components/PrintUtils.js.gz +0 -0
  516. package/dist/components/ResourceIDUtils.js.gz +0 -0
  517. package/dist/components/SnkFormConfigManager.js.gz +0 -0
  518. package/dist/components/auth-fetcher.js.gz +0 -0
  519. package/dist/components/config-header.js.gz +0 -0
  520. package/dist/components/config-header2.js.gz +0 -0
  521. package/dist/components/configs-button.js.gz +0 -0
  522. package/dist/components/configs-button2.js.gz +0 -0
  523. package/dist/components/constants.js.gz +0 -0
  524. package/dist/components/dataunit-fetcher.js.gz +0 -0
  525. package/dist/components/field-config.js.gz +0 -0
  526. package/dist/components/field-config2.js.gz +0 -0
  527. package/dist/components/field-item.js.gz +0 -0
  528. package/dist/components/field-item2.js.gz +0 -0
  529. package/dist/components/fields-layout.js.gz +0 -0
  530. package/dist/components/fields-layout2.js.gz +0 -0
  531. package/dist/components/fields-selector.js.gz +0 -0
  532. package/dist/components/fields-selector2.js.gz +0 -0
  533. package/dist/components/filter-item-type.enum.js.gz +0 -0
  534. package/dist/components/filterNumberVariation.js.gz +0 -0
  535. package/dist/components/form-config-fetcher.js.gz +0 -0
  536. package/dist/components/guides-configurator.js.gz +0 -0
  537. package/dist/components/guides-configurator2.js.gz +0 -0
  538. package/dist/components/index.js.gz +0 -0
  539. package/dist/components/index2.js.gz +0 -0
  540. package/dist/components/pesquisa-grid.js.gz +0 -0
  541. package/dist/components/pesquisa-grid2.js.gz +0 -0
  542. package/dist/components/pesquisa-tree.js.gz +0 -0
  543. package/dist/components/pesquisa-tree2.js.gz +0 -0
  544. package/dist/components/presentationMode.js.gz +0 -0
  545. package/dist/components/snk-actions-button.js.gz +0 -0
  546. package/dist/components/snk-actions-button2.js.gz +0 -0
  547. package/dist/components/snk-actions-form.js.gz +0 -0
  548. package/dist/components/snk-application.js.gz +0 -0
  549. package/dist/components/snk-application2.js.gz +0 -0
  550. package/dist/components/snk-attach.js.gz +0 -0
  551. package/dist/components/snk-attach2.js.gz +0 -0
  552. package/dist/components/snk-client-confirm.js.gz +0 -0
  553. package/dist/components/snk-configurator.js.gz +0 -0
  554. package/dist/components/snk-configurator2.js.gz +0 -0
  555. package/dist/components/snk-crud.js +44 -62
  556. package/dist/components/snk-crud.js.gz +0 -0
  557. package/dist/components/snk-custom-slot-elements.js.gz +0 -0
  558. package/dist/components/snk-data-exporter.js.gz +0 -0
  559. package/dist/components/snk-data-exporter2.js.gz +0 -0
  560. package/dist/components/snk-data-unit.js.gz +0 -0
  561. package/dist/components/snk-data-unit2.js.gz +0 -0
  562. package/dist/components/snk-default-filter.js.gz +0 -0
  563. package/dist/components/snk-default-filter2.js.gz +0 -0
  564. package/dist/components/snk-detail-view.js.gz +0 -0
  565. package/dist/components/snk-detail-view2.js +56 -89
  566. package/dist/components/snk-detail-view2.js.gz +0 -0
  567. package/dist/components/snk-entity-list.js +2 -6
  568. package/dist/components/snk-entity-list.js.gz +0 -0
  569. package/dist/components/snk-exporter-email-sender.js.gz +0 -0
  570. package/dist/components/snk-exporter-email-sender2.js.gz +0 -0
  571. package/dist/components/snk-expression-group.js.gz +0 -0
  572. package/dist/components/snk-expression-group2.js.gz +0 -0
  573. package/dist/components/snk-expression-item.js.gz +0 -0
  574. package/dist/components/snk-expression-item2.js.gz +0 -0
  575. package/dist/components/snk-filter-advanced-mode.js.gz +0 -0
  576. package/dist/components/snk-filter-advanced-mode2.js.gz +0 -0
  577. package/dist/components/snk-filter-assistent-mode.js.gz +0 -0
  578. package/dist/components/snk-filter-assistent-mode2.js.gz +0 -0
  579. package/dist/components/snk-filter-bar.js.gz +0 -0
  580. package/dist/components/snk-filter-bar2.js +93 -77
  581. package/dist/components/snk-filter-bar2.js.gz +0 -0
  582. package/dist/components/snk-filter-binary-select.js +3 -27
  583. package/dist/components/snk-filter-binary-select.js.gz +0 -0
  584. package/dist/components/snk-filter-checkbox-list.js +3 -24
  585. package/dist/components/snk-filter-checkbox-list.js.gz +0 -0
  586. package/dist/components/snk-filter-detail.js.gz +0 -0
  587. package/dist/components/snk-filter-detail2.js +9 -28
  588. package/dist/components/snk-filter-detail2.js.gz +0 -0
  589. package/dist/components/snk-filter-field-search.js.gz +0 -0
  590. package/dist/components/snk-filter-field-search2.js.gz +0 -0
  591. package/dist/components/snk-filter-item.js.gz +0 -0
  592. package/dist/components/snk-filter-item2.js +8 -70
  593. package/dist/components/snk-filter-item2.js.gz +0 -0
  594. package/dist/components/snk-filter-list.js.gz +0 -0
  595. package/dist/components/snk-filter-modal-item.js.gz +0 -0
  596. package/dist/components/snk-filter-modal-item2.js +12 -7
  597. package/dist/components/snk-filter-modal-item2.js.gz +0 -0
  598. package/dist/components/snk-filter-modal.js +325 -1
  599. package/dist/components/snk-filter-modal.js.gz +0 -0
  600. package/dist/components/snk-filter-multi-select.js +4 -19
  601. package/dist/components/snk-filter-multi-select.js.gz +0 -0
  602. package/dist/components/snk-filter-number.js +4 -38
  603. package/dist/components/snk-filter-number.js.gz +0 -0
  604. package/dist/components/snk-filter-param-config.js.gz +0 -0
  605. package/dist/components/snk-filter-param-config2.js.gz +0 -0
  606. package/dist/components/snk-filter-period.js +16 -64
  607. package/dist/components/snk-filter-period.js.gz +0 -0
  608. package/dist/components/snk-filter-search.js +4 -17
  609. package/dist/components/snk-filter-search.js.gz +0 -0
  610. package/dist/components/snk-filter-text.js +2 -22
  611. package/dist/components/snk-filter-text.js.gz +0 -0
  612. package/dist/components/snk-form-config.js.gz +0 -0
  613. package/dist/components/snk-form-config2.js.gz +0 -0
  614. package/dist/components/snk-form-summary.js.gz +0 -0
  615. package/dist/components/snk-form-summary2.js.gz +0 -0
  616. package/dist/components/snk-form-view.js.gz +0 -0
  617. package/dist/components/snk-form-view2.js.gz +0 -0
  618. package/dist/components/snk-form.js.gz +0 -0
  619. package/dist/components/snk-grid-config.js.gz +0 -0
  620. package/dist/components/snk-grid-config2.js.gz +0 -0
  621. package/dist/components/snk-grid.js.gz +0 -0
  622. package/dist/components/snk-grid2.js +29 -65
  623. package/dist/components/snk-grid2.js.gz +0 -0
  624. package/dist/components/snk-guides-viewer.js.gz +0 -0
  625. package/dist/components/snk-layout-form-config.js.gz +0 -0
  626. package/dist/components/snk-layout-form-config2.js.gz +0 -0
  627. package/dist/components/snk-personalized-filter-editor.js.gz +0 -0
  628. package/dist/components/snk-personalized-filter.js.gz +0 -0
  629. package/dist/components/snk-personalized-filter2.js.gz +0 -0
  630. package/dist/components/snk-pesquisa.js.gz +0 -0
  631. package/dist/components/snk-pesquisa2.js.gz +0 -0
  632. package/dist/components/snk-print-selector.js.gz +0 -0
  633. package/dist/components/snk-select-box.js.gz +0 -0
  634. package/dist/components/snk-select-box2.js.gz +0 -0
  635. package/dist/components/snk-simple-bar.js.gz +0 -0
  636. package/dist/components/snk-simple-bar2.js.gz +0 -0
  637. package/dist/components/snk-simple-crud.js.gz +0 -0
  638. package/dist/components/snk-simple-crud2.js.gz +0 -0
  639. package/dist/components/snk-simple-form-config.js.gz +0 -0
  640. package/dist/components/snk-simple-form-config2.js.gz +0 -0
  641. package/dist/components/snk-taskbar.js.gz +0 -0
  642. package/dist/components/snk-taskbar2.js.gz +0 -0
  643. package/dist/components/snk-view-representation.js.gz +0 -0
  644. package/dist/components/snk-view-representation2.js.gz +0 -0
  645. package/dist/components/sortable.esm.js.gz +0 -0
  646. package/dist/components/taskbar-actions-button.js.gz +0 -0
  647. package/dist/components/taskbar-actions-button2.js.gz +0 -0
  648. package/dist/components/taskbar-split-button.js.gz +0 -0
  649. package/dist/components/taskbar-split-button2.js.gz +0 -0
  650. package/dist/components/teste-pesquisa.js.gz +0 -0
  651. package/dist/esm/AuthorizationConfig-dcbd207a.js.gz +0 -0
  652. package/dist/esm/{SnkMultiSelectionListDataSource-1136c4e7.js → ClientSideExporterProvider-21a99af1.js} +83 -83
  653. package/dist/esm/ClientSideExporterProvider-21a99af1.js.gz +0 -0
  654. package/dist/esm/{ConfigStorage-22eace3a.js → ConfigStorage-fc4e3a42.js} +2 -2
  655. package/dist/esm/ConfigStorage-fc4e3a42.js.gz +0 -0
  656. package/dist/esm/{DataFetcher-f6b2961a.js → DataFetcher-01ce1a4f.js} +0 -51
  657. package/dist/esm/DataFetcher-01ce1a4f.js.gz +0 -0
  658. package/dist/esm/FormConfigHelper-4e42f0b6.js.gz +0 -0
  659. package/dist/esm/GetSelectedRecordsIDsInfo-9fa41508.js.gz +0 -0
  660. package/dist/esm/IFetchDataExporterParams-d73bed3d.js.gz +0 -0
  661. package/dist/esm/{ISave-6b7b0423.js → ISave-d36bade4.js} +1 -1
  662. package/dist/esm/ISave-d36bade4.js.gz +0 -0
  663. package/dist/esm/ParamType-d5152b06.js.gz +0 -0
  664. package/dist/esm/PersonalizedFilterUtils-2db38ff2.js.gz +0 -0
  665. package/dist/esm/PrintUtils-3e4ff0f5.js.gz +0 -0
  666. package/dist/esm/ResourceIDUtils-a114189a.js.gz +0 -0
  667. package/dist/esm/{SnkFormConfigManager-968b97e7.js → SnkFormConfigManager-71dae34e.js} +2 -2
  668. package/dist/esm/SnkFormConfigManager-71dae34e.js.gz +0 -0
  669. package/dist/esm/{auth-fetcher-cf39e42b.js → auth-fetcher-2e565c35.js} +1 -1
  670. package/dist/esm/auth-fetcher-2e565c35.js.gz +0 -0
  671. package/dist/esm/config-header.entry.js.gz +0 -0
  672. package/dist/esm/configs-button.entry.js.gz +0 -0
  673. package/dist/esm/constants-7b422de0.js.gz +0 -0
  674. package/dist/esm/{dataunit-fetcher-6314b19d.js → dataunit-fetcher-14ba162b.js} +1 -1
  675. package/dist/esm/dataunit-fetcher-14ba162b.js.gz +0 -0
  676. package/dist/esm/default-filters-50105e43.js.gz +0 -0
  677. package/dist/esm/field-config_2.entry.js.gz +0 -0
  678. package/dist/esm/fields-layout.entry.js.gz +0 -0
  679. package/dist/esm/fields-selector.entry.js.gz +0 -0
  680. package/dist/esm/filter-item-type.enum-d45e026f.js.gz +0 -0
  681. package/dist/esm/filter-type.enum-f6a8fe23.js.gz +0 -0
  682. package/dist/esm/filterNumberVariation-8cee02ea.js.gz +0 -0
  683. package/dist/esm/{form-config-fetcher-bc6f0f1f.js → form-config-fetcher-a1ccc944.js} +1 -1
  684. package/dist/esm/form-config-fetcher-a1ccc944.js.gz +0 -0
  685. package/dist/esm/guides-configurator.entry.js.gz +0 -0
  686. package/dist/esm/index-446f9341.js.gz +0 -0
  687. package/dist/esm/index-479e1293.js +8 -8
  688. package/dist/esm/index-479e1293.js.gz +0 -0
  689. package/dist/esm/index-620ac460.js.gz +0 -0
  690. package/dist/esm/index-8acbae97.js.gz +0 -0
  691. package/dist/esm/index-b40568ff.js.gz +0 -0
  692. package/dist/esm/index.js.gz +0 -0
  693. package/dist/esm/loader.js +1 -1
  694. package/dist/esm/loader.js.gz +0 -0
  695. package/dist/esm/pesquisa-grid_2.entry.js +4 -4
  696. package/dist/esm/pesquisa-grid_2.entry.js.gz +0 -0
  697. package/dist/esm/polyfills/core-js.js.gz +0 -0
  698. package/dist/esm/polyfills/css-shim.js.gz +0 -0
  699. package/dist/esm/polyfills/dom.js.gz +0 -0
  700. package/dist/esm/polyfills/es5-html-element.js.gz +0 -0
  701. package/dist/esm/polyfills/index.js.gz +0 -0
  702. package/dist/esm/polyfills/system.js.gz +0 -0
  703. package/dist/esm/presentationMode-783bbf9d.js.gz +0 -0
  704. package/dist/esm/sankhyablocks.js +1 -1
  705. package/dist/esm/sankhyablocks.js.gz +0 -0
  706. package/dist/esm/snk-actions-button_8.entry.js +5 -5
  707. package/dist/esm/snk-actions-button_8.entry.js.gz +0 -0
  708. package/dist/esm/snk-actions-form.entry.js.gz +0 -0
  709. package/dist/esm/snk-application.entry.js +6 -6
  710. package/dist/esm/snk-application.entry.js.gz +0 -0
  711. package/dist/esm/snk-attach.entry.js +5 -5
  712. package/dist/esm/snk-attach.entry.js.gz +0 -0
  713. package/dist/esm/snk-client-confirm.entry.js.gz +0 -0
  714. package/dist/esm/snk-configurator.entry.js.gz +0 -0
  715. package/dist/esm/snk-crud.entry.js +5 -5
  716. package/dist/esm/snk-crud.entry.js.gz +0 -0
  717. package/dist/esm/snk-custom-slot-elements.entry.js.gz +0 -0
  718. package/dist/esm/snk-data-exporter.entry.js +5 -5
  719. package/dist/esm/snk-data-exporter.entry.js.gz +0 -0
  720. package/dist/esm/{snk-data-unit-4acf4781.js → snk-data-unit-b5e1c491.js} +2 -2
  721. package/dist/esm/snk-data-unit-b5e1c491.js.gz +0 -0
  722. package/dist/esm/snk-data-unit.entry.js +3 -3
  723. package/dist/esm/snk-data-unit.entry.js.gz +0 -0
  724. package/dist/esm/snk-default-filter.entry.js.gz +0 -0
  725. package/dist/esm/snk-detail-view.entry.js +7 -7
  726. package/dist/esm/snk-detail-view.entry.js.gz +0 -0
  727. package/dist/esm/snk-entity-list.entry.js +2 -5
  728. package/dist/esm/snk-entity-list.entry.js.gz +0 -0
  729. package/dist/esm/snk-exporter-email-sender.entry.js.gz +0 -0
  730. package/dist/esm/snk-expression-group_2.entry.js.gz +0 -0
  731. package/dist/esm/snk-filter-advanced-mode_2.entry.js.gz +0 -0
  732. package/dist/esm/snk-filter-bar_4.entry.js +101 -165
  733. package/dist/esm/snk-filter-bar_4.entry.js.gz +0 -0
  734. package/dist/esm/snk-filter-binary-select.entry.js +2 -23
  735. package/dist/esm/snk-filter-binary-select.entry.js.gz +0 -0
  736. package/dist/esm/snk-filter-checkbox-list.entry.js +2 -20
  737. package/dist/esm/snk-filter-checkbox-list.entry.js.gz +0 -0
  738. package/dist/esm/snk-filter-detail.entry.js +8 -25
  739. package/dist/esm/snk-filter-detail.entry.js.gz +0 -0
  740. package/dist/esm/snk-filter-field-search_2.entry.js.gz +0 -0
  741. package/dist/esm/snk-filter-modal-item.entry.js +14 -9
  742. package/dist/esm/snk-filter-modal-item.entry.js.gz +0 -0
  743. package/dist/esm/snk-filter-multi-select.entry.js +3 -16
  744. package/dist/esm/snk-filter-multi-select.entry.js.gz +0 -0
  745. package/dist/esm/snk-filter-number.entry.js +3 -34
  746. package/dist/esm/snk-filter-number.entry.js.gz +0 -0
  747. package/dist/esm/snk-filter-period.entry.js +14 -59
  748. package/dist/esm/snk-filter-period.entry.js.gz +0 -0
  749. package/dist/esm/snk-filter-search.entry.js +3 -14
  750. package/dist/esm/snk-filter-search.entry.js.gz +0 -0
  751. package/dist/esm/snk-filter-text.entry.js +1 -18
  752. package/dist/esm/snk-filter-text.entry.js.gz +0 -0
  753. package/dist/esm/snk-form-summary.entry.js.gz +0 -0
  754. package/dist/esm/snk-form-view.entry.js.gz +0 -0
  755. package/dist/esm/snk-form_2.entry.js +4 -4
  756. package/dist/esm/snk-form_2.entry.js.gz +0 -0
  757. package/dist/esm/snk-grid.entry.js +14 -31
  758. package/dist/esm/snk-grid.entry.js.gz +0 -0
  759. package/dist/esm/{snk-guides-viewer-19cb7f1f.js → snk-guides-viewer-f800c9aa.js} +5 -5
  760. package/dist/esm/snk-guides-viewer-f800c9aa.js.gz +0 -0
  761. package/dist/esm/snk-guides-viewer.entry.js +7 -7
  762. package/dist/esm/snk-guides-viewer.entry.js.gz +0 -0
  763. package/dist/esm/snk-personalized-filter-editor.entry.js.gz +0 -0
  764. package/dist/esm/snk-personalized-filter.entry.js +3 -3
  765. package/dist/esm/snk-personalized-filter.entry.js.gz +0 -0
  766. package/dist/esm/snk-pesquisa.entry.js +4 -4
  767. package/dist/esm/snk-pesquisa.entry.js.gz +0 -0
  768. package/dist/esm/snk-print-selector.entry.js.gz +0 -0
  769. package/dist/esm/snk-simple-bar.entry.js.gz +0 -0
  770. package/dist/esm/snk-simple-crud.entry.js +8 -8
  771. package/dist/esm/snk-simple-crud.entry.js.gz +0 -0
  772. package/dist/esm/snk-taskbar.entry.js.gz +0 -0
  773. package/dist/esm/sortable.esm-842f85a3.js.gz +0 -0
  774. package/dist/esm/taskbar-elements-faaf5d8f.js.gz +0 -0
  775. package/dist/esm/taskbar-processor-3436124c.js.gz +0 -0
  776. package/dist/esm/teste-pesquisa.entry.js.gz +0 -0
  777. package/dist/index.cjs.js.gz +0 -0
  778. package/dist/index.js.gz +0 -0
  779. package/dist/sankhyablocks/index.esm.js.gz +0 -0
  780. package/dist/sankhyablocks/p-0024d3fd.entry.js.gz +0 -0
  781. package/dist/sankhyablocks/{p-701b024c.entry.js → p-0607d7a7.entry.js} +1 -1
  782. package/dist/sankhyablocks/p-0607d7a7.entry.js.gz +0 -0
  783. package/dist/sankhyablocks/p-07b14811.entry.js +1 -0
  784. package/dist/sankhyablocks/p-07b14811.entry.js.gz +0 -0
  785. package/dist/sankhyablocks/p-082e7ba8.entry.js +1 -0
  786. package/dist/sankhyablocks/p-082e7ba8.entry.js.gz +0 -0
  787. package/dist/sankhyablocks/p-0f3698af.js.gz +0 -0
  788. package/dist/sankhyablocks/p-11346b8d.entry.js.gz +0 -0
  789. package/dist/sankhyablocks/p-162bddae.entry.js.gz +0 -0
  790. package/dist/sankhyablocks/p-180716b2.entry.js.gz +0 -0
  791. package/dist/sankhyablocks/p-1a0caadb.js.gz +0 -0
  792. package/dist/sankhyablocks/p-1a68fb59.js.gz +0 -0
  793. package/dist/sankhyablocks/p-21107f0d.entry.js.gz +0 -0
  794. package/dist/sankhyablocks/p-25209340.entry.js +1 -0
  795. package/dist/sankhyablocks/p-25209340.entry.js.gz +0 -0
  796. package/dist/sankhyablocks/p-27482793.entry.js.gz +0 -0
  797. package/dist/sankhyablocks/p-2fdac5e6.entry.js.gz +0 -0
  798. package/dist/sankhyablocks/p-3143bb44.entry.js +1 -0
  799. package/dist/sankhyablocks/p-3143bb44.entry.js.gz +0 -0
  800. package/dist/sankhyablocks/{p-32450ea2.entry.js → p-34222890.entry.js} +1 -1
  801. package/dist/sankhyablocks/p-34222890.entry.js.gz +0 -0
  802. package/dist/sankhyablocks/p-353b4a74.js +1 -0
  803. package/dist/sankhyablocks/p-353b4a74.js.gz +0 -0
  804. package/dist/sankhyablocks/p-398cdd67.entry.js +1 -0
  805. package/dist/sankhyablocks/p-398cdd67.entry.js.gz +0 -0
  806. package/dist/sankhyablocks/p-3a10f9ea.entry.js +1 -0
  807. package/dist/sankhyablocks/p-3a10f9ea.entry.js.gz +0 -0
  808. package/dist/sankhyablocks/{p-c71dcb2d.js → p-3cdfd7fb.js} +1 -1
  809. package/dist/sankhyablocks/p-3cdfd7fb.js.gz +0 -0
  810. package/dist/sankhyablocks/p-3d41f5a8.entry.js.gz +0 -0
  811. package/dist/sankhyablocks/{p-3c29939c.entry.js → p-41e5a485.entry.js} +1 -1
  812. package/dist/sankhyablocks/p-41e5a485.entry.js.gz +0 -0
  813. package/dist/sankhyablocks/p-471b34f4.entry.js.gz +0 -0
  814. package/dist/sankhyablocks/{p-8d256def.js → p-51209229.js} +1 -1
  815. package/dist/sankhyablocks/p-51209229.js.gz +0 -0
  816. package/dist/sankhyablocks/p-51833248.js.gz +0 -0
  817. package/dist/sankhyablocks/p-55798617.js.gz +0 -0
  818. package/dist/sankhyablocks/p-5bab470d.entry.js +1 -0
  819. package/dist/sankhyablocks/p-5bab470d.entry.js.gz +0 -0
  820. package/dist/sankhyablocks/p-60dd1d27.entry.js.gz +0 -0
  821. package/dist/sankhyablocks/p-65517fcf.js +1 -0
  822. package/dist/sankhyablocks/p-65517fcf.js.gz +0 -0
  823. package/dist/sankhyablocks/p-667cab42.entry.js.gz +0 -0
  824. package/dist/sankhyablocks/p-6703336d.entry.js.gz +0 -0
  825. package/dist/sankhyablocks/p-688dcb4c.js.gz +0 -0
  826. package/dist/sankhyablocks/p-6a4b21dd.js.gz +0 -0
  827. package/dist/sankhyablocks/{p-519f74be.entry.js → p-6daf6629.entry.js} +1 -1
  828. package/dist/sankhyablocks/p-6daf6629.entry.js.gz +0 -0
  829. package/dist/sankhyablocks/{p-16c1c209.entry.js → p-7085fc67.entry.js} +1 -1
  830. package/dist/sankhyablocks/p-7085fc67.entry.js.gz +0 -0
  831. package/dist/sankhyablocks/p-7345782c.entry.js.gz +0 -0
  832. package/dist/sankhyablocks/{p-bf017a1f.js → p-7535d592.js} +1 -1
  833. package/dist/sankhyablocks/p-7535d592.js.gz +0 -0
  834. package/dist/sankhyablocks/p-75af335e.entry.js.gz +0 -0
  835. package/dist/sankhyablocks/{p-df7979fd.entry.js → p-7a1d3cb6.entry.js} +1 -1
  836. package/dist/sankhyablocks/p-7a1d3cb6.entry.js.gz +0 -0
  837. package/dist/sankhyablocks/p-7b3ca294.entry.js.gz +0 -0
  838. package/dist/sankhyablocks/{p-b2d7f4cd.entry.js → p-7b97f9af.entry.js} +1 -1
  839. package/dist/sankhyablocks/p-7b97f9af.entry.js.gz +0 -0
  840. package/dist/sankhyablocks/p-7dd49d15.js.gz +0 -0
  841. package/dist/sankhyablocks/p-7e250432.entry.js.gz +0 -0
  842. package/dist/sankhyablocks/p-84345e7a.js.gz +0 -0
  843. package/dist/sankhyablocks/{p-0a317e81.js → p-87399df6.js} +1 -1
  844. package/dist/sankhyablocks/p-87399df6.js.gz +0 -0
  845. package/dist/sankhyablocks/p-8d884fab.js.gz +0 -0
  846. package/dist/sankhyablocks/p-8f3f2306.js.gz +0 -0
  847. package/dist/sankhyablocks/p-8f73da95.js.gz +0 -0
  848. package/dist/sankhyablocks/p-9019a32f.js.gz +0 -0
  849. package/dist/sankhyablocks/p-91a9abb6.entry.js.gz +0 -0
  850. package/dist/sankhyablocks/p-95c71f5e.entry.js.gz +0 -0
  851. package/dist/sankhyablocks/p-988afe78.js.gz +0 -0
  852. package/dist/sankhyablocks/p-9a63f3f7.entry.js.gz +0 -0
  853. package/dist/sankhyablocks/p-9fd87bfd.entry.js +1 -0
  854. package/dist/sankhyablocks/p-9fd87bfd.entry.js.gz +0 -0
  855. package/dist/sankhyablocks/p-a5108625.entry.js.gz +0 -0
  856. package/dist/sankhyablocks/p-a76e6d51.entry.js +1 -0
  857. package/dist/sankhyablocks/p-a76e6d51.entry.js.gz +0 -0
  858. package/dist/sankhyablocks/{p-0e1f0344.entry.js → p-aba06047.entry.js} +1 -1
  859. package/dist/sankhyablocks/p-aba06047.entry.js.gz +0 -0
  860. package/dist/sankhyablocks/p-ae2ebab7.js +1 -0
  861. package/dist/sankhyablocks/p-ae2ebab7.js.gz +0 -0
  862. package/dist/sankhyablocks/p-b21aa190.entry.js +1 -0
  863. package/dist/sankhyablocks/p-b21aa190.entry.js.gz +0 -0
  864. package/dist/sankhyablocks/p-b568c1d4.js.gz +0 -0
  865. package/dist/sankhyablocks/{p-f8e87cf1.entry.js → p-b6b42620.entry.js} +1 -1
  866. package/dist/sankhyablocks/p-b6b42620.entry.js.gz +0 -0
  867. package/dist/sankhyablocks/p-b987e15d.js.gz +0 -0
  868. package/dist/sankhyablocks/{p-b7f5caf6.js → p-c3bab5f4.js} +1 -1
  869. package/dist/sankhyablocks/p-c3bab5f4.js.gz +0 -0
  870. package/dist/sankhyablocks/p-c3dbf441.entry.js.gz +0 -0
  871. package/dist/sankhyablocks/p-c6a8a8bc.entry.js +1 -0
  872. package/dist/sankhyablocks/p-c6a8a8bc.entry.js.gz +0 -0
  873. package/dist/sankhyablocks/p-c8932b14.entry.js +1 -0
  874. package/dist/sankhyablocks/p-c8932b14.entry.js.gz +0 -0
  875. package/dist/sankhyablocks/p-d8d8169b.js.gz +0 -0
  876. package/dist/sankhyablocks/p-dc36cfbf.js.gz +0 -0
  877. package/dist/sankhyablocks/p-dc8bb41f.js +1 -0
  878. package/dist/sankhyablocks/p-dc8bb41f.js.gz +0 -0
  879. package/dist/sankhyablocks/{p-c95f20d9.entry.js → p-dde9da7a.entry.js} +1 -1
  880. package/dist/sankhyablocks/p-dde9da7a.entry.js.gz +0 -0
  881. package/dist/sankhyablocks/{p-d03ae54e.entry.js → p-dfbe4d7f.entry.js} +1 -1
  882. package/dist/sankhyablocks/p-dfbe4d7f.entry.js.gz +0 -0
  883. package/dist/sankhyablocks/p-dff65083.entry.js +1 -0
  884. package/dist/sankhyablocks/p-dff65083.entry.js.gz +0 -0
  885. package/dist/sankhyablocks/{p-44c5ec49.entry.js → p-e5571279.entry.js} +1 -1
  886. package/dist/sankhyablocks/p-e5571279.entry.js.gz +0 -0
  887. package/dist/sankhyablocks/{p-9062d640.js → p-e63cc25f.js} +1 -1
  888. package/dist/sankhyablocks/p-e63cc25f.js.gz +0 -0
  889. package/dist/sankhyablocks/p-eaad0aa8.js.gz +0 -0
  890. package/dist/sankhyablocks/p-f4184ce7.js.gz +0 -0
  891. package/dist/sankhyablocks/p-f8f29e1a.entry.js.gz +0 -0
  892. package/dist/sankhyablocks/p-fa80e546.js.gz +0 -0
  893. package/dist/sankhyablocks/p-ff1990ad.js.gz +0 -0
  894. package/dist/sankhyablocks/sankhyablocks.esm.js +1 -1
  895. package/dist/sankhyablocks/sankhyablocks.esm.js.gz +0 -0
  896. package/dist/types/components/snk-entity-list/snk-entity-list.d.ts +4 -8
  897. package/dist/types/components/snk-filter-bar/filter-item/editors/snk-filter-binary-select.d.ts +0 -12
  898. package/dist/types/components/snk-filter-bar/filter-item/editors/snk-filter-checkbox-list.d.ts +0 -12
  899. package/dist/types/components/snk-filter-bar/filter-item/editors/snk-filter-multi-select.d.ts +4 -12
  900. package/dist/types/components/snk-filter-bar/filter-item/editors/snk-filter-number.d.ts +4 -16
  901. package/dist/types/components/snk-filter-bar/filter-item/editors/snk-filter-period.d.ts +3 -17
  902. package/dist/types/components/snk-filter-bar/filter-item/editors/snk-filter-search.d.ts +2 -10
  903. package/dist/types/components/snk-filter-bar/filter-item/editors/snk-filter-text.d.ts +0 -12
  904. package/dist/types/components/snk-filter-bar/filter-item/snk-filter-detail.d.ts +3 -8
  905. package/dist/types/components/snk-filter-bar/filter-item/snk-filter-item.d.ts +4 -27
  906. package/dist/types/components/snk-filter-bar/filter-modal/snk-filter-modal.d.ts +3 -17
  907. package/dist/types/components/snk-filter-bar/filter-modal/subcomponents/snk-filter-modal-item.d.ts +3 -2
  908. package/dist/types/components/snk-filter-bar/snk-filter-bar.d.ts +2 -15
  909. package/dist/types/components/snk-filter-bar/utils/SnkFilterModalFactory.d.ts +2 -4
  910. package/dist/types/components/snk-grid/snk-grid.d.ts +9 -22
  911. package/dist/types/components.d.ts +18 -203
  912. package/dist/types/lib/http/data-fetcher/DataFetcher.d.ts +0 -1
  913. package/package.json +1 -1
  914. package/dist/cjs/ConfigStorage-8b6def32.js.gz +0 -0
  915. package/dist/cjs/ISave-b22b3cf0.js.gz +0 -0
  916. package/dist/cjs/SnkFormConfigManager-477a27de.js.gz +0 -0
  917. package/dist/cjs/SnkMultiSelectionListDataSource-b7ab26ba.js.gz +0 -0
  918. package/dist/cjs/auth-fetcher-78a90b36.js.gz +0 -0
  919. package/dist/cjs/dataunit-fetcher-877944a9.js.gz +0 -0
  920. package/dist/cjs/filter-validate-6993f6f2.js +0 -30
  921. package/dist/cjs/filter-validate-6993f6f2.js.gz +0 -0
  922. package/dist/cjs/form-config-fetcher-dee08eb4.js.gz +0 -0
  923. package/dist/cjs/snk-data-unit-0cfa7622.js.gz +0 -0
  924. package/dist/cjs/snk-guides-viewer-38277265.js.gz +0 -0
  925. package/dist/collection/components/snk-filter-bar/utils/filter-validate.js +0 -24
  926. package/dist/collection/components/snk-filter-bar/utils/filter-validate.js.gz +0 -0
  927. package/dist/collection/lib/http/data-fetcher/custom-xhr-override.js +0 -39
  928. package/dist/collection/lib/http/data-fetcher/custom-xhr-override.js.gz +0 -0
  929. package/dist/components/snk-filter-modal2.js +0 -391
  930. package/dist/components/snk-filter-modal2.js.gz +0 -0
  931. package/dist/esm/ConfigStorage-22eace3a.js.gz +0 -0
  932. package/dist/esm/DataFetcher-f6b2961a.js.gz +0 -0
  933. package/dist/esm/ISave-6b7b0423.js.gz +0 -0
  934. package/dist/esm/SnkFormConfigManager-968b97e7.js.gz +0 -0
  935. package/dist/esm/SnkMultiSelectionListDataSource-1136c4e7.js.gz +0 -0
  936. package/dist/esm/auth-fetcher-cf39e42b.js.gz +0 -0
  937. package/dist/esm/dataunit-fetcher-6314b19d.js.gz +0 -0
  938. package/dist/esm/filter-validate-d765d450.js +0 -27
  939. package/dist/esm/filter-validate-d765d450.js.gz +0 -0
  940. package/dist/esm/form-config-fetcher-bc6f0f1f.js.gz +0 -0
  941. package/dist/esm/snk-data-unit-4acf4781.js.gz +0 -0
  942. package/dist/esm/snk-guides-viewer-19cb7f1f.js.gz +0 -0
  943. package/dist/sankhyablocks/p-093f58fa.entry.js +0 -1
  944. package/dist/sankhyablocks/p-093f58fa.entry.js.gz +0 -0
  945. package/dist/sankhyablocks/p-0a317e81.js.gz +0 -0
  946. package/dist/sankhyablocks/p-0e1f0344.entry.js.gz +0 -0
  947. package/dist/sankhyablocks/p-16c1c209.entry.js.gz +0 -0
  948. package/dist/sankhyablocks/p-29cacaf3.entry.js +0 -1
  949. package/dist/sankhyablocks/p-29cacaf3.entry.js.gz +0 -0
  950. package/dist/sankhyablocks/p-32450ea2.entry.js.gz +0 -0
  951. package/dist/sankhyablocks/p-3c29939c.entry.js.gz +0 -0
  952. package/dist/sankhyablocks/p-3ed04f0d.entry.js +0 -1
  953. package/dist/sankhyablocks/p-3ed04f0d.entry.js.gz +0 -0
  954. package/dist/sankhyablocks/p-44c5ec49.entry.js.gz +0 -0
  955. package/dist/sankhyablocks/p-49ddc27a.entry.js +0 -1
  956. package/dist/sankhyablocks/p-49ddc27a.entry.js.gz +0 -0
  957. package/dist/sankhyablocks/p-4c763b10.entry.js +0 -1
  958. package/dist/sankhyablocks/p-4c763b10.entry.js.gz +0 -0
  959. package/dist/sankhyablocks/p-4eeb06fc.js +0 -1
  960. package/dist/sankhyablocks/p-4eeb06fc.js.gz +0 -0
  961. package/dist/sankhyablocks/p-505172c8.entry.js +0 -1
  962. package/dist/sankhyablocks/p-505172c8.entry.js.gz +0 -0
  963. package/dist/sankhyablocks/p-519f74be.entry.js.gz +0 -0
  964. package/dist/sankhyablocks/p-658f67a5.js +0 -1
  965. package/dist/sankhyablocks/p-658f67a5.js.gz +0 -0
  966. package/dist/sankhyablocks/p-701b024c.entry.js.gz +0 -0
  967. package/dist/sankhyablocks/p-72a9285d.entry.js +0 -1
  968. package/dist/sankhyablocks/p-72a9285d.entry.js.gz +0 -0
  969. package/dist/sankhyablocks/p-7f7fe6c4.entry.js +0 -1
  970. package/dist/sankhyablocks/p-7f7fe6c4.entry.js.gz +0 -0
  971. package/dist/sankhyablocks/p-88b7bc09.js +0 -1
  972. package/dist/sankhyablocks/p-88b7bc09.js.gz +0 -0
  973. package/dist/sankhyablocks/p-8d256def.js.gz +0 -0
  974. package/dist/sankhyablocks/p-8f37b75b.entry.js +0 -1
  975. package/dist/sankhyablocks/p-8f37b75b.entry.js.gz +0 -0
  976. package/dist/sankhyablocks/p-9062d640.js.gz +0 -0
  977. package/dist/sankhyablocks/p-96d45943.entry.js +0 -1
  978. package/dist/sankhyablocks/p-96d45943.entry.js.gz +0 -0
  979. package/dist/sankhyablocks/p-b2d7f4cd.entry.js.gz +0 -0
  980. package/dist/sankhyablocks/p-b7f5caf6.js.gz +0 -0
  981. package/dist/sankhyablocks/p-bf017a1f.js.gz +0 -0
  982. package/dist/sankhyablocks/p-c71dcb2d.js.gz +0 -0
  983. package/dist/sankhyablocks/p-c95f20d9.entry.js.gz +0 -0
  984. package/dist/sankhyablocks/p-c98e2085.js +0 -1
  985. package/dist/sankhyablocks/p-c98e2085.js.gz +0 -0
  986. package/dist/sankhyablocks/p-cb4343c4.entry.js +0 -1
  987. package/dist/sankhyablocks/p-cb4343c4.entry.js.gz +0 -0
  988. package/dist/sankhyablocks/p-d03ae54e.entry.js.gz +0 -0
  989. package/dist/sankhyablocks/p-d235314c.entry.js +0 -1
  990. package/dist/sankhyablocks/p-d235314c.entry.js.gz +0 -0
  991. package/dist/sankhyablocks/p-d75a732c.js +0 -1
  992. package/dist/sankhyablocks/p-d75a732c.js.gz +0 -0
  993. package/dist/sankhyablocks/p-df7979fd.entry.js.gz +0 -0
  994. package/dist/sankhyablocks/p-e258de96.entry.js +0 -1
  995. package/dist/sankhyablocks/p-e258de96.entry.js.gz +0 -0
  996. package/dist/sankhyablocks/p-f8e87cf1.entry.js.gz +0 -0
  997. package/dist/types/components/snk-filter-bar/utils/filter-validate.d.ts +0 -11
@@ -1 +0,0 @@
1
- import{D as t}from"./p-d75a732c.js";import"./p-bf017a1f.js";import{SortMode as i,ApplicationContext as s,ObjectUtils as e,StringUtils as r,NumberUtils as n,DataType as o,UserInterface as l,DateUtils as a}from"@sankhyalabs/core";import{D as d}from"./p-0f3698af.js";import"@sankhyalabs/ezui/dist/collection/utils/constants";import{UserInterface as u}from"@sankhyalabs/core/dist/dataunit/metadata/UnitMetadata";import{P as c}from"./p-9062d640.js";import"./p-ff1990ad.js";import"./p-8d256def.js";import"./p-9019a32f.js";import{h}from"./p-d8d8169b.js";import{g as v}from"./p-7dd49d15.js";import{I as f}from"./p-8f3f2306.js";import m from"@sankhyalabs/ezui/dist/collection/components/ez-grid/utils/InMemoryFilterColumnDataSource";class p{static assertDefaultSorting(t,s){t&&s&&(s.defaultSorting=t.columns.filter((t=>null!=t.ascending)).sort(((t,i)=>t.orderIndex-i.orderIndex)).map((({name:t,ascending:e})=>{const{dataType:r}=s.getField(t);return{field:t,dataType:r,mode:e?i.ASC:i.DESC}})))}static parseCrudResults(t,i){Array.isArray(t)||(t=[t]);const s=[];for(const e of t){let t={fields:new Map};for(let s in e){let r=e[s];if(r.hasOwnProperty("$")&&t.fields.set(s,r.$),i)break}s.push(t)}return s.length>1?s:s[0]}static find(i,e,r,n=!0,o,l){let a=[],d=[],u={},c=s.getContextValue("__SNK__APPLICATION__");if(e){if(!Array.isArray(e))throw new Error(c.messagesBuilder.getMessage("crudUtils.errorArray",null));e.forEach((t=>{a.push({name:t})}))}if(r)for(const t in r)r.hasOwnProperty(t)&&d.push({nome:t,valor:r[t]});o&&(u={expression:{$:o}});let h={requestBody:{entity:{name:i,criterio:d,fields:{field:a},literalCriteria:u,orderby:l}}};return new Promise((i=>{t.get().callServiceBroker("mge@crud.find",JSON.stringify(h)).then((t=>{var s;let e=null===(s=t.entidades)||void 0===s?void 0:s.entidade;e||i(null);const r=this.parseCrudResults(e,n);i(r)}))}))}}class b{setGrid(t){this._grid||(this._grid=t,this.refreshSelectedRows())}setDataState(t){this._dataState&&e.equals(null==t?void 0:t.metadataByRow,this._dataState.metadataByRow)||(this._dataState=t,this.refreshSelectedRows())}format(t,i,s){var e;if(r.isEmpty(t))return t;const o=null===(e=this._dataState)||void 0===e?void 0:e.metadataByRow.get(s),l=null==o?void 0:o.getProp("rm_precision",i.name);if(l||0===l)return n.format(t,l,l);if(null==i?void 0:i.props){const s=null==i?void 0:i.props.get("precision"),e=null==i?void 0:i.props.get("prettyPrecision");if(void 0!==s&&void 0!==e)return n.format(t,s,e)}return t}refreshSelectedRows(){var t;null===(t=this._grid)||void 0===t||t.refreshSelectedRows()}}class g{constructor(t,i,s){this.snkApplication=t,this.keyConfigEnableContinuousInsert=`${i}enableContinuousInsert${s||""}`}handleSaveConfig(t){return this.snkApplication.saveConfig(this.keyConfigEnableContinuousInsert,t)}getConfig(){return this.snkApplication.getConfig(this.keyConfigEnableContinuousInsert).then((t=>!!t&&"true"==t)).catch((()=>!1))}getMessage(t,i){var s,e;return null===(e=null===(s=this.snkApplication)||void 0===s?void 0:s.messagesBuilder)||void 0===e?void 0:e.getMessage(t,i)}actionContinuousInsert(t,i){return{value:r.generateUUID(),label:this.getMessage(t?"continuousInsertUtils.actions.disable":"continuousInsertUtils.actions.enable"),enabled:!0,itemBuilder:()=>h("div",{class:"ez-dropdown__item-wrapper",onClick:i},h("span",{class:"ez-dropdown__item-label"},this.getMessage(t?"continuousInsertUtils.actions.disable":"continuousInsertUtils.actions.enable")))}}}class y{constructor(t,i){this.MAX_WIDTH_COD=60,this.MIN_WIDTH_COD=10,this.DEFAULT_FONT_SIZE=13,this.dataUnit=t,this.grid=i}async getColumnsMetadata(){var t;return this.columnsState=await(null===(t=this.grid)||void 0===t?void 0:t.getColumnsState())||[],await this.buildColumnsMetadata(this.columnsState)}getColumnsState(){return this.columnsState}async buildColumnsMetadata(t){var i,s,e;const r=[];for(const n of t){if(n.hidden&&"RECDESP"!==n.name)continue;const t=null===(i=this.dataUnit)||void 0===i?void 0:i.getField(n.name),l=await this.grid.getCustomValueFormatter(n.name),a=(null==t?void 0:t.userInterface)===u.SEARCH,d=a?"Cód. ":n.label;let c,h={id:n.name,label:d,width:a?d.length*this.DEFAULT_FONT_SIZE:n.width,type:null==t?void 0:t.dataType,userInterface:null==t?void 0:t.userInterface,customFormatter:l};if(a&&null!=(null===(s=null==t?void 0:t.properties)||void 0===s?void 0:s.DESCRIPTIONFIELD)){const i=null===(e=null==t?void 0:t.properties)||void 0===e?void 0:e.DESCRIPTIONENTITY,s=t.properties.mergedFrom;c={id:`${s?s+".":""}${t.properties.ENTITYNAME}.${t.properties.DESCRIPTIONFIELD}`,label:i,width:a&&i?i.length*this.DEFAULT_FONT_SIZE-60:n.width,type:o.TEXT,userInterface:u.LONGTEXT,descriptionFrom:t.name};const r=this.getWidthByMetaData(null==n?void 0:n.width,null==h?void 0:h.width,null==c?void 0:c.width);h=Object.assign(Object.assign({},h),{width:null==r?void 0:r.codWidth}),c=Object.assign(Object.assign({},c),{width:null==r?void 0:r.descWidth,label:(null==c?void 0:c.label)||(null==n?void 0:n.label)})}r.push(h),c&&r.push(c)}return r||[]}getWidthByMetaData(t,i,s){const e=i+s,r=s/e;let n=Math.round(t*(i/e)),o=Math.round(t*r);return n>this.MAX_WIDTH_COD?(n=this.MAX_WIDTH_COD,o=t-this.MAX_WIDTH_COD):n<this.MIN_WIDTH_COD&&(n=this.MIN_WIDTH_COD,o=t-this.MIN_WIDTH_COD),{codWidth:n,descWidth:o}}}class w extends y{getSelectedNumber(){return this.dataUnit.getSelectionInfo().length}getTotalRecords(){var t,i,s;const{total:e}=(null===(t=this.dataUnit)||void 0===t?void 0:t.getPaginationInfo())||{};return null!=e?e:null===(s=null===(i=this.dataUnit)||void 0===i?void 0:i.records)||void 0===s?void 0:s.length}getSelectedIDs(){return v(this.dataUnit)}getRecordID(){var t,i,s;return null===(s=null===(i=null===(t=this.dataUnit)||void 0===t?void 0:t.records)||void 0===i?void 0:i[0])||void 0===s?void 0:s.__record__id__}async getRecords(t){if(0===this.dataUnit.records.length)return[];switch(t){case f.ALL:return this.dataUnit.getSelectionInfo().getAllRecords();case f.SELECTION:return this.resolveRecordsFromSelection();case f.PAGE:return this.dataUnit.records;default:return this.resolveRecordsFromSelection()}}resolveRecordsFromSelection(){const t=this.dataUnit.getSelectionInfo();if(t.isEmpty())return this.dataUnit.records;const i=t.isAllRecords()?t.getAllRecords():t.records;return i.length?i:this.dataUnit.records}getHiddenOptions(){return[d.EXPORT_BY_EMAIL,d.EXPORT_PDF_TO_EMAIL,d.EXPORT_XLS_TO_EMAIL,d.EXPORT_PAGE_TO_PDF,d.EXPORT_PAGE_TO_XLS]}formatValue(t,i){const{id:s,descriptionFrom:e}=i,r=t[e||s];if(null==r)return"";if(null!=e)return r.label;if(this.dataUnit.getField(s).userInterface===l.SEARCH)return r.value;if(i.customFormatter){const s=this.getColumnsState().find((t=>i.id===t.name));return i.customFormatter.format(r,s,t.__record__id__)}return this.dataUnit.getFormattedValue(s,r)}}class I{setDataUnit(t){this._dataUnit=t}setApplication(t){this._application=t}formatLabel(t,i){const{userInterface:s}=this._dataUnit.getField(t);return s===l.DATETIME?a.formatDate(this._dataUnit.valueFromString(t,i)):String(this._dataUnit.getFormattedValue(t,i))}async getStaticOptions(t,i){return Promise.resolve(null==t?void 0:await c.getDistinct(this._dataUnit,t,null==i?void 0:i.onlyLabel))}fetchData(t,i){return new Promise((s=>{this._application.executeSelectDistinct(this._dataUnit,i,t).then((t=>{s(t.map((t=>this._dataUnit.getField(i).userInterface===l.SEARCH?Object.assign(Object.assign({},JSON.parse(t)),{check:!0}):{value:t,label:this.formatLabel(i,t),check:!0})))}))}))}sortItems(t,i){return m.defaultSorterMultSelectionOption(this._dataUnit,t,i)}}export{y as C,b as R,I as S,p as a,g as b,w as c}
Binary file
Binary file
@@ -1 +0,0 @@
1
- import{r as t,c as i,h as e,H as s,g as r}from"./p-d8d8169b.js";import{DataType as l,StringUtils as a,ObjectUtils as n,ElementIDUtils as o,ErrorException as h,ApplicationContext as d,LockManager as c,LockManagerOperation as u,DateUtils as f,MaskFormatter as m,KeyboardManager as p,FloatingManager as v,ArrayUtils as b}from"@sankhyalabs/core";import{EzScrollDirection as g}from"@sankhyalabs/ezui/dist/collection/components/ez-scroller/EzScrollDirection";import{C as k}from"./p-c71dcb2d.js";import{P as _}from"./p-988afe78.js";import{toString as F}from"@sankhyalabs/core/dist/dataunit/metadata/DataType";import{F as y}from"./p-ff1990ad.js";import{F as z,D as x}from"./p-84345e7a.js";import{F as w}from"./p-fa80e546.js";import{ModalAction as C}from"@sankhyalabs/ezui/dist/collection/components/ez-modal-container";import{ApplicationUtils as I}from"@sankhyalabs/ezui/dist/collection/utils";import{A as $}from"./p-6a4b21dd.js";import{F as N}from"./p-b568c1d4.js";import{g as T}from"./p-4eeb06fc.js";import"./p-8d256def.js";import"./p-d75a732c.js";import"./p-8d884fab.js";import"@sankhyalabs/core/dist/dataunit/metadata/UnitMetadata";function L(t){let i="";return t.forEach(((t,e)=>{var s;i+=` ${e>0?null!==(s=t.operand)&&void 0!==s?s:"OR":""} ${t.expression}`})),i.trim()}const A=class{constructor(e){t(this,e),this.configUpdated=i(this,"configUpdated",7),this._updateSequence=[],this._loadingPending=!1,this._configUpdated=!1,this._firstLoad=!0,this._pendingVariables=!1,this._isDefaultFilter=!1,this._customfiltersToBeUpdated=[],this._resolveLoading=void 0,this._calculateSortIndex=t=>{if(!t.visible)return 0;if(t.hardFixed)return 1e6;let i=t.fixed?1e5:0;return i+=this.hasValidValue(t)?1e4:0,i+=this._updateSequence.lastIndexOf(t.id)+1,i},this._filtersComparator=(t,i)=>this._calculateSortIndex(i)-this._calculateSortIndex(t),this.enableLockManagerLoadingComp=!1,this.customFilterBarConfig=void 0,this.dataUnit=void 0,this.title=void 0,this.configName=void 0,this.resourceID=void 0,this.mode="regular",this.filterConfig=void 0,this.messagesBuilder=void 0,this.disablePersonalizedFilter=void 0,this.filterBarLegacyConfigName=void 0,this.autoLoad=void 0,this.afterApplyConfig=void 0,this.filterCustomConfig=void 0,this.filterCustomConfigInterceptor=void 0,this.allowDefault=void 0,this.scrollerLocked=!1,this.showPersonalizedFilter=!1,this.personalizedFilterId=void 0,this.isFilterModalOpen=!1}hasValidValue(t){return null!=t.value&&(!Array.isArray(t.value)||t.value.some((t=>!0===t.check)))}observeFilterConfig(t,i){n.equals(t,i)||this.handleFilterConfigsChanged(i,t)}handleFilterConfigsChanged(t,i){if(null!=t&&null==i)this._loadingPending=!0,this._configUpdated=!0;else{const e=new Map(t?t.map((t=>[t.id,t])):void 0);0===e.size&&i.length>0?(this._loadingPending=!0,this._configUpdated=!1):i.forEach((t=>{const i=e.get(t.id);if(null!=i){if(this._configUpdated=this._configUpdated||n.objectToString(i)!=n.objectToString(t),this._loadingPending=this._loadingPending||n.objectToString(i.value)!==n.objectToString(t.value),!this._loadingPending){const e=n.objectToString(i.groupedItems)!=n.objectToString(t.groupedItems);this._configUpdated=this._configUpdated||e,this._loadingPending=this._loadingPending||e}}else this._configUpdated=!0,this._loadingPending=this._loadingPending||null!=t.value}))}(this._loadingPending||this._configUpdated)&&this.configUpdated.emit(i),this.processAfterUpdateConfig()}async reload(){this.loadConfigFromStorage(!0)}async getFilterItem(t){const i=this.filterConfig.find((i=>i.id===t));return Promise.resolve(n.copy(i))}async updateFilterItem(t){return-1==this.filterConfig.findIndex((i=>i.id===t.id))?(console.warn("[SnkFilterBar.updateFilterItem] "+this.getMessage("snkFilterBar.filterItem.updateFilterItemNotFound")),Promise.resolve()):(this._loadingPending=!0,this.updateFilter(t),Promise.resolve())}async addFilterItem(t){return this.filterConfig.findIndex((i=>i.id===t.id))>-1?(console.warn("[SnkFilterBar.addFilterItem] "+this.getMessage("snkFilterBar.filterItem.addFilterItemExists")),Promise.resolve()):(this.filterConfig.push(t),this._loadingPending=!0,this.updateFilter(t),Promise.resolve())}async removeFilterItem(t){const i=this.filterConfig.findIndex((i=>i.id===t));if(-1==i)return console.warn("[SnkFilterBar.removeFilterItem] "+this.getMessage("snkFilterBar.filterItem.removeFilterItemNotFound")),Promise.resolve(void 0);const e=this.filterConfig[i];return this.filterConfig=this.filterConfig.filter((i=>i.id!==t)),Promise.resolve(e)}componentDidLoad(){this._element&&o.addIDInfo(this._element,null,{dataUnit:this.dataUnit})}processPendingFilter(){if(this._pendingVariables){const t=this._element.querySelector("#filter-PERSONALIZED_FILTER_GROUP");t&&t.showUp(!0).then((()=>{this.processAfterUpdateConfig()}))}else this.processAfterUpdateConfig()}getPersonalizedFilterItem(){return this.filterConfig.find((t=>t.type===y.PERSONALIZED))}async processAfterUpdateConfig(){var t;if(this._loadingPending){if(await this._application.isLoadedByPk()&&!this._configUpdated)return;const t=this.getPersonalizedFilterItem();if(this._pendingVariables=!_.validateVariableValues(t),this._pendingVariables)return;this._loadingPending=!1,this.doLoadData()}this._configUpdated&&(this._configUpdated=!1,k.saveFilterBarConfig(this.filterConfig,this.configName,this.resourceID),null===(t=this.afterApplyConfig)||void 0===t||t.call(this))}async doLoadData(t=!1){try{if(this._firstLoad&&!1===this.autoLoad)return;if(this._firstLoad&&!t&&void 0===this.autoLoad&&!await this._application.getBooleanParam("global.carregar.registros.iniciar.tela"))return;this.dataUnit.loadData(void 0,void 0,!0)}finally{this._firstLoad=!1}}getMessage(t,i,e){var s;return null==this.messagesBuilder&&this._application&&(this.messagesBuilder=this._application.messagesBuilder),(null===(s=this.messagesBuilder)||void 0===s?void 0:s.getMessage(t,i))||e}async getFilters(){return this.getFilter(null)}getFilter(t){var i;const e=[];return null===(i=this.filterConfig)||void 0===i||i.filter((t=>this.isActiveFilter(t))).forEach((t=>{const i=(t=>{switch(t.type){case y.DEFAULT_FILTER:return function(t){return{name:t.id,expression:t.props.expression,params:[]}}(t);case y.BINARY_SELECT:return function(t){const{id:i,value:e,props:s}=t;return{name:i,expression:s.options.find((t=>t.name===e)).expression,params:[]}}(t);case y.MULTI_SELECT:return function(t){const{id:i,value:e,props:s}=t;return{name:i,expression:s.expression,params:[{name:i,dataType:l.TEXT,value:e}]}}(t);case y.MULTI_LIST:return function(t){const{id:i,value:e,props:s}=t,r=(null!==(o=null!==(n=null==(a=e)?void 0:a.elements)&&void 0!==n?n:null==a?void 0:a.members)&&void 0!==o?o:a).filter((t=>null==t?void 0:t.check)).map((({id:t})=>Number.isNaN(+t)?String(t):Number(t)));var a,n,o;if(r.length>0)return{name:i,expression:s.expression,params:[{name:i,dataType:l.TEXT,value:JSON.stringify(r)}]}}(t);case y.PERIOD:return function(t){const{id:i,value:e,props:s}=t;let{end:r,start:a}=e;"string"==typeof r&&(r=new Date(r)),"string"==typeof a&&(a=new Date(a));const n=[];let o;return r&&a?(o=s.expression.fullfill,n.push({name:`${i}.START`,dataType:l.DATE,value:F(l.DATE,a)},{name:`${i}.END`,dataType:l.DATE,value:F(l.DATE,r)})):a?(o=s.expression.onlystart,n.push({name:i,dataType:l.DATE,value:F(l.DATE,a)})):(o=s.expression.onlyend,n.push({name:i,dataType:l.DATE,value:F(l.DATE,r)})),{name:i,expression:o,params:n}}(t);case y.SEARCH:return function(t){const{id:i,value:e,props:s}=t;return{name:i,expression:s.expression,params:[{name:i,dataType:l.TEXT,value:F(l.TEXT,null==e?void 0:e.value)}]}}(t);case y.TEXT:return function(t){let{id:i,value:e,props:s}=t;const r=s.expression;var n,o;return a.isEmpty(s.likeAs)||(n=e,e="CONTANIS"===(o=s.likeAs)?`%${n}%`:"STARTS_WITH"===o?`${n}%`:"ENDS_WITH"===o?`%${n}`:n),{name:i,expression:r,params:[{name:i,dataType:l.TEXT,value:F(l.TEXT,e)}]}}(t);case y.NUMBER:return function(t){const{id:i,value:e,props:s}=t;if(s.variation===w.INTERVAL){const{start:t,end:r}=null!=e?e:{start:0,end:0};if(!isNaN(t)&&!isNaN(r))return{name:i,expression:s.intervalExpression.fullfill,params:[{name:`${i}.START`,dataType:l.NUMBER,value:F(l.NUMBER,t)},{name:`${i}.END`,dataType:l.NUMBER,value:F(l.NUMBER,r)}]};if(!isNaN(t))return{name:i,expression:s.intervalExpression.onlystart,params:[{name:i,dataType:l.NUMBER,value:F(l.NUMBER,t)}]};if(!isNaN(r))return{name:i,expression:s.intervalExpression.onlyend,params:[{name:i,dataType:l.NUMBER,value:F(l.NUMBER,r)}]}}return{name:i,expression:s.expression,params:[{name:i,dataType:l.NUMBER,value:F(l.NUMBER,e)}]}}(t);case y.PERSONALIZED:return function(t){const{id:i,groupedItems:e=[]}=t,s=e.filter((t=>!!t.visible)).map((t=>{var i;const e=t.props.expression,s=((null===(i=t.props.personalizedFilter)||void 0===i?void 0:i.parameters)||[]).map(((i,e)=>{const s=Array.from(t.value||0),r=i.dataType;let a=e>=0&&e<s.length?s[e]:null;return null!=a&&"object"==typeof a&&"value"in a&&(a=a.value),null==a&&r===l.BOOLEAN&&(a=!1),{name:i.name,dataType:r,value:"string"==typeof a?a:F(r,a)}}));return{expression:e,name:t.id,params:s}}));return{name:i,expression:s.map((t=>`(${t.expression})`)).join(` ${z.AND} `),params:s.flatMap((t=>t.params))}}(t);case y.CHECK_BOX_LIST:return function(t){var i;const{id:e,value:s,props:r}=t,l=Object.entries(null!=s?s:{}).filter((([t,i])=>!0===i)).map((([t,i])=>t));return{name:e,expression:L(null===(i=r.options)||void 0===i?void 0:i.filter((t=>l.includes(t.name)))),params:[]}}(t);default:return}})(t);i&&e.push(i)})),e}isActiveFilter(t){return t.type===y.DEFAULT_FILTER||this.filterActiveFilter(t)&&(t.groupedItems||null!=t.value)}async registryFilterProvider(){this.dataUnit.addFilterProvider(this),this.filterConfig&&await this.doLoadData()}itemFocused(t){this._element.querySelectorAll("snk-filter-item,snk-filter-list").forEach((i=>{i.id===t?"snk-filter-item"===i.tagName.toLowerCase()&&i.getClientRects()[0].x<0&&i.scrollIntoView({behavior:"auto",inline:"nearest"}):i.hideDetail()}))}filterActiveFilter(t){return t.visible||t.removalBlocked}filterPersonalizedItems(t){return t.type===y.PERSONALIZED}getPersonalizedFilterVariableItems(){return this.filterConfig.filter(this.filterPersonalizedItems).map((t=>{const i=`filter-${t.id}`;return e("snk-filter-item",{key:t.id,id:i,config:Object.assign({},t),onFocusin:()=>this.itemFocused(i),onVisibleChanged:t=>this.scrollerLocked=t.detail,onFilterChange:t=>this.updateFilter(t.detail),getMessage:(t,i)=>this.getMessage(t,i),showChips:!1})}))}getFilterItems(){const t=[],i=[];this.filterConfig.sort(((t,i)=>this._filtersComparator(t,i))).filter(this.filterActiveFilter).forEach((s=>{const r=`filter-${(s=n.copy(s)).id}`,l=e("snk-filter-item",{onVisibleChanged:t=>this.scrollerLocked=t.detail,onFilterChange:t=>this.updateFilter(t.detail),onFocusin:()=>this.itemFocused(r),id:r,config:s,class:"ez-margin-horizontal--extra-small",getMessage:(t,i)=>this.getMessage(t,i),key:s.id});return s.fixed||s.hardFixed||s.required?t.push(l):i.push(l),l}));const s=[];return s.push(...t.reverse()),t.length>0&&i.length>0&&s.push(e("hr",{class:"ez-margin-horizontal--small ez-margin-vertical--auto ez-divider-vertical ez-divider--dark snk-filter-bar__divider"})),s.push(...i),s}calculateUpdateSequence(t){t&&(this._updateSequence=this._updateSequence.filter((i=>t.id!==i)),this._updateSequence.push(t.id))}normalizeItem(t){const i=Object.assign({},t);return["props","value","hardFixed","fixed"].forEach((t=>{null==i[t]&&delete i[t]})),""===t.value&&delete t.value,i}updateFilter(t){let i=this.filterConfig.map((i=>(t=this.normalizeItem(t),i.id===t.id?(n.objectToString(i)!=n.objectToString(t)&&this.calculateUpdateSequence(t),t):i))).sort(((t,i)=>this._filtersComparator(t,i)));this.filterCustomConfigInterceptor&&(i=this.filterCustomConfigInterceptor(i)),this.filterConfig=i}loadPermitions(){this._application.isUserSup().then((t=>this.allowDefault=t))}addFilterBarLegacyConfigName(){this.filterBarLegacyConfigName&&k.addFilterBarLegacyConfig(this.configName,this.filterBarLegacyConfigName)}async loadConfigFromStorage(t){try{let i;t&&await k.deleteFilterBarConfigCache(this.configName,this.resourceID),i=this.customFilterBarConfig?await this.customFilterBarConfig(this.configName,this.resourceID,{contextURI:this.dataUnit.name}):await k.loadFilterBarConfig(this.configName,this.resourceID,{contextURI:this.dataUnit.name}),this.filterCustomConfig&&(i=[...this.filterCustomConfig,...i]),this.filterCustomConfigInterceptor&&(i=this.filterCustomConfigInterceptor(i)),this.filterConfig=i.map((t=>this.normalizeItem(t))),this.filterConfig.sort(((t,i)=>this._filtersComparator(t,i)))}catch(t){throw new h(this.getMessage("snkFilterBar.failToLoadConfig"),t)}}async attachDataUnit(){if(null==this.dataUnit){let t=this._element.parentElement;for(;t;)if("SNK-DATA-UNIT"===t.tagName.toUpperCase()){const i=t;this.dataUnit=i.dataUnit,this.dataUnit?await this.registryFilterProvider():i.addEventListener("dataUnitReady",(async t=>{this.dataUnit=t.detail,await this.registryFilterProvider()}));break}t=t.parentElement}else await this.registryFilterProvider()}filterChangeListener(t){this.updateFilter(t.detail)}async showFilterModal(){this.isFilterModalOpen||(this.isFilterModalOpen=!0)}addPersonalizedFilter(t=!1){this.isFilterModalOpen=!1,this._isDefaultFilter=t,this.personalizedFilterId=void 0,this.showPersonalizedFilter=!0,window.requestAnimationFrame((()=>{this._elPersonalizedFilter.createPersonalizedFilter()}))}editPersonalizedFilter(t,i=!1){this.isFilterModalOpen=!1,this._isDefaultFilter=i,this.showPersonalizedFilter=!0,this.personalizedFilterId=t}deletePersonalizedFilter(t,i,e,s=!1){if(s)return k.removeDefaultFilter(t,this.resourceID,e),void(this._isDefaultFilter=!1);i===y.PERSONALIZED&&k.removePersonalizedFilter(t,this.resourceID,e)}closeFilterModal(){this.isFilterModalOpen=!1}applyFiltersFromModal(t){var i;this.filterConfig=t.map(this.normalizeItem).sort(((t,i)=>this._filtersComparator(t,i))),null===(i=this.afterApplyConfig)||void 0===i||i.call(this),this.isFilterModalOpen=!1}handleHidePersonalizedFilter(t){t?this.loadConfigFromStorage().then((()=>{this.hidePersonalizedFilter()})):this.hidePersonalizedFilter()}hidePersonalizedFilter(){this.personalizedFilterId=void 0,this.showPersonalizedFilter=!1,this._isDefaultFilter=!1}async componentWillLoad(){var t;try{if(this._application=d.getContextValue("__SNK__APPLICATION__"),await this.attachDataUnit(),this._application){if(this._application.enableLockManagerLoadingApp&&this.enableLockManagerLoadingComp){const t=c.addLockManagerCtxId(this._element);this._resolveLoading=c.lock(t,u.APP_LOADING)}await Promise.all([this.loadPermitions(),this.addFilterBarLegacyConfigName(),this.loadConfigFromStorage()])}}finally{null===(t=this._resolveLoading)||void 0===t||t.call(this)}}componentDidRender(){this.processPendingFilter()}render(){if(!this.dataUnit||!this.filterConfig||0===this.filterConfig.length)return;if(this.showPersonalizedFilter)return e("snk-personalized-filter",{class:"filter-bar__personalized-filter",filterId:this.personalizedFilterId,ref:t=>this._elPersonalizedFilter=t,isDefaultFilter:this._isDefaultFilter,onEzCancel:()=>this.handleHidePersonalizedFilter(!1),onEzAfterSave:()=>this.handleHidePersonalizedFilter(!0),entityUri:this.dataUnit.name,configName:this.configName,resourceID:this.resourceID});let t=n.copy(this.filterConfig);return t=t.sort(((t,i)=>t.originOrder-i.originOrder)),"regular"!==this.mode?e(s,{"data-mode":this.mode},this.getPersonalizedFilterVariableItems(),"button"===this.mode&&e("ez-button",{class:"ez-margin-left--medium",size:"small",label:this.getMessage("snkFilterBar.filters",void 0,this.getMessage("snkFilterBar.filters")),onClick:this.showFilterModal.bind(this)}),e("snk-filter-modal",{opened:this.isFilterModalOpen,filterConfig:this.filterConfig,configName:this.configName,disablePersonalizedFilter:this.disablePersonalizedFilter,getMessage:(t,i)=>this.getMessage(t,i),applyFilters:t=>this.applyFiltersFromModal(t),closeModal:()=>this.closeFilterModal(),addPersonalizedFilter:t=>this.addPersonalizedFilter(t),editPersonalizedFilter:(t,i)=>this.editPersonalizedFilter(t,i),deletePersonalizedFilter:(t,i,e)=>this.deletePersonalizedFilter(t,y.PERSONALIZED,i,e),filterCustomConfigInterceptor:this.filterCustomConfigInterceptor})):e(s,null,e("div",null,e("span",{class:"snk-filter-bar__title",title:this.title,"data-tooltip":this.title,"data-flow":"bottom"},this.title)),e("ez-scroller",{class:"snk-filter-bar__scroller",direction:g.HORIZONTAL,activeShadow:!0,locked:this.scrollerLocked},e("section",{class:"snk-filter-bar__filter-item-container"},this.getFilterItems())),e("ez-button",{class:"ez-padding-left--medium ez-margin-top--extra-small",size:"small",label:this.getMessage("snkFilterBar.filters",void 0,this.getMessage("snkFilterBar.filters")),onClick:this.showFilterModal.bind(this)},e("ez-icon",{slot:"leftIcon",iconName:"plus",class:"ez-padding-right--small"})),e("snk-filter-modal",{opened:this.isFilterModalOpen,filterConfig:this.filterConfig,configName:this.configName,disablePersonalizedFilter:this.disablePersonalizedFilter,getMessage:(t,i)=>this.getMessage(t,i),applyFilters:t=>this.applyFiltersFromModal(t),closeModal:()=>this.closeFilterModal(),addPersonalizedFilter:t=>this.addPersonalizedFilter(t),editPersonalizedFilter:(t,i)=>this.editPersonalizedFilter(t,i),deletePersonalizedFilter:(t,i,e)=>this.deletePersonalizedFilter(t,y.PERSONALIZED,i,e),filterCustomConfigInterceptor:this.filterCustomConfigInterceptor}))}get _element(){return r(this)}static get watchers(){return{filterConfig:["observeFilterConfig"]}}};A.style='.sc-snk-filter-bar-h{display:grid;grid-template-columns:1fr minmax(100px, 100%) 1fr 1fr;--snk-personalized-filter--z-index:var(--elevation--20, 20);--snk-personalized-filter--background-color:var(--background--xlight, #fff)}.snk-filter-bar__title.sc-snk-filter-bar{max-width:260px;display:inline-block;text-overflow:ellipsis;overflow:hidden;white-space:nowrap;font-size:16px;font-family:var(--font-pattern, Arial);font-weight:var(--text-weight--large, 600);color:var(--color--title-primary, #2B3A54);margin-top:12px}[data-mode="hidden"].sc-snk-filter-bar-h{width:0px;height:0px}[data-mode="button"].sc-snk-filter-bar-h{grid-template-columns:1fr;width:fit-content}.snk-filter__popover-container.sc-snk-filter-bar{display:flex;cursor:auto}.filter-bar__personalized-filter.sc-snk-filter-bar{display:flex;flex-direction:column;position:fixed;top:0;left:0;width:100%;height:100%;overflow:auto;z-index:var(--snk-personalized-filter--z-index);background-color:var(--snk-personalized-filter--background-color)}.snk-filter__popover.sc-snk-filter-bar{display:flex;flex-direction:column;position:absolute;width:fit-content;height:fit-content;min-width:265px;background-color:var(--background--xlight, #fff);border-radius:var(--border--radius-medium, 12px);box-shadow:var(--shadow, 0px 0px 16px 0px #000)}.snk-filter-item__editor-header.sc-snk-filter-bar{flex-grow:1;font-weight:var(--text-weight--medium, 400);color:var(--color--title-primary, #2B3A54)}.snk-filter__popover-rule.sc-snk-filter-bar{border-style:solid;border-color:var(--color--disable-secondary, #F2F5F8);border-radius:1px;border-width:1px;width:100%}.editor__ez-check.sc-snk-filter-bar{--ez-check__label--padding-left:0}.snk-filter-item__editor-header-button.sc-snk-filter-bar{cursor:pointer;background-color:transparent;border:none;padding:3px;outline-color:var(--color--primary)}.snk-filter-bar__divider.sc-snk-filter-bar{margin-bottom:var(--space--small);height:80%}.snk-filter-bar__filter-item-container.sc-snk-filter-bar{display:flex;align-items:start;margin:var(--space--2, 2px) 0}.snk-filter-bar__scroller.sc-snk-filter-bar .sc-snk-filter-bar:first-child{margin-left:var(--space-extra-small, 3px)}.snk-filter-bar__filter-list-items-container.sc-snk-filter-bar{overflow-y:auto;max-height:360px;margin-top:var(--space--small, 6px)}.snk-filter-bar__filter-list-item.sc-snk-filter-bar{cursor:pointer;border-radius:var(--border--radius-small, 6px);border:none;background-color:transparent}.snk-filter-bar__filter-list-item__label.sc-snk-filter-bar{color:var(--title--primary)}.snk-filter-bar__filter-list-item__label--secondary.sc-snk-filter-bar{color:var(--text--primary)}.snk-filter-bar__filter-list-item__icon.sc-snk-filter-bar{--ez-icon--color:var(--title--primary)}.snk-filter-bar__filter-list-item__icon--secondary.sc-snk-filter-bar{--ez-icon--color:var(--text--secondary)}.snk-filter-bar__filter-list-item.sc-snk-filter-bar:focus-visible{outline:none;background-color:var(--background--medium)}.snk-filter-bar__filter-list-item.sc-snk-filter-bar:hover{background-color:var(--background--medium)}.snk-filter-bar__filter-list-items-container--empty.sc-snk-filter-bar{width:100%;height:100px;display:flex;justify-content:center;align-self:center;align-items:center}.snk-filter-bar__filter-list-items-button--active.sc-snk-filter-bar{position:relative}.snk-filter-bar__filter-list-items-button--active.sc-snk-filter-bar::after{display:flex;position:absolute;content:"";width:8px;height:8px;top:7px;left:17px;background-color:var(--icon--alert--color, #008561);border-radius:50%}.snk-filter-bar__filter-modal-item.sc-snk-filter-bar{--modal-item-border-width:2px;display:flex;flex-direction:row;margin-left:var(--modal-item-border-width);border-radius:var(--border--radius-medium, 12px);background-color:var(--background--medium, #f0f3f7);border:none;width:100%}.snk-filter-bar__filter-modal-item.sc-snk-filter-bar:focus-visible{outline:var(--color--primary) solid var(--modal-item-border-width)}.snk-filter-bar__filter-modal-item__check.sc-snk-filter-bar{width:auto}.snk-filter-bar__filter-modal-item__label.sc-snk-filter-bar{font-weight:var(--text-weight--medium)}.snk-filter-bar__filter-modal-content.sc-snk-filter-bar{display:grid;grid-template-rows:auto auto 1fr auto;width:99%;height:100%}';const P=class{constructor(e){t(this,e),this.visibleChanged=i(this,"visibleChanged",7),this.filterChange=i(this,"filterChange",3),this._keyboardManager=void 0,this.detailIsVisible=void 0,this.config=void 0,this.getMessage=void 0,this.showChips=!0}observeDetailIsVisible(t){this.visibleChanged.emit(t)}filterChangeListener(){this.hideDetail()}async showUp(t=!1){var i;this._filterItemElement.scrollIntoView({behavior:"auto",block:"nearest",inline:"nearest"}),t&&(await(null===(i=this._chipElement)||void 0===i?void 0:i.setBlur()),await this._popover.showUnder(this._chipElement),await this._filterDetail.setFocusField())}async hideDetail(){var t;await(null===(t=this._popover)||void 0===t?void 0:t.hide())}getConfigChanges(){var t;const i=this.config;(null===(t=i.groupedItems)||void 0===t?void 0:t.length)&&(i.visible=!1,i.groupedItems=i.groupedItems.map((t=>Object.assign(Object.assign({},t),{visible:!1}))));const e=i.type===y.MULTI_LIST&&Array.isArray(i.value)?i.value.map((t=>Object.assign(Object.assign({},t),{check:!1}))):void 0;return Object.assign(Object.assign({},i),{value:e})}clearFilter(t){if(null==t||t.stopPropagation(),this.canClearFilter()){const t=this.getConfigChanges();this.filterChange.emit(t)}else this.togglePopover(t)}async togglePopover(t){null==t||t.preventDefault(),null==t||t.stopPropagation(),!1!==this.config.enabled&&(this.detailIsVisible?await this.hideDetail():await this.showUp(!0))}getLabel(t=!1){var i,e;const{type:s,value:r,label:l,props:a,groupedItems:n=[]}=this.config;if(r||n.length){if(s===y.BINARY_SELECT){const[i,e]=a.options,s=this.getMessage("snkFilterBar.binarySelectTooltip");if(i.name===r)return t?`${s} ${String(i.label).toLowerCase()}`:i.label;if(e.name===r)return t?`${s} ${String(e.label).toLowerCase()}`:e.label}if(s===y.MULTI_SELECT)return`${l}: ${a.options.find((t=>t.value===r)).label}`;if(s===y.PERIOD){let{end:i,start:e}=r;"string"==typeof i&&(i=new Date(i),i.setMinutes(i.getMinutes()+i.getTimezoneOffset())),"string"==typeof e&&(e=new Date(e),e.setMinutes(e.getMinutes()+e.getTimezoneOffset()));const s=new Intl.DateTimeFormat("pt-BR");if(i&&e){const s=e.getFullYear()===i.getFullYear(),r=Object.assign({day:"2-digit",month:"2-digit"},(!s||t)&&{year:"2-digit"}),a=f.formatDate(e,r),n=f.formatDate(i,r);return t?this.getMessage("snkFilterBar.fullPeriodTooltip",{LABEL:l,START_LABEL:a,END_LABEL:n}):`${l}: ${a} → ${n}`}return e?`${l}: ${this.getMessage("snkFilterBar.onlyStartToltip")} ${s.format(e)}`:i?`${l}: ${this.getMessage("snkFilterBar.onlyEndToltip")} ${s.format(i)}`:l}if(s===y.SEARCH)return`${l}: ${r.value} - ${r.label}`;if(s===y.PERSONALIZED){const t=this.calculateActiveCount(n);return t<=0?l:`${l}: ${this.getMessage("snkFilterBar.personalizedCount",{activeCount:t})}`}if(s===y.MULTI_LIST){const e=(null!==(i=r.elements)&&void 0!==i?i:r).filter((t=>null==t?void 0:t.check));return this.getLabelFromCheckedOptions(e,l,t)}if(s===y.CHECK_BOX_LIST){const i=Object.entries(null!=r?r:{}).filter((([t,i])=>!0===i)).map((([t,i])=>t)),s=(null!==(e=a.options)&&void 0!==e?e:[]).filter((t=>i.includes(t.name)));return this.getLabelFromCheckedOptions(s,l,t)}if(s===y.NUMBER&&a.variation===w.INTERVAL){const{start:t,end:i}=r;if(!isNaN(t)&&!isNaN(i))return this.getMessage("snkFilterBar.fullIntervalTooltip",{LABEL:l,START_LABEL:t,END_LABEL:i});if(!isNaN(t))return`${l}: ${this.getMessage("snkFilterBar.onlyStartToltip")} ${Number(t)}`;if(!isNaN(i))return`${l}: ${this.getMessage("snkFilterBar.onlyEndToltip")} ${Number(i)}`}return this.config.mask?`${l}: ${new m(this.config.mask).format(r)}`:`${l}: ${r}`}return l}getLabelFromCheckedOptions(t,i,e){const s=t.length;return 0===s?`${i}`:s>1?e?`${i}: ${t.map((t=>t.label)).join(",")}`:`${i}: ${s} ${this.getMessage("snkFilterBar.multiListToltip")}`:`${i}: ${t[0].label}`}calculateActiveCount(t){return t.reduce(((t,i)=>i.visible?t+1:t),0)}componentDidLoad(){this._filterItemElement&&(o.addIDInfo(this._filterItemElement),this._idSnkFilterDetail=`filterDetail_${this.config.id}`)}canClearFilter(){const{value:t,groupedItems:i=[]}=this.config;return null!=t&&this.config.type===y.MULTI_LIST?t.some((t=>t.check)):void 0!==t||i.some((t=>t.visible))}getRightIconName(){return this.canClearFilter()?"close":this.detailIsVisible?"chevron-up":"chevron-down"}getLeftIconName(){switch(this.config.type){case y.PERIOD:return"calendar";case y.PERSONALIZED:return"tune"}}hasActiveElements(t){var i;const e=Array.isArray(t)?t:null==t?void 0:t.elements;return(null===(i=null==e?void 0:e.filter((t=>null==t?void 0:t.check)))||void 0===i?void 0:i.length)>0}hasActiveValue(t){return t.type!==y.MULTI_LIST&&void 0!==t.value||this.hasActiveElements(t.value)}getEnabledChip(){if(this.detailIsVisible)return!0;if(this.config.type===y.PERSONALIZED){const{groupedItems:t=[]}=this.config;return t.some((t=>t.visible))}return this.hasActiveValue(this.config)}async handleVisibilityPopover(t){this.detailIsVisible=t.detail,this.detailIsVisible||await this._filterDetail.clearValue()}getCustomMessage(t,i){var e;return null===(e=this.getMessage)||void 0===e?void 0:e.call(this,`snkFilterBar.filterModal.${t}`,i)}hasValue(){return this.config.type===y.MULTI_LIST?this.hasActiveElements(this.config.value):null!=this.config.value}getTooltipMessage(){var t,i;return this.config.required&&!this.hasValue()?{message:null!==(t=this.config.requiredMessage)&&void 0!==t?t:this.getCustomMessage("validations.requiredFilter"),type:"error"}:!1===this.config.enabled&&this.config.disabledMessage?{message:this.config.disabledMessage,type:"warning"}:{message:null!==(i=this.config.defaultMessage)&&void 0!==i?i:this.getLabel(!0),type:"default"}}getTypeChip(t){switch(t){case"default":return"secondary";case"warning":return"warning-light";case"error":return"error-light";case"success":return"success-light";default:return t}}initKeyboardManager(){this._keyboardManager=new p({element:this._filterItemElement,propagate:!0}),this._keyboardManager.bind("Escape",(()=>this.hideDetail()))}connectedCallback(){this.initKeyboardManager()}disconnectedCallback(){this._keyboardManager.unbindAllShortcutKeys()}render(){const t=this.getLeftIconName(),{type:i,message:r}=this.getTooltipMessage();return e(s,null,this.showChips&&e("ez-tooltip",{id:this.config.id,message:r,type:i,active:!this.detailIsVisible,strategy:"fixed"},e("ez-chip",{id:this.config.id,ref:t=>this._chipElement=t,label:this.getLabel(),value:this.getEnabledChip(),onClick:t=>this.togglePopover(t),disableAutoUpdateValue:!0,type:this.getTypeChip(i),enabled:this.config.enabled},t&&e("ez-icon",{ref:t=>this._leftIconElement=t,iconName:t,slot:"leftIcon"}),e("ez-icon",{ref:t=>this._rightIconElement=t,iconName:this.getRightIconName(),slot:"rightIcon",id:"removeFilter",onClick:t=>this.clearFilter(t)}))),e("ez-popover-core",{ref:t=>this._popover=t,onEzVisibilityChange:t=>this.handleVisibilityPopover(t)},e("snk-filter-detail",{ref:t=>this._filterDetail=t,key:this.config.id,config:this.config,getMessage:this.getMessage,class:"sc-snk-filter-bar snk-filter__popover ez-padding--small ez-elevation--16","data-element-id":this._idSnkFilterDetail,showHardFixed:this.showChips&&!this.config.required,removalBlocked:this.config.required})))}get _filterItemElement(){return r(this)}static get watchers(){return{detailIsVisible:["observeDetailIsVisible"]}}};P.style="ez-popover-core.sc-snk-filter-item{--ez-popover__box--z-index:var(--elevation--20, 20);--ez-popover__box--overlay-z-index:var(--elevation--16, 16)}";const D="__SHOWMORE__",S=class{constructor(e){t(this,e),this.snkItemSelected=i(this,"snkItemSelected",7),this._preselection=-1,this.innerClickCheck=(t,i)=>i.id!=v.MODAL_ELEMENT_ID||(this._detailIsVisible=!1,!1),this._filterArgument=void 0,this._showAll=void 0,this.label=void 0,this.iconName=void 0,this.items=void 0,this.getMessage=void 0,this.emptyText=void 0,this.findFilterText=void 0,this.buttonClass=void 0}showDetail(){this._preselection=-1,this._floatingID=v.float(this._popover,this._popoverContainer,{autoClose:!0,innerClickTest:this.innerClickCheck,backClickListener:()=>this.onListCloseCallback(),useOverlay:!0}),this._detailIsVisible=!0,this._showAll=!1,this._filterArgument="",this._filterInput.setFocus()}async hideDetail(){null!=this._floatingID&&v.close(this._floatingID)}onListCloseCallback(){this._floatingID=void 0,this._detailIsVisible=!1}buttonClick(){this._detailIsVisible?this.hideDetail():this.showDetail()}componentDidLoad(){this._element&&o.addIDInfo(this._element)}componentDidRender(){null==this._floatingID&&this._popover&&this._popover.remove()}buildIdElement(t,i){if(!t)return;const e={id:i};t.removeAttribute(o.DATA_ELEMENT_ID_ATTRIBUTE_NAME),o.addIDInfoIfNotExists(t,"filterItemList",e)}buildItemElement(t){const i=++this._selectableItemsCount;return e("button",{ref:i=>i&&this.buildIdElement(i,t.label),id:`filter-item${i}`,onFocusin:()=>this._preselection=i,class:"ez-col ez-col--sd-12 ez-align--middle ez-padding--small sc-snk-filter-bar snk-filter-bar__filter-list-item",onClick:()=>this.itemSelected(t.name),name:t.label,key:i},t.iconName?e("ez-icon",{iconName:t.iconName,size:"small",class:`ez-padding-right--extra-small sc-snk-filter-bar snk-filter-bar__filter-list-item__icon ${t.iconClass||""}`}):void 0,e("div",{class:`ez-text ez-text--medium ez-text--primary ez-padding--extra-small sc-snk-filter-bar snk-filter-bar__filter-list-item__label ${t.labelClass||""}`},t.label))}itemSelected(t){t===D?this._showAll=!0:(this.hideDetail(),this.snkItemSelected.emit(t))}getFilterItems(){const t=this.items?b.applyStringFilter(this._filterArgument,this.items.filter((t=>"FILTER"===t.kind))):[];return 0===t.length?e("div",{class:"ez-text ez-text--medium ez-text--primary ez-padding--extra-small sc-snk-filter-bar snk-filter-bar__filter-list-items-container--empty"},this.emptyText):(!this._filterArgument&&!this._showAll&&t.length>6&&(t.splice(5),t.push({kind:"INTERNAL",label:this.getMessage("snkFilterList.showMore"),iconName:"dots-horizontal",name:D,iconClass:"snk-filter-bar__filter-list-item__icon--secondary",labelClass:"snk-filter-bar__filter-list-item__label--secondary"})),this._selectableItemsCount=0,e("div",{class:"sc-snk-filter-bar snk-filter-bar__filter-list-items-container"},t.map((t=>this.buildItemElement(t)))))}getFooterItems(){return this.items.filter((t=>"FOOTER"===t.kind))}keyDownHandler(t){switch(t.key){case"ArrowDown":this.changePreselection(this._preselection+1),t.stopImmediatePropagation(),t.stopPropagation(),t.preventDefault();break;case"ArrowUp":this.changePreselection(this._preselection-1),t.stopImmediatePropagation(),t.stopPropagation(),t.preventDefault()}}changePreselection(t){if(t<0&&(t=this._selectableItemsCount),this._preselection=t>this._selectableItemsCount?0:t,0===this._preselection)this._filterInput.setFocus();else{const t=this._element.querySelector(`#filter-item${this._preselection}`);t&&t.focus()}}render(){return e(s,{class:"ez-flex ez-flex--column"},e("ez-button",{class:this.buttonClass,label:this.label,onClick:()=>this.buttonClick(),mode:this.iconName?"icon":void 0,iconName:this.iconName,size:"small"},e("slot",{name:"leftIcon"})),e("section",{class:"ez-margin-top--small sc-snk-filter-bar snk-filter__popover-container",ref:t=>this._popoverContainer=t},e("div",{class:"sc-snk-filter-bar snk-filter__popover ez-padding--small ez-elevation--4",ref:t=>this._popover=t},e("ez-filter-input",{ref:t=>this._filterInput=t,"data-element-id":"serachFilters",mode:"slim",label:this.findFilterText,value:this._filterArgument,onEzChange:t=>this._filterArgument=t.detail,onFocus:()=>this._preselection=0}),this.getFilterItems(),e("hr",{class:"sc-snk-filter-bar snk-filter__popover-rule"}),this.items?this.getFooterItems().map((t=>this.buildItemElement(t))):void 0)))}get _element(){return r(this)}},B=class{constructor(i){t(this,i),this.filters=[],this.filtersWithError=[],this.getMessage=void 0,this.configName=void 0,this.filterConfig=void 0,this.opened=!1,this.applyFilters=void 0,this.closeModal=void 0,this.addPersonalizedFilter=void 0,this.editPersonalizedFilter=void 0,this.deletePersonalizedFilter=void 0,this.filtersToDelete=[],this.filterDefaultToDelete=void 0,this.disablePersonalizedFilter=void 0,this.filterCustomConfigInterceptor=void 0}filterConfigChangeHandler(t){this.filters=n.copy(t),this.validateFilters()}deletePersonalizedFilterListener(t){this.filtersToDelete.push(t.detail)}getCustomMessage(t,i){var e;return null===(e=this.getMessage)||void 0===e?void 0:e.call(this,`snkFilterBar.filterModal.${t}`,i)}handleClearAll(){const{customFilters:t,quickFilters:i,otherFilters:e,multiListFilters:s}=this.filters.reduce(((t,i)=>i.type===y.MULTI_LIST?(t.multiListFilters.push(i),t):i.filterType===N.QUICK_FILTER?(t.quickFilters.push(i),t):i.filterType===N.CUSTOM_FILTER?(t.customFilters.push(i),t):i.filterType===N.OTHER_FILTERS?(t.otherFilters.push(i),t):t),{quickFilters:[],customFilters:[],otherFilters:[],multiListFilters:[]});this.handleClearFilterList(i),this.handleClearCustomFilters(t),this.handleClearOthersFilters(e),s.forEach((t=>this.handleClearSigleFilter(t)))}handleClearOthersFilters(t){this.filters=this.filters.map((i=>t.includes(i)?Object.assign(Object.assign({},i),{value:void 0}):i))}handleClearCustomFilters(t){this.filters.forEach(((i,e)=>{i.filterType===N.CUSTOM_FILTER&&(this.filters[e]=this.clearAllCustomFilter(t).shift())}))}clearAllCustomFilter(t){return t.map((t=>{const i=Object.assign({},t);return delete i.value,i.visible=!1,i.groupedItems&&(i.groupedItems=this.clearAllCustomFilter(i.groupedItems)),i}))}hasChangeToSave(){return n.objectToString(this.filters)!=n.objectToString(this.filters)}handleClose(){if(this.hasChangeToSave())return I.confirm(this.getCustomMessage("validations.notSaved.title"),this.getCustomMessage("validations.notSaved.message")).then((t=>{t&&this.closeModal()}));this.closeModal()}handleApplyFilters(){if(!this.validateFilters())return;const t=this.filters.find((t=>t.filterType===N.CUSTOM_FILTER||t.filterType===N.DEFAULT_FILTER));this.isValidCustomFilter(t)&&this.applyFilters(this.filters),this.filtersToDelete.length>0&&(this.filtersToDelete.forEach((t=>{this.deletePersonalizedFilter(t,this.configName)})),this.filtersToDelete=[]),this.filterDefaultToDelete&&(this.deletePersonalizedFilter(this.filterDefaultToDelete,this.configName,!0),this._defaultFilter=void 0,this.filterDefaultToDelete=void 0)}isValidCustomFilter(t){return!!_.validateVariableValues(t)||(I.alert(this.getCustomMessage("validations.notFullFilled.title"),this.getCustomMessage("validations.notFullFilled.message")),!1)}modalActionListener(t){switch(t.detail){case C.CANCEL:this.handleClearAll();break;case C.OK:this.handleApplyFilters();break;case C.CLOSE:this.handleClose()}}handleFilterChange(t){t.stopPropagation();const i=t.detail;let e=this.filters.map((t=>t.id===i.id?i:t));this.filterCustomConfigInterceptor&&(e=this.filterCustomConfigInterceptor(e)),this.filters=n.copy(e)}handleClearFilterList(t){this.filters=this.filters.map((i=>t.includes(i)?Object.assign(Object.assign({},i),{value:void 0}):i))}handleClearSigleFilter(t){if(y.MULTI_LIST===t.type){let i=n.copy(t);this.uncheckFilterValues(i.value);const e=n.copy(this.filters),s=e.findIndex((i=>i.id===t.id));return e.splice(s,1,i),void(this.filters=n.copy(e))}if(y.CHECK_BOX_LIST===t.type){const i=n.copy(this.filters);return i.find((i=>i.id===t.id)).value=void 0,void(this.filters=n.copy(i))}this.filters.find((i=>i.id===t.id)).value=void 0,this.filters=n.copy(this.filters)}uncheckFilterValues(t){return t.forEach((t=>{t&&(t.check=!1)})),t}validateFilters(){const t=T(this.filters);return this.filtersWithError=t.map((t=>t.id)),0===t.length||(t.forEach((t=>{const i=this._element.querySelector(`#filter-item-${t.id}`);i&&(i.errorMessage=t.requiredMessage||this.getCustomMessage("validations.requiredFilter"))})),!1)}renderFilterItem(t,i){return e("snk-filter-modal-item",{key:`modal-item-${t.id}`,class:i?"ez-col ez-col--sd-12":"ez-col ez-col--sd-6 ez-padding--small",filterItem:t,configName:this.configName,onFilterChange:t=>this.handleFilterChange(t),onEditPersonalizedFilter:t=>this.editPersonalizedFilter(t.detail),onAddPersonalizedFilter:()=>this.addPersonalizedFilter()})}isDefaultFilterNumberVariation(t){var i;return t.type===y.NUMBER&&(!t.props.variation||(null===(i=t.props)||void 0===i?void 0:i.variation)===w.DEFAULT)}mountFiltersLines(t){let i=0,e=!1;const s={};for(let r=0;r<t.length;r++){s[i]=s[i]||[];const l=t[r],a=r===t.length-1,n=l.type===y.TEXT||this.isDefaultFilterNumberVariation(l),o=!a&&(t[r+1].type===y.TEXT||this.isDefaultFilterNumberVariation(t[r+1]));n&&o||e?(s[i].push(l),e=s[i].length<2,2===s[i].length&&++i):(s[i]=s[i]||[],s[i].push(l),++i)}return Object.values(s)}renderFilterLine(t){const i=1===t.length;return t.map((t=>this.renderFilterItem(t,i)))}getIformedFiltersCount(t){let i=0;return t.forEach((t=>{var e,s,r,l,a,n;const o=this.filterConfig.find((i=>i.id===t.id));y.MULTI_LIST!==o.type?y.CHECK_BOX_LIST!==o.type?null==o.groupedItems?o.value&&i++:i=o.groupedItems.filter((t=>t.visible)).length:i+=Object.entries(null!==(n=o.value)&&void 0!==n?n:{}).filter((([t,i])=>!0===i)).map((([t,i])=>t)).length:i+=null!==(a=null===(l=null===(r=null!==(s=null===(e=o.value)||void 0===e?void 0:e.elements)&&void 0!==s?s:o.value)||void 0===r?void 0:r.filter((t=>null==t?void 0:t.check)))||void 0===l?void 0:l.length)&&void 0!==a?a:0})),i}renderCollapsibleFilterBox(t,i,s,r=!0){if(!i.length)return null;const l=this.getIformedFiltersCount(i),a=this.mountFiltersLines(i),n=this.filtersWithError.filter((t=>i.some((i=>i.id===t)))).length;return e("ez-collapsible-box",{class:"snk-filter-modal__collapsible-box",headerSize:"medium",value:!0,label:t},e("div",{class:"ez-flex ez-flex--justify-end grow",slot:"rightSlot"},!!l&&e("ez-badge",{class:"ez-badge--primary-subtle",label:null==l?void 0:l.toString()}),!!n&&e("ez-badge",{class:"ez-badge--error-subtle",label:null==n?void 0:n.toString()})),e("div",{class:"ez-row snk-filter-modal__rendered-items"},a.map(this.renderFilterLine.bind(this))),r&&e("div",{class:"ez-flex ez-flex--justify-end grow"},e("ez-button",{class:"ez-button--tertiary",size:"medium",label:this.getCustomMessage("clearModal"),onClick:()=>s?this.handleClearSigleFilter(i[0]):this.handleClearFilterList(i)})))}handleDeleteFilter(){this._application.confirm(this.getMessage("snkPersonalizedFilter.deleteConfirm.title"),this.getMessage("snkPersonalizedFilter.info.deleteDefaultFilterConfirm"),"alert-circle-inverted","critical").then((t=>{t&&(this.filterDefaultToDelete=this._defaultFilter,this.filters=this.filters.filter((t=>t.id!==N.DEFAULT_FILTER)))}))}handleActionSelectedDefaultFilter({detail:t}){switch(t){case $.CREATE:this.addPersonalizedFilter(!0);break;case $.EDIT:this.editPersonalizedFilter(this._defaultFilter.id,!0);break;case $.REMOVE:this.handleDeleteFilter()}}getCustomFilter(t){return t.filter((t=>t.filterType===N.CUSTOM_FILTER))}getDefaultFilter(t){return t.find((t=>t.id===x.id))}componentWillLoad(){this._application=d.getContextValue("__SNK__APPLICATION__"),this.filters=n.copy(this.filterConfig)}componentWillRender(){this._modalTitle=this.getCustomMessage("title"),this._okButtonLabel=this.getCustomMessage("okButtonLabel"),this._cancelButtonLabel=this.getCustomMessage("cancelButtonLabel")}componentDidLoad(){this.validateFilters()}render(){this._defaultFilter=this.getDefaultFilter(this.filters);const t=this.getCustomFilter(this.filters),i=this.filters.filter((t=>t.filterType===N.QUICK_FILTER)),s=this.filters.filter((t=>t.filterType===N.OTHER_FILTERS));return e("ez-modal",{opened:this.opened,modalSize:"col--sd-3",align:"right",heightMode:"full",closeEsc:!0},e("ez-modal-container",{class:"snk-filter-modal__container",modalTitle:this._modalTitle,cancelButtonLabel:this._cancelButtonLabel,okButtonLabel:this._okButtonLabel,onEzModalAction:this.modalActionListener.bind(this)},e("div",{class:"snk-filter-modal__content ez-col--sd-12"},e("snk-default-filter",{getMessage:this.getCustomMessage.bind(this),hasDefaultFilter:!!this._defaultFilter,onActionSelected:this.handleActionSelectedDefaultFilter.bind(this)}),!this.disablePersonalizedFilter&&this.renderCollapsibleFilterBox(this.getCustomMessage("customFilters"),t,!1,!1),this.renderCollapsibleFilterBox(this.getCustomMessage("quickFilters"),i,!1),s.map((t=>this.renderCollapsibleFilterBox(t.label,[t],!0))))))}get _element(){return r(this)}static get watchers(){return{filterConfig:["filterConfigChangeHandler"]}}};B.style="ez-modal{--ez-modal-content-padding:24px 12px}.snk-filter-modal__container{min-width:344px;overflow:hidden}.snk-filter-modal__content{display:flex;flex-direction:column;gap:var(--space--medium, 12px);padding-right:var(--space--3xs, 4px)}.snk-filter-modal__collapsible-box{border:var(--border--small, 1px solid) var(--color--strokes, #DCE0E8);border-radius:var(--border--radius-medium);padding:var(--space--medium, 12px) var(--space--small, 6px)}.snk-filter-modal__rendered-items{max-height:760px}.snk-filter-modal__rendered-items::-webkit-scrollbar{width:var(--space--small);min-width:var(--space--small);max-width:var(--space--small)}";export{A as snk_filter_bar,P as snk_filter_item,S as snk_filter_list,B as snk_filter_modal}
Binary file
@@ -1 +0,0 @@
1
- import{r as t,c as s,h as e,H as i,g as h}from"./p-d8d8169b.js";import{ElementIDUtils as l}from"@sankhyalabs/core";import{F as a}from"./p-ff1990ad.js";import{E as o}from"./p-1a68fb59.js";const r=class{constructor(e){t(this,e),this.valueChanged=s(this,"valueChanged",7),this._noOptionValue="NO_VALUE",this._radioButtonValue=void 0,this.value=void 0,this.config=void 0,this.presentationMode=o.CHIP,this.errorMessage=void 0}isSelected(t){return null==this.value||this.value===t}ezChangeListener(t){if(this.errorMessage=void 0,this.presentationMode===o.MODAL)return t.detail||this.assertCheckedOption(t.target),void this.updateValue();this.value=t.detail===this._noOptionValue?void 0:t.detail,this._radioButtonValue=t.detail}async resetValues(){this.ezChangeListener({detail:this._noOptionValue})}async clearValue(){this.value=this.config.value,this._radioButtonValue=this.value||this._noOptionValue}async setFocus(){this.presentationMode!==o.MODAL?this._element.querySelector("ez-radio-button").focus():this._checkOne.setFocus()}assertCheckedOption(t){t===this._checkOne?this._checkTwo.value=!0:this._checkOne.value=!0}updateValue(){if(this._checkOne.value&&this._checkTwo.value)this.value=void 0;else{const[t,s]=this.config.props.options;this.value=this._checkOne.value?t.name:s.name}this.valueChanged.emit(this.value)}setRadioValue(){this._radioButtonValue=this.value||this._noOptionValue}componentDidLoad(){this._element&&l.addIDInfo(this._element,"filterContentEditor")}componentWillLoad(){this.setRadioValue()}componentShouldUpdate(){this.setRadioValue()}disconnectedCallback(){this.value=this.config.value}render(){if(!this.config||this.config.type!==a.BINARY_SELECT)return;const[t,s]=this.config.props.options;return e(i,null,this.presentationMode===o.MODAL?e("div",{class:"ez-row ez-size-height--full"},e("label",{class:"ez-text ez-title--small ez-title--primary ez-size-height--full ez-flex ez-flex--row ez-flex--align-items-center ez-col ez-col--sd-4"},this.config.detailModal),e("div",{class:"ez-col ez-col--sd-4"},e("ez-check",{ref:t=>this._checkOne=t,id:`${this.config.id}_${t.name||"option1"}`,class:"sc-snk-filter-bar editor__ez-check",label:t.label,enabled:this.config.enabled,value:this.isSelected(t.name)})),e("div",{class:"ez-col ez-col--sd-4"},e("ez-check",{ref:t=>this._checkTwo=t,id:`${this.config.id}_${s.name||"option2"}`,class:"sc-snk-filter-bar editor__ez-check",label:s.label,enabled:this.config.enabled,value:this.isSelected(s.name)})),this.errorMessage&&e("span",{class:"ez-text ez-text--small ez-text--error ez-margin--small"},this.errorMessage)):e("ez-tooltip",{active:!1===this.config.enabled,message:this.config.disabledMessage,type:"warning"},e("ez-radio-button",{value:this._radioButtonValue},e("ez-radio-button-option",{id:`${this.config.id}_${t.name||"option1"}`,class:"sc-snk-filter-bar editor__ez-check",label:t.label,value:t.name}),e("ez-radio-button-option",{id:`${this.config.id}_${s.name||"option2"}`,class:"sc-snk-filter-bar editor__ez-check",label:s.label,value:s.name}),e("ez-radio-button-option",{id:`${this.config.id}_option3`,class:"sc-snk-filter-bar editor__ez-check",label:`${t.label} + ${s.label}`,value:this._noOptionValue})),this.errorMessage&&e("span",{class:"ez-text ez-text--small ez-text--error ez-margin--small"},this.errorMessage)))}get _element(){return h(this)}};export{r as snk_filter_binary_select}
Binary file
Binary file
Binary file
@@ -1 +0,0 @@
1
- import{ObjectUtils as t}from"@sankhyalabs/core";import{R as a}from"./p-8d256def.js";class e extends a{getData(a){const e=`cfg://auth/${a}`;return new Promise(((a,s)=>{this.loadResource(e).then((e=>{let s=t.stringToObject(e);s&&"object"==typeof s&&a(s)})).catch((t=>{s(t)}))}))}}var s;!function(t){t.INSERT="I",t.UPDATE="A",t.REMOVE="E",t.SHOW="C",t.CONFIG="F",t.CONFIG_NUMBER="N",t.CLONE="D",t.CONFIG_GRID="G"}(s||(s={}));export{s as A,e as a}
Binary file
@@ -1 +0,0 @@
1
- import{r as t,c as s,h as i,g as e}from"./p-d8d8169b.js";import{ElementIDUtils as h,ApplicationContext as r}from"@sankhyalabs/core";import{F as a}from"./p-ff1990ad.js";const o=class{constructor(i){t(this,i),this.valueChanged=s(this,"valueChanged",7),this._isSearchPlus=!1,this.config=void 0,this.value=void 0,this.errorMessage=void 0}async ezChangeListener(t){this.errorMessage=void 0,this.value=this._isSearchPlus?await this._searchInput.getValueAsync():this._searchInput.value,this.valueChanged.emit(this.value)}componentDidLoad(){this._element&&h.addIDInfo(this._element,"filterContentEditor")}doSearch(t,s,i=!1){const e=r.getContextValue("__SNK__APPLICATION__"),h=i?e.executePreparedSearchPlus:e.executePreparedSearch;return new Promise(((i,r)=>{h.bind(e)(t,s,this.config.props.searchContext).then((t=>{i(t)})).catch((t=>{r(t)}))}))}async setFocus(){this._searchInput.setFocus()}async clearValue(){this.value=this.config.value,this._searchInput&&(this._searchInput.value=this.config.value)}getInputItem(){var t;return this._isSearchPlus=1==(null===(t=this.config.props)||void 0===t?void 0:t.useSearchPlus),i("ez-tooltip",{active:!1===this.config.enabled,message:this.config.disabledMessage,type:"warning"},i(this._isSearchPlus?"ez-search-plus":"ez-search",{id:this.config.id,suppressEmptyOption:!0,value:this.config.value,label:this.config.label,enabled:this.config.enabled,ref:t=>this._searchInput=t,optionLoader:({mode:t,argument:s})=>this.doSearch(t,s,this._isSearchPlus),errorMessage:this.errorMessage}))}render(){if(this.config&&this.config.type===a.SEARCH)return this.getInputItem()}get _element(){return e(this)}};export{o as snk_filter_search}
@@ -1 +0,0 @@
1
- import{r as i,c as t,h as s,H as l}from"./p-d8d8169b.js";import{ObjectUtils as e,ApplicationContext as o}from"@sankhyalabs/core";const n=class{constructor(s){i(this,s),this.valueChanged=t(this,"valueChanged",7),this._ezListSource=[],this.config=void 0,this.rightListSlotBuilder=void 0,this.maxHeightList="",this.value=void 0,this.errorMessage=void 0}async reloadList(){this.loadListSource()}observeConfig(){var i,t;null===(t=null===(i=this._searchElement)||void 0===i?void 0:i.clearValue)||void 0===t||t.call(i)}ezListChangeListener(i){var t,s;this.errorMessage=void 0;const l=e.copy(this.config);null===(t=this.getListConfigValue(l))||void 0===t||t.forEach((t=>{var s,l;t&&t.id===(null===(s=i.detail)||void 0===s?void 0:s.id)&&(t.check=null===(l=i.detail)||void 0===l?void 0:l.check)})),this.config=e.copy(l),this.valueChanged.emit(null===(s=this.config)||void 0===s?void 0:s.value)}loadListSource(){var i;this._ezListSource=[],null===(i=this.getListConfigValue(this.config))||void 0===i||i.forEach((i=>{i&&this._ezListSource.push({label:`${i.id} - ${i.label}`,check:i.check,id:i.id})}))}componentDidLoad(){var i,t,s,l,e;let n=this.getListConfigValue(this.config),a=[];Array.isArray(n)?a=n:a.push(null===(t=null===(i=this.config)||void 0===i?void 0:i.value)||void 0===t?void 0:t.members),this.config.value=a,this._entityName=null===(e=null===(l=null===(s=this.config)||void 0===s?void 0:s.props)||void 0===l?void 0:l.searchContext)||void 0===e?void 0:e.entity,this._application=o.getContextValue("__SNK__APPLICATION__"),this.loadListSource()}optionLoader(i){var t,s,l,e,o,n;const{mode:a,argument:d}=i;if(void 0===this._application)return;const v=null!==(l=null===(s=null===(t=this.config)||void 0===t?void 0:t.props)||void 0===s?void 0:s.searchContext)&&void 0!==l?l:{},r=null===(o=null===(e=this.config)||void 0===e?void 0:e.props)||void 0===o?void 0:o.criteria,h=Object.assign(Object.assign({criteria:r},v),{entityDescription:null===(n=this.config)||void 0===n?void 0:n.label,entity:this._entityName});return this._application.executePreparedSearch(a,d,h)}onEzSearchChange(i){var t,s,l,o;const n=e.isEmptySafetyCheck(i.detail),a=null===(t=this.getListConfigValue(this.config))||void 0===t?void 0:t.find((t=>{var s;return("number"==typeof t.id?String(t.id):t.id)===(null===(s=i.detail)||void 0===s?void 0:s.value)}));n||a||(this.config=Object.assign(Object.assign({},this.config),{value:[...null!==(l=null===(s=this.config)||void 0===s?void 0:s.value)&&void 0!==l?l:[],{id:i.detail.value,check:!0,label:i.detail.label}]}),this.loadListSource(),this.value=this.config.value,this.valueChanged.emit(null===(o=this.config)||void 0===o?void 0:o.value))}getMessage(i,t){var s;return null===(s=this._application)||void 0===s?void 0:s.messagesBuilder.getMessage(i,t)}getListConfigValue(i){var t,s,l,e;return null!==(e=null!==(s=null===(t=i.value)||void 0===t?void 0:t.elements)&&void 0!==s?s:null===(l=null==i?void 0:i.value)||void 0===l?void 0:l.members)&&void 0!==e?e:null==i?void 0:i.value}render(){var i,t,e,o,n;const a=1==(null===(i=this.config.props)||void 0===i?void 0:i.useSearchPlus);return s(l,null,s("ez-tooltip",{active:!this.config.enabled,message:this.config.disabledMessage,type:"warning"},s(a?"ez-search-plus":"ez-search",{ref:i=>this._searchElement=i,optionLoader:i=>this.optionLoader(i),label:null===(t=this.config)||void 0===t?void 0:t.label,enabled:null===(e=this.config)||void 0===e?void 0:e.enabled,onEzChange:i=>this.onEzSearchChange(i),suppressEmptyOption:!0,stopPropagateEnterKeyEvent:!0}),(null===(o=this._ezListSource)||void 0===o?void 0:o.length)>0&&s("label",{class:"label"},this.getMessage("snkEntityList.selected")),s("div",{style:this.maxHeightList?{"max-height":this.maxHeightList}:{},class:{"snk-entity-list--overflow":!!this.maxHeightList}},s("ez-list",{ref:i=>this._ezList=i,id:"snkEntityList",enabled:null===(n=this.config)||void 0===n?void 0:n.enabled,listMode:"check",dataSource:this._ezListSource,hoverFeedback:!0,itemSlotBuilder:this.rightListSlotBuilder,onEzCheckChange:i=>this.ezListChangeListener(i)})),this.errorMessage&&s("span",{class:"ez-text ez-text--small ez-text--error ez-margin-horizontal--medium"},this.errorMessage)))}static get watchers(){return{config:["observeConfig"]}}};n.style=".sc-snk-entity-list-h{--snk-entity-list--label--font-size:var(--text--medium, 14px);--snk-entity-list--label--font-family:var(--font-pattern, Arial);--snk-entity-list--label--color:var(--title--primary, #000);--snk-entity-list--label--disabled--color:var(--text--disable, #AFB6C0)}.label.sc-snk-entity-list{flex-shrink:1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:var(--snk-entity-list--label--color);font-size:var(--snk-entity-list--label--font-size);font-family:var(--snk-entity-list--label--font-family);cursor:default;padding-left:var(--space--small);padding-bottom:var(--space--extra-small)}.snk-entity-list--overflow.sc-snk-entity-list{overflow:auto}.snk-entity-list--overflow.sc-snk-entity-list::-webkit-scrollbar{width:var(--space--small);min-width:var(--space--small);max-width:var(--space--small)}";export{n as snk_entity_list}