@sankhyalabs/sankhyablocks 8.16.0-rc.22 → 8.16.0-rc.23
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/cjs/AuthorizationConfig-79ffae4b.js.gz +0 -0
- package/dist/cjs/{ConfigStorage-ecc0ed20.js → ConfigStorage-f079f5fd.js} +2 -2
- package/dist/cjs/ConfigStorage-f079f5fd.js.gz +0 -0
- package/dist/cjs/{ContinuousInsertUtils-29b65619.js → ContinuousInsertUtils-64e47516.js} +29 -20
- package/dist/cjs/ContinuousInsertUtils-64e47516.js.gz +0 -0
- package/dist/cjs/{DataFetcher-cadeef8e.js → DataFetcher-e059eb72.js} +7 -5
- package/dist/cjs/DataFetcher-e059eb72.js.gz +0 -0
- package/dist/cjs/GetSelectedRecordsIDsInfo-bd50caf1.js.gz +0 -0
- package/dist/cjs/ISave-e91b70a7.js.gz +0 -0
- package/dist/cjs/ParamType-90b440a0.js.gz +0 -0
- package/dist/cjs/PersonalizedFilterUtils-0184ffbb.js.gz +0 -0
- package/dist/cjs/PrintUtils-bcaeb82f.js.gz +0 -0
- package/dist/cjs/ResourceIDUtils-5ff86aa7.js.gz +0 -0
- package/dist/cjs/{SnkFormConfigManager-f1c92f79.js → SnkFormConfigManager-63369164.js} +2 -2
- package/dist/cjs/SnkFormConfigManager-63369164.js.gz +0 -0
- package/dist/cjs/SnkMessageBuilder-bae64d0d.js.gz +0 -0
- package/dist/cjs/Sortable-fb1c4cbb.js.gz +0 -0
- package/dist/cjs/{auth-fetcher-d68841bc.js → auth-fetcher-4f853233.js} +1 -1
- package/dist/cjs/auth-fetcher-4f853233.js.gz +0 -0
- package/dist/cjs/constants-35ddd366.js.gz +0 -0
- package/dist/cjs/{dataunit-fetcher-f89461c1.js → dataunit-fetcher-228016f4.js} +3 -3
- package/dist/cjs/dataunit-fetcher-228016f4.js.gz +0 -0
- package/dist/cjs/field-search-68e34bf4.js.gz +0 -0
- package/dist/cjs/filter-item-type.enum-a7ffdaa6.js.gz +0 -0
- package/dist/cjs/filter-type.enum-b14ce507.js.gz +0 -0
- package/dist/cjs/filterNumberVariation-d65332da.js.gz +0 -0
- package/dist/cjs/{form-config-fetcher-ed497282.js → form-config-fetcher-39397ac5.js} +1 -1
- package/dist/cjs/form-config-fetcher-39397ac5.js.gz +0 -0
- package/dist/cjs/index-102ba62d.js.gz +0 -0
- package/dist/cjs/index-1dfc7a6e.js.gz +0 -0
- package/dist/cjs/index-8d94b7e0.js.gz +0 -0
- package/dist/cjs/index-c5771aba.js.gz +0 -0
- package/dist/cjs/index-f9e81701.js +8 -28
- package/dist/cjs/index-f9e81701.js.gz +0 -0
- package/dist/cjs/index.cjs.js.gz +0 -0
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/loader.cjs.js.gz +0 -0
- package/dist/cjs/{pesquisa-fetcher-ca89181c.js → pesquisa-fetcher-a9bfeb22.js} +7 -2
- package/dist/cjs/pesquisa-fetcher-a9bfeb22.js.gz +0 -0
- package/dist/cjs/presentationMode-52ec3bdd.js.gz +0 -0
- package/dist/cjs/sankhyablocks.cjs.js +1 -1
- package/dist/cjs/sankhyablocks.cjs.js.gz +0 -0
- package/dist/cjs/snk-actions-button_4.cjs.entry.js +30 -27
- package/dist/cjs/snk-actions-button_4.cjs.entry.js.gz +0 -0
- package/dist/cjs/snk-actions-form.cjs.entry.js.gz +0 -0
- package/dist/cjs/snk-application.cjs.entry.js +108 -60
- package/dist/cjs/snk-application.cjs.entry.js.gz +0 -0
- package/dist/cjs/snk-attach.cjs.entry.js +5 -5
- package/dist/cjs/snk-attach.cjs.entry.js.gz +0 -0
- package/dist/cjs/snk-client-confirm.cjs.entry.js.gz +0 -0
- package/dist/cjs/{snk-form-config.cjs.entry.js → snk-config-options_3.cjs.entry.js} +383 -9
- package/dist/cjs/snk-config-options_3.cjs.entry.js.gz +0 -0
- package/dist/cjs/snk-configurator.cjs.entry.js.gz +0 -0
- package/dist/cjs/snk-crud.cjs.entry.js +6 -6
- package/dist/cjs/snk-crud.cjs.entry.js.gz +0 -0
- package/dist/cjs/snk-custom-slot-elements.cjs.entry.js.gz +0 -0
- package/dist/cjs/snk-data-exporter.cjs.entry.js +15 -14
- package/dist/cjs/snk-data-exporter.cjs.entry.js.gz +0 -0
- package/dist/cjs/{snk-data-unit-d8279f5f.js → snk-data-unit-3d9b6ed4.js} +10 -9
- package/dist/cjs/snk-data-unit-3d9b6ed4.js.gz +0 -0
- package/dist/cjs/snk-data-unit.cjs.entry.js +3 -3
- package/dist/cjs/snk-data-unit.cjs.entry.js.gz +0 -0
- package/dist/cjs/snk-detail-view.cjs.entry.js +7 -7
- package/dist/cjs/snk-detail-view.cjs.entry.js.gz +0 -0
- package/dist/cjs/snk-entity-list.cjs.entry.js.gz +0 -0
- package/dist/cjs/snk-exporter-email-sender.cjs.entry.js.gz +0 -0
- package/dist/cjs/snk-expression-group_2.cjs.entry.js.gz +0 -0
- package/dist/cjs/snk-field-config.cjs.entry.js.gz +0 -0
- package/dist/cjs/snk-filter-advanced-mode_2.cjs.entry.js.gz +0 -0
- package/dist/cjs/{snk-filter-bar.cjs.entry.js → snk-filter-bar_4.cjs.entry.js} +692 -3
- package/dist/cjs/snk-filter-bar_4.cjs.entry.js.gz +0 -0
- package/dist/cjs/snk-filter-binary-select.cjs.entry.js.gz +0 -0
- package/dist/cjs/snk-filter-checkbox-list.cjs.entry.js.gz +0 -0
- package/dist/cjs/snk-filter-detail.cjs.entry.js.gz +0 -0
- package/dist/cjs/snk-filter-field-search_2.cjs.entry.js.gz +0 -0
- package/dist/cjs/snk-filter-modal-item.cjs.entry.js +3 -3
- package/dist/cjs/snk-filter-modal-item.cjs.entry.js.gz +0 -0
- package/dist/cjs/snk-filter-multi-select.cjs.entry.js.gz +0 -0
- package/dist/cjs/snk-filter-number.cjs.entry.js.gz +0 -0
- package/dist/cjs/snk-filter-period.cjs.entry.js.gz +0 -0
- package/dist/cjs/snk-filter-search.cjs.entry.js.gz +0 -0
- package/dist/cjs/snk-filter-text.cjs.entry.js +2 -1
- package/dist/cjs/snk-filter-text.cjs.entry.js.gz +0 -0
- package/dist/cjs/snk-form-summary.cjs.entry.js.gz +0 -0
- package/dist/cjs/snk-form-view.cjs.entry.js.gz +0 -0
- package/dist/cjs/snk-grid.cjs.entry.js +6 -6
- package/dist/cjs/snk-grid.cjs.entry.js.gz +0 -0
- package/dist/cjs/{snk-guides-viewer-b9920385.js → snk-guides-viewer-2139481c.js} +6 -6
- package/dist/cjs/snk-guides-viewer-2139481c.js.gz +0 -0
- package/dist/cjs/snk-guides-viewer.cjs.entry.js +7 -7
- package/dist/cjs/snk-guides-viewer.cjs.entry.js.gz +0 -0
- package/dist/cjs/snk-personalized-filter-editor.cjs.entry.js +3 -3
- package/dist/cjs/snk-personalized-filter-editor.cjs.entry.js.gz +0 -0
- package/dist/cjs/snk-personalized-filter.cjs.entry.js +3 -3
- package/dist/cjs/snk-personalized-filter.cjs.entry.js.gz +0 -0
- package/dist/cjs/snk-pesquisa.cjs.entry.js.gz +0 -0
- package/dist/cjs/snk-print-selector.cjs.entry.js.gz +0 -0
- package/dist/cjs/snk-simple-bar.cjs.entry.js.gz +0 -0
- package/dist/cjs/snk-simple-crud.cjs.entry.js +38 -15
- package/dist/cjs/snk-simple-crud.cjs.entry.js.gz +0 -0
- package/dist/cjs/snk-tab-config.cjs.entry.js.gz +0 -0
- package/dist/cjs/snk-taskbar.cjs.entry.js +3 -2
- package/dist/cjs/snk-taskbar.cjs.entry.js.gz +0 -0
- package/dist/cjs/taskbar-elements-9ad1f9c0.js.gz +0 -0
- package/dist/cjs/teste-pesquisa.cjs.entry.js.gz +0 -0
- package/dist/collection/collection-manifest.json +11 -31
- package/dist/collection/components/snk-actions-button/actions/enum/ActionsType.js.gz +0 -0
- package/dist/collection/components/snk-actions-button/actions/enum/ParamType.js.gz +0 -0
- package/dist/collection/components/snk-actions-button/actions/enum/RefreshType.js.gz +0 -0
- package/dist/collection/components/snk-actions-button/actions/executor/java.executor.js.gz +0 -0
- package/dist/collection/components/snk-actions-button/actions/executor/javascript.executor.js.gz +0 -0
- package/dist/collection/components/snk-actions-button/actions/executor/launch-screen.executor.js.gz +0 -0
- package/dist/collection/components/snk-actions-button/actions/executor/procedure.executor.js.gz +0 -0
- package/dist/collection/components/snk-actions-button/actions/factory/executor.factory.js.gz +0 -0
- package/dist/collection/components/snk-actions-button/actions/index.js.gz +0 -0
- package/dist/collection/components/snk-actions-button/actions/interfaces/IAction.js.gz +0 -0
- package/dist/collection/components/snk-actions-button/actions/interfaces/IExecSource.js.gz +0 -0
- package/dist/collection/components/snk-actions-button/actions/interfaces/IExecuteActions.js.gz +0 -0
- package/dist/collection/components/snk-actions-button/actions/interfaces/IExecuteActionsProps.js.gz +0 -0
- package/dist/collection/components/snk-actions-button/actions/interfaces/IResultParam.js.gz +0 -0
- package/dist/collection/components/snk-actions-button/clientEvent/index.js.gz +0 -0
- package/dist/collection/components/snk-actions-button/clientEvent/interfaces/IClientEventConfirm.js.gz +0 -0
- package/dist/collection/components/snk-actions-button/interfaces/index.js +1 -0
- package/dist/collection/components/snk-actions-button/interfaces/index.js.gz +0 -0
- package/dist/collection/components/snk-actions-button/snk-actions-button.css.gz +0 -0
- package/dist/collection/components/snk-actions-button/snk-actions-button.js +27 -26
- package/dist/collection/components/snk-actions-button/snk-actions-button.js.gz +0 -0
- package/dist/collection/components/snk-actions-button/subcomponents/snk-actions-form.js.gz +0 -0
- package/dist/collection/components/snk-actions-button/subcomponents/snk-client-confirm.js.gz +0 -0
- package/dist/collection/components/snk-application/__mocks__/snk-application.js.gz +0 -0
- package/dist/collection/components/snk-application/errorhandler/snk-error-handler.js.gz +0 -0
- package/dist/collection/components/snk-application/request-listener/DebouncedRequestListener.js +28 -0
- package/dist/collection/components/snk-application/request-listener/DebouncedRequestListener.js.gz +0 -0
- package/dist/collection/components/snk-application/request-listener/RequestListenerFactory.js +16 -0
- package/dist/collection/components/snk-application/request-listener/RequestListenerFactory.js.gz +0 -0
- package/dist/collection/components/snk-application/request-listener/RequestListenerLoadingBar.js +52 -0
- package/dist/collection/components/snk-application/request-listener/RequestListenerLoadingBar.js.gz +0 -0
- package/dist/collection/components/snk-application/snk-application.css.gz +0 -0
- package/dist/collection/components/snk-application/snk-application.js +3 -53
- package/dist/collection/components/snk-application/snk-application.js.gz +0 -0
- package/dist/collection/components/snk-attach/interfaces/ICrudConfig.js.gz +0 -0
- package/dist/collection/components/snk-attach/interfaces/TFetcherType.js.gz +0 -0
- package/dist/collection/components/snk-attach/interfaces/index.js.gz +0 -0
- package/dist/collection/components/snk-attach/snk-attach.css.gz +0 -0
- package/dist/collection/components/snk-attach/snk-attach.js.gz +0 -0
- package/dist/collection/components/snk-attach/structure/builder/anexo-sistema-crud-config.builder.js.gz +0 -0
- package/dist/collection/components/snk-attach/structure/builder/attach-crud-config.builder.js.gz +0 -0
- package/dist/collection/components/snk-attach/structure/builder/taskbar-builder.js.gz +0 -0
- package/dist/collection/components/snk-attach/structure/fetcher/facade/fetcher.facade.js.gz +0 -0
- package/dist/collection/components/snk-attach/structure/fetcher/factory/anexo-sistema-data-unit.factory.js.gz +0 -0
- package/dist/collection/components/snk-attach/structure/fetcher/factory/attach-fetcher-data-unit.factory.js.gz +0 -0
- package/dist/collection/components/snk-attach/structure/index.js.gz +0 -0
- package/dist/collection/components/snk-configurator/AuthorizationConfig.js.gz +0 -0
- package/dist/collection/components/snk-configurator/snk-configurator.css.gz +0 -0
- package/dist/collection/components/snk-configurator/snk-configurator.js.gz +0 -0
- package/dist/collection/components/snk-crud/interfaces/PropsCustomEditor.js.gz +0 -0
- package/dist/collection/components/snk-crud/interfaces/PropsCustomRender.js.gz +0 -0
- package/dist/collection/components/snk-crud/snk-crud.css.gz +0 -0
- package/dist/collection/components/snk-crud/snk-crud.js +1 -1
- package/dist/collection/components/snk-crud/snk-crud.js.gz +0 -0
- package/dist/collection/components/snk-crud/subcomponents/CardFormResizeObserver.js.gz +0 -0
- package/dist/collection/components/snk-crud/subcomponents/GuideBuilder.js.gz +0 -0
- package/dist/collection/components/snk-crud/subcomponents/snk-detail-view/snk-detail-view.css.gz +0 -0
- package/dist/collection/components/snk-crud/subcomponents/snk-detail-view/snk-detail-view.js.gz +0 -0
- package/dist/collection/components/snk-crud/subcomponents/snk-form-summary.css.gz +0 -0
- package/dist/collection/components/snk-crud/subcomponents/snk-form-summary.js.gz +0 -0
- package/dist/collection/components/snk-crud/subcomponents/snk-form-view.css.gz +0 -0
- package/dist/collection/components/snk-crud/subcomponents/snk-form-view.js.gz +0 -0
- package/dist/collection/components/snk-crud/subcomponents/snk-guides-viewer.css.gz +0 -0
- package/dist/collection/components/snk-crud/subcomponents/snk-guides-viewer.js +1 -1
- package/dist/collection/components/snk-crud/subcomponents/snk-guides-viewer.js.gz +0 -0
- package/dist/collection/components/snk-custom-slot-elements/snk-custom-slot-elements.css.gz +0 -0
- package/dist/collection/components/snk-custom-slot-elements/snk-custom-slot-elements.js.gz +0 -0
- package/dist/collection/components/snk-data-exporter/data/attachment.js.gz +0 -0
- package/dist/collection/components/snk-data-exporter/data/email.js.gz +0 -0
- package/dist/collection/components/snk-data-exporter/data/export-config.js.gz +0 -0
- package/dist/collection/components/snk-data-exporter/data/export-result.js.gz +0 -0
- package/dist/collection/components/snk-data-exporter/data/report.js.gz +0 -0
- package/dist/collection/components/snk-data-exporter/exporter-email-sender/email-info-step.js.gz +0 -0
- package/dist/collection/components/snk-data-exporter/exporter-email-sender/options-step.js.gz +0 -0
- package/dist/collection/components/snk-data-exporter/exporter-email-sender/snk-exporter-email-sender.js.gz +0 -0
- package/dist/collection/components/snk-data-exporter/exporter-strategy/ClientSideExporterStrategy.js +4 -4
- package/dist/collection/components/snk-data-exporter/exporter-strategy/ClientSideExporterStrategy.js.gz +0 -0
- package/dist/collection/components/snk-data-exporter/exporter-strategy/ServerSideExporterStrategy.js +5 -5
- package/dist/collection/components/snk-data-exporter/exporter-strategy/ServerSideExporterStrategy.js.gz +0 -0
- package/dist/collection/components/snk-data-exporter/interfaces/IExporterProvider.js.gz +0 -0
- package/dist/collection/components/snk-data-exporter/interfaces/IExporterStrategy.js.gz +0 -0
- package/dist/collection/components/snk-data-exporter/interfaces/IRecordID.js.gz +0 -0
- package/dist/collection/components/snk-data-exporter/interfaces/ISelectedID.js.gz +0 -0
- package/dist/collection/components/snk-data-exporter/providers/ClientSideExporterProvider.js.gz +0 -0
- package/dist/collection/components/snk-data-exporter/providers/ServerSideExporterProvider.js.gz +0 -0
- package/dist/collection/components/snk-data-exporter/snk-data-exporter.css.gz +0 -0
- package/dist/collection/components/snk-data-exporter/snk-data-exporter.js +2 -2
- package/dist/collection/components/snk-data-exporter/snk-data-exporter.js.gz +0 -0
- package/dist/collection/components/snk-data-exporter/structure/ItemBuilder.js.gz +0 -0
- package/dist/collection/components/snk-data-exporter/test/resources/ClientSideExporterStrategyResources.js +4 -4
- package/dist/collection/components/snk-data-exporter/test/resources/ClientSideExporterStrategyResources.js.gz +0 -0
- package/dist/collection/components/snk-data-exporter/utils/ParserExport.js.gz +0 -0
- package/dist/collection/components/snk-data-unit/snk-data-unit.js +9 -8
- package/dist/collection/components/snk-data-unit/snk-data-unit.js.gz +0 -0
- package/dist/collection/components/snk-data-unit/test/resources/metadataMock.js.gz +0 -0
- package/dist/collection/components/snk-data-unit/test/resources/parentMetadataMock.js.gz +0 -0
- package/dist/collection/components/snk-entity-list/snk-entity-list.css.gz +0 -0
- package/dist/collection/components/snk-entity-list/snk-entity-list.js.gz +0 -0
- package/dist/collection/components/snk-filter-bar/filter-item/dataunitfilter/data-unit-filter-builder.js.gz +0 -0
- package/dist/collection/components/snk-filter-bar/filter-item/editors/enum/filterNumberVariation.js.gz +0 -0
- package/dist/collection/components/snk-filter-bar/filter-item/editors/enum/presentationMode.js.gz +0 -0
- package/dist/collection/components/snk-filter-bar/filter-item/editors/snk-filter-binary-select.js.gz +0 -0
- package/dist/collection/components/snk-filter-bar/filter-item/editors/snk-filter-checkbox-list.js.gz +0 -0
- package/dist/collection/components/snk-filter-bar/filter-item/editors/snk-filter-multi-select.js.gz +0 -0
- package/dist/collection/components/snk-filter-bar/filter-item/editors/snk-filter-number.js.gz +0 -0
- package/dist/collection/components/snk-filter-bar/filter-item/editors/snk-filter-period.js.gz +0 -0
- package/dist/collection/components/snk-filter-bar/filter-item/editors/snk-filter-search.js.gz +0 -0
- 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-filter-text.js.gz +0 -0
- 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.css.gz +0 -0
- package/dist/collection/components/snk-filter-bar/filter-item/editors/snk-personalized-filter-editor/snk-personalized-filter-editor.js +2 -2
- package/dist/collection/components/snk-filter-bar/filter-item/editors/snk-personalized-filter-editor/snk-personalized-filter-editor.js.gz +0 -0
- 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/filter-item-type-mask.enum.js.gz +0 -0
- package/dist/collection/components/snk-filter-bar/filter-item/filter-item-type.enum.js.gz +0 -0
- package/dist/collection/components/snk-filter-bar/filter-item/snk-filter-detail.js.gz +0 -0
- package/dist/collection/components/snk-filter-bar/filter-item/snk-filter-item.js +5 -1
- package/dist/collection/components/snk-filter-bar/filter-item/snk-filter-item.js.gz +0 -0
- package/dist/collection/components/snk-filter-bar/filter-list/snk-filter-list.js.gz +0 -0
- package/dist/collection/components/snk-filter-bar/filter-modal/snk-filter-modal.css.gz +0 -0
- package/dist/collection/components/snk-filter-bar/filter-modal/snk-filter-modal.js.gz +0 -0
- package/dist/collection/components/snk-filter-bar/filter-modal/subcomponents/snk-filter-modal-item.css.gz +0 -0
- package/dist/collection/components/snk-filter-bar/filter-modal/subcomponents/snk-filter-modal-item.js.gz +0 -0
- package/dist/collection/components/snk-filter-bar/snk-filter-bar.css.gz +0 -0
- package/dist/collection/components/snk-filter-bar/snk-filter-bar.js.gz +0 -0
- package/dist/collection/components/snk-filter-bar/types/custom-element-filter.js.gz +0 -0
- package/dist/collection/components/snk-filter-bar/types/filter-type.enum.js.gz +0 -0
- package/dist/collection/components/snk-filter-bar/utils/SnkFilterModalFactory.js.gz +0 -0
- package/dist/collection/components/snk-filter-bar/utils/filters-mock.js.gz +0 -0
- package/dist/collection/components/snk-filter-field-search/interfaces/index.js.gz +0 -0
- package/dist/collection/components/snk-filter-field-search/snk-filter-field-search.css.gz +0 -0
- package/dist/collection/components/snk-filter-field-search/snk-filter-field-search.js.gz +0 -0
- package/dist/collection/components/snk-filter-field-search/subcomponents/index.js.gz +0 -0
- package/dist/collection/components/snk-filter-field-search/subcomponents/list-item.js.gz +0 -0
- package/dist/collection/components/snk-form/snk-form.css.gz +0 -0
- package/dist/collection/components/snk-form/snk-form.js.gz +0 -0
- package/dist/collection/components/snk-form-config/SnkFormConfigManager.js.gz +0 -0
- package/dist/collection/components/snk-form-config/snk-form-config.css +8 -3
- package/dist/collection/components/snk-form-config/snk-form-config.css.gz +0 -0
- package/dist/collection/components/snk-form-config/snk-form-config.js +17 -5
- package/dist/collection/components/snk-form-config/snk-form-config.js.gz +0 -0
- package/dist/collection/components/snk-form-config/subcomponents/snk-config-options/snk-config-options.css.gz +0 -0
- package/dist/collection/components/snk-form-config/subcomponents/snk-config-options/snk-config-options.js.gz +0 -0
- package/dist/collection/components/snk-form-config/subcomponents/snk-field-config/snk-field-config.css.gz +0 -0
- package/dist/collection/components/snk-form-config/subcomponents/snk-field-config/snk-field-config.js.gz +0 -0
- package/dist/collection/components/snk-form-config/subcomponents/snk-tab-config/snk-tab-config.css.gz +0 -0
- package/dist/collection/components/snk-form-config/subcomponents/snk-tab-config/snk-tab-config.js.gz +0 -0
- package/dist/collection/components/snk-grid/filtercolumn/SnkMultiSelectionListDataSource.js.gz +0 -0
- package/dist/collection/components/snk-grid/snk-grid.css.gz +0 -0
- package/dist/collection/components/snk-grid/snk-grid.js.gz +0 -0
- package/dist/collection/components/snk-grid-config/snk-grid-config.css.gz +0 -0
- package/dist/collection/components/snk-grid-config/snk-grid-config.js.gz +0 -0
- package/dist/collection/components/snk-grid-config/snk-select-box/snk-select-box.css.gz +0 -0
- package/dist/collection/components/snk-grid-config/snk-select-box/snk-select-box.js.gz +0 -0
- package/dist/collection/components/snk-personalized-filter/interfaces/IExpressionGroup.js.gz +0 -0
- package/dist/collection/components/snk-personalized-filter/interfaces/IExpressionItem.js.gz +0 -0
- package/dist/collection/components/snk-personalized-filter/interfaces/IParameter.js.gz +0 -0
- package/dist/collection/components/snk-personalized-filter/interfaces/IPersonalizedFilter.js.gz +0 -0
- package/dist/collection/components/snk-personalized-filter/interfaces/ISystemFilterConfig.js.gz +0 -0
- package/dist/collection/components/snk-personalized-filter/interfaces/IUserFilterConfig.js.gz +0 -0
- package/dist/collection/components/snk-personalized-filter/interfaces/index.js.gz +0 -0
- package/dist/collection/components/snk-personalized-filter/snk-personalized-filter.css.gz +0 -0
- package/dist/collection/components/snk-personalized-filter/snk-personalized-filter.js.gz +0 -0
- package/dist/collection/components/snk-personalized-filter/subcomponents/snk-expression-group/snk-expression-group.css.gz +0 -0
- package/dist/collection/components/snk-personalized-filter/subcomponents/snk-expression-group/snk-expression-group.js.gz +0 -0
- package/dist/collection/components/snk-personalized-filter/subcomponents/snk-expression-item/filter-operands/filter-operands.js.gz +0 -0
- package/dist/collection/components/snk-personalized-filter/subcomponents/snk-expression-item/snk-expression-item.css.gz +0 -0
- package/dist/collection/components/snk-personalized-filter/subcomponents/snk-expression-item/snk-expression-item.js.gz +0 -0
- package/dist/collection/components/snk-personalized-filter/subcomponents/snk-filter-advanced-mode/snk-filter-advanced-mode.css.gz +0 -0
- package/dist/collection/components/snk-personalized-filter/subcomponents/snk-filter-advanced-mode/snk-filter-advanced-mode.js.gz +0 -0
- package/dist/collection/components/snk-personalized-filter/subcomponents/snk-filter-assistent-mode/snk-filter-assistent-mode.css.gz +0 -0
- package/dist/collection/components/snk-personalized-filter/subcomponents/snk-filter-assistent-mode/snk-filter-assistent-mode.js.gz +0 -0
- package/dist/collection/components/snk-personalized-filter/subcomponents/snk-filter-param-config/snk-filter-param-config.css.gz +0 -0
- package/dist/collection/components/snk-personalized-filter/subcomponents/snk-filter-param-config/snk-filter-param-config.js.gz +0 -0
- package/dist/collection/components/snk-personalized-filter/subcomponents/snk-filter-param-config/utils/PersonalizedFilterUtils.js.gz +0 -0
- package/dist/collection/components/snk-pesquisa/snk-pesquisa.css.gz +0 -0
- package/dist/collection/components/snk-pesquisa/snk-pesquisa.js.gz +0 -0
- package/dist/collection/components/snk-print-selector/snk-print-selector.css.gz +0 -0
- package/dist/collection/components/snk-print-selector/snk-print-selector.js.gz +0 -0
- package/dist/collection/components/snk-simple-bar/snk-simple-bar.css.gz +0 -0
- package/dist/collection/components/snk-simple-bar/snk-simple-bar.js.gz +0 -0
- package/dist/collection/components/snk-simple-crud/regular-buttons.js.gz +0 -0
- package/dist/collection/components/snk-simple-crud/snk-simple-crud.css.gz +0 -0
- package/dist/collection/components/snk-simple-crud/snk-simple-crud.js +32 -9
- package/dist/collection/components/snk-simple-crud/snk-simple-crud.js.gz +0 -0
- package/dist/collection/components/snk-taskbar/elements/taskbar-actions-button/taskbar-actions-button.css.gz +0 -0
- package/dist/collection/components/snk-taskbar/elements/taskbar-actions-button/taskbar-actions-button.js.gz +0 -0
- package/dist/collection/components/snk-taskbar/elements/taskbar-elements.js.gz +0 -0
- package/dist/collection/components/snk-taskbar/processor/taskbar-processor.js.gz +0 -0
- package/dist/collection/components/snk-taskbar/snk-taskbar.css.gz +0 -0
- package/dist/collection/components/snk-taskbar/snk-taskbar.js +3 -2
- package/dist/collection/components/snk-taskbar/snk-taskbar.js.gz +0 -0
- package/dist/collection/components/snk-taskbar/subcomponents/field-search.js.gz +0 -0
- package/dist/collection/components/teste-pesquisa/teste-pesquisa.css.gz +0 -0
- package/dist/collection/components/teste-pesquisa/teste-pesquisa.js.gz +0 -0
- package/dist/collection/index.js.gz +0 -0
- package/dist/collection/lib/@types/index.js.gz +0 -0
- package/dist/collection/lib/DefaultCustomFormatters/RmPrecisionCustomValueFormatter.js.gz +0 -0
- package/dist/collection/lib/applet-caller/applet-caller.js.gz +0 -0
- package/dist/collection/lib/auth/mgeauthorization.module.js.gz +0 -0
- package/dist/collection/lib/configs/ConfigStorage.js.gz +0 -0
- package/dist/collection/lib/dataUnit/InMemoryLoader.js.gz +0 -0
- package/dist/collection/lib/dataUnit/ValueFormatter.js.gz +0 -0
- package/dist/collection/lib/dataUnit/dataUnitInMemoryUtils.js.gz +0 -0
- package/dist/collection/lib/dataUnit/interfaces/InMemoryLoaderConfig.js.gz +0 -0
- package/dist/collection/lib/http/data-fetcher/DataFetcher.js +8 -6
- package/dist/collection/lib/http/data-fetcher/DataFetcher.js.gz +0 -0
- package/dist/collection/lib/http/data-fetcher/fetchers/AttachFetcher/anexo-sistema-fetcher.js.gz +0 -0
- package/dist/collection/lib/http/data-fetcher/fetchers/AttachFetcher/attach-fetcher.js.gz +0 -0
- package/dist/collection/lib/http/data-fetcher/fetchers/AttachFetcher/facade/attach-fetcher.facade.js.gz +0 -0
- package/dist/collection/lib/http/data-fetcher/fetchers/AttachFetcher/index.js.gz +0 -0
- package/dist/collection/lib/http/data-fetcher/fetchers/AttachFetcher/interfaces/IDelete.js.gz +0 -0
- package/dist/collection/lib/http/data-fetcher/fetchers/AttachFetcher/interfaces/IDownloadKey.js.gz +0 -0
- package/dist/collection/lib/http/data-fetcher/fetchers/AttachFetcher/interfaces/ISave.js.gz +0 -0
- package/dist/collection/lib/http/data-fetcher/fetchers/AttachFetcher/interfaces/index.js.gz +0 -0
- package/dist/collection/lib/http/data-fetcher/fetchers/application-config-fetcher.js.gz +0 -0
- package/dist/collection/lib/http/data-fetcher/fetchers/auth-fetcher.js.gz +0 -0
- package/dist/collection/lib/http/data-fetcher/fetchers/data-unit/DataUnitDataLoader.js +2 -2
- package/dist/collection/lib/http/data-fetcher/fetchers/data-unit/DataUnitDataLoader.js.gz +0 -0
- package/dist/collection/lib/http/data-fetcher/fetchers/data-unit/cache/ArrayRepository.js.gz +0 -0
- package/dist/collection/lib/http/data-fetcher/fetchers/data-unit/cache/PreloadManager.js.gz +0 -0
- package/dist/collection/lib/http/data-fetcher/fetchers/data-unit/dataunit-fetcher.js.gz +0 -0
- package/dist/collection/lib/http/data-fetcher/fetchers/data-unit/interfaces/IBuildRequestBodyLoadRowMetadata.js.gz +0 -0
- package/dist/collection/lib/http/data-fetcher/fetchers/data-unit/interfaces/ILoadDataResult.js.gz +0 -0
- package/dist/collection/lib/http/data-fetcher/fetchers/data-unit/interfaces/ILoadDataStrategy.js.gz +0 -0
- package/dist/collection/lib/http/data-fetcher/fetchers/data-unit/interfaces/ILoadingInfo.js.gz +0 -0
- package/dist/collection/lib/http/data-fetcher/fetchers/data-unit/interfaces/IRecordField.js.gz +0 -0
- package/dist/collection/lib/http/data-fetcher/fetchers/data-unit/interfaces/IResponseRecord.js.gz +0 -0
- package/dist/collection/lib/http/data-fetcher/fetchers/data-unit/interfaces/IRowMetadata.js.gz +0 -0
- package/dist/collection/lib/http/data-fetcher/fetchers/data-unit/loadstrategy/DataUnitStrategy.js.gz +0 -0
- package/dist/collection/lib/http/data-fetcher/fetchers/data-unit/loadstrategy/DatasetStrategy.js.gz +0 -0
- package/dist/collection/lib/http/data-fetcher/fetchers/data-unit/loadstrategy/test/resources/metadataMock.js.gz +0 -0
- package/dist/collection/lib/http/data-fetcher/fetchers/fetchDataExporter/interfaces/IExporterColumnMetadata.js.gz +0 -0
- package/dist/collection/lib/http/data-fetcher/fetchers/fetchDataExporter/interfaces/IFetchDataExporterParams.js.gz +0 -0
- package/dist/collection/lib/http/data-fetcher/fetchers/fetchDataExporter/interfaces/IFetchDataExporterResponse.js.gz +0 -0
- package/dist/collection/lib/http/data-fetcher/fetchers/fetchDataExporter/interfaces/IPersonalizedReport.js.gz +0 -0
- package/dist/collection/lib/http/data-fetcher/fetchers/fetchDataExporter/permission-export-pdf.js.gz +0 -0
- package/dist/collection/lib/http/data-fetcher/fetchers/fetchDataExporter/personalized-reports-fetcher.js.gz +0 -0
- package/dist/collection/lib/http/data-fetcher/fetchers/filter-bar-config-fetcher.js.gz +0 -0
- package/dist/collection/lib/http/data-fetcher/fetchers/form-config-fetcher.js.gz +0 -0
- package/dist/collection/lib/http/data-fetcher/fetchers/grid-config-fetcher.js.gz +0 -0
- package/dist/collection/lib/http/data-fetcher/fetchers/parameters-fecher.js +7 -1
- package/dist/collection/lib/http/data-fetcher/fetchers/parameters-fecher.js.gz +0 -0
- package/dist/collection/lib/http/data-fetcher/fetchers/personalized-filter-fetcher.js.gz +0 -0
- package/dist/collection/lib/http/data-fetcher/fetchers/pesquisa-fetcher.js +6 -1
- package/dist/collection/lib/http/data-fetcher/fetchers/pesquisa-fetcher.js.gz +0 -0
- package/dist/collection/lib/http/data-fetcher/fetchers/resource-fetcher.js.gz +0 -0
- package/dist/collection/lib/http/data-fetcher/fetchers/totals-fetcher.js.gz +0 -0
- package/dist/collection/lib/http/data-fetcher/interfaces/IClientEventResponse.js.gz +0 -0
- package/dist/collection/lib/http/data-fetcher/recaller/GraphQLRecaller.js.gz +0 -0
- package/dist/collection/lib/http/data-fetcher/recaller/IDataFetcherRecaller.js.gz +0 -0
- package/dist/collection/lib/http/data-fetcher/recaller/ServiceBrokerRecaller.js.gz +0 -0
- package/dist/collection/lib/http/data-fetcher/state/LoadStateManager.js.gz +0 -0
- package/dist/collection/lib/index.js.gz +0 -0
- package/dist/collection/lib/licenses/sankhyalicense.module.js.gz +0 -0
- package/dist/collection/lib/message/SnkMessageBuilder.js.gz +0 -0
- package/dist/collection/lib/message/resources/crud-utils.msg.js.gz +0 -0
- package/dist/collection/lib/message/resources/file-viewer.msg.js.gz +0 -0
- package/dist/collection/lib/message/resources/snk-actions-button.msg.js.gz +0 -0
- package/dist/collection/lib/message/resources/snk-application.msg.js.gz +0 -0
- package/dist/collection/lib/message/resources/snk-attach.msg.js.gz +0 -0
- package/dist/collection/lib/message/resources/snk-configurator.msg.js.gz +0 -0
- package/dist/collection/lib/message/resources/snk-crud.msg.js.gz +0 -0
- package/dist/collection/lib/message/resources/snk-data-exporter.msg.js.gz +0 -0
- package/dist/collection/lib/message/resources/snk-data-unit.msg.js.gz +0 -0
- package/dist/collection/lib/message/resources/snk-entity-list.msg.js.gz +0 -0
- package/dist/collection/lib/message/resources/snk-exporter.msg.js.gz +0 -0
- package/dist/collection/lib/message/resources/snk-filter-bar.msg.js.gz +0 -0
- package/dist/collection/lib/message/resources/snk-filter-field-search.msg.js.gz +0 -0
- package/dist/collection/lib/message/resources/snk-filter-param-config.msg.js.gz +0 -0
- package/dist/collection/lib/message/resources/snk-form.msg.js.gz +0 -0
- package/dist/collection/lib/message/resources/snk-grid.msg.js.gz +0 -0
- package/dist/collection/lib/message/resources/snk-personalized-filter.msg.js.gz +0 -0
- package/dist/collection/lib/message/resources/snk-print-selector.msg.js.gz +0 -0
- package/dist/collection/lib/message/resources/snk-simple-bar.msg.js.gz +0 -0
- package/dist/collection/lib/message/resources/snk-simple-crud.msg.js.gz +0 -0
- package/dist/collection/lib/message/resources/snk-taskbar.msg.js.gz +0 -0
- package/dist/collection/lib/resourceid/ResourceIDUtils.js.gz +0 -0
- package/dist/collection/lib/store/index.js.gz +0 -0
- package/dist/collection/lib/utils/ContinuousInsertUtils.js.gz +0 -0
- package/dist/collection/lib/utils/CrudUtils.js +25 -16
- package/dist/collection/lib/utils/CrudUtils.js.gz +0 -0
- package/dist/collection/lib/utils/GetSelectedRecordsIDsInfo.js.gz +0 -0
- package/dist/collection/lib/utils/PrintUtils.js.gz +0 -0
- package/dist/collection/lib/utils/constants.js.gz +0 -0
- package/dist/collection/lib/utils/fileViewer/index.js.gz +0 -0
- package/dist/collection/lib/utils/fileViewer/interfaces/IFileViewerParams.js.gz +0 -0
- package/dist/collection/lib/utils/pesquisa.js.gz +0 -0
- package/dist/collection/lib/utils/urlutils.js.gz +0 -0
- package/dist/collection/lib/workspace/workspace.js.gz +0 -0
- package/dist/collection/sw.js +46 -0
- package/dist/collection/sw.js.gz +0 -0
- package/dist/components/AuthorizationConfig.js.gz +0 -0
- package/dist/components/ConfigStorage.js.gz +0 -0
- package/dist/components/ContinuousInsertUtils.js +25 -16
- package/dist/components/ContinuousInsertUtils.js.gz +0 -0
- package/dist/components/DataFetcher.js +7 -5
- package/dist/components/DataFetcher.js.gz +0 -0
- package/dist/components/GetSelectedRecordsIDsInfo.js.gz +0 -0
- package/dist/components/ISave.js.gz +0 -0
- package/dist/components/ParamType.js.gz +0 -0
- package/dist/components/PersonalizedFilterUtils.js.gz +0 -0
- package/dist/components/PrintUtils.js.gz +0 -0
- package/dist/components/ResourceIDUtils.js.gz +0 -0
- package/dist/components/SnkFormConfigManager.js.gz +0 -0
- package/dist/components/SnkMessageBuilder.js.gz +0 -0
- package/dist/components/auth-fetcher.js.gz +0 -0
- package/dist/components/constants.js.gz +0 -0
- package/dist/components/dataunit-fetcher.js +2 -2
- package/dist/components/dataunit-fetcher.js.gz +0 -0
- package/dist/components/filter-item-type.enum.js.gz +0 -0
- package/dist/components/filterNumberVariation.js.gz +0 -0
- package/dist/components/form-config-fetcher.js.gz +0 -0
- package/dist/components/index.js.gz +0 -0
- package/dist/components/index2.js.gz +0 -0
- package/dist/components/pesquisa-fetcher.js +6 -1
- package/dist/components/pesquisa-fetcher.js.gz +0 -0
- package/dist/components/presentationMode.js.gz +0 -0
- package/dist/components/snk-actions-button.js.gz +0 -0
- package/dist/components/snk-actions-button2.js +27 -26
- package/dist/components/snk-actions-button2.js.gz +0 -0
- package/dist/components/snk-actions-form.js.gz +0 -0
- package/dist/components/snk-application.js.gz +0 -0
- package/dist/components/snk-application2.js +102 -54
- package/dist/components/snk-application2.js.gz +0 -0
- package/dist/components/snk-attach.js.gz +0 -0
- package/dist/components/snk-attach2.js.gz +0 -0
- package/dist/components/snk-client-confirm.js.gz +0 -0
- package/dist/components/snk-config-options.js.gz +0 -0
- package/dist/components/snk-config-options2.js.gz +0 -0
- package/dist/components/snk-configurator.js.gz +0 -0
- package/dist/components/snk-configurator2.js.gz +0 -0
- package/dist/components/snk-crud.js +1 -1
- package/dist/components/snk-crud.js.gz +0 -0
- package/dist/components/snk-custom-slot-elements.js.gz +0 -0
- package/dist/components/snk-data-exporter.js.gz +0 -0
- package/dist/components/snk-data-exporter2.js +10 -9
- package/dist/components/snk-data-exporter2.js.gz +0 -0
- package/dist/components/snk-data-unit.js.gz +0 -0
- package/dist/components/snk-data-unit2.js +9 -8
- package/dist/components/snk-data-unit2.js.gz +0 -0
- package/dist/components/snk-detail-view.js.gz +0 -0
- package/dist/components/snk-detail-view2.js +1 -1
- package/dist/components/snk-detail-view2.js.gz +0 -0
- package/dist/components/snk-entity-list.js.gz +0 -0
- package/dist/components/snk-exporter-email-sender.js.gz +0 -0
- package/dist/components/snk-exporter-email-sender2.js.gz +0 -0
- package/dist/components/snk-expression-group.js.gz +0 -0
- package/dist/components/snk-expression-group2.js.gz +0 -0
- package/dist/components/snk-expression-item.js.gz +0 -0
- package/dist/components/snk-expression-item2.js.gz +0 -0
- package/dist/components/snk-field-config.js.gz +0 -0
- package/dist/components/snk-field-config2.js.gz +0 -0
- package/dist/components/snk-filter-advanced-mode.js.gz +0 -0
- package/dist/components/snk-filter-advanced-mode2.js.gz +0 -0
- package/dist/components/snk-filter-assistent-mode.js.gz +0 -0
- package/dist/components/snk-filter-assistent-mode2.js.gz +0 -0
- package/dist/components/snk-filter-bar.js.gz +0 -0
- package/dist/components/snk-filter-bar2.js.gz +0 -0
- package/dist/components/snk-filter-binary-select.js.gz +0 -0
- package/dist/components/snk-filter-checkbox-list.js.gz +0 -0
- package/dist/components/snk-filter-detail.js.gz +0 -0
- package/dist/components/snk-filter-detail2.js.gz +0 -0
- package/dist/components/snk-filter-field-search.js.gz +0 -0
- package/dist/components/snk-filter-field-search2.js.gz +0 -0
- package/dist/components/snk-filter-item.js.gz +0 -0
- package/dist/components/snk-filter-item2.js +5 -1
- package/dist/components/snk-filter-item2.js.gz +0 -0
- package/dist/components/snk-filter-list.js.gz +0 -0
- package/dist/components/snk-filter-modal-item.js.gz +0 -0
- package/dist/components/snk-filter-modal-item2.js.gz +0 -0
- package/dist/components/snk-filter-modal.js.gz +0 -0
- package/dist/components/snk-filter-multi-select.js.gz +0 -0
- package/dist/components/snk-filter-number.js.gz +0 -0
- package/dist/components/snk-filter-param-config.js.gz +0 -0
- package/dist/components/snk-filter-param-config2.js.gz +0 -0
- package/dist/components/snk-filter-period.js.gz +0 -0
- package/dist/components/snk-filter-search.js.gz +0 -0
- package/dist/components/snk-filter-text.js +2 -1
- package/dist/components/snk-filter-text.js.gz +0 -0
- package/dist/components/snk-form-config.js.gz +0 -0
- package/dist/components/snk-form-config2.js +18 -6
- package/dist/components/snk-form-config2.js.gz +0 -0
- package/dist/components/snk-form-summary.js.gz +0 -0
- package/dist/components/snk-form-summary2.js.gz +0 -0
- package/dist/components/snk-form-view.js.gz +0 -0
- package/dist/components/snk-form-view2.js.gz +0 -0
- package/dist/components/snk-form.js.gz +0 -0
- package/dist/components/snk-grid-config.js.gz +0 -0
- package/dist/components/snk-grid-config2.js.gz +0 -0
- package/dist/components/snk-grid.js.gz +0 -0
- package/dist/components/snk-grid2.js.gz +0 -0
- package/dist/components/snk-guides-viewer.js.gz +0 -0
- package/dist/components/snk-personalized-filter-editor.js +3 -3
- package/dist/components/snk-personalized-filter-editor.js.gz +0 -0
- package/dist/components/snk-personalized-filter.js.gz +0 -0
- package/dist/components/snk-personalized-filter2.js.gz +0 -0
- package/dist/components/snk-pesquisa.js.gz +0 -0
- package/dist/components/snk-pesquisa2.js.gz +0 -0
- package/dist/components/snk-print-selector.js.gz +0 -0
- package/dist/components/snk-select-box.js.gz +0 -0
- package/dist/components/snk-select-box2.js.gz +0 -0
- package/dist/components/snk-simple-bar.js.gz +0 -0
- package/dist/components/snk-simple-bar2.js.gz +0 -0
- package/dist/components/snk-simple-crud.js.gz +0 -0
- package/dist/components/snk-simple-crud2.js +32 -9
- package/dist/components/snk-simple-crud2.js.gz +0 -0
- package/dist/components/snk-tab-config.js.gz +0 -0
- package/dist/components/snk-tab-config2.js.gz +0 -0
- package/dist/components/snk-taskbar.js.gz +0 -0
- package/dist/components/snk-taskbar2.js +3 -2
- package/dist/components/snk-taskbar2.js.gz +0 -0
- package/dist/components/taskbar-actions-button.js.gz +0 -0
- package/dist/components/taskbar-actions-button2.js.gz +0 -0
- package/dist/components/teste-pesquisa.js.gz +0 -0
- package/dist/esm/AuthorizationConfig-dcbd207a.js.gz +0 -0
- package/dist/esm/{ConfigStorage-7b36d041.js → ConfigStorage-6514d66e.js} +2 -2
- package/dist/esm/ConfigStorage-6514d66e.js.gz +0 -0
- package/dist/esm/{ContinuousInsertUtils-30caa626.js → ContinuousInsertUtils-b62906f9.js} +29 -20
- package/dist/esm/ContinuousInsertUtils-b62906f9.js.gz +0 -0
- package/dist/esm/{DataFetcher-a9c598f2.js → DataFetcher-5034df59.js} +7 -5
- package/dist/esm/DataFetcher-5034df59.js.gz +0 -0
- package/dist/esm/GetSelectedRecordsIDsInfo-9fa41508.js.gz +0 -0
- package/dist/esm/ISave-d8c8bc59.js.gz +0 -0
- package/dist/esm/ParamType-d5152b06.js.gz +0 -0
- package/dist/esm/PersonalizedFilterUtils-e2b38ef7.js.gz +0 -0
- package/dist/esm/PrintUtils-3e4ff0f5.js.gz +0 -0
- package/dist/esm/ResourceIDUtils-a114189a.js.gz +0 -0
- package/dist/esm/{SnkFormConfigManager-139f09fa.js → SnkFormConfigManager-b409c745.js} +3 -3
- package/dist/esm/SnkFormConfigManager-b409c745.js.gz +0 -0
- package/dist/esm/SnkMessageBuilder-6fff4a4c.js.gz +0 -0
- package/dist/esm/Sortable-83960219.js.gz +0 -0
- package/dist/esm/{auth-fetcher-749d880f.js → auth-fetcher-ca5d3a49.js} +1 -1
- package/dist/esm/auth-fetcher-ca5d3a49.js.gz +0 -0
- package/dist/esm/{constants-8457af36.js → constants-7302ee87.js} +1 -1
- package/dist/esm/constants-7302ee87.js.gz +0 -0
- package/dist/esm/{dataunit-fetcher-c24c76c6.js → dataunit-fetcher-56cb648b.js} +3 -3
- package/dist/esm/dataunit-fetcher-56cb648b.js.gz +0 -0
- package/dist/esm/field-search-f8b1d91e.js.gz +0 -0
- package/dist/esm/filter-item-type.enum-d45e026f.js.gz +0 -0
- package/dist/esm/filter-type.enum-a80c1b6b.js.gz +0 -0
- package/dist/esm/filterNumberVariation-8cee02ea.js.gz +0 -0
- package/dist/esm/{form-config-fetcher-adbe5d34.js → form-config-fetcher-a7d3e277.js} +1 -1
- package/dist/esm/form-config-fetcher-a7d3e277.js.gz +0 -0
- package/dist/esm/index-3aa4977a.js.gz +0 -0
- package/dist/esm/index-620ac460.js.gz +0 -0
- package/dist/esm/index-a7d3d3f1.js +8 -28
- package/dist/esm/index-a7d3d3f1.js.gz +0 -0
- package/dist/esm/index-ae591a44.js.gz +0 -0
- package/dist/esm/index-bdf75557.js.gz +0 -0
- package/dist/esm/index.js.gz +0 -0
- package/dist/esm/loader.js +1 -1
- package/dist/esm/loader.js.gz +0 -0
- package/dist/esm/{pesquisa-fetcher-8edaa8cd.js → pesquisa-fetcher-6bc2e41a.js} +7 -2
- package/dist/esm/pesquisa-fetcher-6bc2e41a.js.gz +0 -0
- package/dist/esm/polyfills/core-js.js.gz +0 -0
- package/dist/esm/polyfills/css-shim.js.gz +0 -0
- package/dist/esm/polyfills/dom.js.gz +0 -0
- package/dist/esm/polyfills/es5-html-element.js.gz +0 -0
- package/dist/esm/polyfills/index.js.gz +0 -0
- package/dist/esm/polyfills/system.js.gz +0 -0
- package/dist/esm/presentationMode-783bbf9d.js.gz +0 -0
- package/dist/esm/sankhyablocks.js +1 -1
- package/dist/esm/sankhyablocks.js.gz +0 -0
- package/dist/esm/snk-actions-button_4.entry.js +32 -29
- package/dist/esm/snk-actions-button_4.entry.js.gz +0 -0
- package/dist/esm/snk-actions-form.entry.js.gz +0 -0
- package/dist/esm/snk-application.entry.js +108 -60
- package/dist/esm/snk-application.entry.js.gz +0 -0
- package/dist/esm/snk-attach.entry.js +6 -6
- package/dist/esm/snk-attach.entry.js.gz +0 -0
- package/dist/esm/snk-client-confirm.entry.js.gz +0 -0
- package/dist/esm/{snk-form-config.entry.js → snk-config-options_3.entry.js} +384 -12
- package/dist/esm/snk-config-options_3.entry.js.gz +0 -0
- package/dist/esm/snk-configurator.entry.js +1 -1
- package/dist/esm/snk-configurator.entry.js.gz +0 -0
- package/dist/esm/snk-crud.entry.js +7 -7
- package/dist/esm/snk-crud.entry.js.gz +0 -0
- package/dist/esm/snk-custom-slot-elements.entry.js.gz +0 -0
- package/dist/esm/snk-data-exporter.entry.js +16 -15
- package/dist/esm/snk-data-exporter.entry.js.gz +0 -0
- package/dist/esm/{snk-data-unit-d10910d9.js → snk-data-unit-9fa7d2b9.js} +10 -9
- package/dist/esm/snk-data-unit-9fa7d2b9.js.gz +0 -0
- package/dist/esm/snk-data-unit.entry.js +3 -3
- package/dist/esm/snk-data-unit.entry.js.gz +0 -0
- package/dist/esm/snk-detail-view.entry.js +8 -8
- package/dist/esm/snk-detail-view.entry.js.gz +0 -0
- package/dist/esm/snk-entity-list.entry.js.gz +0 -0
- package/dist/esm/snk-exporter-email-sender.entry.js.gz +0 -0
- package/dist/esm/snk-expression-group_2.entry.js.gz +0 -0
- package/dist/esm/snk-field-config.entry.js +1 -1
- package/dist/esm/snk-field-config.entry.js.gz +0 -0
- package/dist/esm/snk-filter-advanced-mode_2.entry.js.gz +0 -0
- package/dist/esm/{snk-filter-bar.entry.js → snk-filter-bar_4.entry.js} +691 -5
- package/dist/esm/snk-filter-bar_4.entry.js.gz +0 -0
- package/dist/esm/snk-filter-binary-select.entry.js.gz +0 -0
- package/dist/esm/snk-filter-checkbox-list.entry.js.gz +0 -0
- package/dist/esm/snk-filter-detail.entry.js.gz +0 -0
- package/dist/esm/snk-filter-field-search_2.entry.js.gz +0 -0
- package/dist/esm/snk-filter-modal-item.entry.js +3 -3
- package/dist/esm/snk-filter-modal-item.entry.js.gz +0 -0
- package/dist/esm/snk-filter-multi-select.entry.js.gz +0 -0
- package/dist/esm/snk-filter-number.entry.js.gz +0 -0
- package/dist/esm/snk-filter-period.entry.js.gz +0 -0
- package/dist/esm/snk-filter-search.entry.js.gz +0 -0
- package/dist/esm/snk-filter-text.entry.js +2 -1
- package/dist/esm/snk-filter-text.entry.js.gz +0 -0
- package/dist/esm/snk-form-summary.entry.js.gz +0 -0
- package/dist/esm/snk-form-view.entry.js.gz +0 -0
- package/dist/esm/snk-grid.entry.js +6 -6
- package/dist/esm/snk-grid.entry.js.gz +0 -0
- package/dist/esm/{snk-guides-viewer-beb6baef.js → snk-guides-viewer-b7ed39eb.js} +7 -7
- package/dist/esm/snk-guides-viewer-b7ed39eb.js.gz +0 -0
- package/dist/esm/snk-guides-viewer.entry.js +8 -8
- package/dist/esm/snk-guides-viewer.entry.js.gz +0 -0
- package/dist/esm/snk-personalized-filter-editor.entry.js +3 -3
- package/dist/esm/snk-personalized-filter-editor.entry.js.gz +0 -0
- package/dist/esm/snk-personalized-filter.entry.js +3 -3
- package/dist/esm/snk-personalized-filter.entry.js.gz +0 -0
- package/dist/esm/snk-pesquisa.entry.js.gz +0 -0
- package/dist/esm/snk-print-selector.entry.js.gz +0 -0
- package/dist/esm/snk-simple-bar.entry.js.gz +0 -0
- package/dist/esm/snk-simple-crud.entry.js +40 -17
- package/dist/esm/snk-simple-crud.entry.js.gz +0 -0
- package/dist/esm/snk-tab-config.entry.js +1 -1
- package/dist/esm/snk-tab-config.entry.js.gz +0 -0
- package/dist/esm/snk-taskbar.entry.js +3 -2
- package/dist/esm/snk-taskbar.entry.js.gz +0 -0
- package/dist/esm/taskbar-elements-d59867f1.js.gz +0 -0
- package/dist/esm/teste-pesquisa.entry.js.gz +0 -0
- package/dist/index.cjs.js.gz +0 -0
- package/dist/index.js.gz +0 -0
- package/dist/sankhyablocks/index.esm.js.gz +0 -0
- package/dist/sankhyablocks/{p-f3434fc4.js → p-00278e07.js} +1 -1
- package/dist/sankhyablocks/p-00278e07.js.gz +0 -0
- package/dist/sankhyablocks/p-01ba23cd.entry.js.gz +0 -0
- package/dist/sankhyablocks/{p-50a3623b.entry.js → p-0387d9d7.entry.js} +1 -1
- package/dist/sankhyablocks/p-0387d9d7.entry.js.gz +0 -0
- package/dist/sankhyablocks/p-057fad05.js.gz +0 -0
- package/dist/sankhyablocks/{p-62f5f14b.entry.js → p-0d2a2e9e.entry.js} +1 -1
- package/dist/sankhyablocks/p-0d2a2e9e.entry.js.gz +0 -0
- package/dist/sankhyablocks/{p-afbb070d.js → p-0e206e62.js} +1 -1
- package/dist/sankhyablocks/p-0e206e62.js.gz +0 -0
- package/dist/sankhyablocks/p-118e769b.entry.js.gz +0 -0
- package/dist/sankhyablocks/{p-06421fdb.js → p-126c58ea.js} +1 -1
- package/dist/sankhyablocks/p-126c58ea.js.gz +0 -0
- package/dist/sankhyablocks/p-16a1dd18.entry.js.gz +0 -0
- package/dist/sankhyablocks/p-17425c72.js.gz +0 -0
- package/dist/sankhyablocks/p-1a68fb59.js.gz +0 -0
- package/dist/sankhyablocks/p-1d3ce0d9.entry.js +1 -0
- package/dist/sankhyablocks/p-1d3ce0d9.entry.js.gz +0 -0
- package/dist/sankhyablocks/p-1db45d26.entry.js.gz +0 -0
- package/dist/sankhyablocks/p-21749402.js.gz +0 -0
- package/dist/sankhyablocks/p-21a81901.entry.js.gz +0 -0
- package/dist/sankhyablocks/p-23736d75.js.gz +0 -0
- package/dist/sankhyablocks/p-26b0ce3e.entry.js.gz +0 -0
- package/dist/sankhyablocks/{p-8eb67fa4.entry.js → p-2d3f9482.entry.js} +1 -1
- package/dist/sankhyablocks/p-2d3f9482.entry.js.gz +0 -0
- package/dist/sankhyablocks/p-30cf616e.js.gz +0 -0
- package/dist/sankhyablocks/p-33718dfc.entry.js.gz +0 -0
- package/dist/sankhyablocks/{p-1bf06cd3.js → p-341465ce.js} +2 -2
- package/dist/sankhyablocks/p-341465ce.js.gz +0 -0
- package/dist/sankhyablocks/{p-93592aae.js → p-342eeb3b.js} +1 -1
- package/dist/sankhyablocks/p-342eeb3b.js.gz +0 -0
- package/dist/sankhyablocks/p-3728d2aa.entry.js +11 -0
- package/dist/sankhyablocks/p-3728d2aa.entry.js.gz +0 -0
- package/dist/sankhyablocks/p-3ab6df3d.entry.js.gz +0 -0
- package/dist/sankhyablocks/p-4138da61.entry.js +1 -0
- package/dist/sankhyablocks/p-4138da61.entry.js.gz +0 -0
- package/dist/sankhyablocks/{p-7663f597.entry.js → p-41793e17.entry.js} +1 -1
- package/dist/sankhyablocks/p-41793e17.entry.js.gz +0 -0
- package/dist/sankhyablocks/p-434817f0.entry.js.gz +0 -0
- package/dist/sankhyablocks/p-47178038.entry.js +1 -0
- package/dist/sankhyablocks/p-47178038.entry.js.gz +0 -0
- package/dist/sankhyablocks/{p-7ac7932c.js → p-47d24ac8.js} +2 -2
- package/dist/sankhyablocks/p-47d24ac8.js.gz +0 -0
- package/dist/sankhyablocks/p-54a5d52a.entry.js.gz +0 -0
- package/dist/sankhyablocks/p-5f157b09.entry.js.gz +0 -0
- package/dist/sankhyablocks/{p-520c7c38.entry.js → p-619aeac8.entry.js} +1 -1
- package/dist/sankhyablocks/p-619aeac8.entry.js.gz +0 -0
- package/dist/sankhyablocks/p-688dcb4c.js.gz +0 -0
- package/dist/sankhyablocks/p-6dc031de.js.gz +0 -0
- package/dist/sankhyablocks/p-7075b789.entry.js +1 -0
- package/dist/sankhyablocks/p-7075b789.entry.js.gz +0 -0
- package/dist/sankhyablocks/p-7dd49d15.js.gz +0 -0
- package/dist/sankhyablocks/p-7e2ded86.entry.js.gz +0 -0
- package/dist/sankhyablocks/p-7e7a7473.js.gz +0 -0
- package/dist/sankhyablocks/p-8002dcd0.entry.js.gz +0 -0
- package/dist/sankhyablocks/p-89c92727.entry.js +1 -0
- package/dist/sankhyablocks/p-89c92727.entry.js.gz +0 -0
- package/dist/sankhyablocks/{p-95df461f.entry.js → p-8b4fc28f.entry.js} +1 -1
- package/dist/sankhyablocks/p-8b4fc28f.entry.js.gz +0 -0
- package/dist/sankhyablocks/p-8c235d4c.entry.js.gz +0 -0
- package/dist/sankhyablocks/p-8d884fab.js.gz +0 -0
- package/dist/sankhyablocks/p-8ee1eccc.entry.js +1 -0
- package/dist/sankhyablocks/p-8ee1eccc.entry.js.gz +0 -0
- package/dist/sankhyablocks/p-933c0c0b.js.gz +0 -0
- package/dist/sankhyablocks/p-9531fd46.entry.js.gz +0 -0
- package/dist/sankhyablocks/{p-b0ef4383.js → p-95ce311a.js} +1 -1
- package/dist/sankhyablocks/p-95ce311a.js.gz +0 -0
- package/dist/sankhyablocks/p-9d3a025a.entry.js.gz +0 -0
- package/dist/sankhyablocks/{p-4d9549cf.js → p-9ffd9fc7.js} +1 -1
- package/dist/sankhyablocks/p-9ffd9fc7.js.gz +0 -0
- package/dist/sankhyablocks/{p-dcead955.entry.js → p-a2c790ac.entry.js} +1 -1
- package/dist/sankhyablocks/p-a2c790ac.entry.js.gz +0 -0
- package/dist/sankhyablocks/{p-d0a6fc0f.entry.js → p-a3fadd0b.entry.js} +1 -1
- package/dist/sankhyablocks/p-a3fadd0b.entry.js.gz +0 -0
- package/dist/sankhyablocks/{p-212213d9.entry.js → p-aa003d4e.entry.js} +1 -1
- package/dist/sankhyablocks/p-aa003d4e.entry.js.gz +0 -0
- package/dist/sankhyablocks/p-aaf94476.js +1 -0
- package/dist/sankhyablocks/p-aaf94476.js.gz +0 -0
- package/dist/sankhyablocks/p-ac8d1cd6.entry.js.gz +0 -0
- package/dist/sankhyablocks/p-af7f7b3e.entry.js +1 -0
- package/dist/sankhyablocks/p-af7f7b3e.entry.js.gz +0 -0
- package/dist/sankhyablocks/p-bf2acf72.entry.js.gz +0 -0
- package/dist/sankhyablocks/p-c2e468c9.entry.js.gz +0 -0
- package/dist/sankhyablocks/p-c8622597.entry.js.gz +0 -0
- package/dist/sankhyablocks/p-d1791da2.entry.js.gz +0 -0
- package/dist/sankhyablocks/p-d2d301a6.js.gz +0 -0
- package/dist/sankhyablocks/p-d9804798.js.gz +0 -0
- package/dist/sankhyablocks/p-dc36cfbf.js.gz +0 -0
- package/dist/sankhyablocks/{p-31e74634.entry.js → p-e390641b.entry.js} +1 -1
- package/dist/sankhyablocks/p-e390641b.entry.js.gz +0 -0
- package/dist/sankhyablocks/p-e4391e16.js +1 -0
- package/dist/sankhyablocks/p-e4391e16.js.gz +0 -0
- package/dist/sankhyablocks/{p-c5546f92.js → p-e97be1c8.js} +1 -1
- package/dist/sankhyablocks/p-e97be1c8.js.gz +0 -0
- package/dist/sankhyablocks/p-eaad0aa8.js.gz +0 -0
- package/dist/sankhyablocks/p-ec43fcc8.entry.js +1 -0
- package/dist/sankhyablocks/p-ec43fcc8.entry.js.gz +0 -0
- package/dist/sankhyablocks/p-f4184ce7.js.gz +0 -0
- package/dist/sankhyablocks/p-fa80e546.js.gz +0 -0
- package/dist/sankhyablocks/p-fa816fb2.js.gz +0 -0
- package/dist/sankhyablocks/{p-fb34e0cf.entry.js → p-fca0e5cc.entry.js} +1 -1
- package/dist/sankhyablocks/p-fca0e5cc.entry.js.gz +0 -0
- package/dist/sankhyablocks/p-ff1990ad.js.gz +0 -0
- package/dist/sankhyablocks/sankhyablocks.esm.js +1 -1
- package/dist/sankhyablocks/sankhyablocks.esm.js.gz +0 -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 +3 -12
- package/dist/types/components/snk-data-exporter/test/resources/ClientSideExporterStrategyResources.d.ts +3 -3
- package/dist/types/components/snk-data-unit/snk-data-unit.d.ts +1 -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-simple-crud/snk-simple-crud.d.ts +2 -0
- package/dist/types/lib/http/data-fetcher/DataFetcher.d.ts +1 -0
- package/dist/types/lib/http/data-fetcher/fetchers/fetchDataExporter/interfaces/IFetchDataExporterParams.d.ts +1 -1
- package/dist/types/lib/http/data-fetcher/fetchers/parameters-fecher.d.ts +1 -0
- package/dist/types/lib/utils/CrudUtils.d.ts +1 -0
- package/package.json +3 -2
- package/dist/cjs/snk-config-options.cjs.entry.js +0 -239
- 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 -144
- package/dist/esm/snk-config-options.entry.js +0 -235
- 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 -140
- package/dist/sankhyablocks/p-2923c1b5.js +0 -1
- package/dist/sankhyablocks/p-38b85e5a.entry.js +0 -1
- package/dist/sankhyablocks/p-3b60db06.entry.js +0 -1
- package/dist/sankhyablocks/p-43acd479.entry.js +0 -11
- package/dist/sankhyablocks/p-4aa45570.entry.js +0 -1
- package/dist/sankhyablocks/p-52816250.entry.js +0 -1
- package/dist/sankhyablocks/p-5b51491f.entry.js +0 -1
- package/dist/sankhyablocks/p-60b29483.entry.js +0 -1
- package/dist/sankhyablocks/p-70a4af56.entry.js +0 -1
- package/dist/sankhyablocks/p-96a89d58.entry.js +0 -1
- package/dist/sankhyablocks/p-bd1a1ca6.entry.js +0 -1
- package/dist/sankhyablocks/p-c6db5eeb.entry.js +0 -1
- package/dist/sankhyablocks/p-ca5ec380.js +0 -1
- package/dist/sankhyablocks/p-d3f53df2.entry.js +0 -1
- package/dist/sankhyablocks/p-e8763234.entry.js +0 -1
- package/dist/sankhyablocks/p-eb9f0407.entry.js +0 -1
@@ -1,249 +0,0 @@
|
|
1
|
-
'use strict';
|
2
|
-
|
3
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
4
|
-
|
5
|
-
const index = require('./index-f9e81701.js');
|
6
|
-
const ezModalContainer = require('@sankhyalabs/ezui/dist/collection/components/ez-modal-container');
|
7
|
-
const utils = require('@sankhyalabs/ezui/dist/collection/utils');
|
8
|
-
const filterType_enum = require('./filter-type.enum-b14ce507.js');
|
9
|
-
const filterItemType_enum = require('./filter-item-type.enum-a7ffdaa6.js');
|
10
|
-
const core = require('@sankhyalabs/core');
|
11
|
-
const PersonalizedFilterUtils = require('./PersonalizedFilterUtils-0184ffbb.js');
|
12
|
-
const filterNumberVariation = require('./filterNumberVariation-d65332da.js');
|
13
|
-
require('./index-c5771aba.js');
|
14
|
-
|
15
|
-
const snkFilterModalCss = "ez-modal{--ez-modal-content-padding:24px 12px}.snk-filter-modal__container{width:344px;max-width:344px;min-width:344px;overflow:hidden}.snk-filter-modal__content{display:flex;flex-direction:column;gap:var(--space--medium, 12px);padding-right:var(--space--3xs, 4px)}.snk-filter-modal__collapsible-box{border:var(--border--small, 1px solid) var(--color--strokes, #DCE0E8);border-radius:var(--border--radius-medium);padding:var(--space--medium, 12px) var(--space--small, 6px)}.snk-filter-modal__rendered-items{max-height:760px;overflow-x:clip;overflow-y:auto}.snk-filter-modal__rendered-items::-webkit-scrollbar{width:var(--space--small);min-width:var(--space--small);max-width:var(--space--small)}";
|
16
|
-
|
17
|
-
const SnkFilterModal = class {
|
18
|
-
constructor(hostRef) {
|
19
|
-
index.registerInstance(this, hostRef);
|
20
|
-
this.getMessage = undefined;
|
21
|
-
this.configName = undefined;
|
22
|
-
this.filters = undefined;
|
23
|
-
this.applyFilters = undefined;
|
24
|
-
this.closeModal = undefined;
|
25
|
-
this.addPersonalizedFilter = undefined;
|
26
|
-
this.editPersonalizedFilter = undefined;
|
27
|
-
this.deletePersonalizedFilter = undefined;
|
28
|
-
this.filtersToDelete = [];
|
29
|
-
this.disablePersonalizedFilter = undefined;
|
30
|
-
}
|
31
|
-
/**
|
32
|
-
* Emitido quando um filtro personalizado é deletado.
|
33
|
-
*/
|
34
|
-
deletePersonalizedFilterListener(event) {
|
35
|
-
this.filtersToDelete.push(event.detail);
|
36
|
-
}
|
37
|
-
getCustomMessage(key, params) {
|
38
|
-
var _a;
|
39
|
-
return (_a = this.getMessage) === null || _a === void 0 ? void 0 : _a.call(this, `snkFilterBar.filterModal.${key}`, params);
|
40
|
-
}
|
41
|
-
//TODO: tratar clear all dos filtros personalizados
|
42
|
-
handleClearAll() {
|
43
|
-
const { customFilters, quickFilters, otherFilters, multiListFilters } = this.filters.reduce((acc, filter) => {
|
44
|
-
if (filter.type === filterItemType_enum.FilterItemType.MULTI_LIST) {
|
45
|
-
acc.multiListFilters.push(filter);
|
46
|
-
return acc;
|
47
|
-
}
|
48
|
-
if (filter.filterType === filterType_enum.FilterType.QUICK_FILTER) {
|
49
|
-
acc.quickFilters.push(filter);
|
50
|
-
return acc;
|
51
|
-
}
|
52
|
-
if (filter.filterType === filterType_enum.FilterType.CUSTOM_FILTER) {
|
53
|
-
acc.customFilters.push(filter);
|
54
|
-
return acc;
|
55
|
-
}
|
56
|
-
if (filter.filterType === filterType_enum.FilterType.OTHER_FILTERS) {
|
57
|
-
acc.otherFilters.push(filter);
|
58
|
-
return acc;
|
59
|
-
}
|
60
|
-
return acc;
|
61
|
-
}, { quickFilters: [], customFilters: [], otherFilters: [], multiListFilters: [] });
|
62
|
-
this.handleClearFilterList(quickFilters);
|
63
|
-
this.handleClearCustomFilters(customFilters);
|
64
|
-
this.handleClearOthersFilters(otherFilters);
|
65
|
-
multiListFilters.forEach(multiListFilter => this.handleClearSigleFilter(multiListFilter));
|
66
|
-
}
|
67
|
-
handleClearOthersFilters(otherFilters) {
|
68
|
-
this.filters = this.filters.map(filter => otherFilters.includes(filter) ? (Object.assign(Object.assign({}, filter), { value: undefined })) : filter);
|
69
|
-
}
|
70
|
-
handleClearCustomFilters(customFilters) {
|
71
|
-
this.filters.forEach((filter, index) => {
|
72
|
-
if (filter.filterType === filterType_enum.FilterType.CUSTOM_FILTER)
|
73
|
-
this.filters[index] = this.clearAllCustomFilter(customFilters).shift();
|
74
|
-
});
|
75
|
-
}
|
76
|
-
clearAllCustomFilter(filterConfigSnapshot) {
|
77
|
-
return filterConfigSnapshot.map(filterItem => {
|
78
|
-
const copy = Object.assign({}, filterItem);
|
79
|
-
delete copy.value;
|
80
|
-
copy.visible = false;
|
81
|
-
if (copy.groupedItems) {
|
82
|
-
copy.groupedItems = this.clearAllCustomFilter(copy.groupedItems);
|
83
|
-
}
|
84
|
-
return copy;
|
85
|
-
});
|
86
|
-
}
|
87
|
-
handleClose() {
|
88
|
-
const hasChangesToSave = core.ObjectUtils.objectToString(this.filters) !== core.ObjectUtils.objectToString(this._originalFilterConfig);
|
89
|
-
if (!hasChangesToSave) {
|
90
|
-
this.closeModal();
|
91
|
-
return;
|
92
|
-
}
|
93
|
-
return utils.ApplicationUtils.confirm(this.getCustomMessage('validations.notSaved.title'), this.getCustomMessage('validations.notSaved.message')).then((cancelAction) => {
|
94
|
-
if (cancelAction)
|
95
|
-
this.closeModal();
|
96
|
-
});
|
97
|
-
}
|
98
|
-
handleApplyFilters() {
|
99
|
-
const filterPersonalized = this.filters.find(filter => filter.filterType === filterType_enum.FilterType.CUSTOM_FILTER);
|
100
|
-
if (this.isValidCustomFilter(filterPersonalized)) {
|
101
|
-
this.applyFilters(this.filters);
|
102
|
-
}
|
103
|
-
if (this.filtersToDelete.length > 0) {
|
104
|
-
this.filtersToDelete.forEach(filter => {
|
105
|
-
this.deletePersonalizedFilter(filter, this.configName);
|
106
|
-
});
|
107
|
-
this.filtersToDelete = [];
|
108
|
-
}
|
109
|
-
}
|
110
|
-
isValidCustomFilter(filterPersonalized) {
|
111
|
-
const isValid = PersonalizedFilterUtils.PersonalizedFilterUtils.validateVariableValues(filterPersonalized);
|
112
|
-
if (!isValid) {
|
113
|
-
utils.ApplicationUtils.alert(this.getCustomMessage('validations.notFullFilled.title'), this.getCustomMessage('validations.notFullFilled.message'));
|
114
|
-
return false;
|
115
|
-
}
|
116
|
-
return true;
|
117
|
-
}
|
118
|
-
modalActionListener(evt) {
|
119
|
-
const modalAction = evt.detail;
|
120
|
-
switch (modalAction) {
|
121
|
-
case ezModalContainer.ModalAction.CANCEL:
|
122
|
-
this.handleClearAll();
|
123
|
-
break;
|
124
|
-
case ezModalContainer.ModalAction.OK:
|
125
|
-
this.handleApplyFilters();
|
126
|
-
break;
|
127
|
-
case ezModalContainer.ModalAction.CLOSE:
|
128
|
-
this.handleClose();
|
129
|
-
break;
|
130
|
-
}
|
131
|
-
}
|
132
|
-
handleFilterChange(filterConfig) {
|
133
|
-
this.filters = this.filters.map(filter => filter.id === filterConfig.id ? filterConfig : filter);
|
134
|
-
}
|
135
|
-
handleClearFilterList(filterList) {
|
136
|
-
this.filters = this.filters.map(filter => filterList.includes(filter) ? (Object.assign(Object.assign({}, filter), { value: undefined })) : filter);
|
137
|
-
}
|
138
|
-
handleClearSigleFilter(filterItem) {
|
139
|
-
if (filterItemType_enum.FilterItemType.MULTI_LIST === filterItem.type) {
|
140
|
-
let filterItemCopy = core.ObjectUtils.copy(filterItem);
|
141
|
-
this.uncheckFilterValues(filterItemCopy.value);
|
142
|
-
const filterListCopy = core.ObjectUtils.copy(this.filters);
|
143
|
-
const index = filterListCopy.findIndex(item => item.id === filterItem.id);
|
144
|
-
filterListCopy.splice(index, 1, filterItemCopy);
|
145
|
-
this.filters = core.ObjectUtils.copy(filterListCopy);
|
146
|
-
return;
|
147
|
-
}
|
148
|
-
if (filterItemType_enum.FilterItemType.CHECK_BOX_LIST === filterItem.type) {
|
149
|
-
const filterListCopy = core.ObjectUtils.copy(this.filters);
|
150
|
-
filterListCopy.find(filter => filter.id === filterItem.id).value = undefined;
|
151
|
-
this.filters = core.ObjectUtils.copy(filterListCopy);
|
152
|
-
return;
|
153
|
-
}
|
154
|
-
this.filters.find(filter => filter.id === filterItem.id).value = undefined;
|
155
|
-
}
|
156
|
-
uncheckFilterValues(valueList) {
|
157
|
-
valueList.forEach(value => {
|
158
|
-
if (!!value) {
|
159
|
-
value.check = false;
|
160
|
-
}
|
161
|
-
});
|
162
|
-
return valueList;
|
163
|
-
}
|
164
|
-
renderFilterItem(filterItem, fullRow) {
|
165
|
-
return (index.h("snk-filter-modal-item", { class: fullRow ? 'ez-col ez-col--sd-12' : 'ez-col ez-col--sd-6 ez-padding--small', filterItem: filterItem, configName: this.configName, onFilterChange: (event) => this.handleFilterChange(event.detail), onEditPersonalizedFilter: evt => this.editPersonalizedFilter(evt.detail), onAddPersonalizedFilter: () => this.addPersonalizedFilter() }));
|
166
|
-
}
|
167
|
-
isDefaultFilterNumberVariation(filter) {
|
168
|
-
var _a;
|
169
|
-
return filter.type === filterItemType_enum.FilterItemType.NUMBER
|
170
|
-
&& (!filter.props.variation || ((_a = filter.props) === null || _a === void 0 ? void 0 : _a.variation) === filterNumberVariation.FilterNumberVariation.DEFAULT);
|
171
|
-
}
|
172
|
-
mountFiltersLines(filters) {
|
173
|
-
const MAX_LINE_LENGTH = 2;
|
174
|
-
let currentLine = 0;
|
175
|
-
let forceAddCurrent = false;
|
176
|
-
const filtersLines = {};
|
177
|
-
for (let curr = 0; curr < filters.length; curr++) {
|
178
|
-
filtersLines[currentLine] = filtersLines[currentLine] || [];
|
179
|
-
const item = filters[curr];
|
180
|
-
const isLast = curr === filters.length - 1;
|
181
|
-
const currentItemMatch = item.type === filterItemType_enum.FilterItemType.TEXT || this.isDefaultFilterNumberVariation(item);
|
182
|
-
const nextItemMatch = isLast ? false : filters[curr + 1].type === filterItemType_enum.FilterItemType.TEXT || this.isDefaultFilterNumberVariation(filters[curr + 1]);
|
183
|
-
if ((currentItemMatch && nextItemMatch) || forceAddCurrent) {
|
184
|
-
filtersLines[currentLine].push(item);
|
185
|
-
forceAddCurrent = filtersLines[currentLine].length < MAX_LINE_LENGTH;
|
186
|
-
if (filtersLines[currentLine].length === MAX_LINE_LENGTH)
|
187
|
-
++currentLine;
|
188
|
-
continue;
|
189
|
-
}
|
190
|
-
filtersLines[currentLine] = filtersLines[currentLine] || [];
|
191
|
-
filtersLines[currentLine].push(item);
|
192
|
-
++currentLine;
|
193
|
-
}
|
194
|
-
return Object.values(filtersLines);
|
195
|
-
}
|
196
|
-
renderFilterLine(filters) {
|
197
|
-
const fullLine = filters.length === 1;
|
198
|
-
return filters.map((filter) => this.renderFilterItem(filter, fullLine));
|
199
|
-
}
|
200
|
-
getIformedFiltersCount(listItems) {
|
201
|
-
let countInformedItens = 0;
|
202
|
-
listItems.forEach(item => {
|
203
|
-
var _a, _b, _c, _d, _e, _f;
|
204
|
-
if (filterItemType_enum.FilterItemType.MULTI_LIST === item.type) {
|
205
|
-
countInformedItens += (_e = (_d = (_c = ((_b = (_a = item.value) === null || _a === void 0 ? void 0 : _a.elements) !== null && _b !== void 0 ? _b : item.value)) === null || _c === void 0 ? void 0 : _c.filter(value => value === null || value === void 0 ? void 0 : value.check)) === null || _d === void 0 ? void 0 : _d.length) !== null && _e !== void 0 ? _e : 0;
|
206
|
-
return;
|
207
|
-
}
|
208
|
-
if (filterItemType_enum.FilterItemType.CHECK_BOX_LIST === item.type) {
|
209
|
-
countInformedItens += Object.entries((_f = item.value) !== null && _f !== void 0 ? _f : {})
|
210
|
-
.filter(([_, value]) => value === true)
|
211
|
-
.map(([key, _]) => key).length;
|
212
|
-
return;
|
213
|
-
}
|
214
|
-
if (item.groupedItems != undefined) {
|
215
|
-
countInformedItens = item.groupedItems.filter(item => item.visible).length;
|
216
|
-
return;
|
217
|
-
}
|
218
|
-
if (!!item.value) {
|
219
|
-
countInformedItens++;
|
220
|
-
}
|
221
|
-
});
|
222
|
-
return countInformedItens;
|
223
|
-
}
|
224
|
-
renderCollapsibleFilterBox(label, listItems, isSingleItem, shouldRenderFooter = true) {
|
225
|
-
if (!listItems.length)
|
226
|
-
return null;
|
227
|
-
const appliedFilters = this.getIformedFiltersCount(listItems);
|
228
|
-
const lines = this.mountFiltersLines(listItems);
|
229
|
-
return (index.h("ez-collapsible-box", { class: "snk-filter-modal__collapsible-box", headerSize: "medium", value: true, label: label }, !!appliedFilters && (index.h("ez-badge", { class: "ez-badge--primary-subtle", slot: "rightSlot", label: appliedFilters === null || appliedFilters === void 0 ? void 0 : appliedFilters.toString() })), index.h("div", { class: "ez-row snk-filter-modal__rendered-items" }, lines.map(this.renderFilterLine.bind(this))), shouldRenderFooter && (index.h("div", { class: "ez-flex ez-flex--justify-end grow" }, index.h("ez-button", { class: "ez-button--tertiary", size: "medium", label: "Limpar", onClick: () => isSingleItem ? this.handleClearSigleFilter(listItems[0]) : this.handleClearFilterList(listItems) })))));
|
230
|
-
}
|
231
|
-
componentWillRender() {
|
232
|
-
this._modalTitle = this.getCustomMessage('title');
|
233
|
-
this._okButtonLabel = this.getCustomMessage('okButtonLabel');
|
234
|
-
this._cancelButtonLabel = this.getCustomMessage('cancelButtonLabel');
|
235
|
-
}
|
236
|
-
componentDidLoad() {
|
237
|
-
if (!this._originalFilterConfig)
|
238
|
-
this._originalFilterConfig = this.filters;
|
239
|
-
}
|
240
|
-
render() {
|
241
|
-
const customFilters = this.filters.filter(filter => filter.filterType === filterType_enum.FilterType.CUSTOM_FILTER);
|
242
|
-
const quickFilters = this.filters.filter(filter => filter.filterType === filterType_enum.FilterType.QUICK_FILTER);
|
243
|
-
const otherFilters = this.filters.filter(filter => filter.filterType === filterType_enum.FilterType.OTHER_FILTERS);
|
244
|
-
return (index.h("ez-modal-container", { class: "snk-filter-modal__container", modalTitle: this._modalTitle, cancelButtonLabel: this._cancelButtonLabel, okButtonLabel: this._okButtonLabel, onEzModalAction: this.modalActionListener.bind(this) }, index.h("div", { class: "snk-filter-modal__content ez-col--sd-12" }, !this.disablePersonalizedFilter && this.renderCollapsibleFilterBox(this.getCustomMessage('customFilters'), customFilters, false, false), this.renderCollapsibleFilterBox(this.getCustomMessage('quickFilters'), quickFilters, false), otherFilters.map(filter => this.renderCollapsibleFilterBox(filter.label, [filter], true)))));
|
245
|
-
}
|
246
|
-
};
|
247
|
-
SnkFilterModal.style = snkFilterModalCss;
|
248
|
-
|
249
|
-
exports.snk_filter_modal = SnkFilterModal;
|
@@ -1,144 +0,0 @@
|
|
1
|
-
'use strict';
|
2
|
-
|
3
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
4
|
-
|
5
|
-
const index = require('./index-f9e81701.js');
|
6
|
-
const core = require('@sankhyalabs/core');
|
7
|
-
const SnkFormConfigManager = require('./SnkFormConfigManager-f1c92f79.js');
|
8
|
-
const ResourceIDUtils = require('./ResourceIDUtils-5ff86aa7.js');
|
9
|
-
require('./ConfigStorage-ecc0ed20.js');
|
10
|
-
require('./form-config-fetcher-ed497282.js');
|
11
|
-
require('./DataFetcher-cadeef8e.js');
|
12
|
-
require('./PrintUtils-bcaeb82f.js');
|
13
|
-
require('@sankhyalabs/core/dist/dataunit/metadata/UnitMetadata');
|
14
|
-
require('./filter-item-type.enum-a7ffdaa6.js');
|
15
|
-
require('./constants-35ddd366.js');
|
16
|
-
|
17
|
-
const snkFormCss = ".sc-snk-form-h{--snk-form__header--min-height:94px;display:block}.snk-form__form--hidden.sc-snk-form{display:none}";
|
18
|
-
|
19
|
-
const SnkForm = class {
|
20
|
-
constructor(hostRef) {
|
21
|
-
index.registerInstance(this, hostRef);
|
22
|
-
this.exit = index.createEvent(this, "exit", 7);
|
23
|
-
this.actionClick = index.createEvent(this, "actionClick", 7);
|
24
|
-
this.formItemsReady = index.createEvent(this, "formItemsReady", 7);
|
25
|
-
this._customEditors = new Map();
|
26
|
-
this._dataUnit = undefined;
|
27
|
-
this._dataState = undefined;
|
28
|
-
this._showFormConfig = false;
|
29
|
-
this._configManager = undefined;
|
30
|
-
this.configName = undefined;
|
31
|
-
this.recordsValidator = undefined;
|
32
|
-
this.messagesBuilder = undefined;
|
33
|
-
this.formLegacyConfigName = undefined;
|
34
|
-
this.resourceID = undefined;
|
35
|
-
}
|
36
|
-
/**
|
37
|
-
* Exibe a janela de configurações do formulário.
|
38
|
-
*/
|
39
|
-
async showConfig() {
|
40
|
-
this._showFormConfig = true;
|
41
|
-
}
|
42
|
-
/**
|
43
|
-
* Fecha a janela de configurações do formulário.
|
44
|
-
*/
|
45
|
-
async hideConfig() {
|
46
|
-
this._showFormConfig = false;
|
47
|
-
}
|
48
|
-
/**
|
49
|
-
* Registra um editor customizado para campos da grade e formulário.
|
50
|
-
*/
|
51
|
-
async addCustomEditor(fieldName, customEditor) {
|
52
|
-
if (this._form) {
|
53
|
-
this._form.addCustomEditor(fieldName, customEditor);
|
54
|
-
return;
|
55
|
-
}
|
56
|
-
const newCustomEditors = new Map(this._customEditors);
|
57
|
-
newCustomEditors.set(fieldName, customEditor);
|
58
|
-
this._customEditors = newCustomEditors;
|
59
|
-
}
|
60
|
-
/**
|
61
|
-
* Altera/adiciona uma propriedade nos metadados do campo.
|
62
|
-
*/
|
63
|
-
async setFieldProp(fieldName, propName, value) {
|
64
|
-
await this._form.setFieldProp(fieldName, propName, value);
|
65
|
-
}
|
66
|
-
closeConfig() {
|
67
|
-
this.hideConfig();
|
68
|
-
}
|
69
|
-
dataunitReady() {
|
70
|
-
const dataInfo = { dataUnit: this._dataUnit };
|
71
|
-
core.ElementIDUtils.addIDInfo(this._element, null, dataInfo);
|
72
|
-
}
|
73
|
-
setCustomEditors() {
|
74
|
-
if (!this._form) {
|
75
|
-
return;
|
76
|
-
}
|
77
|
-
for (const [fieldName, customEditor] of this._customEditors) {
|
78
|
-
this._form.addCustomEditor(fieldName, customEditor);
|
79
|
-
this._customEditors.delete(fieldName);
|
80
|
-
}
|
81
|
-
}
|
82
|
-
async componentDidRender() {
|
83
|
-
this.setCustomEditors();
|
84
|
-
}
|
85
|
-
async componentWillLoad() {
|
86
|
-
let parent = this._element.parentElement;
|
87
|
-
while (parent) {
|
88
|
-
if (parent.tagName.toUpperCase() === "SNK-DATA-UNIT") {
|
89
|
-
this._snkDataUnit = parent;
|
90
|
-
this._dataUnit = this._snkDataUnit.dataUnit;
|
91
|
-
this._dataState = this._snkDataUnit.dataState;
|
92
|
-
if (this._dataUnit) {
|
93
|
-
this.dataunitReady();
|
94
|
-
}
|
95
|
-
else {
|
96
|
-
this._snkDataUnit.addEventListener("dataUnitReady", (evt) => {
|
97
|
-
this._dataUnit = evt.detail;
|
98
|
-
});
|
99
|
-
}
|
100
|
-
this._snkDataUnit.addEventListener("dataStateChange", this.handleDataStateChange.bind(this));
|
101
|
-
break;
|
102
|
-
}
|
103
|
-
parent = parent.parentElement;
|
104
|
-
}
|
105
|
-
if (this.resourceID == undefined) {
|
106
|
-
this.resourceID = await ResourceIDUtils.ResourceIDUtils.getResourceID();
|
107
|
-
}
|
108
|
-
this._configManager = new SnkFormConfigManager.SnkFormConfigManager(this.configName, this.resourceID, undefined, this._dataUnit);
|
109
|
-
this.addFormLegacyConfig();
|
110
|
-
await this._configManager.loadConfig();
|
111
|
-
}
|
112
|
-
async handleDataStateChange(evt) {
|
113
|
-
var _a;
|
114
|
-
this._dataState = evt.detail;
|
115
|
-
const fieldsWithRmPrecision = await this._snkDataUnit.getFieldsWithRmPrecision();
|
116
|
-
for (const field of fieldsWithRmPrecision || []) {
|
117
|
-
if (!field) {
|
118
|
-
continue;
|
119
|
-
}
|
120
|
-
const rmPrecision = (_a = this._dataState.rowMetadata) === null || _a === void 0 ? void 0 : _a.getProp('rm_precision', field);
|
121
|
-
if (!rmPrecision && rmPrecision !== 0) {
|
122
|
-
continue;
|
123
|
-
}
|
124
|
-
await this.setFieldProp(field, 'precision', rmPrecision);
|
125
|
-
await this.setFieldProp(field, 'prettyPrecision', rmPrecision);
|
126
|
-
}
|
127
|
-
}
|
128
|
-
addFormLegacyConfig() {
|
129
|
-
if (this.formLegacyConfigName) {
|
130
|
-
this._configManager.addFormLegacyConfig(this.formLegacyConfigName);
|
131
|
-
}
|
132
|
-
}
|
133
|
-
render() {
|
134
|
-
if (!this._dataUnit || !this._dataState) {
|
135
|
-
return undefined;
|
136
|
-
}
|
137
|
-
return (index.h("section", null, index.h("div", { class: "ez-row" }, index.h("div", { class: "ez-col ez-col--sd-12" }, index.h("ez-form", { ref: (ref) => this._form = ref, key: "ezForm" + this._snkDataUnit.entityName, "data-element-id": "embedded", dataUnit: this._dataUnit, config: this._configManager.getConfig(this._dataUnit), recordsValidator: this.recordsValidator, class: this._showFormConfig ? 'snk-form__form--hidden' : '' }), this._showFormConfig &&
|
138
|
-
index.h("snk-form-config", { messagesBuilder: this.messagesBuilder, dataUnit: this._dataUnit, configManager: this._configManager, onConfigClose: () => this.closeConfig() })))));
|
139
|
-
}
|
140
|
-
get _element() { return index.getElement(this); }
|
141
|
-
};
|
142
|
-
SnkForm.style = snkFormCss;
|
143
|
-
|
144
|
-
exports.snk_form = SnkForm;
|
@@ -1,235 +0,0 @@
|
|
1
|
-
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-a7d3d3f1.js';
|
2
|
-
import { UserInterface, ObjectUtils, StringUtils, ApplicationContext, ElementIDUtils } from '@sankhyalabs/core';
|
3
|
-
import { DataType, getConvertedValue } from '@sankhyalabs/core/dist/dataunit/metadata/DataType';
|
4
|
-
import { CheckMode } from '@sankhyalabs/ezui/dist/collection/utils';
|
5
|
-
import { V as VARS_BY_TYPE, D as DEFAULT_TYPE, b as TAGS_BY_TYPE } from './constants-8457af36.js';
|
6
|
-
|
7
|
-
const snkConfigOptionsCss = ".sc-snk-config-options-h{--snk-config-options--border:2px solid var(--color--secondary-200, #D2D3DA);width:100%;border-radius:15px;border:var(--snk-config-options--border)}.config-options__switch-row.sc-snk-config-options{margin-top:-30px}";
|
8
|
-
|
9
|
-
const SnkConfigOptions = class {
|
10
|
-
constructor(hostRef) {
|
11
|
-
registerInstance(this, hostRef);
|
12
|
-
this.configOptionsChanged = createEvent(this, "configOptionsChanged", 7);
|
13
|
-
this._defaultType = undefined;
|
14
|
-
this.fieldConfig = {};
|
15
|
-
this.idConfig = undefined;
|
16
|
-
this.dataUnit = undefined;
|
17
|
-
this.messagesBuilder = undefined;
|
18
|
-
}
|
19
|
-
onConfigDefault(optionSelected) {
|
20
|
-
if (optionSelected != undefined) {
|
21
|
-
this._defaultType = optionSelected;
|
22
|
-
this.fieldConfig.defaultValue = {
|
23
|
-
type: this._defaultType
|
24
|
-
};
|
25
|
-
this.configOptionsChanged.emit(this.fieldConfig);
|
26
|
-
}
|
27
|
-
}
|
28
|
-
buildOptions() {
|
29
|
-
var _a, _b, _c;
|
30
|
-
let interfaceField = (_c = (_a = this.dataUnit) === null || _a === void 0 ? void 0 : _a.getField((_b = this.fieldConfig) === null || _b === void 0 ? void 0 : _b.name)) === null || _c === void 0 ? void 0 : _c.userInterface;
|
31
|
-
if (interfaceField === UserInterface.SEARCH) {
|
32
|
-
interfaceField = UserInterface.INTEGERNUMBER;
|
33
|
-
}
|
34
|
-
return VARS_BY_TYPE.UserInterface[interfaceField];
|
35
|
-
}
|
36
|
-
enabledValueDefault() {
|
37
|
-
var _a, _b, _c;
|
38
|
-
const field = (_a = this.dataUnit) === null || _a === void 0 ? void 0 : _a.getField((_b = this.fieldConfig) === null || _b === void 0 ? void 0 : _b.name);
|
39
|
-
const allowDefault = (_c = field === null || field === void 0 ? void 0 : field.properties) === null || _c === void 0 ? void 0 : _c.allowDefault;
|
40
|
-
const hasVariableVar = VARS_BY_TYPE.UserInterface.hasOwnProperty(field === null || field === void 0 ? void 0 : field.userInterface)
|
41
|
-
|| (field === null || field === void 0 ? void 0 : field.userInterface) === UserInterface.SEARCH;
|
42
|
-
if ((allowDefault == undefined || allowDefault === "true") && hasVariableVar) {
|
43
|
-
return true;
|
44
|
-
}
|
45
|
-
return false;
|
46
|
-
}
|
47
|
-
isAllowDefault() {
|
48
|
-
var _a, _b;
|
49
|
-
const allowDefault = (_b = (_a = this._fieldProperties) === null || _a === void 0 ? void 0 : _a.properties) === null || _b === void 0 ? void 0 : _b.allowDefault;
|
50
|
-
if (allowDefault == undefined) {
|
51
|
-
return true;
|
52
|
-
}
|
53
|
-
return allowDefault === "true";
|
54
|
-
}
|
55
|
-
loadDefaultValue() {
|
56
|
-
var _a;
|
57
|
-
if (this.fieldConfig == undefined) {
|
58
|
-
this._defaultType = DEFAULT_TYPE.fixed;
|
59
|
-
this.fieldConfig = {
|
60
|
-
defaultValue: {
|
61
|
-
type: this._defaultType
|
62
|
-
}
|
63
|
-
};
|
64
|
-
}
|
65
|
-
else if (((_a = this.fieldConfig.defaultValue) === null || _a === void 0 ? void 0 : _a.type) == undefined) {
|
66
|
-
this._defaultType = DEFAULT_TYPE.fixed;
|
67
|
-
this.fieldConfig.defaultValue = {
|
68
|
-
type: this._defaultType
|
69
|
-
};
|
70
|
-
}
|
71
|
-
else {
|
72
|
-
this._defaultType = this.fieldConfig.defaultValue.type;
|
73
|
-
}
|
74
|
-
}
|
75
|
-
getFieldProperties(field) {
|
76
|
-
var _a;
|
77
|
-
if (field != undefined) {
|
78
|
-
return (_a = this.dataUnit) === null || _a === void 0 ? void 0 : _a.getField(field);
|
79
|
-
}
|
80
|
-
}
|
81
|
-
getMessage(key, params) {
|
82
|
-
return this.messagesBuilder.getMessage(key, params);
|
83
|
-
}
|
84
|
-
getDefaultType() {
|
85
|
-
var _a;
|
86
|
-
return (_a = this.fieldConfig.defaultValue.type) !== null && _a !== void 0 ? _a : DEFAULT_TYPE.fixed;
|
87
|
-
}
|
88
|
-
getEnabledByProperty(attribName, propertyName) {
|
89
|
-
const fieldDescriptor = this._fieldProperties;
|
90
|
-
if (fieldDescriptor == undefined) {
|
91
|
-
return true;
|
92
|
-
}
|
93
|
-
const fieldProperties = fieldDescriptor.properties || {};
|
94
|
-
return fieldProperties.hasOwnProperty(propertyName) ? fieldProperties[propertyName] !== "S" : fieldDescriptor[attribName] !== true;
|
95
|
-
}
|
96
|
-
getValueByProperty(property) {
|
97
|
-
const properties = this._fieldProperties;
|
98
|
-
if (properties != undefined && properties[property] === true) {
|
99
|
-
return true;
|
100
|
-
}
|
101
|
-
return this.fieldConfig[property];
|
102
|
-
}
|
103
|
-
getValidatedValue(fieldValue) {
|
104
|
-
var _a, _b;
|
105
|
-
if (fieldValue == undefined) {
|
106
|
-
return;
|
107
|
-
}
|
108
|
-
const field = (_a = this.dataUnit) === null || _a === void 0 ? void 0 : _a.getField((_b = this.fieldConfig) === null || _b === void 0 ? void 0 : _b.name);
|
109
|
-
const dataType = field === null || field === void 0 ? void 0 : field.dataType;
|
110
|
-
if (dataType == undefined) {
|
111
|
-
return;
|
112
|
-
}
|
113
|
-
const value = (fieldValue === null || fieldValue === void 0 ? void 0 : fieldValue.waitmessage) != undefined ? undefined :
|
114
|
-
dataType !== DataType.OBJECT && dataType !== DataType.DATE
|
115
|
-
&& typeof fieldValue === "object"
|
116
|
-
? fieldValue.value
|
117
|
-
: fieldValue;
|
118
|
-
return dataType === DataType.OBJECT ? JSON.stringify(value) : value;
|
119
|
-
}
|
120
|
-
buildInputDefault({ value, enabled, label, name, required, userInterface }, properties = undefined, mode = undefined) {
|
121
|
-
let options;
|
122
|
-
let precision = 0;
|
123
|
-
let prettyPrecision = 0;
|
124
|
-
const TagName = userInterface == undefined || TAGS_BY_TYPE[userInterface] == undefined
|
125
|
-
? TAGS_BY_TYPE.DEFAULT
|
126
|
-
: TAGS_BY_TYPE[userInterface];
|
127
|
-
if (userInterface === UserInterface.OPTIONSELECTOR) {
|
128
|
-
const prop = properties === null || properties === void 0 ? void 0 : properties.options;
|
129
|
-
if (typeof prop === "string") {
|
130
|
-
const parsed = ObjectUtils.stringToObject(prop);
|
131
|
-
options = Object.keys(parsed).map(key => { return { value: key, label: parsed[key] }; });
|
132
|
-
}
|
133
|
-
else {
|
134
|
-
options = prop;
|
135
|
-
}
|
136
|
-
}
|
137
|
-
else if (userInterface === UserInterface.DECIMALNUMBER) {
|
138
|
-
precision = Number((properties === null || properties === void 0 ? void 0 : properties.precision) || 2);
|
139
|
-
prettyPrecision = Number((properties === null || properties === void 0 ? void 0 : properties.prettyPrecision) || precision);
|
140
|
-
}
|
141
|
-
return h(TagName, Object.assign({ value: value, enabled: enabled, label: label, "data-field-name": name, key: name, onEzChange: (evt) => this.onChange(evt === null || evt === void 0 ? void 0 : evt.detail) }, (this.getConditionalAttributes(userInterface, required, options, precision, prettyPrecision, mode))));
|
142
|
-
}
|
143
|
-
getConditionalAttributes(userInterface, required, options, precision, prettyPrecision, mode) {
|
144
|
-
switch (userInterface) {
|
145
|
-
case UserInterface.SEARCH:
|
146
|
-
return {
|
147
|
-
suppressEmptyOption: required,
|
148
|
-
optionLoader: (searchArgument) => this.onSearch(searchArgument)
|
149
|
-
};
|
150
|
-
case UserInterface.OPTIONSELECTOR:
|
151
|
-
return {
|
152
|
-
suppressEmptyOption: required,
|
153
|
-
options
|
154
|
-
};
|
155
|
-
case UserInterface.CHECKBOX:
|
156
|
-
case UserInterface.SWITCH:
|
157
|
-
return {
|
158
|
-
mode
|
159
|
-
};
|
160
|
-
case UserInterface.INTEGERNUMBER:
|
161
|
-
case UserInterface.DECIMALNUMBER:
|
162
|
-
return {
|
163
|
-
precision,
|
164
|
-
prettyPrecision,
|
165
|
-
onEzStartChange: (evt) => this.onChange(evt === null || evt === void 0 ? void 0 : evt.detail)
|
166
|
-
};
|
167
|
-
case UserInterface.DATE:
|
168
|
-
case UserInterface.DATETIME:
|
169
|
-
case UserInterface.TIME:
|
170
|
-
return {
|
171
|
-
onEzStartChange: (evt) => this.onChange(evt === null || evt === void 0 ? void 0 : evt.detail)
|
172
|
-
};
|
173
|
-
default:
|
174
|
-
return {};
|
175
|
-
}
|
176
|
-
}
|
177
|
-
onChange(fieldValue) {
|
178
|
-
this.fieldConfig.defaultValue.value = this.getValidatedValue(fieldValue);
|
179
|
-
this.configOptionsChanged.emit(this.fieldConfig);
|
180
|
-
}
|
181
|
-
onSearch(searchArgument) {
|
182
|
-
if (this._application != undefined && this.fieldConfig != undefined) {
|
183
|
-
return this._application.executeSearch(searchArgument, this.fieldConfig.name, this.dataUnit);
|
184
|
-
}
|
185
|
-
}
|
186
|
-
buildField(descriptor, config) {
|
187
|
-
const { name, label, readOnly, required, defaultValue } = config;
|
188
|
-
const { userInterface, properties } = descriptor;
|
189
|
-
const allowDefault = properties === null || properties === void 0 ? void 0 : properties.allowDefault;
|
190
|
-
let value;
|
191
|
-
let enabled = StringUtils.getBooleanValue(allowDefault, !readOnly);
|
192
|
-
if (userInterface === UserInterface.FILE) {
|
193
|
-
enabled = false;
|
194
|
-
}
|
195
|
-
if (enabled) {
|
196
|
-
value = defaultValue === null || defaultValue === void 0 ? void 0 : defaultValue.value;
|
197
|
-
if (value != undefined) {
|
198
|
-
value = getConvertedValue(descriptor === null || descriptor === void 0 ? void 0 : descriptor.dataType, value);
|
199
|
-
}
|
200
|
-
}
|
201
|
-
const configField = { value, enabled, label, name, required, userInterface };
|
202
|
-
switch (userInterface) {
|
203
|
-
case UserInterface.SWITCH:
|
204
|
-
return this.buildInputDefault(configField, undefined, CheckMode.SWITCH);
|
205
|
-
case UserInterface.CHECKBOX:
|
206
|
-
return this.buildInputDefault(configField, undefined, CheckMode.REGULAR);
|
207
|
-
case UserInterface.OPTIONSELECTOR:
|
208
|
-
case UserInterface.DECIMALNUMBER:
|
209
|
-
return this.buildInputDefault(configField, properties);
|
210
|
-
default:
|
211
|
-
return this.buildInputDefault(configField);
|
212
|
-
}
|
213
|
-
}
|
214
|
-
componentWillLoad() {
|
215
|
-
var _a;
|
216
|
-
this.loadDefaultValue();
|
217
|
-
this._application = ApplicationContext.getContextValue("__SNK__APPLICATION__");
|
218
|
-
this._fieldProperties = this.getFieldProperties((_a = this.fieldConfig) === null || _a === void 0 ? void 0 : _a.name);
|
219
|
-
}
|
220
|
-
componentDidLoad() {
|
221
|
-
ElementIDUtils.addIDInfo(this._element, this.fieldConfig.name);
|
222
|
-
}
|
223
|
-
render() {
|
224
|
-
var _a, _b;
|
225
|
-
return (h(Host, null, h("div", { id: this.idConfig }, h("div", { class: "ez-row ez-padding--medium" }, h("div", { class: "ez-col ez-col--sd-12 ez-col--tb-4 ez-padding--small" }, h("ez-text-input", { label: this.getMessage("snkConfigOptions.label.nameField"), value: (_a = this.fieldConfig) === null || _a === void 0 ? void 0 : _a.label, onEzChange: (evt) => { this.fieldConfig.label = evt.detail; this.configOptionsChanged.emit(this.fieldConfig); } })), h("div", { class: "ez-col ez-col--sd-12 ez-col--tb-4 ez-padding--small" }, h("ez-combo-box", { label: this.getMessage("snkConfigOptions.label.typeValueDefault"), suppressEmptyOption: true, enabled: this.enabledValueDefault(), onEzChange: (evt) => { var _a; return this.onConfigDefault((_a = evt.detail) === null || _a === void 0 ? void 0 : _a.value); }, value: this.getDefaultType() }, h("option", { value: DEFAULT_TYPE.fixed }, this.getMessage("snkConfigOptions.options.valueFixed")), h("option", { value: DEFAULT_TYPE.variable }, this.getMessage("snkConfigOptions.options.variable")))), h("div", { class: "ez-col ez-col--sd-12 ez-col--tb-4 ez-padding--small" }, this._defaultType === DEFAULT_TYPE.variable ?
|
226
|
-
h("ez-combo-box", { label: this.getMessage("snkConfigOptions.label.valueDefault"), enabled: this.isAllowDefault(), onEzChange: (evt) => { var _a; this.fieldConfig.defaultValue.value = (_a = evt.detail) === null || _a === void 0 ? void 0 : _a.value; this.configOptionsChanged.emit(this.fieldConfig); }, value: this.fieldConfig.defaultValue.value, options: this.buildOptions() })
|
227
|
-
:
|
228
|
-
((_b = this._fieldProperties) === null || _b === void 0 ? void 0 : _b.userInterface) &&
|
229
|
-
this.buildField(this._fieldProperties, this.fieldConfig))), h("div", { class: "ez-row ez-padding--medium config-options__switch-row" }, h("div", { class: "ez-col ez-col--sd-12 ez-col--tb-4 ez-padding--small" }, h("ez-check", { mode: CheckMode.SWITCH, label: this.getMessage("snkConfigOptions.label.clearDuplicate"), value: this.fieldConfig.cleanOnCopy, onEzChange: (evt) => { this.fieldConfig.cleanOnCopy = evt.detail; this.configOptionsChanged.emit(this.fieldConfig); } })), h("div", { class: "ez-col ez-col--sd-12 ez-col--tb-4 ez-padding--small" }, h("ez-check", { mode: CheckMode.SWITCH, label: this.getMessage("snkConfigOptions.label.requiredField"), enabled: this.getEnabledByProperty("required", "systemRequired"), value: this.getValueByProperty("required"), onEzChange: (evt) => { this.fieldConfig.required = evt.detail; this.configOptionsChanged.emit(this.fieldConfig); } })), h("div", { class: "ez-col ez-col--sd-12 ez-col--tb-4 ez-padding--small" }, h("ez-check", { mode: CheckMode.SWITCH, label: this.getMessage("snkConfigOptions.label.protectedField"), enabled: this.getEnabledByProperty("readOnly", "systemReadOnly"), value: this.getValueByProperty("readOnly"), onEzChange: (evt) => { this.fieldConfig.readOnly = evt.detail; this.configOptionsChanged.emit(this.fieldConfig); } }))))));
|
230
|
-
}
|
231
|
-
get _element() { return getElement(this); }
|
232
|
-
};
|
233
|
-
SnkConfigOptions.style = snkConfigOptionsCss;
|
234
|
-
|
235
|
-
export { SnkConfigOptions as snk_config_options };
|