@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,815 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import { ChangeDetectionStrategy, Component, Directive, ElementRef, computed, contentChild, effect, forwardRef, inject, input, model, output, signal } from "@angular/core";
|
|
3
|
+
import { NgTemplateOutlet } from "@angular/common";
|
|
4
|
+
import { NG_VALIDATORS, NG_VALUE_ACCESSOR } from "@angular/forms";
|
|
5
|
+
import { UiFieldValidity, UiLabelsService, createFieldReveal, issueToErrors, requiredIssue } from "@forgeroute/ui/core";
|
|
6
|
+
import { opensInNewTab, safeLinkHref } from "@forgeroute/ui/utils";
|
|
7
|
+
var CheckboxTrailingDirective = class CheckboxTrailingDirective {
|
|
8
|
+
static {
|
|
9
|
+
this.ɵfac = i0.ɵɵngDeclareFactory({
|
|
10
|
+
minVersion: "12.0.0",
|
|
11
|
+
version: "22.2.2",
|
|
12
|
+
ngImport: i0,
|
|
13
|
+
type: CheckboxTrailingDirective,
|
|
14
|
+
deps: [],
|
|
15
|
+
target: i0.ɵɵFactoryTarget.Directive
|
|
16
|
+
});
|
|
17
|
+
}
|
|
18
|
+
static {
|
|
19
|
+
this.ɵdir = i0.ɵɵngDeclareDirective({
|
|
20
|
+
minVersion: "14.0.0",
|
|
21
|
+
version: "22.2.2",
|
|
22
|
+
type: CheckboxTrailingDirective,
|
|
23
|
+
isStandalone: true,
|
|
24
|
+
selector: "[checkbox-trailing]",
|
|
25
|
+
ngImport: i0
|
|
26
|
+
});
|
|
27
|
+
}
|
|
28
|
+
};
|
|
29
|
+
i0.ɵɵngDeclareClassMetadata({
|
|
30
|
+
minVersion: "12.0.0",
|
|
31
|
+
version: "22.2.2",
|
|
32
|
+
ngImport: i0,
|
|
33
|
+
type: CheckboxTrailingDirective,
|
|
34
|
+
decorators: [{
|
|
35
|
+
type: Directive,
|
|
36
|
+
args: [{
|
|
37
|
+
selector: "[checkbox-trailing]",
|
|
38
|
+
standalone: true
|
|
39
|
+
}]
|
|
40
|
+
}]
|
|
41
|
+
});
|
|
42
|
+
var CheckboxComponent = class CheckboxComponent {
|
|
43
|
+
isSelected(value) {
|
|
44
|
+
return this._selected().includes(value);
|
|
45
|
+
}
|
|
46
|
+
constructor() {
|
|
47
|
+
this.labels = inject(UiLabelsService);
|
|
48
|
+
this.label = input("", ...ngDevMode ? [{ debugName: "label" }] : /* istanbul ignore next */ []);
|
|
49
|
+
this.ariaLabel = input("", ...ngDevMode ? [{ debugName: "ariaLabel" }] : /* istanbul ignore next */ []);
|
|
50
|
+
this.testId = input("", ...ngDevMode ? [{ debugName: "testId" }] : /* istanbul ignore next */ []);
|
|
51
|
+
this.labelTestId = input("", ...ngDevMode ? [{ debugName: "labelTestId" }] : /* istanbul ignore next */ []);
|
|
52
|
+
this.headingLevel = input(null, ...ngDevMode ? [{ debugName: "headingLevel" }] : /* istanbul ignore next */ []);
|
|
53
|
+
this.indeterminate = input(false, ...ngDevMode ? [{ debugName: "indeterminate" }] : /* istanbul ignore next */ []);
|
|
54
|
+
this.checked = model(false, ...ngDevMode ? [{ debugName: "checked" }] : /* istanbul ignore next */ []);
|
|
55
|
+
this.options = input([], ...ngDevMode ? [{ debugName: "options" }] : /* istanbul ignore next */ []);
|
|
56
|
+
this.legend = input("", ...ngDevMode ? [{ debugName: "legend" }] : /* istanbul ignore next */ []);
|
|
57
|
+
this._legend = computed(() => this.legend() || (this._host.nativeElement.tagName === "UI-CHECKBOX-GROUP" ? this.label() : ""), ...ngDevMode ? [{ debugName: "_legend" }] : /* istanbul ignore next */ []);
|
|
58
|
+
this.orientation = input("vertical", ...ngDevMode ? [{ debugName: "orientation" }] : /* istanbul ignore next */ []);
|
|
59
|
+
this.values = model(void 0, ...ngDevMode ? [{ debugName: "values" }] : /* istanbul ignore next */ []);
|
|
60
|
+
this.labelLinks = input({}, ...ngDevMode ? [{ debugName: "labelLinks" }] : /* istanbul ignore next */ []);
|
|
61
|
+
this._labelSegments = computed(() => {
|
|
62
|
+
const label = this.label();
|
|
63
|
+
const links = this.labelLinks();
|
|
64
|
+
if (!label || !links || Object.keys(links).length === 0) return null;
|
|
65
|
+
const segments = [];
|
|
66
|
+
let used = false;
|
|
67
|
+
let last = 0;
|
|
68
|
+
for (const m of label.matchAll(/\{([A-Za-z0-9_-]+)\}/g)) {
|
|
69
|
+
const link = Object.prototype.hasOwnProperty.call(links, m[1]) ? links[m[1]] : void 0;
|
|
70
|
+
if (!link) continue;
|
|
71
|
+
used = true;
|
|
72
|
+
const at = m.index ?? 0;
|
|
73
|
+
if (at > last) segments.push({ text: label.slice(last, at) });
|
|
74
|
+
const text = link.label ?? "";
|
|
75
|
+
const href = safeLinkHref(link.url);
|
|
76
|
+
if (text.trim()) segments.push(href ? {
|
|
77
|
+
text,
|
|
78
|
+
href,
|
|
79
|
+
newTab: opensInNewTab(href),
|
|
80
|
+
testId: link.testId
|
|
81
|
+
} : { text });
|
|
82
|
+
last = at + m[0].length;
|
|
83
|
+
}
|
|
84
|
+
if (!used) return null;
|
|
85
|
+
if (last < label.length) segments.push({ text: label.slice(last) });
|
|
86
|
+
return segments;
|
|
87
|
+
}, ...ngDevMode ? [{ debugName: "_labelSegments" }] : /* istanbul ignore next */ []);
|
|
88
|
+
this._plainLabel = computed(() => this._labelSegments()?.map((s) => s.text).join("") ?? this.label(), ...ngDevMode ? [{ debugName: "_plainLabel" }] : /* istanbul ignore next */ []);
|
|
89
|
+
this.description = input("", ...ngDevMode ? [{ debugName: "description" }] : /* istanbul ignore next */ []);
|
|
90
|
+
this._trailingContent = contentChild(CheckboxTrailingDirective, ...ngDevMode ? [{ debugName: "_trailingContent" }] : /* istanbul ignore next */ []);
|
|
91
|
+
this._trailing = computed(() => !this.groupMode() && !!this._trailingContent(), ...ngDevMode ? [{ debugName: "_trailing" }] : /* istanbul ignore next */ []);
|
|
92
|
+
this._host = inject(ElementRef);
|
|
93
|
+
this._singleDescribedBy = computed(() => {
|
|
94
|
+
const ids = [this.description() ? this._descId + "-d" : "", this._activeError() || this.hint() ? this._descId : ""].filter(Boolean);
|
|
95
|
+
return ids.length ? ids.join(" ") : null;
|
|
96
|
+
}, ...ngDevMode ? [{ debugName: "_singleDescribedBy" }] : /* istanbul ignore next */ []);
|
|
97
|
+
this.indent = input(false, ...ngDevMode ? [{ debugName: "indent" }] : /* istanbul ignore next */ []);
|
|
98
|
+
this.groupMode = computed(() => this.options().length > 0, ...ngDevMode ? [{ debugName: "groupMode" }] : /* istanbul ignore next */ []);
|
|
99
|
+
this._selected = signal([], ...ngDevMode ? [{ debugName: "_selected" }] : /* istanbul ignore next */ []);
|
|
100
|
+
this.required = input(false, ...ngDevMode ? [{ debugName: "required" }] : /* istanbul ignore next */ []);
|
|
101
|
+
this.requiredMessage = input("", ...ngDevMode ? [{ debugName: "requiredMessage" }] : /* istanbul ignore next */ []);
|
|
102
|
+
this.hint = input("", ...ngDevMode ? [{ debugName: "hint" }] : /* istanbul ignore next */ []);
|
|
103
|
+
this.error = input("", ...ngDevMode ? [{ debugName: "error" }] : /* istanbul ignore next */ []);
|
|
104
|
+
this.showErrors = input(false, ...ngDevMode ? [{ debugName: "showErrors" }] : /* istanbul ignore next */ []);
|
|
105
|
+
this._descId = `cb-${Math.random().toString(36).slice(2, 8)}-desc`;
|
|
106
|
+
this._reveal = createFieldReveal(this.showErrors);
|
|
107
|
+
this._issue = computed(() => this._check(this.groupMode() ? this._selected().length > 0 : this.checked()), ...ngDevMode ? [{ debugName: "_issue" }] : /* istanbul ignore next */ []);
|
|
108
|
+
this.invalid = computed(() => !!this.error() || !!this._issue(), ...ngDevMode ? [{ debugName: "invalid" }] : /* istanbul ignore next */ []);
|
|
109
|
+
this.errorMessage = computed(() => this._issue()?.message ?? "", ...ngDevMode ? [{ debugName: "errorMessage" }] : /* istanbul ignore next */ []);
|
|
110
|
+
this.invalidChange = output();
|
|
111
|
+
this._activeError = computed(() => this._reveal.revealed() ? this.error() || this.errorMessage() : "", ...ngDevMode ? [{ debugName: "_activeError" }] : /* istanbul ignore next */ []);
|
|
112
|
+
this._onValidatorChange = () => {};
|
|
113
|
+
this._disabledInput = input(false, {
|
|
114
|
+
...ngDevMode ? { debugName: "_disabledInput" } : /* istanbul ignore next */ {},
|
|
115
|
+
alias: "disabled"
|
|
116
|
+
});
|
|
117
|
+
this._cvaDisabled = signal(false, ...ngDevMode ? [{ debugName: "_cvaDisabled" }] : /* istanbul ignore next */ []);
|
|
118
|
+
this.disabled = computed(() => this._disabledInput() || this._cvaDisabled(), ...ngDevMode ? [{ debugName: "disabled" }] : /* istanbul ignore next */ []);
|
|
119
|
+
this.onChange = (_) => {};
|
|
120
|
+
this.onTouched = () => {};
|
|
121
|
+
effect(() => {
|
|
122
|
+
this.invalidChange.emit(this.invalid());
|
|
123
|
+
});
|
|
124
|
+
effect(() => {
|
|
125
|
+
const v = this.values();
|
|
126
|
+
if (!v) return;
|
|
127
|
+
const next = this.inOptionOrder(v);
|
|
128
|
+
const cur = this._selected();
|
|
129
|
+
if (next.length !== cur.length || next.some((x, i) => x !== cur[i])) this._selected.set(next);
|
|
130
|
+
});
|
|
131
|
+
}
|
|
132
|
+
reset(value = false) {
|
|
133
|
+
if (this.groupMode()) {
|
|
134
|
+
const next = this.inOptionOrder(Array.isArray(value) ? value : []);
|
|
135
|
+
this._selected.set(next);
|
|
136
|
+
if (this.values() !== void 0) this.values.set(next);
|
|
137
|
+
this._syncNative((opt) => next.includes(opt));
|
|
138
|
+
this.onChange(next);
|
|
139
|
+
} else {
|
|
140
|
+
const on = Array.isArray(value) ? value.length > 0 : !!value;
|
|
141
|
+
this.checked.set(on);
|
|
142
|
+
this._syncNative(() => on);
|
|
143
|
+
this.onChange(on);
|
|
144
|
+
}
|
|
145
|
+
}
|
|
146
|
+
_syncNative(isOn) {
|
|
147
|
+
this._host.nativeElement.querySelectorAll("input[type=\"checkbox\"]").forEach((el) => {
|
|
148
|
+
el.checked = this.groupMode() ? isOn(el.getAttribute("value") ?? "") : isOn("");
|
|
149
|
+
});
|
|
150
|
+
}
|
|
151
|
+
ngOnChanges() {
|
|
152
|
+
this._onValidatorChange();
|
|
153
|
+
}
|
|
154
|
+
validate(control) {
|
|
155
|
+
const v = control.value;
|
|
156
|
+
return issueToErrors(this._check(Array.isArray(v) ? v.length > 0 : !!v));
|
|
157
|
+
}
|
|
158
|
+
registerOnValidatorChange(fn) {
|
|
159
|
+
this._onValidatorChange = fn;
|
|
160
|
+
}
|
|
161
|
+
_check(checked) {
|
|
162
|
+
if (this.disabled() || !this.required() || checked) return null;
|
|
163
|
+
const rm = this.requiredMessage();
|
|
164
|
+
return rm ? {
|
|
165
|
+
key: "required",
|
|
166
|
+
message: rm
|
|
167
|
+
} : requiredIssue(this.groupMode() ? this._legend() : this._plainLabel());
|
|
168
|
+
}
|
|
169
|
+
writeValue(val) {
|
|
170
|
+
if (Array.isArray(val)) this._selected.set(this.inOptionOrder(val));
|
|
171
|
+
else if (this.groupMode()) this._selected.set([]);
|
|
172
|
+
else this.checked.set(!!val);
|
|
173
|
+
}
|
|
174
|
+
registerOnChange(fn) {
|
|
175
|
+
this.onChange = fn;
|
|
176
|
+
}
|
|
177
|
+
registerOnTouched(fn) {
|
|
178
|
+
this.onTouched = fn;
|
|
179
|
+
}
|
|
180
|
+
setDisabledState(d) {
|
|
181
|
+
this._cvaDisabled.set(d);
|
|
182
|
+
}
|
|
183
|
+
onToggle(event) {
|
|
184
|
+
if (this.disabled()) return;
|
|
185
|
+
const val = event.target.checked;
|
|
186
|
+
this.checked.set(val);
|
|
187
|
+
this.onChange(val);
|
|
188
|
+
this.onTouched();
|
|
189
|
+
this._reveal.touched.set(true);
|
|
190
|
+
}
|
|
191
|
+
inOptionOrder(values) {
|
|
192
|
+
const opts = this.options();
|
|
193
|
+
return opts.length === 0 ? [...values] : opts.map((o) => o.value).filter((v) => values.includes(v));
|
|
194
|
+
}
|
|
195
|
+
onToggleOption(value, event) {
|
|
196
|
+
if (this.disabled() || this.options().find((o) => o.value === value)?.disabled) return;
|
|
197
|
+
const on = event.target.checked;
|
|
198
|
+
const next = this.inOptionOrder(on ? [...this._selected(), value] : this._selected().filter((v) => v !== value));
|
|
199
|
+
this._selected.set(next);
|
|
200
|
+
if (this.values() !== void 0) this.values.set(next);
|
|
201
|
+
this.onChange(next);
|
|
202
|
+
this.onTouched();
|
|
203
|
+
this._reveal.touched.set(true);
|
|
204
|
+
}
|
|
205
|
+
static {
|
|
206
|
+
this.ɵfac = i0.ɵɵngDeclareFactory({
|
|
207
|
+
minVersion: "12.0.0",
|
|
208
|
+
version: "22.2.2",
|
|
209
|
+
ngImport: i0,
|
|
210
|
+
type: CheckboxComponent,
|
|
211
|
+
deps: [],
|
|
212
|
+
target: i0.ɵɵFactoryTarget.Component
|
|
213
|
+
});
|
|
214
|
+
}
|
|
215
|
+
static {
|
|
216
|
+
this.ɵcmp = i0.ɵɵngDeclareComponent({
|
|
217
|
+
minVersion: "17.0.0",
|
|
218
|
+
version: "22.2.2",
|
|
219
|
+
type: CheckboxComponent,
|
|
220
|
+
isStandalone: true,
|
|
221
|
+
selector: "ui-checkbox, ui-checkbox-group",
|
|
222
|
+
inputs: {
|
|
223
|
+
label: {
|
|
224
|
+
classPropertyName: "label",
|
|
225
|
+
publicName: "label",
|
|
226
|
+
isSignal: true,
|
|
227
|
+
isRequired: false,
|
|
228
|
+
transformFunction: null
|
|
229
|
+
},
|
|
230
|
+
ariaLabel: {
|
|
231
|
+
classPropertyName: "ariaLabel",
|
|
232
|
+
publicName: "ariaLabel",
|
|
233
|
+
isSignal: true,
|
|
234
|
+
isRequired: false,
|
|
235
|
+
transformFunction: null
|
|
236
|
+
},
|
|
237
|
+
testId: {
|
|
238
|
+
classPropertyName: "testId",
|
|
239
|
+
publicName: "testId",
|
|
240
|
+
isSignal: true,
|
|
241
|
+
isRequired: false,
|
|
242
|
+
transformFunction: null
|
|
243
|
+
},
|
|
244
|
+
labelTestId: {
|
|
245
|
+
classPropertyName: "labelTestId",
|
|
246
|
+
publicName: "labelTestId",
|
|
247
|
+
isSignal: true,
|
|
248
|
+
isRequired: false,
|
|
249
|
+
transformFunction: null
|
|
250
|
+
},
|
|
251
|
+
headingLevel: {
|
|
252
|
+
classPropertyName: "headingLevel",
|
|
253
|
+
publicName: "headingLevel",
|
|
254
|
+
isSignal: true,
|
|
255
|
+
isRequired: false,
|
|
256
|
+
transformFunction: null
|
|
257
|
+
},
|
|
258
|
+
indeterminate: {
|
|
259
|
+
classPropertyName: "indeterminate",
|
|
260
|
+
publicName: "indeterminate",
|
|
261
|
+
isSignal: true,
|
|
262
|
+
isRequired: false,
|
|
263
|
+
transformFunction: null
|
|
264
|
+
},
|
|
265
|
+
checked: {
|
|
266
|
+
classPropertyName: "checked",
|
|
267
|
+
publicName: "checked",
|
|
268
|
+
isSignal: true,
|
|
269
|
+
isRequired: false,
|
|
270
|
+
transformFunction: null
|
|
271
|
+
},
|
|
272
|
+
options: {
|
|
273
|
+
classPropertyName: "options",
|
|
274
|
+
publicName: "options",
|
|
275
|
+
isSignal: true,
|
|
276
|
+
isRequired: false,
|
|
277
|
+
transformFunction: null
|
|
278
|
+
},
|
|
279
|
+
legend: {
|
|
280
|
+
classPropertyName: "legend",
|
|
281
|
+
publicName: "legend",
|
|
282
|
+
isSignal: true,
|
|
283
|
+
isRequired: false,
|
|
284
|
+
transformFunction: null
|
|
285
|
+
},
|
|
286
|
+
orientation: {
|
|
287
|
+
classPropertyName: "orientation",
|
|
288
|
+
publicName: "orientation",
|
|
289
|
+
isSignal: true,
|
|
290
|
+
isRequired: false,
|
|
291
|
+
transformFunction: null
|
|
292
|
+
},
|
|
293
|
+
values: {
|
|
294
|
+
classPropertyName: "values",
|
|
295
|
+
publicName: "values",
|
|
296
|
+
isSignal: true,
|
|
297
|
+
isRequired: false,
|
|
298
|
+
transformFunction: null
|
|
299
|
+
},
|
|
300
|
+
labelLinks: {
|
|
301
|
+
classPropertyName: "labelLinks",
|
|
302
|
+
publicName: "labelLinks",
|
|
303
|
+
isSignal: true,
|
|
304
|
+
isRequired: false,
|
|
305
|
+
transformFunction: null
|
|
306
|
+
},
|
|
307
|
+
description: {
|
|
308
|
+
classPropertyName: "description",
|
|
309
|
+
publicName: "description",
|
|
310
|
+
isSignal: true,
|
|
311
|
+
isRequired: false,
|
|
312
|
+
transformFunction: null
|
|
313
|
+
},
|
|
314
|
+
indent: {
|
|
315
|
+
classPropertyName: "indent",
|
|
316
|
+
publicName: "indent",
|
|
317
|
+
isSignal: true,
|
|
318
|
+
isRequired: false,
|
|
319
|
+
transformFunction: null
|
|
320
|
+
},
|
|
321
|
+
required: {
|
|
322
|
+
classPropertyName: "required",
|
|
323
|
+
publicName: "required",
|
|
324
|
+
isSignal: true,
|
|
325
|
+
isRequired: false,
|
|
326
|
+
transformFunction: null
|
|
327
|
+
},
|
|
328
|
+
requiredMessage: {
|
|
329
|
+
classPropertyName: "requiredMessage",
|
|
330
|
+
publicName: "requiredMessage",
|
|
331
|
+
isSignal: true,
|
|
332
|
+
isRequired: false,
|
|
333
|
+
transformFunction: null
|
|
334
|
+
},
|
|
335
|
+
hint: {
|
|
336
|
+
classPropertyName: "hint",
|
|
337
|
+
publicName: "hint",
|
|
338
|
+
isSignal: true,
|
|
339
|
+
isRequired: false,
|
|
340
|
+
transformFunction: null
|
|
341
|
+
},
|
|
342
|
+
error: {
|
|
343
|
+
classPropertyName: "error",
|
|
344
|
+
publicName: "error",
|
|
345
|
+
isSignal: true,
|
|
346
|
+
isRequired: false,
|
|
347
|
+
transformFunction: null
|
|
348
|
+
},
|
|
349
|
+
showErrors: {
|
|
350
|
+
classPropertyName: "showErrors",
|
|
351
|
+
publicName: "showErrors",
|
|
352
|
+
isSignal: true,
|
|
353
|
+
isRequired: false,
|
|
354
|
+
transformFunction: null
|
|
355
|
+
},
|
|
356
|
+
_disabledInput: {
|
|
357
|
+
classPropertyName: "_disabledInput",
|
|
358
|
+
publicName: "disabled",
|
|
359
|
+
isSignal: true,
|
|
360
|
+
isRequired: false,
|
|
361
|
+
transformFunction: null
|
|
362
|
+
}
|
|
363
|
+
},
|
|
364
|
+
outputs: {
|
|
365
|
+
checked: "checkedChange",
|
|
366
|
+
values: "valuesChange",
|
|
367
|
+
invalidChange: "invalidChange"
|
|
368
|
+
},
|
|
369
|
+
providers: [
|
|
370
|
+
{
|
|
371
|
+
provide: NG_VALUE_ACCESSOR,
|
|
372
|
+
useExisting: forwardRef(() => CheckboxComponent),
|
|
373
|
+
multi: true
|
|
374
|
+
},
|
|
375
|
+
{
|
|
376
|
+
provide: NG_VALIDATORS,
|
|
377
|
+
useExisting: forwardRef(() => CheckboxComponent),
|
|
378
|
+
multi: true
|
|
379
|
+
},
|
|
380
|
+
{
|
|
381
|
+
provide: UiFieldValidity,
|
|
382
|
+
useExisting: forwardRef(() => CheckboxComponent)
|
|
383
|
+
}
|
|
384
|
+
],
|
|
385
|
+
queries: [{
|
|
386
|
+
propertyName: "_trailingContent",
|
|
387
|
+
first: true,
|
|
388
|
+
predicate: CheckboxTrailingDirective,
|
|
389
|
+
descendants: true,
|
|
390
|
+
isSignal: true
|
|
391
|
+
}],
|
|
392
|
+
usesOnChanges: true,
|
|
393
|
+
ngImport: i0,
|
|
394
|
+
template: `
|
|
395
|
+
@if (groupMode()) {
|
|
396
|
+
<fieldset class="cb-group" [class.cb-indent]="indent()" [class.cb-error]="_activeError()" [disabled]="disabled()"
|
|
397
|
+
[attr.aria-invalid]="_activeError() ? 'true' : null"
|
|
398
|
+
[attr.aria-describedby]="(_activeError() || hint()) ? _descId : null">
|
|
399
|
+
@if (_legend()) {
|
|
400
|
+
<!-- aria-required is not allowed on a fieldset / group, so "required" is part of the legend's text for assistive technology -->
|
|
401
|
+
<legend class="cb-legend">{{ _legend() }}@if (required()) { <span class="cb-required" aria-hidden="true">*</span><span class="cb-sr-only"> {{ labels.t('common.required') }}</span> }</legend>
|
|
402
|
+
}
|
|
403
|
+
<div class="cb-options" [class.cb-horizontal]="orientation() === 'horizontal'">
|
|
404
|
+
@for (opt of options(); track opt.value; let i = $index) {
|
|
405
|
+
<div class="cb-option">
|
|
406
|
+
<label class="cb-wrap" [class.cb-disabled]="disabled() || opt.disabled">
|
|
407
|
+
<span class="cb-box" [class.cb-checked]="isSelected(opt.value)" [class.cb-disabled]="disabled() || opt.disabled">
|
|
408
|
+
@if (isSelected(opt.value)) {
|
|
409
|
+
<svg width="13" height="13" viewBox="0 0 24 24" fill="none" stroke="#fff" stroke-width="3" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true">
|
|
410
|
+
<path d="M20 6 9 17l-5-5"/>
|
|
411
|
+
</svg>
|
|
412
|
+
}
|
|
413
|
+
</span>
|
|
414
|
+
<input
|
|
415
|
+
type="checkbox"
|
|
416
|
+
class="cb-hidden"
|
|
417
|
+
[checked]="isSelected(opt.value)"
|
|
418
|
+
[attr.value]="opt.value"
|
|
419
|
+
[attr.data-testid]="opt.testId || null"
|
|
420
|
+
[disabled]="disabled() || !!opt.disabled"
|
|
421
|
+
[attr.aria-describedby]="opt.description ? _descId + '-' + i : null"
|
|
422
|
+
(change)="onToggleOption(opt.value, $event)"
|
|
423
|
+
/>
|
|
424
|
+
<span class="cb-label" [attr.data-testid]="opt.labelTestId || null">{{ opt.label }}</span>
|
|
425
|
+
</label>
|
|
426
|
+
@if (opt.description) {
|
|
427
|
+
<p class="cb-desc" [id]="_descId + '-' + i">{{ opt.description }}</p>
|
|
428
|
+
}
|
|
429
|
+
</div>
|
|
430
|
+
}
|
|
431
|
+
</div>
|
|
432
|
+
@if (_activeError()) {
|
|
433
|
+
<p class="cb-desc cb-desc-error cb-group-desc" [id]="_descId" role="alert">{{ _activeError() }}</p>
|
|
434
|
+
} @else if (hint()) {
|
|
435
|
+
<p class="cb-desc cb-group-desc" [id]="_descId">{{ hint() }}</p>
|
|
436
|
+
}
|
|
437
|
+
</fieldset>
|
|
438
|
+
} @else {
|
|
439
|
+
<div class="cb-field" [class.cb-indent]="indent()" [class.cb-error]="_activeError()" [class.cb-has-trailing]="_trailing()">
|
|
440
|
+
<ng-template #labelRow>
|
|
441
|
+
<label class="cb-wrap" [class.cb-disabled]="disabled()">
|
|
442
|
+
<span class="cb-box" [class.cb-checked]="checked()" [class.cb-indeterminate]="indeterminate() && !checked()" [class.cb-disabled]="disabled()">
|
|
443
|
+
@if (checked()) {
|
|
444
|
+
<svg width="13" height="13" viewBox="0 0 24 24" fill="none" stroke="#fff" stroke-width="3" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true">
|
|
445
|
+
<path d="M20 6 9 17l-5-5"/>
|
|
446
|
+
</svg>
|
|
447
|
+
} @else if (indeterminate()) {
|
|
448
|
+
<svg width="10" height="2" viewBox="0 0 10 2" fill="none" aria-hidden="true">
|
|
449
|
+
<line x1="0" y1="1" x2="10" y2="1" stroke="#fff" stroke-width="2" stroke-linecap="round"/>
|
|
450
|
+
</svg>
|
|
451
|
+
}
|
|
452
|
+
</span>
|
|
453
|
+
<input
|
|
454
|
+
type="checkbox"
|
|
455
|
+
class="cb-hidden"
|
|
456
|
+
[checked]="checked()"
|
|
457
|
+
[disabled]="disabled()"
|
|
458
|
+
[attr.data-testid]="testId() || null"
|
|
459
|
+
[attr.aria-label]="ariaLabel() || null"
|
|
460
|
+
[attr.aria-checked]="indeterminate() && !checked() ? 'mixed' : null"
|
|
461
|
+
[attr.aria-required]="required() ? 'true' : null"
|
|
462
|
+
[attr.aria-invalid]="_activeError() ? 'true' : null"
|
|
463
|
+
[attr.aria-describedby]="_singleDescribedBy()"
|
|
464
|
+
(change)="onToggle($event)"
|
|
465
|
+
/>
|
|
466
|
+
@if (label()) {
|
|
467
|
+
<span class="cb-label" [attr.data-testid]="labelTestId() || null" [attr.role]="headingLevel() ? 'heading' : null" [attr.aria-level]="headingLevel() || null">@if (_labelSegments(); as segments) {@for (seg of segments; track $index) {@if (seg.href) {<a class="cb-link" [attr.href]="seg.href" [attr.target]="seg.newTab ? '_blank' : null" [attr.rel]="seg.newTab ? 'noopener noreferrer' : null" [attr.data-testid]="seg.testId || null">{{ seg.text }}@if (seg.newTab) {<span class="cb-sr-only"> {{ labels.t('dataTable.opensInNewTab') }}</span>}</a>} @else {<ng-container>{{ seg.text }}</ng-container>}}} @else {<ng-container>{{ label() }}</ng-container>}</span>
|
|
468
|
+
}
|
|
469
|
+
<ng-content />
|
|
470
|
+
</label>
|
|
471
|
+
</ng-template>
|
|
472
|
+
@if (_trailing()) {
|
|
473
|
+
<div class="cb-row">
|
|
474
|
+
<ng-container [ngTemplateOutlet]="labelRow" />
|
|
475
|
+
<span class="cb-trailing"><ng-content select="[checkbox-trailing]" /></span>
|
|
476
|
+
</div>
|
|
477
|
+
} @else {
|
|
478
|
+
<ng-container [ngTemplateOutlet]="labelRow" />
|
|
479
|
+
}
|
|
480
|
+
@if (description()) {
|
|
481
|
+
<p class="cb-desc" [id]="_descId + '-d'">{{ description() }}</p>
|
|
482
|
+
}
|
|
483
|
+
@if (_activeError()) {
|
|
484
|
+
<p class="cb-desc cb-desc-error" [id]="_descId" role="alert">{{ _activeError() }}</p>
|
|
485
|
+
} @else if (hint()) {
|
|
486
|
+
<p class="cb-desc" [id]="_descId">{{ hint() }}</p>
|
|
487
|
+
}
|
|
488
|
+
</div>
|
|
489
|
+
}
|
|
490
|
+
`,
|
|
491
|
+
isInline: true,
|
|
492
|
+
styles: [".cb-field{display:inline-flex;flex-direction:column;gap:4px;vertical-align:top}.cb-group{display:flex;flex-direction:column;gap:8px;margin:0;padding:0;border:0;min-width:0}.cb-legend{padding:0;margin:0 0 8px;font-size:.8125rem;font-weight:600;color:#374151;line-height:1.2}.cb-required{color:#dc2626;margin-left:2px}.cb-sr-only{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.cb-options{display:flex;flex-direction:column;gap:10px}.cb-options.cb-horizontal{flex-direction:row;flex-wrap:wrap;gap:8px 20px}.cb-field.cb-has-trailing{display:flex}.cb-row{display:flex;align-items:center;justify-content:space-between;gap:12px}.cb-trailing{display:inline-flex;align-items:center;flex-shrink:0}.cb-option{display:flex;flex-direction:column;gap:4px}.cb-group-desc{margin-left:0}.cb-indent{margin-left:29px}.cb-desc{margin:0 0 0 29px;font-size:.75rem;line-height:1.4;color:#64748b}.cb-desc-error{color:#dc2626}.cb-error .cb-box:not(.cb-checked){border-color:#ef4444}.cb-wrap{position:relative;vertical-align:top;display:inline-flex;align-items:center;gap:9px;cursor:pointer;-webkit-user-select:none;user-select:none}.cb-wrap.cb-disabled{cursor:not-allowed;opacity:.5}.cb-hidden{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.cb-wrap:has(.cb-hidden:focus-visible) .cb-box{outline:2px solid #3b82f6;outline-offset:2px}@media(pointer:coarse),(max-width:480px){.cb-wrap{position:relative}.cb-hidden{width:44px;height:44px;margin:0;clip:auto;overflow:visible;left:-12px;top:50%;transform:translateY(-50%);opacity:0;cursor:pointer;z-index:1}.cb-wrap.cb-disabled .cb-hidden{cursor:not-allowed}.cb-wrap{min-height:44px}.cb-options:not(.cb-horizontal){gap:0}}.cb-box{flex-shrink:0;box-sizing:border-box;width:20px;height:20px;border:2px solid #7c8ba1;border-radius:5px;background:#fff;display:flex;align-items:center;justify-content:center;transition:background .12s,border-color .12s}.cb-box.cb-checked,.cb-box.cb-indeterminate{background:#3b82f6;border-color:#3b82f6}.cb-wrap:hover .cb-box:not(.cb-checked):not(.cb-disabled){border-color:#3b82f6}@media(max-width:640px),(pointer:coarse){.cb-box{position:relative}.cb-box:after{content:\"\";position:absolute;inset:-12px}}.cb-label{font-size:.875rem;color:#334155;line-height:1.4}.cb-link{color:#2563eb;text-decoration:underline;cursor:pointer;border-radius:2px}.cb-link:hover{color:#1d4ed8}.cb-link:focus-visible{outline:2px solid #3b82f6;outline-offset:2px}\n"],
|
|
493
|
+
dependencies: [{
|
|
494
|
+
kind: "directive",
|
|
495
|
+
type: NgTemplateOutlet,
|
|
496
|
+
selector: "[ngTemplateOutlet]",
|
|
497
|
+
inputs: [
|
|
498
|
+
"ngTemplateOutletContext",
|
|
499
|
+
"ngTemplateOutlet",
|
|
500
|
+
"ngTemplateOutletInjector"
|
|
501
|
+
]
|
|
502
|
+
}],
|
|
503
|
+
changeDetection: i0.ChangeDetectionStrategy.OnPush
|
|
504
|
+
});
|
|
505
|
+
}
|
|
506
|
+
};
|
|
507
|
+
i0.ɵɵngDeclareClassMetadata({
|
|
508
|
+
minVersion: "12.0.0",
|
|
509
|
+
version: "22.2.2",
|
|
510
|
+
ngImport: i0,
|
|
511
|
+
type: CheckboxComponent,
|
|
512
|
+
decorators: [{
|
|
513
|
+
type: Component,
|
|
514
|
+
args: [{
|
|
515
|
+
selector: "ui-checkbox, ui-checkbox-group",
|
|
516
|
+
standalone: true,
|
|
517
|
+
imports: [NgTemplateOutlet],
|
|
518
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
519
|
+
providers: [
|
|
520
|
+
{
|
|
521
|
+
provide: NG_VALUE_ACCESSOR,
|
|
522
|
+
useExisting: forwardRef(() => CheckboxComponent),
|
|
523
|
+
multi: true
|
|
524
|
+
},
|
|
525
|
+
{
|
|
526
|
+
provide: NG_VALIDATORS,
|
|
527
|
+
useExisting: forwardRef(() => CheckboxComponent),
|
|
528
|
+
multi: true
|
|
529
|
+
},
|
|
530
|
+
{
|
|
531
|
+
provide: UiFieldValidity,
|
|
532
|
+
useExisting: forwardRef(() => CheckboxComponent)
|
|
533
|
+
}
|
|
534
|
+
],
|
|
535
|
+
template: `
|
|
536
|
+
@if (groupMode()) {
|
|
537
|
+
<fieldset class="cb-group" [class.cb-indent]="indent()" [class.cb-error]="_activeError()" [disabled]="disabled()"
|
|
538
|
+
[attr.aria-invalid]="_activeError() ? 'true' : null"
|
|
539
|
+
[attr.aria-describedby]="(_activeError() || hint()) ? _descId : null">
|
|
540
|
+
@if (_legend()) {
|
|
541
|
+
<!-- aria-required is not allowed on a fieldset / group, so "required" is part of the legend's text for assistive technology -->
|
|
542
|
+
<legend class="cb-legend">{{ _legend() }}@if (required()) { <span class="cb-required" aria-hidden="true">*</span><span class="cb-sr-only"> {{ labels.t('common.required') }}</span> }</legend>
|
|
543
|
+
}
|
|
544
|
+
<div class="cb-options" [class.cb-horizontal]="orientation() === 'horizontal'">
|
|
545
|
+
@for (opt of options(); track opt.value; let i = $index) {
|
|
546
|
+
<div class="cb-option">
|
|
547
|
+
<label class="cb-wrap" [class.cb-disabled]="disabled() || opt.disabled">
|
|
548
|
+
<span class="cb-box" [class.cb-checked]="isSelected(opt.value)" [class.cb-disabled]="disabled() || opt.disabled">
|
|
549
|
+
@if (isSelected(opt.value)) {
|
|
550
|
+
<svg width="13" height="13" viewBox="0 0 24 24" fill="none" stroke="#fff" stroke-width="3" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true">
|
|
551
|
+
<path d="M20 6 9 17l-5-5"/>
|
|
552
|
+
</svg>
|
|
553
|
+
}
|
|
554
|
+
</span>
|
|
555
|
+
<input
|
|
556
|
+
type="checkbox"
|
|
557
|
+
class="cb-hidden"
|
|
558
|
+
[checked]="isSelected(opt.value)"
|
|
559
|
+
[attr.value]="opt.value"
|
|
560
|
+
[attr.data-testid]="opt.testId || null"
|
|
561
|
+
[disabled]="disabled() || !!opt.disabled"
|
|
562
|
+
[attr.aria-describedby]="opt.description ? _descId + '-' + i : null"
|
|
563
|
+
(change)="onToggleOption(opt.value, $event)"
|
|
564
|
+
/>
|
|
565
|
+
<span class="cb-label" [attr.data-testid]="opt.labelTestId || null">{{ opt.label }}</span>
|
|
566
|
+
</label>
|
|
567
|
+
@if (opt.description) {
|
|
568
|
+
<p class="cb-desc" [id]="_descId + '-' + i">{{ opt.description }}</p>
|
|
569
|
+
}
|
|
570
|
+
</div>
|
|
571
|
+
}
|
|
572
|
+
</div>
|
|
573
|
+
@if (_activeError()) {
|
|
574
|
+
<p class="cb-desc cb-desc-error cb-group-desc" [id]="_descId" role="alert">{{ _activeError() }}</p>
|
|
575
|
+
} @else if (hint()) {
|
|
576
|
+
<p class="cb-desc cb-group-desc" [id]="_descId">{{ hint() }}</p>
|
|
577
|
+
}
|
|
578
|
+
</fieldset>
|
|
579
|
+
} @else {
|
|
580
|
+
<div class="cb-field" [class.cb-indent]="indent()" [class.cb-error]="_activeError()" [class.cb-has-trailing]="_trailing()">
|
|
581
|
+
<ng-template #labelRow>
|
|
582
|
+
<label class="cb-wrap" [class.cb-disabled]="disabled()">
|
|
583
|
+
<span class="cb-box" [class.cb-checked]="checked()" [class.cb-indeterminate]="indeterminate() && !checked()" [class.cb-disabled]="disabled()">
|
|
584
|
+
@if (checked()) {
|
|
585
|
+
<svg width="13" height="13" viewBox="0 0 24 24" fill="none" stroke="#fff" stroke-width="3" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true">
|
|
586
|
+
<path d="M20 6 9 17l-5-5"/>
|
|
587
|
+
</svg>
|
|
588
|
+
} @else if (indeterminate()) {
|
|
589
|
+
<svg width="10" height="2" viewBox="0 0 10 2" fill="none" aria-hidden="true">
|
|
590
|
+
<line x1="0" y1="1" x2="10" y2="1" stroke="#fff" stroke-width="2" stroke-linecap="round"/>
|
|
591
|
+
</svg>
|
|
592
|
+
}
|
|
593
|
+
</span>
|
|
594
|
+
<input
|
|
595
|
+
type="checkbox"
|
|
596
|
+
class="cb-hidden"
|
|
597
|
+
[checked]="checked()"
|
|
598
|
+
[disabled]="disabled()"
|
|
599
|
+
[attr.data-testid]="testId() || null"
|
|
600
|
+
[attr.aria-label]="ariaLabel() || null"
|
|
601
|
+
[attr.aria-checked]="indeterminate() && !checked() ? 'mixed' : null"
|
|
602
|
+
[attr.aria-required]="required() ? 'true' : null"
|
|
603
|
+
[attr.aria-invalid]="_activeError() ? 'true' : null"
|
|
604
|
+
[attr.aria-describedby]="_singleDescribedBy()"
|
|
605
|
+
(change)="onToggle($event)"
|
|
606
|
+
/>
|
|
607
|
+
@if (label()) {
|
|
608
|
+
<span class="cb-label" [attr.data-testid]="labelTestId() || null" [attr.role]="headingLevel() ? 'heading' : null" [attr.aria-level]="headingLevel() || null">@if (_labelSegments(); as segments) {@for (seg of segments; track $index) {@if (seg.href) {<a class="cb-link" [attr.href]="seg.href" [attr.target]="seg.newTab ? '_blank' : null" [attr.rel]="seg.newTab ? 'noopener noreferrer' : null" [attr.data-testid]="seg.testId || null">{{ seg.text }}@if (seg.newTab) {<span class="cb-sr-only"> {{ labels.t('dataTable.opensInNewTab') }}</span>}</a>} @else {<ng-container>{{ seg.text }}</ng-container>}}} @else {<ng-container>{{ label() }}</ng-container>}</span>
|
|
609
|
+
}
|
|
610
|
+
<ng-content />
|
|
611
|
+
</label>
|
|
612
|
+
</ng-template>
|
|
613
|
+
@if (_trailing()) {
|
|
614
|
+
<div class="cb-row">
|
|
615
|
+
<ng-container [ngTemplateOutlet]="labelRow" />
|
|
616
|
+
<span class="cb-trailing"><ng-content select="[checkbox-trailing]" /></span>
|
|
617
|
+
</div>
|
|
618
|
+
} @else {
|
|
619
|
+
<ng-container [ngTemplateOutlet]="labelRow" />
|
|
620
|
+
}
|
|
621
|
+
@if (description()) {
|
|
622
|
+
<p class="cb-desc" [id]="_descId + '-d'">{{ description() }}</p>
|
|
623
|
+
}
|
|
624
|
+
@if (_activeError()) {
|
|
625
|
+
<p class="cb-desc cb-desc-error" [id]="_descId" role="alert">{{ _activeError() }}</p>
|
|
626
|
+
} @else if (hint()) {
|
|
627
|
+
<p class="cb-desc" [id]="_descId">{{ hint() }}</p>
|
|
628
|
+
}
|
|
629
|
+
</div>
|
|
630
|
+
}
|
|
631
|
+
`,
|
|
632
|
+
styles: [".cb-field{display:inline-flex;flex-direction:column;gap:4px;vertical-align:top}.cb-group{display:flex;flex-direction:column;gap:8px;margin:0;padding:0;border:0;min-width:0}.cb-legend{padding:0;margin:0 0 8px;font-size:.8125rem;font-weight:600;color:#374151;line-height:1.2}.cb-required{color:#dc2626;margin-left:2px}.cb-sr-only{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.cb-options{display:flex;flex-direction:column;gap:10px}.cb-options.cb-horizontal{flex-direction:row;flex-wrap:wrap;gap:8px 20px}.cb-field.cb-has-trailing{display:flex}.cb-row{display:flex;align-items:center;justify-content:space-between;gap:12px}.cb-trailing{display:inline-flex;align-items:center;flex-shrink:0}.cb-option{display:flex;flex-direction:column;gap:4px}.cb-group-desc{margin-left:0}.cb-indent{margin-left:29px}.cb-desc{margin:0 0 0 29px;font-size:.75rem;line-height:1.4;color:#64748b}.cb-desc-error{color:#dc2626}.cb-error .cb-box:not(.cb-checked){border-color:#ef4444}.cb-wrap{position:relative;vertical-align:top;display:inline-flex;align-items:center;gap:9px;cursor:pointer;-webkit-user-select:none;user-select:none}.cb-wrap.cb-disabled{cursor:not-allowed;opacity:.5}.cb-hidden{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.cb-wrap:has(.cb-hidden:focus-visible) .cb-box{outline:2px solid #3b82f6;outline-offset:2px}@media(pointer:coarse),(max-width:480px){.cb-wrap{position:relative}.cb-hidden{width:44px;height:44px;margin:0;clip:auto;overflow:visible;left:-12px;top:50%;transform:translateY(-50%);opacity:0;cursor:pointer;z-index:1}.cb-wrap.cb-disabled .cb-hidden{cursor:not-allowed}.cb-wrap{min-height:44px}.cb-options:not(.cb-horizontal){gap:0}}.cb-box{flex-shrink:0;box-sizing:border-box;width:20px;height:20px;border:2px solid #7c8ba1;border-radius:5px;background:#fff;display:flex;align-items:center;justify-content:center;transition:background .12s,border-color .12s}.cb-box.cb-checked,.cb-box.cb-indeterminate{background:#3b82f6;border-color:#3b82f6}.cb-wrap:hover .cb-box:not(.cb-checked):not(.cb-disabled){border-color:#3b82f6}@media(max-width:640px),(pointer:coarse){.cb-box{position:relative}.cb-box:after{content:\"\";position:absolute;inset:-12px}}.cb-label{font-size:.875rem;color:#334155;line-height:1.4}.cb-link{color:#2563eb;text-decoration:underline;cursor:pointer;border-radius:2px}.cb-link:hover{color:#1d4ed8}.cb-link:focus-visible{outline:2px solid #3b82f6;outline-offset:2px}\n"]
|
|
633
|
+
}]
|
|
634
|
+
}],
|
|
635
|
+
ctorParameters: () => [],
|
|
636
|
+
propDecorators: {
|
|
637
|
+
label: [{
|
|
638
|
+
type: i0.Input,
|
|
639
|
+
args: [{
|
|
640
|
+
isSignal: true,
|
|
641
|
+
alias: "label",
|
|
642
|
+
required: false
|
|
643
|
+
}]
|
|
644
|
+
}],
|
|
645
|
+
ariaLabel: [{
|
|
646
|
+
type: i0.Input,
|
|
647
|
+
args: [{
|
|
648
|
+
isSignal: true,
|
|
649
|
+
alias: "ariaLabel",
|
|
650
|
+
required: false
|
|
651
|
+
}]
|
|
652
|
+
}],
|
|
653
|
+
testId: [{
|
|
654
|
+
type: i0.Input,
|
|
655
|
+
args: [{
|
|
656
|
+
isSignal: true,
|
|
657
|
+
alias: "testId",
|
|
658
|
+
required: false
|
|
659
|
+
}]
|
|
660
|
+
}],
|
|
661
|
+
labelTestId: [{
|
|
662
|
+
type: i0.Input,
|
|
663
|
+
args: [{
|
|
664
|
+
isSignal: true,
|
|
665
|
+
alias: "labelTestId",
|
|
666
|
+
required: false
|
|
667
|
+
}]
|
|
668
|
+
}],
|
|
669
|
+
headingLevel: [{
|
|
670
|
+
type: i0.Input,
|
|
671
|
+
args: [{
|
|
672
|
+
isSignal: true,
|
|
673
|
+
alias: "headingLevel",
|
|
674
|
+
required: false
|
|
675
|
+
}]
|
|
676
|
+
}],
|
|
677
|
+
indeterminate: [{
|
|
678
|
+
type: i0.Input,
|
|
679
|
+
args: [{
|
|
680
|
+
isSignal: true,
|
|
681
|
+
alias: "indeterminate",
|
|
682
|
+
required: false
|
|
683
|
+
}]
|
|
684
|
+
}],
|
|
685
|
+
checked: [{
|
|
686
|
+
type: i0.Input,
|
|
687
|
+
args: [{
|
|
688
|
+
isSignal: true,
|
|
689
|
+
alias: "checked",
|
|
690
|
+
required: false
|
|
691
|
+
}]
|
|
692
|
+
}, {
|
|
693
|
+
type: i0.Output,
|
|
694
|
+
args: ["checkedChange"]
|
|
695
|
+
}],
|
|
696
|
+
options: [{
|
|
697
|
+
type: i0.Input,
|
|
698
|
+
args: [{
|
|
699
|
+
isSignal: true,
|
|
700
|
+
alias: "options",
|
|
701
|
+
required: false
|
|
702
|
+
}]
|
|
703
|
+
}],
|
|
704
|
+
legend: [{
|
|
705
|
+
type: i0.Input,
|
|
706
|
+
args: [{
|
|
707
|
+
isSignal: true,
|
|
708
|
+
alias: "legend",
|
|
709
|
+
required: false
|
|
710
|
+
}]
|
|
711
|
+
}],
|
|
712
|
+
orientation: [{
|
|
713
|
+
type: i0.Input,
|
|
714
|
+
args: [{
|
|
715
|
+
isSignal: true,
|
|
716
|
+
alias: "orientation",
|
|
717
|
+
required: false
|
|
718
|
+
}]
|
|
719
|
+
}],
|
|
720
|
+
values: [{
|
|
721
|
+
type: i0.Input,
|
|
722
|
+
args: [{
|
|
723
|
+
isSignal: true,
|
|
724
|
+
alias: "values",
|
|
725
|
+
required: false
|
|
726
|
+
}]
|
|
727
|
+
}, {
|
|
728
|
+
type: i0.Output,
|
|
729
|
+
args: ["valuesChange"]
|
|
730
|
+
}],
|
|
731
|
+
labelLinks: [{
|
|
732
|
+
type: i0.Input,
|
|
733
|
+
args: [{
|
|
734
|
+
isSignal: true,
|
|
735
|
+
alias: "labelLinks",
|
|
736
|
+
required: false
|
|
737
|
+
}]
|
|
738
|
+
}],
|
|
739
|
+
description: [{
|
|
740
|
+
type: i0.Input,
|
|
741
|
+
args: [{
|
|
742
|
+
isSignal: true,
|
|
743
|
+
alias: "description",
|
|
744
|
+
required: false
|
|
745
|
+
}]
|
|
746
|
+
}],
|
|
747
|
+
_trailingContent: [{
|
|
748
|
+
type: i0.ContentChild,
|
|
749
|
+
args: [i0.forwardRef(() => CheckboxTrailingDirective), { isSignal: true }]
|
|
750
|
+
}],
|
|
751
|
+
indent: [{
|
|
752
|
+
type: i0.Input,
|
|
753
|
+
args: [{
|
|
754
|
+
isSignal: true,
|
|
755
|
+
alias: "indent",
|
|
756
|
+
required: false
|
|
757
|
+
}]
|
|
758
|
+
}],
|
|
759
|
+
required: [{
|
|
760
|
+
type: i0.Input,
|
|
761
|
+
args: [{
|
|
762
|
+
isSignal: true,
|
|
763
|
+
alias: "required",
|
|
764
|
+
required: false
|
|
765
|
+
}]
|
|
766
|
+
}],
|
|
767
|
+
requiredMessage: [{
|
|
768
|
+
type: i0.Input,
|
|
769
|
+
args: [{
|
|
770
|
+
isSignal: true,
|
|
771
|
+
alias: "requiredMessage",
|
|
772
|
+
required: false
|
|
773
|
+
}]
|
|
774
|
+
}],
|
|
775
|
+
hint: [{
|
|
776
|
+
type: i0.Input,
|
|
777
|
+
args: [{
|
|
778
|
+
isSignal: true,
|
|
779
|
+
alias: "hint",
|
|
780
|
+
required: false
|
|
781
|
+
}]
|
|
782
|
+
}],
|
|
783
|
+
error: [{
|
|
784
|
+
type: i0.Input,
|
|
785
|
+
args: [{
|
|
786
|
+
isSignal: true,
|
|
787
|
+
alias: "error",
|
|
788
|
+
required: false
|
|
789
|
+
}]
|
|
790
|
+
}],
|
|
791
|
+
showErrors: [{
|
|
792
|
+
type: i0.Input,
|
|
793
|
+
args: [{
|
|
794
|
+
isSignal: true,
|
|
795
|
+
alias: "showErrors",
|
|
796
|
+
required: false
|
|
797
|
+
}]
|
|
798
|
+
}],
|
|
799
|
+
invalidChange: [{
|
|
800
|
+
type: i0.Output,
|
|
801
|
+
args: ["invalidChange"]
|
|
802
|
+
}],
|
|
803
|
+
_disabledInput: [{
|
|
804
|
+
type: i0.Input,
|
|
805
|
+
args: [{
|
|
806
|
+
isSignal: true,
|
|
807
|
+
alias: "disabled",
|
|
808
|
+
required: false
|
|
809
|
+
}]
|
|
810
|
+
}]
|
|
811
|
+
}
|
|
812
|
+
});
|
|
813
|
+
export { CheckboxComponent, CheckboxTrailingDirective };
|
|
814
|
+
|
|
815
|
+
//# sourceMappingURL=forgeroute-ui-checkbox.mjs.map
|