@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,51 @@
|
|
|
1
|
+
import { QuickFilterTab } from "@forgeroute/ui/table-types";
|
|
2
|
+
import { UiLabelsService } from "@forgeroute/ui/core";
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class QuickFilterTabsComponent {
|
|
5
|
+
protected readonly labels: UiLabelsService;
|
|
6
|
+
readonly tabs: import("@angular/core").InputSignal<QuickFilterTab[]>;
|
|
7
|
+
readonly counts: import("@angular/core").InputSignal<Record<string, number>>;
|
|
8
|
+
readonly activeValue: import("@angular/core").InputSignal<string>;
|
|
9
|
+
readonly ariaLabel: import("@angular/core").InputSignal<string | null>;
|
|
10
|
+
readonly tabChange: import("@angular/core").OutputEmitterRef<string>;
|
|
11
|
+
protected readonly dropdownOpen: import("@angular/core").WritableSignal<boolean>;
|
|
12
|
+
private readonly _el;
|
|
13
|
+
private readonly _group;
|
|
14
|
+
private readonly _id;
|
|
15
|
+
constructor();
|
|
16
|
+
protected readonly allTab: import("@angular/core").Signal<QuickFilterTab | null>;
|
|
17
|
+
/** Non-All tabs that have at least 1 record, sorted by count desc */
|
|
18
|
+
private readonly sortedFilterTabs;
|
|
19
|
+
protected readonly visibleTabs: import("@angular/core").Signal<QuickFilterTab[]>;
|
|
20
|
+
protected readonly overflowTabs: import("@angular/core").Signal<QuickFilterTab[]>;
|
|
21
|
+
protected readonly overflowActive: import("@angular/core").Signal<boolean>;
|
|
22
|
+
protected readonly activeOverflowLabel: import("@angular/core").Signal<string>;
|
|
23
|
+
toggleDropdown(_e: Event): void;
|
|
24
|
+
selectOverflow(value: string): void;
|
|
25
|
+
onDocumentClick(event: Event): void;
|
|
26
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<QuickFilterTabsComponent, never>;
|
|
27
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<QuickFilterTabsComponent, "ui-quick-filter-tabs", never, {
|
|
28
|
+
"tabs": {
|
|
29
|
+
"alias": "tabs";
|
|
30
|
+
"required": true;
|
|
31
|
+
"isSignal": true;
|
|
32
|
+
};
|
|
33
|
+
"counts": {
|
|
34
|
+
"alias": "counts";
|
|
35
|
+
"required": false;
|
|
36
|
+
"isSignal": true;
|
|
37
|
+
};
|
|
38
|
+
"activeValue": {
|
|
39
|
+
"alias": "activeValue";
|
|
40
|
+
"required": false;
|
|
41
|
+
"isSignal": true;
|
|
42
|
+
};
|
|
43
|
+
"ariaLabel": {
|
|
44
|
+
"alias": "ariaLabel";
|
|
45
|
+
"required": false;
|
|
46
|
+
"isSignal": true;
|
|
47
|
+
};
|
|
48
|
+
}, {
|
|
49
|
+
"tabChange": "tabChange";
|
|
50
|
+
}, never, never, true, never>;
|
|
51
|
+
}
|
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
2
|
import { DestroyRef, InjectionToken, Provider, TemplateRef, WritableSignal } from "@angular/core";
|
|
3
|
-
import {
|
|
3
|
+
import { UiLabelKey, UiLabelsService } from "@forgeroute/ui/core";
|
|
4
|
+
import { CheckPaymentStatusFn, HostResult, PaymentAllocation, PaymentAttempt, PaymentAttemptControls, PaymentAttemptOutcome, PaymentMethodBodyContext, PaymentMethodPlugin, PaymentPluginMethod, PaymentReadiness, PaymentReadinessResult, ReadinessCheckFn } from "@forgeroute/ui/payments";
|
|
5
|
+
import { PillTab } from "@forgeroute/ui/pill-tabs";
|
|
6
|
+
import { SelectOption } from "@forgeroute/ui/select";
|
|
4
7
|
import { Observable } from "rxjs";
|
|
5
8
|
/**
|
|
6
9
|
* Pure validation and formatting helpers of the QuickBooks Payments card / bank-account form. They never log, store or return more than a verdict: a function that
|
|
@@ -352,7 +355,7 @@ export declare class QboPaymentComponent {
|
|
|
352
355
|
protected readonly postalFormatter: import("@angular/core").Signal<(raw: string) => string>;
|
|
353
356
|
protected readonly postalPlaceholder: import("@angular/core").Signal<"A1A 1A1" | "94086">;
|
|
354
357
|
protected readonly postalInputMode: import("@angular/core").Signal<"text" | "numeric">;
|
|
355
|
-
protected readonly postalMaxLength: import("@angular/core").Signal<
|
|
358
|
+
protected readonly postalMaxLength: import("@angular/core").Signal<7 | 10>;
|
|
356
359
|
protected readonly routingFormatter: (raw: string) => string;
|
|
357
360
|
protected readonly accountFormatter: (raw: string) => string;
|
|
358
361
|
protected readonly tabs: import("@angular/core").Signal<PillTab[]>;
|
|
@@ -789,7 +792,7 @@ export declare class QboConnectComponent {
|
|
|
789
792
|
readonly loading: import("@angular/core").ModelSignal<boolean>;
|
|
790
793
|
protected readonly awaiting: import("@angular/core").WritableSignal<boolean>;
|
|
791
794
|
protected readonly confirming: import("@angular/core").WritableSignal<boolean>;
|
|
792
|
-
protected readonly state: import("@angular/core").Signal<"
|
|
795
|
+
protected readonly state: import("@angular/core").Signal<"none" | "connected" | "reconnect">;
|
|
793
796
|
protected readonly company: import("@angular/core").Signal<string>;
|
|
794
797
|
protected readonly connectedOn: import("@angular/core").Signal<string>;
|
|
795
798
|
/** What the persistent status region says: the current state, plus "Loading." while a request runs. */
|
|
@@ -0,0 +1,131 @@
|
|
|
1
|
+
import { AbstractControl, ControlValueAccessor, ValidationErrors, Validator } from "@angular/forms";
|
|
2
|
+
import { UiFieldValidity } from "@forgeroute/ui/core";
|
|
3
|
+
import { RadioOption } from "@forgeroute/ui/radio";
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
/** One row of a `ui-radio-matrix`: `value` is the key in the model, `label` the row header. */
|
|
6
|
+
export interface RadioMatrixRow {
|
|
7
|
+
value: string;
|
|
8
|
+
label: string;
|
|
9
|
+
disabled?: boolean;
|
|
10
|
+
}
|
|
11
|
+
/**
|
|
12
|
+
* Matrix of native radio buttons: one row per item, one column per choice, exactly one choice per row (e.g. a page-permission
|
|
13
|
+
* grid: rows = pages, columns = Full Access / Read Only / Hidden). A ControlValueAccessor whose value is a record
|
|
14
|
+
* `{ [row.value]: column.value }` (`''` / missing = nothing chosen for that row). Arrow keys move inside a row natively because the
|
|
15
|
+
* radios of a row share one `name`. Every radio is named "<row>: <column>" for screen readers; rows are `<th scope="row">`, columns
|
|
16
|
+
* `<th scope="col">`.
|
|
17
|
+
*
|
|
18
|
+
* Built-in validation: `required` -> every row needs a choice ("Choose an option in every row." / "<label>: choose an option in
|
|
19
|
+
* every row."); a value that is not one of the `columns` -> "Select a valid option."; a key that is not one of the `rows` is
|
|
20
|
+
* ignored (and kept untouched in the model). Disabled matrices are never invalid.
|
|
21
|
+
*
|
|
22
|
+
* Validity API (same on every ui input): Angular `Validator`, signals `invalid` + `errorMessage`, `invalidChange` output,
|
|
23
|
+
* provides `UiFieldValidity`. Messages (built-in and a host `[error]`) show only after the matrix lost focus; `[showErrors]="true"` also reveals it on an untouched matrix.
|
|
24
|
+
*
|
|
25
|
+
* <ui-radio-matrix label="Page permissions" rowHeader="Page" [rows]="pages" [columns]="levels" [(ngModel)]="permissions" />
|
|
26
|
+
*/
|
|
27
|
+
export declare class RadioMatrixComponent implements ControlValueAccessor, Validator, UiFieldValidity {
|
|
28
|
+
readonly label: import("@angular/core").InputSignal<string>;
|
|
29
|
+
/** Text of the top-left header cell (what the rows are, e.g. "Page"). */
|
|
30
|
+
readonly rowHeader: import("@angular/core").InputSignal<string>;
|
|
31
|
+
readonly rows: import("@angular/core").InputSignal<RadioMatrixRow[]>;
|
|
32
|
+
/** The choices, one column each (same shape as `ui-radio-group` options; `description` is not shown). */
|
|
33
|
+
readonly columns: import("@angular/core").InputSignal<RadioOption[]>;
|
|
34
|
+
readonly required: import("@angular/core").InputSignal<boolean>;
|
|
35
|
+
readonly hint: import("@angular/core").InputSignal<string>;
|
|
36
|
+
readonly error: import("@angular/core").InputSignal<string>;
|
|
37
|
+
/** 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. */
|
|
38
|
+
readonly showErrors: import("@angular/core").InputSignal<boolean>;
|
|
39
|
+
/** Prefix of the native radio `name`s (one name per row); a unique one is generated when omitted. */
|
|
40
|
+
readonly name: import("@angular/core").InputSignal<string>;
|
|
41
|
+
readonly _disabledInput: import("@angular/core").InputSignal<boolean>;
|
|
42
|
+
private readonly _cvaDisabled;
|
|
43
|
+
protected readonly disabled: import("@angular/core").Signal<boolean>;
|
|
44
|
+
private readonly _generatedName;
|
|
45
|
+
protected get _name(): string;
|
|
46
|
+
protected readonly _descId: string;
|
|
47
|
+
protected readonly _value: import("@angular/core").WritableSignal<Record<string, string>>;
|
|
48
|
+
private readonly _reveal;
|
|
49
|
+
private readonly _issue;
|
|
50
|
+
/** True while the value breaks a built-in rule or the host passed an `[error]`. */
|
|
51
|
+
readonly invalid: import("@angular/core").Signal<boolean>;
|
|
52
|
+
/** Message of the first broken built-in rule ('' when valid), shown or not. */
|
|
53
|
+
readonly errorMessage: import("@angular/core").Signal<string>;
|
|
54
|
+
/** Emits whenever the field becomes invalid / valid. */
|
|
55
|
+
readonly invalidChange: import("@angular/core").OutputEmitterRef<boolean>;
|
|
56
|
+
protected readonly _activeError: import("@angular/core").Signal<string>;
|
|
57
|
+
private _onValidatorChange;
|
|
58
|
+
constructor();
|
|
59
|
+
/** Re-run the form control's validation when a rule input (required, rows, columns) changes. */
|
|
60
|
+
ngOnChanges(): void;
|
|
61
|
+
validate(control: AbstractControl): ValidationErrors | null;
|
|
62
|
+
registerOnValidatorChange(fn: () => void): void;
|
|
63
|
+
private _onChange;
|
|
64
|
+
private _onTouched;
|
|
65
|
+
writeValue(val: Record<string, string> | null): void;
|
|
66
|
+
registerOnChange(fn: (v: Record<string, string>) => void): void;
|
|
67
|
+
registerOnTouched(fn: () => void): void;
|
|
68
|
+
setDisabledState(d: boolean): void;
|
|
69
|
+
protected onSelect(row: string, column: string): void;
|
|
70
|
+
/** True when a required matrix has no valid choice in this row (shown on the row header and the dots). */
|
|
71
|
+
protected _rowInvalid(row: RadioMatrixRow): boolean;
|
|
72
|
+
/** Touched once focus leaves the whole matrix (moving between its radios does not count). */
|
|
73
|
+
protected onFocusOut(event: FocusEvent): void;
|
|
74
|
+
private _toRecord;
|
|
75
|
+
private _check;
|
|
76
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<RadioMatrixComponent, never>;
|
|
77
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<RadioMatrixComponent, "ui-radio-matrix", never, {
|
|
78
|
+
"label": {
|
|
79
|
+
"alias": "label";
|
|
80
|
+
"required": false;
|
|
81
|
+
"isSignal": true;
|
|
82
|
+
};
|
|
83
|
+
"rowHeader": {
|
|
84
|
+
"alias": "rowHeader";
|
|
85
|
+
"required": false;
|
|
86
|
+
"isSignal": true;
|
|
87
|
+
};
|
|
88
|
+
"rows": {
|
|
89
|
+
"alias": "rows";
|
|
90
|
+
"required": false;
|
|
91
|
+
"isSignal": true;
|
|
92
|
+
};
|
|
93
|
+
"columns": {
|
|
94
|
+
"alias": "columns";
|
|
95
|
+
"required": false;
|
|
96
|
+
"isSignal": true;
|
|
97
|
+
};
|
|
98
|
+
"required": {
|
|
99
|
+
"alias": "required";
|
|
100
|
+
"required": false;
|
|
101
|
+
"isSignal": true;
|
|
102
|
+
};
|
|
103
|
+
"hint": {
|
|
104
|
+
"alias": "hint";
|
|
105
|
+
"required": false;
|
|
106
|
+
"isSignal": true;
|
|
107
|
+
};
|
|
108
|
+
"error": {
|
|
109
|
+
"alias": "error";
|
|
110
|
+
"required": false;
|
|
111
|
+
"isSignal": true;
|
|
112
|
+
};
|
|
113
|
+
"showErrors": {
|
|
114
|
+
"alias": "showErrors";
|
|
115
|
+
"required": false;
|
|
116
|
+
"isSignal": true;
|
|
117
|
+
};
|
|
118
|
+
"name": {
|
|
119
|
+
"alias": "name";
|
|
120
|
+
"required": false;
|
|
121
|
+
"isSignal": true;
|
|
122
|
+
};
|
|
123
|
+
"_disabledInput": {
|
|
124
|
+
"alias": "disabled";
|
|
125
|
+
"required": false;
|
|
126
|
+
"isSignal": true;
|
|
127
|
+
};
|
|
128
|
+
}, {
|
|
129
|
+
"invalidChange": "invalidChange";
|
|
130
|
+
}, never, never, true, never>;
|
|
131
|
+
}
|
|
@@ -0,0 +1,311 @@
|
|
|
1
|
+
import { UiFieldValidity, UiLabelsService } from "@forgeroute/ui/core";
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
import { TemplateRef } from "@angular/core";
|
|
4
|
+
import { AbstractControl, ControlValueAccessor, ValidationErrors, Validator } from "@angular/forms";
|
|
5
|
+
/**
|
|
6
|
+
* Single native radio button (visual tokens of `ui-checkbox`). Normally rendered by `ui-radio-group`; usable standalone
|
|
7
|
+
* when the host manages the shared `name` and the `checked` state itself.
|
|
8
|
+
*/
|
|
9
|
+
export declare class RadioComponent {
|
|
10
|
+
protected readonly labels: UiLabelsService;
|
|
11
|
+
readonly label: import("@angular/core").InputSignal<string>;
|
|
12
|
+
readonly description: import("@angular/core").InputSignal<string>;
|
|
13
|
+
/**
|
|
14
|
+
* Library source 2026-11-05, not yet published. Optional link shown after the description: `linkLabel` is its text, `linkUrl` its address. Only `http:`, `https:`,
|
|
15
|
+
* `mailto:` and `tel:` addresses and in-app paths (`/...`, `#...`) are linked; anything else (`javascript:`, `data:`, empty) draws nothing. An absolute http(s)
|
|
16
|
+
* address opens in a new tab (`noopener noreferrer`, with "(opens in a new tab)" for screen readers); the others follow in the same tab. The radio's
|
|
17
|
+
* accessible name stays the label only.
|
|
18
|
+
*/
|
|
19
|
+
readonly linkLabel: import("@angular/core").InputSignal<string>;
|
|
20
|
+
readonly linkUrl: import("@angular/core").InputSignal<string>;
|
|
21
|
+
/** `data-testid` of the link; none when empty. */
|
|
22
|
+
readonly linkTestId: import("@angular/core").InputSignal<string>;
|
|
23
|
+
/**
|
|
24
|
+
* Library source 2026-11-04, not yet published. Optional icon drawn in front of the label: a `<ui-icon>` key (`cup`, `wrench`, `card`, ...) or a raw 24x24
|
|
25
|
+
* stroke SVG path (`M12 5v14 M5 12h14`). Decorative (`aria-hidden`), so the accessible name stays the label. Empty (default), an unknown key or
|
|
26
|
+
* text that is not a path = nothing is drawn and the DOM is unchanged.
|
|
27
|
+
*/
|
|
28
|
+
readonly icon: import("@angular/core").InputSignal<string>;
|
|
29
|
+
/** Accessible name when there is no visible `label`. */
|
|
30
|
+
readonly ariaLabel: import("@angular/core").InputSignal<string>;
|
|
31
|
+
/** `data-testid` of the native radio input; none when empty. */
|
|
32
|
+
readonly testId: import("@angular/core").InputSignal<string>;
|
|
33
|
+
readonly value: import("@angular/core").InputSignal<string>;
|
|
34
|
+
/** Radios with the same `name` form one keyboard (arrow key) group. */
|
|
35
|
+
readonly name: import("@angular/core").InputSignal<string>;
|
|
36
|
+
readonly checked: import("@angular/core").InputSignal<boolean>;
|
|
37
|
+
readonly invalid: import("@angular/core").InputSignal<boolean>;
|
|
38
|
+
/** Id(s) of the element(s) describing the group (hint / error). */
|
|
39
|
+
readonly describedBy: import("@angular/core").InputSignal<string>;
|
|
40
|
+
/** Id of an element this radio reveals while selected (`aria-controls`); no attribute when empty. */
|
|
41
|
+
readonly controls: import("@angular/core").InputSignal<string>;
|
|
42
|
+
/** Public so a host template can bind `[disabled]` (a protected input fails strict template type-checking). */
|
|
43
|
+
readonly _disabledInput: import("@angular/core").InputSignal<boolean>;
|
|
44
|
+
protected readonly disabled: import("@angular/core").InputSignal<boolean>;
|
|
45
|
+
/** Path of the icon: a known icon key, else the text itself when it looks like an SVG path (drawing commands and numbers only), else none. */
|
|
46
|
+
protected readonly _iconD: import("@angular/core").Signal<string | null>;
|
|
47
|
+
/** The address to link, or null when the link is not drawn (no label, empty or unsafe address: see [safeLinkHref]). */
|
|
48
|
+
protected readonly _linkHref: import("@angular/core").Signal<string | null>;
|
|
49
|
+
protected readonly _linkNewTab: import("@angular/core").Signal<boolean>;
|
|
50
|
+
/** Id of the visible label text. Optional: a host (e.g. `ui-radio-group`) can set it to point another element at the label with `aria-labelledby`; a unique id is generated when empty. */
|
|
51
|
+
readonly labelId: import("@angular/core").InputSignal<string>;
|
|
52
|
+
private readonly _generatedLabelId;
|
|
53
|
+
protected readonly _labelId: import("@angular/core").Signal<string>;
|
|
54
|
+
/** With a description or link inside the <label>, the accessible name would read "Email We send a message": name the input by the label text only. */
|
|
55
|
+
protected readonly _labelledBy: import("@angular/core").Signal<string | null>;
|
|
56
|
+
protected readonly _descriptionId: string;
|
|
57
|
+
/** Group hint/error id plus the option's own description (kept out of the label so the accessible name is label-only). */
|
|
58
|
+
protected readonly _describedByIds: import("@angular/core").Signal<string | null>;
|
|
59
|
+
/** Emits the radio's `value` when the user selects it. */
|
|
60
|
+
readonly selected: import("@angular/core").OutputEmitterRef<string>;
|
|
61
|
+
protected onChange(event: Event): void;
|
|
62
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<RadioComponent, never>;
|
|
63
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<RadioComponent, "ui-radio", never, {
|
|
64
|
+
"label": {
|
|
65
|
+
"alias": "label";
|
|
66
|
+
"required": false;
|
|
67
|
+
"isSignal": true;
|
|
68
|
+
};
|
|
69
|
+
"description": {
|
|
70
|
+
"alias": "description";
|
|
71
|
+
"required": false;
|
|
72
|
+
"isSignal": true;
|
|
73
|
+
};
|
|
74
|
+
"linkLabel": {
|
|
75
|
+
"alias": "linkLabel";
|
|
76
|
+
"required": false;
|
|
77
|
+
"isSignal": true;
|
|
78
|
+
};
|
|
79
|
+
"linkUrl": {
|
|
80
|
+
"alias": "linkUrl";
|
|
81
|
+
"required": false;
|
|
82
|
+
"isSignal": true;
|
|
83
|
+
};
|
|
84
|
+
"linkTestId": {
|
|
85
|
+
"alias": "linkTestId";
|
|
86
|
+
"required": false;
|
|
87
|
+
"isSignal": true;
|
|
88
|
+
};
|
|
89
|
+
"icon": {
|
|
90
|
+
"alias": "icon";
|
|
91
|
+
"required": false;
|
|
92
|
+
"isSignal": true;
|
|
93
|
+
};
|
|
94
|
+
"ariaLabel": {
|
|
95
|
+
"alias": "ariaLabel";
|
|
96
|
+
"required": false;
|
|
97
|
+
"isSignal": true;
|
|
98
|
+
};
|
|
99
|
+
"testId": {
|
|
100
|
+
"alias": "testId";
|
|
101
|
+
"required": false;
|
|
102
|
+
"isSignal": true;
|
|
103
|
+
};
|
|
104
|
+
"value": {
|
|
105
|
+
"alias": "value";
|
|
106
|
+
"required": false;
|
|
107
|
+
"isSignal": true;
|
|
108
|
+
};
|
|
109
|
+
"name": {
|
|
110
|
+
"alias": "name";
|
|
111
|
+
"required": false;
|
|
112
|
+
"isSignal": true;
|
|
113
|
+
};
|
|
114
|
+
"checked": {
|
|
115
|
+
"alias": "checked";
|
|
116
|
+
"required": false;
|
|
117
|
+
"isSignal": true;
|
|
118
|
+
};
|
|
119
|
+
"invalid": {
|
|
120
|
+
"alias": "invalid";
|
|
121
|
+
"required": false;
|
|
122
|
+
"isSignal": true;
|
|
123
|
+
};
|
|
124
|
+
"describedBy": {
|
|
125
|
+
"alias": "describedBy";
|
|
126
|
+
"required": false;
|
|
127
|
+
"isSignal": true;
|
|
128
|
+
};
|
|
129
|
+
"controls": {
|
|
130
|
+
"alias": "controls";
|
|
131
|
+
"required": false;
|
|
132
|
+
"isSignal": true;
|
|
133
|
+
};
|
|
134
|
+
"_disabledInput": {
|
|
135
|
+
"alias": "disabled";
|
|
136
|
+
"required": false;
|
|
137
|
+
"isSignal": true;
|
|
138
|
+
};
|
|
139
|
+
"labelId": {
|
|
140
|
+
"alias": "labelId";
|
|
141
|
+
"required": false;
|
|
142
|
+
"isSignal": true;
|
|
143
|
+
};
|
|
144
|
+
}, {
|
|
145
|
+
"selected": "selected";
|
|
146
|
+
}, never, ["*"], true, never>;
|
|
147
|
+
}
|
|
148
|
+
export interface RadioOption {
|
|
149
|
+
value: string;
|
|
150
|
+
label: string;
|
|
151
|
+
description?: string;
|
|
152
|
+
disabled?: boolean;
|
|
153
|
+
/** `data-testid` of this option's native radio input (e.g. for end-to-end tests); none when omitted. */
|
|
154
|
+
testId?: string;
|
|
155
|
+
/**
|
|
156
|
+
* Library source 2026-11-04, not yet published. Icon drawn in front of the option's label: a `<ui-icon>` key (`cup`, `wrench`, ...) or a raw SVG
|
|
157
|
+
* path. Decorative (`aria-hidden`); none when omitted.
|
|
158
|
+
*/
|
|
159
|
+
icon?: string;
|
|
160
|
+
/**
|
|
161
|
+
* Library source 2026-11-05, not yet published. Link shown after the option's description (e.g. "Read the terms"): only http(s), mailto, tel and
|
|
162
|
+
* in-app paths are linked, an absolute http(s) address opens in a new tab. `testId` is the link's `data-testid`. None when omitted.
|
|
163
|
+
*/
|
|
164
|
+
descriptionLink?: {
|
|
165
|
+
label: string;
|
|
166
|
+
url: string;
|
|
167
|
+
testId?: string;
|
|
168
|
+
};
|
|
169
|
+
}
|
|
170
|
+
/**
|
|
171
|
+
* Group of native radio buttons inside a `<fieldset>` (+ `<legend>` = `label`), a ControlValueAccessor (string value, `''`
|
|
172
|
+
* = nothing selected). Arrow keys move and select natively because all radios share one `name`.
|
|
173
|
+
* Built-in validation: `required` -> "<label> is required."; a non-empty value that is not one of the `options` ->
|
|
174
|
+
* "Select a valid option." (not checked while `options` is empty). Disabled groups are never invalid.
|
|
175
|
+
*
|
|
176
|
+
* Option content (`<ng-template uiRadioOptionContent="value">`) is rendered right under its option, inside the fieldset, so the layout and
|
|
177
|
+
* keyboard flow stay as they are. Because it is not a radio, it is exposed as its own `role="group"` named by that option's label
|
|
178
|
+
* (`aria-labelledby` = the radio's label id, e.g. "Deliver, group") instead of being read as part of the radio group. Groups without
|
|
179
|
+
* templates render no extra attributes or ids.
|
|
180
|
+
*
|
|
181
|
+
* Validity API (same on every ui input): Angular `Validator`, signals `invalid` + `errorMessage`, `invalidChange` output,
|
|
182
|
+
* provides `UiFieldValidity`. Messages (built-in and a host `[error]`) show only after the group lost focus; `[showErrors]="true"` also reveals it on an untouched group.
|
|
183
|
+
*/
|
|
184
|
+
export declare class RadioGroupComponent implements ControlValueAccessor, Validator, UiFieldValidity {
|
|
185
|
+
private readonly _labels;
|
|
186
|
+
readonly label: import("@angular/core").InputSignal<string>;
|
|
187
|
+
readonly options: import("@angular/core").InputSignal<RadioOption[]>;
|
|
188
|
+
readonly required: import("@angular/core").InputSignal<boolean>;
|
|
189
|
+
readonly hint: import("@angular/core").InputSignal<string>;
|
|
190
|
+
readonly error: import("@angular/core").InputSignal<string>;
|
|
191
|
+
/** 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. */
|
|
192
|
+
readonly showErrors: import("@angular/core").InputSignal<boolean>;
|
|
193
|
+
readonly orientation: import("@angular/core").InputSignal<"vertical" | "horizontal">;
|
|
194
|
+
/** Native `name` shared by the radios; a unique one is generated when omitted. */
|
|
195
|
+
readonly name: import("@angular/core").InputSignal<string>;
|
|
196
|
+
/** `<ng-template uiRadioOptionContent="value">` children: content shown under that option while it is selected. */
|
|
197
|
+
private readonly _optionContent;
|
|
198
|
+
protected readonly _nestedContent: import("@angular/core").Signal<Map<string, TemplateRef<unknown>>>;
|
|
199
|
+
readonly _disabledInput: import("@angular/core").InputSignal<boolean>;
|
|
200
|
+
private readonly _cvaDisabled;
|
|
201
|
+
protected readonly disabled: import("@angular/core").Signal<boolean>;
|
|
202
|
+
private readonly _generatedName;
|
|
203
|
+
protected get _name(): string;
|
|
204
|
+
protected readonly _descId: string;
|
|
205
|
+
/** Id of the content block under the selected option; that radio points at it with aria-controls. */
|
|
206
|
+
protected readonly _nestedId: string;
|
|
207
|
+
/** Id of an option's label text (set on the radio only for options that have nested content); the nested group is named by it. */
|
|
208
|
+
protected _optionLabelId(index: number): string;
|
|
209
|
+
protected readonly _value: import("@angular/core").WritableSignal<string>;
|
|
210
|
+
private readonly _reveal;
|
|
211
|
+
private readonly _issue;
|
|
212
|
+
/** True while the value breaks a built-in rule or the host passed an `[error]`. */
|
|
213
|
+
readonly invalid: import("@angular/core").Signal<boolean>;
|
|
214
|
+
/** Message of the first broken built-in rule ('' when valid), shown or not. */
|
|
215
|
+
readonly errorMessage: import("@angular/core").Signal<string>;
|
|
216
|
+
/** Emits whenever the field becomes invalid / valid. */
|
|
217
|
+
readonly invalidChange: import("@angular/core").OutputEmitterRef<boolean>;
|
|
218
|
+
protected readonly _activeError: import("@angular/core").Signal<string>;
|
|
219
|
+
private _onValidatorChange;
|
|
220
|
+
constructor();
|
|
221
|
+
/** Re-run the form control's validation when a rule input (required, options) changes. */
|
|
222
|
+
ngOnChanges(): void;
|
|
223
|
+
validate(control: AbstractControl): ValidationErrors | null;
|
|
224
|
+
registerOnValidatorChange(fn: () => void): void;
|
|
225
|
+
private _onChange;
|
|
226
|
+
private _onTouched;
|
|
227
|
+
writeValue(val: string): void;
|
|
228
|
+
registerOnChange(fn: (v: string) => void): void;
|
|
229
|
+
registerOnTouched(fn: () => void): void;
|
|
230
|
+
setDisabledState(d: boolean): void;
|
|
231
|
+
protected onSelect(value: string): void;
|
|
232
|
+
/** Touched once focus leaves the whole group (moving between its radios does not count). */
|
|
233
|
+
protected onFocusOut(event: FocusEvent): void;
|
|
234
|
+
private _check;
|
|
235
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<RadioGroupComponent, never>;
|
|
236
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<RadioGroupComponent, "ui-radio-group", never, {
|
|
237
|
+
"label": {
|
|
238
|
+
"alias": "label";
|
|
239
|
+
"required": false;
|
|
240
|
+
"isSignal": true;
|
|
241
|
+
};
|
|
242
|
+
"options": {
|
|
243
|
+
"alias": "options";
|
|
244
|
+
"required": false;
|
|
245
|
+
"isSignal": true;
|
|
246
|
+
};
|
|
247
|
+
"required": {
|
|
248
|
+
"alias": "required";
|
|
249
|
+
"required": false;
|
|
250
|
+
"isSignal": true;
|
|
251
|
+
};
|
|
252
|
+
"hint": {
|
|
253
|
+
"alias": "hint";
|
|
254
|
+
"required": false;
|
|
255
|
+
"isSignal": true;
|
|
256
|
+
};
|
|
257
|
+
"error": {
|
|
258
|
+
"alias": "error";
|
|
259
|
+
"required": false;
|
|
260
|
+
"isSignal": true;
|
|
261
|
+
};
|
|
262
|
+
"showErrors": {
|
|
263
|
+
"alias": "showErrors";
|
|
264
|
+
"required": false;
|
|
265
|
+
"isSignal": true;
|
|
266
|
+
};
|
|
267
|
+
"orientation": {
|
|
268
|
+
"alias": "orientation";
|
|
269
|
+
"required": false;
|
|
270
|
+
"isSignal": true;
|
|
271
|
+
};
|
|
272
|
+
"name": {
|
|
273
|
+
"alias": "name";
|
|
274
|
+
"required": false;
|
|
275
|
+
"isSignal": true;
|
|
276
|
+
};
|
|
277
|
+
"_disabledInput": {
|
|
278
|
+
"alias": "disabled";
|
|
279
|
+
"required": false;
|
|
280
|
+
"isSignal": true;
|
|
281
|
+
};
|
|
282
|
+
}, {
|
|
283
|
+
"invalidChange": "invalidChange";
|
|
284
|
+
}, ["_optionContent"], never, true, never>;
|
|
285
|
+
}
|
|
286
|
+
/**
|
|
287
|
+
* Content shown directly under ONE option of a `ui-radio-group`, only while that option is selected (e.g. an address form under
|
|
288
|
+
* "Ship to an alternate address"). Put an `<ng-template>` inside the group and name the option's value:
|
|
289
|
+
*
|
|
290
|
+
* <ui-radio-group label="Delivery" [options]="opts" [(ngModel)]="method">
|
|
291
|
+
* <ng-template uiRadioOptionContent="SHIP">
|
|
292
|
+
* <ui-text-input label="Street" ... />
|
|
293
|
+
* </ng-template>
|
|
294
|
+
* </ui-radio-group>
|
|
295
|
+
*
|
|
296
|
+
* Groups without such a template render exactly as before. The content is indented under the option's label; in a horizontal group it
|
|
297
|
+
* takes a full row below the options. It lives inside the group's fieldset, so moving focus into it does not count as leaving the group.
|
|
298
|
+
*/
|
|
299
|
+
export declare class RadioOptionContentDirective {
|
|
300
|
+
/** The `value` of the option this content belongs to. */
|
|
301
|
+
readonly value: import("@angular/core").InputSignal<string>;
|
|
302
|
+
readonly template: TemplateRef<unknown>;
|
|
303
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<RadioOptionContentDirective, never>;
|
|
304
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<RadioOptionContentDirective, "ng-template[uiRadioOptionContent]", never, {
|
|
305
|
+
"value": {
|
|
306
|
+
"alias": "uiRadioOptionContent";
|
|
307
|
+
"required": true;
|
|
308
|
+
"isSignal": true;
|
|
309
|
+
};
|
|
310
|
+
}, {}, never, never, true, never>;
|
|
311
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { InjectionToken, Provider, Signal } from "@angular/core";
|
|
2
|
+
/**
|
|
3
|
+
* The app's ONE central "everything is read-only right now" switch (optional).
|
|
4
|
+
*
|
|
5
|
+
* Some apps have a state in which the whole signed-in area must be view-only for reasons that are not a user's role: an expired trial or sandbox, a suspended
|
|
6
|
+
* account, a maintenance window. The server refuses the writes anyway, but without this every page still offers Add / Edit / Delete and each one fails on its own.
|
|
7
|
+
* Provide this once and every `<ui-data-table>` in the app behaves exactly as if its `[permission]` were not `'full'` (no Add / Import / bulk actions / checkbox
|
|
8
|
+
* column / mutating row actions: see `DataTableComponent.permission`); pages that have their own buttons read it with {@link injectReadOnlyMode}.
|
|
9
|
+
*
|
|
10
|
+
* Nothing changes for an app that does not provide it: the table and every helper behave exactly as before.
|
|
11
|
+
*/
|
|
12
|
+
export interface ReadOnlyMode {
|
|
13
|
+
/** `true` while the app is read-only. A signal, so screens follow it live (it may flip while a page is open). */
|
|
14
|
+
readonly active: Signal<boolean>;
|
|
15
|
+
}
|
|
16
|
+
export declare const UI_READ_ONLY_MODE: InjectionToken<ReadOnlyMode>;
|
|
17
|
+
/**
|
|
18
|
+
* Provides the central read-only switch. `active` runs once, in an injection context, so it can `inject()` the app's own state service:
|
|
19
|
+
*
|
|
20
|
+
* ```ts
|
|
21
|
+
* provideReadOnlyMode(() => inject(SandboxService).expired)
|
|
22
|
+
* ```
|
|
23
|
+
*/
|
|
24
|
+
export declare function provideReadOnlyMode(active: () => Signal<boolean>): Provider;
|
|
25
|
+
/** The central read-only signal (always `false` when the app did not provide one). Call it in an injection context (a field initialiser or constructor). */
|
|
26
|
+
export declare function injectReadOnlyMode(): Signal<boolean>;
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
/**
|
|
3
|
+
* Wraps a block of form controls (a settings page, a configuration card) so a view-only user can look at the current
|
|
4
|
+
* values but change nothing. While `readOnly` is true the wrapper's native `<fieldset>` is `disabled`, and the browser
|
|
5
|
+
* disables every native form control inside it: text inputs, checkboxes, selects, textareas, radios and the `<button>`
|
|
6
|
+
* rendered by `ui-button`, plus the native controls inside the `ui-*` inputs.
|
|
7
|
+
*
|
|
8
|
+
* **Default: `readOnly` is false.** With no input nothing is locked and every control is fully editable. The wrapper only
|
|
9
|
+
* locks when the host passes `[readOnly]="true"` (typically `perm() !== 'full'`). Flipping it live re-enables / disables
|
|
10
|
+
* the same projected DOM nodes; values, `ngModel` state and focus targets are preserved.
|
|
11
|
+
*
|
|
12
|
+
* Limits (native `<fieldset disabled>` semantics):
|
|
13
|
+
* - Only NATIVE form controls are disabled. Non-native clickable things (divs with click handlers, links, drag handles,
|
|
14
|
+
* `ui-data-table` toolbars and row menus) are NOT affected: hide or guard them in the host.
|
|
15
|
+
* - A `ui-data-table` has its own `[permission]` input. Keep tables outside the wrapper or use that input.
|
|
16
|
+
* - Nesting: a nested wrapper with `readOnly=false` inside a locked wrapper stays disabled, because a disabled
|
|
17
|
+
* ancestor fieldset always disables its descendants. A nested wrapper cannot "unlock" a region.
|
|
18
|
+
*
|
|
19
|
+
* Layout: the fieldset is reset (border 0, margin 0, padding 0, min-width 0) and is a plain flex column, not
|
|
20
|
+
* `display: contents` (unreliable on `<fieldset>` in some browsers). Children therefore lay out as direct children;
|
|
21
|
+
* set `gap` when the parent spaced them with a flex gap.
|
|
22
|
+
*
|
|
23
|
+
* Accessibility: optional `ariaLabel` names the group; optional `reason` ("You have view-only access") is rendered as
|
|
24
|
+
* visually-hidden text linked via `aria-describedby`, only while locked.
|
|
25
|
+
*
|
|
26
|
+
* Usage: `<ui-readonly-fieldset [readOnly]="perm() !== 'full'" gap="20px"> ...controls... </ui-readonly-fieldset>`
|
|
27
|
+
*/
|
|
28
|
+
export declare class ReadonlyFieldsetComponent {
|
|
29
|
+
/** Lock every native control inside. Default false: nothing is locked. */
|
|
30
|
+
readonly readOnly: import("@angular/core").InputSignal<boolean>;
|
|
31
|
+
/** CSS `gap` between the children (default none). */
|
|
32
|
+
readonly gap: import("@angular/core").InputSignal<string>;
|
|
33
|
+
/** Optional accessible name for the group. */
|
|
34
|
+
readonly ariaLabel: import("@angular/core").InputSignal<string>;
|
|
35
|
+
/** Optional explanation announced while locked (visually hidden), e.g. "You have view-only access". */
|
|
36
|
+
readonly reason: import("@angular/core").InputSignal<string>;
|
|
37
|
+
protected readonly _reasonId: string;
|
|
38
|
+
protected readonly _showReason: import("@angular/core").Signal<boolean>;
|
|
39
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ReadonlyFieldsetComponent, never>;
|
|
40
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ReadonlyFieldsetComponent, "ui-readonly-fieldset", never, {
|
|
41
|
+
"readOnly": {
|
|
42
|
+
"alias": "readOnly";
|
|
43
|
+
"required": false;
|
|
44
|
+
"isSignal": true;
|
|
45
|
+
};
|
|
46
|
+
"gap": {
|
|
47
|
+
"alias": "gap";
|
|
48
|
+
"required": false;
|
|
49
|
+
"isSignal": true;
|
|
50
|
+
};
|
|
51
|
+
"ariaLabel": {
|
|
52
|
+
"alias": "ariaLabel";
|
|
53
|
+
"required": false;
|
|
54
|
+
"isSignal": true;
|
|
55
|
+
};
|
|
56
|
+
"reason": {
|
|
57
|
+
"alias": "reason";
|
|
58
|
+
"required": false;
|
|
59
|
+
"isSignal": true;
|
|
60
|
+
};
|
|
61
|
+
}, {}, never, ["*"], true, never>;
|
|
62
|
+
}
|