@forgeroute/ui 0.5.15 → 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 +20 -3
- 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 +17 -3
- 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 +16 -3
- 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 +11 -6
- package/types/forgeroute-ui-more-menu.d.ts +91 -0
- package/types/forgeroute-ui-multi-select.d.ts +119 -0
- package/types/forgeroute-ui-notes.d.ts +172 -0
- package/types/forgeroute-ui-notification-bell.d.ts +135 -0
- package/types/forgeroute-ui-offline-banner.d.ts +44 -0
- package/types/forgeroute-ui-option-card.d.ts +106 -0
- package/types/forgeroute-ui-page.d.ts +115 -0
- package/types/forgeroute-ui-pagination.d.ts +55 -0
- package/types/forgeroute-ui-panel-info-list.d.ts +147 -0
- package/types/forgeroute-ui-password-requirements.d.ts +89 -0
- package/types/forgeroute-ui-payments.d.ts +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 +6 -3
- package/types/forgeroute-ui-radio-matrix.d.ts +131 -0
- package/types/forgeroute-ui-radio.d.ts +311 -0
- package/types/forgeroute-ui-read-only-mode.d.ts +26 -0
- package/types/forgeroute-ui-readonly-fieldset.d.ts +62 -0
- package/types/forgeroute-ui-reminder-alerts.d.ts +71 -0
- package/types/forgeroute-ui-search-input.d.ts +93 -0
- package/types/forgeroute-ui-section-header.d.ts +149 -0
- package/types/forgeroute-ui-select.d.ts +183 -0
- package/types/forgeroute-ui-setup.d.ts +775 -0
- package/types/forgeroute-ui-share-menu.d.ts +99 -0
- package/types/forgeroute-ui-shell.d.ts +173 -0
- package/types/forgeroute-ui-show.d.ts +40 -0
- package/types/forgeroute-ui-sidebar-layout.d.ts +161 -0
- package/types/forgeroute-ui-skeleton.d.ts +51 -0
- package/types/forgeroute-ui-skip-link.d.ts +51 -0
- package/types/forgeroute-ui-snackbar.d.ts +50 -0
- package/types/forgeroute-ui-square.d.ts +5 -3
- package/types/forgeroute-ui-stack.d.ts +99 -0
- package/types/forgeroute-ui-stacked-bar.d.ts +84 -0
- package/types/forgeroute-ui-stacking-plan.d.ts +116 -0
- package/types/forgeroute-ui-star-rating.d.ts +151 -0
- package/types/forgeroute-ui-star.d.ts +46 -0
- package/types/forgeroute-ui-stepper.d.ts +273 -0
- package/types/forgeroute-ui-stripe.d.ts +4 -2
- 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,544 @@
|
|
|
1
|
+
import { BadgeVariant } from "@forgeroute/ui/table-types";
|
|
2
|
+
import { PillTab } from "@forgeroute/ui/pill-tabs";
|
|
3
|
+
import { UiLabelsService } from "@forgeroute/ui/core";
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
/** Pure date helpers for `ui-calendar`. Dates are plain `YYYY-MM-DD` strings and times `HH:mm`; nothing here parses a non-ISO string. */
|
|
6
|
+
type CalendarViewMode = 'month' | 'week' | 'agenda';
|
|
7
|
+
interface CalendarDay {
|
|
8
|
+
dateStr: string;
|
|
9
|
+
dayNum: number;
|
|
10
|
+
isToday: boolean;
|
|
11
|
+
isCurrentMonth: boolean;
|
|
12
|
+
isWeekend: boolean;
|
|
13
|
+
}
|
|
14
|
+
interface CalendarRange {
|
|
15
|
+
view: CalendarViewMode;
|
|
16
|
+
/** First visible date, `YYYY-MM-DD`. */
|
|
17
|
+
start: string;
|
|
18
|
+
/** Last visible date (inclusive), `YYYY-MM-DD`. */
|
|
19
|
+
end: string;
|
|
20
|
+
/** The date the view is anchored on. */
|
|
21
|
+
anchor: Date;
|
|
22
|
+
}
|
|
23
|
+
declare const WEEK_DAY_LABELS: string[];
|
|
24
|
+
/** Full weekday names, Sunday first, in the given locale ('Sunday' ... / 'domingo' ...). */
|
|
25
|
+
declare function weekDayNamesFor(locale?: string): string[];
|
|
26
|
+
/** Short weekday names, Sunday first, in the given locale ('Sun' ... / 'dom' ...). English returns the same array as `WEEK_DAY_LABELS`. */
|
|
27
|
+
declare function weekDayLabelsFor(locale?: string): string[];
|
|
28
|
+
declare function toDateStr(d: Date): string;
|
|
29
|
+
/** `YYYY-MM-DD` → local Date at midnight (ISO local form, parsed the same way in every browser). */
|
|
30
|
+
declare function fromDateStr(dateStr: string): Date;
|
|
31
|
+
/** True for a real calendar day written as `YYYY-MM-DD` (rejects `2026-02-30`, `2026-1-5`, non-ISO text). */
|
|
32
|
+
declare function isValidDateStr(dateStr: string): boolean;
|
|
33
|
+
/** The 42 cells (6 weeks, Sunday first) of the month grid containing `anchor`. */
|
|
34
|
+
declare function buildMonthCells(anchor: Date, todayStr: string): CalendarDay[];
|
|
35
|
+
/** The 7 days (Sunday first) of the week containing `anchor`. */
|
|
36
|
+
declare function buildWeekDays(anchor: Date, todayStr: string): CalendarDay[];
|
|
37
|
+
/** Month view: the whole 6-week grid. Week view: the 7 days. Agenda view: the anchor month and the next one. */
|
|
38
|
+
declare function rangeFor(view: CalendarViewMode, anchor: Date, todayStr: string): CalendarRange;
|
|
39
|
+
/**
|
|
40
|
+
* Anchor after pressing Previous (`-1`) / Next (`1`): a week, two months (agenda, on the 1st) or one month. A month step keeps the
|
|
41
|
+
* day of the month (clamped to the target month's length), so switching to the week view afterwards shows a sensible week.
|
|
42
|
+
*/
|
|
43
|
+
declare function shiftAnchor(view: CalendarViewMode, anchor: Date, direction: -1 | 1): Date;
|
|
44
|
+
/** `Wednesday, October 21, 2026` — one cached formatter per locale, used for every cell's screen-reader name. */
|
|
45
|
+
declare function formatDayLabel(dateStr: string, locale?: string): string;
|
|
46
|
+
declare function periodLabelFor(view: CalendarViewMode, anchor: Date, todayStr: string, locale?: string): string;
|
|
47
|
+
/** `14:30` → `2:30 PM`. */
|
|
48
|
+
declare function formatTime(time: string, locale?: string): string;
|
|
49
|
+
declare function formatHour(h: number, locale?: string): string;
|
|
50
|
+
/** Pixel height of one hour row in the week view. */
|
|
51
|
+
declare const HOUR_HEIGHT = 60;
|
|
52
|
+
/**
|
|
53
|
+
* Top offset and height (px) of a timed event in a week grid whose first row is `startHour` and last row `endHour`.
|
|
54
|
+
* The box is clamped to the visible rows (an event that starts before `startHour` or ends after the last row is cut, never drawn outside).
|
|
55
|
+
*/
|
|
56
|
+
declare function timedBox(startTime: string | undefined, endTime: string | undefined, startHour: number, endHour?: number): {
|
|
57
|
+
top: number;
|
|
58
|
+
height: number;
|
|
59
|
+
};
|
|
60
|
+
interface CalendarLane {
|
|
61
|
+
lane: number;
|
|
62
|
+
lanes: number;
|
|
63
|
+
}
|
|
64
|
+
/**
|
|
65
|
+
* Side-by-side lanes for events that overlap in time. Events are grouped into clusters of transitively overlapping events; inside a
|
|
66
|
+
* cluster each event takes the first free lane and every event of the cluster shares the cluster's lane count.
|
|
67
|
+
*/
|
|
68
|
+
declare function layoutLanes(boxes: {
|
|
69
|
+
id: string;
|
|
70
|
+
top: number;
|
|
71
|
+
height: number;
|
|
72
|
+
}[]): Record<string, CalendarLane>;
|
|
73
|
+
/** A heading shared by consecutive agenda days (`ui-calendar` `agendaGroupFn`). Days that return the same `key` one after another sit under one heading. */
|
|
74
|
+
interface CalendarAgendaGroup {
|
|
75
|
+
key: string;
|
|
76
|
+
label: string;
|
|
77
|
+
}
|
|
78
|
+
/**
|
|
79
|
+
* Ready-made `agendaGroupFn` for `ui-calendar`: Overdue (before `todayStr`), Today, Tomorrow, This Week (the rest of the current Sunday-first
|
|
80
|
+
* week) and Later (everything after). Pure `YYYY-MM-DD` string math (a day is added with the local `Date(y, m, d + n)` constructor, so a daylight
|
|
81
|
+
* saving change never shifts it); nothing parses a non-ISO string. A `todayStr` that is not a real day, or a day that is not a real
|
|
82
|
+
* `YYYY-MM-DD`, gives `null` (no heading) instead of a wrong group.
|
|
83
|
+
*
|
|
84
|
+
* readonly group = computed(() => periodGroup(this.todayIso())); // <ui-calendar [agendaGroupFn]="group()" />
|
|
85
|
+
*/
|
|
86
|
+
export declare function periodGroup(todayStr: string): (dateStr: string) => CalendarAgendaGroup | null;
|
|
87
|
+
/** Level of a day's decoration (`ui-calendar` `dayDecorationFn`), lowest to highest. */
|
|
88
|
+
type CalendarDayLevel = 'low' | 'medium' | 'high' | 'critical';
|
|
89
|
+
/** What a screen reader hears for a decorated day (added to the cell's label, and shown as hidden text in the week view header). */
|
|
90
|
+
declare const DAY_LEVEL_TEXT: Record<CalendarDayLevel, string>;
|
|
91
|
+
/** True for the four known levels (an unknown string from a loosely typed host is ignored, not drawn). */
|
|
92
|
+
declare function isDayLevel(level: unknown): level is CalendarDayLevel;
|
|
93
|
+
/** One thing on the calendar. The host maps its own records to this shape. */
|
|
94
|
+
export interface CalendarItem {
|
|
95
|
+
/** Unique across ALL items passed in (prefix ids by source when merging lists, e.g. `task-…`, `event-…`). */
|
|
96
|
+
id: string;
|
|
97
|
+
title: string;
|
|
98
|
+
/** Local calendar day, `YYYY-MM-DD`. */
|
|
99
|
+
date: string;
|
|
100
|
+
/** `HH:mm` (24 hour). Without it (or with `allDay`) the item is an all-day item in the week view. */
|
|
101
|
+
startTime?: string;
|
|
102
|
+
endTime?: string;
|
|
103
|
+
allDay?: boolean;
|
|
104
|
+
/** Filter key; matched against `CalendarFilter.value`. */
|
|
105
|
+
type?: string;
|
|
106
|
+
/** Accent colour (left border / bar) and soft background of the chip, any CSS colour. */
|
|
107
|
+
color: string;
|
|
108
|
+
bgColor: string;
|
|
109
|
+
/** Replaces the formatted `startTime` on chips and agenda rows (e.g. a time already converted to another time zone, or "All day"). */
|
|
110
|
+
timeLabel?: string;
|
|
111
|
+
/** Small marker at the end of a month chip (e.g. `T`). */
|
|
112
|
+
tag?: string;
|
|
113
|
+
/** Extra badges on the agenda row. */
|
|
114
|
+
badges?: {
|
|
115
|
+
label: string;
|
|
116
|
+
variant: BadgeVariant;
|
|
117
|
+
}[];
|
|
118
|
+
/** Extra grey lines under the title on the agenda row (location, contact…). */
|
|
119
|
+
meta?: string[];
|
|
120
|
+
/** SVG path `d` (24x24 stroke icon) drawn before the time on month chips. */
|
|
121
|
+
iconPath?: string;
|
|
122
|
+
/** Strike the title through (e.g. a completed reminder). */
|
|
123
|
+
strike?: boolean;
|
|
124
|
+
/** Screen-reader name of the item's button; defaults to "<time> <title>". */
|
|
125
|
+
ariaLabel?: string;
|
|
126
|
+
/** Hover text (native `title`) of the item's button. Month chips default to the title; week / agenda items show none unless set. */
|
|
127
|
+
tooltip?: string;
|
|
128
|
+
}
|
|
129
|
+
export interface CalendarFilter {
|
|
130
|
+
value: string;
|
|
131
|
+
label: string;
|
|
132
|
+
color: string;
|
|
133
|
+
bgColor?: string;
|
|
134
|
+
}
|
|
135
|
+
export interface CalendarMoreClick {
|
|
136
|
+
/** `YYYY-MM-DD` */
|
|
137
|
+
date: string;
|
|
138
|
+
/** Every item of that day that passes the active filters, in display order. */
|
|
139
|
+
items: CalendarItem[];
|
|
140
|
+
}
|
|
141
|
+
export interface CalendarSlotClick {
|
|
142
|
+
/** `YYYY-MM-DD` */
|
|
143
|
+
date: string;
|
|
144
|
+
/** `HH:00` of the clicked hour row. */
|
|
145
|
+
time: string;
|
|
146
|
+
}
|
|
147
|
+
/** What `dayDecorationFn` returns for one day: a tint level and/or a tooltip. */
|
|
148
|
+
export interface CalendarDayDecoration {
|
|
149
|
+
/** Tints the day (month cell background + a coloured top bar; week view day header) and adds "<level> activity" to its screen-reader label. */
|
|
150
|
+
level?: CalendarDayLevel;
|
|
151
|
+
/** Hover / keyboard-focus tooltip of the day (library `uiTooltip`). Empty = none. */
|
|
152
|
+
tooltip?: string;
|
|
153
|
+
}
|
|
154
|
+
/** One quick action offered on an item (`itemActionsFn`). */
|
|
155
|
+
export interface CalendarItemAction {
|
|
156
|
+
/** Unique per item; reported back in `itemAction`. */
|
|
157
|
+
id: string;
|
|
158
|
+
/** Visible text (or the hover title and accessible name when `icon` is set). */
|
|
159
|
+
label: string;
|
|
160
|
+
/** Icon key of `<ui-icon>` (e.g. `check`, `edit`, `delete`). With an icon the button shows only the icon; without one it shows the label. */
|
|
161
|
+
icon?: string;
|
|
162
|
+
disabled?: boolean;
|
|
163
|
+
/** `danger` draws it red (destructive actions). */
|
|
164
|
+
variant?: 'default' | 'danger';
|
|
165
|
+
}
|
|
166
|
+
export interface CalendarItemActionEvent {
|
|
167
|
+
item: CalendarItem;
|
|
168
|
+
actionId: string;
|
|
169
|
+
}
|
|
170
|
+
/**
|
|
171
|
+
* Month / week / agenda calendar. The host owns the data: it listens to `(rangeChange)`, loads that range and passes
|
|
172
|
+
* the result as `items`. The calendar owns navigation, the view switcher, type filters, layout and keyboard access.
|
|
173
|
+
*
|
|
174
|
+
* <ui-calendar [items]="items()" [filters]="filters" [loading]="loading()" [canCreate]="canCreate()"
|
|
175
|
+
* [(view)]="view" (rangeChange)="load($event)" (itemClick)="open($event)" (dateClick)="create($event)">
|
|
176
|
+
* <ui-kpi-card calendar-summary ... />
|
|
177
|
+
* <ui-button calendar-actions (click)="create()">New Event</ui-button>
|
|
178
|
+
* </ui-calendar>
|
|
179
|
+
*
|
|
180
|
+
* Keep the state you bind (`loading`, `items`, `view` …) in signals: `rangeChange` fires during change detection on the first render,
|
|
181
|
+
* so a handler that writes a plain property would raise ExpressionChangedAfterItHasBeenChecked in dev mode.
|
|
182
|
+
*
|
|
183
|
+
* The library toast outlet (`ui-toast`) is rendered here, like in `ui-data-table`, so a page with a calendar and no table still shows
|
|
184
|
+
* `ToastService` messages.
|
|
185
|
+
*
|
|
186
|
+
* Keyboard: the month grid is a real ARIA grid whose DAY CELLS have one tab stop (roving tabindex): arrows move by day/week, Home/End jump
|
|
187
|
+
* to the start/end of the week, PageUp/PageDown move by one month (Shift+PageUp/PageDown by one year; the day of the month is kept, clamped to
|
|
188
|
+
* the target month), Enter/Space on a day creates (when `canCreate`); the item buttons inside the cells stay in the Tab order.
|
|
189
|
+
* In the week view each all-day cell and each day column has a visually hidden "+ Add" button that appears when focused; Enter/Space on it
|
|
190
|
+
* creates (all-day, or the first visible hour). The initial `view` must be one of `views`.
|
|
191
|
+
*
|
|
192
|
+
* Loading: bind `[loading]`. On the FIRST load (nothing shown yet) the whole page is drawn as one skeleton outline (`data-testid="calendar-skeleton"`,
|
|
193
|
+
* one `role="status"` region "Loading calendar", only decorative `ui-skeleton`s): period label, Previous / Today / Next, view tabs, `loadingActions`
|
|
194
|
+
* (default 2) action placeholders, the filter label + one chip per filter plus All, and the weekday row + day grid of the current view. The real
|
|
195
|
+
* toolbar / filters / grid are not in the DOM until loading ends, but `rangeChange` still fires on the first render. After the first load,
|
|
196
|
+
* `[loading]` replaces only the grid with a skeleton so the toolbar and period navigation stay usable. No markup or config is needed in the host;
|
|
197
|
+
* start with `loading` true to avoid a one-frame flash of the real toolbar before the outline.
|
|
198
|
+
*
|
|
199
|
+
* Content slots: `[calendar-actions]` (right of the view switcher), `[calendar-summary]` (centre of the toolbar on
|
|
200
|
+
* desktop) and `[calendar-summary-mobile]` (shown instead of it on phones).
|
|
201
|
+
*/
|
|
202
|
+
export declare class CalendarComponent {
|
|
203
|
+
/** Everything to show in the visible range. Ids must be unique across the whole list. */
|
|
204
|
+
readonly items: import("@angular/core").InputSignal<CalendarItem[]>;
|
|
205
|
+
/**
|
|
206
|
+
* The host is loading the visible range. On the FIRST load (nothing shown yet) the component draws an outline of the whole page (period label,
|
|
207
|
+
* nav buttons, view tabs, action placeholders, filter chips, weekday row and day grid) built only from decorative `ui-skeleton`s in ONE status
|
|
208
|
+
* region (`data-testid="calendar-skeleton"`, "Loading calendar"); the real toolbar / filters / grid are not in the DOM until loading ends.
|
|
209
|
+
* `rangeChange` still fires meanwhile. Later reloads (after a first load finished, or while items are shown) replace only the grid with a
|
|
210
|
+
* skeleton so the toolbar and period navigation stay usable. Hosts need no markup or config: they just bind `[loading]`.
|
|
211
|
+
*/
|
|
212
|
+
readonly loading: import("@angular/core").InputSignal<boolean>;
|
|
213
|
+
/**
|
|
214
|
+
* Optional. How many skeleton button placeholders the first-load outline draws in the actions position (where `[calendar-actions]` content
|
|
215
|
+
* goes). The calendar cannot count projected content, so this is a number: default 2; 0 draws none. Not used after the first load.
|
|
216
|
+
*/
|
|
217
|
+
readonly loadingActions: import("@angular/core").InputSignalWithTransform<number, unknown>;
|
|
218
|
+
/** Active view; two-way bindable. A value that is not in `views` is replaced by the first allowed view. */
|
|
219
|
+
readonly view: import("@angular/core").ModelSignal<CalendarViewMode>;
|
|
220
|
+
/** Views the switcher offers. One entry hides the switcher. */
|
|
221
|
+
readonly views: import("@angular/core").InputSignal<CalendarViewMode[]>;
|
|
222
|
+
/** Date the visible period is anchored on; two-way bindable. */
|
|
223
|
+
readonly anchorDate: import("@angular/core").ModelSignal<Date>;
|
|
224
|
+
/** Filter chips (with an "All" chip first). Empty = no filter bar. */
|
|
225
|
+
readonly filters: import("@angular/core").InputSignal<CalendarFilter[]>;
|
|
226
|
+
readonly filterLabel: import("@angular/core").InputSignal<string>;
|
|
227
|
+
/** `multi` toggles any number of types; `single` keeps at most one active (clicking the active chip clears it). */
|
|
228
|
+
readonly filterMode: import("@angular/core").InputSignal<"multi" | "single">;
|
|
229
|
+
/** Active filter values; empty = everything. Two-way bindable. */
|
|
230
|
+
readonly activeFilters: import("@angular/core").ModelSignal<string[]>;
|
|
231
|
+
readonly showFilterCounts: import("@angular/core").InputSignal<boolean>;
|
|
232
|
+
/** Whether empty days / time slots can start a new item (`dateClick` / `slotClick`). Read-only users: false. */
|
|
233
|
+
readonly canCreate: import("@angular/core").InputSignal<boolean>;
|
|
234
|
+
/** Days before today cannot start a new item. */
|
|
235
|
+
readonly disablePast: import("@angular/core").InputSignal<boolean>;
|
|
236
|
+
/** Overrides "today" (`YYYY-MM-DD`): the highlighted day, `disablePast`, the agenda "Today" badge and what the Today button jumps to.
|
|
237
|
+
* Use it when the server's date, not the browser's, decides what today is. Null / invalid = the browser clock. */
|
|
238
|
+
readonly today: import("@angular/core").InputSignal<string | null>;
|
|
239
|
+
/** Items shown per month cell before "+N more". */
|
|
240
|
+
readonly maxVisible: import("@angular/core").InputSignal<number>;
|
|
241
|
+
/** `inline`: time and title on one line. `stacked`: time on the first line, title below it (title hidden on phones). */
|
|
242
|
+
readonly chipLayout: import("@angular/core").InputSignal<"inline" | "stacked">;
|
|
243
|
+
/** Order each day's items by start time (default). Off = keep the order the host passed them in. */
|
|
244
|
+
readonly sortByTime: import("@angular/core").InputSignal<boolean>;
|
|
245
|
+
/** First and last hour row of the week view. */
|
|
246
|
+
readonly startHour: import("@angular/core").InputSignal<number>;
|
|
247
|
+
readonly endHour: import("@angular/core").InputSignal<number>;
|
|
248
|
+
readonly emptyMessageInput: import("@angular/core").InputSignal<string | null>;
|
|
249
|
+
readonly emptyMessage: import("@angular/core").Signal<string>;
|
|
250
|
+
/** Builds the screen-reader name of a month cell; default "<weekday, date>, N events" (plus ", <level> activity" when `dayDecorationFn` gives a level). */
|
|
251
|
+
readonly dayLabelFn: import("@angular/core").InputSignal<((dateStr: string, items: CalendarItem[]) => string) | null>;
|
|
252
|
+
/**
|
|
253
|
+
* Optional per-day decoration (e.g. a workload heat map): called for every visible day with its items after the active filters. A `level`
|
|
254
|
+
* (`low` / `medium` / `high` / `critical`) tints the month cell (background + a coloured bar on top, so the level is not colour alone) and the
|
|
255
|
+
* week view day header, and adds "<level> activity" to the cell's default screen-reader label (a custom `dayLabelFn` label is used as given)
|
|
256
|
+
* and as hidden text in the week header. A `tooltip` shows on hover and keyboard focus (library `uiTooltip`). Null / `null` result = no change.
|
|
257
|
+
*/
|
|
258
|
+
readonly dayDecorationFn: import("@angular/core").InputSignal<((dateStr: string, items: CalendarItem[]) => CalendarDayDecoration | null) | null>;
|
|
259
|
+
/**
|
|
260
|
+
* Optional quick actions on items (e.g. Confirm / Complete): called once per item, return `[]` for none. The actions are real buttons next to the
|
|
261
|
+
* item (month chip, all-day chip, timed event, agenda row) that appear on hover AND when keyboard focus is inside the item; they emit `itemAction`
|
|
262
|
+
* and never `itemClick`. On touch screens the agenda view always shows them (month and week chips show them while tapped / focused). Escape inside the
|
|
263
|
+
* actions returns focus to the item. Null = no actions and no extra DOM.
|
|
264
|
+
*/
|
|
265
|
+
readonly itemActionsFn: import("@angular/core").InputSignal<((item: CalendarItem) => CalendarItemAction[]) | null>;
|
|
266
|
+
/**
|
|
267
|
+
* Optional agenda headings: called with each agenda day; consecutive days that return the same `key` share one `<h3>` heading (a `<section>`
|
|
268
|
+
* labelled by it). A `null` result draws that day without a heading. `periodGroup(today)` is a ready-made Overdue / Today / Tomorrow / This Week /
|
|
269
|
+
* Later grouping. Null = one block per date, as before.
|
|
270
|
+
*/
|
|
271
|
+
readonly agendaGroupFn: import("@angular/core").InputSignal<((dateStr: string) => CalendarAgendaGroup | null) | null>;
|
|
272
|
+
/** Fires on first render and whenever the view or the visible range changes: load this range, then pass `items`. */
|
|
273
|
+
readonly rangeChange: import("@angular/core").OutputEmitterRef<CalendarRange>;
|
|
274
|
+
readonly itemClick: import("@angular/core").OutputEmitterRef<CalendarItem>;
|
|
275
|
+
/** Empty day clicked (month view / all-day row) — only when `canCreate` and the day is allowed. */
|
|
276
|
+
readonly dateClick: import("@angular/core").OutputEmitterRef<string>;
|
|
277
|
+
/** Empty hour row clicked in the week view (or Enter on a day column: the first visible hour). */
|
|
278
|
+
readonly slotClick: import("@angular/core").OutputEmitterRef<CalendarSlotClick>;
|
|
279
|
+
/** "+N more" clicked in a month cell. */
|
|
280
|
+
readonly moreClick: import("@angular/core").OutputEmitterRef<CalendarMoreClick>;
|
|
281
|
+
/** A quick action of an item (`itemActionsFn`) was activated. Never accompanied by `itemClick`. */
|
|
282
|
+
readonly itemAction: import("@angular/core").OutputEmitterRef<CalendarItemActionEvent>;
|
|
283
|
+
private readonly host;
|
|
284
|
+
protected readonly labels: UiLabelsService;
|
|
285
|
+
protected readonly weekDayLabels: import("@angular/core").Signal<string[]>;
|
|
286
|
+
protected readonly weekDayNames: import("@angular/core").Signal<string[]>;
|
|
287
|
+
protected readonly skeletonCells: number[];
|
|
288
|
+
protected readonly skeletonDays: number[];
|
|
289
|
+
protected readonly skeletonRows: number[];
|
|
290
|
+
/** `idle` until the first loading cycle starts, `first` while it runs, `loaded` once it has ended: from then on `loading` only skeletons the grid. */
|
|
291
|
+
private readonly loadPhase;
|
|
292
|
+
/** True while the first load runs and nothing is shown yet: the whole page is drawn as a skeleton outline. */
|
|
293
|
+
protected readonly showOutline: import("@angular/core").Signal<boolean>;
|
|
294
|
+
protected readonly loadingActionSlots: import("@angular/core").Signal<number[]>;
|
|
295
|
+
protected formatHour(h: number): string;
|
|
296
|
+
/** The browser clock's today as `YYYY-MM-DD`; refreshed at local midnight, when the tab becomes visible again and when the user presses Today. */
|
|
297
|
+
private readonly clockToday;
|
|
298
|
+
/** Today as `YYYY-MM-DD`: the `today` input when it is a valid date, else the browser clock. */
|
|
299
|
+
protected readonly todayStr: import("@angular/core").Signal<string>;
|
|
300
|
+
/** The month-grid day that holds the roving tab stop. */
|
|
301
|
+
protected readonly focusedDate: import("@angular/core").WritableSignal<string | null>;
|
|
302
|
+
private lastRangeKey;
|
|
303
|
+
private readonly injector;
|
|
304
|
+
protected readonly hours: import("@angular/core").Signal<number[]>;
|
|
305
|
+
protected readonly monthCells: import("@angular/core").Signal<import("@forgeroute/ui/calendar").CalendarDay[]>;
|
|
306
|
+
protected readonly weekDays: import("@angular/core").Signal<import("@forgeroute/ui/calendar").CalendarDay[]>;
|
|
307
|
+
protected readonly periodLabel: import("@angular/core").Signal<string>;
|
|
308
|
+
/** The period label split for styling: in the month view the month is the strong part and the year the muted one ("October" + "2026"). */
|
|
309
|
+
protected readonly periodParts: import("@angular/core").Signal<{
|
|
310
|
+
main: string;
|
|
311
|
+
sub: string;
|
|
312
|
+
}>;
|
|
313
|
+
protected readonly viewTabs: import("@angular/core").Signal<PillTab[]>;
|
|
314
|
+
protected readonly typeCounts: import("@angular/core").Signal<Record<string, number>>;
|
|
315
|
+
private readonly byDate;
|
|
316
|
+
protected readonly agendaGroups: import("@angular/core").Signal<{
|
|
317
|
+
dateStr: string;
|
|
318
|
+
items: CalendarItem[];
|
|
319
|
+
}[]>;
|
|
320
|
+
/** Whether the day at `dateStr` may start a new item. */
|
|
321
|
+
private clickable;
|
|
322
|
+
/** The 6 rows of the month grid with everything a cell draws, computed once per input change. */
|
|
323
|
+
protected readonly monthRows: import("@angular/core").Signal<{
|
|
324
|
+
key: string;
|
|
325
|
+
cells: {
|
|
326
|
+
day: import("@forgeroute/ui/calendar").CalendarDay;
|
|
327
|
+
items: CalendarItem[];
|
|
328
|
+
visible: CalendarItem[];
|
|
329
|
+
overflow: number;
|
|
330
|
+
clickable: boolean;
|
|
331
|
+
label: string;
|
|
332
|
+
level: CalendarDayLevel | null;
|
|
333
|
+
tooltip: string;
|
|
334
|
+
}[];
|
|
335
|
+
}[]>;
|
|
336
|
+
/** The 7 week columns with all-day items and the timed items laid out side by side when they overlap. */
|
|
337
|
+
protected readonly weekColumns: import("@angular/core").Signal<{
|
|
338
|
+
day: import("@forgeroute/ui/calendar").CalendarDay;
|
|
339
|
+
label: string;
|
|
340
|
+
clickable: boolean;
|
|
341
|
+
level: CalendarDayLevel | null;
|
|
342
|
+
tooltip: string;
|
|
343
|
+
allDay: CalendarItem[];
|
|
344
|
+
timed: {
|
|
345
|
+
lane: CalendarLane;
|
|
346
|
+
top: number;
|
|
347
|
+
height: number;
|
|
348
|
+
item: CalendarItem;
|
|
349
|
+
}[];
|
|
350
|
+
}[]>;
|
|
351
|
+
/** The month-grid day holding the tab stop: the last focused one if it is on screen, else today, else the 1st of the anchor month. */
|
|
352
|
+
protected readonly focusDate: import("@angular/core").Signal<string>;
|
|
353
|
+
/**
|
|
354
|
+
* PageUp / PageDown target day waiting for the host's load: hosts show `loading` (the grid is replaced by the skeleton, which drops
|
|
355
|
+
* focus), so the day is focused again once that loading cycle ends. Cleared by any other key or a pointer press.
|
|
356
|
+
*/
|
|
357
|
+
private pendingFocus;
|
|
358
|
+
private pendingSawLoading;
|
|
359
|
+
constructor();
|
|
360
|
+
protected isFilterActive(value: string): boolean;
|
|
361
|
+
protected toggleFilter(value: string): void;
|
|
362
|
+
protected clearFilters(): void;
|
|
363
|
+
protected setView(v: CalendarViewMode): void;
|
|
364
|
+
protected navigate(direction: -1 | 1): void;
|
|
365
|
+
protected goToday(): void;
|
|
366
|
+
protected dowLabel(dateStr: string): string;
|
|
367
|
+
protected agendaDow(dateStr: string): string;
|
|
368
|
+
protected agendaDate(dateStr: string): string;
|
|
369
|
+
protected chipTime(e: CalendarItem): string;
|
|
370
|
+
protected timeRange(e: CalendarItem): string;
|
|
371
|
+
/** The button's name includes the visible time (WCAG 2.5.3 label in name) unless the host set `ariaLabel`. */
|
|
372
|
+
protected itemLabel(e: CalendarItem): string;
|
|
373
|
+
protected agendaMeta(e: CalendarItem): string[];
|
|
374
|
+
private dayAriaLabel;
|
|
375
|
+
/** The decoration of one day: an unknown `level` (loosely typed host) is dropped, a missing tooltip is `''`. */
|
|
376
|
+
private decoration;
|
|
377
|
+
protected levelText(level: CalendarDayLevel): string;
|
|
378
|
+
/** Quick actions per item id, computed once per input change (nothing is computed while `itemActionsFn` is null). */
|
|
379
|
+
private readonly actionsById;
|
|
380
|
+
private static readonly NO_ACTIONS;
|
|
381
|
+
protected actionsFor(item: CalendarItem): CalendarItemAction[];
|
|
382
|
+
protected actionIconD(a: CalendarItemAction): string | null;
|
|
383
|
+
protected onActionClick(item: CalendarItem, action: CalendarItemAction, event: Event): void;
|
|
384
|
+
/** Escape inside an item's actions: focus goes back to the item's own button. */
|
|
385
|
+
protected onActionsEscape(event: Event): void;
|
|
386
|
+
/** Agenda days grouped under `agendaGroupFn` headings (consecutive days with the same key), or null when no function is set. */
|
|
387
|
+
private static nextUid;
|
|
388
|
+
private readonly uid;
|
|
389
|
+
protected readonly agendaSections: import("@angular/core").Signal<{
|
|
390
|
+
key: string;
|
|
391
|
+
label: string;
|
|
392
|
+
id: string;
|
|
393
|
+
groups: {
|
|
394
|
+
dateStr: string;
|
|
395
|
+
items: CalendarItem[];
|
|
396
|
+
}[];
|
|
397
|
+
}[] | null>;
|
|
398
|
+
protected onDateClick(dateStr: string): void;
|
|
399
|
+
/** Grid keys on a day cell: arrows / Home / End move the tab stop, Enter / Space create. Keys on the chips inside never reach here. */
|
|
400
|
+
protected onCellKey(event: KeyboardEvent, dateStr: string): void;
|
|
401
|
+
/** PageUp / PageDown: the same day `months` away (clamped to the target month's length) becomes the anchor, the tab stop and the focus. */
|
|
402
|
+
private jumpMonths;
|
|
403
|
+
/** The hidden "+ Add" button of an all-day cell (keyboard / screen-reader path to the same action as clicking the cell). */
|
|
404
|
+
protected onAddAllDay(dateStr: string, event: Event): void;
|
|
405
|
+
/** The hidden "+ Add" button of a day column: creates at the first visible hour. */
|
|
406
|
+
protected onAddTimed(dateStr: string, event: Event): void;
|
|
407
|
+
protected onSlotClick(dateStr: string, event: MouseEvent): void;
|
|
408
|
+
protected onItemClick(item: CalendarItem, event: Event): void;
|
|
409
|
+
protected onMoreClick(dateStr: string, items: CalendarItem[], event: Event): void;
|
|
410
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CalendarComponent, never>;
|
|
411
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CalendarComponent, "ui-calendar", never, {
|
|
412
|
+
"items": {
|
|
413
|
+
"alias": "items";
|
|
414
|
+
"required": false;
|
|
415
|
+
"isSignal": true;
|
|
416
|
+
};
|
|
417
|
+
"loading": {
|
|
418
|
+
"alias": "loading";
|
|
419
|
+
"required": false;
|
|
420
|
+
"isSignal": true;
|
|
421
|
+
};
|
|
422
|
+
"loadingActions": {
|
|
423
|
+
"alias": "loadingActions";
|
|
424
|
+
"required": false;
|
|
425
|
+
"isSignal": true;
|
|
426
|
+
};
|
|
427
|
+
"view": {
|
|
428
|
+
"alias": "view";
|
|
429
|
+
"required": false;
|
|
430
|
+
"isSignal": true;
|
|
431
|
+
};
|
|
432
|
+
"views": {
|
|
433
|
+
"alias": "views";
|
|
434
|
+
"required": false;
|
|
435
|
+
"isSignal": true;
|
|
436
|
+
};
|
|
437
|
+
"anchorDate": {
|
|
438
|
+
"alias": "anchorDate";
|
|
439
|
+
"required": false;
|
|
440
|
+
"isSignal": true;
|
|
441
|
+
};
|
|
442
|
+
"filters": {
|
|
443
|
+
"alias": "filters";
|
|
444
|
+
"required": false;
|
|
445
|
+
"isSignal": true;
|
|
446
|
+
};
|
|
447
|
+
"filterLabel": {
|
|
448
|
+
"alias": "filterLabel";
|
|
449
|
+
"required": false;
|
|
450
|
+
"isSignal": true;
|
|
451
|
+
};
|
|
452
|
+
"filterMode": {
|
|
453
|
+
"alias": "filterMode";
|
|
454
|
+
"required": false;
|
|
455
|
+
"isSignal": true;
|
|
456
|
+
};
|
|
457
|
+
"activeFilters": {
|
|
458
|
+
"alias": "activeFilters";
|
|
459
|
+
"required": false;
|
|
460
|
+
"isSignal": true;
|
|
461
|
+
};
|
|
462
|
+
"showFilterCounts": {
|
|
463
|
+
"alias": "showFilterCounts";
|
|
464
|
+
"required": false;
|
|
465
|
+
"isSignal": true;
|
|
466
|
+
};
|
|
467
|
+
"canCreate": {
|
|
468
|
+
"alias": "canCreate";
|
|
469
|
+
"required": false;
|
|
470
|
+
"isSignal": true;
|
|
471
|
+
};
|
|
472
|
+
"disablePast": {
|
|
473
|
+
"alias": "disablePast";
|
|
474
|
+
"required": false;
|
|
475
|
+
"isSignal": true;
|
|
476
|
+
};
|
|
477
|
+
"today": {
|
|
478
|
+
"alias": "today";
|
|
479
|
+
"required": false;
|
|
480
|
+
"isSignal": true;
|
|
481
|
+
};
|
|
482
|
+
"maxVisible": {
|
|
483
|
+
"alias": "maxVisible";
|
|
484
|
+
"required": false;
|
|
485
|
+
"isSignal": true;
|
|
486
|
+
};
|
|
487
|
+
"chipLayout": {
|
|
488
|
+
"alias": "chipLayout";
|
|
489
|
+
"required": false;
|
|
490
|
+
"isSignal": true;
|
|
491
|
+
};
|
|
492
|
+
"sortByTime": {
|
|
493
|
+
"alias": "sortByTime";
|
|
494
|
+
"required": false;
|
|
495
|
+
"isSignal": true;
|
|
496
|
+
};
|
|
497
|
+
"startHour": {
|
|
498
|
+
"alias": "startHour";
|
|
499
|
+
"required": false;
|
|
500
|
+
"isSignal": true;
|
|
501
|
+
};
|
|
502
|
+
"endHour": {
|
|
503
|
+
"alias": "endHour";
|
|
504
|
+
"required": false;
|
|
505
|
+
"isSignal": true;
|
|
506
|
+
};
|
|
507
|
+
"emptyMessageInput": {
|
|
508
|
+
"alias": "emptyMessage";
|
|
509
|
+
"required": false;
|
|
510
|
+
"isSignal": true;
|
|
511
|
+
};
|
|
512
|
+
"dayLabelFn": {
|
|
513
|
+
"alias": "dayLabelFn";
|
|
514
|
+
"required": false;
|
|
515
|
+
"isSignal": true;
|
|
516
|
+
};
|
|
517
|
+
"dayDecorationFn": {
|
|
518
|
+
"alias": "dayDecorationFn";
|
|
519
|
+
"required": false;
|
|
520
|
+
"isSignal": true;
|
|
521
|
+
};
|
|
522
|
+
"itemActionsFn": {
|
|
523
|
+
"alias": "itemActionsFn";
|
|
524
|
+
"required": false;
|
|
525
|
+
"isSignal": true;
|
|
526
|
+
};
|
|
527
|
+
"agendaGroupFn": {
|
|
528
|
+
"alias": "agendaGroupFn";
|
|
529
|
+
"required": false;
|
|
530
|
+
"isSignal": true;
|
|
531
|
+
};
|
|
532
|
+
}, {
|
|
533
|
+
"view": "viewChange";
|
|
534
|
+
"anchorDate": "anchorDateChange";
|
|
535
|
+
"activeFilters": "activeFiltersChange";
|
|
536
|
+
"rangeChange": "rangeChange";
|
|
537
|
+
"itemClick": "itemClick";
|
|
538
|
+
"dateClick": "dateClick";
|
|
539
|
+
"slotClick": "slotClick";
|
|
540
|
+
"moreClick": "moreClick";
|
|
541
|
+
"itemAction": "itemAction";
|
|
542
|
+
}, never, ["[calendar-summary]", "[calendar-actions]", "[calendar-summary-mobile]"], true, never>;
|
|
543
|
+
}
|
|
544
|
+
export type { CalendarAgendaGroup, CalendarDay, CalendarDayLevel, CalendarRange, CalendarViewMode };
|