@bizdoc/core 1.8.5 → 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 -29844
- 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 -604
- 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 -1214
- 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 -150
- 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 -310
- 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 -76
- package/esm2015/lib/views/cube/cube-base.js +0 -98
- package/esm2015/lib/views/cube/explore.component.js +0 -87
- package/esm2015/lib/views/cube/matrix.component.js +0 -107
- package/esm2015/lib/views/cube/parallel.component.js +0 -201
- package/esm2015/lib/views/cube/pivot.component.js +0 -58
- package/esm2015/lib/views/cube/sum.component.js +0 -435
- package/esm2015/lib/views/cube/view.component.js +0 -103
- package/esm2015/lib/views/document-view-ref.js +0 -26
- 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 -27488
- 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 -51
- 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 -44
- package/lib/views/cube/explore.component.d.ts +0 -41
- package/lib/views/cube/matrix.component.d.ts +0 -62
- package/lib/views/cube/parallel.component.d.ts +0 -63
- package/lib/views/cube/pivot.component.d.ts +0 -33
- package/lib/views/cube/sum.component.d.ts +0 -78
- package/lib/views/cube/view.component.d.ts +0 -40
- package/lib/views/document-view-ref.d.ts +0 -17
- 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,433 @@
|
|
1
|
+
import { Component } from "@angular/core";
|
2
|
+
import { DocumentViewComponent } from "../../core/base";
|
3
|
+
import { BizDoc } from "../../core/decorators";
|
4
|
+
import { SessionService } from "../../core/session.service";
|
5
|
+
import { RouterImpl } from "../../core/router";
|
6
|
+
import { CubeService, Point, ScopeType, Series } from "../../cube/cube.service";
|
7
|
+
import { DocumentViewRef } from "../document-view-ref";
|
8
|
+
import { CubeBase } from "./cube-base";
|
9
|
+
import { DatasourceService } from "../../core/datasource.service";
|
10
|
+
import { AxesMap, AxisType, CubeAxis, DocumentModel, Form } from "../../core/models";
|
11
|
+
import { isArray } from "../../core/functions";
|
12
|
+
import { animate, style, transition, trigger } from "@angular/animations";
|
13
|
+
|
14
|
+
@Component({
|
15
|
+
templateUrl: 'sum.component.html',
|
16
|
+
styleUrls: ['sum.component.scss'],
|
17
|
+
host: { class: 'view' },
|
18
|
+
animations: [trigger('bar', [
|
19
|
+
transition('*<=>*', [style({
|
20
|
+
flexBasis: '{{startWidth}}%'
|
21
|
+
}), animate('500ms ease')], { params: { startWidth: 100 } }),
|
22
|
+
])]
|
23
|
+
})
|
24
|
+
@BizDoc({
|
25
|
+
selector: 'bizdoc-cube-sum'
|
26
|
+
})
|
27
|
+
export class CubeDocumentSumComponent extends CubeBase<Options> implements DocumentViewComponent {
|
28
|
+
next: Level;
|
29
|
+
current: Level;
|
30
|
+
prev: Level;
|
31
|
+
help: string;
|
32
|
+
readonly Math = Math;
|
33
|
+
currencyCode: string;
|
34
|
+
digitsInfo: string;
|
35
|
+
indices: string[];
|
36
|
+
primaryAxis: CubeAxis;
|
37
|
+
parentAxis: CubeAxis;
|
38
|
+
form: Form;
|
39
|
+
selectedAxis: string | number;
|
40
|
+
back = true;
|
41
|
+
forward = false;
|
42
|
+
private _results: Series[];
|
43
|
+
private _scoperesults: Series[];
|
44
|
+
private _scope: string;
|
45
|
+
constructor(
|
46
|
+
viewRef: DocumentViewRef<Options>,
|
47
|
+
private _router: RouterImpl,
|
48
|
+
private _ds: DatasourceService,
|
49
|
+
service: CubeService,
|
50
|
+
session: SessionService) {
|
51
|
+
super(viewRef, service, session);
|
52
|
+
}
|
53
|
+
async onViewBind() {
|
54
|
+
const { xAxis, indices, parentAxis, periodPolicy } = this._viewRef.options;
|
55
|
+
if (!xAxis) throw 'sum view reqires xAxis';
|
56
|
+
this.primaryAxis = this.cube.axes.find(a => a.name === xAxis);
|
57
|
+
//this.form = this._session.profile.forms.find(f => f.name === this.model.formId);
|
58
|
+
if (parentAxis) this.parentAxis = this.cube.axes.find(a => a.name === parentAxis);
|
59
|
+
this.indices = indices ? isArray(indices) ? indices : [indices] : this.cube.indices.map(i => i.name);
|
60
|
+
this.currencyCode = this.cube.currencyCode;
|
61
|
+
this.digitsInfo = this._service.digitsInfo;
|
62
|
+
const originalValue = this.originalAxes[xAxis];
|
63
|
+
if (isArray(originalValue))
|
64
|
+
this.selectedAxis = originalValue[0];
|
65
|
+
const axis = isArray(originalValue) ? originalValue[0] : originalValue;
|
66
|
+
if (periodPolicy && periodPolicy.toLowerCase() === 'strict')
|
67
|
+
await this._strict(axis);
|
68
|
+
else
|
69
|
+
await this._fish(axis);
|
70
|
+
}
|
71
|
+
private async _strict(axis: AxisType) {
|
72
|
+
const keys = await this._ds.keys(this.primaryAxis.dataType).toPromise(),
|
73
|
+
keyIndex = keys.indexOf(axis as string);
|
74
|
+
|
75
|
+
const filters = { ...this.axes };
|
76
|
+
const axes = [axis];
|
77
|
+
if (keyIndex > 0) axes.push(keys[keyIndex - 1]);
|
78
|
+
if (keyIndex === keys.length - 1) axes.push(keys[keyIndex + 1]);
|
79
|
+
filters[this.primaryAxis.name] = axis;
|
80
|
+
const results = await this._service.series(this.cube.name, this.primaryAxis.name, {
|
81
|
+
indices: this.indices,
|
82
|
+
filters
|
83
|
+
}).toPromise();
|
84
|
+
function fill(serie: Series, point: Point) {
|
85
|
+
if (serie.index)
|
86
|
+
this.current.indices.push({ name: serie.index, title: serie.title, value: point.y });
|
87
|
+
else
|
88
|
+
this.current = { axis: point.x, name: axis, value: point.y, indices: [] } as any;
|
89
|
+
}
|
90
|
+
for (var i = 0; i < results.length; i++) {
|
91
|
+
const { index, title, points } = results[i];
|
92
|
+
for (var j = 0; j < points.length; j++) {
|
93
|
+
let point = points[j], { x, y, name: axis } = point;
|
94
|
+
if (x === axis) {
|
95
|
+
if (index)
|
96
|
+
this.current.indices.push({ name: index, title, value: y });
|
97
|
+
else
|
98
|
+
this.current = { axis: x, name: axis, value: y, indices: [] } as any;
|
99
|
+
}
|
100
|
+
else if (x === keys[keyIndex - 1]) {
|
101
|
+
if (!this.prev) this.prev = { axis: x, name: axis, value: 0, indices: [] } as any;
|
102
|
+
if (index)
|
103
|
+
this.prev.indices.push({ name: index, title, value: y });
|
104
|
+
else
|
105
|
+
this.prev.value = y;
|
106
|
+
}
|
107
|
+
else if (x === keys[keyIndex + 1]) {
|
108
|
+
if (!this.next) this.next = { axis: x, name: axis, value: 0, indices: [] } as any;
|
109
|
+
if (index)
|
110
|
+
this.next.indices.push({ name: index, title, value: y });
|
111
|
+
else
|
112
|
+
this.next.value = y;
|
113
|
+
}
|
114
|
+
}
|
115
|
+
}
|
116
|
+
const parallel = async (direction: 1 | -1) => {
|
117
|
+
const parentKey = this.originalAxes[this.parentAxis.name];
|
118
|
+
const parentKeys = await this._ds.keys(this.parentAxis.dataType).toPromise();
|
119
|
+
const index = parentKeys.indexOf((isArray(parentKey) ? parentKey[0] : parentKey) as string),
|
120
|
+
scope = parentKeys[index + direction];
|
121
|
+
if (!scope) return;
|
122
|
+
filters[this.parentAxis.name] = scope;
|
123
|
+
const axis = keys[keys.length + direction];
|
124
|
+
filters[this.primaryAxis.name] = axis;
|
125
|
+
const results = await this._service.series(this.cube.name, this.primaryAxis.name, {
|
126
|
+
indices: this.indices,
|
127
|
+
filters
|
128
|
+
}).toPromise();
|
129
|
+
|
130
|
+
const level: Level = { axis, indices: [], scope } as any;
|
131
|
+
for (var i = 0; i < results.length; i++) {
|
132
|
+
const { index, title, points } = results[i];
|
133
|
+
if (!points.length) continue;
|
134
|
+
const [point] = points;
|
135
|
+
if (index === 'Index')
|
136
|
+
level.indices.push({ name: index, title, value: point.y });
|
137
|
+
else
|
138
|
+
level.title = point.name, level.value = point.y;
|
139
|
+
}
|
140
|
+
return level;
|
141
|
+
};
|
142
|
+
if (keyIndex === 0 && this.parentAxis)
|
143
|
+
this.prev = await parallel(-1);
|
144
|
+
else if (keyIndex === keys.length - 1)
|
145
|
+
this.next = await parallel(1);
|
146
|
+
}
|
147
|
+
private async _fish(axis: AxisType) {
|
148
|
+
this.loading = true;
|
149
|
+
try {
|
150
|
+
const { xAxis, parentAxis } = this._viewRef.options;
|
151
|
+
const filters = { ...this.axes };
|
152
|
+
delete filters[xAxis];
|
153
|
+
const results = this._results = await this._service.series(this.cube.name, xAxis, {
|
154
|
+
indices: this.indices, filters
|
155
|
+
}).
|
156
|
+
toPromise();
|
157
|
+
this.current = {
|
158
|
+
axis,
|
159
|
+
value: 0,
|
160
|
+
indices: []
|
161
|
+
} as Level;
|
162
|
+
for (var j = 0; j < results.length; j++) {
|
163
|
+
let { points, index, name, title } = results[j];
|
164
|
+
for (let i = 0; i < points.length; i++) {
|
165
|
+
let point = points[i];
|
166
|
+
if (point.x === axis) {
|
167
|
+
if (index)
|
168
|
+
this.current.indices.push({ name: index, title, value: point.y });
|
169
|
+
else
|
170
|
+
this.current.title = point.name,
|
171
|
+
this.current.value = point.y;
|
172
|
+
if (i > 0) {
|
173
|
+
point = points[i - 1];
|
174
|
+
if (!this.prev)
|
175
|
+
this.prev = {
|
176
|
+
axis: point.x,
|
177
|
+
title: point.name,
|
178
|
+
value: point.y,
|
179
|
+
indices: []
|
180
|
+
} as Level;
|
181
|
+
if (index) {
|
182
|
+
let q = i;
|
183
|
+
while (q > 0 && point.x !== this.prev.axis)
|
184
|
+
point = points[q--];
|
185
|
+
|
186
|
+
q > 0 &&
|
187
|
+
this.prev.indices.push({
|
188
|
+
name: index, title, value: point.y
|
189
|
+
});
|
190
|
+
}
|
191
|
+
}
|
192
|
+
if (i < points.length - 1) {
|
193
|
+
point = points[i + 1];
|
194
|
+
if (!this.next)
|
195
|
+
this.next = {
|
196
|
+
axis: point.x,
|
197
|
+
title: point.name,
|
198
|
+
value: 0,
|
199
|
+
indices: []
|
200
|
+
} as Level;
|
201
|
+
if (index) {
|
202
|
+
let q = i;
|
203
|
+
while (q < points.length - 1 && point.x !== this.next.axis)
|
204
|
+
point = points[q++];
|
205
|
+
q < points.length - 1 && this.next.indices.push({
|
206
|
+
name: index, title, value: point.y
|
207
|
+
});
|
208
|
+
}
|
209
|
+
else
|
210
|
+
this.current.value = point.y;
|
211
|
+
}
|
212
|
+
break;
|
213
|
+
}
|
214
|
+
else if (this.next && point.x == this.next.axis)
|
215
|
+
this.next.indices.push({ name, title, value: point.y });
|
216
|
+
else if (this.prev && point.x == this.prev.axis)
|
217
|
+
this.prev.indices.push({ name, title, value: point.y });
|
218
|
+
}
|
219
|
+
}
|
220
|
+
this._calculate(this.current);
|
221
|
+
this.current.chain = this.prev;
|
222
|
+
this.help = await super.getAggregateLabel();
|
223
|
+
if (!this.prev)
|
224
|
+
this.prev = await this._parallel(-1, this.originalAxes[parentAxis]);
|
225
|
+
if (!this.next)
|
226
|
+
this.next = await this._parallel(1, this.originalAxes[parentAxis]);
|
227
|
+
this.next && this._calculate(this.next);
|
228
|
+
this.prev && this._calculate(this.prev);
|
229
|
+
} catch (e) {
|
230
|
+
throw e;
|
231
|
+
}
|
232
|
+
finally {
|
233
|
+
this.loading = false;
|
234
|
+
}
|
235
|
+
}
|
236
|
+
private _calculate(level: Level) {
|
237
|
+
const indices = level.indices
|
238
|
+
.filter(i => this.cube.indices.find(m => m.name === i.name && m.accumulate !== false))
|
239
|
+
.sum(i => i.value);
|
240
|
+
const percent = indices !== 0 ?
|
241
|
+
Math.round(level.value / indices * 100) : 0;
|
242
|
+
level.percent = percent;
|
243
|
+
level.animation = {
|
244
|
+
value: percent,
|
245
|
+
params: {
|
246
|
+
startWidth:
|
247
|
+
percent < 100 ?
|
248
|
+
100 :
|
249
|
+
100
|
250
|
+
}
|
251
|
+
}
|
252
|
+
}
|
253
|
+
async goprev() {
|
254
|
+
let alternate: Level;
|
255
|
+
if (!this.prev.scope)
|
256
|
+
alternate = this._seek(this.prev.axis, this._results, -1);
|
257
|
+
if (!alternate) {
|
258
|
+
if (this._scope === this.prev.scope)
|
259
|
+
alternate = this._seek(this.prev.axis, this._scoperesults, -1);
|
260
|
+
if (!alternate)
|
261
|
+
alternate = await this._parallel(-1, this.prev.scope);
|
262
|
+
}
|
263
|
+
if (alternate) {
|
264
|
+
this._calculate(alternate);
|
265
|
+
alternate.animation.params.startWidth = this.prev.percent;
|
266
|
+
this.prev = alternate;
|
267
|
+
this.forward = true;
|
268
|
+
}
|
269
|
+
else
|
270
|
+
this.back = false;
|
271
|
+
}
|
272
|
+
private _seek(axis: string, results: Series[], direction: 1 | -1) {
|
273
|
+
let level: Level;
|
274
|
+
for (var i = 0; i < results.length; i++) {
|
275
|
+
let { index, points, title } = results[i],
|
276
|
+
j = 0;
|
277
|
+
while (j < points.length - 1) {
|
278
|
+
let point = points[j];
|
279
|
+
if (point.x === axis) {
|
280
|
+
if ((direction > 0 && j === points.length - 1) || (direction < 0 && j === 0))
|
281
|
+
break;
|
282
|
+
point = points[j + direction];
|
283
|
+
if (!level) level = {
|
284
|
+
axis: point.x,
|
285
|
+
title: point.name,
|
286
|
+
indices: []
|
287
|
+
} as Level;
|
288
|
+
if (index) {
|
289
|
+
let q = j;
|
290
|
+
while (point && point.x !== level.axis)
|
291
|
+
point = points[q += direction];
|
292
|
+
point && level.indices.push({ name: index, title, value: point.y });
|
293
|
+
if (level.value === undefined) level.value = 0;
|
294
|
+
}
|
295
|
+
else
|
296
|
+
level.value = point.y;
|
297
|
+
if (direction > 0 && j < points.length - 2 && points[j + 2].x !== this.current.axis)
|
298
|
+
this.forward = true;
|
299
|
+
break;
|
300
|
+
}
|
301
|
+
else if (index && level && level.axis === point.x)
|
302
|
+
level.indices.push({ name: index, title, value: point.y });
|
303
|
+
j++;
|
304
|
+
}
|
305
|
+
}
|
306
|
+
return level;
|
307
|
+
}
|
308
|
+
async gonext() {
|
309
|
+
let alternate: Level;
|
310
|
+
this.forward = false;
|
311
|
+
if (this.prev.scope)
|
312
|
+
alternate = this._seek(this.prev.axis, this._scoperesults, 1);
|
313
|
+
if (!alternate)
|
314
|
+
alternate = this._seek(this.prev.axis, this._results, 1);
|
315
|
+
if (alternate) {
|
316
|
+
this._calculate(alternate);
|
317
|
+
alternate.animation.params.startWidth = this.prev.percent;
|
318
|
+
this.prev = alternate;
|
319
|
+
this.back = true;
|
320
|
+
}
|
321
|
+
else
|
322
|
+
this.forward = false;
|
323
|
+
}
|
324
|
+
async switchAxis(value: string | number) {
|
325
|
+
const axes = {};
|
326
|
+
axes[this.primaryAxis.name] = value;
|
327
|
+
super.switchAxes(axes);
|
328
|
+
await this._fish(value);
|
329
|
+
this.selectedAxis = value;
|
330
|
+
}
|
331
|
+
/**
|
332
|
+
*
|
333
|
+
* @param level
|
334
|
+
* @param index
|
335
|
+
*/
|
336
|
+
explore(level: Level, index?: string) {
|
337
|
+
if ((!index && level.value === 0) ||
|
338
|
+
(index && level.indices.find(i => i.name === index).value === 0)) return;
|
339
|
+
const { xAxis, parentAxis } = this._viewRef.options;
|
340
|
+
const queryParams = { ...this.axes };
|
341
|
+
queryParams[xAxis] = level.axis;
|
342
|
+
if (level.scope)
|
343
|
+
queryParams[parentAxis] = level.scope;
|
344
|
+
|
345
|
+
this._router.navigate(['cube', this.cube.name, 'explore'], {
|
346
|
+
group: `#${this.model.number}`,
|
347
|
+
queryParams,
|
348
|
+
state: {
|
349
|
+
index
|
350
|
+
}
|
351
|
+
})
|
352
|
+
}
|
353
|
+
private async _parallel(direction: 1 | -1, parentKey: AxisType) {
|
354
|
+
const { xAxis, parentAxis } = this._viewRef.options;
|
355
|
+
if (!parentAxis) return;
|
356
|
+
const parentKeys = await this._ds.keys(this.parentAxis.dataType).toPromise();
|
357
|
+
const
|
358
|
+
keyIndex = parentKeys.indexOf((isArray(parentKey) ? parentKey[0] : parentKey) as string),
|
359
|
+
scope = parentKeys[keyIndex + direction];
|
360
|
+
if (!scope)
|
361
|
+
return;
|
362
|
+
const filters = { ...this.axes } as AxesMap;
|
363
|
+
filters[parentAxis] = scope;
|
364
|
+
delete filters[xAxis];
|
365
|
+
const results = this._scoperesults = await this._service.series(this.cube.name, xAxis, {
|
366
|
+
indices: this.indices, filters
|
367
|
+
}).toPromise();
|
368
|
+
this._scope = scope;
|
369
|
+
if (!results.some(s => s.points.length)) return;
|
370
|
+
const level: Level = {
|
371
|
+
scope,
|
372
|
+
indices: []
|
373
|
+
} as any;
|
374
|
+
const parentTitle = await this._ds.get(this.parentAxis.dataType, scope).toPromise();
|
375
|
+
for (var j = 0; j < results.length; j++) {
|
376
|
+
let { index, title, points, name } = results[j],
|
377
|
+
q = direction > 0 ? 0 : points.length - 1,
|
378
|
+
point = points[q];
|
379
|
+
if (index) {
|
380
|
+
if (level.value === undefined) {
|
381
|
+
level.value = 0,
|
382
|
+
level.title = `${point.name} ${parentTitle}`;
|
383
|
+
level.indices.push({ name: index, title, value: point.y });
|
384
|
+
}
|
385
|
+
else {
|
386
|
+
if (direction > 0) {
|
387
|
+
while (q > 0 && point.x !== level.axis)
|
388
|
+
point = points[q--];
|
389
|
+
q > 0 && level.indices.push({ name, title, value: point.y });
|
390
|
+
}
|
391
|
+
else {
|
392
|
+
while (q < points.length - 1 && point.x !== level.axis)
|
393
|
+
point = points[q++];
|
394
|
+
q < points.length - 1 && level.indices.push({ name, title, value: point.y });
|
395
|
+
}
|
396
|
+
}
|
397
|
+
}
|
398
|
+
else
|
399
|
+
level.axis = point.x,
|
400
|
+
level.value = point.y,
|
401
|
+
level.title = `${point.name} ${parentTitle}`;
|
402
|
+
}
|
403
|
+
return level;
|
404
|
+
}
|
405
|
+
}
|
406
|
+
declare type Level = {
|
407
|
+
indices: {
|
408
|
+
name: string;
|
409
|
+
title: string;
|
410
|
+
value: number;
|
411
|
+
}[],
|
412
|
+
value: number,
|
413
|
+
title: string,
|
414
|
+
axis: string
|
415
|
+
/** parent axis */
|
416
|
+
scope?: string,
|
417
|
+
animation: {
|
418
|
+
value: number,
|
419
|
+
params: {
|
420
|
+
startWidth: number
|
421
|
+
}
|
422
|
+
};
|
423
|
+
chain?: Level;
|
424
|
+
percent: number;
|
425
|
+
};
|
426
|
+
export interface Options {
|
427
|
+
indices: string[] | string;
|
428
|
+
aggregate: string[];
|
429
|
+
xAxis: string;
|
430
|
+
parentAxis?: string;
|
431
|
+
periodPolicy?: 'strict' | null;
|
432
|
+
scope?: ScopeType;
|
433
|
+
}
|
@@ -0,0 +1,34 @@
|
|
1
|
+
<ng-container *ngIf="hasdata; else none">
|
2
|
+
<div class="row toolbar">
|
3
|
+
<button mat-icon-button (click)="guide()" [matTooltip]="'Help' | translate" *ngIf="view.guide"><mat-icon>help_outline</mat-icon></button>
|
4
|
+
<ng-container *ngIf="alternate">
|
5
|
+
<button mat-button [matMenuTriggerFor]="cmenu">{{cube.title}} <mat-icon>arrow_drop_down</mat-icon></button>
|
6
|
+
<mat-menu #cmenu>
|
7
|
+
<button mat-menu-item *ngFor="let a of alternate"
|
8
|
+
(click)="switchTo(a)">
|
9
|
+
{{a.title}}
|
10
|
+
</button>
|
11
|
+
</mat-menu>
|
12
|
+
</ng-container>
|
13
|
+
<span class="divider"></span>
|
14
|
+
<button mat-icon-button [matMenuTriggerFor]="pmenu" [matTooltip]="'Patterns' | translate" [disabled]="!patterns?.length" data-help="pattern"><mat-icon [class.filled]="pattern">filter_alt</mat-icon></button>
|
15
|
+
<mat-menu #pmenu>
|
16
|
+
<button mat-menu-item *ngFor="let p of patterns" (click)="patternChange(p)">
|
17
|
+
{{p.title}}
|
18
|
+
</button>
|
19
|
+
</mat-menu>
|
20
|
+
<button mat-icon-button (click)="clearFilter()" [matTooltip]="'Clear' | translate" [disabled]="!anyFilters"><mat-icon>clear_all</mat-icon></button>
|
21
|
+
<button mat-icon-button (click)="filterToggle($event)" [matTooltip]="'Filter' | translate" [disabled]="!anyAxes" data-help="filter"><mat-icon>filter_list</mat-icon></button>
|
22
|
+
</div>
|
23
|
+
<div class="loading-view" *ngIf="loading">
|
24
|
+
<mat-spinner color="accent"></mat-spinner>
|
25
|
+
</div>
|
26
|
+
<bizdoc-cube-view [axes]="axes" #vp
|
27
|
+
(explore)="explore($event)"
|
28
|
+
[cube]="cube"
|
29
|
+
[view]="view"
|
30
|
+
(loading)="loading = $event"></bizdoc-cube-view>
|
31
|
+
</ng-container>
|
32
|
+
<ng-template #none>
|
33
|
+
<bizdoc-none icon="equalizer" subtitle="NothingHere"></bizdoc-none>
|
34
|
+
</ng-template>
|
@@ -0,0 +1,102 @@
|
|
1
|
+
import { Component, OnInit, ViewChild } from '@angular/core';
|
2
|
+
import { takeUntil } from 'rxjs/operators';
|
3
|
+
import { BizDoc } from '../../core/decorators';
|
4
|
+
import { GuideService } from '../../core/guide/guide.service';
|
5
|
+
import { CubeView } from '../../core/models';
|
6
|
+
import { Popup } from '../../core/popup/popup.service';
|
7
|
+
import { RouterImpl } from '../../core/router';
|
8
|
+
import { SessionService } from '../../core/session.service';
|
9
|
+
import { CubeViewComponent } from '../../cube/cube-view.component';
|
10
|
+
import { CubeService, Pattern } from '../../cube/cube.service';
|
11
|
+
import { AxisClickEvent } from '../../cube/declarations';
|
12
|
+
import { CubeFilterComponent } from '../../cube/filter/filter.component';
|
13
|
+
import { DocumentViewRef } from '../document-view-ref';
|
14
|
+
import { CubeBase } from './cube-base';
|
15
|
+
|
16
|
+
@Component({
|
17
|
+
templateUrl: './view.component.html',
|
18
|
+
styleUrls: ['./view.component.scss']
|
19
|
+
})
|
20
|
+
@BizDoc({
|
21
|
+
selector: 'bizdoc-cube-view'
|
22
|
+
})
|
23
|
+
export
|
24
|
+
class CubeDocumentViewComponent extends CubeBase<Options> implements OnInit {
|
25
|
+
@ViewChild(CubeViewComponent) viewPane: CubeViewComponent;
|
26
|
+
view: CubeView;
|
27
|
+
anyAxes: boolean;
|
28
|
+
constructor(session: SessionService,
|
29
|
+
viewRef: DocumentViewRef<Options>,
|
30
|
+
service: CubeService,
|
31
|
+
private _popup: Popup,
|
32
|
+
private _router: RouterImpl,
|
33
|
+
private _guide: GuideService) {
|
34
|
+
super(viewRef, service, session, true);
|
35
|
+
}
|
36
|
+
onViewBind() {
|
37
|
+
const { view } = this._viewRef.options;
|
38
|
+
|
39
|
+
this.view = this.cube.views.find(v => v.name === view) || this.cube.views[0];
|
40
|
+
|
41
|
+
this._service.patterns(this.cube.name).subscribe(p => this.patterns = p);
|
42
|
+
|
43
|
+
const keys = Object.keys(this.axes);
|
44
|
+
|
45
|
+
this.anyAxes = this.cube.axes.some(a => keys.indexOf(a.name) < 0 && !a.hidden && a.selectionMode !== 'None');
|
46
|
+
}
|
47
|
+
ngOnInit(): void {
|
48
|
+
this._viewRef.resize.subscribe(() => this.viewPane && this.viewPane.resize());
|
49
|
+
}
|
50
|
+
filterToggle(evt: Event) {
|
51
|
+
const popupRef = this._popup.open(CubeFilterComponent, evt.currentTarget as HTMLElement);
|
52
|
+
popupRef.opened.
|
53
|
+
subscribe(e => {
|
54
|
+
e.cube = this.cube.name;
|
55
|
+
e.axes = this.axes;
|
56
|
+
e.exclude = [...this.view.xAxis, ...this.view.series];
|
57
|
+
e.include = this._viewRef.options.filters;
|
58
|
+
e.axesChange.pipe(takeUntil(popupRef.closed)).subscribe(axes => {
|
59
|
+
this.axes = axes
|
60
|
+
this.anyFilters = true;
|
61
|
+
});
|
62
|
+
});
|
63
|
+
}
|
64
|
+
/**
|
65
|
+
*
|
66
|
+
* @param evt
|
67
|
+
*/
|
68
|
+
explore(evt: AxisClickEvent) {
|
69
|
+
const { axes, index } = evt;
|
70
|
+
this._router.navigate(['cube', this.cube.name, 'explore'],
|
71
|
+
{
|
72
|
+
queryParams: axes,
|
73
|
+
state: { index }
|
74
|
+
});
|
75
|
+
}
|
76
|
+
patternChange(pattern: Pattern) {
|
77
|
+
this.pattern = pattern;
|
78
|
+
const axes = {
|
79
|
+
...pattern.axes
|
80
|
+
};
|
81
|
+
this._service.base(this.cube.name, axes, this.originalAxes);
|
82
|
+
this.anyFilters = true;
|
83
|
+
this.axes = axes;
|
84
|
+
}
|
85
|
+
clearFilter() {
|
86
|
+
this.axes = this.aggregate(this.originalAxes);
|
87
|
+
this.anyFilters = false;
|
88
|
+
this.pattern = null;
|
89
|
+
}
|
90
|
+
guide(evt?: Event) {
|
91
|
+
if (this.view.guide) {
|
92
|
+
this._guide.start(this.view.guide);
|
93
|
+
evt && evt.preventDefault();
|
94
|
+
}
|
95
|
+
}
|
96
|
+
}
|
97
|
+
|
98
|
+
interface Options {
|
99
|
+
view: string;
|
100
|
+
aggregate?: string[];
|
101
|
+
filters?: string[];
|
102
|
+
}
|
@@ -0,0 +1,34 @@
|
|
1
|
+
import { HttpClient } from "@angular/common/http";
|
2
|
+
import { BehaviorSubject, Observable } from "rxjs";
|
3
|
+
import { Dimentions, DocumentModel, View } from "../core/models";
|
4
|
+
|
5
|
+
export class DocumentViewRef<O = any, A = any, R = any> {
|
6
|
+
hidden: boolean;
|
7
|
+
public get model(): DocumentModel {
|
8
|
+
return this._model;
|
9
|
+
}
|
10
|
+
|
11
|
+
_resize: BehaviorSubject<Dimentions>;
|
12
|
+
constructor(
|
13
|
+
private _http: HttpClient,
|
14
|
+
private _model: DocumentModel,
|
15
|
+
private _view: View,
|
16
|
+
dim: Dimentions) {
|
17
|
+
this._resize = new BehaviorSubject(dim);
|
18
|
+
}
|
19
|
+
populate(params: A) {
|
20
|
+
return this._http.get<R>('/api/view/' + this._view.name, { params: params as any });
|
21
|
+
}
|
22
|
+
get options(): O {
|
23
|
+
return this._view.options || {};
|
24
|
+
}
|
25
|
+
get name(): string {
|
26
|
+
return this._view.name;
|
27
|
+
}
|
28
|
+
get resize(): Observable<Dimentions> { return this._resize.asObservable(); }
|
29
|
+
get dimentions(): Dimentions { return this._resize.value; }
|
30
|
+
_destroy() {
|
31
|
+
this._resize.complete();
|
32
|
+
}
|
33
|
+
|
34
|
+
}
|