@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,29 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
/**
|
|
3
|
+
* Centered empty state: icon in a round tile, optional bold title, message and a projected action.
|
|
4
|
+
* `iconType`: search, table, chart, users, person, message, email, task, house, money, star, video, shield, pipeline (funnel),
|
|
5
|
+
* property (building), clipboard (clipboard with check and lines), document (default; any unknown value also draws it).
|
|
6
|
+
*/
|
|
7
|
+
export declare class EmptyStateComponent {
|
|
8
|
+
readonly message: import("@angular/core").InputSignal<string>;
|
|
9
|
+
readonly title: import("@angular/core").InputSignal<string>;
|
|
10
|
+
readonly iconType: import("@angular/core").InputSignal<string>;
|
|
11
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<EmptyStateComponent, never>;
|
|
12
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<EmptyStateComponent, "ui-empty-state", never, {
|
|
13
|
+
"message": {
|
|
14
|
+
"alias": "message";
|
|
15
|
+
"required": false;
|
|
16
|
+
"isSignal": true;
|
|
17
|
+
};
|
|
18
|
+
"title": {
|
|
19
|
+
"alias": "title";
|
|
20
|
+
"required": false;
|
|
21
|
+
"isSignal": true;
|
|
22
|
+
};
|
|
23
|
+
"iconType": {
|
|
24
|
+
"alias": "iconType";
|
|
25
|
+
"required": false;
|
|
26
|
+
"isSignal": true;
|
|
27
|
+
};
|
|
28
|
+
}, {}, never, ["*"], true, never>;
|
|
29
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { UiLabelsService } from "@forgeroute/ui/core";
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class ErrorStateComponent {
|
|
4
|
+
protected readonly labels: UiLabelsService;
|
|
5
|
+
/** Optional bold heading line above the message (e.g. "Unable to load application"). Empty = no heading. */
|
|
6
|
+
readonly title: import("@angular/core").InputSignal<string>;
|
|
7
|
+
readonly message: import("@angular/core").InputSignal<string>;
|
|
8
|
+
/** Retry button caption; `null` (default) = the library text for the active language; an empty string hides the button. */
|
|
9
|
+
readonly retryLabel: import("@angular/core").InputSignal<string | null>;
|
|
10
|
+
protected readonly retryText: import("@angular/core").Signal<string>;
|
|
11
|
+
readonly retrying: import("@angular/core").InputSignal<boolean>;
|
|
12
|
+
readonly retry: import("@angular/core").OutputEmitterRef<void>;
|
|
13
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ErrorStateComponent, never>;
|
|
14
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ErrorStateComponent, "ui-error-state", never, {
|
|
15
|
+
"title": {
|
|
16
|
+
"alias": "title";
|
|
17
|
+
"required": false;
|
|
18
|
+
"isSignal": true;
|
|
19
|
+
};
|
|
20
|
+
"message": {
|
|
21
|
+
"alias": "message";
|
|
22
|
+
"required": false;
|
|
23
|
+
"isSignal": true;
|
|
24
|
+
};
|
|
25
|
+
"retryLabel": {
|
|
26
|
+
"alias": "retryLabel";
|
|
27
|
+
"required": false;
|
|
28
|
+
"isSignal": true;
|
|
29
|
+
};
|
|
30
|
+
"retrying": {
|
|
31
|
+
"alias": "retrying";
|
|
32
|
+
"required": false;
|
|
33
|
+
"isSignal": true;
|
|
34
|
+
};
|
|
35
|
+
}, {
|
|
36
|
+
"retry": "retry";
|
|
37
|
+
}, never, never, true, never>;
|
|
38
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
/**
|
|
3
|
+
* Inline field error for controls that have no `error` input of their own — e.g. an app-specific
|
|
4
|
+
* picker. Renders exactly like the library inputs' own field error (small red text under the field,
|
|
5
|
+
* announced via role="alert") and renders nothing while `message` is empty, so it can stay in the
|
|
6
|
+
* template unconditionally.
|
|
7
|
+
*
|
|
8
|
+
* <app-job-picker ... [attr.aria-describedby]="jobError() ? 'job-error' : null" />
|
|
9
|
+
* <ui-error errorId="job-error" [message]="jobError()" />
|
|
10
|
+
*/
|
|
11
|
+
export declare class ErrorComponent {
|
|
12
|
+
/** The error text. Empty → nothing is rendered. */
|
|
13
|
+
readonly message: import("@angular/core").InputSignal<string>;
|
|
14
|
+
/** Optional id for the error element, so the field can point `aria-describedby` at it. */
|
|
15
|
+
readonly errorId: import("@angular/core").InputSignal<string>;
|
|
16
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ErrorComponent, never>;
|
|
17
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ErrorComponent, "ui-error", never, {
|
|
18
|
+
"message": {
|
|
19
|
+
"alias": "message";
|
|
20
|
+
"required": false;
|
|
21
|
+
"isSignal": true;
|
|
22
|
+
};
|
|
23
|
+
"errorId": {
|
|
24
|
+
"alias": "errorId";
|
|
25
|
+
"required": false;
|
|
26
|
+
"isSignal": true;
|
|
27
|
+
};
|
|
28
|
+
}, {}, never, never, true, never>;
|
|
29
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
/**
|
|
3
|
+
* A block wrapper whose content fades in (opacity 0 to 1) when it is created and again whenever `key` changes.
|
|
4
|
+
* The projected content is NOT re-created: the animation restarts by alternating between two identical keyframes.
|
|
5
|
+
*
|
|
6
|
+
* <ui-fade [key]="step()"> ...the current screen... </ui-fade>
|
|
7
|
+
*
|
|
8
|
+
* - `key`: any value; a change restarts the fade (default undefined).
|
|
9
|
+
* - `duration`: milliseconds (default 300).
|
|
10
|
+
* - `disabled`: no animation at all (default false).
|
|
11
|
+
* With prefers-reduced-motion: reduce nothing animates.
|
|
12
|
+
*/
|
|
13
|
+
export declare class FadeComponent {
|
|
14
|
+
readonly key: import("@angular/core").InputSignal<unknown>;
|
|
15
|
+
readonly duration: import("@angular/core").InputSignal<number>;
|
|
16
|
+
readonly disabled: import("@angular/core").InputSignal<boolean>;
|
|
17
|
+
protected readonly odd: import("@angular/core").WritableSignal<boolean>;
|
|
18
|
+
private first;
|
|
19
|
+
private last;
|
|
20
|
+
constructor();
|
|
21
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FadeComponent, never>;
|
|
22
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FadeComponent, "ui-fade", never, {
|
|
23
|
+
"key": {
|
|
24
|
+
"alias": "key";
|
|
25
|
+
"required": false;
|
|
26
|
+
"isSignal": true;
|
|
27
|
+
};
|
|
28
|
+
"duration": {
|
|
29
|
+
"alias": "duration";
|
|
30
|
+
"required": false;
|
|
31
|
+
"isSignal": true;
|
|
32
|
+
};
|
|
33
|
+
"disabled": {
|
|
34
|
+
"alias": "disabled";
|
|
35
|
+
"required": false;
|
|
36
|
+
"isSignal": true;
|
|
37
|
+
};
|
|
38
|
+
}, {}, never, ["*"], true, never>;
|
|
39
|
+
}
|
|
@@ -0,0 +1,337 @@
|
|
|
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
|
+
/** Why a chosen file was refused. */
|
|
5
|
+
/** 'type' = not an accepted type, 'size' = over `maxSize`, 'empty' = a 0-byte file (`rejectEmpty`), 'small' = under `minSize`. */
|
|
6
|
+
export type FileRejectReason = 'type' | 'size' | 'empty' | 'small';
|
|
7
|
+
/** A refused file with the message the field shows (also emitted by `(fileRejected)`). */
|
|
8
|
+
export interface FileRejection {
|
|
9
|
+
file: File;
|
|
10
|
+
reason: FileRejectReason;
|
|
11
|
+
message: string;
|
|
12
|
+
}
|
|
13
|
+
/** "1.5 MB", "820 KB", "12 B" (binary units, one decimal for MB and above). */
|
|
14
|
+
export declare function formatFileSize(bytes: number): string;
|
|
15
|
+
/**
|
|
16
|
+
* The size caption of an attachment chip: "820 KB" below 1 MB (rounded to whole KB), else "1.5 MB" / "1.0 MB" (always one decimal) written with the active
|
|
17
|
+
* locale's decimal mark ("1,5 MB" in a locale that uses a comma). English output is exactly `${n.toFixed(1)} MB` as before.
|
|
18
|
+
*/
|
|
19
|
+
export declare function formatAttachmentSize(bytes: number): string;
|
|
20
|
+
/** True when `file` matches one token of a native `accept` string (`.pdf`, `image/png`, `image/*`). Empty `accept` accepts everything. */
|
|
21
|
+
export declare function fileMatchesAccept(file: File, accept: string): boolean;
|
|
22
|
+
/** "PDF", "PNG, JPEG and WEBP" from an `accept` string, for the default type message. */
|
|
23
|
+
export declare function acceptLabel(accept: string): string;
|
|
24
|
+
/**
|
|
25
|
+
* File picker styled like the other `ui-*` inputs (label, hint, required marker, error, disabled).
|
|
26
|
+
* Value (ngModel / forms) is `File | null`, or `File[]` when `multiple` is set.
|
|
27
|
+
*
|
|
28
|
+
* Set `[showField]="false"` for a picker with no visible field and call `open()` from the host
|
|
29
|
+
* (e.g. an "Attach document" menu action). `(filesSelected)` fires in both modes.
|
|
30
|
+
*
|
|
31
|
+
* Built in (all opt-in, nothing changes unless an input is set):
|
|
32
|
+
* - `clearable`: a Remove button next to the chosen file; `(fileRemoved)` fires after it clears the selection.
|
|
33
|
+
* - `accept` is enforced on picked AND dropped files (`enforceAccept`, on by default), `maxSize` (bytes) refuses bigger
|
|
34
|
+
* files, `rejectEmpty` refuses a 0-byte file (`emptyMessage`) and `minSize` (bytes) refuses smaller ones (`minSizeMessage`). A refused file is never added to the value: the field shows the message (`typeMessage` / `sizeMessage`
|
|
35
|
+
* override the wording, also in picker-only mode), and `(fileRejected)` emits `{ file, reason, message }`.
|
|
36
|
+
* - `required` is a real rule: Angular `Validator` + `UiFieldValidity` (`invalid`, `errorMessage`, `invalidChange`,
|
|
37
|
+
* `showErrors`), like the other inputs. The message (built-in and host `error`) shows only after the user used the field; `[showErrors]="true"` also reveals it. A refused file is always shown at once.
|
|
38
|
+
* - `dropzone`: the field accepts files dropped on it.
|
|
39
|
+
* - `showDetails`: file size after the name; `preview`: a thumbnail of a chosen image.
|
|
40
|
+
* - `loading` (+ `loadingText`): a `ui-skeleton` replaces the file name while the host works on the file (scanning, uploading).
|
|
41
|
+
*/
|
|
42
|
+
export declare class FileInputComponent implements ControlValueAccessor, Validator, UiFieldValidity {
|
|
43
|
+
protected readonly labels: UiLabelsService;
|
|
44
|
+
readonly label: import("@angular/core").InputSignal<string>;
|
|
45
|
+
/** Accessible name for a field with no visible label. */
|
|
46
|
+
readonly ariaLabel: import("@angular/core").InputSignal<string>;
|
|
47
|
+
readonly placeholderInput: import("@angular/core").InputSignal<string | null>;
|
|
48
|
+
readonly placeholder: import("@angular/core").Signal<string>;
|
|
49
|
+
readonly buttonLabelInput: import("@angular/core").InputSignal<string | null>;
|
|
50
|
+
readonly buttonLabel: import("@angular/core").Signal<string>;
|
|
51
|
+
/** Native `accept` string, e.g. ".pdf,.png". Also enforced on picked and dropped files unless `enforceAccept` is false. */
|
|
52
|
+
readonly accept: import("@angular/core").InputSignal<string>;
|
|
53
|
+
readonly multiple: import("@angular/core").InputSignal<boolean>;
|
|
54
|
+
/** A file must be chosen (a real rule: Validator + UiFieldValidity, message shown only after the user used the field; `showErrors="true"` reveals it at once). */
|
|
55
|
+
readonly required: import("@angular/core").InputSignal<boolean>;
|
|
56
|
+
readonly hint: import("@angular/core").InputSignal<string>;
|
|
57
|
+
/** Host-provided error message (wins over the built-in ones). Shown under a visible field only. */
|
|
58
|
+
readonly error: import("@angular/core").InputSignal<string>;
|
|
59
|
+
/** false = no visible field; open the picker from the host with `open()`. */
|
|
60
|
+
readonly showField: import("@angular/core").InputSignal<boolean>;
|
|
61
|
+
/** The host's "tried to submit" flag (e.g. after a failed Save click). `true` reveals the "required" message before the user used the field. */
|
|
62
|
+
readonly showErrors: import("@angular/core").InputSignal<boolean>;
|
|
63
|
+
/**
|
|
64
|
+
* Also report every refused file (wrong type, too big, too small, empty) with a `ToastService` error toast that names the file and
|
|
65
|
+
* the reason, e.g. `"scan.exe" was not added. Only PDF files are allowed.` Meant for the picker-only mode (`[showField]="false"`),
|
|
66
|
+
* where no field is visible to show the message; it works with a visible field too. Several refused files make ONE toast listing each.
|
|
67
|
+
* Default `false`: nothing is toasted (the field message and `(fileRejected)` are unchanged). Needs a `ui-toast` outlet like any toast.
|
|
68
|
+
*/
|
|
69
|
+
readonly toastOnReject: import("@angular/core").InputSignal<boolean>;
|
|
70
|
+
/**
|
|
71
|
+
* When several files are refused in one pick or drop, show EVERY one inside the field as a list (each line
|
|
72
|
+
* `"name" was not added. <reason>`) instead of only the first refusal message. No toast is raised. The same list is available to the
|
|
73
|
+
* host through `rejections` and `(filesRejected)`. Default `false`: the field shows the first refusal message only (unchanged).
|
|
74
|
+
*/
|
|
75
|
+
readonly listRejections: import("@angular/core").InputSignal<boolean>;
|
|
76
|
+
/** Id(s) of host elements that describe the picker (space-separated), added after the field's own error text, like `ui-text-input`'s `ariaDescribedBy`. Empty: nothing is added. */
|
|
77
|
+
readonly ariaDescribedBy: import("@angular/core").InputSignal<string>;
|
|
78
|
+
/** Show a Remove button next to the chosen file. */
|
|
79
|
+
readonly clearable: import("@angular/core").InputSignal<boolean>;
|
|
80
|
+
readonly removeLabelInput: import("@angular/core").InputSignal<string | null>;
|
|
81
|
+
readonly removeLabel: import("@angular/core").Signal<string>;
|
|
82
|
+
/** Largest allowed file in bytes; a bigger file is refused. null = no limit. */
|
|
83
|
+
readonly maxSize: import("@angular/core").InputSignal<number | null>;
|
|
84
|
+
/** Refuse files that do not match `accept` (picked or dropped). */
|
|
85
|
+
readonly enforceAccept: import("@angular/core").InputSignal<boolean>;
|
|
86
|
+
/** Replaces the built-in "Only PDF files are allowed." message. */
|
|
87
|
+
readonly typeMessage: import("@angular/core").InputSignal<string>;
|
|
88
|
+
/** Replaces the built-in "The file must be 5 MB or smaller." message. */
|
|
89
|
+
readonly sizeMessage: import("@angular/core").InputSignal<string>;
|
|
90
|
+
/** Refuse a file with no content (0 bytes). Off by default. */
|
|
91
|
+
readonly rejectEmpty: import("@angular/core").InputSignal<boolean>;
|
|
92
|
+
/** Replaces the built-in "The file is empty." message. */
|
|
93
|
+
readonly emptyMessage: import("@angular/core").InputSignal<string>;
|
|
94
|
+
/** Smallest allowed file in bytes; a smaller (non-empty) file is refused. null = no minimum. */
|
|
95
|
+
readonly minSize: import("@angular/core").InputSignal<number | null>;
|
|
96
|
+
/** Replaces the built-in "The file must be at least 10 KB." message. */
|
|
97
|
+
readonly minSizeMessage: import("@angular/core").InputSignal<string>;
|
|
98
|
+
/** The field accepts files dropped on it. */
|
|
99
|
+
readonly dropzone: import("@angular/core").InputSignal<boolean>;
|
|
100
|
+
/** Show the file size after the name. */
|
|
101
|
+
readonly showDetails: import("@angular/core").InputSignal<boolean>;
|
|
102
|
+
/** Show a thumbnail when the chosen file is an image. */
|
|
103
|
+
readonly preview: import("@angular/core").InputSignal<boolean>;
|
|
104
|
+
/** The host is working on the file (scanning, uploading): a skeleton replaces the name and Browse / Remove are disabled. */
|
|
105
|
+
readonly loading: import("@angular/core").InputSignal<boolean>;
|
|
106
|
+
/** Screen-reader text while `loading` (default "Processing…"). */
|
|
107
|
+
readonly loadingText: import("@angular/core").InputSignal<string>;
|
|
108
|
+
/** Emits the chosen (accepted) files (one or many) each time the user picks or drops. */
|
|
109
|
+
readonly filesSelected: import("@angular/core").OutputEmitterRef<File[]>;
|
|
110
|
+
/** A picked or dropped file was refused (wrong type or too big). */
|
|
111
|
+
readonly fileRejected: import("@angular/core").OutputEmitterRef<FileRejection>;
|
|
112
|
+
/** Every file refused by ONE pick or drop, in one event (fires only when at least one file was refused; `(fileRejected)` still fires per file). */
|
|
113
|
+
readonly filesRejected: import("@angular/core").OutputEmitterRef<FileRejection[]>;
|
|
114
|
+
/** The Remove button cleared the selection. */
|
|
115
|
+
readonly fileRemoved: import("@angular/core").OutputEmitterRef<void>;
|
|
116
|
+
/** Emits whenever the field becomes invalid / valid. */
|
|
117
|
+
readonly invalidChange: import("@angular/core").OutputEmitterRef<boolean>;
|
|
118
|
+
readonly _disabledInput: import("@angular/core").InputSignal<boolean>;
|
|
119
|
+
private readonly _cvaDisabled;
|
|
120
|
+
protected readonly disabled: import("@angular/core").Signal<boolean>;
|
|
121
|
+
protected readonly _files: import("@angular/core").WritableSignal<File[]>;
|
|
122
|
+
protected readonly _inputId: string;
|
|
123
|
+
private readonly fileEl;
|
|
124
|
+
protected readonly _dragging: import("@angular/core").WritableSignal<boolean>;
|
|
125
|
+
/** Message of the last refused file ('' when the last pick was fine); shown in every mode. */
|
|
126
|
+
private readonly _toast;
|
|
127
|
+
private readonly _rejection;
|
|
128
|
+
/** `aria-describedby` of the native input and the drop zone: the shown error text, then the host's ids. Absent when neither exists. */
|
|
129
|
+
protected readonly _describedBy: import("@angular/core").Signal<string | null>;
|
|
130
|
+
private readonly _rejected;
|
|
131
|
+
/** The files refused by the last pick or drop (empty when the last pick was fine, after Remove / clear, and when files are set from the form). */
|
|
132
|
+
readonly rejections: import("@angular/core").Signal<FileRejection[]>;
|
|
133
|
+
/** One line per refused file: `"name" was not added. <reason>`. */
|
|
134
|
+
readonly rejectionLines: import("@angular/core").Signal<string[]>;
|
|
135
|
+
/** The list replaces the single message only while it is the refusal that is shown (a host `[error]` on a visible field wins). */
|
|
136
|
+
protected readonly _showRejectList: import("@angular/core").Signal<boolean>;
|
|
137
|
+
private readonly _reveal;
|
|
138
|
+
private readonly _issue;
|
|
139
|
+
/** True while a required field is empty, the last pick was refused, or the host passed an `[error]`. */
|
|
140
|
+
readonly invalid: import("@angular/core").Signal<boolean>;
|
|
141
|
+
/** Message of the first broken built-in rule ('' when valid), shown or not. */
|
|
142
|
+
readonly errorMessage: import("@angular/core").Signal<string>;
|
|
143
|
+
/** What the field shows: the host error (visible field only), a refused file, or the revealed built-in message. */
|
|
144
|
+
protected readonly _shownError: import("@angular/core").Signal<string>;
|
|
145
|
+
protected readonly summary: import("@angular/core").Signal<string>;
|
|
146
|
+
/** Object URL of the chosen image (single file) while `preview` is on. */
|
|
147
|
+
protected readonly _previewUrl: import("@angular/core").WritableSignal<string | null>;
|
|
148
|
+
private _urlToRevoke;
|
|
149
|
+
private _onValidatorChange;
|
|
150
|
+
protected _onChange: (_: File | File[] | null) => void;
|
|
151
|
+
protected _onTouched: () => void;
|
|
152
|
+
constructor();
|
|
153
|
+
private revokePreview;
|
|
154
|
+
/** Re-run the form control's validation when a rule input changes. */
|
|
155
|
+
ngOnChanges(): void;
|
|
156
|
+
validate(_control: AbstractControl): ValidationErrors | null;
|
|
157
|
+
registerOnValidatorChange(fn: () => void): void;
|
|
158
|
+
/** Opens the native file dialog. */
|
|
159
|
+
open(): void;
|
|
160
|
+
/** Clears the selection (and the native input, so the same file can be picked again) and any "refused file" message. */
|
|
161
|
+
clear(): void;
|
|
162
|
+
/** The Remove button: clears, then tells the host. */
|
|
163
|
+
protected remove(): void;
|
|
164
|
+
writeValue(val: File | File[] | null): void;
|
|
165
|
+
registerOnChange(fn: (v: File | File[] | null) => void): void;
|
|
166
|
+
registerOnTouched(fn: () => void): void;
|
|
167
|
+
setDisabledState(d: boolean): void;
|
|
168
|
+
protected _touch(): void;
|
|
169
|
+
protected onChange(event: Event): void;
|
|
170
|
+
protected onDragOver(event: DragEvent): void;
|
|
171
|
+
protected onDragLeave(event: DragEvent): void;
|
|
172
|
+
protected onDrop(event: DragEvent): void;
|
|
173
|
+
/** Keeps the first-message string (the `invalid` state) and the full list in step. */
|
|
174
|
+
private setRejections;
|
|
175
|
+
private rejectionFor;
|
|
176
|
+
/** Applies picked / dropped files: refused ones raise the message and `fileRejected`, accepted ones become the value. */
|
|
177
|
+
private accept$;
|
|
178
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FileInputComponent, never>;
|
|
179
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FileInputComponent, "ui-file-input", never, {
|
|
180
|
+
"label": {
|
|
181
|
+
"alias": "label";
|
|
182
|
+
"required": false;
|
|
183
|
+
"isSignal": true;
|
|
184
|
+
};
|
|
185
|
+
"ariaLabel": {
|
|
186
|
+
"alias": "ariaLabel";
|
|
187
|
+
"required": false;
|
|
188
|
+
"isSignal": true;
|
|
189
|
+
};
|
|
190
|
+
"placeholderInput": {
|
|
191
|
+
"alias": "placeholder";
|
|
192
|
+
"required": false;
|
|
193
|
+
"isSignal": true;
|
|
194
|
+
};
|
|
195
|
+
"buttonLabelInput": {
|
|
196
|
+
"alias": "buttonLabel";
|
|
197
|
+
"required": false;
|
|
198
|
+
"isSignal": true;
|
|
199
|
+
};
|
|
200
|
+
"accept": {
|
|
201
|
+
"alias": "accept";
|
|
202
|
+
"required": false;
|
|
203
|
+
"isSignal": true;
|
|
204
|
+
};
|
|
205
|
+
"multiple": {
|
|
206
|
+
"alias": "multiple";
|
|
207
|
+
"required": false;
|
|
208
|
+
"isSignal": true;
|
|
209
|
+
};
|
|
210
|
+
"required": {
|
|
211
|
+
"alias": "required";
|
|
212
|
+
"required": false;
|
|
213
|
+
"isSignal": true;
|
|
214
|
+
};
|
|
215
|
+
"hint": {
|
|
216
|
+
"alias": "hint";
|
|
217
|
+
"required": false;
|
|
218
|
+
"isSignal": true;
|
|
219
|
+
};
|
|
220
|
+
"error": {
|
|
221
|
+
"alias": "error";
|
|
222
|
+
"required": false;
|
|
223
|
+
"isSignal": true;
|
|
224
|
+
};
|
|
225
|
+
"showField": {
|
|
226
|
+
"alias": "showField";
|
|
227
|
+
"required": false;
|
|
228
|
+
"isSignal": true;
|
|
229
|
+
};
|
|
230
|
+
"showErrors": {
|
|
231
|
+
"alias": "showErrors";
|
|
232
|
+
"required": false;
|
|
233
|
+
"isSignal": true;
|
|
234
|
+
};
|
|
235
|
+
"toastOnReject": {
|
|
236
|
+
"alias": "toastOnReject";
|
|
237
|
+
"required": false;
|
|
238
|
+
"isSignal": true;
|
|
239
|
+
};
|
|
240
|
+
"listRejections": {
|
|
241
|
+
"alias": "listRejections";
|
|
242
|
+
"required": false;
|
|
243
|
+
"isSignal": true;
|
|
244
|
+
};
|
|
245
|
+
"ariaDescribedBy": {
|
|
246
|
+
"alias": "ariaDescribedBy";
|
|
247
|
+
"required": false;
|
|
248
|
+
"isSignal": true;
|
|
249
|
+
};
|
|
250
|
+
"clearable": {
|
|
251
|
+
"alias": "clearable";
|
|
252
|
+
"required": false;
|
|
253
|
+
"isSignal": true;
|
|
254
|
+
};
|
|
255
|
+
"removeLabelInput": {
|
|
256
|
+
"alias": "removeLabel";
|
|
257
|
+
"required": false;
|
|
258
|
+
"isSignal": true;
|
|
259
|
+
};
|
|
260
|
+
"maxSize": {
|
|
261
|
+
"alias": "maxSize";
|
|
262
|
+
"required": false;
|
|
263
|
+
"isSignal": true;
|
|
264
|
+
};
|
|
265
|
+
"enforceAccept": {
|
|
266
|
+
"alias": "enforceAccept";
|
|
267
|
+
"required": false;
|
|
268
|
+
"isSignal": true;
|
|
269
|
+
};
|
|
270
|
+
"typeMessage": {
|
|
271
|
+
"alias": "typeMessage";
|
|
272
|
+
"required": false;
|
|
273
|
+
"isSignal": true;
|
|
274
|
+
};
|
|
275
|
+
"sizeMessage": {
|
|
276
|
+
"alias": "sizeMessage";
|
|
277
|
+
"required": false;
|
|
278
|
+
"isSignal": true;
|
|
279
|
+
};
|
|
280
|
+
"rejectEmpty": {
|
|
281
|
+
"alias": "rejectEmpty";
|
|
282
|
+
"required": false;
|
|
283
|
+
"isSignal": true;
|
|
284
|
+
};
|
|
285
|
+
"emptyMessage": {
|
|
286
|
+
"alias": "emptyMessage";
|
|
287
|
+
"required": false;
|
|
288
|
+
"isSignal": true;
|
|
289
|
+
};
|
|
290
|
+
"minSize": {
|
|
291
|
+
"alias": "minSize";
|
|
292
|
+
"required": false;
|
|
293
|
+
"isSignal": true;
|
|
294
|
+
};
|
|
295
|
+
"minSizeMessage": {
|
|
296
|
+
"alias": "minSizeMessage";
|
|
297
|
+
"required": false;
|
|
298
|
+
"isSignal": true;
|
|
299
|
+
};
|
|
300
|
+
"dropzone": {
|
|
301
|
+
"alias": "dropzone";
|
|
302
|
+
"required": false;
|
|
303
|
+
"isSignal": true;
|
|
304
|
+
};
|
|
305
|
+
"showDetails": {
|
|
306
|
+
"alias": "showDetails";
|
|
307
|
+
"required": false;
|
|
308
|
+
"isSignal": true;
|
|
309
|
+
};
|
|
310
|
+
"preview": {
|
|
311
|
+
"alias": "preview";
|
|
312
|
+
"required": false;
|
|
313
|
+
"isSignal": true;
|
|
314
|
+
};
|
|
315
|
+
"loading": {
|
|
316
|
+
"alias": "loading";
|
|
317
|
+
"required": false;
|
|
318
|
+
"isSignal": true;
|
|
319
|
+
};
|
|
320
|
+
"loadingText": {
|
|
321
|
+
"alias": "loadingText";
|
|
322
|
+
"required": false;
|
|
323
|
+
"isSignal": true;
|
|
324
|
+
};
|
|
325
|
+
"_disabledInput": {
|
|
326
|
+
"alias": "disabled";
|
|
327
|
+
"required": false;
|
|
328
|
+
"isSignal": true;
|
|
329
|
+
};
|
|
330
|
+
}, {
|
|
331
|
+
"filesSelected": "filesSelected";
|
|
332
|
+
"fileRejected": "fileRejected";
|
|
333
|
+
"filesRejected": "filesRejected";
|
|
334
|
+
"fileRemoved": "fileRemoved";
|
|
335
|
+
"invalidChange": "invalidChange";
|
|
336
|
+
}, never, never, true, never>;
|
|
337
|
+
}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import { UiLabelsService } from "@forgeroute/ui/core";
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export type FixedFooterAlign = 'start' | 'center' | 'end' | 'between';
|
|
4
|
+
/**
|
|
5
|
+
* A footer bar fixed to the bottom of the page: it stays visible while the page scrolls, sits flush with the bottom of the viewport
|
|
6
|
+
* and spans the full width of the content area (from the side nav to the end of the screen). Put it as the LAST child of the page:
|
|
7
|
+
*
|
|
8
|
+
* <div class="settings-page">
|
|
9
|
+
* ...the page content...
|
|
10
|
+
* <ui-fixed-footer>
|
|
11
|
+
* <ui-button variant="primary" (click)="save()">Save All Settings</ui-button>
|
|
12
|
+
* </ui-fixed-footer>
|
|
13
|
+
* </div>
|
|
14
|
+
*
|
|
15
|
+
* How it works: the bar is `position: sticky` at the bottom of the scrolling page. Inside `ui-app-shell` the content area is padded
|
|
16
|
+
* (24px / 16px / 12px by width) and the shell publishes that padding as `--shell-content-padding`; the footer cancels it with negative
|
|
17
|
+
* margins and a negative `bottom`, so it reaches the viewport edges instead of stopping inside the padding. Outside the shell the
|
|
18
|
+
* variable is unset (0px) and the bar simply sticks to the bottom of its scrolling parent. Nothing else needs to be set up.
|
|
19
|
+
*
|
|
20
|
+
* Inputs:
|
|
21
|
+
* - `align` (default `end`): where the projected content sits: start | center | end | between.
|
|
22
|
+
* - `ariaLabel` (default `Page actions`): the accessible name of the bar (a labelled region).
|
|
23
|
+
* - `elevated` (default true): the soft shadow above the bar; false = just the top border.
|
|
24
|
+
* Theming by CSS custom properties: `--ui-footer-bg` (white), `--ui-footer-border` (#e2e8f0), `--ui-footer-pad-y` (20px; 16px up to 1024px, 14px up to 480px).
|
|
25
|
+
*/
|
|
26
|
+
export declare class FixedFooterComponent {
|
|
27
|
+
protected readonly labels: UiLabelsService;
|
|
28
|
+
/** Where the projected content sits in the bar. */
|
|
29
|
+
readonly align: import("@angular/core").InputSignal<FixedFooterAlign>;
|
|
30
|
+
/** Accessible name of the bar. */
|
|
31
|
+
readonly ariaLabelInput: import("@angular/core").InputSignal<string | null>;
|
|
32
|
+
readonly ariaLabel: import("@angular/core").Signal<string>;
|
|
33
|
+
/** The soft shadow above the bar (false = only the top border). */
|
|
34
|
+
readonly elevated: import("@angular/core").InputSignal<boolean>;
|
|
35
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FixedFooterComponent, never>;
|
|
36
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FixedFooterComponent, "ui-fixed-footer", never, {
|
|
37
|
+
"align": {
|
|
38
|
+
"alias": "align";
|
|
39
|
+
"required": false;
|
|
40
|
+
"isSignal": true;
|
|
41
|
+
};
|
|
42
|
+
"ariaLabelInput": {
|
|
43
|
+
"alias": "ariaLabel";
|
|
44
|
+
"required": false;
|
|
45
|
+
"isSignal": true;
|
|
46
|
+
};
|
|
47
|
+
"elevated": {
|
|
48
|
+
"alias": "elevated";
|
|
49
|
+
"required": false;
|
|
50
|
+
"isSignal": true;
|
|
51
|
+
};
|
|
52
|
+
}, {}, never, ["*"], true, never>;
|
|
53
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class FormRowComponent {
|
|
3
|
+
readonly cols: import("@angular/core").InputSignal<1 | 2 | 3 | 4>;
|
|
4
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FormRowComponent, never>;
|
|
5
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FormRowComponent, "ui-form-row", never, {
|
|
6
|
+
"cols": {
|
|
7
|
+
"alias": "cols";
|
|
8
|
+
"required": false;
|
|
9
|
+
"isSignal": true;
|
|
10
|
+
};
|
|
11
|
+
}, {}, never, ["*"], true, never>;
|
|
12
|
+
}
|
|
13
|
+
/**
|
|
14
|
+
* Lets a direct child of `ui-form-row` span several columns: `<ui-text-input uiColSpan="2" .../>` (2 or 3 columns) or
|
|
15
|
+
* `uiColSpan="all"` (every column). It only adds the class `ui-span-2` / `ui-span-3` / `ui-span-all`, which `ui-form-row` styles, so a
|
|
16
|
+
* plain `class="ui-span-2"` on the child works too without importing this directive. On a phone (<= 480px) the row is one column and the
|
|
17
|
+
* child simply takes the full width. Keep a numeric span within the row's `cols` (use `all` for the whole row).
|
|
18
|
+
*/
|
|
19
|
+
export declare class FormColSpanDirective {
|
|
20
|
+
readonly uiColSpan: import("@angular/core").InputSignal<"" | 2 | 3 | "all" | "2" | "3">;
|
|
21
|
+
protected readonly _class: import("@angular/core").Signal<string>;
|
|
22
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FormColSpanDirective, never>;
|
|
23
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<FormColSpanDirective, "[uiColSpan]", never, {
|
|
24
|
+
"uiColSpan": {
|
|
25
|
+
"alias": "uiColSpan";
|
|
26
|
+
"required": false;
|
|
27
|
+
"isSignal": true;
|
|
28
|
+
};
|
|
29
|
+
}, {}, never, never, true, never>;
|
|
30
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class FormSectionComponent {
|
|
3
|
+
readonly label: import("@angular/core").InputSignal<string>;
|
|
4
|
+
readonly divider: import("@angular/core").InputSignal<boolean>;
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FormSectionComponent, never>;
|
|
6
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FormSectionComponent, "ui-form-section", never, {
|
|
7
|
+
"label": {
|
|
8
|
+
"alias": "label";
|
|
9
|
+
"required": false;
|
|
10
|
+
"isSignal": true;
|
|
11
|
+
};
|
|
12
|
+
"divider": {
|
|
13
|
+
"alias": "divider";
|
|
14
|
+
"required": false;
|
|
15
|
+
"isSignal": true;
|
|
16
|
+
};
|
|
17
|
+
}, {}, never, ["*"], true, never>;
|
|
18
|
+
}
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
/**
|
|
3
|
+
* A real `<form>` for a group of library fields, so the browser (and assistive tech) treats it as one: it is announced as a
|
|
4
|
+
* "form" landmark when it has a name, and pressing Enter in a field submits it through a `ui-button type="submit"`. Apps do not write
|
|
5
|
+
* a native `<form>`; they use this.
|
|
6
|
+
*
|
|
7
|
+
* <ui-form ariaLabel="Informant contact details" (submitted)="save()">
|
|
8
|
+
* <ui-text-input label="Name" [(ngModel)]="name" />
|
|
9
|
+
* <ui-button type="submit">Save</ui-button>
|
|
10
|
+
* </ui-form>
|
|
11
|
+
*
|
|
12
|
+
* Works with Reactive Forms: `<ui-form [formGroup]="form" ariaLabel="..." (ngSubmit)="save()">` (the `submit` event of the inner
|
|
13
|
+
* form bubbles to the host, which is what `FormGroupDirective` listens to; it also stops the page from reloading).
|
|
14
|
+
*
|
|
15
|
+
* - `ariaLabel` (or `ariaLabelledby`): the form's name. A named form is a landmark, so give it one only for a main form of the page.
|
|
16
|
+
* - The browser's own validation bubbles are off (`novalidate`): library inputs show their own messages.
|
|
17
|
+
* - `submitted` emits the submit event after the default action (a page reload) was prevented.
|
|
18
|
+
* - `focusFirstInvalid({ scroll })`: after a failed Save, call it (e.g. `form.focusFirstInvalid()` from a `viewChild(FormComponent)`) to scroll to and focus the first
|
|
19
|
+
* field that shows an error. It looks for `aria-invalid="true"` in DOM order (what every library input sets once it shows an error); on a
|
|
20
|
+
* group (radio group, checkbox group, business hours) it focuses the group's first enabled control. Disabled and hidden controls are
|
|
21
|
+
* skipped. Returns whether something was focused. `invalidFields()` returns those controls without moving focus.
|
|
22
|
+
* - Layout: the host is a block and the form inside is a plain block - it adds no spacing; put a `ui-stack` / `ui-form-section` inside.
|
|
23
|
+
*/
|
|
24
|
+
export declare class FormComponent {
|
|
25
|
+
/** The form's accessible name. Empty = unnamed (no landmark). */
|
|
26
|
+
readonly ariaLabel: import("@angular/core").InputSignal<string>;
|
|
27
|
+
/** Id of an element that names the form (wins over `ariaLabel`). */
|
|
28
|
+
readonly ariaLabelledby: import("@angular/core").InputSignal<string>;
|
|
29
|
+
/** Browser autofill for the whole form: 'on' | 'off'. Empty = the browser default. */
|
|
30
|
+
readonly autocomplete: import("@angular/core").InputSignal<"" | "on" | "off">;
|
|
31
|
+
/** Emits the submit event (Enter in a field, or a submit button). The page is never reloaded. */
|
|
32
|
+
readonly submitted: import("@angular/core").OutputEmitterRef<Event>;
|
|
33
|
+
private readonly _host;
|
|
34
|
+
private static _usable;
|
|
35
|
+
/**
|
|
36
|
+
* The native controls that currently show an error (`aria-invalid="true"`), in DOM order. A group marked invalid (radio group, checkbox
|
|
37
|
+
* group, business hours...) contributes its first enabled, visible control. Disabled and hidden controls are left out.
|
|
38
|
+
*/
|
|
39
|
+
invalidFields(): HTMLElement[];
|
|
40
|
+
/**
|
|
41
|
+
* Scrolls the first invalid field (see `invalidFields`) to the middle of the screen and focuses it without a second scroll.
|
|
42
|
+
* `scroll: false` only focuses. Returns false (and does nothing) when no field is invalid.
|
|
43
|
+
*/
|
|
44
|
+
focusFirstInvalid(options?: {
|
|
45
|
+
scroll?: boolean;
|
|
46
|
+
}): boolean;
|
|
47
|
+
protected onSubmit(event: Event): void;
|
|
48
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FormComponent, never>;
|
|
49
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FormComponent, "ui-form", never, {
|
|
50
|
+
"ariaLabel": {
|
|
51
|
+
"alias": "ariaLabel";
|
|
52
|
+
"required": false;
|
|
53
|
+
"isSignal": true;
|
|
54
|
+
};
|
|
55
|
+
"ariaLabelledby": {
|
|
56
|
+
"alias": "ariaLabelledby";
|
|
57
|
+
"required": false;
|
|
58
|
+
"isSignal": true;
|
|
59
|
+
};
|
|
60
|
+
"autocomplete": {
|
|
61
|
+
"alias": "autocomplete";
|
|
62
|
+
"required": false;
|
|
63
|
+
"isSignal": true;
|
|
64
|
+
};
|
|
65
|
+
}, {
|
|
66
|
+
"submitted": "submitted";
|
|
67
|
+
}, never, ["*"], true, never>;
|
|
68
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
/**
|
|
3
|
+
* Small muted helper text shown under a form or panel section.
|
|
4
|
+
*
|
|
5
|
+
* <ui-hint>This does not affect the scheduled send date.</ui-hint>
|
|
6
|
+
*/
|
|
7
|
+
export declare class HintComponent {
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<HintComponent, never>;
|
|
9
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<HintComponent, "ui-hint", never, {}, {}, never, ["*"], true, never>;
|
|
10
|
+
}
|