@bizdoc/core 1.14.16 → 1.15.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/assets/themes/brown.min.css +3 -3
- package/assets/themes/dark.min.css +3 -3
- package/assets/themes/deep-purple-light-blue.min.css +4 -4
- package/assets/themes/deep-purple-teal.min.css +4 -4
- package/assets/themes/default.min.css +4 -4
- package/assets/themes/green.min.css +3 -3
- package/assets/themes/indigo.min.css +3 -3
- package/esm2020/lib/admin/admin-dismiss.service.mjs +3 -3
- package/esm2020/lib/admin/admin-menu.component.mjs +9 -9
- package/esm2020/lib/admin/core/ace.input.mjs +5 -12
- package/esm2020/lib/admin/core/color-picker.input.mjs +7 -7
- package/esm2020/lib/admin/core/search.input.mjs +9 -16
- package/esm2020/lib/admin/diff/configuration-diff.component.mjs +17 -17
- package/esm2020/lib/admin/document-trace/document-trace.component.mjs +22 -22
- package/esm2020/lib/admin/document-trace/reassign.dialog.mjs +13 -13
- package/esm2020/lib/admin/document-trace/trace-element.component.mjs +12 -12
- package/esm2020/lib/admin/form/form.resolve.service.mjs +3 -3
- package/esm2020/lib/admin/form/form.service.mjs +4 -4
- package/esm2020/lib/admin/form/workflow/node.component.mjs +11 -11
- package/esm2020/lib/admin/form/workflow/role-node.component.mjs +15 -15
- package/esm2020/lib/admin/form/workflow/workflow.component.mjs +12 -12
- package/esm2020/lib/admin/indices/manage-cube-index.component.mjs +13 -13
- package/esm2020/lib/admin/patterns/patterns.component.mjs +19 -19
- package/esm2020/lib/admin/permissions/permissions.component.mjs +12 -12
- package/esm2020/lib/admin/positions/positions-popup.component.mjs +13 -13
- package/esm2020/lib/admin/positions/positions.component.mjs +19 -19
- package/esm2020/lib/admin/profiler/outofoffice.component.mjs +21 -21
- package/esm2020/lib/admin/profiler/profiler.component.mjs +17 -17
- package/esm2020/lib/admin/utility-wrapper.component.mjs +3 -3
- package/esm2020/lib/admin/utility.pane.component.mjs +3 -3
- package/esm2020/lib/app.component.mjs +6 -6
- package/esm2020/lib/bizdoc.module.mjs +11 -13
- package/esm2020/lib/browse/browse-items.component.mjs +25 -25
- package/esm2020/lib/browse/browse.mobile.component.mjs +17 -17
- package/esm2020/lib/browse/browse.pane.component.mjs +17 -17
- package/esm2020/lib/browse/expanded-item/expanded-item.component.mjs +13 -13
- package/esm2020/lib/browse/filter/filter.component.mjs +13 -13
- package/esm2020/lib/browse/folders-menu.component.mjs +12 -12
- package/esm2020/lib/chat/chat-info.mjs +3 -3
- package/esm2020/lib/chat/chat.mobile.component.mjs +7 -7
- package/esm2020/lib/chat/chat.service.mjs +3 -3
- package/esm2020/lib/chat/contacts.component.mjs +23 -23
- package/esm2020/lib/chat/contacts.pane.component.mjs +3 -3
- package/esm2020/lib/chat/conversation.component.mjs +11 -11
- package/esm2020/lib/chat/conversation.pane.component.mjs +6 -12
- package/esm2020/lib/compose/action/action-picker.component.mjs +9 -9
- package/esm2020/lib/compose/action/action.dialog.mjs +7 -7
- package/esm2020/lib/compose/action/action.pane.dialog.exp.mjs +5 -5
- package/esm2020/lib/compose/action/assign-action.component.mjs +12 -12
- package/esm2020/lib/compose/action/moveto-action.component.mjs +10 -10
- package/esm2020/lib/compose/action/return-action.component.mjs +9 -9
- package/esm2020/lib/compose/attachments/attachments.component.mjs +10 -10
- package/esm2020/lib/compose/attachments/preview/attachment-preview.component.mjs +8 -8
- package/esm2020/lib/compose/attachments/progress-button.directive.mjs +3 -3
- package/esm2020/lib/compose/can-deactivate-changes.service.mjs +3 -3
- package/esm2020/lib/compose/comments/comment.component.mjs +15 -15
- package/esm2020/lib/compose/comments/comments.component.mjs +7 -7
- package/esm2020/lib/compose/comments/{Comments.pane.component.mjs → comments.pane.component.mjs} +6 -14
- package/esm2020/lib/compose/comments/edit-comment.component.mjs +3 -3
- package/esm2020/lib/compose/comments/edits.component.mjs +10 -10
- package/esm2020/lib/compose/comments/quick-comment.component.exp.mjs +5 -5
- package/esm2020/lib/compose/comments/votes.component.mjs +10 -10
- package/esm2020/lib/compose/compose-resolve.service.mjs +6 -6
- package/esm2020/lib/compose/compose.mobile.component.mjs +17 -17
- package/esm2020/lib/compose/compose.pane.component.mjs +13 -13
- package/esm2020/lib/compose/copy/copy.dialog.mjs +8 -8
- package/esm2020/lib/compose/dismiss.service.mjs +3 -3
- package/esm2020/lib/compose/document-resolver.service.mjs +3 -3
- package/esm2020/lib/compose/document.component.mjs +3 -3
- package/esm2020/lib/compose/document.mobile.component.mjs +3 -3
- package/esm2020/lib/compose/document.pane.component.mjs +3 -3
- package/esm2020/lib/compose/events/events.component.mjs +8 -8
- package/esm2020/lib/compose/form-selector/form-selector.sheet.mjs +8 -8
- package/esm2020/lib/compose/form.component.mjs +7 -7
- package/esm2020/lib/compose/new-menu.component.mjs +9 -9
- package/esm2020/lib/compose/privilage.directive.mjs +6 -6
- package/esm2020/lib/compose/recipient-resolver.service.mjs +3 -3
- package/esm2020/lib/compose/state.component.mjs +3 -3
- package/esm2020/lib/compose/tag/tags.component.mjs +8 -8
- package/esm2020/lib/compose/trace/flow.component.mjs +60 -73
- package/esm2020/lib/compose/trace/people.component.mjs +5 -5
- package/esm2020/lib/compose/trace/trace.base.mjs +16 -7
- package/esm2020/lib/compose/trace/trace.component.mjs +16 -24
- package/esm2020/lib/compose/trace/trace.pane.component.mjs +3 -3
- package/esm2020/lib/compose/version-compare/version-compare.component.mjs +3 -3
- package/esm2020/lib/compose/version-compare/version-compare.directive.mjs +9 -9
- package/esm2020/lib/compose/version-compare/version.pane.component.mjs +11 -11
- package/esm2020/lib/core/NgComponentOutlet.mjs +3 -3
- package/esm2020/lib/core/account.service.mjs +3 -3
- package/esm2020/lib/core/animated-icon/animated-icon.directive.mjs +3 -3
- package/esm2020/lib/core/avatar/avatar.component.mjs +3 -3
- package/esm2020/lib/core/component-factory-resolver.mjs +3 -3
- package/esm2020/lib/core/controls/address.input.mjs +11 -17
- package/esm2020/lib/core/controls/auto-complete.input.mjs +11 -11
- package/esm2020/lib/core/controls/combination-picker-body.mjs +11 -11
- package/esm2020/lib/core/controls/combination-picker.mjs +3 -3
- package/esm2020/lib/core/controls/combination-pool.mjs +7 -7
- package/esm2020/lib/core/controls/file.input.mjs +10 -10
- package/esm2020/lib/core/controls/select.input.mjs +6 -6
- package/esm2020/lib/core/controls/time-picker.mjs +9 -9
- package/esm2020/lib/core/controls/timespan.input.mjs +8 -35
- package/esm2020/lib/core/datasource.service.mjs +3 -3
- package/esm2020/lib/core/guide/guide.component.mjs +10 -10
- package/esm2020/lib/core/guide/guide.service.mjs +3 -3
- package/esm2020/lib/core/guide/help-tip.component.mjs +11 -23
- package/esm2020/lib/core/http.interceptor.mjs +3 -3
- package/esm2020/lib/core/hub.service.mjs +3 -3
- package/esm2020/lib/core/identity/identity.component.mjs +5 -5
- package/esm2020/lib/core/info/attachment-info.service.mjs +3 -3
- package/esm2020/lib/core/info/document-info.service.mjs +3 -3
- package/esm2020/lib/core/info/location-info.component.mjs +3 -3
- package/esm2020/lib/core/info/map-info.mjs +3 -3
- package/esm2020/lib/core/layout/autocomplete.field.mjs +8 -8
- package/esm2020/lib/core/layout/checkbox.field.mjs +7 -7
- package/esm2020/lib/core/layout/checkbox.mjs +6 -6
- package/esm2020/lib/core/layout/date-range.field.mjs +6 -6
- package/esm2020/lib/core/layout/date.field.mjs +9 -9
- package/esm2020/lib/core/layout/expression.field.mjs +8 -8
- package/esm2020/lib/core/layout/file.field.mjs +11 -9
- package/esm2020/lib/core/layout/html.field.mjs +8 -8
- package/esm2020/lib/core/layout/input.base.mjs +4 -5
- package/esm2020/lib/core/layout/input.field.mjs +8 -8
- package/esm2020/lib/core/layout/layout.component.mjs +3 -3
- package/esm2020/lib/core/layout/numeric.field.mjs +8 -8
- package/esm2020/lib/core/layout/select.field.mjs +10 -10
- package/esm2020/lib/core/layout/switch.field.mjs +7 -7
- package/esm2020/lib/core/layout/textarea.field.mjs +8 -8
- package/esm2020/lib/core/layout/timespan.field.mjs +9 -9
- package/esm2020/lib/core/lottie-animation.mjs +3 -3
- package/esm2020/lib/core/mailbox.service.mjs +3 -3
- package/esm2020/lib/core/models.mjs +1 -1
- package/esm2020/lib/core/none.component.mjs +7 -7
- package/esm2020/lib/core/pipes/action.pipe.mjs +3 -3
- package/esm2020/lib/core/pipes/calendar.pipe.mjs +3 -3
- package/esm2020/lib/core/pipes/date-format.pipe.mjs +3 -3
- package/esm2020/lib/core/pipes/daterange.pipe.mjs +6 -6
- package/esm2020/lib/core/pipes/difference.pipe.mjs +3 -3
- package/esm2020/lib/core/pipes/duration-format.pipe.mjs +3 -3
- package/esm2020/lib/core/pipes/duration.pipe.mjs +3 -3
- package/esm2020/lib/core/pipes/form.pipe.mjs +3 -3
- package/esm2020/lib/core/pipes/join.pipe.mjs +3 -3
- package/esm2020/lib/core/pipes/role.pipe.mjs +3 -3
- package/esm2020/lib/core/pipes/sanitize-html.pipe.mjs +3 -3
- package/esm2020/lib/core/pipes/sort.pipe.mjs +6 -6
- package/esm2020/lib/core/pipes/state.pipe.mjs +3 -3
- package/esm2020/lib/core/pipes/time-ago.pipe.mjs +3 -3
- package/esm2020/lib/core/pipes/translate.pipe.mjs +6 -6
- package/esm2020/lib/core/pipes/type-value.pipe.mjs +3 -3
- package/esm2020/lib/core/pipes/user-name.pipe.mjs +3 -3
- package/esm2020/lib/core/popup/popup.component.mjs +3 -3
- package/esm2020/lib/core/popup/popup.service.mjs +3 -3
- package/esm2020/lib/core/popup/tooltip.directive.mjs +6 -6
- package/esm2020/lib/core/prompt/ask/ask.dialog.mjs +5 -5
- package/esm2020/lib/core/prompt/mask/mask.component.mjs +3 -3
- package/esm2020/lib/core/prompt.service.mjs +3 -3
- package/esm2020/lib/core/router.mjs +6 -6
- package/esm2020/lib/core/save-changes.dialog.mjs +5 -5
- package/esm2020/lib/core/session.service.mjs +3 -3
- package/esm2020/lib/core/slots/router.directive.mjs +3 -3
- package/esm2020/lib/core/slots/router.service.mjs +3 -3
- package/esm2020/lib/core/slots/slots.component.mjs +14 -14
- package/esm2020/lib/core/tagging/documents.component.mjs +7 -7
- package/esm2020/lib/core/tagging/edit-input.component.mjs +10 -10
- package/esm2020/lib/core/tagging/emoji.component.mjs +4 -4
- package/esm2020/lib/core/tagging/tagging-item.directive.mjs +3 -3
- package/esm2020/lib/core/tagging/tagging.component-base.mjs +3 -3
- package/esm2020/lib/core/tagging/tagging.directive.mjs +3 -3
- package/esm2020/lib/core/tagging/tagging.pipe.mjs +3 -3
- package/esm2020/lib/core/tagging/users.component.mjs +7 -7
- package/esm2020/lib/core/translate.service.mjs +3 -3
- package/esm2020/lib/core/window-title.service.mjs +3 -3
- package/esm2020/lib/cube/accum/accum.component.mjs +3 -3
- package/esm2020/lib/cube/chart/chart.component.mjs +3 -3
- package/esm2020/lib/cube/cube-info.service.mjs +3 -3
- package/esm2020/lib/cube/cube-menu.component.mjs +10 -10
- package/esm2020/lib/cube/cube-view.component.mjs +3 -3
- package/esm2020/lib/cube/cube.service.mjs +3 -3
- package/esm2020/lib/cube/explore/document-item.component.mjs +3 -3
- package/esm2020/lib/cube/explore/explore-item.component.mjs +3 -3
- package/esm2020/lib/cube/explore/explore-items.component.mjs +8 -8
- package/esm2020/lib/cube/explore/explore.pane.component.mjs +12 -15
- package/esm2020/lib/cube/explore/item-resolver.service.mjs +6 -6
- package/esm2020/lib/cube/explore/item.pane.component.mjs +3 -3
- package/esm2020/lib/cube/filter/filter-tags.component.exp.mjs +7 -7
- package/esm2020/lib/cube/filter/filter.component.mjs +11 -11
- package/esm2020/lib/cube/grid/grid.component.mjs +3 -3
- package/esm2020/lib/cube/grid/spreadsheet.component.mjs +3 -3
- package/esm2020/lib/cube/matrix/matrix.base.mjs +6 -10
- package/esm2020/lib/cube/matrix/matrix.mobile.component.mjs +20 -16
- package/esm2020/lib/cube/matrix/matrix.pane.component.mjs +20 -16
- package/esm2020/lib/cube/matrix/popup.component.mjs +11 -11
- package/esm2020/lib/cube/matrix/table.component.mjs +4 -4
- package/esm2020/lib/cube/parallel/parallel.component.mjs +5 -5
- package/esm2020/lib/cube/pivot/pivot.component.mjs +6 -11
- package/esm2020/lib/cube/sum/sum.component.mjs +6 -6
- package/esm2020/lib/cube/view-base.mjs +6 -10
- package/esm2020/lib/cube/view.mobile.component.mjs +14 -14
- package/esm2020/lib/cube/view.pane.component.mjs +13 -13
- package/esm2020/lib/dashboard/actions/actions.widget.mjs +3 -3
- package/esm2020/lib/dashboard/cube/accum-cube.widget.mjs +4 -4
- package/esm2020/lib/dashboard/cube/compare.widget.mjs +3 -3
- package/esm2020/lib/dashboard/cube/cube-analysis.base.mjs +3 -3
- package/esm2020/lib/dashboard/cube/cube-analysis.widget.mjs +3 -3
- package/esm2020/lib/dashboard/cube/cube-chart.widget.mjs +4 -4
- package/esm2020/lib/dashboard/cube/documents.widget.mjs +4 -4
- package/esm2020/lib/dashboard/cube/filter/filter.component.mjs +3 -3
- package/esm2020/lib/dashboard/dashboard.component.mjs +11 -11
- package/esm2020/lib/dashboard/dashboard.pane.component.mjs +5 -11
- package/esm2020/lib/dashboard/recents/recents.widget.mjs +9 -9
- package/esm2020/lib/dashboard/score/activity.widget.mjs +3 -3
- package/esm2020/lib/dashboard/score/compare-groups.widget.mjs +3 -3
- package/esm2020/lib/dashboard/score/peers-performance.widget.mjs +3 -3
- package/esm2020/lib/dashboard/score/pending-results.widget.mjs +12 -12
- package/esm2020/lib/dashboard/score/personal-score.widget.mjs +3 -3
- package/esm2020/lib/dashboard/widget-item.component.mjs +3 -3
- package/esm2020/lib/desktop.module.mjs +11 -13
- package/esm2020/lib/home/about/about.dialog.mjs +7 -7
- package/esm2020/lib/home/home-base.component.mjs +3 -3
- package/esm2020/lib/home/home.desktop.component.mjs +19 -19
- package/esm2020/lib/home/home.mobile.component.mjs +16 -16
- package/esm2020/lib/home/notifications/notifications.component.mjs +12 -12
- package/esm2020/lib/home/options/options.component.mjs +11 -11
- package/esm2020/lib/home/outofoffice/outofoffice.component.mjs +8 -8
- package/esm2020/lib/home/search.service.mjs +3 -3
- package/esm2020/lib/home/sign/sign.component.mjs +6 -6
- package/esm2020/lib/home/tools.component.mjs +13 -13
- package/esm2020/lib/impersonate/impersonate.component.mjs +10 -10
- package/esm2020/lib/mobile.module.mjs +11 -13
- package/esm2020/lib/modules/chart.module.mjs +6 -6
- package/esm2020/lib/modules/circular-gauge.module.mjs +5 -5
- package/esm2020/lib/modules/date.adapter.mjs +1 -1
- package/esm2020/lib/modules/datepicker.intl.mjs +4 -4
- package/esm2020/lib/modules/dayjs.module.mjs +5 -5
- package/esm2020/lib/modules/diagram.module.mjs +7 -9
- package/esm2020/lib/modules/gantt.module.mjs +5 -5
- package/esm2020/lib/modules/grid.module.mjs +6 -6
- package/esm2020/lib/modules/material.module.mjs +20 -22
- package/esm2020/lib/modules/paginator.intl.mjs +4 -4
- package/esm2020/lib/modules/pivot.module.mjs +5 -7
- package/esm2020/lib/modules/schedule.module.mjs +6 -6
- package/esm2020/lib/modules/spreadsheet.module.mjs +7 -9
- package/esm2020/lib/modules/stepper.intl.mjs +4 -4
- package/esm2020/lib/modules/texteditor.module.mjs +6 -8
- package/esm2020/lib/notifications/filter.component.mjs +8 -8
- package/esm2020/lib/notifications/notifications-table.component.mjs +16 -16
- package/esm2020/lib/notifications/notifications.mobile.component.mjs +3 -3
- package/esm2020/lib/notifications/notifications.pane.component.mjs +3 -3
- package/esm2020/lib/notifications/notifications.service.mjs +3 -3
- package/esm2020/lib/notifications/types/commented.notification.mjs +5 -5
- package/esm2020/lib/notifications/types/cube-anomaly.notification.mjs +5 -5
- package/esm2020/lib/notifications/types/escalated.notification.mjs +6 -6
- package/esm2020/lib/notifications/types/liked.notification.mjs +5 -5
- package/esm2020/lib/notifications/types/long-running-task.notification.mjs +3 -3
- package/esm2020/lib/notifications/types/notification-base.mjs +3 -3
- package/esm2020/lib/notifications/types/nudge.notification.mjs +6 -6
- package/esm2020/lib/notifications/types/state-changed.notification.mjs +6 -6
- package/esm2020/lib/notifications/types/tagged.notification.mjs +5 -5
- package/esm2020/lib/notifications/types/text.notification.mjs +3 -3
- package/esm2020/lib/notifications/types/upcoming-event.notification.mjs +5 -5
- package/esm2020/lib/options/options.component.mjs +15 -15
- package/esm2020/lib/options/options.service.mjs +3 -3
- package/esm2020/lib/reports/arguments-component.mjs +3 -3
- package/esm2020/lib/reports/cube/documents.component.mjs +3 -3
- package/esm2020/lib/reports/cube/grid-documents.component.mjs +9 -9
- package/esm2020/lib/reports/cube/table-documents.component.mjs +10 -10
- package/esm2020/lib/reports/cube/usage-args.component.mjs +3 -3
- package/esm2020/lib/reports/cube/usage-base.mjs +3 -3
- package/esm2020/lib/reports/cube/usage-chart.component.mjs +4 -4
- package/esm2020/lib/reports/cube/usage-pivot.component.mjs +4 -4
- package/esm2020/lib/reports/cube/usage.component.mjs +3 -3
- package/esm2020/lib/reports/report-viewer.component.mjs +3 -3
- package/esm2020/lib/reports/report.mobile.component.mjs +12 -12
- package/esm2020/lib/reports/report.pane.component.mjs +11 -11
- package/esm2020/lib/reports/reports-menu.component.mjs +9 -9
- package/esm2020/lib/reports/substitution/substitution.component.mjs +12 -12
- package/esm2020/lib/reports/table/table-view.component.mjs +8 -8
- package/esm2020/lib/reports/tasks/tasks.component.mjs +3 -3
- package/esm2020/lib/routes.desktop.mjs +1 -1
- package/esm2020/lib/scheduler/schedule.component.mjs +13 -13
- package/esm2020/lib/scheduler/scheduler.mobile.component.mjs +3 -3
- package/esm2020/lib/scheduler/scheduler.pane.component.mjs +3 -3
- package/esm2020/lib/shared.module.mjs +24 -26
- package/esm2020/lib/system.module.mjs +13 -15
- package/esm2020/lib/views/cube/chart.component.mjs +7 -7
- package/esm2020/lib/views/cube/cube-base.mjs +3 -3
- package/esm2020/lib/views/cube/explore.component.mjs +9 -9
- package/esm2020/lib/views/cube/matrix.component.mjs +12 -12
- package/esm2020/lib/views/cube/parallel.component.mjs +5 -5
- package/esm2020/lib/views/cube/pivot.component.mjs +5 -5
- package/esm2020/lib/views/cube/sum.component.mjs +10 -10
- package/esm2020/lib/views/cube/view.component.mjs +9 -9
- package/esm2020/lib/views/timeline/timeline.component.exp.mjs +3 -3
- package/esm2020/lib/views/view-item.component.mjs +3 -3
- package/esm2020/lib/views/views.component.mjs +5 -5
- package/esm2020/lib/views/views.mobile.component.mjs +3 -3
- package/esm2020/lib/views/views.pane.component.mjs +5 -10
- package/fesm2015/bizdoc-core.mjs +1615 -1737
- package/fesm2015/bizdoc-core.mjs.map +1 -1
- package/fesm2020/bizdoc-core.mjs +1585 -1709
- package/fesm2020/bizdoc-core.mjs.map +1 -1
- package/{bizdoc-core.d.ts → index.d.ts} +0 -0
- package/lib/admin/admin-menu.component.d.ts +1 -1
- package/lib/admin/core/ace.input.d.ts +1 -1
- package/lib/admin/core/color-picker.input.d.ts +1 -1
- package/lib/admin/core/search.input.d.ts +2 -2
- package/lib/admin/diff/configuration-diff.component.d.ts +1 -1
- package/lib/admin/document-trace/document-trace.component.d.ts +5 -2
- package/lib/admin/document-trace/reassign.dialog.d.ts +6 -3
- package/lib/admin/document-trace/trace-element.component.d.ts +1 -1
- package/lib/admin/form/form.service.d.ts +1 -1
- package/lib/admin/form/workflow/node.component.d.ts +5 -2
- package/lib/admin/form/workflow/role-node.component.d.ts +14 -2
- package/lib/admin/form/workflow/workflow.component.d.ts +1 -1
- package/lib/admin/indices/manage-cube-index.component.d.ts +1 -1
- package/lib/admin/patterns/patterns.component.d.ts +7 -3
- package/lib/admin/permissions/permissions.component.d.ts +1 -1
- package/lib/admin/positions/positions-popup.component.d.ts +2 -2
- package/lib/admin/positions/positions.component.d.ts +14 -6
- package/lib/admin/profiler/outofoffice.component.d.ts +26 -7
- package/lib/admin/profiler/profiler.component.d.ts +3 -3
- package/lib/admin/utility-wrapper.component.d.ts +1 -1
- package/lib/admin/utility.pane.component.d.ts +1 -1
- package/lib/app.component.d.ts +2 -2
- package/lib/browse/browse-items.component.d.ts +1 -1
- package/lib/browse/browse.mobile.component.d.ts +1 -1
- package/lib/browse/browse.pane.component.d.ts +2 -2
- package/lib/browse/expanded-item/expanded-item.component.d.ts +1 -1
- package/lib/browse/filter/filter.component.d.ts +10 -3
- package/lib/browse/folders-menu.component.d.ts +1 -1
- package/lib/chat/chat.mobile.component.d.ts +1 -1
- package/lib/chat/contacts.component.d.ts +3 -3
- package/lib/chat/contacts.pane.component.d.ts +1 -1
- package/lib/chat/conversation.component.d.ts +1 -1
- package/lib/chat/conversation.pane.component.d.ts +1 -1
- package/lib/compose/action/action-picker.component.d.ts +1 -1
- package/lib/compose/action/action.dialog.d.ts +1 -1
- package/lib/compose/action/action.pane.dialog.exp.d.ts +1 -1
- package/lib/compose/action/assign-action.component.d.ts +8 -3
- package/lib/compose/action/moveto-action.component.d.ts +6 -3
- package/lib/compose/action/return-action.component.d.ts +5 -2
- package/lib/compose/attachments/attachments.component.d.ts +1 -1
- package/lib/compose/attachments/preview/attachment-preview.component.d.ts +1 -1
- package/lib/compose/attachments/progress-button.directive.d.ts +1 -1
- package/lib/compose/comments/comment.component.d.ts +1 -1
- package/lib/compose/comments/comments.component.d.ts +1 -1
- package/lib/compose/comments/{Comments.pane.component.d.ts → comments.pane.component.d.ts} +1 -1
- package/lib/compose/comments/edit-comment.component.d.ts +1 -1
- package/lib/compose/comments/edits.component.d.ts +1 -1
- package/lib/compose/comments/quick-comment.component.exp.d.ts +1 -1
- package/lib/compose/comments/votes.component.d.ts +1 -1
- package/lib/compose/compose.mobile.component.d.ts +1 -1
- package/lib/compose/compose.pane.component.d.ts +1 -1
- package/lib/compose/copy/copy.dialog.d.ts +2 -2
- package/lib/compose/document.component.d.ts +1 -1
- package/lib/compose/document.mobile.component.d.ts +1 -1
- package/lib/compose/document.pane.component.d.ts +1 -1
- package/lib/compose/events/events.component.d.ts +1 -1
- package/lib/compose/form-selector/form-selector.sheet.d.ts +1 -1
- package/lib/compose/form.component.d.ts +1 -1
- package/lib/compose/new-menu.component.d.ts +2 -2
- package/lib/compose/privilage.directive.d.ts +2 -2
- package/lib/compose/state.component.d.ts +1 -1
- package/lib/compose/tag/tags.component.d.ts +2 -2
- package/lib/compose/trace/flow.component.d.ts +11 -8
- package/lib/compose/trace/people.component.d.ts +1 -1
- package/lib/compose/trace/trace.base.d.ts +8 -3
- package/lib/compose/trace/trace.component.d.ts +5 -8
- package/lib/compose/trace/trace.pane.component.d.ts +1 -1
- package/lib/compose/version-compare/version-compare.component.d.ts +1 -1
- package/lib/compose/version-compare/version-compare.directive.d.ts +3 -3
- package/lib/compose/version-compare/version.pane.component.d.ts +1 -1
- package/lib/core/NgComponentOutlet.d.ts +1 -1
- package/lib/core/animated-icon/animated-icon.directive.d.ts +1 -1
- package/lib/core/avatar/avatar.component.d.ts +1 -1
- package/lib/core/controls/address.input.d.ts +2 -2
- package/lib/core/controls/auto-complete.input.d.ts +2 -2
- package/lib/core/controls/combination-picker-body.d.ts +2 -2
- package/lib/core/controls/combination-picker.d.ts +1 -1
- package/lib/core/controls/combination-pool.d.ts +1 -1
- package/lib/core/controls/file.input.d.ts +1 -1
- package/lib/core/controls/select.input.d.ts +2 -2
- package/lib/core/controls/time-picker.d.ts +2 -2
- package/lib/core/controls/timespan.input.d.ts +6 -2
- package/lib/core/guide/guide.component.d.ts +1 -1
- package/lib/core/guide/help-tip.component.d.ts +1 -1
- package/lib/core/identity/identity.component.d.ts +1 -1
- package/lib/core/info/location-info.component.d.ts +1 -1
- package/lib/core/layout/autocomplete.field.d.ts +2 -2
- package/lib/core/layout/checkbox.d.ts +1 -1
- package/lib/core/layout/checkbox.field.d.ts +2 -2
- package/lib/core/layout/date-range.field.d.ts +5 -2
- package/lib/core/layout/date.field.d.ts +2 -2
- package/lib/core/layout/expression.field.d.ts +2 -2
- package/lib/core/layout/file.field.d.ts +3 -2
- package/lib/core/layout/html.field.d.ts +2 -2
- package/lib/core/layout/input.base.d.ts +2 -2
- package/lib/core/layout/input.field.d.ts +2 -2
- package/lib/core/layout/layout.component.d.ts +1 -1
- package/lib/core/layout/numeric.field.d.ts +2 -2
- package/lib/core/layout/select.field.d.ts +2 -2
- package/lib/core/layout/switch.field.d.ts +2 -2
- package/lib/core/layout/textarea.field.d.ts +2 -2
- package/lib/core/layout/timespan.field.d.ts +2 -2
- package/lib/core/lottie-animation.d.ts +1 -1
- package/lib/core/none.component.d.ts +1 -1
- package/lib/core/pipes/action.pipe.d.ts +1 -1
- package/lib/core/pipes/calendar.pipe.d.ts +1 -1
- package/lib/core/pipes/date-format.pipe.d.ts +1 -1
- package/lib/core/pipes/daterange.pipe.d.ts +2 -2
- package/lib/core/pipes/difference.pipe.d.ts +1 -1
- package/lib/core/pipes/duration-format.pipe.d.ts +1 -1
- package/lib/core/pipes/duration.pipe.d.ts +1 -1
- package/lib/core/pipes/form.pipe.d.ts +1 -1
- package/lib/core/pipes/join.pipe.d.ts +1 -1
- package/lib/core/pipes/role.pipe.d.ts +1 -1
- package/lib/core/pipes/sanitize-html.pipe.d.ts +1 -1
- package/lib/core/pipes/sort.pipe.d.ts +2 -2
- package/lib/core/pipes/state.pipe.d.ts +1 -1
- package/lib/core/pipes/time-ago.pipe.d.ts +1 -1
- package/lib/core/pipes/translate.pipe.d.ts +2 -2
- package/lib/core/pipes/type-value.pipe.d.ts +1 -1
- package/lib/core/pipes/user-name.pipe.d.ts +1 -1
- package/lib/core/popup/popup.component.d.ts +1 -1
- package/lib/core/popup/tooltip.directive.d.ts +2 -2
- package/lib/core/prompt/ask/ask.dialog.d.ts +1 -1
- package/lib/core/prompt/mask/mask.component.d.ts +1 -1
- package/lib/core/save-changes.dialog.d.ts +1 -1
- package/lib/core/slots/router.directive.d.ts +1 -1
- package/lib/core/slots/slots.component.d.ts +2 -2
- package/lib/core/tagging/documents.component.d.ts +1 -1
- package/lib/core/tagging/edit-input.component.d.ts +1 -1
- package/lib/core/tagging/emoji.component.d.ts +1 -1
- package/lib/core/tagging/tagging-item.directive.d.ts +1 -1
- package/lib/core/tagging/tagging.component-base.d.ts +1 -1
- package/lib/core/tagging/tagging.directive.d.ts +1 -1
- package/lib/core/tagging/tagging.pipe.d.ts +1 -1
- package/lib/core/tagging/users.component.d.ts +1 -1
- package/lib/cube/accum/accum.component.d.ts +1 -1
- package/lib/cube/chart/chart.component.d.ts +1 -1
- package/lib/cube/cube-menu.component.d.ts +1 -1
- package/lib/cube/cube-view.component.d.ts +1 -1
- package/lib/cube/explore/document-item.component.d.ts +1 -1
- package/lib/cube/explore/explore-item.component.d.ts +1 -1
- package/lib/cube/explore/explore-items.component.d.ts +1 -1
- package/lib/cube/explore/explore.pane.component.d.ts +1 -1
- package/lib/cube/explore/item.pane.component.d.ts +1 -1
- package/lib/cube/filter/filter-tags.component.exp.d.ts +1 -1
- package/lib/cube/filter/filter.component.d.ts +1 -1
- package/lib/cube/grid/grid.component.d.ts +1 -1
- package/lib/cube/grid/spreadsheet.component.d.ts +1 -1
- package/lib/cube/matrix/matrix.base.d.ts +2 -2
- package/lib/cube/matrix/matrix.mobile.component.d.ts +3 -1
- package/lib/cube/matrix/matrix.pane.component.d.ts +3 -2
- package/lib/cube/matrix/popup.component.d.ts +1 -1
- package/lib/cube/matrix/table.component.d.ts +1 -1
- package/lib/cube/parallel/parallel.component.d.ts +1 -1
- package/lib/cube/pivot/pivot.component.d.ts +1 -1
- package/lib/cube/sum/sum.component.d.ts +1 -1
- package/lib/cube/view-base.d.ts +2 -2
- package/lib/cube/view.mobile.component.d.ts +1 -2
- package/lib/cube/view.pane.component.d.ts +1 -1
- package/lib/dashboard/actions/actions.widget.d.ts +1 -1
- package/lib/dashboard/cube/accum-cube.widget.d.ts +1 -1
- package/lib/dashboard/cube/compare.widget.d.ts +1 -1
- package/lib/dashboard/cube/cube-analysis.base.d.ts +1 -1
- package/lib/dashboard/cube/cube-analysis.widget.d.ts +1 -1
- package/lib/dashboard/cube/cube-chart.widget.d.ts +1 -1
- package/lib/dashboard/cube/documents.widget.d.ts +1 -1
- package/lib/dashboard/cube/filter/filter.component.d.ts +1 -1
- package/lib/dashboard/dashboard.component.d.ts +1 -1
- package/lib/dashboard/dashboard.pane.component.d.ts +1 -1
- package/lib/dashboard/recents/recents.widget.d.ts +2 -2
- package/lib/dashboard/score/activity.widget.d.ts +1 -1
- package/lib/dashboard/score/compare-groups.widget.d.ts +1 -1
- package/lib/dashboard/score/peers-performance.widget.d.ts +1 -1
- package/lib/dashboard/score/pending-results.widget.d.ts +1 -1
- package/lib/dashboard/score/personal-score.widget.d.ts +1 -1
- package/lib/dashboard/widget-item.component.d.ts +1 -1
- package/lib/desktop.module.d.ts +1 -1
- package/lib/home/about/about.dialog.d.ts +1 -1
- package/lib/home/home-base.component.d.ts +1 -1
- package/lib/home/home.desktop.component.d.ts +1 -1
- package/lib/home/home.mobile.component.d.ts +1 -1
- package/lib/home/notifications/notifications.component.d.ts +1 -1
- package/lib/home/options/options.component.d.ts +1 -1
- package/lib/home/outofoffice/outofoffice.component.d.ts +1 -1
- package/lib/home/sign/sign.component.d.ts +1 -1
- package/lib/home/tools.component.d.ts +2 -2
- package/lib/impersonate/impersonate.component.d.ts +2 -2
- package/lib/notifications/filter.component.d.ts +5 -2
- package/lib/notifications/notifications-table.component.d.ts +1 -1
- package/lib/notifications/notifications.mobile.component.d.ts +1 -1
- package/lib/notifications/notifications.pane.component.d.ts +1 -1
- package/lib/notifications/types/commented.notification.d.ts +1 -1
- package/lib/notifications/types/cube-anomaly.notification.d.ts +1 -1
- package/lib/notifications/types/escalated.notification.d.ts +1 -1
- package/lib/notifications/types/liked.notification.d.ts +1 -1
- package/lib/notifications/types/long-running-task.notification.d.ts +1 -1
- package/lib/notifications/types/notification-base.d.ts +1 -1
- package/lib/notifications/types/nudge.notification.d.ts +1 -1
- package/lib/notifications/types/state-changed.notification.d.ts +1 -1
- package/lib/notifications/types/tagged.notification.d.ts +1 -1
- package/lib/notifications/types/text.notification.d.ts +1 -1
- package/lib/notifications/types/upcoming-event.notification.d.ts +1 -1
- package/lib/options/options.component.d.ts +37 -6
- package/lib/reports/arguments-component.d.ts +1 -1
- package/lib/reports/cube/documents.component.d.ts +1 -1
- package/lib/reports/cube/grid-documents.component.d.ts +1 -1
- package/lib/reports/cube/table-documents.component.d.ts +1 -1
- package/lib/reports/cube/usage-args.component.d.ts +1 -1
- package/lib/reports/cube/usage-base.d.ts +1 -1
- package/lib/reports/cube/usage-chart.component.d.ts +1 -1
- package/lib/reports/cube/usage-pivot.component.d.ts +1 -1
- package/lib/reports/cube/usage.component.d.ts +1 -1
- package/lib/reports/report-viewer.component.d.ts +1 -1
- package/lib/reports/report.mobile.component.d.ts +1 -1
- package/lib/reports/report.pane.component.d.ts +1 -1
- package/lib/reports/reports-menu.component.d.ts +1 -1
- package/lib/reports/substitution/substitution.component.d.ts +1 -1
- package/lib/reports/table/table-view.component.d.ts +1 -1
- package/lib/reports/tasks/tasks.component.d.ts +1 -1
- package/lib/scheduler/schedule.component.d.ts +1 -1
- package/lib/scheduler/scheduler.mobile.component.d.ts +1 -1
- package/lib/scheduler/scheduler.pane.component.d.ts +1 -1
- package/lib/views/cube/chart.component.d.ts +1 -1
- package/lib/views/cube/cube-base.d.ts +1 -1
- package/lib/views/cube/explore.component.d.ts +1 -1
- package/lib/views/cube/matrix.component.d.ts +1 -1
- package/lib/views/cube/parallel.component.d.ts +1 -1
- package/lib/views/cube/pivot.component.d.ts +1 -1
- package/lib/views/cube/sum.component.d.ts +1 -2
- package/lib/views/cube/view.component.d.ts +1 -1
- package/lib/views/timeline/timeline.component.exp.d.ts +1 -1
- package/lib/views/view-item.component.d.ts +1 -1
- package/lib/views/views.component.d.ts +1 -1
- package/lib/views/views.mobile.component.d.ts +1 -1
- package/lib/views/views.pane.component.d.ts +1 -1
- package/package.json +28 -28
- package/assets/.gitkeep +0 -0
@@ -16,19 +16,19 @@ import * as i5 from "../../core/account.service";
|
|
16
16
|
import * as i6 from "../../core/popup/popup.service";
|
17
17
|
import * as i7 from "@angular/cdk/overlay";
|
18
18
|
import * as i8 from "../../core/mailbox.service";
|
19
|
-
import * as i9 from "@angular/
|
20
|
-
import * as i10 from "@angular/
|
21
|
-
import * as i11 from "@angular/
|
19
|
+
import * as i9 from "@angular/common";
|
20
|
+
import * as i10 from "@angular/flex-layout/flex";
|
21
|
+
import * as i11 from "@angular/cdk/bidi";
|
22
22
|
import * as i12 from "@angular/material/divider";
|
23
|
-
import * as i13 from "@angular/
|
24
|
-
import * as i14 from "@angular/
|
25
|
-
import * as i15 from "
|
26
|
-
import * as i16 from "
|
27
|
-
import * as i17 from "../../core/
|
28
|
-
import * as i18 from "../../core/pipes/
|
29
|
-
import * as i19 from "../../core/pipes/
|
30
|
-
import * as i20 from "../../core/pipes/
|
31
|
-
import * as i21 from "../../core/
|
23
|
+
import * as i13 from "@angular/material/button";
|
24
|
+
import * as i14 from "@angular/material/icon";
|
25
|
+
import * as i15 from "@angular/material/menu";
|
26
|
+
import * as i16 from "../../core/popup/tooltip.directive";
|
27
|
+
import * as i17 from "../../core/pipes/calendar.pipe";
|
28
|
+
import * as i18 from "../../core/pipes/time-ago.pipe";
|
29
|
+
import * as i19 from "../../core/pipes/translate.pipe";
|
30
|
+
import * as i20 from "../../core/pipes/sanitize-html.pipe";
|
31
|
+
import * as i21 from "../../core/tagging/tagging.pipe";
|
32
32
|
/** comment component*/
|
33
33
|
export class CommentComponent {
|
34
34
|
constructor(_session, _ps, _translate, _chat, _accounts, _popup, _overlay, _mailbox, _vc, _config) {
|
@@ -158,9 +158,9 @@ export class CommentComponent {
|
|
158
158
|
});
|
159
159
|
}
|
160
160
|
}
|
161
|
-
CommentComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
162
|
-
CommentComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
163
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
161
|
+
CommentComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: CommentComponent, deps: [{ token: i1.SessionService }, { token: i2.PromptService }, { token: i3.TranslateService }, { token: i4.ChatInfo }, { token: i5.AccountService }, { token: i6.Popup }, { token: i7.Overlay }, { token: i8.MailboxService }, { token: i0.ViewContainerRef }, { token: BIZDOC_CONFIG }], target: i0.ɵɵFactoryTarget.Component });
|
162
|
+
CommentComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.0.0", type: CommentComponent, selector: "bizdoc-comment", inputs: { model: "model", item: "item" }, outputs: { deleted: "deleted", reply: "reply" }, host: { classAttribute: "comment" }, viewQueries: [{ propertyName: "bodyElement", first: true, predicate: ["body"], descendants: true }, { propertyName: "previewTemplate", first: true, predicate: ["previewTemplate"], descendants: true }], ngImport: i0, template: "<div class=\"row\">\r\n <div class=\"comment-body\" #body>\r\n <div [innerHTML]=\"item.text|taggingHtml:item.resource\" class=\"comment-text\"></div>\r\n <img *ngIf=\"item.image\" [src]=\"'data:image/png;base64,'+item.image\" alt=\"\" (click)=\"preview()\" />\r\n </div>\r\n <button mat-icon-button *ngIf=\"me\" [matMenuTriggerFor]=\"menu\" class=\"tool\" (click)=\"$event.stopPropagation()\"><mat-icon>more_vert</mat-icon></button>\r\n <mat-menu #menu>\r\n <ng-template matMenuContent>\r\n <button mat-menu-item (click)=\"edit()\">{{'Edit'|translate}}</button>\r\n <mat-divider></mat-divider>\r\n <button mat-menu-item (click)=\"delete()\">{{'Delete'|translate}}</button>\r\n </ng-template>\r\n </mat-menu>\r\n</div>\r\n<div class=\"row\">\r\n <div class=\"column\">\r\n <span [innerHTML]=\"name | sanitizeHtml\" (click)=\"chat($event)\"></span>\r\n <div>\r\n <small fxFlex bizdocTooltip=\"{{item.edited || item.time | amCalendar }}\">{{item.edited || item.time | amTimeAgo}}</small>\r\n <ng-container *ngIf=\"item.edited\">\r\n <a (click)=\"edits()\" class=\"modification\">{{'Edited'| translate}}</a>\r\n </ng-container>\r\n <ng-container *ngIf=\"!me\">\r\n <a (click)=\"reply.emit()\" class=\"modification\">{{'Reply'| translate}}</a>\r\n </ng-container>\r\n </div>\r\n </div>\r\n <div class=\"comment-actions\" *ngIf=\"voting\">\r\n <a *ngIf=\"item.votes > 0 || item.votes < 0\" [class.score-negative]=\"item.votes < 0\" class=\"comment-score\" dir=\"ltr\" (click)=\"votes()\" [bizdocTooltip]=\"'Votes'|translate\">{{item.votes}}</a>\r\n <button mat-icon-button (click)=\"vote(1, $event)\" [class.voted-true]=\"item.voted===1\" ><mat-icon>thumb_up_alt</mat-icon></button>\r\n <button mat-icon-button (click)=\"vote(-1, $event)\" [class.voted-false]=\"item.voted===-1\" ><mat-icon>thumb_down_alt</mat-icon></button>\r\n </div>\r\n</div>\r\n<ng-template #previewTemplate>\r\n <img [src]=\"'data:image/png;base64,'+item.image\" alt=\"\" />\r\n</ng-template>\r\n", dependencies: [{ kind: "directive", type: i9.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i10.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"] }, { kind: "directive", type: i11.Dir, selector: "[dir]", inputs: ["dir"], outputs: ["dirChange"], exportAs: ["dir"] }, { kind: "component", type: i12.MatDivider, selector: "mat-divider", inputs: ["vertical", "inset"] }, { kind: "component", type: i13.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"] }, { kind: "component", type: i14.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "component", type: i15.MatMenu, selector: "mat-menu", exportAs: ["matMenu"] }, { kind: "component", type: i15.MatMenuItem, selector: "[mat-menu-item]", inputs: ["disabled", "disableRipple", "role"], exportAs: ["matMenuItem"] }, { kind: "directive", type: i15.MatMenuTrigger, selector: "[mat-menu-trigger-for], [matMenuTriggerFor]", exportAs: ["matMenuTrigger"] }, { kind: "directive", type: i15.MatMenuContent, selector: "ng-template[matMenuContent]" }, { kind: "directive", type: i16.TooltipDirective, selector: "[bizdocTooltip]", inputs: ["bizdocTooltip", "bizdocTooltipTemplate", "bizdocTooltipContext", "bizdocTooltipPosition", "bizdocTooltipDuration", "bizdocTooltipDisabled"] }, { kind: "pipe", type: i17.CalendarPipe, name: "amCalendar" }, { kind: "pipe", type: i18.TimeAgoPipe, name: "amTimeAgo" }, { kind: "pipe", type: i19.TranslatePipe, name: "translate" }, { kind: "pipe", type: i20.SanitizeHtmlPipe, name: "sanitizeHtml" }, { kind: "pipe", type: i21.TaggingPipe, name: "taggingHtml" }] });
|
163
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: CommentComponent, decorators: [{
|
164
164
|
type: Component,
|
165
165
|
args: [{ selector: 'bizdoc-comment', host: {
|
166
166
|
class: 'comment'
|
@@ -11,11 +11,11 @@ import * as i4 from "../../core/translate.service";
|
|
11
11
|
import * as i5 from "../../chat/chat-info";
|
12
12
|
import * as i6 from "../../core/mailbox.service";
|
13
13
|
import * as i7 from "../../core/hub.service";
|
14
|
-
import * as i8 from "
|
15
|
-
import * as i9 from "
|
14
|
+
import * as i8 from "@angular/common";
|
15
|
+
import * as i9 from "@angular/flex-layout/flex";
|
16
16
|
import * as i10 from "../../core/tagging/edit-input.component";
|
17
|
-
import * as i11 from "
|
18
|
-
import * as i12 from "
|
17
|
+
import * as i11 from "../../core/none.component";
|
18
|
+
import * as i12 from "./comment.component";
|
19
19
|
import * as i13 from "../../core/pipes/translate.pipe";
|
20
20
|
import * as i14 from "../../core/pipes/sanitize-html.pipe";
|
21
21
|
export const TYPING_NOTIFY = 500, TYPING_MESSAGE_TIME = 1500;
|
@@ -203,9 +203,9 @@ export class CommentsComponent {
|
|
203
203
|
window.localStorage.setItem(id, this.input.text);
|
204
204
|
}
|
205
205
|
}
|
206
|
-
CommentsComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
207
|
-
CommentsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
208
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
206
|
+
CommentsComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: CommentsComponent, deps: [{ token: i1.AccountService }, { token: i2.SessionService }, { token: i3.PromptService }, { token: i4.TranslateService }, { token: i5.ChatInfo }, { token: i6.MailboxService }, { token: i7.HubService }, { token: BIZDOC_CONFIG }], target: i0.ɵɵFactoryTarget.Component });
|
207
|
+
CommentsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.0.0", type: CommentsComponent, selector: "bizdoc-comments", inputs: { model: "model" }, outputs: { change: "change" }, host: { classAttribute: "comments" }, viewQueries: [{ propertyName: "threadElement", first: true, predicate: ["thread"], descendants: true, read: ElementRef, static: true }, { propertyName: "input", first: true, predicate: EditInputComponent, descendants: true, static: true }], usesOnChanges: true, ngImport: i0, template: "<bizdoc-none *ngIf=\"!model.comments.length\" icon=\"format_quote\"></bizdoc-none>\r\n\r\n<div fxLayout=\"column\" #thread (scroll)=\"onScroll($event)\" class=\"comments-thread\">\r\n <ng-container role=\"listitem\" *ngFor=\"let c of model.comments; trackBy: trackBy\">\r\n <bizdoc-comment *ngIf=\"!c.deleted || showDeleted; else deletedMsg\"\r\n [model]=\"model\"\r\n [item]=\"c\"\r\n (reply)=\"reply(c)\"\r\n (deleted)=\"deleted(c)\">\r\n </bizdoc-comment>\r\n </ng-container>\r\n</div>\r\n\r\n<div class=\"comments-typing\" [style.visibility]=\"typing ? 'visible': 'hidden'\">{{'Typing' | translate : typing}}</div>\r\n\r\n<div class=\"comments-reply\" *ngIf=\"replyName\">\r\n <span [innerHTML]=\"replyName | sanitizeHtml\" (click)=\"chat($event)\"></span>\r\n <a class=\"modification\" (click)=\"clearReply()\">{{'Cancel'|translate}}</a>\r\n</div>\r\n\r\n<bizdoc-edit-text (ok)=\"post($event)\" (change)=\"_textChange.next()\"\r\n [disabled]=\"sending\" (focus)=\"onFocus()\" (blur)=\"onBlur()\">\r\n</bizdoc-edit-text>\r\n\r\n<ng-template #deletedMsg>\r\n <a (click)=\"showDeleted = true\" class=\"comment-deleted\">{{'Deleted' | translate}}</a>\r\n</ng-template>\r\n", styles: [":host{display:flex;flex-direction:column;height:100%}.comments-thread{flex:1 1 auto;overflow:auto;padding:8px 8px 0}.comment-deleted{align-self:center;font-feature-settings:\"smcp\",\"c2sc\";font-variant:all-small-caps}.comments-typing,.comments-reply{font-size:12px;padding:0 8px}.comments-reply .modification{font-size:medium}.modification{font-feature-settings:\"smcp\",\"c2sc\";font-variant:all-small-caps}\n"], dependencies: [{ kind: "directive", type: i8.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i8.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i9.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"] }, { kind: "component", type: i10.EditInputComponent, selector: "bizdoc-edit-text", inputs: ["placeholder", "text", "image", "resource", "disabled", "autofocus", "cache"], outputs: ["change", "ok", "focus", "blur"] }, { kind: "component", type: i11.NoneComponent, selector: "bizdoc-none", inputs: ["title", "subtitle", "icon"] }, { kind: "component", type: i12.CommentComponent, selector: "bizdoc-comment", inputs: ["model", "item"], outputs: ["deleted", "reply"] }, { kind: "pipe", type: i13.TranslatePipe, name: "translate" }, { kind: "pipe", type: i14.SanitizeHtmlPipe, name: "sanitizeHtml" }] });
|
208
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: CommentsComponent, decorators: [{
|
209
209
|
type: Component,
|
210
210
|
args: [{ selector: 'bizdoc-comments', host: {
|
211
211
|
class: 'comments'
|
package/esm2020/lib/compose/comments/{Comments.pane.component.mjs → comments.pane.component.mjs}
RENAMED
@@ -27,23 +27,15 @@ export class CommentsPaneComponent {
|
|
27
27
|
this._destroy.complete();
|
28
28
|
}
|
29
29
|
}
|
30
|
-
CommentsPaneComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
31
|
-
CommentsPaneComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
32
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
30
|
+
CommentsPaneComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: CommentsPaneComponent, deps: [{ token: i1.TranslateService }, { token: i2.PaneRef }], target: i0.ɵɵFactoryTarget.Component });
|
31
|
+
CommentsPaneComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.0.0", type: CommentsPaneComponent, selector: "ng-component", host: { classAttribute: "pane" }, viewQueries: [{ propertyName: "_comments", first: true, predicate: CommentsComponent, descendants: true, static: true }], ngImport: i0, template: `<bizdoc-comments [model]=model></bizdoc-comments>`, isInline: true, styles: [":host{min-width:320px}\n"], dependencies: [{ kind: "component", type: i3.CommentsComponent, selector: "bizdoc-comments", inputs: ["model"], outputs: ["change"] }] });
|
32
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: CommentsPaneComponent, decorators: [{
|
33
33
|
type: Component,
|
34
|
-
args: [{
|
35
|
-
template: `<bizdoc-comments [model]=model></bizdoc-comments>`,
|
36
|
-
styles: [
|
37
|
-
`:host{
|
38
|
-
min-width: 320px;
|
39
|
-
}`
|
40
|
-
],
|
41
|
-
host: {
|
34
|
+
args: [{ template: `<bizdoc-comments [model]=model></bizdoc-comments>`, host: {
|
42
35
|
class: 'pane'
|
43
|
-
}
|
44
|
-
}]
|
36
|
+
}, styles: [":host{min-width:320px}\n"] }]
|
45
37
|
}], ctorParameters: function () { return [{ type: i1.TranslateService }, { type: i2.PaneRef }]; }, propDecorators: { _comments: [{
|
46
38
|
type: ViewChild,
|
47
39
|
args: [CommentsComponent, { static: true }]
|
48
40
|
}] } });
|
49
|
-
//# sourceMappingURL=data:application/json;base64,
|
41
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29tbWVudHMucGFuZS5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9saWJyYXJpZXMvY29yZS9zcmMvbGliL2NvbXBvc2UvY29tbWVudHMvY29tbWVudHMucGFuZS5jb21wb25lbnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFNBQVMsRUFBcUIsU0FBUyxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQ3hFLE9BQU8sRUFBRSxPQUFPLEVBQUUsU0FBUyxFQUF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c3Ryb3kubmV4dCgpO1xyXG4gICAgdGhpcy5fZGVzdHJveS5jb21wbGV0ZSgpO1xyXG4gIH1cclxufVxyXG4iXX0=
|
@@ -20,9 +20,9 @@ export class EditCommentComponent {
|
|
20
20
|
});
|
21
21
|
}
|
22
22
|
}
|
23
|
-
EditCommentComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
24
|
-
EditCommentComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
25
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
23
|
+
EditCommentComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: EditCommentComponent, deps: [{ token: i1.PopupRef }, { token: POPUP_DATA }, { token: i2.PromptService }, { token: i3.MailboxService }], target: i0.ɵɵFactoryTarget.Component });
|
24
|
+
EditCommentComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.0.0", type: EditCommentComponent, selector: "bizdoc-edit-comment", ngImport: i0, template: "<bizdoc-edit-text (ok)=\"ok($event)\"\r\n [resource]=\"data.resource\" [text]=\"data.text\" [image]=\"data.image\"\r\n [disabled]=\"sending\" autofocus></bizdoc-edit-text>\r\n", dependencies: [{ kind: "component", type: i4.EditInputComponent, selector: "bizdoc-edit-text", inputs: ["placeholder", "text", "image", "resource", "disabled", "autofocus", "cache"], outputs: ["change", "ok", "focus", "blur"] }] });
|
25
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: EditCommentComponent, decorators: [{
|
26
26
|
type: Component,
|
27
27
|
args: [{ selector: 'bizdoc-edit-comment', template: "<bizdoc-edit-text (ok)=\"ok($event)\"\r\n [resource]=\"data.resource\" [text]=\"data.text\" [image]=\"data.image\"\r\n [disabled]=\"sending\" autofocus></bizdoc-edit-text>\r\n" }]
|
28
28
|
}], ctorParameters: function () { return [{ type: i1.PopupRef }, { type: undefined, decorators: [{
|
@@ -2,11 +2,11 @@ import { Component, Inject } from '@angular/core';
|
|
2
2
|
import { POPUP_DATA } from '../../core/popup/popup.component';
|
3
3
|
import * as i0 from "@angular/core";
|
4
4
|
import * as i1 from "../../core/mailbox.service";
|
5
|
-
import * as i2 from "
|
6
|
-
import * as i3 from "
|
7
|
-
import * as i4 from "../../core/pipes/
|
8
|
-
import * as i5 from "../../core/
|
9
|
-
import * as i6 from "../../core/
|
5
|
+
import * as i2 from "@angular/common";
|
6
|
+
import * as i3 from "../../core/identity/identity.component";
|
7
|
+
import * as i4 from "../../core/pipes/calendar.pipe";
|
8
|
+
import * as i5 from "../../core/pipes/translate.pipe";
|
9
|
+
import * as i6 from "../../core/tagging/tagging.pipe";
|
10
10
|
export class CommentEditsComponent {
|
11
11
|
constructor(_data, _mailbox) {
|
12
12
|
this._data = _data;
|
@@ -18,13 +18,13 @@ export class CommentEditsComponent {
|
|
18
18
|
this.versions = this._mailbox.edits(this._data.documentId, this._data.id);
|
19
19
|
}
|
20
20
|
}
|
21
|
-
CommentEditsComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
22
|
-
CommentEditsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
23
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
21
|
+
CommentEditsComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: CommentEditsComponent, deps: [{ token: POPUP_DATA }, { token: i1.MailboxService }], target: i0.ɵɵFactoryTarget.Component });
|
22
|
+
CommentEditsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.0.0", type: CommentEditsComponent, selector: "bizdoc-comment-edits", ngImport: i0, template: "<span class=\"mat-title\">{{'History' | translate}}</span>\r\n\r\n<div *ngFor=\"let v of versions | async\" class=\"comment\">\r\n <p [innerHTML]=\"v.text|taggingHtml:resource\"></p>\r\n <bizdoc-identity-name class=\"mat-body\" [identity]=\"v.userId\" [by]=\"v.byId\" *ngIf=\"v.byId || byId\"></bizdoc-identity-name>\r\n <small>{{v.time | amCalendar}}</small>\r\n</div>\r\n", styles: [":host{padding:8px}\n"], dependencies: [{ kind: "directive", type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i3.IdentityName, selector: "bizdoc-identity-name", inputs: ["identity", "by", "chating"] }, { kind: "pipe", type: i2.AsyncPipe, name: "async" }, { kind: "pipe", type: i4.CalendarPipe, name: "amCalendar" }, { kind: "pipe", type: i5.TranslatePipe, name: "translate" }, { kind: "pipe", type: i6.TaggingPipe, name: "taggingHtml" }] });
|
23
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: CommentEditsComponent, decorators: [{
|
24
24
|
type: Component,
|
25
|
-
args: [{ selector: 'bizdoc-comment-edits',
|
25
|
+
args: [{ selector: 'bizdoc-comment-edits', template: "<span class=\"mat-title\">{{'History' | translate}}</span>\r\n\r\n<div *ngFor=\"let v of versions | async\" class=\"comment\">\r\n <p [innerHTML]=\"v.text|taggingHtml:resource\"></p>\r\n <bizdoc-identity-name class=\"mat-body\" [identity]=\"v.userId\" [by]=\"v.byId\" *ngIf=\"v.byId || byId\"></bizdoc-identity-name>\r\n <small>{{v.time | amCalendar}}</small>\r\n</div>\r\n", styles: [":host{padding:8px}\n"] }]
|
26
26
|
}], ctorParameters: function () { return [{ type: undefined, decorators: [{
|
27
27
|
type: Inject,
|
28
28
|
args: [POPUP_DATA]
|
29
29
|
}] }, { type: i1.MailboxService }]; } });
|
30
|
-
//# sourceMappingURL=data:application/json;base64,
|
30
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZWR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yXG4gIG5nT25Jbml0KCk6IHZvaWQge1xyXG4gICAgdGhpcy52ZXJzaW9ucyA9IHRoaXMuX21haWxib3guZWRpdHModGhpcy5fZGF0YS5kb2N1bWVudElkLCB0aGlzLl9kYXRhLmlkKTtcclxuICB9XHJcbn1cclxuXHJcbmV4cG9ydCBpbnRlcmZhY2UgQ29tbWVudFZlcnNpb25EYXRhIHtcclxuICBpZDogbnVtYmVyO1xyXG4gIGJ5SWQ6IHN0cmluZztcclxuICBkb2N1bWVudElkOiBudW1iZXI7XHJcbiAgcmVzb3VyY2U6IHtba2V5OnN0cmluZ106IGFueSB9XHJcbn1cclxuIiwiPHNwYW4gY2xhc3M9XCJtYXQtdGl0bGVcIj57eydIaXN0b3J5JyB8IHRyYW5zbGF0ZX19PC9zcGFuPlxyXG5cclxuPGRpdiAqbmdGb3I9XCJsZXQgdiBvZiB2ZXJzaW9ucyB8IGFzeW5jXCIgY2xhc3M9XCJjb21tZW50XCI+XHJcbiAgPHAgW2lubmVySFRNTF09XCJ2LnRleHR8dGFnZ2luZ0h0bWw6cmVzb3VyY2VcIj48L3A+XHJcbiAgPGJpemRvYy1pZGVudGl0eS1uYW1lIGNsYXNzPVwibWF0LWJvZHlcIiBbaWRlbnRpdHldPVwidi51c2VySWRcIiBbYnldPVwidi5ieUlkXCIgKm5nSWY9XCJ2LmJ5SWQgfHwgYnlJZFwiPjwvYml6ZG9jLWlkZW50aXR5LW5hbWU+XHJcbiAgPHNtYWxsPnt7di50aW1lIHwgYW1DYWxlbmRhcn19PC9zbWFsbD5cclxuPC9kaXY+XHJcbiJdfQ==
|
@@ -8,8 +8,8 @@ import * as i1 from "../../core/account.service";
|
|
8
8
|
import * as i2 from "../../core/mailbox.service";
|
9
9
|
import * as i3 from "../../core/hub.service";
|
10
10
|
import * as i4 from "../../core/prompt.service";
|
11
|
-
import * as i5 from "
|
12
|
-
import * as i6 from "
|
11
|
+
import * as i5 from "@angular/common";
|
12
|
+
import * as i6 from "../../core/tagging/edit-input.component";
|
13
13
|
import * as i7 from "../../core/pipes/translate.pipe";
|
14
14
|
export class QuickCommentComponent {
|
15
15
|
constructor(model, _accounts, _mailbox, _messaging, _sb) {
|
@@ -51,9 +51,9 @@ export class QuickCommentComponent {
|
|
51
51
|
this._destroy.complete();
|
52
52
|
}
|
53
53
|
}
|
54
|
-
QuickCommentComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
55
|
-
QuickCommentComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
56
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
54
|
+
QuickCommentComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: QuickCommentComponent, deps: [{ token: DOCUMENT_MODEL }, { token: i1.AccountService }, { token: i2.MailboxService }, { token: i3.HubService }, { token: i4.PromptService }], target: i0.ɵɵFactoryTarget.Component });
|
55
|
+
QuickCommentComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.0.0", type: QuickCommentComponent, selector: "bizdoc-quick-comment", ngImport: i0, template: "<div class=\"comments-typing\" [style.visibility]=\"typing ? 'visible': 'hidden'\">{{'Typing' | translate : typing}}</div>\r\n<bizdoc-edit-text (ok)=\"post($event)\" (change)=\"_textChange.next()\"\r\n [disabled]=\"sending\" [placeholder]=\"''\">\r\n</bizdoc-edit-text>\r\n<div *ngIf=\"model.comments.length\">{{(model.comments.length === 1 ? 'OneComment' : 'CommentsCount') | translate: model.comments.length}}</div>\r\n", styles: [":host{display:flex;flex-direction:column}.comments-typing{font-size:12px;padding:0 8px}\n"], dependencies: [{ kind: "directive", type: i5.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i6.EditInputComponent, selector: "bizdoc-edit-text", inputs: ["placeholder", "text", "image", "resource", "disabled", "autofocus", "cache"], outputs: ["change", "ok", "focus", "blur"] }, { kind: "pipe", type: i7.TranslatePipe, name: "translate" }] });
|
56
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: QuickCommentComponent, decorators: [{
|
57
57
|
type: Component,
|
58
58
|
args: [{ selector: 'bizdoc-quick-comment', template: "<div class=\"comments-typing\" [style.visibility]=\"typing ? 'visible': 'hidden'\">{{'Typing' | translate : typing}}</div>\r\n<bizdoc-edit-text (ok)=\"post($event)\" (change)=\"_textChange.next()\"\r\n [disabled]=\"sending\" [placeholder]=\"''\">\r\n</bizdoc-edit-text>\r\n<div *ngIf=\"model.comments.length\">{{(model.comments.length === 1 ? 'OneComment' : 'CommentsCount') | translate: model.comments.length}}</div>\r\n", styles: [":host{display:flex;flex-direction:column}.comments-typing{font-size:12px;padding:0 8px}\n"] }]
|
59
59
|
}], ctorParameters: function () { return [{ type: undefined, decorators: [{
|
@@ -5,14 +5,14 @@ import { POPUP_DATA } from '../../core/popup/popup.component';
|
|
5
5
|
import * as i0 from "@angular/core";
|
6
6
|
import * as i1 from "../../core/mailbox.service";
|
7
7
|
import * as i2 from "../../core/hub.service";
|
8
|
-
import * as i3 from "
|
8
|
+
import * as i3 from "@angular/common";
|
9
9
|
import * as i4 from "@angular/material/button";
|
10
10
|
import * as i5 from "@angular/material/icon";
|
11
|
-
import * as i6 from "
|
11
|
+
import * as i6 from "../../core/identity/identity.component";
|
12
12
|
import * as i7 from "../../core/popup/tooltip.directive";
|
13
|
-
import * as i8 from "../../core/pipes/
|
14
|
-
import * as i9 from "../../core/pipes/
|
15
|
-
import * as i10 from "../../core/pipes/
|
13
|
+
import * as i8 from "../../core/pipes/calendar.pipe";
|
14
|
+
import * as i9 from "../../core/pipes/time-ago.pipe";
|
15
|
+
import * as i10 from "../../core/pipes/translate.pipe";
|
16
16
|
export class CommentLikesComponent {
|
17
17
|
constructor(_data, _mailbox, _messaging) {
|
18
18
|
this._data = _data;
|
@@ -30,13 +30,13 @@ export class CommentLikesComponent {
|
|
30
30
|
this._destroy.complete();
|
31
31
|
}
|
32
32
|
}
|
33
|
-
CommentLikesComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
34
|
-
CommentLikesComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
35
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
33
|
+
CommentLikesComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: CommentLikesComponent, deps: [{ token: POPUP_DATA }, { token: i1.MailboxService }, { token: i2.HubService }], target: i0.ɵɵFactoryTarget.Component });
|
34
|
+
CommentLikesComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.0.0", type: CommentLikesComponent, selector: "bizdoc-comment-votes", ngImport: i0, template: "<span class=\"mat-title\">{{'Votes' | translate}}</span>\r\n<div *ngFor=\"let v of votes | async\" class=\"vote\">\r\n <bizdoc-identity-name class=\"mat-body\" [identity]=\"v.userId\" [by]=\"v.byId\"></bizdoc-identity-name>\r\n <button mat-icon-button><mat-icon>{{v.voted === 1 ? 'thumb_up_alt' : 'thumb_down_alt'}}</mat-icon></button>\r\n <br />\r\n <small bizdocTooltip=\"{{v.time | amCalendar }}\">{{v.time | amTimeAgo}}</small>\r\n</div>\r\n", styles: [":host{padding:8px}\n"], dependencies: [{ kind: "directive", type: i3.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "component", type: i4.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"] }, { kind: "component", type: i5.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "component", type: i6.IdentityName, selector: "bizdoc-identity-name", inputs: ["identity", "by", "chating"] }, { kind: "directive", type: i7.TooltipDirective, selector: "[bizdocTooltip]", inputs: ["bizdocTooltip", "bizdocTooltipTemplate", "bizdocTooltipContext", "bizdocTooltipPosition", "bizdocTooltipDuration", "bizdocTooltipDisabled"] }, { kind: "pipe", type: i3.AsyncPipe, name: "async" }, { kind: "pipe", type: i8.CalendarPipe, name: "amCalendar" }, { kind: "pipe", type: i9.TimeAgoPipe, name: "amTimeAgo" }, { kind: "pipe", type: i10.TranslatePipe, name: "translate" }] });
|
35
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: CommentLikesComponent, decorators: [{
|
36
36
|
type: Component,
|
37
|
-
args: [{ selector: 'bizdoc-comment-votes',
|
37
|
+
args: [{ selector: 'bizdoc-comment-votes', template: "<span class=\"mat-title\">{{'Votes' | translate}}</span>\r\n<div *ngFor=\"let v of votes | async\" class=\"vote\">\r\n <bizdoc-identity-name class=\"mat-body\" [identity]=\"v.userId\" [by]=\"v.byId\"></bizdoc-identity-name>\r\n <button mat-icon-button><mat-icon>{{v.voted === 1 ? 'thumb_up_alt' : 'thumb_down_alt'}}</mat-icon></button>\r\n <br />\r\n <small bizdocTooltip=\"{{v.time | amCalendar }}\">{{v.time | amTimeAgo}}</small>\r\n</div>\r\n", styles: [":host{padding:8px}\n"] }]
|
38
38
|
}], ctorParameters: function () { return [{ type: undefined, decorators: [{
|
39
39
|
type: Inject,
|
40
40
|
args: [POPUP_DATA]
|
41
41
|
}] }, { type: i1.MailboxService }, { type: i2.HubService }]; } });
|
42
|
-
//# sourceMappingURL=data:application/json;base64,
|
42
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidm90ZXMuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vbGlicmFyaWVzL2NvcmUvc3JjL2xpYi9jb21wb3NlL2NvbW1l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jdW1lbnRJZDogbnVtYmVyO1xyXG59XHJcbiIsIjxzcGFuIGNsYXNzPVwibWF0LXRpdGxlXCI+e3snVm90ZXMnIHwgdHJhbnNsYXRlfX08L3NwYW4+XHJcbjxkaXYgKm5nRm9yPVwibGV0IHYgb2Ygdm90ZXMgfCBhc3luY1wiIGNsYXNzPVwidm90ZVwiPlxyXG4gIDxiaXpkb2MtaWRlbnRpdHktbmFtZSBjbGFzcz1cIm1hdC1ib2R5XCIgW2lkZW50aXR5XT1cInYudXNlcklkXCIgW2J5XT1cInYuYnlJZFwiPjwvYml6ZG9jLWlkZW50aXR5LW5hbWU+XHJcbiAgPGJ1dHRvbiBtYXQtaWNvbi1idXR0b24+PG1hdC1pY29uPnt7di52b3RlZCA9PT0gMSA/ICd0aHVtYl91cF9hbHQnIDogJ3RodW1iX2Rvd25fYWx0J319PC9tYXQtaWNvbj48L2J1dHRvbj5cclxuICA8YnIgLz5cclxuICA8c21hbGwgYml6ZG9jVG9vbHRpcD1cInt7di50aW1lIHwgYW1DYWxlbmRhciB9fVwiPnt7di50aW1lIHwgYW1UaW1lQWdvfX08L3NtYWxsPlxyXG48L2Rpdj5cclxuIl19
|
@@ -24,9 +24,9 @@ export class RecipientResolveService {
|
|
24
24
|
return this._mailbox.get(id).pipe(tap(null, () => this._sb.error()));
|
25
25
|
}
|
26
26
|
}
|
27
|
-
RecipientResolveService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
28
|
-
RecipientResolveService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
29
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
27
|
+
RecipientResolveService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: RecipientResolveService, deps: [{ token: i1.MailboxService }, { token: i2.PromptService }, { token: i3.Router }], target: i0.ɵɵFactoryTarget.Injectable });
|
28
|
+
RecipientResolveService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: RecipientResolveService });
|
29
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: RecipientResolveService, decorators: [{
|
30
30
|
type: Injectable
|
31
31
|
}], ctorParameters: function () { return [{ type: i1.MailboxService }, { type: i2.PromptService }, { type: i3.Router }]; } });
|
32
32
|
/** */
|
@@ -47,9 +47,9 @@ export class DocumentResolveService {
|
|
47
47
|
return this._mailbox.info(id).pipe(tap(null, () => this._sb.error()));
|
48
48
|
}
|
49
49
|
}
|
50
|
-
DocumentResolveService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
51
|
-
DocumentResolveService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
52
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
50
|
+
DocumentResolveService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: DocumentResolveService, deps: [{ token: i1.MailboxService }, { token: i2.PromptService }, { token: i3.Router }], target: i0.ɵɵFactoryTarget.Injectable });
|
51
|
+
DocumentResolveService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: DocumentResolveService });
|
52
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: DocumentResolveService, decorators: [{
|
53
53
|
type: Injectable
|
54
54
|
}], ctorParameters: function () { return [{ type: i1.MailboxService }, { type: i2.PromptService }, { type: i3.Router }]; } });
|
55
55
|
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29tcG9zZS1yZXNvbHZlLnNlcnZpY2UuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9saWJyYXJpZXMvY29yZS9zc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KSB7XHJcbiAgICAgIGNvbnN0IGl0ZW0gPSBkYXRhLmV4dHJhcy5zdGF0ZVsnaXRlbSddO1xyXG4gICAgICAgIGlmIChpdGVtKVxyXG4gICAgICAgICAgICByZXR1cm4gb2YoaXRlbSk7XHJcbiAgICB9XHJcbiAgICAgICAgY29uc3QgaWQgPSByb3V0ZS5wYXJhbU1hcC5nZXQoJ2lkJykuZGVjb2RlSWQoKTtcclxuICAgICAgICByZXR1cm4gdGhpcy5fbWFpbGJveC5pbmZvKGlkKS5waXBlKHRhcChudWxsLCAoKSA9PiB0aGlzLl9zYi5lcnJvcigpKSk7XHJcbiAgfVxyXG59XHJcbiJdfQ==
|
@@ -11,20 +11,20 @@ import * as i0 from "@angular/core";
|
|
11
11
|
import * as i1 from "../core/window-title.service";
|
12
12
|
import * as i2 from "../core/session.service";
|
13
13
|
import * as i3 from "@angular/router";
|
14
|
-
import * as i4 from "@angular/
|
15
|
-
import * as i5 from "@angular/material/
|
16
|
-
import * as i6 from "@angular/material/
|
17
|
-
import * as i7 from "@angular/material/
|
18
|
-
import * as i8 from "@angular/material/
|
19
|
-
import * as i9 from "@angular/material/
|
20
|
-
import * as i10 from "
|
21
|
-
import * as i11 from "
|
22
|
-
import * as i12 from "
|
23
|
-
import * as i13 from "
|
24
|
-
import * as i14 from "
|
25
|
-
import * as i15 from "
|
26
|
-
import * as i16 from "../core/pipes/
|
27
|
-
import * as i17 from "../core/pipes/
|
14
|
+
import * as i4 from "@angular/common";
|
15
|
+
import * as i5 from "@angular/material/badge";
|
16
|
+
import * as i6 from "@angular/material/divider";
|
17
|
+
import * as i7 from "@angular/material/sidenav";
|
18
|
+
import * as i8 from "@angular/material/toolbar";
|
19
|
+
import * as i9 from "@angular/material/button";
|
20
|
+
import * as i10 from "@angular/material/icon";
|
21
|
+
import * as i11 from "@angular/material/menu";
|
22
|
+
import * as i12 from "../views/views.component";
|
23
|
+
import * as i13 from "./comments/comments.component";
|
24
|
+
import * as i14 from "./form.component";
|
25
|
+
import * as i15 from "../core/popup/tooltip.directive";
|
26
|
+
import * as i16 from "../core/pipes/sort.pipe";
|
27
|
+
import * as i17 from "../core/pipes/translate.pipe";
|
28
28
|
/** compose component responsible for editing a form */
|
29
29
|
export class ComposeComponent {
|
30
30
|
/** compose ctor */
|
@@ -91,9 +91,9 @@ export class ComposeComponent {
|
|
91
91
|
this._destroy.complete();
|
92
92
|
}
|
93
93
|
}
|
94
|
-
ComposeComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
95
|
-
ComposeComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
96
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
94
|
+
ComposeComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: ComposeComponent, deps: [{ token: i1.WindowTitleService }, { token: i2.SessionService }, { token: i3.Router }, { token: i3.ActivatedRoute }, { token: BIZDOC_CONFIG }], target: i0.ɵɵFactoryTarget.Component });
|
95
|
+
ComposeComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.0.0", type: ComposeComponent, selector: "ng-component", viewQueries: [{ propertyName: "form", first: true, predicate: ComposeFormComponent, descendants: true, static: true }, { propertyName: "comments", first: true, predicate: CommentsComponent, descendants: true }, { propertyName: "drawer", first: true, predicate: MatSidenav, descendants: true, static: true }], ngImport: i0, template: "<mat-toolbar class=\"nav-toolbar\">\r\n <button mat-icon-button color=\"primary\" (click)=\"form.back()\" [bizdocTooltip]=\"'Back'|translate\" *ngIf=\"form.page !== undefined\" tabindex=\"1\">\r\n <mat-icon class=\"mat-icon-rtl-mirror\">arrow_back</mat-icon>\r\n </button>\r\n <button mat-icon-button color=\"primary\" *ngIf=\"model.draft\" data-help=\"submit\"\r\n (click)=\"submit()\" [disabled]=\"!valid||working\" [bizdocTooltip]=\"'Submit' | translate\">\r\n <mat-icon class=\"mat-icon-rtl-mirror\">send</mat-icon>\r\n </button>\r\n <button mat-icon-button color=\"primary\" *ngIf=\"form.actions.length === 1\" [attr.data-help]=\"'action-'+form.actions[0].name\" (click)=\"send(model.actions[0])\" [disabled]=\"!valid||working\" [bizdocTooltip]=\"form.actions[0].title\">\r\n <mat-icon class=\"mat-icon-rtl-mirror\">{{form.actions[0].icon || 'send'}}</mat-icon>\r\n </button>\r\n <button mat-icon-button data-help=\"send\" color=\"primary\" *ngIf=\"form.actions.length > 1\" [matMenuTriggerFor]=\"actionmenu\" [disabled]=\"!valid||working\" [bizdocTooltip]=\"'Send' | translate\">\r\n <mat-icon class=\"mat-icon-rtl-mirror\">send</mat-icon>\r\n </button>\r\n <!-- action -->\r\n <mat-menu #actionmenu>\r\n <ng-container *ngFor=\"let a of form.actions | sort : 'group'; let i = index\">\r\n <mat-divider *ngIf=\"i>0 && form.actions[i-1].group !== a.group\"></mat-divider>\r\n <button mat-menu-item (click)=\"send(a.name)\">{{a.title}}</button>\r\n </ng-container>\r\n </mat-menu>\r\n <button mat-icon-button (click)=\"form.save().subscribe()\" data-help=\"save\" [disabled]=\"!dirty||working\" [bizdocTooltip]=\"(model.draft ? 'SaveDraft' : 'Save') | translate\" *ngIf=\"mode === 'compose'\">\r\n <mat-icon>save</mat-icon>\r\n </button>\r\n <button mat-icon-button data-help=\"tag\" (click)=\"form.tag($event)\" [bizdocTooltip]=\"'Tags' | translate\" [disabled]=\"working\"><mat-icon class=\"filled\">{{model.tags && model.tags.length ?'bookmark':'bookmark_border'}}</mat-icon></button>\r\n <button mat-icon-button data-help=\"flag\" [bizdocTooltip]=\"'Flagged'| translate\" [disabled]=\"working\" (click)=\"form.flag()\"><mat-icon class=\"filled\">{{model.flag ? 'star' : 'star_border'}}</mat-icon></button>\r\n <button mat-icon-button (click)=\"form.attach()\" data-help=\"attach\" [bizdocTooltip]=\"'AttachFile' | translate\" [disabled]=\"working\"><mat-icon>attach_file</mat-icon></button>\r\n <button mat-icon-button [disabled]=\"working\" data-help=\"edit\" (click)=\"edit()\" [bizdocTooltip]=\"'Edit' | translate\" *ngIf=\"mode !== 'compose' && !model.completed && model.pending\"><mat-icon>create</mat-icon></button>\r\n <span class=\"divider\"></span> \r\n <button mat-icon-button (click)=\"toggle('comments')\" data-help=\"comments\" [bizdocTooltip]=\"'Comments' | translate\" [matBadge]=\"newCommentsCount\" [matBadgeHidden]=\"!newCommentsCount\" matBadgeColor=\"accent\">\r\n <mat-icon class=\"filled\">format_quote</mat-icon>\r\n </button>\r\n <button mat-icon-button (click)=\"toggle('views')\" [bizdocTooltip]=\"'View' | translate\" [attr.aria-label]=\"'View' | translate\" *ngIf=\"enableAnalysis\" class=\"tool\"><mat-icon>data_usage</mat-icon></button>\r\n <button mat-icon-button [matMenuTriggerFor]=\"optionsMenu\" [bizdocTooltip]=\"'Options' | translate\" [attr.aria-label]=\"'Options' | translate\"><mat-icon>more_vert</mat-icon></button>\r\n <mat-menu #optionsMenu=\"matMenu\">\r\n <ng-template matMenuContent>\r\n <button mat-menu-item (click)=\"form.copy()\" [disabled]=\"working\">\r\n <!--<mat-icon>content_copy</mat-icon>-->\r\n <span>{{'Copy' | translate}}</span>\r\n </button>\r\n <button mat-menu-item (click)=\"discard()\" *ngIf=\"model.draft && !model.issued\" [disabled]=\"working\">\r\n <!--<mat-icon>delete_outlined</mat-icon>-->\r\n <span>{{'Discard' | translate}}</span>\r\n </button>\r\n <ng-container *ngIf=\"form.help\">\r\n <mat-divider></mat-divider>\r\n <button mat-menu-item (click)=\"form.guide(form.help)\">\r\n <!--<mat-icon>help_outline</mat-icon>-->\r\n <span>{{'Help' | translate}}</span>\r\n </button>\r\n </ng-container>\r\n </ng-template>\r\n </mat-menu>\r\n</mat-toolbar>\r\n<mat-sidenav-container class=\"page-container\">\r\n <mat-sidenav-content>\r\n <bizdoc-form [model]=model #form (validChange)=\"valid=$event\"\r\n (workingChange)=\"working=$event\"\r\n (dirtyChange)=\"dirty=$event\" [mode]=\"mode\"></bizdoc-form>\r\n </mat-sidenav-content>\r\n <mat-sidenav mode=\"over\" position=\"end\" [opened]=\"false\" #drawer autoFocus=\"false\" class=\"side-nav\">\r\n <ng-container [ngSwitch]=\"viewMode\">\r\n <bizdoc-document-views [model]=\"model\" *ngSwitchCase=\"'views'\"></bizdoc-document-views>\r\n <bizdoc-comments [model]=\"model\" *ngSwitchDefault></bizdoc-comments>\r\n </ng-container>\r\n </mat-sidenav>\r\n</mat-sidenav-container>\r\n", styles: [".page-container ::ng-deep form{padding:6px}.side-nav{min-width:280px}\n"], dependencies: [{ kind: "directive", type: i4.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i4.NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { kind: "directive", type: i4.NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }, { kind: "directive", type: i4.NgSwitchDefault, selector: "[ngSwitchDefault]" }, { kind: "directive", type: i5.MatBadge, selector: "[matBadge]", inputs: ["matBadgeDisabled", "matBadgeColor", "matBadgeOverlap", "matBadgePosition", "matBadge", "matBadgeDescription", "matBadgeSize", "matBadgeHidden"] }, { kind: "component", type: i6.MatDivider, selector: "mat-divider", inputs: ["vertical", "inset"] }, { kind: "component", type: i7.MatSidenav, selector: "mat-sidenav", inputs: ["fixedInViewport", "fixedTopGap", "fixedBottomGap"], exportAs: ["matSidenav"] }, { kind: "component", type: i7.MatSidenavContainer, selector: "mat-sidenav-container", exportAs: ["matSidenavContainer"] }, { kind: "component", type: i7.MatSidenavContent, selector: "mat-sidenav-content" }, { kind: "component", type: i8.MatToolbar, selector: "mat-toolbar", inputs: ["color"], exportAs: ["matToolbar"] }, { kind: "component", 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"] }, { kind: "component", type: i10.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "component", type: i11.MatMenu, selector: "mat-menu", exportAs: ["matMenu"] }, { kind: "component", type: i11.MatMenuItem, selector: "[mat-menu-item]", inputs: ["disabled", "disableRipple", "role"], exportAs: ["matMenuItem"] }, { kind: "directive", type: i11.MatMenuTrigger, selector: "[mat-menu-trigger-for], [matMenuTriggerFor]", exportAs: ["matMenuTrigger"] }, { kind: "directive", type: i11.MatMenuContent, selector: "ng-template[matMenuContent]" }, { kind: "component", type: i12.DocumentViewsComponent, selector: "bizdoc-document-views", inputs: ["model"] }, { kind: "component", type: i13.CommentsComponent, selector: "bizdoc-comments", inputs: ["model"], outputs: ["change"] }, { kind: "component", type: i14.ComposeFormComponent, selector: "bizdoc-form", inputs: ["model", "working", "dirty", "valid", "mode", "contacts"], outputs: ["modelChange", "workingChange", "dirtyChange", "validChange", "saved"] }, { kind: "directive", type: i15.TooltipDirective, selector: "[bizdocTooltip]", inputs: ["bizdocTooltip", "bizdocTooltipTemplate", "bizdocTooltipContext", "bizdocTooltipPosition", "bizdocTooltipDuration", "bizdocTooltipDisabled"] }, { kind: "pipe", type: i16.ArraySortPipe, name: "sort" }, { kind: "pipe", type: i17.TranslatePipe, name: "translate" }] });
|
96
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: ComposeComponent, decorators: [{
|
97
97
|
type: Component,
|
98
98
|
args: [{ template: "<mat-toolbar class=\"nav-toolbar\">\r\n <button mat-icon-button color=\"primary\" (click)=\"form.back()\" [bizdocTooltip]=\"'Back'|translate\" *ngIf=\"form.page !== undefined\" tabindex=\"1\">\r\n <mat-icon class=\"mat-icon-rtl-mirror\">arrow_back</mat-icon>\r\n </button>\r\n <button mat-icon-button color=\"primary\" *ngIf=\"model.draft\" data-help=\"submit\"\r\n (click)=\"submit()\" [disabled]=\"!valid||working\" [bizdocTooltip]=\"'Submit' | translate\">\r\n <mat-icon class=\"mat-icon-rtl-mirror\">send</mat-icon>\r\n </button>\r\n <button mat-icon-button color=\"primary\" *ngIf=\"form.actions.length === 1\" [attr.data-help]=\"'action-'+form.actions[0].name\" (click)=\"send(model.actions[0])\" [disabled]=\"!valid||working\" [bizdocTooltip]=\"form.actions[0].title\">\r\n <mat-icon class=\"mat-icon-rtl-mirror\">{{form.actions[0].icon || 'send'}}</mat-icon>\r\n </button>\r\n <button mat-icon-button data-help=\"send\" color=\"primary\" *ngIf=\"form.actions.length > 1\" [matMenuTriggerFor]=\"actionmenu\" [disabled]=\"!valid||working\" [bizdocTooltip]=\"'Send' | translate\">\r\n <mat-icon class=\"mat-icon-rtl-mirror\">send</mat-icon>\r\n </button>\r\n <!-- action -->\r\n <mat-menu #actionmenu>\r\n <ng-container *ngFor=\"let a of form.actions | sort : 'group'; let i = index\">\r\n <mat-divider *ngIf=\"i>0 && form.actions[i-1].group !== a.group\"></mat-divider>\r\n <button mat-menu-item (click)=\"send(a.name)\">{{a.title}}</button>\r\n </ng-container>\r\n </mat-menu>\r\n <button mat-icon-button (click)=\"form.save().subscribe()\" data-help=\"save\" [disabled]=\"!dirty||working\" [bizdocTooltip]=\"(model.draft ? 'SaveDraft' : 'Save') | translate\" *ngIf=\"mode === 'compose'\">\r\n <mat-icon>save</mat-icon>\r\n </button>\r\n <button mat-icon-button data-help=\"tag\" (click)=\"form.tag($event)\" [bizdocTooltip]=\"'Tags' | translate\" [disabled]=\"working\"><mat-icon class=\"filled\">{{model.tags && model.tags.length ?'bookmark':'bookmark_border'}}</mat-icon></button>\r\n <button mat-icon-button data-help=\"flag\" [bizdocTooltip]=\"'Flagged'| translate\" [disabled]=\"working\" (click)=\"form.flag()\"><mat-icon class=\"filled\">{{model.flag ? 'star' : 'star_border'}}</mat-icon></button>\r\n <button mat-icon-button (click)=\"form.attach()\" data-help=\"attach\" [bizdocTooltip]=\"'AttachFile' | translate\" [disabled]=\"working\"><mat-icon>attach_file</mat-icon></button>\r\n <button mat-icon-button [disabled]=\"working\" data-help=\"edit\" (click)=\"edit()\" [bizdocTooltip]=\"'Edit' | translate\" *ngIf=\"mode !== 'compose' && !model.completed && model.pending\"><mat-icon>create</mat-icon></button>\r\n <span class=\"divider\"></span> \r\n <button mat-icon-button (click)=\"toggle('comments')\" data-help=\"comments\" [bizdocTooltip]=\"'Comments' | translate\" [matBadge]=\"newCommentsCount\" [matBadgeHidden]=\"!newCommentsCount\" matBadgeColor=\"accent\">\r\n <mat-icon class=\"filled\">format_quote</mat-icon>\r\n </button>\r\n <button mat-icon-button (click)=\"toggle('views')\" [bizdocTooltip]=\"'View' | translate\" [attr.aria-label]=\"'View' | translate\" *ngIf=\"enableAnalysis\" class=\"tool\"><mat-icon>data_usage</mat-icon></button>\r\n <button mat-icon-button [matMenuTriggerFor]=\"optionsMenu\" [bizdocTooltip]=\"'Options' | translate\" [attr.aria-label]=\"'Options' | translate\"><mat-icon>more_vert</mat-icon></button>\r\n <mat-menu #optionsMenu=\"matMenu\">\r\n <ng-template matMenuContent>\r\n <button mat-menu-item (click)=\"form.copy()\" [disabled]=\"working\">\r\n <!--<mat-icon>content_copy</mat-icon>-->\r\n <span>{{'Copy' | translate}}</span>\r\n </button>\r\n <button mat-menu-item (click)=\"discard()\" *ngIf=\"model.draft && !model.issued\" [disabled]=\"working\">\r\n <!--<mat-icon>delete_outlined</mat-icon>-->\r\n <span>{{'Discard' | translate}}</span>\r\n </button>\r\n <ng-container *ngIf=\"form.help\">\r\n <mat-divider></mat-divider>\r\n <button mat-menu-item (click)=\"form.guide(form.help)\">\r\n <!--<mat-icon>help_outline</mat-icon>-->\r\n <span>{{'Help' | translate}}</span>\r\n </button>\r\n </ng-container>\r\n </ng-template>\r\n </mat-menu>\r\n</mat-toolbar>\r\n<mat-sidenav-container class=\"page-container\">\r\n <mat-sidenav-content>\r\n <bizdoc-form [model]=model #form (validChange)=\"valid=$event\"\r\n (workingChange)=\"working=$event\"\r\n (dirtyChange)=\"dirty=$event\" [mode]=\"mode\"></bizdoc-form>\r\n </mat-sidenav-content>\r\n <mat-sidenav mode=\"over\" position=\"end\" [opened]=\"false\" #drawer autoFocus=\"false\" class=\"side-nav\">\r\n <ng-container [ngSwitch]=\"viewMode\">\r\n <bizdoc-document-views [model]=\"model\" *ngSwitchCase=\"'views'\"></bizdoc-document-views>\r\n <bizdoc-comments [model]=\"model\" *ngSwitchDefault></bizdoc-comments>\r\n </ng-container>\r\n </mat-sidenav>\r\n</mat-sidenav-container>\r\n", styles: [".page-container ::ng-deep form{padding:6px}.side-nav{min-width:280px}\n"] }]
|
99
99
|
}], ctorParameters: function () { return [{ type: i1.WindowTitleService }, { type: i2.SessionService }, { type: i3.Router }, { type: i3.ActivatedRoute }, { type: undefined, decorators: [{
|