@forgeroute/ui 0.5.16 → 0.5.17
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/fesm2022/forgeroute-ui-action-bar.mjs +190 -0
- package/fesm2022/forgeroute-ui-action-bar.mjs.map +1 -0
- package/fesm2022/forgeroute-ui-address-input.mjs +1164 -0
- package/fesm2022/forgeroute-ui-address-input.mjs.map +1 -0
- package/fesm2022/forgeroute-ui-alert.mjs +223 -0
- package/fesm2022/forgeroute-ui-alert.mjs.map +1 -0
- package/fesm2022/forgeroute-ui-avatar.mjs +320 -0
- package/fesm2022/forgeroute-ui-avatar.mjs.map +1 -0
- package/fesm2022/forgeroute-ui-badge.mjs +158 -0
- package/fesm2022/forgeroute-ui-badge.mjs.map +1 -0
- package/fesm2022/forgeroute-ui-bar-row.mjs +255 -0
- package/fesm2022/forgeroute-ui-bar-row.mjs.map +1 -0
- package/fesm2022/forgeroute-ui-boards.mjs +2201 -0
- package/fesm2022/forgeroute-ui-boards.mjs.map +1 -0
- package/fesm2022/forgeroute-ui-bulk-eligible.mjs +172 -0
- package/fesm2022/forgeroute-ui-bulk-eligible.mjs.map +1 -0
- package/fesm2022/forgeroute-ui-business-hours.mjs +771 -0
- package/fesm2022/forgeroute-ui-business-hours.mjs.map +1 -0
- package/fesm2022/forgeroute-ui-calendar.mjs +2006 -0
- package/fesm2022/forgeroute-ui-calendar.mjs.map +1 -0
- package/fesm2022/forgeroute-ui-card-list-item.mjs +556 -0
- package/fesm2022/forgeroute-ui-card-list-item.mjs.map +1 -0
- package/fesm2022/forgeroute-ui-charts.mjs +1 -1
- package/fesm2022/forgeroute-ui-charts.mjs.map +1 -1
- package/fesm2022/forgeroute-ui-checkbox.mjs +815 -0
- package/fesm2022/forgeroute-ui-checkbox.mjs.map +1 -0
- package/fesm2022/forgeroute-ui-chip.mjs +379 -0
- package/fesm2022/forgeroute-ui-chip.mjs.map +1 -0
- package/fesm2022/forgeroute-ui-color-input.mjs +492 -0
- package/fesm2022/forgeroute-ui-color-input.mjs.map +1 -0
- package/fesm2022/forgeroute-ui-column-filter.mjs +645 -0
- package/fesm2022/forgeroute-ui-column-filter.mjs.map +1 -0
- package/fesm2022/forgeroute-ui-columns.mjs +351 -0
- package/fesm2022/forgeroute-ui-columns.mjs.map +1 -0
- package/fesm2022/forgeroute-ui-combobox.mjs +772 -0
- package/fesm2022/forgeroute-ui-combobox.mjs.map +1 -0
- package/fesm2022/forgeroute-ui-confirm.mjs +48 -0
- package/fesm2022/forgeroute-ui-confirm.mjs.map +1 -0
- package/fesm2022/forgeroute-ui-contact-picker.mjs +865 -0
- package/fesm2022/forgeroute-ui-contact-picker.mjs.map +1 -0
- package/fesm2022/forgeroute-ui-conversations.mjs +3627 -0
- package/fesm2022/forgeroute-ui-conversations.mjs.map +1 -0
- package/fesm2022/forgeroute-ui-copy-field.mjs +378 -0
- package/fesm2022/forgeroute-ui-copy-field.mjs.map +1 -0
- package/fesm2022/forgeroute-ui-data-table-core.mjs +6150 -0
- package/fesm2022/forgeroute-ui-data-table-core.mjs.map +1 -0
- package/fesm2022/forgeroute-ui-date-input.mjs +384 -0
- package/fesm2022/forgeroute-ui-date-input.mjs.map +1 -0
- package/fesm2022/forgeroute-ui-date-range-picker.mjs +453 -0
- package/fesm2022/forgeroute-ui-date-range-picker.mjs.map +1 -0
- package/fesm2022/forgeroute-ui-datetime-input.mjs +375 -0
- package/fesm2022/forgeroute-ui-datetime-input.mjs.map +1 -0
- package/fesm2022/forgeroute-ui-detail-card.mjs +655 -0
- package/fesm2022/forgeroute-ui-detail-card.mjs.map +1 -0
- package/fesm2022/forgeroute-ui-discount-selector.mjs +259 -0
- package/fesm2022/forgeroute-ui-discount-selector.mjs.map +1 -0
- package/fesm2022/forgeroute-ui-divider.mjs +111 -0
- package/fesm2022/forgeroute-ui-divider.mjs.map +1 -0
- package/fesm2022/forgeroute-ui-dropdown.mjs +550 -0
- package/fesm2022/forgeroute-ui-dropdown.mjs.map +1 -0
- package/fesm2022/forgeroute-ui-editor.mjs +4545 -0
- package/fesm2022/forgeroute-ui-editor.mjs.map +1 -0
- package/fesm2022/forgeroute-ui-empty-state.mjs +231 -0
- package/fesm2022/forgeroute-ui-empty-state.mjs.map +1 -0
- package/fesm2022/forgeroute-ui-error-state.mjs +195 -0
- package/fesm2022/forgeroute-ui-error-state.mjs.map +1 -0
- package/fesm2022/forgeroute-ui-error.mjs +93 -0
- package/fesm2022/forgeroute-ui-error.mjs.map +1 -0
- package/fesm2022/forgeroute-ui-fade.mjs +117 -0
- package/fesm2022/forgeroute-ui-fade.mjs.map +1 -0
- package/fesm2022/forgeroute-ui-file-input.mjs +999 -0
- package/fesm2022/forgeroute-ui-file-input.mjs.map +1 -0
- package/fesm2022/forgeroute-ui-fixed-footer.mjs +115 -0
- package/fesm2022/forgeroute-ui-fixed-footer.mjs.map +1 -0
- package/fesm2022/forgeroute-ui-form-row.mjs +126 -0
- package/fesm2022/forgeroute-ui-form-row.mjs.map +1 -0
- package/fesm2022/forgeroute-ui-form-section.mjs +93 -0
- package/fesm2022/forgeroute-ui-form-section.mjs.map +1 -0
- package/fesm2022/forgeroute-ui-form.mjs +139 -0
- package/fesm2022/forgeroute-ui-form.mjs.map +1 -0
- package/fesm2022/forgeroute-ui-hint.mjs +47 -0
- package/fesm2022/forgeroute-ui-hint.mjs.map +1 -0
- package/fesm2022/forgeroute-ui-icon-picker.mjs +424 -0
- package/fesm2022/forgeroute-ui-icon-picker.mjs.map +1 -0
- package/fesm2022/forgeroute-ui-icon.mjs +311 -0
- package/fesm2022/forgeroute-ui-icon.mjs.map +1 -0
- package/fesm2022/forgeroute-ui-image-preview.mjs +237 -0
- package/fesm2022/forgeroute-ui-image-preview.mjs.map +1 -0
- package/fesm2022/forgeroute-ui-keypad.mjs +278 -0
- package/fesm2022/forgeroute-ui-keypad.mjs.map +1 -0
- package/fesm2022/forgeroute-ui-kpi-card.mjs +490 -0
- package/fesm2022/forgeroute-ui-kpi-card.mjs.map +1 -0
- package/fesm2022/forgeroute-ui-language-switcher.mjs +134 -0
- package/fesm2022/forgeroute-ui-language-switcher.mjs.map +1 -0
- package/fesm2022/forgeroute-ui-layout.mjs +18 -0
- package/fesm2022/forgeroute-ui-layout.mjs.map +1 -0
- package/fesm2022/forgeroute-ui-list-item.mjs +620 -0
- package/fesm2022/forgeroute-ui-list-item.mjs.map +1 -0
- package/fesm2022/forgeroute-ui-list.mjs +866 -0
- package/fesm2022/forgeroute-ui-list.mjs.map +1 -0
- package/fesm2022/forgeroute-ui-live-region.mjs +118 -0
- package/fesm2022/forgeroute-ui-live-region.mjs.map +1 -0
- package/fesm2022/forgeroute-ui-map.mjs +5 -1
- package/fesm2022/forgeroute-ui-map.mjs.map +1 -1
- package/fesm2022/forgeroute-ui-maps.mjs +2 -1
- package/fesm2022/forgeroute-ui-maps.mjs.map +1 -1
- package/fesm2022/forgeroute-ui-media.mjs +4615 -0
- package/fesm2022/forgeroute-ui-media.mjs.map +1 -0
- package/fesm2022/forgeroute-ui-messaging.mjs +20 -1
- package/fesm2022/forgeroute-ui-messaging.mjs.map +1 -1
- package/fesm2022/forgeroute-ui-more-menu.mjs +418 -0
- package/fesm2022/forgeroute-ui-more-menu.mjs.map +1 -0
- package/fesm2022/forgeroute-ui-multi-select.mjs +532 -0
- package/fesm2022/forgeroute-ui-multi-select.mjs.map +1 -0
- package/fesm2022/forgeroute-ui-notes.mjs +768 -0
- package/fesm2022/forgeroute-ui-notes.mjs.map +1 -0
- package/fesm2022/forgeroute-ui-notification-bell.mjs +587 -0
- package/fesm2022/forgeroute-ui-notification-bell.mjs.map +1 -0
- package/fesm2022/forgeroute-ui-offline-banner.mjs +156 -0
- package/fesm2022/forgeroute-ui-offline-banner.mjs.map +1 -0
- package/fesm2022/forgeroute-ui-option-card.mjs +379 -0
- package/fesm2022/forgeroute-ui-option-card.mjs.map +1 -0
- package/fesm2022/forgeroute-ui-page.mjs +317 -0
- package/fesm2022/forgeroute-ui-page.mjs.map +1 -0
- package/fesm2022/forgeroute-ui-pagination.mjs +225 -0
- package/fesm2022/forgeroute-ui-pagination.mjs.map +1 -0
- package/fesm2022/forgeroute-ui-panel-info-list.mjs +422 -0
- package/fesm2022/forgeroute-ui-panel-info-list.mjs.map +1 -0
- package/fesm2022/forgeroute-ui-password-requirements.mjs +237 -0
- package/fesm2022/forgeroute-ui-password-requirements.mjs.map +1 -0
- package/fesm2022/forgeroute-ui-payments.mjs +6243 -0
- package/fesm2022/forgeroute-ui-payments.mjs.map +1 -0
- package/fesm2022/forgeroute-ui-pdf.mjs +9 -1
- package/fesm2022/forgeroute-ui-pdf.mjs.map +1 -1
- package/fesm2022/forgeroute-ui-phone-number-picker.mjs +840 -0
- package/fesm2022/forgeroute-ui-phone-number-picker.mjs.map +1 -0
- package/fesm2022/forgeroute-ui-pill-tabs.mjs +546 -0
- package/fesm2022/forgeroute-ui-pill-tabs.mjs.map +1 -0
- package/fesm2022/forgeroute-ui-print.mjs +76 -0
- package/fesm2022/forgeroute-ui-print.mjs.map +1 -0
- package/fesm2022/forgeroute-ui-progress-bar.mjs +252 -0
- package/fesm2022/forgeroute-ui-progress-bar.mjs.map +1 -0
- package/fesm2022/forgeroute-ui-progress-ring.mjs +277 -0
- package/fesm2022/forgeroute-ui-progress-ring.mjs.map +1 -0
- package/fesm2022/forgeroute-ui-quick-filter-tabs.mjs +301 -0
- package/fesm2022/forgeroute-ui-quick-filter-tabs.mjs.map +1 -0
- package/fesm2022/forgeroute-ui-quickbooks.mjs +18 -1
- package/fesm2022/forgeroute-ui-quickbooks.mjs.map +1 -1
- package/fesm2022/forgeroute-ui-radio-matrix.mjs +471 -0
- package/fesm2022/forgeroute-ui-radio-matrix.mjs.map +1 -0
- package/fesm2022/forgeroute-ui-radio.mjs +911 -0
- package/fesm2022/forgeroute-ui-radio.mjs.map +1 -0
- package/fesm2022/forgeroute-ui-read-only-mode.mjs +15 -0
- package/fesm2022/forgeroute-ui-read-only-mode.mjs.map +1 -0
- package/fesm2022/forgeroute-ui-readonly-fieldset.mjs +146 -0
- package/fesm2022/forgeroute-ui-readonly-fieldset.mjs.map +1 -0
- package/fesm2022/forgeroute-ui-reminder-alerts.mjs +249 -0
- package/fesm2022/forgeroute-ui-reminder-alerts.mjs.map +1 -0
- package/fesm2022/forgeroute-ui-search-input.mjs +373 -0
- package/fesm2022/forgeroute-ui-search-input.mjs.map +1 -0
- package/fesm2022/forgeroute-ui-section-header.mjs +296 -0
- package/fesm2022/forgeroute-ui-section-header.mjs.map +1 -0
- package/fesm2022/forgeroute-ui-select.mjs +498 -0
- package/fesm2022/forgeroute-ui-select.mjs.map +1 -0
- package/fesm2022/forgeroute-ui-setup.mjs +4649 -0
- package/fesm2022/forgeroute-ui-setup.mjs.map +1 -0
- package/fesm2022/forgeroute-ui-share-menu.mjs +461 -0
- package/fesm2022/forgeroute-ui-share-menu.mjs.map +1 -0
- package/fesm2022/forgeroute-ui-shell.mjs +981 -0
- package/fesm2022/forgeroute-ui-shell.mjs.map +1 -0
- package/fesm2022/forgeroute-ui-show.mjs +129 -0
- package/fesm2022/forgeroute-ui-show.mjs.map +1 -0
- package/fesm2022/forgeroute-ui-sidebar-layout.mjs +355 -0
- package/fesm2022/forgeroute-ui-sidebar-layout.mjs.map +1 -0
- package/fesm2022/forgeroute-ui-skeleton.mjs +152 -0
- package/fesm2022/forgeroute-ui-skeleton.mjs.map +1 -0
- package/fesm2022/forgeroute-ui-skip-link.mjs +129 -0
- package/fesm2022/forgeroute-ui-skip-link.mjs.map +1 -0
- package/fesm2022/forgeroute-ui-snackbar.mjs +200 -0
- package/fesm2022/forgeroute-ui-snackbar.mjs.map +1 -0
- package/fesm2022/forgeroute-ui-square.mjs +15 -1
- package/fesm2022/forgeroute-ui-square.mjs.map +1 -1
- package/fesm2022/forgeroute-ui-stack.mjs +233 -0
- package/fesm2022/forgeroute-ui-stack.mjs.map +1 -0
- package/fesm2022/forgeroute-ui-stacked-bar.mjs +200 -0
- package/fesm2022/forgeroute-ui-stacked-bar.mjs.map +1 -0
- package/fesm2022/forgeroute-ui-stacking-plan.mjs +365 -0
- package/fesm2022/forgeroute-ui-stacking-plan.mjs.map +1 -0
- package/fesm2022/forgeroute-ui-star-rating.mjs +498 -0
- package/fesm2022/forgeroute-ui-star-rating.mjs.map +1 -0
- package/fesm2022/forgeroute-ui-star.mjs +184 -0
- package/fesm2022/forgeroute-ui-star.mjs.map +1 -0
- package/fesm2022/forgeroute-ui-stepper.mjs +615 -0
- package/fesm2022/forgeroute-ui-stepper.mjs.map +1 -0
- package/fesm2022/forgeroute-ui-stripe.mjs +14 -1
- package/fesm2022/forgeroute-ui-stripe.mjs.map +1 -1
- package/fesm2022/forgeroute-ui-swatch-picker.mjs +416 -0
- package/fesm2022/forgeroute-ui-swatch-picker.mjs.map +1 -0
- package/fesm2022/forgeroute-ui-table-toolbar.mjs +770 -0
- package/fesm2022/forgeroute-ui-table-toolbar.mjs.map +1 -0
- package/fesm2022/forgeroute-ui-table-types.mjs +277 -0
- package/fesm2022/forgeroute-ui-table-types.mjs.map +1 -0
- package/fesm2022/forgeroute-ui-text-input.mjs +1003 -0
- package/fesm2022/forgeroute-ui-text-input.mjs.map +1 -0
- package/fesm2022/forgeroute-ui-text-template-picker.mjs +356 -0
- package/fesm2022/forgeroute-ui-text-template-picker.mjs.map +1 -0
- package/fesm2022/forgeroute-ui-text.mjs +195 -0
- package/fesm2022/forgeroute-ui-text.mjs.map +1 -0
- package/fesm2022/forgeroute-ui-textarea-input.mjs +542 -0
- package/fesm2022/forgeroute-ui-textarea-input.mjs.map +1 -0
- package/fesm2022/forgeroute-ui-time-input.mjs +401 -0
- package/fesm2022/forgeroute-ui-time-input.mjs.map +1 -0
- package/fesm2022/forgeroute-ui-timeline.mjs +549 -0
- package/fesm2022/forgeroute-ui-timeline.mjs.map +1 -0
- package/fesm2022/forgeroute-ui-toast.mjs +507 -0
- package/fesm2022/forgeroute-ui-toast.mjs.map +1 -0
- package/fesm2022/forgeroute-ui-toggle-badge.mjs +177 -0
- package/fesm2022/forgeroute-ui-toggle-badge.mjs.map +1 -0
- package/fesm2022/forgeroute-ui-toggle.mjs +275 -0
- package/fesm2022/forgeroute-ui-toggle.mjs.map +1 -0
- package/fesm2022/forgeroute-ui-tooltip.mjs +155 -0
- package/fesm2022/forgeroute-ui-tooltip.mjs.map +1 -0
- package/fesm2022/forgeroute-ui-utils.mjs +1071 -0
- package/fesm2022/forgeroute-ui-utils.mjs.map +1 -0
- package/fesm2022/forgeroute-ui.mjs +105 -70663
- package/package.json +417 -1
- package/types/forgeroute-ui-action-bar.d.ts +74 -0
- package/types/forgeroute-ui-address-input.d.ts +354 -0
- package/types/forgeroute-ui-alert.d.ts +89 -0
- package/types/forgeroute-ui-avatar.d.ts +85 -0
- package/types/forgeroute-ui-badge.d.ts +45 -0
- package/types/forgeroute-ui-bar-row.d.ts +90 -0
- package/types/forgeroute-ui-boards.d.ts +575 -0
- package/types/forgeroute-ui-bulk-eligible.d.ts +53 -0
- package/types/forgeroute-ui-business-hours.d.ts +191 -0
- package/types/forgeroute-ui-calendar.d.ts +544 -0
- package/types/forgeroute-ui-card-list-item.d.ts +186 -0
- package/types/forgeroute-ui-charts.d.ts +1 -1
- package/types/forgeroute-ui-checkbox.d.ts +270 -0
- package/types/forgeroute-ui-chip.d.ts +125 -0
- package/types/forgeroute-ui-color-input.d.ts +160 -0
- package/types/forgeroute-ui-column-filter.d.ts +130 -0
- package/types/forgeroute-ui-columns.d.ts +150 -0
- package/types/forgeroute-ui-combobox.d.ts +252 -0
- package/types/forgeroute-ui-confirm.d.ts +34 -0
- package/types/forgeroute-ui-contact-picker.d.ts +173 -0
- package/types/forgeroute-ui-conversations.d.ts +993 -0
- package/types/forgeroute-ui-copy-field.d.ts +122 -0
- package/types/forgeroute-ui-data-table-core.d.ts +1221 -0
- package/types/forgeroute-ui-date-input.d.ts +101 -0
- package/types/forgeroute-ui-date-range-picker.d.ts +109 -0
- package/types/forgeroute-ui-datetime-input.d.ts +97 -0
- package/types/forgeroute-ui-detail-card.d.ts +252 -0
- package/types/forgeroute-ui-discount-selector.d.ts +57 -0
- package/types/forgeroute-ui-divider.d.ts +40 -0
- package/types/forgeroute-ui-dropdown.d.ts +156 -0
- package/types/forgeroute-ui-editor.d.ts +873 -0
- package/types/forgeroute-ui-empty-state.d.ts +29 -0
- package/types/forgeroute-ui-error-state.d.ts +38 -0
- package/types/forgeroute-ui-error.d.ts +29 -0
- package/types/forgeroute-ui-fade.d.ts +39 -0
- package/types/forgeroute-ui-file-input.d.ts +337 -0
- package/types/forgeroute-ui-fixed-footer.d.ts +53 -0
- package/types/forgeroute-ui-form-row.d.ts +30 -0
- package/types/forgeroute-ui-form-section.d.ts +18 -0
- package/types/forgeroute-ui-form.d.ts +68 -0
- package/types/forgeroute-ui-hint.d.ts +10 -0
- package/types/forgeroute-ui-icon-picker.d.ts +122 -0
- package/types/forgeroute-ui-icon.d.ts +95 -0
- package/types/forgeroute-ui-image-preview.d.ts +88 -0
- package/types/forgeroute-ui-keypad.d.ts +73 -0
- package/types/forgeroute-ui-kpi-card.d.ts +161 -0
- package/types/forgeroute-ui-language-switcher.d.ts +41 -0
- package/types/forgeroute-ui-layout.d.ts +13 -0
- package/types/forgeroute-ui-list-item.d.ts +253 -0
- package/types/forgeroute-ui-list.d.ts +282 -0
- package/types/forgeroute-ui-live-region.d.ts +49 -0
- package/types/forgeroute-ui-map.d.ts +1 -1
- package/types/forgeroute-ui-maps.d.ts +1 -1
- package/types/forgeroute-ui-media.d.ts +1221 -0
- package/types/forgeroute-ui-messaging.d.ts +6 -1
- package/types/forgeroute-ui-more-menu.d.ts +91 -0
- package/types/forgeroute-ui-multi-select.d.ts +119 -0
- package/types/forgeroute-ui-notes.d.ts +172 -0
- package/types/forgeroute-ui-notification-bell.d.ts +135 -0
- package/types/forgeroute-ui-offline-banner.d.ts +44 -0
- package/types/forgeroute-ui-option-card.d.ts +106 -0
- package/types/forgeroute-ui-page.d.ts +115 -0
- package/types/forgeroute-ui-pagination.d.ts +55 -0
- package/types/forgeroute-ui-panel-info-list.d.ts +147 -0
- package/types/forgeroute-ui-password-requirements.d.ts +89 -0
- package/types/forgeroute-ui-payments.d.ts +1818 -0
- package/types/forgeroute-ui-pdf.d.ts +1 -1
- package/types/forgeroute-ui-phone-number-picker.d.ts +199 -0
- package/types/forgeroute-ui-pill-tabs.d.ts +208 -0
- package/types/forgeroute-ui-print.d.ts +40 -0
- package/types/forgeroute-ui-progress-bar.d.ts +88 -0
- package/types/forgeroute-ui-progress-ring.d.ts +102 -0
- package/types/forgeroute-ui-quick-filter-tabs.d.ts +51 -0
- package/types/forgeroute-ui-quickbooks.d.ts +4 -1
- package/types/forgeroute-ui-radio-matrix.d.ts +131 -0
- package/types/forgeroute-ui-radio.d.ts +311 -0
- package/types/forgeroute-ui-read-only-mode.d.ts +26 -0
- package/types/forgeroute-ui-readonly-fieldset.d.ts +62 -0
- package/types/forgeroute-ui-reminder-alerts.d.ts +71 -0
- package/types/forgeroute-ui-search-input.d.ts +93 -0
- package/types/forgeroute-ui-section-header.d.ts +149 -0
- package/types/forgeroute-ui-select.d.ts +183 -0
- package/types/forgeroute-ui-setup.d.ts +775 -0
- package/types/forgeroute-ui-share-menu.d.ts +99 -0
- package/types/forgeroute-ui-shell.d.ts +173 -0
- package/types/forgeroute-ui-show.d.ts +40 -0
- package/types/forgeroute-ui-sidebar-layout.d.ts +161 -0
- package/types/forgeroute-ui-skeleton.d.ts +51 -0
- package/types/forgeroute-ui-skip-link.d.ts +51 -0
- package/types/forgeroute-ui-snackbar.d.ts +50 -0
- package/types/forgeroute-ui-square.d.ts +3 -1
- package/types/forgeroute-ui-stack.d.ts +99 -0
- package/types/forgeroute-ui-stacked-bar.d.ts +84 -0
- package/types/forgeroute-ui-stacking-plan.d.ts +116 -0
- package/types/forgeroute-ui-star-rating.d.ts +151 -0
- package/types/forgeroute-ui-star.d.ts +46 -0
- package/types/forgeroute-ui-stepper.d.ts +273 -0
- package/types/forgeroute-ui-stripe.d.ts +3 -1
- package/types/forgeroute-ui-swatch-picker.d.ts +118 -0
- package/types/forgeroute-ui-table-toolbar.d.ts +116 -0
- package/types/forgeroute-ui-table-types.d.ts +624 -0
- package/types/forgeroute-ui-text-input.d.ts +359 -0
- package/types/forgeroute-ui-text-template-picker.d.ts +100 -0
- package/types/forgeroute-ui-text.d.ts +76 -0
- package/types/forgeroute-ui-textarea-input.d.ts +174 -0
- package/types/forgeroute-ui-time-input.d.ts +105 -0
- package/types/forgeroute-ui-timeline.d.ts +196 -0
- package/types/forgeroute-ui-toast.d.ts +131 -0
- package/types/forgeroute-ui-toggle-badge.d.ts +64 -0
- package/types/forgeroute-ui-toggle.d.ts +92 -0
- package/types/forgeroute-ui-tooltip.d.ts +36 -0
- package/types/forgeroute-ui-utils.d.ts +210 -0
- package/types/forgeroute-ui.d.ts +106 -19539
- package/fesm2022/forgeroute-ui.mjs.map +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"forgeroute-ui-notification-bell.mjs","names":[],"sources":["../../../projects/forgeroute-ui/notification-bell/src/lib/notification-bell/notification-bell.component.ts"],"sourcesContent":["import { ChangeDetectionStrategy, Component, computed, effect, inject, input, model, output, signal, untracked } from '@angular/core';\nimport { UiLabelsService } from '@forgeroute/ui/core';\nimport { LiveRegionComponent } from '@forgeroute/ui/live-region';\nimport { BadgeComponent } from '@forgeroute/ui/badge';\nimport { ButtonComponent } from '@forgeroute/ui/core';\nimport { EmptyStateComponent } from '@forgeroute/ui/empty-state';\nimport { ErrorStateComponent } from '@forgeroute/ui/error-state';\nimport { IconComponent } from '@forgeroute/ui/icon';\nimport { ListItemComponent } from '@forgeroute/ui/list-item';\nimport { SidePanelComponent } from '@forgeroute/ui/core';\nimport { SkeletonComponent } from '@forgeroute/ui/skeleton';\nimport { StackComponent } from '@forgeroute/ui/stack';\n\n/** One row of the notification list. `time` is the text to show (the host formats it: \"5 min ago\", \"Nov 10\"); `read` false = unread (highlighted, \"New\" badge, a Mark read button). */\nexport interface NotificationItem {\n id: string;\n title: string;\n body?: string | null;\n time?: string | null;\n read: boolean;\n}\n\n/**\n * The notification bell: a bell button with an unread count, that opens a side panel listing the user's notifications\n * (`<ui-notification-bell [items]=\"items()\" [unreadCount]=\"unread()\" [(open)]=\"open\" (opened)=\"load()\" (itemSelect)=\"go($event)\" (markRead)=\"read($event)\" (markAllRead)=\"readAll()\" />`).\n *\n * The component owns the look and the keyboard / screen-reader behaviour and holds NO http: the host loads the list (when `(opened)` fires), formats the times, keeps the unread count\n * current (the bell shows `unreadCount` even while the panel is closed) and answers `(markRead)` / `(markAllRead)` / `(loadMore)` / `(retry)`. Selecting a row emits `(itemSelect)` (the host\n * marks it read, navigates, and closes the panel with `open.set(false)`); the \"Mark read\" button of an unread row emits `(markRead)` only. Built from the library's own button, icon, badge,\n * side panel, list item, empty / error state and skeleton, so it follows their theming, focus rings and 44px touch targets.\n *\n * Accessibility: the trigger is a real button named \"Notifications, N unread\" (`ariaLabel` + the count), `aria-expanded` follows the panel; the count badge is decorative (the name already\n * carries it, so it is `aria-hidden`); a read row has no \"New\" badge; \"Mark read\" buttons carry the row title in their name. A visually hidden polite live region announces every CHANGE of\n * the unread count (\"You have 3 unread notifications.\", \"You have no unread notifications.\") - never the count the bell was first shown with, so a page load is silent.\n *\n * Text: every word comes from the label service (keys `notificationBell.*`, English and Spanish); `ariaLabel`, `panelTitle` and `emptyMessage` override the defaults when the host wants\n * its own wording.\n */\n@Component({\n selector: 'ui-notification-bell',\n standalone: true,\n changeDetection: ChangeDetectionStrategy.OnPush,\n imports: [BadgeComponent, ButtonComponent, EmptyStateComponent, ErrorStateComponent, IconComponent, ListItemComponent, LiveRegionComponent, SidePanelComponent, SkeletonComponent, StackComponent],\n template: `\n <span class=\"bell-wrap\">\n <ui-button variant=\"icon\" [ariaLabel]=\"triggerLabel()\" [ariaExpanded]=\"open()\" data-testid=\"notification-bell\" (click)=\"toggle()\">\n <ui-icon name=\"bell\" [size]=\"20\" [interactive]=\"false\" />\n </ui-button>\n @if (unreadCount() > 0) {\n <ui-badge class=\"bell-count\" aria-hidden=\"true\" [label]=\"countText()\" variant=\"red\" data-testid=\"notification-count\" />\n }\n </span>\n <ui-live-region [message]=\"announcement()\" data-testid=\"notification-live\" />\n\n <ui-side-panel [open]=\"open()\" [title]=\"panelTitleText()\" [cancelLabel]=\"labels.t('notificationBell.close')\" (closed)=\"close()\">\n <ui-stack gap=\"12px\">\n <div class=\"bell-head\">\n <span class=\"bell-summary\" data-testid=\"notification-summary\" role=\"status\">{{ summaryText() }}</span>\n <ui-button variant=\"link\" size=\"sm\" [disabled]=\"unreadCount() === 0\" data-testid=\"notification-mark-all\" (click)=\"markAllRead.emit()\">{{ labels.t('notificationBell.markAllRead') }}</ui-button>\n </div>\n\n @if (loading() && items().length === 0) {\n <div role=\"status\" aria-busy=\"true\" [attr.aria-label]=\"labels.t('notificationBell.loading')\" data-testid=\"notification-loading\">\n <ui-skeleton [height]=\"56\" [mb]=\"8\" />\n <ui-skeleton [height]=\"56\" [mb]=\"8\" />\n <ui-skeleton [height]=\"56\" />\n </div>\n } @else if (error()) {\n <div data-testid=\"notification-error\"><ui-error-state [message]=\"error()\" [retryLabel]=\"labels.t('notificationBell.retry')\" (retry)=\"retry.emit()\" /></div>\n } @else if (items().length === 0) {\n <ui-empty-state iconType=\"message\" [message]=\"emptyText()\" data-testid=\"notification-empty\" />\n } @else {\n <ui-stack gap=\"8px\" data-testid=\"notification-list\">\n @for (n of items(); track n.id) {\n <ui-list-item [attr.data-testid]=\"'notification-' + n.id\" [bordered]=\"true\" [highlighted]=\"!n.read\" [title]=\"n.title\" [details]=\"[n.body, n.time]\"\n [badge]=\"n.read ? null : labels.t('notificationBell.new')\" badgeVariant=\"blue\" [alwaysShowBadge]=\"true\" [wrapText]=\"true\" (select)=\"itemSelect.emit(n)\">\n @if (!n.read) {\n <ui-button list-item-action variant=\"secondary\" size=\"xs\" [ariaLabel]=\"labels.t('notificationBell.markReadNamed', { title: n.title })\" [attr.data-testid]=\"'notification-read-' + n.id\" (click)=\"markRead.emit(n)\">{{ labels.t('notificationBell.markRead') }}</ui-button>\n }\n </ui-list-item>\n }\n </ui-stack>\n @if (hasMore()) {\n <ui-button variant=\"secondary\" size=\"sm\" [loading]=\"loadingMore()\" data-testid=\"notification-more\" (click)=\"loadMore.emit()\">{{ labels.t('notificationBell.loadMore') }}</ui-button>\n }\n }\n </ui-stack>\n </ui-side-panel>\n `,\n styles: [`\n :host { display: inline-flex; position: relative; }\n .bell-wrap { position: relative; display: inline-flex; }\n .bell-count { position: absolute; top: -4px; right: -6px; pointer-events: none; }\n .bell-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }\n .bell-summary { font-size: 0.8125rem; color: #475569; }\n `],\n})\nexport class NotificationBellComponent {\n /** The notifications to list, newest first. */\n readonly items = input<readonly NotificationItem[]>([]);\n /** How many notifications are unread (shown on the bell even while the panel is closed). */\n readonly unreadCount = input(0);\n readonly loading = input(false);\n readonly loadingMore = input(false);\n /** A load failure message ('' = none): shown with a Retry button instead of the list. */\n readonly error = input('');\n /** More pages exist: shows a \"Load more\" button under the list. */\n readonly hasMore = input(false);\n /** Overrides the bell's accessible name (default: the label service's \"Notifications\"). */\n readonly ariaLabelInput = input<string | null>(null, { alias: 'ariaLabel' });\n /** Overrides the panel title (default: \"Notifications\"). */\n readonly panelTitleInput = input<string | null>(null, { alias: 'panelTitle' });\n /** Overrides the empty-list message (default: \"You have no notifications.\"). */\n readonly emptyMessageInput = input<string | null>(null, { alias: 'emptyMessage' });\n /** Counts above this show as \"<max>+\" on the bell. */\n readonly maxCount = input(99);\n /** Whether the panel is open (two-way: `[(open)]`). */\n readonly open = model(false);\n\n /** Fires every time the panel is opened by the bell: the host (re)loads the list. */\n readonly opened = output<void>();\n readonly itemSelect = output<NotificationItem>();\n readonly markRead = output<NotificationItem>();\n readonly markAllRead = output<void>();\n readonly loadMore = output<void>();\n readonly retry = output<void>();\n\n protected readonly labels = inject(UiLabelsService);\n /** The text a screen reader hears when the unread count changes ('' until it does). */\n protected readonly announcement = signal('');\n\n protected readonly baseLabel = computed(() => this.ariaLabelInput() ?? this.labels.t('notificationBell.label'));\n protected readonly panelTitleText = computed(() => this.panelTitleInput() ?? this.labels.t('notificationBell.label'));\n protected readonly emptyText = computed(() => this.emptyMessageInput() ?? this.labels.t('notificationBell.empty'));\n protected readonly countText = computed(() => this.unreadCount() > this.maxCount() ? `${this.maxCount()}+` : String(this.unreadCount()));\n protected readonly triggerLabel = computed(() => this.unreadCount() > 0 ? this.labels.t('notificationBell.labelUnread', { label: this.baseLabel(), count: this.unreadCount() }) : this.baseLabel());\n protected readonly summaryText = computed(() => this.unreadCount() > 0 ? this.labels.t('notificationBell.unread', { count: this.unreadCount() }) : this.labels.t('notificationBell.allCaughtUp'));\n\n /** The unread count the live region last saw (null until the first render, so the count the bell starts with is never announced). */\n private lastCount: number | null = null;\n\n constructor() {\n effect(() => {\n const count = this.unreadCount();\n untracked(() => {\n const previous = this.lastCount;\n this.lastCount = count;\n if (previous === null || previous === count) return;\n this.announcement.set(count === 0 ? this.labels.t('notificationBell.announce.none') : count === 1 ? this.labels.t('notificationBell.announce.one') : this.labels.t('notificationBell.announce.other', { count }));\n });\n });\n }\n\n toggle(): void {\n const next = !this.open();\n this.open.set(next);\n if (next) this.opened.emit();\n }\n\n close(): void { this.open.set(false); }\n}\n"],"mappings":";;;;;;;;;;;AAiGA,IAAa,4BAAb,MAAa,0BAAyB;CA4CpC,cAAA;EA1CS,KAAA,QAAQ,MAAmC,CAAA,GAAG,GAAA,YAAA,CAAA,EAAA,WAAA,QAAA,CAAA,+BAAA,CAAA,CAAA;EAE9C,KAAA,cAAc,MAAM,GAAE,GAAA,YAAA,CAAA,EAAA,WAAA,cAAA,CAAA,+BAAA,CAAA,CAAA;EACtB,KAAA,UAAU,MAAM,OAAM,GAAA,YAAA,CAAA,EAAA,WAAA,UAAA,CAAA,+BAAA,CAAA,CAAA;EACtB,KAAA,cAAc,MAAM,OAAM,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AA;KAAA,QAAA;MAAA;MAAA;MAAA;MAAA;MAAA;MAAA;MAAA;MAAA;MAAA;MAAA;MAAA;MAAA;MAAA;KAAA;KAAA,SAAA,CAAA,UAAA,cAAA;IAAA;IAAA;KAAA,MAAA;KAAA,MAAE;KAAiB,UAAA;KAAA,QAAA;MAAA;MAAA;MAAA;MAAA;MAAA;KAAA;IAAA;IAAA;KAAA,MAAA;KAAA,MAAE;KAAc,UAAA;KAAA,QAAA;MAAA;MAAA;MAAA;MAAA;MAAA;MAAA;MAAA;MAAA;MAAA;MAAA;KAAA;IAAA;GAAA;GAAA,iBAAA,GAAA,wBAAA;EAAA,CAAA;CAAA;;AAuDtL,GAAA,yBAAA;CAAA,YAAA;CAAA,SAAA;CAAA,UAAA;CAAA,MAAA;CAAyB,YAAA,CAAA;EA3DrC,MAAA;EACW,MAAA,CAAA;GAAA,UAAA;GAAsB,YACpB;GAAI,iBACC,wBAAwB;GAAM,SACtC;IAAC;IAAgB;IAAiB;IAAqB;IAAqB;IAAe;IAAmB;IAAqB;IAAoB;IAAmB;GAAc;GAAC,UACxL;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6CT,QAAA,CAAA,wSAAA;EAAA,CAAA"}
|
|
@@ -0,0 +1,156 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import { ChangeDetectionStrategy, Component, DestroyRef, computed, inject, input, signal } from "@angular/core";
|
|
3
|
+
import { DOCUMENT } from "@angular/common";
|
|
4
|
+
import { AlertComponent } from "@forgeroute/ui/alert";
|
|
5
|
+
import { UiLabelsService } from "@forgeroute/ui/core";
|
|
6
|
+
var OfflineBannerComponent = class OfflineBannerComponent {
|
|
7
|
+
constructor() {
|
|
8
|
+
this.labels = inject(UiLabelsService);
|
|
9
|
+
this.title = input(null, ...ngDevMode ? [{ debugName: "title" }] : /* istanbul ignore next */ []);
|
|
10
|
+
this.message = input(null, ...ngDevMode ? [{ debugName: "message" }] : /* istanbul ignore next */ []);
|
|
11
|
+
this.offline = input(null, ...ngDevMode ? [{ debugName: "offline" }] : /* istanbul ignore next */ []);
|
|
12
|
+
this.browserOffline = signal(false, ...ngDevMode ? [{ debugName: "browserOffline" }] : /* istanbul ignore next */ []);
|
|
13
|
+
this.dismissed = signal(false, ...ngDevMode ? [{ debugName: "dismissed" }] : /* istanbul ignore next */ []);
|
|
14
|
+
this.isOffline = computed(() => this.offline() ?? this.browserOffline(), ...ngDevMode ? [{ debugName: "isOffline" }] : /* istanbul ignore next */ []);
|
|
15
|
+
this.visible = computed(() => this.isOffline() && !this.dismissed(), ...ngDevMode ? [{ debugName: "visible" }] : /* istanbul ignore next */ []);
|
|
16
|
+
const win = inject(DOCUMENT).defaultView;
|
|
17
|
+
if (!win) return;
|
|
18
|
+
this.browserOffline.set(win.navigator.onLine === false);
|
|
19
|
+
const goOffline = () => this.browserOffline.set(true);
|
|
20
|
+
const goOnline = () => {
|
|
21
|
+
this.browserOffline.set(false);
|
|
22
|
+
this.dismissed.set(false);
|
|
23
|
+
};
|
|
24
|
+
win.addEventListener("offline", goOffline);
|
|
25
|
+
win.addEventListener("online", goOnline);
|
|
26
|
+
inject(DestroyRef).onDestroy(() => {
|
|
27
|
+
win.removeEventListener("offline", goOffline);
|
|
28
|
+
win.removeEventListener("online", goOnline);
|
|
29
|
+
});
|
|
30
|
+
}
|
|
31
|
+
dismiss() {
|
|
32
|
+
this.dismissed.set(true);
|
|
33
|
+
}
|
|
34
|
+
static {
|
|
35
|
+
this.ɵfac = i0.ɵɵngDeclareFactory({
|
|
36
|
+
minVersion: "12.0.0",
|
|
37
|
+
version: "22.2.2",
|
|
38
|
+
ngImport: i0,
|
|
39
|
+
type: OfflineBannerComponent,
|
|
40
|
+
deps: [],
|
|
41
|
+
target: i0.ɵɵFactoryTarget.Component
|
|
42
|
+
});
|
|
43
|
+
}
|
|
44
|
+
static {
|
|
45
|
+
this.ɵcmp = i0.ɵɵngDeclareComponent({
|
|
46
|
+
minVersion: "17.0.0",
|
|
47
|
+
version: "22.2.2",
|
|
48
|
+
type: OfflineBannerComponent,
|
|
49
|
+
isStandalone: true,
|
|
50
|
+
selector: "ui-offline-banner",
|
|
51
|
+
inputs: {
|
|
52
|
+
title: {
|
|
53
|
+
classPropertyName: "title",
|
|
54
|
+
publicName: "title",
|
|
55
|
+
isSignal: true,
|
|
56
|
+
isRequired: false,
|
|
57
|
+
transformFunction: null
|
|
58
|
+
},
|
|
59
|
+
message: {
|
|
60
|
+
classPropertyName: "message",
|
|
61
|
+
publicName: "message",
|
|
62
|
+
isSignal: true,
|
|
63
|
+
isRequired: false,
|
|
64
|
+
transformFunction: null
|
|
65
|
+
},
|
|
66
|
+
offline: {
|
|
67
|
+
classPropertyName: "offline",
|
|
68
|
+
publicName: "offline",
|
|
69
|
+
isSignal: true,
|
|
70
|
+
isRequired: false,
|
|
71
|
+
transformFunction: null
|
|
72
|
+
}
|
|
73
|
+
},
|
|
74
|
+
ngImport: i0,
|
|
75
|
+
template: `
|
|
76
|
+
@if (visible()) {
|
|
77
|
+
<div class="ob-bar" data-testid="offline-banner">
|
|
78
|
+
<ui-alert variant="warning" [title]="title() ?? labels.t('offline.title')" [dismissible]="true" [dismissAriaLabel]="labels.t('offline.dismiss')" (dismissed)="dismiss()">{{ message() ?? labels.t('offline.message') }}</ui-alert>
|
|
79
|
+
</div>
|
|
80
|
+
}
|
|
81
|
+
`,
|
|
82
|
+
isInline: true,
|
|
83
|
+
styles: [":host{display:contents}.ob-bar{position:fixed;top:0;left:0;right:0;z-index:9999;padding:8px 16px;pointer-events:none}.ob-bar ui-alert{pointer-events:auto;max-width:1200px;margin:0 auto;box-shadow:0 4px 12px #0f172a26;border-radius:8px}\n"],
|
|
84
|
+
dependencies: [{
|
|
85
|
+
kind: "component",
|
|
86
|
+
type: AlertComponent,
|
|
87
|
+
selector: "ui-alert",
|
|
88
|
+
inputs: [
|
|
89
|
+
"variant",
|
|
90
|
+
"title",
|
|
91
|
+
"dismissible",
|
|
92
|
+
"dismissAriaLabel",
|
|
93
|
+
"quiet",
|
|
94
|
+
"compact",
|
|
95
|
+
"inline",
|
|
96
|
+
"fill"
|
|
97
|
+
],
|
|
98
|
+
outputs: ["dismissed"]
|
|
99
|
+
}],
|
|
100
|
+
changeDetection: i0.ChangeDetectionStrategy.OnPush
|
|
101
|
+
});
|
|
102
|
+
}
|
|
103
|
+
};
|
|
104
|
+
i0.ɵɵngDeclareClassMetadata({
|
|
105
|
+
minVersion: "12.0.0",
|
|
106
|
+
version: "22.2.2",
|
|
107
|
+
ngImport: i0,
|
|
108
|
+
type: OfflineBannerComponent,
|
|
109
|
+
decorators: [{
|
|
110
|
+
type: Component,
|
|
111
|
+
args: [{
|
|
112
|
+
selector: "ui-offline-banner",
|
|
113
|
+
standalone: true,
|
|
114
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
115
|
+
imports: [AlertComponent],
|
|
116
|
+
template: `
|
|
117
|
+
@if (visible()) {
|
|
118
|
+
<div class="ob-bar" data-testid="offline-banner">
|
|
119
|
+
<ui-alert variant="warning" [title]="title() ?? labels.t('offline.title')" [dismissible]="true" [dismissAriaLabel]="labels.t('offline.dismiss')" (dismissed)="dismiss()">{{ message() ?? labels.t('offline.message') }}</ui-alert>
|
|
120
|
+
</div>
|
|
121
|
+
}
|
|
122
|
+
`,
|
|
123
|
+
styles: [":host{display:contents}.ob-bar{position:fixed;top:0;left:0;right:0;z-index:9999;padding:8px 16px;pointer-events:none}.ob-bar ui-alert{pointer-events:auto;max-width:1200px;margin:0 auto;box-shadow:0 4px 12px #0f172a26;border-radius:8px}\n"]
|
|
124
|
+
}]
|
|
125
|
+
}],
|
|
126
|
+
ctorParameters: () => [],
|
|
127
|
+
propDecorators: {
|
|
128
|
+
title: [{
|
|
129
|
+
type: i0.Input,
|
|
130
|
+
args: [{
|
|
131
|
+
isSignal: true,
|
|
132
|
+
alias: "title",
|
|
133
|
+
required: false
|
|
134
|
+
}]
|
|
135
|
+
}],
|
|
136
|
+
message: [{
|
|
137
|
+
type: i0.Input,
|
|
138
|
+
args: [{
|
|
139
|
+
isSignal: true,
|
|
140
|
+
alias: "message",
|
|
141
|
+
required: false
|
|
142
|
+
}]
|
|
143
|
+
}],
|
|
144
|
+
offline: [{
|
|
145
|
+
type: i0.Input,
|
|
146
|
+
args: [{
|
|
147
|
+
isSignal: true,
|
|
148
|
+
alias: "offline",
|
|
149
|
+
required: false
|
|
150
|
+
}]
|
|
151
|
+
}]
|
|
152
|
+
}
|
|
153
|
+
});
|
|
154
|
+
export { OfflineBannerComponent };
|
|
155
|
+
|
|
156
|
+
//# sourceMappingURL=forgeroute-ui-offline-banner.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"forgeroute-ui-offline-banner.mjs","names":[],"sources":["../../../projects/forgeroute-ui/offline-banner/src/lib/offline-banner/offline-banner.component.ts"],"sourcesContent":["import { ChangeDetectionStrategy, Component, DestroyRef, inject, input, signal, computed } from '@angular/core';\nimport { DOCUMENT } from '@angular/common';\nimport { AlertComponent } from '@forgeroute/ui/alert';\nimport { UiLabelsService } from '@forgeroute/ui/core';\n\n/**\n * A banner across the top of the page while the browser is offline (`navigator.onLine`, kept current by the window's `online` /\n * `offline` events). The user can dismiss it; it comes back the next time the connection drops. Put one near the root of the app:\n *\n * <ui-offline-banner />\n *\n * `offline` overrides the browser's own state (for an app that does its own connectivity check). Texts can be changed with `title`\n * and `message`. Test ids: `offline-banner`, `offline-banner-dismiss`.\n */\n@Component({\n selector: 'ui-offline-banner',\n standalone: true,\n changeDetection: ChangeDetectionStrategy.OnPush,\n imports: [AlertComponent],\n template: `\n @if (visible()) {\n <div class=\"ob-bar\" data-testid=\"offline-banner\">\n <ui-alert variant=\"warning\" [title]=\"title() ?? labels.t('offline.title')\" [dismissible]=\"true\" [dismissAriaLabel]=\"labels.t('offline.dismiss')\" (dismissed)=\"dismiss()\">{{ message() ?? labels.t('offline.message') }}</ui-alert>\n </div>\n }\n `,\n styles: [`\n :host { display: contents; }\n .ob-bar { position: fixed; top: 0; left: 0; right: 0; z-index: 9999; padding: 8px 16px; pointer-events: none; }\n .ob-bar ui-alert { pointer-events: auto; max-width: 1200px; margin: 0 auto; box-shadow: 0 4px 12px rgba(15, 23, 42, 0.15); border-radius: 8px; }\n `],\n})\nexport class OfflineBannerComponent {\n protected readonly labels = inject(UiLabelsService);\n /** Banner heading; `null` (default) = the library text for the active language. */\n readonly title = input<string | null>(null);\n /** Banner body; `null` (default) = the library text for the active language. */\n readonly message = input<string | null>(null);\n /** Forces the state (true = offline); `null` (default) follows the browser. */\n readonly offline = input<boolean | null>(null);\n\n private readonly browserOffline = signal(false);\n private readonly dismissed = signal(false);\n protected readonly isOffline = computed(() => this.offline() ?? this.browserOffline());\n protected readonly visible = computed(() => this.isOffline() && !this.dismissed());\n\n constructor() {\n const win = inject(DOCUMENT).defaultView;\n if (!win) return;\n this.browserOffline.set(win.navigator.onLine === false);\n const goOffline = () => this.browserOffline.set(true);\n const goOnline = () => { this.browserOffline.set(false); this.dismissed.set(false); };\n win.addEventListener('offline', goOffline);\n win.addEventListener('online', goOnline);\n inject(DestroyRef).onDestroy(() => { win.removeEventListener('offline', goOffline); win.removeEventListener('online', goOnline); });\n }\n\n protected dismiss(): void {\n this.dismissed.set(true);\n }\n}\n"],"mappings":";;;;;AAgCA,IAAa,yBAAb,MAAa,uBAAsB;CAcjC,cAAA;EAbmB,KAAA,SAAS,OAAO,eAAe;EAEzC,KAAA,QAAQ,MAAqB,MAAK,GAAA,YAAA,CAAA,EAAA,WAAA,QAAA,CAAA,+BAAA,CAAA,CAAA;EAElC,KAAA,UAAU,MAAqB,MAAK,GAAA,YAAA,CAAA,EAAA,WAAA,UAAA,CAAA,+BAAA,CAAA,CAAA;EAEpC,KAAA,UAAU,MAAsB,MAAK,GAAA,YAAA,CAAA,EAAA,WAAA,UAAA,CAAA,+BAAA,CAAA,CAAA;EAE7B,KAAA,iBAAiB,OAAO,OAAM,GAAA,YAAA,CAAA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AAA;KAAA,YAAA;KAAA,UAAA;KAAA,YAAA;KAAA,mBAAA;IAAA;IAAA,SAAA;KAAA,mBAAA;KAAA,YAAA;KAAA,UAAA;KAAA,YAAA;KAAA,mBAAA;IAAA;GAAA;GAAA,UAAA;GAAA,UAbvB;;;;;;;GAMT,UAAA;GAAA,QAAA,CAAA,+OAAA;GAAA,cAAA,CAAA;IAAA,MAAA;IAAA,MAPS;IAAc,UAAA;IAAA,QAAA;KAAA;KAAA;KAAA;KAAA;KAAA;KAAA;KAAA;KAAA;IAAA;IAAA,SAAA,CAAA,WAAA;GAAA,CAAA;GAAA,iBAAA,GAAA,wBAAA;EAAA,CAAA;CAAA;;AAcb,GAAA,yBAAA;CAAA,YAAA;CAAA,SAAA;CAAA,UAAA;CAAA,MAAA;CAAsB,YAAA,CAAA;EAlBlC,MAAA;EACW,MAAA,CAAA;GAAA,UAAA;GAAmB,YACjB;GAAI,iBACC,wBAAwB;GAAM,SACtC,CAAC,cAAc;GAAC,UACf;;;;;;;GAMT,QAAA,CAAA,+OAAA;EAAA,CAAA"}
|
|
@@ -0,0 +1,379 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import { ChangeDetectionStrategy, Component, ViewEncapsulation, inject, input, output } from "@angular/core";
|
|
3
|
+
import { ButtonComponent, UiLabelsService } from "@forgeroute/ui/core";
|
|
4
|
+
import { DetailCardComponent } from "@forgeroute/ui/detail-card";
|
|
5
|
+
import { iconPath } from "@forgeroute/ui/icon";
|
|
6
|
+
var OptionCardComponent = class OptionCardComponent {
|
|
7
|
+
constructor() {
|
|
8
|
+
this.title = input.required(...ngDevMode ? [{ debugName: "title" }] : /* istanbul ignore next */ []);
|
|
9
|
+
this.description = input("", ...ngDevMode ? [{ debugName: "description" }] : /* istanbul ignore next */ []);
|
|
10
|
+
this.letter = input("", ...ngDevMode ? [{ debugName: "letter" }] : /* istanbul ignore next */ []);
|
|
11
|
+
this.icon = input("", ...ngDevMode ? [{ debugName: "icon" }] : /* istanbul ignore next */ []);
|
|
12
|
+
this.color = input("#64748b", ...ngDevMode ? [{ debugName: "color" }] : /* istanbul ignore next */ []);
|
|
13
|
+
this.actionLabel = input("", ...ngDevMode ? [{ debugName: "actionLabel" }] : /* istanbul ignore next */ []);
|
|
14
|
+
this.actionVariant = input("secondary", ...ngDevMode ? [{ debugName: "actionVariant" }] : /* istanbul ignore next */ []);
|
|
15
|
+
this.actionAriaLabel = input("", ...ngDevMode ? [{ debugName: "actionAriaLabel" }] : /* istanbul ignore next */ []);
|
|
16
|
+
this.actionTestId = input("", ...ngDevMode ? [{ debugName: "actionTestId" }] : /* istanbul ignore next */ []);
|
|
17
|
+
this.actionLoading = input(false, ...ngDevMode ? [{ debugName: "actionLoading" }] : /* istanbul ignore next */ []);
|
|
18
|
+
this.disabled = input(false, ...ngDevMode ? [{ debugName: "disabled" }] : /* istanbul ignore next */ []);
|
|
19
|
+
this.selected = input(false, ...ngDevMode ? [{ debugName: "selected" }] : /* istanbul ignore next */ []);
|
|
20
|
+
this.action = output();
|
|
21
|
+
this.labels = inject(UiLabelsService);
|
|
22
|
+
this.checkD = iconPath("check");
|
|
23
|
+
}
|
|
24
|
+
iconD() {
|
|
25
|
+
return this.icon() ? iconPath(this.icon()) ?? null : null;
|
|
26
|
+
}
|
|
27
|
+
static {
|
|
28
|
+
this.ɵfac = i0.ɵɵngDeclareFactory({
|
|
29
|
+
minVersion: "12.0.0",
|
|
30
|
+
version: "22.2.2",
|
|
31
|
+
ngImport: i0,
|
|
32
|
+
type: OptionCardComponent,
|
|
33
|
+
deps: [],
|
|
34
|
+
target: i0.ɵɵFactoryTarget.Component
|
|
35
|
+
});
|
|
36
|
+
}
|
|
37
|
+
static {
|
|
38
|
+
this.ɵcmp = i0.ɵɵngDeclareComponent({
|
|
39
|
+
minVersion: "17.0.0",
|
|
40
|
+
version: "22.2.2",
|
|
41
|
+
type: OptionCardComponent,
|
|
42
|
+
isStandalone: true,
|
|
43
|
+
selector: "ui-option-card",
|
|
44
|
+
inputs: {
|
|
45
|
+
title: {
|
|
46
|
+
classPropertyName: "title",
|
|
47
|
+
publicName: "title",
|
|
48
|
+
isSignal: true,
|
|
49
|
+
isRequired: true,
|
|
50
|
+
transformFunction: null
|
|
51
|
+
},
|
|
52
|
+
description: {
|
|
53
|
+
classPropertyName: "description",
|
|
54
|
+
publicName: "description",
|
|
55
|
+
isSignal: true,
|
|
56
|
+
isRequired: false,
|
|
57
|
+
transformFunction: null
|
|
58
|
+
},
|
|
59
|
+
letter: {
|
|
60
|
+
classPropertyName: "letter",
|
|
61
|
+
publicName: "letter",
|
|
62
|
+
isSignal: true,
|
|
63
|
+
isRequired: false,
|
|
64
|
+
transformFunction: null
|
|
65
|
+
},
|
|
66
|
+
icon: {
|
|
67
|
+
classPropertyName: "icon",
|
|
68
|
+
publicName: "icon",
|
|
69
|
+
isSignal: true,
|
|
70
|
+
isRequired: false,
|
|
71
|
+
transformFunction: null
|
|
72
|
+
},
|
|
73
|
+
color: {
|
|
74
|
+
classPropertyName: "color",
|
|
75
|
+
publicName: "color",
|
|
76
|
+
isSignal: true,
|
|
77
|
+
isRequired: false,
|
|
78
|
+
transformFunction: null
|
|
79
|
+
},
|
|
80
|
+
actionLabel: {
|
|
81
|
+
classPropertyName: "actionLabel",
|
|
82
|
+
publicName: "actionLabel",
|
|
83
|
+
isSignal: true,
|
|
84
|
+
isRequired: false,
|
|
85
|
+
transformFunction: null
|
|
86
|
+
},
|
|
87
|
+
actionVariant: {
|
|
88
|
+
classPropertyName: "actionVariant",
|
|
89
|
+
publicName: "actionVariant",
|
|
90
|
+
isSignal: true,
|
|
91
|
+
isRequired: false,
|
|
92
|
+
transformFunction: null
|
|
93
|
+
},
|
|
94
|
+
actionAriaLabel: {
|
|
95
|
+
classPropertyName: "actionAriaLabel",
|
|
96
|
+
publicName: "actionAriaLabel",
|
|
97
|
+
isSignal: true,
|
|
98
|
+
isRequired: false,
|
|
99
|
+
transformFunction: null
|
|
100
|
+
},
|
|
101
|
+
actionTestId: {
|
|
102
|
+
classPropertyName: "actionTestId",
|
|
103
|
+
publicName: "actionTestId",
|
|
104
|
+
isSignal: true,
|
|
105
|
+
isRequired: false,
|
|
106
|
+
transformFunction: null
|
|
107
|
+
},
|
|
108
|
+
actionLoading: {
|
|
109
|
+
classPropertyName: "actionLoading",
|
|
110
|
+
publicName: "actionLoading",
|
|
111
|
+
isSignal: true,
|
|
112
|
+
isRequired: false,
|
|
113
|
+
transformFunction: null
|
|
114
|
+
},
|
|
115
|
+
disabled: {
|
|
116
|
+
classPropertyName: "disabled",
|
|
117
|
+
publicName: "disabled",
|
|
118
|
+
isSignal: true,
|
|
119
|
+
isRequired: false,
|
|
120
|
+
transformFunction: null
|
|
121
|
+
},
|
|
122
|
+
selected: {
|
|
123
|
+
classPropertyName: "selected",
|
|
124
|
+
publicName: "selected",
|
|
125
|
+
isSignal: true,
|
|
126
|
+
isRequired: false,
|
|
127
|
+
transformFunction: null
|
|
128
|
+
}
|
|
129
|
+
},
|
|
130
|
+
outputs: { action: "action" },
|
|
131
|
+
host: { properties: { "attr.data-selected": "selected() ? \"true\" : null" } },
|
|
132
|
+
ngImport: i0,
|
|
133
|
+
template: `
|
|
134
|
+
<ui-detail-card class="oc" [class.oc--selected]="selected()" [showHeader]="false" [ariaLabel]="title()">
|
|
135
|
+
<div class="oc-row">
|
|
136
|
+
<span class="oc-tile" [style.background]="color()" aria-hidden="true">
|
|
137
|
+
@if (letter()) { {{ letter() }} } @else if (iconD(); as d) { <svg width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" focusable="false"><path [attr.d]="d" /></svg> }
|
|
138
|
+
<ng-content select="[option-card-logo]" />
|
|
139
|
+
</span>
|
|
140
|
+
<span class="oc-text">
|
|
141
|
+
<span class="oc-title">{{ title() }}</span>
|
|
142
|
+
@if (description()) { <span class="oc-desc">{{ description() }}</span> }
|
|
143
|
+
</span>
|
|
144
|
+
@if (selected()) {
|
|
145
|
+
<span class="oc-selected" data-testid="option-card-selected">
|
|
146
|
+
<svg width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" focusable="false"><path [attr.d]="checkD" /></svg>
|
|
147
|
+
<span class="oc-sr">{{ labels.t('optionCard.selected') }}</span>
|
|
148
|
+
</span>
|
|
149
|
+
}
|
|
150
|
+
@if (actionLabel()) {
|
|
151
|
+
<ui-button size="xs" [variant]="actionVariant()" [disabled]="disabled()" [loading]="actionLoading()" [attr.data-testid]="actionTestId() || null"
|
|
152
|
+
[ariaLabel]="actionAriaLabel() || (actionLabel() + ' ' + title())" (click)="action.emit()">{{ actionLabel() }}</ui-button>
|
|
153
|
+
}
|
|
154
|
+
</div>
|
|
155
|
+
<ng-content />
|
|
156
|
+
</ui-detail-card>
|
|
157
|
+
`,
|
|
158
|
+
isInline: true,
|
|
159
|
+
styles: ["ui-option-card{display:block}ui-option-card .oc{margin-bottom:0}.oc-row{display:flex;align-items:center;gap:12px}.oc-tile{width:36px;height:36px;border-radius:8px;color:#fff;font-size:1rem;font-weight:700;display:flex;align-items:center;justify-content:center;flex-shrink:0}.oc-text{display:flex;flex-direction:column;gap:2px;flex:1;min-width:0}.oc-title{font-size:.8125rem;font-weight:600;color:#1e293b;line-height:1.2}.oc-desc{font-size:.75rem;color:#64748b;overflow-wrap:anywhere}.oc-tile [option-card-logo]{display:block;max-width:100%;max-height:100%;object-fit:contain}ui-option-card .oc--selected .dc{border-color:#2563eb;box-shadow:0 0 0 1px #2563eb}.oc-selected{display:inline-flex;flex-shrink:0;color:#2563eb}.oc-sr{position:absolute;width:1px;height:1px;margin:-1px;padding:0;border:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}\n"],
|
|
160
|
+
dependencies: [{
|
|
161
|
+
kind: "component",
|
|
162
|
+
type: ButtonComponent,
|
|
163
|
+
selector: "ui-button",
|
|
164
|
+
inputs: [
|
|
165
|
+
"variant",
|
|
166
|
+
"routerLink",
|
|
167
|
+
"queryParams",
|
|
168
|
+
"fragment",
|
|
169
|
+
"state",
|
|
170
|
+
"href",
|
|
171
|
+
"target",
|
|
172
|
+
"rel",
|
|
173
|
+
"shortLabel",
|
|
174
|
+
"shortBelow",
|
|
175
|
+
"color",
|
|
176
|
+
"active",
|
|
177
|
+
"size",
|
|
178
|
+
"type",
|
|
179
|
+
"disabled",
|
|
180
|
+
"loading",
|
|
181
|
+
"fullWidth",
|
|
182
|
+
"ariaLabel",
|
|
183
|
+
"ariaExpanded",
|
|
184
|
+
"ariaPressed",
|
|
185
|
+
"ariaDescribedBy",
|
|
186
|
+
"modal-footer-left",
|
|
187
|
+
"modal-footer-right"
|
|
188
|
+
]
|
|
189
|
+
}, {
|
|
190
|
+
kind: "component",
|
|
191
|
+
type: DetailCardComponent,
|
|
192
|
+
selector: "ui-detail-card",
|
|
193
|
+
inputs: [
|
|
194
|
+
"title",
|
|
195
|
+
"uppercaseTitle",
|
|
196
|
+
"headingLevel",
|
|
197
|
+
"titleId",
|
|
198
|
+
"ariaLabel",
|
|
199
|
+
"subtitle",
|
|
200
|
+
"background",
|
|
201
|
+
"headerBackground",
|
|
202
|
+
"footerBackground",
|
|
203
|
+
"footerAlign",
|
|
204
|
+
"textColor",
|
|
205
|
+
"showHeader",
|
|
206
|
+
"collapsible",
|
|
207
|
+
"expanded",
|
|
208
|
+
"showEdit",
|
|
209
|
+
"editLabel",
|
|
210
|
+
"editTestId",
|
|
211
|
+
"editIcon",
|
|
212
|
+
"editAriaLabel",
|
|
213
|
+
"fill",
|
|
214
|
+
"noPadding",
|
|
215
|
+
"maxBodyHeight",
|
|
216
|
+
"selectable",
|
|
217
|
+
"selected",
|
|
218
|
+
"selectedColor",
|
|
219
|
+
"selectedBackground"
|
|
220
|
+
],
|
|
221
|
+
outputs: [
|
|
222
|
+
"expandedChange",
|
|
223
|
+
"editClick",
|
|
224
|
+
"selectedChange"
|
|
225
|
+
]
|
|
226
|
+
}],
|
|
227
|
+
changeDetection: i0.ChangeDetectionStrategy.OnPush,
|
|
228
|
+
encapsulation: i0.ViewEncapsulation.None
|
|
229
|
+
});
|
|
230
|
+
}
|
|
231
|
+
};
|
|
232
|
+
i0.ɵɵngDeclareClassMetadata({
|
|
233
|
+
minVersion: "12.0.0",
|
|
234
|
+
version: "22.2.2",
|
|
235
|
+
ngImport: i0,
|
|
236
|
+
type: OptionCardComponent,
|
|
237
|
+
decorators: [{
|
|
238
|
+
type: Component,
|
|
239
|
+
args: [{
|
|
240
|
+
selector: "ui-option-card",
|
|
241
|
+
standalone: true,
|
|
242
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
243
|
+
encapsulation: ViewEncapsulation.None,
|
|
244
|
+
imports: [ButtonComponent, DetailCardComponent],
|
|
245
|
+
host: { "[attr.data-selected]": "selected() ? \"true\" : null" },
|
|
246
|
+
template: `
|
|
247
|
+
<ui-detail-card class="oc" [class.oc--selected]="selected()" [showHeader]="false" [ariaLabel]="title()">
|
|
248
|
+
<div class="oc-row">
|
|
249
|
+
<span class="oc-tile" [style.background]="color()" aria-hidden="true">
|
|
250
|
+
@if (letter()) { {{ letter() }} } @else if (iconD(); as d) { <svg width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" focusable="false"><path [attr.d]="d" /></svg> }
|
|
251
|
+
<ng-content select="[option-card-logo]" />
|
|
252
|
+
</span>
|
|
253
|
+
<span class="oc-text">
|
|
254
|
+
<span class="oc-title">{{ title() }}</span>
|
|
255
|
+
@if (description()) { <span class="oc-desc">{{ description() }}</span> }
|
|
256
|
+
</span>
|
|
257
|
+
@if (selected()) {
|
|
258
|
+
<span class="oc-selected" data-testid="option-card-selected">
|
|
259
|
+
<svg width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" focusable="false"><path [attr.d]="checkD" /></svg>
|
|
260
|
+
<span class="oc-sr">{{ labels.t('optionCard.selected') }}</span>
|
|
261
|
+
</span>
|
|
262
|
+
}
|
|
263
|
+
@if (actionLabel()) {
|
|
264
|
+
<ui-button size="xs" [variant]="actionVariant()" [disabled]="disabled()" [loading]="actionLoading()" [attr.data-testid]="actionTestId() || null"
|
|
265
|
+
[ariaLabel]="actionAriaLabel() || (actionLabel() + ' ' + title())" (click)="action.emit()">{{ actionLabel() }}</ui-button>
|
|
266
|
+
}
|
|
267
|
+
</div>
|
|
268
|
+
<ng-content />
|
|
269
|
+
</ui-detail-card>
|
|
270
|
+
`,
|
|
271
|
+
styles: ["ui-option-card{display:block}ui-option-card .oc{margin-bottom:0}.oc-row{display:flex;align-items:center;gap:12px}.oc-tile{width:36px;height:36px;border-radius:8px;color:#fff;font-size:1rem;font-weight:700;display:flex;align-items:center;justify-content:center;flex-shrink:0}.oc-text{display:flex;flex-direction:column;gap:2px;flex:1;min-width:0}.oc-title{font-size:.8125rem;font-weight:600;color:#1e293b;line-height:1.2}.oc-desc{font-size:.75rem;color:#64748b;overflow-wrap:anywhere}.oc-tile [option-card-logo]{display:block;max-width:100%;max-height:100%;object-fit:contain}ui-option-card .oc--selected .dc{border-color:#2563eb;box-shadow:0 0 0 1px #2563eb}.oc-selected{display:inline-flex;flex-shrink:0;color:#2563eb}.oc-sr{position:absolute;width:1px;height:1px;margin:-1px;padding:0;border:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}\n"]
|
|
272
|
+
}]
|
|
273
|
+
}],
|
|
274
|
+
propDecorators: {
|
|
275
|
+
title: [{
|
|
276
|
+
type: i0.Input,
|
|
277
|
+
args: [{
|
|
278
|
+
isSignal: true,
|
|
279
|
+
alias: "title",
|
|
280
|
+
required: true
|
|
281
|
+
}]
|
|
282
|
+
}],
|
|
283
|
+
description: [{
|
|
284
|
+
type: i0.Input,
|
|
285
|
+
args: [{
|
|
286
|
+
isSignal: true,
|
|
287
|
+
alias: "description",
|
|
288
|
+
required: false
|
|
289
|
+
}]
|
|
290
|
+
}],
|
|
291
|
+
letter: [{
|
|
292
|
+
type: i0.Input,
|
|
293
|
+
args: [{
|
|
294
|
+
isSignal: true,
|
|
295
|
+
alias: "letter",
|
|
296
|
+
required: false
|
|
297
|
+
}]
|
|
298
|
+
}],
|
|
299
|
+
icon: [{
|
|
300
|
+
type: i0.Input,
|
|
301
|
+
args: [{
|
|
302
|
+
isSignal: true,
|
|
303
|
+
alias: "icon",
|
|
304
|
+
required: false
|
|
305
|
+
}]
|
|
306
|
+
}],
|
|
307
|
+
color: [{
|
|
308
|
+
type: i0.Input,
|
|
309
|
+
args: [{
|
|
310
|
+
isSignal: true,
|
|
311
|
+
alias: "color",
|
|
312
|
+
required: false
|
|
313
|
+
}]
|
|
314
|
+
}],
|
|
315
|
+
actionLabel: [{
|
|
316
|
+
type: i0.Input,
|
|
317
|
+
args: [{
|
|
318
|
+
isSignal: true,
|
|
319
|
+
alias: "actionLabel",
|
|
320
|
+
required: false
|
|
321
|
+
}]
|
|
322
|
+
}],
|
|
323
|
+
actionVariant: [{
|
|
324
|
+
type: i0.Input,
|
|
325
|
+
args: [{
|
|
326
|
+
isSignal: true,
|
|
327
|
+
alias: "actionVariant",
|
|
328
|
+
required: false
|
|
329
|
+
}]
|
|
330
|
+
}],
|
|
331
|
+
actionAriaLabel: [{
|
|
332
|
+
type: i0.Input,
|
|
333
|
+
args: [{
|
|
334
|
+
isSignal: true,
|
|
335
|
+
alias: "actionAriaLabel",
|
|
336
|
+
required: false
|
|
337
|
+
}]
|
|
338
|
+
}],
|
|
339
|
+
actionTestId: [{
|
|
340
|
+
type: i0.Input,
|
|
341
|
+
args: [{
|
|
342
|
+
isSignal: true,
|
|
343
|
+
alias: "actionTestId",
|
|
344
|
+
required: false
|
|
345
|
+
}]
|
|
346
|
+
}],
|
|
347
|
+
actionLoading: [{
|
|
348
|
+
type: i0.Input,
|
|
349
|
+
args: [{
|
|
350
|
+
isSignal: true,
|
|
351
|
+
alias: "actionLoading",
|
|
352
|
+
required: false
|
|
353
|
+
}]
|
|
354
|
+
}],
|
|
355
|
+
disabled: [{
|
|
356
|
+
type: i0.Input,
|
|
357
|
+
args: [{
|
|
358
|
+
isSignal: true,
|
|
359
|
+
alias: "disabled",
|
|
360
|
+
required: false
|
|
361
|
+
}]
|
|
362
|
+
}],
|
|
363
|
+
selected: [{
|
|
364
|
+
type: i0.Input,
|
|
365
|
+
args: [{
|
|
366
|
+
isSignal: true,
|
|
367
|
+
alias: "selected",
|
|
368
|
+
required: false
|
|
369
|
+
}]
|
|
370
|
+
}],
|
|
371
|
+
action: [{
|
|
372
|
+
type: i0.Output,
|
|
373
|
+
args: ["action"]
|
|
374
|
+
}]
|
|
375
|
+
}
|
|
376
|
+
});
|
|
377
|
+
export { OptionCardComponent };
|
|
378
|
+
|
|
379
|
+
//# sourceMappingURL=forgeroute-ui-option-card.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"forgeroute-ui-option-card.mjs","names":[],"sources":["../../../projects/forgeroute-ui/option-card/src/lib/option-card/option-card.component.ts"],"sourcesContent":["import { ChangeDetectionStrategy, Component, ViewEncapsulation, inject, input, output } from '@angular/core';\nimport { ButtonComponent } from '@forgeroute/ui/core';\nimport { DetailCardComponent } from '@forgeroute/ui/detail-card';\nimport { iconPath } from '@forgeroute/ui/icon';\nimport { UiLabelsService } from '@forgeroute/ui/core';\n\n/**\n * One option the user can pick or connect: a coloured tile (a letter, or a library icon), a title, a short description and a small action button.\n * The same card is used for the source cards of an import step, the provider cards of the setup wizard (calendar, email, tools) and a CRM\n * live-sync option, so they all look and behave alike. Anything inside the tag is shown under the row (an expanding form, a result).\n *\n * <ui-option-card title=\"Gmail\" letter=\"G\" color=\"#ea4335\" description=\"Connect your Google account\" actionLabel=\"Connect\" (action)=\"connect()\" />\n * <ui-option-card title=\"Follow Up Boss\" letter=\"F\" actionLabel=\"Sync live\" (action)=\"open()\"> <form>…</form> </ui-option-card>\n *\n * Inputs: `title` (required), `description`, `letter` (one character in the tile) or `icon` (a library icon name, used when there is no letter),\n * `color` (tile background, default slate), `actionLabel` (no label = no button), `actionVariant` (default secondary), `actionAriaLabel`,\n * `actionTestId`, `actionLoading`, `disabled`, `selected`. Output: `action`.\n *\n * `selected` (default false = the card as before) marks the card as the chosen one: a blue 2px border, a check mark at the end of the row and the text\n * \"Selected\" for screen readers (`data-selected=\"true\"` on the host). The state is shown by the border AND the check, so colour is never the only signal. The\n * card does not toggle by itself: the app owns the state.\n *\n * A brand logo goes in the tile: `<img option-card-logo src=\"stripe.svg\" alt=\"\" />` (decorative, the title names the card; leave out `letter` and `icon`, set\n * `color` to the logo's background, e.g. `#fff`). The element is limited to the tile (36 x 36 px). Without it nothing changes.\n */\n@Component({\n selector: 'ui-option-card',\n standalone: true,\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n imports: [ButtonComponent, DetailCardComponent],\n host: { '[attr.data-selected]': 'selected() ? \"true\" : null' },\n template: `\n <ui-detail-card class=\"oc\" [class.oc--selected]=\"selected()\" [showHeader]=\"false\" [ariaLabel]=\"title()\">\n <div class=\"oc-row\">\n <span class=\"oc-tile\" [style.background]=\"color()\" aria-hidden=\"true\">\n @if (letter()) { {{ letter() }} } @else if (iconD(); as d) { <svg width=\"18\" height=\"18\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\" focusable=\"false\"><path [attr.d]=\"d\" /></svg> }\n <ng-content select=\"[option-card-logo]\" />\n </span>\n <span class=\"oc-text\">\n <span class=\"oc-title\">{{ title() }}</span>\n @if (description()) { <span class=\"oc-desc\">{{ description() }}</span> }\n </span>\n @if (selected()) {\n <span class=\"oc-selected\" data-testid=\"option-card-selected\">\n <svg width=\"18\" height=\"18\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\" aria-hidden=\"true\" focusable=\"false\"><path [attr.d]=\"checkD\" /></svg>\n <span class=\"oc-sr\">{{ labels.t('optionCard.selected') }}</span>\n </span>\n }\n @if (actionLabel()) {\n <ui-button size=\"xs\" [variant]=\"actionVariant()\" [disabled]=\"disabled()\" [loading]=\"actionLoading()\" [attr.data-testid]=\"actionTestId() || null\"\n [ariaLabel]=\"actionAriaLabel() || (actionLabel() + ' ' + title())\" (click)=\"action.emit()\">{{ actionLabel() }}</ui-button>\n }\n </div>\n <ng-content />\n </ui-detail-card>\n `,\n styles: [`\n ui-option-card { display: block; }\n ui-option-card .oc { margin-bottom: 0; }\n .oc-row { display: flex; align-items: center; gap: 12px; }\n .oc-tile { width: 36px; height: 36px; border-radius: 8px; color: #fff; font-size: 1rem; font-weight: 700; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }\n .oc-text { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0; }\n .oc-title { font-size: 0.8125rem; font-weight: 600; color: #1e293b; line-height: 1.2; }\n .oc-desc { font-size: 0.75rem; color: #64748b; overflow-wrap: anywhere; }\n /* option-card-logo: the logo stays inside the 36px tile */\n .oc-tile [option-card-logo] { display: block; max-width: 100%; max-height: 100%; object-fit: contain; }\n /* selected: a 2px blue border (the card's 1px border plus a 1px ring), and a check mark; the text for screen readers sits next to it */\n ui-option-card .oc--selected .dc { border-color: #2563eb; box-shadow: 0 0 0 1px #2563eb; }\n .oc-selected { display: inline-flex; flex-shrink: 0; color: #2563eb; }\n .oc-sr { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; border: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }\n `],\n})\nexport class OptionCardComponent {\n readonly title = input.required<string>();\n readonly description = input('');\n readonly letter = input('');\n readonly icon = input('');\n readonly color = input('#64748b');\n readonly actionLabel = input('');\n readonly actionVariant = input<'primary' | 'secondary'>('secondary');\n readonly actionAriaLabel = input('');\n readonly actionTestId = input('');\n readonly actionLoading = input(false);\n readonly disabled = input(false);\n /** `true`: the card is the chosen one (blue border, a check mark, \"Selected\" for screen readers). Default false: the card as before. */\n readonly selected = input(false);\n /** The action button was pressed. */\n readonly action = output<void>();\n\n protected readonly labels = inject(UiLabelsService);\n protected readonly checkD = iconPath('check')!;\n\n protected iconD(): string | null { return this.icon() ? iconPath(this.icon()) ?? null : null; }\n}\n"],"mappings":";;;;;AAyEA,IAAa,sBAAb,MAAa,oBAAmB;CAhDhC,cAAA;EAiDW,KAAA,QAAQ,MAAM,SAAkB,GAAA,YAAA,CAAA,EAAA,WAAA,QAAA,CAAA,+BAAA,CAAA,CAAA;EAChC,KAAA,cAAc,MAAM,IAAG,GAAA,YAAA,CAAA,EAAA,WAAA,cAAA,CAAA,+BAAA,CAAA,CAAA;EACvB,KAAA,SAAS,MAAM,IAAG,GAAA,YAAA,CAAA,EAAA,WAAA,SAAA,CAAA,+BAAA,CAAA,CAAA;EAClB,KAAA,OAAO,MAAM,IAAG,GAAA,YAAA,CAAA,EAAA,WAAA,OAAA,CAAA,+BAAA,CAAA,CAAA;EAChB,KAAA,QAAQ,MAAM,WAAU,GAAA,YAAA,CAAA,EAAA,WAAA,QAAA,CAAA,+BAAA,CAAA,CAAA;EACxB,KAAA,cAAc,MAAM,IAAG,GAAA,YAAA,CAAA,EAAA,WAAA,cAAA,CAAA,+BAAA,CAAA,CAAA;EACvB,KAAA,gBAAgB,MAA+B,aAAY,GAAA,YAAA,CAAA,EAAA,WAAA,gBAAA,CAAA,+BAAA,CAAA,CAAA;EAC3D,KAAA,kBAAkB,MAAM,IAAG,GAAA,YAAA,CAAA,EAAA,WAAA,kBAAA,CAAA,+BAAA,CAAA,CAAA;EAC3B,KAAA,eAAe,MAAM,IAAG,GAAA,YAAA,CAAA,EAAA,WAAA,eAAA,CAAA,+BAAA,CAAA,CAAA;EACxB,KAAA,gBAAgB,MAAM,OAAM,GAAA,YAAA,CAAA,EAAA,WAAA,gBAAA,CAAA,+BAAA,CAAA,CAAA;EAC5B,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