@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
@@ -1,161 +0,0 @@
|
|
1
|
-
import { __decorate } from "tslib";
|
2
|
-
import { Component, ViewChild, Inject } from "@angular/core";
|
3
|
-
import { MatTableDataSource } from "@angular/material/table";
|
4
|
-
import { FormGroup, FormControl, Validators } from "@angular/forms";
|
5
|
-
import { merge, Subject } from "rxjs";
|
6
|
-
import { filter, takeUntil } from "rxjs/operators";
|
7
|
-
import { TemplatePortal } from "@angular/cdk/portal";
|
8
|
-
import { BizDoc } from "../../core/decorators";
|
9
|
-
import { UtilityRef } from "../utility-ref";
|
10
|
-
import { ESCAPE } from "@angular/cdk/keycodes";
|
11
|
-
import * as i0 from "@angular/core";
|
12
|
-
import * as i1 from "@angular/cdk/bidi";
|
13
|
-
import * as i2 from "../../core/session.service";
|
14
|
-
import * as i3 from "../../core/prompt.service";
|
15
|
-
import * as i4 from "@angular/cdk/overlay";
|
16
|
-
import * as i5 from "@angular/material/toolbar";
|
17
|
-
import * as i6 from "@angular/material/button";
|
18
|
-
import * as i7 from "@angular/material/icon";
|
19
|
-
import * as i8 from "@angular/material/progress-bar";
|
20
|
-
import * as i9 from "@angular/material/table";
|
21
|
-
import * as i10 from "@angular/material/form-field";
|
22
|
-
import * as i11 from "../../core/controls/select.input";
|
23
|
-
import * as i12 from "@angular/common";
|
24
|
-
import * as i13 from "@angular/forms";
|
25
|
-
import * as i14 from "@angular/material/input";
|
26
|
-
import * as i15 from "../../core/pipes/translate.pipe";
|
27
|
-
import * as i16 from "../../core/pipes/type-value.pipe";
|
28
|
-
import * as i17 from "../utility-ref";
|
29
|
-
let ManageCubeIndexUtility = class ManageCubeIndexUtility {
|
30
|
-
constructor(_dir, _ref, session, _vc, _sb, _overlay) {
|
31
|
-
this._dir = _dir;
|
32
|
-
this._ref = _ref;
|
33
|
-
this._vc = _vc;
|
34
|
-
this._sb = _sb;
|
35
|
-
this._overlay = _overlay;
|
36
|
-
this.dirty = false;
|
37
|
-
this.displayedColumns = ['value', 'options'];
|
38
|
-
this.form = new FormGroup({
|
39
|
-
value: new FormControl(0, Validators.required)
|
40
|
-
});
|
41
|
-
this._destroy = new Subject();
|
42
|
-
const { cube: name, axes: names } = _ref.options;
|
43
|
-
const cube = name ? session.profile.cubes.find(c => c.name === name) : session.profile.cubes[0];
|
44
|
-
this.CURRENCY_CODE = cube.currencyCode;
|
45
|
-
this.axes = cube.axes.filter(a => names ? names.indexOf(a.name) > -1 : !a.hidden);
|
46
|
-
this.names = cube.axes.map(a => a.name);
|
47
|
-
this.axes.forEach((a, i) => {
|
48
|
-
this.displayedColumns.splice(i, 0, a.name);
|
49
|
-
const ctrl = new FormControl(null, Validators.required);
|
50
|
-
this.form.addControl(a.name, ctrl);
|
51
|
-
});
|
52
|
-
this.form.valueChanges.pipe(takeUntil(this._destroy)).subscribe(v => {
|
53
|
-
if (!this.form.valid)
|
54
|
-
return;
|
55
|
-
const axes = [];
|
56
|
-
this.axes.forEach(a => axes[this.names.indexOf(a.name)] = this.form.value[a.name] || null);
|
57
|
-
if (this._row) {
|
58
|
-
if (axes.join() === this._row.axes.join())
|
59
|
-
this._row.value = v.value;
|
60
|
-
else {
|
61
|
-
const row = this._find(axes);
|
62
|
-
if (row) {
|
63
|
-
this._row = row;
|
64
|
-
this.form.controls['value'].setValue(this._row.value, { emitEvent: false });
|
65
|
-
}
|
66
|
-
else
|
67
|
-
this._row.axes = axes;
|
68
|
-
}
|
69
|
-
}
|
70
|
-
else if (v.value) {
|
71
|
-
this._row = { value: v.value, axes };
|
72
|
-
this._data.push(this._row);
|
73
|
-
this.dataSource.filter = '';
|
74
|
-
}
|
75
|
-
this.dirty = true;
|
76
|
-
});
|
77
|
-
const oRef = this._oRef = this._overlay.create({
|
78
|
-
positionStrategy: this._overlay.position().global().centerHorizontally().centerVertically(),
|
79
|
-
backdropClass: 'cdk-overlay-transparent-backdrop',
|
80
|
-
direction: this._dir.value,
|
81
|
-
hasBackdrop: true,
|
82
|
-
panelClass: 'home-panel'
|
83
|
-
});
|
84
|
-
merge(oRef.backdropClick(), oRef.keydownEvents().pipe(filter(k => k.keyCode === ESCAPE))).pipe(takeUntil(this._destroy)).subscribe(() => oRef.detach());
|
85
|
-
}
|
86
|
-
_find(axes) {
|
87
|
-
const n = this.names.length;
|
88
|
-
return this._data.find(index => {
|
89
|
-
for (let i = 0; i < n; i++)
|
90
|
-
if (axes[i] && axes[i] !== index.axes[i])
|
91
|
-
return false;
|
92
|
-
return true;
|
93
|
-
});
|
94
|
-
}
|
95
|
-
add() {
|
96
|
-
this._row = null;
|
97
|
-
const values = { value: 0 };
|
98
|
-
this.axes.forEach(a => values[a.name] = null);
|
99
|
-
this.form.patchValue(values, { emitEvent: false });
|
100
|
-
const portal = new TemplatePortal(this.editTmpl, this._vc);
|
101
|
-
this._oRef.attach(portal);
|
102
|
-
}
|
103
|
-
edit(item) {
|
104
|
-
this._row = item;
|
105
|
-
const values = { value: item.value };
|
106
|
-
this.axes.forEach(a => values[a.name] = item.axes[this.names.indexOf(a.name)]);
|
107
|
-
this.form.patchValue(values, { emitEvent: false });
|
108
|
-
const portal = new TemplatePortal(this.editTmpl, this._vc);
|
109
|
-
this._oRef.attach(portal);
|
110
|
-
}
|
111
|
-
remove(index, evt) {
|
112
|
-
this._data.remove(index);
|
113
|
-
this.dataSource.filter = '';
|
114
|
-
evt.stopPropagation();
|
115
|
-
}
|
116
|
-
_filter(axes) {
|
117
|
-
const n = axes.length;
|
118
|
-
return this._data.filter(index => {
|
119
|
-
for (let i = 0; i < n; i++)
|
120
|
-
if (this.axes[i] && axes[i] !== index.axes[i])
|
121
|
-
return false;
|
122
|
-
return true;
|
123
|
-
});
|
124
|
-
}
|
125
|
-
ngOnInit() {
|
126
|
-
this.loading = 'query';
|
127
|
-
this._ref.populate().subscribe(m => {
|
128
|
-
this._data = m;
|
129
|
-
this.dataSource = new MatTableDataSource(m);
|
130
|
-
this.loading = null;
|
131
|
-
});
|
132
|
-
}
|
133
|
-
save() {
|
134
|
-
this.loading = 'indeterminate';
|
135
|
-
this._ref.execute(this._data).subscribe(() => {
|
136
|
-
this._sb.toast('ChangesSaved');
|
137
|
-
this.dirty = false;
|
138
|
-
this.loading = null;
|
139
|
-
});
|
140
|
-
}
|
141
|
-
ngOnDestroy() {
|
142
|
-
this._destroy.next();
|
143
|
-
}
|
144
|
-
};
|
145
|
-
ManageCubeIndexUtility.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.1", ngImport: i0, type: ManageCubeIndexUtility, deps: [{ token: i1.Directionality }, { token: UtilityRef }, { token: i2.SessionService }, { token: i0.ViewContainerRef }, { token: i3.PromptService }, { token: i4.Overlay }], target: i0.ɵɵFactoryTarget.Component });
|
146
|
-
ManageCubeIndexUtility.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.1", type: ManageCubeIndexUtility, selector: "ng-component", viewQueries: [{ propertyName: "editTmpl", first: true, predicate: ["editTmpl"], descendants: true, static: true }], ngImport: i0, template: "<mat-toolbar>\r\n <button mat-button (click)=\"save()\" [disabled]=\"!dirty\">{{'SaveChanges'|translate}}</button>\r\n <span class=\"divider\"></span>\r\n <button mat-icon-button (click)=\"add()\"><mat-icon>add</mat-icon></button>\r\n</mat-toolbar>\r\n<mat-progress-bar [mode]=\"loading\" [style.visibility]=\"loading ? 'visible':'hidden'\"></mat-progress-bar>\r\n<table mat-table [dataSource]=\"dataSource\">\r\n <ng-container *ngFor=\"let a of axes; let i = index\" [matColumnDef]=\"a.name\">\r\n <th mat-header-cell *matHeaderCellDef>{{a.title}}</th>\r\n <td mat-cell *matCellDef=\"let element\"> {{element.axes[names.indexOf(a.name)]| typeValue: a.dataType | async}} </td>\r\n </ng-container>\r\n <ng-container matColumnDef=\"value\">\r\n <th mat-header-cell *matHeaderCellDef>{{'Value'|translate}}</th>\r\n <td mat-cell *matCellDef=\"let element\"> {{element.value | currency : CURRENCY_CODE }} </td>\r\n </ng-container>\r\n <ng-container matColumnDef=\"options\">\r\n <th mat-header-cell *matHeaderCellDef></th>\r\n <td mat-cell *matCellDef=\"let element\">\r\n <button mat-icon-button><mat-icon>more_horiz</mat-icon></button>\r\n <button mat-icon-button (click)=\"remove(element, $event)\"><mat-icon>delete</mat-icon></button>\r\n </td>\r\n </ng-container>\r\n <tr mat-header-row *matHeaderRowDef=\"displayedColumns\"></tr>\r\n <tr mat-row *matRowDef=\"let element; columns: displayedColumns;\" (click)=\"edit(element)\"></tr>\r\n</table>\r\n<ng-template #editTmpl>\r\n <form [formGroup]=\"form\">\r\n <mat-form-field *ngFor=\"let a of axes\">\r\n <bizdoc-select [placeholder]=\"a.title\" [type]=\"a.dataType\" [formControlName]=\"a.name\" required></bizdoc-select>\r\n </mat-form-field>\r\n <mat-form-field>\r\n <input matInput type=\"number\" formControlName=\"value\" autocomplete=\"off\" required [placeholder]=\"'Value'|translate\" />\r\n </mat-form-field>\r\n </form>\r\n</ng-template>\r\n", styles: ["form{padding:8px 4px 8px 8px;flex-flow:row wrap;box-sizing:border-box;display:flex}form>*{flex:1 1 auto;box-sizing:border-box;width:50%;padding:0 5px 0 0}table{width:100%}\n"], components: [{ type: i5.MatToolbar, selector: "mat-toolbar", inputs: ["color"], exportAs: ["matToolbar"] }, { type: i6.MatButton, selector: "button[mat-button], button[mat-raised-button], button[mat-icon-button], button[mat-fab], button[mat-mini-fab], button[mat-stroked-button], button[mat-flat-button]", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }, { type: i7.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { type: i8.MatProgressBar, selector: "mat-progress-bar", inputs: ["color", "value", "bufferValue", "mode"], outputs: ["animationEnd"], exportAs: ["matProgressBar"] }, { type: i9.MatTable, selector: "mat-table, table[mat-table]", exportAs: ["matTable"] }, { type: i9.MatHeaderRow, selector: "mat-header-row, tr[mat-header-row]", exportAs: ["matHeaderRow"] }, { type: i9.MatRow, selector: "mat-row, tr[mat-row]", exportAs: ["matRow"] }, { type: i10.MatFormField, selector: "mat-form-field", inputs: ["color", "appearance", "hideRequiredMarker", "hintLabel", "floatLabel"], exportAs: ["matFormField"] }, { type: i11.TypeSelect, selector: "bizdoc-select", inputs: ["type", "scope", "multiple", "placeholder", "required", "disabled", "text", "value"], outputs: ["selectionChange", "textChange"] }], directives: [{ type: i12.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i9.MatColumnDef, selector: "[matColumnDef]", inputs: ["sticky", "matColumnDef"] }, { type: i9.MatHeaderCellDef, selector: "[matHeaderCellDef]" }, { type: i9.MatHeaderCell, selector: "mat-header-cell, th[mat-header-cell]" }, { type: i9.MatCellDef, selector: "[matCellDef]" }, { type: i9.MatCell, selector: "mat-cell, td[mat-cell]" }, { type: i9.MatHeaderRowDef, selector: "[matHeaderRowDef]", inputs: ["matHeaderRowDef", "matHeaderRowDefSticky"] }, { type: i9.MatRowDef, selector: "[matRowDef]", inputs: ["matRowDefColumns", "matRowDefWhen"] }, { type: i13.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { type: i13.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { type: i13.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { type: i13.RequiredValidator, selector: ":not([type=checkbox])[required][formControlName],:not([type=checkbox])[required][formControl],:not([type=checkbox])[required][ngModel]", inputs: ["required"] }, { type: i13.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i13.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { type: i14.MatInput, selector: "input[matInput], textarea[matInput], select[matNativeControl], input[matNativeControl], textarea[matNativeControl]", inputs: ["disabled", "id", "placeholder", "name", "required", "type", "errorStateMatcher", "aria-describedby", "value", "readonly"], exportAs: ["matInput"] }, { type: i13.NumberValueAccessor, selector: "input[type=number][formControlName],input[type=number][formControl],input[type=number][ngModel]" }, { type: i13.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }], pipes: { "translate": i15.TranslatePipe, "async": i12.AsyncPipe, "typeValue": i16.TypeValuePipe, "currency": i12.CurrencyPipe } });
|
147
|
-
ManageCubeIndexUtility = __decorate([
|
148
|
-
BizDoc({ selector: 'manage-cube-index' })
|
149
|
-
], ManageCubeIndexUtility);
|
150
|
-
export { ManageCubeIndexUtility };
|
151
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.1", ngImport: i0, type: ManageCubeIndexUtility, decorators: [{
|
152
|
-
type: Component,
|
153
|
-
args: [{ template: "<mat-toolbar>\r\n <button mat-button (click)=\"save()\" [disabled]=\"!dirty\">{{'SaveChanges'|translate}}</button>\r\n <span class=\"divider\"></span>\r\n <button mat-icon-button (click)=\"add()\"><mat-icon>add</mat-icon></button>\r\n</mat-toolbar>\r\n<mat-progress-bar [mode]=\"loading\" [style.visibility]=\"loading ? 'visible':'hidden'\"></mat-progress-bar>\r\n<table mat-table [dataSource]=\"dataSource\">\r\n <ng-container *ngFor=\"let a of axes; let i = index\" [matColumnDef]=\"a.name\">\r\n <th mat-header-cell *matHeaderCellDef>{{a.title}}</th>\r\n <td mat-cell *matCellDef=\"let element\"> {{element.axes[names.indexOf(a.name)]| typeValue: a.dataType | async}} </td>\r\n </ng-container>\r\n <ng-container matColumnDef=\"value\">\r\n <th mat-header-cell *matHeaderCellDef>{{'Value'|translate}}</th>\r\n <td mat-cell *matCellDef=\"let element\"> {{element.value | currency : CURRENCY_CODE }} </td>\r\n </ng-container>\r\n <ng-container matColumnDef=\"options\">\r\n <th mat-header-cell *matHeaderCellDef></th>\r\n <td mat-cell *matCellDef=\"let element\">\r\n <button mat-icon-button><mat-icon>more_horiz</mat-icon></button>\r\n <button mat-icon-button (click)=\"remove(element, $event)\"><mat-icon>delete</mat-icon></button>\r\n </td>\r\n </ng-container>\r\n <tr mat-header-row *matHeaderRowDef=\"displayedColumns\"></tr>\r\n <tr mat-row *matRowDef=\"let element; columns: displayedColumns;\" (click)=\"edit(element)\"></tr>\r\n</table>\r\n<ng-template #editTmpl>\r\n <form [formGroup]=\"form\">\r\n <mat-form-field *ngFor=\"let a of axes\">\r\n <bizdoc-select [placeholder]=\"a.title\" [type]=\"a.dataType\" [formControlName]=\"a.name\" required></bizdoc-select>\r\n </mat-form-field>\r\n <mat-form-field>\r\n <input matInput type=\"number\" formControlName=\"value\" autocomplete=\"off\" required [placeholder]=\"'Value'|translate\" />\r\n </mat-form-field>\r\n </form>\r\n</ng-template>\r\n", styles: ["form{padding:8px 4px 8px 8px;flex-flow:row wrap;box-sizing:border-box;display:flex}form>*{flex:1 1 auto;box-sizing:border-box;width:50%;padding:0 5px 0 0}table{width:100%}\n"] }]
|
154
|
-
}], ctorParameters: function () { return [{ type: i1.Directionality }, { type: i17.UtilityRef, decorators: [{
|
155
|
-
type: Inject,
|
156
|
-
args: [UtilityRef]
|
157
|
-
}] }, { type: i2.SessionService }, { type: i0.ViewContainerRef }, { type: i3.PromptService }, { type: i4.Overlay }]; }, propDecorators: { editTmpl: [{
|
158
|
-
type: ViewChild,
|
159
|
-
args: ['editTmpl', { static: true }]
|
160
|
-
}] } });
|
161
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibWFuYWdlLWN1YmUtaW5kZXguY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vbGlicmFyaWVzL2NvcmUvc3JjL2xpYi9hZG1pbi9pbmRpY2VzL21hbmFnZS1jdWJlLWluZGV4LmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uLy4uL2xpYnJhcmllcy9jb3JlL3NyYy9saWIvYWRtaW4vaW5kaWNlcy9tYW5hZ2UtY3ViZS1pbmRleC5jb21wb25lbnQuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiO0FBQUEsT0FBTyxFQUFFLFNBQVMsRUFBVSxTQUFTLEVBQTRDLE1BQU0sRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUMvRyxPQUFPLEVBQUUsa0JBQWtCLEVBQUUsTUFBTSx5QkFBeUIsQ0FBQztBQUM3RCxPQUFPLEVBQUUsU0FBUyxFQUFFLFdBQVcsRUFBRSxVQUFVLEVBQUUsTUFBTSxnQkFBZ0IsQ0FBQztBQUVwRSxPQUFPLEVBQUUsS0FBSyxFQUFFLE9BQU8sRUFBRSxNQUFNLE1BQU0sQ0FBQztBQUN0QyxPQUFPLEVBQUUsTUFBTSxFQUFFLFNBQVMsRUFBRSxNQUFNLGdCQUFnQixDQUFDO0FBQ25ELE9BQU8sRUFBRSxjQUFjLEVBQUUsTUFBTSxxQkFBcUIsQ0FBQztBQUdyRCxPQUFPLEVBQUUsTUFBTSxFQUFFLE1BQU0sdUJBQXVCLENBQUM7QUFDL0MsT0FBTyxFQUFFLFVBQVUsRUFBRSxNQUFNLGdCQUFnQixDQUFDO0FBRzVD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S5kYXRhVHlwZVwiIFtmb3JtQ29udHJvbE5hbWVdPVwiYS5uYW1lXCIgcmVxdWlyZWQ+PC9iaXpkb2Mtc2VsZWN0PlxyXG4gICAgPC9tYXQtZm9ybS1maWVsZD5cclxuICAgIDxtYXQtZm9ybS1maWVsZD5cclxuICAgICAgPGlucHV0IG1hdElucHV0IHR5cGU9XCJudW1iZXJcIiBmb3JtQ29udHJvbE5hbWU9XCJ2YWx1ZVwiIGF1dG9jb21wbGV0ZT1cIm9mZlwiIHJlcXVpcmVkIFtwbGFjZWhvbGRlcl09XCInVmFsdWUnfHRyYW5zbGF0ZVwiIC8+XHJcbiAgICA8L21hdC1mb3JtLWZpZWxkPlxyXG4gIDwvZm9ybT5cclxuPC9uZy10ZW1wbGF0ZT5cclxuIl19
|
@@ -1,179 +0,0 @@
|
|
1
|
-
import { __decorate } from "tslib";
|
2
|
-
import { Component, Inject, ViewChild } from '@angular/core';
|
3
|
-
import { Validators } from '@angular/forms';
|
4
|
-
import { Subject } from 'rxjs';
|
5
|
-
import { takeUntil } from 'rxjs/operators';
|
6
|
-
import { BizDoc } from '../../core/decorators';
|
7
|
-
import { UtilityRef } from "../utility-ref";
|
8
|
-
import { MatTableDataSource } from '@angular/material/table';
|
9
|
-
import { AXIS_VALUE_PATTERN } from '../../cube/cube.service';
|
10
|
-
import { MatSort } from '@angular/material/sort';
|
11
|
-
import { MatPaginator } from '@angular/material/paginator';
|
12
|
-
import * as i0 from "@angular/core";
|
13
|
-
import * as i1 from "../../core/session.service";
|
14
|
-
import * as i2 from "@angular/cdk/bidi";
|
15
|
-
import * as i3 from "@angular/forms";
|
16
|
-
import * as i4 from "../../core/datasource.service";
|
17
|
-
import * as i5 from "@angular/common/http";
|
18
|
-
import * as i6 from "../../core/prompt.service";
|
19
|
-
import * as i7 from "@angular/material/dialog";
|
20
|
-
import * as i8 from "@angular/material/toolbar";
|
21
|
-
import * as i9 from "@angular/material/button";
|
22
|
-
import * as i10 from "@angular/material/icon";
|
23
|
-
import * as i11 from "@angular/material/table";
|
24
|
-
import * as i12 from "@angular/material/sort";
|
25
|
-
import * as i13 from "@angular/material/checkbox";
|
26
|
-
import * as i14 from "@angular/material/menu";
|
27
|
-
import * as i15 from "@angular/material/divider";
|
28
|
-
import * as i16 from "@angular/material/paginator";
|
29
|
-
import * as i17 from "@angular/material/form-field";
|
30
|
-
import * as i18 from "@angular/material/autocomplete";
|
31
|
-
import * as i19 from "@angular/material/core";
|
32
|
-
import * as i20 from "@angular/material/select";
|
33
|
-
import * as i21 from "../../core/popup/tooltip.directive";
|
34
|
-
import * as i22 from "@angular/common";
|
35
|
-
import * as i23 from "@angular/flex-layout/flex";
|
36
|
-
import * as i24 from "@angular/material/input";
|
37
|
-
import * as i25 from "../../core/pipes/translate.pipe";
|
38
|
-
import * as i26 from "../utility-ref";
|
39
|
-
const PAGE_SIZE = 20;
|
40
|
-
let PatternsComponent = class PatternsComponent {
|
41
|
-
constructor(_session, _dir, _fb, _ref, _type, _http, _sb, _dialog) {
|
42
|
-
this._session = _session;
|
43
|
-
this._dir = _dir;
|
44
|
-
this._fb = _fb;
|
45
|
-
this._ref = _ref;
|
46
|
-
this._type = _type;
|
47
|
-
this._http = _http;
|
48
|
-
this._sb = _sb;
|
49
|
-
this._dialog = _dialog;
|
50
|
-
this.PAGE_SIZE = PAGE_SIZE;
|
51
|
-
this.pattern = AXIS_VALUE_PATTERN;
|
52
|
-
this.dirty = false;
|
53
|
-
this.segments = {};
|
54
|
-
this.roles = [];
|
55
|
-
this.displayedColumns = ['title'];
|
56
|
-
this.axes = this._fb.group({});
|
57
|
-
this.form = this._fb.group({
|
58
|
-
axes: this.axes,
|
59
|
-
title: this._fb.control(null, Validators.required),
|
60
|
-
roles: this._fb.control([], Validators.required)
|
61
|
-
});
|
62
|
-
this._destroy = new Subject();
|
63
|
-
const { cube, axes } = this._ref.options;
|
64
|
-
const ccube = cube ? this._session.profile.cubes.find(c => c.name === cube) : this._session.profile.cubes[0];
|
65
|
-
if (!ccube)
|
66
|
-
throw 'cube not found.';
|
67
|
-
this.cube = ccube;
|
68
|
-
this.include = axes || ccube.axes.filter(a => !a.hidden && a.combination).map(a => a.name);
|
69
|
-
this.cube.axes.forEach(a => {
|
70
|
-
this.axes.addControl(a.name, this._fb.control(null));
|
71
|
-
this.segments[a.name] = this._type.all(a.dataType);
|
72
|
-
});
|
73
|
-
}
|
74
|
-
ngOnInit() {
|
75
|
-
this.form.valueChanges.pipe(takeUntil(this._destroy)).subscribe(() => this.dirty = true);
|
76
|
-
this._http.get('api/positions/roles').subscribe(r => {
|
77
|
-
this._ref.populate().subscribe(p => {
|
78
|
-
this._columns(r);
|
79
|
-
this._datasource(p);
|
80
|
-
});
|
81
|
-
});
|
82
|
-
}
|
83
|
-
_datasource(data) {
|
84
|
-
// roles sorting
|
85
|
-
data.forEach(p => p.roles && p.roles.forEach(r => p[r] = true));
|
86
|
-
this.dataSource = new MatTableDataSource(data || []);
|
87
|
-
this.dataSource.sort = this.sort;
|
88
|
-
this.paging = data.length > PAGE_SIZE;
|
89
|
-
this.dataSource.paginator = this.paginator;
|
90
|
-
}
|
91
|
-
_columns(roles) {
|
92
|
-
this.roles = roles;
|
93
|
-
roles.forEach(e => this.displayedColumns.push(e.name));
|
94
|
-
this.displayedColumns.push('options');
|
95
|
-
}
|
96
|
-
toggle(pattern, role, evt) {
|
97
|
-
if (!pattern.roles)
|
98
|
-
pattern.roles = [];
|
99
|
-
if (evt.checked) {
|
100
|
-
pattern.roles.push(role);
|
101
|
-
pattern[role] = true;
|
102
|
-
}
|
103
|
-
else {
|
104
|
-
pattern.roles.remove(role);
|
105
|
-
pattern[role] = false;
|
106
|
-
}
|
107
|
-
this.dirty = true;
|
108
|
-
}
|
109
|
-
create() {
|
110
|
-
this.form.reset({ axes: {}, roles: [] }, { emitEvent: false });
|
111
|
-
this._dialog.open(this.properties, {
|
112
|
-
direction: this._dir.value,
|
113
|
-
minWidth: '66vw',
|
114
|
-
closeOnNavigation: true
|
115
|
-
}).afterClosed().subscribe((pattern) => {
|
116
|
-
if (pattern) {
|
117
|
-
pattern.name = pattern.title.normalize();
|
118
|
-
this._normalize(pattern);
|
119
|
-
this.dataSource.data.push(pattern);
|
120
|
-
this.dataSource.filter = '';
|
121
|
-
}
|
122
|
-
});
|
123
|
-
}
|
124
|
-
_normalize(pattern) {
|
125
|
-
this.roles.forEach(r => pattern[r.name] = pattern.roles.indexOf(r.name) > -1);
|
126
|
-
Object.keys(pattern.axes).forEach(k => {
|
127
|
-
if (pattern.axes[k] === null)
|
128
|
-
delete pattern.axes[k];
|
129
|
-
});
|
130
|
-
}
|
131
|
-
delete(pattern) {
|
132
|
-
this.dataSource.data.remove(pattern);
|
133
|
-
}
|
134
|
-
edit(pattern) {
|
135
|
-
this.form.patchValue(pattern, { emitEvent: false });
|
136
|
-
this._dialog.open(this.properties).afterClosed().subscribe(r => {
|
137
|
-
if (r) {
|
138
|
-
Object.assign(pattern, r);
|
139
|
-
this._normalize(pattern);
|
140
|
-
this.dirty = true;
|
141
|
-
}
|
142
|
-
});
|
143
|
-
}
|
144
|
-
save() {
|
145
|
-
this._ref.execute(this.dataSource.data).subscribe(() => {
|
146
|
-
this.dirty = false;
|
147
|
-
this._sb.toast('ChangesSaved');
|
148
|
-
}, () => this._sb.error());
|
149
|
-
}
|
150
|
-
ngOnDestroy() {
|
151
|
-
this._destroy.next();
|
152
|
-
this._destroy.complete();
|
153
|
-
}
|
154
|
-
};
|
155
|
-
PatternsComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.1", ngImport: i0, type: PatternsComponent, deps: [{ token: i1.SessionService }, { token: i2.Directionality }, { token: i3.FormBuilder }, { token: UtilityRef }, { token: i4.DatasourceService }, { token: i5.HttpClient }, { token: i6.PromptService }, { token: i7.MatDialog }], target: i0.ɵɵFactoryTarget.Component });
|
156
|
-
PatternsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.1", type: PatternsComponent, selector: "ng-component", viewQueries: [{ propertyName: "properties", first: true, predicate: ["properties"], descendants: true, static: true }, { propertyName: "sort", first: true, predicate: MatSort, descendants: true }, { propertyName: "paginator", first: true, predicate: MatPaginator, descendants: true }], ngImport: i0, template: "<mat-toolbar>\r\n <button mat-button color=\"primary\" (click)=\"save()\" [disabled]=\"!dirty\">{{'SaveChanges'|translate}}</button>\r\n <span class=\"divider\"></span>\r\n <button mat-icon-button (click)=\"create()\" [bizdocTooltip]=\"'Add'|translate\" data-guide=\"create\"><mat-icon>add</mat-icon></button>\r\n</mat-toolbar>\r\n<table mat-table [dataSource]=\"dataSource\" matSort>\r\n <ng-container matColumnDef=\"title\" sticky>\r\n <th mat-header-cell *matHeaderCellDef mat-sort-header>{{'Title'|translate}}</th>\r\n <td mat-cell *matCellDef=\"let element\"> {{element.title}} </td>\r\n </ng-container>\r\n <ng-container *ngFor=\"let r of roles\" [matColumnDef]=\"r.name\">\r\n <th mat-header-cell *matHeaderCellDef mat-sort-header>{{r.title}}</th>\r\n <td mat-cell *matCellDef=\"let element\">\r\n <mat-checkbox [checked]=\"element.roles && element.roles.indexOf(r.name) > -1\" (change)=\"toggle(element, r.name, $event)\"></mat-checkbox>\r\n </td>\r\n </ng-container>\r\n <ng-container matColumnDef=\"options\">\r\n <th mat-header-cell *matHeaderCellDef></th>\r\n <td mat-cell *matCellDef=\"let element\">\r\n <button mat-icon-button [matMenuTriggerFor]=\"options\"><mat-icon>more_vert</mat-icon></button>\r\n <mat-menu #options>\r\n <button mat-menu-item (click)=\"edit(element)\">{{'Edit'|translate}}</button>\r\n <mat-divider></mat-divider>\r\n <button mat-menu-item (click)=\"delete(element)\">{{'Discard'|translate}}</button>\r\n </mat-menu>\r\n </td>\r\n </ng-container>\r\n <tr mat-header-row *matHeaderRowDef=\"displayedColumns; sticky: true\"></tr>\r\n <tr mat-row *matRowDef=\"let element; columns: displayedColumns;\"></tr>\r\n</table>\r\n<mat-paginator [pageSize]=\"PAGE_SIZE\" hidePageSize showFirstLastButtons *ngIf=\"paging\"></mat-paginator>\r\n<!-- dialog -->\r\n<ng-template #properties>\r\n <mat-dialog-content>\r\n <form [formGroup]=\"form\" autocomplete=\"off\" fxLayout=\"column\">\r\n <mat-form-field>\r\n <input matInput formControlName=\"title\" [placeholder]=\"'Title'|translate\" required />\r\n </mat-form-field>\r\n <div formGroupName=\"axes\" *ngIf=\"cube\" fxLayout.gt-sm=\"row wrap\" fxLayout=\"column wrap\"\r\n fxLayoutGap=\"5px grid\">\r\n <ng-container *ngFor=\"let a of cube.axes\">\r\n <mat-form-field *ngIf=\"include.indexOf(a.name)>-1\" fxFlex=\"50\">\r\n <input matInput\r\n [matAutocomplete]=\"segment\" [pattern]=\"pattern\"\r\n [formControlName]=\"a.name\" [placeholder]=\"a.title\" />\r\n <mat-autocomplete #segment>\r\n <mat-option *ngFor=\"let o of segments[a.name] | async\" [value]=\"o.key\">{{o.value}}</mat-option>\r\n </mat-autocomplete>\r\n <mat-error *ngIf=\"axes.controls[a.name].invalid\">{{'PatternErr' |translate}}</mat-error>\r\n </mat-form-field>\r\n </ng-container>\r\n </div>\r\n <mat-form-field>\r\n <mat-select formControlName=\"roles\" [placeholder]=\"'Roles'|translate\" multiple required>\r\n <mat-option *ngFor=\"let r of roles\" [value]=\"r.name\">{{r.title}}</mat-option>\r\n </mat-select>\r\n <mat-error *ngIf=\"form.controls.roles.hasError('required')\">{{'Required'|translate:('Roles'|translate)}}</mat-error>\r\n </mat-form-field>\r\n </form>\r\n </mat-dialog-content>\r\n <mat-dialog-actions>\r\n <button mat-button [mat-dialog-close]=\"form.value\" [disabled]=\"!form.valid\">{{'OK'| translate}}</button>\r\n <button mat-button mat-dialog-close>{{'Cancel'| translate}}</button>\r\n </mat-dialog-actions>\r\n</ng-template>\r\n<style scoped>\r\n table {\r\n width: 100%\r\n }\r\n</style>\r\n", styles: ["\n table {\n width: 100%\n }\n"], components: [{ type: i8.MatToolbar, selector: "mat-toolbar", inputs: ["color"], exportAs: ["matToolbar"] }, { type: i9.MatButton, selector: "button[mat-button], button[mat-raised-button], button[mat-icon-button], button[mat-fab], button[mat-mini-fab], button[mat-stroked-button], button[mat-flat-button]", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }, { type: i10.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { type: i11.MatTable, selector: "mat-table, table[mat-table]", exportAs: ["matTable"] }, { type: i12.MatSortHeader, selector: "[mat-sort-header]", inputs: ["disabled", "mat-sort-header", "arrowPosition", "start", "sortActionDescription", "disableClear"], exportAs: ["matSortHeader"] }, { type: i13.MatCheckbox, selector: "mat-checkbox", inputs: ["disableRipple", "color", "tabIndex", "aria-label", "aria-labelledby", "aria-describedby", "id", "required", "labelPosition", "name", "value", "checked", "disabled", "indeterminate"], outputs: ["change", "indeterminateChange"], exportAs: ["matCheckbox"] }, { type: i14.MatMenu, selector: "mat-menu", exportAs: ["matMenu"] }, { type: i14.MatMenuItem, selector: "[mat-menu-item]", inputs: ["disabled", "disableRipple", "role"], exportAs: ["matMenuItem"] }, { type: i15.MatDivider, selector: "mat-divider", inputs: ["vertical", "inset"] }, { type: i11.MatHeaderRow, selector: "mat-header-row, tr[mat-header-row]", exportAs: ["matHeaderRow"] }, { type: i11.MatRow, selector: "mat-row, tr[mat-row]", exportAs: ["matRow"] }, { type: i16.MatPaginator, selector: "mat-paginator", inputs: ["disabled"], exportAs: ["matPaginator"] }, { type: i17.MatFormField, selector: "mat-form-field", inputs: ["color", "appearance", "hideRequiredMarker", "hintLabel", "floatLabel"], exportAs: ["matFormField"] }, { type: i18.MatAutocomplete, selector: "mat-autocomplete", inputs: ["disableRipple"], exportAs: ["matAutocomplete"] }, { type: i19.MatOption, selector: "mat-option", exportAs: ["matOption"] }, { type: i20.MatSelect, selector: "mat-select", inputs: ["disabled", "disableRipple", "tabIndex"], exportAs: ["matSelect"] }], directives: [{ type: i21.TooltipDirective, selector: "[bizdocTooltip]", inputs: ["bizdocTooltip", "bizdocTooltipTemplate", "bizdocTooltipContext", "bizdocTooltipPosition", "bizdocTooltipDuration", "bizdocTooltipDisabled"] }, { type: i12.MatSort, selector: "[matSort]", inputs: ["matSortDisabled", "matSortActive", "matSortStart", "matSortDirection", "matSortDisableClear"], outputs: ["matSortChange"], exportAs: ["matSort"] }, { type: i11.MatColumnDef, selector: "[matColumnDef]", inputs: ["sticky", "matColumnDef"] }, { type: i11.MatHeaderCellDef, selector: "[matHeaderCellDef]" }, { type: i11.MatHeaderCell, selector: "mat-header-cell, th[mat-header-cell]" }, { type: i11.MatCellDef, selector: "[matCellDef]" }, { type: i11.MatCell, selector: "mat-cell, td[mat-cell]" }, { type: i22.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i14.MatMenuTrigger, selector: "[mat-menu-trigger-for], [matMenuTriggerFor]", exportAs: ["matMenuTrigger"] }, { type: i11.MatHeaderRowDef, selector: "[matHeaderRowDef]", inputs: ["matHeaderRowDef", "matHeaderRowDefSticky"] }, { type: i11.MatRowDef, selector: "[matRowDef]", inputs: ["matRowDefColumns", "matRowDefWhen"] }, { type: i22.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i7.MatDialogContent, selector: "[mat-dialog-content], mat-dialog-content, [matDialogContent]" }, { type: i3.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { type: i3.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { type: i23.DefaultLayoutDirective, selector: " [fxLayout], [fxLayout.xs], [fxLayout.sm], [fxLayout.md], [fxLayout.lg], [fxLayout.xl], [fxLayout.lt-sm], [fxLayout.lt-md], [fxLayout.lt-lg], [fxLayout.lt-xl], [fxLayout.gt-xs], [fxLayout.gt-sm], [fxLayout.gt-md], [fxLayout.gt-lg]", inputs: ["fxLayout", "fxLayout.xs", "fxLayout.sm", "fxLayout.md", "fxLayout.lg", "fxLayout.xl", "fxLayout.lt-sm", "fxLayout.lt-md", "fxLayout.lt-lg", "fxLayout.lt-xl", "fxLayout.gt-xs", "fxLayout.gt-sm", "fxLayout.gt-md", "fxLayout.gt-lg"] }, { type: i3.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { type: i24.MatInput, selector: "input[matInput], textarea[matInput], select[matNativeControl], input[matNativeControl], textarea[matNativeControl]", inputs: ["disabled", "id", "placeholder", "name", "required", "type", "errorStateMatcher", "aria-describedby", "value", "readonly"], exportAs: ["matInput"] }, { type: i3.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { type: i3.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i3.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { type: i3.RequiredValidator, selector: ":not([type=checkbox])[required][formControlName],:not([type=checkbox])[required][formControl],:not([type=checkbox])[required][ngModel]", inputs: ["required"] }, { type: i3.FormGroupName, selector: "[formGroupName]", inputs: ["formGroupName"] }, { type: i23.DefaultLayoutGapDirective, selector: " [fxLayoutGap], [fxLayoutGap.xs], [fxLayoutGap.sm], [fxLayoutGap.md], [fxLayoutGap.lg], [fxLayoutGap.xl], [fxLayoutGap.lt-sm], [fxLayoutGap.lt-md], [fxLayoutGap.lt-lg], [fxLayoutGap.lt-xl], [fxLayoutGap.gt-xs], [fxLayoutGap.gt-sm], [fxLayoutGap.gt-md], [fxLayoutGap.gt-lg]", inputs: ["fxLayoutGap", "fxLayoutGap.xs", "fxLayoutGap.sm", "fxLayoutGap.md", "fxLayoutGap.lg", "fxLayoutGap.xl", "fxLayoutGap.lt-sm", "fxLayoutGap.lt-md", "fxLayoutGap.lt-lg", "fxLayoutGap.lt-xl", "fxLayoutGap.gt-xs", "fxLayoutGap.gt-sm", "fxLayoutGap.gt-md", "fxLayoutGap.gt-lg"] }, { type: i23.DefaultFlexDirective, selector: " [fxFlex], [fxFlex.xs], [fxFlex.sm], [fxFlex.md], [fxFlex.lg], [fxFlex.xl], [fxFlex.lt-sm], [fxFlex.lt-md], [fxFlex.lt-lg], [fxFlex.lt-xl], [fxFlex.gt-xs], [fxFlex.gt-sm], [fxFlex.gt-md], [fxFlex.gt-lg]", inputs: ["fxFlex", "fxFlex.xs", "fxFlex.sm", "fxFlex.md", "fxFlex.lg", "fxFlex.xl", "fxFlex.lt-sm", "fxFlex.lt-md", "fxFlex.lt-lg", "fxFlex.lt-xl", "fxFlex.gt-xs", "fxFlex.gt-sm", "fxFlex.gt-md", "fxFlex.gt-lg"] }, { type: i18.MatAutocompleteTrigger, selector: "input[matAutocomplete], textarea[matAutocomplete]", exportAs: ["matAutocompleteTrigger"] }, { type: i3.PatternValidator, selector: "[pattern][formControlName],[pattern][formControl],[pattern][ngModel]", inputs: ["pattern"] }, { type: i17.MatError, selector: "mat-error", inputs: ["id"] }, { type: i7.MatDialogActions, selector: "[mat-dialog-actions], mat-dialog-actions, [matDialogActions]" }, { type: i7.MatDialogClose, selector: "[mat-dialog-close], [matDialogClose]", inputs: ["aria-label", "type", "mat-dialog-close", "matDialogClose"], exportAs: ["matDialogClose"] }], pipes: { "translate": i25.TranslatePipe, "async": i22.AsyncPipe } });
|
157
|
-
PatternsComponent = __decorate([
|
158
|
-
BizDoc({
|
159
|
-
selector: 'bizdoc-patterns'
|
160
|
-
})
|
161
|
-
], PatternsComponent);
|
162
|
-
export { PatternsComponent };
|
163
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.1", ngImport: i0, type: PatternsComponent, decorators: [{
|
164
|
-
type: Component,
|
165
|
-
args: [{ template: "<mat-toolbar>\r\n <button mat-button color=\"primary\" (click)=\"save()\" [disabled]=\"!dirty\">{{'SaveChanges'|translate}}</button>\r\n <span class=\"divider\"></span>\r\n <button mat-icon-button (click)=\"create()\" [bizdocTooltip]=\"'Add'|translate\" data-guide=\"create\"><mat-icon>add</mat-icon></button>\r\n</mat-toolbar>\r\n<table mat-table [dataSource]=\"dataSource\" matSort>\r\n <ng-container matColumnDef=\"title\" sticky>\r\n <th mat-header-cell *matHeaderCellDef mat-sort-header>{{'Title'|translate}}</th>\r\n <td mat-cell *matCellDef=\"let element\"> {{element.title}} </td>\r\n </ng-container>\r\n <ng-container *ngFor=\"let r of roles\" [matColumnDef]=\"r.name\">\r\n <th mat-header-cell *matHeaderCellDef mat-sort-header>{{r.title}}</th>\r\n <td mat-cell *matCellDef=\"let element\">\r\n <mat-checkbox [checked]=\"element.roles && element.roles.indexOf(r.name) > -1\" (change)=\"toggle(element, r.name, $event)\"></mat-checkbox>\r\n </td>\r\n </ng-container>\r\n <ng-container matColumnDef=\"options\">\r\n <th mat-header-cell *matHeaderCellDef></th>\r\n <td mat-cell *matCellDef=\"let element\">\r\n <button mat-icon-button [matMenuTriggerFor]=\"options\"><mat-icon>more_vert</mat-icon></button>\r\n <mat-menu #options>\r\n <button mat-menu-item (click)=\"edit(element)\">{{'Edit'|translate}}</button>\r\n <mat-divider></mat-divider>\r\n <button mat-menu-item (click)=\"delete(element)\">{{'Discard'|translate}}</button>\r\n </mat-menu>\r\n </td>\r\n </ng-container>\r\n <tr mat-header-row *matHeaderRowDef=\"displayedColumns; sticky: true\"></tr>\r\n <tr mat-row *matRowDef=\"let element; columns: displayedColumns;\"></tr>\r\n</table>\r\n<mat-paginator [pageSize]=\"PAGE_SIZE\" hidePageSize showFirstLastButtons *ngIf=\"paging\"></mat-paginator>\r\n<!-- dialog -->\r\n<ng-template #properties>\r\n <mat-dialog-content>\r\n <form [formGroup]=\"form\" autocomplete=\"off\" fxLayout=\"column\">\r\n <mat-form-field>\r\n <input matInput formControlName=\"title\" [placeholder]=\"'Title'|translate\" required />\r\n </mat-form-field>\r\n <div formGroupName=\"axes\" *ngIf=\"cube\" fxLayout.gt-sm=\"row wrap\" fxLayout=\"column wrap\"\r\n fxLayoutGap=\"5px grid\">\r\n <ng-container *ngFor=\"let a of cube.axes\">\r\n <mat-form-field *ngIf=\"include.indexOf(a.name)>-1\" fxFlex=\"50\">\r\n <input matInput\r\n [matAutocomplete]=\"segment\" [pattern]=\"pattern\"\r\n [formControlName]=\"a.name\" [placeholder]=\"a.title\" />\r\n <mat-autocomplete #segment>\r\n <mat-option *ngFor=\"let o of segments[a.name] | async\" [value]=\"o.key\">{{o.value}}</mat-option>\r\n </mat-autocomplete>\r\n <mat-error *ngIf=\"axes.controls[a.name].invalid\">{{'PatternErr' |translate}}</mat-error>\r\n </mat-form-field>\r\n </ng-container>\r\n </div>\r\n <mat-form-field>\r\n <mat-select formControlName=\"roles\" [placeholder]=\"'Roles'|translate\" multiple required>\r\n <mat-option *ngFor=\"let r of roles\" [value]=\"r.name\">{{r.title}}</mat-option>\r\n </mat-select>\r\n <mat-error *ngIf=\"form.controls.roles.hasError('required')\">{{'Required'|translate:('Roles'|translate)}}</mat-error>\r\n </mat-form-field>\r\n </form>\r\n </mat-dialog-content>\r\n <mat-dialog-actions>\r\n <button mat-button [mat-dialog-close]=\"form.value\" [disabled]=\"!form.valid\">{{'OK'| translate}}</button>\r\n <button mat-button mat-dialog-close>{{'Cancel'| translate}}</button>\r\n </mat-dialog-actions>\r\n</ng-template>\r\n<style scoped>\r\n table {\r\n width: 100%\r\n }\r\n</style>\r\n" }]
|
166
|
-
}], ctorParameters: function () { return [{ type: i1.SessionService }, { type: i2.Directionality }, { type: i3.FormBuilder }, { type: i26.UtilityRef, decorators: [{
|
167
|
-
type: Inject,
|
168
|
-
args: [UtilityRef]
|
169
|
-
}] }, { type: i4.DatasourceService }, { type: i5.HttpClient }, { type: i6.PromptService }, { type: i7.MatDialog }]; }, propDecorators: { properties: [{
|
170
|
-
type: ViewChild,
|
171
|
-
args: ['properties', { static: true }]
|
172
|
-
}], sort: [{
|
173
|
-
type: ViewChild,
|
174
|
-
args: [MatSort]
|
175
|
-
}], paginator: [{
|
176
|
-
type: ViewChild,
|
177
|
-
args: [MatPaginator]
|
178
|
-
}] } });
|
179
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicGF0dGVybnMuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vbGlicmFyaWVzL2NvcmUvc3JjL2xpYi9hZG1pbi9wYXR0ZXJucy9wYXR0ZXJucy5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi8uLi8uLi9saWJyYXJpZXMvY29yZS9zcmMvbGliL2FkbWluL3BhdHRlcm5zL3BhdHRlcm5zLmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7QUFBQSxPQUFPLEVBQUUsU0FBUyxFQUFVLE1BQU0sRUFBYSxTQUFTLEVBQWUsTUFBTSxlQUFlLENBQUM7QUFFN0YsT0FBTyxFQUFlLFVBQVUsRUFBRSxNQUFNLGdCQUFnQixDQUFDO0FBQ3pELE9BQU8sRUFBRSxPQUFPLEVBQWMsTUFBTSxNQUFNLENBQUM7QUFDM0MsT0FBTyxFQUFFLFNBQVMsRUFBRSxNQUFNLGdCQUFnQixDQUFDO0FBRTNDLE9BQU8sRUFBRSxNQUFNLEVBQUUsTUFBTSx1QkFBdUIsQ0FBQztBQUcvQyxPQUFPLEVBQUUsVUFBVSxFQUFFLE1BQU0sZ0JBQWdCLENBQUM7QUFHNUMsT0FBTyxFQUFFLGtCQUFrQixFQUFFLE1BQU0seUJBQXlCLENBQUM7QUFJN0QsT0FBTyxFQUFFLGtCQUFrQixFQUFFLE1BQU0seUJBQXlCLENBQUM7QUFDN0QsT0FBTyxFQUFFLE9BQU8sRUFBRSxNQUFNLHdCQUF3QixDQUFDO0FBQ2pELE9BQU8sRUFBRSxZQUFZLE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aW9ucz5cclxuPC9uZy10ZW1wbGF0ZT5cclxuPHN0eWxlIHNjb3BlZD5cclxuICB0YWJsZSB7XHJcbiAgICB3aWR0aDogMTAwJVxyXG4gIH1cclxuPC9zdHlsZT5cclxuIl19
|
@@ -1,97 +0,0 @@
|
|
1
|
-
import { __decorate } from "tslib";
|
2
|
-
import { Component, ViewChild, Inject } from "@angular/core";
|
3
|
-
import { BizDoc } from "../../core/decorators";
|
4
|
-
import { UtilityRef } from "../utility-ref";
|
5
|
-
import { MatTableDataSource } from "@angular/material/table";
|
6
|
-
import { MatSort } from "@angular/material/sort";
|
7
|
-
import * as i0 from "@angular/core";
|
8
|
-
import * as i1 from "../../core/session.service";
|
9
|
-
import * as i2 from "../../core/prompt.service";
|
10
|
-
import * as i3 from "@angular/forms";
|
11
|
-
import * as i4 from "@angular/material/toolbar";
|
12
|
-
import * as i5 from "@angular/material/button";
|
13
|
-
import * as i6 from "../core/search.input";
|
14
|
-
import * as i7 from "@angular/material/icon";
|
15
|
-
import * as i8 from "@angular/material/menu";
|
16
|
-
import * as i9 from "@angular/material/table";
|
17
|
-
import * as i10 from "@angular/material/sort";
|
18
|
-
import * as i11 from "@angular/material/checkbox";
|
19
|
-
import * as i12 from "@angular/common";
|
20
|
-
import * as i13 from "../../core/pipes/translate.pipe";
|
21
|
-
import * as i14 from "../utility-ref";
|
22
|
-
let PermissionsUtility = class PermissionsUtility {
|
23
|
-
constructor(_utilityRef, _session, _sb, _fb) {
|
24
|
-
this._utilityRef = _utilityRef;
|
25
|
-
this._session = _session;
|
26
|
-
this._sb = _sb;
|
27
|
-
this._fb = _fb;
|
28
|
-
this.dirty = false;
|
29
|
-
this.roles = _session.profile.roles;
|
30
|
-
this.forms = _session.profile.forms;
|
31
|
-
this.displayColumns = ['title'].concat(this.roles.map(r => r.name));
|
32
|
-
}
|
33
|
-
ngOnInit() {
|
34
|
-
this._utilityRef.populate().subscribe(r => {
|
35
|
-
this._data = r;
|
36
|
-
this._populate((this.forms.find(f => r[f.name]) || this.forms[0]).name);
|
37
|
-
});
|
38
|
-
}
|
39
|
-
search(value) {
|
40
|
-
this.dataSource.filter = value;
|
41
|
-
}
|
42
|
-
formChange(form) {
|
43
|
-
this._populate(form);
|
44
|
-
}
|
45
|
-
_populate(form) {
|
46
|
-
this.form = this._session.profile.forms.find(f => f.name === form);
|
47
|
-
if (!this._data[form])
|
48
|
-
this._data[form] = {};
|
49
|
-
const data = Object.keys(this._data[form]).map(k => {
|
50
|
-
const obj = this._data[form][k];
|
51
|
-
if (!obj.roles)
|
52
|
-
obj.roles = [];
|
53
|
-
else
|
54
|
-
obj.roles.forEach(r => obj[r] = true);
|
55
|
-
return Object.assign({ name: k }, obj);
|
56
|
-
});
|
57
|
-
this.dataSource = new MatTableDataSource(data);
|
58
|
-
this.dataSource.sort = this.sort;
|
59
|
-
}
|
60
|
-
change(item, e) {
|
61
|
-
const { value: role } = e.source;
|
62
|
-
if (e.checked) {
|
63
|
-
item.roles.push(role);
|
64
|
-
item[role] = true;
|
65
|
-
}
|
66
|
-
else {
|
67
|
-
item.roles.remove(role);
|
68
|
-
item[role] = false;
|
69
|
-
}
|
70
|
-
this.dirty = true;
|
71
|
-
}
|
72
|
-
save() {
|
73
|
-
this._utilityRef.execute(this._data).subscribe(() => {
|
74
|
-
this.dirty = false;
|
75
|
-
this._sb.toast('ChangesSaved');
|
76
|
-
}, () => this._sb.error());
|
77
|
-
}
|
78
|
-
};
|
79
|
-
PermissionsUtility.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.1", ngImport: i0, type: PermissionsUtility, deps: [{ token: UtilityRef }, { token: i1.SessionService }, { token: i2.PromptService }, { token: i3.FormBuilder }], target: i0.ɵɵFactoryTarget.Component });
|
80
|
-
PermissionsUtility.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.1", type: PermissionsUtility, selector: "ng-component", viewQueries: [{ propertyName: "sort", first: true, predicate: MatSort, descendants: true, static: true }], ngImport: i0, template: "<mat-toolbar>\r\n <button mat-button (click)=\"save()\" color=\"primary\" [disabled]=\"!dirty\">{{'SaveChanges'|translate}}</button>\r\n <span class=\"divider\"></span>\r\n <bizdoc-search-input (valueChange)=\"search($event)\"></bizdoc-search-input>\r\n <button mat-button [matMenuTriggerFor]=\"formMenu\">{{form?.title}} <mat-icon>arrow_drop_down</mat-icon></button>\r\n <mat-menu #formMenu>\r\n <button mat-menu-item *ngFor=\"let f of forms\" (click)=\"formChange(f.name)\">{{f.title}}</button>\r\n </mat-menu>\r\n</mat-toolbar>\r\n<table mat-table matSort [dataSource]=\"dataSource\">\r\n <ng-container matColumnDef=\"title\" sticky>\r\n <th mat-header-cell *matHeaderCellDef mat-sort-header>{{'Permission' | translate}}</th>\r\n <td mat-cell *matCellDef=\"let item\"> {{item.title || item.name}}</td>\r\n </ng-container>\r\n <ng-container [matColumnDef]=\"r.name\" *ngFor=\"let r of roles\">\r\n <th mat-header-cell *matHeaderCellDef mat-sort-header>{{r.title}}</th>\r\n <td mat-cell *matCellDef=\"let item\"> <mat-checkbox [checked]=\"item[r.name]\" [value]=\"r.name\" (change)=\"change(item, $event)\"></mat-checkbox> </td>\r\n </ng-container>\r\n <tr mat-header-row *matHeaderRowDef=\"displayColumns; sticky: true\"></tr>\r\n <tr mat-row *matRowDef=\"let item; columns: displayColumns;\"></tr>\r\n</table>\r\n", styles: ["table{width:100%}::ng-deep .mat-row{cursor:pointer}\n"], components: [{ type: i4.MatToolbar, selector: "mat-toolbar", inputs: ["color"], exportAs: ["matToolbar"] }, { type: i5.MatButton, selector: "button[mat-button], button[mat-raised-button], button[mat-icon-button], button[mat-fab], button[mat-mini-fab], button[mat-stroked-button], button[mat-flat-button]", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }, { type: i6.SearchInput, selector: "bizdoc-search-input", outputs: ["valueChange"] }, { type: i7.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { type: i8.MatMenu, selector: "mat-menu", exportAs: ["matMenu"] }, { type: i8.MatMenuItem, selector: "[mat-menu-item]", inputs: ["disabled", "disableRipple", "role"], exportAs: ["matMenuItem"] }, { type: i9.MatTable, selector: "mat-table, table[mat-table]", exportAs: ["matTable"] }, { type: i10.MatSortHeader, selector: "[mat-sort-header]", inputs: ["disabled", "mat-sort-header", "arrowPosition", "start", "sortActionDescription", "disableClear"], exportAs: ["matSortHeader"] }, { type: i11.MatCheckbox, selector: "mat-checkbox", inputs: ["disableRipple", "color", "tabIndex", "aria-label", "aria-labelledby", "aria-describedby", "id", "required", "labelPosition", "name", "value", "checked", "disabled", "indeterminate"], outputs: ["change", "indeterminateChange"], exportAs: ["matCheckbox"] }, { type: i9.MatHeaderRow, selector: "mat-header-row, tr[mat-header-row]", exportAs: ["matHeaderRow"] }, { type: i9.MatRow, selector: "mat-row, tr[mat-row]", exportAs: ["matRow"] }], directives: [{ type: i8.MatMenuTrigger, selector: "[mat-menu-trigger-for], [matMenuTriggerFor]", exportAs: ["matMenuTrigger"] }, { type: i12.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i10.MatSort, selector: "[matSort]", inputs: ["matSortDisabled", "matSortActive", "matSortStart", "matSortDirection", "matSortDisableClear"], outputs: ["matSortChange"], exportAs: ["matSort"] }, { type: i9.MatColumnDef, selector: "[matColumnDef]", inputs: ["sticky", "matColumnDef"] }, { type: i9.MatHeaderCellDef, selector: "[matHeaderCellDef]" }, { type: i9.MatHeaderCell, selector: "mat-header-cell, th[mat-header-cell]" }, { type: i9.MatCellDef, selector: "[matCellDef]" }, { type: i9.MatCell, selector: "mat-cell, td[mat-cell]" }, { type: i9.MatHeaderRowDef, selector: "[matHeaderRowDef]", inputs: ["matHeaderRowDef", "matHeaderRowDefSticky"] }, { type: i9.MatRowDef, selector: "[matRowDef]", inputs: ["matRowDefColumns", "matRowDefWhen"] }], pipes: { "translate": i13.TranslatePipe } });
|
81
|
-
PermissionsUtility = __decorate([
|
82
|
-
BizDoc({
|
83
|
-
selector: 'bizdoc-permissions'
|
84
|
-
})
|
85
|
-
], PermissionsUtility);
|
86
|
-
export { PermissionsUtility };
|
87
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.1", ngImport: i0, type: PermissionsUtility, decorators: [{
|
88
|
-
type: Component,
|
89
|
-
args: [{ template: "<mat-toolbar>\r\n <button mat-button (click)=\"save()\" color=\"primary\" [disabled]=\"!dirty\">{{'SaveChanges'|translate}}</button>\r\n <span class=\"divider\"></span>\r\n <bizdoc-search-input (valueChange)=\"search($event)\"></bizdoc-search-input>\r\n <button mat-button [matMenuTriggerFor]=\"formMenu\">{{form?.title}} <mat-icon>arrow_drop_down</mat-icon></button>\r\n <mat-menu #formMenu>\r\n <button mat-menu-item *ngFor=\"let f of forms\" (click)=\"formChange(f.name)\">{{f.title}}</button>\r\n </mat-menu>\r\n</mat-toolbar>\r\n<table mat-table matSort [dataSource]=\"dataSource\">\r\n <ng-container matColumnDef=\"title\" sticky>\r\n <th mat-header-cell *matHeaderCellDef mat-sort-header>{{'Permission' | translate}}</th>\r\n <td mat-cell *matCellDef=\"let item\"> {{item.title || item.name}}</td>\r\n </ng-container>\r\n <ng-container [matColumnDef]=\"r.name\" *ngFor=\"let r of roles\">\r\n <th mat-header-cell *matHeaderCellDef mat-sort-header>{{r.title}}</th>\r\n <td mat-cell *matCellDef=\"let item\"> <mat-checkbox [checked]=\"item[r.name]\" [value]=\"r.name\" (change)=\"change(item, $event)\"></mat-checkbox> </td>\r\n </ng-container>\r\n <tr mat-header-row *matHeaderRowDef=\"displayColumns; sticky: true\"></tr>\r\n <tr mat-row *matRowDef=\"let item; columns: displayColumns;\"></tr>\r\n</table>\r\n", styles: ["table{width:100%}::ng-deep .mat-row{cursor:pointer}\n"] }]
|
90
|
-
}], ctorParameters: function () { return [{ type: i14.UtilityRef, decorators: [{
|
91
|
-
type: Inject,
|
92
|
-
args: [UtilityRef]
|
93
|
-
}] }, { type: i1.SessionService }, { type: i2.PromptService }, { type: i3.FormBuilder }]; }, propDecorators: { sort: [{
|
94
|
-
type: ViewChild,
|
95
|
-
args: [MatSort, { static: true }]
|
96
|
-
}] } });
|
97
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicGVybWlzc2lvbnMuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vbGlicmFyaWVzL2NvcmUvc3JjL2xpYi9hZG1pbi9wZXJtaXNzaW9ucy9wZXJtaXNzaW9ucy5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi8uLi8uLi9saWJyYXJpZXMvY29yZS9zcmMvbGliL2FkbWluL3Blcm1pc3Npb25zL3Blcm1pc3Npb25zLmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7QUFBQSxPQUFPLEVBQUUsU0FBUyxFQUFFLFNBQVMsRUFBVSxNQUFNLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFJckUsT0FBTyxFQUFFLE1BQU0sRUFBRSxNQUFNLHVCQUF1QixDQUFDO0FBRS9DLE9BQU8sRUFBRSxVQUFVLEVBQUUsTUFBTSxnQkFBZ0IsQ0FBQztBQUU1QyxPQUFPLEVBQUUsa0JBQWtCLEVBQUUsTUFBTSx5QkFBeUIsQ0FBQztBQUM3RCxPQUFPLEVBQUUsT0FBTyxFQUFFLE1BQU0sd0JBQXdCLENBQUM7Ozs7Ozs7Ozs7Ozs7Ozs7SUFVcEMsa0JBQWtCLFNBQWxCLGtCQUFrQjtJQVM3QixZQUF3QyxXQUF3RCxFQUFVLFFBQXdCLEVBQ3hILEdBQWtCLEVBQVUsR0FBZ0I7UUFEZCxnQkFBVyxHQUFYLFdBQVcsQ0FBNkM7UUFBVSxhQUFRLEdBQVIsUUFBUSxDQUFnQjtRQUN4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