@4sh/ui-kit 0.1.1 → 0.2.0
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/README.fr.md +10 -8
- package/README.md +10 -8
- package/collection.json +20 -0
- package/fesm2022/{4sh-ui-kit-ui-button-split.mjs → 4sh-ui-kit-actions-ui-button-split.mjs} +6 -6
- package/fesm2022/4sh-ui-kit-actions-ui-button-split.mjs.map +1 -0
- package/fesm2022/{4sh-ui-kit-ui-button.mjs → 4sh-ui-kit-actions-ui-button.mjs} +5 -5
- package/fesm2022/4sh-ui-kit-actions-ui-button.mjs.map +1 -0
- package/fesm2022/{4sh-ui-kit-ui-link.mjs → 4sh-ui-kit-actions-ui-link.mjs} +5 -5
- package/fesm2022/4sh-ui-kit-actions-ui-link.mjs.map +1 -0
- package/fesm2022/{4sh-ui-kit-ui-icon.mjs → 4sh-ui-kit-base-ui-icon.mjs} +4 -4
- package/fesm2022/4sh-ui-kit-base-ui-icon.mjs.map +1 -0
- package/fesm2022/{4sh-ui-kit-ui-image.mjs → 4sh-ui-kit-base-ui-image.mjs} +5 -5
- package/fesm2022/4sh-ui-kit-base-ui-image.mjs.map +1 -0
- package/fesm2022/{4sh-ui-kit-ui-autocomplete.mjs → 4sh-ui-kit-forms-ui-autocomplete.mjs} +8 -8
- package/fesm2022/4sh-ui-kit-forms-ui-autocomplete.mjs.map +1 -0
- package/fesm2022/{4sh-ui-kit-ui-checkbox.mjs → 4sh-ui-kit-forms-ui-checkbox.mjs} +5 -5
- package/fesm2022/4sh-ui-kit-forms-ui-checkbox.mjs.map +1 -0
- package/fesm2022/{4sh-ui-kit-ui-datepicker.mjs → 4sh-ui-kit-forms-ui-datepicker.mjs} +15 -9
- package/fesm2022/4sh-ui-kit-forms-ui-datepicker.mjs.map +1 -0
- package/fesm2022/{4sh-ui-kit-ui-field.mjs → 4sh-ui-kit-forms-ui-field.mjs} +6 -6
- package/fesm2022/4sh-ui-kit-forms-ui-field.mjs.map +1 -0
- package/fesm2022/{4sh-ui-kit-ui-file-upload.mjs → 4sh-ui-kit-forms-ui-file-upload.mjs} +11 -11
- package/fesm2022/4sh-ui-kit-forms-ui-file-upload.mjs.map +1 -0
- package/fesm2022/{4sh-ui-kit-ui-input-group.mjs → 4sh-ui-kit-forms-ui-input-group.mjs} +7 -7
- package/fesm2022/4sh-ui-kit-forms-ui-input-group.mjs.map +1 -0
- package/fesm2022/{4sh-ui-kit-ui-input-mask.mjs → 4sh-ui-kit-forms-ui-input-mask.mjs} +6 -6
- package/fesm2022/4sh-ui-kit-forms-ui-input-mask.mjs.map +1 -0
- package/fesm2022/{4sh-ui-kit-ui-input-number.mjs → 4sh-ui-kit-forms-ui-input-number.mjs} +6 -6
- package/fesm2022/4sh-ui-kit-forms-ui-input-number.mjs.map +1 -0
- package/fesm2022/{4sh-ui-kit-ui-input-otp.mjs → 4sh-ui-kit-forms-ui-input-otp.mjs} +4 -4
- package/fesm2022/4sh-ui-kit-forms-ui-input-otp.mjs.map +1 -0
- package/fesm2022/{4sh-ui-kit-ui-input-tags.mjs → 4sh-ui-kit-forms-ui-input-tags.mjs} +7 -7
- package/fesm2022/4sh-ui-kit-forms-ui-input-tags.mjs.map +1 -0
- package/fesm2022/{4sh-ui-kit-ui-input.mjs → 4sh-ui-kit-forms-ui-input.mjs} +6 -6
- package/fesm2022/4sh-ui-kit-forms-ui-input.mjs.map +1 -0
- package/fesm2022/{4sh-ui-kit-ui-label.mjs → 4sh-ui-kit-forms-ui-label.mjs} +4 -4
- package/fesm2022/4sh-ui-kit-forms-ui-label.mjs.map +1 -0
- package/fesm2022/{4sh-ui-kit-ui-nudger.mjs → 4sh-ui-kit-forms-ui-nudger.mjs} +5 -5
- package/fesm2022/4sh-ui-kit-forms-ui-nudger.mjs.map +1 -0
- package/fesm2022/{4sh-ui-kit-ui-radio.mjs → 4sh-ui-kit-forms-ui-radio.mjs} +4 -4
- package/fesm2022/4sh-ui-kit-forms-ui-radio.mjs.map +1 -0
- package/fesm2022/{4sh-ui-kit-ui-rating.mjs → 4sh-ui-kit-forms-ui-rating.mjs} +5 -5
- package/fesm2022/4sh-ui-kit-forms-ui-rating.mjs.map +1 -0
- package/fesm2022/{4sh-ui-kit-ui-segment-control.mjs → 4sh-ui-kit-forms-ui-segment-control.mjs} +5 -5
- package/fesm2022/4sh-ui-kit-forms-ui-segment-control.mjs.map +1 -0
- package/fesm2022/{4sh-ui-kit-ui-select.mjs → 4sh-ui-kit-forms-ui-select.mjs} +7 -7
- package/fesm2022/4sh-ui-kit-forms-ui-select.mjs.map +1 -0
- package/fesm2022/{4sh-ui-kit-ui-slider.mjs → 4sh-ui-kit-forms-ui-slider.mjs} +4 -4
- package/fesm2022/4sh-ui-kit-forms-ui-slider.mjs.map +1 -0
- package/fesm2022/{4sh-ui-kit-ui-textarea.mjs → 4sh-ui-kit-forms-ui-textarea.mjs} +5 -5
- package/fesm2022/4sh-ui-kit-forms-ui-textarea.mjs.map +1 -0
- package/fesm2022/{4sh-ui-kit-ui-toggle.mjs → 4sh-ui-kit-forms-ui-toggle.mjs} +4 -4
- package/fesm2022/4sh-ui-kit-forms-ui-toggle.mjs.map +1 -0
- package/fesm2022/4sh-ui-kit-forms.mjs +28 -11
- package/fesm2022/4sh-ui-kit-forms.mjs.map +1 -1
- package/fesm2022/{4sh-ui-kit-ui-accordion.mjs → 4sh-ui-kit-informative-ui-accordion.mjs} +15 -15
- package/fesm2022/4sh-ui-kit-informative-ui-accordion.mjs.map +1 -0
- package/fesm2022/{4sh-ui-kit-ui-alert.mjs → 4sh-ui-kit-informative-ui-alert.mjs} +5 -5
- package/fesm2022/4sh-ui-kit-informative-ui-alert.mjs.map +1 -0
- package/fesm2022/{4sh-ui-kit-ui-avatar-group.mjs → 4sh-ui-kit-informative-ui-avatar-group.mjs} +4 -4
- package/fesm2022/4sh-ui-kit-informative-ui-avatar-group.mjs.map +1 -0
- package/fesm2022/{4sh-ui-kit-ui-avatar.mjs → 4sh-ui-kit-informative-ui-avatar.mjs} +5 -5
- package/fesm2022/4sh-ui-kit-informative-ui-avatar.mjs.map +1 -0
- package/fesm2022/{4sh-ui-kit-ui-badge.mjs → 4sh-ui-kit-informative-ui-badge.mjs} +5 -5
- package/fesm2022/4sh-ui-kit-informative-ui-badge.mjs.map +1 -0
- package/fesm2022/{4sh-ui-kit-ui-chip.mjs → 4sh-ui-kit-informative-ui-chip.mjs} +5 -5
- package/fesm2022/4sh-ui-kit-informative-ui-chip.mjs.map +1 -0
- package/fesm2022/{4sh-ui-kit-ui-empty-state.mjs → 4sh-ui-kit-informative-ui-empty-state.mjs} +11 -11
- package/fesm2022/4sh-ui-kit-informative-ui-empty-state.mjs.map +1 -0
- package/fesm2022/{4sh-ui-kit-ui-helper.mjs → 4sh-ui-kit-informative-ui-helper.mjs} +5 -5
- package/fesm2022/4sh-ui-kit-informative-ui-helper.mjs.map +1 -0
- package/fesm2022/{4sh-ui-kit-ui-progress-bar.mjs → 4sh-ui-kit-informative-ui-progress-bar.mjs} +4 -4
- package/fesm2022/4sh-ui-kit-informative-ui-progress-bar.mjs.map +1 -0
- package/fesm2022/{4sh-ui-kit-ui-read-only.mjs → 4sh-ui-kit-informative-ui-read-only.mjs} +5 -5
- package/fesm2022/4sh-ui-kit-informative-ui-read-only.mjs.map +1 -0
- package/fesm2022/{4sh-ui-kit-ui-separator.mjs → 4sh-ui-kit-informative-ui-separator.mjs} +4 -4
- package/fesm2022/4sh-ui-kit-informative-ui-separator.mjs.map +1 -0
- package/fesm2022/{4sh-ui-kit-ui-skeleton.mjs → 4sh-ui-kit-informative-ui-skeleton.mjs} +4 -4
- package/fesm2022/4sh-ui-kit-informative-ui-skeleton.mjs.map +1 -0
- package/fesm2022/{4sh-ui-kit-ui-spinner.mjs → 4sh-ui-kit-informative-ui-spinner.mjs} +5 -5
- package/fesm2022/4sh-ui-kit-informative-ui-spinner.mjs.map +1 -0
- package/fesm2022/{4sh-ui-kit-ui-tag.mjs → 4sh-ui-kit-informative-ui-tag.mjs} +5 -5
- package/fesm2022/4sh-ui-kit-informative-ui-tag.mjs.map +1 -0
- package/fesm2022/{4sh-ui-kit-ui-toast.mjs → 4sh-ui-kit-informative-ui-toast.mjs} +11 -11
- package/fesm2022/4sh-ui-kit-informative-ui-toast.mjs.map +1 -0
- package/fesm2022/{4sh-ui-kit-ui-tooltip.mjs → 4sh-ui-kit-informative-ui-tooltip.mjs} +7 -7
- package/fesm2022/4sh-ui-kit-informative-ui-tooltip.mjs.map +1 -0
- package/fesm2022/{4sh-ui-kit-ui-card.mjs → 4sh-ui-kit-layout-ui-card.mjs} +16 -16
- package/fesm2022/4sh-ui-kit-layout-ui-card.mjs.map +1 -0
- package/fesm2022/{4sh-ui-kit-ui-drawer.mjs → 4sh-ui-kit-layout-ui-drawer.mjs} +5 -5
- package/fesm2022/4sh-ui-kit-layout-ui-drawer.mjs.map +1 -0
- package/fesm2022/{4sh-ui-kit-ui-modal.mjs → 4sh-ui-kit-layout-ui-modal.mjs} +5 -5
- package/fesm2022/4sh-ui-kit-layout-ui-modal.mjs.map +1 -0
- package/fesm2022/{4sh-ui-kit-ui-popover.mjs → 4sh-ui-kit-layout-ui-popover.mjs} +4 -4
- package/fesm2022/4sh-ui-kit-layout-ui-popover.mjs.map +1 -0
- package/fesm2022/4sh-ui-kit-motion.mjs +3 -3
- package/fesm2022/{4sh-ui-kit-ui-breadcrumb.mjs → 4sh-ui-kit-navigation-ui-breadcrumb.mjs} +5 -5
- package/fesm2022/4sh-ui-kit-navigation-ui-breadcrumb.mjs.map +1 -0
- package/fesm2022/{4sh-ui-kit-ui-context-menu.mjs → 4sh-ui-kit-navigation-ui-context-menu.mjs} +5 -5
- package/fesm2022/4sh-ui-kit-navigation-ui-context-menu.mjs.map +1 -0
- package/fesm2022/{4sh-ui-kit-ui-menu.mjs → 4sh-ui-kit-navigation-ui-menu.mjs} +6 -6
- package/fesm2022/4sh-ui-kit-navigation-ui-menu.mjs.map +1 -0
- package/fesm2022/{4sh-ui-kit-ui-sidebar.mjs → 4sh-ui-kit-navigation-ui-sidebar.mjs} +13 -13
- package/fesm2022/4sh-ui-kit-navigation-ui-sidebar.mjs.map +1 -0
- package/fesm2022/{4sh-ui-kit-ui-stepper.mjs → 4sh-ui-kit-navigation-ui-stepper.mjs} +20 -20
- package/fesm2022/4sh-ui-kit-navigation-ui-stepper.mjs.map +1 -0
- package/fesm2022/{4sh-ui-kit-ui-tabs.mjs → 4sh-ui-kit-navigation-ui-tabs.mjs} +26 -20
- package/fesm2022/4sh-ui-kit-navigation-ui-tabs.mjs.map +1 -0
- package/fesm2022/{4sh-ui-kit-ui-paginator.mjs → 4sh-ui-kit-table-ui-paginator.mjs} +6 -6
- package/fesm2022/4sh-ui-kit-table-ui-paginator.mjs.map +1 -0
- package/fesm2022/{4sh-ui-kit-ui-table.mjs → 4sh-ui-kit-table-ui-table.mjs} +40 -40
- package/fesm2022/4sh-ui-kit-table-ui-table.mjs.map +1 -0
- package/fesm2022/4sh-ui-kit-theming.mjs +6 -6
- package/fesm2022/4sh-ui-kit.mjs +1 -1
- package/fesm2022/4sh-ui-kit.mjs.map +1 -1
- package/package.json +179 -175
- package/schematics/index.cjs +76 -0
- package/schematics/schema-add.json +19 -0
- package/schematics/schema-ng-add.json +13 -0
- package/schematics/schema-update.json +13 -0
- package/types/{4sh-ui-kit-ui-button-split.d.ts → 4sh-ui-kit-actions-ui-button-split.d.ts} +2 -2
- package/types/{4sh-ui-kit-ui-autocomplete.d.ts → 4sh-ui-kit-forms-ui-autocomplete.d.ts} +1 -1
- package/types/{4sh-ui-kit-ui-file-upload.d.ts → 4sh-ui-kit-forms-ui-file-upload.d.ts} +1 -1
- package/types/{4sh-ui-kit-ui-input-mask.d.ts → 4sh-ui-kit-forms-ui-input-mask.d.ts} +1 -1
- package/types/{4sh-ui-kit-ui-input-tags.d.ts → 4sh-ui-kit-forms-ui-input-tags.d.ts} +1 -1
- package/types/{4sh-ui-kit-ui-input.d.ts → 4sh-ui-kit-forms-ui-input.d.ts} +1 -1
- package/types/{4sh-ui-kit-ui-nudger.d.ts → 4sh-ui-kit-forms-ui-nudger.d.ts} +1 -1
- package/types/{4sh-ui-kit-ui-rating.d.ts → 4sh-ui-kit-forms-ui-rating.d.ts} +1 -1
- package/types/{4sh-ui-kit-ui-select.d.ts → 4sh-ui-kit-forms-ui-select.d.ts} +1 -1
- package/types/4sh-ui-kit-forms.d.ts +2 -1
- package/types/{4sh-ui-kit-ui-avatar.d.ts → 4sh-ui-kit-informative-ui-avatar.d.ts} +1 -1
- package/types/{4sh-ui-kit-ui-badge.d.ts → 4sh-ui-kit-informative-ui-badge.d.ts} +1 -1
- package/types/{4sh-ui-kit-ui-chip.d.ts → 4sh-ui-kit-informative-ui-chip.d.ts} +1 -1
- package/types/{4sh-ui-kit-ui-empty-state.d.ts → 4sh-ui-kit-informative-ui-empty-state.d.ts} +1 -1
- package/types/{4sh-ui-kit-ui-spinner.d.ts → 4sh-ui-kit-informative-ui-spinner.d.ts} +1 -1
- package/types/{4sh-ui-kit-ui-tag.d.ts → 4sh-ui-kit-informative-ui-tag.d.ts} +1 -1
- package/types/{4sh-ui-kit-ui-context-menu.d.ts → 4sh-ui-kit-navigation-ui-context-menu.d.ts} +1 -1
- package/types/{4sh-ui-kit-ui-tabs.d.ts → 4sh-ui-kit-navigation-ui-tabs.d.ts} +5 -1
- package/types/{4sh-ui-kit-ui-table.d.ts → 4sh-ui-kit-table-ui-table.d.ts} +1 -1
- package/fesm2022/4sh-ui-kit-ui-accordion.mjs.map +0 -1
- package/fesm2022/4sh-ui-kit-ui-alert.mjs.map +0 -1
- package/fesm2022/4sh-ui-kit-ui-autocomplete.mjs.map +0 -1
- package/fesm2022/4sh-ui-kit-ui-avatar-group.mjs.map +0 -1
- package/fesm2022/4sh-ui-kit-ui-avatar.mjs.map +0 -1
- package/fesm2022/4sh-ui-kit-ui-badge.mjs.map +0 -1
- package/fesm2022/4sh-ui-kit-ui-breadcrumb.mjs.map +0 -1
- package/fesm2022/4sh-ui-kit-ui-button-split.mjs.map +0 -1
- package/fesm2022/4sh-ui-kit-ui-button.mjs.map +0 -1
- package/fesm2022/4sh-ui-kit-ui-card.mjs.map +0 -1
- package/fesm2022/4sh-ui-kit-ui-checkbox.mjs.map +0 -1
- package/fesm2022/4sh-ui-kit-ui-chip.mjs.map +0 -1
- package/fesm2022/4sh-ui-kit-ui-context-menu.mjs.map +0 -1
- package/fesm2022/4sh-ui-kit-ui-datepicker.mjs.map +0 -1
- package/fesm2022/4sh-ui-kit-ui-drawer.mjs.map +0 -1
- package/fesm2022/4sh-ui-kit-ui-empty-state.mjs.map +0 -1
- package/fesm2022/4sh-ui-kit-ui-field.mjs.map +0 -1
- package/fesm2022/4sh-ui-kit-ui-file-upload.mjs.map +0 -1
- package/fesm2022/4sh-ui-kit-ui-helper.mjs.map +0 -1
- package/fesm2022/4sh-ui-kit-ui-icon.mjs.map +0 -1
- package/fesm2022/4sh-ui-kit-ui-image.mjs.map +0 -1
- package/fesm2022/4sh-ui-kit-ui-input-group.mjs.map +0 -1
- package/fesm2022/4sh-ui-kit-ui-input-mask.mjs.map +0 -1
- package/fesm2022/4sh-ui-kit-ui-input-number.mjs.map +0 -1
- package/fesm2022/4sh-ui-kit-ui-input-otp.mjs.map +0 -1
- package/fesm2022/4sh-ui-kit-ui-input-tags.mjs.map +0 -1
- package/fesm2022/4sh-ui-kit-ui-input.mjs.map +0 -1
- package/fesm2022/4sh-ui-kit-ui-label.mjs.map +0 -1
- package/fesm2022/4sh-ui-kit-ui-link.mjs.map +0 -1
- package/fesm2022/4sh-ui-kit-ui-menu.mjs.map +0 -1
- package/fesm2022/4sh-ui-kit-ui-modal.mjs.map +0 -1
- package/fesm2022/4sh-ui-kit-ui-nudger.mjs.map +0 -1
- package/fesm2022/4sh-ui-kit-ui-paginator.mjs.map +0 -1
- package/fesm2022/4sh-ui-kit-ui-popover.mjs.map +0 -1
- package/fesm2022/4sh-ui-kit-ui-progress-bar.mjs.map +0 -1
- package/fesm2022/4sh-ui-kit-ui-radio.mjs.map +0 -1
- package/fesm2022/4sh-ui-kit-ui-rating.mjs.map +0 -1
- package/fesm2022/4sh-ui-kit-ui-read-only.mjs.map +0 -1
- package/fesm2022/4sh-ui-kit-ui-segment-control.mjs.map +0 -1
- package/fesm2022/4sh-ui-kit-ui-select.mjs.map +0 -1
- package/fesm2022/4sh-ui-kit-ui-separator.mjs.map +0 -1
- package/fesm2022/4sh-ui-kit-ui-sidebar.mjs.map +0 -1
- package/fesm2022/4sh-ui-kit-ui-skeleton.mjs.map +0 -1
- package/fesm2022/4sh-ui-kit-ui-slider.mjs.map +0 -1
- package/fesm2022/4sh-ui-kit-ui-spinner.mjs.map +0 -1
- package/fesm2022/4sh-ui-kit-ui-stepper.mjs.map +0 -1
- package/fesm2022/4sh-ui-kit-ui-table.mjs.map +0 -1
- package/fesm2022/4sh-ui-kit-ui-tabs.mjs.map +0 -1
- package/fesm2022/4sh-ui-kit-ui-tag.mjs.map +0 -1
- package/fesm2022/4sh-ui-kit-ui-textarea.mjs.map +0 -1
- package/fesm2022/4sh-ui-kit-ui-toast.mjs.map +0 -1
- package/fesm2022/4sh-ui-kit-ui-toggle.mjs.map +0 -1
- package/fesm2022/4sh-ui-kit-ui-tooltip.mjs.map +0 -1
- /package/types/{4sh-ui-kit-ui-button.d.ts → 4sh-ui-kit-actions-ui-button.d.ts} +0 -0
- /package/types/{4sh-ui-kit-ui-link.d.ts → 4sh-ui-kit-actions-ui-link.d.ts} +0 -0
- /package/types/{4sh-ui-kit-ui-icon.d.ts → 4sh-ui-kit-base-ui-icon.d.ts} +0 -0
- /package/types/{4sh-ui-kit-ui-image.d.ts → 4sh-ui-kit-base-ui-image.d.ts} +0 -0
- /package/types/{4sh-ui-kit-ui-checkbox.d.ts → 4sh-ui-kit-forms-ui-checkbox.d.ts} +0 -0
- /package/types/{4sh-ui-kit-ui-datepicker.d.ts → 4sh-ui-kit-forms-ui-datepicker.d.ts} +0 -0
- /package/types/{4sh-ui-kit-ui-field.d.ts → 4sh-ui-kit-forms-ui-field.d.ts} +0 -0
- /package/types/{4sh-ui-kit-ui-input-group.d.ts → 4sh-ui-kit-forms-ui-input-group.d.ts} +0 -0
- /package/types/{4sh-ui-kit-ui-input-number.d.ts → 4sh-ui-kit-forms-ui-input-number.d.ts} +0 -0
- /package/types/{4sh-ui-kit-ui-input-otp.d.ts → 4sh-ui-kit-forms-ui-input-otp.d.ts} +0 -0
- /package/types/{4sh-ui-kit-ui-label.d.ts → 4sh-ui-kit-forms-ui-label.d.ts} +0 -0
- /package/types/{4sh-ui-kit-ui-radio.d.ts → 4sh-ui-kit-forms-ui-radio.d.ts} +0 -0
- /package/types/{4sh-ui-kit-ui-segment-control.d.ts → 4sh-ui-kit-forms-ui-segment-control.d.ts} +0 -0
- /package/types/{4sh-ui-kit-ui-slider.d.ts → 4sh-ui-kit-forms-ui-slider.d.ts} +0 -0
- /package/types/{4sh-ui-kit-ui-textarea.d.ts → 4sh-ui-kit-forms-ui-textarea.d.ts} +0 -0
- /package/types/{4sh-ui-kit-ui-toggle.d.ts → 4sh-ui-kit-forms-ui-toggle.d.ts} +0 -0
- /package/types/{4sh-ui-kit-ui-accordion.d.ts → 4sh-ui-kit-informative-ui-accordion.d.ts} +0 -0
- /package/types/{4sh-ui-kit-ui-alert.d.ts → 4sh-ui-kit-informative-ui-alert.d.ts} +0 -0
- /package/types/{4sh-ui-kit-ui-avatar-group.d.ts → 4sh-ui-kit-informative-ui-avatar-group.d.ts} +0 -0
- /package/types/{4sh-ui-kit-ui-helper.d.ts → 4sh-ui-kit-informative-ui-helper.d.ts} +0 -0
- /package/types/{4sh-ui-kit-ui-progress-bar.d.ts → 4sh-ui-kit-informative-ui-progress-bar.d.ts} +0 -0
- /package/types/{4sh-ui-kit-ui-read-only.d.ts → 4sh-ui-kit-informative-ui-read-only.d.ts} +0 -0
- /package/types/{4sh-ui-kit-ui-separator.d.ts → 4sh-ui-kit-informative-ui-separator.d.ts} +0 -0
- /package/types/{4sh-ui-kit-ui-skeleton.d.ts → 4sh-ui-kit-informative-ui-skeleton.d.ts} +0 -0
- /package/types/{4sh-ui-kit-ui-toast.d.ts → 4sh-ui-kit-informative-ui-toast.d.ts} +0 -0
- /package/types/{4sh-ui-kit-ui-tooltip.d.ts → 4sh-ui-kit-informative-ui-tooltip.d.ts} +0 -0
- /package/types/{4sh-ui-kit-ui-card.d.ts → 4sh-ui-kit-layout-ui-card.d.ts} +0 -0
- /package/types/{4sh-ui-kit-ui-drawer.d.ts → 4sh-ui-kit-layout-ui-drawer.d.ts} +0 -0
- /package/types/{4sh-ui-kit-ui-modal.d.ts → 4sh-ui-kit-layout-ui-modal.d.ts} +0 -0
- /package/types/{4sh-ui-kit-ui-popover.d.ts → 4sh-ui-kit-layout-ui-popover.d.ts} +0 -0
- /package/types/{4sh-ui-kit-ui-breadcrumb.d.ts → 4sh-ui-kit-navigation-ui-breadcrumb.d.ts} +0 -0
- /package/types/{4sh-ui-kit-ui-menu.d.ts → 4sh-ui-kit-navigation-ui-menu.d.ts} +0 -0
- /package/types/{4sh-ui-kit-ui-sidebar.d.ts → 4sh-ui-kit-navigation-ui-sidebar.d.ts} +0 -0
- /package/types/{4sh-ui-kit-ui-stepper.d.ts → 4sh-ui-kit-navigation-ui-stepper.d.ts} +0 -0
- /package/types/{4sh-ui-kit-ui-paginator.d.ts → 4sh-ui-kit-table-ui-paginator.d.ts} +0 -0
|
@@ -6,9 +6,9 @@ import * as i1 from '@angular/cdk/overlay';
|
|
|
6
6
|
import { OverlayModule } from '@angular/cdk/overlay';
|
|
7
7
|
import { CdkVirtualScrollViewport, ScrollingModule } from '@angular/cdk/scrolling';
|
|
8
8
|
import { BaseFormField, formatLabel, dropdownOverlayPositions, createOptionResolver } from '@4sh/ui-kit/forms';
|
|
9
|
-
import { UiField } from '@4sh/ui-kit/ui-field';
|
|
10
|
-
import { UiIcon } from '@4sh/ui-kit/ui-icon';
|
|
11
|
-
import { UiSpinner } from '@4sh/ui-kit/ui-spinner';
|
|
9
|
+
import { UiField } from '@4sh/ui-kit/forms/ui-field';
|
|
10
|
+
import { UiIcon } from '@4sh/ui-kit/base/ui-icon';
|
|
11
|
+
import { UiSpinner } from '@4sh/ui-kit/informative/ui-spinner';
|
|
12
12
|
import { UiMotion } from '@4sh/ui-kit/motion';
|
|
13
13
|
import { closeOnNavigation } from '@4sh/ui-kit/overlay';
|
|
14
14
|
|
|
@@ -848,10 +848,10 @@ class UiSelect extends BaseFormField {
|
|
|
848
848
|
equals(a, b) {
|
|
849
849
|
return this.resolver.equals(a, b);
|
|
850
850
|
}
|
|
851
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.
|
|
852
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.0.8", type: UiSelect, isStandalone: true, selector: "ui-select", inputs: { options: { classPropertyName: "options", publicName: "options", isSignal: true, isRequired: false, transformFunction: null }, optionLabel: { classPropertyName: "optionLabel", publicName: "optionLabel", isSignal: true, isRequired: false, transformFunction: null }, optionValue: { classPropertyName: "optionValue", publicName: "optionValue", isSignal: true, isRequired: false, transformFunction: null }, optionDisabled: { classPropertyName: "optionDisabled", publicName: "optionDisabled", isSignal: true, isRequired: false, transformFunction: null }, group: { classPropertyName: "group", publicName: "group", isSignal: true, isRequired: false, transformFunction: null }, optionGroupLabel: { classPropertyName: "optionGroupLabel", publicName: "optionGroupLabel", isSignal: true, isRequired: false, transformFunction: null }, optionGroupChildren: { classPropertyName: "optionGroupChildren", publicName: "optionGroupChildren", isSignal: true, isRequired: false, transformFunction: null }, dataKey: { classPropertyName: "dataKey", publicName: "dataKey", isSignal: true, isRequired: false, transformFunction: null }, multiple: { classPropertyName: "multiple", publicName: "multiple", isSignal: true, isRequired: false, transformFunction: null }, checkmark: { classPropertyName: "checkmark", publicName: "checkmark", isSignal: true, isRequired: false, transformFunction: null }, checkbox: { classPropertyName: "checkbox", publicName: "checkbox", isSignal: true, isRequired: false, transformFunction: null }, maxSelectedLabels: { classPropertyName: "maxSelectedLabels", publicName: "maxSelectedLabels", isSignal: true, isRequired: false, transformFunction: null }, overflowLabel: { classPropertyName: "overflowLabel", publicName: "overflowLabel", isSignal: true, isRequired: false, transformFunction: null }, placeholder: { classPropertyName: "placeholder", publicName: "placeholder", isSignal: true, isRequired: false, transformFunction: null }, showClear: { classPropertyName: "showClear", publicName: "showClear", isSignal: true, isRequired: false, transformFunction: null }, clearAriaLabel: { classPropertyName: "clearAriaLabel", publicName: "clearAriaLabel", isSignal: true, isRequired: false, transformFunction: null }, icon: { classPropertyName: "icon", publicName: "icon", isSignal: true, isRequired: false, transformFunction: null }, filter: { classPropertyName: "filter", publicName: "filter", isSignal: true, isRequired: false, transformFunction: null }, filterPlaceholder: { classPropertyName: "filterPlaceholder", publicName: "filterPlaceholder", isSignal: true, isRequired: false, transformFunction: null }, filterAriaLabel: { classPropertyName: "filterAriaLabel", publicName: "filterAriaLabel", isSignal: true, isRequired: false, transformFunction: null }, filterBy: { classPropertyName: "filterBy", publicName: "filterBy", isSignal: true, isRequired: false, transformFunction: null }, autofocusFilter: { classPropertyName: "autofocusFilter", publicName: "autofocusFilter", isSignal: true, isRequired: false, transformFunction: null }, resetFilterOnHide: { classPropertyName: "resetFilterOnHide", publicName: "resetFilterOnHide", isSignal: true, isRequired: false, transformFunction: null }, emptyMessage: { classPropertyName: "emptyMessage", publicName: "emptyMessage", isSignal: true, isRequired: false, transformFunction: null }, emptyFilterMessage: { classPropertyName: "emptyFilterMessage", publicName: "emptyFilterMessage", isSignal: true, isRequired: false, transformFunction: null }, editable: { classPropertyName: "editable", publicName: "editable", isSignal: true, isRequired: false, transformFunction: null }, loading: { classPropertyName: "loading", publicName: "loading", isSignal: true, isRequired: false, transformFunction: null }, autoOptionFocus: { classPropertyName: "autoOptionFocus", publicName: "autoOptionFocus", isSignal: true, isRequired: false, transformFunction: null }, selectOnFocus: { classPropertyName: "selectOnFocus", publicName: "selectOnFocus", isSignal: true, isRequired: false, transformFunction: null }, focusOnHover: { classPropertyName: "focusOnHover", publicName: "focusOnHover", isSignal: true, isRequired: false, transformFunction: null }, virtualScroll: { classPropertyName: "virtualScroll", publicName: "virtualScroll", isSignal: true, isRequired: false, transformFunction: null }, virtualScrollItemSize: { classPropertyName: "virtualScrollItemSize", publicName: "virtualScrollItemSize", isSignal: true, isRequired: false, transformFunction: null }, lazy: { classPropertyName: "lazy", publicName: "lazy", isSignal: true, isRequired: false, transformFunction: null }, scrollHeight: { classPropertyName: "scrollHeight", publicName: "scrollHeight", isSignal: true, isRequired: false, transformFunction: null }, autoFlip: { classPropertyName: "autoFlip", publicName: "autoFlip", isSignal: true, isRequired: false, transformFunction: null }, panelStyleClass: { classPropertyName: "panelStyleClass", publicName: "panelStyleClass", isSignal: true, isRequired: false, transformFunction: null }, panelWidth: { classPropertyName: "panelWidth", publicName: "panelWidth", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { valueChange: "valueChange", opened: "opened", closed: "closed", cleared: "cleared", filterChange: "filterChange", lazyLoad: "lazyLoad", inputFocus: "inputFocus", inputBlur: "inputBlur" }, providers: [{ provide: NG_VALUE_ACCESSOR, useExisting: forwardRef(() => UiSelect), multi: true }], queries: [{ propertyName: "itemTemplate", first: true, predicate: ["item"], descendants: true, isSignal: true }, { propertyName: "selectedItemTemplate", first: true, predicate: ["selectedItem"], descendants: true, isSignal: true }, { propertyName: "groupTemplate", first: true, predicate: ["group"], descendants: true, isSignal: true }, { propertyName: "headerTemplate", first: true, predicate: ["header"], descendants: true, isSignal: true }, { propertyName: "footerTemplate", first: true, predicate: ["footer"], descendants: true, isSignal: true }, { propertyName: "emptyTemplate", first: true, predicate: ["empty"], descendants: true, isSignal: true }], viewQueries: [{ propertyName: "containerEl", first: true, predicate: ["container"], descendants: true, isSignal: true }, { propertyName: "triggerEl", first: true, predicate: ["trigger"], descendants: true, isSignal: true }, { propertyName: "panelEl", first: true, predicate: ["panel"], descendants: true, isSignal: true }, { propertyName: "filterInputEl", first: true, predicate: ["filterInput"], descendants: true, isSignal: true }, { propertyName: "viewport", first: true, predicate: CdkVirtualScrollViewport, descendants: true, isSignal: true }], usesInheritance: true, ngImport: i0, template: "<!-- One rendered row: group header or option (shared by the plain and virtual lists). -->\n<ng-template #rowTpl let-row>\n @if (row.kind === 'group') {\n <li class=\"ui-select-group\" role=\"presentation\" [class._small]=\"size() === 'small'\">\n @if (groupTemplate(); as tpl) {\n <ng-container [ngTemplateOutlet]=\"tpl\" [ngTemplateOutletContext]=\"{ $implicit: row.original, group: row.original }\" />\n } @else {\n {{ row.label }}\n }\n </li>\n } @else {\n <!-- ARIA combobox/listbox pattern: keyboard and focus are handled by\n the trigger role=\"combobox\" (roving via aria-activedescendant). -->\n <!-- eslint-disable-next-line @angular-eslint/template/click-events-have-key-events, @angular-eslint/template/interactive-supports-focus -->\n <li\n class=\"ui-select-option\"\n role=\"option\"\n [attr.id]=\"row.id\"\n [class._small]=\"size() === 'small'\"\n [class._selected]=\"row.selected\"\n [class._focused]=\"row.index === focusedIndex()\"\n [class._disabled]=\"row.entry.disabled\"\n [attr.aria-selected]=\"row.selected\"\n [attr.aria-disabled]=\"row.entry.disabled || null\"\n [attr.aria-setsize]=\"optionCount()\"\n [attr.aria-posinset]=\"row.index + 1\"\n (mousedown)=\"onOptionMousedown($event)\"\n (click)=\"onOptionClick(row, $event)\"\n (mouseenter)=\"onOptionMouseEnter(row)\"\n >\n @if (checkbox() && multiple()) {\n <!-- Purely visual checkbox: the option itself carries the aria-selected state. -->\n <span class=\"ui-select-checkbox\" [class._checked]=\"row.selected\" aria-hidden=\"true\">\n <ui-icon class=\"ui-select-checkbox-icon\" name=\"check\" size=\"sm\" />\n </span>\n }\n @if (itemTemplate(); as tpl) {\n <ng-container\n [ngTemplateOutlet]=\"tpl\"\n [ngTemplateOutletContext]=\"{ $implicit: row.entry.original, option: row.entry.original, selected: row.selected, index: row.index }\"\n />\n } @else {\n <span class=\"ui-select-option-label\">{{ row.entry.label }}</span>\n }\n @if (checkmark() && row.selected) {\n <ui-icon class=\"ui-select-checkmark\" name=\"check\" [size]=\"iconSize()\" />\n }\n </li>\n }\n</ng-template>\n\n<!-- Options panel (CDK overlay). -->\n<ng-template #panelTpl>\n <div\n #panel\n class=\"ui-select-panel\"\n [class]=\"panelStyleClass()\"\n [class._small]=\"size() === 'small'\"\n [style.width]=\"panelStyleWidth()\"\n [style.min-width]=\"panelStyleMinWidth()\"\n [uiMotion]=\"'slide-down'\"\n #panelMotion=\"uiMotion\"\n motionOnInsert\n >\n @if (headerTemplate(); as tpl) {\n <div class=\"ui-select-header\">\n <ng-container [ngTemplateOutlet]=\"tpl\" />\n </div>\n }\n\n @if (filter()) {\n <div class=\"ui-select-filter\" [class._small]=\"size() === 'small'\">\n <ui-icon class=\"ui-select-filter-icon\" name=\"magnifying-glass\" size=\"sm\" />\n <input\n #filterInput\n type=\"text\"\n class=\"ui-select-filter-input\"\n autocomplete=\"off\"\n role=\"searchbox\"\n [value]=\"filterValue()\"\n [placeholder]=\"filterPlaceholder() ?? ''\"\n [attr.aria-label]=\"filterAriaLabel()\"\n [attr.aria-controls]=\"listboxId()\"\n [attr.aria-activedescendant]=\"activeDescendant()\"\n (input)=\"onFilterInput($event)\"\n (keydown)=\"onFilterKeydown($event)\"\n />\n </div>\n }\n\n @if (virtualScroll()) {\n <cdk-virtual-scroll-viewport\n class=\"ui-select-viewport\"\n [itemSize]=\"virtualScrollItemSize()\"\n [style.height]=\"viewportHeight()\"\n >\n <ul\n class=\"ui-select-list\"\n role=\"listbox\"\n [attr.id]=\"listboxId()\"\n [attr.aria-label]=\"label() || ariaLabel() || null\"\n [attr.aria-multiselectable]=\"multiple() ? 'true' : null\"\n >\n <ng-container *cdkVirtualFor=\"let row of visibleRows(); trackBy: trackRow\">\n <ng-container [ngTemplateOutlet]=\"rowTpl\" [ngTemplateOutletContext]=\"{ $implicit: row }\" />\n </ng-container>\n @if (!visibleRows().length) {\n <ng-container [ngTemplateOutlet]=\"emptyTpl\" />\n }\n </ul>\n </cdk-virtual-scroll-viewport>\n } @else {\n <div class=\"ui-select-scroller\" [class._small]=\"size() === 'small'\" [style.max-height]=\"scrollHeight() || null\">\n <ul\n class=\"ui-select-list\"\n role=\"listbox\"\n [attr.id]=\"listboxId()\"\n [attr.aria-label]=\"label() || ariaLabel() || null\"\n [attr.aria-multiselectable]=\"multiple() ? 'true' : null\"\n >\n @for (row of visibleRows(); track row.key) {\n <ng-container [ngTemplateOutlet]=\"rowTpl\" [ngTemplateOutletContext]=\"{ $implicit: row }\" />\n } @empty {\n <ng-container [ngTemplateOutlet]=\"emptyTpl\" />\n }\n </ul>\n </div>\n }\n\n @if (footerTemplate(); as tpl) {\n <div class=\"ui-select-footer\">\n <ng-container [ngTemplateOutlet]=\"tpl\" />\n </div>\n }\n </div>\n</ng-template>\n\n<!-- Empty state row. -->\n<ng-template #emptyTpl>\n <li class=\"ui-select-empty\" role=\"presentation\">\n @if (emptyTemplate(); as tpl) {\n <ng-container [ngTemplateOutlet]=\"tpl\" />\n } @else {\n {{ emptyLabel() }}\n }\n </li>\n</ng-template>\n\n<!-- Trigger: composed field. Clicking the box opens the panel (backdrop closes it). -->\n<!-- Convenience click on the wrapper: focus and keyboard are carried by\n the inner trigger role=\"combobox\". -->\n<!-- eslint-disable-next-line @angular-eslint/template/click-events-have-key-events, @angular-eslint/template/interactive-supports-focus -->\n<div #container class=\"ui-select\" [class._editable]=\"isEditable()\" (click)=\"onContainerClick($event)\">\n <ui-field\n [label]=\"label()\"\n [for]=\"resolvedId()\"\n [required]=\"required()\"\n [size]=\"size()\"\n [level]=\"effectiveLevel()\"\n [disabled]=\"isDisabled()\"\n [readonly]=\"readonly()\"\n [autoHeight]=\"multiple()\"\n [message]=\"displayMessage()\"\n [messageId]=\"messageId()\"\n >\n @if (isEditable()) {\n <input\n #trigger\n type=\"text\"\n class=\"ui-select-native\"\n [class._small]=\"size() === 'small'\"\n role=\"combobox\"\n aria-haspopup=\"listbox\"\n aria-autocomplete=\"list\"\n [id]=\"resolvedId()\"\n [value]=\"selectedLabel()\"\n [placeholder]=\"placeholder() ?? ''\"\n [disabled]=\"isDisabled()\"\n [readOnly]=\"readonly()\"\n [required]=\"required()\"\n [attr.name]=\"name() || null\"\n [attr.tabindex]=\"tabindex()\"\n [attr.aria-expanded]=\"panelOpen()\"\n [attr.aria-controls]=\"panelOpen() ? listboxId() : null\"\n [attr.aria-activedescendant]=\"activeDescendant()\"\n [attr.aria-label]=\"label() ? null : ariaLabel() || null\"\n [attr.aria-labelledby]=\"ariaLabelledBy() || null\"\n [attr.aria-describedby]=\"displayMessage() ? messageId() : null\"\n [attr.aria-invalid]=\"effectiveLevel() === 'error' ? 'true' : null\"\n (input)=\"onEditableInput($event)\"\n (keydown)=\"onTriggerKeydown($event)\"\n (focus)=\"onTriggerFocus($event)\"\n (blur)=\"onTriggerBlur($event)\"\n />\n } @else {\n <!-- Multiple + #selectedItem: the values (e.g. removable chips) live OUTSIDE the\n combobox button so their own buttons stay valid, interactive HTML. -->\n @if (multiple() && selectedItemTemplate() && hasValue()) {\n <div class=\"ui-select-values\">\n @for (ctx of selectedItemContexts(); track $index) {\n <ng-container [ngTemplateOutlet]=\"selectedItemTemplate()!\" [ngTemplateOutletContext]=\"ctx\" />\n }\n @if (overflowCount() > 0) {\n <span class=\"ui-select-overflow\" [class._small]=\"size() === 'small'\">{{ overflowText() }}</span>\n }\n </div>\n }\n <button\n #trigger\n type=\"button\"\n class=\"ui-select-trigger\"\n [class._small]=\"size() === 'small'\"\n role=\"combobox\"\n aria-haspopup=\"listbox\"\n [id]=\"resolvedId()\"\n [disabled]=\"isDisabled()\"\n [attr.tabindex]=\"tabindex()\"\n [attr.aria-expanded]=\"panelOpen()\"\n [attr.aria-controls]=\"panelOpen() ? listboxId() : null\"\n [attr.aria-activedescendant]=\"activeDescendant()\"\n [attr.aria-label]=\"label() ? null : ariaLabel() || null\"\n [attr.aria-labelledby]=\"ariaLabelledBy() || null\"\n [attr.aria-describedby]=\"displayMessage() ? messageId() : null\"\n [attr.aria-required]=\"required() ? 'true' : null\"\n [attr.aria-invalid]=\"effectiveLevel() === 'error' ? 'true' : null\"\n (keydown)=\"onTriggerKeydown($event)\"\n (focus)=\"onTriggerFocus($event)\"\n (blur)=\"onTriggerBlur($event)\"\n >\n @if (multiple() && selectedItemTemplate() && hasValue()) {\n <!-- Accessible value of the combobox (the visual value is the chips next to it). -->\n <span class=\"ui-select-sr\">{{ selectedLabel() }}</span>\n } @else if (!multiple() && selectedItemTemplate() && hasValue()) {\n <ng-container [ngTemplateOutlet]=\"selectedItemTemplate()!\" [ngTemplateOutletContext]=\"selectedItemContexts()[0]\" />\n } @else if (hasValue()) {\n <span class=\"ui-select-value\" [class._wrap]=\"multiple()\">{{ selectedLabel() }}</span>\n } @else {\n <span class=\"ui-select-placeholder\">{{ placeholder() ?? '' }}</span>\n }\n </button>\n }\n\n @if (showClearButton()) {\n <button\n uiFieldSuffix\n type=\"button\"\n class=\"ui-select-clear\"\n [attr.aria-label]=\"clearAriaLabel()\"\n (click)=\"onClearClick($event)\"\n >\n <ui-icon name=\"xmark\" [size]=\"iconSize()\" />\n </button>\n }\n\n @if (loading()) {\n <ui-spinner uiFieldSuffix class=\"ui-select-loading\" size=\"small\" orientation=\"horizontal\" ariaLabel=\"Chargement des options\" />\n } @else {\n <ui-icon\n uiFieldSuffix\n class=\"ui-select-chevron\"\n [class._open]=\"panelOpen()\"\n [class._disabled]=\"isDisabled()\"\n [name]=\"icon()\"\n [size]=\"iconSize()\"\n />\n }\n </ui-field>\n</div>\n\n<ng-template\n cdkConnectedOverlay\n [cdkConnectedOverlayOrigin]=\"overlayOrigin()!\"\n [cdkConnectedOverlayOpen]=\"panelOpen()\"\n [cdkConnectedOverlayPositions]=\"overlayPositions()\"\n [cdkConnectedOverlayHasBackdrop]=\"true\"\n cdkConnectedOverlayBackdropClass=\"cdk-overlay-transparent-backdrop\"\n (backdropClick)=\"close(false)\"\n (overlayOutsideClick)=\"close(false)\"\n (detach)=\"close(false)\"\n>\n <ng-container [ngTemplateOutlet]=\"panelTpl\" />\n</ng-template>\n", styles: [".ui-select{display:block;cursor:pointer;--ui-field-box-cursor: pointer}.ui-select._editable{--ui-field-box-cursor: text}.ui-select-trigger{display:flex;align-items:center;flex:1 1 auto;align-self:stretch;min-width:0;margin:0;padding:0;border:none;border-radius:inherit;background:transparent;outline:none;text-align:left;font-family:var(--fontfamily-base);font-size:var(--size-typography-text-default);color:var(--form-high-content-default);cursor:pointer}.ui-select-trigger:first-child{padding-inline-start:var(--units-md)}.ui-select-trigger:last-child{padding-inline-end:var(--units-md)}.ui-select-trigger._small{font-size:var(--size-typography-text-md)}.ui-select-trigger:disabled{cursor:not-allowed;color:var(--form-high-content-disabled)}.ui-select-value,.ui-select-placeholder{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ui-select-placeholder{color:var(--form-low-content-default)}.ui-select-value._wrap{overflow:visible;text-overflow:clip;white-space:normal;overflow-wrap:anywhere}.ui-select-values{display:flex;align-items:center;flex-wrap:wrap;gap:var(--units-xs);min-width:0}.ui-select-overflow{flex-shrink:0;font-family:var(--fontfamily-base);font-size:var(--size-typography-text-md);color:var(--form-low-content-default);white-space:nowrap}.ui-select-overflow._small{font-size:var(--size-typography-text-sm)}.ui-select-sr{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}.ui-select-native{flex:1 1 auto;align-self:stretch;min-width:0;margin:0;padding:0;border:none;border-radius:inherit;background:transparent;outline:none;font-family:var(--fontfamily-base);font-size:var(--size-typography-text-default);color:var(--form-high-content-default)}.ui-select-native:first-child{padding-inline-start:var(--units-md)}.ui-select-native:last-child{padding-inline-end:var(--units-md)}.ui-select-native::placeholder{color:var(--form-low-content-default);opacity:1}.ui-select-native:disabled{cursor:not-allowed;color:var(--form-high-content-disabled)}.ui-select-native._small{font-size:var(--size-typography-text-md)}.ui-select-clear{display:flex;align-items:center;justify-content:center;box-sizing:border-box;width:var(--size-components-2xs);height:var(--size-components-2xs);flex-shrink:0;margin:0;padding:0;border:none;border-radius:var(--radius-full);background:none;color:var(--form-low-content-default);cursor:pointer;transition:color var(--transition-default) var(--transition-easeinout),box-shadow var(--transition-default) var(--transition-easeinout)}.ui-select-clear:first-child{margin-inline-start:var(--units-md)}.ui-select-clear:last-child{margin-inline-end:var(--units-md)}.ui-select-clear:hover:not(:disabled){color:var(--form-high-content-hover)}.ui-select-clear:focus-visible{outline:none;color:var(--form-high-content-focused);box-shadow:0 0 0 var(--units-2xs) rgb(from var(--form-high-stroke-focused) r g b/50%)}.ui-select-clear:disabled{cursor:not-allowed;color:var(--form-high-content-disabled)}.ui-select-chevron{flex-shrink:0;color:var(--form-low-content-default)}.ui-select-chevron:first-child{margin-inline-start:var(--units-md)}.ui-select-chevron:last-child{margin-inline-end:var(--units-md)}.ui-select-chevron._disabled{color:var(--form-high-content-disabled)}.ui-select-chevron{transition:rotate var(--ui-motion-duration, var(--transition-default)) var(--ui-motion-easing, var(--transition-easeinout)) var(--ui-motion-delay, 0ms);cursor:pointer}.ui-select-chevron._open{rotate:180deg}.ui-select-loading{flex-shrink:0}.ui-select-loading:first-child{margin-inline-start:var(--units-md)}.ui-select-loading:last-child{margin-inline-end:var(--units-md)}.ui-select-panel{border:var(--stroke-default) solid var(--ui-overlay-stroke, var(--form-high-stroke-default));border-radius:var(--ui-overlay-radius, var(--radius-default));background-color:var(--ui-overlay-surface, var(--form-high-surface-default));box-shadow:var(--ui-overlay-shadow, var(--shadow-default-md));font-family:var(--fontfamily-base);display:flex;flex-direction:column;gap:var(--units-xs);box-sizing:border-box;max-width:calc(100vw - var(--units-lg));padding:var(--units-xs)}.ui-select-panel .ui-select-header,.ui-select-panel .ui-select-footer{padding:var(--units-xs) var(--units-sm);font-family:var(--fontfamily-base);font-size:var(--size-typography-text-md);color:var(--form-high-content-default)}.ui-select-panel .ui-select-filter{display:flex;align-items:center;gap:var(--units-sm);box-sizing:border-box;height:var(--size-components-sm);flex-shrink:0;padding:0;border:var(--stroke-sm) solid var(--form-high-stroke-default);border-radius:var(--radius-sm);background-color:var(--form-high-surface-default);transition:border-color var(--transition-default) var(--transition-easeinout)}.ui-select-panel .ui-select-filter:hover:not(:focus-within){border-color:var(--form-high-stroke-hover)}.ui-select-panel .ui-select-filter:focus-within{border-color:var(--form-high-stroke-focused)}.ui-select-panel .ui-select-filter._small{height:var(--size-components-xs)}.ui-select-panel .ui-select-filter-icon{flex-shrink:0;color:var(--form-low-content-default)}.ui-select-panel .ui-select-filter-icon:first-child{margin-inline-start:var(--units-sm)}.ui-select-panel .ui-select-filter-icon:last-child{margin-inline-end:var(--units-sm)}.ui-select-panel .ui-select-filter-input{flex:1 1 auto;align-self:stretch;min-width:0;margin:0;padding:0;border:none;border-radius:inherit;background:transparent;outline:none;font-family:var(--fontfamily-base);font-size:var(--size-typography-text-default);color:var(--form-high-content-default)}.ui-select-panel .ui-select-filter-input:first-child{padding-inline-start:var(--units-sm)}.ui-select-panel .ui-select-filter-input:last-child{padding-inline-end:var(--units-sm)}.ui-select-panel .ui-select-filter-input::placeholder{color:var(--form-low-content-default);opacity:1}.ui-select-panel .ui-select-filter-input:disabled{cursor:not-allowed;color:var(--form-high-content-disabled)}.ui-select-panel .ui-select-filter-input{font-size:var(--size-typography-text-md)}.ui-select-panel .ui-select-scroller{overflow:auto;max-height:19.5rem}.ui-select-panel .ui-select-scroller._small{max-height:16rem}.ui-select-panel .ui-select-viewport{width:100%}.ui-select-panel .ui-select-list{display:flex;flex-direction:column;gap:var(--units-xs);margin:0;padding:0;list-style:none}.ui-select-panel .ui-select-viewport .ui-select-list{gap:0}.ui-select-panel .ui-select-viewport .ui-select-group{height:2.5rem}.ui-select-panel .ui-select-viewport .ui-select-group._small{height:2rem}.ui-select-panel .ui-select-option{display:flex;align-items:center;gap:var(--units-sm);box-sizing:border-box;height:2.5rem;flex-shrink:0;padding:0 var(--units-default);border-radius:var(--radius-sm);font-family:var(--fontfamily-base);font-size:var(--size-typography-text-default);color:var(--form-high-content-default);cursor:pointer;-webkit-user-select:none;user-select:none;transition:background-color var(--transition-default) var(--transition-easeinout),color var(--transition-default) var(--transition-easeinout)}.ui-select-panel .ui-select-option._small{height:2rem;padding:0 var(--units-md);font-size:var(--size-typography-text-md)}.ui-select-panel .ui-select-option._focused,.ui-select-panel .ui-select-option:hover:not(._disabled){background-color:var(--global-background-default-hover)}.ui-select-panel .ui-select-option._selected{background-color:var(--form-high-surface-hover);color:var(--form-high-content-checked)}.ui-select-panel .ui-select-option._disabled{color:var(--form-high-content-disabled);cursor:not-allowed}.ui-select-panel .ui-select-option-label{flex:1 1 auto;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ui-select-panel .ui-select-checkmark{flex-shrink:0;margin-left:auto;color:var(--form-high-content-checked)}.ui-select-panel .ui-select-checkbox{display:flex;align-items:center;justify-content:center;box-sizing:border-box;width:1.125rem;height:1.125rem;flex-shrink:0;border:var(--stroke-default) solid var(--form-high-stroke-default);border-radius:var(--radius-xs);background-color:var(--form-high-surface-default);transition:background-color var(--transition-default) var(--transition-easeinout),border-color var(--transition-default) var(--transition-easeinout)}.ui-select-panel .ui-select-checkbox .ui-select-checkbox-icon{color:var(--form-high-content-checked);opacity:0;transform:scale(.6);transition:opacity var(--transition-default) var(--transition-easeinout),transform var(--transition-default) var(--transition-easeinout)}.ui-select-panel .ui-select-checkbox._checked{border-color:var(--form-high-stroke-checked)}.ui-select-panel .ui-select-checkbox._checked .ui-select-checkbox-icon{opacity:1;transform:scale(1)}.ui-select-panel .ui-select-option._disabled .ui-select-checkbox{border-color:var(--form-high-stroke-disabled);background-color:var(--form-high-surface-disabled)}.ui-select-panel .ui-select-group{display:flex;align-items:center;box-sizing:border-box;height:2rem;flex-shrink:0;padding:0 var(--units-default);font-family:var(--fontfamily-base);font-size:var(--size-typography-text-md);font-weight:var(--weight-bold);color:var(--form-low-content-default)}.ui-select-panel .ui-select-group._small{height:1.5rem;padding:0 var(--units-md);font-size:var(--size-typography-text-sm)}.ui-select-panel .ui-select-empty{display:flex;align-items:center;box-sizing:border-box;min-height:2.5rem;padding:0 var(--units-default);font-family:var(--fontfamily-base);font-size:var(--size-typography-text-default);color:var(--form-low-content-default)}\n"], dependencies: [{ kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "ngmodule", type: OverlayModule }, { kind: "directive", type: i1.CdkConnectedOverlay, selector: "[cdk-connected-overlay], [connected-overlay], [cdkConnectedOverlay]", inputs: ["cdkConnectedOverlayOrigin", "cdkConnectedOverlayPositions", "cdkConnectedOverlayPositionStrategy", "cdkConnectedOverlayOffsetX", "cdkConnectedOverlayOffsetY", "cdkConnectedOverlayWidth", "cdkConnectedOverlayHeight", "cdkConnectedOverlayMinWidth", "cdkConnectedOverlayMinHeight", "cdkConnectedOverlayBackdropClass", "cdkConnectedOverlayPanelClass", "cdkConnectedOverlayViewportMargin", "cdkConnectedOverlayScrollStrategy", "cdkConnectedOverlayOpen", "cdkConnectedOverlayDisableClose", "cdkConnectedOverlayTransformOriginOn", "cdkConnectedOverlayHasBackdrop", "cdkConnectedOverlayLockPosition", "cdkConnectedOverlayFlexibleDimensions", "cdkConnectedOverlayGrowAfterOpen", "cdkConnectedOverlayPush", "cdkConnectedOverlayDisposeOnNavigation", "cdkConnectedOverlayUsePopover", "cdkConnectedOverlayMatchWidth", "cdkConnectedOverlay"], outputs: ["backdropClick", "positionChange", "attach", "detach", "overlayKeydown", "overlayOutsideClick"], exportAs: ["cdkConnectedOverlay"] }, { kind: "directive", type: i1.ɵɵCdkFixedSizeVirtualScroll, selector: "cdk-virtual-scroll-viewport[itemSize]", inputs: ["itemSize", "minBufferPx", "maxBufferPx"] }, { kind: "directive", type: i1.ɵɵCdkVirtualForOf, selector: "[cdkVirtualFor][cdkVirtualForOf]", inputs: ["cdkVirtualForOf", "cdkVirtualForTrackBy", "cdkVirtualForTemplate", "cdkVirtualForTemplateCacheSize"] }, { kind: "component", type: i1.ɵɵCdkVirtualScrollViewport, selector: "cdk-virtual-scroll-viewport", inputs: ["orientation", "appendOnly"], outputs: ["scrolledIndexChange"] }, { kind: "ngmodule", type: ScrollingModule }, { kind: "component", type: UiField, selector: "ui-field", inputs: ["label", "for", "required", "size", "level", "disabled", "readonly", "multiline", "autoHeight", "message", "messageId", "hasFooter"] }, { kind: "component", type: UiIcon, selector: "ui-icon", inputs: ["name", "size", "type", "family", "decorative", "ariaLabel"] }, { kind: "component", type: UiSpinner, selector: "ui-spinner", inputs: ["size", "orientation", "label", "ariaLabel", "spinnerTemplate", "image", "imageAlt", "icon", "strokeWidth", "fill", "animationDuration", "delay"] }, { kind: "directive", type: UiMotion, selector: "[uiMotion]", inputs: ["uiMotion", "motionDuration", "motionDelay", "motionEasing", "motionEnterEasing", "motionLeaveEasing", "motionDistance", "motionScale", "motionDisabled", "motionOnInsert"], exportAs: ["uiMotion"] }] }); }
|
|
851
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: UiSelect, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
852
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.1.1", type: UiSelect, isStandalone: true, selector: "ui-select", inputs: { options: { classPropertyName: "options", publicName: "options", isSignal: true, isRequired: false, transformFunction: null }, optionLabel: { classPropertyName: "optionLabel", publicName: "optionLabel", isSignal: true, isRequired: false, transformFunction: null }, optionValue: { classPropertyName: "optionValue", publicName: "optionValue", isSignal: true, isRequired: false, transformFunction: null }, optionDisabled: { classPropertyName: "optionDisabled", publicName: "optionDisabled", isSignal: true, isRequired: false, transformFunction: null }, group: { classPropertyName: "group", publicName: "group", isSignal: true, isRequired: false, transformFunction: null }, optionGroupLabel: { classPropertyName: "optionGroupLabel", publicName: "optionGroupLabel", isSignal: true, isRequired: false, transformFunction: null }, optionGroupChildren: { classPropertyName: "optionGroupChildren", publicName: "optionGroupChildren", isSignal: true, isRequired: false, transformFunction: null }, dataKey: { classPropertyName: "dataKey", publicName: "dataKey", isSignal: true, isRequired: false, transformFunction: null }, multiple: { classPropertyName: "multiple", publicName: "multiple", isSignal: true, isRequired: false, transformFunction: null }, checkmark: { classPropertyName: "checkmark", publicName: "checkmark", isSignal: true, isRequired: false, transformFunction: null }, checkbox: { classPropertyName: "checkbox", publicName: "checkbox", isSignal: true, isRequired: false, transformFunction: null }, maxSelectedLabels: { classPropertyName: "maxSelectedLabels", publicName: "maxSelectedLabels", isSignal: true, isRequired: false, transformFunction: null }, overflowLabel: { classPropertyName: "overflowLabel", publicName: "overflowLabel", isSignal: true, isRequired: false, transformFunction: null }, placeholder: { classPropertyName: "placeholder", publicName: "placeholder", isSignal: true, isRequired: false, transformFunction: null }, showClear: { classPropertyName: "showClear", publicName: "showClear", isSignal: true, isRequired: false, transformFunction: null }, clearAriaLabel: { classPropertyName: "clearAriaLabel", publicName: "clearAriaLabel", isSignal: true, isRequired: false, transformFunction: null }, icon: { classPropertyName: "icon", publicName: "icon", isSignal: true, isRequired: false, transformFunction: null }, filter: { classPropertyName: "filter", publicName: "filter", isSignal: true, isRequired: false, transformFunction: null }, filterPlaceholder: { classPropertyName: "filterPlaceholder", publicName: "filterPlaceholder", isSignal: true, isRequired: false, transformFunction: null }, filterAriaLabel: { classPropertyName: "filterAriaLabel", publicName: "filterAriaLabel", isSignal: true, isRequired: false, transformFunction: null }, filterBy: { classPropertyName: "filterBy", publicName: "filterBy", isSignal: true, isRequired: false, transformFunction: null }, autofocusFilter: { classPropertyName: "autofocusFilter", publicName: "autofocusFilter", isSignal: true, isRequired: false, transformFunction: null }, resetFilterOnHide: { classPropertyName: "resetFilterOnHide", publicName: "resetFilterOnHide", isSignal: true, isRequired: false, transformFunction: null }, emptyMessage: { classPropertyName: "emptyMessage", publicName: "emptyMessage", isSignal: true, isRequired: false, transformFunction: null }, emptyFilterMessage: { classPropertyName: "emptyFilterMessage", publicName: "emptyFilterMessage", isSignal: true, isRequired: false, transformFunction: null }, editable: { classPropertyName: "editable", publicName: "editable", isSignal: true, isRequired: false, transformFunction: null }, loading: { classPropertyName: "loading", publicName: "loading", isSignal: true, isRequired: false, transformFunction: null }, autoOptionFocus: { classPropertyName: "autoOptionFocus", publicName: "autoOptionFocus", isSignal: true, isRequired: false, transformFunction: null }, selectOnFocus: { classPropertyName: "selectOnFocus", publicName: "selectOnFocus", isSignal: true, isRequired: false, transformFunction: null }, focusOnHover: { classPropertyName: "focusOnHover", publicName: "focusOnHover", isSignal: true, isRequired: false, transformFunction: null }, virtualScroll: { classPropertyName: "virtualScroll", publicName: "virtualScroll", isSignal: true, isRequired: false, transformFunction: null }, virtualScrollItemSize: { classPropertyName: "virtualScrollItemSize", publicName: "virtualScrollItemSize", isSignal: true, isRequired: false, transformFunction: null }, lazy: { classPropertyName: "lazy", publicName: "lazy", isSignal: true, isRequired: false, transformFunction: null }, scrollHeight: { classPropertyName: "scrollHeight", publicName: "scrollHeight", isSignal: true, isRequired: false, transformFunction: null }, autoFlip: { classPropertyName: "autoFlip", publicName: "autoFlip", isSignal: true, isRequired: false, transformFunction: null }, panelStyleClass: { classPropertyName: "panelStyleClass", publicName: "panelStyleClass", isSignal: true, isRequired: false, transformFunction: null }, panelWidth: { classPropertyName: "panelWidth", publicName: "panelWidth", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { valueChange: "valueChange", opened: "opened", closed: "closed", cleared: "cleared", filterChange: "filterChange", lazyLoad: "lazyLoad", inputFocus: "inputFocus", inputBlur: "inputBlur" }, providers: [{ provide: NG_VALUE_ACCESSOR, useExisting: forwardRef(() => UiSelect), multi: true }], queries: [{ propertyName: "itemTemplate", first: true, predicate: ["item"], descendants: true, isSignal: true }, { propertyName: "selectedItemTemplate", first: true, predicate: ["selectedItem"], descendants: true, isSignal: true }, { propertyName: "groupTemplate", first: true, predicate: ["group"], descendants: true, isSignal: true }, { propertyName: "headerTemplate", first: true, predicate: ["header"], descendants: true, isSignal: true }, { propertyName: "footerTemplate", first: true, predicate: ["footer"], descendants: true, isSignal: true }, { propertyName: "emptyTemplate", first: true, predicate: ["empty"], descendants: true, isSignal: true }], viewQueries: [{ propertyName: "containerEl", first: true, predicate: ["container"], descendants: true, isSignal: true }, { propertyName: "triggerEl", first: true, predicate: ["trigger"], descendants: true, isSignal: true }, { propertyName: "panelEl", first: true, predicate: ["panel"], descendants: true, isSignal: true }, { propertyName: "filterInputEl", first: true, predicate: ["filterInput"], descendants: true, isSignal: true }, { propertyName: "viewport", first: true, predicate: CdkVirtualScrollViewport, descendants: true, isSignal: true }], usesInheritance: true, ngImport: i0, template: "<!-- One rendered row: group header or option (shared by the plain and virtual lists). -->\n<ng-template #rowTpl let-row>\n @if (row.kind === 'group') {\n <li class=\"ui-select-group\" role=\"presentation\" [class._small]=\"size() === 'small'\">\n @if (groupTemplate(); as tpl) {\n <ng-container [ngTemplateOutlet]=\"tpl\" [ngTemplateOutletContext]=\"{ $implicit: row.original, group: row.original }\" />\n } @else {\n {{ row.label }}\n }\n </li>\n } @else {\n <!-- ARIA combobox/listbox pattern: keyboard and focus are handled by\n the trigger role=\"combobox\" (roving via aria-activedescendant). -->\n <!-- eslint-disable-next-line @angular-eslint/template/click-events-have-key-events, @angular-eslint/template/interactive-supports-focus -->\n <li\n class=\"ui-select-option\"\n role=\"option\"\n [attr.id]=\"row.id\"\n [class._small]=\"size() === 'small'\"\n [class._selected]=\"row.selected\"\n [class._focused]=\"row.index === focusedIndex()\"\n [class._disabled]=\"row.entry.disabled\"\n [attr.aria-selected]=\"row.selected\"\n [attr.aria-disabled]=\"row.entry.disabled || null\"\n [attr.aria-setsize]=\"optionCount()\"\n [attr.aria-posinset]=\"row.index + 1\"\n (mousedown)=\"onOptionMousedown($event)\"\n (click)=\"onOptionClick(row, $event)\"\n (mouseenter)=\"onOptionMouseEnter(row)\"\n >\n @if (checkbox() && multiple()) {\n <!-- Purely visual checkbox: the option itself carries the aria-selected state. -->\n <span class=\"ui-select-checkbox\" [class._checked]=\"row.selected\" aria-hidden=\"true\">\n <ui-icon class=\"ui-select-checkbox-icon\" name=\"check\" size=\"sm\" />\n </span>\n }\n @if (itemTemplate(); as tpl) {\n <ng-container\n [ngTemplateOutlet]=\"tpl\"\n [ngTemplateOutletContext]=\"{ $implicit: row.entry.original, option: row.entry.original, selected: row.selected, index: row.index }\"\n />\n } @else {\n <span class=\"ui-select-option-label\">{{ row.entry.label }}</span>\n }\n @if (checkmark() && row.selected) {\n <ui-icon class=\"ui-select-checkmark\" name=\"check\" [size]=\"iconSize()\" />\n }\n </li>\n }\n</ng-template>\n\n<!-- Options panel (CDK overlay). -->\n<ng-template #panelTpl>\n <div\n #panel\n class=\"ui-select-panel\"\n [class]=\"panelStyleClass()\"\n [class._small]=\"size() === 'small'\"\n [style.width]=\"panelStyleWidth()\"\n [style.min-width]=\"panelStyleMinWidth()\"\n [uiMotion]=\"'slide-down'\"\n #panelMotion=\"uiMotion\"\n motionOnInsert\n >\n @if (headerTemplate(); as tpl) {\n <div class=\"ui-select-header\">\n <ng-container [ngTemplateOutlet]=\"tpl\" />\n </div>\n }\n\n @if (filter()) {\n <div class=\"ui-select-filter\" [class._small]=\"size() === 'small'\">\n <ui-icon class=\"ui-select-filter-icon\" name=\"magnifying-glass\" size=\"sm\" />\n <input\n #filterInput\n type=\"text\"\n class=\"ui-select-filter-input\"\n autocomplete=\"off\"\n role=\"searchbox\"\n [value]=\"filterValue()\"\n [placeholder]=\"filterPlaceholder() ?? ''\"\n [attr.aria-label]=\"filterAriaLabel()\"\n [attr.aria-controls]=\"listboxId()\"\n [attr.aria-activedescendant]=\"activeDescendant()\"\n (input)=\"onFilterInput($event)\"\n (keydown)=\"onFilterKeydown($event)\"\n />\n </div>\n }\n\n @if (virtualScroll()) {\n <cdk-virtual-scroll-viewport\n class=\"ui-select-viewport\"\n [itemSize]=\"virtualScrollItemSize()\"\n [style.height]=\"viewportHeight()\"\n >\n <ul\n class=\"ui-select-list\"\n role=\"listbox\"\n [attr.id]=\"listboxId()\"\n [attr.aria-label]=\"label() || ariaLabel() || null\"\n [attr.aria-multiselectable]=\"multiple() ? 'true' : null\"\n >\n <ng-container *cdkVirtualFor=\"let row of visibleRows(); trackBy: trackRow\">\n <ng-container [ngTemplateOutlet]=\"rowTpl\" [ngTemplateOutletContext]=\"{ $implicit: row }\" />\n </ng-container>\n @if (!visibleRows().length) {\n <ng-container [ngTemplateOutlet]=\"emptyTpl\" />\n }\n </ul>\n </cdk-virtual-scroll-viewport>\n } @else {\n <div class=\"ui-select-scroller\" [class._small]=\"size() === 'small'\" [style.max-height]=\"scrollHeight() || null\">\n <ul\n class=\"ui-select-list\"\n role=\"listbox\"\n [attr.id]=\"listboxId()\"\n [attr.aria-label]=\"label() || ariaLabel() || null\"\n [attr.aria-multiselectable]=\"multiple() ? 'true' : null\"\n >\n @for (row of visibleRows(); track row.key) {\n <ng-container [ngTemplateOutlet]=\"rowTpl\" [ngTemplateOutletContext]=\"{ $implicit: row }\" />\n } @empty {\n <ng-container [ngTemplateOutlet]=\"emptyTpl\" />\n }\n </ul>\n </div>\n }\n\n @if (footerTemplate(); as tpl) {\n <div class=\"ui-select-footer\">\n <ng-container [ngTemplateOutlet]=\"tpl\" />\n </div>\n }\n </div>\n</ng-template>\n\n<!-- Empty state row. -->\n<ng-template #emptyTpl>\n <li class=\"ui-select-empty\" role=\"presentation\">\n @if (emptyTemplate(); as tpl) {\n <ng-container [ngTemplateOutlet]=\"tpl\" />\n } @else {\n {{ emptyLabel() }}\n }\n </li>\n</ng-template>\n\n<!-- Trigger: composed field. Clicking the box opens the panel (backdrop closes it). -->\n<!-- Convenience click on the wrapper: focus and keyboard are carried by\n the inner trigger role=\"combobox\". -->\n<!-- eslint-disable-next-line @angular-eslint/template/click-events-have-key-events, @angular-eslint/template/interactive-supports-focus -->\n<div #container class=\"ui-select\" [class._editable]=\"isEditable()\" (click)=\"onContainerClick($event)\">\n <ui-field\n [label]=\"label()\"\n [for]=\"resolvedId()\"\n [required]=\"required()\"\n [size]=\"size()\"\n [level]=\"effectiveLevel()\"\n [disabled]=\"isDisabled()\"\n [readonly]=\"readonly()\"\n [autoHeight]=\"multiple()\"\n [message]=\"displayMessage()\"\n [messageId]=\"messageId()\"\n >\n @if (isEditable()) {\n <input\n #trigger\n type=\"text\"\n class=\"ui-select-native\"\n [class._small]=\"size() === 'small'\"\n role=\"combobox\"\n aria-haspopup=\"listbox\"\n aria-autocomplete=\"list\"\n [id]=\"resolvedId()\"\n [value]=\"selectedLabel()\"\n [placeholder]=\"placeholder() ?? ''\"\n [disabled]=\"isDisabled()\"\n [readOnly]=\"readonly()\"\n [required]=\"required()\"\n [attr.name]=\"name() || null\"\n [attr.tabindex]=\"tabindex()\"\n [attr.aria-expanded]=\"panelOpen()\"\n [attr.aria-controls]=\"panelOpen() ? listboxId() : null\"\n [attr.aria-activedescendant]=\"activeDescendant()\"\n [attr.aria-label]=\"label() ? null : ariaLabel() || null\"\n [attr.aria-labelledby]=\"ariaLabelledBy() || null\"\n [attr.aria-describedby]=\"displayMessage() ? messageId() : null\"\n [attr.aria-invalid]=\"effectiveLevel() === 'error' ? 'true' : null\"\n (input)=\"onEditableInput($event)\"\n (keydown)=\"onTriggerKeydown($event)\"\n (focus)=\"onTriggerFocus($event)\"\n (blur)=\"onTriggerBlur($event)\"\n />\n } @else {\n <!-- Multiple + #selectedItem: the values (e.g. removable chips) live OUTSIDE the\n combobox button so their own buttons stay valid, interactive HTML. -->\n @if (multiple() && selectedItemTemplate() && hasValue()) {\n <div class=\"ui-select-values\">\n @for (ctx of selectedItemContexts(); track $index) {\n <ng-container [ngTemplateOutlet]=\"selectedItemTemplate()!\" [ngTemplateOutletContext]=\"ctx\" />\n }\n @if (overflowCount() > 0) {\n <span class=\"ui-select-overflow\" [class._small]=\"size() === 'small'\">{{ overflowText() }}</span>\n }\n </div>\n }\n <button\n #trigger\n type=\"button\"\n class=\"ui-select-trigger\"\n [class._small]=\"size() === 'small'\"\n role=\"combobox\"\n aria-haspopup=\"listbox\"\n [id]=\"resolvedId()\"\n [disabled]=\"isDisabled()\"\n [attr.tabindex]=\"tabindex()\"\n [attr.aria-expanded]=\"panelOpen()\"\n [attr.aria-controls]=\"panelOpen() ? listboxId() : null\"\n [attr.aria-activedescendant]=\"activeDescendant()\"\n [attr.aria-label]=\"label() ? null : ariaLabel() || null\"\n [attr.aria-labelledby]=\"ariaLabelledBy() || null\"\n [attr.aria-describedby]=\"displayMessage() ? messageId() : null\"\n [attr.aria-required]=\"required() ? 'true' : null\"\n [attr.aria-invalid]=\"effectiveLevel() === 'error' ? 'true' : null\"\n (keydown)=\"onTriggerKeydown($event)\"\n (focus)=\"onTriggerFocus($event)\"\n (blur)=\"onTriggerBlur($event)\"\n >\n @if (multiple() && selectedItemTemplate() && hasValue()) {\n <!-- Accessible value of the combobox (the visual value is the chips next to it). -->\n <span class=\"ui-select-sr\">{{ selectedLabel() }}</span>\n } @else if (!multiple() && selectedItemTemplate() && hasValue()) {\n <ng-container [ngTemplateOutlet]=\"selectedItemTemplate()!\" [ngTemplateOutletContext]=\"selectedItemContexts()[0]\" />\n } @else if (hasValue()) {\n <span class=\"ui-select-value\" [class._wrap]=\"multiple()\">{{ selectedLabel() }}</span>\n } @else {\n <span class=\"ui-select-placeholder\">{{ placeholder() ?? '' }}</span>\n }\n </button>\n }\n\n @if (showClearButton()) {\n <button\n uiFieldSuffix\n type=\"button\"\n class=\"ui-select-clear\"\n [attr.aria-label]=\"clearAriaLabel()\"\n (click)=\"onClearClick($event)\"\n >\n <ui-icon name=\"xmark\" [size]=\"iconSize()\" />\n </button>\n }\n\n @if (loading()) {\n <ui-spinner uiFieldSuffix class=\"ui-select-loading\" size=\"small\" orientation=\"horizontal\" ariaLabel=\"Chargement des options\" />\n } @else {\n <ui-icon\n uiFieldSuffix\n class=\"ui-select-chevron\"\n [class._open]=\"panelOpen()\"\n [class._disabled]=\"isDisabled()\"\n [name]=\"icon()\"\n [size]=\"iconSize()\"\n />\n }\n </ui-field>\n</div>\n\n<ng-template\n cdkConnectedOverlay\n [cdkConnectedOverlayOrigin]=\"overlayOrigin()!\"\n [cdkConnectedOverlayOpen]=\"panelOpen()\"\n [cdkConnectedOverlayPositions]=\"overlayPositions()\"\n [cdkConnectedOverlayHasBackdrop]=\"true\"\n cdkConnectedOverlayBackdropClass=\"cdk-overlay-transparent-backdrop\"\n (backdropClick)=\"close(false)\"\n (overlayOutsideClick)=\"close(false)\"\n (detach)=\"close(false)\"\n>\n <ng-container [ngTemplateOutlet]=\"panelTpl\" />\n</ng-template>\n", styles: [".ui-select{display:block;cursor:pointer;--ui-field-box-cursor: pointer}.ui-select._editable{--ui-field-box-cursor: text}.ui-select-trigger{display:flex;align-items:center;flex:1 1 auto;align-self:stretch;min-width:0;margin:0;padding:0;border:none;border-radius:inherit;background:transparent;outline:none;text-align:left;font-family:var(--fontfamily-base);font-size:var(--size-typography-text-default);color:var(--form-high-content-default);cursor:pointer}.ui-select-trigger:first-child{padding-inline-start:var(--units-md)}.ui-select-trigger:last-child{padding-inline-end:var(--units-md)}.ui-select-trigger._small{font-size:var(--size-typography-text-md)}.ui-select-trigger:disabled{cursor:not-allowed;color:var(--form-high-content-disabled)}.ui-select-value,.ui-select-placeholder{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ui-select-placeholder{color:var(--form-low-content-default)}.ui-select-value._wrap{overflow:visible;text-overflow:clip;white-space:normal;overflow-wrap:anywhere}.ui-select-values{display:flex;align-items:center;flex-wrap:wrap;gap:var(--units-xs);min-width:0}.ui-select-overflow{flex-shrink:0;font-family:var(--fontfamily-base);font-size:var(--size-typography-text-md);color:var(--form-low-content-default);white-space:nowrap}.ui-select-overflow._small{font-size:var(--size-typography-text-sm)}.ui-select-sr{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}.ui-select-native{flex:1 1 auto;align-self:stretch;min-width:0;margin:0;padding:0;border:none;border-radius:inherit;background:transparent;outline:none;font-family:var(--fontfamily-base);font-size:var(--size-typography-text-default);color:var(--form-high-content-default)}.ui-select-native:first-child{padding-inline-start:var(--units-md)}.ui-select-native:last-child{padding-inline-end:var(--units-md)}.ui-select-native::placeholder{color:var(--form-low-content-default);opacity:1}.ui-select-native:disabled{cursor:not-allowed;color:var(--form-high-content-disabled)}.ui-select-native._small{font-size:var(--size-typography-text-md)}.ui-select-clear{display:flex;align-items:center;justify-content:center;box-sizing:border-box;width:var(--size-components-2xs);height:var(--size-components-2xs);flex-shrink:0;margin:0;padding:0;border:none;border-radius:var(--radius-full);background:none;color:var(--form-low-content-default);cursor:pointer;transition:color var(--transition-default) var(--transition-easeinout),box-shadow var(--transition-default) var(--transition-easeinout)}.ui-select-clear:first-child{margin-inline-start:var(--units-md)}.ui-select-clear:last-child{margin-inline-end:var(--units-md)}.ui-select-clear:hover:not(:disabled){color:var(--form-high-content-hover)}.ui-select-clear:focus-visible{outline:none;color:var(--form-high-content-focused);box-shadow:0 0 0 var(--units-2xs) rgb(from var(--form-high-stroke-focused) r g b/50%)}.ui-select-clear:disabled{cursor:not-allowed;color:var(--form-high-content-disabled)}.ui-select-chevron{flex-shrink:0;color:var(--form-low-content-default)}.ui-select-chevron:first-child{margin-inline-start:var(--units-md)}.ui-select-chevron:last-child{margin-inline-end:var(--units-md)}.ui-select-chevron._disabled{color:var(--form-high-content-disabled)}.ui-select-chevron{transition:rotate var(--ui-motion-duration, var(--transition-default)) var(--ui-motion-easing, var(--transition-easeinout)) var(--ui-motion-delay, 0ms);cursor:pointer}.ui-select-chevron._open{rotate:180deg}.ui-select-loading{flex-shrink:0}.ui-select-loading:first-child{margin-inline-start:var(--units-md)}.ui-select-loading:last-child{margin-inline-end:var(--units-md)}.ui-select-panel{border:var(--stroke-default) solid var(--ui-overlay-stroke, var(--form-high-stroke-default));border-radius:var(--ui-overlay-radius, var(--radius-default));background-color:var(--ui-overlay-surface, var(--form-high-surface-default));box-shadow:var(--ui-overlay-shadow, var(--shadow-default-md));font-family:var(--fontfamily-base);display:flex;flex-direction:column;gap:var(--units-xs);box-sizing:border-box;max-width:calc(100vw - var(--units-lg));padding:var(--units-xs)}.ui-select-panel .ui-select-header,.ui-select-panel .ui-select-footer{padding:var(--units-xs) var(--units-sm);font-family:var(--fontfamily-base);font-size:var(--size-typography-text-md);color:var(--form-high-content-default)}.ui-select-panel .ui-select-filter{display:flex;align-items:center;gap:var(--units-sm);box-sizing:border-box;height:var(--size-components-sm);flex-shrink:0;padding:0;border:var(--stroke-sm) solid var(--form-high-stroke-default);border-radius:var(--radius-sm);background-color:var(--form-high-surface-default);transition:border-color var(--transition-default) var(--transition-easeinout)}.ui-select-panel .ui-select-filter:hover:not(:focus-within){border-color:var(--form-high-stroke-hover)}.ui-select-panel .ui-select-filter:focus-within{border-color:var(--form-high-stroke-focused)}.ui-select-panel .ui-select-filter._small{height:var(--size-components-xs)}.ui-select-panel .ui-select-filter-icon{flex-shrink:0;color:var(--form-low-content-default)}.ui-select-panel .ui-select-filter-icon:first-child{margin-inline-start:var(--units-sm)}.ui-select-panel .ui-select-filter-icon:last-child{margin-inline-end:var(--units-sm)}.ui-select-panel .ui-select-filter-input{flex:1 1 auto;align-self:stretch;min-width:0;margin:0;padding:0;border:none;border-radius:inherit;background:transparent;outline:none;font-family:var(--fontfamily-base);font-size:var(--size-typography-text-default);color:var(--form-high-content-default)}.ui-select-panel .ui-select-filter-input:first-child{padding-inline-start:var(--units-sm)}.ui-select-panel .ui-select-filter-input:last-child{padding-inline-end:var(--units-sm)}.ui-select-panel .ui-select-filter-input::placeholder{color:var(--form-low-content-default);opacity:1}.ui-select-panel .ui-select-filter-input:disabled{cursor:not-allowed;color:var(--form-high-content-disabled)}.ui-select-panel .ui-select-filter-input{font-size:var(--size-typography-text-md)}.ui-select-panel .ui-select-scroller{overflow:auto;max-height:19.5rem}.ui-select-panel .ui-select-scroller._small{max-height:16rem}.ui-select-panel .ui-select-viewport{width:100%}.ui-select-panel .ui-select-list{display:flex;flex-direction:column;gap:var(--units-xs);margin:0;padding:0;list-style:none}.ui-select-panel .ui-select-viewport .ui-select-list{gap:0}.ui-select-panel .ui-select-viewport .ui-select-group{height:2.5rem}.ui-select-panel .ui-select-viewport .ui-select-group._small{height:2rem}.ui-select-panel .ui-select-option{display:flex;align-items:center;gap:var(--units-sm);box-sizing:border-box;height:2.5rem;flex-shrink:0;padding:0 var(--units-default);border-radius:var(--radius-sm);font-family:var(--fontfamily-base);font-size:var(--size-typography-text-default);color:var(--form-high-content-default);cursor:pointer;-webkit-user-select:none;user-select:none;transition:background-color var(--transition-default) var(--transition-easeinout),color var(--transition-default) var(--transition-easeinout)}.ui-select-panel .ui-select-option._small{height:2rem;padding:0 var(--units-md);font-size:var(--size-typography-text-md)}.ui-select-panel .ui-select-option._focused,.ui-select-panel .ui-select-option:hover:not(._disabled){background-color:var(--global-background-default-hover)}.ui-select-panel .ui-select-option._selected{background-color:var(--form-high-surface-hover);color:var(--form-high-content-checked)}.ui-select-panel .ui-select-option._disabled{color:var(--form-high-content-disabled);cursor:not-allowed}.ui-select-panel .ui-select-option-label{flex:1 1 auto;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ui-select-panel .ui-select-checkmark{flex-shrink:0;margin-left:auto;color:var(--form-high-content-checked)}.ui-select-panel .ui-select-checkbox{display:flex;align-items:center;justify-content:center;box-sizing:border-box;width:1.125rem;height:1.125rem;flex-shrink:0;border:var(--stroke-default) solid var(--form-high-stroke-default);border-radius:var(--radius-xs);background-color:var(--form-high-surface-default);transition:background-color var(--transition-default) var(--transition-easeinout),border-color var(--transition-default) var(--transition-easeinout)}.ui-select-panel .ui-select-checkbox .ui-select-checkbox-icon{color:var(--form-high-content-checked);opacity:0;transform:scale(.6);transition:opacity var(--transition-default) var(--transition-easeinout),transform var(--transition-default) var(--transition-easeinout)}.ui-select-panel .ui-select-checkbox._checked{border-color:var(--form-high-stroke-checked)}.ui-select-panel .ui-select-checkbox._checked .ui-select-checkbox-icon{opacity:1;transform:scale(1)}.ui-select-panel .ui-select-option._disabled .ui-select-checkbox{border-color:var(--form-high-stroke-disabled);background-color:var(--form-high-surface-disabled)}.ui-select-panel .ui-select-group{display:flex;align-items:center;box-sizing:border-box;height:2rem;flex-shrink:0;padding:0 var(--units-default);font-family:var(--fontfamily-base);font-size:var(--size-typography-text-md);font-weight:var(--weight-bold);color:var(--form-low-content-default)}.ui-select-panel .ui-select-group._small{height:1.5rem;padding:0 var(--units-md);font-size:var(--size-typography-text-sm)}.ui-select-panel .ui-select-empty{display:flex;align-items:center;box-sizing:border-box;min-height:2.5rem;padding:0 var(--units-default);font-family:var(--fontfamily-base);font-size:var(--size-typography-text-default);color:var(--form-low-content-default)}\n"], dependencies: [{ kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "ngmodule", type: OverlayModule }, { kind: "directive", type: i1.CdkConnectedOverlay, selector: "[cdk-connected-overlay], [connected-overlay], [cdkConnectedOverlay]", inputs: ["cdkConnectedOverlayOrigin", "cdkConnectedOverlayPositions", "cdkConnectedOverlayPositionStrategy", "cdkConnectedOverlayOffsetX", "cdkConnectedOverlayOffsetY", "cdkConnectedOverlayWidth", "cdkConnectedOverlayHeight", "cdkConnectedOverlayMinWidth", "cdkConnectedOverlayMinHeight", "cdkConnectedOverlayBackdropClass", "cdkConnectedOverlayPanelClass", "cdkConnectedOverlayViewportMargin", "cdkConnectedOverlayScrollStrategy", "cdkConnectedOverlayOpen", "cdkConnectedOverlayDisableClose", "cdkConnectedOverlayTransformOriginOn", "cdkConnectedOverlayHasBackdrop", "cdkConnectedOverlayLockPosition", "cdkConnectedOverlayFlexibleDimensions", "cdkConnectedOverlayGrowAfterOpen", "cdkConnectedOverlayPush", "cdkConnectedOverlayDisposeOnNavigation", "cdkConnectedOverlayUsePopover", "cdkConnectedOverlayMatchWidth", "cdkConnectedOverlay"], outputs: ["backdropClick", "positionChange", "attach", "detach", "overlayKeydown", "overlayOutsideClick"], exportAs: ["cdkConnectedOverlay"] }, { kind: "directive", type: i1.ɵɵCdkFixedSizeVirtualScroll, selector: "cdk-virtual-scroll-viewport[itemSize]", inputs: ["itemSize", "minBufferPx", "maxBufferPx"] }, { kind: "directive", type: i1.ɵɵCdkVirtualForOf, selector: "[cdkVirtualFor][cdkVirtualForOf]", inputs: ["cdkVirtualForOf", "cdkVirtualForTrackBy", "cdkVirtualForTemplate", "cdkVirtualForTemplateCacheSize"] }, { kind: "component", type: i1.ɵɵCdkVirtualScrollViewport, selector: "cdk-virtual-scroll-viewport", inputs: ["orientation", "appendOnly"], outputs: ["scrolledIndexChange"] }, { kind: "ngmodule", type: ScrollingModule }, { kind: "component", type: UiField, selector: "ui-field", inputs: ["label", "for", "required", "size", "level", "disabled", "readonly", "multiline", "autoHeight", "message", "messageId", "hasFooter"] }, { kind: "component", type: UiIcon, selector: "ui-icon", inputs: ["name", "size", "type", "family", "decorative", "ariaLabel"] }, { kind: "component", type: UiSpinner, selector: "ui-spinner", inputs: ["size", "orientation", "label", "ariaLabel", "spinnerTemplate", "image", "imageAlt", "icon", "strokeWidth", "fill", "animationDuration", "delay"] }, { kind: "directive", type: UiMotion, selector: "[uiMotion]", inputs: ["uiMotion", "motionDuration", "motionDelay", "motionEasing", "motionEnterEasing", "motionLeaveEasing", "motionDistance", "motionScale", "motionDisabled", "motionOnInsert"], exportAs: ["uiMotion"] }] }); }
|
|
853
853
|
}
|
|
854
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.
|
|
854
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: UiSelect, decorators: [{
|
|
855
855
|
type: Component,
|
|
856
856
|
args: [{ selector: 'ui-select', imports: [NgTemplateOutlet, OverlayModule, ScrollingModule, UiField, UiIcon, UiSpinner, UiMotion], providers: [{ provide: NG_VALUE_ACCESSOR, useExisting: forwardRef(() => UiSelect), multi: true }], template: "<!-- One rendered row: group header or option (shared by the plain and virtual lists). -->\n<ng-template #rowTpl let-row>\n @if (row.kind === 'group') {\n <li class=\"ui-select-group\" role=\"presentation\" [class._small]=\"size() === 'small'\">\n @if (groupTemplate(); as tpl) {\n <ng-container [ngTemplateOutlet]=\"tpl\" [ngTemplateOutletContext]=\"{ $implicit: row.original, group: row.original }\" />\n } @else {\n {{ row.label }}\n }\n </li>\n } @else {\n <!-- ARIA combobox/listbox pattern: keyboard and focus are handled by\n the trigger role=\"combobox\" (roving via aria-activedescendant). -->\n <!-- eslint-disable-next-line @angular-eslint/template/click-events-have-key-events, @angular-eslint/template/interactive-supports-focus -->\n <li\n class=\"ui-select-option\"\n role=\"option\"\n [attr.id]=\"row.id\"\n [class._small]=\"size() === 'small'\"\n [class._selected]=\"row.selected\"\n [class._focused]=\"row.index === focusedIndex()\"\n [class._disabled]=\"row.entry.disabled\"\n [attr.aria-selected]=\"row.selected\"\n [attr.aria-disabled]=\"row.entry.disabled || null\"\n [attr.aria-setsize]=\"optionCount()\"\n [attr.aria-posinset]=\"row.index + 1\"\n (mousedown)=\"onOptionMousedown($event)\"\n (click)=\"onOptionClick(row, $event)\"\n (mouseenter)=\"onOptionMouseEnter(row)\"\n >\n @if (checkbox() && multiple()) {\n <!-- Purely visual checkbox: the option itself carries the aria-selected state. -->\n <span class=\"ui-select-checkbox\" [class._checked]=\"row.selected\" aria-hidden=\"true\">\n <ui-icon class=\"ui-select-checkbox-icon\" name=\"check\" size=\"sm\" />\n </span>\n }\n @if (itemTemplate(); as tpl) {\n <ng-container\n [ngTemplateOutlet]=\"tpl\"\n [ngTemplateOutletContext]=\"{ $implicit: row.entry.original, option: row.entry.original, selected: row.selected, index: row.index }\"\n />\n } @else {\n <span class=\"ui-select-option-label\">{{ row.entry.label }}</span>\n }\n @if (checkmark() && row.selected) {\n <ui-icon class=\"ui-select-checkmark\" name=\"check\" [size]=\"iconSize()\" />\n }\n </li>\n }\n</ng-template>\n\n<!-- Options panel (CDK overlay). -->\n<ng-template #panelTpl>\n <div\n #panel\n class=\"ui-select-panel\"\n [class]=\"panelStyleClass()\"\n [class._small]=\"size() === 'small'\"\n [style.width]=\"panelStyleWidth()\"\n [style.min-width]=\"panelStyleMinWidth()\"\n [uiMotion]=\"'slide-down'\"\n #panelMotion=\"uiMotion\"\n motionOnInsert\n >\n @if (headerTemplate(); as tpl) {\n <div class=\"ui-select-header\">\n <ng-container [ngTemplateOutlet]=\"tpl\" />\n </div>\n }\n\n @if (filter()) {\n <div class=\"ui-select-filter\" [class._small]=\"size() === 'small'\">\n <ui-icon class=\"ui-select-filter-icon\" name=\"magnifying-glass\" size=\"sm\" />\n <input\n #filterInput\n type=\"text\"\n class=\"ui-select-filter-input\"\n autocomplete=\"off\"\n role=\"searchbox\"\n [value]=\"filterValue()\"\n [placeholder]=\"filterPlaceholder() ?? ''\"\n [attr.aria-label]=\"filterAriaLabel()\"\n [attr.aria-controls]=\"listboxId()\"\n [attr.aria-activedescendant]=\"activeDescendant()\"\n (input)=\"onFilterInput($event)\"\n (keydown)=\"onFilterKeydown($event)\"\n />\n </div>\n }\n\n @if (virtualScroll()) {\n <cdk-virtual-scroll-viewport\n class=\"ui-select-viewport\"\n [itemSize]=\"virtualScrollItemSize()\"\n [style.height]=\"viewportHeight()\"\n >\n <ul\n class=\"ui-select-list\"\n role=\"listbox\"\n [attr.id]=\"listboxId()\"\n [attr.aria-label]=\"label() || ariaLabel() || null\"\n [attr.aria-multiselectable]=\"multiple() ? 'true' : null\"\n >\n <ng-container *cdkVirtualFor=\"let row of visibleRows(); trackBy: trackRow\">\n <ng-container [ngTemplateOutlet]=\"rowTpl\" [ngTemplateOutletContext]=\"{ $implicit: row }\" />\n </ng-container>\n @if (!visibleRows().length) {\n <ng-container [ngTemplateOutlet]=\"emptyTpl\" />\n }\n </ul>\n </cdk-virtual-scroll-viewport>\n } @else {\n <div class=\"ui-select-scroller\" [class._small]=\"size() === 'small'\" [style.max-height]=\"scrollHeight() || null\">\n <ul\n class=\"ui-select-list\"\n role=\"listbox\"\n [attr.id]=\"listboxId()\"\n [attr.aria-label]=\"label() || ariaLabel() || null\"\n [attr.aria-multiselectable]=\"multiple() ? 'true' : null\"\n >\n @for (row of visibleRows(); track row.key) {\n <ng-container [ngTemplateOutlet]=\"rowTpl\" [ngTemplateOutletContext]=\"{ $implicit: row }\" />\n } @empty {\n <ng-container [ngTemplateOutlet]=\"emptyTpl\" />\n }\n </ul>\n </div>\n }\n\n @if (footerTemplate(); as tpl) {\n <div class=\"ui-select-footer\">\n <ng-container [ngTemplateOutlet]=\"tpl\" />\n </div>\n }\n </div>\n</ng-template>\n\n<!-- Empty state row. -->\n<ng-template #emptyTpl>\n <li class=\"ui-select-empty\" role=\"presentation\">\n @if (emptyTemplate(); as tpl) {\n <ng-container [ngTemplateOutlet]=\"tpl\" />\n } @else {\n {{ emptyLabel() }}\n }\n </li>\n</ng-template>\n\n<!-- Trigger: composed field. Clicking the box opens the panel (backdrop closes it). -->\n<!-- Convenience click on the wrapper: focus and keyboard are carried by\n the inner trigger role=\"combobox\". -->\n<!-- eslint-disable-next-line @angular-eslint/template/click-events-have-key-events, @angular-eslint/template/interactive-supports-focus -->\n<div #container class=\"ui-select\" [class._editable]=\"isEditable()\" (click)=\"onContainerClick($event)\">\n <ui-field\n [label]=\"label()\"\n [for]=\"resolvedId()\"\n [required]=\"required()\"\n [size]=\"size()\"\n [level]=\"effectiveLevel()\"\n [disabled]=\"isDisabled()\"\n [readonly]=\"readonly()\"\n [autoHeight]=\"multiple()\"\n [message]=\"displayMessage()\"\n [messageId]=\"messageId()\"\n >\n @if (isEditable()) {\n <input\n #trigger\n type=\"text\"\n class=\"ui-select-native\"\n [class._small]=\"size() === 'small'\"\n role=\"combobox\"\n aria-haspopup=\"listbox\"\n aria-autocomplete=\"list\"\n [id]=\"resolvedId()\"\n [value]=\"selectedLabel()\"\n [placeholder]=\"placeholder() ?? ''\"\n [disabled]=\"isDisabled()\"\n [readOnly]=\"readonly()\"\n [required]=\"required()\"\n [attr.name]=\"name() || null\"\n [attr.tabindex]=\"tabindex()\"\n [attr.aria-expanded]=\"panelOpen()\"\n [attr.aria-controls]=\"panelOpen() ? listboxId() : null\"\n [attr.aria-activedescendant]=\"activeDescendant()\"\n [attr.aria-label]=\"label() ? null : ariaLabel() || null\"\n [attr.aria-labelledby]=\"ariaLabelledBy() || null\"\n [attr.aria-describedby]=\"displayMessage() ? messageId() : null\"\n [attr.aria-invalid]=\"effectiveLevel() === 'error' ? 'true' : null\"\n (input)=\"onEditableInput($event)\"\n (keydown)=\"onTriggerKeydown($event)\"\n (focus)=\"onTriggerFocus($event)\"\n (blur)=\"onTriggerBlur($event)\"\n />\n } @else {\n <!-- Multiple + #selectedItem: the values (e.g. removable chips) live OUTSIDE the\n combobox button so their own buttons stay valid, interactive HTML. -->\n @if (multiple() && selectedItemTemplate() && hasValue()) {\n <div class=\"ui-select-values\">\n @for (ctx of selectedItemContexts(); track $index) {\n <ng-container [ngTemplateOutlet]=\"selectedItemTemplate()!\" [ngTemplateOutletContext]=\"ctx\" />\n }\n @if (overflowCount() > 0) {\n <span class=\"ui-select-overflow\" [class._small]=\"size() === 'small'\">{{ overflowText() }}</span>\n }\n </div>\n }\n <button\n #trigger\n type=\"button\"\n class=\"ui-select-trigger\"\n [class._small]=\"size() === 'small'\"\n role=\"combobox\"\n aria-haspopup=\"listbox\"\n [id]=\"resolvedId()\"\n [disabled]=\"isDisabled()\"\n [attr.tabindex]=\"tabindex()\"\n [attr.aria-expanded]=\"panelOpen()\"\n [attr.aria-controls]=\"panelOpen() ? listboxId() : null\"\n [attr.aria-activedescendant]=\"activeDescendant()\"\n [attr.aria-label]=\"label() ? null : ariaLabel() || null\"\n [attr.aria-labelledby]=\"ariaLabelledBy() || null\"\n [attr.aria-describedby]=\"displayMessage() ? messageId() : null\"\n [attr.aria-required]=\"required() ? 'true' : null\"\n [attr.aria-invalid]=\"effectiveLevel() === 'error' ? 'true' : null\"\n (keydown)=\"onTriggerKeydown($event)\"\n (focus)=\"onTriggerFocus($event)\"\n (blur)=\"onTriggerBlur($event)\"\n >\n @if (multiple() && selectedItemTemplate() && hasValue()) {\n <!-- Accessible value of the combobox (the visual value is the chips next to it). -->\n <span class=\"ui-select-sr\">{{ selectedLabel() }}</span>\n } @else if (!multiple() && selectedItemTemplate() && hasValue()) {\n <ng-container [ngTemplateOutlet]=\"selectedItemTemplate()!\" [ngTemplateOutletContext]=\"selectedItemContexts()[0]\" />\n } @else if (hasValue()) {\n <span class=\"ui-select-value\" [class._wrap]=\"multiple()\">{{ selectedLabel() }}</span>\n } @else {\n <span class=\"ui-select-placeholder\">{{ placeholder() ?? '' }}</span>\n }\n </button>\n }\n\n @if (showClearButton()) {\n <button\n uiFieldSuffix\n type=\"button\"\n class=\"ui-select-clear\"\n [attr.aria-label]=\"clearAriaLabel()\"\n (click)=\"onClearClick($event)\"\n >\n <ui-icon name=\"xmark\" [size]=\"iconSize()\" />\n </button>\n }\n\n @if (loading()) {\n <ui-spinner uiFieldSuffix class=\"ui-select-loading\" size=\"small\" orientation=\"horizontal\" ariaLabel=\"Chargement des options\" />\n } @else {\n <ui-icon\n uiFieldSuffix\n class=\"ui-select-chevron\"\n [class._open]=\"panelOpen()\"\n [class._disabled]=\"isDisabled()\"\n [name]=\"icon()\"\n [size]=\"iconSize()\"\n />\n }\n </ui-field>\n</div>\n\n<ng-template\n cdkConnectedOverlay\n [cdkConnectedOverlayOrigin]=\"overlayOrigin()!\"\n [cdkConnectedOverlayOpen]=\"panelOpen()\"\n [cdkConnectedOverlayPositions]=\"overlayPositions()\"\n [cdkConnectedOverlayHasBackdrop]=\"true\"\n cdkConnectedOverlayBackdropClass=\"cdk-overlay-transparent-backdrop\"\n (backdropClick)=\"close(false)\"\n (overlayOutsideClick)=\"close(false)\"\n (detach)=\"close(false)\"\n>\n <ng-container [ngTemplateOutlet]=\"panelTpl\" />\n</ng-template>\n", styles: [".ui-select{display:block;cursor:pointer;--ui-field-box-cursor: pointer}.ui-select._editable{--ui-field-box-cursor: text}.ui-select-trigger{display:flex;align-items:center;flex:1 1 auto;align-self:stretch;min-width:0;margin:0;padding:0;border:none;border-radius:inherit;background:transparent;outline:none;text-align:left;font-family:var(--fontfamily-base);font-size:var(--size-typography-text-default);color:var(--form-high-content-default);cursor:pointer}.ui-select-trigger:first-child{padding-inline-start:var(--units-md)}.ui-select-trigger:last-child{padding-inline-end:var(--units-md)}.ui-select-trigger._small{font-size:var(--size-typography-text-md)}.ui-select-trigger:disabled{cursor:not-allowed;color:var(--form-high-content-disabled)}.ui-select-value,.ui-select-placeholder{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ui-select-placeholder{color:var(--form-low-content-default)}.ui-select-value._wrap{overflow:visible;text-overflow:clip;white-space:normal;overflow-wrap:anywhere}.ui-select-values{display:flex;align-items:center;flex-wrap:wrap;gap:var(--units-xs);min-width:0}.ui-select-overflow{flex-shrink:0;font-family:var(--fontfamily-base);font-size:var(--size-typography-text-md);color:var(--form-low-content-default);white-space:nowrap}.ui-select-overflow._small{font-size:var(--size-typography-text-sm)}.ui-select-sr{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}.ui-select-native{flex:1 1 auto;align-self:stretch;min-width:0;margin:0;padding:0;border:none;border-radius:inherit;background:transparent;outline:none;font-family:var(--fontfamily-base);font-size:var(--size-typography-text-default);color:var(--form-high-content-default)}.ui-select-native:first-child{padding-inline-start:var(--units-md)}.ui-select-native:last-child{padding-inline-end:var(--units-md)}.ui-select-native::placeholder{color:var(--form-low-content-default);opacity:1}.ui-select-native:disabled{cursor:not-allowed;color:var(--form-high-content-disabled)}.ui-select-native._small{font-size:var(--size-typography-text-md)}.ui-select-clear{display:flex;align-items:center;justify-content:center;box-sizing:border-box;width:var(--size-components-2xs);height:var(--size-components-2xs);flex-shrink:0;margin:0;padding:0;border:none;border-radius:var(--radius-full);background:none;color:var(--form-low-content-default);cursor:pointer;transition:color var(--transition-default) var(--transition-easeinout),box-shadow var(--transition-default) var(--transition-easeinout)}.ui-select-clear:first-child{margin-inline-start:var(--units-md)}.ui-select-clear:last-child{margin-inline-end:var(--units-md)}.ui-select-clear:hover:not(:disabled){color:var(--form-high-content-hover)}.ui-select-clear:focus-visible{outline:none;color:var(--form-high-content-focused);box-shadow:0 0 0 var(--units-2xs) rgb(from var(--form-high-stroke-focused) r g b/50%)}.ui-select-clear:disabled{cursor:not-allowed;color:var(--form-high-content-disabled)}.ui-select-chevron{flex-shrink:0;color:var(--form-low-content-default)}.ui-select-chevron:first-child{margin-inline-start:var(--units-md)}.ui-select-chevron:last-child{margin-inline-end:var(--units-md)}.ui-select-chevron._disabled{color:var(--form-high-content-disabled)}.ui-select-chevron{transition:rotate var(--ui-motion-duration, var(--transition-default)) var(--ui-motion-easing, var(--transition-easeinout)) var(--ui-motion-delay, 0ms);cursor:pointer}.ui-select-chevron._open{rotate:180deg}.ui-select-loading{flex-shrink:0}.ui-select-loading:first-child{margin-inline-start:var(--units-md)}.ui-select-loading:last-child{margin-inline-end:var(--units-md)}.ui-select-panel{border:var(--stroke-default) solid var(--ui-overlay-stroke, var(--form-high-stroke-default));border-radius:var(--ui-overlay-radius, var(--radius-default));background-color:var(--ui-overlay-surface, var(--form-high-surface-default));box-shadow:var(--ui-overlay-shadow, var(--shadow-default-md));font-family:var(--fontfamily-base);display:flex;flex-direction:column;gap:var(--units-xs);box-sizing:border-box;max-width:calc(100vw - var(--units-lg));padding:var(--units-xs)}.ui-select-panel .ui-select-header,.ui-select-panel .ui-select-footer{padding:var(--units-xs) var(--units-sm);font-family:var(--fontfamily-base);font-size:var(--size-typography-text-md);color:var(--form-high-content-default)}.ui-select-panel .ui-select-filter{display:flex;align-items:center;gap:var(--units-sm);box-sizing:border-box;height:var(--size-components-sm);flex-shrink:0;padding:0;border:var(--stroke-sm) solid var(--form-high-stroke-default);border-radius:var(--radius-sm);background-color:var(--form-high-surface-default);transition:border-color var(--transition-default) var(--transition-easeinout)}.ui-select-panel .ui-select-filter:hover:not(:focus-within){border-color:var(--form-high-stroke-hover)}.ui-select-panel .ui-select-filter:focus-within{border-color:var(--form-high-stroke-focused)}.ui-select-panel .ui-select-filter._small{height:var(--size-components-xs)}.ui-select-panel .ui-select-filter-icon{flex-shrink:0;color:var(--form-low-content-default)}.ui-select-panel .ui-select-filter-icon:first-child{margin-inline-start:var(--units-sm)}.ui-select-panel .ui-select-filter-icon:last-child{margin-inline-end:var(--units-sm)}.ui-select-panel .ui-select-filter-input{flex:1 1 auto;align-self:stretch;min-width:0;margin:0;padding:0;border:none;border-radius:inherit;background:transparent;outline:none;font-family:var(--fontfamily-base);font-size:var(--size-typography-text-default);color:var(--form-high-content-default)}.ui-select-panel .ui-select-filter-input:first-child{padding-inline-start:var(--units-sm)}.ui-select-panel .ui-select-filter-input:last-child{padding-inline-end:var(--units-sm)}.ui-select-panel .ui-select-filter-input::placeholder{color:var(--form-low-content-default);opacity:1}.ui-select-panel .ui-select-filter-input:disabled{cursor:not-allowed;color:var(--form-high-content-disabled)}.ui-select-panel .ui-select-filter-input{font-size:var(--size-typography-text-md)}.ui-select-panel .ui-select-scroller{overflow:auto;max-height:19.5rem}.ui-select-panel .ui-select-scroller._small{max-height:16rem}.ui-select-panel .ui-select-viewport{width:100%}.ui-select-panel .ui-select-list{display:flex;flex-direction:column;gap:var(--units-xs);margin:0;padding:0;list-style:none}.ui-select-panel .ui-select-viewport .ui-select-list{gap:0}.ui-select-panel .ui-select-viewport .ui-select-group{height:2.5rem}.ui-select-panel .ui-select-viewport .ui-select-group._small{height:2rem}.ui-select-panel .ui-select-option{display:flex;align-items:center;gap:var(--units-sm);box-sizing:border-box;height:2.5rem;flex-shrink:0;padding:0 var(--units-default);border-radius:var(--radius-sm);font-family:var(--fontfamily-base);font-size:var(--size-typography-text-default);color:var(--form-high-content-default);cursor:pointer;-webkit-user-select:none;user-select:none;transition:background-color var(--transition-default) var(--transition-easeinout),color var(--transition-default) var(--transition-easeinout)}.ui-select-panel .ui-select-option._small{height:2rem;padding:0 var(--units-md);font-size:var(--size-typography-text-md)}.ui-select-panel .ui-select-option._focused,.ui-select-panel .ui-select-option:hover:not(._disabled){background-color:var(--global-background-default-hover)}.ui-select-panel .ui-select-option._selected{background-color:var(--form-high-surface-hover);color:var(--form-high-content-checked)}.ui-select-panel .ui-select-option._disabled{color:var(--form-high-content-disabled);cursor:not-allowed}.ui-select-panel .ui-select-option-label{flex:1 1 auto;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ui-select-panel .ui-select-checkmark{flex-shrink:0;margin-left:auto;color:var(--form-high-content-checked)}.ui-select-panel .ui-select-checkbox{display:flex;align-items:center;justify-content:center;box-sizing:border-box;width:1.125rem;height:1.125rem;flex-shrink:0;border:var(--stroke-default) solid var(--form-high-stroke-default);border-radius:var(--radius-xs);background-color:var(--form-high-surface-default);transition:background-color var(--transition-default) var(--transition-easeinout),border-color var(--transition-default) var(--transition-easeinout)}.ui-select-panel .ui-select-checkbox .ui-select-checkbox-icon{color:var(--form-high-content-checked);opacity:0;transform:scale(.6);transition:opacity var(--transition-default) var(--transition-easeinout),transform var(--transition-default) var(--transition-easeinout)}.ui-select-panel .ui-select-checkbox._checked{border-color:var(--form-high-stroke-checked)}.ui-select-panel .ui-select-checkbox._checked .ui-select-checkbox-icon{opacity:1;transform:scale(1)}.ui-select-panel .ui-select-option._disabled .ui-select-checkbox{border-color:var(--form-high-stroke-disabled);background-color:var(--form-high-surface-disabled)}.ui-select-panel .ui-select-group{display:flex;align-items:center;box-sizing:border-box;height:2rem;flex-shrink:0;padding:0 var(--units-default);font-family:var(--fontfamily-base);font-size:var(--size-typography-text-md);font-weight:var(--weight-bold);color:var(--form-low-content-default)}.ui-select-panel .ui-select-group._small{height:1.5rem;padding:0 var(--units-md);font-size:var(--size-typography-text-sm)}.ui-select-panel .ui-select-empty{display:flex;align-items:center;box-sizing:border-box;min-height:2.5rem;padding:0 var(--units-default);font-family:var(--fontfamily-base);font-size:var(--size-typography-text-default);color:var(--form-low-content-default)}\n"] }]
|
|
857
857
|
}], ctorParameters: () => [], propDecorators: { options: [{ type: i0.Input, args: [{ isSignal: true, alias: "options", required: false }] }], optionLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "optionLabel", required: false }] }], optionValue: [{ type: i0.Input, args: [{ isSignal: true, alias: "optionValue", required: false }] }], optionDisabled: [{ type: i0.Input, args: [{ isSignal: true, alias: "optionDisabled", required: false }] }], group: [{ type: i0.Input, args: [{ isSignal: true, alias: "group", required: false }] }], optionGroupLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "optionGroupLabel", required: false }] }], optionGroupChildren: [{ type: i0.Input, args: [{ isSignal: true, alias: "optionGroupChildren", required: false }] }], dataKey: [{ type: i0.Input, args: [{ isSignal: true, alias: "dataKey", required: false }] }], multiple: [{ type: i0.Input, args: [{ isSignal: true, alias: "multiple", required: false }] }], checkmark: [{ type: i0.Input, args: [{ isSignal: true, alias: "checkmark", required: false }] }], checkbox: [{ type: i0.Input, args: [{ isSignal: true, alias: "checkbox", required: false }] }], maxSelectedLabels: [{ type: i0.Input, args: [{ isSignal: true, alias: "maxSelectedLabels", required: false }] }], overflowLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "overflowLabel", required: false }] }], placeholder: [{ type: i0.Input, args: [{ isSignal: true, alias: "placeholder", required: false }] }], showClear: [{ type: i0.Input, args: [{ isSignal: true, alias: "showClear", required: false }] }], clearAriaLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "clearAriaLabel", required: false }] }], icon: [{ type: i0.Input, args: [{ isSignal: true, alias: "icon", required: false }] }], filter: [{ type: i0.Input, args: [{ isSignal: true, alias: "filter", required: false }] }], filterPlaceholder: [{ type: i0.Input, args: [{ isSignal: true, alias: "filterPlaceholder", required: false }] }], filterAriaLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "filterAriaLabel", required: false }] }], filterBy: [{ type: i0.Input, args: [{ isSignal: true, alias: "filterBy", required: false }] }], autofocusFilter: [{ type: i0.Input, args: [{ isSignal: true, alias: "autofocusFilter", required: false }] }], resetFilterOnHide: [{ type: i0.Input, args: [{ isSignal: true, alias: "resetFilterOnHide", required: false }] }], emptyMessage: [{ type: i0.Input, args: [{ isSignal: true, alias: "emptyMessage", required: false }] }], emptyFilterMessage: [{ type: i0.Input, args: [{ isSignal: true, alias: "emptyFilterMessage", required: false }] }], editable: [{ type: i0.Input, args: [{ isSignal: true, alias: "editable", required: false }] }], loading: [{ type: i0.Input, args: [{ isSignal: true, alias: "loading", required: false }] }], autoOptionFocus: [{ type: i0.Input, args: [{ isSignal: true, alias: "autoOptionFocus", required: false }] }], selectOnFocus: [{ type: i0.Input, args: [{ isSignal: true, alias: "selectOnFocus", required: false }] }], focusOnHover: [{ type: i0.Input, args: [{ isSignal: true, alias: "focusOnHover", required: false }] }], virtualScroll: [{ type: i0.Input, args: [{ isSignal: true, alias: "virtualScroll", required: false }] }], virtualScrollItemSize: [{ type: i0.Input, args: [{ isSignal: true, alias: "virtualScrollItemSize", required: false }] }], lazy: [{ type: i0.Input, args: [{ isSignal: true, alias: "lazy", required: false }] }], scrollHeight: [{ type: i0.Input, args: [{ isSignal: true, alias: "scrollHeight", required: false }] }], autoFlip: [{ type: i0.Input, args: [{ isSignal: true, alias: "autoFlip", required: false }] }], panelStyleClass: [{ type: i0.Input, args: [{ isSignal: true, alias: "panelStyleClass", required: false }] }], panelWidth: [{ type: i0.Input, args: [{ isSignal: true, alias: "panelWidth", required: false }] }], valueChange: [{ type: i0.Output, args: ["valueChange"] }], opened: [{ type: i0.Output, args: ["opened"] }], closed: [{ type: i0.Output, args: ["closed"] }], cleared: [{ type: i0.Output, args: ["cleared"] }], filterChange: [{ type: i0.Output, args: ["filterChange"] }], lazyLoad: [{ type: i0.Output, args: ["lazyLoad"] }], inputFocus: [{ type: i0.Output, args: ["inputFocus"] }], inputBlur: [{ type: i0.Output, args: ["inputBlur"] }], itemTemplate: [{ type: i0.ContentChild, args: ['item', { isSignal: true }] }], selectedItemTemplate: [{ type: i0.ContentChild, args: ['selectedItem', { isSignal: true }] }], groupTemplate: [{ type: i0.ContentChild, args: ['group', { isSignal: true }] }], headerTemplate: [{ type: i0.ContentChild, args: ['header', { isSignal: true }] }], footerTemplate: [{ type: i0.ContentChild, args: ['footer', { isSignal: true }] }], emptyTemplate: [{ type: i0.ContentChild, args: ['empty', { isSignal: true }] }], containerEl: [{ type: i0.ViewChild, args: ['container', { isSignal: true }] }], triggerEl: [{ type: i0.ViewChild, args: ['trigger', { isSignal: true }] }], panelEl: [{ type: i0.ViewChild, args: ['panel', { isSignal: true }] }], filterInputEl: [{ type: i0.ViewChild, args: ['filterInput', { isSignal: true }] }], viewport: [{ type: i0.ViewChild, args: [i0.forwardRef(() => CdkVirtualScrollViewport), { isSignal: true }] }] } });
|
|
@@ -865,4 +865,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImpor
|
|
|
865
865
|
*/
|
|
866
866
|
|
|
867
867
|
export { UiSelect };
|
|
868
|
-
//# sourceMappingURL=4sh-ui-kit-ui-select.mjs.map
|
|
868
|
+
//# sourceMappingURL=4sh-ui-kit-forms-ui-select.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"4sh-ui-kit-forms-ui-select.mjs","sources":["../../../projects/ui-kit/forms/ui-select/src/lib/ui-select.ts","../../../projects/ui-kit/forms/ui-select/src/lib/ui-select.html","../../../projects/ui-kit/forms/ui-select/src/public-api.ts","../../../projects/ui-kit/forms/ui-select/src/4sh-ui-kit-forms-ui-select.ts"],"sourcesContent":["import {\n booleanAttribute,\n Component,\n computed,\n contentChild,\n effect,\n ElementRef,\n forwardRef,\n input,\n isDevMode,\n numberAttribute,\n output,\n signal,\n TemplateRef,\n viewChild,\n} from '@angular/core';\nimport { NgTemplateOutlet } from '@angular/common';\nimport { NG_VALUE_ACCESSOR } from '@angular/forms';\nimport { OverlayModule } from '@angular/cdk/overlay';\nimport { CdkVirtualScrollViewport, ScrollingModule } from '@angular/cdk/scrolling';\nimport { BaseFormField } from '@4sh/ui-kit/forms';\nimport { createOptionResolver } from '@4sh/ui-kit/forms';\nimport { dropdownOverlayPositions } from '@4sh/ui-kit/forms';\nimport { formatLabel } from '@4sh/ui-kit/forms';\nimport { UiField } from '@4sh/ui-kit/forms/ui-field';\nimport { UiIcon, UiIconSize } from '@4sh/ui-kit/base/ui-icon';\nimport { UiSpinner } from '@4sh/ui-kit/informative/ui-spinner';\nimport { UiMotion } from '@4sh/ui-kit/motion';\nimport { closeOnNavigation } from '@4sh/ui-kit/overlay';\n\n/** Model value: a single value, an array (`multiple`), or `null` when cleared. */\nexport type SelectValue<T = unknown> = T | T[] | null;\n\n/** Context handed to the `#item` template. */\nexport interface SelectItemContext<T = unknown> {\n /** The original option (default `$implicit`). */\n $implicit: T;\n /** Same as `$implicit`, named for readability. */\n option: T;\n /** Whether this option is currently selected. */\n selected: boolean;\n /** Index of the option in the (filtered) list. */\n index: number;\n}\n\n/** Context handed to the `#selectedItem` template (once per selected option). */\nexport interface SelectSelectedItemContext<T = unknown> {\n /** The selected option (default `$implicit`). */\n $implicit: T;\n /** Same as `$implicit`, named for readability. */\n option: T;\n /** Index among the selected options (0 in single mode). */\n index: number;\n /** Deselects this option (e.g. wire it to a removable chip). */\n remove: () => void;\n}\n\n/** Context handed to the `#group` template. */\nexport interface SelectGroupContext<G = unknown> {\n /** The original group object (default `$implicit`). */\n $implicit: G;\n /** Same as `$implicit`, named for readability. */\n group: G;\n}\n\n/** Payload of the `filterChange` output. */\nexport interface SelectFilterEvent {\n /** Originating DOM event. */\n originalEvent: Event;\n /** Current filter text. */\n filter: string;\n}\n\n/** Payload of the `lazyLoad` output (rendered range of the virtual viewport). */\nexport interface SelectLazyLoadEvent {\n /** Index of the first rendered row. */\n first: number;\n /** Index after the last rendered row (exclusive). */\n last: number;\n}\n\n/** @ignore Flat, unfiltered view of one option (logic source). */\ninterface SelectEntry {\n value: unknown;\n label: string;\n disabled: boolean;\n original: unknown;\n}\n\n/** @ignore Unfiltered group of entries (when `group` is enabled). */\ninterface SelectGroupEntry {\n label: string;\n original: unknown;\n entries: SelectEntry[];\n}\n\n/** @ignore Rendered row: a group header or an option. */\ntype SelectRow =\n | { kind: 'group'; key: string; label: string; original: unknown }\n | { kind: 'option'; key: string; id: string; index: number; entry: SelectEntry; selected: boolean };\n\n/**\n * ui-select — headless dropdown list built on the `ui-field` shell\n * (label + box + helper) with a token-styled options panel in a CDK overlay.\n *\n * The trigger is a native element following the WAI-ARIA combobox pattern\n * (`role=\"combobox\"` + `aria-activedescendant`: focus never leaves the trigger\n * or the filter input, options are only visually focused). Supports primitive\n * or object options (`optionLabel` / `optionValue` / `optionDisabled`), grouped\n * options, single or `multiple` selection (checkmark / checkbox display),\n * built-in filtering, an `editable` free-text mode, `showClear`, `loading`, and\n * CDK virtual scrolling (plus lazy loading of huge lists) — all wired through\n * `ControlValueAccessor` on {@link BaseFormField} (shared label / helper /\n * level / validation / states).\n *\n * Customisation: the `#item`, `#selectedItem`, `#group`, `#header`, `#footer`\n * and `#empty` templates, `panelStyleClass`, and the local SCSS variables.\n *\n * @example\n * ```html\n * <ui-select label=\"Ville\" [options]=\"cities\" optionLabel=\"name\" optionValue=\"code\" [(ngModel)]=\"city\" />\n * ```\n */\n@Component({\n selector: 'ui-select',\n imports: [NgTemplateOutlet, OverlayModule, ScrollingModule, UiField, UiIcon, UiSpinner, UiMotion],\n templateUrl: './ui-select.html',\n styleUrl: './ui-select.scss',\n providers: [{ provide: NG_VALUE_ACCESSOR, useExisting: forwardRef(() => UiSelect), multi: true }],\n})\nexport class UiSelect<T = unknown> extends BaseFormField<SelectValue<T>> {\n /** Options to display. Primitives, objects, or groups (see `group`). */\n options = input<readonly unknown[]>([]);\n /** Field name (dot-path) to read a label from, when options are objects. */\n optionLabel = input<string>();\n /** Field name (dot-path) to read the value from, when options are objects. */\n optionValue = input<string>();\n /** Field name (dot-path) to read the disabled flag from, when options are objects. */\n optionDisabled = input<string>();\n /** Treat `options` as groups (`optionGroupLabel` + `optionGroupChildren`). */\n group = input(false, { transform: booleanAttribute });\n /** Field name of a group's label. */\n optionGroupLabel = input<string>('label');\n /** Field name of a group's children array. */\n optionGroupChildren = input<string>('items');\n /** Property used to compare object values for equality (selection matching). */\n dataKey = input<string>();\n\n /** Allow selecting several values (the model becomes an array, the panel stays open). */\n multiple = input(false, { transform: booleanAttribute });\n /** Display a check indicator on the selected option(s). */\n checkmark = input(false, { transform: booleanAttribute });\n /** Display a checkbox in front of each option (`multiple` mode). */\n checkbox = input(false, { transform: booleanAttribute });\n /** Max number of selected items rendered in the trigger (`multiple`); the rest collapses into `overflowLabel`. */\n maxSelectedLabels = input<number>();\n /** Collapsed-count indicator — `{0}` is replaced by the number of hidden items. */\n overflowLabel = input<string>('(+{0} autres)');\n\n /** Placeholder shown in the trigger when nothing is selected. */\n placeholder = input<string>();\n /** Show a clear (×) action in the trigger when a value is set. */\n showClear = input(false, { transform: booleanAttribute });\n /** Accessible name of the clear action. */\n clearAriaLabel = input<string>('Effacer la sélection');\n /** FontAwesome icon of the dropdown chevron. */\n icon = input<string>('angle-down');\n\n /** Show the built-in filter input inside the panel. */\n filter = input(false, { transform: booleanAttribute });\n /** Placeholder of the filter input. */\n filterPlaceholder = input<string>();\n /** Accessible name of the filter input. */\n filterAriaLabel = input<string>('Filtrer les options');\n /** Comma-separated field names (dot-paths) the filter matches against (defaults to the label). */\n filterBy = input<string>();\n /** Move the focus into the filter input when the panel opens. */\n autofocusFilter = input(true, { transform: booleanAttribute });\n /** Reset the filter text when the panel closes. */\n resetFilterOnHide = input(false, { transform: booleanAttribute });\n\n /** Message shown when there is no option. */\n emptyMessage = input<string>('Aucune option disponible');\n /** Message shown when the filter matches nothing. */\n emptyFilterMessage = input<string>('Aucun résultat');\n\n /** Free-text mode: the trigger becomes a real `<input>`, typing sets the value directly. */\n editable = input(false, { transform: booleanAttribute });\n /** Loading state: a spinner replaces the chevron and the options are not interactive. */\n loading = input(false, { transform: booleanAttribute });\n\n /** Visually focus the first option when the panel opens. */\n autoOptionFocus = input(false, { transform: booleanAttribute });\n /** Select an option as soon as it is visually focused with the keyboard (single mode). */\n selectOnFocus = input(false, { transform: booleanAttribute });\n /** Visually focus the option under the mouse pointer. */\n focusOnHover = input(true, { transform: booleanAttribute });\n\n /** Render the options through a CDK virtual-scroll viewport. */\n virtualScroll = input(false, { transform: booleanAttribute });\n /** Fixed height (px) of one row — required by the virtual scroller. */\n virtualScrollItemSize = input<number, unknown>(40, { transform: numberAttribute });\n /** With `virtualScroll`: emit `lazyLoad` with the rendered range (lazy loading). */\n lazy = input(false, { transform: booleanAttribute });\n /** Max height of the options list (CSS size, e.g. `'320px'`). Defaults from the SCSS. */\n scrollHeight = input<string>();\n\n /**\n * Auto-flip the panel above the trigger when there isn't enough room below\n * (default). Set `false` to lock it below the trigger regardless of space.\n */\n autoFlip = input(true, { transform: booleanAttribute });\n /** Extra class(es) applied to the panel (scoped custom styling). */\n panelStyleClass = input<string>();\n /**\n * Panel width. By default it matches the field, which is too narrow when the\n * field is compact (a phone dialling code in a `ui-input-group`, say) but the\n * options are not. `'auto'` sizes the panel to its content while keeping the\n * field width as a floor; any CSS size (`'260px'`) pins it.\n */\n panelWidth = input<string>();\n\n /** Emitted whenever the value changes (selection, typing, clear). */\n valueChange = output<SelectValue<T>>();\n /** Emitted when the panel opens. */\n opened = output<void>();\n /** Emitted when the panel closes. */\n closed = output<void>();\n /** Emitted when the value is cleared. */\n cleared = output<void>();\n /** Emitted on each filter keystroke. */\n filterChange = output<SelectFilterEvent>();\n /** Emitted when the virtual viewport's rendered range changes (`virtualScroll` + `lazy`). */\n lazyLoad = output<SelectLazyLoadEvent>();\n /** Emitted when the trigger receives focus. */\n inputFocus = output<FocusEvent>();\n /** Emitted when the trigger loses focus. */\n inputBlur = output<FocusEvent>();\n\n /** Custom option template: `<ng-template #item let-option let-selected=\"selected\">`. */\n protected readonly itemTemplate = contentChild<TemplateRef<SelectItemContext<T>>>('item');\n /** Custom selected-value template (per selected option): `<ng-template #selectedItem let-option>`. */\n protected readonly selectedItemTemplate = contentChild<TemplateRef<SelectSelectedItemContext<T>>>('selectedItem');\n /** Custom group-header template: `<ng-template #group let-group>`. */\n protected readonly groupTemplate = contentChild<TemplateRef<SelectGroupContext>>('group');\n /** Free content pinned above the list (before the filter). */\n protected readonly headerTemplate = contentChild<TemplateRef<unknown>>('header');\n /** Free content pinned under the list. */\n protected readonly footerTemplate = contentChild<TemplateRef<unknown>>('footer');\n /** Custom empty-state template. */\n protected readonly emptyTemplate = contentChild<TemplateRef<unknown>>('empty');\n\n /** @ignore Component root (overlay origin + outside-focus detection). */\n private readonly containerEl = viewChild.required<ElementRef<HTMLElement>>('container');\n /** @ignore Focusable trigger (combobox button or editable input). */\n private readonly triggerEl = viewChild<ElementRef<HTMLElement>>('trigger');\n /** @ignore Panel root element (for scrolling the focused option into view). */\n private readonly panelEl = viewChild<ElementRef<HTMLElement>>('panel');\n /** @ignore Filter input (auto-focused on open). */\n private readonly filterInputEl = viewChild<ElementRef<HTMLInputElement>>('filterInput');\n /** @ignore Virtual-scroll viewport (lazy range + scrollToIndex). */\n private readonly viewport = viewChild(CdkVirtualScrollViewport);\n\n /** @ignore */\n protected readonly panelOpen = signal(false);\n /** @ignore Element the overlay is anchored to (the field box). */\n protected readonly overlayOrigin = signal<Element | null>(null);\n /** @ignore Field box width, measured on open. */\n protected readonly overlayWidth = signal<number | null>(null);\n /** @ignore Current filter text. */\n protected readonly filterValue = signal('');\n /** @ignore Raw text typed in the editable trigger (`null` when not typing) — filters the list. */\n protected readonly editableQuery = signal<string | null>(null);\n /** @ignore Index of the visually focused option among the visible options (-1 = none). */\n protected readonly focusedIndex = signal(-1);\n /** @ignore Type-ahead buffer. */\n private searchBuffer = '';\n /** @ignore */\n private searchTimeout: ReturnType<typeof setTimeout> | undefined;\n\n constructor() {\n super();\n\n // Never carry an open panel over to the next page (the field can live in\n // an app shell that survives the navigation).\n closeOnNavigation(() => this.close(false));\n\n // Forward the rendered range of the virtual viewport (lazy loading).\n effect((onCleanup) => {\n const vp = this.viewport();\n if (!vp || !this.lazy()) return;\n const sub = vp.renderedRangeStream.subscribe((range) =>\n this.lazyLoad.emit({ first: range.start, last: range.end }),\n );\n onCleanup(() => sub.unsubscribe());\n });\n\n // Re-measure the virtual viewport once it exists: it initialises while the\n // overlay panel is still laying out and can capture a 0 viewport size,\n // which freezes the rendered range on the first rows.\n effect(() => {\n const vp = this.viewport();\n if (!vp) return;\n setTimeout(() => {\n vp.checkViewportSize();\n this.scrollFocusedIntoView();\n });\n });\n\n // A11y / API safeguards (dev only).\n if (isDevMode()) {\n effect(() => {\n if (!this.label() && !this.ariaLabel() && !this.ariaLabelledBy()) {\n console.warn('[ui-select] Field has no accessible name: provide `label`, `ariaLabel` or `ariaLabelledBy`.');\n }\n if (this.editable() && this.multiple()) {\n console.warn('[ui-select] `editable` is ignored in `multiple` mode (free-text entry is single-value only).');\n }\n if (this.checkbox() && !this.multiple()) {\n console.warn('[ui-select] `checkbox` is meant for `multiple` mode (one checkbox per option).');\n }\n });\n }\n }\n\n // --- Derived state -----------------------------------------------------\n\n /** @ignore Effective free-text mode (`multiple` wins over `editable`). */\n protected readonly isEditable = computed(() => this.editable() && !this.multiple());\n /** @ignore */\n protected readonly listboxId = computed(() => `${this.resolvedId()}-list`);\n /** @ignore Icon size aligned with the field size. */\n protected readonly iconSize = computed<UiIconSize>(() => (this.size() === 'small' ? 'sm' : 'md'));\n\n /** @ignore Flat, unfiltered entries (no groups). */\n private readonly flatEntries = computed<SelectEntry[]>(() => {\n if (this.group()) return this.groupEntries().flatMap((g) => g.entries);\n return (this.options() ?? []).map((option) => this.toEntry(option));\n });\n\n /** @ignore Unfiltered groups (when `group` is enabled). */\n private readonly groupEntries = computed<SelectGroupEntry[]>(() => {\n if (!this.group()) return [];\n return (this.options() ?? []).map((groupOption) => {\n const children = this.getField(groupOption, this.optionGroupChildren());\n return {\n label: this.asText(this.getField(groupOption, this.optionGroupLabel())) ?? '',\n original: groupOption,\n entries: (Array.isArray(children) ? children : []).map((option) => this.toEntry(option)),\n };\n });\n });\n\n /** @ignore Normalized filter text ('' = no filtering). */\n private readonly normalizedFilter = computed(() => this.normalize(this.filterValue().trim()));\n\n /** @ignore Normalized editable-typing text ('' = no filtering). */\n private readonly normalizedEditableQuery = computed(() => {\n const query = this.editableQuery();\n return this.isEditable() && query ? this.normalize(query.trim()) : '';\n });\n\n /** @ignore Rendered rows: filtered options + their group headers, with stable ids. */\n protected readonly visibleRows = computed<SelectRow[]>(() => {\n const rows: SelectRow[] = [];\n let index = 0;\n const pushOption = (entry: SelectEntry): void => {\n rows.push({\n kind: 'option',\n key: `${this.listboxId()}-${index}`,\n id: `${this.resolvedId()}-option-${index}`,\n index,\n entry,\n selected: this.isValueSelected(entry.value),\n });\n index++;\n };\n\n if (this.group()) {\n this.groupEntries().forEach((g, gi) => {\n const entries = g.entries.filter((e) => this.matchesFilter(e));\n if (!entries.length) return;\n rows.push({ kind: 'group', key: `${this.listboxId()}-group-${gi}`, label: g.label, original: g.original });\n entries.forEach(pushOption);\n });\n } else {\n this.flatEntries().filter((e) => this.matchesFilter(e)).forEach(pushOption);\n }\n return rows;\n });\n\n /** @ignore Visible option rows only (visual-focus / type-ahead space). */\n protected readonly visibleOptions = computed(() =>\n this.visibleRows().filter((r): r is Extract<SelectRow, { kind: 'option' }> => r.kind === 'option'),\n );\n\n /** @ignore aria-setsize of the visible listbox. */\n protected readonly optionCount = computed(() => this.visibleOptions().length);\n\n /** @ignore trackBy of the virtual list. */\n protected readonly trackRow = (_: number, row: SelectRow): string => row.key;\n\n /** @ignore Empty state: no option at all, or nothing matches the filter / typed text. */\n protected readonly emptyLabel = computed(() =>\n this.normalizedFilter() || this.normalizedEditableQuery() ? this.emptyFilterMessage() : this.emptyMessage(),\n );\n\n /** @ignore Selected values as an array (whatever the mode). */\n private readonly selectedValues = computed<unknown[]>(() => {\n const v = this.modelValue();\n if (v === null || v === undefined) return [];\n return this.multiple() ? (Array.isArray(v) ? v : []) : [v];\n });\n\n /** @ignore Selected options resolved against the (unfiltered) entries. Falls back to the raw value. */\n protected readonly selectedEntries = computed<SelectEntry[]>(() =>\n this.selectedValues().map(\n (value) =>\n this.flatEntries().find((e) => this.equals(e.value, value)) ?? {\n value,\n label: this.asText(value) ?? '',\n disabled: false,\n original: value,\n },\n ),\n );\n\n /** @ignore A value is currently set. */\n protected readonly hasValue = computed(() => {\n if (this.multiple()) return this.selectedValues().length > 0;\n const v = this.modelValue();\n return v !== null && v !== undefined && v !== '';\n });\n\n /** @ignore Selected entries actually rendered in the trigger (`maxSelectedLabels` cap). */\n protected readonly displayedSelectedEntries = computed<SelectEntry[]>(() => {\n const all = this.selectedEntries();\n const max = this.maxSelectedLabels();\n return this.multiple() && max != null && max > 0 && all.length > max ? all.slice(0, max) : all;\n });\n\n /** @ignore Number of selected items collapsed behind the overflow indicator. */\n protected readonly overflowCount = computed(\n () => this.selectedEntries().length - this.displayedSelectedEntries().length,\n );\n\n /** @ignore Rendered overflow indicator (e.g. `(+2 autres)`). */\n protected readonly overflowText = computed(() =>\n formatLabel(this.overflowLabel(), this.overflowCount()),\n );\n\n /** @ignore Contexts handed to the `#selectedItem` template (one per displayed selection). */\n protected readonly selectedItemContexts = computed<SelectSelectedItemContext<T>[]>(() =>\n this.displayedSelectedEntries().map((entry, index) => ({\n $implicit: entry.original as T,\n option: entry.original as T,\n index,\n remove: () => this.removeValue(entry.value),\n })),\n );\n\n /** @ignore Text rendered in the trigger (and in the editable input). */\n protected readonly selectedLabel = computed(() => {\n const shown = this.displayedSelectedEntries().map((e) => e.label).join(', ');\n return this.overflowCount() > 0 ? `${shown} ${this.overflowText()}` : shown;\n });\n\n /** @ignore The clear action is shown. */\n protected readonly showClearButton = computed(\n () => this.showClear() && this.hasValue() && !this.isDisabled() && !this.readonly(),\n );\n\n /** @ignore id of the visually focused option (for aria-activedescendant). */\n protected readonly activeDescendant = computed(() => {\n if (!this.panelOpen()) return null;\n return this.visibleOptions()[this.focusedIndex()]?.id ?? null;\n });\n\n /** @ignore Below the trigger, flipping above when `autoFlip` and space is lacking. */\n protected readonly overlayPositions = computed(() => dropdownOverlayPositions(this.autoFlip()));\n\n /** @ignore Panel width: `panelWidth` when set, the field width otherwise. */\n protected readonly panelStyleWidth = computed(() => {\n const width = this.panelWidth();\n if (width) return width === 'auto' ? null : width;\n const measured = this.overlayWidth();\n return measured === null ? null : `${measured}px`;\n });\n\n /** @ignore `panelWidth=\"auto\"`: the field width becomes a floor, the content sets the rest. */\n protected readonly panelStyleMinWidth = computed(() => {\n if (this.panelWidth() !== 'auto') return null;\n const measured = this.overlayWidth();\n return measured === null ? null : `${measured}px`;\n });\n\n /** @ignore Concrete viewport height (px) for the virtual scroller. */\n protected readonly viewportHeight = computed(() => {\n const rows = this.visibleRows().length || 1;\n const max = this.scrollHeightPx();\n return `${Math.min(rows * this.virtualScrollItemSize(), max)}px`;\n });\n\n /** @ignore `scrollHeight` parsed to px, with size-based defaults (matches the SCSS). */\n private readonly scrollHeightPx = computed(() => {\n const parsed = Number.parseFloat(this.scrollHeight() ?? '');\n if (!Number.isNaN(parsed) && parsed > 0) return parsed;\n return this.size() === 'small' ? 256 : 312;\n });\n\n // --- CVA -----------------------------------------------------------------\n\n override writeValue(value: SelectValue<T>): void {\n this.modelValue.set(value);\n }\n\n /** Moves focus to the trigger. */\n focus(options?: FocusOptions): void {\n this.triggerEl()?.nativeElement.focus(options);\n }\n\n // --- Panel open/close ----------------------------------------------------\n\n open(): void {\n if (this.isDisabled() || this.readonly() || this.panelOpen()) return;\n const origin =\n this.containerEl().nativeElement.querySelector('.ui-field-box') ?? this.containerEl().nativeElement;\n this.overlayOrigin.set(origin);\n this.overlayWidth.set(origin.getBoundingClientRect().width);\n this.focusedIndex.set(this.initialFocusIndex());\n this.panelOpen.set(true);\n this.opened.emit();\n this.queueAfterOpen();\n }\n\n close(focusTrigger = true): void {\n if (!this.panelOpen()) return;\n this.panelOpen.set(false);\n this.clearSearchBuffer();\n this.editableQuery.set(null);\n if (this.resetFilterOnHide()) this.filterValue.set('');\n this.emitTouch();\n this.closed.emit();\n if (focusTrigger) this.focus();\n }\n\n /** @ignore */\n protected toggle(): void {\n this.panelOpen() ? this.close() : this.open();\n }\n\n /** @ignore First visually focused option when the panel opens. */\n private initialFocusIndex(): number {\n const options = this.visibleOptions();\n const selected = options.findIndex((o) => o.selected && !o.entry.disabled);\n if (selected !== -1) return selected;\n if (this.autoOptionFocus()) return options.findIndex((o) => !o.entry.disabled);\n return -1;\n }\n\n /**\n * @ignore Post-open work once the overlay is attached: focus the filter,\n * scroll the focused option into view (the virtual viewport is re-measured\n * by its own effect). `setTimeout` (not rAF) so it also runs in\n * throttled/background tabs.\n */\n private queueAfterOpen(): void {\n setTimeout(() => {\n // Never steal the focus from the editable input while the user types.\n if (this.filter() && this.autofocusFilter() && !this.isEditable()) this.filterInputEl()?.nativeElement.focus();\n this.scrollFocusedIntoView();\n });\n }\n\n // --- Trigger interactions --------------------------------------------------\n\n /** @ignore Container click: open (button mode) or toggle from the chevron (editable mode). */\n protected onContainerClick(event: MouseEvent): void {\n if (this.isDisabled() || this.readonly()) return;\n const target = event.target as HTMLElement;\n // Inner actions (clear, chip remove buttons in `#selectedItem`…) handle themselves.\n if (target.closest('button') && !target.closest('.ui-select-trigger')) return;\n if (this.isEditable()) {\n if (target.closest('.ui-select-chevron')) this.toggle();\n return;\n }\n this.open();\n }\n\n /** @ignore Clear action (does not bubble to the container, which would re-open). */\n protected onClearClick(event: MouseEvent): void {\n event.stopPropagation();\n this.clear();\n }\n\n /** Clears the value. */\n clear(): void {\n this.commit(null);\n // Editable mode: drop any typed text still filtering the list — the\n // trigger just went blank, the panel (if open) must show every option again,\n // not the stale query's matches (same reset `selectRow`/`close` already do).\n this.editableQuery.set(null);\n this.cleared.emit();\n this.focus();\n }\n\n /**\n * @ignore Editable mode: typing sets the value directly (view → form) and\n * surfaces the matching options (the panel opens and filters as you type).\n */\n protected onEditableInput(event: Event): void {\n const value = (event.target as HTMLInputElement).value;\n this.editableQuery.set(value);\n // An emptied input commits `null` (same normalization as `clear()`).\n this.commit(value === '' ? null : (value as SelectValue<T>));\n if (!this.panelOpen()) this.open();\n // Re-anchor the visual focus on the first matching option.\n this.focusedIndex.set(this.visibleOptions().findIndex((o) => !o.entry.disabled));\n }\n\n /** Deselects one value (`multiple`) or clears the value (single). */\n removeValue(value: unknown): void {\n if (this.isDisabled() || this.readonly()) return;\n if (!this.multiple()) {\n this.commit(null);\n return;\n }\n const current = (this.selectedValues() as T[]).filter((v) => !this.equals(v, value));\n this.commit(current as SelectValue<T>);\n }\n\n /** @ignore */\n protected onTriggerFocus(event: FocusEvent): void {\n this.inputFocus.emit(event);\n }\n\n /** @ignore Mark touched when focus leaves the component (trigger → outside, not into the panel). */\n protected onTriggerBlur(event: FocusEvent): void {\n const next = event.relatedTarget as Node | null;\n if (!next || !this.panelEl()?.nativeElement.contains(next)) this.emitTouch();\n this.inputBlur.emit(event);\n }\n\n /** @ignore Keyboard on the trigger (combobox pattern). */\n protected onTriggerKeydown(event: KeyboardEvent): void {\n if (this.isDisabled() || this.readonly()) return;\n\n // Multiple: Backspace deselects the last selected item (chip-removal keyboard path).\n if (event.key === 'Backspace' && !this.isEditable() && this.multiple() && this.hasValue()) {\n event.preventDefault();\n const values = this.selectedValues();\n this.removeValue(values[values.length - 1]);\n return;\n }\n\n if (this.handleNavigationKey(event)) return;\n\n // Type-ahead (button trigger only — the editable input types for real).\n if (!this.isEditable() && event.key.length === 1 && !event.ctrlKey && !event.metaKey && !event.altKey) {\n event.preventDefault();\n if (!this.panelOpen()) this.open();\n this.searchOption(event.key);\n }\n }\n\n /** @ignore Keyboard inside the filter input (navigation delegated, typing kept native). */\n protected onFilterKeydown(event: KeyboardEvent): void {\n if (event.key === 'Home' || event.key === 'End') return; // keep caret moves native\n this.handleNavigationKey(event);\n }\n\n /**\n * @ignore Shared open/navigate/select/close keys. Returns true when handled.\n * Focus stays on the trigger / filter input; options are focused visually\n * through `aria-activedescendant`.\n */\n private handleNavigationKey(event: KeyboardEvent): boolean {\n switch (event.key) {\n case 'ArrowDown':\n event.preventDefault();\n if (!this.panelOpen()) {\n this.open();\n if (this.focusedIndex() === -1) this.moveFocus(1);\n } else {\n this.moveFocus(1);\n }\n return true;\n case 'ArrowUp':\n event.preventDefault();\n if (event.altKey) {\n this.close();\n } else if (!this.panelOpen()) {\n this.open();\n if (this.focusedIndex() === -1) this.moveFocus(-1);\n } else {\n this.moveFocus(-1);\n }\n return true;\n case 'Home':\n case 'End':\n if (!this.panelOpen()) return false;\n event.preventDefault();\n this.focusEdge(event.key === 'Home' ? 1 : -1);\n return true;\n case 'Enter':\n if (!this.panelOpen()) return false; // closed: native click (button) / form submit (input)\n event.preventDefault();\n this.selectFocused();\n return true;\n case ' ':\n if (this.isEditable() || (this.filter() && event.target === this.filterInputEl()?.nativeElement)) {\n return false; // space types in the inputs\n }\n if (!this.panelOpen()) return false; // closed button: native click opens\n event.preventDefault();\n this.selectFocused();\n return true;\n case 'Escape':\n if (!this.panelOpen()) return false;\n event.preventDefault();\n event.stopPropagation();\n this.close();\n return true;\n case 'Tab':\n if (this.panelOpen()) this.close(false);\n return false; // let the focus move on\n default:\n return false;\n }\n }\n\n // --- Options interactions --------------------------------------------------\n\n /** @ignore */\n protected onOptionClick(row: Extract<SelectRow, { kind: 'option' }>, event: Event): void {\n event.preventDefault();\n if (this.loading()) return;\n this.selectRow(row);\n }\n\n /** @ignore Keep the focus on the trigger / filter input when clicking an option. */\n protected onOptionMousedown(event: MouseEvent): void {\n event.preventDefault();\n }\n\n /** @ignore */\n protected onOptionMouseEnter(row: Extract<SelectRow, { kind: 'option' }>): void {\n if (this.focusOnHover() && !row.entry.disabled) this.focusedIndex.set(row.index);\n }\n\n /** @ignore Select (single) or toggle (multiple) an option. */\n private selectRow(row: Extract<SelectRow, { kind: 'option' }>, keepOpen = false): void {\n if (row.entry.disabled || this.readonly()) return;\n this.focusedIndex.set(row.index);\n this.editableQuery.set(null); // picking an option ends the typing session (display shows the label)\n\n if (this.multiple()) {\n const current = [...(this.selectedValues() as T[])];\n const at = current.findIndex((v) => this.equals(v, row.entry.value));\n if (at !== -1) current.splice(at, 1);\n else current.push(row.entry.value as T);\n this.commit(current);\n return; // multiple: the panel stays open\n }\n\n this.commit(row.entry.value as SelectValue<T>);\n if (!keepOpen) this.close();\n }\n\n /** @ignore */\n private selectFocused(): void {\n const row = this.visibleOptions()[this.focusedIndex()];\n if (row) this.selectRow(row);\n else if (!this.multiple()) this.close();\n }\n\n /** @ignore Propagate a user-driven value change (view → form). */\n private commit(value: SelectValue<T>): void {\n this.modelValue.set(value);\n this.emitChange(value);\n this.valueChange.emit(value);\n }\n\n // --- Visual focus ------------------------------------------------------------\n\n /** @ignore Move the visual focus, skipping disabled options (no wrap). */\n private moveFocus(delta: 1 | -1): void {\n const options = this.visibleOptions();\n if (!options.length) return;\n let i = this.focusedIndex();\n if (i === -1) i = delta === 1 ? -1 : options.length;\n for (i += delta; i >= 0 && i < options.length; i += delta) {\n if (!options[i].entry.disabled) {\n this.setFocusedIndex(i);\n return;\n }\n }\n }\n\n /** @ignore Focus the first (`1`) or last (`-1`) enabled option. */\n private focusEdge(direction: 1 | -1): void {\n const options = this.visibleOptions();\n const from = direction === 1 ? 0 : options.length - 1;\n for (let i = from; i >= 0 && i < options.length; i += direction) {\n if (!options[i].entry.disabled) {\n this.setFocusedIndex(i);\n return;\n }\n }\n }\n\n /** @ignore Apply a visual-focus move (+ select-on-focus, + scroll into view). */\n private setFocusedIndex(index: number): void {\n this.focusedIndex.set(index);\n if (this.selectOnFocus() && !this.multiple()) {\n const row = this.visibleOptions()[index];\n if (row) this.selectRow(row, true);\n }\n this.scrollFocusedIntoView();\n }\n\n /** @ignore Keep the visually focused option visible ('auto' — smooth is unreliable in throttled tabs). */\n private scrollFocusedIntoView(): void {\n const row = this.visibleOptions()[this.focusedIndex()];\n if (!row) return;\n const vp = this.viewport();\n if (vp) {\n const rowIndex = this.visibleRows().findIndex((r) => r.kind === 'option' && r.index === row.index);\n if (rowIndex !== -1) vp.scrollToIndex(Math.max(0, rowIndex - 1), 'auto');\n return;\n }\n this.panelEl()\n ?.nativeElement.querySelector(`[id=\"${row.id}\"]`)\n ?.scrollIntoView({ block: 'nearest' });\n }\n\n // --- Type-ahead ---------------------------------------------------------------\n\n /** @ignore Accumulate printable characters and focus the first matching option. */\n private searchOption(char: string): void {\n this.searchBuffer += char.toLowerCase();\n if (this.searchTimeout) clearTimeout(this.searchTimeout);\n this.searchTimeout = setTimeout(() => this.clearSearchBuffer(), 500);\n\n const options = this.visibleOptions();\n if (!options.length) return;\n const needle = this.normalize(this.searchBuffer);\n // Restart the scan below the focused option only for a fresh (1-char) search.\n const from = this.searchBuffer.length === 1 ? this.focusedIndex() + 1 : Math.max(0, this.focusedIndex());\n for (let k = 0; k < options.length; k++) {\n const i = (from + k) % options.length;\n const option = options[i];\n if (!option.entry.disabled && this.normalize(option.entry.label).startsWith(needle)) {\n this.setFocusedIndex(i);\n return;\n }\n }\n }\n\n /** @ignore */\n private clearSearchBuffer(): void {\n this.searchBuffer = '';\n if (this.searchTimeout) {\n clearTimeout(this.searchTimeout);\n this.searchTimeout = undefined;\n }\n }\n\n // --- Filter -------------------------------------------------------------------\n\n /** @ignore */\n protected onFilterInput(event: Event): void {\n const value = (event.target as HTMLInputElement).value;\n this.filterValue.set(value);\n this.filterChange.emit({ originalEvent: event, filter: value });\n // Re-anchor the visual focus on the first matching option.\n const first = this.visibleOptions().findIndex((o) => !o.entry.disabled);\n this.focusedIndex.set(first);\n }\n\n /** @ignore An entry passes the current filter(s): panel filter and/or editable typing. */\n private matchesFilter(entry: SelectEntry): boolean {\n const needles = [this.normalizedFilter(), this.normalizedEditableQuery()].filter(Boolean);\n if (!needles.length) return true;\n const fields = this.filterBy()\n ?.split(',')\n .map((f) => f.trim())\n .filter(Boolean);\n const haystacks = fields?.length\n ? fields.map((f) => this.asText(this.getField(entry.original, f)) ?? '')\n : [entry.label];\n return needles.every((needle) => haystacks.some((text) => this.normalize(text).includes(needle)));\n }\n\n /** @ignore Case- and diacritics-insensitive comparison text. */\n private normalize(text: string): string {\n return text\n .toLowerCase()\n .normalize('NFD')\n .replace(/[̀-ͯ]/g, '');\n }\n\n // --- Option resolution ----------------------------------------------------------\n\n /** @ignore Shared option resolution (see `option-resolver.ts`). */\n private readonly resolver = createOptionResolver({\n optionValue: this.optionValue,\n optionLabel: this.optionLabel,\n optionDisabled: this.optionDisabled,\n dataKey: this.dataKey,\n });\n\n /** @ignore */\n private toEntry(option: unknown): SelectEntry {\n return this.resolver.toEntry(option);\n }\n\n /** @ignore Read a (dot-path) field from an object. */\n private getField(target: unknown, path: string | undefined): unknown {\n return this.resolver.getField(target, path);\n }\n\n /** @ignore */\n private resolveValue(option: unknown): unknown {\n return this.resolver.resolveValue(option);\n }\n\n /** @ignore */\n private resolveLabel(option: unknown): string | null {\n return this.resolver.resolveLabel(option);\n }\n\n /** @ignore */\n private asText(value: unknown): string | null {\n return this.resolver.asText(value);\n }\n\n /** @ignore Whether a resolved value is part of the current model. */\n private isValueSelected(value: unknown): boolean {\n return this.selectedValues().some((v) => this.equals(v, value));\n }\n\n /** @ignore Value equality — by `dataKey` for objects, strict otherwise. */\n private equals(a: unknown, b: unknown): boolean {\n return this.resolver.equals(a, b);\n }\n}\n","<!-- One rendered row: group header or option (shared by the plain and virtual lists). -->\n<ng-template #rowTpl let-row>\n @if (row.kind === 'group') {\n <li class=\"ui-select-group\" role=\"presentation\" [class._small]=\"size() === 'small'\">\n @if (groupTemplate(); as tpl) {\n <ng-container [ngTemplateOutlet]=\"tpl\" [ngTemplateOutletContext]=\"{ $implicit: row.original, group: row.original }\" />\n } @else {\n {{ row.label }}\n }\n </li>\n } @else {\n <!-- ARIA combobox/listbox pattern: keyboard and focus are handled by\n the trigger role=\"combobox\" (roving via aria-activedescendant). -->\n <!-- eslint-disable-next-line @angular-eslint/template/click-events-have-key-events, @angular-eslint/template/interactive-supports-focus -->\n <li\n class=\"ui-select-option\"\n role=\"option\"\n [attr.id]=\"row.id\"\n [class._small]=\"size() === 'small'\"\n [class._selected]=\"row.selected\"\n [class._focused]=\"row.index === focusedIndex()\"\n [class._disabled]=\"row.entry.disabled\"\n [attr.aria-selected]=\"row.selected\"\n [attr.aria-disabled]=\"row.entry.disabled || null\"\n [attr.aria-setsize]=\"optionCount()\"\n [attr.aria-posinset]=\"row.index + 1\"\n (mousedown)=\"onOptionMousedown($event)\"\n (click)=\"onOptionClick(row, $event)\"\n (mouseenter)=\"onOptionMouseEnter(row)\"\n >\n @if (checkbox() && multiple()) {\n <!-- Purely visual checkbox: the option itself carries the aria-selected state. -->\n <span class=\"ui-select-checkbox\" [class._checked]=\"row.selected\" aria-hidden=\"true\">\n <ui-icon class=\"ui-select-checkbox-icon\" name=\"check\" size=\"sm\" />\n </span>\n }\n @if (itemTemplate(); as tpl) {\n <ng-container\n [ngTemplateOutlet]=\"tpl\"\n [ngTemplateOutletContext]=\"{ $implicit: row.entry.original, option: row.entry.original, selected: row.selected, index: row.index }\"\n />\n } @else {\n <span class=\"ui-select-option-label\">{{ row.entry.label }}</span>\n }\n @if (checkmark() && row.selected) {\n <ui-icon class=\"ui-select-checkmark\" name=\"check\" [size]=\"iconSize()\" />\n }\n </li>\n }\n</ng-template>\n\n<!-- Options panel (CDK overlay). -->\n<ng-template #panelTpl>\n <div\n #panel\n class=\"ui-select-panel\"\n [class]=\"panelStyleClass()\"\n [class._small]=\"size() === 'small'\"\n [style.width]=\"panelStyleWidth()\"\n [style.min-width]=\"panelStyleMinWidth()\"\n [uiMotion]=\"'slide-down'\"\n #panelMotion=\"uiMotion\"\n motionOnInsert\n >\n @if (headerTemplate(); as tpl) {\n <div class=\"ui-select-header\">\n <ng-container [ngTemplateOutlet]=\"tpl\" />\n </div>\n }\n\n @if (filter()) {\n <div class=\"ui-select-filter\" [class._small]=\"size() === 'small'\">\n <ui-icon class=\"ui-select-filter-icon\" name=\"magnifying-glass\" size=\"sm\" />\n <input\n #filterInput\n type=\"text\"\n class=\"ui-select-filter-input\"\n autocomplete=\"off\"\n role=\"searchbox\"\n [value]=\"filterValue()\"\n [placeholder]=\"filterPlaceholder() ?? ''\"\n [attr.aria-label]=\"filterAriaLabel()\"\n [attr.aria-controls]=\"listboxId()\"\n [attr.aria-activedescendant]=\"activeDescendant()\"\n (input)=\"onFilterInput($event)\"\n (keydown)=\"onFilterKeydown($event)\"\n />\n </div>\n }\n\n @if (virtualScroll()) {\n <cdk-virtual-scroll-viewport\n class=\"ui-select-viewport\"\n [itemSize]=\"virtualScrollItemSize()\"\n [style.height]=\"viewportHeight()\"\n >\n <ul\n class=\"ui-select-list\"\n role=\"listbox\"\n [attr.id]=\"listboxId()\"\n [attr.aria-label]=\"label() || ariaLabel() || null\"\n [attr.aria-multiselectable]=\"multiple() ? 'true' : null\"\n >\n <ng-container *cdkVirtualFor=\"let row of visibleRows(); trackBy: trackRow\">\n <ng-container [ngTemplateOutlet]=\"rowTpl\" [ngTemplateOutletContext]=\"{ $implicit: row }\" />\n </ng-container>\n @if (!visibleRows().length) {\n <ng-container [ngTemplateOutlet]=\"emptyTpl\" />\n }\n </ul>\n </cdk-virtual-scroll-viewport>\n } @else {\n <div class=\"ui-select-scroller\" [class._small]=\"size() === 'small'\" [style.max-height]=\"scrollHeight() || null\">\n <ul\n class=\"ui-select-list\"\n role=\"listbox\"\n [attr.id]=\"listboxId()\"\n [attr.aria-label]=\"label() || ariaLabel() || null\"\n [attr.aria-multiselectable]=\"multiple() ? 'true' : null\"\n >\n @for (row of visibleRows(); track row.key) {\n <ng-container [ngTemplateOutlet]=\"rowTpl\" [ngTemplateOutletContext]=\"{ $implicit: row }\" />\n } @empty {\n <ng-container [ngTemplateOutlet]=\"emptyTpl\" />\n }\n </ul>\n </div>\n }\n\n @if (footerTemplate(); as tpl) {\n <div class=\"ui-select-footer\">\n <ng-container [ngTemplateOutlet]=\"tpl\" />\n </div>\n }\n </div>\n</ng-template>\n\n<!-- Empty state row. -->\n<ng-template #emptyTpl>\n <li class=\"ui-select-empty\" role=\"presentation\">\n @if (emptyTemplate(); as tpl) {\n <ng-container [ngTemplateOutlet]=\"tpl\" />\n } @else {\n {{ emptyLabel() }}\n }\n </li>\n</ng-template>\n\n<!-- Trigger: composed field. Clicking the box opens the panel (backdrop closes it). -->\n<!-- Convenience click on the wrapper: focus and keyboard are carried by\n the inner trigger role=\"combobox\". -->\n<!-- eslint-disable-next-line @angular-eslint/template/click-events-have-key-events, @angular-eslint/template/interactive-supports-focus -->\n<div #container class=\"ui-select\" [class._editable]=\"isEditable()\" (click)=\"onContainerClick($event)\">\n <ui-field\n [label]=\"label()\"\n [for]=\"resolvedId()\"\n [required]=\"required()\"\n [size]=\"size()\"\n [level]=\"effectiveLevel()\"\n [disabled]=\"isDisabled()\"\n [readonly]=\"readonly()\"\n [autoHeight]=\"multiple()\"\n [message]=\"displayMessage()\"\n [messageId]=\"messageId()\"\n >\n @if (isEditable()) {\n <input\n #trigger\n type=\"text\"\n class=\"ui-select-native\"\n [class._small]=\"size() === 'small'\"\n role=\"combobox\"\n aria-haspopup=\"listbox\"\n aria-autocomplete=\"list\"\n [id]=\"resolvedId()\"\n [value]=\"selectedLabel()\"\n [placeholder]=\"placeholder() ?? ''\"\n [disabled]=\"isDisabled()\"\n [readOnly]=\"readonly()\"\n [required]=\"required()\"\n [attr.name]=\"name() || null\"\n [attr.tabindex]=\"tabindex()\"\n [attr.aria-expanded]=\"panelOpen()\"\n [attr.aria-controls]=\"panelOpen() ? listboxId() : null\"\n [attr.aria-activedescendant]=\"activeDescendant()\"\n [attr.aria-label]=\"label() ? null : ariaLabel() || null\"\n [attr.aria-labelledby]=\"ariaLabelledBy() || null\"\n [attr.aria-describedby]=\"displayMessage() ? messageId() : null\"\n [attr.aria-invalid]=\"effectiveLevel() === 'error' ? 'true' : null\"\n (input)=\"onEditableInput($event)\"\n (keydown)=\"onTriggerKeydown($event)\"\n (focus)=\"onTriggerFocus($event)\"\n (blur)=\"onTriggerBlur($event)\"\n />\n } @else {\n <!-- Multiple + #selectedItem: the values (e.g. removable chips) live OUTSIDE the\n combobox button so their own buttons stay valid, interactive HTML. -->\n @if (multiple() && selectedItemTemplate() && hasValue()) {\n <div class=\"ui-select-values\">\n @for (ctx of selectedItemContexts(); track $index) {\n <ng-container [ngTemplateOutlet]=\"selectedItemTemplate()!\" [ngTemplateOutletContext]=\"ctx\" />\n }\n @if (overflowCount() > 0) {\n <span class=\"ui-select-overflow\" [class._small]=\"size() === 'small'\">{{ overflowText() }}</span>\n }\n </div>\n }\n <button\n #trigger\n type=\"button\"\n class=\"ui-select-trigger\"\n [class._small]=\"size() === 'small'\"\n role=\"combobox\"\n aria-haspopup=\"listbox\"\n [id]=\"resolvedId()\"\n [disabled]=\"isDisabled()\"\n [attr.tabindex]=\"tabindex()\"\n [attr.aria-expanded]=\"panelOpen()\"\n [attr.aria-controls]=\"panelOpen() ? listboxId() : null\"\n [attr.aria-activedescendant]=\"activeDescendant()\"\n [attr.aria-label]=\"label() ? null : ariaLabel() || null\"\n [attr.aria-labelledby]=\"ariaLabelledBy() || null\"\n [attr.aria-describedby]=\"displayMessage() ? messageId() : null\"\n [attr.aria-required]=\"required() ? 'true' : null\"\n [attr.aria-invalid]=\"effectiveLevel() === 'error' ? 'true' : null\"\n (keydown)=\"onTriggerKeydown($event)\"\n (focus)=\"onTriggerFocus($event)\"\n (blur)=\"onTriggerBlur($event)\"\n >\n @if (multiple() && selectedItemTemplate() && hasValue()) {\n <!-- Accessible value of the combobox (the visual value is the chips next to it). -->\n <span class=\"ui-select-sr\">{{ selectedLabel() }}</span>\n } @else if (!multiple() && selectedItemTemplate() && hasValue()) {\n <ng-container [ngTemplateOutlet]=\"selectedItemTemplate()!\" [ngTemplateOutletContext]=\"selectedItemContexts()[0]\" />\n } @else if (hasValue()) {\n <span class=\"ui-select-value\" [class._wrap]=\"multiple()\">{{ selectedLabel() }}</span>\n } @else {\n <span class=\"ui-select-placeholder\">{{ placeholder() ?? '' }}</span>\n }\n </button>\n }\n\n @if (showClearButton()) {\n <button\n uiFieldSuffix\n type=\"button\"\n class=\"ui-select-clear\"\n [attr.aria-label]=\"clearAriaLabel()\"\n (click)=\"onClearClick($event)\"\n >\n <ui-icon name=\"xmark\" [size]=\"iconSize()\" />\n </button>\n }\n\n @if (loading()) {\n <ui-spinner uiFieldSuffix class=\"ui-select-loading\" size=\"small\" orientation=\"horizontal\" ariaLabel=\"Chargement des options\" />\n } @else {\n <ui-icon\n uiFieldSuffix\n class=\"ui-select-chevron\"\n [class._open]=\"panelOpen()\"\n [class._disabled]=\"isDisabled()\"\n [name]=\"icon()\"\n [size]=\"iconSize()\"\n />\n }\n </ui-field>\n</div>\n\n<ng-template\n cdkConnectedOverlay\n [cdkConnectedOverlayOrigin]=\"overlayOrigin()!\"\n [cdkConnectedOverlayOpen]=\"panelOpen()\"\n [cdkConnectedOverlayPositions]=\"overlayPositions()\"\n [cdkConnectedOverlayHasBackdrop]=\"true\"\n cdkConnectedOverlayBackdropClass=\"cdk-overlay-transparent-backdrop\"\n (backdropClick)=\"close(false)\"\n (overlayOutsideClick)=\"close(false)\"\n (detach)=\"close(false)\"\n>\n <ng-container [ngTemplateOutlet]=\"panelTpl\" />\n</ng-template>\n","/*\n * Public API Surface of ui-kit/ui-select\n */\n\nexport * from './lib/ui-select';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;;;;;;;;;AAqGA;;;;;;;;;;;;;;;;;;;;;AAqBG;AAQG,MAAO,QAAsB,SAAQ,aAA6B,CAAA;AAsJtE,IAAA,WAAA,GAAA;AACE,QAAA,KAAK,EAAE;;QArJT,IAAA,CAAA,OAAO,GAAG,KAAK,CAAqB,EAAE;oFAAC;;AAEvC,QAAA,IAAA,CAAA,WAAW,GAAG,KAAK;mGAAU;;AAE7B,Q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,EAAA,EAAA,CAAA;;AErQhE;;AAEG;;ACFH;;AAEG;;;;"}
|
|
@@ -313,12 +313,12 @@ class UiSlider extends BaseFieldControl {
|
|
|
313
313
|
this.emitChange(value);
|
|
314
314
|
this.sliderChange.emit(value);
|
|
315
315
|
}
|
|
316
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.
|
|
317
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.
|
|
316
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: UiSlider, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
317
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.1.1", type: UiSlider, isStandalone: true, selector: "ui-slider", inputs: { min: { classPropertyName: "min", publicName: "min", isSignal: true, isRequired: false, transformFunction: null }, max: { classPropertyName: "max", publicName: "max", isSignal: true, isRequired: false, transformFunction: null }, step: { classPropertyName: "step", publicName: "step", isSignal: true, isRequired: false, transformFunction: null }, range: { classPropertyName: "range", publicName: "range", isSignal: true, isRequired: false, transformFunction: null }, minStepsBetweenHandles: { classPropertyName: "minStepsBetweenHandles", publicName: "minStepsBetweenHandles", isSignal: true, isRequired: false, transformFunction: null }, marks: { classPropertyName: "marks", publicName: "marks", isSignal: true, isRequired: false, transformFunction: null }, orientation: { classPropertyName: "orientation", publicName: "orientation", isSignal: true, isRequired: false, transformFunction: null }, ariaLabelStart: { classPropertyName: "ariaLabelStart", publicName: "ariaLabelStart", isSignal: true, isRequired: false, transformFunction: null }, ariaLabelEnd: { classPropertyName: "ariaLabelEnd", publicName: "ariaLabelEnd", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { sliderChange: "sliderChange", slideEnd: "slideEnd", sliderFocus: "sliderFocus", sliderBlur: "sliderBlur" }, host: { properties: { "style.display": "orientation() === 'vertical' ? 'inline-block' : 'block'", "style.width": "orientation() === 'vertical' ? null : '100%'" } }, providers: [
|
|
318
318
|
{ provide: NG_VALUE_ACCESSOR, useExisting: forwardRef(() => UiSlider), multi: true },
|
|
319
319
|
], viewQueries: [{ propertyName: "root", first: true, predicate: ["root"], descendants: true, isSignal: true }, { propertyName: "handleEls", predicate: ["handle"], descendants: true, isSignal: true }], usesInheritance: true, ngImport: i0, template: "<div #root\n [class]=\"classes()\"\n (pointerdown)=\"onPointerDown($event)\"\n (pointermove)=\"onPointerMove($event)\"\n (pointerup)=\"onPointerUp($event)\"\n (pointercancel)=\"onPointerUp($event)\">\n <!-- Rail + filled portion -->\n <div class=\"ui-slider-track\">\n <div class=\"ui-slider-range\"\n [style.inset-inline-start]=\"orientation() === 'horizontal' ? fill().start + '%' : null\"\n [style.width]=\"orientation() === 'horizontal' ? fill().size + '%' : null\"\n [style.bottom]=\"orientation() === 'vertical' ? fill().start + '%' : null\"\n [style.height]=\"orientation() === 'vertical' ? fill().size + '%' : null\"></div>\n </div>\n\n <!-- Step ticks (decorative) -->\n @if (markList().length) {\n <div class=\"ui-slider-marks\" aria-hidden=\"true\">\n @for (mark of markList(); track mark.value) {\n <span class=\"ui-slider-mark\"\n [class._active]=\"mark.active\"\n [style.inset-inline-start]=\"orientation() === 'horizontal' ? mark.percent + '%' : null\"\n [style.bottom]=\"orientation() === 'vertical' ? mark.percent + '%' : null\"></span>\n }\n </div>\n }\n\n <!-- Handles (WAI-ARIA slider pattern) -->\n @for (handle of handles(); track handle.index) {\n <div #handle\n class=\"ui-slider-handle\"\n role=\"slider\"\n [attr.id]=\"handle.index === 0 ? resolvedId() : null\"\n [attr.tabindex]=\"isDisabled() ? -1 : (tabindex() ?? 0)\"\n [attr.aria-valuemin]=\"min()\"\n [attr.aria-valuemax]=\"max()\"\n [attr.aria-valuenow]=\"handle.value\"\n [attr.aria-orientation]=\"orientation()\"\n [attr.aria-label]=\"handleAriaLabel(handle.index)\"\n [attr.aria-labelledby]=\"ariaLabelledBy() || null\"\n [attr.aria-disabled]=\"isDisabled() ? true : null\"\n [attr.aria-readonly]=\"readonly() ? true : null\"\n [style.inset-inline-start]=\"orientation() === 'horizontal' ? handle.percent + '%' : null\"\n [style.bottom]=\"orientation() === 'vertical' ? handle.percent + '%' : null\"\n (keydown)=\"onKeyDown($event, handle.index)\"\n (focus)=\"onFocus($event)\"\n (blur)=\"onBlur($event)\"></div>\n }\n</div>\n", styles: [".ui-slider{position:relative;display:flex;align-items:center;width:100%;min-height:1.375rem;touch-action:none;cursor:pointer;-webkit-user-select:none;user-select:none}.ui-slider-track{position:relative;width:100%;height:var(--ui-slider-thickness, .5rem);border-radius:var(--radius-full);background-color:var(--global-background-muted)}.ui-slider-range{position:absolute;top:0;height:100%;border-radius:var(--radius-full);background-color:var(--actions-high-surface-default);transition:background-color var(--transition-default) var(--transition-easeinout)}.ui-slider-handle{position:absolute;top:50%;width:var(--ui-slider-handle-size, 1.375rem);height:var(--ui-slider-handle-size, 1.375rem);transform:translate(-50%,-50%);box-sizing:border-box;border:var(--stroke-default) solid var(--actions-high-stroke-default);border-radius:var(--radius-full);background-color:var(--actions-high-surface-default);cursor:grab;transition:background-color var(--transition-default) var(--transition-easeinout),border-color var(--transition-default) var(--transition-easeinout),box-shadow var(--transition-default) var(--transition-easeinout)}.ui-slider-handle:hover{background-color:var(--actions-high-surface-hover)}.ui-slider-handle:focus-visible{outline:none;border-color:var(--actions-high-stroke-focused);box-shadow:0 0 0 var(--units-2xs) var(--actions-high-stroke-focused)}.ui-slider-handle:active{background-color:var(--actions-high-surface-pressed);cursor:grabbing}.ui-slider-marks{position:absolute;inset:0;pointer-events:none}.ui-slider-mark{position:absolute;top:50%;width:.375rem;height:.375rem;transform:translate(-50%,-50%);border-radius:var(--radius-full);background-color:var(--informative-defaulthigh-surface-default)}.ui-slider-mark._active{background-color:var(--actions-high-content-default)}.ui-slider._vertical{flex-direction:column;width:auto;min-width:1.375rem;height:var(--ui-slider-length, 12rem);min-height:0}.ui-slider._vertical .ui-slider-track{width:var(--ui-slider-thickness, .5rem);height:100%}.ui-slider._vertical .ui-slider-range{top:auto;bottom:0;width:100%;height:auto}.ui-slider._vertical .ui-slider-handle,.ui-slider._vertical .ui-slider-mark{top:auto;left:50%;transform:translate(-50%,50%)}.ui-slider._disabled{cursor:not-allowed}.ui-slider._disabled .ui-slider-range{background-color:var(--actions-high-surface-disabled)}.ui-slider._disabled .ui-slider-handle{cursor:not-allowed;background-color:var(--actions-high-surface-disabled)}.ui-slider._disabled .ui-slider-handle:hover{background-color:var(--actions-high-surface-disabled)}.ui-slider._readonly,.ui-slider._readonly .ui-slider-handle{cursor:default}.ui-slider._invalid .ui-slider-range,.ui-slider._invalid .ui-slider-handle{background-color:var(--form-error-content-default)}.ui-slider._invalid .ui-slider-handle:hover{background-color:var(--form-error-content-hover)}.ui-slider._invalid .ui-slider-handle:focus-visible{border-color:var(--form-error-stroke-focused);box-shadow:0 0 0 var(--units-2xs) var(--form-error-stroke-focused)}\n"] }); }
|
|
320
320
|
}
|
|
321
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.
|
|
321
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: UiSlider, decorators: [{
|
|
322
322
|
type: Component,
|
|
323
323
|
args: [{ selector: 'ui-slider', standalone: true, host: {
|
|
324
324
|
'[style.display]': "orientation() === 'vertical' ? 'inline-block' : 'block'",
|
|
@@ -337,4 +337,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImpor
|
|
|
337
337
|
*/
|
|
338
338
|
|
|
339
339
|
export { UiSlider };
|
|
340
|
-
//# sourceMappingURL=4sh-ui-kit-ui-slider.mjs.map
|
|
340
|
+
//# sourceMappingURL=4sh-ui-kit-forms-ui-slider.mjs.map
|