@ethlete/cdk 4.48.0 → 4.49.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/CHANGELOG.md +12 -0
- package/fesm2022/ethlete-cdk.mjs +964 -880
- package/fesm2022/ethlete-cdk.mjs.map +1 -1
- package/lib/components/bracket/components/new-bracket/bracket-new.d.ts +1620 -0
- package/lib/components/bracket/stories/dummy-data/ET_DUMMY_DATA_DOUBLE_SYNC.d.ts +149 -0
- package/lib/components/bracket/stories/dummy-data/ET_DUMMY_DATA_SINGLE.d.ts +184 -0
- package/lib/components/bracket/stories/dummy-data/ET_DUMMY_DATA_SWISS.d.ts +214 -0
- package/lib/components/bracket/stories/dummy-data/ET_DUMMY_DATE_DOUBLE_ASYNC.d.ts +149 -0
- package/lib/components/bracket/stories/dummy-data/FIFA_DUMMY_DATA_DOUBLE.d.ts +1640 -0
- package/lib/components/bracket/stories/dummy-data/FIFA_DUMMY_DATA_SINGLE.d.ts +2388 -0
- package/lib/components/bracket/stories/dummy-data/index.d.ts +6 -0
- package/lib/components/forms/utils/decorated-form-field.base.d.ts +1 -1
- package/lib/components/forms/utils/decorated-input.base.d.ts +1 -1
- package/lib/components/forms/utils/input.base.d.ts +1 -1
- package/lib/components/overlay/components/bottom-sheet/services/bottom-sheet-base.service.d.ts +1 -1
- package/lib/components/overlay/components/dialog/services/dialog-base.service.d.ts +1 -1
- package/lib/components/query-error/directives/query-error/query-error.directive.d.ts +1 -1
- package/lib/components/tabs/utils/paginated-tab-header.directive.d.ts +1 -1
- package/package.json +8 -10
- package/esm2022/ethlete-cdk.mjs +0 -5
- package/esm2022/index.mjs +0 -24
- package/esm2022/lib/components/accordion/accordion.imports.mjs +0 -15
- package/esm2022/lib/components/accordion/components/accordion/accordion.component.animations.mjs +0 -9
- package/esm2022/lib/components/accordion/components/accordion/accordion.component.constants.mjs +0 -3
- package/esm2022/lib/components/accordion/components/accordion/accordion.component.mjs +0 -76
- package/esm2022/lib/components/accordion/components/accordion/index.mjs +0 -4
- package/esm2022/lib/components/accordion/components/accordion-group/accordion-group.component.mjs +0 -53
- package/esm2022/lib/components/accordion/components/accordion-group/index.mjs +0 -2
- package/esm2022/lib/components/accordion/partials/accordion-hint/accordion-hint.directive.mjs +0 -17
- package/esm2022/lib/components/accordion/partials/accordion-hint/index.mjs +0 -2
- package/esm2022/lib/components/accordion/partials/accordion-hint-wrapper/accordion-hint-wrapper.directive.constants.mjs +0 -3
- package/esm2022/lib/components/accordion/partials/accordion-hint-wrapper/accordion-hint-wrapper.directive.mjs +0 -20
- package/esm2022/lib/components/accordion/partials/accordion-hint-wrapper/index.mjs +0 -3
- package/esm2022/lib/components/accordion/partials/accordion-label/accordion-label.directive.mjs +0 -17
- package/esm2022/lib/components/accordion/partials/accordion-label/index.mjs +0 -2
- package/esm2022/lib/components/accordion/partials/accordion-label-wrapper/accordion-label-wrapper.directive.constants.mjs +0 -3
- package/esm2022/lib/components/accordion/partials/accordion-label-wrapper/accordion-label-wrapper.directive.mjs +0 -20
- package/esm2022/lib/components/accordion/partials/accordion-label-wrapper/index.mjs +0 -3
- package/esm2022/lib/components/accordion/public-api/index.mjs +0 -8
- package/esm2022/lib/components/bracket/bracket.imports.mjs +0 -5
- package/esm2022/lib/components/bracket/components/bracket/bracket.component.mjs +0 -333
- package/esm2022/lib/components/bracket/components/bracket/bracket.component.types.mjs +0 -2
- package/esm2022/lib/components/bracket/components/bracket/index.mjs +0 -3
- package/esm2022/lib/components/bracket/components/new-bracket/bracket-new.mjs +0 -942
- package/esm2022/lib/components/bracket/components/new-bracket/draw-man.mjs +0 -197
- package/esm2022/lib/components/bracket/components/new-bracket/grid-definitions.mjs +0 -47
- package/esm2022/lib/components/bracket/components/new-bracket/grid-placements.mjs +0 -105
- package/esm2022/lib/components/bracket/components/new-bracket/index.mjs +0 -8
- package/esm2022/lib/components/bracket/components/new-bracket/journey-highlight.mjs +0 -18
- package/esm2022/lib/components/bracket/components/new-bracket/new-bracket-default-match.component.mjs +0 -17
- package/esm2022/lib/components/bracket/components/new-bracket/new-bracket-default-round-header.component.mjs +0 -16
- package/esm2022/lib/components/bracket/components/new-bracket/new-bracket.component.mjs +0 -107
- package/esm2022/lib/components/bracket/constants/bracket.constants.mjs +0 -12
- package/esm2022/lib/components/bracket/constants/index.mjs +0 -2
- package/esm2022/lib/components/bracket/directives/bracket-match/bracket-match.directive.mjs +0 -19
- package/esm2022/lib/components/bracket/directives/bracket-match/index.mjs +0 -2
- package/esm2022/lib/components/bracket/directives/bracket-round/bracket-round.directive.mjs +0 -19
- package/esm2022/lib/components/bracket/directives/bracket-round/index.mjs +0 -2
- package/esm2022/lib/components/bracket/partials/bracket-match/bracket-match.component.mjs +0 -19
- package/esm2022/lib/components/bracket/partials/bracket-match/index.mjs +0 -2
- package/esm2022/lib/components/bracket/partials/bracket-round-header/bracket-round-header.component.mjs +0 -19
- package/esm2022/lib/components/bracket/partials/bracket-round-header/index.mjs +0 -2
- package/esm2022/lib/components/bracket/public-api/index.mjs +0 -14
- package/esm2022/lib/components/bracket/types/bracket-config.types.mjs +0 -2
- package/esm2022/lib/components/bracket/types/bracket.types.mjs +0 -2
- package/esm2022/lib/components/bracket/types/index.mjs +0 -3
- package/esm2022/lib/components/bracket/utils/bracket-config.utils.mjs +0 -13
- package/esm2022/lib/components/bracket/utils/bracket.utils.mjs +0 -339
- package/esm2022/lib/components/bracket/utils/index.mjs +0 -3
- package/esm2022/lib/components/button/button.imports.mjs +0 -4
- package/esm2022/lib/components/button/components/button/button.component.mjs +0 -18
- package/esm2022/lib/components/button/components/button/index.mjs +0 -2
- package/esm2022/lib/components/button/components/query-button/index.mjs +0 -2
- package/esm2022/lib/components/button/components/query-button/query-button.component.mjs +0 -26
- package/esm2022/lib/components/button/directives/button/button.directive.mjs +0 -69
- package/esm2022/lib/components/button/directives/button/index.mjs +0 -2
- package/esm2022/lib/components/button/directives/query-button/index.mjs +0 -2
- package/esm2022/lib/components/button/directives/query-button/query-button.directive.mjs +0 -136
- package/esm2022/lib/components/button/public-api/index.mjs +0 -6
- package/esm2022/lib/components/carousel/carousel.component.mjs +0 -51
- package/esm2022/lib/components/carousel/carousel.directive.mjs +0 -150
- package/esm2022/lib/components/carousel/carousel.imports.mjs +0 -12
- package/esm2022/lib/components/carousel/controls/carousel-item-nav.component.mjs +0 -64
- package/esm2022/lib/components/carousel/controls/carousel-item-nav.directive.mjs +0 -34
- package/esm2022/lib/components/carousel/controls/carousel-next-button.directive.mjs +0 -45
- package/esm2022/lib/components/carousel/controls/carousel-previous-button.directive.mjs +0 -45
- package/esm2022/lib/components/carousel/controls/carousel-toggle-auto-play-button.directive.mjs +0 -43
- package/esm2022/lib/components/carousel/controls/index.mjs +0 -6
- package/esm2022/lib/components/carousel/et-carousel-item.component.mjs +0 -24
- package/esm2022/lib/components/carousel/et-carousel-item.directive.mjs +0 -46
- package/esm2022/lib/components/carousel/public-api/index.mjs +0 -7
- package/esm2022/lib/components/filter/public-api/index.mjs +0 -7
- package/esm2022/lib/components/filter/rich-filter/components/rich-filter-host/index.mjs +0 -2
- package/esm2022/lib/components/filter/rich-filter/components/rich-filter-host/rich-filter-host.component.mjs +0 -70
- package/esm2022/lib/components/filter/rich-filter/directives/rich-filter-button/index.mjs +0 -2
- package/esm2022/lib/components/filter/rich-filter/directives/rich-filter-button/rich-filter-button.directive.mjs +0 -32
- package/esm2022/lib/components/filter/rich-filter/directives/rich-filter-button-slot/index.mjs +0 -2
- package/esm2022/lib/components/filter/rich-filter/directives/rich-filter-button-slot/rich-filter-button-slot.directive.mjs +0 -32
- package/esm2022/lib/components/filter/rich-filter/directives/rich-filter-content/index.mjs +0 -2
- package/esm2022/lib/components/filter/rich-filter/directives/rich-filter-content/rich-filter-content.directive.mjs +0 -32
- package/esm2022/lib/components/filter/rich-filter/directives/rich-filter-top/index.mjs +0 -2
- package/esm2022/lib/components/filter/rich-filter/directives/rich-filter-top/rich-filter-top.directive.mjs +0 -29
- package/esm2022/lib/components/filter/rich-filter/rich-filter.imports.mjs +0 -13
- package/esm2022/lib/components/forms/components/checkbox/checkbox.imports.mjs +0 -13
- package/esm2022/lib/components/forms/components/checkbox/components/checkbox/checkbox.component.mjs +0 -24
- package/esm2022/lib/components/forms/components/checkbox/components/checkbox/index.mjs +0 -2
- package/esm2022/lib/components/forms/components/checkbox/components/checkbox-field/checkbox-field.component.mjs +0 -47
- package/esm2022/lib/components/forms/components/checkbox/components/checkbox-field/index.mjs +0 -2
- package/esm2022/lib/components/forms/components/checkbox/components/checkbox-group/checkbox-group.component.mjs +0 -17
- package/esm2022/lib/components/forms/components/checkbox/components/checkbox-group/index.mjs +0 -2
- package/esm2022/lib/components/forms/components/checkbox/directives/checkbox/checkbox.directive.mjs +0 -40
- package/esm2022/lib/components/forms/components/checkbox/directives/checkbox/index.mjs +0 -2
- package/esm2022/lib/components/forms/components/checkbox/directives/checkbox-field/checkbox-field.directive.mjs +0 -39
- package/esm2022/lib/components/forms/components/checkbox/directives/checkbox-field/index.mjs +0 -2
- package/esm2022/lib/components/forms/components/checkbox/directives/checkbox-group/checkbox-group.directive.mjs +0 -83
- package/esm2022/lib/components/forms/components/checkbox/directives/checkbox-group/index.mjs +0 -2
- package/esm2022/lib/components/forms/components/checkbox/directives/checkbox-group-control/checkbox-group-control.directive.mjs +0 -31
- package/esm2022/lib/components/forms/components/checkbox/directives/checkbox-group-control/index.mjs +0 -2
- package/esm2022/lib/components/forms/components/error/components/error/error.component.mjs +0 -55
- package/esm2022/lib/components/forms/components/error/components/error/index.mjs +0 -2
- package/esm2022/lib/components/forms/components/input/components/color-input/color-input.component.mjs +0 -24
- package/esm2022/lib/components/forms/components/input/components/color-input/index.mjs +0 -2
- package/esm2022/lib/components/forms/components/input/components/date-input/date-input.component.mjs +0 -27
- package/esm2022/lib/components/forms/components/input/components/date-input/index.mjs +0 -2
- package/esm2022/lib/components/forms/components/input/components/date-time-input/date-time-input.component.mjs +0 -27
- package/esm2022/lib/components/forms/components/input/components/date-time-input/index.mjs +0 -2
- package/esm2022/lib/components/forms/components/input/components/email-input/email-input.component.mjs +0 -24
- package/esm2022/lib/components/forms/components/input/components/email-input/index.mjs +0 -2
- package/esm2022/lib/components/forms/components/input/components/input-field/index.mjs +0 -2
- package/esm2022/lib/components/forms/components/input/components/input-field/input-field.component.mjs +0 -55
- package/esm2022/lib/components/forms/components/input/components/number-input/index.mjs +0 -2
- package/esm2022/lib/components/forms/components/input/components/number-input/number-input.component.mjs +0 -27
- package/esm2022/lib/components/forms/components/input/components/password-input/index.mjs +0 -2
- package/esm2022/lib/components/forms/components/input/components/password-input/password-input.component.mjs +0 -24
- package/esm2022/lib/components/forms/components/input/components/search-input/index.mjs +0 -2
- package/esm2022/lib/components/forms/components/input/components/search-input/search-input.component.mjs +0 -24
- package/esm2022/lib/components/forms/components/input/components/tel-input/index.mjs +0 -2
- package/esm2022/lib/components/forms/components/input/components/tel-input/tel-input.component.mjs +0 -24
- package/esm2022/lib/components/forms/components/input/components/text-input/index.mjs +0 -2
- package/esm2022/lib/components/forms/components/input/components/text-input/text-input.component.mjs +0 -24
- package/esm2022/lib/components/forms/components/input/components/textarea-input/index.mjs +0 -2
- package/esm2022/lib/components/forms/components/input/components/textarea-input/textarea-input.component.mjs +0 -32
- package/esm2022/lib/components/forms/components/input/components/time-input/index.mjs +0 -2
- package/esm2022/lib/components/forms/components/input/components/time-input/time-input.component.mjs +0 -24
- package/esm2022/lib/components/forms/components/input/directives/autosize-textarea/autosize-textarea.directive.mjs +0 -51
- package/esm2022/lib/components/forms/components/input/directives/autosize-textarea/index.mjs +0 -2
- package/esm2022/lib/components/forms/components/input/directives/color-input/color-input.directive.mjs +0 -50
- package/esm2022/lib/components/forms/components/input/directives/color-input/index.mjs +0 -2
- package/esm2022/lib/components/forms/components/input/directives/date-input/date-input.directive.mjs +0 -61
- package/esm2022/lib/components/forms/components/input/directives/date-input/index.mjs +0 -2
- package/esm2022/lib/components/forms/components/input/directives/date-time-input/date-time-input.directive.mjs +0 -61
- package/esm2022/lib/components/forms/components/input/directives/date-time-input/index.mjs +0 -2
- package/esm2022/lib/components/forms/components/input/directives/email-input/email-input.directive.mjs +0 -50
- package/esm2022/lib/components/forms/components/input/directives/email-input/index.mjs +0 -2
- package/esm2022/lib/components/forms/components/input/directives/if-supports-show-picker/if-supports-show-picker.directive.mjs +0 -78
- package/esm2022/lib/components/forms/components/input/directives/if-supports-show-picker/index.mjs +0 -2
- package/esm2022/lib/components/forms/components/input/directives/number-input/index.mjs +0 -2
- package/esm2022/lib/components/forms/components/input/directives/number-input/number-input.directive.mjs +0 -51
- package/esm2022/lib/components/forms/components/input/directives/password-input/index.mjs +0 -2
- package/esm2022/lib/components/forms/components/input/directives/password-input/password-input.directive.mjs +0 -54
- package/esm2022/lib/components/forms/components/input/directives/search-input/index.mjs +0 -2
- package/esm2022/lib/components/forms/components/input/directives/search-input/search-input.directive.mjs +0 -58
- package/esm2022/lib/components/forms/components/input/directives/show-picker-trigger/index.mjs +0 -2
- package/esm2022/lib/components/forms/components/input/directives/show-picker-trigger/show-picker-trigger.directive.mjs +0 -42
- package/esm2022/lib/components/forms/components/input/directives/tel-input/index.mjs +0 -2
- package/esm2022/lib/components/forms/components/input/directives/tel-input/tel-input.directive.mjs +0 -50
- package/esm2022/lib/components/forms/components/input/directives/text-input/index.mjs +0 -2
- package/esm2022/lib/components/forms/components/input/directives/text-input/text-input.directive.mjs +0 -50
- package/esm2022/lib/components/forms/components/input/directives/textarea-input/index.mjs +0 -2
- package/esm2022/lib/components/forms/components/input/directives/textarea-input/textarea-input.directive.mjs +0 -50
- package/esm2022/lib/components/forms/components/input/directives/time-input/index.mjs +0 -2
- package/esm2022/lib/components/forms/components/input/directives/time-input/time-input.directive.mjs +0 -61
- package/esm2022/lib/components/forms/components/input/input.imports.mjs +0 -47
- package/esm2022/lib/components/forms/components/input/partials/password-input-toggle/index.mjs +0 -2
- package/esm2022/lib/components/forms/components/input/partials/password-input-toggle/password-input-toggle.component.mjs +0 -22
- package/esm2022/lib/components/forms/components/input/partials/search-input-clear/index.mjs +0 -2
- package/esm2022/lib/components/forms/components/input/partials/search-input-clear/search-input-clear.component.mjs +0 -22
- package/esm2022/lib/components/forms/components/label/components/label/index.mjs +0 -2
- package/esm2022/lib/components/forms/components/label/components/label/label.component.mjs +0 -51
- package/esm2022/lib/components/forms/components/label/directives/label-suffix/index.mjs +0 -2
- package/esm2022/lib/components/forms/components/label/directives/label-suffix/label-suffix.directive.mjs +0 -27
- package/esm2022/lib/components/forms/components/label/label.imports.mjs +0 -4
- package/esm2022/lib/components/forms/components/radio/components/radio/index.mjs +0 -2
- package/esm2022/lib/components/forms/components/radio/components/radio/radio.component.mjs +0 -29
- package/esm2022/lib/components/forms/components/radio/components/radio-field/index.mjs +0 -2
- package/esm2022/lib/components/forms/components/radio/components/radio-field/radio-field.component.mjs +0 -27
- package/esm2022/lib/components/forms/components/radio/components/radio-group/index.mjs +0 -2
- package/esm2022/lib/components/forms/components/radio/components/radio-group/radio-group.component.mjs +0 -45
- package/esm2022/lib/components/forms/components/radio/directives/radio/index.mjs +0 -2
- package/esm2022/lib/components/forms/components/radio/directives/radio/radio.directive.mjs +0 -60
- package/esm2022/lib/components/forms/components/radio/directives/radio-field/index.mjs +0 -2
- package/esm2022/lib/components/forms/components/radio/directives/radio-field/radio-field.directive.mjs +0 -36
- package/esm2022/lib/components/forms/components/radio/directives/radio-group/index.mjs +0 -2
- package/esm2022/lib/components/forms/components/radio/directives/radio-group/radio-group.directive.mjs +0 -30
- package/esm2022/lib/components/forms/components/radio/radio.imports.mjs +0 -6
- package/esm2022/lib/components/forms/components/radio/types/index.mjs +0 -2
- package/esm2022/lib/components/forms/components/radio/types/radio.types.mjs +0 -2
- package/esm2022/lib/components/forms/components/segmented-button/components/segmented-button/index.mjs +0 -2
- package/esm2022/lib/components/forms/components/segmented-button/components/segmented-button/segmented-button.component.mjs +0 -38
- package/esm2022/lib/components/forms/components/segmented-button/components/segmented-button-field/index.mjs +0 -2
- package/esm2022/lib/components/forms/components/segmented-button/components/segmented-button-field/segmented-button-field.component.mjs +0 -25
- package/esm2022/lib/components/forms/components/segmented-button/components/segmented-button-group/index.mjs +0 -2
- package/esm2022/lib/components/forms/components/segmented-button/components/segmented-button-group/segmented-button-group.component.mjs +0 -51
- package/esm2022/lib/components/forms/components/segmented-button/directives/segmented-button/index.mjs +0 -2
- package/esm2022/lib/components/forms/components/segmented-button/directives/segmented-button/segmented-button.directive.mjs +0 -70
- package/esm2022/lib/components/forms/components/segmented-button/directives/segmented-button-field/index.mjs +0 -2
- package/esm2022/lib/components/forms/components/segmented-button/directives/segmented-button-field/segmented-button-field.directive.mjs +0 -36
- package/esm2022/lib/components/forms/components/segmented-button/directives/segmented-button-group/index.mjs +0 -2
- package/esm2022/lib/components/forms/components/segmented-button/directives/segmented-button-group/segmented-button-group.directive.mjs +0 -63
- package/esm2022/lib/components/forms/components/segmented-button/segmented-button.imports.mjs +0 -9
- package/esm2022/lib/components/forms/components/select/components/combobox/combobox.imports.mjs +0 -23
- package/esm2022/lib/components/forms/components/select/components/combobox/components/combobox/combobox.component.mjs +0 -78
- package/esm2022/lib/components/forms/components/select/components/combobox/components/combobox/index.mjs +0 -2
- package/esm2022/lib/components/forms/components/select/components/combobox/constants/combobox.constants.mjs +0 -6
- package/esm2022/lib/components/forms/components/select/components/combobox/constants/index.mjs +0 -2
- package/esm2022/lib/components/forms/components/select/components/combobox/directives/combobox/combobox.directive.mjs +0 -658
- package/esm2022/lib/components/forms/components/select/components/combobox/directives/combobox/index.mjs +0 -2
- package/esm2022/lib/components/forms/components/select/components/combobox/directives/combobox-body-empty-template/combobox-body-empty-template.directive.mjs +0 -30
- package/esm2022/lib/components/forms/components/select/components/combobox/directives/combobox-body-empty-template/index.mjs +0 -2
- package/esm2022/lib/components/forms/components/select/components/combobox/directives/combobox-body-error-template/combobox-body-error-template.directive.mjs +0 -30
- package/esm2022/lib/components/forms/components/select/components/combobox/directives/combobox-body-error-template/index.mjs +0 -2
- package/esm2022/lib/components/forms/components/select/components/combobox/directives/combobox-body-loading-template/combobox-body-loading-template.directive.mjs +0 -30
- package/esm2022/lib/components/forms/components/select/components/combobox/directives/combobox-body-loading-template/index.mjs +0 -2
- package/esm2022/lib/components/forms/components/select/components/combobox/directives/combobox-body-more-items-hint-template/combobox-body-more-items-hint-template.directive.mjs +0 -30
- package/esm2022/lib/components/forms/components/select/components/combobox/directives/combobox-body-more-items-hint-template/index.mjs +0 -2
- package/esm2022/lib/components/forms/components/select/components/combobox/directives/combobox-option-template/combobox-option-template.directive.mjs +0 -30
- package/esm2022/lib/components/forms/components/select/components/combobox/directives/combobox-option-template/index.mjs +0 -2
- package/esm2022/lib/components/forms/components/select/components/combobox/directives/combobox-selected-option-template/combobox-selected-option-template.directive.mjs +0 -30
- package/esm2022/lib/components/forms/components/select/components/combobox/directives/combobox-selected-option-template/index.mjs +0 -2
- package/esm2022/lib/components/forms/components/select/components/combobox/partials/combobox-body/combobox-body.component.mjs +0 -78
- package/esm2022/lib/components/forms/components/select/components/combobox/partials/combobox-body/index.mjs +0 -2
- package/esm2022/lib/components/forms/components/select/components/combobox/partials/combobox-option/combobox-option.component.mjs +0 -71
- package/esm2022/lib/components/forms/components/select/components/combobox/partials/combobox-option/index.mjs +0 -2
- package/esm2022/lib/components/forms/components/select/components/combobox/private/combobox.private.errors.mjs +0 -22
- package/esm2022/lib/components/forms/components/select/components/combobox/private/combobox.private.types.mjs +0 -5
- package/esm2022/lib/components/forms/components/select/components/combobox/private/index.mjs +0 -3
- package/esm2022/lib/components/forms/components/select/components/combobox/types/combobox.types.mjs +0 -2
- package/esm2022/lib/components/forms/components/select/components/combobox/types/index.mjs +0 -2
- package/esm2022/lib/components/forms/components/select/components/combobox/utils/combobox-config.utils.mjs +0 -13
- package/esm2022/lib/components/forms/components/select/components/combobox/utils/index.mjs +0 -2
- package/esm2022/lib/components/forms/components/select/components/native-select/components/native-select/index.mjs +0 -2
- package/esm2022/lib/components/forms/components/select/components/native-select/components/native-select/native-select.component.mjs +0 -24
- package/esm2022/lib/components/forms/components/select/components/native-select/directives/native-select-input/index.mjs +0 -2
- package/esm2022/lib/components/forms/components/select/components/native-select/directives/native-select-input/native-select-input.directive.mjs +0 -58
- package/esm2022/lib/components/forms/components/select/components/native-select/directives/native-select-option/index.mjs +0 -2
- package/esm2022/lib/components/forms/components/select/components/native-select/directives/native-select-option/native-select-option.directive.mjs +0 -45
- package/esm2022/lib/components/forms/components/select/components/native-select/native-select.imports.mjs +0 -19
- package/esm2022/lib/components/forms/components/select/components/native-select/partials/native-select-option/index.mjs +0 -2
- package/esm2022/lib/components/forms/components/select/components/native-select/partials/native-select-option/native-select-option.component.mjs +0 -32
- package/esm2022/lib/components/forms/components/select/components/native-select/types/index.mjs +0 -2
- package/esm2022/lib/components/forms/components/select/components/native-select/types/select.types.mjs +0 -2
- package/esm2022/lib/components/forms/components/select/components/select/components/select/index.mjs +0 -2
- package/esm2022/lib/components/forms/components/select/components/select/components/select/select.component.mjs +0 -37
- package/esm2022/lib/components/forms/components/select/components/select/directives/select/index.mjs +0 -2
- package/esm2022/lib/components/forms/components/select/components/select/directives/select/select.directive.mjs +0 -303
- package/esm2022/lib/components/forms/components/select/components/select/directives/select-body/index.mjs +0 -2
- package/esm2022/lib/components/forms/components/select/components/select/directives/select-body/select-body.directive.mjs +0 -53
- package/esm2022/lib/components/forms/components/select/components/select/directives/select-option/index.mjs +0 -2
- package/esm2022/lib/components/forms/components/select/components/select/directives/select-option/select-option.directive.mjs +0 -106
- package/esm2022/lib/components/forms/components/select/components/select/partials/select-body/index.mjs +0 -2
- package/esm2022/lib/components/forms/components/select/components/select/partials/select-body/select-body.component.mjs +0 -41
- package/esm2022/lib/components/forms/components/select/components/select/partials/select-option/index.mjs +0 -2
- package/esm2022/lib/components/forms/components/select/components/select/partials/select-option/select-option.component.mjs +0 -28
- package/esm2022/lib/components/forms/components/select/components/select/private/index.mjs +0 -2
- package/esm2022/lib/components/forms/components/select/components/select/private/select.private.types.mjs +0 -2
- package/esm2022/lib/components/forms/components/select/components/select/select.imports.mjs +0 -15
- package/esm2022/lib/components/forms/components/select/components/select-field/index.mjs +0 -2
- package/esm2022/lib/components/forms/components/select/components/select-field/select-field.component.mjs +0 -58
- package/esm2022/lib/components/forms/components/select/directives/select-field/index.mjs +0 -2
- package/esm2022/lib/components/forms/components/select/directives/select-field/select-field.directive.mjs +0 -19
- package/esm2022/lib/components/forms/components/selection-list/components/selection-list-field/index.mjs +0 -2
- package/esm2022/lib/components/forms/components/selection-list/components/selection-list-field/selection-list-field.component.mjs +0 -40
- package/esm2022/lib/components/forms/components/selection-list/components/selection-list-option/index.mjs +0 -2
- package/esm2022/lib/components/forms/components/selection-list/components/selection-list-option/selection-list-option.component.mjs +0 -29
- package/esm2022/lib/components/forms/components/selection-list/directives/selection-list-field/index.mjs +0 -2
- package/esm2022/lib/components/forms/components/selection-list/directives/selection-list-field/selection-list-field.directive.mjs +0 -125
- package/esm2022/lib/components/forms/components/selection-list/directives/selection-list-option/index.mjs +0 -2
- package/esm2022/lib/components/forms/components/selection-list/directives/selection-list-option/selection-list-option.directive.mjs +0 -110
- package/esm2022/lib/components/forms/components/selection-list/selection-list.imports.mjs +0 -4
- package/esm2022/lib/components/forms/components/slide-toggle/components/slide-toggle/index.mjs +0 -2
- package/esm2022/lib/components/forms/components/slide-toggle/components/slide-toggle/slide-toggle.component.mjs +0 -24
- package/esm2022/lib/components/forms/components/slide-toggle/components/slide-toggle-field/index.mjs +0 -2
- package/esm2022/lib/components/forms/components/slide-toggle/components/slide-toggle-field/slide-toggle-field.component.mjs +0 -53
- package/esm2022/lib/components/forms/components/slide-toggle/directives/slide-toggle/index.mjs +0 -2
- package/esm2022/lib/components/forms/components/slide-toggle/directives/slide-toggle/slide-toggle.directive.mjs +0 -38
- package/esm2022/lib/components/forms/components/slide-toggle/slide-toggle.imports.mjs +0 -5
- package/esm2022/lib/components/forms/components/slider/components/slider/index.mjs +0 -2
- package/esm2022/lib/components/forms/components/slider/components/slider/slider.component.mjs +0 -331
- package/esm2022/lib/components/forms/components/slider/components/slider-field/index.mjs +0 -2
- package/esm2022/lib/components/forms/components/slider/components/slider-field/slider-field.component.mjs +0 -53
- package/esm2022/lib/components/forms/components/slider/slider.imports.mjs +0 -5
- package/esm2022/lib/components/forms/directives/dynamic-form-field/dynamic-form-field.directive.mjs +0 -41
- package/esm2022/lib/components/forms/directives/dynamic-form-field/index.mjs +0 -2
- package/esm2022/lib/components/forms/directives/dynamic-form-group/dynamic-form-group.directive.mjs +0 -41
- package/esm2022/lib/components/forms/directives/dynamic-form-group/index.mjs +0 -2
- package/esm2022/lib/components/forms/directives/expose-input-vars/expose-input-vars.directive.mjs +0 -83
- package/esm2022/lib/components/forms/directives/expose-input-vars/index.mjs +0 -2
- package/esm2022/lib/components/forms/directives/if-input-empty/if-input-empty.directive.mjs +0 -40
- package/esm2022/lib/components/forms/directives/if-input-empty/index.mjs +0 -2
- package/esm2022/lib/components/forms/directives/if-input-filled/if-input-filled.directive.mjs +0 -40
- package/esm2022/lib/components/forms/directives/if-input-filled/index.mjs +0 -2
- package/esm2022/lib/components/forms/directives/input/index.mjs +0 -2
- package/esm2022/lib/components/forms/directives/input/input.directive.mjs +0 -314
- package/esm2022/lib/components/forms/directives/input-prefix/index.mjs +0 -2
- package/esm2022/lib/components/forms/directives/input-prefix/input-prefix.directive.mjs +0 -30
- package/esm2022/lib/components/forms/directives/input-suffix/index.mjs +0 -2
- package/esm2022/lib/components/forms/directives/input-suffix/input-suffix.directive.mjs +0 -30
- package/esm2022/lib/components/forms/directives/native-input-ref/index.mjs +0 -2
- package/esm2022/lib/components/forms/directives/native-input-ref/native-input-ref.directive.mjs +0 -19
- package/esm2022/lib/components/forms/directives/static-form-field/index.mjs +0 -2
- package/esm2022/lib/components/forms/directives/static-form-field/static-form-field.directive.mjs +0 -76
- package/esm2022/lib/components/forms/directives/static-form-group/index.mjs +0 -2
- package/esm2022/lib/components/forms/directives/static-form-group/static-form-group.directive.mjs +0 -29
- package/esm2022/lib/components/forms/directives/writeable-input/index.mjs +0 -2
- package/esm2022/lib/components/forms/directives/writeable-input/writeable-input.directive.mjs +0 -57
- package/esm2022/lib/components/forms/public-api/index.mjs +0 -113
- package/esm2022/lib/components/forms/services/default-validator-errors.service.mjs +0 -54
- package/esm2022/lib/components/forms/services/form-field-state.service.mjs +0 -32
- package/esm2022/lib/components/forms/services/form-group-state.service.mjs +0 -21
- package/esm2022/lib/components/forms/services/index.mjs +0 -5
- package/esm2022/lib/components/forms/services/input-state.service.mjs +0 -72
- package/esm2022/lib/components/forms/types/index.mjs +0 -2
- package/esm2022/lib/components/forms/types/input.types.mjs +0 -2
- package/esm2022/lib/components/forms/utils/decorated-form-field.base.mjs +0 -19
- package/esm2022/lib/components/forms/utils/decorated-input.base.mjs +0 -48
- package/esm2022/lib/components/forms/utils/form-changes-tracker.util.mjs +0 -31
- package/esm2022/lib/components/forms/utils/index.mjs +0 -5
- package/esm2022/lib/components/forms/utils/input.base.mjs +0 -27
- package/esm2022/lib/components/icons/chevron-icon/chevron-icon.component.mjs +0 -37
- package/esm2022/lib/components/icons/chevron-icon/index.mjs +0 -2
- package/esm2022/lib/components/icons/icon.imports.mjs +0 -4
- package/esm2022/lib/components/icons/public-api/index.mjs +0 -4
- package/esm2022/lib/components/icons/times-icon/index.mjs +0 -2
- package/esm2022/lib/components/icons/times-icon/times-icon.component.mjs +0 -37
- package/esm2022/lib/components/masonry/components/masonry/index.mjs +0 -2
- package/esm2022/lib/components/masonry/components/masonry/masonry.component.mjs +0 -213
- package/esm2022/lib/components/masonry/masonry.imports.mjs +0 -4
- package/esm2022/lib/components/masonry/partials/masonry-item/index.mjs +0 -2
- package/esm2022/lib/components/masonry/partials/masonry-item/masonry-item.component.mjs +0 -74
- package/esm2022/lib/components/masonry/public-api/index.mjs +0 -5
- package/esm2022/lib/components/masonry/types/index.mjs +0 -2
- package/esm2022/lib/components/masonry/types/masonry.types.mjs +0 -2
- package/esm2022/lib/components/overlay/components/bottom-sheet/bottom-sheet.imports.mjs +0 -21
- package/esm2022/lib/components/overlay/components/bottom-sheet/components/bottom-sheet-container/bottom-sheet-container.component.mjs +0 -54
- package/esm2022/lib/components/overlay/components/bottom-sheet/components/bottom-sheet-container/index.mjs +0 -2
- package/esm2022/lib/components/overlay/components/bottom-sheet/constants/bottom-sheet.constants.mjs +0 -56
- package/esm2022/lib/components/overlay/components/bottom-sheet/constants/index.mjs +0 -2
- package/esm2022/lib/components/overlay/components/bottom-sheet/partials/bottom-sheet-container-base/bottom-sheet-container-base.component.mjs +0 -46
- package/esm2022/lib/components/overlay/components/bottom-sheet/partials/bottom-sheet-container-base/index.mjs +0 -2
- package/esm2022/lib/components/overlay/components/bottom-sheet/partials/bottom-sheet-drag-handle/bottom-sheet-drag-handle.component.mjs +0 -115
- package/esm2022/lib/components/overlay/components/bottom-sheet/partials/bottom-sheet-drag-handle/index.mjs +0 -2
- package/esm2022/lib/components/overlay/components/bottom-sheet/partials/bottom-sheet-title/bottom-sheet-title.directive.mjs +0 -42
- package/esm2022/lib/components/overlay/components/bottom-sheet/partials/bottom-sheet-title/index.mjs +0 -2
- package/esm2022/lib/components/overlay/components/bottom-sheet/services/bottom-sheet-base.service.mjs +0 -117
- package/esm2022/lib/components/overlay/components/bottom-sheet/services/bottom-sheet-swipe-handler.service.mjs +0 -57
- package/esm2022/lib/components/overlay/components/bottom-sheet/services/bottom-sheet.service.mjs +0 -34
- package/esm2022/lib/components/overlay/components/bottom-sheet/services/index.mjs +0 -4
- package/esm2022/lib/components/overlay/components/bottom-sheet/types/bottom-sheet.types.mjs +0 -2
- package/esm2022/lib/components/overlay/components/bottom-sheet/types/index.mjs +0 -2
- package/esm2022/lib/components/overlay/components/bottom-sheet/utils/bottom-sheet-config.mjs +0 -10
- package/esm2022/lib/components/overlay/components/bottom-sheet/utils/bottom-sheet-ref.mjs +0 -96
- package/esm2022/lib/components/overlay/components/bottom-sheet/utils/bottom-sheet.utils.mjs +0 -22
- package/esm2022/lib/components/overlay/components/bottom-sheet/utils/index.mjs +0 -4
- package/esm2022/lib/components/overlay/components/dialog/components/dialog-container/dialog-container.component.mjs +0 -54
- package/esm2022/lib/components/overlay/components/dialog/components/dialog-container/index.mjs +0 -2
- package/esm2022/lib/components/overlay/components/dialog/constants/dialog.constants.mjs +0 -52
- package/esm2022/lib/components/overlay/components/dialog/constants/index.mjs +0 -2
- package/esm2022/lib/components/overlay/components/dialog/dialog.imports.mjs +0 -17
- package/esm2022/lib/components/overlay/components/dialog/partials/dialog-close/dialog-close.directive.mjs +0 -67
- package/esm2022/lib/components/overlay/components/dialog/partials/dialog-close/index.mjs +0 -2
- package/esm2022/lib/components/overlay/components/dialog/partials/dialog-container-base/dialog-container-base.component.mjs +0 -46
- package/esm2022/lib/components/overlay/components/dialog/partials/dialog-container-base/index.mjs +0 -2
- package/esm2022/lib/components/overlay/components/dialog/partials/dialog-title/dialog-title.directive.mjs +0 -42
- package/esm2022/lib/components/overlay/components/dialog/partials/dialog-title/index.mjs +0 -2
- package/esm2022/lib/components/overlay/components/dialog/services/dialog-base.service.mjs +0 -112
- package/esm2022/lib/components/overlay/components/dialog/services/dialog.service.mjs +0 -34
- package/esm2022/lib/components/overlay/components/dialog/services/index.mjs +0 -3
- package/esm2022/lib/components/overlay/components/dialog/types/dialog.types.mjs +0 -2
- package/esm2022/lib/components/overlay/components/dialog/types/index.mjs +0 -2
- package/esm2022/lib/components/overlay/components/dialog/utils/dialog-config.mjs +0 -10
- package/esm2022/lib/components/overlay/components/dialog/utils/dialog-ref.mjs +0 -127
- package/esm2022/lib/components/overlay/components/dialog/utils/dialog.utils.mjs +0 -22
- package/esm2022/lib/components/overlay/components/dialog/utils/index.mjs +0 -4
- package/esm2022/lib/components/overlay/components/menu/components/menu/index.mjs +0 -2
- package/esm2022/lib/components/overlay/components/menu/components/menu/menu.component.mjs +0 -202
- package/esm2022/lib/components/overlay/components/menu/components/menu-checkbox-item/index.mjs +0 -2
- package/esm2022/lib/components/overlay/components/menu/components/menu-checkbox-item/menu-checkbox-item.component.mjs +0 -86
- package/esm2022/lib/components/overlay/components/menu/components/menu-container/index.mjs +0 -2
- package/esm2022/lib/components/overlay/components/menu/components/menu-container/menu-container.component.mjs +0 -47
- package/esm2022/lib/components/overlay/components/menu/components/menu-radio-item/index.mjs +0 -2
- package/esm2022/lib/components/overlay/components/menu/components/menu-radio-item/menu-radio-item.component.mjs +0 -77
- package/esm2022/lib/components/overlay/components/menu/directives/menu-checkbox-group/index.mjs +0 -2
- package/esm2022/lib/components/overlay/components/menu/directives/menu-checkbox-group/menu-checkbox-group.directive.mjs +0 -31
- package/esm2022/lib/components/overlay/components/menu/directives/menu-group/index.mjs +0 -2
- package/esm2022/lib/components/overlay/components/menu/directives/menu-group/menu-group.directive.mjs +0 -43
- package/esm2022/lib/components/overlay/components/menu/directives/menu-group-title/index.mjs +0 -2
- package/esm2022/lib/components/overlay/components/menu/directives/menu-group-title/menu-group-title.directive.mjs +0 -41
- package/esm2022/lib/components/overlay/components/menu/directives/menu-item/index.mjs +0 -2
- package/esm2022/lib/components/overlay/components/menu/directives/menu-item/menu-item.directive.mjs +0 -98
- package/esm2022/lib/components/overlay/components/menu/directives/menu-radio-group/index.mjs +0 -2
- package/esm2022/lib/components/overlay/components/menu/directives/menu-radio-group/menu-radio-group.directive.mjs +0 -45
- package/esm2022/lib/components/overlay/components/menu/directives/menu-search-template/index.mjs +0 -2
- package/esm2022/lib/components/overlay/components/menu/directives/menu-search-template/menu-search-template.directive.mjs +0 -29
- package/esm2022/lib/components/overlay/components/menu/directives/menu-trigger/index.mjs +0 -2
- package/esm2022/lib/components/overlay/components/menu/directives/menu-trigger/menu-trigger.directive.mjs +0 -183
- package/esm2022/lib/components/overlay/components/menu/menu.imports.mjs +0 -23
- package/esm2022/lib/components/overlay/components/menu-deprecated/context-menu-trigger.mjs +0 -165
- package/esm2022/lib/components/overlay/components/menu-deprecated/index.mjs +0 -17
- package/esm2022/lib/components/overlay/components/menu-deprecated/menu-aim.mjs +0 -136
- package/esm2022/lib/components/overlay/components/menu-deprecated/menu-bar.mjs +0 -112
- package/esm2022/lib/components/overlay/components/menu-deprecated/menu-base.mjs +0 -171
- package/esm2022/lib/components/overlay/components/menu-deprecated/menu-errors.mjs +0 -7
- package/esm2022/lib/components/overlay/components/menu-deprecated/menu-group.mjs +0 -25
- package/esm2022/lib/components/overlay/components/menu-deprecated/menu-interface.mjs +0 -3
- package/esm2022/lib/components/overlay/components/menu-deprecated/menu-item-checkbox.mjs +0 -38
- package/esm2022/lib/components/overlay/components/menu-deprecated/menu-item-radio.mjs +0 -55
- package/esm2022/lib/components/overlay/components/menu-deprecated/menu-item-selectable.mjs +0 -38
- package/esm2022/lib/components/overlay/components/menu-deprecated/menu-item.mjs +0 -212
- package/esm2022/lib/components/overlay/components/menu-deprecated/menu-module.mjs +0 -58
- package/esm2022/lib/components/overlay/components/menu-deprecated/menu-stack.mjs +0 -99
- package/esm2022/lib/components/overlay/components/menu-deprecated/menu-trigger-base.mjs +0 -80
- package/esm2022/lib/components/overlay/components/menu-deprecated/menu-trigger.mjs +0 -250
- package/esm2022/lib/components/overlay/components/menu-deprecated/menu.mjs +0 -115
- package/esm2022/lib/components/overlay/components/menu-deprecated/pointer-focus-tracker.mjs +0 -29
- package/esm2022/lib/components/overlay/components/overlay/components/overlay-container/index.mjs +0 -2
- package/esm2022/lib/components/overlay/components/overlay/components/overlay-container/overlay-container.component.mjs +0 -287
- package/esm2022/lib/components/overlay/components/overlay/constants/index.mjs +0 -2
- package/esm2022/lib/components/overlay/components/overlay/constants/overlay.constants.mjs +0 -26
- package/esm2022/lib/components/overlay/components/overlay/overlay.imports.mjs +0 -40
- package/esm2022/lib/components/overlay/components/overlay/partials/overlay-back-or-close/index.mjs +0 -2
- package/esm2022/lib/components/overlay/components/overlay/partials/overlay-back-or-close/overlay-back-or-close.directive.mjs +0 -43
- package/esm2022/lib/components/overlay/components/overlay/partials/overlay-body/index.mjs +0 -2
- package/esm2022/lib/components/overlay/components/overlay/partials/overlay-body/overlay-body.component.mjs +0 -134
- package/esm2022/lib/components/overlay/components/overlay/partials/overlay-close/index.mjs +0 -2
- package/esm2022/lib/components/overlay/components/overlay/partials/overlay-close/overlay-close.directive.mjs +0 -61
- package/esm2022/lib/components/overlay/components/overlay/partials/overlay-footer/index.mjs +0 -2
- package/esm2022/lib/components/overlay/components/overlay/partials/overlay-footer/overlay-footer.directive.mjs +0 -45
- package/esm2022/lib/components/overlay/components/overlay/partials/overlay-header/index.mjs +0 -2
- package/esm2022/lib/components/overlay/components/overlay/partials/overlay-header/overlay-header.directive.mjs +0 -45
- package/esm2022/lib/components/overlay/components/overlay/partials/overlay-header-template/index.mjs +0 -2
- package/esm2022/lib/components/overlay/components/overlay/partials/overlay-header-template/overlay-header-template.directive.mjs +0 -50
- package/esm2022/lib/components/overlay/components/overlay/partials/overlay-main/index.mjs +0 -2
- package/esm2022/lib/components/overlay/components/overlay/partials/overlay-main/overlay-main.directive.mjs +0 -53
- package/esm2022/lib/components/overlay/components/overlay/partials/overlay-route-header-template-outlet/index.mjs +0 -2
- package/esm2022/lib/components/overlay/components/overlay/partials/overlay-route-header-template-outlet/overlay-route-header-template-outlet.component.mjs +0 -41
- package/esm2022/lib/components/overlay/components/overlay/partials/overlay-router-link/index.mjs +0 -2
- package/esm2022/lib/components/overlay/components/overlay/partials/overlay-router-link/overlay-router-link.directive.mjs +0 -46
- package/esm2022/lib/components/overlay/components/overlay/partials/overlay-router-outlet/index.mjs +0 -2
- package/esm2022/lib/components/overlay/components/overlay/partials/overlay-router-outlet/overlay-router-outlet.component.mjs +0 -137
- package/esm2022/lib/components/overlay/components/overlay/partials/overlay-router-outlet-disabled-template/index.mjs +0 -2
- package/esm2022/lib/components/overlay/components/overlay/partials/overlay-router-outlet-disabled-template/overlay-router-outlet-disabled-template.directive.mjs +0 -26
- package/esm2022/lib/components/overlay/components/overlay/partials/overlay-shared-route-template/index.mjs +0 -2
- package/esm2022/lib/components/overlay/components/overlay/partials/overlay-shared-route-template/overlay-shared-route-template.directive.mjs +0 -26
- package/esm2022/lib/components/overlay/components/overlay/partials/overlay-shared-route-template-outlet/index.mjs +0 -2
- package/esm2022/lib/components/overlay/components/overlay/partials/overlay-shared-route-template-outlet/overlay-shared-route-template-outlet.component.mjs +0 -26
- package/esm2022/lib/components/overlay/components/overlay/partials/overlay-sidebar/index.mjs +0 -2
- package/esm2022/lib/components/overlay/components/overlay/partials/overlay-sidebar/overlay-sidebar.component.mjs +0 -54
- package/esm2022/lib/components/overlay/components/overlay/partials/overlay-sidebar-page/index.mjs +0 -2
- package/esm2022/lib/components/overlay/components/overlay/partials/overlay-sidebar-page/overlay-sidebar-page.component.mjs +0 -52
- package/esm2022/lib/components/overlay/components/overlay/partials/overlay-title/index.mjs +0 -2
- package/esm2022/lib/components/overlay/components/overlay/partials/overlay-title/overlay-title.directive.mjs +0 -39
- package/esm2022/lib/components/overlay/components/overlay/services/index.mjs +0 -2
- package/esm2022/lib/components/overlay/components/overlay/services/overlay.service.mjs +0 -313
- package/esm2022/lib/components/overlay/components/overlay/types/index.mjs +0 -2
- package/esm2022/lib/components/overlay/components/overlay/types/overlay.types.mjs +0 -6
- package/esm2022/lib/components/overlay/components/overlay/utils/filter-overlay.mjs +0 -124
- package/esm2022/lib/components/overlay/components/overlay/utils/index.mjs +0 -10
- package/esm2022/lib/components/overlay/components/overlay/utils/overlay-config.mjs +0 -7
- package/esm2022/lib/components/overlay/components/overlay/utils/overlay-handler-link.directive.mjs +0 -33
- package/esm2022/lib/components/overlay/components/overlay/utils/overlay-handler.mjs +0 -159
- package/esm2022/lib/components/overlay/components/overlay/utils/overlay-position-builder.mjs +0 -224
- package/esm2022/lib/components/overlay/components/overlay/utils/overlay-ref.mjs +0 -173
- package/esm2022/lib/components/overlay/components/overlay/utils/overlay-router.mjs +0 -190
- package/esm2022/lib/components/overlay/components/overlay/utils/overlay.utils.mjs +0 -13
- package/esm2022/lib/components/overlay/components/overlay/utils/sidebar-overlay.mjs +0 -54
- package/esm2022/lib/components/overlay/components/toggletip/components/toggletip/index.mjs +0 -2
- package/esm2022/lib/components/overlay/components/toggletip/components/toggletip/toggletip.component.mjs +0 -69
- package/esm2022/lib/components/overlay/components/toggletip/constants/index.mjs +0 -2
- package/esm2022/lib/components/overlay/components/toggletip/constants/toggletip.constants.mjs +0 -12
- package/esm2022/lib/components/overlay/components/toggletip/directives/toggletip/index.mjs +0 -2
- package/esm2022/lib/components/overlay/components/toggletip/directives/toggletip/toggletip.directive.mjs +0 -136
- package/esm2022/lib/components/overlay/components/toggletip/partials/toggletip-close/index.mjs +0 -2
- package/esm2022/lib/components/overlay/components/toggletip/partials/toggletip-close/toggletip-close.directive.mjs +0 -25
- package/esm2022/lib/components/overlay/components/toggletip/toggletip.imports.mjs +0 -3
- package/esm2022/lib/components/overlay/components/toggletip/types/index.mjs +0 -2
- package/esm2022/lib/components/overlay/components/toggletip/types/toggletip.types.mjs +0 -2
- package/esm2022/lib/components/overlay/components/toggletip/utils/index.mjs +0 -3
- package/esm2022/lib/components/overlay/components/toggletip/utils/toggletip-config.mjs +0 -6
- package/esm2022/lib/components/overlay/components/toggletip/utils/toggletip.util.mjs +0 -6
- package/esm2022/lib/components/overlay/components/tooltip/components/tooltip/index.mjs +0 -2
- package/esm2022/lib/components/overlay/components/tooltip/components/tooltip/tooltip.component.mjs +0 -67
- package/esm2022/lib/components/overlay/components/tooltip/constants/index.mjs +0 -2
- package/esm2022/lib/components/overlay/components/tooltip/constants/tooltip.constants.mjs +0 -12
- package/esm2022/lib/components/overlay/components/tooltip/directives/tooltip/index.mjs +0 -2
- package/esm2022/lib/components/overlay/components/tooltip/directives/tooltip/tooltip.directive.mjs +0 -171
- package/esm2022/lib/components/overlay/components/tooltip/tooltip.imports.mjs +0 -3
- package/esm2022/lib/components/overlay/components/tooltip/types/index.mjs +0 -2
- package/esm2022/lib/components/overlay/components/tooltip/types/tooltip.types.mjs +0 -2
- package/esm2022/lib/components/overlay/components/tooltip/utils/index.mjs +0 -3
- package/esm2022/lib/components/overlay/components/tooltip/utils/tooltip-config.mjs +0 -6
- package/esm2022/lib/components/overlay/components/tooltip/utils/tooltip.util.mjs +0 -6
- package/esm2022/lib/components/overlay/directives/dynamic-overlay-title/dynamic-overlay-title.directive.mjs +0 -49
- package/esm2022/lib/components/overlay/directives/dynamic-overlay-title/index.mjs +0 -2
- package/esm2022/lib/components/overlay/directives/overlay-close-auto-blocker/index.mjs +0 -2
- package/esm2022/lib/components/overlay/directives/overlay-close-auto-blocker/overlay-close-auto-blocker.directive.mjs +0 -51
- package/esm2022/lib/components/overlay/public-api/index.mjs +0 -72
- package/esm2022/lib/components/overlay/services/dynamic-overlay.service.mjs +0 -31
- package/esm2022/lib/components/overlay/services/index.mjs +0 -2
- package/esm2022/lib/components/overlay/types/dynamic-overlay.types.mjs +0 -2
- package/esm2022/lib/components/overlay/types/index.mjs +0 -2
- package/esm2022/lib/components/overlay/utils/index.mjs +0 -2
- package/esm2022/lib/components/overlay/utils/overlay-dismiss-checker.util.mjs +0 -105
- package/esm2022/lib/components/pagination/components/pagination/index.mjs +0 -2
- package/esm2022/lib/components/pagination/components/pagination/pagination.component.mjs +0 -110
- package/esm2022/lib/components/pagination/pagination.imports.mjs +0 -3
- package/esm2022/lib/components/pagination/partials/pagination-link/index.mjs +0 -2
- package/esm2022/lib/components/pagination/partials/pagination-link/pagination-link.directive.mjs +0 -32
- package/esm2022/lib/components/pagination/public-api/index.mjs +0 -7
- package/esm2022/lib/components/pagination/services/index.mjs +0 -2
- package/esm2022/lib/components/pagination/services/pagination-head.service.mjs +0 -74
- package/esm2022/lib/components/pagination/types/index.mjs +0 -2
- package/esm2022/lib/components/pagination/types/pagination.types.mjs +0 -2
- package/esm2022/lib/components/pagination/utils/index.mjs +0 -2
- package/esm2022/lib/components/pagination/utils/pagination.util.mjs +0 -98
- package/esm2022/lib/components/picture/components/picture/index.mjs +0 -2
- package/esm2022/lib/components/picture/components/picture/picture.component.mjs +0 -56
- package/esm2022/lib/components/picture/public-api/index.mjs +0 -4
- package/esm2022/lib/components/picture/types/picture.types.mjs +0 -2
- package/esm2022/lib/components/picture/utils/picture.utils.mjs +0 -31
- package/esm2022/lib/components/progress-spinner/index.mjs +0 -2
- package/esm2022/lib/components/progress-spinner/progress-spinner.component.mjs +0 -94
- package/esm2022/lib/components/query-error/components/query-error/index.mjs +0 -2
- package/esm2022/lib/components/query-error/components/query-error/query-error.component.mjs +0 -27
- package/esm2022/lib/components/query-error/directives/query-error/index.mjs +0 -2
- package/esm2022/lib/components/query-error/directives/query-error/query-error.directive.mjs +0 -432
- package/esm2022/lib/components/query-error/public-api/index.mjs +0 -4
- package/esm2022/lib/components/query-error/types/index.mjs +0 -2
- package/esm2022/lib/components/query-error/types/query-error.types.mjs +0 -2
- package/esm2022/lib/components/scrollable/components/scrollable/index.mjs +0 -2
- package/esm2022/lib/components/scrollable/components/scrollable/scrollable.component.mjs +0 -510
- package/esm2022/lib/components/scrollable/components/scrollable-placeholder/index.mjs +0 -2
- package/esm2022/lib/components/scrollable/components/scrollable-placeholder/scrollable-placeholder.component.mjs +0 -26
- package/esm2022/lib/components/scrollable/directives/scrollable-ignore-child/index.mjs +0 -2
- package/esm2022/lib/components/scrollable/directives/scrollable-ignore-child/scrollable-ignore-child.directive.mjs +0 -44
- package/esm2022/lib/components/scrollable/directives/scrollable-is-active-child/index.mjs +0 -2
- package/esm2022/lib/components/scrollable/directives/scrollable-is-active-child/scrollable-is-active-child.directive.mjs +0 -45
- package/esm2022/lib/components/scrollable/directives/scrollable-loading-template/index.mjs +0 -2
- package/esm2022/lib/components/scrollable/directives/scrollable-loading-template/scrollable-loading-template.directive.mjs +0 -31
- package/esm2022/lib/components/scrollable/directives/scrollable-placeholder-item-template/index.mjs +0 -2
- package/esm2022/lib/components/scrollable/directives/scrollable-placeholder-item-template/scrollable-placeholder-item-template.directive.mjs +0 -26
- package/esm2022/lib/components/scrollable/directives/scrollable-placeholder-overlay-template/index.mjs +0 -2
- package/esm2022/lib/components/scrollable/directives/scrollable-placeholder-overlay-template/scrollable-placeholder-overlay-template.directive.mjs +0 -26
- package/esm2022/lib/components/scrollable/public-api/index.mjs +0 -10
- package/esm2022/lib/components/scrollable/scrollable.imports.mjs +0 -17
- package/esm2022/lib/components/scrollable/types/index.mjs +0 -2
- package/esm2022/lib/components/scrollable/types/scrollable.types.mjs +0 -2
- package/esm2022/lib/components/skeleton/components/skeleton/index.mjs +0 -2
- package/esm2022/lib/components/skeleton/components/skeleton/skeleton.component.mjs +0 -25
- package/esm2022/lib/components/skeleton/partials/skeleton-item/index.mjs +0 -2
- package/esm2022/lib/components/skeleton/partials/skeleton-item/skeleton-item.component.mjs +0 -19
- package/esm2022/lib/components/skeleton/public-api/index.mjs +0 -4
- package/esm2022/lib/components/skeleton/skeleton.imports.mjs +0 -4
- package/esm2022/lib/components/sort/components/sort-header/index.mjs +0 -3
- package/esm2022/lib/components/sort/components/sort-header/sort-header.component.mjs +0 -198
- package/esm2022/lib/components/sort/components/sort-header/sort-header.types.mjs +0 -2
- package/esm2022/lib/components/sort/partials/sort/index.mjs +0 -3
- package/esm2022/lib/components/sort/partials/sort/sort.directive.mjs +0 -184
- package/esm2022/lib/components/sort/partials/sort/sort.types.mjs +0 -2
- package/esm2022/lib/components/sort/public-api/index.mjs +0 -6
- package/esm2022/lib/components/sort/services/index.mjs +0 -2
- package/esm2022/lib/components/sort/services/sort-header-intl.mjs +0 -23
- package/esm2022/lib/components/sort/sort.imports.mjs +0 -8
- package/esm2022/lib/components/sort/types/index.mjs +0 -2
- package/esm2022/lib/components/sort/types/sort-direction.mjs +0 -2
- package/esm2022/lib/components/table/components/table/index.mjs +0 -2
- package/esm2022/lib/components/table/components/table/table.component.mjs +0 -145
- package/esm2022/lib/components/table/constants/index.mjs +0 -2
- package/esm2022/lib/components/table/constants/table-data-source.constants.mjs +0 -2
- package/esm2022/lib/components/table/partials/cells/cell/cell.directive.mjs +0 -18
- package/esm2022/lib/components/table/partials/cells/cell/index.mjs +0 -2
- package/esm2022/lib/components/table/partials/cells/cell-def/cell-def.directive.mjs +0 -16
- package/esm2022/lib/components/table/partials/cells/cell-def/index.mjs +0 -2
- package/esm2022/lib/components/table/partials/cells/column-def/column-def.directive.mjs +0 -44
- package/esm2022/lib/components/table/partials/cells/column-def/index.mjs +0 -2
- package/esm2022/lib/components/table/partials/cells/footer-cell/footer-cell.directive.mjs +0 -18
- package/esm2022/lib/components/table/partials/cells/footer-cell/index.mjs +0 -2
- package/esm2022/lib/components/table/partials/cells/footer-cell-def/footer-cell-def.directive.mjs +0 -16
- package/esm2022/lib/components/table/partials/cells/footer-cell-def/index.mjs +0 -2
- package/esm2022/lib/components/table/partials/cells/header-cell/header-cell.directive.mjs +0 -19
- package/esm2022/lib/components/table/partials/cells/header-cell/index.mjs +0 -2
- package/esm2022/lib/components/table/partials/cells/header-cell-def/header-cell-def.directive.mjs +0 -16
- package/esm2022/lib/components/table/partials/cells/header-cell-def/index.mjs +0 -2
- package/esm2022/lib/components/table/partials/cells/text-column/index.mjs +0 -2
- package/esm2022/lib/components/table/partials/cells/text-column/text-column.component.mjs +0 -53
- package/esm2022/lib/components/table/partials/rows/footer-row/footer-row.component.mjs +0 -26
- package/esm2022/lib/components/table/partials/rows/footer-row/index.mjs +0 -2
- package/esm2022/lib/components/table/partials/rows/footer-row-def/footer-row-def.directive.mjs +0 -26
- package/esm2022/lib/components/table/partials/rows/footer-row-def/index.mjs +0 -2
- package/esm2022/lib/components/table/partials/rows/header-row/header-row.component.mjs +0 -26
- package/esm2022/lib/components/table/partials/rows/header-row/index.mjs +0 -2
- package/esm2022/lib/components/table/partials/rows/header-row-def/header-row-def.directive.mjs +0 -26
- package/esm2022/lib/components/table/partials/rows/header-row-def/index.mjs +0 -2
- package/esm2022/lib/components/table/partials/rows/no-data-row/index.mjs +0 -2
- package/esm2022/lib/components/table/partials/rows/no-data-row/no-data-row.directive.mjs +0 -20
- package/esm2022/lib/components/table/partials/rows/recycle-rows/index.mjs +0 -2
- package/esm2022/lib/components/table/partials/rows/recycle-rows/recycle-rows.directive.mjs +0 -16
- package/esm2022/lib/components/table/partials/rows/row/index.mjs +0 -2
- package/esm2022/lib/components/table/partials/rows/row/row.component.mjs +0 -26
- package/esm2022/lib/components/table/partials/rows/row-def/index.mjs +0 -2
- package/esm2022/lib/components/table/partials/rows/row-def/row-def.directive.mjs +0 -26
- package/esm2022/lib/components/table/partials/table-busy/index.mjs +0 -2
- package/esm2022/lib/components/table/partials/table-busy/table-busy.directive.mjs +0 -18
- package/esm2022/lib/components/table/partials/table-busy-outlet/index.mjs +0 -2
- package/esm2022/lib/components/table/partials/table-busy-outlet/table-busy-outlet.directive.mjs +0 -15
- package/esm2022/lib/components/table/public-api/index.mjs +0 -24
- package/esm2022/lib/components/table/table.imports.mjs +0 -39
- package/esm2022/lib/components/table/types/index.mjs +0 -2
- package/esm2022/lib/components/table/types/table-data-source.types.mjs +0 -2
- package/esm2022/lib/components/table/utils/index.mjs +0 -2
- package/esm2022/lib/components/table/utils/table-data-source.mjs +0 -168
- package/esm2022/lib/components/tabs/animations/index.mjs +0 -2
- package/esm2022/lib/components/tabs/animations/tabs.animations.mjs +0 -26
- package/esm2022/lib/components/tabs/components/inline-tabs/index.mjs +0 -2
- package/esm2022/lib/components/tabs/components/inline-tabs/inline-tabs.component.mjs +0 -257
- package/esm2022/lib/components/tabs/components/nav-tabs/index.mjs +0 -2
- package/esm2022/lib/components/tabs/components/nav-tabs/nav-tabs.component.mjs +0 -82
- package/esm2022/lib/components/tabs/partials/inline-tabs/inline-tab/index.mjs +0 -2
- package/esm2022/lib/components/tabs/partials/inline-tabs/inline-tab/inline-tab.component.mjs +0 -88
- package/esm2022/lib/components/tabs/partials/inline-tabs/inline-tab-body/index.mjs +0 -2
- package/esm2022/lib/components/tabs/partials/inline-tabs/inline-tab-body/inline-tab-body.component.mjs +0 -133
- package/esm2022/lib/components/tabs/partials/inline-tabs/inline-tab-body-host/index.mjs +0 -2
- package/esm2022/lib/components/tabs/partials/inline-tabs/inline-tab-body-host/inline-tab-body-host.directive.mjs +0 -25
- package/esm2022/lib/components/tabs/partials/inline-tabs/inline-tab-content/index.mjs +0 -2
- package/esm2022/lib/components/tabs/partials/inline-tabs/inline-tab-content/inline-tab-content.directive.mjs +0 -22
- package/esm2022/lib/components/tabs/partials/inline-tabs/inline-tab-header/index.mjs +0 -2
- package/esm2022/lib/components/tabs/partials/inline-tabs/inline-tab-header/inline-tab-header.component.mjs +0 -34
- package/esm2022/lib/components/tabs/partials/inline-tabs/inline-tab-label/index.mjs +0 -2
- package/esm2022/lib/components/tabs/partials/inline-tabs/inline-tab-label/inline-tab-label.directive.mjs +0 -30
- package/esm2022/lib/components/tabs/partials/inline-tabs/inline-tab-label-wrapper/index.mjs +0 -2
- package/esm2022/lib/components/tabs/partials/inline-tabs/inline-tab-label-wrapper/inline-tab-label-wrapper.directive.mjs +0 -42
- package/esm2022/lib/components/tabs/partials/nav-tabs/nav-tab-link/index.mjs +0 -2
- package/esm2022/lib/components/tabs/partials/nav-tabs/nav-tab-link/nav-tab-link.directive.mjs +0 -177
- package/esm2022/lib/components/tabs/partials/nav-tabs/nav-tabs-outlet/index.mjs +0 -2
- package/esm2022/lib/components/tabs/partials/nav-tabs/nav-tabs-outlet/nav-tabs-outlet.component.mjs +0 -37
- package/esm2022/lib/components/tabs/public-api/index.mjs +0 -16
- package/esm2022/lib/components/tabs/tab.imports.mjs +0 -25
- package/esm2022/lib/components/tabs/types/index.mjs +0 -2
- package/esm2022/lib/components/tabs/types/tab-config.types.mjs +0 -3
- package/esm2022/lib/components/tabs/utils/active-tab-underline.util.mjs +0 -112
- package/esm2022/lib/components/tabs/utils/index.mjs +0 -3
- package/esm2022/lib/components/tabs/utils/paginated-tab-header.directive.mjs +0 -272
- package/esm2022/lib/services/index.mjs +0 -2
- package/esm2022/lib/services/swipe-handler.service.mjs +0 -102
- package/esm2022/lib/types/index.mjs +0 -2
- package/esm2022/lib/types/swipe.types.mjs +0 -2
- package/esm2022/lib/utils/floating-ui.utils.mjs +0 -15
- package/esm2022/lib/utils/index.mjs +0 -2
|
@@ -1,171 +0,0 @@
|
|
|
1
|
-
import { FocusKeyManager } from '@angular/cdk/a11y';
|
|
2
|
-
import { Directionality } from '@angular/cdk/bidi';
|
|
3
|
-
import { ContentChildren, Directive, ElementRef, Input, NgZone, inject, } from '@angular/core';
|
|
4
|
-
import { Subject, merge } from 'rxjs';
|
|
5
|
-
import { mapTo, mergeAll, mergeMap, startWith, switchMap, takeUntil } from 'rxjs/operators';
|
|
6
|
-
import { MENU_AIM } from './menu-aim';
|
|
7
|
-
import { CdkMenuGroup } from './menu-group';
|
|
8
|
-
import { CdkMenuItem } from './menu-item';
|
|
9
|
-
import { MENU_STACK } from './menu-stack';
|
|
10
|
-
import { PointerFocusTracker } from './pointer-focus-tracker';
|
|
11
|
-
import * as i0 from "@angular/core";
|
|
12
|
-
let nextId = 0;
|
|
13
|
-
/**
|
|
14
|
-
* @deprecated Use the new menu instead
|
|
15
|
-
*/
|
|
16
|
-
export class CdkMenuBase extends CdkMenuGroup {
|
|
17
|
-
constructor() {
|
|
18
|
-
super(...arguments);
|
|
19
|
-
this.nativeElement = inject(ElementRef).nativeElement;
|
|
20
|
-
this.ngZone = inject(NgZone);
|
|
21
|
-
this.menuStack = inject(MENU_STACK);
|
|
22
|
-
this.menuAim = inject(MENU_AIM, { optional: true, self: true });
|
|
23
|
-
this.dir = inject(Directionality, { optional: true });
|
|
24
|
-
this.id = `cdk-menu-${nextId++}`;
|
|
25
|
-
this.items = null;
|
|
26
|
-
this.orientation = 'vertical';
|
|
27
|
-
this.isInline = false;
|
|
28
|
-
this.keyManager = null;
|
|
29
|
-
this.destroyed = new Subject();
|
|
30
|
-
this._menuStackHasFocus = false;
|
|
31
|
-
}
|
|
32
|
-
ngAfterContentInit() {
|
|
33
|
-
if (!this.isInline) {
|
|
34
|
-
this.menuStack.push(this);
|
|
35
|
-
}
|
|
36
|
-
this._setKeyManager();
|
|
37
|
-
this._subscribeToMenuStackHasFocus();
|
|
38
|
-
this._subscribeToMenuOpen();
|
|
39
|
-
this._subscribeToMenuStackClosed();
|
|
40
|
-
this._setUpPointerTracker();
|
|
41
|
-
}
|
|
42
|
-
ngOnDestroy() {
|
|
43
|
-
this.keyManager?.destroy();
|
|
44
|
-
this.destroyed.next();
|
|
45
|
-
this.destroyed.complete();
|
|
46
|
-
this.pointerTracker?.destroy();
|
|
47
|
-
}
|
|
48
|
-
focusFirstItem(focusOrigin = 'program') {
|
|
49
|
-
if (!this.keyManager)
|
|
50
|
-
return;
|
|
51
|
-
this.keyManager.setFocusOrigin(focusOrigin);
|
|
52
|
-
this.keyManager.setFirstItemActive();
|
|
53
|
-
}
|
|
54
|
-
focusLastItem(focusOrigin = 'program') {
|
|
55
|
-
if (!this.keyManager)
|
|
56
|
-
return;
|
|
57
|
-
this.keyManager.setFocusOrigin(focusOrigin);
|
|
58
|
-
this.keyManager.setLastItemActive();
|
|
59
|
-
}
|
|
60
|
-
focusItem(item, focusOrigin = 'program') {
|
|
61
|
-
const doFocus = () => {
|
|
62
|
-
if (!this.keyManager)
|
|
63
|
-
return;
|
|
64
|
-
const index = this.items?.toArray().indexOf(item);
|
|
65
|
-
if (index !== undefined && index !== -1) {
|
|
66
|
-
this.keyManager.setFocusOrigin(focusOrigin);
|
|
67
|
-
this.keyManager.setActiveItem(index);
|
|
68
|
-
}
|
|
69
|
-
};
|
|
70
|
-
if (!this.items) {
|
|
71
|
-
setTimeout(() => {
|
|
72
|
-
doFocus();
|
|
73
|
-
}, 0);
|
|
74
|
-
}
|
|
75
|
-
else {
|
|
76
|
-
doFocus();
|
|
77
|
-
}
|
|
78
|
-
}
|
|
79
|
-
_getTabIndex() {
|
|
80
|
-
const tabindexIfInline = this._menuStackHasFocus ? -1 : 0;
|
|
81
|
-
return this.isInline ? tabindexIfInline : null;
|
|
82
|
-
}
|
|
83
|
-
closeOpenMenu(menu, options) {
|
|
84
|
-
const { focusParentTrigger } = { ...options };
|
|
85
|
-
const keyManager = this.keyManager;
|
|
86
|
-
const trigger = this.triggerItem;
|
|
87
|
-
if (menu === trigger?.getMenuTrigger()?.getMenu()) {
|
|
88
|
-
trigger?.getMenuTrigger()?.close();
|
|
89
|
-
if (focusParentTrigger) {
|
|
90
|
-
if (!keyManager)
|
|
91
|
-
return;
|
|
92
|
-
if (trigger) {
|
|
93
|
-
keyManager.setActiveItem(trigger);
|
|
94
|
-
}
|
|
95
|
-
else {
|
|
96
|
-
keyManager.setFirstItemActive();
|
|
97
|
-
}
|
|
98
|
-
}
|
|
99
|
-
}
|
|
100
|
-
}
|
|
101
|
-
_setKeyManager() {
|
|
102
|
-
if (!this.items)
|
|
103
|
-
return;
|
|
104
|
-
this.keyManager = new FocusKeyManager(this.items).withWrap().withTypeAhead().withHomeAndEnd();
|
|
105
|
-
if (this.orientation === 'horizontal') {
|
|
106
|
-
this.keyManager.withHorizontalOrientation(this.dir?.value || 'ltr');
|
|
107
|
-
}
|
|
108
|
-
else {
|
|
109
|
-
this.keyManager.withVerticalOrientation();
|
|
110
|
-
}
|
|
111
|
-
}
|
|
112
|
-
_subscribeToMenuOpen() {
|
|
113
|
-
if (!this.items)
|
|
114
|
-
return;
|
|
115
|
-
const exitCondition = merge(this.items.changes, this.destroyed);
|
|
116
|
-
this.items.changes
|
|
117
|
-
.pipe(startWith(this.items), mergeMap((list) => list
|
|
118
|
-
.filter((item) => item.hasMenu)
|
|
119
|
-
.map((item) => item.getMenuTrigger().opened.pipe(mapTo(item), takeUntil(exitCondition)))), mergeAll(), switchMap((item) => {
|
|
120
|
-
this.triggerItem = item;
|
|
121
|
-
return item.getMenuTrigger().closed;
|
|
122
|
-
}), takeUntil(this.destroyed))
|
|
123
|
-
.subscribe(() => (this.triggerItem = undefined));
|
|
124
|
-
}
|
|
125
|
-
_subscribeToMenuStackClosed() {
|
|
126
|
-
this.menuStack.closed
|
|
127
|
-
.pipe(takeUntil(this.destroyed))
|
|
128
|
-
.subscribe(({ item, focusParentTrigger }) => this.closeOpenMenu(item, { focusParentTrigger }));
|
|
129
|
-
}
|
|
130
|
-
_subscribeToMenuStackHasFocus() {
|
|
131
|
-
if (this.isInline) {
|
|
132
|
-
this.menuStack.hasFocus.pipe(takeUntil(this.destroyed)).subscribe((hasFocus) => {
|
|
133
|
-
this._menuStackHasFocus = hasFocus;
|
|
134
|
-
});
|
|
135
|
-
}
|
|
136
|
-
}
|
|
137
|
-
_setUpPointerTracker() {
|
|
138
|
-
if (this.menuAim) {
|
|
139
|
-
this.ngZone.runOutsideAngular(() => {
|
|
140
|
-
if (!this.items)
|
|
141
|
-
return;
|
|
142
|
-
this.pointerTracker = new PointerFocusTracker(this.items);
|
|
143
|
-
});
|
|
144
|
-
this.menuAim.initialize(this, this.pointerTracker);
|
|
145
|
-
}
|
|
146
|
-
}
|
|
147
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.12", ngImport: i0, type: CdkMenuBase, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
|
|
148
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.12", type: CdkMenuBase, inputs: { id: "id" }, host: { attributes: { "role": "menu" }, listeners: { "focus": "focusFirstItem()", "focusin": "menuStack.setHasFocus(true)", "focusout": "menuStack.setHasFocus(false)" }, properties: { "tabindex": "_getTabIndex()", "id": "id", "attr.aria-orientation": "orientation", "attr.data-cdk-menu-stack-id": "menuStack.id" } }, queries: [{ propertyName: "items", predicate: CdkMenuItem, descendants: true }], usesInheritance: true, ngImport: i0 }); }
|
|
149
|
-
}
|
|
150
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.12", ngImport: i0, type: CdkMenuBase, decorators: [{
|
|
151
|
-
type: Directive,
|
|
152
|
-
args: [{
|
|
153
|
-
host: {
|
|
154
|
-
role: 'menu',
|
|
155
|
-
class: '',
|
|
156
|
-
'[tabindex]': '_getTabIndex()',
|
|
157
|
-
'[id]': 'id',
|
|
158
|
-
'[attr.aria-orientation]': 'orientation',
|
|
159
|
-
'[attr.data-cdk-menu-stack-id]': 'menuStack.id',
|
|
160
|
-
'(focus)': 'focusFirstItem()',
|
|
161
|
-
'(focusin)': 'menuStack.setHasFocus(true)',
|
|
162
|
-
'(focusout)': 'menuStack.setHasFocus(false)',
|
|
163
|
-
},
|
|
164
|
-
}]
|
|
165
|
-
}], propDecorators: { id: [{
|
|
166
|
-
type: Input
|
|
167
|
-
}], items: [{
|
|
168
|
-
type: ContentChildren,
|
|
169
|
-
args: [CdkMenuItem, { descendants: true }]
|
|
170
|
-
}] } });
|
|
171
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibWVudS1iYXNlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9jZGsvc3JjL2xpYi9jb21wb25lbnRzL292ZXJsYXkvY29tcG9uZW50cy9tZW51LWRlcHJlY2F0ZWQvbWVudS1iYXNlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxlQUFlLEVBQWUsTUFBTSxtQkFBbUIsQ0FBQztBQUNqRSxPQUFPLEVBQUUsY0FBYyxFQUFFLE1BQU0sbUJBQW1CLENBQUM7QUFDbkQsT0FBTyxFQUVMLGVBQWUsRUFDZixTQUFTLEVBQ1QsVUFBVSxFQUNWLEtBQUssRUFDTCxNQUFNLEVBR04sTUFBTSxHQUNQLE1BQU0sZUFBZSxDQUFDO0FBQ3ZCLE9BQU8sRUFBRSxPQUFPLEVBQUUsS0FBSyxFQUFFLE1BQU0sTUFBTSxDQUFDO0FBQ3RDLE9BQU8sRUFBRSxLQUFLLEVBQUUsUUFBUSxFQUFFLFFBQVEsRUFBRSxTQUFTLEVBQUUsU0FBUyxFQUFFLFNBQVMsRUFBRSxNQUFNLGdCQUFnQixDQUFDO0FBQzVGLE9BQU8sRUFBRS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iAgfVxuXG4gIHByaXZhdGUgX3N1YnNjcmliZVRvTWVudVN0YWNrQ2xvc2VkKCkge1xuICAgIHRoaXMubWVudVN0YWNrLmNsb3NlZFxuICAgICAgLnBpcGUodGFrZVVudGlsKHRoaXMuZGVzdHJveWVkKSlcbiAgICAgIC5zdWJzY3JpYmUoKHsgaXRlbSwgZm9jdXNQYXJlbnRUcmlnZ2VyIH0pID0+IHRoaXMuY2xvc2VPcGVuTWVudShpdGVtLCB7IGZvY3VzUGFyZW50VHJpZ2dlciB9KSk7XG4gIH1cblxuICBwcml2YXRlIF9zdWJzY3JpYmVUb01lbnVTdGFja0hhc0ZvY3VzKCkge1xuICAgIGlmICh0aGlzLmlzSW5saW5lKSB7XG4gICAgICB0aGlzLm1lbnVTdGFjay5oYXNGb2N1cy5waXBlKHRha2VVbnRpbCh0aGlzLmRlc3Ryb3llZCkpLnN1YnNjcmliZSgoaGFzRm9jdXMpID0+IHtcbiAgICAgICAgdGhpcy5fbWVudVN0YWNrSGFzRm9jdXMgPSBoYXNGb2N1cztcbiAgICAgIH0pO1xuICAgIH1cbiAgfVxuXG4gIHByaXZhdGUgX3NldFVwUG9pbnRlclRyYWNrZXIoKSB7XG4gICAgaWYgKHRoaXMubWVudUFpbSkge1xuICAgICAgdGhpcy5uZ1pvbmUucnVuT3V0c2lkZUFuZ3VsYXIoKCkgPT4ge1xuICAgICAgICBpZiAoIXRoaXMuaXRlbXMpIHJldHVybjtcblxuICAgICAgICB0aGlzLnBvaW50ZXJUcmFja2VyID0gbmV3IFBvaW50ZXJGb2N1c1RyYWNrZXIodGhpcy5pdGVtcyk7XG4gICAgICB9KTtcbiAgICAgIHRoaXMubWVudUFpbS5pbml0aWFsaXplKHRoaXMsIHRoaXMucG9pbnRlclRyYWNrZXIhKTtcbiAgICB9XG4gIH1cbn1cbiJdfQ==
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
export function throwMissingPointerFocusTracker() {
|
|
2
|
-
throw Error('expected an instance of PointerFocusTracker to be provided');
|
|
3
|
-
}
|
|
4
|
-
export function throwMissingMenuReference() {
|
|
5
|
-
throw Error('expected a reference to the parent menu');
|
|
6
|
-
}
|
|
7
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibWVudS1lcnJvcnMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9saWJzL2Nkay9zcmMvbGliL2NvbXBvbmVudHMvb3ZlcmxheS9jb21wb25lbnRzL21lbnUtZGVwcmVjYXRlZC9tZW51LWVycm9ycy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxNQUFNLFVBQVUsK0JBQStCO0lBQzdDLE1BQU0sS0FBSyxDQUFDLDREQUE0RCxDQUFDLENBQUM7QUFDNUUsQ0FBQztBQUVELE1BQU0sVUFBVSx5QkFBeUI7SUFDdkMsTUFBTSxLQUFLLENBQUMseUNBQXlDLENBQUMsQ0FBQztBQUN6RCxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0IGZ1bmN0aW9uIHRocm93TWlzc2luZ1BvaW50ZXJGb2N1c1RyYWNrZXIoKSB7XG4gIHRocm93IEVycm9yKCdleHBlY3RlZCBhbiBpbnN0YW5jZSBvZiBQb2ludGVyRm9jdXNUcmFja2VyIHRvIGJlIHByb3ZpZGVkJyk7XG59XG5cbmV4cG9ydCBmdW5jdGlvbiB0aHJvd01pc3NpbmdNZW51UmVmZXJlbmNlKCkge1xuICB0aHJvdyBFcnJvcignZXhwZWN0ZWQgYSByZWZlcmVuY2UgdG8gdGhlIHBhcmVudCBtZW51Jyk7XG59XG4iXX0=
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
/* eslint-disable @angular-eslint/directive-class-suffix */
|
|
2
|
-
import { UniqueSelectionDispatcher } from '@angular/cdk/collections';
|
|
3
|
-
import { Directive } from '@angular/core';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
/**
|
|
6
|
-
* @deprecated Use the new menu instead
|
|
7
|
-
*/
|
|
8
|
-
export class CdkMenuGroup {
|
|
9
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.12", ngImport: i0, type: CdkMenuGroup, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
10
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.12", type: CdkMenuGroup, isStandalone: true, selector: "[cdkMenuGroup]", host: { attributes: { "role": "group" }, classAttribute: "cdk-menu-group" }, providers: [{ provide: UniqueSelectionDispatcher, useClass: UniqueSelectionDispatcher }], exportAs: ["cdkMenuGroup"], ngImport: i0 }); }
|
|
11
|
-
}
|
|
12
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.12", ngImport: i0, type: CdkMenuGroup, decorators: [{
|
|
13
|
-
type: Directive,
|
|
14
|
-
args: [{
|
|
15
|
-
selector: '[cdkMenuGroup]',
|
|
16
|
-
exportAs: 'cdkMenuGroup',
|
|
17
|
-
standalone: true,
|
|
18
|
-
host: {
|
|
19
|
-
role: 'group',
|
|
20
|
-
class: 'cdk-menu-group',
|
|
21
|
-
},
|
|
22
|
-
providers: [{ provide: UniqueSelectionDispatcher, useClass: UniqueSelectionDispatcher }],
|
|
23
|
-
}]
|
|
24
|
-
}] });
|
|
25
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibWVudS1ncm91cC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL2xpYnMvY2RrL3NyYy9saWIvY29tcG9uZW50cy9vdmVybGF5L2NvbXBvbmVudHMvbWVudS1kZXByZWNhdGVkL21lbnUtZ3JvdXAudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsMkRBQTJEO0F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VlLFxuICBob3N0OiB7XG4gICAgcm9sZTogJ2dyb3VwJyxcbiAgICBjbGFzczogJ2Nkay1tZW51LWdyb3VwJyxcbiAgfSxcbiAgcHJvdmlkZXJzOiBbeyBwcm92aWRlOiBVbmlxdWVTZWxlY3Rpb25EaXNwYXRjaGVyLCB1c2VDbGFzczogVW5pcXVlU2VsZWN0aW9uRGlzcGF0Y2hlciB9XSxcbn0pXG5leHBvcnQgY2xhc3MgQ2RrTWVudUdyb3VwIHt9XG4iXX0=
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
import { InjectionToken } from '@angular/core';
|
|
2
|
-
export const CDK_MENU = new InjectionToken('cdk-menu');
|
|
3
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibWVudS1pbnRlcmZhY2UuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9saWJzL2Nkay9zcmMvbGliL2NvbXBvbmVudHMvb3ZlcmxheS9jb21wb25lbnRzL21lbnUtZGVwcmVjYXRlZC9tZW51LWludGVyZmFjZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFDQSxPQUFPLEVBQUUsY0FBYyxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBRy9DLE1BQU0sQ0FBQyxNQUFNLFFBQVEsR0FBRyxJQUFJLGNBQWMsQ0FBTyxVQUFVLENBQUMsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IEZvY3VzT3JpZ2luIH0gZnJvbSAnQGFuZ3VsYXIvY2RrL2ExMXknO1xuaW1wb3J0IHsgSW5qZWN0aW9uVG9rZW4gfSBmcm9tICdAYW5ndWxhci9jb3JlJztcbmltcG9ydCB7IE1lbnVTdGFja0l0ZW0gfSBmcm9tICcuL21lbnUtc3RhY2snO1xuXG5leHBvcnQgY29uc3QgQ0RLX01FTlUgPSBuZXcgSW5qZWN0aW9uVG9rZW48TWVudT4oJ2Nkay1tZW51Jyk7XG5cbmV4cG9ydCBpbnRlcmZhY2UgTWVudSBleHRlbmRzIE1lbnVTdGFja0l0ZW0ge1xuICBpZDogc3RyaW5nO1xuXG4gIG5hdGl2ZUVsZW1lbnQ6IEhUTUxFbGVtZW50O1xuXG4gIHJlYWRvbmx5IG9yaWVudGF0aW9uOiAnaG9yaXpvbnRhbCcgfCAndmVydGljYWwnO1xuXG4gIGZvY3VzRmlyc3RJdGVtKGZvY3VzT3JpZ2luOiBGb2N1c09yaWdpbik6IHZvaWQ7XG5cbiAgZm9jdXNMYXN0SXRlbShmb2N1c09yaWdpbjogRm9jdXNPcmlnaW4pOiB2b2lkO1xuXG4gIGZvY3VzSXRlbShpdGVtOiB1bmtub3duLCBmb2N1c09yaWdpbj86IEZvY3VzT3JpZ2luKTogdm9pZDtcbn1cbiJdfQ==
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
/* eslint-disable @angular-eslint/directive-class-suffix */
|
|
2
|
-
import { Directive } from '@angular/core';
|
|
3
|
-
import { CdkMenuItem } from './menu-item';
|
|
4
|
-
import { CdkMenuItemSelectable } from './menu-item-selectable';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
/**
|
|
7
|
-
* @deprecated Use the new menu instead
|
|
8
|
-
*/
|
|
9
|
-
export class CdkMenuItemCheckbox extends CdkMenuItemSelectable {
|
|
10
|
-
trigger(options) {
|
|
11
|
-
super.trigger(options);
|
|
12
|
-
if (!this.disabled) {
|
|
13
|
-
this.checked = !this.checked;
|
|
14
|
-
}
|
|
15
|
-
}
|
|
16
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.12", ngImport: i0, type: CdkMenuItemCheckbox, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
|
|
17
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.12", type: CdkMenuItemCheckbox, isStandalone: true, selector: "[cdkMenuItemCheckbox]", host: { attributes: { "role": "menuitemcheckbox" }, properties: { "class.cdk-menu-item-checkbox": "true" } }, providers: [
|
|
18
|
-
{ provide: CdkMenuItemSelectable, useExisting: CdkMenuItemCheckbox },
|
|
19
|
-
{ provide: CdkMenuItem, useExisting: CdkMenuItemSelectable },
|
|
20
|
-
], exportAs: ["cdkMenuItemCheckbox"], usesInheritance: true, ngImport: i0 }); }
|
|
21
|
-
}
|
|
22
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.12", ngImport: i0, type: CdkMenuItemCheckbox, decorators: [{
|
|
23
|
-
type: Directive,
|
|
24
|
-
args: [{
|
|
25
|
-
selector: '[cdkMenuItemCheckbox]',
|
|
26
|
-
exportAs: 'cdkMenuItemCheckbox',
|
|
27
|
-
standalone: true,
|
|
28
|
-
host: {
|
|
29
|
-
role: 'menuitemcheckbox',
|
|
30
|
-
'[class.cdk-menu-item-checkbox]': 'true',
|
|
31
|
-
},
|
|
32
|
-
providers: [
|
|
33
|
-
{ provide: CdkMenuItemSelectable, useExisting: CdkMenuItemCheckbox },
|
|
34
|
-
{ provide: CdkMenuItem, useExisting: CdkMenuItemSelectable },
|
|
35
|
-
],
|
|
36
|
-
}]
|
|
37
|
-
}] });
|
|
38
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibWVudS1pdGVtLWNoZWNrYm94LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9jZGsvc3JjL2xpYi9jb21wb25lbnRzL292ZXJsYXkvY29tcG9uZW50cy9tZW51LWRlcHJlY2F0ZWQvbWVudS1pdGVtLWNoZWNrYm94LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLDJEQUEyRDtBQUUzRCxPQUFPLEVBQUUsU0FBUyxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQzF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cy5kaXNhYmxlZCkge1xuICAgICAgdGhpcy5jaGVja2VkID0gIXRoaXMuY2hlY2tlZDtcbiAgICB9XG4gIH1cbn1cbiJdfQ==
|
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
/* eslint-disable @angular-eslint/directive-class-suffix */
|
|
2
|
-
import { UniqueSelectionDispatcher } from '@angular/cdk/collections';
|
|
3
|
-
import { Directive, inject } from '@angular/core';
|
|
4
|
-
import { CdkMenuItem } from './menu-item';
|
|
5
|
-
import { CdkMenuItemSelectable } from './menu-item-selectable';
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
let nextId = 0;
|
|
8
|
-
/**
|
|
9
|
-
* @deprecated Use the new menu instead
|
|
10
|
-
*/
|
|
11
|
-
export class CdkMenuItemRadio extends CdkMenuItemSelectable {
|
|
12
|
-
constructor() {
|
|
13
|
-
super();
|
|
14
|
-
this._selectionDispatcher = inject(UniqueSelectionDispatcher);
|
|
15
|
-
this._id = `${nextId++}`;
|
|
16
|
-
this._registerDispatcherListener();
|
|
17
|
-
}
|
|
18
|
-
ngOnDestroy() {
|
|
19
|
-
super.ngOnDestroy();
|
|
20
|
-
this._removeDispatcherListener?.();
|
|
21
|
-
}
|
|
22
|
-
trigger(options) {
|
|
23
|
-
super.trigger(options);
|
|
24
|
-
if (!this.disabled) {
|
|
25
|
-
this._selectionDispatcher.notify(this._id, '');
|
|
26
|
-
}
|
|
27
|
-
}
|
|
28
|
-
_registerDispatcherListener() {
|
|
29
|
-
this._removeDispatcherListener = this._selectionDispatcher.listen((id) => {
|
|
30
|
-
this.checked = this._id === id;
|
|
31
|
-
});
|
|
32
|
-
}
|
|
33
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.12", ngImport: i0, type: CdkMenuItemRadio, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
34
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.12", type: CdkMenuItemRadio, isStandalone: true, selector: "[cdkMenuItemRadio]", host: { attributes: { "role": "menuitemradio" }, properties: { "class.cdk-menu-item-radio": "true" } }, providers: [
|
|
35
|
-
{ provide: CdkMenuItemSelectable, useExisting: CdkMenuItemRadio },
|
|
36
|
-
{ provide: CdkMenuItem, useExisting: CdkMenuItemSelectable },
|
|
37
|
-
], exportAs: ["cdkMenuItemRadio"], usesInheritance: true, ngImport: i0 }); }
|
|
38
|
-
}
|
|
39
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.12", ngImport: i0, type: CdkMenuItemRadio, decorators: [{
|
|
40
|
-
type: Directive,
|
|
41
|
-
args: [{
|
|
42
|
-
selector: '[cdkMenuItemRadio]',
|
|
43
|
-
exportAs: 'cdkMenuItemRadio',
|
|
44
|
-
standalone: true,
|
|
45
|
-
host: {
|
|
46
|
-
role: 'menuitemradio',
|
|
47
|
-
'[class.cdk-menu-item-radio]': 'true',
|
|
48
|
-
},
|
|
49
|
-
providers: [
|
|
50
|
-
{ provide: CdkMenuItemSelectable, useExisting: CdkMenuItemRadio },
|
|
51
|
-
{ provide: CdkMenuItem, useExisting: CdkMenuItemSelectable },
|
|
52
|
-
],
|
|
53
|
-
}]
|
|
54
|
-
}], ctorParameters: () => [] });
|
|
55
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibWVudS1pdGVtLXJhZGlvLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9jZGsvc3JjL2xpYi9jb21wb25lbnRzL292ZXJsYXkvY29tcG9uZW50cy9tZW51LWRlcHJlY2F0ZWQvbWVudS1pdGVtLXJhZGlvLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLDJEQUEyRDtBQUUzRCxPQUFPLEVBQUUseUJBQXlCLEVBQUUsTUFBTSwwQkFBMEIsQ0FBQztB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4gIG92ZXJyaWRlIG5nT25EZXN0cm95KCkge1xuICAgIHN1cGVyLm5nT25EZXN0cm95KCk7XG5cbiAgICB0aGlzLl9yZW1vdmVEaXNwYXRjaGVyTGlzdGVuZXI/LigpO1xuICB9XG5cbiAgb3ZlcnJpZGUgdHJpZ2dlcihvcHRpb25zPzogeyBrZWVwT3BlbjogYm9vbGVhbiB9KSB7XG4gICAgc3VwZXIudHJpZ2dlcihvcHRpb25zKTtcblxuICAgIGlmICghdGhpcy5kaXNhYmxlZCkge1xuICAgICAgdGhpcy5fc2VsZWN0aW9uRGlzcGF0Y2hlci5ub3RpZnkodGhpcy5faWQsICcnKTtcbiAgICB9XG4gIH1cblxuICBwcml2YXRlIF9yZWdpc3RlckRpc3BhdGNoZXJMaXN0ZW5lcigpIHtcbiAgICB0aGlzLl9yZW1vdmVEaXNwYXRjaGVyTGlzdGVuZXIgPSB0aGlzLl9zZWxlY3Rpb25EaXNwYXRjaGVyLmxpc3RlbigoaWQ6IHN0cmluZykgPT4ge1xuICAgICAgdGhpcy5jaGVja2VkID0gdGhpcy5faWQgPT09IGlkO1xuICAgIH0pO1xuICB9XG59XG4iXX0=
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
import { coerceBooleanProperty } from '@angular/cdk/coercion';
|
|
2
|
-
import { Directive, Input } from '@angular/core';
|
|
3
|
-
import { CdkMenuItem } from './menu-item';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
/**
|
|
6
|
-
* @deprecated Use the new menu instead
|
|
7
|
-
*/
|
|
8
|
-
export class CdkMenuItemSelectable extends CdkMenuItem {
|
|
9
|
-
constructor() {
|
|
10
|
-
super(...arguments);
|
|
11
|
-
this._checked = false;
|
|
12
|
-
this.closeOnSpacebarTrigger = false;
|
|
13
|
-
}
|
|
14
|
-
get checked() {
|
|
15
|
-
return this._checked;
|
|
16
|
-
}
|
|
17
|
-
set checked(value) {
|
|
18
|
-
this._checked = coerceBooleanProperty(value);
|
|
19
|
-
if (this._checked) {
|
|
20
|
-
this.getParentMenu()?.focusItem(this);
|
|
21
|
-
}
|
|
22
|
-
}
|
|
23
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.12", ngImport: i0, type: CdkMenuItemSelectable, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
|
|
24
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.12", type: CdkMenuItemSelectable, inputs: { checked: ["cdkMenuItemChecked", "checked"] }, host: { properties: { "attr.aria-checked": "!!checked", "attr.aria-disabled": "disabled || null" } }, usesInheritance: true, ngImport: i0 }); }
|
|
25
|
-
}
|
|
26
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.12", ngImport: i0, type: CdkMenuItemSelectable, decorators: [{
|
|
27
|
-
type: Directive,
|
|
28
|
-
args: [{
|
|
29
|
-
host: {
|
|
30
|
-
'[attr.aria-checked]': '!!checked',
|
|
31
|
-
'[attr.aria-disabled]': 'disabled || null',
|
|
32
|
-
},
|
|
33
|
-
}]
|
|
34
|
-
}], propDecorators: { checked: [{
|
|
35
|
-
type: Input,
|
|
36
|
-
args: ['cdkMenuItemChecked']
|
|
37
|
-
}] } });
|
|
38
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibWVudS1pdGVtLXNlbGVjdGFibGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9saWJzL2Nkay9zcmMvbGliL2NvbXBvbmVudHMvb3ZlcmxheS9jb21wb25lbnRzL21lbnUtZGVwcmVjYXRlZC9tZW51LWl0ZW0tc2VsZWN0YWJsZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQWdCLHFCQUFxQixFQUFFLE1BQU0sdUJBQXVCLENBQUM7QUFDNUUsT0FBTyxFQUF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tZW51LWl0ZW0nO1xuXG4vKipcbiAqIEBkZXByZWNhdGVkIFVzZSB0aGUgbmV3IG1lbnUgaW5zdGVhZFxuICovXG5ARGlyZWN0aXZlKHtcbiAgaG9zdDoge1xuICAgICdbYXR0ci5hcmlhLWNoZWNrZWRdJzogJyEhY2hlY2tlZCcsXG4gICAgJ1thdHRyLmFyaWEtZGlzYWJsZWRdJzogJ2Rpc2FibGVkIHx8IG51bGwnLFxuICB9LFxufSlcbmV4cG9ydCBhYnN0cmFjdCBjbGFzcyBDZGtNZW51SXRlbVNlbGVjdGFibGUgZXh0ZW5kcyBDZGtNZW51SXRlbSB7XG4gIEBJbnB1dCgnY2RrTWVudUl0ZW1DaGVja2VkJylcbiAgZ2V0IGNoZWNrZWQoKTogYm9vbGVhbiB7XG4gICAgcmV0dXJuIHRoaXMuX2NoZWNrZWQ7XG4gIH1cbiAgc2V0IGNoZWNrZWQodmFsdWU6IEJvb2xlYW5JbnB1dCkge1xuICAgIHRoaXMuX2NoZWNrZWQgPSBjb2VyY2VCb29sZWFuUHJvcGVydHkodmFsdWUpO1xuXG4gICAgaWYgKHRoaXMuX2NoZWNrZWQpIHtcbiAgICAgIHRoaXMuZ2V0UGFyZW50TWVudSgpPy5mb2N1c0l0ZW0odGhpcyk7XG4gICAgfVxuICB9XG4gIHByaXZhdGUgX2NoZWNrZWQgPSBmYWxzZTtcblxuICBwcm90ZWN0ZWQgb3ZlcnJpZGUgY2xvc2VPblNwYWNlYmFyVHJpZ2dlciA9IGZhbHNlO1xufVxuIl19
|
|
@@ -1,212 +0,0 @@
|
|
|
1
|
-
/* eslint-disable @angular-eslint/directive-class-suffix */
|
|
2
|
-
import { InputModalityDetector } from '@angular/cdk/a11y';
|
|
3
|
-
import { Directionality } from '@angular/cdk/bidi';
|
|
4
|
-
import { coerceBooleanProperty } from '@angular/cdk/coercion';
|
|
5
|
-
import { ENTER, LEFT_ARROW, RIGHT_ARROW, SPACE, hasModifierKey } from '@angular/cdk/keycodes';
|
|
6
|
-
import { Directive, ElementRef, EventEmitter, Input, NgZone, Output, inject } from '@angular/core';
|
|
7
|
-
import { Subject, fromEvent } from 'rxjs';
|
|
8
|
-
import { filter, takeUntil } from 'rxjs/operators';
|
|
9
|
-
import { MENU_AIM } from './menu-aim';
|
|
10
|
-
import { CDK_MENU } from './menu-interface';
|
|
11
|
-
import { MENU_STACK } from './menu-stack';
|
|
12
|
-
import { CdkMenuTrigger } from './menu-trigger';
|
|
13
|
-
import * as i0 from "@angular/core";
|
|
14
|
-
/**
|
|
15
|
-
* @deprecated Use the new menu instead
|
|
16
|
-
*/
|
|
17
|
-
export class CdkMenuItem {
|
|
18
|
-
get disabled() {
|
|
19
|
-
return this._disabled;
|
|
20
|
-
}
|
|
21
|
-
set disabled(value) {
|
|
22
|
-
this._disabled = coerceBooleanProperty(value);
|
|
23
|
-
}
|
|
24
|
-
get hasMenu() {
|
|
25
|
-
return this._menuTrigger?.menuTemplateRef != null;
|
|
26
|
-
}
|
|
27
|
-
constructor() {
|
|
28
|
-
this._dir = inject(Directionality, { optional: true });
|
|
29
|
-
this._inputModalityDetector = inject(InputModalityDetector);
|
|
30
|
-
this._elementRef = inject(ElementRef);
|
|
31
|
-
this._ngZone = inject(NgZone);
|
|
32
|
-
this._menuAim = inject(MENU_AIM, { optional: true });
|
|
33
|
-
this._menuStack = inject(MENU_STACK);
|
|
34
|
-
this._parentMenu = inject(CDK_MENU, { optional: true });
|
|
35
|
-
this._menuTrigger = inject(CdkMenuTrigger, { optional: true, self: true });
|
|
36
|
-
this._disabled = false;
|
|
37
|
-
this.typeaheadLabel = null;
|
|
38
|
-
this.triggered = new EventEmitter();
|
|
39
|
-
this._tabindex = -1;
|
|
40
|
-
this.closeOnSpacebarTrigger = true;
|
|
41
|
-
this.destroyed = new Subject();
|
|
42
|
-
this._setupMouseEnter();
|
|
43
|
-
this._setType();
|
|
44
|
-
if (this._isStandaloneItem()) {
|
|
45
|
-
this._tabindex = 0;
|
|
46
|
-
}
|
|
47
|
-
}
|
|
48
|
-
ngOnDestroy() {
|
|
49
|
-
this.destroyed.next();
|
|
50
|
-
this.destroyed.complete();
|
|
51
|
-
}
|
|
52
|
-
focus() {
|
|
53
|
-
this._elementRef.nativeElement.focus();
|
|
54
|
-
}
|
|
55
|
-
trigger(options) {
|
|
56
|
-
const { keepOpen } = { ...options };
|
|
57
|
-
if (!this.disabled && !this.hasMenu) {
|
|
58
|
-
this.triggered.next();
|
|
59
|
-
if (!keepOpen) {
|
|
60
|
-
this._menuStack.closeAll({ focusParentTrigger: true });
|
|
61
|
-
}
|
|
62
|
-
}
|
|
63
|
-
}
|
|
64
|
-
isMenuOpen() {
|
|
65
|
-
return !!this._menuTrigger?.isOpen();
|
|
66
|
-
}
|
|
67
|
-
getMenu() {
|
|
68
|
-
return this._menuTrigger?.getMenu();
|
|
69
|
-
}
|
|
70
|
-
getMenuTrigger() {
|
|
71
|
-
return this._menuTrigger;
|
|
72
|
-
}
|
|
73
|
-
getLabel() {
|
|
74
|
-
return this.typeaheadLabel || this._elementRef.nativeElement.textContent?.trim() || '';
|
|
75
|
-
}
|
|
76
|
-
getParentMenu() {
|
|
77
|
-
return this._parentMenu;
|
|
78
|
-
}
|
|
79
|
-
_resetTabIndex() {
|
|
80
|
-
if (!this._isStandaloneItem()) {
|
|
81
|
-
this._tabindex = -1;
|
|
82
|
-
}
|
|
83
|
-
}
|
|
84
|
-
_setTabIndex(event) {
|
|
85
|
-
if (this.disabled) {
|
|
86
|
-
return;
|
|
87
|
-
}
|
|
88
|
-
if (!event || !this._menuStack.isEmpty()) {
|
|
89
|
-
this._tabindex = 0;
|
|
90
|
-
}
|
|
91
|
-
}
|
|
92
|
-
_onKeydown(event) {
|
|
93
|
-
switch (event.keyCode) {
|
|
94
|
-
case SPACE:
|
|
95
|
-
case ENTER:
|
|
96
|
-
if (!hasModifierKey(event)) {
|
|
97
|
-
this.trigger({ keepOpen: event.keyCode === SPACE && !this.closeOnSpacebarTrigger });
|
|
98
|
-
}
|
|
99
|
-
break;
|
|
100
|
-
case RIGHT_ARROW:
|
|
101
|
-
if (!hasModifierKey(event)) {
|
|
102
|
-
if (this._parentMenu && this._isParentVertical()) {
|
|
103
|
-
if (this._dir?.value !== 'rtl') {
|
|
104
|
-
this._forwardArrowPressed(event);
|
|
105
|
-
}
|
|
106
|
-
else {
|
|
107
|
-
this._backArrowPressed(event);
|
|
108
|
-
}
|
|
109
|
-
}
|
|
110
|
-
}
|
|
111
|
-
break;
|
|
112
|
-
case LEFT_ARROW:
|
|
113
|
-
if (!hasModifierKey(event)) {
|
|
114
|
-
if (this._parentMenu && this._isParentVertical()) {
|
|
115
|
-
if (this._dir?.value !== 'rtl') {
|
|
116
|
-
this._backArrowPressed(event);
|
|
117
|
-
}
|
|
118
|
-
else {
|
|
119
|
-
this._forwardArrowPressed(event);
|
|
120
|
-
}
|
|
121
|
-
}
|
|
122
|
-
}
|
|
123
|
-
break;
|
|
124
|
-
}
|
|
125
|
-
}
|
|
126
|
-
_handleClick() {
|
|
127
|
-
if (this._inputModalityDetector.mostRecentModality !== 'keyboard') {
|
|
128
|
-
this.trigger();
|
|
129
|
-
}
|
|
130
|
-
}
|
|
131
|
-
_handleMousedown(event) {
|
|
132
|
-
event.preventDefault();
|
|
133
|
-
event.stopPropagation();
|
|
134
|
-
}
|
|
135
|
-
_isStandaloneItem() {
|
|
136
|
-
return !this._parentMenu;
|
|
137
|
-
}
|
|
138
|
-
_backArrowPressed(event) {
|
|
139
|
-
const parentMenu = this._parentMenu;
|
|
140
|
-
if (this._menuStack.hasInlineMenu() || this._menuStack.length() > 1) {
|
|
141
|
-
event.preventDefault();
|
|
142
|
-
this._menuStack.close(parentMenu, {
|
|
143
|
-
focusNextOnEmpty: this._menuStack.inlineMenuOrientation() === 'horizontal' ? 1 /* FocusNext.previousItem */ : 2 /* FocusNext.currentItem */,
|
|
144
|
-
focusParentTrigger: true,
|
|
145
|
-
});
|
|
146
|
-
}
|
|
147
|
-
}
|
|
148
|
-
_forwardArrowPressed(event) {
|
|
149
|
-
if (!this.hasMenu && this._menuStack.inlineMenuOrientation() === 'horizontal') {
|
|
150
|
-
event.preventDefault();
|
|
151
|
-
this._menuStack.closeAll({
|
|
152
|
-
focusNextOnEmpty: 0 /* FocusNext.nextItem */,
|
|
153
|
-
focusParentTrigger: true,
|
|
154
|
-
});
|
|
155
|
-
}
|
|
156
|
-
}
|
|
157
|
-
_setupMouseEnter() {
|
|
158
|
-
if (!this._isStandaloneItem()) {
|
|
159
|
-
const closeOpenSiblings = () => this._ngZone.run(() => this._menuStack.closeSubMenuOf(this._parentMenu));
|
|
160
|
-
this._ngZone.runOutsideAngular(() => fromEvent(this._elementRef.nativeElement, 'mouseenter')
|
|
161
|
-
.pipe(filter(() => !this._menuStack.isEmpty() && !this.hasMenu), takeUntil(this.destroyed))
|
|
162
|
-
.subscribe(() => {
|
|
163
|
-
if (this._menuAim) {
|
|
164
|
-
this._menuAim.toggle(closeOpenSiblings);
|
|
165
|
-
}
|
|
166
|
-
else {
|
|
167
|
-
closeOpenSiblings();
|
|
168
|
-
}
|
|
169
|
-
}));
|
|
170
|
-
}
|
|
171
|
-
}
|
|
172
|
-
_isParentVertical() {
|
|
173
|
-
return this._parentMenu?.orientation === 'vertical';
|
|
174
|
-
}
|
|
175
|
-
_setType() {
|
|
176
|
-
const element = this._elementRef.nativeElement;
|
|
177
|
-
if (element.nodeName === 'BUTTON' && !element.getAttribute('type')) {
|
|
178
|
-
element.setAttribute('type', 'button');
|
|
179
|
-
}
|
|
180
|
-
}
|
|
181
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.12", ngImport: i0, type: CdkMenuItem, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
182
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.12", type: CdkMenuItem, isStandalone: true, selector: "[cdkMenuItem]", inputs: { disabled: ["cdkMenuItemDisabled", "disabled"], typeaheadLabel: ["cdkMenuitemTypeaheadLabel", "typeaheadLabel"] }, outputs: { triggered: "cdkMenuItemTriggered" }, host: { attributes: { "role": "menuitem" }, listeners: { "blur": "_resetTabIndex()", "focus": "_setTabIndex()", "click": "_handleClick()", "mousedown": "_handleMousedown($event)", "keydown": "_onKeydown($event)" }, properties: { "tabindex": "_tabindex", "attr.aria-disabled": "disabled || null" }, classAttribute: "cdk-menu-item" }, exportAs: ["cdkMenuItem"], ngImport: i0 }); }
|
|
183
|
-
}
|
|
184
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.12", ngImport: i0, type: CdkMenuItem, decorators: [{
|
|
185
|
-
type: Directive,
|
|
186
|
-
args: [{
|
|
187
|
-
selector: '[cdkMenuItem]',
|
|
188
|
-
exportAs: 'cdkMenuItem',
|
|
189
|
-
standalone: true,
|
|
190
|
-
host: {
|
|
191
|
-
role: 'menuitem',
|
|
192
|
-
class: 'cdk-menu-item',
|
|
193
|
-
'[tabindex]': '_tabindex',
|
|
194
|
-
'[attr.aria-disabled]': 'disabled || null',
|
|
195
|
-
'(blur)': '_resetTabIndex()',
|
|
196
|
-
'(focus)': '_setTabIndex()',
|
|
197
|
-
'(click)': '_handleClick()',
|
|
198
|
-
'(mousedown)': '_handleMousedown($event)',
|
|
199
|
-
'(keydown)': '_onKeydown($event)',
|
|
200
|
-
},
|
|
201
|
-
}]
|
|
202
|
-
}], ctorParameters: () => [], propDecorators: { disabled: [{
|
|
203
|
-
type: Input,
|
|
204
|
-
args: ['cdkMenuItemDisabled']
|
|
205
|
-
}], typeaheadLabel: [{
|
|
206
|
-
type: Input,
|
|
207
|
-
args: ['cdkMenuitemTypeaheadLabel']
|
|
208
|
-
}], triggered: [{
|
|
209
|
-
type: Output,
|
|
210
|
-
args: ['cdkMenuItemTriggered']
|
|
211
|
-
}] } });
|
|
212
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibWVudS1pdGVtLmpzIiwic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G4gICAgICBjYXNlIEVOVEVSOlxuICAgICAgICBpZiAoIWhhc01vZGlmaWVyS2V5KGV2ZW50KSkge1xuICAgICAgICAgIHRoaXMudHJpZ2dlcih7IGtlZXBPcGVuOiBldmVudC5rZXlDb2RlID09PSBTUEFDRSAmJiAhdGhpcy5jbG9zZU9uU3BhY2ViYXJUcmlnZ2VyIH0pO1xuICAgICAgICB9XG4gICAgICAgIGJyZWFrO1xuXG4gICAgICBjYXNlIFJJR0hUX0FSUk9XOlxuICAgICAgICBpZiAoIWhhc01vZGlmaWVyS2V5KGV2ZW50KSkge1xuICAgICAgICAgIGlmICh0aGlzLl9wYXJlbnRNZW51ICYmIHRoaXMuX2lzUGFyZW50VmVydGljYWwoKSkge1xuICAgICAgICAgICAgaWYgKHRoaXMuX2Rpcj8udmFsdWUgIT09ICdydGwnKSB7XG4gICAgICAgICAgICAgIHRoaXMuX2ZvcndhcmRBcnJvd1ByZXNzZWQoZXZlbnQpO1xuICAgICAgICAgICAgfSBlbHNlIHtcbiAgICAgICAgICAgICAgdGhpcy5fYmFja0Fycm93UHJlc3NlZChldmVudCk7XG4gICAgICAgICAgICB9XG4gICAgICAgICAgfVxuICAgICAgICB9XG4gICAgICAgIGJyZWFrO1xuXG4gICAgICBjYXNlIExFRlRfQVJST1c6XG4gICAgICAgIGlmICghaGFzTW9kaWZpZXJLZXkoZXZlbnQpKSB7XG4gICAgICAgICAgaWYgKHRoaXMuX3BhcmVudE1lbnUgJiYgdGhpcy5faXNQYXJlbnRWZXJ0aWNhbCgpKSB7XG4gICAgICAgICAgICBpZiAodGhpcy5fZGlyPy52YWx1ZSAhPT0gJ3J0bCcpIHtcbiAgICAgICAgICAgICAgdGhpcy5fYmFja0Fycm93UHJlc3NlZChldmVudCk7XG4gICAgICAgICAgICB9IGVsc2Uge1xuICAgICAgICAgICAgICB0aGlzLl9mb3J3YXJkQXJyb3dQcmVzc2VkKGV2ZW50KTtcbiAgICAgICAgICAgIH1cbiAgICAgICAgICB9XG4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3BlblNpYmxpbmdzKTtcbiAgICAgICAgICAgIH0gZWxzZSB7XG4gICAgICAgICAgICAgIGNsb3NlT3BlblNpYmxpbmdzKCk7XG4gICAgICAgICAgICB9XG4gICAgICAgICAgfSksXG4gICAgICApO1xuICAgIH1cbiAgfVxuXG4gIHByaXZhdGUgX2lzUGFyZW50VmVydGljYWwoKSB7XG4gICAgcmV0dXJuIHRoaXMuX3BhcmVudE1lbnU/Lm9yaWVudGF0aW9uID09PSAndmVydGljYWwnO1xuICB9XG5cbiAgcHJpdmF0ZSBfc2V0VHlwZSgpIHtcbiAgICBjb25zdCBlbGVtZW50ID0gdGhpcy5fZWxlbWVudFJlZi5uYXRpdmVFbGVtZW50O1xuXG4gICAgaWYgKGVsZW1lbnQubm9kZU5hbWUgPT09ICdCVVRUT04nICYmICFlbGVtZW50LmdldEF0dHJpYnV0ZSgndHlwZScpKSB7XG4gICAgICBlbGVtZW50LnNldEF0dHJpYnV0ZSgndHlwZScsICdidXR0b24nKTtcbiAgICB9XG4gIH1cbn1cbiJdfQ==
|