@forgeroute/ui 0.5.16 → 0.5.18
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-core-ui-labels.es-Dzj_XJJM.mjs → forgeroute-ui-core-ui-labels.es-Woi3az70.mjs} +186 -2
- package/fesm2022/{forgeroute-ui-core-ui-labels.es-Dzj_XJJM.mjs.map → forgeroute-ui-core-ui-labels.es-Woi3az70.mjs.map} +1 -1
- package/fesm2022/forgeroute-ui-core.mjs +186 -2
- package/fesm2022/forgeroute-ui-core.mjs.map +1 -1
- 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 +6258 -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 +6254 -1188
- 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 +422 -2
- 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-core.d.ts +188 -4
- 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 +1826 -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 +1458 -3
- 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,174 @@
|
|
|
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 declare class TextareaInputComponent implements ControlValueAccessor, Validator, UiFieldValidity {
|
|
5
|
+
readonly label: import("@angular/core").InputSignal<string>;
|
|
6
|
+
/** Accessible name for a field with no visible label. */
|
|
7
|
+
readonly ariaLabel: import("@angular/core").InputSignal<string>;
|
|
8
|
+
readonly placeholder: import("@angular/core").InputSignal<string>;
|
|
9
|
+
readonly rows: import("@angular/core").InputSignal<number>;
|
|
10
|
+
readonly maxlength: import("@angular/core").InputSignal<number | undefined>;
|
|
11
|
+
readonly required: import("@angular/core").InputSignal<boolean>;
|
|
12
|
+
readonly readonly: import("@angular/core").InputSignal<boolean>;
|
|
13
|
+
readonly hint: import("@angular/core").InputSignal<string>;
|
|
14
|
+
/** Id(s) of an external element that also describes this control (e.g. one shared error text for a group of fields). Space separated; MERGED after the control's own hint / error id in `aria-describedby`, never replacing it. Empty = unchanged. */
|
|
15
|
+
readonly ariaDescribedBy: import("@angular/core").InputSignal<string>;
|
|
16
|
+
/**
|
|
17
|
+
* Opt-in. `false` (default) = unchanged: a labelled field's hint renders INSIDE the `<label>` ("Label (hint)" is the accessible name,
|
|
18
|
+
* no aria-describedby for it). `true` = the hint is a sibling of the label (`.ta-head` row, id `<textarea id>-hint`), the accessible
|
|
19
|
+
* name is the label only and the hint is the description (`aria-describedby`, then the error). See docs/textarea-input.md.
|
|
20
|
+
*/
|
|
21
|
+
readonly hintAsDescription: import("@angular/core").InputSignal<boolean>;
|
|
22
|
+
readonly error: import("@angular/core").InputSignal<string>;
|
|
23
|
+
/** Opt-in. `true` shows the text in a monospace font (HTML / code / merge-tag fields). Default `false` = unchanged. */
|
|
24
|
+
readonly monospace: import("@angular/core").InputSignal<boolean>;
|
|
25
|
+
/** 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. */
|
|
26
|
+
readonly showErrors: import("@angular/core").InputSignal<boolean>;
|
|
27
|
+
readonly _disabledInput: import("@angular/core").InputSignal<boolean>;
|
|
28
|
+
private readonly _cvaDisabled;
|
|
29
|
+
protected readonly disabled: import("@angular/core").Signal<boolean>;
|
|
30
|
+
protected readonly _value: import("@angular/core").WritableSignal<string>;
|
|
31
|
+
/** The hint is shown inline after the label; with no label there is nothing to hang it on, so it renders under the field. */
|
|
32
|
+
protected readonly _unlabelledHint: import("@angular/core").Signal<boolean>;
|
|
33
|
+
/**
|
|
34
|
+
* aria-describedby: the hint (inline after the label, or under the field when there is no label; the under-field
|
|
35
|
+
* hint is replaced by the error) followed by the error. The label is the accessible NAME; the hint is the DESCRIPTION.
|
|
36
|
+
*/
|
|
37
|
+
protected readonly _describedBy: import("@angular/core").Signal<string | null>;
|
|
38
|
+
private readonly _ownDescribedBy;
|
|
39
|
+
private readonly _reveal;
|
|
40
|
+
private readonly _issue;
|
|
41
|
+
/** True while the value breaks a built-in rule or the host passed an `[error]`. */
|
|
42
|
+
readonly invalid: import("@angular/core").Signal<boolean>;
|
|
43
|
+
/** Message of the first broken built-in rule ('' when valid), shown or not. */
|
|
44
|
+
readonly errorMessage: import("@angular/core").Signal<string>;
|
|
45
|
+
/** Emits whenever the field becomes invalid / valid. */
|
|
46
|
+
readonly invalidChange: import("@angular/core").OutputEmitterRef<boolean>;
|
|
47
|
+
/** Library source 2026-11-05, not yet published. Emits when the inner `<textarea>` gains focus (same as `ui-text-input`). */
|
|
48
|
+
readonly focused: import("@angular/core").OutputEmitterRef<void>;
|
|
49
|
+
/** Library source 2026-11-05, not yet published. Emits when the inner `<textarea>` loses focus (same as `ui-text-input`); the form control is marked touched and the built-in error reveal still happens. */
|
|
50
|
+
readonly blurred: import("@angular/core").OutputEmitterRef<void>;
|
|
51
|
+
protected readonly _activeError: import("@angular/core").Signal<string>;
|
|
52
|
+
private _onValidatorChange;
|
|
53
|
+
constructor();
|
|
54
|
+
/** Re-run the form control's validation when a rule input (required, maxlength, min, options, ...) changes. */
|
|
55
|
+
ngOnChanges(): void;
|
|
56
|
+
validate(control: AbstractControl): ValidationErrors | null;
|
|
57
|
+
registerOnValidatorChange(fn: () => void): void;
|
|
58
|
+
protected readonly _inputId: string;
|
|
59
|
+
private readonly _hostEl;
|
|
60
|
+
/**
|
|
61
|
+
* Library source 2026-11-04, not yet published. Puts the keyboard focus on the inner native `<textarea>` (`ref.focus()` via `viewChild`).
|
|
62
|
+
* Same options as the DOM method (`{ preventScroll: true }`). Safe at any time: before the view exists, or on a disabled field, it does
|
|
63
|
+
* nothing and never throws.
|
|
64
|
+
*/
|
|
65
|
+
focus(options?: FocusOptions): void;
|
|
66
|
+
/**
|
|
67
|
+
* Library source 2026-11-05, not yet published. Caret access for hosts (e.g. an "insert variable at the cursor" chip row), so a host never
|
|
68
|
+
* queries the inner element. Reach it with `viewChild(TextareaInputComponent)`. All three methods are safe at any time: before the view exists, on a
|
|
69
|
+
* disabled / read-only field they do nothing / return null and never throw.
|
|
70
|
+
*
|
|
71
|
+
* `getSelection()` -> `{ start, end }` of the selected text (equal when only a caret) or `null` when it cannot be read.
|
|
72
|
+
*/
|
|
73
|
+
getSelection(): {
|
|
74
|
+
start: number;
|
|
75
|
+
end: number;
|
|
76
|
+
} | null;
|
|
77
|
+
/** Selects `start`..`end` (a caret when `end` is left out); values are clamped to the text. Does nothing where the selection API is unavailable. */
|
|
78
|
+
setSelection(start: number, end?: number): void;
|
|
79
|
+
/**
|
|
80
|
+
* Inserts `text` at the caret, replacing any selected text, and puts the caret right after it. The change goes through the normal typing path
|
|
81
|
+
* (`ngModel` / form control), exactly as if the user had typed it, and `maxlength` caps it like typing does (the
|
|
82
|
+
* part that does not fit is not inserted). With no caret known the text is appended. Does nothing on a
|
|
83
|
+
* disabled or read-only field or for an empty `text`.
|
|
84
|
+
*/
|
|
85
|
+
insertAtCaret(text: string): void;
|
|
86
|
+
private _textarea;
|
|
87
|
+
private _onChange;
|
|
88
|
+
private _onTouched;
|
|
89
|
+
writeValue(val: string | null): void;
|
|
90
|
+
registerOnChange(fn: (v: string) => void): void;
|
|
91
|
+
registerOnTouched(fn: () => void): void;
|
|
92
|
+
setDisabledState(d: boolean): void;
|
|
93
|
+
protected onInput(event: Event): void;
|
|
94
|
+
protected onFocus(): void;
|
|
95
|
+
protected onBlur(): void;
|
|
96
|
+
private _check;
|
|
97
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TextareaInputComponent, never>;
|
|
98
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TextareaInputComponent, "ui-textarea-input", never, {
|
|
99
|
+
"label": {
|
|
100
|
+
"alias": "label";
|
|
101
|
+
"required": false;
|
|
102
|
+
"isSignal": true;
|
|
103
|
+
};
|
|
104
|
+
"ariaLabel": {
|
|
105
|
+
"alias": "ariaLabel";
|
|
106
|
+
"required": false;
|
|
107
|
+
"isSignal": true;
|
|
108
|
+
};
|
|
109
|
+
"placeholder": {
|
|
110
|
+
"alias": "placeholder";
|
|
111
|
+
"required": false;
|
|
112
|
+
"isSignal": true;
|
|
113
|
+
};
|
|
114
|
+
"rows": {
|
|
115
|
+
"alias": "rows";
|
|
116
|
+
"required": false;
|
|
117
|
+
"isSignal": true;
|
|
118
|
+
};
|
|
119
|
+
"maxlength": {
|
|
120
|
+
"alias": "maxlength";
|
|
121
|
+
"required": false;
|
|
122
|
+
"isSignal": true;
|
|
123
|
+
};
|
|
124
|
+
"required": {
|
|
125
|
+
"alias": "required";
|
|
126
|
+
"required": false;
|
|
127
|
+
"isSignal": true;
|
|
128
|
+
};
|
|
129
|
+
"readonly": {
|
|
130
|
+
"alias": "readonly";
|
|
131
|
+
"required": false;
|
|
132
|
+
"isSignal": true;
|
|
133
|
+
};
|
|
134
|
+
"hint": {
|
|
135
|
+
"alias": "hint";
|
|
136
|
+
"required": false;
|
|
137
|
+
"isSignal": true;
|
|
138
|
+
};
|
|
139
|
+
"ariaDescribedBy": {
|
|
140
|
+
"alias": "ariaDescribedBy";
|
|
141
|
+
"required": false;
|
|
142
|
+
"isSignal": true;
|
|
143
|
+
};
|
|
144
|
+
"hintAsDescription": {
|
|
145
|
+
"alias": "hintAsDescription";
|
|
146
|
+
"required": false;
|
|
147
|
+
"isSignal": true;
|
|
148
|
+
};
|
|
149
|
+
"error": {
|
|
150
|
+
"alias": "error";
|
|
151
|
+
"required": false;
|
|
152
|
+
"isSignal": true;
|
|
153
|
+
};
|
|
154
|
+
"monospace": {
|
|
155
|
+
"alias": "monospace";
|
|
156
|
+
"required": false;
|
|
157
|
+
"isSignal": true;
|
|
158
|
+
};
|
|
159
|
+
"showErrors": {
|
|
160
|
+
"alias": "showErrors";
|
|
161
|
+
"required": false;
|
|
162
|
+
"isSignal": true;
|
|
163
|
+
};
|
|
164
|
+
"_disabledInput": {
|
|
165
|
+
"alias": "disabled";
|
|
166
|
+
"required": false;
|
|
167
|
+
"isSignal": true;
|
|
168
|
+
};
|
|
169
|
+
}, {
|
|
170
|
+
"invalidChange": "invalidChange";
|
|
171
|
+
"focused": "focused";
|
|
172
|
+
"blurred": "blurred";
|
|
173
|
+
}, never, ["[uiLabelEnd]"], true, never>;
|
|
174
|
+
}
|
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
import { AbstractControl, ControlValueAccessor, ValidationErrors, Validator } from "@angular/forms";
|
|
2
|
+
import { UiFieldValidity, UiLabelsService } from "@forgeroute/ui/core";
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class TimeInputComponent implements ControlValueAccessor, Validator, UiFieldValidity {
|
|
5
|
+
protected readonly labels: UiLabelsService;
|
|
6
|
+
readonly label: import("@angular/core").InputSignal<string>;
|
|
7
|
+
/** Accessible name when there is no visible `label` (falls back to `label`). */
|
|
8
|
+
readonly ariaLabel: import("@angular/core").InputSignal<string>;
|
|
9
|
+
readonly required: import("@angular/core").InputSignal<boolean>;
|
|
10
|
+
readonly min: import("@angular/core").InputSignal<string>;
|
|
11
|
+
readonly max: import("@angular/core").InputSignal<string>;
|
|
12
|
+
readonly hint: import("@angular/core").InputSignal<string>;
|
|
13
|
+
/** Id(s) of an external element that also describes this control (e.g. one shared error text for a group of fields). Space separated; MERGED after the control's own hint / error id in `aria-describedby`, never replacing it. Empty = unchanged. */
|
|
14
|
+
readonly ariaDescribedBy: import("@angular/core").InputSignal<string>;
|
|
15
|
+
readonly error: import("@angular/core").InputSignal<string>;
|
|
16
|
+
/** 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. */
|
|
17
|
+
readonly showErrors: import("@angular/core").InputSignal<boolean>;
|
|
18
|
+
/** Public (like the other inputs) so `[disabled]` can be bound in a host template. */
|
|
19
|
+
readonly _disabledInput: import("@angular/core").InputSignal<boolean>;
|
|
20
|
+
private readonly _cvaDisabled;
|
|
21
|
+
protected readonly disabled: import("@angular/core").Signal<boolean>;
|
|
22
|
+
protected readonly _value: import("@angular/core").WritableSignal<string>;
|
|
23
|
+
protected readonly _inputId: string;
|
|
24
|
+
/** `aria-describedby`: the error / hint text, then the host's `ariaDescribedBy` id(s). */
|
|
25
|
+
protected readonly _describedBy: import("@angular/core").Signal<string | null>;
|
|
26
|
+
private readonly _reveal;
|
|
27
|
+
private readonly _issue;
|
|
28
|
+
/** True while the value breaks a built-in rule or the host passed an `[error]`. */
|
|
29
|
+
readonly invalid: import("@angular/core").Signal<boolean>;
|
|
30
|
+
/** Message of the first broken built-in rule ('' when valid), shown or not. */
|
|
31
|
+
readonly errorMessage: import("@angular/core").Signal<string>;
|
|
32
|
+
/** Emits whenever the field becomes invalid / valid. */
|
|
33
|
+
readonly invalidChange: import("@angular/core").OutputEmitterRef<boolean>;
|
|
34
|
+
protected readonly _activeError: import("@angular/core").Signal<string>;
|
|
35
|
+
private _onValidatorChange;
|
|
36
|
+
constructor();
|
|
37
|
+
/** Re-run the form control's validation when a rule input (required, min, max) changes. */
|
|
38
|
+
ngOnChanges(): void;
|
|
39
|
+
validate(control: AbstractControl): ValidationErrors | null;
|
|
40
|
+
registerOnValidatorChange(fn: () => void): void;
|
|
41
|
+
private _onChange;
|
|
42
|
+
private _onTouched;
|
|
43
|
+
writeValue(val: string): void;
|
|
44
|
+
registerOnChange(fn: (v: string) => void): void;
|
|
45
|
+
registerOnTouched(fn: () => void): void;
|
|
46
|
+
setDisabledState(d: boolean): void;
|
|
47
|
+
protected onChange(event: Event): void;
|
|
48
|
+
protected onBlur(): void;
|
|
49
|
+
private _check;
|
|
50
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TimeInputComponent, never>;
|
|
51
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TimeInputComponent, "ui-time-input", never, {
|
|
52
|
+
"label": {
|
|
53
|
+
"alias": "label";
|
|
54
|
+
"required": false;
|
|
55
|
+
"isSignal": true;
|
|
56
|
+
};
|
|
57
|
+
"ariaLabel": {
|
|
58
|
+
"alias": "ariaLabel";
|
|
59
|
+
"required": false;
|
|
60
|
+
"isSignal": true;
|
|
61
|
+
};
|
|
62
|
+
"required": {
|
|
63
|
+
"alias": "required";
|
|
64
|
+
"required": false;
|
|
65
|
+
"isSignal": true;
|
|
66
|
+
};
|
|
67
|
+
"min": {
|
|
68
|
+
"alias": "min";
|
|
69
|
+
"required": false;
|
|
70
|
+
"isSignal": true;
|
|
71
|
+
};
|
|
72
|
+
"max": {
|
|
73
|
+
"alias": "max";
|
|
74
|
+
"required": false;
|
|
75
|
+
"isSignal": true;
|
|
76
|
+
};
|
|
77
|
+
"hint": {
|
|
78
|
+
"alias": "hint";
|
|
79
|
+
"required": false;
|
|
80
|
+
"isSignal": true;
|
|
81
|
+
};
|
|
82
|
+
"ariaDescribedBy": {
|
|
83
|
+
"alias": "ariaDescribedBy";
|
|
84
|
+
"required": false;
|
|
85
|
+
"isSignal": true;
|
|
86
|
+
};
|
|
87
|
+
"error": {
|
|
88
|
+
"alias": "error";
|
|
89
|
+
"required": false;
|
|
90
|
+
"isSignal": true;
|
|
91
|
+
};
|
|
92
|
+
"showErrors": {
|
|
93
|
+
"alias": "showErrors";
|
|
94
|
+
"required": false;
|
|
95
|
+
"isSignal": true;
|
|
96
|
+
};
|
|
97
|
+
"_disabledInput": {
|
|
98
|
+
"alias": "disabled";
|
|
99
|
+
"required": false;
|
|
100
|
+
"isSignal": true;
|
|
101
|
+
};
|
|
102
|
+
}, {
|
|
103
|
+
"invalidChange": "invalidChange";
|
|
104
|
+
}, never, never, true, never>;
|
|
105
|
+
}
|
|
@@ -0,0 +1,196 @@
|
|
|
1
|
+
import { IconName } from "@forgeroute/ui/icon";
|
|
2
|
+
import { BadgeVariant } from "@forgeroute/ui/table-types";
|
|
3
|
+
import { UiLabelsService } from "@forgeroute/ui/core";
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export type TimelineTone = 'default' | 'success' | 'warning' | 'danger';
|
|
6
|
+
/** A badge of a timeline item. `tooltip` shows on hover and keyboard focus (the badge becomes focusable); `testId` is its `data-testid`. */
|
|
7
|
+
export interface TimelineBadge {
|
|
8
|
+
label: string;
|
|
9
|
+
variant: BadgeVariant;
|
|
10
|
+
tooltip?: string;
|
|
11
|
+
testId?: string;
|
|
12
|
+
}
|
|
13
|
+
/** A link-style action on a timeline item (e.g. "View message"). Clicking it emits the item through the timeline's `itemAction` output. */
|
|
14
|
+
export interface TimelineAction {
|
|
15
|
+
label: string;
|
|
16
|
+
/** Accessible name when the visible label alone is ambiguous (e.g. "View message sent Oct 20"). Defaults to the label. */
|
|
17
|
+
ariaLabel?: string;
|
|
18
|
+
/** `data-testid` of the button. */
|
|
19
|
+
testId?: string;
|
|
20
|
+
}
|
|
21
|
+
export interface TimelineItem {
|
|
22
|
+
/** Stable id used for `track`; the index is used when absent. */
|
|
23
|
+
id?: string;
|
|
24
|
+
/** `data-testid` of the `<li>`. */
|
|
25
|
+
testId?: string;
|
|
26
|
+
title: string;
|
|
27
|
+
description?: string;
|
|
28
|
+
/** Pre-formatted time text shown to the reader, e.g. "Oct 20, 2026, 3:15 PM". */
|
|
29
|
+
time?: string;
|
|
30
|
+
/** ISO date / date-time for the `datetime` attribute of the `<time>` element (machine-readable). */
|
|
31
|
+
dateTime?: string;
|
|
32
|
+
badge?: TimelineBadge;
|
|
33
|
+
/** Any number of badges, shown after `badge` (if also set), in order. They wrap onto the next line when the row is narrow. */
|
|
34
|
+
badges?: TimelineBadge[];
|
|
35
|
+
/** Icon drawn inside the dot (static, decorative). Unknown names draw nothing. */
|
|
36
|
+
icon?: IconName | (string & {});
|
|
37
|
+
/** Colour of the dot / icon. Default `default`. */
|
|
38
|
+
tone?: TimelineTone;
|
|
39
|
+
/**
|
|
40
|
+
* Colours the dot / icon with a badge colour (any `BadgeVariant`): the solid dot is the badge's own dark shade (`BADGE_VARIANT_STYLES[v].color`,
|
|
41
|
+
* at least 3:1 on white, so the dot and a white icon on it are readable). Overrides `tone`; without it `tone` works as before.
|
|
42
|
+
*/
|
|
43
|
+
dotVariant?: BadgeVariant;
|
|
44
|
+
/** Optional link-style button under the item's text. Emits `itemAction` with this item when clicked. Absent (default) = no button, DOM unchanged. */
|
|
45
|
+
action?: TimelineAction;
|
|
46
|
+
}
|
|
47
|
+
/**
|
|
48
|
+
* Vertical activity feed: an ordered list of events joined by a line, each with a dot (or icon), title, optional badge,
|
|
49
|
+
* description and time.
|
|
50
|
+
*
|
|
51
|
+
* <ui-timeline ariaLabel="Case activity" emptyMessage="No activity yet." [items]="[
|
|
52
|
+
* { id: 'a', title: 'Case opened', time: 'Oct 20, 3:15 PM', dateTime: '2026-10-20T15:15:00Z', badge: { label: 'Open', variant: 'green' } },
|
|
53
|
+
* { id: 'b', title: 'Letter sent', description: 'Mailed to the owner.', tone: 'success', icon: 'email' },
|
|
54
|
+
* ]" />
|
|
55
|
+
*
|
|
56
|
+
* `groupByDay` adds a heading per calendar day (see the inputs `groupByDay`, `timeZone`, `now`, `dayHeadingLevel`).
|
|
57
|
+
*
|
|
58
|
+
* Semantics: `<ol>` / `<li>`; the line and dots are decorative (aria-hidden). `time` is the visible text; `dateTime` goes into
|
|
59
|
+
* `<time datetime>`. With no items, `emptyMessage` (if set) is shown as a hint, otherwise nothing is rendered.
|
|
60
|
+
*/
|
|
61
|
+
export declare class TimelineComponent {
|
|
62
|
+
protected readonly labels: UiLabelsService;
|
|
63
|
+
readonly items: import("@angular/core").InputSignal<TimelineItem[]>;
|
|
64
|
+
/** Emits the item whose `action` button was clicked. */
|
|
65
|
+
readonly itemAction: import("@angular/core").OutputEmitterRef<TimelineItem>;
|
|
66
|
+
/** Accessible name of the list (e.g. "Case activity"). */
|
|
67
|
+
readonly ariaLabel: import("@angular/core").InputSignal<string>;
|
|
68
|
+
/** Shown (as a hint) when there are no items. Empty = render nothing. */
|
|
69
|
+
readonly emptyMessage: import("@angular/core").InputSignal<string>;
|
|
70
|
+
/** Any CSS length (e.g. `600px`). When set, the list scrolls inside a keyboard-focusable region of at most this height. Empty = no wrapper. */
|
|
71
|
+
readonly maxHeight: import("@angular/core").InputSignal<string>;
|
|
72
|
+
/** `below` (default): the time is under the title / description. `end`: the time sits right-aligned on the title row. */
|
|
73
|
+
readonly timePosition: import("@angular/core").InputSignal<"below" | "end">;
|
|
74
|
+
/**
|
|
75
|
+
* Group the items under a heading per calendar day of `dateTime` ("Today", "Yesterday", "Oct 3", "Oct 3, 2025"). Default false = no headings,
|
|
76
|
+
* DOM unchanged. The given order is kept: consecutive items of one day share a heading, the same day appearing again later starts a new group.
|
|
77
|
+
* An item without a parseable ISO `dateTime` joins the group it follows (a heading-less group at the top when first).
|
|
78
|
+
* Grouped markup: `<ol class="tl"><li class="tl-day-group"><div class="tl-day" role="heading" aria-level>…</div><ol class="tl-sub">…items…</ol></li></ol>`.
|
|
79
|
+
*/
|
|
80
|
+
readonly groupByDay: import("@angular/core").InputSignal<boolean>;
|
|
81
|
+
/** IANA time zone (e.g. `America/Chicago`) for the day grouping and the labels. A `dateTime` with a trailing Z / offset = an instant shown in this zone; a date or a wall-clock time without offset is taken as already being in that day. Empty (default) = the browser's local zone; an unknown zone also falls back to it. */
|
|
82
|
+
readonly timeZone: import("@angular/core").InputSignal<string>;
|
|
83
|
+
/** The moment "Today" / "Yesterday" are measured from. `null` (default) = the real current time; a Date or ISO string pins it (tests, replays). The real time is read when the groups are computed, not on a timer: a long-lived page should pass `now` (or re-bind `items`) to refresh Today / Yesterday after midnight. */
|
|
84
|
+
readonly now: import("@angular/core").InputSignal<string | Date | null>;
|
|
85
|
+
/** Heading level 1-6 of the day headings (role="heading" + aria-level); anything else becomes 3. */
|
|
86
|
+
readonly dayHeadingLevel: import("@angular/core").InputSignal<number>;
|
|
87
|
+
protected readonly headingLevel: import("@angular/core").Signal<number>;
|
|
88
|
+
/** The items split into day groups (only used when `groupByDay` is on). */
|
|
89
|
+
protected readonly groups: import("@angular/core").Signal<{
|
|
90
|
+
key: string;
|
|
91
|
+
label: string;
|
|
92
|
+
items: TimelineItem[];
|
|
93
|
+
}[]>;
|
|
94
|
+
/** Solid dot colour of an item's `dotVariant`, or null (then `tone` colours it). */
|
|
95
|
+
dotColor(item: TimelineItem): string | null;
|
|
96
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TimelineComponent, never>;
|
|
97
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TimelineComponent, "ui-timeline", never, {
|
|
98
|
+
"items": {
|
|
99
|
+
"alias": "items";
|
|
100
|
+
"required": false;
|
|
101
|
+
"isSignal": true;
|
|
102
|
+
};
|
|
103
|
+
"ariaLabel": {
|
|
104
|
+
"alias": "ariaLabel";
|
|
105
|
+
"required": false;
|
|
106
|
+
"isSignal": true;
|
|
107
|
+
};
|
|
108
|
+
"emptyMessage": {
|
|
109
|
+
"alias": "emptyMessage";
|
|
110
|
+
"required": false;
|
|
111
|
+
"isSignal": true;
|
|
112
|
+
};
|
|
113
|
+
"maxHeight": {
|
|
114
|
+
"alias": "maxHeight";
|
|
115
|
+
"required": false;
|
|
116
|
+
"isSignal": true;
|
|
117
|
+
};
|
|
118
|
+
"timePosition": {
|
|
119
|
+
"alias": "timePosition";
|
|
120
|
+
"required": false;
|
|
121
|
+
"isSignal": true;
|
|
122
|
+
};
|
|
123
|
+
"groupByDay": {
|
|
124
|
+
"alias": "groupByDay";
|
|
125
|
+
"required": false;
|
|
126
|
+
"isSignal": true;
|
|
127
|
+
};
|
|
128
|
+
"timeZone": {
|
|
129
|
+
"alias": "timeZone";
|
|
130
|
+
"required": false;
|
|
131
|
+
"isSignal": true;
|
|
132
|
+
};
|
|
133
|
+
"now": {
|
|
134
|
+
"alias": "now";
|
|
135
|
+
"required": false;
|
|
136
|
+
"isSignal": true;
|
|
137
|
+
};
|
|
138
|
+
"dayHeadingLevel": {
|
|
139
|
+
"alias": "dayHeadingLevel";
|
|
140
|
+
"required": false;
|
|
141
|
+
"isSignal": true;
|
|
142
|
+
};
|
|
143
|
+
}, {
|
|
144
|
+
"itemAction": "itemAction";
|
|
145
|
+
}, never, never, true, never>;
|
|
146
|
+
}
|
|
147
|
+
/** A badge on an event: its text and colour. */
|
|
148
|
+
export interface TimelineEventBadge {
|
|
149
|
+
label: string;
|
|
150
|
+
/** Library badge colour. Default `gray`. */
|
|
151
|
+
variant?: BadgeVariant;
|
|
152
|
+
}
|
|
153
|
+
/**
|
|
154
|
+
* One activity event of a host page (a note, a payment, a status change...). Hosts map their own records to this shape once and let
|
|
155
|
+
* {@link timelineItemsFromEvents} build the `ui-timeline` items, so the title / second line / time text / badges / dot colour are the same on every page.
|
|
156
|
+
*/
|
|
157
|
+
export interface TimelineEvent {
|
|
158
|
+
id?: string;
|
|
159
|
+
/** ISO date or date-time. Drives the time text, the machine-readable `datetime` and, for `groupByDay`, the day heading. */
|
|
160
|
+
date: string;
|
|
161
|
+
title: string;
|
|
162
|
+
/** What happened, in a sentence. */
|
|
163
|
+
description?: string | null;
|
|
164
|
+
/** Who did it. */
|
|
165
|
+
actor?: string | null;
|
|
166
|
+
/** Money involved (US dollars). 0 and null show nothing. */
|
|
167
|
+
amount?: number | null;
|
|
168
|
+
/** A legally immutable record: the title gets the `lockedSuffix`. */
|
|
169
|
+
locked?: boolean;
|
|
170
|
+
/** First badge; its colour also colours the dot. */
|
|
171
|
+
category?: TimelineEventBadge | null;
|
|
172
|
+
/** Second badge. */
|
|
173
|
+
status?: TimelineEventBadge | null;
|
|
174
|
+
}
|
|
175
|
+
export interface TimelineEventOptions {
|
|
176
|
+
/** Angular `formatDate` pattern of the visible time. Default `M/d/yyyy h:mm a` (11/8/2026 3:15 PM). */
|
|
177
|
+
timeFormat?: string;
|
|
178
|
+
/** Locale of the time text and the amount. Default: the app's active locale (`en-US` without a language service). */
|
|
179
|
+
locale?: string;
|
|
180
|
+
/** Words before the amount in the second line. Default: the library text "Amount" in the active language. */
|
|
181
|
+
amountLabel?: string;
|
|
182
|
+
/** Appended to the title of a locked record. Default: the library text "<title> (locked record)" in the active language. */
|
|
183
|
+
lockedSuffix?: string;
|
|
184
|
+
/** Joins the parts of the second line. Default ` · `. */
|
|
185
|
+
separator?: string;
|
|
186
|
+
}
|
|
187
|
+
/**
|
|
188
|
+
* Builds `<ui-timeline>` items from activity events.
|
|
189
|
+
*
|
|
190
|
+
* - title: the event title (plus `lockedSuffix` for a locked record)
|
|
191
|
+
* - description: the non-empty ones of `description`, `actor` and `Amount: $1,234.50`, joined with `separator` (absent when there are none)
|
|
192
|
+
* - time / dateTime: the formatted date and the raw `date`; an unparsable date gives no time text (never "Invalid Date")
|
|
193
|
+
* - badges: the category and the status badge, in that order, when they have a label
|
|
194
|
+
* - dotVariant: the colour of the category badge (`gray` when there is none)
|
|
195
|
+
*/
|
|
196
|
+
export declare function timelineItemsFromEvents(events: readonly TimelineEvent[], options?: TimelineEventOptions): TimelineItem[];
|
|
@@ -0,0 +1,131 @@
|
|
|
1
|
+
import { ToastActionEvent, ToastService, UiLabelsService } from "@forgeroute/ui/core";
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
import { EnvironmentProviders } from "@angular/core";
|
|
4
|
+
export declare class ToastComponent {
|
|
5
|
+
protected readonly labels: UiLabelsService;
|
|
6
|
+
protected readonly toast: ToastService;
|
|
7
|
+
private readonly _registry;
|
|
8
|
+
private readonly _id;
|
|
9
|
+
/** True only for the earliest live instance, so exactly one toast (and one live region) renders. */
|
|
10
|
+
protected readonly isHost: import("@angular/core").Signal<boolean>;
|
|
11
|
+
/**
|
|
12
|
+
* Opt-in close button. `null` (default) = follow `ToastService.dismissible` (itself `false` unless the app opted in with
|
|
13
|
+
* `provideForgerouteToast({ dismissible: true })`); `true` / `false` forces it for this outlet. Without it the toast has no
|
|
14
|
+
* control and looks exactly as it always did.
|
|
15
|
+
*/
|
|
16
|
+
readonly dismissible: import("@angular/core").InputSignal<boolean | null>;
|
|
17
|
+
protected readonly showClose: import("@angular/core").Signal<boolean>;
|
|
18
|
+
/**
|
|
19
|
+
* Opt-in: keep two always-present live regions (polite for success / info, assertive for errors) and put the toast inside the
|
|
20
|
+
* matching one, instead of giving the toast its own role when it appears. A live region that already exists when its text
|
|
21
|
+
* changes is announced reliably by VoiceOver / Safari; one inserted together with its text often is not. `null` (default) =
|
|
22
|
+
* follow `ToastService.persistentLiveRegion` (`false` unless the app sets it with `provideForgerouteToast({ persistentLiveRegion: true })`);
|
|
23
|
+
* `true` / `false` forces it for this outlet. Off = the markup and roles are exactly as they always were.
|
|
24
|
+
*/
|
|
25
|
+
readonly persistentLiveRegion: import("@angular/core").InputSignal<boolean | null>;
|
|
26
|
+
protected readonly persistent: import("@angular/core").Signal<boolean>;
|
|
27
|
+
/**
|
|
28
|
+
* Outlet-wide defaults for the optional parts of a toast (a message's own options win). `null` (default) leaves the app / service setting alone
|
|
29
|
+
* (`provideForgerouteToast`, itself off); a value is applied while this is the live outlet.
|
|
30
|
+
*
|
|
31
|
+
* - `queue`: a toast that arrives while another is showing waits for it instead of replacing it.
|
|
32
|
+
* - `countdown`: show "Dismissing in Ns" and a shrinking bar on every toast.
|
|
33
|
+
* - `maxQueued`: how many may wait (default 20).
|
|
34
|
+
*/
|
|
35
|
+
readonly queue: import("@angular/core").InputSignal<boolean | null>;
|
|
36
|
+
readonly countdown: import("@angular/core").InputSignal<boolean | null>;
|
|
37
|
+
readonly maxQueued: import("@angular/core").InputSignal<number | null>;
|
|
38
|
+
/** Wording of the countdown line; `{n}` is the seconds left. */
|
|
39
|
+
/** Countdown text with `{n}` for the seconds; `null` (default) = the library text for the active language. */
|
|
40
|
+
readonly countdownLabel: import("@angular/core").InputSignal<string | null>;
|
|
41
|
+
/** Wording of the chip that says how many toasts are waiting; `{n}` is the count. */
|
|
42
|
+
readonly queueLabelInput: import("@angular/core").InputSignal<string | null>;
|
|
43
|
+
readonly queueLabel: import("@angular/core").Signal<string>;
|
|
44
|
+
/** A toast button was used (also after its own `onAction`). */
|
|
45
|
+
readonly action: import("@angular/core").OutputEmitterRef<ToastActionEvent>;
|
|
46
|
+
/** One entry that changes with every `repeat: true` toast: the @for re-creates the toast element, so identical text is announced again. */
|
|
47
|
+
protected readonly repeatKeys: import("@angular/core").Signal<number[]>;
|
|
48
|
+
protected readonly isRich: import("@angular/core").Signal<boolean>;
|
|
49
|
+
protected readonly countdownPct: import("@angular/core").Signal<number>;
|
|
50
|
+
protected readonly countdownText: import("@angular/core").Signal<string>;
|
|
51
|
+
protected readonly queueText: import("@angular/core").Signal<string>;
|
|
52
|
+
protected onAction(id: string): void;
|
|
53
|
+
/**
|
|
54
|
+
* Message that was already on screen when this instance took over from a destroyed host. While it is
|
|
55
|
+
* unchanged the toast renders without the entry animation and without live-region roles, so the
|
|
56
|
+
* hand-over neither replays nor re-announces it. A new message clears this.
|
|
57
|
+
*/
|
|
58
|
+
private readonly _adoptedMessage;
|
|
59
|
+
protected readonly adopted: import("@angular/core").Signal<boolean>;
|
|
60
|
+
private _lastRepeatTick;
|
|
61
|
+
private _wasWaiting;
|
|
62
|
+
private _hover;
|
|
63
|
+
private _focus;
|
|
64
|
+
/** Escape on a focused toast dismisses only the toast: a panel or dialog behind it that also listens for Escape stays open. */
|
|
65
|
+
protected onEscape(e: Event): void;
|
|
66
|
+
protected setHover(on: boolean): void;
|
|
67
|
+
protected setFocus(on: boolean): void;
|
|
68
|
+
protected onFocusOut(e: FocusEvent): void;
|
|
69
|
+
/** The countdown holds while the pointer or focus is on the toast and continues when both have left. */
|
|
70
|
+
private _syncPause;
|
|
71
|
+
constructor();
|
|
72
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ToastComponent, never>;
|
|
73
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ToastComponent, "ui-toast", never, {
|
|
74
|
+
"dismissible": {
|
|
75
|
+
"alias": "dismissible";
|
|
76
|
+
"required": false;
|
|
77
|
+
"isSignal": true;
|
|
78
|
+
};
|
|
79
|
+
"persistentLiveRegion": {
|
|
80
|
+
"alias": "persistentLiveRegion";
|
|
81
|
+
"required": false;
|
|
82
|
+
"isSignal": true;
|
|
83
|
+
};
|
|
84
|
+
"queue": {
|
|
85
|
+
"alias": "queue";
|
|
86
|
+
"required": false;
|
|
87
|
+
"isSignal": true;
|
|
88
|
+
};
|
|
89
|
+
"countdown": {
|
|
90
|
+
"alias": "countdown";
|
|
91
|
+
"required": false;
|
|
92
|
+
"isSignal": true;
|
|
93
|
+
};
|
|
94
|
+
"maxQueued": {
|
|
95
|
+
"alias": "maxQueued";
|
|
96
|
+
"required": false;
|
|
97
|
+
"isSignal": true;
|
|
98
|
+
};
|
|
99
|
+
"countdownLabel": {
|
|
100
|
+
"alias": "countdownLabel";
|
|
101
|
+
"required": false;
|
|
102
|
+
"isSignal": true;
|
|
103
|
+
};
|
|
104
|
+
"queueLabelInput": {
|
|
105
|
+
"alias": "queueLabel";
|
|
106
|
+
"required": false;
|
|
107
|
+
"isSignal": true;
|
|
108
|
+
};
|
|
109
|
+
}, {
|
|
110
|
+
"action": "action";
|
|
111
|
+
}, never, never, true, never>;
|
|
112
|
+
}
|
|
113
|
+
/**
|
|
114
|
+
* Adds one app-wide toast outlet (a `<ui-toast>` appended to `<body>`) when the app starts, so toasts show on pages that have
|
|
115
|
+
* no `<ui-data-table>` and no `<ui-toast />` of their own.
|
|
116
|
+
*
|
|
117
|
+
* providers: [provideForgerouteToast()]
|
|
118
|
+
* providers: [provideForgerouteToast({ dismissible: true })] // every toast also gets a close button (default: none)
|
|
119
|
+
* providers: [provideForgerouteToast({ persistentLiveRegion: true })] // always-present live regions: reliable announcements in VoiceOver / Safari
|
|
120
|
+
* providers: [provideForgerouteToast({ queue: true, countdown: true, maxQueued: 10 })] // toasts wait for each other and show a countdown (defaults; a message's own options win)
|
|
121
|
+
*
|
|
122
|
+
* It is created first, so it is the registry's host and any other `<ui-toast>` (a table's own, a shell's) stays silent: each
|
|
123
|
+
* message renders and is announced once. Nothing happens on the server. The outlet is destroyed with the app.
|
|
124
|
+
*/
|
|
125
|
+
export declare function provideForgerouteToast(options?: {
|
|
126
|
+
dismissible?: boolean;
|
|
127
|
+
persistentLiveRegion?: boolean;
|
|
128
|
+
queue?: boolean;
|
|
129
|
+
countdown?: boolean;
|
|
130
|
+
maxQueued?: number;
|
|
131
|
+
}): EnvironmentProviders;
|