@bizdoc/core 1.8.8 → 1.8.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE.md +1 -0
- package/karma.conf.js +44 -0
- package/ng-package.json +38 -0
- package/package.json +81 -71
- package/src/lib/admin/admin-dismiss.service.ts +24 -0
- package/src/lib/admin/admin-menu.component.html +18 -0
- package/src/lib/admin/admin-menu.component.ts +20 -0
- package/src/lib/admin/core/ace.input.ts +133 -0
- package/src/lib/admin/core/color-picker.input.scss +17 -0
- package/src/lib/admin/core/color-picker.input.ts +175 -0
- package/src/lib/admin/core/search.input.ts +32 -0
- package/src/lib/admin/diff/_configuration-diff-theme.scss +72 -0
- package/src/lib/admin/diff/configuration-diff.component.html +24 -0
- package/src/lib/admin/diff/configuration-diff.component.scss +16 -0
- package/src/lib/admin/diff/configuration-diff.component.ts +549 -0
- package/src/lib/admin/document-trace/Timeline.ts +41 -0
- package/src/lib/admin/document-trace/_timeline-theme.scss +70 -0
- package/src/lib/admin/document-trace/document-trace.component.html +55 -0
- package/src/lib/admin/document-trace/document-trace.component.scss +10 -0
- package/src/lib/admin/document-trace/document-trace.component.ts +463 -0
- package/src/lib/admin/document-trace/reassign.dialog.html +24 -0
- package/src/lib/admin/document-trace/reassign.dialog.ts +34 -0
- package/src/lib/admin/document-trace/trace-element.component.html +57 -0
- package/src/lib/admin/document-trace/trace-element.component.scss +21 -0
- package/src/lib/admin/document-trace/trace-element.component.ts +116 -0
- package/src/lib/admin/form/form.resolve.service.ts +13 -0
- package/src/lib/admin/form/form.service.ts +23 -0
- package/src/lib/admin/form/workflow/node-ref.ts +8 -0
- package/src/lib/admin/form/workflow/node.component.html +36 -0
- package/src/lib/admin/form/workflow/node.component.scss +4 -0
- package/src/lib/admin/form/workflow/node.component.ts +128 -0
- package/src/lib/admin/form/workflow/role-node.component.html +36 -0
- package/src/lib/admin/form/workflow/role-node.component.ts +65 -0
- package/src/lib/admin/form/workflow/tools.component.exp.ts +13 -0
- package/src/lib/admin/form/workflow/tools.component.html +1 -0
- package/src/lib/admin/form/workflow/workflow.component.html +73 -0
- package/src/lib/admin/form/workflow/workflow.component.scss +52 -0
- package/src/lib/admin/form/workflow/workflow.component.ts +390 -0
- package/src/lib/admin/indices/manage-cube-index.component.html +35 -0
- package/src/lib/admin/indices/manage-cube-index.component.scss +16 -0
- package/src/lib/admin/indices/manage-cube-index.component.ts +155 -0
- package/src/lib/admin/patterns/patterns.component.html +70 -0
- package/src/lib/admin/patterns/patterns.component.ts +166 -0
- package/src/lib/admin/permissions/permissions.component.html +21 -0
- package/src/lib/admin/permissions/permissions.component.scss +7 -0
- package/src/lib/admin/permissions/permissions.component.ts +89 -0
- package/src/lib/admin/positions/positions-popup.component.html +23 -0
- package/src/lib/admin/positions/positions-popup.component.ts +67 -0
- package/src/lib/admin/positions/positions.component.html +142 -0
- package/src/lib/admin/positions/positions.component.scss +14 -0
- package/src/lib/admin/positions/positions.component.ts +285 -0
- package/src/lib/admin/profiler/profiler.component.html +109 -0
- package/src/lib/admin/profiler/profiler.component.scss +22 -0
- package/src/lib/admin/profiler/profiler.component.ts +268 -0
- package/src/lib/admin/utility-ref.ts +44 -0
- package/src/lib/admin/utility-wrapper.component.ts +52 -0
- package/src/lib/admin/utility.pane.component.ts +49 -0
- package/src/lib/app.component.ts +86 -0
- package/src/lib/bizdoc.module.ts +81 -0
- package/src/lib/browse/_browse-theme.scss +86 -0
- package/src/lib/browse/browse-items.component.html +163 -0
- package/src/lib/browse/browse-items.component.scss +52 -0
- package/src/lib/browse/browse-items.component.ts +419 -0
- package/src/lib/browse/browse.mobile.component.html +33 -0
- package/src/lib/browse/browse.mobile.component.ts +89 -0
- package/src/lib/browse/browse.pane.component.html +43 -0
- package/src/lib/browse/browse.pane.component.scss +4 -0
- package/src/lib/browse/browse.pane.component.ts +133 -0
- package/src/lib/browse/expanded-item/expanded-item.component.html +37 -0
- package/src/lib/browse/expanded-item/expanded-item.component.scss +35 -0
- package/src/lib/browse/expanded-item/expanded-item.component.ts +287 -0
- package/src/lib/browse/filter/filter.component.html +50 -0
- package/src/lib/browse/filter/filter.component.scss +10 -0
- package/src/lib/browse/filter/filter.component.ts +143 -0
- package/src/lib/browse/folders-menu.component.html +20 -0
- package/src/lib/browse/folders-menu.component.scss +15 -0
- package/src/lib/browse/folders-menu.component.ts +42 -0
- package/src/lib/chart.module.ts +33 -0
- package/src/lib/chat/_chat-theme.scss +162 -0
- package/src/lib/chat/chat-info.ts +73 -0
- package/src/lib/chat/chat-pool.component.exp.ts +117 -0
- package/src/lib/chat/chat-pool.component.html +13 -0
- package/src/lib/chat/chat-pool.component.scss +10 -0
- package/src/lib/chat/chat.mobile.component.html +6 -0
- package/src/lib/chat/chat.mobile.component.scss +8 -0
- package/src/lib/chat/chat.mobile.component.ts +18 -0
- package/src/lib/chat/chat.service.ts +128 -0
- package/src/lib/chat/contacts.component.html +37 -0
- package/src/lib/chat/contacts.component.scss +49 -0
- package/src/lib/chat/contacts.component.ts +88 -0
- package/src/lib/chat/contacts.pane.component.ts +25 -0
- package/src/lib/chat/conversation.component.html +28 -0
- package/src/lib/chat/conversation.component.scss +6 -0
- package/src/lib/chat/conversation.component.ts +186 -0
- package/src/lib/chat/conversation.pane.component.ts +45 -0
- package/src/lib/circular-gauge.module.ts +11 -0
- package/src/lib/compose/_compose-theme.scss +38 -0
- package/src/lib/compose/action/action-picker.component.html +25 -0
- package/src/lib/compose/action/action-picker.component.scss +4 -0
- package/src/lib/compose/action/action-picker.component.ts +95 -0
- package/src/lib/compose/action/action-ref.ts +19 -0
- package/src/lib/compose/action/action.dialog.html +17 -0
- package/src/lib/compose/action/action.dialog.scss +1 -0
- package/src/lib/compose/action/action.dialog.ts +58 -0
- package/src/lib/compose/action/action.pane.dialog.html +12 -0
- package/src/lib/compose/action/action.pane.dialog.ts +64 -0
- package/src/lib/compose/action/assign-action.component.html +17 -0
- package/src/lib/compose/action/assign-action.component.ts +43 -0
- package/src/lib/compose/action/return-action.component.html +13 -0
- package/src/lib/compose/action/return-action.component.ts +31 -0
- package/src/lib/compose/attachments/attachments.component.html +23 -0
- package/src/lib/compose/attachments/attachments.component.scss +21 -0
- package/src/lib/compose/attachments/attachments.component.ts +103 -0
- package/src/lib/compose/attachments/preview/attachment-preview.component.html +15 -0
- package/src/lib/compose/attachments/preview/attachment-preview.component.scss +36 -0
- package/src/lib/compose/attachments/preview/attachment-preview.component.ts +143 -0
- package/src/lib/compose/attachments/progress-button.directive.ts +18 -0
- package/src/lib/compose/can-deactivate-changes.service.ts +22 -0
- package/src/lib/compose/comments/_comments-theme.scss +82 -0
- package/src/lib/compose/comments/comment.component.html +36 -0
- package/src/lib/compose/comments/comment.component.ts +160 -0
- package/src/lib/compose/comments/comments.component.html +27 -0
- package/src/lib/compose/comments/comments.component.scss +33 -0
- package/src/lib/compose/comments/comments.component.ts +220 -0
- package/src/lib/compose/comments/comments.pane.component.ts +41 -0
- package/src/lib/compose/comments/edit-comment.component.html +3 -0
- package/src/lib/compose/comments/edit-comment.component.ts +35 -0
- package/src/lib/compose/comments/edits.component.html +7 -0
- package/src/lib/compose/comments/edits.component.ts +33 -0
- package/src/lib/compose/comments/quick-comment.component.exp.ts +60 -0
- package/src/lib/compose/comments/quick-comment.component.html +5 -0
- package/src/lib/compose/comments/quick-comment.component.scss +11 -0
- package/src/lib/compose/comments/votes.component.html +7 -0
- package/src/lib/compose/comments/votes.component.ts +38 -0
- package/src/lib/compose/compose-resolve.service.ts +42 -0
- package/src/lib/compose/compose.mobile.component.html +48 -0
- package/src/lib/compose/compose.mobile.component.scss +11 -0
- package/src/lib/compose/compose.mobile.component.ts +84 -0
- package/src/lib/compose/compose.pane.component.html +48 -0
- package/src/lib/compose/compose.pane.component.scss +26 -0
- package/src/lib/compose/compose.pane.component.ts +181 -0
- package/src/lib/compose/copy/copy.dialog.html +21 -0
- package/src/lib/compose/copy/copy.dialog.ts +40 -0
- package/src/lib/compose/dismiss.service.ts +26 -0
- package/src/lib/compose/document-resolver.service.ts +13 -0
- package/src/lib/compose/document.component.html +5 -0
- package/src/lib/compose/document.component.ts +44 -0
- package/src/lib/compose/document.mobile.component.ts +20 -0
- package/src/lib/compose/document.pane.component.ts +22 -0
- package/src/lib/compose/events/events.component.html +6 -0
- package/src/lib/compose/events/events.component.ts +21 -0
- package/src/lib/compose/form-ref.ts +53 -0
- package/src/lib/compose/form-selector/form-selector.sheet.html +10 -0
- package/src/lib/compose/form-selector/form-selector.sheet.ts +74 -0
- package/src/lib/compose/form.component.html +12 -0
- package/src/lib/compose/form.component.ts +401 -0
- package/src/lib/compose/maps/maps.component.html +3 -0
- package/src/lib/compose/maps/maps.component.ts +22 -0
- package/src/lib/compose/new-menu.component.html +29 -0
- package/src/lib/compose/new-menu.component.scss +11 -0
- package/src/lib/compose/new-menu.component.ts +106 -0
- package/src/lib/compose/privilage.directive.ts +43 -0
- package/src/lib/compose/recipient-resolver.service.ts +15 -0
- package/src/lib/compose/save-changes.dialog.html +13 -0
- package/src/lib/compose/save-changes.dialog.ts +10 -0
- package/src/lib/compose/state.component.ts +29 -0
- package/src/lib/compose/tag/tags.component.html +22 -0
- package/src/lib/compose/tag/tags.component.scss +1 -0
- package/src/lib/compose/tag/tags.component.ts +83 -0
- package/src/lib/compose/trace/flow.component.html +3 -0
- package/src/lib/compose/trace/flow.component.scss +7 -0
- package/src/lib/compose/trace/flow.component.ts +669 -0
- package/src/lib/compose/trace/people.component.ts +32 -0
- package/src/lib/compose/trace/trace.base.ts +66 -0
- package/src/lib/compose/trace/trace.component.html +43 -0
- package/src/lib/compose/trace/trace.component.scss +16 -0
- package/src/lib/compose/trace/trace.component.ts +289 -0
- package/src/lib/compose/trace/trace.pane.component.html +3 -0
- package/src/lib/compose/trace/trace.pane.component.scss +5 -0
- package/src/lib/compose/trace/trace.pane.component.ts +43 -0
- package/src/lib/compose/version-compare/_compare-theme.scss +147 -0
- package/src/lib/compose/version-compare/version-compare.component.ts +51 -0
- package/src/lib/compose/version-compare/version-compare.directive.ts +292 -0
- package/src/lib/compose/version-compare/version.pane.component.html +19 -0
- package/src/lib/compose/version-compare/version.pane.component.scss +8 -0
- package/src/lib/compose/version-compare/version.pane.component.ts +48 -0
- package/src/lib/core/NgComponentOutlet.ts +31 -0
- package/src/lib/core/account.service.ts +28 -0
- package/src/lib/core/animated-icon/animated-icon.directive.html +3 -0
- package/src/lib/core/animated-icon/animated-icon.directive.scss +12 -0
- package/src/lib/core/animated-icon/animated-icon.directive.ts +41 -0
- package/src/lib/core/animations.ts +196 -0
- package/src/lib/core/authentication.ts +7 -0
- package/src/lib/core/avatar/_avatar-theme.scss +60 -0
- package/src/lib/core/avatar/avatar.component.html +6 -0
- package/src/lib/core/avatar/avatar.component.ts +108 -0
- package/src/lib/core/base.ts +44 -0
- package/src/lib/core/can-activate.service.exp.ts +31 -0
- package/src/lib/core/colors.ts +322 -0
- package/src/lib/core/component-factory-resolver.ts +59 -0
- package/src/lib/core/configuration.ts +95 -0
- package/src/lib/core/controls/_daterange-theme.scss +16 -0
- package/src/lib/core/controls/address.input.ts +158 -0
- package/src/lib/core/controls/auto-complete.input.ts +218 -0
- package/src/lib/core/controls/combination-picker-body.html +34 -0
- package/src/lib/core/controls/combination-picker-body.scss +40 -0
- package/src/lib/core/controls/combination-picker-body.ts +191 -0
- package/src/lib/core/controls/combination-picker.html +6 -0
- package/src/lib/core/controls/combination-picker.scss +9 -0
- package/src/lib/core/controls/combination-picker.ts +243 -0
- package/src/lib/core/controls/combination-pool.html +10 -0
- package/src/lib/core/controls/combination-pool.scss +35 -0
- package/src/lib/core/controls/combination-pool.ts +96 -0
- package/src/lib/core/controls/select.input.ts +205 -0
- package/src/lib/core/controls/time-picker.html +4 -0
- package/src/lib/core/controls/time-picker.ts +199 -0
- package/src/lib/core/controls/timespan.input.ts +175 -0
- package/src/lib/core/datasource.service.ts +67 -0
- package/src/lib/core/decorators.ts +56 -0
- package/src/lib/core/firebase.service.ts +55 -0
- package/src/lib/core/functions.ts +229 -0
- package/src/lib/core/guide/_guide-theme.scss +197 -0
- package/src/lib/core/guide/guide.component.html +20 -0
- package/src/lib/core/guide/guide.component.ts +210 -0
- package/src/lib/core/guide/guide.service.ts +98 -0
- package/src/lib/core/http.interceptor.ts +80 -0
- package/src/lib/core/hub.service.ts +194 -0
- package/src/lib/core/identity/identity.component.html +2 -0
- package/src/lib/core/identity/identity.component.ts +57 -0
- package/src/lib/core/info/attachment-info.service.ts +49 -0
- package/src/lib/core/info/document-info.service.ts +14 -0
- package/src/lib/core/info/location-info.component.scss +13 -0
- package/src/lib/core/info/location-info.component.ts +64 -0
- package/src/lib/core/info/map-info.ts +33 -0
- package/src/lib/core/layout/autocomplete.field.ts +41 -0
- package/src/lib/core/layout/checkbox.field.ts +21 -0
- package/src/lib/core/layout/date-range.field.ts +32 -0
- package/src/lib/core/layout/date.field.ts +26 -0
- package/src/lib/core/layout/expression.field.ts +26 -0
- package/src/lib/core/layout/html.field.ts +28 -0
- package/src/lib/core/layout/input.base.ts +12 -0
- package/src/lib/core/layout/input.field.ts +43 -0
- package/src/lib/core/layout/layout.component.scss +9 -0
- package/src/lib/core/layout/layout.component.ts +173 -0
- package/src/lib/core/layout/numeric.field.ts +24 -0
- package/src/lib/core/layout/select.field.ts +52 -0
- package/src/lib/core/layout/switch.field.ts +21 -0
- package/src/lib/core/layout/textarea.field.ts +21 -0
- package/src/lib/core/layout/timespan.field.ts +25 -0
- package/src/lib/core/lottie-animation.ts +37 -0
- package/src/lib/core/mailbox.service.ts +296 -0
- package/src/lib/core/models.ts +667 -0
- package/src/lib/core/none.component.scss +26 -0
- package/src/lib/core/none.component.ts +28 -0
- package/src/lib/core/pipes/action.pipe.ts +18 -0
- package/src/lib/core/pipes/daterange.pipe.ts +45 -0
- package/src/lib/core/pipes/duration.pipe.ts +39 -0
- package/src/lib/core/pipes/form.pipe.ts +19 -0
- package/src/lib/core/pipes/join.pipe.ts +10 -0
- package/src/lib/core/pipes/role.pipe.ts +19 -0
- package/src/lib/core/pipes/sanitize-html.pipe.ts +10 -0
- package/src/lib/core/pipes/sort.pipe.ts +34 -0
- package/src/lib/core/pipes/state.pipe.ts +19 -0
- package/src/lib/core/pipes/translate.pipe.ts +14 -0
- package/src/lib/core/pipes/type-value.pipe.ts +37 -0
- package/src/lib/core/pipes/user-name.pipe.ts +14 -0
- package/src/lib/core/popup/_popup-theme.scss +226 -0
- package/src/lib/core/popup/popup-ref.ts +19 -0
- package/src/lib/core/popup/popup.component.html +6 -0
- package/src/lib/core/popup/popup.component.ts +40 -0
- package/src/lib/core/popup/popup.service.ts +164 -0
- package/src/lib/core/popup/tooltip.directive.ts +47 -0
- package/src/lib/core/prompt/ask/ask.dialog.html +6 -0
- package/src/lib/core/prompt/ask/ask.dialog.ts +35 -0
- package/src/lib/core/prompt/mask/mask.component.html +1 -0
- package/src/lib/core/prompt/mask/mask.component.scss +14 -0
- package/src/lib/core/prompt/mask/mask.component.ts +15 -0
- package/src/lib/core/prompt.service.ts +81 -0
- package/src/lib/core/router.ts +29 -0
- package/src/lib/core/session.service.ts +247 -0
- package/src/lib/core/slots/_slots-theme.scss +142 -0
- package/src/lib/core/slots/extended-tab.component.exp.ts +35 -0
- package/src/lib/core/slots/extended-tab.component.html +0 -0
- package/src/lib/core/slots/intro.pane.component.exp.ts +23 -0
- package/src/lib/core/slots/intro.pane.component.html +22 -0
- package/src/lib/core/slots/intro.pane.component.scss +8 -0
- package/src/lib/core/slots/pane-ref.ts +156 -0
- package/src/lib/core/slots/router.directive.ts +55 -0
- package/src/lib/core/slots/router.service.ts +67 -0
- package/src/lib/core/slots/slot.component.exp.ts +49 -0
- package/src/lib/core/slots/slot.component.html +15 -0
- package/src/lib/core/slots/slot.component.scss +18 -0
- package/src/lib/core/slots/slots.component.html +65 -0
- package/src/lib/core/slots/slots.component.scss +160 -0
- package/src/lib/core/slots/slots.component.ts +1138 -0
- package/src/lib/core/tagging/documents.component.html +11 -0
- package/src/lib/core/tagging/documents.component.ts +19 -0
- package/src/lib/core/tagging/edit-input.component.html +42 -0
- package/src/lib/core/tagging/edit-input.component.scss +21 -0
- package/src/lib/core/tagging/edit-input.component.ts +211 -0
- package/src/lib/core/tagging/emoji.component.ts +23 -0
- package/src/lib/core/tagging/tagging-item.directive.ts +34 -0
- package/src/lib/core/tagging/tagging.component-base.ts +29 -0
- package/src/lib/core/tagging/tagging.component.scss +22 -0
- package/src/lib/core/tagging/tagging.directive.ts +128 -0
- package/src/lib/core/tagging/tagging.pipe.ts +76 -0
- package/src/lib/core/tagging/users.component.html +13 -0
- package/src/lib/core/tagging/users.component.ts +28 -0
- package/src/lib/core/translate.service.ts +1203 -0
- package/src/lib/core/window-title.service.ts +54 -0
- package/src/lib/cube/accum/accum.component.html +16 -0
- package/src/lib/cube/accum/accum.component.ts +186 -0
- package/src/lib/cube/chart/chart.component.html +32 -0
- package/src/lib/cube/chart/chart.component.ts +252 -0
- package/src/lib/cube/cube-info.service.ts +129 -0
- package/src/lib/cube/cube-menu.component.html +13 -0
- package/src/lib/cube/cube-menu.component.ts +18 -0
- package/src/lib/cube/cube-view.component.ts +174 -0
- package/src/lib/cube/cube.service.ts +415 -0
- package/src/lib/cube/declarations.ts +23 -0
- package/src/lib/cube/explore/document-item.component.ts +28 -0
- package/src/lib/cube/explore/explore-item.component.scss +4 -0
- package/src/lib/cube/explore/explore-item.component.ts +23 -0
- package/src/lib/cube/explore/explore-items.component.html +27 -0
- package/src/lib/cube/explore/explore-items.component.scss +24 -0
- package/src/lib/cube/explore/explore-items.component.ts +142 -0
- package/src/lib/cube/explore/explore.pane.component.html +11 -0
- package/src/lib/cube/explore/explore.pane.component.ts +69 -0
- package/src/lib/cube/explore/item-resolver.service.ts +24 -0
- package/src/lib/cube/explore/item.pane.component.html +3 -0
- package/src/lib/cube/explore/item.pane.component.ts +23 -0
- package/src/lib/cube/filter/filter-tags.component.exp.ts +59 -0
- package/src/lib/cube/filter/filter-tags.component.html +8 -0
- package/src/lib/cube/filter/filter-tags.component.scss +0 -0
- package/src/lib/cube/filter/filter-tags.component.spec.ts +25 -0
- package/src/lib/cube/filter/filter.component.html +25 -0
- package/src/lib/cube/filter/filter.component.scss +8 -0
- package/src/lib/cube/filter/filter.component.ts +102 -0
- package/src/lib/cube/grid/grid.component.html +30 -0
- package/src/lib/cube/grid/grid.component.scss +4 -0
- package/src/lib/cube/grid/grid.component.ts +220 -0
- package/src/lib/cube/grid/spreadsheet.component.ts +268 -0
- package/src/lib/cube/matrix/_matrix.theme.scss +77 -0
- package/src/lib/cube/matrix/matrix.base.ts +156 -0
- package/src/lib/cube/matrix/matrix.component.html +27 -0
- package/src/lib/cube/matrix/matrix.component.scss +3 -0
- package/src/lib/cube/matrix/matrix.component.ts +52 -0
- package/src/lib/cube/matrix/matrix.mobile.component.html +26 -0
- package/src/lib/cube/matrix/matrix.mobile.component.ts +57 -0
- package/src/lib/cube/matrix/matrix.pane.component.html +26 -0
- package/src/lib/cube/matrix/matrix.pane.component.scss +7 -0
- package/src/lib/cube/matrix/matrix.pane.component.ts +63 -0
- package/src/lib/cube/matrix/table.component.html +64 -0
- package/src/lib/cube/matrix/table.component.scss +22 -0
- package/src/lib/cube/matrix/table.component.ts +337 -0
- package/src/lib/cube/pivot/pivot.component.html +14 -0
- package/src/lib/cube/pivot/pivot.component.ts +409 -0
- package/src/lib/cube/view-base.ts +81 -0
- package/src/lib/cube/view.mobile.component.html +38 -0
- package/src/lib/cube/view.mobile.component.scss +9 -0
- package/src/lib/cube/view.mobile.component.ts +112 -0
- package/src/lib/cube/view.pane.component.html +25 -0
- package/src/lib/cube/view.pane.component.scss +12 -0
- package/src/lib/cube/view.pane.component.ts +75 -0
- package/src/lib/dashboard/_table.widget.scss +19 -0
- package/src/lib/dashboard/actions/actions.widget.html +6 -0
- package/src/lib/dashboard/actions/actions.widget.ts +118 -0
- package/src/lib/dashboard/cube/accum-cube.widget.html +15 -0
- package/src/lib/dashboard/cube/accum-cube.widget.ts +154 -0
- package/src/lib/dashboard/cube/cube-analysis.base.ts +116 -0
- package/src/lib/dashboard/cube/cube-analysis.widget.ts +42 -0
- package/src/lib/dashboard/cube/cube-chart.widget.html +7 -0
- package/src/lib/dashboard/cube/cube-chart.widget.ts +146 -0
- package/src/lib/dashboard/cube/documents.widget.html +19 -0
- package/src/lib/dashboard/cube/documents.widget.ts +59 -0
- package/src/lib/dashboard/cube/filter/filter.component.html +3 -0
- package/src/lib/dashboard/cube/filter/filter.component.ts +49 -0
- package/src/lib/dashboard/cube/gauge.component.exp.ts +18 -0
- package/src/lib/dashboard/dashboard.component.html +18 -0
- package/src/lib/dashboard/dashboard.component.scss +36 -0
- package/src/lib/dashboard/dashboard.component.ts +45 -0
- package/src/lib/dashboard/dashboard.pane.component.ts +19 -0
- package/src/lib/dashboard/recents/recents.widget.html +27 -0
- package/src/lib/dashboard/recents/recents.widget.scss +9 -0
- package/src/lib/dashboard/recents/recents.widget.ts +74 -0
- package/src/lib/dashboard/score/activity.widget.html +9 -0
- package/src/lib/dashboard/score/activity.widget.ts +167 -0
- package/src/lib/dashboard/score/compare-departments.widget.html +8 -0
- package/src/lib/dashboard/score/compare-departments.widget.ts +204 -0
- package/src/lib/dashboard/score/peers-performance.widget.html +23 -0
- package/src/lib/dashboard/score/peers-performance.widget.ts +254 -0
- package/src/lib/dashboard/score/pending-results.widget.html +29 -0
- package/src/lib/dashboard/score/pending-results.widget.ts +57 -0
- package/src/lib/dashboard/score/personal-score.widget.html +18 -0
- package/src/lib/dashboard/score/personal-score.widget.ts +225 -0
- package/src/lib/dashboard/widget-item.component.ts +90 -0
- package/src/lib/dashboard/widget-ref.ts +20 -0
- package/src/lib/desktop.module.ts +93 -0
- package/src/lib/diagram.module.ts +20 -0
- package/src/lib/grid.module.ts +16 -0
- package/src/lib/home/_home-theme.scss +155 -0
- package/src/lib/home/about/about.dialog.html +19 -0
- package/src/lib/home/about/about.dialog.ts +18 -0
- package/src/lib/home/home-base.component.ts +88 -0
- package/src/lib/home/home.desktop.component.html +87 -0
- package/src/lib/home/home.desktop.component.scss +66 -0
- package/src/lib/home/home.desktop.component.ts +181 -0
- package/src/lib/home/home.mobile.component.html +79 -0
- package/src/lib/home/home.mobile.component.scss +49 -0
- package/src/lib/home/home.mobile.component.ts +105 -0
- package/src/lib/home/notifications/notifications.component.html +18 -0
- package/src/lib/home/notifications/notifications.component.scss +36 -0
- package/src/lib/home/notifications/notifications.component.ts +55 -0
- package/src/lib/home/options/options.component.html +39 -0
- package/src/lib/home/options/options.component.scss +16 -0
- package/src/lib/home/options/options.component.ts +92 -0
- package/src/lib/home/outofoffice/outofoffice.component.html +5 -0
- package/src/lib/home/outofoffice/outofoffice.component.scss +10 -0
- package/src/lib/home/outofoffice/outofoffice.component.ts +33 -0
- package/src/lib/home/progress-bar.directive.exp.ts +24 -0
- package/src/lib/home/search.service.ts +71 -0
- package/src/lib/home/sign/sign.component.html +15 -0
- package/src/lib/home/sign/sign.component.ts +42 -0
- package/src/lib/home/submenu.directive.exp.ts +43 -0
- package/src/lib/home/tools.component.html +27 -0
- package/src/lib/home/tools.component.scss +15 -0
- package/src/lib/home/tools.component.ts +72 -0
- package/src/lib/home/welcome/welcome.dialog.exp.ts +35 -0
- package/src/lib/home/welcome/welcome.dialog.html +14 -0
- package/src/lib/impersonate/impersonate.component.html +17 -0
- package/src/lib/impersonate/impersonate.component.scss +3 -0
- package/src/lib/impersonate/impersonate.component.spec.ts +24 -0
- package/src/lib/impersonate/impersonate.component.ts +60 -0
- package/src/lib/linear-gauge.module.ts +11 -0
- package/src/lib/material.module.ts +99 -0
- package/src/lib/mobile.module.ts +41 -0
- package/src/lib/notifications/commented.notification.html +14 -0
- package/src/lib/notifications/commented.notification.ts +51 -0
- package/src/lib/notifications/cube-anomaly.notification.ts +50 -0
- package/src/lib/notifications/escalated.notification.ts +37 -0
- package/src/lib/notifications/filter.component.html +6 -0
- package/src/lib/notifications/filter.component.ts +16 -0
- package/src/lib/notifications/liked.notification.ts +49 -0
- package/src/lib/notifications/long-running-task.notification.ts +23 -0
- package/src/lib/notifications/notification-base.ts +38 -0
- package/src/lib/notifications/notifications-table.component.html +54 -0
- package/src/lib/notifications/notifications-table.component.scss +14 -0
- package/src/lib/notifications/notifications-table.component.ts +94 -0
- package/src/lib/notifications/notifications.component-base.ts +45 -0
- package/src/lib/notifications/notifications.mobile.component.ts +13 -0
- package/src/lib/notifications/notifications.pane.component.ts +16 -0
- package/src/lib/notifications/notifications.service.ts +66 -0
- package/src/lib/notifications/nudge.notification.ts +33 -0
- package/src/lib/notifications/state-changed.notification.ts +27 -0
- package/src/lib/notifications/tagged.notification.ts +46 -0
- package/src/lib/notifications/text.notification.ts +13 -0
- package/src/lib/notifications/upcoming-event.notification.ts +25 -0
- package/src/lib/options/options.component.html +149 -0
- package/src/lib/options/options.component.scss +19 -0
- package/src/lib/options/options.component.ts +244 -0
- package/src/lib/options/options.service.ts +30 -0
- package/src/lib/pivot.module.ts +18 -0
- package/src/lib/reports/arguments-component.ts +73 -0
- package/src/lib/reports/cube/grid-documents.component.html +25 -0
- package/src/lib/reports/cube/grid-documents.component.ts +85 -0
- package/src/lib/reports/cube/table-documents.component.css +18 -0
- package/src/lib/reports/cube/table-documents.component.html +30 -0
- package/src/lib/reports/cube/table-documents.component.ts +65 -0
- package/src/lib/reports/cube/usage-args.component.html +3 -0
- package/src/lib/reports/cube/usage-args.component.ts +57 -0
- package/src/lib/reports/cube/usage-base.ts +121 -0
- package/src/lib/reports/cube/usage-browse.component.exp.ts +93 -0
- package/src/lib/reports/cube/usage-browse.component.html +27 -0
- package/src/lib/reports/cube/usage-browse.component.scss +24 -0
- package/src/lib/reports/cube/usage-chart.component.html +11 -0
- package/src/lib/reports/cube/usage-chart.component.ts +304 -0
- package/src/lib/reports/cube/usage-pivot.component.html +19 -0
- package/src/lib/reports/cube/usage-pivot.component.ts +252 -0
- package/src/lib/reports/report-ref.ts +42 -0
- package/src/lib/reports/report-viewer.component.html +2 -0
- package/src/lib/reports/report-viewer.component.scss +12 -0
- package/src/lib/reports/report-viewer.component.ts +129 -0
- package/src/lib/reports/report.mobile.component.html +16 -0
- package/src/lib/reports/report.mobile.component.scss +7 -0
- package/src/lib/reports/report.mobile.component.ts +107 -0
- package/src/lib/reports/report.pane.component.html +8 -0
- package/src/lib/reports/report.pane.component.scss +9 -0
- package/src/lib/reports/report.pane.component.ts +78 -0
- package/src/lib/reports/reports-menu.component.html +9 -0
- package/src/lib/reports/reports-menu.component.ts +20 -0
- package/src/lib/reports/substitution/substitution.component.html +26 -0
- package/src/lib/reports/substitution/substitution.component.ts +34 -0
- package/src/lib/reports/table/table-view.component.html +8 -0
- package/src/lib/reports/table/table-view.component.scss +0 -0
- package/src/lib/reports/table/table-view.component.ts +33 -0
- package/src/lib/reports/tasks/tasks.component.html +21 -0
- package/src/lib/reports/tasks/tasks.component.ts +114 -0
- package/src/lib/reports/timeline/timeline.component.exp.ts +225 -0
- package/src/lib/reports/timeline/timeline.component.html +9 -0
- package/src/lib/routes.desktop.ts +191 -0
- package/src/lib/routes.mobile.ts +69 -0
- package/src/lib/schedule.module.ts +12 -0
- package/src/lib/scheduler/schedule.component.html +36 -0
- package/src/lib/scheduler/schedule.component.scss +13 -0
- package/src/lib/scheduler/schedule.component.ts +158 -0
- package/src/lib/scheduler/scheduler.mobile.component.ts +30 -0
- package/src/lib/scheduler/scheduler.pane.component.ts +49 -0
- package/src/lib/shared.module.ts +355 -0
- package/src/lib/spreadsheet.module.ts +17 -0
- package/src/lib/system.module.ts +77 -0
- package/src/lib/views/_views.theme.scss +11 -0
- package/src/lib/views/cube/_sum.theme.scss +59 -0
- package/src/lib/views/cube/chart.component.html +18 -0
- package/src/lib/views/cube/chart.component.ts +86 -0
- package/src/lib/views/cube/cube-base.ts +126 -0
- package/src/lib/views/cube/explore.component.html +33 -0
- package/src/lib/views/cube/explore.component.ts +77 -0
- package/src/lib/views/cube/matrix.component.html +42 -0
- package/src/lib/views/cube/matrix.component.ts +116 -0
- package/src/lib/views/cube/parallel.component.html +17 -0
- package/src/lib/views/cube/parallel.component.scss +13 -0
- package/src/lib/views/cube/parallel.component.ts +209 -0
- package/src/lib/views/cube/pivot.component.html +5 -0
- package/src/lib/views/cube/pivot.component.ts +60 -0
- package/src/lib/views/cube/sum.component.html +86 -0
- package/src/lib/views/cube/sum.component.scss +94 -0
- package/src/lib/views/cube/sum.component.ts +433 -0
- package/src/lib/views/cube/view.component.html +34 -0
- package/src/lib/views/cube/view.component.scss +12 -0
- package/src/lib/views/cube/view.component.ts +102 -0
- package/src/lib/views/document-view-ref.ts +34 -0
- package/src/lib/views/timeline/timeline.component.exp.ts +333 -0
- package/src/lib/views/timeline/timeline.component.html +6 -0
- package/src/lib/views/timeline/timeline.component.scss +6 -0
- package/src/lib/views/view-item.component.ts +67 -0
- package/src/lib/views/views.component.html +4 -0
- package/src/lib/views/views.component.scss +35 -0
- package/src/lib/views/views.component.ts +23 -0
- package/src/lib/views/views.mobile.component.ts +21 -0
- package/src/lib/views/views.pane.component.ts +31 -0
- package/src/polyfills.ts +81 -0
- package/src/public-api.ts +137 -0
- package/src/styles/_app.scss +315 -0
- package/src/styles/_emoji-mart.scss +504 -0
- package/src/styles/_syncfusion-base-definitions.scss +64 -0
- package/src/styles/_syncfusion-dark-definitions.scss +23 -0
- package/src/styles/_syncfusion-icons.scss +57 -0
- package/src/styles/_syncfusion-light-definitions.scss +23 -0
- package/src/styles/_syncfusion.scss +22 -0
- package/src/styles/brown.css +25532 -0
- package/src/styles/brown.css.map +1 -0
- package/src/styles/brown.min.css +83 -0
- package/src/styles/brown.scss +14 -0
- package/src/styles/build.ps1 +21 -0
- package/src/styles/dark.css +25582 -0
- package/src/styles/dark.css.map +1 -0
- package/src/styles/dark.min.css +78 -0
- package/src/styles/dark.scss +26 -0
- package/src/styles/default.css +30068 -0
- package/src/styles/default.css.map +1 -0
- package/src/styles/default.min.css +90 -0
- package/src/styles/default.scss +30 -0
- package/src/styles/diagram-icons.eot +0 -0
- package/src/styles/diagram-icons.ttf +0 -0
- package/src/styles/green.css +25532 -0
- package/src/styles/green.css.map +1 -0
- package/src/styles/green.min.css +83 -0
- package/src/styles/green.scss +14 -0
- package/src/styles/indigo.css +25532 -0
- package/src/styles/indigo.css.map +1 -0
- package/src/styles/indigo.min.css +83 -0
- package/src/styles/indigo.scss +15 -0
- package/src/test.ts +26 -0
- package/tsconfig.lib.json +25 -0
- package/tsconfig.lib.prod.json +10 -0
- package/tsconfig.spec.json +18 -0
- package/bizdoc-core.d.ts +0 -5
- package/bundles/bizdoc-core.umd.js +0 -29840
- package/bundles/bizdoc-core.umd.js.map +0 -1
- package/esm2015/bizdoc-core.js +0 -5
- package/esm2015/lib/admin/admin-dismiss.service.js +0 -22
- package/esm2015/lib/admin/admin-menu.component.js +0 -30
- package/esm2015/lib/admin/core/ace.input.js +0 -147
- package/esm2015/lib/admin/core/color-picker.input.js +0 -214
- package/esm2015/lib/admin/core/search.input.js +0 -43
- package/esm2015/lib/admin/diff/configuration-diff.component.js +0 -559
- package/esm2015/lib/admin/document-trace/Timeline.js +0 -2
- package/esm2015/lib/admin/document-trace/document-trace.component.js +0 -464
- package/esm2015/lib/admin/document-trace/reassign.dialog.js +0 -42
- package/esm2015/lib/admin/document-trace/trace-element.component.js +0 -113
- package/esm2015/lib/admin/form/form.resolve.service.js +0 -17
- package/esm2015/lib/admin/form/form.service.js +0 -26
- package/esm2015/lib/admin/form/workflow/node-ref.js +0 -8
- package/esm2015/lib/admin/form/workflow/node.component.js +0 -130
- package/esm2015/lib/admin/form/workflow/role-node.component.js +0 -91
- package/esm2015/lib/admin/form/workflow/workflow.component.js +0 -403
- package/esm2015/lib/admin/indices/manage-cube-index.component.js +0 -164
- package/esm2015/lib/admin/patterns/patterns.component.js +0 -181
- package/esm2015/lib/admin/permissions/permissions.component.js +0 -100
- package/esm2015/lib/admin/positions/positions-popup.component.js +0 -77
- package/esm2015/lib/admin/positions/positions.component.js +0 -285
- package/esm2015/lib/admin/profiler/profiler.component.js +0 -263
- package/esm2015/lib/admin/utility-ref.js +0 -38
- package/esm2015/lib/admin/utility-wrapper.component.js +0 -51
- package/esm2015/lib/admin/utility.pane.component.js +0 -51
- package/esm2015/lib/app.component.js +0 -89
- package/esm2015/lib/bizdoc.module.js +0 -109
- package/esm2015/lib/browse/browse-items.component.js +0 -448
- package/esm2015/lib/browse/browse.mobile.component.js +0 -103
- package/esm2015/lib/browse/browse.pane.component.js +0 -148
- package/esm2015/lib/browse/expanded-item/expanded-item.component.js +0 -281
- package/esm2015/lib/browse/filter/filter.component.js +0 -152
- package/esm2015/lib/browse/folders-menu.component.js +0 -56
- package/esm2015/lib/chart.module.js +0 -35
- package/esm2015/lib/chat/chat-info.js +0 -67
- package/esm2015/lib/chat/chat.mobile.component.js +0 -30
- package/esm2015/lib/chat/chat.service.js +0 -122
- package/esm2015/lib/chat/contacts.component.js +0 -106
- package/esm2015/lib/chat/contacts.pane.component.js +0 -29
- package/esm2015/lib/chat/conversation.component.js +0 -195
- package/esm2015/lib/chat/conversation.pane.component.js +0 -43
- package/esm2015/lib/circular-gauge.module.js +0 -17
- package/esm2015/lib/compose/action/action-picker.component.js +0 -115
- package/esm2015/lib/compose/action/action-ref.js +0 -19
- package/esm2015/lib/compose/action/action.dialog.js +0 -64
- package/esm2015/lib/compose/action/action.pane.dialog.js +0 -64
- package/esm2015/lib/compose/action/assign-action.component.js +0 -58
- package/esm2015/lib/compose/action/return-action.component.js +0 -48
- package/esm2015/lib/compose/attachments/attachments.component.js +0 -125
- package/esm2015/lib/compose/attachments/preview/attachment-preview.component.js +0 -164
- package/esm2015/lib/compose/attachments/progress-button.directive.js +0 -25
- package/esm2015/lib/compose/can-deactivate-changes.service.js +0 -27
- package/esm2015/lib/compose/comments/Comments.pane.component.js +0 -49
- package/esm2015/lib/compose/comments/comment.component.js +0 -189
- package/esm2015/lib/compose/comments/comments.component.js +0 -232
- package/esm2015/lib/compose/comments/edit-comment.component.js +0 -35
- package/esm2015/lib/compose/comments/edits.component.js +0 -34
- package/esm2015/lib/compose/comments/quick-comment.component.exp.js +0 -67
- package/esm2015/lib/compose/comments/votes.component.js +0 -45
- package/esm2015/lib/compose/compose-resolve.service.js +0 -55
- package/esm2015/lib/compose/compose.mobile.component.js +0 -100
- package/esm2015/lib/compose/compose.pane.component.js +0 -201
- package/esm2015/lib/compose/copy/copy.dialog.js +0 -49
- package/esm2015/lib/compose/dismiss.service.js +0 -25
- package/esm2015/lib/compose/document-resolver.service.js +0 -17
- package/esm2015/lib/compose/document.component.js +0 -50
- package/esm2015/lib/compose/document.mobile.component.js +0 -22
- package/esm2015/lib/compose/document.pane.component.js +0 -26
- package/esm2015/lib/compose/events/events.component.js +0 -33
- package/esm2015/lib/compose/form-ref.js +0 -47
- package/esm2015/lib/compose/form-selector/form-selector.sheet.js +0 -85
- package/esm2015/lib/compose/form.component.js +0 -412
- package/esm2015/lib/compose/new-menu.component.js +0 -109
- package/esm2015/lib/compose/privilage.directive.js +0 -64
- package/esm2015/lib/compose/recipient-resolver.service.js +0 -18
- package/esm2015/lib/compose/save-changes.dialog.js +0 -18
- package/esm2015/lib/compose/state.component.js +0 -37
- package/esm2015/lib/compose/tag/tags.component.js +0 -94
- package/esm2015/lib/compose/trace/flow.component.js +0 -605
- package/esm2015/lib/compose/trace/people.component.js +0 -34
- package/esm2015/lib/compose/trace/trace.base.js +0 -70
- package/esm2015/lib/compose/trace/trace.component.js +0 -259
- package/esm2015/lib/compose/trace/trace.pane.component.js +0 -52
- package/esm2015/lib/compose/version-compare/version-compare.component.js +0 -55
- package/esm2015/lib/compose/version-compare/version-compare.directive.js +0 -344
- package/esm2015/lib/compose/version-compare/version.pane.component.js +0 -56
- package/esm2015/lib/core/NgComponentOutlet.js +0 -38
- package/esm2015/lib/core/account.service.js +0 -34
- package/esm2015/lib/core/animated-icon/animated-icon.directive.js +0 -17
- package/esm2015/lib/core/animations.js +0 -150
- package/esm2015/lib/core/authentication.js +0 -3
- package/esm2015/lib/core/avatar/avatar.component.js +0 -106
- package/esm2015/lib/core/base.js +0 -2
- package/esm2015/lib/core/colors.js +0 -322
- package/esm2015/lib/core/component-factory-resolver.js +0 -57
- package/esm2015/lib/core/configuration.js +0 -16
- package/esm2015/lib/core/controls/address.input.js +0 -189
- package/esm2015/lib/core/controls/auto-complete.input.js +0 -256
- package/esm2015/lib/core/controls/combination-picker-body.js +0 -172
- package/esm2015/lib/core/controls/combination-picker.js +0 -283
- package/esm2015/lib/core/controls/combination-pool.js +0 -113
- package/esm2015/lib/core/controls/select.input.js +0 -235
- package/esm2015/lib/core/controls/time-picker.js +0 -201
- package/esm2015/lib/core/controls/timespan.input.js +0 -207
- package/esm2015/lib/core/datasource.service.js +0 -63
- package/esm2015/lib/core/decorators.js +0 -46
- package/esm2015/lib/core/firebase.service.js +0 -53
- package/esm2015/lib/core/functions.js +0 -190
- package/esm2015/lib/core/guide/guide.component.js +0 -222
- package/esm2015/lib/core/guide/guide.service.js +0 -107
- package/esm2015/lib/core/http.interceptor.js +0 -79
- package/esm2015/lib/core/hub.service.js +0 -110
- package/esm2015/lib/core/identity/identity.component.js +0 -70
- package/esm2015/lib/core/info/attachment-info.service.js +0 -53
- package/esm2015/lib/core/info/document-info.service.js +0 -21
- package/esm2015/lib/core/info/location-info.component.js +0 -66
- package/esm2015/lib/core/info/map-info.js +0 -40
- package/esm2015/lib/core/layout/autocomplete.field.js +0 -60
- package/esm2015/lib/core/layout/checkbox.field.js +0 -41
- package/esm2015/lib/core/layout/date-range.field.js +0 -53
- package/esm2015/lib/core/layout/date.field.js +0 -52
- package/esm2015/lib/core/layout/expression.field.js +0 -51
- package/esm2015/lib/core/layout/html.field.js +0 -48
- package/esm2015/lib/core/layout/input.base.js +0 -11
- package/esm2015/lib/core/layout/input.field.js +0 -64
- package/esm2015/lib/core/layout/layout.component.js +0 -186
- package/esm2015/lib/core/layout/numeric.field.js +0 -47
- package/esm2015/lib/core/layout/select.field.js +0 -82
- package/esm2015/lib/core/layout/switch.field.js +0 -41
- package/esm2015/lib/core/layout/textarea.field.js +0 -42
- package/esm2015/lib/core/layout/timespan.field.js +0 -50
- package/esm2015/lib/core/lottie-animation.js +0 -46
- package/esm2015/lib/core/mailbox.service.js +0 -265
- package/esm2015/lib/core/models.js +0 -38
- package/esm2015/lib/core/none.component.js +0 -45
- package/esm2015/lib/core/pipes/action.pipe.js +0 -25
- package/esm2015/lib/core/pipes/daterange.pipe.js +0 -62
- package/esm2015/lib/core/pipes/duration.pipe.js +0 -47
- package/esm2015/lib/core/pipes/form.pipe.js +0 -25
- package/esm2015/lib/core/pipes/join.pipe.js +0 -18
- package/esm2015/lib/core/pipes/role.pipe.js +0 -25
- package/esm2015/lib/core/pipes/sanitize-html.pipe.js +0 -18
- package/esm2015/lib/core/pipes/sort.pipe.js +0 -48
- package/esm2015/lib/core/pipes/state.pipe.js +0 -25
- package/esm2015/lib/core/pipes/translate.pipe.js +0 -23
- package/esm2015/lib/core/pipes/type-value.pipe.js +0 -42
- package/esm2015/lib/core/pipes/user-name.pipe.js +0 -21
- package/esm2015/lib/core/popup/popup-ref.js +0 -20
- package/esm2015/lib/core/popup/popup.component.js +0 -40
- package/esm2015/lib/core/popup/popup.service.js +0 -155
- package/esm2015/lib/core/popup/tooltip.directive.js +0 -71
- package/esm2015/lib/core/prompt/ask/ask.dialog.js +0 -32
- package/esm2015/lib/core/prompt/mask/mask.component.js +0 -25
- package/esm2015/lib/core/prompt.service.js +0 -84
- package/esm2015/lib/core/router.js +0 -35
- package/esm2015/lib/core/session.service.js +0 -233
- package/esm2015/lib/core/slots/pane-ref.js +0 -117
- package/esm2015/lib/core/slots/router.directive.js +0 -70
- package/esm2015/lib/core/slots/router.service.js +0 -42
- package/esm2015/lib/core/slots/slots.component.js +0 -1047
- package/esm2015/lib/core/tagging/documents.component.js +0 -28
- package/esm2015/lib/core/tagging/edit-input.component.js +0 -236
- package/esm2015/lib/core/tagging/emoji.component.js +0 -35
- package/esm2015/lib/core/tagging/tagging-item.directive.js +0 -39
- package/esm2015/lib/core/tagging/tagging.component-base.js +0 -29
- package/esm2015/lib/core/tagging/tagging.directive.js +0 -136
- package/esm2015/lib/core/tagging/tagging.pipe.js +0 -72
- package/esm2015/lib/core/tagging/users.component.js +0 -35
- package/esm2015/lib/core/translate.service.js +0 -1213
- package/esm2015/lib/core/window-title.service.js +0 -53
- package/esm2015/lib/cube/accum/accum.component.js +0 -190
- package/esm2015/lib/cube/chart/chart.component.js +0 -261
- package/esm2015/lib/cube/cube-info.service.js +0 -100
- package/esm2015/lib/cube/cube-menu.component.js +0 -31
- package/esm2015/lib/cube/cube-view.component.js +0 -173
- package/esm2015/lib/cube/cube.service.js +0 -343
- package/esm2015/lib/cube/declarations.js +0 -2
- package/esm2015/lib/cube/explore/document-item.component.js +0 -38
- package/esm2015/lib/cube/explore/explore-item.component.js +0 -31
- package/esm2015/lib/cube/explore/explore-items.component.js +0 -160
- package/esm2015/lib/cube/explore/explore.pane.component.js +0 -75
- package/esm2015/lib/cube/explore/item-resolver.service.js +0 -32
- package/esm2015/lib/cube/explore/item.pane.component.js +0 -26
- package/esm2015/lib/cube/filter/filter-tags.component.exp.js +0 -68
- package/esm2015/lib/cube/filter/filter.component.js +0 -122
- package/esm2015/lib/cube/grid/grid.component.js +0 -219
- package/esm2015/lib/cube/grid/spreadsheet.component.js +0 -255
- package/esm2015/lib/cube/matrix/matrix.base.js +0 -130
- package/esm2015/lib/cube/matrix/matrix.component.js +0 -69
- package/esm2015/lib/cube/matrix/matrix.mobile.component.js +0 -63
- package/esm2015/lib/cube/matrix/matrix.pane.component.js +0 -71
- package/esm2015/lib/cube/matrix/table.component.js +0 -313
- package/esm2015/lib/cube/pivot/pivot.component.js +0 -407
- package/esm2015/lib/cube/view-base.js +0 -76
- package/esm2015/lib/cube/view.mobile.component.js +0 -127
- package/esm2015/lib/cube/view.pane.component.js +0 -86
- package/esm2015/lib/dashboard/actions/actions.widget.js +0 -126
- package/esm2015/lib/dashboard/cube/accum-cube.widget.js +0 -146
- package/esm2015/lib/dashboard/cube/cube-analysis.base.js +0 -90
- package/esm2015/lib/dashboard/cube/cube-analysis.widget.js +0 -51
- package/esm2015/lib/dashboard/cube/cube-chart.widget.js +0 -144
- package/esm2015/lib/dashboard/cube/documents.widget.js +0 -68
- package/esm2015/lib/dashboard/cube/filter/filter.component.js +0 -57
- package/esm2015/lib/dashboard/dashboard.component.js +0 -52
- package/esm2015/lib/dashboard/dashboard.pane.component.js +0 -24
- package/esm2015/lib/dashboard/recents/recents.widget.js +0 -86
- package/esm2015/lib/dashboard/score/activity.widget.js +0 -165
- package/esm2015/lib/dashboard/score/compare-departments.widget.js +0 -198
- package/esm2015/lib/dashboard/score/peers-performance.widget.js +0 -253
- package/esm2015/lib/dashboard/score/pending-results.widget.js +0 -69
- package/esm2015/lib/dashboard/score/personal-score.widget.js +0 -219
- package/esm2015/lib/dashboard/widget-item.component.js +0 -89
- package/esm2015/lib/dashboard/widget-ref.js +0 -18
- package/esm2015/lib/desktop.module.js +0 -142
- package/esm2015/lib/diagram.module.js +0 -34
- package/esm2015/lib/grid.module.js +0 -23
- package/esm2015/lib/home/about/about.dialog.js +0 -29
- package/esm2015/lib/home/home-base.component.js +0 -86
- package/esm2015/lib/home/home.desktop.component.js +0 -201
- package/esm2015/lib/home/home.mobile.component.js +0 -120
- package/esm2015/lib/home/notifications/notifications.component.js +0 -70
- package/esm2015/lib/home/options/options.component.js +0 -98
- package/esm2015/lib/home/outofoffice/outofoffice.component.js +0 -42
- package/esm2015/lib/home/search.service.js +0 -63
- package/esm2015/lib/home/sign/sign.component.js +0 -56
- package/esm2015/lib/home/tools.component.js +0 -87
- package/esm2015/lib/impersonate/impersonate.component.js +0 -69
- package/esm2015/lib/linear-gauge.module.js +0 -17
- package/esm2015/lib/material.module.js +0 -182
- package/esm2015/lib/mobile.module.js +0 -63
- package/esm2015/lib/notifications/commented.notification.js +0 -53
- package/esm2015/lib/notifications/cube-anomaly.notification.js +0 -58
- package/esm2015/lib/notifications/escalated.notification.js +0 -33
- package/esm2015/lib/notifications/filter.component.js +0 -28
- package/esm2015/lib/notifications/liked.notification.js +0 -50
- package/esm2015/lib/notifications/long-running-task.notification.js +0 -31
- package/esm2015/lib/notifications/notification-base.js +0 -40
- package/esm2015/lib/notifications/notifications-table.component.js +0 -110
- package/esm2015/lib/notifications/notifications.component-base.js +0 -47
- package/esm2015/lib/notifications/notifications.mobile.component.js +0 -20
- package/esm2015/lib/notifications/notifications.pane.component.js +0 -23
- package/esm2015/lib/notifications/notifications.service.js +0 -71
- package/esm2015/lib/notifications/nudge.notification.js +0 -31
- package/esm2015/lib/notifications/state-changed.notification.js +0 -30
- package/esm2015/lib/notifications/tagged.notification.js +0 -43
- package/esm2015/lib/notifications/text.notification.js +0 -20
- package/esm2015/lib/notifications/upcoming-event.notification.js +0 -36
- package/esm2015/lib/options/options.component.js +0 -231
- package/esm2015/lib/options/options.service.js +0 -38
- package/esm2015/lib/pivot.module.js +0 -24
- package/esm2015/lib/reports/arguments-component.js +0 -83
- package/esm2015/lib/reports/cube/grid-documents.component.js +0 -82
- package/esm2015/lib/reports/cube/table-documents.component.js +0 -68
- package/esm2015/lib/reports/cube/usage-args.component.js +0 -65
- package/esm2015/lib/reports/cube/usage-base.js +0 -82
- package/esm2015/lib/reports/cube/usage-chart.component.js +0 -294
- package/esm2015/lib/reports/cube/usage-pivot.component.js +0 -243
- package/esm2015/lib/reports/report-ref.js +0 -31
- package/esm2015/lib/reports/report-viewer.component.js +0 -132
- package/esm2015/lib/reports/report.mobile.component.js +0 -124
- package/esm2015/lib/reports/report.pane.component.js +0 -93
- package/esm2015/lib/reports/reports-menu.component.js +0 -30
- package/esm2015/lib/reports/substitution/substitution.component.js +0 -43
- package/esm2015/lib/reports/table/table-view.component.js +0 -46
- package/esm2015/lib/reports/tasks/tasks.component.js +0 -97
- package/esm2015/lib/routes.desktop.js +0 -192
- package/esm2015/lib/routes.mobile.js +0 -69
- package/esm2015/lib/schedule.module.js +0 -21
- package/esm2015/lib/scheduler/schedule.component.js +0 -173
- package/esm2015/lib/scheduler/scheduler.mobile.component.js +0 -37
- package/esm2015/lib/scheduler/scheduler.pane.component.js +0 -53
- package/esm2015/lib/shared.module.js +0 -497
- package/esm2015/lib/spreadsheet.module.js +0 -28
- package/esm2015/lib/system.module.js +0 -114
- package/esm2015/lib/views/cube/chart.component.js +0 -77
- package/esm2015/lib/views/cube/cube-base.js +0 -101
- package/esm2015/lib/views/cube/explore.component.js +0 -82
- package/esm2015/lib/views/cube/matrix.component.js +0 -102
- package/esm2015/lib/views/cube/parallel.component.js +0 -196
- package/esm2015/lib/views/cube/pivot.component.js +0 -53
- package/esm2015/lib/views/cube/sum.component.js +0 -430
- package/esm2015/lib/views/cube/view.component.js +0 -103
- package/esm2015/lib/views/document-view-ref.js +0 -27
- package/esm2015/lib/views/timeline/timeline.component.exp.js +0 -319
- package/esm2015/lib/views/view-item.component.js +0 -70
- package/esm2015/lib/views/views.component.js +0 -29
- package/esm2015/lib/views/views.mobile.component.js +0 -24
- package/esm2015/lib/views/views.pane.component.js +0 -31
- package/esm2015/public-api.js +0 -132
- package/fesm2015/bizdoc-core.js +0 -27478
- package/fesm2015/bizdoc-core.js.map +0 -1
- package/lib/admin/admin-dismiss.service.d.ts +0 -14
- package/lib/admin/admin-menu.component.d.ts +0 -12
- package/lib/admin/core/ace.input.d.ts +0 -52
- package/lib/admin/core/color-picker.input.d.ts +0 -64
- package/lib/admin/core/search.input.d.ts +0 -13
- package/lib/admin/diff/configuration-diff.component.d.ts +0 -115
- package/lib/admin/document-trace/Timeline.d.ts +0 -37
- package/lib/admin/document-trace/document-trace.component.d.ts +0 -83
- package/lib/admin/document-trace/reassign.dialog.d.ts +0 -22
- package/lib/admin/document-trace/trace-element.component.d.ts +0 -38
- package/lib/admin/form/form.resolve.service.d.ts +0 -12
- package/lib/admin/form/form.service.d.ts +0 -13
- package/lib/admin/form/workflow/node-ref.d.ts +0 -7
- package/lib/admin/form/workflow/node.component.d.ts +0 -37
- package/lib/admin/form/workflow/role-node.component.d.ts +0 -22
- package/lib/admin/form/workflow/workflow.component.d.ts +0 -73
- package/lib/admin/indices/manage-cube-index.component.d.ts +0 -54
- package/lib/admin/patterns/patterns.component.d.ts +0 -79
- package/lib/admin/permissions/permissions.component.d.ts +0 -45
- package/lib/admin/positions/positions-popup.component.d.ts +0 -39
- package/lib/admin/positions/positions.component.d.ts +0 -105
- package/lib/admin/profiler/profiler.component.d.ts +0 -108
- package/lib/admin/utility-ref.d.ts +0 -19
- package/lib/admin/utility-wrapper.component.d.ts +0 -28
- package/lib/admin/utility.pane.component.d.ts +0 -24
- package/lib/app.component.d.ts +0 -22
- package/lib/bizdoc.module.d.ts +0 -19
- package/lib/browse/browse-items.component.d.ts +0 -102
- package/lib/browse/browse.mobile.component.d.ts +0 -38
- package/lib/browse/browse.pane.component.d.ts +0 -47
- package/lib/browse/expanded-item/expanded-item.component.d.ts +0 -66
- package/lib/browse/filter/filter.component.d.ts +0 -69
- package/lib/browse/folders-menu.component.d.ts +0 -22
- package/lib/chart.module.d.ts +0 -7
- package/lib/chat/chat-info.d.ts +0 -36
- package/lib/chat/chat.mobile.component.d.ts +0 -10
- package/lib/chat/chat.service.d.ts +0 -38
- package/lib/chat/contacts.component.d.ts +0 -38
- package/lib/chat/contacts.pane.component.d.ts +0 -12
- package/lib/chat/conversation.component.d.ts +0 -56
- package/lib/chat/conversation.pane.component.d.ts +0 -15
- package/lib/circular-gauge.module.d.ts +0 -7
- package/lib/compose/action/action-picker.component.d.ts +0 -25
- package/lib/compose/action/action-ref.d.ts +0 -10
- package/lib/compose/action/action.dialog.d.ts +0 -29
- package/lib/compose/action/action.pane.dialog.d.ts +0 -26
- package/lib/compose/action/assign-action.component.d.ts +0 -22
- package/lib/compose/action/return-action.component.d.ts +0 -15
- package/lib/compose/attachments/attachments.component.d.ts +0 -35
- package/lib/compose/attachments/preview/attachment-preview.component.d.ts +0 -48
- package/lib/compose/attachments/progress-button.directive.d.ts +0 -12
- package/lib/compose/can-deactivate-changes.service.d.ts +0 -12
- package/lib/compose/comments/Comments.pane.component.d.ts +0 -18
- package/lib/compose/comments/comment.component.d.ts +0 -51
- package/lib/compose/comments/comments.component.d.ts +0 -66
- package/lib/compose/comments/edit-comment.component.d.ts +0 -25
- package/lib/compose/comments/edits.component.d.ts +0 -26
- package/lib/compose/comments/quick-comment.component.exp.d.ts +0 -28
- package/lib/compose/comments/votes.component.d.ts +0 -22
- package/lib/compose/compose-resolve.service.d.ts +0 -27
- package/lib/compose/compose.mobile.component.d.ts +0 -40
- package/lib/compose/compose.pane.component.d.ts +0 -54
- package/lib/compose/copy/copy.dialog.d.ts +0 -23
- package/lib/compose/dismiss.service.d.ts +0 -12
- package/lib/compose/document-resolver.service.d.ts +0 -12
- package/lib/compose/document.component.d.ts +0 -20
- package/lib/compose/document.mobile.component.d.ts +0 -10
- package/lib/compose/document.pane.component.d.ts +0 -12
- package/lib/compose/events/events.component.d.ts +0 -13
- package/lib/compose/form-ref.d.ts +0 -32
- package/lib/compose/form-selector/form-selector.sheet.d.ts +0 -28
- package/lib/compose/form.component.d.ts +0 -92
- package/lib/compose/new-menu.component.d.ts +0 -36
- package/lib/compose/privilage.directive.d.ts +0 -26
- package/lib/compose/recipient-resolver.service.d.ts +0 -12
- package/lib/compose/save-changes.dialog.d.ts +0 -7
- package/lib/compose/state.component.d.ts +0 -12
- package/lib/compose/tag/tags.component.d.ts +0 -36
- package/lib/compose/trace/flow.component.d.ts +0 -64
- package/lib/compose/trace/people.component.d.ts +0 -18
- package/lib/compose/trace/trace.base.d.ts +0 -25
- package/lib/compose/trace/trace.component.d.ts +0 -73
- package/lib/compose/trace/trace.pane.component.d.ts +0 -20
- package/lib/compose/version-compare/version-compare.component.d.ts +0 -26
- package/lib/compose/version-compare/version-compare.directive.d.ts +0 -89
- package/lib/compose/version-compare/version.pane.component.d.ts +0 -21
- package/lib/core/NgComponentOutlet.d.ts +0 -15
- package/lib/core/account.service.d.ts +0 -18
- package/lib/core/animated-icon/animated-icon.directive.d.ts +0 -7
- package/lib/core/animations.d.ts +0 -25
- package/lib/core/authentication.d.ts +0 -6
- package/lib/core/avatar/avatar.component.d.ts +0 -34
- package/lib/core/base.d.ts +0 -27
- package/lib/core/colors.d.ts +0 -6
- package/lib/core/component-factory-resolver.d.ts +0 -12
- package/lib/core/configuration.d.ts +0 -90
- package/lib/core/controls/address.input.d.ts +0 -62
- package/lib/core/controls/auto-complete.input.d.ts +0 -86
- package/lib/core/controls/combination-picker-body.d.ts +0 -114
- package/lib/core/controls/combination-picker.d.ts +0 -82
- package/lib/core/controls/combination-pool.d.ts +0 -42
- package/lib/core/controls/select.input.d.ts +0 -82
- package/lib/core/controls/time-picker.d.ts +0 -52
- package/lib/core/controls/timespan.input.d.ts +0 -55
- package/lib/core/datasource.service.d.ts +0 -43
- package/lib/core/decorators.d.ts +0 -17
- package/lib/core/firebase.service.d.ts +0 -17
- package/lib/core/functions.d.ts +0 -42
- package/lib/core/guide/guide.component.d.ts +0 -31
- package/lib/core/guide/guide.service.d.ts +0 -32
- package/lib/core/http.interceptor.d.ts +0 -21
- package/lib/core/hub.service.d.ts +0 -128
- package/lib/core/identity/identity.component.d.ts +0 -29
- package/lib/core/info/attachment-info.service.d.ts +0 -18
- package/lib/core/info/document-info.service.d.ts +0 -13
- package/lib/core/info/location-info.component.d.ts +0 -28
- package/lib/core/info/map-info.d.ts +0 -15
- package/lib/core/layout/autocomplete.field.d.ts +0 -21
- package/lib/core/layout/checkbox.field.d.ts +0 -11
- package/lib/core/layout/date-range.field.d.ts +0 -13
- package/lib/core/layout/date.field.d.ts +0 -11
- package/lib/core/layout/expression.field.d.ts +0 -12
- package/lib/core/layout/html.field.d.ts +0 -12
- package/lib/core/layout/input.base.d.ts +0 -10
- package/lib/core/layout/input.field.d.ts +0 -14
- package/lib/core/layout/layout.component.d.ts +0 -34
- package/lib/core/layout/numeric.field.d.ts +0 -11
- package/lib/core/layout/select.field.d.ts +0 -22
- package/lib/core/layout/switch.field.d.ts +0 -11
- package/lib/core/layout/textarea.field.d.ts +0 -11
- package/lib/core/layout/timespan.field.d.ts +0 -11
- package/lib/core/lottie-animation.d.ts +0 -14
- package/lib/core/mailbox.service.d.ts +0 -121
- package/lib/core/models.d.ts +0 -635
- package/lib/core/none.component.d.ts +0 -9
- package/lib/core/pipes/action.pipe.d.ts +0 -10
- package/lib/core/pipes/daterange.pipe.d.ts +0 -15
- package/lib/core/pipes/duration.pipe.d.ts +0 -11
- package/lib/core/pipes/form.pipe.d.ts +0 -10
- package/lib/core/pipes/join.pipe.d.ts +0 -10
- package/lib/core/pipes/role.pipe.d.ts +0 -10
- package/lib/core/pipes/sanitize-html.pipe.d.ts +0 -10
- package/lib/core/pipes/sort.pipe.d.ts +0 -12
- package/lib/core/pipes/state.pipe.d.ts +0 -10
- package/lib/core/pipes/translate.pipe.d.ts +0 -10
- package/lib/core/pipes/type-value.pipe.d.ts +0 -15
- package/lib/core/pipes/user-name.pipe.d.ts +0 -11
- package/lib/core/popup/popup-ref.d.ts +0 -14
- package/lib/core/popup/popup.component.d.ts +0 -22
- package/lib/core/popup/popup.service.d.ts +0 -26
- package/lib/core/popup/tooltip.directive.d.ts +0 -27
- package/lib/core/prompt/ask/ask.dialog.d.ts +0 -22
- package/lib/core/prompt/mask/mask.component.d.ts +0 -10
- package/lib/core/prompt.service.d.ts +0 -36
- package/lib/core/router.d.ts +0 -20
- package/lib/core/session.service.d.ts +0 -83
- package/lib/core/slots/pane-ref.d.ts +0 -109
- package/lib/core/slots/router.directive.d.ts +0 -25
- package/lib/core/slots/router.service.d.ts +0 -39
- package/lib/core/slots/slots.component.d.ts +0 -182
- package/lib/core/tagging/documents.component.d.ts +0 -11
- package/lib/core/tagging/edit-input.component.d.ts +0 -65
- package/lib/core/tagging/emoji.component.d.ts +0 -18
- package/lib/core/tagging/tagging-item.directive.d.ts +0 -15
- package/lib/core/tagging/tagging.component-base.d.ts +0 -19
- package/lib/core/tagging/tagging.directive.d.ts +0 -34
- package/lib/core/tagging/tagging.pipe.d.ts +0 -24
- package/lib/core/tagging/users.component.d.ts +0 -15
- package/lib/core/translate.service.d.ts +0 -82
- package/lib/core/window-title.service.d.ts +0 -21
- package/lib/cube/accum/accum.component.d.ts +0 -57
- package/lib/cube/chart/chart.component.d.ts +0 -68
- package/lib/cube/cube-info.service.d.ts +0 -71
- package/lib/cube/cube-menu.component.d.ts +0 -12
- package/lib/cube/cube-view.component.d.ts +0 -30
- package/lib/cube/cube.service.d.ts +0 -244
- package/lib/cube/declarations.d.ts +0 -22
- package/lib/cube/explore/document-item.component.d.ts +0 -16
- package/lib/cube/explore/explore-item.component.d.ts +0 -14
- package/lib/cube/explore/explore-items.component.d.ts +0 -54
- package/lib/cube/explore/explore.pane.component.d.ts +0 -28
- package/lib/cube/explore/item-resolver.service.d.ts +0 -20
- package/lib/cube/explore/item.pane.component.d.ts +0 -13
- package/lib/cube/filter/filter-tags.component.exp.d.ts +0 -27
- package/lib/cube/filter/filter.component.d.ts +0 -43
- package/lib/cube/grid/grid.component.d.ts +0 -58
- package/lib/cube/grid/spreadsheet.component.d.ts +0 -53
- package/lib/cube/matrix/matrix.base.d.ts +0 -75
- package/lib/cube/matrix/matrix.component.d.ts +0 -23
- package/lib/cube/matrix/matrix.mobile.component.d.ts +0 -21
- package/lib/cube/matrix/matrix.pane.component.d.ts +0 -20
- package/lib/cube/matrix/table.component.d.ts +0 -84
- package/lib/cube/pivot/pivot.component.d.ts +0 -98
- package/lib/cube/view-base.d.ts +0 -39
- package/lib/cube/view.mobile.component.d.ts +0 -45
- package/lib/cube/view.pane.component.d.ts +0 -27
- package/lib/dashboard/actions/actions.widget.d.ts +0 -39
- package/lib/dashboard/cube/accum-cube.widget.d.ts +0 -33
- package/lib/dashboard/cube/cube-analysis.base.d.ts +0 -62
- package/lib/dashboard/cube/cube-analysis.widget.d.ts +0 -17
- package/lib/dashboard/cube/cube-chart.widget.d.ts +0 -32
- package/lib/dashboard/cube/documents.widget.d.ts +0 -30
- package/lib/dashboard/cube/filter/filter.component.d.ts +0 -22
- package/lib/dashboard/dashboard.component.d.ts +0 -20
- package/lib/dashboard/dashboard.pane.component.d.ts +0 -8
- package/lib/dashboard/recents/recents.widget.d.ts +0 -34
- package/lib/dashboard/score/activity.widget.d.ts +0 -50
- package/lib/dashboard/score/compare-departments.widget.d.ts +0 -51
- package/lib/dashboard/score/peers-performance.widget.d.ts +0 -65
- package/lib/dashboard/score/pending-results.widget.d.ts +0 -28
- package/lib/dashboard/score/personal-score.widget.d.ts +0 -57
- package/lib/dashboard/widget-item.component.d.ts +0 -31
- package/lib/dashboard/widget-ref.d.ts +0 -11
- package/lib/desktop.module.d.ts +0 -43
- package/lib/diagram.module.d.ts +0 -8
- package/lib/grid.module.d.ts +0 -7
- package/lib/home/about/about.dialog.d.ts +0 -13
- package/lib/home/home-base.component.d.ts +0 -32
- package/lib/home/home.desktop.component.d.ts +0 -55
- package/lib/home/home.mobile.component.d.ts +0 -38
- package/lib/home/notifications/notifications.component.d.ts +0 -28
- package/lib/home/options/options.component.d.ts +0 -44
- package/lib/home/outofoffice/outofoffice.component.d.ts +0 -19
- package/lib/home/search.service.d.ts +0 -21
- package/lib/home/sign/sign.component.d.ts +0 -17
- package/lib/home/tools.component.d.ts +0 -36
- package/lib/impersonate/impersonate.component.d.ts +0 -27
- package/lib/linear-gauge.module.d.ts +0 -7
- package/lib/material.module.d.ts +0 -45
- package/lib/mobile.module.d.ts +0 -26
- package/lib/notifications/commented.notification.d.ts +0 -26
- package/lib/notifications/cube-anomaly.notification.d.ts +0 -28
- package/lib/notifications/escalated.notification.d.ts +0 -26
- package/lib/notifications/filter.component.d.ts +0 -9
- package/lib/notifications/liked.notification.d.ts +0 -25
- package/lib/notifications/long-running-task.notification.d.ts +0 -21
- package/lib/notifications/notification-base.d.ts +0 -20
- package/lib/notifications/notifications-table.component.d.ts +0 -32
- package/lib/notifications/notifications.component-base.d.ts +0 -8
- package/lib/notifications/notifications.mobile.component.d.ts +0 -8
- package/lib/notifications/notifications.pane.component.d.ts +0 -8
- package/lib/notifications/notifications.service.d.ts +0 -24
- package/lib/notifications/nudge.notification.d.ts +0 -22
- package/lib/notifications/state-changed.notification.d.ts +0 -22
- package/lib/notifications/tagged.notification.d.ts +0 -26
- package/lib/notifications/text.notification.d.ts +0 -13
- package/lib/notifications/upcoming-event.notification.d.ts +0 -19
- package/lib/options/options.component.d.ts +0 -67
- package/lib/options/options.service.d.ts +0 -14
- package/lib/pivot.module.d.ts +0 -7
- package/lib/reports/arguments-component.d.ts +0 -27
- package/lib/reports/cube/grid-documents.component.d.ts +0 -45
- package/lib/reports/cube/table-documents.component.d.ts +0 -44
- package/lib/reports/cube/usage-args.component.d.ts +0 -22
- package/lib/reports/cube/usage-base.d.ts +0 -76
- package/lib/reports/cube/usage-chart.component.d.ts +0 -66
- package/lib/reports/cube/usage-pivot.component.d.ts +0 -66
- package/lib/reports/report-ref.d.ts +0 -27
- package/lib/reports/report-viewer.component.d.ts +0 -46
- package/lib/reports/report.mobile.component.d.ts +0 -45
- package/lib/reports/report.pane.component.d.ts +0 -34
- package/lib/reports/reports-menu.component.d.ts +0 -12
- package/lib/reports/substitution/substitution.component.d.ts +0 -23
- package/lib/reports/table/table-view.component.d.ts +0 -19
- package/lib/reports/tasks/tasks.component.d.ts +0 -68
- package/lib/routes.desktop.d.ts +0 -2
- package/lib/routes.mobile.d.ts +0 -2
- package/lib/schedule.module.d.ts +0 -7
- package/lib/scheduler/schedule.component.d.ts +0 -43
- package/lib/scheduler/scheduler.mobile.component.d.ts +0 -14
- package/lib/scheduler/scheduler.pane.component.d.ts +0 -20
- package/lib/shared.module.d.ts +0 -178
- package/lib/spreadsheet.module.d.ts +0 -8
- package/lib/system.module.d.ts +0 -33
- package/lib/views/cube/chart.component.d.ts +0 -38
- package/lib/views/cube/cube-base.d.ts +0 -45
- package/lib/views/cube/explore.component.d.ts +0 -40
- package/lib/views/cube/matrix.component.d.ts +0 -61
- package/lib/views/cube/parallel.component.d.ts +0 -58
- package/lib/views/cube/pivot.component.d.ts +0 -32
- package/lib/views/cube/sum.component.d.ts +0 -77
- package/lib/views/cube/view.component.d.ts +0 -40
- package/lib/views/document-view-ref.d.ts +0 -18
- package/lib/views/timeline/timeline.component.exp.d.ts +0 -66
- package/lib/views/view-item.component.d.ts +0 -28
- package/lib/views/views.component.d.ts +0 -14
- package/lib/views/views.mobile.component.d.ts +0 -14
- package/lib/views/views.pane.component.d.ts +0 -12
- package/public-api.d.ts +0 -134
@@ -0,0 +1,669 @@
|
|
1
|
+
import { Component, Input, ElementRef, OnDestroy, SimpleChanges, OnChanges, ViewChild } from '@angular/core';
|
2
|
+
import { NodeModel, ConnectorModel, LayoutModel, DiagramTools, Diagram, DiagramConstraints, ComplexHierarchicalTree, PortVisibility, ComplexHierarchicalTreeService, ConnectorBridging, BpmnDiagrams, DataBinding, ScrollSettingsModel, SnapSettingsModel, Segments, LineRouting, TreeInfo, IMouseEventArgs, LineDistribution, ConnectionPointOrigin, SnapConstraints, LayoutAnimation } from '@syncfusion/ej2-angular-diagrams';
|
3
|
+
import { Observable, forkJoin, of, interval } from 'rxjs';
|
4
|
+
import { tap, takeUntil, map } from 'rxjs/operators';
|
5
|
+
const moment = require('moment');
|
6
|
+
import { DocumentModel, Recipient, NodeInfo, Gender, FlowNode, UserInfo, State } from "../../core/models";
|
7
|
+
import { getWarn } from '../../core/functions';
|
8
|
+
import { TraceBase, START_NODE } from './trace.base';
|
9
|
+
import { SessionService } from '../../core/session.service';
|
10
|
+
import { AccountService } from '../../core/account.service';
|
11
|
+
import { TranslateService } from '../../core/translate.service';
|
12
|
+
import { HubService } from '../../core/hub.service';
|
13
|
+
import { MatTooltip } from '@angular/material/tooltip';
|
14
|
+
|
15
|
+
//Object.defineProperty(TooltipComponent.prototype, 'message', {
|
16
|
+
// set(v: any) {
|
17
|
+
// const el = document.querySelectorAll('.mat-tooltip');
|
18
|
+
|
19
|
+
// if (el) {
|
20
|
+
// el[el.length - 1].innerHTML = v;
|
21
|
+
// }
|
22
|
+
// },
|
23
|
+
//});
|
24
|
+
|
25
|
+
Diagram.Inject(ComplexHierarchicalTree, ConnectorBridging, BpmnDiagrams, DataBinding, LineRouting, LineDistribution, LayoutAnimation);
|
26
|
+
|
27
|
+
const PENDING_PATH = 'M18,22l-0.01-6L14,12l3.99-4.01L18,2H6v6l4,4l-4,3.99V22H18z M8,7.5V4h8v3.5l-4,4L8,7.5z',
|
28
|
+
FYI_PATH = 'M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-6h2v6zm0-8h-2V7h2v2z',
|
29
|
+
//ESCALATED_PATH = 'M22 5.72l-4.6-3.86-1.29 1.53 4.6 3.86L22 5.72zM7.88 3.39L6.6 1.86 2 5.71l1.29 1.53 4.59-3.85zM12.5 8H11v6l4.75 2.85.75-1.23-4-2.37V8zM12 4c-4.97 0-9 4.03-9 9s4.02 9 9 9c4.97 0 9-4.03 9-9s-4.03-9-9-9zm0 16c-3.87 0-7-3.13-7-7s3.13-7 7-7 7 3.13 7 7-3.13 7-7 7z',
|
30
|
+
WARNNING_PATH = 'M 13.763735,1.8433735 H 6.3037349 l -5.27,5.27 v 7.4599995 l 5.27,5.27 h 7.4600001 l 5.27,-5.27 V 7.1133735 Z m -3.73,14.2999995 c -0.7200001,0 -1.3000001,-0.58 -1.3000001,-1.3 0,-0.72 0.58,-1.3 1.3000001,-1.3 0.72,0 1.3,0.58 1.3,1.3 0,0.72 -0.58,1.3 -1.3,1.3 z m 1,-4.3 H 9.0337349 V 5.8433735 h 2.0000001 z';
|
31
|
+
|
32
|
+
const PORTS = [
|
33
|
+
{ id: 'port1', offset: { x: 1, y: 0.25 }, visibility: PortVisibility.Hidden },
|
34
|
+
{ id: 'port2', offset: { x: 1, y: 0.5 }, visibility: PortVisibility.Hidden },
|
35
|
+
{ id: 'port3', offset: { x: 1, y: 0.75 }, visibility: PortVisibility.Hidden },
|
36
|
+
{ id: 'port4', offset: { x: .25, y: 1 }, visibility: PortVisibility.Hidden },
|
37
|
+
{ id: 'port5', offset: { x: .5, y: 1 }, visibility: PortVisibility.Hidden },
|
38
|
+
{ id: 'port6', offset: { x: .75, y: 1 }, visibility: PortVisibility.Hidden },
|
39
|
+
{ id: 'port7', offset: { x: .25, y: 0 }, visibility: PortVisibility.Hidden },
|
40
|
+
{ id: 'port8', offset: { x: .5, y: 0 }, visibility: PortVisibility.Hidden },
|
41
|
+
{ id: 'port9', offset: { x: .75, y: 0 }, visibility: PortVisibility.Hidden },
|
42
|
+
{ id: 'port10', offset: { x: 0, y: 0.25 }, visibility: PortVisibility.Hidden },
|
43
|
+
{ id: 'port11', offset: { x: 0, y: 0.5 }, visibility: PortVisibility.Hidden },
|
44
|
+
{ id: 'port12', offset: { x: 0, y: 0.75 }, visibility: PortVisibility.Hidden }
|
45
|
+
];
|
46
|
+
@Component({
|
47
|
+
selector: 'bizdoc-flow',
|
48
|
+
templateUrl: './flow.component.html',
|
49
|
+
styleUrls: ['./flow.component.scss'],
|
50
|
+
viewProviders: [ComplexHierarchicalTreeService],
|
51
|
+
host: {
|
52
|
+
dir: 'ltr'
|
53
|
+
}
|
54
|
+
})
|
55
|
+
/** flow-view component*/
|
56
|
+
export class FlowViewComponent extends TraceBase implements OnChanges, OnDestroy {
|
57
|
+
@Input() model: DocumentModel<any>;
|
58
|
+
@Input() connectorType: Segments = 'Bezier';
|
59
|
+
@ViewChild(MatTooltip) tooltip: MatTooltip;
|
60
|
+
@ViewChild('diagram', { static: true }) elementRef: ElementRef<HTMLDivElement>;
|
61
|
+
tooltipText: string;
|
62
|
+
diagram: Diagram;
|
63
|
+
readonly tool: DiagramTools = DiagramTools.ZoomPan;
|
64
|
+
readonly diagramConstraints: DiagramConstraints =
|
65
|
+
DiagramConstraints.Default |
|
66
|
+
DiagramConstraints.Pan |
|
67
|
+
DiagramConstraints.LineRouting |
|
68
|
+
DiagramConstraints.Bridging;
|
69
|
+
public readonly layout = {
|
70
|
+
type: 'ComplexHierarchicalTree',
|
71
|
+
connectionPointOrigin: ConnectionPointOrigin.DifferentPoint,
|
72
|
+
horizontalSpacing: 50,
|
73
|
+
verticalSpacing: 50,
|
74
|
+
verticalAlignment: 'Top',
|
75
|
+
connectionDirection: 'Orientation',
|
76
|
+
//connectorSegments: 'Layout',
|
77
|
+
getLayoutInfo: (node: Node, options: TreeInfo) => {
|
78
|
+
if (!options.hasSubTree) {
|
79
|
+
options.type = 'Center';
|
80
|
+
options.orientation = 'Vertical';
|
81
|
+
}
|
82
|
+
},
|
83
|
+
layoutInfo: {
|
84
|
+
//type: 'Left',
|
85
|
+
enableRouting: true,
|
86
|
+
orientation: 'Horizontal'
|
87
|
+
},
|
88
|
+
orientation: this._session.inverse ? 'RightToLeft' : 'LeftToRight',
|
89
|
+
margin: { left: 10, right: 10, top: 10, bottom: 10 }
|
90
|
+
} as LayoutModel;
|
91
|
+
|
92
|
+
private readonly scrollSettings = {
|
93
|
+
minZoom: .5,
|
94
|
+
canAutoScroll: true,
|
95
|
+
currentZoom: 1.2,
|
96
|
+
padding: { top: 0, bottom: 0 },
|
97
|
+
autoScrollBorder: { top: 0, bottom: 0 },
|
98
|
+
maxZoom: 2.5
|
99
|
+
} as ScrollSettingsModel;
|
100
|
+
|
101
|
+
private readonly snapSettings = {
|
102
|
+
constraints: SnapConstraints.None,
|
103
|
+
gridType: 'Dots'
|
104
|
+
} as SnapSettingsModel;
|
105
|
+
private readonly _configuration: { [name: string]: FlowNode } = {};
|
106
|
+
private _submitted: Date;
|
107
|
+
private _accentColor = this._session.getAccent();
|
108
|
+
/** workflow-view ctor */
|
109
|
+
constructor(private _accounts: AccountService, private _session: SessionService, private _translate: TranslateService,
|
110
|
+
hub: HubService) {
|
111
|
+
super(hub);
|
112
|
+
this._session.profile.nodes.forEach(n =>
|
113
|
+
this._configuration[n.name] = n);
|
114
|
+
_session.themeChange.pipe(takeUntil(this._destroy)).
|
115
|
+
subscribe(() => {
|
116
|
+
this._accentColor = this._session.getAccent();
|
117
|
+
this.refresh();
|
118
|
+
});
|
119
|
+
}
|
120
|
+
ngOnChanges(_changes: SimpleChanges): void {
|
121
|
+
this.diagram && this.diagram.destroy();
|
122
|
+
this._prepare().then(r => {
|
123
|
+
const { connectors, nodes, indicators } = r;
|
124
|
+
const diagram = this.diagram = new Diagram({
|
125
|
+
width: '100%',
|
126
|
+
height: 380,
|
127
|
+
nodes,
|
128
|
+
connectors,
|
129
|
+
layout: this.layout,
|
130
|
+
tool: this.tool,
|
131
|
+
scrollSettings: this.scrollSettings,
|
132
|
+
snapSettings: this.snapSettings,
|
133
|
+
constraints: this.diagramConstraints,
|
134
|
+
getConnectorDefaults: this.connDefaults.bind(this),
|
135
|
+
getNodeDefaults: this.nodeDefaults.bind(this),
|
136
|
+
mouseOver: this.mouseMove.bind(this)
|
137
|
+
}, this.elementRef.nativeElement);
|
138
|
+
diagram.doLayout();
|
139
|
+
this._addIndicators(indicators);
|
140
|
+
diagram.fitToPage();
|
141
|
+
});
|
142
|
+
this._refresh();
|
143
|
+
}
|
144
|
+
private _refresh() {
|
145
|
+
interval(60000).pipe(takeUntil(this._destroy)).subscribe(() => {
|
146
|
+
super.resetEstimateTime();
|
147
|
+
this.diagram.dataBind();
|
148
|
+
});
|
149
|
+
}
|
150
|
+
mouseMove(e: IMouseEventArgs) {
|
151
|
+
if ((e.actualObject as NodeModel).addInfo) {
|
152
|
+
const { estimate, node, tooltip } = (e.actualObject as NodeModel).addInfo as NodeInfoModel;
|
153
|
+
if (tooltip) {
|
154
|
+
if (estimate && tooltip.estimatedTime) {
|
155
|
+
tooltip.estimatedTime = this._timeEstimate(node);
|
156
|
+
}
|
157
|
+
this.tooltip.message = this._tooltip(tooltip);
|
158
|
+
this.tooltip.show();
|
159
|
+
}
|
160
|
+
else
|
161
|
+
this.tooltip.hide();
|
162
|
+
}
|
163
|
+
}
|
164
|
+
public refresh() {
|
165
|
+
this.ngOnChanges(null);
|
166
|
+
}
|
167
|
+
/**
|
168
|
+
*
|
169
|
+
* @param nodes
|
170
|
+
*/
|
171
|
+
private _addIndicators(nodes: NodeModel[]) {
|
172
|
+
nodes.forEach((n, i) => {
|
173
|
+
const parent = this.diagram.getNodeObject((n.addInfo as NodeInfoModel).parentId);
|
174
|
+
n.offsetX = parent.offsetX + (this._session.inverse ? -25 : 25);
|
175
|
+
n.offsetY = parent.offsetY + 25;
|
176
|
+
n.zIndex = 1000 + i;
|
177
|
+
this.diagram.add(n);
|
178
|
+
});
|
179
|
+
}
|
180
|
+
/**
|
181
|
+
*
|
182
|
+
* @param obj
|
183
|
+
*/
|
184
|
+
public nodeDefaults(obj: NodeModel): NodeModel {
|
185
|
+
const { estimate, pending, indicator } = obj.addInfo as NodeInfoModel;
|
186
|
+
|
187
|
+
if (indicator) {
|
188
|
+
obj.width = obj.height = 15;
|
189
|
+
obj.style.strokeWidth = 0;
|
190
|
+
}
|
191
|
+
else {
|
192
|
+
obj.ports = PORTS;
|
193
|
+
obj.width = obj.height = 50;
|
194
|
+
|
195
|
+
if (estimate) {
|
196
|
+
obj.style.strokeDashArray = '2 2';
|
197
|
+
obj.style.strokeWidth = 1;
|
198
|
+
}
|
199
|
+
else {
|
200
|
+
obj.style.strokeColor = this._accentColor;
|
201
|
+
obj.style.strokeWidth = 2;
|
202
|
+
if (pending)
|
203
|
+
obj.style.fill = this._session.getAccent(400);
|
204
|
+
}
|
205
|
+
}
|
206
|
+
return obj;
|
207
|
+
}
|
208
|
+
/**
|
209
|
+
*
|
210
|
+
* @param connector
|
211
|
+
*/
|
212
|
+
public connDefaults(connector: ConnectorModel): void {
|
213
|
+
connector.type = this.connectorType;
|
214
|
+
connector.cornerRadius = 6;
|
215
|
+
connector.targetDecorator.height = 7;
|
216
|
+
connector.targetDecorator.width = 7;
|
217
|
+
if (connector.type === 'Orthogonal')
|
218
|
+
connector.sourcePadding = connector.targetPadding = 1;
|
219
|
+
if ((connector.addInfo as ConnectorInfoModel).estimate) {
|
220
|
+
connector.style.strokeDashArray = '2 2';
|
221
|
+
connector.style.strokeWidth = 1;
|
222
|
+
}
|
223
|
+
else {
|
224
|
+
connector.style.strokeColor = connector.targetDecorator.style.strokeColor = connector.targetDecorator.style.fill = this._accentColor;
|
225
|
+
connector.style.strokeWidth = 2;
|
226
|
+
}
|
227
|
+
};
|
228
|
+
/** */
|
229
|
+
private _prepare(): Promise<{ nodes: NodeModel[]; connectors: ConnectorModel[]; indicators: NodeModel[] }> {
|
230
|
+
const promises: Promise<any>[] = [], indicators: NodeModel[] = [];
|
231
|
+
this._submitted = this.model.issued || this.model.log.filter(l => l.type === 'Submit').reverse()[0].time;
|
232
|
+
const connectors: ConnectorModel[] = this.model.workflow.connectors.map(c => {
|
233
|
+
return {
|
234
|
+
sourceID: c.sourceId,
|
235
|
+
targetID: c.targetId,
|
236
|
+
addInfo: {
|
237
|
+
estimate: c.estimate
|
238
|
+
} as ConnectorInfoModel
|
239
|
+
} as ConnectorModel
|
240
|
+
}),
|
241
|
+
nodes: NodeModel[] = [];
|
242
|
+
let zIndex = 500;
|
243
|
+
this.model.workflow.nodes.forEach(n => {
|
244
|
+
const recipients = this.model.recipients.filter(r => r.nodeId === n.id && r.received >= this._submitted);
|
245
|
+
if (recipients.length) recipients.sort(a => a.replied ? -1 : 1).forEach((r, i) => {
|
246
|
+
const promise = this._note(n, r).then(e => {
|
247
|
+
const node = {
|
248
|
+
id: n.id,
|
249
|
+
shape: this._configuration[n.type].shape,
|
250
|
+
zIndex: zIndex++,
|
251
|
+
addInfo: {
|
252
|
+
estimate: n.estimate,
|
253
|
+
pending: r.pending,
|
254
|
+
standardTime: n.standardTime,
|
255
|
+
type: n.type,
|
256
|
+
tooltip: e.tooltip,
|
257
|
+
node: n
|
258
|
+
} as NodeInfoModel,
|
259
|
+
annotations: [{
|
260
|
+
content: e.annotation,
|
261
|
+
margin: { top: 2 },
|
262
|
+
offset: {
|
263
|
+
y: 1,
|
264
|
+
x: this._session.inverse ? 1 : .5
|
265
|
+
},
|
266
|
+
verticalAlignment: 'Top'
|
267
|
+
}]
|
268
|
+
} as NodeModel;
|
269
|
+
if (i > 0) {
|
270
|
+
node.id += i.toString();
|
271
|
+
this.model.workflow.connectors.filter(c => c.targetId === n.id).forEach(c =>
|
272
|
+
connectors.push({
|
273
|
+
sourceID: c.sourceId,
|
274
|
+
targetID: node.id,
|
275
|
+
addInfo: {
|
276
|
+
estimate: c.estimate
|
277
|
+
}
|
278
|
+
}));
|
279
|
+
if (r.pending || r.estimate) this.model.workflow.connectors.filter(c => c.sourceId === n.id).forEach(c =>
|
280
|
+
connectors.push({
|
281
|
+
sourceID: node.id,
|
282
|
+
targetID: c.targetId,
|
283
|
+
addInfo: {
|
284
|
+
estimate: c.estimate
|
285
|
+
}
|
286
|
+
}));
|
287
|
+
}
|
288
|
+
nodes.push(node);
|
289
|
+
if (r.action) {
|
290
|
+
const action = this._session.profile.actions.find(a => a.name === r.action);
|
291
|
+
if (action && action.shape) {
|
292
|
+
const actionIndicator = {
|
293
|
+
id: node.id + 'action',
|
294
|
+
shape: {
|
295
|
+
type: 'Path',
|
296
|
+
data: action.shape,
|
297
|
+
align: this._session.inverse ? 'XMinYMax' : 'XMaxYMax',
|
298
|
+
},
|
299
|
+
style: {
|
300
|
+
fill: action.color || 'black'
|
301
|
+
},
|
302
|
+
addInfo: {
|
303
|
+
pending: r.pending,
|
304
|
+
indicator: true,
|
305
|
+
parentId: node.id,
|
306
|
+
node: n
|
307
|
+
} as NodeInfoModel
|
308
|
+
} as NodeModel;
|
309
|
+
indicators.push(actionIndicator);
|
310
|
+
}
|
311
|
+
}
|
312
|
+
if (r.pending && !r.estimate) {
|
313
|
+
const pendingIndicator = {
|
314
|
+
id: node.id + 'pending',
|
315
|
+
shape: {
|
316
|
+
type: 'Path',
|
317
|
+
data: PENDING_PATH,
|
318
|
+
align: this._session.inverse ? 'XMaxYMax' : 'XMinYMax'
|
319
|
+
},
|
320
|
+
style: {
|
321
|
+
fill: this._session.getAccent(900)
|
322
|
+
},
|
323
|
+
addInfo: {
|
324
|
+
indicator: true,
|
325
|
+
parentId: node.id
|
326
|
+
}
|
327
|
+
} as NodeModel;
|
328
|
+
indicators.push(pendingIndicator);
|
329
|
+
}
|
330
|
+
if (n.fyi) {
|
331
|
+
indicators.push({
|
332
|
+
id: node.id + 'fyi',
|
333
|
+
shape: {
|
334
|
+
type: 'Path',
|
335
|
+
data: FYI_PATH,
|
336
|
+
align: this._session.inverse ? 'XMinYMax' : 'XMaxYMax'
|
337
|
+
},
|
338
|
+
style: {
|
339
|
+
},
|
340
|
+
addInfo: {
|
341
|
+
indicator: true,
|
342
|
+
parentId: node.id
|
343
|
+
}
|
344
|
+
} as NodeModel
|
345
|
+
);
|
346
|
+
}
|
347
|
+
});
|
348
|
+
promises.push(promise);
|
349
|
+
});
|
350
|
+
else {
|
351
|
+
const promise = this._shapeNote(n).then(e => {
|
352
|
+
const path = this._configuration[n.type].shape.type === 'Path';
|
353
|
+
nodes.push({
|
354
|
+
id: n.id,
|
355
|
+
shape: this._configuration[n.type].shape,
|
356
|
+
zIndex: zIndex++,
|
357
|
+
addInfo: {
|
358
|
+
estimate: n.estimate,
|
359
|
+
standardTime: n.standardTime,
|
360
|
+
type: n.type,
|
361
|
+
tooltip: e.tooltip,
|
362
|
+
node: n
|
363
|
+
} as NodeInfoModel,
|
364
|
+
annotations: [{
|
365
|
+
content: e.annotation,
|
366
|
+
offset: path ? {
|
367
|
+
y: 1
|
368
|
+
} : { x: this._session.inverse ? 1 : .5 },
|
369
|
+
verticalAlignment: path ? 'Top' : 'Center'
|
370
|
+
}]
|
371
|
+
});
|
372
|
+
if (e.state && e.state.shape && !n.estimate)
|
373
|
+
indicators.push({
|
374
|
+
id: n.id + 'state',
|
375
|
+
shape: {
|
376
|
+
type: 'Path',
|
377
|
+
data: e.state.shape,
|
378
|
+
align: this._session.inverse ? 'XMaxYMax' : 'XMinYMax'
|
379
|
+
},
|
380
|
+
style: {
|
381
|
+
fill: e.state.color || 'black'
|
382
|
+
},
|
383
|
+
addInfo: {
|
384
|
+
indicator: true,
|
385
|
+
parentId: n.id,
|
386
|
+
node: n
|
387
|
+
} as NodeInfoModel
|
388
|
+
});
|
389
|
+
if (e.error) {
|
390
|
+
const warnningIndicator = {
|
391
|
+
id: n.id + 'exception',
|
392
|
+
shape: {
|
393
|
+
type: 'Path',
|
394
|
+
data: WARNNING_PATH,
|
395
|
+
align: this._session.inverse ? 'XMaxYMax' : 'XMinYMax'
|
396
|
+
},
|
397
|
+
style: {
|
398
|
+
fill: getWarn(800)
|
399
|
+
},
|
400
|
+
tooltip: {
|
401
|
+
//content: e.error,
|
402
|
+
position: 'BottomCenter',
|
403
|
+
relativeMode: 'Mouse'
|
404
|
+
},
|
405
|
+
addInfo: {
|
406
|
+
indicator: true,
|
407
|
+
parentId: n.id
|
408
|
+
}
|
409
|
+
} as NodeModel;
|
410
|
+
indicators.push(warnningIndicator);
|
411
|
+
}
|
412
|
+
});
|
413
|
+
promises.push(promise);
|
414
|
+
}
|
415
|
+
});
|
416
|
+
//nodes.forEach(n => (n.parentId) = connectors.filter(c => c.targetID === n.id).map(c => c.sourceID))
|
417
|
+
return promises.length ? Promise.all(promises).then(() => { return { connectors, nodes, indicators } }) :
|
418
|
+
Promise.resolve({ connectors, nodes, indicators });
|
419
|
+
}
|
420
|
+
|
421
|
+
resize() {
|
422
|
+
if (this.diagram) this.diagram.width = 'auto';
|
423
|
+
}
|
424
|
+
private _timeEstimate(node: NodeInfo): string {
|
425
|
+
const { min, max } = super._estimateTime(node);
|
426
|
+
if (max)
|
427
|
+
return !min || min === max ?
|
428
|
+
this._translate.get('EstimateTime', this._duration(max)) :
|
429
|
+
this._translate.get('EstimateTimeRange', this._duration(min), this._duration(max));
|
430
|
+
}
|
431
|
+
private _tooltip(obj: NodeTooltipModel) {
|
432
|
+
const { note, role, substituting, duration, standardTime, estimatedTime, error } = obj
|
433
|
+
const rows = [error, note, role, substituting, duration, standardTime, estimatedTime].filter(v => v);
|
434
|
+
if (rows.length) {
|
435
|
+
return rows.join(' ')
|
436
|
+
}
|
437
|
+
}
|
438
|
+
private _shapeNote(node: NodeInfo): Promise<{ annotation: string; tooltip: NodeTooltipModel; state?: State; error?: boolean }> {
|
439
|
+
let observe: Observable<any>;
|
440
|
+
const log = this.model.log.filter(l => l.nodeId === node.id && l.time >= this._submitted);
|
441
|
+
const tooltip = { error: node.error } as NodeTooltipModel;
|
442
|
+
let annotation: string, state: State;
|
443
|
+
const stateLog = log.find(l => l.type === 'StateChange');
|
444
|
+
if (stateLog) {
|
445
|
+
state = this._session.profile.states.find(s => s.name === stateLog.state);
|
446
|
+
|
447
|
+
annotation = state ? ((node.estimate ? state.future : state.past) || state.title) : stateLog.state;
|
448
|
+
}
|
449
|
+
if (node.type === START_NODE && !node.estimate) {
|
450
|
+
observe = this._startNode().pipe(tap(e => {
|
451
|
+
tooltip.note = e.note;
|
452
|
+
tooltip.role = e.role;
|
453
|
+
}));
|
454
|
+
}
|
455
|
+
if (node.estimate)
|
456
|
+
tooltip.estimatedTime = this._timeEstimate(node);
|
457
|
+
|
458
|
+
return (observe ? observe.toPromise() : Promise.resolve()).then(() => {
|
459
|
+
return { annotation, state, tooltip, error: node.error !== undefined }
|
460
|
+
});
|
461
|
+
}
|
462
|
+
private _startNode(): Observable<{
|
463
|
+
note: string, role: string;
|
464
|
+
}> {
|
465
|
+
let who: Observable<UserInfo | 'you'>, by: Observable<UserInfo | 'you'>;
|
466
|
+
if (this.model.ownerId === this._session.profile.userId && !this._session.isImpersonating)
|
467
|
+
who = of('you');
|
468
|
+
|
469
|
+
else
|
470
|
+
who = this._accounts.get(this.model.ownerId);
|
471
|
+
if (this.model.ownerById) {
|
472
|
+
if (this.model.ownerById === this._session.userId)
|
473
|
+
by = of('you');
|
474
|
+
|
475
|
+
else
|
476
|
+
by = this._accounts.get(this.model.ownerById);
|
477
|
+
}
|
478
|
+
const profiles = [who];
|
479
|
+
if (by)
|
480
|
+
profiles.push(by);
|
481
|
+
const observe = forkJoin(profiles).pipe(map(us => {
|
482
|
+
let note: string, role: string;
|
483
|
+
const [who, by] = us;
|
484
|
+
if (by) {
|
485
|
+
if (by === 'you')
|
486
|
+
note =
|
487
|
+
this._translate.get('SubmittedNoteByYou',
|
488
|
+
who === 'you' ? this._translate.get('You') : (who as UserInfo).name,
|
489
|
+
this._fromNow(this.model.issued));
|
490
|
+
|
491
|
+
else
|
492
|
+
note =
|
493
|
+
this._translate.get('SubmittedNoteBy',
|
494
|
+
who === 'you' ? this._translate.get('You') : (who as UserInfo).name,
|
495
|
+
(by as UserInfo).name,
|
496
|
+
this._fromNow(this.model.issued));
|
497
|
+
}
|
498
|
+
|
499
|
+
else if (who === 'you')
|
500
|
+
note = this._translate.get('YouSubmittedNote', this._fromNow(this.model.issued));
|
501
|
+
|
502
|
+
else
|
503
|
+
note = this._translate.get('SubmittedNote', (who as UserInfo).name, this._fromNow(this.model.issued));
|
504
|
+
if (who !== 'you' && who.role)
|
505
|
+
role = `- ${who.role}`;
|
506
|
+
return { note, role };
|
507
|
+
}));
|
508
|
+
return observe;
|
509
|
+
}
|
510
|
+
|
511
|
+
private _note(node: NodeInfo, recipient: Recipient): Promise<{ annotation: string; tooltip: NodeTooltipModel }> {
|
512
|
+
const observables: Observable<any>[] = [];
|
513
|
+
const tooltip: NodeTooltipModel = {};
|
514
|
+
let annotation: string;
|
515
|
+
|
516
|
+
const escalations = this.model.log.filter(l => l.time > this.model.issued && l.type === 'Escalation' && l.recipientId === recipient.id);
|
517
|
+
|
518
|
+
if (recipient.userId === this._session.profile.userId) {
|
519
|
+
annotation = this._session.isImpersonating ? this._session.profile.name : this._translate.get('You');
|
520
|
+
if (recipient.byId) {
|
521
|
+
const observe = this._accounts.get(recipient.byId).pipe(tap(u => {
|
522
|
+
const past = this._actionName(recipient.action, u.gender), time = this._fromNow(recipient.replied);
|
523
|
+
tooltip.note = this._translate.get('YouTakenActionBy', u.name, past, time);
|
524
|
+
}));
|
525
|
+
observables.push(observe);
|
526
|
+
}
|
527
|
+
else if (recipient.replied) {
|
528
|
+
const time = this._fromNow(recipient.replied);
|
529
|
+
if (this._session.profile.byId) {
|
530
|
+
const past = this._actionName(recipient.action, this._session.profile.gender);
|
531
|
+
tooltip.note = this._translate.get('ActionTaken', this._session.profile.name, past, time);
|
532
|
+
}
|
533
|
+
else {
|
534
|
+
const past = this._actionName(recipient.action, 'you');
|
535
|
+
tooltip.note = this._translate.get('YouTakenAction', past, time);
|
536
|
+
}
|
537
|
+
}
|
538
|
+
else if (escalations.length) {
|
539
|
+
const observe = this._accounts.getAll(this.model.recipients.filter(r => r.originId === recipient.id).map(e => e.userId)).pipe(tap(us => {
|
540
|
+
const duration = this._duration(moment(escalations[0].time).diff(recipient.received, 's'));
|
541
|
+
tooltip.substituting = this._translate.get('EscalatedTo',
|
542
|
+
this._translate.join(us.map(u =>
|
543
|
+
u.name)), duration);
|
544
|
+
}));
|
545
|
+
observables.push(observe);
|
546
|
+
}
|
547
|
+
else if (!node.estimate) {
|
548
|
+
const time = this._fromNow(recipient.received);
|
549
|
+
if (this._session.profile.byId)
|
550
|
+
tooltip.note = this._translate.personalize('ReceivedBy', this._session.profile.gender, this._session.profile.name, time);
|
551
|
+
else
|
552
|
+
tooltip.note = this._translate.get('YouReceived', time);
|
553
|
+
}
|
554
|
+
}
|
555
|
+
else {
|
556
|
+
const who = this._accounts.get(recipient.userId);
|
557
|
+
|
558
|
+
const profiles = [who];
|
559
|
+
|
560
|
+
if (recipient.byId) {
|
561
|
+
const by = this._accounts.get(recipient.byId);
|
562
|
+
profiles.push(by);
|
563
|
+
}
|
564
|
+
else if (escalations.length)
|
565
|
+
this.model.recipients.filter(r => r.originId === recipient.id).
|
566
|
+
forEach(e => profiles.push(this._accounts.get(e.userId)));
|
567
|
+
|
568
|
+
const observe = forkJoin(profiles).pipe(tap(us => {
|
569
|
+
const [who, by] = us;
|
570
|
+
annotation = who.name;
|
571
|
+
if (who.role) tooltip.role = `- ${who.role}`;
|
572
|
+
if (escalations.length) {
|
573
|
+
const duration = this._duration(moment(escalations[0].time).diff(recipient.received, 's'));
|
574
|
+
tooltip.substituting = this._translate.get('EscalatedTo', this._translate.join(us.slice(1).map(u => u.name)), duration);
|
575
|
+
}
|
576
|
+
else if (recipient.replied) {
|
577
|
+
if (by) {
|
578
|
+
const past = this._actionName(recipient.action, by.gender),
|
579
|
+
time = this._fromNow(recipient.replied);
|
580
|
+
tooltip.note = this._translate.get('ActionTakenBy', by.name, past, time);
|
581
|
+
}
|
582
|
+
else {
|
583
|
+
const past = this._actionName(recipient.action, who.gender),
|
584
|
+
time = this._fromNow(recipient.replied);
|
585
|
+
tooltip.note = this._translate.get('ActionTaken', who.name, past, time);
|
586
|
+
}
|
587
|
+
}
|
588
|
+
else if (recipient.pending && !recipient.estimate) {
|
589
|
+
const time = this._fromNow(recipient.received);
|
590
|
+
tooltip.note = this._translate.personalize('ReceivedTime', who.gender, time);
|
591
|
+
}
|
592
|
+
}));
|
593
|
+
observables.push(observe);
|
594
|
+
}
|
595
|
+
if (recipient.substitutingId && recipient.estimate) {
|
596
|
+
if (recipient.substitutingId === this._session.profile.byId)
|
597
|
+
tooltip.substituting = this._translate.personalize('SubstitutingYou', this._session.profile.gender);
|
598
|
+
else {
|
599
|
+
const observe = this._accounts.get(recipient.substitutingId).pipe(tap(u =>
|
600
|
+
tooltip.substituting = this._translate.personalize('SubstitutingFor', u.gender, u.name)
|
601
|
+
));
|
602
|
+
observables.push(observe);
|
603
|
+
}
|
604
|
+
}
|
605
|
+
if (recipient.replied) {
|
606
|
+
const duration = moment(recipient.replied).diff(recipient.received, 's');
|
607
|
+
tooltip.duration = this._translate.get('DurationTime', this._duration(duration));
|
608
|
+
}
|
609
|
+
else if (recipient.pending && !recipient.estimate)
|
610
|
+
tooltip.estimatedTime = this._timeEstimate(node);
|
611
|
+
else if (node.standardTime)
|
612
|
+
tooltip.standardTime = this._translate.get('NodeStandardTime', this._duration(node.standardTime));
|
613
|
+
return (observables.length ? forkJoin(observables) : of([])).toPromise().then(() => {
|
614
|
+
if (!tooltip.role && recipient.role) {
|
615
|
+
const crole = this._session.profile.roles.find(o => o.name === recipient.role);
|
616
|
+
tooltip.role = `- ${crole ? crole.title : recipient.role}`;
|
617
|
+
}
|
618
|
+
return { annotation, tooltip };
|
619
|
+
});
|
620
|
+
}
|
621
|
+
private _actionName(name: string, gender?: Gender | 'you') {
|
622
|
+
const action = this._session.profile.actions.find(a => a.name === name);
|
623
|
+
if (!action) return name;
|
624
|
+
if (gender === 'you') {
|
625
|
+
const gender = this._session.profile.byGender || this._session.profile.gender;
|
626
|
+
return (gender === 'Male' ? (action.youMale || action.you) :
|
627
|
+
gender === 'Female' ? (action.youFemale || action.you) :
|
628
|
+
action.you) ||
|
629
|
+
action.past ||
|
630
|
+
action.title;
|
631
|
+
}
|
632
|
+
const past = ((gender === 'Male' ? (action.pastMale || action.past) : gender === 'Female' ? (action.pastFemale || action.past) : action.past) || action.title).toLowerCase();
|
633
|
+
return past;
|
634
|
+
}
|
635
|
+
|
636
|
+
private _fromNow(date: Date) {
|
637
|
+
return moment(date).fromNow();
|
638
|
+
}
|
639
|
+
|
640
|
+
private _duration(time: number) {
|
641
|
+
return moment.duration(time, 's').humanize();
|
642
|
+
}
|
643
|
+
ngOnDestroy(): void {
|
644
|
+
super.ngOnDestroy();
|
645
|
+
this.diagram && this.diagram.destroy();
|
646
|
+
}
|
647
|
+
}
|
648
|
+
interface ConnectorInfoModel {
|
649
|
+
estimate: boolean;
|
650
|
+
}
|
651
|
+
interface NodeInfoModel {
|
652
|
+
estimate: boolean;
|
653
|
+
pending: boolean;
|
654
|
+
standardTime: number;
|
655
|
+
type: string;
|
656
|
+
tooltip: NodeTooltipModel;
|
657
|
+
node: NodeInfo;
|
658
|
+
indicator?: boolean;
|
659
|
+
parentId?: string;
|
660
|
+
}
|
661
|
+
interface NodeTooltipModel {
|
662
|
+
error?: string;
|
663
|
+
note?: string;
|
664
|
+
role?: string;
|
665
|
+
substituting?: string;
|
666
|
+
standardTime?: string;
|
667
|
+
duration?: string;
|
668
|
+
estimatedTime?: string;
|
669
|
+
}
|
@@ -0,0 +1,32 @@
|
|
1
|
+
import { Component, Input, OnChanges, SimpleChanges } from "@angular/core";
|
2
|
+
import { AccountService } from "../../core/account.service";
|
3
|
+
import { DocumentModel, RecipientModel, UserInfo } from "../../core/models";
|
4
|
+
import { SessionService } from "../../core/session.service";
|
5
|
+
|
6
|
+
/** component */
|
7
|
+
@Component({
|
8
|
+
selector: 'bizdoc-people',
|
9
|
+
template: `<bizdoc-avatar *ngFor="let p of people" [person]="p"></bizdoc-avatar>`
|
10
|
+
})
|
11
|
+
export class PeopleComponent implements OnChanges {
|
12
|
+
@Input() model!: DocumentModel<any> | RecipientModel<any>;
|
13
|
+
people: UserInfo[];
|
14
|
+
private readonly _userIds: string[] = [];
|
15
|
+
private readonly _me: string;
|
16
|
+
constructor(
|
17
|
+
private _accounts: AccountService,
|
18
|
+
session: SessionService
|
19
|
+
) {
|
20
|
+
this._me = session.profile.byId || session.profile.userId;
|
21
|
+
}
|
22
|
+
ngOnChanges(changes: SimpleChanges): void {
|
23
|
+
this._push(this.model.ownerId, this.model.ownerById, (this.model as RecipientModel).senderId);
|
24
|
+
this.model.recipients.reverse().forEach(r =>
|
25
|
+
this._push(r.userId, r.byId, r.substitutingId));
|
26
|
+
this._accounts.getAll(this._userIds).subscribe(us =>
|
27
|
+
this.people = us);
|
28
|
+
}
|
29
|
+
private _push(...userId: string[]) {
|
30
|
+
userId.forEach(u => u && this._userIds.indexOf(u) < 0 && u !== this._me && this._userIds.push(u));
|
31
|
+
}
|
32
|
+
}
|