@sankhyalabs/sankhyablocks 10.1.0-dev.3 → 10.1.0-dev.31

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 (376) hide show
  1. package/dist/cjs/{ConfigStorage-b29e31be.js → ConfigStorage-d9d24844.js} +2 -2
  2. package/dist/cjs/{DataFetcher-ed9d97ea.js → DataFetcher-3a8ea521.js} +2 -2733
  3. package/dist/cjs/{FormConfigHelper-ebb77625.js → FormConfigHelper-28fe4668.js} +44 -0
  4. package/dist/cjs/{ISave-81eb2fbc.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-6838389c.js → SnkFormConfigManager-c88cf1e9.js} +7 -7
  8. package/dist/cjs/SnkMessageBuilder-d9558dba.js +2809 -0
  9. package/dist/cjs/{SnkMultiSelectionListDataSource-1e804147.js → SnkMultiSelectionListDataSource-a891430e.js} +5 -5
  10. package/dist/cjs/{auth-fetcher-cc28d847.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-ab1cc071.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 +7 -4
  18. package/dist/cjs/fields-selector.cjs.entry.js +2 -2
  19. package/dist/cjs/{form-config-fetcher-f0897eb5.js → form-config-fetcher-72cf0e3d.js} +1 -1
  20. package/dist/cjs/guides-configurator.cjs.entry.js +6 -4
  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} +20 -61
  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 -10
  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-68992932.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 +67 -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 +34 -10
  59. package/dist/cjs/snk-grid.cjs.entry.js +30 -19
  60. package/dist/cjs/{snk-guides-viewer-8b841753.js → snk-guides-viewer-58185ae3.js} +91 -42
  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 +59 -47
  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 +8 -1
  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 +48 -3
  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 +138 -36
  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 +5 -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 +46 -13
  94. package/dist/collection/components/snk-form-config/FormConfigHelper.js +42 -0
  95. package/dist/collection/components/snk-form-config/SnkFormConfigManager.js +6 -6
  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 +6 -3
  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 +5 -3
  101. package/dist/collection/components/snk-form-config/snk-form-config.js +53 -6
  102. package/dist/collection/components/snk-grid/snk-grid.css +12 -0
  103. package/dist/collection/components/snk-grid/snk-grid.js +22 -12
  104. package/dist/collection/components/snk-grid-config/snk-grid-config.js +12 -4
  105. package/dist/collection/components/snk-image-input/snk-image-input.css +3 -0
  106. package/dist/collection/components/snk-image-input/snk-image-input.js +326 -0
  107. package/dist/collection/components/snk-image-input/utils/ImageUtils.js +133 -0
  108. package/dist/collection/components/snk-layout-form-config/snk-layout-form-config.js +1 -1
  109. package/dist/collection/components/snk-layout-form-config/snk-view-representation/snk-view-representation.js +1 -1
  110. package/dist/collection/components/snk-personalized-filter/subcomponents/snk-filter-param-config/utils/PersonalizedFilterUtils.js +13 -0
  111. package/dist/collection/components/snk-pesquisa/snk-pesquisa.js +0 -4
  112. package/dist/collection/components/snk-simple-crud/snk-simple-crud.js +23 -12
  113. package/dist/collection/components/snk-taskbar/elements/taskbar-elements.js +4 -3
  114. package/dist/collection/components/snk-taskbar/snk-taskbar.js +58 -44
  115. package/dist/collection/lib/message/SnkMessageBuilder.js +11 -2
  116. package/dist/collection/lib/message/messageResourceEnUSUtils.js +2 -0
  117. package/dist/collection/lib/message/messageResourceEsESUtils.js +2 -0
  118. package/dist/collection/lib/message/messageResourcePtBRUtils.js +2 -0
  119. package/dist/collection/lib/message/resources/en-us/snk-crud.msg.js +1 -1
  120. package/dist/collection/lib/message/resources/en-us/snk-form.msg.js +7 -0
  121. package/dist/collection/lib/message/resources/en-us/snk-image-input.msg.js +11 -0
  122. package/dist/collection/lib/message/resources/en-us/snk-layout-form-config.msg.js +10 -2
  123. package/dist/collection/lib/message/resources/es-es/snk-crud.msg.js +1 -1
  124. package/dist/collection/lib/message/resources/es-es/snk-form.msg.js +7 -0
  125. package/dist/collection/lib/message/resources/es-es/snk-image-input.msg.js +11 -0
  126. package/dist/collection/lib/message/resources/es-es/snk-layout-form-config.msg.js +8 -0
  127. package/dist/collection/lib/message/resources/pt-br/snk-configurator.msg.js +1 -1
  128. package/dist/collection/lib/message/resources/pt-br/snk-crud.msg.js +1 -1
  129. package/dist/collection/lib/message/resources/pt-br/snk-form.msg.js +8 -1
  130. package/dist/collection/lib/message/resources/pt-br/snk-image-input.msg.js +11 -0
  131. package/dist/collection/lib/message/resources/pt-br/snk-layout-form-config.msg.js +10 -2
  132. package/dist/components/DataFetcher.js +3 -2713
  133. package/dist/components/PersonalizedFilterUtils.js +13 -0
  134. package/dist/components/SnkFormConfigManager.js +6 -6
  135. package/dist/components/SnkMessageBuilder.js +2807 -0
  136. package/dist/components/dataunit-fetcher.js +2 -1
  137. package/dist/components/field-config2.js +44 -2
  138. package/dist/components/fields-layout2.js +6 -3
  139. package/dist/components/guides-configurator2.js +5 -3
  140. package/dist/components/index.d.ts +2 -0
  141. package/dist/components/index.js +2 -0
  142. package/dist/components/index2.js +90 -21
  143. package/dist/components/snk-application2.js +22 -2
  144. package/dist/components/snk-attach2.js +3 -2
  145. package/dist/components/snk-crud.js +79 -65
  146. package/dist/components/snk-custom-slot-guide.d.ts +11 -0
  147. package/dist/components/snk-custom-slot-guide.js +55 -0
  148. package/dist/components/snk-data-unit2.js +10 -1
  149. package/dist/components/snk-detail-view2.js +186 -121
  150. package/dist/components/snk-filter-bar2.js +41 -14
  151. package/dist/components/snk-filter-detail2.js +1 -1
  152. package/dist/components/snk-filter-item2.js +6 -2
  153. package/dist/components/snk-filter-modal2.js +16 -6
  154. package/dist/components/snk-filter-number.js +12 -8
  155. package/dist/components/snk-filter-period.js +13 -6
  156. package/dist/components/snk-filter-text.js +1 -1
  157. package/dist/components/snk-form-config2.js +29 -5
  158. package/dist/components/snk-form-view2.js +82 -10
  159. package/dist/components/snk-grid-config2.js +12 -4
  160. package/dist/components/snk-grid2.js +22 -11
  161. package/dist/components/snk-image-input.d.ts +11 -0
  162. package/dist/components/snk-image-input.js +6 -0
  163. package/dist/components/snk-image-input2.js +302 -0
  164. package/dist/components/snk-layout-form-config2.js +1 -1
  165. package/dist/components/snk-pesquisa2.js +0 -1
  166. package/dist/components/snk-simple-crud2.js +6 -12
  167. package/dist/components/snk-taskbar2.js +61 -48
  168. package/dist/components/snk-view-representation2.js +1 -1
  169. package/dist/esm/{ConfigStorage-13d80e36.js → ConfigStorage-d15d2014.js} +2 -2
  170. package/dist/esm/{DataFetcher-f4ccd9f3.js → DataFetcher-1dd7e8c0.js} +3 -2713
  171. package/dist/esm/{FormConfigHelper-4e42f0b6.js → FormConfigHelper-d09669f3.js} +43 -1
  172. package/dist/esm/{ISave-288fa9df.js → ISave-498c4831.js} +1 -1
  173. package/dist/esm/ImageUtils-8fc8d905.js +136 -0
  174. package/dist/esm/{PersonalizedFilterUtils-2db38ff2.js → PersonalizedFilterUtils-d2439a9a.js} +13 -0
  175. package/dist/esm/{SnkFormConfigManager-3ee2937b.js → SnkFormConfigManager-86befa68.js} +7 -7
  176. package/dist/esm/SnkMessageBuilder-c0bc4424.js +2807 -0
  177. package/dist/esm/{SnkMultiSelectionListDataSource-5d3a93f2.js → SnkMultiSelectionListDataSource-14633bf6.js} +5 -5
  178. package/dist/esm/{auth-fetcher-59ab0c67.js → auth-fetcher-69cbda8d.js} +1 -1
  179. package/dist/esm/config-header.entry.js +1 -1
  180. package/dist/esm/configs-button.entry.js +1 -1
  181. package/dist/esm/css-shim-9f2d321e.js +4 -0
  182. package/dist/esm/{dataunit-fetcher-c4f9f222.js → dataunit-fetcher-3d5c4ae4.js} +2 -1
  183. package/dist/esm/dom-64053c71.js +73 -0
  184. package/dist/esm/field-config_2.entry.js +3 -3
  185. package/dist/esm/fields-layout.entry.js +7 -4
  186. package/dist/esm/fields-selector.entry.js +2 -2
  187. package/dist/esm/{form-config-fetcher-6a00fe9e.js → form-config-fetcher-fcc7b62f.js} +1 -1
  188. package/dist/esm/guides-configurator.entry.js +6 -4
  189. package/dist/esm/{index-479e1293.js → index-04f73a26.js} +1517 -173
  190. package/dist/esm/{index-446f9341.js → index-ea250be6.js} +90 -21
  191. package/dist/esm/loader.js +17 -3
  192. package/dist/esm/pesquisa-grid_2.entry.js +6 -5
  193. package/dist/esm/sankhyablocks.js +133 -5
  194. package/dist/esm/shadow-css-98135883.js +387 -0
  195. package/dist/esm/{snk-actions-button_9.entry.js → snk-actions-button_8.entry.js} +21 -61
  196. package/dist/esm/snk-actions-form.entry.js +1 -1
  197. package/dist/esm/snk-application.entry.js +28 -8
  198. package/dist/esm/snk-attach.entry.js +9 -8
  199. package/dist/esm/snk-client-confirm.entry.js +1 -1
  200. package/dist/esm/snk-configurator.entry.js +1 -1
  201. package/dist/esm/snk-crud.entry.js +18 -10
  202. package/dist/esm/snk-custom-slot-elements.entry.js +1 -1
  203. package/dist/esm/snk-custom-slot-guide.entry.js +36 -0
  204. package/dist/esm/snk-data-exporter.entry.js +7 -6
  205. package/dist/esm/{snk-data-unit-0edeb967.js → snk-data-unit-363c3551.js} +12 -3
  206. package/dist/esm/snk-data-unit.entry.js +5 -4
  207. package/dist/esm/snk-default-filter.entry.js +1 -1
  208. package/dist/esm/snk-detail-view.entry.js +16 -12
  209. package/dist/esm/snk-entity-list.entry.js +1 -1
  210. package/dist/esm/snk-exporter-email-sender.entry.js +1 -1
  211. package/dist/esm/snk-expression-group_2.entry.js +2 -2
  212. package/dist/esm/snk-filter-advanced-mode_2.entry.js +2 -2
  213. package/dist/esm/snk-filter-bar_4.entry.js +67 -25
  214. package/dist/esm/snk-filter-binary-select.entry.js +1 -1
  215. package/dist/esm/snk-filter-checkbox-list.entry.js +1 -1
  216. package/dist/esm/snk-filter-detail.entry.js +3 -3
  217. package/dist/esm/snk-filter-field-search_2.entry.js +2 -2
  218. package/dist/esm/snk-filter-modal-item.entry.js +5 -4
  219. package/dist/esm/snk-filter-multi-select.entry.js +1 -1
  220. package/dist/esm/snk-filter-number.entry.js +11 -7
  221. package/dist/esm/snk-filter-period.entry.js +14 -7
  222. package/dist/esm/snk-filter-search.entry.js +1 -1
  223. package/dist/esm/snk-filter-text.entry.js +2 -2
  224. package/dist/esm/snk-form-summary.entry.js +1 -1
  225. package/dist/esm/snk-form-view.entry.js +74 -9
  226. package/dist/esm/snk-form_2.entry.js +34 -10
  227. package/dist/esm/snk-grid.entry.js +30 -19
  228. package/dist/esm/{snk-guides-viewer-9cd4d20f.js → snk-guides-viewer-6a72a3f4.js} +91 -42
  229. package/dist/esm/snk-guides-viewer.entry.js +11 -10
  230. package/dist/esm/snk-image-input.entry.js +144 -0
  231. package/dist/esm/snk-layout-form-config.entry.js +68 -0
  232. package/dist/esm/snk-personalized-filter-editor.entry.js +1 -1
  233. package/dist/esm/snk-personalized-filter.entry.js +7 -6
  234. package/dist/esm/snk-pesquisa.entry.js +6 -6
  235. package/dist/esm/snk-print-selector.entry.js +1 -1
  236. package/dist/esm/snk-simple-bar.entry.js +1 -1
  237. package/dist/esm/snk-simple-crud.entry.js +15 -21
  238. package/dist/esm/snk-taskbar.entry.js +60 -48
  239. package/dist/esm/{taskbar-elements-faaf5d8f.js → taskbar-elements-97541bdd.js} +6 -5
  240. package/dist/esm/teste-pesquisa.entry.js +1 -1
  241. package/dist/sankhyablocks/{p-7f7fe6c4.entry.js → p-0a160fb5.entry.js} +1 -1
  242. package/dist/sankhyablocks/p-10cad767.entry.js +1 -0
  243. package/dist/sankhyablocks/{p-162bddae.entry.js → p-175c9576.entry.js} +1 -1
  244. package/dist/sankhyablocks/p-18cc9111.entry.js +1 -0
  245. package/dist/sankhyablocks/p-1df34264.entry.js +11 -0
  246. package/dist/sankhyablocks/p-27d6590e.js +1 -0
  247. package/dist/sankhyablocks/{p-c4fcf1fb.entry.js → p-27e0cd68.entry.js} +1 -1
  248. package/dist/sankhyablocks/p-2a356340.entry.js +1 -0
  249. package/dist/sankhyablocks/{p-9a63f3f7.entry.js → p-2b882835.entry.js} +1 -1
  250. package/dist/sankhyablocks/p-2c9d0870.js +2 -0
  251. package/dist/sankhyablocks/{p-cb4343c4.entry.js → p-2cc2526e.entry.js} +1 -1
  252. package/dist/sankhyablocks/{p-f15478a1.js → p-2ccbbeec.js} +1 -1
  253. package/dist/sankhyablocks/{p-75af335e.entry.js → p-2ebda226.entry.js} +1 -1
  254. package/dist/sankhyablocks/p-2ee83af1.entry.js +1 -0
  255. package/dist/sankhyablocks/p-30641d55.entry.js +1 -0
  256. package/dist/sankhyablocks/{p-53599b26.js → p-32ad76cc.js} +1 -1
  257. package/dist/sankhyablocks/p-3a35917e.entry.js +1 -0
  258. package/dist/sankhyablocks/{p-49ddc27a.entry.js → p-438a225f.entry.js} +1 -1
  259. package/dist/sankhyablocks/p-45f53520.entry.js +1 -0
  260. package/dist/sankhyablocks/p-48762fe9.js +1 -0
  261. package/dist/sankhyablocks/p-48c580b9.entry.js +1 -0
  262. package/dist/sankhyablocks/p-4abf2838.entry.js +1 -0
  263. package/dist/sankhyablocks/p-4ff3b494.js +1 -0
  264. package/dist/sankhyablocks/{p-27482793.entry.js → p-5aae5c74.entry.js} +1 -1
  265. package/dist/sankhyablocks/p-6564180d.entry.js +1 -0
  266. package/dist/sankhyablocks/p-685bc841.js +60 -0
  267. package/dist/sankhyablocks/p-68c1a093.js +1 -0
  268. package/dist/sankhyablocks/{p-7b3ca294.entry.js → p-7150eacf.entry.js} +1 -1
  269. package/dist/sankhyablocks/p-72d62f22.js +1 -0
  270. package/dist/sankhyablocks/{p-825098c1.entry.js → p-752c57f4.entry.js} +1 -1
  271. package/dist/sankhyablocks/{p-e258de96.entry.js → p-76729994.entry.js} +1 -1
  272. package/dist/sankhyablocks/p-7c4f4851.js +1 -0
  273. package/dist/sankhyablocks/p-7cede5db.entry.js +1 -0
  274. package/dist/sankhyablocks/p-7e9f8fa4.js +1 -0
  275. package/dist/sankhyablocks/p-8b4d6719.js +1 -0
  276. package/dist/sankhyablocks/{p-3d41f5a8.entry.js → p-8d946600.entry.js} +1 -1
  277. package/dist/sankhyablocks/{p-96d45943.entry.js → p-90ae6c2e.entry.js} +1 -1
  278. package/dist/sankhyablocks/{p-78ff8734.js → p-9114e869.js} +1 -1
  279. package/dist/sankhyablocks/{p-21107f0d.entry.js → p-9c1ff75e.entry.js} +1 -1
  280. package/dist/sankhyablocks/p-9ce1539b.entry.js +1 -0
  281. package/dist/sankhyablocks/{p-2fdac5e6.entry.js → p-9e109f5e.entry.js} +1 -1
  282. package/dist/sankhyablocks/p-a210e55b.entry.js +1 -0
  283. package/dist/sankhyablocks/p-a2a9f520.entry.js +1 -0
  284. package/dist/sankhyablocks/p-a46ac091.js +1 -0
  285. package/dist/sankhyablocks/p-a73b6b00.js +1 -0
  286. package/dist/sankhyablocks/{p-9317942f.js → p-a9839628.js} +1 -1
  287. package/dist/sankhyablocks/{p-180716b2.entry.js → p-ae326d06.entry.js} +1 -1
  288. package/dist/sankhyablocks/p-b25777fa.entry.js +1 -0
  289. package/dist/sankhyablocks/p-b555ce38.entry.js +1 -0
  290. package/dist/sankhyablocks/p-bdf0077f.js +1 -0
  291. package/dist/sankhyablocks/p-c3ec6642.js +19 -0
  292. package/dist/sankhyablocks/p-c6a97fda.entry.js +1 -0
  293. package/dist/sankhyablocks/{p-91a9abb6.entry.js → p-c8043a53.entry.js} +1 -1
  294. package/dist/sankhyablocks/p-c860552e.entry.js +1 -0
  295. package/dist/sankhyablocks/{p-c3dbf441.entry.js → p-cc64239c.entry.js} +1 -1
  296. package/dist/sankhyablocks/{p-471b34f4.entry.js → p-cd00a3d1.entry.js} +1 -1
  297. package/dist/sankhyablocks/{p-4c763b10.entry.js → p-d657f71f.entry.js} +1 -1
  298. package/dist/sankhyablocks/p-d70de708.entry.js +1 -0
  299. package/dist/sankhyablocks/p-da455c82.js +12 -0
  300. package/dist/sankhyablocks/{p-1c2971e4.js → p-e0a6818c.js} +1 -1
  301. package/dist/sankhyablocks/p-e30acdca.entry.js +1 -0
  302. package/dist/sankhyablocks/p-ebce5394.entry.js +1 -0
  303. package/dist/sankhyablocks/p-ee56dda6.entry.js +1 -0
  304. package/dist/sankhyablocks/p-ef9343c3.entry.js +1 -0
  305. package/dist/sankhyablocks/{p-667cab42.entry.js → p-f152ef98.entry.js} +1 -1
  306. package/dist/sankhyablocks/p-f4ac3b50.entry.js +1 -0
  307. package/dist/sankhyablocks/{p-7e250432.entry.js → p-f7170e10.entry.js} +1 -1
  308. package/dist/sankhyablocks/{p-7345782c.entry.js → p-f921270b.entry.js} +1 -1
  309. package/dist/sankhyablocks/p-fc5e95f4.entry.js +1 -0
  310. package/dist/sankhyablocks/p-fce86770.entry.js +1 -0
  311. package/dist/sankhyablocks/sankhyablocks.esm.js +1 -1
  312. package/dist/types/components/snk-application/snk-application.d.ts +1 -1
  313. package/dist/types/components/snk-crud/snk-crud.d.ts +10 -0
  314. package/dist/types/components/snk-crud/subcomponents/snk-form-view.d.ts +12 -0
  315. package/dist/types/components/snk-crud/subcomponents/snk-guides-viewer.d.ts +24 -0
  316. package/dist/types/components/snk-custom-slot-guide/snk-custom-slot-guide.d.ts +16 -0
  317. package/dist/types/components/snk-data-unit/snk-data-unit.d.ts +1 -0
  318. package/dist/types/components/snk-filter-bar/filter-item/editors/snk-filter-number.d.ts +1 -1
  319. package/dist/types/components/snk-filter-bar/filter-item/editors/snk-filter-period.d.ts +1 -0
  320. package/dist/types/components/snk-filter-bar/filter-item/snk-filter-item.d.ts +1 -1
  321. package/dist/types/components/snk-filter-bar/filter-modal/snk-filter-modal.d.ts +2 -1
  322. package/dist/types/components/snk-filter-bar/snk-filter-bar.d.ts +5 -0
  323. package/dist/types/components/snk-form-config/FormConfigHelper.d.ts +6 -1
  324. package/dist/types/components/snk-form-config/SnkFormConfigManager.d.ts +1 -1
  325. package/dist/types/components/snk-form-config/fields-layout/fields-layout.d.ts +2 -2
  326. package/dist/types/components/snk-form-config/guides-configurator/guides-configurator.d.ts +1 -1
  327. package/dist/types/components/snk-form-config/snk-form-config.d.ts +9 -2
  328. package/dist/types/components/snk-grid/snk-grid.d.ts +2 -0
  329. package/dist/types/components/snk-image-input/snk-image-input.d.ts +56 -0
  330. package/dist/types/components/snk-image-input/utils/ImageUtils.d.ts +15 -0
  331. package/dist/types/components/snk-personalized-filter/interfaces/IParameter.d.ts +1 -0
  332. package/dist/types/components/snk-pesquisa/snk-pesquisa.d.ts +0 -1
  333. package/dist/types/components/snk-simple-crud/snk-simple-crud.d.ts +4 -1
  334. package/dist/types/components/snk-taskbar/snk-taskbar.d.ts +6 -3
  335. package/dist/types/components.d.ts +164 -1
  336. package/dist/types/lib/message/resources/en-us/snk-image-input.msg.d.ts +1 -0
  337. package/dist/types/lib/message/resources/es-es/snk-image-input.msg.d.ts +1 -0
  338. package/dist/types/lib/message/resources/pt-br/snk-image-input.msg.d.ts +1 -0
  339. package/package.json +1 -1
  340. package/react/components.d.ts +2 -0
  341. package/react/components.js +2 -0
  342. package/react/components.js.map +1 -1
  343. package/dist/sankhyablocks/p-093f58fa.entry.js +0 -1
  344. package/dist/sankhyablocks/p-0e279e7a.js +0 -1
  345. package/dist/sankhyablocks/p-11346b8d.entry.js +0 -1
  346. package/dist/sankhyablocks/p-1858c023.entry.js +0 -1
  347. package/dist/sankhyablocks/p-26e0f63c.entry.js +0 -1
  348. package/dist/sankhyablocks/p-34df7eca.entry.js +0 -1
  349. package/dist/sankhyablocks/p-34f447ba.entry.js +0 -1
  350. package/dist/sankhyablocks/p-38e56b68.entry.js +0 -1
  351. package/dist/sankhyablocks/p-3abeeefa.entry.js +0 -1
  352. package/dist/sankhyablocks/p-3d021bef.entry.js +0 -1
  353. package/dist/sankhyablocks/p-3ed04f0d.entry.js +0 -1
  354. package/dist/sankhyablocks/p-44939a0e.entry.js +0 -1
  355. package/dist/sankhyablocks/p-5304753a.js +0 -60
  356. package/dist/sankhyablocks/p-557368df.entry.js +0 -1
  357. package/dist/sankhyablocks/p-55798617.js +0 -1
  358. package/dist/sankhyablocks/p-583151c5.entry.js +0 -1
  359. package/dist/sankhyablocks/p-60dd1d27.entry.js +0 -1
  360. package/dist/sankhyablocks/p-6180de07.entry.js +0 -1
  361. package/dist/sankhyablocks/p-80014119.entry.js +0 -1
  362. package/dist/sankhyablocks/p-8a88690f.entry.js +0 -1
  363. package/dist/sankhyablocks/p-8f73da95.js +0 -1
  364. package/dist/sankhyablocks/p-988afe78.js +0 -1
  365. package/dist/sankhyablocks/p-a2ed1ebd.entry.js +0 -1
  366. package/dist/sankhyablocks/p-a5108625.entry.js +0 -1
  367. package/dist/sankhyablocks/p-a644a956.js +0 -1
  368. package/dist/sankhyablocks/p-ae108ffd.entry.js +0 -11
  369. package/dist/sankhyablocks/p-b4322b87.entry.js +0 -1
  370. package/dist/sankhyablocks/p-b7e891cc.entry.js +0 -1
  371. package/dist/sankhyablocks/p-b987e15d.js +0 -1
  372. package/dist/sankhyablocks/p-bb2f5f38.js +0 -1
  373. package/dist/sankhyablocks/p-d8d8169b.js +0 -2
  374. package/dist/sankhyablocks/p-d9c54991.js +0 -1
  375. package/dist/sankhyablocks/p-e9021f79.entry.js +0 -1
  376. package/dist/sankhyablocks/p-f8f29e1a.entry.js +0 -1
@@ -4,6 +4,7 @@ export declare class SnkFilterModal {
4
4
  private _modalTitle;
5
5
  private _cancelButtonLabel;
6
6
  private _okButtonLabel;
7
+ private _isUserSup;
7
8
  private _defaultFilter;
8
9
  private _application;
9
10
  private filters;
@@ -94,7 +95,7 @@ export declare class SnkFilterModal {
94
95
  private handleActionSelectedDefaultFilter;
95
96
  getCustomFilter(filters: SnkFilterItemConfig[]): SnkFilterItemConfig[];
96
97
  getDefaultFilter(filters: SnkFilterItemConfig[]): SnkFilterItemConfig;
97
- componentWillLoad(): void;
98
+ componentWillLoad(): Promise<void>;
98
99
  componentWillRender(): void;
99
100
  componentDidLoad(): void;
100
101
  render(): any;
@@ -170,11 +170,16 @@ export declare class SnkFilterBar implements FilterProvider {
170
170
  * Emitido quando acontece a alteração do estado do filtro.
171
171
  */
172
172
  filterChangeListener(evt: CustomEvent): void;
173
+ /**
174
+ * Escuta quando há um filtro do tipo pesquisa retorna um valor vazio.
175
+ */
176
+ emptySearchListener(_evt: CustomEvent): Promise<void>;
173
177
  /**
174
178
  * @description Abre o modal de filtros.
175
179
  * @async
176
180
  */
177
181
  showFilterModal(): Promise<void>;
182
+ private showPersonalizedFilterItem;
178
183
  addPersonalizedFilter(isDefault?: boolean): void;
179
184
  editPersonalizedFilter(id: string, isDefault?: boolean): void;
180
185
  deletePersonalizedFilter(filter: IPersonalizedFilter, filterItemType: FilterItemType, configName: string, isDefault?: boolean): void;
@@ -1,12 +1,15 @@
1
- import { IFieldConfig } from '@sankhyalabs/ezui/src/utils/interfaces/IFieldConfig';
2
1
  import { DataUnit, FieldDescriptor, UserInterface } from '@sankhyalabs/core';
3
2
  import { IFormConfig } from '@sankhyalabs/ezui/src/utils/form/interfaces';
3
+ import { IFieldConfig } from '@sankhyalabs/ezui/src/utils/interfaces/IFieldConfig';
4
+ import { CustomGuideItem } from "../snk-crud/subcomponents/snk-guides-viewer";
4
5
  export declare const ID_AVAILABLE_FIELDS = "container-available-fields";
5
6
  export interface IGuideConfig {
6
7
  label: string;
7
8
  name?: string;
8
9
  visible: boolean;
9
10
  order: number;
11
+ isCustom?: boolean;
12
+ isDetail?: boolean;
10
13
  }
11
14
  export interface IGroupConfig {
12
15
  name?: string;
@@ -29,3 +32,5 @@ export declare function buildNewGuideName(guidesList: IGuideConfig[], getMessage
29
32
  export declare function getFieldsToSave(guidesMap: Map<string, IGroupConfig[]>): IFieldConfig[];
30
33
  export declare function buildGuidesMap(rawFields: IFieldConfig[], tabs: IGuideConfig[], dataUnit: DataUnit, generalTab: string): Map<string, IGroupConfig[]>;
31
34
  export declare function buildGuides(config: IFormConfig, mainArea: string): IGuideConfig[];
35
+ export declare function buildChildrenGuides(dataUnit: DataUnit, initialOrderIndex: number, guidesList: IGuideConfig[]): IGuideConfig[];
36
+ export declare function buildCustomGuides(customGuidesList: CustomGuideItem[], guidesList: IGuideConfig[]): IGuideConfig[];
@@ -1,5 +1,5 @@
1
- import { IFormCardConfig, IFormConfig } from '@sankhyalabs/ezui/dist/types/utils/form/interfaces';
2
1
  import { DataUnit } from '@sankhyalabs/core';
2
+ import { IFormCardConfig, IFormConfig } from '@sankhyalabs/ezui/dist/types/utils/form/interfaces';
3
3
  import { IUserConfig } from '../../lib/http/data-fetcher/fetchers/form-config-fetcher';
4
4
  export declare class SnkFormConfigManager {
5
5
  private _config;
@@ -1,8 +1,8 @@
1
- import { EventEmitter } from '../../../stencil-public-runtime';
2
1
  import { DataUnit } from '@sankhyalabs/core';
3
- import { IGroupConfig, IGuideConfig } from '../FormConfigHelper';
4
2
  import { IFieldConfig } from '@sankhyalabs/ezui/src/utils/interfaces/IFieldConfig';
3
+ import { EventEmitter } from '../../../stencil-public-runtime';
5
4
  import { SnkMessageBuilder } from '../../../lib/message/SnkMessageBuilder';
5
+ import { IGroupConfig, IGuideConfig } from '../FormConfigHelper';
6
6
  export declare class FieldLayoutComponent {
7
7
  private readonly ID_GROUPS;
8
8
  private readonly ID_FIELDS;
@@ -1,7 +1,7 @@
1
1
  import { EventEmitter } from '../../../stencil-public-runtime';
2
2
  import Sortable from 'sortablejs';
3
- import { IGuideConfig } from '../FormConfigHelper';
4
3
  import { SnkMessageBuilder } from '../../../lib/message/SnkMessageBuilder';
4
+ import { IGuideConfig } from '../FormConfigHelper';
5
5
  export declare class GuidesConfigurator {
6
6
  private readonly ID_VISIBLE_GUIDES;
7
7
  private readonly ID_HIDDEN_GUIDES;
@@ -1,7 +1,8 @@
1
- import { EventEmitter } from '../../stencil-public-runtime';
2
- import { SnkMessageBuilder } from '../../lib/message/SnkMessageBuilder';
3
1
  import { DataUnit } from '@sankhyalabs/core';
4
2
  import { IFormConfig } from '@sankhyalabs/ezui/dist/types/utils/form/interfaces';
3
+ import { EventEmitter } from '../../stencil-public-runtime';
4
+ import { SnkMessageBuilder } from '../../lib/message/SnkMessageBuilder';
5
+ import { CustomGuideItem } from "../snk-crud/subcomponents/snk-guides-viewer";
5
6
  import { IGuideConfig } from './FormConfigHelper';
6
7
  import { SnkFormConfigManager } from './SnkFormConfigManager';
7
8
  export declare class SnkFormConfig {
@@ -33,6 +34,10 @@ export declare class SnkFormConfig {
33
34
  * Responsável por flexibilizar e padronizar o uso de mensagens nos blocos de construção.
34
35
  */
35
36
  messagesBuilder: SnkMessageBuilder;
37
+ /**
38
+ * Informações das guias personalizadas.
39
+ */
40
+ customGuidesConfig?: Array<CustomGuideItem>;
36
41
  /**
37
42
  * Emitido ao fechar as configurações.
38
43
  */
@@ -49,6 +54,7 @@ export declare class SnkFormConfig {
49
54
  observeSelectedGuide(guide: IGuideConfig): void;
50
55
  observeConfigManager(): void;
51
56
  private showNoGuideSelectedDialog;
57
+ private showCanNotAddFieldToGuideDialog;
52
58
  /**
53
59
  * Conforme mecanismo de mensagens, é possível customizar as mensagens dos blocos de construção
54
60
  * através de um pequeno modulo na estrutura da aplicação:
@@ -62,6 +68,7 @@ export declare class SnkFormConfig {
62
68
  private isConfigDefaultSelected;
63
69
  private loadFormConfig;
64
70
  private initializeAvailableFields;
71
+ private getInitialOrder;
65
72
  private loadGuides;
66
73
  private getConfig;
67
74
  private handleSelectGuide;
@@ -44,6 +44,7 @@ export declare class SnkGrid {
44
44
  _popUpGridConfig: boolean;
45
45
  _showSnkFilterBar: boolean;
46
46
  _enableContinuousInsert: boolean;
47
+ _filterMode: 'regular' | 'button';
47
48
  _application: SnkApplication;
48
49
  /**
49
50
  * Define o data source para o filtro de colunas.
@@ -331,6 +332,7 @@ export declare class SnkGrid {
331
332
  private interceptMetadataLoaded;
332
333
  private interceptLoadData;
333
334
  private dataUnitInterceptor;
335
+ private initializeColumnFilterDataSource;
334
336
  private finishLoading;
335
337
  private setCustomRenders;
336
338
  private setCustomEditors;
@@ -0,0 +1,56 @@
1
+ import { DataUnit } from '@sankhyalabs/core';
2
+ import { EventEmitter } from '../../stencil-public-runtime';
3
+ export declare class SnkImageInput {
4
+ private application;
5
+ private messagesBuilder?;
6
+ /**
7
+ * DataUnit associado ao componente
8
+ */
9
+ dataUnit?: DataUnit;
10
+ /**
11
+ * Nome do campo no DataUnit
12
+ */
13
+ fieldName: string;
14
+ /**
15
+ * Nome da entidade (usado quando não há DataUnit)
16
+ */
17
+ entityName?: string;
18
+ /**
19
+ * Define se está habilitado
20
+ */
21
+ enabled: boolean;
22
+ /**
23
+ * Tipos MIME aceitos (separados por vírgula)
24
+ */
25
+ acceptType?: string;
26
+ /**
27
+ * Tamanho máximo do arquivo em KB
28
+ */
29
+ maxSize?: number;
30
+ /**
31
+ * Label do componente
32
+ */
33
+ label?: string;
34
+ private imageValue;
35
+ private loading;
36
+ /**
37
+ * Evento disparado quando há erro
38
+ */
39
+ imageError: EventEmitter<string>;
40
+ /**
41
+ * Força o reload da imagem
42
+ */
43
+ reloadImage(pks?: Record<string, any>): Promise<void>;
44
+ private getMessage;
45
+ private clearImage;
46
+ private handleImageChange;
47
+ private updatedataUnitField;
48
+ private handleImageError;
49
+ private getPksFromDataUnit;
50
+ private loadImage;
51
+ private dataUnitObserver;
52
+ componentWillLoad(): Promise<void>;
53
+ disconnectedCallback(): void;
54
+ componentDidLoad(): Promise<void>;
55
+ render(): any;
56
+ }
@@ -0,0 +1,15 @@
1
+ import { DataUnit } from "@sankhyalabs/core";
2
+ export declare function base64ToBlob(base64: string): Promise<Blob>;
3
+ export declare function buildFileKey(entityName: string, fieldName: string): string;
4
+ /**
5
+ * Faz upload de arquivo para a sessão usando XMLHttpRequest
6
+ * Baseado no método uploadSessionFile do sessionfileupload.service.js
7
+ */
8
+ export declare function sessionFileUpload(blob: Blob, entityName: string, fieldName: string, onProgress?: (event: ProgressEvent) => void): Promise<string>;
9
+ export declare function getUrlBase(): string;
10
+ export declare function getBaseUrl(pk: {
11
+ [key: string]: any;
12
+ }, entityName: string, fieldName: string): string | undefined;
13
+ export declare function getPKs(dataUnit: DataUnit): Record<string, any> | undefined;
14
+ export declare function imageBlobToBase64(blob: Blob): Promise<string>;
15
+ export declare function downloadImage(pks: Record<string, any>, fieldName: string, entityName: string): Promise<string>;
@@ -10,6 +10,7 @@ export interface IParameter {
10
10
  description: string;
11
11
  userInterface: UserInterface;
12
12
  searchContext: ISearchContext;
13
+ value?: any;
13
14
  props?: {
14
15
  precision?: number;
15
16
  expression: string;
@@ -97,7 +97,6 @@ export declare class SnkPesquisa {
97
97
  * Útil para cenários onde a pesquisa precisa ser disparada sem interação do usuário.
98
98
  *
99
99
  * @param text Texto utilizado como argumento de pesquisa.
100
- * @returns Promise<void>
101
100
  * @example
102
101
  * await pesquisaRef.executeSearch("Texto para pesquisa");
103
102
  */
@@ -183,6 +183,10 @@ export declare class SnkSimpleCrud {
183
183
  * @description Define se o LayoutFormConfig será exibido no configurador.
184
184
  */
185
185
  layoutFormConfig: boolean;
186
+ /**
187
+ * Desabilita a edição na grade.
188
+ */
189
+ disableGridEdition: boolean;
186
190
  /**
187
191
  * @description Registra um editor customizado para campos da grade e do formulário.
188
192
  * @param {string} fieldName - O nome do campo.
@@ -235,7 +239,6 @@ export declare class SnkSimpleCrud {
235
239
  private getButtons;
236
240
  private addConfigButton;
237
241
  private get application();
238
- resolveInMemoryBtns(taskbarButtons: Array<string>): Array<string>;
239
242
  /**
240
243
  * @description Usado para alternar a visão entre GRID e FORM externamente.
241
244
  * @param {VIEW_MODE} view - A visão para a qual navegar.
@@ -1,11 +1,11 @@
1
1
  import { DataUnit, OverflowWatcher } from '@sankhyalabs/core';
2
+ import { IAction } from '@sankhyalabs/ezui/dist/types/utils';
2
3
  import { EventEmitter, VNode } from '../../stencil-public-runtime';
4
+ import { PresentationMode } from '../../lib/@types';
5
+ import { SnkMessageBuilder } from '../../lib/message/SnkMessageBuilder';
3
6
  import { SnkApplication } from '../snk-application/snk-application';
4
7
  import { DataState } from '../snk-data-unit/snk-data-unit';
5
8
  import { TaskbarElement } from './elements/taskbar-elements';
6
- import { PresentationMode } from '../../lib/@types';
7
- import { SnkMessageBuilder } from '../../lib/message/SnkMessageBuilder';
8
- import { IAction } from '@sankhyalabs/ezui/dist/types/utils';
9
9
  export declare class SnkTaskbar {
10
10
  readonly TASKBAR_ITEM_ID_PREFIX = "TASKBAR_ITEM_";
11
11
  readonly TASKBAR_CUSTOM_ELEMENTS_CONTAINER_CLASS_NAME = "taskbar-custom-elements-container";
@@ -16,6 +16,7 @@ export declare class SnkTaskbar {
16
16
  _application: SnkApplication;
17
17
  _definitions: Array<string>;
18
18
  _overFlowWatcher: OverflowWatcher;
19
+ _dataUnitInitialized: boolean;
19
20
  private _element;
20
21
  _permissions: any;
21
22
  _overFlowedElements: HTMLElement[];
@@ -133,6 +134,8 @@ export declare class SnkTaskbar {
133
134
  observeDisabledButtons(): void;
134
135
  observeLastWidth(newValue: any, oldValue: any): void;
135
136
  observeIsWaitingForSave(newValue: any, oldValue: any): void;
137
+ observeDataUnit(newValue: DataUnit): void;
138
+ initializeDataUnit(dataUnit: DataUnit): void;
136
139
  elementsFromString(strButtons: string): Array<TaskbarElement>;
137
140
  private isAllowed;
138
141
  /**
@@ -33,6 +33,7 @@ import { Action, TaskbarManager } from "./components/snk-taskbar/snk-taskbar";
33
33
  import { IFormCardConfig, IFormConfig, IRecordValidator, ISummaryField } from "@sankhyalabs/ezui/dist/types/utils/form/interfaces";
34
34
  import { EzGridColumn, IGridConfig, IStatusResolver, StatusResolverFunction } from "@sankhyalabs/ezui/dist/types/components/ez-grid/controller/EzGridController";
35
35
  import { IExporterStrategyMode, IRecordID } from "./components/snk-data-exporter/interfaces/IRecordID";
36
+ import { CustomGuideItem } from "./components/snk-crud/subcomponents/snk-guides-viewer";
36
37
  import { PayloadSaveConfig, ResponseGetConfig } from "./components/snk-numbering-config/services/ServicesNumberingConfig";
37
38
  import { ICustomEditor, ICustomRender } from "@sankhyalabs/ezui/dist/types/utils";
38
39
  import { IExporterProvider } from "./components/snk-data-exporter/interfaces/IExporterProvider";
@@ -65,6 +66,7 @@ import { FormMetadata } from "@sankhyalabs/ezui/dist/collection/utils/form";
65
66
  import { ICustomEditor as ICustomEditor1 } from "@sankhyalabs/ezui/dist/types/utils/customEditor/interfaces/ICustomEditor";
66
67
  import { IMultiSelectionListDataSource } from "@sankhyalabs/ezui/dist/types/components/ez-multi-selection-list/interfaces/IMultiSelectionListDataSource";
67
68
  import { PresentationMode as PresentationMode1 } from "./lib/@types";
69
+ import { CustomGuideItem as CustomGuideItem1 } from "./components/snk-crud/subcomponents/snk-guides-viewer";
68
70
  import { PrintSelectorResponse } from "./components/snk-print-selector/snk-print-selector";
69
71
  import { PendingPrintJobData } from "./lib/utils/PrintUtils";
70
72
  import { IBreadcrumbItem } from "@sankhyalabs/ezui/dist/types/components/ez-breadcrumb/ez-breadcrumb";
@@ -779,6 +781,10 @@ export namespace Components {
779
781
  * Usado para salvar as configurações dos blocos de construção.
780
782
  */
781
783
  "configName": string;
784
+ /**
785
+ * Fornece as informações das guias personalizadas.
786
+ */
787
+ "customGuidesConfig"?: Array<CustomGuideItem>;
782
788
  /**
783
789
  * Define se a configuração de numeração será desabilitada.
784
790
  */
@@ -922,6 +928,12 @@ export namespace Components {
922
928
  */
923
929
  "slotName": string;
924
930
  }
931
+ interface SnkCustomSlotGuide {
932
+ /**
933
+ * Nome do slot onde os elementos customizados deverão aparecer.
934
+ */
935
+ "slotName": string;
936
+ }
925
937
  interface SnkDataExporter {
926
938
  /**
927
939
  * Responsável por flexibilizar e padronizar o uso de mensagens nos blocos de construção.
@@ -1771,6 +1783,10 @@ export namespace Components {
1771
1783
  * Campos de configuração de formulário.
1772
1784
  */
1773
1785
  "configManager": SnkFormConfigManager;
1786
+ /**
1787
+ * Informações das guias personalizadas.
1788
+ */
1789
+ "customGuidesConfig"?: Array<CustomGuideItem>;
1774
1790
  /**
1775
1791
  * Repositório de dados, controla a manipulação dos dados.
1776
1792
  */
@@ -1823,6 +1839,10 @@ export namespace Components {
1823
1839
  * Define a instância do DataUnit que deve se ligar ao formulário.
1824
1840
  */
1825
1841
  "dataUnit": DataUnit;
1842
+ /**
1843
+ * Determina todo o caminho de entidades.
1844
+ */
1845
+ "entityPath": string;
1826
1846
  /**
1827
1847
  * Campo para o buscador de campos.
1828
1848
  */
@@ -2161,6 +2181,10 @@ export namespace Components {
2161
2181
  * Nome usado para guardar/recuperar as configurações do formulário.
2162
2182
  */
2163
2183
  "configName": string;
2184
+ /**
2185
+ * Fornece as informações das guias personalizadas.
2186
+ */
2187
+ "customGuidesConfig"?: Array<CustomGuideItem>;
2164
2188
  /**
2165
2189
  * Representa o estado do dataUnit master.
2166
2190
  */
@@ -2239,6 +2263,40 @@ export namespace Components {
2239
2263
  */
2240
2264
  "taskbarManager": TaskbarManager;
2241
2265
  }
2266
+ interface SnkImageInput {
2267
+ /**
2268
+ * Tipos MIME aceitos (separados por vírgula)
2269
+ */
2270
+ "acceptType"?: string;
2271
+ /**
2272
+ * DataUnit associado ao componente
2273
+ */
2274
+ "dataUnit"?: DataUnit;
2275
+ /**
2276
+ * Define se está habilitado
2277
+ */
2278
+ "enabled": boolean;
2279
+ /**
2280
+ * Nome da entidade (usado quando não há DataUnit)
2281
+ */
2282
+ "entityName"?: string;
2283
+ /**
2284
+ * Nome do campo no DataUnit
2285
+ */
2286
+ "fieldName": string;
2287
+ /**
2288
+ * Label do componente
2289
+ */
2290
+ "label"?: string;
2291
+ /**
2292
+ * Tamanho máximo do arquivo em KB
2293
+ */
2294
+ "maxSize"?: number;
2295
+ /**
2296
+ * Força o reload da imagem
2297
+ */
2298
+ "reloadImage": (pks?: Record<string, any>) => Promise<void>;
2299
+ }
2242
2300
  interface SnkLayoutFormConfig {
2243
2301
  "messagesBuilder": SnkMessageBuilder;
2244
2302
  /**
@@ -2349,7 +2407,6 @@ export namespace Components {
2349
2407
  /**
2350
2408
  * * Executa uma pesquisa programaticamente. Útil para cenários onde a pesquisa precisa ser disparada sem interação do usuário.
2351
2409
  * @param text Texto utilizado como argumento de pesquisa.
2352
- * @returns Promise<void>
2353
2410
  * @example await pesquisaRef.executeSearch("Texto para pesquisa");
2354
2411
  */
2355
2412
  "executeSearch": (text: string) => Promise<void>;
@@ -2462,6 +2519,10 @@ export namespace Components {
2462
2519
  * @description Instância do DataUnit a ser utilizada pelo componente.
2463
2520
  */
2464
2521
  "dataUnit": DataUnit;
2522
+ /**
2523
+ * Desabilita a edição na grade.
2524
+ */
2525
+ "disableGridEdition": boolean;
2465
2526
  /**
2466
2527
  * @description Define a chave customizada para sobrescrever as mensagens (não pegando pela entidade).
2467
2528
  */
@@ -2817,6 +2878,10 @@ export interface SnkCustomSlotElementsCustomEvent<T> extends CustomEvent<T> {
2817
2878
  detail: T;
2818
2879
  target: HTMLSnkCustomSlotElementsElement;
2819
2880
  }
2881
+ export interface SnkCustomSlotGuideCustomEvent<T> extends CustomEvent<T> {
2882
+ detail: T;
2883
+ target: HTMLSnkCustomSlotGuideElement;
2884
+ }
2820
2885
  export interface SnkDataUnitCustomEvent<T> extends CustomEvent<T> {
2821
2886
  detail: T;
2822
2887
  target: HTMLSnkDataUnitElement;
@@ -2925,6 +2990,10 @@ export interface SnkGuidesViewerCustomEvent<T> extends CustomEvent<T> {
2925
2990
  detail: T;
2926
2991
  target: HTMLSnkGuidesViewerElement;
2927
2992
  }
2993
+ export interface SnkImageInputCustomEvent<T> extends CustomEvent<T> {
2994
+ detail: T;
2995
+ target: HTMLSnkImageInputElement;
2996
+ }
2928
2997
  export interface SnkPersonalizedFilterCustomEvent<T> extends CustomEvent<T> {
2929
2998
  detail: T;
2930
2999
  target: HTMLSnkPersonalizedFilterElement;
@@ -3060,6 +3129,12 @@ declare global {
3060
3129
  prototype: HTMLSnkCustomSlotElementsElement;
3061
3130
  new (): HTMLSnkCustomSlotElementsElement;
3062
3131
  };
3132
+ interface HTMLSnkCustomSlotGuideElement extends Components.SnkCustomSlotGuide, HTMLStencilElement {
3133
+ }
3134
+ var HTMLSnkCustomSlotGuideElement: {
3135
+ prototype: HTMLSnkCustomSlotGuideElement;
3136
+ new (): HTMLSnkCustomSlotGuideElement;
3137
+ };
3063
3138
  interface HTMLSnkDataExporterElement extends Components.SnkDataExporter, HTMLStencilElement {
3064
3139
  }
3065
3140
  var HTMLSnkDataExporterElement: {
@@ -3252,6 +3327,12 @@ declare global {
3252
3327
  prototype: HTMLSnkGuidesViewerElement;
3253
3328
  new (): HTMLSnkGuidesViewerElement;
3254
3329
  };
3330
+ interface HTMLSnkImageInputElement extends Components.SnkImageInput, HTMLStencilElement {
3331
+ }
3332
+ var HTMLSnkImageInputElement: {
3333
+ prototype: HTMLSnkImageInputElement;
3334
+ new (): HTMLSnkImageInputElement;
3335
+ };
3255
3336
  interface HTMLSnkLayoutFormConfigElement extends Components.SnkLayoutFormConfig, HTMLStencilElement {
3256
3337
  }
3257
3338
  var HTMLSnkLayoutFormConfigElement: {
@@ -3360,6 +3441,7 @@ declare global {
3360
3441
  "snk-configurator": HTMLSnkConfiguratorElement;
3361
3442
  "snk-crud": HTMLSnkCrudElement;
3362
3443
  "snk-custom-slot-elements": HTMLSnkCustomSlotElementsElement;
3444
+ "snk-custom-slot-guide": HTMLSnkCustomSlotGuideElement;
3363
3445
  "snk-data-exporter": HTMLSnkDataExporterElement;
3364
3446
  "snk-data-unit": HTMLSnkDataUnitElement;
3365
3447
  "snk-default-filter": HTMLSnkDefaultFilterElement;
@@ -3392,6 +3474,7 @@ declare global {
3392
3474
  "snk-grid": HTMLSnkGridElement;
3393
3475
  "snk-grid-config": HTMLSnkGridConfigElement;
3394
3476
  "snk-guides-viewer": HTMLSnkGuidesViewerElement;
3477
+ "snk-image-input": HTMLSnkImageInputElement;
3395
3478
  "snk-layout-form-config": HTMLSnkLayoutFormConfigElement;
3396
3479
  "snk-numbering-config": HTMLSnkNumberingConfigElement;
3397
3480
  "snk-personalized-filter": HTMLSnkPersonalizedFilterElement;
@@ -3691,6 +3774,10 @@ declare namespace LocalJSX {
3691
3774
  * Usado para salvar as configurações dos blocos de construção.
3692
3775
  */
3693
3776
  "configName"?: string;
3777
+ /**
3778
+ * Fornece as informações das guias personalizadas.
3779
+ */
3780
+ "customGuidesConfig"?: Array<CustomGuideItem>;
3694
3781
  /**
3695
3782
  * Define se a configuração de numeração será desabilitada.
3696
3783
  */
@@ -3771,6 +3858,10 @@ declare namespace LocalJSX {
3771
3858
  * Emitido quando a configuração de numeração é alterada.
3772
3859
  */
3773
3860
  "onNumberingConfigChanged"?: (event: SnkCrudCustomEvent<ResponseGetConfig>) => void;
3861
+ /**
3862
+ * Emitido pelo guides-viewer sempre que houver mudança de guia.
3863
+ */
3864
+ "onSnkShowGuide"?: (event: SnkCrudCustomEvent<string>) => void;
3774
3865
  "onViewModeChanged"?: (event: SnkCrudCustomEvent<VIEW_MODE>) => void;
3775
3866
  /**
3776
3867
  * Define se a grid será focada ao ser carregada.
@@ -3827,6 +3918,16 @@ declare namespace LocalJSX {
3827
3918
  */
3828
3919
  "slotName"?: string;
3829
3920
  }
3921
+ interface SnkCustomSlotGuide {
3922
+ /**
3923
+ * Emitido quando elemento é carregado na tela.
3924
+ */
3925
+ "onSnkCustomSlotGuideLoaded"?: (event: SnkCustomSlotGuideCustomEvent<string>) => void;
3926
+ /**
3927
+ * Nome do slot onde os elementos customizados deverão aparecer.
3928
+ */
3929
+ "slotName"?: string;
3930
+ }
3830
3931
  interface SnkDataExporter {
3831
3932
  /**
3832
3933
  * Responsável por flexibilizar e padronizar o uso de mensagens nos blocos de construção.
@@ -4595,6 +4696,10 @@ declare namespace LocalJSX {
4595
4696
  * Campos de configuração de formulário.
4596
4697
  */
4597
4698
  "configManager"?: SnkFormConfigManager;
4699
+ /**
4700
+ * Informações das guias personalizadas.
4701
+ */
4702
+ "customGuidesConfig"?: Array<CustomGuideItem>;
4598
4703
  /**
4599
4704
  * Repositório de dados, controla a manipulação dos dados.
4600
4705
  */
@@ -4651,6 +4756,10 @@ declare namespace LocalJSX {
4651
4756
  * Define a instância do DataUnit que deve se ligar ao formulário.
4652
4757
  */
4653
4758
  "dataUnit"?: DataUnit;
4759
+ /**
4760
+ * Determina todo o caminho de entidades.
4761
+ */
4762
+ "entityPath"?: string;
4654
4763
  /**
4655
4764
  * Campo para o buscador de campos.
4656
4765
  */
@@ -4922,6 +5031,10 @@ declare namespace LocalJSX {
4922
5031
  * Nome usado para guardar/recuperar as configurações do formulário.
4923
5032
  */
4924
5033
  "configName"?: string;
5034
+ /**
5035
+ * Fornece as informações das guias personalizadas.
5036
+ */
5037
+ "customGuidesConfig"?: Array<CustomGuideItem>;
4925
5038
  /**
4926
5039
  * Representa o estado do dataUnit master.
4927
5040
  */
@@ -4970,6 +5083,10 @@ declare namespace LocalJSX {
4970
5083
  * Emitido quando o botão de voltar é acionado.
4971
5084
  */
4972
5085
  "onExit"?: (event: SnkGuidesViewerCustomEvent<void>) => void;
5086
+ /**
5087
+ * Emitido quando a visibilidade do configurador do formulário é alterada.
5088
+ */
5089
+ "onFormConfigVisibilityChanged"?: (event: SnkGuidesViewerCustomEvent<boolean>) => void;
4973
5090
  /**
4974
5091
  * Responsável por notificar quando ocorrer a renderização de itens do formulário.
4975
5092
  */
@@ -4978,6 +5095,10 @@ declare namespace LocalJSX {
4978
5095
  * Emitido quando a configuração do formulário master é definida.
4979
5096
  */
4980
5097
  "onSnkMasterFormConfigChange"?: (event: SnkGuidesViewerCustomEvent<IFormConfig>) => void;
5098
+ /**
5099
+ * Emitido quando a uma gua é exibida no formulário.
5100
+ */
5101
+ "onSnkShowGuide"?: (event: SnkGuidesViewerCustomEvent<string>) => void;
4981
5102
  /**
4982
5103
  * Altera o modo de apresentação dos botões do snk-taskbar.
4983
5104
  */
@@ -4999,6 +5120,40 @@ declare namespace LocalJSX {
4999
5120
  */
5000
5121
  "taskbarManager"?: TaskbarManager;
5001
5122
  }
5123
+ interface SnkImageInput {
5124
+ /**
5125
+ * Tipos MIME aceitos (separados por vírgula)
5126
+ */
5127
+ "acceptType"?: string;
5128
+ /**
5129
+ * DataUnit associado ao componente
5130
+ */
5131
+ "dataUnit"?: DataUnit;
5132
+ /**
5133
+ * Define se está habilitado
5134
+ */
5135
+ "enabled"?: boolean;
5136
+ /**
5137
+ * Nome da entidade (usado quando não há DataUnit)
5138
+ */
5139
+ "entityName"?: string;
5140
+ /**
5141
+ * Nome do campo no DataUnit
5142
+ */
5143
+ "fieldName"?: string;
5144
+ /**
5145
+ * Label do componente
5146
+ */
5147
+ "label"?: string;
5148
+ /**
5149
+ * Tamanho máximo do arquivo em KB
5150
+ */
5151
+ "maxSize"?: number;
5152
+ /**
5153
+ * Evento disparado quando há erro
5154
+ */
5155
+ "onImageError"?: (event: SnkImageInputCustomEvent<string>) => void;
5156
+ }
5002
5157
  interface SnkLayoutFormConfig {
5003
5158
  "messagesBuilder"?: SnkMessageBuilder;
5004
5159
  }
@@ -5204,6 +5359,10 @@ declare namespace LocalJSX {
5204
5359
  * @description Instância do DataUnit a ser utilizada pelo componente.
5205
5360
  */
5206
5361
  "dataUnit"?: DataUnit;
5362
+ /**
5363
+ * Desabilita a edição na grade.
5364
+ */
5365
+ "disableGridEdition"?: boolean;
5207
5366
  /**
5208
5367
  * @description Define a chave customizada para sobrescrever as mensagens (não pegando pela entidade).
5209
5368
  */
@@ -5509,6 +5668,7 @@ declare namespace LocalJSX {
5509
5668
  "snk-configurator": SnkConfigurator;
5510
5669
  "snk-crud": SnkCrud;
5511
5670
  "snk-custom-slot-elements": SnkCustomSlotElements;
5671
+ "snk-custom-slot-guide": SnkCustomSlotGuide;
5512
5672
  "snk-data-exporter": SnkDataExporter;
5513
5673
  "snk-data-unit": SnkDataUnit;
5514
5674
  "snk-default-filter": SnkDefaultFilter;
@@ -5541,6 +5701,7 @@ declare namespace LocalJSX {
5541
5701
  "snk-grid": SnkGrid;
5542
5702
  "snk-grid-config": SnkGridConfig;
5543
5703
  "snk-guides-viewer": SnkGuidesViewer;
5704
+ "snk-image-input": SnkImageInput;
5544
5705
  "snk-layout-form-config": SnkLayoutFormConfig;
5545
5706
  "snk-numbering-config": SnkNumberingConfig;
5546
5707
  "snk-personalized-filter": SnkPersonalizedFilter;
@@ -5579,6 +5740,7 @@ declare module "@stencil/core" {
5579
5740
  "snk-configurator": LocalJSX.SnkConfigurator & JSXBase.HTMLAttributes<HTMLSnkConfiguratorElement>;
5580
5741
  "snk-crud": LocalJSX.SnkCrud & JSXBase.HTMLAttributes<HTMLSnkCrudElement>;
5581
5742
  "snk-custom-slot-elements": LocalJSX.SnkCustomSlotElements & JSXBase.HTMLAttributes<HTMLSnkCustomSlotElementsElement>;
5743
+ "snk-custom-slot-guide": LocalJSX.SnkCustomSlotGuide & JSXBase.HTMLAttributes<HTMLSnkCustomSlotGuideElement>;
5582
5744
  "snk-data-exporter": LocalJSX.SnkDataExporter & JSXBase.HTMLAttributes<HTMLSnkDataExporterElement>;
5583
5745
  "snk-data-unit": LocalJSX.SnkDataUnit & JSXBase.HTMLAttributes<HTMLSnkDataUnitElement>;
5584
5746
  "snk-default-filter": LocalJSX.SnkDefaultFilter & JSXBase.HTMLAttributes<HTMLSnkDefaultFilterElement>;
@@ -5611,6 +5773,7 @@ declare module "@stencil/core" {
5611
5773
  "snk-grid": LocalJSX.SnkGrid & JSXBase.HTMLAttributes<HTMLSnkGridElement>;
5612
5774
  "snk-grid-config": LocalJSX.SnkGridConfig & JSXBase.HTMLAttributes<HTMLSnkGridConfigElement>;
5613
5775
  "snk-guides-viewer": LocalJSX.SnkGuidesViewer & JSXBase.HTMLAttributes<HTMLSnkGuidesViewerElement>;
5776
+ "snk-image-input": LocalJSX.SnkImageInput & JSXBase.HTMLAttributes<HTMLSnkImageInputElement>;
5614
5777
  "snk-layout-form-config": LocalJSX.SnkLayoutFormConfig & JSXBase.HTMLAttributes<HTMLSnkLayoutFormConfigElement>;
5615
5778
  "snk-numbering-config": LocalJSX.SnkNumberingConfig & JSXBase.HTMLAttributes<HTMLSnkNumberingConfigElement>;
5616
5779
  "snk-personalized-filter": LocalJSX.SnkPersonalizedFilter & JSXBase.HTMLAttributes<HTMLSnkPersonalizedFilterElement>;
@@ -0,0 +1 @@
1
+ export declare const snkImageInputMessages: any;
@@ -0,0 +1 @@
1
+ export declare const snkImageInputMessages: any;
@@ -0,0 +1 @@
1
+ export declare const snkImageInputMessages: any;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sankhyalabs/sankhyablocks",
3
- "version": "10.1.0-dev.3",
3
+ "version": "10.1.0-dev.31",
4
4
  "description": "Stencil Component Starter",
5
5
  "main": "dist/index.cjs.js",
6
6
  "module": "dist/index.js",