@trismegisto/angular 3.3.10 → 3.3.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +56 -56
- package/README.md +136 -136
- package/fesm2022/trismegisto-angular-access-control.mjs +300 -300
- package/fesm2022/trismegisto-angular-access-control.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-accordion.mjs +2 -2
- package/fesm2022/trismegisto-angular-accordion.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-account-avatar.mjs +28 -28
- package/fesm2022/trismegisto-angular-account-avatar.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-account-closure.mjs +72 -72
- package/fesm2022/trismegisto-angular-account-closure.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-account-forms.mjs +274 -274
- package/fesm2022/trismegisto-angular-account-forms.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-account-switcher.mjs +88 -88
- package/fesm2022/trismegisto-angular-account-switcher.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-address.mjs +152 -152
- package/fesm2022/trismegisto-angular-address.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-agent.mjs +500 -500
- package/fesm2022/trismegisto-angular-agent.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-alert-history.mjs +134 -134
- package/fesm2022/trismegisto-angular-alert-history.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-alert-rule-editor.mjs +166 -166
- package/fesm2022/trismegisto-angular-alert-rule-editor.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-alert.mjs +28 -28
- package/fesm2022/trismegisto-angular-alert.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-anchor-nav.mjs +36 -36
- package/fesm2022/trismegisto-angular-anchor-nav.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-announcer.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-api-exchange.mjs +2 -2
- package/fesm2022/trismegisto-angular-api-exchange.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-appointment-details.mjs +2 -2
- package/fesm2022/trismegisto-angular-appointment-details.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-approval.mjs +102 -102
- package/fesm2022/trismegisto-angular-approval.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-assignee.mjs +120 -120
- package/fesm2022/trismegisto-angular-assignee.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-attachment.mjs +2 -2
- package/fesm2022/trismegisto-angular-attachment.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-availability-editor.mjs +2 -2
- package/fesm2022/trismegisto-angular-availability-editor.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-avatar-group.mjs +30 -30
- package/fesm2022/trismegisto-angular-avatar-group.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-backlog.mjs +122 -122
- package/fesm2022/trismegisto-angular-backlog.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-badge.mjs +20 -20
- package/fesm2022/trismegisto-angular-badge.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-billing.mjs +432 -432
- package/fesm2022/trismegisto-angular-billing.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-bottom-navigation.mjs +78 -78
- package/fesm2022/trismegisto-angular-bottom-navigation.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-bottom-sheet.mjs +170 -170
- package/fesm2022/trismegisto-angular-bottom-sheet.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-breadcrumb.mjs +124 -124
- package/fesm2022/trismegisto-angular-breadcrumb.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-bubble.mjs +56 -56
- package/fesm2022/trismegisto-angular-bubble.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-bulk-input.mjs +2 -2
- package/fesm2022/trismegisto-angular-bulk-input.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-button-group.mjs +34 -34
- package/fesm2022/trismegisto-angular-button-group.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-button.mjs +2 -2
- package/fesm2022/trismegisto-angular-button.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-card-container.mjs +280 -280
- package/fesm2022/trismegisto-angular-card-container.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-card.mjs +2 -2
- package/fesm2022/trismegisto-angular-card.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-carousel.mjs +2 -2
- package/fesm2022/trismegisto-angular-carousel.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-cart.mjs +352 -352
- package/fesm2022/trismegisto-angular-cart.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-cascader.mjs +2 -2
- package/fesm2022/trismegisto-angular-cascader.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-certificate-viewer.mjs +322 -322
- package/fesm2022/trismegisto-angular-certificate-viewer.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-change-history.mjs +80 -80
- package/fesm2022/trismegisto-angular-change-history.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-checkbox-group.mjs +2 -2
- package/fesm2022/trismegisto-angular-checkbox-group.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-checkbox.mjs +2 -2
- package/fesm2022/trismegisto-angular-checkbox.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-chip.mjs +72 -72
- package/fesm2022/trismegisto-angular-chip.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-code-diff.mjs +2 -2
- package/fesm2022/trismegisto-angular-code-diff.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-code-input.mjs +2 -2
- package/fesm2022/trismegisto-angular-code-input.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-code-viewer.mjs +2 -2
- package/fesm2022/trismegisto-angular-code-viewer.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-color-picker.mjs +2 -2
- package/fesm2022/trismegisto-angular-color-picker.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-combobox-multi.mjs +2 -2
- package/fesm2022/trismegisto-angular-combobox-multi.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-combobox.mjs +2 -2
- package/fesm2022/trismegisto-angular-combobox.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-command-palette.mjs +258 -258
- package/fesm2022/trismegisto-angular-command-palette.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-commerce-format.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-connection-wizard.mjs +2 -2
- package/fesm2022/trismegisto-angular-connection-wizard.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-consent.mjs +116 -116
- package/fesm2022/trismegisto-angular-consent.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-copy-button.mjs +28 -28
- package/fesm2022/trismegisto-angular-copy-button.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-credentials-form.mjs +76 -76
- package/fesm2022/trismegisto-angular-credentials-form.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-data-grid.mjs +55 -11
- package/fesm2022/trismegisto-angular-data-grid.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-data-source-picker.mjs +2 -2
- package/fesm2022/trismegisto-angular-data-source-picker.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-date-picker.mjs +38 -38
- package/fesm2022/trismegisto-angular-date-picker.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-datetime-picker.mjs +2 -2
- package/fesm2022/trismegisto-angular-datetime-picker.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-deadline.mjs +90 -90
- package/fesm2022/trismegisto-angular-deadline.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-deploy-pipeline.mjs +98 -98
- package/fesm2022/trismegisto-angular-deploy-pipeline.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-description-list.mjs +188 -188
- package/fesm2022/trismegisto-angular-description-list.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-dialog.mjs +54 -54
- package/fesm2022/trismegisto-angular-dialog.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-direction.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-divider.mjs +8 -8
- package/fesm2022/trismegisto-angular-divider.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-drag-drop.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-drawer.mjs +2 -2
- package/fesm2022/trismegisto-angular-drawer.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-dropdown.mjs +36 -36
- package/fesm2022/trismegisto-angular-dropdown.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-dual-list.mjs +2 -2
- package/fesm2022/trismegisto-angular-dual-list.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-empty.mjs +10 -10
- package/fesm2022/trismegisto-angular-empty.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-endpoint-card.mjs +2 -2
- package/fesm2022/trismegisto-angular-endpoint-card.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-entity-picker.mjs +66 -66
- package/fesm2022/trismegisto-angular-entity-picker.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-environment-picker.mjs +90 -90
- package/fesm2022/trismegisto-angular-environment-picker.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-event-calendar.mjs +2 -2
- package/fesm2022/trismegisto-angular-event-calendar.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-execution-status.mjs +108 -108
- package/fesm2022/trismegisto-angular-execution-status.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-fab.mjs +94 -94
- package/fesm2022/trismegisto-angular-fab.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-feature-flags.mjs +2 -2
- package/fesm2022/trismegisto-angular-feature-flags.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-field-mapping.mjs +2 -2
- package/fesm2022/trismegisto-angular-field-mapping.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-file-list.mjs +2 -2
- package/fesm2022/trismegisto-angular-file-list.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-file-permissions.mjs +2 -2
- package/fesm2022/trismegisto-angular-file-permissions.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-file-upload.mjs +2 -2
- package/fesm2022/trismegisto-angular-file-upload.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-file-versions.mjs +2 -2
- package/fesm2022/trismegisto-angular-file-versions.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-filter-bar.mjs +2 -2
- package/fesm2022/trismegisto-angular-filter-bar.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-finance.mjs +376 -376
- package/fesm2022/trismegisto-angular-finance.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-floating-window.mjs +2 -2
- package/fesm2022/trismegisto-angular-floating-window.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-form-error-summary.mjs +38 -38
- package/fesm2022/trismegisto-angular-form-error-summary.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-form-required-hint.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-forms.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-gantt.mjs +144 -144
- package/fesm2022/trismegisto-angular-gantt.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-geometric-texture.mjs +2 -2
- package/fesm2022/trismegisto-angular-geometric-texture.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-global-search.mjs +36 -36
- package/fesm2022/trismegisto-angular-global-search.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-header.mjs +2 -2
- package/fesm2022/trismegisto-angular-header.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-health-status.mjs +42 -42
- package/fesm2022/trismegisto-angular-health-status.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-i18n.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-icon-button.mjs +2 -2
- package/fesm2022/trismegisto-angular-icon-button.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-icon.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-identity-document.mjs +2 -2
- package/fesm2022/trismegisto-angular-identity-document.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-illustration-attention.mjs +2 -2
- package/fesm2022/trismegisto-angular-illustration-attention.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-illustration-error.mjs +2 -2
- package/fesm2022/trismegisto-angular-illustration-error.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-illustration-journey-end.mjs +2 -2
- package/fesm2022/trismegisto-angular-illustration-journey-end.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-illustration-locked.mjs +2 -2
- package/fesm2022/trismegisto-angular-illustration-locked.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-illustration-no-permission.mjs +2 -2
- package/fesm2022/trismegisto-angular-illustration-no-permission.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-illustration-no-results.mjs +2 -2
- package/fesm2022/trismegisto-angular-illustration-no-results.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-illustration-not-found.mjs +2 -2
- package/fesm2022/trismegisto-angular-illustration-not-found.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-illustration-session-expired.mjs +2 -2
- package/fesm2022/trismegisto-angular-illustration-session-expired.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-illustration-shared.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-illustration-success.mjs +2 -2
- package/fesm2022/trismegisto-angular-illustration-success.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-illustration-unlocked.mjs +2 -2
- package/fesm2022/trismegisto-angular-illustration-unlocked.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-image-crop.mjs +2 -2
- package/fesm2022/trismegisto-angular-image-crop.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-image-gallery.mjs +4 -4
- package/fesm2022/trismegisto-angular-image-gallery.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-incident.mjs +382 -382
- package/fesm2022/trismegisto-angular-incident.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-input.mjs +2 -2
- package/fesm2022/trismegisto-angular-input.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-integration-text.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-integration.mjs +8 -8
- package/fesm2022/trismegisto-angular-integration.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-invoice.mjs +186 -186
- package/fesm2022/trismegisto-angular-invoice.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-item.mjs +2 -2
- package/fesm2022/trismegisto-angular-item.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-json-viewer.mjs +2 -2
- package/fesm2022/trismegisto-angular-json-viewer.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-kanban.mjs +194 -194
- package/fesm2022/trismegisto-angular-kanban.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-legend.mjs +44 -44
- package/fesm2022/trismegisto-angular-legend.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-level-badge.mjs +74 -74
- package/fesm2022/trismegisto-angular-level-badge.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-list-editor.mjs +2 -2
- package/fesm2022/trismegisto-angular-list-editor.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-loading-square.mjs +12 -12
- package/fesm2022/trismegisto-angular-loading-square.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-location-select.mjs +84 -84
- package/fesm2022/trismegisto-angular-location-select.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-log-viewer.mjs +2 -2
- package/fesm2022/trismegisto-angular-log-viewer.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-maintenance-window.mjs +112 -112
- package/fesm2022/trismegisto-angular-maintenance-window.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-member-list.mjs +142 -142
- package/fesm2022/trismegisto-angular-member-list.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-mention-text.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-menu-button.mjs +2 -2
- package/fesm2022/trismegisto-angular-menu-button.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-menu.mjs +2 -2
- package/fesm2022/trismegisto-angular-menu.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-menubar.mjs +68 -68
- package/fesm2022/trismegisto-angular-menubar.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-message-divider.mjs +30 -30
- package/fesm2022/trismegisto-angular-message-divider.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-message-scroller.mjs +78 -78
- package/fesm2022/trismegisto-angular-message-scroller.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-message.mjs +130 -130
- package/fesm2022/trismegisto-angular-message.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-metric-explorer.mjs +186 -186
- package/fesm2022/trismegisto-angular-metric-explorer.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-modal.mjs +2 -2
- package/fesm2022/trismegisto-angular-modal.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-monitoring-text.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-month-picker.mjs +2 -2
- package/fesm2022/trismegisto-angular-month-picker.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-motion.mjs +6 -6
- package/fesm2022/trismegisto-angular-motion.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-navigation-menu.mjs +204 -204
- package/fesm2022/trismegisto-angular-navigation-menu.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-number-field.mjs +4 -4
- package/fesm2022/trismegisto-angular-number-field.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-observability-text.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-order.mjs +172 -172
- package/fesm2022/trismegisto-angular-order.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-org-chart.mjs +294 -294
- package/fesm2022/trismegisto-angular-org-chart.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-page-header.mjs +100 -100
- package/fesm2022/trismegisto-angular-page-header.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-paginator.mjs +2 -2
- package/fesm2022/trismegisto-angular-paginator.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-password-strength.mjs +56 -56
- package/fesm2022/trismegisto-angular-password-strength.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-payment-fields.mjs +312 -312
- package/fesm2022/trismegisto-angular-payment-fields.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-payment-form.mjs +126 -126
- package/fesm2022/trismegisto-angular-payment-form.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-payment-method.mjs +94 -94
- package/fesm2022/trismegisto-angular-payment-method.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-pdf-viewer.mjs +2 -2
- package/fesm2022/trismegisto-angular-pdf-viewer.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-permission-matrix.mjs +138 -138
- package/fesm2022/trismegisto-angular-permission-matrix.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-pipes.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-popconfirm.mjs +42 -42
- package/fesm2022/trismegisto-angular-popconfirm.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-popover.mjs +110 -110
- package/fesm2022/trismegisto-angular-popover.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-price.mjs +44 -44
- package/fesm2022/trismegisto-angular-price.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-product.mjs +404 -404
- package/fesm2022/trismegisto-angular-product.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-progress.mjs +152 -152
- package/fesm2022/trismegisto-angular-progress.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-prompt-input.mjs +98 -98
- package/fesm2022/trismegisto-angular-prompt-input.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-prompt-suggestions.mjs +8 -8
- package/fesm2022/trismegisto-angular-prompt-suggestions.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-property-view.mjs +252 -252
- package/fesm2022/trismegisto-angular-property-view.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-questionnaire.mjs +150 -150
- package/fesm2022/trismegisto-angular-questionnaire.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-radio.mjs +2 -2
- package/fesm2022/trismegisto-angular-radio.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-rating.mjs +2 -2
- package/fesm2022/trismegisto-angular-rating.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-reason-dialog.mjs +40 -40
- package/fesm2022/trismegisto-angular-reason-dialog.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-recurrence-editor.mjs +2 -2
- package/fesm2022/trismegisto-angular-recurrence-editor.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-release-timeline.mjs +64 -64
- package/fesm2022/trismegisto-angular-release-timeline.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-reorder-list.mjs +2 -2
- package/fesm2022/trismegisto-angular-reorder-list.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-report-history.mjs +2 -2
- package/fesm2022/trismegisto-angular-report-history.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-report-schedule.mjs +2 -2
- package/fesm2022/trismegisto-angular-report-schedule.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-resource-calendar.mjs +2 -2
- package/fesm2022/trismegisto-angular-resource-calendar.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-resource-usage.mjs +62 -62
- package/fesm2022/trismegisto-angular-resource-usage.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-return-request.mjs +102 -102
- package/fesm2022/trismegisto-angular-return-request.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-rich-text.mjs +2 -2
- package/fesm2022/trismegisto-angular-rich-text.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-risk-register.mjs +182 -182
- package/fesm2022/trismegisto-angular-risk-register.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-save-status.mjs +42 -42
- package/fesm2022/trismegisto-angular-save-status.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-search-field.mjs +2 -2
- package/fesm2022/trismegisto-angular-search-field.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-segmented-control.mjs +2 -2
- package/fesm2022/trismegisto-angular-segmented-control.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-select.mjs +2 -2
- package/fesm2022/trismegisto-angular-select.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-service-map.mjs +188 -188
- package/fesm2022/trismegisto-angular-service-map.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-service-status.mjs +142 -142
- package/fesm2022/trismegisto-angular-service-status.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-session-recovery.mjs +12 -12
- package/fesm2022/trismegisto-angular-session-recovery.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-settings.mjs +46 -46
- package/fesm2022/trismegisto-angular-settings.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-shipping.mjs +166 -166
- package/fesm2022/trismegisto-angular-shipping.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-shortcut-list.mjs +2 -2
- package/fesm2022/trismegisto-angular-shortcut-list.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-sidebar.mjs +40 -40
- package/fesm2022/trismegisto-angular-sidebar.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-skeleton.mjs +46 -46
- package/fesm2022/trismegisto-angular-skeleton.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-skip-link.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-sla-summary.mjs +146 -146
- package/fesm2022/trismegisto-angular-sla-summary.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-slider.mjs +2 -2
- package/fesm2022/trismegisto-angular-slider.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-slot-picker.mjs +2 -2
- package/fesm2022/trismegisto-angular-slot-picker.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-spinner.mjs +22 -22
- package/fesm2022/trismegisto-angular-spinner.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-split-button.mjs +62 -62
- package/fesm2022/trismegisto-angular-split-button.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-splitter.mjs +40 -40
- package/fesm2022/trismegisto-angular-splitter.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-stat-card.mjs +2 -2
- package/fesm2022/trismegisto-angular-stat-card.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-stat-group.mjs +74 -74
- package/fesm2022/trismegisto-angular-stat-group.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-state-page.mjs +22 -22
- package/fesm2022/trismegisto-angular-state-page.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-state-screen.mjs +2 -2
- package/fesm2022/trismegisto-angular-state-screen.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-status-badge.mjs +10 -10
- package/fesm2022/trismegisto-angular-status-badge.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-status-select.mjs +44 -44
- package/fesm2022/trismegisto-angular-status-select.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-stepper.mjs +34 -34
- package/fesm2022/trismegisto-angular-stepper.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-storage-usage.mjs +2 -2
- package/fesm2022/trismegisto-angular-storage-usage.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-swimlane-board.mjs +80 -80
- package/fesm2022/trismegisto-angular-swimlane-board.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-switch.mjs +2 -2
- package/fesm2022/trismegisto-angular-switch.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-sync-status.mjs +4 -4
- package/fesm2022/trismegisto-angular-sync-status.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-tab-bar.mjs +2 -2
- package/fesm2022/trismegisto-angular-tab-bar.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-tabs.mjs +4 -4
- package/fesm2022/trismegisto-angular-tabs.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-tag-input.mjs +2 -2
- package/fesm2022/trismegisto-angular-tag-input.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-tag.mjs +12 -12
- package/fesm2022/trismegisto-angular-tag.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-task-card.mjs +188 -188
- package/fesm2022/trismegisto-angular-task-card.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-task-detail.mjs +398 -398
- package/fesm2022/trismegisto-angular-task-detail.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-testing.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-textarea.mjs +2 -2
- package/fesm2022/trismegisto-angular-textarea.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-theme-builder.mjs +2 -2
- package/fesm2022/trismegisto-angular-theme-builder.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-theme-picker.mjs +2 -2
- package/fesm2022/trismegisto-angular-theme-picker.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-theme.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-time-picker.mjs +2 -2
- package/fesm2022/trismegisto-angular-time-picker.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-time-range.mjs +2 -2
- package/fesm2022/trismegisto-angular-time-range.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-timeline.mjs +92 -92
- package/fesm2022/trismegisto-angular-timeline.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-toast.mjs +38 -38
- package/fesm2022/trismegisto-angular-toast.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-toggle-group.mjs +30 -30
- package/fesm2022/trismegisto-angular-toggle-group.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-toggletip.mjs +56 -56
- package/fesm2022/trismegisto-angular-toggletip.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-toolbar.mjs +6 -6
- package/fesm2022/trismegisto-angular-toolbar.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-tooltip.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-tour.mjs +102 -102
- package/fesm2022/trismegisto-angular-tour.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-trace-waterfall.mjs +242 -242
- package/fesm2022/trismegisto-angular-trace-waterfall.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-trace.mjs +88 -88
- package/fesm2022/trismegisto-angular-trace.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-transaction.mjs +238 -238
- package/fesm2022/trismegisto-angular-transaction.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-tree-select.mjs +4 -4
- package/fesm2022/trismegisto-angular-tree-select.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-tree.mjs +2 -2
- package/fesm2022/trismegisto-angular-tree.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-unsaved-changes.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-uptime-bar.mjs +88 -88
- package/fesm2022/trismegisto-angular-uptime-bar.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-user-card.mjs +106 -106
- package/fesm2022/trismegisto-angular-user-card.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-vehicle-plate.mjs +2 -2
- package/fesm2022/trismegisto-angular-vehicle-plate.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-webhook.mjs +4 -4
- package/fesm2022/trismegisto-angular-webhook.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-wizard.mjs +2 -2
- package/fesm2022/trismegisto-angular-wizard.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-workflow-diagram.mjs +240 -240
- package/fesm2022/trismegisto-angular-workflow-diagram.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-workflow-i18n.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-workload.mjs +98 -98
- package/fesm2022/trismegisto-angular-workload.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-workspace-persistence.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-workspace.mjs +4 -4
- package/fesm2022/trismegisto-angular-workspace.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-zoom.mjs.map +1 -1
- package/fesm2022/trismegisto-angular.mjs.map +1 -1
- package/package.json +5 -5
- package/types/trismegisto-angular-data-grid.d.ts +27 -2
- package/types/trismegisto-angular-data-grid.d.ts.map +1 -1
|
@@ -78,39 +78,39 @@ class SubtaskListComponent {
|
|
|
78
78
|
this.added.emit(subtask);
|
|
79
79
|
}
|
|
80
80
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.24", ngImport: i0, type: SubtaskListComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
81
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.24", type: SubtaskListComponent, isStandalone: true, selector: "hm-subtask-list", inputs: { subtasks: { classPropertyName: "subtasks", publicName: "subtasks", isSignal: true, isRequired: false, transformFunction: null }, editable: { classPropertyName: "editable", publicName: "editable", isSignal: true, isRequired: false, transformFunction: null }, disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null }, label: { classPropertyName: "label", publicName: "label", isSignal: true, isRequired: false, transformFunction: null }, texts: { classPropertyName: "texts", publicName: "texts", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { subtasks: "subtasksChange", toggled: "toggled", added: "added", removed: "removed" }, host: { classAttribute: "hm-subtask-list" }, ngImport: i0, template: `
|
|
82
|
-
@if (progress().total) {
|
|
83
|
-
<hm-progress class="hm-subtask-list__progress" [label]="progressText()" [value]="progress().done" [max]="progress().total" size="small" intent="success" />
|
|
84
|
-
}
|
|
85
|
-
@if (subtasks().length) {
|
|
86
|
-
<ul class="hm-subtask-list__items" role="list" [attr.aria-label]="label() || text().label">
|
|
87
|
-
@for (subtask of subtasks(); track subtask.id) {
|
|
88
|
-
<li class="hm-subtask-list__item" [class.hm-subtask-list__item--done]="subtask.done">
|
|
89
|
-
<hm-checkbox [label]="subtask.title" [checked]="subtask.done" [disabled]="disabled()" (checkedChange)="toggle(subtask, $event)" />
|
|
90
|
-
@if (editable()) {
|
|
91
|
-
<hm-icon-button
|
|
92
|
-
class="hm-subtask-list__remove"
|
|
93
|
-
icon="trash"
|
|
94
|
-
emphasis="subtle"
|
|
95
|
-
size="small"
|
|
96
|
-
intent="danger"
|
|
97
|
-
[label]="removeLabel(subtask)"
|
|
98
|
-
[disabled]="disabled()"
|
|
99
|
-
(clicked)="remove(subtask)"
|
|
100
|
-
/>
|
|
101
|
-
}
|
|
102
|
-
</li>
|
|
103
|
-
}
|
|
104
|
-
</ul>
|
|
105
|
-
} @else {
|
|
106
|
-
<p class="hm-subtask-list__empty">{{ text().empty }}</p>
|
|
107
|
-
}
|
|
108
|
-
@if (editable()) {
|
|
109
|
-
<form class="hm-subtask-list__add" (submit)="add($event)">
|
|
110
|
-
<hm-input class="hm-subtask-list__field" [label]="text().placeholder" labelHidden [placeholder]="text().placeholder" [disabled]="disabled()" [(value)]="draft" />
|
|
111
|
-
<hm-button type="submit" emphasis="medium" icon="plus" [disabled]="disabled() || !draft().trim()">{{ text().add }}</hm-button>
|
|
112
|
-
</form>
|
|
113
|
-
}
|
|
81
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.24", type: SubtaskListComponent, isStandalone: true, selector: "hm-subtask-list", inputs: { subtasks: { classPropertyName: "subtasks", publicName: "subtasks", isSignal: true, isRequired: false, transformFunction: null }, editable: { classPropertyName: "editable", publicName: "editable", isSignal: true, isRequired: false, transformFunction: null }, disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null }, label: { classPropertyName: "label", publicName: "label", isSignal: true, isRequired: false, transformFunction: null }, texts: { classPropertyName: "texts", publicName: "texts", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { subtasks: "subtasksChange", toggled: "toggled", added: "added", removed: "removed" }, host: { classAttribute: "hm-subtask-list" }, ngImport: i0, template: `
|
|
82
|
+
@if (progress().total) {
|
|
83
|
+
<hm-progress class="hm-subtask-list__progress" [label]="progressText()" [value]="progress().done" [max]="progress().total" size="small" intent="success" />
|
|
84
|
+
}
|
|
85
|
+
@if (subtasks().length) {
|
|
86
|
+
<ul class="hm-subtask-list__items" role="list" [attr.aria-label]="label() || text().label">
|
|
87
|
+
@for (subtask of subtasks(); track subtask.id) {
|
|
88
|
+
<li class="hm-subtask-list__item" [class.hm-subtask-list__item--done]="subtask.done">
|
|
89
|
+
<hm-checkbox [label]="subtask.title" [checked]="subtask.done" [disabled]="disabled()" (checkedChange)="toggle(subtask, $event)" />
|
|
90
|
+
@if (editable()) {
|
|
91
|
+
<hm-icon-button
|
|
92
|
+
class="hm-subtask-list__remove"
|
|
93
|
+
icon="trash"
|
|
94
|
+
emphasis="subtle"
|
|
95
|
+
size="small"
|
|
96
|
+
intent="danger"
|
|
97
|
+
[label]="removeLabel(subtask)"
|
|
98
|
+
[disabled]="disabled()"
|
|
99
|
+
(clicked)="remove(subtask)"
|
|
100
|
+
/>
|
|
101
|
+
}
|
|
102
|
+
</li>
|
|
103
|
+
}
|
|
104
|
+
</ul>
|
|
105
|
+
} @else {
|
|
106
|
+
<p class="hm-subtask-list__empty">{{ text().empty }}</p>
|
|
107
|
+
}
|
|
108
|
+
@if (editable()) {
|
|
109
|
+
<form class="hm-subtask-list__add" (submit)="add($event)">
|
|
110
|
+
<hm-input class="hm-subtask-list__field" [label]="text().placeholder" labelHidden [placeholder]="text().placeholder" [disabled]="disabled()" [(value)]="draft" />
|
|
111
|
+
<hm-button type="submit" emphasis="medium" icon="plus" [disabled]="disabled() || !draft().trim()">{{ text().add }}</hm-button>
|
|
112
|
+
</form>
|
|
113
|
+
}
|
|
114
114
|
`, isInline: true, dependencies: [{ kind: "component", type: CheckboxComponent, selector: "hm-checkbox", inputs: ["label", "labelHidden", "checked", "indeterminate"], outputs: ["checkedChange"] }, { kind: "component", type: IconButtonComponent, selector: "hm-icon-button", inputs: ["label", "icon", "solid", "iconDirection", "emphasis", "intent", "size", "disabled", "toggle", "pressed", "keyShortcuts"], outputs: ["pressedChange", "clicked"] }, { kind: "component", type: ButtonComponent, selector: "hm-button", inputs: ["emphasis", "intent", "size", "type", "icon", "iconDirection", "iconEnd", "disabled", "loading", "loadingState", "block", "link", "newTab", "caret", "inMenu", "toggle", "pressed"], outputs: ["loadingStateChange", "pressedChange", "clicked"] }, { kind: "component", type: InputComponent, selector: "hm-input", inputs: ["value", "label", "type", "placeholder", "icon", "labelHidden", "hint", "prefix", "suffix", "prefixIcon", "mask", "maskValue", "min", "max", "step", "stepButtons", "maxLength", "autocomplete", "inputMode"], outputs: ["valueChange"] }, { kind: "component", type: ProgressComponent, selector: "hm-progress", inputs: ["value", "max", "label", "labelHidden", "showValue", "indeterminate", "intent", "size", "hint", "shape"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
115
115
|
}
|
|
116
116
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.24", ngImport: i0, type: SubtaskListComponent, decorators: [{
|
|
@@ -120,39 +120,39 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.24", ngImpo
|
|
|
120
120
|
imports: [CheckboxComponent, IconButtonComponent, ButtonComponent, InputComponent, ProgressComponent],
|
|
121
121
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
122
122
|
host: { class: 'hm-subtask-list' },
|
|
123
|
-
template: `
|
|
124
|
-
@if (progress().total) {
|
|
125
|
-
<hm-progress class="hm-subtask-list__progress" [label]="progressText()" [value]="progress().done" [max]="progress().total" size="small" intent="success" />
|
|
126
|
-
}
|
|
127
|
-
@if (subtasks().length) {
|
|
128
|
-
<ul class="hm-subtask-list__items" role="list" [attr.aria-label]="label() || text().label">
|
|
129
|
-
@for (subtask of subtasks(); track subtask.id) {
|
|
130
|
-
<li class="hm-subtask-list__item" [class.hm-subtask-list__item--done]="subtask.done">
|
|
131
|
-
<hm-checkbox [label]="subtask.title" [checked]="subtask.done" [disabled]="disabled()" (checkedChange)="toggle(subtask, $event)" />
|
|
132
|
-
@if (editable()) {
|
|
133
|
-
<hm-icon-button
|
|
134
|
-
class="hm-subtask-list__remove"
|
|
135
|
-
icon="trash"
|
|
136
|
-
emphasis="subtle"
|
|
137
|
-
size="small"
|
|
138
|
-
intent="danger"
|
|
139
|
-
[label]="removeLabel(subtask)"
|
|
140
|
-
[disabled]="disabled()"
|
|
141
|
-
(clicked)="remove(subtask)"
|
|
142
|
-
/>
|
|
143
|
-
}
|
|
144
|
-
</li>
|
|
145
|
-
}
|
|
146
|
-
</ul>
|
|
147
|
-
} @else {
|
|
148
|
-
<p class="hm-subtask-list__empty">{{ text().empty }}</p>
|
|
149
|
-
}
|
|
150
|
-
@if (editable()) {
|
|
151
|
-
<form class="hm-subtask-list__add" (submit)="add($event)">
|
|
152
|
-
<hm-input class="hm-subtask-list__field" [label]="text().placeholder" labelHidden [placeholder]="text().placeholder" [disabled]="disabled()" [(value)]="draft" />
|
|
153
|
-
<hm-button type="submit" emphasis="medium" icon="plus" [disabled]="disabled() || !draft().trim()">{{ text().add }}</hm-button>
|
|
154
|
-
</form>
|
|
155
|
-
}
|
|
123
|
+
template: `
|
|
124
|
+
@if (progress().total) {
|
|
125
|
+
<hm-progress class="hm-subtask-list__progress" [label]="progressText()" [value]="progress().done" [max]="progress().total" size="small" intent="success" />
|
|
126
|
+
}
|
|
127
|
+
@if (subtasks().length) {
|
|
128
|
+
<ul class="hm-subtask-list__items" role="list" [attr.aria-label]="label() || text().label">
|
|
129
|
+
@for (subtask of subtasks(); track subtask.id) {
|
|
130
|
+
<li class="hm-subtask-list__item" [class.hm-subtask-list__item--done]="subtask.done">
|
|
131
|
+
<hm-checkbox [label]="subtask.title" [checked]="subtask.done" [disabled]="disabled()" (checkedChange)="toggle(subtask, $event)" />
|
|
132
|
+
@if (editable()) {
|
|
133
|
+
<hm-icon-button
|
|
134
|
+
class="hm-subtask-list__remove"
|
|
135
|
+
icon="trash"
|
|
136
|
+
emphasis="subtle"
|
|
137
|
+
size="small"
|
|
138
|
+
intent="danger"
|
|
139
|
+
[label]="removeLabel(subtask)"
|
|
140
|
+
[disabled]="disabled()"
|
|
141
|
+
(clicked)="remove(subtask)"
|
|
142
|
+
/>
|
|
143
|
+
}
|
|
144
|
+
</li>
|
|
145
|
+
}
|
|
146
|
+
</ul>
|
|
147
|
+
} @else {
|
|
148
|
+
<p class="hm-subtask-list__empty">{{ text().empty }}</p>
|
|
149
|
+
}
|
|
150
|
+
@if (editable()) {
|
|
151
|
+
<form class="hm-subtask-list__add" (submit)="add($event)">
|
|
152
|
+
<hm-input class="hm-subtask-list__field" [label]="text().placeholder" labelHidden [placeholder]="text().placeholder" [disabled]="disabled()" [(value)]="draft" />
|
|
153
|
+
<hm-button type="submit" emphasis="medium" icon="plus" [disabled]="disabled() || !draft().trim()">{{ text().add }}</hm-button>
|
|
154
|
+
</form>
|
|
155
|
+
}
|
|
156
156
|
`,
|
|
157
157
|
}]
|
|
158
158
|
}], propDecorators: { subtasks: [{ type: i0.Input, args: [{ isSignal: true, alias: "subtasks", required: false }] }, { type: i0.Output, args: ["subtasksChange"] }], editable: [{ type: i0.Input, args: [{ isSignal: true, alias: "editable", required: false }] }], disabled: [{ type: i0.Input, args: [{ isSignal: true, alias: "disabled", required: false }] }], label: [{ type: i0.Input, args: [{ isSignal: true, alias: "label", required: false }] }], toggled: [{ type: i0.Output, args: ["toggled"] }], added: [{ type: i0.Output, args: ["added"] }], removed: [{ type: i0.Output, args: ["removed"] }], texts: [{ type: i0.Input, args: [{ isSignal: true, alias: "texts", required: false }] }] } });
|
|
@@ -212,54 +212,54 @@ class TaskDependenciesComponent {
|
|
|
212
212
|
this.add.emit({ taskId: this.taskId(), dependsOn: id });
|
|
213
213
|
}
|
|
214
214
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.24", ngImport: i0, type: TaskDependenciesComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
215
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.24", type: TaskDependenciesComponent, isStandalone: true, selector: "hm-task-dependencies", inputs: { taskId: { classPropertyName: "taskId", publicName: "taskId", isSignal: true, isRequired: true, transformFunction: null }, tasks: { classPropertyName: "tasks", publicName: "tasks", isSignal: true, isRequired: true, transformFunction: null }, statuses: { classPropertyName: "statuses", publicName: "statuses", isSignal: true, isRequired: false, transformFunction: null }, editable: { classPropertyName: "editable", publicName: "editable", isSignal: true, isRequired: false, transformFunction: null }, disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null }, texts: { classPropertyName: "texts", publicName: "texts", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { add: "add", remove: "remove" }, host: { classAttribute: "hm-task-dependencies" }, ngImport: i0, template: `
|
|
216
|
-
@for (group of groups(); track group.key) {
|
|
217
|
-
<div class="hm-task-dependencies__group">
|
|
218
|
-
<span class="hm-task-dependencies__heading" [id]="id + '-' + group.key">{{ group.title }}</span>
|
|
219
|
-
@if (group.items.length) {
|
|
220
|
-
<ul class="hm-task-dependencies__list" role="list" [attr.aria-labelledby]="id + '-' + group.key">
|
|
221
|
-
@for (task of group.items; track task.id) {
|
|
222
|
-
<li class="hm-task-dependencies__item" [class.hm-task-dependencies__item--done]="task.done">
|
|
223
|
-
@if (task.key) {
|
|
224
|
-
<span class="hm-task-dependencies__key">{{ task.key }}</span>
|
|
225
|
-
}
|
|
226
|
-
<span class="hm-task-dependencies__title">{{ task.title }}</span>
|
|
227
|
-
@if (task.done) {
|
|
228
|
-
<span class="hm-visually-hidden">({{ text().done }})</span>
|
|
229
|
-
}
|
|
230
|
-
@if (task.status) {
|
|
231
|
-
<hm-status-badge [status]="task.status" [statuses]="statuses()" size="small" appearance="dot" />
|
|
232
|
-
}
|
|
233
|
-
@if (editable() && group.key === 'before') {
|
|
234
|
-
<hm-icon-button
|
|
235
|
-
icon="unlink"
|
|
236
|
-
emphasis="subtle"
|
|
237
|
-
size="small"
|
|
238
|
-
[label]="removeLabel(task)"
|
|
239
|
-
[disabled]="disabled()"
|
|
240
|
-
(clicked)="remove.emit({ taskId: taskId(), dependsOn: task.id })"
|
|
241
|
-
/>
|
|
242
|
-
}
|
|
243
|
-
</li>
|
|
244
|
-
}
|
|
245
|
-
</ul>
|
|
246
|
-
} @else {
|
|
247
|
-
<p class="hm-task-dependencies__empty">{{ text().empty }}</p>
|
|
248
|
-
}
|
|
249
|
-
</div>
|
|
250
|
-
}
|
|
251
|
-
@if (editable()) {
|
|
252
|
-
<hm-combobox
|
|
253
|
-
class="hm-task-dependencies__add"
|
|
254
|
-
[label]="text().add"
|
|
255
|
-
[options]="candidates()"
|
|
256
|
-
[value]="''"
|
|
257
|
-
[error]="error()"
|
|
258
|
-
[disabled]="disabled()"
|
|
259
|
-
icon="link"
|
|
260
|
-
(valueChange)="choose($event)"
|
|
261
|
-
/>
|
|
262
|
-
}
|
|
215
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.24", type: TaskDependenciesComponent, isStandalone: true, selector: "hm-task-dependencies", inputs: { taskId: { classPropertyName: "taskId", publicName: "taskId", isSignal: true, isRequired: true, transformFunction: null }, tasks: { classPropertyName: "tasks", publicName: "tasks", isSignal: true, isRequired: true, transformFunction: null }, statuses: { classPropertyName: "statuses", publicName: "statuses", isSignal: true, isRequired: false, transformFunction: null }, editable: { classPropertyName: "editable", publicName: "editable", isSignal: true, isRequired: false, transformFunction: null }, disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null }, texts: { classPropertyName: "texts", publicName: "texts", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { add: "add", remove: "remove" }, host: { classAttribute: "hm-task-dependencies" }, ngImport: i0, template: `
|
|
216
|
+
@for (group of groups(); track group.key) {
|
|
217
|
+
<div class="hm-task-dependencies__group">
|
|
218
|
+
<span class="hm-task-dependencies__heading" [id]="id + '-' + group.key">{{ group.title }}</span>
|
|
219
|
+
@if (group.items.length) {
|
|
220
|
+
<ul class="hm-task-dependencies__list" role="list" [attr.aria-labelledby]="id + '-' + group.key">
|
|
221
|
+
@for (task of group.items; track task.id) {
|
|
222
|
+
<li class="hm-task-dependencies__item" [class.hm-task-dependencies__item--done]="task.done">
|
|
223
|
+
@if (task.key) {
|
|
224
|
+
<span class="hm-task-dependencies__key">{{ task.key }}</span>
|
|
225
|
+
}
|
|
226
|
+
<span class="hm-task-dependencies__title">{{ task.title }}</span>
|
|
227
|
+
@if (task.done) {
|
|
228
|
+
<span class="hm-visually-hidden">({{ text().done }})</span>
|
|
229
|
+
}
|
|
230
|
+
@if (task.status) {
|
|
231
|
+
<hm-status-badge [status]="task.status" [statuses]="statuses()" size="small" appearance="dot" />
|
|
232
|
+
}
|
|
233
|
+
@if (editable() && group.key === 'before') {
|
|
234
|
+
<hm-icon-button
|
|
235
|
+
icon="unlink"
|
|
236
|
+
emphasis="subtle"
|
|
237
|
+
size="small"
|
|
238
|
+
[label]="removeLabel(task)"
|
|
239
|
+
[disabled]="disabled()"
|
|
240
|
+
(clicked)="remove.emit({ taskId: taskId(), dependsOn: task.id })"
|
|
241
|
+
/>
|
|
242
|
+
}
|
|
243
|
+
</li>
|
|
244
|
+
}
|
|
245
|
+
</ul>
|
|
246
|
+
} @else {
|
|
247
|
+
<p class="hm-task-dependencies__empty">{{ text().empty }}</p>
|
|
248
|
+
}
|
|
249
|
+
</div>
|
|
250
|
+
}
|
|
251
|
+
@if (editable()) {
|
|
252
|
+
<hm-combobox
|
|
253
|
+
class="hm-task-dependencies__add"
|
|
254
|
+
[label]="text().add"
|
|
255
|
+
[options]="candidates()"
|
|
256
|
+
[value]="''"
|
|
257
|
+
[error]="error()"
|
|
258
|
+
[disabled]="disabled()"
|
|
259
|
+
icon="link"
|
|
260
|
+
(valueChange)="choose($event)"
|
|
261
|
+
/>
|
|
262
|
+
}
|
|
263
263
|
`, isInline: true, dependencies: [{ kind: "component", type: ComboboxComponent, selector: "hm-combobox", inputs: ["label", "options", "value", "placeholder", "icon", "hint", "size", "labelHidden", "clearable", "loading", "allowCustomValue"], outputs: ["valueChange"] }, { kind: "component", type: IconButtonComponent, selector: "hm-icon-button", inputs: ["label", "icon", "solid", "iconDirection", "emphasis", "intent", "size", "disabled", "toggle", "pressed", "keyShortcuts"], outputs: ["pressedChange", "clicked"] }, { kind: "component", type: StatusBadgeComponent, selector: "hm-status-badge", inputs: ["status", "statuses", "size", "appearance", "texts"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
264
264
|
}
|
|
265
265
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.24", ngImport: i0, type: TaskDependenciesComponent, decorators: [{
|
|
@@ -269,54 +269,54 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.24", ngImpo
|
|
|
269
269
|
imports: [ComboboxComponent, IconButtonComponent, StatusBadgeComponent],
|
|
270
270
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
271
271
|
host: { class: 'hm-task-dependencies' },
|
|
272
|
-
template: `
|
|
273
|
-
@for (group of groups(); track group.key) {
|
|
274
|
-
<div class="hm-task-dependencies__group">
|
|
275
|
-
<span class="hm-task-dependencies__heading" [id]="id + '-' + group.key">{{ group.title }}</span>
|
|
276
|
-
@if (group.items.length) {
|
|
277
|
-
<ul class="hm-task-dependencies__list" role="list" [attr.aria-labelledby]="id + '-' + group.key">
|
|
278
|
-
@for (task of group.items; track task.id) {
|
|
279
|
-
<li class="hm-task-dependencies__item" [class.hm-task-dependencies__item--done]="task.done">
|
|
280
|
-
@if (task.key) {
|
|
281
|
-
<span class="hm-task-dependencies__key">{{ task.key }}</span>
|
|
282
|
-
}
|
|
283
|
-
<span class="hm-task-dependencies__title">{{ task.title }}</span>
|
|
284
|
-
@if (task.done) {
|
|
285
|
-
<span class="hm-visually-hidden">({{ text().done }})</span>
|
|
286
|
-
}
|
|
287
|
-
@if (task.status) {
|
|
288
|
-
<hm-status-badge [status]="task.status" [statuses]="statuses()" size="small" appearance="dot" />
|
|
289
|
-
}
|
|
290
|
-
@if (editable() && group.key === 'before') {
|
|
291
|
-
<hm-icon-button
|
|
292
|
-
icon="unlink"
|
|
293
|
-
emphasis="subtle"
|
|
294
|
-
size="small"
|
|
295
|
-
[label]="removeLabel(task)"
|
|
296
|
-
[disabled]="disabled()"
|
|
297
|
-
(clicked)="remove.emit({ taskId: taskId(), dependsOn: task.id })"
|
|
298
|
-
/>
|
|
299
|
-
}
|
|
300
|
-
</li>
|
|
301
|
-
}
|
|
302
|
-
</ul>
|
|
303
|
-
} @else {
|
|
304
|
-
<p class="hm-task-dependencies__empty">{{ text().empty }}</p>
|
|
305
|
-
}
|
|
306
|
-
</div>
|
|
307
|
-
}
|
|
308
|
-
@if (editable()) {
|
|
309
|
-
<hm-combobox
|
|
310
|
-
class="hm-task-dependencies__add"
|
|
311
|
-
[label]="text().add"
|
|
312
|
-
[options]="candidates()"
|
|
313
|
-
[value]="''"
|
|
314
|
-
[error]="error()"
|
|
315
|
-
[disabled]="disabled()"
|
|
316
|
-
icon="link"
|
|
317
|
-
(valueChange)="choose($event)"
|
|
318
|
-
/>
|
|
319
|
-
}
|
|
272
|
+
template: `
|
|
273
|
+
@for (group of groups(); track group.key) {
|
|
274
|
+
<div class="hm-task-dependencies__group">
|
|
275
|
+
<span class="hm-task-dependencies__heading" [id]="id + '-' + group.key">{{ group.title }}</span>
|
|
276
|
+
@if (group.items.length) {
|
|
277
|
+
<ul class="hm-task-dependencies__list" role="list" [attr.aria-labelledby]="id + '-' + group.key">
|
|
278
|
+
@for (task of group.items; track task.id) {
|
|
279
|
+
<li class="hm-task-dependencies__item" [class.hm-task-dependencies__item--done]="task.done">
|
|
280
|
+
@if (task.key) {
|
|
281
|
+
<span class="hm-task-dependencies__key">{{ task.key }}</span>
|
|
282
|
+
}
|
|
283
|
+
<span class="hm-task-dependencies__title">{{ task.title }}</span>
|
|
284
|
+
@if (task.done) {
|
|
285
|
+
<span class="hm-visually-hidden">({{ text().done }})</span>
|
|
286
|
+
}
|
|
287
|
+
@if (task.status) {
|
|
288
|
+
<hm-status-badge [status]="task.status" [statuses]="statuses()" size="small" appearance="dot" />
|
|
289
|
+
}
|
|
290
|
+
@if (editable() && group.key === 'before') {
|
|
291
|
+
<hm-icon-button
|
|
292
|
+
icon="unlink"
|
|
293
|
+
emphasis="subtle"
|
|
294
|
+
size="small"
|
|
295
|
+
[label]="removeLabel(task)"
|
|
296
|
+
[disabled]="disabled()"
|
|
297
|
+
(clicked)="remove.emit({ taskId: taskId(), dependsOn: task.id })"
|
|
298
|
+
/>
|
|
299
|
+
}
|
|
300
|
+
</li>
|
|
301
|
+
}
|
|
302
|
+
</ul>
|
|
303
|
+
} @else {
|
|
304
|
+
<p class="hm-task-dependencies__empty">{{ text().empty }}</p>
|
|
305
|
+
}
|
|
306
|
+
</div>
|
|
307
|
+
}
|
|
308
|
+
@if (editable()) {
|
|
309
|
+
<hm-combobox
|
|
310
|
+
class="hm-task-dependencies__add"
|
|
311
|
+
[label]="text().add"
|
|
312
|
+
[options]="candidates()"
|
|
313
|
+
[value]="''"
|
|
314
|
+
[error]="error()"
|
|
315
|
+
[disabled]="disabled()"
|
|
316
|
+
icon="link"
|
|
317
|
+
(valueChange)="choose($event)"
|
|
318
|
+
/>
|
|
319
|
+
}
|
|
320
320
|
`,
|
|
321
321
|
}]
|
|
322
322
|
}], propDecorators: { taskId: [{ type: i0.Input, args: [{ isSignal: true, alias: "taskId", required: true }] }], tasks: [{ type: i0.Input, args: [{ isSignal: true, alias: "tasks", required: true }] }], statuses: [{ type: i0.Input, args: [{ isSignal: true, alias: "statuses", required: false }] }], editable: [{ type: i0.Input, args: [{ isSignal: true, alias: "editable", required: false }] }], disabled: [{ type: i0.Input, args: [{ isSignal: true, alias: "disabled", required: false }] }], add: [{ type: i0.Output, args: ["add"] }], remove: [{ type: i0.Output, args: ["remove"] }], texts: [{ type: i0.Input, args: [{ isSignal: true, alias: "texts", required: false }] }] } });
|
|
@@ -408,31 +408,31 @@ class TaskEditorComponent {
|
|
|
408
408
|
});
|
|
409
409
|
}
|
|
410
410
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.24", ngImport: i0, type: TaskEditorComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
411
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.24", type: TaskEditorComponent, isStandalone: true, selector: "hm-task-editor", inputs: { task: { classPropertyName: "task", publicName: "task", isSignal: true, isRequired: false, transformFunction: null }, statuses: { classPropertyName: "statuses", publicName: "statuses", isSignal: true, isRequired: false, transformFunction: null }, people: { classPropertyName: "people", publicName: "people", isSignal: true, isRequired: false, transformFunction: null }, priorityScale: { classPropertyName: "priorityScale", publicName: "priorityScale", isSignal: true, isRequired: false, transformFunction: null }, me: { classPropertyName: "me", publicName: "me", isSignal: true, isRequired: false, transformFunction: null }, texts: { classPropertyName: "texts", publicName: "texts", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { save: "save", cancel: "cancel" }, host: { classAttribute: "hm-task-editor" }, ngImport: i0, template: `
|
|
412
|
-
<form class="hm-task-editor__form" (submit)="submit($event)" novalidate>
|
|
413
|
-
<hm-input class="hm-task-editor__title" [label]="fields().title" required [error]="titleError()" [(value)]="title" />
|
|
414
|
-
<hm-textarea [label]="fields().description" [rows]="4" autoGrow [(value)]="description" />
|
|
415
|
-
<div class="hm-task-editor__grid">
|
|
416
|
-
@if (statuses().length) {
|
|
417
|
-
<hm-select [label]="fields().status" [value]="status() ?? ''" (valueChange)="status.set($event || null)">
|
|
418
|
-
@for (s of statuses(); track s.id) {
|
|
419
|
-
<option [value]="s.id">{{ s.label }}</option>
|
|
420
|
-
}
|
|
421
|
-
</hm-select>
|
|
422
|
-
}
|
|
423
|
-
<hm-level-select [scale]="priorityScale()" [label]="fields().priority" allowEmpty [value]="priority()" (valueChange)="priority.set($event || null)" />
|
|
424
|
-
@if (people().length) {
|
|
425
|
-
<hm-assignee-select [people]="people()" [label]="fields().assignee" [me]="me()" [(value)]="assigneeId" />
|
|
426
|
-
}
|
|
427
|
-
<hm-date-picker [label]="fields().start" [(value)]="start" />
|
|
428
|
-
<hm-date-picker [label]="fields().due" [min]="start()" [(value)]="due" />
|
|
429
|
-
<hm-input [label]="fields().estimate" type="number" [min]="0" [value]="estimateText()" (valueChange)="setEstimate($event)" />
|
|
430
|
-
</div>
|
|
431
|
-
<div class="hm-task-editor__actions">
|
|
432
|
-
<hm-button emphasis="medium" (clicked)="cancel.emit()">{{ text().cancel }}</hm-button>
|
|
433
|
-
<hm-button type="submit">{{ task() ? text().save : text().create }}</hm-button>
|
|
434
|
-
</div>
|
|
435
|
-
</form>
|
|
411
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.24", type: TaskEditorComponent, isStandalone: true, selector: "hm-task-editor", inputs: { task: { classPropertyName: "task", publicName: "task", isSignal: true, isRequired: false, transformFunction: null }, statuses: { classPropertyName: "statuses", publicName: "statuses", isSignal: true, isRequired: false, transformFunction: null }, people: { classPropertyName: "people", publicName: "people", isSignal: true, isRequired: false, transformFunction: null }, priorityScale: { classPropertyName: "priorityScale", publicName: "priorityScale", isSignal: true, isRequired: false, transformFunction: null }, me: { classPropertyName: "me", publicName: "me", isSignal: true, isRequired: false, transformFunction: null }, texts: { classPropertyName: "texts", publicName: "texts", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { save: "save", cancel: "cancel" }, host: { classAttribute: "hm-task-editor" }, ngImport: i0, template: `
|
|
412
|
+
<form class="hm-task-editor__form" (submit)="submit($event)" novalidate>
|
|
413
|
+
<hm-input class="hm-task-editor__title" [label]="fields().title" required [error]="titleError()" [(value)]="title" />
|
|
414
|
+
<hm-textarea [label]="fields().description" [rows]="4" autoGrow [(value)]="description" />
|
|
415
|
+
<div class="hm-task-editor__grid">
|
|
416
|
+
@if (statuses().length) {
|
|
417
|
+
<hm-select [label]="fields().status" [value]="status() ?? ''" (valueChange)="status.set($event || null)">
|
|
418
|
+
@for (s of statuses(); track s.id) {
|
|
419
|
+
<option [value]="s.id">{{ s.label }}</option>
|
|
420
|
+
}
|
|
421
|
+
</hm-select>
|
|
422
|
+
}
|
|
423
|
+
<hm-level-select [scale]="priorityScale()" [label]="fields().priority" allowEmpty [value]="priority()" (valueChange)="priority.set($event || null)" />
|
|
424
|
+
@if (people().length) {
|
|
425
|
+
<hm-assignee-select [people]="people()" [label]="fields().assignee" [me]="me()" [(value)]="assigneeId" />
|
|
426
|
+
}
|
|
427
|
+
<hm-date-picker [label]="fields().start" [(value)]="start" />
|
|
428
|
+
<hm-date-picker [label]="fields().due" [min]="start()" [(value)]="due" />
|
|
429
|
+
<hm-input [label]="fields().estimate" type="number" [min]="0" [value]="estimateText()" (valueChange)="setEstimate($event)" />
|
|
430
|
+
</div>
|
|
431
|
+
<div class="hm-task-editor__actions">
|
|
432
|
+
<hm-button emphasis="medium" (clicked)="cancel.emit()">{{ text().cancel }}</hm-button>
|
|
433
|
+
<hm-button type="submit">{{ task() ? text().save : text().create }}</hm-button>
|
|
434
|
+
</div>
|
|
435
|
+
</form>
|
|
436
436
|
`, isInline: true, dependencies: [{ kind: "component", type: InputComponent, selector: "hm-input", inputs: ["value", "label", "type", "placeholder", "icon", "labelHidden", "hint", "prefix", "suffix", "prefixIcon", "mask", "maskValue", "min", "max", "step", "stepButtons", "maxLength", "autocomplete", "inputMode"], outputs: ["valueChange"] }, { kind: "component", type: TextareaComponent, selector: "hm-textarea", inputs: ["value", "label", "hint", "placeholder", "maxLength", "rows", "autoGrow", "labelHidden", "loading", "maxRows", "submitKey", "mentionCandidates", "mentionTrigger", "texts"], outputs: ["valueChange", "submitted", "mentioned"] }, { kind: "component", type: SelectComponent, selector: "hm-select", inputs: ["value", "label", "labelHidden", "hint"], outputs: ["valueChange"] }, { kind: "component", type: DatePickerComponent, selector: "hm-date-picker", inputs: ["value", "label", "labelHidden", "hint", "placeholder", "min", "max", "valueFormat"], outputs: ["valueChange"] }, { kind: "component", type: ButtonComponent, selector: "hm-button", inputs: ["emphasis", "intent", "size", "type", "icon", "iconDirection", "iconEnd", "disabled", "loading", "loadingState", "block", "link", "newTab", "caret", "inMenu", "toggle", "pressed"], outputs: ["loadingStateChange", "pressedChange", "clicked"] }, { kind: "component", type: LevelSelectComponent, selector: "hm-level-select", inputs: ["scale", "value", "label", "hint", "appearance", "allowEmpty", "disabled", "texts"], outputs: ["valueChange"] }, { kind: "component", type: AssigneeSelectComponent, selector: "hm-assignee-select", inputs: ["people", "value", "label", "hint", "error", "allowUnassigned", "me", "disabled", "required", "texts"], outputs: ["valueChange", "assign"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
437
437
|
}
|
|
438
438
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.24", ngImport: i0, type: TaskEditorComponent, decorators: [{
|
|
@@ -442,31 +442,31 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.24", ngImpo
|
|
|
442
442
|
imports: [InputComponent, TextareaComponent, SelectComponent, DatePickerComponent, ButtonComponent, LevelSelectComponent, AssigneeSelectComponent],
|
|
443
443
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
444
444
|
host: { class: 'hm-task-editor' },
|
|
445
|
-
template: `
|
|
446
|
-
<form class="hm-task-editor__form" (submit)="submit($event)" novalidate>
|
|
447
|
-
<hm-input class="hm-task-editor__title" [label]="fields().title" required [error]="titleError()" [(value)]="title" />
|
|
448
|
-
<hm-textarea [label]="fields().description" [rows]="4" autoGrow [(value)]="description" />
|
|
449
|
-
<div class="hm-task-editor__grid">
|
|
450
|
-
@if (statuses().length) {
|
|
451
|
-
<hm-select [label]="fields().status" [value]="status() ?? ''" (valueChange)="status.set($event || null)">
|
|
452
|
-
@for (s of statuses(); track s.id) {
|
|
453
|
-
<option [value]="s.id">{{ s.label }}</option>
|
|
454
|
-
}
|
|
455
|
-
</hm-select>
|
|
456
|
-
}
|
|
457
|
-
<hm-level-select [scale]="priorityScale()" [label]="fields().priority" allowEmpty [value]="priority()" (valueChange)="priority.set($event || null)" />
|
|
458
|
-
@if (people().length) {
|
|
459
|
-
<hm-assignee-select [people]="people()" [label]="fields().assignee" [me]="me()" [(value)]="assigneeId" />
|
|
460
|
-
}
|
|
461
|
-
<hm-date-picker [label]="fields().start" [(value)]="start" />
|
|
462
|
-
<hm-date-picker [label]="fields().due" [min]="start()" [(value)]="due" />
|
|
463
|
-
<hm-input [label]="fields().estimate" type="number" [min]="0" [value]="estimateText()" (valueChange)="setEstimate($event)" />
|
|
464
|
-
</div>
|
|
465
|
-
<div class="hm-task-editor__actions">
|
|
466
|
-
<hm-button emphasis="medium" (clicked)="cancel.emit()">{{ text().cancel }}</hm-button>
|
|
467
|
-
<hm-button type="submit">{{ task() ? text().save : text().create }}</hm-button>
|
|
468
|
-
</div>
|
|
469
|
-
</form>
|
|
445
|
+
template: `
|
|
446
|
+
<form class="hm-task-editor__form" (submit)="submit($event)" novalidate>
|
|
447
|
+
<hm-input class="hm-task-editor__title" [label]="fields().title" required [error]="titleError()" [(value)]="title" />
|
|
448
|
+
<hm-textarea [label]="fields().description" [rows]="4" autoGrow [(value)]="description" />
|
|
449
|
+
<div class="hm-task-editor__grid">
|
|
450
|
+
@if (statuses().length) {
|
|
451
|
+
<hm-select [label]="fields().status" [value]="status() ?? ''" (valueChange)="status.set($event || null)">
|
|
452
|
+
@for (s of statuses(); track s.id) {
|
|
453
|
+
<option [value]="s.id">{{ s.label }}</option>
|
|
454
|
+
}
|
|
455
|
+
</hm-select>
|
|
456
|
+
}
|
|
457
|
+
<hm-level-select [scale]="priorityScale()" [label]="fields().priority" allowEmpty [value]="priority()" (valueChange)="priority.set($event || null)" />
|
|
458
|
+
@if (people().length) {
|
|
459
|
+
<hm-assignee-select [people]="people()" [label]="fields().assignee" [me]="me()" [(value)]="assigneeId" />
|
|
460
|
+
}
|
|
461
|
+
<hm-date-picker [label]="fields().start" [(value)]="start" />
|
|
462
|
+
<hm-date-picker [label]="fields().due" [min]="start()" [(value)]="due" />
|
|
463
|
+
<hm-input [label]="fields().estimate" type="number" [min]="0" [value]="estimateText()" (valueChange)="setEstimate($event)" />
|
|
464
|
+
</div>
|
|
465
|
+
<div class="hm-task-editor__actions">
|
|
466
|
+
<hm-button emphasis="medium" (clicked)="cancel.emit()">{{ text().cancel }}</hm-button>
|
|
467
|
+
<hm-button type="submit">{{ task() ? text().save : text().create }}</hm-button>
|
|
468
|
+
</div>
|
|
469
|
+
</form>
|
|
470
470
|
`,
|
|
471
471
|
}]
|
|
472
472
|
}], ctorParameters: () => [], propDecorators: { task: [{ type: i0.Input, args: [{ isSignal: true, alias: "task", required: false }] }], statuses: [{ type: i0.Input, args: [{ isSignal: true, alias: "statuses", required: false }] }], people: [{ type: i0.Input, args: [{ isSignal: true, alias: "people", required: false }] }], priorityScale: [{ type: i0.Input, args: [{ isSignal: true, alias: "priorityScale", required: false }] }], me: [{ type: i0.Input, args: [{ isSignal: true, alias: "me", required: false }] }], save: [{ type: i0.Output, args: ["save"] }], cancel: [{ type: i0.Output, args: ["cancel"] }], texts: [{ type: i0.Input, args: [{ isSignal: true, alias: "texts", required: false }] }] } });
|
|
@@ -520,99 +520,99 @@ class TaskDetailComponent {
|
|
|
520
520
|
subtasksTitle = computed(() => this.#messages.tasks.subtasks.label, ...(ngDevMode ? [{ debugName: "subtasksTitle" }] : /* istanbul ignore next */ []));
|
|
521
521
|
dependenciesTitle = computed(() => this.#messages.tasks.dependencies.label, ...(ngDevMode ? [{ debugName: "dependenciesTitle" }] : /* istanbul ignore next */ []));
|
|
522
522
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.24", ngImport: i0, type: TaskDetailComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
523
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.24", type: TaskDetailComponent, isStandalone: true, selector: "hm-task-detail", inputs: { task: { classPropertyName: "task", publicName: "task", isSignal: true, isRequired: true, transformFunction: null }, workflow: { classPropertyName: "workflow", publicName: "workflow", isSignal: true, isRequired: false, transformFunction: null }, tasks: { classPropertyName: "tasks", publicName: "tasks", isSignal: true, isRequired: false, transformFunction: null }, history: { classPropertyName: "history", publicName: "history", isSignal: true, isRequired: false, transformFunction: null }, priorityScale: { classPropertyName: "priorityScale", publicName: "priorityScale", isSignal: true, isRequired: false, transformFunction: null }, editable: { classPropertyName: "editable", publicName: "editable", isSignal: true, isRequired: false, transformFunction: null }, headingLevel: { classPropertyName: "headingLevel", publicName: "headingLevel", isSignal: true, isRequired: false, transformFunction: null }, now: { classPropertyName: "now", publicName: "now", isSignal: true, isRequired: false, transformFunction: null }, texts: { classPropertyName: "texts", publicName: "texts", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { statusChange: "statusChange", subtasksChange: "subtasksChange", dependencyAdd: "dependencyAdd", dependencyRemove: "dependencyRemove", edit: "edit" }, host: { classAttribute: "hm-task-detail" }, ngImport: i0, template: `
|
|
524
|
-
<div class="hm-task-detail__header">
|
|
525
|
-
<div class="hm-task-detail__heading">
|
|
526
|
-
@if (task().key) {
|
|
527
|
-
<span class="hm-task-detail__key">{{ task().key }}</span>
|
|
528
|
-
}
|
|
529
|
-
<span class="hm-task-detail__title" role="heading" [attr.aria-level]="headingLevel()">{{ task().title }}</span>
|
|
530
|
-
</div>
|
|
531
|
-
<div class="hm-task-detail__header-actions">
|
|
532
|
-
@if (workflow(); as workflow) {
|
|
533
|
-
<hm-status-select [definition]="workflow" [value]="task().status ?? null" [apply]="false" [disabled]="!editable()" (transition)="statusChange.emit($event)" />
|
|
534
|
-
} @else if (task().status) {
|
|
535
|
-
<hm-status-badge [status]="task().status" />
|
|
536
|
-
}
|
|
537
|
-
@if (editable()) {
|
|
538
|
-
<hm-button emphasis="medium" icon="pencil" (clicked)="edit.emit()">{{ text().edit }}</hm-button>
|
|
539
|
-
}
|
|
540
|
-
</div>
|
|
541
|
-
</div>
|
|
542
|
-
|
|
543
|
-
<dl class="hm-task-detail__properties" [attr.aria-label]="text().properties">
|
|
544
|
-
<div class="hm-task-detail__property">
|
|
545
|
-
<dt>{{ fields().assignee }}</dt>
|
|
546
|
-
<dd><hm-assignee [assignee]="task().assignee ?? null" /></dd>
|
|
547
|
-
</div>
|
|
548
|
-
@if (task().priority) {
|
|
549
|
-
<div class="hm-task-detail__property">
|
|
550
|
-
<dt>{{ fields().priority }}</dt>
|
|
551
|
-
<dd><hm-level-badge [scale]="priorityScale()" [value]="task().priority" /></dd>
|
|
552
|
-
</div>
|
|
553
|
-
}
|
|
554
|
-
@if (task().due) {
|
|
555
|
-
<div class="hm-task-detail__property">
|
|
556
|
-
<dt>{{ fields().due }}</dt>
|
|
557
|
-
<dd><hm-deadline [due]="task().due" [now]="now()" /> <span class="hm-task-detail__date">{{ dueText() }}</span></dd>
|
|
558
|
-
</div>
|
|
559
|
-
}
|
|
560
|
-
@if (startText()) {
|
|
561
|
-
<div class="hm-task-detail__property">
|
|
562
|
-
<dt>{{ fields().start }}</dt>
|
|
563
|
-
<dd>{{ startText() }}</dd>
|
|
564
|
-
</div>
|
|
565
|
-
}
|
|
566
|
-
@if (task().estimate !== null && task().estimate !== undefined) {
|
|
567
|
-
<div class="hm-task-detail__property">
|
|
568
|
-
<dt>{{ fields().estimate }}</dt>
|
|
569
|
-
<dd>{{ estimateText() }}</dd>
|
|
570
|
-
</div>
|
|
571
|
-
}
|
|
572
|
-
@if (task().labels?.length) {
|
|
573
|
-
<div class="hm-task-detail__property">
|
|
574
|
-
<dt>{{ fields().labels }}</dt>
|
|
575
|
-
<dd class="hm-task-detail__labels">
|
|
576
|
-
@for (label of task().labels; track label.name) {
|
|
577
|
-
<hm-tag [name]="label.name" [color]="label.color ?? 'neutral'" />
|
|
578
|
-
}
|
|
579
|
-
</dd>
|
|
580
|
-
</div>
|
|
581
|
-
}
|
|
582
|
-
</dl>
|
|
583
|
-
|
|
584
|
-
<section class="hm-task-detail__section">
|
|
585
|
-
<span class="hm-task-detail__section-title" role="heading" [attr.aria-level]="headingLevel() + 1">{{ fields().description }}</span>
|
|
586
|
-
<p class="hm-task-detail__description">{{ task().description || text().noDescription }}</p>
|
|
587
|
-
</section>
|
|
588
|
-
|
|
589
|
-
@if (task().subtasks || editable()) {
|
|
590
|
-
<section class="hm-task-detail__section">
|
|
591
|
-
<span class="hm-task-detail__section-title" role="heading" [attr.aria-level]="headingLevel() + 1">{{ subtasksTitle() }}</span>
|
|
592
|
-
<hm-subtask-list [subtasks]="task().subtasks ?? []" [editable]="editable()" (subtasksChange)="subtasksChange.emit($event)" />
|
|
593
|
-
</section>
|
|
594
|
-
}
|
|
595
|
-
|
|
596
|
-
@if (tasks(); as tasks) {
|
|
597
|
-
<section class="hm-task-detail__section">
|
|
598
|
-
<span class="hm-task-detail__section-title" role="heading" [attr.aria-level]="headingLevel() + 1">{{ dependenciesTitle() }}</span>
|
|
599
|
-
<hm-task-dependencies
|
|
600
|
-
[taskId]="task().id"
|
|
601
|
-
[tasks]="tasks"
|
|
602
|
-
[statuses]="workflow()?.statuses ?? []"
|
|
603
|
-
[editable]="editable()"
|
|
604
|
-
(add)="dependencyAdd.emit($event)"
|
|
605
|
-
(remove)="dependencyRemove.emit($event)"
|
|
606
|
-
/>
|
|
607
|
-
</section>
|
|
608
|
-
}
|
|
609
|
-
|
|
610
|
-
@if (history(); as history) {
|
|
611
|
-
<section class="hm-task-detail__section">
|
|
612
|
-
<span class="hm-task-detail__section-title" role="heading" [attr.aria-level]="headingLevel() + 1">{{ text().history }}</span>
|
|
613
|
-
<hm-change-history [entries]="history" [statuses]="workflow()?.statuses ?? []" />
|
|
614
|
-
</section>
|
|
615
|
-
}
|
|
523
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.24", type: TaskDetailComponent, isStandalone: true, selector: "hm-task-detail", inputs: { task: { classPropertyName: "task", publicName: "task", isSignal: true, isRequired: true, transformFunction: null }, workflow: { classPropertyName: "workflow", publicName: "workflow", isSignal: true, isRequired: false, transformFunction: null }, tasks: { classPropertyName: "tasks", publicName: "tasks", isSignal: true, isRequired: false, transformFunction: null }, history: { classPropertyName: "history", publicName: "history", isSignal: true, isRequired: false, transformFunction: null }, priorityScale: { classPropertyName: "priorityScale", publicName: "priorityScale", isSignal: true, isRequired: false, transformFunction: null }, editable: { classPropertyName: "editable", publicName: "editable", isSignal: true, isRequired: false, transformFunction: null }, headingLevel: { classPropertyName: "headingLevel", publicName: "headingLevel", isSignal: true, isRequired: false, transformFunction: null }, now: { classPropertyName: "now", publicName: "now", isSignal: true, isRequired: false, transformFunction: null }, texts: { classPropertyName: "texts", publicName: "texts", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { statusChange: "statusChange", subtasksChange: "subtasksChange", dependencyAdd: "dependencyAdd", dependencyRemove: "dependencyRemove", edit: "edit" }, host: { classAttribute: "hm-task-detail" }, ngImport: i0, template: `
|
|
524
|
+
<div class="hm-task-detail__header">
|
|
525
|
+
<div class="hm-task-detail__heading">
|
|
526
|
+
@if (task().key) {
|
|
527
|
+
<span class="hm-task-detail__key">{{ task().key }}</span>
|
|
528
|
+
}
|
|
529
|
+
<span class="hm-task-detail__title" role="heading" [attr.aria-level]="headingLevel()">{{ task().title }}</span>
|
|
530
|
+
</div>
|
|
531
|
+
<div class="hm-task-detail__header-actions">
|
|
532
|
+
@if (workflow(); as workflow) {
|
|
533
|
+
<hm-status-select [definition]="workflow" [value]="task().status ?? null" [apply]="false" [disabled]="!editable()" (transition)="statusChange.emit($event)" />
|
|
534
|
+
} @else if (task().status) {
|
|
535
|
+
<hm-status-badge [status]="task().status" />
|
|
536
|
+
}
|
|
537
|
+
@if (editable()) {
|
|
538
|
+
<hm-button emphasis="medium" icon="pencil" (clicked)="edit.emit()">{{ text().edit }}</hm-button>
|
|
539
|
+
}
|
|
540
|
+
</div>
|
|
541
|
+
</div>
|
|
542
|
+
|
|
543
|
+
<dl class="hm-task-detail__properties" [attr.aria-label]="text().properties">
|
|
544
|
+
<div class="hm-task-detail__property">
|
|
545
|
+
<dt>{{ fields().assignee }}</dt>
|
|
546
|
+
<dd><hm-assignee [assignee]="task().assignee ?? null" /></dd>
|
|
547
|
+
</div>
|
|
548
|
+
@if (task().priority) {
|
|
549
|
+
<div class="hm-task-detail__property">
|
|
550
|
+
<dt>{{ fields().priority }}</dt>
|
|
551
|
+
<dd><hm-level-badge [scale]="priorityScale()" [value]="task().priority" /></dd>
|
|
552
|
+
</div>
|
|
553
|
+
}
|
|
554
|
+
@if (task().due) {
|
|
555
|
+
<div class="hm-task-detail__property">
|
|
556
|
+
<dt>{{ fields().due }}</dt>
|
|
557
|
+
<dd><hm-deadline [due]="task().due" [now]="now()" /> <span class="hm-task-detail__date">{{ dueText() }}</span></dd>
|
|
558
|
+
</div>
|
|
559
|
+
}
|
|
560
|
+
@if (startText()) {
|
|
561
|
+
<div class="hm-task-detail__property">
|
|
562
|
+
<dt>{{ fields().start }}</dt>
|
|
563
|
+
<dd>{{ startText() }}</dd>
|
|
564
|
+
</div>
|
|
565
|
+
}
|
|
566
|
+
@if (task().estimate !== null && task().estimate !== undefined) {
|
|
567
|
+
<div class="hm-task-detail__property">
|
|
568
|
+
<dt>{{ fields().estimate }}</dt>
|
|
569
|
+
<dd>{{ estimateText() }}</dd>
|
|
570
|
+
</div>
|
|
571
|
+
}
|
|
572
|
+
@if (task().labels?.length) {
|
|
573
|
+
<div class="hm-task-detail__property">
|
|
574
|
+
<dt>{{ fields().labels }}</dt>
|
|
575
|
+
<dd class="hm-task-detail__labels">
|
|
576
|
+
@for (label of task().labels; track label.name) {
|
|
577
|
+
<hm-tag [name]="label.name" [color]="label.color ?? 'neutral'" />
|
|
578
|
+
}
|
|
579
|
+
</dd>
|
|
580
|
+
</div>
|
|
581
|
+
}
|
|
582
|
+
</dl>
|
|
583
|
+
|
|
584
|
+
<section class="hm-task-detail__section">
|
|
585
|
+
<span class="hm-task-detail__section-title" role="heading" [attr.aria-level]="headingLevel() + 1">{{ fields().description }}</span>
|
|
586
|
+
<p class="hm-task-detail__description">{{ task().description || text().noDescription }}</p>
|
|
587
|
+
</section>
|
|
588
|
+
|
|
589
|
+
@if (task().subtasks || editable()) {
|
|
590
|
+
<section class="hm-task-detail__section">
|
|
591
|
+
<span class="hm-task-detail__section-title" role="heading" [attr.aria-level]="headingLevel() + 1">{{ subtasksTitle() }}</span>
|
|
592
|
+
<hm-subtask-list [subtasks]="task().subtasks ?? []" [editable]="editable()" (subtasksChange)="subtasksChange.emit($event)" />
|
|
593
|
+
</section>
|
|
594
|
+
}
|
|
595
|
+
|
|
596
|
+
@if (tasks(); as tasks) {
|
|
597
|
+
<section class="hm-task-detail__section">
|
|
598
|
+
<span class="hm-task-detail__section-title" role="heading" [attr.aria-level]="headingLevel() + 1">{{ dependenciesTitle() }}</span>
|
|
599
|
+
<hm-task-dependencies
|
|
600
|
+
[taskId]="task().id"
|
|
601
|
+
[tasks]="tasks"
|
|
602
|
+
[statuses]="workflow()?.statuses ?? []"
|
|
603
|
+
[editable]="editable()"
|
|
604
|
+
(add)="dependencyAdd.emit($event)"
|
|
605
|
+
(remove)="dependencyRemove.emit($event)"
|
|
606
|
+
/>
|
|
607
|
+
</section>
|
|
608
|
+
}
|
|
609
|
+
|
|
610
|
+
@if (history(); as history) {
|
|
611
|
+
<section class="hm-task-detail__section">
|
|
612
|
+
<span class="hm-task-detail__section-title" role="heading" [attr.aria-level]="headingLevel() + 1">{{ text().history }}</span>
|
|
613
|
+
<hm-change-history [entries]="history" [statuses]="workflow()?.statuses ?? []" />
|
|
614
|
+
</section>
|
|
615
|
+
}
|
|
616
616
|
`, isInline: true, dependencies: [{ kind: "component", type: ButtonComponent, selector: "hm-button", inputs: ["emphasis", "intent", "size", "type", "icon", "iconDirection", "iconEnd", "disabled", "loading", "loadingState", "block", "link", "newTab", "caret", "inMenu", "toggle", "pressed"], outputs: ["loadingStateChange", "pressedChange", "clicked"] }, { kind: "component", type: TagComponent, selector: "hm-tag", inputs: ["name", "color", "compact"] }, { kind: "component", type: StatusBadgeComponent, selector: "hm-status-badge", inputs: ["status", "statuses", "size", "appearance", "texts"] }, { kind: "component", type: StatusSelectComponent, selector: "hm-status-select", inputs: ["definition", "value", "label", "size", "disabled", "apply", "texts"], outputs: ["valueChange", "transition"] }, { kind: "component", type: LevelBadgeComponent, selector: "hm-level-badge", inputs: ["scale", "value", "compact", "showScale", "texts"] }, { kind: "component", type: AssigneeComponent, selector: "hm-assignee", inputs: ["assignee", "size", "showDetail", "escalation", "reassignable", "escalatable", "maxEscalation", "texts"], outputs: ["reassign", "escalate"] }, { kind: "component", type: DeadlineComponent, selector: "hm-deadline", inputs: ["due", "completedAt", "variant", "soonHours", "now", "texts"], outputs: ["expired"] }, { kind: "component", type: ChangeHistoryComponent, selector: "hm-change-history", inputs: ["entries", "statuses", "order", "label", "dateFormat", "texts"] }, { kind: "component", type: SubtaskListComponent, selector: "hm-subtask-list", inputs: ["subtasks", "editable", "disabled", "label", "texts"], outputs: ["subtasksChange", "toggled", "added", "removed"] }, { kind: "component", type: TaskDependenciesComponent, selector: "hm-task-dependencies", inputs: ["taskId", "tasks", "statuses", "editable", "disabled", "texts"], outputs: ["add", "remove"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
617
617
|
}
|
|
618
618
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.24", ngImport: i0, type: TaskDetailComponent, decorators: [{
|
|
@@ -633,99 +633,99 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.24", ngImpo
|
|
|
633
633
|
],
|
|
634
634
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
635
635
|
host: { class: 'hm-task-detail' },
|
|
636
|
-
template: `
|
|
637
|
-
<div class="hm-task-detail__header">
|
|
638
|
-
<div class="hm-task-detail__heading">
|
|
639
|
-
@if (task().key) {
|
|
640
|
-
<span class="hm-task-detail__key">{{ task().key }}</span>
|
|
641
|
-
}
|
|
642
|
-
<span class="hm-task-detail__title" role="heading" [attr.aria-level]="headingLevel()">{{ task().title }}</span>
|
|
643
|
-
</div>
|
|
644
|
-
<div class="hm-task-detail__header-actions">
|
|
645
|
-
@if (workflow(); as workflow) {
|
|
646
|
-
<hm-status-select [definition]="workflow" [value]="task().status ?? null" [apply]="false" [disabled]="!editable()" (transition)="statusChange.emit($event)" />
|
|
647
|
-
} @else if (task().status) {
|
|
648
|
-
<hm-status-badge [status]="task().status" />
|
|
649
|
-
}
|
|
650
|
-
@if (editable()) {
|
|
651
|
-
<hm-button emphasis="medium" icon="pencil" (clicked)="edit.emit()">{{ text().edit }}</hm-button>
|
|
652
|
-
}
|
|
653
|
-
</div>
|
|
654
|
-
</div>
|
|
655
|
-
|
|
656
|
-
<dl class="hm-task-detail__properties" [attr.aria-label]="text().properties">
|
|
657
|
-
<div class="hm-task-detail__property">
|
|
658
|
-
<dt>{{ fields().assignee }}</dt>
|
|
659
|
-
<dd><hm-assignee [assignee]="task().assignee ?? null" /></dd>
|
|
660
|
-
</div>
|
|
661
|
-
@if (task().priority) {
|
|
662
|
-
<div class="hm-task-detail__property">
|
|
663
|
-
<dt>{{ fields().priority }}</dt>
|
|
664
|
-
<dd><hm-level-badge [scale]="priorityScale()" [value]="task().priority" /></dd>
|
|
665
|
-
</div>
|
|
666
|
-
}
|
|
667
|
-
@if (task().due) {
|
|
668
|
-
<div class="hm-task-detail__property">
|
|
669
|
-
<dt>{{ fields().due }}</dt>
|
|
670
|
-
<dd><hm-deadline [due]="task().due" [now]="now()" /> <span class="hm-task-detail__date">{{ dueText() }}</span></dd>
|
|
671
|
-
</div>
|
|
672
|
-
}
|
|
673
|
-
@if (startText()) {
|
|
674
|
-
<div class="hm-task-detail__property">
|
|
675
|
-
<dt>{{ fields().start }}</dt>
|
|
676
|
-
<dd>{{ startText() }}</dd>
|
|
677
|
-
</div>
|
|
678
|
-
}
|
|
679
|
-
@if (task().estimate !== null && task().estimate !== undefined) {
|
|
680
|
-
<div class="hm-task-detail__property">
|
|
681
|
-
<dt>{{ fields().estimate }}</dt>
|
|
682
|
-
<dd>{{ estimateText() }}</dd>
|
|
683
|
-
</div>
|
|
684
|
-
}
|
|
685
|
-
@if (task().labels?.length) {
|
|
686
|
-
<div class="hm-task-detail__property">
|
|
687
|
-
<dt>{{ fields().labels }}</dt>
|
|
688
|
-
<dd class="hm-task-detail__labels">
|
|
689
|
-
@for (label of task().labels; track label.name) {
|
|
690
|
-
<hm-tag [name]="label.name" [color]="label.color ?? 'neutral'" />
|
|
691
|
-
}
|
|
692
|
-
</dd>
|
|
693
|
-
</div>
|
|
694
|
-
}
|
|
695
|
-
</dl>
|
|
696
|
-
|
|
697
|
-
<section class="hm-task-detail__section">
|
|
698
|
-
<span class="hm-task-detail__section-title" role="heading" [attr.aria-level]="headingLevel() + 1">{{ fields().description }}</span>
|
|
699
|
-
<p class="hm-task-detail__description">{{ task().description || text().noDescription }}</p>
|
|
700
|
-
</section>
|
|
701
|
-
|
|
702
|
-
@if (task().subtasks || editable()) {
|
|
703
|
-
<section class="hm-task-detail__section">
|
|
704
|
-
<span class="hm-task-detail__section-title" role="heading" [attr.aria-level]="headingLevel() + 1">{{ subtasksTitle() }}</span>
|
|
705
|
-
<hm-subtask-list [subtasks]="task().subtasks ?? []" [editable]="editable()" (subtasksChange)="subtasksChange.emit($event)" />
|
|
706
|
-
</section>
|
|
707
|
-
}
|
|
708
|
-
|
|
709
|
-
@if (tasks(); as tasks) {
|
|
710
|
-
<section class="hm-task-detail__section">
|
|
711
|
-
<span class="hm-task-detail__section-title" role="heading" [attr.aria-level]="headingLevel() + 1">{{ dependenciesTitle() }}</span>
|
|
712
|
-
<hm-task-dependencies
|
|
713
|
-
[taskId]="task().id"
|
|
714
|
-
[tasks]="tasks"
|
|
715
|
-
[statuses]="workflow()?.statuses ?? []"
|
|
716
|
-
[editable]="editable()"
|
|
717
|
-
(add)="dependencyAdd.emit($event)"
|
|
718
|
-
(remove)="dependencyRemove.emit($event)"
|
|
719
|
-
/>
|
|
720
|
-
</section>
|
|
721
|
-
}
|
|
722
|
-
|
|
723
|
-
@if (history(); as history) {
|
|
724
|
-
<section class="hm-task-detail__section">
|
|
725
|
-
<span class="hm-task-detail__section-title" role="heading" [attr.aria-level]="headingLevel() + 1">{{ text().history }}</span>
|
|
726
|
-
<hm-change-history [entries]="history" [statuses]="workflow()?.statuses ?? []" />
|
|
727
|
-
</section>
|
|
728
|
-
}
|
|
636
|
+
template: `
|
|
637
|
+
<div class="hm-task-detail__header">
|
|
638
|
+
<div class="hm-task-detail__heading">
|
|
639
|
+
@if (task().key) {
|
|
640
|
+
<span class="hm-task-detail__key">{{ task().key }}</span>
|
|
641
|
+
}
|
|
642
|
+
<span class="hm-task-detail__title" role="heading" [attr.aria-level]="headingLevel()">{{ task().title }}</span>
|
|
643
|
+
</div>
|
|
644
|
+
<div class="hm-task-detail__header-actions">
|
|
645
|
+
@if (workflow(); as workflow) {
|
|
646
|
+
<hm-status-select [definition]="workflow" [value]="task().status ?? null" [apply]="false" [disabled]="!editable()" (transition)="statusChange.emit($event)" />
|
|
647
|
+
} @else if (task().status) {
|
|
648
|
+
<hm-status-badge [status]="task().status" />
|
|
649
|
+
}
|
|
650
|
+
@if (editable()) {
|
|
651
|
+
<hm-button emphasis="medium" icon="pencil" (clicked)="edit.emit()">{{ text().edit }}</hm-button>
|
|
652
|
+
}
|
|
653
|
+
</div>
|
|
654
|
+
</div>
|
|
655
|
+
|
|
656
|
+
<dl class="hm-task-detail__properties" [attr.aria-label]="text().properties">
|
|
657
|
+
<div class="hm-task-detail__property">
|
|
658
|
+
<dt>{{ fields().assignee }}</dt>
|
|
659
|
+
<dd><hm-assignee [assignee]="task().assignee ?? null" /></dd>
|
|
660
|
+
</div>
|
|
661
|
+
@if (task().priority) {
|
|
662
|
+
<div class="hm-task-detail__property">
|
|
663
|
+
<dt>{{ fields().priority }}</dt>
|
|
664
|
+
<dd><hm-level-badge [scale]="priorityScale()" [value]="task().priority" /></dd>
|
|
665
|
+
</div>
|
|
666
|
+
}
|
|
667
|
+
@if (task().due) {
|
|
668
|
+
<div class="hm-task-detail__property">
|
|
669
|
+
<dt>{{ fields().due }}</dt>
|
|
670
|
+
<dd><hm-deadline [due]="task().due" [now]="now()" /> <span class="hm-task-detail__date">{{ dueText() }}</span></dd>
|
|
671
|
+
</div>
|
|
672
|
+
}
|
|
673
|
+
@if (startText()) {
|
|
674
|
+
<div class="hm-task-detail__property">
|
|
675
|
+
<dt>{{ fields().start }}</dt>
|
|
676
|
+
<dd>{{ startText() }}</dd>
|
|
677
|
+
</div>
|
|
678
|
+
}
|
|
679
|
+
@if (task().estimate !== null && task().estimate !== undefined) {
|
|
680
|
+
<div class="hm-task-detail__property">
|
|
681
|
+
<dt>{{ fields().estimate }}</dt>
|
|
682
|
+
<dd>{{ estimateText() }}</dd>
|
|
683
|
+
</div>
|
|
684
|
+
}
|
|
685
|
+
@if (task().labels?.length) {
|
|
686
|
+
<div class="hm-task-detail__property">
|
|
687
|
+
<dt>{{ fields().labels }}</dt>
|
|
688
|
+
<dd class="hm-task-detail__labels">
|
|
689
|
+
@for (label of task().labels; track label.name) {
|
|
690
|
+
<hm-tag [name]="label.name" [color]="label.color ?? 'neutral'" />
|
|
691
|
+
}
|
|
692
|
+
</dd>
|
|
693
|
+
</div>
|
|
694
|
+
}
|
|
695
|
+
</dl>
|
|
696
|
+
|
|
697
|
+
<section class="hm-task-detail__section">
|
|
698
|
+
<span class="hm-task-detail__section-title" role="heading" [attr.aria-level]="headingLevel() + 1">{{ fields().description }}</span>
|
|
699
|
+
<p class="hm-task-detail__description">{{ task().description || text().noDescription }}</p>
|
|
700
|
+
</section>
|
|
701
|
+
|
|
702
|
+
@if (task().subtasks || editable()) {
|
|
703
|
+
<section class="hm-task-detail__section">
|
|
704
|
+
<span class="hm-task-detail__section-title" role="heading" [attr.aria-level]="headingLevel() + 1">{{ subtasksTitle() }}</span>
|
|
705
|
+
<hm-subtask-list [subtasks]="task().subtasks ?? []" [editable]="editable()" (subtasksChange)="subtasksChange.emit($event)" />
|
|
706
|
+
</section>
|
|
707
|
+
}
|
|
708
|
+
|
|
709
|
+
@if (tasks(); as tasks) {
|
|
710
|
+
<section class="hm-task-detail__section">
|
|
711
|
+
<span class="hm-task-detail__section-title" role="heading" [attr.aria-level]="headingLevel() + 1">{{ dependenciesTitle() }}</span>
|
|
712
|
+
<hm-task-dependencies
|
|
713
|
+
[taskId]="task().id"
|
|
714
|
+
[tasks]="tasks"
|
|
715
|
+
[statuses]="workflow()?.statuses ?? []"
|
|
716
|
+
[editable]="editable()"
|
|
717
|
+
(add)="dependencyAdd.emit($event)"
|
|
718
|
+
(remove)="dependencyRemove.emit($event)"
|
|
719
|
+
/>
|
|
720
|
+
</section>
|
|
721
|
+
}
|
|
722
|
+
|
|
723
|
+
@if (history(); as history) {
|
|
724
|
+
<section class="hm-task-detail__section">
|
|
725
|
+
<span class="hm-task-detail__section-title" role="heading" [attr.aria-level]="headingLevel() + 1">{{ text().history }}</span>
|
|
726
|
+
<hm-change-history [entries]="history" [statuses]="workflow()?.statuses ?? []" />
|
|
727
|
+
</section>
|
|
728
|
+
}
|
|
729
729
|
`,
|
|
730
730
|
}]
|
|
731
731
|
}], propDecorators: { task: [{ type: i0.Input, args: [{ isSignal: true, alias: "task", required: true }] }], workflow: [{ type: i0.Input, args: [{ isSignal: true, alias: "workflow", required: false }] }], tasks: [{ type: i0.Input, args: [{ isSignal: true, alias: "tasks", required: false }] }], history: [{ type: i0.Input, args: [{ isSignal: true, alias: "history", required: false }] }], priorityScale: [{ type: i0.Input, args: [{ isSignal: true, alias: "priorityScale", required: false }] }], editable: [{ type: i0.Input, args: [{ isSignal: true, alias: "editable", required: false }] }], headingLevel: [{ type: i0.Input, args: [{ isSignal: true, alias: "headingLevel", required: false }] }], now: [{ type: i0.Input, args: [{ isSignal: true, alias: "now", required: false }] }], statusChange: [{ type: i0.Output, args: ["statusChange"] }], subtasksChange: [{ type: i0.Output, args: ["subtasksChange"] }], dependencyAdd: [{ type: i0.Output, args: ["dependencyAdd"] }], dependencyRemove: [{ type: i0.Output, args: ["dependencyRemove"] }], edit: [{ type: i0.Output, args: ["edit"] }], texts: [{ type: i0.Input, args: [{ isSignal: true, alias: "texts", required: false }] }] } });
|