@sankhyalabs/sankhyablocks 0.0.0-bugfix-dev-KB-121322.0 → 0.0.0-bugfix-dev-KB-132407.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 (367) hide show
  1. package/dist/cjs/{ConfigStorage-72f34bd4.js → ConfigStorage-d9d24844.js} +2 -2
  2. package/dist/cjs/{DataFetcher-991b0349.js → DataFetcher-3a8ea521.js} +2 -2751
  3. package/dist/cjs/{FormConfigHelper-e253a418.js → FormConfigHelper-28fe4668.js} +3 -1
  4. package/dist/cjs/{ISave-ebf6b4ed.js → ISave-a66bb65e.js} +1 -1
  5. package/dist/cjs/ImageUtils-5e3f406b.js +142 -0
  6. package/dist/cjs/{PersonalizedFilterUtils-7259cf65.js → PersonalizedFilterUtils-eccb267a.js} +13 -0
  7. package/dist/cjs/{SnkFormConfigManager-cdbb29d4.js → SnkFormConfigManager-c88cf1e9.js} +5 -5
  8. package/dist/cjs/SnkMessageBuilder-d9558dba.js +2809 -0
  9. package/dist/cjs/{SnkMultiSelectionListDataSource-011bec79.js → SnkMultiSelectionListDataSource-a891430e.js} +5 -5
  10. package/dist/cjs/{auth-fetcher-c3cac878.js → auth-fetcher-faa61f64.js} +1 -1
  11. package/dist/cjs/config-header.cjs.entry.js +1 -1
  12. package/dist/cjs/configs-button.cjs.entry.js +1 -1
  13. package/dist/cjs/css-shim-a27d231b.js +6 -0
  14. package/dist/cjs/{dataunit-fetcher-8bf469e7.js → dataunit-fetcher-4320f7ec.js} +3 -2
  15. package/dist/cjs/dom-ff96a4bc.js +75 -0
  16. package/dist/cjs/field-config_2.cjs.entry.js +3 -3
  17. package/dist/cjs/fields-layout.cjs.entry.js +5 -5
  18. package/dist/cjs/fields-selector.cjs.entry.js +2 -2
  19. package/dist/cjs/{form-config-fetcher-c7af90d8.js → form-config-fetcher-72cf0e3d.js} +1 -1
  20. package/dist/cjs/guides-configurator.cjs.entry.js +3 -3
  21. package/dist/cjs/{index-1cf293c1.js → index-1894343a.js} +1525 -173
  22. package/dist/cjs/{index-13d05f03.js → index-f0fe7e6e.js} +90 -21
  23. package/dist/cjs/loader.cjs.js +16 -2
  24. package/dist/cjs/pesquisa-grid_2.cjs.entry.js +6 -5
  25. package/dist/cjs/sankhyablocks.cjs.js +132 -4
  26. package/dist/cjs/shadow-css-7e3e0ab1.js +389 -0
  27. package/dist/cjs/{snk-actions-button_9.cjs.entry.js → snk-actions-button_8.cjs.entry.js} +8 -57
  28. package/dist/cjs/snk-actions-form.cjs.entry.js +1 -1
  29. package/dist/cjs/snk-application.cjs.entry.js +29 -9
  30. package/dist/cjs/snk-attach.cjs.entry.js +10 -9
  31. package/dist/cjs/snk-client-confirm.cjs.entry.js +1 -1
  32. package/dist/cjs/snk-configurator.cjs.entry.js +1 -1
  33. package/dist/cjs/snk-crud.cjs.entry.js +18 -12
  34. package/dist/cjs/snk-custom-slot-elements.cjs.entry.js +1 -1
  35. package/dist/cjs/snk-custom-slot-guide.cjs.entry.js +40 -0
  36. package/dist/cjs/snk-data-exporter.cjs.entry.js +7 -6
  37. package/dist/cjs/{snk-data-unit-7d587ad5.js → snk-data-unit-b54fdf9a.js} +21 -12
  38. package/dist/cjs/snk-data-unit.cjs.entry.js +5 -4
  39. package/dist/cjs/snk-default-filter.cjs.entry.js +1 -1
  40. package/dist/cjs/snk-detail-view.cjs.entry.js +18 -14
  41. package/dist/cjs/snk-entity-list.cjs.entry.js +1 -1
  42. package/dist/cjs/snk-exporter-email-sender.cjs.entry.js +1 -1
  43. package/dist/cjs/snk-expression-group_2.cjs.entry.js +2 -2
  44. package/dist/cjs/snk-filter-advanced-mode_2.cjs.entry.js +2 -2
  45. package/dist/cjs/snk-filter-bar_4.cjs.entry.js +59 -25
  46. package/dist/cjs/snk-filter-binary-select.cjs.entry.js +1 -1
  47. package/dist/cjs/snk-filter-checkbox-list.cjs.entry.js +1 -1
  48. package/dist/cjs/snk-filter-detail.cjs.entry.js +3 -3
  49. package/dist/cjs/snk-filter-field-search_2.cjs.entry.js +2 -2
  50. package/dist/cjs/snk-filter-modal-item.cjs.entry.js +5 -4
  51. package/dist/cjs/snk-filter-multi-select.cjs.entry.js +1 -1
  52. package/dist/cjs/snk-filter-number.cjs.entry.js +11 -7
  53. package/dist/cjs/snk-filter-period.cjs.entry.js +14 -7
  54. package/dist/cjs/snk-filter-search.cjs.entry.js +1 -1
  55. package/dist/cjs/snk-filter-text.cjs.entry.js +2 -2
  56. package/dist/cjs/snk-form-summary.cjs.entry.js +1 -1
  57. package/dist/cjs/snk-form-view.cjs.entry.js +73 -8
  58. package/dist/cjs/snk-form_2.cjs.entry.js +22 -11
  59. package/dist/cjs/snk-grid.cjs.entry.js +26 -17
  60. package/dist/cjs/{snk-guides-viewer-366d5c32.js → snk-guides-viewer-4da78c21.js} +49 -64
  61. package/dist/cjs/snk-guides-viewer.cjs.entry.js +11 -10
  62. package/dist/cjs/snk-image-input.cjs.entry.js +148 -0
  63. package/dist/cjs/snk-layout-form-config.cjs.entry.js +72 -0
  64. package/dist/cjs/snk-personalized-filter-editor.cjs.entry.js +1 -1
  65. package/dist/cjs/snk-personalized-filter.cjs.entry.js +7 -6
  66. package/dist/cjs/snk-pesquisa.cjs.entry.js +6 -6
  67. package/dist/cjs/snk-print-selector.cjs.entry.js +1 -1
  68. package/dist/cjs/snk-simple-bar.cjs.entry.js +1 -1
  69. package/dist/cjs/snk-simple-crud.cjs.entry.js +15 -21
  70. package/dist/cjs/snk-taskbar.cjs.entry.js +3 -3
  71. package/dist/cjs/{taskbar-elements-fb5d1e08.js → taskbar-elements-a94d4318.js} +6 -5
  72. package/dist/cjs/teste-pesquisa.cjs.entry.js +1 -1
  73. package/dist/collection/collection-manifest.json +7 -0
  74. package/dist/collection/components/snk-application/errorhandler/snk-error-handler.js +1 -0
  75. package/dist/collection/components/snk-application/snk-application.js +20 -2
  76. package/dist/collection/components/snk-attach/snk-attach.js +1 -1
  77. package/dist/collection/components/snk-crud/snk-crud.js +24 -6
  78. package/dist/collection/components/snk-crud/subcomponents/GuideBuilder.js +1 -1
  79. package/dist/collection/components/snk-crud/subcomponents/snk-detail-view/snk-detail-view.js +4 -1
  80. package/dist/collection/components/snk-crud/subcomponents/snk-form-view.js +93 -8
  81. package/dist/collection/components/snk-crud/subcomponents/snk-guides-viewer.js +57 -58
  82. package/dist/collection/components/snk-custom-slot-guide/snk-custom-slot-guide.css +3 -0
  83. package/dist/collection/components/snk-custom-slot-guide/snk-custom-slot-guide.js +95 -0
  84. package/dist/collection/components/snk-data-unit/snk-data-unit.js +9 -0
  85. package/dist/collection/components/snk-filter-bar/filter-item/editors/snk-filter-number.js +13 -9
  86. package/dist/collection/components/snk-filter-bar/filter-item/editors/snk-filter-period.js +14 -7
  87. package/dist/collection/components/snk-filter-bar/filter-item/editors/snk-filter-text.js +1 -1
  88. package/dist/collection/components/snk-filter-bar/filter-item/snk-filter-detail.js +1 -1
  89. package/dist/collection/components/snk-filter-bar/filter-item/snk-filter-item.css +4 -0
  90. package/dist/collection/components/snk-filter-bar/filter-item/snk-filter-item.js +7 -1
  91. package/dist/collection/components/snk-filter-bar/filter-modal/snk-filter-modal.css +1 -0
  92. package/dist/collection/components/snk-filter-bar/filter-modal/snk-filter-modal.js +15 -4
  93. package/dist/collection/components/snk-filter-bar/snk-filter-bar.js +30 -13
  94. package/dist/collection/components/snk-form-config/FormConfigHelper.js +3 -1
  95. package/dist/collection/components/snk-form-config/SnkFormConfigManager.js +3 -3
  96. package/dist/collection/components/snk-form-config/field-item/field-config/field-config.css +1 -0
  97. package/dist/collection/components/snk-form-config/fields-layout/fields-layout.css +16 -0
  98. package/dist/collection/components/snk-form-config/fields-layout/fields-layout.js +4 -4
  99. package/dist/collection/components/snk-form-config/guides-configurator/guides-configurator.css +3 -3
  100. package/dist/collection/components/snk-form-config/guides-configurator/guides-configurator.js +2 -2
  101. package/dist/collection/components/snk-form-config/snk-form-config.js +15 -5
  102. package/dist/collection/components/snk-grid/snk-grid.css +5 -5
  103. package/dist/collection/components/snk-grid/snk-grid.js +16 -9
  104. package/dist/collection/components/snk-image-input/snk-image-input.css +3 -0
  105. package/dist/collection/components/snk-image-input/snk-image-input.js +326 -0
  106. package/dist/collection/components/snk-image-input/utils/ImageUtils.js +133 -0
  107. package/dist/collection/components/snk-layout-form-config/snk-layout-form-config.js +1 -1
  108. package/dist/collection/components/snk-layout-form-config/snk-view-representation/snk-view-representation.js +1 -1
  109. package/dist/collection/components/snk-personalized-filter/subcomponents/snk-filter-param-config/utils/PersonalizedFilterUtils.js +13 -0
  110. package/dist/collection/components/snk-pesquisa/snk-pesquisa.js +0 -4
  111. package/dist/collection/components/snk-simple-crud/snk-simple-crud.js +23 -12
  112. package/dist/collection/components/snk-taskbar/elements/taskbar-elements.js +4 -3
  113. package/dist/collection/lib/message/SnkMessageBuilder.js +11 -2
  114. package/dist/collection/lib/message/messageResourceEnUSUtils.js +2 -0
  115. package/dist/collection/lib/message/messageResourceEsESUtils.js +2 -0
  116. package/dist/collection/lib/message/messageResourcePtBRUtils.js +2 -0
  117. package/dist/collection/lib/message/resources/en-us/snk-crud.msg.js +1 -1
  118. package/dist/collection/lib/message/resources/en-us/snk-form.msg.js +1 -0
  119. package/dist/collection/lib/message/resources/en-us/snk-image-input.msg.js +11 -0
  120. package/dist/collection/lib/message/resources/en-us/snk-layout-form-config.msg.js +10 -2
  121. package/dist/collection/lib/message/resources/es-es/snk-crud.msg.js +1 -1
  122. package/dist/collection/lib/message/resources/es-es/snk-form.msg.js +1 -0
  123. package/dist/collection/lib/message/resources/es-es/snk-image-input.msg.js +11 -0
  124. package/dist/collection/lib/message/resources/es-es/snk-layout-form-config.msg.js +8 -0
  125. package/dist/collection/lib/message/resources/pt-br/snk-configurator.msg.js +1 -1
  126. package/dist/collection/lib/message/resources/pt-br/snk-crud.msg.js +1 -1
  127. package/dist/collection/lib/message/resources/pt-br/snk-form.msg.js +1 -0
  128. package/dist/collection/lib/message/resources/pt-br/snk-image-input.msg.js +11 -0
  129. package/dist/collection/lib/message/resources/pt-br/snk-layout-form-config.msg.js +10 -2
  130. package/dist/components/DataFetcher.js +3 -2731
  131. package/dist/components/PersonalizedFilterUtils.js +13 -0
  132. package/dist/components/SnkFormConfigManager.js +3 -3
  133. package/dist/components/SnkMessageBuilder.js +2807 -0
  134. package/dist/components/dataunit-fetcher.js +2 -1
  135. package/dist/components/field-config2.js +4 -2
  136. package/dist/components/fields-layout2.js +4 -4
  137. package/dist/components/guides-configurator2.js +2 -2
  138. package/dist/components/index.d.ts +2 -0
  139. package/dist/components/index.js +2 -0
  140. package/dist/components/index2.js +90 -21
  141. package/dist/components/snk-application2.js +22 -2
  142. package/dist/components/snk-attach2.js +3 -2
  143. package/dist/components/snk-crud.js +78 -68
  144. package/dist/components/snk-custom-slot-guide.d.ts +11 -0
  145. package/dist/components/snk-custom-slot-guide.js +55 -0
  146. package/dist/components/snk-data-unit2.js +10 -1
  147. package/dist/components/snk-detail-view2.js +143 -143
  148. package/dist/components/snk-filter-bar2.js +30 -13
  149. package/dist/components/snk-filter-detail2.js +1 -1
  150. package/dist/components/snk-filter-item2.js +8 -2
  151. package/dist/components/snk-filter-modal2.js +16 -6
  152. package/dist/components/snk-filter-number.js +12 -8
  153. package/dist/components/snk-filter-period.js +13 -6
  154. package/dist/components/snk-filter-text.js +1 -1
  155. package/dist/components/snk-form-config2.js +15 -5
  156. package/dist/components/snk-form-view2.js +82 -10
  157. package/dist/components/snk-grid2.js +17 -9
  158. package/dist/components/snk-image-input.d.ts +11 -0
  159. package/dist/components/snk-image-input.js +6 -0
  160. package/dist/components/snk-image-input2.js +302 -0
  161. package/dist/components/snk-layout-form-config2.js +1 -1
  162. package/dist/components/snk-pesquisa2.js +0 -1
  163. package/dist/components/snk-simple-crud2.js +6 -12
  164. package/dist/components/snk-taskbar2.js +4 -3
  165. package/dist/components/snk-view-representation2.js +1 -1
  166. package/dist/esm/{ConfigStorage-22324b6b.js → ConfigStorage-d15d2014.js} +2 -2
  167. package/dist/esm/{DataFetcher-450828a0.js → DataFetcher-1dd7e8c0.js} +3 -2731
  168. package/dist/esm/{FormConfigHelper-e89ca25c.js → FormConfigHelper-d09669f3.js} +3 -1
  169. package/dist/esm/{ISave-61153166.js → ISave-498c4831.js} +1 -1
  170. package/dist/esm/ImageUtils-8fc8d905.js +136 -0
  171. package/dist/esm/{PersonalizedFilterUtils-2db38ff2.js → PersonalizedFilterUtils-d2439a9a.js} +13 -0
  172. package/dist/esm/{SnkFormConfigManager-b5a92e12.js → SnkFormConfigManager-86befa68.js} +5 -5
  173. package/dist/esm/SnkMessageBuilder-c0bc4424.js +2807 -0
  174. package/dist/esm/{SnkMultiSelectionListDataSource-d7ce2e54.js → SnkMultiSelectionListDataSource-14633bf6.js} +5 -5
  175. package/dist/esm/{auth-fetcher-eef9d01e.js → auth-fetcher-69cbda8d.js} +1 -1
  176. package/dist/esm/config-header.entry.js +1 -1
  177. package/dist/esm/configs-button.entry.js +1 -1
  178. package/dist/esm/css-shim-9f2d321e.js +4 -0
  179. package/dist/esm/{dataunit-fetcher-da9596f6.js → dataunit-fetcher-3d5c4ae4.js} +2 -1
  180. package/dist/esm/dom-64053c71.js +73 -0
  181. package/dist/esm/field-config_2.entry.js +3 -3
  182. package/dist/esm/fields-layout.entry.js +5 -5
  183. package/dist/esm/fields-selector.entry.js +2 -2
  184. package/dist/esm/{form-config-fetcher-8d0a5e1c.js → form-config-fetcher-fcc7b62f.js} +1 -1
  185. package/dist/esm/guides-configurator.entry.js +3 -3
  186. package/dist/esm/{index-479e1293.js → index-04f73a26.js} +1517 -173
  187. package/dist/esm/{index-446f9341.js → index-ea250be6.js} +90 -21
  188. package/dist/esm/loader.js +17 -3
  189. package/dist/esm/pesquisa-grid_2.entry.js +6 -5
  190. package/dist/esm/sankhyablocks.js +133 -5
  191. package/dist/esm/shadow-css-98135883.js +387 -0
  192. package/dist/esm/{snk-actions-button_9.entry.js → snk-actions-button_8.entry.js} +9 -57
  193. package/dist/esm/snk-actions-form.entry.js +1 -1
  194. package/dist/esm/snk-application.entry.js +28 -8
  195. package/dist/esm/snk-attach.entry.js +9 -8
  196. package/dist/esm/snk-client-confirm.entry.js +1 -1
  197. package/dist/esm/snk-configurator.entry.js +1 -1
  198. package/dist/esm/snk-crud.entry.js +18 -12
  199. package/dist/esm/snk-custom-slot-elements.entry.js +1 -1
  200. package/dist/esm/snk-custom-slot-guide.entry.js +36 -0
  201. package/dist/esm/snk-data-exporter.entry.js +7 -6
  202. package/dist/esm/{snk-data-unit-99616a07.js → snk-data-unit-363c3551.js} +12 -3
  203. package/dist/esm/snk-data-unit.entry.js +5 -4
  204. package/dist/esm/snk-default-filter.entry.js +1 -1
  205. package/dist/esm/snk-detail-view.entry.js +16 -12
  206. package/dist/esm/snk-entity-list.entry.js +1 -1
  207. package/dist/esm/snk-exporter-email-sender.entry.js +1 -1
  208. package/dist/esm/snk-expression-group_2.entry.js +2 -2
  209. package/dist/esm/snk-filter-advanced-mode_2.entry.js +2 -2
  210. package/dist/esm/snk-filter-bar_4.entry.js +59 -25
  211. package/dist/esm/snk-filter-binary-select.entry.js +1 -1
  212. package/dist/esm/snk-filter-checkbox-list.entry.js +1 -1
  213. package/dist/esm/snk-filter-detail.entry.js +3 -3
  214. package/dist/esm/snk-filter-field-search_2.entry.js +2 -2
  215. package/dist/esm/snk-filter-modal-item.entry.js +5 -4
  216. package/dist/esm/snk-filter-multi-select.entry.js +1 -1
  217. package/dist/esm/snk-filter-number.entry.js +11 -7
  218. package/dist/esm/snk-filter-period.entry.js +14 -7
  219. package/dist/esm/snk-filter-search.entry.js +1 -1
  220. package/dist/esm/snk-filter-text.entry.js +2 -2
  221. package/dist/esm/snk-form-summary.entry.js +1 -1
  222. package/dist/esm/snk-form-view.entry.js +74 -9
  223. package/dist/esm/snk-form_2.entry.js +22 -11
  224. package/dist/esm/snk-grid.entry.js +26 -17
  225. package/dist/esm/{snk-guides-viewer-240de636.js → snk-guides-viewer-27d9e78c.js} +49 -64
  226. package/dist/esm/snk-guides-viewer.entry.js +11 -10
  227. package/dist/esm/snk-image-input.entry.js +144 -0
  228. package/dist/esm/snk-layout-form-config.entry.js +68 -0
  229. package/dist/esm/snk-personalized-filter-editor.entry.js +1 -1
  230. package/dist/esm/snk-personalized-filter.entry.js +7 -6
  231. package/dist/esm/snk-pesquisa.entry.js +6 -6
  232. package/dist/esm/snk-print-selector.entry.js +1 -1
  233. package/dist/esm/snk-simple-bar.entry.js +1 -1
  234. package/dist/esm/snk-simple-crud.entry.js +15 -21
  235. package/dist/esm/snk-taskbar.entry.js +3 -3
  236. package/dist/esm/{taskbar-elements-faaf5d8f.js → taskbar-elements-97541bdd.js} +6 -5
  237. package/dist/esm/teste-pesquisa.entry.js +1 -1
  238. package/dist/sankhyablocks/{p-7f7fe6c4.entry.js → p-0a160fb5.entry.js} +1 -1
  239. package/dist/sankhyablocks/p-10cad767.entry.js +1 -0
  240. package/dist/sankhyablocks/{p-162bddae.entry.js → p-175c9576.entry.js} +1 -1
  241. package/dist/sankhyablocks/p-18cc9111.entry.js +1 -0
  242. package/dist/sankhyablocks/p-1df34264.entry.js +11 -0
  243. package/dist/sankhyablocks/p-27d6590e.js +1 -0
  244. package/dist/sankhyablocks/{p-c4fcf1fb.entry.js → p-27e0cd68.entry.js} +1 -1
  245. package/dist/sankhyablocks/p-2a356340.entry.js +1 -0
  246. package/dist/sankhyablocks/{p-9a63f3f7.entry.js → p-2b882835.entry.js} +1 -1
  247. package/dist/sankhyablocks/p-2c9d0870.js +2 -0
  248. package/dist/sankhyablocks/{p-cb4343c4.entry.js → p-2cc2526e.entry.js} +1 -1
  249. package/dist/sankhyablocks/{p-62aef37a.js → p-2ccbbeec.js} +1 -1
  250. package/dist/sankhyablocks/{p-75af335e.entry.js → p-2ebda226.entry.js} +1 -1
  251. package/dist/sankhyablocks/p-30641d55.entry.js +1 -0
  252. package/dist/sankhyablocks/{p-840fb68c.js → p-32ad76cc.js} +1 -1
  253. package/dist/sankhyablocks/p-3a35917e.entry.js +1 -0
  254. package/dist/sankhyablocks/p-3b07c117.entry.js +1 -0
  255. package/dist/sankhyablocks/{p-49ddc27a.entry.js → p-438a225f.entry.js} +1 -1
  256. package/dist/sankhyablocks/p-45f53520.entry.js +1 -0
  257. package/dist/sankhyablocks/p-48c580b9.entry.js +1 -0
  258. package/dist/sankhyablocks/p-4ff3b494.js +1 -0
  259. package/dist/sankhyablocks/{p-27482793.entry.js → p-5aae5c74.entry.js} +1 -1
  260. package/dist/sankhyablocks/p-5e256568.entry.js +1 -0
  261. package/dist/sankhyablocks/p-6564180d.entry.js +1 -0
  262. package/dist/sankhyablocks/p-685bc841.js +60 -0
  263. package/dist/sankhyablocks/p-68c1a093.js +1 -0
  264. package/dist/sankhyablocks/{p-0b9a42ad.entry.js → p-7150eacf.entry.js} +1 -1
  265. package/dist/sankhyablocks/p-72d62f22.js +1 -0
  266. package/dist/sankhyablocks/{p-825098c1.entry.js → p-752c57f4.entry.js} +1 -1
  267. package/dist/sankhyablocks/{p-e258de96.entry.js → p-76729994.entry.js} +1 -1
  268. package/dist/sankhyablocks/p-7c4f4851.js +1 -0
  269. package/dist/sankhyablocks/p-7d8bf156.entry.js +1 -0
  270. package/dist/sankhyablocks/{p-92cfc028.js → p-7e9f8fa4.js} +1 -1
  271. package/dist/sankhyablocks/{p-118c221e.js → p-8b4d6719.js} +1 -1
  272. package/dist/sankhyablocks/{p-3d41f5a8.entry.js → p-8d946600.entry.js} +1 -1
  273. package/dist/sankhyablocks/{p-96d45943.entry.js → p-90ae6c2e.entry.js} +1 -1
  274. package/dist/sankhyablocks/{p-7d6f1285.js → p-9114e869.js} +1 -1
  275. package/dist/sankhyablocks/p-95444e96.js +1 -0
  276. package/dist/sankhyablocks/{p-21107f0d.entry.js → p-9c1ff75e.entry.js} +1 -1
  277. package/dist/sankhyablocks/p-9ce1539b.entry.js +1 -0
  278. package/dist/sankhyablocks/{p-2fdac5e6.entry.js → p-9e109f5e.entry.js} +1 -1
  279. package/dist/sankhyablocks/p-a210e55b.entry.js +1 -0
  280. package/dist/sankhyablocks/p-a2a9f520.entry.js +1 -0
  281. package/dist/sankhyablocks/p-a46ac091.js +1 -0
  282. package/dist/sankhyablocks/p-a73b6b00.js +1 -0
  283. package/dist/sankhyablocks/{p-c35fc941.js → p-a9839628.js} +1 -1
  284. package/dist/sankhyablocks/{p-180716b2.entry.js → p-ae326d06.entry.js} +1 -1
  285. package/dist/sankhyablocks/{p-c98c79c3.entry.js → p-b25777fa.entry.js} +1 -1
  286. package/dist/sankhyablocks/p-b555ce38.entry.js +1 -0
  287. package/dist/sankhyablocks/p-bdf0077f.js +1 -0
  288. package/dist/sankhyablocks/p-c3ec6642.js +19 -0
  289. package/dist/sankhyablocks/p-c6a97fda.entry.js +1 -0
  290. package/dist/sankhyablocks/{p-91a9abb6.entry.js → p-c8043a53.entry.js} +1 -1
  291. package/dist/sankhyablocks/p-c860552e.entry.js +1 -0
  292. package/dist/sankhyablocks/{p-c3dbf441.entry.js → p-cc64239c.entry.js} +1 -1
  293. package/dist/sankhyablocks/{p-471b34f4.entry.js → p-cd00a3d1.entry.js} +1 -1
  294. package/dist/sankhyablocks/{p-4c763b10.entry.js → p-d657f71f.entry.js} +1 -1
  295. package/dist/sankhyablocks/p-da455c82.js +12 -0
  296. package/dist/sankhyablocks/{p-002d4d2b.js → p-e0a6818c.js} +1 -1
  297. package/dist/sankhyablocks/p-e0e3914e.entry.js +1 -0
  298. package/dist/sankhyablocks/p-e30acdca.entry.js +1 -0
  299. package/dist/sankhyablocks/p-ebce5394.entry.js +1 -0
  300. package/dist/sankhyablocks/p-ee56dda6.entry.js +1 -0
  301. package/dist/sankhyablocks/p-ef9343c3.entry.js +1 -0
  302. package/dist/sankhyablocks/{p-667cab42.entry.js → p-f152ef98.entry.js} +1 -1
  303. package/dist/sankhyablocks/p-f4ac3b50.entry.js +1 -0
  304. package/dist/sankhyablocks/{p-7e250432.entry.js → p-f7170e10.entry.js} +1 -1
  305. package/dist/sankhyablocks/{p-7345782c.entry.js → p-f921270b.entry.js} +1 -1
  306. package/dist/sankhyablocks/p-fc5e95f4.entry.js +1 -0
  307. package/dist/sankhyablocks/p-fce86770.entry.js +1 -0
  308. package/dist/sankhyablocks/sankhyablocks.esm.js +1 -1
  309. package/dist/types/components/snk-application/snk-application.d.ts +1 -1
  310. package/dist/types/components/snk-crud/snk-crud.d.ts +5 -1
  311. package/dist/types/components/snk-crud/subcomponents/snk-form-view.d.ts +12 -0
  312. package/dist/types/components/snk-crud/subcomponents/snk-guides-viewer.d.ts +9 -7
  313. package/dist/types/components/snk-custom-slot-guide/snk-custom-slot-guide.d.ts +16 -0
  314. package/dist/types/components/snk-data-unit/snk-data-unit.d.ts +1 -0
  315. package/dist/types/components/snk-filter-bar/filter-item/editors/snk-filter-number.d.ts +1 -1
  316. package/dist/types/components/snk-filter-bar/filter-item/editors/snk-filter-period.d.ts +1 -0
  317. package/dist/types/components/snk-filter-bar/filter-item/snk-filter-item.d.ts +1 -1
  318. package/dist/types/components/snk-filter-bar/filter-modal/snk-filter-modal.d.ts +2 -1
  319. package/dist/types/components/snk-form-config/FormConfigHelper.d.ts +1 -1
  320. package/dist/types/components/snk-form-config/fields-layout/fields-layout.d.ts +2 -2
  321. package/dist/types/components/snk-form-config/guides-configurator/guides-configurator.d.ts +1 -1
  322. package/dist/types/components/snk-form-config/snk-form-config.d.ts +2 -1
  323. package/dist/types/components/snk-grid/snk-grid.d.ts +1 -0
  324. package/dist/types/components/snk-image-input/snk-image-input.d.ts +56 -0
  325. package/dist/types/components/snk-image-input/utils/ImageUtils.d.ts +15 -0
  326. package/dist/types/components/snk-personalized-filter/interfaces/IParameter.d.ts +1 -0
  327. package/dist/types/components/snk-pesquisa/snk-pesquisa.d.ts +0 -1
  328. package/dist/types/components/snk-simple-crud/snk-simple-crud.d.ts +4 -1
  329. package/dist/types/components.d.ts +134 -1
  330. package/dist/types/lib/message/resources/en-us/snk-image-input.msg.d.ts +1 -0
  331. package/dist/types/lib/message/resources/es-es/snk-image-input.msg.d.ts +1 -0
  332. package/dist/types/lib/message/resources/pt-br/snk-image-input.msg.d.ts +1 -0
  333. package/package.json +1 -1
  334. package/react/components.d.ts +2 -0
  335. package/react/components.js +2 -0
  336. package/react/components.js.map +1 -1
  337. package/dist/sankhyablocks/p-093f58fa.entry.js +0 -1
  338. package/dist/sankhyablocks/p-0948dc0a.entry.js +0 -11
  339. package/dist/sankhyablocks/p-16f05a66.entry.js +0 -1
  340. package/dist/sankhyablocks/p-1d589380.entry.js +0 -1
  341. package/dist/sankhyablocks/p-28f50632.js +0 -1
  342. package/dist/sankhyablocks/p-39be771c.js +0 -1
  343. package/dist/sankhyablocks/p-3ed04f0d.entry.js +0 -1
  344. package/dist/sankhyablocks/p-4963dd2a.entry.js +0 -1
  345. package/dist/sankhyablocks/p-55798617.js +0 -1
  346. package/dist/sankhyablocks/p-55f6fef2.entry.js +0 -1
  347. package/dist/sankhyablocks/p-56f16390.entry.js +0 -1
  348. package/dist/sankhyablocks/p-58683e28.js +0 -60
  349. package/dist/sankhyablocks/p-5ea893c5.entry.js +0 -1
  350. package/dist/sankhyablocks/p-60dd1d27.entry.js +0 -1
  351. package/dist/sankhyablocks/p-62e9b9b8.entry.js +0 -1
  352. package/dist/sankhyablocks/p-669bb869.entry.js +0 -1
  353. package/dist/sankhyablocks/p-6ee2ca7a.entry.js +0 -1
  354. package/dist/sankhyablocks/p-7cac3870.entry.js +0 -1
  355. package/dist/sankhyablocks/p-86e54841.entry.js +0 -1
  356. package/dist/sankhyablocks/p-88b337fe.entry.js +0 -1
  357. package/dist/sankhyablocks/p-91005a00.entry.js +0 -1
  358. package/dist/sankhyablocks/p-988afe78.js +0 -1
  359. package/dist/sankhyablocks/p-ada013c0.entry.js +0 -1
  360. package/dist/sankhyablocks/p-b7e891cc.entry.js +0 -1
  361. package/dist/sankhyablocks/p-b987e15d.js +0 -1
  362. package/dist/sankhyablocks/p-cadf4846.entry.js +0 -1
  363. package/dist/sankhyablocks/p-d8d8169b.js +0 -2
  364. package/dist/sankhyablocks/p-e91c3c57.entry.js +0 -1
  365. package/dist/sankhyablocks/p-ea729922.entry.js +0 -1
  366. package/dist/sankhyablocks/p-ec5fbad8.js +0 -1
  367. package/dist/sankhyablocks/p-f5e942b7.entry.js +0 -1
@@ -1,19 +1,19 @@
1
- import { r as registerInstance, c as createEvent, h, F as Fragment, g as getElement } from './index-479e1293.js';
1
+ import { r as registerInstance, e as createEvent, h, F as Fragment, g as getElement } from './index-04f73a26.js';
2
2
  import { ObjectUtils, StringUtils, Action, KeyboardManager, ElementIDUtils } from '@sankhyalabs/core';
3
3
  import { SelectionMode } from '@sankhyalabs/core/dist/dataunit/DataUnit';
4
4
  import { buildFieldSearch, SHORTCUT_SEARCH_FIELD } from '@sankhyalabs/ezui/dist/collection/utils';
5
5
  import { buildFormMetadata, FormMetadata } from '@sankhyalabs/ezui/dist/collection/utils/form';
6
- import './DataFetcher-450828a0.js';
7
- import './ISave-61153166.js';
6
+ import './DataFetcher-1dd7e8c0.js';
7
+ import './ISave-498c4831.js';
8
8
  import { P as PresentationMode } from './index-b40568ff.js';
9
9
  import '@sankhyalabs/ezui/dist/collection/utils/constants';
10
10
  import '@sankhyalabs/core/dist/dataunit/metadata/UnitMetadata';
11
- import './dataunit-fetcher-da9596f6.js';
11
+ import './dataunit-fetcher-3d5c4ae4.js';
12
12
  import './filter-item-type.enum-d45e026f.js';
13
- import './form-config-fetcher-8d0a5e1c.js';
13
+ import './form-config-fetcher-fcc7b62f.js';
14
14
  import { V as VIEW_MODE } from './constants-7b422de0.js';
15
- import { S as SnkFormConfigManager } from './SnkFormConfigManager-b5a92e12.js';
16
- import { T as TaskbarElement } from './taskbar-elements-faaf5d8f.js';
15
+ import { S as SnkFormConfigManager } from './SnkFormConfigManager-86befa68.js';
16
+ import { T as TaskbarElement } from './taskbar-elements-97541bdd.js';
17
17
  import { T as TaskbarProcessor } from './taskbar-processor-3436124c.js';
18
18
 
19
19
  const snkGuidesViewerCss = ".sc-snk-guides-viewer-h{--snk-guides-viewer--space-large:var(--space--large, 24px);--snk-guides-viewer--space-small:var(--space--2xs, 8px);--snk-guides-viewer__header--min-height:68px;--snk-guides-viewer__header--z-index:var(--more-visible, 2);--snk-guides-viewer__header--background-color:var(--background--body, #fafcff);--snk-guides-viewer__guide-navigator--width:340px;display:block}snk-form-view.sc-snk-guides-viewer{width:100%}.snk-guides-viewer.sc-snk-guides-viewer{position:relative;padding-left:0px;padding-top:0px;padding-right:var(--snk-guides-viewer--space-large);padding-bottom:var(--snk-guides-viewer--space-large)}.snk-guides-viewer__detail-container.sc-snk-guides-viewer{display:flex;row-gap:24px;flex-direction:column}.snk-guides-viewer__header.sc-snk-guides-viewer{position:sticky;align-items:center;top:0;z-index:var(--snk-guides-viewer__header--z-index);background-color:var(--snk-guides-viewer__header--background-color);min-height:var(--snk-guides-viewer__header--min-height);width:calc(100% + (var(--snk-guides-viewer--space-large) * 2));padding-left:var(--snk-guides-viewer--space-large);padding-right:var(--snk-guides-viewer--space-large);padding-top:var(--snk-guides-viewer--space-large);padding-bottom:var(--snk-guides-viewer--space-small);margin-left:calc(var(--snk-guides-viewer--space-large) * -1);margin-right:calc(var(--snk-guides-viewer--space-large) * -1);margin-bottom:var(--snk-guides-viewer--space-small)}.snk-guides-viewer__header-breadcrumb.sc-snk-guides-viewer{width:25%;display:flex}.snk-guides-viewer__header-taskbar.sc-snk-guides-viewer{width:75%}.snk-guides-viewer__container.sc-snk-guides-viewer{display:grid;grid-template-columns:minmax(0, auto) minmax(0, 100%);height:100%;column-gap:var(--snk-guides-viewer--space-large)}.snk-guides-viewer__guide-navigator.sc-snk-guides-viewer{position:sticky;top:calc(var(--snk-guides-viewer__header--min-height) + var(--snk-guides-viewer--space-small));height:calc(100vh - var(--snk-guides-viewer__header--min-height) - var(--snk-guides-viewer--space-large) - var(--snk-guides-viewer--space-small))}.snk-guides-viewer__guide-navigator[open].sc-snk-guides-viewer{width:var(--snk-guides-viewer__guide-navigator--width);max-width:var(--snk-guides-viewer__guide-navigator--width);min-width:var(--snk-guides-viewer__guide-navigator--width)}.snk-guides-viewer__detail-content.sc-snk-guides-viewer{min-height:100%;align-items:flex-start;align-content:flex-start}";
@@ -22,14 +22,13 @@ const FORM_NAME_PREFIX = "__FORM:";
22
22
  const SnkGuidesViewer = class {
23
23
  constructor(hostRef) {
24
24
  registerInstance(this, hostRef);
25
+ this.snkShowGuide = createEvent(this, "snkShowGuide", 7);
25
26
  this.snkMasterFormConfigChange = createEvent(this, "snkMasterFormConfigChange", 7);
26
27
  this.formConfigVisibilityChanged = createEvent(this, "formConfigVisibilityChanged", 7);
27
28
  this.exit = createEvent(this, "exit", 7);
28
29
  this.actionClick = createEvent(this, "actionClick", 7);
29
30
  this.formItemsReady = createEvent(this, "formItemsReady", 7);
30
31
  this._guideBuilders = new Map();
31
- this.CUSTOM_GUIDE_ID_PREFIX = "CUSTOM_GUIDE_";
32
- this.CUSTOM_GUIDE_DATA_CUSTOM_ID = "CUSTOM_GUIDE";
33
32
  this.dataUnit = undefined;
34
33
  this.dataState = undefined;
35
34
  this.configName = undefined;
@@ -63,8 +62,12 @@ const SnkGuidesViewer = class {
63
62
  observeDataUnit() {
64
63
  this.loadGuides(true);
65
64
  }
66
- observeFormConfigManager(value) {
67
- this.formConfigVisibilityChanged.emit(!!value);
65
+ async observeFormConfigManager(value) {
66
+ const showFormConfig = !!value;
67
+ await this._viewStack.show(showFormConfig ?
68
+ GUIDES_VIEWER_VIEW_MODE.CONFIG :
69
+ GUIDES_VIEWER_VIEW_MODE.GUIDES);
70
+ this.formConfigVisibilityChanged.emit(showFormConfig);
68
71
  }
69
72
  observeDataState(newValue, oldValue) {
70
73
  var _a, _b, _c, _d, _e, _f;
@@ -114,7 +117,8 @@ const SnkGuidesViewer = class {
114
117
  * Atribui o foco para o componente.
115
118
  */
116
119
  async setFocus() {
117
- this._container.focus();
120
+ var _a;
121
+ (_a = this._container) === null || _a === void 0 ? void 0 : _a.focus();
118
122
  }
119
123
  /**
120
124
  * Recarrega os guias baseada nos metadados atuais.
@@ -175,6 +179,13 @@ const SnkGuidesViewer = class {
175
179
  item.tooltip = this.getMessage("snkCrud.detail.tooltip.needSingleSelection");
176
180
  item.disabled = true;
177
181
  }
182
+ if (sheet.isCustom && sheet.ctxProps) {
183
+ Object.entries(sheet.ctxProps).forEach(([key, value]) => {
184
+ if (value !== undefined) {
185
+ item[key] = value;
186
+ }
187
+ });
188
+ }
178
189
  guides.push(item);
179
190
  });
180
191
  this._guides = guides;
@@ -289,7 +300,7 @@ const SnkGuidesViewer = class {
289
300
  if (sheet == undefined) {
290
301
  return;
291
302
  }
292
- return h("snk-form-view", { levelPath: params.levelPath, label: sheet.label, name: formName, fields: sheet.fields, formMetadata: params.formMetadata, dataUnit: params.dataUnit, recordsValidator: params.recordsValidator, contracted: (cardConfig === null || cardConfig === void 0 ? void 0 : cardConfig.presentation) === "CONTRACTED", fixed: cardConfig === null || cardConfig === void 0 ? void 0 : cardConfig.fixed, summaryFields: (_b = (_a = params.formConfig) === null || _a === void 0 ? void 0 : _a.summary) === null || _b === void 0 ? void 0 : _b.get(formName), fieldToFocus: params.fieldToFocus, key: formName, onSnkRequestClearFieldToFocus: _ => { var _a; return (_a = params.onRequestClearFieldToFocus) === null || _a === void 0 ? void 0 : _a.call(params); }, customEditors: params.propsCustomEditor, fieldsProps: params.fieldsProps });
303
+ return h("snk-form-view", { levelPath: params.levelPath, label: sheet.label, name: formName, fields: sheet.fields, formMetadata: params.formMetadata, dataUnit: params.dataUnit, recordsValidator: params.recordsValidator, contracted: (cardConfig === null || cardConfig === void 0 ? void 0 : cardConfig.presentation) === "CONTRACTED", fixed: cardConfig === null || cardConfig === void 0 ? void 0 : cardConfig.fixed, summaryFields: (_b = (_a = params.formConfig) === null || _a === void 0 ? void 0 : _a.summary) === null || _b === void 0 ? void 0 : _b.get(formName), fieldToFocus: params.fieldToFocus, key: formName, onSnkRequestClearFieldToFocus: _ => { var _a; return (_a = params.onRequestClearFieldToFocus) === null || _a === void 0 ? void 0 : _a.call(params); }, customEditors: params.propsCustomEditor, fieldsProps: params.fieldsProps, entityPath: params.entityPath });
293
304
  })));
294
305
  }
295
306
  wrapDetail(levels, content) {
@@ -311,11 +322,13 @@ const SnkGuidesViewer = class {
311
322
  }
312
323
  getContent() {
313
324
  if (!this.selectedGuide) {
325
+ this.snkShowGuide.emit(undefined);
314
326
  return;
315
327
  }
316
328
  const guideId = this.selectedGuide.id;
329
+ this.snkShowGuide.emit(guideId);
317
330
  if (this.isCustomGuide(guideId)) {
318
- return h("div", { "data-custom-id": `${this.CUSTOM_GUIDE_DATA_CUSTOM_ID}`, "data-reserved-slot-id": guideId, id: this.buildCustomGuideContainerId(guideId) });
331
+ return h("slot", { name: guideId });
319
332
  }
320
333
  const levels = guideId.split("::");
321
334
  const currentLevel = levels.pop();
@@ -326,16 +339,13 @@ const SnkGuidesViewer = class {
326
339
  }
327
340
  return this.buildFormViewGuideContent(guideId);
328
341
  }
329
- buildCustomGuideContainerId(guideId) {
330
- return `${this.CUSTOM_GUIDE_ID_PREFIX}${guideId}`;
331
- }
332
342
  buildFormViewGuideContent(cardId) {
333
343
  var _a, _b, _c, _d;
334
344
  const sheet = this._masterFormMetadata.getSheet(cardId);
335
345
  if (!sheet)
336
346
  return;
337
347
  const cardConfig = (_b = (_a = this.masterFormConfig) === null || _a === void 0 ? void 0 : _a.cardsState) === null || _b === void 0 ? void 0 : _b.get(cardId);
338
- return (h("snk-form-view", { ref: ref => this._mainForm = ref, fixed: cardConfig === null || cardConfig === void 0 ? void 0 : cardConfig.fixed, summaryFields: (_d = (_c = this.masterFormConfig) === null || _c === void 0 ? void 0 : _c.summary) === null || _d === void 0 ? void 0 : _d.get(cardId), name: cardId, label: sheet.label, fields: sheet.fields, dataUnit: this.dataUnit, formMetadata: this._masterFormMetadata, recordsValidator: this.recordsValidator, fieldToFocus: this._fieldToGetFocus, key: cardId, onSnkRequestClearFieldToFocus: _ => this.clearFieldToFocusHandler(), customEditors: this._customEditors, fieldsProps: this._fieldsProps, fieldSearch: this._fieldSearch }, this.presentationMode == PresentationMode.SECONDARY && this.buildTaskBar()));
348
+ return (h("snk-form-view", { ref: ref => this._mainForm = ref, fixed: cardConfig === null || cardConfig === void 0 ? void 0 : cardConfig.fixed, summaryFields: (_d = (_c = this.masterFormConfig) === null || _c === void 0 ? void 0 : _c.summary) === null || _d === void 0 ? void 0 : _d.get(cardId), name: cardId, label: sheet.label, fields: sheet.fields, dataUnit: this.dataUnit, formMetadata: this._masterFormMetadata, recordsValidator: this.recordsValidator, fieldToFocus: this._fieldToGetFocus, key: cardId, onSnkRequestClearFieldToFocus: _ => this.clearFieldToFocusHandler(), customEditors: this._customEditors, fieldsProps: this._fieldsProps, fieldSearch: this._fieldSearch, entityPath: this.entityPath }, this.presentationMode == PresentationMode.SECONDARY && this.buildTaskBar()));
339
349
  }
340
350
  isDetailGuide(childEntityName, levels) {
341
351
  return childEntityName || levels.length > 0;
@@ -358,20 +368,6 @@ const SnkGuidesViewer = class {
358
368
  var _a;
359
369
  return (_a = this.customGuidesConfig) === null || _a === void 0 ? void 0 : _a.map(g => g.id).includes(guideId);
360
370
  }
361
- attachCustomGuideInView() {
362
- //As guias customizadas ficam em slots reservados na DOM e
363
- // precisam ser acessadas via querySelector e colocadas no container correto na view.
364
- var _a;
365
- const guideId = (_a = this.selectedGuide) === null || _a === void 0 ? void 0 : _a.id;
366
- if (!this.isCustomGuide(guideId))
367
- return;
368
- const customGuideSlot = document.querySelector(`#${guideId}`);
369
- const customGuideElement = customGuideSlot === null || customGuideSlot === void 0 ? void 0 : customGuideSlot.firstElementChild;
370
- const customGuideViewContainer = document.querySelector(`#${this.buildCustomGuideContainerId(guideId)}`);
371
- if (!customGuideElement || !customGuideViewContainer)
372
- return;
373
- customGuideViewContainer.appendChild(customGuideElement);
374
- }
375
371
  onBreadcrumbClickHandler(item) {
376
372
  if ((item === null || item === void 0 ? void 0 : item.id) == undefined) {
377
373
  return;
@@ -453,29 +449,7 @@ const SnkGuidesViewer = class {
453
449
  this.addFormLegacyConfigName();
454
450
  this._configManager.loadConfig();
455
451
  }
456
- componentWillRender() {
457
- this.detachCustomGuideFromView();
458
- }
459
- detachCustomGuideFromView() {
460
- // Antes de cada renderização, o componente remove a guia customizada da view
461
- // e a coloca de volta no slot reservado na DOM para que não seja perdida sua referência.
462
- if (!this.customGuidesConfig || this.customGuidesConfig.length === 0)
463
- return;
464
- const viewCustomGuideContainer = this._element.querySelector(`[data-custom-id="${this.CUSTOM_GUIDE_DATA_CUSTOM_ID}"]`);
465
- const reservedSlotId = viewCustomGuideContainer === null || viewCustomGuideContainer === void 0 ? void 0 : viewCustomGuideContainer.getAttribute('data-reserved-slot-id');
466
- if (!(viewCustomGuideContainer === null || viewCustomGuideContainer === void 0 ? void 0 : viewCustomGuideContainer.hasChildNodes()) || !reservedSlotId)
467
- return;
468
- const customGuideReservedSlot = document.querySelector(`#${reservedSlotId}`);
469
- const customGuideElement = viewCustomGuideContainer === null || viewCustomGuideContainer === void 0 ? void 0 : viewCustomGuideContainer.firstElementChild;
470
- if (!customGuideReservedSlot || !customGuideElement)
471
- return;
472
- customGuideReservedSlot.appendChild(customGuideElement);
473
- }
474
452
  componentDidRender() {
475
- var _a;
476
- if (this.isCustomGuide((_a = this.selectedGuide) === null || _a === void 0 ? void 0 : _a.id)) {
477
- this.attachCustomGuideInView();
478
- }
479
453
  if (!this._guideHasChanged) {
480
454
  return;
481
455
  }
@@ -623,17 +597,14 @@ const SnkGuidesViewer = class {
623
597
  await this._mainForm.showSearchField();
624
598
  }, { description: this.getMessage("snkSimpleCrud.findFields"), element: this._element });
625
599
  }
626
- render() {
627
- var _a, _b;
600
+ renderFormConfig() {
628
601
  if (this._formEditorConfigManager != undefined) {
629
602
  return (h("snk-form-config", { ref: ref => this._container = ref, tabindex: -1, dataUnit: this._formEditorDataUnit, messagesBuilder: this.messagesBuilder, configManager: this._formEditorConfigManager, onConfigClose: () => this._formEditorConfigManager = null, customGuidesConfig: this.getCustomGuidesConfig() }));
630
603
  }
631
- if (!this.dataUnit || !this._configManager.isLoaded) {
632
- return;
633
- }
634
- this.loadTaskbarProcessor();
635
- const showGuides = this._guides && (this._guides.length > 1);
636
- return (h("section", { class: "snk-guides-viewer", ref: ref => this._container = ref, tabindex: -1 }, h("div", { class: "ez-row snk-guides-viewer__header" }, h("div", { class: "snk-guides-viewer__header-breadcrumb ez-flex--align-items-center ez-flex-item--align-center ez-padding-left--large", key: "header" }, h("ez-button", { onClick: () => this.exitViewer(), title: this.getMessage("snkCrud.goBackTitle"), mode: "icon", iconName: "arrow_back", class: "ez-padding-right--medium", size: "small" }), h("div", { class: "ez-flex ez-flex--column ez-flex-item--auto" }, h("h1", { class: "ez-title ez-title--primary ez-title--xlarge", title: this.getTitleTooltip() }, this.getTitle()), ((_a = this._breadcrumbItems) === null || _a === void 0 ? void 0 : _a.length) > 1 &&
604
+ }
605
+ renderGuidesNavigator(showGuides) {
606
+ var _a, _b;
607
+ return (h("section", { class: "snk-guides-viewer", ref: ref => this._container = ref, tabIndex: -1 }, h("div", { class: "ez-row snk-guides-viewer__header" }, h("div", { class: "snk-guides-viewer__header-breadcrumb ez-flex--align-items-center ez-flex-item--align-center ez-padding-left--large", key: "header" }, h("ez-button", { onClick: () => this.exitViewer(), title: this.getMessage("snkCrud.goBackTitle"), mode: "icon", iconName: "arrow_back", class: "ez-padding-right--medium", size: "small" }), h("div", { class: "ez-flex ez-flex--column ez-flex-item--auto" }, h("h1", { class: "ez-title ez-title--primary ez-title--xlarge", title: this.getTitleTooltip() }, this.getTitle()), ((_a = this._breadcrumbItems) === null || _a === void 0 ? void 0 : _a.length) > 1 &&
637
608
  h("div", { class: "ez-margin-top--extra-small" }, h("ez-breadcrumb", Object.assign({ items: this._breadcrumbItems, onSelectedItem: (evt) => this.onBreadcrumbClickHandler(evt === null || evt === void 0 ? void 0 : evt.detail) }, { [ElementIDUtils.DATA_ELEMENT_ID_ATTRIBUTE_NAME]: `${ElementIDUtils.getInternalIDInfo("breadcrumb")}` }))))), this.presentationMode != PresentationMode.SECONDARY && this.buildTaskBar()), h("div", { class: "snk-guides-viewer__container" }, showGuides ?
638
609
  h("ez-guide-navigator", { ref: (ref) => this._guideNavigator = ref, class: "snk-guides-viewer__guide-navigator", items: this._guides, selectedId: this.selectedGuide ? this.selectedGuide.id : undefined, onEzSelectionChange: evt => this.updateSelectedGuideHandler(evt.detail) })
639
610
  :
@@ -646,8 +617,17 @@ const SnkGuidesViewer = class {
646
617
  fieldToFocus: this._fieldToGetFocus,
647
618
  onRequestClearFieldToFocus: this.clearFieldToFocusHandler.bind(this),
648
619
  propsCustomEditor: this._customEditors,
649
- fieldsProps: this._fieldsProps
650
- }), this.getContent())), h("snk-configurator", { ref: (ref) => this._snkConfigurator = ref, viewMode: this.getConfigViewMode(), onConfigSelected: (evt) => this.changeConfigViewMode(evt.detail), messagesBuilder: this.messagesBuilder, onOpenConfig: (evt) => this.openConfig(evt.detail), resourceID: this.resourceID })));
620
+ fieldsProps: this._fieldsProps,
621
+ entityPath: this.entityPath
622
+ }), this.getContent())), h("snk-configurator", { ref: (ref) => this._snkConfigurator = ref, viewMode: this.getConfigViewMode(), onConfigSelected: (evt) => this.changeConfigViewMode(evt.detail), messagesBuilder: this.messagesBuilder, onOpenConfig: (evt) => this.openConfig(evt.detail), resourceID: this.resourceID, layoutFormConfig: false, disableNumberingConfig: true })));
623
+ }
624
+ render() {
625
+ if (!this.dataUnit || !this._configManager.isLoaded) {
626
+ return;
627
+ }
628
+ this.loadTaskbarProcessor();
629
+ const showGuides = this._guides && (this._guides.length > 1);
630
+ return (h("ez-view-stack", { ref: (ref) => this._viewStack = ref, "data-element-id": "guides-viewer-stack" }, h("stack-item", null, this.renderGuidesNavigator(showGuides)), h("stack-item", null, this.renderFormConfig())));
651
631
  }
652
632
  get _element() { return getElement(this); }
653
633
  static get watchers() { return {
@@ -663,6 +643,11 @@ var TASKBAR_ID;
663
643
  TASKBAR_ID["MUTIPLE_EDITION"] = "snkGuideViewer.multiple_edition";
664
644
  TASKBAR_ID["REGULAR"] = "snkGuideViewer.regular";
665
645
  })(TASKBAR_ID || (TASKBAR_ID = {}));
646
+ var GUIDES_VIEWER_VIEW_MODE;
647
+ (function (GUIDES_VIEWER_VIEW_MODE) {
648
+ GUIDES_VIEWER_VIEW_MODE[GUIDES_VIEWER_VIEW_MODE["GUIDES"] = 0] = "GUIDES";
649
+ GUIDES_VIEWER_VIEW_MODE[GUIDES_VIEWER_VIEW_MODE["CONFIG"] = 1] = "CONFIG";
650
+ })(GUIDES_VIEWER_VIEW_MODE || (GUIDES_VIEWER_VIEW_MODE = {}));
666
651
  SnkGuidesViewer.style = snkGuidesViewerCss;
667
652
 
668
653
  export { SnkGuidesViewer as S };
@@ -1,24 +1,25 @@
1
- export { S as snk_guides_viewer } from './snk-guides-viewer-240de636.js';
2
- import './index-479e1293.js';
1
+ export { S as snk_guides_viewer } from './snk-guides-viewer-27d9e78c.js';
2
+ import './index-04f73a26.js';
3
3
  import '@sankhyalabs/core';
4
4
  import '@sankhyalabs/core/dist/dataunit/DataUnit';
5
5
  import '@sankhyalabs/ezui/dist/collection/utils';
6
6
  import '@sankhyalabs/ezui/dist/collection/utils/form';
7
- import './DataFetcher-450828a0.js';
7
+ import './DataFetcher-1dd7e8c0.js';
8
8
  import './PrintUtils-3e4ff0f5.js';
9
+ import './SnkMessageBuilder-c0bc4424.js';
9
10
  import '@sankhyalabs/core/dist/dataunit/metadata/UnitMetadata';
10
- import './ISave-61153166.js';
11
+ import './ISave-498c4831.js';
11
12
  import './index-b40568ff.js';
12
13
  import '@sankhyalabs/ezui/dist/collection/utils/constants';
13
- import './dataunit-fetcher-da9596f6.js';
14
+ import './dataunit-fetcher-3d5c4ae4.js';
14
15
  import '@sankhyalabs/ezui/dist/collection/components/ez-grid/utils';
15
16
  import '@sankhyalabs/core/dist/utils/SortingUtils';
16
17
  import './ResourceIDUtils-a114189a.js';
17
18
  import './filter-item-type.enum-d45e026f.js';
18
- import './form-config-fetcher-8d0a5e1c.js';
19
+ import './form-config-fetcher-fcc7b62f.js';
19
20
  import './constants-7b422de0.js';
20
- import './SnkFormConfigManager-b5a92e12.js';
21
- import './ConfigStorage-22324b6b.js';
22
- import './taskbar-elements-faaf5d8f.js';
23
- import './index-446f9341.js';
21
+ import './SnkFormConfigManager-86befa68.js';
22
+ import './ConfigStorage-d15d2014.js';
23
+ import './taskbar-elements-97541bdd.js';
24
+ import './index-ea250be6.js';
24
25
  import './taskbar-processor-3436124c.js';
@@ -0,0 +1,144 @@
1
+ import { r as registerInstance, e as createEvent, h, f as Host } from './index-04f73a26.js';
2
+ import { Action, ApplicationContext } from '@sankhyalabs/core';
3
+ import { S as SnkMessageBuilder } from './SnkMessageBuilder-c0bc4424.js';
4
+ import { b as base64ToBlob, s as sessionFileUpload, a as buildFileKey, g as getPKs, d as downloadImage } from './ImageUtils-8fc8d905.js';
5
+
6
+ const snkImageInputCss = ":host{display:block}";
7
+
8
+ const SnkImageInput = class {
9
+ constructor(hostRef) {
10
+ registerInstance(this, hostRef);
11
+ this.imageError = createEvent(this, "imageError", 7);
12
+ this.dataUnitObserver = async (action) => {
13
+ var _a;
14
+ const actionsMoveSelection = [Action.NEXT_SELECTED, Action.PREVIOUS_SELECTED];
15
+ if (actionsMoveSelection.includes(action.type)) {
16
+ await this.loadImage();
17
+ return;
18
+ }
19
+ const selection = ((_a = action.payload) === null || _a === void 0 ? void 0 : _a.selection) || [];
20
+ if (action.type === Action.SELECTION_CHANGED && selection.length > 0) {
21
+ await this.loadImage();
22
+ return;
23
+ }
24
+ if (action.type === Action.RECORDS_ADDED) {
25
+ await this.clearImage();
26
+ return;
27
+ }
28
+ };
29
+ this.dataUnit = undefined;
30
+ this.fieldName = undefined;
31
+ this.entityName = undefined;
32
+ this.enabled = true;
33
+ this.acceptType = undefined;
34
+ this.maxSize = undefined;
35
+ this.label = undefined;
36
+ this.imageValue = undefined;
37
+ this.loading = true;
38
+ }
39
+ /**
40
+ * Força o reload da imagem
41
+ */
42
+ async reloadImage(pks) {
43
+ await this.loadImage(pks);
44
+ }
45
+ getMessage(key, params) {
46
+ if (!this.messagesBuilder) {
47
+ this.messagesBuilder = new SnkMessageBuilder();
48
+ }
49
+ return this.messagesBuilder.getMessage(key, params);
50
+ }
51
+ async clearImage() {
52
+ this.imageValue = undefined;
53
+ }
54
+ async handleImageChange(event) {
55
+ const base64 = event.detail;
56
+ if (!base64) {
57
+ await this.clearImage();
58
+ await this.updatedataUnitField(true);
59
+ return;
60
+ }
61
+ const blob = await base64ToBlob(base64);
62
+ if (this.maxSize && blob.size > this.maxSize * 1024) {
63
+ const errorMsg = this.getMessage('snkImageInput.errorImageSize') + this.maxSize + '(KB)';
64
+ this.imageError.emit(errorMsg);
65
+ if (this.application) {
66
+ await this.application.error(this.getMessage('snkImageInput.errorTitle'), errorMsg);
67
+ }
68
+ return;
69
+ }
70
+ this.imageValue = base64;
71
+ await sessionFileUpload(blob, this.entityName, this.fieldName);
72
+ await this.updatedataUnitField();
73
+ }
74
+ async updatedataUnitField(deleted = false) {
75
+ if (!this.dataUnit || !this.dataUnit.getSelectedRecord()) {
76
+ return;
77
+ }
78
+ if (deleted) {
79
+ await this.dataUnit.setFieldValue(this.fieldName, 'deletado');
80
+ }
81
+ else {
82
+ await this.dataUnit.setFieldValue(this.fieldName, `$file.session.key{${buildFileKey(this.entityName, this.fieldName)}}`);
83
+ }
84
+ }
85
+ async handleImageError(event) {
86
+ this.imageError.emit(event.detail);
87
+ if (this.application) {
88
+ await this.application.error(this.getMessage('snkImageInput.errorTitle'), event.detail);
89
+ }
90
+ }
91
+ getPksFromDataUnit() {
92
+ if (!this.dataUnit) {
93
+ return undefined;
94
+ }
95
+ const selectedRecord = this.dataUnit.getSelectedRecord();
96
+ if (!selectedRecord) {
97
+ return undefined;
98
+ }
99
+ const fieldValue = selectedRecord[this.fieldName];
100
+ if (!fieldValue) {
101
+ return undefined;
102
+ }
103
+ try {
104
+ const pk = JSON.parse(fieldValue);
105
+ return pk;
106
+ }
107
+ catch (error) {
108
+ console.error('Error parsing PK from data unit field:', error);
109
+ return undefined;
110
+ }
111
+ }
112
+ async loadImage(pks) {
113
+ var _a;
114
+ this.loading = true;
115
+ if (this.dataUnit && this.entityName) {
116
+ pks = (_a = pks !== null && pks !== void 0 ? pks : this.getPksFromDataUnit()) !== null && _a !== void 0 ? _a : getPKs(this.dataUnit);
117
+ this.imageValue = await downloadImage(pks, this.fieldName, this.entityName);
118
+ }
119
+ this.loading = false;
120
+ }
121
+ async componentWillLoad() {
122
+ this.application = ApplicationContext.getContextValue("__SNK__APPLICATION__");
123
+ if (!this.messagesBuilder) {
124
+ this.messagesBuilder = new SnkMessageBuilder();
125
+ }
126
+ if (this.dataUnit) {
127
+ this.dataUnit.subscribe(this.dataUnitObserver);
128
+ }
129
+ }
130
+ disconnectedCallback() {
131
+ if (this.dataUnit) {
132
+ this.dataUnit.unsubscribe(this.dataUnitObserver);
133
+ }
134
+ }
135
+ async componentDidLoad() {
136
+ await this.loadImage();
137
+ }
138
+ render() {
139
+ return (h(Host, null, h("ez-image-input", { enabled: this.enabled, label: this.label, name: this.fieldName, value: this.imageValue, maxFileSize: this.maxSize ? this.maxSize * 1024 : undefined, accept: this.acceptType || 'image/png,image/jpeg,image/gif', onEzChange: (e) => this.handleImageChange(e), onEzError: (e) => this.handleImageError(e), loading: this.loading })));
140
+ }
141
+ };
142
+ SnkImageInput.style = snkImageInputCss;
143
+
144
+ export { SnkImageInput as snk_image_input };
@@ -0,0 +1,68 @@
1
+ import { r as registerInstance, h } from './index-04f73a26.js';
2
+ import './DataFetcher-1dd7e8c0.js';
3
+ import './ISave-498c4831.js';
4
+ import { ApplicationContext } from '@sankhyalabs/core';
5
+ import './index-b40568ff.js';
6
+ import '@sankhyalabs/ezui/dist/collection/utils/constants';
7
+ import '@sankhyalabs/core/dist/dataunit/metadata/UnitMetadata';
8
+ import './dataunit-fetcher-3d5c4ae4.js';
9
+ import './filter-item-type.enum-d45e026f.js';
10
+ import { F as FormConfigFetcher } from './form-config-fetcher-fcc7b62f.js';
11
+ import './constants-7b422de0.js';
12
+ import { FormLayout } from '@sankhyalabs/ezui/dist/collection/utils';
13
+ import './PrintUtils-3e4ff0f5.js';
14
+ import './SnkMessageBuilder-c0bc4424.js';
15
+ import '@sankhyalabs/ezui/dist/collection/components/ez-grid/utils';
16
+ import '@sankhyalabs/core/dist/utils/SortingUtils';
17
+ import './ResourceIDUtils-a114189a.js';
18
+
19
+ const snkLayoutFormConfigCss = ".sc-snk-layout-form-config-h{display:block}";
20
+
21
+ const FORM_COL_CONFIG_PREFIX = 'formColCfg.';
22
+ const SnkLayoutFormConfig = class {
23
+ constructor(hostRef) {
24
+ registerInstance(this, hostRef);
25
+ this._formConfigFetcher = new FormConfigFetcher();
26
+ this.messagesBuilder = undefined;
27
+ this.layoutType = FormLayout.SIDE_BY_SIDE;
28
+ }
29
+ /**
30
+ * Salva o tipo de layout escolhido. Sem retorno.
31
+ */
32
+ async save() {
33
+ this._LayoutFormConfigSingleton.setConfig(this.layoutType);
34
+ this._formConfigFetcher.saveLayoutFormConfig(FORM_COL_CONFIG_PREFIX + this._resourceID, { config: this.layoutType, newConfig: true });
35
+ }
36
+ async componentWillLoad() {
37
+ const _application = ApplicationContext.getContextValue("__SNK__APPLICATION__");
38
+ this._LayoutFormConfigSingleton = await (_application === null || _application === void 0 ? void 0 : _application.getLayoutFormConfig());
39
+ this._resourceID = await (_application === null || _application === void 0 ? void 0 : _application.getResourceID());
40
+ this.setLayoutInit();
41
+ }
42
+ setLayoutInit() {
43
+ if (!this._LayoutFormConfigSingleton)
44
+ return;
45
+ const { config } = this._LayoutFormConfigSingleton;
46
+ if (config == null) {
47
+ this.layoutType = FormLayout.SIDE_BY_SIDE;
48
+ return;
49
+ }
50
+ const configAsNumber = Number(config);
51
+ this.layoutType = Object.values(FormLayout).includes(configAsNumber)
52
+ ? configAsNumber
53
+ : FormLayout.SIDE_BY_SIDE;
54
+ }
55
+ toggleLayout(key) {
56
+ this.layoutType = key;
57
+ }
58
+ getMessage(key, params) {
59
+ var _a;
60
+ return (_a = this.messagesBuilder) === null || _a === void 0 ? void 0 : _a.getMessage(key, params);
61
+ }
62
+ render() {
63
+ return (h("div", { class: "ez-flex ez-flex--column" }, h("div", { class: "ez-margin-bottom--small" }, h("ez-check", { label: this.getMessage('snkLayoutFormConfig.cascadeLayout.label'), class: "ez-margin-bottom--small", onEzChange: () => this.toggleLayout(FormLayout.CASCADE), value: this.layoutType === FormLayout.CASCADE }), h("snk-view-representation", { mode: FormLayout.CASCADE }), h("label", { class: "ez-label ez-margin--small ez-flex ez-text--medium" }, this.getMessage('snkLayoutFormConfig.cascadeLayout.description'))), h("div", { class: "ez-margin-bottom--small" }, h("ez-check", { label: this.getMessage('snkLayoutFormConfig.classicCascadeLayout.label'), class: "ez-margin-bottom--small", onEzChange: () => this.toggleLayout(FormLayout.CLASSIC_CASCADE), value: this.layoutType === FormLayout.CLASSIC_CASCADE }), h("snk-view-representation", { mode: FormLayout.CLASSIC_CASCADE }), h("label", { class: "ez-label ez-margin--small ez-flex ez-text--medium" }, this.getMessage('snkLayoutFormConfig.classicCascadeLayout.description'))), h("div", { class: "ez-margin-bottom--small" }, h("ez-check", { label: this.getMessage('snkLayoutFormConfig.sideBySideLayout.label'), class: "ez-margin-bottom--small", onEzChange: () => this.toggleLayout(FormLayout.SIDE_BY_SIDE), value: this.layoutType === FormLayout.SIDE_BY_SIDE }), h("snk-view-representation", { mode: FormLayout.SIDE_BY_SIDE }), h("label", { class: "ez-label ez-margin--small ez-flex ez-text--medium" }, this.getMessage('snkLayoutFormConfig.sideBySideLayout.description'))), h("div", null, h("ez-check", { label: this.getMessage('snkLayoutFormConfig.classicSideBySideLayout.label'), class: "ez-margin-bottom--small", onEzChange: () => this.toggleLayout(FormLayout.CLASSIC_SIDE_BY_SIDE), value: this.layoutType === FormLayout.CLASSIC_SIDE_BY_SIDE }), h("snk-view-representation", { mode: FormLayout.CLASSIC_SIDE_BY_SIDE }), h("label", { class: "ez-label ez-margin--small ez-flex ez-text--medium" }, this.getMessage('snkLayoutFormConfig.classicSideBySideLayout.description')))));
64
+ }
65
+ };
66
+ SnkLayoutFormConfig.style = snkLayoutFormConfigCss;
67
+
68
+ export { SnkLayoutFormConfig as snk_layout_form_config };
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, c as createEvent, h, F as Fragment, H as Host, g as getElement } from './index-479e1293.js';
1
+ import { r as registerInstance, e as createEvent, h, F as Fragment, f as Host, g as getElement } from './index-04f73a26.js';
2
2
  import { ElementIDUtils, UserInterface, ApplicationContext } from '@sankhyalabs/core';
3
3
  import { F as FilterItemType } from './filter-item-type.enum-d45e026f.js';
4
4
  import { E as EPresentationMode } from './presentationMode-783bbf9d.js';
@@ -1,14 +1,15 @@
1
- import { r as registerInstance, c as createEvent, h, F as Fragment, H as Host } from './index-479e1293.js';
1
+ import { r as registerInstance, e as createEvent, h, F as Fragment, f as Host } from './index-04f73a26.js';
2
2
  import { StringUtils, ObjectUtils, ApplicationContext, ElementIDUtils } from '@sankhyalabs/core';
3
- import { P as PersonalizedFilterUtils } from './PersonalizedFilterUtils-2db38ff2.js';
4
- import { P as PersonalizedFilterFetcher, C as ConfigStorage } from './ConfigStorage-22324b6b.js';
3
+ import { P as PersonalizedFilterUtils } from './PersonalizedFilterUtils-d2439a9a.js';
4
+ import { P as PersonalizedFilterFetcher, C as ConfigStorage } from './ConfigStorage-d15d2014.js';
5
5
  import { ApplicationUtils } from '@sankhyalabs/ezui/dist/collection/utils';
6
6
  import { a as FilterGroupCondition, D as DefaultFilter } from './index-8acbae97.js';
7
- import { s as store } from './index-446f9341.js';
7
+ import { s as store } from './index-ea250be6.js';
8
8
  import './filter-item-type.enum-d45e026f.js';
9
- import './form-config-fetcher-8d0a5e1c.js';
10
- import './DataFetcher-450828a0.js';
9
+ import './form-config-fetcher-fcc7b62f.js';
10
+ import './DataFetcher-1dd7e8c0.js';
11
11
  import './PrintUtils-3e4ff0f5.js';
12
+ import './SnkMessageBuilder-c0bc4424.js';
12
13
  import '@sankhyalabs/core/dist/dataunit/metadata/UnitMetadata';
13
14
 
14
15
  const snkPersonalizedFilterCss = ".sc-snk-personalized-filter-h{display:flex;height:100%;padding:var(--space--large, 24px);--snk-personalized-filter--width:100%;--snk-personalized-filter--height:100%;--snk-personalized-filter--background-color-line:var(--color--disable-secondary);--snk-personalized-filter--margin-line:var(--border--radius-medium, 12px)}.snk-personalized-filter.sc-snk-personalized-filter{height:var(--snk-personalized-filter--width);width:var(--snk-personalized-filter--height)}.snk-personalized-filter__header-actions.sc-snk-personalized-filter{display:flex;gap:var(--space--medium)}.snk-personalized-filter__group.sc-snk-personalized-filter{flex:1}.snk-personalized-filter__expression-input--line.sc-snk-personalized-filter{width:100%;height:2px;background-color:var(--snk-personalized-filter--background-color-line);margin-top:var(--snk-personalized-filter--margin-line);margin-bottom:var(--snk-personalized-filter--margin-line)}.ez-box__main.sc-snk-personalized-filter{height:90%}.snk-personalized-filter__button-mode.sc-snk-personalized-filter{height:35px}";
@@ -1,15 +1,16 @@
1
- import { r as registerInstance, h, H as Host, g as getElement } from './index-479e1293.js';
1
+ import { r as registerInstance, h, f as Host, g as getElement } from './index-04f73a26.js';
2
2
  import { ObjectUtils, StringUtils, ApplicationContext, ElementIDUtils } from '@sankhyalabs/core';
3
- import { P as PesquisaFetcher, b as buildGridMetadata, a as PESQUISA_VIEW_MODE } from './ISave-61153166.js';
4
- import './DataFetcher-450828a0.js';
3
+ import { P as PesquisaFetcher, b as buildGridMetadata, a as PESQUISA_VIEW_MODE } from './ISave-498c4831.js';
4
+ import './DataFetcher-1dd7e8c0.js';
5
5
  import './index-b40568ff.js';
6
6
  import '@sankhyalabs/ezui/dist/collection/utils/constants';
7
7
  import '@sankhyalabs/core/dist/dataunit/metadata/UnitMetadata';
8
- import './dataunit-fetcher-da9596f6.js';
8
+ import './dataunit-fetcher-3d5c4ae4.js';
9
9
  import './filter-item-type.enum-d45e026f.js';
10
- import './form-config-fetcher-8d0a5e1c.js';
10
+ import './form-config-fetcher-fcc7b62f.js';
11
11
  import './constants-7b422de0.js';
12
12
  import './PrintUtils-3e4ff0f5.js';
13
+ import './SnkMessageBuilder-c0bc4424.js';
13
14
  import '@sankhyalabs/ezui/dist/collection/components/ez-grid/utils';
14
15
  import '@sankhyalabs/core/dist/utils/SortingUtils';
15
16
  import './ResourceIDUtils-a114189a.js';
@@ -52,7 +53,6 @@ const SnkPesquisa = class {
52
53
  * Útil para cenários onde a pesquisa precisa ser disparada sem interação do usuário.
53
54
  *
54
55
  * @param text Texto utilizado como argumento de pesquisa.
55
- * @returns Promise<void>
56
56
  * @example
57
57
  * await pesquisaRef.executeSearch("Texto para pesquisa");
58
58
  */
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, h, H as Host, g as getElement } from './index-479e1293.js';
1
+ import { r as registerInstance, h, f as Host, g as getElement } from './index-04f73a26.js';
2
2
  import { P as PrintUtils } from './PrintUtils-3e4ff0f5.js';
3
3
  import { ApplicationUtils } from '@sankhyalabs/ezui/dist/collection/utils';
4
4
  import { ElementIDUtils, ApplicationContext } from '@sankhyalabs/core';
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, c as createEvent, h, g as getElement } from './index-479e1293.js';
1
+ import { r as registerInstance, e as createEvent, h, g as getElement } from './index-04f73a26.js';
2
2
  import { ElementIDUtils, ApplicationContext } from '@sankhyalabs/core';
3
3
 
4
4
  const snkSimpleBarCss = ".sc-snk-simple-bar-h{display:flex;height:100%;width:100%}.simple-bar__container.sc-snk-simple-bar{flex:1;display:flex;align-items:stretch;gap:var(--space--small)}.simple-bar__left-slot.sc-snk-simple-bar{min-width:280px;flex:1;display:flex;align-items:center}.simple-bar__right-slot.sc-snk-simple-bar{flex:1;display:flex;align-items:center;justify-content:flex-end}.simple-bar__column.sc-snk-simple-bar{flex:1;display:flex;flex-direction:column}";