@sankhyalabs/sankhyablocks 8.16.0-dev.7 → 8.16.0-dev.71
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/{ConfigStorage-a343e418.js → ConfigStorage-d024aec8.js} +2 -2
- package/dist/cjs/{IExporterProvider-597949f9.js → ContinuousInsertUtils-54d44192.js} +65 -23
- package/dist/cjs/{DataFetcher-313debd8.js → DataFetcher-65879b2c.js} +216 -76
- package/dist/cjs/{RecordIDUtils-3735135c.js → GetSelectedRecordsIDsInfo-bd50caf1.js} +10 -10
- package/dist/cjs/{SnkFormConfigManager-166cbd1f.js → SnkFormConfigManager-07f747be.js} +75 -17
- package/dist/cjs/{SnkMessageBuilder-722b104e.js → SnkMessageBuilder-bae64d0d.js} +7 -3
- package/dist/cjs/{auth-fetcher-54f5ff9d.js → auth-fetcher-8480751c.js} +1 -1
- package/dist/cjs/{dataunit-fetcher-688d3f05.js → dataunit-fetcher-8ea97d88.js} +48 -20
- package/dist/cjs/{field-search-f56aa7d6.js → field-search-68e34bf4.js} +5 -1
- package/dist/cjs/{form-config-fetcher-2dd00e5b.js → form-config-fetcher-90126e4c.js} +42 -2
- package/dist/cjs/index-f9e81701.js +16 -32
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{pesquisa-fetcher-680e198f.js → pesquisa-fetcher-f3454c23.js} +185 -2
- package/dist/cjs/pesquisa-grid_2.cjs.entry.js +133 -0
- package/dist/cjs/sankhyablocks.cjs.js +1 -1
- package/dist/cjs/{snk-actions-button_4.cjs.entry.js → snk-actions-button_5.cjs.entry.js} +136 -40
- package/dist/cjs/snk-application.cjs.entry.js +248 -69
- package/dist/cjs/snk-attach.cjs.entry.js +46 -33
- package/dist/cjs/{snk-form-config.cjs.entry.js → snk-config-options_3.cjs.entry.js} +398 -12
- package/dist/cjs/snk-crud.cjs.entry.js +22 -8
- package/dist/cjs/snk-data-exporter.cjs.entry.js +34 -22
- package/dist/cjs/{snk-data-unit-04df81bf.js → snk-data-unit-72ef8777.js} +54 -32
- package/dist/cjs/snk-data-unit.cjs.entry.js +5 -5
- package/dist/cjs/snk-detail-view.cjs.entry.js +12 -12
- package/dist/cjs/snk-exporter-email-sender.cjs.entry.js +1 -1
- package/dist/cjs/snk-filter-bar_4.cjs.entry.js +1436 -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-text.cjs.entry.js +2 -1
- package/dist/cjs/snk-grid.cjs.entry.js +71 -21
- package/dist/cjs/{snk-guides-viewer-bdc41281.js → snk-guides-viewer-b20b0cfd.js} +29 -13
- package/dist/cjs/snk-guides-viewer.cjs.entry.js +9 -9
- 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 +123 -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 +101 -45
- package/dist/cjs/snk-taskbar.cjs.entry.js +64 -38
- package/dist/collection/collection-manifest.json +14 -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/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/snk-application.css +34 -0
- package/dist/collection/components/snk-application/snk-application.js +235 -64
- 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 -4
- package/dist/collection/components/snk-crud/snk-crud.js +122 -3
- package/dist/collection/components/snk-crud/subcomponents/snk-detail-view/snk-detail-view.js +3 -3
- package/dist/collection/components/snk-crud/subcomponents/snk-guides-viewer.css +6 -6
- package/dist/collection/components/snk-crud/subcomponents/snk-guides-viewer.js +72 -6
- 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 +13 -7
- package/dist/collection/components/snk-data-exporter/exporter-strategy/ServerSideExporterStrategy.js +9 -2
- package/dist/collection/components/snk-data-exporter/interfaces/IExporterProvider.js +1 -1
- package/dist/collection/components/snk-data-exporter/providers/ClientSideExporterProvider.js +1 -1
- package/dist/collection/components/snk-data-exporter/providers/ServerSideExporterProvider.js +1 -1
- package/dist/collection/components/snk-data-exporter/snk-data-exporter.js +3 -5
- 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 +52 -30
- 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-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 +5 -1
- 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 +1 -1
- package/dist/collection/components/snk-filter-bar/snk-filter-bar.js +118 -28
- package/dist/collection/components/snk-form/snk-form.js +2 -2
- package/dist/collection/components/snk-form-config/SnkFormConfigManager.js +73 -15
- 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-grid/snk-grid.css +2 -0
- package/dist/collection/components/snk-grid/snk-grid.js +153 -8
- package/dist/collection/components/snk-pesquisa/pesquisa-grid/pesquisa-grid.css +10 -0
- package/dist/collection/components/snk-pesquisa/pesquisa-grid/pesquisa-grid.js +190 -0
- package/dist/collection/components/snk-pesquisa/pesquisa-tree/pesquisa-tree.css +25 -0
- package/dist/collection/components/snk-pesquisa/pesquisa-tree/pesquisa-tree.js +179 -0
- package/dist/collection/components/snk-pesquisa/pesquisaHelper.js +89 -0
- package/dist/collection/components/snk-pesquisa/snk-pesquisa.css +24 -5
- package/dist/collection/components/snk-pesquisa/snk-pesquisa.js +186 -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 +160 -50
- 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 +106 -38
- package/dist/collection/lib/DefaultCustomFormatters/RmPrecisionCustomValueFormatter.js +3 -3
- package/dist/collection/lib/dataUnit/InMemoryLoader.js +2 -4
- package/dist/collection/lib/dataUnit/dataUnitInMemoryUtils.js +34 -9
- package/dist/collection/lib/http/data-fetcher/DataFetcher.js +29 -21
- 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 +2 -2
- package/dist/collection/lib/http/data-fetcher/fetchers/data-unit/loadstrategy/DatasetStrategy.js +9 -2
- package/dist/collection/lib/http/data-fetcher/fetchers/form-config-fetcher.js +45 -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 +98 -4
- 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/sw.js +46 -0
- package/dist/components/{IExporterProvider.js → ContinuousInsertUtils.js} +66 -23
- package/dist/components/DataFetcher.js +217 -77
- package/dist/{esm/RecordIDUtils-87d02110.js → components/GetSelectedRecordsIDsInfo.js} +10 -10
- package/dist/components/ISave.js +346 -1
- package/dist/components/SnkFormConfigManager.js +73 -15
- package/dist/components/SnkMessageBuilder.js +7 -3
- package/dist/components/dataunit-fetcher.js +47 -17
- package/dist/components/form-config-fetcher.js +41 -1
- package/dist/components/index.d.ts +3 -0
- package/dist/components/index.js +3 -0
- package/dist/components/pesquisa-grid.d.ts +11 -0
- package/dist/components/pesquisa-grid.js +6 -0
- package/dist/components/pesquisa-grid2.js +86 -0
- package/dist/components/pesquisa-tree.d.ts +11 -0
- package/dist/components/pesquisa-tree.js +6 -0
- package/dist/components/pesquisa-tree2.js +82 -0
- package/dist/components/snk-actions-button2.js +43 -40
- package/dist/components/snk-application2.js +264 -68
- package/dist/components/snk-attach2.js +54 -60
- package/dist/components/snk-crud.js +83 -59
- package/dist/components/snk-data-exporter2.js +28 -17
- package/dist/components/snk-data-unit2.js +55 -70
- package/dist/components/snk-detail-view2.js +114 -105
- package/dist/components/snk-exporter-email-sender2.js +1 -1
- package/dist/components/snk-filter-bar2.js +64 -30
- 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 +5 -1
- package/dist/components/snk-filter-modal.js +4 -2
- package/dist/components/snk-filter-text.js +2 -1
- package/dist/components/snk-form-config2.js +34 -9
- package/dist/components/snk-form.js +2 -2
- package/dist/components/snk-grid2.js +68 -13
- package/dist/components/snk-personalized-filter-editor.js +4 -4
- package/dist/components/snk-pesquisa2.js +136 -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 +108 -66
- 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 +120 -0
- package/dist/components/snk-taskbar2.js +66 -40
- package/dist/components/teste-pesquisa.js +13 -1
- package/dist/esm/{ConfigStorage-3806514e.js → ConfigStorage-373bb440.js} +2 -2
- package/dist/esm/{IExporterProvider-63a188b6.js → ContinuousInsertUtils-25e7bd9a.js} +66 -25
- package/dist/esm/{DataFetcher-c1baf61d.js → DataFetcher-5221b992.js} +217 -77
- package/dist/esm/GetSelectedRecordsIDsInfo-9fa41508.js +41 -0
- package/dist/esm/{SnkFormConfigManager-31b24066.js → SnkFormConfigManager-1ff928fa.js} +75 -17
- package/dist/esm/{SnkMessageBuilder-89925609.js → SnkMessageBuilder-6fff4a4c.js} +7 -3
- package/dist/esm/{auth-fetcher-039abba3.js → auth-fetcher-e32fe8a4.js} +1 -1
- package/dist/esm/{constants-8457af36.js → constants-7302ee87.js} +1 -1
- package/dist/esm/{dataunit-fetcher-264191b2.js → dataunit-fetcher-8dd93d8b.js} +48 -18
- package/dist/esm/{field-search-efbe307f.js → field-search-f8b1d91e.js} +5 -1
- package/dist/esm/{form-config-fetcher-30fb808f.js → form-config-fetcher-126e2471.js} +42 -2
- package/dist/esm/index-a7d3d3f1.js +16 -32
- package/dist/esm/loader.js +1 -1
- package/dist/{components/pesquisa-fetcher.js → esm/pesquisa-fetcher-0af41f09.js} +186 -4
- package/dist/esm/pesquisa-grid_2.entry.js +128 -0
- package/dist/esm/sankhyablocks.js +1 -1
- package/dist/esm/{snk-actions-button_4.entry.js → snk-actions-button_5.entry.js} +138 -43
- package/dist/esm/snk-application.entry.js +250 -71
- package/dist/esm/snk-attach.entry.js +47 -34
- package/dist/esm/{snk-form-config.entry.js → snk-config-options_3.entry.js} +399 -15
- package/dist/esm/snk-configurator.entry.js +1 -1
- package/dist/esm/snk-crud.entry.js +23 -9
- package/dist/esm/snk-data-exporter.entry.js +35 -23
- package/dist/esm/{snk-data-unit-8eec78bd.js → snk-data-unit-11a49fc3.js} +54 -32
- package/dist/esm/snk-data-unit.entry.js +5 -5
- package/dist/esm/snk-detail-view.entry.js +13 -13
- 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 +1429 -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-text.entry.js +2 -1
- package/dist/esm/snk-grid.entry.js +66 -16
- package/dist/esm/{snk-guides-viewer-dda0fede.js → snk-guides-viewer-94918cf7.js} +30 -14
- package/dist/esm/snk-guides-viewer.entry.js +9 -9
- 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 +123 -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 +99 -43
- package/dist/esm/snk-tab-config.entry.js +1 -1
- package/dist/esm/snk-taskbar.entry.js +65 -39
- package/dist/sankhyablocks/p-09067bee.entry.js +1 -0
- package/dist/sankhyablocks/p-0d86c004.entry.js +1 -0
- package/dist/sankhyablocks/p-1435701f.js +26 -0
- package/dist/sankhyablocks/p-16a1dd18.entry.js +1 -0
- package/dist/sankhyablocks/p-16cc8640.entry.js +11 -0
- package/dist/sankhyablocks/p-17425c72.js +1 -0
- package/dist/sankhyablocks/{p-52920496.js → p-19dc71e9.js} +1 -1
- package/dist/sankhyablocks/p-1a91d1f3.entry.js +1 -0
- package/dist/sankhyablocks/{p-47db7e88.entry.js → p-1cf39cfd.entry.js} +1 -1
- package/dist/sankhyablocks/p-23736d75.js +1 -0
- package/dist/sankhyablocks/{p-8eb67fa4.entry.js → p-2d3f9482.entry.js} +1 -1
- package/dist/sankhyablocks/p-3150ad41.js +1 -0
- package/dist/sankhyablocks/{p-c1d57831.entry.js → p-3a3d4055.entry.js} +1 -1
- package/dist/sankhyablocks/{p-7663f597.entry.js → p-41793e17.entry.js} +1 -1
- package/dist/sankhyablocks/{p-72fc257b.entry.js → p-434817f0.entry.js} +1 -1
- package/dist/sankhyablocks/p-469384a2.entry.js +1 -0
- package/dist/sankhyablocks/p-47178038.entry.js +1 -0
- package/dist/sankhyablocks/p-471785a1.entry.js +1 -0
- package/dist/sankhyablocks/p-4ca8e061.entry.js +1 -0
- package/dist/sankhyablocks/{p-aaa3ee68.entry.js → p-5f157b09.entry.js} +1 -1
- package/dist/sankhyablocks/p-60e4db34.js +1 -0
- package/dist/sankhyablocks/p-618a29ed.entry.js +1 -0
- package/dist/sankhyablocks/p-619aeac8.entry.js +1 -0
- package/dist/sankhyablocks/p-68134a67.entry.js +1 -0
- package/dist/sankhyablocks/p-798386c7.js +6 -0
- package/dist/sankhyablocks/p-7dd49d15.js +1 -0
- package/dist/sankhyablocks/{p-2c68b3ae.entry.js → p-82ee6dc3.entry.js} +1 -1
- package/dist/sankhyablocks/p-89c92727.entry.js +1 -0
- package/dist/sankhyablocks/p-8a1ee5b5.js +1 -0
- package/dist/sankhyablocks/{p-95df461f.entry.js → p-8b4fc28f.entry.js} +1 -1
- package/dist/sankhyablocks/p-8bd86610.entry.js +1 -0
- package/dist/sankhyablocks/{p-41f8bfa3.entry.js → p-8c235d4c.entry.js} +1 -1
- package/dist/sankhyablocks/{p-b0ef4383.js → p-95ce311a.js} +1 -1
- package/dist/sankhyablocks/p-a3803d7c.entry.js +1 -0
- package/dist/sankhyablocks/p-aaef93e8.js +1 -0
- package/dist/sankhyablocks/p-c2e468c9.entry.js +1 -0
- package/dist/sankhyablocks/p-d62228fb.js +1 -0
- package/dist/sankhyablocks/p-d92d4f91.entry.js +1 -0
- package/dist/sankhyablocks/p-ddefbbc7.js +60 -0
- package/dist/sankhyablocks/p-edbe8e15.entry.js +1 -0
- package/dist/sankhyablocks/{p-913a9979.js → p-f0b9303b.js} +1 -1
- 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/snk-application.d.ts +28 -14
- package/dist/types/components/snk-attach/snk-attach.d.ts +1 -0
- package/dist/types/components/snk-crud/snk-crud.d.ts +21 -0
- package/dist/types/components/snk-crud/subcomponents/snk-guides-viewer.d.ts +15 -0
- package/dist/types/components/snk-data-exporter/exporter-strategy/ClientSideExporterStrategy.d.ts +1 -0
- package/dist/types/components/snk-data-exporter/exporter-strategy/ServerSideExporterStrategy.d.ts +1 -0
- 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 +2 -0
- 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 +7 -2
- package/dist/types/components/snk-form-config/snk-form-config.d.ts +4 -0
- package/dist/types/components/snk-grid/snk-grid.d.ts +26 -0
- package/dist/types/components/snk-pesquisa/pesquisa-grid/pesquisa-grid.d.ts +38 -0
- package/dist/types/components/snk-pesquisa/pesquisa-tree/pesquisa-tree.d.ts +29 -0
- package/dist/types/components/snk-pesquisa/pesquisaHelper.d.ts +19 -0
- package/dist/types/components/snk-pesquisa/snk-pesquisa.d.ts +36 -1
- package/dist/types/components/snk-simple-crud/snk-simple-crud.d.ts +27 -7
- 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 +372 -15
- package/dist/types/lib/dataUnit/dataUnitInMemoryUtils.d.ts +12 -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/fetchDataExporter/interfaces/IFetchDataExporterParams.d.ts +1 -1
- package/dist/types/lib/http/data-fetcher/fetchers/form-config-fetcher.d.ts +8 -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 +10 -1
- 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/package.json +4 -3
- package/react/components.d.ts +3 -0
- package/react/components.js +3 -0
- package/react/components.js.map +1 -1
- 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/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-045eae4d.entry.js +0 -11
- package/dist/sankhyablocks/p-219f888d.entry.js +0 -1
- package/dist/sankhyablocks/p-2a408684.js +0 -1
- package/dist/sankhyablocks/p-3a212712.js +0 -1
- package/dist/sankhyablocks/p-3b60db06.entry.js +0 -1
- package/dist/sankhyablocks/p-450c60e4.entry.js +0 -1
- package/dist/sankhyablocks/p-46d38387.entry.js +0 -1
- package/dist/sankhyablocks/p-4e5e1313.entry.js +0 -1
- package/dist/sankhyablocks/p-547eeac8.entry.js +0 -1
- package/dist/sankhyablocks/p-62ba211a.entry.js +0 -1
- package/dist/sankhyablocks/p-70a4af56.entry.js +0 -1
- package/dist/sankhyablocks/p-7505da04.entry.js +0 -1
- package/dist/sankhyablocks/p-75e674ed.entry.js +0 -1
- package/dist/sankhyablocks/p-7a337364.js +0 -1
- package/dist/sankhyablocks/p-7a85fd49.entry.js +0 -1
- package/dist/sankhyablocks/p-7b08d0f8.entry.js +0 -1
- package/dist/sankhyablocks/p-88aa931b.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-af8efd95.js +0 -6
- package/dist/sankhyablocks/p-b05d8893.entry.js +0 -1
- package/dist/sankhyablocks/p-b11aa1e0.entry.js +0 -1
- package/dist/sankhyablocks/p-c2495304.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-d6e26ea8.entry.js +0 -1
- package/dist/sankhyablocks/p-dc7c9047.js +0 -1
- package/dist/sankhyablocks/p-df5451c7.js +0 -26
- package/dist/sankhyablocks/p-e549f7d1.js +0 -1
- package/dist/sankhyablocks/p-e8763234.entry.js +0 -1
- package/dist/sankhyablocks/p-f2809746.entry.js +0 -1
- package/dist/sankhyablocks/p-fa4d8cb4.js +0 -1
- package/dist/sankhyablocks/p-fe79f83a.js +0 -60
- package/dist/types/components/snk-data-exporter/utils/RecordIDUtils.d.ts +0 -3
|
@@ -40,16 +40,16 @@ export declare const serviceNamePDF = "GridPDFBuilderSP.buildPDFFromJson";
|
|
|
40
40
|
export declare const serviceNameXLS = "GridXLSBuilderSP.buildXLSFromJson";
|
|
41
41
|
interface ExpectedPayload {
|
|
42
42
|
serviceName: string;
|
|
43
|
-
|
|
43
|
+
gridTitle: string;
|
|
44
44
|
value: any;
|
|
45
45
|
align?: string;
|
|
46
46
|
type?: string;
|
|
47
47
|
}
|
|
48
|
-
export declare function buildExpectedResponse({ serviceName,
|
|
48
|
+
export declare function buildExpectedResponse({ serviceName, gridTitle, value, align, type }: ExpectedPayload): {
|
|
49
49
|
serviceName: string;
|
|
50
50
|
requestBody: {
|
|
51
51
|
grid: {
|
|
52
|
-
|
|
52
|
+
gridTitle: string;
|
|
53
53
|
columns: {
|
|
54
54
|
column: {
|
|
55
55
|
align: string;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { DataExporterOption } from "../../../lib/@types";
|
|
2
1
|
import IExporterColumnMetadata from "../../../lib/http/data-fetcher/fetchers/fetchDataExporter/interfaces/IExporterColumnMetadata";
|
|
2
|
+
import { DataExporterOption } from "../../../lib/@types";
|
|
3
3
|
export declare function getVisibleColumns(columns: IExporterColumnMetadata[]): IExporterColumnMetadata[];
|
|
4
4
|
export declare function getOptionKey(option: DataExporterOption): string;
|
|
@@ -156,6 +156,7 @@ export declare class SnkDataUnit implements DUActionInterceptor {
|
|
|
156
156
|
private buildDataState;
|
|
157
157
|
private handleDataSaved;
|
|
158
158
|
private handleRecordsRemoved;
|
|
159
|
+
private buildRemoveFinishMessage;
|
|
159
160
|
_dataUnitObserver: (action: DataUnitAction) => Promise<void>;
|
|
160
161
|
/**
|
|
161
162
|
* Conforme mecanismo de mensagens, é possível customizar as mensagens dos blocos de construção
|
|
@@ -167,6 +168,7 @@ export declare class SnkDataUnit implements DUActionInterceptor {
|
|
|
167
168
|
private getMessageParams;
|
|
168
169
|
private getMessageOperation;
|
|
169
170
|
private getDataUnitParentOrChild;
|
|
171
|
+
private updateMetadataWithRMP;
|
|
170
172
|
loadDataUnit(): Promise<void>;
|
|
171
173
|
private getParentSnkDataUnit;
|
|
172
174
|
private handlerLinkFields;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { MaskFormatter } from '@sankhyalabs/core';
|
|
1
2
|
import { EventEmitter } from '../../../stencil-public-runtime';
|
|
2
3
|
import FilterItemType from './filter-item-type.enum';
|
|
3
4
|
import FilterType from '../types/filter-type.enum';
|
|
@@ -83,4 +84,5 @@ export interface SnkFilterItemConfig {
|
|
|
83
84
|
removalBlocked?: boolean;
|
|
84
85
|
groupedItems: Array<SnkFilterItemConfig>;
|
|
85
86
|
originOrder?: number;
|
|
87
|
+
mask?: typeof MaskFormatter.DEFAULT_MASKS;
|
|
86
88
|
}
|
|
@@ -17,8 +17,18 @@ export declare class SnkFilterBar implements FilterProvider {
|
|
|
17
17
|
_firstLoad: boolean;
|
|
18
18
|
_pendingVariables: boolean;
|
|
19
19
|
_customfiltersToBeUpdated: Array<SnkFilterItemConfig>;
|
|
20
|
+
_resolveLoading: any;
|
|
20
21
|
_calculateSortIndex: (item: SnkFilterItemConfig) => number;
|
|
22
|
+
private hasValidValue;
|
|
21
23
|
_filtersComparator: (a: SnkFilterItemConfig, b: SnkFilterItemConfig) => number;
|
|
24
|
+
/**
|
|
25
|
+
* Define se o componente deve usar o LockManager para controle de carregamento
|
|
26
|
+
*/
|
|
27
|
+
enableLockManagerLoadingComp?: boolean;
|
|
28
|
+
/**
|
|
29
|
+
* Loader customizado para carregar as configurações
|
|
30
|
+
*/
|
|
31
|
+
customFilterBarConfig?: (configName: string, resourceId: string, options: any) => Promise<Array<SnkFilterItemConfig>>;
|
|
22
32
|
/**
|
|
23
33
|
* Recebe o DataUnit do ambiente. Se não for informado, procura pela referência
|
|
24
34
|
* do SnkDataUnit. Necessário para se registrar como provedor de filtros.
|
|
@@ -62,6 +72,10 @@ export declare class SnkFilterBar implements FilterProvider {
|
|
|
62
72
|
* Define se a carga dos dados será feita assim que o componente for carregado.
|
|
63
73
|
*/
|
|
64
74
|
autoLoad?: boolean;
|
|
75
|
+
/**
|
|
76
|
+
* Função chamada depois de aplicar os filtros.
|
|
77
|
+
*/
|
|
78
|
+
afterApplyConfig?: () => void;
|
|
65
79
|
configUpdated: EventEmitter<SnkFilterItemConfig[]>;
|
|
66
80
|
allowDefault: boolean;
|
|
67
81
|
scrollerLocked: boolean;
|
|
@@ -137,7 +151,7 @@ export declare class SnkFilterBar implements FilterProvider {
|
|
|
137
151
|
deletePersonalizedFilter(filter: IPersonalizedFilter, filterItemType: FilterItemType, configName: string): void;
|
|
138
152
|
handleHidePersonalizedFilter(reloadFilterBar: boolean): void;
|
|
139
153
|
hidePersonalizedFilter(): void;
|
|
140
|
-
componentWillLoad(): void
|
|
154
|
+
componentWillLoad(): Promise<void>;
|
|
141
155
|
componentDidRender(): void;
|
|
142
156
|
render(): any;
|
|
143
157
|
}
|
|
@@ -8,13 +8,16 @@ export declare class SnkFormConfigManager {
|
|
|
8
8
|
private _configName;
|
|
9
9
|
private _formConfigFetcher;
|
|
10
10
|
private _resourceID;
|
|
11
|
-
|
|
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
|
-
|
|
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
|
}
|
|
@@ -45,6 +45,10 @@ export declare class SnkFormConfig {
|
|
|
45
45
|
* Responsável por flexibilizar e padronizar o uso de mensagens nos blocos de construção.
|
|
46
46
|
*/
|
|
47
47
|
messagesBuilder: SnkMessageBuilder;
|
|
48
|
+
/**
|
|
49
|
+
* Ignora os campos "somente leitura" no modo de inserção.
|
|
50
|
+
*/
|
|
51
|
+
ignoreReadOnlyFormFields?: boolean;
|
|
48
52
|
/**
|
|
49
53
|
* Emitido ao salvar as configurações.
|
|
50
54
|
*/
|
|
@@ -32,14 +32,24 @@ 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;
|
|
45
|
+
/**
|
|
46
|
+
* Define se o componente deve usar o LockManager para controle de carregamento da aplicação
|
|
47
|
+
*/
|
|
48
|
+
enableLockManagerLoadingComp?: boolean;
|
|
49
|
+
/**
|
|
50
|
+
* Ativa o gerenciamento de locks na grade pela Taskbar.
|
|
51
|
+
*/
|
|
52
|
+
enableLockManagerTaskbarClick?: boolean;
|
|
43
53
|
/**
|
|
44
54
|
* Nome usado para salvar/recuperar a configuração.
|
|
45
55
|
*/
|
|
@@ -131,6 +141,16 @@ export declare class SnkGrid {
|
|
|
131
141
|
* Define se a grid será focada ao ser carregada.
|
|
132
142
|
*/
|
|
133
143
|
autoFocus?: boolean;
|
|
144
|
+
/**
|
|
145
|
+
* Ativa inserção de registros no modo grade.
|
|
146
|
+
*/
|
|
147
|
+
enableGridInsert?: boolean;
|
|
148
|
+
/**
|
|
149
|
+
* Altera visualmente as sombras e bordas do componente
|
|
150
|
+
* Quando false, aplica o padrão de sombras ao componente (Utilizar quando for o elemento principal do layout)
|
|
151
|
+
* Quando true, aplica o padrão de outline ao componente (Utilizar quando estiver contido em outro elemento como um painel ou pop-up)
|
|
152
|
+
*/
|
|
153
|
+
outlineMode?: boolean;
|
|
134
154
|
/**
|
|
135
155
|
* Emitido sempre que houver click de botão ou ação.
|
|
136
156
|
*/
|
|
@@ -139,6 +159,7 @@ export declare class SnkGrid {
|
|
|
139
159
|
* Emitido sempre que houver duplo click na grade.
|
|
140
160
|
*/
|
|
141
161
|
gridDoubleClick: EventEmitter<any>;
|
|
162
|
+
reloadConfig(): void;
|
|
142
163
|
/**
|
|
143
164
|
* Exibe a janela de configurações da grade.
|
|
144
165
|
*/
|
|
@@ -183,7 +204,10 @@ export declare class SnkGrid {
|
|
|
183
204
|
* Atribui o foco para a grade.
|
|
184
205
|
*/
|
|
185
206
|
setFocus(): Promise<void>;
|
|
207
|
+
handleClick(event: MouseEvent): Promise<void>;
|
|
208
|
+
private hasToBlockEvent;
|
|
186
209
|
handleGridLegacyConfigName(newLegacyConfig: string, oldLegacyConfig: string): Promise<void>;
|
|
210
|
+
private handleAddFormMode;
|
|
187
211
|
private openGridConfig;
|
|
188
212
|
private closeGridConfig;
|
|
189
213
|
private setGridConfig;
|
|
@@ -211,5 +235,7 @@ export declare class SnkGrid {
|
|
|
211
235
|
private getColumnSearch;
|
|
212
236
|
private getActionsList;
|
|
213
237
|
private handleFilterConfigUpdated;
|
|
238
|
+
private getGridHeaderButtons;
|
|
239
|
+
private isGridInsertActive;
|
|
214
240
|
render(): any;
|
|
215
241
|
}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { EventEmitter } from '../../../stencil-public-runtime';
|
|
2
|
+
import { DataUnit, Record, UnitMetadata } from '@sankhyalabs/core';
|
|
3
|
+
import InMemoryLoader from '../../../lib/dataUnit/InMemoryLoader';
|
|
4
|
+
import { IOption } from '@sankhyalabs/ezui/.diststorybook/types/components/ez-combo-box/ez-combo-box';
|
|
5
|
+
import { IGridConfig } from '@sankhyalabs/ezui/.diststorybook/types/components/ez-grid/controller/EzGridController';
|
|
6
|
+
export declare class PesquisaGrid {
|
|
7
|
+
private _pesquisaFetcher;
|
|
8
|
+
/**
|
|
9
|
+
* Campos que representam as colunas da grade.
|
|
10
|
+
*/
|
|
11
|
+
metadata: UnitMetadata;
|
|
12
|
+
/**
|
|
13
|
+
* Registros da grade
|
|
14
|
+
*/
|
|
15
|
+
dataSource: Record[];
|
|
16
|
+
/**
|
|
17
|
+
* Campo que representa a chave primária do registro
|
|
18
|
+
*/
|
|
19
|
+
pkField: string;
|
|
20
|
+
/**
|
|
21
|
+
* Campo que representa a descrição do registro
|
|
22
|
+
*/
|
|
23
|
+
descriptionField: string;
|
|
24
|
+
/**
|
|
25
|
+
* Nome da entidade representada na grade
|
|
26
|
+
*/
|
|
27
|
+
entityName: string;
|
|
28
|
+
_inMemoryLoader: InMemoryLoader;
|
|
29
|
+
_dataunit: DataUnit;
|
|
30
|
+
_gridConfig: IGridConfig;
|
|
31
|
+
pesquisaGridSelectItem: EventEmitter<IOption>;
|
|
32
|
+
observeDataSource(newValue: any): void;
|
|
33
|
+
componentWillLoad(): Promise<void>;
|
|
34
|
+
private initializeDataUnit;
|
|
35
|
+
private handleDbClick;
|
|
36
|
+
private handleConfigChanged;
|
|
37
|
+
render(): any;
|
|
38
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { EventEmitter } from '../../../stencil-public-runtime';
|
|
2
|
+
import { ITreeItem } from '@sankhyalabs/ezui/.diststorybook/types/components/ez-tree/interfaces/ITreeItem';
|
|
3
|
+
import { IOption } from '@sankhyalabs/ezui/.diststorybook/types/components/ez-combo-box/ez-combo-box';
|
|
4
|
+
export declare class PesquisaTree {
|
|
5
|
+
private _tree;
|
|
6
|
+
/**
|
|
7
|
+
* Função responsável por carregar a árvore hierárquica do componente
|
|
8
|
+
*/
|
|
9
|
+
treeLoader?: (text: string) => Promise<Array<ITreeItem>>;
|
|
10
|
+
/**
|
|
11
|
+
* Argumentos que serão usados ao chamar a função treeLoader.
|
|
12
|
+
*/
|
|
13
|
+
argument: string;
|
|
14
|
+
/**
|
|
15
|
+
* Define se permite seleção de items não analíticos
|
|
16
|
+
*/
|
|
17
|
+
allowsNonAnalytic: boolean;
|
|
18
|
+
pesquisaTreeSelectItem: EventEmitter<IOption>;
|
|
19
|
+
items: ITreeItem[];
|
|
20
|
+
applyFilter(): Promise<void>;
|
|
21
|
+
private loadTree;
|
|
22
|
+
private expandOrCloseAllItems;
|
|
23
|
+
private handleExpandAll;
|
|
24
|
+
private handleCloseAll;
|
|
25
|
+
private handleDbClick;
|
|
26
|
+
componentWillLoad(): Promise<void>;
|
|
27
|
+
private renderEmptyMessate;
|
|
28
|
+
render(): any;
|
|
29
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { UnitMetadata } from '@sankhyalabs/core';
|
|
2
|
+
import { ITreeItem } from '@sankhyalabs/ezui/src/components/ez-tree/interfaces/ITreeItem';
|
|
3
|
+
import { IGridConfig } from '@sankhyalabs/ezui/.diststorybook/types/components/ez-grid/controller/EzGridController';
|
|
4
|
+
export declare function buildGridMetadata(rawValue: any): UnitMetadata;
|
|
5
|
+
export declare function parseLegacyTree(legacy: LegacyTree): ITreeItem[];
|
|
6
|
+
export interface LegacyTreeItem {
|
|
7
|
+
caminho: string;
|
|
8
|
+
codigo: string;
|
|
9
|
+
descricao: string;
|
|
10
|
+
analitico: string;
|
|
11
|
+
no?: LegacyTreeItem[];
|
|
12
|
+
}
|
|
13
|
+
export interface LegacyTree {
|
|
14
|
+
arvore: LegacyNode;
|
|
15
|
+
}
|
|
16
|
+
export interface LegacyNode {
|
|
17
|
+
no: LegacyTreeItem[];
|
|
18
|
+
}
|
|
19
|
+
export declare function parseGridConfig(rawConfig: any): IGridConfig | undefined;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { IOption } from '@sankhyalabs/ezui/dist/types/components/ez-combo-box/ez-combo-box';
|
|
2
2
|
export declare class SnkPesquisa {
|
|
3
3
|
private _textInput;
|
|
4
|
+
private _pesquisaTree;
|
|
4
5
|
private _mdByName;
|
|
5
6
|
private _startHighlightTag;
|
|
6
7
|
private _endHighlightTag;
|
|
@@ -10,26 +11,50 @@ export declare class SnkPesquisa {
|
|
|
10
11
|
private _changeDeboucingTimeout;
|
|
11
12
|
private _limitCharsToSearch;
|
|
12
13
|
private _deboucingTime;
|
|
14
|
+
private _gridMetadata;
|
|
15
|
+
private _gridDataSource;
|
|
16
|
+
private _pkField;
|
|
17
|
+
private _descriptionField;
|
|
18
|
+
private pesquisaFetcher;
|
|
13
19
|
private _element;
|
|
14
20
|
private _itemList;
|
|
15
21
|
private _startLoading;
|
|
22
|
+
private _presentationMode;
|
|
16
23
|
/**
|
|
17
24
|
* Função responsável em carregar os itens do componente snk-pesquisa.
|
|
18
25
|
*/
|
|
19
26
|
searchLoader: (text: string) => Promise<any>;
|
|
27
|
+
/**
|
|
28
|
+
* Função responsável por carregar a árvore hierárquica do componente
|
|
29
|
+
*/
|
|
30
|
+
treeLoader?: (text: string) => Promise<any>;
|
|
20
31
|
/**
|
|
21
32
|
* Função disparada ao selecionar um item.
|
|
22
33
|
*/
|
|
23
34
|
selectItem: (option: IOption) => void;
|
|
35
|
+
/**
|
|
36
|
+
* Nome da entidade onde a pesquisa é aplicada.
|
|
37
|
+
*/
|
|
38
|
+
entityName: string;
|
|
24
39
|
/**
|
|
25
40
|
* Argumentos que serão usados ao chamar a função searchLoader.
|
|
26
41
|
*/
|
|
27
42
|
argument: string;
|
|
43
|
+
/**
|
|
44
|
+
* Define se a popup de pesquisa possuirá ou não modo Hierarquico.
|
|
45
|
+
*/
|
|
46
|
+
isHierarchyEntity: boolean;
|
|
47
|
+
/**
|
|
48
|
+
* Define se permite seleção de items não analíticos
|
|
49
|
+
*/
|
|
50
|
+
allowsNonAnalytic: boolean;
|
|
28
51
|
observeArgument(): void;
|
|
29
52
|
private clearSearch;
|
|
30
53
|
private buildDetails;
|
|
31
54
|
private buildFirstFields;
|
|
32
55
|
private doSearch;
|
|
56
|
+
private processSearchResponse;
|
|
57
|
+
private buildCardItemList;
|
|
33
58
|
private filterFieldsMetadata;
|
|
34
59
|
private removeAtIndex;
|
|
35
60
|
private removeReference;
|
|
@@ -56,6 +81,16 @@ export declare class SnkPesquisa {
|
|
|
56
81
|
private clearDeboucingTimeout;
|
|
57
82
|
private onClickSearch;
|
|
58
83
|
private getMessageView;
|
|
59
|
-
|
|
84
|
+
componentWillLoad(): Promise<void>;
|
|
85
|
+
componentDidLoad(): Promise<void>;
|
|
86
|
+
private onClickList;
|
|
87
|
+
private enableListButton;
|
|
88
|
+
private hideLimitMessage;
|
|
89
|
+
private hideRecordsMessage;
|
|
90
|
+
private getButtonModeInfo;
|
|
91
|
+
private renderContent;
|
|
92
|
+
private renderTree;
|
|
93
|
+
private renderCards;
|
|
94
|
+
private renderPesquisaGrid;
|
|
60
95
|
render(): any;
|
|
61
96
|
}
|
|
@@ -35,13 +35,22 @@ export declare class SnkSimpleCrud {
|
|
|
35
35
|
private _form;
|
|
36
36
|
private _rmPrecisionCustomValueFormatter;
|
|
37
37
|
private _snkDataUnit;
|
|
38
|
+
private _continuousInsertUtils;
|
|
39
|
+
private _snkSimpleFormConfig;
|
|
38
40
|
private _element;
|
|
39
41
|
_showPopUpGridConfig: boolean;
|
|
40
|
-
_showFormConfig: boolean;
|
|
41
42
|
_currentViewMode: VIEW_MODE;
|
|
42
43
|
_config: {};
|
|
43
44
|
_fieldToGetFocus: string;
|
|
44
45
|
_customContainerId: string;
|
|
46
|
+
/**
|
|
47
|
+
* Define se o componente deve usar o LockManager para controle de carregamento da aplicação
|
|
48
|
+
*/
|
|
49
|
+
enableLockManagerLoadingComp?: boolean;
|
|
50
|
+
/**
|
|
51
|
+
* Ativa o gerenciamento de locks na grade pela Taskbar.
|
|
52
|
+
*/
|
|
53
|
+
enableLockManagerTaskbarClick?: boolean;
|
|
45
54
|
dataState: DataState;
|
|
46
55
|
dataUnit: DataUnit;
|
|
47
56
|
/**
|
|
@@ -53,6 +62,7 @@ export declare class SnkSimpleCrud {
|
|
|
53
62
|
formConfig: IFormConfig;
|
|
54
63
|
_formFields: IFieldConfig[];
|
|
55
64
|
private _fieldsProps;
|
|
65
|
+
_enableContinuousInsert: boolean;
|
|
56
66
|
/**
|
|
57
67
|
* Determina se pode haver mais de uma linha selecionada na grade.
|
|
58
68
|
*/
|
|
@@ -66,6 +76,10 @@ export declare class SnkSimpleCrud {
|
|
|
66
76
|
* Identificador de recursos como configurações e acesso.
|
|
67
77
|
*/
|
|
68
78
|
resourceID: string;
|
|
79
|
+
/**
|
|
80
|
+
* Ativa inserção de registros no modo grade.
|
|
81
|
+
*/
|
|
82
|
+
enableGridInsert?: boolean;
|
|
69
83
|
/**
|
|
70
84
|
* Emitido quando há qualquer mudança de estado no DataUnit.
|
|
71
85
|
*/
|
|
@@ -132,10 +146,6 @@ export declare class SnkSimpleCrud {
|
|
|
132
146
|
*/
|
|
133
147
|
autoFocus?: boolean;
|
|
134
148
|
/**
|
|
135
|
-
* Ignora os campos "somente leitura" no modo de inserção.
|
|
136
|
-
*/
|
|
137
|
-
domainMessagesBuilder: string;
|
|
138
|
-
/**
|
|
139
149
|
* Define a chave customizada para sobrescrever as mensagens (Não pegando pela entidade)
|
|
140
150
|
*/
|
|
141
151
|
domainMessagesBuilder: string;
|
|
@@ -151,6 +161,12 @@ export declare class SnkSimpleCrud {
|
|
|
151
161
|
* Define se a carga dos dados será feita assim que o componente for carregado.
|
|
152
162
|
*/
|
|
153
163
|
autoLoad?: boolean;
|
|
164
|
+
/**
|
|
165
|
+
* Altera visualmente as sombras e bordas do componente
|
|
166
|
+
* Quando false, aplica o padrão de sombras ao componente (Utilizar quando for o elemento principal do layout)
|
|
167
|
+
* Quando true, aplica o padrão de outline ao componente (Utilizar quando estiver contido em outro elemento como um painel ou pop-up)
|
|
168
|
+
*/
|
|
169
|
+
outlineMode?: boolean;
|
|
154
170
|
handleResourceIDChanged(newValue: string, oldValue: string): void;
|
|
155
171
|
/**
|
|
156
172
|
* Registra um formatador de valores para uma coluna da grid.
|
|
@@ -165,6 +181,7 @@ export declare class SnkSimpleCrud {
|
|
|
165
181
|
*/
|
|
166
182
|
setFieldProp(fieldName: string, propName: string, value: any): Promise<void>;
|
|
167
183
|
_taskbarProcessor: TaskbarProcessor;
|
|
184
|
+
private getFinishEditionButtonsCallback;
|
|
168
185
|
private getButtons;
|
|
169
186
|
private addConfigButton;
|
|
170
187
|
private get application();
|
|
@@ -224,6 +241,7 @@ export declare class SnkSimpleCrud {
|
|
|
224
241
|
private getFormFields;
|
|
225
242
|
private handleFormSetFields;
|
|
226
243
|
private fieldsOptionLoader;
|
|
244
|
+
private isGridInsertActive;
|
|
227
245
|
private getActionsList;
|
|
228
246
|
private getTopTaskBarId;
|
|
229
247
|
keyDownListener(event: KeyboardEvent): Promise<void>;
|
|
@@ -240,11 +258,13 @@ export declare class SnkSimpleCrud {
|
|
|
240
258
|
private setGridConfig;
|
|
241
259
|
private setFormConfig;
|
|
242
260
|
private closeGridConfig;
|
|
243
|
-
private closeFormConfig;
|
|
244
261
|
private getPageSize;
|
|
245
|
-
private handleShowFormConfig;
|
|
246
262
|
private resolveResourceID;
|
|
247
263
|
private getFormConfig;
|
|
248
264
|
private updateFormConfig;
|
|
265
|
+
private handleDataUnitOnInsertionMode;
|
|
266
|
+
private initKeyboardManager;
|
|
267
|
+
private handleFormConfigSaved;
|
|
268
|
+
private renderTaskbarContent;
|
|
249
269
|
render(): any;
|
|
250
270
|
}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { EventEmitter } from '../../stencil-public-runtime';
|
|
2
|
+
import { ListItem } from '@sankhyalabs/ezui/dist/types/components/ez-list/ez-list';
|
|
3
|
+
import { DataUnit } from '@sankhyalabs/core';
|
|
4
|
+
export declare class SnkSimpleFormConfig {
|
|
5
|
+
private ezPopupRef;
|
|
6
|
+
private ezDoubleListRef;
|
|
7
|
+
private _formConfigFetcher;
|
|
8
|
+
private fieldsToSave;
|
|
9
|
+
/**
|
|
10
|
+
* Data unit responsável pelos campos disponíveis
|
|
11
|
+
*/
|
|
12
|
+
dataUnit: DataUnit;
|
|
13
|
+
/**
|
|
14
|
+
* Chave que representa a configuração do formulário
|
|
15
|
+
*/
|
|
16
|
+
configName: string;
|
|
17
|
+
avaliableFields: ListItem[];
|
|
18
|
+
selectedFields: ListItem[];
|
|
19
|
+
snkConfigSaved: EventEmitter<void>;
|
|
20
|
+
/**
|
|
21
|
+
* Responsável por abrir o configurador.
|
|
22
|
+
*/
|
|
23
|
+
show(): Promise<void>;
|
|
24
|
+
private initializeFormConfig;
|
|
25
|
+
private getConfig;
|
|
26
|
+
private removeDuplicates;
|
|
27
|
+
private sortDisplayedFields;
|
|
28
|
+
private getAllVisibleFieldsFromDataUnit;
|
|
29
|
+
private close;
|
|
30
|
+
private handleResetConfigs;
|
|
31
|
+
private handleCancel;
|
|
32
|
+
private handleSave;
|
|
33
|
+
render(): any;
|
|
34
|
+
}
|
|
@@ -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
|
}
|
|
@@ -88,7 +88,17 @@ export declare class SnkTaskbar {
|
|
|
88
88
|
* Emitido sempre que houver click de botão ou ação.
|
|
89
89
|
*/
|
|
90
90
|
actionClick: EventEmitter<string>;
|
|
91
|
+
/**
|
|
92
|
+
* Emitido sempre que um save é iniciado pela taskbar.
|
|
93
|
+
*/
|
|
94
|
+
taskbarSaveLocker: EventEmitter<void>;
|
|
95
|
+
/**
|
|
96
|
+
* Emitido sempre que o ocorre alguma action que libera o save.
|
|
97
|
+
*/
|
|
98
|
+
taskbarSaveUnlocker: EventEmitter<void>;
|
|
91
99
|
handleCustomSlotElementsLoaded(event: CustomEvent): void;
|
|
100
|
+
handleTaskbarSaveLocker(): void;
|
|
101
|
+
handleTaskbarSaveUnlocker(): void;
|
|
92
102
|
private hasToSearchCustomElements;
|
|
93
103
|
_titleKeyByElement: {
|
|
94
104
|
UPDATE: string;
|
|
@@ -109,6 +119,7 @@ export declare class SnkTaskbar {
|
|
|
109
119
|
observeButtons(): void;
|
|
110
120
|
observeDisabledButtons(): void;
|
|
111
121
|
observeLastWidth(newValue: any, oldValue: any): void;
|
|
122
|
+
observeIsWaitingForSave(newValue: any, oldValue: any): void;
|
|
112
123
|
elementsFromString(strButtons: string): Array<TaskbarElement>;
|
|
113
124
|
private isAllowed;
|
|
114
125
|
/**
|