@trismegisto/angular 3.3.8 → 3.3.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +56 -56
- package/README.md +136 -136
- package/fesm2022/trismegisto-angular-access-control.mjs +300 -300
- package/fesm2022/trismegisto-angular-access-control.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-accordion.mjs +2 -2
- package/fesm2022/trismegisto-angular-accordion.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-account-avatar.mjs +28 -28
- package/fesm2022/trismegisto-angular-account-avatar.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-account-closure.mjs +72 -72
- package/fesm2022/trismegisto-angular-account-closure.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-account-forms.mjs +274 -274
- package/fesm2022/trismegisto-angular-account-forms.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-account-switcher.mjs +88 -88
- package/fesm2022/trismegisto-angular-account-switcher.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-address.mjs +152 -152
- package/fesm2022/trismegisto-angular-address.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-agent.mjs +712 -327
- package/fesm2022/trismegisto-angular-agent.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-alert-history.mjs +134 -134
- package/fesm2022/trismegisto-angular-alert-history.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-alert-rule-editor.mjs +166 -166
- package/fesm2022/trismegisto-angular-alert-rule-editor.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-alert.mjs +28 -28
- package/fesm2022/trismegisto-angular-alert.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-anchor-nav.mjs +36 -36
- package/fesm2022/trismegisto-angular-anchor-nav.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-announcer.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-api-exchange.mjs +2 -2
- package/fesm2022/trismegisto-angular-api-exchange.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-appointment-details.mjs +2 -2
- package/fesm2022/trismegisto-angular-appointment-details.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-approval.mjs +102 -102
- package/fesm2022/trismegisto-angular-approval.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-assignee.mjs +120 -120
- package/fesm2022/trismegisto-angular-assignee.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-attachment.mjs +7 -3
- package/fesm2022/trismegisto-angular-attachment.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-availability-editor.mjs +2 -2
- package/fesm2022/trismegisto-angular-availability-editor.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-avatar-group.mjs +30 -30
- package/fesm2022/trismegisto-angular-avatar-group.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-backlog.mjs +122 -122
- package/fesm2022/trismegisto-angular-backlog.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-badge.mjs +20 -20
- package/fesm2022/trismegisto-angular-badge.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-billing.mjs +432 -432
- package/fesm2022/trismegisto-angular-billing.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-bottom-navigation.mjs +78 -78
- package/fesm2022/trismegisto-angular-bottom-navigation.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-bottom-sheet.mjs +170 -170
- package/fesm2022/trismegisto-angular-bottom-sheet.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-breadcrumb.mjs +124 -124
- package/fesm2022/trismegisto-angular-breadcrumb.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-bubble.mjs +56 -56
- package/fesm2022/trismegisto-angular-bubble.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-bulk-input.mjs +2 -2
- package/fesm2022/trismegisto-angular-bulk-input.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-button-group.mjs +34 -34
- package/fesm2022/trismegisto-angular-button-group.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-button.mjs +2 -2
- package/fesm2022/trismegisto-angular-button.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-card-container.mjs +280 -280
- package/fesm2022/trismegisto-angular-card-container.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-card.mjs +2 -2
- package/fesm2022/trismegisto-angular-card.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-carousel.mjs +2 -2
- package/fesm2022/trismegisto-angular-carousel.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-cart.mjs +352 -352
- package/fesm2022/trismegisto-angular-cart.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-cascader.mjs +2 -2
- package/fesm2022/trismegisto-angular-cascader.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-certificate-viewer.mjs +322 -322
- package/fesm2022/trismegisto-angular-certificate-viewer.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-change-history.mjs +80 -80
- package/fesm2022/trismegisto-angular-change-history.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-checkbox-group.mjs +2 -2
- package/fesm2022/trismegisto-angular-checkbox-group.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-checkbox.mjs +2 -2
- package/fesm2022/trismegisto-angular-checkbox.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-chip.mjs +72 -72
- package/fesm2022/trismegisto-angular-chip.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-code-diff.mjs +2 -2
- package/fesm2022/trismegisto-angular-code-diff.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-code-input.mjs +2 -2
- package/fesm2022/trismegisto-angular-code-input.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-code-viewer.mjs +78 -5
- package/fesm2022/trismegisto-angular-code-viewer.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-color-picker.mjs +2 -2
- package/fesm2022/trismegisto-angular-color-picker.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-combobox-multi.mjs +2 -2
- package/fesm2022/trismegisto-angular-combobox-multi.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-combobox.mjs +2 -2
- package/fesm2022/trismegisto-angular-combobox.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-command-palette.mjs +258 -258
- package/fesm2022/trismegisto-angular-command-palette.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-commerce-format.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-connection-wizard.mjs +2 -2
- package/fesm2022/trismegisto-angular-connection-wizard.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-consent.mjs +116 -116
- package/fesm2022/trismegisto-angular-consent.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-copy-button.mjs +28 -28
- package/fesm2022/trismegisto-angular-copy-button.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-credentials-form.mjs +76 -76
- package/fesm2022/trismegisto-angular-credentials-form.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-data-grid.mjs +6 -6
- package/fesm2022/trismegisto-angular-data-grid.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-data-source-picker.mjs +2 -2
- package/fesm2022/trismegisto-angular-data-source-picker.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-date-picker.mjs +38 -38
- package/fesm2022/trismegisto-angular-date-picker.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-datetime-picker.mjs +2 -2
- package/fesm2022/trismegisto-angular-datetime-picker.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-deadline.mjs +90 -90
- package/fesm2022/trismegisto-angular-deadline.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-deploy-pipeline.mjs +98 -98
- package/fesm2022/trismegisto-angular-deploy-pipeline.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-description-list.mjs +188 -188
- package/fesm2022/trismegisto-angular-description-list.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-dialog.mjs +54 -54
- package/fesm2022/trismegisto-angular-dialog.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-direction.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-divider.mjs +8 -8
- package/fesm2022/trismegisto-angular-divider.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-drag-drop.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-drawer.mjs +2 -2
- package/fesm2022/trismegisto-angular-drawer.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-dropdown.mjs +36 -36
- package/fesm2022/trismegisto-angular-dropdown.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-dual-list.mjs +2 -2
- package/fesm2022/trismegisto-angular-dual-list.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-empty.mjs +10 -10
- package/fesm2022/trismegisto-angular-empty.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-endpoint-card.mjs +2 -2
- package/fesm2022/trismegisto-angular-endpoint-card.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-entity-picker.mjs +66 -66
- package/fesm2022/trismegisto-angular-entity-picker.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-environment-picker.mjs +90 -90
- package/fesm2022/trismegisto-angular-environment-picker.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-event-calendar.mjs +2 -2
- package/fesm2022/trismegisto-angular-event-calendar.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-execution-status.mjs +108 -108
- package/fesm2022/trismegisto-angular-execution-status.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-fab.mjs +94 -94
- package/fesm2022/trismegisto-angular-fab.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-feature-flags.mjs +2 -2
- package/fesm2022/trismegisto-angular-feature-flags.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-field-mapping.mjs +2 -2
- package/fesm2022/trismegisto-angular-field-mapping.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-file-list.mjs +2 -2
- package/fesm2022/trismegisto-angular-file-list.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-file-permissions.mjs +2 -2
- package/fesm2022/trismegisto-angular-file-permissions.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-file-upload.mjs +2 -2
- package/fesm2022/trismegisto-angular-file-upload.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-file-versions.mjs +2 -2
- package/fesm2022/trismegisto-angular-file-versions.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-filter-bar.mjs +2 -2
- package/fesm2022/trismegisto-angular-filter-bar.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-finance.mjs +376 -376
- package/fesm2022/trismegisto-angular-finance.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-floating-window.mjs +2 -2
- package/fesm2022/trismegisto-angular-floating-window.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-form-error-summary.mjs +38 -38
- package/fesm2022/trismegisto-angular-form-error-summary.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-form-required-hint.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-forms.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-gantt.mjs +144 -144
- package/fesm2022/trismegisto-angular-gantt.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-geometric-texture.mjs +2 -2
- package/fesm2022/trismegisto-angular-geometric-texture.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-global-search.mjs +36 -36
- package/fesm2022/trismegisto-angular-global-search.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-header.mjs +2 -2
- package/fesm2022/trismegisto-angular-header.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-health-status.mjs +42 -42
- package/fesm2022/trismegisto-angular-health-status.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-i18n.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-icon-button.mjs +2 -2
- package/fesm2022/trismegisto-angular-icon-button.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-icon.mjs +2 -1
- package/fesm2022/trismegisto-angular-icon.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-identity-document.mjs +2 -2
- package/fesm2022/trismegisto-angular-identity-document.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-illustration-attention.mjs +2 -2
- package/fesm2022/trismegisto-angular-illustration-attention.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-illustration-error.mjs +2 -2
- package/fesm2022/trismegisto-angular-illustration-error.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-illustration-journey-end.mjs +2 -2
- package/fesm2022/trismegisto-angular-illustration-journey-end.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-illustration-locked.mjs +2 -2
- package/fesm2022/trismegisto-angular-illustration-locked.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-illustration-no-permission.mjs +2 -2
- package/fesm2022/trismegisto-angular-illustration-no-permission.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-illustration-no-results.mjs +2 -2
- package/fesm2022/trismegisto-angular-illustration-no-results.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-illustration-not-found.mjs +2 -2
- package/fesm2022/trismegisto-angular-illustration-not-found.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-illustration-session-expired.mjs +2 -2
- package/fesm2022/trismegisto-angular-illustration-session-expired.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-illustration-shared.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-illustration-success.mjs +2 -2
- package/fesm2022/trismegisto-angular-illustration-success.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-illustration-unlocked.mjs +2 -2
- package/fesm2022/trismegisto-angular-illustration-unlocked.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-image-crop.mjs +2 -2
- package/fesm2022/trismegisto-angular-image-crop.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-image-gallery.mjs +4 -4
- package/fesm2022/trismegisto-angular-image-gallery.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-incident.mjs +382 -382
- package/fesm2022/trismegisto-angular-incident.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-input.mjs +2 -2
- package/fesm2022/trismegisto-angular-input.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-integration-text.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-integration.mjs +8 -8
- package/fesm2022/trismegisto-angular-integration.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-invoice.mjs +186 -186
- package/fesm2022/trismegisto-angular-invoice.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-item.mjs +2 -2
- package/fesm2022/trismegisto-angular-item.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-json-viewer.mjs +2 -2
- package/fesm2022/trismegisto-angular-json-viewer.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-kanban.mjs +194 -194
- package/fesm2022/trismegisto-angular-kanban.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-legend.mjs +44 -44
- package/fesm2022/trismegisto-angular-legend.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-level-badge.mjs +74 -74
- package/fesm2022/trismegisto-angular-level-badge.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-list-editor.mjs +2 -2
- package/fesm2022/trismegisto-angular-list-editor.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-loading-square.mjs +12 -12
- package/fesm2022/trismegisto-angular-loading-square.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-location-select.mjs +84 -84
- package/fesm2022/trismegisto-angular-location-select.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-log-viewer.mjs +2 -2
- package/fesm2022/trismegisto-angular-log-viewer.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-maintenance-window.mjs +112 -112
- package/fesm2022/trismegisto-angular-maintenance-window.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-member-list.mjs +142 -142
- package/fesm2022/trismegisto-angular-member-list.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-mention-text.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-menu-button.mjs +2 -2
- package/fesm2022/trismegisto-angular-menu-button.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-menu.mjs +2 -2
- package/fesm2022/trismegisto-angular-menu.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-menubar.mjs +68 -68
- package/fesm2022/trismegisto-angular-menubar.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-message-divider.mjs +37 -29
- package/fesm2022/trismegisto-angular-message-divider.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-message-scroller.mjs +92 -78
- package/fesm2022/trismegisto-angular-message-scroller.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-message.mjs +130 -130
- package/fesm2022/trismegisto-angular-message.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-metric-explorer.mjs +186 -186
- package/fesm2022/trismegisto-angular-metric-explorer.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-modal.mjs +2 -2
- package/fesm2022/trismegisto-angular-modal.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-monitoring-text.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-month-picker.mjs +2 -2
- package/fesm2022/trismegisto-angular-month-picker.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-motion.mjs +6 -6
- package/fesm2022/trismegisto-angular-motion.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-navigation-menu.mjs +204 -204
- package/fesm2022/trismegisto-angular-navigation-menu.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-number-field.mjs +4 -4
- package/fesm2022/trismegisto-angular-number-field.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-observability-text.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-order.mjs +172 -172
- package/fesm2022/trismegisto-angular-order.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-org-chart.mjs +294 -294
- package/fesm2022/trismegisto-angular-org-chart.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-page-header.mjs +100 -100
- package/fesm2022/trismegisto-angular-page-header.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-paginator.mjs +2 -2
- package/fesm2022/trismegisto-angular-paginator.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-password-strength.mjs +56 -56
- package/fesm2022/trismegisto-angular-password-strength.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-payment-fields.mjs +312 -312
- package/fesm2022/trismegisto-angular-payment-fields.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-payment-form.mjs +126 -126
- package/fesm2022/trismegisto-angular-payment-form.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-payment-method.mjs +94 -94
- package/fesm2022/trismegisto-angular-payment-method.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-pdf-viewer.mjs +2 -2
- package/fesm2022/trismegisto-angular-pdf-viewer.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-permission-matrix.mjs +138 -138
- package/fesm2022/trismegisto-angular-permission-matrix.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-pipes.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-popconfirm.mjs +42 -42
- package/fesm2022/trismegisto-angular-popconfirm.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-popover.mjs +110 -110
- package/fesm2022/trismegisto-angular-popover.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-price.mjs +44 -44
- package/fesm2022/trismegisto-angular-price.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-product.mjs +404 -404
- package/fesm2022/trismegisto-angular-product.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-progress.mjs +152 -152
- package/fesm2022/trismegisto-angular-progress.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-prompt-input.mjs +251 -0
- package/fesm2022/trismegisto-angular-prompt-input.mjs.map +1 -0
- package/fesm2022/trismegisto-angular-prompt-suggestions.mjs +17 -10
- package/fesm2022/trismegisto-angular-prompt-suggestions.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-property-view.mjs +252 -252
- package/fesm2022/trismegisto-angular-property-view.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-questionnaire.mjs +420 -0
- package/fesm2022/trismegisto-angular-questionnaire.mjs.map +1 -0
- package/fesm2022/trismegisto-angular-radio.mjs +2 -2
- package/fesm2022/trismegisto-angular-radio.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-rating.mjs +2 -2
- package/fesm2022/trismegisto-angular-rating.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-reason-dialog.mjs +40 -40
- package/fesm2022/trismegisto-angular-reason-dialog.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-recurrence-editor.mjs +2 -2
- package/fesm2022/trismegisto-angular-recurrence-editor.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-release-timeline.mjs +64 -64
- package/fesm2022/trismegisto-angular-release-timeline.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-reorder-list.mjs +2 -2
- package/fesm2022/trismegisto-angular-reorder-list.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-report-history.mjs +2 -2
- package/fesm2022/trismegisto-angular-report-history.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-report-schedule.mjs +2 -2
- package/fesm2022/trismegisto-angular-report-schedule.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-resource-calendar.mjs +2 -2
- package/fesm2022/trismegisto-angular-resource-calendar.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-resource-usage.mjs +62 -62
- package/fesm2022/trismegisto-angular-resource-usage.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-return-request.mjs +102 -102
- package/fesm2022/trismegisto-angular-return-request.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-rich-text.mjs +2 -2
- package/fesm2022/trismegisto-angular-rich-text.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-risk-register.mjs +182 -182
- package/fesm2022/trismegisto-angular-risk-register.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-save-status.mjs +42 -42
- package/fesm2022/trismegisto-angular-save-status.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-search-field.mjs +2 -2
- package/fesm2022/trismegisto-angular-search-field.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-segmented-control.mjs +2 -2
- package/fesm2022/trismegisto-angular-segmented-control.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-select.mjs +2 -2
- package/fesm2022/trismegisto-angular-select.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-service-map.mjs +188 -188
- package/fesm2022/trismegisto-angular-service-map.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-service-status.mjs +142 -142
- package/fesm2022/trismegisto-angular-service-status.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-session-recovery.mjs +12 -12
- package/fesm2022/trismegisto-angular-session-recovery.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-settings.mjs +46 -46
- package/fesm2022/trismegisto-angular-settings.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-shipping.mjs +166 -166
- package/fesm2022/trismegisto-angular-shipping.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-shortcut-list.mjs +2 -2
- package/fesm2022/trismegisto-angular-shortcut-list.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-sidebar.mjs +40 -40
- package/fesm2022/trismegisto-angular-sidebar.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-skeleton.mjs +46 -46
- package/fesm2022/trismegisto-angular-skeleton.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-skip-link.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-sla-summary.mjs +146 -146
- package/fesm2022/trismegisto-angular-sla-summary.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-slider.mjs +2 -2
- package/fesm2022/trismegisto-angular-slider.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-slot-picker.mjs +2 -2
- package/fesm2022/trismegisto-angular-slot-picker.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-spinner.mjs +22 -22
- package/fesm2022/trismegisto-angular-spinner.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-split-button.mjs +62 -62
- package/fesm2022/trismegisto-angular-split-button.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-splitter.mjs +40 -40
- package/fesm2022/trismegisto-angular-splitter.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-stat-card.mjs +2 -2
- package/fesm2022/trismegisto-angular-stat-card.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-stat-group.mjs +74 -74
- package/fesm2022/trismegisto-angular-stat-group.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-state-page.mjs +22 -22
- package/fesm2022/trismegisto-angular-state-page.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-state-screen.mjs +2 -2
- package/fesm2022/trismegisto-angular-state-screen.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-status-badge.mjs +10 -10
- package/fesm2022/trismegisto-angular-status-badge.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-status-select.mjs +44 -44
- package/fesm2022/trismegisto-angular-status-select.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-stepper.mjs +34 -34
- package/fesm2022/trismegisto-angular-stepper.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-storage-usage.mjs +2 -2
- package/fesm2022/trismegisto-angular-storage-usage.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-swimlane-board.mjs +80 -80
- package/fesm2022/trismegisto-angular-swimlane-board.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-switch.mjs +2 -2
- package/fesm2022/trismegisto-angular-switch.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-sync-status.mjs +4 -4
- package/fesm2022/trismegisto-angular-sync-status.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-tab-bar.mjs +2 -2
- package/fesm2022/trismegisto-angular-tab-bar.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-tabs.mjs +4 -4
- package/fesm2022/trismegisto-angular-tabs.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-tag-input.mjs +2 -2
- package/fesm2022/trismegisto-angular-tag-input.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-tag.mjs +12 -12
- package/fesm2022/trismegisto-angular-tag.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-task-card.mjs +188 -188
- package/fesm2022/trismegisto-angular-task-card.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-task-detail.mjs +398 -398
- package/fesm2022/trismegisto-angular-task-detail.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-testing.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-textarea.mjs +2 -2
- package/fesm2022/trismegisto-angular-textarea.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-theme-builder.mjs +2 -2
- package/fesm2022/trismegisto-angular-theme-builder.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-theme-picker.mjs +2 -2
- package/fesm2022/trismegisto-angular-theme-picker.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-theme.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-time-picker.mjs +2 -2
- package/fesm2022/trismegisto-angular-time-picker.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-time-range.mjs +2 -2
- package/fesm2022/trismegisto-angular-time-range.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-timeline.mjs +92 -92
- package/fesm2022/trismegisto-angular-timeline.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-toast.mjs +38 -38
- package/fesm2022/trismegisto-angular-toast.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-toggle-group.mjs +30 -30
- package/fesm2022/trismegisto-angular-toggle-group.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-toggletip.mjs +56 -56
- package/fesm2022/trismegisto-angular-toggletip.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-toolbar.mjs +6 -6
- package/fesm2022/trismegisto-angular-toolbar.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-tooltip.mjs +1 -0
- package/fesm2022/trismegisto-angular-tooltip.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-tour.mjs +102 -102
- package/fesm2022/trismegisto-angular-tour.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-trace-waterfall.mjs +242 -242
- package/fesm2022/trismegisto-angular-trace-waterfall.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-trace.mjs +103 -74
- package/fesm2022/trismegisto-angular-trace.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-transaction.mjs +238 -238
- package/fesm2022/trismegisto-angular-transaction.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-tree-select.mjs +4 -4
- package/fesm2022/trismegisto-angular-tree-select.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-tree.mjs +2 -2
- package/fesm2022/trismegisto-angular-tree.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-unsaved-changes.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-uptime-bar.mjs +88 -88
- package/fesm2022/trismegisto-angular-uptime-bar.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-user-card.mjs +106 -106
- package/fesm2022/trismegisto-angular-user-card.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-vehicle-plate.mjs +2 -2
- package/fesm2022/trismegisto-angular-vehicle-plate.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-webhook.mjs +4 -4
- package/fesm2022/trismegisto-angular-webhook.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-wizard.mjs +2 -2
- package/fesm2022/trismegisto-angular-wizard.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-workflow-diagram.mjs +240 -240
- package/fesm2022/trismegisto-angular-workflow-diagram.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-workflow-i18n.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-workload.mjs +98 -98
- package/fesm2022/trismegisto-angular-workload.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-workspace-persistence.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-workspace.mjs +4 -4
- package/fesm2022/trismegisto-angular-workspace.mjs.map +1 -1
- package/fesm2022/trismegisto-angular-zoom.mjs.map +1 -1
- package/fesm2022/trismegisto-angular.mjs +4 -2
- package/fesm2022/trismegisto-angular.mjs.map +1 -1
- package/package.json +13 -5
- package/types/trismegisto-angular-agent.d.ts +103 -4
- package/types/trismegisto-angular-agent.d.ts.map +1 -1
- package/types/trismegisto-angular-attachment.d.ts +5 -2
- package/types/trismegisto-angular-attachment.d.ts.map +1 -1
- package/types/trismegisto-angular-bubble.d.ts +1 -1
- package/types/trismegisto-angular-code-viewer.d.ts +40 -3
- package/types/trismegisto-angular-code-viewer.d.ts.map +1 -1
- package/types/trismegisto-angular-icon.d.ts +2 -1
- package/types/trismegisto-angular-icon.d.ts.map +1 -1
- package/types/trismegisto-angular-message-divider.d.ts +4 -2
- package/types/trismegisto-angular-message-divider.d.ts.map +1 -1
- package/types/trismegisto-angular-message-scroller.d.ts +5 -0
- package/types/trismegisto-angular-message-scroller.d.ts.map +1 -1
- package/types/trismegisto-angular-prompt-input.d.ts +100 -0
- package/types/trismegisto-angular-prompt-input.d.ts.map +1 -0
- package/types/trismegisto-angular-prompt-suggestions.d.ts +3 -1
- package/types/trismegisto-angular-prompt-suggestions.d.ts.map +1 -1
- package/types/trismegisto-angular-questionnaire.d.ts +97 -0
- package/types/trismegisto-angular-questionnaire.d.ts.map +1 -0
- package/types/trismegisto-angular-tooltip.d.ts.map +1 -1
- package/types/trismegisto-angular-trace.d.ts +11 -4
- package/types/trismegisto-angular-trace.d.ts.map +1 -1
- package/types/trismegisto-angular.d.ts +5 -3
- package/types/trismegisto-angular.d.ts.map +1 -1
|
@@ -264,29 +264,29 @@ class BillingPeriodComponent {
|
|
|
264
264
|
: formatMessage(this.text().renews, { date: this.#date(period.next) });
|
|
265
265
|
}, ...(ngDevMode ? [{ debugName: "nextText" }] : /* istanbul ignore next */ []));
|
|
266
266
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.24", ngImport: i0, type: BillingPeriodComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
267
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.24", type: BillingPeriodComponent, isStandalone: true, selector: "hm-billing-period", inputs: { start: { classPropertyName: "start", publicName: "start", isSignal: true, isRequired: false, transformFunction: null }, end: { classPropertyName: "end", publicName: "end", isSignal: true, isRequired: false, transformFunction: null }, anchor: { classPropertyName: "anchor", publicName: "anchor", isSignal: true, isRequired: false, transformFunction: null }, interval: { classPropertyName: "interval", publicName: "interval", isSignal: true, isRequired: false, transformFunction: null }, now: { classPropertyName: "now", publicName: "now", isSignal: true, isRequired: false, transformFunction: null }, showProgress: { classPropertyName: "showProgress", publicName: "showProgress", isSignal: true, isRequired: false, transformFunction: null }, endsAtPeriodEnd: { classPropertyName: "endsAtPeriodEnd", publicName: "endsAtPeriodEnd", isSignal: true, isRequired: false, transformFunction: null }, label: { classPropertyName: "label", publicName: "label", isSignal: true, isRequired: false, transformFunction: null }, texts: { classPropertyName: "texts", publicName: "texts", isSignal: true, isRequired: false, transformFunction: null } }, host: { classAttribute: "hm-billing-period" }, ngImport: i0, template: `
|
|
268
|
-
@if (period(); as p) {
|
|
269
|
-
<span class="hm-billing-period__label">{{ label() || text().label }}</span>
|
|
270
|
-
<span class="hm-billing-period__range">{{ rangeText() }}</span>
|
|
271
|
-
@if (showProgress()) {
|
|
272
|
-
<div
|
|
273
|
-
class="hm-billing-period__bar"
|
|
274
|
-
role="meter"
|
|
275
|
-
aria-valuemin="0"
|
|
276
|
-
[attr.aria-valuemax]="progress().totalDays"
|
|
277
|
-
[attr.aria-valuenow]="progress().elapsedDays"
|
|
278
|
-
[attr.aria-valuetext]="dayText()"
|
|
279
|
-
[attr.aria-label]="label() || text().label"
|
|
280
|
-
>
|
|
281
|
-
<span class="hm-billing-period__fill" [style.inline-size.%]="progress().fraction * 100"></span>
|
|
282
|
-
</div>
|
|
283
|
-
<span class="hm-billing-period__meta">
|
|
284
|
-
<span>{{ dayText() }}</span>
|
|
285
|
-
<span>{{ remainingText() }}</span>
|
|
286
|
-
</span>
|
|
287
|
-
}
|
|
288
|
-
<span class="hm-billing-period__next">{{ nextText() }}</span>
|
|
289
|
-
}
|
|
267
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.24", type: BillingPeriodComponent, isStandalone: true, selector: "hm-billing-period", inputs: { start: { classPropertyName: "start", publicName: "start", isSignal: true, isRequired: false, transformFunction: null }, end: { classPropertyName: "end", publicName: "end", isSignal: true, isRequired: false, transformFunction: null }, anchor: { classPropertyName: "anchor", publicName: "anchor", isSignal: true, isRequired: false, transformFunction: null }, interval: { classPropertyName: "interval", publicName: "interval", isSignal: true, isRequired: false, transformFunction: null }, now: { classPropertyName: "now", publicName: "now", isSignal: true, isRequired: false, transformFunction: null }, showProgress: { classPropertyName: "showProgress", publicName: "showProgress", isSignal: true, isRequired: false, transformFunction: null }, endsAtPeriodEnd: { classPropertyName: "endsAtPeriodEnd", publicName: "endsAtPeriodEnd", isSignal: true, isRequired: false, transformFunction: null }, label: { classPropertyName: "label", publicName: "label", isSignal: true, isRequired: false, transformFunction: null }, texts: { classPropertyName: "texts", publicName: "texts", isSignal: true, isRequired: false, transformFunction: null } }, host: { classAttribute: "hm-billing-period" }, ngImport: i0, template: `
|
|
268
|
+
@if (period(); as p) {
|
|
269
|
+
<span class="hm-billing-period__label">{{ label() || text().label }}</span>
|
|
270
|
+
<span class="hm-billing-period__range">{{ rangeText() }}</span>
|
|
271
|
+
@if (showProgress()) {
|
|
272
|
+
<div
|
|
273
|
+
class="hm-billing-period__bar"
|
|
274
|
+
role="meter"
|
|
275
|
+
aria-valuemin="0"
|
|
276
|
+
[attr.aria-valuemax]="progress().totalDays"
|
|
277
|
+
[attr.aria-valuenow]="progress().elapsedDays"
|
|
278
|
+
[attr.aria-valuetext]="dayText()"
|
|
279
|
+
[attr.aria-label]="label() || text().label"
|
|
280
|
+
>
|
|
281
|
+
<span class="hm-billing-period__fill" [style.inline-size.%]="progress().fraction * 100"></span>
|
|
282
|
+
</div>
|
|
283
|
+
<span class="hm-billing-period__meta">
|
|
284
|
+
<span>{{ dayText() }}</span>
|
|
285
|
+
<span>{{ remainingText() }}</span>
|
|
286
|
+
</span>
|
|
287
|
+
}
|
|
288
|
+
<span class="hm-billing-period__next">{{ nextText() }}</span>
|
|
289
|
+
}
|
|
290
290
|
`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
291
291
|
}
|
|
292
292
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.24", ngImport: i0, type: BillingPeriodComponent, decorators: [{
|
|
@@ -295,29 +295,29 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.24", ngImpo
|
|
|
295
295
|
selector: 'hm-billing-period',
|
|
296
296
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
297
297
|
host: { class: 'hm-billing-period' },
|
|
298
|
-
template: `
|
|
299
|
-
@if (period(); as p) {
|
|
300
|
-
<span class="hm-billing-period__label">{{ label() || text().label }}</span>
|
|
301
|
-
<span class="hm-billing-period__range">{{ rangeText() }}</span>
|
|
302
|
-
@if (showProgress()) {
|
|
303
|
-
<div
|
|
304
|
-
class="hm-billing-period__bar"
|
|
305
|
-
role="meter"
|
|
306
|
-
aria-valuemin="0"
|
|
307
|
-
[attr.aria-valuemax]="progress().totalDays"
|
|
308
|
-
[attr.aria-valuenow]="progress().elapsedDays"
|
|
309
|
-
[attr.aria-valuetext]="dayText()"
|
|
310
|
-
[attr.aria-label]="label() || text().label"
|
|
311
|
-
>
|
|
312
|
-
<span class="hm-billing-period__fill" [style.inline-size.%]="progress().fraction * 100"></span>
|
|
313
|
-
</div>
|
|
314
|
-
<span class="hm-billing-period__meta">
|
|
315
|
-
<span>{{ dayText() }}</span>
|
|
316
|
-
<span>{{ remainingText() }}</span>
|
|
317
|
-
</span>
|
|
318
|
-
}
|
|
319
|
-
<span class="hm-billing-period__next">{{ nextText() }}</span>
|
|
320
|
-
}
|
|
298
|
+
template: `
|
|
299
|
+
@if (period(); as p) {
|
|
300
|
+
<span class="hm-billing-period__label">{{ label() || text().label }}</span>
|
|
301
|
+
<span class="hm-billing-period__range">{{ rangeText() }}</span>
|
|
302
|
+
@if (showProgress()) {
|
|
303
|
+
<div
|
|
304
|
+
class="hm-billing-period__bar"
|
|
305
|
+
role="meter"
|
|
306
|
+
aria-valuemin="0"
|
|
307
|
+
[attr.aria-valuemax]="progress().totalDays"
|
|
308
|
+
[attr.aria-valuenow]="progress().elapsedDays"
|
|
309
|
+
[attr.aria-valuetext]="dayText()"
|
|
310
|
+
[attr.aria-label]="label() || text().label"
|
|
311
|
+
>
|
|
312
|
+
<span class="hm-billing-period__fill" [style.inline-size.%]="progress().fraction * 100"></span>
|
|
313
|
+
</div>
|
|
314
|
+
<span class="hm-billing-period__meta">
|
|
315
|
+
<span>{{ dayText() }}</span>
|
|
316
|
+
<span>{{ remainingText() }}</span>
|
|
317
|
+
</span>
|
|
318
|
+
}
|
|
319
|
+
<span class="hm-billing-period__next">{{ nextText() }}</span>
|
|
320
|
+
}
|
|
321
321
|
`,
|
|
322
322
|
}]
|
|
323
323
|
}], propDecorators: { start: [{ type: i0.Input, args: [{ isSignal: true, alias: "start", required: false }] }], end: [{ type: i0.Input, args: [{ isSignal: true, alias: "end", required: false }] }], anchor: [{ type: i0.Input, args: [{ isSignal: true, alias: "anchor", required: false }] }], interval: [{ type: i0.Input, args: [{ isSignal: true, alias: "interval", required: false }] }], now: [{ type: i0.Input, args: [{ isSignal: true, alias: "now", required: false }] }], showProgress: [{ type: i0.Input, args: [{ isSignal: true, alias: "showProgress", required: false }] }], endsAtPeriodEnd: [{ type: i0.Input, args: [{ isSignal: true, alias: "endsAtPeriodEnd", required: false }] }], label: [{ type: i0.Input, args: [{ isSignal: true, alias: "label", required: false }] }], texts: [{ type: i0.Input, args: [{ isSignal: true, alias: "texts", required: false }] }] } });
|
|
@@ -366,52 +366,52 @@ class PlanPickerComponent {
|
|
|
366
366
|
return savings ? `${billed} · ${formatMessage(text.save, { percent: savings })}` : billed;
|
|
367
367
|
}
|
|
368
368
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.24", ngImport: i0, type: PlanPickerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
369
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.24", type: PlanPickerComponent, isStandalone: true, selector: "hm-plan-picker", inputs: { plans: { classPropertyName: "plans", publicName: "plans", isSignal: true, isRequired: false, transformFunction: null }, value: { classPropertyName: "value", publicName: "value", isSignal: true, isRequired: false, transformFunction: null }, cycle: { classPropertyName: "cycle", publicName: "cycle", isSignal: true, isRequired: false, transformFunction: null }, currency: { classPropertyName: "currency", publicName: "currency", isSignal: true, isRequired: false, transformFunction: null }, currentPlanId: { classPropertyName: "currentPlanId", publicName: "currentPlanId", isSignal: true, isRequired: false, transformFunction: null }, label: { classPropertyName: "label", publicName: "label", isSignal: true, isRequired: false, transformFunction: null }, legendHidden: { classPropertyName: "legendHidden", publicName: "legendHidden", isSignal: true, isRequired: false, transformFunction: null }, texts: { classPropertyName: "texts", publicName: "texts", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { value: "valueChange" }, host: { classAttribute: "hm-plan-picker" }, ngImport: i0, template: `
|
|
370
|
-
<fieldset class="hm-choice-list">
|
|
371
|
-
<legend class="hm-choice-list__legend" [class.hm-visually-hidden]="legendHidden()">{{ label() || text().plan.pickerLabel }}</legend>
|
|
372
|
-
@for (plan of plans(); track plan.id) {
|
|
373
|
-
<label
|
|
374
|
-
class="hm-choice"
|
|
375
|
-
[class.hm-choice--checked]="plan.id === value()"
|
|
376
|
-
[class.hm-choice--disabled]="!!plan.disabled || !priceOf(plan)"
|
|
377
|
-
[class.hm-choice--highlighted]="!!plan.highlighted"
|
|
378
|
-
>
|
|
379
|
-
<input
|
|
380
|
-
type="radio"
|
|
381
|
-
class="hm-choice__control"
|
|
382
|
-
[name]="name"
|
|
383
|
-
[value]="plan.id"
|
|
384
|
-
[checked]="plan.id === value()"
|
|
385
|
-
[disabled]="!!plan.disabled || !priceOf(plan)"
|
|
386
|
-
(change)="value.set(plan.id)"
|
|
387
|
-
/>
|
|
388
|
-
<span class="hm-choice__body">
|
|
389
|
-
<span class="hm-choice__title">
|
|
390
|
-
<span>{{ plan.name }}</span>
|
|
391
|
-
@if (plan.badge) {
|
|
392
|
-
<hm-tag [name]="plan.badge" color="primary" />
|
|
393
|
-
}
|
|
394
|
-
@if (plan.id === currentPlanId()) {
|
|
395
|
-
<hm-tag [name]="text().plan.current" color="info" />
|
|
396
|
-
}
|
|
397
|
-
</span>
|
|
398
|
-
@if (plan.description) {
|
|
399
|
-
<span class="hm-choice__line">{{ plan.description }}</span>
|
|
400
|
-
}
|
|
401
|
-
@if (cycle() === 'yearly' && plan.price.yearly) {
|
|
402
|
-
<span class="hm-choice__line">{{ yearlyText(plan) }}</span>
|
|
403
|
-
}
|
|
404
|
-
</span>
|
|
405
|
-
<span class="hm-choice__aside">
|
|
406
|
-
@if (plan.custom) {
|
|
407
|
-
{{ text().plan.custom }}
|
|
408
|
-
} @else if (priceOf(plan); as price) {
|
|
409
|
-
<hm-price [amount]="price.amount" [currency]="currency()" period="month" size="small" />
|
|
410
|
-
}
|
|
411
|
-
</span>
|
|
412
|
-
</label>
|
|
413
|
-
}
|
|
414
|
-
</fieldset>
|
|
369
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.24", type: PlanPickerComponent, isStandalone: true, selector: "hm-plan-picker", inputs: { plans: { classPropertyName: "plans", publicName: "plans", isSignal: true, isRequired: false, transformFunction: null }, value: { classPropertyName: "value", publicName: "value", isSignal: true, isRequired: false, transformFunction: null }, cycle: { classPropertyName: "cycle", publicName: "cycle", isSignal: true, isRequired: false, transformFunction: null }, currency: { classPropertyName: "currency", publicName: "currency", isSignal: true, isRequired: false, transformFunction: null }, currentPlanId: { classPropertyName: "currentPlanId", publicName: "currentPlanId", isSignal: true, isRequired: false, transformFunction: null }, label: { classPropertyName: "label", publicName: "label", isSignal: true, isRequired: false, transformFunction: null }, legendHidden: { classPropertyName: "legendHidden", publicName: "legendHidden", isSignal: true, isRequired: false, transformFunction: null }, texts: { classPropertyName: "texts", publicName: "texts", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { value: "valueChange" }, host: { classAttribute: "hm-plan-picker" }, ngImport: i0, template: `
|
|
370
|
+
<fieldset class="hm-choice-list">
|
|
371
|
+
<legend class="hm-choice-list__legend" [class.hm-visually-hidden]="legendHidden()">{{ label() || text().plan.pickerLabel }}</legend>
|
|
372
|
+
@for (plan of plans(); track plan.id) {
|
|
373
|
+
<label
|
|
374
|
+
class="hm-choice"
|
|
375
|
+
[class.hm-choice--checked]="plan.id === value()"
|
|
376
|
+
[class.hm-choice--disabled]="!!plan.disabled || !priceOf(plan)"
|
|
377
|
+
[class.hm-choice--highlighted]="!!plan.highlighted"
|
|
378
|
+
>
|
|
379
|
+
<input
|
|
380
|
+
type="radio"
|
|
381
|
+
class="hm-choice__control"
|
|
382
|
+
[name]="name"
|
|
383
|
+
[value]="plan.id"
|
|
384
|
+
[checked]="plan.id === value()"
|
|
385
|
+
[disabled]="!!plan.disabled || !priceOf(plan)"
|
|
386
|
+
(change)="value.set(plan.id)"
|
|
387
|
+
/>
|
|
388
|
+
<span class="hm-choice__body">
|
|
389
|
+
<span class="hm-choice__title">
|
|
390
|
+
<span>{{ plan.name }}</span>
|
|
391
|
+
@if (plan.badge) {
|
|
392
|
+
<hm-tag [name]="plan.badge" color="primary" />
|
|
393
|
+
}
|
|
394
|
+
@if (plan.id === currentPlanId()) {
|
|
395
|
+
<hm-tag [name]="text().plan.current" color="info" />
|
|
396
|
+
}
|
|
397
|
+
</span>
|
|
398
|
+
@if (plan.description) {
|
|
399
|
+
<span class="hm-choice__line">{{ plan.description }}</span>
|
|
400
|
+
}
|
|
401
|
+
@if (cycle() === 'yearly' && plan.price.yearly) {
|
|
402
|
+
<span class="hm-choice__line">{{ yearlyText(plan) }}</span>
|
|
403
|
+
}
|
|
404
|
+
</span>
|
|
405
|
+
<span class="hm-choice__aside">
|
|
406
|
+
@if (plan.custom) {
|
|
407
|
+
{{ text().plan.custom }}
|
|
408
|
+
} @else if (priceOf(plan); as price) {
|
|
409
|
+
<hm-price [amount]="price.amount" [currency]="currency()" period="month" size="small" />
|
|
410
|
+
}
|
|
411
|
+
</span>
|
|
412
|
+
</label>
|
|
413
|
+
}
|
|
414
|
+
</fieldset>
|
|
415
415
|
`, isInline: true, dependencies: [{ kind: "component", type: PriceComponent, selector: "hm-price", inputs: ["amount", "compareAt", "currency", "size", "period", "unit", "showDiscount", "showSavings", "installments", "interestFree", "freeLabel", "texts"] }, { kind: "component", type: TagComponent, selector: "hm-tag", inputs: ["name", "color", "compact"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
416
416
|
}
|
|
417
417
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.24", ngImport: i0, type: PlanPickerComponent, decorators: [{
|
|
@@ -421,52 +421,52 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.24", ngImpo
|
|
|
421
421
|
imports: [PriceComponent, TagComponent],
|
|
422
422
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
423
423
|
host: { class: 'hm-plan-picker' },
|
|
424
|
-
template: `
|
|
425
|
-
<fieldset class="hm-choice-list">
|
|
426
|
-
<legend class="hm-choice-list__legend" [class.hm-visually-hidden]="legendHidden()">{{ label() || text().plan.pickerLabel }}</legend>
|
|
427
|
-
@for (plan of plans(); track plan.id) {
|
|
428
|
-
<label
|
|
429
|
-
class="hm-choice"
|
|
430
|
-
[class.hm-choice--checked]="plan.id === value()"
|
|
431
|
-
[class.hm-choice--disabled]="!!plan.disabled || !priceOf(plan)"
|
|
432
|
-
[class.hm-choice--highlighted]="!!plan.highlighted"
|
|
433
|
-
>
|
|
434
|
-
<input
|
|
435
|
-
type="radio"
|
|
436
|
-
class="hm-choice__control"
|
|
437
|
-
[name]="name"
|
|
438
|
-
[value]="plan.id"
|
|
439
|
-
[checked]="plan.id === value()"
|
|
440
|
-
[disabled]="!!plan.disabled || !priceOf(plan)"
|
|
441
|
-
(change)="value.set(plan.id)"
|
|
442
|
-
/>
|
|
443
|
-
<span class="hm-choice__body">
|
|
444
|
-
<span class="hm-choice__title">
|
|
445
|
-
<span>{{ plan.name }}</span>
|
|
446
|
-
@if (plan.badge) {
|
|
447
|
-
<hm-tag [name]="plan.badge" color="primary" />
|
|
448
|
-
}
|
|
449
|
-
@if (plan.id === currentPlanId()) {
|
|
450
|
-
<hm-tag [name]="text().plan.current" color="info" />
|
|
451
|
-
}
|
|
452
|
-
</span>
|
|
453
|
-
@if (plan.description) {
|
|
454
|
-
<span class="hm-choice__line">{{ plan.description }}</span>
|
|
455
|
-
}
|
|
456
|
-
@if (cycle() === 'yearly' && plan.price.yearly) {
|
|
457
|
-
<span class="hm-choice__line">{{ yearlyText(plan) }}</span>
|
|
458
|
-
}
|
|
459
|
-
</span>
|
|
460
|
-
<span class="hm-choice__aside">
|
|
461
|
-
@if (plan.custom) {
|
|
462
|
-
{{ text().plan.custom }}
|
|
463
|
-
} @else if (priceOf(plan); as price) {
|
|
464
|
-
<hm-price [amount]="price.amount" [currency]="currency()" period="month" size="small" />
|
|
465
|
-
}
|
|
466
|
-
</span>
|
|
467
|
-
</label>
|
|
468
|
-
}
|
|
469
|
-
</fieldset>
|
|
424
|
+
template: `
|
|
425
|
+
<fieldset class="hm-choice-list">
|
|
426
|
+
<legend class="hm-choice-list__legend" [class.hm-visually-hidden]="legendHidden()">{{ label() || text().plan.pickerLabel }}</legend>
|
|
427
|
+
@for (plan of plans(); track plan.id) {
|
|
428
|
+
<label
|
|
429
|
+
class="hm-choice"
|
|
430
|
+
[class.hm-choice--checked]="plan.id === value()"
|
|
431
|
+
[class.hm-choice--disabled]="!!plan.disabled || !priceOf(plan)"
|
|
432
|
+
[class.hm-choice--highlighted]="!!plan.highlighted"
|
|
433
|
+
>
|
|
434
|
+
<input
|
|
435
|
+
type="radio"
|
|
436
|
+
class="hm-choice__control"
|
|
437
|
+
[name]="name"
|
|
438
|
+
[value]="plan.id"
|
|
439
|
+
[checked]="plan.id === value()"
|
|
440
|
+
[disabled]="!!plan.disabled || !priceOf(plan)"
|
|
441
|
+
(change)="value.set(plan.id)"
|
|
442
|
+
/>
|
|
443
|
+
<span class="hm-choice__body">
|
|
444
|
+
<span class="hm-choice__title">
|
|
445
|
+
<span>{{ plan.name }}</span>
|
|
446
|
+
@if (plan.badge) {
|
|
447
|
+
<hm-tag [name]="plan.badge" color="primary" />
|
|
448
|
+
}
|
|
449
|
+
@if (plan.id === currentPlanId()) {
|
|
450
|
+
<hm-tag [name]="text().plan.current" color="info" />
|
|
451
|
+
}
|
|
452
|
+
</span>
|
|
453
|
+
@if (plan.description) {
|
|
454
|
+
<span class="hm-choice__line">{{ plan.description }}</span>
|
|
455
|
+
}
|
|
456
|
+
@if (cycle() === 'yearly' && plan.price.yearly) {
|
|
457
|
+
<span class="hm-choice__line">{{ yearlyText(plan) }}</span>
|
|
458
|
+
}
|
|
459
|
+
</span>
|
|
460
|
+
<span class="hm-choice__aside">
|
|
461
|
+
@if (plan.custom) {
|
|
462
|
+
{{ text().plan.custom }}
|
|
463
|
+
} @else if (priceOf(plan); as price) {
|
|
464
|
+
<hm-price [amount]="price.amount" [currency]="currency()" period="month" size="small" />
|
|
465
|
+
}
|
|
466
|
+
</span>
|
|
467
|
+
</label>
|
|
468
|
+
}
|
|
469
|
+
</fieldset>
|
|
470
470
|
`,
|
|
471
471
|
}]
|
|
472
472
|
}], propDecorators: { plans: [{ type: i0.Input, args: [{ isSignal: true, alias: "plans", required: false }] }], value: [{ type: i0.Input, args: [{ isSignal: true, alias: "value", required: false }] }, { type: i0.Output, args: ["valueChange"] }], cycle: [{ type: i0.Input, args: [{ isSignal: true, alias: "cycle", required: false }] }], currency: [{ type: i0.Input, args: [{ isSignal: true, alias: "currency", required: false }] }], currentPlanId: [{ type: i0.Input, args: [{ isSignal: true, alias: "currentPlanId", required: false }] }], label: [{ type: i0.Input, args: [{ isSignal: true, alias: "label", required: false }] }], legendHidden: [{ type: i0.Input, args: [{ isSignal: true, alias: "legendHidden", required: false }] }], texts: [{ type: i0.Input, args: [{ isSignal: true, alias: "texts", required: false }] }] } });
|
|
@@ -530,92 +530,92 @@ class PricingTableComponent {
|
|
|
530
530
|
return typeof value === 'string';
|
|
531
531
|
}
|
|
532
532
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.24", ngImport: i0, type: PricingTableComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
533
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.24", type: PricingTableComponent, isStandalone: true, selector: "hm-pricing-table", inputs: { plans: { classPropertyName: "plans", publicName: "plans", isSignal: true, isRequired: false, transformFunction: null }, cycle: { classPropertyName: "cycle", publicName: "cycle", isSignal: true, isRequired: false, transformFunction: null }, currency: { classPropertyName: "currency", publicName: "currency", isSignal: true, isRequired: false, transformFunction: null }, currentPlanId: { classPropertyName: "currentPlanId", publicName: "currentPlanId", isSignal: true, isRequired: false, transformFunction: null }, cycleToggle: { classPropertyName: "cycleToggle", publicName: "cycleToggle", isSignal: true, isRequired: false, transformFunction: null }, showComparison: { classPropertyName: "showComparison", publicName: "showComparison", isSignal: true, isRequired: false, transformFunction: null }, headingLevel: { classPropertyName: "headingLevel", publicName: "headingLevel", isSignal: true, isRequired: false, transformFunction: null }, texts: { classPropertyName: "texts", publicName: "texts", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { cycle: "cycleChange", choose: "choose", contact: "contact" }, host: { classAttribute: "hm-pricing-table" }, ngImport: i0, template: `
|
|
534
|
-
@if (showCycle()) {
|
|
535
|
-
<div class="hm-pricing-table__cycle">
|
|
536
|
-
<hm-segmented-control [label]="text().cycle.label" [options]="cycleOptions()" [value]="cycle()" (valueChange)="cycle.set($any($event))" />
|
|
537
|
-
</div>
|
|
538
|
-
}
|
|
539
|
-
<ul class="hm-pricing-table__plans" [attr.aria-label]="text().plan.plans">
|
|
540
|
-
@for (plan of plans(); track plan.id) {
|
|
541
|
-
<li class="hm-pricing-table__plan" [class.hm-pricing-table__plan--highlighted]="!!plan.highlighted">
|
|
542
|
-
@if (plan.badge) {
|
|
543
|
-
<hm-tag class="hm-pricing-table__badge" [name]="plan.badge" color="primary" />
|
|
544
|
-
}
|
|
545
|
-
<div class="hm-pricing-table__name" role="heading" [attr.aria-level]="headingLevel()">{{ plan.name }}</div>
|
|
546
|
-
@if (plan.description) {
|
|
547
|
-
<p class="hm-pricing-table__description">{{ plan.description }}</p>
|
|
548
|
-
}
|
|
549
|
-
<div class="hm-pricing-table__price">
|
|
550
|
-
@if (plan.custom) {
|
|
551
|
-
<span class="hm-pricing-table__custom">{{ text().plan.custom }}</span>
|
|
552
|
-
} @else if (monthly(plan); as price) {
|
|
553
|
-
<hm-price [amount]="price.amount" [currency]="currency()" period="month" size="large" />
|
|
554
|
-
@if (cycle() === 'yearly' && plan.price.yearly) {
|
|
555
|
-
<span class="hm-pricing-table__billed">{{ billedYearly(plan) }}</span>
|
|
556
|
-
}
|
|
557
|
-
}
|
|
558
|
-
</div>
|
|
559
|
-
@if (plan.id === currentPlanId()) {
|
|
560
|
-
<hm-button emphasis="medium" block disabled>{{ text().plan.current }}</hm-button>
|
|
561
|
-
} @else if (plan.custom) {
|
|
562
|
-
<hm-button emphasis="medium" block (clicked)="contact.emit(plan.id)">{{ text().plan.contact }}</hm-button>
|
|
563
|
-
} @else {
|
|
564
|
-
<hm-button block [emphasis]="plan.highlighted ? 'high' : 'medium'" [disabled]="!!plan.disabled || !monthly(plan)" (clicked)="choose.emit(plan.id)">
|
|
565
|
-
{{ chooseText(plan) }}
|
|
566
|
-
</hm-button>
|
|
567
|
-
}
|
|
568
|
-
@if (plan.features?.length) {
|
|
569
|
-
<ul class="hm-pricing-table__features">
|
|
570
|
-
@for (feature of plan.features; track feature.id) {
|
|
571
|
-
<li class="hm-pricing-table__feature" [class.hm-pricing-table__feature--off]="feature.value === false">
|
|
572
|
-
<hm-icon [shape]="feature.value === false ? 'minus' : 'check'" />
|
|
573
|
-
<span>
|
|
574
|
-
@if (feature.value === false) {
|
|
575
|
-
<span class="hm-visually-hidden">{{ text().plan.notIncluded }}: </span>
|
|
576
|
-
}
|
|
577
|
-
{{ feature.label }}@if (isText(feature.value)) {: {{ feature.value }}}
|
|
578
|
-
</span>
|
|
579
|
-
</li>
|
|
580
|
-
}
|
|
581
|
-
</ul>
|
|
582
|
-
}
|
|
583
|
-
</li>
|
|
584
|
-
}
|
|
585
|
-
</ul>
|
|
586
|
-
@if (showComparison() && rows().length) {
|
|
587
|
-
<div class="hm-pricing-table__compare" tabindex="0" role="region" [attr.aria-label]="text().plan.compare">
|
|
588
|
-
<table class="hm-pricing-table__table">
|
|
589
|
-
<caption class="hm-pricing-table__caption">{{ text().plan.compare }}</caption>
|
|
590
|
-
<thead>
|
|
591
|
-
<tr>
|
|
592
|
-
<th scope="col">{{ text().plan.feature }}</th>
|
|
593
|
-
@for (plan of plans(); track plan.id) {
|
|
594
|
-
<th scope="col">{{ plan.name }}</th>
|
|
595
|
-
}
|
|
596
|
-
</tr>
|
|
597
|
-
</thead>
|
|
598
|
-
<tbody>
|
|
599
|
-
@for (row of rows(); track row.id) {
|
|
600
|
-
<tr>
|
|
601
|
-
<th scope="row">{{ row.label }}</th>
|
|
602
|
-
@for (plan of plans(); track plan.id) {
|
|
603
|
-
<td>
|
|
604
|
-
@if (isText(valueOf(plan, row.id))) {
|
|
605
|
-
{{ valueOf(plan, row.id) }}
|
|
606
|
-
} @else if (valueOf(plan, row.id)) {
|
|
607
|
-
<hm-icon shape="check" /><span class="hm-visually-hidden">{{ text().plan.included }}</span>
|
|
608
|
-
} @else {
|
|
609
|
-
<hm-icon shape="minus" /><span class="hm-visually-hidden">{{ text().plan.notIncluded }}</span>
|
|
610
|
-
}
|
|
611
|
-
</td>
|
|
612
|
-
}
|
|
613
|
-
</tr>
|
|
614
|
-
}
|
|
615
|
-
</tbody>
|
|
616
|
-
</table>
|
|
617
|
-
</div>
|
|
618
|
-
}
|
|
533
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.24", type: PricingTableComponent, isStandalone: true, selector: "hm-pricing-table", inputs: { plans: { classPropertyName: "plans", publicName: "plans", isSignal: true, isRequired: false, transformFunction: null }, cycle: { classPropertyName: "cycle", publicName: "cycle", isSignal: true, isRequired: false, transformFunction: null }, currency: { classPropertyName: "currency", publicName: "currency", isSignal: true, isRequired: false, transformFunction: null }, currentPlanId: { classPropertyName: "currentPlanId", publicName: "currentPlanId", isSignal: true, isRequired: false, transformFunction: null }, cycleToggle: { classPropertyName: "cycleToggle", publicName: "cycleToggle", isSignal: true, isRequired: false, transformFunction: null }, showComparison: { classPropertyName: "showComparison", publicName: "showComparison", isSignal: true, isRequired: false, transformFunction: null }, headingLevel: { classPropertyName: "headingLevel", publicName: "headingLevel", isSignal: true, isRequired: false, transformFunction: null }, texts: { classPropertyName: "texts", publicName: "texts", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { cycle: "cycleChange", choose: "choose", contact: "contact" }, host: { classAttribute: "hm-pricing-table" }, ngImport: i0, template: `
|
|
534
|
+
@if (showCycle()) {
|
|
535
|
+
<div class="hm-pricing-table__cycle">
|
|
536
|
+
<hm-segmented-control [label]="text().cycle.label" [options]="cycleOptions()" [value]="cycle()" (valueChange)="cycle.set($any($event))" />
|
|
537
|
+
</div>
|
|
538
|
+
}
|
|
539
|
+
<ul class="hm-pricing-table__plans" [attr.aria-label]="text().plan.plans">
|
|
540
|
+
@for (plan of plans(); track plan.id) {
|
|
541
|
+
<li class="hm-pricing-table__plan" [class.hm-pricing-table__plan--highlighted]="!!plan.highlighted">
|
|
542
|
+
@if (plan.badge) {
|
|
543
|
+
<hm-tag class="hm-pricing-table__badge" [name]="plan.badge" color="primary" />
|
|
544
|
+
}
|
|
545
|
+
<div class="hm-pricing-table__name" role="heading" [attr.aria-level]="headingLevel()">{{ plan.name }}</div>
|
|
546
|
+
@if (plan.description) {
|
|
547
|
+
<p class="hm-pricing-table__description">{{ plan.description }}</p>
|
|
548
|
+
}
|
|
549
|
+
<div class="hm-pricing-table__price">
|
|
550
|
+
@if (plan.custom) {
|
|
551
|
+
<span class="hm-pricing-table__custom">{{ text().plan.custom }}</span>
|
|
552
|
+
} @else if (monthly(plan); as price) {
|
|
553
|
+
<hm-price [amount]="price.amount" [currency]="currency()" period="month" size="large" />
|
|
554
|
+
@if (cycle() === 'yearly' && plan.price.yearly) {
|
|
555
|
+
<span class="hm-pricing-table__billed">{{ billedYearly(plan) }}</span>
|
|
556
|
+
}
|
|
557
|
+
}
|
|
558
|
+
</div>
|
|
559
|
+
@if (plan.id === currentPlanId()) {
|
|
560
|
+
<hm-button emphasis="medium" block disabled>{{ text().plan.current }}</hm-button>
|
|
561
|
+
} @else if (plan.custom) {
|
|
562
|
+
<hm-button emphasis="medium" block (clicked)="contact.emit(plan.id)">{{ text().plan.contact }}</hm-button>
|
|
563
|
+
} @else {
|
|
564
|
+
<hm-button block [emphasis]="plan.highlighted ? 'high' : 'medium'" [disabled]="!!plan.disabled || !monthly(plan)" (clicked)="choose.emit(plan.id)">
|
|
565
|
+
{{ chooseText(plan) }}
|
|
566
|
+
</hm-button>
|
|
567
|
+
}
|
|
568
|
+
@if (plan.features?.length) {
|
|
569
|
+
<ul class="hm-pricing-table__features">
|
|
570
|
+
@for (feature of plan.features; track feature.id) {
|
|
571
|
+
<li class="hm-pricing-table__feature" [class.hm-pricing-table__feature--off]="feature.value === false">
|
|
572
|
+
<hm-icon [shape]="feature.value === false ? 'minus' : 'check'" />
|
|
573
|
+
<span>
|
|
574
|
+
@if (feature.value === false) {
|
|
575
|
+
<span class="hm-visually-hidden">{{ text().plan.notIncluded }}: </span>
|
|
576
|
+
}
|
|
577
|
+
{{ feature.label }}@if (isText(feature.value)) {: {{ feature.value }}}
|
|
578
|
+
</span>
|
|
579
|
+
</li>
|
|
580
|
+
}
|
|
581
|
+
</ul>
|
|
582
|
+
}
|
|
583
|
+
</li>
|
|
584
|
+
}
|
|
585
|
+
</ul>
|
|
586
|
+
@if (showComparison() && rows().length) {
|
|
587
|
+
<div class="hm-pricing-table__compare" tabindex="0" role="region" [attr.aria-label]="text().plan.compare">
|
|
588
|
+
<table class="hm-pricing-table__table">
|
|
589
|
+
<caption class="hm-pricing-table__caption">{{ text().plan.compare }}</caption>
|
|
590
|
+
<thead>
|
|
591
|
+
<tr>
|
|
592
|
+
<th scope="col">{{ text().plan.feature }}</th>
|
|
593
|
+
@for (plan of plans(); track plan.id) {
|
|
594
|
+
<th scope="col">{{ plan.name }}</th>
|
|
595
|
+
}
|
|
596
|
+
</tr>
|
|
597
|
+
</thead>
|
|
598
|
+
<tbody>
|
|
599
|
+
@for (row of rows(); track row.id) {
|
|
600
|
+
<tr>
|
|
601
|
+
<th scope="row">{{ row.label }}</th>
|
|
602
|
+
@for (plan of plans(); track plan.id) {
|
|
603
|
+
<td>
|
|
604
|
+
@if (isText(valueOf(plan, row.id))) {
|
|
605
|
+
{{ valueOf(plan, row.id) }}
|
|
606
|
+
} @else if (valueOf(plan, row.id)) {
|
|
607
|
+
<hm-icon shape="check" /><span class="hm-visually-hidden">{{ text().plan.included }}</span>
|
|
608
|
+
} @else {
|
|
609
|
+
<hm-icon shape="minus" /><span class="hm-visually-hidden">{{ text().plan.notIncluded }}</span>
|
|
610
|
+
}
|
|
611
|
+
</td>
|
|
612
|
+
}
|
|
613
|
+
</tr>
|
|
614
|
+
}
|
|
615
|
+
</tbody>
|
|
616
|
+
</table>
|
|
617
|
+
</div>
|
|
618
|
+
}
|
|
619
619
|
`, isInline: true, dependencies: [{ kind: "component", type: ButtonComponent, selector: "hm-button", inputs: ["emphasis", "intent", "size", "type", "icon", "iconDirection", "iconEnd", "disabled", "loading", "loadingState", "block", "link", "newTab", "caret", "inMenu", "toggle", "pressed"], outputs: ["loadingStateChange", "pressedChange", "clicked"] }, { kind: "component", type: IconComponent, selector: "hm-icon", inputs: ["shape", "direction", "size", "solid", "badge", "status", "flip", "inverse", "label"] }, { kind: "component", type: PriceComponent, selector: "hm-price", inputs: ["amount", "compareAt", "currency", "size", "period", "unit", "showDiscount", "showSavings", "installments", "interestFree", "freeLabel", "texts"] }, { kind: "component", type: SegmentedControlComponent, selector: "hm-segmented-control", inputs: ["options", "value", "label", "size", "emphasis"], outputs: ["valueChange"] }, { kind: "component", type: TagComponent, selector: "hm-tag", inputs: ["name", "color", "compact"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
620
620
|
}
|
|
621
621
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.24", ngImport: i0, type: PricingTableComponent, decorators: [{
|
|
@@ -625,92 +625,92 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.24", ngImpo
|
|
|
625
625
|
imports: [ButtonComponent, IconComponent, PriceComponent, SegmentedControlComponent, TagComponent],
|
|
626
626
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
627
627
|
host: { class: 'hm-pricing-table' },
|
|
628
|
-
template: `
|
|
629
|
-
@if (showCycle()) {
|
|
630
|
-
<div class="hm-pricing-table__cycle">
|
|
631
|
-
<hm-segmented-control [label]="text().cycle.label" [options]="cycleOptions()" [value]="cycle()" (valueChange)="cycle.set($any($event))" />
|
|
632
|
-
</div>
|
|
633
|
-
}
|
|
634
|
-
<ul class="hm-pricing-table__plans" [attr.aria-label]="text().plan.plans">
|
|
635
|
-
@for (plan of plans(); track plan.id) {
|
|
636
|
-
<li class="hm-pricing-table__plan" [class.hm-pricing-table__plan--highlighted]="!!plan.highlighted">
|
|
637
|
-
@if (plan.badge) {
|
|
638
|
-
<hm-tag class="hm-pricing-table__badge" [name]="plan.badge" color="primary" />
|
|
639
|
-
}
|
|
640
|
-
<div class="hm-pricing-table__name" role="heading" [attr.aria-level]="headingLevel()">{{ plan.name }}</div>
|
|
641
|
-
@if (plan.description) {
|
|
642
|
-
<p class="hm-pricing-table__description">{{ plan.description }}</p>
|
|
643
|
-
}
|
|
644
|
-
<div class="hm-pricing-table__price">
|
|
645
|
-
@if (plan.custom) {
|
|
646
|
-
<span class="hm-pricing-table__custom">{{ text().plan.custom }}</span>
|
|
647
|
-
} @else if (monthly(plan); as price) {
|
|
648
|
-
<hm-price [amount]="price.amount" [currency]="currency()" period="month" size="large" />
|
|
649
|
-
@if (cycle() === 'yearly' && plan.price.yearly) {
|
|
650
|
-
<span class="hm-pricing-table__billed">{{ billedYearly(plan) }}</span>
|
|
651
|
-
}
|
|
652
|
-
}
|
|
653
|
-
</div>
|
|
654
|
-
@if (plan.id === currentPlanId()) {
|
|
655
|
-
<hm-button emphasis="medium" block disabled>{{ text().plan.current }}</hm-button>
|
|
656
|
-
} @else if (plan.custom) {
|
|
657
|
-
<hm-button emphasis="medium" block (clicked)="contact.emit(plan.id)">{{ text().plan.contact }}</hm-button>
|
|
658
|
-
} @else {
|
|
659
|
-
<hm-button block [emphasis]="plan.highlighted ? 'high' : 'medium'" [disabled]="!!plan.disabled || !monthly(plan)" (clicked)="choose.emit(plan.id)">
|
|
660
|
-
{{ chooseText(plan) }}
|
|
661
|
-
</hm-button>
|
|
662
|
-
}
|
|
663
|
-
@if (plan.features?.length) {
|
|
664
|
-
<ul class="hm-pricing-table__features">
|
|
665
|
-
@for (feature of plan.features; track feature.id) {
|
|
666
|
-
<li class="hm-pricing-table__feature" [class.hm-pricing-table__feature--off]="feature.value === false">
|
|
667
|
-
<hm-icon [shape]="feature.value === false ? 'minus' : 'check'" />
|
|
668
|
-
<span>
|
|
669
|
-
@if (feature.value === false) {
|
|
670
|
-
<span class="hm-visually-hidden">{{ text().plan.notIncluded }}: </span>
|
|
671
|
-
}
|
|
672
|
-
{{ feature.label }}@if (isText(feature.value)) {: {{ feature.value }}}
|
|
673
|
-
</span>
|
|
674
|
-
</li>
|
|
675
|
-
}
|
|
676
|
-
</ul>
|
|
677
|
-
}
|
|
678
|
-
</li>
|
|
679
|
-
}
|
|
680
|
-
</ul>
|
|
681
|
-
@if (showComparison() && rows().length) {
|
|
682
|
-
<div class="hm-pricing-table__compare" tabindex="0" role="region" [attr.aria-label]="text().plan.compare">
|
|
683
|
-
<table class="hm-pricing-table__table">
|
|
684
|
-
<caption class="hm-pricing-table__caption">{{ text().plan.compare }}</caption>
|
|
685
|
-
<thead>
|
|
686
|
-
<tr>
|
|
687
|
-
<th scope="col">{{ text().plan.feature }}</th>
|
|
688
|
-
@for (plan of plans(); track plan.id) {
|
|
689
|
-
<th scope="col">{{ plan.name }}</th>
|
|
690
|
-
}
|
|
691
|
-
</tr>
|
|
692
|
-
</thead>
|
|
693
|
-
<tbody>
|
|
694
|
-
@for (row of rows(); track row.id) {
|
|
695
|
-
<tr>
|
|
696
|
-
<th scope="row">{{ row.label }}</th>
|
|
697
|
-
@for (plan of plans(); track plan.id) {
|
|
698
|
-
<td>
|
|
699
|
-
@if (isText(valueOf(plan, row.id))) {
|
|
700
|
-
{{ valueOf(plan, row.id) }}
|
|
701
|
-
} @else if (valueOf(plan, row.id)) {
|
|
702
|
-
<hm-icon shape="check" /><span class="hm-visually-hidden">{{ text().plan.included }}</span>
|
|
703
|
-
} @else {
|
|
704
|
-
<hm-icon shape="minus" /><span class="hm-visually-hidden">{{ text().plan.notIncluded }}</span>
|
|
705
|
-
}
|
|
706
|
-
</td>
|
|
707
|
-
}
|
|
708
|
-
</tr>
|
|
709
|
-
}
|
|
710
|
-
</tbody>
|
|
711
|
-
</table>
|
|
712
|
-
</div>
|
|
713
|
-
}
|
|
628
|
+
template: `
|
|
629
|
+
@if (showCycle()) {
|
|
630
|
+
<div class="hm-pricing-table__cycle">
|
|
631
|
+
<hm-segmented-control [label]="text().cycle.label" [options]="cycleOptions()" [value]="cycle()" (valueChange)="cycle.set($any($event))" />
|
|
632
|
+
</div>
|
|
633
|
+
}
|
|
634
|
+
<ul class="hm-pricing-table__plans" [attr.aria-label]="text().plan.plans">
|
|
635
|
+
@for (plan of plans(); track plan.id) {
|
|
636
|
+
<li class="hm-pricing-table__plan" [class.hm-pricing-table__plan--highlighted]="!!plan.highlighted">
|
|
637
|
+
@if (plan.badge) {
|
|
638
|
+
<hm-tag class="hm-pricing-table__badge" [name]="plan.badge" color="primary" />
|
|
639
|
+
}
|
|
640
|
+
<div class="hm-pricing-table__name" role="heading" [attr.aria-level]="headingLevel()">{{ plan.name }}</div>
|
|
641
|
+
@if (plan.description) {
|
|
642
|
+
<p class="hm-pricing-table__description">{{ plan.description }}</p>
|
|
643
|
+
}
|
|
644
|
+
<div class="hm-pricing-table__price">
|
|
645
|
+
@if (plan.custom) {
|
|
646
|
+
<span class="hm-pricing-table__custom">{{ text().plan.custom }}</span>
|
|
647
|
+
} @else if (monthly(plan); as price) {
|
|
648
|
+
<hm-price [amount]="price.amount" [currency]="currency()" period="month" size="large" />
|
|
649
|
+
@if (cycle() === 'yearly' && plan.price.yearly) {
|
|
650
|
+
<span class="hm-pricing-table__billed">{{ billedYearly(plan) }}</span>
|
|
651
|
+
}
|
|
652
|
+
}
|
|
653
|
+
</div>
|
|
654
|
+
@if (plan.id === currentPlanId()) {
|
|
655
|
+
<hm-button emphasis="medium" block disabled>{{ text().plan.current }}</hm-button>
|
|
656
|
+
} @else if (plan.custom) {
|
|
657
|
+
<hm-button emphasis="medium" block (clicked)="contact.emit(plan.id)">{{ text().plan.contact }}</hm-button>
|
|
658
|
+
} @else {
|
|
659
|
+
<hm-button block [emphasis]="plan.highlighted ? 'high' : 'medium'" [disabled]="!!plan.disabled || !monthly(plan)" (clicked)="choose.emit(plan.id)">
|
|
660
|
+
{{ chooseText(plan) }}
|
|
661
|
+
</hm-button>
|
|
662
|
+
}
|
|
663
|
+
@if (plan.features?.length) {
|
|
664
|
+
<ul class="hm-pricing-table__features">
|
|
665
|
+
@for (feature of plan.features; track feature.id) {
|
|
666
|
+
<li class="hm-pricing-table__feature" [class.hm-pricing-table__feature--off]="feature.value === false">
|
|
667
|
+
<hm-icon [shape]="feature.value === false ? 'minus' : 'check'" />
|
|
668
|
+
<span>
|
|
669
|
+
@if (feature.value === false) {
|
|
670
|
+
<span class="hm-visually-hidden">{{ text().plan.notIncluded }}: </span>
|
|
671
|
+
}
|
|
672
|
+
{{ feature.label }}@if (isText(feature.value)) {: {{ feature.value }}}
|
|
673
|
+
</span>
|
|
674
|
+
</li>
|
|
675
|
+
}
|
|
676
|
+
</ul>
|
|
677
|
+
}
|
|
678
|
+
</li>
|
|
679
|
+
}
|
|
680
|
+
</ul>
|
|
681
|
+
@if (showComparison() && rows().length) {
|
|
682
|
+
<div class="hm-pricing-table__compare" tabindex="0" role="region" [attr.aria-label]="text().plan.compare">
|
|
683
|
+
<table class="hm-pricing-table__table">
|
|
684
|
+
<caption class="hm-pricing-table__caption">{{ text().plan.compare }}</caption>
|
|
685
|
+
<thead>
|
|
686
|
+
<tr>
|
|
687
|
+
<th scope="col">{{ text().plan.feature }}</th>
|
|
688
|
+
@for (plan of plans(); track plan.id) {
|
|
689
|
+
<th scope="col">{{ plan.name }}</th>
|
|
690
|
+
}
|
|
691
|
+
</tr>
|
|
692
|
+
</thead>
|
|
693
|
+
<tbody>
|
|
694
|
+
@for (row of rows(); track row.id) {
|
|
695
|
+
<tr>
|
|
696
|
+
<th scope="row">{{ row.label }}</th>
|
|
697
|
+
@for (plan of plans(); track plan.id) {
|
|
698
|
+
<td>
|
|
699
|
+
@if (isText(valueOf(plan, row.id))) {
|
|
700
|
+
{{ valueOf(plan, row.id) }}
|
|
701
|
+
} @else if (valueOf(plan, row.id)) {
|
|
702
|
+
<hm-icon shape="check" /><span class="hm-visually-hidden">{{ text().plan.included }}</span>
|
|
703
|
+
} @else {
|
|
704
|
+
<hm-icon shape="minus" /><span class="hm-visually-hidden">{{ text().plan.notIncluded }}</span>
|
|
705
|
+
}
|
|
706
|
+
</td>
|
|
707
|
+
}
|
|
708
|
+
</tr>
|
|
709
|
+
}
|
|
710
|
+
</tbody>
|
|
711
|
+
</table>
|
|
712
|
+
</div>
|
|
713
|
+
}
|
|
714
714
|
`,
|
|
715
715
|
}]
|
|
716
716
|
}], propDecorators: { plans: [{ type: i0.Input, args: [{ isSignal: true, alias: "plans", required: false }] }], cycle: [{ type: i0.Input, args: [{ isSignal: true, alias: "cycle", required: false }] }, { type: i0.Output, args: ["cycleChange"] }], currency: [{ type: i0.Input, args: [{ isSignal: true, alias: "currency", required: false }] }], currentPlanId: [{ type: i0.Input, args: [{ isSignal: true, alias: "currentPlanId", required: false }] }], cycleToggle: [{ type: i0.Input, args: [{ isSignal: true, alias: "cycleToggle", required: false }] }], showComparison: [{ type: i0.Input, args: [{ isSignal: true, alias: "showComparison", required: false }] }], headingLevel: [{ type: i0.Input, args: [{ isSignal: true, alias: "headingLevel", required: false }] }], choose: [{ type: i0.Output, args: ["choose"] }], contact: [{ type: i0.Output, args: ["contact"] }], texts: [{ type: i0.Input, args: [{ isSignal: true, alias: "texts", required: false }] }] } });
|
|
@@ -765,35 +765,35 @@ class SubscriptionCardComponent {
|
|
|
765
765
|
return facts;
|
|
766
766
|
}, ...(ngDevMode ? [{ debugName: "facts" }] : /* istanbul ignore next */ []));
|
|
767
767
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.24", ngImport: i0, type: SubscriptionCardComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
768
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.24", type: SubscriptionCardComponent, isStandalone: true, selector: "hm-subscription-card", inputs: { subscription: { classPropertyName: "subscription", publicName: "subscription", isSignal: true, isRequired: true, transformFunction: null }, headingLevel: { classPropertyName: "headingLevel", publicName: "headingLevel", isSignal: true, isRequired: false, transformFunction: null }, readonly: { classPropertyName: "readonly", publicName: "readonly", isSignal: true, isRequired: false, transformFunction: null }, texts: { classPropertyName: "texts", publicName: "texts", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { changePlan: "changePlan", cancel: "cancel", resume: "resume", updatePayment: "updatePayment" }, host: { properties: { "class.hm-subscription-card--attention": "subscription().status === 'past-due'" }, classAttribute: "hm-subscription-card" }, ngImport: i0, template: `
|
|
769
|
-
<div class="hm-subscription-card__header">
|
|
770
|
-
<div class="hm-subscription-card__plan" role="heading" [attr.aria-level]="headingLevel()">{{ subscription().planName }}</div>
|
|
771
|
-
<hm-tag [name]="text().subscriptionStatus[subscription().status]" [color]="tone()" />
|
|
772
|
-
</div>
|
|
773
|
-
<hm-price [amount]="subscription().price" [currency]="currency()" [period]="subscription().cycle === 'yearly' ? 'year' : 'month'" />
|
|
774
|
-
@if (subscription().status === 'past-due') {
|
|
775
|
-
<p class="hm-subscription-card__alert" role="alert">{{ s().pastDue }}</p>
|
|
776
|
-
}
|
|
777
|
-
<ul class="hm-subscription-card__facts">
|
|
778
|
-
@for (fact of facts(); track $index) {
|
|
779
|
-
<li>{{ fact }}</li>
|
|
780
|
-
}
|
|
781
|
-
</ul>
|
|
782
|
-
@if (!readonly()) {
|
|
783
|
-
<div class="hm-subscription-card__actions">
|
|
784
|
-
@if (subscription().status === 'past-due') {
|
|
785
|
-
<hm-button size="small" icon="credit-card" (clicked)="updatePayment.emit()">{{ s().updatePayment }}</hm-button>
|
|
786
|
-
}
|
|
787
|
-
@if (resumable()) {
|
|
788
|
-
<hm-button size="small" (clicked)="resume.emit()">{{ s().resume }}</hm-button>
|
|
789
|
-
} @else if (subscription().status !== 'expired') {
|
|
790
|
-
<hm-button emphasis="medium" size="small" (clicked)="changePlan.emit()">{{ s().changePlan }}</hm-button>
|
|
791
|
-
@if (!subscription().cancelAt) {
|
|
792
|
-
<hm-button emphasis="minimal" intent="danger" size="small" (clicked)="cancel.emit()">{{ s().cancel }}</hm-button>
|
|
793
|
-
}
|
|
794
|
-
}
|
|
795
|
-
</div>
|
|
796
|
-
}
|
|
768
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.24", type: SubscriptionCardComponent, isStandalone: true, selector: "hm-subscription-card", inputs: { subscription: { classPropertyName: "subscription", publicName: "subscription", isSignal: true, isRequired: true, transformFunction: null }, headingLevel: { classPropertyName: "headingLevel", publicName: "headingLevel", isSignal: true, isRequired: false, transformFunction: null }, readonly: { classPropertyName: "readonly", publicName: "readonly", isSignal: true, isRequired: false, transformFunction: null }, texts: { classPropertyName: "texts", publicName: "texts", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { changePlan: "changePlan", cancel: "cancel", resume: "resume", updatePayment: "updatePayment" }, host: { properties: { "class.hm-subscription-card--attention": "subscription().status === 'past-due'" }, classAttribute: "hm-subscription-card" }, ngImport: i0, template: `
|
|
769
|
+
<div class="hm-subscription-card__header">
|
|
770
|
+
<div class="hm-subscription-card__plan" role="heading" [attr.aria-level]="headingLevel()">{{ subscription().planName }}</div>
|
|
771
|
+
<hm-tag [name]="text().subscriptionStatus[subscription().status]" [color]="tone()" />
|
|
772
|
+
</div>
|
|
773
|
+
<hm-price [amount]="subscription().price" [currency]="currency()" [period]="subscription().cycle === 'yearly' ? 'year' : 'month'" />
|
|
774
|
+
@if (subscription().status === 'past-due') {
|
|
775
|
+
<p class="hm-subscription-card__alert" role="alert">{{ s().pastDue }}</p>
|
|
776
|
+
}
|
|
777
|
+
<ul class="hm-subscription-card__facts">
|
|
778
|
+
@for (fact of facts(); track $index) {
|
|
779
|
+
<li>{{ fact }}</li>
|
|
780
|
+
}
|
|
781
|
+
</ul>
|
|
782
|
+
@if (!readonly()) {
|
|
783
|
+
<div class="hm-subscription-card__actions">
|
|
784
|
+
@if (subscription().status === 'past-due') {
|
|
785
|
+
<hm-button size="small" icon="credit-card" (clicked)="updatePayment.emit()">{{ s().updatePayment }}</hm-button>
|
|
786
|
+
}
|
|
787
|
+
@if (resumable()) {
|
|
788
|
+
<hm-button size="small" (clicked)="resume.emit()">{{ s().resume }}</hm-button>
|
|
789
|
+
} @else if (subscription().status !== 'expired') {
|
|
790
|
+
<hm-button emphasis="medium" size="small" (clicked)="changePlan.emit()">{{ s().changePlan }}</hm-button>
|
|
791
|
+
@if (!subscription().cancelAt) {
|
|
792
|
+
<hm-button emphasis="minimal" intent="danger" size="small" (clicked)="cancel.emit()">{{ s().cancel }}</hm-button>
|
|
793
|
+
}
|
|
794
|
+
}
|
|
795
|
+
</div>
|
|
796
|
+
}
|
|
797
797
|
`, isInline: true, dependencies: [{ kind: "component", type: ButtonComponent, selector: "hm-button", inputs: ["emphasis", "intent", "size", "type", "icon", "iconDirection", "iconEnd", "disabled", "loading", "loadingState", "block", "link", "newTab", "caret", "inMenu", "toggle", "pressed"], outputs: ["loadingStateChange", "pressedChange", "clicked"] }, { kind: "component", type: PriceComponent, selector: "hm-price", inputs: ["amount", "compareAt", "currency", "size", "period", "unit", "showDiscount", "showSavings", "installments", "interestFree", "freeLabel", "texts"] }, { kind: "component", type: TagComponent, selector: "hm-tag", inputs: ["name", "color", "compact"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
798
798
|
}
|
|
799
799
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.24", ngImport: i0, type: SubscriptionCardComponent, decorators: [{
|
|
@@ -803,35 +803,35 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.24", ngImpo
|
|
|
803
803
|
imports: [ButtonComponent, PriceComponent, TagComponent],
|
|
804
804
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
805
805
|
host: { class: 'hm-subscription-card', '[class.hm-subscription-card--attention]': "subscription().status === 'past-due'" },
|
|
806
|
-
template: `
|
|
807
|
-
<div class="hm-subscription-card__header">
|
|
808
|
-
<div class="hm-subscription-card__plan" role="heading" [attr.aria-level]="headingLevel()">{{ subscription().planName }}</div>
|
|
809
|
-
<hm-tag [name]="text().subscriptionStatus[subscription().status]" [color]="tone()" />
|
|
810
|
-
</div>
|
|
811
|
-
<hm-price [amount]="subscription().price" [currency]="currency()" [period]="subscription().cycle === 'yearly' ? 'year' : 'month'" />
|
|
812
|
-
@if (subscription().status === 'past-due') {
|
|
813
|
-
<p class="hm-subscription-card__alert" role="alert">{{ s().pastDue }}</p>
|
|
814
|
-
}
|
|
815
|
-
<ul class="hm-subscription-card__facts">
|
|
816
|
-
@for (fact of facts(); track $index) {
|
|
817
|
-
<li>{{ fact }}</li>
|
|
818
|
-
}
|
|
819
|
-
</ul>
|
|
820
|
-
@if (!readonly()) {
|
|
821
|
-
<div class="hm-subscription-card__actions">
|
|
822
|
-
@if (subscription().status === 'past-due') {
|
|
823
|
-
<hm-button size="small" icon="credit-card" (clicked)="updatePayment.emit()">{{ s().updatePayment }}</hm-button>
|
|
824
|
-
}
|
|
825
|
-
@if (resumable()) {
|
|
826
|
-
<hm-button size="small" (clicked)="resume.emit()">{{ s().resume }}</hm-button>
|
|
827
|
-
} @else if (subscription().status !== 'expired') {
|
|
828
|
-
<hm-button emphasis="medium" size="small" (clicked)="changePlan.emit()">{{ s().changePlan }}</hm-button>
|
|
829
|
-
@if (!subscription().cancelAt) {
|
|
830
|
-
<hm-button emphasis="minimal" intent="danger" size="small" (clicked)="cancel.emit()">{{ s().cancel }}</hm-button>
|
|
831
|
-
}
|
|
832
|
-
}
|
|
833
|
-
</div>
|
|
834
|
-
}
|
|
806
|
+
template: `
|
|
807
|
+
<div class="hm-subscription-card__header">
|
|
808
|
+
<div class="hm-subscription-card__plan" role="heading" [attr.aria-level]="headingLevel()">{{ subscription().planName }}</div>
|
|
809
|
+
<hm-tag [name]="text().subscriptionStatus[subscription().status]" [color]="tone()" />
|
|
810
|
+
</div>
|
|
811
|
+
<hm-price [amount]="subscription().price" [currency]="currency()" [period]="subscription().cycle === 'yearly' ? 'year' : 'month'" />
|
|
812
|
+
@if (subscription().status === 'past-due') {
|
|
813
|
+
<p class="hm-subscription-card__alert" role="alert">{{ s().pastDue }}</p>
|
|
814
|
+
}
|
|
815
|
+
<ul class="hm-subscription-card__facts">
|
|
816
|
+
@for (fact of facts(); track $index) {
|
|
817
|
+
<li>{{ fact }}</li>
|
|
818
|
+
}
|
|
819
|
+
</ul>
|
|
820
|
+
@if (!readonly()) {
|
|
821
|
+
<div class="hm-subscription-card__actions">
|
|
822
|
+
@if (subscription().status === 'past-due') {
|
|
823
|
+
<hm-button size="small" icon="credit-card" (clicked)="updatePayment.emit()">{{ s().updatePayment }}</hm-button>
|
|
824
|
+
}
|
|
825
|
+
@if (resumable()) {
|
|
826
|
+
<hm-button size="small" (clicked)="resume.emit()">{{ s().resume }}</hm-button>
|
|
827
|
+
} @else if (subscription().status !== 'expired') {
|
|
828
|
+
<hm-button emphasis="medium" size="small" (clicked)="changePlan.emit()">{{ s().changePlan }}</hm-button>
|
|
829
|
+
@if (!subscription().cancelAt) {
|
|
830
|
+
<hm-button emphasis="minimal" intent="danger" size="small" (clicked)="cancel.emit()">{{ s().cancel }}</hm-button>
|
|
831
|
+
}
|
|
832
|
+
}
|
|
833
|
+
</div>
|
|
834
|
+
}
|
|
835
835
|
`,
|
|
836
836
|
}]
|
|
837
837
|
}], propDecorators: { subscription: [{ type: i0.Input, args: [{ isSignal: true, alias: "subscription", required: true }] }], headingLevel: [{ type: i0.Input, args: [{ isSignal: true, alias: "headingLevel", required: false }] }], changePlan: [{ type: i0.Output, args: ["changePlan"] }], cancel: [{ type: i0.Output, args: ["cancel"] }], resume: [{ type: i0.Output, args: ["resume"] }], updatePayment: [{ type: i0.Output, args: ["updatePayment"] }], readonly: [{ type: i0.Input, args: [{ isSignal: true, alias: "readonly", required: false }] }], texts: [{ type: i0.Input, args: [{ isSignal: true, alias: "texts", required: false }] }] } });
|
|
@@ -922,38 +922,38 @@ class UsageMeterComponent {
|
|
|
922
922
|
return formatMessage(this.#text().usage.projected, { amount: this.#amount(projected) });
|
|
923
923
|
}, ...(ngDevMode ? [{ debugName: "projectionText" }] : /* istanbul ignore next */ []));
|
|
924
924
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.24", ngImport: i0, type: UsageMeterComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
925
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.24", type: UsageMeterComponent, isStandalone: true, selector: "hm-usage-meter", inputs: { label: { classPropertyName: "label", publicName: "label", isSignal: true, isRequired: true, transformFunction: null }, used: { classPropertyName: "used", publicName: "used", isSignal: true, isRequired: true, transformFunction: null }, limit: { classPropertyName: "limit", publicName: "limit", isSignal: true, isRequired: false, transformFunction: null }, unit: { classPropertyName: "unit", publicName: "unit", isSignal: true, isRequired: false, transformFunction: null }, thresholds: { classPropertyName: "thresholds", publicName: "thresholds", isSignal: true, isRequired: false, transformFunction: null }, periodFraction: { classPropertyName: "periodFraction", publicName: "periodFraction", isSignal: true, isRequired: false, transformFunction: null }, compact: { classPropertyName: "compact", publicName: "compact", isSignal: true, isRequired: false, transformFunction: null }, texts: { classPropertyName: "texts", publicName: "texts", isSignal: true, isRequired: false, transformFunction: null } }, host: { properties: { "class": "'hm-usage-meter hm-usage-meter--' + tone()", "class.hm-usage-meter--compact": "compact()" } }, ngImport: i0, template: `
|
|
926
|
-
<div class="hm-usage-meter__header">
|
|
927
|
-
<span class="hm-usage-meter__label" [id]="labelId">{{ label() }}</span>
|
|
928
|
-
<span class="hm-usage-meter__value">{{ valueText() }}</span>
|
|
929
|
-
</div>
|
|
930
|
-
@if (reading().limit !== null) {
|
|
931
|
-
<div
|
|
932
|
-
class="hm-usage-meter__bar"
|
|
933
|
-
role="meter"
|
|
934
|
-
aria-valuemin="0"
|
|
935
|
-
[attr.aria-valuemax]="reading().limit"
|
|
936
|
-
[attr.aria-valuenow]="valueNow()"
|
|
937
|
-
[attr.aria-valuetext]="spoken()"
|
|
938
|
-
[attr.aria-labelledby]="labelId"
|
|
939
|
-
>
|
|
940
|
-
<span class="hm-usage-meter__fill" [style.inline-size.%]="fillPercent()"></span>
|
|
941
|
-
@if (projectedPercent() !== null) {
|
|
942
|
-
<span class="hm-usage-meter__projection" [style.inset-inline-start.%]="projectedPercent()" aria-hidden="true"></span>
|
|
943
|
-
}
|
|
944
|
-
</div>
|
|
945
|
-
}
|
|
946
|
-
<div class="hm-usage-meter__footer">
|
|
947
|
-
@if (statusText()) {
|
|
948
|
-
<span class="hm-usage-meter__status">{{ statusText() }}</span>
|
|
949
|
-
}
|
|
950
|
-
@if (detailText()) {
|
|
951
|
-
<span class="hm-usage-meter__detail">{{ detailText() }}</span>
|
|
952
|
-
}
|
|
953
|
-
</div>
|
|
954
|
-
@if (projectionText()) {
|
|
955
|
-
<p class="hm-usage-meter__projection-text">{{ projectionText() }}</p>
|
|
956
|
-
}
|
|
925
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.24", type: UsageMeterComponent, isStandalone: true, selector: "hm-usage-meter", inputs: { label: { classPropertyName: "label", publicName: "label", isSignal: true, isRequired: true, transformFunction: null }, used: { classPropertyName: "used", publicName: "used", isSignal: true, isRequired: true, transformFunction: null }, limit: { classPropertyName: "limit", publicName: "limit", isSignal: true, isRequired: false, transformFunction: null }, unit: { classPropertyName: "unit", publicName: "unit", isSignal: true, isRequired: false, transformFunction: null }, thresholds: { classPropertyName: "thresholds", publicName: "thresholds", isSignal: true, isRequired: false, transformFunction: null }, periodFraction: { classPropertyName: "periodFraction", publicName: "periodFraction", isSignal: true, isRequired: false, transformFunction: null }, compact: { classPropertyName: "compact", publicName: "compact", isSignal: true, isRequired: false, transformFunction: null }, texts: { classPropertyName: "texts", publicName: "texts", isSignal: true, isRequired: false, transformFunction: null } }, host: { properties: { "class": "'hm-usage-meter hm-usage-meter--' + tone()", "class.hm-usage-meter--compact": "compact()" } }, ngImport: i0, template: `
|
|
926
|
+
<div class="hm-usage-meter__header">
|
|
927
|
+
<span class="hm-usage-meter__label" [id]="labelId">{{ label() }}</span>
|
|
928
|
+
<span class="hm-usage-meter__value">{{ valueText() }}</span>
|
|
929
|
+
</div>
|
|
930
|
+
@if (reading().limit !== null) {
|
|
931
|
+
<div
|
|
932
|
+
class="hm-usage-meter__bar"
|
|
933
|
+
role="meter"
|
|
934
|
+
aria-valuemin="0"
|
|
935
|
+
[attr.aria-valuemax]="reading().limit"
|
|
936
|
+
[attr.aria-valuenow]="valueNow()"
|
|
937
|
+
[attr.aria-valuetext]="spoken()"
|
|
938
|
+
[attr.aria-labelledby]="labelId"
|
|
939
|
+
>
|
|
940
|
+
<span class="hm-usage-meter__fill" [style.inline-size.%]="fillPercent()"></span>
|
|
941
|
+
@if (projectedPercent() !== null) {
|
|
942
|
+
<span class="hm-usage-meter__projection" [style.inset-inline-start.%]="projectedPercent()" aria-hidden="true"></span>
|
|
943
|
+
}
|
|
944
|
+
</div>
|
|
945
|
+
}
|
|
946
|
+
<div class="hm-usage-meter__footer">
|
|
947
|
+
@if (statusText()) {
|
|
948
|
+
<span class="hm-usage-meter__status">{{ statusText() }}</span>
|
|
949
|
+
}
|
|
950
|
+
@if (detailText()) {
|
|
951
|
+
<span class="hm-usage-meter__detail">{{ detailText() }}</span>
|
|
952
|
+
}
|
|
953
|
+
</div>
|
|
954
|
+
@if (projectionText()) {
|
|
955
|
+
<p class="hm-usage-meter__projection-text">{{ projectionText() }}</p>
|
|
956
|
+
}
|
|
957
957
|
`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
958
958
|
}
|
|
959
959
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.24", ngImport: i0, type: UsageMeterComponent, decorators: [{
|
|
@@ -962,38 +962,38 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.24", ngImpo
|
|
|
962
962
|
selector: 'hm-usage-meter',
|
|
963
963
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
964
964
|
host: { '[class]': "'hm-usage-meter hm-usage-meter--' + tone()", '[class.hm-usage-meter--compact]': 'compact()' },
|
|
965
|
-
template: `
|
|
966
|
-
<div class="hm-usage-meter__header">
|
|
967
|
-
<span class="hm-usage-meter__label" [id]="labelId">{{ label() }}</span>
|
|
968
|
-
<span class="hm-usage-meter__value">{{ valueText() }}</span>
|
|
969
|
-
</div>
|
|
970
|
-
@if (reading().limit !== null) {
|
|
971
|
-
<div
|
|
972
|
-
class="hm-usage-meter__bar"
|
|
973
|
-
role="meter"
|
|
974
|
-
aria-valuemin="0"
|
|
975
|
-
[attr.aria-valuemax]="reading().limit"
|
|
976
|
-
[attr.aria-valuenow]="valueNow()"
|
|
977
|
-
[attr.aria-valuetext]="spoken()"
|
|
978
|
-
[attr.aria-labelledby]="labelId"
|
|
979
|
-
>
|
|
980
|
-
<span class="hm-usage-meter__fill" [style.inline-size.%]="fillPercent()"></span>
|
|
981
|
-
@if (projectedPercent() !== null) {
|
|
982
|
-
<span class="hm-usage-meter__projection" [style.inset-inline-start.%]="projectedPercent()" aria-hidden="true"></span>
|
|
983
|
-
}
|
|
984
|
-
</div>
|
|
985
|
-
}
|
|
986
|
-
<div class="hm-usage-meter__footer">
|
|
987
|
-
@if (statusText()) {
|
|
988
|
-
<span class="hm-usage-meter__status">{{ statusText() }}</span>
|
|
989
|
-
}
|
|
990
|
-
@if (detailText()) {
|
|
991
|
-
<span class="hm-usage-meter__detail">{{ detailText() }}</span>
|
|
992
|
-
}
|
|
993
|
-
</div>
|
|
994
|
-
@if (projectionText()) {
|
|
995
|
-
<p class="hm-usage-meter__projection-text">{{ projectionText() }}</p>
|
|
996
|
-
}
|
|
965
|
+
template: `
|
|
966
|
+
<div class="hm-usage-meter__header">
|
|
967
|
+
<span class="hm-usage-meter__label" [id]="labelId">{{ label() }}</span>
|
|
968
|
+
<span class="hm-usage-meter__value">{{ valueText() }}</span>
|
|
969
|
+
</div>
|
|
970
|
+
@if (reading().limit !== null) {
|
|
971
|
+
<div
|
|
972
|
+
class="hm-usage-meter__bar"
|
|
973
|
+
role="meter"
|
|
974
|
+
aria-valuemin="0"
|
|
975
|
+
[attr.aria-valuemax]="reading().limit"
|
|
976
|
+
[attr.aria-valuenow]="valueNow()"
|
|
977
|
+
[attr.aria-valuetext]="spoken()"
|
|
978
|
+
[attr.aria-labelledby]="labelId"
|
|
979
|
+
>
|
|
980
|
+
<span class="hm-usage-meter__fill" [style.inline-size.%]="fillPercent()"></span>
|
|
981
|
+
@if (projectedPercent() !== null) {
|
|
982
|
+
<span class="hm-usage-meter__projection" [style.inset-inline-start.%]="projectedPercent()" aria-hidden="true"></span>
|
|
983
|
+
}
|
|
984
|
+
</div>
|
|
985
|
+
}
|
|
986
|
+
<div class="hm-usage-meter__footer">
|
|
987
|
+
@if (statusText()) {
|
|
988
|
+
<span class="hm-usage-meter__status">{{ statusText() }}</span>
|
|
989
|
+
}
|
|
990
|
+
@if (detailText()) {
|
|
991
|
+
<span class="hm-usage-meter__detail">{{ detailText() }}</span>
|
|
992
|
+
}
|
|
993
|
+
</div>
|
|
994
|
+
@if (projectionText()) {
|
|
995
|
+
<p class="hm-usage-meter__projection-text">{{ projectionText() }}</p>
|
|
996
|
+
}
|
|
997
997
|
`,
|
|
998
998
|
}]
|
|
999
999
|
}], propDecorators: { label: [{ type: i0.Input, args: [{ isSignal: true, alias: "label", required: true }] }], used: [{ type: i0.Input, args: [{ isSignal: true, alias: "used", required: true }] }], limit: [{ type: i0.Input, args: [{ isSignal: true, alias: "limit", required: false }] }], unit: [{ type: i0.Input, args: [{ isSignal: true, alias: "unit", required: false }] }], thresholds: [{ type: i0.Input, args: [{ isSignal: true, alias: "thresholds", required: false }] }], periodFraction: [{ type: i0.Input, args: [{ isSignal: true, alias: "periodFraction", required: false }] }], compact: [{ type: i0.Input, args: [{ isSignal: true, alias: "compact", required: false }] }], texts: [{ type: i0.Input, args: [{ isSignal: true, alias: "texts", required: false }] }] } });
|