@forgeroute/ui 0.5.16 → 0.5.17
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/fesm2022/forgeroute-ui-action-bar.mjs +190 -0
- package/fesm2022/forgeroute-ui-action-bar.mjs.map +1 -0
- package/fesm2022/forgeroute-ui-address-input.mjs +1164 -0
- package/fesm2022/forgeroute-ui-address-input.mjs.map +1 -0
- package/fesm2022/forgeroute-ui-alert.mjs +223 -0
- package/fesm2022/forgeroute-ui-alert.mjs.map +1 -0
- package/fesm2022/forgeroute-ui-avatar.mjs +320 -0
- package/fesm2022/forgeroute-ui-avatar.mjs.map +1 -0
- package/fesm2022/forgeroute-ui-badge.mjs +158 -0
- package/fesm2022/forgeroute-ui-badge.mjs.map +1 -0
- package/fesm2022/forgeroute-ui-bar-row.mjs +255 -0
- package/fesm2022/forgeroute-ui-bar-row.mjs.map +1 -0
- package/fesm2022/forgeroute-ui-boards.mjs +2201 -0
- package/fesm2022/forgeroute-ui-boards.mjs.map +1 -0
- package/fesm2022/forgeroute-ui-bulk-eligible.mjs +172 -0
- package/fesm2022/forgeroute-ui-bulk-eligible.mjs.map +1 -0
- package/fesm2022/forgeroute-ui-business-hours.mjs +771 -0
- package/fesm2022/forgeroute-ui-business-hours.mjs.map +1 -0
- package/fesm2022/forgeroute-ui-calendar.mjs +2006 -0
- package/fesm2022/forgeroute-ui-calendar.mjs.map +1 -0
- package/fesm2022/forgeroute-ui-card-list-item.mjs +556 -0
- package/fesm2022/forgeroute-ui-card-list-item.mjs.map +1 -0
- package/fesm2022/forgeroute-ui-charts.mjs +1 -1
- package/fesm2022/forgeroute-ui-charts.mjs.map +1 -1
- package/fesm2022/forgeroute-ui-checkbox.mjs +815 -0
- package/fesm2022/forgeroute-ui-checkbox.mjs.map +1 -0
- package/fesm2022/forgeroute-ui-chip.mjs +379 -0
- package/fesm2022/forgeroute-ui-chip.mjs.map +1 -0
- package/fesm2022/forgeroute-ui-color-input.mjs +492 -0
- package/fesm2022/forgeroute-ui-color-input.mjs.map +1 -0
- package/fesm2022/forgeroute-ui-column-filter.mjs +645 -0
- package/fesm2022/forgeroute-ui-column-filter.mjs.map +1 -0
- package/fesm2022/forgeroute-ui-columns.mjs +351 -0
- package/fesm2022/forgeroute-ui-columns.mjs.map +1 -0
- package/fesm2022/forgeroute-ui-combobox.mjs +772 -0
- package/fesm2022/forgeroute-ui-combobox.mjs.map +1 -0
- package/fesm2022/forgeroute-ui-confirm.mjs +48 -0
- package/fesm2022/forgeroute-ui-confirm.mjs.map +1 -0
- package/fesm2022/forgeroute-ui-contact-picker.mjs +865 -0
- package/fesm2022/forgeroute-ui-contact-picker.mjs.map +1 -0
- package/fesm2022/forgeroute-ui-conversations.mjs +3627 -0
- package/fesm2022/forgeroute-ui-conversations.mjs.map +1 -0
- package/fesm2022/forgeroute-ui-copy-field.mjs +378 -0
- package/fesm2022/forgeroute-ui-copy-field.mjs.map +1 -0
- package/fesm2022/forgeroute-ui-data-table-core.mjs +6150 -0
- package/fesm2022/forgeroute-ui-data-table-core.mjs.map +1 -0
- package/fesm2022/forgeroute-ui-date-input.mjs +384 -0
- package/fesm2022/forgeroute-ui-date-input.mjs.map +1 -0
- package/fesm2022/forgeroute-ui-date-range-picker.mjs +453 -0
- package/fesm2022/forgeroute-ui-date-range-picker.mjs.map +1 -0
- package/fesm2022/forgeroute-ui-datetime-input.mjs +375 -0
- package/fesm2022/forgeroute-ui-datetime-input.mjs.map +1 -0
- package/fesm2022/forgeroute-ui-detail-card.mjs +655 -0
- package/fesm2022/forgeroute-ui-detail-card.mjs.map +1 -0
- package/fesm2022/forgeroute-ui-discount-selector.mjs +259 -0
- package/fesm2022/forgeroute-ui-discount-selector.mjs.map +1 -0
- package/fesm2022/forgeroute-ui-divider.mjs +111 -0
- package/fesm2022/forgeroute-ui-divider.mjs.map +1 -0
- package/fesm2022/forgeroute-ui-dropdown.mjs +550 -0
- package/fesm2022/forgeroute-ui-dropdown.mjs.map +1 -0
- package/fesm2022/forgeroute-ui-editor.mjs +4545 -0
- package/fesm2022/forgeroute-ui-editor.mjs.map +1 -0
- package/fesm2022/forgeroute-ui-empty-state.mjs +231 -0
- package/fesm2022/forgeroute-ui-empty-state.mjs.map +1 -0
- package/fesm2022/forgeroute-ui-error-state.mjs +195 -0
- package/fesm2022/forgeroute-ui-error-state.mjs.map +1 -0
- package/fesm2022/forgeroute-ui-error.mjs +93 -0
- package/fesm2022/forgeroute-ui-error.mjs.map +1 -0
- package/fesm2022/forgeroute-ui-fade.mjs +117 -0
- package/fesm2022/forgeroute-ui-fade.mjs.map +1 -0
- package/fesm2022/forgeroute-ui-file-input.mjs +999 -0
- package/fesm2022/forgeroute-ui-file-input.mjs.map +1 -0
- package/fesm2022/forgeroute-ui-fixed-footer.mjs +115 -0
- package/fesm2022/forgeroute-ui-fixed-footer.mjs.map +1 -0
- package/fesm2022/forgeroute-ui-form-row.mjs +126 -0
- package/fesm2022/forgeroute-ui-form-row.mjs.map +1 -0
- package/fesm2022/forgeroute-ui-form-section.mjs +93 -0
- package/fesm2022/forgeroute-ui-form-section.mjs.map +1 -0
- package/fesm2022/forgeroute-ui-form.mjs +139 -0
- package/fesm2022/forgeroute-ui-form.mjs.map +1 -0
- package/fesm2022/forgeroute-ui-hint.mjs +47 -0
- package/fesm2022/forgeroute-ui-hint.mjs.map +1 -0
- package/fesm2022/forgeroute-ui-icon-picker.mjs +424 -0
- package/fesm2022/forgeroute-ui-icon-picker.mjs.map +1 -0
- package/fesm2022/forgeroute-ui-icon.mjs +311 -0
- package/fesm2022/forgeroute-ui-icon.mjs.map +1 -0
- package/fesm2022/forgeroute-ui-image-preview.mjs +237 -0
- package/fesm2022/forgeroute-ui-image-preview.mjs.map +1 -0
- package/fesm2022/forgeroute-ui-keypad.mjs +278 -0
- package/fesm2022/forgeroute-ui-keypad.mjs.map +1 -0
- package/fesm2022/forgeroute-ui-kpi-card.mjs +490 -0
- package/fesm2022/forgeroute-ui-kpi-card.mjs.map +1 -0
- package/fesm2022/forgeroute-ui-language-switcher.mjs +134 -0
- package/fesm2022/forgeroute-ui-language-switcher.mjs.map +1 -0
- package/fesm2022/forgeroute-ui-layout.mjs +18 -0
- package/fesm2022/forgeroute-ui-layout.mjs.map +1 -0
- package/fesm2022/forgeroute-ui-list-item.mjs +620 -0
- package/fesm2022/forgeroute-ui-list-item.mjs.map +1 -0
- package/fesm2022/forgeroute-ui-list.mjs +866 -0
- package/fesm2022/forgeroute-ui-list.mjs.map +1 -0
- package/fesm2022/forgeroute-ui-live-region.mjs +118 -0
- package/fesm2022/forgeroute-ui-live-region.mjs.map +1 -0
- package/fesm2022/forgeroute-ui-map.mjs +5 -1
- package/fesm2022/forgeroute-ui-map.mjs.map +1 -1
- package/fesm2022/forgeroute-ui-maps.mjs +2 -1
- package/fesm2022/forgeroute-ui-maps.mjs.map +1 -1
- package/fesm2022/forgeroute-ui-media.mjs +4615 -0
- package/fesm2022/forgeroute-ui-media.mjs.map +1 -0
- package/fesm2022/forgeroute-ui-messaging.mjs +20 -1
- package/fesm2022/forgeroute-ui-messaging.mjs.map +1 -1
- package/fesm2022/forgeroute-ui-more-menu.mjs +418 -0
- package/fesm2022/forgeroute-ui-more-menu.mjs.map +1 -0
- package/fesm2022/forgeroute-ui-multi-select.mjs +532 -0
- package/fesm2022/forgeroute-ui-multi-select.mjs.map +1 -0
- package/fesm2022/forgeroute-ui-notes.mjs +768 -0
- package/fesm2022/forgeroute-ui-notes.mjs.map +1 -0
- package/fesm2022/forgeroute-ui-notification-bell.mjs +587 -0
- package/fesm2022/forgeroute-ui-notification-bell.mjs.map +1 -0
- package/fesm2022/forgeroute-ui-offline-banner.mjs +156 -0
- package/fesm2022/forgeroute-ui-offline-banner.mjs.map +1 -0
- package/fesm2022/forgeroute-ui-option-card.mjs +379 -0
- package/fesm2022/forgeroute-ui-option-card.mjs.map +1 -0
- package/fesm2022/forgeroute-ui-page.mjs +317 -0
- package/fesm2022/forgeroute-ui-page.mjs.map +1 -0
- package/fesm2022/forgeroute-ui-pagination.mjs +225 -0
- package/fesm2022/forgeroute-ui-pagination.mjs.map +1 -0
- package/fesm2022/forgeroute-ui-panel-info-list.mjs +422 -0
- package/fesm2022/forgeroute-ui-panel-info-list.mjs.map +1 -0
- package/fesm2022/forgeroute-ui-password-requirements.mjs +237 -0
- package/fesm2022/forgeroute-ui-password-requirements.mjs.map +1 -0
- package/fesm2022/forgeroute-ui-payments.mjs +6243 -0
- package/fesm2022/forgeroute-ui-payments.mjs.map +1 -0
- package/fesm2022/forgeroute-ui-pdf.mjs +9 -1
- package/fesm2022/forgeroute-ui-pdf.mjs.map +1 -1
- package/fesm2022/forgeroute-ui-phone-number-picker.mjs +840 -0
- package/fesm2022/forgeroute-ui-phone-number-picker.mjs.map +1 -0
- package/fesm2022/forgeroute-ui-pill-tabs.mjs +546 -0
- package/fesm2022/forgeroute-ui-pill-tabs.mjs.map +1 -0
- package/fesm2022/forgeroute-ui-print.mjs +76 -0
- package/fesm2022/forgeroute-ui-print.mjs.map +1 -0
- package/fesm2022/forgeroute-ui-progress-bar.mjs +252 -0
- package/fesm2022/forgeroute-ui-progress-bar.mjs.map +1 -0
- package/fesm2022/forgeroute-ui-progress-ring.mjs +277 -0
- package/fesm2022/forgeroute-ui-progress-ring.mjs.map +1 -0
- package/fesm2022/forgeroute-ui-quick-filter-tabs.mjs +301 -0
- package/fesm2022/forgeroute-ui-quick-filter-tabs.mjs.map +1 -0
- package/fesm2022/forgeroute-ui-quickbooks.mjs +18 -1
- package/fesm2022/forgeroute-ui-quickbooks.mjs.map +1 -1
- package/fesm2022/forgeroute-ui-radio-matrix.mjs +471 -0
- package/fesm2022/forgeroute-ui-radio-matrix.mjs.map +1 -0
- package/fesm2022/forgeroute-ui-radio.mjs +911 -0
- package/fesm2022/forgeroute-ui-radio.mjs.map +1 -0
- package/fesm2022/forgeroute-ui-read-only-mode.mjs +15 -0
- package/fesm2022/forgeroute-ui-read-only-mode.mjs.map +1 -0
- package/fesm2022/forgeroute-ui-readonly-fieldset.mjs +146 -0
- package/fesm2022/forgeroute-ui-readonly-fieldset.mjs.map +1 -0
- package/fesm2022/forgeroute-ui-reminder-alerts.mjs +249 -0
- package/fesm2022/forgeroute-ui-reminder-alerts.mjs.map +1 -0
- package/fesm2022/forgeroute-ui-search-input.mjs +373 -0
- package/fesm2022/forgeroute-ui-search-input.mjs.map +1 -0
- package/fesm2022/forgeroute-ui-section-header.mjs +296 -0
- package/fesm2022/forgeroute-ui-section-header.mjs.map +1 -0
- package/fesm2022/forgeroute-ui-select.mjs +498 -0
- package/fesm2022/forgeroute-ui-select.mjs.map +1 -0
- package/fesm2022/forgeroute-ui-setup.mjs +4649 -0
- package/fesm2022/forgeroute-ui-setup.mjs.map +1 -0
- package/fesm2022/forgeroute-ui-share-menu.mjs +461 -0
- package/fesm2022/forgeroute-ui-share-menu.mjs.map +1 -0
- package/fesm2022/forgeroute-ui-shell.mjs +981 -0
- package/fesm2022/forgeroute-ui-shell.mjs.map +1 -0
- package/fesm2022/forgeroute-ui-show.mjs +129 -0
- package/fesm2022/forgeroute-ui-show.mjs.map +1 -0
- package/fesm2022/forgeroute-ui-sidebar-layout.mjs +355 -0
- package/fesm2022/forgeroute-ui-sidebar-layout.mjs.map +1 -0
- package/fesm2022/forgeroute-ui-skeleton.mjs +152 -0
- package/fesm2022/forgeroute-ui-skeleton.mjs.map +1 -0
- package/fesm2022/forgeroute-ui-skip-link.mjs +129 -0
- package/fesm2022/forgeroute-ui-skip-link.mjs.map +1 -0
- package/fesm2022/forgeroute-ui-snackbar.mjs +200 -0
- package/fesm2022/forgeroute-ui-snackbar.mjs.map +1 -0
- package/fesm2022/forgeroute-ui-square.mjs +15 -1
- package/fesm2022/forgeroute-ui-square.mjs.map +1 -1
- package/fesm2022/forgeroute-ui-stack.mjs +233 -0
- package/fesm2022/forgeroute-ui-stack.mjs.map +1 -0
- package/fesm2022/forgeroute-ui-stacked-bar.mjs +200 -0
- package/fesm2022/forgeroute-ui-stacked-bar.mjs.map +1 -0
- package/fesm2022/forgeroute-ui-stacking-plan.mjs +365 -0
- package/fesm2022/forgeroute-ui-stacking-plan.mjs.map +1 -0
- package/fesm2022/forgeroute-ui-star-rating.mjs +498 -0
- package/fesm2022/forgeroute-ui-star-rating.mjs.map +1 -0
- package/fesm2022/forgeroute-ui-star.mjs +184 -0
- package/fesm2022/forgeroute-ui-star.mjs.map +1 -0
- package/fesm2022/forgeroute-ui-stepper.mjs +615 -0
- package/fesm2022/forgeroute-ui-stepper.mjs.map +1 -0
- package/fesm2022/forgeroute-ui-stripe.mjs +14 -1
- package/fesm2022/forgeroute-ui-stripe.mjs.map +1 -1
- package/fesm2022/forgeroute-ui-swatch-picker.mjs +416 -0
- package/fesm2022/forgeroute-ui-swatch-picker.mjs.map +1 -0
- package/fesm2022/forgeroute-ui-table-toolbar.mjs +770 -0
- package/fesm2022/forgeroute-ui-table-toolbar.mjs.map +1 -0
- package/fesm2022/forgeroute-ui-table-types.mjs +277 -0
- package/fesm2022/forgeroute-ui-table-types.mjs.map +1 -0
- package/fesm2022/forgeroute-ui-text-input.mjs +1003 -0
- package/fesm2022/forgeroute-ui-text-input.mjs.map +1 -0
- package/fesm2022/forgeroute-ui-text-template-picker.mjs +356 -0
- package/fesm2022/forgeroute-ui-text-template-picker.mjs.map +1 -0
- package/fesm2022/forgeroute-ui-text.mjs +195 -0
- package/fesm2022/forgeroute-ui-text.mjs.map +1 -0
- package/fesm2022/forgeroute-ui-textarea-input.mjs +542 -0
- package/fesm2022/forgeroute-ui-textarea-input.mjs.map +1 -0
- package/fesm2022/forgeroute-ui-time-input.mjs +401 -0
- package/fesm2022/forgeroute-ui-time-input.mjs.map +1 -0
- package/fesm2022/forgeroute-ui-timeline.mjs +549 -0
- package/fesm2022/forgeroute-ui-timeline.mjs.map +1 -0
- package/fesm2022/forgeroute-ui-toast.mjs +507 -0
- package/fesm2022/forgeroute-ui-toast.mjs.map +1 -0
- package/fesm2022/forgeroute-ui-toggle-badge.mjs +177 -0
- package/fesm2022/forgeroute-ui-toggle-badge.mjs.map +1 -0
- package/fesm2022/forgeroute-ui-toggle.mjs +275 -0
- package/fesm2022/forgeroute-ui-toggle.mjs.map +1 -0
- package/fesm2022/forgeroute-ui-tooltip.mjs +155 -0
- package/fesm2022/forgeroute-ui-tooltip.mjs.map +1 -0
- package/fesm2022/forgeroute-ui-utils.mjs +1071 -0
- package/fesm2022/forgeroute-ui-utils.mjs.map +1 -0
- package/fesm2022/forgeroute-ui.mjs +105 -70663
- package/package.json +417 -1
- package/types/forgeroute-ui-action-bar.d.ts +74 -0
- package/types/forgeroute-ui-address-input.d.ts +354 -0
- package/types/forgeroute-ui-alert.d.ts +89 -0
- package/types/forgeroute-ui-avatar.d.ts +85 -0
- package/types/forgeroute-ui-badge.d.ts +45 -0
- package/types/forgeroute-ui-bar-row.d.ts +90 -0
- package/types/forgeroute-ui-boards.d.ts +575 -0
- package/types/forgeroute-ui-bulk-eligible.d.ts +53 -0
- package/types/forgeroute-ui-business-hours.d.ts +191 -0
- package/types/forgeroute-ui-calendar.d.ts +544 -0
- package/types/forgeroute-ui-card-list-item.d.ts +186 -0
- package/types/forgeroute-ui-charts.d.ts +1 -1
- package/types/forgeroute-ui-checkbox.d.ts +270 -0
- package/types/forgeroute-ui-chip.d.ts +125 -0
- package/types/forgeroute-ui-color-input.d.ts +160 -0
- package/types/forgeroute-ui-column-filter.d.ts +130 -0
- package/types/forgeroute-ui-columns.d.ts +150 -0
- package/types/forgeroute-ui-combobox.d.ts +252 -0
- package/types/forgeroute-ui-confirm.d.ts +34 -0
- package/types/forgeroute-ui-contact-picker.d.ts +173 -0
- package/types/forgeroute-ui-conversations.d.ts +993 -0
- package/types/forgeroute-ui-copy-field.d.ts +122 -0
- package/types/forgeroute-ui-data-table-core.d.ts +1221 -0
- package/types/forgeroute-ui-date-input.d.ts +101 -0
- package/types/forgeroute-ui-date-range-picker.d.ts +109 -0
- package/types/forgeroute-ui-datetime-input.d.ts +97 -0
- package/types/forgeroute-ui-detail-card.d.ts +252 -0
- package/types/forgeroute-ui-discount-selector.d.ts +57 -0
- package/types/forgeroute-ui-divider.d.ts +40 -0
- package/types/forgeroute-ui-dropdown.d.ts +156 -0
- package/types/forgeroute-ui-editor.d.ts +873 -0
- package/types/forgeroute-ui-empty-state.d.ts +29 -0
- package/types/forgeroute-ui-error-state.d.ts +38 -0
- package/types/forgeroute-ui-error.d.ts +29 -0
- package/types/forgeroute-ui-fade.d.ts +39 -0
- package/types/forgeroute-ui-file-input.d.ts +337 -0
- package/types/forgeroute-ui-fixed-footer.d.ts +53 -0
- package/types/forgeroute-ui-form-row.d.ts +30 -0
- package/types/forgeroute-ui-form-section.d.ts +18 -0
- package/types/forgeroute-ui-form.d.ts +68 -0
- package/types/forgeroute-ui-hint.d.ts +10 -0
- package/types/forgeroute-ui-icon-picker.d.ts +122 -0
- package/types/forgeroute-ui-icon.d.ts +95 -0
- package/types/forgeroute-ui-image-preview.d.ts +88 -0
- package/types/forgeroute-ui-keypad.d.ts +73 -0
- package/types/forgeroute-ui-kpi-card.d.ts +161 -0
- package/types/forgeroute-ui-language-switcher.d.ts +41 -0
- package/types/forgeroute-ui-layout.d.ts +13 -0
- package/types/forgeroute-ui-list-item.d.ts +253 -0
- package/types/forgeroute-ui-list.d.ts +282 -0
- package/types/forgeroute-ui-live-region.d.ts +49 -0
- package/types/forgeroute-ui-map.d.ts +1 -1
- package/types/forgeroute-ui-maps.d.ts +1 -1
- package/types/forgeroute-ui-media.d.ts +1221 -0
- package/types/forgeroute-ui-messaging.d.ts +6 -1
- package/types/forgeroute-ui-more-menu.d.ts +91 -0
- package/types/forgeroute-ui-multi-select.d.ts +119 -0
- package/types/forgeroute-ui-notes.d.ts +172 -0
- package/types/forgeroute-ui-notification-bell.d.ts +135 -0
- package/types/forgeroute-ui-offline-banner.d.ts +44 -0
- package/types/forgeroute-ui-option-card.d.ts +106 -0
- package/types/forgeroute-ui-page.d.ts +115 -0
- package/types/forgeroute-ui-pagination.d.ts +55 -0
- package/types/forgeroute-ui-panel-info-list.d.ts +147 -0
- package/types/forgeroute-ui-password-requirements.d.ts +89 -0
- package/types/forgeroute-ui-payments.d.ts +1818 -0
- package/types/forgeroute-ui-pdf.d.ts +1 -1
- package/types/forgeroute-ui-phone-number-picker.d.ts +199 -0
- package/types/forgeroute-ui-pill-tabs.d.ts +208 -0
- package/types/forgeroute-ui-print.d.ts +40 -0
- package/types/forgeroute-ui-progress-bar.d.ts +88 -0
- package/types/forgeroute-ui-progress-ring.d.ts +102 -0
- package/types/forgeroute-ui-quick-filter-tabs.d.ts +51 -0
- package/types/forgeroute-ui-quickbooks.d.ts +4 -1
- package/types/forgeroute-ui-radio-matrix.d.ts +131 -0
- package/types/forgeroute-ui-radio.d.ts +311 -0
- package/types/forgeroute-ui-read-only-mode.d.ts +26 -0
- package/types/forgeroute-ui-readonly-fieldset.d.ts +62 -0
- package/types/forgeroute-ui-reminder-alerts.d.ts +71 -0
- package/types/forgeroute-ui-search-input.d.ts +93 -0
- package/types/forgeroute-ui-section-header.d.ts +149 -0
- package/types/forgeroute-ui-select.d.ts +183 -0
- package/types/forgeroute-ui-setup.d.ts +775 -0
- package/types/forgeroute-ui-share-menu.d.ts +99 -0
- package/types/forgeroute-ui-shell.d.ts +173 -0
- package/types/forgeroute-ui-show.d.ts +40 -0
- package/types/forgeroute-ui-sidebar-layout.d.ts +161 -0
- package/types/forgeroute-ui-skeleton.d.ts +51 -0
- package/types/forgeroute-ui-skip-link.d.ts +51 -0
- package/types/forgeroute-ui-snackbar.d.ts +50 -0
- package/types/forgeroute-ui-square.d.ts +3 -1
- package/types/forgeroute-ui-stack.d.ts +99 -0
- package/types/forgeroute-ui-stacked-bar.d.ts +84 -0
- package/types/forgeroute-ui-stacking-plan.d.ts +116 -0
- package/types/forgeroute-ui-star-rating.d.ts +151 -0
- package/types/forgeroute-ui-star.d.ts +46 -0
- package/types/forgeroute-ui-stepper.d.ts +273 -0
- package/types/forgeroute-ui-stripe.d.ts +3 -1
- package/types/forgeroute-ui-swatch-picker.d.ts +118 -0
- package/types/forgeroute-ui-table-toolbar.d.ts +116 -0
- package/types/forgeroute-ui-table-types.d.ts +624 -0
- package/types/forgeroute-ui-text-input.d.ts +359 -0
- package/types/forgeroute-ui-text-template-picker.d.ts +100 -0
- package/types/forgeroute-ui-text.d.ts +76 -0
- package/types/forgeroute-ui-textarea-input.d.ts +174 -0
- package/types/forgeroute-ui-time-input.d.ts +105 -0
- package/types/forgeroute-ui-timeline.d.ts +196 -0
- package/types/forgeroute-ui-toast.d.ts +131 -0
- package/types/forgeroute-ui-toggle-badge.d.ts +64 -0
- package/types/forgeroute-ui-toggle.d.ts +92 -0
- package/types/forgeroute-ui-tooltip.d.ts +36 -0
- package/types/forgeroute-ui-utils.d.ts +210 -0
- package/types/forgeroute-ui.d.ts +106 -19539
- package/fesm2022/forgeroute-ui.mjs.map +0 -1
|
@@ -0,0 +1,542 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import { ChangeDetectionStrategy, Component, ElementRef, computed, effect, forwardRef, inject, input, output, signal } from "@angular/core";
|
|
3
|
+
import { NG_VALIDATORS, NG_VALUE_ACCESSOR } from "@angular/forms";
|
|
4
|
+
import { UiFieldValidity, createFieldReveal, issueToErrors, maxLengthIssue, mergeDescribedBy, requiredIssue } from "@forgeroute/ui/core";
|
|
5
|
+
var TextareaInputComponent = class TextareaInputComponent {
|
|
6
|
+
constructor() {
|
|
7
|
+
this.label = input("", ...ngDevMode ? [{ debugName: "label" }] : /* istanbul ignore next */ []);
|
|
8
|
+
this.ariaLabel = input("", ...ngDevMode ? [{ debugName: "ariaLabel" }] : /* istanbul ignore next */ []);
|
|
9
|
+
this.placeholder = input("", ...ngDevMode ? [{ debugName: "placeholder" }] : /* istanbul ignore next */ []);
|
|
10
|
+
this.rows = input(3, ...ngDevMode ? [{ debugName: "rows" }] : /* istanbul ignore next */ []);
|
|
11
|
+
this.maxlength = input(void 0, ...ngDevMode ? [{ debugName: "maxlength" }] : /* istanbul ignore next */ []);
|
|
12
|
+
this.required = input(false, ...ngDevMode ? [{ debugName: "required" }] : /* istanbul ignore next */ []);
|
|
13
|
+
this.readonly = input(false, ...ngDevMode ? [{ debugName: "readonly" }] : /* istanbul ignore next */ []);
|
|
14
|
+
this.hint = input("", ...ngDevMode ? [{ debugName: "hint" }] : /* istanbul ignore next */ []);
|
|
15
|
+
this.ariaDescribedBy = input("", ...ngDevMode ? [{ debugName: "ariaDescribedBy" }] : /* istanbul ignore next */ []);
|
|
16
|
+
this.hintAsDescription = input(false, ...ngDevMode ? [{ debugName: "hintAsDescription" }] : /* istanbul ignore next */ []);
|
|
17
|
+
this.error = input("", ...ngDevMode ? [{ debugName: "error" }] : /* istanbul ignore next */ []);
|
|
18
|
+
this.monospace = input(false, ...ngDevMode ? [{ debugName: "monospace" }] : /* istanbul ignore next */ []);
|
|
19
|
+
this.showErrors = input(false, ...ngDevMode ? [{ debugName: "showErrors" }] : /* istanbul ignore next */ []);
|
|
20
|
+
this._disabledInput = input(false, {
|
|
21
|
+
...ngDevMode ? { debugName: "_disabledInput" } : /* istanbul ignore next */ {},
|
|
22
|
+
alias: "disabled"
|
|
23
|
+
});
|
|
24
|
+
this._cvaDisabled = signal(false, ...ngDevMode ? [{ debugName: "_cvaDisabled" }] : /* istanbul ignore next */ []);
|
|
25
|
+
this.disabled = computed(() => this._disabledInput() || this._cvaDisabled(), ...ngDevMode ? [{ debugName: "disabled" }] : /* istanbul ignore next */ []);
|
|
26
|
+
this._value = signal("", ...ngDevMode ? [{ debugName: "_value" }] : /* istanbul ignore next */ []);
|
|
27
|
+
this._unlabelledHint = computed(() => !this.label() && !!this.hint(), ...ngDevMode ? [{ debugName: "_unlabelledHint" }] : /* istanbul ignore next */ []);
|
|
28
|
+
this._describedBy = computed(() => mergeDescribedBy(this._ownDescribedBy(), this.ariaDescribedBy()), ...ngDevMode ? [{ debugName: "_describedBy" }] : /* istanbul ignore next */ []);
|
|
29
|
+
this._ownDescribedBy = computed(() => {
|
|
30
|
+
if (!this.hintAsDescription()) return this._activeError() ? this._inputId + "-desc" : this._unlabelledHint() ? this._inputId + "-hint" : null;
|
|
31
|
+
const ids = [];
|
|
32
|
+
if (this.hint() && (this.label() || !this._activeError())) ids.push(this._inputId + "-hint");
|
|
33
|
+
if (this._activeError()) ids.push(this._inputId + "-desc");
|
|
34
|
+
return ids.length ? ids.join(" ") : null;
|
|
35
|
+
}, ...ngDevMode ? [{ debugName: "_ownDescribedBy" }] : /* istanbul ignore next */ []);
|
|
36
|
+
this._reveal = createFieldReveal(this.showErrors);
|
|
37
|
+
this._issue = computed(() => this._check(this._value()), ...ngDevMode ? [{ debugName: "_issue" }] : /* istanbul ignore next */ []);
|
|
38
|
+
this.invalid = computed(() => !!this.error() || !!this._issue(), ...ngDevMode ? [{ debugName: "invalid" }] : /* istanbul ignore next */ []);
|
|
39
|
+
this.errorMessage = computed(() => this._issue()?.message ?? "", ...ngDevMode ? [{ debugName: "errorMessage" }] : /* istanbul ignore next */ []);
|
|
40
|
+
this.invalidChange = output();
|
|
41
|
+
this.focused = output();
|
|
42
|
+
this.blurred = output();
|
|
43
|
+
this._activeError = computed(() => this._reveal.revealed() ? this.error() || this.errorMessage() : "", ...ngDevMode ? [{ debugName: "_activeError" }] : /* istanbul ignore next */ []);
|
|
44
|
+
this._onValidatorChange = () => {};
|
|
45
|
+
this._inputId = `ta-${Math.random().toString(36).slice(2, 8)}`;
|
|
46
|
+
this._hostEl = inject(ElementRef);
|
|
47
|
+
this._onChange = (_) => {};
|
|
48
|
+
this._onTouched = () => {};
|
|
49
|
+
effect(() => {
|
|
50
|
+
this.invalidChange.emit(this.invalid());
|
|
51
|
+
});
|
|
52
|
+
}
|
|
53
|
+
ngOnChanges() {
|
|
54
|
+
this._onValidatorChange();
|
|
55
|
+
}
|
|
56
|
+
validate(control) {
|
|
57
|
+
const v = control.value;
|
|
58
|
+
return issueToErrors(this._check(v == null ? "" : String(v)));
|
|
59
|
+
}
|
|
60
|
+
registerOnValidatorChange(fn) {
|
|
61
|
+
this._onValidatorChange = fn;
|
|
62
|
+
}
|
|
63
|
+
focus(options) {
|
|
64
|
+
this._hostEl.nativeElement.querySelector("textarea")?.focus(options);
|
|
65
|
+
}
|
|
66
|
+
getSelection() {
|
|
67
|
+
const el = this._textarea();
|
|
68
|
+
if (!el) return null;
|
|
69
|
+
try {
|
|
70
|
+
if (el.selectionStart === null || el.selectionEnd === null) return null;
|
|
71
|
+
return {
|
|
72
|
+
start: el.selectionStart,
|
|
73
|
+
end: el.selectionEnd
|
|
74
|
+
};
|
|
75
|
+
} catch {
|
|
76
|
+
return null;
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
setSelection(start, end = start) {
|
|
80
|
+
const el = this._textarea();
|
|
81
|
+
if (!el) return;
|
|
82
|
+
const max = el.value.length;
|
|
83
|
+
const from = Math.min(Math.max(0, start), max);
|
|
84
|
+
const to = Math.min(Math.max(from, end), max);
|
|
85
|
+
try {
|
|
86
|
+
el.setSelectionRange(from, to);
|
|
87
|
+
} catch {}
|
|
88
|
+
}
|
|
89
|
+
insertAtCaret(text) {
|
|
90
|
+
const el = this._textarea();
|
|
91
|
+
if (!el || el.disabled || el.readOnly || !text) return;
|
|
92
|
+
const value = el.value;
|
|
93
|
+
let from = value.length;
|
|
94
|
+
let to = value.length;
|
|
95
|
+
try {
|
|
96
|
+
if (el.selectionStart !== null && el.selectionEnd !== null) {
|
|
97
|
+
from = el.selectionStart;
|
|
98
|
+
to = el.selectionEnd;
|
|
99
|
+
}
|
|
100
|
+
} catch {}
|
|
101
|
+
const max = this.maxlength();
|
|
102
|
+
const room = max === void 0 ? text.length : max - (value.length - (to - from));
|
|
103
|
+
const insert = text.slice(0, Math.max(0, room));
|
|
104
|
+
if (!insert) return;
|
|
105
|
+
el.value = value.slice(0, from) + insert + value.slice(to);
|
|
106
|
+
const caret = from + insert.length;
|
|
107
|
+
try {
|
|
108
|
+
el.setSelectionRange(caret, caret);
|
|
109
|
+
} catch {}
|
|
110
|
+
el.dispatchEvent(new Event("input", { bubbles: true }));
|
|
111
|
+
}
|
|
112
|
+
_textarea() {
|
|
113
|
+
return this._hostEl.nativeElement.querySelector("textarea");
|
|
114
|
+
}
|
|
115
|
+
writeValue(val) {
|
|
116
|
+
this._value.set(val ?? "");
|
|
117
|
+
}
|
|
118
|
+
registerOnChange(fn) {
|
|
119
|
+
this._onChange = fn;
|
|
120
|
+
}
|
|
121
|
+
registerOnTouched(fn) {
|
|
122
|
+
this._onTouched = fn;
|
|
123
|
+
}
|
|
124
|
+
setDisabledState(d) {
|
|
125
|
+
this._cvaDisabled.set(d);
|
|
126
|
+
}
|
|
127
|
+
onInput(event) {
|
|
128
|
+
const val = event.target.value;
|
|
129
|
+
this._value.set(val);
|
|
130
|
+
this._onChange(val);
|
|
131
|
+
}
|
|
132
|
+
onFocus() {
|
|
133
|
+
this.focused.emit();
|
|
134
|
+
}
|
|
135
|
+
onBlur() {
|
|
136
|
+
this._onTouched();
|
|
137
|
+
this._reveal.touched.set(true);
|
|
138
|
+
this.blurred.emit();
|
|
139
|
+
}
|
|
140
|
+
_check(value) {
|
|
141
|
+
if (this.disabled() || this.readonly()) return null;
|
|
142
|
+
const text = value.trim();
|
|
143
|
+
if (!text) return this.required() ? requiredIssue(this.label()) : null;
|
|
144
|
+
return maxLengthIssue(text, this.maxlength());
|
|
145
|
+
}
|
|
146
|
+
static {
|
|
147
|
+
this.ɵfac = i0.ɵɵngDeclareFactory({
|
|
148
|
+
minVersion: "12.0.0",
|
|
149
|
+
version: "22.2.2",
|
|
150
|
+
ngImport: i0,
|
|
151
|
+
type: TextareaInputComponent,
|
|
152
|
+
deps: [],
|
|
153
|
+
target: i0.ɵɵFactoryTarget.Component
|
|
154
|
+
});
|
|
155
|
+
}
|
|
156
|
+
static {
|
|
157
|
+
this.ɵcmp = i0.ɵɵngDeclareComponent({
|
|
158
|
+
minVersion: "17.0.0",
|
|
159
|
+
version: "22.2.2",
|
|
160
|
+
type: TextareaInputComponent,
|
|
161
|
+
isStandalone: true,
|
|
162
|
+
selector: "ui-textarea-input",
|
|
163
|
+
inputs: {
|
|
164
|
+
label: {
|
|
165
|
+
classPropertyName: "label",
|
|
166
|
+
publicName: "label",
|
|
167
|
+
isSignal: true,
|
|
168
|
+
isRequired: false,
|
|
169
|
+
transformFunction: null
|
|
170
|
+
},
|
|
171
|
+
ariaLabel: {
|
|
172
|
+
classPropertyName: "ariaLabel",
|
|
173
|
+
publicName: "ariaLabel",
|
|
174
|
+
isSignal: true,
|
|
175
|
+
isRequired: false,
|
|
176
|
+
transformFunction: null
|
|
177
|
+
},
|
|
178
|
+
placeholder: {
|
|
179
|
+
classPropertyName: "placeholder",
|
|
180
|
+
publicName: "placeholder",
|
|
181
|
+
isSignal: true,
|
|
182
|
+
isRequired: false,
|
|
183
|
+
transformFunction: null
|
|
184
|
+
},
|
|
185
|
+
rows: {
|
|
186
|
+
classPropertyName: "rows",
|
|
187
|
+
publicName: "rows",
|
|
188
|
+
isSignal: true,
|
|
189
|
+
isRequired: false,
|
|
190
|
+
transformFunction: null
|
|
191
|
+
},
|
|
192
|
+
maxlength: {
|
|
193
|
+
classPropertyName: "maxlength",
|
|
194
|
+
publicName: "maxlength",
|
|
195
|
+
isSignal: true,
|
|
196
|
+
isRequired: false,
|
|
197
|
+
transformFunction: null
|
|
198
|
+
},
|
|
199
|
+
required: {
|
|
200
|
+
classPropertyName: "required",
|
|
201
|
+
publicName: "required",
|
|
202
|
+
isSignal: true,
|
|
203
|
+
isRequired: false,
|
|
204
|
+
transformFunction: null
|
|
205
|
+
},
|
|
206
|
+
readonly: {
|
|
207
|
+
classPropertyName: "readonly",
|
|
208
|
+
publicName: "readonly",
|
|
209
|
+
isSignal: true,
|
|
210
|
+
isRequired: false,
|
|
211
|
+
transformFunction: null
|
|
212
|
+
},
|
|
213
|
+
hint: {
|
|
214
|
+
classPropertyName: "hint",
|
|
215
|
+
publicName: "hint",
|
|
216
|
+
isSignal: true,
|
|
217
|
+
isRequired: false,
|
|
218
|
+
transformFunction: null
|
|
219
|
+
},
|
|
220
|
+
ariaDescribedBy: {
|
|
221
|
+
classPropertyName: "ariaDescribedBy",
|
|
222
|
+
publicName: "ariaDescribedBy",
|
|
223
|
+
isSignal: true,
|
|
224
|
+
isRequired: false,
|
|
225
|
+
transformFunction: null
|
|
226
|
+
},
|
|
227
|
+
hintAsDescription: {
|
|
228
|
+
classPropertyName: "hintAsDescription",
|
|
229
|
+
publicName: "hintAsDescription",
|
|
230
|
+
isSignal: true,
|
|
231
|
+
isRequired: false,
|
|
232
|
+
transformFunction: null
|
|
233
|
+
},
|
|
234
|
+
error: {
|
|
235
|
+
classPropertyName: "error",
|
|
236
|
+
publicName: "error",
|
|
237
|
+
isSignal: true,
|
|
238
|
+
isRequired: false,
|
|
239
|
+
transformFunction: null
|
|
240
|
+
},
|
|
241
|
+
monospace: {
|
|
242
|
+
classPropertyName: "monospace",
|
|
243
|
+
publicName: "monospace",
|
|
244
|
+
isSignal: true,
|
|
245
|
+
isRequired: false,
|
|
246
|
+
transformFunction: null
|
|
247
|
+
},
|
|
248
|
+
showErrors: {
|
|
249
|
+
classPropertyName: "showErrors",
|
|
250
|
+
publicName: "showErrors",
|
|
251
|
+
isSignal: true,
|
|
252
|
+
isRequired: false,
|
|
253
|
+
transformFunction: null
|
|
254
|
+
},
|
|
255
|
+
_disabledInput: {
|
|
256
|
+
classPropertyName: "_disabledInput",
|
|
257
|
+
publicName: "disabled",
|
|
258
|
+
isSignal: true,
|
|
259
|
+
isRequired: false,
|
|
260
|
+
transformFunction: null
|
|
261
|
+
}
|
|
262
|
+
},
|
|
263
|
+
outputs: {
|
|
264
|
+
invalidChange: "invalidChange",
|
|
265
|
+
focused: "focused",
|
|
266
|
+
blurred: "blurred"
|
|
267
|
+
},
|
|
268
|
+
providers: [
|
|
269
|
+
{
|
|
270
|
+
provide: NG_VALUE_ACCESSOR,
|
|
271
|
+
useExisting: forwardRef(() => TextareaInputComponent),
|
|
272
|
+
multi: true
|
|
273
|
+
},
|
|
274
|
+
{
|
|
275
|
+
provide: NG_VALIDATORS,
|
|
276
|
+
useExisting: forwardRef(() => TextareaInputComponent),
|
|
277
|
+
multi: true
|
|
278
|
+
},
|
|
279
|
+
{
|
|
280
|
+
provide: UiFieldValidity,
|
|
281
|
+
useExisting: forwardRef(() => TextareaInputComponent)
|
|
282
|
+
}
|
|
283
|
+
],
|
|
284
|
+
usesOnChanges: true,
|
|
285
|
+
ngImport: i0,
|
|
286
|
+
template: `
|
|
287
|
+
<div class="ta-field" [class.ta-error]="_activeError()" [class.ta-disabled]="disabled()">
|
|
288
|
+
@if (label()) {
|
|
289
|
+
<div class="ta-label-row">
|
|
290
|
+
@if (hintAsDescription()) {
|
|
291
|
+
<div class="ta-head">
|
|
292
|
+
<label class="ta-label" [for]="_inputId">{{ label() }}@if (required()) { <span class="ta-required" aria-hidden="true">*</span> }</label>
|
|
293
|
+
@if (hint()) { <span class="ta-hint-inline" [id]="_inputId + '-hint'">({{ hint() }})</span> }
|
|
294
|
+
</div>
|
|
295
|
+
} @else {
|
|
296
|
+
<label class="ta-label" [for]="_inputId">
|
|
297
|
+
{{ label() }}
|
|
298
|
+
@if (required()) { <span class="ta-required" aria-hidden="true">*</span> }
|
|
299
|
+
@if (hint()) { <span class="ta-hint-inline">({{ hint() }})</span> }
|
|
300
|
+
</label>
|
|
301
|
+
}
|
|
302
|
+
<ng-content select="[uiLabelEnd]" />
|
|
303
|
+
</div>
|
|
304
|
+
}
|
|
305
|
+
<textarea
|
|
306
|
+
class="ta-input"
|
|
307
|
+
[class.ta-mono]="monospace()"
|
|
308
|
+
[id]="_inputId"
|
|
309
|
+
[placeholder]="placeholder()"
|
|
310
|
+
[value]="_value()"
|
|
311
|
+
[disabled]="disabled()"
|
|
312
|
+
[readOnly]="readonly()"
|
|
313
|
+
[rows]="rows()"
|
|
314
|
+
[attr.maxlength]="maxlength() ?? null"
|
|
315
|
+
[attr.required]="required() || null"
|
|
316
|
+
[attr.aria-label]="ariaLabel() || null"
|
|
317
|
+
[attr.aria-invalid]="_activeError() ? 'true' : null"
|
|
318
|
+
[attr.aria-describedby]="_describedBy()"
|
|
319
|
+
(input)="onInput($event)"
|
|
320
|
+
(focus)="onFocus()"
|
|
321
|
+
(blur)="onBlur()"
|
|
322
|
+
></textarea>
|
|
323
|
+
@if (!_activeError() && _unlabelledHint()) {
|
|
324
|
+
<p class="ta-desc" [id]="_inputId + '-hint'">{{ hint() }}</p>
|
|
325
|
+
}
|
|
326
|
+
@if (_activeError()) {
|
|
327
|
+
<p class="ta-desc ta-desc-error" [id]="_inputId + '-desc'" role="alert">{{ _activeError() }}</p>
|
|
328
|
+
}
|
|
329
|
+
</div>
|
|
330
|
+
`,
|
|
331
|
+
isInline: true,
|
|
332
|
+
styles: [":host{display:block}.ta-field{display:flex;flex-direction:column;gap:6px}.ta-label-row{display:flex;align-items:center;justify-content:space-between;gap:8px}.ta-head{display:flex;flex-wrap:wrap;align-items:baseline;column-gap:4px;row-gap:2px}.ta-label{font-size:.8125rem;font-weight:600;color:#374151;line-height:1}.ta-required{color:#dc2626;margin-left:2px}.ta-hint-inline{font-size:.75rem;color:#64748b;font-weight:400;margin-left:4px}.ta-head .ta-hint-inline{margin-left:0;line-height:1}.ta-input{width:100%;box-sizing:border-box;padding:9px 12px;font-size:.875rem;font-family:inherit;color:#1e293b;background:#fff;border:1px solid #7c8ba1;border-radius:8px;outline:none;resize:vertical;transition:border-color .15s,box-shadow .15s}.ta-input::placeholder{color:#64748b;opacity:1}.ta-input:focus{border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f61f}.ta-input:read-only{background:#f8fafc;cursor:default}.ta-input.ta-mono{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,Liberation Mono,monospace}@media(min-width:481px)and (pointer:fine){.ta-input.ta-mono{font-size:.8125rem}}.ta-error .ta-input{border-color:#ef4444}.ta-error .ta-input:focus{box-shadow:0 0 0 3px #ef44441f}.ta-disabled .ta-input{opacity:.5;cursor:not-allowed}.ta-desc{margin:0;font-size:.75rem;line-height:1.4;color:#64748b}.ta-desc-error{color:#dc2626}@media(pointer:coarse),(max-width:480px){.ta-input{font-size:1rem}}\n"],
|
|
333
|
+
changeDetection: i0.ChangeDetectionStrategy.OnPush
|
|
334
|
+
});
|
|
335
|
+
}
|
|
336
|
+
};
|
|
337
|
+
i0.ɵɵngDeclareClassMetadata({
|
|
338
|
+
minVersion: "12.0.0",
|
|
339
|
+
version: "22.2.2",
|
|
340
|
+
ngImport: i0,
|
|
341
|
+
type: TextareaInputComponent,
|
|
342
|
+
decorators: [{
|
|
343
|
+
type: Component,
|
|
344
|
+
args: [{
|
|
345
|
+
selector: "ui-textarea-input",
|
|
346
|
+
standalone: true,
|
|
347
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
348
|
+
providers: [
|
|
349
|
+
{
|
|
350
|
+
provide: NG_VALUE_ACCESSOR,
|
|
351
|
+
useExisting: forwardRef(() => TextareaInputComponent),
|
|
352
|
+
multi: true
|
|
353
|
+
},
|
|
354
|
+
{
|
|
355
|
+
provide: NG_VALIDATORS,
|
|
356
|
+
useExisting: forwardRef(() => TextareaInputComponent),
|
|
357
|
+
multi: true
|
|
358
|
+
},
|
|
359
|
+
{
|
|
360
|
+
provide: UiFieldValidity,
|
|
361
|
+
useExisting: forwardRef(() => TextareaInputComponent)
|
|
362
|
+
}
|
|
363
|
+
],
|
|
364
|
+
template: `
|
|
365
|
+
<div class="ta-field" [class.ta-error]="_activeError()" [class.ta-disabled]="disabled()">
|
|
366
|
+
@if (label()) {
|
|
367
|
+
<div class="ta-label-row">
|
|
368
|
+
@if (hintAsDescription()) {
|
|
369
|
+
<div class="ta-head">
|
|
370
|
+
<label class="ta-label" [for]="_inputId">{{ label() }}@if (required()) { <span class="ta-required" aria-hidden="true">*</span> }</label>
|
|
371
|
+
@if (hint()) { <span class="ta-hint-inline" [id]="_inputId + '-hint'">({{ hint() }})</span> }
|
|
372
|
+
</div>
|
|
373
|
+
} @else {
|
|
374
|
+
<label class="ta-label" [for]="_inputId">
|
|
375
|
+
{{ label() }}
|
|
376
|
+
@if (required()) { <span class="ta-required" aria-hidden="true">*</span> }
|
|
377
|
+
@if (hint()) { <span class="ta-hint-inline">({{ hint() }})</span> }
|
|
378
|
+
</label>
|
|
379
|
+
}
|
|
380
|
+
<ng-content select="[uiLabelEnd]" />
|
|
381
|
+
</div>
|
|
382
|
+
}
|
|
383
|
+
<textarea
|
|
384
|
+
class="ta-input"
|
|
385
|
+
[class.ta-mono]="monospace()"
|
|
386
|
+
[id]="_inputId"
|
|
387
|
+
[placeholder]="placeholder()"
|
|
388
|
+
[value]="_value()"
|
|
389
|
+
[disabled]="disabled()"
|
|
390
|
+
[readOnly]="readonly()"
|
|
391
|
+
[rows]="rows()"
|
|
392
|
+
[attr.maxlength]="maxlength() ?? null"
|
|
393
|
+
[attr.required]="required() || null"
|
|
394
|
+
[attr.aria-label]="ariaLabel() || null"
|
|
395
|
+
[attr.aria-invalid]="_activeError() ? 'true' : null"
|
|
396
|
+
[attr.aria-describedby]="_describedBy()"
|
|
397
|
+
(input)="onInput($event)"
|
|
398
|
+
(focus)="onFocus()"
|
|
399
|
+
(blur)="onBlur()"
|
|
400
|
+
></textarea>
|
|
401
|
+
@if (!_activeError() && _unlabelledHint()) {
|
|
402
|
+
<p class="ta-desc" [id]="_inputId + '-hint'">{{ hint() }}</p>
|
|
403
|
+
}
|
|
404
|
+
@if (_activeError()) {
|
|
405
|
+
<p class="ta-desc ta-desc-error" [id]="_inputId + '-desc'" role="alert">{{ _activeError() }}</p>
|
|
406
|
+
}
|
|
407
|
+
</div>
|
|
408
|
+
`,
|
|
409
|
+
styles: [":host{display:block}.ta-field{display:flex;flex-direction:column;gap:6px}.ta-label-row{display:flex;align-items:center;justify-content:space-between;gap:8px}.ta-head{display:flex;flex-wrap:wrap;align-items:baseline;column-gap:4px;row-gap:2px}.ta-label{font-size:.8125rem;font-weight:600;color:#374151;line-height:1}.ta-required{color:#dc2626;margin-left:2px}.ta-hint-inline{font-size:.75rem;color:#64748b;font-weight:400;margin-left:4px}.ta-head .ta-hint-inline{margin-left:0;line-height:1}.ta-input{width:100%;box-sizing:border-box;padding:9px 12px;font-size:.875rem;font-family:inherit;color:#1e293b;background:#fff;border:1px solid #7c8ba1;border-radius:8px;outline:none;resize:vertical;transition:border-color .15s,box-shadow .15s}.ta-input::placeholder{color:#64748b;opacity:1}.ta-input:focus{border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f61f}.ta-input:read-only{background:#f8fafc;cursor:default}.ta-input.ta-mono{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,Liberation Mono,monospace}@media(min-width:481px)and (pointer:fine){.ta-input.ta-mono{font-size:.8125rem}}.ta-error .ta-input{border-color:#ef4444}.ta-error .ta-input:focus{box-shadow:0 0 0 3px #ef44441f}.ta-disabled .ta-input{opacity:.5;cursor:not-allowed}.ta-desc{margin:0;font-size:.75rem;line-height:1.4;color:#64748b}.ta-desc-error{color:#dc2626}@media(pointer:coarse),(max-width:480px){.ta-input{font-size:1rem}}\n"]
|
|
410
|
+
}]
|
|
411
|
+
}],
|
|
412
|
+
ctorParameters: () => [],
|
|
413
|
+
propDecorators: {
|
|
414
|
+
label: [{
|
|
415
|
+
type: i0.Input,
|
|
416
|
+
args: [{
|
|
417
|
+
isSignal: true,
|
|
418
|
+
alias: "label",
|
|
419
|
+
required: false
|
|
420
|
+
}]
|
|
421
|
+
}],
|
|
422
|
+
ariaLabel: [{
|
|
423
|
+
type: i0.Input,
|
|
424
|
+
args: [{
|
|
425
|
+
isSignal: true,
|
|
426
|
+
alias: "ariaLabel",
|
|
427
|
+
required: false
|
|
428
|
+
}]
|
|
429
|
+
}],
|
|
430
|
+
placeholder: [{
|
|
431
|
+
type: i0.Input,
|
|
432
|
+
args: [{
|
|
433
|
+
isSignal: true,
|
|
434
|
+
alias: "placeholder",
|
|
435
|
+
required: false
|
|
436
|
+
}]
|
|
437
|
+
}],
|
|
438
|
+
rows: [{
|
|
439
|
+
type: i0.Input,
|
|
440
|
+
args: [{
|
|
441
|
+
isSignal: true,
|
|
442
|
+
alias: "rows",
|
|
443
|
+
required: false
|
|
444
|
+
}]
|
|
445
|
+
}],
|
|
446
|
+
maxlength: [{
|
|
447
|
+
type: i0.Input,
|
|
448
|
+
args: [{
|
|
449
|
+
isSignal: true,
|
|
450
|
+
alias: "maxlength",
|
|
451
|
+
required: false
|
|
452
|
+
}]
|
|
453
|
+
}],
|
|
454
|
+
required: [{
|
|
455
|
+
type: i0.Input,
|
|
456
|
+
args: [{
|
|
457
|
+
isSignal: true,
|
|
458
|
+
alias: "required",
|
|
459
|
+
required: false
|
|
460
|
+
}]
|
|
461
|
+
}],
|
|
462
|
+
readonly: [{
|
|
463
|
+
type: i0.Input,
|
|
464
|
+
args: [{
|
|
465
|
+
isSignal: true,
|
|
466
|
+
alias: "readonly",
|
|
467
|
+
required: false
|
|
468
|
+
}]
|
|
469
|
+
}],
|
|
470
|
+
hint: [{
|
|
471
|
+
type: i0.Input,
|
|
472
|
+
args: [{
|
|
473
|
+
isSignal: true,
|
|
474
|
+
alias: "hint",
|
|
475
|
+
required: false
|
|
476
|
+
}]
|
|
477
|
+
}],
|
|
478
|
+
ariaDescribedBy: [{
|
|
479
|
+
type: i0.Input,
|
|
480
|
+
args: [{
|
|
481
|
+
isSignal: true,
|
|
482
|
+
alias: "ariaDescribedBy",
|
|
483
|
+
required: false
|
|
484
|
+
}]
|
|
485
|
+
}],
|
|
486
|
+
hintAsDescription: [{
|
|
487
|
+
type: i0.Input,
|
|
488
|
+
args: [{
|
|
489
|
+
isSignal: true,
|
|
490
|
+
alias: "hintAsDescription",
|
|
491
|
+
required: false
|
|
492
|
+
}]
|
|
493
|
+
}],
|
|
494
|
+
error: [{
|
|
495
|
+
type: i0.Input,
|
|
496
|
+
args: [{
|
|
497
|
+
isSignal: true,
|
|
498
|
+
alias: "error",
|
|
499
|
+
required: false
|
|
500
|
+
}]
|
|
501
|
+
}],
|
|
502
|
+
monospace: [{
|
|
503
|
+
type: i0.Input,
|
|
504
|
+
args: [{
|
|
505
|
+
isSignal: true,
|
|
506
|
+
alias: "monospace",
|
|
507
|
+
required: false
|
|
508
|
+
}]
|
|
509
|
+
}],
|
|
510
|
+
showErrors: [{
|
|
511
|
+
type: i0.Input,
|
|
512
|
+
args: [{
|
|
513
|
+
isSignal: true,
|
|
514
|
+
alias: "showErrors",
|
|
515
|
+
required: false
|
|
516
|
+
}]
|
|
517
|
+
}],
|
|
518
|
+
_disabledInput: [{
|
|
519
|
+
type: i0.Input,
|
|
520
|
+
args: [{
|
|
521
|
+
isSignal: true,
|
|
522
|
+
alias: "disabled",
|
|
523
|
+
required: false
|
|
524
|
+
}]
|
|
525
|
+
}],
|
|
526
|
+
invalidChange: [{
|
|
527
|
+
type: i0.Output,
|
|
528
|
+
args: ["invalidChange"]
|
|
529
|
+
}],
|
|
530
|
+
focused: [{
|
|
531
|
+
type: i0.Output,
|
|
532
|
+
args: ["focused"]
|
|
533
|
+
}],
|
|
534
|
+
blurred: [{
|
|
535
|
+
type: i0.Output,
|
|
536
|
+
args: ["blurred"]
|
|
537
|
+
}]
|
|
538
|
+
}
|
|
539
|
+
});
|
|
540
|
+
export { TextareaInputComponent };
|
|
541
|
+
|
|
542
|
+
//# sourceMappingURL=forgeroute-ui-textarea-input.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"forgeroute-ui-textarea-input.mjs","names":[],"sources":["../../../projects/forgeroute-ui/textarea-input/src/lib/textarea-input/textarea-input.component.ts"],"sourcesContent":["import { Component, ChangeDetectionStrategy, ElementRef, inject, input, output, signal, computed, effect, forwardRef } from '@angular/core';\nimport { AbstractControl, ControlValueAccessor, NG_VALIDATORS, NG_VALUE_ACCESSOR, ValidationErrors, Validator } from '@angular/forms';\nimport { FieldIssue, UiFieldValidity, createFieldReveal, mergeDescribedBy, issueToErrors, maxLengthIssue, requiredIssue } from '@forgeroute/ui/core';\n\n@Component({\n selector: 'ui-textarea-input',\n standalone: true,\n changeDetection: ChangeDetectionStrategy.OnPush,\n providers: [{\n provide: NG_VALUE_ACCESSOR,\n useExisting: forwardRef(() => TextareaInputComponent),\n multi: true,\n }, {\n provide: NG_VALIDATORS,\n useExisting: forwardRef(() => TextareaInputComponent),\n multi: true,\n }, {\n provide: UiFieldValidity,\n useExisting: forwardRef(() => TextareaInputComponent),\n }],\n template: `\n <div class=\"ta-field\" [class.ta-error]=\"_activeError()\" [class.ta-disabled]=\"disabled()\">\n @if (label()) {\n <div class=\"ta-label-row\">\n @if (hintAsDescription()) {\n <div class=\"ta-head\">\n <label class=\"ta-label\" [for]=\"_inputId\">{{ label() }}@if (required()) { <span class=\"ta-required\" aria-hidden=\"true\">*</span> }</label>\n @if (hint()) { <span class=\"ta-hint-inline\" [id]=\"_inputId + '-hint'\">({{ hint() }})</span> }\n </div>\n } @else {\n <label class=\"ta-label\" [for]=\"_inputId\">\n {{ label() }}\n @if (required()) { <span class=\"ta-required\" aria-hidden=\"true\">*</span> }\n @if (hint()) { <span class=\"ta-hint-inline\">({{ hint() }})</span> }\n </label>\n }\n <ng-content select=\"[uiLabelEnd]\" />\n </div>\n }\n <textarea\n class=\"ta-input\"\n [class.ta-mono]=\"monospace()\"\n [id]=\"_inputId\"\n [placeholder]=\"placeholder()\"\n [value]=\"_value()\"\n [disabled]=\"disabled()\"\n [readOnly]=\"readonly()\"\n [rows]=\"rows()\"\n [attr.maxlength]=\"maxlength() ?? null\"\n [attr.required]=\"required() || null\"\n [attr.aria-label]=\"ariaLabel() || null\"\n [attr.aria-invalid]=\"_activeError() ? 'true' : null\"\n [attr.aria-describedby]=\"_describedBy()\"\n (input)=\"onInput($event)\"\n (focus)=\"onFocus()\"\n (blur)=\"onBlur()\"\n ></textarea>\n @if (!_activeError() && _unlabelledHint()) {\n <p class=\"ta-desc\" [id]=\"_inputId + '-hint'\">{{ hint() }}</p>\n }\n @if (_activeError()) {\n <p class=\"ta-desc ta-desc-error\" [id]=\"_inputId + '-desc'\" role=\"alert\">{{ _activeError() }}</p>\n }\n </div>\n `,\n styles: [`\n :host { display: block; }\n\n .ta-field { display: flex; flex-direction: column; gap: 6px; }\n\n /* Label line: the label, plus an optional host element marked uiLabelEnd pushed to the far end (e.g. an \"Insert variable\" button). */\n .ta-label-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; }\n\n .ta-head { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 4px; row-gap: 2px; }\n .ta-label {\n font-size: 0.8125rem; font-weight: 600; color: #374151; line-height: 1;\n }\n .ta-required { color: #dc2626; margin-left: 2px; }\n .ta-hint-inline { font-size: 0.75rem; color: #64748b; font-weight: 400; margin-left: 4px; }\n .ta-head .ta-hint-inline { margin-left: 0; line-height: 1; }\n\n .ta-input {\n width: 100%; box-sizing: border-box;\n padding: 9px 12px; font-size: 0.875rem; font-family: inherit;\n color: #1e293b; background: #fff;\n border: 1px solid #7c8ba1; border-radius: 8px;\n outline: none; resize: vertical;\n transition: border-color 0.15s, box-shadow 0.15s;\n &::placeholder { color: #64748b; opacity: 1; }\n &:focus {\n border-color: #3b82f6;\n box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.12);\n }\n &:read-only { background: #f8fafc; cursor: default; }\n }\n\n /* Opt-in code/markup look. System monospace stack (ui-monospace = Safari/iOS, Menlo = macOS, Consolas = Windows). The size\n tweak is desktop-only so phones keep the 16px field size that stops iOS from zooming into the field. */\n .ta-input.ta-mono { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, 'Liberation Mono', monospace; }\n @media (min-width: 481px) and (pointer: fine) { .ta-input.ta-mono { font-size: 0.8125rem; } }\n\n .ta-error .ta-input {\n border-color: #ef4444;\n &:focus { box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.12); }\n }\n\n .ta-disabled .ta-input { opacity: 0.5; cursor: not-allowed; }\n\n .ta-desc { margin: 0; font-size: 0.75rem; line-height: 1.4; color: #64748b; }\n .ta-desc-error { color: #dc2626; }\n\n @media (pointer: coarse), (max-width: 480px) { .ta-input { font-size: 1rem; } }\n `],\n})\n/**\n * Multi-line text field (ControlValueAccessor).\n * Built-in validation: `required` -> \"<label> is required.\"; `maxlength` -> \"Too long (max N characters).\" (also for a\n * loaded value longer than the limit; trimmed length). Empty is valid unless `required`; disabled / readonly never invalid.\n *\n * Validity API (same on every ui input): the component is an Angular `Validator` (`ngModel` / `FormControl` report\n * `.invalid` / `.errors`), exposes the signals `invalid` + `errorMessage` and the `invalidChange` output, and provides\n * `UiFieldValidity` so a host can use `viewChildren(UiFieldValidity)`. Messages (built-in and a host `[error]`) are displayed only after the user left THIS field (blur); `[showErrors]=\"true\"` reveals the message of an untouched field at once, and setting it back to false clears the touched state.\n */\nexport class TextareaInputComponent implements ControlValueAccessor, Validator, UiFieldValidity {\n readonly label = input('');\n /** Accessible name for a field with no visible label. */\n readonly ariaLabel = input('');\n readonly placeholder = input('');\n readonly rows = input(3);\n readonly maxlength = input<number | undefined>(undefined);\n readonly required = input(false);\n readonly readonly = input(false);\n readonly hint = input('');\n /** Id(s) of an external element that also describes this control (e.g. one shared error text for a group of fields). Space separated; MERGED after the control's own hint / error id in `aria-describedby`, never replacing it. Empty = unchanged. */\n readonly ariaDescribedBy = input('');\n /**\n * Opt-in. `false` (default) = unchanged: a labelled field's hint renders INSIDE the `<label>` (\"Label (hint)\" is the accessible name,\n * no aria-describedby for it). `true` = the hint is a sibling of the label (`.ta-head` row, id `<textarea id>-hint`), the accessible\n * name is the label only and the hint is the description (`aria-describedby`, then the error). See docs/textarea-input.md.\n */\n readonly hintAsDescription = input(false);\n readonly error = input('');\n /** Opt-in. `true` shows the text in a monospace font (HTML / code / merge-tag fields). Default `false` = unchanged. */\n readonly monospace = input(false);\n /** 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. */\n readonly showErrors = input(false);\n\n readonly _disabledInput = input(false, { alias: 'disabled' });\n private readonly _cvaDisabled = signal(false);\n protected readonly disabled = computed(() => this._disabledInput() || this._cvaDisabled());\n\n protected readonly _value = signal('');\n /** The hint is shown inline after the label; with no label there is nothing to hang it on, so it renders under the field. */\n protected readonly _unlabelledHint = computed(() => !this.label() && !!this.hint());\n\n /**\n * aria-describedby: the hint (inline after the label, or under the field when there is no label; the under-field\n * hint is replaced by the error) followed by the error. The label is the accessible NAME; the hint is the DESCRIPTION.\n */\n protected readonly _describedBy = computed(() => mergeDescribedBy(this._ownDescribedBy(), this.ariaDescribedBy()));\n private readonly _ownDescribedBy = computed(() => {\n if (!this.hintAsDescription()) return this._activeError() ? this._inputId + '-desc' : (this._unlabelledHint() ? this._inputId + '-hint' : null);\n const ids: string[] = [];\n if (this.hint() && (this.label() || !this._activeError())) ids.push(this._inputId + '-hint');\n if (this._activeError()) ids.push(this._inputId + '-desc');\n return ids.length ? ids.join(' ') : null;\n });\n\n private readonly _reveal = createFieldReveal(this.showErrors);\n private readonly _issue = computed(() => this._check(this._value()));\n /** True while the value breaks a built-in rule or the host passed an `[error]`. */\n readonly invalid = computed(() => !!this.error() || !!this._issue());\n /** Message of the first broken built-in rule ('' when valid), shown or not. */\n readonly errorMessage = computed(() => this._issue()?.message ?? '');\n /** Emits whenever the field becomes invalid / valid. */\n readonly invalidChange = output<boolean>();\n /** Library source 2026-11-05, not yet published. Emits when the inner `<textarea>` gains focus (same as `ui-text-input`). */\n readonly focused = output<void>();\n /** Library source 2026-11-05, not yet published. Emits when the inner `<textarea>` loses focus (same as `ui-text-input`); the form control is marked touched and the built-in error reveal still happens. */\n readonly blurred = output<void>();\n protected readonly _activeError = computed(() => this._reveal.revealed() ? (this.error() || this.errorMessage()) : '');\n private _onValidatorChange = () => {};\n\n constructor() {\n effect(() => { this.invalidChange.emit(this.invalid()); });\n }\n\n /** Re-run the form control's validation when a rule input (required, maxlength, min, options, ...) changes. */\n ngOnChanges() { this._onValidatorChange(); }\n\n validate(control: AbstractControl): ValidationErrors | null {\n const v = control.value;\n return issueToErrors(this._check(v == null ? '' : String(v)));\n }\n registerOnValidatorChange(fn: () => void) { this._onValidatorChange = fn; }\n\n protected readonly _inputId = `ta-${Math.random().toString(36).slice(2, 8)}`;\n\n private readonly _hostEl = inject<ElementRef<HTMLElement>>(ElementRef);\n\n /**\n * Library source 2026-11-04, not yet published. Puts the keyboard focus on the inner native `<textarea>` (`ref.focus()` via `viewChild`).\n * Same options as the DOM method (`{ preventScroll: true }`). Safe at any time: before the view exists, or on a disabled field, it does\n * nothing and never throws.\n */\n focus(options?: FocusOptions): void {\n this._hostEl.nativeElement.querySelector<HTMLElement>('textarea')?.focus(options);\n }\n\n /**\n * Library source 2026-11-05, not yet published. Caret access for hosts (e.g. an \"insert variable at the cursor\" chip row), so a host never\n * queries the inner element. Reach it with `viewChild(TextareaInputComponent)`. All three methods are safe at any time: before the view exists, on a\n * disabled / read-only field they do nothing / return null and never throw.\n *\n * `getSelection()` -> `{ start, end }` of the selected text (equal when only a caret) or `null` when it cannot be read.\n */\n getSelection(): { start: number; end: number } | null {\n const el = this._textarea();\n if (!el) return null;\n try {\n if (el.selectionStart === null || el.selectionEnd === null) return null;\n return { start: el.selectionStart, end: el.selectionEnd };\n } catch { return null; }\n }\n\n /** Selects `start`..`end` (a caret when `end` is left out); values are clamped to the text. Does nothing where the selection API is unavailable. */\n setSelection(start: number, end: number = start): void {\n const el = this._textarea();\n if (!el) return;\n const max = el.value.length;\n const from = Math.min(Math.max(0, start), max);\n const to = Math.min(Math.max(from, end), max);\n try { el.setSelectionRange(from, to); } catch { /* type without a selection */ }\n }\n\n /**\n * Inserts `text` at the caret, replacing any selected text, and puts the caret right after it. The change goes through the normal typing path\n * (`ngModel` / form control), exactly as if the user had typed it, and `maxlength` caps it like typing does (the\n * part that does not fit is not inserted). With no caret known the text is appended. Does nothing on a\n * disabled or read-only field or for an empty `text`.\n */\n insertAtCaret(text: string): void {\n const el = this._textarea();\n if (!el || el.disabled || el.readOnly || !text) return;\n const value = el.value;\n let from = value.length;\n let to = value.length;\n try {\n if (el.selectionStart !== null && el.selectionEnd !== null) { from = el.selectionStart; to = el.selectionEnd; }\n } catch { /* type without a selection: append */ }\n const max = this.maxlength();\n const room = max === undefined ? text.length : max - (value.length - (to - from));\n const insert = text.slice(0, Math.max(0, room));\n if (!insert) return;\n el.value = value.slice(0, from) + insert + value.slice(to);\n const caret = from + insert.length;\n try { el.setSelectionRange(caret, caret); } catch { /* type without a selection */ }\n el.dispatchEvent(new Event('input', { bubbles: true }));\n }\n\n private _textarea(): HTMLTextAreaElement | null {\n return this._hostEl.nativeElement.querySelector<HTMLTextAreaElement>('textarea');\n }\n\n private _onChange = (_: string) => {};\n private _onTouched = () => {};\n\n writeValue(val: string | null) { this._value.set(val ?? ''); }\n registerOnChange(fn: (v: string) => void) { this._onChange = fn; }\n registerOnTouched(fn: () => void) { this._onTouched = fn; }\n setDisabledState(d: boolean) { this._cvaDisabled.set(d); }\n\n protected onInput(event: Event) {\n const val = (event.target as HTMLTextAreaElement).value;\n this._value.set(val);\n this._onChange(val);\n }\n\n protected onFocus() { this.focused.emit(); }\n protected onBlur() { this._onTouched(); this._reveal.touched.set(true); this.blurred.emit(); }\n\n private _check(value: string): FieldIssue | null {\n if (this.disabled() || this.readonly()) return null;\n const text = value.trim();\n if (!text) return this.required() ? requiredIssue(this.label()) : null;\n return maxLengthIssue(text, this.maxlength());\n }\n}\n"],"mappings":";;;;AA2HA,IAAa,yBAAb,MAAa,uBAAsB;CA4DjC,cAAA;EA3DS,KAAA,QAAc,MAAM,IAAG,GAAA,YAAA,CAAA,EAAA,WAAA,QAAA,CAAA,+BAAA,CAAA,CAAA;EAEvB,KAAA,YAAc,MAAM,IAAG,GAAA,YAAA,CAAA,EAAA,WAAA,YAAA,CAAA,+BAAA,CAAA,CAAA;EACvB,KAAA,cAAc,MAAM,IAAG,GAAA,YAAA,CAAA,EAAA,WAAA,cAAA,CAAA,+BAAA,CAAA,CAAA;EACvB,KAAA,OAAc,MAA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