@sankhyalabs/sankhyablocks 0.0.0-feat-dev-kb-4158.0
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/LICENSE +21 -0
- package/README.md +75 -0
- package/dist/cjs/AuthorizationConfig-79ffae4b.js +7 -0
- package/dist/cjs/ConfigStorage-73e7afff.js +310 -0
- package/dist/cjs/DataFetcher-004811c6.js +7087 -0
- package/dist/cjs/ParamType-90b440a0.js +13 -0
- package/dist/cjs/PersonalizedFilterUtils-1aeb625d.js +220 -0
- package/dist/cjs/SnkFormConfigManager-d1f1a222.js +136 -0
- package/dist/cjs/SnkMessageBuilder-d0abb63d.js +651 -0
- package/dist/cjs/SnkMultiSelectionListDataSource-804ff4c7.js +34 -0
- package/dist/cjs/_commonjsHelpers-537d719a.js +20 -0
- package/dist/cjs/auth-fetcher-58237931.js +34 -0
- package/dist/cjs/constants-d187e03e.js +101 -0
- package/dist/cjs/dataunit-fetcher-029eafbd.js +356 -0
- package/dist/cjs/draggable.bundle-82a25c06.js +6886 -0
- package/dist/cjs/filter-bar-config-fetcher-2b8ed9d0.js +155 -0
- package/dist/cjs/filter-item-type.enum-aa823a00.js +17 -0
- package/dist/cjs/filter-type.enum-b14ce507.js +11 -0
- package/dist/cjs/form-config-fetcher-181767c9.js +181 -0
- package/dist/cjs/index-0e663819.js +33 -0
- package/dist/cjs/index-102ba62d.js +201 -0
- package/dist/cjs/index-8d94b7e0.js +7 -0
- package/dist/cjs/index-c5771aba.js +44 -0
- package/dist/cjs/index-f9e81701.js +2328 -0
- package/dist/cjs/index.cjs.js +2 -0
- package/dist/cjs/loader.cjs.js +22 -0
- package/dist/cjs/pesquisa-fetcher-9a97994a.js +167 -0
- package/dist/cjs/presentationMode-52ec3bdd.js +7 -0
- package/dist/cjs/resource-fetcher-c0332609.js +68 -0
- package/dist/cjs/sankhyablocks.cjs.js +23 -0
- package/dist/cjs/snk-actions-button.cjs.entry.js +705 -0
- package/dist/cjs/snk-actions-form.cjs.entry.js +200 -0
- package/dist/cjs/snk-application.cjs.entry.js +931 -0
- package/dist/cjs/snk-attach.cjs.entry.js +452 -0
- package/dist/cjs/snk-client-confirm.cjs.entry.js +52 -0
- package/dist/cjs/snk-config-options.cjs.entry.js +239 -0
- package/dist/cjs/snk-configurator.cjs.entry.js +99 -0
- package/dist/cjs/snk-crud.cjs.entry.js +183 -0
- package/dist/cjs/snk-data-exporter.cjs.entry.js +520 -0
- package/dist/cjs/snk-data-unit-cc7a7ed0.js +453 -0
- package/dist/cjs/snk-data-unit.cjs.entry.js +13 -0
- package/dist/cjs/snk-detail-view.cjs.entry.js +269 -0
- package/dist/cjs/snk-entity-list.cjs.entry.js +118 -0
- package/dist/cjs/snk-exporter-email-sender.cjs.entry.js +132 -0
- package/dist/cjs/snk-expression-group_2.cjs.entry.js +545 -0
- package/dist/cjs/snk-field-config.cjs.entry.js +60 -0
- package/dist/cjs/snk-filter-advanced-mode_2.cjs.entry.js +60 -0
- package/dist/cjs/snk-filter-bar.cjs.entry.js +510 -0
- package/dist/cjs/snk-filter-binary-select.cjs.entry.js +91 -0
- package/dist/cjs/snk-filter-detail.cjs.entry.js +178 -0
- package/dist/cjs/snk-filter-field-search_2.cjs.entry.js +408 -0
- package/dist/cjs/snk-filter-item.cjs.entry.js +281 -0
- package/dist/cjs/snk-filter-list.cjs.entry.js +152 -0
- package/dist/cjs/snk-filter-modal-item.cjs.entry.js +126 -0
- package/dist/cjs/snk-filter-modal.cjs.entry.js +217 -0
- package/dist/cjs/snk-filter-multi-select.cjs.entry.js +43 -0
- package/dist/cjs/snk-filter-number.cjs.entry.js +44 -0
- package/dist/cjs/snk-filter-period.cjs.entry.js +73 -0
- package/dist/cjs/snk-filter-search.cjs.entry.js +54 -0
- package/dist/cjs/snk-filter-text.cjs.entry.js +36 -0
- package/dist/cjs/snk-form-config.cjs.entry.js +991 -0
- package/dist/cjs/snk-form-summary.cjs.entry.js +61 -0
- package/dist/cjs/snk-form-view.cjs.entry.js +99 -0
- package/dist/cjs/snk-form.cjs.entry.js +87 -0
- package/dist/cjs/snk-grid-config.cjs.entry.js +484 -0
- package/dist/cjs/snk-grid.cjs.entry.js +332 -0
- package/dist/cjs/snk-guides-viewer-27f87d90.js +334 -0
- package/dist/cjs/snk-guides-viewer.cjs.entry.js +28 -0
- package/dist/cjs/snk-personalized-filter-editor.cjs.entry.js +210 -0
- package/dist/cjs/snk-personalized-filter.cjs.entry.js +305 -0
- package/dist/cjs/snk-pesquisa.cjs.entry.js +324 -0
- package/dist/cjs/snk-print-selector.cjs.entry.js +169 -0
- package/dist/cjs/snk-select-box.cjs.entry.js +25 -0
- package/dist/cjs/snk-simple-bar.cjs.entry.js +45 -0
- package/dist/cjs/snk-simple-crud.cjs.entry.js +338 -0
- package/dist/cjs/snk-tab-config.cjs.entry.js +331 -0
- package/dist/cjs/snk-taskbar.cjs.entry.js +221 -0
- package/dist/cjs/taskbar-elements-b98dd6e9.js +121 -0
- package/dist/cjs/taskbar-processor-bce3f499.js +49 -0
- package/dist/cjs/teste-pesquisa.cjs.entry.js +37 -0
- package/dist/collection/collection-manifest.json +171 -0
- package/dist/collection/components/snk-actions-button/actions/enum/ActionsType.js +8 -0
- package/dist/collection/components/snk-actions-button/actions/enum/ParamType.js +11 -0
- package/dist/collection/components/snk-actions-button/actions/enum/RefreshType.js +7 -0
- package/dist/collection/components/snk-actions-button/actions/executor/java.executor.js +22 -0
- package/dist/collection/components/snk-actions-button/actions/executor/javascript.executor.js +20 -0
- package/dist/collection/components/snk-actions-button/actions/executor/launch-screen.executor.js +42 -0
- package/dist/collection/components/snk-actions-button/actions/executor/procedure.executor.js +26 -0
- package/dist/collection/components/snk-actions-button/actions/factory/executor.factory.js +26 -0
- package/dist/collection/components/snk-actions-button/actions/index.js +343 -0
- package/dist/collection/components/snk-actions-button/actions/interfaces/IAction.js +7 -0
- package/dist/collection/components/snk-actions-button/actions/interfaces/IExecSource.js +1 -0
- package/dist/collection/components/snk-actions-button/actions/interfaces/IExecuteActions.js +1 -0
- package/dist/collection/components/snk-actions-button/actions/interfaces/IExecuteActionsProps.js +1 -0
- package/dist/collection/components/snk-actions-button/actions/interfaces/IResultParam.js +1 -0
- package/dist/collection/components/snk-actions-button/clientEvent/index.js +87 -0
- package/dist/collection/components/snk-actions-button/clientEvent/interfaces/IClientEventConfirm.js +1 -0
- package/dist/collection/components/snk-actions-button/snk-actions-button.css +38 -0
- package/dist/collection/components/snk-actions-button/snk-actions-button.js +139 -0
- package/dist/collection/components/snk-actions-button/subcomponents/snk-actions-form.js +263 -0
- package/dist/collection/components/snk-actions-button/subcomponents/snk-client-confirm.js +134 -0
- package/dist/collection/components/snk-application/errorhandler/snk-error-handler.js +60 -0
- package/dist/collection/components/snk-application/snk-application.css +5 -0
- package/dist/collection/components/snk-application/snk-application.js +2000 -0
- package/dist/collection/components/snk-attach/interfaces/index.js +1 -0
- package/dist/collection/components/snk-attach/snk-attach.css +8 -0
- package/dist/collection/components/snk-attach/snk-attach.js +203 -0
- package/dist/collection/components/snk-attach/structure/crud-config-builder.js +37 -0
- package/dist/collection/components/snk-attach/structure/data-unit-builder.js +105 -0
- package/dist/collection/components/snk-attach/structure/index.js +3 -0
- package/dist/collection/components/snk-attach/structure/taskbar-builder.js +47 -0
- package/dist/collection/components/snk-configurator/AuthorizationConfig.js +5 -0
- package/dist/collection/components/snk-configurator/snk-configurator.css +159 -0
- package/dist/collection/components/snk-configurator/snk-configurator.js +293 -0
- package/dist/collection/components/snk-crud/snk-crud.css +6 -0
- package/dist/collection/components/snk-crud/snk-crud.js +536 -0
- package/dist/collection/components/snk-crud/subcomponents/CardFormResizeObserver.js +26 -0
- package/dist/collection/components/snk-crud/subcomponents/GuideBuilder.js +43 -0
- package/dist/collection/components/snk-crud/subcomponents/snk-detail-view/snk-detail-view.css +26 -0
- package/dist/collection/components/snk-crud/subcomponents/snk-detail-view/snk-detail-view.js +548 -0
- package/dist/collection/components/snk-crud/subcomponents/snk-form-summary.css +37 -0
- package/dist/collection/components/snk-crud/subcomponents/snk-form-summary.js +91 -0
- package/dist/collection/components/snk-crud/subcomponents/snk-form-view.css +52 -0
- package/dist/collection/components/snk-crud/subcomponents/snk-form-view.js +376 -0
- package/dist/collection/components/snk-crud/subcomponents/snk-guides-viewer.css +91 -0
- package/dist/collection/components/snk-crud/subcomponents/snk-guides-viewer.js +690 -0
- package/dist/collection/components/snk-data-exporter/data/attachment.js +1 -0
- package/dist/collection/components/snk-data-exporter/data/email.js +1 -0
- package/dist/collection/components/snk-data-exporter/data/export-config.js +1 -0
- package/dist/collection/components/snk-data-exporter/data/export-result.js +1 -0
- package/dist/collection/components/snk-data-exporter/data/report.js +1 -0
- package/dist/collection/components/snk-data-exporter/exporter-email-sender/email-info-step.js +7 -0
- package/dist/collection/components/snk-data-exporter/exporter-email-sender/options-step.js +21 -0
- package/dist/collection/components/snk-data-exporter/exporter-email-sender/snk-exporter-email-sender.js +172 -0
- package/dist/collection/components/snk-data-exporter/interfaces/IExporterProvider.js +1 -0
- package/dist/collection/components/snk-data-exporter/interfaces/IRecordID.js +1 -0
- package/dist/collection/components/snk-data-exporter/interfaces/ISelectedID.js +1 -0
- package/dist/collection/components/snk-data-exporter/snk-data-exporter.css +38 -0
- package/dist/collection/components/snk-data-exporter/snk-data-exporter.js +375 -0
- package/dist/collection/components/snk-data-exporter/structure/ItemBuilder.js +140 -0
- package/dist/collection/components/snk-data-unit/snk-data-unit.css +6 -0
- package/dist/collection/components/snk-data-unit/snk-data-unit.js +838 -0
- package/dist/collection/components/snk-entity-list/snk-entity-list.css +35 -0
- package/dist/collection/components/snk-entity-list/snk-entity-list.js +257 -0
- package/dist/collection/components/snk-filter-bar/filter-item/dataunitfilter/data-unit-filter-builder.js +128 -0
- package/dist/collection/components/snk-filter-bar/filter-item/editors/enum/presentationMode.js +5 -0
- package/dist/collection/components/snk-filter-bar/filter-item/editors/snk-filter-binary-select.js +197 -0
- package/dist/collection/components/snk-filter-bar/filter-item/editors/snk-filter-multi-select.js +123 -0
- package/dist/collection/components/snk-filter-bar/filter-item/editors/snk-filter-number.js +124 -0
- package/dist/collection/components/snk-filter-bar/filter-item/editors/snk-filter-period.js +191 -0
- package/dist/collection/components/snk-filter-bar/filter-item/editors/snk-filter-search.js +137 -0
- package/dist/collection/components/snk-filter-bar/filter-item/editors/snk-filter-text.js +96 -0
- package/dist/collection/components/snk-filter-bar/filter-item/editors/snk-personalized-filter-editor/snk-personalized-filter-editor.css +66 -0
- package/dist/collection/components/snk-filter-bar/filter-item/editors/snk-personalized-filter-editor/snk-personalized-filter-editor.js +396 -0
- package/dist/collection/components/snk-filter-bar/filter-item/filter-item-type.enum.js +13 -0
- package/dist/collection/components/snk-filter-bar/filter-item/snk-filter-detail.js +250 -0
- package/dist/collection/components/snk-filter-bar/filter-item/snk-filter-item.js +415 -0
- package/dist/collection/components/snk-filter-bar/filter-list/snk-filter-list.js +323 -0
- package/dist/collection/components/snk-filter-bar/filter-modal/snk-filter-modal.css +35 -0
- package/dist/collection/components/snk-filter-bar/filter-modal/snk-filter-modal.js +345 -0
- package/dist/collection/components/snk-filter-bar/filter-modal/subcomponents/snk-filter-modal-item.css +8 -0
- package/dist/collection/components/snk-filter-bar/filter-modal/subcomponents/snk-filter-modal-item.js +214 -0
- package/dist/collection/components/snk-filter-bar/snk-filter-bar.css +184 -0
- package/dist/collection/components/snk-filter-bar/snk-filter-bar.js +463 -0
- package/dist/collection/components/snk-filter-bar/types/custom-element-filter.js +1 -0
- package/dist/collection/components/snk-filter-bar/types/filter-type.enum.js +7 -0
- package/dist/collection/components/snk-filter-bar/utils/SnkFilterModalFactory.js +42 -0
- package/dist/collection/components/snk-filter-bar/utils/filters-mock.js +411 -0
- package/dist/collection/components/snk-filter-field-search/interfaces/index.js +5 -0
- package/dist/collection/components/snk-filter-field-search/snk-filter-field-search.css +41 -0
- package/dist/collection/components/snk-filter-field-search/snk-filter-field-search.js +335 -0
- package/dist/collection/components/snk-filter-field-search/subcomponents/index.js +1 -0
- package/dist/collection/components/snk-filter-field-search/subcomponents/list-item.js +24 -0
- package/dist/collection/components/snk-form/SnkFormConfigManager.js +131 -0
- package/dist/collection/components/snk-form/snk-form.css +11 -0
- package/dist/collection/components/snk-form/snk-form.js +216 -0
- package/dist/collection/components/snk-form/subcomponents/snk-config-options/snk-config-options.css +16 -0
- package/dist/collection/components/snk-form/subcomponents/snk-config-options/snk-config-options.js +344 -0
- package/dist/collection/components/snk-form/subcomponents/snk-field-config/snk-field-config.css +219 -0
- package/dist/collection/components/snk-form/subcomponents/snk-field-config/snk-field-config.js +184 -0
- package/dist/collection/components/snk-form/subcomponents/snk-form-config/snk-form-config.css +237 -0
- package/dist/collection/components/snk-form/subcomponents/snk-form-config/snk-form-config.js +1107 -0
- package/dist/collection/components/snk-form/subcomponents/snk-tab-config/snk-tab-config.css +323 -0
- package/dist/collection/components/snk-form/subcomponents/snk-tab-config/snk-tab-config.js +525 -0
- package/dist/collection/components/snk-grid/filtercolumn/SnkMultiSelectionListDataSource.js +29 -0
- package/dist/collection/components/snk-grid/snk-grid.css +28 -0
- package/dist/collection/components/snk-grid/snk-grid.js +682 -0
- package/dist/collection/components/snk-grid/subcomponents/snk-grid-config/snk-grid-config.css +181 -0
- package/dist/collection/components/snk-grid/subcomponents/snk-grid-config/snk-grid-config.js +616 -0
- package/dist/collection/components/snk-grid/subcomponents/snk-select-box/snk-select-box.css +9 -0
- package/dist/collection/components/snk-grid/subcomponents/snk-select-box/snk-select-box.js +70 -0
- package/dist/collection/components/snk-personalized-filter/interfaces/IExpressionGroup.js +0 -0
- package/dist/collection/components/snk-personalized-filter/interfaces/IExpressionItem.js +5 -0
- package/dist/collection/components/snk-personalized-filter/interfaces/IParameter.js +1 -0
- package/dist/collection/components/snk-personalized-filter/interfaces/IPersonalizedFilter.js +1 -0
- package/dist/collection/components/snk-personalized-filter/interfaces/ISystemFilterConfig.js +1 -0
- package/dist/collection/components/snk-personalized-filter/interfaces/IUserFilterConfig.js +1 -0
- package/dist/collection/components/snk-personalized-filter/interfaces/index.js +39 -0
- package/dist/collection/components/snk-personalized-filter/snk-personalized-filter.css +45 -0
- package/dist/collection/components/snk-personalized-filter/snk-personalized-filter.js +440 -0
- package/dist/collection/components/snk-personalized-filter/subcomponents/snk-expression-group/snk-expression-group.css +73 -0
- package/dist/collection/components/snk-personalized-filter/subcomponents/snk-expression-group/snk-expression-group.js +448 -0
- package/dist/collection/components/snk-personalized-filter/subcomponents/snk-expression-item/filter-operands/filter-operands.js +26 -0
- package/dist/collection/components/snk-personalized-filter/subcomponents/snk-expression-item/snk-expression-item.css +111 -0
- package/dist/collection/components/snk-personalized-filter/subcomponents/snk-expression-item/snk-expression-item.js +412 -0
- package/dist/collection/components/snk-personalized-filter/subcomponents/snk-filter-advanced-mode/snk-filter-advanced-mode.css +10 -0
- package/dist/collection/components/snk-personalized-filter/subcomponents/snk-filter-advanced-mode/snk-filter-advanced-mode.js +88 -0
- package/dist/collection/components/snk-personalized-filter/subcomponents/snk-filter-assistent-mode/snk-filter-assistent-mode.css +66 -0
- package/dist/collection/components/snk-personalized-filter/subcomponents/snk-filter-assistent-mode/snk-filter-assistent-mode.js +158 -0
- package/dist/collection/components/snk-personalized-filter/subcomponents/snk-filter-param-config/snk-filter-param-config.css +12 -0
- package/dist/collection/components/snk-personalized-filter/subcomponents/snk-filter-param-config/snk-filter-param-config.js +291 -0
- package/dist/collection/components/snk-personalized-filter/subcomponents/snk-filter-param-config/utils/PersonalizedFilterUtils.js +215 -0
- package/dist/collection/components/snk-pesquisa/snk-pesquisa.css +151 -0
- package/dist/collection/components/snk-pesquisa/snk-pesquisa.js +394 -0
- package/dist/collection/components/snk-print-selector/snk-print-selector.css +35 -0
- package/dist/collection/components/snk-print-selector/snk-print-selector.js +203 -0
- package/dist/collection/components/snk-simple-bar/snk-simple-bar.css +32 -0
- package/dist/collection/components/snk-simple-bar/snk-simple-bar.js +146 -0
- package/dist/collection/components/snk-simple-crud/snk-simple-crud.css +22 -0
- package/dist/collection/components/snk-simple-crud/snk-simple-crud.js +575 -0
- package/dist/collection/components/snk-taskbar/elements/taskbar-elements.js +114 -0
- package/dist/collection/components/snk-taskbar/processor/taskbar-processor.js +45 -0
- package/dist/collection/components/snk-taskbar/snk-taskbar.css +3 -0
- package/dist/collection/components/snk-taskbar/snk-taskbar.js +427 -0
- package/dist/collection/components/teste-pesquisa/teste-pesquisa.css +3 -0
- package/dist/collection/components/teste-pesquisa/teste-pesquisa.js +36 -0
- package/dist/collection/index.js +1 -0
- package/dist/collection/lib/@types/index.js +31 -0
- package/dist/collection/lib/applet-caller/applet-caller.js +6 -0
- package/dist/collection/lib/auth/mgeauthorization.module.js +1 -0
- package/dist/collection/lib/configs/ConfigStorage.js +95 -0
- package/dist/collection/lib/dataUnit/InMemoryLoader.js +134 -0
- package/dist/collection/lib/http/data-fetcher/DataFetcher.js +408 -0
- package/dist/collection/lib/http/data-fetcher/fetchers/application-config-fetcher.js +23 -0
- package/dist/collection/lib/http/data-fetcher/fetchers/attach-fetcher.js +136 -0
- package/dist/collection/lib/http/data-fetcher/fetchers/auth-fetcher.js +29 -0
- package/dist/collection/lib/http/data-fetcher/fetchers/dataunit-fetcher.js +353 -0
- package/dist/collection/lib/http/data-fetcher/fetchers/fecthAttach/interfaces/IDelete.js +1 -0
- package/dist/collection/lib/http/data-fetcher/fetchers/fecthAttach/interfaces/IDownloadKey.js +1 -0
- package/dist/collection/lib/http/data-fetcher/fetchers/fecthAttach/interfaces/ISave.js +6 -0
- package/dist/collection/lib/http/data-fetcher/fetchers/fecthAttach/interfaces/index.js +3 -0
- package/dist/collection/lib/http/data-fetcher/fetchers/fetchDataExporter/index.js +33 -0
- package/dist/collection/lib/http/data-fetcher/fetchers/fetchDataExporter/interfaces/IExporterColumnMetadata.js +1 -0
- package/dist/collection/lib/http/data-fetcher/fetchers/fetchDataExporter/interfaces/IFetchDataExporterParams.js +1 -0
- package/dist/collection/lib/http/data-fetcher/fetchers/fetchDataExporter/interfaces/IFetchDataExporterResponse.js +1 -0
- package/dist/collection/lib/http/data-fetcher/fetchers/fetchDataExporter/interfaces/IPersonalizedReport.js +1 -0
- package/dist/collection/lib/http/data-fetcher/fetchers/fetchDataExporter/permission-export-pdf.js +7 -0
- package/dist/collection/lib/http/data-fetcher/fetchers/fetchDataExporter/personalized-reports-fetcher.js +18 -0
- package/dist/collection/lib/http/data-fetcher/fetchers/filter-bar-config-fetcher.js +151 -0
- package/dist/collection/lib/http/data-fetcher/fetchers/form-config-fetcher.js +177 -0
- package/dist/collection/lib/http/data-fetcher/fetchers/grid-config-fetcher.js +40 -0
- package/dist/collection/lib/http/data-fetcher/fetchers/parameters-fecher.js +66 -0
- package/dist/collection/lib/http/data-fetcher/fetchers/personalized-filter-fetcher.js +169 -0
- package/dist/collection/lib/http/data-fetcher/fetchers/pesquisa-fetcher.js +163 -0
- package/dist/collection/lib/http/data-fetcher/fetchers/resource-fetcher.js +64 -0
- package/dist/collection/lib/http/data-fetcher/fetchers/totals-fetcher.js +63 -0
- package/dist/collection/lib/http/data-fetcher/interfaces/IClientEventResponse.js +1 -0
- package/dist/collection/lib/http/data-fetcher/recaller/GraphQLRecaller.js +28 -0
- package/dist/collection/lib/http/data-fetcher/recaller/IDataFetcherRecaller.js +1 -0
- package/dist/collection/lib/http/data-fetcher/recaller/ServiceBrokerRecaller.js +15 -0
- package/dist/collection/lib/http/data-fetcher/state/LoadStateManager.js +66 -0
- package/dist/collection/lib/index.js +4 -0
- package/dist/collection/lib/licenses/sankhyalicense.module.js +1 -0
- package/dist/collection/lib/message/SnkMessageBuilder.js +163 -0
- package/dist/collection/lib/message/resources/crud-utils.msg.js +4 -0
- package/dist/collection/lib/message/resources/file-viewer.msg.js +10 -0
- package/dist/collection/lib/message/resources/snk-actions-button.msg.js +27 -0
- package/dist/collection/lib/message/resources/snk-attach.msg.js +27 -0
- package/dist/collection/lib/message/resources/snk-configurator.msg.js +8 -0
- package/dist/collection/lib/message/resources/snk-crud.msg.js +10 -0
- package/dist/collection/lib/message/resources/snk-data-exporter.msg.js +32 -0
- package/dist/collection/lib/message/resources/snk-data-unit.msg.js +31 -0
- package/dist/collection/lib/message/resources/snk-entity-list.msg.js +3 -0
- package/dist/collection/lib/message/resources/snk-exporter.msg.js +21 -0
- package/dist/collection/lib/message/resources/snk-filter-bar.msg.js +58 -0
- package/dist/collection/lib/message/resources/snk-filter-field-search.msg.js +7 -0
- package/dist/collection/lib/message/resources/snk-filter-param-config.msg.js +18 -0
- package/dist/collection/lib/message/resources/snk-form.msg.js +62 -0
- package/dist/collection/lib/message/resources/snk-grid.msg.js +26 -0
- package/dist/collection/lib/message/resources/snk-personalized-filter.msg.js +83 -0
- package/dist/collection/lib/message/resources/snk-print-selector.msg.js +23 -0
- package/dist/collection/lib/message/resources/snk-simple-bar.msg.js +3 -0
- package/dist/collection/lib/message/resources/snk-taskbar.msg.js +18 -0
- package/dist/collection/lib/store/index.js +6 -0
- package/dist/collection/lib/utils/CrudUtils.js +73 -0
- package/dist/collection/lib/utils/PrintUtils.js +201 -0
- package/dist/collection/lib/utils/constants.js +102 -0
- package/dist/collection/lib/utils/fileViewer/index.js +11 -0
- package/dist/collection/lib/utils/fileViewer/interfaces/IFileViewerParams.js +1 -0
- package/dist/collection/lib/utils/pesquisa.js +16 -0
- package/dist/collection/lib/utils/urlutils.js +25 -0
- package/dist/collection/lib/workspace/workspace.js +19 -0
- package/dist/components/AuthorizationConfig.js +7 -0
- package/dist/components/ConfigStorage.js +306 -0
- package/dist/components/DataFetcher.js +7082 -0
- package/dist/components/ParamType.js +13 -0
- package/dist/components/PersonalizedFilterUtils.js +260 -0
- package/dist/components/SnkFormConfigManager.js +134 -0
- package/dist/components/SnkMessageBuilder.js +629 -0
- package/dist/components/SnkMultiSelectionListDataSource.js +78 -0
- package/dist/components/_commonjsHelpers.js +17 -0
- package/dist/components/auth-fetcher.js +32 -0
- package/dist/components/constants.js +90 -0
- package/dist/components/dataunit-fetcher.js +354 -0
- package/dist/components/filter-bar-config-fetcher.js +153 -0
- package/dist/components/filter-item-type.enum.js +15 -0
- package/dist/components/form-config-fetcher.js +179 -0
- package/dist/components/index.d.ts +79 -0
- package/dist/components/index.js +50 -0
- package/dist/components/index2.js +33 -0
- package/dist/components/index3.js +199 -0
- package/dist/components/pesquisa-fetcher.js +165 -0
- package/dist/components/presentationMode.js +7 -0
- package/dist/components/resource-fetcher.js +66 -0
- package/dist/components/snk-actions-button.d.ts +11 -0
- package/dist/components/snk-actions-button.js +6 -0
- package/dist/components/snk-actions-button2.js +718 -0
- package/dist/components/snk-actions-form.d.ts +11 -0
- package/dist/components/snk-actions-form.js +218 -0
- package/dist/components/snk-application.d.ts +11 -0
- package/dist/components/snk-application.js +6 -0
- package/dist/components/snk-application2.js +988 -0
- package/dist/components/snk-attach.d.ts +11 -0
- package/dist/components/snk-attach.js +6 -0
- package/dist/components/snk-attach2.js +504 -0
- package/dist/components/snk-client-confirm.d.ts +11 -0
- package/dist/components/snk-client-confirm.js +71 -0
- package/dist/components/snk-config-options.d.ts +11 -0
- package/dist/components/snk-config-options.js +6 -0
- package/dist/components/snk-config-options2.js +255 -0
- package/dist/components/snk-configurator.d.ts +11 -0
- package/dist/components/snk-configurator.js +6 -0
- package/dist/components/snk-configurator2.js +118 -0
- package/dist/components/snk-crud.d.ts +11 -0
- package/dist/components/snk-crud.js +391 -0
- package/dist/components/snk-data-exporter.d.ts +11 -0
- package/dist/components/snk-data-exporter.js +6 -0
- package/dist/components/snk-data-exporter2.js +539 -0
- package/dist/components/snk-data-unit.d.ts +11 -0
- package/dist/components/snk-data-unit.js +6 -0
- package/dist/components/snk-data-unit2.js +479 -0
- package/dist/components/snk-detail-view.d.ts +11 -0
- package/dist/components/snk-detail-view.js +6 -0
- package/dist/components/snk-detail-view2.js +927 -0
- package/dist/components/snk-entity-list.d.ts +11 -0
- package/dist/components/snk-entity-list.js +138 -0
- package/dist/components/snk-exporter-email-sender.d.ts +11 -0
- package/dist/components/snk-exporter-email-sender.js +6 -0
- package/dist/components/snk-exporter-email-sender2.js +149 -0
- package/dist/components/snk-expression-group.d.ts +11 -0
- package/dist/components/snk-expression-group.js +6 -0
- package/dist/components/snk-expression-group2.js +296 -0
- package/dist/components/snk-expression-item.d.ts +11 -0
- package/dist/components/snk-expression-item.js +6 -0
- package/dist/components/snk-expression-item2.js +332 -0
- package/dist/components/snk-field-config.d.ts +11 -0
- package/dist/components/snk-field-config.js +6 -0
- package/dist/components/snk-field-config2.js +76 -0
- package/dist/components/snk-filter-advanced-mode.d.ts +11 -0
- package/dist/components/snk-filter-advanced-mode.js +6 -0
- package/dist/components/snk-filter-advanced-mode2.js +39 -0
- package/dist/components/snk-filter-assistent-mode.d.ts +11 -0
- package/dist/components/snk-filter-assistent-mode.js +6 -0
- package/dist/components/snk-filter-assistent-mode2.js +77 -0
- package/dist/components/snk-filter-bar.d.ts +11 -0
- package/dist/components/snk-filter-bar.js +6 -0
- package/dist/components/snk-filter-bar2.js +583 -0
- package/dist/components/snk-filter-binary-select.d.ts +11 -0
- package/dist/components/snk-filter-binary-select.js +109 -0
- package/dist/components/snk-filter-detail.d.ts +11 -0
- package/dist/components/snk-filter-detail.js +6 -0
- package/dist/components/snk-filter-detail2.js +187 -0
- package/dist/components/snk-filter-field-search.d.ts +11 -0
- package/dist/components/snk-filter-field-search.js +6 -0
- package/dist/components/snk-filter-field-search2.js +228 -0
- package/dist/components/snk-filter-item.d.ts +11 -0
- package/dist/components/snk-filter-item.js +6 -0
- package/dist/components/snk-filter-item2.js +303 -0
- package/dist/components/snk-filter-list.d.ts +11 -0
- package/dist/components/snk-filter-list.js +176 -0
- package/dist/components/snk-filter-modal-item.d.ts +11 -0
- package/dist/components/snk-filter-modal-item.js +6 -0
- package/dist/components/snk-filter-modal-item2.js +140 -0
- package/dist/components/snk-filter-modal.d.ts +11 -0
- package/dist/components/snk-filter-modal.js +242 -0
- package/dist/components/snk-filter-multi-select.d.ts +11 -0
- package/dist/components/snk-filter-multi-select.js +60 -0
- package/dist/components/snk-filter-number.d.ts +11 -0
- package/dist/components/snk-filter-number.js +61 -0
- package/dist/components/snk-filter-param-config.d.ts +11 -0
- package/dist/components/snk-filter-param-config.js +6 -0
- package/dist/components/snk-filter-param-config2.js +229 -0
- package/dist/components/snk-filter-period.d.ts +11 -0
- package/dist/components/snk-filter-period.js +92 -0
- package/dist/components/snk-filter-search.d.ts +11 -0
- package/dist/components/snk-filter-search.js +71 -0
- package/dist/components/snk-filter-text.d.ts +11 -0
- package/dist/components/snk-filter-text.js +52 -0
- package/dist/components/snk-form-config.d.ts +11 -0
- package/dist/components/snk-form-config.js +6 -0
- package/dist/components/snk-form-config2.js +1027 -0
- package/dist/components/snk-form-summary.d.ts +11 -0
- package/dist/components/snk-form-summary.js +6 -0
- package/dist/components/snk-form-summary2.js +75 -0
- package/dist/components/snk-form-view.d.ts +11 -0
- package/dist/components/snk-form-view.js +6 -0
- package/dist/components/snk-form-view2.js +129 -0
- package/dist/components/snk-form.d.ts +11 -0
- package/dist/components/snk-form.js +126 -0
- package/dist/components/snk-grid-config.d.ts +11 -0
- package/dist/components/snk-grid-config.js +6 -0
- package/dist/components/snk-grid-config2.js +499 -0
- package/dist/components/snk-grid.d.ts +11 -0
- package/dist/components/snk-grid.js +6 -0
- package/dist/components/snk-grid2.js +457 -0
- package/dist/components/snk-guides-viewer.d.ts +11 -0
- package/dist/components/snk-guides-viewer.js +6 -0
- package/dist/components/snk-personalized-filter-editor.d.ts +11 -0
- package/dist/components/snk-personalized-filter-editor.js +230 -0
- package/dist/components/snk-personalized-filter.d.ts +11 -0
- package/dist/components/snk-personalized-filter.js +6 -0
- package/dist/components/snk-personalized-filter2.js +357 -0
- package/dist/components/snk-pesquisa.d.ts +11 -0
- package/dist/components/snk-pesquisa.js +6 -0
- package/dist/components/snk-pesquisa2.js +340 -0
- package/dist/components/snk-print-selector.d.ts +11 -0
- package/dist/components/snk-print-selector.js +183 -0
- package/dist/components/snk-select-box.d.ts +11 -0
- package/dist/components/snk-select-box.js +6 -0
- package/dist/components/snk-select-box2.js +38 -0
- package/dist/components/snk-simple-bar.d.ts +11 -0
- package/dist/components/snk-simple-bar.js +6 -0
- package/dist/components/snk-simple-bar2.js +59 -0
- package/dist/components/snk-simple-crud.d.ts +11 -0
- package/dist/components/snk-simple-crud.js +6 -0
- package/dist/components/snk-simple-crud2.js +390 -0
- package/dist/components/snk-tab-config.d.ts +11 -0
- package/dist/components/snk-tab-config.js +6 -0
- package/dist/components/snk-tab-config2.js +7232 -0
- package/dist/components/snk-taskbar.d.ts +11 -0
- package/dist/components/snk-taskbar.js +6 -0
- package/dist/components/snk-taskbar2.js +372 -0
- package/dist/components/teste-pesquisa.d.ts +11 -0
- package/dist/components/teste-pesquisa.js +63 -0
- package/dist/esm/AuthorizationConfig-dcbd207a.js +7 -0
- package/dist/esm/ConfigStorage-19a7260b.js +306 -0
- package/dist/esm/DataFetcher-e0fc5549.js +7082 -0
- package/dist/esm/ParamType-d5152b06.js +13 -0
- package/dist/esm/PersonalizedFilterUtils-75fb0106.js +218 -0
- package/dist/esm/SnkFormConfigManager-1a42eb02.js +134 -0
- package/dist/esm/SnkMessageBuilder-68c1c25a.js +629 -0
- package/dist/esm/SnkMultiSelectionListDataSource-892f37f9.js +32 -0
- package/dist/esm/_commonjsHelpers-9943807e.js +17 -0
- package/dist/esm/auth-fetcher-83a946f8.js +32 -0
- package/dist/esm/constants-3644f1b6.js +90 -0
- package/dist/esm/dataunit-fetcher-6a695723.js +354 -0
- package/dist/esm/draggable.bundle-41d56f06.js +6884 -0
- package/dist/esm/filter-bar-config-fetcher-06e02851.js +153 -0
- package/dist/esm/filter-item-type.enum-5028ed3f.js +15 -0
- package/dist/esm/filter-type.enum-a80c1b6b.js +9 -0
- package/dist/esm/form-config-fetcher-9e167008.js +179 -0
- package/dist/esm/index-1564817d.js +33 -0
- package/dist/esm/index-620ac460.js +7 -0
- package/dist/esm/index-a7d3d3f1.js +2296 -0
- package/dist/esm/index-ae591a44.js +44 -0
- package/dist/esm/index-bdf75557.js +199 -0
- package/dist/esm/index.js +1 -0
- package/dist/esm/loader.js +18 -0
- package/dist/esm/pesquisa-fetcher-9118eb7a.js +165 -0
- package/dist/esm/polyfills/core-js.js +11 -0
- package/dist/esm/polyfills/css-shim.js +1 -0
- package/dist/esm/polyfills/dom.js +79 -0
- package/dist/esm/polyfills/es5-html-element.js +1 -0
- package/dist/esm/polyfills/index.js +34 -0
- package/dist/esm/polyfills/system.js +6 -0
- package/dist/esm/presentationMode-783bbf9d.js +7 -0
- package/dist/esm/resource-fetcher-768d5556.js +66 -0
- package/dist/esm/sankhyablocks.js +18 -0
- package/dist/esm/snk-actions-button.entry.js +701 -0
- package/dist/esm/snk-actions-form.entry.js +196 -0
- package/dist/esm/snk-application.entry.js +927 -0
- package/dist/esm/snk-attach.entry.js +448 -0
- package/dist/esm/snk-client-confirm.entry.js +48 -0
- package/dist/esm/snk-config-options.entry.js +235 -0
- package/dist/esm/snk-configurator.entry.js +95 -0
- package/dist/esm/snk-crud.entry.js +179 -0
- package/dist/esm/snk-data-exporter.entry.js +516 -0
- package/dist/esm/snk-data-unit-77508763.js +451 -0
- package/dist/esm/snk-data-unit.entry.js +5 -0
- package/dist/esm/snk-detail-view.entry.js +265 -0
- package/dist/esm/snk-entity-list.entry.js +114 -0
- package/dist/esm/snk-exporter-email-sender.entry.js +128 -0
- package/dist/esm/snk-expression-group_2.entry.js +540 -0
- package/dist/esm/snk-field-config.entry.js +56 -0
- package/dist/esm/snk-filter-advanced-mode_2.entry.js +55 -0
- package/dist/esm/snk-filter-bar.entry.js +506 -0
- package/dist/esm/snk-filter-binary-select.entry.js +87 -0
- package/dist/esm/snk-filter-detail.entry.js +174 -0
- package/dist/esm/snk-filter-field-search_2.entry.js +403 -0
- package/dist/esm/snk-filter-item.entry.js +277 -0
- package/dist/esm/snk-filter-list.entry.js +148 -0
- package/dist/esm/snk-filter-modal-item.entry.js +122 -0
- package/dist/esm/snk-filter-modal.entry.js +213 -0
- package/dist/esm/snk-filter-multi-select.entry.js +39 -0
- package/dist/esm/snk-filter-number.entry.js +40 -0
- package/dist/esm/snk-filter-period.entry.js +69 -0
- package/dist/esm/snk-filter-search.entry.js +50 -0
- package/dist/esm/snk-filter-text.entry.js +32 -0
- package/dist/esm/snk-form-config.entry.js +987 -0
- package/dist/esm/snk-form-summary.entry.js +57 -0
- package/dist/esm/snk-form-view.entry.js +95 -0
- package/dist/esm/snk-form.entry.js +83 -0
- package/dist/esm/snk-grid-config.entry.js +480 -0
- package/dist/esm/snk-grid.entry.js +328 -0
- package/dist/esm/snk-guides-viewer-c47cd45e.js +332 -0
- package/dist/esm/snk-guides-viewer.entry.js +20 -0
- package/dist/esm/snk-personalized-filter-editor.entry.js +206 -0
- package/dist/esm/snk-personalized-filter.entry.js +301 -0
- package/dist/esm/snk-pesquisa.entry.js +320 -0
- package/dist/esm/snk-print-selector.entry.js +161 -0
- package/dist/esm/snk-select-box.entry.js +21 -0
- package/dist/esm/snk-simple-bar.entry.js +41 -0
- package/dist/esm/snk-simple-crud.entry.js +334 -0
- package/dist/esm/snk-tab-config.entry.js +327 -0
- package/dist/esm/snk-taskbar.entry.js +217 -0
- package/dist/esm/taskbar-elements-2c761819.js +118 -0
- package/dist/esm/taskbar-processor-94402e6e.js +47 -0
- package/dist/esm/teste-pesquisa.entry.js +33 -0
- package/dist/index.cjs.js +1 -0
- package/dist/index.js +1 -0
- package/dist/sankhyablocks/index.esm.js +0 -0
- package/dist/sankhyablocks/p-0885ed3c.entry.js +1 -0
- package/dist/sankhyablocks/p-0a4c753d.js +6 -0
- package/dist/sankhyablocks/p-0ed0fc02.entry.js +1 -0
- package/dist/sankhyablocks/p-112455b1.js +1 -0
- package/dist/sankhyablocks/p-118e769b.entry.js +1 -0
- package/dist/sankhyablocks/p-1a68fb59.js +1 -0
- package/dist/sankhyablocks/p-216f081a.entry.js +1 -0
- package/dist/sankhyablocks/p-219f888d.entry.js +1 -0
- package/dist/sankhyablocks/p-22c6fe1a.entry.js +1 -0
- package/dist/sankhyablocks/p-247a8b36.entry.js +1 -0
- package/dist/sankhyablocks/p-25c5428f.entry.js +1 -0
- package/dist/sankhyablocks/p-26ad62b9.entry.js +1 -0
- package/dist/sankhyablocks/p-26b0ce3e.entry.js +1 -0
- package/dist/sankhyablocks/p-2ac9c585.js +76 -0
- package/dist/sankhyablocks/p-34085ced.entry.js +1 -0
- package/dist/sankhyablocks/p-34a1357a.entry.js +1 -0
- package/dist/sankhyablocks/p-4721c3db.js +1 -0
- package/dist/sankhyablocks/p-4a78e118.js +1 -0
- package/dist/sankhyablocks/p-5534e08c.js +1 -0
- package/dist/sankhyablocks/p-584d7212.js +1 -0
- package/dist/sankhyablocks/p-5c1aacc7.js +1 -0
- package/dist/sankhyablocks/p-5d04ae42.entry.js +1 -0
- package/dist/sankhyablocks/p-6759adae.entry.js +1 -0
- package/dist/sankhyablocks/p-6dc031de.js +1 -0
- package/dist/sankhyablocks/p-7b8b8ae9.js +10 -0
- package/dist/sankhyablocks/p-7e285d6c.entry.js +11 -0
- package/dist/sankhyablocks/p-815a42c0.entry.js +1 -0
- package/dist/sankhyablocks/p-838f8234.entry.js +1 -0
- package/dist/sankhyablocks/p-88aa931b.entry.js +1 -0
- package/dist/sankhyablocks/p-8a41172a.entry.js +1 -0
- package/dist/sankhyablocks/p-8f8184ff.js +56 -0
- package/dist/sankhyablocks/p-933c0c0b.js +1 -0
- package/dist/sankhyablocks/p-9531fd46.entry.js +1 -0
- package/dist/sankhyablocks/p-959e0835.entry.js +1 -0
- package/dist/sankhyablocks/p-968741cc.js +1 -0
- package/dist/sankhyablocks/p-96a89d58.entry.js +1 -0
- package/dist/sankhyablocks/p-976e56e9.js +1 -0
- package/dist/sankhyablocks/p-98f9d076.js +17 -0
- package/dist/sankhyablocks/p-9d3a025a.entry.js +1 -0
- package/dist/sankhyablocks/p-a1e1b305.entry.js +1 -0
- package/dist/sankhyablocks/p-a2493d11.js +1 -0
- package/dist/sankhyablocks/p-ac8d1cd6.entry.js +1 -0
- package/dist/sankhyablocks/p-ae6aff81.js +1 -0
- package/dist/sankhyablocks/p-b6d6b172.js +1 -0
- package/dist/sankhyablocks/p-bc735728.entry.js +1 -0
- package/dist/sankhyablocks/p-bd628455.entry.js +1 -0
- package/dist/sankhyablocks/p-be684b38.entry.js +1 -0
- package/dist/sankhyablocks/p-befbc9ee.entry.js +1 -0
- package/dist/sankhyablocks/p-c0f656af.entry.js +1 -0
- package/dist/sankhyablocks/p-c2beb95c.js +1 -0
- package/dist/sankhyablocks/p-c44f6aaf.entry.js +1 -0
- package/dist/sankhyablocks/p-c57bd935.entry.js +1 -0
- package/dist/sankhyablocks/p-c6380ea2.entry.js +1 -0
- package/dist/sankhyablocks/p-cb37982f.entry.js +1 -0
- package/dist/sankhyablocks/p-cfd7da4a.entry.js +1 -0
- package/dist/sankhyablocks/p-d1b89765.js +1 -0
- package/dist/sankhyablocks/p-d2d301a6.js +2 -0
- package/dist/sankhyablocks/p-d3ec3586.entry.js +1 -0
- package/dist/sankhyablocks/p-d9804798.js +1 -0
- package/dist/sankhyablocks/p-dc36cfbf.js +1 -0
- package/dist/sankhyablocks/p-de69b4b0.entry.js +1 -0
- package/dist/sankhyablocks/p-df8621b4.js +1 -0
- package/dist/sankhyablocks/p-e28129aa.entry.js +1 -0
- package/dist/sankhyablocks/p-e3a82e1c.entry.js +1 -0
- package/dist/sankhyablocks/p-e7e54737.entry.js +1 -0
- package/dist/sankhyablocks/p-eaad0aa8.js +1 -0
- package/dist/sankhyablocks/p-eb636e15.entry.js +1 -0
- package/dist/sankhyablocks/p-f30526a7.entry.js +1 -0
- package/dist/sankhyablocks/p-f31bfdee.entry.js +1 -0
- package/dist/sankhyablocks/p-f4184ce7.js +1 -0
- package/dist/sankhyablocks/p-f88c45bf.js +1 -0
- package/dist/sankhyablocks/p-f9395c20.entry.js +1 -0
- package/dist/sankhyablocks/p-fa9d3f73.js +1 -0
- package/dist/sankhyablocks/p-fe010e54.entry.js +1 -0
- package/dist/sankhyablocks/p-fe49067d.entry.js +1 -0
- package/dist/sankhyablocks/sankhyablocks.esm.js +1 -0
- package/dist/types/components/snk-actions-button/actions/enum/ActionsType.d.ts +7 -0
- package/dist/types/components/snk-actions-button/actions/enum/ParamType.d.ts +10 -0
- package/dist/types/components/snk-actions-button/actions/enum/RefreshType.d.ts +6 -0
- package/dist/types/components/snk-actions-button/actions/executor/java.executor.d.ts +6 -0
- package/dist/types/components/snk-actions-button/actions/executor/javascript.executor.d.ts +6 -0
- package/dist/types/components/snk-actions-button/actions/executor/launch-screen.executor.d.ts +10 -0
- package/dist/types/components/snk-actions-button/actions/executor/procedure.executor.d.ts +6 -0
- package/dist/types/components/snk-actions-button/actions/factory/executor.factory.d.ts +7 -0
- package/dist/types/components/snk-actions-button/actions/index.d.ts +27 -0
- package/dist/types/components/snk-actions-button/actions/interfaces/IAction.d.ts +55 -0
- package/dist/types/components/snk-actions-button/actions/interfaces/IExecSource.d.ts +17 -0
- package/dist/types/components/snk-actions-button/actions/interfaces/IExecuteActions.d.ts +4 -0
- package/dist/types/components/snk-actions-button/actions/interfaces/IExecuteActionsProps.d.ts +4 -0
- package/dist/types/components/snk-actions-button/actions/interfaces/IResultParam.d.ts +14 -0
- package/dist/types/components/snk-actions-button/clientEvent/index.d.ts +4 -0
- package/dist/types/components/snk-actions-button/clientEvent/interfaces/IClientEventConfirm.d.ts +35 -0
- package/dist/types/components/snk-actions-button/snk-actions-button.d.ts +27 -0
- package/dist/types/components/snk-actions-button/subcomponents/snk-actions-form.d.ts +41 -0
- package/dist/types/components/snk-actions-button/subcomponents/snk-client-confirm.d.ts +31 -0
- package/dist/types/components/snk-application/errorhandler/snk-error-handler.d.ts +9 -0
- package/dist/types/components/snk-application/snk-application.d.ts +288 -0
- package/dist/types/components/snk-attach/interfaces/index.d.ts +10 -0
- package/dist/types/components/snk-attach/snk-attach.d.ts +45 -0
- package/dist/types/components/snk-attach/structure/crud-config-builder.d.ts +7 -0
- package/dist/types/components/snk-attach/structure/data-unit-builder.d.ts +15 -0
- package/dist/types/components/snk-attach/structure/index.d.ts +3 -0
- package/dist/types/components/snk-attach/structure/taskbar-builder.d.ts +8 -0
- package/dist/types/components/snk-configurator/AuthorizationConfig.d.ts +4 -0
- package/dist/types/components/snk-configurator/snk-configurator.d.ts +68 -0
- package/dist/types/components/snk-crud/snk-crud.d.ts +114 -0
- package/dist/types/components/snk-crud/subcomponents/CardFormResizeObserver.d.ts +1 -0
- package/dist/types/components/snk-crud/subcomponents/GuideBuilder.d.ts +11 -0
- package/dist/types/components/snk-crud/subcomponents/snk-detail-view/snk-detail-view.d.ts +98 -0
- package/dist/types/components/snk-crud/subcomponents/snk-form-summary.d.ts +22 -0
- package/dist/types/components/snk-crud/subcomponents/snk-form-view.d.ts +76 -0
- package/dist/types/components/snk-crud/subcomponents/snk-guides-viewer.d.ts +127 -0
- package/dist/types/components/snk-data-exporter/data/attachment.d.ts +4 -0
- package/dist/types/components/snk-data-exporter/data/email.d.ts +7 -0
- package/dist/types/components/snk-data-exporter/data/export-config.d.ts +10 -0
- package/dist/types/components/snk-data-exporter/data/export-result.d.ts +8 -0
- package/dist/types/components/snk-data-exporter/data/report.d.ts +4 -0
- package/dist/types/components/snk-data-exporter/exporter-email-sender/email-info-step.d.ts +9 -0
- package/dist/types/components/snk-data-exporter/exporter-email-sender/options-step.d.ts +9 -0
- package/dist/types/components/snk-data-exporter/exporter-email-sender/snk-exporter-email-sender.d.ts +40 -0
- package/dist/types/components/snk-data-exporter/interfaces/IExporterProvider.d.ts +15 -0
- package/dist/types/components/snk-data-exporter/interfaces/IRecordID.d.ts +6 -0
- package/dist/types/components/snk-data-exporter/interfaces/ISelectedID.d.ts +13 -0
- package/dist/types/components/snk-data-exporter/snk-data-exporter.d.ts +52 -0
- package/dist/types/components/snk-data-exporter/structure/ItemBuilder.d.ts +61 -0
- package/dist/types/components/snk-data-unit/snk-data-unit.d.ts +141 -0
- package/dist/types/components/snk-entity-list/snk-entity-list.d.ts +46 -0
- package/dist/types/components/snk-filter-bar/filter-item/dataunitfilter/data-unit-filter-builder.d.ts +4 -0
- package/dist/types/components/snk-filter-bar/filter-item/editors/enum/presentationMode.d.ts +4 -0
- package/dist/types/components/snk-filter-bar/filter-item/editors/snk-filter-binary-select.d.ts +43 -0
- package/dist/types/components/snk-filter-bar/filter-item/editors/snk-filter-multi-select.d.ts +28 -0
- package/dist/types/components/snk-filter-bar/filter-item/editors/snk-filter-number.d.ts +28 -0
- package/dist/types/components/snk-filter-bar/filter-item/editors/snk-filter-period.d.ts +47 -0
- package/dist/types/components/snk-filter-bar/filter-item/editors/snk-filter-search.d.ts +30 -0
- package/dist/types/components/snk-filter-bar/filter-item/editors/snk-filter-text.d.ts +24 -0
- package/dist/types/components/snk-filter-bar/filter-item/editors/snk-personalized-filter-editor/snk-personalized-filter-editor.d.ts +68 -0
- package/dist/types/components/snk-filter-bar/filter-item/filter-item-type.enum.d.ts +12 -0
- package/dist/types/components/snk-filter-bar/filter-item/snk-filter-detail.d.ts +49 -0
- package/dist/types/components/snk-filter-bar/filter-item/snk-filter-item.d.ts +80 -0
- package/dist/types/components/snk-filter-bar/filter-list/snk-filter-list.d.ts +74 -0
- package/dist/types/components/snk-filter-bar/filter-modal/snk-filter-modal.d.ts +56 -0
- package/dist/types/components/snk-filter-bar/filter-modal/subcomponents/snk-filter-modal-item.d.ts +33 -0
- package/dist/types/components/snk-filter-bar/snk-filter-bar.d.ts +79 -0
- package/dist/types/components/snk-filter-bar/types/custom-element-filter.d.ts +6 -0
- package/dist/types/components/snk-filter-bar/types/filter-type.enum.d.ts +6 -0
- package/dist/types/components/snk-filter-bar/utils/SnkFilterModalFactory.d.ts +28 -0
- package/dist/types/components/snk-filter-bar/utils/filters-mock.d.ts +263 -0
- package/dist/types/components/snk-filter-field-search/interfaces/index.d.ts +39 -0
- package/dist/types/components/snk-filter-field-search/snk-filter-field-search.d.ts +68 -0
- package/dist/types/components/snk-filter-field-search/subcomponents/index.d.ts +1 -0
- package/dist/types/components/snk-filter-field-search/subcomponents/list-item.d.ts +2 -0
- package/dist/types/components/snk-form/SnkFormConfigManager.d.ts +23 -0
- package/dist/types/components/snk-form/snk-form.d.ts +46 -0
- package/dist/types/components/snk-form/subcomponents/snk-config-options/snk-config-options.d.ts +57 -0
- package/dist/types/components/snk-form/subcomponents/snk-field-config/snk-field-config.d.ts +43 -0
- package/dist/types/components/snk-form/subcomponents/snk-form-config/snk-form-config.d.ts +148 -0
- package/dist/types/components/snk-form/subcomponents/snk-tab-config/snk-tab-config.d.ts +105 -0
- package/dist/types/components/snk-grid/filtercolumn/SnkMultiSelectionListDataSource.d.ts +12 -0
- package/dist/types/components/snk-grid/snk-grid.d.ts +123 -0
- package/dist/types/components/snk-grid/subcomponents/snk-grid-config/snk-grid-config.d.ts +74 -0
- package/dist/types/components/snk-grid/subcomponents/snk-select-box/snk-select-box.d.ts +13 -0
- package/dist/types/components/snk-personalized-filter/interfaces/IExpressionGroup.d.ts +0 -0
- package/dist/types/components/snk-personalized-filter/interfaces/IExpressionItem.d.ts +35 -0
- package/dist/types/components/snk-personalized-filter/interfaces/IParameter.d.ts +37 -0
- package/dist/types/components/snk-personalized-filter/interfaces/IPersonalizedFilter.d.ts +15 -0
- package/dist/types/components/snk-personalized-filter/interfaces/ISystemFilterConfig.d.ts +4 -0
- package/dist/types/components/snk-personalized-filter/interfaces/IUserFilterConfig.d.ts +5 -0
- package/dist/types/components/snk-personalized-filter/interfaces/index.d.ts +35 -0
- package/dist/types/components/snk-personalized-filter/snk-personalized-filter.d.ts +66 -0
- package/dist/types/components/snk-personalized-filter/subcomponents/snk-expression-group/snk-expression-group.d.ts +85 -0
- package/dist/types/components/snk-personalized-filter/subcomponents/snk-expression-item/filter-operands/filter-operands.d.ts +9 -0
- package/dist/types/components/snk-personalized-filter/subcomponents/snk-expression-item/snk-expression-item.d.ts +68 -0
- package/dist/types/components/snk-personalized-filter/subcomponents/snk-filter-advanced-mode/snk-filter-advanced-mode.d.ts +19 -0
- package/dist/types/components/snk-personalized-filter/subcomponents/snk-filter-assistent-mode/snk-filter-assistent-mode.d.ts +31 -0
- package/dist/types/components/snk-personalized-filter/subcomponents/snk-filter-param-config/snk-filter-param-config.d.ts +52 -0
- package/dist/types/components/snk-personalized-filter/subcomponents/snk-filter-param-config/utils/PersonalizedFilterUtils.d.ts +27 -0
- package/dist/types/components/snk-pesquisa/snk-pesquisa.d.ts +61 -0
- package/dist/types/components/snk-print-selector/snk-print-selector.d.ts +46 -0
- package/dist/types/components/snk-simple-bar/snk-simple-bar.d.ts +37 -0
- package/dist/types/components/snk-simple-crud/snk-simple-crud.d.ts +80 -0
- package/dist/types/components/snk-taskbar/elements/taskbar-elements.d.ts +33 -0
- package/dist/types/components/snk-taskbar/processor/taskbar-processor.d.ts +12 -0
- package/dist/types/components/snk-taskbar/snk-taskbar.d.ts +106 -0
- package/dist/types/components/teste-pesquisa/teste-pesquisa.d.ts +6 -0
- package/dist/types/components.d.ts +3076 -0
- package/dist/types/global.d.ts +9 -0
- package/dist/types/index.d.ts +1 -0
- package/dist/types/lib/@types/index.d.ts +27 -0
- package/dist/types/lib/applet-caller/applet-caller.d.ts +9 -0
- package/dist/types/lib/configs/ConfigStorage.d.ts +27 -0
- package/dist/types/lib/dataUnit/InMemoryLoader.d.ts +24 -0
- package/dist/types/lib/http/data-fetcher/DataFetcher.d.ts +73 -0
- package/dist/types/lib/http/data-fetcher/fetchers/application-config-fetcher.d.ts +6 -0
- package/dist/types/lib/http/data-fetcher/fetchers/attach-fetcher.d.ts +14 -0
- package/dist/types/lib/http/data-fetcher/fetchers/auth-fetcher.d.ts +17 -0
- package/dist/types/lib/http/data-fetcher/fetchers/dataunit-fetcher.d.ts +16 -0
- package/dist/types/lib/http/data-fetcher/fetchers/fecthAttach/interfaces/IDelete.d.ts +9 -0
- package/dist/types/lib/http/data-fetcher/fetchers/fecthAttach/interfaces/IDownloadKey.d.ts +13 -0
- package/dist/types/lib/http/data-fetcher/fetchers/fecthAttach/interfaces/ISave.d.ts +26 -0
- package/dist/types/lib/http/data-fetcher/fetchers/fecthAttach/interfaces/index.d.ts +3 -0
- package/dist/types/lib/http/data-fetcher/fetchers/fetchDataExporter/index.d.ts +3 -0
- package/dist/types/lib/http/data-fetcher/fetchers/fetchDataExporter/interfaces/IExporterColumnMetadata.d.ts +9 -0
- package/dist/types/lib/http/data-fetcher/fetchers/fetchDataExporter/interfaces/IFetchDataExporterParams.d.ts +29 -0
- package/dist/types/lib/http/data-fetcher/fetchers/fetchDataExporter/interfaces/IFetchDataExporterResponse.d.ts +8 -0
- package/dist/types/lib/http/data-fetcher/fetchers/fetchDataExporter/interfaces/IPersonalizedReport.d.ts +4 -0
- package/dist/types/lib/http/data-fetcher/fetchers/fetchDataExporter/permission-export-pdf.d.ts +1 -0
- package/dist/types/lib/http/data-fetcher/fetchers/fetchDataExporter/personalized-reports-fetcher.d.ts +4 -0
- package/dist/types/lib/http/data-fetcher/fetchers/filter-bar-config-fetcher.d.ts +11 -0
- package/dist/types/lib/http/data-fetcher/fetchers/form-config-fetcher.d.ts +26 -0
- package/dist/types/lib/http/data-fetcher/fetchers/grid-config-fetcher.d.ts +8 -0
- package/dist/types/lib/http/data-fetcher/fetchers/parameters-fecher.d.ts +13 -0
- package/dist/types/lib/http/data-fetcher/fetchers/personalized-filter-fetcher.d.ts +13 -0
- package/dist/types/lib/http/data-fetcher/fetchers/pesquisa-fetcher.d.ts +42 -0
- package/dist/types/lib/http/data-fetcher/fetchers/resource-fetcher.d.ts +12 -0
- package/dist/types/lib/http/data-fetcher/fetchers/totals-fetcher.d.ts +9 -0
- package/dist/types/lib/http/data-fetcher/interfaces/IClientEventResponse.d.ts +4 -0
- package/dist/types/lib/http/data-fetcher/recaller/GraphQLRecaller.d.ts +10 -0
- package/dist/types/lib/http/data-fetcher/recaller/IDataFetcherRecaller.d.ts +3 -0
- package/dist/types/lib/http/data-fetcher/recaller/ServiceBrokerRecaller.d.ts +9 -0
- package/dist/types/lib/http/data-fetcher/state/LoadStateManager.d.ts +23 -0
- package/dist/types/lib/index.d.ts +4 -0
- package/dist/types/lib/message/SnkMessageBuilder.d.ts +45 -0
- package/dist/types/lib/message/resources/crud-utils.msg.d.ts +2 -0
- package/dist/types/lib/message/resources/file-viewer.msg.d.ts +2 -0
- package/dist/types/lib/message/resources/snk-actions-button.msg.d.ts +1 -0
- package/dist/types/lib/message/resources/snk-attach.msg.d.ts +2 -0
- package/dist/types/lib/message/resources/snk-configurator.msg.d.ts +1 -0
- package/dist/types/lib/message/resources/snk-crud.msg.d.ts +2 -0
- package/dist/types/lib/message/resources/snk-data-exporter.msg.d.ts +1 -0
- package/dist/types/lib/message/resources/snk-data-unit.msg.d.ts +2 -0
- package/dist/types/lib/message/resources/snk-entity-list.msg.d.ts +1 -0
- package/dist/types/lib/message/resources/snk-exporter.msg.d.ts +2 -0
- package/dist/types/lib/message/resources/snk-filter-bar.msg.d.ts +2 -0
- package/dist/types/lib/message/resources/snk-filter-field-search.msg.d.ts +1 -0
- package/dist/types/lib/message/resources/snk-filter-param-config.msg.d.ts +1 -0
- package/dist/types/lib/message/resources/snk-form.msg.d.ts +4 -0
- package/dist/types/lib/message/resources/snk-grid.msg.d.ts +2 -0
- package/dist/types/lib/message/resources/snk-personalized-filter.msg.d.ts +1 -0
- package/dist/types/lib/message/resources/snk-print-selector.msg.d.ts +1 -0
- package/dist/types/lib/message/resources/snk-simple-bar.msg.d.ts +1 -0
- package/dist/types/lib/message/resources/snk-taskbar.msg.d.ts +2 -0
- package/dist/types/lib/store/index.d.ts +5 -0
- package/dist/types/lib/utils/CrudUtils.d.ts +6 -0
- package/dist/types/lib/utils/PrintUtils.d.ts +54 -0
- package/dist/types/lib/utils/constants.d.ts +103 -0
- package/dist/types/lib/utils/fileViewer/index.d.ts +2 -0
- package/dist/types/lib/utils/fileViewer/interfaces/IFileViewerParams.d.ts +4 -0
- package/dist/types/lib/utils/pesquisa.d.ts +3 -0
- package/dist/types/lib/utils/urlutils.d.ts +4 -0
- package/dist/types/lib/workspace/workspace.d.ts +5 -0
- package/dist/types/stencil-public-runtime.d.ts +1637 -0
- package/loader/cdn.js +3 -0
- package/loader/index.cjs.js +3 -0
- package/loader/index.d.ts +21 -0
- package/loader/index.es2017.js +3 -0
- package/loader/index.js +4 -0
- package/loader/package.json +11 -0
- package/package.json +71 -0
- package/react/.keepfolder +1 -0
- package/react/components.d.ts +51 -0
- package/react/components.js +54 -0
- package/react/components.js.map +1 -0
- package/react/react-component-lib/createComponent.d.ts +10 -0
- package/react/react-component-lib/createComponent.js +59 -0
- package/react/react-component-lib/createComponent.js.map +1 -0
- package/react/react-component-lib/createOverlayComponent.d.ts +20 -0
- package/react/react-component-lib/createOverlayComponent.js +89 -0
- package/react/react-component-lib/createOverlayComponent.js.map +1 -0
- package/react/react-component-lib/index.d.ts +2 -0
- package/react/react-component-lib/index.js +3 -0
- package/react/react-component-lib/index.js.map +1 -0
- package/react/react-component-lib/interfaces.d.ts +29 -0
- package/react/react-component-lib/interfaces.js +2 -0
- package/react/react-component-lib/interfaces.js.map +1 -0
- package/react/react-component-lib/utils/attachProps.d.ts +12 -0
- package/react/react-component-lib/utils/attachProps.js +96 -0
- package/react/react-component-lib/utils/attachProps.js.map +1 -0
- package/react/react-component-lib/utils/case.d.ts +2 -0
- package/react/react-component-lib/utils/case.js +7 -0
- package/react/react-component-lib/utils/case.js.map +1 -0
- package/react/react-component-lib/utils/dev.d.ts +2 -0
- package/react/react-component-lib/utils/dev.js +13 -0
- package/react/react-component-lib/utils/dev.js.map +1 -0
- package/react/react-component-lib/utils/index.d.ts +7 -0
- package/react/react-component-lib/utils/index.js +21 -0
- package/react/react-component-lib/utils/index.js.map +1 -0
|
@@ -0,0 +1,682 @@
|
|
|
1
|
+
import { h } from '@stencil/core';
|
|
2
|
+
import { ApplicationContext, DataType, ElementIDUtils } from '@sankhyalabs/core';
|
|
3
|
+
import { UserInterface } from '@sankhyalabs/core/dist/dataunit/metadata/UnitMetadata';
|
|
4
|
+
import { TaskbarElement } from '../snk-taskbar/elements/taskbar-elements';
|
|
5
|
+
import { ConfigStorage } from '../../lib/configs/ConfigStorage';
|
|
6
|
+
import { PresentationMode } from '../../lib/@types';
|
|
7
|
+
import TaskbarProcessor from '../snk-taskbar/processor/taskbar-processor';
|
|
8
|
+
import store from "../../lib/store";
|
|
9
|
+
import SnkMultiSelectionListDataSource from './filtercolumn/SnkMultiSelectionListDataSource';
|
|
10
|
+
import { SelectionMode } from '@sankhyalabs/core/dist/dataunit/DataUnit';
|
|
11
|
+
export class SnkGrid {
|
|
12
|
+
constructor() {
|
|
13
|
+
this._multiSelectionListDataSource = new SnkMultiSelectionListDataSource();
|
|
14
|
+
this._topTaskbarProcessor = new TaskbarProcessor({
|
|
15
|
+
"snkGridTopTaskbar.regular": ["FORM_MODE", "CONFIGURATOR", "INSERT"],
|
|
16
|
+
"snkGridTopTaskbar.regular.secondary": ["FORM_MODE", "CONFIGURATOR", "INSERT"],
|
|
17
|
+
"snkGridTopTaskbar.finish_edition": ["CANCEL", "SAVE"],
|
|
18
|
+
"snkGridTopTaskbar.finish_edition.secondary": []
|
|
19
|
+
});
|
|
20
|
+
this._headerTaskbarProcessor = new TaskbarProcessor({
|
|
21
|
+
"snkGridHeaderTaskbar.unselected": ["REFRESH", "DATA_EXPORTER", "ACTIONS_BUTTON"],
|
|
22
|
+
"snkGridHeaderTaskbar.selected": ["UPDATE", "CLONE", "REMOVE", "MORE_OPTIONS", "DIVIDER", "ATTACH", "REFRESH", "DATA_EXPORTER", "ACTIONS_BUTTON"],
|
|
23
|
+
"snkGridHeaderTaskbar.detail.unselected": ["REFRESH"],
|
|
24
|
+
"snkGridHeaderTaskbar.detail.selected": ["UPDATE", "ATTACH", "CLONE", "REMOVE", "MORE_OPTIONS", "DIVIDER", "REFRESH"]
|
|
25
|
+
});
|
|
26
|
+
this._dataUnit = undefined;
|
|
27
|
+
this._dataState = undefined;
|
|
28
|
+
this._gridConfig = undefined;
|
|
29
|
+
this._popUpGridConfig = false;
|
|
30
|
+
this.configName = undefined;
|
|
31
|
+
this.selectionToastConfig = undefined;
|
|
32
|
+
this.actionsList = undefined;
|
|
33
|
+
this.isDetail = undefined;
|
|
34
|
+
this.taskbarManager = undefined;
|
|
35
|
+
this.statusResolver = undefined;
|
|
36
|
+
this.multipleSelection = undefined;
|
|
37
|
+
this.presentationMode = PresentationMode.PRIMARY;
|
|
38
|
+
this.messagesBuilder = undefined;
|
|
39
|
+
this.useEnterLikeTab = false;
|
|
40
|
+
this.recordsValidator = undefined;
|
|
41
|
+
this.canEdit = true;
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* Exibe a janela de configurações da grade.
|
|
45
|
+
*/
|
|
46
|
+
async showConfig() {
|
|
47
|
+
if (this._grid == undefined) {
|
|
48
|
+
return;
|
|
49
|
+
}
|
|
50
|
+
this.openGridConfig();
|
|
51
|
+
}
|
|
52
|
+
/**
|
|
53
|
+
* Fecha a janela de configurações da grade.
|
|
54
|
+
*/
|
|
55
|
+
async hideConfig() {
|
|
56
|
+
if (this._grid == undefined) {
|
|
57
|
+
return;
|
|
58
|
+
}
|
|
59
|
+
this.closeGridConfig();
|
|
60
|
+
}
|
|
61
|
+
/**
|
|
62
|
+
* Atribui o valor da configuração da grade.
|
|
63
|
+
*/
|
|
64
|
+
async setConfig(config) {
|
|
65
|
+
this.setGridConfig(config);
|
|
66
|
+
}
|
|
67
|
+
/**
|
|
68
|
+
* Faz o recarregamento da filter-bar da grade buscando o state no servidor.
|
|
69
|
+
*/
|
|
70
|
+
async reloadFilterBar() {
|
|
71
|
+
var _a;
|
|
72
|
+
(_a = this._snkFilterBar) === null || _a === void 0 ? void 0 : _a.reload();
|
|
73
|
+
}
|
|
74
|
+
openGridConfig() {
|
|
75
|
+
this._grid.getColumnsState()
|
|
76
|
+
.then((gridColumns) => {
|
|
77
|
+
this._snkGridConfig.columns = gridColumns.filter(c => c.name);
|
|
78
|
+
this._snkGridConfig.selectedIndex = 0;
|
|
79
|
+
this._popUpGridConfig = true;
|
|
80
|
+
});
|
|
81
|
+
}
|
|
82
|
+
closeGridConfig() {
|
|
83
|
+
this._popUpGridConfig = false;
|
|
84
|
+
}
|
|
85
|
+
setGridConfig(config) {
|
|
86
|
+
this._gridConfig = config;
|
|
87
|
+
}
|
|
88
|
+
loadConfig() {
|
|
89
|
+
ConfigStorage.get()
|
|
90
|
+
.then((instance) => {
|
|
91
|
+
instance.loadGridConfig(this.configName)
|
|
92
|
+
.then((config) => {
|
|
93
|
+
this.setGridConfig(config);
|
|
94
|
+
})
|
|
95
|
+
.catch((error) => {
|
|
96
|
+
console.warn(error);
|
|
97
|
+
});
|
|
98
|
+
});
|
|
99
|
+
}
|
|
100
|
+
gridConfigChangeHandler(evt) {
|
|
101
|
+
const config = evt.detail;
|
|
102
|
+
ConfigStorage.saveGridConfig(config, this.configName);
|
|
103
|
+
evt.stopPropagation();
|
|
104
|
+
}
|
|
105
|
+
modalConfigChangeHandler(evt) {
|
|
106
|
+
const config = evt.detail;
|
|
107
|
+
this._grid.setColumnsState(config.columns)
|
|
108
|
+
.then(() => {
|
|
109
|
+
this.setGridConfig(config);
|
|
110
|
+
this.closeGridConfig();
|
|
111
|
+
this.dataExporterProviderStore();
|
|
112
|
+
});
|
|
113
|
+
evt.stopPropagation();
|
|
114
|
+
}
|
|
115
|
+
buildColumnsMetadata(gridColumns) {
|
|
116
|
+
const columnsMetadata = [];
|
|
117
|
+
gridColumns === null || gridColumns === void 0 ? void 0 : gridColumns.forEach((column) => {
|
|
118
|
+
var _a, _b;
|
|
119
|
+
/**
|
|
120
|
+
* TODO: Analisar e criar uma melhor forma de tratar essa validação do "RECDESP".
|
|
121
|
+
*/
|
|
122
|
+
if (column.hidden && column.name !== "RECDESP") {
|
|
123
|
+
return;
|
|
124
|
+
}
|
|
125
|
+
const fieldData = (_a = this._dataUnit) === null || _a === void 0 ? void 0 : _a.getField(column.name);
|
|
126
|
+
const columnData = {
|
|
127
|
+
label: column.label,
|
|
128
|
+
id: column.name,
|
|
129
|
+
width: column.width,
|
|
130
|
+
type: fieldData === null || fieldData === void 0 ? void 0 : fieldData.dataType,
|
|
131
|
+
userInterface: fieldData === null || fieldData === void 0 ? void 0 : fieldData.userInterface
|
|
132
|
+
};
|
|
133
|
+
columnsMetadata.push(columnData);
|
|
134
|
+
if (((_b = fieldData === null || fieldData === void 0 ? void 0 : fieldData.properties) === null || _b === void 0 ? void 0 : _b.DESCRIPTIONFIELD) != undefined) {
|
|
135
|
+
const mergedFrom = fieldData.properties.mergedFrom;
|
|
136
|
+
const descriptionField = `${fieldData.properties.ENTITYNAME}.${fieldData.properties.DESCRIPTIONFIELD}`;
|
|
137
|
+
const descriptionColumn = {
|
|
138
|
+
label: fieldData.properties.DESCRIPTIONENTITY,
|
|
139
|
+
id: `${mergedFrom ? (mergedFrom + ".") : ""}${descriptionField}`,
|
|
140
|
+
width: 200,
|
|
141
|
+
type: DataType.TEXT,
|
|
142
|
+
userInterface: UserInterface.LONGTEXT
|
|
143
|
+
};
|
|
144
|
+
columnsMetadata.push(descriptionColumn);
|
|
145
|
+
}
|
|
146
|
+
});
|
|
147
|
+
return columnsMetadata || [];
|
|
148
|
+
}
|
|
149
|
+
getPaginationInfo() {
|
|
150
|
+
var _a;
|
|
151
|
+
return (_a = this._dataUnit) === null || _a === void 0 ? void 0 : _a.getPaginationInfo();
|
|
152
|
+
}
|
|
153
|
+
getExporterOffset(paginationInfo) {
|
|
154
|
+
if (paginationInfo == undefined) {
|
|
155
|
+
return;
|
|
156
|
+
}
|
|
157
|
+
const offset = paginationInfo.firstRecord;
|
|
158
|
+
if (offset > 0) {
|
|
159
|
+
return (offset - 1);
|
|
160
|
+
}
|
|
161
|
+
return offset;
|
|
162
|
+
}
|
|
163
|
+
async dataExporterProviderStore() {
|
|
164
|
+
var _a;
|
|
165
|
+
const selectedIDs = await ((_a = this._snkDataUnit) === null || _a === void 0 ? void 0 : _a.getSelectedRecordsIDsInfo());
|
|
166
|
+
const dataExporterProvider = {
|
|
167
|
+
getFilters: () => {
|
|
168
|
+
var _a;
|
|
169
|
+
return (_a = this._dataUnit) === null || _a === void 0 ? void 0 : _a.getAppliedFilters();
|
|
170
|
+
},
|
|
171
|
+
getColumnsMetadata: async () => {
|
|
172
|
+
var _a;
|
|
173
|
+
const columnsState = await ((_a = this._grid) === null || _a === void 0 ? void 0 : _a.getColumnsState());
|
|
174
|
+
return this.buildColumnsMetadata(columnsState);
|
|
175
|
+
},
|
|
176
|
+
getOrders: () => {
|
|
177
|
+
var _a;
|
|
178
|
+
return (_a = this._dataUnit) === null || _a === void 0 ? void 0 : _a.getSort();
|
|
179
|
+
},
|
|
180
|
+
getResourceURI: () => {
|
|
181
|
+
var _a;
|
|
182
|
+
return (_a = this._dataUnit) === null || _a === void 0 ? void 0 : _a.name;
|
|
183
|
+
},
|
|
184
|
+
getSelectedNumber: () => {
|
|
185
|
+
var _a, _b;
|
|
186
|
+
return (_b = (_a = this._dataState) === null || _a === void 0 ? void 0 : _a.selectionInfo) === null || _b === void 0 ? void 0 : _b.length;
|
|
187
|
+
},
|
|
188
|
+
getTotalRecords: () => {
|
|
189
|
+
var _a, _b, _c;
|
|
190
|
+
const { total } = ((_a = this._dataUnit) === null || _a === void 0 ? void 0 : _a.getPaginationInfo()) || {};
|
|
191
|
+
return total !== null && total !== void 0 ? total : (_c = (_b = this._dataUnit) === null || _b === void 0 ? void 0 : _b.records) === null || _c === void 0 ? void 0 : _c.length;
|
|
192
|
+
},
|
|
193
|
+
getSelectedIDs: () => {
|
|
194
|
+
return selectedIDs || [];
|
|
195
|
+
},
|
|
196
|
+
getOffset: () => {
|
|
197
|
+
return this.getExporterOffset(this.getPaginationInfo());
|
|
198
|
+
},
|
|
199
|
+
getLimit: () => {
|
|
200
|
+
var _a;
|
|
201
|
+
return (_a = this._dataUnit) === null || _a === void 0 ? void 0 : _a.pageSize;
|
|
202
|
+
},
|
|
203
|
+
getRecordID: () => {
|
|
204
|
+
var _a, _b, _c;
|
|
205
|
+
return (_c = (_b = (_a = this._dataUnit) === null || _a === void 0 ? void 0 : _a.records) === null || _b === void 0 ? void 0 : _b[0]) === null || _c === void 0 ? void 0 : _c.__record__id__;
|
|
206
|
+
}
|
|
207
|
+
};
|
|
208
|
+
store.set("exporterProviders", Object.assign(Object.assign({}, store.get("exporterProviders")), { [this.configName]: dataExporterProvider }));
|
|
209
|
+
}
|
|
210
|
+
addElementID() {
|
|
211
|
+
const dataInfo = { dataUnit: this._dataUnit };
|
|
212
|
+
ElementIDUtils.addIDInfo(this._element, null, dataInfo);
|
|
213
|
+
}
|
|
214
|
+
finshLoading() {
|
|
215
|
+
this._dataUnitLoadLockerResolver = this._dataUnit.addLoadingLocker();
|
|
216
|
+
this.addElementID();
|
|
217
|
+
this._multiSelectionListDataSource.setApplication(this._application);
|
|
218
|
+
this._multiSelectionListDataSource.setDataUnit(this._dataUnit);
|
|
219
|
+
}
|
|
220
|
+
componentWillLoad() {
|
|
221
|
+
this._application = ApplicationContext.getContextValue("__SNK__APPLICATION__");
|
|
222
|
+
let parent = this._element.parentElement;
|
|
223
|
+
while (parent) {
|
|
224
|
+
if (parent.tagName.toUpperCase() === "SNK-DATA-UNIT") {
|
|
225
|
+
this._snkDataUnit = parent;
|
|
226
|
+
this._dataUnit = this._snkDataUnit.dataUnit;
|
|
227
|
+
if (!this._dataUnit) {
|
|
228
|
+
this._snkDataUnit.addEventListener("dataUnitReady", (evt) => {
|
|
229
|
+
this._dataUnit = evt.detail;
|
|
230
|
+
this.finshLoading();
|
|
231
|
+
});
|
|
232
|
+
}
|
|
233
|
+
else {
|
|
234
|
+
this.finshLoading();
|
|
235
|
+
}
|
|
236
|
+
if (!this.messagesBuilder)
|
|
237
|
+
this.messagesBuilder = this._snkDataUnit.messagesBuilder;
|
|
238
|
+
this._snkDataUnit.addEventListener("dataStateChange", (evt) => {
|
|
239
|
+
this._dataState = evt.detail;
|
|
240
|
+
});
|
|
241
|
+
this._snkDataUnit.addEventListener("cancelEdition", () => {
|
|
242
|
+
var _a;
|
|
243
|
+
if ((_a = this._dataState) === null || _a === void 0 ? void 0 : _a.recordsIsEmpty) {
|
|
244
|
+
this._dataUnit.clearSelection();
|
|
245
|
+
}
|
|
246
|
+
});
|
|
247
|
+
break;
|
|
248
|
+
}
|
|
249
|
+
parent = parent.parentElement;
|
|
250
|
+
}
|
|
251
|
+
this.loadConfig();
|
|
252
|
+
}
|
|
253
|
+
getHeaderDisabledButtons() {
|
|
254
|
+
var _a;
|
|
255
|
+
const disabledButtons = [];
|
|
256
|
+
if ((_a = this._dataState) === null || _a === void 0 ? void 0 : _a.selectionInfo) {
|
|
257
|
+
if (this._dataState.selectionInfo.length > 1) {
|
|
258
|
+
disabledButtons.push(TaskbarElement.CLONE, "ATTACH");
|
|
259
|
+
}
|
|
260
|
+
if (this._dataState.selectionInfo.isAllRecords()) {
|
|
261
|
+
disabledButtons.push("REMOVE");
|
|
262
|
+
}
|
|
263
|
+
}
|
|
264
|
+
return disabledButtons;
|
|
265
|
+
}
|
|
266
|
+
getInvisibleButtons() {
|
|
267
|
+
let invisibleButtons = [];
|
|
268
|
+
if (!this._dataUnit || this._dataUnit.records.length === 0)
|
|
269
|
+
invisibleButtons.push("DATA_EXPORTER");
|
|
270
|
+
if (this._dataState && this._dataState.selectionInfo.mode === SelectionMode.ALL_RECORDS)
|
|
271
|
+
invisibleButtons.push("ACTIONS_BUTTON");
|
|
272
|
+
return invisibleButtons;
|
|
273
|
+
}
|
|
274
|
+
componentWillRender() {
|
|
275
|
+
var _a;
|
|
276
|
+
const invisibleButtons = this.getInvisibleButtons();
|
|
277
|
+
const hasSelectedRecord = this._dataState && !!((_a = this._dataState.selectionInfo) === null || _a === void 0 ? void 0 : _a.length);
|
|
278
|
+
let headerTaskbarId;
|
|
279
|
+
if (hasSelectedRecord) {
|
|
280
|
+
headerTaskbarId = this.isDetail ? "snkGridHeaderTaskbar.detail.selected" : "snkGridHeaderTaskbar.selected";
|
|
281
|
+
}
|
|
282
|
+
else {
|
|
283
|
+
headerTaskbarId = this.isDetail ? "snkGridHeaderTaskbar.detail.unselected" : "snkGridHeaderTaskbar.unselected";
|
|
284
|
+
}
|
|
285
|
+
this._headerTaskbarProcessor.process(headerTaskbarId, this.taskbarManager, this._dataState, this.getHeaderDisabledButtons(), invisibleButtons);
|
|
286
|
+
this._topTaskbarProcessor.process(this.getTopTaskBarId(this.presentationMode === PresentationMode.SECONDARY ? ".secondary" : ""), this.taskbarManager, this._dataState, undefined, invisibleButtons);
|
|
287
|
+
this.dataExporterProviderStore();
|
|
288
|
+
}
|
|
289
|
+
getTopTaskBarId(sufix) {
|
|
290
|
+
var _a;
|
|
291
|
+
if ((_a = this._dataState) === null || _a === void 0 ? void 0 : _a.isDirty) {
|
|
292
|
+
return `snkGridTopTaskbar.finish_edition${sufix}`;
|
|
293
|
+
}
|
|
294
|
+
return `snkGridTopTaskbar.regular${sufix}`;
|
|
295
|
+
}
|
|
296
|
+
getPrimaryButton() {
|
|
297
|
+
return this.presentationMode === PresentationMode.PRIMARY ? "INSERT" : "";
|
|
298
|
+
}
|
|
299
|
+
onEzGridReady() {
|
|
300
|
+
var _a;
|
|
301
|
+
(_a = this._dataUnitLoadLockerResolver) === null || _a === void 0 ? void 0 : _a.call(this);
|
|
302
|
+
this._dataUnitLoadLockerResolver = undefined;
|
|
303
|
+
}
|
|
304
|
+
render() {
|
|
305
|
+
var _a, _b;
|
|
306
|
+
if (!this._dataUnit) {
|
|
307
|
+
return undefined;
|
|
308
|
+
}
|
|
309
|
+
return (h("div", { class: "snk-grid__container ez-flex ez-flex--column ez-flex-item--auto ez-padding--large" }, h("div", { class: "snk-grid__header ez-margin-bottom--medium" }, h("snk-filter-bar", { ref: (ref) => this._snkFilterBar = ref, dataUnit: this._dataUnit, "data-element-id": "gridFilter", class: "snk-grid__filter-bar ez-align--top", configName: this.configName, messagesBuilder: this.messagesBuilder }), ((_b = (_a = this._snkFilterBar) === null || _a === void 0 ? void 0 : _a.filterConfig) === null || _b === void 0 ? void 0 : _b.length) > 0 &&
|
|
310
|
+
h("hr", { class: "ez-divider-vertical ez-divider--dark ez-margin-left--medium snk-grid__header-divider" }), h("snk-taskbar", { class: "ez-padding-left--medium", "data-element-id": "grid_top", key: "topTaskbar", configName: this.configName, dataUnit: this._dataUnit, messagesBuilder: this.messagesBuilder, buttons: this._topTaskbarProcessor.buttons, disabledButtons: this._topTaskbarProcessor.disabledButtons, customButtons: this._topTaskbarProcessor.customButtons, primaryButton: this.getPrimaryButton() })), h("ez-grid", { ref: ref => this._grid = ref, class: (this.presentationMode === PresentationMode.SECONDARY ? "snk-grid-container__without-shadow " : "") + "snk-grid__table", "data-element-id": "embedded", dataUnit: this._dataUnit, key: "grid-" + this._snkDataUnit.entityName, config: this._gridConfig, onConfigChange: (evt) => { this.gridConfigChangeHandler(evt); }, onEzDoubleClick: () => this.gridDoubleClick.emit(), statusResolver: this.statusResolver, multipleSelection: this.multipleSelection, onComponentReady: () => this.onEzGridReady(), columnfilterDataSource: this._multiSelectionListDataSource, selectionToastConfig: this.selectionToastConfig, useEnterLikeTab: this.useEnterLikeTab, recordsValidator: this.recordsValidator, canEdit: this.canEdit }, h("snk-taskbar", { dataUnit: this._dataUnit, configName: this.configName, messagesBuilder: this.messagesBuilder, "data-element-id": "grid_left", buttons: this._headerTaskbarProcessor.buttons, disabledButtons: this._headerTaskbarProcessor.disabledButtons, customButtons: this._headerTaskbarProcessor.customButtons, slot: "leftButtons", actionsList: this.actionsList })), h("div", { class: "ez-col ez-col--sd-12" }, h("slot", { name: "SnkGridFooter" })), h("ez-modal", { modalSize: "small", closeEsc: false, closeOutsideClick: false, opened: this._popUpGridConfig, onEzCloseModal: () => this.closeGridConfig() }, h("snk-grid-config", { ref: ref => this._snkGridConfig = ref, config: this._gridConfig, "data-element-id": this._element.getAttribute(ElementIDUtils.DATA_ELEMENT_ID_ATTRIBUTE_NAME), application: this._application, selectedIndex: 0, configName: this.configName, onConfigChange: (evt) => this.modalConfigChangeHandler(evt), onConfigCancel: () => this.closeGridConfig() }))));
|
|
311
|
+
}
|
|
312
|
+
static get is() { return "snk-grid"; }
|
|
313
|
+
static get encapsulation() { return "scoped"; }
|
|
314
|
+
static get originalStyleUrls() {
|
|
315
|
+
return {
|
|
316
|
+
"$": ["snk-grid.css"]
|
|
317
|
+
};
|
|
318
|
+
}
|
|
319
|
+
static get styleUrls() {
|
|
320
|
+
return {
|
|
321
|
+
"$": ["snk-grid.css"]
|
|
322
|
+
};
|
|
323
|
+
}
|
|
324
|
+
static get properties() {
|
|
325
|
+
return {
|
|
326
|
+
"configName": {
|
|
327
|
+
"type": "string",
|
|
328
|
+
"mutable": false,
|
|
329
|
+
"complexType": {
|
|
330
|
+
"original": "string",
|
|
331
|
+
"resolved": "string",
|
|
332
|
+
"references": {}
|
|
333
|
+
},
|
|
334
|
+
"required": false,
|
|
335
|
+
"optional": false,
|
|
336
|
+
"docs": {
|
|
337
|
+
"tags": [],
|
|
338
|
+
"text": "Nome usado para salvar/recuperar a configura\u00E7\u00E3o."
|
|
339
|
+
},
|
|
340
|
+
"attribute": "config-name",
|
|
341
|
+
"reflect": false
|
|
342
|
+
},
|
|
343
|
+
"selectionToastConfig": {
|
|
344
|
+
"type": "unknown",
|
|
345
|
+
"mutable": false,
|
|
346
|
+
"complexType": {
|
|
347
|
+
"original": "ISelectionToastConfig",
|
|
348
|
+
"resolved": "ISelectionToastConfig",
|
|
349
|
+
"references": {
|
|
350
|
+
"ISelectionToastConfig": {
|
|
351
|
+
"location": "import",
|
|
352
|
+
"path": "@sankhyalabs/ezui/dist/types/components/ez-grid/interfaces"
|
|
353
|
+
}
|
|
354
|
+
}
|
|
355
|
+
},
|
|
356
|
+
"required": false,
|
|
357
|
+
"optional": false,
|
|
358
|
+
"docs": {
|
|
359
|
+
"tags": [],
|
|
360
|
+
"text": "Configura\u00E7\u00E3o da sele\u00E7\u00E3o de grade no toast."
|
|
361
|
+
}
|
|
362
|
+
},
|
|
363
|
+
"actionsList": {
|
|
364
|
+
"type": "unknown",
|
|
365
|
+
"mutable": false,
|
|
366
|
+
"complexType": {
|
|
367
|
+
"original": "Array<Action>",
|
|
368
|
+
"resolved": "Action[]",
|
|
369
|
+
"references": {
|
|
370
|
+
"Array": {
|
|
371
|
+
"location": "global"
|
|
372
|
+
},
|
|
373
|
+
"Action": {
|
|
374
|
+
"location": "import",
|
|
375
|
+
"path": "../snk-taskbar/snk-taskbar"
|
|
376
|
+
}
|
|
377
|
+
}
|
|
378
|
+
},
|
|
379
|
+
"required": false,
|
|
380
|
+
"optional": false,
|
|
381
|
+
"docs": {
|
|
382
|
+
"tags": [],
|
|
383
|
+
"text": "Lista de a\u00E7\u00F5es que devem ser usadas no bot\u00E3o \"Mais op\u00E7\u00F5es\" do componente snk-taskbar."
|
|
384
|
+
}
|
|
385
|
+
},
|
|
386
|
+
"isDetail": {
|
|
387
|
+
"type": "boolean",
|
|
388
|
+
"mutable": false,
|
|
389
|
+
"complexType": {
|
|
390
|
+
"original": "boolean",
|
|
391
|
+
"resolved": "boolean",
|
|
392
|
+
"references": {}
|
|
393
|
+
},
|
|
394
|
+
"required": false,
|
|
395
|
+
"optional": false,
|
|
396
|
+
"docs": {
|
|
397
|
+
"tags": [],
|
|
398
|
+
"text": "Determina se a grade est\u00E1 vinculada a um detalhe."
|
|
399
|
+
},
|
|
400
|
+
"attribute": "is-detail",
|
|
401
|
+
"reflect": false
|
|
402
|
+
},
|
|
403
|
+
"taskbarManager": {
|
|
404
|
+
"type": "unknown",
|
|
405
|
+
"mutable": false,
|
|
406
|
+
"complexType": {
|
|
407
|
+
"original": "TaskbarManager",
|
|
408
|
+
"resolved": "TaskbarManager",
|
|
409
|
+
"references": {
|
|
410
|
+
"TaskbarManager": {
|
|
411
|
+
"location": "import",
|
|
412
|
+
"path": "../snk-taskbar/snk-taskbar"
|
|
413
|
+
}
|
|
414
|
+
}
|
|
415
|
+
},
|
|
416
|
+
"required": false,
|
|
417
|
+
"optional": false,
|
|
418
|
+
"docs": {
|
|
419
|
+
"tags": [],
|
|
420
|
+
"text": "Gerenciador das barras de tarefas. \u00C9 poss\u00EDvel determinar bot\u00F5es espec\u00EDficos\nou mesmo gerenciar o estado dos bot\u00F5es."
|
|
421
|
+
}
|
|
422
|
+
},
|
|
423
|
+
"statusResolver": {
|
|
424
|
+
"type": "unknown",
|
|
425
|
+
"mutable": false,
|
|
426
|
+
"complexType": {
|
|
427
|
+
"original": "IStatusResolver | StatusResolverFunction",
|
|
428
|
+
"resolved": "((data: object) => string) | IStatusResolver",
|
|
429
|
+
"references": {
|
|
430
|
+
"IStatusResolver": {
|
|
431
|
+
"location": "import",
|
|
432
|
+
"path": "@sankhyalabs/ezui/dist/types/components/ez-grid/controller/EzGridController"
|
|
433
|
+
},
|
|
434
|
+
"StatusResolverFunction": {
|
|
435
|
+
"location": "import",
|
|
436
|
+
"path": "@sankhyalabs/ezui/dist/types/components/ez-grid/controller/EzGridController"
|
|
437
|
+
}
|
|
438
|
+
}
|
|
439
|
+
},
|
|
440
|
+
"required": false,
|
|
441
|
+
"optional": false,
|
|
442
|
+
"docs": {
|
|
443
|
+
"tags": [],
|
|
444
|
+
"text": "Configura\u00E7\u00E3o do valor da coluna de status.\nExemplo: '{ \"RECDESP\": { \"-1\" : \"#BD0025\", \"1\" : \"#157A00\" } }'"
|
|
445
|
+
}
|
|
446
|
+
},
|
|
447
|
+
"multipleSelection": {
|
|
448
|
+
"type": "boolean",
|
|
449
|
+
"mutable": false,
|
|
450
|
+
"complexType": {
|
|
451
|
+
"original": "boolean",
|
|
452
|
+
"resolved": "boolean",
|
|
453
|
+
"references": {}
|
|
454
|
+
},
|
|
455
|
+
"required": false,
|
|
456
|
+
"optional": false,
|
|
457
|
+
"docs": {
|
|
458
|
+
"tags": [],
|
|
459
|
+
"text": "Determina se pode haver mais de uma linha selecionada."
|
|
460
|
+
},
|
|
461
|
+
"attribute": "multiple-selection",
|
|
462
|
+
"reflect": false
|
|
463
|
+
},
|
|
464
|
+
"presentationMode": {
|
|
465
|
+
"type": "string",
|
|
466
|
+
"mutable": false,
|
|
467
|
+
"complexType": {
|
|
468
|
+
"original": "PresentationMode",
|
|
469
|
+
"resolved": "PresentationMode.PRIMARY | PresentationMode.SECONDARY",
|
|
470
|
+
"references": {
|
|
471
|
+
"PresentationMode": {
|
|
472
|
+
"location": "import",
|
|
473
|
+
"path": "../../lib/@types"
|
|
474
|
+
}
|
|
475
|
+
}
|
|
476
|
+
},
|
|
477
|
+
"required": false,
|
|
478
|
+
"optional": false,
|
|
479
|
+
"docs": {
|
|
480
|
+
"tags": [],
|
|
481
|
+
"text": "Altera o modo de apresenta\u00E7\u00E3o dos bot\u00F5es do snk-taskbar."
|
|
482
|
+
},
|
|
483
|
+
"attribute": "presentation-mode",
|
|
484
|
+
"reflect": false,
|
|
485
|
+
"defaultValue": "PresentationMode.PRIMARY"
|
|
486
|
+
},
|
|
487
|
+
"messagesBuilder": {
|
|
488
|
+
"type": "unknown",
|
|
489
|
+
"mutable": true,
|
|
490
|
+
"complexType": {
|
|
491
|
+
"original": "SnkMessageBuilder",
|
|
492
|
+
"resolved": "SnkMessageBuilder",
|
|
493
|
+
"references": {
|
|
494
|
+
"SnkMessageBuilder": {
|
|
495
|
+
"location": "import",
|
|
496
|
+
"path": "../../lib/message/SnkMessageBuilder"
|
|
497
|
+
}
|
|
498
|
+
}
|
|
499
|
+
},
|
|
500
|
+
"required": false,
|
|
501
|
+
"optional": false,
|
|
502
|
+
"docs": {
|
|
503
|
+
"tags": [],
|
|
504
|
+
"text": "Respons\u00E1vel por flexibilizar e padronizar o uso de mensagens nos blocos de constru\u00E7\u00E3o."
|
|
505
|
+
}
|
|
506
|
+
},
|
|
507
|
+
"useEnterLikeTab": {
|
|
508
|
+
"type": "boolean",
|
|
509
|
+
"mutable": false,
|
|
510
|
+
"complexType": {
|
|
511
|
+
"original": "boolean",
|
|
512
|
+
"resolved": "boolean",
|
|
513
|
+
"references": {}
|
|
514
|
+
},
|
|
515
|
+
"required": false,
|
|
516
|
+
"optional": false,
|
|
517
|
+
"docs": {
|
|
518
|
+
"tags": [],
|
|
519
|
+
"text": "Quando verdadeiro, o ENTER far\u00E1 a navega\u00E7\u00E3o como se fosse a tecla TAB na grade."
|
|
520
|
+
},
|
|
521
|
+
"attribute": "use-enter-like-tab",
|
|
522
|
+
"reflect": false,
|
|
523
|
+
"defaultValue": "false"
|
|
524
|
+
},
|
|
525
|
+
"recordsValidator": {
|
|
526
|
+
"type": "unknown",
|
|
527
|
+
"mutable": false,
|
|
528
|
+
"complexType": {
|
|
529
|
+
"original": "IRecordValidator",
|
|
530
|
+
"resolved": "IRecordValidator",
|
|
531
|
+
"references": {
|
|
532
|
+
"IRecordValidator": {
|
|
533
|
+
"location": "import",
|
|
534
|
+
"path": "@sankhyalabs/ezui/dist/types/utils/form/interfaces"
|
|
535
|
+
}
|
|
536
|
+
}
|
|
537
|
+
},
|
|
538
|
+
"required": false,
|
|
539
|
+
"optional": false,
|
|
540
|
+
"docs": {
|
|
541
|
+
"tags": [],
|
|
542
|
+
"text": "Validador respons\u00E1vel por checar a integridade das informa\u00E7\u00F5es do registro."
|
|
543
|
+
}
|
|
544
|
+
},
|
|
545
|
+
"canEdit": {
|
|
546
|
+
"type": "boolean",
|
|
547
|
+
"mutable": false,
|
|
548
|
+
"complexType": {
|
|
549
|
+
"original": "boolean",
|
|
550
|
+
"resolved": "boolean",
|
|
551
|
+
"references": {}
|
|
552
|
+
},
|
|
553
|
+
"required": false,
|
|
554
|
+
"optional": false,
|
|
555
|
+
"docs": {
|
|
556
|
+
"tags": [],
|
|
557
|
+
"text": "Define se a edi\u00E7\u00E3o est\u00E1 habilitada na grid."
|
|
558
|
+
},
|
|
559
|
+
"attribute": "can-edit",
|
|
560
|
+
"reflect": false,
|
|
561
|
+
"defaultValue": "true"
|
|
562
|
+
}
|
|
563
|
+
};
|
|
564
|
+
}
|
|
565
|
+
static get states() {
|
|
566
|
+
return {
|
|
567
|
+
"_dataUnit": {},
|
|
568
|
+
"_dataState": {},
|
|
569
|
+
"_gridConfig": {},
|
|
570
|
+
"_popUpGridConfig": {}
|
|
571
|
+
};
|
|
572
|
+
}
|
|
573
|
+
static get events() {
|
|
574
|
+
return [{
|
|
575
|
+
"method": "actionClick",
|
|
576
|
+
"name": "actionClick",
|
|
577
|
+
"bubbles": true,
|
|
578
|
+
"cancelable": true,
|
|
579
|
+
"composed": true,
|
|
580
|
+
"docs": {
|
|
581
|
+
"tags": [],
|
|
582
|
+
"text": "Emitido sempre que houver click de bot\u00E3o ou a\u00E7\u00E3o."
|
|
583
|
+
},
|
|
584
|
+
"complexType": {
|
|
585
|
+
"original": "string",
|
|
586
|
+
"resolved": "string",
|
|
587
|
+
"references": {}
|
|
588
|
+
}
|
|
589
|
+
}, {
|
|
590
|
+
"method": "gridDoubleClick",
|
|
591
|
+
"name": "gridDoubleClick",
|
|
592
|
+
"bubbles": true,
|
|
593
|
+
"cancelable": true,
|
|
594
|
+
"composed": true,
|
|
595
|
+
"docs": {
|
|
596
|
+
"tags": [],
|
|
597
|
+
"text": "Emitido sempre que houver duplo click na grade."
|
|
598
|
+
},
|
|
599
|
+
"complexType": {
|
|
600
|
+
"original": "void",
|
|
601
|
+
"resolved": "void",
|
|
602
|
+
"references": {}
|
|
603
|
+
}
|
|
604
|
+
}];
|
|
605
|
+
}
|
|
606
|
+
static get methods() {
|
|
607
|
+
return {
|
|
608
|
+
"showConfig": {
|
|
609
|
+
"complexType": {
|
|
610
|
+
"signature": "() => Promise<void>",
|
|
611
|
+
"parameters": [],
|
|
612
|
+
"references": {
|
|
613
|
+
"Promise": {
|
|
614
|
+
"location": "global"
|
|
615
|
+
}
|
|
616
|
+
},
|
|
617
|
+
"return": "Promise<void>"
|
|
618
|
+
},
|
|
619
|
+
"docs": {
|
|
620
|
+
"text": "Exibe a janela de configura\u00E7\u00F5es da grade.",
|
|
621
|
+
"tags": []
|
|
622
|
+
}
|
|
623
|
+
},
|
|
624
|
+
"hideConfig": {
|
|
625
|
+
"complexType": {
|
|
626
|
+
"signature": "() => Promise<void>",
|
|
627
|
+
"parameters": [],
|
|
628
|
+
"references": {
|
|
629
|
+
"Promise": {
|
|
630
|
+
"location": "global"
|
|
631
|
+
}
|
|
632
|
+
},
|
|
633
|
+
"return": "Promise<void>"
|
|
634
|
+
},
|
|
635
|
+
"docs": {
|
|
636
|
+
"text": "Fecha a janela de configura\u00E7\u00F5es da grade.",
|
|
637
|
+
"tags": []
|
|
638
|
+
}
|
|
639
|
+
},
|
|
640
|
+
"setConfig": {
|
|
641
|
+
"complexType": {
|
|
642
|
+
"signature": "(config: IGridConfig) => Promise<void>",
|
|
643
|
+
"parameters": [{
|
|
644
|
+
"tags": [],
|
|
645
|
+
"text": ""
|
|
646
|
+
}],
|
|
647
|
+
"references": {
|
|
648
|
+
"Promise": {
|
|
649
|
+
"location": "global"
|
|
650
|
+
},
|
|
651
|
+
"IGridConfig": {
|
|
652
|
+
"location": "import",
|
|
653
|
+
"path": "@sankhyalabs/ezui/dist/types/components/ez-grid/controller/EzGridController"
|
|
654
|
+
}
|
|
655
|
+
},
|
|
656
|
+
"return": "Promise<void>"
|
|
657
|
+
},
|
|
658
|
+
"docs": {
|
|
659
|
+
"text": "Atribui o valor da configura\u00E7\u00E3o da grade.",
|
|
660
|
+
"tags": []
|
|
661
|
+
}
|
|
662
|
+
},
|
|
663
|
+
"reloadFilterBar": {
|
|
664
|
+
"complexType": {
|
|
665
|
+
"signature": "() => Promise<void>",
|
|
666
|
+
"parameters": [],
|
|
667
|
+
"references": {
|
|
668
|
+
"Promise": {
|
|
669
|
+
"location": "global"
|
|
670
|
+
}
|
|
671
|
+
},
|
|
672
|
+
"return": "Promise<void>"
|
|
673
|
+
},
|
|
674
|
+
"docs": {
|
|
675
|
+
"text": "Faz o recarregamento da filter-bar da grade buscando o state no servidor.",
|
|
676
|
+
"tags": []
|
|
677
|
+
}
|
|
678
|
+
}
|
|
679
|
+
};
|
|
680
|
+
}
|
|
681
|
+
static get elementRef() { return "_element"; }
|
|
682
|
+
}
|