@sankhyalabs/sankhyablocks 0.0.0-hotfix-ga-KB-5516.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +75 -0
- package/dist/cjs/AuthorizationConfig-79ffae4b.js +7 -0
- package/dist/cjs/ConfigStorage-c31ad5d9.js +310 -0
- package/dist/cjs/DataFetcher-04c70ba9.js +7060 -0
- package/dist/cjs/ParamType-90b440a0.js +13 -0
- package/dist/cjs/PersonalizedFilterUtils-1aeb625d.js +220 -0
- package/dist/cjs/SnkFormConfigManager-ed4e2bcd.js +136 -0
- package/dist/cjs/SnkMessageBuilder-d0abb63d.js +651 -0
- package/dist/cjs/SnkMultiSelectionListDataSource-804ff4c7.js +34 -0
- package/dist/cjs/_commonjsHelpers-537d719a.js +20 -0
- package/dist/cjs/constants-d187e03e.js +101 -0
- package/dist/cjs/dataunit-fetcher-9eb08230.js +355 -0
- package/dist/cjs/draggable.bundle-82a25c06.js +6886 -0
- package/dist/cjs/filter-bar-config-fetcher-47cd77d6.js +155 -0
- package/dist/cjs/filter-item-type.enum-aa823a00.js +17 -0
- package/dist/cjs/filter-type.enum-b14ce507.js +11 -0
- package/dist/cjs/form-config-fetcher-56442594.js +181 -0
- package/dist/cjs/index-0e663819.js +33 -0
- package/dist/cjs/index-102ba62d.js +201 -0
- package/dist/cjs/index-8d94b7e0.js +7 -0
- package/dist/cjs/index-c5771aba.js +44 -0
- package/dist/cjs/index-f9e81701.js +2135 -0
- package/dist/cjs/index.cjs.js +2 -0
- package/dist/cjs/loader.cjs.js +22 -0
- package/dist/cjs/pesquisa-fetcher-cab451b6.js +167 -0
- package/dist/cjs/presentationMode-52ec3bdd.js +7 -0
- package/dist/cjs/resource-fetcher-260e98a4.js +68 -0
- package/dist/cjs/sankhyablocks.cjs.js +23 -0
- package/dist/cjs/snk-actions-button.cjs.entry.js +704 -0
- package/dist/cjs/snk-actions-form.cjs.entry.js +200 -0
- package/dist/cjs/snk-application.cjs.entry.js +941 -0
- package/dist/cjs/snk-attach.cjs.entry.js +452 -0
- package/dist/cjs/snk-client-confirm.cjs.entry.js +52 -0
- package/dist/cjs/snk-config-options.cjs.entry.js +238 -0
- package/dist/cjs/snk-configurator.cjs.entry.js +99 -0
- package/dist/cjs/snk-crud.cjs.entry.js +176 -0
- package/dist/cjs/snk-data-exporter.cjs.entry.js +519 -0
- package/dist/cjs/snk-data-unit-d38cdf04.js +447 -0
- package/dist/cjs/snk-data-unit.cjs.entry.js +13 -0
- package/dist/cjs/snk-detail-view.cjs.entry.js +265 -0
- package/dist/cjs/snk-entity-list.cjs.entry.js +118 -0
- package/dist/cjs/snk-exporter-email-sender.cjs.entry.js +132 -0
- package/dist/cjs/snk-expression-group_2.cjs.entry.js +545 -0
- package/dist/cjs/snk-field-config.cjs.entry.js +60 -0
- package/dist/cjs/snk-filter-advanced-mode_2.cjs.entry.js +60 -0
- package/dist/cjs/snk-filter-bar.cjs.entry.js +509 -0
- package/dist/cjs/snk-filter-binary-select.cjs.entry.js +91 -0
- package/dist/cjs/snk-filter-detail.cjs.entry.js +177 -0
- package/dist/cjs/snk-filter-field-search_2.cjs.entry.js +408 -0
- package/dist/cjs/snk-filter-item.cjs.entry.js +281 -0
- package/dist/cjs/snk-filter-list.cjs.entry.js +152 -0
- package/dist/cjs/snk-filter-modal-item.cjs.entry.js +125 -0
- package/dist/cjs/snk-filter-modal.cjs.entry.js +217 -0
- package/dist/cjs/snk-filter-multi-select.cjs.entry.js +43 -0
- package/dist/cjs/snk-filter-number.cjs.entry.js +44 -0
- package/dist/cjs/snk-filter-period.cjs.entry.js +73 -0
- package/dist/cjs/snk-filter-search.cjs.entry.js +54 -0
- package/dist/cjs/snk-filter-text.cjs.entry.js +36 -0
- package/dist/cjs/snk-form-config.cjs.entry.js +990 -0
- package/dist/cjs/snk-form-summary.cjs.entry.js +61 -0
- package/dist/cjs/snk-form-view.cjs.entry.js +99 -0
- package/dist/cjs/snk-form.cjs.entry.js +86 -0
- package/dist/cjs/snk-grid-config.cjs.entry.js +483 -0
- package/dist/cjs/snk-grid.cjs.entry.js +329 -0
- package/dist/cjs/snk-guides-viewer-3d064ee1.js +333 -0
- package/dist/cjs/snk-guides-viewer.cjs.entry.js +27 -0
- package/dist/cjs/snk-personalized-filter-editor.cjs.entry.js +210 -0
- package/dist/cjs/snk-personalized-filter.cjs.entry.js +304 -0
- package/dist/cjs/snk-pesquisa.cjs.entry.js +324 -0
- package/dist/cjs/snk-print-selector.cjs.entry.js +168 -0
- package/dist/cjs/snk-select-box.cjs.entry.js +25 -0
- package/dist/cjs/snk-simple-bar.cjs.entry.js +45 -0
- package/dist/cjs/snk-simple-crud.cjs.entry.js +333 -0
- package/dist/cjs/snk-tab-config.cjs.entry.js +331 -0
- package/dist/cjs/snk-taskbar.cjs.entry.js +221 -0
- package/dist/cjs/taskbar-elements-b98dd6e9.js +121 -0
- package/dist/cjs/taskbar-processor-bce3f499.js +49 -0
- package/dist/cjs/teste-pesquisa.cjs.entry.js +37 -0
- package/dist/collection/collection-manifest.json +171 -0
- package/dist/collection/components/snk-actions-button/actions/enum/ActionsType.js +8 -0
- package/dist/collection/components/snk-actions-button/actions/enum/ParamType.js +11 -0
- package/dist/collection/components/snk-actions-button/actions/enum/RefreshType.js +7 -0
- package/dist/collection/components/snk-actions-button/actions/executor/java.executor.js +22 -0
- package/dist/collection/components/snk-actions-button/actions/executor/javascript.executor.js +20 -0
- package/dist/collection/components/snk-actions-button/actions/executor/launch-screen.executor.js +42 -0
- package/dist/collection/components/snk-actions-button/actions/executor/procedure.executor.js +26 -0
- package/dist/collection/components/snk-actions-button/actions/factory/executor.factory.js +26 -0
- package/dist/collection/components/snk-actions-button/actions/index.js +343 -0
- package/dist/collection/components/snk-actions-button/actions/interfaces/IAction.js +7 -0
- package/dist/collection/components/snk-actions-button/actions/interfaces/IExecSource.js +1 -0
- package/dist/collection/components/snk-actions-button/actions/interfaces/IExecuteActions.js +1 -0
- package/dist/collection/components/snk-actions-button/actions/interfaces/IExecuteActionsProps.js +1 -0
- package/dist/collection/components/snk-actions-button/actions/interfaces/IResultParam.js +1 -0
- package/dist/collection/components/snk-actions-button/clientEvent/index.js +87 -0
- package/dist/collection/components/snk-actions-button/clientEvent/interfaces/IClientEventConfirm.js +1 -0
- package/dist/collection/components/snk-actions-button/snk-actions-button.css +38 -0
- package/dist/collection/components/snk-actions-button/snk-actions-button.js +139 -0
- package/dist/collection/components/snk-actions-button/subcomponents/snk-actions-form.js +263 -0
- package/dist/collection/components/snk-actions-button/subcomponents/snk-client-confirm.js +134 -0
- package/dist/collection/components/snk-application/errorhandler/snk-error-handler.js +60 -0
- package/dist/collection/components/snk-application/snk-application.css +5 -0
- package/dist/collection/components/snk-application/snk-application.js +1904 -0
- package/dist/collection/components/snk-attach/interfaces/index.js +1 -0
- package/dist/collection/components/snk-attach/snk-attach.css +8 -0
- package/dist/collection/components/snk-attach/snk-attach.js +203 -0
- package/dist/collection/components/snk-attach/structure/crud-config-builder.js +37 -0
- package/dist/collection/components/snk-attach/structure/data-unit-builder.js +105 -0
- package/dist/collection/components/snk-attach/structure/index.js +3 -0
- package/dist/collection/components/snk-attach/structure/taskbar-builder.js +47 -0
- package/dist/collection/components/snk-configurator/AuthorizationConfig.js +5 -0
- package/dist/collection/components/snk-configurator/snk-configurator.css +159 -0
- package/dist/collection/components/snk-configurator/snk-configurator.js +293 -0
- package/dist/collection/components/snk-crud/snk-crud.css +6 -0
- package/dist/collection/components/snk-crud/snk-crud.js +512 -0
- package/dist/collection/components/snk-crud/subcomponents/CardFormResizeObserver.js +26 -0
- package/dist/collection/components/snk-crud/subcomponents/GuideBuilder.js +43 -0
- package/dist/collection/components/snk-crud/subcomponents/snk-detail-view/snk-detail-view.css +26 -0
- package/dist/collection/components/snk-crud/subcomponents/snk-detail-view/snk-detail-view.js +526 -0
- package/dist/collection/components/snk-crud/subcomponents/snk-form-summary.css +37 -0
- package/dist/collection/components/snk-crud/subcomponents/snk-form-summary.js +91 -0
- package/dist/collection/components/snk-crud/subcomponents/snk-form-view.css +52 -0
- package/dist/collection/components/snk-crud/subcomponents/snk-form-view.js +376 -0
- package/dist/collection/components/snk-crud/subcomponents/snk-guides-viewer.css +91 -0
- package/dist/collection/components/snk-crud/subcomponents/snk-guides-viewer.js +671 -0
- package/dist/collection/components/snk-data-exporter/data/attachment.js +1 -0
- package/dist/collection/components/snk-data-exporter/data/email.js +1 -0
- package/dist/collection/components/snk-data-exporter/data/export-config.js +1 -0
- package/dist/collection/components/snk-data-exporter/data/export-result.js +1 -0
- package/dist/collection/components/snk-data-exporter/data/report.js +1 -0
- package/dist/collection/components/snk-data-exporter/exporter-email-sender/email-info-step.js +7 -0
- package/dist/collection/components/snk-data-exporter/exporter-email-sender/options-step.js +21 -0
- package/dist/collection/components/snk-data-exporter/exporter-email-sender/snk-exporter-email-sender.js +172 -0
- package/dist/collection/components/snk-data-exporter/interfaces/IExporterProvider.js +1 -0
- package/dist/collection/components/snk-data-exporter/interfaces/IRecordID.js +1 -0
- package/dist/collection/components/snk-data-exporter/interfaces/ISelectedID.js +1 -0
- package/dist/collection/components/snk-data-exporter/snk-data-exporter.css +38 -0
- package/dist/collection/components/snk-data-exporter/snk-data-exporter.js +375 -0
- package/dist/collection/components/snk-data-exporter/structure/ItemBuilder.js +140 -0
- package/dist/collection/components/snk-data-unit/snk-data-unit.css +6 -0
- package/dist/collection/components/snk-data-unit/snk-data-unit.js +781 -0
- package/dist/collection/components/snk-entity-list/snk-entity-list.css +35 -0
- package/dist/collection/components/snk-entity-list/snk-entity-list.js +257 -0
- package/dist/collection/components/snk-filter-bar/filter-item/dataunitfilter/data-unit-filter-builder.js +128 -0
- package/dist/collection/components/snk-filter-bar/filter-item/editors/enum/presentationMode.js +5 -0
- package/dist/collection/components/snk-filter-bar/filter-item/editors/snk-filter-binary-select.js +197 -0
- package/dist/collection/components/snk-filter-bar/filter-item/editors/snk-filter-multi-select.js +123 -0
- package/dist/collection/components/snk-filter-bar/filter-item/editors/snk-filter-number.js +124 -0
- package/dist/collection/components/snk-filter-bar/filter-item/editors/snk-filter-period.js +191 -0
- package/dist/collection/components/snk-filter-bar/filter-item/editors/snk-filter-search.js +137 -0
- package/dist/collection/components/snk-filter-bar/filter-item/editors/snk-filter-text.js +96 -0
- package/dist/collection/components/snk-filter-bar/filter-item/editors/snk-personalized-filter-editor/snk-personalized-filter-editor.css +66 -0
- package/dist/collection/components/snk-filter-bar/filter-item/editors/snk-personalized-filter-editor/snk-personalized-filter-editor.js +396 -0
- package/dist/collection/components/snk-filter-bar/filter-item/filter-item-type.enum.js +13 -0
- package/dist/collection/components/snk-filter-bar/filter-item/snk-filter-detail.js +250 -0
- package/dist/collection/components/snk-filter-bar/filter-item/snk-filter-item.js +415 -0
- package/dist/collection/components/snk-filter-bar/filter-list/snk-filter-list.js +323 -0
- package/dist/collection/components/snk-filter-bar/filter-modal/snk-filter-modal.css +35 -0
- package/dist/collection/components/snk-filter-bar/filter-modal/snk-filter-modal.js +345 -0
- package/dist/collection/components/snk-filter-bar/filter-modal/subcomponents/snk-filter-modal-item.css +8 -0
- package/dist/collection/components/snk-filter-bar/filter-modal/subcomponents/snk-filter-modal-item.js +214 -0
- package/dist/collection/components/snk-filter-bar/snk-filter-bar.css +184 -0
- package/dist/collection/components/snk-filter-bar/snk-filter-bar.js +463 -0
- package/dist/collection/components/snk-filter-bar/types/custom-element-filter.js +1 -0
- package/dist/collection/components/snk-filter-bar/types/filter-type.enum.js +7 -0
- package/dist/collection/components/snk-filter-bar/utils/SnkFilterModalFactory.js +42 -0
- package/dist/collection/components/snk-filter-bar/utils/filters-mock.js +411 -0
- package/dist/collection/components/snk-filter-field-search/interfaces/index.js +5 -0
- package/dist/collection/components/snk-filter-field-search/snk-filter-field-search.css +41 -0
- package/dist/collection/components/snk-filter-field-search/snk-filter-field-search.js +335 -0
- package/dist/collection/components/snk-filter-field-search/subcomponents/index.js +1 -0
- package/dist/collection/components/snk-filter-field-search/subcomponents/list-item.js +24 -0
- package/dist/collection/components/snk-form/SnkFormConfigManager.js +131 -0
- package/dist/collection/components/snk-form/snk-form.css +11 -0
- package/dist/collection/components/snk-form/snk-form.js +216 -0
- package/dist/collection/components/snk-form/subcomponents/snk-config-options/snk-config-options.css +16 -0
- package/dist/collection/components/snk-form/subcomponents/snk-config-options/snk-config-options.js +343 -0
- package/dist/collection/components/snk-form/subcomponents/snk-field-config/snk-field-config.css +219 -0
- package/dist/collection/components/snk-form/subcomponents/snk-field-config/snk-field-config.js +184 -0
- package/dist/collection/components/snk-form/subcomponents/snk-form-config/snk-form-config.css +237 -0
- package/dist/collection/components/snk-form/subcomponents/snk-form-config/snk-form-config.js +1107 -0
- package/dist/collection/components/snk-form/subcomponents/snk-tab-config/snk-tab-config.css +323 -0
- package/dist/collection/components/snk-form/subcomponents/snk-tab-config/snk-tab-config.js +525 -0
- package/dist/collection/components/snk-grid/filtercolumn/SnkMultiSelectionListDataSource.js +29 -0
- package/dist/collection/components/snk-grid/snk-grid.css +28 -0
- package/dist/collection/components/snk-grid/snk-grid.js +623 -0
- package/dist/collection/components/snk-grid/subcomponents/snk-grid-config/snk-grid-config.css +181 -0
- package/dist/collection/components/snk-grid/subcomponents/snk-grid-config/snk-grid-config.js +616 -0
- package/dist/collection/components/snk-grid/subcomponents/snk-select-box/snk-select-box.css +9 -0
- package/dist/collection/components/snk-grid/subcomponents/snk-select-box/snk-select-box.js +70 -0
- package/dist/collection/components/snk-personalized-filter/interfaces/IExpressionGroup.js +0 -0
- package/dist/collection/components/snk-personalized-filter/interfaces/IExpressionItem.js +5 -0
- package/dist/collection/components/snk-personalized-filter/interfaces/IParameter.js +1 -0
- package/dist/collection/components/snk-personalized-filter/interfaces/IPersonalizedFilter.js +1 -0
- package/dist/collection/components/snk-personalized-filter/interfaces/ISystemFilterConfig.js +1 -0
- package/dist/collection/components/snk-personalized-filter/interfaces/IUserFilterConfig.js +1 -0
- package/dist/collection/components/snk-personalized-filter/interfaces/index.js +39 -0
- package/dist/collection/components/snk-personalized-filter/snk-personalized-filter.css +45 -0
- package/dist/collection/components/snk-personalized-filter/snk-personalized-filter.js +440 -0
- package/dist/collection/components/snk-personalized-filter/subcomponents/snk-expression-group/snk-expression-group.css +73 -0
- package/dist/collection/components/snk-personalized-filter/subcomponents/snk-expression-group/snk-expression-group.js +448 -0
- package/dist/collection/components/snk-personalized-filter/subcomponents/snk-expression-item/filter-operands/filter-operands.js +26 -0
- package/dist/collection/components/snk-personalized-filter/subcomponents/snk-expression-item/snk-expression-item.css +111 -0
- package/dist/collection/components/snk-personalized-filter/subcomponents/snk-expression-item/snk-expression-item.js +412 -0
- package/dist/collection/components/snk-personalized-filter/subcomponents/snk-filter-advanced-mode/snk-filter-advanced-mode.css +10 -0
- package/dist/collection/components/snk-personalized-filter/subcomponents/snk-filter-advanced-mode/snk-filter-advanced-mode.js +88 -0
- package/dist/collection/components/snk-personalized-filter/subcomponents/snk-filter-assistent-mode/snk-filter-assistent-mode.css +66 -0
- package/dist/collection/components/snk-personalized-filter/subcomponents/snk-filter-assistent-mode/snk-filter-assistent-mode.js +158 -0
- package/dist/collection/components/snk-personalized-filter/subcomponents/snk-filter-param-config/snk-filter-param-config.css +12 -0
- package/dist/collection/components/snk-personalized-filter/subcomponents/snk-filter-param-config/snk-filter-param-config.js +291 -0
- package/dist/collection/components/snk-personalized-filter/subcomponents/snk-filter-param-config/utils/PersonalizedFilterUtils.js +215 -0
- package/dist/collection/components/snk-pesquisa/snk-pesquisa.css +151 -0
- package/dist/collection/components/snk-pesquisa/snk-pesquisa.js +394 -0
- package/dist/collection/components/snk-print-selector/snk-print-selector.css +35 -0
- package/dist/collection/components/snk-print-selector/snk-print-selector.js +203 -0
- package/dist/collection/components/snk-simple-bar/snk-simple-bar.css +32 -0
- package/dist/collection/components/snk-simple-bar/snk-simple-bar.js +146 -0
- package/dist/collection/components/snk-simple-crud/snk-simple-crud.css +22 -0
- package/dist/collection/components/snk-simple-crud/snk-simple-crud.js +554 -0
- package/dist/collection/components/snk-taskbar/elements/taskbar-elements.js +114 -0
- package/dist/collection/components/snk-taskbar/processor/taskbar-processor.js +45 -0
- package/dist/collection/components/snk-taskbar/snk-taskbar.css +3 -0
- package/dist/collection/components/snk-taskbar/snk-taskbar.js +427 -0
- package/dist/collection/components/teste-pesquisa/teste-pesquisa.css +3 -0
- package/dist/collection/components/teste-pesquisa/teste-pesquisa.js +36 -0
- package/dist/collection/index.js +1 -0
- package/dist/collection/lib/@types/index.js +31 -0
- package/dist/collection/lib/applet-caller/applet-caller.js +6 -0
- package/dist/collection/lib/auth/mgeauthorization.module.js +1 -0
- package/dist/collection/lib/configs/ConfigStorage.js +95 -0
- package/dist/collection/lib/dataUnit/InMemoryLoader.js +133 -0
- package/dist/collection/lib/http/data-fetcher/DataFetcher.js +394 -0
- package/dist/collection/lib/http/data-fetcher/fetchers/application-config-fetcher.js +23 -0
- package/dist/collection/lib/http/data-fetcher/fetchers/attach-fetcher.js +136 -0
- package/dist/collection/lib/http/data-fetcher/fetchers/auth-fetcher.js +29 -0
- package/dist/collection/lib/http/data-fetcher/fetchers/dataunit-fetcher.js +352 -0
- package/dist/collection/lib/http/data-fetcher/fetchers/fecthAttach/interfaces/IDelete.js +1 -0
- package/dist/collection/lib/http/data-fetcher/fetchers/fecthAttach/interfaces/IDownloadKey.js +1 -0
- package/dist/collection/lib/http/data-fetcher/fetchers/fecthAttach/interfaces/ISave.js +6 -0
- package/dist/collection/lib/http/data-fetcher/fetchers/fecthAttach/interfaces/index.js +3 -0
- package/dist/collection/lib/http/data-fetcher/fetchers/fetchDataExporter/index.js +33 -0
- package/dist/collection/lib/http/data-fetcher/fetchers/fetchDataExporter/interfaces/IExporterColumnMetadata.js +1 -0
- package/dist/collection/lib/http/data-fetcher/fetchers/fetchDataExporter/interfaces/IFetchDataExporterParams.js +1 -0
- package/dist/collection/lib/http/data-fetcher/fetchers/fetchDataExporter/interfaces/IFetchDataExporterResponse.js +1 -0
- package/dist/collection/lib/http/data-fetcher/fetchers/fetchDataExporter/interfaces/IPersonalizedReport.js +1 -0
- package/dist/collection/lib/http/data-fetcher/fetchers/fetchDataExporter/permission-export-pdf.js +7 -0
- package/dist/collection/lib/http/data-fetcher/fetchers/fetchDataExporter/personalized-reports-fetcher.js +18 -0
- package/dist/collection/lib/http/data-fetcher/fetchers/filter-bar-config-fetcher.js +151 -0
- package/dist/collection/lib/http/data-fetcher/fetchers/form-config-fetcher.js +177 -0
- package/dist/collection/lib/http/data-fetcher/fetchers/grid-config-fetcher.js +40 -0
- package/dist/collection/lib/http/data-fetcher/fetchers/parameters-fecher.js +66 -0
- package/dist/collection/lib/http/data-fetcher/fetchers/personalized-filter-fetcher.js +169 -0
- package/dist/collection/lib/http/data-fetcher/fetchers/pesquisa-fetcher.js +163 -0
- package/dist/collection/lib/http/data-fetcher/fetchers/resource-fetcher.js +64 -0
- package/dist/collection/lib/http/data-fetcher/fetchers/totals-fetcher.js +63 -0
- package/dist/collection/lib/http/data-fetcher/interfaces/IClientEventResponse.js +1 -0
- package/dist/collection/lib/http/data-fetcher/recaller/GraphQLRecaller.js +14 -0
- package/dist/collection/lib/http/data-fetcher/recaller/IDataFetcherRecaller.js +1 -0
- package/dist/collection/lib/http/data-fetcher/recaller/ServiceBrokerRecaller.js +15 -0
- package/dist/collection/lib/http/data-fetcher/state/LoadStateManager.js +66 -0
- package/dist/collection/lib/index.js +4 -0
- package/dist/collection/lib/licenses/sankhyalicense.module.js +1 -0
- package/dist/collection/lib/message/SnkMessageBuilder.js +163 -0
- package/dist/collection/lib/message/resources/crud-utils.msg.js +4 -0
- package/dist/collection/lib/message/resources/file-viewer.msg.js +10 -0
- package/dist/collection/lib/message/resources/snk-actions-button.msg.js +27 -0
- package/dist/collection/lib/message/resources/snk-attach.msg.js +27 -0
- package/dist/collection/lib/message/resources/snk-configurator.msg.js +8 -0
- package/dist/collection/lib/message/resources/snk-crud.msg.js +10 -0
- package/dist/collection/lib/message/resources/snk-data-exporter.msg.js +32 -0
- package/dist/collection/lib/message/resources/snk-data-unit.msg.js +31 -0
- package/dist/collection/lib/message/resources/snk-entity-list.msg.js +3 -0
- package/dist/collection/lib/message/resources/snk-exporter.msg.js +21 -0
- package/dist/collection/lib/message/resources/snk-filter-bar.msg.js +58 -0
- package/dist/collection/lib/message/resources/snk-filter-field-search.msg.js +7 -0
- package/dist/collection/lib/message/resources/snk-filter-param-config.msg.js +18 -0
- package/dist/collection/lib/message/resources/snk-form.msg.js +62 -0
- package/dist/collection/lib/message/resources/snk-grid.msg.js +26 -0
- package/dist/collection/lib/message/resources/snk-personalized-filter.msg.js +83 -0
- package/dist/collection/lib/message/resources/snk-print-selector.msg.js +23 -0
- package/dist/collection/lib/message/resources/snk-simple-bar.msg.js +3 -0
- package/dist/collection/lib/message/resources/snk-taskbar.msg.js +18 -0
- package/dist/collection/lib/store/index.js +6 -0
- package/dist/collection/lib/utils/CrudUtils.js +73 -0
- package/dist/collection/lib/utils/PrintUtils.js +201 -0
- package/dist/collection/lib/utils/constants.js +102 -0
- package/dist/collection/lib/utils/fileViewer/index.js +11 -0
- package/dist/collection/lib/utils/fileViewer/interfaces/IFileViewerParams.js +1 -0
- package/dist/collection/lib/utils/pesquisa.js +16 -0
- package/dist/collection/lib/utils/urlutils.js +25 -0
- package/dist/collection/lib/workspace/workspace.js +19 -0
- package/dist/components/AuthorizationConfig.js +7 -0
- package/dist/components/ConfigStorage.js +306 -0
- package/dist/components/DataFetcher.js +7055 -0
- package/dist/components/ParamType.js +13 -0
- package/dist/components/PersonalizedFilterUtils.js +260 -0
- package/dist/components/SnkFormConfigManager.js +134 -0
- package/dist/components/SnkMessageBuilder.js +629 -0
- package/dist/components/SnkMultiSelectionListDataSource.js +78 -0
- package/dist/components/_commonjsHelpers.js +17 -0
- package/dist/components/constants.js +90 -0
- package/dist/components/dataunit-fetcher.js +353 -0
- package/dist/components/filter-bar-config-fetcher.js +153 -0
- package/dist/components/filter-item-type.enum.js +15 -0
- package/dist/components/form-config-fetcher.js +179 -0
- package/dist/components/index.d.ts +79 -0
- package/dist/components/index.js +50 -0
- package/dist/components/index2.js +33 -0
- package/dist/components/index3.js +199 -0
- package/dist/components/pesquisa-fetcher.js +165 -0
- package/dist/components/presentationMode.js +7 -0
- package/dist/components/resource-fetcher.js +66 -0
- package/dist/components/snk-actions-button.d.ts +11 -0
- package/dist/components/snk-actions-button.js +6 -0
- package/dist/components/snk-actions-button2.js +718 -0
- package/dist/components/snk-actions-form.d.ts +11 -0
- package/dist/components/snk-actions-form.js +218 -0
- package/dist/components/snk-application.d.ts +11 -0
- package/dist/components/snk-application.js +6 -0
- package/dist/components/snk-application2.js +997 -0
- package/dist/components/snk-attach.d.ts +11 -0
- package/dist/components/snk-attach.js +6 -0
- package/dist/components/snk-attach2.js +504 -0
- package/dist/components/snk-client-confirm.d.ts +11 -0
- package/dist/components/snk-client-confirm.js +71 -0
- package/dist/components/snk-config-options.d.ts +11 -0
- package/dist/components/snk-config-options.js +6 -0
- package/dist/components/snk-config-options2.js +254 -0
- package/dist/components/snk-configurator.d.ts +11 -0
- package/dist/components/snk-configurator.js +6 -0
- package/dist/components/snk-configurator2.js +118 -0
- package/dist/components/snk-crud.d.ts +11 -0
- package/dist/components/snk-crud.js +384 -0
- package/dist/components/snk-data-exporter.d.ts +11 -0
- package/dist/components/snk-data-exporter.js +6 -0
- package/dist/components/snk-data-exporter2.js +539 -0
- package/dist/components/snk-data-unit.d.ts +11 -0
- package/dist/components/snk-data-unit.js +6 -0
- package/dist/components/snk-data-unit2.js +471 -0
- package/dist/components/snk-detail-view.d.ts +11 -0
- package/dist/components/snk-detail-view.js +6 -0
- package/dist/components/snk-detail-view2.js +920 -0
- package/dist/components/snk-entity-list.d.ts +11 -0
- package/dist/components/snk-entity-list.js +138 -0
- package/dist/components/snk-exporter-email-sender.d.ts +11 -0
- package/dist/components/snk-exporter-email-sender.js +6 -0
- package/dist/components/snk-exporter-email-sender2.js +149 -0
- package/dist/components/snk-expression-group.d.ts +11 -0
- package/dist/components/snk-expression-group.js +6 -0
- package/dist/components/snk-expression-group2.js +296 -0
- package/dist/components/snk-expression-item.d.ts +11 -0
- package/dist/components/snk-expression-item.js +6 -0
- package/dist/components/snk-expression-item2.js +332 -0
- package/dist/components/snk-field-config.d.ts +11 -0
- package/dist/components/snk-field-config.js +6 -0
- package/dist/components/snk-field-config2.js +76 -0
- package/dist/components/snk-filter-advanced-mode.d.ts +11 -0
- package/dist/components/snk-filter-advanced-mode.js +6 -0
- package/dist/components/snk-filter-advanced-mode2.js +39 -0
- package/dist/components/snk-filter-assistent-mode.d.ts +11 -0
- package/dist/components/snk-filter-assistent-mode.js +6 -0
- package/dist/components/snk-filter-assistent-mode2.js +77 -0
- package/dist/components/snk-filter-bar.d.ts +11 -0
- package/dist/components/snk-filter-bar.js +6 -0
- package/dist/components/snk-filter-bar2.js +583 -0
- package/dist/components/snk-filter-binary-select.d.ts +11 -0
- package/dist/components/snk-filter-binary-select.js +109 -0
- package/dist/components/snk-filter-detail.d.ts +11 -0
- package/dist/components/snk-filter-detail.js +6 -0
- package/dist/components/snk-filter-detail2.js +187 -0
- package/dist/components/snk-filter-field-search.d.ts +11 -0
- package/dist/components/snk-filter-field-search.js +6 -0
- package/dist/components/snk-filter-field-search2.js +228 -0
- package/dist/components/snk-filter-item.d.ts +11 -0
- package/dist/components/snk-filter-item.js +6 -0
- package/dist/components/snk-filter-item2.js +303 -0
- package/dist/components/snk-filter-list.d.ts +11 -0
- package/dist/components/snk-filter-list.js +176 -0
- package/dist/components/snk-filter-modal-item.d.ts +11 -0
- package/dist/components/snk-filter-modal-item.js +6 -0
- package/dist/components/snk-filter-modal-item2.js +140 -0
- package/dist/components/snk-filter-modal.d.ts +11 -0
- package/dist/components/snk-filter-modal.js +242 -0
- package/dist/components/snk-filter-multi-select.d.ts +11 -0
- package/dist/components/snk-filter-multi-select.js +60 -0
- package/dist/components/snk-filter-number.d.ts +11 -0
- package/dist/components/snk-filter-number.js +61 -0
- package/dist/components/snk-filter-param-config.d.ts +11 -0
- package/dist/components/snk-filter-param-config.js +6 -0
- package/dist/components/snk-filter-param-config2.js +229 -0
- package/dist/components/snk-filter-period.d.ts +11 -0
- package/dist/components/snk-filter-period.js +92 -0
- package/dist/components/snk-filter-search.d.ts +11 -0
- package/dist/components/snk-filter-search.js +71 -0
- package/dist/components/snk-filter-text.d.ts +11 -0
- package/dist/components/snk-filter-text.js +52 -0
- package/dist/components/snk-form-config.d.ts +11 -0
- package/dist/components/snk-form-config.js +6 -0
- package/dist/components/snk-form-config2.js +1027 -0
- package/dist/components/snk-form-summary.d.ts +11 -0
- package/dist/components/snk-form-summary.js +6 -0
- package/dist/components/snk-form-summary2.js +75 -0
- package/dist/components/snk-form-view.d.ts +11 -0
- package/dist/components/snk-form-view.js +6 -0
- package/dist/components/snk-form-view2.js +129 -0
- package/dist/components/snk-form.d.ts +11 -0
- package/dist/components/snk-form.js +126 -0
- package/dist/components/snk-grid-config.d.ts +11 -0
- package/dist/components/snk-grid-config.js +6 -0
- package/dist/components/snk-grid-config2.js +499 -0
- package/dist/components/snk-grid.d.ts +11 -0
- package/dist/components/snk-grid.js +6 -0
- package/dist/components/snk-grid2.js +451 -0
- package/dist/components/snk-guides-viewer.d.ts +11 -0
- package/dist/components/snk-guides-viewer.js +6 -0
- package/dist/components/snk-personalized-filter-editor.d.ts +11 -0
- package/dist/components/snk-personalized-filter-editor.js +230 -0
- package/dist/components/snk-personalized-filter.d.ts +11 -0
- package/dist/components/snk-personalized-filter.js +6 -0
- package/dist/components/snk-personalized-filter2.js +357 -0
- package/dist/components/snk-pesquisa.d.ts +11 -0
- package/dist/components/snk-pesquisa.js +6 -0
- package/dist/components/snk-pesquisa2.js +340 -0
- package/dist/components/snk-print-selector.d.ts +11 -0
- package/dist/components/snk-print-selector.js +183 -0
- package/dist/components/snk-select-box.d.ts +11 -0
- package/dist/components/snk-select-box.js +6 -0
- package/dist/components/snk-select-box2.js +38 -0
- package/dist/components/snk-simple-bar.d.ts +11 -0
- package/dist/components/snk-simple-bar.js +6 -0
- package/dist/components/snk-simple-bar2.js +59 -0
- package/dist/components/snk-simple-crud.d.ts +11 -0
- package/dist/components/snk-simple-crud.js +6 -0
- package/dist/components/snk-simple-crud2.js +385 -0
- package/dist/components/snk-tab-config.d.ts +11 -0
- package/dist/components/snk-tab-config.js +6 -0
- package/dist/components/snk-tab-config2.js +7232 -0
- package/dist/components/snk-taskbar.d.ts +11 -0
- package/dist/components/snk-taskbar.js +6 -0
- package/dist/components/snk-taskbar2.js +372 -0
- package/dist/components/teste-pesquisa.d.ts +11 -0
- package/dist/components/teste-pesquisa.js +63 -0
- package/dist/esm/AuthorizationConfig-dcbd207a.js +7 -0
- package/dist/esm/ConfigStorage-ed0b8f12.js +306 -0
- package/dist/esm/DataFetcher-fddeb917.js +7055 -0
- package/dist/esm/ParamType-d5152b06.js +13 -0
- package/dist/esm/PersonalizedFilterUtils-75fb0106.js +218 -0
- package/dist/esm/SnkFormConfigManager-f069d10c.js +134 -0
- package/dist/esm/SnkMessageBuilder-68c1c25a.js +629 -0
- package/dist/esm/SnkMultiSelectionListDataSource-892f37f9.js +32 -0
- package/dist/esm/_commonjsHelpers-9943807e.js +17 -0
- package/dist/esm/constants-3644f1b6.js +90 -0
- package/dist/esm/dataunit-fetcher-a151bf6c.js +353 -0
- package/dist/esm/draggable.bundle-41d56f06.js +6884 -0
- package/dist/esm/filter-bar-config-fetcher-abfc2aef.js +153 -0
- package/dist/esm/filter-item-type.enum-5028ed3f.js +15 -0
- package/dist/esm/filter-type.enum-a80c1b6b.js +9 -0
- package/dist/esm/form-config-fetcher-533b895e.js +179 -0
- package/dist/esm/index-1564817d.js +33 -0
- package/dist/esm/index-620ac460.js +7 -0
- package/dist/esm/index-a7d3d3f1.js +2103 -0
- package/dist/esm/index-ae591a44.js +44 -0
- package/dist/esm/index-bdf75557.js +199 -0
- package/dist/esm/index.js +1 -0
- package/dist/esm/loader.js +18 -0
- package/dist/esm/pesquisa-fetcher-4a702655.js +165 -0
- package/dist/esm/polyfills/core-js.js +11 -0
- package/dist/esm/polyfills/css-shim.js +1 -0
- package/dist/esm/polyfills/dom.js +79 -0
- package/dist/esm/polyfills/es5-html-element.js +1 -0
- package/dist/esm/polyfills/index.js +34 -0
- package/dist/esm/polyfills/system.js +6 -0
- package/dist/esm/presentationMode-783bbf9d.js +7 -0
- package/dist/esm/resource-fetcher-0f20a072.js +66 -0
- package/dist/esm/sankhyablocks.js +18 -0
- package/dist/esm/snk-actions-button.entry.js +700 -0
- package/dist/esm/snk-actions-form.entry.js +196 -0
- package/dist/esm/snk-application.entry.js +937 -0
- package/dist/esm/snk-attach.entry.js +448 -0
- package/dist/esm/snk-client-confirm.entry.js +48 -0
- package/dist/esm/snk-config-options.entry.js +234 -0
- package/dist/esm/snk-configurator.entry.js +95 -0
- package/dist/esm/snk-crud.entry.js +172 -0
- package/dist/esm/snk-data-exporter.entry.js +515 -0
- package/dist/esm/snk-data-unit-5c3c036a.js +445 -0
- package/dist/esm/snk-data-unit.entry.js +5 -0
- package/dist/esm/snk-detail-view.entry.js +261 -0
- package/dist/esm/snk-entity-list.entry.js +114 -0
- package/dist/esm/snk-exporter-email-sender.entry.js +128 -0
- package/dist/esm/snk-expression-group_2.entry.js +540 -0
- package/dist/esm/snk-field-config.entry.js +56 -0
- package/dist/esm/snk-filter-advanced-mode_2.entry.js +55 -0
- package/dist/esm/snk-filter-bar.entry.js +505 -0
- package/dist/esm/snk-filter-binary-select.entry.js +87 -0
- package/dist/esm/snk-filter-detail.entry.js +173 -0
- package/dist/esm/snk-filter-field-search_2.entry.js +403 -0
- package/dist/esm/snk-filter-item.entry.js +277 -0
- package/dist/esm/snk-filter-list.entry.js +148 -0
- package/dist/esm/snk-filter-modal-item.entry.js +121 -0
- package/dist/esm/snk-filter-modal.entry.js +213 -0
- package/dist/esm/snk-filter-multi-select.entry.js +39 -0
- package/dist/esm/snk-filter-number.entry.js +40 -0
- package/dist/esm/snk-filter-period.entry.js +69 -0
- package/dist/esm/snk-filter-search.entry.js +50 -0
- package/dist/esm/snk-filter-text.entry.js +32 -0
- package/dist/esm/snk-form-config.entry.js +986 -0
- package/dist/esm/snk-form-summary.entry.js +57 -0
- package/dist/esm/snk-form-view.entry.js +95 -0
- package/dist/esm/snk-form.entry.js +82 -0
- package/dist/esm/snk-grid-config.entry.js +479 -0
- package/dist/esm/snk-grid.entry.js +325 -0
- package/dist/esm/snk-guides-viewer-fb5796c8.js +331 -0
- package/dist/esm/snk-guides-viewer.entry.js +19 -0
- package/dist/esm/snk-personalized-filter-editor.entry.js +206 -0
- package/dist/esm/snk-personalized-filter.entry.js +300 -0
- package/dist/esm/snk-pesquisa.entry.js +320 -0
- package/dist/esm/snk-print-selector.entry.js +160 -0
- package/dist/esm/snk-select-box.entry.js +21 -0
- package/dist/esm/snk-simple-bar.entry.js +41 -0
- package/dist/esm/snk-simple-crud.entry.js +329 -0
- package/dist/esm/snk-tab-config.entry.js +327 -0
- package/dist/esm/snk-taskbar.entry.js +217 -0
- package/dist/esm/taskbar-elements-2c761819.js +118 -0
- package/dist/esm/taskbar-processor-94402e6e.js +47 -0
- package/dist/esm/teste-pesquisa.entry.js +33 -0
- package/dist/index.cjs.js +1 -0
- package/dist/index.js +1 -0
- package/dist/sankhyablocks/index.esm.js +0 -0
- package/dist/sankhyablocks/p-0885ed3c.entry.js +1 -0
- package/dist/sankhyablocks/p-0a7fa08c.js +1 -0
- package/dist/sankhyablocks/p-112455b1.js +1 -0
- package/dist/sankhyablocks/p-118e769b.entry.js +1 -0
- package/dist/sankhyablocks/p-1a68fb59.js +1 -0
- package/dist/sankhyablocks/p-215164cf.entry.js +1 -0
- package/dist/sankhyablocks/p-216f081a.entry.js +1 -0
- package/dist/sankhyablocks/p-219f888d.entry.js +1 -0
- package/dist/sankhyablocks/p-247a8b36.entry.js +1 -0
- package/dist/sankhyablocks/p-25c5428f.entry.js +1 -0
- package/dist/sankhyablocks/p-26ad62b9.entry.js +1 -0
- package/dist/sankhyablocks/p-26b0ce3e.entry.js +1 -0
- package/dist/sankhyablocks/p-2ddf3e87.entry.js +1 -0
- package/dist/sankhyablocks/p-47ffe828.entry.js +1 -0
- package/dist/sankhyablocks/p-4a78e118.js +1 -0
- package/dist/sankhyablocks/p-4ba10b37.entry.js +1 -0
- package/dist/sankhyablocks/p-4f550a1a.js +1 -0
- package/dist/sankhyablocks/p-5534e08c.js +1 -0
- package/dist/sankhyablocks/p-5779eea7.entry.js +1 -0
- package/dist/sankhyablocks/p-584d7212.js +1 -0
- package/dist/sankhyablocks/p-5bb31a72.js +1 -0
- package/dist/sankhyablocks/p-5bc4aecd.entry.js +1 -0
- package/dist/sankhyablocks/p-5c1aacc7.js +1 -0
- package/dist/sankhyablocks/p-5d04ae42.entry.js +1 -0
- package/dist/sankhyablocks/p-6a93697d.entry.js +1 -0
- package/dist/sankhyablocks/p-6dc031de.js +1 -0
- package/dist/sankhyablocks/p-7f1d732d.js +56 -0
- package/dist/sankhyablocks/p-82800006.entry.js +1 -0
- package/dist/sankhyablocks/p-838f8234.entry.js +1 -0
- package/dist/sankhyablocks/p-876eafea.entry.js +1 -0
- package/dist/sankhyablocks/p-88aa931b.entry.js +1 -0
- package/dist/sankhyablocks/p-8a726c78.entry.js +1 -0
- package/dist/sankhyablocks/p-933c0c0b.js +1 -0
- package/dist/sankhyablocks/p-94fe0d6f.entry.js +1 -0
- package/dist/sankhyablocks/p-9531fd46.entry.js +1 -0
- package/dist/sankhyablocks/p-959e0835.entry.js +1 -0
- package/dist/sankhyablocks/p-96a89d58.entry.js +1 -0
- package/dist/sankhyablocks/p-982107dc.js +17 -0
- package/dist/sankhyablocks/p-9a90464f.js +1 -0
- package/dist/sankhyablocks/p-9c95ac42.entry.js +1 -0
- package/dist/sankhyablocks/p-9d3a025a.entry.js +1 -0
- package/dist/sankhyablocks/p-a1e1b305.entry.js +1 -0
- package/dist/sankhyablocks/p-a2493d11.js +1 -0
- package/dist/sankhyablocks/p-a91f59d2.js +76 -0
- package/dist/sankhyablocks/p-ac8d1cd6.entry.js +1 -0
- package/dist/sankhyablocks/p-ae6aff81.js +1 -0
- package/dist/sankhyablocks/p-af8ed6d5.entry.js +1 -0
- package/dist/sankhyablocks/p-b6d6b172.js +1 -0
- package/dist/sankhyablocks/p-bc19b890.entry.js +1 -0
- package/dist/sankhyablocks/p-befbc9ee.entry.js +1 -0
- package/dist/sankhyablocks/p-c2beb95c.js +1 -0
- package/dist/sankhyablocks/p-c6380ea2.entry.js +1 -0
- package/dist/sankhyablocks/p-c9bf8202.entry.js +1 -0
- package/dist/sankhyablocks/p-cb37982f.entry.js +1 -0
- package/dist/sankhyablocks/p-d2d301a6.js +2 -0
- package/dist/sankhyablocks/p-d2f7dbd8.entry.js +1 -0
- package/dist/sankhyablocks/p-d3ec3586.entry.js +1 -0
- package/dist/sankhyablocks/p-d97eb781.js +6 -0
- package/dist/sankhyablocks/p-d9804798.js +1 -0
- package/dist/sankhyablocks/p-dc36cfbf.js +1 -0
- package/dist/sankhyablocks/p-de1bca5b.js +1 -0
- package/dist/sankhyablocks/p-de69b4b0.entry.js +1 -0
- package/dist/sankhyablocks/p-e3a82e1c.entry.js +1 -0
- package/dist/sankhyablocks/p-eaad0aa8.js +1 -0
- package/dist/sankhyablocks/p-eb636e15.entry.js +1 -0
- package/dist/sankhyablocks/p-ec779f9d.entry.js +1 -0
- package/dist/sankhyablocks/p-f034254e.js +10 -0
- package/dist/sankhyablocks/p-f30526a7.entry.js +1 -0
- package/dist/sankhyablocks/p-f4184ce7.js +1 -0
- package/dist/sankhyablocks/p-f5d0692c.entry.js +11 -0
- package/dist/sankhyablocks/p-f9395c20.entry.js +1 -0
- package/dist/sankhyablocks/p-fa9d3f73.js +1 -0
- package/dist/sankhyablocks/p-fcc487ea.entry.js +1 -0
- package/dist/sankhyablocks/p-fe49067d.entry.js +1 -0
- package/dist/sankhyablocks/sankhyablocks.esm.js +1 -0
- package/dist/types/components/snk-actions-button/actions/enum/ActionsType.d.ts +7 -0
- package/dist/types/components/snk-actions-button/actions/enum/ParamType.d.ts +10 -0
- package/dist/types/components/snk-actions-button/actions/enum/RefreshType.d.ts +6 -0
- package/dist/types/components/snk-actions-button/actions/executor/java.executor.d.ts +6 -0
- package/dist/types/components/snk-actions-button/actions/executor/javascript.executor.d.ts +6 -0
- package/dist/types/components/snk-actions-button/actions/executor/launch-screen.executor.d.ts +10 -0
- package/dist/types/components/snk-actions-button/actions/executor/procedure.executor.d.ts +6 -0
- package/dist/types/components/snk-actions-button/actions/factory/executor.factory.d.ts +7 -0
- package/dist/types/components/snk-actions-button/actions/index.d.ts +27 -0
- package/dist/types/components/snk-actions-button/actions/interfaces/IAction.d.ts +55 -0
- package/dist/types/components/snk-actions-button/actions/interfaces/IExecSource.d.ts +17 -0
- package/dist/types/components/snk-actions-button/actions/interfaces/IExecuteActions.d.ts +4 -0
- package/dist/types/components/snk-actions-button/actions/interfaces/IExecuteActionsProps.d.ts +4 -0
- package/dist/types/components/snk-actions-button/actions/interfaces/IResultParam.d.ts +14 -0
- package/dist/types/components/snk-actions-button/clientEvent/index.d.ts +4 -0
- package/dist/types/components/snk-actions-button/clientEvent/interfaces/IClientEventConfirm.d.ts +35 -0
- package/dist/types/components/snk-actions-button/snk-actions-button.d.ts +27 -0
- package/dist/types/components/snk-actions-button/subcomponents/snk-actions-form.d.ts +41 -0
- package/dist/types/components/snk-actions-button/subcomponents/snk-client-confirm.d.ts +31 -0
- package/dist/types/components/snk-application/errorhandler/snk-error-handler.d.ts +9 -0
- package/dist/types/components/snk-application/snk-application.d.ts +275 -0
- package/dist/types/components/snk-attach/interfaces/index.d.ts +10 -0
- package/dist/types/components/snk-attach/snk-attach.d.ts +45 -0
- package/dist/types/components/snk-attach/structure/crud-config-builder.d.ts +7 -0
- package/dist/types/components/snk-attach/structure/data-unit-builder.d.ts +15 -0
- package/dist/types/components/snk-attach/structure/index.d.ts +3 -0
- package/dist/types/components/snk-attach/structure/taskbar-builder.d.ts +8 -0
- package/dist/types/components/snk-configurator/AuthorizationConfig.d.ts +4 -0
- package/dist/types/components/snk-configurator/snk-configurator.d.ts +68 -0
- package/dist/types/components/snk-crud/snk-crud.d.ts +109 -0
- package/dist/types/components/snk-crud/subcomponents/CardFormResizeObserver.d.ts +1 -0
- package/dist/types/components/snk-crud/subcomponents/GuideBuilder.d.ts +11 -0
- package/dist/types/components/snk-crud/subcomponents/snk-detail-view/snk-detail-view.d.ts +93 -0
- package/dist/types/components/snk-crud/subcomponents/snk-form-summary.d.ts +22 -0
- package/dist/types/components/snk-crud/subcomponents/snk-form-view.d.ts +76 -0
- package/dist/types/components/snk-crud/subcomponents/snk-guides-viewer.d.ts +123 -0
- package/dist/types/components/snk-data-exporter/data/attachment.d.ts +4 -0
- package/dist/types/components/snk-data-exporter/data/email.d.ts +7 -0
- package/dist/types/components/snk-data-exporter/data/export-config.d.ts +10 -0
- package/dist/types/components/snk-data-exporter/data/export-result.d.ts +8 -0
- package/dist/types/components/snk-data-exporter/data/report.d.ts +4 -0
- package/dist/types/components/snk-data-exporter/exporter-email-sender/email-info-step.d.ts +9 -0
- package/dist/types/components/snk-data-exporter/exporter-email-sender/options-step.d.ts +9 -0
- package/dist/types/components/snk-data-exporter/exporter-email-sender/snk-exporter-email-sender.d.ts +40 -0
- package/dist/types/components/snk-data-exporter/interfaces/IExporterProvider.d.ts +15 -0
- package/dist/types/components/snk-data-exporter/interfaces/IRecordID.d.ts +6 -0
- package/dist/types/components/snk-data-exporter/interfaces/ISelectedID.d.ts +13 -0
- package/dist/types/components/snk-data-exporter/snk-data-exporter.d.ts +52 -0
- package/dist/types/components/snk-data-exporter/structure/ItemBuilder.d.ts +61 -0
- package/dist/types/components/snk-data-unit/snk-data-unit.d.ts +129 -0
- package/dist/types/components/snk-entity-list/snk-entity-list.d.ts +46 -0
- package/dist/types/components/snk-filter-bar/filter-item/dataunitfilter/data-unit-filter-builder.d.ts +4 -0
- package/dist/types/components/snk-filter-bar/filter-item/editors/enum/presentationMode.d.ts +4 -0
- package/dist/types/components/snk-filter-bar/filter-item/editors/snk-filter-binary-select.d.ts +43 -0
- package/dist/types/components/snk-filter-bar/filter-item/editors/snk-filter-multi-select.d.ts +28 -0
- package/dist/types/components/snk-filter-bar/filter-item/editors/snk-filter-number.d.ts +28 -0
- package/dist/types/components/snk-filter-bar/filter-item/editors/snk-filter-period.d.ts +47 -0
- package/dist/types/components/snk-filter-bar/filter-item/editors/snk-filter-search.d.ts +30 -0
- package/dist/types/components/snk-filter-bar/filter-item/editors/snk-filter-text.d.ts +24 -0
- package/dist/types/components/snk-filter-bar/filter-item/editors/snk-personalized-filter-editor/snk-personalized-filter-editor.d.ts +68 -0
- package/dist/types/components/snk-filter-bar/filter-item/filter-item-type.enum.d.ts +12 -0
- package/dist/types/components/snk-filter-bar/filter-item/snk-filter-detail.d.ts +49 -0
- package/dist/types/components/snk-filter-bar/filter-item/snk-filter-item.d.ts +80 -0
- package/dist/types/components/snk-filter-bar/filter-list/snk-filter-list.d.ts +74 -0
- package/dist/types/components/snk-filter-bar/filter-modal/snk-filter-modal.d.ts +56 -0
- package/dist/types/components/snk-filter-bar/filter-modal/subcomponents/snk-filter-modal-item.d.ts +33 -0
- package/dist/types/components/snk-filter-bar/snk-filter-bar.d.ts +79 -0
- package/dist/types/components/snk-filter-bar/types/custom-element-filter.d.ts +6 -0
- package/dist/types/components/snk-filter-bar/types/filter-type.enum.d.ts +6 -0
- package/dist/types/components/snk-filter-bar/utils/SnkFilterModalFactory.d.ts +28 -0
- package/dist/types/components/snk-filter-bar/utils/filters-mock.d.ts +263 -0
- package/dist/types/components/snk-filter-field-search/interfaces/index.d.ts +39 -0
- package/dist/types/components/snk-filter-field-search/snk-filter-field-search.d.ts +68 -0
- package/dist/types/components/snk-filter-field-search/subcomponents/index.d.ts +1 -0
- package/dist/types/components/snk-filter-field-search/subcomponents/list-item.d.ts +2 -0
- package/dist/types/components/snk-form/SnkFormConfigManager.d.ts +23 -0
- package/dist/types/components/snk-form/snk-form.d.ts +46 -0
- package/dist/types/components/snk-form/subcomponents/snk-config-options/snk-config-options.d.ts +57 -0
- package/dist/types/components/snk-form/subcomponents/snk-field-config/snk-field-config.d.ts +43 -0
- package/dist/types/components/snk-form/subcomponents/snk-form-config/snk-form-config.d.ts +148 -0
- package/dist/types/components/snk-form/subcomponents/snk-tab-config/snk-tab-config.d.ts +105 -0
- package/dist/types/components/snk-grid/filtercolumn/SnkMultiSelectionListDataSource.d.ts +12 -0
- package/dist/types/components/snk-grid/snk-grid.d.ts +110 -0
- package/dist/types/components/snk-grid/subcomponents/snk-grid-config/snk-grid-config.d.ts +74 -0
- package/dist/types/components/snk-grid/subcomponents/snk-select-box/snk-select-box.d.ts +13 -0
- package/dist/types/components/snk-personalized-filter/interfaces/IExpressionGroup.d.ts +0 -0
- package/dist/types/components/snk-personalized-filter/interfaces/IExpressionItem.d.ts +35 -0
- package/dist/types/components/snk-personalized-filter/interfaces/IParameter.d.ts +37 -0
- package/dist/types/components/snk-personalized-filter/interfaces/IPersonalizedFilter.d.ts +15 -0
- package/dist/types/components/snk-personalized-filter/interfaces/ISystemFilterConfig.d.ts +4 -0
- package/dist/types/components/snk-personalized-filter/interfaces/IUserFilterConfig.d.ts +5 -0
- package/dist/types/components/snk-personalized-filter/interfaces/index.d.ts +35 -0
- package/dist/types/components/snk-personalized-filter/snk-personalized-filter.d.ts +66 -0
- package/dist/types/components/snk-personalized-filter/subcomponents/snk-expression-group/snk-expression-group.d.ts +85 -0
- package/dist/types/components/snk-personalized-filter/subcomponents/snk-expression-item/filter-operands/filter-operands.d.ts +9 -0
- package/dist/types/components/snk-personalized-filter/subcomponents/snk-expression-item/snk-expression-item.d.ts +68 -0
- package/dist/types/components/snk-personalized-filter/subcomponents/snk-filter-advanced-mode/snk-filter-advanced-mode.d.ts +19 -0
- package/dist/types/components/snk-personalized-filter/subcomponents/snk-filter-assistent-mode/snk-filter-assistent-mode.d.ts +31 -0
- package/dist/types/components/snk-personalized-filter/subcomponents/snk-filter-param-config/snk-filter-param-config.d.ts +52 -0
- package/dist/types/components/snk-personalized-filter/subcomponents/snk-filter-param-config/utils/PersonalizedFilterUtils.d.ts +27 -0
- package/dist/types/components/snk-pesquisa/snk-pesquisa.d.ts +61 -0
- package/dist/types/components/snk-print-selector/snk-print-selector.d.ts +46 -0
- package/dist/types/components/snk-simple-bar/snk-simple-bar.d.ts +37 -0
- package/dist/types/components/snk-simple-crud/snk-simple-crud.d.ts +76 -0
- package/dist/types/components/snk-taskbar/elements/taskbar-elements.d.ts +33 -0
- package/dist/types/components/snk-taskbar/processor/taskbar-processor.d.ts +12 -0
- package/dist/types/components/snk-taskbar/snk-taskbar.d.ts +106 -0
- package/dist/types/components/teste-pesquisa/teste-pesquisa.d.ts +6 -0
- package/dist/types/components.d.ts +2991 -0
- package/dist/types/global.d.ts +9 -0
- package/dist/types/index.d.ts +1 -0
- package/dist/types/lib/@types/index.d.ts +27 -0
- package/dist/types/lib/applet-caller/applet-caller.d.ts +9 -0
- package/dist/types/lib/configs/ConfigStorage.d.ts +27 -0
- package/dist/types/lib/dataUnit/InMemoryLoader.d.ts +23 -0
- package/dist/types/lib/http/data-fetcher/DataFetcher.d.ts +66 -0
- package/dist/types/lib/http/data-fetcher/fetchers/application-config-fetcher.d.ts +6 -0
- package/dist/types/lib/http/data-fetcher/fetchers/attach-fetcher.d.ts +14 -0
- package/dist/types/lib/http/data-fetcher/fetchers/auth-fetcher.d.ts +17 -0
- package/dist/types/lib/http/data-fetcher/fetchers/dataunit-fetcher.d.ts +16 -0
- package/dist/types/lib/http/data-fetcher/fetchers/fecthAttach/interfaces/IDelete.d.ts +9 -0
- package/dist/types/lib/http/data-fetcher/fetchers/fecthAttach/interfaces/IDownloadKey.d.ts +13 -0
- package/dist/types/lib/http/data-fetcher/fetchers/fecthAttach/interfaces/ISave.d.ts +26 -0
- package/dist/types/lib/http/data-fetcher/fetchers/fecthAttach/interfaces/index.d.ts +3 -0
- package/dist/types/lib/http/data-fetcher/fetchers/fetchDataExporter/index.d.ts +3 -0
- package/dist/types/lib/http/data-fetcher/fetchers/fetchDataExporter/interfaces/IExporterColumnMetadata.d.ts +9 -0
- package/dist/types/lib/http/data-fetcher/fetchers/fetchDataExporter/interfaces/IFetchDataExporterParams.d.ts +29 -0
- package/dist/types/lib/http/data-fetcher/fetchers/fetchDataExporter/interfaces/IFetchDataExporterResponse.d.ts +8 -0
- package/dist/types/lib/http/data-fetcher/fetchers/fetchDataExporter/interfaces/IPersonalizedReport.d.ts +4 -0
- package/dist/types/lib/http/data-fetcher/fetchers/fetchDataExporter/permission-export-pdf.d.ts +1 -0
- package/dist/types/lib/http/data-fetcher/fetchers/fetchDataExporter/personalized-reports-fetcher.d.ts +4 -0
- package/dist/types/lib/http/data-fetcher/fetchers/filter-bar-config-fetcher.d.ts +11 -0
- package/dist/types/lib/http/data-fetcher/fetchers/form-config-fetcher.d.ts +26 -0
- package/dist/types/lib/http/data-fetcher/fetchers/grid-config-fetcher.d.ts +8 -0
- package/dist/types/lib/http/data-fetcher/fetchers/parameters-fecher.d.ts +13 -0
- package/dist/types/lib/http/data-fetcher/fetchers/personalized-filter-fetcher.d.ts +13 -0
- package/dist/types/lib/http/data-fetcher/fetchers/pesquisa-fetcher.d.ts +42 -0
- package/dist/types/lib/http/data-fetcher/fetchers/resource-fetcher.d.ts +12 -0
- package/dist/types/lib/http/data-fetcher/fetchers/totals-fetcher.d.ts +9 -0
- package/dist/types/lib/http/data-fetcher/interfaces/IClientEventResponse.d.ts +4 -0
- package/dist/types/lib/http/data-fetcher/recaller/GraphQLRecaller.d.ts +9 -0
- package/dist/types/lib/http/data-fetcher/recaller/IDataFetcherRecaller.d.ts +3 -0
- package/dist/types/lib/http/data-fetcher/recaller/ServiceBrokerRecaller.d.ts +9 -0
- package/dist/types/lib/http/data-fetcher/state/LoadStateManager.d.ts +23 -0
- package/dist/types/lib/index.d.ts +4 -0
- package/dist/types/lib/message/SnkMessageBuilder.d.ts +45 -0
- package/dist/types/lib/message/resources/crud-utils.msg.d.ts +2 -0
- package/dist/types/lib/message/resources/file-viewer.msg.d.ts +2 -0
- package/dist/types/lib/message/resources/snk-actions-button.msg.d.ts +1 -0
- package/dist/types/lib/message/resources/snk-attach.msg.d.ts +2 -0
- package/dist/types/lib/message/resources/snk-configurator.msg.d.ts +1 -0
- package/dist/types/lib/message/resources/snk-crud.msg.d.ts +2 -0
- package/dist/types/lib/message/resources/snk-data-exporter.msg.d.ts +1 -0
- package/dist/types/lib/message/resources/snk-data-unit.msg.d.ts +2 -0
- package/dist/types/lib/message/resources/snk-entity-list.msg.d.ts +1 -0
- package/dist/types/lib/message/resources/snk-exporter.msg.d.ts +2 -0
- package/dist/types/lib/message/resources/snk-filter-bar.msg.d.ts +2 -0
- package/dist/types/lib/message/resources/snk-filter-field-search.msg.d.ts +1 -0
- package/dist/types/lib/message/resources/snk-filter-param-config.msg.d.ts +1 -0
- package/dist/types/lib/message/resources/snk-form.msg.d.ts +4 -0
- package/dist/types/lib/message/resources/snk-grid.msg.d.ts +2 -0
- package/dist/types/lib/message/resources/snk-personalized-filter.msg.d.ts +1 -0
- package/dist/types/lib/message/resources/snk-print-selector.msg.d.ts +1 -0
- package/dist/types/lib/message/resources/snk-simple-bar.msg.d.ts +1 -0
- package/dist/types/lib/message/resources/snk-taskbar.msg.d.ts +2 -0
- package/dist/types/lib/store/index.d.ts +5 -0
- package/dist/types/lib/utils/CrudUtils.d.ts +6 -0
- package/dist/types/lib/utils/PrintUtils.d.ts +54 -0
- package/dist/types/lib/utils/constants.d.ts +103 -0
- package/dist/types/lib/utils/fileViewer/index.d.ts +2 -0
- package/dist/types/lib/utils/fileViewer/interfaces/IFileViewerParams.d.ts +4 -0
- package/dist/types/lib/utils/pesquisa.d.ts +3 -0
- package/dist/types/lib/utils/urlutils.d.ts +4 -0
- package/dist/types/lib/workspace/workspace.d.ts +5 -0
- package/dist/types/stencil-public-runtime.d.ts +1637 -0
- package/loader/cdn.js +3 -0
- package/loader/index.cjs.js +3 -0
- package/loader/index.d.ts +21 -0
- package/loader/index.es2017.js +3 -0
- package/loader/index.js +4 -0
- package/loader/package.json +11 -0
- package/package.json +71 -0
- package/react/.keepfolder +1 -0
- package/react/components.d.ts +51 -0
- package/react/components.js +54 -0
- package/react/components.js.map +1 -0
- package/react/react-component-lib/createComponent.d.ts +10 -0
- package/react/react-component-lib/createComponent.js +59 -0
- package/react/react-component-lib/createComponent.js.map +1 -0
- package/react/react-component-lib/createOverlayComponent.d.ts +20 -0
- package/react/react-component-lib/createOverlayComponent.js +89 -0
- package/react/react-component-lib/createOverlayComponent.js.map +1 -0
- package/react/react-component-lib/index.d.ts +2 -0
- package/react/react-component-lib/index.js +3 -0
- package/react/react-component-lib/index.js.map +1 -0
- package/react/react-component-lib/interfaces.d.ts +29 -0
- package/react/react-component-lib/interfaces.js +2 -0
- package/react/react-component-lib/interfaces.js.map +1 -0
- package/react/react-component-lib/utils/attachProps.d.ts +12 -0
- package/react/react-component-lib/utils/attachProps.js +96 -0
- package/react/react-component-lib/utils/attachProps.js.map +1 -0
- package/react/react-component-lib/utils/case.d.ts +2 -0
- package/react/react-component-lib/utils/case.js +7 -0
- package/react/react-component-lib/utils/case.js.map +1 -0
- package/react/react-component-lib/utils/dev.d.ts +2 -0
- package/react/react-component-lib/utils/dev.js +13 -0
- package/react/react-component-lib/utils/dev.js.map +1 -0
- package/react/react-component-lib/utils/index.d.ts +7 -0
- package/react/react-component-lib/utils/index.js +21 -0
- package/react/react-component-lib/utils/index.js.map +1 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2018
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
ADDED
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+

|
|
2
|
+
|
|
3
|
+
# Stencil Component Starter
|
|
4
|
+
|
|
5
|
+
This is a starter project for building a standalone Web Component using Stencil.
|
|
6
|
+
|
|
7
|
+
Stencil is also great for building entire apps. For that, use the [stencil-app-starter](https://github.com/ionic-team/stencil-app-starter) instead.
|
|
8
|
+
|
|
9
|
+
# Stencil
|
|
10
|
+
|
|
11
|
+
Stencil is a compiler for building fast web apps using Web Components.
|
|
12
|
+
|
|
13
|
+
Stencil combines the best concepts of the most popular frontend frameworks into a compile-time rather than run-time tool. Stencil takes TypeScript, JSX, a tiny virtual DOM layer, efficient one-way data binding, an asynchronous rendering pipeline (similar to React Fiber), and lazy-loading out of the box, and generates 100% standards-based Web Components that run in any browser supporting the Custom Elements v1 spec.
|
|
14
|
+
|
|
15
|
+
Stencil components are just Web Components, so they work in any major framework or with no framework at all.
|
|
16
|
+
|
|
17
|
+
## Getting Started
|
|
18
|
+
|
|
19
|
+
To start building a new web component using Stencil, clone this repo to a new directory:
|
|
20
|
+
|
|
21
|
+
```bash
|
|
22
|
+
git clone https://github.com/ionic-team/stencil-component-starter.git my-component
|
|
23
|
+
cd my-component
|
|
24
|
+
git remote rm origin
|
|
25
|
+
```
|
|
26
|
+
|
|
27
|
+
and run:
|
|
28
|
+
|
|
29
|
+
```bash
|
|
30
|
+
npm install
|
|
31
|
+
npm start
|
|
32
|
+
```
|
|
33
|
+
|
|
34
|
+
To build the component for production, run:
|
|
35
|
+
|
|
36
|
+
```bash
|
|
37
|
+
npm run build
|
|
38
|
+
```
|
|
39
|
+
|
|
40
|
+
To run the unit tests for the components, run:
|
|
41
|
+
|
|
42
|
+
```bash
|
|
43
|
+
npm test
|
|
44
|
+
```
|
|
45
|
+
|
|
46
|
+
Need help? Check out our docs [here](https://stenciljs.com/docs/my-first-component).
|
|
47
|
+
|
|
48
|
+
|
|
49
|
+
## Naming Components
|
|
50
|
+
|
|
51
|
+
When creating new component tags, we recommend _not_ using `stencil` in the component name (ex: `<stencil-datepicker>`). This is because the generated component has little to nothing to do with Stencil; it's just a web component!
|
|
52
|
+
|
|
53
|
+
Instead, use a prefix that fits your company or any name for a group of related components. For example, all of the Ionic generated web components use the prefix `ion`.
|
|
54
|
+
|
|
55
|
+
|
|
56
|
+
## Using this component
|
|
57
|
+
|
|
58
|
+
There are three strategies we recommend for using web components built with Stencil.
|
|
59
|
+
|
|
60
|
+
The first step for all three of these strategies is to [publish to NPM](https://docs.npmjs.com/getting-started/publishing-npm-packages).
|
|
61
|
+
|
|
62
|
+
### Script tag
|
|
63
|
+
|
|
64
|
+
- Put a script tag similar to this `<script type='module' src='https://unpkg.com/my-component@0.0.1/dist/my-component.esm.js'></script>` in the head of your index.html
|
|
65
|
+
- Then you can use the element anywhere in your template, JSX, html etc
|
|
66
|
+
|
|
67
|
+
### Node Modules
|
|
68
|
+
- Run `npm install my-component --save`
|
|
69
|
+
- Put a script tag similar to this `<script type='module' src='node_modules/my-component/dist/my-component.esm.js'></script>` in the head of your index.html
|
|
70
|
+
- Then you can use the element anywhere in your template, JSX, html etc
|
|
71
|
+
|
|
72
|
+
### In a stencil-starter app
|
|
73
|
+
- Run `npm install my-component --save`
|
|
74
|
+
- Add an import to the npm packages `import my-component;`
|
|
75
|
+
- Then you can use the element anywhere in your template, JSX, html etc
|
|
@@ -0,0 +1,310 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
const core = require('@sankhyalabs/core');
|
|
4
|
+
const formConfigFetcher = require('./form-config-fetcher-56442594.js');
|
|
5
|
+
const resourceFetcher = require('./resource-fetcher-260e98a4.js');
|
|
6
|
+
const filterBarConfigFetcher = require('./filter-bar-config-fetcher-47cd77d6.js');
|
|
7
|
+
const DataFetcher = require('./DataFetcher-04c70ba9.js');
|
|
8
|
+
|
|
9
|
+
class GridConfigFetcher extends resourceFetcher.ResourceFetcher {
|
|
10
|
+
constructor() {
|
|
11
|
+
super(...arguments);
|
|
12
|
+
this.GRID_CONFIG_VERSION = "V3:";
|
|
13
|
+
}
|
|
14
|
+
getConfig(gridName, resourceID) {
|
|
15
|
+
const completePath = this.getPath(resourceID, gridName);
|
|
16
|
+
return new Promise((resolve, reject) => {
|
|
17
|
+
this.loadResource(completePath)
|
|
18
|
+
.then(loadedResource => {
|
|
19
|
+
let config = undefined;
|
|
20
|
+
if (loadedResource) {
|
|
21
|
+
config = JSON.parse(loadedResource);
|
|
22
|
+
}
|
|
23
|
+
resolve(config);
|
|
24
|
+
}).catch((error) => {
|
|
25
|
+
reject(error);
|
|
26
|
+
});
|
|
27
|
+
});
|
|
28
|
+
}
|
|
29
|
+
saveConfig(config, gridName, resourceID) {
|
|
30
|
+
const completePath = this.getPath(resourceID, gridName);
|
|
31
|
+
return new Promise((resolve, reject) => {
|
|
32
|
+
this.saveResource(config, completePath)
|
|
33
|
+
.then((resp) => {
|
|
34
|
+
resolve(JSON.parse(resp.resource));
|
|
35
|
+
})
|
|
36
|
+
.catch((error) => {
|
|
37
|
+
reject(error);
|
|
38
|
+
});
|
|
39
|
+
});
|
|
40
|
+
}
|
|
41
|
+
getPath(resourceID, name) {
|
|
42
|
+
if (name) {
|
|
43
|
+
return `cfg://grid/${this.GRID_CONFIG_VERSION}${resourceID}/${name}`;
|
|
44
|
+
}
|
|
45
|
+
return `cfg://grid/${this.GRID_CONFIG_VERSION}${resourceID}`;
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
class PersonalizedFilterFetcher {
|
|
50
|
+
constructor() {
|
|
51
|
+
this.templateByQuery = new Map();
|
|
52
|
+
this.buildTemplates();
|
|
53
|
+
}
|
|
54
|
+
resolveURI(resourceID, configName) {
|
|
55
|
+
let uri = "filter-assistent-config://" + resourceID;
|
|
56
|
+
if (configName) {
|
|
57
|
+
uri += "." + configName;
|
|
58
|
+
}
|
|
59
|
+
return uri;
|
|
60
|
+
}
|
|
61
|
+
buildTemplates() {
|
|
62
|
+
this.templateByQuery.set("fetchFilterFields", DataFetcher.dist.gql `
|
|
63
|
+
query($name: String!) {
|
|
64
|
+
$queryAlias$: fetchFilterFields(name: $name){
|
|
65
|
+
currentLink {
|
|
66
|
+
description
|
|
67
|
+
uri
|
|
68
|
+
}
|
|
69
|
+
links {
|
|
70
|
+
description
|
|
71
|
+
uri
|
|
72
|
+
fieldCount
|
|
73
|
+
}
|
|
74
|
+
fields {
|
|
75
|
+
name
|
|
76
|
+
description
|
|
77
|
+
uri
|
|
78
|
+
onlyDate
|
|
79
|
+
dataType
|
|
80
|
+
userInterface
|
|
81
|
+
entityName
|
|
82
|
+
properties {
|
|
83
|
+
name
|
|
84
|
+
value
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
`);
|
|
90
|
+
this.templateByQuery.set("fetchFilterAssistent", DataFetcher.dist.gql `
|
|
91
|
+
query($name: String!) {
|
|
92
|
+
$queryAlias$: fetchFilterAssistent(name: $name) {
|
|
93
|
+
id
|
|
94
|
+
name
|
|
95
|
+
active
|
|
96
|
+
expression
|
|
97
|
+
warningMessage
|
|
98
|
+
assistent
|
|
99
|
+
}
|
|
100
|
+
}`);
|
|
101
|
+
this.templateByQuery.set("savePersonalizedFilter", DataFetcher.dist.gql `
|
|
102
|
+
mutation($name: String!, $filterAssistent: InputFilterAssistent!) {
|
|
103
|
+
$queryAlias$: savePersonalizedFilter(name: $name, filterAssistent: $filterAssistent) {
|
|
104
|
+
id
|
|
105
|
+
name
|
|
106
|
+
}
|
|
107
|
+
}`);
|
|
108
|
+
this.templateByQuery.set("deletePersonalizedFilter", DataFetcher.dist.gql `
|
|
109
|
+
mutation($name: String!, $filterId: String!) {
|
|
110
|
+
$queryAlias$: deletePersonalizedFilter(name: $name, filterId: $filterId) {
|
|
111
|
+
id
|
|
112
|
+
name
|
|
113
|
+
}
|
|
114
|
+
}`);
|
|
115
|
+
this.templateByQuery.set("validateExpression", DataFetcher.dist.gql `
|
|
116
|
+
query($dataUnitName: String!, $expression: String!) {
|
|
117
|
+
$queryAlias$: validateExpression(dataUnitName: $dataUnitName, expression: $expression) {
|
|
118
|
+
valid
|
|
119
|
+
message
|
|
120
|
+
}
|
|
121
|
+
}`);
|
|
122
|
+
}
|
|
123
|
+
async loadPersonalizedFilter(resourceID, filterID, configName) {
|
|
124
|
+
return new Promise((resolve, reject) => {
|
|
125
|
+
DataFetcher.DataFetcher.get()
|
|
126
|
+
.callGraphQL({
|
|
127
|
+
values: { name: this.resolveURI(resourceID, configName) + "/" + filterID },
|
|
128
|
+
query: this.templateByQuery.get("fetchFilterAssistent"),
|
|
129
|
+
})
|
|
130
|
+
.then((resp) => {
|
|
131
|
+
resp.assistent = JSON.parse(resp.assistent);
|
|
132
|
+
resolve(resp);
|
|
133
|
+
})
|
|
134
|
+
.catch((error) => {
|
|
135
|
+
reject(error);
|
|
136
|
+
});
|
|
137
|
+
});
|
|
138
|
+
}
|
|
139
|
+
async savePersonalizedFilter(personalizedFilter, resourceID, configName) {
|
|
140
|
+
let personalizedFilterParsed = JSON.parse(JSON.stringify(personalizedFilter));
|
|
141
|
+
personalizedFilterParsed.assistent = JSON.stringify(personalizedFilterParsed.assistent);
|
|
142
|
+
return new Promise((resolve, reject) => {
|
|
143
|
+
DataFetcher.DataFetcher.get()
|
|
144
|
+
.callGraphQL({
|
|
145
|
+
values: { name: this.resolveURI(resourceID, configName), filterAssistent: personalizedFilterParsed },
|
|
146
|
+
query: this.templateByQuery.get("savePersonalizedFilter"),
|
|
147
|
+
})
|
|
148
|
+
.then((resp) => {
|
|
149
|
+
resolve(resp);
|
|
150
|
+
})
|
|
151
|
+
.catch((error) => {
|
|
152
|
+
reject(error);
|
|
153
|
+
});
|
|
154
|
+
});
|
|
155
|
+
}
|
|
156
|
+
async removePersonalizedFilter(personalizedFilter, resourceID, configName) {
|
|
157
|
+
return new Promise((resolve, reject) => {
|
|
158
|
+
DataFetcher.DataFetcher.get()
|
|
159
|
+
.callGraphQL({
|
|
160
|
+
values: { name: this.resolveURI(resourceID, configName), filterId: personalizedFilter.id },
|
|
161
|
+
query: this.templateByQuery.get("deletePersonalizedFilter"),
|
|
162
|
+
})
|
|
163
|
+
.then((resp) => {
|
|
164
|
+
resolve(resp);
|
|
165
|
+
})
|
|
166
|
+
.catch((error) => {
|
|
167
|
+
reject(error);
|
|
168
|
+
});
|
|
169
|
+
});
|
|
170
|
+
}
|
|
171
|
+
async validatePersonalizedFilter(dataUnitName, expression) {
|
|
172
|
+
return new Promise((resolve, reject) => {
|
|
173
|
+
DataFetcher.DataFetcher.get()
|
|
174
|
+
.callGraphQL({
|
|
175
|
+
values: { dataUnitName: dataUnitName, expression: expression },
|
|
176
|
+
query: this.templateByQuery.get("validateExpression"),
|
|
177
|
+
})
|
|
178
|
+
.then((resp) => {
|
|
179
|
+
resolve(resp);
|
|
180
|
+
})
|
|
181
|
+
.catch((error) => {
|
|
182
|
+
reject(error);
|
|
183
|
+
});
|
|
184
|
+
});
|
|
185
|
+
}
|
|
186
|
+
loadFields(uri) {
|
|
187
|
+
return new Promise((resolve, reject) => {
|
|
188
|
+
DataFetcher.DataFetcher.get()
|
|
189
|
+
.callGraphQL({
|
|
190
|
+
values: { name: uri },
|
|
191
|
+
query: this.templateByQuery.get("fetchFilterFields"),
|
|
192
|
+
})
|
|
193
|
+
.then((resp) => {
|
|
194
|
+
var _a;
|
|
195
|
+
let fields = resp.fields;
|
|
196
|
+
for (const field of fields) {
|
|
197
|
+
if (Array.isArray(field.properties) && field.properties.length > 0) {
|
|
198
|
+
const propertiesConvertedObject = field.properties.reduce((accumulator, prop) => {
|
|
199
|
+
accumulator[prop.name] = prop.value;
|
|
200
|
+
return accumulator;
|
|
201
|
+
}, {});
|
|
202
|
+
field.properties = propertiesConvertedObject;
|
|
203
|
+
}
|
|
204
|
+
if ((_a = field === null || field === void 0 ? void 0 : field.properties) === null || _a === void 0 ? void 0 : _a.options) {
|
|
205
|
+
field.properties.options = JSON.parse(field.properties.options);
|
|
206
|
+
}
|
|
207
|
+
}
|
|
208
|
+
resolve(Object.assign(Object.assign({}, resp), { fields: fields }));
|
|
209
|
+
})
|
|
210
|
+
.catch((error) => {
|
|
211
|
+
reject(error);
|
|
212
|
+
});
|
|
213
|
+
});
|
|
214
|
+
}
|
|
215
|
+
}
|
|
216
|
+
|
|
217
|
+
const CONFIG_SOURCE = {
|
|
218
|
+
form: "form",
|
|
219
|
+
grid: "grid",
|
|
220
|
+
filterBar: "filterBar"
|
|
221
|
+
};
|
|
222
|
+
class ConfigStorage {
|
|
223
|
+
static async get() {
|
|
224
|
+
if (!ConfigStorage.instance) {
|
|
225
|
+
const application = core.ApplicationContext.getContextValue("__SNK__APPLICATION__");
|
|
226
|
+
if (application != undefined) {
|
|
227
|
+
const configName = application.configName;
|
|
228
|
+
const resourceID = await application.getResourceID();
|
|
229
|
+
ConfigStorage.instance = new ConfigStorage();
|
|
230
|
+
ConfigStorage.resourceID = resourceID;
|
|
231
|
+
ConfigStorage.instance.loadFormConfig(configName);
|
|
232
|
+
ConfigStorage.instance.loadGridConfig(configName);
|
|
233
|
+
}
|
|
234
|
+
}
|
|
235
|
+
return this.instance;
|
|
236
|
+
}
|
|
237
|
+
async loadFilterBarConfig(name, urlParams) {
|
|
238
|
+
const cacheID = ConfigStorage.buildCacheID(name, CONFIG_SOURCE.filterBar);
|
|
239
|
+
if (!ConfigStorage.configById.has(cacheID)) {
|
|
240
|
+
ConfigStorage.configById.set(cacheID, ConfigStorage.filterBarConfigFetcher.getConfig(ConfigStorage.resourceID, name, urlParams));
|
|
241
|
+
}
|
|
242
|
+
return ConfigStorage.configById.get(cacheID);
|
|
243
|
+
}
|
|
244
|
+
async loadFormConfig(name) {
|
|
245
|
+
const cacheID = ConfigStorage.buildCacheID(name, CONFIG_SOURCE.form);
|
|
246
|
+
if (!ConfigStorage.configById.has(cacheID)) {
|
|
247
|
+
ConfigStorage.configById.set(cacheID, ConfigStorage.formConfigFetcher.loadFormConfig(name, ConfigStorage.resourceID));
|
|
248
|
+
}
|
|
249
|
+
return ConfigStorage.configById.get(cacheID);
|
|
250
|
+
}
|
|
251
|
+
async loadGridConfig(name) {
|
|
252
|
+
const cacheID = ConfigStorage.buildCacheID(name, CONFIG_SOURCE.grid);
|
|
253
|
+
if (!ConfigStorage.configById.has(cacheID)) {
|
|
254
|
+
ConfigStorage.configById.set(cacheID, ConfigStorage.gridConfigFetcher.getConfig(name, ConfigStorage.resourceID));
|
|
255
|
+
}
|
|
256
|
+
return ConfigStorage.configById.get(cacheID);
|
|
257
|
+
}
|
|
258
|
+
static async saveFilterBarConfig(config, name) {
|
|
259
|
+
const cacheID = this.buildCacheID(name, CONFIG_SOURCE.filterBar);
|
|
260
|
+
this.configById.delete(cacheID);
|
|
261
|
+
return this.filterBarConfigFetcher.saveConfig(config, this.resourceID, name);
|
|
262
|
+
}
|
|
263
|
+
static async saveFormConfig(config, name) {
|
|
264
|
+
const cacheID = this.buildCacheID(name, CONFIG_SOURCE.form);
|
|
265
|
+
this.configById.delete(cacheID);
|
|
266
|
+
return this.formConfigFetcher.saveConfig(config, name, this.resourceID);
|
|
267
|
+
}
|
|
268
|
+
static async saveCardState(config, name) {
|
|
269
|
+
return this.formConfigFetcher.saveCardState(config, name, this.resourceID);
|
|
270
|
+
}
|
|
271
|
+
static async saveGridConfig(config, name) {
|
|
272
|
+
if (config == undefined) {
|
|
273
|
+
return;
|
|
274
|
+
}
|
|
275
|
+
const cacheID = this.buildCacheID(name, CONFIG_SOURCE.grid);
|
|
276
|
+
this.configById.delete(cacheID);
|
|
277
|
+
return this.gridConfigFetcher.saveConfig(config, name, this.resourceID);
|
|
278
|
+
}
|
|
279
|
+
static async loadPersonalizedFilter(filterId, configName) {
|
|
280
|
+
return this.personalizedFilterFetcher.loadPersonalizedFilter(this.resourceID, filterId, configName);
|
|
281
|
+
}
|
|
282
|
+
static async savePersonalizedFilter(personalizedFilter, configName) {
|
|
283
|
+
//Ao criar ou alterar um filtro personalizado,
|
|
284
|
+
//precisamos remover o cache do status da filterbar.
|
|
285
|
+
const cacheID = this.buildCacheID(configName, CONFIG_SOURCE.filterBar);
|
|
286
|
+
this.configById.delete(cacheID);
|
|
287
|
+
return this.personalizedFilterFetcher.savePersonalizedFilter(personalizedFilter, this.resourceID, configName);
|
|
288
|
+
}
|
|
289
|
+
static async removePersonalizedFilter(personalizedFilter, configName) {
|
|
290
|
+
return this.personalizedFilterFetcher.removePersonalizedFilter(personalizedFilter, this.resourceID, configName);
|
|
291
|
+
}
|
|
292
|
+
static async validatePersonalizedFilter(dataUnitName, expression) {
|
|
293
|
+
return this.personalizedFilterFetcher.validatePersonalizedFilter(dataUnitName, expression);
|
|
294
|
+
}
|
|
295
|
+
static buildCacheID(name, source) {
|
|
296
|
+
if (name == undefined) {
|
|
297
|
+
return `req_${source}_${this.resourceID}`;
|
|
298
|
+
}
|
|
299
|
+
return `req_${source}_${name}_${this.resourceID}`;
|
|
300
|
+
}
|
|
301
|
+
}
|
|
302
|
+
ConfigStorage.configById = new Map();
|
|
303
|
+
ConfigStorage.filterBarConfigFetcher = new filterBarConfigFetcher.FilterBarConfigFetcher();
|
|
304
|
+
ConfigStorage.formConfigFetcher = new formConfigFetcher.FormConfigFetcher();
|
|
305
|
+
ConfigStorage.gridConfigFetcher = new GridConfigFetcher();
|
|
306
|
+
ConfigStorage.personalizedFilterFetcher = new PersonalizedFilterFetcher();
|
|
307
|
+
|
|
308
|
+
exports.ConfigStorage = ConfigStorage;
|
|
309
|
+
exports.GridConfigFetcher = GridConfigFetcher;
|
|
310
|
+
exports.PersonalizedFilterFetcher = PersonalizedFilterFetcher;
|