@bizdoc/core 1.14.14 → 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 +17 -11
- 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 +36 -36
- package/esm2020/lib/admin/form/workflow/role-node.component.mjs +15 -15
- package/esm2020/lib/admin/form/workflow/workflow.component.mjs +163 -120
- 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 +21 -21
- package/esm2020/lib/admin/profiler/outofoffice.component.mjs +21 -21
- package/esm2020/lib/admin/profiler/profiler.component.mjs +19 -19
- 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 +5 -5
- 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 +18 -0
- 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 +4 -4
- 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 +25 -27
- 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/esm2020/public-api.mjs +2 -2
- package/fesm2015/bizdoc-core.mjs +1809 -1881
- package/fesm2015/bizdoc-core.mjs.map +1 -1
- package/fesm2020/bizdoc-core.mjs +1777 -1853
- package/fesm2020/bizdoc-core.mjs.map +1 -1
- package/{bizdoc-core.d.ts → index.d.ts} +0 -0
- package/lib/admin/admin-dismiss.service.d.ts +3 -3
- 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 +6 -5
- 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/{compose → core}/save-changes.dialog.d.ts +1 -1
- package/lib/core/slots/router.directive.d.ts +1 -1
- package/lib/core/slots/router.service.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/shared.module.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/public-api.d.ts +1 -1
- package/assets/.gitkeep +0 -0
- package/esm2020/lib/compose/save-changes.dialog.mjs +0 -18
@@ -6,11 +6,11 @@ import { ActionRef } from './action-ref';
|
|
6
6
|
import * as i0 from "@angular/core";
|
7
7
|
import * as i1 from "../../core/session.service";
|
8
8
|
import * as i2 from "../../core/component-factory-resolver";
|
9
|
-
import * as i3 from "
|
10
|
-
import * as i4 from "@angular/
|
9
|
+
import * as i3 from "@angular/common";
|
10
|
+
import * as i4 from "@angular/flex-layout/flex";
|
11
11
|
import * as i5 from "@angular/material/dialog";
|
12
|
-
import * as i6 from "@angular/
|
13
|
-
import * as i7 from "
|
12
|
+
import * as i6 from "@angular/material/button";
|
13
|
+
import * as i7 from "../../core/layout/layout.component";
|
14
14
|
import * as i8 from "../../core/NgComponentOutlet";
|
15
15
|
import * as i9 from "../../core/pipes/translate.pipe";
|
16
16
|
/** action-dialog component*/
|
@@ -46,9 +46,9 @@ export class ActionDialog {
|
|
46
46
|
this._destroy.complete();
|
47
47
|
}
|
48
48
|
}
|
49
|
-
ActionDialog.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
50
|
-
ActionDialog.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
51
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
49
|
+
ActionDialog.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: ActionDialog, deps: [{ token: MAT_DIALOG_DATA }, { token: i1.SessionService }, { token: i2.BizDocComponentFactoryResolver }], target: i0.ɵɵFactoryTarget.Component });
|
50
|
+
ActionDialog.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.0.0", type: ActionDialog, selector: "ng-component", viewQueries: [{ propertyName: "container", first: true, predicate: ["container"], descendants: true, read: ViewContainerRef }], ngImport: i0, template: "<h2 mat-dialog-title>{{action.title}}</h2>\r\n<mat-dialog-content fxLayout=\"column\">\r\n <p *ngIf=\"!action.arguments.length\">\r\n {{ 'ActionAsk' | translate : (action.verb || action.title).toLowerCase() }}\r\n </p>\r\n <bizdoc-layout [fields]=\"action.arguments\"\r\n *ngIf=\"!action.template; else template\"\r\n [(model)]=\"arguments\"\r\n [(valid)]=\"valid\"></bizdoc-layout>\r\n</mat-dialog-content>\r\n<mat-dialog-actions>\r\n <button mat-button type=\"submit\" [disabled]=\"!valid\" [mat-dialog-close]=\"arguments\" color=\"primary\">{{'Yes'|translate}}</button>\r\n <button mat-button mat-dialog-close>{{'No' | translate}}</button>\r\n</mat-dialog-actions>\r\n<ng-template #template>\r\n <ngx-component-outlet [type]=\"comp\" [injector]=\"injector\" (create)=\"bind($event)\"></ngx-component-outlet>\r\n</ng-template>\r\n", styles: [":host ::ng-deep form{display:flex}\n"], dependencies: [{ kind: "directive", type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i4.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: "directive", type: i5.MatDialogClose, selector: "[mat-dialog-close], [matDialogClose]", inputs: ["aria-label", "type", "mat-dialog-close", "matDialogClose"], exportAs: ["matDialogClose"] }, { kind: "directive", type: i5.MatDialogTitle, selector: "[mat-dialog-title], [matDialogTitle]", inputs: ["id"], exportAs: ["matDialogTitle"] }, { kind: "directive", type: i5.MatDialogContent, selector: "[mat-dialog-content], mat-dialog-content, [matDialogContent]" }, { kind: "directive", type: i5.MatDialogActions, selector: "[mat-dialog-actions], mat-dialog-actions, [matDialogActions]", inputs: ["align"] }, { kind: "component", 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"] }, { kind: "component", type: i7.LayoutComponent, selector: "bizdoc-layout", inputs: ["fields", "model", "dirty", "params", "valid"], outputs: ["modelChange", "dirtyChange", "validChange"] }, { kind: "directive", type: i8.NgxComponentOutlet, selector: "ngx-component-outlet", inputs: ["type", "injector", "ngxComponentOutletContent"], outputs: ["create"] }, { kind: "pipe", type: i9.TranslatePipe, name: "translate" }] });
|
51
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: ActionDialog, decorators: [{
|
52
52
|
type: Component,
|
53
53
|
args: [{ template: "<h2 mat-dialog-title>{{action.title}}</h2>\r\n<mat-dialog-content fxLayout=\"column\">\r\n <p *ngIf=\"!action.arguments.length\">\r\n {{ 'ActionAsk' | translate : (action.verb || action.title).toLowerCase() }}\r\n </p>\r\n <bizdoc-layout [fields]=\"action.arguments\"\r\n *ngIf=\"!action.template; else template\"\r\n [(model)]=\"arguments\"\r\n [(valid)]=\"valid\"></bizdoc-layout>\r\n</mat-dialog-content>\r\n<mat-dialog-actions>\r\n <button mat-button type=\"submit\" [disabled]=\"!valid\" [mat-dialog-close]=\"arguments\" color=\"primary\">{{'Yes'|translate}}</button>\r\n <button mat-button mat-dialog-close>{{'No' | translate}}</button>\r\n</mat-dialog-actions>\r\n<ng-template #template>\r\n <ngx-component-outlet [type]=\"comp\" [injector]=\"injector\" (create)=\"bind($event)\"></ngx-component-outlet>\r\n</ng-template>\r\n", styles: [":host ::ng-deep form{display:flex}\n"] }]
|
54
54
|
}], ctorParameters: function () { return [{ type: undefined, decorators: [{
|
@@ -11,9 +11,9 @@ import * as i4 from "../../core/account.service";
|
|
11
11
|
import * as i5 from "../../core/prompt.service";
|
12
12
|
import * as i6 from "../../core/translate.service";
|
13
13
|
import * as i7 from "../../core/session.service";
|
14
|
-
import * as i8 from "@angular/
|
14
|
+
import * as i8 from "@angular/common";
|
15
15
|
import * as i9 from "@angular/material/dialog";
|
16
|
-
import * as i10 from "@angular/
|
16
|
+
import * as i10 from "@angular/material/button";
|
17
17
|
import * as i11 from "../../core/pipes/translate.pipe";
|
18
18
|
/** action-dialog component*/
|
19
19
|
export class ActionPaneComponent extends ActionBase {
|
@@ -58,9 +58,9 @@ export class ActionPaneComponent extends ActionBase {
|
|
58
58
|
this._destroy.complete();
|
59
59
|
}
|
60
60
|
}
|
61
|
-
ActionPaneComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
62
|
-
ActionPaneComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
63
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
61
|
+
ActionPaneComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: ActionPaneComponent, deps: [{ token: i1.PaneRef }, { token: i2.MailboxService }, { token: i3.BizDocComponentFactoryResolver }, { token: i0.ComponentFactoryResolver }, { token: i4.AccountService }, { token: i5.PromptService }, { token: i6.TranslateService }, { token: i7.SessionService }], target: i0.ɵɵFactoryTarget.Component });
|
62
|
+
ActionPaneComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.0.0", type: ActionPaneComponent, selector: "bizdoc-action-dialog.pane", host: { classAttribute: "pane" }, viewQueries: [{ propertyName: "container", first: true, predicate: ["container"], descendants: true }], usesInheritance: true, ngImport: i0, template: "<h2 mat-dialog-title>{{action.title}}</h2>\r\n<mat-dialog-content>\r\n <p *ngIf=\"!action.arguments.length\">\r\n {{ 'ActionAsk' | translate : (action.verb || action.title).toLowerCase() }}\r\n </p>\r\n <ng-container #container>\r\n </ng-container>\r\n</mat-dialog-content>\r\n<mat-dialog-actions>\r\n <button mat-button type=\"submit\" [disabled]=\"!valid\" (click)=\"ok()\" color=\"primary\">{{'Yes'|translate}}</button>\r\n <button mat-button (click)='close()'>{{'No' | translate}}</button>\r\n</mat-dialog-actions>\r\n", styles: [":host ::ng-deep form{display:flex}\n"], dependencies: [{ kind: "directive", type: i8.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i9.MatDialogTitle, selector: "[mat-dialog-title], [matDialogTitle]", inputs: ["id"], exportAs: ["matDialogTitle"] }, { kind: "directive", type: i9.MatDialogContent, selector: "[mat-dialog-content], mat-dialog-content, [matDialogContent]" }, { kind: "directive", type: i9.MatDialogActions, selector: "[mat-dialog-actions], mat-dialog-actions, [matDialogActions]", inputs: ["align"] }, { kind: "component", type: i10.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: "pipe", type: i11.TranslatePipe, name: "translate" }] });
|
63
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: ActionPaneComponent, decorators: [{
|
64
64
|
type: Component,
|
65
65
|
args: [{ selector: 'bizdoc-action-dialog.pane', host: {
|
66
66
|
class: 'pane'
|
@@ -9,14 +9,14 @@ import * as i0 from "@angular/core";
|
|
9
9
|
import * as i1 from "@angular/forms";
|
10
10
|
import * as i2 from "../../core/session.service";
|
11
11
|
import * as i3 from "../../core/account.service";
|
12
|
-
import * as i4 from "@angular/
|
13
|
-
import * as i5 from "@angular/
|
14
|
-
import * as i6 from "@angular/material/
|
15
|
-
import * as i7 from "@angular/material/
|
16
|
-
import * as i8 from "@angular/
|
17
|
-
import * as i9 from "@angular/material/
|
18
|
-
import * as i10 from "@angular/
|
19
|
-
import * as i11 from "@angular/
|
12
|
+
import * as i4 from "@angular/common";
|
13
|
+
import * as i5 from "@angular/flex-layout/flex";
|
14
|
+
import * as i6 from "@angular/material/autocomplete";
|
15
|
+
import * as i7 from "@angular/material/core";
|
16
|
+
import * as i8 from "@angular/material/form-field";
|
17
|
+
import * as i9 from "@angular/material/checkbox";
|
18
|
+
import * as i10 from "@angular/cdk/text-field";
|
19
|
+
import * as i11 from "@angular/material/input";
|
20
20
|
import * as i12 from "../../core/pipes/translate.pipe";
|
21
21
|
let AssignActionComponent = class AssignActionComponent {
|
22
22
|
constructor(_fb, _session, _accounts) {
|
@@ -52,19 +52,19 @@ let AssignActionComponent = class AssignActionComponent {
|
|
52
52
|
this._destroy.complete();
|
53
53
|
}
|
54
54
|
};
|
55
|
-
AssignActionComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
56
|
-
AssignActionComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
55
|
+
AssignActionComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: AssignActionComponent, deps: [{ token: i1.FormBuilder }, { token: i2.SessionService }, { token: i3.AccountService }], target: i0.ɵɵFactoryTarget.Component });
|
56
|
+
AssignActionComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.0.0", type: AssignActionComponent, selector: "ng-component", viewQueries: [{ propertyName: "nameInput", first: true, predicate: ["nameInput"], descendants: true, read: ElementRef, static: true }], ngImport: i0, template: "<form autocomplete=\"off\" fxLayout=\"column\" [formGroup]=\"form\">\r\n <mat-form-field>\r\n <input required [placeholder]=\"'AssignTo'|translate\"\r\n [formControl]=userId\r\n cdkFocusInitial matInput\r\n [matAutocomplete]=\"auto\">\r\n <mat-autocomplete #auto=\"matAutocomplete\" (optionSelected)=\"userSelected($event)\" [displayWith]=\"displayWith\">\r\n <mat-option *ngFor=\"let u of users$ | async\" [value]=\"u\">\r\n {{u.name}}\r\n <span *ngIf=\"u.email\"> - {{u.email}}</span>\r\n </mat-option>\r\n </mat-autocomplete>\r\n <mat-error *ngIf=\"form.controls.userIds.hasError('required')\">{{'Required'|translate:('AssignTo'|translate)}}</mat-error>\r\n </mat-form-field>\r\n <mat-checkbox formControlName=fyi> {{ 'AssignFYI' | translate }}</mat-checkbox>\r\n <!--<mat-checkbox formControlName=roundtrip> {{ 'AssignRoundtrip' | translate }}</mat-checkbox>-->\r\n <mat-form-field>\r\n <textarea matInput cdkTextareaAutosize formControlName=\"note\" [placeholder]=\"'Note'|translate\" maxlength=\"200\">\r\n </textarea>\r\n <mat-hint align=\"end\">{{form.controls['note'].value?.length || 0}} / {{200}}</mat-hint>\r\n <mat-hint>{{'AssignNoteHint'| translate}}</mat-hint>\r\n </mat-form-field>\r\n</form>\r\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: i1.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i1.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i1.RequiredValidator, selector: ":not([type=checkbox])[required][formControlName],:not([type=checkbox])[required][formControl],:not([type=checkbox])[required][ngModel]", inputs: ["required"] }, { kind: "directive", type: i1.MaxLengthValidator, selector: "[maxlength][formControlName],[maxlength][formControl],[maxlength][ngModel]", inputs: ["maxlength"] }, { kind: "directive", type: i1.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "directive", type: i1.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i1.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "directive", type: i5.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: i6.MatAutocomplete, selector: "mat-autocomplete", inputs: ["disableRipple"], exportAs: ["matAutocomplete"] }, { kind: "directive", type: i6.MatAutocompleteTrigger, selector: "input[matAutocomplete], textarea[matAutocomplete]", exportAs: ["matAutocompleteTrigger"] }, { kind: "component", type: i7.MatOption, selector: "mat-option", exportAs: ["matOption"] }, { kind: "directive", type: i8.MatError, selector: "mat-error", inputs: ["id"] }, { kind: "component", type: i8.MatFormField, selector: "mat-form-field", inputs: ["color", "appearance", "hideRequiredMarker", "hintLabel", "floatLabel"], exportAs: ["matFormField"] }, { kind: "directive", type: i8.MatHint, selector: "mat-hint", inputs: ["align", "id"] }, { kind: "component", type: i9.MatCheckbox, selector: "mat-checkbox", inputs: ["disableRipple", "color", "tabIndex"], exportAs: ["matCheckbox"] }, { kind: "directive", type: i10.CdkTextareaAutosize, selector: "textarea[cdkTextareaAutosize]", inputs: ["cdkAutosizeMinRows", "cdkAutosizeMaxRows", "cdkTextareaAutosize", "placeholder"], exportAs: ["cdkTextareaAutosize"] }, { kind: "directive", type: i11.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"] }, { kind: "pipe", type: i4.AsyncPipe, name: "async" }, { kind: "pipe", type: i12.TranslatePipe, name: "translate" }] });
|
57
57
|
AssignActionComponent = __decorate([
|
58
58
|
BizDoc({
|
59
59
|
selector: 'bizdoc-action-assign'
|
60
60
|
})
|
61
61
|
], AssignActionComponent);
|
62
62
|
export { AssignActionComponent };
|
63
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
63
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: AssignActionComponent, decorators: [{
|
64
64
|
type: Component,
|
65
65
|
args: [{ template: "<form autocomplete=\"off\" fxLayout=\"column\" [formGroup]=\"form\">\r\n <mat-form-field>\r\n <input required [placeholder]=\"'AssignTo'|translate\"\r\n [formControl]=userId\r\n cdkFocusInitial matInput\r\n [matAutocomplete]=\"auto\">\r\n <mat-autocomplete #auto=\"matAutocomplete\" (optionSelected)=\"userSelected($event)\" [displayWith]=\"displayWith\">\r\n <mat-option *ngFor=\"let u of users$ | async\" [value]=\"u\">\r\n {{u.name}}\r\n <span *ngIf=\"u.email\"> - {{u.email}}</span>\r\n </mat-option>\r\n </mat-autocomplete>\r\n <mat-error *ngIf=\"form.controls.userIds.hasError('required')\">{{'Required'|translate:('AssignTo'|translate)}}</mat-error>\r\n </mat-form-field>\r\n <mat-checkbox formControlName=fyi> {{ 'AssignFYI' | translate }}</mat-checkbox>\r\n <!--<mat-checkbox formControlName=roundtrip> {{ 'AssignRoundtrip' | translate }}</mat-checkbox>-->\r\n <mat-form-field>\r\n <textarea matInput cdkTextareaAutosize formControlName=\"note\" [placeholder]=\"'Note'|translate\" maxlength=\"200\">\r\n </textarea>\r\n <mat-hint align=\"end\">{{form.controls['note'].value?.length || 0}} / {{200}}</mat-hint>\r\n <mat-hint>{{'AssignNoteHint'| translate}}</mat-hint>\r\n </mat-form-field>\r\n</form>\r\n" }]
|
66
66
|
}], ctorParameters: function () { return [{ type: i1.FormBuilder }, { type: i2.SessionService }, { type: i3.AccountService }]; }, propDecorators: { nameInput: [{
|
67
67
|
type: ViewChild,
|
68
68
|
args: ['nameInput', { static: true, read: ElementRef }]
|
69
69
|
}] } });
|
70
|
-
//# sourceMappingURL=data:application/json;base64,
|
70
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXNzaWduLWFjdGlvbi5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9saWJyYXJpZXMvY29yZS9zcmMvbGliL2NvbXBvc2UvYWN0aW9uL2Fzc2lnbi1hY3Rpb24uY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vbGlicmFyaWVzL2NvcmUvc3JjL2xpYi9jb21wb3NlL2FjdGlvbi9hc3NpZ24tYWN0aW9uLmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7QUFBQSxPQUFPLEVBQUUsU0FBUyxFQUFFLFVBQVUsRUFBcUIsU0FBUyxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQ3BGLE9BQU8sRUFBZSxVQUFVLEVBQUUsTUFBTSxnQkFBZ0IsQ0FBQztBQUV6RCxPQUFPLEVBQUUsWUFBWSxFQUFjLE9BQU8sRUFBRSxNQUFNLE1BQU0sQ0FBQztBQUN6RCxPQUFPLEVBQUUsU0FBUyxFQUFFLEdBQUcsRUFBRSxTQUFTLEVBQUUsTUFBTSxnQkFBZ0IsQ0FBQztBQUMzRCxPQUFPLEVBQUUsTUFBTSxFQUFFLE1BQU0sdUJBQXVCLENBQUM7QUFLL0MsT0FBTyxFQUFFLFFBQVEsRUFB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tY2hlY2tib3ggZm9ybUNvbnRyb2xOYW1lPWZ5aT4ge3sgJ0Fzc2lnbkZZSScgfCB0cmFuc2xhdGUgfX08L21hdC1jaGVja2JveD5cclxuICA8IS0tPG1hdC1jaGVja2JveCBmb3JtQ29udHJvbE5hbWU9cm91bmR0cmlwPiB7eyAnQXNzaWduUm91bmR0cmlwJyB8IHRyYW5zbGF0ZSB9fTwvbWF0LWNoZWNrYm94Pi0tPlxyXG4gIDxtYXQtZm9ybS1maWVsZD5cclxuICAgIDx0ZXh0YXJlYSBtYXRJbnB1dCBjZGtUZXh0YXJlYUF1dG9zaXplIGZvcm1Db250cm9sTmFtZT1cIm5vdGVcIiBbcGxhY2Vob2xkZXJdPVwiJ05vdGUnfHRyYW5zbGF0ZVwiIG1heGxlbmd0aD1cIjIwMFwiPlxyXG4gICAgPC90ZXh0YXJlYT5cclxuICAgIDxtYXQtaGludCBhbGlnbj1cImVuZFwiPnt7Zm9ybS5jb250cm9sc1snbm90ZSddLnZhbHVlPy5sZW5ndGggfHwgMH19IC8ge3syMDB9fTwvbWF0LWhpbnQ+XHJcbiAgICA8bWF0LWhpbnQ+e3snQXNzaWduTm90ZUhpbnQnfCB0cmFuc2xhdGV9fTwvbWF0LWhpbnQ+XHJcbiAgPC9tYXQtZm9ybS1maWVsZD5cclxuPC9mb3JtPlxyXG4iXX0=
|
@@ -9,15 +9,15 @@ import * as i0 from "@angular/core";
|
|
9
9
|
import * as i1 from "@angular/forms";
|
10
10
|
import * as i2 from "../../core/session.service";
|
11
11
|
import * as i3 from "../../core/account.service";
|
12
|
-
import * as i4 from "@angular/
|
13
|
-
import * as i5 from "@angular/
|
14
|
-
import * as i6 from "@angular/material/
|
12
|
+
import * as i4 from "@angular/common";
|
13
|
+
import * as i5 from "@angular/flex-layout/flex";
|
14
|
+
import * as i6 from "@angular/material/chips";
|
15
15
|
import * as i7 from "@angular/material/autocomplete";
|
16
16
|
import * as i8 from "@angular/material/core";
|
17
|
-
import * as i9 from "@angular/
|
18
|
-
import * as i10 from "@angular/
|
17
|
+
import * as i9 from "@angular/material/form-field";
|
18
|
+
import * as i10 from "@angular/cdk/text-field";
|
19
19
|
import * as i11 from "@angular/material/input";
|
20
|
-
import * as i12 from "@angular/
|
20
|
+
import * as i12 from "@angular/material/icon";
|
21
21
|
import * as i13 from "../../core/pipes/translate.pipe";
|
22
22
|
import * as i14 from "../../core/pipes/user-name.pipe";
|
23
23
|
let MoveToActionComponent = class MoveToActionComponent {
|
@@ -73,19 +73,19 @@ let MoveToActionComponent = class MoveToActionComponent {
|
|
73
73
|
this._destroy.complete();
|
74
74
|
}
|
75
75
|
};
|
76
|
-
MoveToActionComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
77
|
-
MoveToActionComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
76
|
+
MoveToActionComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: MoveToActionComponent, deps: [{ token: i1.FormBuilder }, { token: i2.SessionService }, { token: i3.AccountService }], target: i0.ɵɵFactoryTarget.Component });
|
77
|
+
MoveToActionComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.0.0", type: MoveToActionComponent, selector: "ng-component", viewQueries: [{ propertyName: "nameInput", first: true, predicate: ["nameInput"], descendants: true, read: ElementRef, static: true }], ngImport: i0, template: "<form autocomplete=\"off\" fxLayout=\"column\" [formGroup]=\"form\">\r\n <mat-form-field>\r\n <mat-chip-list #chipList [attr.aria-label]=\"'AssignTo'|translate\">\r\n <mat-chip *ngFor=\"let u of form.value.userIds\"\r\n [selectable]=\"true\"\r\n [removable]=\"true\"\r\n (removed)=\"removed(u)\">\r\n {{u | userName | async }}\r\n <mat-icon matChipRemove>cancel</mat-icon>\r\n </mat-chip>\r\n <input required [placeholder]=\"'AssignTo'|translate\"\r\n [formControl]=userIds\r\n cdkFocusInitial \r\n #nameInput\r\n [matAutocomplete]=\"auto\"\r\n [matChipInputFor]=\"chipList\"\r\n [matChipInputSeparatorKeyCodes]=\"separatorKeysCodes\">\r\n </mat-chip-list>\r\n <mat-autocomplete #auto=\"matAutocomplete\" (optionSelected)=\"userSelected(nameInput, $event)\">\r\n <mat-option *ngFor=\"let u of users$ | async\" [value]=\"u.id\">\r\n {{u.name}}\r\n <span *ngIf=\"u.email\"> - {{u.email}}</span>\r\n </mat-option>\r\n </mat-autocomplete>\r\n <mat-error *ngIf=\"form.controls.userIds.hasError('required')\">{{'Required'|translate:('AssignTo'|translate)}}</mat-error>\r\n </mat-form-field>\r\n <mat-form-field>\r\n <textarea matInput cdkTextareaAutosize formControlName=\"note\" [placeholder]=\"'Note'|translate\" maxlength=\"200\">\r\n </textarea>\r\n <mat-hint align=\"end\">{{form.controls['note'].value?.length || 0}} / {{200}}</mat-hint>\r\n <mat-hint>{{'AssignNoteHint'| translate}}</mat-hint>\r\n </mat-form-field>\r\n</form>\r\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: i1.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i1.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i1.RequiredValidator, selector: ":not([type=checkbox])[required][formControlName],:not([type=checkbox])[required][formControl],:not([type=checkbox])[required][ngModel]", inputs: ["required"] }, { kind: "directive", type: i1.MaxLengthValidator, selector: "[maxlength][formControlName],[maxlength][formControl],[maxlength][ngModel]", inputs: ["maxlength"] }, { kind: "directive", type: i1.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "directive", type: i1.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i1.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "directive", type: i5.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: i6.MatChipList, selector: "mat-chip-list", inputs: ["role", "aria-describedby", "errorStateMatcher", "multiple", "compareWith", "value", "required", "placeholder", "disabled", "aria-orientation", "selectable", "tabIndex"], outputs: ["change", "valueChange"], exportAs: ["matChipList"] }, { kind: "directive", type: i6.MatChip, selector: "mat-basic-chip, [mat-basic-chip], mat-chip, [mat-chip]", inputs: ["color", "disableRipple", "tabIndex", "role", "selected", "value", "selectable", "disabled", "removable"], outputs: ["selectionChange", "destroyed", "removed"], exportAs: ["matChip"] }, { kind: "directive", type: i6.MatChipInput, selector: "input[matChipInputFor]", inputs: ["matChipInputFor", "matChipInputAddOnBlur", "matChipInputSeparatorKeyCodes", "placeholder", "id", "disabled"], outputs: ["matChipInputTokenEnd"], exportAs: ["matChipInput", "matChipInputFor"] }, { kind: "directive", type: i6.MatChipRemove, selector: "[matChipRemove]" }, { kind: "component", type: i7.MatAutocomplete, selector: "mat-autocomplete", inputs: ["disableRipple"], exportAs: ["matAutocomplete"] }, { kind: "directive", type: i7.MatAutocompleteTrigger, selector: "input[matAutocomplete], textarea[matAutocomplete]", exportAs: ["matAutocompleteTrigger"] }, { kind: "component", type: i8.MatOption, selector: "mat-option", exportAs: ["matOption"] }, { kind: "directive", type: i9.MatError, selector: "mat-error", inputs: ["id"] }, { kind: "component", type: i9.MatFormField, selector: "mat-form-field", inputs: ["color", "appearance", "hideRequiredMarker", "hintLabel", "floatLabel"], exportAs: ["matFormField"] }, { kind: "directive", type: i9.MatHint, selector: "mat-hint", inputs: ["align", "id"] }, { kind: "directive", type: i10.CdkTextareaAutosize, selector: "textarea[cdkTextareaAutosize]", inputs: ["cdkAutosizeMinRows", "cdkAutosizeMaxRows", "cdkTextareaAutosize", "placeholder"], exportAs: ["cdkTextareaAutosize"] }, { kind: "directive", type: i11.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"] }, { kind: "component", type: i12.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "pipe", type: i4.AsyncPipe, name: "async" }, { kind: "pipe", type: i13.TranslatePipe, name: "translate" }, { kind: "pipe", type: i14.UserNamePipe, name: "userName" }] });
|
78
78
|
MoveToActionComponent = __decorate([
|
79
79
|
BizDoc({
|
80
80
|
selector: 'bizdoc-action-moveto'
|
81
81
|
})
|
82
82
|
], MoveToActionComponent);
|
83
83
|
export { MoveToActionComponent };
|
84
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
84
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: MoveToActionComponent, decorators: [{
|
85
85
|
type: Component,
|
86
86
|
args: [{ template: "<form autocomplete=\"off\" fxLayout=\"column\" [formGroup]=\"form\">\r\n <mat-form-field>\r\n <mat-chip-list #chipList [attr.aria-label]=\"'AssignTo'|translate\">\r\n <mat-chip *ngFor=\"let u of form.value.userIds\"\r\n [selectable]=\"true\"\r\n [removable]=\"true\"\r\n (removed)=\"removed(u)\">\r\n {{u | userName | async }}\r\n <mat-icon matChipRemove>cancel</mat-icon>\r\n </mat-chip>\r\n <input required [placeholder]=\"'AssignTo'|translate\"\r\n [formControl]=userIds\r\n cdkFocusInitial \r\n #nameInput\r\n [matAutocomplete]=\"auto\"\r\n [matChipInputFor]=\"chipList\"\r\n [matChipInputSeparatorKeyCodes]=\"separatorKeysCodes\">\r\n </mat-chip-list>\r\n <mat-autocomplete #auto=\"matAutocomplete\" (optionSelected)=\"userSelected(nameInput, $event)\">\r\n <mat-option *ngFor=\"let u of users$ | async\" [value]=\"u.id\">\r\n {{u.name}}\r\n <span *ngIf=\"u.email\"> - {{u.email}}</span>\r\n </mat-option>\r\n </mat-autocomplete>\r\n <mat-error *ngIf=\"form.controls.userIds.hasError('required')\">{{'Required'|translate:('AssignTo'|translate)}}</mat-error>\r\n </mat-form-field>\r\n <mat-form-field>\r\n <textarea matInput cdkTextareaAutosize formControlName=\"note\" [placeholder]=\"'Note'|translate\" maxlength=\"200\">\r\n </textarea>\r\n <mat-hint align=\"end\">{{form.controls['note'].value?.length || 0}} / {{200}}</mat-hint>\r\n <mat-hint>{{'AssignNoteHint'| translate}}</mat-hint>\r\n </mat-form-field>\r\n</form>\r\n" }]
|
87
87
|
}], ctorParameters: function () { return [{ type: i1.FormBuilder }, { type: i2.SessionService }, { type: i3.AccountService }]; }, propDecorators: { nameInput: [{
|
88
88
|
type: ViewChild,
|
89
89
|
args: ['nameInput', { static: true, read: ElementRef }]
|
90
90
|
}] } });
|
91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YW1lPVwibm90ZVwiIFtwbGFjZWhvbGRlcl09XCInTm90ZSd8dHJhbnNsYXRlXCIgbWF4bGVuZ3RoPVwiMjAwXCI+XHJcbiAgICA8L3RleHRhcmVhPlxyXG4gICAgPG1hdC1oaW50IGFsaWduPVwiZW5kXCI+e3tmb3JtLmNvbnRyb2xzWydub3RlJ10udmFsdWU/Lmxlbmd0aCB8fCAwfX0gLyB7ezIwMH19PC9tYXQtaGludD5cclxuICAgIDxtYXQtaGludD57eydBc3NpZ25Ob3RlSGludCd8IHRyYW5zbGF0ZX19PC9tYXQtaGludD5cclxuICA8L21hdC1mb3JtLWZpZWxkPlxyXG48L2Zvcm0+XHJcbiJdfQ==
|
@@ -6,13 +6,13 @@ import * as i0 from "@angular/core";
|
|
6
6
|
import * as i1 from "@angular/forms";
|
7
7
|
import * as i2 from "./action-ref";
|
8
8
|
import * as i3 from "../../core/session.service";
|
9
|
-
import * as i4 from "@angular/
|
10
|
-
import * as i5 from "@angular/
|
9
|
+
import * as i4 from "@angular/common";
|
10
|
+
import * as i5 from "@angular/flex-layout/flex";
|
11
11
|
import * as i6 from "@angular/material/core";
|
12
|
-
import * as i7 from "@angular/
|
13
|
-
import * as i8 from "@angular/
|
14
|
-
import * as i9 from "@angular/
|
15
|
-
import * as i10 from "@angular/
|
12
|
+
import * as i7 from "@angular/material/form-field";
|
13
|
+
import * as i8 from "@angular/material/select";
|
14
|
+
import * as i9 from "@angular/cdk/text-field";
|
15
|
+
import * as i10 from "@angular/material/input";
|
16
16
|
import * as i11 from "../../core/pipes/translate.pipe";
|
17
17
|
import * as i12 from "../../core/pipes/user-name.pipe";
|
18
18
|
let ReturnActionComponent = class ReturnActionComponent {
|
@@ -37,15 +37,15 @@ let ReturnActionComponent = class ReturnActionComponent {
|
|
37
37
|
}
|
38
38
|
}
|
39
39
|
};
|
40
|
-
ReturnActionComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
41
|
-
ReturnActionComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
40
|
+
ReturnActionComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: ReturnActionComponent, deps: [{ token: i1.FormBuilder }, { token: i2.ActionRef }, { token: i3.SessionService }], target: i0.ɵɵFactoryTarget.Component });
|
41
|
+
ReturnActionComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.0.0", type: ReturnActionComponent, selector: "ng-component", ngImport: i0, template: "<form autocomplete=\"off\" fxLayout=\"column\" [formGroup]=\"form\">\r\n <mat-form-field>\r\n <mat-select formControlName=\"recipientId\" cdkFocusInitial [placeholder]=\"'User'|translate\" required>\r\n <mat-option *ngFor=\"let r of recipients\" [value]=\"r.id\">{{r.userId | userName | async }}</mat-option>\r\n </mat-select>\r\n <mat-error *ngIf=\"form.controls.recipientId.hasError('required')\">{{'Required'|translate:('User'|translate)}}</mat-error>\r\n </mat-form-field>\r\n <mat-form-field>\r\n <textarea matInput cdkTextareaAutosize formControlName=\"note\" [placeholder]=\"'Note'|translate\" maxlength=\"200\">\r\n </textarea>\r\n <mat-hint align=\"end\">{{form.controls['note'].value?.length || 0}} / {{200}}</mat-hint>\r\n </mat-form-field>\r\n</form>\r\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: i1.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i1.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i1.RequiredValidator, selector: ":not([type=checkbox])[required][formControlName],:not([type=checkbox])[required][formControl],:not([type=checkbox])[required][ngModel]", inputs: ["required"] }, { kind: "directive", type: i1.MaxLengthValidator, selector: "[maxlength][formControlName],[maxlength][formControl],[maxlength][ngModel]", inputs: ["maxlength"] }, { kind: "directive", type: i1.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i1.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "directive", type: i5.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: i6.MatOption, selector: "mat-option", exportAs: ["matOption"] }, { kind: "directive", type: i7.MatError, selector: "mat-error", inputs: ["id"] }, { kind: "component", type: i7.MatFormField, selector: "mat-form-field", inputs: ["color", "appearance", "hideRequiredMarker", "hintLabel", "floatLabel"], exportAs: ["matFormField"] }, { kind: "directive", type: i7.MatHint, selector: "mat-hint", inputs: ["align", "id"] }, { kind: "component", type: i8.MatSelect, selector: "mat-select", inputs: ["disabled", "disableRipple", "tabIndex"], exportAs: ["matSelect"] }, { kind: "directive", type: i9.CdkTextareaAutosize, selector: "textarea[cdkTextareaAutosize]", inputs: ["cdkAutosizeMinRows", "cdkAutosizeMaxRows", "cdkTextareaAutosize", "placeholder"], exportAs: ["cdkTextareaAutosize"] }, { kind: "directive", type: i10.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"] }, { kind: "pipe", type: i4.AsyncPipe, name: "async" }, { kind: "pipe", type: i11.TranslatePipe, name: "translate" }, { kind: "pipe", type: i12.UserNamePipe, name: "userName" }] });
|
42
42
|
ReturnActionComponent = __decorate([
|
43
43
|
BizDoc({
|
44
44
|
selector: 'bizdoc-action-return'
|
45
45
|
})
|
46
46
|
], ReturnActionComponent);
|
47
47
|
export { ReturnActionComponent };
|
48
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
48
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: ReturnActionComponent, decorators: [{
|
49
49
|
type: Component,
|
50
50
|
args: [{ template: "<form autocomplete=\"off\" fxLayout=\"column\" [formGroup]=\"form\">\r\n <mat-form-field>\r\n <mat-select formControlName=\"recipientId\" cdkFocusInitial [placeholder]=\"'User'|translate\" required>\r\n <mat-option *ngFor=\"let r of recipients\" [value]=\"r.id\">{{r.userId | userName | async }}</mat-option>\r\n </mat-select>\r\n <mat-error *ngIf=\"form.controls.recipientId.hasError('required')\">{{'Required'|translate:('User'|translate)}}</mat-error>\r\n </mat-form-field>\r\n <mat-form-field>\r\n <textarea matInput cdkTextareaAutosize formControlName=\"note\" [placeholder]=\"'Note'|translate\" maxlength=\"200\">\r\n </textarea>\r\n <mat-hint align=\"end\">{{form.controls['note'].value?.length || 0}} / {{200}}</mat-hint>\r\n </mat-form-field>\r\n</form>\r\n" }]
|
51
51
|
}], ctorParameters: function () { return [{ type: i1.FormBuilder }, { type: i2.ActionRef }, { type: i3.SessionService }]; } });
|
@@ -9,13 +9,13 @@ import * as i2 from "../../core/session.service";
|
|
9
9
|
import * as i3 from "../../core/prompt.service";
|
10
10
|
import * as i4 from "@angular/cdk/overlay";
|
11
11
|
import * as i5 from "@angular/cdk/bidi";
|
12
|
-
import * as i6 from "@angular/
|
13
|
-
import * as i7 from "@angular/material/
|
14
|
-
import * as i8 from "@angular/material/
|
15
|
-
import * as i9 from "@angular/material/
|
16
|
-
import * as i10 from "@angular/
|
17
|
-
import * as i11 from "
|
18
|
-
import * as i12 from "
|
12
|
+
import * as i6 from "@angular/common";
|
13
|
+
import * as i7 from "@angular/material/divider";
|
14
|
+
import * as i8 from "@angular/material/button";
|
15
|
+
import * as i9 from "@angular/material/icon";
|
16
|
+
import * as i10 from "@angular/material/menu";
|
17
|
+
import * as i11 from "./progress-button.directive";
|
18
|
+
import * as i12 from "../../core/popup/tooltip.directive";
|
19
19
|
import * as i13 from "../../core/pipes/calendar.pipe";
|
20
20
|
import * as i14 from "../../core/pipes/translate.pipe";
|
21
21
|
/** mail-attachments component*/
|
@@ -112,9 +112,9 @@ export class AttachmentsComponent {
|
|
112
112
|
this._sb.ask('DeleteFileAsk', 'DeleteFile', { color: 'warn' }).subscribe(ok => ok && task());
|
113
113
|
}
|
114
114
|
}
|
115
|
-
AttachmentsComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
116
|
-
AttachmentsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
117
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
115
|
+
AttachmentsComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: AttachmentsComponent, deps: [{ token: i1.MailboxService }, { token: i2.SessionService }, { token: i0.ViewContainerRef }, { token: i3.PromptService }, { token: i4.Overlay }, { token: i0.Injector }, { token: i5.Directionality }], target: i0.ɵɵFactoryTarget.Component });
|
116
|
+
AttachmentsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.0.0", type: AttachmentsComponent, selector: "bizdoc-attachments", inputs: { model: "model", viewedIndicator: "viewedIndicator", includeDeleted: "includeDeleted" }, usesOnChanges: true, ngImport: i0, template: "<div *ngFor=\"let a of attachments\">\r\n <button mat-button class=\"attachment-link\" [matMenuTriggerFor]=\"attachment\" [bizdocTooltip]=\"a.time | amCalendar\" [progressIndicator]=\"a.progress\">\r\n <mat-icon *ngIf=\"viewedIndicator && a.viewed\">done_all</mat-icon>\r\n <!--[bizdocTooltip]=\"a.viewed | amCalendar\"-->\r\n <mat-icon>attachment</mat-icon> \r\n <span [class.deleted]=\"a.deleted\" [class.failed]=\"a.failed\">{{a.fileName}}</span>\r\n </button>\r\n <mat-menu #attachment>\r\n <ng-container *ngIf=\"!a.failed\">\r\n <button mat-menu-item (click)=\"download(a)\">{{\"Download\" | translate}}</button>\r\n <button mat-menu-item *ngIf=\"canPreview(a)\" (click)=\"preview(a)\"><mat-icon>landscape</mat-icon> {{\"Preview\" | translate}}</button>\r\n <ng-container *ngIf=\"hasVersion(a)\">\r\n <mat-divider></mat-divider>\r\n <button mat-menu-item *ngFor=\"let v of getVersions(a)\" (click)=\"previewOrDownload(v)\">{{v.time | amCalendar}}</button>\r\n </ng-container>\r\n <ng-container *ngIf=\"canDelete(a)\">\r\n <mat-divider></mat-divider>\r\n <button mat-menu-item (click)=\"discard(a)\">{{\"Discard\" | translate}}</button>\r\n </ng-container>\r\n </ng-container>\r\n <button mat-menu-item (click)=\"cancel(a)\" *ngIf=\"a.failed\">{{\"Cancel\" | translate}}</button>\r\n </mat-menu>\r\n</div>\r\n", styles: [":host{display:flex;flex-flow:wrap}.attachment-link.failed{color:red}.attachment-link .deleted{text-decoration:line-through}::ng-deep button .progress{background-color:#696969;position:absolute;height:100%}\n"], dependencies: [{ kind: "directive", type: i6.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i6.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i7.MatDivider, selector: "mat-divider", inputs: ["vertical", "inset"] }, { kind: "component", type: i8.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: i9.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "component", type: i10.MatMenu, selector: "mat-menu", exportAs: ["matMenu"] }, { kind: "component", type: i10.MatMenuItem, selector: "[mat-menu-item]", inputs: ["disabled", "disableRipple", "role"], exportAs: ["matMenuItem"] }, { kind: "directive", type: i10.MatMenuTrigger, selector: "[mat-menu-trigger-for], [matMenuTriggerFor]", exportAs: ["matMenuTrigger"] }, { kind: "directive", type: i11.ProgressDirective, selector: "[progressIndicator]", inputs: ["progressIndicator"] }, { kind: "directive", type: i12.TooltipDirective, selector: "[bizdocTooltip]", inputs: ["bizdocTooltip", "bizdocTooltipTemplate", "bizdocTooltipContext", "bizdocTooltipPosition", "bizdocTooltipDuration", "bizdocTooltipDisabled"] }, { kind: "pipe", type: i13.CalendarPipe, name: "amCalendar" }, { kind: "pipe", type: i14.TranslatePipe, name: "translate" }] });
|
117
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: AttachmentsComponent, decorators: [{
|
118
118
|
type: Component,
|
119
119
|
args: [{ selector: 'bizdoc-attachments', template: "<div *ngFor=\"let a of attachments\">\r\n <button mat-button class=\"attachment-link\" [matMenuTriggerFor]=\"attachment\" [bizdocTooltip]=\"a.time | amCalendar\" [progressIndicator]=\"a.progress\">\r\n <mat-icon *ngIf=\"viewedIndicator && a.viewed\">done_all</mat-icon>\r\n <!--[bizdocTooltip]=\"a.viewed | amCalendar\"-->\r\n <mat-icon>attachment</mat-icon> \r\n <span [class.deleted]=\"a.deleted\" [class.failed]=\"a.failed\">{{a.fileName}}</span>\r\n </button>\r\n <mat-menu #attachment>\r\n <ng-container *ngIf=\"!a.failed\">\r\n <button mat-menu-item (click)=\"download(a)\">{{\"Download\" | translate}}</button>\r\n <button mat-menu-item *ngIf=\"canPreview(a)\" (click)=\"preview(a)\"><mat-icon>landscape</mat-icon> {{\"Preview\" | translate}}</button>\r\n <ng-container *ngIf=\"hasVersion(a)\">\r\n <mat-divider></mat-divider>\r\n <button mat-menu-item *ngFor=\"let v of getVersions(a)\" (click)=\"previewOrDownload(v)\">{{v.time | amCalendar}}</button>\r\n </ng-container>\r\n <ng-container *ngIf=\"canDelete(a)\">\r\n <mat-divider></mat-divider>\r\n <button mat-menu-item (click)=\"discard(a)\">{{\"Discard\" | translate}}</button>\r\n </ng-container>\r\n </ng-container>\r\n <button mat-menu-item (click)=\"cancel(a)\" *ngIf=\"a.failed\">{{\"Cancel\" | translate}}</button>\r\n </mat-menu>\r\n</div>\r\n", styles: [":host{display:flex;flex-flow:wrap}.attachment-link.failed{color:red}.attachment-link .deleted{text-decoration:line-through}::ng-deep button .progress{background-color:#696969;position:absolute;height:100%}\n"] }]
|
120
120
|
}], ctorParameters: function () { return [{ type: i1.MailboxService }, { type: i2.SessionService }, { type: i0.ViewContainerRef }, { type: i3.PromptService }, { type: i4.Overlay }, { type: i0.Injector }, { type: i5.Directionality }]; }, propDecorators: { model: [{
|