@forgeroute/ui 0.5.15 → 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 +20 -3
- 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 +17 -3
- 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 +16 -3
- 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 +11 -6
- 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 +6 -3
- 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 +5 -3
- 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 +4 -2
- 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,273 @@
|
|
|
1
|
+
import { UiLabelsService } from "@forgeroute/ui/core";
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
/** One step of a `ui-stepper`. `key` must be unique within the list. */
|
|
4
|
+
export interface StepperStep {
|
|
5
|
+
key: string;
|
|
6
|
+
label: string;
|
|
7
|
+
/** Small grey text under the label. */
|
|
8
|
+
description?: string;
|
|
9
|
+
/** Shows "(optional)" after the label and announces "optional". */
|
|
10
|
+
optional?: boolean;
|
|
11
|
+
/** Never selectable and announced "disabled". Does not change the step's state (complete / current / upcoming). */
|
|
12
|
+
disabled?: boolean;
|
|
13
|
+
/** `true` or a message marks the step as failed ("!" indicator, red). A message string is shown under the label and announced. */
|
|
14
|
+
error?: boolean | string;
|
|
15
|
+
/**
|
|
16
|
+
* Overrides the state derived from the step's position. `true` = complete (check mark, selectable with `linear`) even
|
|
17
|
+
* when the step comes after `current`; `false` = upcoming even when it comes before `current`. Omit to derive it from
|
|
18
|
+
* the order. The current step always stays current. Use it when the user can jump back and keep the progress made:
|
|
19
|
+
* mark every step the user has already completed `complete: true`.
|
|
20
|
+
*/
|
|
21
|
+
complete?: boolean;
|
|
22
|
+
/**
|
|
23
|
+
* `false` = never a button, even when the step is complete and the stepper is `clickable`: it is plain text and keeps its normal look
|
|
24
|
+
* (no dimming, not announced "disabled"). Use it for a step the user has finished but may not jump back or forward to. Omitted / `true`
|
|
25
|
+
* = the normal rule (a complete step is a button when `clickable`). It cannot make an upcoming step selectable; use `linear`.
|
|
26
|
+
*/
|
|
27
|
+
selectable?: boolean;
|
|
28
|
+
}
|
|
29
|
+
export type StepperOrientation = 'horizontal' | 'vertical';
|
|
30
|
+
/** Viewport width below which a `compact` stepper shows its summary: 'sm' (480px) | 'md' (768px) | 'lg' (1024px) or a pixel number. */
|
|
31
|
+
export type StepperCompactBreakpoint = 'sm' | 'md' | 'lg' | number;
|
|
32
|
+
/**
|
|
33
|
+
* Step indicator for wizards, onboarding flows and progress timelines. The state of every step comes from the order of
|
|
34
|
+
* `steps` and the key in `current`: steps before it are complete, it is current, steps after it are upcoming.
|
|
35
|
+
*
|
|
36
|
+
* <!-- Wizard header: completed steps are buttons, so the user can go back (never skip ahead) -->
|
|
37
|
+
* <ui-stepper [steps]="steps" [clickable]="true" [(current)]="step" />
|
|
38
|
+
*
|
|
39
|
+
* <!-- Read-only progress indicator (steps are plain text; the host moves `current`) -->
|
|
40
|
+
* <ui-stepper ariaLabel="Porting steps" size="sm" [steps]="steps" [current]="step()" />
|
|
41
|
+
*
|
|
42
|
+
* <!-- Vertical timeline with descriptions; free navigation to any enabled step -->
|
|
43
|
+
* <ui-stepper orientation="vertical" [steps]="steps" [clickable]="true" [linear]="false" [(current)]="step" />
|
|
44
|
+
*
|
|
45
|
+
* <!-- Error state: `error: true` or a message on a step -->
|
|
46
|
+
* steps = [{ key: 'info', label: 'Info' }, { key: 'pay', label: 'Payment', error: 'Card was declined' }, ...]
|
|
47
|
+
*
|
|
48
|
+
* `current` is two-way (`[(current)]`). An empty or unknown key means there is no current step: every step is upcoming
|
|
49
|
+
* unless it sets `complete: true`. `error` changes the indicator, not the state or `aria-current`.
|
|
50
|
+
*
|
|
51
|
+
* Per-step state: a step's `complete` flag overrides the position-derived state (see `StepperStep.complete`), so a wizard
|
|
52
|
+
* that lets the user go back can keep the steps already done marked complete:
|
|
53
|
+
*
|
|
54
|
+
* steps = all.map((s, i) => ({ ...s, complete: i <= furthestReached }))
|
|
55
|
+
*
|
|
56
|
+
* A step with `selectable: false` is never a button (finished, but not a place to go back to) and looks normal; `disabled` is for a step
|
|
57
|
+
* that is switched off (dimmed, announced "disabled").
|
|
58
|
+
*
|
|
59
|
+
* Interaction (`clickable`): a selectable step is a native `<button>` (Tab / Enter / Space, visible focus ring). With
|
|
60
|
+
* `linear` (default) only complete steps are selectable, so the user can go back but not skip ahead; with
|
|
61
|
+
* `[linear]="false"` every non-disabled step is. The current step is never a button (you are already there): it is
|
|
62
|
+
* plain text with `aria-current="step"`. Activating a selectable step sets `current` (so `[(current)]` follows) and
|
|
63
|
+
* emits `stepClick` with its key; an unselectable step does nothing. Without `clickable` there are no buttons or tab
|
|
64
|
+
* stops at all.
|
|
65
|
+
*
|
|
66
|
+
* Accessibility: an ordered list named by `ariaLabel`; the current step has `aria-current="step"`. Each step's name is
|
|
67
|
+
* "<label>, step N of M, completed | current step | not started" (+ ", optional", ", error: <message>", ", disabled"),
|
|
68
|
+
* built from visually hidden text so it is announced in the list even when the step is not a button. Indicators and
|
|
69
|
+
* connectors are decorative. A description is referenced with `aria-describedby`.
|
|
70
|
+
*
|
|
71
|
+
* Theming: `accentColor` / `completeColor` (any CSS colour) recolour the current step, the complete steps and the filled
|
|
72
|
+
* connectors; leave them out for the library blue. Or set `--ui-accent` (and `--ui-accent-soft`) once in the app.
|
|
73
|
+
*
|
|
74
|
+
* Layout: `orientation` horizontal (row with connector lines that fill as steps complete) or vertical (column, connector
|
|
75
|
+
* on the left). Long labels wrap. At <= 480px a horizontal stepper with `labelsOnSmallScreens="current"` (default) shows
|
|
76
|
+
* only the current step's label (the others stay in the accessible name); `"all"` keeps them. Touch devices and phones
|
|
77
|
+
* get >= 44px tall step buttons. The connector transition honours `prefers-reduced-motion`.
|
|
78
|
+
*
|
|
79
|
+
* Wide / responsive headers (all optional, default off, nothing changes without them):
|
|
80
|
+
* - `scrollable`: the step list sits in an `overflow-x: auto` region with 4px top / bottom padding so focus rings are not clipped.
|
|
81
|
+
* - `minStepWidth` (CSS length, e.g. `10.5rem`): horizontal only; the list gets `min-width: calc(<step count> * <minStepWidth>)`, so with
|
|
82
|
+
* `scrollable` it scrolls sideways instead of breaking labels mid-word. The page-level `max-width` / centring stays the host's job.
|
|
83
|
+
* - `<img stepper-leading>` (any element with the `stepper-leading` attribute) + `leadingWidth` (CSS length): a logo shown at the start of a
|
|
84
|
+
* horizontal stepper, vertically centred and absolutely positioned, so the steps stay centred; the steps start at `leadingWidth + 1rem`.
|
|
85
|
+
* Hidden in the compact summary and in vertical orientation.
|
|
86
|
+
* - `compact` (`'sm' | 'md' | 'lg'` or a pixel number; default null = never): below that viewport width (a width exactly at it is NOT below)
|
|
87
|
+
* the list is hidden (`display: none`, so it leaves the accessibility tree) and a summary is shown instead: the current step's label
|
|
88
|
+
* (semibold, large, in `accentColor` when set) with "n / m" at the right, and a `ui-progress-bar` (`aria-label` "Step n of m: <label>").
|
|
89
|
+
* At / above the breakpoint the summary is hidden. Without a current step the summary reads "0 / m".
|
|
90
|
+
* `counterText` `(n, total) => string` words the "n / m" counter ("Step 2 of 5"); the same text names the progress bar ("Step 2 of 5: <label>").
|
|
91
|
+
*
|
|
92
|
+
* <ui-stepper [steps]="steps" [current]="key" [scrollable]="true" minStepWidth="10.5rem" leadingWidth="7.5rem" compact="md" accentColor="#f97316">
|
|
93
|
+
* <img stepper-leading src="logo.svg" alt="Acme" />
|
|
94
|
+
* </ui-stepper>
|
|
95
|
+
*/
|
|
96
|
+
export declare class StepperComponent {
|
|
97
|
+
protected readonly labels: UiLabelsService;
|
|
98
|
+
/** The steps in order. Keys must be unique. */
|
|
99
|
+
readonly steps: import("@angular/core").InputSignal<StepperStep[]>;
|
|
100
|
+
/** Key of the current step. Two-way: `[(current)]`. Empty / unknown = no current step (all upcoming). */
|
|
101
|
+
readonly current: import("@angular/core").ModelSignal<string>;
|
|
102
|
+
readonly orientation: import("@angular/core").InputSignal<StepperOrientation>;
|
|
103
|
+
/** `true`: selectable steps are buttons. `false` (default): purely indicative. */
|
|
104
|
+
readonly clickable: import("@angular/core").InputSignal<boolean>;
|
|
105
|
+
/** With `clickable`: `true` (default) = only complete steps and the current step are selectable; `false` = any enabled step. */
|
|
106
|
+
readonly linear: import("@angular/core").InputSignal<boolean>;
|
|
107
|
+
readonly size: import("@angular/core").InputSignal<"sm" | "md">;
|
|
108
|
+
/** Accent colour (any CSS colour) of the current step and, unless `completeColor` is set, of complete steps and the filled connectors. Empty = the library blue (or `--ui-accent`). */
|
|
109
|
+
readonly accentColor: import("@angular/core").InputSignal<string>;
|
|
110
|
+
/** Colour (any CSS colour) of complete steps and the filled connectors, when it should differ from the current step's accent (e.g. green checks, orange current step). */
|
|
111
|
+
readonly completeColor: import("@angular/core").InputSignal<string>;
|
|
112
|
+
/** true = the current step's label is drawn in the accent colour as well as its indicator. Default false: the label keeps the dark text colour. */
|
|
113
|
+
readonly accentLabels: import("@angular/core").InputSignal<boolean>;
|
|
114
|
+
/** Accessible name of the list. */
|
|
115
|
+
readonly ariaLabelInput: import("@angular/core").InputSignal<string | null>;
|
|
116
|
+
readonly ariaLabel: import("@angular/core").Signal<string>;
|
|
117
|
+
/** Horizontal, <= 480px: show only the current step's label (`'current'`, default) or every label (`'all'`). */
|
|
118
|
+
readonly labelsOnSmallScreens: import("@angular/core").InputSignal<"current" | "all">;
|
|
119
|
+
/**
|
|
120
|
+
* Horizontal only. `'beside'` (default): the label sits to the right of its circle. `'below'`: equal-width columns, the label centred under
|
|
121
|
+
* its circle, one continuous line behind the circles that fills as steps complete; a complete step shows a check, the current step an
|
|
122
|
+
* accent ring with a dot, an upcoming step an empty circle (no numbers). Circles are 40px (32px with `size="sm"`).
|
|
123
|
+
*/
|
|
124
|
+
readonly labelPosition: import("@angular/core").InputSignal<"beside" | "below">;
|
|
125
|
+
/** Viewport width in px below which a horizontal stepper is drawn vertical (labels beside the circles), e.g. `640`. null (default) = never. */
|
|
126
|
+
readonly stackBelow: import("@angular/core").InputSignal<number | null>;
|
|
127
|
+
/** CSS length (e.g. `10.5rem`): horizontal only - the list gets `min-width: calc(<step count> * <value>)`. Empty (default) = no minimum. */
|
|
128
|
+
readonly minStepWidth: import("@angular/core").InputSignal<string>;
|
|
129
|
+
/** true = the list scrolls sideways (`overflow-x: auto`, 4px top / bottom padding so focus rings are not clipped) instead of squeezing. Default false. */
|
|
130
|
+
readonly scrollable: import("@angular/core").InputSignal<boolean>;
|
|
131
|
+
/** CSS length: width reserved for the `[stepper-leading]` element (a logo); the steps start at this width + 1rem. Empty = no leading area. */
|
|
132
|
+
readonly leadingWidth: import("@angular/core").InputSignal<string>;
|
|
133
|
+
/**
|
|
134
|
+
* Words the "n / m" counter of the compact summary: `(n, total) => 'Step 2 of 5'`. The text is also what the summary's progress bar is named with
|
|
135
|
+
* ("Step 2 of 5: <label>"), so what is seen and announced agree; an empty text leaves the counter empty and the bar's default name. Default null = "n / m".
|
|
136
|
+
*/
|
|
137
|
+
readonly counterText: import("@angular/core").InputSignal<((n: number, total: number) => string) | null>;
|
|
138
|
+
/** Below this viewport width ('sm' 480 | 'md' 768 | 'lg' 1024 | pixels) the list is replaced by a summary (label, "n / m", progress bar). null (default) = never. */
|
|
139
|
+
readonly compact: import("@angular/core").InputSignal<StepperCompactBreakpoint | null>;
|
|
140
|
+
/** Emits the key of an activated selectable step that was not already current (after `current` was updated). */
|
|
141
|
+
readonly stepClick: import("@angular/core").OutputEmitterRef<string>;
|
|
142
|
+
private readonly _win;
|
|
143
|
+
private readonly _narrow;
|
|
144
|
+
private readonly _stacked;
|
|
145
|
+
/** The orientation actually drawn: `orientation`, or vertical while the viewport is below `stackBelow`. */
|
|
146
|
+
protected readonly orient: import("@angular/core").Signal<StepperOrientation>;
|
|
147
|
+
/** True when `compact` is a pixel number and the viewport is below it (tokens use CSS media queries instead). */
|
|
148
|
+
protected readonly compactPx: import("@angular/core").Signal<boolean>;
|
|
149
|
+
private readonly _id;
|
|
150
|
+
constructor();
|
|
151
|
+
protected readonly olMinWidth: import("@angular/core").Signal<string | null>;
|
|
152
|
+
/** The host's counter text, or null (none given, or it threw): the default "n / m" and its announcement apply. An empty text is kept (an empty counter). */
|
|
153
|
+
private counterTextFn;
|
|
154
|
+
protected readonly summary: import("@angular/core").Signal<{
|
|
155
|
+
n: number;
|
|
156
|
+
m: number;
|
|
157
|
+
label: string;
|
|
158
|
+
count: string;
|
|
159
|
+
aria: string;
|
|
160
|
+
}>;
|
|
161
|
+
protected readonly rows: import("@angular/core").Signal<{
|
|
162
|
+
step: StepperStep;
|
|
163
|
+
index: number;
|
|
164
|
+
state: "current" | "complete" | "upcoming";
|
|
165
|
+
error: boolean;
|
|
166
|
+
errorMessage: string;
|
|
167
|
+
selectable: boolean;
|
|
168
|
+
srText: string;
|
|
169
|
+
last: boolean;
|
|
170
|
+
descId: string;
|
|
171
|
+
}[]>;
|
|
172
|
+
protected activate(r: {
|
|
173
|
+
step: StepperStep;
|
|
174
|
+
selectable: boolean;
|
|
175
|
+
state: string;
|
|
176
|
+
}): void;
|
|
177
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<StepperComponent, never>;
|
|
178
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<StepperComponent, "ui-stepper", never, {
|
|
179
|
+
"steps": {
|
|
180
|
+
"alias": "steps";
|
|
181
|
+
"required": true;
|
|
182
|
+
"isSignal": true;
|
|
183
|
+
};
|
|
184
|
+
"current": {
|
|
185
|
+
"alias": "current";
|
|
186
|
+
"required": false;
|
|
187
|
+
"isSignal": true;
|
|
188
|
+
};
|
|
189
|
+
"orientation": {
|
|
190
|
+
"alias": "orientation";
|
|
191
|
+
"required": false;
|
|
192
|
+
"isSignal": true;
|
|
193
|
+
};
|
|
194
|
+
"clickable": {
|
|
195
|
+
"alias": "clickable";
|
|
196
|
+
"required": false;
|
|
197
|
+
"isSignal": true;
|
|
198
|
+
};
|
|
199
|
+
"linear": {
|
|
200
|
+
"alias": "linear";
|
|
201
|
+
"required": false;
|
|
202
|
+
"isSignal": true;
|
|
203
|
+
};
|
|
204
|
+
"size": {
|
|
205
|
+
"alias": "size";
|
|
206
|
+
"required": false;
|
|
207
|
+
"isSignal": true;
|
|
208
|
+
};
|
|
209
|
+
"accentColor": {
|
|
210
|
+
"alias": "accentColor";
|
|
211
|
+
"required": false;
|
|
212
|
+
"isSignal": true;
|
|
213
|
+
};
|
|
214
|
+
"completeColor": {
|
|
215
|
+
"alias": "completeColor";
|
|
216
|
+
"required": false;
|
|
217
|
+
"isSignal": true;
|
|
218
|
+
};
|
|
219
|
+
"accentLabels": {
|
|
220
|
+
"alias": "accentLabels";
|
|
221
|
+
"required": false;
|
|
222
|
+
"isSignal": true;
|
|
223
|
+
};
|
|
224
|
+
"ariaLabelInput": {
|
|
225
|
+
"alias": "ariaLabel";
|
|
226
|
+
"required": false;
|
|
227
|
+
"isSignal": true;
|
|
228
|
+
};
|
|
229
|
+
"labelsOnSmallScreens": {
|
|
230
|
+
"alias": "labelsOnSmallScreens";
|
|
231
|
+
"required": false;
|
|
232
|
+
"isSignal": true;
|
|
233
|
+
};
|
|
234
|
+
"labelPosition": {
|
|
235
|
+
"alias": "labelPosition";
|
|
236
|
+
"required": false;
|
|
237
|
+
"isSignal": true;
|
|
238
|
+
};
|
|
239
|
+
"stackBelow": {
|
|
240
|
+
"alias": "stackBelow";
|
|
241
|
+
"required": false;
|
|
242
|
+
"isSignal": true;
|
|
243
|
+
};
|
|
244
|
+
"minStepWidth": {
|
|
245
|
+
"alias": "minStepWidth";
|
|
246
|
+
"required": false;
|
|
247
|
+
"isSignal": true;
|
|
248
|
+
};
|
|
249
|
+
"scrollable": {
|
|
250
|
+
"alias": "scrollable";
|
|
251
|
+
"required": false;
|
|
252
|
+
"isSignal": true;
|
|
253
|
+
};
|
|
254
|
+
"leadingWidth": {
|
|
255
|
+
"alias": "leadingWidth";
|
|
256
|
+
"required": false;
|
|
257
|
+
"isSignal": true;
|
|
258
|
+
};
|
|
259
|
+
"counterText": {
|
|
260
|
+
"alias": "counterText";
|
|
261
|
+
"required": false;
|
|
262
|
+
"isSignal": true;
|
|
263
|
+
};
|
|
264
|
+
"compact": {
|
|
265
|
+
"alias": "compact";
|
|
266
|
+
"required": false;
|
|
267
|
+
"isSignal": true;
|
|
268
|
+
};
|
|
269
|
+
}, {
|
|
270
|
+
"current": "currentChange";
|
|
271
|
+
"stepClick": "stepClick";
|
|
272
|
+
}, never, ["[stepper-leading]"], true, never>;
|
|
273
|
+
}
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
2
|
import { DestroyRef, InjectionToken, Provider, TemplateRef, WritableSignal } from "@angular/core";
|
|
3
|
-
import {
|
|
3
|
+
import { isDarkPage } from "@forgeroute/ui/utils";
|
|
4
|
+
import { CheckPaymentStatusFn, HostResult, PaymentAllocation, PaymentAttempt, PaymentAttemptControls, PaymentAttemptOutcome, PaymentMethodBodyContext, PaymentMethodPlugin, PaymentPluginMethod, PaymentReadiness, PaymentReadinessResult, ReadinessCheckFn } from "@forgeroute/ui/payments";
|
|
5
|
+
import { UiLabelsService } from "@forgeroute/ui/core";
|
|
4
6
|
import { Observable } from "rxjs";
|
|
5
7
|
/**
|
|
6
8
|
* The small part of Stripe.js the library calls, written as plain structural types so the library has NO compile-time or run-time
|
|
@@ -1740,7 +1742,7 @@ export declare class StripeConnectComponent {
|
|
|
1740
1742
|
readonly navigateTab: import("@angular/core").InputSignal<((url: string) => void) | null>;
|
|
1741
1743
|
protected readonly visible: import("@angular/core").Signal<boolean>;
|
|
1742
1744
|
/** Which screen the card shows. */
|
|
1743
|
-
protected readonly state: import("@angular/core").Signal<"
|
|
1745
|
+
protected readonly state: import("@angular/core").Signal<"complete" | "verifying" | "incomplete" | "none">;
|
|
1744
1746
|
/** What the persistent status region says: the current state, plus "Loading." while a request runs. Empty while nothing is shown. */
|
|
1745
1747
|
protected readonly liveText: import("@angular/core").Signal<string>;
|
|
1746
1748
|
/** The user pressed a button that started a request: when the screen then changes, focus moves to the new screen (the pressed button is gone). */
|
|
@@ -0,0 +1,118 @@
|
|
|
1
|
+
import { AbstractControl, ControlValueAccessor, ValidationErrors, Validator } from "@angular/forms";
|
|
2
|
+
import { UiFieldValidity } from "@forgeroute/ui/core";
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export interface SwatchOption {
|
|
5
|
+
value: string;
|
|
6
|
+
/** Accessible name and tooltip of the swatch (e.g. "Ocean blue"). */
|
|
7
|
+
label: string;
|
|
8
|
+
/** Any CSS colour (`#2563eb`, `rgb(...)`, `var(--x)`). */
|
|
9
|
+
color: string;
|
|
10
|
+
disabled?: boolean;
|
|
11
|
+
/** `data-testid` of this option's native radio input; none when omitted. */
|
|
12
|
+
testId?: string;
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* (library source 2026-11-05, not yet published) Colour swatch picker: a `<fieldset role="radiogroup">` of native radio inputs
|
|
16
|
+
* (arrow keys move + select natively, Home / End jump to the first / last enabled swatch), ControlValueAccessor with a string value
|
|
17
|
+
* (`''` = nothing selected). The selected swatch shows a check mark and a ring (never colour alone); every swatch is named by its `label`
|
|
18
|
+
* (accessible name + `title` tooltip). Built-in validation like `ui-radio-group`: `required` -> "<label> is required."; a value that is not one
|
|
19
|
+
* of the `options` -> "Select a valid option." (not checked while `options` is empty); a disabled picker is never invalid.
|
|
20
|
+
* `disabled` combines with the forms API (`setDisabledState`). 44px touch targets on touch devices and phones; the swatches wrap.
|
|
21
|
+
*/
|
|
22
|
+
export declare class SwatchPickerComponent implements ControlValueAccessor, Validator, UiFieldValidity {
|
|
23
|
+
private readonly _el;
|
|
24
|
+
readonly label: import("@angular/core").InputSignal<string>;
|
|
25
|
+
readonly options: import("@angular/core").InputSignal<SwatchOption[]>;
|
|
26
|
+
readonly required: import("@angular/core").InputSignal<boolean>;
|
|
27
|
+
readonly hint: import("@angular/core").InputSignal<string>;
|
|
28
|
+
readonly error: import("@angular/core").InputSignal<string>;
|
|
29
|
+
/** The host's "tried to submit" flag (e.g. after a failed Save click). `true` reveals the message of an untouched field at once (the field also shows it after the user left THIS field); switching it from true back to false forgets that the field was left. */
|
|
30
|
+
readonly showErrors: import("@angular/core").InputSignal<boolean>;
|
|
31
|
+
/** Fixed number of swatches per row (0 = wrap freely, the default). On a phone the row wraps by width instead. */
|
|
32
|
+
readonly columns: import("@angular/core").InputSignal<number>;
|
|
33
|
+
/** Native `name` shared by the radios; a unique one is generated when omitted. */
|
|
34
|
+
readonly name: import("@angular/core").InputSignal<string>;
|
|
35
|
+
readonly _disabledInput: import("@angular/core").InputSignal<boolean>;
|
|
36
|
+
private readonly _cvaDisabled;
|
|
37
|
+
protected readonly disabled: import("@angular/core").Signal<boolean>;
|
|
38
|
+
private readonly _generatedName;
|
|
39
|
+
protected get _name(): string;
|
|
40
|
+
protected readonly _descId: string;
|
|
41
|
+
protected readonly _value: import("@angular/core").WritableSignal<string>;
|
|
42
|
+
private readonly _reveal;
|
|
43
|
+
private readonly _issue;
|
|
44
|
+
readonly invalid: import("@angular/core").Signal<boolean>;
|
|
45
|
+
readonly errorMessage: import("@angular/core").Signal<string>;
|
|
46
|
+
readonly invalidChange: import("@angular/core").OutputEmitterRef<boolean>;
|
|
47
|
+
/** Emits the chosen value on a user pick. */
|
|
48
|
+
readonly valueChange: import("@angular/core").OutputEmitterRef<string>;
|
|
49
|
+
protected readonly _activeError: import("@angular/core").Signal<string>;
|
|
50
|
+
private _onValidatorChange;
|
|
51
|
+
constructor();
|
|
52
|
+
ngOnChanges(): void;
|
|
53
|
+
validate(control: AbstractControl): ValidationErrors | null;
|
|
54
|
+
registerOnValidatorChange(fn: () => void): void;
|
|
55
|
+
private _onChange;
|
|
56
|
+
private _onTouched;
|
|
57
|
+
writeValue(val: string): void;
|
|
58
|
+
registerOnChange(fn: (v: string) => void): void;
|
|
59
|
+
registerOnTouched(fn: () => void): void;
|
|
60
|
+
setDisabledState(d: boolean): void;
|
|
61
|
+
protected onSelect(value: string): void;
|
|
62
|
+
/** Home / End select the first / last enabled swatch (arrow keys are native radio behaviour). */
|
|
63
|
+
protected onKeydown(e: KeyboardEvent): void;
|
|
64
|
+
/** Touched once focus leaves the whole group. */
|
|
65
|
+
protected onFocusOut(event: FocusEvent): void;
|
|
66
|
+
private _check;
|
|
67
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SwatchPickerComponent, never>;
|
|
68
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SwatchPickerComponent, "ui-swatch-picker", never, {
|
|
69
|
+
"label": {
|
|
70
|
+
"alias": "label";
|
|
71
|
+
"required": false;
|
|
72
|
+
"isSignal": true;
|
|
73
|
+
};
|
|
74
|
+
"options": {
|
|
75
|
+
"alias": "options";
|
|
76
|
+
"required": false;
|
|
77
|
+
"isSignal": true;
|
|
78
|
+
};
|
|
79
|
+
"required": {
|
|
80
|
+
"alias": "required";
|
|
81
|
+
"required": false;
|
|
82
|
+
"isSignal": true;
|
|
83
|
+
};
|
|
84
|
+
"hint": {
|
|
85
|
+
"alias": "hint";
|
|
86
|
+
"required": false;
|
|
87
|
+
"isSignal": true;
|
|
88
|
+
};
|
|
89
|
+
"error": {
|
|
90
|
+
"alias": "error";
|
|
91
|
+
"required": false;
|
|
92
|
+
"isSignal": true;
|
|
93
|
+
};
|
|
94
|
+
"showErrors": {
|
|
95
|
+
"alias": "showErrors";
|
|
96
|
+
"required": false;
|
|
97
|
+
"isSignal": true;
|
|
98
|
+
};
|
|
99
|
+
"columns": {
|
|
100
|
+
"alias": "columns";
|
|
101
|
+
"required": false;
|
|
102
|
+
"isSignal": true;
|
|
103
|
+
};
|
|
104
|
+
"name": {
|
|
105
|
+
"alias": "name";
|
|
106
|
+
"required": false;
|
|
107
|
+
"isSignal": true;
|
|
108
|
+
};
|
|
109
|
+
"_disabledInput": {
|
|
110
|
+
"alias": "disabled";
|
|
111
|
+
"required": false;
|
|
112
|
+
"isSignal": true;
|
|
113
|
+
};
|
|
114
|
+
}, {
|
|
115
|
+
"invalidChange": "invalidChange";
|
|
116
|
+
"valueChange": "valueChange";
|
|
117
|
+
}, never, never, true, never>;
|
|
118
|
+
}
|
|
@@ -0,0 +1,116 @@
|
|
|
1
|
+
import { ColumnDef, SavedView, ToolbarAction } from "@forgeroute/ui/table-types";
|
|
2
|
+
import { UiLabelsService } from "@forgeroute/ui/core";
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class TableToolbarComponent {
|
|
5
|
+
protected readonly labels: UiLabelsService;
|
|
6
|
+
readonly columns: import("@angular/core").InputSignal<ColumnDef[]>;
|
|
7
|
+
readonly visibleColumns: import("@angular/core").InputSignal<string[]>;
|
|
8
|
+
readonly lockedColumn: import("@angular/core").InputSignal<string>;
|
|
9
|
+
readonly savedViews: import("@angular/core").InputSignal<SavedView[]>;
|
|
10
|
+
readonly activeViewId: import("@angular/core").InputSignal<string | null>;
|
|
11
|
+
readonly showSavedViews: import("@angular/core").InputSignal<boolean>;
|
|
12
|
+
/**
|
|
13
|
+
* Read-only (permission isn't 'full'): only Export and pure reads marked `allowReadOnly` stay — no other page buttons, no Import, no Columns, no
|
|
14
|
+
* Save Current View, no deleting views. More Actions offers only the user's existing Saved Views and is
|
|
15
|
+
* hidden when they have none.
|
|
16
|
+
*/
|
|
17
|
+
readonly readOnly: import("@angular/core").InputSignal<boolean>;
|
|
18
|
+
/** Hides the More Actions dropdown (the table sets it while it is empty and unfiltered, leaving only the primary buttons). */
|
|
19
|
+
readonly hideMoreActions: import("@angular/core").InputSignal<boolean>;
|
|
20
|
+
readonly tableButtons: import("@angular/core").InputSignal<ToolbarAction[]>;
|
|
21
|
+
readonly visibleColumnsChange: import("@angular/core").OutputEmitterRef<string[]>;
|
|
22
|
+
readonly saveViewClick: import("@angular/core").OutputEmitterRef<string>;
|
|
23
|
+
readonly loadViewClick: import("@angular/core").OutputEmitterRef<SavedView>;
|
|
24
|
+
readonly deleteViewClick: import("@angular/core").OutputEmitterRef<string>;
|
|
25
|
+
readonly tableButtonClick: import("@angular/core").OutputEmitterRef<string>;
|
|
26
|
+
protected readonly colModalOpen: import("@angular/core").WritableSignal<boolean>;
|
|
27
|
+
protected readonly viewModalOpen: import("@angular/core").WritableSignal<boolean>;
|
|
28
|
+
protected readonly moreOpen: import("@angular/core").WritableSignal<boolean>;
|
|
29
|
+
protected readonly saveNameModalOpen: import("@angular/core").WritableSignal<boolean>;
|
|
30
|
+
protected _saveViewName: string;
|
|
31
|
+
/** Draft column visibility — only applied to the table when the user clicks Apply. */
|
|
32
|
+
private readonly _pendingCols;
|
|
33
|
+
/** Buttons this user may see — read-only users only get Export and pure reads marked `allowReadOnly` (page actions and Import are hidden). */
|
|
34
|
+
private readonly _allowedButtons;
|
|
35
|
+
protected readonly standaloneButtons: import("@angular/core").Signal<ToolbarAction[]>;
|
|
36
|
+
protected readonly importButton: import("@angular/core").Signal<ToolbarAction | null>;
|
|
37
|
+
protected readonly exportDropdownButton: import("@angular/core").Signal<ToolbarAction | null>;
|
|
38
|
+
protected readonly additionalDropdownButtons: import("@angular/core").Signal<ToolbarAction[]>;
|
|
39
|
+
/** Saved Views entry: always for full users; for read-only users only when they already have views. */
|
|
40
|
+
protected readonly showSavedViewsItem: import("@angular/core").Signal<boolean>;
|
|
41
|
+
/** True when More Actions would contain at least one item. */
|
|
42
|
+
protected readonly hasMoreItems: import("@angular/core").Signal<boolean>;
|
|
43
|
+
protected readonly configurableColumns: import("@angular/core").Signal<ColumnDef[]>;
|
|
44
|
+
protected readonly hiddenCount: import("@angular/core").Signal<number>;
|
|
45
|
+
protected readonly activeViewName: import("@angular/core").Signal<string>;
|
|
46
|
+
protected readonly sortedViews: import("@angular/core").Signal<SavedView[]>;
|
|
47
|
+
protected isVisible(key: string): boolean;
|
|
48
|
+
protected toggleColumn(key: string): void;
|
|
49
|
+
protected applyColumns(): void;
|
|
50
|
+
protected closeColModal(): void;
|
|
51
|
+
protected loadView(view: SavedView): void;
|
|
52
|
+
protected deleteView(id: string): void;
|
|
53
|
+
protected saveView(): void;
|
|
54
|
+
protected confirmSaveName(): void;
|
|
55
|
+
protected closeSaveNameModal(): void;
|
|
56
|
+
protected openColModal(event: Event): void;
|
|
57
|
+
protected openViewModal(event: Event): void;
|
|
58
|
+
protected emitAction(type: string, event: Event): void;
|
|
59
|
+
protected toggleMore(event: Event): void;
|
|
60
|
+
protected onDocumentClick(): void;
|
|
61
|
+
protected onEscape(): void;
|
|
62
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TableToolbarComponent, never>;
|
|
63
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TableToolbarComponent, "ui-table-toolbar", never, {
|
|
64
|
+
"columns": {
|
|
65
|
+
"alias": "columns";
|
|
66
|
+
"required": true;
|
|
67
|
+
"isSignal": true;
|
|
68
|
+
};
|
|
69
|
+
"visibleColumns": {
|
|
70
|
+
"alias": "visibleColumns";
|
|
71
|
+
"required": true;
|
|
72
|
+
"isSignal": true;
|
|
73
|
+
};
|
|
74
|
+
"lockedColumn": {
|
|
75
|
+
"alias": "lockedColumn";
|
|
76
|
+
"required": false;
|
|
77
|
+
"isSignal": true;
|
|
78
|
+
};
|
|
79
|
+
"savedViews": {
|
|
80
|
+
"alias": "savedViews";
|
|
81
|
+
"required": false;
|
|
82
|
+
"isSignal": true;
|
|
83
|
+
};
|
|
84
|
+
"activeViewId": {
|
|
85
|
+
"alias": "activeViewId";
|
|
86
|
+
"required": false;
|
|
87
|
+
"isSignal": true;
|
|
88
|
+
};
|
|
89
|
+
"showSavedViews": {
|
|
90
|
+
"alias": "showSavedViews";
|
|
91
|
+
"required": false;
|
|
92
|
+
"isSignal": true;
|
|
93
|
+
};
|
|
94
|
+
"readOnly": {
|
|
95
|
+
"alias": "readOnly";
|
|
96
|
+
"required": false;
|
|
97
|
+
"isSignal": true;
|
|
98
|
+
};
|
|
99
|
+
"hideMoreActions": {
|
|
100
|
+
"alias": "hideMoreActions";
|
|
101
|
+
"required": false;
|
|
102
|
+
"isSignal": true;
|
|
103
|
+
};
|
|
104
|
+
"tableButtons": {
|
|
105
|
+
"alias": "tableButtons";
|
|
106
|
+
"required": false;
|
|
107
|
+
"isSignal": true;
|
|
108
|
+
};
|
|
109
|
+
}, {
|
|
110
|
+
"visibleColumnsChange": "visibleColumnsChange";
|
|
111
|
+
"saveViewClick": "saveViewClick";
|
|
112
|
+
"loadViewClick": "loadViewClick";
|
|
113
|
+
"deleteViewClick": "deleteViewClick";
|
|
114
|
+
"tableButtonClick": "tableButtonClick";
|
|
115
|
+
}, never, never, true, never>;
|
|
116
|
+
}
|