@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,1071 @@
|
|
|
1
|
+
import { safeLocale, uiCurrencyFormatter, uiLocale, uiText } from "@forgeroute/ui/core";
|
|
2
|
+
const US_STATES = [
|
|
3
|
+
{
|
|
4
|
+
value: "AL",
|
|
5
|
+
label: "Alabama"
|
|
6
|
+
},
|
|
7
|
+
{
|
|
8
|
+
value: "AK",
|
|
9
|
+
label: "Alaska"
|
|
10
|
+
},
|
|
11
|
+
{
|
|
12
|
+
value: "AZ",
|
|
13
|
+
label: "Arizona"
|
|
14
|
+
},
|
|
15
|
+
{
|
|
16
|
+
value: "AR",
|
|
17
|
+
label: "Arkansas"
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
value: "CA",
|
|
21
|
+
label: "California"
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
value: "CO",
|
|
25
|
+
label: "Colorado"
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
value: "CT",
|
|
29
|
+
label: "Connecticut"
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
value: "DE",
|
|
33
|
+
label: "Delaware"
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
value: "FL",
|
|
37
|
+
label: "Florida"
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
value: "GA",
|
|
41
|
+
label: "Georgia"
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
value: "HI",
|
|
45
|
+
label: "Hawaii"
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
value: "ID",
|
|
49
|
+
label: "Idaho"
|
|
50
|
+
},
|
|
51
|
+
{
|
|
52
|
+
value: "IL",
|
|
53
|
+
label: "Illinois"
|
|
54
|
+
},
|
|
55
|
+
{
|
|
56
|
+
value: "IN",
|
|
57
|
+
label: "Indiana"
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
value: "IA",
|
|
61
|
+
label: "Iowa"
|
|
62
|
+
},
|
|
63
|
+
{
|
|
64
|
+
value: "KS",
|
|
65
|
+
label: "Kansas"
|
|
66
|
+
},
|
|
67
|
+
{
|
|
68
|
+
value: "KY",
|
|
69
|
+
label: "Kentucky"
|
|
70
|
+
},
|
|
71
|
+
{
|
|
72
|
+
value: "LA",
|
|
73
|
+
label: "Louisiana"
|
|
74
|
+
},
|
|
75
|
+
{
|
|
76
|
+
value: "ME",
|
|
77
|
+
label: "Maine"
|
|
78
|
+
},
|
|
79
|
+
{
|
|
80
|
+
value: "MD",
|
|
81
|
+
label: "Maryland"
|
|
82
|
+
},
|
|
83
|
+
{
|
|
84
|
+
value: "MA",
|
|
85
|
+
label: "Massachusetts"
|
|
86
|
+
},
|
|
87
|
+
{
|
|
88
|
+
value: "MI",
|
|
89
|
+
label: "Michigan"
|
|
90
|
+
},
|
|
91
|
+
{
|
|
92
|
+
value: "MN",
|
|
93
|
+
label: "Minnesota"
|
|
94
|
+
},
|
|
95
|
+
{
|
|
96
|
+
value: "MS",
|
|
97
|
+
label: "Mississippi"
|
|
98
|
+
},
|
|
99
|
+
{
|
|
100
|
+
value: "MO",
|
|
101
|
+
label: "Missouri"
|
|
102
|
+
},
|
|
103
|
+
{
|
|
104
|
+
value: "MT",
|
|
105
|
+
label: "Montana"
|
|
106
|
+
},
|
|
107
|
+
{
|
|
108
|
+
value: "NE",
|
|
109
|
+
label: "Nebraska"
|
|
110
|
+
},
|
|
111
|
+
{
|
|
112
|
+
value: "NV",
|
|
113
|
+
label: "Nevada"
|
|
114
|
+
},
|
|
115
|
+
{
|
|
116
|
+
value: "NH",
|
|
117
|
+
label: "New Hampshire"
|
|
118
|
+
},
|
|
119
|
+
{
|
|
120
|
+
value: "NJ",
|
|
121
|
+
label: "New Jersey"
|
|
122
|
+
},
|
|
123
|
+
{
|
|
124
|
+
value: "NM",
|
|
125
|
+
label: "New Mexico"
|
|
126
|
+
},
|
|
127
|
+
{
|
|
128
|
+
value: "NY",
|
|
129
|
+
label: "New York"
|
|
130
|
+
},
|
|
131
|
+
{
|
|
132
|
+
value: "NC",
|
|
133
|
+
label: "North Carolina"
|
|
134
|
+
},
|
|
135
|
+
{
|
|
136
|
+
value: "ND",
|
|
137
|
+
label: "North Dakota"
|
|
138
|
+
},
|
|
139
|
+
{
|
|
140
|
+
value: "OH",
|
|
141
|
+
label: "Ohio"
|
|
142
|
+
},
|
|
143
|
+
{
|
|
144
|
+
value: "OK",
|
|
145
|
+
label: "Oklahoma"
|
|
146
|
+
},
|
|
147
|
+
{
|
|
148
|
+
value: "OR",
|
|
149
|
+
label: "Oregon"
|
|
150
|
+
},
|
|
151
|
+
{
|
|
152
|
+
value: "PA",
|
|
153
|
+
label: "Pennsylvania"
|
|
154
|
+
},
|
|
155
|
+
{
|
|
156
|
+
value: "RI",
|
|
157
|
+
label: "Rhode Island"
|
|
158
|
+
},
|
|
159
|
+
{
|
|
160
|
+
value: "SC",
|
|
161
|
+
label: "South Carolina"
|
|
162
|
+
},
|
|
163
|
+
{
|
|
164
|
+
value: "SD",
|
|
165
|
+
label: "South Dakota"
|
|
166
|
+
},
|
|
167
|
+
{
|
|
168
|
+
value: "TN",
|
|
169
|
+
label: "Tennessee"
|
|
170
|
+
},
|
|
171
|
+
{
|
|
172
|
+
value: "TX",
|
|
173
|
+
label: "Texas"
|
|
174
|
+
},
|
|
175
|
+
{
|
|
176
|
+
value: "UT",
|
|
177
|
+
label: "Utah"
|
|
178
|
+
},
|
|
179
|
+
{
|
|
180
|
+
value: "VT",
|
|
181
|
+
label: "Vermont"
|
|
182
|
+
},
|
|
183
|
+
{
|
|
184
|
+
value: "VA",
|
|
185
|
+
label: "Virginia"
|
|
186
|
+
},
|
|
187
|
+
{
|
|
188
|
+
value: "WA",
|
|
189
|
+
label: "Washington"
|
|
190
|
+
},
|
|
191
|
+
{
|
|
192
|
+
value: "WV",
|
|
193
|
+
label: "West Virginia"
|
|
194
|
+
},
|
|
195
|
+
{
|
|
196
|
+
value: "WI",
|
|
197
|
+
label: "Wisconsin"
|
|
198
|
+
},
|
|
199
|
+
{
|
|
200
|
+
value: "WY",
|
|
201
|
+
label: "Wyoming"
|
|
202
|
+
},
|
|
203
|
+
{
|
|
204
|
+
value: "DC",
|
|
205
|
+
label: "District of Columbia"
|
|
206
|
+
}
|
|
207
|
+
];
|
|
208
|
+
function usStateName(code, fallback = "") {
|
|
209
|
+
const key = `usState.${(code ?? "").toUpperCase()}`;
|
|
210
|
+
const text = uiText(key);
|
|
211
|
+
return text === key ? fallback : text;
|
|
212
|
+
}
|
|
213
|
+
function usStateSelectOptions(opts = {}) {
|
|
214
|
+
const { store = "code", includeDc = false, label, locale = "en" } = opts;
|
|
215
|
+
return US_STATES.filter((s) => includeDc || s.value !== "DC").map((s) => ({
|
|
216
|
+
value: store === "code" ? s.value : s.label,
|
|
217
|
+
label: label ? label(s) : usStateName(s.value, s.label)
|
|
218
|
+
})).sort((a, b) => a.label.localeCompare(b.label, locale));
|
|
219
|
+
}
|
|
220
|
+
const US_LOCATIONS = {
|
|
221
|
+
AL: [
|
|
222
|
+
"Anniston",
|
|
223
|
+
"Auburn",
|
|
224
|
+
"Birmingham",
|
|
225
|
+
"Decatur",
|
|
226
|
+
"Dothan",
|
|
227
|
+
"Florence",
|
|
228
|
+
"Gadsden",
|
|
229
|
+
"Hoover",
|
|
230
|
+
"Huntsville",
|
|
231
|
+
"Mobile",
|
|
232
|
+
"Montgomery",
|
|
233
|
+
"Tuscaloosa"
|
|
234
|
+
],
|
|
235
|
+
AK: [
|
|
236
|
+
"Anchorage",
|
|
237
|
+
"Badger",
|
|
238
|
+
"Fairbanks",
|
|
239
|
+
"Juneau",
|
|
240
|
+
"Ketchikan",
|
|
241
|
+
"Sitka",
|
|
242
|
+
"Wasilla"
|
|
243
|
+
],
|
|
244
|
+
AZ: [
|
|
245
|
+
"Avondale",
|
|
246
|
+
"Buckeye",
|
|
247
|
+
"Casa Grande",
|
|
248
|
+
"Chandler",
|
|
249
|
+
"Flagstaff",
|
|
250
|
+
"Gilbert",
|
|
251
|
+
"Glendale",
|
|
252
|
+
"Goodyear",
|
|
253
|
+
"Lake Havasu City",
|
|
254
|
+
"Maricopa",
|
|
255
|
+
"Mesa",
|
|
256
|
+
"Peoria",
|
|
257
|
+
"Phoenix",
|
|
258
|
+
"Prescott",
|
|
259
|
+
"Queen Creek",
|
|
260
|
+
"Scottsdale",
|
|
261
|
+
"Surprise",
|
|
262
|
+
"Tempe",
|
|
263
|
+
"Tucson",
|
|
264
|
+
"Yuma"
|
|
265
|
+
],
|
|
266
|
+
AR: [
|
|
267
|
+
"Bentonville",
|
|
268
|
+
"Conway",
|
|
269
|
+
"Fayetteville",
|
|
270
|
+
"Fort Smith",
|
|
271
|
+
"Jonesboro",
|
|
272
|
+
"Little Rock",
|
|
273
|
+
"North Little Rock",
|
|
274
|
+
"Pine Bluff",
|
|
275
|
+
"Rogers",
|
|
276
|
+
"Springdale"
|
|
277
|
+
],
|
|
278
|
+
CA: [
|
|
279
|
+
"Anaheim",
|
|
280
|
+
"Antioch",
|
|
281
|
+
"Bakersfield",
|
|
282
|
+
"Berkeley",
|
|
283
|
+
"Burbank",
|
|
284
|
+
"Chula Vista",
|
|
285
|
+
"Concord",
|
|
286
|
+
"Corona",
|
|
287
|
+
"El Monte",
|
|
288
|
+
"Elk Grove",
|
|
289
|
+
"Escondido",
|
|
290
|
+
"Fontana",
|
|
291
|
+
"Fremont",
|
|
292
|
+
"Fresno",
|
|
293
|
+
"Fullerton",
|
|
294
|
+
"Garden Grove",
|
|
295
|
+
"Glendale",
|
|
296
|
+
"Hayward",
|
|
297
|
+
"Huntington Beach",
|
|
298
|
+
"Inglewood",
|
|
299
|
+
"Irvine",
|
|
300
|
+
"Lancaster",
|
|
301
|
+
"Long Beach",
|
|
302
|
+
"Los Angeles",
|
|
303
|
+
"Modesto",
|
|
304
|
+
"Moreno Valley",
|
|
305
|
+
"Murrieta",
|
|
306
|
+
"Ontario",
|
|
307
|
+
"Oxnard",
|
|
308
|
+
"Palmdale",
|
|
309
|
+
"Pasadena",
|
|
310
|
+
"Pomona",
|
|
311
|
+
"Rancho Cucamonga",
|
|
312
|
+
"Riverside",
|
|
313
|
+
"Sacramento",
|
|
314
|
+
"Salinas",
|
|
315
|
+
"San Bernardino",
|
|
316
|
+
"San Diego",
|
|
317
|
+
"San Francisco",
|
|
318
|
+
"San Jose",
|
|
319
|
+
"Santa Ana",
|
|
320
|
+
"Santa Clarita",
|
|
321
|
+
"Santa Rosa",
|
|
322
|
+
"Simi Valley",
|
|
323
|
+
"Stockton",
|
|
324
|
+
"Sunnyvale",
|
|
325
|
+
"Thousand Oaks",
|
|
326
|
+
"Torrance",
|
|
327
|
+
"Vallejo",
|
|
328
|
+
"Victorville",
|
|
329
|
+
"Visalia"
|
|
330
|
+
],
|
|
331
|
+
CO: [
|
|
332
|
+
"Arvada",
|
|
333
|
+
"Aurora",
|
|
334
|
+
"Boulder",
|
|
335
|
+
"Brighton",
|
|
336
|
+
"Broomfield",
|
|
337
|
+
"Castle Rock",
|
|
338
|
+
"Colorado Springs",
|
|
339
|
+
"Commerce City",
|
|
340
|
+
"Denver",
|
|
341
|
+
"Fort Collins",
|
|
342
|
+
"Greeley",
|
|
343
|
+
"Highlands Ranch",
|
|
344
|
+
"Lakewood",
|
|
345
|
+
"Longmont",
|
|
346
|
+
"Loveland",
|
|
347
|
+
"Parker",
|
|
348
|
+
"Pueblo",
|
|
349
|
+
"Thornton",
|
|
350
|
+
"Westminster"
|
|
351
|
+
],
|
|
352
|
+
CT: [
|
|
353
|
+
"Bridgeport",
|
|
354
|
+
"Bristol",
|
|
355
|
+
"Danbury",
|
|
356
|
+
"Greenwich",
|
|
357
|
+
"Hartford",
|
|
358
|
+
"Meriden",
|
|
359
|
+
"New Britain",
|
|
360
|
+
"New Haven",
|
|
361
|
+
"Norwalk",
|
|
362
|
+
"Stamford",
|
|
363
|
+
"Waterbury"
|
|
364
|
+
],
|
|
365
|
+
DE: [
|
|
366
|
+
"Dover",
|
|
367
|
+
"Middletown",
|
|
368
|
+
"Newark",
|
|
369
|
+
"Wilmington"
|
|
370
|
+
],
|
|
371
|
+
FL: [
|
|
372
|
+
"Boca Raton",
|
|
373
|
+
"Bonita Springs",
|
|
374
|
+
"Boynton Beach",
|
|
375
|
+
"Bradenton",
|
|
376
|
+
"Cape Coral",
|
|
377
|
+
"Clearwater",
|
|
378
|
+
"Coral Springs",
|
|
379
|
+
"Davie",
|
|
380
|
+
"Daytona Beach",
|
|
381
|
+
"Deerfield Beach",
|
|
382
|
+
"Deltona",
|
|
383
|
+
"Fort Lauderdale",
|
|
384
|
+
"Fort Myers",
|
|
385
|
+
"Gainesville",
|
|
386
|
+
"Hialeah",
|
|
387
|
+
"Hollywood",
|
|
388
|
+
"Homestead",
|
|
389
|
+
"Jacksonville",
|
|
390
|
+
"Jupiter",
|
|
391
|
+
"Kissimmee",
|
|
392
|
+
"Lakeland",
|
|
393
|
+
"Lauderhill",
|
|
394
|
+
"Margate",
|
|
395
|
+
"Melbourne",
|
|
396
|
+
"Miami",
|
|
397
|
+
"Miami Gardens",
|
|
398
|
+
"Miramar",
|
|
399
|
+
"Naples",
|
|
400
|
+
"Orlando",
|
|
401
|
+
"Palm Bay",
|
|
402
|
+
"Palm Beach Gardens",
|
|
403
|
+
"Pembroke Pines",
|
|
404
|
+
"Pensacola",
|
|
405
|
+
"Pompano Beach",
|
|
406
|
+
"Port St. Lucie",
|
|
407
|
+
"St. Petersburg",
|
|
408
|
+
"Sarasota",
|
|
409
|
+
"Sunrise",
|
|
410
|
+
"Tallahassee",
|
|
411
|
+
"Tampa",
|
|
412
|
+
"Temecula",
|
|
413
|
+
"West Palm Beach"
|
|
414
|
+
],
|
|
415
|
+
GA: [
|
|
416
|
+
"Albany",
|
|
417
|
+
"Alpharetta",
|
|
418
|
+
"Athens",
|
|
419
|
+
"Atlanta",
|
|
420
|
+
"Augusta",
|
|
421
|
+
"Columbus",
|
|
422
|
+
"Gainesville",
|
|
423
|
+
"Johns Creek",
|
|
424
|
+
"Macon",
|
|
425
|
+
"Marietta",
|
|
426
|
+
"Roswell",
|
|
427
|
+
"Sandy Springs",
|
|
428
|
+
"Savannah",
|
|
429
|
+
"South Fulton",
|
|
430
|
+
"Valdosta",
|
|
431
|
+
"Warner Robins"
|
|
432
|
+
],
|
|
433
|
+
HI: [
|
|
434
|
+
"Hilo",
|
|
435
|
+
"Honolulu",
|
|
436
|
+
"Kailua",
|
|
437
|
+
"Kaneohe",
|
|
438
|
+
"Mililani Town",
|
|
439
|
+
"Pearl City"
|
|
440
|
+
],
|
|
441
|
+
ID: [
|
|
442
|
+
"Boise",
|
|
443
|
+
"Caldwell",
|
|
444
|
+
"Idaho Falls",
|
|
445
|
+
"Meridian",
|
|
446
|
+
"Nampa",
|
|
447
|
+
"Pocatello",
|
|
448
|
+
"Twin Falls"
|
|
449
|
+
],
|
|
450
|
+
IL: [
|
|
451
|
+
"Aurora",
|
|
452
|
+
"Bloomington",
|
|
453
|
+
"Champaign",
|
|
454
|
+
"Chicago",
|
|
455
|
+
"Cicero",
|
|
456
|
+
"Elgin",
|
|
457
|
+
"Evanston",
|
|
458
|
+
"Joliet",
|
|
459
|
+
"Naperville",
|
|
460
|
+
"Peoria",
|
|
461
|
+
"Rockford",
|
|
462
|
+
"Springfield",
|
|
463
|
+
"Waukegan"
|
|
464
|
+
],
|
|
465
|
+
IN: [
|
|
466
|
+
"Anderson",
|
|
467
|
+
"Bloomington",
|
|
468
|
+
"Carmel",
|
|
469
|
+
"Evansville",
|
|
470
|
+
"Fishers",
|
|
471
|
+
"Fort Wayne",
|
|
472
|
+
"Hammond",
|
|
473
|
+
"Indianapolis",
|
|
474
|
+
"Muncie",
|
|
475
|
+
"South Bend",
|
|
476
|
+
"Terre Haute"
|
|
477
|
+
],
|
|
478
|
+
IA: [
|
|
479
|
+
"Ames",
|
|
480
|
+
"Cedar Rapids",
|
|
481
|
+
"Council Bluffs",
|
|
482
|
+
"Davenport",
|
|
483
|
+
"Des Moines",
|
|
484
|
+
"Dubuque",
|
|
485
|
+
"Iowa City",
|
|
486
|
+
"Sioux City",
|
|
487
|
+
"Waterloo"
|
|
488
|
+
],
|
|
489
|
+
KS: [
|
|
490
|
+
"Kansas City",
|
|
491
|
+
"Lawrence",
|
|
492
|
+
"Olathe",
|
|
493
|
+
"Overland Park",
|
|
494
|
+
"Salina",
|
|
495
|
+
"Topeka",
|
|
496
|
+
"Wichita"
|
|
497
|
+
],
|
|
498
|
+
KY: [
|
|
499
|
+
"Bowling Green",
|
|
500
|
+
"Covington",
|
|
501
|
+
"Frankfort",
|
|
502
|
+
"Lexington",
|
|
503
|
+
"Louisville",
|
|
504
|
+
"Owensboro",
|
|
505
|
+
"Richmond"
|
|
506
|
+
],
|
|
507
|
+
LA: [
|
|
508
|
+
"Baton Rouge",
|
|
509
|
+
"Bossier City",
|
|
510
|
+
"Kenner",
|
|
511
|
+
"Lafayette",
|
|
512
|
+
"Lake Charles",
|
|
513
|
+
"Metairie",
|
|
514
|
+
"Monroe",
|
|
515
|
+
"New Orleans",
|
|
516
|
+
"Shreveport"
|
|
517
|
+
],
|
|
518
|
+
ME: [
|
|
519
|
+
"Auburn",
|
|
520
|
+
"Augusta",
|
|
521
|
+
"Bangor",
|
|
522
|
+
"Lewiston",
|
|
523
|
+
"Portland",
|
|
524
|
+
"South Portland"
|
|
525
|
+
],
|
|
526
|
+
MD: [
|
|
527
|
+
"Annapolis",
|
|
528
|
+
"Baltimore",
|
|
529
|
+
"Bowie",
|
|
530
|
+
"Columbia",
|
|
531
|
+
"Frederick",
|
|
532
|
+
"Gaithersburg",
|
|
533
|
+
"Germantown",
|
|
534
|
+
"Hagerstown",
|
|
535
|
+
"Rockville",
|
|
536
|
+
"Silver Spring",
|
|
537
|
+
"Waldorf"
|
|
538
|
+
],
|
|
539
|
+
MA: [
|
|
540
|
+
"Boston",
|
|
541
|
+
"Brockton",
|
|
542
|
+
"Cambridge",
|
|
543
|
+
"Fall River",
|
|
544
|
+
"Lowell",
|
|
545
|
+
"Lynn",
|
|
546
|
+
"New Bedford",
|
|
547
|
+
"Newton",
|
|
548
|
+
"Quincy",
|
|
549
|
+
"Springfield",
|
|
550
|
+
"Worcester"
|
|
551
|
+
],
|
|
552
|
+
MI: [
|
|
553
|
+
"Ann Arbor",
|
|
554
|
+
"Dearborn",
|
|
555
|
+
"Detroit",
|
|
556
|
+
"Flint",
|
|
557
|
+
"Grand Rapids",
|
|
558
|
+
"Kalamazoo",
|
|
559
|
+
"Lansing",
|
|
560
|
+
"Livonia",
|
|
561
|
+
"Sterling Heights",
|
|
562
|
+
"Warren"
|
|
563
|
+
],
|
|
564
|
+
MN: [
|
|
565
|
+
"Bloomington",
|
|
566
|
+
"Brooklyn Park",
|
|
567
|
+
"Burnsville",
|
|
568
|
+
"Duluth",
|
|
569
|
+
"Eden Prairie",
|
|
570
|
+
"Minneapolis",
|
|
571
|
+
"Plymouth",
|
|
572
|
+
"Rochester",
|
|
573
|
+
"St. Cloud",
|
|
574
|
+
"St. Paul"
|
|
575
|
+
],
|
|
576
|
+
MS: [
|
|
577
|
+
"Biloxi",
|
|
578
|
+
"Gulfport",
|
|
579
|
+
"Hattiesburg",
|
|
580
|
+
"Jackson",
|
|
581
|
+
"Meridian",
|
|
582
|
+
"Southaven",
|
|
583
|
+
"Tupelo"
|
|
584
|
+
],
|
|
585
|
+
MO: [
|
|
586
|
+
"Columbia",
|
|
587
|
+
"Independence",
|
|
588
|
+
"Kansas City",
|
|
589
|
+
"Lee's Summit",
|
|
590
|
+
"O'Fallon",
|
|
591
|
+
"Springfield",
|
|
592
|
+
"St. Joseph",
|
|
593
|
+
"St. Louis"
|
|
594
|
+
],
|
|
595
|
+
MT: [
|
|
596
|
+
"Billings",
|
|
597
|
+
"Bozeman",
|
|
598
|
+
"Butte",
|
|
599
|
+
"Great Falls",
|
|
600
|
+
"Helena",
|
|
601
|
+
"Missoula"
|
|
602
|
+
],
|
|
603
|
+
NE: [
|
|
604
|
+
"Bellevue",
|
|
605
|
+
"Grand Island",
|
|
606
|
+
"Kearney",
|
|
607
|
+
"Lincoln",
|
|
608
|
+
"Omaha"
|
|
609
|
+
],
|
|
610
|
+
NV: [
|
|
611
|
+
"Carson City",
|
|
612
|
+
"Henderson",
|
|
613
|
+
"Las Vegas",
|
|
614
|
+
"North Las Vegas",
|
|
615
|
+
"Reno",
|
|
616
|
+
"Sparks",
|
|
617
|
+
"Sunrise Manor"
|
|
618
|
+
],
|
|
619
|
+
NH: [
|
|
620
|
+
"Concord",
|
|
621
|
+
"Dover",
|
|
622
|
+
"Manchester",
|
|
623
|
+
"Nashua",
|
|
624
|
+
"Portsmouth"
|
|
625
|
+
],
|
|
626
|
+
NJ: [
|
|
627
|
+
"Camden",
|
|
628
|
+
"Edison",
|
|
629
|
+
"Elizabeth",
|
|
630
|
+
"Jersey City",
|
|
631
|
+
"Newark",
|
|
632
|
+
"Paterson",
|
|
633
|
+
"Toms River",
|
|
634
|
+
"Trenton"
|
|
635
|
+
],
|
|
636
|
+
NM: [
|
|
637
|
+
"Albuquerque",
|
|
638
|
+
"Las Cruces",
|
|
639
|
+
"Rio Rancho",
|
|
640
|
+
"Roswell",
|
|
641
|
+
"Santa Fe"
|
|
642
|
+
],
|
|
643
|
+
NY: [
|
|
644
|
+
"Albany",
|
|
645
|
+
"Amherst",
|
|
646
|
+
"Bronx",
|
|
647
|
+
"Brooklyn",
|
|
648
|
+
"Buffalo",
|
|
649
|
+
"Cheektowaga",
|
|
650
|
+
"Manhattan",
|
|
651
|
+
"New Rochelle",
|
|
652
|
+
"New York",
|
|
653
|
+
"Niagara Falls",
|
|
654
|
+
"Queens",
|
|
655
|
+
"Rochester",
|
|
656
|
+
"Staten Island",
|
|
657
|
+
"Syracuse",
|
|
658
|
+
"Utica",
|
|
659
|
+
"Yonkers"
|
|
660
|
+
],
|
|
661
|
+
NC: [
|
|
662
|
+
"Asheville",
|
|
663
|
+
"Cary",
|
|
664
|
+
"Chapel Hill",
|
|
665
|
+
"Charlotte",
|
|
666
|
+
"Concord",
|
|
667
|
+
"Durham",
|
|
668
|
+
"Fayetteville",
|
|
669
|
+
"Gastonia",
|
|
670
|
+
"Greensboro",
|
|
671
|
+
"High Point",
|
|
672
|
+
"Raleigh",
|
|
673
|
+
"Wilmington",
|
|
674
|
+
"Winston-Salem"
|
|
675
|
+
],
|
|
676
|
+
ND: [
|
|
677
|
+
"Bismarck",
|
|
678
|
+
"Fargo",
|
|
679
|
+
"Grand Forks",
|
|
680
|
+
"Minot"
|
|
681
|
+
],
|
|
682
|
+
OH: [
|
|
683
|
+
"Akron",
|
|
684
|
+
"Canton",
|
|
685
|
+
"Cincinnati",
|
|
686
|
+
"Cleveland",
|
|
687
|
+
"Columbus",
|
|
688
|
+
"Dayton",
|
|
689
|
+
"Lorain",
|
|
690
|
+
"Parma",
|
|
691
|
+
"Toledo",
|
|
692
|
+
"Youngstown"
|
|
693
|
+
],
|
|
694
|
+
OK: [
|
|
695
|
+
"Broken Arrow",
|
|
696
|
+
"Edmond",
|
|
697
|
+
"Lawton",
|
|
698
|
+
"Moore",
|
|
699
|
+
"Norman",
|
|
700
|
+
"Oklahoma City",
|
|
701
|
+
"Tulsa"
|
|
702
|
+
],
|
|
703
|
+
OR: [
|
|
704
|
+
"Beaverton",
|
|
705
|
+
"Bend",
|
|
706
|
+
"Eugene",
|
|
707
|
+
"Gresham",
|
|
708
|
+
"Hillsboro",
|
|
709
|
+
"Medford",
|
|
710
|
+
"Portland",
|
|
711
|
+
"Salem"
|
|
712
|
+
],
|
|
713
|
+
PA: [
|
|
714
|
+
"Allentown",
|
|
715
|
+
"Bethlehem",
|
|
716
|
+
"Erie",
|
|
717
|
+
"Philadelphia",
|
|
718
|
+
"Pittsburgh",
|
|
719
|
+
"Reading",
|
|
720
|
+
"Scranton"
|
|
721
|
+
],
|
|
722
|
+
RI: [
|
|
723
|
+
"Cranston",
|
|
724
|
+
"Pawtucket",
|
|
725
|
+
"Providence",
|
|
726
|
+
"Warwick",
|
|
727
|
+
"Woonsocket"
|
|
728
|
+
],
|
|
729
|
+
SC: [
|
|
730
|
+
"Charleston",
|
|
731
|
+
"Columbia",
|
|
732
|
+
"Florence",
|
|
733
|
+
"Greenville",
|
|
734
|
+
"Mount Pleasant",
|
|
735
|
+
"North Charleston",
|
|
736
|
+
"Rock Hill",
|
|
737
|
+
"Spartanburg"
|
|
738
|
+
],
|
|
739
|
+
SD: [
|
|
740
|
+
"Aberdeen",
|
|
741
|
+
"Rapid City",
|
|
742
|
+
"Sioux Falls"
|
|
743
|
+
],
|
|
744
|
+
TN: [
|
|
745
|
+
"Chattanooga",
|
|
746
|
+
"Clarksville",
|
|
747
|
+
"Jackson",
|
|
748
|
+
"Johnson City",
|
|
749
|
+
"Kingsport",
|
|
750
|
+
"Knoxville",
|
|
751
|
+
"Memphis",
|
|
752
|
+
"Murfreesboro",
|
|
753
|
+
"Nashville"
|
|
754
|
+
],
|
|
755
|
+
TX: [
|
|
756
|
+
"Abilene",
|
|
757
|
+
"Allen",
|
|
758
|
+
"Amarillo",
|
|
759
|
+
"Arlington",
|
|
760
|
+
"Austin",
|
|
761
|
+
"Beaumont",
|
|
762
|
+
"Brownsville",
|
|
763
|
+
"Carrollton",
|
|
764
|
+
"Cedar Park",
|
|
765
|
+
"College Station",
|
|
766
|
+
"Corpus Christi",
|
|
767
|
+
"Dallas",
|
|
768
|
+
"Denton",
|
|
769
|
+
"El Paso",
|
|
770
|
+
"Fort Worth",
|
|
771
|
+
"Frisco",
|
|
772
|
+
"Garland",
|
|
773
|
+
"Georgetown",
|
|
774
|
+
"Grand Prairie",
|
|
775
|
+
"Houston",
|
|
776
|
+
"Irving",
|
|
777
|
+
"Killeen",
|
|
778
|
+
"Laredo",
|
|
779
|
+
"League City",
|
|
780
|
+
"Lewisville",
|
|
781
|
+
"Lubbock",
|
|
782
|
+
"Mcallen",
|
|
783
|
+
"McKinney",
|
|
784
|
+
"Mesquite",
|
|
785
|
+
"Midland",
|
|
786
|
+
"Missouri City",
|
|
787
|
+
"New Braunfels",
|
|
788
|
+
"Odessa",
|
|
789
|
+
"Pasadena",
|
|
790
|
+
"Pearland",
|
|
791
|
+
"Plano",
|
|
792
|
+
"Richardson",
|
|
793
|
+
"Round Rock",
|
|
794
|
+
"San Antonio",
|
|
795
|
+
"Sugar Land",
|
|
796
|
+
"Tyler",
|
|
797
|
+
"Waco",
|
|
798
|
+
"Wichita Falls"
|
|
799
|
+
],
|
|
800
|
+
UT: [
|
|
801
|
+
"Ogden",
|
|
802
|
+
"Orem",
|
|
803
|
+
"Provo",
|
|
804
|
+
"Salt Lake City",
|
|
805
|
+
"Sandy",
|
|
806
|
+
"St. George",
|
|
807
|
+
"West Jordan",
|
|
808
|
+
"West Valley City"
|
|
809
|
+
],
|
|
810
|
+
VT: [
|
|
811
|
+
"Burlington",
|
|
812
|
+
"Essex Junction",
|
|
813
|
+
"Montpelier",
|
|
814
|
+
"Rutland"
|
|
815
|
+
],
|
|
816
|
+
VA: [
|
|
817
|
+
"Alexandria",
|
|
818
|
+
"Arlington",
|
|
819
|
+
"Chesapeake",
|
|
820
|
+
"Hampton",
|
|
821
|
+
"Newport News",
|
|
822
|
+
"Norfolk",
|
|
823
|
+
"Portsmouth",
|
|
824
|
+
"Richmond",
|
|
825
|
+
"Roanoke",
|
|
826
|
+
"Virginia Beach"
|
|
827
|
+
],
|
|
828
|
+
WA: [
|
|
829
|
+
"Bellevue",
|
|
830
|
+
"Bellingham",
|
|
831
|
+
"Everett",
|
|
832
|
+
"Kent",
|
|
833
|
+
"Kirkland",
|
|
834
|
+
"Renton",
|
|
835
|
+
"Seattle",
|
|
836
|
+
"Spokane",
|
|
837
|
+
"Tacoma",
|
|
838
|
+
"Vancouver"
|
|
839
|
+
],
|
|
840
|
+
WV: [
|
|
841
|
+
"Charleston",
|
|
842
|
+
"Huntington",
|
|
843
|
+
"Morgantown",
|
|
844
|
+
"Parkersburg"
|
|
845
|
+
],
|
|
846
|
+
WI: [
|
|
847
|
+
"Appleton",
|
|
848
|
+
"Green Bay",
|
|
849
|
+
"Kenosha",
|
|
850
|
+
"Madison",
|
|
851
|
+
"Milwaukee",
|
|
852
|
+
"Oshkosh",
|
|
853
|
+
"Racine"
|
|
854
|
+
],
|
|
855
|
+
WY: [
|
|
856
|
+
"Casper",
|
|
857
|
+
"Cheyenne",
|
|
858
|
+
"Gillette",
|
|
859
|
+
"Laramie"
|
|
860
|
+
]
|
|
861
|
+
};
|
|
862
|
+
const COMMON_DETAIL_GROUP_STYLES = {
|
|
863
|
+
activity: {
|
|
864
|
+
title: "Activity",
|
|
865
|
+
icon: "message",
|
|
866
|
+
background: "#eff6ff"
|
|
867
|
+
},
|
|
868
|
+
notes: {
|
|
869
|
+
title: "Notes",
|
|
870
|
+
icon: "add-note",
|
|
871
|
+
background: "#f1f5f9"
|
|
872
|
+
}
|
|
873
|
+
};
|
|
874
|
+
const DETAIL_CARD_HEADER_BG = "#f8fafc";
|
|
875
|
+
const DETAIL_GROUP_HEADER_BG = "#eaf3ff";
|
|
876
|
+
function localizedDetailGroupStyle(key) {
|
|
877
|
+
return {
|
|
878
|
+
...COMMON_DETAIL_GROUP_STYLES[key],
|
|
879
|
+
title: uiText(`detailGroups.${key}`)
|
|
880
|
+
};
|
|
881
|
+
}
|
|
882
|
+
const MAX_LENGTH = 300;
|
|
883
|
+
const TECHNICAL = [
|
|
884
|
+
/org\.springframework/i,
|
|
885
|
+
/\bjava\./i,
|
|
886
|
+
/\bjavax\./i,
|
|
887
|
+
/\bkotlin\./i,
|
|
888
|
+
/exception/i,
|
|
889
|
+
/\bat\s+\S+\(.*\)/,
|
|
890
|
+
/\binternal server error\b/i,
|
|
891
|
+
/^\s*(?:5\d\d|4\d\d)\b/,
|
|
892
|
+
/\bstack\s?trace\b/i,
|
|
893
|
+
/<[a-z!/][^>]*>/i,
|
|
894
|
+
/^\s*[{[]/,
|
|
895
|
+
/^\s*(?:null|undefined|nan)\s*$/i,
|
|
896
|
+
/\bnull\b/i,
|
|
897
|
+
/\bundefined\b/i,
|
|
898
|
+
/\bsql\b/i,
|
|
899
|
+
/\bconstraint\b/i,
|
|
900
|
+
/\bnullpointer/i,
|
|
901
|
+
/\bhttp\s?\d{3}\b/i,
|
|
902
|
+
/\b(?:bad request|not found|conflict|forbidden|unauthorized)\s*$/i
|
|
903
|
+
];
|
|
904
|
+
function humanReadableMessage(value) {
|
|
905
|
+
if (typeof value !== "string") return null;
|
|
906
|
+
const text = value.trim();
|
|
907
|
+
if (!text || text.length > MAX_LENGTH) return null;
|
|
908
|
+
if (/[\r\n]/.test(text)) return null;
|
|
909
|
+
if (TECHNICAL.some((re) => re.test(text))) return null;
|
|
910
|
+
return text;
|
|
911
|
+
}
|
|
912
|
+
function formatCurrency(value, options = {}) {
|
|
913
|
+
const { currency = "USD", locale = uiLocale(), grouping = true, decimals = 2 } = options;
|
|
914
|
+
let n = typeof value === "string" ? parseFloat(value) : value ?? 0;
|
|
915
|
+
if (typeof n !== "number" || !Number.isFinite(n)) n = 0;
|
|
916
|
+
const formatter = uiCurrencyFormatter(currency, locale, {
|
|
917
|
+
useGrouping: grouping,
|
|
918
|
+
minimumFractionDigits: decimals,
|
|
919
|
+
maximumFractionDigits: decimals
|
|
920
|
+
});
|
|
921
|
+
n = Number(n.toFixed(Math.max(0, Math.min(100, decimals)))) + 0;
|
|
922
|
+
if (n === 0) n = 0;
|
|
923
|
+
return formatter.format(n);
|
|
924
|
+
}
|
|
925
|
+
const clean = (v) => (v ?? "").trim();
|
|
926
|
+
function formatAddress(parts, options = {}) {
|
|
927
|
+
const separator = options.separator ?? ", ";
|
|
928
|
+
const street = clean(parts.street), apt = clean(parts.apt), city = clean(parts.city), state = clean(parts.state), zip = clean(parts.zip);
|
|
929
|
+
if (options.style === "usa") return [street ? street + (apt ? separator + uiText("format.aptPrefix", { apt }) : "") : "", ([city, state].filter(Boolean).join(separator) + (zip ? " " + zip : "")).trim()].filter(Boolean).join(separator);
|
|
930
|
+
return [
|
|
931
|
+
street,
|
|
932
|
+
apt,
|
|
933
|
+
city,
|
|
934
|
+
state,
|
|
935
|
+
zip
|
|
936
|
+
].filter(Boolean).join(separator);
|
|
937
|
+
}
|
|
938
|
+
function getInitials(firstName, lastName) {
|
|
939
|
+
return (firstName?.[0] || "") + (lastName?.[0] || "");
|
|
940
|
+
}
|
|
941
|
+
function formatDuration(seconds) {
|
|
942
|
+
if (!seconds) return "";
|
|
943
|
+
const m = Math.floor(seconds / 60);
|
|
944
|
+
const s = seconds % 60;
|
|
945
|
+
return m > 0 ? uiText("format.durationMinSec", {
|
|
946
|
+
m,
|
|
947
|
+
s
|
|
948
|
+
}) : uiText("format.durationSec", { s });
|
|
949
|
+
}
|
|
950
|
+
function formatPhone(raw) {
|
|
951
|
+
if (!raw) return "";
|
|
952
|
+
const normalized = raw.startsWith("+1") && raw.replace(/\D/g, "").length === 11 ? raw.slice(2) : raw;
|
|
953
|
+
if (normalized.startsWith("+")) return normalized;
|
|
954
|
+
const digits = normalized.replace(/\D/g, "");
|
|
955
|
+
const d = digits.startsWith("1") && digits.length === 11 ? digits.slice(1) : digits.slice(0, 10);
|
|
956
|
+
if (d.length <= 3) return d;
|
|
957
|
+
if (d.length <= 6) return `(${d.slice(0, 3)}) ${d.slice(3)}`;
|
|
958
|
+
return `(${d.slice(0, 3)}) ${d.slice(3, 6)}-${d.slice(6)}`;
|
|
959
|
+
}
|
|
960
|
+
function formatPhoneDisplay(e164) {
|
|
961
|
+
const value = (e164 ?? "").trim();
|
|
962
|
+
const m = /^\+1(\d{3})(\d{3})(\d{4})$/.exec(value);
|
|
963
|
+
return m ? `+1 ${m[1]} ${m[2]}-${m[3]}` : e164 ?? "";
|
|
964
|
+
}
|
|
965
|
+
function formatShortDate(value, locale = uiLocale()) {
|
|
966
|
+
if (!value) return "—";
|
|
967
|
+
return new Date(/^\d{4}-\d{2}-\d{2}$/.test(value) ? value + "T00:00:00" : value).toLocaleDateString(safeLocale(locale), {
|
|
968
|
+
month: "short",
|
|
969
|
+
day: "numeric",
|
|
970
|
+
year: "numeric"
|
|
971
|
+
});
|
|
972
|
+
}
|
|
973
|
+
function todayInTimezone(timezone) {
|
|
974
|
+
const fmt = (tz) => new Intl.DateTimeFormat("en-CA", {
|
|
975
|
+
timeZone: tz,
|
|
976
|
+
year: "numeric",
|
|
977
|
+
month: "2-digit",
|
|
978
|
+
day: "2-digit"
|
|
979
|
+
}).format(/* @__PURE__ */ new Date());
|
|
980
|
+
if (timezone) try {
|
|
981
|
+
return fmt(timezone);
|
|
982
|
+
} catch {}
|
|
983
|
+
return fmt();
|
|
984
|
+
}
|
|
985
|
+
function formatTimeAgo(timestamp) {
|
|
986
|
+
if (!timestamp) return "";
|
|
987
|
+
const mins = Math.floor((Date.now() - new Date(timestamp).getTime()) / 6e4);
|
|
988
|
+
if (!(mins >= 1)) return uiText("format.justNow");
|
|
989
|
+
if (mins < 60) return uiText("format.minutesAgo", { n: mins });
|
|
990
|
+
const hrs = Math.floor(mins / 60);
|
|
991
|
+
if (hrs < 24) return uiText("format.hoursAgo", { n: hrs });
|
|
992
|
+
return uiText("format.daysAgo", { n: Math.floor(hrs / 24) });
|
|
993
|
+
}
|
|
994
|
+
function formatEnum(value) {
|
|
995
|
+
return (value ?? "").replace(/_/g, " ").toLowerCase().replace(/\b\w/g, (c) => c.toUpperCase());
|
|
996
|
+
}
|
|
997
|
+
function downloadBlob(blob, fileName) {
|
|
998
|
+
if (typeof document === "undefined" || typeof URL === "undefined" || typeof URL.createObjectURL !== "function") return;
|
|
999
|
+
const url = URL.createObjectURL(blob);
|
|
1000
|
+
const link = document.createElement("a");
|
|
1001
|
+
link.href = url;
|
|
1002
|
+
link.download = fileName;
|
|
1003
|
+
link.style.display = "none";
|
|
1004
|
+
document.body.appendChild(link);
|
|
1005
|
+
link.click();
|
|
1006
|
+
link.remove();
|
|
1007
|
+
setTimeout(() => URL.revokeObjectURL(url), 1e3);
|
|
1008
|
+
}
|
|
1009
|
+
function fileNameFromContentDisposition(header) {
|
|
1010
|
+
if (!header) return "";
|
|
1011
|
+
const clean = (name) => name.replace(/[\\/]+/g, "_").replace(/^\.+/, "").trim();
|
|
1012
|
+
const encoded = /filename\*\s*=\s*utf-8''([^;]+)/i.exec(header);
|
|
1013
|
+
if (encoded) try {
|
|
1014
|
+
return clean(decodeURIComponent(encoded[1].trim()));
|
|
1015
|
+
} catch {}
|
|
1016
|
+
const quoted = /filename\s*=\s*"([^"]*)"/i.exec(header);
|
|
1017
|
+
if (quoted) return clean(quoted[1]);
|
|
1018
|
+
const plain = /filename\s*=\s*([^;]+)/i.exec(header);
|
|
1019
|
+
return plain ? clean(plain[1]) : "";
|
|
1020
|
+
}
|
|
1021
|
+
function csvSafeText(cell) {
|
|
1022
|
+
if (cell === null || cell === void 0) return "";
|
|
1023
|
+
if (typeof cell === "number") return String(cell);
|
|
1024
|
+
return /^(?:[\t\r]|\s*[=+\-@])/.test(cell) && !/^\s*[+-]?[$€£]?\d[\d.,]*%?$/.test(cell) ? `'${cell}` : cell;
|
|
1025
|
+
}
|
|
1026
|
+
function csvCell(cell) {
|
|
1027
|
+
const text = csvSafeText(cell);
|
|
1028
|
+
return /[",\r\n]/.test(text) ? `"${text.replace(/"/g, "\"\"")}"` : text;
|
|
1029
|
+
}
|
|
1030
|
+
function toCsv(headers, rows) {
|
|
1031
|
+
return [headers, ...rows].map((row) => row.map(csvCell).join(",")).join("\n");
|
|
1032
|
+
}
|
|
1033
|
+
function downloadCsv(fileName, headers, rows, options = {}) {
|
|
1034
|
+
const name = /\.csv$/i.test(fileName) ? fileName : `${fileName}.csv`;
|
|
1035
|
+
const text = (options.bom ? "" : "") + toCsv(headers, rows);
|
|
1036
|
+
downloadBlob(new Blob([text], { type: "text/csv;charset=utf-8;" }), name);
|
|
1037
|
+
}
|
|
1038
|
+
function buildMapsUrl(lotAddress, fallback) {
|
|
1039
|
+
const addr = (lotAddress?.trim() || fallback?.trim()) ?? "";
|
|
1040
|
+
if (!addr) return null;
|
|
1041
|
+
return `https://www.google.com/maps/dir/?api=1&destination=${encodeURIComponent(addr)}`;
|
|
1042
|
+
}
|
|
1043
|
+
function buildMapsEmbedUrl(lotAddress, fallback) {
|
|
1044
|
+
const addr = (lotAddress?.trim() || fallback?.trim()) ?? "";
|
|
1045
|
+
if (!addr) return null;
|
|
1046
|
+
return `https://maps.google.com/maps?q=${encodeURIComponent(addr)}&output=embed`;
|
|
1047
|
+
}
|
|
1048
|
+
function isDarkPage(doc) {
|
|
1049
|
+
const forced = doc.documentElement.getAttribute("data-theme");
|
|
1050
|
+
if (forced === "dark") return true;
|
|
1051
|
+
if (forced === "light") return false;
|
|
1052
|
+
try {
|
|
1053
|
+
return !!doc.defaultView?.matchMedia?.("(prefers-color-scheme: dark)").matches;
|
|
1054
|
+
} catch {
|
|
1055
|
+
return false;
|
|
1056
|
+
}
|
|
1057
|
+
}
|
|
1058
|
+
function safeLinkHref(url) {
|
|
1059
|
+
const u = (url ?? "").trim();
|
|
1060
|
+
if (!u) return null;
|
|
1061
|
+
if (/[\\\u0000-\u001f\u007f]/.test(u)) return null;
|
|
1062
|
+
if (/^(https?:\/\/|mailto:|tel:)/i.test(u)) return u;
|
|
1063
|
+
if (/^(\/(?![\/\\])|#)/.test(u)) return u;
|
|
1064
|
+
return null;
|
|
1065
|
+
}
|
|
1066
|
+
function opensInNewTab(href) {
|
|
1067
|
+
return /^https?:\/\//i.test(href ?? "");
|
|
1068
|
+
}
|
|
1069
|
+
export { COMMON_DETAIL_GROUP_STYLES, DETAIL_CARD_HEADER_BG, DETAIL_GROUP_HEADER_BG, US_LOCATIONS, US_STATES, buildMapsEmbedUrl, buildMapsUrl, csvCell, csvSafeText, downloadBlob, downloadCsv, fileNameFromContentDisposition, formatAddress, formatCurrency, formatDuration, formatEnum, formatPhone, formatPhoneDisplay, formatShortDate, formatTimeAgo, getInitials, humanReadableMessage, isDarkPage, localizedDetailGroupStyle, opensInNewTab, safeLinkHref, toCsv, todayInTimezone, usStateName, usStateSelectOptions };
|
|
1070
|
+
|
|
1071
|
+
//# sourceMappingURL=forgeroute-ui-utils.mjs.map
|