@eo-sdk/client 10.0.0-beta.3 → 10.0.0-beta.5
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 +6 -7
- package/app/eo-client/dashboard/dashboard.component.d.ts.map +1 -1
- package/app/eo-client/favorite-state/favorite-state.component.d.ts +7 -8
- package/app/eo-client/favorite-state/favorite-state.component.d.ts.map +1 -1
- package/app/eo-client/inbox-state/inbox-state/inbox-state.component.d.ts +8 -10
- package/app/eo-client/inbox-state/inbox-state/inbox-state.component.d.ts.map +1 -1
- package/app/eo-client/login/login.component.d.ts +4 -2
- package/app/eo-client/login/login.component.d.ts.map +1 -1
- package/app/eo-client/notifications-state/notifications-state.component.d.ts +9 -11
- package/app/eo-client/notifications-state/notifications-state.component.d.ts.map +1 -1
- package/app/eo-client/object-state/object-state/object-state.component.d.ts +10 -11
- package/app/eo-client/object-state/object-state/object-state.component.d.ts.map +1 -1
- package/app/eo-client/prepare-state/prepare-state/prepare-state.component.d.ts +8 -9
- package/app/eo-client/prepare-state/prepare-state/prepare-state.component.d.ts.map +1 -1
- package/app/eo-client/process-state/process-state.component.d.ts +8 -10
- package/app/eo-client/process-state/process-state.component.d.ts.map +1 -1
- package/app/eo-client/recyclebin-state/recyclebin-state.component.d.ts +5 -6
- package/app/eo-client/recyclebin-state/recyclebin-state.component.d.ts.map +1 -1
- package/app/eo-client/result-state/result-state.component.d.ts +3 -5
- package/app/eo-client/result-state/result-state.component.d.ts.map +1 -1
- package/app/eo-client/settings/settings.component.d.ts +6 -7
- 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 +8 -10
- package/app/eo-client/stored-queries-state/stored-queries-state.component.d.ts.map +1 -1
- package/app/eo-client/version-state/version-state.component.d.ts +5 -7
- package/app/eo-client/version-state/version-state.component.d.ts.map +1 -1
- package/app/eo-framework/accordion/accordion.module.d.ts +1 -2
- package/app/eo-framework/accordion/accordion.module.d.ts.map +1 -1
- package/app/eo-framework/actions/action-menu/action-menu.component.d.ts +4 -5
- package/app/eo-framework/actions/action-menu/action-menu.component.d.ts.map +1 -1
- package/app/eo-framework/actions/action.module.d.ts +11 -10
- 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 +3 -2
- package/app/eo-framework/actions/actions/add-resubmission-action/add-resubmission/add-resubmission.component.d.ts.map +1 -1
- package/app/eo-framework/actions/actions/share-object-action/share-object/share-object.component.d.ts +9 -13
- package/app/eo-framework/actions/actions/share-object-action/share-object/share-object.component.d.ts.map +1 -1
- package/app/eo-framework/app-shell/app-bar/app-bar.component.d.ts +3 -4
- package/app/eo-framework/app-shell/app-bar/app-bar.component.d.ts.map +1 -1
- 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/side-bar/side-bar.component.d.ts +1 -2
- package/app/eo-framework/app-shell/app-bar/side-bar/side-bar.component.d.ts.map +1 -1
- package/app/eo-framework/app-shell/app-shell.module.d.ts +18 -20
- package/app/eo-framework/app-shell/app-shell.module.d.ts.map +1 -1
- package/app/eo-framework/app-shell/index.d.ts +0 -1
- package/app/eo-framework/app-shell/index.d.ts.map +1 -1
- package/app/eo-framework/eo-framework.module.d.ts +37 -41
- package/app/eo-framework/eo-framework.module.d.ts.map +1 -1
- package/app/eo-framework/form-elements/date/date.component.d.ts +0 -2
- package/app/eo-framework/form-elements/date/date.component.d.ts.map +1 -1
- package/app/eo-framework/form-elements/form-elements.module.d.ts +9 -18
- package/app/eo-framework/form-elements/form-elements.module.d.ts.map +1 -1
- package/app/eo-framework/form-elements/id-reference/reference-finder/reference-finder.component.d.ts +1 -0
- package/app/eo-framework/form-elements/id-reference/reference-finder/reference-finder.component.d.ts.map +1 -1
- package/app/eo-framework/grid/filters/datetime-filter.component.d.ts +0 -2
- package/app/eo-framework/grid/filters/datetime-filter.component.d.ts.map +1 -1
- package/app/eo-framework/grid/grid.component.d.ts +7 -8
- package/app/eo-framework/grid/grid.component.d.ts.map +1 -1
- package/app/eo-framework/grid/grid.module.d.ts +7 -8
- package/app/eo-framework/grid/grid.module.d.ts.map +1 -1
- package/app/eo-framework/inbox-details/inbox-details.component.d.ts +1 -2
- package/app/eo-framework/inbox-details/inbox-details.component.d.ts.map +1 -1
- package/app/eo-framework/index.d.ts +0 -4
- package/app/eo-framework/index.d.ts.map +1 -1
- package/app/eo-framework/media/media.component.d.ts +4 -3
- package/app/eo-framework/media/media.component.d.ts.map +1 -1
- package/app/eo-framework/object-details/favorite-icon/favorite-icon.component.d.ts +2 -3
- package/app/eo-framework/object-details/favorite-icon/favorite-icon.component.d.ts.map +1 -1
- package/app/eo-framework/object-details/object-details.component.d.ts +5 -4
- package/app/eo-framework/object-details/object-details.component.d.ts.map +1 -1
- package/app/eo-framework/object-details/object-details.module.d.ts +2 -1
- package/app/eo-framework/object-details/object-details.module.d.ts.map +1 -1
- package/app/eo-framework/object-details/object-history/object-history.component.d.ts +2 -3
- package/app/eo-framework/object-details/object-history/object-history.component.d.ts.map +1 -1
- package/app/eo-framework/object-form/object-form/form-element/form-element-template.directive.d.ts +10 -0
- package/app/eo-framework/object-form/object-form/form-element/form-element-template.directive.d.ts.map +1 -0
- package/app/eo-framework/object-form/object-form/form-element/form-element.component.d.ts +8 -3
- package/app/eo-framework/object-form/object-form/form-element/form-element.component.d.ts.map +1 -1
- package/app/eo-framework/object-form/object-form/form-element-table/form-element-table.component.d.ts +1 -2
- 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/form-element.interface.d.ts +7 -2
- package/app/eo-framework/object-form/object-form/form-element-table/form-element.interface.d.ts.map +1 -1
- package/app/eo-framework/object-form/object-form/form-element-table/row-edit/row-edit.component.d.ts +28 -11
- package/app/eo-framework/object-form/object-form/form-element-table/row-edit/row-edit.component.d.ts.map +1 -1
- package/app/eo-framework/object-form/object-form/object-form-script/object-form-script.service.d.ts.map +1 -1
- package/app/eo-framework/object-form/object-form/object-form.component.d.ts +1 -2
- package/app/eo-framework/object-form/object-form/object-form.component.d.ts.map +1 -1
- package/app/eo-framework/object-form/object-form-helper.service.d.ts.map +1 -1
- package/app/eo-framework/object-form/object-form.module.d.ts +9 -9
- package/app/eo-framework/object-state-details/object-state-details.component.d.ts +1 -2
- package/app/eo-framework/object-state-details/object-state-details.component.d.ts.map +1 -1
- package/app/eo-framework/prepare-details/prepare-details.component.d.ts +8 -9
- 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 +7 -8
- package/app/eo-framework/process/details/process-details.component.d.ts.map +1 -1
- package/app/eo-framework/recyclebin-details/recyclebin-details.component.d.ts +9 -11
- package/app/eo-framework/recyclebin-details/recyclebin-details.component.d.ts.map +1 -1
- package/app/eo-framework/result-list/result-list.component.d.ts +5 -6
- package/app/eo-framework/result-list/result-list.component.d.ts.map +1 -1
- package/app/eo-framework/settings/settings.module.d.ts +3 -4
- package/app/eo-framework/settings/settings.module.d.ts.map +1 -1
- package/app/eo-framework/stored-query/stored-query-details/stored-query-details.component.d.ts +4 -5
- package/app/eo-framework/stored-query/stored-query-details/stored-query-details.component.d.ts.map +1 -1
- package/app/eo-framework/ui/eo-dialog/eo-dialog.component.d.ts +2 -3
- package/app/eo-framework/ui/eo-dialog/eo-dialog.component.d.ts.map +1 -1
- package/app/eo-framework/ui/outside-click/outside-click.directive.d.ts +1 -2
- package/app/eo-framework/ui/outside-click/outside-click.directive.d.ts.map +1 -1
- package/app/eo-framework/ui/signature-tab/signature-tab.component.d.ts +0 -1
- package/app/eo-framework/ui/signature-tab/signature-tab.component.d.ts.map +1 -1
- package/app/eo-framework/util/index.d.ts +0 -1
- package/app/eo-framework/util/index.d.ts.map +1 -1
- package/app/eo-framework/util/util.module.d.ts +0 -1
- package/app/eo-framework/util/util.module.d.ts.map +1 -1
- package/app/eo-framework-core/layout/layout.service.d.ts +2 -26
- package/app/eo-framework-core/layout/layout.service.d.ts.map +1 -1
- package/app/eo-framework-core/pipes/locale-number.pipe.d.ts +2 -3
- package/app/eo-framework-core/pipes/locale-number.pipe.d.ts.map +1 -1
- package/assets/_default/i18n/de.json +2 -1
- package/assets/_default/i18n/en.json +7 -6
- package/assets/_default/svg/ic_add_document_file_as_new_version.svg +1 -0
- package/assets/_default/svg/ic_create_document.svg +1 -0
- package/assets/_default/svg/ic_create_document_in_folder.svg +1 -0
- package/esm2020/app/eo-client/about-state/about-state.component.mjs +5 -5
- package/esm2020/app/eo-client/dashboard/dashboard.component.mjs +17 -14
- package/esm2020/app/eo-client/favorite-state/favorite-state.component.mjs +15 -14
- package/esm2020/app/eo-client/inbox-state/inbox-state/inbox-state.component.mjs +14 -11
- package/esm2020/app/eo-client/login/login.component.mjs +6 -7
- package/esm2020/app/eo-client/notifications-state/notifications-state.component.mjs +16 -12
- package/esm2020/app/eo-client/object-state/object-state/object-state.component.mjs +28 -24
- package/esm2020/app/eo-client/prepare-state/prepare-state/prepare-state.component.mjs +12 -9
- package/esm2020/app/eo-client/process-state/process-state.component.mjs +6 -9
- package/esm2020/app/eo-client/recyclebin-state/recyclebin-state.component.mjs +17 -16
- package/esm2020/app/eo-client/result-state/result-state.component.mjs +11 -8
- package/esm2020/app/eo-client/settings/settings.component.mjs +16 -12
- package/esm2020/app/eo-client/stored-queries-state/stored-queries-state.component.mjs +17 -14
- package/esm2020/app/eo-client/version-state/version-state.component.mjs +13 -10
- package/esm2020/app/eo-framework/accordion/accordion.module.mjs +3 -7
- package/esm2020/app/eo-framework/accordion/simple-accordion/simple-accordion.component.mjs +3 -3
- package/esm2020/app/eo-framework/actions/action-menu/action-menu.component.mjs +15 -11
- package/esm2020/app/eo-framework/actions/action.module.mjs +5 -2
- package/esm2020/app/eo-framework/actions/actions/add-resubmission-action/add-resubmission/add-resubmission.component.mjs +5 -7
- package/esm2020/app/eo-framework/actions/actions/add-subscription-action/add-subscription/add-subscription.component.mjs +3 -3
- package/esm2020/app/eo-framework/actions/actions/custom-actions/custom-actions.component.mjs +2 -2
- package/esm2020/app/eo-framework/actions/actions/share-object-action/share-object/share-object.component.mjs +43 -48
- package/esm2020/app/eo-framework/actions/actions/signature-action/signature/signature.component.mjs +2 -2
- package/esm2020/app/eo-framework/actions/actions/workflow-action/workflow/workflow.component.mjs +2 -2
- package/esm2020/app/eo-framework/app-shell/app-bar/app-bar.component.mjs +16 -14
- package/esm2020/app/eo-framework/app-shell/app-bar/app-search/app-search.component.mjs +7 -3
- package/esm2020/app/eo-framework/app-shell/app-bar/side-bar/side-bar.component.mjs +3 -5
- package/esm2020/app/eo-framework/app-shell/app-shell.module.mjs +1 -8
- package/esm2020/app/eo-framework/app-shell/index.mjs +1 -2
- package/esm2020/app/eo-framework/eo-framework.module.mjs +35 -76
- package/esm2020/app/eo-framework/form-elements/date/date.component.mjs +2 -12
- package/esm2020/app/eo-framework/form-elements/datetime-range/datetime-range.component.mjs +2 -2
- package/esm2020/app/eo-framework/form-elements/dynamic-list/dynamic-list.component.mjs +3 -3
- package/esm2020/app/eo-framework/form-elements/form-elements.module.mjs +28 -37
- package/esm2020/app/eo-framework/form-elements/id-reference/id-reference.component.mjs +7 -8
- package/esm2020/app/eo-framework/form-elements/id-reference/reference-finder/reference-finder.component.mjs +10 -6
- package/esm2020/app/eo-framework/form-elements/number-range/number-range.component.mjs +2 -2
- package/esm2020/app/eo-framework/form-elements/organization/organization.component.mjs +3 -3
- package/esm2020/app/eo-framework/form-elements/reference/reference.component.mjs +4 -5
- package/esm2020/app/eo-framework/form-elements/string/string.component.mjs +3 -3
- package/esm2020/app/eo-framework/grid/extensions/filter/setFilters/set-filter.component.mjs +3 -3
- package/esm2020/app/eo-framework/grid/extensions/filter/text/text-filter.component.mjs +3 -3
- package/esm2020/app/eo-framework/grid/extensions/reset-filter/reset-filter.component.mjs +3 -3
- package/esm2020/app/eo-framework/grid/filters/datetime-filter.component.mjs +2 -6
- package/esm2020/app/eo-framework/grid/filters/dynamic-list-filter.component.mjs +3 -3
- package/esm2020/app/eo-framework/grid/filters/list-filter.component.mjs +3 -3
- package/esm2020/app/eo-framework/grid/filters/organization-filter.component.mjs +3 -3
- package/esm2020/app/eo-framework/grid/grid.component.mjs +16 -12
- package/esm2020/app/eo-framework/grid/grid.module.mjs +1 -5
- package/esm2020/app/eo-framework/inbox-details/inbox-details.component.mjs +16 -11
- package/esm2020/app/eo-framework/index.mjs +1 -5
- package/esm2020/app/eo-framework/media/media.component.mjs +32 -12
- package/esm2020/app/eo-framework/object-details/favorite-icon/favorite-icon.component.mjs +13 -10
- package/esm2020/app/eo-framework/object-details/object-details.component.mjs +42 -30
- package/esm2020/app/eo-framework/object-details/object-details.module.mjs +7 -3
- package/esm2020/app/eo-framework/object-details/object-history/object-history.component.mjs +13 -9
- package/esm2020/app/eo-framework/object-form/object-form/form-element/form-element-template.directive.mjs +18 -0
- package/esm2020/app/eo-framework/object-form/object-form/form-element/form-element.component.mjs +20 -6
- package/esm2020/app/eo-framework/object-form/object-form/form-element-table/form-element-table.component.mjs +21 -22
- package/esm2020/app/eo-framework/object-form/object-form/form-element-table/form-element.interface.mjs +1 -1
- package/esm2020/app/eo-framework/object-form/object-form/form-element-table/row-edit/row-edit.component.mjs +94 -32
- package/esm2020/app/eo-framework/object-form/object-form/object-form-group/object-form-group.component.mjs +6 -4
- package/esm2020/app/eo-framework/object-form/object-form/object-form-script/object-form-script.service.mjs +2 -3
- package/esm2020/app/eo-framework/object-form/object-form/object-form.component.mjs +3 -5
- package/esm2020/app/eo-framework/object-form/object-form-helper.service.mjs +2 -2
- package/esm2020/app/eo-framework/object-form/object-form.module.mjs +9 -10
- package/esm2020/app/eo-framework/object-state-details/object-state-details.component.mjs +15 -13
- package/esm2020/app/eo-framework/prepare-details/prepare-details.component.mjs +16 -14
- package/esm2020/app/eo-framework/process/details/process-details.component.mjs +16 -12
- package/esm2020/app/eo-framework/process-form/process-form.component.mjs +2 -2
- package/esm2020/app/eo-framework/recyclebin-details/recyclebin-details.component.mjs +25 -17
- package/esm2020/app/eo-framework/result-list/result-list.component.mjs +18 -14
- package/esm2020/app/eo-framework/settings/settings.module.mjs +1 -5
- package/esm2020/app/eo-framework/stored-query/stored-query-details/stored-query-details.component.mjs +17 -13
- package/esm2020/app/eo-framework/ui/eo-dialog/eo-dialog.component.mjs +12 -8
- package/esm2020/app/eo-framework/ui/eo-icon/eo-icon.component.mjs +2 -2
- package/esm2020/app/eo-framework/ui/outside-click/outside-click.directive.mjs +11 -8
- package/esm2020/app/eo-framework/ui/signature-tab/signature-tab.component.mjs +3 -6
- package/esm2020/app/eo-framework/upload-overlay/upload-overlay.component.mjs +3 -3
- package/esm2020/app/eo-framework/util/index.mjs +1 -2
- package/esm2020/app/eo-framework/util/util.module.mjs +2 -3
- package/esm2020/app/eo-framework-core/layout/layout.service.mjs +61 -63
- package/esm2020/app/eo-framework-core/pipes/locale-number.pipe.mjs +11 -8
- package/esm2020/projects/eo-sdk/core/lib/eo-core.module.mjs +8 -8
- package/esm2020/projects/eo-sdk/core/lib/model/inbox-item.model.mjs +2 -6
- package/esm2020/projects/eo-sdk/core/lib/service/dms/dms.service.mjs +14 -16
- package/esm2020/projects/eo-sdk/core/lib/service/prepare/prepare.service.mjs +15 -12
- package/esm2020/projects/eo-sdk/core/lib/service/system/system.service.mjs +2 -6
- package/esm2020/projects/eo-sdk/core/lib/util/utils.mjs +4 -4
- package/fesm2015/eo-sdk-client-projects-eo-sdk-core.mjs +158 -166
- package/fesm2015/eo-sdk-client-projects-eo-sdk-core.mjs.map +1 -1
- package/fesm2015/eo-sdk-client.mjs +13541 -14313
- package/fesm2015/eo-sdk-client.mjs.map +1 -1
- package/fesm2020/eo-sdk-client-projects-eo-sdk-core.mjs +158 -166
- package/fesm2020/eo-sdk-client-projects-eo-sdk-core.mjs.map +1 -1
- package/fesm2020/eo-sdk-client.mjs +13563 -14335
- package/fesm2020/eo-sdk-client.mjs.map +1 -1
- package/package.json +4 -5
- package/projects/eo-sdk/core/lib/eo-core.module.d.ts.map +1 -1
- package/projects/eo-sdk/core/lib/model/inbox-item.model.d.ts.map +1 -1
- package/projects/eo-sdk/core/lib/service/dms/dms.service.d.ts +10 -8
- package/projects/eo-sdk/core/lib/service/dms/dms.service.d.ts.map +1 -1
- package/projects/eo-sdk/core/lib/service/prepare/prepare.service.d.ts +1 -0
- package/projects/eo-sdk/core/lib/service/prepare/prepare.service.d.ts.map +1 -1
- package/projects/eo-sdk/core/lib/service/system/system.service.d.ts.map +1 -1
- package/projects/eo-sdk/core/lib/util/utils.d.ts +3 -4
- package/projects/eo-sdk/core/lib/util/utils.d.ts.map +1 -1
- package/scss/_eo-variables.scss +3 -1
- package/scss/_main.scss +1 -1
- package/scss/_mixins.scss +6 -6
- package/scss/_yuuvis-components.scss +1 -0
- package/styles.css +3 -3
- package/app/eo-framework/app-shell/app-bar/app-layout/app-layout.component.d.ts +0 -24
- package/app/eo-framework/app-shell/app-bar/app-layout/app-layout.component.d.ts.map +0 -1
- package/app/eo-framework/split/index.d.ts +0 -5
- package/app/eo-framework/split/index.d.ts.map +0 -1
- package/app/eo-framework/split/split/split.component.d.ts +0 -83
- package/app/eo-framework/split/split/split.component.d.ts.map +0 -1
- package/app/eo-framework/split/split-area/split-area.component.d.ts +0 -37
- package/app/eo-framework/split/split-area/split-area.component.d.ts.map +0 -1
- package/app/eo-framework/split/split-gutter/split-gutter.directive.d.ts +0 -21
- package/app/eo-framework/split/split-gutter/split-gutter.directive.d.ts.map +0 -1
- package/app/eo-framework/split/split.module.d.ts +0 -12
- package/app/eo-framework/split/split.module.d.ts.map +0 -1
- package/app/eo-framework/undock-split/undock-split.component.d.ts +0 -28
- package/app/eo-framework/undock-split/undock-split.component.d.ts.map +0 -1
- package/app/eo-framework/undock-split/undock-split.service.d.ts +0 -43
- package/app/eo-framework/undock-split/undock-split.service.d.ts.map +0 -1
- package/app/eo-framework/undock-split/undock-state.interface.d.ts +0 -6
- package/app/eo-framework/undock-split/undock-state.interface.d.ts.map +0 -1
- package/app/eo-framework/util/unsubscribe/unsubscribe.component.d.ts +0 -11
- package/app/eo-framework/util/unsubscribe/unsubscribe.component.d.ts.map +0 -1
- package/esm2020/app/eo-framework/app-shell/app-bar/app-layout/app-layout.component.mjs +0 -67
- package/esm2020/app/eo-framework/split/index.mjs +0 -5
- package/esm2020/app/eo-framework/split/split/split.component.mjs +0 -373
- package/esm2020/app/eo-framework/split/split-area/split-area.component.mjs +0 -131
- package/esm2020/app/eo-framework/split/split-gutter/split-gutter.directive.mjs +0 -73
- package/esm2020/app/eo-framework/split/split.module.mjs +0 -28
- package/esm2020/app/eo-framework/undock-split/undock-split.component.mjs +0 -89
- package/esm2020/app/eo-framework/undock-split/undock-split.service.mjs +0 -135
- package/esm2020/app/eo-framework/undock-split/undock-state.interface.mjs +0 -2
- package/esm2020/app/eo-framework/util/unsubscribe/unsubscribe.component.mjs +0 -23
|
@@ -1,15 +1,21 @@
|
|
|
1
1
|
import * as i2 from '@ngx-translate/core';
|
|
2
2
|
import { TranslateModule, TranslateLoader, MissingTranslationHandler } from '@ngx-translate/core';
|
|
3
3
|
export { TranslateLoader, TranslateModule, TranslateService } from '@ngx-translate/core';
|
|
4
|
-
import * as i0 from '@angular/core';
|
|
5
|
-
import { InjectionToken, Inject, Injectable, NgModule, APP_INITIALIZER, Optional, SkipSelf } from '@angular/core';
|
|
6
4
|
import * as i1$1 from '@angular/common/http';
|
|
7
5
|
import { HttpErrorResponse, HttpHeaders, HttpResponse, HTTP_INTERCEPTORS, HttpClient, HttpClientModule } from '@angular/common/http';
|
|
6
|
+
import * as i0 from '@angular/core';
|
|
7
|
+
import { InjectionToken, Inject, Injectable, NgModule, APP_INITIALIZER, Optional, SkipSelf } from '@angular/core';
|
|
8
|
+
import * as i1$2 from 'ngx-toastr';
|
|
9
|
+
import { ToastrModule } from 'ngx-toastr';
|
|
8
10
|
import { __decorate, __param } from 'tslib';
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
+
import { EMPTY, throwError, Subject, of, forkJoin, Observable, ReplaySubject, BehaviorSubject, timer, interval } from 'rxjs';
|
|
12
|
+
import { filter, debounceTime, switchMap, map, first, tap, finalize, shareReplay, catchError, expand, skipWhile, mergeMap, takeUntil } from 'rxjs/operators';
|
|
11
13
|
import * as i6 from '@angular/common';
|
|
12
|
-
import {
|
|
14
|
+
import { DatePipe, registerLocaleData } from '@angular/common';
|
|
15
|
+
import moment from 'moment';
|
|
16
|
+
import * as i1 from '@ngx-pwa/local-storage';
|
|
17
|
+
import * as FileSaver from 'file-saver';
|
|
18
|
+
import * as _ from 'lodash';
|
|
13
19
|
import localeDeCh from '@angular/common/locales/de-CH';
|
|
14
20
|
import localeExtraDeCh from '@angular/common/locales/extra/de-CH';
|
|
15
21
|
import localeDe from '@angular/common/locales/de';
|
|
@@ -70,13 +76,6 @@ import localeId from '@angular/common/locales/id';
|
|
|
70
76
|
import localeExtraId from '@angular/common/locales/extra/id';
|
|
71
77
|
import localeMs from '@angular/common/locales/ms';
|
|
72
78
|
import localeExtraMs from '@angular/common/locales/extra/ms';
|
|
73
|
-
import * as momentImported from 'moment';
|
|
74
|
-
import momentImported__default from 'moment';
|
|
75
|
-
import * as i1 from '@ngx-pwa/local-storage';
|
|
76
|
-
import * as FileSaver from 'file-saver';
|
|
77
|
-
import * as _ from 'lodash';
|
|
78
|
-
import * as i1$2 from 'ngx-toastr';
|
|
79
|
-
import { ToastrModule } from 'ngx-toastr';
|
|
80
79
|
|
|
81
80
|
// @see: http://stackoverflow.com/questions/37611549/how-to-pass-parameters-rendered-from-backend-to-angular2-bootstrap-method#answer-40379803
|
|
82
81
|
/**
|
|
@@ -104,92 +103,6 @@ CoreConfig = __decorate([
|
|
|
104
103
|
__param(0, Inject(CUSTOM_CONFIG))
|
|
105
104
|
], CoreConfig);
|
|
106
105
|
|
|
107
|
-
/**
|
|
108
|
-
* @ignore
|
|
109
|
-
* APP_INITIALIZER function
|
|
110
|
-
*/
|
|
111
|
-
function init_module(coreInit) {
|
|
112
|
-
// Need to set to a const before returning due to:
|
|
113
|
-
// @see: https://github.com/angular/angular/issues/14485
|
|
114
|
-
const fnc = () => coreInit.initialize();
|
|
115
|
-
return fnc;
|
|
116
|
-
}
|
|
117
|
-
|
|
118
|
-
/**
|
|
119
|
-
* @ignore
|
|
120
|
-
* Handles missing translations
|
|
121
|
-
*/
|
|
122
|
-
class EoxMissingTranslationHandler {
|
|
123
|
-
/**
|
|
124
|
-
*
|
|
125
|
-
* @param MissingTranslationHandlerParams params
|
|
126
|
-
* @returns string
|
|
127
|
-
*/
|
|
128
|
-
handle(params) {
|
|
129
|
-
return '!missing key: ' + params.key;
|
|
130
|
-
}
|
|
131
|
-
}
|
|
132
|
-
|
|
133
|
-
/**
|
|
134
|
-
* @ignore
|
|
135
|
-
* Loader that fetches translations based on the configured locations
|
|
136
|
-
*/
|
|
137
|
-
let EoxTranslateJsonLoader = class EoxTranslateJsonLoader {
|
|
138
|
-
constructor(http, config) {
|
|
139
|
-
this.http = http;
|
|
140
|
-
this.config = config;
|
|
141
|
-
registerLocaleData(localeDe, 'de', localeExtraDe); // German
|
|
142
|
-
registerLocaleData(localeAr, 'ar', localeExtraAr); // Arabic
|
|
143
|
-
registerLocaleData(localeEs, 'es', localeExtraEs); // Spanish
|
|
144
|
-
registerLocaleData(localePt, 'pt', localeExtraPt); // Portuguese
|
|
145
|
-
registerLocaleData(localeFr, 'fr', localeExtraFr); // French
|
|
146
|
-
registerLocaleData(localeZh, 'zh', localeExtraZh); // Chinese
|
|
147
|
-
registerLocaleData(localeLv, 'lv', localeExtraLv); // Latvian
|
|
148
|
-
registerLocaleData(localeRu, 'ru', localeExtraRu); // Russian
|
|
149
|
-
registerLocaleData(localeIt, 'it', localeExtraIt); // Italian
|
|
150
|
-
registerLocaleData(localeNl, 'nl', localeExtraNl); // Dutch
|
|
151
|
-
registerLocaleData(localeSk, 'sk', localeExtraSk); // Slovak
|
|
152
|
-
registerLocaleData(localePl, 'pl', localeExtraPl); // Polish
|
|
153
|
-
registerLocaleData(localeUk, 'uk', localeExtraUk); // Ukrainian
|
|
154
|
-
registerLocaleData(localeJa, 'ja', localeExtraJa); // Japanese
|
|
155
|
-
registerLocaleData(localeKo, 'ko', localeExtraKo); // Korean
|
|
156
|
-
registerLocaleData(localeHi, 'hi', localeExtraHi); // Hindi
|
|
157
|
-
registerLocaleData(localeBn, 'bn', localeExtraBn); // Bengalese
|
|
158
|
-
registerLocaleData(localeDeCh, 'de-CH', localeExtraDeCh); // German (switzerland)
|
|
159
|
-
registerLocaleData(localeZhHant, 'zh-Hant', localeExtraZhHant); // Chinese (traditional)
|
|
160
|
-
registerLocaleData(localeTh, 'th', localeExtraTh); // Thai
|
|
161
|
-
registerLocaleData(localeVi, 'vi', localeExtraVi); // Vietnamese
|
|
162
|
-
registerLocaleData(localeEnGb, 'en-GB', localeExtraEnGb); // English (Great-Britain)
|
|
163
|
-
registerLocaleData(localeHe, 'he', localeExtraHe); // Hebrew
|
|
164
|
-
registerLocaleData(localeFi, 'fi', localeExtraFi); // Finish
|
|
165
|
-
registerLocaleData(localeDa, 'da', localeExtraDa); // Danish
|
|
166
|
-
registerLocaleData(localeSe, 'se', localeExtraSe); // Swedish
|
|
167
|
-
registerLocaleData(localeNb, 'nb', localeExtraNb); // Norwegian Bokmål
|
|
168
|
-
registerLocaleData(localeNn, 'nn', localeExtraNn); // Norwegian Nynorsk
|
|
169
|
-
registerLocaleData(localeId, 'id', localeExtraId); // Indonesian
|
|
170
|
-
registerLocaleData(localeMs, 'ms', localeExtraMs); // Malay
|
|
171
|
-
}
|
|
172
|
-
/**
|
|
173
|
-
*
|
|
174
|
-
* @param string lang
|
|
175
|
-
* @returns Observable<Object>
|
|
176
|
-
*/
|
|
177
|
-
getTranslation(lang) {
|
|
178
|
-
return forkJoin(this.config.translations.map(folder => this.loadTranslationFile(folder, lang))).pipe(map((res) => res.reduce((acc, x) => Object.assign(acc, x), {})));
|
|
179
|
-
}
|
|
180
|
-
loadTranslationFile(folder, lang) {
|
|
181
|
-
return this.http.get(`${folder}${lang}.json`).pipe(catchError((e) => {
|
|
182
|
-
// ISO codes with more than 2 characters are sub-languages like de-CH.
|
|
183
|
-
// If there is no translation file for that sub-language we'll try to load
|
|
184
|
-
// the file for the base language (in this case de).
|
|
185
|
-
return lang.length > 2 ? this.loadTranslationFile(folder, lang.substring(0, 2)) : of({});
|
|
186
|
-
}));
|
|
187
|
-
}
|
|
188
|
-
};
|
|
189
|
-
EoxTranslateJsonLoader = __decorate([
|
|
190
|
-
__param(1, Inject(CORE_CONFIG))
|
|
191
|
-
], EoxTranslateJsonLoader);
|
|
192
|
-
|
|
193
106
|
/**
|
|
194
107
|
* Set up the default logger.
|
|
195
108
|
* The default logger doesn't actually log anything;
|
|
@@ -820,7 +733,7 @@ class Utils {
|
|
|
820
733
|
static uniqBy(items, property) {
|
|
821
734
|
const a = {};
|
|
822
735
|
items.forEach(i => a[i[property]] = i);
|
|
823
|
-
return Object.keys(a).map(
|
|
736
|
+
return Object.keys(a).map(k => a[k]);
|
|
824
737
|
}
|
|
825
738
|
/**
|
|
826
739
|
* Utility method for adding parameters to a given URI.
|
|
@@ -1075,7 +988,7 @@ class Utils {
|
|
|
1075
988
|
* @returns
|
|
1076
989
|
*/
|
|
1077
990
|
static getTimezoneOffset() {
|
|
1078
|
-
return
|
|
991
|
+
return moment().format('Z');
|
|
1079
992
|
}
|
|
1080
993
|
static formatMailTo(value, isEmail) {
|
|
1081
994
|
if (isEmail && !!value) {
|
|
@@ -2076,10 +1989,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.2", ngImpor
|
|
|
2076
1989
|
}] }, { type: Logger }, { type: Config }];
|
|
2077
1990
|
} });
|
|
2078
1991
|
|
|
2079
|
-
/**
|
|
2080
|
-
* @ignore
|
|
2081
|
-
*/
|
|
2082
|
-
const moment$1 = momentImported;
|
|
2083
1992
|
/**
|
|
2084
1993
|
* Items emitted by the inbox service
|
|
2085
1994
|
*/
|
|
@@ -2108,7 +2017,7 @@ class InboxItem {
|
|
|
2108
2017
|
* @returns True when inbox item is overdue, false otherwise
|
|
2109
2018
|
*/
|
|
2110
2019
|
isOverdue() {
|
|
2111
|
-
return this.duetime && moment
|
|
2020
|
+
return this.duetime && moment(this.duetime).isBefore(moment());
|
|
2112
2021
|
}
|
|
2113
2022
|
}
|
|
2114
2023
|
InboxItem.TYPE_BPM = 'BPM';
|
|
@@ -2623,10 +2532,6 @@ var Direction;
|
|
|
2623
2532
|
Direction["RTL"] = "rtl";
|
|
2624
2533
|
})(Direction || (Direction = {}));
|
|
2625
2534
|
|
|
2626
|
-
/**
|
|
2627
|
-
* @ignore
|
|
2628
|
-
*/
|
|
2629
|
-
const moment = momentImported;
|
|
2630
2535
|
/**
|
|
2631
2536
|
* Collection of System Services
|
|
2632
2537
|
*/
|
|
@@ -3348,6 +3253,14 @@ class PrepareService {
|
|
|
3348
3253
|
this.preparedItems$ = this.preparedItemsSource.asObservable();
|
|
3349
3254
|
this.preparedItemCountSource = new ReplaySubject(1);
|
|
3350
3255
|
this.preparedItemCount$ = this.preparedItemCountSource.asObservable();
|
|
3256
|
+
/**
|
|
3257
|
+
* Creates a prepared item on the backed side.
|
|
3258
|
+
*
|
|
3259
|
+
* @param parentId The ID of the parent dms object to add the prepared item to
|
|
3260
|
+
* @param childType The type of object to be created
|
|
3261
|
+
* @returns Observable<any>
|
|
3262
|
+
*/
|
|
3263
|
+
this.i = 0;
|
|
3351
3264
|
}
|
|
3352
3265
|
/**
|
|
3353
3266
|
* Public Fetch Prepare items
|
|
@@ -3366,14 +3279,9 @@ class PrepareService {
|
|
|
3366
3279
|
this.preparedItemCountSource.next(this.preparedItemCount);
|
|
3367
3280
|
});
|
|
3368
3281
|
}
|
|
3369
|
-
/**
|
|
3370
|
-
* Creates a prepared item on the backed side.
|
|
3371
|
-
*
|
|
3372
|
-
* @param parentId The ID of the parent dms object to add the prepared item to
|
|
3373
|
-
* @param childType The type of object to be created
|
|
3374
|
-
* @returns Observable<any>
|
|
3375
|
-
*/
|
|
3376
3282
|
createPreparedItem(parentId, childType) {
|
|
3283
|
+
console.log('tick');
|
|
3284
|
+
this.i++;
|
|
3377
3285
|
return this.backend
|
|
3378
3286
|
.post(this.createPreparedItemPostUrl({
|
|
3379
3287
|
parentId: parentId,
|
|
@@ -3540,7 +3448,7 @@ class PrepareService {
|
|
|
3540
3448
|
* @returns Observable<any>
|
|
3541
3449
|
*/
|
|
3542
3450
|
uploadContent(preparedItemId, file) {
|
|
3543
|
-
const uri = `${this.backend.getServiceBase()}/prepare/${preparedItemId}/content.json?form=true&contentmeta=true`;
|
|
3451
|
+
const uri = `${this.backend.getBaseWithContext(this.backend.getServiceBase())}/prepare/${preparedItemId}/content.json?form=true&contentmeta=true`;
|
|
3544
3452
|
return this.uploadService
|
|
3545
3453
|
.upload(uri, [file])
|
|
3546
3454
|
.pipe(
|
|
@@ -3576,7 +3484,7 @@ class PrepareService {
|
|
|
3576
3484
|
*
|
|
3577
3485
|
* @type string
|
|
3578
3486
|
*/
|
|
3579
|
-
uri = this.backend.getServiceBase() + this.createPreparedItemPostUrl({
|
|
3487
|
+
uri = this.backend.getBaseWithContext(this.backend.getServiceBase()) + this.createPreparedItemPostUrl({
|
|
3580
3488
|
parentId: null,
|
|
3581
3489
|
createMany: !useBatchUpload
|
|
3582
3490
|
});
|
|
@@ -3586,7 +3494,7 @@ class PrepareService {
|
|
|
3586
3494
|
* upload to dms object, means adding or replacing content file
|
|
3587
3495
|
*/
|
|
3588
3496
|
const { referenceObject } = uploadTarget;
|
|
3589
|
-
uri = `${this.backend.getServiceBase()}/dms/${referenceObject.id}/contents?type=${referenceObject.type.name}`;
|
|
3497
|
+
uri = `${this.backend.getBaseWithContext(this.backend.getServiceBase())}/dms/${referenceObject.id}/contents?type=${referenceObject.type.name}`;
|
|
3590
3498
|
}
|
|
3591
3499
|
else if (uploadTarget.type === UploadTarget.CONTEXT || uploadTarget.type === UploadTarget.CONTEXT_TREE) {
|
|
3592
3500
|
/**
|
|
@@ -3596,7 +3504,7 @@ class PrepareService {
|
|
|
3596
3504
|
*
|
|
3597
3505
|
* @type string
|
|
3598
3506
|
*/
|
|
3599
|
-
uri = this.backend.getServiceBase() + this.createPreparedItemPostUrl({
|
|
3507
|
+
uri = this.backend.getBaseWithContext(this.backend.getServiceBase()) + this.createPreparedItemPostUrl({
|
|
3600
3508
|
parentId: uploadTarget.referenceObject.id,
|
|
3601
3509
|
createMany: !useBatchUpload,
|
|
3602
3510
|
childType: uploadTarget.subFolder && uploadTarget.subFolder.data.type ? uploadTarget.subFolder.data.type : null
|
|
@@ -4236,42 +4144,89 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.2", ngImpor
|
|
|
4236
4144
|
|
|
4237
4145
|
/**
|
|
4238
4146
|
* @ignore
|
|
4239
|
-
*
|
|
4147
|
+
* APP_INITIALIZER function
|
|
4240
4148
|
*/
|
|
4241
|
-
|
|
4242
|
-
|
|
4243
|
-
|
|
4244
|
-
|
|
4245
|
-
|
|
4246
|
-
|
|
4247
|
-
|
|
4248
|
-
|
|
4249
|
-
|
|
4250
|
-
|
|
4251
|
-
|
|
4252
|
-
|
|
4253
|
-
|
|
4254
|
-
|
|
4255
|
-
|
|
4256
|
-
|
|
4257
|
-
|
|
4258
|
-
|
|
4149
|
+
function init_module(coreInit) {
|
|
4150
|
+
// Need to set to a const before returning due to:
|
|
4151
|
+
// @see: https://github.com/angular/angular/issues/14485
|
|
4152
|
+
const fnc = () => coreInit.initialize();
|
|
4153
|
+
return fnc;
|
|
4154
|
+
}
|
|
4155
|
+
|
|
4156
|
+
/**
|
|
4157
|
+
* @ignore
|
|
4158
|
+
* Handles missing translations
|
|
4159
|
+
*/
|
|
4160
|
+
class EoxMissingTranslationHandler {
|
|
4161
|
+
/**
|
|
4162
|
+
*
|
|
4163
|
+
* @param MissingTranslationHandlerParams params
|
|
4164
|
+
* @returns string
|
|
4165
|
+
*/
|
|
4166
|
+
handle(params) {
|
|
4167
|
+
return '!missing key: ' + params.key;
|
|
4259
4168
|
}
|
|
4260
|
-
|
|
4261
|
-
|
|
4169
|
+
}
|
|
4170
|
+
|
|
4171
|
+
/**
|
|
4172
|
+
* @ignore
|
|
4173
|
+
* Loader that fetches translations based on the configured locations
|
|
4174
|
+
*/
|
|
4175
|
+
let EoxTranslateJsonLoader = class EoxTranslateJsonLoader {
|
|
4176
|
+
constructor(http, config) {
|
|
4177
|
+
this.http = http;
|
|
4178
|
+
this.config = config;
|
|
4179
|
+
registerLocaleData(localeDe, 'de', localeExtraDe); // German
|
|
4180
|
+
registerLocaleData(localeAr, 'ar', localeExtraAr); // Arabic
|
|
4181
|
+
registerLocaleData(localeEs, 'es', localeExtraEs); // Spanish
|
|
4182
|
+
registerLocaleData(localePt, 'pt', localeExtraPt); // Portuguese
|
|
4183
|
+
registerLocaleData(localeFr, 'fr', localeExtraFr); // French
|
|
4184
|
+
registerLocaleData(localeZh, 'zh', localeExtraZh); // Chinese
|
|
4185
|
+
registerLocaleData(localeLv, 'lv', localeExtraLv); // Latvian
|
|
4186
|
+
registerLocaleData(localeRu, 'ru', localeExtraRu); // Russian
|
|
4187
|
+
registerLocaleData(localeIt, 'it', localeExtraIt); // Italian
|
|
4188
|
+
registerLocaleData(localeNl, 'nl', localeExtraNl); // Dutch
|
|
4189
|
+
registerLocaleData(localeSk, 'sk', localeExtraSk); // Slovak
|
|
4190
|
+
registerLocaleData(localePl, 'pl', localeExtraPl); // Polish
|
|
4191
|
+
registerLocaleData(localeUk, 'uk', localeExtraUk); // Ukrainian
|
|
4192
|
+
registerLocaleData(localeJa, 'ja', localeExtraJa); // Japanese
|
|
4193
|
+
registerLocaleData(localeKo, 'ko', localeExtraKo); // Korean
|
|
4194
|
+
registerLocaleData(localeHi, 'hi', localeExtraHi); // Hindi
|
|
4195
|
+
registerLocaleData(localeBn, 'bn', localeExtraBn); // Bengalese
|
|
4196
|
+
registerLocaleData(localeDeCh, 'de-CH', localeExtraDeCh); // German (switzerland)
|
|
4197
|
+
registerLocaleData(localeZhHant, 'zh-Hant', localeExtraZhHant); // Chinese (traditional)
|
|
4198
|
+
registerLocaleData(localeTh, 'th', localeExtraTh); // Thai
|
|
4199
|
+
registerLocaleData(localeVi, 'vi', localeExtraVi); // Vietnamese
|
|
4200
|
+
registerLocaleData(localeEnGb, 'en-GB', localeExtraEnGb); // English (Great-Britain)
|
|
4201
|
+
registerLocaleData(localeHe, 'he', localeExtraHe); // Hebrew
|
|
4202
|
+
registerLocaleData(localeFi, 'fi', localeExtraFi); // Finish
|
|
4203
|
+
registerLocaleData(localeDa, 'da', localeExtraDa); // Danish
|
|
4204
|
+
registerLocaleData(localeSe, 'se', localeExtraSe); // Swedish
|
|
4205
|
+
registerLocaleData(localeNb, 'nb', localeExtraNb); // Norwegian Bokmål
|
|
4206
|
+
registerLocaleData(localeNn, 'nn', localeExtraNn); // Norwegian Nynorsk
|
|
4207
|
+
registerLocaleData(localeId, 'id', localeExtraId); // Indonesian
|
|
4208
|
+
registerLocaleData(localeMs, 'ms', localeExtraMs); // Malay
|
|
4262
4209
|
}
|
|
4263
|
-
|
|
4264
|
-
|
|
4210
|
+
/**
|
|
4211
|
+
*
|
|
4212
|
+
* @param string lang
|
|
4213
|
+
* @returns Observable<Object>
|
|
4214
|
+
*/
|
|
4215
|
+
getTranslation(lang) {
|
|
4216
|
+
return forkJoin(this.config.translations.map(folder => this.loadTranslationFile(folder, lang))).pipe(map((res) => res.reduce((acc, x) => Object.assign(acc, x), {})));
|
|
4265
4217
|
}
|
|
4266
|
-
|
|
4267
|
-
this.
|
|
4218
|
+
loadTranslationFile(folder, lang) {
|
|
4219
|
+
return this.http.get(`${folder}${lang}.json`).pipe(catchError((e) => {
|
|
4220
|
+
// ISO codes with more than 2 characters are sub-languages like de-CH.
|
|
4221
|
+
// If there is no translation file for that sub-language we'll try to load
|
|
4222
|
+
// the file for the base language (in this case de).
|
|
4223
|
+
return lang.length > 2 ? this.loadTranslationFile(folder, lang.substring(0, 2)) : of({});
|
|
4224
|
+
}));
|
|
4268
4225
|
}
|
|
4269
|
-
}
|
|
4270
|
-
|
|
4271
|
-
|
|
4272
|
-
|
|
4273
|
-
type: Injectable
|
|
4274
|
-
}] });
|
|
4226
|
+
};
|
|
4227
|
+
EoxTranslateJsonLoader = __decorate([
|
|
4228
|
+
__param(1, Inject(CORE_CONFIG))
|
|
4229
|
+
], EoxTranslateJsonLoader);
|
|
4275
4230
|
|
|
4276
4231
|
/**
|
|
4277
4232
|
* `EoSharedModule` re-exports ToastrModule, TranslateModule so you can use directives
|
|
@@ -4317,6 +4272,45 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.2", ngImpor
|
|
|
4317
4272
|
type: Injectable
|
|
4318
4273
|
}], ctorParameters: function () { return [{ type: AuthService }]; } });
|
|
4319
4274
|
|
|
4275
|
+
/**
|
|
4276
|
+
* @ignore
|
|
4277
|
+
* logger logging values to the ambient console object.
|
|
4278
|
+
*/
|
|
4279
|
+
class ConsoleLogService {
|
|
4280
|
+
apply(fn, args) {
|
|
4281
|
+
return console && console[fn] && console[fn](...args);
|
|
4282
|
+
}
|
|
4283
|
+
assert(...args) {
|
|
4284
|
+
this.apply('assert', args);
|
|
4285
|
+
}
|
|
4286
|
+
debug(...args) {
|
|
4287
|
+
this.apply('debug', args);
|
|
4288
|
+
}
|
|
4289
|
+
error(...args) {
|
|
4290
|
+
this.apply('error', args);
|
|
4291
|
+
}
|
|
4292
|
+
group(...args) {
|
|
4293
|
+
this.apply('group', args);
|
|
4294
|
+
}
|
|
4295
|
+
groupEnd(...args) {
|
|
4296
|
+
this.apply('groupEnd', args);
|
|
4297
|
+
}
|
|
4298
|
+
info(...args) {
|
|
4299
|
+
this.apply('info', args);
|
|
4300
|
+
}
|
|
4301
|
+
log(...args) {
|
|
4302
|
+
this.apply('log', args);
|
|
4303
|
+
}
|
|
4304
|
+
warn(...args) {
|
|
4305
|
+
this.apply('warn', args);
|
|
4306
|
+
}
|
|
4307
|
+
}
|
|
4308
|
+
ConsoleLogService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.2", ngImport: i0, type: ConsoleLogService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
4309
|
+
ConsoleLogService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.2", ngImport: i0, type: ConsoleLogService });
|
|
4310
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.2", ngImport: i0, type: ConsoleLogService, decorators: [{
|
|
4311
|
+
type: Injectable
|
|
4312
|
+
}] });
|
|
4313
|
+
|
|
4320
4314
|
/**
|
|
4321
4315
|
* Main module for connecting an app to an yuuvis<sup>®</sup> RAD backend. To use it just import int in your app module:
|
|
4322
4316
|
*
|
|
@@ -5045,22 +5039,20 @@ class DmsService {
|
|
|
5045
5039
|
}));
|
|
5046
5040
|
}
|
|
5047
5041
|
/**
|
|
5048
|
-
*
|
|
5049
|
-
*
|
|
5050
|
-
* @param
|
|
5051
|
-
*
|
|
5052
|
-
*
|
|
5053
|
-
* @
|
|
5054
|
-
* @returns Observable<any>
|
|
5042
|
+
* Shares a dms object (and its children) with certain users
|
|
5043
|
+
* @param dmsObject The dms object to be shared
|
|
5044
|
+
* @param shareWith Array of organization objects to share the object with. Each entry
|
|
5045
|
+
* will have the ID of the target organization object as well as an optional param
|
|
5046
|
+
* whether or not to also share the dms objects children.
|
|
5047
|
+
* @returns Observable being resolved once the request is done
|
|
5055
5048
|
*/
|
|
5056
|
-
|
|
5057
|
-
|
|
5058
|
-
|
|
5059
|
-
|
|
5060
|
-
|
|
5061
|
-
|
|
5062
|
-
|
|
5063
|
-
return this.triggerUpdate(dmsObjects[0], this.backend.put(url, data));
|
|
5049
|
+
share(dmsObject, shareWith) {
|
|
5050
|
+
return this.triggerUpdate(dmsObject, this.backend.put(`/dms/${dmsObject.id}/share`, {
|
|
5051
|
+
shares: shareWith.map(i => ({
|
|
5052
|
+
organizationobject: i.id,
|
|
5053
|
+
sharechildren: !!i.shareChildren
|
|
5054
|
+
}))
|
|
5055
|
+
}));
|
|
5064
5056
|
}
|
|
5065
5057
|
/**
|
|
5066
5058
|
* Move a DMS Object
|