@bizdoc/core 1.14.8 → 1.14.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE.md +1 -0
- package/assets/bizdoc-schema.json +3 -0
- package/karma.conf.js +44 -0
- package/ng-package.json +11 -0
- package/package.json +78 -78
- package/src/icons/pdf.svg +24 -0
- package/src/icons/word.svg +13 -0
- package/src/lib/admin/_admin-theme.scss +6 -0
- package/src/lib/admin/admin-dismiss.service.ts +24 -0
- package/src/lib/admin/admin-menu.component.html +18 -0
- package/src/lib/admin/admin-menu.component.ts +20 -0
- package/src/lib/admin/core/ace.input.ts +133 -0
- package/src/lib/admin/core/color-picker.input.scss +17 -0
- package/src/lib/admin/core/color-picker.input.ts +175 -0
- package/src/lib/admin/core/search.input.ts +32 -0
- package/src/lib/admin/diff/_configuration-diff-theme.scss +84 -0
- package/src/lib/admin/diff/configuration-diff.component.html +24 -0
- package/src/lib/admin/diff/configuration-diff.component.scss +16 -0
- package/src/lib/admin/diff/configuration-diff.component.ts +552 -0
- package/src/lib/admin/document-trace/Timeline.ts +45 -0
- package/src/lib/admin/document-trace/_timeline-theme.scss +70 -0
- package/src/lib/admin/document-trace/document-trace.component.html +96 -0
- package/src/lib/admin/document-trace/document-trace.component.scss +16 -0
- package/src/lib/admin/document-trace/document-trace.component.ts +526 -0
- package/src/lib/admin/document-trace/reassign.dialog.html +24 -0
- package/src/lib/admin/document-trace/reassign.dialog.ts +34 -0
- package/src/lib/admin/document-trace/trace-element.component.html +55 -0
- package/src/lib/admin/document-trace/trace-element.component.scss +23 -0
- package/src/lib/admin/document-trace/trace-element.component.ts +139 -0
- package/src/lib/admin/form/form.resolve.service.ts +13 -0
- package/src/lib/admin/form/form.service.ts +49 -0
- package/src/lib/admin/form/workflow/node-ref.ts +8 -0
- package/src/lib/admin/form/workflow/node.component.html +36 -0
- package/src/lib/admin/form/workflow/node.component.scss +4 -0
- package/src/lib/admin/form/workflow/node.component.ts +129 -0
- package/src/lib/admin/form/workflow/role-node.component.html +40 -0
- package/src/lib/admin/form/workflow/role-node.component.ts +66 -0
- package/src/lib/admin/form/workflow/tools.component.exp.ts +13 -0
- package/src/lib/admin/form/workflow/tools.component.html +1 -0
- package/src/lib/admin/form/workflow/workflow.component.html +66 -0
- package/src/lib/admin/form/workflow/workflow.component.scss +57 -0
- package/src/lib/admin/form/workflow/workflow.component.ts +438 -0
- package/src/lib/admin/indices/manage-cube-index.component.html +35 -0
- package/src/lib/admin/indices/manage-cube-index.component.scss +16 -0
- package/src/lib/admin/indices/manage-cube-index.component.ts +155 -0
- package/src/lib/admin/patterns/patterns.component.html +70 -0
- package/src/lib/admin/patterns/patterns.component.ts +166 -0
- package/src/lib/admin/permissions/permissions.component.html +21 -0
- package/src/lib/admin/permissions/permissions.component.scss +7 -0
- package/src/lib/admin/permissions/permissions.component.ts +89 -0
- package/src/lib/admin/positions/positions-popup.component.html +23 -0
- package/src/lib/admin/positions/positions-popup.component.ts +68 -0
- package/src/lib/admin/positions/positions.component.html +150 -0
- package/src/lib/admin/positions/positions.component.scss +20 -0
- package/src/lib/admin/positions/positions.component.ts +464 -0
- package/src/lib/admin/profiler/assign.component.html +14 -0
- package/src/lib/admin/profiler/outofoffice.component.html +64 -0
- package/src/lib/admin/profiler/outofoffice.component.ts +146 -0
- package/src/lib/admin/profiler/profiler.component.html +110 -0
- package/src/lib/admin/profiler/profiler.component.scss +23 -0
- package/src/lib/admin/profiler/profiler.component.ts +302 -0
- package/src/lib/admin/utility-ref.ts +44 -0
- package/src/lib/admin/utility-wrapper.component.ts +52 -0
- package/src/lib/admin/utility.pane.component.ts +49 -0
- package/src/lib/app.component.ts +90 -0
- package/src/lib/bizdoc.module.ts +82 -0
- package/src/lib/browse/_browse-theme.scss +86 -0
- package/src/lib/browse/browse-items.component.html +171 -0
- package/src/lib/browse/browse-items.component.scss +52 -0
- package/src/lib/browse/browse-items.component.ts +460 -0
- package/src/lib/browse/browse.mobile.component.html +33 -0
- package/src/lib/browse/browse.mobile.component.ts +90 -0
- package/src/lib/browse/browse.pane.component.html +43 -0
- package/src/lib/browse/browse.pane.component.scss +4 -0
- package/src/lib/browse/browse.pane.component.ts +141 -0
- package/src/lib/browse/expanded-item/expanded-item.component.html +38 -0
- package/src/lib/browse/expanded-item/expanded-item.component.scss +35 -0
- package/src/lib/browse/expanded-item/expanded-item.component.ts +339 -0
- package/src/lib/browse/filter/filter.component.html +50 -0
- package/src/lib/browse/filter/filter.component.scss +10 -0
- package/src/lib/browse/filter/filter.component.ts +156 -0
- package/src/lib/browse/folders-menu.component.html +20 -0
- package/src/lib/browse/folders-menu.component.scss +15 -0
- package/src/lib/browse/folders-menu.component.ts +42 -0
- package/src/lib/chat/_chat-theme.scss +95 -0
- package/src/lib/chat/chat-info.ts +74 -0
- package/src/lib/chat/chat-pool.component.exp.ts +117 -0
- package/src/lib/chat/chat-pool.component.html +13 -0
- package/src/lib/chat/chat-pool.component.scss +10 -0
- package/src/lib/chat/chat.mobile.component.html +6 -0
- package/src/lib/chat/chat.mobile.component.scss +8 -0
- package/src/lib/chat/chat.mobile.component.ts +18 -0
- package/src/lib/chat/chat.service.ts +128 -0
- package/src/lib/chat/contacts.component.html +37 -0
- package/src/lib/chat/contacts.component.scss +49 -0
- package/src/lib/chat/contacts.component.ts +88 -0
- package/src/lib/chat/contacts.pane.component.ts +25 -0
- package/src/lib/chat/conversation.component.html +28 -0
- package/src/lib/chat/conversation.component.scss +14 -0
- package/src/lib/chat/conversation.component.ts +186 -0
- package/src/lib/chat/conversation.pane.component.ts +55 -0
- package/src/lib/compose/_compose-theme.scss +63 -0
- package/src/lib/compose/action/action-picker.component.html +25 -0
- package/src/lib/compose/action/action-picker.component.scss +4 -0
- package/src/lib/compose/action/action-picker.component.ts +72 -0
- package/src/lib/compose/action/action-ref.ts +19 -0
- package/src/lib/compose/action/action.base.ts +58 -0
- package/src/lib/compose/action/action.dialog.html +17 -0
- package/src/lib/compose/action/action.dialog.scss +1 -0
- package/src/lib/compose/action/action.dialog.ts +57 -0
- package/src/lib/compose/action/action.pane.dialog.exp.ts +77 -0
- package/src/lib/compose/action/action.pane.dialog.html +12 -0
- package/src/lib/compose/action/assign-action.component.html +23 -0
- package/src/lib/compose/action/assign-action.component.ts +57 -0
- package/src/lib/compose/action/moveto-action.component.html +33 -0
- package/src/lib/compose/action/moveto-action.component.ts +77 -0
- package/src/lib/compose/action/return-action.component.html +13 -0
- package/src/lib/compose/action/return-action.component.ts +42 -0
- package/src/lib/compose/attachments/attachments.component.html +23 -0
- package/src/lib/compose/attachments/attachments.component.scss +21 -0
- package/src/lib/compose/attachments/attachments.component.ts +114 -0
- package/src/lib/compose/attachments/preview/attachment-preview.component.html +17 -0
- package/src/lib/compose/attachments/preview/attachment-preview.component.scss +36 -0
- package/src/lib/compose/attachments/preview/attachment-preview.component.ts +140 -0
- package/src/lib/compose/attachments/progress-button.directive.ts +18 -0
- package/src/lib/compose/can-deactivate-changes.service.ts +22 -0
- package/src/lib/compose/comments/_comments-theme.scss +82 -0
- package/src/lib/compose/comments/comment.component.html +36 -0
- package/src/lib/compose/comments/comment.component.ts +160 -0
- package/src/lib/compose/comments/comments.component.html +27 -0
- package/src/lib/compose/comments/comments.component.scss +33 -0
- package/src/lib/compose/comments/comments.component.ts +220 -0
- package/src/lib/compose/comments/comments.pane.component.ts +41 -0
- package/src/lib/compose/comments/edit-comment.component.html +3 -0
- package/src/lib/compose/comments/edit-comment.component.ts +35 -0
- package/src/lib/compose/comments/edits.component.html +7 -0
- package/src/lib/compose/comments/edits.component.ts +33 -0
- package/src/lib/compose/comments/quick-comment.component.exp.ts +60 -0
- package/src/lib/compose/comments/quick-comment.component.html +5 -0
- package/src/lib/compose/comments/quick-comment.component.scss +11 -0
- package/src/lib/compose/comments/votes.component.html +7 -0
- package/src/lib/compose/comments/votes.component.ts +38 -0
- package/src/lib/compose/compose-resolve.service.ts +42 -0
- package/src/lib/compose/compose.mobile.component.html +67 -0
- package/src/lib/compose/compose.mobile.component.scss +14 -0
- package/src/lib/compose/compose.mobile.component.ts +97 -0
- package/src/lib/compose/compose.pane.component.html +68 -0
- package/src/lib/compose/compose.pane.component.scss +6 -0
- package/src/lib/compose/compose.pane.component.ts +188 -0
- package/src/lib/compose/copy/copy.dialog.html +21 -0
- package/src/lib/compose/copy/copy.dialog.ts +40 -0
- package/src/lib/compose/dismiss.service.ts +26 -0
- package/src/lib/compose/document-resolver.service.ts +13 -0
- package/src/lib/compose/document.component.html +5 -0
- package/src/lib/compose/document.component.ts +41 -0
- package/src/lib/compose/document.mobile.component.ts +20 -0
- package/src/lib/compose/document.pane.component.ts +22 -0
- package/src/lib/compose/events/events.component.html +6 -0
- package/src/lib/compose/events/events.component.ts +21 -0
- package/src/lib/compose/form-ref.ts +53 -0
- package/src/lib/compose/form-selector/form-selector.sheet.html +10 -0
- package/src/lib/compose/form-selector/form-selector.sheet.ts +84 -0
- package/src/lib/compose/form.component.html +13 -0
- package/src/lib/compose/form.component.ts +456 -0
- package/src/lib/compose/maps/maps.component.html +3 -0
- package/src/lib/compose/maps/maps.component.ts +22 -0
- package/src/lib/compose/new-menu.component.html +13 -0
- package/src/lib/compose/new-menu.component.scss +11 -0
- package/src/lib/compose/new-menu.component.ts +106 -0
- package/src/lib/compose/privilage.directive.ts +43 -0
- package/src/lib/compose/recipient-resolver.service.ts +15 -0
- package/src/lib/compose/save-changes.dialog.html +13 -0
- package/src/lib/compose/save-changes.dialog.ts +10 -0
- package/src/lib/compose/state.component.ts +29 -0
- package/src/lib/compose/tag/tags.component.html +22 -0
- package/src/lib/compose/tag/tags.component.scss +1 -0
- package/src/lib/compose/tag/tags.component.ts +83 -0
- package/src/lib/compose/trace/flow.component.html +19 -0
- package/src/lib/compose/trace/flow.component.scss +7 -0
- package/src/lib/compose/trace/flow.component.ts +747 -0
- package/src/lib/compose/trace/people.component.ts +33 -0
- package/src/lib/compose/trace/trace.base.ts +72 -0
- package/src/lib/compose/trace/trace.component.html +57 -0
- package/src/lib/compose/trace/trace.component.scss +21 -0
- package/src/lib/compose/trace/trace.component.ts +388 -0
- package/src/lib/compose/trace/trace.pane.component.html +3 -0
- package/src/lib/compose/trace/trace.pane.component.scss +5 -0
- package/src/lib/compose/trace/trace.pane.component.ts +47 -0
- package/src/lib/compose/version-compare/_compare-theme.scss +147 -0
- package/src/lib/compose/version-compare/version-compare.component.ts +49 -0
- package/src/lib/compose/version-compare/version-compare.directive.ts +292 -0
- package/src/lib/compose/version-compare/version.pane.component.html +19 -0
- package/src/lib/compose/version-compare/version.pane.component.scss +8 -0
- package/src/lib/compose/version-compare/version.pane.component.ts +53 -0
- package/src/lib/core/NgComponentOutlet.ts +31 -0
- package/src/lib/core/account.service.ts +30 -0
- package/src/lib/core/animated-icon/animated-icon.directive.html +3 -0
- package/src/lib/core/animated-icon/animated-icon.directive.scss +12 -0
- package/src/lib/core/animated-icon/animated-icon.directive.ts +41 -0
- package/src/lib/core/animations.ts +207 -0
- package/src/lib/core/authentication.ts +7 -0
- package/src/lib/core/avatar/_avatar-theme.scss +60 -0
- package/src/lib/core/avatar/avatar.component.html +6 -0
- package/src/lib/core/avatar/avatar.component.ts +108 -0
- package/src/lib/core/base.ts +43 -0
- package/src/lib/core/can-activate.service.exp.ts +31 -0
- package/src/lib/core/colors.ts +322 -0
- package/src/lib/core/component-factory-resolver.ts +67 -0
- package/src/lib/core/configuration.ts +124 -0
- package/src/lib/core/controls/_daterange-theme.scss +16 -0
- package/src/lib/core/controls/address.input.ts +173 -0
- package/src/lib/core/controls/auto-complete.input.ts +218 -0
- package/src/lib/core/controls/combination-picker-body.html +34 -0
- package/src/lib/core/controls/combination-picker-body.scss +40 -0
- package/src/lib/core/controls/combination-picker-body.ts +194 -0
- package/src/lib/core/controls/combination-picker.html +6 -0
- package/src/lib/core/controls/combination-picker.scss +9 -0
- package/src/lib/core/controls/combination-picker.ts +243 -0
- package/src/lib/core/controls/combination-pool.html +10 -0
- package/src/lib/core/controls/combination-pool.scss +35 -0
- package/src/lib/core/controls/combination-pool.ts +92 -0
- package/src/lib/core/controls/file.input.html +50 -0
- package/src/lib/core/controls/file.input.scss +41 -0
- package/src/lib/core/controls/file.input.ts +400 -0
- package/src/lib/core/controls/select.input.ts +210 -0
- package/src/lib/core/controls/time-picker.html +4 -0
- package/src/lib/core/controls/time-picker.ts +199 -0
- package/src/lib/core/controls/timespan.input.ts +175 -0
- package/src/lib/core/datasource.service.ts +80 -0
- package/src/lib/core/decorators.ts +56 -0
- package/src/lib/core/firebase.service.ts +55 -0
- package/src/lib/core/functions.ts +246 -0
- package/src/lib/core/guide/_guide-theme.scss +197 -0
- package/src/lib/core/guide/guide.component.html +20 -0
- package/src/lib/core/guide/guide.component.ts +222 -0
- package/src/lib/core/guide/guide.service.ts +108 -0
- package/src/lib/core/guide/help-tip.component.ts +43 -0
- package/src/lib/core/http.interceptor.ts +80 -0
- package/src/lib/core/hub.service.ts +202 -0
- package/src/lib/core/identity/identity.component.html +2 -0
- package/src/lib/core/identity/identity.component.ts +57 -0
- package/src/lib/core/info/attachment-info.service.ts +46 -0
- package/src/lib/core/info/document-info.service.ts +15 -0
- package/src/lib/core/info/location-info.component.scss +13 -0
- package/src/lib/core/info/location-info.component.ts +64 -0
- package/src/lib/core/info/map-info.ts +33 -0
- package/src/lib/core/layout/autocomplete.field.ts +41 -0
- package/src/lib/core/layout/checkbox.field.ts +21 -0
- package/src/lib/core/layout/checkbox.scss +13 -0
- package/src/lib/core/layout/checkbox.ts +21 -0
- package/src/lib/core/layout/date-range.field.ts +32 -0
- package/src/lib/core/layout/date.field.ts +26 -0
- package/src/lib/core/layout/expression.field.ts +26 -0
- package/src/lib/core/layout/file.field.ts +27 -0
- package/src/lib/core/layout/html.field.ts +28 -0
- package/src/lib/core/layout/input.base.ts +12 -0
- package/src/lib/core/layout/input.field.ts +43 -0
- package/src/lib/core/layout/layout.component.scss +9 -0
- package/src/lib/core/layout/layout.component.ts +189 -0
- package/src/lib/core/layout/numeric.field.ts +24 -0
- package/src/lib/core/layout/select.field.ts +52 -0
- package/src/lib/core/layout/switch.field.ts +21 -0
- package/src/lib/core/layout/textarea.field.ts +21 -0
- package/src/lib/core/layout/timespan.field.ts +25 -0
- package/src/lib/core/lottie-animation.ts +37 -0
- package/src/lib/core/mailbox.service.ts +471 -0
- package/src/lib/core/models.ts +685 -0
- package/src/lib/core/none.component.scss +26 -0
- package/src/lib/core/none.component.ts +28 -0
- package/src/lib/core/pipes/action.pipe.ts +18 -0
- package/src/lib/core/pipes/calendar.pipe.ts +84 -0
- package/src/lib/core/pipes/date-format.pipe.ts +12 -0
- package/src/lib/core/pipes/daterange.pipe.ts +45 -0
- package/src/lib/core/pipes/difference.pipe.ts +9 -0
- package/src/lib/core/pipes/duration-format.pipe.ts +42 -0
- package/src/lib/core/pipes/duration.pipe.ts +13 -0
- package/src/lib/core/pipes/form.pipe.ts +19 -0
- package/src/lib/core/pipes/join.pipe.ts +10 -0
- package/src/lib/core/pipes/role.pipe.ts +19 -0
- package/src/lib/core/pipes/sanitize-html.pipe.ts +10 -0
- package/src/lib/core/pipes/sort.pipe.ts +34 -0
- package/src/lib/core/pipes/state.pipe.ts +19 -0
- package/src/lib/core/pipes/time-ago.pipe.ts +59 -0
- package/src/lib/core/pipes/translate.pipe.ts +22 -0
- package/src/lib/core/pipes/type-value.pipe.ts +37 -0
- package/src/lib/core/pipes/user-name.pipe.ts +14 -0
- package/src/lib/core/popup/_popup-theme.scss +363 -0
- package/src/lib/core/popup/popup-ref.ts +19 -0
- package/src/lib/core/popup/popup.component.html +6 -0
- package/src/lib/core/popup/popup.component.ts +40 -0
- package/src/lib/core/popup/popup.service.ts +156 -0
- package/src/lib/core/popup/tooltip.directive.ts +58 -0
- package/src/lib/core/prompt/ask/ask.dialog.html +6 -0
- package/src/lib/core/prompt/ask/ask.dialog.ts +35 -0
- package/src/lib/core/prompt/mask/mask.component.html +1 -0
- package/src/lib/core/prompt/mask/mask.component.scss +14 -0
- package/src/lib/core/prompt/mask/mask.component.ts +15 -0
- package/src/lib/core/prompt.service.ts +81 -0
- package/src/lib/core/router.ts +31 -0
- package/src/lib/core/session.service.ts +265 -0
- package/src/lib/core/slots/_slots-theme.scss +139 -0
- package/src/lib/core/slots/extended-tab.component.exp.ts +35 -0
- package/src/lib/core/slots/extended-tab.component.html +0 -0
- package/src/lib/core/slots/intro.pane.component.exp.ts +23 -0
- package/src/lib/core/slots/intro.pane.component.html +22 -0
- package/src/lib/core/slots/intro.pane.component.scss +8 -0
- package/src/lib/core/slots/pane-ref.ts +188 -0
- package/src/lib/core/slots/router.directive.ts +53 -0
- package/src/lib/core/slots/router.service.ts +53 -0
- package/src/lib/core/slots/slot.component.exp.ts +49 -0
- package/src/lib/core/slots/slot.component.html +15 -0
- package/src/lib/core/slots/slot.component.scss +18 -0
- package/src/lib/core/slots/slots.component.html +68 -0
- package/src/lib/core/slots/slots.component.scss +163 -0
- package/src/lib/core/slots/slots.component.ts +1260 -0
- package/src/lib/core/tagging/documents.component.html +11 -0
- package/src/lib/core/tagging/documents.component.ts +19 -0
- package/src/lib/core/tagging/edit-input.component.html +41 -0
- package/src/lib/core/tagging/edit-input.component.scss +21 -0
- package/src/lib/core/tagging/edit-input.component.ts +211 -0
- package/src/lib/core/tagging/emoji.component.ts +23 -0
- package/src/lib/core/tagging/tagging-item.directive.ts +34 -0
- package/src/lib/core/tagging/tagging.component-base.ts +29 -0
- package/src/lib/core/tagging/tagging.component.scss +22 -0
- package/src/lib/core/tagging/tagging.directive.ts +130 -0
- package/src/lib/core/tagging/tagging.pipe.ts +76 -0
- package/src/lib/core/tagging/users.component.html +13 -0
- package/src/lib/core/tagging/users.component.ts +28 -0
- package/src/lib/core/translate.service.ts +128 -0
- package/src/lib/core/translations.ts +1138 -0
- package/src/lib/core/window-title.service.ts +54 -0
- package/src/lib/cube/accum/accum.component.html +16 -0
- package/src/lib/cube/accum/accum.component.ts +264 -0
- package/src/lib/cube/chart/chart.component.html +32 -0
- package/src/lib/cube/chart/chart.component.ts +344 -0
- package/src/lib/cube/cube-info.service.ts +135 -0
- package/src/lib/cube/cube-menu.component.html +13 -0
- package/src/lib/cube/cube-menu.component.ts +18 -0
- package/src/lib/cube/cube-view.component.html +66 -0
- package/src/lib/cube/cube-view.component.ts +186 -0
- package/src/lib/cube/cube.service.ts +495 -0
- package/src/lib/cube/declarations.ts +24 -0
- package/src/lib/cube/explore/document-item.component.ts +28 -0
- package/src/lib/cube/explore/explore-item.component.scss +4 -0
- package/src/lib/cube/explore/explore-item.component.ts +23 -0
- package/src/lib/cube/explore/explore-items.component.html +25 -0
- package/src/lib/cube/explore/explore-items.component.scss +7 -0
- package/src/lib/cube/explore/explore-items.component.ts +185 -0
- package/src/lib/cube/explore/explore.pane.component.html +12 -0
- package/src/lib/cube/explore/explore.pane.component.ts +78 -0
- package/src/lib/cube/explore/item-resolver.service.ts +24 -0
- package/src/lib/cube/explore/item.pane.component.html +3 -0
- package/src/lib/cube/explore/item.pane.component.ts +23 -0
- package/src/lib/cube/filter/filter-tags.component.exp.ts +70 -0
- package/src/lib/cube/filter/filter-tags.component.html +11 -0
- package/src/lib/cube/filter/filter-tags.component.scss +0 -0
- package/src/lib/cube/filter/filter-tags.component.spec.ts +25 -0
- package/src/lib/cube/filter/filter.component.html +25 -0
- package/src/lib/cube/filter/filter.component.scss +8 -0
- package/src/lib/cube/filter/filter.component.ts +116 -0
- package/src/lib/cube/grid/grid.component.html +29 -0
- package/src/lib/cube/grid/grid.component.scss +10 -0
- package/src/lib/cube/grid/grid.component.ts +223 -0
- package/src/lib/cube/grid/spreadsheet.component.ts +382 -0
- package/src/lib/cube/matrix/_matrix.theme.scss +86 -0
- package/src/lib/cube/matrix/matrix.base.ts +149 -0
- package/src/lib/cube/matrix/matrix.mobile.component.html +28 -0
- package/src/lib/cube/matrix/matrix.mobile.component.ts +60 -0
- package/src/lib/cube/matrix/matrix.pane.component.html +34 -0
- package/src/lib/cube/matrix/matrix.pane.component.scss +10 -0
- package/src/lib/cube/matrix/matrix.pane.component.ts +83 -0
- package/src/lib/cube/matrix/popup.component.html +32 -0
- package/src/lib/cube/matrix/popup.component.scss +7 -0
- package/src/lib/cube/matrix/popup.component.ts +55 -0
- package/src/lib/cube/matrix/table.component.html +46 -0
- package/src/lib/cube/matrix/table.component.scss +25 -0
- package/src/lib/cube/matrix/table.component.ts +517 -0
- package/src/lib/cube/parallel/item.ts +47 -0
- package/src/lib/cube/parallel/parallel.component.html +22 -0
- package/src/lib/cube/parallel/parallel.component.scss +13 -0
- package/src/lib/cube/parallel/parallel.component.ts +166 -0
- package/src/lib/cube/pivot/pivot.component.html +14 -0
- package/src/lib/cube/pivot/pivot.component.ts +518 -0
- package/src/lib/cube/sum/_sum.theme.scss +63 -0
- package/src/lib/cube/sum/sum.component.html +60 -0
- package/src/lib/cube/sum/sum.component.scss +94 -0
- package/src/lib/cube/sum/sum.component.ts +437 -0
- package/src/lib/cube/view-base.ts +82 -0
- package/src/lib/cube/view.mobile.component.html +38 -0
- package/src/lib/cube/view.mobile.component.scss +9 -0
- package/src/lib/cube/view.mobile.component.ts +116 -0
- package/src/lib/cube/view.pane.component.html +24 -0
- package/src/lib/cube/view.pane.component.scss +12 -0
- package/src/lib/cube/view.pane.component.ts +80 -0
- package/src/lib/dashboard/_table.widget.scss +19 -0
- package/src/lib/dashboard/actions/actions.widget.html +6 -0
- package/src/lib/dashboard/actions/actions.widget.ts +118 -0
- package/src/lib/dashboard/cube/accum-cube.widget.html +15 -0
- package/src/lib/dashboard/cube/accum-cube.widget.ts +154 -0
- package/src/lib/dashboard/cube/compare.widget.ts +219 -0
- package/src/lib/dashboard/cube/cube-analysis.base.ts +113 -0
- package/src/lib/dashboard/cube/cube-analysis.widget.ts +44 -0
- package/src/lib/dashboard/cube/cube-chart.widget.html +7 -0
- package/src/lib/dashboard/cube/cube-chart.widget.ts +144 -0
- package/src/lib/dashboard/cube/documents.widget.html +19 -0
- package/src/lib/dashboard/cube/documents.widget.ts +57 -0
- package/src/lib/dashboard/cube/filter/filter.component.html +3 -0
- package/src/lib/dashboard/cube/filter/filter.component.ts +53 -0
- package/src/lib/dashboard/cube/gauge.component.exp.ts +18 -0
- package/src/lib/dashboard/dashboard.component.html +18 -0
- package/src/lib/dashboard/dashboard.component.scss +36 -0
- package/src/lib/dashboard/dashboard.component.ts +53 -0
- package/src/lib/dashboard/dashboard.pane.component.ts +19 -0
- package/src/lib/dashboard/recents/recents.widget.html +32 -0
- package/src/lib/dashboard/recents/recents.widget.scss +9 -0
- package/src/lib/dashboard/recents/recents.widget.ts +89 -0
- package/src/lib/dashboard/score/activity.widget.html +9 -0
- package/src/lib/dashboard/score/activity.widget.ts +175 -0
- package/src/lib/dashboard/score/compare-groups.widget.html +8 -0
- package/src/lib/dashboard/score/compare-groups.widget.ts +212 -0
- package/src/lib/dashboard/score/peers-performance.widget.html +23 -0
- package/src/lib/dashboard/score/peers-performance.widget.ts +254 -0
- package/src/lib/dashboard/score/pending-results.widget.html +31 -0
- package/src/lib/dashboard/score/pending-results.widget.ts +52 -0
- package/src/lib/dashboard/score/personal-score.widget.html +18 -0
- package/src/lib/dashboard/score/personal-score.widget.ts +229 -0
- package/src/lib/dashboard/widget-item.component.ts +92 -0
- package/src/lib/dashboard/widget-ref.ts +20 -0
- package/src/lib/desktop.module.ts +98 -0
- package/src/lib/home/_home-theme.scss +174 -0
- package/src/lib/home/about/about.dialog.html +19 -0
- package/src/lib/home/about/about.dialog.ts +18 -0
- package/src/lib/home/home-base.component.ts +100 -0
- package/src/lib/home/home.desktop.component.html +92 -0
- package/src/lib/home/home.desktop.component.scss +66 -0
- package/src/lib/home/home.desktop.component.ts +211 -0
- package/src/lib/home/home.mobile.component.html +81 -0
- package/src/lib/home/home.mobile.component.scss +49 -0
- package/src/lib/home/home.mobile.component.ts +105 -0
- package/src/lib/home/notifications/notifications.component.html +18 -0
- package/src/lib/home/notifications/notifications.component.scss +36 -0
- package/src/lib/home/notifications/notifications.component.ts +55 -0
- package/src/lib/home/options/_options-theme.scss +11 -0
- package/src/lib/home/options/options.component.html +41 -0
- package/src/lib/home/options/options.component.scss +16 -0
- package/src/lib/home/options/options.component.ts +95 -0
- package/src/lib/home/outofoffice/outofoffice.component.html +5 -0
- package/src/lib/home/outofoffice/outofoffice.component.scss +10 -0
- package/src/lib/home/outofoffice/outofoffice.component.ts +33 -0
- package/src/lib/home/progress-bar.directive.exp.ts +24 -0
- package/src/lib/home/search.service.ts +87 -0
- package/src/lib/home/sign/sign.component.html +15 -0
- package/src/lib/home/sign/sign.component.ts +42 -0
- package/src/lib/home/submenu.directive.exp.ts +43 -0
- package/src/lib/home/tools.component.html +27 -0
- package/src/lib/home/tools.component.scss +15 -0
- package/src/lib/home/tools.component.ts +72 -0
- package/src/lib/home/welcome/welcome.dialog.exp.ts +35 -0
- package/src/lib/home/welcome/welcome.dialog.html +14 -0
- package/src/lib/impersonate/impersonate.component.html +17 -0
- package/src/lib/impersonate/impersonate.component.scss +3 -0
- package/src/lib/impersonate/impersonate.component.spec.ts +24 -0
- package/src/lib/impersonate/impersonate.component.ts +60 -0
- package/src/lib/mobile.module.ts +39 -0
- package/src/lib/modules/chart.module.ts +53 -0
- package/src/lib/modules/circular-gauge.module.ts +10 -0
- package/src/lib/modules/date.adapter.ts +31 -0
- package/src/lib/modules/datepicker.intl.ts +35 -0
- package/src/lib/modules/dayjs.module.ts +32 -0
- package/src/lib/modules/diagram.module.ts +25 -0
- package/src/lib/modules/gantt.module.ts +12 -0
- package/src/lib/modules/grid.module.ts +16 -0
- package/src/lib/modules/material.module.ts +104 -0
- package/src/lib/modules/paginator.intl.ts +16 -0
- package/src/lib/modules/pivot.module.ts +23 -0
- package/src/lib/modules/schedule.module.ts +12 -0
- package/src/lib/modules/spreadsheet.module.ts +21 -0
- package/src/lib/modules/stepper.intl.ts +12 -0
- package/src/lib/modules/texteditor.module.ts +16 -0
- package/src/lib/notifications/filter.component.html +6 -0
- package/src/lib/notifications/filter.component.ts +16 -0
- package/src/lib/notifications/notifications-table.component.html +54 -0
- package/src/lib/notifications/notifications-table.component.scss +14 -0
- package/src/lib/notifications/notifications-table.component.ts +94 -0
- package/src/lib/notifications/notifications.component-base.ts +49 -0
- package/src/lib/notifications/notifications.mobile.component.ts +13 -0
- package/src/lib/notifications/notifications.pane.component.ts +16 -0
- package/src/lib/notifications/notifications.service.ts +66 -0
- package/src/lib/notifications/types/commented.notification.html +14 -0
- package/src/lib/notifications/types/commented.notification.ts +51 -0
- package/src/lib/notifications/types/cube-anomaly.notification.ts +51 -0
- package/src/lib/notifications/types/escalated.notification.ts +36 -0
- package/src/lib/notifications/types/liked.notification.ts +49 -0
- package/src/lib/notifications/types/long-running-task.notification.ts +23 -0
- package/src/lib/notifications/types/notification-base.ts +37 -0
- package/src/lib/notifications/types/nudge.notification.ts +32 -0
- package/src/lib/notifications/types/state-changed.notification.ts +27 -0
- package/src/lib/notifications/types/tagged.notification.ts +46 -0
- package/src/lib/notifications/types/text.notification.ts +13 -0
- package/src/lib/notifications/types/upcoming-event.notification.ts +25 -0
- package/src/lib/options/options.component.html +148 -0
- package/src/lib/options/options.component.scss +19 -0
- package/src/lib/options/options.component.ts +262 -0
- package/src/lib/options/options.service.ts +30 -0
- package/src/lib/reports/arguments-component.ts +73 -0
- package/src/lib/reports/cube/documents.component.ts +50 -0
- package/src/lib/reports/cube/grid-documents.component.html +25 -0
- package/src/lib/reports/cube/grid-documents.component.ts +67 -0
- package/src/lib/reports/cube/table-documents.component.css +18 -0
- package/src/lib/reports/cube/table-documents.component.html +30 -0
- package/src/lib/reports/cube/table-documents.component.ts +46 -0
- package/src/lib/reports/cube/usage-args.component.html +3 -0
- package/src/lib/reports/cube/usage-args.component.ts +55 -0
- package/src/lib/reports/cube/usage-base.ts +113 -0
- package/src/lib/reports/cube/usage-browse.component.exp.ts +93 -0
- package/src/lib/reports/cube/usage-browse.component.html +27 -0
- package/src/lib/reports/cube/usage-browse.component.scss +24 -0
- package/src/lib/reports/cube/usage-chart.component.html +11 -0
- package/src/lib/reports/cube/usage-chart.component.ts +386 -0
- package/src/lib/reports/cube/usage-pivot.component.html +19 -0
- package/src/lib/reports/cube/usage-pivot.component.ts +266 -0
- package/src/lib/reports/cube/usage.component.ts +34 -0
- package/src/lib/reports/report-ref.ts +41 -0
- package/src/lib/reports/report-viewer.component.html +2 -0
- package/src/lib/reports/report-viewer.component.scss +12 -0
- package/src/lib/reports/report-viewer.component.ts +159 -0
- package/src/lib/reports/report.mobile.component.html +17 -0
- package/src/lib/reports/report.mobile.component.scss +7 -0
- package/src/lib/reports/report.mobile.component.ts +117 -0
- package/src/lib/reports/report.pane.component.html +9 -0
- package/src/lib/reports/report.pane.component.scss +9 -0
- package/src/lib/reports/report.pane.component.ts +88 -0
- package/src/lib/reports/reports-menu.component.html +9 -0
- package/src/lib/reports/reports-menu.component.ts +20 -0
- package/src/lib/reports/substitution/substitution.component.html +26 -0
- package/src/lib/reports/substitution/substitution.component.ts +34 -0
- package/src/lib/reports/table/table-view.component.html +8 -0
- package/src/lib/reports/table/table-view.component.scss +0 -0
- package/src/lib/reports/table/table-view.component.ts +33 -0
- package/src/lib/reports/tasks/tasks.component.html +21 -0
- package/src/lib/reports/tasks/tasks.component.ts +115 -0
- package/src/lib/reports/timeline/timeline.component.exp.ts +225 -0
- package/src/lib/reports/timeline/timeline.component.html +9 -0
- package/src/lib/routes.desktop.ts +196 -0
- package/src/lib/routes.mobile.ts +70 -0
- package/src/lib/scheduler/schedule.component.html +36 -0
- package/src/lib/scheduler/schedule.component.scss +13 -0
- package/src/lib/scheduler/schedule.component.ts +158 -0
- package/src/lib/scheduler/scheduler.mobile.component.ts +30 -0
- package/src/lib/scheduler/scheduler.pane.component.ts +49 -0
- package/src/lib/shared.module.ts +374 -0
- package/src/lib/system.module.ts +77 -0
- package/src/lib/views/_views.theme.scss +18 -0
- package/src/lib/views/cube/chart.component.html +24 -0
- package/src/lib/views/cube/chart.component.ts +88 -0
- package/src/lib/views/cube/cube-base.ts +126 -0
- package/src/lib/views/cube/explore.component.html +33 -0
- package/src/lib/views/cube/explore.component.ts +82 -0
- package/src/lib/views/cube/filter.component.exp.ts +66 -0
- package/src/lib/views/cube/filter.component.html +25 -0
- package/src/lib/views/cube/matrix.component.html +42 -0
- package/src/lib/views/cube/matrix.component.scss +3 -0
- package/src/lib/views/cube/matrix.component.ts +106 -0
- package/src/lib/views/cube/parallel.component.html +10 -0
- package/src/lib/views/cube/parallel.component.scss +13 -0
- package/src/lib/views/cube/parallel.component.ts +63 -0
- package/src/lib/views/cube/pivot.component.html +8 -0
- package/src/lib/views/cube/pivot.component.ts +62 -0
- package/src/lib/views/cube/sum.component.html +30 -0
- package/src/lib/views/cube/sum.component.scss +3 -0
- package/src/lib/views/cube/sum.component.ts +71 -0
- package/src/lib/views/cube/view.component.html +34 -0
- package/src/lib/views/cube/view.component.scss +12 -0
- package/src/lib/views/cube/view.component.ts +103 -0
- package/src/lib/views/document-view-ref.ts +34 -0
- package/src/lib/views/timeline/timeline.component.exp.ts +333 -0
- package/src/lib/views/timeline/timeline.component.html +6 -0
- package/src/lib/views/timeline/timeline.component.scss +6 -0
- package/src/lib/views/view-item.component.ts +67 -0
- package/src/lib/views/views.component.html +4 -0
- package/src/lib/views/views.component.scss +33 -0
- package/src/lib/views/views.component.ts +29 -0
- package/src/lib/views/views.mobile.component.ts +19 -0
- package/src/lib/views/views.pane.component.ts +33 -0
- package/src/polyfills.ts +81 -0
- package/src/public-api.ts +149 -0
- package/src/styles/_app.scss +317 -0
- package/src/styles/_emoji-mart.scss +504 -0
- package/src/styles/_syncfusion-base-definitions.scss +63 -0
- package/src/styles/_syncfusion-dark-definitions.scss +21 -0
- package/src/styles/_syncfusion-dark.scss +2 -0
- package/src/styles/_syncfusion-icons.scss +57 -0
- package/src/styles/_syncfusion-light-definitions.scss +23 -0
- package/src/styles/_syncfusion-light.scss +2 -0
- package/src/styles/_syncfusion.scss +21 -0
- package/src/styles/_xslt.scss +377 -0
- package/src/styles/brown.scss +14 -0
- package/src/styles/build-xslt.ps1 +2 -0
- package/src/styles/build.ps1 +26 -0
- package/src/styles/dark.scss +13 -0
- package/src/styles/deep-purple-light-blue.scss +20 -0
- package/src/styles/deep-purple-teal.scss +20 -0
- package/src/styles/default.scss +21 -0
- package/src/styles/diagram-icons.eot +0 -0
- package/src/styles/diagram-icons.ttf +0 -0
- package/src/styles/green.scss +13 -0
- package/src/styles/indigo.scss +13 -0
- package/src/styles/xslt.scss +21 -0
- package/src/styles/xslt.scss.map +1 -0
- package/src/test.ts +26 -0
- package/tsconfig.lib.json +26 -0
- package/tsconfig.lib.prod.json +10 -0
- package/tsconfig.spec.json +18 -0
- package/bizdoc-core.d.ts +0 -5
- package/esm2020/bizdoc-core.mjs +0 -5
- package/esm2020/lib/admin/admin-dismiss.service.mjs +0 -22
- package/esm2020/lib/admin/admin-menu.component.mjs +0 -27
- package/esm2020/lib/admin/core/ace.input.mjs +0 -147
- package/esm2020/lib/admin/core/color-picker.input.mjs +0 -208
- package/esm2020/lib/admin/core/search.input.mjs +0 -43
- package/esm2020/lib/admin/diff/configuration-diff.component.mjs +0 -558
- package/esm2020/lib/admin/document-trace/document-trace.component.mjs +0 -532
- package/esm2020/lib/admin/document-trace/reassign.dialog.mjs +0 -40
- package/esm2020/lib/admin/document-trace/timeline.mjs +0 -2
- package/esm2020/lib/admin/document-trace/trace-element.component.mjs +0 -123
- package/esm2020/lib/admin/form/form.resolve.service.mjs +0 -17
- package/esm2020/lib/admin/form/form.service.mjs +0 -43
- package/esm2020/lib/admin/form/workflow/node-ref.mjs +0 -8
- package/esm2020/lib/admin/form/workflow/node.component.mjs +0 -128
- package/esm2020/lib/admin/form/workflow/role-node.component.mjs +0 -90
- package/esm2020/lib/admin/form/workflow/workflow.component.mjs +0 -447
- package/esm2020/lib/admin/indices/manage-cube-index.component.mjs +0 -161
- package/esm2020/lib/admin/patterns/patterns.component.mjs +0 -179
- package/esm2020/lib/admin/permissions/permissions.component.mjs +0 -97
- package/esm2020/lib/admin/positions/positions-popup.component.mjs +0 -74
- package/esm2020/lib/admin/positions/positions.component.mjs +0 -460
- package/esm2020/lib/admin/profiler/outofoffice.component.mjs +0 -155
- package/esm2020/lib/admin/profiler/profiler.component.mjs +0 -281
- package/esm2020/lib/admin/utility-ref.mjs +0 -38
- package/esm2020/lib/admin/utility-wrapper.component.mjs +0 -51
- package/esm2020/lib/admin/utility.pane.component.mjs +0 -51
- package/esm2020/lib/app.component.mjs +0 -91
- package/esm2020/lib/bizdoc.module.mjs +0 -101
- package/esm2020/lib/browse/browse-items.component.mjs +0 -481
- package/esm2020/lib/browse/browse.mobile.component.mjs +0 -101
- package/esm2020/lib/browse/browse.pane.component.mjs +0 -148
- package/esm2020/lib/browse/expanded-item/expanded-item.component.mjs +0 -316
- package/esm2020/lib/browse/filter/filter.component.mjs +0 -164
- package/esm2020/lib/browse/folders-menu.component.mjs +0 -51
- package/esm2020/lib/chat/chat-info.mjs +0 -68
- package/esm2020/lib/chat/chat.mobile.component.mjs +0 -26
- package/esm2020/lib/chat/chat.service.mjs +0 -122
- package/esm2020/lib/chat/contacts.component.mjs +0 -103
- package/esm2020/lib/chat/contacts.pane.component.mjs +0 -29
- package/esm2020/lib/chat/conversation.component.mjs +0 -193
- package/esm2020/lib/chat/conversation.pane.component.mjs +0 -53
- package/esm2020/lib/compose/action/action-picker.component.mjs +0 -84
- package/esm2020/lib/compose/action/action-ref.mjs +0 -19
- package/esm2020/lib/compose/action/action.base.mjs +0 -49
- package/esm2020/lib/compose/action/action.dialog.mjs +0 -61
- package/esm2020/lib/compose/action/action.pane.dialog.exp.mjs +0 -72
- package/esm2020/lib/compose/action/assign-action.component.mjs +0 -70
- package/esm2020/lib/compose/action/moveto-action.component.mjs +0 -91
- package/esm2020/lib/compose/action/return-action.component.mjs +0 -52
- package/esm2020/lib/compose/attachments/attachments.component.mjs +0 -127
- package/esm2020/lib/compose/attachments/preview/attachment-preview.component.mjs +0 -155
- package/esm2020/lib/compose/attachments/progress-button.directive.mjs +0 -25
- package/esm2020/lib/compose/can-deactivate-changes.service.mjs +0 -27
- package/esm2020/lib/compose/comments/Comments.pane.component.mjs +0 -49
- package/esm2020/lib/compose/comments/comment.component.mjs +0 -186
- package/esm2020/lib/compose/comments/comments.component.mjs +0 -227
- package/esm2020/lib/compose/comments/edit-comment.component.mjs +0 -32
- package/esm2020/lib/compose/comments/edits.component.mjs +0 -30
- package/esm2020/lib/compose/comments/quick-comment.component.exp.mjs +0 -63
- package/esm2020/lib/compose/comments/votes.component.mjs +0 -42
- package/esm2020/lib/compose/compose-resolve.service.mjs +0 -55
- package/esm2020/lib/compose/compose.mobile.component.mjs +0 -112
- package/esm2020/lib/compose/compose.pane.component.mjs +0 -205
- package/esm2020/lib/compose/copy/copy.dialog.mjs +0 -46
- package/esm2020/lib/compose/dismiss.service.mjs +0 -25
- package/esm2020/lib/compose/document-resolver.service.mjs +0 -17
- package/esm2020/lib/compose/document.component.mjs +0 -45
- package/esm2020/lib/compose/document.mobile.component.mjs +0 -22
- package/esm2020/lib/compose/document.pane.component.mjs +0 -26
- package/esm2020/lib/compose/events/events.component.mjs +0 -30
- package/esm2020/lib/compose/form-ref.mjs +0 -46
- package/esm2020/lib/compose/form-selector/form-selector.sheet.mjs +0 -88
- package/esm2020/lib/compose/form.component.mjs +0 -458
- package/esm2020/lib/compose/new-menu.component.mjs +0 -104
- package/esm2020/lib/compose/privilage.directive.mjs +0 -64
- package/esm2020/lib/compose/recipient-resolver.service.mjs +0 -18
- package/esm2020/lib/compose/save-changes.dialog.mjs +0 -18
- package/esm2020/lib/compose/state.component.mjs +0 -37
- package/esm2020/lib/compose/tag/tags.component.mjs +0 -91
- package/esm2020/lib/compose/trace/flow.component.mjs +0 -700
- package/esm2020/lib/compose/trace/people.component.mjs +0 -35
- package/esm2020/lib/compose/trace/trace.base.mjs +0 -71
- package/esm2020/lib/compose/trace/trace.component.mjs +0 -359
- package/esm2020/lib/compose/trace/trace.pane.component.mjs +0 -52
- package/esm2020/lib/compose/version-compare/version-compare.component.mjs +0 -53
- package/esm2020/lib/compose/version-compare/version-compare.directive.mjs +0 -344
- package/esm2020/lib/compose/version-compare/version.pane.component.mjs +0 -56
- package/esm2020/lib/core/NgComponentOutlet.mjs +0 -38
- package/esm2020/lib/core/account.service.mjs +0 -37
- package/esm2020/lib/core/animated-icon/animated-icon.directive.mjs +0 -17
- package/esm2020/lib/core/animations.mjs +0 -156
- package/esm2020/lib/core/authentication.mjs +0 -3
- package/esm2020/lib/core/avatar/avatar.component.mjs +0 -103
- package/esm2020/lib/core/base.mjs +0 -2
- package/esm2020/lib/core/colors.mjs +0 -322
- package/esm2020/lib/core/component-factory-resolver.mjs +0 -64
- package/esm2020/lib/core/configuration.mjs +0 -17
- package/esm2020/lib/core/controls/address.input.mjs +0 -206
- package/esm2020/lib/core/controls/auto-complete.input.mjs +0 -256
- package/esm2020/lib/core/controls/combination-picker-body.mjs +0 -173
- package/esm2020/lib/core/controls/combination-picker.mjs +0 -277
- package/esm2020/lib/core/controls/combination-pool.mjs +0 -105
- package/esm2020/lib/core/controls/file.input.mjs +0 -420
- package/esm2020/lib/core/controls/select.input.mjs +0 -237
- package/esm2020/lib/core/controls/time-picker.mjs +0 -196
- package/esm2020/lib/core/controls/timespan.input.mjs +0 -207
- package/esm2020/lib/core/datasource.service.mjs +0 -75
- package/esm2020/lib/core/decorators.mjs +0 -46
- package/esm2020/lib/core/firebase.service.mjs +0 -50
- package/esm2020/lib/core/functions.mjs +0 -205
- package/esm2020/lib/core/guide/guide.component.mjs +0 -231
- package/esm2020/lib/core/guide/guide.service.mjs +0 -118
- package/esm2020/lib/core/guide/help-tip.component.mjs +0 -58
- package/esm2020/lib/core/http.interceptor.mjs +0 -79
- package/esm2020/lib/core/hub.service.mjs +0 -108
- package/esm2020/lib/core/identity/identity.component.mjs +0 -67
- package/esm2020/lib/core/info/attachment-info.service.mjs +0 -51
- package/esm2020/lib/core/info/document-info.service.mjs +0 -21
- package/esm2020/lib/core/info/location-info.component.mjs +0 -61
- package/esm2020/lib/core/info/map-info.mjs +0 -40
- package/esm2020/lib/core/layout/autocomplete.field.mjs +0 -60
- package/esm2020/lib/core/layout/checkbox.field.mjs +0 -41
- package/esm2020/lib/core/layout/checkbox.mjs +0 -35
- package/esm2020/lib/core/layout/date-range.field.mjs +0 -53
- package/esm2020/lib/core/layout/date.field.mjs +0 -52
- package/esm2020/lib/core/layout/expression.field.mjs +0 -51
- package/esm2020/lib/core/layout/file.field.mjs +0 -47
- package/esm2020/lib/core/layout/html.field.mjs +0 -48
- package/esm2020/lib/core/layout/input.base.mjs +0 -11
- package/esm2020/lib/core/layout/input.field.mjs +0 -64
- package/esm2020/lib/core/layout/layout.component.mjs +0 -196
- package/esm2020/lib/core/layout/numeric.field.mjs +0 -47
- package/esm2020/lib/core/layout/select.field.mjs +0 -82
- package/esm2020/lib/core/layout/switch.field.mjs +0 -41
- package/esm2020/lib/core/layout/textarea.field.mjs +0 -42
- package/esm2020/lib/core/layout/timespan.field.mjs +0 -50
- package/esm2020/lib/core/lottie-animation.mjs +0 -46
- package/esm2020/lib/core/mailbox.service.mjs +0 -410
- package/esm2020/lib/core/models.mjs +0 -40
- package/esm2020/lib/core/none.component.mjs +0 -40
- package/esm2020/lib/core/pipes/action.pipe.mjs +0 -25
- package/esm2020/lib/core/pipes/calendar.pipe.mjs +0 -72
- package/esm2020/lib/core/pipes/date-format.pipe.mjs +0 -19
- package/esm2020/lib/core/pipes/daterange.pipe.mjs +0 -62
- package/esm2020/lib/core/pipes/difference.pipe.mjs +0 -15
- package/esm2020/lib/core/pipes/duration-format.pipe.mjs +0 -48
- package/esm2020/lib/core/pipes/duration.pipe.mjs +0 -19
- package/esm2020/lib/core/pipes/form.pipe.mjs +0 -25
- package/esm2020/lib/core/pipes/join.pipe.mjs +0 -18
- package/esm2020/lib/core/pipes/role.pipe.mjs +0 -25
- package/esm2020/lib/core/pipes/sanitize-html.pipe.mjs +0 -18
- package/esm2020/lib/core/pipes/sort.pipe.mjs +0 -48
- package/esm2020/lib/core/pipes/state.pipe.mjs +0 -25
- package/esm2020/lib/core/pipes/time-ago.pipe.mjs +0 -66
- package/esm2020/lib/core/pipes/translate.pipe.mjs +0 -38
- package/esm2020/lib/core/pipes/type-value.pipe.mjs +0 -42
- package/esm2020/lib/core/pipes/user-name.pipe.mjs +0 -21
- package/esm2020/lib/core/popup/popup-ref.mjs +0 -20
- package/esm2020/lib/core/popup/popup.component.mjs +0 -37
- package/esm2020/lib/core/popup/popup.service.mjs +0 -148
- package/esm2020/lib/core/popup/tooltip.directive.mjs +0 -82
- package/esm2020/lib/core/prompt/ask/ask.dialog.mjs +0 -29
- package/esm2020/lib/core/prompt/mask/mask.component.mjs +0 -21
- package/esm2020/lib/core/prompt.service.mjs +0 -86
- package/esm2020/lib/core/router.mjs +0 -37
- package/esm2020/lib/core/session.service.mjs +0 -256
- package/esm2020/lib/core/slots/pane-ref.mjs +0 -148
- package/esm2020/lib/core/slots/router.directive.mjs +0 -68
- package/esm2020/lib/core/slots/router.service.mjs +0 -30
- package/esm2020/lib/core/slots/slots.component.mjs +0 -1141
- package/esm2020/lib/core/tagging/documents.component.mjs +0 -25
- package/esm2020/lib/core/tagging/edit-input.component.mjs +0 -233
- package/esm2020/lib/core/tagging/emoji.component.mjs +0 -35
- package/esm2020/lib/core/tagging/tagging-item.directive.mjs +0 -39
- package/esm2020/lib/core/tagging/tagging.component-base.mjs +0 -29
- package/esm2020/lib/core/tagging/tagging.directive.mjs +0 -138
- package/esm2020/lib/core/tagging/tagging.pipe.mjs +0 -72
- package/esm2020/lib/core/tagging/users.component.mjs +0 -32
- package/esm2020/lib/core/translate.service.mjs +0 -124
- package/esm2020/lib/core/translations.mjs +0 -1135
- package/esm2020/lib/core/window-title.service.mjs +0 -53
- package/esm2020/lib/cube/accum/accum.component.mjs +0 -258
- package/esm2020/lib/cube/chart/chart.component.mjs +0 -341
- package/esm2020/lib/cube/cube-info.service.mjs +0 -100
- package/esm2020/lib/cube/cube-menu.component.mjs +0 -27
- package/esm2020/lib/cube/cube-view.component.mjs +0 -186
- package/esm2020/lib/cube/cube.service.mjs +0 -418
- package/esm2020/lib/cube/declarations.mjs +0 -2
- package/esm2020/lib/cube/explore/document-item.component.mjs +0 -38
- package/esm2020/lib/cube/explore/explore-item.component.mjs +0 -27
- package/esm2020/lib/cube/explore/explore-items.component.mjs +0 -186
- package/esm2020/lib/cube/explore/explore.pane.component.mjs +0 -83
- package/esm2020/lib/cube/explore/item-resolver.service.mjs +0 -32
- package/esm2020/lib/cube/explore/item.pane.component.mjs +0 -23
- package/esm2020/lib/cube/filter/filter-tags.component.exp.mjs +0 -75
- package/esm2020/lib/cube/filter/filter.component.mjs +0 -137
- package/esm2020/lib/cube/grid/grid.component.mjs +0 -218
- package/esm2020/lib/cube/grid/spreadsheet.component.mjs +0 -367
- package/esm2020/lib/cube/matrix/matrix.base.mjs +0 -127
- package/esm2020/lib/cube/matrix/matrix.mobile.component.mjs +0 -63
- package/esm2020/lib/cube/matrix/matrix.pane.component.mjs +0 -76
- package/esm2020/lib/cube/matrix/popup.component.mjs +0 -67
- package/esm2020/lib/cube/matrix/table.component.mjs +0 -493
- package/esm2020/lib/cube/parallel/item.mjs +0 -41
- package/esm2020/lib/cube/parallel/parallel.component.mjs +0 -159
- package/esm2020/lib/cube/pivot/pivot.component.mjs +0 -507
- package/esm2020/lib/cube/sum/sum.component.mjs +0 -404
- package/esm2020/lib/cube/view-base.mjs +0 -79
- package/esm2020/lib/cube/view.mobile.component.mjs +0 -127
- package/esm2020/lib/cube/view.pane.component.mjs +0 -88
- package/esm2020/lib/dashboard/actions/actions.widget.mjs +0 -126
- package/esm2020/lib/dashboard/cube/accum-cube.widget.mjs +0 -145
- package/esm2020/lib/dashboard/cube/compare.widget.mjs +0 -215
- package/esm2020/lib/dashboard/cube/cube-analysis.base.mjs +0 -90
- package/esm2020/lib/dashboard/cube/cube-analysis.widget.mjs +0 -53
- package/esm2020/lib/dashboard/cube/cube-chart.widget.mjs +0 -144
- package/esm2020/lib/dashboard/cube/documents.widget.mjs +0 -64
- package/esm2020/lib/dashboard/cube/filter/filter.component.mjs +0 -61
- package/esm2020/lib/dashboard/dashboard.component.mjs +0 -55
- package/esm2020/lib/dashboard/dashboard.pane.component.mjs +0 -24
- package/esm2020/lib/dashboard/recents/recents.widget.mjs +0 -98
- package/esm2020/lib/dashboard/score/activity.widget.mjs +0 -173
- package/esm2020/lib/dashboard/score/compare-groups.widget.mjs +0 -206
- package/esm2020/lib/dashboard/score/peers-performance.widget.mjs +0 -253
- package/esm2020/lib/dashboard/score/pending-results.widget.mjs +0 -60
- package/esm2020/lib/dashboard/score/personal-score.widget.mjs +0 -223
- package/esm2020/lib/dashboard/widget-item.component.mjs +0 -90
- package/esm2020/lib/dashboard/widget-ref.mjs +0 -18
- package/esm2020/lib/desktop.module.mjs +0 -144
- package/esm2020/lib/home/about/about.dialog.mjs +0 -26
- package/esm2020/lib/home/home-base.component.mjs +0 -91
- package/esm2020/lib/home/home.desktop.component.mjs +0 -221
- package/esm2020/lib/home/home.mobile.component.mjs +0 -116
- package/esm2020/lib/home/notifications/notifications.component.mjs +0 -67
- package/esm2020/lib/home/options/options.component.mjs +0 -94
- package/esm2020/lib/home/outofoffice/outofoffice.component.mjs +0 -38
- package/esm2020/lib/home/search.service.mjs +0 -75
- package/esm2020/lib/home/sign/sign.component.mjs +0 -54
- package/esm2020/lib/home/tools.component.mjs +0 -82
- package/esm2020/lib/impersonate/impersonate.component.mjs +0 -65
- package/esm2020/lib/mobile.module.mjs +0 -59
- package/esm2020/lib/modules/chart.module.mjs +0 -39
- package/esm2020/lib/modules/circular-gauge.module.mjs +0 -17
- package/esm2020/lib/modules/date.adapter.mjs +0 -23
- package/esm2020/lib/modules/datepicker.intl.mjs +0 -39
- package/esm2020/lib/modules/dayjs.module.mjs +0 -41
- package/esm2020/lib/modules/diagram.module.mjs +0 -34
- package/esm2020/lib/modules/gantt.module.mjs +0 -18
- package/esm2020/lib/modules/grid.module.mjs +0 -23
- package/esm2020/lib/modules/material.module.mjs +0 -188
- package/esm2020/lib/modules/paginator.intl.mjs +0 -21
- package/esm2020/lib/modules/pivot.module.mjs +0 -24
- package/esm2020/lib/modules/schedule.module.mjs +0 -21
- package/esm2020/lib/modules/spreadsheet.module.mjs +0 -30
- package/esm2020/lib/modules/stepper.intl.mjs +0 -17
- package/esm2020/lib/modules/texteditor.module.mjs +0 -27
- package/esm2020/lib/notifications/filter.component.mjs +0 -25
- package/esm2020/lib/notifications/notifications-table.component.mjs +0 -106
- package/esm2020/lib/notifications/notifications.component-base.mjs +0 -47
- package/esm2020/lib/notifications/notifications.mobile.component.mjs +0 -20
- package/esm2020/lib/notifications/notifications.pane.component.mjs +0 -23
- package/esm2020/lib/notifications/notifications.service.mjs +0 -71
- package/esm2020/lib/notifications/types/commented.notification.mjs +0 -53
- package/esm2020/lib/notifications/types/cube-anomaly.notification.mjs +0 -58
- package/esm2020/lib/notifications/types/escalated.notification.mjs +0 -33
- package/esm2020/lib/notifications/types/liked.notification.mjs +0 -50
- package/esm2020/lib/notifications/types/long-running-task.notification.mjs +0 -31
- package/esm2020/lib/notifications/types/notification-base.mjs +0 -40
- package/esm2020/lib/notifications/types/nudge.notification.mjs +0 -31
- package/esm2020/lib/notifications/types/state-changed.notification.mjs +0 -30
- package/esm2020/lib/notifications/types/tagged.notification.mjs +0 -43
- package/esm2020/lib/notifications/types/text.notification.mjs +0 -20
- package/esm2020/lib/notifications/types/upcoming-event.notification.mjs +0 -36
- package/esm2020/lib/options/options.component.mjs +0 -248
- package/esm2020/lib/options/options.service.mjs +0 -38
- package/esm2020/lib/reports/arguments-component.mjs +0 -83
- package/esm2020/lib/reports/cube/documents.component.mjs +0 -40
- package/esm2020/lib/reports/cube/grid-documents.component.mjs +0 -72
- package/esm2020/lib/reports/cube/table-documents.component.mjs +0 -56
- package/esm2020/lib/reports/cube/usage-args.component.mjs +0 -61
- package/esm2020/lib/reports/cube/usage-base.mjs +0 -79
- package/esm2020/lib/reports/cube/usage-chart.component.mjs +0 -357
- package/esm2020/lib/reports/cube/usage-pivot.component.mjs +0 -256
- package/esm2020/lib/reports/cube/usage.component.mjs +0 -40
- package/esm2020/lib/reports/report-ref.mjs +0 -31
- package/esm2020/lib/reports/report-viewer.component.mjs +0 -151
- package/esm2020/lib/reports/report.mobile.component.mjs +0 -128
- package/esm2020/lib/reports/report.pane.component.mjs +0 -96
- package/esm2020/lib/reports/reports-menu.component.mjs +0 -26
- package/esm2020/lib/reports/substitution/substitution.component.mjs +0 -40
- package/esm2020/lib/reports/table/table-view.component.mjs +0 -41
- package/esm2020/lib/reports/tasks/tasks.component.mjs +0 -95
- package/esm2020/lib/routes.desktop.mjs +0 -197
- package/esm2020/lib/routes.mobile.mjs +0 -69
- package/esm2020/lib/scheduler/schedule.component.mjs +0 -166
- package/esm2020/lib/scheduler/scheduler.mobile.component.mjs +0 -37
- package/esm2020/lib/scheduler/scheduler.pane.component.mjs +0 -53
- package/esm2020/lib/shared.module.mjs +0 -518
- package/esm2020/lib/system.module.mjs +0 -113
- package/esm2020/lib/views/cube/chart.component.mjs +0 -75
- package/esm2020/lib/views/cube/cube-base.mjs +0 -96
- package/esm2020/lib/views/cube/explore.component.mjs +0 -83
- package/esm2020/lib/views/cube/matrix.component.mjs +0 -97
- package/esm2020/lib/views/cube/parallel.component.mjs +0 -54
- package/esm2020/lib/views/cube/pivot.component.mjs +0 -51
- package/esm2020/lib/views/cube/sum.component.mjs +0 -64
- package/esm2020/lib/views/cube/view.component.mjs +0 -102
- package/esm2020/lib/views/document-view-ref.mjs +0 -27
- package/esm2020/lib/views/timeline/timeline.component.exp.mjs +0 -313
- package/esm2020/lib/views/view-item.component.mjs +0 -67
- package/esm2020/lib/views/views.component.mjs +0 -33
- package/esm2020/lib/views/views.mobile.component.mjs +0 -20
- package/esm2020/lib/views/views.pane.component.mjs +0 -35
- package/esm2020/public-api.mjs +0 -143
- package/fesm2015/bizdoc-core.mjs +0 -30738
- package/fesm2015/bizdoc-core.mjs.map +0 -1
- package/fesm2020/bizdoc-core.mjs +0 -30518
- package/fesm2020/bizdoc-core.mjs.map +0 -1
- package/lib/admin/admin-dismiss.service.d.ts +0 -14
- package/lib/admin/admin-menu.component.d.ts +0 -12
- package/lib/admin/core/ace.input.d.ts +0 -52
- package/lib/admin/core/color-picker.input.d.ts +0 -64
- package/lib/admin/core/search.input.d.ts +0 -13
- package/lib/admin/diff/configuration-diff.component.d.ts +0 -116
- package/lib/admin/document-trace/document-trace.component.d.ts +0 -98
- package/lib/admin/document-trace/reassign.dialog.d.ts +0 -22
- package/lib/admin/document-trace/timeline.d.ts +0 -40
- package/lib/admin/document-trace/trace-element.component.d.ts +0 -51
- package/lib/admin/form/form.resolve.service.d.ts +0 -12
- package/lib/admin/form/form.service.d.ts +0 -30
- package/lib/admin/form/workflow/node-ref.d.ts +0 -7
- package/lib/admin/form/workflow/node.component.d.ts +0 -37
- package/lib/admin/form/workflow/role-node.component.d.ts +0 -22
- package/lib/admin/form/workflow/workflow.component.d.ts +0 -77
- package/lib/admin/indices/manage-cube-index.component.d.ts +0 -54
- package/lib/admin/patterns/patterns.component.d.ts +0 -79
- package/lib/admin/permissions/permissions.component.d.ts +0 -45
- package/lib/admin/positions/positions-popup.component.d.ts +0 -39
- package/lib/admin/positions/positions.component.d.ts +0 -117
- package/lib/admin/profiler/outofoffice.component.d.ts +0 -48
- package/lib/admin/profiler/profiler.component.d.ts +0 -116
- package/lib/admin/utility-ref.d.ts +0 -19
- package/lib/admin/utility-wrapper.component.d.ts +0 -28
- package/lib/admin/utility.pane.component.d.ts +0 -24
- package/lib/app.component.d.ts +0 -24
- package/lib/bizdoc.module.d.ts +0 -18
- package/lib/browse/browse-items.component.d.ts +0 -103
- package/lib/browse/browse.mobile.component.d.ts +0 -39
- package/lib/browse/browse.pane.component.d.ts +0 -50
- package/lib/browse/expanded-item/expanded-item.component.d.ts +0 -67
- package/lib/browse/filter/filter.component.d.ts +0 -71
- package/lib/browse/folders-menu.component.d.ts +0 -22
- package/lib/chat/chat-info.d.ts +0 -37
- package/lib/chat/chat.mobile.component.d.ts +0 -10
- package/lib/chat/chat.service.d.ts +0 -38
- package/lib/chat/contacts.component.d.ts +0 -38
- package/lib/chat/contacts.pane.component.d.ts +0 -12
- package/lib/chat/conversation.component.d.ts +0 -56
- package/lib/chat/conversation.pane.component.d.ts +0 -16
- package/lib/compose/action/action-picker.component.d.ts +0 -25
- package/lib/compose/action/action-ref.d.ts +0 -10
- package/lib/compose/action/action.base.d.ts +0 -15
- package/lib/compose/action/action.dialog.d.ts +0 -29
- package/lib/compose/action/action.pane.dialog.exp.d.ts +0 -31
- package/lib/compose/action/assign-action.component.d.ts +0 -30
- package/lib/compose/action/moveto-action.component.d.ts +0 -36
- package/lib/compose/action/return-action.component.d.ts +0 -19
- package/lib/compose/attachments/attachments.component.d.ts +0 -35
- package/lib/compose/attachments/preview/attachment-preview.component.d.ts +0 -49
- package/lib/compose/attachments/progress-button.directive.d.ts +0 -12
- package/lib/compose/can-deactivate-changes.service.d.ts +0 -12
- package/lib/compose/comments/Comments.pane.component.d.ts +0 -18
- package/lib/compose/comments/comment.component.d.ts +0 -51
- package/lib/compose/comments/comments.component.d.ts +0 -66
- package/lib/compose/comments/edit-comment.component.d.ts +0 -25
- package/lib/compose/comments/edits.component.d.ts +0 -26
- package/lib/compose/comments/quick-comment.component.exp.d.ts +0 -28
- package/lib/compose/comments/votes.component.d.ts +0 -22
- package/lib/compose/compose-resolve.service.d.ts +0 -27
- package/lib/compose/compose.mobile.component.d.ts +0 -42
- package/lib/compose/compose.pane.component.d.ts +0 -58
- package/lib/compose/copy/copy.dialog.d.ts +0 -23
- package/lib/compose/dismiss.service.d.ts +0 -12
- package/lib/compose/document-resolver.service.d.ts +0 -12
- package/lib/compose/document.component.d.ts +0 -18
- package/lib/compose/document.mobile.component.d.ts +0 -10
- package/lib/compose/document.pane.component.d.ts +0 -12
- package/lib/compose/events/events.component.d.ts +0 -13
- package/lib/compose/form-ref.d.ts +0 -30
- package/lib/compose/form-selector/form-selector.sheet.d.ts +0 -28
- package/lib/compose/form.component.d.ts +0 -101
- package/lib/compose/new-menu.component.d.ts +0 -36
- package/lib/compose/privilage.directive.d.ts +0 -26
- package/lib/compose/recipient-resolver.service.d.ts +0 -12
- package/lib/compose/save-changes.dialog.d.ts +0 -7
- package/lib/compose/state.component.d.ts +0 -12
- package/lib/compose/tag/tags.component.d.ts +0 -36
- package/lib/compose/trace/flow.component.d.ts +0 -59
- package/lib/compose/trace/people.component.d.ts +0 -18
- package/lib/compose/trace/trace.base.d.ts +0 -28
- package/lib/compose/trace/trace.component.d.ts +0 -55
- package/lib/compose/trace/trace.pane.component.d.ts +0 -20
- package/lib/compose/version-compare/version-compare.component.d.ts +0 -24
- package/lib/compose/version-compare/version-compare.directive.d.ts +0 -89
- package/lib/compose/version-compare/version.pane.component.d.ts +0 -21
- package/lib/core/NgComponentOutlet.d.ts +0 -15
- package/lib/core/account.service.d.ts +0 -18
- package/lib/core/animated-icon/animated-icon.directive.d.ts +0 -7
- package/lib/core/animations.d.ts +0 -26
- package/lib/core/authentication.d.ts +0 -6
- package/lib/core/avatar/avatar.component.d.ts +0 -34
- package/lib/core/base.d.ts +0 -31
- package/lib/core/colors.d.ts +0 -6
- package/lib/core/component-factory-resolver.d.ts +0 -12
- package/lib/core/configuration.d.ts +0 -113
- package/lib/core/controls/address.input.d.ts +0 -65
- package/lib/core/controls/auto-complete.input.d.ts +0 -86
- package/lib/core/controls/combination-picker-body.d.ts +0 -114
- package/lib/core/controls/combination-picker.d.ts +0 -82
- package/lib/core/controls/combination-pool.d.ts +0 -42
- package/lib/core/controls/file.input.d.ts +0 -99
- package/lib/core/controls/select.input.d.ts +0 -84
- package/lib/core/controls/time-picker.d.ts +0 -52
- package/lib/core/controls/timespan.input.d.ts +0 -55
- package/lib/core/datasource.service.d.ts +0 -46
- package/lib/core/decorators.d.ts +0 -17
- package/lib/core/firebase.service.d.ts +0 -17
- package/lib/core/functions.d.ts +0 -54
- package/lib/core/guide/guide.component.d.ts +0 -31
- package/lib/core/guide/guide.service.d.ts +0 -38
- package/lib/core/guide/help-tip.component.d.ts +0 -16
- package/lib/core/http.interceptor.d.ts +0 -21
- package/lib/core/hub.service.d.ts +0 -133
- package/lib/core/identity/identity.component.d.ts +0 -29
- package/lib/core/info/attachment-info.service.d.ts +0 -17
- package/lib/core/info/document-info.service.d.ts +0 -14
- package/lib/core/info/location-info.component.d.ts +0 -28
- package/lib/core/info/map-info.d.ts +0 -15
- package/lib/core/layout/autocomplete.field.d.ts +0 -21
- package/lib/core/layout/checkbox.d.ts +0 -10
- package/lib/core/layout/checkbox.field.d.ts +0 -11
- package/lib/core/layout/date-range.field.d.ts +0 -13
- package/lib/core/layout/date.field.d.ts +0 -11
- package/lib/core/layout/expression.field.d.ts +0 -12
- package/lib/core/layout/file.field.d.ts +0 -14
- package/lib/core/layout/html.field.d.ts +0 -12
- package/lib/core/layout/input.base.d.ts +0 -10
- package/lib/core/layout/input.field.d.ts +0 -14
- package/lib/core/layout/layout.component.d.ts +0 -33
- package/lib/core/layout/numeric.field.d.ts +0 -11
- package/lib/core/layout/select.field.d.ts +0 -22
- package/lib/core/layout/switch.field.d.ts +0 -11
- package/lib/core/layout/textarea.field.d.ts +0 -11
- package/lib/core/layout/timespan.field.d.ts +0 -11
- package/lib/core/lottie-animation.d.ts +0 -14
- package/lib/core/mailbox.service.d.ts +0 -142
- package/lib/core/models.d.ts +0 -652
- package/lib/core/none.component.d.ts +0 -9
- package/lib/core/pipes/action.pipe.d.ts +0 -10
- package/lib/core/pipes/calendar.pipe.d.ts +0 -27
- package/lib/core/pipes/date-format.pipe.d.ts +0 -8
- package/lib/core/pipes/daterange.pipe.d.ts +0 -15
- package/lib/core/pipes/difference.pipe.d.ts +0 -7
- package/lib/core/pipes/duration-format.pipe.d.ts +0 -11
- package/lib/core/pipes/duration.pipe.d.ts +0 -8
- package/lib/core/pipes/form.pipe.d.ts +0 -10
- package/lib/core/pipes/join.pipe.d.ts +0 -10
- package/lib/core/pipes/role.pipe.d.ts +0 -10
- package/lib/core/pipes/sanitize-html.pipe.d.ts +0 -10
- package/lib/core/pipes/sort.pipe.d.ts +0 -12
- package/lib/core/pipes/state.pipe.d.ts +0 -10
- package/lib/core/pipes/time-ago.pipe.d.ts +0 -16
- package/lib/core/pipes/translate.pipe.d.ts +0 -18
- package/lib/core/pipes/type-value.pipe.d.ts +0 -15
- package/lib/core/pipes/user-name.pipe.d.ts +0 -11
- package/lib/core/popup/popup-ref.d.ts +0 -14
- package/lib/core/popup/popup.component.d.ts +0 -22
- package/lib/core/popup/popup.service.d.ts +0 -24
- package/lib/core/popup/tooltip.directive.d.ts +0 -29
- package/lib/core/prompt/ask/ask.dialog.d.ts +0 -22
- package/lib/core/prompt/mask/mask.component.d.ts +0 -10
- package/lib/core/prompt.service.d.ts +0 -36
- package/lib/core/router.d.ts +0 -22
- package/lib/core/session.service.d.ts +0 -82
- package/lib/core/slots/pane-ref.d.ts +0 -135
- package/lib/core/slots/router.directive.d.ts +0 -25
- package/lib/core/slots/router.service.d.ts +0 -36
- package/lib/core/slots/slots.component.d.ts +0 -212
- package/lib/core/tagging/documents.component.d.ts +0 -11
- package/lib/core/tagging/edit-input.component.d.ts +0 -65
- package/lib/core/tagging/emoji.component.d.ts +0 -18
- package/lib/core/tagging/tagging-item.directive.d.ts +0 -15
- package/lib/core/tagging/tagging.component-base.d.ts +0 -19
- package/lib/core/tagging/tagging.directive.d.ts +0 -34
- package/lib/core/tagging/tagging.pipe.d.ts +0 -24
- package/lib/core/tagging/users.component.d.ts +0 -15
- package/lib/core/translate.service.d.ts +0 -31
- package/lib/core/translations.d.ts +0 -1128
- package/lib/core/window-title.service.d.ts +0 -21
- package/lib/cube/accum/accum.component.d.ts +0 -63
- package/lib/cube/chart/chart.component.d.ts +0 -74
- package/lib/cube/cube-info.service.d.ts +0 -77
- package/lib/cube/cube-menu.component.d.ts +0 -12
- package/lib/cube/cube-view.component.d.ts +0 -31
- package/lib/cube/cube.service.d.ts +0 -268
- package/lib/cube/declarations.d.ts +0 -23
- package/lib/cube/explore/document-item.component.d.ts +0 -16
- package/lib/cube/explore/explore-item.component.d.ts +0 -14
- package/lib/cube/explore/explore-items.component.d.ts +0 -57
- package/lib/cube/explore/explore.pane.component.d.ts +0 -30
- package/lib/cube/explore/item-resolver.service.d.ts +0 -20
- package/lib/cube/explore/item.pane.component.d.ts +0 -13
- package/lib/cube/filter/filter-tags.component.exp.d.ts +0 -31
- package/lib/cube/filter/filter.component.d.ts +0 -44
- package/lib/cube/grid/grid.component.d.ts +0 -59
- package/lib/cube/grid/spreadsheet.component.d.ts +0 -62
- package/lib/cube/matrix/matrix.base.d.ts +0 -72
- package/lib/cube/matrix/matrix.mobile.component.d.ts +0 -22
- package/lib/cube/matrix/matrix.pane.component.d.ts +0 -36
- package/lib/cube/matrix/popup.component.d.ts +0 -21
- package/lib/cube/matrix/table.component.d.ts +0 -100
- package/lib/cube/parallel/item.d.ts +0 -13
- package/lib/cube/parallel/parallel.component.d.ts +0 -52
- package/lib/cube/pivot/pivot.component.d.ts +0 -103
- package/lib/cube/sum/sum.component.d.ts +0 -81
- package/lib/cube/view-base.d.ts +0 -39
- package/lib/cube/view.mobile.component.d.ts +0 -46
- package/lib/cube/view.pane.component.d.ts +0 -27
- package/lib/dashboard/actions/actions.widget.d.ts +0 -39
- package/lib/dashboard/cube/accum-cube.widget.d.ts +0 -33
- package/lib/dashboard/cube/compare.widget.d.ts +0 -53
- package/lib/dashboard/cube/cube-analysis.base.d.ts +0 -59
- package/lib/dashboard/cube/cube-analysis.widget.d.ts +0 -17
- package/lib/dashboard/cube/cube-chart.widget.d.ts +0 -32
- package/lib/dashboard/cube/documents.widget.d.ts +0 -30
- package/lib/dashboard/cube/filter/filter.component.d.ts +0 -22
- package/lib/dashboard/dashboard.component.d.ts +0 -24
- package/lib/dashboard/dashboard.pane.component.d.ts +0 -8
- package/lib/dashboard/recents/recents.widget.d.ts +0 -40
- package/lib/dashboard/score/activity.widget.d.ts +0 -50
- package/lib/dashboard/score/compare-groups.widget.d.ts +0 -51
- package/lib/dashboard/score/peers-performance.widget.d.ts +0 -65
- package/lib/dashboard/score/pending-results.widget.d.ts +0 -27
- package/lib/dashboard/score/personal-score.widget.d.ts +0 -57
- package/lib/dashboard/widget-item.component.d.ts +0 -33
- package/lib/dashboard/widget-ref.d.ts +0 -11
- package/lib/desktop.module.d.ts +0 -45
- package/lib/home/about/about.dialog.d.ts +0 -14
- package/lib/home/home-base.component.d.ts +0 -34
- package/lib/home/home.desktop.component.d.ts +0 -60
- package/lib/home/home.mobile.component.d.ts +0 -38
- package/lib/home/notifications/notifications.component.d.ts +0 -28
- package/lib/home/options/options.component.d.ts +0 -46
- package/lib/home/outofoffice/outofoffice.component.d.ts +0 -19
- package/lib/home/search.service.d.ts +0 -23
- package/lib/home/sign/sign.component.d.ts +0 -17
- package/lib/home/tools.component.d.ts +0 -36
- package/lib/impersonate/impersonate.component.d.ts +0 -27
- package/lib/mobile.module.d.ts +0 -25
- package/lib/modules/chart.module.d.ts +0 -7
- package/lib/modules/circular-gauge.module.d.ts +0 -7
- package/lib/modules/date.adapter.d.ts +0 -10
- package/lib/modules/datepicker.intl.d.ts +0 -30
- package/lib/modules/dayjs.module.d.ts +0 -6
- package/lib/modules/diagram.module.d.ts +0 -8
- package/lib/modules/gantt.module.d.ts +0 -7
- package/lib/modules/grid.module.d.ts +0 -7
- package/lib/modules/material.module.d.ts +0 -45
- package/lib/modules/paginator.intl.d.ts +0 -14
- package/lib/modules/pivot.module.d.ts +0 -7
- package/lib/modules/schedule.module.d.ts +0 -7
- package/lib/modules/spreadsheet.module.d.ts +0 -8
- package/lib/modules/stepper.intl.d.ts +0 -10
- package/lib/modules/texteditor.module.d.ts +0 -8
- package/lib/notifications/filter.component.d.ts +0 -9
- package/lib/notifications/notifications-table.component.d.ts +0 -32
- package/lib/notifications/notifications.component-base.d.ts +0 -12
- package/lib/notifications/notifications.mobile.component.d.ts +0 -8
- package/lib/notifications/notifications.pane.component.d.ts +0 -8
- package/lib/notifications/notifications.service.d.ts +0 -24
- package/lib/notifications/types/commented.notification.d.ts +0 -26
- package/lib/notifications/types/cube-anomaly.notification.d.ts +0 -29
- package/lib/notifications/types/escalated.notification.d.ts +0 -25
- package/lib/notifications/types/liked.notification.d.ts +0 -25
- package/lib/notifications/types/long-running-task.notification.d.ts +0 -21
- package/lib/notifications/types/notification-base.d.ts +0 -20
- package/lib/notifications/types/nudge.notification.d.ts +0 -23
- package/lib/notifications/types/state-changed.notification.d.ts +0 -22
- package/lib/notifications/types/tagged.notification.d.ts +0 -26
- package/lib/notifications/types/text.notification.d.ts +0 -13
- package/lib/notifications/types/upcoming-event.notification.d.ts +0 -20
- package/lib/options/options.component.d.ts +0 -67
- package/lib/options/options.service.d.ts +0 -14
- package/lib/reports/arguments-component.d.ts +0 -27
- package/lib/reports/cube/documents.component.d.ts +0 -34
- package/lib/reports/cube/grid-documents.component.d.ts +0 -28
- package/lib/reports/cube/table-documents.component.d.ts +0 -28
- package/lib/reports/cube/usage-args.component.d.ts +0 -21
- package/lib/reports/cube/usage-base.d.ts +0 -72
- package/lib/reports/cube/usage-chart.component.d.ts +0 -62
- package/lib/reports/cube/usage-pivot.component.d.ts +0 -66
- package/lib/reports/cube/usage.component.d.ts +0 -16
- package/lib/reports/report-ref.d.ts +0 -27
- package/lib/reports/report-viewer.component.d.ts +0 -47
- package/lib/reports/report.mobile.component.d.ts +0 -48
- package/lib/reports/report.pane.component.d.ts +0 -37
- package/lib/reports/reports-menu.component.d.ts +0 -12
- package/lib/reports/substitution/substitution.component.d.ts +0 -23
- package/lib/reports/table/table-view.component.d.ts +0 -19
- package/lib/reports/tasks/tasks.component.d.ts +0 -68
- package/lib/routes.desktop.d.ts +0 -2
- package/lib/routes.mobile.d.ts +0 -2
- package/lib/scheduler/schedule.component.d.ts +0 -43
- package/lib/scheduler/scheduler.mobile.component.d.ts +0 -14
- package/lib/scheduler/scheduler.pane.component.d.ts +0 -20
- package/lib/shared.module.d.ts +0 -192
- package/lib/system.module.d.ts +0 -34
- package/lib/views/cube/chart.component.d.ts +0 -39
- package/lib/views/cube/cube-base.d.ts +0 -46
- package/lib/views/cube/explore.component.d.ts +0 -43
- package/lib/views/cube/matrix.component.d.ts +0 -51
- package/lib/views/cube/parallel.component.d.ts +0 -32
- package/lib/views/cube/pivot.component.d.ts +0 -34
- package/lib/views/cube/sum.component.d.ts +0 -33
- package/lib/views/cube/view.component.d.ts +0 -40
- package/lib/views/document-view-ref.d.ts +0 -18
- package/lib/views/timeline/timeline.component.exp.d.ts +0 -66
- package/lib/views/view-item.component.d.ts +0 -28
- package/lib/views/views.component.d.ts +0 -18
- package/lib/views/views.mobile.component.d.ts +0 -10
- package/lib/views/views.pane.component.d.ts +0 -13
- package/public-api.d.ts +0 -145
@@ -0,0 +1,150 @@
|
|
1
|
+
<mat-toolbar>
|
2
|
+
<button mat-button (click)="save()" color="primary" [disabled]="!dirty">{{'SaveChanges'|translate}}</button>
|
3
|
+
<span class="divider"></span>
|
4
|
+
<bizdoc-search-input (valueChange)="search($event)"></bizdoc-search-input>
|
5
|
+
<button mat-icon-button [matMenuTriggerFor]="newMenu" [bizdocTooltip]="'Add'|translate"><mat-icon>add</mat-icon></button>
|
6
|
+
<mat-menu #newMenu>
|
7
|
+
<button mat-menu-item (click)="newRole()">{{'Role'|translate}}</button>
|
8
|
+
<button mat-menu-item (click)="newPattern()">{{'Pattern'|translate}}</button>
|
9
|
+
<button mat-menu-item (click)="newGroup()">{{'Group'|translate}} </button>
|
10
|
+
</mat-menu>
|
11
|
+
<button mat-icon-button [bizdocTooltip]="'Download' | translate" (click)="download()" [disabled]="dirty"><mat-icon>save_alt</mat-icon></button>
|
12
|
+
</mat-toolbar>
|
13
|
+
<mat-progress-bar [mode]="loading" [style.visibility]="loading ? 'visible':'hidden'"></mat-progress-bar>
|
14
|
+
<div fxLayout="row" fxFlex>
|
15
|
+
<mat-nav-list class="timeline">
|
16
|
+
<mat-list-item *ngFor="let t of types" (click)="change(t.name)" [class.active]="t === type">{{t.title}}</mat-list-item>
|
17
|
+
</mat-nav-list>
|
18
|
+
|
19
|
+
<table mat-table matSort [dataSource]="dataSource" [style.display]="dataSource ? '': 'none'" fxFlex>
|
20
|
+
<ng-container *ngFor="let column of (type?.columns ||[])" [matColumnDef]="column.name">
|
21
|
+
<th mat-header-cell *matHeaderCellDef mat-sort-header>{{column.label}}</th>
|
22
|
+
<td mat-cell *matCellDef="let element"> {{element[column.name]}} </td>
|
23
|
+
</ng-container>
|
24
|
+
<ng-container matColumnDef="key">
|
25
|
+
<th mat-header-cell *matHeaderCellDef mat-sort-header>{{''}}</th>
|
26
|
+
<td mat-cell *matCellDef="let element">
|
27
|
+
<span [ngSwitch]="element.type">
|
28
|
+
<ng-container *ngSwitchCase="'group'">({{'Group'|translate}})</ng-container>
|
29
|
+
<ng-container *ngSwitchCase="'pattern'">({{'Pattern'|translate}})</ng-container>
|
30
|
+
<ng-container *ngSwitchDefault>
|
31
|
+
{{element.key}}
|
32
|
+
</ng-container>
|
33
|
+
</span>
|
34
|
+
</td>
|
35
|
+
</ng-container>
|
36
|
+
<ng-container matColumnDef="value">
|
37
|
+
<th mat-header-cell *matHeaderCellDef mat-sort-header>{{''}}</th>
|
38
|
+
<td mat-cell *matCellDef="let element">
|
39
|
+
{{element.value}}
|
40
|
+
</td>
|
41
|
+
</ng-container>
|
42
|
+
<ng-container *ngFor="let role of roles" [matColumnDef]="role.name">
|
43
|
+
<th mat-header-cell *matHeaderCellDef>{{role.title}}</th>
|
44
|
+
<td mat-cell *matCellDef="let element" [attr.data-role]="role.name">
|
45
|
+
<ng-container *ngIf="positions[role.name][element.key]">
|
46
|
+
<ng-container *ngFor="let u of positions[role.name][element.key]; let first = first">
|
47
|
+
<ng-container *ngIf="!first">, </ng-container>
|
48
|
+
{{profiles[u]?.name}}
|
49
|
+
</ng-container>
|
50
|
+
</ng-container>
|
51
|
+
</td>
|
52
|
+
</ng-container>
|
53
|
+
<ng-container matColumnDef="options">
|
54
|
+
<th mat-header-cell *matHeaderCellDef></th>
|
55
|
+
<td mat-cell *matCellDef="let element">
|
56
|
+
<button mat-icon-button [matMenuTriggerFor]="options" *ngIf="element.type === 'pattern' || element.type === 'group'"><mat-icon>more_vert</mat-icon></button>
|
57
|
+
<mat-menu #options>
|
58
|
+
<ng-container *ngIf="element.type === 'pattern'">
|
59
|
+
<button mat-menu-item (click)="editPattern(element.key)">{{'Edit'|translate}}</button>
|
60
|
+
<mat-divider></mat-divider>
|
61
|
+
<button mat-menu-item (click)="deletePattern(element.key)">{{'Remove'|translate}} </button>
|
62
|
+
</ng-container>
|
63
|
+
<ng-container *ngIf="element.type === 'group'">
|
64
|
+
<button mat-menu-item (click)="editGroup(element.key)">{{'Edit'|translate}}</button>
|
65
|
+
<mat-divider></mat-divider>
|
66
|
+
<button mat-menu-item (click)="deleteGroup(element.key)">{{'Remove'|translate}} </button>
|
67
|
+
</ng-container>
|
68
|
+
</mat-menu>
|
69
|
+
</td>
|
70
|
+
</ng-container>
|
71
|
+
|
72
|
+
<tr mat-header-row *matHeaderRowDef="displayedColumns; sticky: true"></tr>
|
73
|
+
<tr mat-row *matRowDef="let element; columns: displayedColumns" (click)="edit(element.key, $event)"></tr>
|
74
|
+
</table>
|
75
|
+
</div>
|
76
|
+
<!-- role template -->
|
77
|
+
<ng-template #roleTpl>
|
78
|
+
<h2 mat-dialog-title>{{'Role' | translate }}</h2>
|
79
|
+
<mat-dialog-content>
|
80
|
+
<form [formGroup]="role" fxLayout="column">
|
81
|
+
<mat-form-field>
|
82
|
+
<input matInput formControlName="title" [placeholder]="'Title'| translate" required autocomplete="off" />
|
83
|
+
</mat-form-field>
|
84
|
+
</form>
|
85
|
+
</mat-dialog-content>
|
86
|
+
<mat-dialog-actions>
|
87
|
+
<button mat-button [mat-dialog-close]="role.value" color="primary" [disabled]="!role.valid">{{'OK' | translate}}</button>
|
88
|
+
<button mat-button mat-dialog-close>{{'Cancel' | translate}}</button>
|
89
|
+
</mat-dialog-actions>
|
90
|
+
</ng-template>
|
91
|
+
<!-- pattern template -->
|
92
|
+
<ng-template #patternTpl>
|
93
|
+
<h2 mat-dialog-title>{{'Pattern' | translate }}</h2>
|
94
|
+
<mat-dialog-content>
|
95
|
+
<form [formGroup]="pattern" fxLayout="column">
|
96
|
+
<mat-form-field>
|
97
|
+
<input matInput formControlName="title" [placeholder]="'Title'| translate" required autocomplete="off" />
|
98
|
+
</mat-form-field>
|
99
|
+
<mat-form-field>
|
100
|
+
<input matInput formControlName="expression" [placeholder]="'Regex'| translate" required autocomplete="off" />
|
101
|
+
<mat-hint><span [innerHTML]="'RegexHint' | translate : 'https://regex101.com/'| sanitizeHtml"></span></mat-hint>
|
102
|
+
</mat-form-field>
|
103
|
+
</form>
|
104
|
+
</mat-dialog-content>
|
105
|
+
<mat-dialog-actions>
|
106
|
+
<button mat-button [mat-dialog-close]="pattern.value" color="primary" [disabled]="!pattern.valid">{{'OK' | translate}}</button>
|
107
|
+
<button mat-button mat-dialog-close>{{'Cancel' | translate}}</button>
|
108
|
+
</mat-dialog-actions>
|
109
|
+
</ng-template>
|
110
|
+
<!-- group -->
|
111
|
+
<ng-template #groupTpl>
|
112
|
+
<h2 mat-dialog-title>{{'Group' | translate }}</h2>
|
113
|
+
<mat-dialog-content>
|
114
|
+
<form [formGroup]="group" fxLayout="column">
|
115
|
+
<mat-form-field>
|
116
|
+
<input matInput formControlName="title" [placeholder]="'Title'| translate" required autocomplete="off" />
|
117
|
+
</mat-form-field>
|
118
|
+
<mat-form-field>
|
119
|
+
<mat-select [placeholder]="'Items'|translate" multiple formControlName="items" required>
|
120
|
+
<mat-select-trigger>
|
121
|
+
{{group.value.items ? group.value.items[0] : ''}}
|
122
|
+
<span *ngIf="group.value.items?.length > 1" class="additional-selection">
|
123
|
+
(+{{group.value.items.length - 1}} {{(group.value.items?.length === 2 ? 'Other' : 'Others')|translate}})
|
124
|
+
</span>
|
125
|
+
</mat-select-trigger>
|
126
|
+
<mat-option *ngFor="let v of source" [value]="v.key">
|
127
|
+
<span *ngIf="!type.columns">{{v.value}}</span>
|
128
|
+
<span *ngIf="type.columns"><span *ngFor="let c of type.columns">{{v.value[c.name]}}</span></span>
|
129
|
+
</mat-option>
|
130
|
+
</mat-select>
|
131
|
+
</mat-form-field>
|
132
|
+
</form>
|
133
|
+
</mat-dialog-content>
|
134
|
+
<mat-dialog-actions>
|
135
|
+
<button mat-button [mat-dialog-close]="group.value" color="primary" [disabled]="!group.valid">{{'OK' | translate}}</button>
|
136
|
+
<button mat-button mat-dialog-close>{{'Cancel' | translate}}</button>
|
137
|
+
</mat-dialog-actions>
|
138
|
+
</ng-template>
|
139
|
+
<ng-template #noRoleTpl>
|
140
|
+
<mat-dialog-content>
|
141
|
+
{{'NoRoles'|translate : type?.title}}
|
142
|
+
</mat-dialog-content>
|
143
|
+
<mat-dialog-actions>
|
144
|
+
<button mat-button [mat-dialog-close]="true" color="primary">{{'CreateRole' | translate}}</button>
|
145
|
+
<button mat-button mat-dialog-close>{{'Cancel' | translate}}</button>
|
146
|
+
</mat-dialog-actions>
|
147
|
+
</ng-template>
|
148
|
+
<!--<form style="display:none">
|
149
|
+
<input type="file" name="file" (onchange)="upload($event)" #file/>
|
150
|
+
</form>-->
|
@@ -0,0 +1,20 @@
|
|
1
|
+
:host {
|
2
|
+
-ms-flex-direction: column;
|
3
|
+
-webkit-flex-direction: column;
|
4
|
+
flex-direction: column;
|
5
|
+
}
|
6
|
+
|
7
|
+
table {
|
8
|
+
width: 100%;
|
9
|
+
}
|
10
|
+
|
11
|
+
.form {
|
12
|
+
padding: 8px;
|
13
|
+
}
|
14
|
+
|
15
|
+
table :ng-deep .mat-cell {
|
16
|
+
cursor: pointer;
|
17
|
+
border-left-width: 1px;
|
18
|
+
border-left-style: outset;
|
19
|
+
padding: 0 4px !important;
|
20
|
+
}
|
@@ -0,0 +1,464 @@
|
|
1
|
+
import { Component, OnInit, ViewChild, OnDestroy, TemplateRef, Inject, ElementRef, HostListener } from '@angular/core';
|
2
|
+
import { MatDialog } from '@angular/material/dialog';
|
3
|
+
import { Subject, of, EMPTY } from 'rxjs';
|
4
|
+
import { takeUntil, filter, switchMap } from 'rxjs/operators';
|
5
|
+
import { FormControl, FormGroup, Validators } from '@angular/forms';
|
6
|
+
import { MatSort } from '@angular/material/sort';
|
7
|
+
import { MatTableDataSource } from '@angular/material/table';
|
8
|
+
import { ENTER } from '@angular/cdk/keycodes';
|
9
|
+
import { Role, Type, UserInfo } from '../../core/models';
|
10
|
+
import { AdminComponent } from '../admin-dismiss.service';
|
11
|
+
import { SessionService } from '../../core/session.service';
|
12
|
+
import { DatasourceService } from '../../core/datasource.service';
|
13
|
+
import { PromptService } from '../../core/prompt.service';
|
14
|
+
import { WindowTitleService } from '../../core/window-title.service';
|
15
|
+
import { TranslateService } from '../../core/translate.service';
|
16
|
+
import { UtilityComponent } from '../../core/base';
|
17
|
+
import { UtilityRef } from '../utility-ref';
|
18
|
+
import { BizDoc } from '../../core/decorators';
|
19
|
+
import { Popup } from '../../core/popup/popup.service';
|
20
|
+
import { PositionsPopup, PositionsData } from './positions-popup.component';
|
21
|
+
import { ProgressBarMode } from '@angular/material/progress-bar';
|
22
|
+
import { Workbook } from '@syncfusion/ej2-excel-export';
|
23
|
+
import { Worksheet } from '@syncfusion/ej2-excel-export/src/worksheet';
|
24
|
+
import { Row } from '@syncfusion/ej2-excel-export/src/row';
|
25
|
+
import { Column } from '@syncfusion/ej2-excel-export/src/column';
|
26
|
+
import { AccountService } from '../../core/account.service';
|
27
|
+
|
28
|
+
@Component({
|
29
|
+
templateUrl: './positions.component.html',
|
30
|
+
styleUrls: ['./positions.component.scss']
|
31
|
+
})
|
32
|
+
@BizDoc({ selector: 'bizdoc-positions' })
|
33
|
+
/** positions component*/
|
34
|
+
export class PositionsComponent implements OnInit, OnDestroy, UtilityComponent<boolean, TypeMap>, AdminComponent {
|
35
|
+
@ViewChild('file', { static: true }) _fileElement: ElementRef<HTMLInputElement>;
|
36
|
+
dataSource: MatTableDataSource<any>;
|
37
|
+
@ViewChild(MatSort) sort: MatSort;
|
38
|
+
readonly types: Type[];
|
39
|
+
roles: Role[];
|
40
|
+
displayedColumns: string[];
|
41
|
+
profiles: { [id: string]: UserInfo };
|
42
|
+
type?: Type;
|
43
|
+
dirty = false;
|
44
|
+
saving = false;
|
45
|
+
@ViewChild('noRoleTpl', { static: true }) noRoleTpl: TemplateRef<any>;
|
46
|
+
@ViewChild('roleTpl', { static: true }) roleTpl: TemplateRef<any>;
|
47
|
+
@ViewChild('patternTpl', { static: true }) patternTpl: TemplateRef<any>;
|
48
|
+
@ViewChild('groupTpl', { static: true }) newGroupTpl: TemplateRef<any>;
|
49
|
+
source: { key: string; value: any; }[];
|
50
|
+
readonly form = new FormGroup({
|
51
|
+
});
|
52
|
+
readonly role = new FormGroup({
|
53
|
+
title: new FormControl(null, Validators.required)
|
54
|
+
});
|
55
|
+
readonly pattern = new FormGroup({
|
56
|
+
title: new FormControl(null, Validators.required),
|
57
|
+
expression: new FormControl(null, Validators.required)
|
58
|
+
});
|
59
|
+
readonly group = new FormGroup({
|
60
|
+
title: new FormControl(null, Validators.required),
|
61
|
+
items: new FormControl(null, Validators.required)
|
62
|
+
});
|
63
|
+
private _everything: TypeMap;
|
64
|
+
positions: { [role: string]: { [key: string]: string[] } };
|
65
|
+
private readonly _destroy = new Subject<void>();
|
66
|
+
loading: ProgressBarMode;
|
67
|
+
/** positions ctor */
|
68
|
+
constructor(private _session: SessionService,
|
69
|
+
@Inject(UtilityRef) private _utilityRef: UtilityRef<boolean, TypeMap>,
|
70
|
+
private _datasources: DatasourceService,
|
71
|
+
private _ps: PromptService,
|
72
|
+
private _accounts: AccountService,
|
73
|
+
title: WindowTitleService,
|
74
|
+
private _translate: TranslateService,
|
75
|
+
private _popup: Popup,
|
76
|
+
private _dialog: MatDialog) {
|
77
|
+
this.types = _session.profile.types.filter(t => t.assignable);
|
78
|
+
title.set(_translate.get('Roles'));
|
79
|
+
}
|
80
|
+
ngOnInit(): void {
|
81
|
+
this.loading = 'query';
|
82
|
+
this._datasources.map('users').subscribe(users => {
|
83
|
+
this.profiles = users;
|
84
|
+
this._utilityRef.populate().subscribe(r => {
|
85
|
+
this._everything = r;
|
86
|
+
const type = this.types.find(t => this._session.profile.roles.findIndex(r => r.dataType === t.name) > -1);
|
87
|
+
type && this.change(type.name);
|
88
|
+
this.loading = null;
|
89
|
+
});
|
90
|
+
});
|
91
|
+
}
|
92
|
+
search(value: string) {
|
93
|
+
this.dataSource.filter = value;
|
94
|
+
}
|
95
|
+
change(name: string) {
|
96
|
+
const type = this.type = this.types.find(t => t.name === name);
|
97
|
+
const roles = this.roles = this._session.profile.roles.filter(r => r.dataType === name);
|
98
|
+
this.loading = 'query';
|
99
|
+
this._datasources.all(type.name).subscribe(t => {
|
100
|
+
this.source = t;
|
101
|
+
const model = this._everything[type.name];
|
102
|
+
let positions = model.positions;
|
103
|
+
if (!positions)
|
104
|
+
positions = model.positions = {};
|
105
|
+
if (!model.groups) model.groups = [];
|
106
|
+
if (!model.patterns) model.patterns = [];
|
107
|
+
roles.forEach(r => {
|
108
|
+
if (!positions[r.name]) positions[r.name] = {};
|
109
|
+
});
|
110
|
+
this.positions = positions;
|
111
|
+
const rows: Model[] = [];
|
112
|
+
model.patterns && model.patterns.forEach(p => {
|
113
|
+
const row = { type: 'pattern', key: p.name } as Model;
|
114
|
+
row[type.columns ? type.columns[0].name : 'value'] = p.title;
|
115
|
+
rows.push(row);
|
116
|
+
});
|
117
|
+
model.groups && model.groups.forEach(g => {
|
118
|
+
const row = { type: 'group', key: g.name } as Model;
|
119
|
+
row[type.columns ? type.columns[0].name : 'value'] = g.title;
|
120
|
+
rows.push(row);
|
121
|
+
});
|
122
|
+
t.forEach(t => {
|
123
|
+
const row = { type: 'key', ...t } as Model;
|
124
|
+
type.columns && type.columns.forEach(c => {
|
125
|
+
row[c.name] = t.value[c.name];
|
126
|
+
});
|
127
|
+
rows.push(row);
|
128
|
+
});
|
129
|
+
|
130
|
+
this.dataSource = new MatTableDataSource(rows);
|
131
|
+
this.dataSource.sort = this.sort;
|
132
|
+
this._columns();
|
133
|
+
!roles.length &&
|
134
|
+
this._dialog.open(this.noRoleTpl).afterClosed().subscribe(ok =>
|
135
|
+
ok && this.newRole());
|
136
|
+
this.loading = null;
|
137
|
+
}, () => {
|
138
|
+
this.loading = null;
|
139
|
+
this._ps.error();
|
140
|
+
});
|
141
|
+
}
|
142
|
+
private _columns() {
|
143
|
+
this.displayedColumns = (this.type.columns ? this.type.columns.map(c => c.name) : ['key', 'value']).concat(
|
144
|
+
this.roles.map(r => r.name)).concat(['options']);
|
145
|
+
}
|
146
|
+
/**
|
147
|
+
*
|
148
|
+
* @param key
|
149
|
+
* @param evt
|
150
|
+
*/
|
151
|
+
edit(key: any, evt: MouseEvent) {
|
152
|
+
if ((evt.target as HTMLElement).tagName === 'MAT-ICON') return;
|
153
|
+
|
154
|
+
let cell = evt.srcElement as HTMLElement;
|
155
|
+
while (cell.tagName !== 'TD')
|
156
|
+
cell = cell.parentElement;
|
157
|
+
|
158
|
+
const role = cell.getAttribute('data-role');
|
159
|
+
|
160
|
+
if (!role) return;
|
161
|
+
|
162
|
+
const crole = this.roles.find(r => r.name === role);
|
163
|
+
|
164
|
+
let positions = this.positions[role][key];
|
165
|
+
|
166
|
+
if (!positions) positions = this.positions[role][key] = [];
|
167
|
+
|
168
|
+
this._popup.open(PositionsPopup, evt.srcElement as HTMLElement, {
|
169
|
+
data: { title: crole.title, positions } as PositionsData
|
170
|
+
}).opened.subscribe(e => e.valueChange.pipe(takeUntil(this._destroy)).subscribe(() => this.dirty = true));
|
171
|
+
}
|
172
|
+
private _openDialog(tmpl: TemplateRef<any>, form: FormGroup, values: any) {
|
173
|
+
form.reset(values);
|
174
|
+
const dialogRef = this._dialog.open(tmpl);
|
175
|
+
dialogRef.keydownEvents().pipe(filter(k => k.keyCode === ENTER), takeUntil(dialogRef.afterClosed())).
|
176
|
+
subscribe(() => form.valid && dialogRef.close(form.value));
|
177
|
+
return dialogRef.afterClosed().pipe(switchMap(v => v ? of(v) : EMPTY));
|
178
|
+
}
|
179
|
+
newRole() {
|
180
|
+
this._openDialog(this.roleTpl, this.role, { title: null }).
|
181
|
+
subscribe((r: Role) => {
|
182
|
+
const name = r.title.normalize(), role = { name, ...r };
|
183
|
+
this.positions[name] = {};
|
184
|
+
this._everything[this.type.name].roles.push(role);
|
185
|
+
this.roles.push(role);
|
186
|
+
this._columns();
|
187
|
+
this.dirty = true;
|
188
|
+
});
|
189
|
+
}
|
190
|
+
newGroup() {
|
191
|
+
this._openDialog(this.newGroupTpl, this.group, { items: [], title: null }).subscribe((g: { title: string; items: string[] }) => {
|
192
|
+
const name = g.title.normalize();
|
193
|
+
this._everything[this.type.name].groups.push({ name, ...g });
|
194
|
+
const row = { key: name, type: 'group' } as Model;
|
195
|
+
row[this.type.columns ? this.type.columns[0].name : 'value'] = g.title;
|
196
|
+
this.dataSource.data.splice(0, 0, row);
|
197
|
+
this.dataSource.filter = '';
|
198
|
+
this.dirty = true;
|
199
|
+
});
|
200
|
+
}
|
201
|
+
newPattern() {
|
202
|
+
this._openDialog(this.patternTpl, this.pattern, { title: null, expression: null }).subscribe((p: Pattern) => {
|
203
|
+
const name = p.title.normalize();
|
204
|
+
this._everything[this.type.name].patterns.push({ name, ...p });
|
205
|
+
const row = { key: name, type: 'pattern' } as Model;
|
206
|
+
row[this.type.columns ? this.type.columns[0].name : 'value'] = p.title;
|
207
|
+
this.dataSource.data.splice(0, 0, row);
|
208
|
+
this.dataSource.filter = '';
|
209
|
+
this.dirty = true;
|
210
|
+
});
|
211
|
+
}
|
212
|
+
deleteGroup(name: string) {
|
213
|
+
const groups = this._everything[this.type.name].groups, group = groups.find(g => g.name === name);
|
214
|
+
this._ps.ask('RemoveAsk', null, { ok: 'Yes', cancel: 'No' }).subscribe(ok => {
|
215
|
+
if (ok) {
|
216
|
+
groups.remove(group);
|
217
|
+
Object.keys(this.positions).forEach(r => {
|
218
|
+
const positions = this.positions[r][group.name];
|
219
|
+
if (positions)
|
220
|
+
delete this.positions[r][group.name];
|
221
|
+
});
|
222
|
+
this.dataSource.data.remove(this.dataSource.data.find(g => g.key === group.name && g.type === 'group'));
|
223
|
+
this.dataSource.filter = '';
|
224
|
+
}
|
225
|
+
});
|
226
|
+
}
|
227
|
+
deletePattern(name: string) {
|
228
|
+
const patterns = this._everything[this.type.name].patterns, pattern = patterns.find(p => p.name === name);
|
229
|
+
this._ps.ask('RemoveAsk', null, { ok: 'Yes', cancel: 'No' }).subscribe(ok => {
|
230
|
+
if (ok) {
|
231
|
+
patterns.remove(pattern);
|
232
|
+
this.dataSource.data.remove(this.dataSource.data.find(p => p.key === pattern.name && p.type === 'pattern'));
|
233
|
+
this.dataSource.filter = '';
|
234
|
+
Object.keys(this.positions).forEach(r => {
|
235
|
+
const positions = this.positions[r][pattern.name];
|
236
|
+
if (positions)
|
237
|
+
delete this.positions[r][pattern.name];
|
238
|
+
});
|
239
|
+
}
|
240
|
+
});
|
241
|
+
}
|
242
|
+
editGroup(name: string) {
|
243
|
+
const groups = this._everything[this.type.name].groups, group = groups.find(g => g.name === name);
|
244
|
+
this._openDialog(this.newGroupTpl, this.group, group).subscribe((g: Group) => {
|
245
|
+
Object.assign(group, g);
|
246
|
+
this.dirty = true;
|
247
|
+
});
|
248
|
+
}
|
249
|
+
editPattern(name: string) {
|
250
|
+
const patterns = this._everything[this.type.name].patterns, pattern = patterns.find(p => p.name === name);
|
251
|
+
this._openDialog(this.patternTpl, this.pattern, pattern).subscribe((p: Pattern) => {
|
252
|
+
Object.assign(pattern, p);
|
253
|
+
this.dirty = true;
|
254
|
+
});
|
255
|
+
}
|
256
|
+
/**
|
257
|
+
* Ctrl-s save
|
258
|
+
* @param event
|
259
|
+
*/
|
260
|
+
@HostListener('document:keydown', ['$event'])
|
261
|
+
handleKeyboardEvent(event: KeyboardEvent) {
|
262
|
+
if (this.dirty && event.ctrlKey && (event.which === 83 || event.which === 115)) {
|
263
|
+
this.save();
|
264
|
+
event.preventDefault();
|
265
|
+
}
|
266
|
+
}
|
267
|
+
save(): Promise<any> {
|
268
|
+
this.saving = true;
|
269
|
+
this.loading = 'indeterminate';
|
270
|
+
return this._utilityRef.execute(this._everything).toPromise().then(() => {
|
271
|
+
this._ps.toast('ChangesSaved');
|
272
|
+
this.dirty = false;
|
273
|
+
this.loading = null;
|
274
|
+
this._session.refresh().subscribe();
|
275
|
+
}, () =>
|
276
|
+
this._ps.error()).finally(() => {
|
277
|
+
this.saving = false;
|
278
|
+
this.loading = null;
|
279
|
+
});
|
280
|
+
}
|
281
|
+
async download() {
|
282
|
+
const { profiles } = this, worksheets = [];
|
283
|
+
for (let i = 0; i < this.types.length; i++) {
|
284
|
+
let type = this.types[i];
|
285
|
+
const model = this._everything[type.name];
|
286
|
+
let positions = model.positions;
|
287
|
+
if (!positions || !Object.keys(positions).length) continue;
|
288
|
+
const roles = this._session.profile.roles.filter(r => r.dataType === type.name && positions[r.name]);
|
289
|
+
const cells = [{
|
290
|
+
index: 1,
|
291
|
+
value: this._translate.get('Type'),
|
292
|
+
style: {
|
293
|
+
bold: true
|
294
|
+
}
|
295
|
+
}, {
|
296
|
+
index: 2,
|
297
|
+
value: this._translate.get('Value'),
|
298
|
+
style: {
|
299
|
+
bold: true
|
300
|
+
}
|
301
|
+
}, {
|
302
|
+
index: 3,
|
303
|
+
value: ''
|
304
|
+
}] as Cell[];
|
305
|
+
if (type.columns) type.columns.slice(2).forEach((c, i) => cells.push({
|
306
|
+
index: i + 4,
|
307
|
+
value: ''
|
308
|
+
} as Cell));
|
309
|
+
roles.forEach(r => cells.push({
|
310
|
+
index: cells.length + 1,
|
311
|
+
value: r.title,
|
312
|
+
style: {
|
313
|
+
bold: true
|
314
|
+
}
|
315
|
+
} as Cell));
|
316
|
+
const rows = [] as Row[];
|
317
|
+
rows.push({
|
318
|
+
index: 1,
|
319
|
+
cells
|
320
|
+
} as Row);
|
321
|
+
model.patterns && model.patterns.forEach(p => {
|
322
|
+
const row = {
|
323
|
+
index: rows.length + 1,
|
324
|
+
cells: [{
|
325
|
+
index: 1,
|
326
|
+
value: this._translate.get('Pattern')
|
327
|
+
}, {
|
328
|
+
index: 2,
|
329
|
+
value: p.expression
|
330
|
+
}, {
|
331
|
+
index: 3,
|
332
|
+
value: p.title
|
333
|
+
}]
|
334
|
+
} as Row;
|
335
|
+
addcolumns(p.name, row);
|
336
|
+
rows.push(row);
|
337
|
+
});
|
338
|
+
model.groups && model.groups.forEach(g => {
|
339
|
+
const row = {
|
340
|
+
index: rows.length + 1,
|
341
|
+
cells: [{
|
342
|
+
index: 1,
|
343
|
+
value: this._translate.get('Group')
|
344
|
+
}, {
|
345
|
+
index: 2,
|
346
|
+
value: g.items.join(', ')
|
347
|
+
}, {
|
348
|
+
index: 3,
|
349
|
+
value: g.title
|
350
|
+
}]
|
351
|
+
} as Row;
|
352
|
+
addcolumns(g.name, row);
|
353
|
+
rows.push(row);
|
354
|
+
});
|
355
|
+
let datasource = await this._datasources.all(type.name).toPromise();
|
356
|
+
datasource.forEach(d => {
|
357
|
+
const row = {
|
358
|
+
index: rows.length + 1,
|
359
|
+
cells: [{
|
360
|
+
index: 1,
|
361
|
+
value: this._translate.get('Key')
|
362
|
+
}]
|
363
|
+
} as Row;
|
364
|
+
if (type.columns) type.columns.forEach((c, i) => row.cells.push({
|
365
|
+
index: i + 2,
|
366
|
+
value: d.value[c.name]
|
367
|
+
}));
|
368
|
+
else row.cells.push({ index: 2, value: d.value });
|
369
|
+
addcolumns(d.key, row);
|
370
|
+
rows.push(row);
|
371
|
+
});
|
372
|
+
const columns = [];
|
373
|
+
type.columns && type.columns.forEach((_, i) => columns.push({ index: i + 1, width: 250 } as Column));
|
374
|
+
roles.forEach((_, i) => columns.push({ index: columns.length + i + 2 } as Column));
|
375
|
+
worksheets.push({
|
376
|
+
name: type.title,
|
377
|
+
columns,
|
378
|
+
rows
|
379
|
+
} as Worksheet
|
380
|
+
);
|
381
|
+
function addcolumns(key, row: Row) {
|
382
|
+
roles.forEach(r => {
|
383
|
+
const users = positions[r.name][key];
|
384
|
+
row.cells.push({
|
385
|
+
index: row.cells.length + 1,
|
386
|
+
value: users ? users.map(u => profiles[u] ? profiles[u].name : u).join(', ') : ''
|
387
|
+
});
|
388
|
+
});
|
389
|
+
}
|
390
|
+
}
|
391
|
+
const book = new Workbook(
|
392
|
+
{
|
393
|
+
worksheets,
|
394
|
+
},
|
395
|
+
'xlsx'
|
396
|
+
);
|
397
|
+
book.save(`${this._translate.get('Positions')}.xlsx`);
|
398
|
+
}
|
399
|
+
// async upload(evt: InputEvent) {
|
400
|
+
// const { files } = evt.srcElement as HTMLInputElement;
|
401
|
+
// if (files && files.length) {
|
402
|
+
// const file = files.item(0);
|
403
|
+
// var reader = new FileReader();
|
404
|
+
// reader.onload = e => { };
|
405
|
+
// const text = await file.text();
|
406
|
+
// //reader.readAs(text);
|
407
|
+
// const wb = XLSX.readFile(file.name, {});
|
408
|
+
// for (let i = 0; i < wb.SheetNames.length; i++) {
|
409
|
+
// let title = wb.SheetNames[i], ws = wb.Sheets[title];
|
410
|
+
// let type = this.types.find(t => t.title === title);
|
411
|
+
// if (!type) throw '';
|
412
|
+
// let roles = this._session.profile.roles.filter(r => r.dataType === type.name);
|
413
|
+
// let row = ws['!rows'][0];
|
414
|
+
// for (let c = 0; c < ws['!cols'].length; c++) {
|
415
|
+
// let col = ws['!cols'][c];
|
416
|
+
// //let role = roles.find(r => r.title === ws.);
|
417
|
+
// // if (!role) {
|
418
|
+
// // this._everything[type.name].roles.push({name: '', title: ''});
|
419
|
+
// // }
|
420
|
+
// }
|
421
|
+
// for (let r = 0; r < ws['!rows'].length; r++) {
|
422
|
+
// let row = ws['!rows'][r];
|
423
|
+
// for (let c = 0; c < ws['!cols'].length; c++) {
|
424
|
+
// let col = ws['!cols'][c], content = '';
|
425
|
+
// if (content) {
|
426
|
+
// //let users = content.split(', ').map(name=> this.profiles.find(u=> u.name === name));
|
427
|
+
|
428
|
+
// }
|
429
|
+
// else { }
|
430
|
+
|
431
|
+
// }
|
432
|
+
// }
|
433
|
+
// }
|
434
|
+
// }
|
435
|
+
//}
|
436
|
+
ngOnDestroy(): void {
|
437
|
+
this._destroy.next();
|
438
|
+
this._destroy.complete();
|
439
|
+
}
|
440
|
+
}
|
441
|
+
interface Model {
|
442
|
+
key: any;
|
443
|
+
type: 'group' | 'pattern' | 'key';
|
444
|
+
}
|
445
|
+
|
446
|
+
type TypeMap = { [name: string]: DataTypeModel }
|
447
|
+
|
448
|
+
interface DataTypeModel {
|
449
|
+
patterns: Pattern[];
|
450
|
+
positions: { [role: string]: { [key: string]: string[] } };
|
451
|
+
groups: Group[];
|
452
|
+
roles: [{ name: string; title: string }];
|
453
|
+
}
|
454
|
+
interface Group {
|
455
|
+
title: string;
|
456
|
+
name: string;
|
457
|
+
items: string[];
|
458
|
+
}
|
459
|
+
interface Pattern {
|
460
|
+
title: string;
|
461
|
+
name: string;
|
462
|
+
expression: string;
|
463
|
+
}
|
464
|
+
interface Cell { }
|
@@ -0,0 +1,14 @@
|
|
1
|
+
<h2 mat-dialog-title>{{'Reassign' | translate }}</h2>
|
2
|
+
<mat-dialog-content>
|
3
|
+
<form autocomplete="off" fxLayout="column">
|
4
|
+
<mat-form-field>
|
5
|
+
<mat-select placeholder="{{'Who' | translate}}" [formControl]="who" required>
|
6
|
+
<mat-option *ngFor="let u of assignable$ | async" [value]="u.id">{{u.name}}</mat-option>
|
7
|
+
</mat-select>
|
8
|
+
</mat-form-field>
|
9
|
+
</form>
|
10
|
+
</mat-dialog-content>
|
11
|
+
<mat-dialog-actions>
|
12
|
+
<button mat-button [mat-dialog-close]="who.value" color="primary" [disabled]="!who.valid">{{'OK' | translate}}</button>
|
13
|
+
<button mat-button mat-dialog-close>{{'Cancel' | translate}}</button>
|
14
|
+
</mat-dialog-actions>
|