@trismegisto/angular 3.3.14 → 3.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +22 -4
- package/fesm2022/trismegisto-angular-access-control.mjs +21 -264
- package/fesm2022/trismegisto-angular-access-control.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-accordion.mjs +3 -39
- package/fesm2022/trismegisto-angular-accordion.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-account-avatar.mjs +2 -27
- package/fesm2022/trismegisto-angular-account-avatar.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-account-closure.mjs +8 -58
- package/fesm2022/trismegisto-angular-account-closure.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-account-forms.mjs +32 -235
- package/fesm2022/trismegisto-angular-account-forms.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-account-switcher.mjs +8 -44
- package/fesm2022/trismegisto-angular-account-switcher.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-address.mjs +28 -149
- package/fesm2022/trismegisto-angular-address.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-agent.mjs +26 -206
- package/fesm2022/trismegisto-angular-agent.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-alert-history.mjs +14 -77
- package/fesm2022/trismegisto-angular-alert-history.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-alert-rule-editor.mjs +17 -178
- package/fesm2022/trismegisto-angular-alert-rule-editor.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-alert.mjs +17 -53
- package/fesm2022/trismegisto-angular-alert.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-anchor-nav.mjs +4 -10
- package/fesm2022/trismegisto-angular-anchor-nav.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-api-exchange.mjs +11 -110
- package/fesm2022/trismegisto-angular-api-exchange.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-appointment-details.mjs +20 -181
- package/fesm2022/trismegisto-angular-appointment-details.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-approval.mjs +10 -36
- package/fesm2022/trismegisto-angular-approval.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-assignee.mjs +8 -24
- package/fesm2022/trismegisto-angular-assignee.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-attachment.mjs +22 -72
- package/fesm2022/trismegisto-angular-attachment.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-availability-editor.mjs +12 -97
- package/fesm2022/trismegisto-angular-availability-editor.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-avatar-group.mjs +3 -9
- package/fesm2022/trismegisto-angular-avatar-group.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-backlog.mjs +9 -31
- package/fesm2022/trismegisto-angular-backlog.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-billing.mjs +41 -276
- package/fesm2022/trismegisto-angular-billing.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-bottom-navigation.mjs +4 -19
- package/fesm2022/trismegisto-angular-bottom-navigation.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-bottom-sheet.mjs +25 -56
- package/fesm2022/trismegisto-angular-bottom-sheet.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-breadcrumb.mjs +9 -15
- package/fesm2022/trismegisto-angular-breadcrumb.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-bubble.mjs +5 -16
- package/fesm2022/trismegisto-angular-bubble.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-bulk-input.mjs +23 -97
- package/fesm2022/trismegisto-angular-bulk-input.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-button-group.mjs +3 -17
- package/fesm2022/trismegisto-angular-button-group.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-card-container.mjs +12 -27
- package/fesm2022/trismegisto-angular-card-container.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-carousel.mjs +16 -16
- package/fesm2022/trismegisto-angular-carousel.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-cart.mjs +26 -124
- package/fesm2022/trismegisto-angular-cart.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-cascader.mjs +40 -140
- package/fesm2022/trismegisto-angular-cascader.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-certificate-viewer.mjs +15 -92
- package/fesm2022/trismegisto-angular-certificate-viewer.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-change-history.mjs +3 -17
- package/fesm2022/trismegisto-angular-change-history.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-charts.mjs +796 -0
- package/fesm2022/trismegisto-angular-charts.mjs.map +1 -0
- package/fesm2022/trismegisto-angular-checkbox-group.mjs +3 -11
- package/fesm2022/trismegisto-angular-checkbox-group.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-chip.mjs +2 -7
- package/fesm2022/trismegisto-angular-chip.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-code-diff.mjs +47 -127
- package/fesm2022/trismegisto-angular-code-diff.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-code-input.mjs +5 -2
- package/fesm2022/trismegisto-angular-code-input.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-code-viewer.mjs +53 -356
- package/fesm2022/trismegisto-angular-code-viewer.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-color-picker.mjs +18 -48
- package/fesm2022/trismegisto-angular-color-picker.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-combobox-multi.mjs +5 -15
- package/fesm2022/trismegisto-angular-combobox-multi.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-combobox.mjs +50 -169
- package/fesm2022/trismegisto-angular-combobox.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-command-palette.mjs +56 -130
- package/fesm2022/trismegisto-angular-command-palette.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-commerce-format.mjs +4 -64
- package/fesm2022/trismegisto-angular-commerce-format.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-connection-wizard.mjs +10 -49
- package/fesm2022/trismegisto-angular-connection-wizard.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-consent.mjs +9 -82
- package/fesm2022/trismegisto-angular-consent.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-copy-button.mjs +5 -57
- package/fesm2022/trismegisto-angular-copy-button.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-credentials-form.mjs +16 -141
- package/fesm2022/trismegisto-angular-credentials-form.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-data-grid.mjs +223 -1107
- package/fesm2022/trismegisto-angular-data-grid.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-data-source-picker.mjs +11 -35
- package/fesm2022/trismegisto-angular-data-source-picker.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-date-picker.mjs +75 -155
- package/fesm2022/trismegisto-angular-date-picker.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-datetime-picker.mjs +17 -49
- package/fesm2022/trismegisto-angular-datetime-picker.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-deadline.mjs +38 -91
- package/fesm2022/trismegisto-angular-deadline.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-deploy-pipeline.mjs +19 -55
- package/fesm2022/trismegisto-angular-deploy-pipeline.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-description-list.mjs +11 -18
- package/fesm2022/trismegisto-angular-description-list.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-dialog.mjs +5 -16
- package/fesm2022/trismegisto-angular-dialog.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-direction.mjs +3 -17
- package/fesm2022/trismegisto-angular-direction.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-drag-drop.mjs +85 -624
- package/fesm2022/trismegisto-angular-drag-drop.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-drawer.mjs +18 -50
- package/fesm2022/trismegisto-angular-drawer.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-dropdown.mjs +4 -15
- package/fesm2022/trismegisto-angular-dropdown.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-dual-list.mjs +5 -7
- package/fesm2022/trismegisto-angular-dual-list.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-endpoint-card.mjs +7 -87
- package/fesm2022/trismegisto-angular-endpoint-card.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-entity-picker.mjs +12 -90
- package/fesm2022/trismegisto-angular-entity-picker.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-environment-picker.mjs +13 -50
- package/fesm2022/trismegisto-angular-environment-picker.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-event-calendar.mjs +42 -164
- package/fesm2022/trismegisto-angular-event-calendar.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-execution-status.mjs +16 -24
- package/fesm2022/trismegisto-angular-execution-status.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-fab.mjs +34 -58
- package/fesm2022/trismegisto-angular-fab.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-feature-flags.mjs +11 -73
- package/fesm2022/trismegisto-angular-feature-flags.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-field-mapping.mjs +19 -107
- package/fesm2022/trismegisto-angular-field-mapping.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-file-list.mjs +10 -137
- package/fesm2022/trismegisto-angular-file-list.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-file-permissions.mjs +16 -146
- package/fesm2022/trismegisto-angular-file-permissions.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-file-upload.mjs +26 -86
- package/fesm2022/trismegisto-angular-file-upload.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-file-versions.mjs +11 -64
- package/fesm2022/trismegisto-angular-file-versions.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-filter-bar.mjs +40 -76
- package/fesm2022/trismegisto-angular-filter-bar.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-finance.mjs +35 -280
- package/fesm2022/trismegisto-angular-finance.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-floating-window.mjs +28 -127
- package/fesm2022/trismegisto-angular-floating-window.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-form-error-summary.mjs +4 -22
- package/fesm2022/trismegisto-angular-form-error-summary.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-forms.mjs +14 -25
- package/fesm2022/trismegisto-angular-forms.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-gantt.mjs +25 -70
- package/fesm2022/trismegisto-angular-gantt.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-global-search.mjs +23 -85
- package/fesm2022/trismegisto-angular-global-search.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-header.mjs +9 -24
- package/fesm2022/trismegisto-angular-header.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-health-status.mjs +10 -85
- package/fesm2022/trismegisto-angular-health-status.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-i18n.mjs +27 -132
- package/fesm2022/trismegisto-angular-i18n.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-icon.mjs +6 -1
- package/fesm2022/trismegisto-angular-icon.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-identity-document.mjs +19 -94
- 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 +3 -23
- 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 +52 -358
- package/fesm2022/trismegisto-angular-image-crop.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-image-gallery.mjs +28 -94
- package/fesm2022/trismegisto-angular-image-gallery.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-incident.mjs +17 -113
- package/fesm2022/trismegisto-angular-incident.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-input.mjs +12 -73
- package/fesm2022/trismegisto-angular-input.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-integration-text.mjs +5 -61
- package/fesm2022/trismegisto-angular-integration-text.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-integration.mjs +17 -175
- package/fesm2022/trismegisto-angular-integration.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-invoice.mjs +12 -125
- package/fesm2022/trismegisto-angular-invoice.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-json-viewer.mjs +27 -168
- package/fesm2022/trismegisto-angular-json-viewer.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-kanban.mjs +15 -26
- package/fesm2022/trismegisto-angular-kanban.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-level-badge.mjs +6 -11
- package/fesm2022/trismegisto-angular-level-badge.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-list-editor.mjs +5 -18
- package/fesm2022/trismegisto-angular-list-editor.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-location-select.mjs +26 -47
- package/fesm2022/trismegisto-angular-location-select.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-log-viewer.mjs +13 -53
- package/fesm2022/trismegisto-angular-log-viewer.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-maintenance-window.mjs +10 -80
- package/fesm2022/trismegisto-angular-maintenance-window.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-map.mjs +2203 -0
- package/fesm2022/trismegisto-angular-map.mjs.map +1 -0
- package/fesm2022/trismegisto-angular-member-list.mjs +28 -76
- package/fesm2022/trismegisto-angular-member-list.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-menu-button.mjs +6 -6
- package/fesm2022/trismegisto-angular-menu-button.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-menu.mjs +45 -117
- package/fesm2022/trismegisto-angular-menu.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-menubar.mjs +6 -10
- package/fesm2022/trismegisto-angular-menubar.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-message-scroller.mjs +33 -167
- package/fesm2022/trismegisto-angular-message-scroller.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-message.mjs +7 -58
- package/fesm2022/trismegisto-angular-message.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-metric-explorer.mjs +12 -110
- package/fesm2022/trismegisto-angular-metric-explorer.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-modal.mjs +14 -39
- package/fesm2022/trismegisto-angular-modal.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-monitoring-text.mjs +5 -103
- package/fesm2022/trismegisto-angular-monitoring-text.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-month-picker.mjs +27 -72
- package/fesm2022/trismegisto-angular-month-picker.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-motion.mjs +39 -163
- package/fesm2022/trismegisto-angular-motion.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-navigation-menu.mjs +33 -134
- package/fesm2022/trismegisto-angular-navigation-menu.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-number-field.mjs +14 -48
- package/fesm2022/trismegisto-angular-number-field.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-observability-text.mjs +3 -236
- package/fesm2022/trismegisto-angular-observability-text.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-order.mjs +18 -126
- package/fesm2022/trismegisto-angular-order.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-org-chart.mjs +26 -123
- package/fesm2022/trismegisto-angular-org-chart.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-page-header.mjs +2 -4
- package/fesm2022/trismegisto-angular-page-header.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-paginator.mjs +20 -25
- package/fesm2022/trismegisto-angular-paginator.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-password-strength.mjs +4 -76
- package/fesm2022/trismegisto-angular-password-strength.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-payment-fields.mjs +18 -254
- package/fesm2022/trismegisto-angular-payment-fields.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-payment-form.mjs +19 -130
- package/fesm2022/trismegisto-angular-payment-form.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-payment-method.mjs +10 -122
- package/fesm2022/trismegisto-angular-payment-method.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-pdf-viewer.mjs +7 -41
- package/fesm2022/trismegisto-angular-pdf-viewer.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-permission-matrix.mjs +4 -34
- package/fesm2022/trismegisto-angular-permission-matrix.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-pipes.mjs +13 -101
- package/fesm2022/trismegisto-angular-pipes.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-popconfirm.mjs +11 -27
- package/fesm2022/trismegisto-angular-popconfirm.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-popover.mjs +61 -222
- package/fesm2022/trismegisto-angular-popover.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-price.mjs +16 -98
- package/fesm2022/trismegisto-angular-price.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-product.mjs +38 -132
- package/fesm2022/trismegisto-angular-product.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-progress.mjs +7 -25
- package/fesm2022/trismegisto-angular-progress.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-prompt-input.mjs +7 -52
- package/fesm2022/trismegisto-angular-prompt-input.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-prompt-suggestions.mjs +4 -12
- package/fesm2022/trismegisto-angular-prompt-suggestions.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-property-view.mjs +13 -14
- package/fesm2022/trismegisto-angular-property-view.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-questionnaire.mjs +28 -99
- package/fesm2022/trismegisto-angular-questionnaire.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-radio.mjs +4 -8
- package/fesm2022/trismegisto-angular-radio.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-rating.mjs +8 -28
- package/fesm2022/trismegisto-angular-rating.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-reason-dialog.mjs +4 -3
- package/fesm2022/trismegisto-angular-reason-dialog.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-recurrence-editor.mjs +21 -306
- package/fesm2022/trismegisto-angular-recurrence-editor.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-release-timeline.mjs +6 -46
- package/fesm2022/trismegisto-angular-release-timeline.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-reorder-list.mjs +7 -22
- package/fesm2022/trismegisto-angular-reorder-list.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-report-history.mjs +24 -177
- package/fesm2022/trismegisto-angular-report-history.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-report-schedule.mjs +19 -125
- package/fesm2022/trismegisto-angular-report-schedule.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-resource-calendar.mjs +14 -64
- package/fesm2022/trismegisto-angular-resource-calendar.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-resource-usage.mjs +9 -89
- package/fesm2022/trismegisto-angular-resource-usage.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-return-request.mjs +21 -107
- package/fesm2022/trismegisto-angular-return-request.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-rich-text.mjs +100 -1078
- package/fesm2022/trismegisto-angular-rich-text.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-risk-register.mjs +10 -55
- package/fesm2022/trismegisto-angular-risk-register.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-save-status.mjs +4 -34
- package/fesm2022/trismegisto-angular-save-status.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-search-field.mjs +11 -24
- package/fesm2022/trismegisto-angular-search-field.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-segmented-control.mjs +4 -26
- package/fesm2022/trismegisto-angular-segmented-control.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-service-map.mjs +24 -191
- package/fesm2022/trismegisto-angular-service-map.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-service-status.mjs +17 -57
- package/fesm2022/trismegisto-angular-service-status.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-session-recovery.mjs +3 -32
- package/fesm2022/trismegisto-angular-session-recovery.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-settings.mjs +26 -50
- package/fesm2022/trismegisto-angular-settings.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-shipping.mjs +11 -135
- package/fesm2022/trismegisto-angular-shipping.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-shortcut-list.mjs +30 -73
- package/fesm2022/trismegisto-angular-shortcut-list.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-sidebar.mjs +16 -39
- package/fesm2022/trismegisto-angular-sidebar.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-skip-link.mjs +4 -10
- package/fesm2022/trismegisto-angular-skip-link.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-sla-summary.mjs +10 -122
- package/fesm2022/trismegisto-angular-sla-summary.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-slider.mjs +16 -49
- package/fesm2022/trismegisto-angular-slider.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-slot-picker.mjs +31 -122
- package/fesm2022/trismegisto-angular-slot-picker.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-spine-audit.mjs +1123 -0
- package/fesm2022/trismegisto-angular-spine-audit.mjs.map +1 -0
- package/fesm2022/trismegisto-angular-spine-auto-service-apps.technical-eMYcFdZd.mjs +95 -0
- package/fesm2022/trismegisto-angular-spine-auto-service-apps.technical-eMYcFdZd.mjs.map +1 -0
- package/fesm2022/trismegisto-angular-spine-auto-service-apps.usage-C0F_MlCo.mjs +92 -0
- package/fesm2022/trismegisto-angular-spine-auto-service-apps.usage-C0F_MlCo.mjs.map +1 -0
- package/fesm2022/trismegisto-angular-spine-auto-service-audit.technical-DDNiWP35.mjs +43 -0
- package/fesm2022/trismegisto-angular-spine-auto-service-audit.technical-DDNiWP35.mjs.map +1 -0
- package/fesm2022/trismegisto-angular-spine-auto-service-audit.usage-IdXMruv5.mjs +64 -0
- package/fesm2022/trismegisto-angular-spine-auto-service-audit.usage-IdXMruv5.mjs.map +1 -0
- package/fesm2022/trismegisto-angular-spine-auto-service-auto-service-audit.component-CBXhh-iC.mjs +42 -0
- package/fesm2022/trismegisto-angular-spine-auto-service-auto-service-audit.component-CBXhh-iC.mjs.map +1 -0
- package/fesm2022/trismegisto-angular-spine-auto-service-auto-service-client-picker.component-B3rVvnJs.mjs +70 -0
- package/fesm2022/trismegisto-angular-spine-auto-service-auto-service-client-picker.component-B3rVvnJs.mjs.map +1 -0
- package/fesm2022/trismegisto-angular-spine-auto-service-auto-service-client.component-cxncrQTB.mjs +780 -0
- package/fesm2022/trismegisto-angular-spine-auto-service-auto-service-client.component-cxncrQTB.mjs.map +1 -0
- package/fesm2022/trismegisto-angular-spine-auto-service-auto-service-delete-CXDC4Og6.mjs +48 -0
- package/fesm2022/trismegisto-angular-spine-auto-service-auto-service-delete-CXDC4Og6.mjs.map +1 -0
- package/fesm2022/trismegisto-angular-spine-auto-service-auto-service-groups.component-C7j0R1RD.mjs +647 -0
- package/fesm2022/trismegisto-angular-spine-auto-service-auto-service-groups.component-C7j0R1RD.mjs.map +1 -0
- package/fesm2022/trismegisto-angular-spine-auto-service-auto-service-login-attempts.component-CZXKTG-H.mjs +41 -0
- package/fesm2022/trismegisto-angular-spine-auto-service-auto-service-login-attempts.component-CZXKTG-H.mjs.map +1 -0
- package/fesm2022/trismegisto-angular-spine-auto-service-auto-service-news-page.component-Dl-kjuul.mjs +368 -0
- package/fesm2022/trismegisto-angular-spine-auto-service-auto-service-news-page.component-Dl-kjuul.mjs.map +1 -0
- package/fesm2022/trismegisto-angular-spine-auto-service-auto-service-ratings-page.component-CX6tKCB3.mjs +575 -0
- package/fesm2022/trismegisto-angular-spine-auto-service-auto-service-ratings-page.component-CX6tKCB3.mjs.map +1 -0
- package/fesm2022/trismegisto-angular-spine-auto-service-auto-service-suggestions-page.component-D8Hi7H-I.mjs +3470 -0
- package/fesm2022/trismegisto-angular-spine-auto-service-auto-service-suggestions-page.component-D8Hi7H-I.mjs.map +1 -0
- package/fesm2022/trismegisto-angular-spine-auto-service-auto-service.component-Bu_Jz4TS.mjs +895 -0
- package/fesm2022/trismegisto-angular-spine-auto-service-auto-service.component-Bu_Jz4TS.mjs.map +1 -0
- package/fesm2022/trismegisto-angular-spine-auto-service-home.component-DFa8tG6V.mjs +149 -0
- package/fesm2022/trismegisto-angular-spine-auto-service-home.component-DFa8tG6V.mjs.map +1 -0
- package/fesm2022/trismegisto-angular-spine-auto-service-login-attempts.technical-CQkFtjaw.mjs +37 -0
- package/fesm2022/trismegisto-angular-spine-auto-service-login-attempts.technical-CQkFtjaw.mjs.map +1 -0
- package/fesm2022/trismegisto-angular-spine-auto-service-login-attempts.usage-BMgLNu7W.mjs +60 -0
- package/fesm2022/trismegisto-angular-spine-auto-service-login-attempts.usage-BMgLNu7W.mjs.map +1 -0
- package/fesm2022/trismegisto-angular-spine-auto-service-optional-id.validator-COEdvZMD.mjs +12 -0
- package/fesm2022/trismegisto-angular-spine-auto-service-optional-id.validator-COEdvZMD.mjs.map +1 -0
- package/fesm2022/trismegisto-angular-spine-auto-service.mjs +237 -0
- package/fesm2022/trismegisto-angular-spine-auto-service.mjs.map +1 -0
- package/fesm2022/trismegisto-angular-spine-graphql.mjs +181 -0
- package/fesm2022/trismegisto-angular-spine-graphql.mjs.map +1 -0
- package/fesm2022/trismegisto-angular-spine-layout-ai-agent-chat.component-BgV6hNNQ.mjs +503 -0
- package/fesm2022/trismegisto-angular-spine-layout-ai-agent-chat.component-BgV6hNNQ.mjs.map +1 -0
- package/fesm2022/trismegisto-angular-spine-layout-ai-agent-page.component-Dio9azFT.mjs +119 -0
- package/fesm2022/trismegisto-angular-spine-layout-ai-agent-page.component-Dio9azFT.mjs.map +1 -0
- package/fesm2022/trismegisto-angular-spine-layout-suggestions-page.component-CYcqjY8s.mjs +577 -0
- package/fesm2022/trismegisto-angular-spine-layout-suggestions-page.component-CYcqjY8s.mjs.map +1 -0
- package/fesm2022/trismegisto-angular-spine-layout-trismegisto-angular-spine-layout-CB0MMMrV.mjs +8678 -0
- package/fesm2022/trismegisto-angular-spine-layout-trismegisto-angular-spine-layout-CB0MMMrV.mjs.map +1 -0
- package/fesm2022/trismegisto-angular-spine-layout.mjs +2 -0
- package/fesm2022/trismegisto-angular-spine-layout.mjs.map +1 -0
- package/fesm2022/trismegisto-angular-spine-modal.mjs +143 -0
- package/fesm2022/trismegisto-angular-spine-modal.mjs.map +1 -0
- package/fesm2022/trismegisto-angular-spine-notification.mjs +74 -0
- package/fesm2022/trismegisto-angular-spine-notification.mjs.map +1 -0
- package/fesm2022/trismegisto-angular-spine-routing.mjs +317 -0
- package/fesm2022/trismegisto-angular-spine-routing.mjs.map +1 -0
- package/fesm2022/trismegisto-angular-spine-shell.mjs +409 -0
- package/fesm2022/trismegisto-angular-spine-shell.mjs.map +1 -0
- package/fesm2022/trismegisto-angular-spine-side-panel.mjs +143 -0
- package/fesm2022/trismegisto-angular-spine-side-panel.mjs.map +1 -0
- package/fesm2022/trismegisto-angular-spine.mjs +875 -0
- package/fesm2022/trismegisto-angular-spine.mjs.map +1 -0
- package/fesm2022/trismegisto-angular-split-button.mjs +10 -22
- package/fesm2022/trismegisto-angular-split-button.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-splitter.mjs +6 -15
- package/fesm2022/trismegisto-angular-splitter.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-state-page.mjs +11 -28
- package/fesm2022/trismegisto-angular-state-page.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-state-screen.mjs +3 -3
- package/fesm2022/trismegisto-angular-state-screen.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-status-badge.mjs +3 -21
- package/fesm2022/trismegisto-angular-status-badge.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-status-select.mjs +15 -31
- package/fesm2022/trismegisto-angular-status-select.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-stepper.mjs +5 -13
- package/fesm2022/trismegisto-angular-stepper.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-storage-usage.mjs +15 -74
- package/fesm2022/trismegisto-angular-storage-usage.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-swimlane-board.mjs +6 -33
- package/fesm2022/trismegisto-angular-swimlane-board.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-sync-status.mjs +24 -156
- package/fesm2022/trismegisto-angular-sync-status.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-tab-bar.mjs +14 -53
- package/fesm2022/trismegisto-angular-tab-bar.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-tabs.mjs +20 -66
- package/fesm2022/trismegisto-angular-tabs.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-tag-input.mjs +16 -64
- package/fesm2022/trismegisto-angular-tag-input.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-task-card.mjs +10 -9
- package/fesm2022/trismegisto-angular-task-card.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-task-detail.mjs +40 -68
- package/fesm2022/trismegisto-angular-task-detail.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-terminal.mjs +263 -0
- package/fesm2022/trismegisto-angular-terminal.mjs.map +1 -0
- package/fesm2022/trismegisto-angular-textarea.mjs +20 -88
- package/fesm2022/trismegisto-angular-textarea.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-theme-builder.mjs +17 -43
- package/fesm2022/trismegisto-angular-theme-builder.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-time-picker.mjs +28 -60
- package/fesm2022/trismegisto-angular-time-picker.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-time-range.mjs +12 -78
- package/fesm2022/trismegisto-angular-time-range.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-toast.mjs +19 -44
- package/fesm2022/trismegisto-angular-toast.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-toggle-group.mjs +10 -54
- package/fesm2022/trismegisto-angular-toggle-group.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-toggletip.mjs +7 -24
- package/fesm2022/trismegisto-angular-toggletip.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-toolbar.mjs +11 -109
- package/fesm2022/trismegisto-angular-toolbar.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-tooltip.mjs +22 -158
- package/fesm2022/trismegisto-angular-tooltip.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-tour.mjs +14 -59
- package/fesm2022/trismegisto-angular-tour.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-trace-waterfall.mjs +25 -155
- package/fesm2022/trismegisto-angular-trace-waterfall.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-trace.mjs +4 -31
- package/fesm2022/trismegisto-angular-trace.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-transaction.mjs +14 -170
- package/fesm2022/trismegisto-angular-transaction.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-tree-select.mjs +11 -72
- package/fesm2022/trismegisto-angular-tree-select.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-tree.mjs +135 -341
- package/fesm2022/trismegisto-angular-tree.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-unsaved-changes.mjs +16 -47
- package/fesm2022/trismegisto-angular-unsaved-changes.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-uptime-bar.mjs +14 -53
- package/fesm2022/trismegisto-angular-uptime-bar.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-user-card.mjs +4 -34
- package/fesm2022/trismegisto-angular-user-card.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-vehicle-plate.mjs +20 -87
- package/fesm2022/trismegisto-angular-vehicle-plate.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-webhook.mjs +23 -196
- package/fesm2022/trismegisto-angular-webhook.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-wizard.mjs +24 -45
- package/fesm2022/trismegisto-angular-wizard.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-workflow-diagram.mjs +12 -74
- package/fesm2022/trismegisto-angular-workflow-diagram.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-workflow-i18n.mjs +11 -852
- package/fesm2022/trismegisto-angular-workflow-i18n.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-workload.mjs +3 -3
- package/fesm2022/trismegisto-angular-workload.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-workspace-persistence.mjs +3 -41
- package/fesm2022/trismegisto-angular-workspace-persistence.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-workspace.mjs +12 -40
- package/fesm2022/trismegisto-angular-workspace.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-zoom.mjs +12 -24
- package/fesm2022/trismegisto-angular-zoom.mjs.map +1 -1
- package/package.json +102 -6
- package/spine/README.md +404 -0
- package/types/trismegisto-angular-access-control.d.ts +9 -84
- package/types/trismegisto-angular-access-control.d.ts.map +1 -1
- package/types/trismegisto-angular-accordion.d.ts +0 -5
- package/types/trismegisto-angular-accordion.d.ts.map +1 -1
- package/types/trismegisto-angular-account-avatar.d.ts +1 -7
- package/types/trismegisto-angular-account-avatar.d.ts.map +1 -1
- package/types/trismegisto-angular-account-closure.d.ts +4 -23
- package/types/trismegisto-angular-account-closure.d.ts.map +1 -1
- package/types/trismegisto-angular-account-forms.d.ts +6 -67
- package/types/trismegisto-angular-account-forms.d.ts.map +1 -1
- package/types/trismegisto-angular-account-switcher.d.ts +5 -20
- package/types/trismegisto-angular-account-switcher.d.ts.map +1 -1
- package/types/trismegisto-angular-address.d.ts +5 -49
- package/types/trismegisto-angular-address.d.ts.map +1 -1
- package/types/trismegisto-angular-agent.d.ts +45 -124
- package/types/trismegisto-angular-agent.d.ts.map +1 -1
- package/types/trismegisto-angular-alert-history.d.ts +12 -38
- package/types/trismegisto-angular-alert-history.d.ts.map +1 -1
- package/types/trismegisto-angular-alert-rule-editor.d.ts +8 -46
- package/types/trismegisto-angular-alert-rule-editor.d.ts.map +1 -1
- package/types/trismegisto-angular-alert.d.ts.map +1 -1
- package/types/trismegisto-angular-anchor-nav.d.ts +4 -16
- package/types/trismegisto-angular-anchor-nav.d.ts.map +1 -1
- package/types/trismegisto-angular-api-exchange.d.ts +3 -10
- package/types/trismegisto-angular-api-exchange.d.ts.map +1 -1
- package/types/trismegisto-angular-appointment-details.d.ts +5 -11
- package/types/trismegisto-angular-appointment-details.d.ts.map +1 -1
- package/types/trismegisto-angular-approval.d.ts +5 -19
- package/types/trismegisto-angular-approval.d.ts.map +1 -1
- package/types/trismegisto-angular-assignee.d.ts +2 -1
- package/types/trismegisto-angular-assignee.d.ts.map +1 -1
- package/types/trismegisto-angular-attachment.d.ts +2 -8
- package/types/trismegisto-angular-attachment.d.ts.map +1 -1
- package/types/trismegisto-angular-availability-editor.d.ts +6 -22
- package/types/trismegisto-angular-availability-editor.d.ts.map +1 -1
- package/types/trismegisto-angular-avatar-group.d.ts +2 -5
- package/types/trismegisto-angular-avatar-group.d.ts.map +1 -1
- package/types/trismegisto-angular-backlog.d.ts +4 -10
- package/types/trismegisto-angular-backlog.d.ts.map +1 -1
- package/types/trismegisto-angular-billing.d.ts +11 -83
- package/types/trismegisto-angular-billing.d.ts.map +1 -1
- package/types/trismegisto-angular-bottom-navigation.d.ts +3 -18
- package/types/trismegisto-angular-bottom-navigation.d.ts.map +1 -1
- package/types/trismegisto-angular-bottom-sheet.d.ts +3 -23
- package/types/trismegisto-angular-bottom-sheet.d.ts.map +1 -1
- package/types/trismegisto-angular-breadcrumb.d.ts +2 -9
- package/types/trismegisto-angular-breadcrumb.d.ts.map +1 -1
- package/types/trismegisto-angular-bubble.d.ts +2 -15
- package/types/trismegisto-angular-bubble.d.ts.map +1 -1
- package/types/trismegisto-angular-bulk-input.d.ts.map +1 -1
- package/types/trismegisto-angular-button-group.d.ts.map +1 -1
- package/types/trismegisto-angular-card-container.d.ts.map +1 -1
- package/types/trismegisto-angular-carousel.d.ts.map +1 -1
- package/types/trismegisto-angular-cart.d.ts +3 -41
- package/types/trismegisto-angular-cart.d.ts.map +1 -1
- package/types/trismegisto-angular-cascader.d.ts +3 -26
- package/types/trismegisto-angular-cascader.d.ts.map +1 -1
- package/types/trismegisto-angular-certificate-viewer.d.ts +6 -4
- package/types/trismegisto-angular-certificate-viewer.d.ts.map +1 -1
- package/types/trismegisto-angular-change-history.d.ts +2 -10
- package/types/trismegisto-angular-change-history.d.ts.map +1 -1
- package/types/trismegisto-angular-charts.d.ts +305 -0
- package/types/trismegisto-angular-charts.d.ts.map +1 -0
- package/types/trismegisto-angular-checkbox-group.d.ts.map +1 -1
- package/types/trismegisto-angular-chip.d.ts.map +1 -1
- package/types/trismegisto-angular-code-diff.d.ts.map +1 -1
- package/types/trismegisto-angular-code-input.d.ts.map +1 -1
- package/types/trismegisto-angular-code-viewer.d.ts +38 -93
- package/types/trismegisto-angular-code-viewer.d.ts.map +1 -1
- package/types/trismegisto-angular-color-picker.d.ts +3 -18
- package/types/trismegisto-angular-color-picker.d.ts.map +1 -1
- package/types/trismegisto-angular-combobox-multi.d.ts.map +1 -1
- package/types/trismegisto-angular-combobox.d.ts +8 -25
- package/types/trismegisto-angular-combobox.d.ts.map +1 -1
- package/types/trismegisto-angular-command-palette.d.ts +8 -34
- package/types/trismegisto-angular-command-palette.d.ts.map +1 -1
- package/types/trismegisto-angular-commerce-format.d.ts +2 -24
- package/types/trismegisto-angular-commerce-format.d.ts.map +1 -1
- package/types/trismegisto-angular-connection-wizard.d.ts +5 -28
- package/types/trismegisto-angular-connection-wizard.d.ts.map +1 -1
- package/types/trismegisto-angular-consent.d.ts +4 -30
- package/types/trismegisto-angular-consent.d.ts.map +1 -1
- package/types/trismegisto-angular-copy-button.d.ts +2 -2
- package/types/trismegisto-angular-copy-button.d.ts.map +1 -1
- package/types/trismegisto-angular-credentials-form.d.ts +6 -54
- package/types/trismegisto-angular-credentials-form.d.ts.map +1 -1
- package/types/trismegisto-angular-data-grid.d.ts +58 -208
- package/types/trismegisto-angular-data-grid.d.ts.map +1 -1
- package/types/trismegisto-angular-data-source-picker.d.ts +6 -19
- package/types/trismegisto-angular-data-source-picker.d.ts.map +1 -1
- package/types/trismegisto-angular-date-picker.d.ts +13 -27
- package/types/trismegisto-angular-date-picker.d.ts.map +1 -1
- package/types/trismegisto-angular-datetime-picker.d.ts +3 -17
- package/types/trismegisto-angular-datetime-picker.d.ts.map +1 -1
- package/types/trismegisto-angular-deadline.d.ts +3 -3
- package/types/trismegisto-angular-deadline.d.ts.map +1 -1
- package/types/trismegisto-angular-deploy-pipeline.d.ts +11 -23
- package/types/trismegisto-angular-deploy-pipeline.d.ts.map +1 -1
- package/types/trismegisto-angular-description-list.d.ts.map +1 -1
- package/types/trismegisto-angular-dialog.d.ts +4 -9
- package/types/trismegisto-angular-dialog.d.ts.map +1 -1
- package/types/trismegisto-angular-direction.d.ts +1 -19
- package/types/trismegisto-angular-direction.d.ts.map +1 -1
- package/types/trismegisto-angular-drag-drop.d.ts +22 -71
- package/types/trismegisto-angular-drag-drop.d.ts.map +1 -1
- package/types/trismegisto-angular-drawer.d.ts +1 -4
- package/types/trismegisto-angular-drawer.d.ts.map +1 -1
- package/types/trismegisto-angular-dropdown.d.ts +2 -3
- package/types/trismegisto-angular-dropdown.d.ts.map +1 -1
- package/types/trismegisto-angular-dual-list.d.ts.map +1 -1
- package/types/trismegisto-angular-endpoint-card.d.ts +6 -27
- package/types/trismegisto-angular-endpoint-card.d.ts.map +1 -1
- package/types/trismegisto-angular-entity-picker.d.ts +6 -30
- package/types/trismegisto-angular-entity-picker.d.ts.map +1 -1
- package/types/trismegisto-angular-environment-picker.d.ts +7 -22
- package/types/trismegisto-angular-environment-picker.d.ts.map +1 -1
- package/types/trismegisto-angular-event-calendar.d.ts +6 -17
- package/types/trismegisto-angular-event-calendar.d.ts.map +1 -1
- package/types/trismegisto-angular-execution-status.d.ts +3 -1
- package/types/trismegisto-angular-execution-status.d.ts.map +1 -1
- package/types/trismegisto-angular-fab.d.ts +2 -12
- package/types/trismegisto-angular-fab.d.ts.map +1 -1
- package/types/trismegisto-angular-feature-flags.d.ts +3 -10
- package/types/trismegisto-angular-feature-flags.d.ts.map +1 -1
- package/types/trismegisto-angular-field-mapping.d.ts +3 -38
- package/types/trismegisto-angular-field-mapping.d.ts.map +1 -1
- package/types/trismegisto-angular-file-list.d.ts +7 -21
- package/types/trismegisto-angular-file-list.d.ts.map +1 -1
- package/types/trismegisto-angular-file-permissions.d.ts +3 -10
- package/types/trismegisto-angular-file-permissions.d.ts.map +1 -1
- package/types/trismegisto-angular-file-upload.d.ts +3 -2
- package/types/trismegisto-angular-file-upload.d.ts.map +1 -1
- package/types/trismegisto-angular-file-versions.d.ts +2 -10
- package/types/trismegisto-angular-file-versions.d.ts.map +1 -1
- package/types/trismegisto-angular-filter-bar.d.ts +2 -3
- package/types/trismegisto-angular-filter-bar.d.ts.map +1 -1
- package/types/trismegisto-angular-finance.d.ts +12 -108
- package/types/trismegisto-angular-finance.d.ts.map +1 -1
- package/types/trismegisto-angular-floating-window.d.ts +6 -21
- package/types/trismegisto-angular-floating-window.d.ts.map +1 -1
- package/types/trismegisto-angular-form-error-summary.d.ts +3 -23
- package/types/trismegisto-angular-form-error-summary.d.ts.map +1 -1
- package/types/trismegisto-angular-forms.d.ts +5 -2
- package/types/trismegisto-angular-forms.d.ts.map +1 -1
- package/types/trismegisto-angular-gantt.d.ts +3 -12
- package/types/trismegisto-angular-gantt.d.ts.map +1 -1
- package/types/trismegisto-angular-global-search.d.ts +2 -27
- package/types/trismegisto-angular-global-search.d.ts.map +1 -1
- package/types/trismegisto-angular-header.d.ts.map +1 -1
- package/types/trismegisto-angular-health-status.d.ts +6 -23
- package/types/trismegisto-angular-health-status.d.ts.map +1 -1
- package/types/trismegisto-angular-i18n.d.ts +11 -54
- package/types/trismegisto-angular-i18n.d.ts.map +1 -1
- package/types/trismegisto-angular-icon.d.ts +6 -1
- package/types/trismegisto-angular-icon.d.ts.map +1 -1
- package/types/trismegisto-angular-identity-document.d.ts +3 -22
- package/types/trismegisto-angular-identity-document.d.ts.map +1 -1
- package/types/trismegisto-angular-illustration-attention.d.ts +2 -2
- package/types/trismegisto-angular-illustration-attention.d.ts.map +1 -1
- package/types/trismegisto-angular-illustration-error.d.ts +2 -2
- package/types/trismegisto-angular-illustration-error.d.ts.map +1 -1
- package/types/trismegisto-angular-illustration-journey-end.d.ts +2 -2
- package/types/trismegisto-angular-illustration-journey-end.d.ts.map +1 -1
- package/types/trismegisto-angular-illustration-locked.d.ts +2 -2
- package/types/trismegisto-angular-illustration-locked.d.ts.map +1 -1
- package/types/trismegisto-angular-illustration-no-permission.d.ts +2 -2
- package/types/trismegisto-angular-illustration-no-permission.d.ts.map +1 -1
- package/types/trismegisto-angular-illustration-no-results.d.ts +2 -2
- package/types/trismegisto-angular-illustration-no-results.d.ts.map +1 -1
- package/types/trismegisto-angular-illustration-not-found.d.ts +2 -2
- package/types/trismegisto-angular-illustration-not-found.d.ts.map +1 -1
- package/types/trismegisto-angular-illustration-session-expired.d.ts +2 -2
- package/types/trismegisto-angular-illustration-session-expired.d.ts.map +1 -1
- package/types/trismegisto-angular-illustration-shared.d.ts +1 -22
- package/types/trismegisto-angular-illustration-shared.d.ts.map +1 -1
- package/types/trismegisto-angular-illustration-success.d.ts +2 -2
- package/types/trismegisto-angular-illustration-success.d.ts.map +1 -1
- package/types/trismegisto-angular-illustration-unlocked.d.ts +2 -2
- package/types/trismegisto-angular-illustration-unlocked.d.ts.map +1 -1
- package/types/trismegisto-angular-image-crop.d.ts +10 -31
- package/types/trismegisto-angular-image-crop.d.ts.map +1 -1
- package/types/trismegisto-angular-image-gallery.d.ts +4 -26
- package/types/trismegisto-angular-image-gallery.d.ts.map +1 -1
- package/types/trismegisto-angular-incident.d.ts +8 -70
- package/types/trismegisto-angular-incident.d.ts.map +1 -1
- package/types/trismegisto-angular-input.d.ts +4 -6
- package/types/trismegisto-angular-input.d.ts.map +1 -1
- package/types/trismegisto-angular-integration-text.d.ts +4 -33
- package/types/trismegisto-angular-integration-text.d.ts.map +1 -1
- package/types/trismegisto-angular-integration.d.ts +9 -70
- package/types/trismegisto-angular-integration.d.ts.map +1 -1
- package/types/trismegisto-angular-invoice.d.ts +5 -70
- package/types/trismegisto-angular-invoice.d.ts.map +1 -1
- package/types/trismegisto-angular-json-viewer.d.ts +3 -32
- package/types/trismegisto-angular-json-viewer.d.ts.map +1 -1
- package/types/trismegisto-angular-kanban.d.ts.map +1 -1
- package/types/trismegisto-angular-level-badge.d.ts +6 -4
- package/types/trismegisto-angular-level-badge.d.ts.map +1 -1
- package/types/trismegisto-angular-list-editor.d.ts.map +1 -1
- package/types/trismegisto-angular-location-select.d.ts +7 -17
- package/types/trismegisto-angular-location-select.d.ts.map +1 -1
- package/types/trismegisto-angular-log-viewer.d.ts +3 -35
- package/types/trismegisto-angular-log-viewer.d.ts.map +1 -1
- package/types/trismegisto-angular-maintenance-window.d.ts +7 -26
- package/types/trismegisto-angular-maintenance-window.d.ts.map +1 -1
- package/types/trismegisto-angular-map.d.ts +701 -0
- package/types/trismegisto-angular-map.d.ts.map +1 -0
- package/types/trismegisto-angular-member-list.d.ts +8 -29
- package/types/trismegisto-angular-member-list.d.ts.map +1 -1
- package/types/trismegisto-angular-menu-button.d.ts.map +1 -1
- package/types/trismegisto-angular-menu.d.ts +2 -11
- package/types/trismegisto-angular-menu.d.ts.map +1 -1
- package/types/trismegisto-angular-menubar.d.ts.map +1 -1
- package/types/trismegisto-angular-message-scroller.d.ts +4 -22
- package/types/trismegisto-angular-message-scroller.d.ts.map +1 -1
- package/types/trismegisto-angular-message.d.ts +4 -18
- package/types/trismegisto-angular-message.d.ts.map +1 -1
- package/types/trismegisto-angular-metric-explorer.d.ts +12 -73
- package/types/trismegisto-angular-metric-explorer.d.ts.map +1 -1
- package/types/trismegisto-angular-modal.d.ts +1 -2
- package/types/trismegisto-angular-modal.d.ts.map +1 -1
- package/types/trismegisto-angular-monitoring-text.d.ts +4 -41
- package/types/trismegisto-angular-monitoring-text.d.ts.map +1 -1
- package/types/trismegisto-angular-month-picker.d.ts +7 -21
- package/types/trismegisto-angular-month-picker.d.ts.map +1 -1
- package/types/trismegisto-angular-motion.d.ts +5 -11
- package/types/trismegisto-angular-motion.d.ts.map +1 -1
- package/types/trismegisto-angular-navigation-menu.d.ts +3 -13
- package/types/trismegisto-angular-navigation-menu.d.ts.map +1 -1
- package/types/trismegisto-angular-number-field.d.ts.map +1 -1
- package/types/trismegisto-angular-observability-text.d.ts +1 -84
- package/types/trismegisto-angular-observability-text.d.ts.map +1 -1
- package/types/trismegisto-angular-order.d.ts +78 -136
- package/types/trismegisto-angular-order.d.ts.map +1 -1
- package/types/trismegisto-angular-org-chart.d.ts +5 -37
- package/types/trismegisto-angular-org-chart.d.ts.map +1 -1
- package/types/trismegisto-angular-page-header.d.ts +3 -3
- package/types/trismegisto-angular-page-header.d.ts.map +1 -1
- package/types/trismegisto-angular-paginator.d.ts.map +1 -1
- package/types/trismegisto-angular-password-strength.d.ts +3 -30
- package/types/trismegisto-angular-password-strength.d.ts.map +1 -1
- package/types/trismegisto-angular-payment-fields.d.ts +4 -67
- package/types/trismegisto-angular-payment-fields.d.ts.map +1 -1
- package/types/trismegisto-angular-payment-form.d.ts +10 -49
- package/types/trismegisto-angular-payment-form.d.ts.map +1 -1
- package/types/trismegisto-angular-payment-method.d.ts +7 -44
- package/types/trismegisto-angular-payment-method.d.ts.map +1 -1
- package/types/trismegisto-angular-pdf-viewer.d.ts +5 -22
- package/types/trismegisto-angular-pdf-viewer.d.ts.map +1 -1
- package/types/trismegisto-angular-permission-matrix.d.ts +3 -16
- package/types/trismegisto-angular-permission-matrix.d.ts.map +1 -1
- package/types/trismegisto-angular-pipes.d.ts +4 -30
- package/types/trismegisto-angular-pipes.d.ts.map +1 -1
- package/types/trismegisto-angular-popconfirm.d.ts +6 -19
- package/types/trismegisto-angular-popconfirm.d.ts.map +1 -1
- package/types/trismegisto-angular-popover.d.ts +7 -15
- package/types/trismegisto-angular-popover.d.ts.map +1 -1
- package/types/trismegisto-angular-price.d.ts +6 -38
- package/types/trismegisto-angular-price.d.ts.map +1 -1
- package/types/trismegisto-angular-product.d.ts +3 -33
- package/types/trismegisto-angular-product.d.ts.map +1 -1
- package/types/trismegisto-angular-progress.d.ts +3 -5
- package/types/trismegisto-angular-progress.d.ts.map +1 -1
- package/types/trismegisto-angular-prompt-input.d.ts +5 -38
- package/types/trismegisto-angular-prompt-input.d.ts.map +1 -1
- package/types/trismegisto-angular-prompt-suggestions.d.ts +2 -11
- package/types/trismegisto-angular-prompt-suggestions.d.ts.map +1 -1
- package/types/trismegisto-angular-property-view.d.ts.map +1 -1
- package/types/trismegisto-angular-questionnaire.d.ts +5 -23
- package/types/trismegisto-angular-questionnaire.d.ts.map +1 -1
- package/types/trismegisto-angular-radio.d.ts.map +1 -1
- package/types/trismegisto-angular-rating.d.ts +4 -16
- package/types/trismegisto-angular-rating.d.ts.map +1 -1
- package/types/trismegisto-angular-reason-dialog.d.ts.map +1 -1
- package/types/trismegisto-angular-recurrence-editor.d.ts +5 -16
- package/types/trismegisto-angular-recurrence-editor.d.ts.map +1 -1
- package/types/trismegisto-angular-release-timeline.d.ts +7 -41
- package/types/trismegisto-angular-release-timeline.d.ts.map +1 -1
- package/types/trismegisto-angular-reorder-list.d.ts.map +1 -1
- package/types/trismegisto-angular-report-history.d.ts +8 -21
- package/types/trismegisto-angular-report-history.d.ts.map +1 -1
- package/types/trismegisto-angular-report-schedule.d.ts +4 -17
- package/types/trismegisto-angular-report-schedule.d.ts.map +1 -1
- package/types/trismegisto-angular-resource-calendar.d.ts +3 -10
- package/types/trismegisto-angular-resource-calendar.d.ts.map +1 -1
- package/types/trismegisto-angular-resource-usage.d.ts +6 -57
- package/types/trismegisto-angular-resource-usage.d.ts.map +1 -1
- package/types/trismegisto-angular-return-request.d.ts +11 -51
- package/types/trismegisto-angular-return-request.d.ts.map +1 -1
- package/types/trismegisto-angular-rich-text.d.ts +21 -57
- package/types/trismegisto-angular-rich-text.d.ts.map +1 -1
- package/types/trismegisto-angular-risk-register.d.ts +5 -26
- package/types/trismegisto-angular-risk-register.d.ts.map +1 -1
- package/types/trismegisto-angular-save-status.d.ts +4 -20
- package/types/trismegisto-angular-save-status.d.ts.map +1 -1
- package/types/trismegisto-angular-search-field.d.ts +2 -2
- package/types/trismegisto-angular-search-field.d.ts.map +1 -1
- package/types/trismegisto-angular-segmented-control.d.ts.map +1 -1
- package/types/trismegisto-angular-service-map.d.ts +15 -52
- package/types/trismegisto-angular-service-map.d.ts.map +1 -1
- package/types/trismegisto-angular-service-status.d.ts +6 -28
- package/types/trismegisto-angular-service-status.d.ts.map +1 -1
- package/types/trismegisto-angular-session-recovery.d.ts +2 -6
- package/types/trismegisto-angular-session-recovery.d.ts.map +1 -1
- package/types/trismegisto-angular-settings.d.ts +2 -5
- package/types/trismegisto-angular-settings.d.ts.map +1 -1
- package/types/trismegisto-angular-shipping.d.ts +13 -59
- package/types/trismegisto-angular-shipping.d.ts.map +1 -1
- package/types/trismegisto-angular-shortcut-list.d.ts +13 -51
- package/types/trismegisto-angular-shortcut-list.d.ts.map +1 -1
- package/types/trismegisto-angular-sidebar.d.ts +1 -1
- package/types/trismegisto-angular-sidebar.d.ts.map +1 -1
- package/types/trismegisto-angular-skip-link.d.ts +3 -16
- package/types/trismegisto-angular-skip-link.d.ts.map +1 -1
- package/types/trismegisto-angular-sla-summary.d.ts +8 -45
- package/types/trismegisto-angular-sla-summary.d.ts.map +1 -1
- package/types/trismegisto-angular-slider.d.ts +2 -2
- package/types/trismegisto-angular-slider.d.ts.map +1 -1
- package/types/trismegisto-angular-slot-picker.d.ts +4 -17
- package/types/trismegisto-angular-slot-picker.d.ts.map +1 -1
- package/types/trismegisto-angular-spine-audit.d.ts +749 -0
- package/types/trismegisto-angular-spine-audit.d.ts.map +1 -0
- package/types/trismegisto-angular-spine-auto-service.d.ts +143 -0
- package/types/trismegisto-angular-spine-auto-service.d.ts.map +1 -0
- package/types/trismegisto-angular-spine-graphql.d.ts +47 -0
- package/types/trismegisto-angular-spine-graphql.d.ts.map +1 -0
- package/types/trismegisto-angular-spine-layout.d.ts +3572 -0
- package/types/trismegisto-angular-spine-layout.d.ts.map +1 -0
- package/types/trismegisto-angular-spine-modal.d.ts +70 -0
- package/types/trismegisto-angular-spine-modal.d.ts.map +1 -0
- package/types/trismegisto-angular-spine-notification.d.ts +38 -0
- package/types/trismegisto-angular-spine-notification.d.ts.map +1 -0
- package/types/trismegisto-angular-spine-routing.d.ts +175 -0
- package/types/trismegisto-angular-spine-routing.d.ts.map +1 -0
- package/types/trismegisto-angular-spine-shell.d.ts +138 -0
- package/types/trismegisto-angular-spine-shell.d.ts.map +1 -0
- package/types/trismegisto-angular-spine-side-panel.d.ts +68 -0
- package/types/trismegisto-angular-spine-side-panel.d.ts.map +1 -0
- package/types/trismegisto-angular-spine.d.ts +344 -0
- package/types/trismegisto-angular-spine.d.ts.map +1 -0
- package/types/trismegisto-angular-split-button.d.ts +3 -13
- package/types/trismegisto-angular-split-button.d.ts.map +1 -1
- package/types/trismegisto-angular-splitter.d.ts.map +1 -1
- package/types/trismegisto-angular-state-page.d.ts +4 -29
- package/types/trismegisto-angular-state-page.d.ts.map +1 -1
- package/types/trismegisto-angular-state-screen.d.ts.map +1 -1
- package/types/trismegisto-angular-status-badge.d.ts +2 -4
- package/types/trismegisto-angular-status-badge.d.ts.map +1 -1
- package/types/trismegisto-angular-status-select.d.ts +2 -9
- package/types/trismegisto-angular-status-select.d.ts.map +1 -1
- package/types/trismegisto-angular-stepper.d.ts.map +1 -1
- package/types/trismegisto-angular-storage-usage.d.ts +4 -13
- package/types/trismegisto-angular-storage-usage.d.ts.map +1 -1
- package/types/trismegisto-angular-swimlane-board.d.ts +4 -6
- package/types/trismegisto-angular-swimlane-board.d.ts.map +1 -1
- package/types/trismegisto-angular-sync-status.d.ts +10 -63
- package/types/trismegisto-angular-sync-status.d.ts.map +1 -1
- package/types/trismegisto-angular-tab-bar.d.ts +5 -16
- package/types/trismegisto-angular-tab-bar.d.ts.map +1 -1
- package/types/trismegisto-angular-tabs.d.ts +1 -5
- package/types/trismegisto-angular-tabs.d.ts.map +1 -1
- package/types/trismegisto-angular-tag-input.d.ts +3 -23
- package/types/trismegisto-angular-tag-input.d.ts.map +1 -1
- package/types/trismegisto-angular-task-card.d.ts +5 -9
- package/types/trismegisto-angular-task-card.d.ts.map +1 -1
- package/types/trismegisto-angular-task-detail.d.ts +7 -25
- package/types/trismegisto-angular-task-detail.d.ts.map +1 -1
- package/types/trismegisto-angular-terminal.d.ts +90 -0
- package/types/trismegisto-angular-terminal.d.ts.map +1 -0
- package/types/trismegisto-angular-textarea.d.ts +4 -10
- package/types/trismegisto-angular-textarea.d.ts.map +1 -1
- package/types/trismegisto-angular-theme-builder.d.ts +2 -3
- package/types/trismegisto-angular-theme-builder.d.ts.map +1 -1
- package/types/trismegisto-angular-time-picker.d.ts +0 -1
- package/types/trismegisto-angular-time-picker.d.ts.map +1 -1
- package/types/trismegisto-angular-time-range.d.ts +3 -23
- package/types/trismegisto-angular-time-range.d.ts.map +1 -1
- package/types/trismegisto-angular-toast.d.ts +1 -1
- package/types/trismegisto-angular-toast.d.ts.map +1 -1
- package/types/trismegisto-angular-toggle-group.d.ts +3 -3
- package/types/trismegisto-angular-toggle-group.d.ts.map +1 -1
- package/types/trismegisto-angular-toggletip.d.ts +2 -2
- package/types/trismegisto-angular-toggletip.d.ts.map +1 -1
- package/types/trismegisto-angular-toolbar.d.ts +2 -4
- package/types/trismegisto-angular-toolbar.d.ts.map +1 -1
- package/types/trismegisto-angular-tooltip.d.ts +3 -26
- package/types/trismegisto-angular-tooltip.d.ts.map +1 -1
- package/types/trismegisto-angular-tour.d.ts +3 -21
- package/types/trismegisto-angular-tour.d.ts.map +1 -1
- package/types/trismegisto-angular-trace-waterfall.d.ts +10 -50
- package/types/trismegisto-angular-trace-waterfall.d.ts.map +1 -1
- package/types/trismegisto-angular-trace.d.ts +4 -15
- package/types/trismegisto-angular-trace.d.ts.map +1 -1
- package/types/trismegisto-angular-transaction.d.ts +9 -63
- package/types/trismegisto-angular-transaction.d.ts.map +1 -1
- package/types/trismegisto-angular-tree-select.d.ts +4 -26
- package/types/trismegisto-angular-tree-select.d.ts.map +1 -1
- package/types/trismegisto-angular-tree.d.ts +2 -3
- package/types/trismegisto-angular-tree.d.ts.map +1 -1
- package/types/trismegisto-angular-unsaved-changes.d.ts +6 -20
- package/types/trismegisto-angular-unsaved-changes.d.ts.map +1 -1
- package/types/trismegisto-angular-uptime-bar.d.ts +4 -16
- package/types/trismegisto-angular-uptime-bar.d.ts.map +1 -1
- package/types/trismegisto-angular-user-card.d.ts +4 -14
- package/types/trismegisto-angular-user-card.d.ts.map +1 -1
- package/types/trismegisto-angular-vehicle-plate.d.ts +3 -26
- package/types/trismegisto-angular-vehicle-plate.d.ts.map +1 -1
- package/types/trismegisto-angular-webhook.d.ts +17 -86
- package/types/trismegisto-angular-webhook.d.ts.map +1 -1
- package/types/trismegisto-angular-wizard.d.ts +6 -3
- package/types/trismegisto-angular-wizard.d.ts.map +1 -1
- package/types/trismegisto-angular-workflow-diagram.d.ts +3 -19
- package/types/trismegisto-angular-workflow-diagram.d.ts.map +1 -1
- package/types/trismegisto-angular-workflow-i18n.d.ts +7 -340
- package/types/trismegisto-angular-workflow-i18n.d.ts.map +1 -1
- package/types/trismegisto-angular-workload.d.ts.map +1 -1
- package/types/trismegisto-angular-workspace-persistence.d.ts +3 -13
- package/types/trismegisto-angular-workspace-persistence.d.ts.map +1 -1
- package/types/trismegisto-angular-workspace.d.ts.map +1 -1
- package/types/trismegisto-angular-zoom.d.ts.map +1 -1
|
@@ -0,0 +1,577 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { inject, viewChild, computed, signal, effect, untracked, ChangeDetectionStrategy, Component } from '@angular/core';
|
|
3
|
+
import { Router } from '@angular/router';
|
|
4
|
+
import { ViewService } from '@orfeu/angular/core';
|
|
5
|
+
import { AccountAvatarComponent } from '@trismegisto/angular/account-avatar';
|
|
6
|
+
import { AlertComponent } from '@trismegisto/angular/alert';
|
|
7
|
+
import { ButtonComponent } from '@trismegisto/angular/button';
|
|
8
|
+
import { DrawerComponent } from '@trismegisto/angular/drawer';
|
|
9
|
+
import { EmptyComponent } from '@trismegisto/angular/empty';
|
|
10
|
+
import { FilterBarComponent } from '@trismegisto/angular/filter-bar';
|
|
11
|
+
import { IconComponent } from '@trismegisto/angular/icon';
|
|
12
|
+
import { MenuButtonComponent } from '@trismegisto/angular/menu-button';
|
|
13
|
+
import { PaginatorComponent } from '@trismegisto/angular/paginator';
|
|
14
|
+
import { RichTextComponent } from '@trismegisto/angular/rich-text';
|
|
15
|
+
import { SearchFieldComponent } from '@trismegisto/angular/search-field';
|
|
16
|
+
import { SegmentedControlComponent } from '@trismegisto/angular/segmented-control';
|
|
17
|
+
import { TabComponent, TabsComponent } from '@trismegisto/angular/tabs';
|
|
18
|
+
import { TagComponent } from '@trismegisto/angular/tag';
|
|
19
|
+
import { HermesToastService } from '@trismegisto/angular/toast';
|
|
20
|
+
import { pluralMessage, formatMessage } from '@trismegisto/primitives/i18n';
|
|
21
|
+
import { SPINE_MESSAGES, SpinePreferencesService, SpineUserStorage } from '@trismegisto/angular/spine';
|
|
22
|
+
import { spineRoutesOf } from '@trismegisto/spine/route-tree';
|
|
23
|
+
import { a as SpineSuggestionsService, b as SpineInboxService, c as SpineSuggestionChatComponent, d as SPINE_TAB, e as SpineSuggestionAttachmentsComponent, f as SpineSuggestionsDialogComponent, g as SpineTagRowComponent } from './trismegisto-angular-spine-layout-trismegisto-angular-spine-layout-CB0MMMrV.mjs';
|
|
24
|
+
import { NEW_SCREEN_VALUE, suggestionScreens, screenName, screenModule } from '@trismegisto/spine/suggestion-screens';
|
|
25
|
+
import { SPINE_SUGGESTIONS_PAGE_SIZE, SPINE_SUGGESTIONS_NEEDS_YOU, SPINE_SUGGESTION_MESSAGES_PAGE, SPINE_SUGGESTION_CLOSED, SPINE_SUGGESTION_STATUS_COLORS, SPINE_SUGGESTION_KIND_COLORS, SPINE_SUGGESTION_KIND_ICONS, SPINE_SUGGESTION_WAITING_COLORS, SPINE_SUGGESTION_VISIBLE_SORTS, SPINE_SUGGESTION_REASONS, SPINE_SUGGESTION_STATUSES, SPINE_SUGGESTION_KINDS, SPINE_SUGGESTION_WAITING, SPINE_SUGGESTION_PAGE_PARAM, SPINE_SUGGESTION_TAB_PARAM, SPINE_SUGGESTION_TAB_CONVERSATION, attachmentErrorText, spineSuggestionExcerpt, SPINE_SUGGESTIONS_PAGE_PATH, spineRelativeAge } from '@trismegisto/spine/suggestions';
|
|
26
|
+
|
|
27
|
+
const PAGE = SPINE_SUGGESTIONS_PAGE_SIZE;
|
|
28
|
+
const NEEDS_YOU = SPINE_SUGGESTIONS_NEEDS_YOU;
|
|
29
|
+
const MESSAGES_PAGE = SPINE_SUGGESTION_MESSAGES_PAGE;
|
|
30
|
+
const CLOSED = SPINE_SUGGESTION_CLOSED;
|
|
31
|
+
/**
|
|
32
|
+
* A página "Sugestões do app" de quem pede (página do próprio spine, em `/sugestoes` — ver `provideSpineSuggestionsPage`).
|
|
33
|
+
*
|
|
34
|
+
* - **O que aparece** é o que o servidor deixa a pessoa ver: as dela, as agrupadas (um pedido dela virou outro), as em
|
|
35
|
+
* que ela está envolvida (mesmo de outro grupo) e as pedidas por alguém do grupo dela. Um grupo não vê o do outro,
|
|
36
|
+
* a não ser por agrupamento. Cada item diz POR QUE aparece (os filtros rápidos no topo, com as contagens do servidor).
|
|
37
|
+
* - **Filtros**: busca (título, descrição, tela, "SUG-12"), o recorte (`hm-segmented-control`: Todas, os motivos e
|
|
38
|
+
* "Precisam da sua resposta"), e no `hm-filter-bar` status, tipo, tela (as do menu e "Nova tela") e com quem está a
|
|
39
|
+
* vez; mais a ordem. Tudo no servidor, paginado.
|
|
40
|
+
* - Apoiar direto no cartão, sem abrir a gaveta (a própria só mostra a contagem).
|
|
41
|
+
* - **Gaveta** (`hm-drawer`): clicar abre a sugestão em **Detalhes** (descrição, tela, quem pediu, os grupos em selos,
|
|
42
|
+
* os responsáveis), com a aba **Conversa** ao lado (o chat: o que a equipe escreveu de público e o que quem pede
|
|
43
|
+
* respondeu; quem pediu e os envolvidos escrevem, a vez passa para os responsáveis; quem só é do grupo não tem a aba).
|
|
44
|
+
* O apoio fica no topo, fora das abas. Abrir a Conversa marca como lida.
|
|
45
|
+
* - "Sugerir melhoria" abre o mesmo modal da barra (sem tela escolhida); a nova entra na lista e abre no painel.
|
|
46
|
+
* - "?sugestao=SUG-12" abre direto na sugestão (o link do aviso de envio).
|
|
47
|
+
*/
|
|
48
|
+
class SpineSuggestionsPageComponent {
|
|
49
|
+
messages = inject(SPINE_MESSAGES);
|
|
50
|
+
text = this.messages.suggestions;
|
|
51
|
+
page = this.text.page;
|
|
52
|
+
service = inject(SpineSuggestionsService);
|
|
53
|
+
inbox = inject(SpineInboxService);
|
|
54
|
+
toast = inject(HermesToastService);
|
|
55
|
+
preferences = inject(SpinePreferencesService);
|
|
56
|
+
userStorage = inject(SpineUserStorage, { optional: true });
|
|
57
|
+
views = inject(ViewService, { optional: true });
|
|
58
|
+
router = inject(Router, { optional: true });
|
|
59
|
+
chat = viewChild(SpineSuggestionChatComponent, ...(ngDevMode ? [{ debugName: "chat" }] : /* istanbul ignore next */ []));
|
|
60
|
+
statusColors = SPINE_SUGGESTION_STATUS_COLORS;
|
|
61
|
+
kindColors = SPINE_SUGGESTION_KIND_COLORS;
|
|
62
|
+
kindIcons = SPINE_SUGGESTION_KIND_ICONS;
|
|
63
|
+
/** O "⋯" de cada cartão: copiar o link (abre a página já na sugestão) e a chave. */
|
|
64
|
+
itemMenu = [
|
|
65
|
+
{ id: 'copy-link', label: this.text.menuCopyLink, icon: 'link' },
|
|
66
|
+
{ id: 'copy-key', label: this.text.menuCopyKey, icon: 'copy' },
|
|
67
|
+
];
|
|
68
|
+
waitingColors = SPINE_SUGGESTION_WAITING_COLORS;
|
|
69
|
+
newScreenValue = NEW_SCREEN_VALUE;
|
|
70
|
+
sortOptions = SPINE_SUGGESTION_VISIBLE_SORTS.map((s) => ({ value: s, label: this.page.sorts[s] }));
|
|
71
|
+
/** As telas do menu (o filtro de tela), da árvore que a pessoa já recebe. */
|
|
72
|
+
screens = suggestionScreens(spineRoutesOf(this.views?.currentView));
|
|
73
|
+
me = computed(() => this.userStorage?.userId() ?? '', ...(ngDevMode ? [{ debugName: "me" }] : /* istanbul ignore next */ []));
|
|
74
|
+
// --- filtros ---
|
|
75
|
+
search = signal('', ...(ngDevMode ? [{ debugName: "search" }] : /* istanbul ignore next */ []));
|
|
76
|
+
reason = signal('', ...(ngDevMode ? [{ debugName: "reason" }] : /* istanbul ignore next */ []));
|
|
77
|
+
status = signal('', ...(ngDevMode ? [{ debugName: "status" }] : /* istanbul ignore next */ []));
|
|
78
|
+
kind = signal('', ...(ngDevMode ? [{ debugName: "kind" }] : /* istanbul ignore next */ []));
|
|
79
|
+
/** Uma rota, `NEW_SCREEN_VALUE` ou ''. */
|
|
80
|
+
screen = signal('', ...(ngDevMode ? [{ debugName: "screen" }] : /* istanbul ignore next */ []));
|
|
81
|
+
waiting = signal('', ...(ngDevMode ? [{ debugName: "waiting" }] : /* istanbul ignore next */ []));
|
|
82
|
+
sort = signal('activity', ...(ngDevMode ? [{ debugName: "sort" }] : /* istanbul ignore next */ []));
|
|
83
|
+
filtered = computed(() => !!(this.search().trim() || this.reason() || this.status() || this.kind()
|
|
84
|
+
|| this.screen() || this.waiting()), ...(ngDevMode ? [{ debugName: "filtered" }] : /* istanbul ignore next */ []));
|
|
85
|
+
/** O recorte no seletor: um motivo, "Precisam da sua resposta" (a vez de quem pede, sem motivo) ou '' (Todas). */
|
|
86
|
+
scope = computed(() => this.reason() || (this.waiting() === 'solicitante' ? NEEDS_YOU : ''), ...(ngDevMode ? [{ debugName: "scope" }] : /* istanbul ignore next */ []));
|
|
87
|
+
/** As opções do recorte com a contagem ("Minhas · 2"); motivo sem nenhuma sugestão fica de fora (a não ser o escolhido). */
|
|
88
|
+
scopeOptions = computed(() => {
|
|
89
|
+
const counted = (label, count) => (count === null || count === undefined ? label : `${label} · ${count}`);
|
|
90
|
+
const counts = this.counts();
|
|
91
|
+
const options = [{ value: '', label: counted(this.page.allReasons, this.allTotal()) }];
|
|
92
|
+
for (const r of SPINE_SUGGESTION_REASONS) {
|
|
93
|
+
if (counts?.[r] !== 0 || this.reason() === r)
|
|
94
|
+
options.push({ value: r, label: counted(this.page.reasons[r], counts?.[r]) });
|
|
95
|
+
}
|
|
96
|
+
if (counts?.waiting_me || this.scope() === NEEDS_YOU) {
|
|
97
|
+
options.push({ value: NEEDS_YOU, label: counted(this.page.needsYou, counts?.waiting_me), icon: 'chat-bubble' });
|
|
98
|
+
}
|
|
99
|
+
return options;
|
|
100
|
+
}, ...(ngDevMode ? [{ debugName: "scopeOptions" }] : /* istanbul ignore next */ []));
|
|
101
|
+
/** Os campos do `hm-filter-bar` (o servidor filtra): status, tipo, tela (as do menu e "Nova tela") e com quem está a vez. */
|
|
102
|
+
filterFields = computed(() => [
|
|
103
|
+
{ key: 'status', label: this.text.statusFilter, type: 'select', options: SPINE_SUGGESTION_STATUSES.map((v) => ({ value: v, label: this.text.statuses[v] })) },
|
|
104
|
+
{ key: 'kind', label: this.text.kindFilter, type: 'select', options: SPINE_SUGGESTION_KINDS.map((v) => ({ value: v, label: this.text.kinds[v] })) },
|
|
105
|
+
{
|
|
106
|
+
key: 'screen', label: this.text.screenFilter, type: 'select',
|
|
107
|
+
options: [...this.screens.map((sc) => ({ value: sc.path, label: sc.label })), { value: NEW_SCREEN_VALUE, label: this.text.newScreenTag }],
|
|
108
|
+
},
|
|
109
|
+
{ key: 'waiting', label: this.text.waitingFilter, type: 'select', options: SPINE_SUGGESTION_WAITING.map((v) => ({ value: v, label: this.text.waiting[v] })) },
|
|
110
|
+
], ...(ngDevMode ? [{ debugName: "filterFields" }] : /* istanbul ignore next */ []));
|
|
111
|
+
filterValue = computed(() => {
|
|
112
|
+
const value = {};
|
|
113
|
+
for (const key of ['status', 'kind', 'screen', 'waiting'])
|
|
114
|
+
if (this[key]())
|
|
115
|
+
value[key] = this[key]();
|
|
116
|
+
return value;
|
|
117
|
+
}, ...(ngDevMode ? [{ debugName: "filterValue" }] : /* istanbul ignore next */ []));
|
|
118
|
+
// --- lista ---
|
|
119
|
+
list = signal([], ...(ngDevMode ? [{ debugName: "list" }] : /* istanbul ignore next */ []));
|
|
120
|
+
total = signal(0, ...(ngDevMode ? [{ debugName: "total" }] : /* istanbul ignore next */ []));
|
|
121
|
+
counts = signal(null, ...(ngDevMode ? [{ debugName: "counts" }] : /* istanbul ignore next */ []));
|
|
122
|
+
pagination = signal({ page: 1, size: PAGE }, ...(ngDevMode ? [{ debugName: "pagination" }] : /* istanbul ignore next */ []));
|
|
123
|
+
loading = signal(false, ...(ngDevMode ? [{ debugName: "loading" }] : /* istanbul ignore next */ []));
|
|
124
|
+
error = signal('', ...(ngDevMode ? [{ debugName: "error" }] : /* istanbul ignore next */ []));
|
|
125
|
+
request = 0;
|
|
126
|
+
countText = computed(() => pluralMessage(this.page.count, this.total(), this.messages.meta.locale), ...(ngDevMode ? [{ debugName: "countText" }] : /* istanbul ignore next */ []));
|
|
127
|
+
/** "Todas": o total da última consulta sem motivo escolhido (null antes dela). */
|
|
128
|
+
allTotal = signal(null, ...(ngDevMode ? [{ debugName: "allTotal" }] : /* istanbul ignore next */ []));
|
|
129
|
+
/** O título do cabeçalho: o recorte escolhido ("Todas as sugestões", "Minhas"...). */
|
|
130
|
+
heading = computed(() => {
|
|
131
|
+
const r = this.reason();
|
|
132
|
+
if (this.waiting() === 'solicitante' && !r)
|
|
133
|
+
return this.page.needsYou;
|
|
134
|
+
return r ? this.page.reasons[r] : this.page.allTitle;
|
|
135
|
+
}, ...(ngDevMode ? [{ debugName: "heading" }] : /* istanbul ignore next */ []));
|
|
136
|
+
/** "1 em desenvolvimento · 1 planejada": quantas em cada status, do que está na tela. */
|
|
137
|
+
statusParts = computed(() => {
|
|
138
|
+
const locale = this.messages.meta.locale;
|
|
139
|
+
return SPINE_SUGGESTION_STATUSES.map((status) => ({ status, count: this.list().filter((x) => x.status === status).length }))
|
|
140
|
+
.filter((p) => p.count)
|
|
141
|
+
.map((p) => ({ status: p.status, text: formatMessage(this.page.statusPart, { count: p.count, status: this.text.statuses[p.status].toLocaleLowerCase(locale) }) }));
|
|
142
|
+
}, ...(ngDevMode ? [{ debugName: "statusParts" }] : /* istanbul ignore next */ []));
|
|
143
|
+
// --- gaveta ---
|
|
144
|
+
selected = signal(null, ...(ngDevMode ? [{ debugName: "selected" }] : /* istanbul ignore next */ []));
|
|
145
|
+
/** A gaveta abre em Detalhes; a conversa é lida (e marcada como lida) quando a pessoa vai até ela. */
|
|
146
|
+
tab = signal('details', ...(ngDevMode ? [{ debugName: "tab" }] : /* istanbul ignore next */ []));
|
|
147
|
+
drawerHeading = computed(() => {
|
|
148
|
+
const s = this.selected();
|
|
149
|
+
return s ? `${s.key} · ${s.title}` : this.page.details;
|
|
150
|
+
}, ...(ngDevMode ? [{ debugName: "drawerHeading" }] : /* istanbul ignore next */ []));
|
|
151
|
+
detailLoading = signal(false, ...(ngDevMode ? [{ debugName: "detailLoading" }] : /* istanbul ignore next */ []));
|
|
152
|
+
detailError = signal('', ...(ngDevMode ? [{ debugName: "detailError" }] : /* istanbul ignore next */ []));
|
|
153
|
+
conversation = signal(null, ...(ngDevMode ? [{ debugName: "conversation" }] : /* istanbul ignore next */ []));
|
|
154
|
+
reply = signal('', ...(ngDevMode ? [{ debugName: "reply" }] : /* istanbul ignore next */ []));
|
|
155
|
+
/** A conversa no formato do chat (do mais antigo ao mais novo). */
|
|
156
|
+
chatItems = computed(() => (this.conversation()?.messages ?? []).map((m) => ({
|
|
157
|
+
id: m.id, text: m.comment, created_at: m.created_at, author: m.author, from_requester: !!m.from_requester, status: m.status,
|
|
158
|
+
attachments: m.attachments ?? [],
|
|
159
|
+
})), ...(ngDevMode ? [{ debugName: "chatItems" }] : /* istanbul ignore next */ []));
|
|
160
|
+
/** Os arquivos escolhidos para a próxima resposta: vão para o comentário logo depois de ele ser criado. */
|
|
161
|
+
replyFiles = signal([], ...(ngDevMode ? [{ debugName: "replyFiles" }] : /* istanbul ignore next */ []));
|
|
162
|
+
/** O arquivo de um anexo da sugestão aberta (com o token da sessão). */
|
|
163
|
+
attachmentLoader = (a) => this.service.attachmentFile(this.selected()?.id ?? '', a.id);
|
|
164
|
+
/** Quem pede só tira o que ele mesmo enviou. */
|
|
165
|
+
canRemoveAttachment = (a) => !!this.me() && a.uploaded_by === this.me();
|
|
166
|
+
sending = signal(false, ...(ngDevMode ? [{ debugName: "sending" }] : /* istanbul ignore next */ []));
|
|
167
|
+
/** As sugestões com o apoio indo para o servidor (cada uma trava só o próprio botão). */
|
|
168
|
+
voting = signal(new Set(), ...(ngDevMode ? [{ debugName: "voting" }] : /* istanbul ignore next */ []));
|
|
169
|
+
panelOpen = computed(() => !!this.selected() || this.detailLoading() || !!this.detailError(), ...(ngDevMode ? [{ debugName: "panelOpen" }] : /* istanbul ignore next */ []));
|
|
170
|
+
/** A vez é de quem pede e a pessoa pode responder: o destaque no topo do painel. */
|
|
171
|
+
waitingOnMe = computed(() => {
|
|
172
|
+
const s = this.selected();
|
|
173
|
+
return !!s && s.can_comment && s.waiting_on === 'solicitante' && !CLOSED.includes(s.status);
|
|
174
|
+
}, ...(ngDevMode ? [{ debugName: "waitingOnMe" }] : /* istanbul ignore next */ []));
|
|
175
|
+
dialog = signal(null, ...(ngDevMode ? [{ debugName: "dialog" }] : /* istanbul ignore next */ []));
|
|
176
|
+
constructor() {
|
|
177
|
+
void this.load(1);
|
|
178
|
+
const tab = inject(SPINE_TAB, { optional: true });
|
|
179
|
+
if (!tab) {
|
|
180
|
+
const params = this.router?.parseUrl(this.router.url).queryParams ?? {};
|
|
181
|
+
const key = params[SPINE_SUGGESTION_PAGE_PARAM];
|
|
182
|
+
if (typeof key === 'string' && key)
|
|
183
|
+
void this.openByKey(key, params[SPINE_SUGGESTION_TAB_PARAM] === SPINE_SUGGESTION_TAB_CONVERSATION);
|
|
184
|
+
return;
|
|
185
|
+
}
|
|
186
|
+
// No workspace, a página fica viva na aba: "?sugestao=SUG-12" (um link, a central de notificações) pode chegar com
|
|
187
|
+
// ela já aberta. Abre a gaveta e tira o parâmetro da aba, para o mesmo link funcionar de novo.
|
|
188
|
+
effect(() => {
|
|
189
|
+
const params = tab.params();
|
|
190
|
+
const key = params[SPINE_SUGGESTION_PAGE_PARAM];
|
|
191
|
+
if (!key)
|
|
192
|
+
return;
|
|
193
|
+
const conversation = params[SPINE_SUGGESTION_TAB_PARAM] === SPINE_SUGGESTION_TAB_CONVERSATION;
|
|
194
|
+
untracked(() => {
|
|
195
|
+
void this.openByKey(key, conversation);
|
|
196
|
+
tab.navigate({ queryParams: { [SPINE_SUGGESTION_PAGE_PARAM]: null, [SPINE_SUGGESTION_TAB_PARAM]: null } });
|
|
197
|
+
});
|
|
198
|
+
});
|
|
199
|
+
}
|
|
200
|
+
// --- filtros ---
|
|
201
|
+
onSearch(term) {
|
|
202
|
+
this.search.set(term);
|
|
203
|
+
void this.load(1);
|
|
204
|
+
}
|
|
205
|
+
/**
|
|
206
|
+
* O recorte: um motivo, "Precisam da sua resposta" (a vez de quem pede, sem motivo) ou Todas. Sair de "Precisam da
|
|
207
|
+
* sua resposta" tira o "Aguardando solicitante" que ele tinha posto.
|
|
208
|
+
*/
|
|
209
|
+
pickScope(value) {
|
|
210
|
+
if (value === this.scope())
|
|
211
|
+
return;
|
|
212
|
+
const leavingNeedsYou = this.scope() === NEEDS_YOU;
|
|
213
|
+
if (value === NEEDS_YOU) {
|
|
214
|
+
this.reason.set('');
|
|
215
|
+
this.waiting.set('solicitante');
|
|
216
|
+
}
|
|
217
|
+
else {
|
|
218
|
+
this.reason.set(value);
|
|
219
|
+
if (leavingNeedsYou)
|
|
220
|
+
this.waiting.set('');
|
|
221
|
+
}
|
|
222
|
+
void this.load(1);
|
|
223
|
+
}
|
|
224
|
+
/** O `hm-filter-bar` aplicou, limpou um campo ou limpou tudo. */
|
|
225
|
+
onFilters(value) {
|
|
226
|
+
const read = (key) => (typeof value[key] === 'string' ? value[key] : '');
|
|
227
|
+
this.status.set(read('status'));
|
|
228
|
+
this.kind.set(read('kind'));
|
|
229
|
+
this.screen.set(read('screen'));
|
|
230
|
+
this.waiting.set(read('waiting'));
|
|
231
|
+
void this.load(1);
|
|
232
|
+
}
|
|
233
|
+
pickTab(tab) {
|
|
234
|
+
const s = this.selected();
|
|
235
|
+
const conversation = tab === 'conversation' && !!s?.can_comment;
|
|
236
|
+
this.tab.set(conversation ? 'conversation' : 'details');
|
|
237
|
+
if (conversation && this.conversation()?.id !== s.id)
|
|
238
|
+
void this.loadConversation(s.id, true);
|
|
239
|
+
}
|
|
240
|
+
onSort(sort) {
|
|
241
|
+
if (sort === this.sort())
|
|
242
|
+
return;
|
|
243
|
+
this.sort.set(sort);
|
|
244
|
+
void this.load(1);
|
|
245
|
+
}
|
|
246
|
+
onPage(state) {
|
|
247
|
+
this.pagination.set({ page: state.page, size: state.size });
|
|
248
|
+
void this.load(state.page);
|
|
249
|
+
}
|
|
250
|
+
async load(page) {
|
|
251
|
+
const request = ++this.request;
|
|
252
|
+
const size = this.pagination().size;
|
|
253
|
+
this.loading.set(true);
|
|
254
|
+
this.error.set('');
|
|
255
|
+
const screen = this.screen();
|
|
256
|
+
try {
|
|
257
|
+
const res = await this.service.visible({
|
|
258
|
+
limit: size, offset: (page - 1) * size,
|
|
259
|
+
reason: this.reason(),
|
|
260
|
+
status: this.status(),
|
|
261
|
+
kind: this.kind(),
|
|
262
|
+
waiting: this.waiting(),
|
|
263
|
+
screen: screen && screen !== NEW_SCREEN_VALUE ? screen : undefined,
|
|
264
|
+
newScreen: screen === NEW_SCREEN_VALUE,
|
|
265
|
+
q: this.search(),
|
|
266
|
+
sort: this.sort(),
|
|
267
|
+
});
|
|
268
|
+
if (request !== this.request)
|
|
269
|
+
return;
|
|
270
|
+
this.list.set(res.suggestions);
|
|
271
|
+
this.total.set(res.total);
|
|
272
|
+
if (!this.reason())
|
|
273
|
+
this.allTotal.set(res.total);
|
|
274
|
+
if (res.counts)
|
|
275
|
+
this.counts.set(res.counts);
|
|
276
|
+
this.pagination.set({ page, size });
|
|
277
|
+
}
|
|
278
|
+
catch {
|
|
279
|
+
if (request === this.request)
|
|
280
|
+
this.error.set(this.page.error);
|
|
281
|
+
}
|
|
282
|
+
finally {
|
|
283
|
+
if (request === this.request)
|
|
284
|
+
this.loading.set(false);
|
|
285
|
+
}
|
|
286
|
+
}
|
|
287
|
+
// --- painel ---
|
|
288
|
+
open(s) {
|
|
289
|
+
if (this.selected()?.id === s.id)
|
|
290
|
+
return;
|
|
291
|
+
this.selected.set(s);
|
|
292
|
+
// Abre em Detalhes; a conversa vem ao abrir a aba (quem só vê pelo grupo nem tem a aba: o servidor recusa).
|
|
293
|
+
this.tab.set('details');
|
|
294
|
+
this.detailError.set('');
|
|
295
|
+
this.reply.set('');
|
|
296
|
+
this.conversation.set(null);
|
|
297
|
+
void this.refreshSelected(s.id);
|
|
298
|
+
}
|
|
299
|
+
/** Abre pela chave (link): `conversation` = já na aba Conversa. */
|
|
300
|
+
async openByKey(key, conversation = false) {
|
|
301
|
+
this.detailLoading.set(true);
|
|
302
|
+
try {
|
|
303
|
+
const s = await this.service.lookup(key);
|
|
304
|
+
this.detailLoading.set(false);
|
|
305
|
+
this.open(s);
|
|
306
|
+
if (conversation)
|
|
307
|
+
this.pickTab('conversation');
|
|
308
|
+
}
|
|
309
|
+
catch {
|
|
310
|
+
this.detailLoading.set(false);
|
|
311
|
+
this.detailError.set(this.page.notFound);
|
|
312
|
+
}
|
|
313
|
+
}
|
|
314
|
+
close() {
|
|
315
|
+
this.selected.set(null);
|
|
316
|
+
this.conversation.set(null);
|
|
317
|
+
this.detailError.set('');
|
|
318
|
+
}
|
|
319
|
+
/** Relê a sugestão aberta (status, a vez e os apoios mudam do outro lado) e a deixa igual na lista. */
|
|
320
|
+
async refreshSelected(id) {
|
|
321
|
+
try {
|
|
322
|
+
const fresh = await this.service.get(id);
|
|
323
|
+
if (this.selected()?.id !== id)
|
|
324
|
+
return;
|
|
325
|
+
this.selected.set(fresh);
|
|
326
|
+
this.patch(id, fresh);
|
|
327
|
+
}
|
|
328
|
+
catch {
|
|
329
|
+
/* fica o que veio da lista */
|
|
330
|
+
}
|
|
331
|
+
}
|
|
332
|
+
patch(id, change) {
|
|
333
|
+
this.list.update((list) => list.map((x) => (x.id === id ? { ...x, ...change } : x)));
|
|
334
|
+
const current = this.selected();
|
|
335
|
+
if (current?.id === id)
|
|
336
|
+
this.selected.set({ ...current, ...change });
|
|
337
|
+
}
|
|
338
|
+
loadOlder() {
|
|
339
|
+
const c = this.conversation();
|
|
340
|
+
if (c && !c.loading && c.messages.length < c.total)
|
|
341
|
+
void this.loadConversation(c.id, false);
|
|
342
|
+
}
|
|
343
|
+
async loadConversation(id, reset) {
|
|
344
|
+
const current = this.conversation();
|
|
345
|
+
const offset = reset || current?.id !== id ? 0 : current.messages.length;
|
|
346
|
+
this.conversation.set(reset || current?.id !== id
|
|
347
|
+
? { id, messages: [], total: 0, loading: true, error: false }
|
|
348
|
+
: { ...current, loading: true, error: false });
|
|
349
|
+
try {
|
|
350
|
+
const res = await this.service.comments(id, { limit: MESSAGES_PAGE, offset });
|
|
351
|
+
const older = [...res.comments].reverse();
|
|
352
|
+
this.conversation.update((c) => (c?.id === id
|
|
353
|
+
? { ...c, messages: reset ? older : [...older, ...c.messages], total: res.total, loading: false } : c));
|
|
354
|
+
if (reset)
|
|
355
|
+
this.markRead(id);
|
|
356
|
+
}
|
|
357
|
+
catch {
|
|
358
|
+
this.conversation.update((c) => (c?.id === id ? { ...c, loading: false, error: true } : c));
|
|
359
|
+
}
|
|
360
|
+
}
|
|
361
|
+
/**
|
|
362
|
+
* Abrir a conversa a marca como lida (o número some da lista na hora; falha não atrapalha a leitura). Vai sempre ao
|
|
363
|
+
* servidor: a central de notificações também conta a mudança de status, que o `unread` (só comentários) não vê.
|
|
364
|
+
*/
|
|
365
|
+
markRead(id) {
|
|
366
|
+
const s = this.list().find((x) => x.id === id) ?? this.selected();
|
|
367
|
+
if (s?.unread) {
|
|
368
|
+
this.patch(id, { unread: 0 });
|
|
369
|
+
this.counts.update((c) => (c ? { ...c, unread: Math.max(0, c.unread - 1) } : c));
|
|
370
|
+
}
|
|
371
|
+
this.service.markRead(id).then(() => this.inbox.refresh(), () => undefined);
|
|
372
|
+
}
|
|
373
|
+
async send(text) {
|
|
374
|
+
const s = this.selected();
|
|
375
|
+
const comment = (text ?? this.reply()).trim();
|
|
376
|
+
if (!s || !comment || this.sending())
|
|
377
|
+
return;
|
|
378
|
+
this.sending.set(true);
|
|
379
|
+
try {
|
|
380
|
+
const message = await this.service.reply(s.id, comment);
|
|
381
|
+
this.reply.set('');
|
|
382
|
+
const { attachments, failure } = await this.attachToComment(s.id, message.id, this.replyFiles());
|
|
383
|
+
this.replyFiles.set([]);
|
|
384
|
+
if (failure)
|
|
385
|
+
this.toast.error(failure);
|
|
386
|
+
void this.inbox.refresh();
|
|
387
|
+
this.conversation.update((c) => (c?.id === s.id
|
|
388
|
+
? { ...c, messages: [...c.messages, { ...message, from_requester: true, attachments }], total: c.total + 1 } : c));
|
|
389
|
+
const now = new Date().toISOString();
|
|
390
|
+
const wasWaitingOnMe = s.waiting_on === 'solicitante';
|
|
391
|
+
this.patch(s.id, {
|
|
392
|
+
comments_count: s.comments_count + 1,
|
|
393
|
+
last_comment: { comment, created_at: message.created_at ?? now },
|
|
394
|
+
...(CLOSED.includes(s.status) ? {} : { waiting_on: 'responsaveis', waiting_since: now }),
|
|
395
|
+
last_activity_at: now,
|
|
396
|
+
});
|
|
397
|
+
if (wasWaitingOnMe)
|
|
398
|
+
this.counts.update((c) => (c ? { ...c, waiting_me: Math.max(0, c.waiting_me - 1) } : c));
|
|
399
|
+
this.chat()?.scrollToEnd();
|
|
400
|
+
}
|
|
401
|
+
catch {
|
|
402
|
+
this.toast.error(this.page.replyError);
|
|
403
|
+
}
|
|
404
|
+
finally {
|
|
405
|
+
this.sending.set(false);
|
|
406
|
+
}
|
|
407
|
+
}
|
|
408
|
+
/** Manda os arquivos ao comentário, um de cada vez; o comentário já existe, então falha vira o aviso. */
|
|
409
|
+
async attachToComment(id, commentId, files) {
|
|
410
|
+
const attachments = [];
|
|
411
|
+
let failed = 0;
|
|
412
|
+
let reason = '';
|
|
413
|
+
for (const file of files) {
|
|
414
|
+
try {
|
|
415
|
+
attachments.push(await this.service.attach(id, file, commentId));
|
|
416
|
+
}
|
|
417
|
+
catch (err) {
|
|
418
|
+
failed += 1;
|
|
419
|
+
reason ||= attachmentErrorText(err, this.text.attachments.loadError);
|
|
420
|
+
}
|
|
421
|
+
}
|
|
422
|
+
return { attachments, failure: failed ? formatMessage(this.text.attachments.uploadFailed, { count: failed, reason }) : null };
|
|
423
|
+
}
|
|
424
|
+
/** Tira um anexo (da sugestão ou de um comentário) que a pessoa enviou. */
|
|
425
|
+
async removeAttachment(attachment) {
|
|
426
|
+
const s = this.selected();
|
|
427
|
+
if (!s)
|
|
428
|
+
return;
|
|
429
|
+
try {
|
|
430
|
+
await this.service.removeAttachment(s.id, attachment.id);
|
|
431
|
+
this.selected.update((x) => (x?.id === s.id ? { ...x, attachments: (x.attachments ?? []).filter((a) => a.id !== attachment.id) } : x));
|
|
432
|
+
this.conversation.update((c) => (c?.id === s.id ? {
|
|
433
|
+
...c, messages: c.messages.map((m) => ({ ...m, attachments: (m.attachments ?? []).filter((a) => a.id !== attachment.id) })),
|
|
434
|
+
} : c));
|
|
435
|
+
}
|
|
436
|
+
catch {
|
|
437
|
+
this.toast.error(this.text.attachments.loadError);
|
|
438
|
+
}
|
|
439
|
+
}
|
|
440
|
+
/** Apoiar (quem não pediu): muda na hora e volta se o servidor falhar. */
|
|
441
|
+
isVoting(id) {
|
|
442
|
+
return this.voting().has(id);
|
|
443
|
+
}
|
|
444
|
+
/** Apoia ou tira o apoio (do cartão ou da gaveta): já na tela, e desfaz se o servidor recusar. */
|
|
445
|
+
async toggleSupport(s) {
|
|
446
|
+
if (s.mine || this.isVoting(s.id))
|
|
447
|
+
return;
|
|
448
|
+
const voted = !s.voted;
|
|
449
|
+
this.patch(s.id, { voted, votes: Math.max(0, s.votes + (voted ? 1 : -1)) });
|
|
450
|
+
this.voting.update((ids) => new Set(ids).add(s.id));
|
|
451
|
+
try {
|
|
452
|
+
if (voted)
|
|
453
|
+
await this.service.vote(s.id);
|
|
454
|
+
else
|
|
455
|
+
await this.service.unvote(s.id);
|
|
456
|
+
}
|
|
457
|
+
catch {
|
|
458
|
+
this.patch(s.id, { voted: s.voted, votes: s.votes });
|
|
459
|
+
this.toast.error(this.text.voteError);
|
|
460
|
+
}
|
|
461
|
+
finally {
|
|
462
|
+
this.voting.update((ids) => {
|
|
463
|
+
const next = new Set(ids);
|
|
464
|
+
next.delete(s.id);
|
|
465
|
+
return next;
|
|
466
|
+
});
|
|
467
|
+
}
|
|
468
|
+
}
|
|
469
|
+
suggest() {
|
|
470
|
+
this.dialog.set('new');
|
|
471
|
+
}
|
|
472
|
+
/** A nova entra no topo (relendo a lista) e abre no painel. */
|
|
473
|
+
async onCreated(created) {
|
|
474
|
+
await this.load(1);
|
|
475
|
+
const fresh = this.list().find((s) => s.id === created.id);
|
|
476
|
+
if (fresh)
|
|
477
|
+
this.open(fresh);
|
|
478
|
+
else if (created.key)
|
|
479
|
+
void this.openByKey(created.key);
|
|
480
|
+
}
|
|
481
|
+
// --- texto ---
|
|
482
|
+
reasonCount(r) {
|
|
483
|
+
return this.counts()?.[r] ?? null;
|
|
484
|
+
}
|
|
485
|
+
screenText(s) {
|
|
486
|
+
if (s.screen.new)
|
|
487
|
+
return s.screen.label || this.text.newScreenTag;
|
|
488
|
+
return s.screen.label || this.text.noScreen;
|
|
489
|
+
}
|
|
490
|
+
screenShort(s) {
|
|
491
|
+
return s.screen.new ? (s.screen.label || this.text.newScreenTag) : (screenName(s.screen.label) || this.text.noScreen);
|
|
492
|
+
}
|
|
493
|
+
/** O módulo da tela ("Vendas" de "Vendas › Pedidos"); vazio na nova, sem tela ou quando o módulo é a própria tela. */
|
|
494
|
+
screenModule(s) {
|
|
495
|
+
if (s.screen.new)
|
|
496
|
+
return '';
|
|
497
|
+
const module = screenModule(s.screen.label);
|
|
498
|
+
return module && module !== screenName(s.screen.label) ? module : '';
|
|
499
|
+
}
|
|
500
|
+
/** O trecho do cartão: a última mensagem pública (a conversa anda) ou, sem ela, a descrição. */
|
|
501
|
+
excerptOf(s) {
|
|
502
|
+
return spineSuggestionExcerpt(s);
|
|
503
|
+
}
|
|
504
|
+
commentsText(count) {
|
|
505
|
+
return pluralMessage(this.text.comments, count, this.messages.meta.locale);
|
|
506
|
+
}
|
|
507
|
+
menuLabel(s) {
|
|
508
|
+
return formatMessage(this.text.cardMenu, { key: s.key });
|
|
509
|
+
}
|
|
510
|
+
async onMenu(s, id) {
|
|
511
|
+
const value = id === 'copy-key' ? s.key : this.linkOf(s);
|
|
512
|
+
try {
|
|
513
|
+
await navigator.clipboard.writeText(value);
|
|
514
|
+
this.toast.success(id === 'copy-key' ? this.text.keyCopied : this.text.linkCopied);
|
|
515
|
+
}
|
|
516
|
+
catch {
|
|
517
|
+
this.toast.error(this.text.copyError);
|
|
518
|
+
}
|
|
519
|
+
}
|
|
520
|
+
/** O link que abre a página já na sugestão ("…/sugestoes?sugestao=SUG-12"), respeitando o `<base href>` do app. */
|
|
521
|
+
linkOf(s) {
|
|
522
|
+
const path = `${SPINE_SUGGESTIONS_PAGE_PATH.slice(1)}?${SPINE_SUGGESTION_PAGE_PARAM}=${encodeURIComponent(s.key)}`;
|
|
523
|
+
try {
|
|
524
|
+
return new URL(path, document.baseURI).toString();
|
|
525
|
+
}
|
|
526
|
+
catch {
|
|
527
|
+
return `/${path}`;
|
|
528
|
+
}
|
|
529
|
+
}
|
|
530
|
+
personName(p) {
|
|
531
|
+
return p?.name || p?.username || this.text.removedAuthor;
|
|
532
|
+
}
|
|
533
|
+
votesText(count) {
|
|
534
|
+
return pluralMessage(this.text.votes, count, this.messages.meta.locale);
|
|
535
|
+
}
|
|
536
|
+
unreadText(count) {
|
|
537
|
+
return pluralMessage(this.text.unread, count, this.messages.meta.locale);
|
|
538
|
+
}
|
|
539
|
+
supportText(s) {
|
|
540
|
+
if (s.mine)
|
|
541
|
+
return this.votesText(s.votes);
|
|
542
|
+
return formatMessage(s.voted ? this.text.supported : this.text.support, { count: s.votes });
|
|
543
|
+
}
|
|
544
|
+
mergedFromText(key, target) {
|
|
545
|
+
return formatMessage(this.text.mergedFrom, { key, target });
|
|
546
|
+
}
|
|
547
|
+
/** "há 3 dias", "ontem", "há 2 horas" (Intl.RelativeTimeFormat no idioma do catálogo). */
|
|
548
|
+
age(iso) {
|
|
549
|
+
if (!iso)
|
|
550
|
+
return '';
|
|
551
|
+
return spineRelativeAge(iso, this.messages.meta.locale) ?? this.date(iso);
|
|
552
|
+
}
|
|
553
|
+
date(iso) {
|
|
554
|
+
try {
|
|
555
|
+
return new Intl.DateTimeFormat(this.messages.meta.locale, {
|
|
556
|
+
dateStyle: 'short', timeStyle: 'short', timeZone: this.preferences.effectiveTimeZone(),
|
|
557
|
+
}).format(new Date(iso));
|
|
558
|
+
}
|
|
559
|
+
catch {
|
|
560
|
+
return iso.slice(0, 16).replace('T', ' ');
|
|
561
|
+
}
|
|
562
|
+
}
|
|
563
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.24", ngImport: i0, type: SpineSuggestionsPageComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
564
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.24", type: SpineSuggestionsPageComponent, isStandalone: true, selector: "spine-suggestions-page", viewQueries: [{ propertyName: "chat", first: true, predicate: SpineSuggestionChatComponent, descendants: true, isSignal: true }], ngImport: i0, template: "<section class=\"ssp\" [attr.aria-label]=\"page.listLabel\">\n <!-- Cabe\u00E7alho numa linha: o recorte, quantas (e quantas em cada status), a ordem e o \"Sugerir melhoria\". -->\n <header class=\"ssp__head\">\n <h2 class=\"ssp__heading\">{{ heading() }}</h2>\n <span class=\"ssp__count\" aria-live=\"polite\">{{ countText() }}</span>\n @for (part of statusParts(); track part.status) {\n <span class=\"ssp__status-part\" [attr.data-status]=\"part.status\"><span class=\"ssp__dot\" aria-hidden=\"true\"></span>{{ part.text }}</span>\n }\n <span class=\"ssp__spacer\"></span>\n <hm-segmented-control class=\"ssp__sort\" size=\"small\" [label]=\"text.sort\" [options]=\"sortOptions\" [value]=\"sort()\"\n (valueChange)=\"onSort($event)\" />\n <hm-button size=\"small\" icon=\"plus\" (clicked)=\"suggest()\">{{ text.button }}</hm-button>\n </header>\n\n <!-- Busca e o recorte (por que a pessoa v\u00EA, com as contagens do servidor) na mesma linha. -->\n <div class=\"ssp__bar\">\n <hm-search-field class=\"ssp__search\" [label]=\"text.appSearch\" labelHidden [placeholder]=\"text.appSearch\"\n [landmark]=\"false\" [debounce]=\"300\" [value]=\"search()\" (search)=\"onSearch($event)\" />\n <hm-segmented-control class=\"ssp__scope\" size=\"small\" emphasis=\"action\" [label]=\"page.reasonFilter\"\n [options]=\"scopeOptions()\" [value]=\"scope()\" (valueChange)=\"pickScope($event)\" />\n </div>\n\n <!-- Filtros do Trismegisto: um bot\u00E3o por campo e, aplicados, as fichas remov\u00EDveis com \"Limpar tudo\". -->\n <hm-filter-bar class=\"ssp__filters\" [label]=\"page.filtersLabel\" [filters]=\"filterFields()\" [value]=\"filterValue()\"\n (valueChange)=\"onFilters($event)\" />\n\n @if (error()) {\n <hm-alert variant=\"error\">{{ error() }}</hm-alert>\n } @else if (!loading() && list().length === 0) {\n @if (filtered()) {\n <hm-empty icon=\"filter\" [heading]=\"page.emptyFiltered\" />\n } @else {\n <hm-empty icon=\"lightbulb\" [heading]=\"page.empty\" [description]=\"page.emptyHint\" />\n }\n }\n\n <ul class=\"ssp__list\" [attr.aria-busy]=\"loading() ? 'true' : null\">\n @for (s of list(); track s.id) {\n <li class=\"ssp__item\" [class.ssp__item--open]=\"selected()?.id === s.id\" [class.ssp__item--unread]=\"s.unread > 0\">\n <div class=\"ssp__item-meta\">\n <span class=\"ssp__key\">{{ s.key }}</span>\n <span class=\"ssp__status\" [attr.data-status]=\"s.status\"><span class=\"ssp__dot\" aria-hidden=\"true\"></span>{{ text.statuses[s.status] }}</span>\n <span class=\"ssp__kind\" [attr.data-kind]=\"s.kind\"><hm-icon [shape]=\"kindIcons[s.kind]\" />{{ text.kinds[s.kind] }}</span>\n @if (s.unread) { <span class=\"ssp__unread\">{{ unreadText(s.unread) }}</span> }\n <span class=\"ssp__menu\">\n <hm-menu-button size=\"small\" icon=\"ellipsis-vertical\" [showArrow]=\"false\" align=\"end\" [label]=\"menuLabel(s)\"\n [items]=\"itemMenu\" (chosen)=\"onMenu(s, $event)\" />\n </span>\n </div>\n <!-- O t\u00EDtulo \u00E9 o bot\u00E3o que abre a sugest\u00E3o na gaveta. -->\n <button type=\"button\" class=\"ssp__item-title\" aria-haspopup=\"dialog\" (click)=\"open(s)\">{{ s.title }}</button>\n <div class=\"ssp__item-screen\">\n <hm-icon [shape]=\"s.screen.new ? 'plus' : 'application'\" />\n @if (screenModule(s); as module) {\n <span class=\"ssp__screen-module\">{{ module }}</span><hm-icon class=\"ssp__screen-sep\" shape=\"angle-right\" />\n }\n <strong class=\"ssp__screen-name\">{{ screenShort(s) }}</strong>\n @if (s.screen.new) { <span class=\"ssp__new-screen\">{{ text.newScreenTag }}</span> }\n @if (s.waiting_on && s.status !== 'concluida' && s.status !== 'recusada') {\n <hm-tag [name]=\"text.waiting[s.waiting_on]\" [color]=\"waitingColors[s.waiting_on]\" />\n }\n </div>\n @if (excerptOf(s); as ex) {\n <p class=\"ssp__excerpt\">{{ ex }}</p>\n }\n <div class=\"ssp__item-foot\">\n <hm-account-avatar size=\"small\" [name]=\"personName(s.author)\" [imageUrl]=\"s.author?.picture\" />\n <span class=\"ssp__byline\">\n <span class=\"ssp__byline-name\">{{ personName(s.author) }}</span>\n <time [attr.datetime]=\"s.last_activity_at || s.updated_at\">{{ age(s.last_activity_at || s.updated_at) }}</time>\n </span>\n <span class=\"ssp__counts\">\n @if (s.can_comment) {\n <span class=\"ssp__count-item\" [attr.title]=\"commentsText(s.comments_count)\">\n <hm-icon shape=\"comment-message\" /><span aria-hidden=\"true\">{{ s.comments_count }}</span><span class=\"ssp__sr\">{{ commentsText(s.comments_count) }}</span>\n </span>\n }\n <!-- Apoiar direto no cart\u00E3o (a pr\u00F3pria s\u00F3 mostra a contagem: ningu\u00E9m apoia o que pediu). -->\n @if (s.mine) {\n <span class=\"ssp__count-item\" [attr.title]=\"votesText(s.votes)\">\n <hm-icon shape=\"thumbs-up\" /><span aria-hidden=\"true\">{{ s.votes }}</span><span class=\"ssp__sr\">{{ votesText(s.votes) }}</span>\n </span>\n } @else {\n <hm-button class=\"ssp__support\" size=\"small\" emphasis=\"minimal\" icon=\"thumbs-up\" toggle [pressed]=\"s.voted\"\n [disabled]=\"isVoting(s.id)\" [attr.title]=\"supportText(s)\" (clicked)=\"toggleSupport(s)\">\n <span aria-hidden=\"true\">{{ s.votes }}</span><span class=\"ssp__sr\">{{ supportText(s) }}</span>\n </hm-button>\n }\n </span>\n </div>\n </li>\n }\n </ul>\n\n @if (total() > pagination().size) {\n <hm-paginator variant=\"simple\" [label]=\"text.appPagination\" [state]=\"pagination()\" [totalItems]=\"total()\"\n [sizes]=\"[20, 50]\" (stateChanged)=\"onPage($event)\" />\n }\n</section>\n\n<!-- A sugest\u00E3o aberta: gaveta com as abas Conversa (o chat) e Detalhes. -->\n<hm-drawer [heading]=\"drawerHeading()\" size=\"large\" [open]=\"panelOpen()\" (openChange)=\"$event || close()\">\n @if (detailError()) {\n <hm-alert variant=\"error\">{{ detailError() }}</hm-alert>\n } @else if (selected(); as s) {\n <div class=\"ssp-detail\" [class.ssp-detail--alert]=\"waitingOnMe()\">\n <div class=\"ssp__item-meta\">\n <span class=\"ssp__key\">{{ s.key }}</span>\n <span class=\"ssp__status\" [attr.data-status]=\"s.status\"><span class=\"ssp__dot\" aria-hidden=\"true\"></span>{{ text.statuses[s.status] }}</span>\n <span class=\"ssp__kind\" [attr.data-kind]=\"s.kind\"><hm-icon [shape]=\"kindIcons[s.kind]\" />{{ text.kinds[s.kind] }}</span>\n @if (s.archived) { <hm-tag [name]=\"text.archivedTag\" /> }\n @if (s.waiting_on && s.status !== 'concluida' && s.status !== 'recusada') {\n <hm-tag [name]=\"text.waiting[s.waiting_on]\" [color]=\"waitingColors[s.waiting_on]\" />\n }\n <!-- O apoio fica fora das abas: vale para as duas. -->\n <hm-button class=\"ssp-detail__support\" size=\"small\" emphasis=\"medium\" icon=\"thumbs-up\" toggle [pressed]=\"s.voted\"\n [disabled]=\"s.mine || isVoting(s.id)\" (clicked)=\"toggleSupport(s)\">{{ supportText(s) }}</hm-button>\n </div>\n @if (waitingOnMe()) {\n <hm-alert variant=\"warning\">{{ page.waitingYou }}</hm-alert>\n }\n\n <hm-tabs [label]=\"page.details\" [active]=\"tab()\" (activeChange)=\"pickTab($event)\">\n <hm-tab id=\"details\" [label]=\"page.details\">\n <div class=\"ssp-detail__body\">\n @if (!s.can_comment) {\n <hm-alert variant=\"info\">{{ page.readOnly }}</hm-alert>\n }\n @if (s.description_html) {\n <hm-rich-text class=\"ssp-detail__description\" [label]=\"text.description\" labelHidden readonly hideToolbar [value]=\"s.description_html\" />\n } @else if (s.description) {\n <p class=\"ssp-detail__description\">{{ s.description }}</p>\n }\n @if (s.attachments?.length) {\n <spine-suggestion-attachments class=\"ssp-detail__attachments\" [attachments]=\"s.attachments!\" [loader]=\"attachmentLoader\"\n [canRemove]=\"canRemoveAttachment\" (remove)=\"removeAttachment($event)\" />\n } @else {\n <p class=\"ssp__hint\">{{ text.noDescription }}</p>\n }\n\n <dl class=\"ssp-detail__facts\">\n <dt>{{ text.screenOrigin }}</dt>\n <dd>\n @if (s.screen.new) { <span class=\"ssp__new-screen\">{{ text.newScreenTag }}</span> }\n {{ screenText(s) }}\n </dd>\n <dt>{{ text.requestedBy }}</dt>\n <dd>\n <hm-account-avatar size=\"small\" [name]=\"personName(s.author)\" [imageUrl]=\"s.author?.picture\" />\n {{ personName(s.author) }} \u00B7 {{ age(s.created_at) }}\n </dd>\n <!-- Os grupos em linha, no modelo dos r\u00F3tulos (o que n\u00E3o cabe vira \"+N\"), como no quadro da equipe. -->\n <dt>{{ page.groups }}</dt>\n <dd class=\"ssp-detail__groups\"><spine-tag-row [label]=\"page.groups\" [items]=\"s.groups\" [empty]=\"text.noGroups\" /></dd>\n <dt>{{ text.assignees }}</dt>\n <dd>\n @for (p of s.assignees; track p.user_id) {\n <hm-account-avatar size=\"small\" [name]=\"personName(p)\" [imageUrl]=\"p.picture\" />\n <span>{{ personName(p) }}</span>\n } @empty { <span class=\"ssp__hint\">{{ text.nobody }}</span> }\n </dd>\n <dt>{{ text.createdAt }}</dt>\n <dd>{{ date(s.created_at) }}</dd>\n </dl>\n\n @for (r of s.reasons; track r) {\n <p class=\"ssp__hint\">{{ page.reasonHints[r] }}</p>\n }\n @for (m of s.merged_from; track m.id) {\n <p class=\"ssp-detail__merged\">{{ mergedFromText(m.key, s.key) }}</p>\n }\n\n </div>\n </hm-tab>\n <!-- A conversa \u00E9 de quem pediu, foi agrupado ou participa (can_comment); quem s\u00F3 v\u00EA pelo grupo fica com os Detalhes. -->\n @if (s.can_comment) {\n <hm-tab id=\"conversation\" [label]=\"page.conversation\" [count]=\"s.comments_count || null\">\n @if (conversation()?.error) {\n <hm-alert variant=\"error\">{{ page.conversationError }}</hm-alert>\n }\n <!-- A conversa em chat: \u00E0 direita o que a pessoa escreveu como quem pede; o resto (inclusive ela mesma como\n equipe) \u00E0 esquerda, com o papel no cabe\u00E7alho. -->\n <spine-suggestion-chat class=\"ssp-detail__chat\" side=\"solicitante\" [me]=\"me()\" [items]=\"chatItems()\"\n [label]=\"page.conversation\" [empty]=\"page.conversationEmpty\"\n [hasMore]=\"(conversation()?.messages?.length ?? 0) < (conversation()?.total ?? 0)\"\n [loading]=\"!!conversation()?.loading\"\n [composerLabel]=\"page.reply\" [placeholder]=\"page.replyPlaceholder\" [sendLabel]=\"page.replySend\"\n [sending]=\"sending()\" [(draft)]=\"reply\" (loadHistory)=\"loadOlder()\" (send)=\"send($event)\"\n [attachmentLoader]=\"attachmentLoader\" [canRemoveAttachment]=\"canRemoveAttachment\" canAttach\n [(files)]=\"replyFiles\" (removeAttachment)=\"removeAttachment($event)\" />\n </hm-tab>\n }\n\n </hm-tabs>\n </div>\n } @else {\n <p class=\"ssp__hint\">{{ page.pickOne }}</p>\n }\n</hm-drawer>\n\n<spine-suggestions-dialog [(view)]=\"dialog\" [onPage]=\"true\" (created)=\"onCreated($event)\" />\n", dependencies: [{ kind: "component", type: AccountAvatarComponent, selector: "hm-account-avatar", inputs: ["name", "imageUrl", "size", "loading", "presence", "texts"] }, { kind: "component", type: AlertComponent, selector: "hm-alert", inputs: ["variant", "appearance", "heading", "closable", "size", "showIcon", "link", "linkLabel", "linkTarget", "dismissKey", "duration"], outputs: ["closed"] }, { 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: DrawerComponent, selector: "hm-drawer", inputs: ["open", "heading", "size", "position", "pinned", "scope", "closeLabel", "closable", "closeOnBackdrop", "beforeClose"], outputs: ["openChange", "closed"] }, { kind: "component", type: EmptyComponent, selector: "hm-empty", inputs: ["heading", "description", "icon", "appearance", "size", "headingLevel"] }, { kind: "component", type: FilterBarComponent, selector: "hm-filter-bar", inputs: ["filters", "value", "label", "savedFilters", "storageKey", "storage", "applyDefault"], outputs: ["valueChange", "savedChange", "savedApplied"] }, { kind: "component", type: IconComponent, selector: "hm-icon", inputs: ["shape", "direction", "size", "solid", "badge", "status", "flip", "inverse", "label"] }, { kind: "component", type: MenuButtonComponent, selector: "hm-menu-button", inputs: ["label", "icon", "items", "showArrow", "align", "side", "size", "shape", "layer", "closeOnCheck", "disabled"], outputs: ["chosen", "checkedChange"] }, { kind: "component", type: PaginatorComponent, selector: "hm-paginator", inputs: ["state", "totalItems", "variant", "label", "showPage", "hasNext", "hasPrevious", "sizes", "maxNumbers"], outputs: ["stateChanged", "nextPage", "previousPage"] }, { kind: "component", type: RichTextComponent, selector: "hm-rich-text", inputs: ["value", "label", "labelHidden", "hint", "placeholder", "readonly", "loading", "tools", "headingLevels", "hideToolbar", "rows", "maxRows", "maxLength", "showCounter", "pasteMode", "linkProtocols", "allowRelativeLinks", "spellcheck"], outputs: ["valueChange", "focusChange"] }, { kind: "component", type: SearchFieldComponent, selector: "hm-search-field", inputs: ["value", "label", "labelHidden", "placeholder", "hint", "size", "debounce", "landmark", "loading"], outputs: ["valueChange", "search", "cleared"] }, { kind: "component", type: SegmentedControlComponent, selector: "hm-segmented-control", inputs: ["options", "value", "label", "size", "emphasis"], outputs: ["valueChange"] }, { kind: "component", type: SpineSuggestionAttachmentsComponent, selector: "spine-suggestion-attachments", inputs: ["attachments", "loader", "canRemove"], outputs: ["remove"] }, { kind: "component", type: SpineSuggestionChatComponent, selector: "spine-suggestion-chat", inputs: ["items", "side", "me", "label", "empty", "hasMore", "loading", "canWrite", "composerLabel", "placeholder", "sendLabel", "sending", "error", "draft", "attachmentLoader", "canRemoveAttachment", "canAttach", "files"], outputs: ["draftChange", "filesChange", "removeAttachment", "loadHistory", "send"] }, { kind: "component", type: SpineSuggestionsDialogComponent, selector: "spine-suggestions-dialog", inputs: ["view", "screenPath", "screenLabel", "onPage"], outputs: ["viewChange", "created"] }, { kind: "component", type: SpineTagRowComponent, selector: "spine-tag-row", inputs: ["items", "label", "empty"] }, { kind: "component", type: TabComponent, selector: "hm-tab", inputs: ["id", "label", "disabled", "count", "route", "exact", "destroyOnHide"] }, { kind: "component", type: TabsComponent, selector: "hm-tabs", inputs: ["label", "active", "orientation", "mode", "overflow", "fillHeight", "noPanelGap"], outputs: ["activeChange"] }, { kind: "component", type: TagComponent, selector: "hm-tag", inputs: ["name", "color", "compact"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
565
|
+
}
|
|
566
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.24", ngImport: i0, type: SpineSuggestionsPageComponent, decorators: [{
|
|
567
|
+
type: Component,
|
|
568
|
+
args: [{ selector: 'spine-suggestions-page', imports: [
|
|
569
|
+
AccountAvatarComponent, AlertComponent, ButtonComponent, DrawerComponent, EmptyComponent, FilterBarComponent,
|
|
570
|
+
IconComponent, MenuButtonComponent, PaginatorComponent, RichTextComponent, SearchFieldComponent,
|
|
571
|
+
SegmentedControlComponent, SpineSuggestionAttachmentsComponent, SpineSuggestionChatComponent, SpineSuggestionsDialogComponent, SpineTagRowComponent, TabComponent, TabsComponent,
|
|
572
|
+
TagComponent,
|
|
573
|
+
], changeDetection: ChangeDetectionStrategy.OnPush, template: "<section class=\"ssp\" [attr.aria-label]=\"page.listLabel\">\n <!-- Cabe\u00E7alho numa linha: o recorte, quantas (e quantas em cada status), a ordem e o \"Sugerir melhoria\". -->\n <header class=\"ssp__head\">\n <h2 class=\"ssp__heading\">{{ heading() }}</h2>\n <span class=\"ssp__count\" aria-live=\"polite\">{{ countText() }}</span>\n @for (part of statusParts(); track part.status) {\n <span class=\"ssp__status-part\" [attr.data-status]=\"part.status\"><span class=\"ssp__dot\" aria-hidden=\"true\"></span>{{ part.text }}</span>\n }\n <span class=\"ssp__spacer\"></span>\n <hm-segmented-control class=\"ssp__sort\" size=\"small\" [label]=\"text.sort\" [options]=\"sortOptions\" [value]=\"sort()\"\n (valueChange)=\"onSort($event)\" />\n <hm-button size=\"small\" icon=\"plus\" (clicked)=\"suggest()\">{{ text.button }}</hm-button>\n </header>\n\n <!-- Busca e o recorte (por que a pessoa v\u00EA, com as contagens do servidor) na mesma linha. -->\n <div class=\"ssp__bar\">\n <hm-search-field class=\"ssp__search\" [label]=\"text.appSearch\" labelHidden [placeholder]=\"text.appSearch\"\n [landmark]=\"false\" [debounce]=\"300\" [value]=\"search()\" (search)=\"onSearch($event)\" />\n <hm-segmented-control class=\"ssp__scope\" size=\"small\" emphasis=\"action\" [label]=\"page.reasonFilter\"\n [options]=\"scopeOptions()\" [value]=\"scope()\" (valueChange)=\"pickScope($event)\" />\n </div>\n\n <!-- Filtros do Trismegisto: um bot\u00E3o por campo e, aplicados, as fichas remov\u00EDveis com \"Limpar tudo\". -->\n <hm-filter-bar class=\"ssp__filters\" [label]=\"page.filtersLabel\" [filters]=\"filterFields()\" [value]=\"filterValue()\"\n (valueChange)=\"onFilters($event)\" />\n\n @if (error()) {\n <hm-alert variant=\"error\">{{ error() }}</hm-alert>\n } @else if (!loading() && list().length === 0) {\n @if (filtered()) {\n <hm-empty icon=\"filter\" [heading]=\"page.emptyFiltered\" />\n } @else {\n <hm-empty icon=\"lightbulb\" [heading]=\"page.empty\" [description]=\"page.emptyHint\" />\n }\n }\n\n <ul class=\"ssp__list\" [attr.aria-busy]=\"loading() ? 'true' : null\">\n @for (s of list(); track s.id) {\n <li class=\"ssp__item\" [class.ssp__item--open]=\"selected()?.id === s.id\" [class.ssp__item--unread]=\"s.unread > 0\">\n <div class=\"ssp__item-meta\">\n <span class=\"ssp__key\">{{ s.key }}</span>\n <span class=\"ssp__status\" [attr.data-status]=\"s.status\"><span class=\"ssp__dot\" aria-hidden=\"true\"></span>{{ text.statuses[s.status] }}</span>\n <span class=\"ssp__kind\" [attr.data-kind]=\"s.kind\"><hm-icon [shape]=\"kindIcons[s.kind]\" />{{ text.kinds[s.kind] }}</span>\n @if (s.unread) { <span class=\"ssp__unread\">{{ unreadText(s.unread) }}</span> }\n <span class=\"ssp__menu\">\n <hm-menu-button size=\"small\" icon=\"ellipsis-vertical\" [showArrow]=\"false\" align=\"end\" [label]=\"menuLabel(s)\"\n [items]=\"itemMenu\" (chosen)=\"onMenu(s, $event)\" />\n </span>\n </div>\n <!-- O t\u00EDtulo \u00E9 o bot\u00E3o que abre a sugest\u00E3o na gaveta. -->\n <button type=\"button\" class=\"ssp__item-title\" aria-haspopup=\"dialog\" (click)=\"open(s)\">{{ s.title }}</button>\n <div class=\"ssp__item-screen\">\n <hm-icon [shape]=\"s.screen.new ? 'plus' : 'application'\" />\n @if (screenModule(s); as module) {\n <span class=\"ssp__screen-module\">{{ module }}</span><hm-icon class=\"ssp__screen-sep\" shape=\"angle-right\" />\n }\n <strong class=\"ssp__screen-name\">{{ screenShort(s) }}</strong>\n @if (s.screen.new) { <span class=\"ssp__new-screen\">{{ text.newScreenTag }}</span> }\n @if (s.waiting_on && s.status !== 'concluida' && s.status !== 'recusada') {\n <hm-tag [name]=\"text.waiting[s.waiting_on]\" [color]=\"waitingColors[s.waiting_on]\" />\n }\n </div>\n @if (excerptOf(s); as ex) {\n <p class=\"ssp__excerpt\">{{ ex }}</p>\n }\n <div class=\"ssp__item-foot\">\n <hm-account-avatar size=\"small\" [name]=\"personName(s.author)\" [imageUrl]=\"s.author?.picture\" />\n <span class=\"ssp__byline\">\n <span class=\"ssp__byline-name\">{{ personName(s.author) }}</span>\n <time [attr.datetime]=\"s.last_activity_at || s.updated_at\">{{ age(s.last_activity_at || s.updated_at) }}</time>\n </span>\n <span class=\"ssp__counts\">\n @if (s.can_comment) {\n <span class=\"ssp__count-item\" [attr.title]=\"commentsText(s.comments_count)\">\n <hm-icon shape=\"comment-message\" /><span aria-hidden=\"true\">{{ s.comments_count }}</span><span class=\"ssp__sr\">{{ commentsText(s.comments_count) }}</span>\n </span>\n }\n <!-- Apoiar direto no cart\u00E3o (a pr\u00F3pria s\u00F3 mostra a contagem: ningu\u00E9m apoia o que pediu). -->\n @if (s.mine) {\n <span class=\"ssp__count-item\" [attr.title]=\"votesText(s.votes)\">\n <hm-icon shape=\"thumbs-up\" /><span aria-hidden=\"true\">{{ s.votes }}</span><span class=\"ssp__sr\">{{ votesText(s.votes) }}</span>\n </span>\n } @else {\n <hm-button class=\"ssp__support\" size=\"small\" emphasis=\"minimal\" icon=\"thumbs-up\" toggle [pressed]=\"s.voted\"\n [disabled]=\"isVoting(s.id)\" [attr.title]=\"supportText(s)\" (clicked)=\"toggleSupport(s)\">\n <span aria-hidden=\"true\">{{ s.votes }}</span><span class=\"ssp__sr\">{{ supportText(s) }}</span>\n </hm-button>\n }\n </span>\n </div>\n </li>\n }\n </ul>\n\n @if (total() > pagination().size) {\n <hm-paginator variant=\"simple\" [label]=\"text.appPagination\" [state]=\"pagination()\" [totalItems]=\"total()\"\n [sizes]=\"[20, 50]\" (stateChanged)=\"onPage($event)\" />\n }\n</section>\n\n<!-- A sugest\u00E3o aberta: gaveta com as abas Conversa (o chat) e Detalhes. -->\n<hm-drawer [heading]=\"drawerHeading()\" size=\"large\" [open]=\"panelOpen()\" (openChange)=\"$event || close()\">\n @if (detailError()) {\n <hm-alert variant=\"error\">{{ detailError() }}</hm-alert>\n } @else if (selected(); as s) {\n <div class=\"ssp-detail\" [class.ssp-detail--alert]=\"waitingOnMe()\">\n <div class=\"ssp__item-meta\">\n <span class=\"ssp__key\">{{ s.key }}</span>\n <span class=\"ssp__status\" [attr.data-status]=\"s.status\"><span class=\"ssp__dot\" aria-hidden=\"true\"></span>{{ text.statuses[s.status] }}</span>\n <span class=\"ssp__kind\" [attr.data-kind]=\"s.kind\"><hm-icon [shape]=\"kindIcons[s.kind]\" />{{ text.kinds[s.kind] }}</span>\n @if (s.archived) { <hm-tag [name]=\"text.archivedTag\" /> }\n @if (s.waiting_on && s.status !== 'concluida' && s.status !== 'recusada') {\n <hm-tag [name]=\"text.waiting[s.waiting_on]\" [color]=\"waitingColors[s.waiting_on]\" />\n }\n <!-- O apoio fica fora das abas: vale para as duas. -->\n <hm-button class=\"ssp-detail__support\" size=\"small\" emphasis=\"medium\" icon=\"thumbs-up\" toggle [pressed]=\"s.voted\"\n [disabled]=\"s.mine || isVoting(s.id)\" (clicked)=\"toggleSupport(s)\">{{ supportText(s) }}</hm-button>\n </div>\n @if (waitingOnMe()) {\n <hm-alert variant=\"warning\">{{ page.waitingYou }}</hm-alert>\n }\n\n <hm-tabs [label]=\"page.details\" [active]=\"tab()\" (activeChange)=\"pickTab($event)\">\n <hm-tab id=\"details\" [label]=\"page.details\">\n <div class=\"ssp-detail__body\">\n @if (!s.can_comment) {\n <hm-alert variant=\"info\">{{ page.readOnly }}</hm-alert>\n }\n @if (s.description_html) {\n <hm-rich-text class=\"ssp-detail__description\" [label]=\"text.description\" labelHidden readonly hideToolbar [value]=\"s.description_html\" />\n } @else if (s.description) {\n <p class=\"ssp-detail__description\">{{ s.description }}</p>\n }\n @if (s.attachments?.length) {\n <spine-suggestion-attachments class=\"ssp-detail__attachments\" [attachments]=\"s.attachments!\" [loader]=\"attachmentLoader\"\n [canRemove]=\"canRemoveAttachment\" (remove)=\"removeAttachment($event)\" />\n } @else {\n <p class=\"ssp__hint\">{{ text.noDescription }}</p>\n }\n\n <dl class=\"ssp-detail__facts\">\n <dt>{{ text.screenOrigin }}</dt>\n <dd>\n @if (s.screen.new) { <span class=\"ssp__new-screen\">{{ text.newScreenTag }}</span> }\n {{ screenText(s) }}\n </dd>\n <dt>{{ text.requestedBy }}</dt>\n <dd>\n <hm-account-avatar size=\"small\" [name]=\"personName(s.author)\" [imageUrl]=\"s.author?.picture\" />\n {{ personName(s.author) }} \u00B7 {{ age(s.created_at) }}\n </dd>\n <!-- Os grupos em linha, no modelo dos r\u00F3tulos (o que n\u00E3o cabe vira \"+N\"), como no quadro da equipe. -->\n <dt>{{ page.groups }}</dt>\n <dd class=\"ssp-detail__groups\"><spine-tag-row [label]=\"page.groups\" [items]=\"s.groups\" [empty]=\"text.noGroups\" /></dd>\n <dt>{{ text.assignees }}</dt>\n <dd>\n @for (p of s.assignees; track p.user_id) {\n <hm-account-avatar size=\"small\" [name]=\"personName(p)\" [imageUrl]=\"p.picture\" />\n <span>{{ personName(p) }}</span>\n } @empty { <span class=\"ssp__hint\">{{ text.nobody }}</span> }\n </dd>\n <dt>{{ text.createdAt }}</dt>\n <dd>{{ date(s.created_at) }}</dd>\n </dl>\n\n @for (r of s.reasons; track r) {\n <p class=\"ssp__hint\">{{ page.reasonHints[r] }}</p>\n }\n @for (m of s.merged_from; track m.id) {\n <p class=\"ssp-detail__merged\">{{ mergedFromText(m.key, s.key) }}</p>\n }\n\n </div>\n </hm-tab>\n <!-- A conversa \u00E9 de quem pediu, foi agrupado ou participa (can_comment); quem s\u00F3 v\u00EA pelo grupo fica com os Detalhes. -->\n @if (s.can_comment) {\n <hm-tab id=\"conversation\" [label]=\"page.conversation\" [count]=\"s.comments_count || null\">\n @if (conversation()?.error) {\n <hm-alert variant=\"error\">{{ page.conversationError }}</hm-alert>\n }\n <!-- A conversa em chat: \u00E0 direita o que a pessoa escreveu como quem pede; o resto (inclusive ela mesma como\n equipe) \u00E0 esquerda, com o papel no cabe\u00E7alho. -->\n <spine-suggestion-chat class=\"ssp-detail__chat\" side=\"solicitante\" [me]=\"me()\" [items]=\"chatItems()\"\n [label]=\"page.conversation\" [empty]=\"page.conversationEmpty\"\n [hasMore]=\"(conversation()?.messages?.length ?? 0) < (conversation()?.total ?? 0)\"\n [loading]=\"!!conversation()?.loading\"\n [composerLabel]=\"page.reply\" [placeholder]=\"page.replyPlaceholder\" [sendLabel]=\"page.replySend\"\n [sending]=\"sending()\" [(draft)]=\"reply\" (loadHistory)=\"loadOlder()\" (send)=\"send($event)\"\n [attachmentLoader]=\"attachmentLoader\" [canRemoveAttachment]=\"canRemoveAttachment\" canAttach\n [(files)]=\"replyFiles\" (removeAttachment)=\"removeAttachment($event)\" />\n </hm-tab>\n }\n\n </hm-tabs>\n </div>\n } @else {\n <p class=\"ssp__hint\">{{ page.pickOne }}</p>\n }\n</hm-drawer>\n\n<spine-suggestions-dialog [(view)]=\"dialog\" [onPage]=\"true\" (created)=\"onCreated($event)\" />\n" }]
|
|
574
|
+
}], ctorParameters: () => [], propDecorators: { chat: [{ type: i0.ViewChild, args: [i0.forwardRef(() => SpineSuggestionChatComponent), { isSignal: true }] }] } });
|
|
575
|
+
|
|
576
|
+
export { SpineSuggestionsPageComponent };
|
|
577
|
+
//# sourceMappingURL=trismegisto-angular-spine-layout-suggestions-page.component-CYcqjY8s.mjs.map
|