@sankhyalabs/sankhyablocks 8.16.0-ms.10 → 8.16.0-ms.12

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 (476) hide show
  1. package/dist/cjs/{ClientSideExporterProvider-fe52f7cf.js → ClientSideExporterProvider-0ce2bcd9.js} +23 -28
  2. package/dist/cjs/{ConfigStorage-6b633b10.js → ConfigStorage-48ba265b.js} +47 -19
  3. package/dist/cjs/{DataFetcher-875371e9.js → DataFetcher-1afdb18e.js} +14 -2
  4. package/dist/cjs/FormConfigHelper-c664dbae.js +260 -0
  5. package/dist/cjs/{pesquisa-fetcher-30cab386.js → ISave-c76e2c51.js} +35 -3
  6. package/dist/cjs/{PersonalizedFilterUtils-0184ffbb.js → PersonalizedFilterUtils-7259cf65.js} +1 -1
  7. package/dist/cjs/{SnkFormConfigManager-d680be08.js → SnkFormConfigManager-aa4631bd.js} +4 -5
  8. package/dist/cjs/{SnkMessageBuilder-bae64d0d.js → SnkMessageBuilder-e3b7850b.js} +63 -30
  9. package/dist/cjs/{auth-fetcher-24ba4135.js → auth-fetcher-1687ac0a.js} +1 -1
  10. package/dist/cjs/config-header.cjs.entry.js +79 -0
  11. package/dist/cjs/configs-button.cjs.entry.js +61 -0
  12. package/dist/cjs/{constants-241934b3.js → constants-6d82e405.js} +9 -38
  13. package/dist/cjs/{dataunit-fetcher-b95768e8.js → dataunit-fetcher-a723f0dc.js} +12 -8
  14. package/dist/cjs/default-filters-a09bf82b.js +8 -0
  15. package/dist/cjs/field-config_2.cjs.entry.js +324 -0
  16. package/dist/cjs/fields-layout.cjs.entry.js +341 -0
  17. package/dist/cjs/fields-selector.cjs.entry.js +74 -0
  18. package/dist/cjs/{filter-type.enum-b14ce507.js → filter-type.enum-2bb46d2a.js} +1 -0
  19. package/dist/cjs/{form-config-fetcher-e0a512c3.js → form-config-fetcher-40d3f752.js} +15 -1
  20. package/dist/cjs/guides-configurator.cjs.entry.js +164 -0
  21. package/dist/cjs/{index-ab1cfb44.js → index-0ad2baeb.js} +1 -1
  22. package/dist/cjs/{index-f9e81701.js → index-1cf293c1.js} +34 -12
  23. package/dist/cjs/{index-c5771aba.js → index-62760a9c.js} +5 -0
  24. package/dist/cjs/loader.cjs.js +2 -2
  25. package/dist/cjs/pesquisa-grid_2.cjs.entry.js +7 -8
  26. package/dist/cjs/sankhyablocks.cjs.js +2 -2
  27. package/dist/cjs/{snk-actions-button_5.cjs.entry.js → snk-actions-button_8.cjs.entry.js} +132 -10
  28. package/dist/cjs/snk-actions-form.cjs.entry.js +1 -1
  29. package/dist/cjs/snk-application.cjs.entry.js +185 -24
  30. package/dist/cjs/snk-attach.cjs.entry.js +9 -10
  31. package/dist/cjs/snk-client-confirm.cjs.entry.js +1 -1
  32. package/dist/cjs/snk-configurator.cjs.entry.js +10 -3
  33. package/dist/cjs/snk-crud.cjs.entry.js +48 -76
  34. package/dist/cjs/snk-custom-slot-elements.cjs.entry.js +1 -1
  35. package/dist/cjs/snk-data-exporter.cjs.entry.js +8 -9
  36. package/dist/cjs/{snk-data-unit-33937ffe.js → snk-data-unit-3684c96e.js} +227 -13
  37. package/dist/cjs/snk-data-unit.cjs.entry.js +5 -5
  38. package/dist/cjs/snk-default-filter.cjs.entry.js +77 -0
  39. package/dist/cjs/snk-detail-view.cjs.entry.js +68 -16
  40. package/dist/cjs/snk-entity-list.cjs.entry.js +3 -8
  41. package/dist/cjs/snk-exporter-email-sender.cjs.entry.js +1 -1
  42. package/dist/cjs/snk-expression-group_2.cjs.entry.js +10 -8
  43. package/dist/cjs/snk-filter-advanced-mode_2.cjs.entry.js +5 -4
  44. package/dist/cjs/snk-filter-bar_4.cjs.entry.js +85 -31
  45. package/dist/cjs/snk-filter-binary-select.cjs.entry.js +1 -1
  46. package/dist/cjs/snk-filter-checkbox-list.cjs.entry.js +1 -1
  47. package/dist/cjs/snk-filter-detail.cjs.entry.js +3 -3
  48. package/dist/cjs/snk-filter-field-search_2.cjs.entry.js +3 -3
  49. package/dist/cjs/snk-filter-modal-item.cjs.entry.js +5 -5
  50. package/dist/cjs/snk-filter-multi-select.cjs.entry.js +1 -1
  51. package/dist/cjs/snk-filter-number.cjs.entry.js +1 -1
  52. package/dist/cjs/snk-filter-period.cjs.entry.js +1 -1
  53. package/dist/cjs/snk-filter-search.cjs.entry.js +19 -6
  54. package/dist/cjs/snk-filter-text.cjs.entry.js +1 -1
  55. package/dist/cjs/snk-form-summary.cjs.entry.js +1 -1
  56. package/dist/cjs/snk-form-view.cjs.entry.js +20 -8
  57. package/dist/cjs/snk-form_2.cjs.entry.js +433 -0
  58. package/dist/cjs/snk-grid.cjs.entry.js +52 -39
  59. package/dist/cjs/{snk-guides-viewer-b6002ea7.js → snk-guides-viewer-edc0a00a.js} +139 -73
  60. package/dist/cjs/snk-guides-viewer.cjs.entry.js +13 -13
  61. package/dist/cjs/snk-personalized-filter-editor.cjs.entry.js +1 -1
  62. package/dist/cjs/snk-personalized-filter.cjs.entry.js +55 -20
  63. package/dist/cjs/snk-pesquisa.cjs.entry.js +14 -15
  64. package/dist/cjs/snk-print-selector.cjs.entry.js +1 -1
  65. package/dist/cjs/snk-simple-bar.cjs.entry.js +1 -1
  66. package/dist/cjs/snk-simple-crud.cjs.entry.js +148 -114
  67. package/dist/cjs/snk-taskbar.cjs.entry.js +10 -5
  68. package/dist/cjs/sortable.esm-9a110bb7.js +2668 -0
  69. package/dist/cjs/{taskbar-elements-ebddaef4.js → taskbar-elements-3b74cd21.js} +13 -2
  70. package/dist/cjs/{field-search-68e34bf4.js → taskbar-processor-2fba34a8.js} +0 -35
  71. package/dist/cjs/teste-pesquisa.cjs.entry.js +1 -1
  72. package/dist/collection/collection-manifest.json +11 -14
  73. package/dist/collection/components/snk-application/errorhandler/snk-error-handler.js +5 -2
  74. package/dist/collection/components/snk-application/search-strategy/exec-prepared-search-plus.js +107 -0
  75. package/dist/collection/components/snk-application/snk-application.js +133 -13
  76. package/dist/collection/components/snk-configurator/snk-configurator.js +26 -1
  77. package/dist/collection/components/snk-crud/snk-crud.js +76 -67
  78. package/dist/collection/components/snk-crud/subcomponents/snk-detail-view/snk-detail-view.css +10 -1
  79. package/dist/collection/components/snk-crud/subcomponents/snk-detail-view/snk-detail-view.js +82 -4
  80. package/dist/collection/components/snk-crud/subcomponents/snk-form-view.js +54 -7
  81. package/dist/collection/components/snk-crud/subcomponents/snk-guides-viewer.js +152 -82
  82. package/dist/collection/components/snk-data-exporter/interfaces/IExporterProvider.js +15 -19
  83. package/dist/collection/components/snk-data-unit/MultipleUpdateHelper.js +128 -0
  84. package/dist/collection/components/snk-data-unit/snk-data-unit.js +107 -12
  85. package/dist/collection/components/snk-entity-list/snk-entity-list.js +2 -7
  86. package/dist/collection/components/snk-filter-bar/filter-item/dataunitfilter/data-unit-filter-builder.js +1 -1
  87. package/dist/collection/components/snk-filter-bar/filter-item/editors/snk-filter-search.js +18 -5
  88. package/dist/collection/components/snk-filter-bar/filter-modal/snk-filter-modal.js +80 -12
  89. package/dist/collection/components/snk-filter-bar/filter-modal/subcomponents/snk-default-filter/snk-default-filter.css +34 -0
  90. package/dist/collection/components/snk-filter-bar/filter-modal/subcomponents/snk-default-filter/snk-default-filter.js +142 -0
  91. package/dist/collection/components/snk-filter-bar/snk-filter-bar.js +24 -15
  92. package/dist/collection/components/snk-filter-bar/types/default-filters.js +6 -0
  93. package/dist/collection/components/snk-filter-bar/types/filter-type.enum.js +1 -0
  94. package/dist/collection/components/snk-filter-bar/utils/SnkFilterModalFactory.js +4 -4
  95. package/dist/collection/components/snk-form-config/FormConfigHelper.js +245 -0
  96. package/dist/collection/components/snk-form-config/SnkFormConfigManager.js +4 -5
  97. package/dist/collection/components/snk-form-config/config-header/config-header.css +18 -0
  98. package/dist/collection/components/snk-form-config/config-header/config-header.js +236 -0
  99. package/dist/collection/components/snk-form-config/config-header/configs-button/configs-button.css +41 -0
  100. package/dist/collection/components/snk-form-config/config-header/configs-button/configs-button.js +170 -0
  101. package/dist/collection/components/snk-form-config/field-item/field-config/field-config.css +21 -0
  102. package/dist/collection/components/snk-form-config/field-item/field-config/field-config.js +408 -0
  103. package/dist/collection/components/snk-form-config/field-item/field-item.css +108 -0
  104. package/dist/collection/components/snk-form-config/field-item/field-item.js +206 -0
  105. package/dist/collection/components/snk-form-config/fields-layout/fields-layout.css +133 -0
  106. package/dist/collection/components/snk-form-config/fields-layout/fields-layout.js +578 -0
  107. package/dist/collection/components/snk-form-config/fields-selector/fields-selector.css +38 -0
  108. package/dist/collection/components/snk-form-config/fields-selector/fields-selector.js +146 -0
  109. package/dist/collection/components/snk-form-config/guides-configurator/guides-configurator.css +132 -0
  110. package/dist/collection/components/snk-form-config/guides-configurator/guides-configurator.js +317 -0
  111. package/dist/collection/components/snk-form-config/snk-form-config.css +16 -229
  112. package/dist/collection/components/snk-form-config/snk-form-config.js +288 -980
  113. package/dist/collection/components/snk-grid/filtercolumn/SnkMultiSelectionListDataSource.js +2 -2
  114. package/dist/collection/components/snk-grid/snk-grid.js +93 -42
  115. package/dist/collection/components/snk-grid-config/snk-grid-config.js +2 -0
  116. package/dist/collection/components/snk-layout-form-config/snk-layout-form-config.css +3 -0
  117. package/dist/collection/components/snk-layout-form-config/snk-layout-form-config.js +73 -0
  118. package/dist/collection/components/snk-layout-form-config/snk-view-representation/snk-view-representation.css +78 -0
  119. package/dist/collection/components/snk-layout-form-config/snk-view-representation/snk-view-representation.js +57 -0
  120. package/dist/collection/components/snk-personalized-filter/interfaces/index.js +5 -0
  121. package/dist/collection/components/snk-personalized-filter/snk-personalized-filter.js +67 -13
  122. package/dist/collection/components/snk-personalized-filter/subcomponents/snk-expression-group/snk-expression-group.css +3 -0
  123. package/dist/collection/components/snk-personalized-filter/subcomponents/snk-expression-group/snk-expression-group.js +20 -1
  124. package/dist/collection/components/snk-personalized-filter/subcomponents/snk-expression-item/snk-expression-item.js +22 -3
  125. package/dist/collection/components/snk-personalized-filter/subcomponents/snk-filter-assistent-mode/snk-filter-assistent-mode.js +20 -1
  126. package/dist/collection/components/snk-simple-crud/snk-simple-crud.js +177 -104
  127. package/dist/collection/components/snk-taskbar/elements/taskbar-actions-button/taskbar-actions-button.css +13 -0
  128. package/dist/collection/components/snk-taskbar/elements/taskbar-actions-button/taskbar-actions-button.js +1 -1
  129. package/dist/collection/components/snk-taskbar/elements/taskbar-elements.js +11 -0
  130. package/dist/collection/components/snk-taskbar/elements/taskbar-split-button/taskbar-split-button.css +0 -0
  131. package/dist/collection/components/snk-taskbar/elements/taskbar-split-button/taskbar-split-button.js +220 -0
  132. package/dist/collection/components/snk-taskbar/snk-taskbar.js +30 -4
  133. package/dist/collection/lib/configs/ConfigStorage.js +16 -8
  134. package/dist/collection/lib/configs/LayoutFormConfig.js +25 -0
  135. package/dist/collection/lib/http/data-fetcher/DataFetcher.js +14 -2
  136. package/dist/collection/lib/http/data-fetcher/fetchers/data-unit/cache/PreloadManager.js +5 -2
  137. package/dist/collection/lib/http/data-fetcher/fetchers/data-unit/loadstrategy/DatasetStrategy.js +6 -5
  138. package/dist/collection/lib/http/data-fetcher/fetchers/form-config-fetcher.js +14 -0
  139. package/dist/collection/lib/http/data-fetcher/fetchers/personalized-filter-fetcher.js +29 -9
  140. package/dist/collection/lib/http/data-fetcher/fetchers/pesquisa-fetcher.js +26 -2
  141. package/dist/collection/lib/message/SnkMessageBuilder.js +1 -0
  142. package/dist/collection/lib/message/resources/snk-crud.msg.js +1 -1
  143. package/dist/collection/lib/message/resources/snk-data-unit.msg.js +28 -23
  144. package/dist/collection/lib/message/resources/snk-filter-bar.msg.js +6 -0
  145. package/dist/collection/lib/message/resources/snk-form.msg.js +16 -2
  146. package/dist/collection/lib/message/resources/snk-grid.msg.js +1 -1
  147. package/dist/collection/lib/message/resources/snk-personalized-filter.msg.js +6 -1
  148. package/dist/collection/lib/message/resources/snk-simple-crud.msg.js +2 -1
  149. package/dist/collection/lib/message/resources/snk-taskbar.msg.js +1 -0
  150. package/dist/collection/lib/utils/constants.js +8 -1
  151. package/dist/components/ConfigStorage.js +45 -17
  152. package/dist/components/ContinuousInsertUtils.js +19 -54
  153. package/dist/components/DataFetcher.js +14 -2
  154. package/dist/components/ISave.js +26 -2
  155. package/dist/components/PersonalizedFilterUtils.js +6 -1
  156. package/dist/components/SnkFormConfigManager.js +2 -3
  157. package/dist/components/SnkMessageBuilder.js +63 -30
  158. package/dist/components/{snk-tab-config.d.ts → config-header.d.ts} +4 -4
  159. package/dist/components/config-header.js +6 -0
  160. package/dist/components/config-header2.js +103 -0
  161. package/dist/components/configs-button.d.ts +11 -0
  162. package/dist/components/configs-button.js +6 -0
  163. package/dist/components/configs-button2.js +76 -0
  164. package/dist/components/constants.js +9 -34
  165. package/dist/components/dataunit-fetcher.js +11 -7
  166. package/dist/components/field-config.d.ts +11 -0
  167. package/dist/components/field-config.js +6 -0
  168. package/dist/components/field-config2.js +525 -0
  169. package/dist/components/field-item.d.ts +11 -0
  170. package/dist/components/field-item.js +6 -0
  171. package/dist/components/field-item2.js +93 -0
  172. package/dist/components/fields-layout.d.ts +11 -0
  173. package/dist/components/fields-layout.js +6 -0
  174. package/dist/components/fields-layout2.js +370 -0
  175. package/dist/components/{snk-field-config.d.ts → fields-selector.d.ts} +4 -4
  176. package/dist/components/fields-selector.js +6 -0
  177. package/dist/components/fields-selector2.js +98 -0
  178. package/dist/components/form-config-fetcher.js +14 -0
  179. package/dist/components/guides-configurator.d.ts +11 -0
  180. package/dist/components/guides-configurator.js +6 -0
  181. package/dist/components/guides-configurator2.js +182 -0
  182. package/dist/components/index.d.ts +11 -3
  183. package/dist/components/index.js +11 -3
  184. package/dist/components/snk-application2.js +182 -16
  185. package/dist/components/snk-attach2.js +42 -24
  186. package/dist/components/snk-configurator2.js +22 -2
  187. package/dist/components/snk-crud.js +145 -128
  188. package/dist/components/snk-data-unit2.js +225 -11
  189. package/dist/components/{snk-config-options.d.ts → snk-default-filter.d.ts} +4 -4
  190. package/dist/components/snk-default-filter.js +6 -0
  191. package/dist/components/snk-default-filter2.js +97 -0
  192. package/dist/components/snk-detail-view2.js +331 -152
  193. package/dist/components/snk-entity-list.js +2 -7
  194. package/dist/components/snk-expression-group2.js +4 -2
  195. package/dist/components/snk-expression-item2.js +5 -3
  196. package/dist/components/snk-filter-assistent-mode2.js +4 -2
  197. package/dist/components/snk-filter-bar2.js +29 -20
  198. package/dist/components/snk-filter-modal-item2.js +1 -0
  199. package/dist/components/snk-filter-modal.js +59 -8
  200. package/dist/components/snk-filter-search.js +18 -5
  201. package/dist/components/snk-form-config2.js +253 -953
  202. package/dist/components/snk-form-view2.js +22 -8
  203. package/dist/components/snk-form.js +33 -9
  204. package/dist/components/snk-grid-config2.js +2 -0
  205. package/dist/components/snk-grid2.js +85 -63
  206. package/dist/components/snk-layout-form-config.d.ts +11 -0
  207. package/dist/components/snk-layout-form-config.js +6 -0
  208. package/dist/components/snk-layout-form-config2.js +73 -0
  209. package/dist/components/snk-personalized-filter2.js +50 -14
  210. package/dist/components/snk-simple-crud2.js +180 -124
  211. package/dist/components/snk-taskbar2.js +33 -10
  212. package/dist/components/snk-view-representation.d.ts +11 -0
  213. package/dist/components/snk-view-representation.js +6 -0
  214. package/dist/components/snk-view-representation2.js +41 -0
  215. package/dist/components/sortable.esm.js +2666 -0
  216. package/dist/components/taskbar-actions-button2.js +2 -2
  217. package/dist/components/taskbar-split-button.d.ts +11 -0
  218. package/dist/components/taskbar-split-button.js +6 -0
  219. package/dist/components/taskbar-split-button2.js +87 -0
  220. package/dist/esm/{ClientSideExporterProvider-bd24a4b3.js → ClientSideExporterProvider-3ed744fd.js} +23 -28
  221. package/dist/esm/{ConfigStorage-e5c1f4c0.js → ConfigStorage-79b9e180.js} +47 -19
  222. package/dist/esm/{DataFetcher-ecf5f903.js → DataFetcher-88e56266.js} +14 -2
  223. package/dist/esm/FormConfigHelper-49fe72ca.js +248 -0
  224. package/dist/esm/{pesquisa-fetcher-e26c3295.js → ISave-5efafc97.js} +36 -4
  225. package/dist/esm/{PersonalizedFilterUtils-e2b38ef7.js → PersonalizedFilterUtils-2db38ff2.js} +1 -1
  226. package/dist/esm/{SnkFormConfigManager-1efd102b.js → SnkFormConfigManager-b4b93298.js} +4 -5
  227. package/dist/esm/{SnkMessageBuilder-6fff4a4c.js → SnkMessageBuilder-9c269caf.js} +63 -30
  228. package/dist/esm/{auth-fetcher-9987c66e.js → auth-fetcher-3510520e.js} +1 -1
  229. package/dist/esm/config-header.entry.js +75 -0
  230. package/dist/esm/configs-button.entry.js +57 -0
  231. package/dist/esm/{constants-75abb876.js → constants-7b422de0.js} +9 -34
  232. package/dist/esm/{dataunit-fetcher-ed6e65ef.js → dataunit-fetcher-0e025732.js} +12 -8
  233. package/dist/esm/default-filters-50105e43.js +8 -0
  234. package/dist/esm/field-config_2.entry.js +319 -0
  235. package/dist/esm/fields-layout.entry.js +337 -0
  236. package/dist/esm/fields-selector.entry.js +70 -0
  237. package/dist/esm/{filter-type.enum-a80c1b6b.js → filter-type.enum-f6a8fe23.js} +1 -0
  238. package/dist/esm/{form-config-fetcher-34becd23.js → form-config-fetcher-fa208a6c.js} +15 -1
  239. package/dist/esm/guides-configurator.entry.js +160 -0
  240. package/dist/esm/{index-a7d3d3f1.js → index-479e1293.js} +34 -12
  241. package/dist/esm/{index-ae591a44.js → index-8acbae97.js} +6 -1
  242. package/dist/esm/{index-c57e49af.js → index-b72af127.js} +1 -1
  243. package/dist/esm/loader.js +3 -3
  244. package/dist/esm/pesquisa-grid_2.entry.js +6 -7
  245. package/dist/esm/sankhyablocks.js +3 -3
  246. package/dist/esm/{snk-actions-button_5.entry.js → snk-actions-button_8.entry.js} +131 -12
  247. package/dist/esm/snk-actions-form.entry.js +1 -1
  248. package/dist/esm/snk-application.entry.js +185 -24
  249. package/dist/esm/snk-attach.entry.js +9 -10
  250. package/dist/esm/snk-client-confirm.entry.js +1 -1
  251. package/dist/esm/snk-configurator.entry.js +10 -3
  252. package/dist/esm/snk-crud.entry.js +49 -77
  253. package/dist/esm/snk-custom-slot-elements.entry.js +1 -1
  254. package/dist/esm/snk-data-exporter.entry.js +8 -9
  255. package/dist/esm/{snk-data-unit-6258b8ae.js → snk-data-unit-027bca56.js} +227 -13
  256. package/dist/esm/snk-data-unit.entry.js +5 -5
  257. package/dist/esm/snk-default-filter.entry.js +73 -0
  258. package/dist/esm/snk-detail-view.entry.js +69 -17
  259. package/dist/esm/snk-entity-list.entry.js +3 -8
  260. package/dist/esm/snk-exporter-email-sender.entry.js +1 -1
  261. package/dist/esm/snk-expression-group_2.entry.js +10 -8
  262. package/dist/esm/snk-filter-advanced-mode_2.entry.js +5 -4
  263. package/dist/esm/snk-filter-bar_4.entry.js +85 -31
  264. package/dist/esm/snk-filter-binary-select.entry.js +1 -1
  265. package/dist/esm/snk-filter-checkbox-list.entry.js +1 -1
  266. package/dist/esm/snk-filter-detail.entry.js +3 -3
  267. package/dist/esm/snk-filter-field-search_2.entry.js +3 -3
  268. package/dist/esm/snk-filter-modal-item.entry.js +5 -5
  269. package/dist/esm/snk-filter-multi-select.entry.js +1 -1
  270. package/dist/esm/snk-filter-number.entry.js +1 -1
  271. package/dist/esm/snk-filter-period.entry.js +1 -1
  272. package/dist/esm/snk-filter-search.entry.js +19 -6
  273. package/dist/esm/snk-filter-text.entry.js +1 -1
  274. package/dist/esm/snk-form-summary.entry.js +1 -1
  275. package/dist/esm/snk-form-view.entry.js +20 -8
  276. package/dist/esm/snk-form_2.entry.js +428 -0
  277. package/dist/esm/snk-grid.entry.js +50 -37
  278. package/dist/esm/{snk-guides-viewer-39fae8d5.js → snk-guides-viewer-32f3d3ab.js} +140 -74
  279. package/dist/esm/snk-guides-viewer.entry.js +13 -13
  280. package/dist/esm/snk-personalized-filter-editor.entry.js +1 -1
  281. package/dist/esm/snk-personalized-filter.entry.js +55 -20
  282. package/dist/esm/snk-pesquisa.entry.js +6 -7
  283. package/dist/esm/snk-print-selector.entry.js +1 -1
  284. package/dist/esm/snk-simple-bar.entry.js +1 -1
  285. package/dist/esm/snk-simple-crud.entry.js +150 -116
  286. package/dist/esm/snk-taskbar.entry.js +10 -5
  287. package/dist/esm/sortable.esm-842f85a3.js +2666 -0
  288. package/dist/esm/{taskbar-elements-ed51e143.js → taskbar-elements-171476d4.js} +13 -2
  289. package/dist/esm/{field-search-f8b1d91e.js → taskbar-processor-3436124c.js} +1 -34
  290. package/dist/esm/teste-pesquisa.entry.js +1 -1
  291. package/dist/sankhyablocks/p-0024d3fd.entry.js +1 -0
  292. package/dist/sankhyablocks/p-09e60995.entry.js +11 -0
  293. package/dist/sankhyablocks/p-0cb295c1.entry.js +1 -0
  294. package/dist/sankhyablocks/p-1456d7cb.entry.js +1 -0
  295. package/dist/sankhyablocks/{p-9531fd46.entry.js → p-180716b2.entry.js} +1 -1
  296. package/dist/sankhyablocks/p-19156e59.entry.js +1 -0
  297. package/dist/sankhyablocks/p-1a0caadb.js +1 -0
  298. package/dist/sankhyablocks/p-21107f0d.entry.js +1 -0
  299. package/dist/sankhyablocks/{p-118e769b.entry.js → p-27482793.entry.js} +1 -1
  300. package/dist/sankhyablocks/p-2bde486e.js +1 -0
  301. package/dist/sankhyablocks/{p-26b0ce3e.entry.js → p-2fdac5e6.entry.js} +1 -1
  302. package/dist/sankhyablocks/p-349d1968.entry.js +1 -0
  303. package/dist/sankhyablocks/p-35e73c5d.js +1 -0
  304. package/dist/sankhyablocks/{p-89c92727.entry.js → p-398cdd67.entry.js} +1 -1
  305. package/dist/sankhyablocks/p-3a48bff3.entry.js +1 -0
  306. package/dist/sankhyablocks/{p-434817f0.entry.js → p-3d41f5a8.entry.js} +1 -1
  307. package/dist/sankhyablocks/p-3f24c9b2.js +1 -0
  308. package/dist/sankhyablocks/{p-8002dcd0.entry.js → p-471b34f4.entry.js} +1 -1
  309. package/dist/sankhyablocks/{p-7e2ded86.entry.js → p-49d968e2.entry.js} +1 -1
  310. package/dist/sankhyablocks/p-4d2ff2fb.entry.js +1 -0
  311. package/dist/sankhyablocks/p-51833248.js +7 -0
  312. package/dist/sankhyablocks/p-601b252b.js +26 -0
  313. package/dist/sankhyablocks/p-60dd1d27.entry.js +1 -0
  314. package/dist/sankhyablocks/p-6416975c.js +56 -0
  315. package/dist/sankhyablocks/p-65c5d430.entry.js +1 -0
  316. package/dist/sankhyablocks/{p-21a81901.entry.js → p-667cab42.entry.js} +1 -1
  317. package/dist/sankhyablocks/p-67d6d0c8.entry.js +1 -0
  318. package/dist/sankhyablocks/p-6a4b21dd.js +1 -0
  319. package/dist/sankhyablocks/p-6dd38d7b.js +6 -0
  320. package/dist/sankhyablocks/p-71a05822.entry.js +1 -0
  321. package/dist/sankhyablocks/p-72c8c847.entry.js +1 -0
  322. package/dist/sankhyablocks/{p-a77bdadc.js → p-73285a8a.js} +1 -1
  323. package/dist/sankhyablocks/{p-ac8d1cd6.entry.js → p-7345782c.entry.js} +1 -1
  324. package/dist/sankhyablocks/p-763b04fa.js +1 -0
  325. package/dist/sankhyablocks/p-7993b2e3.js +60 -0
  326. package/dist/sankhyablocks/p-7de79adf.js +1 -0
  327. package/dist/sankhyablocks/p-7e250432.entry.js +1 -0
  328. package/dist/sankhyablocks/{p-47178038.entry.js → p-83c100f2.entry.js} +1 -1
  329. package/dist/sankhyablocks/p-84345e7a.js +1 -0
  330. package/dist/sankhyablocks/p-86bd4478.entry.js +1 -0
  331. package/dist/sankhyablocks/p-9019a32f.js +1 -0
  332. package/dist/sankhyablocks/{p-54a5d52a.entry.js → p-90805683.entry.js} +1 -1
  333. package/dist/sankhyablocks/{p-c2e468c9.entry.js → p-91a9abb6.entry.js} +1 -1
  334. package/dist/sankhyablocks/p-9751c42f.entry.js +1 -0
  335. package/dist/sankhyablocks/{p-057fad05.js → p-988afe78.js} +1 -1
  336. package/dist/sankhyablocks/{p-16a1dd18.entry.js → p-9a63f3f7.entry.js} +1 -1
  337. package/dist/sankhyablocks/p-9ad3557c.entry.js +1 -0
  338. package/dist/sankhyablocks/p-9fd87bfd.entry.js +1 -0
  339. package/dist/sankhyablocks/p-a06bf7b9.entry.js +1 -0
  340. package/dist/sankhyablocks/{p-5e9fbd76.js → p-a349689a.js} +1 -1
  341. package/dist/sankhyablocks/p-a5bb2f93.entry.js +1 -0
  342. package/dist/sankhyablocks/{p-3ce68be5.js → p-a6513fcb.js} +1 -1
  343. package/dist/sankhyablocks/{p-8c235d4c.entry.js → p-a76e6d51.entry.js} +1 -1
  344. package/dist/sankhyablocks/p-b568c1d4.js +1 -0
  345. package/dist/sankhyablocks/p-bd665460.entry.js +1 -0
  346. package/dist/sankhyablocks/p-c3324d79.entry.js +1 -0
  347. package/dist/sankhyablocks/{p-bf2acf72.entry.js → p-c6a8a8bc.entry.js} +1 -1
  348. package/dist/sankhyablocks/{p-d3b9b377.entry.js → p-c926cf6b.entry.js} +1 -1
  349. package/dist/sankhyablocks/p-cfd0a4c6.entry.js +1 -0
  350. package/dist/sankhyablocks/{p-79f823f3.entry.js → p-d67526b6.entry.js} +1 -1
  351. package/dist/sankhyablocks/{p-d2d301a6.js → p-d8d8169b.js} +1 -1
  352. package/dist/sankhyablocks/p-d9491f6f.entry.js +1 -0
  353. package/dist/sankhyablocks/{p-5f157b09.entry.js → p-dff65083.entry.js} +1 -1
  354. package/dist/sankhyablocks/{p-2746d606.entry.js → p-e3521eae.entry.js} +1 -1
  355. package/dist/sankhyablocks/p-e7cccc45.entry.js +1 -0
  356. package/dist/sankhyablocks/{p-33718dfc.entry.js → p-e824d565.entry.js} +1 -1
  357. package/dist/sankhyablocks/{p-5a7e18f4.js → p-fbba7e3d.js} +1 -1
  358. package/dist/sankhyablocks/p-fc0b609e.js +1 -0
  359. package/dist/sankhyablocks/p-ff7060bc.entry.js +1 -0
  360. package/dist/sankhyablocks/sankhyablocks.esm.js +1 -1
  361. package/dist/types/components/snk-application/search-strategy/exec-prepared-search-plus.d.ts +5 -0
  362. package/dist/types/components/snk-application/snk-application.d.ts +17 -2
  363. package/dist/types/components/snk-configurator/snk-configurator.d.ts +6 -0
  364. package/dist/types/components/snk-crud/snk-crud.d.ts +9 -3
  365. package/dist/types/components/snk-crud/subcomponents/snk-detail-view/snk-detail-view.d.ts +17 -0
  366. package/dist/types/components/snk-crud/subcomponents/snk-form-view.d.ts +11 -1
  367. package/dist/types/components/snk-crud/subcomponents/snk-guides-viewer.d.ts +16 -7
  368. package/dist/types/components/snk-data-unit/MultipleUpdateHelper.d.ts +9 -0
  369. package/dist/types/components/snk-data-unit/snk-data-unit.d.ts +17 -0
  370. package/dist/types/components/snk-filter-bar/filter-item/editors/snk-filter-search.d.ts +5 -3
  371. package/dist/types/components/snk-filter-bar/filter-modal/snk-filter-modal.d.ts +16 -4
  372. package/dist/types/components/snk-filter-bar/filter-modal/subcomponents/snk-default-filter/snk-default-filter.d.ts +27 -0
  373. package/dist/types/components/snk-filter-bar/snk-filter-bar.d.ts +4 -3
  374. package/dist/types/components/snk-filter-bar/types/default-filters.d.ts +5 -0
  375. package/dist/types/components/snk-filter-bar/types/filter-type.enum.d.ts +2 -1
  376. package/dist/types/components/snk-filter-bar/utils/SnkFilterModalFactory.d.ts +3 -3
  377. package/dist/types/components/snk-form-config/FormConfigHelper.d.ts +31 -0
  378. package/dist/types/components/snk-form-config/SnkFormConfigManager.d.ts +3 -3
  379. package/dist/types/components/snk-form-config/config-header/config-header.d.ts +23 -0
  380. package/dist/types/components/snk-form-config/config-header/configs-button/configs-button.d.ts +19 -0
  381. package/dist/types/components/snk-form-config/field-item/field-config/field-config.d.ts +56 -0
  382. package/dist/types/components/snk-form-config/fields-layout/fields-layout.d.ts +63 -0
  383. package/dist/types/components/snk-form-config/fields-selector/fields-selector.d.ts +18 -0
  384. package/dist/types/components/snk-form-config/guides-configurator/guides-configurator.d.ts +42 -0
  385. package/dist/types/components/snk-form-config/snk-form-config.d.ts +51 -120
  386. package/dist/types/components/snk-grid/filtercolumn/SnkMultiSelectionListDataSource.d.ts +2 -1
  387. package/dist/types/components/snk-grid/snk-grid.d.ts +16 -5
  388. package/dist/types/components/snk-grid-config/snk-grid-config.d.ts +1 -0
  389. package/dist/types/components/snk-layout-form-config/snk-layout-form-config.d.ts +15 -0
  390. package/dist/types/components/snk-layout-form-config/snk-view-representation/snk-view-representation.d.ts +10 -0
  391. package/dist/types/components/snk-personalized-filter/interfaces/index.d.ts +4 -0
  392. package/dist/types/components/snk-personalized-filter/snk-personalized-filter.d.ts +7 -1
  393. package/dist/types/components/snk-personalized-filter/subcomponents/snk-expression-group/snk-expression-group.d.ts +4 -0
  394. package/dist/types/components/snk-personalized-filter/subcomponents/snk-expression-item/snk-expression-item.d.ts +4 -0
  395. package/dist/types/components/snk-personalized-filter/subcomponents/snk-filter-assistent-mode/snk-filter-assistent-mode.d.ts +4 -0
  396. package/dist/types/components/snk-simple-crud/snk-simple-crud.d.ts +24 -12
  397. package/dist/types/components/snk-taskbar/elements/taskbar-elements.d.ts +2 -1
  398. package/dist/types/components/snk-taskbar/elements/taskbar-split-button/taskbar-split-button.d.ts +44 -0
  399. package/dist/types/components/snk-taskbar/snk-taskbar.d.ts +6 -0
  400. package/dist/types/components.d.ts +502 -212
  401. package/dist/types/lib/configs/ConfigStorage.d.ts +4 -2
  402. package/dist/types/lib/configs/LayoutFormConfig.d.ts +11 -0
  403. package/dist/types/lib/http/data-fetcher/fetchers/data-unit/cache/PreloadManager.d.ts +1 -1
  404. package/dist/types/lib/http/data-fetcher/fetchers/form-config-fetcher.d.ts +6 -0
  405. package/dist/types/lib/http/data-fetcher/fetchers/personalized-filter-fetcher.d.ts +8 -4
  406. package/dist/types/lib/http/data-fetcher/fetchers/pesquisa-fetcher.d.ts +4 -1
  407. package/dist/types/lib/message/SnkMessageBuilder.d.ts +2 -1
  408. package/dist/types/lib/utils/constants.d.ts +7 -0
  409. package/package.json +8 -6
  410. package/react/components.d.ts +11 -3
  411. package/react/components.js +11 -3
  412. package/react/components.js.map +1 -1
  413. package/dist/cjs/ISave-e91b70a7.js +0 -9
  414. package/dist/cjs/Sortable-fb1c4cbb.js +0 -2853
  415. package/dist/cjs/snk-config-options_3.cjs.entry.js +0 -1388
  416. package/dist/cjs/snk-field-config.cjs.entry.js +0 -60
  417. package/dist/cjs/snk-tab-config.cjs.entry.js +0 -332
  418. package/dist/collection/components/snk-form-config/subcomponents/snk-config-options/snk-config-options.css +0 -16
  419. package/dist/collection/components/snk-form-config/subcomponents/snk-config-options/snk-config-options.js +0 -344
  420. package/dist/collection/components/snk-form-config/subcomponents/snk-field-config/snk-field-config.css +0 -219
  421. package/dist/collection/components/snk-form-config/subcomponents/snk-field-config/snk-field-config.js +0 -184
  422. package/dist/collection/components/snk-form-config/subcomponents/snk-tab-config/snk-tab-config.css +0 -323
  423. package/dist/collection/components/snk-form-config/subcomponents/snk-tab-config/snk-tab-config.js +0 -527
  424. package/dist/collection/components/snk-taskbar/subcomponents/field-search.js +0 -31
  425. package/dist/components/snk-config-options.js +0 -6
  426. package/dist/components/snk-config-options2.js +0 -255
  427. package/dist/components/snk-field-config.js +0 -6
  428. package/dist/components/snk-field-config2.js +0 -76
  429. package/dist/components/snk-tab-config.js +0 -6
  430. package/dist/components/snk-tab-config2.js +0 -3202
  431. package/dist/esm/ISave-d8c8bc59.js +0 -9
  432. package/dist/esm/Sortable-83960219.js +0 -2851
  433. package/dist/esm/snk-config-options_3.entry.js +0 -1382
  434. package/dist/esm/snk-field-config.entry.js +0 -56
  435. package/dist/esm/snk-tab-config.entry.js +0 -328
  436. package/dist/sankhyablocks/p-11afea24.entry.js +0 -1
  437. package/dist/sankhyablocks/p-17425c72.js +0 -1
  438. package/dist/sankhyablocks/p-18389343.entry.js +0 -1
  439. package/dist/sankhyablocks/p-1d19a5b0.js +0 -1
  440. package/dist/sankhyablocks/p-1db45d26.entry.js +0 -1
  441. package/dist/sankhyablocks/p-21749402.js +0 -1
  442. package/dist/sankhyablocks/p-22ddc147.js +0 -26
  443. package/dist/sankhyablocks/p-23736d75.js +0 -1
  444. package/dist/sankhyablocks/p-23cd6abf.entry.js +0 -1
  445. package/dist/sankhyablocks/p-240ac47f.entry.js +0 -1
  446. package/dist/sankhyablocks/p-2953c481.entry.js +0 -1
  447. package/dist/sankhyablocks/p-3ab6df3d.entry.js +0 -1
  448. package/dist/sankhyablocks/p-3fcb90d6.js +0 -56
  449. package/dist/sankhyablocks/p-43769aa9.js +0 -1
  450. package/dist/sankhyablocks/p-4b01cbad.entry.js +0 -11
  451. package/dist/sankhyablocks/p-4c9adf1c.entry.js +0 -1
  452. package/dist/sankhyablocks/p-517efc93.js +0 -1
  453. package/dist/sankhyablocks/p-6b898a51.entry.js +0 -1
  454. package/dist/sankhyablocks/p-77168ab4.entry.js +0 -1
  455. package/dist/sankhyablocks/p-7e0a0aae.js +0 -60
  456. package/dist/sankhyablocks/p-91708c3d.entry.js +0 -1
  457. package/dist/sankhyablocks/p-933c0c0b.js +0 -1
  458. package/dist/sankhyablocks/p-9523fc40.entry.js +0 -1
  459. package/dist/sankhyablocks/p-9887a437.entry.js +0 -1
  460. package/dist/sankhyablocks/p-9ebc3f3b.entry.js +0 -1
  461. package/dist/sankhyablocks/p-a5bdcb3f.entry.js +0 -1
  462. package/dist/sankhyablocks/p-a61bbe18.entry.js +0 -1
  463. package/dist/sankhyablocks/p-abd9681c.js +0 -1
  464. package/dist/sankhyablocks/p-bfdf92e9.entry.js +0 -1
  465. package/dist/sankhyablocks/p-c8622597.entry.js +0 -1
  466. package/dist/sankhyablocks/p-cb1e77e0.entry.js +0 -1
  467. package/dist/sankhyablocks/p-d9804798.js +0 -1
  468. package/dist/sankhyablocks/p-e289826a.js +0 -1
  469. package/dist/sankhyablocks/p-e51c52cf.entry.js +0 -1
  470. package/dist/sankhyablocks/p-e66bcb5c.entry.js +0 -1
  471. package/dist/sankhyablocks/p-ef076eea.js +0 -6
  472. package/dist/sankhyablocks/p-fa816fb2.js +0 -1
  473. package/dist/types/components/snk-form-config/subcomponents/snk-config-options/snk-config-options.d.ts +0 -57
  474. package/dist/types/components/snk-form-config/subcomponents/snk-field-config/snk-field-config.d.ts +0 -43
  475. package/dist/types/components/snk-form-config/subcomponents/snk-tab-config/snk-tab-config.d.ts +0 -105
  476. package/dist/types/components/snk-taskbar/subcomponents/field-search.d.ts +0 -4
@@ -1,11 +1,12 @@
1
- import { Host, h } from '@stencil/core';
2
- import { Action, ApplicationContext, DataUnitAction, ObjectUtils, StringUtils } from '@sankhyalabs/core';
1
+ import { h, Host } from '@stencil/core';
2
+ import { Action, ApplicationContext, DataUnitAction, ObjectUtils, StringUtils, } from '@sankhyalabs/core';
3
3
  import { ApplicationUtils, DialogType } from '@sankhyalabs/ezui/dist/collection/utils';
4
4
  import { OperationMap, SnkMessageBuilder } from '../../lib/message/SnkMessageBuilder';
5
5
  import { DatasetStrategy } from '../../lib/http/data-fetcher/fetchers/data-unit/loadstrategy/DatasetStrategy';
6
6
  import { getRecordValue } from '../../lib/dataUnit/ValueFormatter';
7
7
  import { convertType } from '@sankhyalabs/core/dist/dataunit/metadata/DataType';
8
8
  import { getSelectedRecordsIDsInfo } from '../../lib/utils/GetSelectedRecordsIDsInfo';
9
+ import { showConfirmMultipleUpdatePopup } from './MultipleUpdateHelper';
9
10
  export class SnkDataUnit {
10
11
  constructor() {
11
12
  this._onDataUnitResolve = [];
@@ -14,6 +15,7 @@ export class SnkDataUnit {
14
15
  this._fieldsWithRmPrecision = [];
15
16
  this._metadataByRow = new Map();
16
17
  this._rowMetadataCache = new Map();
18
+ this._formFieldsConfig = [];
17
19
  this.REGEX_DATAUNIT_NAME = /dd:\/\/(.+?)\//;
18
20
  this._dataUnitObserver = async (action) => {
19
21
  const duState = await this.buildDataState(action.type);
@@ -92,6 +94,10 @@ export class SnkDataUnit {
92
94
  this.messagesBuilderUpdated.emit(newValue);
93
95
  }
94
96
  }
97
+ onMasterFormConfigChange({ detail }) {
98
+ var _a;
99
+ this._formFieldsConfig = (_a = detail === null || detail === void 0 ? void 0 : detail.fields) !== null && _a !== void 0 ? _a : [];
100
+ }
95
101
  /**
96
102
  * Obtém o dataUnit.
97
103
  */
@@ -266,9 +272,13 @@ export class SnkDataUnit {
266
272
  this._openedAlert = false;
267
273
  }
268
274
  async interceptSavingData(action) {
269
- if (!this.beforeSave) {
270
- return action;
275
+ if (this.dataUnit.isMultipleEdition) {
276
+ const confirm = await this.confirmMultipleSavingData();
277
+ if (!confirm)
278
+ return undefined;
271
279
  }
280
+ if (!this.beforeSave)
281
+ return action;
272
282
  const continueAction = this.beforeSave(this.dataUnit);
273
283
  if (continueAction instanceof Promise) {
274
284
  const result = await continueAction;
@@ -276,6 +286,46 @@ export class SnkDataUnit {
276
286
  }
277
287
  return continueAction ? action : undefined;
278
288
  }
289
+ async confirmMultipleSavingData() {
290
+ const selectedRecords = this.dataUnit.getSelectionInfo().records;
291
+ const title = this.getMessage('snkDataUnit.multipleUpdateConfirmationTitle');
292
+ const message = this.getMessage('snkDataUnit.multipleUpdateConfirmationMessage', { size: selectedRecords.length });
293
+ const labelBtnCancel = this.getMessage('snkDataUnit.confirm.cancel');
294
+ const labelBtnConfirm = this.getMessage('snkDataUnit.confirm.updateMultipleConfirm');
295
+ return await showConfirmMultipleUpdatePopup({
296
+ title,
297
+ message,
298
+ labelBtnConfirm,
299
+ labelBtnCancel,
300
+ changingFields: this.getChangingFields(),
301
+ });
302
+ }
303
+ getChangingFields() {
304
+ const changes = this.dataUnit.buildChangesToSave();
305
+ if (!(changes === null || changes === void 0 ? void 0 : changes.length))
306
+ return [];
307
+ const change = changes[0];
308
+ const changingFields = Object.keys(change.updatingFields).map(key => this.buildChangingField(key, change[key]));
309
+ return changingFields;
310
+ }
311
+ buildChangingField(key, value) {
312
+ const fieldLabel = this.dataUnit.getField(key).label;
313
+ const formattedValue = this.dataUnit.getFormattedValue(key, value);
314
+ return {
315
+ label: fieldLabel,
316
+ value: formattedValue,
317
+ tabName: this.getFieldTabName(key),
318
+ };
319
+ }
320
+ getFieldTabName(fieldName) {
321
+ var _a;
322
+ const tab = (_a = this._formFieldsConfig.find(f => f.name === fieldName)) === null || _a === void 0 ? void 0 : _a.tab;
323
+ if (!tab)
324
+ return undefined;
325
+ if (typeof tab === 'string')
326
+ return tab;
327
+ return tab.label;
328
+ }
279
329
  interceptDataSaved(action) {
280
330
  if (this.afterSave) {
281
331
  this.afterSave(this.dataUnit);
@@ -295,7 +345,17 @@ export class SnkDataUnit {
295
345
  }
296
346
  const cancelConfirmationTitle = this.getMessage("snkDataUnit.cancelConfirmationTitle");
297
347
  const confirm = await ApplicationUtils.confirm(cancelConfirmationTitle, cancelConfirmation);
298
- confirm && this.showSuccessMessage(this.getMessage("snkDataUnit.cancelInfo"));
348
+ if (confirm) {
349
+ let editionCanceledMessage;
350
+ if (this.dataUnit.isMultipleEdition) {
351
+ const selectedRecords = this.dataUnit.getSelectionInfo().records;
352
+ editionCanceledMessage = this.buildMultipleUpdateMessage(selectedRecords, true);
353
+ }
354
+ else {
355
+ editionCanceledMessage = this.getMessage("snkDataUnit.cancelInfo");
356
+ }
357
+ this.showSuccessMessage(editionCanceledMessage);
358
+ }
299
359
  return confirm ? action : undefined;
300
360
  }
301
361
  async interceptRemovingRecords(action) {
@@ -473,24 +533,50 @@ export class SnkDataUnit {
473
533
  }
474
534
  async handleDataSaved(action) {
475
535
  var _a, _b, _c;
476
- const newRowMetadata = await this.handleLoadRowMetadata((_c = (_b = (_a = action === null || action === void 0 ? void 0 : action.payload) === null || _a === void 0 ? void 0 : _a.changes) === null || _b === void 0 ? void 0 : _b[0]) === null || _c === void 0 ? void 0 : _c.record);
536
+ const changes = (_a = action === null || action === void 0 ? void 0 : action.payload) === null || _a === void 0 ? void 0 : _a.changes;
537
+ const affectedRecords = (_b = action === null || action === void 0 ? void 0 : action.payload) === null || _b === void 0 ? void 0 : _b.records;
538
+ const newRowMetadata = await this.handleLoadRowMetadata((_c = changes === null || changes === void 0 ? void 0 : changes[0]) === null || _c === void 0 ? void 0 : _c.record);
477
539
  if (newRowMetadata) {
478
540
  newRowMetadata.getProp = this.buildGetPropRowMetadata(newRowMetadata);
479
541
  }
480
- const recordId = action.payload.records[0].__record__id__;
542
+ const recordId = affectedRecords[0].__record__id__;
481
543
  this._metadataByRow.set(recordId, newRowMetadata);
482
544
  this.dataState = await this.buildDataState();
483
- let saveOperation = action.payload.changes[0]._operation.toLowerCase();
484
- if (saveOperation == 'copy')
545
+ let saveOperation = changes[0]._operation.toLowerCase();
546
+ if (saveOperation == 'copy') {
485
547
  saveOperation = OperationMap.CLONE;
486
- if (this.ignoreSaveMessage && ![OperationMap.CLONE, OperationMap.INSERT].includes(saveOperation)) {
487
- return;
488
548
  }
489
- const msg = this.getMessage("snkDataUnit.saveInfo", action.payload.records[0], saveOperation);
549
+ if (this.canIgnoreOperationMessage(saveOperation))
550
+ return;
551
+ let msg = this.buildOperationMessage(saveOperation, affectedRecords);
490
552
  if (msg != undefined) {
491
553
  this.showSuccessMessage(msg);
492
554
  }
493
555
  }
556
+ canIgnoreOperationMessage(saveOperation) {
557
+ return this.ignoreSaveMessage && !this.isCloneOrInsertOperation(saveOperation);
558
+ }
559
+ isCloneOrInsertOperation(saveOperation) {
560
+ return [OperationMap.CLONE, OperationMap.INSERT].includes(saveOperation);
561
+ }
562
+ buildOperationMessage(saveOperation, records) {
563
+ if (this.isMultiplesUpdate(saveOperation, records)) {
564
+ return this.buildMultipleUpdateMessage(records);
565
+ }
566
+ return this.getMessage('snkDataUnit.saveInfo', records[0], saveOperation);
567
+ }
568
+ buildMultipleUpdateMessage(records, isCancel) {
569
+ /**
570
+ * FIXME: No futuro, precisamos pensar em um mecanismo para deixar as mensagens de feedback mais dinâmicas.
571
+ * Podemo ocorrer cenários onde temos mais de um registro selecionado e também cenários onde a chave primária
572
+ * de um registro se trata de uma chave composta.
573
+ */
574
+ const key = `snkDataUnit.${isCancel ? 'cancelInfo' : 'saveInfo'}`;
575
+ return this.getMessage(key, { records: records }, OperationMap.UPDATE_MULTIPLES);
576
+ }
577
+ isMultiplesUpdate(saveOperation, records) {
578
+ return saveOperation === OperationMap.UPDATE && records.length > 1;
579
+ }
494
580
  handleRecordsRemoved(action) {
495
581
  var _a, _b;
496
582
  let removeFinishMsg = this.buildRemoveFinishMessage(action);
@@ -1156,6 +1242,15 @@ export class SnkDataUnit {
1156
1242
  "methodName": "observeMessagesBuilder"
1157
1243
  }];
1158
1244
  }
1245
+ static get listeners() {
1246
+ return [{
1247
+ "name": "snkMasterFormConfigChange",
1248
+ "method": "onMasterFormConfigChange",
1249
+ "target": undefined,
1250
+ "capture": false,
1251
+ "passive": false
1252
+ }];
1253
+ }
1159
1254
  }
1160
1255
  class DataStateImpl {
1161
1256
  constructor(datastate) {
@@ -61,14 +61,9 @@ export class SnkEntityList {
61
61
  if (this._application === undefined) {
62
62
  return;
63
63
  }
64
- const searchOptions = (_c = (_b = (_a = this.config) === null || _a === void 0 ? void 0 : _a.props) === null || _b === void 0 ? void 0 : _b.searchContext) === null || _c === void 0 ? void 0 : _c.searchOptions;
64
+ const searchContext = (_c = (_b = (_a = this.config) === null || _a === void 0 ? void 0 : _a.props) === null || _b === void 0 ? void 0 : _b.searchContext) !== null && _c !== void 0 ? _c : {};
65
65
  const criteria = (_e = (_d = this.config) === null || _d === void 0 ? void 0 : _d.props) === null || _e === void 0 ? void 0 : _e.criteria;
66
- const options = {
67
- entityDescription: (_f = this.config) === null || _f === void 0 ? void 0 : _f.label,
68
- entity: this._entityName,
69
- searchOptions: searchOptions,
70
- criteria,
71
- };
66
+ const options = Object.assign(Object.assign({ criteria }, searchContext), { entityDescription: (_f = this.config) === null || _f === void 0 ? void 0 : _f.label, entity: this._entityName });
72
67
  return this._application.executePreparedSearch(mode, argument, options);
73
68
  }
74
69
  onEzSearchChange(evt) {
@@ -110,7 +110,7 @@ function buildPeriod(item) {
110
110
  function buildSearch(item) {
111
111
  const { id, value, props } = item;
112
112
  const expression = props.expression;
113
- return { name: id, expression, params: [{ name: id, dataType: DataType.TEXT, value: toString(DataType.TEXT, value.value) }] };
113
+ return { name: id, expression, params: [{ name: id, dataType: DataType.TEXT, value: toString(DataType.TEXT, value === null || value === void 0 ? void 0 : value.value) }] };
114
114
  }
115
115
  function buildText(item) {
116
116
  let { id, value, props } = item;
@@ -3,14 +3,20 @@ import { h } from '@stencil/core';
3
3
  import FilterItemType from '../filter-item-type.enum';
4
4
  export class SnkFilterSearch {
5
5
  constructor() {
6
+ this._isSearchPlus = false;
6
7
  this.config = undefined;
7
8
  this.value = undefined;
8
9
  }
9
10
  /**
10
11
  * Emitido quando acontece a alteração de valor do componente snk-filter-search
11
12
  */
12
- ezChangeListener(_evt) {
13
- this.value = this._searchInput.value;
13
+ async ezChangeListener(_evt) {
14
+ if (this._isSearchPlus) {
15
+ this.value = await this._searchInput.getValueAsync();
16
+ }
17
+ else {
18
+ this.value = this._searchInput.value;
19
+ }
14
20
  this.valueChanged.emit(this.value);
15
21
  }
16
22
  componentDidLoad() {
@@ -18,10 +24,11 @@ export class SnkFilterSearch {
18
24
  ElementIDUtils.addIDInfo(this._element, 'filterContentEditor');
19
25
  }
20
26
  }
21
- doSearch(mode, argument) {
27
+ doSearch(mode, argument, isSearchPlus = false) {
22
28
  const application = ApplicationContext.getContextValue("__SNK__APPLICATION__");
29
+ const loader = isSearchPlus ? application.executePreparedSearchPlus : application.executePreparedSearch;
23
30
  return new Promise((resolve, reject) => {
24
- application.executePreparedSearch(mode, argument, this.config.props.searchContext)
31
+ loader.bind(application)(mode, argument, this.config.props.searchContext)
25
32
  .then(result => {
26
33
  resolve(result);
27
34
  }).catch(reason => {
@@ -35,11 +42,17 @@ export class SnkFilterSearch {
35
42
  async show() {
36
43
  this._searchInput.setFocus();
37
44
  }
45
+ getInputItem() {
46
+ var _a;
47
+ this._isSearchPlus = ((_a = this.config.props) === null || _a === void 0 ? void 0 : _a["useSearchPlus"]) == true;
48
+ const TagName = this._isSearchPlus ? "ez-search-plus" : "ez-search";
49
+ return (h(TagName, { id: this.config.id, suppressEmptyOption: true, value: this.config.value, label: this.config.label, ref: ref => this._searchInput = ref, optionLoader: ({ mode, argument }) => this.doSearch(mode, argument, this._isSearchPlus) }));
50
+ }
38
51
  render() {
39
52
  if (!this.config || this.config.type !== FilterItemType.SEARCH) {
40
53
  return undefined;
41
54
  }
42
- return (h("ez-search", { id: this.config.id, suppressEmptyOption: true, value: this.config.value, label: this.config.label, ref: ref => this._searchInput = ref, optionLoader: ({ mode, argument }) => this.doSearch(mode, argument) }));
55
+ return this.getInputItem();
43
56
  }
44
57
  static get is() { return "snk-filter-search"; }
45
58
  static get properties() {
@@ -3,9 +3,11 @@ import { ModalAction } from "@sankhyalabs/ezui/dist/collection/components/ez-mod
3
3
  import { ApplicationUtils } from "@sankhyalabs/ezui/dist/collection/utils";
4
4
  import FilterType from '../types/filter-type.enum';
5
5
  import FilterItemType from '../filter-item/filter-item-type.enum';
6
- import { ObjectUtils } from '@sankhyalabs/core';
6
+ import { ApplicationContext, ObjectUtils } from '@sankhyalabs/core';
7
7
  import { PersonalizedFilterUtils } from '../../snk-personalized-filter/subcomponents/snk-filter-param-config/utils/PersonalizedFilterUtils';
8
8
  import { FilterNumberVariation } from '../filter-item/editors/enum/filterNumberVariation';
9
+ import { ActionDefaultFilter } from '../types/default-filters';
10
+ import { DefaultFilter } from '../../snk-personalized-filter/interfaces';
9
11
  export class SnkFilterModal {
10
12
  constructor() {
11
13
  this.getMessage = undefined;
@@ -17,6 +19,7 @@ export class SnkFilterModal {
17
19
  this.editPersonalizedFilter = undefined;
18
20
  this.deletePersonalizedFilter = undefined;
19
21
  this.filtersToDelete = [];
22
+ this.filterDefaultToDelete = undefined;
20
23
  this.disablePersonalizedFilter = undefined;
21
24
  }
22
25
  /**
@@ -75,8 +78,12 @@ export class SnkFilterModal {
75
78
  return copy;
76
79
  });
77
80
  }
81
+ hasChangeToSave() {
82
+ const hasChangesPersonalizedFilters = ObjectUtils.objectToString(this.filters) !== ObjectUtils.objectToString(this._originalFilterConfig);
83
+ return hasChangesPersonalizedFilters;
84
+ }
78
85
  handleClose() {
79
- const hasChangesToSave = ObjectUtils.objectToString(this.filters) !== ObjectUtils.objectToString(this._originalFilterConfig);
86
+ const hasChangesToSave = this.hasChangeToSave();
80
87
  if (!hasChangesToSave) {
81
88
  this.closeModal();
82
89
  return;
@@ -87,7 +94,7 @@ export class SnkFilterModal {
87
94
  });
88
95
  }
89
96
  handleApplyFilters() {
90
- const filterPersonalized = this.filters.find(filter => filter.filterType === FilterType.CUSTOM_FILTER);
97
+ const filterPersonalized = this.filters.find(filter => filter.filterType === FilterType.CUSTOM_FILTER || filter.filterType === FilterType.DEFAULT_FILTER);
91
98
  if (this.isValidCustomFilter(filterPersonalized)) {
92
99
  this.applyFilters(this.filters);
93
100
  }
@@ -97,6 +104,11 @@ export class SnkFilterModal {
97
104
  });
98
105
  this.filtersToDelete = [];
99
106
  }
107
+ if (this.filterDefaultToDelete) {
108
+ this.deletePersonalizedFilter(this.filterDefaultToDelete, this.configName, true);
109
+ this._defaultFilter = undefined;
110
+ this.filterDefaultToDelete = undefined;
111
+ }
100
112
  }
101
113
  isValidCustomFilter(filterPersonalized) {
102
114
  const isValid = PersonalizedFilterUtils.validateVariableValues(filterPersonalized);
@@ -223,6 +235,41 @@ export class SnkFilterModal {
223
235
  const lines = this.mountFiltersLines(listItems);
224
236
  return (h("ez-collapsible-box", { class: "snk-filter-modal__collapsible-box", headerSize: "medium", value: true, label: label }, !!appliedFilters && (h("ez-badge", { class: "ez-badge--primary-subtle", slot: "rightSlot", label: appliedFilters === null || appliedFilters === void 0 ? void 0 : appliedFilters.toString() })), h("div", { class: "ez-row snk-filter-modal__rendered-items" }, lines.map(this.renderFilterLine.bind(this))), shouldRenderFooter && (h("div", { class: "ez-flex ez-flex--justify-end grow" }, h("ez-button", { class: "ez-button--tertiary", size: "medium", label: "Limpar", onClick: () => isSingleItem ? this.handleClearSigleFilter(listItems[0]) : this.handleClearFilterList(listItems) })))));
225
237
  }
238
+ handleDeleteFilter() {
239
+ this._application.confirm(this.getMessage('snkPersonalizedFilter.deleteConfirm.title'), this.getMessage('snkPersonalizedFilter.info.deleteDefaultFilterConfirm'), "alert-circle-inverted", "critical").then((actionConfirmed) => {
240
+ if (!actionConfirmed) {
241
+ return;
242
+ }
243
+ this.filterDefaultToDelete = this._defaultFilter;
244
+ this.filters = this.filters.filter(filter => filter.id !== FilterType.DEFAULT_FILTER);
245
+ });
246
+ }
247
+ handleActionSelectedDefaultFilter({ detail: action }) {
248
+ switch (action) {
249
+ case ActionDefaultFilter.CREATE:
250
+ this.addPersonalizedFilter(true);
251
+ break;
252
+ case ActionDefaultFilter.EDIT:
253
+ this.editPersonalizedFilter(this._defaultFilter.id, true);
254
+ break;
255
+ case ActionDefaultFilter.REMOVE:
256
+ this.handleDeleteFilter();
257
+ break;
258
+ default:
259
+ break;
260
+ }
261
+ }
262
+ getCustomFilter(filters) {
263
+ const customFilters = filters.filter((filter) => filter.filterType === FilterType.CUSTOM_FILTER);
264
+ return customFilters;
265
+ }
266
+ getDefaultFilter(filters) {
267
+ const defaultFilter = filters.find((item) => item.id === DefaultFilter.id);
268
+ return defaultFilter;
269
+ }
270
+ componentWillLoad() {
271
+ this._application = ApplicationContext.getContextValue('__SNK__APPLICATION__');
272
+ }
226
273
  componentWillRender() {
227
274
  this._modalTitle = this.getCustomMessage('title');
228
275
  this._okButtonLabel = this.getCustomMessage('okButtonLabel');
@@ -233,10 +280,11 @@ export class SnkFilterModal {
233
280
  this._originalFilterConfig = this.filters;
234
281
  }
235
282
  render() {
236
- const customFilters = this.filters.filter(filter => filter.filterType === FilterType.CUSTOM_FILTER);
283
+ this._defaultFilter = this.getDefaultFilter(this.filters);
284
+ const customFilters = this.getCustomFilter(this.filters);
237
285
  const quickFilters = this.filters.filter(filter => filter.filterType === FilterType.QUICK_FILTER);
238
286
  const otherFilters = this.filters.filter(filter => filter.filterType === FilterType.OTHER_FILTERS);
239
- return (h("ez-modal-container", { class: "snk-filter-modal__container", modalTitle: this._modalTitle, cancelButtonLabel: this._cancelButtonLabel, okButtonLabel: this._okButtonLabel, onEzModalAction: this.modalActionListener.bind(this) }, h("div", { class: "snk-filter-modal__content ez-col--sd-12" }, !this.disablePersonalizedFilter && this.renderCollapsibleFilterBox(this.getCustomMessage('customFilters'), customFilters, false, false), this.renderCollapsibleFilterBox(this.getCustomMessage('quickFilters'), quickFilters, false), otherFilters.map(filter => this.renderCollapsibleFilterBox(filter.label, [filter], true)))));
287
+ return (h("ez-modal-container", { class: "snk-filter-modal__container", modalTitle: this._modalTitle, cancelButtonLabel: this._cancelButtonLabel, okButtonLabel: this._okButtonLabel, onEzModalAction: this.modalActionListener.bind(this) }, h("div", { class: "snk-filter-modal__content ez-col--sd-12" }, h("snk-default-filter", { getMessage: this.getCustomMessage.bind(this), hasDefaultFilter: !!this._defaultFilter, onActionSelected: this.handleActionSelectedDefaultFilter.bind(this) }), !this.disablePersonalizedFilter && this.renderCollapsibleFilterBox(this.getCustomMessage('customFilters'), customFilters, false, false), this.renderCollapsibleFilterBox(this.getCustomMessage('quickFilters'), quickFilters, false), otherFilters.map(filter => this.renderCollapsibleFilterBox(filter.label, [filter], true)))));
240
288
  }
241
289
  static get is() { return "snk-filter-modal"; }
242
290
  static get originalStyleUrls() {
@@ -348,8 +396,8 @@ export class SnkFilterModal {
348
396
  "type": "unknown",
349
397
  "mutable": false,
350
398
  "complexType": {
351
- "original": "() => void",
352
- "resolved": "() => void",
399
+ "original": "(isDefault?: boolean) => void",
400
+ "resolved": "(isDefault?: boolean) => void",
353
401
  "references": {}
354
402
  },
355
403
  "required": false,
@@ -363,8 +411,8 @@ export class SnkFilterModal {
363
411
  "type": "unknown",
364
412
  "mutable": false,
365
413
  "complexType": {
366
- "original": "(id:string) => void",
367
- "resolved": "(id: string) => void",
414
+ "original": "(id:string, isDefault?: boolean) => void",
415
+ "resolved": "(id: string, isDefault?: boolean) => void",
368
416
  "references": {}
369
417
  },
370
418
  "required": false,
@@ -378,8 +426,8 @@ export class SnkFilterModal {
378
426
  "type": "unknown",
379
427
  "mutable": false,
380
428
  "complexType": {
381
- "original": "(filter: IPersonalizedFilter, configName: string) => void",
382
- "resolved": "(filter: IPersonalizedFilter, configName: string) => void",
429
+ "original": "(filter: IPersonalizedFilter, configName: string, isDefault?: boolean) => void",
430
+ "resolved": "(filter: IPersonalizedFilter, configName: string, isDefault?: boolean) => void",
383
431
  "references": {
384
432
  "IPersonalizedFilter": {
385
433
  "location": "import",
@@ -396,7 +444,7 @@ export class SnkFilterModal {
396
444
  },
397
445
  "filtersToDelete": {
398
446
  "type": "unknown",
399
- "mutable": false,
447
+ "mutable": true,
400
448
  "complexType": {
401
449
  "original": "IPersonalizedFilter[]",
402
450
  "resolved": "IPersonalizedFilter[]",
@@ -415,6 +463,26 @@ export class SnkFilterModal {
415
463
  },
416
464
  "defaultValue": "[]"
417
465
  },
466
+ "filterDefaultToDelete": {
467
+ "type": "unknown",
468
+ "mutable": true,
469
+ "complexType": {
470
+ "original": "SnkFilterItemConfig",
471
+ "resolved": "SnkFilterItemConfig",
472
+ "references": {
473
+ "SnkFilterItemConfig": {
474
+ "location": "import",
475
+ "path": "../filter-item/snk-filter-item"
476
+ }
477
+ }
478
+ },
479
+ "required": false,
480
+ "optional": false,
481
+ "docs": {
482
+ "tags": [],
483
+ "text": "Guarda o filtro a ser deletado no Apply do modal"
484
+ }
485
+ },
418
486
  "disablePersonalizedFilter": {
419
487
  "type": "boolean",
420
488
  "mutable": false,
@@ -0,0 +1,34 @@
1
+ :host {
2
+ display: flex;
3
+ justify-content: flex-end;
4
+ }
5
+
6
+ .default_container {
7
+ border: none;
8
+ background: none;
9
+ display: flex;
10
+ align-items: center;
11
+ gap: var(--space--3xs, 4px);
12
+ font-family: var(--font-pattern);
13
+ color: var(--title--primary, #2b3a54);
14
+ font-size: var(--text--medium, 14px);
15
+ padding: 0;
16
+ outline: none;
17
+ }
18
+
19
+ .default_container ez-icon {
20
+ cursor: pointer;
21
+ }
22
+
23
+ .default_container ez-icon:hover {
24
+ color: var(--color--primary-600);
25
+ }
26
+
27
+ .new_filter {
28
+ cursor: pointer;
29
+ margin: 0 var(--space--3xs, 4px);
30
+ }
31
+
32
+ .new_filter:hover {
33
+ color: var(--color--primary-600);
34
+ }
@@ -0,0 +1,142 @@
1
+ import { h, Host } from '@stencil/core';
2
+ import { ActionDefaultFilter } from '../../../types/default-filters';
3
+ export class SnkDefaultFilter {
4
+ constructor() {
5
+ this.OFFSET_HEIGHT = 5;
6
+ this.getMessage = undefined;
7
+ this.hasDefaultFilter = false;
8
+ this._opened = false;
9
+ }
10
+ repositionDropDown() {
11
+ if (!this._refIcon || !this._refDropdown) {
12
+ return;
13
+ }
14
+ const boundingIcon = this._refIcon.getBoundingClientRect();
15
+ const boundingDropDown = this._refDropdown.getBoundingClientRect();
16
+ this._refDropdown.style.top = (boundingIcon.y + boundingIcon.height + this.OFFSET_HEIGHT) + "px";
17
+ this._refDropdown.style.left = ((boundingIcon.x + (boundingIcon.width / 2)) - boundingDropDown.width) + "px";
18
+ }
19
+ toggleDropdown() {
20
+ this._opened = !this._opened;
21
+ }
22
+ closeDropdown(evt) {
23
+ const target = evt === null || evt === void 0 ? void 0 : evt.target;
24
+ if (!target) {
25
+ return;
26
+ }
27
+ if (!target.closest("#dropdown-parent-demo")) {
28
+ this._opened = false;
29
+ }
30
+ }
31
+ buildItems() {
32
+ return ([
33
+ {
34
+ id: ActionDefaultFilter.EDIT,
35
+ label: this.getMessage('defaultFilter.edit'),
36
+ },
37
+ {
38
+ id: ActionDefaultFilter.REMOVE,
39
+ label: this.getMessage('defaultFilter.remove'),
40
+ },
41
+ ]);
42
+ }
43
+ onValueSelected({ detail: item }) {
44
+ this._opened = false;
45
+ this.actionSelected.emit(item.id);
46
+ }
47
+ openCreateNewFilter() {
48
+ this.actionSelected.emit(ActionDefaultFilter.CREATE);
49
+ }
50
+ componentDidRender() {
51
+ this.repositionDropDown();
52
+ }
53
+ componentWillLoad() {
54
+ this._items = this.buildItems();
55
+ document.removeEventListener("scroll", this.repositionDropDown.bind(this));
56
+ document.addEventListener("scroll", this.repositionDropDown.bind(this));
57
+ }
58
+ render() {
59
+ if (!this.hasDefaultFilter) {
60
+ return (h(Host, null, h("button", { class: "default_container new_filter", onClick: this.openCreateNewFilter.bind(this) }, h("span", null, this.getMessage('defaultFilter.create')))));
61
+ }
62
+ return (h(Host, null, h("button", { class: "default_container", onClick: this.toggleDropdown.bind(this) }, h("span", null, this.getMessage('defaultFilter.title')), h("ez-icon", { ref: (ref) => this._refIcon = ref, iconName: 'dots-vertical' })), this._opened &&
63
+ h("ez-dropdown", { ref: (ref) => this._refDropdown = ref, items: this._items, onEzClick: this.onValueSelected.bind(this), onEzOutsideClick: this.closeDropdown.bind(this) })));
64
+ }
65
+ static get is() { return "snk-default-filter"; }
66
+ static get encapsulation() { return "scoped"; }
67
+ static get originalStyleUrls() {
68
+ return {
69
+ "$": ["snk-default-filter.css"]
70
+ };
71
+ }
72
+ static get styleUrls() {
73
+ return {
74
+ "$": ["snk-default-filter.css"]
75
+ };
76
+ }
77
+ static get properties() {
78
+ return {
79
+ "getMessage": {
80
+ "type": "unknown",
81
+ "mutable": false,
82
+ "complexType": {
83
+ "original": "(key: string, props?: any) => string",
84
+ "resolved": "(key: string, props?: any) => string",
85
+ "references": {}
86
+ },
87
+ "required": false,
88
+ "optional": false,
89
+ "docs": {
90
+ "tags": [],
91
+ "text": "Usado pra flexibilizar os verbetes e mensagens de acordo com o SnkMessageBuilder."
92
+ }
93
+ },
94
+ "hasDefaultFilter": {
95
+ "type": "boolean",
96
+ "mutable": false,
97
+ "complexType": {
98
+ "original": "boolean",
99
+ "resolved": "boolean",
100
+ "references": {}
101
+ },
102
+ "required": false,
103
+ "optional": false,
104
+ "docs": {
105
+ "tags": [],
106
+ "text": "Informa se j\u00E1 existe um filtro padr\u00E3o criado."
107
+ },
108
+ "attribute": "has-default-filter",
109
+ "reflect": false,
110
+ "defaultValue": "false"
111
+ }
112
+ };
113
+ }
114
+ static get states() {
115
+ return {
116
+ "_opened": {}
117
+ };
118
+ }
119
+ static get events() {
120
+ return [{
121
+ "method": "actionSelected",
122
+ "name": "actionSelected",
123
+ "bubbles": true,
124
+ "cancelable": true,
125
+ "composed": true,
126
+ "docs": {
127
+ "tags": [],
128
+ "text": ""
129
+ },
130
+ "complexType": {
131
+ "original": "ActionDefaultFilter",
132
+ "resolved": "ActionDefaultFilter.CREATE | ActionDefaultFilter.EDIT | ActionDefaultFilter.REMOVE",
133
+ "references": {
134
+ "ActionDefaultFilter": {
135
+ "location": "import",
136
+ "path": "../../../types/default-filters"
137
+ }
138
+ }
139
+ }
140
+ }];
141
+ }
142
+ }