@trismegisto/angular 3.3.13 → 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 +73 -126
- 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 +225 -1109
- 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 +6 -17
- 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 +36 -45
- 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 +78 -118
- 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 +27 -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 +32 -34
- 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-overlay-stage.mjs +16 -0
- package/fesm2022/trismegisto-angular-overlay-stage.mjs.map +1 -0
- 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 +5 -4
- 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 +78 -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 -133
- 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 +25 -46
- 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/fesm2022/trismegisto-angular.mjs +1 -0
- package/fesm2022/trismegisto-angular.mjs.map +1 -1
- package/package.json +106 -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 +22 -35
- 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 +15 -5
- 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 +20 -22
- 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 +3 -0
- 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 +14 -3
- 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-overlay-stage.d.ts +20 -0
- package/types/trismegisto-angular-overlay-stage.d.ts.map +1 -0
- 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 +16 -6
- 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 -19
- 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
- package/types/trismegisto-angular.d.ts +1 -0
- package/types/trismegisto-angular.d.ts.map +1 -1
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { isPlatformBrowser } from '@angular/common';
|
|
2
2
|
import * as i0 from '@angular/core';
|
|
3
3
|
import { isDevMode, input, numberAttribute, booleanAttribute, model, output, inject, ElementRef, Injector, PLATFORM_ID, viewChild, signal, computed, linkedSignal, DestroyRef, effect, untracked, afterNextRender, ChangeDetectionStrategy, Component } from '@angular/core';
|
|
4
|
-
import { formatFileSize } from '@trismegisto/primitives/file-upload';
|
|
5
4
|
import { formatMessage } from '@trismegisto/primitives/i18n';
|
|
6
|
-
import { IMAGE_CROP_TYPES, imageCropRatio, rotatedImageSize, imageCropMaxZoom, imageCropMatrix, imageCropHandles, defaultImageCropRegion, sameImageCropRegion, normalizeImageCropRegion, fitImageCropRegionToWindow,
|
|
5
|
+
import { IMAGE_CROP_TYPES, imageCropRatio, rotatedImageSize, imageCropMaxZoom, imageCropLayout, imageCropMatrix, imageCropScreenBox, imageCropHandles, defaultImageCropRegion, sameImageCropRegion, normalizeImageCropRegion, fitImageCropRegionToWindow, normalizeImageCropRotation, revealImageCropRegion, clampImageCropZoom, imageCropWindow, rotateImageCropRegion, IMAGE_CROP_ZOOM_STEP, setImageCropDimension, imageCropFrameKeyRegion, imageCropHandleKeyRegion, imageCropKeyStep, IMAGE_CROP_CLICK_SLOP, imageCropWheelFactor, imageCropBounds, panImageCropWindow, moveImageCropRegion, imageCropSizingRegion, imageCropScreenToImage, centerImageCropRegionAt } from '@trismegisto/primitives/image-crop';
|
|
6
|
+
import { ImageCropFailure, exportImageCrop, loadImageCropSource, releaseImageCrop, imageCropError } from '@trismegisto/primitives/image-crop-io';
|
|
7
7
|
import { HERMES_MESSAGES } from '@trismegisto/angular/i18n';
|
|
8
8
|
import { ICON_EXCLAMATION_TRIANGLE, ICON_IMAGE, ICON_REFRESH, ICON_ROTATE_LEFT, ICON_ROTATE_RIGHT, ICON_ZOOM_IN, ICON_ZOOM_OUT, useHermesIcons, IconComponent } from '@trismegisto/angular/icon';
|
|
9
9
|
import { IconButtonComponent } from '@trismegisto/angular/icon-button';
|
|
@@ -13,26 +13,6 @@ import { ToolbarComponent } from '@trismegisto/angular/toolbar';
|
|
|
13
13
|
|
|
14
14
|
const IMAGE_CROP_ICONS = [ICON_EXCLAMATION_TRIANGLE, ICON_IMAGE, ICON_REFRESH, ICON_ROTATE_LEFT, ICON_ROTATE_RIGHT, ICON_ZOOM_IN, ICON_ZOOM_OUT];
|
|
15
15
|
|
|
16
|
-
/** Falha interna com o código; a mensagem do catálogo é montada na hora de mostrar. */
|
|
17
|
-
class CropFailure {
|
|
18
|
-
code;
|
|
19
|
-
cause;
|
|
20
|
-
params;
|
|
21
|
-
constructor(code, cause, params = {}) {
|
|
22
|
-
this.code = code;
|
|
23
|
-
this.cause = cause;
|
|
24
|
-
this.params = params;
|
|
25
|
-
}
|
|
26
|
-
}
|
|
27
|
-
const OUTPUT_TYPES = ['image/png', 'image/jpeg', 'image/webp'];
|
|
28
|
-
/** Fator de cada clique de zoom. */
|
|
29
|
-
const ZOOM_STEP = 1.25;
|
|
30
|
-
/** Fator das teclas + e −. */
|
|
31
|
-
const KEY_SCALE = 1.1;
|
|
32
|
-
/** Menor lado da área, em pixels de tela, durante um gesto. */
|
|
33
|
-
const MIN_SCREEN_SIZE = 24;
|
|
34
|
-
/** Deslocamento abaixo do qual um toque no fundo é clique, não arrasto. */
|
|
35
|
-
const CLICK_SLOP = 4;
|
|
36
16
|
const ANNOUNCE_DELAY = 500;
|
|
37
17
|
const LIVE_EXPORT_DELAY = 250;
|
|
38
18
|
const warned = new Set();
|
|
@@ -185,18 +165,7 @@ class ImageCropComponent {
|
|
|
185
165
|
/** Projeção na tela: escala (px de tela por px da imagem) e caixa da vista dentro do palco. */
|
|
186
166
|
layout = computed(() => {
|
|
187
167
|
const win = this.window();
|
|
188
|
-
|
|
189
|
-
return null;
|
|
190
|
-
const stage = this.#stage();
|
|
191
|
-
let scale = 1;
|
|
192
|
-
let left = 0;
|
|
193
|
-
let top = 0;
|
|
194
|
-
if (stage && stage.width > 0 && stage.height > 0) {
|
|
195
|
-
scale = Math.min(stage.width / win.width, stage.height / win.height);
|
|
196
|
-
left = (stage.width - win.width * scale) / 2;
|
|
197
|
-
top = (stage.height - win.height * scale) / 2;
|
|
198
|
-
}
|
|
199
|
-
return { scale, left, top, width: win.width * scale, height: win.height * scale, win };
|
|
168
|
+
return win ? imageCropLayout(win, this.#stage()) : null;
|
|
200
169
|
}, ...(ngDevMode ? [{ debugName: "layout" }] : /* istanbul ignore next */ []));
|
|
201
170
|
aspect = computed(() => {
|
|
202
171
|
const size = this.size();
|
|
@@ -213,15 +182,7 @@ class ImageCropComponent {
|
|
|
213
182
|
box = computed(() => {
|
|
214
183
|
const region = this.#region();
|
|
215
184
|
const layout = this.layout();
|
|
216
|
-
|
|
217
|
-
return null;
|
|
218
|
-
const { scale, win } = layout;
|
|
219
|
-
return {
|
|
220
|
-
left: (region.x - win.x) * scale,
|
|
221
|
-
top: (region.y - win.y) * scale,
|
|
222
|
-
width: region.width * scale,
|
|
223
|
-
height: region.height * scale,
|
|
224
|
-
};
|
|
185
|
+
return region && layout ? imageCropScreenBox(region, layout) : null;
|
|
225
186
|
}, ...(ngDevMode ? [{ debugName: "box" }] : /* istanbul ignore next */ []));
|
|
226
187
|
handles = computed(() => imageCropHandles(this.effectiveRatio()), ...(ngDevMode ? [{ debugName: "handles" }] : /* istanbul ignore next */ []));
|
|
227
188
|
currentRegion = this.#region.asReadonly();
|
|
@@ -335,41 +296,21 @@ class ImageCropComponent {
|
|
|
335
296
|
const image = this.image();
|
|
336
297
|
const region = this.#region();
|
|
337
298
|
if (this.state() !== 'ready' || !image || !region)
|
|
338
|
-
throw this.cropError(new
|
|
339
|
-
const rotation = this.#rotation();
|
|
340
|
-
const requested = options.type ?? this.exportType();
|
|
341
|
-
const type = OUTPUT_TYPES.includes(requested) ? requested : 'image/png';
|
|
342
|
-
const rawQuality = options.quality ?? this.exportQuality();
|
|
343
|
-
const quality = Number.isFinite(rawQuality) ? Math.min(1, Math.max(0, rawQuality)) : 0.9;
|
|
344
|
-
const mask = (options.mask ?? this.exportMask()) && this.shape() === 'round';
|
|
345
|
-
const fill = this.validFill(options.fill ?? this.exportFill());
|
|
346
|
-
const out = imageCropOutputSize(region, {
|
|
347
|
-
maxWidth: options.maxWidth ?? this.exportMaxWidth(),
|
|
348
|
-
maxHeight: options.maxHeight ?? this.exportMaxHeight(),
|
|
349
|
-
});
|
|
350
|
-
let blob;
|
|
299
|
+
throw this.cropError(new ImageCropFailure('empty'));
|
|
351
300
|
try {
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
301
|
+
return await exportImageCrop(image, region, this.#rotation(), {
|
|
302
|
+
type: options.type ?? this.exportType(),
|
|
303
|
+
quality: options.quality ?? this.exportQuality(),
|
|
304
|
+
mask: (options.mask ?? this.exportMask()) && this.shape() === 'round',
|
|
305
|
+
fill: options.fill ?? this.exportFill(),
|
|
306
|
+
maxWidth: options.maxWidth ?? this.exportMaxWidth(),
|
|
307
|
+
maxHeight: options.maxHeight ?? this.exportMaxHeight(),
|
|
308
|
+
as: options.as ?? 'blob',
|
|
309
|
+
}, devWarn);
|
|
357
310
|
}
|
|
358
|
-
|
|
359
|
-
throw this.cropError(new
|
|
360
|
-
const actual = blob.type || type;
|
|
361
|
-
if (actual !== type)
|
|
362
|
-
devWarn(`type:${type}`, `o navegador não codifica ${type}; a saída saiu como ${actual}.`);
|
|
363
|
-
const result = { blob, type: actual, width: out.width, height: out.height, region: { ...region }, rotation };
|
|
364
|
-
if ((options.as ?? 'blob') === 'data-url') {
|
|
365
|
-
try {
|
|
366
|
-
return { ...result, dataUrl: await readDataUrl(blob) };
|
|
367
|
-
}
|
|
368
|
-
catch (cause) {
|
|
369
|
-
throw this.cropError(new CropFailure('encode', cause));
|
|
370
|
-
}
|
|
311
|
+
catch (failure) {
|
|
312
|
+
throw this.cropError(failure instanceof ImageCropFailure ? failure : new ImageCropFailure('encode', failure));
|
|
371
313
|
}
|
|
372
|
-
return result;
|
|
373
314
|
}
|
|
374
315
|
/** Volta a área padrão, zoom 1 e giro 0; anuncia. */
|
|
375
316
|
reset() {
|
|
@@ -438,56 +379,22 @@ class ImageCropComponent {
|
|
|
438
379
|
async load(src, token, signal) {
|
|
439
380
|
const alive = () => token === this.#loadToken;
|
|
440
381
|
try {
|
|
441
|
-
const
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
if (!alive())
|
|
453
|
-
return;
|
|
454
|
-
if (!type || !this.accept().includes(type))
|
|
455
|
-
throw new CropFailure('type');
|
|
456
|
-
if (typeof URL.createObjectURL !== 'function')
|
|
457
|
-
throw new CropFailure('decode');
|
|
458
|
-
const url = URL.createObjectURL(blob);
|
|
459
|
-
const element = new Image();
|
|
460
|
-
element.decoding = 'async';
|
|
461
|
-
element.src = url;
|
|
462
|
-
try {
|
|
463
|
-
await element.decode();
|
|
464
|
-
}
|
|
465
|
-
catch (cause) {
|
|
466
|
-
revoke(url);
|
|
467
|
-
throw new CropFailure('decode', cause);
|
|
468
|
-
}
|
|
469
|
-
const width = element.naturalWidth;
|
|
470
|
-
const height = element.naturalHeight;
|
|
471
|
-
if (!alive()) {
|
|
472
|
-
revoke(url);
|
|
473
|
-
return;
|
|
474
|
-
}
|
|
475
|
-
if (!width || !height) {
|
|
476
|
-
revoke(url);
|
|
477
|
-
throw new CropFailure('decode');
|
|
478
|
-
}
|
|
479
|
-
if (width * height > this.maxPixels()) {
|
|
480
|
-
revoke(url);
|
|
481
|
-
element.removeAttribute('src');
|
|
482
|
-
const n = this.numberFormat();
|
|
483
|
-
throw new CropFailure('pixels', undefined, { width: n.format(width), height: n.format(height) });
|
|
484
|
-
}
|
|
485
|
-
this.onReady(url, element, { width, height, type, bytes: blob.size });
|
|
382
|
+
const loaded = await loadImageCropSource(src, {
|
|
383
|
+
accept: this.accept(),
|
|
384
|
+
maxSize: this.maxSize(),
|
|
385
|
+
maxPixels: this.maxPixels(),
|
|
386
|
+
credentials: this.credentials(),
|
|
387
|
+
locale: this.locale,
|
|
388
|
+
signal,
|
|
389
|
+
alive,
|
|
390
|
+
});
|
|
391
|
+
if (loaded)
|
|
392
|
+
this.onReady(loaded);
|
|
486
393
|
}
|
|
487
394
|
catch (failure) {
|
|
488
395
|
if (!alive())
|
|
489
396
|
return;
|
|
490
|
-
const error = this.cropError(failure instanceof
|
|
397
|
+
const error = this.cropError(failure instanceof ImageCropFailure ? failure : new ImageCropFailure('network', failure));
|
|
491
398
|
this.state.set('error');
|
|
492
399
|
this.error.set(error);
|
|
493
400
|
this.emitRegion(null);
|
|
@@ -495,38 +402,9 @@ class ImageCropComponent {
|
|
|
495
402
|
this.failed.emit(error);
|
|
496
403
|
}
|
|
497
404
|
}
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
return src;
|
|
502
|
-
const base = typeof document !== 'undefined' ? document.baseURI : 'http://localhost/';
|
|
503
|
-
const target = resolveImageCropUrl(src, base);
|
|
504
|
-
if (target.kind === 'invalid')
|
|
505
|
-
throw new CropFailure('url');
|
|
506
|
-
if (target.kind === 'data') {
|
|
507
|
-
const bytes = imageCropDataUrlBytes(target.url);
|
|
508
|
-
if (!bytes)
|
|
509
|
-
throw new CropFailure('url');
|
|
510
|
-
return new Blob([bytes]);
|
|
511
|
-
}
|
|
512
|
-
let response;
|
|
513
|
-
try {
|
|
514
|
-
response = await fetch(target.url, { mode: 'cors', credentials: this.credentials(), signal });
|
|
515
|
-
}
|
|
516
|
-
catch (cause) {
|
|
517
|
-
throw new CropFailure('network', cause);
|
|
518
|
-
}
|
|
519
|
-
if (!response.ok)
|
|
520
|
-
throw new CropFailure('network', response.status);
|
|
521
|
-
try {
|
|
522
|
-
return await response.blob();
|
|
523
|
-
}
|
|
524
|
-
catch (cause) {
|
|
525
|
-
throw new CropFailure('network', cause);
|
|
526
|
-
}
|
|
527
|
-
}
|
|
528
|
-
onReady(url, element, info) {
|
|
529
|
-
this.image.set({ url, element, natural: { width: info.width, height: info.height }, info });
|
|
405
|
+
onReady(loaded) {
|
|
406
|
+
const info = loaded.info;
|
|
407
|
+
this.image.set(loaded);
|
|
530
408
|
this.state.set('ready');
|
|
531
409
|
const size = rotatedImageSize(info, this.#rotation());
|
|
532
410
|
const constraints = this.constraints();
|
|
@@ -546,39 +424,10 @@ class ImageCropComponent {
|
|
|
546
424
|
if (!image)
|
|
547
425
|
return;
|
|
548
426
|
this.image.set(null);
|
|
549
|
-
|
|
550
|
-
image.element.removeAttribute('src');
|
|
427
|
+
releaseImageCrop(image);
|
|
551
428
|
}
|
|
552
429
|
cropError(failure) {
|
|
553
|
-
|
|
554
|
-
let message;
|
|
555
|
-
switch (failure.code) {
|
|
556
|
-
case 'type':
|
|
557
|
-
message = formatMessage(text.errorType, { types: describeImageCropTypes(this.accept(), this.locale) });
|
|
558
|
-
break;
|
|
559
|
-
case 'size':
|
|
560
|
-
message = formatMessage(text.errorSize, failure.params);
|
|
561
|
-
break;
|
|
562
|
-
case 'pixels':
|
|
563
|
-
message = formatMessage(text.errorPixels, failure.params);
|
|
564
|
-
break;
|
|
565
|
-
case 'url':
|
|
566
|
-
message = text.errorUrl;
|
|
567
|
-
break;
|
|
568
|
-
case 'network':
|
|
569
|
-
message = text.errorNetwork;
|
|
570
|
-
break;
|
|
571
|
-
case 'decode':
|
|
572
|
-
message = text.errorDecode;
|
|
573
|
-
break;
|
|
574
|
-
case 'empty':
|
|
575
|
-
message = text.errorEmpty;
|
|
576
|
-
break;
|
|
577
|
-
case 'encode':
|
|
578
|
-
message = text.errorEncode;
|
|
579
|
-
break;
|
|
580
|
-
}
|
|
581
|
-
return failure.cause === undefined ? { code: failure.code, message } : { code: failure.code, message, cause: failure.cause };
|
|
430
|
+
return imageCropError(failure, this.text, this.accept(), this.locale);
|
|
582
431
|
}
|
|
583
432
|
// ---------------------------------------------------------------- estado
|
|
584
433
|
onRegionInput(value) {
|
|
@@ -627,9 +476,7 @@ class ImageCropComponent {
|
|
|
627
476
|
this.#view.set({ x: next.x, y: next.y });
|
|
628
477
|
}
|
|
629
478
|
applyZoom(value) {
|
|
630
|
-
const
|
|
631
|
-
const wanted = Number.isFinite(value) ? value : 1;
|
|
632
|
-
const next = this.ready() ? Math.min(max, Math.max(1, wanted)) : 1;
|
|
479
|
+
const next = clampImageCropZoom(value, this.maxZoomValue(), this.ready());
|
|
633
480
|
if (next !== value)
|
|
634
481
|
this.zoom.set(next);
|
|
635
482
|
if (next === this.#zoom())
|
|
@@ -674,7 +521,7 @@ class ImageCropComponent {
|
|
|
674
521
|
zoomBy(direction) {
|
|
675
522
|
if (!this.interactive())
|
|
676
523
|
return;
|
|
677
|
-
this.applyZoom(direction > 0 ? this.#zoom() *
|
|
524
|
+
this.applyZoom(direction > 0 ? this.#zoom() * IMAGE_CROP_ZOOM_STEP : this.#zoom() / IMAGE_CROP_ZOOM_STEP);
|
|
678
525
|
this.zoom.set(this.#zoom());
|
|
679
526
|
this.announce(formatMessage(this.text.zoomValue, { percent: this.zoomText() }));
|
|
680
527
|
this.scheduleExport();
|
|
@@ -750,43 +597,10 @@ class ImageCropComponent {
|
|
|
750
597
|
if (!region || !size)
|
|
751
598
|
return;
|
|
752
599
|
const step = this.step() * (event.shiftKey ? 10 : 1);
|
|
753
|
-
|
|
754
|
-
|
|
755
|
-
|
|
756
|
-
|
|
757
|
-
next = moveImageCropRegion(region, -step, 0, bounds);
|
|
758
|
-
break;
|
|
759
|
-
case 'ArrowRight':
|
|
760
|
-
next = moveImageCropRegion(region, step, 0, bounds);
|
|
761
|
-
break;
|
|
762
|
-
case 'ArrowUp':
|
|
763
|
-
next = moveImageCropRegion(region, 0, -step, bounds);
|
|
764
|
-
break;
|
|
765
|
-
case 'ArrowDown':
|
|
766
|
-
next = moveImageCropRegion(region, 0, step, bounds);
|
|
767
|
-
break;
|
|
768
|
-
case 'Home':
|
|
769
|
-
next = alignImageCropRegion(region, 'left', bounds);
|
|
770
|
-
break;
|
|
771
|
-
case 'End':
|
|
772
|
-
next = alignImageCropRegion(region, 'right', bounds);
|
|
773
|
-
break;
|
|
774
|
-
case 'PageUp':
|
|
775
|
-
next = alignImageCropRegion(region, 'top', bounds);
|
|
776
|
-
break;
|
|
777
|
-
case 'PageDown':
|
|
778
|
-
next = alignImageCropRegion(region, 'bottom', bounds);
|
|
779
|
-
break;
|
|
780
|
-
case '+':
|
|
781
|
-
case '=':
|
|
782
|
-
next = scaleImageCropRegion(region, KEY_SCALE, size, this.constraints());
|
|
783
|
-
break;
|
|
784
|
-
case '-':
|
|
785
|
-
next = scaleImageCropRegion(region, 1 / KEY_SCALE, size, this.constraints());
|
|
786
|
-
break;
|
|
787
|
-
default:
|
|
788
|
-
return;
|
|
789
|
-
}
|
|
600
|
+
// Setas movem, Home/End/PageUp/PageDown encostam nas bordas, + e − mudam o tamanho.
|
|
601
|
+
const next = imageCropFrameKeyRegion(event.key, region, size, step, this.constraints());
|
|
602
|
+
if (!next)
|
|
603
|
+
return;
|
|
790
604
|
event.preventDefault();
|
|
791
605
|
this.keyCommit(region, next);
|
|
792
606
|
}
|
|
@@ -803,27 +617,12 @@ class ImageCropComponent {
|
|
|
803
617
|
if (!region || !size)
|
|
804
618
|
return;
|
|
805
619
|
const step = this.step() * (event.shiftKey ? 10 : 1);
|
|
806
|
-
|
|
807
|
-
|
|
808
|
-
|
|
809
|
-
|
|
810
|
-
dw = step;
|
|
811
|
-
break;
|
|
812
|
-
case 'ArrowLeft':
|
|
813
|
-
dw = -step;
|
|
814
|
-
break;
|
|
815
|
-
case 'ArrowDown':
|
|
816
|
-
dh = step;
|
|
817
|
-
break;
|
|
818
|
-
case 'ArrowUp':
|
|
819
|
-
dh = -step;
|
|
820
|
-
break;
|
|
821
|
-
default:
|
|
822
|
-
return;
|
|
823
|
-
}
|
|
620
|
+
// Setas mudam a largura (→ ←) e a altura (↓ ↑).
|
|
621
|
+
const next = imageCropHandleKeyRegion(event.key, region, size, step, this.constraints());
|
|
622
|
+
if (!next)
|
|
623
|
+
return;
|
|
824
624
|
event.preventDefault();
|
|
825
|
-
|
|
826
|
-
this.keyCommit(region, resizeImageCropRegionBy(region, dw, dh, { ...c, image: size }));
|
|
625
|
+
this.keyCommit(region, next);
|
|
827
626
|
}
|
|
828
627
|
keyCommit(before, next) {
|
|
829
628
|
if (sameImageCropRegion(before, next))
|
|
@@ -835,7 +634,7 @@ class ImageCropComponent {
|
|
|
835
634
|
/** 1 px de tela em pixels da imagem (mínimo 1). */
|
|
836
635
|
step() {
|
|
837
636
|
const scale = this.layout()?.scale ?? 1;
|
|
838
|
-
return
|
|
637
|
+
return imageCropKeyStep(scale);
|
|
839
638
|
}
|
|
840
639
|
// ---------------------------------------------------------------- ponteiro
|
|
841
640
|
onPointerDown(event) {
|
|
@@ -886,7 +685,7 @@ class ImageCropComponent {
|
|
|
886
685
|
gesture.lastX = event.clientX;
|
|
887
686
|
gesture.lastY = event.clientY;
|
|
888
687
|
gesture.shift = event.shiftKey;
|
|
889
|
-
if (!gesture.moved && Math.hypot(event.clientX - gesture.startX, event.clientY - gesture.startY) < (gesture.kind === 'background' ?
|
|
688
|
+
if (!gesture.moved && Math.hypot(event.clientX - gesture.startX, event.clientY - gesture.startY) < (gesture.kind === 'background' ? IMAGE_CROP_CLICK_SLOP : 1)) {
|
|
890
689
|
return;
|
|
891
690
|
}
|
|
892
691
|
if (!gesture.moved) {
|
|
@@ -929,8 +728,7 @@ class ImageCropComponent {
|
|
|
929
728
|
if (!(event.ctrlKey || event.metaKey) || !this.interactive())
|
|
930
729
|
return;
|
|
931
730
|
event.preventDefault();
|
|
932
|
-
const
|
|
933
|
-
const factor = Math.exp(-event.deltaY * unit * 0.002);
|
|
731
|
+
const factor = imageCropWheelFactor(event.deltaY, event.deltaMode);
|
|
934
732
|
const before = this.#zoom();
|
|
935
733
|
this.applyZoom(before * factor);
|
|
936
734
|
if (this.#zoom() === before)
|
|
@@ -978,19 +776,14 @@ class ImageCropComponent {
|
|
|
978
776
|
case 'move':
|
|
979
777
|
this.commit(moveImageCropRegion(gesture.startRegion, dx, dy, bounds));
|
|
980
778
|
break;
|
|
981
|
-
case 'sizing':
|
|
982
|
-
|
|
983
|
-
const screenMin = Math.ceil(MIN_SCREEN_SIZE / scale);
|
|
984
|
-
const ratio = constraints.ratio ?? (gesture.shift ? start.width / start.height : null);
|
|
985
|
-
this.commit(resizeImageCropRegion(start, gesture.handle ?? 'se', dx, dy, {
|
|
779
|
+
case 'sizing':
|
|
780
|
+
this.commit(imageCropSizingRegion({ handle: gesture.handle, start: gesture.startRegion, shift: gesture.shift }, dx, dy, {
|
|
986
781
|
image: size,
|
|
987
782
|
bounds,
|
|
988
|
-
|
|
989
|
-
|
|
990
|
-
minHeight: Math.max(this.minHeight(), screenMin),
|
|
783
|
+
scale,
|
|
784
|
+
constraints,
|
|
991
785
|
}));
|
|
992
786
|
break;
|
|
993
|
-
}
|
|
994
787
|
case 'background': {
|
|
995
788
|
if (!gesture.panning)
|
|
996
789
|
return;
|
|
@@ -1012,9 +805,7 @@ class ImageCropComponent {
|
|
|
1012
805
|
const size = this.size();
|
|
1013
806
|
if (!view || !layout || !region || !size)
|
|
1014
807
|
return;
|
|
1015
|
-
const
|
|
1016
|
-
const x = (clientX - rect.left) / layout.scale + layout.win.x;
|
|
1017
|
-
const y = (clientY - rect.top) / layout.scale + layout.win.y;
|
|
808
|
+
const { x, y } = imageCropScreenToImage(clientX, clientY, view.getBoundingClientRect(), layout);
|
|
1018
809
|
const bounds = this.#zoom() > 1 ? layout.win : imageCropBounds(size);
|
|
1019
810
|
this.commit(centerImageCropRegionAt(region, x, y, bounds));
|
|
1020
811
|
}
|
|
@@ -1097,63 +888,6 @@ class ImageCropComponent {
|
|
|
1097
888
|
}, () => undefined);
|
|
1098
889
|
}, LIVE_EXPORT_DELAY);
|
|
1099
890
|
}
|
|
1100
|
-
// ---------------------------------------------------------------- canvas
|
|
1101
|
-
validFill(value) {
|
|
1102
|
-
const supports = typeof CSS !== 'undefined' && typeof CSS.supports === 'function';
|
|
1103
|
-
if (value && (!supports || CSS.supports('color', value)))
|
|
1104
|
-
return value;
|
|
1105
|
-
devWarn(`fill:${value}`, `exportFill inválido (${value}); usando branco.`);
|
|
1106
|
-
return '#ffffff';
|
|
1107
|
-
}
|
|
1108
|
-
/**
|
|
1109
|
-
* Desenha a área na saída. Reduções grandes vão em etapas pela metade (cada etapa com suavização alta),
|
|
1110
|
-
* que preservam detalhe melhor que um salto só.
|
|
1111
|
-
*/
|
|
1112
|
-
render(image, region, rotation, out, options) {
|
|
1113
|
-
let width = out.width;
|
|
1114
|
-
let height = out.height;
|
|
1115
|
-
let steps = 0;
|
|
1116
|
-
while (width * 2 <= region.width && height * 2 <= region.height && width * height * 4 <= 16_777_216) {
|
|
1117
|
-
width *= 2;
|
|
1118
|
-
height *= 2;
|
|
1119
|
-
steps += 1;
|
|
1120
|
-
}
|
|
1121
|
-
let canvas = createCanvas(width, height);
|
|
1122
|
-
let ctx = context(canvas);
|
|
1123
|
-
ctx.setTransform(width / region.width, 0, 0, height / region.height, 0, 0);
|
|
1124
|
-
ctx.transform(...imageCropMatrix(image.natural, rotation, region, 1));
|
|
1125
|
-
ctx.drawImage(image.element, 0, 0, image.natural.width, image.natural.height);
|
|
1126
|
-
while (steps > 0) {
|
|
1127
|
-
steps -= 1;
|
|
1128
|
-
const next = createCanvas(width / 2, height / 2);
|
|
1129
|
-
const nextCtx = context(next);
|
|
1130
|
-
nextCtx.drawImage(canvas, 0, 0, width / 2, height / 2);
|
|
1131
|
-
width /= 2;
|
|
1132
|
-
height /= 2;
|
|
1133
|
-
canvas = next;
|
|
1134
|
-
ctx = nextCtx;
|
|
1135
|
-
}
|
|
1136
|
-
ctx.setTransform(1, 0, 0, 1, 0, 0);
|
|
1137
|
-
if (options.mask) {
|
|
1138
|
-
ctx.globalCompositeOperation = 'destination-in';
|
|
1139
|
-
ctx.beginPath();
|
|
1140
|
-
ctx.ellipse(width / 2, height / 2, width / 2, height / 2, 0, 0, Math.PI * 2);
|
|
1141
|
-
ctx.fill();
|
|
1142
|
-
}
|
|
1143
|
-
if (options.fill) {
|
|
1144
|
-
// Sem alfa no formato: o que é transparente (da foto ou fora da elipse) vira a cor de fundo.
|
|
1145
|
-
ctx.globalCompositeOperation = 'destination-over';
|
|
1146
|
-
ctx.fillStyle = options.fill;
|
|
1147
|
-
ctx.fillRect(0, 0, width, height);
|
|
1148
|
-
}
|
|
1149
|
-
ctx.globalCompositeOperation = 'source-over';
|
|
1150
|
-
return canvas;
|
|
1151
|
-
}
|
|
1152
|
-
encode(canvas, type, quality) {
|
|
1153
|
-
if ('convertToBlob' in canvas)
|
|
1154
|
-
return canvas.convertToBlob({ type, quality });
|
|
1155
|
-
return new Promise((resolve) => canvas.toBlob(resolve, type, quality));
|
|
1156
|
-
}
|
|
1157
891
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.24", ngImport: i0, type: ImageCropComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1158
892
|
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.24", type: ImageCropComponent, isStandalone: true, selector: "hm-image-crop", inputs: { src: { classPropertyName: "src", publicName: "src", isSignal: true, isRequired: false, transformFunction: null }, label: { classPropertyName: "label", publicName: "label", isSignal: true, isRequired: true, transformFunction: null }, alt: { classPropertyName: "alt", publicName: "alt", isSignal: true, isRequired: false, transformFunction: null }, ratio: { classPropertyName: "ratio", publicName: "ratio", isSignal: true, isRequired: false, transformFunction: null }, shape: { classPropertyName: "shape", publicName: "shape", isSignal: true, isRequired: false, transformFunction: null }, minWidth: { classPropertyName: "minWidth", publicName: "minWidth", isSignal: true, isRequired: false, transformFunction: null }, minHeight: { classPropertyName: "minHeight", publicName: "minHeight", isSignal: true, isRequired: false, transformFunction: null }, accept: { classPropertyName: "accept", publicName: "accept", isSignal: true, isRequired: false, transformFunction: null }, maxSize: { classPropertyName: "maxSize", publicName: "maxSize", isSignal: true, isRequired: false, transformFunction: null }, maxPixels: { classPropertyName: "maxPixels", publicName: "maxPixels", isSignal: true, isRequired: false, transformFunction: null }, credentials: { classPropertyName: "credentials", publicName: "credentials", isSignal: true, isRequired: false, transformFunction: null }, maxZoom: { classPropertyName: "maxZoom", publicName: "maxZoom", isSignal: true, isRequired: false, transformFunction: null }, controls: { classPropertyName: "controls", publicName: "controls", isSignal: true, isRequired: false, transformFunction: null }, fields: { classPropertyName: "fields", publicName: "fields", isSignal: true, isRequired: false, transformFunction: null }, guides: { classPropertyName: "guides", publicName: "guides", isSignal: true, isRequired: false, transformFunction: null }, exportType: { classPropertyName: "exportType", publicName: "exportType", isSignal: true, isRequired: false, transformFunction: null }, exportQuality: { classPropertyName: "exportQuality", publicName: "exportQuality", isSignal: true, isRequired: false, transformFunction: null }, exportMaxWidth: { classPropertyName: "exportMaxWidth", publicName: "exportMaxWidth", isSignal: true, isRequired: false, transformFunction: null }, exportMaxHeight: { classPropertyName: "exportMaxHeight", publicName: "exportMaxHeight", isSignal: true, isRequired: false, transformFunction: null }, exportFill: { classPropertyName: "exportFill", publicName: "exportFill", isSignal: true, isRequired: false, transformFunction: null }, exportMask: { classPropertyName: "exportMask", publicName: "exportMask", isSignal: true, isRequired: false, transformFunction: null }, liveExport: { classPropertyName: "liveExport", publicName: "liveExport", isSignal: true, isRequired: false, transformFunction: null }, disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null }, region: { classPropertyName: "region", publicName: "region", isSignal: true, isRequired: false, transformFunction: null }, zoom: { classPropertyName: "zoom", publicName: "zoom", isSignal: true, isRequired: false, transformFunction: null }, rotation: { classPropertyName: "rotation", publicName: "rotation", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { region: "regionChange", zoom: "zoomChange", rotation: "rotationChange", loaded: "loaded", failed: "failed", exported: "exported" }, viewQueries: [{ propertyName: "surfaceRef", first: true, predicate: ["surface"], descendants: true, isSignal: true }, { propertyName: "viewRef", first: true, predicate: ["view"], descendants: true, isSignal: true }, { propertyName: "frameRef", first: true, predicate: ["frame"], descendants: true, isSignal: true }], ngImport: i0, template: "<div\n class=\"hm-image-crop\"\n role=\"group\"\n [attr.aria-labelledby]=\"labelId\"\n [attr.aria-busy]=\"state() === 'loading' ? 'true' : null\"\n [class.hm-image-crop--round]=\"shape() === 'round'\"\n [class.hm-image-crop--disabled]=\"disabled()\"\n [class.hm-image-crop--busy]=\"state() === 'loading'\"\n [class.hm-image-crop--dragging]=\"dragging() && guides()\"\n [class.hm-image-crop--zoomed]=\"zoomed() && interactive()\"\n [class.hm-image-crop--panning]=\"panning()\"\n>\n <span class=\"hm-visually-hidden\" [id]=\"labelId\">{{ label() }}</span>\n\n @if (state() === 'ready' && image(); as img) {\n <!-- Palco: um listener s\u00F3 para os gestos (\u00E1rea, al\u00E7as e fundo), com captura do ponteiro. -->\n <div\n class=\"hm-image-crop__stage\"\n (pointerdown)=\"onPointerDown($event)\"\n (pointermove)=\"onPointerMove($event)\"\n (pointerup)=\"onPointerUp($event)\"\n (pointercancel)=\"onPointerCancel($event)\"\n (wheel)=\"onWheel($event)\"\n >\n <div #surface class=\"hm-image-crop__surface\" [style.aspect-ratio]=\"aspect()\">\n @if (layout(); as l) {\n <div\n #view\n class=\"hm-image-crop__view\"\n [style.left.px]=\"l.left\"\n [style.top.px]=\"l.top\"\n [style.width.px]=\"l.width\"\n [style.height.px]=\"l.height\"\n >\n <div class=\"hm-image-crop__clip\">\n <img\n class=\"hm-image-crop__image\"\n draggable=\"false\"\n [src]=\"img.url\"\n [alt]=\"alt()\"\n [style.width.px]=\"img.natural.width\"\n [style.height.px]=\"img.natural.height\"\n [style.transform]=\"imageTransform()\"\n />\n @if (box(); as b) {\n <div\n class=\"hm-image-crop__veil\"\n aria-hidden=\"true\"\n [style.left.px]=\"b.left\"\n [style.top.px]=\"b.top\"\n [style.width.px]=\"b.width\"\n [style.height.px]=\"b.height\"\n ></div>\n }\n </div>\n @if (box(); as b) {\n <div class=\"hm-image-crop__box\" [style.left.px]=\"b.left\" [style.top.px]=\"b.top\" [style.width.px]=\"b.width\" [style.height.px]=\"b.height\">\n <div\n #frame\n class=\"hm-image-crop__frame\"\n role=\"application\"\n [attr.tabindex]=\"disabled() ? -1 : 0\"\n [attr.aria-roledescription]=\"text.frameRole\"\n [attr.aria-label]=\"label()\"\n [attr.aria-describedby]=\"valueId + ' ' + moveHintId\"\n [attr.aria-disabled]=\"disabled() ? 'true' : null\"\n (keydown)=\"onFrameKeydown($event)\"\n >\n @if (guides()) {\n <span class=\"hm-image-crop__guides\" aria-hidden=\"true\"></span>\n }\n </div>\n @for (handle of handles(); track handle) {\n @if (handle === 'se') {\n <!-- A al\u00E7a de tamanho do teclado: canto inferior direito f\u00EDsico (a imagem n\u00E3o espelha em RTL). -->\n <span\n class=\"hm-image-crop__handle hm-image-crop__handle--se\"\n data-handle=\"se\"\n role=\"application\"\n [attr.tabindex]=\"disabled() ? -1 : 0\"\n [attr.aria-roledescription]=\"text.handleRole\"\n [attr.aria-label]=\"text.handle\"\n [attr.aria-describedby]=\"valueId + ' ' + resizeHintId\"\n [attr.aria-disabled]=\"disabled() ? 'true' : null\"\n (keydown)=\"onHandleKeydown($event)\"\n ></span>\n } @else {\n <span [class]=\"'hm-image-crop__handle hm-image-crop__handle--' + handle\" [attr.data-handle]=\"handle\" aria-hidden=\"true\"></span>\n }\n }\n </div>\n }\n </div>\n }\n </div>\n </div>\n <span class=\"hm-visually-hidden\" [id]=\"valueId\">{{ valueText() }}</span>\n <span class=\"hm-visually-hidden\" [id]=\"moveHintId\">{{ text.moveHint }}</span>\n <span class=\"hm-visually-hidden\" [id]=\"resizeHintId\">{{ text.resizeHint }}</span>\n } @else {\n <div class=\"hm-image-crop__empty\">\n @switch (state()) {\n @case ('loading') {\n <hm-spinner [label]=\"text.loading\" [labelVisible]=\"true\" />\n }\n @case ('error') {\n <hm-icon class=\"hm-image-crop__empty-icon\" shape=\"image\" />\n }\n @default {\n <ng-content select=\"[hmImageCropEmpty]\">\n <hm-icon class=\"hm-image-crop__empty-icon\" shape=\"image\" />\n <span>{{ text.empty }}</span>\n </ng-content>\n }\n }\n </div>\n }\n\n @if (controls()) {\n <hm-toolbar class=\"hm-image-crop__toolbar\" [label]=\"text.toolbar\">\n <hm-icon-button\n class=\"hm-image-crop__zoom-out\"\n icon=\"zoom-out\"\n emphasis=\"subtle\"\n size=\"small\"\n [label]=\"text.zoomLess\"\n [disabled]=\"!interactive() || atMinZoom()\"\n (clicked)=\"zoomBy(-1)\"\n />\n <span class=\"hm-image-crop__zoom\">{{ zoomText() }}</span>\n <hm-icon-button\n class=\"hm-image-crop__zoom-in\"\n icon=\"zoom-in\"\n emphasis=\"subtle\"\n size=\"small\"\n [label]=\"text.zoomMore\"\n [disabled]=\"!interactive() || atMaxZoom()\"\n (clicked)=\"zoomBy(1)\"\n />\n <hm-icon-button\n class=\"hm-image-crop__turn-left\"\n icon=\"rotate-left\"\n emphasis=\"subtle\"\n size=\"small\"\n [label]=\"text.turnLeft\"\n [disabled]=\"!interactive()\"\n (clicked)=\"turn(-1)\"\n />\n <hm-icon-button\n class=\"hm-image-crop__turn-right\"\n icon=\"rotate-right\"\n emphasis=\"subtle\"\n size=\"small\"\n [label]=\"text.turnRight\"\n [disabled]=\"!interactive()\"\n (clicked)=\"turn(1)\"\n />\n <hm-icon-button\n class=\"hm-image-crop__reset\"\n icon=\"refresh\"\n emphasis=\"subtle\"\n size=\"small\"\n [label]=\"text.reset\"\n [disabled]=\"!interactive() || pristine()\"\n (clicked)=\"restore()\"\n />\n </hm-toolbar>\n }\n\n @if (fields() && ready()) {\n <fieldset class=\"hm-image-crop__fields\">\n <legend class=\"hm-visually-hidden\">{{ text.fields }}</legend>\n <hm-input\n class=\"hm-image-crop__field-x\"\n type=\"number\"\n suffix=\"px\"\n [label]=\"text.fieldX\"\n [min]=\"0\"\n [max]=\"fieldMaxX()\"\n [disabled]=\"!interactive()\"\n [(value)]=\"fieldX\"\n (focusout)=\"commitField('x')\"\n (keydown.enter)=\"commitField('x')\"\n (click)=\"onFieldClick($event, 'x')\"\n />\n <hm-input\n class=\"hm-image-crop__field-y\"\n type=\"number\"\n suffix=\"px\"\n [label]=\"text.fieldY\"\n [min]=\"0\"\n [max]=\"fieldMaxY()\"\n [disabled]=\"!interactive()\"\n [(value)]=\"fieldY\"\n (focusout)=\"commitField('y')\"\n (keydown.enter)=\"commitField('y')\"\n (click)=\"onFieldClick($event, 'y')\"\n />\n <hm-input\n class=\"hm-image-crop__field-width\"\n type=\"number\"\n suffix=\"px\"\n [label]=\"text.fieldWidth\"\n [min]=\"fieldMinWidth()\"\n [max]=\"fieldMaxWidth()\"\n [disabled]=\"!interactive()\"\n [(value)]=\"fieldWidth\"\n (focusout)=\"commitField('width')\"\n (keydown.enter)=\"commitField('width')\"\n (click)=\"onFieldClick($event, 'width')\"\n />\n <hm-input\n class=\"hm-image-crop__field-height\"\n type=\"number\"\n suffix=\"px\"\n [label]=\"text.fieldHeight\"\n [min]=\"fieldMinHeight()\"\n [max]=\"fieldMaxHeight()\"\n [disabled]=\"!interactive()\"\n [(value)]=\"fieldHeight\"\n (focusout)=\"commitField('height')\"\n (keydown.enter)=\"commitField('height')\"\n (click)=\"onFieldClick($event, 'height')\"\n />\n </fieldset>\n }\n\n @if (error(); as err) {\n <p class=\"hm-image-crop__status\" role=\"alert\">\n <hm-icon shape=\"exclamation-triangle\" />\n <span>{{ err.message }}</span>\n </p>\n }\n</div>\n<span class=\"hm-visually-hidden\" aria-live=\"polite\" aria-atomic=\"true\">{{ announcement() }}</span>\n", dependencies: [{ kind: "component", type: IconComponent, selector: "hm-icon", inputs: ["shape", "direction", "size", "solid", "badge", "status", "flip", "inverse", "label"] }, { kind: "component", type: IconButtonComponent, selector: "hm-icon-button", inputs: ["label", "icon", "solid", "iconDirection", "emphasis", "intent", "size", "disabled", "toggle", "pressed", "keyShortcuts"], outputs: ["pressedChange", "clicked"] }, { kind: "component", type: InputComponent, selector: "hm-input", inputs: ["value", "label", "type", "placeholder", "icon", "labelHidden", "hint", "prefix", "suffix", "prefixIcon", "mask", "maskValue", "min", "max", "step", "stepButtons", "maxLength", "autocomplete", "inputMode"], outputs: ["valueChange"] }, { kind: "component", type: SpinnerComponent, selector: "hm-spinner", inputs: ["size", "inverse", "label", "labelVisible", "decorative", "done", "doneLabel"] }, { kind: "component", type: ToolbarComponent, selector: "hm-toolbar", inputs: ["label"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1159
893
|
}
|
|
@@ -1161,46 +895,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.24", ngImpo
|
|
|
1161
895
|
type: Component,
|
|
1162
896
|
args: [{ selector: 'hm-image-crop', imports: [IconComponent, IconButtonComponent, InputComponent, SpinnerComponent, ToolbarComponent], changeDetection: ChangeDetectionStrategy.OnPush, template: "<div\n class=\"hm-image-crop\"\n role=\"group\"\n [attr.aria-labelledby]=\"labelId\"\n [attr.aria-busy]=\"state() === 'loading' ? 'true' : null\"\n [class.hm-image-crop--round]=\"shape() === 'round'\"\n [class.hm-image-crop--disabled]=\"disabled()\"\n [class.hm-image-crop--busy]=\"state() === 'loading'\"\n [class.hm-image-crop--dragging]=\"dragging() && guides()\"\n [class.hm-image-crop--zoomed]=\"zoomed() && interactive()\"\n [class.hm-image-crop--panning]=\"panning()\"\n>\n <span class=\"hm-visually-hidden\" [id]=\"labelId\">{{ label() }}</span>\n\n @if (state() === 'ready' && image(); as img) {\n <!-- Palco: um listener s\u00F3 para os gestos (\u00E1rea, al\u00E7as e fundo), com captura do ponteiro. -->\n <div\n class=\"hm-image-crop__stage\"\n (pointerdown)=\"onPointerDown($event)\"\n (pointermove)=\"onPointerMove($event)\"\n (pointerup)=\"onPointerUp($event)\"\n (pointercancel)=\"onPointerCancel($event)\"\n (wheel)=\"onWheel($event)\"\n >\n <div #surface class=\"hm-image-crop__surface\" [style.aspect-ratio]=\"aspect()\">\n @if (layout(); as l) {\n <div\n #view\n class=\"hm-image-crop__view\"\n [style.left.px]=\"l.left\"\n [style.top.px]=\"l.top\"\n [style.width.px]=\"l.width\"\n [style.height.px]=\"l.height\"\n >\n <div class=\"hm-image-crop__clip\">\n <img\n class=\"hm-image-crop__image\"\n draggable=\"false\"\n [src]=\"img.url\"\n [alt]=\"alt()\"\n [style.width.px]=\"img.natural.width\"\n [style.height.px]=\"img.natural.height\"\n [style.transform]=\"imageTransform()\"\n />\n @if (box(); as b) {\n <div\n class=\"hm-image-crop__veil\"\n aria-hidden=\"true\"\n [style.left.px]=\"b.left\"\n [style.top.px]=\"b.top\"\n [style.width.px]=\"b.width\"\n [style.height.px]=\"b.height\"\n ></div>\n }\n </div>\n @if (box(); as b) {\n <div class=\"hm-image-crop__box\" [style.left.px]=\"b.left\" [style.top.px]=\"b.top\" [style.width.px]=\"b.width\" [style.height.px]=\"b.height\">\n <div\n #frame\n class=\"hm-image-crop__frame\"\n role=\"application\"\n [attr.tabindex]=\"disabled() ? -1 : 0\"\n [attr.aria-roledescription]=\"text.frameRole\"\n [attr.aria-label]=\"label()\"\n [attr.aria-describedby]=\"valueId + ' ' + moveHintId\"\n [attr.aria-disabled]=\"disabled() ? 'true' : null\"\n (keydown)=\"onFrameKeydown($event)\"\n >\n @if (guides()) {\n <span class=\"hm-image-crop__guides\" aria-hidden=\"true\"></span>\n }\n </div>\n @for (handle of handles(); track handle) {\n @if (handle === 'se') {\n <!-- A al\u00E7a de tamanho do teclado: canto inferior direito f\u00EDsico (a imagem n\u00E3o espelha em RTL). -->\n <span\n class=\"hm-image-crop__handle hm-image-crop__handle--se\"\n data-handle=\"se\"\n role=\"application\"\n [attr.tabindex]=\"disabled() ? -1 : 0\"\n [attr.aria-roledescription]=\"text.handleRole\"\n [attr.aria-label]=\"text.handle\"\n [attr.aria-describedby]=\"valueId + ' ' + resizeHintId\"\n [attr.aria-disabled]=\"disabled() ? 'true' : null\"\n (keydown)=\"onHandleKeydown($event)\"\n ></span>\n } @else {\n <span [class]=\"'hm-image-crop__handle hm-image-crop__handle--' + handle\" [attr.data-handle]=\"handle\" aria-hidden=\"true\"></span>\n }\n }\n </div>\n }\n </div>\n }\n </div>\n </div>\n <span class=\"hm-visually-hidden\" [id]=\"valueId\">{{ valueText() }}</span>\n <span class=\"hm-visually-hidden\" [id]=\"moveHintId\">{{ text.moveHint }}</span>\n <span class=\"hm-visually-hidden\" [id]=\"resizeHintId\">{{ text.resizeHint }}</span>\n } @else {\n <div class=\"hm-image-crop__empty\">\n @switch (state()) {\n @case ('loading') {\n <hm-spinner [label]=\"text.loading\" [labelVisible]=\"true\" />\n }\n @case ('error') {\n <hm-icon class=\"hm-image-crop__empty-icon\" shape=\"image\" />\n }\n @default {\n <ng-content select=\"[hmImageCropEmpty]\">\n <hm-icon class=\"hm-image-crop__empty-icon\" shape=\"image\" />\n <span>{{ text.empty }}</span>\n </ng-content>\n }\n }\n </div>\n }\n\n @if (controls()) {\n <hm-toolbar class=\"hm-image-crop__toolbar\" [label]=\"text.toolbar\">\n <hm-icon-button\n class=\"hm-image-crop__zoom-out\"\n icon=\"zoom-out\"\n emphasis=\"subtle\"\n size=\"small\"\n [label]=\"text.zoomLess\"\n [disabled]=\"!interactive() || atMinZoom()\"\n (clicked)=\"zoomBy(-1)\"\n />\n <span class=\"hm-image-crop__zoom\">{{ zoomText() }}</span>\n <hm-icon-button\n class=\"hm-image-crop__zoom-in\"\n icon=\"zoom-in\"\n emphasis=\"subtle\"\n size=\"small\"\n [label]=\"text.zoomMore\"\n [disabled]=\"!interactive() || atMaxZoom()\"\n (clicked)=\"zoomBy(1)\"\n />\n <hm-icon-button\n class=\"hm-image-crop__turn-left\"\n icon=\"rotate-left\"\n emphasis=\"subtle\"\n size=\"small\"\n [label]=\"text.turnLeft\"\n [disabled]=\"!interactive()\"\n (clicked)=\"turn(-1)\"\n />\n <hm-icon-button\n class=\"hm-image-crop__turn-right\"\n icon=\"rotate-right\"\n emphasis=\"subtle\"\n size=\"small\"\n [label]=\"text.turnRight\"\n [disabled]=\"!interactive()\"\n (clicked)=\"turn(1)\"\n />\n <hm-icon-button\n class=\"hm-image-crop__reset\"\n icon=\"refresh\"\n emphasis=\"subtle\"\n size=\"small\"\n [label]=\"text.reset\"\n [disabled]=\"!interactive() || pristine()\"\n (clicked)=\"restore()\"\n />\n </hm-toolbar>\n }\n\n @if (fields() && ready()) {\n <fieldset class=\"hm-image-crop__fields\">\n <legend class=\"hm-visually-hidden\">{{ text.fields }}</legend>\n <hm-input\n class=\"hm-image-crop__field-x\"\n type=\"number\"\n suffix=\"px\"\n [label]=\"text.fieldX\"\n [min]=\"0\"\n [max]=\"fieldMaxX()\"\n [disabled]=\"!interactive()\"\n [(value)]=\"fieldX\"\n (focusout)=\"commitField('x')\"\n (keydown.enter)=\"commitField('x')\"\n (click)=\"onFieldClick($event, 'x')\"\n />\n <hm-input\n class=\"hm-image-crop__field-y\"\n type=\"number\"\n suffix=\"px\"\n [label]=\"text.fieldY\"\n [min]=\"0\"\n [max]=\"fieldMaxY()\"\n [disabled]=\"!interactive()\"\n [(value)]=\"fieldY\"\n (focusout)=\"commitField('y')\"\n (keydown.enter)=\"commitField('y')\"\n (click)=\"onFieldClick($event, 'y')\"\n />\n <hm-input\n class=\"hm-image-crop__field-width\"\n type=\"number\"\n suffix=\"px\"\n [label]=\"text.fieldWidth\"\n [min]=\"fieldMinWidth()\"\n [max]=\"fieldMaxWidth()\"\n [disabled]=\"!interactive()\"\n [(value)]=\"fieldWidth\"\n (focusout)=\"commitField('width')\"\n (keydown.enter)=\"commitField('width')\"\n (click)=\"onFieldClick($event, 'width')\"\n />\n <hm-input\n class=\"hm-image-crop__field-height\"\n type=\"number\"\n suffix=\"px\"\n [label]=\"text.fieldHeight\"\n [min]=\"fieldMinHeight()\"\n [max]=\"fieldMaxHeight()\"\n [disabled]=\"!interactive()\"\n [(value)]=\"fieldHeight\"\n (focusout)=\"commitField('height')\"\n (keydown.enter)=\"commitField('height')\"\n (click)=\"onFieldClick($event, 'height')\"\n />\n </fieldset>\n }\n\n @if (error(); as err) {\n <p class=\"hm-image-crop__status\" role=\"alert\">\n <hm-icon shape=\"exclamation-triangle\" />\n <span>{{ err.message }}</span>\n </p>\n }\n</div>\n<span class=\"hm-visually-hidden\" aria-live=\"polite\" aria-atomic=\"true\">{{ announcement() }}</span>\n" }]
|
|
1163
897
|
}], ctorParameters: () => [], propDecorators: { src: [{ type: i0.Input, args: [{ isSignal: true, alias: "src", required: false }] }], label: [{ type: i0.Input, args: [{ isSignal: true, alias: "label", required: true }] }], alt: [{ type: i0.Input, args: [{ isSignal: true, alias: "alt", required: false }] }], ratio: [{ type: i0.Input, args: [{ isSignal: true, alias: "ratio", required: false }] }], shape: [{ type: i0.Input, args: [{ isSignal: true, alias: "shape", required: false }] }], minWidth: [{ type: i0.Input, args: [{ isSignal: true, alias: "minWidth", required: false }] }], minHeight: [{ type: i0.Input, args: [{ isSignal: true, alias: "minHeight", required: false }] }], accept: [{ type: i0.Input, args: [{ isSignal: true, alias: "accept", required: false }] }], maxSize: [{ type: i0.Input, args: [{ isSignal: true, alias: "maxSize", required: false }] }], maxPixels: [{ type: i0.Input, args: [{ isSignal: true, alias: "maxPixels", required: false }] }], credentials: [{ type: i0.Input, args: [{ isSignal: true, alias: "credentials", required: false }] }], maxZoom: [{ type: i0.Input, args: [{ isSignal: true, alias: "maxZoom", required: false }] }], controls: [{ type: i0.Input, args: [{ isSignal: true, alias: "controls", required: false }] }], fields: [{ type: i0.Input, args: [{ isSignal: true, alias: "fields", required: false }] }], guides: [{ type: i0.Input, args: [{ isSignal: true, alias: "guides", required: false }] }], exportType: [{ type: i0.Input, args: [{ isSignal: true, alias: "exportType", required: false }] }], exportQuality: [{ type: i0.Input, args: [{ isSignal: true, alias: "exportQuality", required: false }] }], exportMaxWidth: [{ type: i0.Input, args: [{ isSignal: true, alias: "exportMaxWidth", required: false }] }], exportMaxHeight: [{ type: i0.Input, args: [{ isSignal: true, alias: "exportMaxHeight", required: false }] }], exportFill: [{ type: i0.Input, args: [{ isSignal: true, alias: "exportFill", required: false }] }], exportMask: [{ type: i0.Input, args: [{ isSignal: true, alias: "exportMask", required: false }] }], liveExport: [{ type: i0.Input, args: [{ isSignal: true, alias: "liveExport", required: false }] }], disabled: [{ type: i0.Input, args: [{ isSignal: true, alias: "disabled", required: false }] }], region: [{ type: i0.Input, args: [{ isSignal: true, alias: "region", required: false }] }, { type: i0.Output, args: ["regionChange"] }], zoom: [{ type: i0.Input, args: [{ isSignal: true, alias: "zoom", required: false }] }, { type: i0.Output, args: ["zoomChange"] }], rotation: [{ type: i0.Input, args: [{ isSignal: true, alias: "rotation", required: false }] }, { type: i0.Output, args: ["rotationChange"] }], loaded: [{ type: i0.Output, args: ["loaded"] }], failed: [{ type: i0.Output, args: ["failed"] }], exported: [{ type: i0.Output, args: ["exported"] }], surfaceRef: [{ type: i0.ViewChild, args: ['surface', { isSignal: true }] }], viewRef: [{ type: i0.ViewChild, args: ['view', { isSignal: true }] }], frameRef: [{ type: i0.ViewChild, args: ['frame', { isSignal: true }] }] } });
|
|
1164
|
-
function createCanvas(width, height) {
|
|
1165
|
-
if (typeof OffscreenCanvas === 'function')
|
|
1166
|
-
return new OffscreenCanvas(width, height);
|
|
1167
|
-
const canvas = document.createElement('canvas');
|
|
1168
|
-
canvas.width = width;
|
|
1169
|
-
canvas.height = height;
|
|
1170
|
-
return canvas;
|
|
1171
|
-
}
|
|
1172
|
-
function context(canvas) {
|
|
1173
|
-
const ctx = canvas.getContext('2d');
|
|
1174
|
-
if (!ctx)
|
|
1175
|
-
throw new Error('[hermes-image-crop] canvas 2D indisponível.');
|
|
1176
|
-
ctx.imageSmoothingEnabled = true;
|
|
1177
|
-
ctx.imageSmoothingQuality = 'high';
|
|
1178
|
-
return ctx;
|
|
1179
|
-
}
|
|
1180
|
-
function revoke(url) {
|
|
1181
|
-
if (typeof URL.revokeObjectURL === 'function')
|
|
1182
|
-
URL.revokeObjectURL(url);
|
|
1183
|
-
}
|
|
1184
|
-
/** Primeiros 64 bytes (o suficiente para todas as assinaturas reconhecidas). */
|
|
1185
|
-
function readHead(blob) {
|
|
1186
|
-
const head = blob.slice(0, 64);
|
|
1187
|
-
if (typeof head.arrayBuffer === 'function')
|
|
1188
|
-
return head.arrayBuffer().then((buffer) => new Uint8Array(buffer));
|
|
1189
|
-
return new Promise((resolve, reject) => {
|
|
1190
|
-
const reader = new FileReader();
|
|
1191
|
-
reader.onload = () => resolve(new Uint8Array(reader.result));
|
|
1192
|
-
reader.onerror = () => reject(reader.error);
|
|
1193
|
-
reader.readAsArrayBuffer(head);
|
|
1194
|
-
});
|
|
1195
|
-
}
|
|
1196
|
-
function readDataUrl(blob) {
|
|
1197
|
-
return new Promise((resolve, reject) => {
|
|
1198
|
-
const reader = new FileReader();
|
|
1199
|
-
reader.onload = () => resolve(String(reader.result));
|
|
1200
|
-
reader.onerror = () => reject(reader.error);
|
|
1201
|
-
reader.readAsDataURL(blob);
|
|
1202
|
-
});
|
|
1203
|
-
}
|
|
1204
898
|
|
|
1205
899
|
// Ponto de import `@trismegisto/angular/image-crop` (secundário do ng-packagr): o que o public-api e as outras pastas usam
|
|
1206
900
|
// daqui. Ao criar arquivo público novo na pasta, acrescente a linha.
|