@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,840 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import { ChangeDetectionStrategy, Component, DestroyRef, ElementRef, Injector, afterNextRender, computed, effect, inject, input, output, signal, untracked } from "@angular/core";
|
|
3
|
+
import { takeUntilDestroyed } from "@angular/core/rxjs-interop";
|
|
4
|
+
import * as i1 from "@angular/forms";
|
|
5
|
+
import { FormControl, ReactiveFormsModule } from "@angular/forms";
|
|
6
|
+
import { ButtonComponent, SidePanelComponent, UiLabelsService, isTouchViewport } from "@forgeroute/ui/core";
|
|
7
|
+
import { TextInputComponent } from "@forgeroute/ui/text-input";
|
|
8
|
+
import { RadioGroupComponent } from "@forgeroute/ui/radio";
|
|
9
|
+
import { AlertComponent } from "@forgeroute/ui/alert";
|
|
10
|
+
import { BadgeComponent } from "@forgeroute/ui/badge";
|
|
11
|
+
import { SkeletonComponent } from "@forgeroute/ui/skeleton";
|
|
12
|
+
import { EmptyStateComponent } from "@forgeroute/ui/empty-state";
|
|
13
|
+
const PHONE_NUMBER_ZIP_LENGTH = 5;
|
|
14
|
+
const PHONE_NUMBER_AREA_CODE_LENGTH = 3;
|
|
15
|
+
function digitsOnly(value, max) {
|
|
16
|
+
return (value ?? "").replace(/\D/g, "").slice(0, max);
|
|
17
|
+
}
|
|
18
|
+
var PhoneNumberPickerComponent = class PhoneNumberPickerComponent {
|
|
19
|
+
constructor() {
|
|
20
|
+
this.labels = inject(UiLabelsService);
|
|
21
|
+
this.open = input(false, ...ngDevMode ? [{ debugName: "open" }] : /* istanbul ignore next */ []);
|
|
22
|
+
this.titleInput = input(null, {
|
|
23
|
+
...ngDevMode ? { debugName: "titleInput" } : /* istanbul ignore next */ {},
|
|
24
|
+
alias: "title"
|
|
25
|
+
});
|
|
26
|
+
this.title = computed(() => this.titleInput() ?? this.labels.t("phoneNumberPicker.title"), ...ngDevMode ? [{ debugName: "title" }] : /* istanbul ignore next */ []);
|
|
27
|
+
this.subtitle = input("", ...ngDevMode ? [{ debugName: "subtitle" }] : /* istanbul ignore next */ []);
|
|
28
|
+
this.defaultPostalCode = input("", ...ngDevMode ? [{ debugName: "defaultPostalCode" }] : /* istanbul ignore next */ []);
|
|
29
|
+
this.defaultMode = input("zip", ...ngDevMode ? [{ debugName: "defaultMode" }] : /* istanbul ignore next */ []);
|
|
30
|
+
this.allowAreaCode = input(true, ...ngDevMode ? [{ debugName: "allowAreaCode" }] : /* istanbul ignore next */ []);
|
|
31
|
+
this.search = input.required(...ngDevMode ? [{ debugName: "search" }] : /* istanbul ignore next */ []);
|
|
32
|
+
this.costNotice = input("", ...ngDevMode ? [{ debugName: "costNotice" }] : /* istanbul ignore next */ []);
|
|
33
|
+
this.confirmLabelInput = input(null, {
|
|
34
|
+
...ngDevMode ? { debugName: "confirmLabelInput" } : /* istanbul ignore next */ {},
|
|
35
|
+
alias: "confirmLabel"
|
|
36
|
+
});
|
|
37
|
+
this.confirmLabel = computed(() => this.confirmLabelInput() ?? this.labels.t("phoneNumberPicker.confirmLabel"), ...ngDevMode ? [{ debugName: "confirmLabel" }] : /* istanbul ignore next */ []);
|
|
38
|
+
this.maxResults = input(5, ...ngDevMode ? [{ debugName: "maxResults" }] : /* istanbul ignore next */ []);
|
|
39
|
+
this.closed = output();
|
|
40
|
+
this.selected = output();
|
|
41
|
+
this.modeOptions = computed(() => [{
|
|
42
|
+
value: "zip",
|
|
43
|
+
label: this.labels.t("phoneNumberPicker.zip")
|
|
44
|
+
}, {
|
|
45
|
+
value: "area-code",
|
|
46
|
+
label: this.labels.t("phoneNumberPicker.areaCodeMode")
|
|
47
|
+
}], ...ngDevMode ? [{ debugName: "modeOptions" }] : /* istanbul ignore next */ []);
|
|
48
|
+
this.skeletonRows = [
|
|
49
|
+
0,
|
|
50
|
+
1,
|
|
51
|
+
2
|
|
52
|
+
];
|
|
53
|
+
this.modeCtl = new FormControl("zip", { nonNullable: true });
|
|
54
|
+
this.zipCtl = new FormControl("", { nonNullable: true });
|
|
55
|
+
this.areaCtl = new FormControl("", { nonNullable: true });
|
|
56
|
+
this.step = signal(1, ...ngDevMode ? [{ debugName: "step" }] : /* istanbul ignore next */ []);
|
|
57
|
+
this.mode = signal("zip", ...ngDevMode ? [{ debugName: "mode" }] : /* istanbul ignore next */ []);
|
|
58
|
+
this._zip = signal("", ...ngDevMode ? [{ debugName: "_zip" }] : /* istanbul ignore next */ []);
|
|
59
|
+
this._area = signal("", ...ngDevMode ? [{ debugName: "_area" }] : /* istanbul ignore next */ []);
|
|
60
|
+
this.touched = signal(false, ...ngDevMode ? [{ debugName: "touched" }] : /* istanbul ignore next */ []);
|
|
61
|
+
this._zipEdited = signal(false, ...ngDevMode ? [{ debugName: "_zipEdited" }] : /* istanbul ignore next */ []);
|
|
62
|
+
this.confirmed = signal(false, ...ngDevMode ? [{ debugName: "confirmed" }] : /* istanbul ignore next */ []);
|
|
63
|
+
this.loading = signal(false, ...ngDevMode ? [{ debugName: "loading" }] : /* istanbul ignore next */ []);
|
|
64
|
+
this.searchFailed = signal(false, ...ngDevMode ? [{ debugName: "searchFailed" }] : /* istanbul ignore next */ []);
|
|
65
|
+
this._results = signal([], ...ngDevMode ? [{ debugName: "_results" }] : /* istanbul ignore next */ []);
|
|
66
|
+
this._criteria = signal(null, ...ngDevMode ? [{ debugName: "_criteria" }] : /* istanbul ignore next */ []);
|
|
67
|
+
this.chosen = signal(null, ...ngDevMode ? [{ debugName: "chosen" }] : /* istanbul ignore next */ []);
|
|
68
|
+
this._value = computed(() => this.mode() === "zip" ? this._zip() : this._area(), ...ngDevMode ? [{ debugName: "_value" }] : /* istanbul ignore next */ []);
|
|
69
|
+
this._length = computed(() => this.mode() === "zip" ? 5 : 3, ...ngDevMode ? [{ debugName: "_length" }] : /* istanbul ignore next */ []);
|
|
70
|
+
this.valid = computed(() => this._value().length === this._length(), ...ngDevMode ? [{ debugName: "valid" }] : /* istanbul ignore next */ []);
|
|
71
|
+
this._fieldName = computed(() => this.mode() === "zip" ? this.labels.t("phoneNumberPicker.zip") : this.labels.t("phoneNumberPicker.areaCodeMode"), ...ngDevMode ? [{ debugName: "_fieldName" }] : /* istanbul ignore next */ []);
|
|
72
|
+
this.fieldError = computed(() => {
|
|
73
|
+
const v = this._value();
|
|
74
|
+
if (!this.touched() || v.length === 0 || v.length === this._length()) return "";
|
|
75
|
+
return this.labels.t("phoneNumberPicker.mustBeDigits", {
|
|
76
|
+
field: this._fieldName(),
|
|
77
|
+
count: this._length()
|
|
78
|
+
});
|
|
79
|
+
}, ...ngDevMode ? [{ debugName: "fieldError" }] : /* istanbul ignore next */ []);
|
|
80
|
+
this.visibleResults = computed(() => this._results().slice(0, Math.max(0, this.maxResults())), ...ngDevMode ? [{ debugName: "visibleResults" }] : /* istanbul ignore next */ []);
|
|
81
|
+
this.primaryLabel = computed(() => {
|
|
82
|
+
if (this.step() === 1) return this.mode() === "zip" ? this.labels.t("phoneNumberPicker.confirmZipAndSearch") : this.labels.t("phoneNumberPicker.confirmAreaAndSearch");
|
|
83
|
+
return this.step() === 3 ? this.confirmLabel() : "";
|
|
84
|
+
}, ...ngDevMode ? [{ debugName: "primaryLabel" }] : /* istanbul ignore next */ []);
|
|
85
|
+
this.changeLabel = computed(() => this._criteria()?.areaCode !== void 0 ? this.labels.t("phoneNumberPicker.changeAreaCode") : this.labels.t("phoneNumberPicker.changeZip"), ...ngDevMode ? [{ debugName: "changeLabel" }] : /* istanbul ignore next */ []);
|
|
86
|
+
this.emptyTitle = computed(() => {
|
|
87
|
+
const c = this._criteria();
|
|
88
|
+
return c?.areaCode !== void 0 ? this.labels.t("phoneNumberPicker.noNumbersForArea", { value: c.areaCode }) : this.labels.t("phoneNumberPicker.noNumbersNearZip", { value: c?.postalCode ?? "" });
|
|
89
|
+
}, ...ngDevMode ? [{ debugName: "emptyTitle" }] : /* istanbul ignore next */ []);
|
|
90
|
+
this.criteriaText = computed(() => {
|
|
91
|
+
const c = this._criteria();
|
|
92
|
+
return c?.areaCode !== void 0 ? this.labels.t("phoneNumberPicker.inAreaCode", { value: c.areaCode }) : this.labels.t("phoneNumberPicker.nearZip", { value: c?.postalCode ?? "" });
|
|
93
|
+
}, ...ngDevMode ? [{ debugName: "criteriaText" }] : /* istanbul ignore next */ []);
|
|
94
|
+
this.announcement = computed(() => {
|
|
95
|
+
if (!this.open()) return "";
|
|
96
|
+
switch (this.step()) {
|
|
97
|
+
case 1: return this.labels.t("phoneNumberPicker.step1");
|
|
98
|
+
case 2: {
|
|
99
|
+
if (this.loading()) return this.labels.t("phoneNumberPicker.searchingNumbers");
|
|
100
|
+
if (this.searchFailed()) return this.labels.t("phoneNumberPicker.couldnTSearchForNumbers");
|
|
101
|
+
const n = this.visibleResults().length;
|
|
102
|
+
return n === 0 ? this.emptyTitle() : this.labels.t(n === 1 ? "phoneNumberPicker.step2_one" : "phoneNumberPicker.step2_other", { count: n });
|
|
103
|
+
}
|
|
104
|
+
default: return this.labels.t("phoneNumberPicker.step3", { number: this.chosen()?.friendlyName ?? this.labels.t("phoneNumberPicker.yourNumber") });
|
|
105
|
+
}
|
|
106
|
+
}, ...ngDevMode ? [{ debugName: "announcement" }] : /* istanbul ignore next */ []);
|
|
107
|
+
this._destroyRef = inject(DestroyRef);
|
|
108
|
+
this._injector = inject(Injector);
|
|
109
|
+
this._el = inject(ElementRef);
|
|
110
|
+
this._searchSub = null;
|
|
111
|
+
this.zipCtl.valueChanges.pipe(takeUntilDestroyed()).subscribe((v) => {
|
|
112
|
+
if (v !== this._zip()) this._zipEdited.set(true);
|
|
113
|
+
this._typed(this.zipCtl, this._zip, v, 5);
|
|
114
|
+
});
|
|
115
|
+
this.areaCtl.valueChanges.pipe(takeUntilDestroyed()).subscribe((v) => this._typed(this.areaCtl, this._area, v, 3));
|
|
116
|
+
this.modeCtl.valueChanges.pipe(takeUntilDestroyed()).subscribe((v) => {
|
|
117
|
+
this.mode.set(v === "area-code" ? "area-code" : "zip");
|
|
118
|
+
this.touched.set(false);
|
|
119
|
+
});
|
|
120
|
+
this._destroyRef.onDestroy(() => this._abort());
|
|
121
|
+
effect(() => {
|
|
122
|
+
if (this.open()) untracked(() => this._reset());
|
|
123
|
+
else untracked(() => this._abort());
|
|
124
|
+
});
|
|
125
|
+
effect(() => {
|
|
126
|
+
const open = this.open();
|
|
127
|
+
const digits = digitsOnly(this.defaultPostalCode(), 5);
|
|
128
|
+
const step = this.step();
|
|
129
|
+
const mode = this.mode();
|
|
130
|
+
untracked(() => {
|
|
131
|
+
if (!open || step !== 1 || mode !== "zip" || this._zipEdited() || digits === "" || digits === this._zip()) return;
|
|
132
|
+
this._write(this.zipCtl, this._zip, digits);
|
|
133
|
+
});
|
|
134
|
+
});
|
|
135
|
+
}
|
|
136
|
+
onPrimary() {
|
|
137
|
+
if (this.step() === 1) this.submit();
|
|
138
|
+
else if (this.step() === 3) this.confirm();
|
|
139
|
+
}
|
|
140
|
+
onEnter(event) {
|
|
141
|
+
event.preventDefault();
|
|
142
|
+
this.submit();
|
|
143
|
+
}
|
|
144
|
+
onFieldBlur(from) {
|
|
145
|
+
if (this.mode() === from) this.touched.set(true);
|
|
146
|
+
}
|
|
147
|
+
onBeforeInput(event) {
|
|
148
|
+
const e = event;
|
|
149
|
+
if (e.inputType?.startsWith("insertText") && e.data && /\D/.test(e.data)) e.preventDefault();
|
|
150
|
+
}
|
|
151
|
+
onPaste(event) {
|
|
152
|
+
const text = event.clipboardData?.getData("text") ?? "";
|
|
153
|
+
event.preventDefault();
|
|
154
|
+
if (this.mode() === "zip") {
|
|
155
|
+
this._zipEdited.set(true);
|
|
156
|
+
this._write(this.zipCtl, this._zip, digitsOnly(text, 5));
|
|
157
|
+
} else this._write(this.areaCtl, this._area, digitsOnly(text, 3));
|
|
158
|
+
}
|
|
159
|
+
submit() {
|
|
160
|
+
if (!this.valid()) {
|
|
161
|
+
this.touched.set(true);
|
|
162
|
+
return;
|
|
163
|
+
}
|
|
164
|
+
const value = this._value();
|
|
165
|
+
this._run(this.mode() === "zip" ? { postalCode: value } : { areaCode: value });
|
|
166
|
+
}
|
|
167
|
+
retry() {
|
|
168
|
+
const c = this._criteria();
|
|
169
|
+
if (c) this._run(c);
|
|
170
|
+
}
|
|
171
|
+
choose(option) {
|
|
172
|
+
this.chosen.set(option);
|
|
173
|
+
this.step.set(3);
|
|
174
|
+
this._focusStep();
|
|
175
|
+
}
|
|
176
|
+
changeLocation() {
|
|
177
|
+
this._abort();
|
|
178
|
+
this.step.set(1);
|
|
179
|
+
this._focusStep();
|
|
180
|
+
}
|
|
181
|
+
backToResults() {
|
|
182
|
+
this.step.set(2);
|
|
183
|
+
this._focusStep();
|
|
184
|
+
}
|
|
185
|
+
confirm() {
|
|
186
|
+
const option = this.chosen();
|
|
187
|
+
const criteria = this._criteria();
|
|
188
|
+
if (!option || !criteria || this.confirmed()) return;
|
|
189
|
+
this.confirmed.set(true);
|
|
190
|
+
this.selected.emit({
|
|
191
|
+
...option,
|
|
192
|
+
...criteria
|
|
193
|
+
});
|
|
194
|
+
this.closed.emit();
|
|
195
|
+
}
|
|
196
|
+
close() {
|
|
197
|
+
this.closed.emit();
|
|
198
|
+
}
|
|
199
|
+
_run(criteria) {
|
|
200
|
+
this._abort();
|
|
201
|
+
this._criteria.set(criteria);
|
|
202
|
+
this._results.set([]);
|
|
203
|
+
this.chosen.set(null);
|
|
204
|
+
this.searchFailed.set(false);
|
|
205
|
+
this.loading.set(true);
|
|
206
|
+
this.step.set(2);
|
|
207
|
+
this._searchSub = this.search()(criteria).subscribe({
|
|
208
|
+
next: (list) => {
|
|
209
|
+
this._results.set(list ?? []);
|
|
210
|
+
this.loading.set(false);
|
|
211
|
+
this._focusStep();
|
|
212
|
+
},
|
|
213
|
+
error: () => {
|
|
214
|
+
this.searchFailed.set(true);
|
|
215
|
+
this.loading.set(false);
|
|
216
|
+
}
|
|
217
|
+
});
|
|
218
|
+
this._focusStep();
|
|
219
|
+
}
|
|
220
|
+
_abort() {
|
|
221
|
+
this._searchSub?.unsubscribe();
|
|
222
|
+
this._searchSub = null;
|
|
223
|
+
this.loading.set(false);
|
|
224
|
+
}
|
|
225
|
+
_reset() {
|
|
226
|
+
this._abort();
|
|
227
|
+
const mode = this.allowAreaCode() && this.defaultMode() === "area-code" ? "area-code" : "zip";
|
|
228
|
+
this.step.set(1);
|
|
229
|
+
this.touched.set(false);
|
|
230
|
+
this._zipEdited.set(false);
|
|
231
|
+
this.confirmed.set(false);
|
|
232
|
+
this._criteria.set(null);
|
|
233
|
+
this._results.set([]);
|
|
234
|
+
this.chosen.set(null);
|
|
235
|
+
this.searchFailed.set(false);
|
|
236
|
+
this.mode.set(mode);
|
|
237
|
+
this.modeCtl.setValue(mode, { emitEvent: false });
|
|
238
|
+
this._write(this.zipCtl, this._zip, digitsOnly(this.defaultPostalCode(), 5));
|
|
239
|
+
this._write(this.areaCtl, this._area, "");
|
|
240
|
+
}
|
|
241
|
+
_typed(ctl, sig, raw, max) {
|
|
242
|
+
const clean = digitsOnly(raw, max);
|
|
243
|
+
if (clean !== raw) ctl.setValue(clean, { emitEvent: false });
|
|
244
|
+
sig.set(clean);
|
|
245
|
+
}
|
|
246
|
+
_write(ctl, sig, value) {
|
|
247
|
+
ctl.setValue(value, { emitEvent: false });
|
|
248
|
+
sig.set(value);
|
|
249
|
+
}
|
|
250
|
+
_focusStep() {
|
|
251
|
+
afterNextRender(() => {
|
|
252
|
+
const root = this._el.nativeElement;
|
|
253
|
+
const step = this.step();
|
|
254
|
+
let target = null;
|
|
255
|
+
if (step === 1) {
|
|
256
|
+
if (isTouchViewport(root.ownerDocument)) return;
|
|
257
|
+
target = root.querySelector("[data-testid=\"pn-step-1\"] input[type=\"text\"]");
|
|
258
|
+
} else if (step === 2) target = root.querySelector(".pn-select button") ?? root.querySelector("[data-testid=\"pn-change\"] button");
|
|
259
|
+
else target = root.querySelector("[data-pn-heading]");
|
|
260
|
+
target?.focus();
|
|
261
|
+
}, { injector: this._injector });
|
|
262
|
+
}
|
|
263
|
+
static {
|
|
264
|
+
this.ɵfac = i0.ɵɵngDeclareFactory({
|
|
265
|
+
minVersion: "12.0.0",
|
|
266
|
+
version: "22.2.2",
|
|
267
|
+
ngImport: i0,
|
|
268
|
+
type: PhoneNumberPickerComponent,
|
|
269
|
+
deps: [],
|
|
270
|
+
target: i0.ɵɵFactoryTarget.Component
|
|
271
|
+
});
|
|
272
|
+
}
|
|
273
|
+
static {
|
|
274
|
+
this.ɵcmp = i0.ɵɵngDeclareComponent({
|
|
275
|
+
minVersion: "17.0.0",
|
|
276
|
+
version: "22.2.2",
|
|
277
|
+
type: PhoneNumberPickerComponent,
|
|
278
|
+
isStandalone: true,
|
|
279
|
+
selector: "ui-phone-number-picker",
|
|
280
|
+
inputs: {
|
|
281
|
+
open: {
|
|
282
|
+
classPropertyName: "open",
|
|
283
|
+
publicName: "open",
|
|
284
|
+
isSignal: true,
|
|
285
|
+
isRequired: false,
|
|
286
|
+
transformFunction: null
|
|
287
|
+
},
|
|
288
|
+
titleInput: {
|
|
289
|
+
classPropertyName: "titleInput",
|
|
290
|
+
publicName: "title",
|
|
291
|
+
isSignal: true,
|
|
292
|
+
isRequired: false,
|
|
293
|
+
transformFunction: null
|
|
294
|
+
},
|
|
295
|
+
subtitle: {
|
|
296
|
+
classPropertyName: "subtitle",
|
|
297
|
+
publicName: "subtitle",
|
|
298
|
+
isSignal: true,
|
|
299
|
+
isRequired: false,
|
|
300
|
+
transformFunction: null
|
|
301
|
+
},
|
|
302
|
+
defaultPostalCode: {
|
|
303
|
+
classPropertyName: "defaultPostalCode",
|
|
304
|
+
publicName: "defaultPostalCode",
|
|
305
|
+
isSignal: true,
|
|
306
|
+
isRequired: false,
|
|
307
|
+
transformFunction: null
|
|
308
|
+
},
|
|
309
|
+
defaultMode: {
|
|
310
|
+
classPropertyName: "defaultMode",
|
|
311
|
+
publicName: "defaultMode",
|
|
312
|
+
isSignal: true,
|
|
313
|
+
isRequired: false,
|
|
314
|
+
transformFunction: null
|
|
315
|
+
},
|
|
316
|
+
allowAreaCode: {
|
|
317
|
+
classPropertyName: "allowAreaCode",
|
|
318
|
+
publicName: "allowAreaCode",
|
|
319
|
+
isSignal: true,
|
|
320
|
+
isRequired: false,
|
|
321
|
+
transformFunction: null
|
|
322
|
+
},
|
|
323
|
+
search: {
|
|
324
|
+
classPropertyName: "search",
|
|
325
|
+
publicName: "search",
|
|
326
|
+
isSignal: true,
|
|
327
|
+
isRequired: true,
|
|
328
|
+
transformFunction: null
|
|
329
|
+
},
|
|
330
|
+
costNotice: {
|
|
331
|
+
classPropertyName: "costNotice",
|
|
332
|
+
publicName: "costNotice",
|
|
333
|
+
isSignal: true,
|
|
334
|
+
isRequired: false,
|
|
335
|
+
transformFunction: null
|
|
336
|
+
},
|
|
337
|
+
confirmLabelInput: {
|
|
338
|
+
classPropertyName: "confirmLabelInput",
|
|
339
|
+
publicName: "confirmLabel",
|
|
340
|
+
isSignal: true,
|
|
341
|
+
isRequired: false,
|
|
342
|
+
transformFunction: null
|
|
343
|
+
},
|
|
344
|
+
maxResults: {
|
|
345
|
+
classPropertyName: "maxResults",
|
|
346
|
+
publicName: "maxResults",
|
|
347
|
+
isSignal: true,
|
|
348
|
+
isRequired: false,
|
|
349
|
+
transformFunction: null
|
|
350
|
+
}
|
|
351
|
+
},
|
|
352
|
+
outputs: {
|
|
353
|
+
closed: "closed",
|
|
354
|
+
selected: "selected"
|
|
355
|
+
},
|
|
356
|
+
ngImport: i0,
|
|
357
|
+
template: `
|
|
358
|
+
<ui-side-panel
|
|
359
|
+
[open]="open()"
|
|
360
|
+
[title]="title()"
|
|
361
|
+
[subtitle]="subtitle()"
|
|
362
|
+
[primaryLabel]="primaryLabel()"
|
|
363
|
+
[primaryDisabled]="(step() === 1 && !valid()) || (step() === 3 && confirmed())"
|
|
364
|
+
(closed)="close()"
|
|
365
|
+
(primaryClick)="onPrimary()">
|
|
366
|
+
|
|
367
|
+
<div class="pn-sr-only" role="status" aria-live="polite" data-testid="pn-live">{{ announcement() }}</div>
|
|
368
|
+
|
|
369
|
+
@if (step() === 1) {
|
|
370
|
+
<div class="pn-step" data-testid="pn-step-1">
|
|
371
|
+
@if (costNotice()) {
|
|
372
|
+
<ui-alert variant="warning" data-testid="pn-cost-notice">{{ costNotice() }}</ui-alert>
|
|
373
|
+
}
|
|
374
|
+
@if (allowAreaCode()) {
|
|
375
|
+
<ui-radio-group [label]="labels.t('phoneNumberPicker.searchBy')" orientation="horizontal" [options]="modeOptions()" [formControl]="modeCtl" data-testid="pn-mode" />
|
|
376
|
+
}
|
|
377
|
+
<div (keydown.enter)="onEnter($event)" (beforeinput)="onBeforeInput($event)" (paste)="onPaste($event)">
|
|
378
|
+
@if (mode() === 'zip') {
|
|
379
|
+
<ui-text-input
|
|
380
|
+
[label]="labels.t('phoneNumberPicker.zipCode')" [required]="true" [maxlength]="5" type="text" inputmode="numeric" autocomplete="postal-code"
|
|
381
|
+
placeholder="78701" [formControl]="zipCtl" [error]="fieldError()" [showErrors]="touched()"
|
|
382
|
+
[hint]="labels.t('phoneNumberPicker.weLlLookForNumbers')"
|
|
383
|
+
(blurred)="onFieldBlur('zip')" data-testid="pn-zip" />
|
|
384
|
+
} @else {
|
|
385
|
+
<ui-text-input
|
|
386
|
+
[label]="labels.t('phoneNumberPicker.areaCode')" [required]="true" [maxlength]="3" type="text" inputmode="numeric" autocomplete="off"
|
|
387
|
+
placeholder="512" [formControl]="areaCtl" [error]="fieldError()" [showErrors]="touched()"
|
|
388
|
+
[hint]="labels.t('phoneNumberPicker.weLlLookForNumbers2')"
|
|
389
|
+
(blurred)="onFieldBlur('area-code')" data-testid="pn-area" />
|
|
390
|
+
}
|
|
391
|
+
</div>
|
|
392
|
+
</div>
|
|
393
|
+
}
|
|
394
|
+
|
|
395
|
+
@if (step() === 2) {
|
|
396
|
+
<div class="pn-step" data-testid="pn-step-2">
|
|
397
|
+
@if (loading()) {
|
|
398
|
+
<div class="pn-skeletons" aria-busy="true" data-testid="pn-loading">
|
|
399
|
+
@for (i of skeletonRows; track i) { <ui-skeleton [height]="56" [radius]="10" /> }
|
|
400
|
+
</div>
|
|
401
|
+
} @else if (searchFailed()) {
|
|
402
|
+
<ui-alert variant="danger" data-testid="pn-error">{{ labels.t('phoneNumberPicker.couldnTSearchForNumbers') }}<ui-button variant="secondary" size="sm" data-testid="pn-retry" (click)="retry()">{{ labels.t('common.retry') }}</ui-button>
|
|
403
|
+
</ui-alert>
|
|
404
|
+
} @else if (visibleResults().length === 0) {
|
|
405
|
+
<ui-empty-state iconType="search" [title]="emptyTitle()" [message]="labels.t('phoneNumberPicker.tryADifferentZipCode')" data-testid="pn-empty" />
|
|
406
|
+
} @else {
|
|
407
|
+
<ul class="pn-list" [attr.aria-label]="labels.t('phoneNumberPicker.availablePhoneNumbers')" data-testid="pn-results">
|
|
408
|
+
@for (opt of visibleResults(); track opt.phoneNumber) {
|
|
409
|
+
<li class="pn-row" data-testid="pn-row">
|
|
410
|
+
<span class="pn-name">{{ opt.friendlyName }}</span>
|
|
411
|
+
@if (opt.region) { <ui-badge [label]="opt.region" variant="gray" /> }
|
|
412
|
+
<ui-button class="pn-select" variant="secondary" size="sm" [ariaLabel]="labels.t('phoneNumberPicker.selectNamed', { name: opt.friendlyName })"
|
|
413
|
+
(click)="choose(opt)">{{ labels.t('common.select') }}</ui-button>
|
|
414
|
+
</li>
|
|
415
|
+
}
|
|
416
|
+
</ul>
|
|
417
|
+
}
|
|
418
|
+
<div class="pn-actions">
|
|
419
|
+
<ui-button variant="ghost" size="sm" data-testid="pn-change" (click)="changeLocation()">{{ changeLabel() }}</ui-button>
|
|
420
|
+
</div>
|
|
421
|
+
</div>
|
|
422
|
+
}
|
|
423
|
+
|
|
424
|
+
@if (step() === 3 && chosen(); as pick) {
|
|
425
|
+
<div class="pn-step" data-testid="pn-step-3">
|
|
426
|
+
<h3 class="pn-chosen" tabindex="-1" data-pn-heading data-testid="pn-chosen">{{ labels.t('phoneNumberPicker.youChose', { name: pick.friendlyName }) }}</h3>
|
|
427
|
+
<p class="pn-criteria" data-testid="pn-criteria">{{ criteriaText() }}</p>
|
|
428
|
+
@if (pick.region) { <ui-badge [label]="pick.region" variant="gray" /> }
|
|
429
|
+
@if (costNotice()) {
|
|
430
|
+
<ui-alert variant="warning" data-testid="pn-cost-notice">{{ costNotice() }}</ui-alert>
|
|
431
|
+
}
|
|
432
|
+
<div class="pn-actions">
|
|
433
|
+
<ui-button variant="ghost" size="sm" data-testid="pn-back" (click)="backToResults()">{{ labels.t('phoneNumberPicker.backToResults') }}</ui-button>
|
|
434
|
+
</div>
|
|
435
|
+
</div>
|
|
436
|
+
}
|
|
437
|
+
</ui-side-panel>
|
|
438
|
+
`,
|
|
439
|
+
isInline: true,
|
|
440
|
+
styles: [":host{display:contents}.pn-step{display:flex;flex-direction:column;gap:16px}.pn-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:10px}.pn-row{display:flex;align-items:center;gap:10px;padding:10px 12px;border:1px solid #e2e8f0;border-radius:10px;background:#fff}.pn-name{font-size:.9375rem;font-weight:600;color:#1e293b;flex:1;min-width:0;overflow-wrap:anywhere}.pn-select{flex-shrink:0}.pn-skeletons{display:flex;flex-direction:column;gap:10px}.pn-actions{display:flex;justify-content:flex-start}.pn-chosen{margin:0;font-size:1.125rem;font-weight:700;color:#1e293b}.pn-chosen:focus{outline:none}.pn-criteria{margin:0;font-size:.875rem;color:#475569}.pn-sr-only{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);-webkit-clip-path:inset(50%);clip-path:inset(50%);white-space:nowrap;border:0}\n"],
|
|
441
|
+
dependencies: [
|
|
442
|
+
{
|
|
443
|
+
kind: "ngmodule",
|
|
444
|
+
type: ReactiveFormsModule
|
|
445
|
+
},
|
|
446
|
+
{
|
|
447
|
+
kind: "directive",
|
|
448
|
+
type: i1.NgControlStatus,
|
|
449
|
+
selector: "[formControlName],[ngModel],[formControl]"
|
|
450
|
+
},
|
|
451
|
+
{
|
|
452
|
+
kind: "directive",
|
|
453
|
+
type: i1.RequiredValidator,
|
|
454
|
+
selector: ":not([type=checkbox])[required][formControlName],:not([type=checkbox])[required][formControl],:not([type=checkbox])[required][ngModel]",
|
|
455
|
+
inputs: ["required"]
|
|
456
|
+
},
|
|
457
|
+
{
|
|
458
|
+
kind: "directive",
|
|
459
|
+
type: i1.MaxLengthValidator,
|
|
460
|
+
selector: "[maxlength][formControlName],[maxlength][formControl],[maxlength][ngModel]",
|
|
461
|
+
inputs: ["maxlength"]
|
|
462
|
+
},
|
|
463
|
+
{
|
|
464
|
+
kind: "directive",
|
|
465
|
+
type: i1.FormControlDirective,
|
|
466
|
+
selector: "[formControl]",
|
|
467
|
+
inputs: [
|
|
468
|
+
"formControl",
|
|
469
|
+
"disabled",
|
|
470
|
+
"ngModel"
|
|
471
|
+
],
|
|
472
|
+
outputs: ["ngModelChange"],
|
|
473
|
+
exportAs: ["ngForm"]
|
|
474
|
+
},
|
|
475
|
+
{
|
|
476
|
+
kind: "component",
|
|
477
|
+
type: SidePanelComponent,
|
|
478
|
+
selector: "ui-side-panel",
|
|
479
|
+
inputs: [
|
|
480
|
+
"open",
|
|
481
|
+
"title",
|
|
482
|
+
"subtitle",
|
|
483
|
+
"wide",
|
|
484
|
+
"extraWide",
|
|
485
|
+
"cancelLabel",
|
|
486
|
+
"primaryLabel",
|
|
487
|
+
"primaryVariant",
|
|
488
|
+
"primaryLoading",
|
|
489
|
+
"primaryDisabled",
|
|
490
|
+
"cancelTestId",
|
|
491
|
+
"primaryTestId",
|
|
492
|
+
"returnFocusTo"
|
|
493
|
+
],
|
|
494
|
+
outputs: ["closed", "primaryClick"]
|
|
495
|
+
},
|
|
496
|
+
{
|
|
497
|
+
kind: "component",
|
|
498
|
+
type: TextInputComponent,
|
|
499
|
+
selector: "ui-text-input",
|
|
500
|
+
inputs: [
|
|
501
|
+
"label",
|
|
502
|
+
"ariaLabel",
|
|
503
|
+
"inputTestId",
|
|
504
|
+
"inputName",
|
|
505
|
+
"placeholder",
|
|
506
|
+
"prefix",
|
|
507
|
+
"leadingIcon",
|
|
508
|
+
"revealable",
|
|
509
|
+
"passwordRequirements",
|
|
510
|
+
"passwordRules",
|
|
511
|
+
"type",
|
|
512
|
+
"maxlength",
|
|
513
|
+
"required",
|
|
514
|
+
"autocomplete",
|
|
515
|
+
"inputmode",
|
|
516
|
+
"readonly",
|
|
517
|
+
"hint",
|
|
518
|
+
"ariaDescribedBy",
|
|
519
|
+
"ariaInvalid",
|
|
520
|
+
"error",
|
|
521
|
+
"phoneFormat",
|
|
522
|
+
"min",
|
|
523
|
+
"max",
|
|
524
|
+
"maxDecimals",
|
|
525
|
+
"step",
|
|
526
|
+
"valueType",
|
|
527
|
+
"formatter",
|
|
528
|
+
"integer",
|
|
529
|
+
"showErrors",
|
|
530
|
+
"disabled"
|
|
531
|
+
],
|
|
532
|
+
outputs: [
|
|
533
|
+
"valueChange",
|
|
534
|
+
"focused",
|
|
535
|
+
"blurred",
|
|
536
|
+
"invalidChange"
|
|
537
|
+
]
|
|
538
|
+
},
|
|
539
|
+
{
|
|
540
|
+
kind: "component",
|
|
541
|
+
type: RadioGroupComponent,
|
|
542
|
+
selector: "ui-radio-group",
|
|
543
|
+
inputs: [
|
|
544
|
+
"label",
|
|
545
|
+
"options",
|
|
546
|
+
"required",
|
|
547
|
+
"hint",
|
|
548
|
+
"error",
|
|
549
|
+
"showErrors",
|
|
550
|
+
"orientation",
|
|
551
|
+
"name",
|
|
552
|
+
"disabled"
|
|
553
|
+
],
|
|
554
|
+
outputs: ["invalidChange"]
|
|
555
|
+
},
|
|
556
|
+
{
|
|
557
|
+
kind: "component",
|
|
558
|
+
type: ButtonComponent,
|
|
559
|
+
selector: "ui-button",
|
|
560
|
+
inputs: [
|
|
561
|
+
"variant",
|
|
562
|
+
"routerLink",
|
|
563
|
+
"queryParams",
|
|
564
|
+
"fragment",
|
|
565
|
+
"state",
|
|
566
|
+
"href",
|
|
567
|
+
"target",
|
|
568
|
+
"rel",
|
|
569
|
+
"shortLabel",
|
|
570
|
+
"shortBelow",
|
|
571
|
+
"color",
|
|
572
|
+
"active",
|
|
573
|
+
"size",
|
|
574
|
+
"type",
|
|
575
|
+
"disabled",
|
|
576
|
+
"loading",
|
|
577
|
+
"fullWidth",
|
|
578
|
+
"ariaLabel",
|
|
579
|
+
"ariaExpanded",
|
|
580
|
+
"ariaPressed",
|
|
581
|
+
"ariaDescribedBy",
|
|
582
|
+
"modal-footer-left",
|
|
583
|
+
"modal-footer-right"
|
|
584
|
+
]
|
|
585
|
+
},
|
|
586
|
+
{
|
|
587
|
+
kind: "component",
|
|
588
|
+
type: AlertComponent,
|
|
589
|
+
selector: "ui-alert",
|
|
590
|
+
inputs: [
|
|
591
|
+
"variant",
|
|
592
|
+
"title",
|
|
593
|
+
"dismissible",
|
|
594
|
+
"dismissAriaLabel",
|
|
595
|
+
"quiet",
|
|
596
|
+
"compact",
|
|
597
|
+
"inline",
|
|
598
|
+
"fill"
|
|
599
|
+
],
|
|
600
|
+
outputs: ["dismissed"]
|
|
601
|
+
},
|
|
602
|
+
{
|
|
603
|
+
kind: "component",
|
|
604
|
+
type: BadgeComponent,
|
|
605
|
+
selector: "ui-badge",
|
|
606
|
+
inputs: [
|
|
607
|
+
"label",
|
|
608
|
+
"variant",
|
|
609
|
+
"color"
|
|
610
|
+
]
|
|
611
|
+
},
|
|
612
|
+
{
|
|
613
|
+
kind: "component",
|
|
614
|
+
type: SkeletonComponent,
|
|
615
|
+
selector: "ui-skeleton",
|
|
616
|
+
inputs: [
|
|
617
|
+
"height",
|
|
618
|
+
"width",
|
|
619
|
+
"radius",
|
|
620
|
+
"mb",
|
|
621
|
+
"ariaLabel"
|
|
622
|
+
]
|
|
623
|
+
},
|
|
624
|
+
{
|
|
625
|
+
kind: "component",
|
|
626
|
+
type: EmptyStateComponent,
|
|
627
|
+
selector: "ui-empty-state",
|
|
628
|
+
inputs: [
|
|
629
|
+
"message",
|
|
630
|
+
"title",
|
|
631
|
+
"iconType"
|
|
632
|
+
]
|
|
633
|
+
}
|
|
634
|
+
],
|
|
635
|
+
changeDetection: i0.ChangeDetectionStrategy.OnPush
|
|
636
|
+
});
|
|
637
|
+
}
|
|
638
|
+
};
|
|
639
|
+
i0.ɵɵngDeclareClassMetadata({
|
|
640
|
+
minVersion: "12.0.0",
|
|
641
|
+
version: "22.2.2",
|
|
642
|
+
ngImport: i0,
|
|
643
|
+
type: PhoneNumberPickerComponent,
|
|
644
|
+
decorators: [{
|
|
645
|
+
type: Component,
|
|
646
|
+
args: [{
|
|
647
|
+
selector: "ui-phone-number-picker",
|
|
648
|
+
standalone: true,
|
|
649
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
650
|
+
imports: [
|
|
651
|
+
ReactiveFormsModule,
|
|
652
|
+
SidePanelComponent,
|
|
653
|
+
TextInputComponent,
|
|
654
|
+
RadioGroupComponent,
|
|
655
|
+
ButtonComponent,
|
|
656
|
+
AlertComponent,
|
|
657
|
+
BadgeComponent,
|
|
658
|
+
SkeletonComponent,
|
|
659
|
+
EmptyStateComponent
|
|
660
|
+
],
|
|
661
|
+
template: `
|
|
662
|
+
<ui-side-panel
|
|
663
|
+
[open]="open()"
|
|
664
|
+
[title]="title()"
|
|
665
|
+
[subtitle]="subtitle()"
|
|
666
|
+
[primaryLabel]="primaryLabel()"
|
|
667
|
+
[primaryDisabled]="(step() === 1 && !valid()) || (step() === 3 && confirmed())"
|
|
668
|
+
(closed)="close()"
|
|
669
|
+
(primaryClick)="onPrimary()">
|
|
670
|
+
|
|
671
|
+
<div class="pn-sr-only" role="status" aria-live="polite" data-testid="pn-live">{{ announcement() }}</div>
|
|
672
|
+
|
|
673
|
+
@if (step() === 1) {
|
|
674
|
+
<div class="pn-step" data-testid="pn-step-1">
|
|
675
|
+
@if (costNotice()) {
|
|
676
|
+
<ui-alert variant="warning" data-testid="pn-cost-notice">{{ costNotice() }}</ui-alert>
|
|
677
|
+
}
|
|
678
|
+
@if (allowAreaCode()) {
|
|
679
|
+
<ui-radio-group [label]="labels.t('phoneNumberPicker.searchBy')" orientation="horizontal" [options]="modeOptions()" [formControl]="modeCtl" data-testid="pn-mode" />
|
|
680
|
+
}
|
|
681
|
+
<div (keydown.enter)="onEnter($event)" (beforeinput)="onBeforeInput($event)" (paste)="onPaste($event)">
|
|
682
|
+
@if (mode() === 'zip') {
|
|
683
|
+
<ui-text-input
|
|
684
|
+
[label]="labels.t('phoneNumberPicker.zipCode')" [required]="true" [maxlength]="5" type="text" inputmode="numeric" autocomplete="postal-code"
|
|
685
|
+
placeholder="78701" [formControl]="zipCtl" [error]="fieldError()" [showErrors]="touched()"
|
|
686
|
+
[hint]="labels.t('phoneNumberPicker.weLlLookForNumbers')"
|
|
687
|
+
(blurred)="onFieldBlur('zip')" data-testid="pn-zip" />
|
|
688
|
+
} @else {
|
|
689
|
+
<ui-text-input
|
|
690
|
+
[label]="labels.t('phoneNumberPicker.areaCode')" [required]="true" [maxlength]="3" type="text" inputmode="numeric" autocomplete="off"
|
|
691
|
+
placeholder="512" [formControl]="areaCtl" [error]="fieldError()" [showErrors]="touched()"
|
|
692
|
+
[hint]="labels.t('phoneNumberPicker.weLlLookForNumbers2')"
|
|
693
|
+
(blurred)="onFieldBlur('area-code')" data-testid="pn-area" />
|
|
694
|
+
}
|
|
695
|
+
</div>
|
|
696
|
+
</div>
|
|
697
|
+
}
|
|
698
|
+
|
|
699
|
+
@if (step() === 2) {
|
|
700
|
+
<div class="pn-step" data-testid="pn-step-2">
|
|
701
|
+
@if (loading()) {
|
|
702
|
+
<div class="pn-skeletons" aria-busy="true" data-testid="pn-loading">
|
|
703
|
+
@for (i of skeletonRows; track i) { <ui-skeleton [height]="56" [radius]="10" /> }
|
|
704
|
+
</div>
|
|
705
|
+
} @else if (searchFailed()) {
|
|
706
|
+
<ui-alert variant="danger" data-testid="pn-error">{{ labels.t('phoneNumberPicker.couldnTSearchForNumbers') }}<ui-button variant="secondary" size="sm" data-testid="pn-retry" (click)="retry()">{{ labels.t('common.retry') }}</ui-button>
|
|
707
|
+
</ui-alert>
|
|
708
|
+
} @else if (visibleResults().length === 0) {
|
|
709
|
+
<ui-empty-state iconType="search" [title]="emptyTitle()" [message]="labels.t('phoneNumberPicker.tryADifferentZipCode')" data-testid="pn-empty" />
|
|
710
|
+
} @else {
|
|
711
|
+
<ul class="pn-list" [attr.aria-label]="labels.t('phoneNumberPicker.availablePhoneNumbers')" data-testid="pn-results">
|
|
712
|
+
@for (opt of visibleResults(); track opt.phoneNumber) {
|
|
713
|
+
<li class="pn-row" data-testid="pn-row">
|
|
714
|
+
<span class="pn-name">{{ opt.friendlyName }}</span>
|
|
715
|
+
@if (opt.region) { <ui-badge [label]="opt.region" variant="gray" /> }
|
|
716
|
+
<ui-button class="pn-select" variant="secondary" size="sm" [ariaLabel]="labels.t('phoneNumberPicker.selectNamed', { name: opt.friendlyName })"
|
|
717
|
+
(click)="choose(opt)">{{ labels.t('common.select') }}</ui-button>
|
|
718
|
+
</li>
|
|
719
|
+
}
|
|
720
|
+
</ul>
|
|
721
|
+
}
|
|
722
|
+
<div class="pn-actions">
|
|
723
|
+
<ui-button variant="ghost" size="sm" data-testid="pn-change" (click)="changeLocation()">{{ changeLabel() }}</ui-button>
|
|
724
|
+
</div>
|
|
725
|
+
</div>
|
|
726
|
+
}
|
|
727
|
+
|
|
728
|
+
@if (step() === 3 && chosen(); as pick) {
|
|
729
|
+
<div class="pn-step" data-testid="pn-step-3">
|
|
730
|
+
<h3 class="pn-chosen" tabindex="-1" data-pn-heading data-testid="pn-chosen">{{ labels.t('phoneNumberPicker.youChose', { name: pick.friendlyName }) }}</h3>
|
|
731
|
+
<p class="pn-criteria" data-testid="pn-criteria">{{ criteriaText() }}</p>
|
|
732
|
+
@if (pick.region) { <ui-badge [label]="pick.region" variant="gray" /> }
|
|
733
|
+
@if (costNotice()) {
|
|
734
|
+
<ui-alert variant="warning" data-testid="pn-cost-notice">{{ costNotice() }}</ui-alert>
|
|
735
|
+
}
|
|
736
|
+
<div class="pn-actions">
|
|
737
|
+
<ui-button variant="ghost" size="sm" data-testid="pn-back" (click)="backToResults()">{{ labels.t('phoneNumberPicker.backToResults') }}</ui-button>
|
|
738
|
+
</div>
|
|
739
|
+
</div>
|
|
740
|
+
}
|
|
741
|
+
</ui-side-panel>
|
|
742
|
+
`,
|
|
743
|
+
styles: [":host{display:contents}.pn-step{display:flex;flex-direction:column;gap:16px}.pn-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:10px}.pn-row{display:flex;align-items:center;gap:10px;padding:10px 12px;border:1px solid #e2e8f0;border-radius:10px;background:#fff}.pn-name{font-size:.9375rem;font-weight:600;color:#1e293b;flex:1;min-width:0;overflow-wrap:anywhere}.pn-select{flex-shrink:0}.pn-skeletons{display:flex;flex-direction:column;gap:10px}.pn-actions{display:flex;justify-content:flex-start}.pn-chosen{margin:0;font-size:1.125rem;font-weight:700;color:#1e293b}.pn-chosen:focus{outline:none}.pn-criteria{margin:0;font-size:.875rem;color:#475569}.pn-sr-only{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);-webkit-clip-path:inset(50%);clip-path:inset(50%);white-space:nowrap;border:0}\n"]
|
|
744
|
+
}]
|
|
745
|
+
}],
|
|
746
|
+
ctorParameters: () => [],
|
|
747
|
+
propDecorators: {
|
|
748
|
+
open: [{
|
|
749
|
+
type: i0.Input,
|
|
750
|
+
args: [{
|
|
751
|
+
isSignal: true,
|
|
752
|
+
alias: "open",
|
|
753
|
+
required: false
|
|
754
|
+
}]
|
|
755
|
+
}],
|
|
756
|
+
titleInput: [{
|
|
757
|
+
type: i0.Input,
|
|
758
|
+
args: [{
|
|
759
|
+
isSignal: true,
|
|
760
|
+
alias: "title",
|
|
761
|
+
required: false
|
|
762
|
+
}]
|
|
763
|
+
}],
|
|
764
|
+
subtitle: [{
|
|
765
|
+
type: i0.Input,
|
|
766
|
+
args: [{
|
|
767
|
+
isSignal: true,
|
|
768
|
+
alias: "subtitle",
|
|
769
|
+
required: false
|
|
770
|
+
}]
|
|
771
|
+
}],
|
|
772
|
+
defaultPostalCode: [{
|
|
773
|
+
type: i0.Input,
|
|
774
|
+
args: [{
|
|
775
|
+
isSignal: true,
|
|
776
|
+
alias: "defaultPostalCode",
|
|
777
|
+
required: false
|
|
778
|
+
}]
|
|
779
|
+
}],
|
|
780
|
+
defaultMode: [{
|
|
781
|
+
type: i0.Input,
|
|
782
|
+
args: [{
|
|
783
|
+
isSignal: true,
|
|
784
|
+
alias: "defaultMode",
|
|
785
|
+
required: false
|
|
786
|
+
}]
|
|
787
|
+
}],
|
|
788
|
+
allowAreaCode: [{
|
|
789
|
+
type: i0.Input,
|
|
790
|
+
args: [{
|
|
791
|
+
isSignal: true,
|
|
792
|
+
alias: "allowAreaCode",
|
|
793
|
+
required: false
|
|
794
|
+
}]
|
|
795
|
+
}],
|
|
796
|
+
search: [{
|
|
797
|
+
type: i0.Input,
|
|
798
|
+
args: [{
|
|
799
|
+
isSignal: true,
|
|
800
|
+
alias: "search",
|
|
801
|
+
required: true
|
|
802
|
+
}]
|
|
803
|
+
}],
|
|
804
|
+
costNotice: [{
|
|
805
|
+
type: i0.Input,
|
|
806
|
+
args: [{
|
|
807
|
+
isSignal: true,
|
|
808
|
+
alias: "costNotice",
|
|
809
|
+
required: false
|
|
810
|
+
}]
|
|
811
|
+
}],
|
|
812
|
+
confirmLabelInput: [{
|
|
813
|
+
type: i0.Input,
|
|
814
|
+
args: [{
|
|
815
|
+
isSignal: true,
|
|
816
|
+
alias: "confirmLabel",
|
|
817
|
+
required: false
|
|
818
|
+
}]
|
|
819
|
+
}],
|
|
820
|
+
maxResults: [{
|
|
821
|
+
type: i0.Input,
|
|
822
|
+
args: [{
|
|
823
|
+
isSignal: true,
|
|
824
|
+
alias: "maxResults",
|
|
825
|
+
required: false
|
|
826
|
+
}]
|
|
827
|
+
}],
|
|
828
|
+
closed: [{
|
|
829
|
+
type: i0.Output,
|
|
830
|
+
args: ["closed"]
|
|
831
|
+
}],
|
|
832
|
+
selected: [{
|
|
833
|
+
type: i0.Output,
|
|
834
|
+
args: ["selected"]
|
|
835
|
+
}]
|
|
836
|
+
}
|
|
837
|
+
});
|
|
838
|
+
export { PHONE_NUMBER_AREA_CODE_LENGTH, PHONE_NUMBER_ZIP_LENGTH, PhoneNumberPickerComponent, digitsOnly };
|
|
839
|
+
|
|
840
|
+
//# sourceMappingURL=forgeroute-ui-phone-number-picker.mjs.map
|