@sankhyalabs/sankhyablocks 8.16.0-dev.1 → 8.16.0-dev.100
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.
- package/dist/cjs/ClientSideExporterProvider-5fff8770.js +372 -0
- package/dist/cjs/{ConfigStorage-942ce74b.js → ConfigStorage-df09fb78.js} +3 -2
- package/dist/cjs/{DataFetcher-313debd8.js → DataFetcher-1afdb18e.js} +231 -79
- package/dist/cjs/{RecordIDUtils-3735135c.js → GetSelectedRecordsIDsInfo-bd50caf1.js} +10 -10
- package/dist/cjs/IFetchDataExporterParams-e78ec415.js +8 -0
- package/dist/cjs/ISave-c76e2c51.js +397 -0
- package/dist/cjs/{SnkFormConfigManager-1b13bacd.js → SnkFormConfigManager-45a8d7b7.js} +77 -21
- package/dist/cjs/{SnkMessageBuilder-722b104e.js → SnkMessageBuilder-bae64d0d.js} +7 -3
- package/dist/cjs/{auth-fetcher-54f5ff9d.js → auth-fetcher-1687ac0a.js} +1 -1
- package/dist/cjs/{constants-35ddd366.js → constants-77c1b8bd.js} +10 -0
- package/dist/cjs/{dataunit-fetcher-620b29a1.js → dataunit-fetcher-4a5d491a.js} +220 -168
- package/dist/cjs/{field-search-f56aa7d6.js → field-search-68e34bf4.js} +5 -1
- package/dist/cjs/{form-config-fetcher-2dd00e5b.js → form-config-fetcher-40d3f752.js} +56 -2
- package/dist/cjs/{index-1dfc7a6e.js → index-e3e39724.js} +5 -0
- package/dist/cjs/index-f9e81701.js +16 -32
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/pesquisa-grid_2.cjs.entry.js +155 -0
- package/dist/cjs/sankhyablocks.cjs.js +1 -1
- package/dist/cjs/{snk-actions-button_4.cjs.entry.js → snk-actions-button_7.cjs.entry.js} +201 -44
- package/dist/cjs/snk-application.cjs.entry.js +468 -74
- package/dist/cjs/snk-attach.cjs.entry.js +49 -37
- package/dist/cjs/{snk-form-config.cjs.entry.js → snk-config-options_3.cjs.entry.js} +401 -13
- package/dist/cjs/snk-configurator.cjs.entry.js +10 -3
- package/dist/cjs/snk-crud.cjs.entry.js +29 -23
- package/dist/cjs/snk-data-exporter.cjs.entry.js +38 -30
- package/dist/cjs/{snk-data-unit-82dea87e.js → snk-data-unit-4b510d6e.js} +69 -35
- package/dist/cjs/snk-data-unit.cjs.entry.js +5 -5
- package/dist/cjs/snk-detail-view.cjs.entry.js +18 -19
- package/dist/cjs/snk-exporter-email-sender.cjs.entry.js +1 -1
- package/dist/cjs/snk-field-config.cjs.entry.js +1 -1
- package/dist/cjs/snk-filter-bar_4.cjs.entry.js +1438 -0
- package/dist/cjs/snk-filter-binary-select.cjs.entry.js +1 -1
- package/dist/cjs/snk-filter-checkbox-list.cjs.entry.js +1 -1
- package/dist/cjs/snk-filter-modal-item.cjs.entry.js +3 -3
- package/dist/cjs/snk-filter-number.cjs.entry.js +1 -1
- package/dist/cjs/snk-filter-search.cjs.entry.js +18 -5
- package/dist/cjs/snk-filter-text.cjs.entry.js +2 -1
- package/dist/cjs/snk-grid.cjs.entry.js +96 -28
- package/dist/cjs/{snk-guides-viewer-05a1ba27.js → snk-guides-viewer-e8e5f7b4.js} +34 -19
- package/dist/cjs/snk-guides-viewer.cjs.entry.js +11 -12
- package/dist/cjs/snk-personalized-filter-editor.cjs.entry.js +4 -4
- package/dist/cjs/snk-personalized-filter.cjs.entry.js +3 -3
- package/dist/cjs/snk-pesquisa.cjs.entry.js +110 -31
- package/dist/cjs/snk-print-selector.cjs.entry.js +1 -1
- package/dist/cjs/snk-simple-bar.cjs.entry.js +1 -1
- package/dist/cjs/snk-simple-crud.cjs.entry.js +119 -115
- package/dist/cjs/snk-tab-config.cjs.entry.js +1 -1
- package/dist/cjs/snk-taskbar.cjs.entry.js +72 -40
- package/dist/cjs/{taskbar-elements-9ad1f9c0.js → taskbar-elements-7e19882d.js} +1 -1
- package/dist/collection/collection-manifest.json +16 -31
- package/dist/collection/components/snk-actions-button/actions/index.js +16 -13
- package/dist/collection/components/snk-actions-button/interfaces/index.js +1 -0
- package/dist/collection/components/snk-actions-button/snk-actions-button.js +27 -26
- package/dist/collection/components/snk-application/errorhandler/snk-error-handler.js +5 -2
- package/dist/collection/components/snk-application/request-listener/DebouncedRequestListener.js +29 -0
- package/dist/collection/components/snk-application/request-listener/RequestListenerFactory.js +16 -0
- package/dist/collection/components/snk-application/request-listener/RequestListenerLoadingBar.js +52 -0
- package/dist/collection/components/snk-application/search-strategy/exec-prepared-search-plus.js +107 -0
- package/dist/collection/components/snk-application/snk-application.css +36 -0
- package/dist/collection/components/snk-application/snk-application.js +447 -67
- package/dist/collection/components/snk-attach/snk-attach.js +25 -16
- package/dist/collection/components/snk-attach/structure/builder/taskbar-builder.js +8 -4
- package/dist/collection/components/snk-attach/structure/fetcher/factory/attach-fetcher-data-unit.factory.js +2 -5
- package/dist/collection/components/snk-configurator/snk-configurator.css +1 -1
- package/dist/collection/components/snk-configurator/snk-configurator.js +26 -1
- package/dist/collection/components/snk-crud/snk-crud.js +185 -14
- package/dist/collection/components/snk-crud/subcomponents/snk-detail-view/snk-detail-view.css +10 -1
- package/dist/collection/components/snk-crud/subcomponents/snk-detail-view/snk-detail-view.js +28 -5
- package/dist/collection/components/snk-crud/subcomponents/snk-guides-viewer.css +6 -6
- package/dist/collection/components/snk-crud/subcomponents/snk-guides-viewer.js +74 -8
- package/dist/collection/components/snk-data-exporter/exporter-email-sender/options-step.js +1 -1
- package/dist/collection/components/snk-data-exporter/exporter-strategy/ClientSideExporterStrategy.js +8 -8
- package/dist/collection/components/snk-data-exporter/exporter-strategy/ServerSideExporterStrategy.js +9 -2
- package/dist/collection/components/snk-data-exporter/interfaces/IExporterProvider.js +41 -10
- package/dist/collection/components/snk-data-exporter/providers/ClientSideExporterProvider.js +18 -6
- package/dist/collection/components/snk-data-exporter/providers/ServerSideExporterProvider.js +1 -1
- package/dist/collection/components/snk-data-exporter/snk-data-exporter.js +10 -9
- package/dist/collection/components/snk-data-exporter/structure/ItemBuilder.js +2 -2
- package/dist/collection/components/snk-data-exporter/test/resources/ClientSideExporterStrategyResources.js +4 -4
- package/dist/collection/components/snk-data-exporter/utils/ParserExport.js +1 -1
- package/dist/collection/components/snk-data-unit/snk-data-unit.js +84 -33
- package/dist/collection/components/snk-filter-bar/filter-item/dataunitfilter/data-unit-filter-builder.js +3 -3
- package/dist/collection/components/snk-filter-bar/filter-item/editors/snk-filter-binary-select.js +1 -1
- package/dist/collection/components/snk-filter-bar/filter-item/editors/snk-filter-checkbox-list.js +1 -1
- package/dist/collection/components/snk-filter-bar/filter-item/editors/snk-filter-number.js +1 -1
- package/dist/collection/components/snk-filter-bar/filter-item/editors/snk-filter-search.js +18 -5
- package/dist/collection/components/snk-filter-bar/filter-item/editors/snk-filter-text.js +2 -1
- package/dist/collection/components/snk-filter-bar/filter-item/editors/snk-personalized-filter-editor/snk-personalized-filter-editor.css +13 -0
- package/dist/collection/components/snk-filter-bar/filter-item/editors/snk-personalized-filter-editor/snk-personalized-filter-editor.js +3 -3
- package/dist/collection/components/snk-filter-bar/filter-item/filter-item-type-mask.enum.js +8 -0
- package/dist/collection/components/snk-filter-bar/filter-item/snk-filter-item.js +10 -4
- package/dist/collection/components/snk-filter-bar/filter-modal/snk-filter-modal.css +1 -1
- package/dist/collection/components/snk-filter-bar/filter-modal/snk-filter-modal.js +3 -1
- package/dist/collection/components/snk-filter-bar/snk-filter-bar.css +2 -6
- package/dist/collection/components/snk-filter-bar/snk-filter-bar.js +119 -29
- package/dist/collection/components/snk-form/snk-form.js +2 -2
- package/dist/collection/components/snk-form-config/SnkFormConfigManager.js +75 -19
- package/dist/collection/components/snk-form-config/snk-form-config.css +8 -3
- package/dist/collection/components/snk-form-config/snk-form-config.js +49 -8
- package/dist/collection/components/snk-form-config/subcomponents/snk-config-options/snk-config-options.js +5 -3
- package/dist/collection/components/snk-grid/snk-grid.css +8 -0
- package/dist/collection/components/snk-grid/snk-grid.js +199 -13
- package/dist/collection/components/snk-grid-config/snk-grid-config.css +1 -1
- package/dist/collection/components/snk-grid-config/snk-grid-config.js +2 -0
- package/dist/collection/components/snk-layout-form-config/snk-layout-form-config.css +3 -0
- package/dist/collection/components/snk-layout-form-config/snk-layout-form-config.js +73 -0
- package/dist/collection/components/snk-layout-form-config/snk-view-representation/snk-view-representation.css +78 -0
- package/dist/collection/components/snk-layout-form-config/snk-view-representation/snk-view-representation.js +57 -0
- package/dist/collection/components/snk-pesquisa/pesquisa-grid/pesquisa-grid.css +9 -0
- package/dist/collection/components/snk-pesquisa/pesquisa-grid/pesquisa-grid.js +226 -0
- package/dist/collection/components/snk-pesquisa/pesquisa-tree/pesquisa-tree.css +28 -0
- package/dist/collection/components/snk-pesquisa/pesquisa-tree/pesquisa-tree.js +208 -0
- package/dist/collection/components/snk-pesquisa/pesquisaHelper.js +99 -0
- package/dist/collection/components/snk-pesquisa/snk-pesquisa.css +35 -6
- package/dist/collection/components/snk-pesquisa/snk-pesquisa.js +174 -32
- package/dist/collection/components/snk-print-selector/snk-print-selector.js +1 -1
- package/dist/collection/components/snk-simple-bar/snk-simple-bar.js +1 -1
- package/dist/collection/components/snk-simple-crud/snk-simple-crud.css +1 -1
- package/dist/collection/components/snk-simple-crud/snk-simple-crud.js +219 -36
- package/dist/collection/components/snk-simple-form-config/snk-simple-form-config.css +22 -0
- package/dist/collection/components/snk-simple-form-config/snk-simple-form-config.js +181 -0
- package/dist/collection/components/snk-taskbar/processor/taskbar-processor.js +5 -1
- package/dist/collection/components/snk-taskbar/snk-taskbar.js +112 -38
- package/dist/collection/lib/@types/index.js +5 -0
- package/dist/collection/lib/DefaultCustomFormatters/RmPrecisionCustomValueFormatter.js +3 -3
- package/dist/collection/lib/configs/ConfigStorage.js +1 -0
- package/dist/collection/lib/configs/LayoutFormConfig.js +25 -0
- package/dist/collection/lib/dataUnit/InMemoryLoader.js +12 -102
- package/dist/collection/lib/dataUnit/dataUnitInMemoryUtils.js +11 -28
- package/dist/collection/lib/http/data-fetcher/DataFetcher.js +44 -24
- package/dist/collection/lib/http/data-fetcher/fetchers/AttachFetcher/anexo-sistema-fetcher.js +7 -5
- package/dist/collection/lib/http/data-fetcher/fetchers/data-unit/DataUnitDataLoader.js +59 -14
- package/dist/collection/lib/http/data-fetcher/fetchers/data-unit/cache/ArrayRepository.js +21 -7
- package/dist/collection/lib/http/data-fetcher/fetchers/data-unit/helpers/DataUnitDataLoaderHelper.js +108 -0
- package/dist/collection/lib/http/data-fetcher/fetchers/data-unit/loadstrategy/DatasetStrategy.js +23 -14
- package/dist/collection/lib/http/data-fetcher/fetchers/fetchDataExporter/interfaces/IFetchDataExporterParams.js +6 -1
- package/dist/collection/lib/http/data-fetcher/fetchers/form-config-fetcher.js +59 -5
- package/dist/collection/lib/http/data-fetcher/fetchers/parameters-fecher.js +7 -1
- package/dist/collection/lib/http/data-fetcher/fetchers/pesquisa-fetcher.js +133 -9
- package/dist/collection/lib/index.js +1 -0
- package/dist/collection/lib/message/resources/snk-data-unit.msg.js +1 -1
- package/dist/collection/lib/message/resources/snk-exporter.msg.js +1 -1
- package/dist/collection/lib/message/resources/snk-grid.msg.js +5 -1
- package/dist/collection/lib/utils/ContinuousInsertUtils.js +31 -0
- package/dist/collection/lib/utils/CrudUtils.js +25 -16
- package/dist/collection/{components/snk-data-exporter/utils/RecordIDUtils.js → lib/utils/GetSelectedRecordsIDsInfo.js} +9 -9
- package/dist/collection/lib/utils/constants.js +10 -0
- package/dist/collection/sw.js +46 -0
- package/dist/components/ConfigStorage.js +1 -0
- package/dist/components/{IExporterProvider.js → ContinuousInsertUtils.js} +176 -33
- package/dist/components/DataFetcher.js +232 -80
- package/dist/{esm/RecordIDUtils-87d02110.js → components/GetSelectedRecordsIDsInfo.js} +10 -10
- package/dist/components/ISave.js +391 -1
- package/dist/components/SnkFormConfigManager.js +75 -19
- package/dist/components/SnkMessageBuilder.js +7 -3
- package/dist/components/constants.js +11 -1
- package/dist/components/dataunit-fetcher.js +238 -183
- package/dist/components/form-config-fetcher.js +55 -1
- package/dist/components/index.d.ts +5 -0
- package/dist/components/index.js +5 -0
- package/dist/components/pesquisa-grid.d.ts +11 -0
- package/dist/components/pesquisa-grid.js +6 -0
- package/dist/components/pesquisa-grid2.js +102 -0
- package/dist/components/pesquisa-tree.d.ts +11 -0
- package/dist/components/pesquisa-tree.js +6 -0
- package/dist/components/pesquisa-tree2.js +91 -0
- package/dist/components/snk-actions-button2.js +44 -40
- package/dist/components/snk-application2.js +491 -72
- package/dist/components/snk-attach2.js +61 -55
- package/dist/components/snk-config-options2.js +6 -4
- package/dist/components/snk-configurator2.js +23 -3
- package/dist/components/snk-crud.js +107 -75
- package/dist/components/snk-data-exporter2.js +37 -23
- package/dist/components/snk-data-unit2.js +71 -73
- package/dist/components/snk-detail-view2.js +145 -113
- package/dist/components/snk-exporter-email-sender2.js +1 -1
- package/dist/components/snk-filter-bar2.js +68 -34
- package/dist/components/snk-filter-binary-select.js +1 -1
- package/dist/components/snk-filter-checkbox-list.js +1 -1
- package/dist/components/snk-filter-item2.js +10 -4
- package/dist/components/snk-filter-modal.js +4 -2
- package/dist/components/snk-filter-number.js +1 -1
- package/dist/components/snk-filter-search.js +18 -5
- package/dist/components/snk-filter-text.js +2 -1
- package/dist/components/snk-form-config2.js +35 -10
- package/dist/components/snk-form.js +2 -2
- package/dist/components/snk-grid-config2.js +3 -1
- package/dist/components/snk-grid2.js +92 -18
- package/dist/components/snk-layout-form-config.d.ts +11 -0
- package/dist/components/snk-layout-form-config.js +6 -0
- package/dist/components/snk-layout-form-config2.js +73 -0
- package/dist/components/snk-personalized-filter-editor.js +4 -4
- package/dist/components/snk-pesquisa2.js +125 -33
- package/dist/components/snk-print-selector.js +1 -1
- package/dist/components/snk-simple-bar2.js +1 -1
- package/dist/components/snk-simple-crud2.js +116 -113
- package/dist/components/snk-simple-form-config.d.ts +11 -0
- package/dist/components/snk-simple-form-config.js +6 -0
- package/dist/components/snk-simple-form-config2.js +121 -0
- package/dist/components/snk-tab-config2.js +1 -1
- package/dist/components/snk-taskbar2.js +72 -40
- package/dist/components/snk-view-representation.d.ts +11 -0
- package/dist/components/snk-view-representation.js +6 -0
- package/dist/components/snk-view-representation2.js +41 -0
- package/dist/components/teste-pesquisa.js +13 -1
- package/dist/esm/ClientSideExporterProvider-da9935ed.js +361 -0
- package/dist/esm/{ConfigStorage-86187da3.js → ConfigStorage-71e6766f.js} +3 -2
- package/dist/esm/{DataFetcher-c1baf61d.js → DataFetcher-88e56266.js} +232 -80
- package/dist/esm/GetSelectedRecordsIDsInfo-9fa41508.js +41 -0
- package/dist/esm/IFetchDataExporterParams-d73bed3d.js +8 -0
- package/dist/esm/ISave-5efafc97.js +394 -0
- package/dist/esm/{SnkFormConfigManager-d4554df9.js → SnkFormConfigManager-be490a33.js} +77 -21
- package/dist/esm/{SnkMessageBuilder-89925609.js → SnkMessageBuilder-6fff4a4c.js} +7 -3
- package/dist/esm/{auth-fetcher-039abba3.js → auth-fetcher-3510520e.js} +1 -1
- package/dist/esm/{constants-8457af36.js → constants-7db1128a.js} +11 -1
- package/dist/esm/{dataunit-fetcher-3fbf9d12.js → dataunit-fetcher-1d02ecfc.js} +222 -167
- package/dist/esm/{field-search-efbe307f.js → field-search-f8b1d91e.js} +5 -1
- package/dist/esm/{form-config-fetcher-30fb808f.js → form-config-fetcher-fa208a6c.js} +56 -2
- package/dist/esm/index-a7d3d3f1.js +16 -32
- package/dist/esm/{index-3aa4977a.js → index-b40568ff.js} +6 -1
- package/dist/esm/loader.js +1 -1
- package/dist/esm/pesquisa-grid_2.entry.js +150 -0
- package/dist/esm/sankhyablocks.js +1 -1
- package/dist/esm/{snk-actions-button_4.entry.js → snk-actions-button_7.entry.js} +201 -47
- package/dist/esm/snk-application.entry.js +469 -75
- package/dist/esm/snk-attach.entry.js +50 -38
- package/dist/esm/{snk-form-config.entry.js → snk-config-options_3.entry.js} +401 -15
- package/dist/esm/snk-configurator.entry.js +10 -3
- package/dist/esm/snk-crud.entry.js +29 -23
- package/dist/esm/snk-data-exporter.entry.js +38 -30
- package/dist/esm/{snk-data-unit-8f98b45f.js → snk-data-unit-7d0ce406.js} +69 -35
- package/dist/esm/snk-data-unit.entry.js +5 -5
- package/dist/esm/snk-detail-view.entry.js +18 -19
- package/dist/esm/snk-exporter-email-sender.entry.js +1 -1
- package/dist/esm/snk-field-config.entry.js +1 -1
- package/dist/esm/snk-filter-bar_4.entry.js +1431 -0
- package/dist/esm/snk-filter-binary-select.entry.js +1 -1
- package/dist/esm/snk-filter-checkbox-list.entry.js +1 -1
- package/dist/esm/snk-filter-modal-item.entry.js +3 -3
- package/dist/esm/snk-filter-number.entry.js +1 -1
- package/dist/esm/snk-filter-search.entry.js +18 -5
- package/dist/esm/snk-filter-text.entry.js +2 -1
- package/dist/esm/snk-grid.entry.js +91 -23
- package/dist/esm/{snk-guides-viewer-aee2cafe.js → snk-guides-viewer-c44b3839.js} +34 -19
- package/dist/esm/snk-guides-viewer.entry.js +11 -12
- package/dist/esm/snk-personalized-filter-editor.entry.js +4 -4
- package/dist/esm/snk-personalized-filter.entry.js +3 -3
- package/dist/esm/snk-pesquisa.entry.js +110 -31
- package/dist/esm/snk-print-selector.entry.js +1 -1
- package/dist/esm/snk-simple-bar.entry.js +1 -1
- package/dist/esm/snk-simple-crud.entry.js +105 -101
- package/dist/esm/snk-tab-config.entry.js +1 -1
- package/dist/esm/snk-taskbar.entry.js +73 -41
- package/dist/esm/{taskbar-elements-d59867f1.js → taskbar-elements-d2353c64.js} +1 -1
- package/dist/sankhyablocks/p-00796b12.entry.js +1 -0
- package/dist/sankhyablocks/{p-aff76a53.js → p-03b68a74.js} +2 -2
- package/dist/sankhyablocks/p-092078e3.entry.js +1 -0
- package/dist/sankhyablocks/p-0f3698af.js +1 -0
- package/dist/sankhyablocks/{p-a1d72395.entry.js → p-165cde3b.entry.js} +1 -1
- package/dist/sankhyablocks/p-16a1dd18.entry.js +1 -0
- package/dist/sankhyablocks/p-17425c72.js +1 -0
- package/dist/sankhyablocks/p-23736d75.js +1 -0
- package/dist/sankhyablocks/p-35f85998.entry.js +1 -0
- package/dist/sankhyablocks/{p-95df461f.entry.js → p-3749dffb.entry.js} +1 -1
- package/dist/sankhyablocks/p-38e3ffda.entry.js +1 -0
- package/dist/sankhyablocks/p-3b190fb1.entry.js +1 -0
- package/dist/sankhyablocks/{p-7e7a7473.js → p-3fc82614.js} +1 -1
- package/dist/sankhyablocks/{p-72fc257b.entry.js → p-434817f0.entry.js} +1 -1
- package/dist/sankhyablocks/p-47178038.entry.js +1 -0
- package/dist/sankhyablocks/{p-eae7a817.entry.js → p-490b75b5.entry.js} +1 -1
- package/dist/sankhyablocks/p-4ad638be.js +1 -0
- package/dist/sankhyablocks/p-5503e89f.entry.js +1 -0
- package/dist/sankhyablocks/p-5cc206bb.entry.js +1 -0
- package/dist/sankhyablocks/{p-aaa3ee68.entry.js → p-5f157b09.entry.js} +1 -1
- package/dist/sankhyablocks/p-5ffa0493.entry.js +1 -0
- package/dist/sankhyablocks/p-60137b7a.entry.js +1 -0
- package/dist/sankhyablocks/p-601b252b.js +26 -0
- package/dist/sankhyablocks/p-6293ded9.entry.js +11 -0
- package/dist/sankhyablocks/p-6dd38d7b.js +6 -0
- package/dist/sankhyablocks/p-6e0a5314.js +1 -0
- package/dist/sankhyablocks/{p-913a9979.js → p-73285a8a.js} +1 -1
- package/dist/sankhyablocks/p-79f823f3.entry.js +1 -0
- package/dist/sankhyablocks/p-7dd49d15.js +1 -0
- package/dist/sankhyablocks/p-893b9483.entry.js +1 -0
- package/dist/sankhyablocks/p-89c92727.entry.js +1 -0
- package/dist/sankhyablocks/{p-41f8bfa3.entry.js → p-8c235d4c.entry.js} +1 -1
- package/dist/sankhyablocks/p-8f3f2306.js +1 -0
- package/dist/sankhyablocks/p-90684a75.entry.js +1 -0
- package/dist/sankhyablocks/{p-b0ef4383.js → p-9261d8a0.js} +1 -1
- package/dist/sankhyablocks/p-92778d5a.js +1 -0
- package/dist/sankhyablocks/p-a8be1d67.js +60 -0
- package/dist/sankhyablocks/p-a962a3e4.entry.js +1 -0
- package/dist/sankhyablocks/p-b2a2a83e.entry.js +1 -0
- package/dist/sankhyablocks/p-b6200d32.entry.js +1 -0
- package/dist/sankhyablocks/{p-8eb67fa4.entry.js → p-c0eb761b.entry.js} +1 -1
- package/dist/sankhyablocks/p-c2e468c9.entry.js +1 -0
- package/dist/sankhyablocks/p-d9fdb018.entry.js +1 -0
- package/dist/sankhyablocks/p-ebdb9d89.js +1 -0
- package/dist/sankhyablocks/p-ef6f0a1b.entry.js +1 -0
- package/dist/sankhyablocks/p-fbba7e3d.js +1 -0
- package/dist/sankhyablocks/sankhyablocks.esm.js +1 -1
- package/dist/types/components/snk-actions-button/actions/index.d.ts +1 -0
- package/dist/types/components/snk-actions-button/interfaces/index.d.ts +3 -0
- package/dist/types/components/snk-actions-button/snk-actions-button.d.ts +3 -2
- package/dist/types/components/snk-application/request-listener/DebouncedRequestListener.d.ts +11 -0
- package/dist/types/components/snk-application/request-listener/RequestListenerFactory.d.ts +12 -0
- package/dist/types/components/snk-application/request-listener/RequestListenerLoadingBar.d.ts +13 -0
- package/dist/types/components/snk-application/search-strategy/exec-prepared-search-plus.d.ts +5 -0
- package/dist/types/components/snk-application/snk-application.d.ts +55 -16
- package/dist/types/components/snk-attach/snk-attach.d.ts +1 -0
- package/dist/types/components/snk-configurator/snk-configurator.d.ts +6 -0
- package/dist/types/components/snk-crud/snk-crud.d.ts +34 -0
- package/dist/types/components/snk-crud/subcomponents/snk-detail-view/snk-detail-view.d.ts +5 -0
- package/dist/types/components/snk-crud/subcomponents/snk-guides-viewer.d.ts +15 -0
- package/dist/types/components/snk-data-exporter/data/export-result.d.ts +2 -1
- package/dist/types/components/snk-data-exporter/exporter-strategy/ServerSideExporterStrategy.d.ts +1 -0
- package/dist/types/components/snk-data-exporter/interfaces/IExporterProvider.d.ts +9 -1
- package/dist/types/components/snk-data-exporter/interfaces/IRecordID.d.ts +1 -0
- package/dist/types/components/snk-data-exporter/providers/ClientSideExporterProvider.d.ts +3 -1
- package/dist/types/components/snk-data-exporter/test/resources/ClientSideExporterStrategyResources.d.ts +3 -3
- package/dist/types/components/snk-data-exporter/utils/ParserExport.d.ts +1 -1
- package/dist/types/components/snk-data-unit/snk-data-unit.d.ts +7 -0
- package/dist/types/components/snk-filter-bar/filter-item/editors/snk-filter-search.d.ts +5 -3
- package/dist/types/components/snk-filter-bar/filter-item/filter-item-type-mask.enum.d.ts +7 -0
- package/dist/types/components/snk-filter-bar/filter-item/snk-filter-item.d.ts +2 -0
- package/dist/types/components/snk-filter-bar/snk-filter-bar.d.ts +15 -1
- package/dist/types/components/snk-form-config/SnkFormConfigManager.d.ts +9 -4
- package/dist/types/components/snk-form-config/snk-form-config.d.ts +4 -0
- package/dist/types/components/snk-grid/snk-grid.d.ts +33 -0
- package/dist/types/components/snk-grid-config/snk-grid-config.d.ts +1 -0
- package/dist/types/components/snk-layout-form-config/snk-layout-form-config.d.ts +15 -0
- package/dist/types/components/snk-layout-form-config/snk-view-representation/snk-view-representation.d.ts +10 -0
- package/dist/types/components/snk-pesquisa/pesquisa-grid/pesquisa-grid.d.ts +44 -0
- package/dist/types/components/snk-pesquisa/pesquisa-tree/pesquisa-tree.d.ts +33 -0
- package/dist/types/components/snk-pesquisa/pesquisaHelper.d.ts +24 -0
- package/dist/types/components/snk-pesquisa/snk-pesquisa.d.ts +35 -1
- package/dist/types/components/snk-simple-crud/snk-simple-crud.d.ts +35 -3
- package/dist/types/components/snk-simple-form-config/snk-simple-form-config.d.ts +34 -0
- package/dist/types/components/snk-taskbar/processor/taskbar-processor.d.ts +1 -0
- package/dist/types/components/snk-taskbar/snk-taskbar.d.ts +11 -0
- package/dist/types/components.d.ts +514 -16
- package/dist/types/lib/@types/index.d.ts +4 -0
- package/dist/types/lib/configs/LayoutFormConfig.d.ts +11 -0
- package/dist/types/lib/dataUnit/InMemoryLoader.d.ts +4 -11
- package/dist/types/lib/dataUnit/dataUnitInMemoryUtils.d.ts +9 -2
- package/dist/types/lib/dataUnit/interfaces/InMemoryLoaderConfig.d.ts +2 -2
- package/dist/types/lib/http/data-fetcher/DataFetcher.d.ts +1 -0
- package/dist/types/lib/http/data-fetcher/fetchers/AttachFetcher/anexo-sistema-fetcher.d.ts +3 -2
- package/dist/types/lib/http/data-fetcher/fetchers/data-unit/DataUnitDataLoader.d.ts +9 -1
- package/dist/types/lib/http/data-fetcher/fetchers/data-unit/cache/ArrayRepository.d.ts +4 -0
- package/dist/types/lib/http/data-fetcher/fetchers/data-unit/helpers/DataUnitDataLoaderHelper.d.ts +6 -0
- package/dist/types/lib/http/data-fetcher/fetchers/data-unit/interfaces/ILoadingInfo.d.ts +4 -0
- package/dist/types/lib/http/data-fetcher/fetchers/data-unit/loadstrategy/DatasetStrategy.d.ts +3 -3
- package/dist/types/lib/http/data-fetcher/fetchers/fetchDataExporter/interfaces/IFetchDataExporterParams.d.ts +6 -2
- package/dist/types/lib/http/data-fetcher/fetchers/form-config-fetcher.d.ts +14 -2
- package/dist/types/lib/http/data-fetcher/fetchers/parameters-fecher.d.ts +1 -0
- package/dist/types/lib/http/data-fetcher/fetchers/pesquisa-fetcher.d.ts +21 -2
- package/dist/types/lib/index.d.ts +1 -0
- package/dist/types/lib/utils/ContinuousInsertUtils.d.ts +10 -0
- package/dist/types/lib/utils/CrudUtils.d.ts +1 -0
- package/dist/types/lib/utils/GetSelectedRecordsIDsInfo.d.ts +3 -0
- package/dist/types/lib/utils/constants.d.ts +8 -0
- package/package.json +4 -3
- package/react/components.d.ts +5 -0
- package/react/components.js +5 -0
- package/react/components.js.map +1 -1
- package/dist/cjs/IExporterProvider-c78cb1b8.js +0 -230
- package/dist/cjs/ISave-e91b70a7.js +0 -9
- package/dist/cjs/pesquisa-fetcher-680e198f.js +0 -166
- package/dist/cjs/snk-config-options.cjs.entry.js +0 -239
- package/dist/cjs/snk-filter-bar.cjs.entry.js +0 -714
- package/dist/cjs/snk-filter-item.cjs.entry.js +0 -312
- package/dist/cjs/snk-filter-list.cjs.entry.js +0 -152
- package/dist/cjs/snk-filter-modal.cjs.entry.js +0 -249
- package/dist/cjs/snk-form.cjs.entry.js +0 -143
- package/dist/components/pesquisa-fetcher.js +0 -164
- package/dist/esm/IExporterProvider-343272b3.js +0 -221
- package/dist/esm/ISave-d8c8bc59.js +0 -9
- package/dist/esm/pesquisa-fetcher-03c8f919.js +0 -164
- package/dist/esm/snk-config-options.entry.js +0 -235
- package/dist/esm/snk-filter-bar.entry.js +0 -710
- package/dist/esm/snk-filter-item.entry.js +0 -308
- package/dist/esm/snk-filter-list.entry.js +0 -148
- package/dist/esm/snk-filter-modal.entry.js +0 -245
- package/dist/esm/snk-form.entry.js +0 -139
- package/dist/sankhyablocks/p-01ba23cd.entry.js +0 -1
- package/dist/sankhyablocks/p-0d91b10f.entry.js +0 -1
- package/dist/sankhyablocks/p-14a08904.entry.js +0 -1
- package/dist/sankhyablocks/p-21749402.js +0 -1
- package/dist/sankhyablocks/p-219f888d.entry.js +0 -1
- package/dist/sankhyablocks/p-26394a01.entry.js +0 -1
- package/dist/sankhyablocks/p-2d649237.entry.js +0 -1
- package/dist/sankhyablocks/p-30cf616e.js +0 -1
- package/dist/sankhyablocks/p-3b60db06.entry.js +0 -1
- package/dist/sankhyablocks/p-44767378.entry.js +0 -1
- package/dist/sankhyablocks/p-47b60deb.entry.js +0 -1
- package/dist/sankhyablocks/p-4f72727a.entry.js +0 -1
- package/dist/sankhyablocks/p-550fee49.entry.js +0 -1
- package/dist/sankhyablocks/p-5539ecb4.entry.js +0 -1
- package/dist/sankhyablocks/p-672302c3.js +0 -60
- package/dist/sankhyablocks/p-70a4af56.entry.js +0 -1
- package/dist/sankhyablocks/p-7663f597.entry.js +0 -1
- package/dist/sankhyablocks/p-7a337364.js +0 -1
- package/dist/sankhyablocks/p-829d4045.js +0 -1
- package/dist/sankhyablocks/p-88aa931b.entry.js +0 -1
- package/dist/sankhyablocks/p-8a5910a7.entry.js +0 -1
- package/dist/sankhyablocks/p-8cc64963.entry.js +0 -1
- package/dist/sankhyablocks/p-8fc470e5.entry.js +0 -1
- package/dist/sankhyablocks/p-96a89d58.entry.js +0 -1
- package/dist/sankhyablocks/p-9863d682.js +0 -1
- package/dist/sankhyablocks/p-9e99a92a.js +0 -1
- package/dist/sankhyablocks/p-af8efd95.js +0 -6
- package/dist/sankhyablocks/p-b11aa1e0.entry.js +0 -1
- package/dist/sankhyablocks/p-be603a24.js +0 -1
- package/dist/sankhyablocks/p-c2495304.js +0 -1
- package/dist/sankhyablocks/p-c8622597.entry.js +0 -1
- package/dist/sankhyablocks/p-d09feef1.js +0 -1
- package/dist/sankhyablocks/p-d1791da2.entry.js +0 -1
- package/dist/sankhyablocks/p-d3f53df2.entry.js +0 -1
- package/dist/sankhyablocks/p-dc7c9047.js +0 -1
- package/dist/sankhyablocks/p-df5451c7.js +0 -26
- package/dist/sankhyablocks/p-e8763234.entry.js +0 -1
- package/dist/sankhyablocks/p-e95b3b93.entry.js +0 -11
- package/dist/sankhyablocks/p-f2809746.entry.js +0 -1
- package/dist/types/components/snk-data-exporter/utils/RecordIDUtils.d.ts +0 -3
@@ -5,30 +5,33 @@
|
|
5
5
|
* It contains typing information for all components that exist in this project.
|
6
6
|
*/
|
7
7
|
import { HTMLStencilElement, JSXBase } from "./stencil-public-runtime";
|
8
|
+
import { DataUnit, Filter, KeyboardManager, Record, UnitMetadata } from "@sankhyalabs/core";
|
9
|
+
import { IOption } from "@sankhyalabs/ezui/src/components/ez-search/ez-search";
|
10
|
+
import { ITreeItem } from "@sankhyalabs/ezui/src/components/ez-tree/interfaces/ITreeItem";
|
8
11
|
import { IAction } from "./components/snk-actions-button/actions/interfaces/IAction";
|
9
12
|
import { SnkMessageBuilder } from "./lib/message/SnkMessageBuilder";
|
10
|
-
import {
|
13
|
+
import { LayoutFormConfig } from "./lib/configs/LayoutFormConfig";
|
11
14
|
import { DataFetcher, Options } from "./lib/http/data-fetcher/DataFetcher";
|
12
15
|
import { AutorizationType } from "./lib/http/data-fetcher/fetchers/auth-fetcher";
|
13
16
|
import { AlertItem } from "@sankhyalabs/ezui/dist/types/components/ez-alert-list/ez-alert-list";
|
14
17
|
import { IAppletCallerParams } from "./lib/applet-caller/applet-caller";
|
15
18
|
import { IClientEventResponse } from "./lib/http/data-fetcher/interfaces/IClientEventResponse";
|
16
19
|
import { IDataFetcherRecaller } from "./lib/http/data-fetcher/recaller/IDataFetcherRecaller";
|
17
|
-
import { DialogType, MessageOptions } from "@sankhyalabs/ezui/dist/collection/utils";
|
18
|
-
import { IOption, ISearchArgument } from "@sankhyalabs/ezui/dist/types/components/ez-search/ez-search";
|
20
|
+
import { DialogType, FormLayout, MessageOptions } from "@sankhyalabs/ezui/dist/collection/utils";
|
21
|
+
import { IOption as IOption1, ISearchArgument } from "@sankhyalabs/ezui/dist/types/components/ez-search/ez-search";
|
19
22
|
import { IRemoveSearchListener, ISearchListener, SearchCriteria } from "./lib/http/data-fetcher/fetchers/pesquisa-fetcher";
|
23
|
+
import { SIMPLE_CRUD_MODE, TEMPLATES_SKELETON, VIEW_MODE } from "./lib/utils/constants";
|
20
24
|
import { TFetcherType } from "./components/snk-attach/interfaces/TFetcherType";
|
21
25
|
import { AttachFetcherFacadeInterface, PresentationMode } from "./lib";
|
22
26
|
import { FetcherFacade } from "./components/snk-attach/structure";
|
23
27
|
import { IFieldConfig, IFormCardConfig, IFormConfig, IRecordValidator, ISummaryField } from "@sankhyalabs/ezui/dist/types/utils/form/interfaces";
|
24
|
-
import { SIMPLE_CRUD_MODE, VIEW_MODE } from "./lib/utils/constants";
|
25
28
|
import { ICustomFormatter, ISelectionToastConfig } from "@sankhyalabs/ezui/dist/types/components/ez-grid/interfaces";
|
26
29
|
import { Action, TaskbarManager } from "./components/snk-taskbar/snk-taskbar";
|
27
30
|
import { EzGridColumn, IGridConfig, IStatusResolver, StatusResolverFunction } from "@sankhyalabs/ezui/dist/types/components/ez-grid/controller/EzGridController";
|
31
|
+
import { IExporterStrategyMode, IRecordID } from "./components/snk-data-exporter/interfaces/IRecordID";
|
28
32
|
import { ICustomEditor, ICustomRender } from "@sankhyalabs/ezui/dist/types/utils";
|
29
33
|
import { IExporterProvider } from "./components/snk-data-exporter/interfaces/IExporterProvider";
|
30
34
|
import { DataState, RowMetadata } from "./components/snk-data-unit/snk-data-unit";
|
31
|
-
import { IRecordID } from "./components/snk-data-exporter/interfaces/IRecordID";
|
32
35
|
import { SnkFormConfigManager } from "./components/snk-form-config/SnkFormConfigManager";
|
33
36
|
import { IGuideItem } from "@sankhyalabs/ezui/dist/types/components/ez-guide-navigator/interfaces";
|
34
37
|
import { DataState as DataState1 } from "./components/snk-data-unit/snk-data-unit";
|
@@ -49,7 +52,7 @@ import { FilterFieldsDataSource, IFilterField, IFilterLink } from "./components/
|
|
49
52
|
import { IEzPopoverAnchorOptions } from "@sankhyalabs/ezui/dist/types/components/ez-popover/ez-popover";
|
50
53
|
import { SnkFilterItemConfig as SnkFilterItemConfig1 } from "./components/snk-filter-bar/filter-item/snk-filter-item";
|
51
54
|
import { ListItem as ListItem1 } from "./components/snk-filter-bar/filter-list/snk-filter-list";
|
52
|
-
import { IOption as
|
55
|
+
import { IOption as IOption2 } from "@sankhyalabs/ezui/dist/types/components/ez-combo-box/ez-combo-box";
|
53
56
|
import { IFormViewField } from "@sankhyalabs/ezui/dist/types/components/ez-form-view/interfaces/IFormViewField";
|
54
57
|
import { FormMetadata } from "@sankhyalabs/ezui/dist/collection/utils/form";
|
55
58
|
import { ICustomEditor as ICustomEditor1 } from "@sankhyalabs/ezui/dist/types/utils/customEditor/interfaces/ICustomEditor";
|
@@ -61,6 +64,51 @@ import { IBreadcrumbItem } from "@sankhyalabs/ezui/dist/types/components/ez-brea
|
|
61
64
|
import { ITab } from "./components/snk-form-config/subcomponents/snk-tab-config/snk-tab-config";
|
62
65
|
import { Action as Action1, CustomButton } from "./components/snk-taskbar/snk-taskbar";
|
63
66
|
export namespace Components {
|
67
|
+
interface PesquisaGrid {
|
68
|
+
/**
|
69
|
+
* Registros da grade
|
70
|
+
*/
|
71
|
+
"dataSource": Record[];
|
72
|
+
/**
|
73
|
+
* Campo que representa a descrição do registro
|
74
|
+
*/
|
75
|
+
"descriptionField": string;
|
76
|
+
/**
|
77
|
+
* Nome da entidade representada na grade
|
78
|
+
*/
|
79
|
+
"entityName": string;
|
80
|
+
/**
|
81
|
+
* Campos que representam as colunas da grade.
|
82
|
+
*/
|
83
|
+
"metadata": UnitMetadata;
|
84
|
+
/**
|
85
|
+
* Campo que representa a chave primária do registro
|
86
|
+
*/
|
87
|
+
"pkField": string;
|
88
|
+
/**
|
89
|
+
* Define se deve carregar configurações da grade
|
90
|
+
*/
|
91
|
+
"shouldLoadConfig": boolean;
|
92
|
+
}
|
93
|
+
interface PesquisaTree {
|
94
|
+
/**
|
95
|
+
* Define se permite seleção de items não analíticos
|
96
|
+
*/
|
97
|
+
"allowsNonAnalytic": boolean;
|
98
|
+
"applyFilter": () => Promise<void>;
|
99
|
+
/**
|
100
|
+
* Argumentos que serão usados ao chamar a função treeLoader.
|
101
|
+
*/
|
102
|
+
"argument": string;
|
103
|
+
/**
|
104
|
+
* Informa se a árvore hierárquica deve ou não ser carregada.
|
105
|
+
*/
|
106
|
+
"shouldLoadTree": boolean;
|
107
|
+
/**
|
108
|
+
* Função responsável por carregar a árvore hierárquica do componente
|
109
|
+
*/
|
110
|
+
"treeLoader"?: (text: string) => Promise<Array<ITreeItem>>;
|
111
|
+
}
|
64
112
|
interface SnkActionsButton {
|
65
113
|
}
|
66
114
|
interface SnkActionsForm {
|
@@ -84,6 +132,7 @@ export namespace Components {
|
|
84
132
|
* @param handler - Função de callback que será chamada quando o client event ocorrer.
|
85
133
|
*/
|
86
134
|
"addClientEvent": (eventID: String, handler: (clientEvent: IClientEventResponse, dataFetcherReacaller: IDataFetcherRecaller) => void) => Promise<void>;
|
135
|
+
"addLoadingLock": (forceReady?: boolean, templateSkeletonType?: TEMPLATES_SKELETON) => Promise<() => void>;
|
87
136
|
/**
|
88
137
|
* Adiciona uma ação pendente que deve ser executada por um determinado locker.
|
89
138
|
* @param actionsLocker nome do locker da ação que será adicionada
|
@@ -105,6 +154,7 @@ export namespace Components {
|
|
105
154
|
* @param options - Parâmetros de URL
|
106
155
|
*/
|
107
156
|
"callServiceBroker": (serviceName: string, payload: string | Object, options?: Options) => Promise<any>;
|
157
|
+
"clearPopUpTitle": () => Promise<void>;
|
108
158
|
/**
|
109
159
|
* Fecha o Modal e limpa o conteúdo.
|
110
160
|
*/
|
@@ -125,6 +175,10 @@ export namespace Components {
|
|
125
175
|
* Cria o DataUnit a partir do nome da entidade. É possível armazená-lo no cache passando o dataUnitName, assim, se mais de uma chamada for feita, o mesmo DataUnit será usado.
|
126
176
|
*/
|
127
177
|
"createDataunit": (entityName: string, dataUnitName?: string, parentDataUnit?: DataUnit, configName?: string, resourceID?: string) => Promise<DataUnit>;
|
178
|
+
/**
|
179
|
+
* Define se o componente deve usar o LockManager para controle de carregamento da aplicação
|
180
|
+
*/
|
181
|
+
"enableLockManagerLoadingApp": boolean;
|
128
182
|
/**
|
129
183
|
* Exibe o diálogo de erro de acordo com os parâmetros passados.
|
130
184
|
*/
|
@@ -132,11 +186,15 @@ export namespace Components {
|
|
132
186
|
/**
|
133
187
|
* Obtém as opções em componentes de pesquisa Ex.: snk-config-options
|
134
188
|
*/
|
135
|
-
"executePreparedSearch": (mode: string, argument: string, options: any) => Promise<Array<
|
189
|
+
"executePreparedSearch": (mode: string, argument: string, options: any) => Promise<Array<IOption1> | IOption1>;
|
190
|
+
/**
|
191
|
+
* Realiza a pesquisa de registros Ex.: snk-config-options
|
192
|
+
*/
|
193
|
+
"executePreparedSearchPlus": (mode: string, argument: string, options: any) => Promise<Array<IOption1> | IOption1>;
|
136
194
|
/**
|
137
195
|
* Obtém as opções em componentes de pesquisa Ex.: snk-config-options
|
138
196
|
*/
|
139
|
-
"executeSearch": (searchArgument: ISearchArgument, fieldName: string, dataUnit: DataUnit) => Promise<Array<
|
197
|
+
"executeSearch": (searchArgument: ISearchArgument, fieldName: string, dataUnit: DataUnit, ctxOptions?: any) => Promise<Array<IOption1> | IOption1>;
|
140
198
|
/**
|
141
199
|
* Com base em um campo realiza um "select distinct" respeitando os filtros atuais do dataUnit e um critério de filtro para a própria coluna.
|
142
200
|
*/
|
@@ -195,6 +253,11 @@ export namespace Components {
|
|
195
253
|
* @return the keyboard manager
|
196
254
|
*/
|
197
255
|
"getKeyboardManager": () => Promise<KeyboardManager>;
|
256
|
+
/**
|
257
|
+
* Obtém o notificador de Layout de formulario.
|
258
|
+
* @return the Configurador de Layout do Formulario
|
259
|
+
*/
|
260
|
+
"getLayoutFormConfig": () => Promise<LayoutFormConfig>;
|
198
261
|
/**
|
199
262
|
* Obtém o resourceID da tela em questão.
|
200
263
|
*/
|
@@ -251,6 +314,7 @@ export namespace Components {
|
|
251
314
|
* Obtém os totalizadores da grade.
|
252
315
|
*/
|
253
316
|
"loadTotals": (name: string, resourceID: string, filters: Array<Filter>) => Promise<Map<string, number>>;
|
317
|
+
"markToReload": (templateSkeletonType?: TEMPLATES_SKELETON) => Promise<void>;
|
254
318
|
/**
|
255
319
|
* Exibe um diálogo de mensagem comum
|
256
320
|
*/
|
@@ -260,6 +324,10 @@ export namespace Components {
|
|
260
324
|
* Abre determinada tela, repassando pkObject.
|
261
325
|
*/
|
262
326
|
"openApp": (resourceId: string, pkObject: Object) => Promise<void>;
|
327
|
+
/**
|
328
|
+
* Remove registro do cache do PreLoader do dataunit. Deve ser usado quando existe um dataunit usando loader do application, mas o removeLoader está sendo sobrescrito.
|
329
|
+
*/
|
330
|
+
"preloadMangerRemoveRecord": (dataUnit: DataUnit, recordsIDs: Array<string>) => Promise<void>;
|
263
331
|
/**
|
264
332
|
* Remove um client event para o DataFetcher da aplicação.
|
265
333
|
* @param eventID - Nome do evento a ser removido.
|
@@ -269,6 +337,7 @@ export namespace Components {
|
|
269
337
|
* Salva a configuração de determinado recurso.
|
270
338
|
*/
|
271
339
|
"saveConfig": (key: string, data: Object) => Promise<any>;
|
340
|
+
"setPopUpTitle": (title: string) => Promise<void>;
|
272
341
|
/**
|
273
342
|
* Atribui valor para parâmetros de contexto no componente de pesquisa.
|
274
343
|
* @param name - Nome do parâmetro
|
@@ -287,6 +356,7 @@ export namespace Components {
|
|
287
356
|
* Exibe o conteúdo passado em um Popup.
|
288
357
|
*/
|
289
358
|
"showPopUp": (content: HTMLElement, size?: "auto" | "full", useHeader?: boolean, onCloseCallback?: Function) => Promise<void>;
|
359
|
+
"showScrimApp": (active: boolean) => Promise<void>;
|
290
360
|
/**
|
291
361
|
* Exibe o diálogo de sucesso de acordo com os parâmetros passados.
|
292
362
|
*/
|
@@ -398,6 +468,10 @@ export namespace Components {
|
|
398
468
|
* ID do container que contém os elementos customizados do configurator.
|
399
469
|
*/
|
400
470
|
"customContainerId": string;
|
471
|
+
/**
|
472
|
+
* Define se o LayoutFormConfig será exibido no configurador.
|
473
|
+
*/
|
474
|
+
"layoutFormConfig": boolean;
|
401
475
|
/**
|
402
476
|
* Responsável por flexibilizar e padronizar o uso de mensagens nos blocos de construção.
|
403
477
|
*/
|
@@ -456,6 +530,22 @@ export namespace Components {
|
|
456
530
|
* 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).
|
457
531
|
*/
|
458
532
|
"disablePersonalizedFilter": boolean;
|
533
|
+
/**
|
534
|
+
* Define a chave customizada para sobrescrever as mensagens (Não pegando pela entidade)
|
535
|
+
*/
|
536
|
+
"domainMessagesBuilder": string;
|
537
|
+
/**
|
538
|
+
* Ativa inserção de registros no modo grade.
|
539
|
+
*/
|
540
|
+
"enableGridInsert"?: boolean;
|
541
|
+
/**
|
542
|
+
* Define se o componente deve usar o LockManager para controle de carregamento da aplicação
|
543
|
+
*/
|
544
|
+
"enableLockManagerLoadingComp"?: boolean;
|
545
|
+
/**
|
546
|
+
* Ativa o gerenciamento de locks na grade pela Taskbar.
|
547
|
+
*/
|
548
|
+
"enableLockManagerTaskbarClick"?: boolean;
|
459
549
|
/**
|
460
550
|
* Chave da configuração legado da barra de filtros.
|
461
551
|
*/
|
@@ -480,6 +570,14 @@ export namespace Components {
|
|
480
570
|
* Chave da configuração legado da grade.
|
481
571
|
*/
|
482
572
|
"gridLegacyConfigName": string;
|
573
|
+
/**
|
574
|
+
* Ignora os campos "somente leitura" no modo de inserção.
|
575
|
+
*/
|
576
|
+
"ignoreReadOnlyFormFields"?: boolean;
|
577
|
+
/**
|
578
|
+
* Define se o LayoutFormConfig será exibido no configurador.
|
579
|
+
*/
|
580
|
+
"layoutFormConfig": boolean;
|
483
581
|
/**
|
484
582
|
* Responsável por flexibilizar e padronizar o uso de mensagens nos blocos de construção.
|
485
583
|
*/
|
@@ -512,6 +610,10 @@ export namespace Components {
|
|
512
610
|
* Configuração da seleção de grade no toast.
|
513
611
|
*/
|
514
612
|
"selectionToastConfig": ISelectionToastConfig;
|
613
|
+
/**
|
614
|
+
* Define uma função para configurar um título cusotmizado no modo formulário.
|
615
|
+
*/
|
616
|
+
"setCustomFormTitle": () => string;
|
515
617
|
/**
|
516
618
|
* Altera/adiciona uma propriedade nos metadados do campo.
|
517
619
|
*/
|
@@ -524,6 +626,10 @@ export namespace Components {
|
|
524
626
|
* Configuração do valor da coluna de status. Exemplo: { "RECDESP": { "-1" : "#BD0025", "1" : "#157A00" } }
|
525
627
|
*/
|
526
628
|
"statusResolver": IStatusResolver | StatusResolverFunction;
|
629
|
+
/**
|
630
|
+
* Modo de exportação dos dados.
|
631
|
+
*/
|
632
|
+
"strategyExporter": IExporterStrategyMode;
|
527
633
|
/**
|
528
634
|
* Gerenciador das barras de tarefas. É possível determinar botões específicos ou mesmo gerenciar o estado dos botões.
|
529
635
|
*/
|
@@ -574,6 +680,10 @@ export namespace Components {
|
|
574
680
|
* Usado para criar o dataUnit uma única vez. Se omitido, será usado o próprio nome da entidade.
|
575
681
|
*/
|
576
682
|
"dataUnitName": string;
|
683
|
+
/**
|
684
|
+
* Define a chave customizada para sobrescrever as mensagens (Não pegando pela entidade)
|
685
|
+
*/
|
686
|
+
"domainMessagesBuilder": string;
|
577
687
|
/**
|
578
688
|
* Determina qual a entidade que representa os dados em questão.
|
579
689
|
*/
|
@@ -680,6 +790,10 @@ export namespace Components {
|
|
680
790
|
*/
|
681
791
|
"label": string;
|
682
792
|
"messagesBuilder": SnkMessageBuilder;
|
793
|
+
/**
|
794
|
+
* Altera o modo de apresentação dos botões do snk-taskbar.
|
795
|
+
*/
|
796
|
+
"presentationMode": PresentationMode;
|
683
797
|
/**
|
684
798
|
* Identificador de recursos como configurações e acesso.
|
685
799
|
*/
|
@@ -815,6 +929,10 @@ export namespace Components {
|
|
815
929
|
* @param filterItem - Item a ser adicionado, caso o item já exista com o ID ele não será adicionado novamente
|
816
930
|
*/
|
817
931
|
"addFilterItem": (filterItem: SnkFilterItemConfig) => Promise<void>;
|
932
|
+
/**
|
933
|
+
* Função chamada depois de aplicar os filtros.
|
934
|
+
*/
|
935
|
+
"afterApplyConfig"?: () => void;
|
818
936
|
/**
|
819
937
|
* Define se a carga dos dados será feita assim que o componente for carregado.
|
820
938
|
*/
|
@@ -823,6 +941,10 @@ export namespace Components {
|
|
823
941
|
* Eventualmente poderemos ter mais de uma barra de filtros. Essa propriedade serve para separar a configuração de cada uma.
|
824
942
|
*/
|
825
943
|
"configName": string;
|
944
|
+
/**
|
945
|
+
* Loader customizado para carregar as configurações
|
946
|
+
*/
|
947
|
+
"customFilterBarConfig"?: (configName: string, resourceId: string, options: any) => Promise<Array<SnkFilterItemConfig>>;
|
826
948
|
/**
|
827
949
|
* 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.
|
828
950
|
*/
|
@@ -831,6 +953,10 @@ export namespace Components {
|
|
831
953
|
* 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).
|
832
954
|
*/
|
833
955
|
"disablePersonalizedFilter": boolean;
|
956
|
+
/**
|
957
|
+
* Define se o componente deve usar o LockManager para controle de carregamento
|
958
|
+
*/
|
959
|
+
"enableLockManagerLoadingComp"?: boolean;
|
834
960
|
/**
|
835
961
|
* Chave da configuração legado da barra de filtros.
|
836
962
|
*/
|
@@ -1136,7 +1262,7 @@ export namespace Components {
|
|
1136
1262
|
/**
|
1137
1263
|
* Define o valor do componente snk-filter-search
|
1138
1264
|
*/
|
1139
|
-
"value":
|
1265
|
+
"value": IOption2;
|
1140
1266
|
}
|
1141
1267
|
interface SnkFilterText {
|
1142
1268
|
/**
|
@@ -1195,6 +1321,10 @@ export namespace Components {
|
|
1195
1321
|
* Repositório de dados, controla a manipulação dos dados.
|
1196
1322
|
*/
|
1197
1323
|
"dataUnit": DataUnit;
|
1324
|
+
/**
|
1325
|
+
* Ignora os campos "somente leitura" no modo de inserção.
|
1326
|
+
*/
|
1327
|
+
"ignoreReadOnlyFormFields"?: boolean;
|
1198
1328
|
/**
|
1199
1329
|
* Responsável por flexibilizar e padronizar o uso de mensagens nos blocos de construção.
|
1200
1330
|
*/
|
@@ -1320,6 +1450,18 @@ export namespace Components {
|
|
1320
1450
|
* 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).
|
1321
1451
|
*/
|
1322
1452
|
"disablePersonalizedFilter": boolean;
|
1453
|
+
/**
|
1454
|
+
* Ativa inserção de registros no modo grade.
|
1455
|
+
*/
|
1456
|
+
"enableGridInsert"?: boolean;
|
1457
|
+
/**
|
1458
|
+
* Define se o componente deve usar o LockManager para controle de carregamento da aplicação
|
1459
|
+
*/
|
1460
|
+
"enableLockManagerLoadingComp"?: boolean;
|
1461
|
+
/**
|
1462
|
+
* Ativa o gerenciamento de locks na grade pela Taskbar.
|
1463
|
+
*/
|
1464
|
+
"enableLockManagerTaskbarClick"?: boolean;
|
1323
1465
|
/**
|
1324
1466
|
* Chave da configuração legado da barra de filtros.
|
1325
1467
|
*/
|
@@ -1360,6 +1502,10 @@ export namespace Components {
|
|
1360
1502
|
* Determina se pode haver mais de uma linha selecionada.
|
1361
1503
|
*/
|
1362
1504
|
"multipleSelection": boolean;
|
1505
|
+
/**
|
1506
|
+
* Altera visualmente as sombras e bordas do componente Quando false, aplica o padrão de sombras ao componente (Utilizar quando for o elemento principal do layout) Quando true, aplica o padrão de outline ao componente (Utilizar quando estiver contido em outro elemento como um painel ou pop-up)
|
1507
|
+
*/
|
1508
|
+
"outlineMode"?: boolean;
|
1363
1509
|
/**
|
1364
1510
|
* Altera o modo de apresentação dos botões do snk-taskbar.
|
1365
1511
|
*/
|
@@ -1368,6 +1514,7 @@ export namespace Components {
|
|
1368
1514
|
* Validador responsável por checar a integridade das informações do registro.
|
1369
1515
|
*/
|
1370
1516
|
"recordsValidator": IRecordValidator;
|
1517
|
+
"reloadConfig": () => Promise<void>;
|
1371
1518
|
/**
|
1372
1519
|
* Faz o recarregamento da filter-bar da grade buscando o state no servidor.
|
1373
1520
|
*/
|
@@ -1400,6 +1547,10 @@ export namespace Components {
|
|
1400
1547
|
* Configuração do valor da coluna de status. Exemplo: '{ "RECDESP": { "-1" : "#BD0025", "1" : "#157A00" } }'
|
1401
1548
|
*/
|
1402
1549
|
"statusResolver": IStatusResolver | StatusResolverFunction;
|
1550
|
+
/**
|
1551
|
+
* Modo de exportação dos dados.
|
1552
|
+
*/
|
1553
|
+
"strategyExporter": IExporterStrategyMode;
|
1403
1554
|
/**
|
1404
1555
|
* Define o identificador do container de elementos customizados da Taskbar.
|
1405
1556
|
*/
|
@@ -1472,6 +1623,10 @@ export namespace Components {
|
|
1472
1623
|
* Define o identificador do container de elementos customizados da Taskbar da aba de detalhes.
|
1473
1624
|
*/
|
1474
1625
|
"detailTaskbarCustomContainerId": string;
|
1626
|
+
/**
|
1627
|
+
* Ativa inserção de registros no modo grade.
|
1628
|
+
*/
|
1629
|
+
"enableGridInsert"?: boolean;
|
1475
1630
|
/**
|
1476
1631
|
* Determina todo o caminho de entidades.
|
1477
1632
|
*/
|
@@ -1484,6 +1639,14 @@ export namespace Components {
|
|
1484
1639
|
* Chave da configuração legado do formulário.
|
1485
1640
|
*/
|
1486
1641
|
"formLegacyConfigName": string;
|
1642
|
+
/**
|
1643
|
+
* Fornece uma função para obter um título customizado do formulário.
|
1644
|
+
*/
|
1645
|
+
"getCustomTitle": () => string;
|
1646
|
+
/**
|
1647
|
+
* Ignora os campos "somente leitura" no modo de inserção.
|
1648
|
+
*/
|
1649
|
+
"ignoreReadOnlyFormFields"?: boolean;
|
1487
1650
|
/**
|
1488
1651
|
* Configuração do formulário master.
|
1489
1652
|
*/
|
@@ -1526,6 +1689,12 @@ export namespace Components {
|
|
1526
1689
|
*/
|
1527
1690
|
"taskbarManager": TaskbarManager;
|
1528
1691
|
}
|
1692
|
+
interface SnkLayoutFormConfig {
|
1693
|
+
/**
|
1694
|
+
* Salva o tipo de layout escolhido. Sem retorno.
|
1695
|
+
*/
|
1696
|
+
"save": () => Promise<void>;
|
1697
|
+
}
|
1529
1698
|
interface SnkPersonalizedFilter {
|
1530
1699
|
/**
|
1531
1700
|
* Nome da configuração. Serve para distinguir várias instâncias do componente.
|
@@ -1569,13 +1738,25 @@ export namespace Components {
|
|
1569
1738
|
/**
|
1570
1739
|
* Controla o valor do componente.
|
1571
1740
|
*/
|
1572
|
-
"value": Array<
|
1741
|
+
"value": Array<IOption2|boolean|string|number|Date>;
|
1573
1742
|
}
|
1574
1743
|
interface SnkPesquisa {
|
1744
|
+
/**
|
1745
|
+
* Define se permite seleção de items não analíticos
|
1746
|
+
*/
|
1747
|
+
"allowsNonAnalytic": boolean;
|
1575
1748
|
/**
|
1576
1749
|
* Argumentos que serão usados ao chamar a função searchLoader.
|
1577
1750
|
*/
|
1578
1751
|
"argument": string;
|
1752
|
+
/**
|
1753
|
+
* Nome da entidade onde a pesquisa é aplicada.
|
1754
|
+
*/
|
1755
|
+
"entityName": string;
|
1756
|
+
/**
|
1757
|
+
* Define se a popup de pesquisa possuirá ou não modo Hierarquico.
|
1758
|
+
*/
|
1759
|
+
"isHierarchyEntity": boolean;
|
1579
1760
|
/**
|
1580
1761
|
* Função responsável em carregar os itens do componente snk-pesquisa.
|
1581
1762
|
*/
|
@@ -1583,7 +1764,11 @@ export namespace Components {
|
|
1583
1764
|
/**
|
1584
1765
|
* Função disparada ao selecionar um item.
|
1585
1766
|
*/
|
1586
|
-
"selectItem": (option:
|
1767
|
+
"selectItem": (option: IOption2) => void;
|
1768
|
+
/**
|
1769
|
+
* Função responsável por carregar a árvore hierárquica do componente
|
1770
|
+
*/
|
1771
|
+
"treeLoader"?: (text: string) => Promise<any>;
|
1587
1772
|
}
|
1588
1773
|
interface SnkPrintSelector {
|
1589
1774
|
"openPrintSelector": (printJobData: PendingPrintJobData) => Promise<PrintSelectorResponse>;
|
@@ -1592,7 +1777,7 @@ export namespace Components {
|
|
1592
1777
|
/**
|
1593
1778
|
* Determina a opção selecionada.
|
1594
1779
|
*/
|
1595
|
-
"selectedOption":
|
1780
|
+
"selectedOption": IOption2 | string;
|
1596
1781
|
}
|
1597
1782
|
interface SnkSimpleBar {
|
1598
1783
|
/**
|
@@ -1643,6 +1828,23 @@ export namespace Components {
|
|
1643
1828
|
"configName": string;
|
1644
1829
|
"dataState": DataState1;
|
1645
1830
|
"dataUnit": DataUnit;
|
1831
|
+
/**
|
1832
|
+
* Define a chave customizada para sobrescrever as mensagens (Não pegando pela entidade)
|
1833
|
+
*/
|
1834
|
+
"domainMessagesBuilder": string;
|
1835
|
+
"enableContinuousInsert": boolean;
|
1836
|
+
/**
|
1837
|
+
* Ativa inserção de registros no modo grade.
|
1838
|
+
*/
|
1839
|
+
"enableGridInsert"?: boolean;
|
1840
|
+
/**
|
1841
|
+
* Define se o componente deve usar o LockManager para controle de carregamento da aplicação
|
1842
|
+
*/
|
1843
|
+
"enableLockManagerLoadingComp"?: boolean;
|
1844
|
+
/**
|
1845
|
+
* Ativa o gerenciamento de locks na grade pela Taskbar.
|
1846
|
+
*/
|
1847
|
+
"enableLockManagerTaskbarClick"?: boolean;
|
1646
1848
|
/**
|
1647
1849
|
* Define o nome da entidade que o componente vai utilizar para fazer as operações de CRUD
|
1648
1850
|
*/
|
@@ -1666,6 +1868,10 @@ export namespace Components {
|
|
1666
1868
|
* Ignora os campos "somente leitura" no modo de inserção.
|
1667
1869
|
*/
|
1668
1870
|
"ignoreReadOnlyFormFields": boolean;
|
1871
|
+
/**
|
1872
|
+
* Define se o LayoutFormConfig será exibido no configurador.
|
1873
|
+
*/
|
1874
|
+
"layoutFormConfig": boolean;
|
1669
1875
|
/**
|
1670
1876
|
* Responsável por flexibilizar e padronizar o uso de mensagens nos blocos de construção.
|
1671
1877
|
*/
|
@@ -1679,6 +1885,10 @@ export namespace Components {
|
|
1679
1885
|
* Usado para abrir o configurator do CRUD
|
1680
1886
|
*/
|
1681
1887
|
"openConfigurator": () => Promise<void>;
|
1888
|
+
/**
|
1889
|
+
* Altera visualmente as sombras e bordas do componente Quando false, aplica o padrão de sombras ao componente (Utilizar quando for o elemento principal do layout) Quando true, aplica o padrão de outline ao componente (Utilizar quando estiver contido em outro elemento como um painel ou pop-up)
|
1890
|
+
*/
|
1891
|
+
"outlineMode"?: boolean;
|
1682
1892
|
/**
|
1683
1893
|
* Determina quantas linhas são retornadas por página.
|
1684
1894
|
*/
|
@@ -1712,6 +1922,20 @@ export namespace Components {
|
|
1712
1922
|
*/
|
1713
1923
|
"useEnterLikeTab": boolean;
|
1714
1924
|
}
|
1925
|
+
interface SnkSimpleFormConfig {
|
1926
|
+
/**
|
1927
|
+
* Chave que representa a configuração do formulário
|
1928
|
+
*/
|
1929
|
+
"configName": string;
|
1930
|
+
/**
|
1931
|
+
* Data unit responsável pelos campos disponíveis
|
1932
|
+
*/
|
1933
|
+
"dataUnit": DataUnit;
|
1934
|
+
/**
|
1935
|
+
* Responsável por abrir o configurador.
|
1936
|
+
*/
|
1937
|
+
"show": () => Promise<void>;
|
1938
|
+
}
|
1715
1939
|
interface SnkTabConfig {
|
1716
1940
|
/**
|
1717
1941
|
* Responsável por flexibilizar e padronizar o uso de mensagens nos blocos de construção.
|
@@ -1792,6 +2016,12 @@ export namespace Components {
|
|
1792
2016
|
*/
|
1793
2017
|
"resourceID": string;
|
1794
2018
|
}
|
2019
|
+
interface SnkViewRepresentation {
|
2020
|
+
/**
|
2021
|
+
* Define o layout do componente: 'CASCADE' ou 'SIDE_BY_SIDE'
|
2022
|
+
*/
|
2023
|
+
"mode": FormLayout;
|
2024
|
+
}
|
1795
2025
|
interface TaskbarActionsButton {
|
1796
2026
|
/**
|
1797
2027
|
* Define a lista de ações.
|
@@ -1821,6 +2051,14 @@ export namespace Components {
|
|
1821
2051
|
interface TestePesquisa {
|
1822
2052
|
}
|
1823
2053
|
}
|
2054
|
+
export interface PesquisaGridCustomEvent<T> extends CustomEvent<T> {
|
2055
|
+
detail: T;
|
2056
|
+
target: HTMLPesquisaGridElement;
|
2057
|
+
}
|
2058
|
+
export interface PesquisaTreeCustomEvent<T> extends CustomEvent<T> {
|
2059
|
+
detail: T;
|
2060
|
+
target: HTMLPesquisaTreeElement;
|
2061
|
+
}
|
1824
2062
|
export interface SnkApplicationCustomEvent<T> extends CustomEvent<T> {
|
1825
2063
|
detail: T;
|
1826
2064
|
target: HTMLSnkApplicationElement;
|
@@ -1973,6 +2211,10 @@ export interface SnkSimpleCrudCustomEvent<T> extends CustomEvent<T> {
|
|
1973
2211
|
detail: T;
|
1974
2212
|
target: HTMLSnkSimpleCrudElement;
|
1975
2213
|
}
|
2214
|
+
export interface SnkSimpleFormConfigCustomEvent<T> extends CustomEvent<T> {
|
2215
|
+
detail: T;
|
2216
|
+
target: HTMLSnkSimpleFormConfigElement;
|
2217
|
+
}
|
1976
2218
|
export interface SnkTabConfigCustomEvent<T> extends CustomEvent<T> {
|
1977
2219
|
detail: T;
|
1978
2220
|
target: HTMLSnkTabConfigElement;
|
@@ -1986,6 +2228,18 @@ export interface TaskbarActionsButtonCustomEvent<T> extends CustomEvent<T> {
|
|
1986
2228
|
target: HTMLTaskbarActionsButtonElement;
|
1987
2229
|
}
|
1988
2230
|
declare global {
|
2231
|
+
interface HTMLPesquisaGridElement extends Components.PesquisaGrid, HTMLStencilElement {
|
2232
|
+
}
|
2233
|
+
var HTMLPesquisaGridElement: {
|
2234
|
+
prototype: HTMLPesquisaGridElement;
|
2235
|
+
new (): HTMLPesquisaGridElement;
|
2236
|
+
};
|
2237
|
+
interface HTMLPesquisaTreeElement extends Components.PesquisaTree, HTMLStencilElement {
|
2238
|
+
}
|
2239
|
+
var HTMLPesquisaTreeElement: {
|
2240
|
+
prototype: HTMLPesquisaTreeElement;
|
2241
|
+
new (): HTMLPesquisaTreeElement;
|
2242
|
+
};
|
1989
2243
|
interface HTMLSnkActionsButtonElement extends Components.SnkActionsButton, HTMLStencilElement {
|
1990
2244
|
}
|
1991
2245
|
var HTMLSnkActionsButtonElement: {
|
@@ -2232,6 +2486,12 @@ declare global {
|
|
2232
2486
|
prototype: HTMLSnkGuidesViewerElement;
|
2233
2487
|
new (): HTMLSnkGuidesViewerElement;
|
2234
2488
|
};
|
2489
|
+
interface HTMLSnkLayoutFormConfigElement extends Components.SnkLayoutFormConfig, HTMLStencilElement {
|
2490
|
+
}
|
2491
|
+
var HTMLSnkLayoutFormConfigElement: {
|
2492
|
+
prototype: HTMLSnkLayoutFormConfigElement;
|
2493
|
+
new (): HTMLSnkLayoutFormConfigElement;
|
2494
|
+
};
|
2235
2495
|
interface HTMLSnkPersonalizedFilterElement extends Components.SnkPersonalizedFilter, HTMLStencilElement {
|
2236
2496
|
}
|
2237
2497
|
var HTMLSnkPersonalizedFilterElement: {
|
@@ -2274,6 +2534,12 @@ declare global {
|
|
2274
2534
|
prototype: HTMLSnkSimpleCrudElement;
|
2275
2535
|
new (): HTMLSnkSimpleCrudElement;
|
2276
2536
|
};
|
2537
|
+
interface HTMLSnkSimpleFormConfigElement extends Components.SnkSimpleFormConfig, HTMLStencilElement {
|
2538
|
+
}
|
2539
|
+
var HTMLSnkSimpleFormConfigElement: {
|
2540
|
+
prototype: HTMLSnkSimpleFormConfigElement;
|
2541
|
+
new (): HTMLSnkSimpleFormConfigElement;
|
2542
|
+
};
|
2277
2543
|
interface HTMLSnkTabConfigElement extends Components.SnkTabConfig, HTMLStencilElement {
|
2278
2544
|
}
|
2279
2545
|
var HTMLSnkTabConfigElement: {
|
@@ -2286,6 +2552,12 @@ declare global {
|
|
2286
2552
|
prototype: HTMLSnkTaskbarElement;
|
2287
2553
|
new (): HTMLSnkTaskbarElement;
|
2288
2554
|
};
|
2555
|
+
interface HTMLSnkViewRepresentationElement extends Components.SnkViewRepresentation, HTMLStencilElement {
|
2556
|
+
}
|
2557
|
+
var HTMLSnkViewRepresentationElement: {
|
2558
|
+
prototype: HTMLSnkViewRepresentationElement;
|
2559
|
+
new (): HTMLSnkViewRepresentationElement;
|
2560
|
+
};
|
2289
2561
|
interface HTMLTaskbarActionsButtonElement extends Components.TaskbarActionsButton, HTMLStencilElement {
|
2290
2562
|
}
|
2291
2563
|
var HTMLTaskbarActionsButtonElement: {
|
@@ -2299,6 +2571,8 @@ declare global {
|
|
2299
2571
|
new (): HTMLTestePesquisaElement;
|
2300
2572
|
};
|
2301
2573
|
interface HTMLElementTagNameMap {
|
2574
|
+
"pesquisa-grid": HTMLPesquisaGridElement;
|
2575
|
+
"pesquisa-tree": HTMLPesquisaTreeElement;
|
2302
2576
|
"snk-actions-button": HTMLSnkActionsButtonElement;
|
2303
2577
|
"snk-actions-form": HTMLSnkActionsFormElement;
|
2304
2578
|
"snk-application": HTMLSnkApplicationElement;
|
@@ -2340,6 +2614,7 @@ declare global {
|
|
2340
2614
|
"snk-grid": HTMLSnkGridElement;
|
2341
2615
|
"snk-grid-config": HTMLSnkGridConfigElement;
|
2342
2616
|
"snk-guides-viewer": HTMLSnkGuidesViewerElement;
|
2617
|
+
"snk-layout-form-config": HTMLSnkLayoutFormConfigElement;
|
2343
2618
|
"snk-personalized-filter": HTMLSnkPersonalizedFilterElement;
|
2344
2619
|
"snk-personalized-filter-editor": HTMLSnkPersonalizedFilterEditorElement;
|
2345
2620
|
"snk-pesquisa": HTMLSnkPesquisaElement;
|
@@ -2347,13 +2622,61 @@ declare global {
|
|
2347
2622
|
"snk-select-box": HTMLSnkSelectBoxElement;
|
2348
2623
|
"snk-simple-bar": HTMLSnkSimpleBarElement;
|
2349
2624
|
"snk-simple-crud": HTMLSnkSimpleCrudElement;
|
2625
|
+
"snk-simple-form-config": HTMLSnkSimpleFormConfigElement;
|
2350
2626
|
"snk-tab-config": HTMLSnkTabConfigElement;
|
2351
2627
|
"snk-taskbar": HTMLSnkTaskbarElement;
|
2628
|
+
"snk-view-representation": HTMLSnkViewRepresentationElement;
|
2352
2629
|
"taskbar-actions-button": HTMLTaskbarActionsButtonElement;
|
2353
2630
|
"teste-pesquisa": HTMLTestePesquisaElement;
|
2354
2631
|
}
|
2355
2632
|
}
|
2356
2633
|
declare namespace LocalJSX {
|
2634
|
+
interface PesquisaGrid {
|
2635
|
+
/**
|
2636
|
+
* Registros da grade
|
2637
|
+
*/
|
2638
|
+
"dataSource"?: Record[];
|
2639
|
+
/**
|
2640
|
+
* Campo que representa a descrição do registro
|
2641
|
+
*/
|
2642
|
+
"descriptionField"?: string;
|
2643
|
+
/**
|
2644
|
+
* Nome da entidade representada na grade
|
2645
|
+
*/
|
2646
|
+
"entityName"?: string;
|
2647
|
+
/**
|
2648
|
+
* Campos que representam as colunas da grade.
|
2649
|
+
*/
|
2650
|
+
"metadata"?: UnitMetadata;
|
2651
|
+
"onPesquisaGridSelectItem"?: (event: PesquisaGridCustomEvent<IOption>) => void;
|
2652
|
+
/**
|
2653
|
+
* Campo que representa a chave primária do registro
|
2654
|
+
*/
|
2655
|
+
"pkField"?: string;
|
2656
|
+
/**
|
2657
|
+
* Define se deve carregar configurações da grade
|
2658
|
+
*/
|
2659
|
+
"shouldLoadConfig"?: boolean;
|
2660
|
+
}
|
2661
|
+
interface PesquisaTree {
|
2662
|
+
/**
|
2663
|
+
* Define se permite seleção de items não analíticos
|
2664
|
+
*/
|
2665
|
+
"allowsNonAnalytic"?: boolean;
|
2666
|
+
/**
|
2667
|
+
* Argumentos que serão usados ao chamar a função treeLoader.
|
2668
|
+
*/
|
2669
|
+
"argument"?: string;
|
2670
|
+
"onPesquisaTreeSelectItem"?: (event: PesquisaTreeCustomEvent<IOption>) => void;
|
2671
|
+
/**
|
2672
|
+
* Informa se a árvore hierárquica deve ou não ser carregada.
|
2673
|
+
*/
|
2674
|
+
"shouldLoadTree"?: boolean;
|
2675
|
+
/**
|
2676
|
+
* Função responsável por carregar a árvore hierárquica do componente
|
2677
|
+
*/
|
2678
|
+
"treeLoader"?: (text: string) => Promise<Array<ITreeItem>>;
|
2679
|
+
}
|
2357
2680
|
interface SnkActionsButton {
|
2358
2681
|
}
|
2359
2682
|
interface SnkActionsForm {
|
@@ -2371,6 +2694,10 @@ declare namespace LocalJSX {
|
|
2371
2694
|
* Usado para salvar as configurações dos blocos de construção.
|
2372
2695
|
*/
|
2373
2696
|
"configName"?: string;
|
2697
|
+
/**
|
2698
|
+
* Define se o componente deve usar o LockManager para controle de carregamento da aplicação
|
2699
|
+
*/
|
2700
|
+
"enableLockManagerLoadingApp"?: boolean;
|
2374
2701
|
/**
|
2375
2702
|
* Chave da configuração legado do formulário.
|
2376
2703
|
*/
|
@@ -2476,6 +2803,10 @@ declare namespace LocalJSX {
|
|
2476
2803
|
* ID do container que contém os elementos customizados do configurator.
|
2477
2804
|
*/
|
2478
2805
|
"customContainerId"?: string;
|
2806
|
+
/**
|
2807
|
+
* Define se o LayoutFormConfig será exibido no configurador.
|
2808
|
+
*/
|
2809
|
+
"layoutFormConfig"?: boolean;
|
2479
2810
|
/**
|
2480
2811
|
* Responsável por flexibilizar e padronizar o uso de mensagens nos blocos de construção.
|
2481
2812
|
*/
|
@@ -2530,6 +2861,22 @@ declare namespace LocalJSX {
|
|
2530
2861
|
* 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).
|
2531
2862
|
*/
|
2532
2863
|
"disablePersonalizedFilter"?: boolean;
|
2864
|
+
/**
|
2865
|
+
* Define a chave customizada para sobrescrever as mensagens (Não pegando pela entidade)
|
2866
|
+
*/
|
2867
|
+
"domainMessagesBuilder"?: string;
|
2868
|
+
/**
|
2869
|
+
* Ativa inserção de registros no modo grade.
|
2870
|
+
*/
|
2871
|
+
"enableGridInsert"?: boolean;
|
2872
|
+
/**
|
2873
|
+
* Define se o componente deve usar o LockManager para controle de carregamento da aplicação
|
2874
|
+
*/
|
2875
|
+
"enableLockManagerLoadingComp"?: boolean;
|
2876
|
+
/**
|
2877
|
+
* Ativa o gerenciamento de locks na grade pela Taskbar.
|
2878
|
+
*/
|
2879
|
+
"enableLockManagerTaskbarClick"?: boolean;
|
2533
2880
|
/**
|
2534
2881
|
* Chave da configuração legado da barra de filtros.
|
2535
2882
|
*/
|
@@ -2546,6 +2893,14 @@ declare namespace LocalJSX {
|
|
2546
2893
|
* Chave da configuração legado da grade.
|
2547
2894
|
*/
|
2548
2895
|
"gridLegacyConfigName"?: string;
|
2896
|
+
/**
|
2897
|
+
* Ignora os campos "somente leitura" no modo de inserção.
|
2898
|
+
*/
|
2899
|
+
"ignoreReadOnlyFormFields"?: boolean;
|
2900
|
+
/**
|
2901
|
+
* Define se o LayoutFormConfig será exibido no configurador.
|
2902
|
+
*/
|
2903
|
+
"layoutFormConfig"?: boolean;
|
2549
2904
|
/**
|
2550
2905
|
* Responsável por flexibilizar e padronizar o uso de mensagens nos blocos de construção.
|
2551
2906
|
*/
|
@@ -2570,6 +2925,7 @@ declare namespace LocalJSX {
|
|
2570
2925
|
* Responsável por notificar quando ocorrer a renderização de itens do formulário.
|
2571
2926
|
*/
|
2572
2927
|
"onFormItemsReady"?: (event: SnkCrudCustomEvent<Array<HTMLElement>>) => void;
|
2928
|
+
"onViewModeChanged"?: (event: SnkCrudCustomEvent<VIEW_MODE>) => void;
|
2573
2929
|
/**
|
2574
2930
|
* Altera o modo de apresentação dos botões do snk-taskbar.
|
2575
2931
|
*/
|
@@ -2582,6 +2938,10 @@ declare namespace LocalJSX {
|
|
2582
2938
|
* Configuração da seleção de grade no toast.
|
2583
2939
|
*/
|
2584
2940
|
"selectionToastConfig"?: ISelectionToastConfig;
|
2941
|
+
/**
|
2942
|
+
* Define uma função para configurar um título cusotmizado no modo formulário.
|
2943
|
+
*/
|
2944
|
+
"setCustomFormTitle"?: () => string;
|
2585
2945
|
/**
|
2586
2946
|
* Usado para exibir os botões de ação do snk-configurator
|
2587
2947
|
*/
|
@@ -2590,6 +2950,10 @@ declare namespace LocalJSX {
|
|
2590
2950
|
* Configuração do valor da coluna de status. Exemplo: { "RECDESP": { "-1" : "#BD0025", "1" : "#157A00" } }
|
2591
2951
|
*/
|
2592
2952
|
"statusResolver"?: IStatusResolver | StatusResolverFunction;
|
2953
|
+
/**
|
2954
|
+
* Modo de exportação dos dados.
|
2955
|
+
*/
|
2956
|
+
"strategyExporter"?: IExporterStrategyMode;
|
2593
2957
|
/**
|
2594
2958
|
* Gerenciador das barras de tarefas. É possível determinar botões específicos ou mesmo gerenciar o estado dos botões.
|
2595
2959
|
*/
|
@@ -2644,6 +3008,10 @@ declare namespace LocalJSX {
|
|
2644
3008
|
* Usado para criar o dataUnit uma única vez. Se omitido, será usado o próprio nome da entidade.
|
2645
3009
|
*/
|
2646
3010
|
"dataUnitName"?: string;
|
3011
|
+
/**
|
3012
|
+
* Define a chave customizada para sobrescrever as mensagens (Não pegando pela entidade)
|
3013
|
+
*/
|
3014
|
+
"domainMessagesBuilder"?: string;
|
2647
3015
|
/**
|
2648
3016
|
* Determina qual a entidade que representa os dados em questão.
|
2649
3017
|
*/
|
@@ -2748,6 +3116,10 @@ declare namespace LocalJSX {
|
|
2748
3116
|
* Emitido quando há necessidade de comutar entre grid e form.
|
2749
3117
|
*/
|
2750
3118
|
"onSnkSwitchGuide"?: (event: SnkDetailViewCustomEvent<string>) => void;
|
3119
|
+
/**
|
3120
|
+
* Altera o modo de apresentação dos botões do snk-taskbar.
|
3121
|
+
*/
|
3122
|
+
"presentationMode"?: PresentationMode;
|
2751
3123
|
/**
|
2752
3124
|
* Identificador de recursos como configurações e acesso.
|
2753
3125
|
*/
|
@@ -2906,6 +3278,10 @@ declare namespace LocalJSX {
|
|
2906
3278
|
"onEzChangeFilter"?: (event: SnkFilterAssistentModeCustomEvent<IPersonalizedFilter>) => void;
|
2907
3279
|
}
|
2908
3280
|
interface SnkFilterBar {
|
3281
|
+
/**
|
3282
|
+
* Função chamada depois de aplicar os filtros.
|
3283
|
+
*/
|
3284
|
+
"afterApplyConfig"?: () => void;
|
2909
3285
|
/**
|
2910
3286
|
* Define se a carga dos dados será feita assim que o componente for carregado.
|
2911
3287
|
*/
|
@@ -2914,6 +3290,10 @@ declare namespace LocalJSX {
|
|
2914
3290
|
* Eventualmente poderemos ter mais de uma barra de filtros. Essa propriedade serve para separar a configuração de cada uma.
|
2915
3291
|
*/
|
2916
3292
|
"configName"?: string;
|
3293
|
+
/**
|
3294
|
+
* Loader customizado para carregar as configurações
|
3295
|
+
*/
|
3296
|
+
"customFilterBarConfig"?: (configName: string, resourceId: string, options: any) => Promise<Array<SnkFilterItemConfig>>;
|
2917
3297
|
/**
|
2918
3298
|
* 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.
|
2919
3299
|
*/
|
@@ -2922,6 +3302,10 @@ declare namespace LocalJSX {
|
|
2922
3302
|
* 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).
|
2923
3303
|
*/
|
2924
3304
|
"disablePersonalizedFilter"?: boolean;
|
3305
|
+
/**
|
3306
|
+
* Define se o componente deve usar o LockManager para controle de carregamento
|
3307
|
+
*/
|
3308
|
+
"enableLockManagerLoadingComp"?: boolean;
|
2925
3309
|
/**
|
2926
3310
|
* Chave da configuração legado da barra de filtros.
|
2927
3311
|
*/
|
@@ -3197,7 +3581,7 @@ declare namespace LocalJSX {
|
|
3197
3581
|
/**
|
3198
3582
|
* Define o valor do componente snk-filter-search
|
3199
3583
|
*/
|
3200
|
-
"value"?:
|
3584
|
+
"value"?: IOption2;
|
3201
3585
|
}
|
3202
3586
|
interface SnkFilterText {
|
3203
3587
|
/**
|
@@ -3256,6 +3640,10 @@ declare namespace LocalJSX {
|
|
3256
3640
|
* Repositório de dados, controla a manipulação dos dados.
|
3257
3641
|
*/
|
3258
3642
|
"dataUnit"?: DataUnit;
|
3643
|
+
/**
|
3644
|
+
* Ignora os campos "somente leitura" no modo de inserção.
|
3645
|
+
*/
|
3646
|
+
"ignoreReadOnlyFormFields"?: boolean;
|
3259
3647
|
/**
|
3260
3648
|
* Responsável por flexibilizar e padronizar o uso de mensagens nos blocos de construção.
|
3261
3649
|
*/
|
@@ -3380,6 +3768,18 @@ declare namespace LocalJSX {
|
|
3380
3768
|
* 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).
|
3381
3769
|
*/
|
3382
3770
|
"disablePersonalizedFilter"?: boolean;
|
3771
|
+
/**
|
3772
|
+
* Ativa inserção de registros no modo grade.
|
3773
|
+
*/
|
3774
|
+
"enableGridInsert"?: boolean;
|
3775
|
+
/**
|
3776
|
+
* Define se o componente deve usar o LockManager para controle de carregamento da aplicação
|
3777
|
+
*/
|
3778
|
+
"enableLockManagerLoadingComp"?: boolean;
|
3779
|
+
/**
|
3780
|
+
* Ativa o gerenciamento de locks na grade pela Taskbar.
|
3781
|
+
*/
|
3782
|
+
"enableLockManagerTaskbarClick"?: boolean;
|
3383
3783
|
/**
|
3384
3784
|
* Chave da configuração legado da barra de filtros.
|
3385
3785
|
*/
|
@@ -3416,6 +3816,10 @@ declare namespace LocalJSX {
|
|
3416
3816
|
* Emitido sempre que houver duplo click na grade.
|
3417
3817
|
*/
|
3418
3818
|
"onGridDoubleClick"?: (event: SnkGridCustomEvent<any>) => void;
|
3819
|
+
/**
|
3820
|
+
* Altera visualmente as sombras e bordas do componente Quando false, aplica o padrão de sombras ao componente (Utilizar quando for o elemento principal do layout) Quando true, aplica o padrão de outline ao componente (Utilizar quando estiver contido em outro elemento como um painel ou pop-up)
|
3821
|
+
*/
|
3822
|
+
"outlineMode"?: boolean;
|
3419
3823
|
/**
|
3420
3824
|
* Altera o modo de apresentação dos botões do snk-taskbar.
|
3421
3825
|
*/
|
@@ -3436,6 +3840,10 @@ declare namespace LocalJSX {
|
|
3436
3840
|
* Configuração do valor da coluna de status. Exemplo: '{ "RECDESP": { "-1" : "#BD0025", "1" : "#157A00" } }'
|
3437
3841
|
*/
|
3438
3842
|
"statusResolver"?: IStatusResolver | StatusResolverFunction;
|
3843
|
+
/**
|
3844
|
+
* Modo de exportação dos dados.
|
3845
|
+
*/
|
3846
|
+
"strategyExporter"?: IExporterStrategyMode;
|
3439
3847
|
/**
|
3440
3848
|
* Define o identificador do container de elementos customizados da Taskbar.
|
3441
3849
|
*/
|
@@ -3508,6 +3916,10 @@ declare namespace LocalJSX {
|
|
3508
3916
|
* Define o identificador do container de elementos customizados da Taskbar da aba de detalhes.
|
3509
3917
|
*/
|
3510
3918
|
"detailTaskbarCustomContainerId"?: string;
|
3919
|
+
/**
|
3920
|
+
* Ativa inserção de registros no modo grade.
|
3921
|
+
*/
|
3922
|
+
"enableGridInsert"?: boolean;
|
3511
3923
|
/**
|
3512
3924
|
* Determina todo o caminho de entidades.
|
3513
3925
|
*/
|
@@ -3516,6 +3928,14 @@ declare namespace LocalJSX {
|
|
3516
3928
|
* Chave da configuração legado do formulário.
|
3517
3929
|
*/
|
3518
3930
|
"formLegacyConfigName"?: string;
|
3931
|
+
/**
|
3932
|
+
* Fornece uma função para obter um título customizado do formulário.
|
3933
|
+
*/
|
3934
|
+
"getCustomTitle"?: () => string;
|
3935
|
+
/**
|
3936
|
+
* Ignora os campos "somente leitura" no modo de inserção.
|
3937
|
+
*/
|
3938
|
+
"ignoreReadOnlyFormFields"?: boolean;
|
3519
3939
|
/**
|
3520
3940
|
* Configuração do formulário master.
|
3521
3941
|
*/
|
@@ -3557,6 +3977,8 @@ declare namespace LocalJSX {
|
|
3557
3977
|
*/
|
3558
3978
|
"taskbarManager"?: TaskbarManager;
|
3559
3979
|
}
|
3980
|
+
interface SnkLayoutFormConfig {
|
3981
|
+
}
|
3560
3982
|
interface SnkPersonalizedFilter {
|
3561
3983
|
/**
|
3562
3984
|
* Nome da configuração. Serve para distinguir várias instâncias do componente.
|
@@ -3605,13 +4027,25 @@ declare namespace LocalJSX {
|
|
3605
4027
|
/**
|
3606
4028
|
* Controla o valor do componente.
|
3607
4029
|
*/
|
3608
|
-
"value"?: Array<
|
4030
|
+
"value"?: Array<IOption2|boolean|string|number|Date>;
|
3609
4031
|
}
|
3610
4032
|
interface SnkPesquisa {
|
4033
|
+
/**
|
4034
|
+
* Define se permite seleção de items não analíticos
|
4035
|
+
*/
|
4036
|
+
"allowsNonAnalytic"?: boolean;
|
3611
4037
|
/**
|
3612
4038
|
* Argumentos que serão usados ao chamar a função searchLoader.
|
3613
4039
|
*/
|
3614
4040
|
"argument"?: string;
|
4041
|
+
/**
|
4042
|
+
* Nome da entidade onde a pesquisa é aplicada.
|
4043
|
+
*/
|
4044
|
+
"entityName"?: string;
|
4045
|
+
/**
|
4046
|
+
* Define se a popup de pesquisa possuirá ou não modo Hierarquico.
|
4047
|
+
*/
|
4048
|
+
"isHierarchyEntity"?: boolean;
|
3615
4049
|
/**
|
3616
4050
|
* Função responsável em carregar os itens do componente snk-pesquisa.
|
3617
4051
|
*/
|
@@ -3619,7 +4053,11 @@ declare namespace LocalJSX {
|
|
3619
4053
|
/**
|
3620
4054
|
* Função disparada ao selecionar um item.
|
3621
4055
|
*/
|
3622
|
-
"selectItem"?: (option:
|
4056
|
+
"selectItem"?: (option: IOption2) => void;
|
4057
|
+
/**
|
4058
|
+
* Função responsável por carregar a árvore hierárquica do componente
|
4059
|
+
*/
|
4060
|
+
"treeLoader"?: (text: string) => Promise<any>;
|
3623
4061
|
}
|
3624
4062
|
interface SnkPrintSelector {
|
3625
4063
|
}
|
@@ -3631,7 +4069,7 @@ declare namespace LocalJSX {
|
|
3631
4069
|
/**
|
3632
4070
|
* Determina a opção selecionada.
|
3633
4071
|
*/
|
3634
|
-
"selectedOption"?:
|
4072
|
+
"selectedOption"?: IOption2 | string;
|
3635
4073
|
}
|
3636
4074
|
interface SnkSimpleBar {
|
3637
4075
|
/**
|
@@ -3674,6 +4112,23 @@ declare namespace LocalJSX {
|
|
3674
4112
|
"configName"?: string;
|
3675
4113
|
"dataState"?: DataState1;
|
3676
4114
|
"dataUnit"?: DataUnit;
|
4115
|
+
/**
|
4116
|
+
* Define a chave customizada para sobrescrever as mensagens (Não pegando pela entidade)
|
4117
|
+
*/
|
4118
|
+
"domainMessagesBuilder"?: string;
|
4119
|
+
"enableContinuousInsert"?: boolean;
|
4120
|
+
/**
|
4121
|
+
* Ativa inserção de registros no modo grade.
|
4122
|
+
*/
|
4123
|
+
"enableGridInsert"?: boolean;
|
4124
|
+
/**
|
4125
|
+
* Define se o componente deve usar o LockManager para controle de carregamento da aplicação
|
4126
|
+
*/
|
4127
|
+
"enableLockManagerLoadingComp"?: boolean;
|
4128
|
+
/**
|
4129
|
+
* Ativa o gerenciamento de locks na grade pela Taskbar.
|
4130
|
+
*/
|
4131
|
+
"enableLockManagerTaskbarClick"?: boolean;
|
3677
4132
|
/**
|
3678
4133
|
* Define o nome da entidade que o componente vai utilizar para fazer as operações de CRUD
|
3679
4134
|
*/
|
@@ -3692,6 +4147,10 @@ declare namespace LocalJSX {
|
|
3692
4147
|
* Ignora os campos "somente leitura" no modo de inserção.
|
3693
4148
|
*/
|
3694
4149
|
"ignoreReadOnlyFormFields"?: boolean;
|
4150
|
+
/**
|
4151
|
+
* Define se o LayoutFormConfig será exibido no configurador.
|
4152
|
+
*/
|
4153
|
+
"layoutFormConfig"?: boolean;
|
3695
4154
|
/**
|
3696
4155
|
* Responsável por flexibilizar e padronizar o uso de mensagens nos blocos de construção.
|
3697
4156
|
*/
|
@@ -3725,6 +4184,10 @@ declare namespace LocalJSX {
|
|
3725
4184
|
* Responsável por notificar quando ocorrer a renderização de itens do formulário.
|
3726
4185
|
*/
|
3727
4186
|
"onFormItemsReady"?: (event: SnkSimpleCrudCustomEvent<Array<HTMLElement>>) => void;
|
4187
|
+
/**
|
4188
|
+
* Altera visualmente as sombras e bordas do componente Quando false, aplica o padrão de sombras ao componente (Utilizar quando for o elemento principal do layout) Quando true, aplica o padrão de outline ao componente (Utilizar quando estiver contido em outro elemento como um painel ou pop-up)
|
4189
|
+
*/
|
4190
|
+
"outlineMode"?: boolean;
|
3728
4191
|
/**
|
3729
4192
|
* Determina quantas linhas são retornadas por página.
|
3730
4193
|
*/
|
@@ -3747,6 +4210,17 @@ declare namespace LocalJSX {
|
|
3747
4210
|
*/
|
3748
4211
|
"useEnterLikeTab"?: boolean;
|
3749
4212
|
}
|
4213
|
+
interface SnkSimpleFormConfig {
|
4214
|
+
/**
|
4215
|
+
* Chave que representa a configuração do formulário
|
4216
|
+
*/
|
4217
|
+
"configName"?: string;
|
4218
|
+
/**
|
4219
|
+
* Data unit responsável pelos campos disponíveis
|
4220
|
+
*/
|
4221
|
+
"dataUnit"?: DataUnit;
|
4222
|
+
"onSnkConfigSaved"?: (event: SnkSimpleFormConfigCustomEvent<void>) => void;
|
4223
|
+
}
|
3750
4224
|
interface SnkTabConfig {
|
3751
4225
|
/**
|
3752
4226
|
* Responsável por flexibilizar e padronizar o uso de mensagens nos blocos de construção.
|
@@ -3838,6 +4312,14 @@ declare namespace LocalJSX {
|
|
3838
4312
|
* Emitido sempre que houver click de botão ou ação.
|
3839
4313
|
*/
|
3840
4314
|
"onActionClick"?: (event: SnkTaskbarCustomEvent<string>) => void;
|
4315
|
+
/**
|
4316
|
+
* Emitido sempre que um save é iniciado pela taskbar.
|
4317
|
+
*/
|
4318
|
+
"onTaskbarSaveLocker"?: (event: SnkTaskbarCustomEvent<void>) => void;
|
4319
|
+
/**
|
4320
|
+
* Emitido sempre que o ocorre alguma action que libera o save.
|
4321
|
+
*/
|
4322
|
+
"onTaskbarSaveUnlocker"?: (event: SnkTaskbarCustomEvent<void>) => void;
|
3841
4323
|
/**
|
3842
4324
|
* Define como será o comportamento da taskbar quando ocorrer overflow
|
3843
4325
|
*/
|
@@ -3855,6 +4337,12 @@ declare namespace LocalJSX {
|
|
3855
4337
|
*/
|
3856
4338
|
"resourceID"?: string;
|
3857
4339
|
}
|
4340
|
+
interface SnkViewRepresentation {
|
4341
|
+
/**
|
4342
|
+
* Define o layout do componente: 'CASCADE' ou 'SIDE_BY_SIDE'
|
4343
|
+
*/
|
4344
|
+
"mode"?: FormLayout;
|
4345
|
+
}
|
3858
4346
|
interface TaskbarActionsButton {
|
3859
4347
|
/**
|
3860
4348
|
* Define a lista de ações.
|
@@ -3884,6 +4372,8 @@ declare namespace LocalJSX {
|
|
3884
4372
|
interface TestePesquisa {
|
3885
4373
|
}
|
3886
4374
|
interface IntrinsicElements {
|
4375
|
+
"pesquisa-grid": PesquisaGrid;
|
4376
|
+
"pesquisa-tree": PesquisaTree;
|
3887
4377
|
"snk-actions-button": SnkActionsButton;
|
3888
4378
|
"snk-actions-form": SnkActionsForm;
|
3889
4379
|
"snk-application": SnkApplication;
|
@@ -3925,6 +4415,7 @@ declare namespace LocalJSX {
|
|
3925
4415
|
"snk-grid": SnkGrid;
|
3926
4416
|
"snk-grid-config": SnkGridConfig;
|
3927
4417
|
"snk-guides-viewer": SnkGuidesViewer;
|
4418
|
+
"snk-layout-form-config": SnkLayoutFormConfig;
|
3928
4419
|
"snk-personalized-filter": SnkPersonalizedFilter;
|
3929
4420
|
"snk-personalized-filter-editor": SnkPersonalizedFilterEditor;
|
3930
4421
|
"snk-pesquisa": SnkPesquisa;
|
@@ -3932,8 +4423,10 @@ declare namespace LocalJSX {
|
|
3932
4423
|
"snk-select-box": SnkSelectBox;
|
3933
4424
|
"snk-simple-bar": SnkSimpleBar;
|
3934
4425
|
"snk-simple-crud": SnkSimpleCrud;
|
4426
|
+
"snk-simple-form-config": SnkSimpleFormConfig;
|
3935
4427
|
"snk-tab-config": SnkTabConfig;
|
3936
4428
|
"snk-taskbar": SnkTaskbar;
|
4429
|
+
"snk-view-representation": SnkViewRepresentation;
|
3937
4430
|
"taskbar-actions-button": TaskbarActionsButton;
|
3938
4431
|
"teste-pesquisa": TestePesquisa;
|
3939
4432
|
}
|
@@ -3942,6 +4435,8 @@ export { LocalJSX as JSX };
|
|
3942
4435
|
declare module "@stencil/core" {
|
3943
4436
|
export namespace JSX {
|
3944
4437
|
interface IntrinsicElements {
|
4438
|
+
"pesquisa-grid": LocalJSX.PesquisaGrid & JSXBase.HTMLAttributes<HTMLPesquisaGridElement>;
|
4439
|
+
"pesquisa-tree": LocalJSX.PesquisaTree & JSXBase.HTMLAttributes<HTMLPesquisaTreeElement>;
|
3945
4440
|
"snk-actions-button": LocalJSX.SnkActionsButton & JSXBase.HTMLAttributes<HTMLSnkActionsButtonElement>;
|
3946
4441
|
"snk-actions-form": LocalJSX.SnkActionsForm & JSXBase.HTMLAttributes<HTMLSnkActionsFormElement>;
|
3947
4442
|
"snk-application": LocalJSX.SnkApplication & JSXBase.HTMLAttributes<HTMLSnkApplicationElement>;
|
@@ -3983,6 +4478,7 @@ declare module "@stencil/core" {
|
|
3983
4478
|
"snk-grid": LocalJSX.SnkGrid & JSXBase.HTMLAttributes<HTMLSnkGridElement>;
|
3984
4479
|
"snk-grid-config": LocalJSX.SnkGridConfig & JSXBase.HTMLAttributes<HTMLSnkGridConfigElement>;
|
3985
4480
|
"snk-guides-viewer": LocalJSX.SnkGuidesViewer & JSXBase.HTMLAttributes<HTMLSnkGuidesViewerElement>;
|
4481
|
+
"snk-layout-form-config": LocalJSX.SnkLayoutFormConfig & JSXBase.HTMLAttributes<HTMLSnkLayoutFormConfigElement>;
|
3986
4482
|
"snk-personalized-filter": LocalJSX.SnkPersonalizedFilter & JSXBase.HTMLAttributes<HTMLSnkPersonalizedFilterElement>;
|
3987
4483
|
"snk-personalized-filter-editor": LocalJSX.SnkPersonalizedFilterEditor & JSXBase.HTMLAttributes<HTMLSnkPersonalizedFilterEditorElement>;
|
3988
4484
|
"snk-pesquisa": LocalJSX.SnkPesquisa & JSXBase.HTMLAttributes<HTMLSnkPesquisaElement>;
|
@@ -3990,8 +4486,10 @@ declare module "@stencil/core" {
|
|
3990
4486
|
"snk-select-box": LocalJSX.SnkSelectBox & JSXBase.HTMLAttributes<HTMLSnkSelectBoxElement>;
|
3991
4487
|
"snk-simple-bar": LocalJSX.SnkSimpleBar & JSXBase.HTMLAttributes<HTMLSnkSimpleBarElement>;
|
3992
4488
|
"snk-simple-crud": LocalJSX.SnkSimpleCrud & JSXBase.HTMLAttributes<HTMLSnkSimpleCrudElement>;
|
4489
|
+
"snk-simple-form-config": LocalJSX.SnkSimpleFormConfig & JSXBase.HTMLAttributes<HTMLSnkSimpleFormConfigElement>;
|
3993
4490
|
"snk-tab-config": LocalJSX.SnkTabConfig & JSXBase.HTMLAttributes<HTMLSnkTabConfigElement>;
|
3994
4491
|
"snk-taskbar": LocalJSX.SnkTaskbar & JSXBase.HTMLAttributes<HTMLSnkTaskbarElement>;
|
4492
|
+
"snk-view-representation": LocalJSX.SnkViewRepresentation & JSXBase.HTMLAttributes<HTMLSnkViewRepresentationElement>;
|
3995
4493
|
"taskbar-actions-button": LocalJSX.TaskbarActionsButton & JSXBase.HTMLAttributes<HTMLTaskbarActionsButtonElement>;
|
3996
4494
|
"teste-pesquisa": LocalJSX.TestePesquisa & JSXBase.HTMLAttributes<HTMLTestePesquisaElement>;
|
3997
4495
|
}
|