@sankhyalabs/sankhyablocks 9.1.0-dev.2 → 9.1.0-dev.21

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 (480) hide show
  1. package/dist/cjs/{ClientSideExporterProvider-0ce2bcd9.js → ClientSideExporterProvider-994f6e26.js} +10 -6
  2. package/dist/cjs/{ConfigStorage-48ba265b.js → ConfigStorage-1931defc.js} +12 -2
  3. package/dist/cjs/{DataFetcher-1afdb18e.js → DataFetcher-ad9fb3bb.js} +2917 -210
  4. package/dist/cjs/{FormConfigHelper-c664dbae.js → FormConfigHelper-ebb77625.js} +4 -5
  5. package/dist/cjs/{ISave-c76e2c51.js → ISave-18ffb73e.js} +1 -1
  6. package/dist/cjs/{SnkFormConfigManager-aa4631bd.js → SnkFormConfigManager-65e5288e.js} +3 -3
  7. package/dist/cjs/{auth-fetcher-1687ac0a.js → auth-fetcher-afbe69ab.js} +1 -1
  8. package/dist/cjs/config-header.cjs.entry.js +2 -2
  9. package/dist/cjs/{dataunit-fetcher-a723f0dc.js → dataunit-fetcher-c7253b02.js} +25 -21
  10. package/dist/cjs/field-config_2.cjs.entry.js +10 -7
  11. package/dist/cjs/fields-layout.cjs.entry.js +20 -13
  12. package/dist/cjs/fields-selector.cjs.entry.js +12 -7
  13. package/dist/cjs/{form-config-fetcher-40d3f752.js → form-config-fetcher-f6e66d64.js} +1 -1
  14. package/dist/cjs/guides-configurator.cjs.entry.js +14 -3
  15. package/dist/cjs/loader.cjs.js +1 -1
  16. package/dist/cjs/pesquisa-grid_2.cjs.entry.js +12 -8
  17. package/dist/cjs/sankhyablocks.cjs.js +1 -1
  18. package/dist/cjs/snk-actions-button_8.cjs.entry.js +134 -225
  19. package/dist/cjs/snk-application.cjs.entry.js +282 -78
  20. package/dist/cjs/snk-attach.cjs.entry.js +46 -23
  21. package/dist/cjs/snk-configurator.cjs.entry.js +1 -1
  22. package/dist/cjs/snk-crud.cjs.entry.js +18 -13
  23. package/dist/cjs/snk-data-exporter.cjs.entry.js +5 -6
  24. package/dist/cjs/{snk-data-unit-3684c96e.js → snk-data-unit-448fce74.js} +14 -20
  25. package/dist/cjs/snk-data-unit.cjs.entry.js +3 -4
  26. package/dist/cjs/snk-detail-view.cjs.entry.js +21 -15
  27. package/dist/cjs/snk-entity-list.cjs.entry.js +20 -14
  28. package/dist/cjs/snk-expression-group_2.cjs.entry.js +21 -20
  29. package/dist/cjs/snk-filter-bar_4.cjs.entry.js +52 -120
  30. package/dist/cjs/snk-filter-detail.cjs.entry.js +3 -1
  31. package/dist/cjs/snk-filter-modal-item.cjs.entry.js +3 -3
  32. package/dist/cjs/snk-filter-number.cjs.entry.js +3 -1
  33. package/dist/cjs/snk-filter-period.cjs.entry.js +3 -1
  34. package/dist/cjs/snk-form_2.cjs.entry.js +9 -9
  35. package/dist/cjs/snk-grid.cjs.entry.js +8 -8
  36. package/dist/cjs/{snk-guides-viewer-edc0a00a.js → snk-guides-viewer-c23ed218.js} +9 -9
  37. package/dist/cjs/snk-guides-viewer.cjs.entry.js +7 -7
  38. package/dist/cjs/snk-personalized-filter-editor.cjs.entry.js +6 -4
  39. package/dist/cjs/snk-personalized-filter.cjs.entry.js +4 -4
  40. package/dist/cjs/snk-pesquisa.cjs.entry.js +26 -19
  41. package/dist/cjs/snk-simple-crud.cjs.entry.js +25 -23
  42. package/dist/collection/components/snk-actions-button/clientEvent/index.js +3 -2
  43. package/dist/collection/components/snk-application/errorhandler/snk-error-handler.js +12 -6
  44. package/dist/collection/components/snk-application/snk-application.js +1316 -330
  45. package/dist/collection/components/snk-attach/snk-attach.js +46 -12
  46. package/dist/collection/components/snk-attach/structure/builder/attach-crud-config.builder.js +7 -4
  47. package/dist/collection/components/snk-attach/structure/builder/taskbar-builder.js +7 -3
  48. package/dist/collection/components/snk-configurator/snk-configurator.js +1 -1
  49. package/dist/collection/components/snk-crud/snk-crud.js +31 -8
  50. package/dist/collection/components/snk-crud/subcomponents/GuideBuilder.js +11 -3
  51. package/dist/collection/components/snk-crud/subcomponents/snk-detail-view/snk-detail-view.js +4 -4
  52. package/dist/collection/components/snk-crud/subcomponents/snk-guides-viewer.js +5 -5
  53. package/dist/collection/components/snk-data-unit/MultipleUpdateHelper.js +4 -1
  54. package/dist/collection/components/snk-data-unit/snk-data-unit.js +0 -8
  55. package/dist/collection/components/snk-entity-list/snk-entity-list.js +40 -15
  56. package/dist/collection/components/snk-filter-bar/filter-item/editors/snk-filter-number.js +3 -1
  57. package/dist/collection/components/snk-filter-bar/filter-item/editors/snk-filter-period.js +3 -1
  58. package/dist/collection/components/snk-filter-bar/filter-item/editors/snk-personalized-filter-editor/snk-personalized-filter-editor.js +6 -4
  59. package/dist/collection/components/snk-filter-bar/filter-item/snk-filter-detail.js +3 -1
  60. package/dist/collection/components/snk-filter-bar/filter-item/snk-filter-item.css +4 -0
  61. package/dist/collection/components/snk-filter-bar/filter-item/snk-filter-item.js +49 -121
  62. package/dist/collection/components/snk-filter-bar/filter-list/snk-filter-list.js +1 -1
  63. package/dist/collection/components/snk-filter-bar/filter-modal/snk-filter-modal.js +1 -1
  64. package/dist/collection/components/snk-filter-bar/snk-filter-bar.css +1 -0
  65. package/dist/collection/components/snk-filter-bar/snk-filter-bar.js +5 -5
  66. package/dist/collection/components/snk-form-config/FormConfigHelper.js +4 -5
  67. package/dist/collection/components/snk-form-config/SnkFormConfigManager.js +1 -1
  68. package/dist/collection/components/snk-form-config/config-header/config-header.js +2 -2
  69. package/dist/collection/components/snk-form-config/field-item/field-config/field-config.js +2 -2
  70. package/dist/collection/components/snk-form-config/field-item/field-item.css +3 -23
  71. package/dist/collection/components/snk-form-config/field-item/field-item.js +6 -3
  72. package/dist/collection/components/snk-form-config/fields-layout/fields-layout.css +6 -14
  73. package/dist/collection/components/snk-form-config/fields-layout/fields-layout.js +20 -11
  74. package/dist/collection/components/snk-form-config/fields-selector/fields-selector.css +4 -0
  75. package/dist/collection/components/snk-form-config/fields-selector/fields-selector.js +30 -5
  76. package/dist/collection/components/snk-form-config/guides-configurator/guides-configurator.css +2 -2
  77. package/dist/collection/components/snk-form-config/guides-configurator/guides-configurator.js +15 -2
  78. package/dist/collection/components/snk-form-config/snk-form-config.js +3 -3
  79. package/dist/collection/components/snk-grid/snk-grid.js +16 -2
  80. package/dist/collection/components/snk-grid-config/snk-grid-config.css +7 -41
  81. package/dist/collection/components/snk-grid-config/snk-grid-config.js +116 -213
  82. package/dist/collection/components/snk-grid-config/snk-select-box/snk-select-box.css +1 -0
  83. package/dist/collection/components/snk-grid-config/snk-select-box/snk-select-box.js +20 -1
  84. package/dist/collection/components/snk-layout-form-config/snk-layout-form-config.js +30 -1
  85. package/dist/collection/components/snk-personalized-filter/snk-personalized-filter.js +1 -1
  86. package/dist/collection/components/snk-personalized-filter/subcomponents/snk-expression-group/snk-expression-group.js +3 -3
  87. package/dist/collection/components/snk-personalized-filter/subcomponents/snk-expression-item/filter-operands/filter-operands.js +12 -12
  88. package/dist/collection/components/snk-personalized-filter/subcomponents/snk-expression-item/snk-expression-item.js +6 -5
  89. package/dist/collection/components/snk-pesquisa/pesquisa-tree/pesquisa-tree.js +28 -4
  90. package/dist/collection/components/snk-pesquisa/snk-pesquisa.js +23 -16
  91. package/dist/collection/components/snk-simple-crud/snk-simple-crud.js +20 -18
  92. package/dist/collection/components/snk-simple-form-config/snk-simple-form-config.css +1 -0
  93. package/dist/collection/components/snk-simple-form-config/snk-simple-form-config.js +26 -1
  94. package/dist/collection/lib/configs/ConfigStorage.js +3 -0
  95. package/dist/collection/lib/http/data-fetcher/DataFetcher.js +25 -13
  96. package/dist/collection/lib/http/data-fetcher/fetchers/data-unit/helpers/DataUnitDataLoaderHelper.js +22 -20
  97. package/dist/collection/lib/http/data-fetcher/fetchers/data-unit/loadstrategy/DatasetStrategy.js +3 -0
  98. package/dist/collection/lib/http/data-fetcher/fetchers/grid-config-fetcher.js +9 -1
  99. package/dist/collection/lib/message/SnkMessageBuilder.js +34 -56
  100. package/dist/collection/lib/message/messageResourceEnUSUtils.js +76 -0
  101. package/dist/collection/lib/message/messageResourceEsESUtils.js +76 -0
  102. package/dist/collection/lib/message/messageResourcePtBRUtils.js +76 -0
  103. package/dist/collection/lib/message/resources/en-us/continuousInsertUtils.msg.js +6 -0
  104. package/dist/collection/lib/message/resources/en-us/crud-utils.msg.js +3 -0
  105. package/dist/collection/lib/message/resources/en-us/dataFetcher.msg.js +12 -0
  106. package/dist/collection/lib/message/resources/en-us/dataUnitDataLoaderHelper.msg.js +18 -0
  107. package/dist/collection/lib/message/resources/en-us/file-viewer.msg.js +9 -0
  108. package/dist/collection/lib/message/resources/en-us/snk-actions-button.msg.js +29 -0
  109. package/dist/collection/lib/message/resources/en-us/snk-application.msg.js +27 -0
  110. package/dist/collection/lib/message/resources/en-us/snk-attach.msg.js +42 -0
  111. package/dist/collection/lib/message/resources/en-us/snk-configurator.msg.js +13 -0
  112. package/dist/collection/lib/message/resources/en-us/snk-crud.msg.js +35 -0
  113. package/dist/collection/lib/message/resources/en-us/snk-data-exporter.msg.js +35 -0
  114. package/dist/collection/lib/message/resources/en-us/snk-data-unit.msg.js +40 -0
  115. package/dist/collection/lib/message/resources/en-us/snk-entity-list.msg.js +3 -0
  116. package/dist/collection/lib/message/resources/en-us/snk-error-handler.msg.js +17 -0
  117. package/dist/collection/lib/message/resources/en-us/snk-exporter.msg.js +20 -0
  118. package/dist/collection/lib/message/resources/en-us/snk-filter-bar.msg.js +71 -0
  119. package/dist/collection/lib/message/resources/en-us/snk-filter-field-search.msg.js +7 -0
  120. package/dist/collection/lib/message/resources/en-us/snk-filter-list.msg.js +3 -0
  121. package/dist/collection/lib/message/resources/en-us/snk-filter-param-config.msg.js +18 -0
  122. package/dist/collection/lib/message/resources/en-us/snk-form.msg.js +118 -0
  123. package/dist/collection/lib/message/resources/en-us/snk-grid.msg.js +41 -0
  124. package/dist/collection/lib/message/resources/en-us/snk-layout-form-config.msg.js +10 -0
  125. package/dist/collection/lib/message/resources/en-us/snk-personalized-filter.msg.js +105 -0
  126. package/dist/collection/lib/message/resources/en-us/snk-pesquisa.msg.js +25 -0
  127. package/dist/collection/lib/message/resources/en-us/snk-print-selector.msg.js +23 -0
  128. package/dist/collection/lib/message/resources/en-us/snk-simple-bar.msg.js +3 -0
  129. package/dist/collection/lib/message/resources/en-us/snk-simple-crud.msg.js +14 -0
  130. package/dist/collection/lib/message/resources/en-us/snk-simple-form-config.msg.js +16 -0
  131. package/dist/collection/lib/message/resources/en-us/snk-taskbar.msg.js +18 -0
  132. package/dist/collection/lib/message/resources/es-es/continuousInsertUtils.msg.js +6 -0
  133. package/dist/collection/lib/message/resources/es-es/crud-utils.msg.js +3 -0
  134. package/dist/collection/lib/message/resources/es-es/dataFetcher.msg.js +12 -0
  135. package/dist/collection/lib/message/resources/es-es/dataUnitDataLoaderHelper.msg.js +18 -0
  136. package/dist/collection/lib/message/resources/es-es/file-viewer.msg.js +9 -0
  137. package/dist/collection/lib/message/resources/es-es/snk-actions-button.msg.js +29 -0
  138. package/dist/collection/lib/message/resources/es-es/snk-application.msg.js +27 -0
  139. package/dist/collection/lib/message/resources/es-es/snk-attach.msg.js +42 -0
  140. package/dist/collection/lib/message/resources/es-es/snk-configurator.msg.js +13 -0
  141. package/dist/collection/lib/message/resources/es-es/snk-crud.msg.js +35 -0
  142. package/dist/collection/lib/message/resources/es-es/snk-data-exporter.msg.js +35 -0
  143. package/dist/collection/lib/message/resources/es-es/snk-data-unit.msg.js +40 -0
  144. package/dist/collection/lib/message/resources/es-es/snk-entity-list.msg.js +3 -0
  145. package/dist/collection/lib/message/resources/es-es/snk-error-handler.msg.js +17 -0
  146. package/dist/collection/lib/message/resources/es-es/snk-exporter.msg.js +20 -0
  147. package/dist/collection/lib/message/resources/es-es/snk-filter-bar.msg.js +71 -0
  148. package/dist/collection/lib/message/resources/es-es/snk-filter-field-search.msg.js +7 -0
  149. package/dist/collection/lib/message/resources/es-es/snk-filter-list.msg.js +3 -0
  150. package/dist/collection/lib/message/resources/es-es/snk-filter-param-config.msg.js +18 -0
  151. package/dist/collection/lib/message/resources/es-es/snk-form.msg.js +118 -0
  152. package/dist/collection/lib/message/resources/es-es/snk-grid.msg.js +41 -0
  153. package/dist/collection/lib/message/resources/es-es/snk-layout-form-config.msg.js +10 -0
  154. package/dist/collection/lib/message/resources/es-es/snk-personalized-filter.msg.js +105 -0
  155. package/dist/collection/lib/message/resources/es-es/snk-pesquisa.msg.js +25 -0
  156. package/dist/collection/lib/message/resources/es-es/snk-print-selector.msg.js +23 -0
  157. package/dist/collection/lib/message/resources/es-es/snk-simple-bar.msg.js +3 -0
  158. package/dist/collection/lib/message/resources/es-es/snk-simple-crud.msg.js +14 -0
  159. package/dist/collection/lib/message/resources/es-es/snk-simple-form-config.msg.js +16 -0
  160. package/dist/collection/lib/message/resources/es-es/snk-taskbar.msg.js +18 -0
  161. package/dist/collection/lib/message/resources/pt-br/continuousInsertUtils.msg.js +6 -0
  162. package/dist/collection/lib/message/resources/{crud-utils.msg.js → pt-br/crud-utils.msg.js} +1 -2
  163. package/dist/collection/lib/message/resources/pt-br/dataFetcher.msg.js +12 -0
  164. package/dist/collection/lib/message/resources/pt-br/dataUnitDataLoaderHelper.msg.js +18 -0
  165. package/dist/collection/lib/message/resources/{file-viewer.msg.js → pt-br/file-viewer.msg.js} +1 -2
  166. package/dist/collection/lib/message/resources/{snk-actions-button.msg.js → pt-br/snk-actions-button.msg.js} +3 -1
  167. package/dist/collection/lib/message/resources/pt-br/snk-application.msg.js +27 -0
  168. package/dist/collection/lib/message/resources/{snk-attach.msg.js → pt-br/snk-attach.msg.js} +3 -1
  169. package/dist/collection/lib/message/resources/{snk-configurator.msg.js → pt-br/snk-configurator.msg.js} +6 -1
  170. package/dist/collection/lib/message/resources/pt-br/snk-crud.msg.js +35 -0
  171. package/dist/collection/lib/message/resources/{snk-data-unit.msg.js → pt-br/snk-data-unit.msg.js} +5 -2
  172. package/dist/collection/lib/message/resources/pt-br/snk-error-handler.msg.js +17 -0
  173. package/dist/collection/lib/message/resources/{snk-exporter.msg.js → pt-br/snk-exporter.msg.js} +1 -2
  174. package/dist/collection/lib/message/resources/pt-br/snk-filter-bar.msg.js +71 -0
  175. package/dist/collection/lib/message/resources/pt-br/snk-filter-list.msg.js +3 -0
  176. package/dist/collection/lib/message/resources/{snk-form.msg.js → pt-br/snk-form.msg.js} +45 -3
  177. package/dist/collection/lib/message/resources/pt-br/snk-grid.msg.js +41 -0
  178. package/dist/collection/lib/message/resources/pt-br/snk-layout-form-config.msg.js +10 -0
  179. package/dist/collection/lib/message/resources/{snk-personalized-filter.msg.js → pt-br/snk-personalized-filter.msg.js} +17 -0
  180. package/dist/collection/lib/message/resources/pt-br/snk-pesquisa.msg.js +24 -0
  181. package/dist/collection/lib/message/resources/{snk-simple-crud.msg.js → pt-br/snk-simple-crud.msg.js} +6 -1
  182. package/dist/collection/lib/message/resources/pt-br/snk-simple-form-config.msg.js +16 -0
  183. package/dist/collection/lib/message/resources/{snk-taskbar.msg.js → pt-br/snk-taskbar.msg.js} +1 -2
  184. package/dist/collection/lib/utils/ContinuousInsertUtils.js +6 -2
  185. package/dist/components/ConfigStorage.js +11 -1
  186. package/dist/components/ContinuousInsertUtils.js +6 -2
  187. package/dist/components/DataFetcher.js +2701 -15
  188. package/dist/components/SnkFormConfigManager.js +1 -1
  189. package/dist/components/config-header2.js +2 -2
  190. package/dist/components/dataunit-fetcher.js +25 -21
  191. package/dist/components/field-config2.js +6 -7
  192. package/dist/components/field-item2.js +7 -4
  193. package/dist/components/fields-layout2.js +19 -12
  194. package/dist/components/fields-selector2.js +12 -6
  195. package/dist/components/guides-configurator2.js +14 -3
  196. package/dist/components/pesquisa-tree2.js +9 -4
  197. package/dist/components/snk-actions-button2.js +3 -2
  198. package/dist/components/snk-application2.js +277 -72
  199. package/dist/components/snk-attach2.js +43 -19
  200. package/dist/components/snk-configurator2.js +1 -1
  201. package/dist/components/snk-crud.js +13 -8
  202. package/dist/components/snk-data-unit2.js +5 -11
  203. package/dist/components/snk-detail-view2.js +19 -13
  204. package/dist/components/snk-entity-list.js +21 -15
  205. package/dist/components/snk-expression-group2.js +3 -3
  206. package/dist/components/snk-expression-item2.js +18 -17
  207. package/dist/components/snk-filter-bar2.js +6 -6
  208. package/dist/components/snk-filter-detail2.js +3 -1
  209. package/dist/components/snk-filter-item2.js +43 -111
  210. package/dist/components/snk-filter-list.js +1 -1
  211. package/dist/components/snk-filter-modal.js +1 -1
  212. package/dist/components/snk-filter-number.js +3 -1
  213. package/dist/components/snk-filter-period.js +3 -1
  214. package/dist/components/snk-form-config2.js +3 -3
  215. package/dist/components/snk-grid-config2.js +113 -214
  216. package/dist/components/snk-grid2.js +2 -2
  217. package/dist/components/snk-layout-form-config2.js +7 -1
  218. package/dist/components/snk-personalized-filter-editor.js +6 -4
  219. package/dist/components/snk-personalized-filter2.js +1 -1
  220. package/dist/components/snk-pesquisa2.js +23 -16
  221. package/dist/components/snk-select-box2.js +5 -3
  222. package/dist/components/snk-simple-crud2.js +19 -17
  223. package/dist/components/snk-simple-form-config2.js +8 -2
  224. package/dist/esm/{ClientSideExporterProvider-3ed744fd.js → ClientSideExporterProvider-7c2781f4.js} +10 -6
  225. package/dist/esm/{ConfigStorage-79b9e180.js → ConfigStorage-b5a1dba3.js} +12 -2
  226. package/dist/esm/{DataFetcher-88e56266.js → DataFetcher-6f6de657.js} +2701 -15
  227. package/dist/esm/{FormConfigHelper-49fe72ca.js → FormConfigHelper-4e42f0b6.js} +4 -5
  228. package/dist/esm/{ISave-5efafc97.js → ISave-7ecdca20.js} +1 -1
  229. package/dist/esm/{SnkFormConfigManager-b4b93298.js → SnkFormConfigManager-34fc1dc7.js} +3 -3
  230. package/dist/esm/{auth-fetcher-3510520e.js → auth-fetcher-7332a9a9.js} +1 -1
  231. package/dist/esm/config-header.entry.js +2 -2
  232. package/dist/esm/{dataunit-fetcher-0e025732.js → dataunit-fetcher-f21cbad0.js} +25 -21
  233. package/dist/esm/field-config_2.entry.js +10 -7
  234. package/dist/esm/fields-layout.entry.js +20 -13
  235. package/dist/esm/fields-selector.entry.js +12 -7
  236. package/dist/esm/{form-config-fetcher-fa208a6c.js → form-config-fetcher-6ab4e805.js} +1 -1
  237. package/dist/esm/guides-configurator.entry.js +14 -3
  238. package/dist/esm/loader.js +1 -1
  239. package/dist/esm/pesquisa-grid_2.entry.js +12 -8
  240. package/dist/esm/sankhyablocks.js +1 -1
  241. package/dist/esm/snk-actions-button_8.entry.js +134 -225
  242. package/dist/esm/snk-application.entry.js +281 -77
  243. package/dist/esm/snk-attach.entry.js +46 -23
  244. package/dist/esm/snk-configurator.entry.js +1 -1
  245. package/dist/esm/snk-crud.entry.js +18 -13
  246. package/dist/esm/snk-data-exporter.entry.js +5 -6
  247. package/dist/esm/{snk-data-unit-027bca56.js → snk-data-unit-b7e6e7a6.js} +6 -12
  248. package/dist/esm/snk-data-unit.entry.js +3 -4
  249. package/dist/esm/snk-detail-view.entry.js +21 -15
  250. package/dist/esm/snk-entity-list.entry.js +20 -14
  251. package/dist/esm/snk-expression-group_2.entry.js +21 -20
  252. package/dist/esm/snk-filter-bar_4.entry.js +53 -121
  253. package/dist/esm/snk-filter-detail.entry.js +3 -1
  254. package/dist/esm/snk-filter-modal-item.entry.js +3 -3
  255. package/dist/esm/snk-filter-number.entry.js +3 -1
  256. package/dist/esm/snk-filter-period.entry.js +3 -1
  257. package/dist/esm/snk-form_2.entry.js +9 -9
  258. package/dist/esm/snk-grid.entry.js +8 -8
  259. package/dist/esm/{snk-guides-viewer-32f3d3ab.js → snk-guides-viewer-fbfece85.js} +10 -10
  260. package/dist/esm/snk-guides-viewer.entry.js +7 -7
  261. package/dist/esm/snk-personalized-filter-editor.entry.js +6 -4
  262. package/dist/esm/snk-personalized-filter.entry.js +4 -4
  263. package/dist/esm/snk-pesquisa.entry.js +27 -20
  264. package/dist/esm/snk-simple-crud.entry.js +26 -24
  265. package/dist/sankhyablocks/p-012208e0.entry.js +1 -0
  266. package/dist/sankhyablocks/p-07b14811.entry.js +1 -0
  267. package/dist/sankhyablocks/p-0dac8fef.js +1 -0
  268. package/dist/sankhyablocks/p-0e495575.js +1 -0
  269. package/dist/sankhyablocks/p-11346b8d.entry.js +1 -0
  270. package/dist/sankhyablocks/{p-a6513fcb.js → p-1210500e.js} +1 -1
  271. package/dist/sankhyablocks/p-158adf33.entry.js +1 -0
  272. package/dist/sankhyablocks/p-162bddae.entry.js +1 -0
  273. package/dist/sankhyablocks/{p-763b04fa.js → p-16fc4acd.js} +1 -1
  274. package/dist/sankhyablocks/p-25209340.entry.js +1 -0
  275. package/dist/sankhyablocks/p-295b83ae.entry.js +1 -0
  276. package/dist/sankhyablocks/p-3dba3468.js +56 -0
  277. package/dist/sankhyablocks/p-4872dc3a.entry.js +1 -0
  278. package/dist/sankhyablocks/{p-c926cf6b.entry.js → p-4e63ffed.entry.js} +1 -1
  279. package/dist/sankhyablocks/p-5bab470d.entry.js +1 -0
  280. package/dist/sankhyablocks/p-5c7af8a9.entry.js +1 -0
  281. package/dist/sankhyablocks/p-5e282b33.entry.js +1 -0
  282. package/dist/sankhyablocks/p-6703336d.entry.js +1 -0
  283. package/dist/sankhyablocks/p-6a015ba2.js +1 -0
  284. package/dist/sankhyablocks/p-735a1175.entry.js +1 -0
  285. package/dist/sankhyablocks/p-75af335e.entry.js +1 -0
  286. package/dist/sankhyablocks/p-7b3ca294.entry.js +1 -0
  287. package/dist/sankhyablocks/p-81769310.entry.js +11 -0
  288. package/dist/sankhyablocks/p-8d1508aa.entry.js +1 -0
  289. package/dist/sankhyablocks/p-8f73da95.js +1 -0
  290. package/dist/sankhyablocks/p-a5108625.entry.js +1 -0
  291. package/dist/sankhyablocks/p-a86eee47.entry.js +1 -0
  292. package/dist/sankhyablocks/p-ad2ae575.entry.js +1 -0
  293. package/dist/sankhyablocks/p-b35574b5.js +60 -0
  294. package/dist/sankhyablocks/p-b49281be.entry.js +1 -0
  295. package/dist/sankhyablocks/{p-6dd38d7b.js → p-ba4979b4.js} +1 -1
  296. package/dist/sankhyablocks/{p-601b252b.js → p-c6331595.js} +1 -1
  297. package/dist/sankhyablocks/{p-73285a8a.js → p-c9e6d720.js} +1 -1
  298. package/dist/sankhyablocks/p-d377aa7a.entry.js +1 -0
  299. package/dist/sankhyablocks/p-eacff4b7.entry.js +1 -0
  300. package/dist/sankhyablocks/p-eb0616d3.entry.js +1 -0
  301. package/dist/sankhyablocks/p-f39b0ebe.entry.js +1 -0
  302. package/dist/sankhyablocks/p-f8f29e1a.entry.js +1 -0
  303. package/dist/sankhyablocks/p-fa18530e.entry.js +1 -0
  304. package/dist/sankhyablocks/sankhyablocks.esm.js +1 -1
  305. package/dist/types/components/snk-application/errorhandler/snk-error-handler.d.ts +1 -0
  306. package/dist/types/components/snk-application/search-strategy/exec-prepared-search-plus.d.ts +1 -1
  307. package/dist/types/components/snk-attach/interfaces/ICrudConfig.d.ts +1 -1
  308. package/dist/types/components/snk-attach/snk-attach.d.ts +5 -0
  309. package/dist/types/components/snk-attach/structure/builder/attach-crud-config.builder.d.ts +1 -1
  310. package/dist/types/components/snk-crud/snk-crud.d.ts +2 -0
  311. package/dist/types/components/snk-crud/subcomponents/GuideBuilder.d.ts +4 -1
  312. package/dist/types/components/snk-data-unit/snk-data-unit.d.ts +0 -6
  313. package/dist/types/components/snk-entity-list/snk-entity-list.d.ts +8 -4
  314. package/dist/types/components/snk-filter-bar/filter-item/editors/snk-filter-number.d.ts +1 -0
  315. package/dist/types/components/snk-filter-bar/filter-item/editors/snk-filter-period.d.ts +1 -0
  316. package/dist/types/components/snk-filter-bar/filter-item/snk-filter-detail.d.ts +1 -0
  317. package/dist/types/components/snk-filter-bar/filter-item/snk-filter-item.d.ts +10 -20
  318. package/dist/types/components/snk-form-config/FormConfigHelper.d.ts +1 -1
  319. package/dist/types/components/snk-form-config/fields-layout/fields-layout.d.ts +3 -1
  320. package/dist/types/components/snk-form-config/fields-selector/fields-selector.d.ts +3 -0
  321. package/dist/types/components/snk-form-config/guides-configurator/guides-configurator.d.ts +2 -0
  322. package/dist/types/components/snk-grid/snk-grid.d.ts +4 -0
  323. package/dist/types/components/snk-grid-config/snk-grid-config.d.ts +14 -20
  324. package/dist/types/components/snk-grid-config/snk-select-box/snk-select-box.d.ts +4 -0
  325. package/dist/types/components/snk-layout-form-config/snk-layout-form-config.d.ts +3 -0
  326. package/dist/types/components/snk-personalized-filter/subcomponents/snk-expression-item/snk-expression-item.d.ts +1 -0
  327. package/dist/types/components/snk-pesquisa/pesquisa-tree/pesquisa-tree.d.ts +6 -0
  328. package/dist/types/components/snk-pesquisa/snk-pesquisa.d.ts +3 -0
  329. package/dist/types/components/snk-simple-crud/snk-simple-crud.d.ts +2 -1
  330. package/dist/types/components/snk-simple-form-config/snk-simple-form-config.d.ts +6 -0
  331. package/dist/types/components.d.ts +290 -47
  332. package/dist/types/lib/configs/ConfigStorage.d.ts +1 -0
  333. package/dist/types/lib/http/data-fetcher/DataFetcher.d.ts +3 -0
  334. package/dist/types/lib/http/data-fetcher/fetchers/grid-config-fetcher.d.ts +3 -2
  335. package/dist/types/lib/message/SnkMessageBuilder.d.ts +11 -1
  336. package/dist/types/lib/message/resources/en-us/continuousInsertUtils.msg.d.ts +1 -0
  337. package/dist/types/lib/message/resources/en-us/crud-utils.msg.d.ts +1 -0
  338. package/dist/types/lib/message/resources/en-us/dataFetcher.msg.d.ts +1 -0
  339. package/dist/types/lib/message/resources/en-us/dataUnitDataLoaderHelper.msg.d.ts +1 -0
  340. package/dist/types/lib/message/resources/en-us/file-viewer.msg.d.ts +1 -0
  341. package/dist/types/lib/message/resources/en-us/snk-application.msg.d.ts +1 -0
  342. package/dist/types/lib/message/resources/{snk-attach.msg.d.ts → en-us/snk-attach.msg.d.ts} +0 -1
  343. package/dist/types/lib/message/resources/{snk-crud.msg.d.ts → en-us/snk-crud.msg.d.ts} +0 -1
  344. package/dist/types/lib/message/resources/en-us/snk-data-unit.msg.d.ts +1 -0
  345. package/dist/types/lib/message/resources/en-us/snk-error-handler.msg.d.ts +1 -0
  346. package/dist/types/lib/message/resources/en-us/snk-exporter.msg.d.ts +1 -0
  347. package/dist/types/lib/message/resources/en-us/snk-filter-bar.msg.d.ts +1 -0
  348. package/dist/types/lib/message/resources/en-us/snk-filter-list.msg.d.ts +1 -0
  349. package/dist/types/lib/message/resources/en-us/snk-layout-form-config.msg.d.ts +1 -0
  350. package/dist/types/lib/message/resources/en-us/snk-pesquisa.msg.d.ts +1 -0
  351. package/dist/types/lib/message/resources/{snk-simple-crud.msg.d.ts → en-us/snk-simple-crud.msg.d.ts} +0 -1
  352. package/dist/types/lib/message/resources/en-us/snk-simple-form-config.msg.d.ts +1 -0
  353. package/dist/types/lib/message/resources/en-us/snk-taskbar.msg.d.ts +1 -0
  354. package/dist/types/lib/message/resources/es-es/continuousInsertUtils.msg.d.ts +1 -0
  355. package/dist/types/lib/message/resources/es-es/crud-utils.msg.d.ts +1 -0
  356. package/dist/types/lib/message/resources/es-es/dataFetcher.msg.d.ts +1 -0
  357. package/dist/types/lib/message/resources/es-es/dataUnitDataLoaderHelper.msg.d.ts +1 -0
  358. package/dist/types/lib/message/resources/es-es/file-viewer.msg.d.ts +1 -0
  359. package/dist/types/lib/message/resources/es-es/snk-actions-button.msg.d.ts +1 -0
  360. package/dist/types/lib/message/resources/es-es/snk-application.msg.d.ts +1 -0
  361. package/dist/types/lib/message/resources/{snk-application.msg.d.ts → es-es/snk-attach.msg.d.ts} +0 -1
  362. package/dist/types/lib/message/resources/es-es/snk-configurator.msg.d.ts +1 -0
  363. package/dist/types/lib/message/resources/es-es/snk-crud.msg.d.ts +1 -0
  364. package/dist/types/lib/message/resources/es-es/snk-data-exporter.msg.d.ts +1 -0
  365. package/dist/types/lib/message/resources/es-es/snk-data-unit.msg.d.ts +1 -0
  366. package/dist/types/lib/message/resources/es-es/snk-entity-list.msg.d.ts +1 -0
  367. package/dist/types/lib/message/resources/es-es/snk-error-handler.msg.d.ts +1 -0
  368. package/dist/types/lib/message/resources/es-es/snk-exporter.msg.d.ts +1 -0
  369. package/dist/types/lib/message/resources/es-es/snk-filter-bar.msg.d.ts +1 -0
  370. package/dist/types/lib/message/resources/es-es/snk-filter-field-search.msg.d.ts +1 -0
  371. package/dist/types/lib/message/resources/es-es/snk-filter-list.msg.d.ts +1 -0
  372. package/dist/types/lib/message/resources/es-es/snk-filter-param-config.msg.d.ts +1 -0
  373. package/dist/types/lib/message/resources/es-es/snk-form.msg.d.ts +4 -0
  374. package/dist/types/lib/message/resources/es-es/snk-grid.msg.d.ts +2 -0
  375. package/dist/types/lib/message/resources/es-es/snk-layout-form-config.msg.d.ts +1 -0
  376. package/dist/types/lib/message/resources/es-es/snk-personalized-filter.msg.d.ts +1 -0
  377. package/dist/types/lib/message/resources/es-es/snk-pesquisa.msg.d.ts +1 -0
  378. package/dist/types/lib/message/resources/es-es/snk-print-selector.msg.d.ts +1 -0
  379. package/dist/types/lib/message/resources/es-es/snk-simple-bar.msg.d.ts +1 -0
  380. package/dist/types/lib/message/resources/es-es/snk-simple-crud.msg.d.ts +1 -0
  381. package/dist/types/lib/message/resources/es-es/snk-simple-form-config.msg.d.ts +1 -0
  382. package/dist/types/lib/message/resources/es-es/snk-taskbar.msg.d.ts +1 -0
  383. package/dist/types/lib/message/resources/pt-br/continuousInsertUtils.msg.d.ts +1 -0
  384. package/dist/types/lib/message/resources/pt-br/crud-utils.msg.d.ts +1 -0
  385. package/dist/types/lib/message/resources/pt-br/dataFetcher.msg.d.ts +1 -0
  386. package/dist/types/lib/message/resources/pt-br/dataUnitDataLoaderHelper.msg.d.ts +1 -0
  387. package/dist/types/lib/message/resources/pt-br/file-viewer.msg.d.ts +1 -0
  388. package/dist/types/lib/message/resources/pt-br/snk-actions-button.msg.d.ts +1 -0
  389. package/dist/types/lib/message/resources/pt-br/snk-application.msg.d.ts +1 -0
  390. package/dist/types/lib/message/resources/pt-br/snk-attach.msg.d.ts +1 -0
  391. package/dist/types/lib/message/resources/pt-br/snk-configurator.msg.d.ts +1 -0
  392. package/dist/types/lib/message/resources/pt-br/snk-crud.msg.d.ts +1 -0
  393. package/dist/types/lib/message/resources/pt-br/snk-data-exporter.msg.d.ts +1 -0
  394. package/dist/types/lib/message/resources/pt-br/snk-data-unit.msg.d.ts +1 -0
  395. package/dist/types/lib/message/resources/pt-br/snk-entity-list.msg.d.ts +1 -0
  396. package/dist/types/lib/message/resources/pt-br/snk-error-handler.msg.d.ts +1 -0
  397. package/dist/types/lib/message/resources/pt-br/snk-exporter.msg.d.ts +1 -0
  398. package/dist/types/lib/message/resources/pt-br/snk-filter-bar.msg.d.ts +1 -0
  399. package/dist/types/lib/message/resources/pt-br/snk-filter-field-search.msg.d.ts +1 -0
  400. package/dist/types/lib/message/resources/pt-br/snk-filter-list.msg.d.ts +1 -0
  401. package/dist/types/lib/message/resources/pt-br/snk-filter-param-config.msg.d.ts +1 -0
  402. package/dist/types/lib/message/resources/pt-br/snk-form.msg.d.ts +4 -0
  403. package/dist/types/lib/message/resources/pt-br/snk-grid.msg.d.ts +2 -0
  404. package/dist/types/lib/message/resources/pt-br/snk-layout-form-config.msg.d.ts +1 -0
  405. package/dist/types/lib/message/resources/pt-br/snk-personalized-filter.msg.d.ts +1 -0
  406. package/dist/types/lib/message/resources/pt-br/snk-pesquisa.msg.d.ts +1 -0
  407. package/dist/types/lib/message/resources/pt-br/snk-print-selector.msg.d.ts +1 -0
  408. package/dist/types/lib/message/resources/pt-br/snk-simple-bar.msg.d.ts +1 -0
  409. package/dist/types/lib/message/resources/pt-br/snk-simple-crud.msg.d.ts +1 -0
  410. package/dist/types/lib/message/resources/pt-br/snk-simple-form-config.msg.d.ts +1 -0
  411. package/dist/types/lib/message/resources/pt-br/snk-taskbar.msg.d.ts +1 -0
  412. package/dist/types/lib/utils/ContinuousInsertUtils.d.ts +1 -0
  413. package/package.json +1 -1
  414. package/dist/cjs/SnkMessageBuilder-e3b7850b.js +0 -723
  415. package/dist/collection/lib/message/resources/snk-application.msg.js +0 -9
  416. package/dist/collection/lib/message/resources/snk-crud.msg.js +0 -11
  417. package/dist/collection/lib/message/resources/snk-filter-bar.msg.js +0 -65
  418. package/dist/collection/lib/message/resources/snk-grid.msg.js +0 -32
  419. package/dist/components/SnkMessageBuilder.js +0 -701
  420. package/dist/esm/SnkMessageBuilder-9c269caf.js +0 -701
  421. package/dist/sankhyablocks/p-09e60995.entry.js +0 -11
  422. package/dist/sankhyablocks/p-0cb295c1.entry.js +0 -1
  423. package/dist/sankhyablocks/p-1456d7cb.entry.js +0 -1
  424. package/dist/sankhyablocks/p-2bde486e.js +0 -1
  425. package/dist/sankhyablocks/p-349d1968.entry.js +0 -1
  426. package/dist/sankhyablocks/p-35e73c5d.js +0 -1
  427. package/dist/sankhyablocks/p-3a48bff3.entry.js +0 -1
  428. package/dist/sankhyablocks/p-3f24c9b2.js +0 -1
  429. package/dist/sankhyablocks/p-49d968e2.entry.js +0 -1
  430. package/dist/sankhyablocks/p-4d2ff2fb.entry.js +0 -1
  431. package/dist/sankhyablocks/p-6416975c.js +0 -56
  432. package/dist/sankhyablocks/p-65c5d430.entry.js +0 -1
  433. package/dist/sankhyablocks/p-67d6d0c8.entry.js +0 -1
  434. package/dist/sankhyablocks/p-71a05822.entry.js +0 -1
  435. package/dist/sankhyablocks/p-7993b2e3.js +0 -60
  436. package/dist/sankhyablocks/p-83c100f2.entry.js +0 -1
  437. package/dist/sankhyablocks/p-86bd4478.entry.js +0 -1
  438. package/dist/sankhyablocks/p-90805683.entry.js +0 -1
  439. package/dist/sankhyablocks/p-9751c42f.entry.js +0 -1
  440. package/dist/sankhyablocks/p-9ad3557c.entry.js +0 -1
  441. package/dist/sankhyablocks/p-a06bf7b9.entry.js +0 -1
  442. package/dist/sankhyablocks/p-a5bb2f93.entry.js +0 -1
  443. package/dist/sankhyablocks/p-afffa6cb.entry.js +0 -1
  444. package/dist/sankhyablocks/p-b8b4c6b2.entry.js +0 -1
  445. package/dist/sankhyablocks/p-bd665460.entry.js +0 -1
  446. package/dist/sankhyablocks/p-c3324d79.entry.js +0 -1
  447. package/dist/sankhyablocks/p-cfd0a4c6.entry.js +0 -1
  448. package/dist/sankhyablocks/p-d67526b6.entry.js +0 -1
  449. package/dist/sankhyablocks/p-d9491f6f.entry.js +0 -1
  450. package/dist/sankhyablocks/p-e3521eae.entry.js +0 -1
  451. package/dist/sankhyablocks/p-e7cccc45.entry.js +0 -1
  452. package/dist/sankhyablocks/p-e824d565.entry.js +0 -1
  453. package/dist/sankhyablocks/p-fbba7e3d.js +0 -1
  454. package/dist/sankhyablocks/p-fc0b609e.js +0 -1
  455. package/dist/types/components/snk-application/snk-application.d.ts +0 -408
  456. package/dist/types/lib/message/resources/crud-utils.msg.d.ts +0 -2
  457. package/dist/types/lib/message/resources/file-viewer.msg.d.ts +0 -2
  458. package/dist/types/lib/message/resources/snk-data-unit.msg.d.ts +0 -2
  459. package/dist/types/lib/message/resources/snk-exporter.msg.d.ts +0 -2
  460. package/dist/types/lib/message/resources/snk-filter-bar.msg.d.ts +0 -2
  461. package/dist/types/lib/message/resources/snk-taskbar.msg.d.ts +0 -2
  462. /package/dist/collection/components/snk-simple-crud/{regular-buttons.js → snk-simple-crud.constants.js} +0 -0
  463. /package/dist/collection/lib/message/resources/{snk-data-exporter.msg.js → pt-br/snk-data-exporter.msg.js} +0 -0
  464. /package/dist/collection/lib/message/resources/{snk-entity-list.msg.js → pt-br/snk-entity-list.msg.js} +0 -0
  465. /package/dist/collection/lib/message/resources/{snk-filter-field-search.msg.js → pt-br/snk-filter-field-search.msg.js} +0 -0
  466. /package/dist/collection/lib/message/resources/{snk-filter-param-config.msg.js → pt-br/snk-filter-param-config.msg.js} +0 -0
  467. /package/dist/collection/lib/message/resources/{snk-print-selector.msg.js → pt-br/snk-print-selector.msg.js} +0 -0
  468. /package/dist/collection/lib/message/resources/{snk-simple-bar.msg.js → pt-br/snk-simple-bar.msg.js} +0 -0
  469. /package/dist/types/components/snk-simple-crud/{regular-buttons.d.ts → snk-simple-crud.constants.d.ts} +0 -0
  470. /package/dist/types/lib/message/resources/{snk-actions-button.msg.d.ts → en-us/snk-actions-button.msg.d.ts} +0 -0
  471. /package/dist/types/lib/message/resources/{snk-configurator.msg.d.ts → en-us/snk-configurator.msg.d.ts} +0 -0
  472. /package/dist/types/lib/message/resources/{snk-data-exporter.msg.d.ts → en-us/snk-data-exporter.msg.d.ts} +0 -0
  473. /package/dist/types/lib/message/resources/{snk-entity-list.msg.d.ts → en-us/snk-entity-list.msg.d.ts} +0 -0
  474. /package/dist/types/lib/message/resources/{snk-filter-field-search.msg.d.ts → en-us/snk-filter-field-search.msg.d.ts} +0 -0
  475. /package/dist/types/lib/message/resources/{snk-filter-param-config.msg.d.ts → en-us/snk-filter-param-config.msg.d.ts} +0 -0
  476. /package/dist/types/lib/message/resources/{snk-form.msg.d.ts → en-us/snk-form.msg.d.ts} +0 -0
  477. /package/dist/types/lib/message/resources/{snk-grid.msg.d.ts → en-us/snk-grid.msg.d.ts} +0 -0
  478. /package/dist/types/lib/message/resources/{snk-personalized-filter.msg.d.ts → en-us/snk-personalized-filter.msg.d.ts} +0 -0
  479. /package/dist/types/lib/message/resources/{snk-print-selector.msg.d.ts → en-us/snk-print-selector.msg.d.ts} +0 -0
  480. /package/dist/types/lib/message/resources/{snk-simple-bar.msg.d.ts → en-us/snk-simple-bar.msg.d.ts} +0 -0
@@ -253,7 +253,7 @@ class SnkFilterModalFactory {
253
253
  }
254
254
  }
255
255
 
256
- const snkFilterBarCss = ".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}.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%}";
256
+ const snkFilterBarCss = ".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%}";
257
257
 
258
258
  const SnkFilterBar = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
259
259
  constructor() {
@@ -366,7 +366,7 @@ const SnkFilterBar = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement
366
366
  async updateFilterItem(newFilterItem) {
367
367
  const itemIndex = this.filterConfig.findIndex(item => item.id === newFilterItem.id);
368
368
  if (itemIndex == -1) {
369
- console.warn("[SnkFilterBar.updateFilterItem] FilterItem não encontrado, o mesmo não será atualizado.");
369
+ console.warn("[SnkFilterBar.updateFilterItem] " + this.getMessage("snkFilterBar.filterItem.updateFilterItemNotFound"));
370
370
  return Promise.resolve();
371
371
  }
372
372
  this._loadingPending = true;
@@ -381,7 +381,7 @@ const SnkFilterBar = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement
381
381
  async addFilterItem(filterItem) {
382
382
  const itemIndex = this.filterConfig.findIndex(item => item.id === filterItem.id);
383
383
  if (itemIndex > -1) {
384
- console.warn("[SnkFilterBar.addFilterItem] FilterItem existe , o mesmo não será adicionado novamente.");
384
+ console.warn("[SnkFilterBar.addFilterItem] " + this.getMessage("snkFilterBar.filterItem.addFilterItemExists"));
385
385
  return Promise.resolve();
386
386
  }
387
387
  this.filterConfig.push(filterItem);
@@ -399,7 +399,7 @@ const SnkFilterBar = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement
399
399
  async removeFilterItem(filterID) {
400
400
  const itemIndex = this.filterConfig.findIndex(item => item.id === filterID);
401
401
  if (itemIndex == -1) {
402
- console.warn("[SnkFilterBar.removeFilterItem] FilterItem não encontrado");
402
+ console.warn("[SnkFilterBar.removeFilterItem] " + this.getMessage("snkFilterBar.filterItem.removeFilterItemNotFound"));
403
403
  return Promise.resolve(undefined);
404
404
  }
405
405
  const itemToRemove = this.filterConfig[itemIndex];
@@ -742,9 +742,9 @@ const SnkFilterBar = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement
742
742
  return h("snk-personalized-filter", { class: "filter-bar__personalized-filter", filterId: this.personalizedFilterId, ref: (el) => this._elPersonalizedFilter = el, isDefaultFilter: this._isDefaultFilter, onEzCancel: () => this.handleHidePersonalizedFilter(false), onEzAfterSave: () => this.handleHidePersonalizedFilter(true), entityUri: this.dataUnit.name, configName: this.configName, resourceID: this.resourceID });
743
743
  }
744
744
  if (this.mode !== "regular") {
745
- return (h(Host, { "data-mode": this.mode }, this.getPersonalizedFilterVariableItems(), this.mode === 'button' && (h("ez-button", { class: "ez-margin-left--medium", size: "small", label: this.getMessage('snkFilterBar.filters', undefined, 'Filtros'), onClick: this.showFilterModal.bind(this) }))));
745
+ return (h(Host, { "data-mode": this.mode }, this.getPersonalizedFilterVariableItems(), this.mode === 'button' && (h("ez-button", { class: "ez-margin-left--medium", size: "small", label: this.getMessage('snkFilterBar.filters', undefined, this.getMessage("snkFilterBar.filters")), onClick: this.showFilterModal.bind(this) }))));
746
746
  }
747
- return (h(Host, null, h("div", null, h("span", { class: "snk-filter-bar__title", title: this.title, "data-tooltip": this.title, "data-flow": "bottom" }, this.title)), h("ez-scroller", { class: "snk-filter-bar__scroller", direction: EzScrollDirection.HORIZONTAL, activeShadow: true, locked: this.scrollerLocked }, h("section", { class: "snk-filter-bar__filter-item-container" }, this.getFilterItems())), h("ez-button", { class: "ez-padding-left--medium ez-margin-top--extra-small", size: "small", label: this.getMessage('snkFilterBar.filters', undefined, 'Filtros'), onClick: this.showFilterModal.bind(this) }, h("ez-icon", { slot: "leftIcon", iconName: "plus", class: "ez-padding-right--small" }))));
747
+ return (h(Host, null, h("div", null, h("span", { class: "snk-filter-bar__title", title: this.title, "data-tooltip": this.title, "data-flow": "bottom" }, this.title)), h("ez-scroller", { class: "snk-filter-bar__scroller", direction: EzScrollDirection.HORIZONTAL, activeShadow: true, locked: this.scrollerLocked }, h("section", { class: "snk-filter-bar__filter-item-container" }, this.getFilterItems())), h("ez-button", { class: "ez-padding-left--medium ez-margin-top--extra-small", size: "small", label: this.getMessage('snkFilterBar.filters', undefined, this.getMessage("snkFilterBar.filters")), onClick: this.showFilterModal.bind(this) }, h("ez-icon", { slot: "leftIcon", iconName: "plus", class: "ez-padding-right--small" }))));
748
748
  }
749
749
  get _element() { return this; }
750
750
  static get watchers() { return {
@@ -25,6 +25,7 @@ const SnkFilterDetail = /*@__PURE__*/ proxyCustomElement(class extends HTMLEleme
25
25
  var _a, _b;
26
26
  this._editor && (this._editor["config"] = newValue);
27
27
  (_b = (_a = this._editor) === null || _a === void 0 ? void 0 : _a["reloadList"]) === null || _b === void 0 ? void 0 : _b.call(_a);
28
+ this._customElementObject = this.getContentEditor();
28
29
  }
29
30
  componentDidLoad() {
30
31
  if (this._element) {
@@ -161,9 +162,10 @@ const SnkFilterDetail = /*@__PURE__*/ proxyCustomElement(class extends HTMLEleme
161
162
  }
162
163
  componentWillLoad() {
163
164
  this.originalConfig = ObjectUtils.copy(this.config);
165
+ this._customElementObject = this.getContentEditor();
164
166
  }
165
167
  render() {
166
- const { tag: CustomElement, props } = this.getContentEditor();
168
+ const { tag: CustomElement, props } = this._customElementObject;
167
169
  return (h(Host, null, h("div", { class: "col ez-col--sd-12 ez-align--right ez-padding-medium ez-flex--align-items-center" }, h("div", { class: "ez-text ez-title ez-title--small ez-padding--small sc-snk-filter-bar snk-filter-item__editor-header" }, this.config.detailTitle), this.getPopUpHeaderButtons()), h(CustomElement, Object.assign({ maxHeightList: '240px', ref: ref => this._editor = ref, value: this.config.value, config: this.config, onKeyDown: evt => this.onKeyDonwListener(evt), "data-element-id": this._idContentEditor, getMessage: this.getMessage, rightListSlotBuilder: item => this.buildRightSlot(item) }, props)), h("hr", { class: "sc-snk-filter-bar snk-filter__popover-rule" }), h("div", { class: "ez-col ez-col--sd-12 ez-align--right" }, this.filterCanBeCleared() && (h("ez-button", { label: this.getMessage("snkFilterBar.cleanFilter"), onClick: () => this.clear(), size: "small" })), h("ez-button", { ref: ref => this._applyButton = ref, label: this.getMessage("snkFilterBar.applyFilter"), onClick: () => this.apply(), size: "small", class: "ez-button--primary ez-padding-left--medium" }))));
168
170
  }
169
171
  get _element() { return this; }
@@ -1,22 +1,17 @@
1
1
  import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/core/internal/client';
2
- import { FloatingManager, DateUtils, MaskFormatter, ElementIDUtils } from '@sankhyalabs/core';
2
+ import { DateUtils, MaskFormatter, ElementIDUtils } from '@sankhyalabs/core';
3
3
  import { F as FilterItemType } from './filter-item-type.enum.js';
4
4
  import { F as FilterNumberVariation } from './filterNumberVariation.js';
5
5
  import { d as defineCustomElement$1 } from './snk-filter-detail2.js';
6
6
 
7
+ const snkFilterItemCss = "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)}";
8
+
7
9
  const SnkFilterItem = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
8
10
  constructor() {
9
11
  super();
10
12
  this.__registerHost();
11
13
  this.visibleChanged = createEvent(this, "visibleChanged", 7);
12
14
  this.filterChange = createEvent(this, "filterChange", 3);
13
- this.innerClickCheck = (_floatingContainer, node) => {
14
- if (node.id != FloatingManager.MODAL_ELEMENT_ID) {
15
- return true;
16
- }
17
- this.detailIsVisible = false;
18
- return false;
19
- };
20
15
  this.detailIsVisible = undefined;
21
16
  this.config = undefined;
22
17
  this.getMessage = undefined;
@@ -25,57 +20,28 @@ const SnkFilterItem = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement
25
20
  observeDetailIsVisible(value) {
26
21
  this.visibleChanged.emit(value);
27
22
  }
23
+ /**
24
+ * Emitido quando o estado do filtro é alterado.
25
+ */
26
+ filterChangeListener() {
27
+ this.hideDetail();
28
+ }
28
29
  /**
29
30
  * Exibe os detalhes de um item da lista.
30
31
  */
31
32
  async showUp(open = false) {
32
- return new Promise(resolve => {
33
- var _a;
34
- this._filterItemElement.scrollIntoView({ behavior: "auto", block: "nearest", inline: "nearest" });
35
- if (open) {
36
- this._closeCallback = resolve;
37
- (_a = this._chipElement) === null || _a === void 0 ? void 0 : _a.blur();
38
- window.requestAnimationFrame(() => {
39
- this._floatingID = FloatingManager.float(this._popover, this._popoverContainer, this.getFloatOptions());
40
- this._popover.show();
41
- this.detailIsVisible = true;
42
- });
43
- }
44
- });
45
- }
46
- updatePosition() {
47
- if (this._floatingID == undefined) {
48
- return;
33
+ var _a;
34
+ this._filterItemElement.scrollIntoView({ behavior: "auto", block: "nearest", inline: "nearest" });
35
+ if (open) {
36
+ await ((_a = this._chipElement) === null || _a === void 0 ? void 0 : _a.setBlur());
37
+ await this._popover.showUnder(this._chipElement);
49
38
  }
50
- FloatingManager.updateFloatPosition(this._popover, this._popoverContainer, this.getFloatOptions());
51
39
  }
52
- getFloatOptions() {
53
- return {
54
- autoClose: true,
55
- innerClickTest: this.innerClickCheck,
56
- backClickListener: () => this.onDetailCloseCallback(),
57
- left: this.getOffsetLeft(),
58
- top: this.getOffsetTop(),
59
- useOverlay: true,
60
- overlayClassName: 'ez-scrim ez-scrim--light',
61
- isFixed: true
62
- };
63
- }
64
- getOffsetLeft() {
65
- const padding = getComputedStyle(this._filterItemElement).getPropertyValue("padding-left");
66
- const rect = this._filterItemElement.getBoundingClientRect();
67
- // Width baseado no conteudo do snk-filter-detail. Nesse momento ele retorna 0px pois ainda não foi criado em tela.
68
- const filterDetailWidth = 430;
69
- const adjustRightPosition = filterDetailWidth - (document.body.clientWidth - rect.left);
70
- return `calc(${rect.x}px + ${padding} - ${adjustRightPosition > 0 ? adjustRightPosition : 0}px)`;
71
- }
72
- getOffsetTop() {
73
- const rect = this._filterItemElement.getBoundingClientRect();
74
- return (rect.y + rect.height) + "px";
75
- }
76
- controlScrollPage() {
77
- window.removeEventListener("scroll", this.updatePosition.bind(this));
78
- window.addEventListener("scroll", this.updatePosition.bind(this));
40
+ /**
41
+ * Oculta os detalhes de um item da lista.
42
+ */
43
+ async hideDetail() {
44
+ await this._popover.hide();
79
45
  }
80
46
  getConfigChanges() {
81
47
  var _a;
@@ -88,51 +54,24 @@ const SnkFilterItem = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement
88
54
  const newValue = hasMultiValues ? configToBeCleared.value.map((valueItem) => (Object.assign(Object.assign({}, valueItem), { check: false }))) : undefined;
89
55
  return Object.assign(Object.assign({}, configToBeCleared), { value: newValue });
90
56
  }
91
- /**
92
- * Oculta os detalhes de um item da lista.
93
- */
94
- async hideDetail() {
95
- if (this.detailIsVisible) {
96
- if (this._floatingID != undefined) {
97
- FloatingManager.close(this._floatingID);
98
- }
57
+ clearFilter(event) {
58
+ event === null || event === void 0 ? void 0 : event.stopPropagation();
59
+ if (this.canClearFilter()) {
60
+ const configChanged = this.getConfigChanges();
61
+ this.filterChange.emit(configChanged);
99
62
  }
100
- }
101
- onDetailCloseCallback() {
102
- this._floatingID = undefined;
103
- this.detailIsVisible = false;
104
- if (this._closeCallback) {
105
- this._closeCallback();
106
- this._closeCallback = undefined;
63
+ else {
64
+ this.togglePopover();
107
65
  }
108
66
  }
109
- //---------------------------------------------
110
- // Event handlers
111
- //---------------------------------------------
112
- clickListener(evt) {
113
- if ([this._chipElement, this._leftIconElement, this._rightIconElement].includes(evt.target)) {
114
- if (evt.target === this._rightIconElement && this.canClearFilter()) {
115
- const configChanged = this.getConfigChanges();
116
- this.filterChange.emit(configChanged);
117
- }
118
- else {
119
- if (this.detailIsVisible) {
120
- this.hideDetail();
121
- }
122
- else {
123
- this.showUp(true);
124
- }
125
- }
126
- evt.preventDefault();
127
- evt.stopImmediatePropagation();
128
- evt.stopPropagation();
67
+ async togglePopover(event) {
68
+ event === null || event === void 0 ? void 0 : event.preventDefault();
69
+ event === null || event === void 0 ? void 0 : event.stopPropagation();
70
+ if (this.detailIsVisible) {
71
+ await this.hideDetail();
129
72
  }
130
- }
131
- mouseDownListener(evt) {
132
- if (this.detailIsVisible && [this._chipElement, this._leftIconElement, this._rightIconElement].includes(evt.target)) {
133
- evt.preventDefault();
134
- evt.stopImmediatePropagation();
135
- evt.stopPropagation();
73
+ else {
74
+ await this.showUp(true);
136
75
  }
137
76
  }
138
77
  getLabel(isTooltipLabel = false) {
@@ -253,20 +192,6 @@ const SnkFilterItem = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement
253
192
  ElementIDUtils.addIDInfo(this._filterItemElement);
254
193
  this._idSnkFilterDetail = `filterDetail_${this.config.id}`;
255
194
  }
256
- this.controlScrollPage();
257
- }
258
- componentDidRender() {
259
- if (this._floatingID == undefined) {
260
- if (this._popover) {
261
- this._popover.remove();
262
- }
263
- }
264
- }
265
- /**
266
- * Emitido quando o estado do filtro é alterado.
267
- */
268
- filterChangeListener() {
269
- this.hideDetail();
270
195
  }
271
196
  canClearFilter() {
272
197
  const { value, groupedItems = [] } = this.config;
@@ -297,28 +222,35 @@ const SnkFilterItem = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement
297
222
  return (config.type !== FilterItemType.MULTI_LIST && config.value !== undefined) || this.hasActiveElements(config.value);
298
223
  }
299
224
  getEnabledChip() {
225
+ if (this.detailIsVisible) {
226
+ return true;
227
+ }
300
228
  if (this.config.type === FilterItemType.PERSONALIZED) {
301
229
  const { groupedItems = [] } = this.config;
302
230
  return groupedItems.some(item => item.visible);
303
231
  }
304
232
  return this.hasActiveValue(this.config);
305
233
  }
234
+ handleVisibilityPopover(event) {
235
+ this.detailIsVisible = event.detail;
236
+ }
306
237
  render() {
307
238
  const leftIcon = this.getLeftIconName();
308
- return (h(Host, null, this.showChips && (h("ez-chip", { id: this.config.id, ref: ref => this._chipElement = ref, label: this.getLabel(), value: this.getEnabledChip() }, leftIcon && (h("ez-icon", { ref: ref => this._leftIconElement = ref, iconName: leftIcon, class: "ez-padding-right--small", slot: "leftIcon" })), h("ez-icon", { ref: ref => this._rightIconElement = ref, iconName: this.getRightIconName(), class: "ez-padding-left--small", slot: "rightIcon", id: "removeFilter" }))), h("section", { class: "ez-margin-top--small sc-snk-filter-bar snk-filter__popover-container", ref: elem => this._popoverContainer = elem }, h("snk-filter-detail", { config: this.config, getMessage: this.getMessage, class: "sc-snk-filter-bar snk-filter__popover ez-padding--small ez-elevation--16", ref: elem => this._popover = elem, key: this.config.id, "data-element-id": this._idSnkFilterDetail, showHardFixed: this.showChips }))));
239
+ return (h(Host, null, this.showChips && (h("ez-chip", { id: this.config.id, ref: ref => this._chipElement = ref, label: this.getLabel(), value: this.getEnabledChip(), onClick: (event) => this.togglePopover(event), disableAutoUpdateValue: true, type: "secondary" }, leftIcon && (h("ez-icon", { ref: ref => this._leftIconElement = ref, iconName: leftIcon, slot: "leftIcon" })), h("ez-icon", { ref: ref => this._rightIconElement = ref, iconName: this.getRightIconName(), slot: "rightIcon", id: "removeFilter", onClick: (event) => this.clearFilter(event) }))), h("ez-popover-core", { ref: elem => this._popover = elem, onEzVisibilityChange: (event) => this.handleVisibilityPopover(event) }, h("snk-filter-detail", { 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 }))));
309
240
  }
310
241
  get _filterItemElement() { return this; }
311
242
  static get watchers() { return {
312
243
  "detailIsVisible": ["observeDetailIsVisible"]
313
244
  }; }
314
- }, [0, "snk-filter-item", {
245
+ static get style() { return snkFilterItemCss; }
246
+ }, [2, "snk-filter-item", {
315
247
  "config": [1040],
316
248
  "getMessage": [16],
317
249
  "showChips": [4, "show-chips"],
318
250
  "detailIsVisible": [32],
319
251
  "showUp": [64],
320
252
  "hideDetail": [64]
321
- }, [[2, "click", "clickListener"], [2, "mousedown", "mouseDownListener"], [0, "filterChange", "filterChangeListener"]]]);
253
+ }, [[0, "filterChange", "filterChangeListener"]]]);
322
254
  function defineCustomElement() {
323
255
  if (typeof customElements === "undefined") {
324
256
  return;
@@ -99,7 +99,7 @@ const SnkFilterList$1 = /*@__PURE__*/ proxyCustomElement(class extends HTMLEleme
99
99
  const hideItems = !this._filterArgument && !this._showAll && (items.length > MAX_FILTERS + 1);
100
100
  if (hideItems) {
101
101
  items.splice(MAX_FILTERS);
102
- items.push({ kind: "INTERNAL", label: "Mostrar mais", iconName: "dots-horizontal", name: SHOW_MORE_ITEM_NAME, iconClass: "snk-filter-bar__filter-list-item__icon--secondary", labelClass: "snk-filter-bar__filter-list-item__label--secondary" });
102
+ items.push({ kind: "INTERNAL", label: this.getMessage("snkFilterList.showMore"), iconName: "dots-horizontal", name: SHOW_MORE_ITEM_NAME, iconClass: "snk-filter-bar__filter-list-item__icon--secondary", labelClass: "snk-filter-bar__filter-list-item__label--secondary" });
103
103
  }
104
104
  this._selectableItemsCount = 0;
105
105
  return h("div", { class: "sc-snk-filter-bar snk-filter-bar__filter-list-items-container" }, items.map(item => this.buildItemElement(item)));
@@ -235,7 +235,7 @@ const SnkFilterModal$1 = /*@__PURE__*/ proxyCustomElement(class extends HTMLElem
235
235
  return null;
236
236
  const appliedFilters = this.getIformedFiltersCount(listItems);
237
237
  const lines = this.mountFiltersLines(listItems);
238
- return (h("ez-collapsible-box", { class: "snk-filter-modal__collapsible-box", headerSize: "medium", value: true, label: label }, !!appliedFilters && (h("ez-badge", { class: "ez-badge--primary-subtle", slot: "rightSlot", label: appliedFilters === null || appliedFilters === void 0 ? void 0 : appliedFilters.toString() })), h("div", { class: "ez-row snk-filter-modal__rendered-items" }, lines.map(this.renderFilterLine.bind(this))), shouldRenderFooter && (h("div", { class: "ez-flex ez-flex--justify-end grow" }, h("ez-button", { class: "ez-button--tertiary", size: "medium", label: "Limpar", onClick: () => isSingleItem ? this.handleClearSigleFilter(listItems[0]) : this.handleClearFilterList(listItems) })))));
238
+ return (h("ez-collapsible-box", { class: "snk-filter-modal__collapsible-box", headerSize: "medium", value: true, label: label }, !!appliedFilters && (h("ez-badge", { class: "ez-badge--primary-subtle", slot: "rightSlot", label: appliedFilters === null || appliedFilters === void 0 ? void 0 : appliedFilters.toString() })), h("div", { class: "ez-row snk-filter-modal__rendered-items" }, lines.map(this.renderFilterLine.bind(this))), shouldRenderFooter && (h("div", { class: "ez-flex ez-flex--justify-end grow" }, h("ez-button", { class: "ez-button--tertiary", size: "medium", label: this.getCustomMessage("clearModal"), onClick: () => isSingleItem ? this.handleClearSigleFilter(listItems[0]) : this.handleClearFilterList(listItems) })))));
239
239
  }
240
240
  handleDeleteFilter() {
241
241
  this._application.confirm(this.getMessage('snkPersonalizedFilter.deleteConfirm.title'), this.getMessage('snkPersonalizedFilter.info.deleteDefaultFilterConfirm'), "alert-circle-inverted", "critical").then((actionConfirmed) => {
@@ -11,6 +11,7 @@ const SnkFilterPeriod = /*@__PURE__*/ proxyCustomElement(class extends HTMLEleme
11
11
  this.valueChanged = createEvent(this, "valueChanged", 7);
12
12
  this._startIntervalLabel = 'Inicial';
13
13
  this._endIntervalLabel = 'Final';
14
+ this._toLabel = 'até';
14
15
  this.config = undefined;
15
16
  this.getMessage = undefined;
16
17
  this.value = undefined;
@@ -46,7 +47,7 @@ const SnkFilterPeriod = /*@__PURE__*/ proxyCustomElement(class extends HTMLEleme
46
47
  }
47
48
  buildLabel() {
48
49
  if (this.presentationMode === EPresentationMode.CHIP) {
49
- return h("label", { class: "ez-text ez-text--medium ez-text--primary ez-margin--medium" }, "at\u00E9");
50
+ return h("label", { class: "ez-text ez-text--medium ez-text--primary ez-margin--medium" }, this._toLabel);
50
51
  }
51
52
  }
52
53
  getVariation() {
@@ -57,6 +58,7 @@ const SnkFilterPeriod = /*@__PURE__*/ proxyCustomElement(class extends HTMLEleme
57
58
  if (this.getMessage) {
58
59
  this._startIntervalLabel = this.getMessage('snkFilterBar.labelStart');
59
60
  this._endIntervalLabel = this.getMessage('snkFilterBar.labelEnd');
61
+ this._toLabel = this.getMessage('snkFilterBar.labelTo');
60
62
  }
61
63
  }
62
64
  componentDidLoad() {
@@ -10,6 +10,7 @@ const SnkFilterPeriod$1 = /*@__PURE__*/ proxyCustomElement(class extends HTMLEle
10
10
  this.valueChanged = createEvent(this, "valueChanged", 7);
11
11
  this._startDateLabel = 'Inicial';
12
12
  this._endDateLabel = 'Final';
13
+ this._toLabel = 'até';
13
14
  this.config = undefined;
14
15
  this.getMessage = undefined;
15
16
  this.value = undefined;
@@ -49,13 +50,14 @@ const SnkFilterPeriod$1 = /*@__PURE__*/ proxyCustomElement(class extends HTMLEle
49
50
  }
50
51
  buildLabel() {
51
52
  if (this.presentationMode === EPresentationMode.CHIP) {
52
- return h("label", { class: "ez-text ez-text--medium ez-text--primary ez-margin--medium" }, "at\u00E9");
53
+ return h("label", { class: "ez-text ez-text--medium ez-text--primary ez-margin--medium" }, this._toLabel);
53
54
  }
54
55
  }
55
56
  componentWillLoad() {
56
57
  if (this.getMessage) {
57
58
  this._startDateLabel = this.getMessage('snkFilterBar.labelStart');
58
59
  this._endDateLabel = this.getMessage('snkFilterBar.labelEnd');
60
+ this._toLabel = this.getMessage('snkFilterBar.labelTo');
59
61
  }
60
62
  }
61
63
  render() {
@@ -100,7 +100,7 @@ const SnkFormConfig = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement
100
100
  this.originalConfigSelected = userConfig.find((config) => config.origin === origin);
101
101
  }
102
102
  catch (error) {
103
- console.error('Falha ao buscar configurações de formulário definida pelo usuário.');
103
+ console.error(this.getMessage('snkFormConfig.errors.failFetchUserConfig'));
104
104
  console.error(error);
105
105
  }
106
106
  }
@@ -256,7 +256,7 @@ const SnkFormConfig = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement
256
256
  this.hasChanges = true;
257
257
  }
258
258
  handleCreateNewGuide() {
259
- const newGuideName = buildNewGuideName(this.guidesList);
259
+ const newGuideName = buildNewGuideName(this.guidesList, this.getMessage.bind(this));
260
260
  const newGuide = {
261
261
  name: newGuideName,
262
262
  label: newGuideName,
@@ -289,7 +289,7 @@ const SnkFormConfig = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement
289
289
  await this.initializeUserConfig();
290
290
  }
291
291
  render() {
292
- return (h(Host, null, h("config-header", { configOptions: this.configOptions, selectedConfig: this.configSelected, messagesBuilder: this.messagesBuilder, hasChanges: this.hasChanges, optionConfigChanged: this.optionConfigChanged, onConfigClose: () => this.configClose.emit(), onSaveConfig: async () => await this.handleSaveConfig() }), h("div", { class: "ez-padding--medium" }, h("div", { class: "ez-flex sidebarNavigator__container" }, h("guides-configurator", { messagesBuilder: this.messagesBuilder, guidesList: this.guidesList, selectedGuide: this.selectedGuide, onGuideSelected: this.handleSelectGuide.bind(this), onGuideListChanged: this.handleGuideListChanged.bind(this), onCreateNewGuide: this.handleCreateNewGuide.bind(this), onGuideDeleted: this.handleGuideDeleted.bind(this) }), h("fields-layout", { ref: ref => this.refFieldsLayout = ref, selectedGuide: this.selectedGuide, guideNames: this.getGuideNames(), groupsList: this.groupsList, messagesBuilder: this.messagesBuilder, dataUnit: this.dataUnit, onGuideRenamed: this.handleGuideRenamed.bind(this), onLayoutChanged: this.handleLayoutChanged.bind(this), onSetFieldListAsAvailable: this.handleSetFieldListAsAvailable.bind(this) }), h("fields-selector", { dataUnit: this.dataUnit, availableFields: this.availableFields, onFieldListChanged: this.handleAvailableFieldListChanged.bind(this) })))));
292
+ return (h(Host, null, h("config-header", { configOptions: this.configOptions, selectedConfig: this.configSelected, messagesBuilder: this.messagesBuilder, hasChanges: this.hasChanges, optionConfigChanged: this.optionConfigChanged, onConfigClose: () => this.configClose.emit(), onSaveConfig: async () => await this.handleSaveConfig() }), h("div", { class: "ez-padding--medium" }, h("div", { class: "ez-flex sidebarNavigator__container" }, h("guides-configurator", { messagesBuilder: this.messagesBuilder, guidesList: this.guidesList, selectedGuide: this.selectedGuide, onGuideSelected: this.handleSelectGuide.bind(this), onGuideListChanged: this.handleGuideListChanged.bind(this), onCreateNewGuide: this.handleCreateNewGuide.bind(this), onGuideDeleted: this.handleGuideDeleted.bind(this) }), h("fields-layout", { ref: ref => this.refFieldsLayout = ref, selectedGuide: this.selectedGuide, guideNames: this.getGuideNames(), groupsList: this.groupsList, messagesBuilder: this.messagesBuilder, dataUnit: this.dataUnit, onGuideRenamed: this.handleGuideRenamed.bind(this), onLayoutChanged: this.handleLayoutChanged.bind(this), onSetFieldListAsAvailable: this.handleSetFieldListAsAvailable.bind(this) }), h("fields-selector", { dataUnit: this.dataUnit, availableFields: this.availableFields, onFieldListChanged: this.handleAvailableFieldListChanged.bind(this), messagesBuilder: this.messagesBuilder })))));
293
293
  }
294
294
  static get watchers() { return {
295
295
  "selectedGuide": ["observeSelectedGuide"],