@sankhyalabs/sankhyablocks 0.0.0-feat-dev-KB-92014.2 → 0.0.0-feat-dev-KB-97809.0

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 (270) hide show
  1. package/dist/cjs/{ClientSideExporterProvider-6a4108c9.js → ClientSideExporterProvider-a4ff0cd4.js} +7 -3
  2. package/dist/cjs/{FormConfigHelper-c664dbae.js → FormConfigHelper-019b77fe.js} +3 -4
  3. package/dist/cjs/config-header.cjs.entry.js +2 -2
  4. package/dist/cjs/dataunit-fetcher-24a3d2b4.js +3768 -0
  5. package/dist/cjs/field-config_2.cjs.entry.js +8 -5
  6. package/dist/cjs/fields-layout.cjs.entry.js +18 -9
  7. package/dist/cjs/fields-selector.cjs.entry.js +10 -5
  8. package/dist/cjs/guides-configurator.cjs.entry.js +14 -3
  9. package/dist/cjs/loader.cjs.js +1 -1
  10. package/dist/cjs/pesquisa-grid_2.cjs.entry.js +9 -5
  11. package/dist/cjs/sankhyablocks.cjs.js +1 -1
  12. package/dist/cjs/snk-actions-button_8.cjs.entry.js +16 -5
  13. package/dist/cjs/snk-application.cjs.entry.js +21 -16
  14. package/dist/cjs/snk-attach.cjs.entry.js +2 -2
  15. package/dist/cjs/snk-configurator.cjs.entry.js +1 -1
  16. package/dist/cjs/snk-crud.cjs.entry.js +13 -9
  17. package/dist/cjs/snk-data-exporter.cjs.entry.js +2 -3
  18. package/dist/cjs/{snk-data-unit-47c6d16b.js → snk-data-unit-ae7f21d2.js} +10 -19
  19. package/dist/cjs/snk-data-unit.cjs.entry.js +2 -3
  20. package/dist/cjs/snk-detail-view.cjs.entry.js +12 -9
  21. package/dist/cjs/snk-expression-group_2.cjs.entry.js +21 -20
  22. package/dist/cjs/snk-filter-bar_4.cjs.entry.js +7 -7
  23. package/dist/cjs/snk-form_2.cjs.entry.js +4 -4
  24. package/dist/cjs/snk-grid.cjs.entry.js +2 -2
  25. package/dist/cjs/{snk-guides-viewer-1689e877.js → snk-guides-viewer-633cccd8.js} +4 -4
  26. package/dist/cjs/snk-guides-viewer.cjs.entry.js +2 -2
  27. package/dist/cjs/snk-personalized-filter.cjs.entry.js +1 -1
  28. package/dist/cjs/snk-pesquisa.cjs.entry.js +21 -15
  29. package/dist/cjs/snk-simple-crud.cjs.entry.js +15 -11
  30. package/dist/collection/components/snk-actions-button/clientEvent/index.js +3 -2
  31. package/dist/collection/components/snk-application/errorhandler/snk-error-handler.js +12 -6
  32. package/dist/collection/components/snk-application/snk-application.js +7 -7
  33. package/dist/collection/components/snk-attach/snk-attach.js +1 -1
  34. package/dist/collection/components/snk-configurator/snk-configurator.js +1 -1
  35. package/dist/collection/components/snk-crud/snk-crud.js +12 -8
  36. package/dist/collection/components/snk-crud/subcomponents/GuideBuilder.js +7 -3
  37. package/dist/collection/components/snk-crud/subcomponents/snk-detail-view/snk-detail-view.js +2 -2
  38. package/dist/collection/components/snk-crud/subcomponents/snk-guides-viewer.js +3 -3
  39. package/dist/collection/components/snk-data-unit/snk-data-unit.js +0 -8
  40. package/dist/collection/components/snk-filter-bar/filter-list/snk-filter-list.js +1 -1
  41. package/dist/collection/components/snk-filter-bar/filter-modal/snk-filter-modal.js +1 -1
  42. package/dist/collection/components/snk-filter-bar/snk-filter-bar.js +5 -5
  43. package/dist/collection/components/snk-form-config/FormConfigHelper.js +3 -4
  44. package/dist/collection/components/snk-form-config/config-header/config-header.js +2 -2
  45. package/dist/collection/components/snk-form-config/field-item/field-config/field-config.js +2 -2
  46. package/dist/collection/components/snk-form-config/field-item/field-item.js +5 -2
  47. package/dist/collection/components/snk-form-config/fields-layout/fields-layout.css +2 -2
  48. package/dist/collection/components/snk-form-config/fields-layout/fields-layout.js +18 -7
  49. package/dist/collection/components/snk-form-config/fields-selector/fields-selector.js +29 -4
  50. package/dist/collection/components/snk-form-config/guides-configurator/guides-configurator.css +2 -2
  51. package/dist/collection/components/snk-form-config/guides-configurator/guides-configurator.js +15 -2
  52. package/dist/collection/components/snk-form-config/snk-form-config.js +3 -3
  53. package/dist/collection/components/snk-layout-form-config/snk-layout-form-config.js +30 -1
  54. package/dist/collection/components/snk-personalized-filter/snk-personalized-filter.js +1 -1
  55. package/dist/collection/components/snk-personalized-filter/subcomponents/snk-expression-group/snk-expression-group.js +3 -3
  56. package/dist/collection/components/snk-personalized-filter/subcomponents/snk-expression-item/filter-operands/filter-operands.js +12 -12
  57. package/dist/collection/components/snk-personalized-filter/subcomponents/snk-expression-item/snk-expression-item.js +6 -5
  58. package/dist/collection/components/snk-pesquisa/pesquisa-tree/pesquisa-tree.js +28 -4
  59. package/dist/collection/components/snk-pesquisa/snk-pesquisa.js +21 -15
  60. package/dist/collection/components/snk-simple-crud/snk-simple-crud.js +13 -9
  61. package/dist/collection/components/snk-simple-form-config/snk-simple-form-config.js +26 -1
  62. package/dist/collection/lib/http/data-fetcher/fetchers/data-unit/helpers/DataUnitDataLoaderHelper.js +22 -20
  63. package/dist/collection/lib/message/SnkMessageBuilder.js +18 -12
  64. package/dist/collection/lib/message/messageResourceEnUSUtils.js +28 -45
  65. package/dist/collection/lib/message/messageResourceEsESUtils.js +28 -45
  66. package/dist/collection/lib/message/messageResourcePtBRUtils.js +28 -45
  67. package/dist/collection/lib/message/resources/en-us/continuousInsertUtils.msg.js +6 -0
  68. package/dist/collection/lib/message/resources/en-us/dataUnitDataLoaderHelper.msg.js +18 -0
  69. package/dist/collection/lib/message/resources/en-us/snk-actions-button.msg.js +3 -1
  70. package/dist/collection/lib/message/resources/en-us/snk-application.msg.js +21 -2
  71. package/dist/collection/lib/message/resources/en-us/snk-attach.msg.js +3 -0
  72. package/dist/collection/lib/message/resources/en-us/snk-configurator.msg.js +6 -1
  73. package/dist/collection/lib/message/resources/en-us/snk-crud.msg.js +28 -3
  74. package/dist/collection/lib/message/resources/en-us/snk-data-unit.msg.js +2 -0
  75. package/dist/collection/lib/message/resources/en-us/snk-error-handler.msg.js +17 -0
  76. package/dist/collection/lib/message/resources/en-us/snk-filter-bar.msg.js +6 -0
  77. package/dist/collection/lib/message/resources/en-us/snk-filter-list.msg.js +3 -0
  78. package/dist/collection/lib/message/resources/en-us/snk-form.msg.js +44 -2
  79. package/dist/collection/lib/message/resources/en-us/snk-layout-form-config.msg.js +10 -0
  80. package/dist/collection/lib/message/resources/en-us/snk-personalized-filter.msg.js +17 -0
  81. package/dist/collection/lib/message/resources/en-us/snk-pesquisa.msg.js +25 -0
  82. package/dist/collection/lib/message/resources/en-us/snk-simple-crud.msg.js +6 -0
  83. package/dist/collection/lib/message/resources/en-us/snk-simple-form-config.msg.js +16 -0
  84. package/dist/collection/lib/message/resources/es-es/continuousInsertUtils.msg.js +6 -0
  85. package/dist/collection/lib/message/resources/es-es/dataUnitDataLoaderHelper.msg.js +18 -0
  86. package/dist/collection/lib/message/resources/es-es/snk-actions-button.msg.js +3 -1
  87. package/dist/collection/lib/message/resources/es-es/snk-application.msg.js +21 -2
  88. package/dist/collection/lib/message/resources/es-es/snk-attach.msg.js +3 -0
  89. package/dist/collection/lib/message/resources/es-es/snk-configurator.msg.js +6 -1
  90. package/dist/collection/lib/message/resources/es-es/snk-crud.msg.js +27 -2
  91. package/dist/collection/lib/message/resources/es-es/snk-data-unit.msg.js +2 -0
  92. package/dist/collection/lib/message/resources/es-es/snk-error-handler.msg.js +17 -0
  93. package/dist/collection/lib/message/resources/es-es/snk-filter-bar.msg.js +6 -0
  94. package/dist/collection/lib/message/resources/es-es/snk-filter-list.msg.js +3 -0
  95. package/dist/collection/lib/message/resources/es-es/snk-form.msg.js +44 -2
  96. package/dist/collection/lib/message/resources/es-es/snk-layout-form-config.msg.js +10 -0
  97. package/dist/collection/lib/message/resources/es-es/snk-personalized-filter.msg.js +17 -0
  98. package/dist/collection/lib/message/resources/es-es/snk-pesquisa.msg.js +25 -0
  99. package/dist/collection/lib/message/resources/es-es/snk-simple-crud.msg.js +6 -0
  100. package/dist/collection/lib/message/resources/es-es/snk-simple-form-config.msg.js +16 -0
  101. package/dist/collection/lib/message/resources/pt-br/continuousInsertUtils.msg.js +6 -0
  102. package/dist/collection/lib/message/resources/pt-br/dataUnitDataLoaderHelper.msg.js +18 -0
  103. package/dist/collection/lib/message/resources/pt-br/snk-actions-button.msg.js +3 -1
  104. package/dist/collection/lib/message/resources/pt-br/snk-application.msg.js +19 -0
  105. package/dist/collection/lib/message/resources/pt-br/snk-attach.msg.js +3 -0
  106. package/dist/collection/lib/message/resources/pt-br/snk-configurator.msg.js +6 -1
  107. package/dist/collection/lib/message/resources/pt-br/snk-crud.msg.js +27 -2
  108. package/dist/collection/lib/message/resources/pt-br/snk-data-unit.msg.js +2 -0
  109. package/dist/collection/lib/message/resources/pt-br/snk-error-handler.msg.js +17 -0
  110. package/dist/collection/lib/message/resources/pt-br/snk-filter-bar.msg.js +6 -0
  111. package/dist/collection/lib/message/resources/pt-br/snk-filter-list.msg.js +3 -0
  112. package/dist/collection/lib/message/resources/pt-br/snk-form.msg.js +45 -3
  113. package/dist/collection/lib/message/resources/pt-br/snk-layout-form-config.msg.js +10 -0
  114. package/dist/collection/lib/message/resources/pt-br/snk-personalized-filter.msg.js +17 -0
  115. package/dist/collection/lib/message/resources/pt-br/snk-pesquisa.msg.js +24 -0
  116. package/dist/collection/lib/message/resources/pt-br/snk-simple-crud.msg.js +6 -0
  117. package/dist/collection/lib/message/resources/pt-br/snk-simple-form-config.msg.js +16 -0
  118. package/dist/collection/lib/utils/ContinuousInsertUtils.js +6 -2
  119. package/dist/components/ContinuousInsertUtils.js +6 -2
  120. package/dist/components/config-header2.js +2 -2
  121. package/dist/components/dataunit-fetcher.js +2648 -22
  122. package/dist/components/field-config2.js +5 -6
  123. package/dist/components/field-item2.js +5 -2
  124. package/dist/components/fields-layout2.js +17 -8
  125. package/dist/components/fields-selector2.js +10 -4
  126. package/dist/components/guides-configurator2.js +14 -3
  127. package/dist/components/pesquisa-tree2.js +9 -4
  128. package/dist/components/snk-actions-button2.js +3 -2
  129. package/dist/components/snk-application2.js +20 -15
  130. package/dist/components/snk-attach2.js +1 -1
  131. package/dist/components/snk-configurator2.js +1 -1
  132. package/dist/components/snk-crud.js +12 -8
  133. package/dist/components/snk-data-unit2.js +1 -10
  134. package/dist/components/snk-detail-view2.js +13 -10
  135. package/dist/components/snk-expression-group2.js +3 -3
  136. package/dist/components/snk-expression-item2.js +18 -17
  137. package/dist/components/snk-filter-bar2.js +5 -5
  138. package/dist/components/snk-filter-list.js +1 -1
  139. package/dist/components/snk-filter-modal.js +1 -1
  140. package/dist/components/snk-form-config2.js +3 -3
  141. package/dist/components/snk-layout-form-config2.js +7 -1
  142. package/dist/components/snk-personalized-filter2.js +1 -1
  143. package/dist/components/snk-pesquisa2.js +21 -15
  144. package/dist/components/snk-simple-crud2.js +13 -9
  145. package/dist/components/snk-simple-form-config2.js +7 -1
  146. package/dist/esm/{ClientSideExporterProvider-09dee1a3.js → ClientSideExporterProvider-04be14f1.js} +7 -3
  147. package/dist/esm/{FormConfigHelper-49fe72ca.js → FormConfigHelper-ba614fc2.js} +3 -4
  148. package/dist/esm/config-header.entry.js +2 -2
  149. package/dist/esm/dataunit-fetcher-85f388a4.js +3737 -0
  150. package/dist/esm/field-config_2.entry.js +8 -5
  151. package/dist/esm/fields-layout.entry.js +18 -9
  152. package/dist/esm/fields-selector.entry.js +10 -5
  153. package/dist/esm/guides-configurator.entry.js +14 -3
  154. package/dist/esm/loader.js +1 -1
  155. package/dist/esm/pesquisa-grid_2.entry.js +9 -5
  156. package/dist/esm/sankhyablocks.js +1 -1
  157. package/dist/esm/snk-actions-button_8.entry.js +16 -5
  158. package/dist/esm/snk-application.entry.js +20 -15
  159. package/dist/esm/snk-attach.entry.js +2 -2
  160. package/dist/esm/snk-configurator.entry.js +1 -1
  161. package/dist/esm/snk-crud.entry.js +13 -9
  162. package/dist/esm/snk-data-exporter.entry.js +2 -3
  163. package/dist/esm/{snk-data-unit-c12986b7.js → snk-data-unit-8b01405c.js} +1 -10
  164. package/dist/esm/snk-data-unit.entry.js +2 -3
  165. package/dist/esm/snk-detail-view.entry.js +11 -8
  166. package/dist/esm/snk-expression-group_2.entry.js +21 -20
  167. package/dist/esm/snk-filter-bar_4.entry.js +7 -7
  168. package/dist/esm/snk-form_2.entry.js +4 -4
  169. package/dist/esm/snk-grid.entry.js +2 -2
  170. package/dist/esm/{snk-guides-viewer-defa2629.js → snk-guides-viewer-24b1c646.js} +4 -4
  171. package/dist/esm/snk-guides-viewer.entry.js +2 -2
  172. package/dist/esm/snk-personalized-filter.entry.js +1 -1
  173. package/dist/esm/snk-pesquisa.entry.js +22 -16
  174. package/dist/esm/snk-simple-crud.entry.js +15 -11
  175. package/dist/sankhyablocks/p-0bc78428.entry.js +1 -0
  176. package/dist/sankhyablocks/p-19501790.js +1 -0
  177. package/dist/sankhyablocks/p-1986bbc8.entry.js +1 -0
  178. package/dist/sankhyablocks/{p-cfa8cac2.entry.js → p-1df9c17f.entry.js} +1 -1
  179. package/dist/sankhyablocks/p-2b062e65.entry.js +1 -0
  180. package/dist/sankhyablocks/{p-81820bf8.entry.js → p-3b40bfe0.entry.js} +1 -1
  181. package/dist/sankhyablocks/p-3bbc07f0.entry.js +1 -0
  182. package/dist/sankhyablocks/p-3c2d164d.entry.js +1 -0
  183. package/dist/sankhyablocks/p-49bed17d.entry.js +1 -0
  184. package/dist/sankhyablocks/p-4e9f1733.entry.js +1 -0
  185. package/dist/sankhyablocks/p-6703336d.entry.js +1 -0
  186. package/dist/sankhyablocks/{p-60d3abf6.entry.js → p-6d61509f.entry.js} +1 -1
  187. package/dist/sankhyablocks/p-735a1175.entry.js +1 -0
  188. package/dist/sankhyablocks/p-73edf2e8.js +60 -0
  189. package/dist/sankhyablocks/p-75af335e.entry.js +1 -0
  190. package/dist/sankhyablocks/p-83021aee.entry.js +1 -0
  191. package/dist/sankhyablocks/{p-fa591f6f.js → p-9b966b93.js} +1 -1
  192. package/dist/sankhyablocks/p-a5108625.entry.js +1 -0
  193. package/dist/sankhyablocks/p-b73a7708.entry.js +11 -0
  194. package/dist/sankhyablocks/p-bbb4e4fc.entry.js +1 -0
  195. package/dist/sankhyablocks/p-c6f94622.entry.js +1 -0
  196. package/dist/sankhyablocks/p-c8a221ce.entry.js +1 -0
  197. package/dist/sankhyablocks/p-d774ec20.entry.js +1 -0
  198. package/dist/sankhyablocks/p-d8ec77ca.js +1 -0
  199. package/dist/sankhyablocks/p-e399a206.js +1 -0
  200. package/dist/sankhyablocks/p-f9ac5441.entry.js +1 -0
  201. package/dist/sankhyablocks/p-ff479ab9.entry.js +1 -0
  202. package/dist/sankhyablocks/sankhyablocks.esm.js +1 -1
  203. package/dist/types/components/snk-application/errorhandler/snk-error-handler.d.ts +1 -0
  204. package/dist/types/components/snk-crud/snk-crud.d.ts +1 -0
  205. package/dist/types/components/snk-crud/subcomponents/GuideBuilder.d.ts +4 -1
  206. package/dist/types/components/snk-data-unit/snk-data-unit.d.ts +0 -6
  207. package/dist/types/components/snk-form-config/FormConfigHelper.d.ts +1 -1
  208. package/dist/types/components/snk-form-config/fields-layout/fields-layout.d.ts +2 -0
  209. package/dist/types/components/snk-form-config/fields-selector/fields-selector.d.ts +3 -0
  210. package/dist/types/components/snk-form-config/guides-configurator/guides-configurator.d.ts +2 -0
  211. package/dist/types/components/snk-layout-form-config/snk-layout-form-config.d.ts +3 -0
  212. package/dist/types/components/snk-personalized-filter/subcomponents/snk-expression-item/snk-expression-item.d.ts +1 -0
  213. package/dist/types/components/snk-pesquisa/pesquisa-tree/pesquisa-tree.d.ts +6 -0
  214. package/dist/types/components/snk-pesquisa/snk-pesquisa.d.ts +3 -0
  215. package/dist/types/components/snk-simple-crud/snk-simple-crud.d.ts +1 -0
  216. package/dist/types/components/snk-simple-form-config/snk-simple-form-config.d.ts +6 -0
  217. package/dist/types/components.d.ts +20 -0
  218. package/dist/types/lib/message/SnkMessageBuilder.d.ts +6 -0
  219. package/dist/types/lib/message/resources/en-us/continuousInsertUtils.msg.d.ts +1 -0
  220. package/dist/types/lib/message/resources/en-us/dataUnitDataLoaderHelper.msg.d.ts +1 -0
  221. package/dist/types/lib/message/resources/en-us/snk-error-handler.msg.d.ts +1 -0
  222. package/dist/types/lib/message/resources/en-us/snk-filter-list.msg.d.ts +1 -0
  223. package/dist/types/lib/message/resources/en-us/snk-layout-form-config.msg.d.ts +1 -0
  224. package/dist/types/lib/message/resources/en-us/snk-pesquisa.msg.d.ts +1 -0
  225. package/dist/types/lib/message/resources/en-us/snk-simple-form-config.msg.d.ts +1 -0
  226. package/dist/types/lib/message/resources/es-es/continuousInsertUtils.msg.d.ts +1 -0
  227. package/dist/types/lib/message/resources/es-es/dataUnitDataLoaderHelper.msg.d.ts +1 -0
  228. package/dist/types/lib/message/resources/es-es/snk-error-handler.msg.d.ts +1 -0
  229. package/dist/types/lib/message/resources/es-es/snk-filter-list.msg.d.ts +1 -0
  230. package/dist/types/lib/message/resources/es-es/snk-layout-form-config.msg.d.ts +1 -0
  231. package/dist/types/lib/message/resources/es-es/snk-pesquisa.msg.d.ts +1 -0
  232. package/dist/types/lib/message/resources/es-es/snk-simple-form-config.msg.d.ts +1 -0
  233. package/dist/types/lib/message/resources/pt-br/continuousInsertUtils.msg.d.ts +1 -0
  234. package/dist/types/lib/message/resources/pt-br/dataUnitDataLoaderHelper.msg.d.ts +1 -0
  235. package/dist/types/lib/message/resources/pt-br/snk-error-handler.msg.d.ts +1 -0
  236. package/dist/types/lib/message/resources/pt-br/snk-filter-list.msg.d.ts +1 -0
  237. package/dist/types/lib/message/resources/pt-br/snk-layout-form-config.msg.d.ts +1 -0
  238. package/dist/types/lib/message/resources/pt-br/snk-pesquisa.msg.d.ts +1 -0
  239. package/dist/types/lib/message/resources/pt-br/snk-simple-form-config.msg.d.ts +1 -0
  240. package/dist/types/lib/utils/ContinuousInsertUtils.d.ts +1 -0
  241. package/package.json +1 -1
  242. package/dist/cjs/SnkMessageBuilder-acd9ec62.js +0 -1937
  243. package/dist/cjs/dataunit-fetcher-c34a8217.js +0 -1121
  244. package/dist/components/SnkMessageBuilder.js +0 -1915
  245. package/dist/esm/SnkMessageBuilder-c8b452b6.js +0 -1915
  246. package/dist/esm/dataunit-fetcher-1b78797a.js +0 -1111
  247. package/dist/sankhyablocks/p-09ba8326.entry.js +0 -1
  248. package/dist/sankhyablocks/p-1c69a957.entry.js +0 -1
  249. package/dist/sankhyablocks/p-224fa6f9.js +0 -1
  250. package/dist/sankhyablocks/p-22a8656b.entry.js +0 -1
  251. package/dist/sankhyablocks/p-23b20add.entry.js +0 -1
  252. package/dist/sankhyablocks/p-2628f34e.entry.js +0 -1
  253. package/dist/sankhyablocks/p-34cfb5ad.entry.js +0 -11
  254. package/dist/sankhyablocks/p-35e73c5d.js +0 -1
  255. package/dist/sankhyablocks/p-37b4f642.js +0 -60
  256. package/dist/sankhyablocks/p-4b8691b6.js +0 -1
  257. package/dist/sankhyablocks/p-4d2ff2fb.entry.js +0 -1
  258. package/dist/sankhyablocks/p-4eb731b3.js +0 -1
  259. package/dist/sankhyablocks/p-6bc7c7ee.entry.js +0 -1
  260. package/dist/sankhyablocks/p-71a05822.entry.js +0 -1
  261. package/dist/sankhyablocks/p-7ced2cf4.entry.js +0 -1
  262. package/dist/sankhyablocks/p-86bd4478.entry.js +0 -1
  263. package/dist/sankhyablocks/p-86c8f7f2.entry.js +0 -1
  264. package/dist/sankhyablocks/p-aef68e58.entry.js +0 -1
  265. package/dist/sankhyablocks/p-b033bf30.entry.js +0 -1
  266. package/dist/sankhyablocks/p-b1ea8c6d.entry.js +0 -1
  267. package/dist/sankhyablocks/p-cb2a4613.entry.js +0 -1
  268. package/dist/sankhyablocks/p-cfc219f6.entry.js +0 -1
  269. package/dist/sankhyablocks/p-f442c8f6.entry.js +0 -1
  270. package/dist/sankhyablocks/p-f65421cd.entry.js +0 -1
@@ -6,7 +6,7 @@ const core = require('@sankhyalabs/core');
6
6
  const index$1 = require('./index-e3e39724.js');
7
7
  require('@sankhyalabs/ezui/dist/collection/utils/constants');
8
8
  const UnitMetadata = require('@sankhyalabs/core/dist/dataunit/metadata/UnitMetadata');
9
- const dataunitFetcher = require('./dataunit-fetcher-c34a8217.js');
9
+ const dataunitFetcher = require('./dataunit-fetcher-24a3d2b4.js');
10
10
  require('./filter-item-type.enum-a7ffdaa6.js');
11
11
  require('./form-config-fetcher-d8b78403.js');
12
12
  require('./constants-6d82e405.js');
@@ -291,14 +291,18 @@ class ContinuousInsertUtils {
291
291
  return false;
292
292
  });
293
293
  }
294
+ getMessage(key, params) {
295
+ var _a, _b;
296
+ return (_b = (_a = this.snkApplication) === null || _a === void 0 ? void 0 : _a.messagesBuilder) === null || _b === void 0 ? void 0 : _b.getMessage(key, params);
297
+ }
294
298
  actionContinuousInsert(enableContinuousInsert, handleEnableContinuousInsert) {
295
299
  return {
296
300
  value: core.StringUtils.generateUUID(),
297
- label: enableContinuousInsert ? 'Desativar inclusão contínua' : 'Ativar inclusão contínua',
301
+ label: enableContinuousInsert ? this.getMessage('continuousInsertUtils.actions.disable') : this.getMessage('continuousInsertUtils.actions.enable'),
298
302
  enabled: true,
299
303
  itemBuilder: () => {
300
304
  return (index.h("div", { class: "ez-dropdown__item-wrapper", onClick: handleEnableContinuousInsert },
301
- index.h("span", { class: "ez-dropdown__item-label" }, enableContinuousInsert ? 'Desativar inclusão contínua' : 'Ativar inclusão contínua')));
305
+ index.h("span", { class: "ez-dropdown__item-label" }, enableContinuousInsert ? this.getMessage('continuousInsertUtils.actions.disable') : this.getMessage('continuousInsertUtils.actions.enable'))));
302
306
  },
303
307
  };
304
308
  }
@@ -75,12 +75,11 @@ function getValueByProperty(property, fieldDescriptor, defaultValue) {
75
75
  function getIconName(userInterface) {
76
76
  return iconMap.get(userInterface) || 'text';
77
77
  }
78
- function buildNewGuideName(guidesList) {
78
+ function buildNewGuideName(guidesList, getMessage) {
79
79
  var _a, _b;
80
+ const newGuideText = getMessage('snkFormConfig.form.newGuide');
80
81
  const qtdWithNewGuideName = (_b = (_a = guidesList.filter(g => g.name.includes(constants.TAB_NAMES.newGuide))) === null || _a === void 0 ? void 0 : _a.length) !== null && _b !== void 0 ? _b : 0;
81
- return qtdWithNewGuideName === 0
82
- ? constants.TAB_NAMES.newGuide
83
- : `${constants.TAB_NAMES.newGuide} (${qtdWithNewGuideName})`;
82
+ return qtdWithNewGuideName === 0 ? newGuideText : `${newGuideText} (${qtdWithNewGuideName})`;
84
83
  }
85
84
  function getFieldsToSave(guidesMap) {
86
85
  const fieldsToSave = [];
@@ -66,9 +66,9 @@ const ConfigHeader = class {
66
66
  if (!this.hasChanges && !this.optionConfigChanged)
67
67
  return;
68
68
  if (this.hasChanges) {
69
- return (index.h("div", { class: "right-group" }, index.h("ez-button", { title: 'Cancelar', label: 'Cancelar', onClick: this.closeFormConfig.bind(this), size: "medium" }), index.h("ez-button", { title: 'Salvar', label: 'Salvar', class: 'ez-button--primary ez-padding-left--medium', onClick: () => this.saveFormConfig(), size: "medium" })));
69
+ return (index.h("div", { class: "right-group" }, index.h("ez-button", { title: this.getMessage('snkFormConfig.actions.cancel'), label: this.getMessage('snkFormConfig.actions.cancel'), onClick: this.closeFormConfig.bind(this), size: "medium" }), index.h("ez-button", { title: this.getMessage('snkFormConfig.actions.save'), label: this.getMessage('snkFormConfig.actions.save'), class: 'ez-button--primary ez-padding-left--medium', onClick: () => this.saveFormConfig(), size: "medium" })));
70
70
  }
71
- return (index.h("div", { class: "right-group" }, index.h("ez-button", { title: 'Cancelar', label: 'Cancelar', onClick: this.closeFormConfig.bind(this), size: "medium" }), index.h("ez-button", { title: 'Salvar', label: this.getMessage('snkFormConfig.applyConfig'), class: 'ez-button--primary ez-padding-left--medium', onClick: async () => await this.applyOptionConfig(), size: "medium" })));
71
+ return (index.h("div", { class: "right-group" }, index.h("ez-button", { title: this.getMessage('snkFormConfig.actions.cancel'), label: this.getMessage('snkFormConfig.actions.cancel'), onClick: this.closeFormConfig.bind(this), size: "medium" }), index.h("ez-button", { title: this.getMessage('snkFormConfig.actions.save'), label: this.getMessage('snkFormConfig.applyConfig'), class: 'ez-button--primary ez-padding-left--medium', onClick: async () => await this.applyOptionConfig(), size: "medium" })));
72
72
  }
73
73
  render() {
74
74
  return (index.h(index.Host, null, index.h("div", { class: 'left-group' }, index.h("ez-button", { mode: "icon", title: this.getMessage('snkFormConfig.goBackTitle'), iconName: "arrow_back", class: "ez-padding--small", size: "small", onClick: this.closeFormConfig.bind(this), id: "formConfigToBack" }), index.h("h1", { class: "ez-title ez-title--primary ez-title--extra-large ez-padding--small" }, this.getMessage('snkFormConfig.title')), index.h("configs-button", { hasChanges: this.hasChanges, configOptions: this.configOptions, selectedConfig: this.selectedConfig, messagesBuilder: this.messagesBuilder })), this.renderSaveActions()));