@sankhyalabs/sankhyablocks 8.16.0-rc.32 → 8.16.0-rc.34
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/cjs/AuthorizationConfig-79ffae4b.js.gz +0 -0
- package/dist/cjs/ConfigStorage-9b965af9.js.gz +0 -0
- package/dist/cjs/{ContinuousInsertUtils-414b772c.js → ContinuousInsertUtils-a6139f3d.js} +2 -2
- package/dist/cjs/ContinuousInsertUtils-a6139f3d.js.gz +0 -0
- package/dist/cjs/DataFetcher-e059eb72.js.gz +0 -0
- package/dist/cjs/GetSelectedRecordsIDsInfo-bd50caf1.js.gz +0 -0
- package/dist/cjs/ISave-e91b70a7.js.gz +0 -0
- package/dist/cjs/ParamType-90b440a0.js.gz +0 -0
- package/dist/cjs/PersonalizedFilterUtils-0184ffbb.js.gz +0 -0
- package/dist/cjs/PrintUtils-bcaeb82f.js.gz +0 -0
- package/dist/cjs/ResourceIDUtils-5ff86aa7.js.gz +0 -0
- package/dist/cjs/SnkFormConfigManager-51caf3d0.js.gz +0 -0
- package/dist/cjs/SnkMessageBuilder-bae64d0d.js.gz +0 -0
- package/dist/cjs/Sortable-fb1c4cbb.js.gz +0 -0
- package/dist/cjs/auth-fetcher-a78242d1.js.gz +0 -0
- package/dist/cjs/constants-35ddd366.js.gz +0 -0
- package/dist/cjs/{dataunit-fetcher-228016f4.js → dataunit-fetcher-0121621c.js} +1 -1
- package/dist/cjs/dataunit-fetcher-0121621c.js.gz +0 -0
- package/dist/cjs/field-search-68e34bf4.js.gz +0 -0
- package/dist/cjs/filter-item-type.enum-a7ffdaa6.js.gz +0 -0
- package/dist/cjs/filter-type.enum-b14ce507.js.gz +0 -0
- package/dist/cjs/filterNumberVariation-d65332da.js.gz +0 -0
- package/dist/cjs/form-config-fetcher-91fba2b1.js.gz +0 -0
- package/dist/cjs/index-102ba62d.js.gz +0 -0
- package/dist/cjs/index-1dfc7a6e.js.gz +0 -0
- package/dist/cjs/index-8d94b7e0.js.gz +0 -0
- package/dist/cjs/index-c5771aba.js.gz +0 -0
- package/dist/cjs/index-f9e81701.js +4 -0
- package/dist/cjs/index-f9e81701.js.gz +0 -0
- package/dist/cjs/index.cjs.js.gz +0 -0
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/loader.cjs.js.gz +0 -0
- package/dist/cjs/{pesquisa-fetcher-2ec4811b.js → pesquisa-fetcher-a85d6935.js} +175 -0
- package/dist/cjs/pesquisa-fetcher-a85d6935.js.gz +0 -0
- package/dist/cjs/pesquisa-grid_2.cjs.entry.js +127 -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 +1 -1
- package/dist/cjs/sankhyablocks.cjs.js.gz +0 -0
- package/dist/cjs/snk-actions-button_5.cjs.entry.js +5 -3
- package/dist/cjs/snk-actions-button_5.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 +23 -8
- package/dist/cjs/snk-application.cjs.entry.js.gz +0 -0
- package/dist/cjs/snk-attach.cjs.entry.js +2 -2
- 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-config-options_3.cjs.entry.js.gz +0 -0
- package/dist/cjs/snk-configurator.cjs.entry.js.gz +0 -0
- package/dist/cjs/snk-crud.cjs.entry.js +2 -2
- 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 +3 -3
- package/dist/cjs/snk-data-exporter.cjs.entry.js.gz +0 -0
- package/dist/cjs/{snk-data-unit-3d9b6ed4.js → snk-data-unit-c699179d.js} +1 -1
- package/dist/cjs/snk-data-unit-c699179d.js.gz +0 -0
- package/dist/cjs/snk-data-unit.cjs.entry.js +2 -2
- package/dist/cjs/snk-data-unit.cjs.entry.js.gz +0 -0
- package/dist/cjs/snk-detail-view.cjs.entry.js +3 -3
- package/dist/cjs/snk-detail-view.cjs.entry.js.gz +0 -0
- package/dist/cjs/snk-entity-list.cjs.entry.js.gz +0 -0
- package/dist/cjs/snk-exporter-email-sender.cjs.entry.js.gz +0 -0
- package/dist/cjs/snk-expression-group_2.cjs.entry.js.gz +0 -0
- package/dist/cjs/snk-field-config.cjs.entry.js.gz +0 -0
- package/dist/cjs/snk-filter-advanced-mode_2.cjs.entry.js.gz +0 -0
- package/dist/cjs/snk-filter-bar_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-grid.cjs.entry.js +3 -3
- package/dist/cjs/snk-grid.cjs.entry.js.gz +0 -0
- package/dist/cjs/{snk-guides-viewer-421555af.js → snk-guides-viewer-575596a2.js} +2 -2
- package/dist/cjs/snk-guides-viewer-575596a2.js.gz +0 -0
- package/dist/cjs/snk-guides-viewer.cjs.entry.js +3 -3
- 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 +105 -31
- 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 +3 -3
- package/dist/cjs/snk-simple-crud.cjs.entry.js.gz +0 -0
- package/dist/cjs/snk-tab-config.cjs.entry.js.gz +0 -0
- package/dist/cjs/snk-taskbar.cjs.entry.js.gz +0 -0
- package/dist/cjs/taskbar-elements-9ad1f9c0.js.gz +0 -0
- package/dist/cjs/teste-pesquisa.cjs.entry.js.gz +0 -0
- package/dist/collection/collection-manifest.json +2 -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/snk-application.css.gz +0 -0
- package/dist/collection/components/snk-application/snk-application.js +25 -7
- 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/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.js.gz +0 -0
- package/dist/collection/components/snk-filter-bar/filter-list/snk-filter-list.js.gz +0 -0
- package/dist/collection/components/snk-filter-bar/filter-modal/snk-filter-modal.css.gz +0 -0
- package/dist/collection/components/snk-filter-bar/filter-modal/snk-filter-modal.js.gz +0 -0
- package/dist/collection/components/snk-filter-bar/filter-modal/subcomponents/snk-filter-modal-item.css.gz +0 -0
- package/dist/collection/components/snk-filter-bar/filter-modal/subcomponents/snk-filter-modal-item.js.gz +0 -0
- package/dist/collection/components/snk-filter-bar/snk-filter-bar.css.gz +0 -0
- package/dist/collection/components/snk-filter-bar/snk-filter-bar.js.gz +0 -0
- package/dist/collection/components/snk-filter-bar/types/custom-element-filter.js.gz +0 -0
- package/dist/collection/components/snk-filter-bar/types/filter-type.enum.js.gz +0 -0
- package/dist/collection/components/snk-filter-bar/utils/SnkFilterModalFactory.js.gz +0 -0
- package/dist/collection/components/snk-filter-bar/utils/filters-mock.js.gz +0 -0
- package/dist/collection/components/snk-filter-field-search/interfaces/index.js.gz +0 -0
- package/dist/collection/components/snk-filter-field-search/snk-filter-field-search.css.gz +0 -0
- package/dist/collection/components/snk-filter-field-search/snk-filter-field-search.js.gz +0 -0
- package/dist/collection/components/snk-filter-field-search/subcomponents/index.js.gz +0 -0
- package/dist/collection/components/snk-filter-field-search/subcomponents/list-item.js.gz +0 -0
- package/dist/collection/components/snk-form/snk-form.css.gz +0 -0
- package/dist/collection/components/snk-form/snk-form.js.gz +0 -0
- package/dist/collection/components/snk-form-config/SnkFormConfigManager.js.gz +0 -0
- package/dist/collection/components/snk-form-config/snk-form-config.css.gz +0 -0
- package/dist/collection/components/snk-form-config/snk-form-config.js.gz +0 -0
- package/dist/collection/components/snk-form-config/subcomponents/snk-config-options/snk-config-options.css.gz +0 -0
- package/dist/collection/components/snk-form-config/subcomponents/snk-config-options/snk-config-options.js.gz +0 -0
- package/dist/collection/components/snk-form-config/subcomponents/snk-field-config/snk-field-config.css.gz +0 -0
- package/dist/collection/components/snk-form-config/subcomponents/snk-field-config/snk-field-config.js.gz +0 -0
- package/dist/collection/components/snk-form-config/subcomponents/snk-tab-config/snk-tab-config.css.gz +0 -0
- package/dist/collection/components/snk-form-config/subcomponents/snk-tab-config/snk-tab-config.js.gz +0 -0
- package/dist/collection/components/snk-grid/filtercolumn/SnkMultiSelectionListDataSource.js.gz +0 -0
- package/dist/collection/components/snk-grid/snk-grid.css.gz +0 -0
- package/dist/collection/components/snk-grid/snk-grid.js.gz +0 -0
- package/dist/collection/components/snk-grid-config/snk-grid-config.css.gz +0 -0
- package/dist/collection/components/snk-grid-config/snk-grid-config.js.gz +0 -0
- package/dist/collection/components/snk-grid-config/snk-select-box/snk-select-box.css.gz +0 -0
- package/dist/collection/components/snk-grid-config/snk-select-box/snk-select-box.js.gz +0 -0
- package/dist/collection/components/snk-personalized-filter/interfaces/IExpressionGroup.js.gz +0 -0
- package/dist/collection/components/snk-personalized-filter/interfaces/IExpressionItem.js.gz +0 -0
- package/dist/collection/components/snk-personalized-filter/interfaces/IParameter.js.gz +0 -0
- package/dist/collection/components/snk-personalized-filter/interfaces/IPersonalizedFilter.js.gz +0 -0
- package/dist/collection/components/snk-personalized-filter/interfaces/ISystemFilterConfig.js.gz +0 -0
- package/dist/collection/components/snk-personalized-filter/interfaces/IUserFilterConfig.js.gz +0 -0
- package/dist/collection/components/snk-personalized-filter/interfaces/index.js.gz +0 -0
- package/dist/collection/components/snk-personalized-filter/snk-personalized-filter.css.gz +0 -0
- package/dist/collection/components/snk-personalized-filter/snk-personalized-filter.js.gz +0 -0
- package/dist/collection/components/snk-personalized-filter/subcomponents/snk-expression-group/snk-expression-group.css.gz +0 -0
- package/dist/collection/components/snk-personalized-filter/subcomponents/snk-expression-group/snk-expression-group.js.gz +0 -0
- package/dist/collection/components/snk-personalized-filter/subcomponents/snk-expression-item/filter-operands/filter-operands.js.gz +0 -0
- package/dist/collection/components/snk-personalized-filter/subcomponents/snk-expression-item/snk-expression-item.css.gz +0 -0
- package/dist/collection/components/snk-personalized-filter/subcomponents/snk-expression-item/snk-expression-item.js.gz +0 -0
- package/dist/collection/components/snk-personalized-filter/subcomponents/snk-filter-advanced-mode/snk-filter-advanced-mode.css.gz +0 -0
- package/dist/collection/components/snk-personalized-filter/subcomponents/snk-filter-advanced-mode/snk-filter-advanced-mode.js.gz +0 -0
- package/dist/collection/components/snk-personalized-filter/subcomponents/snk-filter-assistent-mode/snk-filter-assistent-mode.css.gz +0 -0
- package/dist/collection/components/snk-personalized-filter/subcomponents/snk-filter-assistent-mode/snk-filter-assistent-mode.js.gz +0 -0
- package/dist/collection/components/snk-personalized-filter/subcomponents/snk-filter-param-config/snk-filter-param-config.css.gz +0 -0
- package/dist/collection/components/snk-personalized-filter/subcomponents/snk-filter-param-config/snk-filter-param-config.js.gz +0 -0
- package/dist/collection/components/snk-personalized-filter/subcomponents/snk-filter-param-config/utils/PersonalizedFilterUtils.js.gz +0 -0
- package/dist/collection/components/snk-pesquisa/pesquisa-grid/pesquisa-grid.css +10 -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 +190 -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 +25 -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 +173 -0
- package/dist/collection/components/snk-pesquisa/pesquisa-tree/pesquisa-tree.js.gz +0 -0
- package/dist/collection/components/snk-pesquisa/pesquisaHelper.js +89 -0
- package/dist/collection/components/snk-pesquisa/pesquisaHelper.js.gz +0 -0
- package/dist/collection/components/snk-pesquisa/snk-pesquisa.css +24 -5
- package/dist/collection/components/snk-pesquisa/snk-pesquisa.css.gz +0 -0
- package/dist/collection/components/snk-pesquisa/snk-pesquisa.js +168 -32
- 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 +3 -1
- 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/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/snk-taskbar/subcomponents/field-search.js.gz +0 -0
- package/dist/collection/components/teste-pesquisa/teste-pesquisa.css.gz +0 -0
- package/dist/collection/components/teste-pesquisa/teste-pesquisa.js.gz +0 -0
- package/dist/collection/index.js.gz +0 -0
- package/dist/collection/lib/@types/index.js.gz +0 -0
- package/dist/collection/lib/DefaultCustomFormatters/RmPrecisionCustomValueFormatter.js.gz +0 -0
- package/dist/collection/lib/applet-caller/applet-caller.js.gz +0 -0
- package/dist/collection/lib/auth/mgeauthorization.module.js.gz +0 -0
- package/dist/collection/lib/configs/ConfigStorage.js.gz +0 -0
- package/dist/collection/lib/dataUnit/InMemoryLoader.js.gz +0 -0
- package/dist/collection/lib/dataUnit/ValueFormatter.js.gz +0 -0
- package/dist/collection/lib/dataUnit/dataUnitInMemoryUtils.js +1 -1
- 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/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 +89 -3
- 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 +1 -2
- 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 +346 -1
- package/dist/components/ISave.js.gz +0 -0
- package/dist/components/ParamType.js.gz +0 -0
- package/dist/components/PersonalizedFilterUtils.js.gz +0 -0
- package/dist/components/PrintUtils.js.gz +0 -0
- package/dist/components/ResourceIDUtils.js.gz +0 -0
- package/dist/components/SnkFormConfigManager.js.gz +0 -0
- package/dist/components/SnkMessageBuilder.js.gz +0 -0
- package/dist/components/auth-fetcher.js.gz +0 -0
- package/dist/components/constants.js.gz +0 -0
- package/dist/components/dataunit-fetcher.js +1 -1
- package/dist/components/dataunit-fetcher.js.gz +0 -0
- package/dist/components/filter-item-type.enum.js.gz +0 -0
- package/dist/components/filterNumberVariation.js.gz +0 -0
- package/dist/components/form-config-fetcher.js.gz +0 -0
- package/dist/components/index.d.ts +2 -0
- package/dist/components/index.js +2 -0
- package/dist/components/index.js.gz +0 -0
- package/dist/components/index2.js.gz +0 -0
- package/dist/components/pesquisa-grid.d.ts +11 -0
- package/dist/components/pesquisa-grid.js +6 -0
- package/dist/components/pesquisa-grid.js.gz +0 -0
- package/dist/components/pesquisa-grid2.js +86 -0
- package/dist/components/pesquisa-grid2.js.gz +0 -0
- package/dist/components/pesquisa-tree.d.ts +11 -0
- package/dist/components/pesquisa-tree.js +6 -0
- package/dist/components/pesquisa-tree.js.gz +0 -0
- package/dist/components/pesquisa-tree2.js +76 -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 +0 -1
- 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 +35 -8
- package/dist/components/snk-application2.js.gz +0 -0
- package/dist/components/snk-attach.js.gz +0 -0
- package/dist/components/snk-attach2.js +0 -1
- package/dist/components/snk-attach2.js.gz +0 -0
- package/dist/components/snk-client-confirm.js.gz +0 -0
- package/dist/components/snk-config-options.js.gz +0 -0
- package/dist/components/snk-config-options2.js.gz +0 -0
- package/dist/components/snk-configurator.js.gz +0 -0
- package/dist/components/snk-configurator2.js.gz +0 -0
- package/dist/components/snk-crud.js +0 -1
- package/dist/components/snk-crud.js.gz +0 -0
- package/dist/components/snk-custom-slot-elements.js.gz +0 -0
- package/dist/components/snk-data-exporter.js.gz +0 -0
- package/dist/components/snk-data-exporter2.js +1 -2
- 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-detail-view.js.gz +0 -0
- package/dist/components/snk-detail-view2.js +0 -1
- package/dist/components/snk-detail-view2.js.gz +0 -0
- package/dist/components/snk-entity-list.js.gz +0 -0
- package/dist/components/snk-exporter-email-sender.js.gz +0 -0
- package/dist/components/snk-exporter-email-sender2.js.gz +0 -0
- package/dist/components/snk-expression-group.js.gz +0 -0
- package/dist/components/snk-expression-group2.js.gz +0 -0
- package/dist/components/snk-expression-item.js.gz +0 -0
- package/dist/components/snk-expression-item2.js.gz +0 -0
- package/dist/components/snk-field-config.js.gz +0 -0
- package/dist/components/snk-field-config2.js.gz +0 -0
- package/dist/components/snk-filter-advanced-mode.js.gz +0 -0
- package/dist/components/snk-filter-advanced-mode2.js.gz +0 -0
- package/dist/components/snk-filter-assistent-mode.js.gz +0 -0
- package/dist/components/snk-filter-assistent-mode2.js.gz +0 -0
- package/dist/components/snk-filter-bar.js.gz +0 -0
- package/dist/components/snk-filter-bar2.js.gz +0 -0
- package/dist/components/snk-filter-binary-select.js.gz +0 -0
- package/dist/components/snk-filter-checkbox-list.js.gz +0 -0
- package/dist/components/snk-filter-detail.js.gz +0 -0
- package/dist/components/snk-filter-detail2.js.gz +0 -0
- package/dist/components/snk-filter-field-search.js.gz +0 -0
- package/dist/components/snk-filter-field-search2.js.gz +0 -0
- package/dist/components/snk-filter-item.js.gz +0 -0
- package/dist/components/snk-filter-item2.js.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 +0 -1
- package/dist/components/snk-grid2.js.gz +0 -0
- package/dist/components/snk-guides-viewer.js.gz +0 -0
- package/dist/components/snk-personalized-filter-editor.js.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 +118 -33
- 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 +1 -2
- 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 +4 -3
- package/dist/components/snk-simple-form-config2.js.gz +0 -0
- package/dist/components/snk-tab-config.js.gz +0 -0
- package/dist/components/snk-tab-config2.js.gz +0 -0
- package/dist/components/snk-taskbar.js.gz +0 -0
- package/dist/components/snk-taskbar2.js.gz +0 -0
- package/dist/components/taskbar-actions-button.js.gz +0 -0
- package/dist/components/taskbar-actions-button2.js.gz +0 -0
- package/dist/components/teste-pesquisa.js +13 -1
- package/dist/components/teste-pesquisa.js.gz +0 -0
- package/dist/esm/AuthorizationConfig-dcbd207a.js.gz +0 -0
- package/dist/esm/ConfigStorage-ff99377a.js.gz +0 -0
- package/dist/esm/{ContinuousInsertUtils-bab45060.js → ContinuousInsertUtils-15b5f1da.js} +2 -2
- package/dist/esm/ContinuousInsertUtils-15b5f1da.js.gz +0 -0
- package/dist/esm/DataFetcher-5034df59.js.gz +0 -0
- package/dist/esm/GetSelectedRecordsIDsInfo-9fa41508.js.gz +0 -0
- package/dist/esm/ISave-d8c8bc59.js.gz +0 -0
- package/dist/esm/ParamType-d5152b06.js.gz +0 -0
- package/dist/esm/PersonalizedFilterUtils-e2b38ef7.js.gz +0 -0
- package/dist/esm/PrintUtils-3e4ff0f5.js.gz +0 -0
- package/dist/esm/ResourceIDUtils-a114189a.js.gz +0 -0
- package/dist/esm/SnkFormConfigManager-a7770e24.js.gz +0 -0
- package/dist/esm/SnkMessageBuilder-6fff4a4c.js.gz +0 -0
- package/dist/esm/Sortable-83960219.js.gz +0 -0
- package/dist/esm/auth-fetcher-0b78ca31.js.gz +0 -0
- package/dist/esm/constants-7302ee87.js.gz +0 -0
- package/dist/esm/{dataunit-fetcher-56cb648b.js → dataunit-fetcher-481e159d.js} +1 -1
- package/dist/esm/dataunit-fetcher-481e159d.js.gz +0 -0
- package/dist/esm/field-search-f8b1d91e.js.gz +0 -0
- package/dist/esm/filter-item-type.enum-d45e026f.js.gz +0 -0
- package/dist/esm/filter-type.enum-a80c1b6b.js.gz +0 -0
- package/dist/esm/filterNumberVariation-8cee02ea.js.gz +0 -0
- package/dist/esm/form-config-fetcher-0c2620ef.js.gz +0 -0
- package/dist/esm/index-3aa4977a.js.gz +0 -0
- package/dist/esm/index-620ac460.js.gz +0 -0
- package/dist/esm/index-a7d3d3f1.js +4 -0
- package/dist/esm/index-a7d3d3f1.js.gz +0 -0
- package/dist/esm/index-ae591a44.js.gz +0 -0
- package/dist/esm/index-bdf75557.js.gz +0 -0
- package/dist/esm/index.js.gz +0 -0
- package/dist/esm/loader.js +1 -1
- package/dist/esm/loader.js.gz +0 -0
- package/dist/esm/{pesquisa-fetcher-24e5bba0.js → pesquisa-fetcher-c437c9b1.js} +176 -2
- package/dist/esm/pesquisa-fetcher-c437c9b1.js.gz +0 -0
- package/dist/esm/pesquisa-grid_2.entry.js +122 -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 +1 -1
- package/dist/esm/sankhyablocks.js.gz +0 -0
- package/dist/esm/snk-actions-button_5.entry.js +5 -3
- package/dist/esm/snk-actions-button_5.entry.js.gz +0 -0
- package/dist/esm/snk-actions-form.entry.js.gz +0 -0
- package/dist/esm/snk-application.entry.js +23 -8
- package/dist/esm/snk-application.entry.js.gz +0 -0
- package/dist/esm/snk-attach.entry.js +2 -2
- 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-config-options_3.entry.js.gz +0 -0
- package/dist/esm/snk-configurator.entry.js.gz +0 -0
- package/dist/esm/snk-crud.entry.js +2 -2
- 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 +3 -3
- package/dist/esm/snk-data-exporter.entry.js.gz +0 -0
- package/dist/esm/{snk-data-unit-9fa7d2b9.js → snk-data-unit-d4ba54d7.js} +1 -1
- package/dist/esm/snk-data-unit-d4ba54d7.js.gz +0 -0
- package/dist/esm/snk-data-unit.entry.js +2 -2
- package/dist/esm/snk-data-unit.entry.js.gz +0 -0
- package/dist/esm/snk-detail-view.entry.js +3 -3
- package/dist/esm/snk-detail-view.entry.js.gz +0 -0
- package/dist/esm/snk-entity-list.entry.js.gz +0 -0
- package/dist/esm/snk-exporter-email-sender.entry.js.gz +0 -0
- package/dist/esm/snk-expression-group_2.entry.js.gz +0 -0
- package/dist/esm/snk-field-config.entry.js.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-grid.entry.js +3 -3
- package/dist/esm/snk-grid.entry.js.gz +0 -0
- package/dist/esm/{snk-guides-viewer-b740a1fe.js → snk-guides-viewer-3043422d.js} +2 -2
- package/dist/esm/snk-guides-viewer-3043422d.js.gz +0 -0
- package/dist/esm/snk-guides-viewer.entry.js +3 -3
- 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 +105 -31
- 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 +3 -3
- package/dist/esm/snk-simple-crud.entry.js.gz +0 -0
- package/dist/esm/snk-tab-config.entry.js.gz +0 -0
- package/dist/esm/snk-taskbar.entry.js.gz +0 -0
- package/dist/esm/taskbar-elements-d59867f1.js.gz +0 -0
- package/dist/esm/teste-pesquisa.entry.js.gz +0 -0
- package/dist/index.cjs.js.gz +0 -0
- package/dist/index.js.gz +0 -0
- package/dist/sankhyablocks/index.esm.js.gz +0 -0
- package/dist/sankhyablocks/p-00278e07.js.gz +0 -0
- package/dist/sankhyablocks/{p-690b4311.entry.js → p-0085f149.entry.js} +1 -1
- package/dist/sankhyablocks/p-0085f149.entry.js.gz +0 -0
- package/dist/sankhyablocks/p-01ba23cd.entry.js.gz +0 -0
- package/dist/sankhyablocks/p-036b4807.entry.js.gz +0 -0
- package/dist/sankhyablocks/p-057fad05.js.gz +0 -0
- package/dist/sankhyablocks/{p-c629c07a.entry.js → p-08242e3f.entry.js} +1 -1
- package/dist/sankhyablocks/p-08242e3f.entry.js.gz +0 -0
- package/dist/sankhyablocks/{p-342eeb3b.js → p-0f3b2a32.js} +1 -1
- package/dist/sankhyablocks/p-0f3b2a32.js.gz +0 -0
- package/dist/sankhyablocks/p-118e769b.entry.js.gz +0 -0
- package/dist/sankhyablocks/p-16a1dd18.entry.js.gz +0 -0
- package/dist/sankhyablocks/p-17425c72.js.gz +0 -0
- package/dist/sankhyablocks/p-1a68fb59.js.gz +0 -0
- package/dist/sankhyablocks/p-1db45d26.entry.js.gz +0 -0
- package/dist/sankhyablocks/p-21749402.js.gz +0 -0
- package/dist/sankhyablocks/p-21a81901.entry.js.gz +0 -0
- package/dist/sankhyablocks/{p-72a451c8.js → p-229c3615.js} +1 -1
- package/dist/sankhyablocks/p-229c3615.js.gz +0 -0
- package/dist/sankhyablocks/p-23736d75.js.gz +0 -0
- package/dist/sankhyablocks/p-26b0ce3e.entry.js.gz +0 -0
- package/dist/sankhyablocks/p-2d3f9482.entry.js.gz +0 -0
- package/dist/sankhyablocks/p-30cf616e.js.gz +0 -0
- package/dist/sankhyablocks/p-33718dfc.entry.js.gz +0 -0
- package/dist/sankhyablocks/p-35882caf.entry.js.gz +0 -0
- package/dist/sankhyablocks/{p-b619ee23.js → p-36598f95.js} +1 -1
- package/dist/sankhyablocks/p-36598f95.js.gz +0 -0
- package/dist/sankhyablocks/p-3ab6df3d.entry.js.gz +0 -0
- package/dist/sankhyablocks/p-41793e17.entry.js.gz +0 -0
- package/dist/sankhyablocks/p-434817f0.entry.js.gz +0 -0
- package/dist/sankhyablocks/p-47178038.entry.js.gz +0 -0
- package/dist/sankhyablocks/p-4be4cdac.js +6 -0
- package/dist/sankhyablocks/p-4be4cdac.js.gz +0 -0
- package/dist/sankhyablocks/{p-eda55eef.entry.js → p-51cb6883.entry.js} +2 -2
- package/dist/sankhyablocks/p-51cb6883.entry.js.gz +0 -0
- package/dist/sankhyablocks/p-54a5d52a.entry.js.gz +0 -0
- package/dist/sankhyablocks/{p-47d24ac8.js → p-58fd3017.js} +1 -1
- package/dist/sankhyablocks/p-58fd3017.js.gz +0 -0
- package/dist/sankhyablocks/p-5f157b09.entry.js.gz +0 -0
- package/dist/sankhyablocks/p-619aeac8.entry.js.gz +0 -0
- package/dist/sankhyablocks/{p-0c55538b.entry.js → p-64c40311.entry.js} +1 -1
- package/dist/sankhyablocks/p-64c40311.entry.js.gz +0 -0
- package/dist/sankhyablocks/p-65650e05.entry.js.gz +0 -0
- package/dist/sankhyablocks/p-688dcb4c.js.gz +0 -0
- package/dist/sankhyablocks/p-6dc031de.js.gz +0 -0
- package/dist/sankhyablocks/{p-29643bef.entry.js → p-73fc8ec5.entry.js} +1 -1
- package/dist/sankhyablocks/p-73fc8ec5.entry.js.gz +0 -0
- package/dist/sankhyablocks/p-763edad2.js.gz +0 -0
- package/dist/sankhyablocks/{p-50306605.entry.js → p-7d09f66c.entry.js} +1 -1
- package/dist/sankhyablocks/p-7d09f66c.entry.js.gz +0 -0
- package/dist/sankhyablocks/p-7dd49d15.js.gz +0 -0
- package/dist/sankhyablocks/p-7e2ded86.entry.js.gz +0 -0
- package/dist/sankhyablocks/p-7e7a7473.js.gz +0 -0
- package/dist/sankhyablocks/p-8002dcd0.entry.js.gz +0 -0
- package/dist/sankhyablocks/p-82274cb0.js.gz +0 -0
- package/dist/sankhyablocks/p-89c92727.entry.js.gz +0 -0
- package/dist/sankhyablocks/p-8b4fc28f.entry.js.gz +0 -0
- package/dist/sankhyablocks/p-8c235d4c.entry.js.gz +0 -0
- package/dist/sankhyablocks/p-8d884fab.js.gz +0 -0
- package/dist/sankhyablocks/p-933c0c0b.js.gz +0 -0
- package/dist/sankhyablocks/p-9531fd46.entry.js.gz +0 -0
- package/dist/sankhyablocks/p-95ce311a.js.gz +0 -0
- package/dist/sankhyablocks/p-9d3a025a.entry.js.gz +0 -0
- package/dist/sankhyablocks/{p-53ae0296.entry.js → p-a33e803a.entry.js} +1 -1
- package/dist/sankhyablocks/p-a33e803a.entry.js.gz +0 -0
- package/dist/sankhyablocks/p-ac8d1cd6.entry.js.gz +0 -0
- package/dist/sankhyablocks/p-acca8a69.js.gz +0 -0
- package/dist/sankhyablocks/{p-89da2953.entry.js → p-b299dc14.entry.js} +1 -1
- package/dist/sankhyablocks/p-b299dc14.entry.js.gz +0 -0
- package/dist/sankhyablocks/p-badbd2ca.entry.js +1 -0
- package/dist/sankhyablocks/p-badbd2ca.entry.js.gz +0 -0
- package/dist/sankhyablocks/p-bf2acf72.entry.js.gz +0 -0
- package/dist/sankhyablocks/p-c2e468c9.entry.js.gz +0 -0
- package/dist/sankhyablocks/p-c8622597.entry.js.gz +0 -0
- package/dist/sankhyablocks/p-d2d301a6.js.gz +0 -0
- package/dist/sankhyablocks/p-d9804798.js.gz +0 -0
- package/dist/sankhyablocks/p-dc36cfbf.js.gz +0 -0
- package/dist/sankhyablocks/{p-0d2a2e9e.entry.js → p-e2bd42c0.entry.js} +1 -1
- package/dist/sankhyablocks/p-e2bd42c0.entry.js.gz +0 -0
- package/dist/sankhyablocks/p-e8512d4b.entry.js +1 -0
- package/dist/sankhyablocks/p-e8512d4b.entry.js.gz +0 -0
- package/dist/sankhyablocks/p-e9432f45.entry.js.gz +0 -0
- package/dist/sankhyablocks/{p-8cf0a9fe.entry.js → p-ea837487.entry.js} +1 -1
- package/dist/sankhyablocks/p-ea837487.entry.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-fa80e546.js.gz +0 -0
- package/dist/sankhyablocks/p-fa816fb2.js.gz +0 -0
- package/dist/sankhyablocks/p-fcc662c6.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/snk-application.d.ts +1 -1
- package/dist/types/components/snk-pesquisa/pesquisa-grid/pesquisa-grid.d.ts +38 -0
- package/dist/types/components/snk-pesquisa/pesquisa-tree/pesquisa-tree.d.ts +28 -0
- package/dist/types/components/snk-pesquisa/pesquisaHelper.d.ts +19 -0
- package/dist/types/components/snk-pesquisa/snk-pesquisa.d.ts +35 -1
- package/dist/types/components/snk-simple-form-config/snk-simple-form-config.d.ts +1 -0
- package/dist/types/components.d.ts +148 -13
- package/dist/types/lib/http/data-fetcher/fetchers/pesquisa-fetcher.d.ts +10 -1
- package/package.json +1 -1
- package/react/components.d.ts +2 -0
- package/react/components.js +2 -0
- package/react/components.js.map +1 -1
- package/dist/cjs/ContinuousInsertUtils-414b772c.js.gz +0 -0
- package/dist/cjs/dataunit-fetcher-228016f4.js.gz +0 -0
- package/dist/cjs/pesquisa-fetcher-2ec4811b.js.gz +0 -0
- package/dist/cjs/snk-data-unit-3d9b6ed4.js.gz +0 -0
- package/dist/cjs/snk-guides-viewer-421555af.js.gz +0 -0
- package/dist/components/pesquisa-fetcher.js +0 -172
- package/dist/components/pesquisa-fetcher.js.gz +0 -0
- package/dist/esm/ContinuousInsertUtils-bab45060.js.gz +0 -0
- package/dist/esm/dataunit-fetcher-56cb648b.js.gz +0 -0
- package/dist/esm/pesquisa-fetcher-24e5bba0.js.gz +0 -0
- package/dist/esm/snk-data-unit-9fa7d2b9.js.gz +0 -0
- package/dist/esm/snk-guides-viewer-b740a1fe.js.gz +0 -0
- package/dist/sankhyablocks/p-0c55538b.entry.js.gz +0 -0
- package/dist/sankhyablocks/p-0d2a2e9e.entry.js.gz +0 -0
- package/dist/sankhyablocks/p-29643bef.entry.js.gz +0 -0
- package/dist/sankhyablocks/p-342eeb3b.js.gz +0 -0
- package/dist/sankhyablocks/p-47d24ac8.js.gz +0 -0
- package/dist/sankhyablocks/p-50306605.entry.js.gz +0 -0
- package/dist/sankhyablocks/p-53ae0296.entry.js.gz +0 -0
- package/dist/sankhyablocks/p-690b4311.entry.js.gz +0 -0
- package/dist/sankhyablocks/p-72a451c8.js.gz +0 -0
- package/dist/sankhyablocks/p-89da2953.entry.js.gz +0 -0
- package/dist/sankhyablocks/p-8cf0a9fe.entry.js.gz +0 -0
- package/dist/sankhyablocks/p-b619ee23.js.gz +0 -0
- package/dist/sankhyablocks/p-c629c07a.entry.js.gz +0 -0
- package/dist/sankhyablocks/p-d1791da2.entry.js +0 -1
- package/dist/sankhyablocks/p-d1791da2.entry.js.gz +0 -0
- package/dist/sankhyablocks/p-e6683406.js +0 -6
- package/dist/sankhyablocks/p-e6683406.js.gz +0 -0
- package/dist/sankhyablocks/p-eda55eef.entry.js.gz +0 -0
@@ -5,9 +5,11 @@
|
|
5
5
|
* It contains typing information for all components that exist in this project.
|
6
6
|
*/
|
7
7
|
import { HTMLStencilElement, JSXBase } from "./stencil-public-runtime";
|
8
|
+
import { DataUnit, Filter, KeyboardManager, Record, UnitMetadata } from "@sankhyalabs/core";
|
9
|
+
import { IOption } from "@sankhyalabs/ezui/.diststorybook/types/components/ez-combo-box/ez-combo-box";
|
10
|
+
import { ITreeItem } from "@sankhyalabs/ezui/.diststorybook/types/components/ez-tree/interfaces/ITreeItem";
|
8
11
|
import { IAction } from "./components/snk-actions-button/actions/interfaces/IAction";
|
9
12
|
import { SnkMessageBuilder } from "./lib/message/SnkMessageBuilder";
|
10
|
-
import { DataUnit, Filter, KeyboardManager, Record, UnitMetadata } from "@sankhyalabs/core";
|
11
13
|
import { DataFetcher, Options } from "./lib/http/data-fetcher/DataFetcher";
|
12
14
|
import { AutorizationType } from "./lib/http/data-fetcher/fetchers/auth-fetcher";
|
13
15
|
import { AlertItem } from "@sankhyalabs/ezui/dist/types/components/ez-alert-list/ez-alert-list";
|
@@ -15,7 +17,7 @@ import { IAppletCallerParams } from "./lib/applet-caller/applet-caller";
|
|
15
17
|
import { IClientEventResponse } from "./lib/http/data-fetcher/interfaces/IClientEventResponse";
|
16
18
|
import { IDataFetcherRecaller } from "./lib/http/data-fetcher/recaller/IDataFetcherRecaller";
|
17
19
|
import { DialogType, MessageOptions } from "@sankhyalabs/ezui/dist/collection/utils";
|
18
|
-
import { IOption, ISearchArgument } from "@sankhyalabs/ezui/dist/types/components/ez-search/ez-search";
|
20
|
+
import { IOption as IOption1, ISearchArgument } from "@sankhyalabs/ezui/dist/types/components/ez-search/ez-search";
|
19
21
|
import { IRemoveSearchListener, ISearchListener, SearchCriteria } from "./lib/http/data-fetcher/fetchers/pesquisa-fetcher";
|
20
22
|
import { TFetcherType } from "./components/snk-attach/interfaces/TFetcherType";
|
21
23
|
import { AttachFetcherFacadeInterface, PresentationMode } from "./lib";
|
@@ -49,7 +51,7 @@ import { FilterFieldsDataSource, IFilterField, IFilterLink } from "./components/
|
|
49
51
|
import { IEzPopoverAnchorOptions } from "@sankhyalabs/ezui/dist/types/components/ez-popover/ez-popover";
|
50
52
|
import { SnkFilterItemConfig as SnkFilterItemConfig1 } from "./components/snk-filter-bar/filter-item/snk-filter-item";
|
51
53
|
import { ListItem as ListItem1 } from "./components/snk-filter-bar/filter-list/snk-filter-list";
|
52
|
-
import { IOption as
|
54
|
+
import { IOption as IOption2 } from "@sankhyalabs/ezui/dist/types/components/ez-combo-box/ez-combo-box";
|
53
55
|
import { IFormViewField } from "@sankhyalabs/ezui/dist/types/components/ez-form-view/interfaces/IFormViewField";
|
54
56
|
import { FormMetadata } from "@sankhyalabs/ezui/dist/collection/utils/form";
|
55
57
|
import { ICustomEditor as ICustomEditor1 } from "@sankhyalabs/ezui/dist/types/utils/customEditor/interfaces/ICustomEditor";
|
@@ -61,6 +63,43 @@ import { IBreadcrumbItem } from "@sankhyalabs/ezui/dist/types/components/ez-brea
|
|
61
63
|
import { ITab } from "./components/snk-form-config/subcomponents/snk-tab-config/snk-tab-config";
|
62
64
|
import { Action as Action1, CustomButton } from "./components/snk-taskbar/snk-taskbar";
|
63
65
|
export namespace Components {
|
66
|
+
interface PesquisaGrid {
|
67
|
+
/**
|
68
|
+
* Registros da grade
|
69
|
+
*/
|
70
|
+
"dataSource": Record[];
|
71
|
+
/**
|
72
|
+
* Campo que representa a descrição do registro
|
73
|
+
*/
|
74
|
+
"descriptionField": string;
|
75
|
+
/**
|
76
|
+
* Nome da entidade representada na grade
|
77
|
+
*/
|
78
|
+
"entityName": string;
|
79
|
+
/**
|
80
|
+
* Campos que representam as colunas da grade.
|
81
|
+
*/
|
82
|
+
"metadata": UnitMetadata;
|
83
|
+
/**
|
84
|
+
* Campo que representa a chave primária do registro
|
85
|
+
*/
|
86
|
+
"pkField": string;
|
87
|
+
}
|
88
|
+
interface PesquisaTree {
|
89
|
+
/**
|
90
|
+
* Define se permite seleção de items não analíticos
|
91
|
+
*/
|
92
|
+
"allowsNonAnalytic": boolean;
|
93
|
+
"applyFilter": () => Promise<void>;
|
94
|
+
/**
|
95
|
+
* Argumentos que serão usados ao chamar a função treeLoader.
|
96
|
+
*/
|
97
|
+
"argument": string;
|
98
|
+
/**
|
99
|
+
* Função responsável por carregar a árvore hierárquica do componente
|
100
|
+
*/
|
101
|
+
"treeLoader"?: (text: string) => Promise<Array<ITreeItem>>;
|
102
|
+
}
|
64
103
|
interface SnkActionsButton {
|
65
104
|
}
|
66
105
|
interface SnkActionsForm {
|
@@ -132,11 +171,11 @@ export namespace Components {
|
|
132
171
|
/**
|
133
172
|
* Obtém as opções em componentes de pesquisa Ex.: snk-config-options
|
134
173
|
*/
|
135
|
-
"executePreparedSearch": (mode: string, argument: string, options: any) => Promise<Array<
|
174
|
+
"executePreparedSearch": (mode: string, argument: string, options: any) => Promise<Array<IOption1> | IOption1>;
|
136
175
|
/**
|
137
176
|
* Obtém as opções em componentes de pesquisa Ex.: snk-config-options
|
138
177
|
*/
|
139
|
-
"executeSearch": (searchArgument: ISearchArgument, fieldName: string, dataUnit: DataUnit) => Promise<Array<
|
178
|
+
"executeSearch": (searchArgument: ISearchArgument, fieldName: string, dataUnit: DataUnit, ctxOptions?: any) => Promise<Array<IOption1> | IOption1>;
|
140
179
|
/**
|
141
180
|
* Com base em um campo realiza um "select distinct" respeitando os filtros atuais do dataUnit e um critério de filtro para a própria coluna.
|
142
181
|
*/
|
@@ -1172,7 +1211,7 @@ export namespace Components {
|
|
1172
1211
|
/**
|
1173
1212
|
* Define o valor do componente snk-filter-search
|
1174
1213
|
*/
|
1175
|
-
"value":
|
1214
|
+
"value": IOption2;
|
1176
1215
|
}
|
1177
1216
|
interface SnkFilterText {
|
1178
1217
|
/**
|
@@ -1633,13 +1672,25 @@ export namespace Components {
|
|
1633
1672
|
/**
|
1634
1673
|
* Controla o valor do componente.
|
1635
1674
|
*/
|
1636
|
-
"value": Array<
|
1675
|
+
"value": Array<IOption2|boolean|string|number|Date>;
|
1637
1676
|
}
|
1638
1677
|
interface SnkPesquisa {
|
1678
|
+
/**
|
1679
|
+
* Define se permite seleção de items não analíticos
|
1680
|
+
*/
|
1681
|
+
"allowsNonAnalytic": boolean;
|
1639
1682
|
/**
|
1640
1683
|
* Argumentos que serão usados ao chamar a função searchLoader.
|
1641
1684
|
*/
|
1642
1685
|
"argument": string;
|
1686
|
+
/**
|
1687
|
+
* Nome da entidade onde a pesquisa é aplicada.
|
1688
|
+
*/
|
1689
|
+
"entityName": string;
|
1690
|
+
/**
|
1691
|
+
* Define se a popup de pesquisa possuirá ou não modo Hierarquico.
|
1692
|
+
*/
|
1693
|
+
"isHierarchyEntity": boolean;
|
1643
1694
|
/**
|
1644
1695
|
* Função responsável em carregar os itens do componente snk-pesquisa.
|
1645
1696
|
*/
|
@@ -1647,7 +1698,11 @@ export namespace Components {
|
|
1647
1698
|
/**
|
1648
1699
|
* Função disparada ao selecionar um item.
|
1649
1700
|
*/
|
1650
|
-
"selectItem": (option:
|
1701
|
+
"selectItem": (option: IOption2) => void;
|
1702
|
+
/**
|
1703
|
+
* Função responsável por carregar a árvore hierárquica do componente
|
1704
|
+
*/
|
1705
|
+
"treeLoader"?: (text: string) => Promise<any>;
|
1651
1706
|
}
|
1652
1707
|
interface SnkPrintSelector {
|
1653
1708
|
"openPrintSelector": (printJobData: PendingPrintJobData) => Promise<PrintSelectorResponse>;
|
@@ -1656,7 +1711,7 @@ export namespace Components {
|
|
1656
1711
|
/**
|
1657
1712
|
* Determina a opção selecionada.
|
1658
1713
|
*/
|
1659
|
-
"selectedOption":
|
1714
|
+
"selectedOption": IOption2 | string;
|
1660
1715
|
}
|
1661
1716
|
interface SnkSimpleBar {
|
1662
1717
|
/**
|
@@ -1912,6 +1967,14 @@ export namespace Components {
|
|
1912
1967
|
interface TestePesquisa {
|
1913
1968
|
}
|
1914
1969
|
}
|
1970
|
+
export interface PesquisaGridCustomEvent<T> extends CustomEvent<T> {
|
1971
|
+
detail: T;
|
1972
|
+
target: HTMLPesquisaGridElement;
|
1973
|
+
}
|
1974
|
+
export interface PesquisaTreeCustomEvent<T> extends CustomEvent<T> {
|
1975
|
+
detail: T;
|
1976
|
+
target: HTMLPesquisaTreeElement;
|
1977
|
+
}
|
1915
1978
|
export interface SnkApplicationCustomEvent<T> extends CustomEvent<T> {
|
1916
1979
|
detail: T;
|
1917
1980
|
target: HTMLSnkApplicationElement;
|
@@ -2081,6 +2144,18 @@ export interface TaskbarActionsButtonCustomEvent<T> extends CustomEvent<T> {
|
|
2081
2144
|
target: HTMLTaskbarActionsButtonElement;
|
2082
2145
|
}
|
2083
2146
|
declare global {
|
2147
|
+
interface HTMLPesquisaGridElement extends Components.PesquisaGrid, HTMLStencilElement {
|
2148
|
+
}
|
2149
|
+
var HTMLPesquisaGridElement: {
|
2150
|
+
prototype: HTMLPesquisaGridElement;
|
2151
|
+
new (): HTMLPesquisaGridElement;
|
2152
|
+
};
|
2153
|
+
interface HTMLPesquisaTreeElement extends Components.PesquisaTree, HTMLStencilElement {
|
2154
|
+
}
|
2155
|
+
var HTMLPesquisaTreeElement: {
|
2156
|
+
prototype: HTMLPesquisaTreeElement;
|
2157
|
+
new (): HTMLPesquisaTreeElement;
|
2158
|
+
};
|
2084
2159
|
interface HTMLSnkActionsButtonElement extends Components.SnkActionsButton, HTMLStencilElement {
|
2085
2160
|
}
|
2086
2161
|
var HTMLSnkActionsButtonElement: {
|
@@ -2400,6 +2475,8 @@ declare global {
|
|
2400
2475
|
new (): HTMLTestePesquisaElement;
|
2401
2476
|
};
|
2402
2477
|
interface HTMLElementTagNameMap {
|
2478
|
+
"pesquisa-grid": HTMLPesquisaGridElement;
|
2479
|
+
"pesquisa-tree": HTMLPesquisaTreeElement;
|
2403
2480
|
"snk-actions-button": HTMLSnkActionsButtonElement;
|
2404
2481
|
"snk-actions-form": HTMLSnkActionsFormElement;
|
2405
2482
|
"snk-application": HTMLSnkApplicationElement;
|
@@ -2456,6 +2533,44 @@ declare global {
|
|
2456
2533
|
}
|
2457
2534
|
}
|
2458
2535
|
declare namespace LocalJSX {
|
2536
|
+
interface PesquisaGrid {
|
2537
|
+
/**
|
2538
|
+
* Registros da grade
|
2539
|
+
*/
|
2540
|
+
"dataSource"?: Record[];
|
2541
|
+
/**
|
2542
|
+
* Campo que representa a descrição do registro
|
2543
|
+
*/
|
2544
|
+
"descriptionField"?: string;
|
2545
|
+
/**
|
2546
|
+
* Nome da entidade representada na grade
|
2547
|
+
*/
|
2548
|
+
"entityName"?: string;
|
2549
|
+
/**
|
2550
|
+
* Campos que representam as colunas da grade.
|
2551
|
+
*/
|
2552
|
+
"metadata"?: UnitMetadata;
|
2553
|
+
"onPesquisaGridSelectItem"?: (event: PesquisaGridCustomEvent<IOption>) => void;
|
2554
|
+
/**
|
2555
|
+
* Campo que representa a chave primária do registro
|
2556
|
+
*/
|
2557
|
+
"pkField"?: string;
|
2558
|
+
}
|
2559
|
+
interface PesquisaTree {
|
2560
|
+
/**
|
2561
|
+
* Define se permite seleção de items não analíticos
|
2562
|
+
*/
|
2563
|
+
"allowsNonAnalytic"?: boolean;
|
2564
|
+
/**
|
2565
|
+
* Argumentos que serão usados ao chamar a função treeLoader.
|
2566
|
+
*/
|
2567
|
+
"argument"?: string;
|
2568
|
+
"onPesquisaTreeSelectItem"?: (event: PesquisaTreeCustomEvent<IOption>) => void;
|
2569
|
+
/**
|
2570
|
+
* Função responsável por carregar a árvore hierárquica do componente
|
2571
|
+
*/
|
2572
|
+
"treeLoader"?: (text: string) => Promise<Array<ITreeItem>>;
|
2573
|
+
}
|
2459
2574
|
interface SnkActionsButton {
|
2460
2575
|
}
|
2461
2576
|
interface SnkActionsForm {
|
@@ -3332,7 +3447,7 @@ declare namespace LocalJSX {
|
|
3332
3447
|
/**
|
3333
3448
|
* Define o valor do componente snk-filter-search
|
3334
3449
|
*/
|
3335
|
-
"value"?:
|
3450
|
+
"value"?: IOption2;
|
3336
3451
|
}
|
3337
3452
|
interface SnkFilterText {
|
3338
3453
|
/**
|
@@ -3768,13 +3883,25 @@ declare namespace LocalJSX {
|
|
3768
3883
|
/**
|
3769
3884
|
* Controla o valor do componente.
|
3770
3885
|
*/
|
3771
|
-
"value"?: Array<
|
3886
|
+
"value"?: Array<IOption2|boolean|string|number|Date>;
|
3772
3887
|
}
|
3773
3888
|
interface SnkPesquisa {
|
3889
|
+
/**
|
3890
|
+
* Define se permite seleção de items não analíticos
|
3891
|
+
*/
|
3892
|
+
"allowsNonAnalytic"?: boolean;
|
3774
3893
|
/**
|
3775
3894
|
* Argumentos que serão usados ao chamar a função searchLoader.
|
3776
3895
|
*/
|
3777
3896
|
"argument"?: string;
|
3897
|
+
/**
|
3898
|
+
* Nome da entidade onde a pesquisa é aplicada.
|
3899
|
+
*/
|
3900
|
+
"entityName"?: string;
|
3901
|
+
/**
|
3902
|
+
* Define se a popup de pesquisa possuirá ou não modo Hierarquico.
|
3903
|
+
*/
|
3904
|
+
"isHierarchyEntity"?: boolean;
|
3778
3905
|
/**
|
3779
3906
|
* Função responsável em carregar os itens do componente snk-pesquisa.
|
3780
3907
|
*/
|
@@ -3782,7 +3909,11 @@ declare namespace LocalJSX {
|
|
3782
3909
|
/**
|
3783
3910
|
* Função disparada ao selecionar um item.
|
3784
3911
|
*/
|
3785
|
-
"selectItem"?: (option:
|
3912
|
+
"selectItem"?: (option: IOption2) => void;
|
3913
|
+
/**
|
3914
|
+
* Função responsável por carregar a árvore hierárquica do componente
|
3915
|
+
*/
|
3916
|
+
"treeLoader"?: (text: string) => Promise<any>;
|
3786
3917
|
}
|
3787
3918
|
interface SnkPrintSelector {
|
3788
3919
|
}
|
@@ -3794,7 +3925,7 @@ declare namespace LocalJSX {
|
|
3794
3925
|
/**
|
3795
3926
|
* Determina a opção selecionada.
|
3796
3927
|
*/
|
3797
|
-
"selectedOption"?:
|
3928
|
+
"selectedOption"?: IOption2 | string;
|
3798
3929
|
}
|
3799
3930
|
interface SnkSimpleBar {
|
3800
3931
|
/**
|
@@ -4079,6 +4210,8 @@ declare namespace LocalJSX {
|
|
4079
4210
|
interface TestePesquisa {
|
4080
4211
|
}
|
4081
4212
|
interface IntrinsicElements {
|
4213
|
+
"pesquisa-grid": PesquisaGrid;
|
4214
|
+
"pesquisa-tree": PesquisaTree;
|
4082
4215
|
"snk-actions-button": SnkActionsButton;
|
4083
4216
|
"snk-actions-form": SnkActionsForm;
|
4084
4217
|
"snk-application": SnkApplication;
|
@@ -4138,6 +4271,8 @@ export { LocalJSX as JSX };
|
|
4138
4271
|
declare module "@stencil/core" {
|
4139
4272
|
export namespace JSX {
|
4140
4273
|
interface IntrinsicElements {
|
4274
|
+
"pesquisa-grid": LocalJSX.PesquisaGrid & JSXBase.HTMLAttributes<HTMLPesquisaGridElement>;
|
4275
|
+
"pesquisa-tree": LocalJSX.PesquisaTree & JSXBase.HTMLAttributes<HTMLPesquisaTreeElement>;
|
4141
4276
|
"snk-actions-button": LocalJSX.SnkActionsButton & JSXBase.HTMLAttributes<HTMLSnkActionsButtonElement>;
|
4142
4277
|
"snk-actions-form": LocalJSX.SnkActionsForm & JSXBase.HTMLAttributes<HTMLSnkActionsFormElement>;
|
4143
4278
|
"snk-application": LocalJSX.SnkApplication & JSXBase.HTMLAttributes<HTMLSnkApplicationElement>;
|
@@ -1,4 +1,7 @@
|
|
1
|
-
import {
|
1
|
+
import { IGridConfig } from '@sankhyalabs/ezui/.diststorybook/types/components/ez-grid/controller/EzGridController';
|
2
|
+
import { EzGridColumnConfig } from '@sankhyalabs/ezui/src/components/ez-grid/controller/EzGridController';
|
3
|
+
import { ITreeItem } from '@sankhyalabs/ezui/src/components/ez-tree/interfaces/ITreeItem';
|
4
|
+
import { DataType } from '@sankhyalabs/core';
|
2
5
|
export declare class PesquisaFetcher {
|
3
6
|
private _defaultPageSize;
|
4
7
|
private _templateByQuery;
|
@@ -9,6 +12,12 @@ export declare class PesquisaFetcher {
|
|
9
12
|
loadAdvancedSearch(entityName: string, argument: string, criteria?: SearchCriteria, searchOptions?: SearchOptions): Promise<any>;
|
10
13
|
addSearchListener(entityName: string, dataUnitID: DataUnitID, listener: ISearchListener): IRemoveSearchListener;
|
11
14
|
private applySearchListener;
|
15
|
+
loadPresentationConfig(entityName: string): Promise<string>;
|
16
|
+
savePresentationConfig(entityName: string, lastUsedMode: string): Promise<void>;
|
17
|
+
loadPesquisaGridConfig(entityName: string): Promise<IGridConfig | undefined>;
|
18
|
+
savePesquisaGridConfig(entityName: string, columns: Array<EzGridColumnConfig>): Promise<void>;
|
19
|
+
loadTree(entityName: string, argument: string, criteria?: SearchCriteria, searchOptions?: SearchOptions): Promise<Array<ITreeItem>>;
|
20
|
+
private buildLoadTreeRequestBody;
|
12
21
|
}
|
13
22
|
export interface SearchCriteria {
|
14
23
|
expression: string;
|
package/package.json
CHANGED
package/react/components.d.ts
CHANGED
@@ -1,5 +1,7 @@
|
|
1
1
|
/// <reference types="react" />
|
2
2
|
import type { JSX } from '@sankhyalabs/sankhyablocks';
|
3
|
+
export declare const PesquisaGrid: import("react").ForwardRefExoticComponent<JSX.PesquisaGrid & Omit<import("react").HTMLAttributes<HTMLPesquisaGridElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLPesquisaGridElement>>;
|
4
|
+
export declare const PesquisaTree: import("react").ForwardRefExoticComponent<JSX.PesquisaTree & Omit<import("react").HTMLAttributes<HTMLPesquisaTreeElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLPesquisaTreeElement>>;
|
3
5
|
export declare const SnkActionsButton: import("react").ForwardRefExoticComponent<JSX.SnkActionsButton & Omit<import("react").HTMLAttributes<HTMLSnkActionsButtonElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLSnkActionsButtonElement>>;
|
4
6
|
export declare const SnkActionsForm: import("react").ForwardRefExoticComponent<JSX.SnkActionsForm & Omit<import("react").HTMLAttributes<HTMLSnkActionsFormElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLSnkActionsFormElement>>;
|
5
7
|
export declare const SnkApplication: import("react").ForwardRefExoticComponent<JSX.SnkApplication & Omit<import("react").HTMLAttributes<HTMLSnkApplicationElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLSnkApplicationElement>>;
|
package/react/components.js
CHANGED
@@ -2,6 +2,8 @@
|
|
2
2
|
/* tslint:disable */
|
3
3
|
/* auto-generated react proxies */
|
4
4
|
import { createReactComponent } from './react-component-lib';
|
5
|
+
export const PesquisaGrid = /*@__PURE__*/ createReactComponent('pesquisa-grid');
|
6
|
+
export const PesquisaTree = /*@__PURE__*/ createReactComponent('pesquisa-tree');
|
5
7
|
export const SnkActionsButton = /*@__PURE__*/ createReactComponent('snk-actions-button');
|
6
8
|
export const SnkActionsForm = /*@__PURE__*/ createReactComponent('snk-actions-form');
|
7
9
|
export const SnkApplication = /*@__PURE__*/ createReactComponent('snk-application');
|
package/react/components.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"components.js","sourceRoot":"","sources":["../src/components.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB,kCAAkC;AAClC,OAAO,EAAE,oBAAoB,EAAE,MAAM,uBAAuB,CAAC;AAM7D,MAAM,CAAC,MAAM,gBAAgB,GAAG,aAAa,CAAA,oBAAoB,CAAoD,oBAAoB,CAAC,CAAC;AAC3I,MAAM,CAAC,MAAM,cAAc,GAAG,aAAa,CAAA,oBAAoB,CAAgD,kBAAkB,CAAC,CAAC;AACnI,MAAM,CAAC,MAAM,cAAc,GAAG,aAAa,CAAA,oBAAoB,CAAgD,iBAAiB,CAAC,CAAC;AAClI,MAAM,CAAC,MAAM,SAAS,GAAG,aAAa,CAAA,oBAAoB,CAAsC,YAAY,CAAC,CAAC;AAC9G,MAAM,CAAC,MAAM,gBAAgB,GAAG,aAAa,CAAA,oBAAoB,CAAoD,oBAAoB,CAAC,CAAC;AAC3I,MAAM,CAAC,MAAM,gBAAgB,GAAG,aAAa,CAAA,oBAAoB,CAAoD,oBAAoB,CAAC,CAAC;AAC3I,MAAM,CAAC,MAAM,eAAe,GAAG,aAAa,CAAA,oBAAoB,CAAkD,kBAAkB,CAAC,CAAC;AACtI,MAAM,CAAC,MAAM,OAAO,GAAG,aAAa,CAAA,oBAAoB,CAAkC,UAAU,CAAC,CAAC;AACtG,MAAM,CAAC,MAAM,qBAAqB,GAAG,aAAa,CAAA,oBAAoB,CAA8D,0BAA0B,CAAC,CAAC;AAChK,MAAM,CAAC,MAAM,eAAe,GAAG,aAAa,CAAA,oBAAoB,CAAkD,mBAAmB,CAAC,CAAC;AACvI,MAAM,CAAC,MAAM,WAAW,GAAG,aAAa,CAAA,oBAAoB,CAA0C,eAAe,CAAC,CAAC;AACvH,MAAM,CAAC,MAAM,aAAa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vI,MAAM,CAAC,MAAM,qBAAqB,GAAG,aAAa,CAAA,oBAAoB,CAA8D,yBAAyB,CAAC,CAAC;AAC/J,MAAM,CAAC,MAAM,2BAA2B,GAAG,aAAa,CAAA,oBAAoB,CAA0E,gCAAgC,CAAC,CAAC;AACxL,MAAM,CAAC,MAAM,WAAW,GAAG,aAAa,CAAA,oBAAoB,CAA0C,cAAc,CAAC,CAAC;AACtH,MAAM,CAAC,MAAM,gBAAgB,GAAG,aAAa,CAAA,oBAAoB,CAAoD,oBAAoB,CAAC,CAAC;AAC3I,MAAM,CAAC,MAAM,YAAY,GAAG,aAAa,CAAA,oBAAoB,CAA4C,gBAAgB,CAAC,CAAC;AAC3H,MAAM,CAAC,MAAM,YAAY,GAAG,aAAa,CAAA,oBAAoB,CAA4C,gBAAgB,CAAC,CAAC;AAC3H,MAAM,CAAC,MAAM,aAAa,GAAG,aAAa,CAAA,oBAAoB,CAA8C,iBAAiB,CAAC,CAAC;AAC/H,MAAM,CAAC,MAAM,mBAAmB,GAAG,aAAa,CAAA,oBAAoB,CAA0D,wBAAwB,CAAC,CAAC;AACxJ,MAAM,CAAC,MAAM,YAAY,GAAG,aAAa,CAAA,oBAAoB,CAA4C,gBAAgB,CAAC,CAAC;AAC3H,MAAM,CAAC,MAAM,UAAU,GAAG,aAAa,CAAA,oBAAoB,CAAwC,aAAa,CAAC,CAAC;AAClH,MAAM,CAAC,MAAM,oBAAoB,GAAG,aAAa,CAAA,oBAAoB,CAA4D,wBAAwB,CAAC,CAAC;AAC3J,MAAM,CAAC,MAAM,aAAa,GAAG,aAAa,CAAA,oBAAoB,CAA8C,gBAAgB,CAAC,CAAC"}
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
@@ -1,172 +0,0 @@
|
|
1
|
-
import { DataType, ApplicationContext, ErrorException } from '@sankhyalabs/core';
|
2
|
-
import { d as dist, D as DataFetcher } from './DataFetcher.js';
|
3
|
-
|
4
|
-
class PesquisaFetcher {
|
5
|
-
constructor() {
|
6
|
-
this._defaultPageSize = 100;
|
7
|
-
this._templateByQuery = new Map();
|
8
|
-
this._searchListenersByDataUnit = new Map();
|
9
|
-
this.buldTemplates();
|
10
|
-
}
|
11
|
-
buldTemplates() {
|
12
|
-
this._templateByQuery.set("search", dist.gql `query($entityName: String! $argument: String $criteria: InputSearchCriteria $options: InputSearchOptions) {
|
13
|
-
$queryAlias$: search(entityName: $entityName argument: $argument criteria: $criteria options: $options){
|
14
|
-
value
|
15
|
-
label
|
16
|
-
}
|
17
|
-
}`);
|
18
|
-
}
|
19
|
-
loadSearchOptions(entityName, argument, criteria, options) {
|
20
|
-
var _a;
|
21
|
-
const cleanText = (argument === null || argument === void 0 ? void 0 : argument.toString().trim()) || undefined;
|
22
|
-
argument = isNaN(Number(cleanText)) && cleanText ? `%${cleanText}` : cleanText;
|
23
|
-
criteria === null || criteria === void 0 ? void 0 : criteria.params.forEach(param => {
|
24
|
-
if (param.dataType === DataType.OBJECT) {
|
25
|
-
param.value = JSON.stringify(param.value);
|
26
|
-
}
|
27
|
-
});
|
28
|
-
const listenerResult = this.applySearchListener(SearchListenerType.beforeSearch, entityName, argument, criteria, options);
|
29
|
-
const values = {
|
30
|
-
argument: (listenerResult === null || listenerResult === void 0 ? void 0 : listenerResult.argument) || argument,
|
31
|
-
entityName,
|
32
|
-
criteria: (listenerResult === null || listenerResult === void 0 ? void 0 : listenerResult.criteria) || criteria,
|
33
|
-
options: (listenerResult === null || listenerResult === void 0 ? void 0 : listenerResult.searchOptions) || options,
|
34
|
-
};
|
35
|
-
if (values.options) {
|
36
|
-
(_a = values.options) === null || _a === void 0 ? true : delete _a.dataUnitId;
|
37
|
-
}
|
38
|
-
return new Promise((resolve, reject) => {
|
39
|
-
DataFetcher.get()
|
40
|
-
.callGraphQL({
|
41
|
-
values,
|
42
|
-
query: this._templateByQuery.get("search"),
|
43
|
-
})
|
44
|
-
.then((result) => {
|
45
|
-
resolve(result);
|
46
|
-
})
|
47
|
-
.catch((error) => {
|
48
|
-
reject(error);
|
49
|
-
});
|
50
|
-
});
|
51
|
-
}
|
52
|
-
loadAdvancedSearch(entityName, argument, criteria, searchOptions) {
|
53
|
-
var _a, _b, _c, _d, _e;
|
54
|
-
const listenerResult = this.applySearchListener(SearchListenerType.beforeSearch, entityName, argument, criteria, searchOptions);
|
55
|
-
const values = {
|
56
|
-
argument: (listenerResult === null || listenerResult === void 0 ? void 0 : listenerResult.argument) || argument,
|
57
|
-
criteria: (listenerResult === null || listenerResult === void 0 ? void 0 : listenerResult.criteria) || criteria,
|
58
|
-
searchOptions: Object.assign(Object.assign({}, searchOptions), listenerResult === null || listenerResult === void 0 ? void 0 : listenerResult.searchOptions),
|
59
|
-
};
|
60
|
-
const serviceName = "PesquisaSP.getSuggestion";
|
61
|
-
const externalCriteria = {
|
62
|
-
query: {
|
63
|
-
$: (_a = values.criteria) === null || _a === void 0 ? void 0 : _a.expression
|
64
|
-
}
|
65
|
-
};
|
66
|
-
if (((_c = (_b = values.criteria) === null || _b === void 0 ? void 0 : _b.params) === null || _c === void 0 ? void 0 : _c.length) > 0) {
|
67
|
-
externalCriteria.params = {
|
68
|
-
param: values.criteria.params.map(param => {
|
69
|
-
let value = param.value;
|
70
|
-
if (typeof value === "string") {
|
71
|
-
const match = /CTX\{([^}]+)\}/.exec(value);
|
72
|
-
if (match) {
|
73
|
-
value = ApplicationContext.getContextValue(`__SNK__APPLICATION__FILTER__CONTEXT(${match[1]})__`);
|
74
|
-
}
|
75
|
-
}
|
76
|
-
if (param.dataType === DataType.NUMBER && value === undefined) {
|
77
|
-
throw new ErrorException("Falha detectada", `O campo ${param.name} deve ser informado.`);
|
78
|
-
}
|
79
|
-
let type = param.dataType;
|
80
|
-
if (type === DataType.OBJECT) {
|
81
|
-
value = value.value;
|
82
|
-
type = "S";
|
83
|
-
}
|
84
|
-
else {
|
85
|
-
type = convertParamType(param.dataType);
|
86
|
-
}
|
87
|
-
return { $: value, type };
|
88
|
-
})
|
89
|
-
};
|
90
|
-
}
|
91
|
-
const options = searchOptions != undefined
|
92
|
-
? Object.assign(Object.assign({}, values === null || values === void 0 ? void 0 : values.searchOptions), { "pkFieldName": searchOptions.codeFieldName, "label": searchOptions.descriptionFieldName, "fieldName": searchOptions.codeFieldName, "useDescriptionOptions": false, "enableRowsCounter": true }) : undefined;
|
93
|
-
const reqBody = {
|
94
|
-
"serviceName": serviceName,
|
95
|
-
"requestBody": {
|
96
|
-
"criteria": Object.assign({ "entityName": entityName, "compacted": false, "ignoreEntityCriteria": (_d = options === null || options === void 0 ? void 0 : options.ignoreEntityCriteria) !== null && _d !== void 0 ? _d : false, "limit": this._defaultPageSize, "query": { "$": values.argument }, "orderByDesc": false, "externalCriteria": externalCriteria, "localEntityName": (_e = values.searchOptions) === null || _e === void 0 ? void 0 : _e.rootEntity }, { options }),
|
97
|
-
"clientEventList": {
|
98
|
-
"clientEvent": []
|
99
|
-
}
|
100
|
-
}
|
101
|
-
};
|
102
|
-
const urlOptions = {
|
103
|
-
urlParams: {
|
104
|
-
"quietMode": true
|
105
|
-
}
|
106
|
-
};
|
107
|
-
return new Promise((resolve, reject) => {
|
108
|
-
DataFetcher.get()
|
109
|
-
.callServiceBroker("PesquisaSP.getSuggestion", JSON.stringify(reqBody), urlOptions)
|
110
|
-
.then(result => resolve(result))
|
111
|
-
.catch(error => reject(error));
|
112
|
-
});
|
113
|
-
}
|
114
|
-
addSearchListener(entityName, dataUnitID, listener) {
|
115
|
-
var _a;
|
116
|
-
const dataUnitSearchListeners = this._searchListenersByDataUnit.get(dataUnitID) || [];
|
117
|
-
const entityListener = dataUnitSearchListeners.find(currentListener => currentListener.entity === entityName);
|
118
|
-
if (!entityListener) {
|
119
|
-
this._searchListenersByDataUnit.set(dataUnitID, [...dataUnitSearchListeners, { entity: entityName, listener }]);
|
120
|
-
}
|
121
|
-
else {
|
122
|
-
for (const type of Object.keys(listener)) {
|
123
|
-
if (type in entityListener.listener) {
|
124
|
-
const listenerFunctionIsEquals = ((_a = entityListener.listener[type]) === null || _a === void 0 ? void 0 : _a.toString()) === listener[type].toString();
|
125
|
-
if (listenerFunctionIsEquals)
|
126
|
-
continue;
|
127
|
-
entityListener.listener[type] = listener[type];
|
128
|
-
}
|
129
|
-
}
|
130
|
-
}
|
131
|
-
return () => {
|
132
|
-
const newListeners = dataUnitSearchListeners.filter(currentListener => currentListener.entity !== entityName);
|
133
|
-
if (!newListeners.length) {
|
134
|
-
this._searchListenersByDataUnit.delete(dataUnitID);
|
135
|
-
return;
|
136
|
-
}
|
137
|
-
this._searchListenersByDataUnit.set(dataUnitID, newListeners);
|
138
|
-
};
|
139
|
-
}
|
140
|
-
applySearchListener(listenerType, entityName, argument, criteria, searchOptions) {
|
141
|
-
var _a;
|
142
|
-
const dataUnitId = searchOptions === null || searchOptions === void 0 ? void 0 : searchOptions.dataUnitId;
|
143
|
-
if (!dataUnitId)
|
144
|
-
return;
|
145
|
-
const entityListener = (_a = this._searchListenersByDataUnit.get(dataUnitId)) === null || _a === void 0 ? void 0 : _a.find(({ entity }) => entity === entityName);
|
146
|
-
if (!entityListener)
|
147
|
-
return;
|
148
|
-
const { listener } = entityListener;
|
149
|
-
if (!(listenerType in listener))
|
150
|
-
return;
|
151
|
-
return listener[listenerType]({ argument, criteria, searchOptions });
|
152
|
-
}
|
153
|
-
}
|
154
|
-
function convertParamType(dataType) {
|
155
|
-
//Alerta: Cuidado pra não contaminar o DataType com a implementação
|
156
|
-
//atual da pesquisa... em geral, somente inteiros,
|
157
|
-
//data (com ou sem hora) e string são realmente relevantes
|
158
|
-
switch (dataType) {
|
159
|
-
case DataType.NUMBER:
|
160
|
-
return "I";
|
161
|
-
case DataType.DATE:
|
162
|
-
return "D";
|
163
|
-
default:
|
164
|
-
return "S";
|
165
|
-
}
|
166
|
-
}
|
167
|
-
var SearchListenerType;
|
168
|
-
(function (SearchListenerType) {
|
169
|
-
SearchListenerType["beforeSearch"] = "beforeSearch";
|
170
|
-
})(SearchListenerType || (SearchListenerType = {}));
|
171
|
-
|
172
|
-
export { PesquisaFetcher as P };
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
@@ -1 +0,0 @@
|
|
1
|
-
import{r as s,h as e,H as i,g as t}from"./p-d2d301a6.js";import{ObjectUtils as r,StringUtils as a,ElementIDUtils as o}from"@sankhyalabs/core";const n=class{constructor(e){s(this,e),this._mdByName={},this._startHighlightTag="<span class='card-item__highlight'>",this._endHighlightTag="</span>",this._specialCharsRegex=/[[.\-\$\+\*,_\&\(\)%\/\\#@!:\|\=\'\"]/gim,this._charsWithAccentuation="ÁÉÍÓÚ_ÃÕ_ÂÊÎÔÛ_ÀÈÌÒÙ_Ü_Ç_áéíóú_ãõ_âêîôû_àèìòù_ü_ç",this._charsWithoutAccentuation="AEIOU_AO_AEIOU_AEIOU_U_C_aeiou_ao_aeiou_aeiou_u_c",this._changeDeboucingTimeout=null,this._limitCharsToSearch=3,this._deboucingTime=450,this._itemList=void 0,this._startLoading=!1,this.searchLoader=void 0,this.selectItem=void 0,this.argument=void 0}observeArgument(){this._textInput&&(this._textInput.value=this.argument)}clearSearch(){this.argument="",this._itemList=void 0}buildDetails(s,e){let i={};for(let t=0;t<s.length;t++){const r=s[t],a=e[r.fieldName];i[r.description]=this.highlightValue(e.__matchFields,r.options&&r.options[a]||a,s,!0)}return i}buildFirstFields(s,e,i=6){return s&&Array.isArray(s)&&s.forEach((s=>{let i=this.removeReference(e,this._mdByName[s]);i&&e.unshift(i)})),e=e.slice(0,i)}doSearch(s){this.searchLoader&&"function"==typeof this.searchLoader&&(this._startLoading=!0,this.searchLoader(s).then((s=>{if(this._startLoading=!1,s){let e=(s=r.stringToObject(s.json.$)).descriptionField,i=s.pkField;if(i){let t=[];s.data.forEach((r=>{var a;let o=this.filterFieldsMetadata(s,r),n=this.buildFirstFields(r.__matchFields,o),l={key:this.highlightValue(r.__matchFields,null===(a=r[i])||void 0===a?void 0:a.toString(),n,!0),title:e?this.highlightValue(r.__matchFields,r[e],n,!0):"",details:this.buildDetails(n,r)};t.push(l)})),this._itemList=t}}})).catch((s=>{this._startLoading=!1,this._itemList=[],console.warn(s)})))}filterFieldsMetadata(s,e){return s.fieldsMetadata.filter((i=>{let t=!a.isEmpty(e[i.fieldName])&&!1!==i.visible&&"B"!==i.type&&s.pkField!==i.fieldName&&s.descriptionField!==i.fieldName&&(i.isPrimaryKey||!i.isLinkField)&&!("S"===i.type&&"H"===i.presentationType);return t&&(this._mdByName[i.fieldName]=i),("string"!=typeof e[i.fieldName]||!(e[i.fieldName].indexOf("<img")>-1||e[i.fieldName].indexOf("<svg")>-1))&&t}))}removeAtIndex(s,e){if(e>=0&&e<s.length)return s.splice(e,1)[0]}removeReference(s,e){let i=this.indexOf(s,e);return this.removeAtIndex(s,i)}indexOf(s,e){let i=-1;return Array.isArray(s)&&this.find(s,((s,t)=>(i=t,this.equals(e,s)))),i}equals(s,e){return r.objectToString(s)===r.objectToString(e)}find(s,e){if(s)for(let i=0,t=s.length;i<t;i++)if(e(s[i],i,s))return s[i]}highlightValue(s,e,i,t){let r=this.replaceHtmlEntities(e);if(this.argument&&(t||this.isIn(s,i.fieldName))){const s=this.getArgumentNumber();let e=(isNaN(s)?this.argument:s.toString()).split(/%|,|\s+/),t=0,a=this.replaceAccentuatedChars(r);e.forEach((s=>{if(s){s=this.replaceAccentuatedChars(s);let e=this.getSpecialCharacters(s);null!=e&&e.length>0&&(s=this.removeSpecialCharacters(s)),(i.mask||"CGC_CPF"===i.uiType||"Phone"===i.uiType)&&(s=s.split("").join("\\.?\\-?\\/?\\(?\\)?"));let o=new RegExp(s,"ig");o.lastIndex=t;let n=o.exec(a);if(n&&n.length>0){t=n.index;let s=n[0].length,e=r.substring(t,t+s),i=(null==e?void 0:e.trim())?this._startHighlightTag+e+this._endHighlightTag:"",o=r.substring(0,t),l=r.substring(t+s);r=o+i+l,t+=i.length,a=this.replaceAccentuatedChars(r)}}}))}return r}replaceHtmlEntities(s){return null==s?s:String(s).replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""")}replaceAccentuatedChars(s){return null==s?s:this.replaceToSpace(s,["&","<",">","""]).replace(/[^\w ]/g,(s=>{let e=this._charsWithAccentuation.indexOf(s);return e>-1&&(s=this._charsWithoutAccentuation.charAt(e)),s||""}))}replaceToSpace(s,e=[]){return null==s||e.forEach((e=>{const i=new RegExp(e,"g");let t="";for(let s=0;s<e.length;s++)t+=" ";s=String(s).replace(i,t)})),s}isIn(s,e){return this.indexOf(s,e)>-1}getSpecialCharacters(s){let e,i=[];for(;e=this._specialCharsRegex.exec(s);)i.push(s[e.index]);return i}removeSpecialCharacters(s){return this.getSpecialCharacters(s).forEach((e=>{s=this.replaceAll(s,e,"")})),s}replaceAll(s,e,i){let t=(null!=s?s:"").indexOf(e);for(;t>-1;)t=(s=s.replace(e,i)).indexOf(e);return s}getArgumentNumber(){return Number(this.argument||void 0)}createOption(s){let{key:e,title:i}=s;const t=new RegExp(this._startHighlightTag,"g"),r=new RegExp(this._endHighlightTag,"g");i=a.decodeHtmlEntities(i);const o={value:null==e?void 0:e.replace(t,"").replace(r,""),label:null==i?void 0:i.replace(t,"").replace(r,"")};this.selectItem(o)}onChangeValue(s){if(this.clearDeboucingTimeout(),this._startLoading)return void(this._changeDeboucingTimeout=setTimeout((()=>{this.onChangeValue(s)}),this._deboucingTime));this.argument=(s.detail||"").trim();const e=this.getArgumentNumber();this.argument&&(!isNaN(e)||this.argument.length>=this._limitCharsToSearch)?this._changeDeboucingTimeout=setTimeout((()=>{this.doSearch(isNaN(e)?this.argument:e.toString())}),this._deboucingTime):this._itemList=void 0}clearDeboucingTimeout(){this._changeDeboucingTimeout&&(clearTimeout(this._changeDeboucingTimeout),this._changeDeboucingTimeout=void 0)}onClickSearch(){this.doSearch((this.argument||"").trim())}getMessageView(){return this._startLoading?"Aguarde, buscando registros...":this._itemList?this._itemList.length>=1?`${this._itemList.length} ${this._itemList.length>1?"registros encontrados":"registro encontrado"}`:"Nenhum registro encontrado":"Os resultados de sua pesquisa aparecerão aqui..."}componentDidLoad(){o.addIDInfo(this._element)}render(){var s;return e(i,null,e("div",{class:"snk-pesquisa"},e("div",{class:"snk-pesquisa__input"},e("ez-text-input",{label:"Buscar",class:"ez-margin-right--medium",canShowError:!1,ref:s=>this._textInput=s,onEzChange:s=>this.onChangeValue(s),value:this.argument,"data-element-id":"searchInput"},e("ez-icon",{slot:"leftIcon",iconName:"search"}),this.argument&&(null===(s=this._textInput)||void 0===s?void 0:s.value)?e("button",{slot:"rightIcon",class:"snk-pesquisa__btn",onClick:()=>this.clearSearch()},e("ez-icon",{iconName:"close"})):void 0),e("ez-button",{class:"ez-button--primary",label:"Pesquisar",onClick:()=>this.onClickSearch()})),e("label",{class:"snk-pesquisa__records"},this.getMessageView()),e("div",{class:"snk-pesquisa__content"},this._itemList&&this._itemList.map((s=>e("ez-card-item",{onEzClick:s=>this.createOption(s.detail),item:s}))))))}get _element(){return t(this)}static get watchers(){return{argument:["observeArgument"]}}};n.style=".sc-snk-pesquisa-h{--snk-pesquisa--font-size:var(--text--medium, 14px);--snk-pesquisa--font-family:var(--font-pattern, Arial);--snk-pesquisa--font-weight:var(--text-weight--medium, 400);--snk-pesquisa__records--color:var(--text--primary, #626e82);--snk-pesquisa__records--padding-vertical:var(--space--medium, 12px);--snk-pesquisa__content--padding-right:var(--space--small, 6px);--snk-pesquisa__btn--color:var(--title--primary, #2B3A54);--snk-pesquisa__btn-disabled--color:var(--text--disable, #AFB6C0);--snk-pesquisa__btn-hover--color:var(--color--primary, #4e4e4e);--snk-pesquisa__scrollbar--color-default:var(--scrollbar--default, #626e82);--snk-pesquisa__scrollbar--color-background:var(--scrollbar--background, #E5EAF0);--snk-pesquisa__scrollbar--color-hover:var(--scrollbar--hover, #2B3A54);--snk-pesquisa__scrollbar--color-clicked:var(--scrollbar--clicked, #a2abb9);--snk-pesquisa__scrollbar--border-radius:var(--border--radius-small, 6px);--snk-pesquisa__scrollbar--width:var(--space--medium, 12px);height:100%;display:flex;flex-direction:column;overflow-y:auto}.snk-pesquisa.sc-snk-pesquisa{display:flex;flex-direction:column;height:100%}.snk-pesquisa__input.sc-snk-pesquisa{display:flex;width:100%;box-sizing:border-box;padding-top:4px;padding-right:4px}.snk-pesquisa__input.sc-snk-pesquisa ez-icon.sc-snk-pesquisa{--ez-icon--color:inherit;font-weight:var(--text-weight--large, 600)}.snk-pesquisa__content.sc-snk-pesquisa{display:flex;flex-direction:column;overflow-y:auto;scrollbar-width:thin;scrollbar-color:var(--snk-pesquisa__scrollbar--color-clicked) var(--snk-pesquisa__scrollbar--color-background);padding-right:var(--snk-pesquisa__content--padding-right)}.snk-pesquisa__content.sc-snk-pesquisa::-webkit-scrollbar{background-color:var(--snk-pesquisa__scrollbar--color-background);width:var(--snk-pesquisa__scrollbar--width);max-width:var(--snk-pesquisa__scrollbar--width);min-width:var(--snk-pesquisa__scrollbar--width)}.snk-pesquisa__content.sc-snk-pesquisa::-webkit-scrollbar-track{background-color:var(--snk-pesquisa__scrollbar--color-background);border-radius:var(--snk-pesquisa__scrollbar--border-radius)}.snk-pesquisa__content.sc-snk-pesquisa::-webkit-scrollbar-thumb{background-color:var(--snk-pesquisa__scrollbar--color-default);border-radius:var(--snk-pesquisa__scrollbar--border-radius)}.snk-pesquisa__content.sc-snk-pesquisa::-webkit-scrollbar-thumb:vertical:hover,.snk-pesquisa__content.sc-snk-pesquisa::-webkit-scrollbar-thumb:horizontal:hover{background-color:var(--snk-pesquisa__scrollbar--color-hover)}.snk-pesquisa__content.sc-snk-pesquisa::-webkit-scrollbar-thumb:vertical:active,.snk-pesquisa__content.sc-snk-pesquisa::-webkit-scrollbar-thumb:horizontal:active{background-color:var(--snk-pesquisa__scrollbar--color-clicked)}.snk-pesquisa__records.sc-snk-pesquisa{font-family:var(--snk-pesquisa--font-family);font-weight:var(--snk-pesquisa--font-weight);font-size:var(--snk-pesquisa--font-size);color:var(--snk-pesquisa__records--color);padding-bottom:var(--snk-pesquisa__records--padding-vertical);padding-top:var(--snk-pesquisa__records--padding-vertical)}.snk-pesquisa__btn.sc-snk-pesquisa{outline:none;border:none;background:none;cursor:pointer;color:var(--snk-pesquisa__btn--color)}.snk-pesquisa__btn.sc-snk-pesquisa:disabled{cursor:unset;color:var(--snk-pesquisa__btn-disabled--color)}.snk-pesquisa__btn.sc-snk-pesquisa:disabled:hover{cursor:unset;color:var(--snk-pesquisa__btn-disabled--color)}.snk-pesquisa__btn.sc-snk-pesquisa:hover{color:var(--snk-pesquisa__btn-hover--color)}";export{n as snk_pesquisa}
|
Binary file
|