@bizdoc/core 3.0.6 → 3.2.1
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/system/Workday.svg +37 -37
- package/assets/themes/brown.min.css +1 -1
- package/assets/themes/dark.min.css +1 -1
- package/assets/themes/deep-purple-light-blue.min.css +1 -1
- package/assets/themes/deep-purple-teal.min.css +1 -1
- package/assets/themes/default.min.css +25 -15
- package/assets/themes/green.min.css +1 -1
- package/assets/themes/indigo-amber.min.css +1 -1
- package/assets/themes/indigo.min.css +1 -1
- package/esm2022/bizdoc-core.mjs +1 -1
- package/esm2022/lib/admin/admin-dismiss.service.mjs +4 -4
- package/esm2022/lib/admin/admin-menu.component.mjs +5 -5
- package/esm2022/lib/admin/architecture/cube-axes-filter.component.mjs +10 -10
- package/esm2022/lib/admin/architecture/declarations.mjs +3 -2
- package/esm2022/lib/admin/architecture/designer-element.component.mjs +25 -22
- package/esm2022/lib/admin/architecture/designer-privileges.component.mjs +6 -6
- package/esm2022/lib/admin/architecture/designer.base.mjs +11 -14
- package/esm2022/lib/admin/architecture/designer.component.mjs +9 -8
- package/esm2022/lib/admin/architecture/elements/action.component.mjs +4 -5
- package/esm2022/lib/admin/architecture/elements/analysis-view.component.mjs +5 -5
- package/esm2022/lib/admin/architecture/elements/analysis-widget.component.mjs +5 -5
- package/esm2022/lib/admin/architecture/elements/anomaly-rule.component.mjs +5 -5
- package/esm2022/lib/admin/architecture/elements/attribute.component.mjs +5 -6
- package/esm2022/lib/admin/architecture/elements/box-form.component.mjs +5 -5
- package/esm2022/lib/admin/architecture/elements/configuration-datasource.component.mjs +5 -5
- package/esm2022/lib/admin/architecture/elements/control.component.mjs +4 -7
- package/esm2022/lib/admin/architecture/elements/cube-index-utility.component.mjs +5 -5
- package/esm2022/lib/admin/architecture/elements/cube-view.component.mjs +5 -5
- package/esm2022/lib/admin/architecture/elements/cube.component.mjs +14 -15
- package/esm2022/lib/admin/architecture/elements/document-state-widget.component.mjs +6 -8
- package/esm2022/lib/admin/architecture/elements/documents-report.component.mjs +5 -5
- package/esm2022/lib/admin/architecture/elements/documents-widget.component.mjs +5 -5
- package/esm2022/lib/admin/architecture/elements/explore-view.component.mjs +5 -5
- package/esm2022/lib/admin/architecture/elements/folder.component.mjs +5 -6
- package/esm2022/lib/admin/architecture/elements/form-invite.dialog.mjs +9 -11
- package/esm2022/lib/admin/architecture/elements/form.component.mjs +13 -14
- package/esm2022/lib/admin/architecture/elements/guide.component.mjs +5 -6
- package/esm2022/lib/admin/architecture/elements/job.component.mjs +5 -6
- package/esm2022/lib/admin/architecture/elements/matrix-view.component.mjs +6 -6
- package/esm2022/lib/admin/architecture/elements/node.component.mjs +4 -4
- package/esm2022/lib/admin/architecture/elements/parallel-view.component.mjs +5 -5
- package/esm2022/lib/admin/architecture/elements/performance-report.component.mjs +5 -5
- package/esm2022/lib/admin/architecture/elements/performance-widget.component.mjs +5 -5
- package/esm2022/lib/admin/architecture/elements/pivot-view.component.mjs +5 -5
- package/esm2022/lib/admin/architecture/elements/policy.component.mjs +4 -4
- package/esm2022/lib/admin/architecture/elements/report.component.mjs +5 -6
- package/esm2022/lib/admin/architecture/elements/return-to-role-action.component.mjs +5 -5
- package/esm2022/lib/admin/architecture/elements/role.component.mjs +5 -6
- package/esm2022/lib/admin/architecture/elements/rule.component.mjs +4 -4
- package/esm2022/lib/admin/architecture/elements/source.component.mjs +4 -4
- package/esm2022/lib/admin/architecture/elements/state.component.mjs +4 -5
- package/esm2022/lib/admin/architecture/elements/sum-view.component.mjs +5 -5
- package/esm2022/lib/admin/architecture/elements/tasks-report.component.mjs +5 -5
- package/esm2022/lib/admin/architecture/elements/type.component.mjs +7 -8
- package/esm2022/lib/admin/architecture/elements/usage-report.component.mjs +6 -6
- package/esm2022/lib/admin/architecture/elements/utility.component.mjs +4 -4
- package/esm2022/lib/admin/architecture/elements/view.component.mjs +4 -4
- package/esm2022/lib/admin/architecture/elements/widget.component.mjs +5 -6
- package/esm2022/lib/admin/architecture/icon-picker.component.mjs +12 -7
- package/esm2022/lib/admin/core/ace.input.mjs +14 -13
- package/esm2022/lib/admin/core/color-picker.input.mjs +5 -5
- package/esm2022/lib/admin/core/localized-string.component.mjs +8 -7
- package/esm2022/lib/admin/core/search.input.mjs +5 -5
- package/esm2022/lib/admin/diff/configuration-diff.component.mjs +8 -7
- package/esm2022/lib/admin/document-trace/document-trace.component.mjs +19 -13
- package/esm2022/lib/admin/document-trace/reassign.dialog.mjs +5 -5
- package/esm2022/lib/admin/document-trace/timeline.mjs +1 -1
- package/esm2022/lib/admin/document-trace/trace-element.component.mjs +6 -6
- package/esm2022/lib/admin/form/designer/box-designer.component.mjs +6 -6
- package/esm2022/lib/admin/form/designer/declarations.mjs +1 -1
- package/esm2022/lib/admin/form/designer/design-control.component.mjs +4 -4
- package/esm2022/lib/admin/form/designer/properties.component.mjs +5 -5
- package/esm2022/lib/admin/form/designer/section.component.mjs +5 -5
- package/esm2022/lib/admin/form/designer/settings.component.mjs +4 -4
- package/esm2022/lib/admin/form/form.resolve.service.mjs +4 -4
- package/esm2022/lib/admin/form/workflow/node-ref.mjs +1 -1
- package/esm2022/lib/admin/form/workflow/node.component.mjs +35 -35
- package/esm2022/lib/admin/form/workflow/role-node.component.mjs +5 -5
- package/esm2022/lib/admin/form/workflow/workflow.component.mjs +10 -12
- package/esm2022/lib/admin/indices/manage-cube-index.component.mjs +9 -9
- package/esm2022/lib/admin/patterns/patterns.component.mjs +5 -5
- package/esm2022/lib/admin/permissions/permissions.component.mjs +5 -5
- package/esm2022/lib/admin/positions/positions-popup.component.mjs +8 -7
- package/esm2022/lib/admin/positions/positions.component.mjs +9 -9
- package/esm2022/lib/admin/profiler/outofoffice.component.mjs +6 -6
- package/esm2022/lib/admin/profiler/profiler.component.mjs +7 -7
- package/esm2022/lib/admin/system.service.mjs +15 -11
- package/esm2022/lib/admin/utility-ref.mjs +7 -5
- package/esm2022/lib/admin/utility-wrapper.component.mjs +4 -4
- package/esm2022/lib/admin/utility.pane.component.mjs +4 -4
- package/esm2022/lib/app.component.mjs +7 -7
- package/esm2022/lib/bizdoc.module.mjs +5 -5
- package/esm2022/lib/browse/browse-items.component.mjs +34 -33
- package/esm2022/lib/browse/browse.mobile.component.mjs +11 -8
- package/esm2022/lib/browse/browse.pane.component.mjs +9 -9
- package/esm2022/lib/browse/expanded-item/expanded-item.component.mjs +12 -12
- package/esm2022/lib/browse/filter/filter.component.mjs +27 -39
- package/esm2022/lib/browse/folders-menu.component.mjs +5 -5
- package/esm2022/lib/chat/chat-info.mjs +9 -8
- package/esm2022/lib/chat/chat.mobile.component.mjs +5 -5
- package/esm2022/lib/chat/chat.service.mjs +6 -6
- package/esm2022/lib/chat/contacts.component.mjs +10 -9
- package/esm2022/lib/chat/contacts.pane.component.mjs +4 -4
- package/esm2022/lib/chat/conversation.component.mjs +8 -8
- package/esm2022/lib/chat/conversation.pane.component.mjs +4 -4
- package/esm2022/lib/compose/action/action-picker.component.mjs +7 -10
- package/esm2022/lib/compose/action/action-ref.mjs +1 -1
- package/esm2022/lib/compose/action/action.base.mjs +1 -1
- package/esm2022/lib/compose/action/action.dialog.mjs +5 -5
- package/esm2022/lib/compose/action/action.pane.dialog.exp.mjs +7 -7
- package/esm2022/lib/compose/action/assign-action.component.mjs +5 -5
- package/esm2022/lib/compose/action/moveto-action.component.mjs +6 -6
- package/esm2022/lib/compose/action/return-action.component.mjs +5 -5
- package/esm2022/lib/compose/attachments/attachments.component.mjs +5 -5
- package/esm2022/lib/compose/attachments/preview/attachment-preview.component.mjs +5 -5
- package/esm2022/lib/compose/attachments/progress-button.directive.mjs +4 -4
- package/esm2022/lib/compose/box/box.component.mjs +5 -5
- package/esm2022/lib/compose/box/control.component.mjs +4 -4
- package/esm2022/lib/compose/box/row.component.mjs +4 -4
- package/esm2022/lib/compose/can-deactivate-changes.service.mjs +4 -4
- package/esm2022/lib/compose/comments/comment.component.mjs +18 -15
- package/esm2022/lib/compose/comments/comments.component.mjs +7 -7
- package/esm2022/lib/compose/comments/comments.pane.component.mjs +5 -5
- package/esm2022/lib/compose/comments/edit-comment.component.mjs +4 -4
- package/esm2022/lib/compose/comments/edits.component.mjs +5 -5
- package/esm2022/lib/compose/comments/quick-comment.component.exp.mjs +6 -6
- package/esm2022/lib/compose/comments/votes.component.mjs +5 -5
- package/esm2022/lib/compose/compose-resolve.service.mjs +4 -4
- package/esm2022/lib/compose/compose.mobile.component.mjs +8 -8
- package/esm2022/lib/compose/compose.pane.component.mjs +11 -11
- package/esm2022/lib/compose/copy/copy.dialog.mjs +5 -5
- package/esm2022/lib/compose/dismiss.service.mjs +4 -4
- package/esm2022/lib/compose/document-resolve.service.mjs +7 -7
- package/esm2022/lib/compose/document-resolver.service.mjs +4 -4
- package/esm2022/lib/compose/document.component.mjs +4 -4
- package/esm2022/lib/compose/document.mobile.component.mjs +4 -4
- package/esm2022/lib/compose/document.pane.component.mjs +4 -4
- package/esm2022/lib/compose/events/events.component.mjs +5 -5
- package/esm2022/lib/compose/form-ref.mjs +1 -1
- package/esm2022/lib/compose/form-selector/form-selector.sheet.mjs +5 -5
- package/esm2022/lib/compose/form.component.mjs +59 -23
- package/esm2022/lib/compose/new-menu.component.mjs +8 -7
- package/esm2022/lib/compose/overlay.component.exp.mjs +4 -4
- package/esm2022/lib/compose/privilage.directive.mjs +7 -7
- package/esm2022/lib/compose/recipient-resolver.service.mjs +4 -4
- package/esm2022/lib/compose/state.component.mjs +4 -4
- package/esm2022/lib/compose/tag/tags.component.mjs +5 -5
- package/esm2022/lib/compose/trace/flow.component.mjs +16 -17
- package/esm2022/lib/compose/trace/people.component.mjs +14 -9
- package/esm2022/lib/compose/trace/trace.base.mjs +6 -7
- package/esm2022/lib/compose/trace/trace.component.mjs +5 -5
- package/esm2022/lib/compose/trace/trace.pane.component.mjs +4 -4
- package/esm2022/lib/compose/version-compare/version-compare.component.mjs +5 -4
- package/esm2022/lib/compose/version-compare/version-compare.directive.mjs +14 -14
- package/esm2022/lib/compose/version-compare/version.pane.component.mjs +5 -5
- package/esm2022/lib/core/account.service.mjs +4 -4
- package/esm2022/lib/core/animated-icon/animated-icon.directive.mjs +4 -4
- package/esm2022/lib/core/animations.mjs +1 -1
- package/esm2022/lib/core/authentication.mjs +1 -1
- package/esm2022/lib/core/avatar/avatar.component.mjs +52 -43
- package/esm2022/lib/core/base.mjs +1 -1
- package/esm2022/lib/core/checkbox.mjs +19 -19
- package/esm2022/lib/core/colors.mjs +1 -1
- package/esm2022/lib/core/component-factory-resolver.mjs +5 -5
- package/esm2022/lib/core/configuration.mjs +1 -1
- package/esm2022/lib/core/datasource.service.mjs +4 -4
- package/esm2022/lib/core/decorators.mjs +1 -1
- package/esm2022/lib/core/document-factory.service.mjs +4 -11
- package/esm2022/lib/core/fields/address.designer.mjs +4 -4
- package/esm2022/lib/core/fields/address.field.mjs +31 -31
- package/esm2022/lib/core/fields/autocomplete.field.mjs +65 -65
- package/esm2022/lib/core/fields/axes-picker.designer.mjs +25 -25
- package/esm2022/lib/core/fields/axes-picker.field.mjs +5 -5
- package/esm2022/lib/core/fields/checkbox.designer.mjs +4 -4
- package/esm2022/lib/core/fields/checkbox.field.mjs +5 -5
- package/esm2022/lib/core/fields/checklist.designer.mjs +59 -59
- package/esm2022/lib/core/fields/checklist.field.mjs +5 -5
- package/esm2022/lib/core/fields/date-range.designer.mjs +4 -4
- package/esm2022/lib/core/fields/date-range.field.mjs +5 -5
- package/esm2022/lib/core/fields/date.designer.mjs +4 -4
- package/esm2022/lib/core/fields/date.field.mjs +5 -5
- package/esm2022/lib/core/fields/expression.field.mjs +30 -30
- package/esm2022/lib/core/fields/file.designer.mjs +4 -4
- package/esm2022/lib/core/fields/file.field.mjs +5 -5
- package/esm2022/lib/core/fields/html.designer.mjs +4 -4
- package/esm2022/lib/core/fields/html.field.mjs +5 -5
- package/esm2022/lib/core/fields/input.designer.mjs +4 -4
- package/esm2022/lib/core/fields/input.field.mjs +5 -5
- package/esm2022/lib/core/fields/localized-string.field.mjs +7 -7
- package/esm2022/lib/core/fields/numeric.designer.mjs +4 -4
- package/esm2022/lib/core/fields/numeric.field.mjs +5 -5
- package/esm2022/lib/core/fields/options.base.mjs +8 -8
- package/esm2022/lib/core/fields/options.component.mjs +5 -5
- package/esm2022/lib/core/fields/radio-button.designer.mjs +5 -5
- package/esm2022/lib/core/fields/radio-button.field.mjs +5 -5
- package/esm2022/lib/core/fields/select.designer.mjs +63 -63
- package/esm2022/lib/core/fields/select.field.mjs +5 -5
- package/esm2022/lib/core/fields/signature.designer.mjs +4 -4
- package/esm2022/lib/core/fields/signature.field.mjs +5 -5
- package/esm2022/lib/core/fields/switch.field.mjs +5 -5
- package/esm2022/lib/core/fields/tags.designer.mjs +4 -4
- package/esm2022/lib/core/fields/tags.field.mjs +5 -5
- package/esm2022/lib/core/fields/textarea.designer.mjs +4 -4
- package/esm2022/lib/core/fields/textarea.field.mjs +5 -5
- package/esm2022/lib/core/fields/time.designer.mjs +4 -4
- package/esm2022/lib/core/fields/time.field.mjs +5 -5
- package/esm2022/lib/core/fields/timespan.field.mjs +30 -30
- package/esm2022/lib/core/fields/yesno.designer.mjs +23 -23
- package/esm2022/lib/core/fields/yesno.field.mjs +5 -5
- package/esm2022/lib/core/firebase.service.mjs +1 -1
- package/esm2022/lib/core/functions.mjs +4 -1
- package/esm2022/lib/core/guide/guide.component.mjs +5 -5
- package/esm2022/lib/core/guide/guide.service.mjs +11 -7
- package/esm2022/lib/core/guide/help-tip.component.mjs +22 -22
- package/esm2022/lib/core/http.interceptor.mjs +6 -6
- package/esm2022/lib/core/hub.service.mjs +4 -4
- package/esm2022/lib/core/identity/identity.component.mjs +5 -5
- package/esm2022/lib/core/info/attachment-info.service.mjs +4 -4
- package/esm2022/lib/core/info/document-info.service.mjs +4 -4
- package/esm2022/lib/core/info/location-info.component.mjs +4 -4
- package/esm2022/lib/core/info/map-info.mjs +4 -4
- package/esm2022/lib/core/inputs/address.input.mjs +21 -21
- package/esm2022/lib/core/inputs/auto-complete.input.mjs +38 -37
- package/esm2022/lib/core/inputs/combination-picker-body.mjs +10 -12
- package/esm2022/lib/core/inputs/combination-picker.mjs +4 -5
- package/esm2022/lib/core/inputs/combination-pool.mjs +7 -6
- package/esm2022/lib/core/inputs/file.input.mjs +30 -24
- package/esm2022/lib/core/inputs/select.input.mjs +37 -37
- package/esm2022/lib/core/inputs/signature.input.mjs +4 -4
- package/esm2022/lib/core/inputs/time-picker.mjs +8 -8
- package/esm2022/lib/core/inputs/timespan.input.mjs +7 -7
- package/esm2022/lib/core/layout.component.mjs +11 -5
- package/esm2022/lib/core/lottie-animation.exp.mjs +49 -0
- package/esm2022/lib/core/mailbox.service.mjs +20 -14
- package/esm2022/lib/core/models.mjs +2 -1
- package/esm2022/lib/core/none.component.mjs +15 -15
- package/esm2022/lib/core/pipes/action.pipe.mjs +4 -4
- package/esm2022/lib/core/pipes/calendar.pipe.mjs +4 -4
- package/esm2022/lib/core/pipes/date-format.pipe.mjs +4 -4
- package/esm2022/lib/core/pipes/daterange.pipe.mjs +7 -7
- package/esm2022/lib/core/pipes/difference.pipe.mjs +4 -4
- package/esm2022/lib/core/pipes/duration-format.pipe.mjs +4 -4
- package/esm2022/lib/core/pipes/duration.pipe.mjs +4 -4
- package/esm2022/lib/core/pipes/filter.pipe.mjs +25 -0
- package/esm2022/lib/core/pipes/form.pipe.mjs +4 -4
- package/esm2022/lib/core/pipes/join.pipe.mjs +4 -4
- package/esm2022/lib/core/pipes/localized-string.pipe.mjs +4 -4
- package/esm2022/lib/core/pipes/role.pipe.mjs +4 -4
- package/esm2022/lib/core/pipes/sanitize-html.pipe.mjs +4 -4
- package/esm2022/lib/core/pipes/sort.pipe.mjs +8 -30
- package/esm2022/lib/core/pipes/state.pipe.mjs +4 -4
- package/esm2022/lib/core/pipes/time-ago.pipe.mjs +4 -4
- package/esm2022/lib/core/pipes/to-now.pipe.mjs +4 -4
- package/esm2022/lib/core/pipes/translate.pipe.mjs +10 -10
- package/esm2022/lib/core/pipes/type-value.pipe.mjs +4 -4
- package/esm2022/lib/core/pipes/user-name.pipe.mjs +4 -4
- package/esm2022/lib/core/popup/popup-ref.mjs +1 -1
- package/esm2022/lib/core/popup/popup.component.mjs +4 -4
- package/esm2022/lib/core/popup/popup.service.mjs +7 -5
- package/esm2022/lib/core/popup/tooltip.directive.mjs +10 -11
- package/esm2022/lib/core/prompt/ask/ask.dialog.mjs +4 -4
- package/esm2022/lib/core/prompt/mask/mask.component.mjs +4 -4
- package/esm2022/lib/core/prompt.service.mjs +6 -6
- package/esm2022/lib/core/router.mjs +9 -9
- package/esm2022/lib/core/save-changes.dialog.mjs +4 -4
- package/esm2022/lib/core/session.service.mjs +18 -9
- package/esm2022/lib/core/slots/pane-ref.mjs +2 -2
- package/esm2022/lib/core/slots/router.directive.mjs +4 -4
- package/esm2022/lib/core/slots/router.service.mjs +6 -5
- package/esm2022/lib/core/slots/slots.component.mjs +26 -23
- package/esm2022/lib/core/sticky-toolbar.exp.mjs +9 -6
- package/esm2022/lib/core/tagging/documents.component.mjs +5 -5
- package/esm2022/lib/core/tagging/edit-input.component.mjs +17 -14
- package/esm2022/lib/core/tagging/emoji.component.mjs +4 -4
- package/esm2022/lib/core/tagging/tagging-item.directive.mjs +4 -4
- package/esm2022/lib/core/tagging/tagging.component-base.mjs +4 -4
- package/esm2022/lib/core/tagging/tagging.directive.mjs +5 -5
- package/esm2022/lib/core/tagging/tagging.pipe.mjs +4 -4
- package/esm2022/lib/core/tagging/users.component.mjs +5 -5
- package/esm2022/lib/core/translate.service.mjs +5 -4
- package/esm2022/lib/core/translations.mjs +8 -6
- package/esm2022/lib/core/virtual-tabs.component.exp.mjs +7 -7
- package/esm2022/lib/core/window-title.service.mjs +14 -6
- package/esm2022/lib/cube/accum/accum.component.mjs +4 -4
- package/esm2022/lib/cube/chart/chart.component.mjs +8 -7
- package/esm2022/lib/cube/cube-info.service.mjs +13 -10
- package/esm2022/lib/cube/cube-menu.component.mjs +5 -5
- package/esm2022/lib/cube/cube-view.component.mjs +5 -5
- package/esm2022/lib/cube/cube.service.mjs +21 -19
- package/esm2022/lib/cube/declarations.mjs +1 -1
- package/esm2022/lib/cube/explore/document-item.component.mjs +4 -4
- package/esm2022/lib/cube/explore/explore-item.component.mjs +4 -4
- package/esm2022/lib/cube/explore/explore-items.component.mjs +8 -8
- package/esm2022/lib/cube/explore/explore.pane.component.mjs +5 -5
- package/esm2022/lib/cube/explore/item-resolver.service.mjs +7 -7
- package/esm2022/lib/cube/explore/item.pane.component.mjs +5 -5
- package/esm2022/lib/cube/filter/filter-tags.component.exp.mjs +5 -5
- package/esm2022/lib/cube/filter/filter.component.mjs +14 -13
- package/esm2022/lib/cube/grid/grid.component.mjs +9 -8
- package/esm2022/lib/cube/matrix/matrix.base.mjs +20 -18
- package/esm2022/lib/cube/matrix/matrix.mobile.component.mjs +5 -5
- package/esm2022/lib/cube/matrix/matrix.pane.component.mjs +6 -6
- package/esm2022/lib/cube/matrix/popup.component.mjs +5 -5
- package/esm2022/lib/cube/matrix/table.component.mjs +10 -9
- package/esm2022/lib/cube/parallel/item.mjs +1 -2
- package/esm2022/lib/cube/parallel/parallel.component.mjs +5 -5
- package/esm2022/lib/cube/pivot/pivot.component.mjs +16 -7
- package/esm2022/lib/cube/spreadsheet/spreadsheet.component.mjs +6 -6
- package/esm2022/lib/cube/spreadsheet/spreadsheet.container.exp.mjs +4 -4
- package/esm2022/lib/cube/sum/sum.component.mjs +20 -19
- package/esm2022/lib/cube/view-base.mjs +5 -5
- package/esm2022/lib/cube/view.mobile.component.mjs +6 -6
- package/esm2022/lib/cube/view.pane.component.mjs +5 -5
- package/esm2022/lib/dashboard/actions/actions.widget.mjs +7 -6
- package/esm2022/lib/dashboard/cube/accum-cube.widget.mjs +4 -8
- package/esm2022/lib/dashboard/cube/compare.widget.mjs +5 -7
- package/esm2022/lib/dashboard/cube/cube-analysis.base.mjs +8 -6
- package/esm2022/lib/dashboard/cube/cube-analysis.widget.mjs +4 -4
- package/esm2022/lib/dashboard/cube/cube-chart.widget.mjs +5 -4
- package/esm2022/lib/dashboard/cube/document-state.widget.mjs +6 -5
- package/esm2022/lib/dashboard/cube/documents.widget.mjs +4 -4
- package/esm2022/lib/dashboard/cube/filter/filter.component.mjs +4 -4
- package/esm2022/lib/dashboard/dashboard.component.mjs +5 -5
- package/esm2022/lib/dashboard/dashboard.pane.component.mjs +4 -4
- package/esm2022/lib/dashboard/recents/recents.widget.mjs +13 -16
- package/esm2022/lib/dashboard/score/activity.widget.mjs +7 -6
- package/esm2022/lib/dashboard/score/compare-groups.widget.mjs +12 -5
- package/esm2022/lib/dashboard/score/peers-performance.widget.mjs +9 -8
- package/esm2022/lib/dashboard/score/pending-results.widget.mjs +5 -5
- package/esm2022/lib/dashboard/score/personal-score.widget.mjs +19 -18
- package/esm2022/lib/dashboard/widget-item.component.mjs +4 -4
- package/esm2022/lib/dashboard/widget-ref.mjs +1 -1
- package/esm2022/lib/designer.module.mjs +5 -5
- package/esm2022/lib/desktop.module.mjs +8 -12
- package/esm2022/lib/home/about/about.dialog.mjs +6 -6
- package/esm2022/lib/home/home-base.component.mjs +18 -10
- package/esm2022/lib/home/home.desktop.component.mjs +12 -22
- package/esm2022/lib/home/home.mobile.component.mjs +29 -32
- package/esm2022/lib/home/notifications/notifications.component.mjs +22 -24
- package/esm2022/lib/home/outofoffice/outofoffice.component.mjs +10 -10
- package/esm2022/lib/home/sign/sign.component.mjs +17 -21
- package/esm2022/lib/impersonate/impersonate.component.mjs +36 -34
- package/esm2022/lib/mobile.module.mjs +8 -11
- package/esm2022/lib/modules/chart.module.mjs +13 -11
- package/esm2022/lib/modules/circular-gauge.module.mjs +9 -7
- package/esm2022/lib/modules/date.adapter.mjs +1 -1
- package/esm2022/lib/modules/datepicker.intl.mjs +4 -4
- package/esm2022/lib/modules/dayjs.module.mjs +5 -5
- package/esm2022/lib/modules/diagram.module.mjs +9 -7
- package/esm2022/lib/modules/gantt.module.mjs +11 -9
- package/esm2022/lib/modules/grid.module.mjs +9 -7
- package/esm2022/lib/modules/linear-gauge.module.mjs +5 -5
- package/esm2022/lib/modules/material.module.mjs +5 -5
- package/esm2022/lib/modules/paginator.intl.mjs +4 -4
- package/esm2022/lib/modules/pivot.module.mjs +9 -7
- package/esm2022/lib/modules/schedule.module.mjs +9 -7
- package/esm2022/lib/modules/spreadsheet.module.mjs +5 -5
- package/esm2022/lib/modules/stepper.intl.mjs +4 -4
- package/esm2022/lib/modules/texteditor.module.mjs +7 -6
- package/esm2022/lib/notifications/filter.component.mjs +4 -4
- package/esm2022/lib/notifications/notifications-table.component.mjs +7 -8
- package/esm2022/lib/notifications/notifications.component-base.mjs +1 -1
- package/esm2022/lib/notifications/notifications.mobile.component.mjs +4 -4
- package/esm2022/lib/notifications/notifications.pane.component.mjs +4 -4
- package/esm2022/lib/notifications/notifications.service.mjs +13 -6
- package/esm2022/lib/notifications/types/commented.notification.mjs +17 -17
- package/esm2022/lib/notifications/types/cube-anomaly.notification.mjs +4 -4
- package/esm2022/lib/notifications/types/escalated.notification.mjs +4 -4
- package/esm2022/lib/notifications/types/invite.notification.mjs +4 -4
- package/esm2022/lib/notifications/types/liked.notification.mjs +17 -17
- package/esm2022/lib/notifications/types/long-running-task.notification.mjs +4 -4
- package/esm2022/lib/notifications/types/notification-base.mjs +4 -4
- package/esm2022/lib/notifications/types/nudge.notification.mjs +4 -4
- package/esm2022/lib/notifications/types/state-changed.notification.mjs +4 -4
- package/esm2022/lib/notifications/types/tagged.notification.mjs +7 -7
- package/esm2022/lib/notifications/types/text.notification.mjs +4 -4
- package/esm2022/lib/notifications/types/upcoming-event.notification.mjs +4 -4
- package/esm2022/lib/options/options.component.mjs +91 -49
- package/esm2022/lib/options/options.desktop.component.mjs +26 -0
- package/esm2022/lib/options/options.mobile.component.mjs +23 -0
- package/esm2022/lib/reports/arguments-component.mjs +4 -4
- package/esm2022/lib/reports/cube/documents.component.mjs +4 -4
- package/esm2022/lib/reports/cube/grid-documents.component.mjs +4 -4
- package/esm2022/lib/reports/cube/performance-hilo.component.mjs +5 -5
- package/esm2022/lib/reports/cube/performance-wind.component.mjs +4 -4
- package/esm2022/lib/reports/cube/table-documents.component.mjs +7 -6
- package/esm2022/lib/reports/cube/usage-args.component.mjs +6 -5
- package/esm2022/lib/reports/cube/usage-base.mjs +8 -8
- package/esm2022/lib/reports/cube/usage-chart.component.mjs +5 -5
- package/esm2022/lib/reports/cube/usage-pivot.component.mjs +5 -5
- package/esm2022/lib/reports/cube/usage.component.mjs +4 -4
- package/esm2022/lib/reports/report-ref.mjs +1 -1
- package/esm2022/lib/reports/report-viewer.component.mjs +5 -5
- package/esm2022/lib/reports/report.mobile.component.mjs +5 -5
- package/esm2022/lib/reports/report.pane.component.mjs +5 -5
- package/esm2022/lib/reports/reports-menu.component.mjs +5 -5
- package/esm2022/lib/reports/substitution/substitution.component.mjs +5 -5
- package/esm2022/lib/reports/table/table-view.component.mjs +5 -5
- package/esm2022/lib/reports/tasks/tasks.component.mjs +4 -4
- package/esm2022/lib/routes.desktop.mjs +24 -5
- package/esm2022/lib/routes.mobile.mjs +12 -2
- package/esm2022/lib/scheduler/schedule.component.mjs +5 -5
- package/esm2022/lib/scheduler/scheduler.mobile.component.mjs +4 -4
- package/esm2022/lib/scheduler/scheduler.pane.component.mjs +4 -4
- package/esm2022/lib/search/cube.component.mjs +8 -9
- package/esm2022/lib/search/declarations.mjs +1 -1
- package/esm2022/lib/search/document.component.mjs +4 -4
- package/esm2022/lib/search/guide.component.mjs +4 -4
- package/esm2022/lib/search/path.component.mjs +15 -15
- package/esm2022/lib/search/search.service.mjs +5 -5
- package/esm2022/lib/shared.module.mjs +17 -17
- package/esm2022/lib/system.module.mjs +5 -5
- package/esm2022/lib/views/cube/chart.component.mjs +5 -5
- package/esm2022/lib/views/cube/cube-base.mjs +4 -4
- package/esm2022/lib/views/cube/explore.component.mjs +6 -6
- package/esm2022/lib/views/cube/matrix.component.mjs +7 -7
- package/esm2022/lib/views/cube/parallel.component.mjs +5 -5
- package/esm2022/lib/views/cube/pivot.component.mjs +5 -5
- package/esm2022/lib/views/cube/sum.component.mjs +5 -5
- package/esm2022/lib/views/cube/view.component.mjs +7 -7
- package/esm2022/lib/views/document-view-ref.mjs +1 -1
- package/esm2022/lib/views/timeline/timeline.component.mjs +7 -8
- package/esm2022/lib/views/view-item.component.mjs +4 -4
- package/esm2022/lib/views/views.component.mjs +5 -5
- package/esm2022/lib/views/views.mobile.component.mjs +6 -6
- package/esm2022/lib/views/views.pane.component.mjs +8 -8
- package/esm2022/public-api.mjs +4 -3
- package/fesm2022/bizdoc-core.mjs +3819 -3701
- package/fesm2022/bizdoc-core.mjs.map +1 -1
- package/lib/admin/architecture/cube-axes-filter.component.d.ts +4 -1
- package/lib/admin/architecture/declarations.d.ts +14 -9
- package/lib/admin/architecture/designer-element.component.d.ts +1 -0
- package/lib/admin/architecture/designer-privileges.component.d.ts +4 -2
- package/lib/admin/architecture/designer.base.d.ts +1 -4
- package/lib/admin/architecture/designer.component.d.ts +3 -3
- package/lib/admin/architecture/elements/action.component.d.ts +13 -13
- package/lib/admin/architecture/elements/analysis-view.component.d.ts +8 -8
- package/lib/admin/architecture/elements/analysis-widget.component.d.ts +7 -7
- package/lib/admin/architecture/elements/anomaly-rule.component.d.ts +3 -3
- package/lib/admin/architecture/elements/attribute.component.d.ts +1 -1
- package/lib/admin/architecture/elements/box-form.component.d.ts +5 -5
- package/lib/admin/architecture/elements/configuration-datasource.component.d.ts +1 -1
- package/lib/admin/architecture/elements/control.component.d.ts +1 -2
- package/lib/admin/architecture/elements/cube-index-utility.component.d.ts +3 -4
- package/lib/admin/architecture/elements/cube-view.component.d.ts +4 -4
- package/lib/admin/architecture/elements/cube.component.d.ts +9 -10
- package/lib/admin/architecture/elements/document-state-widget.component.d.ts +3 -6
- package/lib/admin/architecture/elements/documents-report.component.d.ts +4 -5
- package/lib/admin/architecture/elements/documents-widget.component.d.ts +5 -5
- package/lib/admin/architecture/elements/explore-view.component.d.ts +4 -4
- package/lib/admin/architecture/elements/folder.component.d.ts +2 -2
- package/lib/admin/architecture/elements/form-invite.dialog.d.ts +7 -7
- package/lib/admin/architecture/elements/form.component.d.ts +10 -9
- package/lib/admin/architecture/elements/guide.component.d.ts +1 -1
- package/lib/admin/architecture/elements/matrix-view.component.d.ts +16 -16
- package/lib/admin/architecture/elements/parallel-view.component.d.ts +9 -10
- package/lib/admin/architecture/elements/performance-report.component.d.ts +2 -3
- package/lib/admin/architecture/elements/performance-widget.component.d.ts +4 -5
- package/lib/admin/architecture/elements/pivot-view.component.d.ts +9 -10
- package/lib/admin/architecture/elements/report.component.d.ts +1 -1
- package/lib/admin/architecture/elements/return-to-role-action.component.d.ts +1 -1
- package/lib/admin/architecture/elements/role.component.d.ts +4 -4
- package/lib/admin/architecture/elements/source.component.d.ts +2 -3
- package/lib/admin/architecture/elements/state.component.d.ts +4 -4
- package/lib/admin/architecture/elements/sum-view.component.d.ts +7 -8
- package/lib/admin/architecture/elements/tasks-report.component.d.ts +4 -4
- package/lib/admin/architecture/elements/type.component.d.ts +8 -4
- package/lib/admin/architecture/elements/usage-report.component.d.ts +7 -7
- package/lib/admin/architecture/elements/widget.component.d.ts +1 -1
- package/lib/admin/architecture/icon-picker.component.d.ts +5 -3
- package/lib/admin/core/ace.input.d.ts +2 -5
- package/lib/admin/core/localized-string.component.d.ts +3 -2
- package/lib/admin/document-trace/document-trace.component.d.ts +6 -5
- package/lib/admin/document-trace/reassign.dialog.d.ts +2 -2
- package/lib/admin/document-trace/timeline.d.ts +2 -2
- package/lib/admin/form/designer/box-designer.component.d.ts +11 -11
- package/lib/admin/form/designer/section.component.d.ts +5 -5
- package/lib/admin/form/workflow/node-ref.d.ts +1 -1
- package/lib/admin/form/workflow/node.component.d.ts +3 -2
- package/lib/admin/form/workflow/role-node.component.d.ts +11 -11
- package/lib/admin/form/workflow/workflow.component.d.ts +5 -4
- package/lib/admin/indices/manage-cube-index.component.d.ts +3 -3
- package/lib/admin/patterns/patterns.component.d.ts +2 -2
- package/lib/admin/positions/positions-popup.component.d.ts +1 -1
- package/lib/admin/positions/positions.component.d.ts +6 -6
- package/lib/admin/profiler/outofoffice.component.d.ts +15 -15
- package/lib/admin/profiler/profiler.component.d.ts +3 -3
- package/lib/admin/system.service.d.ts +11 -12
- package/lib/admin/utility-ref.d.ts +2 -2
- package/lib/browse/browse-items.component.d.ts +6 -7
- package/lib/browse/browse.mobile.component.d.ts +2 -2
- package/lib/browse/browse.pane.component.d.ts +2 -2
- package/lib/browse/filter/filter.component.d.ts +10 -11
- package/lib/chat/chat-info.d.ts +1 -1
- package/lib/chat/chat.service.d.ts +1 -1
- package/lib/chat/conversation.component.d.ts +2 -2
- package/lib/compose/action/action.base.d.ts +2 -1
- package/lib/compose/action/assign-action.component.d.ts +5 -5
- package/lib/compose/action/moveto-action.component.d.ts +3 -3
- package/lib/compose/action/return-action.component.d.ts +4 -4
- package/lib/compose/box/box.component.d.ts +1 -1
- package/lib/compose/comments/comments.component.d.ts +4 -4
- package/lib/compose/compose.mobile.component.d.ts +5 -5
- package/lib/compose/compose.pane.component.d.ts +3 -3
- package/lib/compose/copy/copy.dialog.d.ts +1 -1
- package/lib/compose/form-ref.d.ts +5 -5
- package/lib/compose/form.component.d.ts +36 -2
- package/lib/compose/new-menu.component.d.ts +2 -1
- package/lib/compose/privilage.directive.d.ts +1 -1
- package/lib/compose/tag/tags.component.d.ts +1 -1
- package/lib/compose/trace/flow.component.d.ts +1 -0
- package/lib/compose/trace/people.component.d.ts +5 -2
- package/lib/compose/trace/trace.base.d.ts +1 -1
- package/lib/compose/version-compare/version-compare.directive.d.ts +1 -1
- package/lib/core/account.service.d.ts +1 -1
- package/lib/core/authentication.d.ts +1 -1
- package/lib/core/avatar/avatar.component.d.ts +14 -11
- package/lib/core/base.d.ts +9 -9
- package/lib/core/datasource.service.d.ts +1 -1
- package/lib/core/document-factory.service.d.ts +0 -1
- package/lib/core/fields/address.designer.d.ts +3 -3
- package/lib/core/fields/address.field.d.ts +1 -1
- package/lib/core/fields/autocomplete.field.d.ts +5 -5
- package/lib/core/fields/axes-picker.designer.d.ts +3 -3
- package/lib/core/fields/axes-picker.field.d.ts +1 -1
- package/lib/core/fields/checkbox.designer.d.ts +2 -2
- package/lib/core/fields/checkbox.field.d.ts +1 -1
- package/lib/core/fields/checklist.designer.d.ts +4 -4
- package/lib/core/fields/checklist.field.d.ts +1 -2
- package/lib/core/fields/date-range.designer.d.ts +6 -6
- package/lib/core/fields/date-range.field.d.ts +2 -2
- package/lib/core/fields/date.designer.d.ts +5 -5
- package/lib/core/fields/file.designer.d.ts +3 -3
- package/lib/core/fields/html.designer.d.ts +4 -4
- package/lib/core/fields/input.designer.d.ts +8 -9
- package/lib/core/fields/numeric.designer.d.ts +7 -7
- package/lib/core/fields/options.base.d.ts +1 -1
- package/lib/core/fields/radio-button.designer.d.ts +3 -3
- package/lib/core/fields/radio-button.field.d.ts +2 -3
- package/lib/core/fields/select.designer.d.ts +5 -5
- package/lib/core/fields/select.field.d.ts +1 -2
- package/lib/core/fields/signature.designer.d.ts +2 -2
- package/lib/core/fields/switch.field.d.ts +1 -1
- package/lib/core/fields/textarea.designer.d.ts +6 -6
- package/lib/core/fields/time.designer.d.ts +5 -5
- package/lib/core/fields/yesno.designer.d.ts +3 -3
- package/lib/core/fields/yesno.field.d.ts +1 -1
- package/lib/core/firebase.service.d.ts +1 -1
- package/lib/core/functions.d.ts +7 -4
- package/lib/core/guide/help-tip.component.d.ts +1 -1
- package/lib/core/http.interceptor.d.ts +1 -1
- package/lib/core/hub.service.d.ts +2 -2
- package/lib/core/inputs/address.input.d.ts +5 -4
- package/lib/core/inputs/auto-complete.input.d.ts +4 -4
- package/lib/core/inputs/combination-picker-body.d.ts +2 -2
- package/lib/core/inputs/file.input.d.ts +4 -4
- package/lib/core/inputs/time-picker.d.ts +2 -2
- package/lib/core/inputs/timespan.input.d.ts +7 -7
- package/lib/core/{lottie-animation.d.ts → lottie-animation.exp.d.ts} +0 -1
- package/lib/core/mailbox.service.d.ts +2 -3
- package/lib/core/models.d.ts +6 -5
- package/lib/core/pipes/filter.pipe.d.ts +7 -0
- package/lib/core/pipes/localized-string.pipe.d.ts +1 -1
- package/lib/core/pipes/sort.pipe.d.ts +1 -6
- package/lib/core/pipes/time-ago.pipe.d.ts +1 -1
- package/lib/core/pipes/user-name.pipe.d.ts +1 -1
- package/lib/core/popup/popup-ref.d.ts +4 -4
- package/lib/core/popup/tooltip.directive.d.ts +2 -3
- package/lib/core/router.d.ts +3 -3
- package/lib/core/session.service.d.ts +10 -7
- package/lib/core/slots/pane-ref.d.ts +18 -18
- package/lib/core/slots/router.directive.d.ts +2 -2
- package/lib/core/slots/router.service.d.ts +3 -3
- package/lib/core/slots/slots.component.d.ts +3 -3
- package/lib/core/sticky-toolbar.exp.d.ts +1 -0
- package/lib/core/tagging/edit-input.component.d.ts +5 -5
- package/lib/core/tagging/emoji.component.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/translate.service.d.ts +2 -2
- package/lib/core/translations.d.ts +2 -1049
- package/lib/core/virtual-tabs.component.exp.d.ts +2 -2
- package/lib/core/window-title.service.d.ts +2 -1
- package/lib/cube/accum/accum.component.d.ts +1 -1
- package/lib/cube/chart/chart.component.d.ts +5 -5
- package/lib/cube/cube-info.service.d.ts +1 -1
- package/lib/cube/cube.service.d.ts +2 -2
- package/lib/cube/declarations.d.ts +3 -3
- package/lib/cube/explore/explore-items.component.d.ts +2 -2
- package/lib/cube/filter/filter.component.d.ts +1 -1
- package/lib/cube/grid/grid.component.d.ts +4 -4
- package/lib/cube/matrix/matrix.base.d.ts +9 -8
- package/lib/cube/matrix/matrix.pane.component.d.ts +2 -1
- package/lib/cube/matrix/table.component.d.ts +3 -3
- package/lib/cube/pivot/pivot.component.d.ts +6 -7
- package/lib/cube/spreadsheet/spreadsheet.component.d.ts +3 -3
- package/lib/cube/sum/sum.component.d.ts +5 -5
- package/lib/cube/view-base.d.ts +3 -2
- package/lib/cube/view.mobile.component.d.ts +1 -1
- package/lib/dashboard/cube/accum-cube.widget.d.ts +0 -1
- package/lib/dashboard/cube/cube-analysis.base.d.ts +9 -6
- package/lib/dashboard/cube/filter/filter.component.d.ts +3 -2
- package/lib/dashboard/recents/recents.widget.d.ts +5 -6
- package/lib/dashboard/score/activity.widget.d.ts +1 -0
- package/lib/dashboard/score/peers-performance.widget.d.ts +1 -0
- package/lib/dashboard/score/personal-score.widget.d.ts +2 -4
- package/lib/desktop.module.d.ts +5 -6
- package/lib/home/about/about.dialog.d.ts +2 -2
- package/lib/home/home-base.component.d.ts +2 -0
- package/lib/home/home.desktop.component.d.ts +6 -9
- package/lib/home/home.mobile.component.d.ts +4 -6
- package/lib/home/notifications/notifications.component.d.ts +3 -5
- package/lib/home/outofoffice/outofoffice.component.d.ts +3 -3
- package/lib/home/sign/sign.component.d.ts +4 -2
- package/lib/impersonate/impersonate.component.d.ts +11 -12
- package/lib/mobile.module.d.ts +3 -3
- package/lib/modules/chart.module.d.ts +1 -0
- package/lib/modules/circular-gauge.module.d.ts +1 -0
- package/lib/modules/diagram.module.d.ts +1 -0
- package/lib/modules/gantt.module.d.ts +1 -0
- package/lib/modules/grid.module.d.ts +1 -0
- package/lib/modules/pivot.module.d.ts +1 -0
- package/lib/modules/schedule.module.d.ts +1 -0
- package/lib/notifications/filter.component.d.ts +2 -2
- package/lib/options/options.component.d.ts +54 -31
- package/lib/options/options.desktop.component.d.ts +10 -0
- package/lib/options/options.mobile.component.d.ts +9 -0
- package/lib/reports/arguments-component.d.ts +2 -2
- package/lib/reports/cube/performance-hilo.component.d.ts +1 -1
- package/lib/reports/cube/performance-wind.component.d.ts +2 -2
- package/lib/reports/cube/usage-args.component.d.ts +3 -1
- package/lib/reports/cube/usage-base.d.ts +9 -7
- package/lib/reports/cube/usage-pivot.component.d.ts +1 -1
- package/lib/reports/report.mobile.component.d.ts +3 -1
- package/lib/search/cube.component.d.ts +1 -1
- package/lib/search/declarations.d.ts +2 -2
- package/lib/shared.module.d.ts +154 -153
- package/lib/views/cube/chart.component.d.ts +2 -2
- package/lib/views/cube/cube-base.d.ts +6 -6
- package/lib/views/cube/sum.component.d.ts +2 -2
- package/lib/views/timeline/timeline.component.d.ts +3 -2
- package/lib/views/views.component.d.ts +1 -1
- package/package.json +7 -7
- package/public-api.d.ts +3 -2
- package/assets/themes/readme.md +0 -0
- package/esm2022/lib/core/lottie-animation.mjs +0 -48
- package/esm2022/lib/home/options/options.component.mjs +0 -97
- package/esm2022/lib/options/options.service.mjs +0 -42
- package/lib/home/options/options.component.d.ts +0 -45
- package/lib/options/options.service.d.ts +0 -14
@@ -20,18 +20,18 @@ let NumericField = class NumericField {
|
|
20
20
|
this.min && this.control.addValidators(Validators.min(this.min));
|
21
21
|
this.max && this.control.addValidators(Validators.max(this.max));
|
22
22
|
}
|
23
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.
|
24
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.
|
23
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.4", ngImport: i0, type: NumericField, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
24
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.4", type: NumericField, selector: "ng-component", host: { classAttribute: "field" }, viewQueries: [{ propertyName: "input", first: true, predicate: MatInput, descendants: true }], ngImport: i0, template: "@if (mode==='compose') {\r\n <mat-form-field [appearance]=appearance>\r\n <mat-label>{{label|localizedString}}</mat-label>\r\n <input matInput type=\"number\" [formControl]=control [placeholder]=\"placeholder|localizedString\"\r\n [required]=\"required\" [min]=\"min\" [max]=\"max\" [pattern]=\"pattern\" />\r\n @if (hint) {\r\n <mat-hint> {{ hint |localizedString}}</mat-hint>\r\n }\r\n @if (control.hasError('required')) {\r\n <mat-error [innerHTML]=\"'RequiredErr'|translate:(label|localizedString)\"></mat-error>\r\n }\r\n </mat-form-field>\r\n } @else {\r\n {{control.value|number}}\r\n }\r\n", dependencies: [{ 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.NumberValueAccessor, selector: "input[type=number][formControlName],input[type=number][formControl],input[type=number][ngModel]" }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { 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.PatternValidator, selector: "[pattern][formControlName],[pattern][formControl],[pattern][ngModel]", inputs: ["pattern"] }, { kind: "directive", type: i1.MinValidator, selector: "input[type=number][min][formControlName],input[type=number][min][formControl],input[type=number][min][ngModel]", inputs: ["min"] }, { kind: "directive", type: i1.MaxValidator, selector: "input[type=number][max][formControlName],input[type=number][max][formControl],input[type=number][max][ngModel]", inputs: ["max"] }, { kind: "directive", type: i1.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "component", type: i2.MatFormField, selector: "mat-form-field", inputs: ["hideRequiredMarker", "color", "floatLabel", "appearance", "subscriptSizing", "hintLabel"], exportAs: ["matFormField"] }, { kind: "directive", type: i2.MatLabel, selector: "mat-label" }, { kind: "directive", type: i2.MatHint, selector: "mat-hint", inputs: ["align", "id"] }, { kind: "directive", type: i2.MatError, selector: "mat-error, [matError]", inputs: ["id"] }, { kind: "directive", type: i3.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.DecimalPipe, name: "number" }, { kind: "pipe", type: i5.LocalizedStringPipe, name: "localizedString" }, { kind: "pipe", type: i6.TranslatePipe, name: "translate" }] }); }
|
25
25
|
};
|
26
26
|
NumericField = __decorate([
|
27
27
|
BizDoc({ selector: 'number-control' })
|
28
28
|
], NumericField);
|
29
29
|
export { NumericField };
|
30
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.
|
30
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.4", ngImport: i0, type: NumericField, decorators: [{
|
31
31
|
type: Component,
|
32
|
-
args: [{ host: { class: 'field' }, template: "@if (mode==='compose') {\n <mat-form-field [appearance]=appearance>\n <mat-label>{{label|localizedString}}</mat-label>\n <input matInput type=\"number\" [formControl]=control [placeholder]=\"placeholder|localizedString\"\n [required]=\"required\" [min]=\"min\" [max]=\"max\" [pattern]=\"pattern\" />\n @if (hint) {\n <mat-hint> {{ hint |localizedString}}</mat-hint>\n }\n @if (control.hasError('required')) {\n <mat-error [innerHTML]=\"'RequiredErr'|translate:(label|localizedString)\"></mat-error>\n }\n </mat-form-field>\n } @else {\n {{control.value|number}}\n }\n" }]
|
32
|
+
args: [{ host: { class: 'field' }, template: "@if (mode==='compose') {\r\n <mat-form-field [appearance]=appearance>\r\n <mat-label>{{label|localizedString}}</mat-label>\r\n <input matInput type=\"number\" [formControl]=control [placeholder]=\"placeholder|localizedString\"\r\n [required]=\"required\" [min]=\"min\" [max]=\"max\" [pattern]=\"pattern\" />\r\n @if (hint) {\r\n <mat-hint> {{ hint |localizedString}}</mat-hint>\r\n }\r\n @if (control.hasError('required')) {\r\n <mat-error [innerHTML]=\"'RequiredErr'|translate:(label|localizedString)\"></mat-error>\r\n }\r\n </mat-form-field>\r\n } @else {\r\n {{control.value|number}}\r\n }\r\n" }]
|
33
33
|
}], propDecorators: { input: [{
|
34
34
|
type: ViewChild,
|
35
35
|
args: [MatInput]
|
36
36
|
}] } });
|
37
|
-
//# sourceMappingURL=data:application/json;base64,
|
37
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibnVtZXJpYy5maWVsZC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2NvcmUvc3JjL2xpYi9jb3JlL2ZpZWxkcy9udW1lcmljLmZpZWxkLnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvY29yZS9zcmMvbGliL2NvcmUvZmllbGRzL251bWVyaWMuZmllbGQuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiO0FBQUEsT0FBTyxFQUFFLFNBQVMsRUFBVSxTQUFTLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDN0QsT0FBTyxFQUFFLFdBQVcsRUFBRSxVQUFVLEVBQUUsTUFBTSxnQkFBZ0IsQ0FBQztBQUV6RCxPQUFPLEVBQUUsUUFBUSxFQUFFLE1BQU0seUJBQXlCLENBQUM7QUFFbkQsT0FBTyxFQUFFLE1BQU0sRUFBRSxNQUFNLGVBQWUsQ0FBQzs7Ozs7Ozs7QUFPaEMsSUFBTSxZQUFZLEdBQWxCLE1BQU0sWUFBWTtJQUFsQjtRQWFJLFlBQU8sR0FBRyxJQUFJLFdBQVcsRUFBRSxDQUFDO0tBT3RDO0lBTkMsS0FBSyxLQUFLLElBQUksQ0FBQyxLQUFLLENBQUMsS0FBSyxFQUFFLENBQUMsQ0FBQyxDQUFDO0lBQy9CLFFBQVE7UUFDTixJQUFJLENBQUMsUUFBUSxJQUFJLElBQUksQ0FBQyxPQUFPLENBQUMsYUFBYSxDQUFDLFVBQVUsQ0FBQyxRQUFRLENBQUMsQ0FBQztRQUNqRSxJQUFJLENBQUMsR0FBRyxJQUFJLElBQUksQ0FBQyxPQUFPLENBQUMsYUFBYSx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IH1cclxufVxyXG4iLCJAaWYgKG1vZGU9PT0nY29tcG9zZScpIHtcclxuICA8bWF0LWZvcm0tZmllbGQgW2FwcGVhcmFuY2VdPWFwcGVhcmFuY2U+XHJcbiAgICA8bWF0LWxhYmVsPnt7bGFiZWx8bG9jYWxpemVkU3RyaW5nfX08L21hdC1sYWJlbD5cclxuICAgIDxpbnB1dCBtYXRJbnB1dCB0eXBlPVwibnVtYmVyXCIgW2Zvcm1Db250cm9sXT1jb250cm9sIFtwbGFjZWhvbGRlcl09XCJwbGFjZWhvbGRlcnxsb2NhbGl6ZWRTdHJpbmdcIlxyXG4gICAgICBbcmVxdWlyZWRdPVwicmVxdWlyZWRcIiBbbWluXT1cIm1pblwiIFttYXhdPVwibWF4XCIgW3BhdHRlcm5dPVwicGF0dGVyblwiIC8+XHJcbiAgICAgIEBpZiAoaGludCkge1xyXG4gICAgICAgIDxtYXQtaGludD4ge3sgaGludCB8bG9jYWxpemVkU3RyaW5nfX08L21hdC1oaW50PlxyXG4gICAgICB9XHJcbiAgICAgIEBpZiAoY29udHJvbC5oYXNFcnJvcigncmVxdWlyZWQnKSkge1xyXG4gICAgICAgIDxtYXQtZXJyb3IgW2lubmVySFRNTF09XCInUmVxdWlyZWRFcnInfHRyYW5zbGF0ZToobGFiZWx8bG9jYWxpemVkU3RyaW5nKVwiPjwvbWF0LWVycm9yPlxyXG4gICAgICB9XHJcbiAgICA8L21hdC1mb3JtLWZpZWxkPlxyXG4gIH0gQGVsc2Uge1xyXG4gICAge3tjb250cm9sLnZhbHVlfG51bWJlcn19XHJcbiAgfVxyXG4iXX0=
|
@@ -15,10 +15,10 @@ export class OptionsControlField {
|
|
15
15
|
optionOf(value) {
|
16
16
|
return this.options?.find(o => o.key === value)?.value;
|
17
17
|
}
|
18
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.
|
19
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.
|
18
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.4", ngImport: i0, type: OptionsControlField, deps: [{ token: i1.DatasourceService }], target: i0.ɵɵFactoryTarget.Directive }); }
|
19
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.4", type: OptionsControlField, ngImport: i0 }); }
|
20
20
|
}
|
21
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.
|
21
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.4", ngImport: i0, type: OptionsControlField, decorators: [{
|
22
22
|
type: Directive
|
23
23
|
}], ctorParameters: () => [{ type: i1.DatasourceService }] });
|
24
24
|
export class OptionsControlDesigner {
|
@@ -26,16 +26,16 @@ export class OptionsControlDesigner {
|
|
26
26
|
this._service = _service;
|
27
27
|
this._typeRequired = (control) => {
|
28
28
|
const options = control.parent?.get('options');
|
29
|
-
if (options && !options.length && !control.parent?.get('dataType')
|
29
|
+
if (options && !options.length && !control.parent?.get('dataType')?.value)
|
30
30
|
return { required: true };
|
31
31
|
return null;
|
32
32
|
};
|
33
33
|
this._service.typegroups().subscribe(t => this.datatypes = t);
|
34
34
|
}
|
35
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.
|
36
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.
|
35
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.4", ngImport: i0, type: OptionsControlDesigner, deps: [{ token: i2.SystemService }], target: i0.ɵɵFactoryTarget.Directive }); }
|
36
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.4", type: OptionsControlDesigner, ngImport: i0 }); }
|
37
37
|
}
|
38
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.
|
38
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.4", ngImport: i0, type: OptionsControlDesigner, decorators: [{
|
39
39
|
type: Directive
|
40
40
|
}], ctorParameters: () => [{ type: i2.SystemService }] });
|
41
|
-
//# sourceMappingURL=data:application/json;base64,
|
41
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoib3B0aW9ucy5iYXNlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvY29yZS9zcmMvbGliL2NvcmUvZmllbGRzL29wdGlvbnMuYmFzZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsU0FBUyxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQzFDLE9BQU8sRUFBNkQsVUFBVSxFQUFFLE1BQU0sZ0JBQWdCLENBQUM7Ozs7QUFPdkcsTUFBTSxPQUFnQixtQkFBbUI7SUFLdkMsWUFBb0IsR0FBc0I7UUFBdEIsUUFBRyxHQUFILEdBQUcsQ0FBbUI7SUFDMUMsQ0FBQztJQUNELFFBQVE7UUFDTixJQUFJLENBQUMsUUFBUSxJQUFJLElBQUksQ0FBQyxPQUFPLENBQUMsYUFBYSxDQUFDLFVBQVUsQ0FBQyxRQUFRLENBQUMsQ0FBQztRQUNqRSxJQUFJLElBQUksQ0FBQyxRQUFRO1lBQUUsSUFBSSxDQUFDLEdBQUcsQ0FBQyxHQUFHLENBQUMsSUFBSSxDQUFDLFFBQVEsQ0FBQyxDQUFDLFNBQVMsQ0FBQyxDQUFDLENBQUMsRUFBRSxDQUFDLElBQUksQ0FBQyxPQUFPLEdBQUcsQ0FBQyxDQUFDLENBQUM7SUFDbEYsQ0FBQztJQUNELFFBQVEsQ0FBQyxLQUFhO1FBQ3BCLE9BQU8sSUFBSSxDQUFDLE9BQU8sRUFBRSxJQUFJLENBQUMsQ0FBQyxDQ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bnM/LmZpbmQobyA9PiBvLmtleSA9PT0gdmFsdWUpPy52YWx1ZTtcclxuICB9XHJcbn1cclxuQERpcmVjdGl2ZSgpXHJcbmV4cG9ydCBhYnN0cmFjdCBjbGFzcyBPcHRpb25zQ29udHJvbERlc2lnbmVyIHtcclxuICByZWFkb25seSBfdHlwZVJlcXVpcmVkID0gKGNvbnRyb2w6IEFic3RyYWN0Q29udHJvbCk6IFZhbGlkYXRpb25FcnJvcnMgfCBudWxsID0+IHtcclxuICAgIGNvbnN0IG9wdGlvbnMgPSBjb250cm9sLnBhcmVudD8uZ2V0KCdvcHRpb25zJykgYXMgRm9ybUFycmF5O1xyXG4gICAgaWYgKG9wdGlvbnMgJiYgIW9wdGlvbnMubGVuZ3RoICYmICFjb250cm9sLnBhcmVudD8uZ2V0KCdkYXRhVHlwZScpPy52YWx1ZSlcclxuICAgICAgcmV0dXJuIHsgcmVxdWlyZWQ6IHRydWUgfTtcclxuICAgIHJldHVybiBudWxsO1xyXG4gIH07XHJcbiAgZGF0YXR5cGVzOiBFbGVtZW50RmFtaWx5W107XHJcbiAgY29uc3RydWN0b3IoXHJcbiAgICBwcml2YXRlIF9zZXJ2aWNlOiBTeXN0ZW1TZXJ2aWNlKSB7XHJcbiAgICB0aGlzLl9zZXJ2aWNlLnR5cGVncm91cHMoKS5zdWJzY3JpYmUodCA9PlxyXG4gICAgICB0aGlzLmRhdGF0eXBlcyA9IHQpO1xyXG4gIH1cclxufVxyXG4iXX0=
|
@@ -44,15 +44,15 @@ export class ControlOptionsComponent {
|
|
44
44
|
this.options.insert(event.currentIndex, element);
|
45
45
|
//moveItemInArray(event.container.data, event.previousIndex, event.currentIndex);
|
46
46
|
}
|
47
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.
|
48
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.
|
47
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.4", ngImport: i0, type: ControlOptionsComponent, deps: [{ token: i1.TranslateService }, { token: i2.FormBuilder }], target: i0.ɵɵFactoryTarget.Component }); }
|
48
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.4", type: ControlOptionsComponent, selector: "bizdoc-design-options", inputs: { form: "form", model: "model" }, ngImport: i0, template: "<h2 class=\"mat-h2 row\">\r\n {{'Options'|translate}}\r\n <span class=\"divider\"></span>\r\n <button mat-icon-button (click)=\"add()\" [bizdocTooltip]=\"'Add'|translate\"><mat-icon>add_circle_outline</mat-icon></button>\r\n</h2>\r\n<div class=\"column\" cdkDropList (cdkDropListDropped)=\"drop($event)\">\r\n @for (c of options.controls; track c; let index = $index) {\r\n <div class=\"row\" [formGroup]=\"c\" cdkDrag>\r\n <mat-icon cdkDragHandle>drag_indicator</mat-icon>\r\n <mat-form-field class=\"flex\" floatLabel=\"never\">\r\n <input matInput [placeholder]=\"'Key'|l18n\" formControlName=\"key\" required />\r\n </mat-form-field>\r\n \r\n <bizdoc-localized-string formControlName=\"value\" required class=\"row flex\" [placeholder]=\"'Label'|l18n\"></bizdoc-localized-string>\r\n <button mat-icon-button (click)=\"options.removeAt(index)\" [bizdocTooltip]=\"'Remove'|translate\"><mat-icon>delete</mat-icon></button>\r\n </div>\r\n }\r\n</div>\r\n", dependencies: [{ kind: "directive", type: i2.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: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i2.RequiredValidator, selector: ":not([type=checkbox])[required][formControlName],:not([type=checkbox])[required][formControl],:not([type=checkbox])[required][ngModel]", inputs: ["required"] }, { kind: "directive", type: i2.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i2.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "directive", type: i3.CdkDropList, selector: "[cdkDropList], cdk-drop-list", inputs: ["cdkDropListConnectedTo", "cdkDropListData", "cdkDropListOrientation", "id", "cdkDropListLockAxis", "cdkDropListDisabled", "cdkDropListSortingDisabled", "cdkDropListEnterPredicate", "cdkDropListSortPredicate", "cdkDropListAutoScrollDisabled", "cdkDropListAutoScrollStep", "cdkDropListElementContainer"], outputs: ["cdkDropListDropped", "cdkDropListEntered", "cdkDropListExited", "cdkDropListSorted"], exportAs: ["cdkDropList"] }, { kind: "directive", type: i3.CdkDrag, selector: "[cdkDrag]", inputs: ["cdkDragData", "cdkDragLockAxis", "cdkDragRootElement", "cdkDragBoundary", "cdkDragStartDelay", "cdkDragFreeDragPosition", "cdkDragDisabled", "cdkDragConstrainPosition", "cdkDragPreviewClass", "cdkDragPreviewContainer", "cdkDragScale"], outputs: ["cdkDragStarted", "cdkDragReleased", "cdkDragEnded", "cdkDragEntered", "cdkDragExited", "cdkDragDropped", "cdkDragMoved"], exportAs: ["cdkDrag"] }, { kind: "directive", type: i3.CdkDragHandle, selector: "[cdkDragHandle]", inputs: ["cdkDragHandleDisabled"] }, { kind: "component", type: i4.MatFormField, selector: "mat-form-field", inputs: ["hideRequiredMarker", "color", "floatLabel", "appearance", "subscriptSizing", "hintLabel"], exportAs: ["matFormField"] }, { kind: "component", type: i5.MatIconButton, selector: "button[mat-icon-button]", exportAs: ["matButton"] }, { kind: "directive", type: i6.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: i7.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "directive", type: i8.TooltipDirective, selector: "[bizdocTooltip]", inputs: ["bizdocTooltip", "bizdocTooltipTemplate", "bizdocTooltipContext", "bizdocTooltipPosition", "bizdocTooltipDuration", "bizdocTooltipDisabled"] }, { kind: "component", type: i9.LocalizedStringComponent, selector: "bizdoc-localized-string", inputs: ["class", "floatLabel", "value", "placeholder", "required", "disabled", "maxlength"] }, { kind: "pipe", type: i10.L18nPipe, name: "l18n" }, { kind: "pipe", type: i10.TranslatePipe, name: "translate" }] }); }
|
49
49
|
}
|
50
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.
|
50
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.4", ngImport: i0, type: ControlOptionsComponent, decorators: [{
|
51
51
|
type: Component,
|
52
|
-
args: [{ selector: 'bizdoc-design-options', template: "<h2 class=\"mat-h2 row\">\n {{'Options'|translate}}\n <span class=\"divider\"></span>\n <button mat-icon-button (click)=\"add()\" [bizdocTooltip]=\"'Add'|translate\"><mat-icon>add_circle_outline</mat-icon></button>\n</h2>\n<div class=\"column\" cdkDropList (cdkDropListDropped)=\"drop($event)\">\n @for (c of options.controls; track c; let index = $index) {\n <div class=\"row\" [formGroup]=\"c\" cdkDrag>\n <mat-icon cdkDragHandle>drag_indicator</mat-icon>\n <mat-form-field class=\"flex\" floatLabel=\"never\">\n <input matInput [placeholder]=\"'Key'|l18n\" formControlName=\"key\" required />\n </mat-form-field>\n \n <bizdoc-localized-string formControlName=\"value\" required class=\"row flex\" [placeholder]=\"'Label'|l18n\"></bizdoc-localized-string>\n <button mat-icon-button (click)=\"options.removeAt(index)\" [bizdocTooltip]=\"'Remove'|translate\"><mat-icon>delete</mat-icon></button>\n </div>\n }\n</div>\n" }]
|
52
|
+
args: [{ selector: 'bizdoc-design-options', template: "<h2 class=\"mat-h2 row\">\r\n {{'Options'|translate}}\r\n <span class=\"divider\"></span>\r\n <button mat-icon-button (click)=\"add()\" [bizdocTooltip]=\"'Add'|translate\"><mat-icon>add_circle_outline</mat-icon></button>\r\n</h2>\r\n<div class=\"column\" cdkDropList (cdkDropListDropped)=\"drop($event)\">\r\n @for (c of options.controls; track c; let index = $index) {\r\n <div class=\"row\" [formGroup]=\"c\" cdkDrag>\r\n <mat-icon cdkDragHandle>drag_indicator</mat-icon>\r\n <mat-form-field class=\"flex\" floatLabel=\"never\">\r\n <input matInput [placeholder]=\"'Key'|l18n\" formControlName=\"key\" required />\r\n </mat-form-field>\r\n \r\n <bizdoc-localized-string formControlName=\"value\" required class=\"row flex\" [placeholder]=\"'Label'|l18n\"></bizdoc-localized-string>\r\n <button mat-icon-button (click)=\"options.removeAt(index)\" [bizdocTooltip]=\"'Remove'|translate\"><mat-icon>delete</mat-icon></button>\r\n </div>\r\n }\r\n</div>\r\n" }]
|
53
53
|
}], ctorParameters: () => [{ type: i1.TranslateService }, { type: i2.FormBuilder }], propDecorators: { form: [{
|
54
54
|
type: Input
|
55
55
|
}], model: [{
|
56
56
|
type: Input
|
57
57
|
}] } });
|
58
|
-
//# sourceMappingURL=data:application/json;base64,
|
58
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoib3B0aW9ucy5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jb3JlL3NyYy9saWIvY29yZS9maWVsZHMvb3B0aW9ucy5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jb3JlL3NyYy9saWIvY29yZS9maWVsZHMvb3B0aW9ucy5jb21wb25lbnQuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFDQSxPQUFPLEVBQUUsU0FBUyxFQUFFLEtBQUssRUFBVSx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kaXYgY2xhc3M9XCJyb3dcIiBbZm9ybUdyb3VwXT1cImNcIiBjZGtEcmFnPlxyXG4gICAgICA8bWF0LWljb24gY2RrRHJhZ0hhbmRsZT5kcmFnX2luZGljYXRvcjwvbWF0LWljb24+XHJcbiAgICAgIDxtYXQtZm9ybS1maWVsZCBjbGFzcz1cImZsZXhcIiBmbG9hdExhYmVsPVwibmV2ZXJcIj5cclxuICAgICAgICA8aW5wdXQgbWF0SW5wdXQgW3BsYWNlaG9sZGVyXT1cIidLZXknfGwxOG5cIiBmb3JtQ29udHJvbE5hbWU9XCJrZXlcIiByZXF1aXJlZCAvPlxyXG4gICAgICA8L21hdC1mb3JtLWZpZWxkPlxyXG4gICAgICAmbmJzcDtcclxuICAgICAgPGJpemRvYy1sb2NhbGl6ZWQtc3RyaW5nIGZvcm1Db250cm9sTmFtZT1cInZhbHVlXCIgcmVxdWlyZWQgY2xhc3M9XCJyb3cgZmxleFwiIFtwbGFjZWhvbGRlcl09XCInTGFiZWwnfGwxOG5cIj48L2JpemRvYy1sb2NhbGl6ZWQtc3RyaW5nPlxyXG4gICAgICA8YnV0dG9uIG1hdC1pY29uLWJ1dHRvbiAoY2xpY2spPVwib3B0aW9ucy5yZW1vdmVBdChpbmRleClcIiBbYml6ZG9jVG9vbHRpcF09XCInUmVtb3ZlJ3x0cmFuc2xhdGVcIj48bWF0LWljb24+ZGVsZXRlPC9tYXQtaWNvbj48L2J1dHRvbj5cclxuICAgIDwvZGl2PlxyXG4gIH1cclxuPC9kaXY+XHJcbiJdfQ==
|
@@ -25,15 +25,15 @@ let RadioButtonControlDesigner = class RadioButtonControlDesigner extends Option
|
|
25
25
|
onBind(model) {
|
26
26
|
this.model = model;
|
27
27
|
}
|
28
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.
|
29
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.
|
28
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.4", ngImport: i0, type: RadioButtonControlDesigner, deps: [{ token: i1.SystemService }, { token: i2.FormBuilder }], target: i0.ɵɵFactoryTarget.Component }); }
|
29
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.4", type: RadioButtonControlDesigner, selector: "ng-component", usesInheritance: true, ngImport: i0, template: "<form autocomplete=\"off\" [formGroup]=\"form\" class=\"column\">\r\n <bizdoc-localized-string [placeholder]=\"'Label'|translate\" formControlName=\"label\"></bizdoc-localized-string>\r\n @if (datatypes) {\r\n <mat-form-field>\r\n <mat-label>{{'DataType'|translate}}</mat-label>\r\n <mat-select formControlName=\"dataType\">\r\n @for (t of datatypes['_'].elements|sort: 'title'; track t) {\r\n <mat-option [value]=\"t.name\">\r\n {{t.title}}\r\n </mat-option>\r\n }\r\n @for (g of datatypes|sort: 'title'; track g) {\r\n <mat-optgroup [label]=\"g.title\">\r\n @for (t of g.elements|sort: 'title'; track t) {\r\n <mat-option [value]=\"t.name\">\r\n {{t.title}}\r\n </mat-option>\r\n }\r\n </mat-optgroup>\r\n }\r\n </mat-select>\r\n @if (form.controls.dataType.hasError('required')) {\r\n <mat-error [innerHTML]=\"'RequiredErr'|translate:('DataType'|translate)\"></mat-error>\r\n }\r\n </mat-form-field>\r\n }\r\n <bizdoc-design-options [form]=\"form\" [model]=\"model\"></bizdoc-design-options>\r\n</form>\r\n", dependencies: [{ kind: "directive", type: i2.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i2.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i2.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "component", type: i3.MatOption, selector: "mat-option", inputs: ["value", "id", "disabled"], outputs: ["onSelectionChange"], exportAs: ["matOption"] }, { kind: "component", type: i3.MatOptgroup, selector: "mat-optgroup", inputs: ["label", "disabled"], exportAs: ["matOptgroup"] }, { kind: "component", type: i4.MatFormField, selector: "mat-form-field", inputs: ["hideRequiredMarker", "color", "floatLabel", "appearance", "subscriptSizing", "hintLabel"], exportAs: ["matFormField"] }, { kind: "directive", type: i4.MatLabel, selector: "mat-label" }, { kind: "directive", type: i4.MatError, selector: "mat-error, [matError]", inputs: ["id"] }, { kind: "component", type: i5.MatSelect, selector: "mat-select", inputs: ["aria-describedby", "panelClass", "disabled", "disableRipple", "tabIndex", "hideSingleSelectionIndicator", "placeholder", "required", "multiple", "disableOptionCentering", "compareWith", "value", "aria-label", "aria-labelledby", "errorStateMatcher", "typeaheadDebounceInterval", "sortComparator", "id", "panelWidth"], outputs: ["openedChange", "opened", "closed", "selectionChange", "valueChange"], exportAs: ["matSelect"] }, { kind: "component", type: i6.LocalizedStringComponent, selector: "bizdoc-localized-string", inputs: ["class", "floatLabel", "value", "placeholder", "required", "disabled", "maxlength"] }, { kind: "component", type: i7.ControlOptionsComponent, selector: "bizdoc-design-options", inputs: ["form", "model"] }, { kind: "pipe", type: i8.ArraySortPipe, name: "sort" }, { kind: "pipe", type: i9.TranslatePipe, name: "translate" }] }); }
|
30
30
|
};
|
31
31
|
RadioButtonControlDesigner = __decorate([
|
32
32
|
BizDoc({ selector: 'radio-button-control-designer' })
|
33
33
|
], RadioButtonControlDesigner);
|
34
34
|
export { RadioButtonControlDesigner };
|
35
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.
|
35
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.4", ngImport: i0, type: RadioButtonControlDesigner, decorators: [{
|
36
36
|
type: Component,
|
37
|
-
args: [{ template: "<form autocomplete=\"off\" [formGroup]=\"form\" class=\"column\">\n <bizdoc-localized-string [placeholder]=\"'Label'|translate\" formControlName=\"label\"></bizdoc-localized-string>\n @if (datatypes) {\n <mat-form-field>\n <mat-label>{{'DataType'|translate}}</mat-label>\n <mat-select formControlName=\"dataType\">\n @for (t of datatypes['_'].elements|sort: 'title'; track t) {\n <mat-option [value]=\"t.name\">\n {{t.title}}\n </mat-option>\n }\n @for (g of datatypes|sort: 'title'; track g) {\n <mat-optgroup [label]=\"g.title\">\n @for (t of g.elements|sort: 'title'; track t) {\n <mat-option [value]=\"t.name\">\n {{t.title}}\n </mat-option>\n }\n </mat-optgroup>\n }\n </mat-select>\n @if (form.controls.dataType.hasError('required')) {\n <mat-error [innerHTML]=\"'RequiredErr'|translate:('DataType'|translate)\"></mat-error>\n }\n </mat-form-field>\n }\n <bizdoc-design-options [form]=\"form\" [model]=\"model\"></bizdoc-design-options>\n</form>\n" }]
|
37
|
+
args: [{ template: "<form autocomplete=\"off\" [formGroup]=\"form\" class=\"column\">\r\n <bizdoc-localized-string [placeholder]=\"'Label'|translate\" formControlName=\"label\"></bizdoc-localized-string>\r\n @if (datatypes) {\r\n <mat-form-field>\r\n <mat-label>{{'DataType'|translate}}</mat-label>\r\n <mat-select formControlName=\"dataType\">\r\n @for (t of datatypes['_'].elements|sort: 'title'; track t) {\r\n <mat-option [value]=\"t.name\">\r\n {{t.title}}\r\n </mat-option>\r\n }\r\n @for (g of datatypes|sort: 'title'; track g) {\r\n <mat-optgroup [label]=\"g.title\">\r\n @for (t of g.elements|sort: 'title'; track t) {\r\n <mat-option [value]=\"t.name\">\r\n {{t.title}}\r\n </mat-option>\r\n }\r\n </mat-optgroup>\r\n }\r\n </mat-select>\r\n @if (form.controls.dataType.hasError('required')) {\r\n <mat-error [innerHTML]=\"'RequiredErr'|translate:('DataType'|translate)\"></mat-error>\r\n }\r\n </mat-form-field>\r\n }\r\n <bizdoc-design-options [form]=\"form\" [model]=\"model\"></bizdoc-design-options>\r\n</form>\r\n" }]
|
38
38
|
}], ctorParameters: () => [{ type: i1.SystemService }, { type: i2.FormBuilder }] });
|
39
|
-
//# sourceMappingURL=data:application/json;base64,
|
39
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmFkaW8tYnV0dG9uLmRlc2lnbmVyLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvY29yZS9zcmMvbGliL2NvcmUvZmllbGRzL3JhZGlvLWJ1dHRvbi5kZXNpZ25lci50cyIsIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2NvcmUvc3JjL2xpYi9jb3JlL2ZpZWxkcy9yYWRpby1idXR0b24uZGVzaWduZXIuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiO0FBQUEsT0FBTyxFQUFFLFNBQVMsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUkxQyxPQUFPLEVBQUUsTUFBTSxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBRXZDLE9BQU8sRUFBRSxzQkFBc0IsRUFBRSxNQUFNLGdCQUFnQixDQUFDOzs7Ozs7Ozs7OztBQU1qRCxJQUFNLDBCQUEwQixHQUFoQyxNQUFNLDBCQUEyQixTQUFRLHNCQUFzQjtJQU9wRSxZQUNFLE9BQXNCLEVBQ2QsR0FBZ0I7UUFDeEIsS0FBSyxDQUFDLE9BQU8sQ0FBQyxDQUFDO1FBRFAsUUFBRyxHQUFILEdBQUcsQ0FBYTtRQVJqQixTQUFJLEdBQUcsSUFBSSxDQUFDLEdBQUcsQ0FBQyxLQUFLLENBQUM7WUFDN0IsS0FBSyxFQUFFLElBQUk7WUFDWCxRQUFRLEVBQUUsSUFBSSxDQUFDLEdBQUcsQ0FBQyxPQUFPLENBQUMsSUFBSSxFQUFFLElBQUksQ0FBQyxhQUFhLENBQUM7WUFDcEQsSUF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iPjwvbWF0LWVycm9yPlxyXG4gICAgfVxyXG4gIDwvbWF0LWZvcm0tZmllbGQ+XHJcbiAgfVxyXG4gIDxiaXpkb2MtZGVzaWduLW9wdGlvbnMgW2Zvcm1dPVwiZm9ybVwiIFttb2RlbF09XCJtb2RlbFwiPjwvYml6ZG9jLWRlc2lnbi1vcHRpb25zPlxyXG48L2Zvcm0+XHJcbiJdfQ==
|
@@ -16,18 +16,18 @@ let RadioButtonField = class RadioButtonField extends OptionsControlField {
|
|
16
16
|
this.control = new FormControl(false);
|
17
17
|
}
|
18
18
|
focus() { this.input.focus(); }
|
19
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.
|
20
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.
|
19
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.4", ngImport: i0, type: RadioButtonField, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
20
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.4", type: RadioButtonField, selector: "ng-component", host: { classAttribute: "field" }, viewQueries: [{ propertyName: "input", first: true, predicate: MatRadioButton, descendants: true }], usesInheritance: true, ngImport: i0, template: "@if (mode === 'compose') {\r\n <div>\r\n @if (hint) {\r\n <mat-hint> {{ hint|localizedString }}</mat-hint>\r\n }\r\n <mat-label>{{label|localizedString}}</mat-label>\r\n <mat-radio-group [formControl]=\"control\">\r\n @for (o of options; track o) {\r\n <mat-radio-button [value]=\"o.key\">\r\n {{o.value|localizedString}}\r\n </mat-radio-button>\r\n }\r\n </mat-radio-group>\r\n @if (control.hasError('required')) {\r\n <mat-error [innerHTML]=\"'RequiredErr'|translate:(label|localizedString)\"></mat-error>\r\n }\r\n </div>\r\n} @else {\r\n @if (control.value) {\r\n <span>\r\n {{optionOf(control.value)|localizedString}}\r\n </span>\r\n }\r\n}\r\n", dependencies: [{ kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "directive", type: i2.MatRadioGroup, selector: "mat-radio-group", inputs: ["color", "name", "labelPosition", "value", "selected", "disabled", "required", "disabledInteractive"], outputs: ["change"], exportAs: ["matRadioGroup"] }, { kind: "component", type: i2.MatRadioButton, selector: "mat-radio-button", inputs: ["id", "name", "aria-label", "aria-labelledby", "aria-describedby", "disableRipple", "tabIndex", "checked", "value", "labelPosition", "disabled", "required", "color", "disabledInteractive"], outputs: ["change"], exportAs: ["matRadioButton"] }, { kind: "directive", type: i3.MatLabel, selector: "mat-label" }, { kind: "directive", type: i3.MatHint, selector: "mat-hint", inputs: ["align", "id"] }, { kind: "directive", type: i3.MatError, selector: "mat-error, [matError]", inputs: ["id"] }, { kind: "pipe", type: i4.LocalizedStringPipe, name: "localizedString" }, { kind: "pipe", type: i5.TranslatePipe, name: "translate" }] }); }
|
21
21
|
};
|
22
22
|
RadioButtonField = __decorate([
|
23
23
|
BizDoc({ selector: 'radio-button-control' })
|
24
24
|
], RadioButtonField);
|
25
25
|
export { RadioButtonField };
|
26
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.
|
26
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.4", ngImport: i0, type: RadioButtonField, decorators: [{
|
27
27
|
type: Component,
|
28
|
-
args: [{ host: { class: 'field' }, template: "@if (mode === 'compose') {\n <div>\n @if (hint) {\n <mat-hint> {{ hint|localizedString }}</mat-hint>\n }\n <mat-label>{{label|localizedString}}</mat-label>\n <mat-radio-group [formControl]=\"control\">\n @for (o of options; track o) {\n <mat-radio-button [value]=\"o.key\">\n {{o.value|localizedString}}\n </mat-radio-button>\n }\n </mat-radio-group>\n @if (control.hasError('required')) {\n <mat-error [innerHTML]=\"'RequiredErr'|translate:(label|localizedString)\"></mat-error>\n }\n </div>\n} @else {\n @if (control.value) {\n <span>\n {{optionOf(control.value)|localizedString}}\n </span>\n }\n}\n" }]
|
28
|
+
args: [{ host: { class: 'field' }, template: "@if (mode === 'compose') {\r\n <div>\r\n @if (hint) {\r\n <mat-hint> {{ hint|localizedString }}</mat-hint>\r\n }\r\n <mat-label>{{label|localizedString}}</mat-label>\r\n <mat-radio-group [formControl]=\"control\">\r\n @for (o of options; track o) {\r\n <mat-radio-button [value]=\"o.key\">\r\n {{o.value|localizedString}}\r\n </mat-radio-button>\r\n }\r\n </mat-radio-group>\r\n @if (control.hasError('required')) {\r\n <mat-error [innerHTML]=\"'RequiredErr'|translate:(label|localizedString)\"></mat-error>\r\n }\r\n </div>\r\n} @else {\r\n @if (control.value) {\r\n <span>\r\n {{optionOf(control.value)|localizedString}}\r\n </span>\r\n }\r\n}\r\n" }]
|
29
29
|
}], propDecorators: { input: [{
|
30
30
|
type: ViewChild,
|
31
31
|
args: [MatRadioButton]
|
32
32
|
}] } });
|
33
|
-
//# sourceMappingURL=data:application/json;base64,
|
33
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmFkaW8tYnV0dG9uLmZpZWxkLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvY29yZS9zcmMvbGliL2NvcmUvZmllbGRzL3JhZGlvLWJ1dHRvbi5maWVsZC50cyIsIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2NvcmUvc3JjL2xpYi9jb3JlL2ZpZWxkcy9yYWRpby1idXR0b24uZmllbGQuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiO0FBQUEsT0FBTyxFQUFFLFNBQVMsRUFBVSxTQUFTLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDN0QsT0FBTyxFQUFFLFdBQVcsRUFB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uczsgdHJhY2sgbykge1xyXG4gICAgICAgIDxtYXQtcmFkaW8tYnV0dG9uIFt2YWx1ZV09XCJvLmtleVwiPlxyXG4gICAgICAgICAge3tvLnZhbHVlfGxvY2FsaXplZFN0cmluZ319XHJcbiAgICAgICAgPC9tYXQtcmFkaW8tYnV0dG9uPlxyXG4gICAgICB9XHJcbiAgICA8L21hdC1yYWRpby1ncm91cD5cclxuICAgIEBpZiAoY29udHJvbC5oYXNFcnJvcigncmVxdWlyZWQnKSkge1xyXG4gICAgICA8bWF0LWVycm9yIFtpbm5lckhUTUxdPVwiJ1JlcXVpcmVkRXJyJ3x0cmFuc2xhdGU6KGxhYmVsfGxvY2FsaXplZFN0cmluZylcIj48L21hdC1lcnJvcj5cclxuICAgIH1cclxuICA8L2Rpdj5cclxufSBAZWxzZSB7XHJcbiAgQGlmIChjb250cm9sLnZhbHVlKSB7XHJcbiAgICA8c3Bhbj5cclxuICAgICAge3tvcHRpb25PZihjb250cm9sLnZhbHVlKXxsb2NhbGl6ZWRTdHJpbmd9fVxyXG4gICAgPC9zcGFuPlxyXG4gIH1cclxufVxyXG4iXX0=
|
@@ -28,77 +28,77 @@ let SelectControlDesigner = class SelectControlDesigner extends OptionsControlDe
|
|
28
28
|
onBind(model) {
|
29
29
|
this.model = model;
|
30
30
|
}
|
31
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.
|
32
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.
|
33
|
-
<form autocomplete="off" [formGroup]="form" class="column">
|
34
|
-
<bizdoc-localized-string [placeholder]="'Label'|translate" formControlName="label"></bizdoc-localized-string>
|
35
|
-
@if (datatypes) {
|
36
|
-
<mat-form-field>
|
37
|
-
<mat-label>{{'DataType'|translate}}</mat-label>
|
38
|
-
<mat-select formControlName="dataType">
|
39
|
-
@for (t of datatypes['_'].elements|sort: 'title'; track t) {
|
40
|
-
<mat-option [value]="t.name">
|
41
|
-
{{t.title}}
|
42
|
-
</mat-option>
|
43
|
-
}
|
44
|
-
@for (g of datatypes|sort: 'title'; track g) {
|
45
|
-
<mat-optgroup [label]="g.title">
|
46
|
-
@for (t of g.elements|sort: 'title'; track t) {
|
47
|
-
<mat-option [value]="t.name">
|
48
|
-
{{t.title}}
|
49
|
-
</mat-option>
|
50
|
-
}
|
51
|
-
</mat-optgroup>
|
52
|
-
}
|
53
|
-
</mat-select>
|
54
|
-
@if (form.controls.dataType.hasError('required')) {
|
55
|
-
<mat-error [innerHTML]="'RequiredErr'|translate:('DataType'|translate)"></mat-error>
|
56
|
-
}
|
57
|
-
</mat-form-field>
|
58
|
-
}
|
59
|
-
<bizdoc-design-options [form]="form" [model]="model"></bizdoc-design-options>
|
60
|
-
<mat-checkbox formControlName="multiple">{{'Multiple'|translate}}</mat-checkbox>
|
61
|
-
<mat-checkbox formControlName="autocomplete">{{'Autocomplete'|translate}}</mat-checkbox>
|
31
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.4", ngImport: i0, type: SelectControlDesigner, deps: [{ token: i1.SystemService }, { token: i2.FormBuilder }], target: i0.ɵɵFactoryTarget.Component }); }
|
32
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.4", type: SelectControlDesigner, selector: "ng-component", usesInheritance: true, ngImport: i0, template: `
|
33
|
+
<form autocomplete="off" [formGroup]="form" class="column">
|
34
|
+
<bizdoc-localized-string [placeholder]="'Label'|translate" formControlName="label"></bizdoc-localized-string>
|
35
|
+
@if (datatypes) {
|
36
|
+
<mat-form-field>
|
37
|
+
<mat-label>{{'DataType'|translate}}</mat-label>
|
38
|
+
<mat-select formControlName="dataType">
|
39
|
+
@for (t of datatypes['_'].elements|sort: 'title'; track t) {
|
40
|
+
<mat-option [value]="t.name">
|
41
|
+
{{t.title}}
|
42
|
+
</mat-option>
|
43
|
+
}
|
44
|
+
@for (g of datatypes|sort: 'title'; track g) {
|
45
|
+
<mat-optgroup [label]="g.title">
|
46
|
+
@for (t of g.elements|sort: 'title'; track t) {
|
47
|
+
<mat-option [value]="t.name">
|
48
|
+
{{t.title}}
|
49
|
+
</mat-option>
|
50
|
+
}
|
51
|
+
</mat-optgroup>
|
52
|
+
}
|
53
|
+
</mat-select>
|
54
|
+
@if (form.controls.dataType.hasError('required')) {
|
55
|
+
<mat-error [innerHTML]="'RequiredErr'|translate:('DataType'|translate)"></mat-error>
|
56
|
+
}
|
57
|
+
</mat-form-field>
|
58
|
+
}
|
59
|
+
<bizdoc-design-options [form]="form" [model]="model"></bizdoc-design-options>
|
60
|
+
<mat-checkbox formControlName="multiple">{{'Multiple'|translate}}</mat-checkbox>
|
61
|
+
<mat-checkbox formControlName="autocomplete">{{'Autocomplete'|translate}}</mat-checkbox>
|
62
62
|
</form>`, isInline: true, dependencies: [{ kind: "directive", type: i2.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i2.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i2.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "component", type: i3.MatOption, selector: "mat-option", inputs: ["value", "id", "disabled"], outputs: ["onSelectionChange"], exportAs: ["matOption"] }, { kind: "component", type: i3.MatOptgroup, selector: "mat-optgroup", inputs: ["label", "disabled"], exportAs: ["matOptgroup"] }, { kind: "component", type: i4.MatFormField, selector: "mat-form-field", inputs: ["hideRequiredMarker", "color", "floatLabel", "appearance", "subscriptSizing", "hintLabel"], exportAs: ["matFormField"] }, { kind: "directive", type: i4.MatLabel, selector: "mat-label" }, { kind: "directive", type: i4.MatError, selector: "mat-error, [matError]", inputs: ["id"] }, { kind: "component", type: i5.MatSelect, selector: "mat-select", inputs: ["aria-describedby", "panelClass", "disabled", "disableRipple", "tabIndex", "hideSingleSelectionIndicator", "placeholder", "required", "multiple", "disableOptionCentering", "compareWith", "value", "aria-label", "aria-labelledby", "errorStateMatcher", "typeaheadDebounceInterval", "sortComparator", "id", "panelWidth"], outputs: ["openedChange", "opened", "closed", "selectionChange", "valueChange"], exportAs: ["matSelect"] }, { kind: "component", type: i6.MatCheckbox, selector: "mat-checkbox", inputs: ["aria-label", "aria-labelledby", "aria-describedby", "id", "required", "labelPosition", "name", "value", "disableRipple", "tabIndex", "color", "disabledInteractive", "checked", "disabled", "indeterminate"], outputs: ["change", "indeterminateChange"], exportAs: ["matCheckbox"] }, { kind: "component", type: i7.LocalizedStringComponent, selector: "bizdoc-localized-string", inputs: ["class", "floatLabel", "value", "placeholder", "required", "disabled", "maxlength"] }, { kind: "component", type: i8.ControlOptionsComponent, selector: "bizdoc-design-options", inputs: ["form", "model"] }, { kind: "pipe", type: i9.ArraySortPipe, name: "sort" }, { kind: "pipe", type: i10.TranslatePipe, name: "translate" }] }); }
|
63
63
|
};
|
64
64
|
SelectControlDesigner = __decorate([
|
65
65
|
BizDoc({ selector: 'select-control-designer' })
|
66
66
|
], SelectControlDesigner);
|
67
67
|
export { SelectControlDesigner };
|
68
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.
|
68
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.4", ngImport: i0, type: SelectControlDesigner, decorators: [{
|
69
69
|
type: Component,
|
70
70
|
args: [{
|
71
|
-
template: `
|
72
|
-
<form autocomplete="off" [formGroup]="form" class="column">
|
73
|
-
<bizdoc-localized-string [placeholder]="'Label'|translate" formControlName="label"></bizdoc-localized-string>
|
74
|
-
@if (datatypes) {
|
75
|
-
<mat-form-field>
|
76
|
-
<mat-label>{{'DataType'|translate}}</mat-label>
|
77
|
-
<mat-select formControlName="dataType">
|
78
|
-
@for (t of datatypes['_'].elements|sort: 'title'; track t) {
|
79
|
-
<mat-option [value]="t.name">
|
80
|
-
{{t.title}}
|
81
|
-
</mat-option>
|
82
|
-
}
|
83
|
-
@for (g of datatypes|sort: 'title'; track g) {
|
84
|
-
<mat-optgroup [label]="g.title">
|
85
|
-
@for (t of g.elements|sort: 'title'; track t) {
|
86
|
-
<mat-option [value]="t.name">
|
87
|
-
{{t.title}}
|
88
|
-
</mat-option>
|
89
|
-
}
|
90
|
-
</mat-optgroup>
|
91
|
-
}
|
92
|
-
</mat-select>
|
93
|
-
@if (form.controls.dataType.hasError('required')) {
|
94
|
-
<mat-error [innerHTML]="'RequiredErr'|translate:('DataType'|translate)"></mat-error>
|
95
|
-
}
|
96
|
-
</mat-form-field>
|
97
|
-
}
|
98
|
-
<bizdoc-design-options [form]="form" [model]="model"></bizdoc-design-options>
|
99
|
-
<mat-checkbox formControlName="multiple">{{'Multiple'|translate}}</mat-checkbox>
|
100
|
-
<mat-checkbox formControlName="autocomplete">{{'Autocomplete'|translate}}</mat-checkbox>
|
71
|
+
template: `
|
72
|
+
<form autocomplete="off" [formGroup]="form" class="column">
|
73
|
+
<bizdoc-localized-string [placeholder]="'Label'|translate" formControlName="label"></bizdoc-localized-string>
|
74
|
+
@if (datatypes) {
|
75
|
+
<mat-form-field>
|
76
|
+
<mat-label>{{'DataType'|translate}}</mat-label>
|
77
|
+
<mat-select formControlName="dataType">
|
78
|
+
@for (t of datatypes['_'].elements|sort: 'title'; track t) {
|
79
|
+
<mat-option [value]="t.name">
|
80
|
+
{{t.title}}
|
81
|
+
</mat-option>
|
82
|
+
}
|
83
|
+
@for (g of datatypes|sort: 'title'; track g) {
|
84
|
+
<mat-optgroup [label]="g.title">
|
85
|
+
@for (t of g.elements|sort: 'title'; track t) {
|
86
|
+
<mat-option [value]="t.name">
|
87
|
+
{{t.title}}
|
88
|
+
</mat-option>
|
89
|
+
}
|
90
|
+
</mat-optgroup>
|
91
|
+
}
|
92
|
+
</mat-select>
|
93
|
+
@if (form.controls.dataType.hasError('required')) {
|
94
|
+
<mat-error [innerHTML]="'RequiredErr'|translate:('DataType'|translate)"></mat-error>
|
95
|
+
}
|
96
|
+
</mat-form-field>
|
97
|
+
}
|
98
|
+
<bizdoc-design-options [form]="form" [model]="model"></bizdoc-design-options>
|
99
|
+
<mat-checkbox formControlName="multiple">{{'Multiple'|translate}}</mat-checkbox>
|
100
|
+
<mat-checkbox formControlName="autocomplete">{{'Autocomplete'|translate}}</mat-checkbox>
|
101
101
|
</form>`
|
102
102
|
}]
|
103
103
|
}], ctorParameters: () => [{ type: i1.SystemService }, { type: i2.FormBuilder }] });
|
104
|
-
//# sourceMappingURL=data:application/json;base64,
|
104
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2VsZWN0LmRlc2lnbmVyLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvY29yZS9zcmMvbGliL2NvcmUvZmllbGRzL3NlbGVjdC5kZXNpZ25lci50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiO0FBQUEsT0FBTyxFQUFFLFNBQVMsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUkxQyxPQUFPLEVBQUUsTUFBTSxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBRXZDLE9BQU8sRUFBRSxzQkFBc0IsRUFBRSxNQUFNLGdCQUFnQixDQUFDOzs7Ozs7Ozs7Ozs7QUFvQ2pELElBQU0scUJBQXFCLEdBQTNCLE1BQU0scUJBQXNCLFNBQVEsc0JBQXNCO0lBUy9ELFlBQ0UsT0FBc0IsRUFDZCxHQUFnQjtRQUN4QixLQUFLLENBQUMsT0FBTyxDQUFDLENBQUM7UUFEUCxRQUFHLEdBQUgsR0FBRyxDQUFhO1FBVmpCLFNBQUksR0FBRy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fQ==
|
@@ -19,18 +19,18 @@ let SelectField = class SelectField extends OptionsControlField {
|
|
19
19
|
focus() {
|
20
20
|
this.select.focus();
|
21
21
|
}
|
22
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.
|
23
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.
|
22
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.4", ngImport: i0, type: SelectField, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
23
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.4", type: SelectField, selector: "ng-component", host: { classAttribute: "field" }, viewQueries: [{ propertyName: "select", first: true, predicate: MatSelect, descendants: true }], usesInheritance: true, ngImport: i0, template: "@if (mode==='compose') {\r\n <mat-form-field [appearance]=appearance>\r\n <mat-label>{{label |localizedString}}</mat-label>\r\n <mat-select [placeholder]=\"placeholder\" [formControl]=control\r\n [required]=\"required\" [multiple]=\"multiple\">\r\n @for (o of options; track o) {\r\n <mat-option [value]=\"o.key\">{{o.value}}</mat-option>\r\n }\r\n </mat-select>\r\n @if (hint) {\r\n <mat-hint> {{ hint|localizedString }}</mat-hint>\r\n }\r\n @if (control.hasError('required')) {\r\n <mat-error [innerHTML]=\"'RequiredErr'|translate:(label|localizedString)\"></mat-error>\r\n }\r\n </mat-form-field>\r\n} @else {\r\n @if (control.value) {\r\n <span>\r\n @switch (multiple) {\r\n @case (true) {\r\n @for (o of control.value; track o; let index = $index) {\r\n {{optionOf(o)|localizedString}}\r\n @if (index>0) {\r\n , \r\n }\r\n }\r\n }\r\n @default {\r\n {{optionOf(control.value)|localizedString}}\r\n }\r\n }\r\n </span>\r\n }\r\n}\r\n", dependencies: [{ kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { 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.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "component", type: i2.MatOption, selector: "mat-option", inputs: ["value", "id", "disabled"], outputs: ["onSelectionChange"], exportAs: ["matOption"] }, { kind: "component", type: i3.MatFormField, selector: "mat-form-field", inputs: ["hideRequiredMarker", "color", "floatLabel", "appearance", "subscriptSizing", "hintLabel"], exportAs: ["matFormField"] }, { kind: "directive", type: i3.MatLabel, selector: "mat-label" }, { kind: "directive", type: i3.MatHint, selector: "mat-hint", inputs: ["align", "id"] }, { kind: "directive", type: i3.MatError, selector: "mat-error, [matError]", inputs: ["id"] }, { kind: "component", type: i4.MatSelect, selector: "mat-select", inputs: ["aria-describedby", "panelClass", "disabled", "disableRipple", "tabIndex", "hideSingleSelectionIndicator", "placeholder", "required", "multiple", "disableOptionCentering", "compareWith", "value", "aria-label", "aria-labelledby", "errorStateMatcher", "typeaheadDebounceInterval", "sortComparator", "id", "panelWidth"], outputs: ["openedChange", "opened", "closed", "selectionChange", "valueChange"], exportAs: ["matSelect"] }, { kind: "pipe", type: i5.LocalizedStringPipe, name: "localizedString" }, { kind: "pipe", type: i6.TranslatePipe, name: "translate" }] }); }
|
24
24
|
};
|
25
25
|
SelectField = __decorate([
|
26
26
|
BizDoc({ selector: 'select-control' })
|
27
27
|
], SelectField);
|
28
28
|
export { SelectField };
|
29
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.
|
29
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.4", ngImport: i0, type: SelectField, decorators: [{
|
30
30
|
type: Component,
|
31
|
-
args: [{ host: { class: 'field' }, template: "@if (mode==='compose') {\n <mat-form-field [appearance]=appearance>\n <mat-label>{{label |localizedString}}</mat-label>\n <mat-select [placeholder]=\"placeholder\" [formControl]=control\n [required]=\"required\" [multiple]=\"multiple\">\n @for (o of options; track o) {\n <mat-option [value]=\"o.key\">{{o.value}}</mat-option>\n }\n </mat-select>\n @if (hint) {\n <mat-hint> {{ hint|localizedString }}</mat-hint>\n }\n @if (control.hasError('required')) {\n <mat-error [innerHTML]=\"'RequiredErr'|translate:(label|localizedString)\"></mat-error>\n }\n </mat-form-field>\n} @else {\n @if (control.value) {\n <span>\n @switch (multiple) {\n @case (true) {\n @for (o of control.value; track o; let index = $index) {\n {{optionOf(o)|localizedString}}\n @if (index>0) {\n , \n }\n }\n }\n @default {\n {{optionOf(control.value)|localizedString}}\n }\n }\n </span>\n }\n}\n" }]
|
31
|
+
args: [{ host: { class: 'field' }, template: "@if (mode==='compose') {\r\n <mat-form-field [appearance]=appearance>\r\n <mat-label>{{label |localizedString}}</mat-label>\r\n <mat-select [placeholder]=\"placeholder\" [formControl]=control\r\n [required]=\"required\" [multiple]=\"multiple\">\r\n @for (o of options; track o) {\r\n <mat-option [value]=\"o.key\">{{o.value}}</mat-option>\r\n }\r\n </mat-select>\r\n @if (hint) {\r\n <mat-hint> {{ hint|localizedString }}</mat-hint>\r\n }\r\n @if (control.hasError('required')) {\r\n <mat-error [innerHTML]=\"'RequiredErr'|translate:(label|localizedString)\"></mat-error>\r\n }\r\n </mat-form-field>\r\n} @else {\r\n @if (control.value) {\r\n <span>\r\n @switch (multiple) {\r\n @case (true) {\r\n @for (o of control.value; track o; let index = $index) {\r\n {{optionOf(o)|localizedString}}\r\n @if (index>0) {\r\n , \r\n }\r\n }\r\n }\r\n @default {\r\n {{optionOf(control.value)|localizedString}}\r\n }\r\n }\r\n </span>\r\n }\r\n}\r\n" }]
|
32
32
|
}], propDecorators: { select: [{
|
33
33
|
type: ViewChild,
|
34
34
|
args: [MatSelect]
|
35
35
|
}] } });
|
36
|
-
//# sourceMappingURL=data:application/json;base64,
|
36
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlI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