@sankhyalabs/sankhyablocks 10.1.0-dev.52 → 10.1.0-dev.53

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 (263) hide show
  1. package/dist/cjs/{ConfigStorage-a1fab5ca.js → ConfigStorage-4201dd3d.js} +2 -2
  2. package/dist/cjs/{DataFetcher-384d2ce8.js → DataFetcher-b3a8075d.js} +2830 -2
  3. package/dist/cjs/FormConfigHelper-c5f5473a.js +342 -0
  4. package/dist/cjs/{ISave-ecbe9336.js → ISave-4674c283.js} +1 -1
  5. package/dist/cjs/{PersonalizedFilterUtils-eccb267a.js → PersonalizedFilterUtils-263e4d24.js} +52 -5
  6. package/dist/cjs/{SnkFormConfigManager-44386305.js → SnkFormConfigManager-c3a49038.js} +2 -2
  7. package/dist/cjs/{SnkMultiSelectionListDataSource-d341dd02.js → SnkMultiSelectionListDataSource-0bc94d36.js} +4 -4
  8. package/dist/cjs/{auth-fetcher-6b134ec4.js → auth-fetcher-0ecc53ff.js} +1 -1
  9. package/dist/cjs/{dataunit-fetcher-b9822794.js → dataunit-fetcher-bcbc38c0.js} +2 -3
  10. package/dist/cjs/{filter-type.enum-2bb46d2a.js → filter-type.enum-b3b388af.js} +7 -0
  11. package/dist/cjs/{form-config-fetcher-45d1964c.js → form-config-fetcher-f80dbc3b.js} +23 -5
  12. package/dist/cjs/index-1894343a.js +24 -36
  13. package/dist/cjs/loader.cjs.js +1 -1
  14. package/dist/cjs/pesquisa-grid_2.cjs.entry.js +4 -5
  15. package/dist/cjs/sankhyablocks.cjs.js +1 -1
  16. package/dist/cjs/snk-actions-button_9.cjs.entry.js +5 -6
  17. package/dist/cjs/snk-application.cjs.entry.js +7 -8
  18. package/dist/cjs/snk-attach_11.cjs.entry.js +2950 -0
  19. package/dist/cjs/snk-crud.cjs.entry.js +31 -243
  20. package/dist/cjs/snk-data-exporter.cjs.entry.js +5 -6
  21. package/dist/cjs/{snk-data-unit-4b6dc396.js → snk-data-unit-3b94547d.js} +11 -11
  22. package/dist/cjs/snk-data-unit.cjs.entry.js +3 -4
  23. package/dist/cjs/snk-detail-view.cjs.entry.js +9 -10
  24. package/dist/cjs/snk-dynaform-config-header_5.cjs.entry.js +739 -0
  25. package/dist/cjs/snk-dynaform-detail-view_2.cjs.entry.js +938 -0
  26. package/dist/cjs/snk-dynaform-field-config_2.cjs.entry.js +327 -0
  27. package/dist/cjs/snk-dynaform-guides-view-e98f7f3a.js +747 -0
  28. package/dist/cjs/snk-dynaform-guides-view.cjs.entry.js +23 -0
  29. package/dist/cjs/snk-dynaform.cjs.entry.js +675 -0
  30. package/dist/cjs/{snk-expression-group_2.cjs.entry.js → snk-expression-group_4.cjs.entry.js} +421 -18
  31. package/dist/cjs/snk-filter-bar_4.cjs.entry.js +41 -44
  32. package/dist/cjs/snk-form_2.cjs.entry.js +4 -5
  33. package/dist/cjs/snk-grid.cjs.entry.js +7 -8
  34. package/dist/cjs/{snk-guides-viewer-8e7a503b.js → snk-guides-viewer-3054d541.js} +1 -1
  35. package/dist/cjs/snk-guides-viewer.cjs.entry.js +5 -6
  36. package/dist/cjs/snk-layout-form-config.cjs.entry.js +4 -5
  37. package/dist/cjs/snk-pesquisa.cjs.entry.js +4 -5
  38. package/dist/cjs/taskbarUtils-38748460.js +231 -0
  39. package/dist/collection/collection-manifest.json +17 -0
  40. package/dist/collection/components/snk-dynaform/interfaces/PropsCustomEditor.js +1 -0
  41. package/dist/collection/components/snk-dynaform/interfaces/PropsCustomRender.js +1 -0
  42. package/dist/collection/components/snk-dynaform/snk-dynaform.css +64 -0
  43. package/dist/collection/components/snk-dynaform/snk-dynaform.js +1657 -0
  44. package/dist/collection/components/snk-dynaform/subcomponents/CardFormResizeObserver.js +26 -0
  45. package/dist/collection/components/snk-dynaform/subcomponents/GuideBuilder.js +51 -0
  46. package/dist/collection/components/snk-dynaform/subcomponents/snk-dynaform-detail-view/snk-dynaform-detail-view.css +112 -0
  47. package/dist/collection/components/snk-dynaform/subcomponents/snk-dynaform-detail-view/snk-dynaform-detail-view.js +992 -0
  48. package/dist/collection/components/snk-dynaform/subcomponents/snk-dynaform-form-view/snk-dynaform-form-view.css +64 -0
  49. package/dist/collection/components/snk-dynaform/subcomponents/snk-dynaform-form-view/snk-dynaform-form-view.js +588 -0
  50. package/dist/collection/components/snk-dynaform/subcomponents/snk-dynaform-guides-view/snk-dynaform-guides-view.css +98 -0
  51. package/dist/collection/components/snk-dynaform/subcomponents/snk-dynaform-guides-view/snk-dynaform-guides-view.js +1167 -0
  52. package/dist/collection/components/snk-dynaform-form-config/FormConfigHelper.js +325 -0
  53. package/dist/collection/components/snk-dynaform-form-config/SnkFormConfigManager.js +212 -0
  54. package/dist/collection/components/snk-dynaform-form-config/snk-dynaform-config-header/snk-dynaform-config-header.css +17 -0
  55. package/dist/collection/components/snk-dynaform-form-config/snk-dynaform-config-header/snk-dynaform-config-header.js +236 -0
  56. package/dist/collection/components/snk-dynaform-form-config/snk-dynaform-config-header/snk-dynaform-configs-button/snk-dynaform-configs-button.css +41 -0
  57. package/dist/collection/components/snk-dynaform-form-config/snk-dynaform-config-header/snk-dynaform-configs-button/snk-dynaform-configs-button.js +170 -0
  58. package/dist/collection/components/snk-dynaform-form-config/snk-dynaform-field-item/snk-dynaform-field-config/snk-dynaform-field-config.css +22 -0
  59. package/dist/collection/components/snk-dynaform-form-config/snk-dynaform-field-item/snk-dynaform-field-config/snk-dynaform-field-config.js +408 -0
  60. package/dist/collection/components/snk-dynaform-form-config/snk-dynaform-field-item/snk-dynaform-field-item.css +88 -0
  61. package/dist/collection/components/snk-dynaform-form-config/snk-dynaform-field-item/snk-dynaform-field-item.js +209 -0
  62. package/dist/collection/components/snk-dynaform-form-config/snk-dynaform-fields-layout/snk-dynaform-fields-layout.css +167 -0
  63. package/dist/collection/components/snk-dynaform-form-config/snk-dynaform-fields-layout/snk-dynaform-fields-layout.js +655 -0
  64. package/dist/collection/components/snk-dynaform-form-config/snk-dynaform-fields-selector/snk-dynaform-fields-selector.css +42 -0
  65. package/dist/collection/components/snk-dynaform-form-config/snk-dynaform-fields-selector/snk-dynaform-fields-selector.js +171 -0
  66. package/dist/collection/components/snk-dynaform-form-config/snk-dynaform-form-config.css +66 -0
  67. package/dist/collection/components/snk-dynaform-form-config/snk-dynaform-form-config.js +557 -0
  68. package/dist/collection/components/snk-dynaform-form-config/snk-dynaform-guides-configurator/snk-dynaform-guides-configurator.css +80 -0
  69. package/dist/collection/components/snk-dynaform-form-config/snk-dynaform-guides-configurator/snk-dynaform-guides-configurator.js +326 -0
  70. package/dist/collection/components/snk-grid/snk-grid.css +4 -2
  71. package/dist/collection/lib/http/data-fetcher/fetchers/form-config-fetcher.js +22 -4
  72. package/dist/components/form-config-fetcher.js +22 -4
  73. package/dist/components/index.d.ts +12 -0
  74. package/dist/components/index.js +12 -0
  75. package/dist/components/snk-crud.js +1 -212
  76. package/dist/components/snk-dynaform-config-header.d.ts +11 -0
  77. package/dist/components/snk-dynaform-config-header.js +6 -0
  78. package/dist/components/snk-dynaform-config-header2.js +103 -0
  79. package/dist/components/snk-dynaform-configs-button.d.ts +11 -0
  80. package/dist/components/snk-dynaform-configs-button.js +6 -0
  81. package/dist/components/snk-dynaform-configs-button2.js +76 -0
  82. package/dist/components/snk-dynaform-detail-view.d.ts +11 -0
  83. package/dist/components/snk-dynaform-detail-view.js +6 -0
  84. package/dist/components/snk-dynaform-detail-view2.js +1835 -0
  85. package/dist/components/snk-dynaform-field-config.d.ts +11 -0
  86. package/dist/components/snk-dynaform-field-config.js +6 -0
  87. package/dist/components/snk-dynaform-field-config2.js +605 -0
  88. package/dist/components/snk-dynaform-field-item.d.ts +11 -0
  89. package/dist/components/snk-dynaform-field-item.js +6 -0
  90. package/dist/components/snk-dynaform-field-item2.js +96 -0
  91. package/dist/components/snk-dynaform-fields-layout.d.ts +11 -0
  92. package/dist/components/snk-dynaform-fields-layout.js +6 -0
  93. package/dist/components/snk-dynaform-fields-layout2.js +428 -0
  94. package/dist/components/snk-dynaform-fields-selector.d.ts +11 -0
  95. package/dist/components/snk-dynaform-fields-selector.js +6 -0
  96. package/dist/components/snk-dynaform-fields-selector2.js +104 -0
  97. package/dist/components/snk-dynaform-form-config.d.ts +11 -0
  98. package/dist/components/snk-dynaform-form-config.js +6 -0
  99. package/dist/components/snk-dynaform-form-config2.js +430 -0
  100. package/dist/components/snk-dynaform-form-view.d.ts +11 -0
  101. package/dist/components/snk-dynaform-form-view.js +6 -0
  102. package/dist/components/snk-dynaform-form-view2.js +270 -0
  103. package/dist/components/snk-dynaform-guides-configurator.d.ts +11 -0
  104. package/dist/components/snk-dynaform-guides-configurator.js +6 -0
  105. package/dist/components/snk-dynaform-guides-configurator2.js +173 -0
  106. package/dist/components/snk-dynaform-guides-view.d.ts +11 -0
  107. package/dist/components/snk-dynaform-guides-view.js +6 -0
  108. package/dist/components/snk-dynaform.d.ts +11 -0
  109. package/dist/components/snk-dynaform.js +1003 -0
  110. package/dist/components/snk-grid2.js +1 -1
  111. package/dist/components/taskbarUtils.js +224 -0
  112. package/dist/esm/{ConfigStorage-76872695.js → ConfigStorage-e834d1ea.js} +2 -2
  113. package/dist/esm/{DataFetcher-e60f8d53.js → DataFetcher-5ed0a377.js} +2830 -3
  114. package/dist/esm/FormConfigHelper-efc29480.js +328 -0
  115. package/dist/esm/{ISave-4929c071.js → ISave-5b46d691.js} +1 -1
  116. package/dist/esm/{PersonalizedFilterUtils-d2439a9a.js → PersonalizedFilterUtils-45b5803c.js} +49 -2
  117. package/dist/esm/{SnkFormConfigManager-83f6b22f.js → SnkFormConfigManager-bfd575c2.js} +2 -2
  118. package/dist/esm/{SnkMultiSelectionListDataSource-18abafb1.js → SnkMultiSelectionListDataSource-9e9166ae.js} +4 -4
  119. package/dist/esm/{auth-fetcher-1a31c1e4.js → auth-fetcher-5283045d.js} +1 -1
  120. package/dist/esm/{dataunit-fetcher-c176e002.js → dataunit-fetcher-3b1ca96e.js} +1 -2
  121. package/dist/esm/{filter-type.enum-f6a8fe23.js → filter-type.enum-62b7fe88.js} +8 -1
  122. package/dist/esm/{form-config-fetcher-b44b2727.js → form-config-fetcher-db1bf140.js} +23 -5
  123. package/dist/esm/index-04f73a26.js +24 -36
  124. package/dist/esm/loader.js +1 -1
  125. package/dist/esm/pesquisa-grid_2.entry.js +4 -5
  126. package/dist/esm/sankhyablocks.js +1 -1
  127. package/dist/esm/snk-actions-button_9.entry.js +5 -6
  128. package/dist/esm/snk-application.entry.js +6 -7
  129. package/dist/esm/snk-attach_11.entry.js +2936 -0
  130. package/dist/esm/snk-crud.entry.js +6 -218
  131. package/dist/esm/snk-data-exporter.entry.js +5 -6
  132. package/dist/esm/{snk-data-unit-d8cfa950.js → snk-data-unit-dfde62cb.js} +2 -2
  133. package/dist/esm/snk-data-unit.entry.js +3 -4
  134. package/dist/esm/snk-detail-view.entry.js +7 -8
  135. package/dist/esm/snk-dynaform-config-header_5.entry.js +731 -0
  136. package/dist/esm/snk-dynaform-detail-view_2.entry.js +933 -0
  137. package/dist/esm/snk-dynaform-field-config_2.entry.js +322 -0
  138. package/dist/esm/snk-dynaform-guides-view-1f1455d6.js +744 -0
  139. package/dist/esm/snk-dynaform-guides-view.entry.js +15 -0
  140. package/dist/esm/snk-dynaform.entry.js +671 -0
  141. package/dist/esm/{snk-expression-group_2.entry.js → snk-expression-group_4.entry.js} +405 -4
  142. package/dist/esm/snk-filter-bar_4.entry.js +5 -8
  143. package/dist/esm/snk-form_2.entry.js +4 -5
  144. package/dist/esm/snk-grid.entry.js +7 -8
  145. package/dist/esm/{snk-guides-viewer-adf39ea2.js → snk-guides-viewer-95fefcaa.js} +1 -1
  146. package/dist/esm/snk-guides-viewer.entry.js +5 -6
  147. package/dist/esm/snk-layout-form-config.entry.js +4 -5
  148. package/dist/esm/snk-pesquisa.entry.js +4 -5
  149. package/dist/esm/taskbarUtils-8501d09e.js +225 -0
  150. package/dist/sankhyablocks/p-0dbd53d9.js +1 -0
  151. package/dist/sankhyablocks/{p-f5ad0720.js → p-19d1ca14.js} +1 -1
  152. package/dist/sankhyablocks/{p-ab5e12fa.js → p-1cc4cf61.js} +1 -1
  153. package/dist/sankhyablocks/p-1edd6be6.entry.js +1 -0
  154. package/dist/sankhyablocks/p-22ddc1a5.entry.js +1 -0
  155. package/dist/sankhyablocks/p-24b059ee.entry.js +1 -0
  156. package/dist/sankhyablocks/{p-5c250661.js → p-2c00b93d.js} +1 -1
  157. package/dist/sankhyablocks/p-3623fddf.entry.js +1 -0
  158. package/dist/sankhyablocks/p-43c94ba5.entry.js +1 -0
  159. package/dist/sankhyablocks/p-449dfe55.entry.js +1 -0
  160. package/dist/sankhyablocks/p-451b5bcc.entry.js +1 -0
  161. package/dist/sankhyablocks/p-46d7e2de.js +1 -0
  162. package/dist/sankhyablocks/{p-3c990841.js → p-51e853f2.js} +1 -1
  163. package/dist/sankhyablocks/p-58709cf9.js +1 -0
  164. package/dist/sankhyablocks/p-589016e2.entry.js +1 -0
  165. package/dist/sankhyablocks/p-5d02c032.js +1 -0
  166. package/dist/sankhyablocks/p-5d50f59a.entry.js +1 -0
  167. package/dist/sankhyablocks/p-61776b68.entry.js +1 -0
  168. package/dist/sankhyablocks/p-6b8a1ec3.js +1 -0
  169. package/dist/sankhyablocks/p-7038cf62.entry.js +1 -0
  170. package/dist/sankhyablocks/{p-b1bb4cf1.js → p-70c2ee5c.js} +1 -1
  171. package/dist/sankhyablocks/p-7628e04f.entry.js +1 -0
  172. package/dist/sankhyablocks/p-7798788b.entry.js +1 -0
  173. package/dist/sankhyablocks/p-77c26de0.js +1 -0
  174. package/dist/sankhyablocks/p-7c34a0f7.entry.js +1 -0
  175. package/dist/sankhyablocks/p-a4a0d9b7.entry.js +1 -0
  176. package/dist/sankhyablocks/{p-4f7adf97.js → p-b1bf9564.js} +1 -1
  177. package/dist/sankhyablocks/p-b4c2a99c.entry.js +1 -0
  178. package/dist/sankhyablocks/p-b75af274.entry.js +1 -0
  179. package/dist/sankhyablocks/p-c538bd6c.entry.js +1 -0
  180. package/dist/sankhyablocks/{p-3704bf1b.js → p-d5810110.js} +1 -1
  181. package/dist/sankhyablocks/p-d7fd447e.entry.js +1 -0
  182. package/dist/sankhyablocks/p-d88278f8.js +28 -0
  183. package/dist/sankhyablocks/p-f076d742.js +60 -0
  184. package/dist/sankhyablocks/{p-8fe740b7.entry.js → p-f1ef090f.entry.js} +2 -2
  185. package/dist/sankhyablocks/sankhyablocks.esm.js +1 -1
  186. package/dist/types/components/snk-dynaform/interfaces/PropsCustomEditor.d.ts +4 -0
  187. package/dist/types/components/snk-dynaform/interfaces/PropsCustomRender.d.ts +4 -0
  188. package/dist/types/components/snk-dynaform/subcomponents/CardFormResizeObserver.d.ts +1 -0
  189. package/dist/types/components/snk-dynaform/subcomponents/GuideBuilder.d.ts +14 -0
  190. package/dist/types/components/snk-dynaform/subcomponents/snk-dynaform-detail-view/snk-dynaform-detail-view.d.ts +158 -0
  191. package/dist/types/components/snk-dynaform/subcomponents/snk-dynaform-form-view/snk-dynaform-form-view.d.ts +107 -0
  192. package/dist/types/components/snk-dynaform-form-config/FormConfigHelper.d.ts +36 -0
  193. package/dist/types/components/snk-dynaform-form-config/SnkFormConfigManager.d.ts +35 -0
  194. package/dist/types/components/snk-dynaform-form-config/snk-dynaform-config-header/snk-dynaform-config-header.d.ts +23 -0
  195. package/dist/types/components/snk-dynaform-form-config/snk-dynaform-config-header/snk-dynaform-configs-button/snk-dynaform-configs-button.d.ts +19 -0
  196. package/dist/types/components/snk-dynaform-form-config/snk-dynaform-field-item/snk-dynaform-field-config/snk-dynaform-field-config.d.ts +56 -0
  197. package/dist/types/components/snk-dynaform-form-config/snk-dynaform-fields-layout/snk-dynaform-fields-layout.d.ts +74 -0
  198. package/dist/types/components/snk-dynaform-form-config/snk-dynaform-fields-selector/snk-dynaform-fields-selector.d.ts +21 -0
  199. package/dist/types/components/snk-dynaform-form-config/snk-dynaform-form-config.d.ts +95 -0
  200. package/dist/types/components/snk-dynaform-form-config/snk-dynaform-guides-configurator/snk-dynaform-guides-configurator.d.ts +35 -0
  201. package/dist/types/components.d.ts +2403 -1322
  202. package/dist/types/lib/http/data-fetcher/fetchers/form-config-fetcher.d.ts +1 -0
  203. package/package.json +1 -1
  204. package/react/components.d.ts +12 -0
  205. package/react/components.js +12 -0
  206. package/react/components.js.map +1 -1
  207. package/dist/cjs/SnkMessageBuilder-a9300ebe.js +0 -2833
  208. package/dist/cjs/default-filters-a09bf82b.js +0 -8
  209. package/dist/cjs/index-62760a9c.js +0 -49
  210. package/dist/cjs/index-8d94b7e0.js +0 -7
  211. package/dist/cjs/snk-attach.cjs.entry.js +0 -948
  212. package/dist/cjs/snk-default-filter.cjs.entry.js +0 -77
  213. package/dist/cjs/snk-filter-advanced-mode_3.cjs.entry.js +0 -99
  214. package/dist/cjs/snk-filter-detail.cjs.entry.js +0 -198
  215. package/dist/cjs/snk-filter-field-search_2.cjs.entry.js +0 -408
  216. package/dist/cjs/snk-filter-modal-item.cjs.entry.js +0 -109
  217. package/dist/cjs/snk-image-input.cjs.entry.js +0 -160
  218. package/dist/cjs/snk-personalized-filter.cjs.entry.js +0 -358
  219. package/dist/cjs/snk-simple-crud.cjs.entry.js +0 -865
  220. package/dist/esm/SnkMessageBuilder-1eb7a1af.js +0 -2831
  221. package/dist/esm/default-filters-50105e43.js +0 -8
  222. package/dist/esm/index-620ac460.js +0 -7
  223. package/dist/esm/index-8acbae97.js +0 -49
  224. package/dist/esm/snk-attach.entry.js +0 -944
  225. package/dist/esm/snk-default-filter.entry.js +0 -73
  226. package/dist/esm/snk-filter-advanced-mode_3.entry.js +0 -93
  227. package/dist/esm/snk-filter-detail.entry.js +0 -194
  228. package/dist/esm/snk-filter-field-search_2.entry.js +0 -403
  229. package/dist/esm/snk-filter-modal-item.entry.js +0 -105
  230. package/dist/esm/snk-image-input.entry.js +0 -156
  231. package/dist/esm/snk-personalized-filter.entry.js +0 -354
  232. package/dist/esm/snk-simple-crud.entry.js +0 -861
  233. package/dist/sankhyablocks/p-0a4cdcde.entry.js +0 -1
  234. package/dist/sankhyablocks/p-0afc64df.entry.js +0 -1
  235. package/dist/sankhyablocks/p-10f27dc6.entry.js +0 -1
  236. package/dist/sankhyablocks/p-20f03230.entry.js +0 -1
  237. package/dist/sankhyablocks/p-2af8aca3.js +0 -1
  238. package/dist/sankhyablocks/p-3870748a.js +0 -28
  239. package/dist/sankhyablocks/p-3d294185.entry.js +0 -1
  240. package/dist/sankhyablocks/p-438a225f.entry.js +0 -1
  241. package/dist/sankhyablocks/p-4d04bc75.entry.js +0 -1
  242. package/dist/sankhyablocks/p-554c0e54.js +0 -1
  243. package/dist/sankhyablocks/p-57c184a2.entry.js +0 -1
  244. package/dist/sankhyablocks/p-68c1a093.js +0 -1
  245. package/dist/sankhyablocks/p-6a4b21dd.js +0 -1
  246. package/dist/sankhyablocks/p-6ae7543b.entry.js +0 -1
  247. package/dist/sankhyablocks/p-6e278003.js +0 -60
  248. package/dist/sankhyablocks/p-82bcb4cf.entry.js +0 -1
  249. package/dist/sankhyablocks/p-84345e7a.js +0 -1
  250. package/dist/sankhyablocks/p-95af0bb1.entry.js +0 -1
  251. package/dist/sankhyablocks/p-a905712a.entry.js +0 -1
  252. package/dist/sankhyablocks/p-aff2d081.entry.js +0 -1
  253. package/dist/sankhyablocks/p-b0a357b4.entry.js +0 -1
  254. package/dist/sankhyablocks/p-b568c1d4.js +0 -1
  255. package/dist/sankhyablocks/p-bab4cde4.entry.js +0 -1
  256. package/dist/sankhyablocks/p-bd3c1aaa.entry.js +0 -1
  257. package/dist/sankhyablocks/p-cc64239c.entry.js +0 -1
  258. package/dist/sankhyablocks/p-cd00a3d1.entry.js +0 -1
  259. package/dist/sankhyablocks/p-d9ec8c4b.entry.js +0 -1
  260. package/dist/sankhyablocks/p-dbdbb77a.entry.js +0 -1
  261. package/dist/sankhyablocks/p-e8df1dea.entry.js +0 -1
  262. package/dist/sankhyablocks/p-ef9343c3.entry.js +0 -1
  263. package/dist/sankhyablocks/p-f4184ce7.js +0 -1
@@ -1,11 +1,12 @@
1
1
  import { r as registerInstance, e as createEvent, h, i as forceUpdate, f as Host, g as getElement } from './index-04f73a26.js';
2
- import { a as FilterGroupCondition, F as FilterOperand } from './index-8acbae97.js';
2
+ import { a as FilterGroupCondition, F as FilterOperand, b as FilterConfigType, P as PersonalizedFilterUtils, c as FilterEntities, d as FilterUserConfigTypes } from './PersonalizedFilterUtils-45b5803c.js';
3
3
  import { ApplicationUtils, CheckMode } from '@sankhyalabs/ezui/dist/collection/utils';
4
- import { ApplicationContext, StringUtils, ElementIDUtils, UserInterface } from '@sankhyalabs/core';
5
- import { S as SelectedItemType } from './index-620ac460.js';
4
+ import { ApplicationContext, StringUtils, ElementIDUtils, UserInterface, JSUtils, DataType } from '@sankhyalabs/core';
6
5
  import { fieldBuilder } from '@sankhyalabs/ezui/dist/collection/components/ez-form-view/fieldbuilder/FieldBuilder';
7
6
  import { s as store } from './index-ea250be6.js';
8
7
  import { convertType } from '@sankhyalabs/core/dist/dataunit/metadata/DataType';
8
+ import { ModalAction } from '@sankhyalabs/ezui/dist/collection/components/ez-modal-container';
9
+ import './filter-item-type.enum-d45e026f.js';
9
10
 
10
11
  const snkExpressionGroupCss = ".sc-snk-expression-group-h{display:block;--snk-expression-group--container-condition--width:184px;--snk-expression-group--container-condition--height:38px;--snk-expression-group--container-condition--border-radius:var(--border--radius-medium, 12px);--snk-expression-group--container-option--width:85px;--snk-expression-group__container-condition--background-and:#66B6A0;--snk-expression-group__container-condition--background-or:#EBC65E;--snk-expression-group__container-expression--padding-left:26px;--snk-expression-group__background-color-dashed:var(--background--body, #fafcff);--ez-text-input__margin-bottom:0px}.snk-expression-group__container-condition.sc-snk-expression-group{width:var(--snk-expression-group--container-condition--width);height:var(--snk-expression-group--container-condition--height);border-radius:var(--snk-expression-group--container-condition--border-radius);z-index:var(--more-visible--2x, 3);padding:var(--space--nano, 2px)}.snk-expression-group__container-option.sc-snk-expression-group{width:var(--snk-expression-group--container-option--width)}.snk-expression-group__container-condition[data-condition=\"AND\"].sc-snk-expression-group{background-color:var(--snk-expression-group__container-condition--background-and)}.snk-expression-group__container-condition[data-condition=\"OR\"].sc-snk-expression-group{background-color:var(--snk-expression-group__container-condition--background-or)}.snk-expression-group__container-expression.sc-snk-expression-group{padding-left:var(--snk-expression-group__container-expression--padding-left)}.dashes.sc-snk-expression-group{z-index:var(--visible, 1);background:var(--snk-expression-group__background-color-dashed);border-left:2px dashed var(--text-secondary, #A2ABB9);position:absolute;width:15px;height:58px;margin-left:-15px;margin-top:-36.5px}.horizontal-dashes.sc-snk-expression-group{z-index:var(--more-visible, 2);border-bottom:2px dashed var(--text-secondary, #A2ABB9);position:absolute;width:15px;height:54px;margin-left:-15px;margin-top:-33.5px}.hidden.sc-snk-expression-group{display:none}";
11
12
 
@@ -249,6 +250,12 @@ const SnkExpressionGroup = class {
249
250
  };
250
251
  SnkExpressionGroup.style = snkExpressionGroupCss;
251
252
 
253
+ var SelectedItemType;
254
+ (function (SelectedItemType) {
255
+ SelectedItemType["LINK"] = "LINK";
256
+ SelectedItemType["FIELD"] = "FIELD";
257
+ })(SelectedItemType || (SelectedItemType = {}));
258
+
252
259
  const defaultsOperand = [
253
260
  { label: "snkPersonalizedFilter.operands.equal", value: "EQUAL" },
254
261
  { label: "snkPersonalizedFilter.operands.different", value: "DIFFERENT" },
@@ -540,4 +547,398 @@ const SnkExpressionItem = class {
540
547
  };
541
548
  SnkExpressionItem.style = snkExpressionItemCss;
542
549
 
543
- export { SnkExpressionGroup as snk_expression_group, SnkExpressionItem as snk_expression_item };
550
+ const ICON_MODES = {
551
+ [UserInterface.SHORTTEXT]: 'text',
552
+ [UserInterface.LONGTEXT]: 'text',
553
+ [UserInterface.INTEGERNUMBER]: 'number',
554
+ [UserInterface.DECIMALNUMBER]: 'number',
555
+ [UserInterface.DATE]: 'calendar',
556
+ [UserInterface.DATETIME]: 'calendar',
557
+ [UserInterface.SWITCH]: 'boolean',
558
+ [UserInterface.CHECKBOX]: 'check-circle-inverted',
559
+ [UserInterface.OPTIONSELECTOR]: 'list',
560
+ [UserInterface.SEARCH]: 'search',
561
+ [UserInterface.HTML]: 'tag_code',
562
+ [UserInterface.IMAGE]: 'png',
563
+ [UserInterface.FILE]: 'edit-file',
564
+ [UserInterface.TIME]: 'timer-outline',
565
+ [UserInterface.ELAPSEDTIME]: 'timer',
566
+ [UserInterface.MASKEDTEXT]: 'text',
567
+ [UserInterface.PASSWORD]: 'email',
568
+ };
569
+ const ListItem = ({ userInterface, description }) => {
570
+ return (h("ez-icon", { iconName: ICON_MODES[userInterface], class: "ez-padding-left--small", title: description }));
571
+ };
572
+
573
+ const snkFilterFieldSearchCss = ".sc-snk-filter-field-search-h{--snk-filter-field-search--container-width:468px;--snk-filter-field-search--container-height:322px}.snk-filter-field-search__container.sc-snk-filter-field-search{display:flex;flex-direction:column;padding:var(--space--medium);width:var(--snk-filter-field-search--container-width);height:var(--snk-filter-field-search--container-height)}.snk-filter-field-search__section.sc-snk-filter-field-search{display:grid;grid-template-columns:1fr 1fr;place-items:flex-start;overflow:hidden;gap:var(--space--small)}.snk-filter-field-search__input.sc-snk-filter-field-search{margin-bottom:var(--space--medium)}.snk-filter-field-search__list_container.sc-snk-filter-field-search{display:flex;flex-direction:column}.snk-filter-field-search__list.sc-snk-filter-field-search{overflow-y:auto}";
574
+
575
+ const SNK_CONTEXT_KEY = "__SNK__APPLICATION__";
576
+ const ENTITY_NAME_PATTERN = /\w+:\/\/(\w+)/;
577
+ const SnkFilterFieldSearch = class {
578
+ constructor(hostRef) {
579
+ registerInstance(this, hostRef);
580
+ this.ezSelectFilterItem = createEvent(this, "ezSelectFilterItem", 7);
581
+ this._currentMetadata = null;
582
+ this._filterText = "";
583
+ this._isLoading = false;
584
+ this.searchable = true;
585
+ this.fieldsDataSource = undefined;
586
+ this.breadcrumbItems = [];
587
+ this.linkItems = [];
588
+ this.fieldItems = [];
589
+ this.searchEmpty = false;
590
+ this.groupEmpty = false;
591
+ }
592
+ /**
593
+ * /**
594
+ * Realiza a abertura do componente abaixo do elemento HTML informado
595
+ * e faz a primeira carga de dados.
596
+ *
597
+ * @param {HTMLElement} element - Elemento HTML onde o snk-filter-field-search irá se posicionar abaixo.
598
+ * @param {IEzPopoverAnchorOptions} options - opções para regular o posicionamento do componente.
599
+ */
600
+ async show(element, options) {
601
+ var _a;
602
+ if (element) {
603
+ (_a = this._ezPopover) === null || _a === void 0 ? void 0 : _a.showUnder(element, options);
604
+ }
605
+ else {
606
+ this._ezPopover.show();
607
+ }
608
+ return this.loadData();
609
+ }
610
+ /**
611
+ * Filtra a fonte de dados do componente.
612
+ * @param {string} filterText - Texto para filtrar a fonte de dados.
613
+ * @throws {Error} - Quando o componente estiver com a propriedade searchable como true.
614
+ */
615
+ async applyFilter(filterText) {
616
+ if (this.searchable)
617
+ throw new Error('This method is not available when searchable is true');
618
+ this.handleFilterChange(filterText);
619
+ }
620
+ async loadData() {
621
+ var _a, _b;
622
+ this._isLoading = true;
623
+ let metadata = await this.fieldsDataSource.fetchData(this._currentLink);
624
+ this._currentLink = metadata.currentLink;
625
+ const { fields, links } = metadata || {};
626
+ if (!Array.isArray(fields) || !Array.isArray(links))
627
+ throw new Error('Invalid metadata');
628
+ this._currentMetadata = metadata;
629
+ this.mapDataSourceToLinkItems();
630
+ this.mapDataSourceToFieldItems();
631
+ this._isLoading = false;
632
+ (_a = this._ezFieldList) === null || _a === void 0 ? void 0 : _a.scrollToTop();
633
+ (_b = this._ezLinkList) === null || _b === void 0 ? void 0 : _b.scrollToTop();
634
+ }
635
+ mapDataSourceToLinkItems() {
636
+ var _a;
637
+ const { links } = this._currentMetadata;
638
+ const filterLinkLabelMessage = this.getMessage('snkFilterFieldSearch.linkLabel', { link: (_a = this._currentLink) === null || _a === void 0 ? void 0 : _a.description });
639
+ const items = links.map(link => (Object.assign({ label: link.description }, link)));
640
+ this.groupEmpty = Boolean(items.length === 0);
641
+ this.linkItems = [{
642
+ group: filterLinkLabelMessage,
643
+ items,
644
+ }];
645
+ if (this.breadcrumbItems.length === 0) {
646
+ this.breadcrumbItems = [Object.assign({ id: JSUtils.generateUUID(), label: this._currentLink.description }, this._currentLink)];
647
+ }
648
+ }
649
+ mapDataSourceToFieldItems() {
650
+ var _a;
651
+ const fields = this._currentMetadata.fields;
652
+ const filterFieldLabelMessage = this.getMessage('snkFilterFieldSearch.fieldLabel', { link: (_a = this._currentLink) === null || _a === void 0 ? void 0 : _a.description });
653
+ const filteredFields = fields.filter(field => {
654
+ if (!this._currentLink)
655
+ return true;
656
+ const searchableByDescription = field.description.toLowerCase().includes(this._filterText.toLowerCase());
657
+ const searchableByName = field.name.toLowerCase().includes(this._filterText.toLowerCase());
658
+ return searchableByDescription || searchableByName;
659
+ });
660
+ const items = filteredFields.map(field => (Object.assign({ label: field.description }, field)));
661
+ this.searchEmpty = Boolean(this._filterText && items.length === 0);
662
+ this.fieldItems = [{
663
+ group: filterFieldLabelMessage,
664
+ items
665
+ }];
666
+ }
667
+ handleFilterChange(filterText) {
668
+ if (this._isLoading)
669
+ return;
670
+ this._filterText = filterText;
671
+ this.mapDataSourceToFieldItems();
672
+ }
673
+ handleSelectLink({ detail: item }) {
674
+ if (this._isLoading)
675
+ return;
676
+ const breadcrumbByIndex = this.breadcrumbItems.findIndex(breadcrumbItem => breadcrumbItem.id === item.id);
677
+ if (breadcrumbByIndex > -1) {
678
+ this.breadcrumbItems = this.breadcrumbItems.slice(0, (breadcrumbByIndex + 1));
679
+ }
680
+ else {
681
+ this.breadcrumbItems = [...this.breadcrumbItems, Object.assign({ id: JSUtils.generateUUID(), label: item.description }, item)];
682
+ }
683
+ const selectedItem = Object.assign(Object.assign({}, item), { type: SelectedItemType.LINK });
684
+ this._currentLink = selectedItem;
685
+ this.ezSelectFilterItem.emit(selectedItem);
686
+ this.loadData();
687
+ }
688
+ getEntityFromBreadCrumbItem(item) {
689
+ const result = ENTITY_NAME_PATTERN.exec(item.uri);
690
+ if (!result) {
691
+ return undefined;
692
+ }
693
+ return result[1];
694
+ }
695
+ handleSelectField({ detail: item }) {
696
+ var _a;
697
+ const breadcrumbPath = this.breadcrumbItems.map(breadcrumbItem => breadcrumbItem.label).join('>>');
698
+ const selectedField = Object.assign(Object.assign({}, item), { type: SelectedItemType.FIELD, entityPath: this.breadcrumbItems.map(item => this.getEntityFromBreadCrumbItem(item)).filter(item => item != undefined), path: `${breadcrumbPath} >> ${item.description}` });
699
+ this.ezSelectFilterItem.emit(selectedField);
700
+ (_a = this._ezPopover) === null || _a === void 0 ? void 0 : _a.hide();
701
+ }
702
+ getElementID(sufix) {
703
+ return {
704
+ [ElementIDUtils.DATA_ELEMENT_ID_ATTRIBUTE_NAME]: ElementIDUtils.getInternalIDInfo(sufix)
705
+ };
706
+ }
707
+ /**
708
+ * Conforme mecanismo de mensagens, é possível customizar as mensagens dos blocos de construção
709
+ * através de um pequeno modulo na estrutura da aplicação:
710
+ * - Criar um arquivo no seguinte caminho: /messages/appmessages.msg.js.
711
+ * Para conhecer os detalhes do módulo, vide o arquivo neste projeto "/src/lib/message/resources/snk-filter-field-search.msg.ts"
712
+ */
713
+ getMessage(key, params) {
714
+ var _a, _b, _c;
715
+ if (!this._application)
716
+ this._application = ApplicationContext.getContextValue(SNK_CONTEXT_KEY);
717
+ return (_c = (_b = (_a = this._application) === null || _a === void 0 ? void 0 : _a.messagesBuilder) === null || _b === void 0 ? void 0 : _b.getMessage) === null || _c === void 0 ? void 0 : _c.call(_b, key, params);
718
+ }
719
+ ;
720
+ componentWillLoad() {
721
+ this._application = ApplicationContext.getContextValue(SNK_CONTEXT_KEY);
722
+ }
723
+ componentDidLoad() {
724
+ ElementIDUtils.addIDInfoIfNotExists(this._ezPopover, 'popover');
725
+ }
726
+ disconnectedCallback() {
727
+ var _a;
728
+ (_a = this._ezPopover) === null || _a === void 0 ? void 0 : _a.hide();
729
+ }
730
+ render() {
731
+ var _a;
732
+ const searchLabelMessage = this.getMessage('snkFilterFieldSearch.searchLabel');
733
+ return (h("ez-popover", Object.assign({ ref: (el) => this._ezPopover = el, role: "dialog", overlayType: "none", "aria-hidden": !((_a = this._ezPopover) === null || _a === void 0 ? void 0 : _a.opened) }, this.getElementID('EzPopover')), h("div", { class: "snk-filter-field-search__container" }, h("header", { class: "snk-filter-field-search__header" }, this.searchable && !!searchLabelMessage && (h("ez-filter-input", Object.assign({ class: "snk-filter-field-search__input", label: searchLabelMessage, asyncSearch: true, canShowError: false, onEzSearching: (event) => this.handleFilterChange.bind(this)(event.detail), "aria-label": searchLabelMessage, "aria-required": "false", "aria-invalid": "false" }, this.getElementID('EzFilterInput')))), this.breadcrumbItems.length > 0 && (h("ez-breadcrumb", Object.assign({ items: this.breadcrumbItems, onSelectedItem: this.handleSelectLink.bind(this), role: "navigation", "aria-current": "step" }, this.getElementID('EzBreadcrumb')))), h("hr", { class: "ez-divider-horizontal ez-margin-vertical--medium" })), h("section", { class: `snk-filter-field-search__section ${(this.groupEmpty && this.searchEmpty) && " ez-margin--auto"}` }, this.groupEmpty ?
734
+ h("div", { class: "ez-margin--auto" }, h("span", { class: "ez-text ez-text--secondary ez-text--medium" }, this.getMessage('snkFilterFieldSearch.groupEmpty')))
735
+ :
736
+ h("ez-list", Object.assign({ ref: (el) => this._ezLinkList = el, class: "snk-filter-field-search__list", id: "filterLinkList", useGroups: true, dataSource: this.linkItems, onEzSelectItem: this.handleSelectLink.bind(this), hoverFeedback: true, ezSelectable: true, itemSlotBuilder: listItem => h("ez-badge", { label: listItem.fieldCount }), "aria-describedby": "filterLinkLabel" }, this.getElementID('EzListLinks'))), this.searchEmpty ?
737
+ h("div", { class: "ez-margin--auto" }, h("span", { class: "ez-text ez-text--secondary ez-text--medium" }, this.getMessage('snkFilterFieldSearch.searchEmpty')))
738
+ :
739
+ h("ez-list", Object.assign({ ref: (el) => this._ezFieldList = el, class: "snk-filter-field-search__list", id: "filterFieldList", useGroups: true, dataSource: this.fieldItems, onEzSelectItem: this.handleSelectField.bind(this), hoverFeedback: true, ezSelectable: true, itemSlotBuilder: ListItem, "aria-describedby": "filterFieldLabel" }, this.getElementID('EzListFields')))))));
740
+ }
741
+ };
742
+ SnkFilterFieldSearch.style = snkFilterFieldSearchCss;
743
+
744
+ const snkFilterParamConfigCss = ":host{--snk-filter-param-config__expression--color:var(--title--primary, #2b3a54);display:flex;position:relative}.snk-filter-param-config__expression{--text-area__input--disabled--color:var(--snk-filter-param-config__expression--color)}";
745
+
746
+ const SnkFilterParamConfig = class {
747
+ constructor(hostRef) {
748
+ registerInstance(this, hostRef);
749
+ this._opened = false;
750
+ this._configType = FilterConfigType.SYSTEM_CONFIG;
751
+ this._expressionItem = undefined;
752
+ this._informedInstance = false;
753
+ this._canSave = false;
754
+ this.messagesBuilder = undefined;
755
+ }
756
+ /**
757
+ * Abre o modal de configuração de valor variável
758
+ */
759
+ open(expressionItem) {
760
+ this._opened = true;
761
+ this._expressionItem = expressionItem;
762
+ this.loadValues();
763
+ return new Promise(accept => {
764
+ this._promiseResolver = accept;
765
+ });
766
+ }
767
+ /**
768
+ * Fecha o modal de configuração de valor variável
769
+ */
770
+ close() {
771
+ this._opened = false;
772
+ return new Promise(accept => {
773
+ this._promiseResolver = accept;
774
+ });
775
+ }
776
+ /**
777
+ * Conforme mecanismo de mensagens, é possível customizar as mensagens dos blocos de construção
778
+ * através de um pequeno modulo na estrutura da aplicação:
779
+ * - Criar um arquivo no seguinte caminho: /messages/appmessages.msg.js.
780
+ * Para conhecer os detalhes do módulo, vide o arquivo neste projeto "/src/lib/message/resources/snk-filter-param-config.msg.ts"
781
+ */
782
+ getMessage(key, params) {
783
+ var _a;
784
+ return (_a = this.messagesBuilder) === null || _a === void 0 ? void 0 : _a.getMessage(key, params);
785
+ }
786
+ getConfigValue(configName, inputName, inputAlias = "") {
787
+ var _a, _b, _c;
788
+ return ((_b = (_a = this._expressionItem) === null || _a === void 0 ? void 0 : _a[configName]) === null || _b === void 0 ? void 0 : _b[inputName])
789
+ || ((_c = this._expressionItem) === null || _c === void 0 ? void 0 : _c[inputAlias || inputName]);
790
+ }
791
+ loadValues() {
792
+ var _a;
793
+ const entityName = this.getConfigValue("systemConfig", "entity", "entityName");
794
+ const fieldName = this.getConfigValue("systemConfig", "fieldName");
795
+ const description = this.getConfigValue("userConfig", "description");
796
+ const type = this.getConfigValue("userConfig", "type");
797
+ if (((_a = this._expressionItem) === null || _a === void 0 ? void 0 : _a.userConfig) != undefined) {
798
+ this._configType = FilterConfigType.USER_CONFIG;
799
+ }
800
+ else {
801
+ this._configType = FilterConfigType.SYSTEM_CONFIG;
802
+ }
803
+ if (!StringUtils.isEmpty(entityName) && !StringUtils.isEmpty(fieldName)) {
804
+ this._instanceElement.value = { value: entityName, label: "" };
805
+ this._fieldElement.value = { value: fieldName, label: "" };
806
+ }
807
+ if (!StringUtils.isEmpty(description) && !StringUtils.isEmpty(type)) {
808
+ this._descriptionElement.value = description;
809
+ this._typeElement.value = type;
810
+ }
811
+ this.buildFilterExpression();
812
+ }
813
+ changeDefinitionUsed(option) {
814
+ this._configType = option !== null && option !== void 0 ? option : FilterConfigType.SYSTEM_CONFIG;
815
+ if (this._configType === FilterConfigType.SYSTEM_CONFIG) {
816
+ const entityName = this.getConfigValue("systemConfig", "entity", "entityName");
817
+ const fieldName = this.getConfigValue("systemConfig", "fieldName");
818
+ this._instanceElement.value = this._instanceElement.value || { value: entityName, label: "" };
819
+ this._fieldElement.value = this._fieldElement.value || { value: fieldName, label: "" };
820
+ }
821
+ else if (this._configType === FilterConfigType.USER_CONFIG) {
822
+ const description = this.getConfigValue("userConfig", "description");
823
+ const type = this.getConfigValue("userConfig", "type");
824
+ this._descriptionElement.value = this._descriptionElement.value || description;
825
+ this._typeElement.value = this._typeElement.value || type;
826
+ }
827
+ this.buildFilterExpression();
828
+ }
829
+ getTypeValue() {
830
+ var _a;
831
+ const value = (_a = this._typeElement) === null || _a === void 0 ? void 0 : _a.value;
832
+ return ((value === null || value === void 0 ? void 0 : value.value) || value);
833
+ }
834
+ getExpressionValues() {
835
+ var _a, _b, _c, _d, _e;
836
+ let systemConfig;
837
+ let userConfig;
838
+ if (this._configType === FilterConfigType.SYSTEM_CONFIG) {
839
+ const entity = (_b = (_a = this._instanceElement) === null || _a === void 0 ? void 0 : _a.value) === null || _b === void 0 ? void 0 : _b.value;
840
+ const fieldName = (_d = (_c = this._fieldElement) === null || _c === void 0 ? void 0 : _c.value) === null || _d === void 0 ? void 0 : _d.value;
841
+ systemConfig = { entity, fieldName };
842
+ }
843
+ else if (this._configType === FilterConfigType.USER_CONFIG) {
844
+ const description = (_e = this._descriptionElement) === null || _e === void 0 ? void 0 : _e.value;
845
+ const type = this.getTypeValue();
846
+ userConfig = { description, type };
847
+ }
848
+ return Object.assign(Object.assign(Object.assign({}, this._expressionItem), { systemConfig }), { userConfig });
849
+ }
850
+ isEnabled(value) {
851
+ return this._configType === value;
852
+ }
853
+ isInformedInstance() {
854
+ var _a, _b;
855
+ return !StringUtils.isEmpty((_b = (_a = this._instanceElement) === null || _a === void 0 ? void 0 : _a.value) === null || _b === void 0 ? void 0 : _b.value);
856
+ }
857
+ save() {
858
+ var _a;
859
+ this._expressionItem = Object.assign(Object.assign({}, this.getExpressionValues()), { expression: (_a = this._expressionElement) === null || _a === void 0 ? void 0 : _a.value });
860
+ this._promiseResolver(this._expressionItem);
861
+ this._opened = false;
862
+ }
863
+ buildFilterExpression() {
864
+ var _a;
865
+ this._informedInstance = this.isInformedInstance();
866
+ const expression = PersonalizedFilterUtils.buildFilterExpression(this.getExpressionValues());
867
+ this._expressionElement.value = expression || ((_a = this._expressionItem) === null || _a === void 0 ? void 0 : _a.expression);
868
+ this._canSave = this.getCanSave();
869
+ }
870
+ handleChangeInstance() {
871
+ this._informedInstance = this.isInformedInstance();
872
+ if (this._fieldElement != undefined && !StringUtils.isEmpty(this._fieldElement.value)) {
873
+ this._fieldElement.value = null;
874
+ }
875
+ this.buildFilterExpression();
876
+ }
877
+ getInstanceCriteria() {
878
+ var _a, _b;
879
+ const value = (_b = (_a = this._instanceElement) === null || _a === void 0 ? void 0 : _a.value) === null || _b === void 0 ? void 0 : _b.value;
880
+ return {
881
+ expression: "this.NOMETAB = (SELECT NOMETAB FROM TDDINS WHERE NOMEINSTANCIA = ?)",
882
+ params: [
883
+ {
884
+ name: "NOMEINSTANCIA",
885
+ dataType: DataType.TEXT,
886
+ value
887
+ }
888
+ ]
889
+ };
890
+ }
891
+ onSearch({ mode, argument }, entity) {
892
+ if (this._application == undefined || !this._opened) {
893
+ return;
894
+ }
895
+ const isField = entity === FilterEntities.FIELD;
896
+ const criteria = isField ? this.getInstanceCriteria() : undefined;
897
+ const messageKey = `snkFilterParamConfig.label${isField ? "Field" : "Instance"}`;
898
+ const entityDescription = this.getMessage(messageKey);
899
+ const searchOptions = {
900
+ descriptionFieldName: isField ? "DESCRCAMPO" : "DESCRINSTANCIA",
901
+ codeFieldName: isField ? "NOMECAMPO" : "NOMEINSTANCIA",
902
+ showInactives: false
903
+ };
904
+ const options = {
905
+ entity,
906
+ entityDescription,
907
+ criteria,
908
+ searchOptions
909
+ };
910
+ return new Promise((resolve) => {
911
+ this._application.executePreparedSearch(mode, argument, options).then(res => resolve(res));
912
+ });
913
+ }
914
+ getElementID(sufix) {
915
+ return {
916
+ [ElementIDUtils.DATA_ELEMENT_ID_ATTRIBUTE_NAME]: ElementIDUtils.getInternalIDInfo(sufix)
917
+ };
918
+ }
919
+ getCanSave() {
920
+ var _a;
921
+ if (this._configType === FilterConfigType.USER_CONFIG) {
922
+ const description = (_a = this._descriptionElement) === null || _a === void 0 ? void 0 : _a.value;
923
+ const type = this.getTypeValue();
924
+ return !StringUtils.isEmpty(description) && !StringUtils.isEmpty(type);
925
+ }
926
+ return true;
927
+ }
928
+ componentWillLoad() {
929
+ this._application = ApplicationContext.getContextValue("__SNK__APPLICATION__");
930
+ }
931
+ render() {
932
+ ElementIDUtils.addIDInfoIfNotExists(this._element, 'snkFilterParamConfig');
933
+ return (h("ez-popup", Object.assign({ useHeader: false, size: "small", heightMode: "auto", opened: this._opened }, this.getElementID("popup")), h("ez-modal-container", Object.assign({ onEzModalAction: (evt) => {
934
+ if (evt.detail === ModalAction.CLOSE)
935
+ this.close();
936
+ }, modalTitle: this.getMessage("snkFilterParamConfig.modalTitle") }, this.getElementID("modalContainer")), h("div", { class: "ez-flex" }, h("div", { class: "ez-col ez-col--sd-6 ez-flex--column" }, h("ez-radio-button", Object.assign({ value: this._configType, onEzChange: (evt) => this.changeDefinitionUsed(evt.detail) }, this.getElementID("systemConfigOption")), h("ez-radio-button-option", { label: this.getMessage("snkFilterParamConfig.labelSystemConfig"), value: FilterConfigType.SYSTEM_CONFIG })), h("ez-search", Object.assign({ ref: (ref) => this._instanceElement = ref, label: this.getMessage("snkFilterParamConfig.labelInstance"), enabled: this.isEnabled(FilterConfigType.SYSTEM_CONFIG), suppressEmptyOption: true, showOptionValue: false, showSelectedValue: false, onEzChange: () => this.handleChangeInstance(), optionLoader: (searchArgument) => this.onSearch(searchArgument, FilterEntities.INSTANCE) }, this.getElementID("configFindEntity"))), h("ez-search", Object.assign({ ref: (ref) => this._fieldElement = ref, label: this.getMessage("snkFilterParamConfig.labelField"), enabled: this.isEnabled(FilterConfigType.SYSTEM_CONFIG) && this._informedInstance, suppressEmptyOption: true, showOptionValue: false, showSelectedValue: false, onEzChange: () => this.buildFilterExpression(), optionLoader: (searchArgument) => this.onSearch(searchArgument, FilterEntities.FIELD) }, this.getElementID("configFindField")))), h("div", { class: "ez-flex ez-padding--medium" }, h("hr", { class: "ez-divider-vertical" })), h("div", { class: "ez-col ez-col--sd-6 ez-flex--column" }, h("ez-radio-button", Object.assign({ value: this._configType, onEzChange: (evt) => this.changeDefinitionUsed(evt.detail) }, this.getElementID("userConfigOption")), h("ez-radio-button-option", { label: this.getMessage("snkFilterParamConfig.labelUserConfig"), value: FilterConfigType.USER_CONFIG })), h("ez-text-input", Object.assign({ ref: (ref) => this._descriptionElement = ref, label: this.getMessage("snkFilterParamConfig.labelDescription"), enabled: this.isEnabled(FilterConfigType.USER_CONFIG), onEzChange: () => this.buildFilterExpression() }, this.getElementID("configParamLabel"))), h("ez-combo-box", Object.assign({ ref: (ref) => this._typeElement = ref, label: this.getMessage("snkFilterParamConfig.labelType"), enabled: this.isEnabled(FilterConfigType.USER_CONFIG), suppressEmptyOption: true, onEzChange: () => this.buildFilterExpression() }, this.getElementID("configParamType")), Object.keys(FilterUserConfigTypes).map((configType) => {
937
+ return (h("option", { value: FilterUserConfigTypes[configType] }, this.getMessage(`snkFilterParamConfig.labelTypeValues.${configType.toLowerCase()}`)));
938
+ })))), h("ez-text-area", Object.assign({ ref: (ref) => this._expressionElement = ref, class: "snk-filter-param-config__expression", label: this.getMessage("snkFilterParamConfig.labelExpression"), enabled: false }, this.getElementID("presentationExpression"))), h("div", { class: "ez-col ez-col--sd-12 ez-flex--justify-end ez-margin-vertical--small" }, h("ez-button", Object.assign({ class: "ez-padding-right--medium", label: this.getMessage("snkFilterParamConfig.labelCancel"), onClick: () => this.close() }, this.getElementID("cancelEditParam"))), h("ez-button", Object.assign({ class: "ez-button--primary", label: this.getMessage("snkFilterParamConfig.labelSave"), onClick: () => this.save(), enabled: this._canSave }, this.getElementID("saveEditParam")))))));
939
+ }
940
+ get _element() { return getElement(this); }
941
+ };
942
+ SnkFilterParamConfig.style = snkFilterParamConfigCss;
943
+
944
+ export { SnkExpressionGroup as snk_expression_group, SnkExpressionItem as snk_expression_item, SnkFilterFieldSearch as snk_filter_field_search, SnkFilterParamConfig as snk_filter_param_config };
@@ -1,21 +1,18 @@
1
1
  import { r as registerInstance, e as createEvent, h, f as Host, g as getElement, i as forceUpdate } from './index-04f73a26.js';
2
2
  import { DataType, StringUtils, ObjectUtils, ErrorException, ApplicationContext, LockManager, LockManagerOperation, ElementIDUtils, DateUtils, MaskFormatter, KeyboardManager, FloatingManager, ArrayUtils } from '@sankhyalabs/core';
3
3
  import { EzScrollDirection } from '@sankhyalabs/ezui/dist/collection/components/ez-scroller/EzScrollDirection';
4
- import { C as ConfigStorage } from './ConfigStorage-76872695.js';
5
- import { P as PersonalizedFilterUtils } from './PersonalizedFilterUtils-d2439a9a.js';
4
+ import { C as ConfigStorage } from './ConfigStorage-e834d1ea.js';
5
+ import { F as FilterOperand, P as PersonalizedFilterUtils, D as DefaultFilter } from './PersonalizedFilterUtils-45b5803c.js';
6
6
  import { toString } from '@sankhyalabs/core/dist/dataunit/metadata/DataType';
7
7
  import { F as FilterItemType } from './filter-item-type.enum-d45e026f.js';
8
- import { F as FilterOperand, D as DefaultFilter } from './index-8acbae97.js';
9
8
  import { F as FilterNumberVariation } from './filterNumberVariation-8cee02ea.js';
10
9
  import { ModalAction } from '@sankhyalabs/ezui/dist/collection/components/ez-modal-container';
11
10
  import { ApplicationUtils } from '@sankhyalabs/ezui/dist/collection/utils';
12
- import { A as ActionDefaultFilter } from './default-filters-50105e43.js';
13
- import { F as FilterType } from './filter-type.enum-f6a8fe23.js';
11
+ import { F as FilterType, A as ActionDefaultFilter } from './filter-type.enum-62b7fe88.js';
14
12
  import { g as getInvalidFilters } from './filter-validate-faf51fa9.js';
15
- import './form-config-fetcher-b44b2727.js';
16
- import './DataFetcher-e60f8d53.js';
13
+ import './form-config-fetcher-db1bf140.js';
14
+ import './DataFetcher-5ed0a377.js';
17
15
  import './PrintUtils-3e4ff0f5.js';
18
- import './SnkMessageBuilder-1eb7a1af.js';
19
16
  import '@sankhyalabs/core/dist/dataunit/metadata/UnitMetadata';
20
17
 
21
18
  const buildFilter = (item) => {
@@ -1,16 +1,15 @@
1
1
  import { r as registerInstance, e as createEvent, h, g as getElement, f as Host } from './index-04f73a26.js';
2
2
  import { ElementIDUtils, ObjectUtils, ApplicationContext } from '@sankhyalabs/core';
3
- import { S as SnkFormConfigManager } from './SnkFormConfigManager-83f6b22f.js';
3
+ import { S as SnkFormConfigManager } from './SnkFormConfigManager-bfd575c2.js';
4
4
  import { R as ResourceIDUtils } from './ResourceIDUtils-a114189a.js';
5
5
  import { buildFormConfigFromDataUnit } from '@sankhyalabs/ezui/dist/collection/utils/form';
6
6
  import { ApplicationUtils } from '@sankhyalabs/ezui/dist/collection/utils';
7
- import { U as UserConfigType } from './form-config-fetcher-b44b2727.js';
7
+ import { U as UserConfigType } from './form-config-fetcher-db1bf140.js';
8
8
  import { a as TAB_NAMES, G as GROUP_NAMES } from './constants-7b422de0.js';
9
9
  import { b as buildGuides, a as buildChildrenGuides, c as buildCustomGuides, d as buildGuidesMap, g as getFieldsToSave, u as updateTabInFieldsFromGroupList, e as buildNewGuideName } from './FormConfigHelper-d09669f3.js';
10
- import './ConfigStorage-76872695.js';
11
- import './DataFetcher-e60f8d53.js';
10
+ import './ConfigStorage-e834d1ea.js';
11
+ import './DataFetcher-5ed0a377.js';
12
12
  import './PrintUtils-3e4ff0f5.js';
13
- import './SnkMessageBuilder-1eb7a1af.js';
14
13
  import '@sankhyalabs/core/dist/dataunit/metadata/UnitMetadata';
15
14
  import './filter-item-type.enum-d45e026f.js';
16
15
 
@@ -2,24 +2,23 @@ import { r as registerInstance, e as createEvent, h, F as Fragment, g as getElem
2
2
  import { KeyboardManager, Action, ElementIDUtils, ApplicationContext, StringUtils } from '@sankhyalabs/core';
3
3
  import { SelectionMode } from '@sankhyalabs/core/dist/dataunit/DataUnit';
4
4
  import { buildFieldSearch } from '@sankhyalabs/ezui/dist/collection/utils';
5
- import './DataFetcher-e60f8d53.js';
6
- import './ISave-4929c071.js';
7
- import { C as CommonsExporter, T as TaskbarProcessor, a as CrudUtils, S as SnkMultiSelectionListDataSource, R as RmPrecisionCustomValueFormatter, b as ClientSideExporterProvider } from './SnkMultiSelectionListDataSource-18abafb1.js';
5
+ import './DataFetcher-5ed0a377.js';
6
+ import './ISave-5b46d691.js';
7
+ import { C as CommonsExporter, T as TaskbarProcessor, a as CrudUtils, S as SnkMultiSelectionListDataSource, R as RmPrecisionCustomValueFormatter, b as ClientSideExporterProvider } from './SnkMultiSelectionListDataSource-9e9166ae.js';
8
8
  import { P as PresentationMode, E as ExporterStrategy } 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-c176e002.js';
11
+ import './dataunit-fetcher-3b1ca96e.js';
12
12
  import './filter-item-type.enum-d45e026f.js';
13
- import './form-config-fetcher-b44b2727.js';
13
+ import './form-config-fetcher-db1bf140.js';
14
14
  import './constants-7b422de0.js';
15
- import { C as ConfigStorage } from './ConfigStorage-76872695.js';
15
+ import { C as ConfigStorage } from './ConfigStorage-e834d1ea.js';
16
16
  import { s as store } from './index-ea250be6.js';
17
17
  import { C as ContinuousInsertUtils } from './ContinuousInsertUtils-bce77dc1.js';
18
18
  import { g as getSelectedRecordsIDsInfo } from './GetSelectedRecordsIDsInfo-9fa41508.js';
19
19
  import { v as validateFilters } from './filter-validate-faf51fa9.js';
20
20
  import { T as TaskbarElement } from './taskbar-elements-63651ca7.js';
21
21
  import './PrintUtils-3e4ff0f5.js';
22
- import './SnkMessageBuilder-1eb7a1af.js';
23
22
  import './IFetchDataExporterParams-d73bed3d.js';
24
23
  import '@sankhyalabs/ezui/dist/collection/components/ez-grid/utils/InMemoryFilterColumnDataSource';
25
24
  import '@sankhyalabs/ezui/dist/collection/components/ez-grid/utils';
@@ -80,7 +79,7 @@ class ServerSideExporterProvider extends CommonsExporter {
80
79
  }
81
80
  }
82
81
 
83
- const snkGridCss = ".sc-snk-grid-h{--snk-grid-min-height:300px;--snk-grid-padding:unset;--snk-grid-margin:var(--space--small);--snk-grid-box-shadow:var(--shadow--small);--snk-grid__header-padding:unset}.snk-grid__container.sc-snk-grid{display:flex;height:100%;width:calc(100% - var(--space--12, 12px));margin:var(--snk-grid-margin);outline:none;border:1px solid var(--color--strokes, #E1E2E5);border-radius:var(--border--radius-12, 12px);box-shadow:var(--snk-grid-box-shadow);padding:var(--snk-grid-padding);--snk-grid-header--min-height:var(--space--52)}.snk-grid__header.sc-snk-grid{width:100%;display:flex;flex-wrap:nowrap;justify-content:flex-end;align-items:flex-start;min-height:var(--snk-grid-header--min-height);padding-top:var(--snk-grid__header-padding);padding-right:var(--snk-grid__header-padding)}.snk-grid__filter-bar.sc-snk-grid{width:100%}.snk-grid__header-divider.sc-snk-grid{margin-bottom:var(--space--medium);margin-right:var(--space--0);align-self:stretch}.snk-grid__header.sc-snk-grid snk-taskbar.sc-snk-grid{display:flex;align-items:flex-start;min-height:var(--snk-grid-header--min-height)}.snk-grid__header.sc-snk-grid ez-tooltip.sc-snk-grid{width:auto;margin-inline:var(--space--8, 8px)}.snk-grid__table.sc-snk-grid{min-height:var(--snk-grid-min-height)}.snk-grid-container__without-shadow.sc-snk-grid{--ezgrid__container--shadow:unset}.snk-grid-container__footer.sc-snk-grid{background-color:var(--background--xlight, #FFF);border-top:1px solid var(--color--strokes, #E1E2E5);border-radius:0 0 var(--border--radius-medium) var(--border--radius-medium)}";
82
+ const snkGridCss = ".sc-snk-grid-h{--snk-grid-min-height:300px;--snk-grid-padding:unset;--snk-grid-margin:var(--space--small);--snk-grid-box-shadow:var(--shadow--small);--snk-grid__header-padding:unset}.snk-grid__container.sc-snk-grid{display:flex;height:100%;margin:var(--snk-grid-margin);outline:none;border:1px solid var(--color--strokes, #E1E2E5);border-radius:var(--border--radius-12, 12px);box-shadow:var(--snk-grid-box-shadow);padding:var(--snk-grid-padding);--snk-grid-header--min-height:var(--space--52)}.snk-grid__header.sc-snk-grid{width:100%;display:flex;flex-wrap:nowrap;justify-content:flex-end;align-items:flex-start;min-height:var(--snk-grid-header--min-height);padding-top:var(--snk-grid__header-padding);padding-right:var(--snk-grid__header-padding)}.snk-grid__filter-bar.sc-snk-grid{width:100%}.snk-grid__header-divider.sc-snk-grid{margin-bottom:var(--space--medium);margin-right:var(--space--0);align-self:stretch}.snk-grid__header.sc-snk-grid snk-taskbar.sc-snk-grid{display:flex;align-items:flex-start;min-height:var(--snk-grid-header--min-height)}.snk-grid__header.sc-snk-grid ez-tooltip.sc-snk-grid{width:auto;margin-inline:var(--space--8, 8px)}.snk-grid__table.sc-snk-grid{min-height:var(--snk-grid-min-height)}.snk-grid-container__without-shadow.sc-snk-grid{--ezgrid__container--shadow:unset}.snk-grid-container__footer.sc-snk-grid{background-color:var(--background--xlight, #FFF);border-radius:0 0 var(--border--radius-medium) var(--border--radius-medium)}.snk-grid-container__footer.sc-snk-grid:has(*){border-top:1px solid var(--color--strokes, #E1E2E5)}";
84
83
 
85
84
  const SnkGrid = class {
86
85
  constructor(hostRef) {
@@ -3,7 +3,7 @@ import { ObjectUtils, Action, KeyboardManager } from '@sankhyalabs/core';
3
3
  import { buildFieldSearch, SHORTCUT_SEARCH_FIELD } from '@sankhyalabs/ezui/dist/collection/utils';
4
4
  import { buildFormMetadata, FormMetadata } from '@sankhyalabs/ezui/dist/collection/utils/form';
5
5
  import { V as VIEW_MODE } from './constants-7b422de0.js';
6
- import { S as SnkFormConfigManager } from './SnkFormConfigManager-83f6b22f.js';
6
+ import { S as SnkFormConfigManager } from './SnkFormConfigManager-bfd575c2.js';
7
7
  import { T as TaskbarElement } from './taskbar-elements-63651ca7.js';
8
8
 
9
9
  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:132px;--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;--snk-workspace--header-height:40px;display:block;outline:none}ez-guide-navigator.sc-snk-guides-viewer{--ez-guide-navigator--border-radius:var(--space--12, 12px)}snk-form-view.sc-snk-guides-viewer{width:100%}stack-item.snk-guides-viewer.sc-snk-guides-viewer{display:grid}stack-item.sc-snk-guides-viewer.sc-snk-guides-viewer{display:grid;min-height:100%}.snk-guides-viewer.sc-snk-guides-viewer{position:relative;padding:0 var(--snk-guides-viewer--space-small);padding-bottom:var(--snk-guides-viewer--space-small)}.snk-guides-viewer__detail-container.sc-snk-guides-viewer{display:flex;row-gap:24px;flex-direction:column;max-height:calc(100vh - var(--snk-guides-viewer__header--min-height));overflow-y:auto}.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-small)}.snk-guides-viewer__guide-navigator.sc-snk-guides-viewer{position:sticky;top:var(--snk-guides-viewer--space-small);height:calc(100vh - var(--snk-guides-viewer__header--min-height))}.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}";
@@ -1,15 +1,14 @@
1
- export { S as snk_guides_viewer } from './snk-guides-viewer-adf39ea2.js';
1
+ export { S as snk_guides_viewer } from './snk-guides-viewer-95fefcaa.js';
2
2
  import './index-04f73a26.js';
3
3
  import '@sankhyalabs/core';
4
4
  import '@sankhyalabs/ezui/dist/collection/utils';
5
5
  import '@sankhyalabs/ezui/dist/collection/utils/form';
6
6
  import './constants-7b422de0.js';
7
- import './SnkFormConfigManager-83f6b22f.js';
8
- import './ConfigStorage-76872695.js';
9
- import './form-config-fetcher-b44b2727.js';
10
- import './DataFetcher-e60f8d53.js';
7
+ import './SnkFormConfigManager-bfd575c2.js';
8
+ import './ConfigStorage-e834d1ea.js';
9
+ import './form-config-fetcher-db1bf140.js';
10
+ import './DataFetcher-5ed0a377.js';
11
11
  import './PrintUtils-3e4ff0f5.js';
12
- import './SnkMessageBuilder-1eb7a1af.js';
13
12
  import '@sankhyalabs/core/dist/dataunit/metadata/UnitMetadata';
14
13
  import './filter-item-type.enum-d45e026f.js';
15
14
  import './taskbar-elements-63651ca7.js';
@@ -1,17 +1,16 @@
1
1
  import { r as registerInstance, h } from './index-04f73a26.js';
2
- import './DataFetcher-e60f8d53.js';
3
- import './ISave-4929c071.js';
2
+ import './DataFetcher-5ed0a377.js';
3
+ import './ISave-5b46d691.js';
4
4
  import { ApplicationContext } from '@sankhyalabs/core';
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-c176e002.js';
8
+ import './dataunit-fetcher-3b1ca96e.js';
9
9
  import './filter-item-type.enum-d45e026f.js';
10
- import { F as FormConfigFetcher } from './form-config-fetcher-b44b2727.js';
10
+ import { F as FormConfigFetcher } from './form-config-fetcher-db1bf140.js';
11
11
  import './constants-7b422de0.js';
12
12
  import { FormLayout } from '@sankhyalabs/ezui/dist/collection/utils';
13
13
  import './PrintUtils-3e4ff0f5.js';
14
- import './SnkMessageBuilder-1eb7a1af.js';
15
14
  import '@sankhyalabs/ezui/dist/collection/components/ez-grid/utils';
16
15
  import '@sankhyalabs/core/dist/utils/SortingUtils';
17
16
  import './ResourceIDUtils-a114189a.js';
@@ -1,16 +1,15 @@
1
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-4929c071.js';
4
- import './DataFetcher-e60f8d53.js';
3
+ import { P as PesquisaFetcher, b as buildGridMetadata, a as PESQUISA_VIEW_MODE } from './ISave-5b46d691.js';
4
+ import './DataFetcher-5ed0a377.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-c176e002.js';
8
+ import './dataunit-fetcher-3b1ca96e.js';
9
9
  import './filter-item-type.enum-d45e026f.js';
10
- import './form-config-fetcher-b44b2727.js';
10
+ import './form-config-fetcher-db1bf140.js';
11
11
  import './constants-7b422de0.js';
12
12
  import './PrintUtils-3e4ff0f5.js';
13
- import './SnkMessageBuilder-1eb7a1af.js';
14
13
  import '@sankhyalabs/ezui/dist/collection/components/ez-grid/utils';
15
14
  import '@sankhyalabs/core/dist/utils/SortingUtils';
16
15
  import './ResourceIDUtils-a114189a.js';