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

Sign up to get free protection for your applications and to get access to all the features.
Files changed (180) hide show
  1. package/dist/cjs/{ConfigStorage-e49214c6.js → ConfigStorage-ecc0ed20.js} +2 -2
  2. package/dist/cjs/{IExporterProvider-8c030a7e.js → ContinuousInsertUtils-807730a8.js} +38 -5
  3. package/dist/cjs/{DataFetcher-77729a93.js → DataFetcher-cadeef8e.js} +21 -20
  4. package/dist/cjs/{SnkFormConfigManager-beebf47a.js → SnkFormConfigManager-f1c92f79.js} +72 -16
  5. package/dist/cjs/{SnkMessageBuilder-cceebbae.js → SnkMessageBuilder-bae64d0d.js} +5 -1
  6. package/dist/cjs/{auth-fetcher-29bb791c.js → auth-fetcher-d68841bc.js} +1 -1
  7. package/dist/cjs/{dataunit-fetcher-d4873076.js → dataunit-fetcher-f89461c1.js} +46 -18
  8. package/dist/cjs/{field-search-f56aa7d6.js → field-search-68e34bf4.js} +5 -1
  9. package/dist/cjs/{form-config-fetcher-feb08214.js → form-config-fetcher-ed497282.js} +5 -2
  10. package/dist/cjs/loader.cjs.js +1 -1
  11. package/dist/cjs/{pesquisa-fetcher-a1d0353f.js → pesquisa-fetcher-ca89181c.js} +1 -1
  12. package/dist/cjs/sankhyablocks.cjs.js +1 -1
  13. package/dist/cjs/snk-actions-button_4.cjs.entry.js +5 -5
  14. package/dist/cjs/snk-application.cjs.entry.js +7 -7
  15. package/dist/cjs/snk-attach.cjs.entry.js +37 -28
  16. package/dist/cjs/snk-crud.cjs.entry.js +12 -6
  17. package/dist/cjs/snk-data-exporter.cjs.entry.js +6 -6
  18. package/dist/cjs/{snk-data-unit-c7dcfa19.js → snk-data-unit-47202e42.js} +4 -3
  19. package/dist/cjs/snk-data-unit.cjs.entry.js +4 -4
  20. package/dist/cjs/snk-detail-view.cjs.entry.js +10 -10
  21. package/dist/cjs/snk-filter-bar.cjs.entry.js +22 -18
  22. package/dist/cjs/snk-filter-binary-select.cjs.entry.js +1 -1
  23. package/dist/cjs/snk-filter-checkbox-list.cjs.entry.js +1 -1
  24. package/dist/cjs/snk-filter-modal-item.cjs.entry.js +3 -3
  25. package/dist/cjs/snk-form-config.cjs.entry.js +15 -4
  26. package/dist/cjs/snk-form.cjs.entry.js +7 -6
  27. package/dist/cjs/snk-grid.cjs.entry.js +58 -18
  28. package/dist/cjs/{snk-guides-viewer-69ec61af.js → snk-guides-viewer-68777d37.js} +23 -11
  29. package/dist/cjs/snk-guides-viewer.cjs.entry.js +9 -9
  30. package/dist/cjs/snk-personalized-filter-editor.cjs.entry.js +1 -1
  31. package/dist/cjs/snk-personalized-filter.cjs.entry.js +3 -3
  32. package/dist/cjs/snk-print-selector.cjs.entry.js +1 -1
  33. package/dist/cjs/snk-simple-bar.cjs.entry.js +1 -1
  34. package/dist/cjs/snk-simple-crud.cjs.entry.js +51 -18
  35. package/dist/collection/components/snk-attach/snk-attach.js +24 -15
  36. package/dist/collection/components/snk-attach/structure/fetcher/factory/attach-fetcher-data-unit.factory.js +2 -4
  37. package/dist/collection/components/snk-crud/snk-crud.js +59 -1
  38. package/dist/collection/components/snk-crud/subcomponents/snk-detail-view/snk-detail-view.js +1 -1
  39. package/dist/collection/components/snk-crud/subcomponents/snk-guides-viewer.js +50 -5
  40. package/dist/collection/components/snk-data-unit/snk-data-unit.js +2 -1
  41. package/dist/collection/components/snk-filter-bar/filter-item/editors/snk-filter-binary-select.js +1 -1
  42. package/dist/collection/components/snk-filter-bar/filter-item/editors/snk-filter-checkbox-list.js +1 -1
  43. package/dist/collection/components/snk-filter-bar/filter-item/editors/snk-personalized-filter-editor/snk-personalized-filter-editor.js +1 -1
  44. package/dist/collection/components/snk-filter-bar/snk-filter-bar.css +1 -1
  45. package/dist/collection/components/snk-filter-bar/snk-filter-bar.js +44 -14
  46. package/dist/collection/components/snk-form/snk-form.js +2 -2
  47. package/dist/collection/components/snk-form-config/SnkFormConfigManager.js +70 -14
  48. package/dist/collection/components/snk-form-config/snk-form-config.js +13 -2
  49. package/dist/collection/components/snk-grid/snk-grid.css +2 -0
  50. package/dist/collection/components/snk-grid/snk-grid.js +67 -7
  51. package/dist/collection/components/snk-print-selector/snk-print-selector.js +1 -1
  52. package/dist/collection/components/snk-simple-bar/snk-simple-bar.js +1 -1
  53. package/dist/collection/components/snk-simple-crud/snk-simple-crud.css +0 -1
  54. package/dist/collection/components/snk-simple-crud/snk-simple-crud.js +61 -9
  55. package/dist/collection/components/snk-taskbar/processor/taskbar-processor.js +5 -1
  56. package/dist/collection/lib/DefaultCustomFormatters/RmPrecisionCustomValueFormatter.js +1 -1
  57. package/dist/collection/lib/dataUnit/InMemoryLoader.js +2 -4
  58. package/dist/collection/lib/dataUnit/dataUnitInMemoryUtils.js +34 -9
  59. package/dist/collection/lib/http/data-fetcher/DataFetcher.js +21 -20
  60. package/dist/collection/lib/http/data-fetcher/fetchers/AttachFetcher/anexo-sistema-fetcher.js +7 -5
  61. package/dist/collection/lib/http/data-fetcher/fetchers/data-unit/loadstrategy/DatasetStrategy.js +9 -2
  62. package/dist/collection/lib/http/data-fetcher/fetchers/form-config-fetcher.js +4 -1
  63. package/dist/collection/lib/message/resources/snk-grid.msg.js +5 -1
  64. package/dist/collection/lib/utils/ContinuousInsertUtils.js +31 -0
  65. package/dist/components/{IExporterProvider.js → ContinuousInsertUtils.js} +38 -3
  66. package/dist/components/DataFetcher.js +21 -20
  67. package/dist/components/SnkFormConfigManager.js +70 -14
  68. package/dist/components/SnkMessageBuilder.js +5 -1
  69. package/dist/components/dataunit-fetcher.js +45 -15
  70. package/dist/components/form-config-fetcher.js +4 -1
  71. package/dist/components/snk-attach2.js +33 -24
  72. package/dist/components/snk-crud.js +9 -1
  73. package/dist/components/snk-data-unit2.js +3 -2
  74. package/dist/components/snk-detail-view2.js +21 -7
  75. package/dist/components/snk-filter-bar2.js +20 -15
  76. package/dist/components/snk-filter-binary-select.js +1 -1
  77. package/dist/components/snk-filter-checkbox-list.js +1 -1
  78. package/dist/components/snk-form-config2.js +13 -2
  79. package/dist/components/snk-form.js +2 -2
  80. package/dist/components/snk-grid2.js +50 -8
  81. package/dist/components/snk-personalized-filter-editor.js +1 -1
  82. package/dist/components/snk-print-selector.js +1 -1
  83. package/dist/components/snk-simple-bar2.js +1 -1
  84. package/dist/components/snk-simple-crud2.js +42 -7
  85. package/dist/esm/{ConfigStorage-e476378d.js → ConfigStorage-7b36d041.js} +2 -2
  86. package/dist/esm/{IExporterProvider-f86019db.js → ContinuousInsertUtils-1a82a768.js} +38 -6
  87. package/dist/esm/{DataFetcher-773a3e4b.js → DataFetcher-a9c598f2.js} +21 -20
  88. package/dist/esm/{SnkFormConfigManager-298cd647.js → SnkFormConfigManager-139f09fa.js} +72 -16
  89. package/dist/esm/{SnkMessageBuilder-ae87b754.js → SnkMessageBuilder-6fff4a4c.js} +5 -1
  90. package/dist/esm/{auth-fetcher-a411f73c.js → auth-fetcher-749d880f.js} +1 -1
  91. package/dist/esm/{dataunit-fetcher-3d2ec959.js → dataunit-fetcher-c24c76c6.js} +46 -16
  92. package/dist/esm/{field-search-efbe307f.js → field-search-f8b1d91e.js} +5 -1
  93. package/dist/esm/{form-config-fetcher-e0382e5a.js → form-config-fetcher-adbe5d34.js} +5 -2
  94. package/dist/esm/loader.js +1 -1
  95. package/dist/esm/{pesquisa-fetcher-a87445a0.js → pesquisa-fetcher-8edaa8cd.js} +1 -1
  96. package/dist/esm/sankhyablocks.js +1 -1
  97. package/dist/esm/snk-actions-button_4.entry.js +5 -5
  98. package/dist/esm/snk-application.entry.js +7 -7
  99. package/dist/esm/snk-attach.entry.js +37 -28
  100. package/dist/esm/snk-crud.entry.js +12 -6
  101. package/dist/esm/snk-data-exporter.entry.js +6 -6
  102. package/dist/esm/{snk-data-unit-3276e55e.js → snk-data-unit-de45e0e1.js} +4 -3
  103. package/dist/esm/snk-data-unit.entry.js +4 -4
  104. package/dist/esm/snk-detail-view.entry.js +10 -10
  105. package/dist/esm/snk-filter-bar.entry.js +22 -18
  106. package/dist/esm/snk-filter-binary-select.entry.js +1 -1
  107. package/dist/esm/snk-filter-checkbox-list.entry.js +1 -1
  108. package/dist/esm/snk-filter-modal-item.entry.js +3 -3
  109. package/dist/esm/snk-form-config.entry.js +15 -4
  110. package/dist/esm/snk-form.entry.js +7 -6
  111. package/dist/esm/snk-grid.entry.js +53 -13
  112. package/dist/esm/{snk-guides-viewer-43f21b03.js → snk-guides-viewer-b5dd30e6.js} +23 -11
  113. package/dist/esm/snk-guides-viewer.entry.js +9 -9
  114. package/dist/esm/snk-personalized-filter-editor.entry.js +1 -1
  115. package/dist/esm/snk-personalized-filter.entry.js +3 -3
  116. package/dist/esm/snk-print-selector.entry.js +1 -1
  117. package/dist/esm/snk-simple-bar.entry.js +1 -1
  118. package/dist/esm/snk-simple-crud.entry.js +47 -14
  119. package/dist/sankhyablocks/p-0035ad6e.entry.js +1 -0
  120. package/dist/sankhyablocks/{p-181975f1.js → p-06421fdb.js} +2 -2
  121. package/dist/sankhyablocks/p-0911e61a.entry.js +1 -0
  122. package/dist/sankhyablocks/p-17425c72.js +1 -0
  123. package/dist/sankhyablocks/{p-25f1fc39.js → p-1bf06cd3.js} +2 -2
  124. package/dist/sankhyablocks/{p-9dfda04a.entry.js → p-212213d9.entry.js} +1 -1
  125. package/dist/sankhyablocks/p-23736d75.js +1 -0
  126. package/dist/sankhyablocks/p-3ae9d08a.js +1 -0
  127. package/dist/sankhyablocks/p-3e3cc017.js +1 -0
  128. package/dist/sankhyablocks/{p-72fc257b.entry.js → p-434817f0.entry.js} +1 -1
  129. package/dist/sankhyablocks/{p-3287a6cc.js → p-4d9549cf.js} +1 -1
  130. package/dist/sankhyablocks/p-50779ad3.entry.js +1 -0
  131. package/dist/sankhyablocks/p-5b51491f.entry.js +1 -0
  132. package/dist/sankhyablocks/{p-aaa3ee68.entry.js → p-5f157b09.entry.js} +1 -1
  133. package/dist/sankhyablocks/p-60b29483.entry.js +1 -0
  134. package/dist/sankhyablocks/{p-92ed1d24.entry.js → p-62e048c6.entry.js} +1 -1
  135. package/dist/sankhyablocks/{p-fd8a58ff.entry.js → p-694e1c4a.entry.js} +1 -1
  136. package/dist/sankhyablocks/p-73185e58.entry.js +1 -0
  137. package/dist/sankhyablocks/p-7ac7932c.js +60 -0
  138. package/dist/sankhyablocks/p-7eef0898.entry.js +1 -0
  139. package/dist/sankhyablocks/{p-41f8bfa3.entry.js → p-8c235d4c.entry.js} +1 -1
  140. package/dist/sankhyablocks/{p-162b9a59.entry.js → p-a42e7a1e.entry.js} +2 -2
  141. package/dist/sankhyablocks/p-afbb070d.js +1 -0
  142. package/dist/sankhyablocks/p-b9679243.entry.js +1 -0
  143. package/dist/sankhyablocks/{p-6d55957a.js → p-bccfc262.js} +1 -1
  144. package/dist/sankhyablocks/p-c2e468c9.entry.js +1 -0
  145. package/dist/sankhyablocks/{p-0cd3c0a9.js → p-ca5ec380.js} +1 -1
  146. package/dist/sankhyablocks/{p-1a21b61a.entry.js → p-da34270e.entry.js} +1 -1
  147. package/dist/sankhyablocks/p-e16e87fc.entry.js +1 -0
  148. package/dist/sankhyablocks/{p-1e596b15.entry.js → p-eb9f0407.entry.js} +1 -1
  149. package/dist/sankhyablocks/{p-594bc21d.js → p-f3434fc4.js} +1 -1
  150. package/dist/sankhyablocks/{p-bd008859.entry.js → p-fb34e0cf.entry.js} +1 -1
  151. package/dist/sankhyablocks/sankhyablocks.esm.js +1 -1
  152. package/dist/types/components/snk-attach/snk-attach.d.ts +1 -0
  153. package/dist/types/components/snk-crud/snk-crud.d.ts +9 -0
  154. package/dist/types/components/snk-crud/subcomponents/snk-guides-viewer.d.ts +11 -0
  155. package/dist/types/components/snk-filter-bar/snk-filter-bar.d.ts +4 -0
  156. package/dist/types/components/snk-form-config/SnkFormConfigManager.d.ts +7 -2
  157. package/dist/types/components/snk-grid/snk-grid.d.ts +12 -0
  158. package/dist/types/components/snk-simple-crud/snk-simple-crud.d.ts +10 -0
  159. package/dist/types/components/snk-taskbar/processor/taskbar-processor.d.ts +1 -0
  160. package/dist/types/components.d.ts +57 -0
  161. package/dist/types/lib/dataUnit/dataUnitInMemoryUtils.d.ts +12 -2
  162. package/dist/types/lib/http/data-fetcher/fetchers/AttachFetcher/anexo-sistema-fetcher.d.ts +3 -2
  163. package/dist/types/lib/utils/ContinuousInsertUtils.d.ts +10 -0
  164. package/package.json +1 -1
  165. package/dist/sankhyablocks/p-091ce761.js +0 -60
  166. package/dist/sankhyablocks/p-1f35c795.js +0 -1
  167. package/dist/sankhyablocks/p-2e9c764c.entry.js +0 -1
  168. package/dist/sankhyablocks/p-42f7b05d.entry.js +0 -1
  169. package/dist/sankhyablocks/p-4e1b47a4.js +0 -1
  170. package/dist/sankhyablocks/p-53412c1d.entry.js +0 -1
  171. package/dist/sankhyablocks/p-5b26cc7c.entry.js +0 -1
  172. package/dist/sankhyablocks/p-5f016aed.js +0 -1
  173. package/dist/sankhyablocks/p-7b8f7242.entry.js +0 -1
  174. package/dist/sankhyablocks/p-7c4aabe2.js +0 -1
  175. package/dist/sankhyablocks/p-88aa931b.entry.js +0 -1
  176. package/dist/sankhyablocks/p-939e15d3.entry.js +0 -1
  177. package/dist/sankhyablocks/p-aa5b3b2c.entry.js +0 -1
  178. package/dist/sankhyablocks/p-aa6d510d.entry.js +0 -1
  179. package/dist/sankhyablocks/p-b11aa1e0.entry.js +0 -1
  180. package/dist/sankhyablocks/p-c2495304.js +0 -1
@@ -1 +1 @@
1
- import{p as e,b as t}from"./p-d2d301a6.js";export{s as setNonce}from"./p-d2d301a6.js";(()=>{const t=import.meta.url,a={};return""!==t&&(a.resourcesUrl=new URL(".",t).href),e(a)})().then((e=>t(JSON.parse('[["p-118e769b",[[1,"teste-pesquisa"]]],["p-70a4af56",[[0,"snk-filter-modal",{"getMessage":[16],"configName":[1025,"config-name"],"filters":[1040],"applyFilters":[16],"closeModal":[16],"addPersonalizedFilter":[16],"editPersonalizedFilter":[16],"deletePersonalizedFilter":[16],"filtersToDelete":[16],"disablePersonalizedFilter":[4,"disable-personalized-filter"]},[[0,"deleteFilter","deletePersonalizedFilterListener"]]]]],["p-ac8d1cd6",[[2,"snk-actions-form",{"action":[16],"applyParameters":[16],"dataUnit":[32],"openPopup":[64]}]]],["p-9531fd46",[[2,"snk-client-confirm",{"titleMessage":[1,"title-message"],"message":[1],"accept":[16],"cancel":[16],"openPopup":[64]}]]],["p-21a81901",[[6,"snk-custom-slot-elements",{"slotName":[1,"slot-name"]}]]],["p-33718dfc",[[2,"snk-entity-list",{"config":[1040],"rightListSlotBuilder":[1040],"maxHeightList":[1,"max-height-list"],"_searchValue":[32],"_ezListSource":[32],"reloadList":[64]}]]],["p-41f8bfa3",[[0,"snk-filter-binary-select",{"value":[1544],"config":[16],"presentationMode":[2,"presentation-mode"],"resetValues":[64]},[[0,"ezChange","ezChangeListener"]]]]],["p-aaa3ee68",[[0,"snk-filter-checkbox-list",{"config":[1040],"optionsList":[32]}]]],["p-d3f53df2",[[4,"snk-filter-list",{"label":[1],"iconName":[1,"icon-name"],"items":[16],"getMessage":[16],"emptyText":[1,"empty-text"],"findFilterText":[1,"find-filter-text"],"buttonClass":[1,"button-class"],"_filterArgument":[32],"_showAll":[32],"hideDetail":[64]},[[2,"keydown","keyDownHandler"]]]]],["p-bf2acf72",[[0,"snk-filter-multi-select",{"value":[1544],"config":[16],"show":[64]},[[0,"ezChange","ezChangeListener"]]]]],["p-01ba23cd",[[0,"snk-filter-number",{"config":[16],"getMessage":[16],"value":[2],"presentationMode":[2,"presentation-mode"],"show":[64]},[[0,"ezChange","ezChangeListener"]]]]],["p-7e2ded86",[[0,"snk-filter-period",{"config":[16],"getMessage":[16],"value":[8],"presentationMode":[2,"presentation-mode"],"show":[64]},[[0,"ezChange","ezChangeListener"]]]]],["p-c8622597",[[0,"snk-filter-search",{"config":[16],"value":[16],"show":[64]},[[0,"ezChange","ezChangeListener"]]]]],["p-96a89d58",[[0,"snk-filter-text",{"config":[16],"value":[1]},[[0,"ezChange","ezChangeListener"]]]]],["p-b11aa1e0",[[2,"snk-personalized-filter-editor",{"messagesBuilder":[1040],"presentationMode":[2,"presentation-mode"],"config":[16],"value":[1040],"items":[32],"show":[64]}]]],["p-72fc257b",[[2,"snk-print-selector",{"_printServerActive":[32],"_selectedPrinter":[32],"_remotePrintersDataSource":[32],"_localPrintersDataSource":[32],"_printJobData":[32],"openPrintSelector":[64]}]]],["p-9dfda04a",[[0,"snk-filter-modal-item",{"filterItem":[1040],"configName":[1025,"config-name"],"resourceID":[1,"resource-i-d"]}]]],["p-d1791da2",[[2,"snk-pesquisa",{"searchLoader":[16],"selectItem":[16],"argument":[1025],"_itemList":[32],"_startLoading":[32]}]]],["p-aa5b3b2c",[[6,"snk-simple-crud",{"dataState":[16],"dataUnit":[16],"entityName":[1,"entity-name"],"mode":[2],"gridConfig":[1040],"formConfig":[1040],"multipleSelection":[4,"multiple-selection"],"useCancelConfirm":[4,"use-cancel-confirm"],"pageSize":[2,"page-size"],"resourceID":[1,"resource-i-d"],"taskbarManager":[16],"messagesBuilder":[1040],"useEnterLikeTab":[4,"use-enter-like-tab"],"actionsList":[16],"configName":[1025,"config-name"],"showConfiguratorButtons":[4,"show-configurator-buttons"],"gridLegacyConfigName":[1,"grid-legacy-config-name"],"formLegacyConfigName":[1,"form-legacy-config-name"],"ignoreReadOnlyFormFields":[4,"ignore-read-only-form-fields"],"autoFocus":[4,"auto-focus"],"domainMessagesBuilder":[1,"domain-messages-builder"],"autoLoad":[4,"auto-load"],"_showPopUpGridConfig":[32],"_showFormConfig":[32],"_currentViewMode":[32],"_config":[32],"_fieldToGetFocus":[32],"_customContainerId":[32],"_formFields":[32],"_fieldsProps":[32],"addCustomEditor":[64],"addGridCustomRender":[64],"addCustomValueFormatter":[64],"removeCustomValueFormatter":[64],"setFieldProp":[64],"goToView":[64],"setMetadata":[64],"setRecords":[64],"getRecords":[64],"openConfigurator":[64],"closeConfigurator":[64],"updateConfig":[64]},[[0,"actionClick","actionClickListener"]]]]],["p-42f7b05d",[[2,"snk-attach",{"fetcherType":[1,"fetcher-type"],"fetcher":[16],"dataUnit":[16],"dataUnitBuilder":[16],"registerKey":[1,"register-key"],"entityName":[1,"entity-name"],"messagesBuilder":[1040],"_currentFetcher":[32],"_currentDataUnit":[32],"crudConfig":[32]}]]],["p-26b0ce3e",[[2,"snk-form-summary",{"fixed":[1540],"contracted":[1540],"summary":[16]}]]],["p-1db45d26",[[6,"snk-form-view",{"levelPath":[1,"level-path"],"label":[1],"name":[1],"fields":[16],"formMetadata":[8,"form-metadata"],"dataUnit":[16],"contracted":[4],"fixed":[1540],"summaryFields":[16],"canExpand":[4,"can-expand"],"canFix":[4,"can-fix"],"recordsValidator":[16],"fieldToFocus":[1,"field-to-focus"],"customEditors":[16],"fieldsProps":[16],"showUp":[64],"addCustomEditor":[64],"setFieldProp":[64]}]]],["p-8002dcd0",[[2,"snk-filter-field-search",{"searchable":[4],"fieldsDataSource":[16],"breadcrumbItems":[32],"linkItems":[32],"fieldItems":[32],"searchEmpty":[32],"groupEmpty":[32],"show":[64],"applyFilter":[64]}],[0,"snk-filter-param-config",{"messagesBuilder":[1040],"_opened":[32],"_configType":[32],"_expressionItem":[32],"_informedInstance":[32],"_canSave":[32],"open":[64],"close":[64]}]]],["p-9d3a025a",[[2,"snk-expression-group",{"parentTop":[1026,"parent-top"],"group":[1040],"messagesBuilder":[1040],"filterId":[1025,"filter-id"],"entityURI":[1025,"entity-u-r-i"],"_conditionOperator":[32],"_group":[32],"_selfTop":[32],"canAddExpression":[32],"_showDashes":[32],"getExpressionGroup":[64]},[[8,"ezExpressionLayoutChanged","todoCompletedHandler"]]],[2,"snk-expression-item",{"expression":[16],"canRemove":[516,"can-remove"],"messagesBuilder":[1040],"entityURI":[1025,"entity-u-r-i"],"_showValueVariable":[32],"_fieldSelected":[32],"_optionNotNull":[32]}]]],["p-bd008859",[[2,"snk-personalized-filter",{"messagesBuilder":[1040],"entityUri":[1025,"entity-uri"],"filterId":[1025,"filter-id"],"configName":[1025,"config-name"],"resourceID":[1,"resource-i-d"],"_filterAssistentMode":[32],"_filterAssistent":[32],"createPersonalizedFilter":[64]}]]],["p-e8763234",[[0,"snk-filter-item",{"config":[1040],"getMessage":[16],"showChips":[4,"show-chips"],"detailIsVisible":[32],"showUp":[64],"hideDetail":[64]},[[2,"click","clickListener"],[2,"mousedown","mouseDownListener"],[0,"filterChange","filterChangeListener"]]]]],["p-5b26cc7c",[[2,"snk-filter-bar",{"dataUnit":[1040],"title":[1],"configName":[1,"config-name"],"resourceID":[1,"resource-i-d"],"mode":[1],"filterConfig":[1040],"messagesBuilder":[1040],"disablePersonalizedFilter":[4,"disable-personalized-filter"],"filterBarLegacyConfigName":[1,"filter-bar-legacy-config-name"],"autoLoad":[4,"auto-load"],"allowDefault":[32],"scrollerLocked":[32],"showPersonalizedFilter":[32],"personalizedFilterId":[32],"reload":[64],"getFilterItem":[64],"updateFilterItem":[64],"addFilterItem":[64],"removeFilterItem":[64],"showFilterModal":[64]},[[0,"filterChange","filterChangeListener"]]]]],["p-aa6d510d",[[6,"snk-grid",{"columnFilterDataSource":[1040],"configName":[1,"config-name"],"filterBarTitle":[1,"filter-bar-title"],"resourceID":[1,"resource-i-d"],"selectionToastConfig":[16],"actionsList":[16],"isDetail":[4,"is-detail"],"taskbarManager":[16],"statusResolver":[16],"multipleSelection":[4,"multiple-selection"],"presentationMode":[1,"presentation-mode"],"messagesBuilder":[1040],"useEnterLikeTab":[4,"use-enter-like-tab"],"recordsValidator":[16],"canEdit":[4,"can-edit"],"taskbarCustomContainerId":[1,"taskbar-custom-container-id"],"gridHeaderCustomSlotId":[1,"grid-header-custom-slot-id"],"topTaskbarCustomSlotId":[1,"top-taskbar-custom-slot-id"],"disablePersonalizedFilter":[4,"disable-personalized-filter"],"gridLegacyConfigName":[1,"grid-legacy-config-name"],"filterBarLegacyConfigName":[1,"filter-bar-legacy-config-name"],"autoLoad":[4,"auto-load"],"autoFocus":[4,"auto-focus"],"_dataUnit":[32],"_dataState":[32],"_gridConfig":[32],"_popUpGridConfig":[32],"_showSnkFilterBar":[32],"showConfig":[64],"hideConfig":[64],"setConfig":[64],"reloadFilterBar":[64],"getFilterBar":[64],"findColumn":[64],"addCustomEditor":[64],"addGridCustomRender":[64],"addCustomValueFormatter":[64],"removeCustomValueFormatter":[64],"setFocus":[64]}]]],["p-7663f597",[[2,"snk-configurator",{"showActionButtons":[4,"show-action-buttons"],"configName":[1,"config-name"],"resourceID":[1,"resource-i-d"],"viewMode":[2,"view-mode"],"customContainerId":[1,"custom-container-id"],"messagesBuilder":[1040],"_opened":[32],"_permissions":[32],"open":[64],"close":[64]}]]],["p-92ed1d24",[[2,"snk-data-unit",{"dataState":[1040],"messagesBuilder":[1040],"dataUnitName":[1,"data-unit-name"],"entityName":[1,"entity-name"],"pageSize":[2,"page-size"],"dataUnit":[1040],"beforeSave":[16],"afterSave":[16],"useCancelConfirm":[4,"use-cancel-confirm"],"ignoreSaveMessage":[4,"ignore-save-message"],"configName":[1,"config-name"],"resourceID":[1,"resource-i-d"],"domainMessagesBuilder":[1,"domain-messages-builder"],"fieldsToLink":[32],"getDataUnit":[64],"getSelectedRecordsIDsInfo":[64],"getFieldsWithRmp":[64],"getFieldsWithRmPrecision":[64],"getRowMetadata":[64]}]]],["p-18ed15f4",[[6,"snk-taskbar",{"alignRigth":[4,"align-rigth"],"customSlotId":[1,"custom-slot-id"],"customContainerId":[1,"custom-container-id"],"overflowStrategy":[1,"overflow-strategy"],"configName":[1,"config-name"],"resourceID":[1,"resource-i-d"],"buttons":[1],"customButtons":[16],"actionsList":[16],"primaryButton":[1,"primary-button"],"disabledButtons":[16],"dataUnit":[16],"presentationMode":[1537,"presentation-mode"],"messagesBuilder":[1040],"_permissions":[32],"_overFlowedElements":[32],"_customElements":[32],"_customElementsId":[32],"_slotContainer":[32],"_hiddenActionsList":[32],"_lastWidth":[32],"_hasToUpdateOverFlow":[32],"_isWaitingForSave":[32]},[[8,"snkCustomSlotElementsLoaded","handleCustomSlotElementsLoaded"],[8,"taskbarSaveLocker","handleTaskbarSaveLocker"],[8,"taskbarSaveUnlocker","handleTaskbarSaveUnlocker"]]]]],["p-54a5d52a",[[0,"snk-filter-detail",{"config":[1040],"getMessage":[16],"showHardFixed":[4,"show-hard-fixed"],"show":[64]}]]],["p-3b60db06",[[2,"snk-config-options",{"fieldConfig":[16],"idConfig":[513,"id-config"],"dataUnit":[16],"messagesBuilder":[1040],"_defaultType":[32]}]]],["p-95df461f",[[2,"snk-field-config",{"isConfigActive":[16],"fieldConfig":[16],"modeInsertion":[516,"mode-insertion"],"dataUnit":[16],"messagesBuilder":[1040]}]]],["p-88aa931b",[[6,"snk-simple-bar",{"label":[1],"breadcrumbItens":[16],"messagesBuilder":[1040]}]]],["p-8eb67fa4",[[6,"snk-tab-config",{"selectedIndex":[1538,"selected-index"],"selectedTab":[1537,"selected-tab"],"tabs":[1],"tabItems":[16],"messagesBuilder":[1040],"_processedTabs":[32],"_activeEditText":[32],"_activeEditTextIndex":[32],"_actionsHide":[32],"_actionsShow":[32]}]]],["p-939e15d3",[[2,"snk-form-config",{"dataUnit":[16],"configManager":[16],"messagesBuilder":[1040],"_formConfigOptions":[32],"_fieldConfigSelected":[32],"_layoutFormConfig":[32],"_fieldsAvailable":[32],"_formConfig":[32],"_formConfigChanged":[32],"_optionFormConfigSelected":[32],"_optionFormConfigChanged":[32],"_tempGroups":[32]}]]],["p-16a1dd18",[[0,"snk-exporter-email-sender",{"getMessage":[16],"_config":[32],"_opened":[32],"_currentStep":[32],"open":[64],"close":[64]}]]],["p-53412c1d",[[6,"snk-crud",{"configName":[1025,"config-name"],"filterBarTitle":[1,"filter-bar-title"],"selectionToastConfig":[16],"showActionButtons":[4,"show-action-buttons"],"actionsList":[16],"taskbarManager":[16],"recordsValidator":[16],"statusResolver":[16],"multipleSelection":[4,"multiple-selection"],"presentationMode":[1,"presentation-mode"],"messagesBuilder":[1040],"useEnterLikeTab":[4,"use-enter-like-tab"],"gridLegacyConfigName":[1,"grid-legacy-config-name"],"filterBarLegacyConfigName":[1,"filter-bar-legacy-config-name"],"formLegacyConfigName":[1,"form-legacy-config-name"],"disablePersonalizedFilter":[4,"disable-personalized-filter"],"autoLoad":[4,"auto-load"],"autoFocus":[4,"auto-focus"],"domainMessagesBuilder":[1,"domain-messages-builder"],"_dataUnit":[32],"_dataState":[32],"attachmentRegisterKey":[32],"_currentViewMode":[32],"_canEdit":[32],"_resourceID":[32],"customContainerId":[32],"goToView":[64],"openConfigurator":[64],"closeConfigurator":[64],"reloadFilterBar":[64],"getFilterBar":[64],"addCustomEditor":[64],"addGridCustomRender":[64],"addCustomValueFormatter":[64],"removeCustomValueFormatter":[64],"setFieldProp":[64]}]]],["p-2e9c764c",[[2,"snk-form",{"configName":[1,"config-name"],"recordsValidator":[16],"messagesBuilder":[1040],"formLegacyConfigName":[1,"form-legacy-config-name"],"resourceID":[1,"resource-i-d"],"_dataUnit":[32],"_dataState":[32],"_showFormConfig":[32],"_configManager":[32],"showConfig":[64],"hideConfig":[64],"addCustomEditor":[64],"setFieldProp":[64]}]]],["p-1a21b61a",[[2,"snk-data-exporter",{"provider":[16],"messagesBuilder":[1040],"_items":[32],"_showDropdown":[32]}]]],["p-7b8f7242",[[6,"snk-guides-viewer",{"dataUnit":[16],"dataState":[16],"configName":[1,"config-name"],"entityPath":[1,"entity-path"],"actionsList":[16],"recordsValidator":[16],"masterFormConfig":[1040],"selectedGuide":[16],"taskbarManager":[16],"messagesBuilder":[1040],"canEdit":[4,"can-edit"],"presentationMode":[1,"presentation-mode"],"resourceID":[1,"resource-i-d"],"detailTaskbarCustomContainerId":[1,"detail-taskbar-custom-container-id"],"formLegacyConfigName":[1,"form-legacy-config-name"],"_hasToCreateFieldSearch":[32],"_breadcrumbItems":[32],"_guides":[32],"_formEditorConfigManager":[32],"_formEditorDataUnit":[32],"_fieldToGetFocus":[32],"_customEditors":[32],"_customRenders":[32],"_fieldsProps":[32],"showFormConfig":[64],"findField":[64],"addCustomEditor":[64],"addGridCustomRender":[64],"setFieldProp":[64],"setFocus":[64]},[[2,"actionClick","onActionClick"],[0,"snkContentCardChanged","onContentCardChanged"]]]]],["p-162b9a59",[[2,"snk-application",{"messagesBuilder":[1040],"configName":[1,"config-name"],"gridLegacyConfigName":[1,"grid-legacy-config-name"],"formLegacyConfigName":[1,"form-legacy-config-name"],"loadByPK":[16],"getKeyboardManager":[64],"isUserSup":[64],"addPendingAction":[64],"callServiceBroker":[64],"initOnboarding":[64],"hasAccess":[64],"getAllAccess":[64],"getStringParam":[64],"getIntParam":[64],"getFloatParam":[64],"getBooleanParam":[64],"getDateParam":[64],"showPopUp":[64],"showModal":[64],"showAlerts":[64],"closeModal":[64],"closePopUp":[64],"temOpcional":[64],"getConfig":[64],"saveConfig":[64],"getAttributeFromHTMLWrapper":[64],"openApp":[64],"webConnection":[64],"createDataunit":[64],"updateDataunitCache":[64],"getDataUnit":[64],"addClientEvent":[64],"removeClientEvent":[64],"hasClientEvent":[64],"getResourceID":[64],"getUserID":[64],"alert":[64],"error":[64],"success":[64],"message":[64],"confirm":[64],"info":[64],"loadTotals":[64],"isLoadedByPk":[64],"executeSearch":[64],"executePreparedSearch":[64],"isDebugMode":[64],"getAppLabel":[64],"addSearchListener":[64],"importScript":[64],"getApplicationPath":[64],"executeSelectDistinct":[64],"getDataFetcher":[64],"whenApplicationReady":[64],"setSearchFilterContext":[64]}]]],["p-3ab6df3d",[[2,"snk-filter-assistent-mode",{"filterAssistent":[1040],"messagesBuilder":[1040],"filterId":[1025,"filter-id"],"entityUri":[1025,"entity-uri"],"application":[1040]}],[2,"snk-filter-advanced-mode",{"filterAssistent":[1040],"application":[1040]}]]],["p-1e596b15",[[2,"snk-grid-config",{"selectedIndex":[1026,"selected-index"],"columns":[1040],"config":[1040],"configName":[1,"config-name"],"resourceID":[1,"resource-i-d"]}],[2,"snk-actions-button",{"_items":[32],"_showDropdown":[32],"_actions":[32],"_isOrderActions":[32]}],[1,"snk-select-box",{"selectedOption":[1,"selected-option"]}],[2,"taskbar-actions-button",{"title":[1],"enabled":[4],"actions":[16],"_showDropdown":[32],"showActions":[64],"hideActions":[64],"isOpened":[64]},[[8,"keydown","handleKeyDown"],[8,"ezOpenModal","handleClose"]]]]],["p-fd8a58ff",[[6,"snk-detail-view",{"formConfigManager":[1040],"dataUnitName":[1,"data-unit-name"],"resourceID":[1,"resource-i-d"],"guideItemPath":[16],"entityName":[1,"entity-name"],"label":[1],"dataUnit":[1040],"selectedForm":[1025,"selected-form"],"dataState":[1040],"messagesBuilder":[1040],"branchGuide":[1040],"canEdit":[4,"can-edit"],"taskbarCustomContainerId":[1,"taskbar-custom-container-id"],"customEditors":[16],"customRenders":[16],"_disabledButtons":[32],"_currentView":[32],"attachmentRegisterKey":[32],"changeViewMode":[64],"configGrid":[64],"showUp":[64],"addCustomEditor":[64],"addGridCustomRender":[64]},[[0,"snkContentCardChanged","onContentCardChanged"]]]]]]'),e)));
1
+ import{p as e,b as t}from"./p-d2d301a6.js";export{s as setNonce}from"./p-d2d301a6.js";(()=>{const t=import.meta.url,a={};return""!==t&&(a.resourcesUrl=new URL(".",t).href),e(a)})().then((e=>t(JSON.parse('[["p-118e769b",[[1,"teste-pesquisa"]]],["p-70a4af56",[[0,"snk-filter-modal",{"getMessage":[16],"configName":[1025,"config-name"],"filters":[1040],"applyFilters":[16],"closeModal":[16],"addPersonalizedFilter":[16],"editPersonalizedFilter":[16],"deletePersonalizedFilter":[16],"filtersToDelete":[16],"disablePersonalizedFilter":[4,"disable-personalized-filter"]},[[0,"deleteFilter","deletePersonalizedFilterListener"]]]]],["p-ac8d1cd6",[[2,"snk-actions-form",{"action":[16],"applyParameters":[16],"dataUnit":[32],"openPopup":[64]}]]],["p-9531fd46",[[2,"snk-client-confirm",{"titleMessage":[1,"title-message"],"message":[1],"accept":[16],"cancel":[16],"openPopup":[64]}]]],["p-21a81901",[[6,"snk-custom-slot-elements",{"slotName":[1,"slot-name"]}]]],["p-33718dfc",[[2,"snk-entity-list",{"config":[1040],"rightListSlotBuilder":[1040],"maxHeightList":[1,"max-height-list"],"_searchValue":[32],"_ezListSource":[32],"reloadList":[64]}]]],["p-8c235d4c",[[0,"snk-filter-binary-select",{"value":[1544],"config":[16],"presentationMode":[2,"presentation-mode"],"resetValues":[64]},[[0,"ezChange","ezChangeListener"]]]]],["p-5f157b09",[[0,"snk-filter-checkbox-list",{"config":[1040],"optionsList":[32]}]]],["p-d3f53df2",[[4,"snk-filter-list",{"label":[1],"iconName":[1,"icon-name"],"items":[16],"getMessage":[16],"emptyText":[1,"empty-text"],"findFilterText":[1,"find-filter-text"],"buttonClass":[1,"button-class"],"_filterArgument":[32],"_showAll":[32],"hideDetail":[64]},[[2,"keydown","keyDownHandler"]]]]],["p-bf2acf72",[[0,"snk-filter-multi-select",{"value":[1544],"config":[16],"show":[64]},[[0,"ezChange","ezChangeListener"]]]]],["p-01ba23cd",[[0,"snk-filter-number",{"config":[16],"getMessage":[16],"value":[2],"presentationMode":[2,"presentation-mode"],"show":[64]},[[0,"ezChange","ezChangeListener"]]]]],["p-7e2ded86",[[0,"snk-filter-period",{"config":[16],"getMessage":[16],"value":[8],"presentationMode":[2,"presentation-mode"],"show":[64]},[[0,"ezChange","ezChangeListener"]]]]],["p-c8622597",[[0,"snk-filter-search",{"config":[16],"value":[16],"show":[64]},[[0,"ezChange","ezChangeListener"]]]]],["p-96a89d58",[[0,"snk-filter-text",{"config":[16],"value":[1]},[[0,"ezChange","ezChangeListener"]]]]],["p-5b51491f",[[2,"snk-personalized-filter-editor",{"messagesBuilder":[1040],"presentationMode":[2,"presentation-mode"],"config":[16],"value":[1040],"items":[32],"show":[64]}]]],["p-434817f0",[[2,"snk-print-selector",{"_printServerActive":[32],"_selectedPrinter":[32],"_remotePrintersDataSource":[32],"_localPrintersDataSource":[32],"_printJobData":[32],"openPrintSelector":[64]}]]],["p-212213d9",[[0,"snk-filter-modal-item",{"filterItem":[1040],"configName":[1025,"config-name"],"resourceID":[1,"resource-i-d"]}]]],["p-d1791da2",[[2,"snk-pesquisa",{"searchLoader":[16],"selectItem":[16],"argument":[1025],"_itemList":[32],"_startLoading":[32]}]]],["p-0911e61a",[[6,"snk-simple-crud",{"dataState":[16],"dataUnit":[16],"entityName":[1,"entity-name"],"mode":[2],"gridConfig":[1040],"formConfig":[1040],"multipleSelection":[4,"multiple-selection"],"useCancelConfirm":[4,"use-cancel-confirm"],"pageSize":[2,"page-size"],"resourceID":[1,"resource-i-d"],"enableGridInsert":[4,"enable-grid-insert"],"taskbarManager":[16],"messagesBuilder":[1040],"useEnterLikeTab":[4,"use-enter-like-tab"],"actionsList":[16],"configName":[1025,"config-name"],"showConfiguratorButtons":[4,"show-configurator-buttons"],"gridLegacyConfigName":[1,"grid-legacy-config-name"],"formLegacyConfigName":[1,"form-legacy-config-name"],"ignoreReadOnlyFormFields":[4,"ignore-read-only-form-fields"],"autoFocus":[4,"auto-focus"],"domainMessagesBuilder":[1,"domain-messages-builder"],"autoLoad":[4,"auto-load"],"_showPopUpGridConfig":[32],"_showFormConfig":[32],"_currentViewMode":[32],"_config":[32],"_fieldToGetFocus":[32],"_customContainerId":[32],"_formFields":[32],"_fieldsProps":[32],"_enableContinuousInsert":[32],"addCustomEditor":[64],"addGridCustomRender":[64],"addCustomValueFormatter":[64],"removeCustomValueFormatter":[64],"setFieldProp":[64],"goToView":[64],"setMetadata":[64],"setRecords":[64],"getRecords":[64],"openConfigurator":[64],"closeConfigurator":[64],"updateConfig":[64]},[[0,"actionClick","actionClickListener"]]]]],["p-e16e87fc",[[2,"snk-attach",{"fetcherType":[1,"fetcher-type"],"fetcher":[16],"dataUnit":[16],"dataUnitBuilder":[16],"registerKey":[1,"register-key"],"entityName":[1,"entity-name"],"messagesBuilder":[1040],"_currentFetcher":[32],"_currentDataUnit":[32],"crudConfig":[32]}]]],["p-26b0ce3e",[[2,"snk-form-summary",{"fixed":[1540],"contracted":[1540],"summary":[16]}]]],["p-1db45d26",[[6,"snk-form-view",{"levelPath":[1,"level-path"],"label":[1],"name":[1],"fields":[16],"formMetadata":[8,"form-metadata"],"dataUnit":[16],"contracted":[4],"fixed":[1540],"summaryFields":[16],"canExpand":[4,"can-expand"],"canFix":[4,"can-fix"],"recordsValidator":[16],"fieldToFocus":[1,"field-to-focus"],"customEditors":[16],"fieldsProps":[16],"showUp":[64],"addCustomEditor":[64],"setFieldProp":[64]}]]],["p-8002dcd0",[[2,"snk-filter-field-search",{"searchable":[4],"fieldsDataSource":[16],"breadcrumbItems":[32],"linkItems":[32],"fieldItems":[32],"searchEmpty":[32],"groupEmpty":[32],"show":[64],"applyFilter":[64]}],[0,"snk-filter-param-config",{"messagesBuilder":[1040],"_opened":[32],"_configType":[32],"_expressionItem":[32],"_informedInstance":[32],"_canSave":[32],"open":[64],"close":[64]}]]],["p-9d3a025a",[[2,"snk-expression-group",{"parentTop":[1026,"parent-top"],"group":[1040],"messagesBuilder":[1040],"filterId":[1025,"filter-id"],"entityURI":[1025,"entity-u-r-i"],"_conditionOperator":[32],"_group":[32],"_selfTop":[32],"canAddExpression":[32],"_showDashes":[32],"getExpressionGroup":[64]},[[8,"ezExpressionLayoutChanged","todoCompletedHandler"]]],[2,"snk-expression-item",{"expression":[16],"canRemove":[516,"can-remove"],"messagesBuilder":[1040],"entityURI":[1025,"entity-u-r-i"],"_showValueVariable":[32],"_fieldSelected":[32],"_optionNotNull":[32]}]]],["p-fb34e0cf",[[2,"snk-personalized-filter",{"messagesBuilder":[1040],"entityUri":[1025,"entity-uri"],"filterId":[1025,"filter-id"],"configName":[1025,"config-name"],"resourceID":[1,"resource-i-d"],"_filterAssistentMode":[32],"_filterAssistent":[32],"createPersonalizedFilter":[64]}]]],["p-e8763234",[[0,"snk-filter-item",{"config":[1040],"getMessage":[16],"showChips":[4,"show-chips"],"detailIsVisible":[32],"showUp":[64],"hideDetail":[64]},[[2,"click","clickListener"],[2,"mousedown","mouseDownListener"],[0,"filterChange","filterChangeListener"]]]]],["p-b9679243",[[2,"snk-filter-bar",{"customFilterBarConfig":[16],"dataUnit":[1040],"title":[1],"configName":[1,"config-name"],"resourceID":[1,"resource-i-d"],"mode":[1],"filterConfig":[1040],"messagesBuilder":[1040],"disablePersonalizedFilter":[4,"disable-personalized-filter"],"filterBarLegacyConfigName":[1,"filter-bar-legacy-config-name"],"autoLoad":[4,"auto-load"],"allowDefault":[32],"scrollerLocked":[32],"showPersonalizedFilter":[32],"personalizedFilterId":[32],"reload":[64],"getFilterItem":[64],"updateFilterItem":[64],"addFilterItem":[64],"removeFilterItem":[64],"showFilterModal":[64]},[[0,"filterChange","filterChangeListener"]]]]],["p-0035ad6e",[[6,"snk-grid",{"columnFilterDataSource":[1040],"configName":[1,"config-name"],"filterBarTitle":[1,"filter-bar-title"],"resourceID":[1,"resource-i-d"],"selectionToastConfig":[16],"actionsList":[16],"isDetail":[4,"is-detail"],"taskbarManager":[16],"statusResolver":[16],"multipleSelection":[4,"multiple-selection"],"presentationMode":[1,"presentation-mode"],"messagesBuilder":[1040],"useEnterLikeTab":[4,"use-enter-like-tab"],"recordsValidator":[16],"canEdit":[4,"can-edit"],"taskbarCustomContainerId":[1,"taskbar-custom-container-id"],"gridHeaderCustomSlotId":[1,"grid-header-custom-slot-id"],"topTaskbarCustomSlotId":[1,"top-taskbar-custom-slot-id"],"disablePersonalizedFilter":[4,"disable-personalized-filter"],"gridLegacyConfigName":[1,"grid-legacy-config-name"],"filterBarLegacyConfigName":[1,"filter-bar-legacy-config-name"],"autoLoad":[4,"auto-load"],"autoFocus":[4,"auto-focus"],"enableGridInsert":[4,"enable-grid-insert"],"_dataUnit":[32],"_dataState":[32],"_gridConfig":[32],"_popUpGridConfig":[32],"_showSnkFilterBar":[32],"_enableContinuousInsert":[32],"showConfig":[64],"hideConfig":[64],"setConfig":[64],"reloadFilterBar":[64],"getFilterBar":[64],"findColumn":[64],"addCustomEditor":[64],"addGridCustomRender":[64],"addCustomValueFormatter":[64],"removeCustomValueFormatter":[64],"setFocus":[64]}]]],["p-7663f597",[[2,"snk-configurator",{"showActionButtons":[4,"show-action-buttons"],"configName":[1,"config-name"],"resourceID":[1,"resource-i-d"],"viewMode":[2,"view-mode"],"customContainerId":[1,"custom-container-id"],"messagesBuilder":[1040],"_opened":[32],"_permissions":[32],"open":[64],"close":[64]}]]],["p-62e048c6",[[2,"snk-data-unit",{"dataState":[1040],"messagesBuilder":[1040],"dataUnitName":[1,"data-unit-name"],"entityName":[1,"entity-name"],"pageSize":[2,"page-size"],"dataUnit":[1040],"beforeSave":[16],"afterSave":[16],"useCancelConfirm":[4,"use-cancel-confirm"],"ignoreSaveMessage":[4,"ignore-save-message"],"configName":[1,"config-name"],"resourceID":[1,"resource-i-d"],"domainMessagesBuilder":[1,"domain-messages-builder"],"fieldsToLink":[32],"getDataUnit":[64],"getSelectedRecordsIDsInfo":[64],"getFieldsWithRmp":[64],"getFieldsWithRmPrecision":[64],"getRowMetadata":[64]}]]],["p-18ed15f4",[[6,"snk-taskbar",{"alignRigth":[4,"align-rigth"],"customSlotId":[1,"custom-slot-id"],"customContainerId":[1,"custom-container-id"],"overflowStrategy":[1,"overflow-strategy"],"configName":[1,"config-name"],"resourceID":[1,"resource-i-d"],"buttons":[1],"customButtons":[16],"actionsList":[16],"primaryButton":[1,"primary-button"],"disabledButtons":[16],"dataUnit":[16],"presentationMode":[1537,"presentation-mode"],"messagesBuilder":[1040],"_permissions":[32],"_overFlowedElements":[32],"_customElements":[32],"_customElementsId":[32],"_slotContainer":[32],"_hiddenActionsList":[32],"_lastWidth":[32],"_hasToUpdateOverFlow":[32],"_isWaitingForSave":[32]},[[8,"snkCustomSlotElementsLoaded","handleCustomSlotElementsLoaded"],[8,"taskbarSaveLocker","handleTaskbarSaveLocker"],[8,"taskbarSaveUnlocker","handleTaskbarSaveUnlocker"]]]]],["p-54a5d52a",[[0,"snk-filter-detail",{"config":[1040],"getMessage":[16],"showHardFixed":[4,"show-hard-fixed"],"show":[64]}]]],["p-3b60db06",[[2,"snk-config-options",{"fieldConfig":[16],"idConfig":[513,"id-config"],"dataUnit":[16],"messagesBuilder":[1040],"_defaultType":[32]}]]],["p-95df461f",[[2,"snk-field-config",{"isConfigActive":[16],"fieldConfig":[16],"modeInsertion":[516,"mode-insertion"],"dataUnit":[16],"messagesBuilder":[1040]}]]],["p-c2e468c9",[[6,"snk-simple-bar",{"label":[1],"breadcrumbItens":[16],"messagesBuilder":[1040]}]]],["p-8eb67fa4",[[6,"snk-tab-config",{"selectedIndex":[1538,"selected-index"],"selectedTab":[1537,"selected-tab"],"tabs":[1],"tabItems":[16],"messagesBuilder":[1040],"_processedTabs":[32],"_activeEditText":[32],"_activeEditTextIndex":[32],"_actionsHide":[32],"_actionsShow":[32]}]]],["p-73185e58",[[2,"snk-form-config",{"dataUnit":[16],"configManager":[16],"messagesBuilder":[1040],"_formConfigOptions":[32],"_fieldConfigSelected":[32],"_layoutFormConfig":[32],"_fieldsAvailable":[32],"_formConfig":[32],"_formConfigChanged":[32],"_optionFormConfigSelected":[32],"_optionFormConfigChanged":[32],"_tempGroups":[32]}]]],["p-16a1dd18",[[0,"snk-exporter-email-sender",{"getMessage":[16],"_config":[32],"_opened":[32],"_currentStep":[32],"open":[64],"close":[64]}]]],["p-50779ad3",[[6,"snk-crud",{"configName":[1025,"config-name"],"filterBarTitle":[1,"filter-bar-title"],"selectionToastConfig":[16],"showActionButtons":[4,"show-action-buttons"],"actionsList":[16],"taskbarManager":[16],"recordsValidator":[16],"statusResolver":[16],"multipleSelection":[4,"multiple-selection"],"presentationMode":[1,"presentation-mode"],"messagesBuilder":[1040],"useEnterLikeTab":[4,"use-enter-like-tab"],"gridLegacyConfigName":[1,"grid-legacy-config-name"],"filterBarLegacyConfigName":[1,"filter-bar-legacy-config-name"],"formLegacyConfigName":[1,"form-legacy-config-name"],"disablePersonalizedFilter":[4,"disable-personalized-filter"],"autoLoad":[4,"auto-load"],"autoFocus":[4,"auto-focus"],"enableGridInsert":[4,"enable-grid-insert"],"domainMessagesBuilder":[1,"domain-messages-builder"],"setCustomFormTitle":[16],"_dataUnit":[32],"_dataState":[32],"attachmentRegisterKey":[32],"_currentViewMode":[32],"_canEdit":[32],"_resourceID":[32],"customContainerId":[32],"goToView":[64],"openConfigurator":[64],"closeConfigurator":[64],"reloadFilterBar":[64],"getFilterBar":[64],"addCustomEditor":[64],"addGridCustomRender":[64],"addCustomValueFormatter":[64],"removeCustomValueFormatter":[64],"setFieldProp":[64]}]]],["p-60b29483",[[2,"snk-form",{"configName":[1,"config-name"],"recordsValidator":[16],"messagesBuilder":[1040],"formLegacyConfigName":[1,"form-legacy-config-name"],"resourceID":[1,"resource-i-d"],"_dataUnit":[32],"_dataState":[32],"_showFormConfig":[32],"_configManager":[32],"showConfig":[64],"hideConfig":[64],"addCustomEditor":[64],"setFieldProp":[64]}]]],["p-da34270e",[[2,"snk-data-exporter",{"provider":[16],"messagesBuilder":[1040],"_items":[32],"_showDropdown":[32]}]]],["p-7eef0898",[[6,"snk-guides-viewer",{"dataUnit":[16],"dataState":[16],"configName":[1,"config-name"],"entityPath":[1,"entity-path"],"actionsList":[16],"recordsValidator":[16],"masterFormConfig":[1040],"selectedGuide":[16],"taskbarManager":[16],"messagesBuilder":[1040],"canEdit":[4,"can-edit"],"presentationMode":[1,"presentation-mode"],"resourceID":[1,"resource-i-d"],"detailTaskbarCustomContainerId":[1,"detail-taskbar-custom-container-id"],"formLegacyConfigName":[1,"form-legacy-config-name"],"enableGridInsert":[4,"enable-grid-insert"],"getCustomTitle":[16],"_hasToCreateFieldSearch":[32],"_breadcrumbItems":[32],"_guides":[32],"_formEditorConfigManager":[32],"_formEditorDataUnit":[32],"_fieldToGetFocus":[32],"_customEditors":[32],"_customRenders":[32],"_fieldsProps":[32],"showFormConfig":[64],"findField":[64],"addCustomEditor":[64],"addGridCustomRender":[64],"setFieldProp":[64],"setFocus":[64]},[[2,"actionClick","onActionClick"],[0,"snkContentCardChanged","onContentCardChanged"]]]]],["p-a42e7a1e",[[2,"snk-application",{"messagesBuilder":[1040],"configName":[1,"config-name"],"gridLegacyConfigName":[1,"grid-legacy-config-name"],"formLegacyConfigName":[1,"form-legacy-config-name"],"loadByPK":[16],"getKeyboardManager":[64],"isUserSup":[64],"addPendingAction":[64],"callServiceBroker":[64],"initOnboarding":[64],"hasAccess":[64],"getAllAccess":[64],"getStringParam":[64],"getIntParam":[64],"getFloatParam":[64],"getBooleanParam":[64],"getDateParam":[64],"showPopUp":[64],"showModal":[64],"showAlerts":[64],"closeModal":[64],"closePopUp":[64],"temOpcional":[64],"getConfig":[64],"saveConfig":[64],"getAttributeFromHTMLWrapper":[64],"openApp":[64],"webConnection":[64],"createDataunit":[64],"updateDataunitCache":[64],"getDataUnit":[64],"addClientEvent":[64],"removeClientEvent":[64],"hasClientEvent":[64],"getResourceID":[64],"getUserID":[64],"alert":[64],"error":[64],"success":[64],"message":[64],"confirm":[64],"info":[64],"loadTotals":[64],"isLoadedByPk":[64],"executeSearch":[64],"executePreparedSearch":[64],"isDebugMode":[64],"getAppLabel":[64],"addSearchListener":[64],"importScript":[64],"getApplicationPath":[64],"executeSelectDistinct":[64],"getDataFetcher":[64],"whenApplicationReady":[64],"setSearchFilterContext":[64]}]]],["p-3ab6df3d",[[2,"snk-filter-assistent-mode",{"filterAssistent":[1040],"messagesBuilder":[1040],"filterId":[1025,"filter-id"],"entityUri":[1025,"entity-uri"],"application":[1040]}],[2,"snk-filter-advanced-mode",{"filterAssistent":[1040],"application":[1040]}]]],["p-eb9f0407",[[2,"snk-grid-config",{"selectedIndex":[1026,"selected-index"],"columns":[1040],"config":[1040],"configName":[1,"config-name"],"resourceID":[1,"resource-i-d"]}],[2,"snk-actions-button",{"_items":[32],"_showDropdown":[32],"_actions":[32],"_isOrderActions":[32]}],[1,"snk-select-box",{"selectedOption":[1,"selected-option"]}],[2,"taskbar-actions-button",{"title":[1],"enabled":[4],"actions":[16],"_showDropdown":[32],"showActions":[64],"hideActions":[64],"isOpened":[64]},[[8,"keydown","handleKeyDown"],[8,"ezOpenModal","handleClose"]]]]],["p-694e1c4a",[[6,"snk-detail-view",{"formConfigManager":[1040],"dataUnitName":[1,"data-unit-name"],"resourceID":[1,"resource-i-d"],"guideItemPath":[16],"entityName":[1,"entity-name"],"label":[1],"dataUnit":[1040],"selectedForm":[1025,"selected-form"],"dataState":[1040],"messagesBuilder":[1040],"branchGuide":[1040],"canEdit":[4,"can-edit"],"taskbarCustomContainerId":[1,"taskbar-custom-container-id"],"customEditors":[16],"customRenders":[16],"_disabledButtons":[32],"_currentView":[32],"attachmentRegisterKey":[32],"changeViewMode":[64],"configGrid":[64],"showUp":[64],"addCustomEditor":[64],"addGridCustomRender":[64]},[[0,"snkContentCardChanged","onContentCardChanged"]]]]]]'),e)));
@@ -45,6 +45,7 @@ export declare class SnkAttach {
45
45
  */
46
46
  back: EventEmitter<void>;
47
47
  registerKeyWatcher(newRegisterKey: string, oldRegisterKey: string): Promise<void>;
48
+ private getAnexoSistemaFetcherInstance;
48
49
  private initAttach;
49
50
  /**
50
51
  * Conforme mecanismo de mensagens, é possível customizar as mensagens dos blocos de construção
@@ -104,10 +104,18 @@ export declare class SnkCrud {
104
104
  * Define se a grid será focada ao ser carregada.
105
105
  */
106
106
  autoFocus?: boolean;
107
+ /**
108
+ * Ativa inserção de registros no modo grade.
109
+ */
110
+ enableGridInsert?: boolean;
107
111
  /**
108
112
  * Define a chave customizada para sobrescrever as mensagens (Não pegando pela entidade)
109
113
  */
110
114
  domainMessagesBuilder: string;
115
+ /**
116
+ * Define uma função para configurar um título cusotmizado no modo formulário.
117
+ */
118
+ setCustomFormTitle: () => string;
111
119
  customContainerId: string;
112
120
  /**
113
121
  * Emitido pela taskbar sempre que houver click de botão ou ação.
@@ -125,6 +133,7 @@ export declare class SnkCrud {
125
133
  * Responsável por notificar quando ocorrer a renderização de itens do formulário.
126
134
  */
127
135
  formItemsReady: EventEmitter<Array<HTMLElement>>;
136
+ viewModeChanged: EventEmitter<VIEW_MODE>;
128
137
  /**
129
138
  * Usado para alternar a visão entre GRID e FORM externamente.
130
139
  */
@@ -85,6 +85,14 @@ export declare class SnkGuidesViewer {
85
85
  * Chave da configuração legado do formulário.
86
86
  */
87
87
  formLegacyConfigName: string;
88
+ /**
89
+ * Ativa inserção de registros no modo grade.
90
+ */
91
+ enableGridInsert?: boolean;
92
+ /**
93
+ * Fornece uma função para obter um título customizado do formulário.
94
+ */
95
+ getCustomTitle: () => string;
88
96
  _hasToCreateFieldSearch: boolean;
89
97
  _breadcrumbItems: Array<IBreadcrumbItem>;
90
98
  _guides: Array<IGuideItem>;
@@ -154,6 +162,7 @@ export declare class SnkGuidesViewer {
154
162
  private updateGuide;
155
163
  private getTaskBarId;
156
164
  private loadTaskbarProcessor;
165
+ private handleAddGridMode;
157
166
  private getInvisibleButtons;
158
167
  static updateContentCard(formName: string, cardConfig: IFormCardConfig, propertyChanged: string, configManager: SnkFormConfigManager): Promise<Map<string, IFormCardConfig>>;
159
168
  static buildFixedForms(params: BuildFixedFormParams): Array<VNode>;
@@ -174,6 +183,7 @@ export declare class SnkGuidesViewer {
174
183
  private openConfig;
175
184
  private noGuideSelected;
176
185
  private addFormLegacyConfigName;
186
+ private setMasterFormConfig;
177
187
  componentWillLoad(): void;
178
188
  componentDidRender(): void;
179
189
  private getFieldsSearch;
@@ -186,6 +196,7 @@ export declare class SnkGuidesViewer {
186
196
  private openGuideNavigator;
187
197
  private getBadge;
188
198
  private getGuideName;
199
+ private getTitle;
189
200
  componentDidLoad(): void;
190
201
  render(): any;
191
202
  }
@@ -20,6 +20,10 @@ export declare class SnkFilterBar implements FilterProvider {
20
20
  _calculateSortIndex: (item: SnkFilterItemConfig) => number;
21
21
  private hasValidValue;
22
22
  _filtersComparator: (a: SnkFilterItemConfig, b: SnkFilterItemConfig) => number;
23
+ /**
24
+ * Loader customizado para carregar as configurações
25
+ */
26
+ customFilterBarConfig?: (configName: string, resourceId: string, options: any) => Promise<Array<SnkFilterItemConfig>>;
23
27
  /**
24
28
  * Recebe o DataUnit do ambiente. Se não for informado, procura pela referência
25
29
  * do SnkDataUnit. Necessário para se registrar como provedor de filtros.
@@ -8,13 +8,16 @@ export declare class SnkFormConfigManager {
8
8
  private _configName;
9
9
  private _formConfigFetcher;
10
10
  private _resourceID;
11
- constructor(configName: string, resourceID: string, onConfigChange?: (config: IFormConfig) => void);
11
+ private _dataUnit;
12
+ constructor(configName: string, resourceID: string, onConfigChange?: (config: IFormConfig) => void, dataUnit?: DataUnit);
12
13
  addFormLegacyConfig(legacyConfigName: string): void;
13
14
  loadConfig(): Promise<IFormConfig>;
15
+ getEmptyConfig(): IFormConfig;
14
16
  saveConfig(config: IFormConfig): Promise<IFormConfig>;
15
17
  saveCardState(cardId: string, cardConfig: IFormCardConfig, propertyChanged: string): Promise<Map<string, IFormCardConfig>>;
16
18
  private updateFixSequence;
17
- getFieldsList(dataUnit: DataUnit, descriptionFilter?: string): Array<{
19
+ private hasConfig;
20
+ getFieldsList(descriptionFilter?: string, forceEmptyConfig?: boolean): Array<{
18
21
  label: string;
19
22
  name: string;
20
23
  readOnly?: boolean;
@@ -27,4 +30,6 @@ export declare class SnkFormConfigManager {
27
30
  fetchUserAvailableConfigs(): Promise<Array<IUserConfig>>;
28
31
  fetchLegacyConfig(): Promise<IFormConfig>;
29
32
  fetchDefaultConfig(): Promise<IFormConfig>;
33
+ private parseObjectList;
34
+ private buildFormMetadataUITabs;
30
35
  }
@@ -32,12 +32,14 @@ export declare class SnkGrid {
32
32
  _rmPrecisionCustomValueFormatter: RmPrecisionCustomValueFormatter;
33
33
  _topTaskbarProcessor: TaskbarProcessor;
34
34
  _headerTaskbarProcessor: TaskbarProcessor;
35
+ private _continuousInsertUtils;
35
36
  _element: HTMLElement;
36
37
  _dataUnit: DataUnit;
37
38
  _dataState: DataState;
38
39
  _gridConfig: IGridConfig;
39
40
  _popUpGridConfig: boolean;
40
41
  _showSnkFilterBar: boolean;
42
+ _enableContinuousInsert: boolean;
41
43
  _application: SnkApplication;
42
44
  columnFilterDataSource: IMultiSelectionListDataSource;
43
45
  /**
@@ -131,6 +133,10 @@ export declare class SnkGrid {
131
133
  * Define se a grid será focada ao ser carregada.
132
134
  */
133
135
  autoFocus?: boolean;
136
+ /**
137
+ * Ativa inserção de registros no modo grade.
138
+ */
139
+ enableGridInsert?: boolean;
134
140
  /**
135
141
  * Emitido sempre que houver click de botão ou ação.
136
142
  */
@@ -183,7 +189,10 @@ export declare class SnkGrid {
183
189
  * Atribui o foco para a grade.
184
190
  */
185
191
  setFocus(): Promise<void>;
192
+ handleClick(event: MouseEvent): Promise<void>;
193
+ private hasToBlockEvent;
186
194
  handleGridLegacyConfigName(newLegacyConfig: string, oldLegacyConfig: string): Promise<void>;
195
+ private handleAddFormMode;
187
196
  private openGridConfig;
188
197
  private closeGridConfig;
189
198
  private setGridConfig;
@@ -210,6 +219,9 @@ export declare class SnkGrid {
210
219
  private getPrimaryButton;
211
220
  private getColumnSearch;
212
221
  private getActionsList;
222
+ private handleEnableContinuousInsert;
213
223
  private handleFilterConfigUpdated;
224
+ private getGridHeaderButtons;
225
+ private isGridInsertActive;
214
226
  render(): any;
215
227
  }
@@ -35,6 +35,7 @@ export declare class SnkSimpleCrud {
35
35
  private _form;
36
36
  private _rmPrecisionCustomValueFormatter;
37
37
  private _snkDataUnit;
38
+ private _continuousInsertUtils;
38
39
  private _element;
39
40
  _showPopUpGridConfig: boolean;
40
41
  _showFormConfig: boolean;
@@ -53,6 +54,7 @@ export declare class SnkSimpleCrud {
53
54
  formConfig: IFormConfig;
54
55
  _formFields: IFieldConfig[];
55
56
  private _fieldsProps;
57
+ _enableContinuousInsert: boolean;
56
58
  /**
57
59
  * Determina se pode haver mais de uma linha selecionada na grade.
58
60
  */
@@ -66,6 +68,10 @@ export declare class SnkSimpleCrud {
66
68
  * Identificador de recursos como configurações e acesso.
67
69
  */
68
70
  resourceID: string;
71
+ /**
72
+ * Ativa inserção de registros no modo grade.
73
+ */
74
+ enableGridInsert?: boolean;
69
75
  /**
70
76
  * Emitido quando há qualquer mudança de estado no DataUnit.
71
77
  */
@@ -161,6 +167,7 @@ export declare class SnkSimpleCrud {
161
167
  */
162
168
  setFieldProp(fieldName: string, propName: string, value: any): Promise<void>;
163
169
  _taskbarProcessor: TaskbarProcessor;
170
+ private getFinishEditionButtonsCallback;
164
171
  private getButtons;
165
172
  private addConfigButton;
166
173
  private get application();
@@ -220,7 +227,9 @@ export declare class SnkSimpleCrud {
220
227
  private getFormFields;
221
228
  private handleFormSetFields;
222
229
  private fieldsOptionLoader;
230
+ private isGridInsertActive;
223
231
  private getActionsList;
232
+ private handleEnableContinuousInsert;
224
233
  private getTopTaskBarId;
225
234
  keyDownListener(event: KeyboardEvent): Promise<void>;
226
235
  findField(): Promise<void>;
@@ -242,5 +251,6 @@ export declare class SnkSimpleCrud {
242
251
  private resolveResourceID;
243
252
  private getFormConfig;
244
253
  private updateFormConfig;
254
+ private handleDataUnitOnInsertionMode;
245
255
  render(): any;
246
256
  }
@@ -8,5 +8,6 @@ export default class TaskbarProcessor {
8
8
  constructor(defaultButtons: any);
9
9
  process(taskbarId: string, taskbarManager: TaskbarManager, dataState: DataState, disabledButtons?: Array<string>, invisibleButtons?: Array<string>): void;
10
10
  private getButtonsArray;
11
+ private getButtonsFromKey;
11
12
  private isEnabled;
12
13
  }
@@ -460,6 +460,10 @@ export namespace Components {
460
460
  * Define a chave customizada para sobrescrever as mensagens (Não pegando pela entidade)
461
461
  */
462
462
  "domainMessagesBuilder": string;
463
+ /**
464
+ * Ativa inserção de registros no modo grade.
465
+ */
466
+ "enableGridInsert"?: boolean;
463
467
  /**
464
468
  * Chave da configuração legado da barra de filtros.
465
469
  */
@@ -516,6 +520,10 @@ export namespace Components {
516
520
  * Configuração da seleção de grade no toast.
517
521
  */
518
522
  "selectionToastConfig": ISelectionToastConfig;
523
+ /**
524
+ * Define uma função para configurar um título cusotmizado no modo formulário.
525
+ */
526
+ "setCustomFormTitle": () => string;
519
527
  /**
520
528
  * Altera/adiciona uma propriedade nos metadados do campo.
521
529
  */
@@ -831,6 +839,10 @@ export namespace Components {
831
839
  * Eventualmente poderemos ter mais de uma barra de filtros. Essa propriedade serve para separar a configuração de cada uma.
832
840
  */
833
841
  "configName": string;
842
+ /**
843
+ * Loader customizado para carregar as configurações
844
+ */
845
+ "customFilterBarConfig"?: (configName: string, resourceId: string, options: any) => Promise<Array<SnkFilterItemConfig>>;
834
846
  /**
835
847
  * Recebe o DataUnit do ambiente. Se não for informado, procura pela referência do SnkDataUnit. Necessário para se registrar como provedor de filtros.
836
848
  */
@@ -1328,6 +1340,10 @@ export namespace Components {
1328
1340
  * Desabilita a apresentação da opção de filtros personalizados na filter bar (chip de filtros) e no modal lateral de filtros (container de filtros personalizados).
1329
1341
  */
1330
1342
  "disablePersonalizedFilter": boolean;
1343
+ /**
1344
+ * Ativa inserção de registros no modo grade.
1345
+ */
1346
+ "enableGridInsert"?: boolean;
1331
1347
  /**
1332
1348
  * Chave da configuração legado da barra de filtros.
1333
1349
  */
@@ -1480,6 +1496,10 @@ export namespace Components {
1480
1496
  * Define o identificador do container de elementos customizados da Taskbar da aba de detalhes.
1481
1497
  */
1482
1498
  "detailTaskbarCustomContainerId": string;
1499
+ /**
1500
+ * Ativa inserção de registros no modo grade.
1501
+ */
1502
+ "enableGridInsert"?: boolean;
1483
1503
  /**
1484
1504
  * Determina todo o caminho de entidades.
1485
1505
  */
@@ -1492,6 +1512,10 @@ export namespace Components {
1492
1512
  * Chave da configuração legado do formulário.
1493
1513
  */
1494
1514
  "formLegacyConfigName": string;
1515
+ /**
1516
+ * Fornece uma função para obter um título customizado do formulário.
1517
+ */
1518
+ "getCustomTitle": () => string;
1495
1519
  /**
1496
1520
  * Configuração do formulário master.
1497
1521
  */
@@ -1655,6 +1679,10 @@ export namespace Components {
1655
1679
  * Define a chave customizada para sobrescrever as mensagens (Não pegando pela entidade)
1656
1680
  */
1657
1681
  "domainMessagesBuilder": string;
1682
+ /**
1683
+ * Ativa inserção de registros no modo grade.
1684
+ */
1685
+ "enableGridInsert"?: boolean;
1658
1686
  /**
1659
1687
  * Define o nome da entidade que o componente vai utilizar para fazer as operações de CRUD
1660
1688
  */
@@ -2546,6 +2574,10 @@ declare namespace LocalJSX {
2546
2574
  * Define a chave customizada para sobrescrever as mensagens (Não pegando pela entidade)
2547
2575
  */
2548
2576
  "domainMessagesBuilder"?: string;
2577
+ /**
2578
+ * Ativa inserção de registros no modo grade.
2579
+ */
2580
+ "enableGridInsert"?: boolean;
2549
2581
  /**
2550
2582
  * Chave da configuração legado da barra de filtros.
2551
2583
  */
@@ -2586,6 +2618,7 @@ declare namespace LocalJSX {
2586
2618
  * Responsável por notificar quando ocorrer a renderização de itens do formulário.
2587
2619
  */
2588
2620
  "onFormItemsReady"?: (event: SnkCrudCustomEvent<Array<HTMLElement>>) => void;
2621
+ "onViewModeChanged"?: (event: SnkCrudCustomEvent<VIEW_MODE>) => void;
2589
2622
  /**
2590
2623
  * Altera o modo de apresentação dos botões do snk-taskbar.
2591
2624
  */
@@ -2598,6 +2631,10 @@ declare namespace LocalJSX {
2598
2631
  * Configuração da seleção de grade no toast.
2599
2632
  */
2600
2633
  "selectionToastConfig"?: ISelectionToastConfig;
2634
+ /**
2635
+ * Define uma função para configurar um título cusotmizado no modo formulário.
2636
+ */
2637
+ "setCustomFormTitle"?: () => string;
2601
2638
  /**
2602
2639
  * Usado para exibir os botões de ação do snk-configurator
2603
2640
  */
@@ -2934,6 +2971,10 @@ declare namespace LocalJSX {
2934
2971
  * Eventualmente poderemos ter mais de uma barra de filtros. Essa propriedade serve para separar a configuração de cada uma.
2935
2972
  */
2936
2973
  "configName"?: string;
2974
+ /**
2975
+ * Loader customizado para carregar as configurações
2976
+ */
2977
+ "customFilterBarConfig"?: (configName: string, resourceId: string, options: any) => Promise<Array<SnkFilterItemConfig>>;
2937
2978
  /**
2938
2979
  * Recebe o DataUnit do ambiente. Se não for informado, procura pela referência do SnkDataUnit. Necessário para se registrar como provedor de filtros.
2939
2980
  */
@@ -3400,6 +3441,10 @@ declare namespace LocalJSX {
3400
3441
  * Desabilita a apresentação da opção de filtros personalizados na filter bar (chip de filtros) e no modal lateral de filtros (container de filtros personalizados).
3401
3442
  */
3402
3443
  "disablePersonalizedFilter"?: boolean;
3444
+ /**
3445
+ * Ativa inserção de registros no modo grade.
3446
+ */
3447
+ "enableGridInsert"?: boolean;
3403
3448
  /**
3404
3449
  * Chave da configuração legado da barra de filtros.
3405
3450
  */
@@ -3528,6 +3573,10 @@ declare namespace LocalJSX {
3528
3573
  * Define o identificador do container de elementos customizados da Taskbar da aba de detalhes.
3529
3574
  */
3530
3575
  "detailTaskbarCustomContainerId"?: string;
3576
+ /**
3577
+ * Ativa inserção de registros no modo grade.
3578
+ */
3579
+ "enableGridInsert"?: boolean;
3531
3580
  /**
3532
3581
  * Determina todo o caminho de entidades.
3533
3582
  */
@@ -3536,6 +3585,10 @@ declare namespace LocalJSX {
3536
3585
  * Chave da configuração legado do formulário.
3537
3586
  */
3538
3587
  "formLegacyConfigName"?: string;
3588
+ /**
3589
+ * Fornece uma função para obter um título customizado do formulário.
3590
+ */
3591
+ "getCustomTitle"?: () => string;
3539
3592
  /**
3540
3593
  * Configuração do formulário master.
3541
3594
  */
@@ -3698,6 +3751,10 @@ declare namespace LocalJSX {
3698
3751
  * Define a chave customizada para sobrescrever as mensagens (Não pegando pela entidade)
3699
3752
  */
3700
3753
  "domainMessagesBuilder"?: string;
3754
+ /**
3755
+ * Ativa inserção de registros no modo grade.
3756
+ */
3757
+ "enableGridInsert"?: boolean;
3701
3758
  /**
3702
3759
  * Define o nome da entidade que o componente vai utilizar para fazer as operações de CRUD
3703
3760
  */
@@ -1,4 +1,14 @@
1
- import { DataUnit, Filter, PaginationInfo, Record, Sort } from '@sankhyalabs/core';
1
+ import { DataUnit, Filter, LoadDataRequest, PaginationInfo, Record, Sort } from '@sankhyalabs/core';
2
2
  export declare function applyFilter(records: Array<Record>, dataUnit: DataUnit, filters: Array<Filter>): Array<Record>;
3
+ export declare function buildLoadDataResponse(recordsIn: Array<Record>, dataUnit: DataUnit, request: LoadDataRequest): Promise<{
4
+ records: Record[];
5
+ paginationInfo: PaginationInfo;
6
+ }>;
3
7
  export declare function applySorting(records: Array<Record>, dataUnit: DataUnit, sorting: Array<Sort>): Array<Record>;
4
- export declare function buildPaginationInfo(records: Array<Record>, offset?: number, limit?: number): PaginationInfo | undefined;
8
+ export declare function getPagesByRecords(records: Record[], offset?: number, limit?: number): Record[];
9
+ export declare function buildPaginationInfo({ recordsLength, offset, recordsPerPage }: PaginationInfoBuilderParams): PaginationInfo | undefined;
10
+ export interface PaginationInfoBuilderParams {
11
+ recordsLength: number;
12
+ offset: number;
13
+ recordsPerPage: number;
14
+ }
@@ -3,10 +3,11 @@ import { DeleteResponse, DownloadKeyResponse, SaveResponse } from "./interfaces"
3
3
  import { AttachFetcherFacadeInterface } from "./facade/attach-fetcher.facade";
4
4
  export declare class AnexoSistemaFetcher implements AttachFetcherFacadeInterface {
5
5
  private entityName;
6
- private registerKey;
7
6
  private dataUnitName;
8
7
  private resourceID;
9
- constructor(entityName: string, registerKey: string, dataUnitName: string);
8
+ private _registerKey;
9
+ constructor(entityName: string, dataUnitName: string);
10
+ set registerKey(registerKey: string);
10
11
  validateFields: (fields: any) => void;
11
12
  save(change: Change): Promise<Array<SaveResponse>>;
12
13
  edit(change: Change): Promise<Array<SaveResponse>>;
@@ -0,0 +1,10 @@
1
+ import { SnkApplication } from '../../components/snk-application/snk-application';
2
+ import { Action } from '../../components/snk-taskbar/snk-taskbar';
3
+ export declare class ContinuousInsertUtils {
4
+ private keyConfigEnableContinuousInsert;
5
+ private snkApplication;
6
+ constructor(snkApplication: SnkApplication, resourceID: string, configName?: string);
7
+ handleSaveConfig(enableContinuousInsert: boolean): Promise<any>;
8
+ getConfig(): Promise<boolean>;
9
+ actionContinuousInsert(enableContinuousInsert: boolean, handleEnableContinuousInsert: VoidFunction): Action;
10
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sankhyalabs/sankhyablocks",
3
- "version": "8.16.0-rc.10",
3
+ "version": "8.16.0-rc.12",
4
4
  "description": "Stencil Component Starter",
5
5
  "main": "dist/index.cjs.js",
6
6
  "module": "dist/index.js",