@bizdoc/core 1.13.12 → 1.13.16
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/assets/themes/brown.min.css +3 -3
- package/assets/themes/dark.min.css +3 -3
- package/assets/themes/deep-purple-light-blue.min.css +28 -26
- package/assets/themes/deep-purple-teal.min.css +4 -4
- package/assets/themes/default.min.css +4 -4
- package/assets/themes/green.min.css +3 -3
- package/assets/themes/indigo.min.css +3 -3
- package/bizdoc-core.d.ts +5 -0
- package/esm2020/bizdoc-core.mjs +5 -0
- package/esm2020/lib/admin/admin-dismiss.service.mjs +22 -0
- package/esm2020/lib/admin/admin-menu.component.mjs +27 -0
- package/esm2020/lib/admin/core/ace.input.mjs +147 -0
- package/esm2020/lib/admin/core/color-picker.input.mjs +208 -0
- package/esm2020/lib/admin/core/search.input.mjs +43 -0
- package/esm2020/lib/admin/diff/configuration-diff.component.mjs +558 -0
- package/esm2020/lib/admin/document-trace/document-trace.component.mjs +469 -0
- package/esm2020/lib/admin/document-trace/reassign.dialog.mjs +40 -0
- package/esm2020/lib/admin/document-trace/timeline.mjs +2 -0
- package/esm2020/lib/admin/document-trace/trace-element.component.mjs +105 -0
- package/esm2020/lib/admin/form/form.resolve.service.mjs +17 -0
- package/esm2020/lib/admin/form/form.service.mjs +26 -0
- package/esm2020/lib/admin/form/workflow/node-ref.mjs +8 -0
- package/esm2020/lib/admin/form/workflow/node.component.mjs +128 -0
- package/esm2020/lib/admin/form/workflow/role-node.component.mjs +90 -0
- package/esm2020/lib/admin/form/workflow/workflow.component.mjs +408 -0
- package/esm2020/lib/admin/indices/manage-cube-index.component.mjs +161 -0
- package/esm2020/lib/admin/patterns/patterns.component.mjs +179 -0
- package/esm2020/lib/admin/permissions/permissions.component.mjs +97 -0
- package/esm2020/lib/admin/positions/positions-popup.component.mjs +74 -0
- package/esm2020/lib/admin/positions/positions.component.mjs +458 -0
- package/esm2020/lib/admin/profiler/profiler.component.mjs +260 -0
- package/esm2020/lib/admin/utility-ref.mjs +38 -0
- package/esm2020/lib/admin/utility-wrapper.component.mjs +51 -0
- package/esm2020/lib/admin/utility.pane.component.mjs +51 -0
- package/esm2020/lib/app.component.mjs +90 -0
- package/esm2020/lib/bizdoc.module.mjs +93 -0
- package/esm2020/lib/browse/browse-items.component.mjs +476 -0
- package/esm2020/lib/browse/browse.mobile.component.mjs +101 -0
- package/esm2020/lib/browse/browse.pane.component.mjs +149 -0
- package/esm2020/lib/browse/expanded-item/expanded-item.component.mjs +315 -0
- package/esm2020/lib/browse/filter/filter.component.mjs +164 -0
- package/esm2020/lib/browse/folders-menu.component.mjs +51 -0
- package/esm2020/lib/chat/chat-info.mjs +69 -0
- package/esm2020/lib/chat/chat.mobile.component.mjs +26 -0
- package/esm2020/lib/chat/chat.service.mjs +122 -0
- package/esm2020/lib/chat/contacts.component.mjs +103 -0
- package/esm2020/lib/chat/contacts.pane.component.mjs +29 -0
- package/esm2020/lib/chat/conversation.component.mjs +193 -0
- package/esm2020/lib/chat/conversation.pane.component.mjs +44 -0
- package/esm2020/lib/compose/action/action-picker.component.mjs +84 -0
- package/esm2020/lib/compose/action/action-ref.mjs +19 -0
- package/esm2020/lib/compose/action/action.base.mjs +49 -0
- package/esm2020/lib/compose/action/action.dialog.mjs +61 -0
- package/esm2020/lib/compose/action/action.pane.dialog.exp.mjs +72 -0
- package/esm2020/lib/compose/action/assign-action.component.mjs +90 -0
- package/esm2020/lib/compose/action/return-action.component.mjs +52 -0
- package/esm2020/lib/compose/attachments/attachments.component.mjs +127 -0
- package/esm2020/lib/compose/attachments/preview/attachment-preview.component.mjs +155 -0
- package/esm2020/lib/compose/attachments/progress-button.directive.mjs +25 -0
- package/esm2020/lib/compose/can-deactivate-changes.service.mjs +27 -0
- package/esm2020/lib/compose/comments/Comments.pane.component.mjs +49 -0
- package/esm2020/lib/compose/comments/comment.component.mjs +186 -0
- package/esm2020/lib/compose/comments/comments.component.mjs +227 -0
- package/esm2020/lib/compose/comments/edit-comment.component.mjs +32 -0
- package/esm2020/lib/compose/comments/edits.component.mjs +30 -0
- package/esm2020/lib/compose/comments/quick-comment.component.exp.mjs +63 -0
- package/esm2020/lib/compose/comments/votes.component.mjs +42 -0
- package/esm2020/lib/compose/compose-resolve.service.mjs +55 -0
- package/esm2020/lib/compose/compose.mobile.component.mjs +112 -0
- package/esm2020/lib/compose/compose.pane.component.mjs +201 -0
- package/esm2020/lib/compose/copy/copy.dialog.mjs +46 -0
- package/esm2020/lib/compose/dismiss.service.mjs +25 -0
- package/esm2020/lib/compose/document-resolver.service.mjs +17 -0
- package/esm2020/lib/compose/document.component.mjs +45 -0
- package/esm2020/lib/compose/document.mobile.component.mjs +22 -0
- package/esm2020/lib/compose/document.pane.component.mjs +26 -0
- package/esm2020/lib/compose/events/events.component.mjs +30 -0
- package/esm2020/lib/compose/form-ref.mjs +46 -0
- package/esm2020/lib/compose/form-selector/form-selector.sheet.mjs +82 -0
- package/esm2020/lib/compose/form.component.mjs +447 -0
- package/esm2020/lib/compose/new-menu.component.mjs +104 -0
- package/esm2020/lib/compose/privilage.directive.mjs +64 -0
- package/esm2020/lib/compose/recipient-resolver.service.mjs +18 -0
- package/esm2020/lib/compose/save-changes.dialog.mjs +18 -0
- package/esm2020/lib/compose/state.component.mjs +37 -0
- package/esm2020/lib/compose/tag/tags.component.mjs +91 -0
- package/esm2020/lib/compose/trace/flow.component.mjs +656 -0
- package/esm2020/lib/compose/trace/people.component.mjs +35 -0
- package/esm2020/lib/compose/trace/trace.base.mjs +71 -0
- package/esm2020/lib/compose/trace/trace.component.mjs +345 -0
- package/esm2020/lib/compose/trace/trace.pane.component.mjs +52 -0
- package/esm2020/lib/compose/version-compare/version-compare.component.mjs +53 -0
- package/esm2020/lib/compose/version-compare/version-compare.directive.mjs +344 -0
- package/esm2020/lib/compose/version-compare/version.pane.component.mjs +56 -0
- package/esm2020/lib/core/NgComponentOutlet.mjs +38 -0
- package/esm2020/lib/core/account.service.mjs +37 -0
- package/esm2020/lib/core/animated-icon/animated-icon.directive.mjs +17 -0
- package/esm2020/lib/core/animations.mjs +156 -0
- package/esm2020/lib/core/authentication.mjs +3 -0
- package/esm2020/lib/core/avatar/avatar.component.mjs +103 -0
- package/esm2020/lib/core/base.mjs +2 -0
- package/esm2020/lib/core/colors.mjs +322 -0
- package/esm2020/lib/core/component-factory-resolver.mjs +64 -0
- package/esm2020/lib/core/configuration.mjs +16 -0
- package/esm2020/lib/core/controls/address.input.mjs +193 -0
- package/esm2020/lib/core/controls/auto-complete.input.mjs +256 -0
- package/esm2020/lib/core/controls/combination-picker-body.mjs +173 -0
- package/esm2020/lib/core/controls/combination-picker.mjs +277 -0
- package/esm2020/lib/core/controls/combination-pool.mjs +105 -0
- package/esm2020/lib/core/controls/file.input.mjs +392 -0
- package/esm2020/lib/core/controls/select.input.mjs +237 -0
- package/esm2020/lib/core/controls/time-picker.mjs +196 -0
- package/esm2020/lib/core/controls/timespan.input.mjs +207 -0
- package/esm2020/lib/core/datasource.service.mjs +75 -0
- package/esm2020/lib/core/decorators.mjs +46 -0
- package/esm2020/lib/core/firebase.service.mjs +50 -0
- package/esm2020/lib/core/functions.mjs +200 -0
- package/esm2020/lib/core/guide/guide.component.mjs +219 -0
- package/esm2020/lib/core/guide/guide.service.mjs +107 -0
- package/esm2020/lib/core/http.interceptor.mjs +79 -0
- package/esm2020/lib/core/hub.service.mjs +108 -0
- package/esm2020/lib/core/identity/identity.component.mjs +67 -0
- package/esm2020/lib/core/info/attachment-info.service.mjs +51 -0
- package/esm2020/lib/core/info/document-info.service.mjs +21 -0
- package/esm2020/lib/core/info/location-info.component.mjs +61 -0
- package/esm2020/lib/core/info/map-info.mjs +40 -0
- package/esm2020/lib/core/layout/autocomplete.field.mjs +60 -0
- package/esm2020/lib/core/layout/checkbox.field.mjs +41 -0
- package/esm2020/lib/core/layout/checkbox.mjs +35 -0
- package/esm2020/lib/core/layout/date-range.field.mjs +53 -0
- package/esm2020/lib/core/layout/date.field.mjs +52 -0
- package/esm2020/lib/core/layout/expression.field.mjs +51 -0
- package/esm2020/lib/core/layout/file.field.mjs +47 -0
- package/esm2020/lib/core/layout/html.field.mjs +48 -0
- package/esm2020/lib/core/layout/input.base.mjs +11 -0
- package/esm2020/lib/core/layout/input.field.mjs +64 -0
- package/esm2020/lib/core/layout/layout.component.mjs +196 -0
- package/esm2020/lib/core/layout/numeric.field.mjs +47 -0
- package/esm2020/lib/core/layout/select.field.mjs +82 -0
- package/esm2020/lib/core/layout/switch.field.mjs +41 -0
- package/esm2020/lib/core/layout/textarea.field.mjs +42 -0
- package/esm2020/lib/core/layout/timespan.field.mjs +50 -0
- package/esm2020/lib/core/lottie-animation.mjs +46 -0
- package/esm2020/lib/core/mailbox.service.mjs +395 -0
- package/esm2020/lib/core/models.mjs +40 -0
- package/esm2020/lib/core/none.component.mjs +40 -0
- package/esm2020/lib/core/pipes/action.pipe.mjs +25 -0
- package/esm2020/lib/core/pipes/calendar.pipe.mjs +72 -0
- package/esm2020/lib/core/pipes/date-format.pipe.mjs +19 -0
- package/esm2020/lib/core/pipes/daterange.pipe.mjs +62 -0
- package/esm2020/lib/core/pipes/difference.pipe.mjs +15 -0
- package/esm2020/lib/core/pipes/duration-format.pipe.mjs +48 -0
- package/esm2020/lib/core/pipes/duration.pipe.mjs +19 -0
- package/esm2020/lib/core/pipes/form.pipe.mjs +25 -0
- package/esm2020/lib/core/pipes/join.pipe.mjs +18 -0
- package/esm2020/lib/core/pipes/role.pipe.mjs +25 -0
- package/esm2020/lib/core/pipes/sanitize-html.pipe.mjs +18 -0
- package/esm2020/lib/core/pipes/sort.pipe.mjs +48 -0
- package/esm2020/lib/core/pipes/state.pipe.mjs +25 -0
- package/esm2020/lib/core/pipes/time-ago.pipe.mjs +66 -0
- package/esm2020/lib/core/pipes/translate.pipe.mjs +38 -0
- package/esm2020/lib/core/pipes/type-value.pipe.mjs +42 -0
- package/esm2020/lib/core/pipes/user-name.pipe.mjs +21 -0
- package/esm2020/lib/core/popup/popup-ref.mjs +20 -0
- package/esm2020/lib/core/popup/popup.component.mjs +37 -0
- package/esm2020/lib/core/popup/popup.service.mjs +148 -0
- package/esm2020/lib/core/popup/tooltip.directive.mjs +82 -0
- package/esm2020/lib/core/prompt/ask/ask.dialog.mjs +29 -0
- package/esm2020/lib/core/prompt/mask/mask.component.mjs +21 -0
- package/esm2020/lib/core/prompt.service.mjs +86 -0
- package/esm2020/lib/core/router.mjs +35 -0
- package/esm2020/lib/core/session.service.mjs +247 -0
- package/esm2020/lib/core/slots/pane-ref.mjs +125 -0
- package/esm2020/lib/core/slots/router.directive.mjs +70 -0
- package/esm2020/lib/core/slots/router.service.mjs +36 -0
- package/esm2020/lib/core/slots/slots.component.mjs +1049 -0
- package/esm2020/lib/core/tagging/documents.component.mjs +25 -0
- package/esm2020/lib/core/tagging/edit-input.component.mjs +233 -0
- package/esm2020/lib/core/tagging/emoji.component.mjs +35 -0
- package/esm2020/lib/core/tagging/tagging-item.directive.mjs +39 -0
- package/esm2020/lib/core/tagging/tagging.component-base.mjs +29 -0
- package/esm2020/lib/core/tagging/tagging.directive.mjs +138 -0
- package/esm2020/lib/core/tagging/tagging.pipe.mjs +72 -0
- package/esm2020/lib/core/tagging/users.component.mjs +32 -0
- package/esm2020/lib/core/translate.service.mjs +99 -0
- package/esm2020/lib/core/translations.mjs +1104 -0
- package/esm2020/lib/core/window-title.service.mjs +53 -0
- package/esm2020/lib/cube/accum/accum.component.mjs +257 -0
- package/esm2020/lib/cube/chart/chart.component.mjs +326 -0
- package/esm2020/lib/cube/cube-info.service.mjs +100 -0
- package/esm2020/lib/cube/cube-menu.component.mjs +27 -0
- package/esm2020/lib/cube/cube-view.component.mjs +186 -0
- package/esm2020/lib/cube/cube.service.mjs +407 -0
- package/esm2020/lib/cube/declarations.mjs +2 -0
- package/esm2020/lib/cube/explore/document-item.component.mjs +38 -0
- package/esm2020/lib/cube/explore/explore-item.component.mjs +27 -0
- package/esm2020/lib/cube/explore/explore-items.component.mjs +186 -0
- package/esm2020/lib/cube/explore/explore.pane.component.mjs +81 -0
- package/esm2020/lib/cube/explore/item-resolver.service.mjs +32 -0
- package/esm2020/lib/cube/explore/item.pane.component.mjs +23 -0
- package/esm2020/lib/cube/filter/filter-tags.component.exp.mjs +75 -0
- package/esm2020/lib/cube/filter/filter.component.mjs +137 -0
- package/esm2020/lib/cube/grid/grid.component.mjs +217 -0
- package/esm2020/lib/cube/grid/spreadsheet.component.mjs +365 -0
- package/esm2020/lib/cube/matrix/matrix.base.mjs +127 -0
- package/esm2020/lib/cube/matrix/matrix.mobile.component.mjs +63 -0
- package/esm2020/lib/cube/matrix/matrix.pane.component.mjs +76 -0
- package/esm2020/lib/cube/matrix/popup.component.mjs +70 -0
- package/esm2020/lib/cube/matrix/table.component.mjs +489 -0
- package/esm2020/lib/cube/parallel/item.mjs +41 -0
- package/esm2020/lib/cube/parallel/parallel.component.mjs +160 -0
- package/esm2020/lib/cube/pivot/pivot.component.mjs +500 -0
- package/esm2020/lib/cube/sum/sum.component.mjs +404 -0
- package/esm2020/lib/cube/view-base.mjs +79 -0
- package/esm2020/lib/cube/view.mobile.component.mjs +127 -0
- package/esm2020/lib/cube/view.pane.component.mjs +84 -0
- package/esm2020/lib/dashboard/actions/actions.widget.mjs +126 -0
- package/esm2020/lib/dashboard/cube/accum-cube.widget.mjs +145 -0
- package/esm2020/lib/dashboard/cube/cube-analysis.base.mjs +90 -0
- package/esm2020/lib/dashboard/cube/cube-analysis.widget.mjs +53 -0
- package/esm2020/lib/dashboard/cube/cube-chart.widget.mjs +144 -0
- package/esm2020/lib/dashboard/cube/documents.widget.mjs +64 -0
- package/esm2020/lib/dashboard/cube/filter/filter.component.mjs +59 -0
- package/esm2020/lib/dashboard/dashboard.component.mjs +47 -0
- package/esm2020/lib/dashboard/dashboard.pane.component.mjs +24 -0
- package/esm2020/lib/dashboard/recents/recents.widget.mjs +98 -0
- package/esm2020/lib/dashboard/score/activity.widget.mjs +162 -0
- package/esm2020/lib/dashboard/score/compare-departments.widget.mjs +204 -0
- package/esm2020/lib/dashboard/score/peers-performance.widget.mjs +253 -0
- package/esm2020/lib/dashboard/score/pending-results.widget.mjs +64 -0
- package/esm2020/lib/dashboard/score/personal-score.widget.mjs +219 -0
- package/esm2020/lib/dashboard/widget-item.component.mjs +89 -0
- package/esm2020/lib/dashboard/widget-ref.mjs +18 -0
- package/esm2020/lib/desktop.module.mjs +144 -0
- package/esm2020/lib/home/about/about.dialog.mjs +26 -0
- package/esm2020/lib/home/home-base.component.mjs +91 -0
- package/esm2020/lib/home/home.desktop.component.mjs +201 -0
- package/esm2020/lib/home/home.mobile.component.mjs +116 -0
- package/esm2020/lib/home/notifications/notifications.component.mjs +67 -0
- package/esm2020/lib/home/options/options.component.mjs +94 -0
- package/esm2020/lib/home/outofoffice/outofoffice.component.mjs +38 -0
- package/esm2020/lib/home/search.service.mjs +75 -0
- package/esm2020/lib/home/sign/sign.component.mjs +54 -0
- package/esm2020/lib/home/tools.component.mjs +82 -0
- package/esm2020/lib/impersonate/impersonate.component.mjs +65 -0
- package/esm2020/lib/mobile.module.mjs +59 -0
- package/esm2020/lib/modules/chart.module.mjs +37 -0
- package/esm2020/lib/modules/circular-gauge.module.mjs +17 -0
- package/esm2020/lib/modules/date.adapter.mjs +30 -0
- package/esm2020/lib/modules/datepicker.intl.mjs +39 -0
- package/esm2020/lib/modules/diagram.module.mjs +34 -0
- package/esm2020/lib/modules/gantt.module.mjs +17 -0
- package/esm2020/lib/modules/grid.module.mjs +23 -0
- package/esm2020/lib/modules/material.module.mjs +188 -0
- package/esm2020/lib/modules/paginator.intl.mjs +21 -0
- package/esm2020/lib/modules/pivot.module.mjs +23 -0
- package/esm2020/lib/modules/schedule.module.mjs +21 -0
- package/esm2020/lib/modules/spreadsheet.module.mjs +28 -0
- package/esm2020/lib/modules/stepper.intl.mjs +17 -0
- package/esm2020/lib/modules/texteditor.module.mjs +27 -0
- package/esm2020/lib/notifications/filter.component.mjs +25 -0
- package/esm2020/lib/notifications/notifications-table.component.mjs +106 -0
- package/esm2020/lib/notifications/notifications.component-base.mjs +47 -0
- package/esm2020/lib/notifications/notifications.mobile.component.mjs +20 -0
- package/esm2020/lib/notifications/notifications.pane.component.mjs +23 -0
- package/esm2020/lib/notifications/notifications.service.mjs +71 -0
- package/esm2020/lib/notifications/types/commented.notification.mjs +53 -0
- package/esm2020/lib/notifications/types/cube-anomaly.notification.mjs +58 -0
- package/esm2020/lib/notifications/types/escalated.notification.mjs +33 -0
- package/esm2020/lib/notifications/types/liked.notification.mjs +50 -0
- package/esm2020/lib/notifications/types/long-running-task.notification.mjs +31 -0
- package/esm2020/lib/notifications/types/notification-base.mjs +40 -0
- package/esm2020/lib/notifications/types/nudge.notification.mjs +31 -0
- package/esm2020/lib/notifications/types/state-changed.notification.mjs +30 -0
- package/esm2020/lib/notifications/types/tagged.notification.mjs +43 -0
- package/esm2020/lib/notifications/types/text.notification.mjs +20 -0
- package/esm2020/lib/notifications/types/upcoming-event.notification.mjs +36 -0
- package/esm2020/lib/options/options.component.mjs +227 -0
- package/esm2020/lib/options/options.service.mjs +38 -0
- package/esm2020/lib/reports/arguments-component.mjs +83 -0
- package/esm2020/lib/reports/cube/documents.component.mjs +40 -0
- package/esm2020/lib/reports/cube/grid-documents.component.mjs +72 -0
- package/esm2020/lib/reports/cube/table-documents.component.mjs +56 -0
- package/esm2020/lib/reports/cube/usage-args.component.mjs +61 -0
- package/esm2020/lib/reports/cube/usage-base.mjs +79 -0
- package/esm2020/lib/reports/cube/usage-chart.component.mjs +353 -0
- package/esm2020/lib/reports/cube/usage-pivot.component.mjs +239 -0
- package/esm2020/lib/reports/cube/usage.component.mjs +40 -0
- package/esm2020/lib/reports/report-ref.mjs +31 -0
- package/esm2020/lib/reports/report-viewer.component.mjs +154 -0
- package/esm2020/lib/reports/report.mobile.component.mjs +120 -0
- package/esm2020/lib/reports/report.pane.component.mjs +88 -0
- package/esm2020/lib/reports/reports-menu.component.mjs +26 -0
- package/esm2020/lib/reports/substitution/substitution.component.mjs +40 -0
- package/esm2020/lib/reports/table/table-view.component.mjs +41 -0
- package/esm2020/lib/reports/tasks/tasks.component.mjs +95 -0
- package/esm2020/lib/routes.desktop.mjs +197 -0
- package/esm2020/lib/routes.mobile.mjs +69 -0
- package/esm2020/lib/scheduler/schedule.component.mjs +166 -0
- package/esm2020/lib/scheduler/scheduler.mobile.component.mjs +37 -0
- package/esm2020/lib/scheduler/scheduler.pane.component.mjs +53 -0
- package/esm2020/lib/shared.module.mjs +528 -0
- package/esm2020/lib/system.module.mjs +110 -0
- package/esm2020/lib/views/cube/chart.component.mjs +75 -0
- package/esm2020/lib/views/cube/cube-base.mjs +96 -0
- package/esm2020/lib/views/cube/explore.component.mjs +83 -0
- package/esm2020/lib/views/cube/matrix.component.mjs +97 -0
- package/esm2020/lib/views/cube/parallel.component.mjs +53 -0
- package/esm2020/lib/views/cube/pivot.component.mjs +51 -0
- package/esm2020/lib/views/cube/sum.component.mjs +64 -0
- package/esm2020/lib/views/cube/view.component.mjs +102 -0
- package/esm2020/lib/views/document-view-ref.mjs +27 -0
- package/esm2020/lib/views/timeline/timeline.component.exp.mjs +313 -0
- package/esm2020/lib/views/view-item.component.mjs +70 -0
- package/esm2020/lib/views/views.component.mjs +25 -0
- package/esm2020/lib/views/views.mobile.component.mjs +20 -0
- package/esm2020/lib/views/views.pane.component.mjs +31 -0
- package/esm2020/public-api.mjs +142 -0
- package/fesm2015/bizdoc-core.mjs +29625 -0
- package/fesm2015/bizdoc-core.mjs.map +1 -0
- package/fesm2020/bizdoc-core.mjs +29415 -0
- package/fesm2020/bizdoc-core.mjs.map +1 -0
- package/lib/admin/admin-dismiss.service.d.ts +14 -0
- package/lib/admin/admin-menu.component.d.ts +12 -0
- package/lib/admin/core/ace.input.d.ts +52 -0
- package/lib/admin/core/color-picker.input.d.ts +64 -0
- package/lib/admin/core/search.input.d.ts +13 -0
- package/lib/admin/diff/configuration-diff.component.d.ts +116 -0
- package/lib/admin/document-trace/document-trace.component.d.ts +83 -0
- package/lib/admin/document-trace/reassign.dialog.d.ts +22 -0
- package/lib/admin/document-trace/timeline.d.ts +40 -0
- package/lib/admin/document-trace/trace-element.component.d.ts +37 -0
- package/lib/admin/form/form.resolve.service.d.ts +12 -0
- package/lib/admin/form/form.service.d.ts +13 -0
- package/lib/admin/form/workflow/node-ref.d.ts +7 -0
- package/lib/admin/form/workflow/node.component.d.ts +37 -0
- package/lib/admin/form/workflow/role-node.component.d.ts +22 -0
- package/lib/admin/form/workflow/workflow.component.d.ts +73 -0
- package/lib/admin/indices/manage-cube-index.component.d.ts +54 -0
- package/lib/admin/patterns/patterns.component.d.ts +79 -0
- package/lib/admin/permissions/permissions.component.d.ts +45 -0
- package/lib/admin/positions/positions-popup.component.d.ts +39 -0
- package/lib/admin/positions/positions.component.d.ts +117 -0
- package/lib/admin/profiler/profiler.component.d.ts +108 -0
- package/lib/admin/utility-ref.d.ts +19 -0
- package/lib/admin/utility-wrapper.component.d.ts +28 -0
- package/lib/admin/utility.pane.component.d.ts +24 -0
- package/lib/app.component.d.ts +24 -0
- package/lib/bizdoc.module.d.ts +18 -0
- package/lib/browse/browse-items.component.d.ts +104 -0
- package/lib/browse/browse.mobile.component.d.ts +39 -0
- package/lib/browse/browse.pane.component.d.ts +50 -0
- package/lib/browse/expanded-item/expanded-item.component.d.ts +67 -0
- package/lib/browse/filter/filter.component.d.ts +71 -0
- package/lib/browse/folders-menu.component.d.ts +22 -0
- package/lib/chat/chat-info.d.ts +37 -0
- package/lib/chat/chat.mobile.component.d.ts +10 -0
- package/lib/chat/chat.service.d.ts +38 -0
- package/lib/chat/contacts.component.d.ts +38 -0
- package/lib/chat/contacts.pane.component.d.ts +12 -0
- package/lib/chat/conversation.component.d.ts +56 -0
- package/lib/chat/conversation.pane.component.d.ts +16 -0
- package/lib/compose/action/action-picker.component.d.ts +25 -0
- package/lib/compose/action/action-ref.d.ts +10 -0
- package/lib/compose/action/action.base.d.ts +15 -0
- package/lib/compose/action/action.dialog.d.ts +29 -0
- package/lib/compose/action/action.pane.dialog.exp.d.ts +31 -0
- package/lib/compose/action/assign-action.component.d.ts +36 -0
- package/lib/compose/action/return-action.component.d.ts +17 -0
- package/lib/compose/attachments/attachments.component.d.ts +35 -0
- package/lib/compose/attachments/preview/attachment-preview.component.d.ts +49 -0
- package/lib/compose/attachments/progress-button.directive.d.ts +12 -0
- package/lib/compose/can-deactivate-changes.service.d.ts +12 -0
- package/lib/compose/comments/Comments.pane.component.d.ts +18 -0
- package/lib/compose/comments/comment.component.d.ts +51 -0
- package/lib/compose/comments/comments.component.d.ts +66 -0
- package/lib/compose/comments/edit-comment.component.d.ts +25 -0
- package/lib/compose/comments/edits.component.d.ts +26 -0
- package/lib/compose/comments/quick-comment.component.exp.d.ts +28 -0
- package/lib/compose/comments/votes.component.d.ts +22 -0
- package/lib/compose/compose-resolve.service.d.ts +27 -0
- package/lib/compose/compose.mobile.component.d.ts +42 -0
- package/lib/compose/compose.pane.component.d.ts +57 -0
- package/lib/compose/copy/copy.dialog.d.ts +23 -0
- package/lib/compose/dismiss.service.d.ts +12 -0
- package/lib/compose/document-resolver.service.d.ts +12 -0
- package/lib/compose/document.component.d.ts +18 -0
- package/lib/compose/document.mobile.component.d.ts +10 -0
- package/lib/compose/document.pane.component.d.ts +12 -0
- package/lib/compose/events/events.component.d.ts +13 -0
- package/lib/compose/form-ref.d.ts +30 -0
- package/lib/compose/form-selector/form-selector.sheet.d.ts +28 -0
- package/lib/compose/form.component.d.ts +97 -0
- package/lib/compose/new-menu.component.d.ts +36 -0
- package/lib/compose/privilage.directive.d.ts +26 -0
- package/lib/compose/recipient-resolver.service.d.ts +12 -0
- package/lib/compose/save-changes.dialog.d.ts +7 -0
- package/lib/compose/state.component.d.ts +12 -0
- package/lib/compose/tag/tags.component.d.ts +36 -0
- package/lib/compose/trace/flow.component.d.ts +59 -0
- package/lib/compose/trace/people.component.d.ts +18 -0
- package/lib/compose/trace/trace.base.d.ts +28 -0
- package/lib/compose/trace/trace.component.d.ts +55 -0
- package/lib/compose/trace/trace.pane.component.d.ts +20 -0
- package/lib/compose/version-compare/version-compare.component.d.ts +24 -0
- package/lib/compose/version-compare/version-compare.directive.d.ts +89 -0
- package/lib/compose/version-compare/version.pane.component.d.ts +21 -0
- package/lib/core/NgComponentOutlet.d.ts +15 -0
- package/lib/core/account.service.d.ts +18 -0
- package/lib/core/animated-icon/animated-icon.directive.d.ts +7 -0
- package/lib/core/animations.d.ts +26 -0
- package/lib/core/authentication.d.ts +6 -0
- package/lib/core/avatar/avatar.component.d.ts +34 -0
- package/lib/core/base.d.ts +29 -0
- package/lib/core/colors.d.ts +6 -0
- package/lib/core/component-factory-resolver.d.ts +12 -0
- package/lib/core/configuration.d.ts +111 -0
- package/lib/core/controls/address.input.d.ts +63 -0
- package/lib/core/controls/auto-complete.input.d.ts +86 -0
- package/lib/core/controls/combination-picker-body.d.ts +114 -0
- package/lib/core/controls/combination-picker.d.ts +82 -0
- package/lib/core/controls/combination-pool.d.ts +42 -0
- package/lib/core/controls/file.input.d.ts +88 -0
- package/lib/core/controls/select.input.d.ts +84 -0
- package/lib/core/controls/time-picker.d.ts +52 -0
- package/lib/core/controls/timespan.input.d.ts +55 -0
- package/lib/core/datasource.service.d.ts +46 -0
- package/lib/core/decorators.d.ts +17 -0
- package/lib/core/firebase.service.d.ts +17 -0
- package/lib/core/functions.d.ts +50 -0
- package/lib/core/guide/guide.component.d.ts +31 -0
- package/lib/core/guide/guide.service.d.ts +32 -0
- package/lib/core/http.interceptor.d.ts +21 -0
- package/lib/core/hub.service.d.ts +133 -0
- package/lib/core/identity/identity.component.d.ts +29 -0
- package/lib/core/info/attachment-info.service.d.ts +17 -0
- package/lib/core/info/document-info.service.d.ts +14 -0
- package/lib/core/info/location-info.component.d.ts +28 -0
- package/lib/core/info/map-info.d.ts +15 -0
- package/lib/core/layout/autocomplete.field.d.ts +21 -0
- package/lib/core/layout/checkbox.d.ts +10 -0
- package/lib/core/layout/checkbox.field.d.ts +11 -0
- package/lib/core/layout/date-range.field.d.ts +13 -0
- package/lib/core/layout/date.field.d.ts +11 -0
- package/lib/core/layout/expression.field.d.ts +12 -0
- package/lib/core/layout/file.field.d.ts +14 -0
- package/lib/core/layout/html.field.d.ts +12 -0
- package/lib/core/layout/input.base.d.ts +10 -0
- package/lib/core/layout/input.field.d.ts +14 -0
- package/lib/core/layout/layout.component.d.ts +33 -0
- package/lib/core/layout/numeric.field.d.ts +11 -0
- package/lib/core/layout/select.field.d.ts +22 -0
- package/lib/core/layout/switch.field.d.ts +11 -0
- package/lib/core/layout/textarea.field.d.ts +11 -0
- package/lib/core/layout/timespan.field.d.ts +11 -0
- package/lib/core/lottie-animation.d.ts +14 -0
- package/lib/core/mailbox.service.d.ts +141 -0
- package/lib/core/models.d.ts +649 -0
- package/lib/core/none.component.d.ts +9 -0
- package/lib/core/pipes/action.pipe.d.ts +10 -0
- package/lib/core/pipes/calendar.pipe.d.ts +27 -0
- package/lib/core/pipes/date-format.pipe.d.ts +8 -0
- package/lib/core/pipes/daterange.pipe.d.ts +15 -0
- package/lib/core/pipes/difference.pipe.d.ts +7 -0
- package/lib/core/pipes/duration-format.pipe.d.ts +11 -0
- package/lib/core/pipes/duration.pipe.d.ts +8 -0
- package/lib/core/pipes/form.pipe.d.ts +10 -0
- package/lib/core/pipes/join.pipe.d.ts +10 -0
- package/lib/core/pipes/role.pipe.d.ts +10 -0
- package/lib/core/pipes/sanitize-html.pipe.d.ts +10 -0
- package/lib/core/pipes/sort.pipe.d.ts +12 -0
- package/lib/core/pipes/state.pipe.d.ts +10 -0
- package/lib/core/pipes/time-ago.pipe.d.ts +16 -0
- package/lib/core/pipes/translate.pipe.d.ts +18 -0
- package/lib/core/pipes/type-value.pipe.d.ts +15 -0
- package/lib/core/pipes/user-name.pipe.d.ts +11 -0
- package/lib/core/popup/popup-ref.d.ts +14 -0
- package/lib/core/popup/popup.component.d.ts +22 -0
- package/lib/core/popup/popup.service.d.ts +24 -0
- package/lib/core/popup/tooltip.directive.d.ts +29 -0
- package/lib/core/prompt/ask/ask.dialog.d.ts +22 -0
- package/lib/core/prompt/mask/mask.component.d.ts +10 -0
- package/lib/core/prompt.service.d.ts +36 -0
- package/lib/core/router.d.ts +20 -0
- package/lib/core/session.service.d.ts +80 -0
- package/lib/core/slots/pane-ref.d.ts +113 -0
- package/lib/core/slots/router.directive.d.ts +25 -0
- package/lib/core/slots/router.service.d.ts +36 -0
- package/lib/core/slots/slots.component.d.ts +183 -0
- package/lib/core/tagging/documents.component.d.ts +11 -0
- package/lib/core/tagging/edit-input.component.d.ts +65 -0
- package/lib/core/tagging/emoji.component.d.ts +18 -0
- package/lib/core/tagging/tagging-item.directive.d.ts +15 -0
- package/lib/core/tagging/tagging.component-base.d.ts +19 -0
- package/lib/core/tagging/tagging.directive.d.ts +34 -0
- package/lib/core/tagging/tagging.pipe.d.ts +24 -0
- package/lib/core/tagging/users.component.d.ts +15 -0
- package/lib/core/translate.service.d.ts +28 -0
- package/lib/core/translations.d.ts +1097 -0
- package/lib/core/window-title.service.d.ts +21 -0
- package/lib/cube/accum/accum.component.d.ts +63 -0
- package/lib/cube/chart/chart.component.d.ts +74 -0
- package/lib/cube/cube-info.service.d.ts +77 -0
- package/lib/cube/cube-menu.component.d.ts +12 -0
- package/lib/cube/cube-view.component.d.ts +31 -0
- package/lib/cube/cube.service.d.ts +267 -0
- package/lib/cube/declarations.d.ts +23 -0
- package/lib/cube/explore/document-item.component.d.ts +16 -0
- package/lib/cube/explore/explore-item.component.d.ts +14 -0
- package/lib/cube/explore/explore-items.component.d.ts +57 -0
- package/lib/cube/explore/explore.pane.component.d.ts +29 -0
- package/lib/cube/explore/item-resolver.service.d.ts +20 -0
- package/lib/cube/explore/item.pane.component.d.ts +13 -0
- package/lib/cube/filter/filter-tags.component.exp.d.ts +31 -0
- package/lib/cube/filter/filter.component.d.ts +44 -0
- package/lib/cube/grid/grid.component.d.ts +59 -0
- package/lib/cube/grid/spreadsheet.component.d.ts +62 -0
- package/lib/cube/matrix/matrix.base.d.ts +72 -0
- package/lib/cube/matrix/matrix.mobile.component.d.ts +22 -0
- package/lib/cube/matrix/matrix.pane.component.d.ts +23 -0
- package/lib/cube/matrix/popup.component.d.ts +23 -0
- package/lib/cube/matrix/table.component.d.ts +100 -0
- package/lib/cube/parallel/item.d.ts +13 -0
- package/lib/cube/parallel/parallel.component.d.ts +52 -0
- package/lib/cube/pivot/pivot.component.d.ts +103 -0
- package/lib/cube/sum/sum.component.d.ts +78 -0
- package/lib/cube/view-base.d.ts +39 -0
- package/lib/cube/view.mobile.component.d.ts +46 -0
- package/lib/cube/view.pane.component.d.ts +27 -0
- package/lib/dashboard/actions/actions.widget.d.ts +39 -0
- package/lib/dashboard/cube/accum-cube.widget.d.ts +33 -0
- package/lib/dashboard/cube/cube-analysis.base.d.ts +59 -0
- package/lib/dashboard/cube/cube-analysis.widget.d.ts +17 -0
- package/lib/dashboard/cube/cube-chart.widget.d.ts +32 -0
- package/lib/dashboard/cube/documents.widget.d.ts +30 -0
- package/lib/dashboard/cube/filter/filter.component.d.ts +22 -0
- package/lib/dashboard/dashboard.component.d.ts +20 -0
- package/lib/dashboard/dashboard.pane.component.d.ts +8 -0
- package/lib/dashboard/recents/recents.widget.d.ts +40 -0
- package/lib/dashboard/score/activity.widget.d.ts +50 -0
- package/lib/dashboard/score/compare-departments.widget.d.ts +51 -0
- package/lib/dashboard/score/peers-performance.widget.d.ts +65 -0
- package/lib/dashboard/score/pending-results.widget.d.ts +28 -0
- package/lib/dashboard/score/personal-score.widget.d.ts +57 -0
- package/lib/dashboard/widget-item.component.d.ts +31 -0
- package/lib/dashboard/widget-ref.d.ts +11 -0
- package/lib/desktop.module.d.ts +45 -0
- package/lib/home/about/about.dialog.d.ts +14 -0
- package/lib/home/home-base.component.d.ts +34 -0
- package/lib/home/home.desktop.component.d.ts +56 -0
- package/lib/home/home.mobile.component.d.ts +38 -0
- package/lib/home/notifications/notifications.component.d.ts +28 -0
- package/lib/home/options/options.component.d.ts +46 -0
- package/lib/home/outofoffice/outofoffice.component.d.ts +19 -0
- package/lib/home/search.service.d.ts +23 -0
- package/lib/home/sign/sign.component.d.ts +17 -0
- package/lib/home/tools.component.d.ts +36 -0
- package/lib/impersonate/impersonate.component.d.ts +27 -0
- package/lib/mobile.module.d.ts +25 -0
- package/lib/modules/chart.module.d.ts +7 -0
- package/lib/modules/circular-gauge.module.d.ts +7 -0
- package/lib/modules/date.adapter.d.ts +13 -0
- package/lib/modules/datepicker.intl.d.ts +30 -0
- package/lib/modules/diagram.module.d.ts +8 -0
- package/lib/modules/gantt.module.d.ts +7 -0
- package/lib/modules/grid.module.d.ts +7 -0
- package/lib/modules/material.module.d.ts +45 -0
- package/lib/modules/paginator.intl.d.ts +14 -0
- package/lib/modules/pivot.module.d.ts +7 -0
- package/lib/modules/schedule.module.d.ts +7 -0
- package/lib/modules/spreadsheet.module.d.ts +8 -0
- package/lib/modules/stepper.intl.d.ts +10 -0
- package/lib/modules/texteditor.module.d.ts +8 -0
- package/lib/notifications/filter.component.d.ts +9 -0
- package/lib/notifications/notifications-table.component.d.ts +32 -0
- package/lib/notifications/notifications.component-base.d.ts +12 -0
- package/lib/notifications/notifications.mobile.component.d.ts +8 -0
- package/lib/notifications/notifications.pane.component.d.ts +8 -0
- package/lib/notifications/notifications.service.d.ts +24 -0
- package/lib/notifications/types/commented.notification.d.ts +26 -0
- package/lib/notifications/types/cube-anomaly.notification.d.ts +29 -0
- package/lib/notifications/types/escalated.notification.d.ts +25 -0
- package/lib/notifications/types/liked.notification.d.ts +25 -0
- package/lib/notifications/types/long-running-task.notification.d.ts +21 -0
- package/lib/notifications/types/notification-base.d.ts +20 -0
- package/lib/notifications/types/nudge.notification.d.ts +23 -0
- package/lib/notifications/types/state-changed.notification.d.ts +22 -0
- package/lib/notifications/types/tagged.notification.d.ts +26 -0
- package/lib/notifications/types/text.notification.d.ts +13 -0
- package/lib/notifications/types/upcoming-event.notification.d.ts +20 -0
- package/lib/options/options.component.d.ts +66 -0
- package/lib/options/options.service.d.ts +14 -0
- package/lib/reports/arguments-component.d.ts +27 -0
- package/lib/reports/cube/documents.component.d.ts +34 -0
- package/lib/reports/cube/grid-documents.component.d.ts +28 -0
- package/lib/reports/cube/table-documents.component.d.ts +28 -0
- package/lib/reports/cube/usage-args.component.d.ts +21 -0
- package/lib/reports/cube/usage-base.d.ts +72 -0
- package/lib/reports/cube/usage-chart.component.d.ts +62 -0
- package/lib/reports/cube/usage-pivot.component.d.ts +62 -0
- package/lib/reports/cube/usage.component.d.ts +16 -0
- package/lib/reports/report-ref.d.ts +27 -0
- package/lib/reports/report-viewer.component.d.ts +48 -0
- package/lib/reports/report.mobile.component.d.ts +45 -0
- package/lib/reports/report.pane.component.d.ts +34 -0
- package/lib/reports/reports-menu.component.d.ts +12 -0
- package/lib/reports/substitution/substitution.component.d.ts +23 -0
- package/lib/reports/table/table-view.component.d.ts +19 -0
- package/lib/reports/tasks/tasks.component.d.ts +68 -0
- package/lib/routes.desktop.d.ts +2 -0
- package/lib/routes.mobile.d.ts +2 -0
- package/lib/scheduler/schedule.component.d.ts +43 -0
- package/lib/scheduler/scheduler.mobile.component.d.ts +14 -0
- package/lib/scheduler/scheduler.pane.component.d.ts +20 -0
- package/lib/shared.module.d.ts +187 -0
- package/lib/system.module.d.ts +32 -0
- package/lib/views/cube/chart.component.d.ts +39 -0
- package/lib/views/cube/cube-base.d.ts +46 -0
- package/lib/views/cube/explore.component.d.ts +43 -0
- package/lib/views/cube/matrix.component.d.ts +51 -0
- package/lib/views/cube/parallel.component.d.ts +32 -0
- package/lib/views/cube/pivot.component.d.ts +34 -0
- package/lib/views/cube/sum.component.d.ts +33 -0
- package/lib/views/cube/view.component.d.ts +40 -0
- package/lib/views/document-view-ref.d.ts +18 -0
- package/lib/views/timeline/timeline.component.exp.d.ts +66 -0
- package/lib/views/view-item.component.d.ts +28 -0
- package/lib/views/views.component.d.ts +14 -0
- package/lib/views/views.mobile.component.d.ts +10 -0
- package/lib/views/views.pane.component.d.ts +12 -0
- package/package.json +78 -78
- package/public-api.d.ts +144 -0
- package/LICENSE.md +0 -1
- package/karma.conf.js +0 -44
- package/ng-package.json +0 -11
- package/src/lib/admin/admin-dismiss.service.ts +0 -24
- package/src/lib/admin/admin-menu.component.html +0 -18
- package/src/lib/admin/admin-menu.component.ts +0 -20
- package/src/lib/admin/core/ace.input.ts +0 -133
- package/src/lib/admin/core/color-picker.input.scss +0 -17
- package/src/lib/admin/core/color-picker.input.ts +0 -175
- package/src/lib/admin/core/search.input.ts +0 -32
- package/src/lib/admin/diff/_configuration-diff-theme.scss +0 -72
- package/src/lib/admin/diff/configuration-diff.component.html +0 -24
- package/src/lib/admin/diff/configuration-diff.component.scss +0 -16
- package/src/lib/admin/diff/configuration-diff.component.ts +0 -552
- package/src/lib/admin/document-trace/_timeline-theme.scss +0 -70
- package/src/lib/admin/document-trace/document-trace.component.html +0 -55
- package/src/lib/admin/document-trace/document-trace.component.scss +0 -10
- package/src/lib/admin/document-trace/document-trace.component.ts +0 -471
- package/src/lib/admin/document-trace/reassign.dialog.html +0 -24
- package/src/lib/admin/document-trace/reassign.dialog.ts +0 -34
- package/src/lib/admin/document-trace/timeline.ts +0 -45
- package/src/lib/admin/document-trace/trace-element.component.html +0 -57
- package/src/lib/admin/document-trace/trace-element.component.scss +0 -21
- package/src/lib/admin/document-trace/trace-element.component.ts +0 -106
- package/src/lib/admin/form/form.resolve.service.ts +0 -13
- package/src/lib/admin/form/form.service.ts +0 -23
- package/src/lib/admin/form/workflow/node-ref.ts +0 -8
- package/src/lib/admin/form/workflow/node.component.html +0 -36
- package/src/lib/admin/form/workflow/node.component.scss +0 -4
- package/src/lib/admin/form/workflow/node.component.ts +0 -129
- package/src/lib/admin/form/workflow/role-node.component.html +0 -40
- package/src/lib/admin/form/workflow/role-node.component.ts +0 -66
- package/src/lib/admin/form/workflow/tools.component.exp.ts +0 -13
- package/src/lib/admin/form/workflow/tools.component.html +0 -1
- package/src/lib/admin/form/workflow/workflow.component.html +0 -73
- package/src/lib/admin/form/workflow/workflow.component.scss +0 -52
- package/src/lib/admin/form/workflow/workflow.component.ts +0 -400
- package/src/lib/admin/indices/manage-cube-index.component.html +0 -35
- package/src/lib/admin/indices/manage-cube-index.component.scss +0 -16
- package/src/lib/admin/indices/manage-cube-index.component.ts +0 -155
- package/src/lib/admin/patterns/patterns.component.html +0 -70
- package/src/lib/admin/patterns/patterns.component.ts +0 -166
- package/src/lib/admin/permissions/permissions.component.html +0 -21
- package/src/lib/admin/permissions/permissions.component.scss +0 -7
- package/src/lib/admin/permissions/permissions.component.ts +0 -89
- package/src/lib/admin/positions/positions-popup.component.html +0 -23
- package/src/lib/admin/positions/positions-popup.component.ts +0 -68
- package/src/lib/admin/positions/positions.component.html +0 -148
- package/src/lib/admin/positions/positions.component.scss +0 -14
- package/src/lib/admin/positions/positions.component.ts +0 -463
- package/src/lib/admin/profiler/profiler.component.html +0 -109
- package/src/lib/admin/profiler/profiler.component.scss +0 -22
- package/src/lib/admin/profiler/profiler.component.ts +0 -268
- package/src/lib/admin/utility-ref.ts +0 -44
- package/src/lib/admin/utility-wrapper.component.ts +0 -52
- package/src/lib/admin/utility.pane.component.ts +0 -49
- package/src/lib/app.component.ts +0 -89
- package/src/lib/bizdoc.module.ts +0 -71
- package/src/lib/browse/_browse-theme.scss +0 -86
- package/src/lib/browse/browse-items.component.html +0 -171
- package/src/lib/browse/browse-items.component.scss +0 -52
- package/src/lib/browse/browse-items.component.ts +0 -455
- package/src/lib/browse/browse.mobile.component.html +0 -33
- package/src/lib/browse/browse.mobile.component.ts +0 -90
- package/src/lib/browse/browse.pane.component.html +0 -43
- package/src/lib/browse/browse.pane.component.scss +0 -4
- package/src/lib/browse/browse.pane.component.ts +0 -141
- package/src/lib/browse/expanded-item/expanded-item.component.html +0 -38
- package/src/lib/browse/expanded-item/expanded-item.component.scss +0 -35
- package/src/lib/browse/expanded-item/expanded-item.component.ts +0 -333
- package/src/lib/browse/filter/filter.component.html +0 -50
- package/src/lib/browse/filter/filter.component.scss +0 -10
- package/src/lib/browse/filter/filter.component.ts +0 -156
- package/src/lib/browse/folders-menu.component.html +0 -20
- package/src/lib/browse/folders-menu.component.scss +0 -15
- package/src/lib/browse/folders-menu.component.ts +0 -42
- package/src/lib/chat/_chat-theme.scss +0 -95
- package/src/lib/chat/chat-info.ts +0 -76
- package/src/lib/chat/chat-pool.component.exp.ts +0 -117
- package/src/lib/chat/chat-pool.component.html +0 -13
- package/src/lib/chat/chat-pool.component.scss +0 -10
- package/src/lib/chat/chat.mobile.component.html +0 -6
- package/src/lib/chat/chat.mobile.component.scss +0 -8
- package/src/lib/chat/chat.mobile.component.ts +0 -18
- package/src/lib/chat/chat.service.ts +0 -128
- package/src/lib/chat/contacts.component.html +0 -37
- package/src/lib/chat/contacts.component.scss +0 -49
- package/src/lib/chat/contacts.component.ts +0 -88
- package/src/lib/chat/contacts.pane.component.ts +0 -25
- package/src/lib/chat/conversation.component.html +0 -28
- package/src/lib/chat/conversation.component.scss +0 -14
- package/src/lib/chat/conversation.component.ts +0 -186
- package/src/lib/chat/conversation.pane.component.ts +0 -46
- package/src/lib/compose/_compose-theme.scss +0 -63
- package/src/lib/compose/action/action-picker.component.html +0 -25
- package/src/lib/compose/action/action-picker.component.scss +0 -4
- package/src/lib/compose/action/action-picker.component.ts +0 -72
- package/src/lib/compose/action/action-ref.ts +0 -19
- package/src/lib/compose/action/action.base.ts +0 -58
- package/src/lib/compose/action/action.dialog.html +0 -17
- package/src/lib/compose/action/action.dialog.scss +0 -1
- package/src/lib/compose/action/action.dialog.ts +0 -57
- package/src/lib/compose/action/action.pane.dialog.exp.ts +0 -77
- package/src/lib/compose/action/action.pane.dialog.html +0 -12
- package/src/lib/compose/action/assign-action.component.html +0 -35
- package/src/lib/compose/action/assign-action.component.ts +0 -77
- package/src/lib/compose/action/return-action.component.html +0 -13
- package/src/lib/compose/action/return-action.component.ts +0 -38
- package/src/lib/compose/attachments/attachments.component.html +0 -23
- package/src/lib/compose/attachments/attachments.component.scss +0 -21
- package/src/lib/compose/attachments/attachments.component.ts +0 -114
- package/src/lib/compose/attachments/preview/attachment-preview.component.html +0 -15
- package/src/lib/compose/attachments/preview/attachment-preview.component.scss +0 -36
- package/src/lib/compose/attachments/preview/attachment-preview.component.ts +0 -140
- package/src/lib/compose/attachments/progress-button.directive.ts +0 -18
- package/src/lib/compose/can-deactivate-changes.service.ts +0 -22
- package/src/lib/compose/comments/_comments-theme.scss +0 -82
- package/src/lib/compose/comments/comment.component.html +0 -36
- package/src/lib/compose/comments/comment.component.ts +0 -160
- package/src/lib/compose/comments/comments.component.html +0 -27
- package/src/lib/compose/comments/comments.component.scss +0 -33
- package/src/lib/compose/comments/comments.component.ts +0 -220
- package/src/lib/compose/comments/comments.pane.component.ts +0 -41
- package/src/lib/compose/comments/edit-comment.component.html +0 -3
- package/src/lib/compose/comments/edit-comment.component.ts +0 -35
- package/src/lib/compose/comments/edits.component.html +0 -7
- package/src/lib/compose/comments/edits.component.ts +0 -33
- package/src/lib/compose/comments/quick-comment.component.exp.ts +0 -60
- package/src/lib/compose/comments/quick-comment.component.html +0 -5
- package/src/lib/compose/comments/quick-comment.component.scss +0 -11
- package/src/lib/compose/comments/votes.component.html +0 -7
- package/src/lib/compose/comments/votes.component.ts +0 -38
- package/src/lib/compose/compose-resolve.service.ts +0 -42
- package/src/lib/compose/compose.mobile.component.html +0 -67
- package/src/lib/compose/compose.mobile.component.scss +0 -14
- package/src/lib/compose/compose.mobile.component.ts +0 -97
- package/src/lib/compose/compose.pane.component.html +0 -67
- package/src/lib/compose/compose.pane.component.scss +0 -6
- package/src/lib/compose/compose.pane.component.ts +0 -187
- package/src/lib/compose/copy/copy.dialog.html +0 -21
- package/src/lib/compose/copy/copy.dialog.ts +0 -40
- package/src/lib/compose/dismiss.service.ts +0 -26
- package/src/lib/compose/document-resolver.service.ts +0 -13
- package/src/lib/compose/document.component.html +0 -5
- package/src/lib/compose/document.component.ts +0 -41
- package/src/lib/compose/document.mobile.component.ts +0 -20
- package/src/lib/compose/document.pane.component.ts +0 -22
- package/src/lib/compose/events/events.component.html +0 -6
- package/src/lib/compose/events/events.component.ts +0 -21
- package/src/lib/compose/form-ref.ts +0 -53
- package/src/lib/compose/form-selector/form-selector.sheet.html +0 -10
- package/src/lib/compose/form-selector/form-selector.sheet.ts +0 -74
- package/src/lib/compose/form.component.html +0 -13
- package/src/lib/compose/form.component.ts +0 -446
- package/src/lib/compose/maps/maps.component.html +0 -3
- package/src/lib/compose/maps/maps.component.ts +0 -22
- package/src/lib/compose/new-menu.component.html +0 -13
- package/src/lib/compose/new-menu.component.scss +0 -11
- package/src/lib/compose/new-menu.component.ts +0 -106
- package/src/lib/compose/privilage.directive.ts +0 -43
- package/src/lib/compose/recipient-resolver.service.ts +0 -15
- package/src/lib/compose/save-changes.dialog.html +0 -13
- package/src/lib/compose/save-changes.dialog.ts +0 -10
- package/src/lib/compose/state.component.ts +0 -29
- package/src/lib/compose/tag/tags.component.html +0 -22
- package/src/lib/compose/tag/tags.component.scss +0 -1
- package/src/lib/compose/tag/tags.component.ts +0 -83
- package/src/lib/compose/trace/flow.component.html +0 -19
- package/src/lib/compose/trace/flow.component.scss +0 -7
- package/src/lib/compose/trace/flow.component.ts +0 -695
- package/src/lib/compose/trace/people.component.ts +0 -33
- package/src/lib/compose/trace/trace.base.ts +0 -72
- package/src/lib/compose/trace/trace.component.html +0 -57
- package/src/lib/compose/trace/trace.component.scss +0 -21
- package/src/lib/compose/trace/trace.component.ts +0 -368
- package/src/lib/compose/trace/trace.pane.component.html +0 -3
- package/src/lib/compose/trace/trace.pane.component.scss +0 -5
- package/src/lib/compose/trace/trace.pane.component.ts +0 -47
- package/src/lib/compose/version-compare/_compare-theme.scss +0 -147
- package/src/lib/compose/version-compare/version-compare.component.ts +0 -49
- package/src/lib/compose/version-compare/version-compare.directive.ts +0 -292
- package/src/lib/compose/version-compare/version.pane.component.html +0 -19
- package/src/lib/compose/version-compare/version.pane.component.scss +0 -8
- package/src/lib/compose/version-compare/version.pane.component.ts +0 -53
- package/src/lib/core/NgComponentOutlet.ts +0 -31
- package/src/lib/core/account.service.ts +0 -30
- package/src/lib/core/animated-icon/animated-icon.directive.html +0 -3
- package/src/lib/core/animated-icon/animated-icon.directive.scss +0 -12
- package/src/lib/core/animated-icon/animated-icon.directive.ts +0 -41
- package/src/lib/core/animations.ts +0 -207
- package/src/lib/core/authentication.ts +0 -7
- package/src/lib/core/avatar/_avatar-theme.scss +0 -60
- package/src/lib/core/avatar/avatar.component.html +0 -6
- package/src/lib/core/avatar/avatar.component.ts +0 -108
- package/src/lib/core/base.ts +0 -47
- package/src/lib/core/can-activate.service.exp.ts +0 -31
- package/src/lib/core/colors.ts +0 -322
- package/src/lib/core/component-factory-resolver.ts +0 -67
- package/src/lib/core/configuration.ts +0 -121
- package/src/lib/core/controls/_daterange-theme.scss +0 -16
- package/src/lib/core/controls/address.input.ts +0 -163
- package/src/lib/core/controls/auto-complete.input.ts +0 -218
- package/src/lib/core/controls/combination-picker-body.html +0 -34
- package/src/lib/core/controls/combination-picker-body.scss +0 -40
- package/src/lib/core/controls/combination-picker-body.ts +0 -194
- package/src/lib/core/controls/combination-picker.html +0 -6
- package/src/lib/core/controls/combination-picker.scss +0 -9
- package/src/lib/core/controls/combination-picker.ts +0 -243
- package/src/lib/core/controls/combination-pool.html +0 -10
- package/src/lib/core/controls/combination-pool.scss +0 -35
- package/src/lib/core/controls/combination-pool.ts +0 -92
- package/src/lib/core/controls/file.input.html +0 -48
- package/src/lib/core/controls/file.input.scss +0 -40
- package/src/lib/core/controls/file.input.ts +0 -363
- package/src/lib/core/controls/select.input.ts +0 -211
- package/src/lib/core/controls/time-picker.html +0 -4
- package/src/lib/core/controls/time-picker.ts +0 -199
- package/src/lib/core/controls/timespan.input.ts +0 -175
- package/src/lib/core/datasource.service.ts +0 -80
- package/src/lib/core/decorators.ts +0 -56
- package/src/lib/core/firebase.service.ts +0 -55
- package/src/lib/core/functions.ts +0 -241
- package/src/lib/core/guide/_guide-theme.scss +0 -197
- package/src/lib/core/guide/guide.component.html +0 -20
- package/src/lib/core/guide/guide.component.ts +0 -210
- package/src/lib/core/guide/guide.service.ts +0 -98
- package/src/lib/core/http.interceptor.ts +0 -80
- package/src/lib/core/hub.service.ts +0 -202
- package/src/lib/core/identity/identity.component.html +0 -2
- package/src/lib/core/identity/identity.component.ts +0 -57
- package/src/lib/core/info/attachment-info.service.ts +0 -48
- package/src/lib/core/info/document-info.service.ts +0 -14
- package/src/lib/core/info/location-info.component.scss +0 -13
- package/src/lib/core/info/location-info.component.ts +0 -64
- package/src/lib/core/info/map-info.ts +0 -33
- package/src/lib/core/layout/autocomplete.field.ts +0 -41
- package/src/lib/core/layout/checkbox.field.ts +0 -21
- package/src/lib/core/layout/checkbox.scss +0 -13
- package/src/lib/core/layout/checkbox.ts +0 -21
- package/src/lib/core/layout/date-range.field.ts +0 -32
- package/src/lib/core/layout/date.field.ts +0 -26
- package/src/lib/core/layout/expression.field.ts +0 -26
- package/src/lib/core/layout/file.field.ts +0 -27
- package/src/lib/core/layout/html.field.ts +0 -28
- package/src/lib/core/layout/input.base.ts +0 -12
- package/src/lib/core/layout/input.field.ts +0 -43
- package/src/lib/core/layout/layout.component.scss +0 -9
- package/src/lib/core/layout/layout.component.ts +0 -189
- package/src/lib/core/layout/numeric.field.ts +0 -24
- package/src/lib/core/layout/select.field.ts +0 -52
- package/src/lib/core/layout/switch.field.ts +0 -21
- package/src/lib/core/layout/textarea.field.ts +0 -21
- package/src/lib/core/layout/timespan.field.ts +0 -25
- package/src/lib/core/lottie-animation.ts +0 -37
- package/src/lib/core/mailbox.service.ts +0 -453
- package/src/lib/core/models.ts +0 -681
- package/src/lib/core/none.component.scss +0 -26
- package/src/lib/core/none.component.ts +0 -28
- package/src/lib/core/pipes/action.pipe.ts +0 -18
- package/src/lib/core/pipes/calendar.pipe.ts +0 -84
- package/src/lib/core/pipes/date-format.pipe.ts +0 -12
- package/src/lib/core/pipes/daterange.pipe.ts +0 -45
- package/src/lib/core/pipes/difference.pipe.ts +0 -9
- package/src/lib/core/pipes/duration-format.pipe.ts +0 -42
- package/src/lib/core/pipes/duration.pipe.ts +0 -13
- package/src/lib/core/pipes/form.pipe.ts +0 -19
- package/src/lib/core/pipes/join.pipe.ts +0 -10
- package/src/lib/core/pipes/role.pipe.ts +0 -19
- package/src/lib/core/pipes/sanitize-html.pipe.ts +0 -10
- package/src/lib/core/pipes/sort.pipe.ts +0 -34
- package/src/lib/core/pipes/state.pipe.ts +0 -19
- package/src/lib/core/pipes/time-ago.pipe.ts +0 -59
- package/src/lib/core/pipes/translate.pipe.ts +0 -22
- package/src/lib/core/pipes/type-value.pipe.ts +0 -37
- package/src/lib/core/pipes/user-name.pipe.ts +0 -14
- package/src/lib/core/popup/_popup-theme.scss +0 -363
- package/src/lib/core/popup/popup-ref.ts +0 -19
- package/src/lib/core/popup/popup.component.html +0 -6
- package/src/lib/core/popup/popup.component.ts +0 -40
- package/src/lib/core/popup/popup.service.ts +0 -156
- package/src/lib/core/popup/tooltip.directive.ts +0 -58
- package/src/lib/core/prompt/ask/ask.dialog.html +0 -6
- package/src/lib/core/prompt/ask/ask.dialog.ts +0 -35
- package/src/lib/core/prompt/mask/mask.component.html +0 -1
- package/src/lib/core/prompt/mask/mask.component.scss +0 -14
- package/src/lib/core/prompt/mask/mask.component.ts +0 -15
- package/src/lib/core/prompt.service.ts +0 -81
- package/src/lib/core/router.ts +0 -29
- package/src/lib/core/session.service.ts +0 -255
- package/src/lib/core/slots/_slots-theme.scss +0 -140
- package/src/lib/core/slots/extended-tab.component.exp.ts +0 -35
- package/src/lib/core/slots/extended-tab.component.html +0 -0
- package/src/lib/core/slots/intro.pane.component.exp.ts +0 -23
- package/src/lib/core/slots/intro.pane.component.html +0 -22
- package/src/lib/core/slots/intro.pane.component.scss +0 -8
- package/src/lib/core/slots/pane-ref.ts +0 -162
- package/src/lib/core/slots/router.directive.ts +0 -55
- package/src/lib/core/slots/router.service.ts +0 -54
- package/src/lib/core/slots/slot.component.exp.ts +0 -49
- package/src/lib/core/slots/slot.component.html +0 -15
- package/src/lib/core/slots/slot.component.scss +0 -18
- package/src/lib/core/slots/slots.component.html +0 -67
- package/src/lib/core/slots/slots.component.scss +0 -163
- package/src/lib/core/slots/slots.component.ts +0 -1171
- package/src/lib/core/tagging/documents.component.html +0 -11
- package/src/lib/core/tagging/documents.component.ts +0 -19
- package/src/lib/core/tagging/edit-input.component.html +0 -41
- package/src/lib/core/tagging/edit-input.component.scss +0 -21
- package/src/lib/core/tagging/edit-input.component.ts +0 -211
- package/src/lib/core/tagging/emoji.component.ts +0 -23
- package/src/lib/core/tagging/tagging-item.directive.ts +0 -34
- package/src/lib/core/tagging/tagging.component-base.ts +0 -29
- package/src/lib/core/tagging/tagging.component.scss +0 -22
- package/src/lib/core/tagging/tagging.directive.ts +0 -130
- package/src/lib/core/tagging/tagging.pipe.ts +0 -76
- package/src/lib/core/tagging/users.component.html +0 -13
- package/src/lib/core/tagging/users.component.ts +0 -28
- package/src/lib/core/translate.service.ts +0 -103
- package/src/lib/core/translations.ts +0 -1104
- package/src/lib/core/window-title.service.ts +0 -54
- package/src/lib/cube/accum/accum.component.html +0 -16
- package/src/lib/cube/accum/accum.component.ts +0 -265
- package/src/lib/cube/chart/chart.component.html +0 -32
- package/src/lib/cube/chart/chart.component.ts +0 -329
- package/src/lib/cube/cube-info.service.ts +0 -135
- package/src/lib/cube/cube-menu.component.html +0 -13
- package/src/lib/cube/cube-menu.component.ts +0 -18
- package/src/lib/cube/cube-view.component.html +0 -66
- package/src/lib/cube/cube-view.component.ts +0 -186
- package/src/lib/cube/cube.service.ts +0 -483
- package/src/lib/cube/declarations.ts +0 -24
- package/src/lib/cube/explore/document-item.component.ts +0 -28
- package/src/lib/cube/explore/explore-item.component.scss +0 -4
- package/src/lib/cube/explore/explore-item.component.ts +0 -23
- package/src/lib/cube/explore/explore-items.component.html +0 -25
- package/src/lib/cube/explore/explore-items.component.scss +0 -7
- package/src/lib/cube/explore/explore-items.component.ts +0 -185
- package/src/lib/cube/explore/explore.pane.component.html +0 -12
- package/src/lib/cube/explore/explore.pane.component.ts +0 -75
- package/src/lib/cube/explore/item-resolver.service.ts +0 -24
- package/src/lib/cube/explore/item.pane.component.html +0 -3
- package/src/lib/cube/explore/item.pane.component.ts +0 -23
- package/src/lib/cube/filter/filter-tags.component.exp.ts +0 -70
- package/src/lib/cube/filter/filter-tags.component.html +0 -11
- package/src/lib/cube/filter/filter-tags.component.scss +0 -0
- package/src/lib/cube/filter/filter-tags.component.spec.ts +0 -25
- package/src/lib/cube/filter/filter.component.html +0 -25
- package/src/lib/cube/filter/filter.component.scss +0 -8
- package/src/lib/cube/filter/filter.component.ts +0 -116
- package/src/lib/cube/grid/grid.component.html +0 -29
- package/src/lib/cube/grid/grid.component.scss +0 -10
- package/src/lib/cube/grid/grid.component.ts +0 -223
- package/src/lib/cube/grid/spreadsheet.component.ts +0 -380
- package/src/lib/cube/matrix/_matrix.theme.scss +0 -86
- package/src/lib/cube/matrix/matrix.base.ts +0 -149
- package/src/lib/cube/matrix/matrix.mobile.component.html +0 -28
- package/src/lib/cube/matrix/matrix.mobile.component.ts +0 -60
- package/src/lib/cube/matrix/matrix.pane.component.html +0 -34
- package/src/lib/cube/matrix/matrix.pane.component.scss +0 -10
- package/src/lib/cube/matrix/matrix.pane.component.ts +0 -71
- package/src/lib/cube/matrix/popup.component.html +0 -32
- package/src/lib/cube/matrix/popup.component.scss +0 -7
- package/src/lib/cube/matrix/popup.component.ts +0 -57
- package/src/lib/cube/matrix/table.component.html +0 -43
- package/src/lib/cube/matrix/table.component.scss +0 -21
- package/src/lib/cube/matrix/table.component.ts +0 -514
- package/src/lib/cube/parallel/item.ts +0 -47
- package/src/lib/cube/parallel/parallel.component.html +0 -17
- package/src/lib/cube/parallel/parallel.component.scss +0 -13
- package/src/lib/cube/parallel/parallel.component.ts +0 -167
- package/src/lib/cube/pivot/pivot.component.html +0 -14
- package/src/lib/cube/pivot/pivot.component.ts +0 -514
- package/src/lib/cube/sum/_sum.theme.scss +0 -63
- package/src/lib/cube/sum/sum.component.html +0 -60
- package/src/lib/cube/sum/sum.component.scss +0 -94
- package/src/lib/cube/sum/sum.component.ts +0 -438
- package/src/lib/cube/view-base.ts +0 -82
- package/src/lib/cube/view.mobile.component.html +0 -38
- package/src/lib/cube/view.mobile.component.scss +0 -9
- package/src/lib/cube/view.mobile.component.ts +0 -115
- package/src/lib/cube/view.pane.component.html +0 -25
- package/src/lib/cube/view.pane.component.scss +0 -12
- package/src/lib/cube/view.pane.component.ts +0 -76
- package/src/lib/dashboard/_table.widget.scss +0 -19
- package/src/lib/dashboard/actions/actions.widget.html +0 -6
- package/src/lib/dashboard/actions/actions.widget.ts +0 -118
- package/src/lib/dashboard/cube/accum-cube.widget.html +0 -15
- package/src/lib/dashboard/cube/accum-cube.widget.ts +0 -154
- package/src/lib/dashboard/cube/cube-analysis.base.ts +0 -113
- package/src/lib/dashboard/cube/cube-analysis.widget.ts +0 -44
- package/src/lib/dashboard/cube/cube-chart.widget.html +0 -7
- package/src/lib/dashboard/cube/cube-chart.widget.ts +0 -144
- package/src/lib/dashboard/cube/documents.widget.html +0 -19
- package/src/lib/dashboard/cube/documents.widget.ts +0 -57
- package/src/lib/dashboard/cube/filter/filter.component.html +0 -3
- package/src/lib/dashboard/cube/filter/filter.component.ts +0 -51
- package/src/lib/dashboard/cube/gauge.component.exp.ts +0 -18
- package/src/lib/dashboard/dashboard.component.html +0 -18
- package/src/lib/dashboard/dashboard.component.scss +0 -36
- package/src/lib/dashboard/dashboard.component.ts +0 -45
- package/src/lib/dashboard/dashboard.pane.component.ts +0 -19
- package/src/lib/dashboard/recents/recents.widget.html +0 -32
- package/src/lib/dashboard/recents/recents.widget.scss +0 -9
- package/src/lib/dashboard/recents/recents.widget.ts +0 -89
- package/src/lib/dashboard/score/activity.widget.html +0 -9
- package/src/lib/dashboard/score/activity.widget.ts +0 -164
- package/src/lib/dashboard/score/compare-departments.widget.html +0 -8
- package/src/lib/dashboard/score/compare-departments.widget.ts +0 -210
- package/src/lib/dashboard/score/peers-performance.widget.html +0 -23
- package/src/lib/dashboard/score/peers-performance.widget.ts +0 -254
- package/src/lib/dashboard/score/pending-results.widget.html +0 -29
- package/src/lib/dashboard/score/pending-results.widget.ts +0 -57
- package/src/lib/dashboard/score/personal-score.widget.html +0 -18
- package/src/lib/dashboard/score/personal-score.widget.ts +0 -225
- package/src/lib/dashboard/widget-item.component.ts +0 -90
- package/src/lib/dashboard/widget-ref.ts +0 -20
- package/src/lib/desktop.module.ts +0 -98
- package/src/lib/home/_home-theme.scss +0 -156
- package/src/lib/home/about/about.dialog.html +0 -19
- package/src/lib/home/about/about.dialog.ts +0 -18
- package/src/lib/home/home-base.component.ts +0 -100
- package/src/lib/home/home.desktop.component.html +0 -87
- package/src/lib/home/home.desktop.component.scss +0 -66
- package/src/lib/home/home.desktop.component.ts +0 -188
- package/src/lib/home/home.mobile.component.html +0 -81
- package/src/lib/home/home.mobile.component.scss +0 -49
- package/src/lib/home/home.mobile.component.ts +0 -105
- package/src/lib/home/notifications/notifications.component.html +0 -18
- package/src/lib/home/notifications/notifications.component.scss +0 -36
- package/src/lib/home/notifications/notifications.component.ts +0 -55
- package/src/lib/home/options/options.component.html +0 -41
- package/src/lib/home/options/options.component.scss +0 -16
- package/src/lib/home/options/options.component.ts +0 -95
- package/src/lib/home/outofoffice/outofoffice.component.html +0 -5
- package/src/lib/home/outofoffice/outofoffice.component.scss +0 -10
- package/src/lib/home/outofoffice/outofoffice.component.ts +0 -33
- package/src/lib/home/progress-bar.directive.exp.ts +0 -24
- package/src/lib/home/search.service.ts +0 -87
- package/src/lib/home/sign/sign.component.html +0 -15
- package/src/lib/home/sign/sign.component.ts +0 -42
- package/src/lib/home/submenu.directive.exp.ts +0 -43
- package/src/lib/home/tools.component.html +0 -27
- package/src/lib/home/tools.component.scss +0 -15
- package/src/lib/home/tools.component.ts +0 -72
- package/src/lib/home/welcome/welcome.dialog.exp.ts +0 -35
- package/src/lib/home/welcome/welcome.dialog.html +0 -14
- package/src/lib/impersonate/impersonate.component.html +0 -17
- package/src/lib/impersonate/impersonate.component.scss +0 -3
- package/src/lib/impersonate/impersonate.component.spec.ts +0 -24
- package/src/lib/impersonate/impersonate.component.ts +0 -60
- package/src/lib/mobile.module.ts +0 -39
- package/src/lib/modules/chart.module.ts +0 -37
- package/src/lib/modules/circular-gauge.module.ts +0 -11
- package/src/lib/modules/date.adapter.ts +0 -31
- package/src/lib/modules/datepicker.intl.ts +0 -35
- package/src/lib/modules/diagram.module.ts +0 -20
- package/src/lib/modules/gantt.module.ts +0 -12
- package/src/lib/modules/grid.module.ts +0 -16
- package/src/lib/modules/material.module.ts +0 -104
- package/src/lib/modules/paginator.intl.ts +0 -16
- package/src/lib/modules/pivot.module.ts +0 -13
- package/src/lib/modules/schedule.module.ts +0 -12
- package/src/lib/modules/spreadsheet.module.ts +0 -17
- package/src/lib/modules/stepper.intl.ts +0 -12
- package/src/lib/modules/texteditor.module.ts +0 -16
- package/src/lib/notifications/filter.component.html +0 -6
- package/src/lib/notifications/filter.component.ts +0 -16
- package/src/lib/notifications/notifications-table.component.html +0 -54
- package/src/lib/notifications/notifications-table.component.scss +0 -14
- package/src/lib/notifications/notifications-table.component.ts +0 -94
- package/src/lib/notifications/notifications.component-base.ts +0 -49
- package/src/lib/notifications/notifications.mobile.component.ts +0 -13
- package/src/lib/notifications/notifications.pane.component.ts +0 -16
- package/src/lib/notifications/notifications.service.ts +0 -66
- package/src/lib/notifications/types/commented.notification.html +0 -14
- package/src/lib/notifications/types/commented.notification.ts +0 -51
- package/src/lib/notifications/types/cube-anomaly.notification.ts +0 -51
- package/src/lib/notifications/types/escalated.notification.ts +0 -36
- package/src/lib/notifications/types/liked.notification.ts +0 -49
- package/src/lib/notifications/types/long-running-task.notification.ts +0 -23
- package/src/lib/notifications/types/notification-base.ts +0 -37
- package/src/lib/notifications/types/nudge.notification.ts +0 -32
- package/src/lib/notifications/types/state-changed.notification.ts +0 -27
- package/src/lib/notifications/types/tagged.notification.ts +0 -46
- package/src/lib/notifications/types/text.notification.ts +0 -13
- package/src/lib/notifications/types/upcoming-event.notification.ts +0 -25
- package/src/lib/options/options.component.html +0 -149
- package/src/lib/options/options.component.scss +0 -19
- package/src/lib/options/options.component.ts +0 -244
- package/src/lib/options/options.service.ts +0 -30
- package/src/lib/reports/arguments-component.ts +0 -73
- package/src/lib/reports/cube/grid-documents.component.html +0 -25
- package/src/lib/reports/cube/grid-documents.component.ts +0 -85
- package/src/lib/reports/cube/table-documents.component.css +0 -18
- package/src/lib/reports/cube/table-documents.component.html +0 -30
- package/src/lib/reports/cube/table-documents.component.ts +0 -65
- package/src/lib/reports/cube/usage-args.component.html +0 -3
- package/src/lib/reports/cube/usage-args.component.ts +0 -55
- package/src/lib/reports/cube/usage-base.ts +0 -112
- package/src/lib/reports/cube/usage-browse.component.exp.ts +0 -93
- package/src/lib/reports/cube/usage-browse.component.html +0 -27
- package/src/lib/reports/cube/usage-browse.component.scss +0 -24
- package/src/lib/reports/cube/usage-chart.component.html +0 -11
- package/src/lib/reports/cube/usage-chart.component.ts +0 -387
- package/src/lib/reports/cube/usage-pivot.component.html +0 -19
- package/src/lib/reports/cube/usage-pivot.component.ts +0 -252
- package/src/lib/reports/report-ref.ts +0 -42
- package/src/lib/reports/report-viewer.component.html +0 -2
- package/src/lib/reports/report-viewer.component.scss +0 -12
- package/src/lib/reports/report-viewer.component.ts +0 -162
- package/src/lib/reports/report.mobile.component.html +0 -16
- package/src/lib/reports/report.mobile.component.scss +0 -7
- package/src/lib/reports/report.mobile.component.ts +0 -107
- package/src/lib/reports/report.pane.component.html +0 -8
- package/src/lib/reports/report.pane.component.scss +0 -9
- package/src/lib/reports/report.pane.component.ts +0 -78
- package/src/lib/reports/reports-menu.component.html +0 -9
- package/src/lib/reports/reports-menu.component.ts +0 -20
- package/src/lib/reports/substitution/substitution.component.html +0 -26
- package/src/lib/reports/substitution/substitution.component.ts +0 -34
- package/src/lib/reports/table/table-view.component.html +0 -8
- package/src/lib/reports/table/table-view.component.scss +0 -0
- package/src/lib/reports/table/table-view.component.ts +0 -33
- package/src/lib/reports/tasks/tasks.component.html +0 -21
- package/src/lib/reports/tasks/tasks.component.ts +0 -114
- package/src/lib/reports/timeline/timeline.component.exp.ts +0 -225
- package/src/lib/reports/timeline/timeline.component.html +0 -9
- package/src/lib/routes.desktop.ts +0 -196
- package/src/lib/routes.mobile.ts +0 -70
- package/src/lib/scheduler/schedule.component.html +0 -36
- package/src/lib/scheduler/schedule.component.scss +0 -13
- package/src/lib/scheduler/schedule.component.ts +0 -158
- package/src/lib/scheduler/scheduler.mobile.component.ts +0 -30
- package/src/lib/scheduler/scheduler.pane.component.ts +0 -49
- package/src/lib/shared.module.ts +0 -386
- package/src/lib/system.module.ts +0 -75
- package/src/lib/views/_views.theme.scss +0 -18
- package/src/lib/views/cube/chart.component.html +0 -24
- package/src/lib/views/cube/chart.component.ts +0 -88
- package/src/lib/views/cube/cube-base.ts +0 -126
- package/src/lib/views/cube/explore.component.html +0 -33
- package/src/lib/views/cube/explore.component.ts +0 -82
- package/src/lib/views/cube/filter.component.exp.ts +0 -66
- package/src/lib/views/cube/filter.component.html +0 -25
- package/src/lib/views/cube/matrix.component.html +0 -42
- package/src/lib/views/cube/matrix.component.scss +0 -3
- package/src/lib/views/cube/matrix.component.ts +0 -107
- package/src/lib/views/cube/parallel.component.html +0 -10
- package/src/lib/views/cube/parallel.component.scss +0 -13
- package/src/lib/views/cube/parallel.component.ts +0 -62
- package/src/lib/views/cube/pivot.component.html +0 -8
- package/src/lib/views/cube/pivot.component.ts +0 -62
- package/src/lib/views/cube/sum.component.html +0 -30
- package/src/lib/views/cube/sum.component.scss +0 -3
- package/src/lib/views/cube/sum.component.ts +0 -71
- package/src/lib/views/cube/view.component.html +0 -34
- package/src/lib/views/cube/view.component.scss +0 -12
- package/src/lib/views/cube/view.component.ts +0 -103
- package/src/lib/views/document-view-ref.ts +0 -34
- package/src/lib/views/timeline/timeline.component.exp.ts +0 -333
- package/src/lib/views/timeline/timeline.component.html +0 -6
- package/src/lib/views/timeline/timeline.component.scss +0 -6
- package/src/lib/views/view-item.component.ts +0 -67
- package/src/lib/views/views.component.html +0 -4
- package/src/lib/views/views.component.scss +0 -33
- package/src/lib/views/views.component.ts +0 -23
- package/src/lib/views/views.mobile.component.ts +0 -19
- package/src/lib/views/views.pane.component.ts +0 -31
- package/src/polyfills.ts +0 -81
- package/src/public-api.ts +0 -147
- package/src/styles/_app.scss +0 -316
- package/src/styles/_emoji-mart.scss +0 -504
- package/src/styles/_syncfusion-base-definitions.scss +0 -63
- package/src/styles/_syncfusion-dark-definitions.scss +0 -23
- package/src/styles/_syncfusion-icons.scss +0 -57
- package/src/styles/_syncfusion-light-definitions.scss +0 -23
- package/src/styles/_syncfusion.scss +0 -22
- package/src/styles/brown.scss +0 -15
- package/src/styles/build.ps1 +0 -25
- package/src/styles/dark.scss +0 -24
- package/src/styles/deep-purple-light-blue.scss +0 -22
- package/src/styles/deep-purple-teal.scss +0 -22
- package/src/styles/default.scss +0 -23
- package/src/styles/diagram-icons.eot +0 -0
- package/src/styles/diagram-icons.ttf +0 -0
- package/src/styles/green.scss +0 -14
- package/src/styles/indigo.scss +0 -15
- package/src/test.ts +0 -26
- package/tsconfig.lib.json +0 -25
- package/tsconfig.lib.prod.json +0 -10
- package/tsconfig.spec.json +0 -18
@@ -0,0 +1,120 @@
|
|
1
|
+
import { Component, ViewChild } from '@angular/core';
|
2
|
+
import { MatSidenav } from '@angular/material/sidenav';
|
3
|
+
import { Subject } from 'rxjs';
|
4
|
+
import { takeUntil } from 'rxjs/operators';
|
5
|
+
import { FieldType } from '../core/models';
|
6
|
+
import { ReportViewerComponent } from './report-viewer.component';
|
7
|
+
import * as i0 from "@angular/core";
|
8
|
+
import * as i1 from "../core/window-title.service";
|
9
|
+
import * as i2 from "@angular/router";
|
10
|
+
import * as i3 from "../core/session.service";
|
11
|
+
import * as i4 from "../core/prompt.service";
|
12
|
+
import * as i5 from "../core/guide/guide.service";
|
13
|
+
import * as i6 from "@angular/material/toolbar";
|
14
|
+
import * as i7 from "@angular/material/button";
|
15
|
+
import * as i8 from "@angular/material/icon";
|
16
|
+
import * as i9 from "@angular/material/sidenav";
|
17
|
+
import * as i10 from "./report-viewer.component";
|
18
|
+
import * as i11 from "./arguments-component";
|
19
|
+
import * as i12 from "../core/popup/tooltip.directive";
|
20
|
+
import * as i13 from "../core/animated-icon/animated-icon.directive";
|
21
|
+
import * as i14 from "@angular/common";
|
22
|
+
import * as i15 from "../core/pipes/translate.pipe";
|
23
|
+
/** reportviewer component*/
|
24
|
+
export class ReportComponent {
|
25
|
+
constructor(_title, _route, _session, _cd, _sb, _guide) {
|
26
|
+
this._title = _title;
|
27
|
+
this._route = _route;
|
28
|
+
this._session = _session;
|
29
|
+
this._cd = _cd;
|
30
|
+
this._sb = _sb;
|
31
|
+
this._guide = _guide;
|
32
|
+
this.args = {};
|
33
|
+
this.mode = 'filter';
|
34
|
+
this._destroy = new Subject();
|
35
|
+
}
|
36
|
+
ngOnInit() {
|
37
|
+
this._route.params.pipe(takeUntil(this._destroy)).subscribe(p => {
|
38
|
+
const id = p['id'];
|
39
|
+
this.report = this._session.profile.reports.find(r => r.name === id);
|
40
|
+
this._cd.detectChanges();
|
41
|
+
this._title.set(this.report.title);
|
42
|
+
this.args = this._fromQueryArgs(this._route.snapshot.queryParams);
|
43
|
+
this._navigating = true;
|
44
|
+
this.viewer.execute();
|
45
|
+
});
|
46
|
+
this._route.queryParams.pipe(takeUntil(this._destroy)).subscribe(p => {
|
47
|
+
if (!this._navigating) {
|
48
|
+
this.args = this._fromQueryArgs(p);
|
49
|
+
this.viewer.execute();
|
50
|
+
}
|
51
|
+
else
|
52
|
+
this._navigating = false;
|
53
|
+
});
|
54
|
+
}
|
55
|
+
guide() {
|
56
|
+
this._guide.start(this.report.guide);
|
57
|
+
}
|
58
|
+
/**
|
59
|
+
*
|
60
|
+
* @param qargs
|
61
|
+
*/
|
62
|
+
_fromQueryArgs(qargs) {
|
63
|
+
const args = {};
|
64
|
+
Object.keys(qargs).forEach(k => {
|
65
|
+
const val = qargs[k];
|
66
|
+
if (val) {
|
67
|
+
const argument = this.report.arguments.find(a => a.name === k);
|
68
|
+
if (argument)
|
69
|
+
switch (argument.type) {
|
70
|
+
case FieldType.Date:
|
71
|
+
args[k] = new Date(val);
|
72
|
+
break;
|
73
|
+
case FieldType.Check:
|
74
|
+
args[k] = val === 'true';
|
75
|
+
break;
|
76
|
+
default:
|
77
|
+
args[k] = val;
|
78
|
+
}
|
79
|
+
else
|
80
|
+
args[k] = val;
|
81
|
+
}
|
82
|
+
});
|
83
|
+
return args;
|
84
|
+
}
|
85
|
+
filterToggle() {
|
86
|
+
this.mode = 'filter';
|
87
|
+
this.filter.toggle().then(() => this.viewer.resize());
|
88
|
+
}
|
89
|
+
/**
|
90
|
+
*
|
91
|
+
* @param item
|
92
|
+
*/
|
93
|
+
click(item) {
|
94
|
+
this.viewer.explore(item).then(r => {
|
95
|
+
this.item = r;
|
96
|
+
this.mode = 'explore';
|
97
|
+
}, () => this._sb.error());
|
98
|
+
}
|
99
|
+
argsChange(args) {
|
100
|
+
this.args = args;
|
101
|
+
this.viewer.execute();
|
102
|
+
}
|
103
|
+
ngOnDestroy() {
|
104
|
+
this._destroy.next();
|
105
|
+
this._destroy.complete();
|
106
|
+
}
|
107
|
+
}
|
108
|
+
ReportComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: ReportComponent, deps: [{ token: i1.WindowTitleService }, { token: i2.ActivatedRoute }, { token: i3.SessionService }, { token: i0.ChangeDetectorRef }, { token: i4.PromptService }, { token: i5.GuideService }], target: i0.ɵɵFactoryTarget.Component });
|
109
|
+
ReportComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.2", type: ReportComponent, selector: "bizdoc-report", viewQueries: [{ propertyName: "filter", first: true, predicate: MatSidenav, descendants: true, static: true }, { propertyName: "viewer", first: true, predicate: ReportViewerComponent, descendants: true, static: true }], ngImport: i0, template: "<mat-toolbar>\r\n <button mat-icon-button (click)=\"viewer.execute()\" [bizdocTooltip]=\"'Refresh' | translate\"><mat-icon matAnimate=\"rotate\">autorenew</mat-icon></button>\r\n <span class=\"divider\"></span>\r\n <button mat-icon-button (click)=\"viewer.exportExcel()\" bizdocTooltip=\"{{'Download' | translate}}\"><mat-icon>save_alt</mat-icon></button>\r\n <button mat-icon-button (click)=\"guide()\" [bizdocTooltip]=\"'Help' | translate\" *ngIf=\"report.guide\"><mat-icon>help_outline</mat-icon></button>\r\n <button mat-icon-button (click)=\"filterToggle()\" bizdocTooltip=\"{{'Filter' | translate}}\"><mat-icon>filter_list</mat-icon></button>\r\n</mat-toolbar>\r\n<mat-sidenav-container class=\"page-container\">\r\n <mat-sidenav-content>\r\n <bizdoc-report-viewer [report]=\"report\" [args]=\"args\"></bizdoc-report-viewer>\r\n </mat-sidenav-content>\r\n <mat-sidenav mode=\"over\" opened=\"false\" #filter position=\"end\">\r\n <bizdoc-report-arguments *ngIf=\"viewer.reportRef\" [args]=\"args\" (argsChange)=\"argsChange($event)\" [reportRef]=\"viewer.reportRef\"\r\n [template]=\"report.argumentsTemplate\" [arguments]=\"report.arguments\"></bizdoc-report-arguments>\r\n </mat-sidenav>\r\n</mat-sidenav-container>\r\n", styles: [".contents{display:flex;flex-direction:column}\n"], components: [{ type: i6.MatToolbar, selector: "mat-toolbar", inputs: ["color"], exportAs: ["matToolbar"] }, { type: i7.MatButton, selector: "button[mat-button], button[mat-raised-button], button[mat-icon-button], button[mat-fab], button[mat-mini-fab], button[mat-stroked-button], button[mat-flat-button]", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }, { type: i8.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { type: i9.MatSidenavContainer, selector: "mat-sidenav-container", exportAs: ["matSidenavContainer"] }, { type: i9.MatSidenavContent, selector: "mat-sidenav-content" }, { type: i10.ReportViewerComponent, selector: "bizdoc-report-viewer", inputs: ["report", "args"] }, { type: i9.MatSidenav, selector: "mat-sidenav", inputs: ["fixedInViewport", "fixedTopGap", "fixedBottomGap"], exportAs: ["matSidenav"] }, { type: i11.ReportArgumentsComponent, selector: "bizdoc-report-arguments", inputs: ["reportRef", "template", "arguments", "args"], outputs: ["argsChange"] }], directives: [{ type: i12.TooltipDirective, selector: "[bizdocTooltip]", inputs: ["bizdocTooltip", "bizdocTooltipTemplate", "bizdocTooltipContext", "bizdocTooltipPosition", "bizdocTooltipDuration", "bizdocTooltipDisabled"] }, { type: i13.MatIconAnimate, selector: "[matAnimate]" }, { type: i14.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], pipes: { "translate": i15.TranslatePipe } });
|
110
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: ReportComponent, decorators: [{
|
111
|
+
type: Component,
|
112
|
+
args: [{ selector: 'bizdoc-report', template: "<mat-toolbar>\r\n <button mat-icon-button (click)=\"viewer.execute()\" [bizdocTooltip]=\"'Refresh' | translate\"><mat-icon matAnimate=\"rotate\">autorenew</mat-icon></button>\r\n <span class=\"divider\"></span>\r\n <button mat-icon-button (click)=\"viewer.exportExcel()\" bizdocTooltip=\"{{'Download' | translate}}\"><mat-icon>save_alt</mat-icon></button>\r\n <button mat-icon-button (click)=\"guide()\" [bizdocTooltip]=\"'Help' | translate\" *ngIf=\"report.guide\"><mat-icon>help_outline</mat-icon></button>\r\n <button mat-icon-button (click)=\"filterToggle()\" bizdocTooltip=\"{{'Filter' | translate}}\"><mat-icon>filter_list</mat-icon></button>\r\n</mat-toolbar>\r\n<mat-sidenav-container class=\"page-container\">\r\n <mat-sidenav-content>\r\n <bizdoc-report-viewer [report]=\"report\" [args]=\"args\"></bizdoc-report-viewer>\r\n </mat-sidenav-content>\r\n <mat-sidenav mode=\"over\" opened=\"false\" #filter position=\"end\">\r\n <bizdoc-report-arguments *ngIf=\"viewer.reportRef\" [args]=\"args\" (argsChange)=\"argsChange($event)\" [reportRef]=\"viewer.reportRef\"\r\n [template]=\"report.argumentsTemplate\" [arguments]=\"report.arguments\"></bizdoc-report-arguments>\r\n </mat-sidenav>\r\n</mat-sidenav-container>\r\n", styles: [".contents{display:flex;flex-direction:column}\n"] }]
|
113
|
+
}], ctorParameters: function () { return [{ type: i1.WindowTitleService }, { type: i2.ActivatedRoute }, { type: i3.SessionService }, { type: i0.ChangeDetectorRef }, { type: i4.PromptService }, { type: i5.GuideService }]; }, propDecorators: { filter: [{
|
114
|
+
type: ViewChild,
|
115
|
+
args: [MatSidenav, { static: true }]
|
116
|
+
}], viewer: [{
|
117
|
+
type: ViewChild,
|
118
|
+
args: [ReportViewerComponent, { static: true }]
|
119
|
+
}] } });
|
120
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmVwb3J0Lm1vYmlsZS5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9saWJyYXJpZXMvY29yZS9zcmMvbGliL3JlcG9ydHMvcmVwb3J0Lm1vYmlsZS5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi8uLi9saWJyYXJpZXMvY29yZS9zcmMvbGliL3JlcG9ydHMvcmVwb3J0Lm1vYmlsZS5jb21wb25lbnQuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsU0FBUyxFQUFVLFNBQVMsRUFBZ0MsTUFBTSxlQUFlLENBQUM7QUFFM0YsT0FBTyxFQUFFLFVBQVUsRUFBRSxNQUFNLDJCQUEyQixDQUFDO0FBQ3ZELE9BQU8sRUFBRSxPQUFPLEVBQUUsTUFBTSxNQUFNLENBQUM7QUFDL0IsT0FBTyxFQUFFLFN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GFueSk6IGFueSB7XHJcbiAgICBjb25zdCBhcmdzID0ge307XHJcbiAgICBPYmplY3Qua2V5cyhxYXJncykuZm9yRWFjaChrID0+IHtcclxuICAgICAgY29uc3QgdmFsID0gcWFyZ3Nba107XHJcbiAgICAgIGlmICh2YWwpIHtcclxuICAgICAgICBjb25zdCBhcmd1bWVudCA9IHRoaXMucmVwb3J0LmFyZ3VtZW50cy5maW5kKGEgPT4gYS5uYW1lID09PSBrKTtcclxuICAgICAgICBpZiAoYXJndW1lbnQpXHJcbiAgICAgICAgICBzd2l0Y2ggKGFyZ3VtZW50LnR5cGUpIHtcclxuICAgICAgICAgICAgY2FzZSBGaWVsZFR5cGUuRGF0ZTpcclxuICAgICAgICAgICAgICBhcmdzW2tdID0gbmV3IERhdGUodmFsKTtcclxuICAgICAgICAgICAgICBicmVhaztcclxuICAgICAgICAgICAgY2FzZSBGaWVsZFR5cGUuQ2hlY2s6XHJcbiAgICAgICAgICAgICAgYXJnc1trXSA9IHZhbCA9PT0gJ3RydWUnO1xyXG4gICAgICAgICAgICAgIGJyZWFrO1xyXG4gICAgICAgICAgICBkZWZhdWx0OlxyXG4gICAgICAgICAgICAgIGFyZ3Nba10gPSB2YWw7XHJcbiAgICAgICAgICB9XHJcbiAgICAgICAgZWxzZVxyXG4gICAgICAgICAgYXJnc1trXSA9IHZhbDtcclxuICAgICAgfVxyXG4gICAgfSk7XHJcbiAgICByZXR1cm4gYXJncztcclxuICB9XHJcbiAgZmlsdGVyVG9nZ2xlKCkge1xyXG4gICAgdGhpcy5tb2RlID0gJ2ZpbHRlcic7XHJcbiAgICB0aGlzLmZpbHRlci50b2dnbGUoKS50aGVuKCgpID0+IHRoaXMudmlld2VyLnJlc2l6ZSgpKTtcclxuICB9XHJcbiAgLyoqXHJcbiAgICpcclxuICAgKiBAcGFyYW0gaXRlbVxyXG4gICAqL1xyXG4gIGNsaWNrKGl0ZW06IGFueSkge1xyXG4gICAgdGhpcy52aWV3ZXIuZXhwbG9yZShpd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import { Component, ViewChild, HostListener } from '@angular/core';
|
2
|
+
import { Subject } from 'rxjs';
|
3
|
+
import { debounceTime, takeUntil } from 'rxjs/operators';
|
4
|
+
import { ReportViewerComponent } from './report-viewer.component';
|
5
|
+
import { ReportArgumentsComponent } from './arguments-component';
|
6
|
+
import * as i0 from "@angular/core";
|
7
|
+
import * as i1 from "../core/session.service";
|
8
|
+
import * as i2 from "../core/slots/pane-ref";
|
9
|
+
import * as i3 from "../core/popup/popup.service";
|
10
|
+
import * as i4 from "../core/prompt.service";
|
11
|
+
import * as i5 from "../core/guide/guide.service";
|
12
|
+
import * as i6 from "@angular/material/toolbar";
|
13
|
+
import * as i7 from "@angular/material/button";
|
14
|
+
import * as i8 from "@angular/material/icon";
|
15
|
+
import * as i9 from "./report-viewer.component";
|
16
|
+
import * as i10 from "../core/popup/tooltip.directive";
|
17
|
+
import * as i11 from "../core/animated-icon/animated-icon.directive";
|
18
|
+
import * as i12 from "@angular/common";
|
19
|
+
import * as i13 from "@angular/flex-layout/flex";
|
20
|
+
import * as i14 from "../core/pipes/translate.pipe";
|
21
|
+
/** report slot component*/
|
22
|
+
export class ReportPaneComponent {
|
23
|
+
constructor(_session, _pane, _popup, _cd, _sb, _guide) {
|
24
|
+
this._session = _session;
|
25
|
+
this._pane = _pane;
|
26
|
+
this._popup = _popup;
|
27
|
+
this._cd = _cd;
|
28
|
+
this._sb = _sb;
|
29
|
+
this._guide = _guide;
|
30
|
+
this.args = {};
|
31
|
+
this._destroy = new Subject();
|
32
|
+
}
|
33
|
+
ngOnInit() {
|
34
|
+
this._pane.paramsChange.subscribe(p => {
|
35
|
+
const id = p['id'];
|
36
|
+
this.report = this._session.profile.reports.find(r => r.name === id);
|
37
|
+
this._pane.title = this.report.title;
|
38
|
+
this._cd.detectChanges();
|
39
|
+
});
|
40
|
+
this._pane.queryParamsChange.subscribe(() => this.viewer.execute());
|
41
|
+
this._pane.resize.subscribe(() => this.viewer.resize());
|
42
|
+
}
|
43
|
+
filter(evt) {
|
44
|
+
this._popup.open(ReportArgumentsComponent, evt.currentTarget).opened.
|
45
|
+
subscribe(f => {
|
46
|
+
f.arguments = this.report.arguments;
|
47
|
+
f.template = this.report.argumentsTemplate;
|
48
|
+
f.reportRef = this.viewer.reportRef;
|
49
|
+
f.args = this.args;
|
50
|
+
f.argsChange.pipe(takeUntil(this._destroy), debounceTime(150)).subscribe(a => {
|
51
|
+
this.args = a;
|
52
|
+
this._cd.detectChanges();
|
53
|
+
this.viewer.execute();
|
54
|
+
});
|
55
|
+
});
|
56
|
+
}
|
57
|
+
/**
|
58
|
+
*
|
59
|
+
* @param item
|
60
|
+
*/
|
61
|
+
click(item) {
|
62
|
+
this.viewer.explore(item).then(r => {
|
63
|
+
}, () => this._sb.error());
|
64
|
+
}
|
65
|
+
guide(evt) {
|
66
|
+
this._guide.start(this.report.guide);
|
67
|
+
evt && evt.preventDefault();
|
68
|
+
}
|
69
|
+
ngOnDestroy() {
|
70
|
+
this._destroy.next();
|
71
|
+
this._destroy.complete();
|
72
|
+
}
|
73
|
+
}
|
74
|
+
ReportPaneComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: ReportPaneComponent, deps: [{ token: i1.SessionService }, { token: i2.PaneRef }, { token: i3.Popup }, { token: i0.ChangeDetectorRef }, { token: i4.PromptService }, { token: i5.GuideService }], target: i0.ɵɵFactoryTarget.Component });
|
75
|
+
ReportPaneComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.2", type: ReportPaneComponent, selector: "bizdoc-report.pane", host: { listeners: { "window:keydown.f1": "guide($event)" }, classAttribute: "pane" }, viewQueries: [{ propertyName: "viewer", first: true, predicate: ReportViewerComponent, descendants: true, static: true }], ngImport: i0, template: "<mat-toolbar class=\"nav-toolbar\">\r\n <button mat-icon-button (click)=\"viewer.execute()\" [bizdocTooltip]=\"'Refresh' | translate\"><mat-icon matAnimate=\"rotate\">autorenew</mat-icon></button>\r\n <span class=\"divider\"></span>\r\n <button mat-icon-button (click)=\"viewer.exportExcel()\" bizdocTooltip=\"{{'Download' | translate}}\"><mat-icon>save_alt</mat-icon></button>\r\n <button mat-icon-button (click)=\"guide($event)\" [bizdocTooltip]=\"'Help' | translate\" *ngIf=\"report.guide\"><mat-icon>help_outline</mat-icon></button>\r\n <button mat-icon-button (click)=\"filter($event)\" bizdocTooltip=\"{{'Filter' | translate}}\"><mat-icon>filter_list</mat-icon></button>\r\n</mat-toolbar>\r\n<bizdoc-report-viewer [report]=\"report\" [args]=\"args\" fxFlex></bizdoc-report-viewer>\r\n", styles: [":host{min-width:560px;display:block;height:100%;display:flex;flex-direction:column}\n"], components: [{ type: i6.MatToolbar, selector: "mat-toolbar", inputs: ["color"], exportAs: ["matToolbar"] }, { type: i7.MatButton, selector: "button[mat-button], button[mat-raised-button], button[mat-icon-button], button[mat-fab], button[mat-mini-fab], button[mat-stroked-button], button[mat-flat-button]", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }, { type: i8.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { type: i9.ReportViewerComponent, selector: "bizdoc-report-viewer", inputs: ["report", "args"] }], directives: [{ type: i10.TooltipDirective, selector: "[bizdocTooltip]", inputs: ["bizdocTooltip", "bizdocTooltipTemplate", "bizdocTooltipContext", "bizdocTooltipPosition", "bizdocTooltipDuration", "bizdocTooltipDisabled"] }, { type: i11.MatIconAnimate, selector: "[matAnimate]" }, { type: i12.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i13.DefaultFlexDirective, selector: " [fxFlex], [fxFlex.xs], [fxFlex.sm], [fxFlex.md], [fxFlex.lg], [fxFlex.xl], [fxFlex.lt-sm], [fxFlex.lt-md], [fxFlex.lt-lg], [fxFlex.lt-xl], [fxFlex.gt-xs], [fxFlex.gt-sm], [fxFlex.gt-md], [fxFlex.gt-lg]", inputs: ["fxFlex", "fxFlex.xs", "fxFlex.sm", "fxFlex.md", "fxFlex.lg", "fxFlex.xl", "fxFlex.lt-sm", "fxFlex.lt-md", "fxFlex.lt-lg", "fxFlex.lt-xl", "fxFlex.gt-xs", "fxFlex.gt-sm", "fxFlex.gt-md", "fxFlex.gt-lg"] }], pipes: { "translate": i14.TranslatePipe } });
|
76
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: ReportPaneComponent, decorators: [{
|
77
|
+
type: Component,
|
78
|
+
args: [{ selector: 'bizdoc-report.pane', host: {
|
79
|
+
class: 'pane'
|
80
|
+
}, template: "<mat-toolbar class=\"nav-toolbar\">\r\n <button mat-icon-button (click)=\"viewer.execute()\" [bizdocTooltip]=\"'Refresh' | translate\"><mat-icon matAnimate=\"rotate\">autorenew</mat-icon></button>\r\n <span class=\"divider\"></span>\r\n <button mat-icon-button (click)=\"viewer.exportExcel()\" bizdocTooltip=\"{{'Download' | translate}}\"><mat-icon>save_alt</mat-icon></button>\r\n <button mat-icon-button (click)=\"guide($event)\" [bizdocTooltip]=\"'Help' | translate\" *ngIf=\"report.guide\"><mat-icon>help_outline</mat-icon></button>\r\n <button mat-icon-button (click)=\"filter($event)\" bizdocTooltip=\"{{'Filter' | translate}}\"><mat-icon>filter_list</mat-icon></button>\r\n</mat-toolbar>\r\n<bizdoc-report-viewer [report]=\"report\" [args]=\"args\" fxFlex></bizdoc-report-viewer>\r\n", styles: [":host{min-width:560px;display:block;height:100%;display:flex;flex-direction:column}\n"] }]
|
81
|
+
}], ctorParameters: function () { return [{ type: i1.SessionService }, { type: i2.PaneRef }, { type: i3.Popup }, { type: i0.ChangeDetectorRef }, { type: i4.PromptService }, { type: i5.GuideService }]; }, propDecorators: { viewer: [{
|
82
|
+
type: ViewChild,
|
83
|
+
args: [ReportViewerComponent, { static: true }]
|
84
|
+
}], guide: [{
|
85
|
+
type: HostListener,
|
86
|
+
args: ['window:keydown.f1', ['$event']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LWljb24+PC9idXR0b24+XHJcbjwvbWF0LXRvb2xiYXI+XHJcbjxiaXpkb2MtcmVwb3J0LXZpZXdlciBbcmVwb3J0XT1cInJlcG9ydFwiIFthcmdzXT1cImFyZ3NcIiBmeEZsZXg+PC9iaXpkb2MtcmVwb3J0LXZpZXdlcj5cclxuIl19
|
@@ -0,0 +1,26 @@
|
|
1
|
+
import { Component, EventEmitter, Input, Output } from '@angular/core';
|
2
|
+
import * as i0 from "@angular/core";
|
3
|
+
import * as i1 from "../core/session.service";
|
4
|
+
import * as i2 from "@angular/material/list";
|
5
|
+
import * as i3 from "@angular/material/icon";
|
6
|
+
import * as i4 from "@angular/common";
|
7
|
+
import * as i5 from "../core/slots/router.directive";
|
8
|
+
import * as i6 from "../core/popup/tooltip.directive";
|
9
|
+
import * as i7 from "@angular/material/core";
|
10
|
+
export class ReportsMenuComponent {
|
11
|
+
constructor(session) {
|
12
|
+
this.change = new EventEmitter();
|
13
|
+
this.reports = session.profile.reports;
|
14
|
+
}
|
15
|
+
}
|
16
|
+
ReportsMenuComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: ReportsMenuComponent, deps: [{ token: i1.SessionService }], target: i0.ɵɵFactoryTarget.Component });
|
17
|
+
ReportsMenuComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.2", type: ReportsMenuComponent, selector: "bizdoc-reports-menu", inputs: { collapsed: "collapsed" }, outputs: { change: "change" }, ngImport: i0, template: "<!--<span class=\"mat-subheader\">BizDoc</span>\r\n<h1 class=\"mat-display-1\">{{'Reports' | translate}}</h1>-->\r\n\r\n<mat-nav-list>\r\n <mat-list-item *ngFor=\"let r of reports\" (click)=\"change.emit()\" [slotRouterLink]='[\"reports\", r.name]' slotRouterLinkActive=\"active\">\r\n <mat-icon matListIcon [bizdocTooltip]=\"r.title\" bizdocTooltipPosition=\"end\" [bizdocTooltipDisabled]=\"!collapsed\">{{r.icon}}</mat-icon>\r\n <span matLine>{{r.title}}</span>\r\n </mat-list-item>\r\n</mat-nav-list>\r\n", components: [{ type: i2.MatNavList, selector: "mat-nav-list", inputs: ["disableRipple", "disabled"], exportAs: ["matNavList"] }, { type: i2.MatListItem, selector: "mat-list-item, a[mat-list-item], button[mat-list-item]", inputs: ["disableRipple", "disabled"], exportAs: ["matListItem"] }, { type: i3.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }], directives: [{ type: i4.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i5.SlotRouterDirective, selector: "[slotRouterLink]", inputs: ["slotRouterLink", "slotRouterLinkActive", "slotRouterLinkDisabled", "slotRouterLinkPolicy", "slotRouterLinkOptions"] }, { type: i2.MatListIconCssMatStyler, selector: "[mat-list-icon], [matListIcon]" }, { type: i6.TooltipDirective, selector: "[bizdocTooltip]", inputs: ["bizdocTooltip", "bizdocTooltipTemplate", "bizdocTooltipContext", "bizdocTooltipPosition", "bizdocTooltipDuration", "bizdocTooltipDisabled"] }, { type: i7.MatLine, selector: "[mat-line], [matLine]" }], animations: [] });
|
18
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: ReportsMenuComponent, decorators: [{
|
19
|
+
type: Component,
|
20
|
+
args: [{ selector: 'bizdoc-reports-menu', animations: [], template: "<!--<span class=\"mat-subheader\">BizDoc</span>\r\n<h1 class=\"mat-display-1\">{{'Reports' | translate}}</h1>-->\r\n\r\n<mat-nav-list>\r\n <mat-list-item *ngFor=\"let r of reports\" (click)=\"change.emit()\" [slotRouterLink]='[\"reports\", r.name]' slotRouterLinkActive=\"active\">\r\n <mat-icon matListIcon [bizdocTooltip]=\"r.title\" bizdocTooltipPosition=\"end\" [bizdocTooltipDisabled]=\"!collapsed\">{{r.icon}}</mat-icon>\r\n <span matLine>{{r.title}}</span>\r\n </mat-list-item>\r\n</mat-nav-list>\r\n" }]
|
21
|
+
}], ctorParameters: function () { return [{ type: i1.SessionService }]; }, propDecorators: { collapsed: [{
|
22
|
+
type: Input
|
23
|
+
}], change: [{
|
24
|
+
type: Output
|
25
|
+
}] } });
|
26
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmVwb3J0cy1tZW51LmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL2xpYnJhcmllcy9jb3JlL3NyYy9saWIvcmVwb3J0cy9yZXBvcnRzLW1lbnUuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vbGlicmFyaWVzL2NvcmUvc3JjL2xpYi9yZXBvcnRzL3JlcG9ydHMtbWVudS5jb21wb25lbnQuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsU0FBUyxFQUFFLFlBQVksRUFBRSxLQUFLLEVBQUUsTUFBTSxFQUFFLE1BQU0sZUFBZSxDQUFDOzs7Ozs7Ozs7QUFVdkUsTUFBTSxPQUNFLG9CQUFvQjtJQUkxQixZQUFZLE9BQXVCO1FBRmhCLFdBQU0sR0FBRyxJQUFJLFlBQVksRUFBRSxDQUFDO1FBRzdDLElBQUksQ0FBQyxPQUFPLEdBQUcsT0FBTyxDQUFDLE9BQU8sQ0FBQyxPQUFPLENBQUM7SUFFekMsQ0FBQzs7aUhBUEssb0JBQW9CO3FHQUFwQixvQkFBb0IsOEhDWDVCLHFnQkFTQSx1a0NERGMsRUFBRTsyRkFHUixvQkFBb0I7a0JBTjNCLFNBQVM7K0JBQ0UscUJBQXFCLGNBRW5CLEVBQUU7cUdBSUwsU0FBUztzQkFBakIsS0FBSztnQkFDYSxNQUFNO3NCQUF4QixNQUFNIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgQ29tcG9uZW50LCBFdmVudE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gci5uYW1lXScgc2xvdFJvdXRlckxpbmtBY3RpdmU9XCJhY3RpdmVcIj5cclxuICAgIDxtYXQtaWNvbiBtYXRMaXN0SWNvbiBbYml6ZG9jVG9vbHRpcF09XCJyLnRpdGxlXCIgYml6ZG9jVG9vbHRpcFBvc2l0aW9uPVwiZW5kXCIgW2JpemRvY1Rvb2x0aXBEaXNhYmxlZF09XCIhY29sbGFwc2VkXCI+e3tyLmljb259fTwvbWF0LWljb24+XHJcbiAgICA8c3BhbiBtYXRMaW5lPnt7ci50aXRsZX19PC9zcGFuPlxyXG4gIDwvbWF0LWxpc3QtaXRlbT5cclxuPC9tYXQtbmF2LWxpc3Q+XHJcbiJdfQ==
|
@@ -0,0 +1,40 @@
|
|
1
|
+
import { __decorate } from "tslib";
|
2
|
+
import { Component, ViewChild } from "@angular/core";
|
3
|
+
import { BizDoc } from "../../core/decorators";
|
4
|
+
import { MatSort } from "@angular/material/sort";
|
5
|
+
import { MatTableDataSource } from "@angular/material/table";
|
6
|
+
import { listAnimation } from "../../core/animations";
|
7
|
+
import * as i0 from "@angular/core";
|
8
|
+
import * as i1 from "@angular/material/table";
|
9
|
+
import * as i2 from "@angular/material/sort";
|
10
|
+
import * as i3 from "../../core/identity/identity.component";
|
11
|
+
import * as i4 from "@angular/common";
|
12
|
+
import * as i5 from "../../core/pipes/translate.pipe";
|
13
|
+
import * as i6 from "../../core/pipes/action.pipe";
|
14
|
+
import * as i7 from "../../core/pipes/time-ago.pipe";
|
15
|
+
import * as i8 from "../../core/pipes/state.pipe";
|
16
|
+
let SubstitutionComponent = class SubstitutionComponent {
|
17
|
+
constructor() {
|
18
|
+
this.displayColumns = ['number', 'substituteId', 'action', 'state'];
|
19
|
+
}
|
20
|
+
onBind(result) {
|
21
|
+
this.dataSource = new MatTableDataSource(result);
|
22
|
+
this.dataSource.sort = this.sort;
|
23
|
+
}
|
24
|
+
};
|
25
|
+
SubstitutionComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: SubstitutionComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
26
|
+
SubstitutionComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.2", type: SubstitutionComponent, selector: "ng-component", viewQueries: [{ propertyName: "sort", first: true, predicate: MatSort, descendants: true, static: true }], ngImport: i0, template: "<table mat-table matSort [dataSource]=\"dataSource\" style=\"width: 100%\" @list>\r\n <ng-container matColumnDef=\"number\">\r\n <th mat-header-cell *matHeaderCellDef mat-sort-header>{{'Number' | translate}}</th>\r\n <td mat-cell *matCellDef=\"let element\"> {{element.number}} </td>\r\n </ng-container>\r\n <ng-container matColumnDef=\"substituteId\">\r\n <th mat-header-cell *matHeaderCellDef mat-sort-header>{{ 'Who' | translate}}</th>\r\n <td mat-cell *matCellDef=\"let element\">\r\n <bizdoc-identity-name [identity]=\"element.substituteId\" [by]=\"element.byId\"></bizdoc-identity-name>\r\n </td>\r\n </ng-container>\r\n <ng-container matColumnDef=\"action\">\r\n <th mat-header-cell *matHeaderCellDef mat-sort-header>{{'Action' | translate}}</th>\r\n <td mat-cell *matCellDef=\"let element\"> <span *ngIf=\"element.action\">{{element.actionId | action : 'past'}} {{element.replied | amTimeAgo}}</span></td>\r\n </ng-container>\r\n <ng-container matColumnDef=\"state\">\r\n <th mat-header-cell *matHeaderCellDef mat-sort-header>{{'Status' | translate}}</th>\r\n <td mat-cell *matCellDef=\"let element\"> {{element.stateId | state}} </td>\r\n </ng-container>\r\n <ng-container matColumnDef=\"value\">\r\n <th mat-header-cell *matHeaderCellDef mat-sort-header>{{'Value' | translate}}</th>\r\n <td mat-cell *matCellDef=\"let element\"> {{element.value}} </td>\r\n </ng-container>\r\n <tr mat-header-row *matHeaderRowDef=\"displayColumns\"></tr>\r\n <tr mat-row [@item]=\"dataSource.data.length\" *matRowDef=\"let element; columns: displayColumns;\"></tr>\r\n</table>\r\n", components: [{ type: i1.MatTable, selector: "mat-table, table[mat-table]", exportAs: ["matTable"] }, { type: i2.MatSortHeader, selector: "[mat-sort-header]", inputs: ["disabled", "mat-sort-header", "arrowPosition", "start", "sortActionDescription", "disableClear"], exportAs: ["matSortHeader"] }, { type: i3.IdentityName, selector: "bizdoc-identity-name", inputs: ["identity", "by", "chating"] }, { type: i1.MatHeaderRow, selector: "mat-header-row, tr[mat-header-row]", exportAs: ["matHeaderRow"] }, { type: i1.MatRow, selector: "mat-row, tr[mat-row]", exportAs: ["matRow"] }], directives: [{ type: i2.MatSort, selector: "[matSort]", inputs: ["matSortDisabled", "matSortActive", "matSortStart", "matSortDirection", "matSortDisableClear"], outputs: ["matSortChange"], exportAs: ["matSort"] }, { type: i1.MatColumnDef, selector: "[matColumnDef]", inputs: ["sticky", "matColumnDef"] }, { type: i1.MatHeaderCellDef, selector: "[matHeaderCellDef]" }, { type: i1.MatHeaderCell, selector: "mat-header-cell, th[mat-header-cell]" }, { type: i1.MatCellDef, selector: "[matCellDef]" }, { type: i1.MatCell, selector: "mat-cell, td[mat-cell]" }, { type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1.MatHeaderRowDef, selector: "[matHeaderRowDef]", inputs: ["matHeaderRowDef", "matHeaderRowDefSticky"] }, { type: i1.MatRowDef, selector: "[matRowDef]", inputs: ["matRowDefColumns", "matRowDefWhen"] }], pipes: { "translate": i5.TranslatePipe, "action": i6.ActionPipe, "amTimeAgo": i7.TimeAgoPipe, "state": i8.StatePipe }, animations: [listAnimation] });
|
27
|
+
SubstitutionComponent = __decorate([
|
28
|
+
BizDoc({
|
29
|
+
selector: 'bizdoc-substitution'
|
30
|
+
})
|
31
|
+
], SubstitutionComponent);
|
32
|
+
export { SubstitutionComponent };
|
33
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: SubstitutionComponent, decorators: [{
|
34
|
+
type: Component,
|
35
|
+
args: [{ animations: [listAnimation], template: "<table mat-table matSort [dataSource]=\"dataSource\" style=\"width: 100%\" @list>\r\n <ng-container matColumnDef=\"number\">\r\n <th mat-header-cell *matHeaderCellDef mat-sort-header>{{'Number' | translate}}</th>\r\n <td mat-cell *matCellDef=\"let element\"> {{element.number}} </td>\r\n </ng-container>\r\n <ng-container matColumnDef=\"substituteId\">\r\n <th mat-header-cell *matHeaderCellDef mat-sort-header>{{ 'Who' | translate}}</th>\r\n <td mat-cell *matCellDef=\"let element\">\r\n <bizdoc-identity-name [identity]=\"element.substituteId\" [by]=\"element.byId\"></bizdoc-identity-name>\r\n </td>\r\n </ng-container>\r\n <ng-container matColumnDef=\"action\">\r\n <th mat-header-cell *matHeaderCellDef mat-sort-header>{{'Action' | translate}}</th>\r\n <td mat-cell *matCellDef=\"let element\"> <span *ngIf=\"element.action\">{{element.actionId | action : 'past'}} {{element.replied | amTimeAgo}}</span></td>\r\n </ng-container>\r\n <ng-container matColumnDef=\"state\">\r\n <th mat-header-cell *matHeaderCellDef mat-sort-header>{{'Status' | translate}}</th>\r\n <td mat-cell *matCellDef=\"let element\"> {{element.stateId | state}} </td>\r\n </ng-container>\r\n <ng-container matColumnDef=\"value\">\r\n <th mat-header-cell *matHeaderCellDef mat-sort-header>{{'Value' | translate}}</th>\r\n <td mat-cell *matCellDef=\"let element\"> {{element.value}} </td>\r\n </ng-container>\r\n <tr mat-header-row *matHeaderRowDef=\"displayColumns\"></tr>\r\n <tr mat-row [@item]=\"dataSource.data.length\" *matRowDef=\"let element; columns: displayColumns;\"></tr>\r\n</table>\r\n" }]
|
36
|
+
}], propDecorators: { sort: [{
|
37
|
+
type: ViewChild,
|
38
|
+
args: [MatSort, { static: true }]
|
39
|
+
}] } });
|
40
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3Vic3RpdHV0aW9uLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL2xpYn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0Q2VsbERlZj1cImxldCBlbGVtZW50XCI+IHt7ZWxlbWVudC5zdGF0ZUlkIHwgc3RhdGV9fSA8L3RkPlxyXG4gIDwvbmctY29udGFpbmVyPlxyXG4gIDxuZy1jb250YWluZXIgbWF0Q29sdW1uRGVmPVwidmFsdWVcIj5cclxuICAgIDx0aCBtYXQtaGVhZGVyLWNlbGwgKm1hdEhlYWRlckNlbGxEZWYgbWF0LXNvcnQtaGVhZGVyPnt7J1ZhbHVlJyB8IHRyYW5zbGF0ZX19PC90aD5cclxuICAgIDx0ZCBtYXQtY2VsbCAqbWF0Q2VsbERlZj1cImxldCBlbGVtZW50XCI+IHt7ZWxlbWVudC52YWx1ZX19IDwvdGQ+XHJcbiAgPC9uZy1jb250YWluZXI+XHJcbiAgPHRyIG1hdC1oZWFkZXItcm93ICptYXRIZWFkZXJSb3dEZWY9XCJkaXNwbGF5Q29sdW1uc1wiPjwvdHI+XHJcbiAgPHRyIG1hdC1yb3cgW0BpdGVtXT1cImRhdGFTb3VyY2UuZGF0YS5sZW5ndGhcIiAqbWF0Um93RGVmPVwibGV0IGVsZW1lbnQ7IGNvbHVtbnM6IGRpc3BsYXlDb2x1bW5zO1wiPjwvdHI+XHJcbjwvdGFibGU+XHJcbiJdfQ==
|
@@ -0,0 +1,41 @@
|
|
1
|
+
import { Component, Input, ViewChild, Output, EventEmitter } from '@angular/core';
|
2
|
+
import { MatSort } from '@angular/material/sort';
|
3
|
+
import { MatTableDataSource } from '@angular/material/table';
|
4
|
+
import { listAnimation } from '../../core/animations';
|
5
|
+
import * as i0 from "@angular/core";
|
6
|
+
import * as i1 from "@angular/material/table";
|
7
|
+
import * as i2 from "@angular/material/sort";
|
8
|
+
import * as i3 from "@angular/common";
|
9
|
+
/** table-view component*/
|
10
|
+
export class TableViewComponent {
|
11
|
+
constructor() {
|
12
|
+
this.itemClick = new EventEmitter();
|
13
|
+
}
|
14
|
+
ngOnInit() {
|
15
|
+
this.displayedColumns = this.columns.filter(c => !c.hidden).map(c => c.name);
|
16
|
+
}
|
17
|
+
onBind(result) {
|
18
|
+
this.dataSource = new MatTableDataSource(result);
|
19
|
+
this.dataSource.sort = this.sort;
|
20
|
+
}
|
21
|
+
rowClick(item) {
|
22
|
+
if (this.selectable)
|
23
|
+
this.itemClick.emit(item);
|
24
|
+
}
|
25
|
+
}
|
26
|
+
TableViewComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: TableViewComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
27
|
+
TableViewComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.2", type: TableViewComponent, selector: "bizdoc-table-view", inputs: { columns: "columns", selectable: "selectable" }, outputs: { itemClick: "itemClick" }, viewQueries: [{ propertyName: "sort", first: true, predicate: MatSort, descendants: true, static: true }], ngImport: i0, template: "<table mat-table matSort [dataSource]=\"dataSource\" @list>\r\n <ng-container *ngFor=\"let c of columns\" [matColumnDef]=\"c.name\">\r\n <th mat-header-cell *matHeaderCellDef mat-sort-header>{{c.label || c.name}}</th>\r\n <td mat-cell *matCellDef=\"let element\"> {{element[c.name]}} </td>\r\n </ng-container>\r\n <tr mat-header-row *matHeaderRowDef=\"displayedColumns\"></tr>\r\n <tr mat-row @item *matRowDef=\"let element; columns: displayedColumns;\" (click)=\"rowClick(element)\"></tr>\r\n</table>\r\n", styles: [""], components: [{ type: i1.MatTable, selector: "mat-table, table[mat-table]", exportAs: ["matTable"] }, { type: i2.MatSortHeader, selector: "[mat-sort-header]", inputs: ["disabled", "mat-sort-header", "arrowPosition", "start", "sortActionDescription", "disableClear"], exportAs: ["matSortHeader"] }, { type: i1.MatHeaderRow, selector: "mat-header-row, tr[mat-header-row]", exportAs: ["matHeaderRow"] }, { type: i1.MatRow, selector: "mat-row, tr[mat-row]", exportAs: ["matRow"] }], directives: [{ type: i2.MatSort, selector: "[matSort]", inputs: ["matSortDisabled", "matSortActive", "matSortStart", "matSortDirection", "matSortDisableClear"], outputs: ["matSortChange"], exportAs: ["matSort"] }, { type: i3.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i1.MatColumnDef, selector: "[matColumnDef]", inputs: ["sticky", "matColumnDef"] }, { type: i1.MatHeaderCellDef, selector: "[matHeaderCellDef]" }, { type: i1.MatHeaderCell, selector: "mat-header-cell, th[mat-header-cell]" }, { type: i1.MatCellDef, selector: "[matCellDef]" }, { type: i1.MatCell, selector: "mat-cell, td[mat-cell]" }, { type: i1.MatHeaderRowDef, selector: "[matHeaderRowDef]", inputs: ["matHeaderRowDef", "matHeaderRowDefSticky"] }, { type: i1.MatRowDef, selector: "[matRowDef]", inputs: ["matRowDefColumns", "matRowDefWhen"] }], animations: [listAnimation] });
|
28
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: TableViewComponent, decorators: [{
|
29
|
+
type: Component,
|
30
|
+
args: [{ selector: 'bizdoc-table-view', animations: [listAnimation], template: "<table mat-table matSort [dataSource]=\"dataSource\" @list>\r\n <ng-container *ngFor=\"let c of columns\" [matColumnDef]=\"c.name\">\r\n <th mat-header-cell *matHeaderCellDef mat-sort-header>{{c.label || c.name}}</th>\r\n <td mat-cell *matCellDef=\"let element\"> {{element[c.name]}} </td>\r\n </ng-container>\r\n <tr mat-header-row *matHeaderRowDef=\"displayedColumns\"></tr>\r\n <tr mat-row @item *matRowDef=\"let element; columns: displayedColumns;\" (click)=\"rowClick(element)\"></tr>\r\n</table>\r\n", styles: [""] }]
|
31
|
+
}], propDecorators: { columns: [{
|
32
|
+
type: Input
|
33
|
+
}], selectable: [{
|
34
|
+
type: Input
|
35
|
+
}], itemClick: [{
|
36
|
+
type: Output
|
37
|
+
}], sort: [{
|
38
|
+
type: ViewChild,
|
39
|
+
args: [MatSort, { static: true }]
|
40
|
+
}] } });
|
41
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2Z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RhU291cmNlKHJlc3VsdCk7XHJcbiAgICB0aGlzLmRhdGFTb3VyY2Uuc29ydCA9IHRoaXMuc29ydDtcclxuICB9XHJcbiAgcm93Q2xpY2soaXRlbTogYW55KSB7XHJcbiAgICBpZiAodGhpcy5zZWxlY3RhYmxlKVxyXG4gICAgICB0aGlzLml0ZW1DbGljay5lbWl0KGl0ZW0pO1xyXG4gIH1cclxufVxyXG4iLCI8dGFibGUgbWF0LXRhYmxlIG1hdFNvcnQgW2RhdGFTb3VyY2VdPVwiZGF0YVNvdXJjZVwiIEBsaXN0PlxyXG4gIDxuZy1jb250YWluZXIgKm5nRm9yPVwibGV0IGMgb2YgY29sdW1uc1wiIFttYXRDb2x1bW5EZWZdPVwiYy5uYW1lXCI+XHJcbiAgICA8dGggbWF0LWhlYWRlci1jZWxsICptYXRIZWFkZXJDZWxsRGVmIG1hdC1zb3J0LWhlYWRlcj57e2MubGFiZWwgfHwgYy5uYW1lfX08L3RoPlxyXG4gICAgPHRkIG1hdC1jZWxsICptYXRDZWxsRGVmPVwibGV0IGVsZW1lbnRcIj4ge3tlbGVtZW50W2MubmFtZV19fSA8L3RkPlxyXG4gIDwvbmctY29udGFpbmVyPlxyXG4gIDx0ciBtYXQtaGVhZGVyLXJvdyAqbWF0SGVhZGVyUm93RGVmPVwiZGlzcGxheWVkQ29sdW1uc1wiPjwvdHI+XHJcbiAgPHRyIG1hdC1yb3cgQGl0ZW0gKm1hdFJvd0RlZj1cImxldCBlbGVtZW50OyBjb2x1bW5zOiBkaXNwbGF5ZWRDb2x1bW5zO1wiIChjbGljayk9XCJyb3dDbGljayhlbGVtZW50KVwiPjwvdHI+XHJcbjwvdGFibGU+XHJcbiJdfQ==
|
@@ -0,0 +1,95 @@
|
|
1
|
+
import { __decorate } from "tslib";
|
2
|
+
import { Component, ViewChild } from "@angular/core";
|
3
|
+
import { KanbanComponent } from "@syncfusion/ej2-angular-kanban";
|
4
|
+
import { forkJoin, Subject } from "rxjs";
|
5
|
+
import { tap, takeUntil } from "rxjs/operators";
|
6
|
+
import { BizDoc } from "../../core/decorators";
|
7
|
+
import * as i0 from "@angular/core";
|
8
|
+
import * as i1 from "../report-ref";
|
9
|
+
import * as i2 from "../../core/mailbox.service";
|
10
|
+
import * as i3 from "../../core/account.service";
|
11
|
+
import * as i4 from "../../core/prompt.service";
|
12
|
+
import * as i5 from "../../core/info/document-info.service";
|
13
|
+
import * as i6 from "../../core/session.service";
|
14
|
+
import * as i7 from "@syncfusion/ej2-angular-kanban";
|
15
|
+
/** */
|
16
|
+
let TasksComponent = class TasksComponent {
|
17
|
+
constructor(_reportRef, _mailbox, _accounts, _sb, _info, _session) {
|
18
|
+
this._reportRef = _reportRef;
|
19
|
+
this._mailbox = _mailbox;
|
20
|
+
this._accounts = _accounts;
|
21
|
+
this._sb = _sb;
|
22
|
+
this._info = _info;
|
23
|
+
this._session = _session;
|
24
|
+
this.cardSettings = { contentField: 'subject', headerField: 'number', showHeader: true };
|
25
|
+
this._map = {};
|
26
|
+
this._destroy = new Subject();
|
27
|
+
const { states, swimlane, assignable } = this._reportRef.options;
|
28
|
+
if (swimlane !== false)
|
29
|
+
this.swimlaneSettings = {
|
30
|
+
allowDragAndDrop: assignable !== false,
|
31
|
+
textField: 'userName',
|
32
|
+
keyField: 'userId'
|
33
|
+
};
|
34
|
+
this.allowDragAndDrop = assignable !== false;
|
35
|
+
this.columns = this._session.profile.states.filter(s => !states || states.indexOf(s.name) > -1).map(s => {
|
36
|
+
this._map[s.name] = s;
|
37
|
+
return { headerText: s.title, keyField: s.name, allowToggle: true };
|
38
|
+
});
|
39
|
+
_reportRef.resize.
|
40
|
+
pipe(takeUntil(this._destroy)).
|
41
|
+
subscribe(d => this.height = d.height - 15);
|
42
|
+
}
|
43
|
+
/**
|
44
|
+
*
|
45
|
+
* @param data
|
46
|
+
*/
|
47
|
+
onBind(data) {
|
48
|
+
if (data.length)
|
49
|
+
this._decorate(data).subscribe(() => this.dataSource = data);
|
50
|
+
else
|
51
|
+
this.dataSource = [];
|
52
|
+
}
|
53
|
+
_decorate(data) {
|
54
|
+
const observables = data.map(r => this._accounts.get(r.userId).pipe(tap(u => r.userName = u.name)));
|
55
|
+
return forkJoin(observables);
|
56
|
+
}
|
57
|
+
/**
|
58
|
+
*
|
59
|
+
* @param evt
|
60
|
+
*/
|
61
|
+
drag(evt) {
|
62
|
+
const { id, stateId, userId } = evt.data[0];
|
63
|
+
this._mailbox.changeState(id, stateId, userId).
|
64
|
+
subscribe(undefined, () => this._sb.error());
|
65
|
+
}
|
66
|
+
/**
|
67
|
+
*
|
68
|
+
* @param id
|
69
|
+
*/
|
70
|
+
preview(id) {
|
71
|
+
this._info.open(id);
|
72
|
+
}
|
73
|
+
cardRendered(evt) {
|
74
|
+
const { stateId } = evt.data, { color: borderColor } = this._map[stateId];
|
75
|
+
//borderColor && setStyleAttribute(evt.element as HTMLElement, { borderColor });
|
76
|
+
}
|
77
|
+
ngOnDestroy() {
|
78
|
+
this._destroy.next();
|
79
|
+
this._destroy.complete();
|
80
|
+
}
|
81
|
+
};
|
82
|
+
TasksComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: TasksComponent, deps: [{ token: i1.ReportRef }, { token: i2.MailboxService }, { token: i3.AccountService }, { token: i4.PromptService }, { token: i5.DocumentInfo }, { token: i6.SessionService }], target: i0.ɵɵFactoryTarget.Component });
|
83
|
+
TasksComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.2", type: TasksComponent, selector: "ng-component", viewQueries: [{ propertyName: "kanban", first: true, predicate: KanbanComponent, descendants: true }], ngImport: i0, template: "<ejs-kanban (dragStop)=\"drag($event)\" [allowDragAndDrop]=\"allowDragAndDrop\" [swimlaneSettings]=\"swimlaneSettings\"\r\n [cardSettings]=\"cardSettings\" [dataSource]=\"dataSource\" keyField=\"stateId\" [columns]=\"columns\"\r\n [height]=\"height\"\r\n (cardRendered)='cardRendered($event)'>\r\n</ejs-kanban>\r\n<ng-template #cardTemplate let-data>\r\n <div class='card-template'>\r\n <div class='e-card-header'>\r\n <div class='e-card-header-caption'>\r\n <div class='e-card-header-title e-tooltip-text'><a (click)=\"preview(data.id)\">#{{data.number}}</a></div>\r\n </div>\r\n </div>\r\n <div class='e-card-content e-tooltip-text'>\r\n <div class='e-text'>{{data.subject}}</div>\r\n </div>\r\n <!--<div class='e-card-custom-footer'>\r\n <div class=\"e-card-tag-field e-tooltip-text\" *ngFor=\"let tag of data.tags\"></div>\r\n <div class='e-card-avatar'></div>\r\n </div>-->\r\n </div>\r\n</ng-template>\r\n", components: [{ type: i7.KanbanComponent, selector: "ejs-kanban", inputs: ["allowDragAndDrop", "allowKeyboard", "cardSettings", "columns", "constraintType", "cssClass", "dataSource", "dialogSettings", "enablePersistence", "enableRtl", "enableTooltip", "externalDropId", "height", "keyField", "locale", "query", "showEmptyColumn", "sortSettings", "stackedHeaders", "swimlaneSettings", "tooltipTemplate", "width"], outputs: ["actionBegin", "actionComplete", "actionFailure", "cardClick", "cardDoubleClick", "cardRendered", "created", "dataBinding", "dataBound", "dataSourceChanged", "dataStateChange", "dialogClose", "dialogOpen", "drag", "dragStart", "dragStop", "queryCellInfo"] }] });
|
84
|
+
TasksComponent = __decorate([
|
85
|
+
BizDoc({ selector: 'bizdoc-tasks' })
|
86
|
+
], TasksComponent);
|
87
|
+
export { TasksComponent };
|
88
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: TasksComponent, decorators: [{
|
89
|
+
type: Component,
|
90
|
+
args: [{ template: "<ejs-kanban (dragStop)=\"drag($event)\" [allowDragAndDrop]=\"allowDragAndDrop\" [swimlaneSettings]=\"swimlaneSettings\"\r\n [cardSettings]=\"cardSettings\" [dataSource]=\"dataSource\" keyField=\"stateId\" [columns]=\"columns\"\r\n [height]=\"height\"\r\n (cardRendered)='cardRendered($event)'>\r\n</ejs-kanban>\r\n<ng-template #cardTemplate let-data>\r\n <div class='card-template'>\r\n <div class='e-card-header'>\r\n <div class='e-card-header-caption'>\r\n <div class='e-card-header-title e-tooltip-text'><a (click)=\"preview(data.id)\">#{{data.number}}</a></div>\r\n </div>\r\n </div>\r\n <div class='e-card-content e-tooltip-text'>\r\n <div class='e-text'>{{data.subject}}</div>\r\n </div>\r\n <!--<div class='e-card-custom-footer'>\r\n <div class=\"e-card-tag-field e-tooltip-text\" *ngFor=\"let tag of data.tags\"></div>\r\n <div class='e-card-avatar'></div>\r\n </div>-->\r\n </div>\r\n</ng-template>\r\n" }]
|
91
|
+
}], ctorParameters: function () { return [{ type: i1.ReportRef }, { type: i2.MailboxService }, { type: i3.AccountService }, { type: i4.PromptService }, { type: i5.DocumentInfo }, { type: i6.SessionService }]; }, propDecorators: { kanban: [{
|
92
|
+
type: ViewChild,
|
93
|
+
args: [KanbanComponent]
|
94
|
+
}] } });
|
95
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGFza3MuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vbGlicmFyaWVzL2NvcmUvc3JjL2xpYi9yZXBvcnRzL3Rhc2tzL3Rhc2tzLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uLy4uL2xpYnJhcmllcy9jb3JlL3NyYy9saWIvcmVwb3J0cy90YXNrcy90YXNrcy5jb21wb25lbnQuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiO0FBQUEsT0FBTyxFQUFFLFNBQVMsRUFBRSxTQUFTLEVBQXFCLE1BQU0sZUFBZSxDQUFDO0FBQ3hFLE9BQU8sRUFBRSxlQUFlLEVBQWdHLE1BQU0sZ0NBQWdDLENBQUM7QUFDL0osT0FBTyxFQUFjLFFBQVEsRUFBRSxPQUFPLEVBQUUsTUFBTSxNQUFNLENBQUM7QUFDckQsT0FBTyxFQUFFLEdBQUcsR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