@bizdoc/core 1.10.0-next.0 → 1.10.0-next.5
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/bizdoc-schema.json +1 -1
- package/assets/themes/brown.min.css +1 -1
- package/assets/themes/deep-purple-light-blue.min.css +1 -1
- package/assets/themes/default.min.css +1 -1
- package/assets/themes/green.min.css +1 -1
- package/assets/themes/indigo.min.css +1 -1
- package/esm2020/lib/admin/admin-dismiss.service.mjs +3 -3
- package/esm2020/lib/admin/admin-menu.component.mjs +3 -3
- package/esm2020/lib/admin/core/ace.input.mjs +3 -3
- package/esm2020/lib/admin/core/color-picker.input.mjs +3 -3
- package/esm2020/lib/admin/core/search.input.mjs +3 -3
- package/esm2020/lib/admin/diff/configuration-diff.component.mjs +3 -3
- package/esm2020/lib/admin/document-trace/document-trace.component.mjs +5 -5
- package/esm2020/lib/admin/document-trace/reassign.dialog.mjs +3 -3
- package/esm2020/lib/admin/document-trace/trace-element.component.mjs +3 -3
- package/esm2020/lib/admin/form/form.resolve.service.mjs +3 -3
- package/esm2020/lib/admin/form/form.service.mjs +3 -3
- package/esm2020/lib/admin/form/workflow/node.component.mjs +3 -3
- package/esm2020/lib/admin/form/workflow/role-node.component.mjs +3 -3
- package/esm2020/lib/admin/form/workflow/workflow.component.mjs +3 -3
- package/esm2020/lib/admin/indices/manage-cube-index.component.mjs +3 -3
- package/esm2020/lib/admin/patterns/patterns.component.mjs +3 -3
- package/esm2020/lib/admin/permissions/permissions.component.mjs +3 -3
- package/esm2020/lib/admin/positions/positions-popup.component.mjs +3 -3
- package/esm2020/lib/admin/positions/positions.component.mjs +3 -3
- package/esm2020/lib/admin/profiler/profiler.component.mjs +5 -5
- 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 +4 -4
- package/esm2020/lib/browse/browse-items.component.mjs +5 -5
- package/esm2020/lib/browse/browse.mobile.component.mjs +3 -3
- package/esm2020/lib/browse/browse.pane.component.mjs +3 -3
- package/esm2020/lib/browse/expanded-item/expanded-item.component.mjs +5 -5
- package/esm2020/lib/browse/filter/filter.component.mjs +3 -3
- package/esm2020/lib/browse/folders-menu.component.mjs +3 -3
- package/esm2020/lib/chat/chat-info.mjs +3 -3
- package/esm2020/lib/chat/chat.mobile.component.mjs +3 -3
- package/esm2020/lib/chat/chat.service.mjs +3 -3
- package/esm2020/lib/chat/contacts.component.mjs +6 -6
- package/esm2020/lib/chat/contacts.pane.component.mjs +3 -3
- package/esm2020/lib/chat/conversation.component.mjs +3 -3
- package/esm2020/lib/chat/conversation.pane.component.mjs +3 -3
- package/esm2020/lib/compose/action/action-picker.component.mjs +3 -3
- package/esm2020/lib/compose/action/action.dialog.mjs +3 -3
- package/esm2020/lib/compose/action/action.pane.dialog.mjs +3 -3
- package/esm2020/lib/compose/action/assign-action.component.mjs +3 -3
- package/esm2020/lib/compose/action/return-action.component.mjs +3 -3
- package/esm2020/lib/compose/attachments/attachments.component.mjs +3 -3
- package/esm2020/lib/compose/attachments/preview/attachment-preview.component.mjs +3 -3
- 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/Comments.pane.component.mjs +3 -3
- package/esm2020/lib/compose/comments/comment.component.mjs +3 -3
- package/esm2020/lib/compose/comments/comments.component.mjs +3 -3
- package/esm2020/lib/compose/comments/edit-comment.component.mjs +3 -3
- package/esm2020/lib/compose/comments/edits.component.mjs +3 -3
- package/esm2020/lib/compose/comments/quick-comment.component.exp.mjs +3 -3
- package/esm2020/lib/compose/comments/votes.component.mjs +3 -3
- package/esm2020/lib/compose/compose-resolve.service.mjs +6 -6
- package/esm2020/lib/compose/compose.mobile.component.mjs +27 -17
- package/esm2020/lib/compose/compose.pane.component.mjs +5 -5
- package/esm2020/lib/compose/copy/copy.dialog.mjs +3 -3
- 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 +3 -3
- package/esm2020/lib/compose/form-selector/form-selector.sheet.mjs +3 -3
- package/esm2020/lib/compose/form.component.mjs +3 -3
- package/esm2020/lib/compose/new-menu.component.mjs +3 -3
- package/esm2020/lib/compose/privilage.directive.mjs +6 -6
- package/esm2020/lib/compose/recipient-resolver.service.mjs +3 -3
- package/esm2020/lib/compose/save-changes.dialog.mjs +3 -3
- package/esm2020/lib/compose/state.component.mjs +3 -3
- package/esm2020/lib/compose/tag/tags.component.mjs +3 -3
- package/esm2020/lib/compose/trace/flow.component.mjs +54 -30
- package/esm2020/lib/compose/trace/people.component.mjs +3 -3
- package/esm2020/lib/compose/trace/trace.base.mjs +5 -5
- package/esm2020/lib/compose/trace/trace.component.mjs +5 -5
- 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 +3 -3
- 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/animations.mjs +7 -1
- 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 +3 -3
- package/esm2020/lib/core/controls/auto-complete.input.mjs +3 -3
- package/esm2020/lib/core/controls/combination-picker-body.mjs +3 -3
- package/esm2020/lib/core/controls/combination-picker.mjs +3 -3
- package/esm2020/lib/core/controls/combination-pool.mjs +3 -3
- package/esm2020/lib/core/controls/select.input.mjs +3 -3
- package/esm2020/lib/core/controls/time-picker.mjs +3 -3
- package/esm2020/lib/core/controls/timespan.input.mjs +3 -3
- package/esm2020/lib/core/datasource.service.mjs +3 -3
- package/esm2020/lib/core/guide/guide.component.mjs +3 -3
- package/esm2020/lib/core/guide/guide.service.mjs +3 -3
- 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 +3 -3
- 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 +3 -3
- package/esm2020/lib/core/layout/checkbox.field.mjs +3 -3
- package/esm2020/lib/core/layout/checkbox.mjs +3 -3
- package/esm2020/lib/core/layout/date-range.field.mjs +3 -3
- package/esm2020/lib/core/layout/date.field.mjs +3 -3
- package/esm2020/lib/core/layout/expression.field.mjs +3 -3
- package/esm2020/lib/core/layout/html.field.mjs +3 -3
- package/esm2020/lib/core/layout/input.base.mjs +3 -3
- package/esm2020/lib/core/layout/input.field.mjs +3 -3
- package/esm2020/lib/core/layout/layout.component.mjs +3 -3
- package/esm2020/lib/core/layout/numeric.field.mjs +3 -3
- package/esm2020/lib/core/layout/select.field.mjs +3 -3
- package/esm2020/lib/core/layout/switch.field.mjs +3 -3
- package/esm2020/lib/core/layout/textarea.field.mjs +3 -3
- package/esm2020/lib/core/layout/timespan.field.mjs +3 -3
- 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 +3 -3
- package/esm2020/lib/core/pipes/action.pipe.mjs +3 -3
- package/esm2020/lib/core/pipes/calendar.pipe.mjs +4 -6
- package/esm2020/lib/core/pipes/date-format.pipe.mjs +3 -3
- package/esm2020/lib/core/pipes/daterange.pipe.mjs +8 -8
- package/esm2020/lib/core/pipes/difference.pipe.mjs +5 -5
- package/esm2020/lib/core/pipes/duration-format.pipe.mjs +4 -6
- package/esm2020/lib/core/pipes/duration.pipe.mjs +4 -8
- 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 +4 -6
- package/esm2020/lib/core/pipes/translate.pipe.mjs +20 -5
- 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 +3 -3
- 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/session.service.mjs +5 -5
- 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 +5 -5
- package/esm2020/lib/core/tagging/documents.component.mjs +3 -3
- package/esm2020/lib/core/tagging/edit-input.component.mjs +3 -3
- package/esm2020/lib/core/tagging/emoji.component.mjs +3 -3
- 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 +3 -3
- package/esm2020/lib/core/translate.service.mjs +5 -5
- 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 +7 -7
- package/esm2020/lib/cube/cube-info.service.mjs +3 -3
- package/esm2020/lib/cube/cube-menu.component.mjs +3 -3
- package/esm2020/lib/cube/cube-view.component.mjs +13 -12
- 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 +3 -3
- package/esm2020/lib/cube/explore/explore.pane.component.mjs +3 -3
- 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 +3 -3
- package/esm2020/lib/cube/filter/filter.component.mjs +3 -3
- 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 +4 -4
- package/esm2020/lib/cube/matrix/matrix.component.mjs +6 -6
- package/esm2020/lib/cube/matrix/matrix.mobile.component.mjs +6 -6
- package/esm2020/lib/cube/matrix/matrix.pane.component.mjs +6 -6
- package/esm2020/lib/cube/matrix/table.component.mjs +43 -48
- package/esm2020/lib/cube/parallel/parallel.component.mjs +10 -10
- package/esm2020/lib/cube/pivot/pivot.component.mjs +5 -5
- package/esm2020/lib/cube/sum/sum.component.mjs +15 -15
- package/esm2020/lib/cube/view-base.mjs +3 -3
- package/esm2020/lib/cube/view.mobile.component.mjs +6 -9
- package/esm2020/lib/cube/view.pane.component.mjs +5 -5
- package/esm2020/lib/dashboard/actions/actions.widget.mjs +3 -3
- package/esm2020/lib/dashboard/cube/accum-cube.widget.mjs +3 -3
- package/esm2020/lib/dashboard/cube/cube-analysis.base.mjs +4 -4
- package/esm2020/lib/dashboard/cube/cube-analysis.widget.mjs +3 -3
- package/esm2020/lib/dashboard/cube/cube-chart.widget.mjs +5 -5
- package/esm2020/lib/dashboard/cube/documents.widget.mjs +3 -3
- package/esm2020/lib/dashboard/cube/filter/filter.component.mjs +3 -3
- package/esm2020/lib/dashboard/dashboard.component.mjs +3 -3
- package/esm2020/lib/dashboard/dashboard.pane.component.mjs +3 -3
- package/esm2020/lib/dashboard/recents/recents.widget.mjs +3 -3
- package/esm2020/lib/dashboard/score/activity.widget.mjs +5 -5
- package/esm2020/lib/dashboard/score/compare-departments.widget.mjs +5 -5
- package/esm2020/lib/dashboard/score/peers-performance.widget.mjs +4 -5
- package/esm2020/lib/dashboard/score/pending-results.widget.mjs +4 -6
- 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 +4 -4
- 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 +3 -3
- package/esm2020/lib/home/home.mobile.component.mjs +5 -5
- package/esm2020/lib/home/notifications/notifications.component.mjs +3 -3
- package/esm2020/lib/home/options/options.component.mjs +3 -3
- package/esm2020/lib/home/outofoffice/outofoffice.component.mjs +3 -3
- package/esm2020/lib/home/search.service.mjs +3 -3
- package/esm2020/lib/home/sign/sign.component.mjs +3 -3
- package/esm2020/lib/home/tools.component.mjs +3 -3
- package/esm2020/lib/impersonate/impersonate.component.mjs +3 -3
- package/esm2020/lib/mobile.module.mjs +4 -4
- package/esm2020/lib/modules/chart.module.mjs +4 -4
- package/esm2020/lib/modules/circular-gauge.module.mjs +4 -4
- package/esm2020/lib/modules/date.adapter.mjs +3 -3
- package/esm2020/lib/modules/datepicker.intl.mjs +3 -3
- package/esm2020/lib/modules/diagram.module.mjs +4 -4
- package/esm2020/lib/modules/gantt.module.mjs +4 -4
- package/esm2020/lib/modules/grid.module.mjs +4 -4
- package/esm2020/lib/modules/material.module.mjs +4 -4
- package/esm2020/lib/modules/paginator.intl.mjs +3 -3
- package/esm2020/lib/modules/pivot.module.mjs +4 -4
- package/esm2020/lib/modules/schedule.module.mjs +4 -4
- package/esm2020/lib/modules/spreadsheet.module.mjs +4 -4
- package/esm2020/lib/modules/stepper.intl.mjs +3 -3
- package/esm2020/lib/modules/texteditor.module.mjs +4 -4
- package/esm2020/lib/notifications/filter.component.mjs +3 -3
- package/esm2020/lib/notifications/notifications-table.component.mjs +5 -5
- 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 +3 -3
- package/esm2020/lib/notifications/types/cube-anomaly.notification.mjs +3 -3
- package/esm2020/lib/notifications/types/escalated.notification.mjs +3 -3
- package/esm2020/lib/notifications/types/liked.notification.mjs +3 -3
- 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 +5 -5
- package/esm2020/lib/notifications/types/state-changed.notification.mjs +3 -3
- package/esm2020/lib/notifications/types/tagged.notification.mjs +3 -3
- 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 +3 -3
- package/esm2020/lib/options/options.service.mjs +3 -3
- package/esm2020/lib/reports/arguments-component.mjs +3 -3
- package/esm2020/lib/reports/cube/grid-documents.component.mjs +3 -3
- package/esm2020/lib/reports/cube/table-documents.component.mjs +3 -3
- 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 +3 -3
- package/esm2020/lib/reports/cube/usage-pivot.component.mjs +3 -3
- package/esm2020/lib/reports/report-viewer.component.mjs +3 -3
- package/esm2020/lib/reports/report.mobile.component.mjs +3 -3
- package/esm2020/lib/reports/report.pane.component.mjs +3 -3
- package/esm2020/lib/reports/reports-menu.component.mjs +3 -3
- package/esm2020/lib/reports/substitution/substitution.component.mjs +3 -3
- package/esm2020/lib/reports/table/table-view.component.mjs +3 -3
- package/esm2020/lib/reports/tasks/tasks.component.mjs +3 -3
- package/esm2020/lib/routes.desktop.mjs +2 -2
- package/esm2020/lib/routes.mobile.mjs +9 -9
- package/esm2020/lib/scheduler/schedule.component.mjs +5 -5
- package/esm2020/lib/scheduler/scheduler.mobile.component.mjs +5 -5
- package/esm2020/lib/scheduler/scheduler.pane.component.mjs +5 -5
- package/esm2020/lib/shared.module.mjs +12 -5
- package/esm2020/lib/system.module.mjs +4 -4
- 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 +3 -3
- package/esm2020/lib/views/cube/matrix.component.mjs +8 -8
- 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 +5 -5
- package/esm2020/lib/views/cube/view.component.mjs +3 -3
- package/esm2020/lib/views/timeline/timeline.component.exp.mjs +5 -5
- package/esm2020/lib/views/view-item.component.mjs +3 -3
- package/esm2020/lib/views/views.component.mjs +3 -3
- package/esm2020/lib/views/views.mobile.component.mjs +11 -15
- package/esm2020/lib/views/views.pane.component.mjs +3 -3
- package/fesm2015/bizdoc-core.mjs +1105 -1066
- package/fesm2015/bizdoc-core.mjs.map +1 -1
- package/fesm2020/bizdoc-core.mjs +1105 -1066
- package/fesm2020/bizdoc-core.mjs.map +1 -1
- package/lib/compose/compose.mobile.component.d.ts +2 -2
- package/lib/compose/trace/flow.component.d.ts +1 -1
- package/lib/core/animations.d.ts +1 -0
- package/lib/core/models.d.ts +1 -1
- package/lib/core/pipes/translate.pipe.d.ts +9 -1
- package/lib/cube/chart/chart.component.d.ts +2 -2
- package/lib/cube/cube-view.component.d.ts +2 -2
- package/lib/cube/matrix/matrix.base.d.ts +1 -1
- package/lib/cube/matrix/table.component.d.ts +5 -6
- package/lib/cube/parallel/parallel.component.d.ts +2 -2
- package/lib/cube/pivot/pivot.component.d.ts +2 -2
- package/lib/cube/sum/sum.component.d.ts +3 -3
- package/lib/dashboard/cube/cube-analysis.base.d.ts +1 -1
- package/lib/home/about/about.dialog.d.ts +2 -2
- package/lib/notifications/types/nudge.notification.d.ts +1 -1
- package/lib/notifications/types/upcoming-event.notification.d.ts +1 -1
- package/lib/views/cube/chart.component.d.ts +2 -2
- package/lib/views/cube/matrix.component.d.ts +2 -4
- package/lib/views/cube/pivot.component.d.ts +1 -1
- package/lib/views/cube/sum.component.d.ts +2 -2
- package/lib/views/views.mobile.component.d.ts +1 -5
- package/package.json +1 -1
@@ -1,13 +1,11 @@
|
|
1
1
|
import { Pipe } from '@angular/core';
|
2
2
|
/// <reference path="./node_modules/dayjs/plugin/duration.d.ts" />
|
3
3
|
import dayjs from 'dayjs';
|
4
|
-
import duration from 'dayjs/plugin/duration';
|
5
4
|
import * as i0 from "@angular/core";
|
6
5
|
import * as i1 from "../translate.service";
|
7
6
|
export class DurationFormatPipe {
|
8
7
|
constructor(_translate) {
|
9
8
|
this._translate = _translate;
|
10
|
-
dayjs.extend(duration);
|
11
9
|
}
|
12
10
|
transform(value, ...args) {
|
13
11
|
const duration = dayjs.duration(value, args[0] || 's');
|
@@ -41,10 +39,10 @@ export class DurationFormatPipe {
|
|
41
39
|
return this._translate.join(parts, 'NumericJoinAnd');
|
42
40
|
}
|
43
41
|
}
|
44
|
-
DurationFormatPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.
|
45
|
-
DurationFormatPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.0.
|
46
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.
|
42
|
+
DurationFormatPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: DurationFormatPipe, deps: [{ token: i1.TranslateService }], target: i0.ɵɵFactoryTarget.Pipe });
|
43
|
+
DurationFormatPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: DurationFormatPipe, name: "amDurationFormat" });
|
44
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: DurationFormatPipe, decorators: [{
|
47
45
|
type: Pipe,
|
48
46
|
args: [{ name: 'amDurationFormat' }]
|
49
47
|
}], ctorParameters: function () { return [{ type: i1.TranslateService }]; } });
|
50
|
-
//# sourceMappingURL=data:application/json;base64,
|
48
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZHVyYXRpb24tZm9ybWF0LnBpcGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9saWJyYXJpZXMvY29yZS9zcmMvbGliL2NvcmUvcGlwZXMvZHVyYXRpb24tZm9ybWF0LnBpcGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLElBQUksRUFBaUIsTUFBTSxlQUFlLENBQUM7QUFDcEQsa0VBQWtFO0FBQ2xFLE9BQU8sS0FBSyxNQUFNLE9BQU8sQ0FBQzs7O0FBSVUsTUFBTSxPQUNoQyxrQkFBa0I7SUFnQzFCLFlBQW9CLFVBQTRCO1FBQTVCLGVBQVUsR0FBVixVQUFVLENBQWtCO0lBQ2hELENBQUM7SUFoQ0Ms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G0gPSAwO1xyXG4gICAgICAgIC8vfVxyXG4gICAgICAgIGlmIChvID4gMClcclxuICAgICAgICAgICAgcGFydHMucHVzaChkYXlqcy5kdXJhdGlvbih7IG1vbnRoczogbyB9KS5odW1hbml6ZSgpKTtcclxuICAgICAgICBpZiAoZCA+IDApXHJcbiAgICAgICAgICAgIHBhcnRzLnB1c2goZGF5anMuZHVyYXRpb24oeyBkYXlzOiBkIH0pLmh1bWFuaXplKCkpO1xyXG4gICAgICAgIGlmIChoID4gMClcclxuICAgICAgICAgICAgcGFydHMucHVzaChkYXlqcy5kdXJhdGlvbih7IGhvdXJzOiBoIH0pLmh1bWFuaXplKCkpO1xyXG4gICAgICAgIGlmIChtID4gMClcclxuICAgICAgICAgICAgcGFydHMucHVzaChkYXlqcy5kdXJhdGlvbih7IG1pbnV0ZXM6IG0gfSkuaHVtYW5pemUoKSk7XHJcbiAgICAgICAgZWxzZSBpZiAoIWggJiYgIWQpXHJcbiAgICAgICAgICAgIHBhcnRzLnB1c2goZHVyYXRpb24uaHVtYW5pemUoKSk7XHJcbiAgICAgICAgcmV0dXJuIHRoaXMuX3RyYW5zbGF0ZS5qb2luKHBhcnRzLCAnTnVtZXJpY0pvaW5BbmQnKTtcclxuICAgIH1cclxuICBjb25zdHJ1Y3Rvcihwcml2YXRlIF90cmFuc2xhdGU6IFRyYW5zbGF0ZVNlcnZpY2UpIHtcclxuICB9XHJcbn1cclxuIl19
|
@@ -1,23 +1,19 @@
|
|
1
1
|
import { Pipe } from '@angular/core';
|
2
2
|
/// <reference path="./node_modules/dayjs/plugin/duration.d.ts" />
|
3
3
|
import dayjs from 'dayjs';
|
4
|
-
import duration from 'dayjs/plugin/duration';
|
5
|
-
import relativeTime from 'dayjs/plugin/relativeTime';
|
6
4
|
import * as i0 from "@angular/core";
|
7
5
|
export class DurationPipe {
|
8
6
|
constructor() {
|
9
|
-
dayjs.extend(relativeTime);
|
10
|
-
dayjs.extend(duration);
|
11
7
|
}
|
12
8
|
transform(value, ...args) {
|
13
9
|
const duration = dayjs.duration(value, args[0] || 's');
|
14
10
|
return duration.humanize();
|
15
11
|
}
|
16
12
|
}
|
17
|
-
DurationPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.
|
18
|
-
DurationPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.0.
|
19
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.
|
13
|
+
DurationPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: DurationPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
14
|
+
DurationPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: DurationPipe, name: "amDuration" });
|
15
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: DurationPipe, decorators: [{
|
20
16
|
type: Pipe,
|
21
17
|
args: [{ name: 'amDuration' }]
|
22
18
|
}], ctorParameters: function () { return []; } });
|
23
|
-
//# sourceMappingURL=data:application/json;base64,
|
19
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZHVyYXRpb24ucGlwZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL2xpYnJhcmllcy9jb3JlL3NyYy9saWIvY29yZS9waXBlcy9kdXJhdGlvbi5waXBlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxJQUFJLEVBQWlCLE1BQU0sZUFBZSxDQUFDO0FBQ3BELGtFQUFrRTtBQUNsRSxPQUFPLEtBQUssTUFBTSxPQUFPLENBQUM7O0FBRUksTUFBTSxPQUM1QixZQUFZO0lBS2xCO0lBQ0EsQ0FBQztJQUxELFNBQVMsQ0FBQyxLQUFVLEVBQUUsR0FBRyxJQUFXO1FBQ2xDLE1BQU0sUUFBUSxHQUFHLEtBQUssQ0FBQyxRQUFRLENBQUMsS0FBSyxFQUFFLElBQUksQ0FBQyxDQUFDLENBQUMsSUFBSSxHQUFHLENBQUMsQ0FBQztRQUN2RCxPQUFPLFFBQVEsQ0FBQyxRQUFRLEVBQUUsQ0FBQztJQUM3QixDQUFDOzt5R0FKSyxZQUFZO3VHQUFaLFlBQVk7MkZBQVosWUFBWTtrQkFEbkIsSUFBSTttQkFBQyxFQUFFLElBQUksRUFBRSxZQUFZLEVBQUUiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBQaXBlLCBQaXBlVHJhbnNmb3JtIH0gZnJvbSAnQGFuZ3VsYXIvY29yZSc7XHJcbi8vLyA8cmVmZXJlbmNlIHBhdGg9XCIuL25vZGVfbW9kdWxlcy9kYXlqcy9wbHVnaW4vZHVyYXRpb24uZC50c1wiIC8+XHJcbmltcG9ydCBkYXlqcyBmcm9tICdkYXlqcyc7XHJcblxyXG5AUGlwZSh7IG5hbWU6ICdhbUR1cmF0aW9uJyB9KSBleHBvcnRcclxuICBjbGFzcyBEdXJhdGlvblBpcGUgaW1wbGVtZW50cyBQaXBlVHJhbnNmb3JtIHtcclxuICB0cmFuc2Zvcm0odmFsdWU6IGFueSwgLi4uYXJnczogYW55W10pIHtcclxuICAgIGNvbnN0IGR1cmF0aW9uID0gZGF5anMuZHVyYXRpb24odmFsdWUsIGFyZ3NbMF0gfHwgJ3MnKTtcclxuICAgIHJldHVybiBkdXJhdGlvbi5odW1hbml6ZSgpO1xyXG4gIH1cclxuICBjb25zdHJ1Y3RvcigpIHtcclxuICB9XHJcbn1cclxuIl19
|
@@ -16,9 +16,9 @@ export class FormPipe {
|
|
16
16
|
return `_${value}`;
|
17
17
|
}
|
18
18
|
}
|
19
|
-
FormPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.
|
20
|
-
FormPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.0.
|
21
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.
|
19
|
+
FormPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: FormPipe, deps: [{ token: i1.SessionService }], target: i0.ɵɵFactoryTarget.Pipe });
|
20
|
+
FormPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: FormPipe, name: "form" });
|
21
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: FormPipe, decorators: [{
|
22
22
|
type: Pipe,
|
23
23
|
args: [{ name: 'form' }]
|
24
24
|
}], ctorParameters: function () { return [{ type: i1.SessionService }]; } });
|
@@ -9,9 +9,9 @@ export class JoinPipe {
|
|
9
9
|
return this._translate.join(value);
|
10
10
|
}
|
11
11
|
}
|
12
|
-
JoinPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.
|
13
|
-
JoinPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.0.
|
14
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.
|
12
|
+
JoinPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: JoinPipe, deps: [{ token: i1.TranslateService }], target: i0.ɵɵFactoryTarget.Pipe });
|
13
|
+
JoinPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: JoinPipe, name: "join" });
|
14
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: JoinPipe, decorators: [{
|
15
15
|
type: Pipe,
|
16
16
|
args: [{ name: 'join' }]
|
17
17
|
}], ctorParameters: function () { return [{ type: i1.TranslateService }]; } });
|
@@ -16,9 +16,9 @@ export class RolePipe {
|
|
16
16
|
return `_${value}`;
|
17
17
|
}
|
18
18
|
}
|
19
|
-
RolePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.
|
20
|
-
RolePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.0.
|
21
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.
|
19
|
+
RolePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: RolePipe, deps: [{ token: i1.SessionService }], target: i0.ɵɵFactoryTarget.Pipe });
|
20
|
+
RolePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: RolePipe, name: "role" });
|
21
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: RolePipe, decorators: [{
|
22
22
|
type: Pipe,
|
23
23
|
args: [{ name: 'role' }]
|
24
24
|
}], ctorParameters: function () { return [{ type: i1.SessionService }]; } });
|
@@ -9,9 +9,9 @@ export class SanitizeHtmlPipe {
|
|
9
9
|
return value ? this._sanitizer.bypassSecurityTrustHtml(value) : '';
|
10
10
|
}
|
11
11
|
}
|
12
|
-
SanitizeHtmlPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.
|
13
|
-
SanitizeHtmlPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.0.
|
14
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.
|
12
|
+
SanitizeHtmlPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: SanitizeHtmlPipe, deps: [{ token: i1.DomSanitizer }], target: i0.ɵɵFactoryTarget.Pipe });
|
13
|
+
SanitizeHtmlPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: SanitizeHtmlPipe, name: "sanitizeHtml" });
|
14
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: SanitizeHtmlPipe, decorators: [{
|
15
15
|
type: Pipe,
|
16
16
|
args: [{ name: 'sanitizeHtml' }]
|
17
17
|
}], ctorParameters: function () { return [{ type: i1.DomSanitizer }]; } });
|
@@ -19,9 +19,9 @@ export class ArraySortPipe {
|
|
19
19
|
return array;
|
20
20
|
}
|
21
21
|
}
|
22
|
-
ArraySortPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.
|
23
|
-
ArraySortPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.0.
|
24
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.
|
22
|
+
ArraySortPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ArraySortPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
23
|
+
ArraySortPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ArraySortPipe, name: "sort" });
|
24
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ArraySortPipe, decorators: [{
|
25
25
|
type: Pipe,
|
26
26
|
args: [{
|
27
27
|
name: "sort"
|
@@ -37,9 +37,9 @@ export class FilterPipe {
|
|
37
37
|
return array.filter(i => i[field].toLowerCase().indexOf(value) > -1);
|
38
38
|
}
|
39
39
|
}
|
40
|
-
FilterPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.
|
41
|
-
FilterPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.0.
|
42
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.
|
40
|
+
FilterPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: FilterPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
41
|
+
FilterPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: FilterPipe, name: "filter" });
|
42
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: FilterPipe, decorators: [{
|
43
43
|
type: Pipe,
|
44
44
|
args: [{
|
45
45
|
name: "filter"
|
@@ -16,9 +16,9 @@ export class StatePipe {
|
|
16
16
|
return `_${value}`;
|
17
17
|
}
|
18
18
|
}
|
19
|
-
StatePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.
|
20
|
-
StatePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.0.
|
21
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.
|
19
|
+
StatePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: StatePipe, deps: [{ token: i1.SessionService }], target: i0.ɵɵFactoryTarget.Pipe });
|
20
|
+
StatePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: StatePipe, name: "state" });
|
21
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: StatePipe, decorators: [{
|
22
22
|
type: Pipe,
|
23
23
|
args: [{ name: 'state' }]
|
24
24
|
}], ctorParameters: function () { return [{ type: i1.SessionService }]; } });
|
@@ -1,13 +1,11 @@
|
|
1
1
|
import { Pipe } from '@angular/core';
|
2
2
|
/// <reference path="./node_modules/dayjs/plugin/relativeTime.d.ts" />
|
3
3
|
import dayjs from 'dayjs';
|
4
|
-
import relativeTime from 'dayjs/plugin/relativeTime';
|
5
4
|
import * as i0 from "@angular/core";
|
6
5
|
export class TimeAgoPipe {
|
7
6
|
constructor(cdRef, ngZone) {
|
8
7
|
this.cdRef = cdRef;
|
9
8
|
this.ngZone = ngZone;
|
10
|
-
dayjs.extend(relativeTime);
|
11
9
|
}
|
12
10
|
transform(value, ...args) {
|
13
11
|
this.lastTime = dayjs(value);
|
@@ -41,9 +39,9 @@ export class TimeAgoPipe {
|
|
41
39
|
}
|
42
40
|
}
|
43
41
|
}
|
44
|
-
TimeAgoPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.
|
45
|
-
TimeAgoPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.0.
|
46
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.
|
42
|
+
TimeAgoPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: TimeAgoPipe, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Pipe });
|
43
|
+
TimeAgoPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: TimeAgoPipe, name: "amTimeAgo", pure: false });
|
44
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: TimeAgoPipe, decorators: [{
|
47
45
|
type: Pipe,
|
48
46
|
args: [{
|
49
47
|
name: 'amTimeAgo',
|
@@ -65,4 +63,4 @@ function getSecondsUntilUpdate(time) {
|
|
65
63
|
return 3600;
|
66
64
|
}
|
67
65
|
}
|
68
|
-
//# sourceMappingURL=data:application/json;base64,
|
66
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGltZS1hZ28ucGlwZS5qcyIsInNvdXJjZ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XG4gIH0gZWxzZSBpZiAoaG93T2xkIDwgMTgwKSB7XHJcbiAgICByZXR1cm4gMzAwO1xyXG4gIH0gZWxzZSB7XHJcbiAgICByZXR1cm4gMzYwMDtcclxuICB9XHJcbn1cclxuIl19
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { Pipe } from '@angular/core';
|
1
|
+
import { Directive, Pipe } from '@angular/core';
|
2
2
|
import * as i0 from "@angular/core";
|
3
3
|
import * as i1 from "../translate.service";
|
4
4
|
export class TranslatePipe {
|
@@ -14,10 +14,25 @@ export class TranslatePipe {
|
|
14
14
|
return str;
|
15
15
|
}
|
16
16
|
}
|
17
|
-
TranslatePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.
|
18
|
-
TranslatePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.0.
|
19
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.
|
17
|
+
TranslatePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: TranslatePipe, deps: [{ token: i1.TranslateService }], target: i0.ɵɵFactoryTarget.Pipe });
|
18
|
+
TranslatePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: TranslatePipe, name: "translate" });
|
19
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: TranslatePipe, decorators: [{
|
20
20
|
type: Pipe,
|
21
21
|
args: [{ name: 'translate' }]
|
22
22
|
}], ctorParameters: function () { return [{ type: i1.TranslateService }]; } });
|
23
|
-
|
23
|
+
export class TranslateDirective {
|
24
|
+
constructor(_elementRef, _translate) {
|
25
|
+
this._elementRef = _elementRef;
|
26
|
+
this._translate = _translate;
|
27
|
+
}
|
28
|
+
ngOnInit() {
|
29
|
+
this._elementRef.nativeElement.innerHTML = this._translate.get(this._elementRef.nativeElement.innerText);
|
30
|
+
}
|
31
|
+
}
|
32
|
+
TranslateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: TranslateDirective, deps: [{ token: i0.ElementRef }, { token: i1.TranslateService }], target: i0.ɵɵFactoryTarget.Directive });
|
33
|
+
TranslateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.0.3", type: TranslateDirective, selector: "[i18n]", ngImport: i0 });
|
34
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: TranslateDirective, decorators: [{
|
35
|
+
type: Directive,
|
36
|
+
args: [{ selector: '[i18n]' }]
|
37
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i1.TranslateService }]; } });
|
38
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidHJhbnNsYXRlLnBpcGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9saWJyYXJpZXMvY29yZS9zcmMvbGliL2NvcmUvcGlwZXMvdHJhbnNsYXRlLnBpcGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFNBQVMsRUFBNkIsSUFBSSxFQUFpQixNQUFNLGVBQWUsQ0FBQzs7O0FBRzFGLE1BQU0sT0FBTyxhQUFhO0lBU3hCLFlBQW9CLFNBQTJCO1FBQTNCLGNBQVMsR0FBVCxTQUFTLENBQWtCO0lBQUksQ0FBQztJQVJwRCxTQUFTLENBQUMsS0FBVSxFQUFFLEdBQUcsSUFBVztRQUNsQyxJQUFJLEdBQUcsR0FBRyxJQUFJLENBQUMsU0FBUyxDQUFDLEdBQUcsQ0FBQyxLQUFLLENBQUMsQ0FBQztRQUNwQyxJQUFJLElBQUksQ0FBQyxNQUFNO1lBQ2IsS0FBSyxJQUFJLENBQUMsR0FBRy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ac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.
|
35
|
-
TypeValuePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.0.
|
36
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.
|
34
|
+
TypeValuePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: TypeValuePipe, deps: [{ token: i1.TranslateService }, { token: i2.DatasourceService }], target: i0.ɵɵFactoryTarget.Pipe });
|
35
|
+
TypeValuePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: TypeValuePipe, name: "typeValue" });
|
36
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: TypeValuePipe, decorators: [{
|
37
37
|
type: Pipe,
|
38
38
|
args: [{
|
39
39
|
name: 'typeValue',
|
@@ -12,9 +12,9 @@ export class UserNamePipe {
|
|
12
12
|
return subject;
|
13
13
|
}
|
14
14
|
}
|
15
|
-
UserNamePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.
|
16
|
-
UserNamePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.0.
|
17
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.
|
15
|
+
UserNamePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: UserNamePipe, deps: [{ token: i1.AccountService }], target: i0.ɵɵFactoryTarget.Pipe });
|
16
|
+
UserNamePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: UserNamePipe, name: "userName" });
|
17
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: UserNamePipe, decorators: [{
|
18
18
|
type: Pipe,
|
19
19
|
args: [{ name: 'userName' }]
|
20
20
|
}], ctorParameters: function () { return [{ type: i1.AccountService }]; } });
|
@@ -22,9 +22,9 @@ export class PopupComponent {
|
|
22
22
|
this._ref._opened.next(this._instance);
|
23
23
|
}
|
24
24
|
}
|
25
|
-
PopupComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.
|
26
|
-
PopupComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.0.
|
27
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.
|
25
|
+
PopupComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: PopupComponent, deps: [{ token: POPUP_DATA }, { token: i1.PopupRef }, { token: i0.Injector }, { token: i0.ComponentFactoryResolver }], target: i0.ɵɵFactoryTarget.Component });
|
26
|
+
PopupComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.0.3", type: PopupComponent, selector: "bizdoc-popup", viewQueries: [{ propertyName: "_container", first: true, predicate: ["container"], descendants: true, read: ViewContainerRef, static: true }], ngImport: i0, template: "<div class=\"popup-content\">\r\n <ng-container #container></ng-container>\r\n</div>\r\n<div class=\"tooltip-container\">\r\n <div class=\"tooltip\"></div>\r\n</div>\r\n" });
|
27
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: PopupComponent, decorators: [{
|
28
28
|
type: Component,
|
29
29
|
args: [{ selector: 'bizdoc-popup', template: "<div class=\"popup-content\">\r\n <ng-container #container></ng-container>\r\n</div>\r\n<div class=\"tooltip-container\">\r\n <div class=\"tooltip\"></div>\r\n</div>\r\n" }]
|
30
30
|
}], ctorParameters: function () { return [{ type: undefined, decorators: [{
|
@@ -139,9 +139,9 @@ export class Popup {
|
|
139
139
|
return pRef;
|
140
140
|
}
|
141
141
|
}
|
142
|
-
Popup.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.
|
143
|
-
Popup.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.
|
144
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.
|
142
|
+
Popup.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: Popup, deps: [{ token: i1.Overlay }, { token: i2.SessionService }, { token: i0.Injector }], target: i0.ɵɵFactoryTarget.Injectable });
|
143
|
+
Popup.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: Popup, providedIn: 'root' });
|
144
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: Popup, decorators: [{
|
145
145
|
type: Injectable,
|
146
146
|
args: [{ providedIn: 'root' }]
|
147
147
|
}], ctorParameters: function () { return [{ type: i1.Overlay }, { type: i2.SessionService }, { type: i0.Injector }]; } });
|
@@ -9,9 +9,9 @@ export class TooltipComponent {
|
|
9
9
|
_element.nativeElement.innerHTML = _data;
|
10
10
|
}
|
11
11
|
}
|
12
|
-
TooltipComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.
|
13
|
-
TooltipComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.0.
|
14
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.
|
12
|
+
TooltipComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: TooltipComponent, deps: [{ token: POPUP_DATA }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component });
|
13
|
+
TooltipComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.0.3", type: TooltipComponent, selector: "ng-component", ngImport: i0, template: '', isInline: true });
|
14
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: TooltipComponent, decorators: [{
|
15
15
|
type: Component,
|
16
16
|
args: [{ template: '' }]
|
17
17
|
}], ctorParameters: function () { return [{ type: undefined, decorators: [{
|
@@ -55,9 +55,9 @@ export class TooltipDirective {
|
|
55
55
|
}
|
56
56
|
}
|
57
57
|
TooltipDirective._active = [];
|
58
|
-
TooltipDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.
|
59
|
-
TooltipDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.0.
|
60
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.
|
58
|
+
TooltipDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: TooltipDirective, deps: [{ token: i0.ElementRef }, { token: i1.Popup }], target: i0.ɵɵFactoryTarget.Directive });
|
59
|
+
TooltipDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.0.3", type: TooltipDirective, selector: "[bizdocTooltip]", inputs: { content: ["bizdocTooltip", "content"], template: ["bizdocTooltipTemplate", "template"], context: ["bizdocTooltipContext", "context"], position: ["bizdocTooltipPosition", "position"], duration: ["bizdocTooltipDuration", "duration"], disabled: ["bizdocTooltipDisabled", "disabled"] }, ngImport: i0 });
|
60
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: TooltipDirective, decorators: [{
|
61
61
|
type: Directive,
|
62
62
|
args: [{ selector: '[bizdocTooltip]' }]
|
63
63
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i1.Popup }]; }, propDecorators: { content: [{
|
@@ -17,9 +17,9 @@ export class AskDialog {
|
|
17
17
|
});
|
18
18
|
}
|
19
19
|
}
|
20
|
-
AskDialog.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.
|
21
|
-
AskDialog.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.0.
|
22
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.
|
20
|
+
AskDialog.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: AskDialog, deps: [{ token: MAT_DIALOG_DATA }, { token: i1.TranslateService }], target: i0.ɵɵFactoryTarget.Component });
|
21
|
+
AskDialog.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.0.3", type: AskDialog, selector: "bizdoc-ask", ngImport: i0, template: "<h2 mat-dialog-title>{{title}}</h2>\r\n<mat-dialog-content class=\"mat-body\">{{content}}</mat-dialog-content>\r\n<mat-dialog-actions>\r\n <button mat-button [mat-dialog-close]=\"true\" [color]=\"color\">{{ok}}</button>\r\n <button mat-button mat-dialog-close>{{cancel}}</button>\r\n</mat-dialog-actions>\r\n", components: [{ type: i2.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"] }], directives: [{ type: i3.MatDialogTitle, selector: "[mat-dialog-title], [matDialogTitle]", inputs: ["id"], exportAs: ["matDialogTitle"] }, { type: i3.MatDialogContent, selector: "[mat-dialog-content], mat-dialog-content, [matDialogContent]" }, { type: i3.MatDialogActions, selector: "[mat-dialog-actions], mat-dialog-actions, [matDialogActions]" }, { type: i3.MatDialogClose, selector: "[mat-dialog-close], [matDialogClose]", inputs: ["aria-label", "type", "mat-dialog-close", "matDialogClose"], exportAs: ["matDialogClose"] }] });
|
22
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: AskDialog, decorators: [{
|
23
23
|
type: Component,
|
24
24
|
args: [{ selector: 'bizdoc-ask', template: "<h2 mat-dialog-title>{{title}}</h2>\r\n<mat-dialog-content class=\"mat-body\">{{content}}</mat-dialog-content>\r\n<mat-dialog-actions>\r\n <button mat-button [mat-dialog-close]=\"true\" [color]=\"color\">{{ok}}</button>\r\n <button mat-button mat-dialog-close>{{cancel}}</button>\r\n</mat-dialog-actions>\r\n" }]
|
25
25
|
}], ctorParameters: function () { return [{ type: undefined, decorators: [{
|
@@ -9,9 +9,9 @@ export class MaskComponent {
|
|
9
9
|
this.resource = resource;
|
10
10
|
}
|
11
11
|
}
|
12
|
-
MaskComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.
|
13
|
-
MaskComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.0.
|
14
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.
|
12
|
+
MaskComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: MaskComponent, deps: [{ token: MASK_DATA }], target: i0.ɵɵFactoryTarget.Component });
|
13
|
+
MaskComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.0.3", type: MaskComponent, selector: "bizdoc-mask", ngImport: i0, template: "<h1 class=\"mat-display-2\">{{resource|translate}}</h1>\r\n", styles: [":host{position:absolute;top:0;right:0;bottom:0;left:0;background-color:#fff;padding:2em;opacity:.8;display:flex;flex-direction:row;place-content:center center;align-items:center}\n"], pipes: { "translate": i1.TranslatePipe } });
|
14
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: MaskComponent, decorators: [{
|
15
15
|
type: Component,
|
16
16
|
args: [{ selector: 'bizdoc-mask', template: "<h1 class=\"mat-display-2\">{{resource|translate}}</h1>\r\n", styles: [":host{position:absolute;top:0;right:0;bottom:0;left:0;background-color:#fff;padding:2em;opacity:.8;display:flex;flex-direction:row;place-content:center center;align-items:center}\n"] }]
|
17
17
|
}], ctorParameters: function () { return [{ type: undefined, decorators: [{
|
@@ -77,9 +77,9 @@ export class PromptService {
|
|
77
77
|
return oRef;
|
78
78
|
}
|
79
79
|
}
|
80
|
-
PromptService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.
|
81
|
-
PromptService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.
|
82
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.
|
80
|
+
PromptService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: PromptService, deps: [{ token: i1.MatDialog }, { token: i2.MatSnackBar }, { token: i0.Injector }, { token: i3.Overlay }, { token: i4.TranslateService }, { token: i5.SessionService }], target: i0.ɵɵFactoryTarget.Injectable });
|
81
|
+
PromptService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: PromptService, providedIn: 'root' });
|
82
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: PromptService, decorators: [{
|
83
83
|
type: Injectable,
|
84
84
|
args: [{ providedIn: 'root' }]
|
85
85
|
}], ctorParameters: function () { return [{ type: i1.MatDialog }, { type: i2.MatSnackBar }, { type: i0.Injector }, { type: i3.Overlay }, { type: i4.TranslateService }, { type: i5.SessionService }]; } });
|
@@ -13,9 +13,9 @@ export class PaneRouter extends RouterImpl {
|
|
13
13
|
this._router.navigate(commands, extra);
|
14
14
|
}
|
15
15
|
}
|
16
|
-
PaneRouter.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.
|
17
|
-
PaneRouter.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.
|
18
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.
|
16
|
+
PaneRouter.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: PaneRouter, deps: [{ token: i1.PanesRouter }], target: i0.ɵɵFactoryTarget.Injectable });
|
17
|
+
PaneRouter.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: PaneRouter });
|
18
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: PaneRouter, decorators: [{
|
19
19
|
type: Injectable
|
20
20
|
}], ctorParameters: function () { return [{ type: i1.PanesRouter }]; } });
|
21
21
|
export class NgRouter extends RouterImpl {
|
@@ -27,9 +27,9 @@ export class NgRouter extends RouterImpl {
|
|
27
27
|
this._router.navigate(commands, extra);
|
28
28
|
}
|
29
29
|
}
|
30
|
-
NgRouter.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.
|
31
|
-
NgRouter.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.
|
32
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.
|
30
|
+
NgRouter.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: NgRouter, deps: [{ token: i2.Router }], target: i0.ɵɵFactoryTarget.Injectable });
|
31
|
+
NgRouter.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: NgRouter });
|
32
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: NgRouter, decorators: [{
|
33
33
|
type: Injectable
|
34
34
|
}], ctorParameters: function () { return [{ type: i2.Router }]; } });
|
35
35
|
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicm91dGVyLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vbGlicmFyaWVzL2NvcmUv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