@eo-sdk/client 10.7.0-rc.5 → 11.0.0-rc.1
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/app/eo-client/about-state/about-state.component.d.ts.map +1 -1
- package/app/eo-client/dashboard/dashboard.component.d.ts.map +1 -1
- package/app/eo-client/dashboard/widgets/charts-widget/charts-setup/charts-setup.component.d.ts +1 -1
- package/app/eo-client/dashboard/widgets/charts-widget/charts-setup/charts-setup.component.d.ts.map +1 -1
- package/app/eo-client/dashboard/widgets/charts-widget/charts-widget.component.d.ts +3 -1
- package/app/eo-client/dashboard/widgets/charts-widget/charts-widget.component.d.ts.map +1 -1
- package/app/eo-client/dashboard/widgets/charts-widget/icharts.d.ts +2 -0
- package/app/eo-client/dashboard/widgets/charts-widget/icharts.d.ts.map +1 -1
- package/app/eo-client/dashboard/widgets/count-objects-widget/count-objects-setup/count-objects-setup.component.d.ts +1 -1
- package/app/eo-client/dashboard/widgets/count-objects-widget/count-objects-widget.component.d.ts +1 -1
- package/app/eo-client/dashboard/widgets/hitlist-widget/hitlist-setup/hitlist-setup.component.d.ts +1 -1
- package/app/eo-client/dashboard/widgets/hitlist-widget/hitlist-setup/hitlist-setup.component.d.ts.map +1 -1
- package/app/eo-client/dashboard/widgets/hitlist-widget/hitlist-widget.component.d.ts +1 -1
- package/app/eo-client/dashboard/widgets/iframe-widget/iframe-setup/iframe-setup.component.d.ts +1 -1
- package/app/eo-client/dashboard/widgets/iframe-widget/iframe-widget.component.d.ts +1 -1
- package/app/eo-client/dashboard/widgets/info-inbox-widget/info-inbox-setup/info-inbox-setup.component.d.ts +1 -1
- package/app/eo-client/dashboard/widgets/info-inbox-widget/info-inbox-widget.component.d.ts +1 -1
- package/app/eo-client/dashboard/widgets/info-intray-widget/info-intray-setup/info-intray-setup.component.d.ts +1 -1
- package/app/eo-client/dashboard/widgets/info-intray-widget/info-intray-widget.component.d.ts +1 -1
- package/app/eo-client/dashboard/widgets/last-edited-widget/last-edited-and-created-setup/last-edited-and-created-setup.component.d.ts +21 -0
- package/app/eo-client/dashboard/widgets/last-edited-widget/last-edited-and-created-setup/last-edited-and-created-setup.component.d.ts.map +1 -0
- package/app/eo-client/dashboard/widgets/last-edited-widget/last-edited-and-created.component.d.ts +15 -8
- package/app/eo-client/dashboard/widgets/last-edited-widget/last-edited-and-created.component.d.ts.map +1 -1
- package/app/eo-client/dashboard/widgets/last-edited-widget/last-edited-and-created.d.ts +7 -0
- package/app/eo-client/dashboard/widgets/last-edited-widget/last-edited-and-created.d.ts.map +1 -0
- package/app/eo-client/dashboard/widgets/search-widget/search-widget.component.d.ts +1 -1
- package/app/eo-client/eo-client.module.d.ts +18 -17
- package/app/eo-client/eo-client.module.d.ts.map +1 -1
- package/app/eo-client/settings/settings.component.d.ts +2 -11
- package/app/eo-client/settings/settings.component.d.ts.map +1 -1
- package/app/eo-client/stored-queries-state/stored-queries-state.component.d.ts.map +1 -1
- package/app/eo-framework/accordion/simple-accordion/simple-accordion.component.d.ts +1 -1
- package/app/eo-framework/actions/action.module.d.ts.map +1 -1
- package/app/eo-framework/actions/actions/add-resubmission-action/add-resubmission/add-resubmission.component.d.ts +1 -1
- package/app/eo-framework/actions/actions/add-subscription-action/add-subscription/add-subscription.component.d.ts +1 -1
- package/app/eo-framework/actions/actions/cancel-signing-action/cancel-signing/cancel-signing.component.d.ts +1 -1
- package/app/eo-framework/actions/actions/clipboard/clipboard-object-action/clipboard-object-action.component.d.ts +1 -1
- package/app/eo-framework/actions/actions/custom-actions/custom-actions.component.d.ts +1 -1
- package/app/eo-framework/actions/actions/delete-action/delete/delete.component.d.ts +1 -1
- package/app/eo-framework/actions/actions/delete-content-action/delete-content/delete-content.component.d.ts +1 -1
- package/app/eo-framework/actions/actions/download-action/download-object-action/download-object-action.component.d.ts +1 -1
- package/app/eo-framework/actions/actions/email/email/email.component.d.ts +1 -1
- package/app/eo-framework/actions/actions/finalize/finalize-object-action/finalize-object-action.component.d.ts +1 -1
- package/app/eo-framework/actions/actions/open-document-action/open-document-action.component.d.ts +1 -1
- package/app/eo-framework/actions/actions/signature-action/sequence-list/sequence-list.component.d.ts +1 -1
- package/app/eo-framework/actions/actions/signature-action/sequence-list-item/sequence-list-item.component.d.ts +1 -1
- package/app/eo-framework/actions/actions/workflow-action/simple-workflow-action.component.d.ts +1 -1
- package/app/eo-framework/actions/actions/workflow-action/workflow/workflow.component.d.ts +1 -1
- package/app/eo-framework/actions/actions/workflow-action/workflow-action.component.d.ts +1 -1
- package/app/eo-framework/app-shell/app-bar/app-bar.component.d.ts +1 -1
- package/app/eo-framework/app-shell/app-bar/app-search/app-search.component.d.ts +7 -3
- package/app/eo-framework/app-shell/app-bar/app-search/app-search.component.d.ts.map +1 -1
- package/app/eo-framework/app-shell/app-bar/context-search/context-search.component.d.ts +1 -1
- package/app/eo-framework/app-shell/app-bar/user-avatar-overlay/user-avatar-overlay.component.d.ts +1 -1
- package/app/eo-framework/app-shell/app-shell.module.d.ts +17 -16
- package/app/eo-framework/app-shell/app-shell.module.d.ts.map +1 -1
- package/app/eo-framework/app-shell/index.d.ts +1 -0
- package/app/eo-framework/app-shell/index.d.ts.map +1 -1
- package/app/eo-framework/app-shell/license-warning/license-warning.component.d.ts +10 -0
- package/app/eo-framework/app-shell/license-warning/license-warning.component.d.ts.map +1 -0
- package/app/eo-framework/cta/component/cta.component.d.ts +1 -1
- package/app/eo-framework/form-elements/checkbox/checkbox.component.d.ts +1 -1
- package/app/eo-framework/form-elements/codesystem/codesystem.component.d.ts +1 -1
- package/app/eo-framework/form-elements/date/date.component.d.ts +1 -1
- package/app/eo-framework/form-elements/date/year-range/year-range.directive.d.ts +1 -1
- package/app/eo-framework/form-elements/datetime-range/datetime-range.component.d.ts +2 -1
- package/app/eo-framework/form-elements/datetime-range/datetime-range.component.d.ts.map +1 -1
- package/app/eo-framework/form-elements/dynamic-list/dynamic-list.component.d.ts +1 -1
- package/app/eo-framework/form-elements/dynamic-list/dynamic-list.component.d.ts.map +1 -1
- package/app/eo-framework/form-elements/form-input/form-input.component.d.ts +1 -1
- package/app/eo-framework/form-elements/form-input/input-focus/input-focus.directive.d.ts +1 -1
- package/app/eo-framework/form-elements/id-reference/id-reference.component.d.ts +1 -1
- package/app/eo-framework/form-elements/id-reference/reference-finder/reference-finder.component.d.ts +1 -1
- package/app/eo-framework/form-elements/id-reference/reference-finder-entry/reference-finder-entry.component.d.ts +1 -1
- package/app/eo-framework/form-elements/number/number.component.d.ts +1 -1
- package/app/eo-framework/form-elements/number-range/number-range.component.d.ts +1 -1
- package/app/eo-framework/form-elements/organization/organization.component.d.ts +1 -1
- package/app/eo-framework/form-elements/password/password.component.d.ts +1 -1
- package/app/eo-framework/form-elements/reference/reference.component.d.ts +1 -1
- package/app/eo-framework/form-elements/string/string.component.d.ts +1 -1
- package/app/eo-framework/grid/column-configurator/column-configurator.component.d.ts +1 -1
- package/app/eo-framework/grid/extensions/custom-sort/custom-sort.component.d.ts +1 -1
- package/app/eo-framework/grid/extensions/custom-sort/custom-sort.component.d.ts.map +1 -1
- package/app/eo-framework/grid/extensions/filter/abstract-filter.component.d.ts +3 -3
- package/app/eo-framework/grid/extensions/filter/abstract-filter.component.d.ts.map +1 -1
- package/app/eo-framework/grid/extensions/filter/custom/custom-filter.component.d.ts +1 -1
- package/app/eo-framework/grid/extensions/filter/setFilters/set-filter.component.d.ts +1 -1
- package/app/eo-framework/grid/extensions/filter/text/text-filter.component.d.ts +3 -3
- package/app/eo-framework/grid/extensions/filter/text/text-filter.component.d.ts.map +1 -1
- package/app/eo-framework/grid/extensions/pagination/pagination.component.d.ts +1 -1
- package/app/eo-framework/grid/extensions/quick-filter/quick-filter.component.d.ts +1 -1
- package/app/eo-framework/grid/extensions/reset-filter/reset-filter.component.d.ts +1 -1
- package/app/eo-framework/grid/extensions/total-count/total-count.component.d.ts +1 -1
- package/app/eo-framework/grid/filters/datetime-filter.component.d.ts.map +1 -1
- package/app/eo-framework/grid/grid.component.d.ts +6 -17
- package/app/eo-framework/grid/grid.component.d.ts.map +1 -1
- package/app/eo-framework/grid/grid.module.d.ts +0 -3
- package/app/eo-framework/grid/grid.module.d.ts.map +1 -1
- package/app/eo-framework/grid/row-grouping/batchRemover.d.ts +13 -0
- package/app/eo-framework/grid/row-grouping/batchRemover.d.ts.map +1 -0
- package/app/eo-framework/grid/row-grouping/group-stage.d.ts +14 -14
- package/app/eo-framework/grid/row-grouping/group-stage.d.ts.map +1 -1
- package/app/eo-framework/grid/row-grouping/row-grouping.module.d.ts +1 -0
- package/app/eo-framework/grid/row-grouping/row-grouping.module.d.ts.map +1 -1
- package/app/eo-framework/inbox-details/duetimeInfo/duetimeInfo.component.d.ts +1 -1
- package/app/eo-framework/inbox-details/inbox-details.component.d.ts +1 -1
- package/app/eo-framework/list-container/list-container.component.d.ts +1 -1
- package/app/eo-framework/media/media.component.d.ts +1 -1
- package/app/eo-framework/object-details/edit-icon/edit-icon.component.d.ts +1 -1
- package/app/eo-framework/object-details/favorite-icon/favorite-icon.component.d.ts +1 -1
- package/app/eo-framework/object-details/object-details.component.d.ts +1 -1
- package/app/eo-framework/object-details/object-history/history-filter/history-filter.component.d.ts +1 -1
- package/app/eo-framework/object-details/object-history/object-history.component.d.ts +1 -1
- package/app/eo-framework/object-details/object-links/object-links.component.d.ts +1 -1
- package/app/eo-framework/object-form/object-form/form-element/form-element-template.directive.d.ts +1 -1
- package/app/eo-framework/object-form/object-form/form-element/form-element.component.d.ts +1 -1
- package/app/eo-framework/object-form/object-form/form-element-table/form-element-table.component.d.ts +4 -1
- package/app/eo-framework/object-form/object-form/form-element-table/form-element-table.component.d.ts.map +1 -1
- package/app/eo-framework/object-form/object-form/form-element-table/row-edit/row-edit.component.d.ts +1 -1
- package/app/eo-framework/object-form/object-form/object-form-group/object-form-group.component.d.ts +1 -1
- package/app/eo-framework/object-form/object-form/object-form.component.d.ts +1 -1
- package/app/eo-framework/object-form/object-form-edit/object-form-edit.component.d.ts +1 -1
- package/app/eo-framework/object-state-details/object-state-details.component.d.ts +1 -1
- package/app/eo-framework/plugins/plugin.component.d.ts +2 -2
- package/app/eo-framework/plugins/plugins.module.d.ts.map +1 -1
- package/app/eo-framework/prepare-details/prepare-content-exists-info/prepare-content-exists-info.component.d.ts +1 -1
- package/app/eo-framework/prepare-details/prepare-details.component.d.ts +1 -1
- package/app/eo-framework/prepare-details/prepare-details.component.d.ts.map +1 -1
- package/app/eo-framework/process/details/process-details.component.d.ts +1 -1
- package/app/eo-framework/process/history/process-history.component.d.ts +1 -1
- package/app/eo-framework/process/process-file/process-file.component.d.ts +1 -1
- package/app/eo-framework/process-form/process-form.component.d.ts +1 -1
- package/app/eo-framework/quick-search/quick-search/quick-search.component.d.ts +1 -1
- package/app/eo-framework/recyclebin-details/recyclebin-details.component.d.ts +1 -1
- package/app/eo-framework/result-list/result-list.component.d.ts +1 -1
- package/app/eo-framework/result-list/result-list.component.d.ts.map +1 -1
- package/app/eo-framework/settings/change-password/change-password-form/change-password-form.component.d.ts +1 -1
- package/app/eo-framework/settings/permissions/permissions.component.d.ts +1 -1
- package/app/eo-framework/shortcuts/global-shortcuts/global-shortcuts-section/global-shortcuts-section.component.d.ts +1 -1
- package/app/eo-framework/shortcuts/shortcuts.directive.d.ts +1 -1
- package/app/eo-framework/stored-query/stored-query/stored-query.component.d.ts +1 -1
- package/app/eo-framework/stored-query/stored-query-details/dynamic-property-switch/dynamic-property-switch.component.d.ts +1 -1
- package/app/eo-framework/stored-query/stored-query-details/stored-query-details.component.d.ts +1 -1
- package/app/eo-framework/tree/tree-node/tree-node.component.d.ts +1 -1
- package/app/eo-framework/tree/tree.component.d.ts +1 -1
- package/app/eo-framework/ui/eo-dialog/eo-dialog.component.d.ts +1 -1
- package/app/eo-framework/ui/eo-icon/eo-icon.component.d.ts +1 -1
- package/app/eo-framework/ui/error-message/error-message.component.d.ts +1 -1
- package/app/eo-framework/ui/indexdata-summary/indexdata-summary-entry/indexdata-summary-entry.component.d.ts +1 -1
- package/app/eo-framework/ui/indexdata-summary/indexdata-summary-entry/indexdata-summary-entry.component.d.ts.map +1 -1
- package/app/eo-framework/ui/indexdata-summary/indexdata-summary.component.d.ts +1 -1
- package/app/eo-framework/ui/loading-spinner/loading-spinner.component.d.ts +1 -1
- package/app/eo-framework/ui/overlay/overlay.component.d.ts +1 -1
- package/app/eo-framework/ui/query-scope-select/query-scope-select.component.d.ts +1 -1
- package/app/eo-framework/ui/rtl-aware/rtl-aware.directive.d.ts +1 -1
- package/app/eo-framework/ui/signature-tab/signature-tab.component.d.ts +1 -1
- package/app/eo-framework/ui/user-avatar/user-avatar.component.d.ts +1 -1
- package/app/eo-framework/upload-overlay/upload-overlay-guard.service.d.ts +2 -2
- package/app/eo-framework/upload-overlay/upload-overlay-guard.service.d.ts.map +1 -1
- package/app/eo-framework/util/directive/prevent-double-click.directive.d.ts +1 -1
- package/app/eo-framework-core/api/grid.service.d.ts +4 -3
- package/app/eo-framework-core/api/grid.service.d.ts.map +1 -1
- package/app/eo-framework-core/error-handler/error-handler.service.d.ts.map +1 -1
- package/app/eo-framework-core/pending-changes/pending-changes-guard.service.d.ts +1 -2
- package/app/eo-framework-core/pending-changes/pending-changes-guard.service.d.ts.map +1 -1
- package/app/eo-framework-core/route-guards/auth/auth-guard.service.d.ts +2 -2
- package/app/eo-framework-core/route-guards/auth/auth-guard.service.d.ts.map +1 -1
- package/app/eo-framework-core/route-guards/capabilities/capabilities-guard.service.d.ts +2 -2
- package/app/eo-framework-core/route-guards/capabilities/capabilities-guard.service.d.ts.map +1 -1
- package/assets/_default/i18n/de.json +11 -5
- package/assets/_default/i18n/en.json +13 -7
- package/esm2022/app/eo-client/about-state/about-state.component.mjs +81 -0
- package/esm2022/app/eo-client/dashboard/dashboard.component.mjs +307 -0
- package/esm2022/app/eo-client/dashboard/widgets/charts-widget/charts-setup/charts-setup.component.mjs +296 -0
- package/esm2022/app/eo-client/dashboard/widgets/charts-widget/charts-widget.component.mjs +296 -0
- package/{esm2020 → esm2022}/app/eo-client/dashboard/widgets/charts-widget/icharts.mjs +1 -1
- package/esm2022/app/eo-client/dashboard/widgets/count-objects-widget/count-objects-setup/count-objects-setup.component.mjs +121 -0
- package/esm2022/app/eo-client/dashboard/widgets/count-objects-widget/count-objects-widget.component.mjs +125 -0
- package/esm2022/app/eo-client/dashboard/widgets/hitlist-widget/hitlist-setup/hitlist-setup.component.mjs +193 -0
- package/esm2022/app/eo-client/dashboard/widgets/hitlist-widget/hitlist-widget.component.mjs +164 -0
- package/esm2022/app/eo-client/dashboard/widgets/iframe-widget/iframe-setup/iframe-setup.component.mjs +59 -0
- package/{esm2020 → esm2022}/app/eo-client/dashboard/widgets/iframe-widget/iframe-widget.component.mjs +8 -8
- package/esm2022/app/eo-client/dashboard/widgets/info-inbox-widget/info-inbox-setup/info-inbox-setup.component.mjs +60 -0
- package/esm2022/app/eo-client/dashboard/widgets/info-inbox-widget/info-inbox-widget.component.mjs +42 -0
- package/esm2022/app/eo-client/dashboard/widgets/info-intray-widget/info-intray-setup/info-intray-setup.component.mjs +69 -0
- package/esm2022/app/eo-client/dashboard/widgets/info-intray-widget/info-intray-widget.component.mjs +43 -0
- package/esm2022/app/eo-client/dashboard/widgets/last-edited-widget/last-edited-and-created-setup/last-edited-and-created-setup.component.mjs +69 -0
- package/esm2022/app/eo-client/dashboard/widgets/last-edited-widget/last-edited-and-created.component.mjs +185 -0
- package/esm2022/app/eo-client/dashboard/widgets/last-edited-widget/last-edited-and-created.mjs +2 -0
- package/esm2022/app/eo-client/dashboard/widgets/search-widget/search-widget.component.mjs +123 -0
- package/{esm2020 → esm2022}/app/eo-client/eo-client-routing.module.mjs +5 -5
- package/esm2022/app/eo-client/eo-client.module.mjs +173 -0
- package/esm2022/app/eo-client/favorite-state/favorite-state.component.mjs +150 -0
- package/esm2022/app/eo-client/inbox-state/inbox-state/inbox-state.component.mjs +218 -0
- package/{esm2020 → esm2022}/app/eo-client/inbox-state/inbox-state-routing.module.mjs +5 -5
- package/{esm2020 → esm2022}/app/eo-client/inbox-state/inbox-state.module.mjs +13 -13
- package/esm2022/app/eo-client/login/login.component.mjs +111 -0
- package/esm2022/app/eo-client/notifications-state/notifications-state.component.mjs +227 -0
- package/esm2022/app/eo-client/object-state/object-state/object-state.component.mjs +342 -0
- package/{esm2020 → esm2022}/app/eo-client/object-state/object-state-routing.module.mjs +5 -5
- package/esm2022/app/eo-client/object-state/object-state-service/object-state.service.mjs +134 -0
- package/{esm2020 → esm2022}/app/eo-client/object-state/object-state.module.mjs +11 -11
- package/esm2022/app/eo-client/prepare-state/prepare-state/prepare-state.component.mjs +159 -0
- package/{esm2020 → esm2022}/app/eo-client/prepare-state/prepare-state-routing.module.mjs +5 -5
- package/{esm2020 → esm2022}/app/eo-client/prepare-state/prepare-state.module.mjs +15 -15
- package/esm2022/app/eo-client/process-state/process-state.component.mjs +330 -0
- package/esm2022/app/eo-client/recyclebin-state/recyclebin-state.component.mjs +150 -0
- package/esm2022/app/eo-client/result-state/result-state.component.mjs +71 -0
- package/esm2022/app/eo-client/settings/settings.component.mjs +275 -0
- package/esm2022/app/eo-client/stored-queries-state/stored-queries-state.component.mjs +209 -0
- package/esm2022/app/eo-client/version-state/version-state.component.mjs +142 -0
- package/{esm2020 → esm2022}/app/eo-framework/accordion/accordion.module.mjs +5 -5
- package/{esm2020 → esm2022}/app/eo-framework/accordion/simple-accordion/simple-accordion.component.mjs +4 -4
- package/{esm2020 → esm2022}/app/eo-framework/actions/action-menu/action-component-anchor/action-component-anchor.directive.mjs +5 -5
- package/esm2022/app/eo-framework/actions/action-menu/action-menu.component.mjs +208 -0
- package/esm2022/app/eo-framework/actions/action-service/action.service.mjs +185 -0
- package/esm2022/app/eo-framework/actions/action-target.mjs +28 -0
- package/esm2022/app/eo-framework/actions/action.module.mjs +269 -0
- package/esm2022/app/eo-framework/actions/actions/add-resubmission-action/add-resubmission/add-resubmission.component.mjs +201 -0
- package/esm2022/app/eo-framework/actions/actions/add-resubmission-action/add-resubmission-action.mjs +50 -0
- package/esm2022/app/eo-framework/actions/actions/add-subscription-action/add-subscription/add-subscription.component.mjs +134 -0
- package/esm2022/app/eo-framework/actions/actions/add-subscription-action/add-subscription-action.mjs +50 -0
- package/{esm2020 → esm2022}/app/eo-framework/actions/actions/cancel-signing-action/cancel-signing/cancel-signing.component.mjs +6 -6
- package/{esm2020 → esm2022}/app/eo-framework/actions/actions/cancel-signing-action/cancel-signing-action.mjs +5 -5
- package/{esm2020 → esm2022}/app/eo-framework/actions/actions/clipboard/clipboard-action.mjs +5 -5
- package/esm2022/app/eo-framework/actions/actions/clipboard/clipboard-object-action/clipboard-object-action.component.mjs +95 -0
- package/{esm2020 → esm2022}/app/eo-framework/actions/actions/copy-action/copy-action.mjs +5 -5
- package/esm2022/app/eo-framework/actions/actions/custom-actions/custom-actions.component.mjs +88 -0
- package/{esm2020 → esm2022}/app/eo-framework/actions/actions/cut-action/cut-action.mjs +5 -5
- package/esm2022/app/eo-framework/actions/actions/delete-action/delete/delete.component.mjs +111 -0
- package/{esm2020 → esm2022}/app/eo-framework/actions/actions/delete-action/delete-action.mjs +5 -5
- package/{esm2020 → esm2022}/app/eo-framework/actions/actions/delete-action/delete-prepared-action.mjs +5 -5
- package/{esm2020 → esm2022}/app/eo-framework/actions/actions/delete-content-action/delete-content/delete-content.component.mjs +6 -6
- package/{esm2020 → esm2022}/app/eo-framework/actions/actions/delete-content-action/delete-content-action.mjs +5 -5
- package/{esm2020 → esm2022}/app/eo-framework/actions/actions/download-action/download-action.mjs +5 -5
- package/{esm2020 → esm2022}/app/eo-framework/actions/actions/download-action/download-object-action/download-object-action.component.mjs +6 -6
- package/esm2022/app/eo-framework/actions/actions/email/email/email.component.mjs +97 -0
- package/{esm2020 → esm2022}/app/eo-framework/actions/actions/email/email-action.mjs +5 -5
- package/esm2022/app/eo-framework/actions/actions/favorite-action/favorite-action.mjs +76 -0
- package/{esm2020 → esm2022}/app/eo-framework/actions/actions/finalize/definalize-action.mjs +5 -5
- package/{esm2020 → esm2022}/app/eo-framework/actions/actions/finalize/finalize-action.mjs +6 -6
- package/{esm2020 → esm2022}/app/eo-framework/actions/actions/finalize/finalize-object-action/finalize-object-action.component.mjs +6 -6
- package/esm2022/app/eo-framework/actions/actions/open-context-action/open-context-action.mjs +56 -0
- package/esm2022/app/eo-framework/actions/actions/open-document-action/open-document-action.component.mjs +69 -0
- package/{esm2020 → esm2022}/app/eo-framework/actions/actions/open-document-action/open-document-action.mjs +5 -5
- package/{esm2020 → esm2022}/app/eo-framework/actions/actions/open-versions-action/open-versions-action.mjs +5 -5
- package/esm2022/app/eo-framework/actions/actions/remove-subscription-action/remove-subscription-action.mjs +45 -0
- package/{esm2020 → esm2022}/app/eo-framework/actions/actions/restore-version-action/restore-version-action.mjs +5 -5
- package/esm2022/app/eo-framework/actions/actions/share-object-action/share-object/share-object.component.mjs +89 -0
- package/{esm2020 → esm2022}/app/eo-framework/actions/actions/share-object-action/share-object-action.mjs +5 -5
- package/esm2022/app/eo-framework/actions/actions/signature-action/sequence-list/sequence-list.component.mjs +184 -0
- package/esm2022/app/eo-framework/actions/actions/signature-action/sequence-list-item/sequence-list-item.component.mjs +53 -0
- package/esm2022/app/eo-framework/actions/actions/signature-action/signature/signature.component.mjs +146 -0
- package/{esm2020 → esm2022}/app/eo-framework/actions/actions/signature-action/signature-action.component.mjs +5 -5
- package/{esm2020 → esm2022}/app/eo-framework/actions/actions/unlock-action/unlock-action.mjs +5 -5
- package/{esm2020 → esm2022}/app/eo-framework/actions/actions/update-resubmission-action/update-resubmission-action.mjs +5 -5
- package/{esm2020 → esm2022}/app/eo-framework/actions/actions/workflow-action/simple-workflow-action.component.mjs +5 -5
- package/esm2022/app/eo-framework/actions/actions/workflow-action/workflow/workflow.component.mjs +107 -0
- package/{esm2020 → esm2022}/app/eo-framework/actions/actions/workflow-action/workflow-action.component.mjs +5 -5
- package/esm2022/app/eo-framework/app-shell/app-bar/app-add/app-add-dialog/app-add-dialog.component.mjs +173 -0
- package/{esm2020 → esm2022}/app/eo-framework/app-shell/app-bar/app-add/app-add.component.mjs +5 -5
- package/esm2022/app/eo-framework/app-shell/app-bar/app-bar.component.mjs +204 -0
- package/esm2022/app/eo-framework/app-shell/app-bar/app-process/app-process.component.mjs +112 -0
- package/esm2022/app/eo-framework/app-shell/app-bar/app-search/app-search.component.mjs +805 -0
- package/esm2022/app/eo-framework/app-shell/app-bar/context-search/context-search.component.mjs +46 -0
- package/{esm2020 → esm2022}/app/eo-framework/app-shell/app-bar/side-bar/side-bar.component.mjs +6 -6
- package/esm2022/app/eo-framework/app-shell/app-bar/user-avatar-overlay/user-avatar-overlay.component.mjs +42 -0
- package/{esm2020 → esm2022}/app/eo-framework/app-shell/app-shell-routing.module.mjs +5 -5
- package/esm2022/app/eo-framework/app-shell/app-shell.module.mjs +108 -0
- package/{esm2020 → esm2022}/app/eo-framework/app-shell/index.mjs +2 -1
- package/esm2022/app/eo-framework/app-shell/license-warning/license-warning.component.mjs +26 -0
- package/{esm2020 → esm2022}/app/eo-framework/cta/component/cta.component.mjs +4 -4
- package/{esm2020 → esm2022}/app/eo-framework/cta/cta.module.mjs +5 -5
- package/{esm2020 → esm2022}/app/eo-framework/eo-framework.module.mjs +110 -110
- package/{esm2020 → esm2022}/app/eo-framework/error/error.module.mjs +9 -9
- package/{esm2020 → esm2022}/app/eo-framework/error/error404/error404.component.mjs +4 -4
- package/{esm2020 → esm2022}/app/eo-framework/error/not-found/not-found.component.mjs +5 -5
- package/esm2022/app/eo-framework/form-elements/checkbox/checkbox.component.mjs +62 -0
- package/esm2022/app/eo-framework/form-elements/codesystem/codesystem.component.mjs +312 -0
- package/esm2022/app/eo-framework/form-elements/date/date.component.mjs +101 -0
- package/esm2022/app/eo-framework/form-elements/date/year-range/year-range.directive.mjs +44 -0
- package/esm2022/app/eo-framework/form-elements/datetime-range/datetime-range.component.mjs +188 -0
- package/esm2022/app/eo-framework/form-elements/dynamic-list/dynamic-list.component.mjs +306 -0
- package/{esm2020 → esm2022}/app/eo-framework/form-elements/form-elements.module.mjs +76 -76
- package/esm2022/app/eo-framework/form-elements/form-input/form-input.component.mjs +73 -0
- package/esm2022/app/eo-framework/form-elements/form-input/input-focus/input-focus.directive.mjs +35 -0
- package/esm2022/app/eo-framework/form-elements/id-reference/id-reference.component.mjs +252 -0
- package/esm2022/app/eo-framework/form-elements/id-reference/reference-finder/reference-finder.component.mjs +253 -0
- package/esm2022/app/eo-framework/form-elements/id-reference/reference-finder-entry/reference-finder-entry.component.mjs +33 -0
- package/esm2022/app/eo-framework/form-elements/id-reference/service/reference-finder.service.mjs +106 -0
- package/esm2022/app/eo-framework/form-elements/number/number.component.mjs +171 -0
- package/esm2022/app/eo-framework/form-elements/number-range/number-range.component.mjs +138 -0
- package/esm2022/app/eo-framework/form-elements/organization/organization.component.mjs +216 -0
- package/{esm2020 → esm2022}/app/eo-framework/form-elements/password/password.component.mjs +4 -4
- package/esm2022/app/eo-framework/form-elements/reference/reference.component.mjs +223 -0
- package/esm2022/app/eo-framework/form-elements/string/string.component.mjs +254 -0
- package/{esm2020 → esm2022}/app/eo-framework/frame/frame.component.mjs +5 -5
- package/esm2022/app/eo-framework/grid/column-configurator/column-configurator.component.mjs +211 -0
- package/esm2022/app/eo-framework/grid/extensions/custom-sort/custom-sort.component.mjs +83 -0
- package/{esm2020 → esm2022}/app/eo-framework/grid/extensions/empty/empty.component.mjs +4 -4
- package/esm2022/app/eo-framework/grid/extensions/filter/abstract-filter.component.mjs +65 -0
- package/esm2022/app/eo-framework/grid/extensions/filter/custom/custom-filter.component.mjs +82 -0
- package/esm2022/app/eo-framework/grid/extensions/filter/setFilters/set-filter.component.mjs +85 -0
- package/esm2022/app/eo-framework/grid/extensions/filter/text/text-filter.component.mjs +98 -0
- package/esm2022/app/eo-framework/grid/extensions/pagination/pagination.component.mjs +52 -0
- package/{esm2020 → esm2022}/app/eo-framework/grid/extensions/quick-filter/quick-filter.component.mjs +6 -6
- package/{esm2020 → esm2022}/app/eo-framework/grid/extensions/reset-filter/reset-filter.component.mjs +4 -4
- package/esm2022/app/eo-framework/grid/extensions/services/list-settings.service.mjs +42 -0
- package/esm2022/app/eo-framework/grid/extensions/total-count/total-count.component.mjs +36 -0
- package/esm2022/app/eo-framework/grid/filters/codesystem-filter.component.mjs +94 -0
- package/esm2022/app/eo-framework/grid/filters/datetime-filter.component.mjs +75 -0
- package/esm2022/app/eo-framework/grid/filters/dynamic-list-filter.component.mjs +96 -0
- package/esm2022/app/eo-framework/grid/filters/list-filter.component.mjs +54 -0
- package/esm2022/app/eo-framework/grid/filters/organization-filter.component.mjs +64 -0
- package/esm2022/app/eo-framework/grid/grid.component.mjs +420 -0
- package/esm2022/app/eo-framework/grid/grid.module.mjs +97 -0
- package/esm2022/app/eo-framework/grid/row-grouping/batchRemover.mjs +50 -0
- package/esm2022/app/eo-framework/grid/row-grouping/group-stage.mjs +623 -0
- package/{esm2020 → esm2022}/app/eo-framework/grid/row-grouping/row-grouping.module.mjs +2 -1
- package/{esm2020 → esm2022}/app/eo-framework/inbox-details/duetimeInfo/duetimeInfo.component.mjs +5 -5
- package/esm2022/app/eo-framework/inbox-details/inbox-details.component.mjs +457 -0
- package/esm2022/app/eo-framework/list-container/list-container.component.mjs +101 -0
- package/{esm2020 → esm2022}/app/eo-framework/list-container/list-container.module.mjs +7 -7
- package/esm2022/app/eo-framework/media/content-preview.service.mjs +42 -0
- package/esm2022/app/eo-framework/media/media.component.mjs +315 -0
- package/{esm2020 → esm2022}/app/eo-framework/media/media.module.mjs +13 -13
- package/{esm2020 → esm2022}/app/eo-framework/object-details/edit-icon/edit-icon.component.mjs +5 -5
- package/esm2022/app/eo-framework/object-details/favorite-icon/favorite-icon.component.mjs +104 -0
- package/esm2022/app/eo-framework/object-details/object-details.component.mjs +439 -0
- package/{esm2020 → esm2022}/app/eo-framework/object-details/object-details.module.mjs +42 -42
- package/esm2022/app/eo-framework/object-details/object-history/history-filter/history-filter-pipe/history-filter.pipe.mjs +32 -0
- package/{esm2020 → esm2022}/app/eo-framework/object-details/object-history/history-filter/history-filter.component.mjs +4 -4
- package/esm2022/app/eo-framework/object-details/object-history/object-history.component.mjs +82 -0
- package/esm2022/app/eo-framework/object-details/object-links/object-links.component.mjs +292 -0
- package/{esm2020 → esm2022}/app/eo-framework/object-form/object-form/form-element/form-element-template.directive.mjs +5 -5
- package/esm2022/app/eo-framework/object-form/object-form/form-element/form-element.component.mjs +123 -0
- package/esm2022/app/eo-framework/object-form/object-form/form-element-table/form-element-table.component.mjs +639 -0
- package/esm2022/app/eo-framework/object-form/object-form/form-element-table/row-edit/row-edit.component.mjs +238 -0
- package/esm2022/app/eo-framework/object-form/object-form/form-validation/form-validation.mjs +40 -0
- package/esm2022/app/eo-framework/object-form/object-form/object-form-group/object-form-group.component.mjs +81 -0
- package/esm2022/app/eo-framework/object-form/object-form/object-form-script/object-form-script.service.mjs +113 -0
- package/esm2022/app/eo-framework/object-form/object-form/object-form-script/object-form-scripting-scope.mjs +267 -0
- package/esm2022/app/eo-framework/object-form/object-form/object-form.component.mjs +148 -0
- package/esm2022/app/eo-framework/object-form/object-form-edit/object-form-edit.component.mjs +216 -0
- package/esm2022/app/eo-framework/object-form/object-form-helper.service.mjs +717 -0
- package/{esm2020 → esm2022}/app/eo-framework/object-form/object-form.module.mjs +37 -37
- package/esm2022/app/eo-framework/object-state-details/object-state-details.component.mjs +135 -0
- package/{esm2020 → esm2022}/app/eo-framework/plugins/plugin.component.mjs +16 -16
- package/{esm2020 → esm2022}/app/eo-framework/plugins/plugin.directive.mjs +5 -5
- package/{esm2020 → esm2022}/app/eo-framework/plugins/plugin.service.mjs +6 -6
- package/esm2022/app/eo-framework/plugins/plugins.module.mjs +55 -0
- package/{esm2020 → esm2022}/app/eo-framework/prepare-details/prepare-content-exists-info/prepare-content-exists-info.component.mjs +4 -4
- package/esm2022/app/eo-framework/prepare-details/prepare-details.component.mjs +568 -0
- package/esm2022/app/eo-framework/process/details/process-details.component.mjs +226 -0
- package/{esm2020 → esm2022}/app/eo-framework/process/history/process-history.component.mjs +4 -4
- package/{esm2020 → esm2022}/app/eo-framework/process/process-file/process-file.component.mjs +6 -6
- package/esm2022/app/eo-framework/process-form/process-form.component.mjs +50 -0
- package/{esm2020 → esm2022}/app/eo-framework/process-form/process-form.module.mjs +11 -11
- package/esm2022/app/eo-framework/quick-search/quick-search/quick-search.component.mjs +220 -0
- package/{esm2020 → esm2022}/app/eo-framework/quick-search/quick-search.module.mjs +11 -11
- package/esm2022/app/eo-framework/recyclebin-details/recyclebin-details.component.mjs +271 -0
- package/esm2022/app/eo-framework/result-list/result-list.component.mjs +384 -0
- package/{esm2020 → esm2022}/app/eo-framework/result-list/result-list.module.mjs +11 -11
- package/esm2022/app/eo-framework/settings/change-password/change-password-form/change-password-form.component.mjs +125 -0
- package/{esm2020 → esm2022}/app/eo-framework/settings/permissions/permissions.component.mjs +4 -4
- package/{esm2020 → esm2022}/app/eo-framework/settings/settings.module.mjs +13 -13
- package/esm2022/app/eo-framework/shortcuts/global-shortcuts/global-shortcuts-section/global-shortcuts-section.component.mjs +65 -0
- package/esm2022/app/eo-framework/shortcuts/global-shortcuts/global-shortcuts.component.mjs +130 -0
- package/{esm2020 → esm2022}/app/eo-framework/shortcuts/shortcut.interface.mjs +1 -1
- package/{esm2020 → esm2022}/app/eo-framework/shortcuts/shortcuts.directive.mjs +5 -5
- package/{esm2020 → esm2022}/app/eo-framework/shortcuts/shortcuts.module.mjs +9 -9
- package/esm2022/app/eo-framework/shortcuts/shortcuts.service.mjs +45 -0
- package/esm2022/app/eo-framework/stored-query/stored-query/stored-query.component.mjs +225 -0
- package/esm2022/app/eo-framework/stored-query/stored-query-details/dynamic-property-switch/dynamic-property-switch.component.mjs +46 -0
- package/esm2022/app/eo-framework/stored-query/stored-query-details/stored-query-details.component.mjs +501 -0
- package/{esm2020 → esm2022}/app/eo-framework/stored-query/stored-query.module.mjs +20 -20
- package/{esm2020 → esm2022}/app/eo-framework/tree/tree-node/tree-node.component.mjs +5 -5
- package/esm2022/app/eo-framework/tree/tree.component.mjs +281 -0
- package/{esm2020 → esm2022}/app/eo-framework/tree/tree.module.mjs +7 -7
- package/{esm2020 → esm2022}/app/eo-framework/ui/animations/panel-loading.animation.mjs +1 -1
- package/esm2022/app/eo-framework/ui/clipboard/clipboard.component.mjs +159 -0
- package/esm2022/app/eo-framework/ui/eo-dialog/eo-dialog.component.mjs +130 -0
- package/esm2022/app/eo-framework/ui/eo-icon/eo-icon.component.mjs +119 -0
- package/esm2022/app/eo-framework/ui/error-message/error-message.component.mjs +33 -0
- package/esm2022/app/eo-framework/ui/indexdata-summary/indexdata-summary-entry/indexdata-summary-entry.component.mjs +50 -0
- package/esm2022/app/eo-framework/ui/indexdata-summary/indexdata-summary.component.mjs +147 -0
- package/{esm2020 → esm2022}/app/eo-framework/ui/loading-spinner/loading-spinner.component.mjs +8 -8
- package/esm2022/app/eo-framework/ui/outside-click/outside-click.directive.mjs +60 -0
- package/esm2022/app/eo-framework/ui/overlay/overlay.component.mjs +71 -0
- package/{esm2020 → esm2022}/app/eo-framework/ui/query-scope-select/query-scope-select.component.mjs +5 -5
- package/esm2022/app/eo-framework/ui/router-link/router-link.directive.mjs +26 -0
- package/esm2022/app/eo-framework/ui/rtl-aware/rtl-aware.directive.mjs +57 -0
- package/esm2022/app/eo-framework/ui/signature-tab/signature-tab.component.mjs +32 -0
- package/{esm2020 → esm2022}/app/eo-framework/ui/ui.module.mjs +59 -59
- package/esm2022/app/eo-framework/ui/user-avatar/user-avatar.component.mjs +54 -0
- package/esm2022/app/eo-framework/upload-overlay/upload-overlay-guard.service.mjs +17 -0
- package/esm2022/app/eo-framework/upload-overlay/upload-overlay.component.mjs +397 -0
- package/{esm2020 → esm2022}/app/eo-framework/util/directive/prevent-double-click.directive.mjs +5 -5
- package/esm2022/app/eo-framework/util/directive/trap-focus.directive.mjs +69 -0
- package/esm2022/app/eo-framework/util/services/utilities.service.mjs +25 -0
- package/esm2022/app/eo-framework/util/sortable/order-by.pipe.mjs +48 -0
- package/{esm2020 → esm2022}/app/eo-framework/util/util.module.mjs +5 -5
- package/esm2022/app/eo-framework-core/agent/agent.service.mjs +178 -0
- package/esm2022/app/eo-framework-core/api/grid.service.mjs +728 -0
- package/esm2022/app/eo-framework-core/api/plugins.service.mjs +258 -0
- package/esm2022/app/eo-framework-core/empty-state/empty-state.service.mjs +53 -0
- package/esm2022/app/eo-framework-core/eo-framework-core.module.mjs +105 -0
- package/esm2022/app/eo-framework-core/error-handler/error-handler.service.mjs +89 -0
- package/esm2022/app/eo-framework-core/layout/layout.service.mjs +106 -0
- package/esm2022/app/eo-framework-core/location/location.service.mjs +146 -0
- package/esm2022/app/eo-framework-core/pending-changes/pending-changes-guard.service.mjs +18 -0
- package/esm2022/app/eo-framework-core/pending-changes/pending-changes.service.mjs +112 -0
- package/esm2022/app/eo-framework-core/pipes/filesize.pipe.mjs +30 -0
- package/{esm2020 → esm2022}/app/eo-framework-core/pipes/keys.pipe.mjs +4 -4
- package/esm2022/app/eo-framework-core/pipes/locale-date.pipe.mjs +63 -0
- package/esm2022/app/eo-framework-core/pipes/locale-number.pipe.mjs +109 -0
- package/{esm2020 → esm2022}/app/eo-framework-core/pipes/pipes.module.mjs +19 -19
- package/{esm2020 → esm2022}/app/eo-framework-core/pipes/safe-html.pipe.mjs +5 -5
- package/esm2022/app/eo-framework-core/references/reference.service.mjs +266 -0
- package/esm2022/app/eo-framework-core/route-guards/auth/auth-guard.service.mjs +29 -0
- package/esm2022/app/eo-framework-core/route-guards/capabilities/capabilities-guard.service.mjs +55 -0
- package/esm2022/app/eo-framework-core/search/app-search.service.mjs +387 -0
- package/esm2022/app/eo-framework-core/selection/selection.service.mjs +63 -0
- package/esm2022/app/eo-framework-core/title/page-title.service.mjs +42 -0
- package/{fesm2020 → fesm2022}/eo-sdk-client.mjs +2617 -2254
- package/fesm2022/eo-sdk-client.mjs.map +1 -0
- package/misc/scripts/copy-client-assets.js +1 -1
- package/package.json +31 -44
- package/styles.css +725 -550
- package/styles.scss +3 -3
- package/esm2020/app/eo-client/about-state/about-state.component.mjs +0 -81
- package/esm2020/app/eo-client/dashboard/dashboard.component.mjs +0 -305
- package/esm2020/app/eo-client/dashboard/widgets/charts-widget/charts-setup/charts-setup.component.mjs +0 -288
- package/esm2020/app/eo-client/dashboard/widgets/charts-widget/charts-widget.component.mjs +0 -265
- package/esm2020/app/eo-client/dashboard/widgets/count-objects-widget/count-objects-setup/count-objects-setup.component.mjs +0 -121
- package/esm2020/app/eo-client/dashboard/widgets/count-objects-widget/count-objects-widget.component.mjs +0 -125
- package/esm2020/app/eo-client/dashboard/widgets/hitlist-widget/hitlist-setup/hitlist-setup.component.mjs +0 -192
- package/esm2020/app/eo-client/dashboard/widgets/hitlist-widget/hitlist-widget.component.mjs +0 -164
- package/esm2020/app/eo-client/dashboard/widgets/iframe-widget/iframe-setup/iframe-setup.component.mjs +0 -59
- package/esm2020/app/eo-client/dashboard/widgets/info-inbox-widget/info-inbox-setup/info-inbox-setup.component.mjs +0 -60
- package/esm2020/app/eo-client/dashboard/widgets/info-inbox-widget/info-inbox-widget.component.mjs +0 -42
- package/esm2020/app/eo-client/dashboard/widgets/info-intray-widget/info-intray-setup/info-intray-setup.component.mjs +0 -69
- package/esm2020/app/eo-client/dashboard/widgets/info-intray-widget/info-intray-widget.component.mjs +0 -43
- package/esm2020/app/eo-client/dashboard/widgets/last-edited-widget/last-edited-and-created.component.mjs +0 -116
- package/esm2020/app/eo-client/dashboard/widgets/search-widget/search-widget.component.mjs +0 -123
- package/esm2020/app/eo-client/eo-client.module.mjs +0 -170
- package/esm2020/app/eo-client/favorite-state/favorite-state.component.mjs +0 -150
- package/esm2020/app/eo-client/inbox-state/inbox-state/inbox-state.component.mjs +0 -218
- package/esm2020/app/eo-client/login/login.component.mjs +0 -111
- package/esm2020/app/eo-client/notifications-state/notifications-state.component.mjs +0 -227
- package/esm2020/app/eo-client/object-state/object-state/object-state.component.mjs +0 -342
- package/esm2020/app/eo-client/object-state/object-state-service/object-state.service.mjs +0 -134
- package/esm2020/app/eo-client/prepare-state/prepare-state/prepare-state.component.mjs +0 -159
- package/esm2020/app/eo-client/process-state/process-state.component.mjs +0 -330
- package/esm2020/app/eo-client/recyclebin-state/recyclebin-state.component.mjs +0 -150
- package/esm2020/app/eo-client/result-state/result-state.component.mjs +0 -71
- package/esm2020/app/eo-client/settings/settings.component.mjs +0 -287
- package/esm2020/app/eo-client/stored-queries-state/stored-queries-state.component.mjs +0 -209
- package/esm2020/app/eo-client/version-state/version-state.component.mjs +0 -142
- package/esm2020/app/eo-framework/actions/action-menu/action-menu.component.mjs +0 -208
- package/esm2020/app/eo-framework/actions/action-service/action.service.mjs +0 -185
- package/esm2020/app/eo-framework/actions/action-target.mjs +0 -28
- package/esm2020/app/eo-framework/actions/action.module.mjs +0 -274
- package/esm2020/app/eo-framework/actions/actions/add-resubmission-action/add-resubmission/add-resubmission.component.mjs +0 -201
- package/esm2020/app/eo-framework/actions/actions/add-resubmission-action/add-resubmission-action.mjs +0 -50
- package/esm2020/app/eo-framework/actions/actions/add-subscription-action/add-subscription/add-subscription.component.mjs +0 -134
- package/esm2020/app/eo-framework/actions/actions/add-subscription-action/add-subscription-action.mjs +0 -50
- package/esm2020/app/eo-framework/actions/actions/clipboard/clipboard-object-action/clipboard-object-action.component.mjs +0 -95
- package/esm2020/app/eo-framework/actions/actions/custom-actions/custom-actions.component.mjs +0 -88
- package/esm2020/app/eo-framework/actions/actions/delete-action/delete/delete.component.mjs +0 -111
- package/esm2020/app/eo-framework/actions/actions/email/email/email.component.mjs +0 -97
- package/esm2020/app/eo-framework/actions/actions/favorite-action/favorite-action.mjs +0 -76
- package/esm2020/app/eo-framework/actions/actions/open-context-action/open-context-action.mjs +0 -56
- package/esm2020/app/eo-framework/actions/actions/open-document-action/open-document-action.component.mjs +0 -69
- package/esm2020/app/eo-framework/actions/actions/remove-subscription-action/remove-subscription-action.mjs +0 -45
- package/esm2020/app/eo-framework/actions/actions/share-object-action/share-object/share-object.component.mjs +0 -89
- package/esm2020/app/eo-framework/actions/actions/signature-action/sequence-list/sequence-list.component.mjs +0 -184
- package/esm2020/app/eo-framework/actions/actions/signature-action/sequence-list-item/sequence-list-item.component.mjs +0 -53
- package/esm2020/app/eo-framework/actions/actions/signature-action/signature/signature.component.mjs +0 -146
- package/esm2020/app/eo-framework/actions/actions/workflow-action/workflow/workflow.component.mjs +0 -107
- package/esm2020/app/eo-framework/app-shell/app-bar/app-add/app-add-dialog/app-add-dialog.component.mjs +0 -173
- package/esm2020/app/eo-framework/app-shell/app-bar/app-bar.component.mjs +0 -203
- package/esm2020/app/eo-framework/app-shell/app-bar/app-process/app-process.component.mjs +0 -112
- package/esm2020/app/eo-framework/app-shell/app-bar/app-search/app-search.component.mjs +0 -793
- package/esm2020/app/eo-framework/app-shell/app-bar/context-search/context-search.component.mjs +0 -46
- package/esm2020/app/eo-framework/app-shell/app-bar/user-avatar-overlay/user-avatar-overlay.component.mjs +0 -42
- package/esm2020/app/eo-framework/app-shell/app-shell.module.mjs +0 -102
- package/esm2020/app/eo-framework/form-elements/checkbox/checkbox.component.mjs +0 -62
- package/esm2020/app/eo-framework/form-elements/codesystem/codesystem.component.mjs +0 -312
- package/esm2020/app/eo-framework/form-elements/date/date.component.mjs +0 -101
- package/esm2020/app/eo-framework/form-elements/date/year-range/year-range.directive.mjs +0 -44
- package/esm2020/app/eo-framework/form-elements/datetime-range/datetime-range.component.mjs +0 -184
- package/esm2020/app/eo-framework/form-elements/dynamic-list/dynamic-list.component.mjs +0 -303
- package/esm2020/app/eo-framework/form-elements/form-input/form-input.component.mjs +0 -73
- package/esm2020/app/eo-framework/form-elements/form-input/input-focus/input-focus.directive.mjs +0 -35
- package/esm2020/app/eo-framework/form-elements/id-reference/id-reference.component.mjs +0 -252
- package/esm2020/app/eo-framework/form-elements/id-reference/reference-finder/reference-finder.component.mjs +0 -253
- package/esm2020/app/eo-framework/form-elements/id-reference/reference-finder-entry/reference-finder-entry.component.mjs +0 -33
- package/esm2020/app/eo-framework/form-elements/id-reference/service/reference-finder.service.mjs +0 -106
- package/esm2020/app/eo-framework/form-elements/number/number.component.mjs +0 -171
- package/esm2020/app/eo-framework/form-elements/number-range/number-range.component.mjs +0 -138
- package/esm2020/app/eo-framework/form-elements/organization/organization.component.mjs +0 -216
- package/esm2020/app/eo-framework/form-elements/reference/reference.component.mjs +0 -223
- package/esm2020/app/eo-framework/form-elements/string/string.component.mjs +0 -254
- package/esm2020/app/eo-framework/grid/column-configurator/column-configurator.component.mjs +0 -211
- package/esm2020/app/eo-framework/grid/extensions/custom-sort/custom-sort.component.mjs +0 -83
- package/esm2020/app/eo-framework/grid/extensions/filter/abstract-filter.component.mjs +0 -65
- package/esm2020/app/eo-framework/grid/extensions/filter/custom/custom-filter.component.mjs +0 -82
- package/esm2020/app/eo-framework/grid/extensions/filter/setFilters/set-filter.component.mjs +0 -85
- package/esm2020/app/eo-framework/grid/extensions/filter/text/text-filter.component.mjs +0 -98
- package/esm2020/app/eo-framework/grid/extensions/pagination/pagination.component.mjs +0 -52
- package/esm2020/app/eo-framework/grid/extensions/services/list-settings.service.mjs +0 -42
- package/esm2020/app/eo-framework/grid/extensions/total-count/total-count.component.mjs +0 -36
- package/esm2020/app/eo-framework/grid/filters/codesystem-filter.component.mjs +0 -94
- package/esm2020/app/eo-framework/grid/filters/datetime-filter.component.mjs +0 -75
- package/esm2020/app/eo-framework/grid/filters/dynamic-list-filter.component.mjs +0 -96
- package/esm2020/app/eo-framework/grid/filters/list-filter.component.mjs +0 -54
- package/esm2020/app/eo-framework/grid/filters/organization-filter.component.mjs +0 -64
- package/esm2020/app/eo-framework/grid/grid.component.mjs +0 -421
- package/esm2020/app/eo-framework/grid/grid.module.mjs +0 -107
- package/esm2020/app/eo-framework/grid/row-grouping/group-stage.mjs +0 -528
- package/esm2020/app/eo-framework/inbox-details/inbox-details.component.mjs +0 -457
- package/esm2020/app/eo-framework/list-container/list-container.component.mjs +0 -101
- package/esm2020/app/eo-framework/media/content-preview.service.mjs +0 -42
- package/esm2020/app/eo-framework/media/media.component.mjs +0 -314
- package/esm2020/app/eo-framework/object-details/favorite-icon/favorite-icon.component.mjs +0 -104
- package/esm2020/app/eo-framework/object-details/object-details.component.mjs +0 -439
- package/esm2020/app/eo-framework/object-details/object-history/history-filter/history-filter-pipe/history-filter.pipe.mjs +0 -32
- package/esm2020/app/eo-framework/object-details/object-history/object-history.component.mjs +0 -82
- package/esm2020/app/eo-framework/object-details/object-links/object-links.component.mjs +0 -292
- package/esm2020/app/eo-framework/object-form/object-form/form-element/form-element.component.mjs +0 -123
- package/esm2020/app/eo-framework/object-form/object-form/form-element-table/form-element-table.component.mjs +0 -634
- package/esm2020/app/eo-framework/object-form/object-form/form-element-table/row-edit/row-edit.component.mjs +0 -238
- package/esm2020/app/eo-framework/object-form/object-form/form-validation/form-validation.mjs +0 -40
- package/esm2020/app/eo-framework/object-form/object-form/object-form-group/object-form-group.component.mjs +0 -81
- package/esm2020/app/eo-framework/object-form/object-form/object-form-script/object-form-script.service.mjs +0 -113
- package/esm2020/app/eo-framework/object-form/object-form/object-form-script/object-form-scripting-scope.mjs +0 -267
- package/esm2020/app/eo-framework/object-form/object-form/object-form.component.mjs +0 -148
- package/esm2020/app/eo-framework/object-form/object-form-edit/object-form-edit.component.mjs +0 -216
- package/esm2020/app/eo-framework/object-form/object-form-helper.service.mjs +0 -717
- package/esm2020/app/eo-framework/object-state-details/object-state-details.component.mjs +0 -134
- package/esm2020/app/eo-framework/plugins/plugins.module.mjs +0 -59
- package/esm2020/app/eo-framework/prepare-details/prepare-details.component.mjs +0 -557
- package/esm2020/app/eo-framework/process/details/process-details.component.mjs +0 -226
- package/esm2020/app/eo-framework/process-form/process-form.component.mjs +0 -50
- package/esm2020/app/eo-framework/quick-search/quick-search/quick-search.component.mjs +0 -220
- package/esm2020/app/eo-framework/recyclebin-details/recyclebin-details.component.mjs +0 -271
- package/esm2020/app/eo-framework/result-list/result-list.component.mjs +0 -368
- package/esm2020/app/eo-framework/settings/change-password/change-password-form/change-password-form.component.mjs +0 -125
- package/esm2020/app/eo-framework/shortcuts/global-shortcuts/global-shortcuts-section/global-shortcuts-section.component.mjs +0 -65
- package/esm2020/app/eo-framework/shortcuts/global-shortcuts/global-shortcuts.component.mjs +0 -130
- package/esm2020/app/eo-framework/shortcuts/shortcuts.service.mjs +0 -45
- package/esm2020/app/eo-framework/stored-query/stored-query/stored-query.component.mjs +0 -225
- package/esm2020/app/eo-framework/stored-query/stored-query-details/dynamic-property-switch/dynamic-property-switch.component.mjs +0 -46
- package/esm2020/app/eo-framework/stored-query/stored-query-details/stored-query-details.component.mjs +0 -501
- package/esm2020/app/eo-framework/tree/tree.component.mjs +0 -281
- package/esm2020/app/eo-framework/ui/clipboard/clipboard.component.mjs +0 -159
- package/esm2020/app/eo-framework/ui/eo-dialog/eo-dialog.component.mjs +0 -130
- package/esm2020/app/eo-framework/ui/eo-icon/eo-icon.component.mjs +0 -119
- package/esm2020/app/eo-framework/ui/error-message/error-message.component.mjs +0 -33
- package/esm2020/app/eo-framework/ui/indexdata-summary/indexdata-summary-entry/indexdata-summary-entry.component.mjs +0 -41
- package/esm2020/app/eo-framework/ui/indexdata-summary/indexdata-summary.component.mjs +0 -146
- package/esm2020/app/eo-framework/ui/outside-click/outside-click.directive.mjs +0 -60
- package/esm2020/app/eo-framework/ui/overlay/overlay.component.mjs +0 -71
- package/esm2020/app/eo-framework/ui/router-link/router-link.directive.mjs +0 -26
- package/esm2020/app/eo-framework/ui/rtl-aware/rtl-aware.directive.mjs +0 -57
- package/esm2020/app/eo-framework/ui/signature-tab/signature-tab.component.mjs +0 -32
- package/esm2020/app/eo-framework/ui/user-avatar/user-avatar.component.mjs +0 -54
- package/esm2020/app/eo-framework/upload-overlay/upload-overlay-guard.service.mjs +0 -17
- package/esm2020/app/eo-framework/upload-overlay/upload-overlay.component.mjs +0 -397
- package/esm2020/app/eo-framework/util/directive/trap-focus.directive.mjs +0 -69
- package/esm2020/app/eo-framework/util/services/utilities.service.mjs +0 -25
- package/esm2020/app/eo-framework/util/sortable/order-by.pipe.mjs +0 -48
- package/esm2020/app/eo-framework-core/agent/agent.service.mjs +0 -178
- package/esm2020/app/eo-framework-core/api/grid.service.mjs +0 -732
- package/esm2020/app/eo-framework-core/api/plugins.service.mjs +0 -258
- package/esm2020/app/eo-framework-core/empty-state/empty-state.service.mjs +0 -53
- package/esm2020/app/eo-framework-core/eo-framework-core.module.mjs +0 -105
- package/esm2020/app/eo-framework-core/error-handler/error-handler.service.mjs +0 -89
- package/esm2020/app/eo-framework-core/layout/layout.service.mjs +0 -106
- package/esm2020/app/eo-framework-core/location/location.service.mjs +0 -146
- package/esm2020/app/eo-framework-core/pending-changes/pending-changes-guard.service.mjs +0 -18
- package/esm2020/app/eo-framework-core/pending-changes/pending-changes.service.mjs +0 -112
- package/esm2020/app/eo-framework-core/pipes/filesize.pipe.mjs +0 -30
- package/esm2020/app/eo-framework-core/pipes/locale-date.pipe.mjs +0 -63
- package/esm2020/app/eo-framework-core/pipes/locale-number.pipe.mjs +0 -109
- package/esm2020/app/eo-framework-core/references/reference.service.mjs +0 -266
- package/esm2020/app/eo-framework-core/route-guards/auth/auth-guard.service.mjs +0 -29
- package/esm2020/app/eo-framework-core/route-guards/capabilities/capabilities-guard.service.mjs +0 -55
- package/esm2020/app/eo-framework-core/search/app-search.service.mjs +0 -387
- package/esm2020/app/eo-framework-core/selection/selection.service.mjs +0 -63
- package/esm2020/app/eo-framework-core/title/page-title.service.mjs +0 -42
- package/esm2020/projects/eo-sdk/core/eo-sdk-client-projects-eo-sdk-core.mjs +0 -5
- package/esm2020/projects/eo-sdk/core/lib/config/core-config.mjs +0 -23
- package/esm2020/projects/eo-sdk/core/lib/config/core-init.service.mjs +0 -71
- package/esm2020/projects/eo-sdk/core/lib/config/core-init.tokens.mjs +0 -8
- package/esm2020/projects/eo-sdk/core/lib/config/initialize-module.mjs +0 -11
- package/esm2020/projects/eo-sdk/core/lib/config/missing-translation-handler.mjs +0 -15
- package/esm2020/projects/eo-sdk/core/lib/config/translate-json-loader.mjs +0 -130
- package/esm2020/projects/eo-sdk/core/lib/environment.enaio.mjs +0 -12
- package/esm2020/projects/eo-sdk/core/lib/eo-core-shared.module.mjs +0 -24
- package/esm2020/projects/eo-sdk/core/lib/eo-core.module.mjs +0 -117
- package/esm2020/projects/eo-sdk/core/lib/interface/change-password.interface.mjs +0 -2
- package/esm2020/projects/eo-sdk/core/lib/interface/event.interface.mjs +0 -2
- package/esm2020/projects/eo-sdk/core/lib/interface/http-options.interface.mjs +0 -2
- package/esm2020/projects/eo-sdk/core/lib/interface/logger.interface.mjs +0 -7
- package/esm2020/projects/eo-sdk/core/lib/interface/organization-objects.interface.mjs +0 -2
- package/esm2020/projects/eo-sdk/core/lib/interface/tree-node.interface.mjs +0 -2
- package/esm2020/projects/eo-sdk/core/lib/model/baseparams.model.mjs +0 -2
- package/esm2020/projects/eo-sdk/core/lib/model/bpm.model.mjs +0 -70
- package/esm2020/projects/eo-sdk/core/lib/model/custom-action.model.mjs +0 -2
- package/esm2020/projects/eo-sdk/core/lib/model/dms-object-history.model.mjs +0 -30
- package/esm2020/projects/eo-sdk/core/lib/model/dms-object.model.mjs +0 -140
- package/esm2020/projects/eo-sdk/core/lib/model/eo-error.model.mjs +0 -37
- package/esm2020/projects/eo-sdk/core/lib/model/eo-user.model.mjs +0 -86
- package/esm2020/projects/eo-sdk/core/lib/model/inbox-item.model.mjs +0 -36
- package/esm2020/projects/eo-sdk/core/lib/model/object-type.model.mjs +0 -39
- package/esm2020/projects/eo-sdk/core/lib/model/org.model.mjs +0 -2
- package/esm2020/projects/eo-sdk/core/lib/model/prepared-item.model.mjs +0 -35
- package/esm2020/projects/eo-sdk/core/lib/model/range-value.model.mjs +0 -45
- package/esm2020/projects/eo-sdk/core/lib/model/upload-file-item.model.mjs +0 -17
- package/esm2020/projects/eo-sdk/core/lib/model/upload-target.model.mjs +0 -50
- package/esm2020/projects/eo-sdk/core/lib/model/work-item-history.model.mjs +0 -54
- package/esm2020/projects/eo-sdk/core/lib/service/auth/auth-interceptor.mjs +0 -29
- package/esm2020/projects/eo-sdk/core/lib/service/auth/auth-profile.interface.mjs +0 -2
- package/esm2020/projects/eo-sdk/core/lib/service/auth/auth.service.mjs +0 -215
- package/esm2020/projects/eo-sdk/core/lib/service/auth/gateway-info.interface.mjs +0 -2
- package/esm2020/projects/eo-sdk/core/lib/service/backend/backend.service.mjs +0 -358
- package/esm2020/projects/eo-sdk/core/lib/service/bpm/bpm.service.mjs +0 -286
- package/esm2020/projects/eo-sdk/core/lib/service/cache/app-cache.service.mjs +0 -117
- package/esm2020/projects/eo-sdk/core/lib/service/capabilities/capabilities.model.mjs +0 -2
- package/esm2020/projects/eo-sdk/core/lib/service/capabilities/capabilities.service.mjs +0 -60
- package/esm2020/projects/eo-sdk/core/lib/service/clipboard/clipboard-action.enum.mjs +0 -6
- package/esm2020/projects/eo-sdk/core/lib/service/clipboard/clipboard.interface.mjs +0 -2
- package/esm2020/projects/eo-sdk/core/lib/service/clipboard/clipboard.service.mjs +0 -100
- package/esm2020/projects/eo-sdk/core/lib/service/config/config.enum.mjs +0 -6
- package/esm2020/projects/eo-sdk/core/lib/service/config/config.interface.mjs +0 -2
- package/esm2020/projects/eo-sdk/core/lib/service/config/config.service.mjs +0 -135
- package/esm2020/projects/eo-sdk/core/lib/service/dms/dms.service.mjs +0 -507
- package/esm2020/projects/eo-sdk/core/lib/service/dms/dmsParams.interface.mjs +0 -2
- package/esm2020/projects/eo-sdk/core/lib/service/events/event.service.mjs +0 -44
- package/esm2020/projects/eo-sdk/core/lib/service/events/events.mjs +0 -27
- package/esm2020/projects/eo-sdk/core/lib/service/inbox/inbox.service.mjs +0 -111
- package/esm2020/projects/eo-sdk/core/lib/service/logger/console-log.service.mjs +0 -41
- package/esm2020/projects/eo-sdk/core/lib/service/logger/logger.mjs +0 -47
- package/esm2020/projects/eo-sdk/core/lib/service/notifications/notifications.service.mjs +0 -136
- package/esm2020/projects/eo-sdk/core/lib/service/prepare/objectTypes.interface.mjs +0 -2
- package/esm2020/projects/eo-sdk/core/lib/service/prepare/prepare.service.mjs +0 -305
- package/esm2020/projects/eo-sdk/core/lib/service/search/search-filter-type.interface.mjs +0 -2
- package/esm2020/projects/eo-sdk/core/lib/service/search/search-query.model.mjs +0 -510
- package/esm2020/projects/eo-sdk/core/lib/service/search/search.service.mjs +0 -478
- package/esm2020/projects/eo-sdk/core/lib/service/signing/signing.service.mjs +0 -60
- package/esm2020/projects/eo-sdk/core/lib/service/storage/local-storage.service.mjs +0 -111
- package/esm2020/projects/eo-sdk/core/lib/service/stored-queries/stored-queries-subscription.interface.mjs +0 -2
- package/esm2020/projects/eo-sdk/core/lib/service/stored-queries/stored-queries.service.mjs +0 -216
- package/esm2020/projects/eo-sdk/core/lib/service/stored-queries/stored-query.model.mjs +0 -98
- package/esm2020/projects/eo-sdk/core/lib/service/system/system.service.mjs +0 -345
- package/esm2020/projects/eo-sdk/core/lib/service/system/systemdefinition.interface.mjs +0 -2
- package/esm2020/projects/eo-sdk/core/lib/service/system-status/system-status.service.mjs +0 -104
- package/esm2020/projects/eo-sdk/core/lib/service/system-status/system.status.enum.mjs +0 -9
- package/esm2020/projects/eo-sdk/core/lib/service/system-status/system.status.interface.mjs +0 -2
- package/esm2020/projects/eo-sdk/core/lib/service/upload/upload.service.mjs +0 -46
- package/esm2020/projects/eo-sdk/core/lib/service/upload-registry/upload-registry.service.mjs +0 -83
- package/esm2020/projects/eo-sdk/core/lib/service/user/user.service.mjs +0 -399
- package/esm2020/projects/eo-sdk/core/lib/util/utils.mjs +0 -304
- package/esm2020/projects/eo-sdk/core/public_api.mjs +0 -85
- package/fesm2015/eo-sdk-client-projects-eo-sdk-core.mjs +0 -6118
- package/fesm2015/eo-sdk-client-projects-eo-sdk-core.mjs.map +0 -1
- package/fesm2015/eo-sdk-client.mjs +0 -27040
- package/fesm2015/eo-sdk-client.mjs.map +0 -1
- package/fesm2020/eo-sdk-client-projects-eo-sdk-core.mjs +0 -6133
- package/fesm2020/eo-sdk-client-projects-eo-sdk-core.mjs.map +0 -1
- package/fesm2020/eo-sdk-client.mjs.map +0 -1
- package/projects/eo-sdk/core/README.md +0 -113
- package/projects/eo-sdk/core/eo-sdk-client-projects-eo-sdk-core.d.ts.map +0 -1
- package/projects/eo-sdk/core/index.d.ts +0 -6
- package/projects/eo-sdk/core/lib/config/core-config.d.ts +0 -14
- package/projects/eo-sdk/core/lib/config/core-config.d.ts.map +0 -1
- package/projects/eo-sdk/core/lib/config/core-init.service.d.ts +0 -33
- package/projects/eo-sdk/core/lib/config/core-init.service.d.ts.map +0 -1
- package/projects/eo-sdk/core/lib/config/core-init.tokens.d.ts +0 -8
- package/projects/eo-sdk/core/lib/config/core-init.tokens.d.ts.map +0 -1
- package/projects/eo-sdk/core/lib/config/initialize-module.d.ts +0 -7
- package/projects/eo-sdk/core/lib/config/initialize-module.d.ts.map +0 -1
- package/projects/eo-sdk/core/lib/config/missing-translation-handler.d.ts +0 -14
- package/projects/eo-sdk/core/lib/config/missing-translation-handler.d.ts.map +0 -1
- package/projects/eo-sdk/core/lib/config/translate-json-loader.d.ts +0 -21
- package/projects/eo-sdk/core/lib/config/translate-json-loader.d.ts.map +0 -1
- package/projects/eo-sdk/core/lib/environment.enaio.d.ts +0 -6
- package/projects/eo-sdk/core/lib/environment.enaio.d.ts.map +0 -1
- package/projects/eo-sdk/core/lib/eo-core-shared.module.d.ts +0 -12
- package/projects/eo-sdk/core/lib/eo-core-shared.module.d.ts.map +0 -1
- package/projects/eo-sdk/core/lib/eo-core.module.d.ts +0 -46
- package/projects/eo-sdk/core/lib/eo-core.module.d.ts.map +0 -1
- package/projects/eo-sdk/core/lib/interface/change-password.interface.d.ts +0 -8
- package/projects/eo-sdk/core/lib/interface/change-password.interface.d.ts.map +0 -1
- package/projects/eo-sdk/core/lib/interface/event.interface.d.ts +0 -14
- package/projects/eo-sdk/core/lib/interface/event.interface.d.ts.map +0 -1
- package/projects/eo-sdk/core/lib/interface/http-options.interface.d.ts +0 -17
- package/projects/eo-sdk/core/lib/interface/http-options.interface.d.ts.map +0 -1
- package/projects/eo-sdk/core/lib/interface/logger.interface.d.ts +0 -20
- package/projects/eo-sdk/core/lib/interface/logger.interface.d.ts.map +0 -1
- package/projects/eo-sdk/core/lib/interface/organization-objects.interface.d.ts +0 -20
- package/projects/eo-sdk/core/lib/interface/organization-objects.interface.d.ts.map +0 -1
- package/projects/eo-sdk/core/lib/interface/tree-node.interface.d.ts +0 -24
- package/projects/eo-sdk/core/lib/interface/tree-node.interface.d.ts.map +0 -1
- package/projects/eo-sdk/core/lib/model/baseparams.model.d.ts +0 -58
- package/projects/eo-sdk/core/lib/model/baseparams.model.d.ts.map +0 -1
- package/projects/eo-sdk/core/lib/model/bpm.model.d.ts +0 -253
- package/projects/eo-sdk/core/lib/model/bpm.model.d.ts.map +0 -1
- package/projects/eo-sdk/core/lib/model/custom-action.model.d.ts +0 -34
- package/projects/eo-sdk/core/lib/model/custom-action.model.d.ts.map +0 -1
- package/projects/eo-sdk/core/lib/model/dms-object-history.model.d.ts +0 -59
- package/projects/eo-sdk/core/lib/model/dms-object-history.model.d.ts.map +0 -1
- package/projects/eo-sdk/core/lib/model/dms-object.model.d.ts +0 -137
- package/projects/eo-sdk/core/lib/model/dms-object.model.d.ts.map +0 -1
- package/projects/eo-sdk/core/lib/model/eo-error.model.d.ts +0 -19
- package/projects/eo-sdk/core/lib/model/eo-error.model.d.ts.map +0 -1
- package/projects/eo-sdk/core/lib/model/eo-user.model.d.ts +0 -107
- package/projects/eo-sdk/core/lib/model/eo-user.model.d.ts.map +0 -1
- package/projects/eo-sdk/core/lib/model/inbox-item.model.d.ts +0 -71
- package/projects/eo-sdk/core/lib/model/inbox-item.model.d.ts.map +0 -1
- package/projects/eo-sdk/core/lib/model/object-type.model.d.ts +0 -125
- package/projects/eo-sdk/core/lib/model/object-type.model.d.ts.map +0 -1
- package/projects/eo-sdk/core/lib/model/org.model.d.ts +0 -94
- package/projects/eo-sdk/core/lib/model/org.model.d.ts.map +0 -1
- package/projects/eo-sdk/core/lib/model/prepared-item.model.d.ts +0 -190
- package/projects/eo-sdk/core/lib/model/prepared-item.model.d.ts.map +0 -1
- package/projects/eo-sdk/core/lib/model/range-value.model.d.ts +0 -22
- package/projects/eo-sdk/core/lib/model/range-value.model.d.ts.map +0 -1
- package/projects/eo-sdk/core/lib/model/upload-file-item.model.d.ts +0 -30
- package/projects/eo-sdk/core/lib/model/upload-file-item.model.d.ts.map +0 -1
- package/projects/eo-sdk/core/lib/model/upload-target.model.d.ts +0 -60
- package/projects/eo-sdk/core/lib/model/upload-target.model.d.ts.map +0 -1
- package/projects/eo-sdk/core/lib/model/work-item-history.model.d.ts +0 -52
- package/projects/eo-sdk/core/lib/model/work-item-history.model.d.ts.map +0 -1
- package/projects/eo-sdk/core/lib/service/auth/auth-interceptor.d.ts +0 -12
- package/projects/eo-sdk/core/lib/service/auth/auth-interceptor.d.ts.map +0 -1
- package/projects/eo-sdk/core/lib/service/auth/auth-profile.interface.d.ts +0 -23
- package/projects/eo-sdk/core/lib/service/auth/auth-profile.interface.d.ts.map +0 -1
- package/projects/eo-sdk/core/lib/service/auth/auth.service.d.ts +0 -104
- package/projects/eo-sdk/core/lib/service/auth/auth.service.d.ts.map +0 -1
- package/projects/eo-sdk/core/lib/service/auth/gateway-info.interface.d.ts +0 -18
- package/projects/eo-sdk/core/lib/service/auth/gateway-info.interface.d.ts.map +0 -1
- package/projects/eo-sdk/core/lib/service/backend/backend.service.d.ts +0 -209
- package/projects/eo-sdk/core/lib/service/backend/backend.service.d.ts.map +0 -1
- package/projects/eo-sdk/core/lib/service/bpm/bpm.service.d.ts +0 -150
- package/projects/eo-sdk/core/lib/service/bpm/bpm.service.d.ts.map +0 -1
- package/projects/eo-sdk/core/lib/service/cache/app-cache.service.d.ts +0 -59
- package/projects/eo-sdk/core/lib/service/cache/app-cache.service.d.ts.map +0 -1
- package/projects/eo-sdk/core/lib/service/capabilities/capabilities.model.d.ts +0 -54
- package/projects/eo-sdk/core/lib/service/capabilities/capabilities.model.d.ts.map +0 -1
- package/projects/eo-sdk/core/lib/service/capabilities/capabilities.service.d.ts +0 -35
- package/projects/eo-sdk/core/lib/service/capabilities/capabilities.service.d.ts.map +0 -1
- package/projects/eo-sdk/core/lib/service/clipboard/clipboard-action.enum.d.ts +0 -5
- package/projects/eo-sdk/core/lib/service/clipboard/clipboard-action.enum.d.ts.map +0 -1
- package/projects/eo-sdk/core/lib/service/clipboard/clipboard.interface.d.ts +0 -16
- package/projects/eo-sdk/core/lib/service/clipboard/clipboard.interface.d.ts.map +0 -1
- package/projects/eo-sdk/core/lib/service/clipboard/clipboard.service.d.ts +0 -49
- package/projects/eo-sdk/core/lib/service/clipboard/clipboard.service.d.ts.map +0 -1
- package/projects/eo-sdk/core/lib/service/config/config.enum.d.ts +0 -5
- package/projects/eo-sdk/core/lib/service/config/config.enum.d.ts.map +0 -1
- package/projects/eo-sdk/core/lib/service/config/config.interface.d.ts +0 -55
- package/projects/eo-sdk/core/lib/service/config/config.interface.d.ts.map +0 -1
- package/projects/eo-sdk/core/lib/service/config/config.service.d.ts +0 -80
- package/projects/eo-sdk/core/lib/service/config/config.service.d.ts.map +0 -1
- package/projects/eo-sdk/core/lib/service/dms/dms.service.d.ts +0 -286
- package/projects/eo-sdk/core/lib/service/dms/dms.service.d.ts.map +0 -1
- package/projects/eo-sdk/core/lib/service/dms/dmsParams.interface.d.ts +0 -13
- package/projects/eo-sdk/core/lib/service/dms/dmsParams.interface.d.ts.map +0 -1
- package/projects/eo-sdk/core/lib/service/events/event.service.d.ts +0 -31
- package/projects/eo-sdk/core/lib/service/events/event.service.d.ts.map +0 -1
- package/projects/eo-sdk/core/lib/service/events/events.d.ts +0 -27
- package/projects/eo-sdk/core/lib/service/events/events.d.ts.map +0 -1
- package/projects/eo-sdk/core/lib/service/inbox/inbox.service.d.ts +0 -66
- package/projects/eo-sdk/core/lib/service/inbox/inbox.service.d.ts.map +0 -1
- package/projects/eo-sdk/core/lib/service/logger/console-log.service.d.ts +0 -20
- package/projects/eo-sdk/core/lib/service/logger/console-log.service.d.ts.map +0 -1
- package/projects/eo-sdk/core/lib/service/logger/logger.d.ts +0 -25
- package/projects/eo-sdk/core/lib/service/logger/logger.d.ts.map +0 -1
- package/projects/eo-sdk/core/lib/service/notifications/notifications.service.d.ts +0 -78
- package/projects/eo-sdk/core/lib/service/notifications/notifications.service.d.ts.map +0 -1
- package/projects/eo-sdk/core/lib/service/prepare/objectTypes.interface.d.ts +0 -9
- package/projects/eo-sdk/core/lib/service/prepare/objectTypes.interface.d.ts.map +0 -1
- package/projects/eo-sdk/core/lib/service/prepare/prepare.service.d.ts +0 -189
- package/projects/eo-sdk/core/lib/service/prepare/prepare.service.d.ts.map +0 -1
- package/projects/eo-sdk/core/lib/service/search/search-filter-type.interface.d.ts +0 -10
- package/projects/eo-sdk/core/lib/service/search/search-filter-type.interface.d.ts.map +0 -1
- package/projects/eo-sdk/core/lib/service/search/search-query.model.d.ts +0 -327
- package/projects/eo-sdk/core/lib/service/search/search-query.model.d.ts.map +0 -1
- package/projects/eo-sdk/core/lib/service/search/search.service.d.ts +0 -173
- package/projects/eo-sdk/core/lib/service/search/search.service.d.ts.map +0 -1
- package/projects/eo-sdk/core/lib/service/signing/signing.service.d.ts +0 -52
- package/projects/eo-sdk/core/lib/service/signing/signing.service.d.ts.map +0 -1
- package/projects/eo-sdk/core/lib/service/storage/local-storage.service.d.ts +0 -53
- package/projects/eo-sdk/core/lib/service/storage/local-storage.service.d.ts.map +0 -1
- package/projects/eo-sdk/core/lib/service/stored-queries/stored-queries-subscription.interface.d.ts +0 -15
- package/projects/eo-sdk/core/lib/service/stored-queries/stored-queries-subscription.interface.d.ts.map +0 -1
- package/projects/eo-sdk/core/lib/service/stored-queries/stored-queries.service.d.ts +0 -108
- package/projects/eo-sdk/core/lib/service/stored-queries/stored-queries.service.d.ts.map +0 -1
- package/projects/eo-sdk/core/lib/service/stored-queries/stored-query.model.d.ts +0 -74
- package/projects/eo-sdk/core/lib/service/stored-queries/stored-query.model.d.ts.map +0 -1
- package/projects/eo-sdk/core/lib/service/system/system.service.d.ts +0 -125
- package/projects/eo-sdk/core/lib/service/system/system.service.d.ts.map +0 -1
- package/projects/eo-sdk/core/lib/service/system/systemdefinition.interface.d.ts +0 -53
- package/projects/eo-sdk/core/lib/service/system/systemdefinition.interface.d.ts.map +0 -1
- package/projects/eo-sdk/core/lib/service/system-status/system-status.service.d.ts +0 -26
- package/projects/eo-sdk/core/lib/service/system-status/system-status.service.d.ts.map +0 -1
- package/projects/eo-sdk/core/lib/service/system-status/system.status.enum.d.ts +0 -8
- package/projects/eo-sdk/core/lib/service/system-status/system.status.enum.d.ts.map +0 -1
- package/projects/eo-sdk/core/lib/service/system-status/system.status.interface.d.ts +0 -8
- package/projects/eo-sdk/core/lib/service/system-status/system.status.interface.d.ts.map +0 -1
- package/projects/eo-sdk/core/lib/service/upload/upload.service.d.ts +0 -28
- package/projects/eo-sdk/core/lib/service/upload/upload.service.d.ts.map +0 -1
- package/projects/eo-sdk/core/lib/service/upload-registry/upload-registry.service.d.ts +0 -50
- package/projects/eo-sdk/core/lib/service/upload-registry/upload-registry.service.d.ts.map +0 -1
- package/projects/eo-sdk/core/lib/service/user/user.service.d.ts +0 -216
- package/projects/eo-sdk/core/lib/service/user/user.service.d.ts.map +0 -1
- package/projects/eo-sdk/core/lib/util/utils.d.ts +0 -148
- package/projects/eo-sdk/core/lib/util/utils.d.ts.map +0 -1
- package/projects/eo-sdk/core/public_api.d.ts +0 -82
- package/projects/eo-sdk/core/public_api.d.ts.map +0 -1
- /package/{esm2020 → esm2022}/app/eo-client/dashboard/widgets/count-objects-widget/count-objects.model.mjs +0 -0
- /package/{esm2020 → esm2022}/app/eo-client/dashboard/widgets/hitlist-widget/IHitlist.mjs +0 -0
- /package/{esm2020 → esm2022}/app/eo-client/dashboard/widgets/info-inbox-widget/info-inbox.model.mjs +0 -0
- /package/{esm2020 → esm2022}/app/eo-client/dashboard/widgets/info-intray-widget/info-intray.model.mjs +0 -0
- /package/{esm2020 → esm2022}/app/eo-client/inbox-state/inbox-state/inbox.types.enum.mjs +0 -0
- /package/{esm2020 → esm2022}/app/eo-client/index.mjs +0 -0
- /package/{esm2020 → esm2022}/app/eo-client/notifications-state/notifications-state.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/app/eo-client/object-state/object-state-service/object-state.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/app/eo-client/settings/agent-lock-settings.enum.mjs +0 -0
- /package/{esm2020 → esm2022}/app/eo-framework/accordion/index.mjs +0 -0
- /package/{esm2020 → esm2022}/app/eo-framework/actions/actions/signature-action/signature.model.mjs +0 -0
- /package/{esm2020 → esm2022}/app/eo-framework/actions/index.mjs +0 -0
- /package/{esm2020 → esm2022}/app/eo-framework/actions/interfaces/action-component.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/app/eo-framework/actions/interfaces/action-list-entry.mjs +0 -0
- /package/{esm2020 → esm2022}/app/eo-framework/actions/interfaces/action.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/app/eo-framework/actions/selection-range.enum.mjs +0 -0
- /package/{esm2020 → esm2022}/app/eo-framework/animations/animations.mjs +0 -0
- /package/{esm2020 → esm2022}/app/eo-framework/app-shell/app-bar/app-search/app-search.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/app/eo-framework/cta/index.mjs +0 -0
- /package/{esm2020 → esm2022}/app/eo-framework/error/index.mjs +0 -0
- /package/{esm2020 → esm2022}/app/eo-framework/form-elements/id-reference/animation/reference-finder.animation.mjs +0 -0
- /package/{esm2020 → esm2022}/app/eo-framework/form-elements/id-reference/interface/reference-finder.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/app/eo-framework/form-elements/index.mjs +0 -0
- /package/{esm2020 → esm2022}/app/eo-framework/grid/extensions/filter/setFilters/set-filters.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/app/eo-framework/grid/filters/filesize-filter.component.mjs +0 -0
- /package/{esm2020 → esm2022}/app/eo-framework/grid/grid-filter.model.mjs +0 -0
- /package/{esm2020 → esm2022}/app/eo-framework/grid/index.mjs +0 -0
- /package/{esm2020 → esm2022}/app/eo-framework/grid/loader.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/app/eo-framework/index.mjs +0 -0
- /package/{esm2020 → esm2022}/app/eo-framework/list-container/index.mjs +0 -0
- /package/{esm2020 → esm2022}/app/eo-framework/media/index.mjs +0 -0
- /package/{esm2020 → esm2022}/app/eo-framework/object-details/index.mjs +0 -0
- /package/{esm2020 → esm2022}/app/eo-framework/object-details/object-history/history-filter/history-filter.mjs +0 -0
- /package/{esm2020 → esm2022}/app/eo-framework/object-form/form-status-changed-event.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/app/eo-framework/object-form/index.mjs +0 -0
- /package/{esm2020 → esm2022}/app/eo-framework/object-form/object-form/form-element-table/form-element.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/app/eo-framework/object-form/object-form/object-form-control-wrapper.mjs +0 -0
- /package/{esm2020 → esm2022}/app/eo-framework/object-form/object-form/object-form-control.mjs +0 -0
- /package/{esm2020 → esm2022}/app/eo-framework/object-form/object-form/object-form-group.model.mjs +0 -0
- /package/{esm2020 → esm2022}/app/eo-framework/object-form/object-form/object-form-script/object-form-script.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/app/eo-framework/object-form/object-form/object-form.model.mjs +0 -0
- /package/{esm2020 → esm2022}/app/eo-framework/object-form/object-form-options.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/app/eo-framework/plugins/index.mjs +0 -0
- /package/{esm2020 → esm2022}/app/eo-framework/process/process-file/file-entry-permissions.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/app/eo-framework/quick-search/index.mjs +0 -0
- /package/{esm2020 → esm2022}/app/eo-framework/quick-search/quick-search/quick-search-result.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/app/eo-framework/result-list/index.mjs +0 -0
- /package/{esm2020 → esm2022}/app/eo-framework/settings/change-password/change-password.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/app/eo-framework/settings/index.mjs +0 -0
- /package/{esm2020 → esm2022}/app/eo-framework/shortcuts/global-shortcut-action.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/app/eo-framework/shortcuts/global-shortcut-component.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/app/eo-framework/shortcuts/index.mjs +0 -0
- /package/{esm2020 → esm2022}/app/eo-framework/stored-query/index.mjs +0 -0
- /package/{esm2020 → esm2022}/app/eo-framework/stored-query/stored-query-type-filter.enum.mjs +0 -0
- /package/{esm2020 → esm2022}/app/eo-framework/stored-query/stored-query.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/app/eo-framework/tree/index.mjs +0 -0
- /package/{esm2020 → esm2022}/app/eo-framework/tree/tree.component.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/app/eo-framework/ui/index.mjs +0 -0
- /package/{esm2020 → esm2022}/app/eo-framework/ui/indexdata-summary/indexdata-summary-entry.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/app/eo-framework/util/index.mjs +0 -0
- /package/{esm2020 → esm2022}/app/eo-framework-core/agent/agent.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/app/eo-framework-core/api/model/dms-object.api.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/app/eo-framework-core/empty-state/empty-state.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/app/eo-framework-core/error-handler/error-keys.mjs +0 -0
- /package/{esm2020 → esm2022}/app/eo-framework-core/index.mjs +0 -0
- /package/{esm2020 → esm2022}/app/eo-framework-core/pending-changes/pending-changes-component.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/eo-sdk-client.mjs +0 -0
- /package/{esm2020 → esm2022}/public_api.mjs +0 -0
package/esm2020/app/eo-framework/actions/actions/add-resubmission-action/add-resubmission-action.mjs
DELETED
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
import { of as observableOf } from 'rxjs';
|
|
2
|
-
import { Component } from '@angular/core';
|
|
3
|
-
import { DmsObjectTarget } from '../../action-target';
|
|
4
|
-
import { SelectionRange } from '../../selection-range.enum';
|
|
5
|
-
import { AddResubmissionComponent } from './add-resubmission/add-resubmission.component';
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
import * as i1 from "@eo-sdk/core";
|
|
8
|
-
import * as i2 from "@angular/router";
|
|
9
|
-
import * as i3 from "../../action-service/action.service";
|
|
10
|
-
export class AddResubmissionActionComponent extends DmsObjectTarget {
|
|
11
|
-
constructor(translate, userService, router, actionService) {
|
|
12
|
-
super();
|
|
13
|
-
this.translate = translate;
|
|
14
|
-
this.userService = userService;
|
|
15
|
-
this.router = router;
|
|
16
|
-
this.actionService = actionService;
|
|
17
|
-
this.component = AddResubmissionComponent;
|
|
18
|
-
this.priority = 5;
|
|
19
|
-
this.iconSrc = 'assets/_default/svg/ic_resubmission.svg';
|
|
20
|
-
this.group = 'common';
|
|
21
|
-
this.range = SelectionRange.MULTI_SELECT;
|
|
22
|
-
this.label = this.translate.instant('eo.action.create.resubmission.label');
|
|
23
|
-
this.description = this.translate.instant('eo.action.create.resubmission.description');
|
|
24
|
-
}
|
|
25
|
-
isExecutable(element) {
|
|
26
|
-
const hasPrivilege = this.userService.getCurrentUser().hasPrivilege('MANAGE_RESUBMISSIONS');
|
|
27
|
-
const isAllowedType = this.actionService.isAllowedType([element], ['sysemail']);
|
|
28
|
-
if (hasPrivilege && this.isAllowedState() && isAllowedType && !element.isFinalized) {
|
|
29
|
-
return observableOf(!element.resubmissions.length);
|
|
30
|
-
}
|
|
31
|
-
else {
|
|
32
|
-
return observableOf(false);
|
|
33
|
-
}
|
|
34
|
-
}
|
|
35
|
-
;
|
|
36
|
-
isAllowedState() {
|
|
37
|
-
const disabledStates = ['/versions', '/notifications'];
|
|
38
|
-
return !disabledStates.some(s => this.router.url.startsWith(s));
|
|
39
|
-
}
|
|
40
|
-
}
|
|
41
|
-
AddResubmissionActionComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.2", ngImport: i0, type: AddResubmissionActionComponent, deps: [{ token: i1.TranslateService }, { token: i1.UserService }, { token: i2.Router }, { token: i3.ActionService }], target: i0.ɵɵFactoryTarget.Component });
|
|
42
|
-
AddResubmissionActionComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.2", type: AddResubmissionActionComponent, selector: "eo-add-resubmission-action", usesInheritance: true, ngImport: i0, template: ``, isInline: true });
|
|
43
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.2", ngImport: i0, type: AddResubmissionActionComponent, decorators: [{
|
|
44
|
-
type: Component,
|
|
45
|
-
args: [{
|
|
46
|
-
selector: 'eo-add-resubmission-action',
|
|
47
|
-
template: ``
|
|
48
|
-
}]
|
|
49
|
-
}], ctorParameters: function () { return [{ type: i1.TranslateService }, { type: i1.UserService }, { type: i2.Router }, { type: i3.ActionService }]; } });
|
|
50
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWRkLXJlc3VibWlzc2lvbi1hY3Rpb24uanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9zcmMvYXBwL2VvLWZyYW1ld29yay9hY3Rpb25zL2FjdGlvbnMvYWRkLXJlc3VibWlzc2lvbi1hY3Rpb24vYWRkLXJlc3VibWlzc2lvbi1hY3Rpb24udHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQ0EsT0FBTyxFQUFDLEVBQUUsSUFBSSxZQUFZLEVBQWEsTUFBTSxNQUFNLENBQUM7QUFFcEQsT0FBTyxFQUFDLFNBQVMsRUFBQyxNQUFNLGVBQWUsQ0FBQztBQUV4QyxPQUFPLEVBQUMsZUFBZSxFQUFDLE1BQU0scUJBQXFCLENBQUM7QUFDcEQsT0FBTyxFQUFDLGNBQWMsRUFBQyxNQUFNLDRCQUE0QixDQUF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lcyA9IFsnL3ZlcnNpb25zJywgJy9ub3RpZmljYXRpb25zJ107XG4gICAgcmV0dXJuICFkaXNhYmxlZFN0YXRlcy5zb21lKHMgPT4gdGhpcy5yb3V0ZXIudXJsLnN0YXJ0c1dpdGgocykpO1xuICB9XG59XG4iXX0=
|
|
@@ -1,134 +0,0 @@
|
|
|
1
|
-
import { forkJoin, of } from 'rxjs';
|
|
2
|
-
import { Component, EventEmitter, ViewChild } from '@angular/core';
|
|
3
|
-
import { Input, Output } from '@angular/core';
|
|
4
|
-
import { Validators } from '@angular/forms';
|
|
5
|
-
import { SubscriptionMode } from '@eo-sdk/core';
|
|
6
|
-
import { catchError } from 'rxjs/operators';
|
|
7
|
-
import * as i0 from "@angular/core";
|
|
8
|
-
import * as i1 from "@eo-sdk/core";
|
|
9
|
-
import * as i2 from "@angular/forms";
|
|
10
|
-
import * as i3 from "@angular/common";
|
|
11
|
-
import * as i4 from "@ngx-translate/core";
|
|
12
|
-
import * as i5 from "../../../../ui/eo-icon/eo-icon.component";
|
|
13
|
-
import * as i6 from "../../../../util/directive/trap-focus.directive";
|
|
14
|
-
import * as i7 from "../../../../form-elements/form-input/form-input.component";
|
|
15
|
-
import * as i8 from "../../../../form-elements/codesystem/codesystem.component";
|
|
16
|
-
import * as i9 from "../../../../form-elements/checkbox/checkbox.component";
|
|
17
|
-
import * as i10 from "../../../../form-elements/string/string.component";
|
|
18
|
-
export class AddSubscriptionComponent {
|
|
19
|
-
get hasEmail() {
|
|
20
|
-
return this.userService.getCurrentUser().email && this.userService.getCurrentUser().email.length;
|
|
21
|
-
}
|
|
22
|
-
constructor(translate, dms, userService, fb) {
|
|
23
|
-
this.translate = translate;
|
|
24
|
-
this.dms = dms;
|
|
25
|
-
this.userService = userService;
|
|
26
|
-
this.fb = fb;
|
|
27
|
-
this.finished = new EventEmitter();
|
|
28
|
-
this.canceled = new EventEmitter();
|
|
29
|
-
}
|
|
30
|
-
ngOnInit() {
|
|
31
|
-
this.header = this.translate.instant('eo.object.inlinemenu.addsubscription');
|
|
32
|
-
this.titleFieldLabel = this.translate.instant('eo.subscription.field.info');
|
|
33
|
-
this.inboxCbLabel = this.translate.instant('eo.subscription.field.notification.inbox');
|
|
34
|
-
this.emailCbLabel = this.translate.instant('eo.subscription.field.notification.email');
|
|
35
|
-
const includesFolders = this.selection.find(item => item.isFolder);
|
|
36
|
-
const includesDocuments = this.selection.find(item => !item.isFolder);
|
|
37
|
-
this.addSubscriptionForm = this.fb.group({
|
|
38
|
-
titleFieldFCN: [''],
|
|
39
|
-
inboxCbFCN: [true],
|
|
40
|
-
emailCbFCN: [false],
|
|
41
|
-
modeFieldFCN: [includesFolders ? SubscriptionMode.ONLY_INDEX_DATA_CHANGED : SubscriptionMode.DMS_OBJECT_CHANGED]
|
|
42
|
-
}, { validator: this.validator });
|
|
43
|
-
if (this.selection.length === 1) {
|
|
44
|
-
const titleFieldControl = this.addSubscriptionForm.controls['titleFieldFCN'];
|
|
45
|
-
titleFieldControl.setValidators(Validators.required);
|
|
46
|
-
titleFieldControl.setValue(this.createTitle(this.selection[0]));
|
|
47
|
-
}
|
|
48
|
-
if (includesFolders && includesDocuments) {
|
|
49
|
-
this.subscriptionModeCodesystem = {
|
|
50
|
-
entries: [
|
|
51
|
-
{ id: 0, defaultrepresentation: this.translate.instant('eo.subscription.field.mode.entries.meta.label'), data: SubscriptionMode.ONLY_INDEX_DATA_CHANGED },
|
|
52
|
-
{ id: 2, defaultrepresentation: this.translate.instant('eo.subscription.field.mode.entries.both.label'), data: SubscriptionMode.DMS_OBJECT_CHANGED }
|
|
53
|
-
]
|
|
54
|
-
};
|
|
55
|
-
}
|
|
56
|
-
else if (includesFolders && !includesDocuments) {
|
|
57
|
-
this.subscriptionModeCodesystem = {
|
|
58
|
-
entries: [
|
|
59
|
-
{ id: 0, defaultrepresentation: this.translate.instant('eo.subscription.field.mode.entries.meta.label'), data: SubscriptionMode.ONLY_INDEX_DATA_CHANGED }
|
|
60
|
-
]
|
|
61
|
-
};
|
|
62
|
-
}
|
|
63
|
-
else {
|
|
64
|
-
this.subscriptionModeCodesystem = {
|
|
65
|
-
entries: [
|
|
66
|
-
{ id: 0, defaultrepresentation: this.translate.instant('eo.subscription.field.mode.entries.meta.label'), data: SubscriptionMode.ONLY_INDEX_DATA_CHANGED },
|
|
67
|
-
{ id: 1, defaultrepresentation: this.translate.instant('eo.subscription.field.mode.entries.content.label'), data: SubscriptionMode.ONLY_DOCUMENT_CONTENT_CHANGED },
|
|
68
|
-
{ id: 2, defaultrepresentation: this.translate.instant('eo.subscription.field.mode.entries.both.label'), data: SubscriptionMode.DMS_OBJECT_CHANGED }
|
|
69
|
-
]
|
|
70
|
-
};
|
|
71
|
-
}
|
|
72
|
-
setTimeout(() => {
|
|
73
|
-
this.titleField.nativeElement.getElementsByTagName('input')[0].select();
|
|
74
|
-
});
|
|
75
|
-
}
|
|
76
|
-
get titleValidity() {
|
|
77
|
-
return this.addSubscriptionForm.get('titleFieldFCN').invalid;
|
|
78
|
-
}
|
|
79
|
-
validator(control) {
|
|
80
|
-
if (control.value.inboxCbFCN || control.value.emailCbFCN) {
|
|
81
|
-
return null;
|
|
82
|
-
}
|
|
83
|
-
else {
|
|
84
|
-
return {
|
|
85
|
-
addSubscriptionForm: {
|
|
86
|
-
valid: false
|
|
87
|
-
}
|
|
88
|
-
};
|
|
89
|
-
}
|
|
90
|
-
}
|
|
91
|
-
createSubscription() {
|
|
92
|
-
const { titleFieldFCN, inboxCbFCN, emailCbFCN: sendEmail, modeFieldFCN } = this.addSubscriptionForm.value;
|
|
93
|
-
const onlyEmail = this.hasEmail ? sendEmail && !inboxCbFCN : false;
|
|
94
|
-
this.processing = true;
|
|
95
|
-
const createTasks = [];
|
|
96
|
-
this.selection.forEach(item => {
|
|
97
|
-
const title = this.selection.length === 1 ? titleFieldFCN : this.createTitle(item);
|
|
98
|
-
createTasks.push(this.dms.createSubscription(item, title, undefined, sendEmail, onlyEmail, modeFieldFCN)
|
|
99
|
-
.pipe(catchError(e => of(null))));
|
|
100
|
-
});
|
|
101
|
-
if (createTasks.length) {
|
|
102
|
-
forkJoin(createTasks).subscribe(() => {
|
|
103
|
-
this.processing = false;
|
|
104
|
-
this.finished.emit();
|
|
105
|
-
});
|
|
106
|
-
}
|
|
107
|
-
else {
|
|
108
|
-
this.processing = false;
|
|
109
|
-
this.finished.emit();
|
|
110
|
-
}
|
|
111
|
-
}
|
|
112
|
-
createTitle(item) {
|
|
113
|
-
return item.isContextFolder && item.contextFolder ? item.contextFolder.title + ' > ' + item.title : item.title;
|
|
114
|
-
}
|
|
115
|
-
cancel() {
|
|
116
|
-
this.canceled.emit();
|
|
117
|
-
}
|
|
118
|
-
}
|
|
119
|
-
AddSubscriptionComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.2", ngImport: i0, type: AddSubscriptionComponent, deps: [{ token: i1.TranslateService }, { token: i1.DmsService }, { token: i1.UserService }, { token: i2.UntypedFormBuilder }], target: i0.ɵɵFactoryTarget.Component });
|
|
120
|
-
AddSubscriptionComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.2", type: AddSubscriptionComponent, selector: "eo-add-subscription", inputs: { selection: "selection" }, outputs: { finished: "finished", canceled: "canceled" }, viewQueries: [{ propertyName: "titleField", first: true, predicate: ["titleField"], descendants: true, static: true }], ngImport: i0, template: "<div class=\"eo-subscription\" eoTrapFocus>\n <h2>{{header}}</h2>\n <form #titleField [formGroup]=\"addSubscriptionForm\">\n <eo-form-input [skipToggle]=\"true\" [label]=\"titleFieldLabel\" [required]=\"true\" [invalid]=\"titleValidity\" *ngIf=\"selection.length === 1\">\n <eo-string formControlName=\"titleFieldFCN\"></eo-string>\n </eo-form-input>\n <div class=\"err-msg\" *ngIf=\"titleValidity\">\n <div translate>eo.form.property.required</div>\n </div>\n <eo-form-input [skipToggle]=\"true\" [label]=\"inboxCbLabel\">\n <eo-checkbox formControlName=\"inboxCbFCN\"></eo-checkbox>\n </eo-form-input>\n <eo-form-input [skipToggle]=\"true\" [label]=\"emailCbLabel\">\n <eo-checkbox formControlName=\"emailCbFCN\" [readonly]=\"!hasEmail\"></eo-checkbox>\n </eo-form-input>\n <eo-form-input *ngIf=\"!selection[0].isFolder\" [skipToggle]=\"true\" [label]=\"'eo.subscription.field.mode.label' | translate\">\n <eo-codesystem formControlName=\"modeFieldFCN\" [codesystem]=\"subscriptionModeCodesystem\" [pickerTitle]=\"'eo.subscription.field.mode.label' | translate\"></eo-codesystem>\n </eo-form-input>\n </form>\n\n <!-- error/validation messages -->\n <div class=\"errors\">\n <div class=\"err-msg\" *ngIf=\"addSubscriptionForm.errors?.addSubscriptionForm\" translate>eo.subscription.error.msg</div>\n </div>\n\n <div class=\"form-buttons\" *ngIf=\"!processing; else indicator\">\n <button class=\"secondary\" (click)=\"cancel()\"translate>eo.subscription.cancel</button>\n <button class=\"primary\" [disabled]=\"addSubscriptionForm.errors || titleValidity\" (click)=\"createSubscription()\"translate>eo.subscription.add</button>\n </div>\n\n <ng-template #indicator>\n <div class=\"process-indicator\"><eo-icon [iconSrc]=\"'assets/_default/svg/ic_kitt-loader.svg'\"></eo-icon></div>\n </ng-template>\n</div>\n\n", styles: [".eo-subscription{display:flex;flex-flow:column;justify-content:center;margin:var(--app-pane-padding)}.eo-subscription h2{font-weight:var(--font-weight-light);font-size:var(--font-subhead)}.eo-subscription .form-buttons{padding:5px 0;text-align:right}.eo-subscription .form-buttons button:nth-child(even):not(:last-child){margin:0 calc(var(--app-pane-padding) / 2)}.eo-subscription .form-buttons button:nth-child(even):last-child{margin-left:calc(var(--app-pane-padding) / 2);margin-right:0}.eo-subscription .process-indicator{display:flex;justify-content:flex-end}.eo-subscription .err-msg{background-color:var(--color-error);color:var(--color-white);margin:calc(var(--app-pane-padding) / 4) 0;padding:calc(var(--app-pane-padding) / 4);border:0;border-radius:2px}.eo-subscription .errors .err-msg:before{content:\"!\";padding:0 calc(var(--app-pane-padding) / 4)}\n"], dependencies: [{ kind: "directive", type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i4.TranslateDirective, selector: "[translate],[ngx-translate]", inputs: ["translate", "translateParams"] }, { kind: "component", type: i5.EoIconComponent, selector: "eo-icon", inputs: ["objectType", "iconId", "iconSrc", "badge", "iconTitle"] }, { kind: "directive", type: i6.TrapFocusDirective, selector: "[eoTrapFocus]" }, { kind: "directive", type: i2.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i2.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i2.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "component", type: i7.FormInputComponent, selector: "eo-form-input", inputs: ["label", "tag", "description", "skipToggle", "isNull", "invalid", "disabled", "required"], outputs: ["onToggleLabel"] }, { kind: "component", type: i8.CodesystemComponent, selector: "eo-codesystem", inputs: ["situation", "pickerTitle", "placeholder", "codesystem", "multiselect", "readonly", "inputStyleClass", "emptyMessage", "filterFunction", "disablingFilterFunction"] }, { kind: "component", type: i9.CheckboxComponent, selector: "eo-checkbox", inputs: ["required", "tristate", "readonly"] }, { kind: "component", type: i10.StringComponent, selector: "eo-string", inputs: ["autocomplete", "multiselect", "multiline", "readonly", "autofocus", "classification", "situation", "regex", "qname", "size", "minLength", "maxLength"] }, { kind: "pipe", type: i4.TranslatePipe, name: "translate" }] });
|
|
121
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.2", ngImport: i0, type: AddSubscriptionComponent, decorators: [{
|
|
122
|
-
type: Component,
|
|
123
|
-
args: [{ selector: 'eo-add-subscription', template: "<div class=\"eo-subscription\" eoTrapFocus>\n <h2>{{header}}</h2>\n <form #titleField [formGroup]=\"addSubscriptionForm\">\n <eo-form-input [skipToggle]=\"true\" [label]=\"titleFieldLabel\" [required]=\"true\" [invalid]=\"titleValidity\" *ngIf=\"selection.length === 1\">\n <eo-string formControlName=\"titleFieldFCN\"></eo-string>\n </eo-form-input>\n <div class=\"err-msg\" *ngIf=\"titleValidity\">\n <div translate>eo.form.property.required</div>\n </div>\n <eo-form-input [skipToggle]=\"true\" [label]=\"inboxCbLabel\">\n <eo-checkbox formControlName=\"inboxCbFCN\"></eo-checkbox>\n </eo-form-input>\n <eo-form-input [skipToggle]=\"true\" [label]=\"emailCbLabel\">\n <eo-checkbox formControlName=\"emailCbFCN\" [readonly]=\"!hasEmail\"></eo-checkbox>\n </eo-form-input>\n <eo-form-input *ngIf=\"!selection[0].isFolder\" [skipToggle]=\"true\" [label]=\"'eo.subscription.field.mode.label' | translate\">\n <eo-codesystem formControlName=\"modeFieldFCN\" [codesystem]=\"subscriptionModeCodesystem\" [pickerTitle]=\"'eo.subscription.field.mode.label' | translate\"></eo-codesystem>\n </eo-form-input>\n </form>\n\n <!-- error/validation messages -->\n <div class=\"errors\">\n <div class=\"err-msg\" *ngIf=\"addSubscriptionForm.errors?.addSubscriptionForm\" translate>eo.subscription.error.msg</div>\n </div>\n\n <div class=\"form-buttons\" *ngIf=\"!processing; else indicator\">\n <button class=\"secondary\" (click)=\"cancel()\"translate>eo.subscription.cancel</button>\n <button class=\"primary\" [disabled]=\"addSubscriptionForm.errors || titleValidity\" (click)=\"createSubscription()\"translate>eo.subscription.add</button>\n </div>\n\n <ng-template #indicator>\n <div class=\"process-indicator\"><eo-icon [iconSrc]=\"'assets/_default/svg/ic_kitt-loader.svg'\"></eo-icon></div>\n </ng-template>\n</div>\n\n", styles: [".eo-subscription{display:flex;flex-flow:column;justify-content:center;margin:var(--app-pane-padding)}.eo-subscription h2{font-weight:var(--font-weight-light);font-size:var(--font-subhead)}.eo-subscription .form-buttons{padding:5px 0;text-align:right}.eo-subscription .form-buttons button:nth-child(even):not(:last-child){margin:0 calc(var(--app-pane-padding) / 2)}.eo-subscription .form-buttons button:nth-child(even):last-child{margin-left:calc(var(--app-pane-padding) / 2);margin-right:0}.eo-subscription .process-indicator{display:flex;justify-content:flex-end}.eo-subscription .err-msg{background-color:var(--color-error);color:var(--color-white);margin:calc(var(--app-pane-padding) / 4) 0;padding:calc(var(--app-pane-padding) / 4);border:0;border-radius:2px}.eo-subscription .errors .err-msg:before{content:\"!\";padding:0 calc(var(--app-pane-padding) / 4)}\n"] }]
|
|
124
|
-
}], ctorParameters: function () { return [{ type: i1.TranslateService }, { type: i1.DmsService }, { type: i1.UserService }, { type: i2.UntypedFormBuilder }]; }, propDecorators: { selection: [{
|
|
125
|
-
type: Input
|
|
126
|
-
}], finished: [{
|
|
127
|
-
type: Output
|
|
128
|
-
}], canceled: [{
|
|
129
|
-
type: Output
|
|
130
|
-
}], titleField: [{
|
|
131
|
-
type: ViewChild,
|
|
132
|
-
args: ['titleField', { static: true }]
|
|
133
|
-
}] } });
|
|
134
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWRkLXN1YnNjcmlwdGlvbi5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9zcmMvYXBwL2VvLWZyYW1ld29yay9hY3Rpb25zL2FjdGlvbnMvYWRkLXN1YnNjcmlwdGlvbi1hY3Rpb24vYWRkLXN1YnNjcmlwdGlvbi9hZGQtc3Vic2NyaXB0aW9uLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL3NyYy9hcHAvZW8tZnJhbWV3b3JrL2FjdGlvbnMvYWN0aW9ucy9hZGQtc3Vic2NyaXB0aW9uLWFjdGlvbi9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LXRlbXBsYXRlICNpbmRpY2F0b3I+XG4gICAgPGRpdiBjbGFzcz1cInByb2Nlc3MtaW5kaWNhdG9yXCI+PGVvLWljb24gW2ljb25TcmNdPVwiJ2Fzc2V0cy9fZGVmYXVsdC9zdmcvaWNfa2l0dC1sb2FkZXIuc3ZnJ1wiPjwvZW8taWNvbj48L2Rpdj5cbiAgPC9uZy10ZW1wbGF0ZT5cbjwvZGl2PlxuXG4iXX0=
|
package/esm2020/app/eo-framework/actions/actions/add-subscription-action/add-subscription-action.mjs
DELETED
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
import { of as observableOf } from 'rxjs';
|
|
2
|
-
import { Component } from '@angular/core';
|
|
3
|
-
import { DmsObjectTarget } from '../../action-target';
|
|
4
|
-
import { SelectionRange } from '../../selection-range.enum';
|
|
5
|
-
import { AddSubscriptionComponent } from './add-subscription/add-subscription.component';
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
import * as i1 from "@eo-sdk/core";
|
|
8
|
-
import * as i2 from "@angular/router";
|
|
9
|
-
import * as i3 from "../../action-service/action.service";
|
|
10
|
-
export class AddSubscriptionActionComponent extends DmsObjectTarget {
|
|
11
|
-
constructor(translate, userService, router, actionService) {
|
|
12
|
-
super();
|
|
13
|
-
this.translate = translate;
|
|
14
|
-
this.userService = userService;
|
|
15
|
-
this.router = router;
|
|
16
|
-
this.actionService = actionService;
|
|
17
|
-
this.component = AddSubscriptionComponent;
|
|
18
|
-
this.priority = 4;
|
|
19
|
-
this.iconSrc = 'assets/_default/svg/ic_subscription.svg';
|
|
20
|
-
this.group = 'common';
|
|
21
|
-
this.range = SelectionRange.MULTI_SELECT;
|
|
22
|
-
this.label = this.translate.instant('eo.action.create.subscription.label');
|
|
23
|
-
this.description = this.translate.instant('eo.action.create.subscription.description');
|
|
24
|
-
}
|
|
25
|
-
isExecutable(element) {
|
|
26
|
-
const hasPrivilege = this.userService.getCurrentUser().hasPrivilege('MANAGE_SUBSCRIPTIONS');
|
|
27
|
-
const isAllowedType = this.actionService.isAllowedType([element], ['sysemail']);
|
|
28
|
-
if (hasPrivilege && this.isAllowedState() && isAllowedType && !element.isFinalized) {
|
|
29
|
-
return observableOf(!element.subscriptions.length);
|
|
30
|
-
}
|
|
31
|
-
else {
|
|
32
|
-
return observableOf(false);
|
|
33
|
-
}
|
|
34
|
-
}
|
|
35
|
-
;
|
|
36
|
-
isAllowedState() {
|
|
37
|
-
const disabledStates = ['/versions', '/notifications'];
|
|
38
|
-
return !disabledStates.some(s => this.router.url.startsWith(s));
|
|
39
|
-
}
|
|
40
|
-
}
|
|
41
|
-
AddSubscriptionActionComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.2", ngImport: i0, type: AddSubscriptionActionComponent, deps: [{ token: i1.TranslateService }, { token: i1.UserService }, { token: i2.Router }, { token: i3.ActionService }], target: i0.ɵɵFactoryTarget.Component });
|
|
42
|
-
AddSubscriptionActionComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.2", type: AddSubscriptionActionComponent, selector: "eo-add-subscription-action", usesInheritance: true, ngImport: i0, template: ``, isInline: true });
|
|
43
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.2", ngImport: i0, type: AddSubscriptionActionComponent, decorators: [{
|
|
44
|
-
type: Component,
|
|
45
|
-
args: [{
|
|
46
|
-
selector: 'eo-add-subscription-action',
|
|
47
|
-
template: ``
|
|
48
|
-
}]
|
|
49
|
-
}], ctorParameters: function () { return [{ type: i1.TranslateService }, { type: i1.UserService }, { type: i2.Router }, { type: i3.ActionService }]; } });
|
|
50
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWRkLXN1YnNjcmlwdGlvbi1hY3Rpb24uanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9zcmMvYXBwL2VvLWZy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ZShbZWxlbWVudF0sIFsnc3lzZW1haWwnXSk7XG4gICAgaWYgKGhhc1ByaXZpbGVnZSAmJiB0aGlzLmlzQWxsb3dlZFN0YXRlKCkgJiYgaXNBbGxvd2VkVHlwZSAmJiAhZWxlbWVudC5pc0ZpbmFsaXplZCkge1xuICAgICAgcmV0dXJuIG9ic2VydmFibGVPZighZWxlbWVudC5zdWJzY3JpcHRpb25zLmxlbmd0aCk7XG4gICAgfSBlbHNlIHtcbiAgICAgIHJldHVybiBvYnNlcnZhYmxlT2YoZmFsc2UpO1xuICAgIH1cbiAgfTtcblxuICBpc0FsbG93ZWRTdGF0ZSgpOiBib29sZWFuIHtcbiAgICBjb25zdCBkaXNhYmxlZFN0YXRlcyA9IFsnL3ZlcnNpb25zJywgJy9ub3RpZmljYXRpb25zJ107XG4gICAgcmV0dXJuICFkaXNhYmxlZFN0YXRlcy5zb21lKHMgPT4gdGhpcy5yb3V0ZXIudXJsLnN0YXJ0c1dpdGgocykpO1xuICB9XG59XG4iXX0=
|
|
@@ -1,95 +0,0 @@
|
|
|
1
|
-
import { Component, EventEmitter, Input, Output } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
import * as i1 from "@eo-sdk/core";
|
|
4
|
-
import * as i2 from "@angular/common";
|
|
5
|
-
import * as i3 from "../../../../../eo-framework-core/agent/agent.service";
|
|
6
|
-
import * as i4 from "@ngx-translate/core";
|
|
7
|
-
import * as i5 from "../../../../ui/eo-icon/eo-icon.component";
|
|
8
|
-
import * as i6 from "../../../../util/directive/trap-focus.directive";
|
|
9
|
-
export class ClipboardObjectActionComponent {
|
|
10
|
-
constructor(translate, toast, location, agentService, elemRef) {
|
|
11
|
-
this.translate = translate;
|
|
12
|
-
this.toast = toast;
|
|
13
|
-
this.location = location;
|
|
14
|
-
this.agentService = agentService;
|
|
15
|
-
this.elemRef = elemRef;
|
|
16
|
-
this.finished = new EventEmitter();
|
|
17
|
-
this.canceled = new EventEmitter();
|
|
18
|
-
}
|
|
19
|
-
ngAfterViewInit() {
|
|
20
|
-
setTimeout(() => {
|
|
21
|
-
this.elemRef.nativeElement.querySelector('[tabindex="0"]').focus();
|
|
22
|
-
this.isExecutable = this.agentService.isConnected && !this.selection[0].isFolder && this.selection[0].content && (this.selection[0].content.count !== 0 || this.selection[0].content.linked);
|
|
23
|
-
});
|
|
24
|
-
}
|
|
25
|
-
runLink() {
|
|
26
|
-
let urlPrefix = window.location.href.replace(this.location.path(), '');
|
|
27
|
-
let clipboardText = '';
|
|
28
|
-
this.selection.forEach(element => {
|
|
29
|
-
if (window.location.href.includes('/versions')) {
|
|
30
|
-
clipboardText += urlPrefix + '/versions/' + element.id + '?type=' + element.type.name + '&version=' + element.version + '\n';
|
|
31
|
-
}
|
|
32
|
-
else {
|
|
33
|
-
clipboardText += urlPrefix + '/object/' + element.id + '?type=' + element.type.name + '\n';
|
|
34
|
-
}
|
|
35
|
-
});
|
|
36
|
-
// Copy to clipboard via invisible textarea
|
|
37
|
-
let textArea = document.createElement('textarea');
|
|
38
|
-
textArea.value = clipboardText;
|
|
39
|
-
document.body.appendChild(textArea);
|
|
40
|
-
textArea.select();
|
|
41
|
-
let copySuccess = document.execCommand('copy');
|
|
42
|
-
document.body.removeChild(textArea);
|
|
43
|
-
if (copySuccess) {
|
|
44
|
-
this.toast.success(this.translate.instant('eo.action.menu.clipboard.link.successful'));
|
|
45
|
-
}
|
|
46
|
-
else {
|
|
47
|
-
this.toast.error(this.translate.instant('eo.action.menu.clipboard.link.error'));
|
|
48
|
-
}
|
|
49
|
-
this.finished.emit();
|
|
50
|
-
}
|
|
51
|
-
runOriginal() {
|
|
52
|
-
let documents = this.selection.map((element) => ({
|
|
53
|
-
id: (element.content && element.content.linked && element.content.id) ? element.content.id : element.id,
|
|
54
|
-
title: element.title,
|
|
55
|
-
type: (element.content && element.content.linked && element.content.type) ? element.content.type : element.type.name,
|
|
56
|
-
version: window.location.href.includes('/versions') ? element.version : null,
|
|
57
|
-
rendition: ''
|
|
58
|
-
}), this.finished.emit());
|
|
59
|
-
this.agentService.copyToClipboard(documents);
|
|
60
|
-
}
|
|
61
|
-
runPdf() {
|
|
62
|
-
let documents = this.selection.map((element) => ({
|
|
63
|
-
id: (element.content && element.content.linked && element.content.id) ? element.content.id : element.id,
|
|
64
|
-
title: element.title,
|
|
65
|
-
type: (element.content && element.content.linked && element.content.type) ? element.content.type : element.type.name,
|
|
66
|
-
version: window.location.href.includes('/versions') ? element.version : null,
|
|
67
|
-
rendition: 'PDF'
|
|
68
|
-
}), this.finished.emit());
|
|
69
|
-
this.agentService.copyToClipboard(documents);
|
|
70
|
-
}
|
|
71
|
-
showDescription(i, event) {
|
|
72
|
-
this.actionDescription = i === this.actionDescription ? null : i;
|
|
73
|
-
this.showDescriptionOrginal = this.actionDescription != null && this.actionDescription == 'original' ? true : false;
|
|
74
|
-
this.showDescriptionPdf = this.actionDescription != null && this.actionDescription == 'pdf' ? true : false;
|
|
75
|
-
this.showDescriptionLink = this.actionDescription != null && this.actionDescription == 'link' ? true : false;
|
|
76
|
-
event.stopPropagation();
|
|
77
|
-
event.preventDefault();
|
|
78
|
-
}
|
|
79
|
-
cancel() {
|
|
80
|
-
this.canceled.emit();
|
|
81
|
-
}
|
|
82
|
-
}
|
|
83
|
-
ClipboardObjectActionComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.2", ngImport: i0, type: ClipboardObjectActionComponent, deps: [{ token: i1.TranslateService }, { token: i1.NotificationsService }, { token: i2.Location }, { token: i3.AgentService }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
84
|
-
ClipboardObjectActionComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.2", type: ClipboardObjectActionComponent, selector: "eo-clipboard-object-action", inputs: { selection: "selection" }, outputs: { finished: "finished", canceled: "canceled" }, ngImport: i0, template: "<div class=\"body\" eoTrapFocus>\n <div class=\"navigation\">\n <div class=\"group-title\" translate>eo.action.menu.clipboard.label</div>\n <div class=\"nav-item\">\n <a tabindex=\"0\" (keydown.enter)=\"runLink()\" (click)=\"runLink()\">{{'eo.action.menu.clipboard.link.label'|\n translate}}</a>\n <eo-icon class=\"info-icon\" [iconSrc]=\"'assets/_default/svg/ic_info.svg'\"\n (click)=\"showDescription('link', $event)\"></eo-icon>\n <div class=\"description\" *ngIf=\"showDescriptionLink\" translate>eo.action.menu.clipboard.link.description\n </div>\n </div>\n <div class=\"nav-item\" *ngIf=\"isExecutable\">\n <a tabindex=\"0\" (keydown.enter)=\"runOriginal()\" (click)=\"runOriginal()\">{{'eo.action.menu.clipboard.file.label'|\n translate}}</a>\n <eo-icon class=\"info-icon\" [iconSrc]=\"'assets/_default/svg/ic_info.svg'\"\n (click)=\"showDescription('original', $event)\"></eo-icon>\n <div class=\"description\" *ngIf=\"showDescriptionOrginal\" translate>eo.action.menu.clipboard.file.description</div>\n </div>\n <div class=\"nav-item\" *ngIf=\"isExecutable\">\n <a tabindex=\"0\" (keydown.enter)=\"runPdf()\" (click)=\"runPdf()\">{{'eo.action.menu.clipboard.file.pdf.label' |\n translate}}</a>\n <eo-icon class=\"info-icon\" [iconSrc]=\"'assets/_default/svg/ic_info.svg'\"\n (click)=\"showDescription('pdf', $event)\"></eo-icon>\n <div class=\"description\" *ngIf=\"showDescriptionPdf\" translate>eo.action.menu.clipboard.file.pdf.description </div>\n </div>\n </div>\n <div class=\"form-buttons\">\n <button (click)=\"cancel()\" translate>eo.manage.rights.cancel</button>\n </div>\n</div>", styles: [".body{padding:var(--app-pane-padding);min-width:200px;display:inline-block;width:90%}.body .group-title{background:rgba(var(--color-white-rgb),.1);margin-bottom:calc(var(--app-pane-padding) / 4);padding:calc(var(--app-pane-padding) / 4) calc(var(--app-pane-padding) / 2);transition:all var(--app-default-transition-duration) ease-in-out;-webkit-transition:all var(--app-default-transition-duration) ease-in-out;-moz-transition:all var(--app-default-transition-duration) ease-in-out;-o-transition:all var(--app-default-transition-duration) ease-in-out}.body .nav-item{position:relative;top:0;right:0;min-width:100px;z-index:100;padding-bottom:8px;border-bottom:1px solid rgba(var(--color-white-rgb),.2)}.body .nav-item .description{border-radius:2px;-webkit-border-radius:2px;transition:all var(--app-default-transition-duration) ease-in-out;-webkit-transition:all var(--app-default-transition-duration) ease-in-out;-moz-transition:all var(--app-default-transition-duration) ease-in-out;-o-transition:all var(--app-default-transition-duration) ease-in-out;color:rgba(var(--color-white-rgb),.54);font-style:italic;padding:calc(var(--app-pane-padding) / 4) var(--app-pane-padding) calc(var(--app-pane-padding) / 2) var(--app-pane-padding)}.body .nav-item eo-icon{margin:0 calc(var(--app-pane-padding) / 2)}.body .nav-item eo-icon.info-icon{margin-left:auto;margin-bottom:7px;margin-top:-38px;border-radius:50%;color:rgba(var(--color-white-rgb),.3);cursor:pointer}.body .nav-item eo-icon.info-icon:hover{background-color:var(--color-primary)}.body .nav-item a{padding:var(--app-pane-padding);text-decoration:none;color:inherit;display:block;cursor:pointer;transition:all var(--app-default-transition-duration) ease-in-out;-webkit-transition:all var(--app-default-transition-duration) ease-in-out;-moz-transition:all var(--app-default-transition-duration) ease-in-out;-o-transition:all var(--app-default-transition-duration) ease-in-out}.body .nav-item a.active-link{background:rgba(var(--color-white-rgb),.1);cursor:default}.body .nav-item a:not(.active-link):focus,.body .nav-item a:not(.active-link):hover{background:rgba(var(--color-white-rgb),.1)}.body .form-buttons{padding:5px 0;text-align:right}.body .form-buttons button:nth-child(even):not(:last-child){margin:0 calc(var(--app-pane-padding) / 2);background-color:#ffffff1a!important}.body .form-buttons button:nth-child(even):last-child{margin-left:calc(var(--app-pane-padding) / 2);background-color:#ffffff1a!important;margin-right:0}\n"], dependencies: [{ kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i4.TranslateDirective, selector: "[translate],[ngx-translate]", inputs: ["translate", "translateParams"] }, { kind: "component", type: i5.EoIconComponent, selector: "eo-icon", inputs: ["objectType", "iconId", "iconSrc", "badge", "iconTitle"] }, { kind: "directive", type: i6.TrapFocusDirective, selector: "[eoTrapFocus]" }, { kind: "pipe", type: i4.TranslatePipe, name: "translate" }] });
|
|
85
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.2", ngImport: i0, type: ClipboardObjectActionComponent, decorators: [{
|
|
86
|
-
type: Component,
|
|
87
|
-
args: [{ selector: 'eo-clipboard-object-action', template: "<div class=\"body\" eoTrapFocus>\n <div class=\"navigation\">\n <div class=\"group-title\" translate>eo.action.menu.clipboard.label</div>\n <div class=\"nav-item\">\n <a tabindex=\"0\" (keydown.enter)=\"runLink()\" (click)=\"runLink()\">{{'eo.action.menu.clipboard.link.label'|\n translate}}</a>\n <eo-icon class=\"info-icon\" [iconSrc]=\"'assets/_default/svg/ic_info.svg'\"\n (click)=\"showDescription('link', $event)\"></eo-icon>\n <div class=\"description\" *ngIf=\"showDescriptionLink\" translate>eo.action.menu.clipboard.link.description\n </div>\n </div>\n <div class=\"nav-item\" *ngIf=\"isExecutable\">\n <a tabindex=\"0\" (keydown.enter)=\"runOriginal()\" (click)=\"runOriginal()\">{{'eo.action.menu.clipboard.file.label'|\n translate}}</a>\n <eo-icon class=\"info-icon\" [iconSrc]=\"'assets/_default/svg/ic_info.svg'\"\n (click)=\"showDescription('original', $event)\"></eo-icon>\n <div class=\"description\" *ngIf=\"showDescriptionOrginal\" translate>eo.action.menu.clipboard.file.description</div>\n </div>\n <div class=\"nav-item\" *ngIf=\"isExecutable\">\n <a tabindex=\"0\" (keydown.enter)=\"runPdf()\" (click)=\"runPdf()\">{{'eo.action.menu.clipboard.file.pdf.label' |\n translate}}</a>\n <eo-icon class=\"info-icon\" [iconSrc]=\"'assets/_default/svg/ic_info.svg'\"\n (click)=\"showDescription('pdf', $event)\"></eo-icon>\n <div class=\"description\" *ngIf=\"showDescriptionPdf\" translate>eo.action.menu.clipboard.file.pdf.description </div>\n </div>\n </div>\n <div class=\"form-buttons\">\n <button (click)=\"cancel()\" translate>eo.manage.rights.cancel</button>\n </div>\n</div>", styles: [".body{padding:var(--app-pane-padding);min-width:200px;display:inline-block;width:90%}.body .group-title{background:rgba(var(--color-white-rgb),.1);margin-bottom:calc(var(--app-pane-padding) / 4);padding:calc(var(--app-pane-padding) / 4) calc(var(--app-pane-padding) / 2);transition:all var(--app-default-transition-duration) ease-in-out;-webkit-transition:all var(--app-default-transition-duration) ease-in-out;-moz-transition:all var(--app-default-transition-duration) ease-in-out;-o-transition:all var(--app-default-transition-duration) ease-in-out}.body .nav-item{position:relative;top:0;right:0;min-width:100px;z-index:100;padding-bottom:8px;border-bottom:1px solid rgba(var(--color-white-rgb),.2)}.body .nav-item .description{border-radius:2px;-webkit-border-radius:2px;transition:all var(--app-default-transition-duration) ease-in-out;-webkit-transition:all var(--app-default-transition-duration) ease-in-out;-moz-transition:all var(--app-default-transition-duration) ease-in-out;-o-transition:all var(--app-default-transition-duration) ease-in-out;color:rgba(var(--color-white-rgb),.54);font-style:italic;padding:calc(var(--app-pane-padding) / 4) var(--app-pane-padding) calc(var(--app-pane-padding) / 2) var(--app-pane-padding)}.body .nav-item eo-icon{margin:0 calc(var(--app-pane-padding) / 2)}.body .nav-item eo-icon.info-icon{margin-left:auto;margin-bottom:7px;margin-top:-38px;border-radius:50%;color:rgba(var(--color-white-rgb),.3);cursor:pointer}.body .nav-item eo-icon.info-icon:hover{background-color:var(--color-primary)}.body .nav-item a{padding:var(--app-pane-padding);text-decoration:none;color:inherit;display:block;cursor:pointer;transition:all var(--app-default-transition-duration) ease-in-out;-webkit-transition:all var(--app-default-transition-duration) ease-in-out;-moz-transition:all var(--app-default-transition-duration) ease-in-out;-o-transition:all var(--app-default-transition-duration) ease-in-out}.body .nav-item a.active-link{background:rgba(var(--color-white-rgb),.1);cursor:default}.body .nav-item a:not(.active-link):focus,.body .nav-item a:not(.active-link):hover{background:rgba(var(--color-white-rgb),.1)}.body .form-buttons{padding:5px 0;text-align:right}.body .form-buttons button:nth-child(even):not(:last-child){margin:0 calc(var(--app-pane-padding) / 2);background-color:#ffffff1a!important}.body .form-buttons button:nth-child(even):last-child{margin-left:calc(var(--app-pane-padding) / 2);background-color:#ffffff1a!important;margin-right:0}\n"] }]
|
|
88
|
-
}], ctorParameters: function () { return [{ type: i1.TranslateService }, { type: i1.NotificationsService }, { type: i2.Location }, { type: i3.AgentService }, { type: i0.ElementRef }]; }, propDecorators: { selection: [{
|
|
89
|
-
type: Input
|
|
90
|
-
}], finished: [{
|
|
91
|
-
type: Output
|
|
92
|
-
}], canceled: [{
|
|
93
|
-
type: Output
|
|
94
|
-
}] } });
|
|
95
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2xpcGJvYXJkLW9iamVjdC1hY3Rpb24uY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vc3JjL2FwcC9lby1mcmFtZXdvcmsvYWN0aW9ucy9hY3Rpb25zL2NsaXBib2FyZC9jbGlwYm9hcmQtb2JqZWN0LWFjdGlvbi9jbGlwYm9hcmQtb2JqZWN0LWFjdGlvbi5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9zcmMvYXBwL2VvLWZyYW1ld29yay9hY3Rpb25zL2FjdGlvbnMvY2xpcGJvYXJkL2NsaXBib2FyZC1vYmplY3QtYWN0aW9uL2NsaXBib2FyZC1vYmplY3QtYWN0aW9uLmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBZ0IsU0FBUyxFQUFjLFlBQVksRUFBRSxLQUFLLEVBQUUsTUFBTSxFQUFDLE1BQU0sZUFBZSxDQUFDOzs7Ozs7OztBQVloRyxNQUFNLE9BQU8sOEJBQThCO0lBYXpDLFlBQ1UsU0FBMkIsRUFDM0IsS0FB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RhYmluZGV4PVwiMFwiIChrZXlkb3duLmVudGVyKT1cInJ1blBkZigpXCIgKGNsaWNrKT1cInJ1blBkZigpXCI+e3snZW8uYWN0aW9uLm1lbnUuY2xpcGJvYXJkLmZpbGUucGRmLmxhYmVsJyB8XG4gICAgICAgICAgICAgICAgdHJhbnNsYXRlfX08L2E+XG4gICAgICAgICAgICA8ZW8taWNvbiBjbGFzcz1cImluZm8taWNvblwiIFtpY29uU3JjXT1cIidhc3NldHMvX2RlZmF1bHQvc3ZnL2ljX2luZm8uc3ZnJ1wiXG4gICAgICAgICAgICAgICAgKGNsaWNrKT1cInNob3dEZXNjcmlwdGlvbigncGRmJywgJGV2ZW50KVwiPjwvZW8taWNvbj5cbiAgICAgICAgICAgIDxkaXYgY2xhc3M9XCJkZXNjcmlwdGlvblwiICpuZ0lmPVwic2hvd0Rlc2NyaXB0aW9uUGRmXCIgdHJhbnNsYXRlPmVvLmFjdGlvbi5tZW51LmNsaXBib2FyZC5maWxlLnBkZi5kZXNjcmlwdGlvbiA8L2Rpdj5cbiAgICAgICAgPC9kaXY+XG4gICAgPC9kaXY+XG4gICAgPGRpdiBjbGFzcz1cImZvcm0tYnV0dG9uc1wiPlxuICAgICAgICA8YnV0dG9uIChjbGljayk9XCJjYW5jZWwoKVwiIHRyYW5zbGF0ZT5lby5tYW5hZ2UucmlnaHRzLmNhbmNlbDwvYnV0dG9uPlxuICAgIDwvZGl2PlxuPC9kaXY+Il19
|
package/esm2020/app/eo-framework/actions/actions/custom-actions/custom-actions.component.mjs
DELETED
|
@@ -1,88 +0,0 @@
|
|
|
1
|
-
import { of, from } from 'rxjs';
|
|
2
|
-
import { Component, Input } from '@angular/core';
|
|
3
|
-
import { DmsObjectTarget } from '../../action-target';
|
|
4
|
-
import { SelectionRange } from '../../selection-range.enum';
|
|
5
|
-
import * as lodash from 'lodash';
|
|
6
|
-
import moment from 'moment';
|
|
7
|
-
import * as i0 from "@angular/core";
|
|
8
|
-
import * as i1 from "@eo-sdk/core";
|
|
9
|
-
import * as i2 from "../../../../eo-framework-core/api/plugins.service";
|
|
10
|
-
export class CustomActionsComponent extends DmsObjectTarget {
|
|
11
|
-
set action(act) {
|
|
12
|
-
this._action = act;
|
|
13
|
-
this.label = act.title;
|
|
14
|
-
this.description = act.description;
|
|
15
|
-
this.range = 1;
|
|
16
|
-
}
|
|
17
|
-
get action() {
|
|
18
|
-
return this._action;
|
|
19
|
-
}
|
|
20
|
-
constructor(toast, pluginService, translate) {
|
|
21
|
-
super();
|
|
22
|
-
this.toast = toast;
|
|
23
|
-
this.pluginService = pluginService;
|
|
24
|
-
this.translate = translate;
|
|
25
|
-
this.priority = 9998;
|
|
26
|
-
this.iconSrc = 'assets/_default/svg/ic_play.svg';
|
|
27
|
-
this.group = 'further';
|
|
28
|
-
this.range = SelectionRange.SINGLE_SELECT;
|
|
29
|
-
}
|
|
30
|
-
isExecutable(objects) {
|
|
31
|
-
return from(new Promise((resolve, reject) => {
|
|
32
|
-
if (this._action.isexecutable && this._action.isexecutable.length > 0) {
|
|
33
|
-
const scope = {
|
|
34
|
-
action: this._action,
|
|
35
|
-
api: this.pluginService.getApi(),
|
|
36
|
-
objects
|
|
37
|
-
};
|
|
38
|
-
const executableFkt = new Function('scope, callback', this._action.isexecutable + '\n;//# sourceURL=' + this._action.id + '.isexecutable.js');
|
|
39
|
-
try {
|
|
40
|
-
executableFkt(scope, (isExecutable) => resolve(isExecutable));
|
|
41
|
-
}
|
|
42
|
-
catch (error) {
|
|
43
|
-
this.toast.error(`${this.translate.instant('eo.action.menu.custom.error.message')}: ${error}`);
|
|
44
|
-
return resolve(false);
|
|
45
|
-
}
|
|
46
|
-
}
|
|
47
|
-
else {
|
|
48
|
-
return resolve(true);
|
|
49
|
-
}
|
|
50
|
-
}).then((val) => !!val));
|
|
51
|
-
}
|
|
52
|
-
run(selection) {
|
|
53
|
-
const action = this._action;
|
|
54
|
-
this.runCustomActions(action, selection)
|
|
55
|
-
.subscribe(isExecutable => {
|
|
56
|
-
const text = isExecutable ? 'eo.action.menu.custom.run.success' : 'eo.action.menu.custom.run.error';
|
|
57
|
-
this.translate.get(text, { title: action.title }).subscribe(val => this.toast.info(val));
|
|
58
|
-
});
|
|
59
|
-
}
|
|
60
|
-
runCustomActions(action, objects = []) {
|
|
61
|
-
const scope = {
|
|
62
|
-
api: this.pluginService.getApi(),
|
|
63
|
-
action,
|
|
64
|
-
objects
|
|
65
|
-
};
|
|
66
|
-
try {
|
|
67
|
-
const run = new Function('scope', '_', 'moment', action.script + '\n;//# sourceURL=' + action.id + '.script.js');
|
|
68
|
-
run(scope, lodash, moment);
|
|
69
|
-
return of(true);
|
|
70
|
-
}
|
|
71
|
-
catch (error) {
|
|
72
|
-
this.toast.error(this.translate.instant('eo.action.menu.custom.error.message'));
|
|
73
|
-
return of(false);
|
|
74
|
-
}
|
|
75
|
-
}
|
|
76
|
-
}
|
|
77
|
-
CustomActionsComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.2", ngImport: i0, type: CustomActionsComponent, deps: [{ token: i1.NotificationsService }, { token: i2.PluginsService }, { token: i1.TranslateService }], target: i0.ɵɵFactoryTarget.Component });
|
|
78
|
-
CustomActionsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.2", type: CustomActionsComponent, selector: "eo-custom-actions", inputs: { action: "action" }, usesInheritance: true, ngImport: i0, template: '', isInline: true });
|
|
79
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.2", ngImport: i0, type: CustomActionsComponent, decorators: [{
|
|
80
|
-
type: Component,
|
|
81
|
-
args: [{
|
|
82
|
-
selector: 'eo-custom-actions',
|
|
83
|
-
template: ''
|
|
84
|
-
}]
|
|
85
|
-
}], ctorParameters: function () { return [{ type: i1.NotificationsService }, { type: i2.PluginsService }, { type: i1.TranslateService }]; }, propDecorators: { action: [{
|
|
86
|
-
type: Input
|
|
87
|
-
}] } });
|
|
88
|
-
//# sour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