@sankhyalabs/sankhyablocks 9.1.0 → 9.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/AuthorizationConfig-79ffae4b.js.gz +0 -0
- package/dist/cjs/ClientSideExporterProvider-6a4108c9.js.gz +0 -0
- package/dist/cjs/ConfigStorage-34aa43d8.js.gz +0 -0
- package/dist/cjs/DataFetcher-e23a263b.js.gz +0 -0
- package/dist/cjs/FormConfigHelper-c664dbae.js.gz +0 -0
- package/dist/cjs/GetSelectedRecordsIDsInfo-bd50caf1.js.gz +0 -0
- package/dist/cjs/IFetchDataExporterParams-e78ec415.js.gz +0 -0
- package/dist/cjs/ISave-e0be2362.js.gz +0 -0
- package/dist/cjs/ParamType-90b440a0.js.gz +0 -0
- package/dist/cjs/PersonalizedFilterUtils-7259cf65.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-d0c45bd5.js.gz +0 -0
- package/dist/cjs/SnkMessageBuilder-221cc88d.js.gz +0 -0
- package/dist/cjs/auth-fetcher-8670a38f.js.gz +0 -0
- package/dist/cjs/config-header.cjs.entry.js.gz +0 -0
- package/dist/cjs/configs-button.cjs.entry.js.gz +0 -0
- package/dist/cjs/constants-6d82e405.js.gz +0 -0
- package/dist/cjs/dataunit-fetcher-c34a8217.js.gz +0 -0
- package/dist/cjs/default-filters-a09bf82b.js.gz +0 -0
- package/dist/cjs/field-config_2.cjs.entry.js.gz +0 -0
- package/dist/cjs/fields-layout.cjs.entry.js.gz +0 -0
- package/dist/cjs/fields-selector.cjs.entry.js.gz +0 -0
- package/dist/cjs/filter-item-type.enum-a7ffdaa6.js.gz +0 -0
- package/dist/cjs/filter-type.enum-2bb46d2a.js.gz +0 -0
- package/dist/cjs/filterNumberVariation-d65332da.js.gz +0 -0
- package/dist/cjs/form-config-fetcher-d8b78403.js.gz +0 -0
- package/dist/cjs/guides-configurator.cjs.entry.js.gz +0 -0
- package/dist/cjs/index-0ad2baeb.js.gz +0 -0
- package/dist/cjs/index-1cf293c1.js.gz +0 -0
- package/dist/cjs/index-62760a9c.js.gz +0 -0
- package/dist/cjs/index-8d94b7e0.js.gz +0 -0
- package/dist/cjs/index-e3e39724.js.gz +0 -0
- package/dist/cjs/index.cjs.js.gz +0 -0
- package/dist/cjs/loader.cjs.js.gz +0 -0
- package/dist/cjs/pesquisa-grid_2.cjs.entry.js.gz +0 -0
- package/dist/cjs/presentationMode-52ec3bdd.js.gz +0 -0
- package/dist/cjs/sankhyablocks.cjs.js.gz +0 -0
- package/dist/cjs/snk-actions-button_8.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 +232 -56
- package/dist/cjs/snk-application.cjs.entry.js.gz +0 -0
- 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-configurator.cjs.entry.js.gz +0 -0
- 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.gz +0 -0
- package/dist/cjs/snk-data-unit-a4f9287b.js.gz +0 -0
- package/dist/cjs/snk-data-unit.cjs.entry.js.gz +0 -0
- package/dist/cjs/snk-default-filter.cjs.entry.js.gz +0 -0
- 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-filter-advanced-mode_2.cjs.entry.js.gz +0 -0
- 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.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.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-form_2.cjs.entry.js.gz +0 -0
- package/dist/cjs/snk-grid.cjs.entry.js +1 -0
- package/dist/cjs/snk-grid.cjs.entry.js.gz +0 -0
- package/dist/cjs/snk-guides-viewer-9d70fa11.js.gz +0 -0
- package/dist/cjs/snk-guides-viewer.cjs.entry.js.gz +0 -0
- package/dist/cjs/snk-personalized-filter-editor.cjs.entry.js.gz +0 -0
- 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.gz +0 -0
- package/dist/cjs/snk-taskbar.cjs.entry.js.gz +0 -0
- package/dist/cjs/sortable.esm-9a110bb7.js.gz +0 -0
- package/dist/cjs/taskbar-elements-3b74cd21.js.gz +0 -0
- package/dist/cjs/taskbar-processor-2fba34a8.js.gz +0 -0
- package/dist/cjs/teste-pesquisa.cjs.entry.js.gz +0 -0
- 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.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.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.gz +0 -0
- package/dist/collection/components/snk-application/request-listener/RequestListenerFactory.js.gz +0 -0
- package/dist/collection/components/snk-application/request-listener/RequestListenerLoadingBar.js.gz +0 -0
- package/dist/collection/components/snk-application/search-strategy/exec-prepared-search-plus.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 +1259 -315
- 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.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.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.gz +0 -0
- 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.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.gz +0 -0
- package/dist/collection/components/snk-data-exporter/utils/ParserExport.js.gz +0 -0
- package/dist/collection/components/snk-data-unit/MultipleUpdateHelper.js.gz +0 -0
- 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.gz +0 -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.gz +0 -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.css.gz +0 -0
- 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-default-filter/snk-default-filter.css.gz +0 -0
- package/dist/collection/components/snk-filter-bar/filter-modal/subcomponents/snk-default-filter/snk-default-filter.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/default-filters.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/FormConfigHelper.js.gz +0 -0
- package/dist/collection/components/snk-form-config/SnkFormConfigManager.js.gz +0 -0
- package/dist/collection/components/snk-form-config/config-header/config-header.css.gz +0 -0
- package/dist/collection/components/snk-form-config/config-header/config-header.js.gz +0 -0
- package/dist/collection/components/snk-form-config/config-header/configs-button/configs-button.css.gz +0 -0
- package/dist/collection/components/snk-form-config/config-header/configs-button/configs-button.js.gz +0 -0
- package/dist/collection/components/snk-form-config/field-item/field-config/field-config.css.gz +0 -0
- package/dist/collection/components/snk-form-config/field-item/field-config/field-config.js.gz +0 -0
- package/dist/collection/components/snk-form-config/field-item/field-item.css.gz +0 -0
- package/dist/collection/components/snk-form-config/field-item/field-item.js.gz +0 -0
- package/dist/collection/components/snk-form-config/fields-layout/fields-layout.css.gz +0 -0
- package/dist/collection/components/snk-form-config/fields-layout/fields-layout.js.gz +0 -0
- package/dist/collection/components/snk-form-config/fields-selector/fields-selector.css.gz +0 -0
- package/dist/collection/components/snk-form-config/fields-selector/fields-selector.js.gz +0 -0
- package/dist/collection/components/snk-form-config/guides-configurator/guides-configurator.css.gz +0 -0
- package/dist/collection/components/snk-form-config/guides-configurator/guides-configurator.js.gz +0 -0
- 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.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 +15 -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-layout-form-config/snk-layout-form-config.css.gz +0 -0
- package/dist/collection/components/snk-layout-form-config/snk-layout-form-config.js.gz +0 -0
- package/dist/collection/components/snk-layout-form-config/snk-view-representation/snk-view-representation.css.gz +0 -0
- package/dist/collection/components/snk-layout-form-config/snk-view-representation/snk-view-representation.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/pesquisa-grid/pesquisa-grid.css.gz +0 -0
- package/dist/collection/components/snk-pesquisa/pesquisa-grid/pesquisa-grid.js.gz +0 -0
- package/dist/collection/components/snk-pesquisa/pesquisa-tree/pesquisa-tree.css.gz +0 -0
- package/dist/collection/components/snk-pesquisa/pesquisa-tree/pesquisa-tree.js.gz +0 -0
- package/dist/collection/components/snk-pesquisa/pesquisaHelper.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.gz +0 -0
- package/dist/collection/components/snk-simple-form-config/snk-simple-form-config.css.gz +0 -0
- package/dist/collection/components/snk-simple-form-config/snk-simple-form-config.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/elements/taskbar-split-button/taskbar-split-button.css.gz +0 -0
- package/dist/collection/components/snk-taskbar/elements/taskbar-split-button/taskbar-split-button.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.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/configs/LayoutFormConfig.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.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.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/helpers/DataUnitDataLoaderHelper.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.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.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.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.gz +0 -0
- package/dist/components/AuthorizationConfig.js.gz +0 -0
- package/dist/components/ConfigStorage.js.gz +0 -0
- package/dist/components/ContinuousInsertUtils.js.gz +0 -0
- 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/config-header.js.gz +0 -0
- package/dist/components/config-header2.js.gz +0 -0
- package/dist/components/configs-button.js.gz +0 -0
- package/dist/components/configs-button2.js.gz +0 -0
- package/dist/components/constants.js.gz +0 -0
- package/dist/components/dataunit-fetcher.js.gz +0 -0
- package/dist/components/field-config.js.gz +0 -0
- package/dist/components/field-config2.js.gz +0 -0
- package/dist/components/field-item.js.gz +0 -0
- package/dist/components/field-item2.js.gz +0 -0
- package/dist/components/fields-layout.js.gz +0 -0
- package/dist/components/fields-layout2.js.gz +0 -0
- package/dist/components/fields-selector.js.gz +0 -0
- package/dist/components/fields-selector2.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/guides-configurator.js.gz +0 -0
- package/dist/components/guides-configurator2.js.gz +0 -0
- package/dist/components/index.js.gz +0 -0
- package/dist/components/index2.js.gz +0 -0
- package/dist/components/pesquisa-grid.js.gz +0 -0
- package/dist/components/pesquisa-grid2.js.gz +0 -0
- package/dist/components/pesquisa-tree.js.gz +0 -0
- package/dist/components/pesquisa-tree2.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.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 +232 -56
- 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-configurator.js.gz +0 -0
- package/dist/components/snk-configurator2.js.gz +0 -0
- 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.gz +0 -0
- package/dist/components/snk-data-unit.js.gz +0 -0
- package/dist/components/snk-data-unit2.js.gz +0 -0
- package/dist/components/snk-default-filter.js.gz +0 -0
- package/dist/components/snk-default-filter2.js.gz +0 -0
- package/dist/components/snk-detail-view.js.gz +0 -0
- 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-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.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.gz +0 -0
- package/dist/components/snk-form-config.js.gz +0 -0
- 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 +1 -0
- package/dist/components/snk-grid2.js.gz +0 -0
- package/dist/components/snk-guides-viewer.js.gz +0 -0
- package/dist/components/snk-layout-form-config.js.gz +0 -0
- package/dist/components/snk-layout-form-config2.js.gz +0 -0
- 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.gz +0 -0
- package/dist/components/snk-simple-form-config.js.gz +0 -0
- package/dist/components/snk-simple-form-config2.js.gz +0 -0
- package/dist/components/snk-taskbar.js.gz +0 -0
- package/dist/components/snk-taskbar2.js.gz +0 -0
- package/dist/components/snk-view-representation.js.gz +0 -0
- package/dist/components/snk-view-representation2.js.gz +0 -0
- package/dist/components/sortable.esm.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/taskbar-split-button.js.gz +0 -0
- package/dist/components/taskbar-split-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/ClientSideExporterProvider-09dee1a3.js.gz +0 -0
- package/dist/esm/ConfigStorage-89154c4e.js.gz +0 -0
- package/dist/esm/DataFetcher-db08cad0.js.gz +0 -0
- package/dist/esm/FormConfigHelper-49fe72ca.js.gz +0 -0
- package/dist/esm/GetSelectedRecordsIDsInfo-9fa41508.js.gz +0 -0
- package/dist/esm/IFetchDataExporterParams-d73bed3d.js.gz +0 -0
- package/dist/esm/ISave-da565824.js.gz +0 -0
- package/dist/esm/ParamType-d5152b06.js.gz +0 -0
- package/dist/esm/PersonalizedFilterUtils-2db38ff2.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-e779ecad.js.gz +0 -0
- package/dist/esm/SnkMessageBuilder-da87a821.js.gz +0 -0
- package/dist/esm/auth-fetcher-43c8d76b.js.gz +0 -0
- package/dist/esm/config-header.entry.js.gz +0 -0
- package/dist/esm/configs-button.entry.js.gz +0 -0
- package/dist/esm/constants-7b422de0.js.gz +0 -0
- package/dist/esm/dataunit-fetcher-1b78797a.js.gz +0 -0
- package/dist/esm/default-filters-50105e43.js.gz +0 -0
- package/dist/esm/field-config_2.entry.js.gz +0 -0
- package/dist/esm/fields-layout.entry.js.gz +0 -0
- package/dist/esm/fields-selector.entry.js.gz +0 -0
- package/dist/esm/filter-item-type.enum-d45e026f.js.gz +0 -0
- package/dist/esm/filter-type.enum-f6a8fe23.js.gz +0 -0
- package/dist/esm/filterNumberVariation-8cee02ea.js.gz +0 -0
- package/dist/esm/form-config-fetcher-e623539b.js.gz +0 -0
- package/dist/esm/guides-configurator.entry.js.gz +0 -0
- package/dist/esm/index-479e1293.js.gz +0 -0
- package/dist/esm/index-620ac460.js.gz +0 -0
- package/dist/esm/index-8acbae97.js.gz +0 -0
- package/dist/esm/index-b40568ff.js.gz +0 -0
- package/dist/esm/index-b72af127.js.gz +0 -0
- package/dist/esm/index.js.gz +0 -0
- package/dist/esm/loader.js.gz +0 -0
- package/dist/esm/pesquisa-grid_2.entry.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.gz +0 -0
- package/dist/esm/snk-actions-button_8.entry.js.gz +0 -0
- package/dist/esm/snk-actions-form.entry.js.gz +0 -0
- package/dist/esm/snk-application.entry.js +232 -56
- package/dist/esm/snk-application.entry.js.gz +0 -0
- 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-configurator.entry.js.gz +0 -0
- 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.gz +0 -0
- package/dist/esm/snk-data-unit-330db397.js.gz +0 -0
- package/dist/esm/snk-data-unit.entry.js.gz +0 -0
- package/dist/esm/snk-default-filter.entry.js.gz +0 -0
- 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-filter-advanced-mode_2.entry.js.gz +0 -0
- 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.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.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-form_2.entry.js.gz +0 -0
- package/dist/esm/snk-grid.entry.js +1 -0
- package/dist/esm/snk-grid.entry.js.gz +0 -0
- package/dist/esm/snk-guides-viewer-7135bd83.js.gz +0 -0
- package/dist/esm/snk-guides-viewer.entry.js.gz +0 -0
- package/dist/esm/snk-personalized-filter-editor.entry.js.gz +0 -0
- 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.gz +0 -0
- package/dist/esm/snk-taskbar.entry.js.gz +0 -0
- package/dist/esm/sortable.esm-842f85a3.js.gz +0 -0
- package/dist/esm/taskbar-elements-171476d4.js.gz +0 -0
- package/dist/esm/taskbar-processor-3436124c.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-0024d3fd.entry.js.gz +0 -0
- package/dist/sankhyablocks/p-0750661e.entry.js.gz +0 -0
- package/dist/sankhyablocks/p-0b2a63ee.entry.js.gz +0 -0
- package/dist/sankhyablocks/p-0f3698af.js.gz +0 -0
- package/dist/sankhyablocks/p-1079e61b.entry.js.gz +0 -0
- package/dist/sankhyablocks/p-162bddae.entry.js.gz +0 -0
- package/dist/sankhyablocks/p-180716b2.entry.js.gz +0 -0
- package/dist/sankhyablocks/p-1a0caadb.js.gz +0 -0
- package/dist/sankhyablocks/p-1a68fb59.js.gz +0 -0
- package/dist/sankhyablocks/p-1c69a957.entry.js.gz +0 -0
- package/dist/sankhyablocks/p-21107f0d.entry.js.gz +0 -0
- package/dist/sankhyablocks/p-22a8656b.entry.js.gz +0 -0
- package/dist/sankhyablocks/p-23b20add.entry.js.gz +0 -0
- package/dist/sankhyablocks/p-25209340.entry.js.gz +0 -0
- package/dist/sankhyablocks/p-25f0d417.entry.js.gz +0 -0
- package/dist/sankhyablocks/p-27482793.entry.js.gz +0 -0
- package/dist/sankhyablocks/p-295b83ae.entry.js.gz +0 -0
- package/dist/sankhyablocks/p-2d58f98e.entry.js.gz +0 -0
- package/dist/sankhyablocks/p-2ebd3bfd.entry.js.gz +0 -0
- package/dist/sankhyablocks/p-2fdac5e6.entry.js.gz +0 -0
- package/dist/sankhyablocks/p-35e73c5d.js.gz +0 -0
- package/dist/sankhyablocks/p-37b4f642.js.gz +0 -0
- package/dist/sankhyablocks/p-398cdd67.entry.js.gz +0 -0
- package/dist/sankhyablocks/p-3b1d73f9.js.gz +0 -0
- package/dist/sankhyablocks/p-3b272099.js.gz +0 -0
- package/dist/sankhyablocks/p-3d41f5a8.entry.js.gz +0 -0
- package/dist/sankhyablocks/p-4708c8f0.js.gz +0 -0
- package/dist/sankhyablocks/p-471b34f4.entry.js.gz +0 -0
- package/dist/sankhyablocks/p-49d968e2.entry.js.gz +0 -0
- package/dist/sankhyablocks/p-4d2ff2fb.entry.js.gz +0 -0
- package/dist/sankhyablocks/p-51833248.js.gz +0 -0
- package/dist/sankhyablocks/p-51c2b56d.entry.js +1 -0
- package/dist/sankhyablocks/p-51c2b56d.entry.js.gz +0 -0
- package/dist/sankhyablocks/p-5b31b239.entry.js.gz +0 -0
- package/dist/sankhyablocks/p-5ce01e07.entry.js.gz +0 -0
- package/dist/sankhyablocks/p-60dd1d27.entry.js.gz +0 -0
- package/dist/sankhyablocks/p-667cab42.entry.js.gz +0 -0
- package/dist/sankhyablocks/p-688dcb4c.js.gz +0 -0
- package/dist/sankhyablocks/p-6a4b21dd.js.gz +0 -0
- package/dist/sankhyablocks/p-6bec7de5.entry.js.gz +0 -0
- package/dist/sankhyablocks/p-71a05822.entry.js.gz +0 -0
- package/dist/sankhyablocks/p-72c8c847.entry.js.gz +0 -0
- package/dist/sankhyablocks/p-7345782c.entry.js.gz +0 -0
- package/dist/sankhyablocks/p-7ced2cf4.entry.js.gz +0 -0
- package/dist/sankhyablocks/p-7dd49d15.js.gz +0 -0
- package/dist/sankhyablocks/p-7de79adf.js.gz +0 -0
- package/dist/sankhyablocks/p-7e250432.entry.js.gz +0 -0
- package/dist/sankhyablocks/p-84345e7a.js.gz +0 -0
- package/dist/sankhyablocks/p-86bd4478.entry.js.gz +0 -0
- package/dist/sankhyablocks/p-8758404f.js.gz +0 -0
- package/dist/sankhyablocks/p-8d884fab.js.gz +0 -0
- package/dist/sankhyablocks/p-8f3f2306.js.gz +0 -0
- package/dist/sankhyablocks/p-9019a32f.js.gz +0 -0
- package/dist/sankhyablocks/p-91a9abb6.entry.js.gz +0 -0
- package/dist/sankhyablocks/p-988afe78.js.gz +0 -0
- package/dist/sankhyablocks/p-9a63f3f7.entry.js.gz +0 -0
- package/dist/sankhyablocks/p-9a6fbf3d.entry.js.gz +0 -0
- package/dist/sankhyablocks/p-9fd87bfd.entry.js.gz +0 -0
- package/dist/sankhyablocks/p-a2c6944d.entry.js.gz +0 -0
- package/dist/sankhyablocks/p-a349689a.js.gz +0 -0
- package/dist/sankhyablocks/p-a76e6d51.entry.js.gz +0 -0
- package/dist/sankhyablocks/p-b21d32f6.js.gz +0 -0
- package/dist/sankhyablocks/p-b2946adb.entry.js.gz +0 -0
- package/dist/sankhyablocks/p-b568c1d4.js.gz +0 -0
- package/dist/sankhyablocks/p-c6a8a8bc.entry.js.gz +0 -0
- package/dist/sankhyablocks/p-c9657baa.js.gz +0 -0
- package/dist/sankhyablocks/p-cb2a4613.entry.js.gz +0 -0
- package/dist/sankhyablocks/p-cd1a5b6a.js.gz +0 -0
- package/dist/sankhyablocks/p-cfc219f6.entry.js.gz +0 -0
- package/dist/sankhyablocks/p-d67526b6.entry.js.gz +0 -0
- package/dist/sankhyablocks/p-d8d8169b.js.gz +0 -0
- package/dist/sankhyablocks/p-dc36cfbf.js.gz +0 -0
- package/dist/sankhyablocks/p-dff65083.entry.js.gz +0 -0
- package/dist/sankhyablocks/p-e25412da.js.gz +0 -0
- package/dist/sankhyablocks/p-eaad0aa8.js.gz +0 -0
- package/dist/sankhyablocks/p-f4184ce7.js.gz +0 -0
- package/dist/sankhyablocks/p-f442c8f6.entry.js.gz +0 -0
- package/dist/sankhyablocks/p-fa591f6f.js.gz +0 -0
- package/dist/sankhyablocks/p-fa80e546.js.gz +0 -0
- package/dist/sankhyablocks/p-fc4eac32.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-application/search-strategy/exec-prepared-search-plus.d.ts +2 -2
- package/dist/types/components/snk-application/snk-application.d.ts +259 -65
- package/dist/types/components/snk-grid/snk-grid.d.ts +4 -0
- package/dist/types/components.d.ts +242 -46
- package/package.json +1 -1
- package/dist/sankhyablocks/p-5126b34e.entry.js +0 -1
- package/dist/sankhyablocks/p-5126b34e.entry.js.gz +0 -0
@@ -22,6 +22,7 @@ import { IClientEventResponse } from "./lib/http/data-fetcher/interfaces/IClient
|
|
22
22
|
import { IDataFetcherRecaller } from "./lib/http/data-fetcher/recaller/IDataFetcherRecaller";
|
23
23
|
import { DialogType, FormLayout, MessageOptions } from "@sankhyalabs/ezui/dist/collection/utils";
|
24
24
|
import { IOption as IOption1, ISearchArgument } from "@sankhyalabs/ezui/dist/types/components/ez-search/ez-search";
|
25
|
+
import { IPreparedSearchOptions, ISearchCtxOptions } from "./components/snk-application/snk-application";
|
25
26
|
import { IRemoveSearchListener, ISearchListener, SearchCriteria } from "./lib/http/data-fetcher/fetchers/pesquisa-fetcher";
|
26
27
|
import { SIMPLE_CRUD_MODE, TEMPLATES_SKELETON, VIEW_MODE } from "./lib/utils/constants";
|
27
28
|
import { TFetcherType } from "./components/snk-attach/interfaces/TFetcherType";
|
@@ -176,180 +177,307 @@ export namespace Components {
|
|
176
177
|
* Registra um client event para o DataFetcher da aplicação.
|
177
178
|
* @param eventID - Nome do evento para a aplicação se registrar.
|
178
179
|
* @param handler - Função de callback que será chamada quando o client event ocorrer.
|
180
|
+
* @returns
|
181
|
+
* @async
|
179
182
|
*/
|
180
183
|
"addClientEvent": (eventID: String, handler: (clientEvent: IClientEventResponse, dataFetcherReacaller: IDataFetcherRecaller) => void) => Promise<void>;
|
184
|
+
/**
|
185
|
+
* Adiciona um bloqueio de carregamento à aplicação.
|
186
|
+
* @param forceReady - Se `true`, força a aplicação para o estado "não pronto" antes de adicionar o bloqueio.
|
187
|
+
* @param templateSkeletonType - O tipo de esqueleto de carregamento a ser exibido.
|
188
|
+
* @returns O ID do bloqueio adicionado.
|
189
|
+
* @async
|
190
|
+
*/
|
181
191
|
"addLoadingLock": (forceReady?: boolean, templateSkeletonType?: TEMPLATES_SKELETON) => Promise<() => void>;
|
182
192
|
/**
|
183
193
|
* Adiciona uma ação pendente que deve ser executada por um determinado locker.
|
184
|
-
* @param actionsLocker
|
185
|
-
* @param action
|
194
|
+
* @param actionsLocker - Nome do locker da ação que será adicionada.
|
195
|
+
* @param action - Ação que será executada.
|
196
|
+
* @returns
|
197
|
+
* @async
|
186
198
|
*/
|
187
199
|
"addPendingAction": (actionsLocker: string, action: Function) => Promise<void>;
|
188
200
|
/**
|
189
|
-
* Adiciona um listener no fetcher de Pesquisa
|
201
|
+
* Adiciona um listener no fetcher de Pesquisa.
|
202
|
+
* @param entityName - O nome da entidade.
|
203
|
+
* @param dataUnit - A instância do DataUnit.
|
204
|
+
* @param listener - O listener a ser adicionado.
|
205
|
+
* @returns Uma função para remover o listener.
|
206
|
+
* @async
|
190
207
|
*/
|
191
208
|
"addSearchListener": (entityName: string, dataUnit: DataUnit, listener: ISearchListener) => Promise<IRemoveSearchListener>;
|
192
209
|
/**
|
193
210
|
* Exibe o diálogo de alerta de acordo com os parâmetros passados.
|
211
|
+
* @param title - O título do alerta.
|
212
|
+
* @param message - A mensagem do alerta.
|
213
|
+
* @param icon - O nome do ícone a ser exibido.
|
214
|
+
* @param options - Opções adicionais para a mensagem.
|
215
|
+
* @returns
|
216
|
+
* @async
|
194
217
|
*/
|
195
218
|
"alert": (title: string, message: string, icon?: string, options?: MessageOptions) => Promise<boolean>;
|
196
219
|
/**
|
197
220
|
* Realiza a chamada ao Service Broker conforme o nome do serviço.
|
198
|
-
* @param serviceName - Nome do serviço
|
199
|
-
* @param payload - Dados que serão processados na ação
|
200
|
-
* @param options - Parâmetros de URL
|
221
|
+
* @param serviceName - Nome do serviço.
|
222
|
+
* @param payload - Dados que serão processados na ação.
|
223
|
+
* @param options - Parâmetros de URL.
|
224
|
+
* @returns A resposta do Service Broker.
|
225
|
+
* @async
|
201
226
|
*/
|
202
227
|
"callServiceBroker": (serviceName: string, payload: string | Object, options?: Options) => Promise<any>;
|
203
228
|
"clearPopUpTitle": () => Promise<void>;
|
204
229
|
/**
|
205
230
|
* Fecha o Modal e limpa o conteúdo.
|
231
|
+
* @returns
|
232
|
+
* @async
|
206
233
|
*/
|
207
234
|
"closeModal": () => Promise<void>;
|
208
235
|
/**
|
209
236
|
* Fecha o Popup e limpa o conteúdo.
|
237
|
+
* @returns
|
238
|
+
* @async
|
210
239
|
*/
|
211
240
|
"closePopUp": () => Promise<void>;
|
212
241
|
/**
|
213
|
-
*
|
242
|
+
* Nome da configuração utilizada para salvar as preferências dos blocos de construção.
|
214
243
|
*/
|
215
244
|
"configName": string;
|
216
245
|
/**
|
217
|
-
* Exibe um diálogo de confirmação
|
246
|
+
* Exibe um diálogo de confirmação.
|
247
|
+
* @param title - O título da confirmação.
|
248
|
+
* @param message - A mensagem da confirmação.
|
249
|
+
* @param icon - O nome do ícone a ser exibido.
|
250
|
+
* @param dialogType - O tipo de diálogo.
|
251
|
+
* @param options - Opções adicionais para a mensagem.
|
252
|
+
* @returns `true` se confirmado, `false` caso contrário.
|
253
|
+
* @async
|
218
254
|
*/
|
219
255
|
"confirm": (title: string, message: string, icon?: string, dialogType?: DialogType, options?: MessageOptions) => Promise<boolean>;
|
220
256
|
/**
|
221
257
|
* Cria o DataUnit a partir do nome da entidade. É possível armazená-lo no cache passando o dataUnitName, assim, se mais de uma chamada for feita, o mesmo DataUnit será usado.
|
258
|
+
* @param entityName - O nome da entidade.
|
259
|
+
* @param dataUnitName - O nome para identificar o DataUnit no cache.
|
260
|
+
* @param parentDataUnit - O DataUnit pai, se houver.
|
261
|
+
* @param configName - O nome da configuração a ser usada.
|
262
|
+
* @param resourceID - O ID do recurso. Se não fornecido, usa o da aplicação.
|
263
|
+
* @returns O DataUnit criado ou obtido do cache.
|
264
|
+
* @async
|
222
265
|
*/
|
223
266
|
"createDataunit": (entityName: string, dataUnitName?: string, parentDataUnit?: DataUnit, configName?: string, resourceID?: string) => Promise<DataUnit>;
|
224
267
|
/**
|
225
|
-
* Define se o componente deve usar o LockManager para controle de carregamento da aplicação
|
268
|
+
* Define se o componente deve usar o LockManager para controle de carregamento da aplicação.
|
226
269
|
*/
|
227
270
|
"enableLockManagerLoadingApp": boolean;
|
228
271
|
/**
|
229
272
|
* Exibe o diálogo de erro de acordo com os parâmetros passados.
|
273
|
+
* @param title - O título do erro.
|
274
|
+
* @param message - A mensagem do erro.
|
275
|
+
* @param icon - O nome do ícone a ser exibido.
|
276
|
+
* @param options - Opções adicionais para a mensagem.
|
277
|
+
* @returns
|
278
|
+
* @async
|
230
279
|
*/
|
231
280
|
"error": (title: string, message: string, icon?: string, options?: MessageOptions) => Promise<boolean>;
|
232
281
|
/**
|
233
|
-
* Obtém as opções em componentes de pesquisa Ex.: snk-config-options
|
282
|
+
* Obtém as opções em componentes de pesquisa com base em opções preparadas. Ex.: snk-config-options
|
283
|
+
* @param mode - O modo da pesquisa ("ADVANCED" ou outro).
|
284
|
+
* @param argument - O argumento da pesquisa.
|
285
|
+
* @param options - Opções preparadas para a pesquisa.
|
286
|
+
* @returns Uma lista de opções ou uma única opção.
|
287
|
+
* @async
|
234
288
|
*/
|
235
|
-
"executePreparedSearch": (mode: string, argument: string, options:
|
289
|
+
"executePreparedSearch": (mode: string, argument: string, options: IPreparedSearchOptions) => Promise<Array<IOption1> | IOption1>;
|
236
290
|
/**
|
237
291
|
* Realiza a pesquisa de registros Ex.: snk-config-options
|
238
292
|
*/
|
239
|
-
"executePreparedSearchPlus": (mode: string, argument: string, options:
|
293
|
+
"executePreparedSearchPlus": (mode: string, argument: string, options: IPreparedSearchOptions) => Promise<Array<IOption1> | IOption1>;
|
240
294
|
/**
|
241
|
-
* Obtém as opções em componentes de pesquisa Ex.: snk-config-options
|
295
|
+
* Obtém as opções em componentes de pesquisa. Ex.: snk-config-options
|
296
|
+
* @param searchArgument - Argumentos da pesquisa.
|
297
|
+
* @param fieldName - Nome do campo no DataUnit.
|
298
|
+
* @param dataUnit - Instância do DataUnit.
|
299
|
+
* @param ctxOptions - Opções de contexto adicionais.
|
300
|
+
* @returns Uma lista de opções ou uma única opção.
|
301
|
+
* @async
|
242
302
|
*/
|
243
|
-
"executeSearch": (searchArgument: ISearchArgument, fieldName: string, dataUnit: DataUnit, ctxOptions?:
|
303
|
+
"executeSearch": (searchArgument: ISearchArgument, fieldName: string, dataUnit: DataUnit, ctxOptions?: ISearchCtxOptions) => Promise<Array<IOption1> | IOption1>;
|
244
304
|
/**
|
245
305
|
* Com base em um campo realiza um "select distinct" respeitando os filtros atuais do dataUnit e um critério de filtro para a própria coluna.
|
306
|
+
* @param dataUnit - A instância do DataUnit.
|
307
|
+
* @param fieldName - O nome do campo para o select distinct.
|
308
|
+
* @param argument - O argumento de filtro para a coluna.
|
309
|
+
* @returns Uma lista de valores distintos.
|
310
|
+
* @async
|
246
311
|
*/
|
247
312
|
"executeSelectDistinct": (dataUnit: DataUnit, fieldName: string, argument: string) => Promise<Array<any>>;
|
248
313
|
/**
|
249
|
-
* Chave da configuração
|
314
|
+
* Chave da configuração legada do formulário, utilizada para migração de configurações antigas.
|
250
315
|
*/
|
251
316
|
"formLegacyConfigName": string;
|
252
317
|
/**
|
253
|
-
* Obtém todos os acessos do usuário logado.
|
318
|
+
* Obtém todos os acessos do usuário logado para um recurso específico ou para a aplicação.
|
319
|
+
* @param resourceID - O ID do recurso. Se não fornecido, obtém os acessos da aplicação.
|
320
|
+
* @returns Um objeto contendo todos os tipos de acesso e se o usuário os possui.
|
321
|
+
* @async
|
254
322
|
*/
|
255
323
|
"getAllAccess": (resourceID?: string) => Promise<any>;
|
256
324
|
/**
|
257
|
-
* Obtém o nome
|
325
|
+
* Obtém o nome (label) da aplicação.
|
326
|
+
* @returns O nome da aplicação.
|
327
|
+
* @async
|
258
328
|
*/
|
259
329
|
"getAppLabel": () => Promise<string>;
|
260
330
|
/**
|
261
331
|
* Retorna o path relativo da aplicação.
|
332
|
+
* @returns O caminho relativo da aplicação.
|
333
|
+
* @async
|
262
334
|
*/
|
263
335
|
"getApplicationPath": () => Promise<string>;
|
264
336
|
/**
|
265
337
|
* Acessa informações de contexto "empurrados" na abertura da tela.
|
338
|
+
* @param attribName - O nome do atributo.
|
339
|
+
* @returns O valor do atributo.
|
340
|
+
* @async
|
266
341
|
*/
|
267
342
|
"getAttributeFromHTMLWrapper": (attribName: string) => Promise<string>;
|
268
343
|
/**
|
269
344
|
* Obtém o valor de um parâmetro do tipo booleano.
|
345
|
+
* @param name - O nome do parâmetro.
|
346
|
+
* @returns O valor do parâmetro como booleano.
|
347
|
+
* @async
|
270
348
|
*/
|
271
349
|
"getBooleanParam": (name: string) => Promise<boolean>;
|
272
350
|
/**
|
273
|
-
* Obtém a configuração de um recurso por service broker
|
351
|
+
* Obtém a configuração de um recurso por service broker.
|
352
|
+
* @param key - A chave da configuração.
|
353
|
+
* @returns Os dados da configuração.
|
354
|
+
* @async
|
274
355
|
*/
|
275
356
|
"getConfig": (key: string) => Promise<any>;
|
276
357
|
/**
|
277
|
-
* Retorna a
|
278
|
-
* @returns DataFetcher
|
358
|
+
* Retorna a instância do DataFetcher utilizado pelo application.
|
359
|
+
* @returns O DataFetcher da aplicação.
|
360
|
+
* @async
|
279
361
|
*/
|
280
362
|
"getDataFetcher": () => Promise<DataFetcher>;
|
281
363
|
/**
|
282
|
-
*
|
364
|
+
* Obtém um DataUnit do cache ou cria um caso ainda não tenha sido criado.
|
365
|
+
* @param entityName - O nome da entidade.
|
366
|
+
* @param dataUnitName - O nome para identificar o DataUnit no cache.
|
367
|
+
* @param parentDataUnit - O DataUnit pai, se houver.
|
368
|
+
* @param configName - O nome da configuração a ser usada.
|
369
|
+
* @param resourceID - O ID do recurso. Se não fornecido, usa o da aplicação.
|
370
|
+
* @returns O DataUnit obtido do cache ou recém-criado.
|
371
|
+
* @async
|
283
372
|
*/
|
284
373
|
"getDataUnit": (entityName: string, dataUnitName: string, parentDataUnit?: DataUnit, configName?: string, resourceID?: string) => Promise<DataUnit>;
|
285
374
|
/**
|
286
375
|
* Obtém o valor de um parâmetro do tipo data.
|
376
|
+
* @param name - O nome do parâmetro.
|
377
|
+
* @returns O valor do parâmetro como objeto Date.
|
378
|
+
* @async
|
287
379
|
*/
|
288
380
|
"getDateParam": (name: string) => Promise<Date>;
|
289
381
|
/**
|
290
382
|
* Obtém o valor de um parâmetro do tipo Decimal.
|
383
|
+
* @param name - O nome do parâmetro.
|
384
|
+
* @returns O valor do parâmetro como número decimal.
|
385
|
+
* @async
|
291
386
|
*/
|
292
387
|
"getFloatParam": (name: string) => Promise<number>;
|
293
388
|
/**
|
294
389
|
* Obtém o valor de um parâmetro do tipo Inteiro.
|
390
|
+
* @param name - O nome do parâmetro.
|
391
|
+
* @returns O valor do parâmetro como número inteiro.
|
392
|
+
* @async
|
295
393
|
*/
|
296
394
|
"getIntParam": (name: string) => Promise<number>;
|
297
395
|
/**
|
298
396
|
* Obtém o controlador de teclado.
|
299
|
-
* @
|
397
|
+
* @returns O gerenciador de teclado.
|
398
|
+
* @async
|
300
399
|
*/
|
301
400
|
"getKeyboardManager": () => Promise<KeyboardManager>;
|
302
401
|
/**
|
303
|
-
* Obtém o notificador de Layout de
|
304
|
-
* @
|
402
|
+
* Obtém o notificador de Layout de formulário.
|
403
|
+
* @returns O configurador de Layout do Formulário.
|
404
|
+
* @async
|
305
405
|
*/
|
306
406
|
"getLayoutFormConfig": () => Promise<LayoutFormConfig>;
|
307
407
|
/**
|
308
408
|
* Obtém o resourceID da tela em questão.
|
409
|
+
* @returns O ID do recurso da aplicação.
|
410
|
+
* @async
|
309
411
|
*/
|
310
412
|
"getResourceID": () => Promise<string>;
|
311
413
|
/**
|
312
414
|
* Obtém o valor de um parâmetro do tipo string.
|
415
|
+
* @param name - O nome do parâmetro.
|
416
|
+
* @returns O valor do parâmetro como string.
|
417
|
+
* @async
|
313
418
|
*/
|
314
419
|
"getStringParam": (name: string) => Promise<string>;
|
315
420
|
/**
|
316
|
-
* Obtém o UserId
|
421
|
+
* Obtém o UserId do usuário logado.
|
422
|
+
* @returns O ID do usuário.
|
423
|
+
* @async
|
317
424
|
*/
|
318
425
|
"getUserID": () => Promise<string>;
|
319
426
|
/**
|
320
|
-
* Chave da configuração
|
427
|
+
* Chave da configuração legada da grade, utilizada para migração de configurações antigas.
|
321
428
|
*/
|
322
429
|
"gridLegacyConfigName": string;
|
323
430
|
/**
|
324
|
-
* Obtém `true` caso o usuário logado
|
431
|
+
* Obtém `true` caso o usuário logado tenha permissão para determinada ação.
|
432
|
+
* @param access - O tipo de acesso a ser verificado.
|
433
|
+
* @param resourceID - O ID do recurso para verificar a permissão. Se não fornecido, verifica a permissão da aplicação.
|
434
|
+
* @returns `true` se o usuário tiver acesso, `false` caso contrário.
|
435
|
+
* @async
|
325
436
|
*/
|
326
437
|
"hasAccess": (access: AutorizationType, resourceID?: string) => Promise<boolean>;
|
327
438
|
/**
|
328
|
-
*
|
439
|
+
* Verifica se um client event está registrado no DataFetcher da aplicação.
|
329
440
|
* @param eventID - Nome do evento a ser verificado.
|
441
|
+
* @returns `true` se o evento estiver registrado, `false` caso contrário.
|
442
|
+
* @async
|
330
443
|
*/
|
331
444
|
"hasClientEvent": (eventID: String) => Promise<boolean>;
|
332
445
|
/**
|
333
|
-
* Realiza o import de um JavaScript que está
|
334
|
-
* @param relativePath
|
446
|
+
* Realiza o import de um JavaScript que está disponível dentro da pasta /public da aplicação.
|
447
|
+
* @param relativePath - Define o caminho relativo para o arquivo JavaScript a ser importado, ou uma lista de caminhos.
|
448
|
+
* @returns
|
449
|
+
* @async
|
335
450
|
*/
|
336
451
|
"importScript": (relativePath: string | Array<string>) => Promise<void>;
|
337
452
|
/**
|
338
453
|
* Exibe uma informação efêmera (de segundo plano).
|
454
|
+
* @param message - A mensagem a ser exibida.
|
455
|
+
* @param options - Opções adicionais para a mensagem.
|
456
|
+
* @returns
|
457
|
+
* @async
|
339
458
|
*/
|
340
459
|
"info": (message: string, options?: MessageOptions) => Promise<void>;
|
460
|
+
/**
|
461
|
+
* Inicializa o onboarding para uma chave específica.
|
462
|
+
* @param onboardingKey - A chave do onboarding a ser iniciado.
|
463
|
+
* @returns
|
464
|
+
* @async
|
465
|
+
*/
|
341
466
|
"initOnboarding": (onboardingKey: string) => Promise<void>;
|
342
467
|
/**
|
343
468
|
* Obtém `true` caso a tela esteja em modo de debug.
|
344
469
|
*/
|
345
470
|
"isDebugMode": () => Promise<boolean>;
|
346
471
|
/**
|
347
|
-
* Obtém a informação se o último carregamento do dataunit foi feito através de um loadByPk
|
348
|
-
* @returns
|
472
|
+
* Obtém a informação se o último carregamento do dataunit foi feito através de um loadByPk.
|
473
|
+
* @returns `true` se foi carregado por PK, `false` caso contrário.
|
474
|
+
* @async
|
349
475
|
*/
|
350
476
|
"isLoadedByPk": () => Promise<boolean>;
|
351
477
|
/**
|
352
478
|
* Obtém `true` caso o usuário logado seja o SUP.
|
479
|
+
* @returns `true` se o usuário for SUP, `false` caso contrário.
|
480
|
+
* @async
|
353
481
|
*/
|
354
482
|
"isUserSup": () => Promise<boolean>;
|
355
483
|
/**
|
@@ -358,64 +486,122 @@ export namespace Components {
|
|
358
486
|
"loadByPK": LoadByPkHandler;
|
359
487
|
/**
|
360
488
|
* Obtém os totalizadores da grade.
|
489
|
+
* @param name - O nome da configuração de totalizadores.
|
490
|
+
* @param resourceID - O ID do recurso.
|
491
|
+
* @param filters - A lista de filtros a serem aplicados.
|
492
|
+
* @returns Um mapa com os nomes dos totalizadores e seus valores.
|
493
|
+
* @async
|
361
494
|
*/
|
362
495
|
"loadTotals": (name: string, resourceID: string, filters: Array<Filter>) => Promise<Map<string, number>>;
|
496
|
+
/**
|
497
|
+
* Marca a aplicação para recarregar, opcionalmente especificando um tipo de esqueleto de carregamento.
|
498
|
+
* @param templateSkeletonType - O tipo de esqueleto de carregamento a ser exibido.
|
499
|
+
* @returns
|
500
|
+
* @async
|
501
|
+
*/
|
363
502
|
"markToReload": (templateSkeletonType?: TEMPLATES_SKELETON) => Promise<void>;
|
364
503
|
/**
|
365
|
-
* Exibe um diálogo de mensagem comum
|
504
|
+
* Exibe um diálogo de mensagem comum.
|
505
|
+
* @param title - O título da mensagem.
|
506
|
+
* @param message - A mensagem.
|
507
|
+
* @param icon - O nome do ícone a ser exibido.
|
508
|
+
* @param options - Opções adicionais para a mensagem.
|
509
|
+
* @returns
|
510
|
+
* @async
|
366
511
|
*/
|
367
512
|
"message": (title: string, message: string, icon?: string, options?: MessageOptions) => Promise<boolean>;
|
513
|
+
/**
|
514
|
+
* Responsável por flexibilizar e padronizar o uso de mensagens nos blocos de construção.
|
515
|
+
*/
|
368
516
|
"messagesBuilder": SnkMessageBuilder;
|
369
517
|
/**
|
370
518
|
* Abre determinada tela, repassando pkObject.
|
519
|
+
* @param resourceId - O ID do recurso da tela a ser aberta.
|
520
|
+
* @param pkObject - O objeto de chave primária a ser passado para a tela.
|
521
|
+
* @returns
|
522
|
+
* @async
|
371
523
|
*/
|
372
524
|
"openApp": (resourceId: string, pkObject: Object) => Promise<void>;
|
373
525
|
/**
|
374
526
|
* Remove registro do cache do PreLoader do dataunit. Deve ser usado quando existe um dataunit usando loader do application, mas o removeLoader está sendo sobrescrito.
|
527
|
+
* @param dataUnit - O DataUnit do qual o registro será removido.
|
528
|
+
* @param recordsIDs - Os IDs dos registros a serem removidos.
|
529
|
+
* @returns
|
530
|
+
* @async
|
375
531
|
*/
|
376
532
|
"preloadMangerRemoveRecord": (dataUnit: DataUnit, recordsIDs: Array<string>) => Promise<void>;
|
377
533
|
/**
|
378
|
-
* Remove um client event
|
534
|
+
* Remove um client event do DataFetcher da aplicação.
|
379
535
|
* @param eventID - Nome do evento a ser removido.
|
536
|
+
* @returns
|
537
|
+
* @async
|
380
538
|
*/
|
381
539
|
"removeClientEvent": (eventID: String) => Promise<void>;
|
382
540
|
/**
|
383
541
|
* Salva a configuração de determinado recurso.
|
542
|
+
* @param key - A chave da configuração.
|
543
|
+
* @param data - Os dados da configuração a serem salvos.
|
544
|
+
* @returns O resultado da operação de salvamento.
|
545
|
+
* @async
|
384
546
|
*/
|
385
547
|
"saveConfig": (key: string, data: Object) => Promise<any>;
|
386
548
|
"setPopUpTitle": (title: string) => Promise<void>;
|
387
549
|
/**
|
388
550
|
* Atribui valor para parâmetros de contexto no componente de pesquisa.
|
389
|
-
* @param name - Nome do parâmetro
|
390
|
-
* @param value - String conversível de acordo com o tipo do parâmetro
|
551
|
+
* @param name - Nome do parâmetro.
|
552
|
+
* @param value - String conversível de acordo com o tipo do parâmetro.
|
553
|
+
* @returns
|
554
|
+
* @async
|
391
555
|
*/
|
392
556
|
"setSearchFilterContext": (name: string, value: string) => Promise<void>;
|
393
557
|
/**
|
394
|
-
* Apresenta uma lista de alertas
|
558
|
+
* Apresenta uma lista de alertas. Geralmente é utilizado para apresentar resultados de processamentos em lote.
|
559
|
+
* @param alerts - A lista de alertas a serem exibidos.
|
560
|
+
* @returns
|
395
561
|
*/
|
396
562
|
"showAlerts": (alerts: Array<AlertItem>) => Promise<void>;
|
397
563
|
/**
|
398
564
|
* Exibe o conteúdo passado em um Modal.
|
565
|
+
* @param content - O elemento HTML a ser exibido no modal.
|
566
|
+
* @returns
|
567
|
+
* @async
|
399
568
|
*/
|
400
569
|
"showModal": (content: HTMLElement) => Promise<void>;
|
401
570
|
/**
|
402
571
|
* Exibe o conteúdo passado em um Popup.
|
572
|
+
* @param content - O elemento HTML a ser exibido no popup.
|
573
|
+
* @param size - O tamanho do popup.
|
574
|
+
* @param useHeader - Define se o cabeçalho do popup deve ser usado.
|
575
|
+
* @param onCloseCallback - Função a ser chamada quando o popup for fechado.
|
576
|
+
* @returns
|
577
|
+
* @async
|
403
578
|
*/
|
404
579
|
"showPopUp": (content: HTMLElement, size?: "auto" | "full", useHeader?: boolean, onCloseCallback?: Function) => Promise<void>;
|
405
580
|
"showScrimApp": (active: boolean) => Promise<void>;
|
406
581
|
/**
|
407
582
|
* Exibe o diálogo de sucesso de acordo com os parâmetros passados.
|
583
|
+
* @param title - O título da mensagem de sucesso.
|
584
|
+
* @param message - A mensagem de sucesso.
|
585
|
+
* @param icon - O nome do ícone a ser exibido.
|
586
|
+
* @param options - Opções adicionais para a mensagem.
|
587
|
+
* @returns
|
588
|
+
* @async
|
408
589
|
*/
|
409
590
|
"success": (title: string, message: string, icon?: string, options?: MessageOptions) => Promise<boolean>;
|
410
591
|
/**
|
411
|
-
* Verifica se a licença do cliente tem determinado opcional (produto)
|
592
|
+
* Verifica se a licença do cliente tem determinado opcional (produto).
|
593
|
+
* @param opcional - O nome do opcional ou uma string de opcionais separados por vírgula.
|
594
|
+
* @returns `true` se o cliente tiver o opcional, `false` caso contrário.
|
595
|
+
* @async
|
412
596
|
*/
|
413
597
|
"temOpcional": (opcional: string) => Promise<boolean>;
|
414
598
|
/**
|
415
599
|
* Atualiza o cache de dataunits da aplicação.
|
416
|
-
* @param oldName - Nome do dataunit que está em cache.
|
600
|
+
* @param oldName - Nome do dataunit que está em cache (será removido).
|
417
601
|
* @param dataUnitName - Nome do dataunit que será armazenado em cache.
|
418
|
-
* @param dataUnit -
|
602
|
+
* @param dataUnit - Instância do Dataunit para ser armazenado em cache.
|
603
|
+
* @returns
|
604
|
+
* @async
|
419
605
|
*/
|
420
606
|
"updateDataunitCache": (oldName: string, dataUnitName: string, dataUnit: DataUnit) => Promise<void>;
|
421
607
|
/**
|
@@ -423,11 +609,14 @@ export namespace Components {
|
|
423
609
|
* @param keyPort - Chave da porta que será requisitada.
|
424
610
|
* @param methodName - Nome do tipo de exportação de arquivo que será realizado.
|
425
611
|
* @param params - Parâmetros necessários para realizar a exportação do arquivo.
|
612
|
+
* @returns
|
613
|
+
* @async
|
426
614
|
*/
|
427
615
|
"webConnection": (keyPort: string, methodName: string, params: IAppletCallerParams) => Promise<void>;
|
428
616
|
/**
|
429
|
-
* Retorna uma promise que
|
430
|
-
* @returns SnkApplication carregado.
|
617
|
+
* Retorna uma promise que será resolvida quando o snk-application estiver carregado e registrado no ApplicationContext.
|
618
|
+
* @returns O componente SnkApplication carregado.
|
619
|
+
* @async
|
431
620
|
*/
|
432
621
|
"whenApplicationReady": () => Promise<SnkApplication>;
|
433
622
|
}
|
@@ -2907,25 +3096,28 @@ declare namespace LocalJSX {
|
|
2907
3096
|
}
|
2908
3097
|
interface SnkApplication {
|
2909
3098
|
/**
|
2910
|
-
*
|
3099
|
+
* Nome da configuração utilizada para salvar as preferências dos blocos de construção.
|
2911
3100
|
*/
|
2912
3101
|
"configName"?: string;
|
2913
3102
|
/**
|
2914
|
-
* Define se o componente deve usar o LockManager para controle de carregamento da aplicação
|
3103
|
+
* Define se o componente deve usar o LockManager para controle de carregamento da aplicação.
|
2915
3104
|
*/
|
2916
3105
|
"enableLockManagerLoadingApp"?: boolean;
|
2917
3106
|
/**
|
2918
|
-
* Chave da configuração
|
3107
|
+
* Chave da configuração legada do formulário, utilizada para migração de configurações antigas.
|
2919
3108
|
*/
|
2920
3109
|
"formLegacyConfigName"?: string;
|
2921
3110
|
/**
|
2922
|
-
* Chave da configuração
|
3111
|
+
* Chave da configuração legada da grade, utilizada para migração de configurações antigas.
|
2923
3112
|
*/
|
2924
3113
|
"gridLegacyConfigName"?: string;
|
2925
3114
|
/**
|
2926
3115
|
* Usado para receber um parâmetro na inicialização da tela, e utilizá-lo conforme necessário caso a tela receba um parâmetro, e, esta propriedade não seja informada é criado um filtro de forma automática através do método defaultLoadByPk
|
2927
3116
|
*/
|
2928
3117
|
"loadByPK"?: LoadByPkHandler;
|
3118
|
+
/**
|
3119
|
+
* Responsável por flexibilizar e padronizar o uso de mensagens nos blocos de construção.
|
3120
|
+
*/
|
2929
3121
|
"messagesBuilder"?: SnkMessageBuilder;
|
2930
3122
|
/**
|
2931
3123
|
* Emitido quando a aplicação for carregada.
|
@@ -4031,6 +4223,10 @@ declare namespace LocalJSX {
|
|
4031
4223
|
* Emitido sempre que houver click de botão ou ação.
|
4032
4224
|
*/
|
4033
4225
|
"onActionClick"?: (event: SnkGridCustomEvent<string>) => void;
|
4226
|
+
/**
|
4227
|
+
* Emitido quando o componente estiver completamente carregado.
|
4228
|
+
*/
|
4229
|
+
"onComponentReady"?: (event: SnkGridCustomEvent<void>) => void;
|
4034
4230
|
/**
|
4035
4231
|
* Emitido sempre que houver duplo click na grade.
|
4036
4232
|
*/
|
package/package.json
CHANGED
@@ -1 +0,0 @@
|
|
1
|
-
import{r as i,c as t,h as s,F as e,g as a}from"./p-d8d8169b.js";import{KeyboardManager as r,Action as n,ElementIDUtils as o,ApplicationContext as d,StringUtils as h}from"@sankhyalabs/core";import{T as l}from"./p-7de79adf.js";import{C as c}from"./p-8758404f.js";import{P as u,E as g}from"./p-0f3698af.js";import{T as m}from"./p-1a0caadb.js";import{s as k}from"./p-a349689a.js";import{C as v,S as p,a as f,R as T,b,c as C}from"./p-fa591f6f.js";import{SelectionMode as E}from"@sankhyalabs/core/dist/dataunit/DataUnit";import"./p-cd1a5b6a.js";import"./p-c9657baa.js";import"@sankhyalabs/ezui/dist/collection/utils/constants";import"@sankhyalabs/core/dist/dataunit/metadata/UnitMetadata";import"./p-37b4f642.js";import"./p-ff1990ad.js";import"./p-b21d32f6.js";import"./p-9019a32f.js";import{g as R}from"./p-7dd49d15.js";import{buildFieldSearch as O}from"@sankhyalabs/ezui/dist/collection/utils";import"@sankhyalabs/ezui/dist/collection/components/ez-grid/utils/InMemoryFilterColumnDataSource";import"./p-8f3f2306.js";import"./p-8d884fab.js";import"@sankhyalabs/ezui/dist/collection/components/ez-grid/utils";import"@sankhyalabs/core/dist/utils/SortingUtils";import"./p-688dcb4c.js";class _ extends v{getFilters(){var i;return null===(i=this.dataUnit)||void 0===i?void 0:i.getAppliedFilters()}getOrders(){var i;return null===(i=this.dataUnit)||void 0===i?void 0:i.getSort()}getResourceURI(){var i;return null===(i=this.dataUnit)||void 0===i?void 0:i.name}getSelectedNumber(){return this.dataUnit.getSelectionInfo().length}getTotalRecords(){var i,t,s;const{total:e}=(null===(i=this.dataUnit)||void 0===i?void 0:i.getPaginationInfo())||{};return null!=e?e:null===(s=null===(t=this.dataUnit)||void 0===t?void 0:t.records)||void 0===s?void 0:s.length}getSelectedIDs(){return R(this.dataUnit)}getOffset(){return this.getExporterOffset(this.getPaginationInfo())}getPageSize(){var i;return null===(i=this.dataUnit)||void 0===i?void 0:i.pageSize}getExportLimit(){return 5e3}getRecordID(){var i,t,s;return null===(s=null===(t=null===(i=this.dataUnit)||void 0===i?void 0:i.records)||void 0===t?void 0:t[0])||void 0===s?void 0:s.__record__id__}getPaginationInfo(){var i;return null===(i=this.dataUnit)||void 0===i?void 0:i.getPaginationInfo()}getExporterOffset(i){if(null==i)return;const t=i.firstRecord;return t>0?t-1:t}}const I=class{constructor(s){i(this,s),this.actionClick=t(this,"actionClick",7),this.gridDoubleClick=t(this,"gridDoubleClick",7),this._customEditors=new Map,this._customRenders=new Map,this._keyboardManager=new r,this._topTaskbarProcessor=new m({"snkGridTopTaskbar.regular":["FORM_MODE","CONFIGURATOR","INSERT"],"snkGridTopTaskbar.regular.secondary":["FORM_MODE","CONFIGURATOR","INSERT"],"snkGridTopTaskbar.regular.singleTaskbar":[],"snkGridTopTaskbar.finish_edition":["CANCEL","SAVE",this.handleAddFormMode()],"snkGridTopTaskbar.finish_edition.secondary":[],"snkGridTopTaskbar.finish_edition.singleTaskbar":[]}),this._headerTaskbarProcessor=new m({"snkGridHeaderTaskbar.unselected":["REFRESH","DATA_EXPORTER","ACTIONS_BUTTON","MORE_OPTIONS"],"snkGridHeaderTaskbar.selected":this.getGridHeaderSelectedBtns(),"snkGridHeaderTaskbar.detail.unselected":["REFRESH","MORE_OPTIONS"],"snkGridHeaderTaskbar.detail.selected":["UPDATE","ATTACH","CLONE","REMOVE","MORE_OPTIONS","DIVIDER","REFRESH"],"snkGridHeaderTaskbar.singleTaskbar.unselected":["INSERT","FORM_MODE","CONFIGURATOR","REFRESH","DATA_EXPORTER","ACTIONS_BUTTON","MORE_OPTIONS"],"snkGridHeaderTaskbar.singleTaskbar.selected":["UPDATE","CLONE","REMOVE","MORE_OPTIONS","DIVIDER","ATTACH","FORM_MODE","CONFIGURATOR","REFRESH","DATA_EXPORTER","ACTIONS_BUTTON"],"snkGridHeaderTaskbar.singleTaskbar.detail.unselected":["INSERT","FORM_MODE","CONFIGURATOR","REFRESH","MORE_OPTIONS"],"snkGridHeaderTaskbar.singleTaskbar.detail.selected":["UPDATE","ATTACH","CLONE","REMOVE","MORE_OPTIONS","DIVIDER","FORM_MODE","CONFIGURATOR","REFRESH"],"snkGridHeaderTaskbar.singleTaskbar.finish_edition":["CANCEL","SAVE",this.handleAddFormMode()]}),this.dataUnitInterceptor={interceptAction:async i=>i.type===n.METADATA_LOADED?await this.interceptMetadataLoaded(i):i},this._dataUnit=void 0,this._dataState=void 0,this._gridConfig=void 0,this._popUpGridConfig=!1,this._showSnkFilterBar=!0,this._enableContinuousInsert=!1,this.columnFilterDataSource=new p,this.enableLockManagerLoadingComp=!1,this.enableLockManagerTaskbarClick=!1,this.configName=void 0,this.filterBarTitle=void 0,this.resourceID=void 0,this.selectionToastConfig=void 0,this.actionsList=void 0,this.isDetail=void 0,this.taskbarManager=void 0,this.statusResolver=void 0,this.multipleSelection=void 0,this.presentationMode=u.PRIMARY,this.messagesBuilder=void 0,this.useEnterLikeTab=!1,this.recordsValidator=void 0,this.canEdit=!0,this.taskbarCustomContainerId=void 0,this.gridHeaderCustomSlotId="GRID_HEADER_CUSTOM_ELEMENTS",this.topTaskbarCustomSlotId="GRID_TASKBAR_CUSTOM_ELEMENTS",this.disablePersonalizedFilter=void 0,this.gridLegacyConfigName=void 0,this.filterBarLegacyConfigName=void 0,this.autoLoad=void 0,this.autoFocus=!0,this.enableGridInsert=!1,this.outlineMode=!1,this.suppressHorizontalScroll=!1,this.strategyExporter=g.SERVER_SIDE,this.useSearchColumn=!0,this.multipleEditionEnabled=!0,this.paginationCounterMode="auto",this.suppressCheckboxColumn=void 0,this.compact=void 0}getGridHeaderSelectedBtns(){const i=[l.UPDATE,l.CLONE,l.REMOVE,l.MORE_OPTIONS,l.DIVIDER,l.ATTACH,l.FORM_MODE,l.CONFIGURATOR,l.REFRESH,l.DATA_EXPORTER,l.ACTIONS_BUTTON];return this.multipleEditionEnabled&&i.unshift(l.UPDATE_MULTIPLE),i}reloadConfig(){this.loadConfig()}async showConfig(){null!=this._grid&&this.openGridConfig()}async hideConfig(){null!=this._grid&&this.closeGridConfig()}async setConfig(i){this.setGridConfig(i)}async reloadFilterBar(){var i;null===(i=this._snkFilterBar)||void 0===i||i.reload()}async getFilterBar(){return this._snkFilterBar}async addCustomEditor(i,t,s){if(this._grid)return void this._grid.addCustomEditor(i,t,s);const e=new Map(this._customEditors);e.set(i,{customEditor:t,detailContext:s}),this._customEditors=e}async addGridCustomRender(i,t,s){if(this._grid)return void this._grid.addGridCustomRender(i,t,s);const e=new Map(this._customRenders);e.set(i,{customRender:t,detailContext:s}),this._customRenders=e}async addCustomValueFormatter(i,t){this._grid.addCustomValueFormatter(i,t)}async removeCustomValueFormatter(i){this._grid.removeCustomValueFormatter(i)}async setFocus(){this._grid.setFocus()}async handleClick(i){var t;if(this.hasToBlockEvent(i)){if(i.preventDefault(),i.stopPropagation(),!await this._dataUnit.cancelEdition())return;const s=new i.constructor(i.type,i);null===(t=i.target)||void 0===t||t.dispatchEvent(s)}this._grid&&!this._grid.contains(i.target)&&this._grid.stopEdit()}hasToBlockEvent(i){var t;return(null===(t=this._snkFilterBar)||void 0===t?void 0:t.contains(i.target))&&this.enableGridInsert&&this._dataUnit.hasNewRecord()}async handleGridLegacyConfigName(i,t){i&&i!==t&&(this.addGridLegacyConfigName(),this.loadConfig())}handleAddFormMode(){return this.enableGridInsert?l.FORM_MODE:""}openGridConfig(){this._grid.getColumnsState().then((i=>{this._snkGridConfig.columns=i.filter((i=>i.name)),this._popUpGridConfig=!0}))}closeGridConfig(){this._popUpGridConfig=!1}setGridConfig(i){this._gridConfig=i,f.assertDefaultSorting(this._gridConfig,this._dataUnit)}fixColumNameCharset(i){try{return decodeURIComponent(escape(i))}catch(t){return i}}normalizeGridConfig(i){if(!i)return i;const t=i.columns.map((i=>Object.assign(Object.assign({},i),{name:this.fixColumNameCharset(i.name)})));return Object.assign(Object.assign({},i),{columns:t})}loadConfig(){c.loadGridConfig(this.configName,this.resourceID).then((i=>{this.setGridConfig(this.normalizeGridConfig(i))})).catch((i=>{console.warn(i)}))}addGridLegacyConfigName(){this.gridLegacyConfigName&&this.configName&&c.addGridLegacyConfig(this.configName,this.gridLegacyConfigName)}gridConfigChangeHandler(i){const t=this.normalizeGridConfig(i.detail);c.saveGridConfig(t,this.configName,this.resourceID),i.stopPropagation()}modalConfigChangeHandler(i){const t=this.normalizeGridConfig(i.detail);this._grid.setColumnsState(t.columns).then((()=>{this.setGridConfig(t),this.closeGridConfig(),this.dataExporterProviderStore()})),i.stopPropagation()}async dataExporterProviderStore(){const i=this.strategyExporter===g.SERVER_SIDE?new _(this._dataUnit,this._grid):new C(this._dataUnit,this._grid);k.set("exporterProviders",Object.assign(Object.assign({},k.get("exporterProviders")),{[this.configName]:i}))}addElementID(){o.addIDInfo(this._element,null,{dataUnit:this._dataUnit})}loadGridCustomFormatters(i){i&&this._grid&&i.forEach((i=>{var t;(null===(t=i.properties)||void 0===t?void 0:t.rm_precision)&&this.addCustomValueFormatter(i.name,this._rmPrecisionCustomValueFormatter)}))}async interceptMetadataLoaded(i){return this.loadGridCustomFormatters(i.payload.fields),i}finishLoading(){this._dataUnit.addInterceptor(this.dataUnitInterceptor),f.assertDefaultSorting(this._gridConfig,this._dataUnit),this.addElementID(),null!=this.columnFilterDataSource&&(this.columnFilterDataSource.setApplication(this._application),this.columnFilterDataSource.setDataUnit(this._dataUnit))}setCustomRenders(){if(this._grid)for(const[i,t]of this._customRenders)this._grid.addGridCustomRender(i,t.customRender,t.detailContext),this._customRenders.delete(i)}setCustomEditors(){if(this._grid)for(const[i,t]of this._customEditors)this._grid.addCustomEditor(i,t.customEditor,t.detailContext),this._customEditors.delete(i)}componentWillLoad(){this._application=d.getContextValue("__SNK__APPLICATION__");let i=this._element.parentElement;for(;i;){if("SNK-DATA-UNIT"===i.tagName.toUpperCase()){this._snkDataUnit=i,this._dataUnit=this._snkDataUnit.dataUnit,this._dataUnit?this.finishLoading():this._snkDataUnit.addEventListener("dataUnitReady",(i=>{this._dataUnit=i.detail,this.finishLoading()})),this.messagesBuilder||(this.messagesBuilder=this._snkDataUnit.messagesBuilder),this._snkDataUnit.addEventListener("dataStateChange",this.handleDataStateChange.bind(this)),this._snkDataUnit.addEventListener("cancelEdition",(()=>{var i;(null===(i=this._dataState)||void 0===i?void 0:i.recordsIsEmpty)&&this._dataUnit.clearSelection()}));break}i=i.parentElement}this._rmPrecisionCustomValueFormatter=new T,this.addGridLegacyConfigName(),this.loadConfig(),this._continuousInsertUtils=new b(this._application,this.resourceID,this.configName),this.enableGridInsert&&this._continuousInsertUtils.getConfig().then((i=>this._enableContinuousInsert=i))}componentDidRender(){var i,t;this._rmPrecisionCustomValueFormatter.setGrid(this._grid),this.loadGridCustomFormatters(null===(t=null===(i=this._dataUnit)||void 0===i?void 0:i.metadata)||void 0===t?void 0:t.fields),this.setCustomRenders(),this.setCustomEditors()}async handleDataStateChange(i){this._dataState=i.detail,this._rmPrecisionCustomValueFormatter.setDataState(this._dataState)}getHeaderDisabledButtons(){var i;const t=[];return(null===(i=this._dataState)||void 0===i?void 0:i.selectionInfo)&&(this._dataState.selectionInfo.length>1&&t.push(l.CLONE,l.ATTACH,l.UPDATE),this._dataState.selectionInfo.isAllRecords()&&t.push(l.REMOVE)),t}getInvisibleButtons(){var i,t;let s=[];return this._dataUnit&&0!==this._dataUnit.records.length||s.push(l.DATA_EXPORTER),(null===(i=this._dataState)||void 0===i?void 0:i.selectionInfo.mode)===E.ALL_RECORDS&&s.push(l.ACTIONS_BUTTON),1===(null===(t=this._dataState)||void 0===t?void 0:t.selectionInfo.length)&&s.push(l.UPDATE_MULTIPLE),s}componentWillRender(){const i=this.getInvisibleButtons();this._headerTaskbarProcessor.process(this.getHeaderTaskbarId(),this.taskbarManager,this._dataState,this.getHeaderDisabledButtons(),i),this._topTaskbarProcessor.process(this.getTopTaskBarId(),this.taskbarManager,this._dataState,void 0,i),this.dataExporterProviderStore()}getHeaderTaskbarId(){var i,t;const s=this._dataState&&!!(null===(i=this._dataState.selectionInfo)||void 0===i?void 0:i.length),e={primary:this.isDetail?"snkGridHeaderTaskbar.detail":"snkGridHeaderTaskbar",secondary:this.isDetail?"snkGridHeaderTaskbar.detail":"snkGridHeaderTaskbar",singleTaskbar:this.isDetail?"snkGridHeaderTaskbar.singleTaskbar.detail":"snkGridHeaderTaskbar.singleTaskbar"}[this.presentationMode];let a=s?`${e}.selected`:`${e}.unselected`;return(null===(t=this._dataState)||void 0===t?void 0:t.isDirty)&&this.presentationMode===u.SINGLE_TASKBAR&&(a="snkGridHeaderTaskbar.singleTaskbar.finish_edition"),a}getTopTaskBarId(){var i;const t={primary:"",secondary:".secondary",singleTaskbar:".singleTaskbar"}[this.presentationMode];return(null===(i=this._dataState)||void 0===i?void 0:i.isDirty)?`snkGridTopTaskbar.finish_edition${t}`:`snkGridTopTaskbar.regular${t}`}getPrimaryButton(){return{primary:"INSERT",secondary:"",singleTaskbar:"INSERT"}[this.presentationMode]}getColumnSearch(i){return null!=this._columnSearch||(this._columnSearch=O(i,(({argument:i})=>new Promise((t=>{this._grid.filterColumns(i).then((i=>{t(i.filter((i=>!i.hidden)).map((i=>({label:i.label,value:i.name}))))}))}))),(i=>{null!=i&&this._grid.locateColumn(i.value)}))),this._columnSearch}getActionsList(){const i=[];if(this.enableGridInsert&&i.push(this._continuousInsertUtils.actionContinuousInsert(this._enableContinuousInsert,(()=>{this._enableContinuousInsert=!this._enableContinuousInsert,this._continuousInsertUtils.handleSaveConfig(this._enableContinuousInsert)}))),this.isGridInsertActive())return i;if(null!=this.taskbarManager&&null!=this.taskbarManager.getMoreOptions){const t=this.getTopTaskBarId();return i.concat(this.taskbarManager.getMoreOptions(t,this.configName,this._dataState,this.actionsList))}return i.concat(this.actionsList)}getActionsSettingsList(){return[{value:h.generateUUID(),label:this.messagesBuilder.getMessage("snkGrid.findColumn",{}),disableCloseOnSelect:!0,eagerInitialize:!0,itemBuilder:(i,t)=>this.getColumnSearch(t)}]}handleFilterConfigUpdated(i){this._showSnkFilterBar=!!i.length&&(1!==i.length||"PERSONALIZED_FILTER_GROUP"!==i[0].id||i[0].groupedItems.length>0)}getGridHeaderButtons(){return this.isGridInsertActive()?l.MORE_OPTIONS:this._headerTaskbarProcessor.buttons}isGridInsertActive(){return this.enableGridInsert&&this._dataUnit.hasNewRecord()}render(){if(this._dataUnit)return s("div",{class:"snk-grid__container ez-flex ez-flex--column ez-flex-item--auto ez-padding--large ez-box--no-outline",tabindex:"0"},s("div",{class:"snk-grid__header ez-margin-bottom--extra-small"},this._showSnkFilterBar&&s(e,null,s("snk-filter-bar",{ref:i=>this._snkFilterBar=i,title:this.filterBarTitle,dataUnit:this._dataUnit,"data-element-id":"gridFilter",class:"snk-grid__filter-bar ez-align--top",configName:this.configName,messagesBuilder:this.messagesBuilder,resourceID:this.resourceID,onConfigUpdated:i=>this.handleFilterConfigUpdated(i.detail),disablePersonalizedFilter:this.disablePersonalizedFilter,filterBarLegacyConfigName:this.filterBarLegacyConfigName,autoLoad:this.autoLoad,enableLockManagerLoadingComp:this.enableLockManagerLoadingComp}),s("hr",{class:"ez-divider-vertical ez-divider--dark ez-margin-left--medium snk-grid__header-divider"})),s("snk-taskbar",{class:"ez-padding-left--medium ez-padding-top--extra-small","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(),resourceID:this.resourceID,customContainerId:this.taskbarCustomContainerId,customSlotId:this.topTaskbarCustomSlotId,overflowStrategy:"none",actionsSettingsList:this.getActionsSettingsList()},s("slot",{name:this.topTaskbarCustomSlotId}))),s("ez-grid",{ref:i=>this._grid=i,class:(this.presentationMode===u.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:i=>{this.gridConfigChangeHandler(i)},onEzDoubleClick:i=>this.gridDoubleClick.emit(i.detail),statusResolver:this.statusResolver,multipleSelection:this.multipleSelection,columnfilterDataSource:this.columnFilterDataSource,selectionToastConfig:this.selectionToastConfig,useEnterLikeTab:this.useEnterLikeTab,recordsValidator:this.recordsValidator,canEdit:this.canEdit,autoFocus:this.autoFocus,enableGridInsert:this.enableGridInsert,enableContinuousInsert:this._enableContinuousInsert,enableLockManagerTaskbarClick:this.enableLockManagerTaskbarClick,enableLockManagerLoadingComp:this.enableLockManagerLoadingComp,outlineMode:this.outlineMode,useSearchColumn:this.useSearchColumn,suppressHorizontalScroll:this.suppressHorizontalScroll,paginationCounterMode:this.paginationCounterMode,suppressCheckboxColumn:this.suppressCheckboxColumn,compact:this.compact},s("snk-taskbar",{id:"teste",dataUnit:this._dataUnit,configName:this.configName,messagesBuilder:this.messagesBuilder,"data-element-id":"grid_left",buttons:this.getGridHeaderButtons(),presentationMode:this.presentationMode,disabledButtons:this._headerTaskbarProcessor.disabledButtons,customButtons:this._headerTaskbarProcessor.customButtons,slot:"leftButtons",actionsList:this.getActionsList(),primaryButton:this.getPrimaryButton(),resourceID:this.resourceID,customContainerId:this.taskbarCustomContainerId,customSlotId:this.gridHeaderCustomSlotId,actionsSettingsList:this.getActionsSettingsList()},s("slot",{name:this.gridHeaderCustomSlotId}))),s("div",{class:"ez-col ez-col--sd-12 snk-grid-container__footer"},s("slot",{name:"SnkGridFooter"})),s("ez-popup",{size:"medium",heightMode:"auto",useHeader:!1,opened:this._popUpGridConfig,onEzClosePopup:()=>this.closeGridConfig()},s("snk-grid-config",{ref:i=>this._snkGridConfig=i,config:this._gridConfig,"data-element-id":this._element.getAttribute(o.DATA_ELEMENT_ID_ATTRIBUTE_NAME),selectedIndex:0,configName:this.configName,onConfigChange:i=>this.modalConfigChangeHandler(i),onConfigCancel:()=>this.closeGridConfig(),resourceID:this.resourceID})))}get _element(){return a(this)}static get watchers(){return{gridLegacyConfigName:["handleGridLegacyConfigName"]}}};I.style=".sc-snk-grid-h{--snk-grid-min-height:300px;--snk-grid-padding:var(--space--small)}.snk-grid__container.sc-snk-grid{display:flex;height:100%;width:100%;padding:var(--snk-grid-padding);outline:none}.snk-grid__header.sc-snk-grid{width:100%;display:flex;flex-wrap:nowrap;justify-content:flex-end}.snk-grid__filter-bar.sc-snk-grid{width:100%}.snk-grid__header-divider.sc-snk-grid{margin-bottom:var(--space--medium)}.snk-grid__table.sc-snk-grid{min-height:var(--snk-grid-min-height)}.snk-grid-container__without-shadow.sc-snk-grid{--ezgrid__container--shadow:unset}.snk-grid-container__footer.sc-snk-grid{background-color:var(--background--xlight, #FFF);border-radius:0 0 var(--border--radius-medium) var(--border--radius-medium);box-shadow:var(--shadow--small)}";export{I as snk_grid}
|
Binary file
|