@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,277 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import { ChangeDetectionStrategy, Component, computed, input } from "@angular/core";
|
|
3
|
+
var ProgressRingComponent = class ProgressRingComponent {
|
|
4
|
+
constructor() {
|
|
5
|
+
this.value = input(0, ...ngDevMode ? [{ debugName: "value" }] : /* istanbul ignore next */ []);
|
|
6
|
+
this.max = input(100, ...ngDevMode ? [{ debugName: "max" }] : /* istanbul ignore next */ []);
|
|
7
|
+
this.size = input(58, ...ngDevMode ? [{ debugName: "size" }] : /* istanbul ignore next */ []);
|
|
8
|
+
this.strokeWidth = input(5, ...ngDevMode ? [{ debugName: "strokeWidth" }] : /* istanbul ignore next */ []);
|
|
9
|
+
this.variant = input(null, ...ngDevMode ? [{ debugName: "variant" }] : /* istanbul ignore next */ []);
|
|
10
|
+
this.label = input("", ...ngDevMode ? [{ debugName: "label" }] : /* istanbul ignore next */ []);
|
|
11
|
+
this.showValue = input(true, ...ngDevMode ? [{ debugName: "showValue" }] : /* istanbul ignore next */ []);
|
|
12
|
+
this.ariaLabel = input("", ...ngDevMode ? [{ debugName: "ariaLabel" }] : /* istanbul ignore next */ []);
|
|
13
|
+
this.ariaLabelledby = input("", ...ngDevMode ? [{ debugName: "ariaLabelledby" }] : /* istanbul ignore next */ []);
|
|
14
|
+
this.valueText = input("", ...ngDevMode ? [{ debugName: "valueText" }] : /* istanbul ignore next */ []);
|
|
15
|
+
this.safeMax = computed(() => {
|
|
16
|
+
const m = this.max();
|
|
17
|
+
return Number.isFinite(m) && m > 0 ? m : 0;
|
|
18
|
+
}, ...ngDevMode ? [{ debugName: "safeMax" }] : /* istanbul ignore next */ []);
|
|
19
|
+
this.clampedValue = computed(() => {
|
|
20
|
+
const v = this.value();
|
|
21
|
+
return Math.min(Math.max(Number.isNaN(v) ? 0 : v, 0), this.safeMax());
|
|
22
|
+
}, ...ngDevMode ? [{ debugName: "clampedValue" }] : /* istanbul ignore next */ []);
|
|
23
|
+
this.exact = computed(() => this.safeMax() > 0 ? this.clampedValue() / this.safeMax() * 100 : 0, ...ngDevMode ? [{ debugName: "exact" }] : /* istanbul ignore next */ []);
|
|
24
|
+
this.percent = computed(() => Math.round(this.exact()), ...ngDevMode ? [{ debugName: "percent" }] : /* istanbul ignore next */ []);
|
|
25
|
+
this.center = computed(() => this.size() / 2, ...ngDevMode ? [{ debugName: "center" }] : /* istanbul ignore next */ []);
|
|
26
|
+
this.radius = computed(() => Math.max((this.size() - this.strokeWidth()) / 2, 0), ...ngDevMode ? [{ debugName: "radius" }] : /* istanbul ignore next */ []);
|
|
27
|
+
this.circumference = computed(() => 2 * Math.PI * this.radius(), ...ngDevMode ? [{ debugName: "circumference" }] : /* istanbul ignore next */ []);
|
|
28
|
+
this.dashOffset = computed(() => this.circumference() * (1 - this.exact() / 100), ...ngDevMode ? [{ debugName: "dashOffset" }] : /* istanbul ignore next */ []);
|
|
29
|
+
this.effectiveVariant = computed(() => {
|
|
30
|
+
const fixed = this.variant();
|
|
31
|
+
if (fixed) return fixed;
|
|
32
|
+
const e = this.exact();
|
|
33
|
+
return e <= 25 ? "red" : e <= 50 ? "amber" : e <= 75 ? "blue" : "green";
|
|
34
|
+
}, ...ngDevMode ? [{ debugName: "effectiveVariant" }] : /* istanbul ignore next */ []);
|
|
35
|
+
}
|
|
36
|
+
static {
|
|
37
|
+
this.ɵfac = i0.ɵɵngDeclareFactory({
|
|
38
|
+
minVersion: "12.0.0",
|
|
39
|
+
version: "22.2.2",
|
|
40
|
+
ngImport: i0,
|
|
41
|
+
type: ProgressRingComponent,
|
|
42
|
+
deps: [],
|
|
43
|
+
target: i0.ɵɵFactoryTarget.Component
|
|
44
|
+
});
|
|
45
|
+
}
|
|
46
|
+
static {
|
|
47
|
+
this.ɵcmp = i0.ɵɵngDeclareComponent({
|
|
48
|
+
minVersion: "17.0.0",
|
|
49
|
+
version: "22.2.2",
|
|
50
|
+
type: ProgressRingComponent,
|
|
51
|
+
isStandalone: true,
|
|
52
|
+
selector: "ui-progress-ring",
|
|
53
|
+
inputs: {
|
|
54
|
+
value: {
|
|
55
|
+
classPropertyName: "value",
|
|
56
|
+
publicName: "value",
|
|
57
|
+
isSignal: true,
|
|
58
|
+
isRequired: false,
|
|
59
|
+
transformFunction: null
|
|
60
|
+
},
|
|
61
|
+
max: {
|
|
62
|
+
classPropertyName: "max",
|
|
63
|
+
publicName: "max",
|
|
64
|
+
isSignal: true,
|
|
65
|
+
isRequired: false,
|
|
66
|
+
transformFunction: null
|
|
67
|
+
},
|
|
68
|
+
size: {
|
|
69
|
+
classPropertyName: "size",
|
|
70
|
+
publicName: "size",
|
|
71
|
+
isSignal: true,
|
|
72
|
+
isRequired: false,
|
|
73
|
+
transformFunction: null
|
|
74
|
+
},
|
|
75
|
+
strokeWidth: {
|
|
76
|
+
classPropertyName: "strokeWidth",
|
|
77
|
+
publicName: "strokeWidth",
|
|
78
|
+
isSignal: true,
|
|
79
|
+
isRequired: false,
|
|
80
|
+
transformFunction: null
|
|
81
|
+
},
|
|
82
|
+
variant: {
|
|
83
|
+
classPropertyName: "variant",
|
|
84
|
+
publicName: "variant",
|
|
85
|
+
isSignal: true,
|
|
86
|
+
isRequired: false,
|
|
87
|
+
transformFunction: null
|
|
88
|
+
},
|
|
89
|
+
label: {
|
|
90
|
+
classPropertyName: "label",
|
|
91
|
+
publicName: "label",
|
|
92
|
+
isSignal: true,
|
|
93
|
+
isRequired: false,
|
|
94
|
+
transformFunction: null
|
|
95
|
+
},
|
|
96
|
+
showValue: {
|
|
97
|
+
classPropertyName: "showValue",
|
|
98
|
+
publicName: "showValue",
|
|
99
|
+
isSignal: true,
|
|
100
|
+
isRequired: false,
|
|
101
|
+
transformFunction: null
|
|
102
|
+
},
|
|
103
|
+
ariaLabel: {
|
|
104
|
+
classPropertyName: "ariaLabel",
|
|
105
|
+
publicName: "ariaLabel",
|
|
106
|
+
isSignal: true,
|
|
107
|
+
isRequired: false,
|
|
108
|
+
transformFunction: null
|
|
109
|
+
},
|
|
110
|
+
ariaLabelledby: {
|
|
111
|
+
classPropertyName: "ariaLabelledby",
|
|
112
|
+
publicName: "ariaLabelledby",
|
|
113
|
+
isSignal: true,
|
|
114
|
+
isRequired: false,
|
|
115
|
+
transformFunction: null
|
|
116
|
+
},
|
|
117
|
+
valueText: {
|
|
118
|
+
classPropertyName: "valueText",
|
|
119
|
+
publicName: "valueText",
|
|
120
|
+
isSignal: true,
|
|
121
|
+
isRequired: false,
|
|
122
|
+
transformFunction: null
|
|
123
|
+
}
|
|
124
|
+
},
|
|
125
|
+
ngImport: i0,
|
|
126
|
+
template: `
|
|
127
|
+
<div class="pr"
|
|
128
|
+
role="progressbar"
|
|
129
|
+
[style.width.px]="size()"
|
|
130
|
+
[style.height.px]="size()"
|
|
131
|
+
[attr.aria-valuemin]="0"
|
|
132
|
+
[attr.aria-valuemax]="safeMax()"
|
|
133
|
+
[attr.aria-valuenow]="clampedValue()"
|
|
134
|
+
[attr.aria-valuetext]="valueText() || null"
|
|
135
|
+
[attr.aria-labelledby]="ariaLabelledby() || null"
|
|
136
|
+
[attr.aria-label]="ariaLabelledby() ? null : (ariaLabel() || null)">
|
|
137
|
+
<svg [attr.width]="size()" [attr.height]="size()" [attr.viewBox]="'0 0 ' + size() + ' ' + size()" aria-hidden="true" focusable="false">
|
|
138
|
+
<circle class="pr-track" [attr.cx]="center()" [attr.cy]="center()" [attr.r]="radius()" fill="none" [attr.stroke-width]="strokeWidth()" />
|
|
139
|
+
<circle [class]="'pr-arc pr-' + effectiveVariant()" [attr.cx]="center()" [attr.cy]="center()" [attr.r]="radius()" fill="none"
|
|
140
|
+
[attr.stroke-width]="strokeWidth()" stroke-linecap="round"
|
|
141
|
+
[attr.stroke-dasharray]="circumference()" [attr.stroke-dashoffset]="dashOffset()"
|
|
142
|
+
[attr.transform]="'rotate(-90 ' + center() + ' ' + center() + ')'" />
|
|
143
|
+
</svg>
|
|
144
|
+
@if (showValue()) {
|
|
145
|
+
<span class="pr-value" [style.font-size.px]="size() * 0.21">{{ label() || percent() + '%' }}</span>
|
|
146
|
+
}
|
|
147
|
+
</div>
|
|
148
|
+
`,
|
|
149
|
+
isInline: true,
|
|
150
|
+
styles: [":host{display:inline-block;line-height:0}.pr{position:relative;display:inline-flex;align-items:center;justify-content:center}.pr svg{position:absolute;inset:0}.pr-track{stroke:#e2e8f0}.pr-arc{transition:stroke-dashoffset .8s ease}@media(prefers-reduced-motion:reduce){.pr-arc{transition:none}}.pr-blue{stroke:#3b82f6}.pr-green{stroke:#16a34a}.pr-amber{stroke:#f59e0b}.pr-red{stroke:#ef4444}.pr-slate{stroke:#94a3b8}.pr-sky{stroke:#0ea5e9}@media(forced-colors:active){.pr-track{stroke:CanvasText;opacity:.35}.pr-arc{stroke:Highlight}}.pr-value{position:relative;font-weight:700;line-height:1;color:#1e293b}\n"],
|
|
151
|
+
changeDetection: i0.ChangeDetectionStrategy.OnPush
|
|
152
|
+
});
|
|
153
|
+
}
|
|
154
|
+
};
|
|
155
|
+
i0.ɵɵngDeclareClassMetadata({
|
|
156
|
+
minVersion: "12.0.0",
|
|
157
|
+
version: "22.2.2",
|
|
158
|
+
ngImport: i0,
|
|
159
|
+
type: ProgressRingComponent,
|
|
160
|
+
decorators: [{
|
|
161
|
+
type: Component,
|
|
162
|
+
args: [{
|
|
163
|
+
selector: "ui-progress-ring",
|
|
164
|
+
standalone: true,
|
|
165
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
166
|
+
template: `
|
|
167
|
+
<div class="pr"
|
|
168
|
+
role="progressbar"
|
|
169
|
+
[style.width.px]="size()"
|
|
170
|
+
[style.height.px]="size()"
|
|
171
|
+
[attr.aria-valuemin]="0"
|
|
172
|
+
[attr.aria-valuemax]="safeMax()"
|
|
173
|
+
[attr.aria-valuenow]="clampedValue()"
|
|
174
|
+
[attr.aria-valuetext]="valueText() || null"
|
|
175
|
+
[attr.aria-labelledby]="ariaLabelledby() || null"
|
|
176
|
+
[attr.aria-label]="ariaLabelledby() ? null : (ariaLabel() || null)">
|
|
177
|
+
<svg [attr.width]="size()" [attr.height]="size()" [attr.viewBox]="'0 0 ' + size() + ' ' + size()" aria-hidden="true" focusable="false">
|
|
178
|
+
<circle class="pr-track" [attr.cx]="center()" [attr.cy]="center()" [attr.r]="radius()" fill="none" [attr.stroke-width]="strokeWidth()" />
|
|
179
|
+
<circle [class]="'pr-arc pr-' + effectiveVariant()" [attr.cx]="center()" [attr.cy]="center()" [attr.r]="radius()" fill="none"
|
|
180
|
+
[attr.stroke-width]="strokeWidth()" stroke-linecap="round"
|
|
181
|
+
[attr.stroke-dasharray]="circumference()" [attr.stroke-dashoffset]="dashOffset()"
|
|
182
|
+
[attr.transform]="'rotate(-90 ' + center() + ' ' + center() + ')'" />
|
|
183
|
+
</svg>
|
|
184
|
+
@if (showValue()) {
|
|
185
|
+
<span class="pr-value" [style.font-size.px]="size() * 0.21">{{ label() || percent() + '%' }}</span>
|
|
186
|
+
}
|
|
187
|
+
</div>
|
|
188
|
+
`,
|
|
189
|
+
styles: [":host{display:inline-block;line-height:0}.pr{position:relative;display:inline-flex;align-items:center;justify-content:center}.pr svg{position:absolute;inset:0}.pr-track{stroke:#e2e8f0}.pr-arc{transition:stroke-dashoffset .8s ease}@media(prefers-reduced-motion:reduce){.pr-arc{transition:none}}.pr-blue{stroke:#3b82f6}.pr-green{stroke:#16a34a}.pr-amber{stroke:#f59e0b}.pr-red{stroke:#ef4444}.pr-slate{stroke:#94a3b8}.pr-sky{stroke:#0ea5e9}@media(forced-colors:active){.pr-track{stroke:CanvasText;opacity:.35}.pr-arc{stroke:Highlight}}.pr-value{position:relative;font-weight:700;line-height:1;color:#1e293b}\n"]
|
|
190
|
+
}]
|
|
191
|
+
}],
|
|
192
|
+
propDecorators: {
|
|
193
|
+
value: [{
|
|
194
|
+
type: i0.Input,
|
|
195
|
+
args: [{
|
|
196
|
+
isSignal: true,
|
|
197
|
+
alias: "value",
|
|
198
|
+
required: false
|
|
199
|
+
}]
|
|
200
|
+
}],
|
|
201
|
+
max: [{
|
|
202
|
+
type: i0.Input,
|
|
203
|
+
args: [{
|
|
204
|
+
isSignal: true,
|
|
205
|
+
alias: "max",
|
|
206
|
+
required: false
|
|
207
|
+
}]
|
|
208
|
+
}],
|
|
209
|
+
size: [{
|
|
210
|
+
type: i0.Input,
|
|
211
|
+
args: [{
|
|
212
|
+
isSignal: true,
|
|
213
|
+
alias: "size",
|
|
214
|
+
required: false
|
|
215
|
+
}]
|
|
216
|
+
}],
|
|
217
|
+
strokeWidth: [{
|
|
218
|
+
type: i0.Input,
|
|
219
|
+
args: [{
|
|
220
|
+
isSignal: true,
|
|
221
|
+
alias: "strokeWidth",
|
|
222
|
+
required: false
|
|
223
|
+
}]
|
|
224
|
+
}],
|
|
225
|
+
variant: [{
|
|
226
|
+
type: i0.Input,
|
|
227
|
+
args: [{
|
|
228
|
+
isSignal: true,
|
|
229
|
+
alias: "variant",
|
|
230
|
+
required: false
|
|
231
|
+
}]
|
|
232
|
+
}],
|
|
233
|
+
label: [{
|
|
234
|
+
type: i0.Input,
|
|
235
|
+
args: [{
|
|
236
|
+
isSignal: true,
|
|
237
|
+
alias: "label",
|
|
238
|
+
required: false
|
|
239
|
+
}]
|
|
240
|
+
}],
|
|
241
|
+
showValue: [{
|
|
242
|
+
type: i0.Input,
|
|
243
|
+
args: [{
|
|
244
|
+
isSignal: true,
|
|
245
|
+
alias: "showValue",
|
|
246
|
+
required: false
|
|
247
|
+
}]
|
|
248
|
+
}],
|
|
249
|
+
ariaLabel: [{
|
|
250
|
+
type: i0.Input,
|
|
251
|
+
args: [{
|
|
252
|
+
isSignal: true,
|
|
253
|
+
alias: "ariaLabel",
|
|
254
|
+
required: false
|
|
255
|
+
}]
|
|
256
|
+
}],
|
|
257
|
+
ariaLabelledby: [{
|
|
258
|
+
type: i0.Input,
|
|
259
|
+
args: [{
|
|
260
|
+
isSignal: true,
|
|
261
|
+
alias: "ariaLabelledby",
|
|
262
|
+
required: false
|
|
263
|
+
}]
|
|
264
|
+
}],
|
|
265
|
+
valueText: [{
|
|
266
|
+
type: i0.Input,
|
|
267
|
+
args: [{
|
|
268
|
+
isSignal: true,
|
|
269
|
+
alias: "valueText",
|
|
270
|
+
required: false
|
|
271
|
+
}]
|
|
272
|
+
}]
|
|
273
|
+
}
|
|
274
|
+
});
|
|
275
|
+
export { ProgressRingComponent };
|
|
276
|
+
|
|
277
|
+
//# sourceMappingURL=forgeroute-ui-progress-ring.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"forgeroute-ui-progress-ring.mjs","names":[],"sources":["../../../projects/forgeroute-ui/progress-ring/src/lib/progress-ring/progress-ring.component.ts"],"sourcesContent":["import { Component, ChangeDetectionStrategy, input, computed } from '@angular/core';\nexport type ProgressRingVariant = 'blue' | 'green' | 'amber' | 'red' | 'slate' | 'sky';\n\n/**\n * Circular progress ring with the rounded percentage (or a custom `label`) in the middle.\n * Pass `value` and `max` (default 100); the arc is clamped to 0–100% and starts at 12 o'clock. A value of 0 draws no arc; invalid numbers\n * (NaN, a negative or infinite max) draw an empty ring.\n *\n * The arc color follows completion exactly like `ui-progress-bar` (red up to 25%, amber up to 50%, blue up to 75%, green above 75%);\n * `variant` fixes it for a ring whose color means something else (e.g. one ring per metric). The ring is a `role=\"progressbar\"`\n * (name it with `ariaLabel` or `ariaLabelledby`; `valueText` adds a human reading such as \"$200K of $300K\"). The arc animates unless\n * `prefers-reduced-motion` is set and stays visible in forced-colors mode.\n *\n * <ui-progress-ring [value]=\"67\" ariaLabel=\"Gross income progress\" variant=\"green\" />\n * <ui-progress-ring [value]=\"done\" [max]=\"total\" [size]=\"72\" [strokeWidth]=\"6\" [label]=\"done + '/' + total\" ariaLabel=\"Checklist\" />\n */\n@Component({\n selector: 'ui-progress-ring',\n standalone: true,\n changeDetection: ChangeDetectionStrategy.OnPush,\n template: `\n <div class=\"pr\"\n role=\"progressbar\"\n [style.width.px]=\"size()\"\n [style.height.px]=\"size()\"\n [attr.aria-valuemin]=\"0\"\n [attr.aria-valuemax]=\"safeMax()\"\n [attr.aria-valuenow]=\"clampedValue()\"\n [attr.aria-valuetext]=\"valueText() || null\"\n [attr.aria-labelledby]=\"ariaLabelledby() || null\"\n [attr.aria-label]=\"ariaLabelledby() ? null : (ariaLabel() || null)\">\n <svg [attr.width]=\"size()\" [attr.height]=\"size()\" [attr.viewBox]=\"'0 0 ' + size() + ' ' + size()\" aria-hidden=\"true\" focusable=\"false\">\n <circle class=\"pr-track\" [attr.cx]=\"center()\" [attr.cy]=\"center()\" [attr.r]=\"radius()\" fill=\"none\" [attr.stroke-width]=\"strokeWidth()\" />\n <circle [class]=\"'pr-arc pr-' + effectiveVariant()\" [attr.cx]=\"center()\" [attr.cy]=\"center()\" [attr.r]=\"radius()\" fill=\"none\"\n [attr.stroke-width]=\"strokeWidth()\" stroke-linecap=\"round\"\n [attr.stroke-dasharray]=\"circumference()\" [attr.stroke-dashoffset]=\"dashOffset()\"\n [attr.transform]=\"'rotate(-90 ' + center() + ' ' + center() + ')'\" />\n </svg>\n @if (showValue()) {\n <span class=\"pr-value\" [style.font-size.px]=\"size() * 0.21\">{{ label() || percent() + '%' }}</span>\n }\n </div>\n `,\n styles: [`\n :host { display: inline-block; line-height: 0; }\n .pr { position: relative; display: inline-flex; align-items: center; justify-content: center; }\n .pr svg { position: absolute; inset: 0; }\n .pr-track { stroke: #e2e8f0; }\n .pr-arc { transition: stroke-dashoffset 0.8s ease; }\n @media (prefers-reduced-motion: reduce) { .pr-arc { transition: none; } }\n .pr-blue { stroke: #3b82f6; }\n .pr-green { stroke: #16a34a; }\n .pr-amber { stroke: #f59e0b; }\n .pr-red { stroke: #ef4444; }\n .pr-slate { stroke: #94a3b8; }\n .pr-sky { stroke: #0ea5e9; }\n /* After the variant rules so the system colours win (same specificity, later wins). */\n @media (forced-colors: active) {\n .pr-track { stroke: CanvasText; opacity: 0.35; }\n .pr-arc { stroke: Highlight; }\n }\n .pr-value { position: relative; font-weight: 700; line-height: 1; color: #1e293b; }\n `],\n})\nexport class ProgressRingComponent {\n /** Completed amount. */\n readonly value = input(0);\n /** Total amount (default 100, so `value` is a percentage); 0 renders an empty ring. */\n readonly max = input(100);\n /** Diameter in px. */\n readonly size = input(58);\n /** Ring thickness in px. */\n readonly strokeWidth = input(5);\n /** Optional fixed arc color. Leave it out and the color follows completion (red / amber / blue / green). */\n readonly variant = input<ProgressRingVariant | null | undefined>(null);\n /** Text in the middle instead of the rounded percentage, e.g. \"3/5\". */\n readonly label = input('');\n /** `false` draws the ring without any text in the middle. */\n readonly showValue = input(true);\n readonly ariaLabel = input('');\n /** Id of an element that names the ring (wins over `ariaLabel`). */\n readonly ariaLabelledby = input('');\n /** Human text for `aria-valuetext`, e.g. \"$200K of $300K\". Empty = not set. */\n readonly valueText = input('');\n\n /** `max` made safe: NaN / negative / infinite become 0 (empty ring, no division by zero). */\n protected readonly safeMax = computed(() => { const m = this.max(); return Number.isFinite(m) && m > 0 ? m : 0; });\n protected readonly clampedValue = computed(() => { const v = this.value(); return Math.min(Math.max(Number.isNaN(v) ? 0 : v, 0), this.safeMax()); });\n /** Exact completion in % (0–100). */\n private readonly exact = computed(() => (this.safeMax() > 0 ? (this.clampedValue() / this.safeMax()) * 100 : 0));\n /** Rounded completion in %, shown in the middle. */\n protected readonly percent = computed(() => Math.round(this.exact()));\n\n protected readonly center = computed(() => this.size() / 2);\n protected readonly radius = computed(() => Math.max((this.size() - this.strokeWidth()) / 2, 0));\n protected readonly circumference = computed(() => 2 * Math.PI * this.radius());\n protected readonly dashOffset = computed(() => this.circumference() * (1 - this.exact() / 100));\n\n /** The override when given, else the completion band: up to 25% red, up to 50% amber, up to 75% blue, above 75% green. */\n protected readonly effectiveVariant = computed((): ProgressRingVariant => {\n const fixed = this.variant();\n if (fixed) return fixed;\n const e = this.exact();\n return e <= 25 ? 'red' : e <= 50 ? 'amber' : e <= 75 ? 'blue' : 'green';\n });\n}\n"],"mappings":";;AAgEA,IAAa,wBAAb,MAAa,sBAAqB;CAhDlC,cAAA;EAkDW,KAAA,QAAQ,MAAM,GAAE,GAAA,YAAA,CAAA,EAAA,WAAA,QAAA,CAAA,+BAAA,CAAA,CAAA;EAEhB,KAAA,MAAM,MAAM,KAAI,GAAA,YAAA,CAAA,EAAA,WAAA,MAAA,CAAA,+BAAA,CAAA,CAAA;EAEhB,KAAA,OAAO,MAAM,IAAG,GAAA,YAAA,CAAA,EAAA,WAAA,OAAA,CAAA,+BAAA,CAAA,CAAA;EAEhB,KAAA,cAAc,MAAM,GAAE,GAAA,YAAA,CAAA,EAAA,WAAA,cAAA,CAAA,+BAAA,CAAA,CAAA;EAEtB,KAAA,UAAU,MAA8C,MAAK,GAAA,YAAA,CAAA,EAAA,WAAA,UAAA,CAAA,+BAAA,CAAA,CAAA;EAE7D,KAAA,QAAQ,MAAM,IAAG,GAAA,YAAA,CAAA,EAAA,WAAA,QAAA,CAAA,+BAAA,CAAA,CAAA;EAEjB,KAAA,YAAY,MAAM,MAAK,GAAA,YAAA,CAAA,EAAA,WAAA,YAAA,CAAA,+BAAA,CAAA,CAAA;EACvB,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A;KAAA,YAAA;KAAA,mBAAA;IAAA;IAAA,WAAA;KAAA,mBAAA;KAAA,YAAA;KAAA,UAAA;KAAA,YAAA;KAAA,mBAAA;IAAA;IAAA,WAAA;KAAA,mBAAA;KAAA,YAAA;KAAA,UAAA;KAAA,YAAA;KAAA,mBAAA;IAAA;IAAA,gBAAA;KAAA,mBAAA;KAAA,YAAA;KAAA,UAAA;KAAA,YAAA;KAAA,mBAAA;IAAA;IAAA,WAAA;KAAA,mBAAA;KAAA,YAAA;KAAA,UAAA;KAAA,YAAA;KAAA,mBAAA;IAAA;GAAA;GAAA,UAAA;GAAA,UA5CtB;;;;;;;;;;;;;;;;;;;;;;;GAsBT,UAAA;GAAA,QAAA,CAAA,imBAAA;GAAA,iBAAA,GAAA,wBAAA;EAAA,CAAA;CAAA;;AAsBU,GAAA,yBAAA;CAAA,YAAA;CAAA,SAAA;CAAA,UAAA;CAAA,MAAA;CAAqB,YAAA,CAAA;EAhDjC,MAAA;EACW,MAAA,CAAA;GAAA,UAAA;GAAkB,YAChB;GAAI,iBACC,wBAAwB;GAAM,UACrC;;;;;;;;;;;;;;;;;;;;;;;GAsBT,QAAA,CAAA,imBAAA;EAAA,CAAA"}
|
|
@@ -0,0 +1,301 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import { ChangeDetectionStrategy, Component, ElementRef, computed, effect, inject, input, output, signal } from "@angular/core";
|
|
3
|
+
import { DROPDOWN_GROUP } from "@forgeroute/ui/table-types";
|
|
4
|
+
import { UiLabelsService } from "@forgeroute/ui/core";
|
|
5
|
+
const MAX_VISIBLE = 3;
|
|
6
|
+
var QuickFilterTabsComponent = class QuickFilterTabsComponent {
|
|
7
|
+
constructor() {
|
|
8
|
+
this.labels = inject(UiLabelsService);
|
|
9
|
+
this.tabs = input.required(...ngDevMode ? [{ debugName: "tabs" }] : /* istanbul ignore next */ []);
|
|
10
|
+
this.counts = input({}, ...ngDevMode ? [{ debugName: "counts" }] : /* istanbul ignore next */ []);
|
|
11
|
+
this.activeValue = input("", ...ngDevMode ? [{ debugName: "activeValue" }] : /* istanbul ignore next */ []);
|
|
12
|
+
this.ariaLabel = input(null, ...ngDevMode ? [{ debugName: "ariaLabel" }] : /* istanbul ignore next */ []);
|
|
13
|
+
this.tabChange = output();
|
|
14
|
+
this.dropdownOpen = signal(false, ...ngDevMode ? [{ debugName: "dropdownOpen" }] : /* istanbul ignore next */ []);
|
|
15
|
+
this._el = inject(ElementRef);
|
|
16
|
+
this._group = inject(DROPDOWN_GROUP, { optional: true });
|
|
17
|
+
this._id = "qft-" + Math.random().toString(36).slice(2);
|
|
18
|
+
this.allTab = computed(() => this.tabs().find((t) => t.value === "") ?? null, ...ngDevMode ? [{ debugName: "allTab" }] : /* istanbul ignore next */ []);
|
|
19
|
+
this.sortedFilterTabs = computed(() => {
|
|
20
|
+
const counts = this.counts();
|
|
21
|
+
const hasCounts = Object.keys(counts).length > 0;
|
|
22
|
+
return this.tabs().filter((t) => t.value !== "").filter((t) => !hasCounts || (counts[t.value] ?? 0) > 0 || t.value === this.activeValue()).sort((a, b) => hasCounts ? (counts[b.value] ?? 0) - (counts[a.value] ?? 0) : 0);
|
|
23
|
+
}, ...ngDevMode ? [{ debugName: "sortedFilterTabs" }] : /* istanbul ignore next */ []);
|
|
24
|
+
this.visibleTabs = computed(() => this.sortedFilterTabs().slice(0, MAX_VISIBLE), ...ngDevMode ? [{ debugName: "visibleTabs" }] : /* istanbul ignore next */ []);
|
|
25
|
+
this.overflowTabs = computed(() => this.sortedFilterTabs().slice(MAX_VISIBLE), ...ngDevMode ? [{ debugName: "overflowTabs" }] : /* istanbul ignore next */ []);
|
|
26
|
+
this.overflowActive = computed(() => this.overflowTabs().some((t) => t.value === this.activeValue()), ...ngDevMode ? [{ debugName: "overflowActive" }] : /* istanbul ignore next */ []);
|
|
27
|
+
this.activeOverflowLabel = computed(() => this.overflowTabs().find((t) => t.value === this.activeValue())?.label ?? this.labels.t("common.more"), ...ngDevMode ? [{ debugName: "activeOverflowLabel" }] : /* istanbul ignore next */ []);
|
|
28
|
+
const group = this._group;
|
|
29
|
+
if (group) effect(() => {
|
|
30
|
+
if (group() !== this._id && this.dropdownOpen()) this.dropdownOpen.set(false);
|
|
31
|
+
});
|
|
32
|
+
}
|
|
33
|
+
toggleDropdown(_e) {
|
|
34
|
+
if (!this.dropdownOpen()) this._group?.set(this._id);
|
|
35
|
+
this.dropdownOpen.update((v) => !v);
|
|
36
|
+
}
|
|
37
|
+
selectOverflow(value) {
|
|
38
|
+
this.tabChange.emit(value);
|
|
39
|
+
this.dropdownOpen.set(false);
|
|
40
|
+
}
|
|
41
|
+
onDocumentClick(event) {
|
|
42
|
+
if (this.dropdownOpen() && !this._el.nativeElement.contains(event.target)) this.dropdownOpen.set(false);
|
|
43
|
+
}
|
|
44
|
+
static {
|
|
45
|
+
this.ɵfac = i0.ɵɵngDeclareFactory({
|
|
46
|
+
minVersion: "12.0.0",
|
|
47
|
+
version: "22.2.2",
|
|
48
|
+
ngImport: i0,
|
|
49
|
+
type: QuickFilterTabsComponent,
|
|
50
|
+
deps: [],
|
|
51
|
+
target: i0.ɵɵFactoryTarget.Component
|
|
52
|
+
});
|
|
53
|
+
}
|
|
54
|
+
static {
|
|
55
|
+
this.ɵcmp = i0.ɵɵngDeclareComponent({
|
|
56
|
+
minVersion: "17.0.0",
|
|
57
|
+
version: "22.2.2",
|
|
58
|
+
type: QuickFilterTabsComponent,
|
|
59
|
+
isStandalone: true,
|
|
60
|
+
selector: "ui-quick-filter-tabs",
|
|
61
|
+
inputs: {
|
|
62
|
+
tabs: {
|
|
63
|
+
classPropertyName: "tabs",
|
|
64
|
+
publicName: "tabs",
|
|
65
|
+
isSignal: true,
|
|
66
|
+
isRequired: true,
|
|
67
|
+
transformFunction: null
|
|
68
|
+
},
|
|
69
|
+
counts: {
|
|
70
|
+
classPropertyName: "counts",
|
|
71
|
+
publicName: "counts",
|
|
72
|
+
isSignal: true,
|
|
73
|
+
isRequired: false,
|
|
74
|
+
transformFunction: null
|
|
75
|
+
},
|
|
76
|
+
activeValue: {
|
|
77
|
+
classPropertyName: "activeValue",
|
|
78
|
+
publicName: "activeValue",
|
|
79
|
+
isSignal: true,
|
|
80
|
+
isRequired: false,
|
|
81
|
+
transformFunction: null
|
|
82
|
+
},
|
|
83
|
+
ariaLabel: {
|
|
84
|
+
classPropertyName: "ariaLabel",
|
|
85
|
+
publicName: "ariaLabel",
|
|
86
|
+
isSignal: true,
|
|
87
|
+
isRequired: false,
|
|
88
|
+
transformFunction: null
|
|
89
|
+
}
|
|
90
|
+
},
|
|
91
|
+
outputs: { tabChange: "tabChange" },
|
|
92
|
+
host: { listeners: { "document:click": "onDocumentClick($event)" } },
|
|
93
|
+
ngImport: i0,
|
|
94
|
+
template: `
|
|
95
|
+
<div class="tabs-outer">
|
|
96
|
+
<div class="tabs" role="tablist" [attr.aria-label]="ariaLabel() ?? labels.t('common.filterTabs')">
|
|
97
|
+
|
|
98
|
+
<!-- All tab (always first) -->
|
|
99
|
+
@if (allTab(); as all) {
|
|
100
|
+
<button class="tab" role="tab"
|
|
101
|
+
[class.active]="activeValue() === all.value"
|
|
102
|
+
[attr.aria-selected]="activeValue() === all.value"
|
|
103
|
+
(click)="tabChange.emit(all.value)">
|
|
104
|
+
{{ all.label }}
|
|
105
|
+
@if (counts()[all.value] != null) {
|
|
106
|
+
<span class="tab-count">{{ labels.formatNumber(counts()[all.value]) }}</span>
|
|
107
|
+
}
|
|
108
|
+
</button>
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
<!-- Top N visible tabs -->
|
|
112
|
+
@for (tab of visibleTabs(); track tab.value) {
|
|
113
|
+
<button class="tab" role="tab"
|
|
114
|
+
[class.active]="activeValue() === tab.value"
|
|
115
|
+
[class.tab-disabled]="tab.disabled"
|
|
116
|
+
[attr.aria-selected]="activeValue() === tab.value"
|
|
117
|
+
[attr.aria-disabled]="tab.disabled || null"
|
|
118
|
+
(click)="!tab.disabled && tabChange.emit(tab.value)">
|
|
119
|
+
{{ tab.label }}
|
|
120
|
+
@if (counts()[tab.value] != null) {
|
|
121
|
+
<span class="tab-count">{{ labels.formatNumber(counts()[tab.value]) }}</span>
|
|
122
|
+
}
|
|
123
|
+
</button>
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
<!-- More button (inside scrollable .tabs for layout) -->
|
|
127
|
+
@if (overflowTabs().length) {
|
|
128
|
+
<!-- role="tab" (not a bare button): a tablist may only own tab children. The trigger is the tab for the
|
|
129
|
+
overflow group: aria-selected mirrors "the active tab lives in the overflow", and aria-haspopup /
|
|
130
|
+
aria-expanded describe the listbox it opens. -->
|
|
131
|
+
<button class="tab more-btn" role="tab" aria-haspopup="listbox" [class.active]="overflowActive()"
|
|
132
|
+
[attr.aria-selected]="overflowActive()"
|
|
133
|
+
[attr.aria-expanded]="dropdownOpen()"
|
|
134
|
+
(click)="toggleDropdown($event)">
|
|
135
|
+
@if (overflowActive()) {
|
|
136
|
+
{{ activeOverflowLabel() }}
|
|
137
|
+
<span class="tab-count active-count">{{ labels.formatNumber(counts()[activeValue()]) }}</span>
|
|
138
|
+
} @else {
|
|
139
|
+
{{ labels.t('common.more') }}
|
|
140
|
+
}
|
|
141
|
+
<svg width="11" height="11" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.5" aria-hidden="true">
|
|
142
|
+
<path d="M6 9l6 6 6-6"/>
|
|
143
|
+
</svg>
|
|
144
|
+
</button>
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
</div>
|
|
148
|
+
|
|
149
|
+
<!-- Dropdown outside .tabs so overflow-x:auto doesn't clip it -->
|
|
150
|
+
@if (overflowTabs().length && dropdownOpen()) {
|
|
151
|
+
<div class="more-dropdown" role="listbox">
|
|
152
|
+
@for (tab of overflowTabs(); track tab.value) {
|
|
153
|
+
<button class="more-option" role="option"
|
|
154
|
+
[class.more-option-active]="activeValue() === tab.value"
|
|
155
|
+
(click)="selectOverflow(tab.value)">
|
|
156
|
+
<span class="more-option-label">{{ tab.label }}</span>
|
|
157
|
+
@if (counts()[tab.value] != null) {
|
|
158
|
+
<span class="more-option-count">{{ labels.formatNumber(counts()[tab.value]) }}</span>
|
|
159
|
+
}
|
|
160
|
+
</button>
|
|
161
|
+
}
|
|
162
|
+
</div>
|
|
163
|
+
}
|
|
164
|
+
</div>
|
|
165
|
+
`,
|
|
166
|
+
isInline: true,
|
|
167
|
+
styles: [":host{display:block;min-width:0}.tabs-outer{position:relative;display:inline-flex;align-items:center;max-width:100%;min-width:0}.tabs{display:flex;flex-wrap:wrap;align-items:center;gap:2px;background:#f1f5f9;border-radius:8px;padding:3px;overflow-x:auto;scrollbar-width:none;-webkit-overflow-scrolling:touch;min-width:0;max-width:100%}.tabs::-webkit-scrollbar{display:none}.tab{display:inline-flex;align-items:center;gap:6px;padding:6px 14px;border-radius:6px;border:none;background:transparent;font-size:.8125rem;font-weight:500;color:#475569;cursor:pointer;font-family:inherit;transition:background .1s,color .1s;white-space:nowrap;flex-shrink:0}.tab:hover{color:#1e293b}.tab.active{background:#fff;color:#1e293b;box-shadow:0 1px 3px #00000014}.tab:focus-visible{outline:2px solid #60a5fa;outline-offset:2px}.tab.tab-disabled{opacity:.45;cursor:default;pointer-events:none}.tab-count{display:inline-flex;align-items:center;justify-content:center;min-width:18px;height:18px;padding:0 5px;border-radius:999px;font-size:.6875rem;font-weight:700;background:#e2e8f0;color:#475569;line-height:1}.active .tab-count,.active-count{background:#1e293b;color:#fff}.more-btn{gap:4px}.more-dropdown{position:absolute;top:calc(100% + 4px);right:0;z-index:100;background:#fff;border:1px solid #e2e8f0;border-radius:8px;box-shadow:0 4px 16px #0000001a;min-width:180px;padding:4px;max-height:260px;overflow-y:auto}.more-option{display:flex;align-items:center;justify-content:space-between;width:100%;padding:8px 12px;background:none;border:none;cursor:pointer;font-size:.875rem;color:#334155;font-family:inherit;border-radius:5px;transition:background .1s;text-align:left;gap:12px}.more-option:hover{background:#f8fafc}.more-option.more-option-active{background:#f1f5f9;color:#1e293b;font-weight:500}.more-option:focus-visible{outline:2px solid #60a5fa;outline-offset:-2px}.more-option-label{flex:1}.more-option-count{display:inline-flex;align-items:center;justify-content:center;min-width:20px;height:20px;padding:0 6px;border-radius:999px;font-size:.6875rem;font-weight:700;line-height:1;background:#e2e8f0;color:#475569}.more-option-active .more-option-count{background:#1e293b;color:#fff}@media(max-width:1024px){.tab{padding:7px 12px}}@media(pointer:coarse){.tab{min-height:44px}}@media(max-width:640px){:host{align-self:flex-start;max-width:100%}.tab{padding:10px 12px;font-size:.8125rem;min-height:44px}.more-option{padding:12px 14px}}\n"],
|
|
168
|
+
changeDetection: i0.ChangeDetectionStrategy.OnPush
|
|
169
|
+
});
|
|
170
|
+
}
|
|
171
|
+
};
|
|
172
|
+
i0.ɵɵngDeclareClassMetadata({
|
|
173
|
+
minVersion: "12.0.0",
|
|
174
|
+
version: "22.2.2",
|
|
175
|
+
ngImport: i0,
|
|
176
|
+
type: QuickFilterTabsComponent,
|
|
177
|
+
decorators: [{
|
|
178
|
+
type: Component,
|
|
179
|
+
args: [{
|
|
180
|
+
selector: "ui-quick-filter-tabs",
|
|
181
|
+
standalone: true,
|
|
182
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
183
|
+
host: { "(document:click)": "onDocumentClick($event)" },
|
|
184
|
+
template: `
|
|
185
|
+
<div class="tabs-outer">
|
|
186
|
+
<div class="tabs" role="tablist" [attr.aria-label]="ariaLabel() ?? labels.t('common.filterTabs')">
|
|
187
|
+
|
|
188
|
+
<!-- All tab (always first) -->
|
|
189
|
+
@if (allTab(); as all) {
|
|
190
|
+
<button class="tab" role="tab"
|
|
191
|
+
[class.active]="activeValue() === all.value"
|
|
192
|
+
[attr.aria-selected]="activeValue() === all.value"
|
|
193
|
+
(click)="tabChange.emit(all.value)">
|
|
194
|
+
{{ all.label }}
|
|
195
|
+
@if (counts()[all.value] != null) {
|
|
196
|
+
<span class="tab-count">{{ labels.formatNumber(counts()[all.value]) }}</span>
|
|
197
|
+
}
|
|
198
|
+
</button>
|
|
199
|
+
}
|
|
200
|
+
|
|
201
|
+
<!-- Top N visible tabs -->
|
|
202
|
+
@for (tab of visibleTabs(); track tab.value) {
|
|
203
|
+
<button class="tab" role="tab"
|
|
204
|
+
[class.active]="activeValue() === tab.value"
|
|
205
|
+
[class.tab-disabled]="tab.disabled"
|
|
206
|
+
[attr.aria-selected]="activeValue() === tab.value"
|
|
207
|
+
[attr.aria-disabled]="tab.disabled || null"
|
|
208
|
+
(click)="!tab.disabled && tabChange.emit(tab.value)">
|
|
209
|
+
{{ tab.label }}
|
|
210
|
+
@if (counts()[tab.value] != null) {
|
|
211
|
+
<span class="tab-count">{{ labels.formatNumber(counts()[tab.value]) }}</span>
|
|
212
|
+
}
|
|
213
|
+
</button>
|
|
214
|
+
}
|
|
215
|
+
|
|
216
|
+
<!-- More button (inside scrollable .tabs for layout) -->
|
|
217
|
+
@if (overflowTabs().length) {
|
|
218
|
+
<!-- role="tab" (not a bare button): a tablist may only own tab children. The trigger is the tab for the
|
|
219
|
+
overflow group: aria-selected mirrors "the active tab lives in the overflow", and aria-haspopup /
|
|
220
|
+
aria-expanded describe the listbox it opens. -->
|
|
221
|
+
<button class="tab more-btn" role="tab" aria-haspopup="listbox" [class.active]="overflowActive()"
|
|
222
|
+
[attr.aria-selected]="overflowActive()"
|
|
223
|
+
[attr.aria-expanded]="dropdownOpen()"
|
|
224
|
+
(click)="toggleDropdown($event)">
|
|
225
|
+
@if (overflowActive()) {
|
|
226
|
+
{{ activeOverflowLabel() }}
|
|
227
|
+
<span class="tab-count active-count">{{ labels.formatNumber(counts()[activeValue()]) }}</span>
|
|
228
|
+
} @else {
|
|
229
|
+
{{ labels.t('common.more') }}
|
|
230
|
+
}
|
|
231
|
+
<svg width="11" height="11" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.5" aria-hidden="true">
|
|
232
|
+
<path d="M6 9l6 6 6-6"/>
|
|
233
|
+
</svg>
|
|
234
|
+
</button>
|
|
235
|
+
}
|
|
236
|
+
|
|
237
|
+
</div>
|
|
238
|
+
|
|
239
|
+
<!-- Dropdown outside .tabs so overflow-x:auto doesn't clip it -->
|
|
240
|
+
@if (overflowTabs().length && dropdownOpen()) {
|
|
241
|
+
<div class="more-dropdown" role="listbox">
|
|
242
|
+
@for (tab of overflowTabs(); track tab.value) {
|
|
243
|
+
<button class="more-option" role="option"
|
|
244
|
+
[class.more-option-active]="activeValue() === tab.value"
|
|
245
|
+
(click)="selectOverflow(tab.value)">
|
|
246
|
+
<span class="more-option-label">{{ tab.label }}</span>
|
|
247
|
+
@if (counts()[tab.value] != null) {
|
|
248
|
+
<span class="more-option-count">{{ labels.formatNumber(counts()[tab.value]) }}</span>
|
|
249
|
+
}
|
|
250
|
+
</button>
|
|
251
|
+
}
|
|
252
|
+
</div>
|
|
253
|
+
}
|
|
254
|
+
</div>
|
|
255
|
+
`,
|
|
256
|
+
styles: [":host{display:block;min-width:0}.tabs-outer{position:relative;display:inline-flex;align-items:center;max-width:100%;min-width:0}.tabs{display:flex;flex-wrap:wrap;align-items:center;gap:2px;background:#f1f5f9;border-radius:8px;padding:3px;overflow-x:auto;scrollbar-width:none;-webkit-overflow-scrolling:touch;min-width:0;max-width:100%}.tabs::-webkit-scrollbar{display:none}.tab{display:inline-flex;align-items:center;gap:6px;padding:6px 14px;border-radius:6px;border:none;background:transparent;font-size:.8125rem;font-weight:500;color:#475569;cursor:pointer;font-family:inherit;transition:background .1s,color .1s;white-space:nowrap;flex-shrink:0}.tab:hover{color:#1e293b}.tab.active{background:#fff;color:#1e293b;box-shadow:0 1px 3px #00000014}.tab:focus-visible{outline:2px solid #60a5fa;outline-offset:2px}.tab.tab-disabled{opacity:.45;cursor:default;pointer-events:none}.tab-count{display:inline-flex;align-items:center;justify-content:center;min-width:18px;height:18px;padding:0 5px;border-radius:999px;font-size:.6875rem;font-weight:700;background:#e2e8f0;color:#475569;line-height:1}.active .tab-count,.active-count{background:#1e293b;color:#fff}.more-btn{gap:4px}.more-dropdown{position:absolute;top:calc(100% + 4px);right:0;z-index:100;background:#fff;border:1px solid #e2e8f0;border-radius:8px;box-shadow:0 4px 16px #0000001a;min-width:180px;padding:4px;max-height:260px;overflow-y:auto}.more-option{display:flex;align-items:center;justify-content:space-between;width:100%;padding:8px 12px;background:none;border:none;cursor:pointer;font-size:.875rem;color:#334155;font-family:inherit;border-radius:5px;transition:background .1s;text-align:left;gap:12px}.more-option:hover{background:#f8fafc}.more-option.more-option-active{background:#f1f5f9;color:#1e293b;font-weight:500}.more-option:focus-visible{outline:2px solid #60a5fa;outline-offset:-2px}.more-option-label{flex:1}.more-option-count{display:inline-flex;align-items:center;justify-content:center;min-width:20px;height:20px;padding:0 6px;border-radius:999px;font-size:.6875rem;font-weight:700;line-height:1;background:#e2e8f0;color:#475569}.more-option-active .more-option-count{background:#1e293b;color:#fff}@media(max-width:1024px){.tab{padding:7px 12px}}@media(pointer:coarse){.tab{min-height:44px}}@media(max-width:640px){:host{align-self:flex-start;max-width:100%}.tab{padding:10px 12px;font-size:.8125rem;min-height:44px}.more-option{padding:12px 14px}}\n"]
|
|
257
|
+
}]
|
|
258
|
+
}],
|
|
259
|
+
ctorParameters: () => [],
|
|
260
|
+
propDecorators: {
|
|
261
|
+
tabs: [{
|
|
262
|
+
type: i0.Input,
|
|
263
|
+
args: [{
|
|
264
|
+
isSignal: true,
|
|
265
|
+
alias: "tabs",
|
|
266
|
+
required: true
|
|
267
|
+
}]
|
|
268
|
+
}],
|
|
269
|
+
counts: [{
|
|
270
|
+
type: i0.Input,
|
|
271
|
+
args: [{
|
|
272
|
+
isSignal: true,
|
|
273
|
+
alias: "counts",
|
|
274
|
+
required: false
|
|
275
|
+
}]
|
|
276
|
+
}],
|
|
277
|
+
activeValue: [{
|
|
278
|
+
type: i0.Input,
|
|
279
|
+
args: [{
|
|
280
|
+
isSignal: true,
|
|
281
|
+
alias: "activeValue",
|
|
282
|
+
required: false
|
|
283
|
+
}]
|
|
284
|
+
}],
|
|
285
|
+
ariaLabel: [{
|
|
286
|
+
type: i0.Input,
|
|
287
|
+
args: [{
|
|
288
|
+
isSignal: true,
|
|
289
|
+
alias: "ariaLabel",
|
|
290
|
+
required: false
|
|
291
|
+
}]
|
|
292
|
+
}],
|
|
293
|
+
tabChange: [{
|
|
294
|
+
type: i0.Output,
|
|
295
|
+
args: ["tabChange"]
|
|
296
|
+
}]
|
|
297
|
+
}
|
|
298
|
+
});
|
|
299
|
+
export { QuickFilterTabsComponent };
|
|
300
|
+
|
|
301
|
+
//# sourceMappingURL=forgeroute-ui-quick-filter-tabs.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"forgeroute-ui-quick-filter-tabs.mjs","names":[],"sources":["../../../projects/forgeroute-ui/quick-filter-tabs/src/lib/quick-filter-tabs/quick-filter-tabs.component.ts"],"sourcesContent":["import { Component, input, output, computed, signal, effect, ChangeDetectionStrategy, inject, ElementRef } from '@angular/core';\nimport { QuickFilterTab, DROPDOWN_GROUP } from '@forgeroute/ui/table-types';\nimport { UiLabelsService } from '@forgeroute/ui/core';\n\nconst MAX_VISIBLE = 3; // max non-All tabs shown before overflow\n\n@Component({\n selector: 'ui-quick-filter-tabs',\n standalone: true,\n changeDetection: ChangeDetectionStrategy.OnPush,\n host: { '(document:click)': 'onDocumentClick($event)' },\n template: `\n <div class=\"tabs-outer\">\n <div class=\"tabs\" role=\"tablist\" [attr.aria-label]=\"ariaLabel() ?? labels.t('common.filterTabs')\">\n\n <!-- All tab (always first) -->\n @if (allTab(); as all) {\n <button class=\"tab\" role=\"tab\"\n [class.active]=\"activeValue() === all.value\"\n [attr.aria-selected]=\"activeValue() === all.value\"\n (click)=\"tabChange.emit(all.value)\">\n {{ all.label }}\n @if (counts()[all.value] != null) {\n <span class=\"tab-count\">{{ labels.formatNumber(counts()[all.value]) }}</span>\n }\n </button>\n }\n\n <!-- Top N visible tabs -->\n @for (tab of visibleTabs(); track tab.value) {\n <button class=\"tab\" role=\"tab\"\n [class.active]=\"activeValue() === tab.value\"\n [class.tab-disabled]=\"tab.disabled\"\n [attr.aria-selected]=\"activeValue() === tab.value\"\n [attr.aria-disabled]=\"tab.disabled || null\"\n (click)=\"!tab.disabled && tabChange.emit(tab.value)\">\n {{ tab.label }}\n @if (counts()[tab.value] != null) {\n <span class=\"tab-count\">{{ labels.formatNumber(counts()[tab.value]) }}</span>\n }\n </button>\n }\n\n <!-- More button (inside scrollable .tabs for layout) -->\n @if (overflowTabs().length) {\n <!-- role=\"tab\" (not a bare button): a tablist may only own tab children. The trigger is the tab for the\n overflow group: aria-selected mirrors \"the active tab lives in the overflow\", and aria-haspopup /\n aria-expanded describe the listbox it opens. -->\n <button class=\"tab more-btn\" role=\"tab\" aria-haspopup=\"listbox\" [class.active]=\"overflowActive()\"\n [attr.aria-selected]=\"overflowActive()\"\n [attr.aria-expanded]=\"dropdownOpen()\"\n (click)=\"toggleDropdown($event)\">\n @if (overflowActive()) {\n {{ activeOverflowLabel() }}\n <span class=\"tab-count active-count\">{{ labels.formatNumber(counts()[activeValue()]) }}</span>\n } @else {\n {{ labels.t('common.more') }}\n }\n <svg width=\"11\" height=\"11\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2.5\" aria-hidden=\"true\">\n <path d=\"M6 9l6 6 6-6\"/>\n </svg>\n </button>\n }\n\n </div>\n\n <!-- Dropdown outside .tabs so overflow-x:auto doesn't clip it -->\n @if (overflowTabs().length && dropdownOpen()) {\n <div class=\"more-dropdown\" role=\"listbox\">\n @for (tab of overflowTabs(); track tab.value) {\n <button class=\"more-option\" role=\"option\"\n [class.more-option-active]=\"activeValue() === tab.value\"\n (click)=\"selectOverflow(tab.value)\">\n <span class=\"more-option-label\">{{ tab.label }}</span>\n @if (counts()[tab.value] != null) {\n <span class=\"more-option-count\">{{ labels.formatNumber(counts()[tab.value]) }}</span>\n }\n </button>\n }\n </div>\n }\n </div>\n `,\n styles: [`\n :host { display: block; min-width: 0; }\n .tabs-outer { position: relative; display: inline-flex; align-items: center; max-width: 100%; min-width: 0; }\n /* Wraps onto a second row when the tabs are wider than their container (a 375px phone with four tabs): every tab stays visible instead of the\n last ones sitting off-screen in a sideways scroll nobody can see. overflow-x stays as the fallback for one tab wider than the container. */\n .tabs {\n display: flex; flex-wrap: wrap; align-items: center; gap: 2px;\n background: #f1f5f9; border-radius: 8px; padding: 3px;\n overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; min-width: 0; max-width: 100%;\n &::-webkit-scrollbar { display: none; }\n }\n .tab {\n display: inline-flex; align-items: center; gap: 6px;\n padding: 6px 14px; border-radius: 6px; border: none;\n background: transparent; font-size: 0.8125rem; font-weight: 500;\n color: #475569; cursor: pointer; font-family: inherit; /* slate-600: 6.92:1 on #f1f5f9 (slate-500 was 4.34:1) */\n transition: background 0.1s, color 0.1s; white-space: nowrap;\n flex-shrink: 0;\n &:hover { color: #1e293b; }\n &.active { background: #fff; color: #1e293b; box-shadow: 0 1px 3px rgba(0,0,0,0.08); }\n &:focus-visible { outline: 2px solid #60a5fa; outline-offset: 2px; }\n &.tab-disabled { opacity: 0.45; cursor: default; pointer-events: none; }\n }\n .tab-count {\n display: inline-flex; align-items: center; justify-content: center;\n min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px;\n font-size: 0.6875rem; font-weight: 700; background: #e2e8f0; color: #475569; line-height: 1;\n .active & { background: #1e293b; color: #fff; }\n }\n .active-count { background: #1e293b; color: #fff; }\n .more-btn { gap: 4px; }\n .more-dropdown {\n position: absolute; top: calc(100% + 4px); right: 0; z-index: 100;\n background: #fff; border: 1px solid #e2e8f0; border-radius: 8px;\n box-shadow: 0 4px 16px rgba(0,0,0,0.1); min-width: 180px;\n padding: 4px; max-height: 260px; overflow-y: auto;\n }\n .more-option {\n display: flex; align-items: center; justify-content: space-between;\n width: 100%; padding: 8px 12px; background: none; border: none;\n cursor: pointer; font-size: 0.875rem; color: #334155; font-family: inherit;\n border-radius: 5px; transition: background 0.1s; text-align: left; gap: 12px;\n &:hover { background: #f8fafc; }\n &.more-option-active { background: #f1f5f9; color: #1e293b; font-weight: 500; }\n &:focus-visible { outline: 2px solid #60a5fa; outline-offset: -2px; }\n }\n .more-option-label { flex: 1; }\n .more-option-count {\n display: inline-flex; align-items: center; justify-content: center;\n min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px;\n font-size: 0.6875rem; font-weight: 700; line-height: 1;\n background: #e2e8f0; color: #475569;\n .more-option-active & { background: #1e293b; color: #fff; }\n }\n\n /* ── iPad / tablet ─── */\n @media (max-width: 1024px) {\n .tab { padding: 7px 12px; }\n }\n\n /* ── Touch (incl. iPad): 44px tap targets, desktop mouse sizes unchanged ─── */\n @media (pointer: coarse) {\n .tab { min-height: 44px; }\n }\n\n /* ── Phone ─── */\n @media (max-width: 640px) {\n /* Natural width — gray pill only wraps visible tabs, no awkward empty space */\n :host { align-self: flex-start; max-width: 100%; }\n /* Larger tap targets — 36px+ height (10+10 padding + ~13px line-height) */\n .tab { padding: 10px 12px; font-size: 0.8125rem; min-height: 44px; }\n .more-option { padding: 12px 14px; }\n }\n `],\n})\nexport class QuickFilterTabsComponent {\n protected readonly labels = inject(UiLabelsService);\n readonly tabs = input.required<QuickFilterTab[]>();\n readonly counts = input<Record<string, number>>({});\n readonly activeValue = input('');\n readonly ariaLabel = input<string | null>(null);\n\n readonly tabChange = output<string>();\n\n protected readonly dropdownOpen = signal(false);\n private readonly _el = inject(ElementRef);\n private readonly _group = inject(DROPDOWN_GROUP, { optional: true });\n private readonly _id = 'qft-' + Math.random().toString(36).slice(2);\n\n constructor() {\n const group = this._group;\n if (group) {\n effect(() => { if (group() !== this._id && this.dropdownOpen()) this.dropdownOpen.set(false); });\n }\n }\n\n protected readonly allTab = computed(() =>\n this.tabs().find(t => t.value === '') ?? null\n );\n\n /** Non-All tabs that have at least 1 record, sorted by count desc */\n private readonly sortedFilterTabs = computed(() => {\n const counts = this.counts();\n const hasCounts = Object.keys(counts).length > 0;\n return this.tabs()\n .filter(t => t.value !== '')\n // the selected tab always stays, even at 0 (a search inside it can leave it empty)\n .filter(t => !hasCounts || (counts[t.value] ?? 0) > 0 || t.value === this.activeValue())\n .sort((a, b) => hasCounts ? (counts[b.value] ?? 0) - (counts[a.value] ?? 0) : 0);\n });\n\n protected readonly visibleTabs = computed(() =>\n this.sortedFilterTabs().slice(0, MAX_VISIBLE)\n );\n\n protected readonly overflowTabs = computed(() =>\n this.sortedFilterTabs().slice(MAX_VISIBLE)\n );\n\n protected readonly overflowActive = computed(() =>\n this.overflowTabs().some(t => t.value === this.activeValue())\n );\n\n protected readonly activeOverflowLabel = computed(() =>\n this.overflowTabs().find(t => t.value === this.activeValue())?.label ?? this.labels.t('common.more')\n );\n\n toggleDropdown(_e: Event) {\n if (!this.dropdownOpen()) this._group?.set(this._id);\n this.dropdownOpen.update(v => !v);\n }\n\n selectOverflow(value: string) {\n this.tabChange.emit(value);\n this.dropdownOpen.set(false);\n }\n\n onDocumentClick(event: Event) {\n if (this.dropdownOpen() && !this._el.nativeElement.contains(event.target)) {\n this.dropdownOpen.set(false);\n }\n }\n}\n"],"mappings":";;;;AAIA,MAAM,cAAc;AA0JpB,IAAa,2BAAb,MAAa,yBAAwB;CAcnC,cAAA;EAbmB,KAAA,SAAS,OAAO,eAAe;EACzC,KAAA,OAAc,MAAM,SAA4B,GAAA,YAAA,CAAA,EAAA,WAAA,OAAA,CAAA,+BAAA,CAAA,CAAA;EAChD,KAAA,SAAc,MAA8B,CAAA,GAAG,GAAA,YAAA,CAAA,EAAA,WAAA,SAAA,CAAA,+BAAA,CAAA,CAAA;EAC/C,KAAA,cAAc,MAAM,IAAG,GAAA,YAAA,CAAA,EAAA,WAAA,cAAA,CAAA,+BAAA,CAAA,CAAA;EACvB,KAAA,YAAc,MAAqB,MAAK,GAAA,YAAA,CAAA,EAAA,WAAA,YAAA,CAAA,+BAAA,CAAA,CAAA;EAExC,KAAA,YAAY,OAAM;EAER,KAAA,eAAe,OAAO,OAAM,GA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