@ethlete/cdk 2.7.0 → 2.8.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 +16 -0
- package/esm2022/lib/components/accordion/components/accordion/accordion.component.mjs +12 -23
- package/esm2022/lib/components/accordion/components/accordion-group/accordion-group.component.mjs +8 -14
- package/esm2022/lib/components/accordion/partials/accordion-hint/accordion-hint.directive.mjs +3 -3
- package/esm2022/lib/components/accordion/partials/accordion-hint-wrapper/accordion-hint-wrapper.directive.mjs +3 -3
- package/esm2022/lib/components/accordion/partials/accordion-label/accordion-label.directive.mjs +3 -3
- package/esm2022/lib/components/accordion/partials/accordion-label-wrapper/accordion-label-wrapper.directive.mjs +3 -3
- package/esm2022/lib/components/bracket/components/bracket/bracket.component.mjs +3 -3
- package/esm2022/lib/components/bracket/directives/bracket-match/bracket-match.directive.mjs +3 -3
- package/esm2022/lib/components/bracket/directives/bracket-round/bracket-round.directive.mjs +3 -3
- package/esm2022/lib/components/bracket/partials/bracket-match/bracket-match.component.mjs +3 -3
- package/esm2022/lib/components/bracket/partials/bracket-round-header/bracket-round-header.component.mjs +3 -3
- package/esm2022/lib/components/button/components/button/button.component.mjs +3 -3
- package/esm2022/lib/components/button/components/query-button/query-button.component.mjs +3 -3
- package/esm2022/lib/components/button/directives/button/button.directive.mjs +7 -8
- package/esm2022/lib/components/button/directives/query-button/query-button.directive.mjs +3 -3
- package/esm2022/lib/components/forms/components/checkbox/components/checkbox/checkbox.component.mjs +3 -3
- package/esm2022/lib/components/forms/components/checkbox/components/checkbox-field/checkbox-field.component.mjs +3 -3
- package/esm2022/lib/components/forms/components/checkbox/components/checkbox-group/checkbox-group.component.mjs +3 -3
- package/esm2022/lib/components/forms/components/checkbox/directives/checkbox/checkbox.directive.mjs +3 -3
- package/esm2022/lib/components/forms/components/checkbox/directives/checkbox-field/checkbox-field.directive.mjs +3 -3
- package/esm2022/lib/components/forms/components/checkbox/directives/checkbox-group/checkbox-group.directive.mjs +3 -3
- package/esm2022/lib/components/forms/components/checkbox/directives/checkbox-group-control/checkbox-group-control.directive.mjs +3 -3
- package/esm2022/lib/components/forms/components/error/components/error/error.component.mjs +3 -3
- package/esm2022/lib/components/forms/components/input/components/email-input/email-input.component.mjs +3 -3
- package/esm2022/lib/components/forms/components/input/components/input-field/input-field.component.mjs +3 -3
- package/esm2022/lib/components/forms/components/input/components/number-input/number-input.component.mjs +3 -3
- package/esm2022/lib/components/forms/components/input/components/password-input/password-input.component.mjs +3 -3
- package/esm2022/lib/components/forms/components/input/components/search-input/search-input.component.mjs +3 -3
- package/esm2022/lib/components/forms/components/input/components/text-input/text-input.component.mjs +3 -3
- package/esm2022/lib/components/forms/components/input/components/textarea-input/textarea-input.component.mjs +11 -22
- package/esm2022/lib/components/forms/components/input/directives/autosize-textarea/autosize-textarea.directive.mjs +3 -3
- package/esm2022/lib/components/forms/components/input/directives/email-input/email-input.directive.mjs +3 -3
- package/esm2022/lib/components/forms/components/input/directives/number-input/number-input.directive.mjs +3 -3
- package/esm2022/lib/components/forms/components/input/directives/password-input/password-input.directive.mjs +3 -3
- package/esm2022/lib/components/forms/components/input/directives/search-input/search-input.directive.mjs +3 -3
- package/esm2022/lib/components/forms/components/input/directives/text-input/text-input.directive.mjs +3 -3
- package/esm2022/lib/components/forms/components/input/directives/textarea-input/textarea-input.directive.mjs +3 -3
- package/esm2022/lib/components/forms/components/input/partials/password-input-toggle/password-input-toggle.component.mjs +3 -3
- package/esm2022/lib/components/forms/components/input/partials/search-input-clear/search-input-clear.component.mjs +3 -3
- package/esm2022/lib/components/forms/components/label/components/label/label.component.mjs +3 -3
- package/esm2022/lib/components/forms/components/label/directives/label-suffix/label-suffix.directive.mjs +8 -14
- package/esm2022/lib/components/forms/components/radio/components/radio/radio.component.mjs +3 -3
- package/esm2022/lib/components/forms/components/radio/components/radio-field/radio-field.component.mjs +3 -3
- package/esm2022/lib/components/forms/components/radio/components/radio-group/radio-group.component.mjs +3 -3
- package/esm2022/lib/components/forms/components/radio/directives/radio/radio.directive.mjs +6 -7
- package/esm2022/lib/components/forms/components/radio/directives/radio-field/radio-field.directive.mjs +3 -3
- package/esm2022/lib/components/forms/components/radio/directives/radio-group/radio-group.directive.mjs +3 -3
- package/esm2022/lib/components/forms/components/segmented-button/components/segmented-button/segmented-button.component.mjs +3 -3
- package/esm2022/lib/components/forms/components/segmented-button/components/segmented-button-field/segmented-button-field.component.mjs +3 -3
- package/esm2022/lib/components/forms/components/segmented-button/components/segmented-button-group/segmented-button-group.component.mjs +3 -3
- package/esm2022/lib/components/forms/components/segmented-button/directives/segmented-button/segmented-button.directive.mjs +6 -7
- package/esm2022/lib/components/forms/components/segmented-button/directives/segmented-button-field/segmented-button-field.directive.mjs +3 -3
- package/esm2022/lib/components/forms/components/segmented-button/directives/segmented-button-group/segmented-button-group.directive.mjs +3 -3
- package/esm2022/lib/components/forms/components/select/components/combobox/components/combobox/combobox.component.mjs +9 -10
- package/esm2022/lib/components/forms/components/select/components/combobox/directives/combobox/combobox.directive.mjs +3 -3
- package/esm2022/lib/components/forms/components/select/components/combobox/partials/combobox-body/combobox-body.component.mjs +3 -3
- package/esm2022/lib/components/forms/components/select/components/combobox/partials/combobox-option/combobox-option.component.mjs +3 -3
- package/esm2022/lib/components/forms/components/select/components/native-select/components/native-select/native-select.component.mjs +3 -3
- package/esm2022/lib/components/forms/components/select/components/native-select/directives/native-select-input/native-select-input.directive.mjs +3 -3
- package/esm2022/lib/components/forms/components/select/components/native-select/directives/native-select-option/native-select-option.directive.mjs +11 -22
- package/esm2022/lib/components/forms/components/select/components/native-select/partials/native-select-option/native-select-option.component.mjs +3 -3
- package/esm2022/lib/components/forms/components/select/components/select/components/select/select.component.mjs +3 -3
- package/esm2022/lib/components/forms/components/select/components/select/directives/select/select.directive.mjs +6 -7
- package/esm2022/lib/components/forms/components/select/components/select/directives/select-body/select-body.directive.mjs +3 -3
- package/esm2022/lib/components/forms/components/select/components/select/directives/select-option/select-option.directive.mjs +6 -7
- package/esm2022/lib/components/forms/components/select/components/select/partials/select-body/select-body.component.mjs +3 -3
- package/esm2022/lib/components/forms/components/select/components/select/partials/select-option/select-option.component.mjs +3 -3
- package/esm2022/lib/components/forms/components/select/components/select-field/select-field.component.mjs +3 -3
- package/esm2022/lib/components/forms/components/select/directives/select-field/select-field.directive.mjs +3 -3
- package/esm2022/lib/components/forms/components/slide-toggle/components/slide-toggle/slide-toggle.component.mjs +3 -3
- package/esm2022/lib/components/forms/components/slide-toggle/components/slide-toggle-field/slide-toggle-field.component.mjs +3 -3
- package/esm2022/lib/components/forms/components/slide-toggle/directives/slide-toggle/slide-toggle.directive.mjs +3 -3
- package/esm2022/lib/components/forms/components/slider/components/slider/slider.component.mjs +11 -12
- package/esm2022/lib/components/forms/components/slider/components/slider-field/slider-field.component.mjs +3 -3
- package/esm2022/lib/components/forms/directives/dynamic-form-field/dynamic-form-field.directive.mjs +6 -7
- package/esm2022/lib/components/forms/directives/dynamic-form-group/dynamic-form-group.directive.mjs +6 -7
- package/esm2022/lib/components/forms/directives/if-input-empty/if-input-empty.directive.mjs +3 -3
- package/esm2022/lib/components/forms/directives/if-input-filled/if-input-filled.directive.mjs +3 -3
- package/esm2022/lib/components/forms/directives/input/input.directive.mjs +3 -3
- package/esm2022/lib/components/forms/directives/input-prefix/input-prefix.directive.mjs +3 -3
- package/esm2022/lib/components/forms/directives/input-suffix/input-suffix.directive.mjs +3 -3
- package/esm2022/lib/components/forms/directives/native-input-ref/native-input-ref.directive.mjs +3 -3
- package/esm2022/lib/components/forms/directives/static-form-field/static-form-field.directive.mjs +3 -3
- package/esm2022/lib/components/forms/directives/static-form-group/static-form-group.directive.mjs +3 -3
- package/esm2022/lib/components/forms/directives/writeable-input/writeable-input.directive.mjs +3 -3
- package/esm2022/lib/components/forms/services/default-validator-errors.service.mjs +3 -3
- package/esm2022/lib/components/forms/services/form-field-state.service.mjs +3 -3
- package/esm2022/lib/components/forms/services/form-group-state.service.mjs +3 -3
- package/esm2022/lib/components/forms/services/input-state.service.mjs +3 -3
- package/esm2022/lib/components/forms/utils/decorated-form-field.base.mjs +3 -3
- package/esm2022/lib/components/forms/utils/decorated-input.base.mjs +3 -3
- package/esm2022/lib/components/forms/utils/input.base.mjs +3 -3
- package/esm2022/lib/components/icons/chevron-icon/chevron-icon.component.mjs +3 -3
- package/esm2022/lib/components/masonry/components/masonry/masonry.component.mjs +8 -9
- package/esm2022/lib/components/masonry/partials/masonry-item/masonry-item.component.mjs +3 -3
- package/esm2022/lib/components/overlay/components/bottom-sheet/components/bottom-sheet-container/bottom-sheet-container.component.mjs +3 -3
- package/esm2022/lib/components/overlay/components/bottom-sheet/partials/bottom-sheet-container-base/bottom-sheet-container-base.component.mjs +3 -3
- package/esm2022/lib/components/overlay/components/bottom-sheet/partials/bottom-sheet-drag-handle/bottom-sheet-drag-handle.component.mjs +3 -3
- package/esm2022/lib/components/overlay/components/bottom-sheet/partials/bottom-sheet-title/bottom-sheet-title.directive.mjs +3 -3
- package/esm2022/lib/components/overlay/components/bottom-sheet/services/bottom-sheet-base.service.mjs +3 -3
- package/esm2022/lib/components/overlay/components/bottom-sheet/services/bottom-sheet-swipe-handler.service.mjs +3 -3
- package/esm2022/lib/components/overlay/components/bottom-sheet/services/bottom-sheet.service.mjs +3 -3
- package/esm2022/lib/components/overlay/components/dialog/components/dialog-container/dialog-container.component.mjs +3 -3
- package/esm2022/lib/components/overlay/components/dialog/partials/dialog-close/dialog-close.directive.mjs +3 -3
- package/esm2022/lib/components/overlay/components/dialog/partials/dialog-container-base/dialog-container-base.component.mjs +3 -3
- package/esm2022/lib/components/overlay/components/dialog/partials/dialog-title/dialog-title.directive.mjs +3 -3
- package/esm2022/lib/components/overlay/components/dialog/services/dialog-base.service.mjs +3 -3
- package/esm2022/lib/components/overlay/components/dialog/services/dialog.service.mjs +3 -3
- package/esm2022/lib/components/overlay/components/toggletip/components/toggletip/toggletip.component.mjs +3 -3
- package/esm2022/lib/components/overlay/components/toggletip/directives/toggletip/toggletip.directive.mjs +6 -7
- package/esm2022/lib/components/overlay/components/tooltip/components/tooltip/tooltip.component.mjs +3 -3
- package/esm2022/lib/components/overlay/components/tooltip/directives/tooltip/tooltip.directive.mjs +3 -3
- package/esm2022/lib/components/overlay/services/dynamic-overlay.service.mjs +10 -12
- package/esm2022/lib/components/pagination/components/pagination/pagination.component.mjs +9 -9
- package/esm2022/lib/components/pagination/partials/pagination-link/pagination-link.directive.mjs +3 -3
- package/esm2022/lib/components/pagination/services/pagination-head.service.mjs +3 -3
- package/esm2022/lib/components/picture/picture-data.directive.mjs +8 -14
- package/esm2022/lib/components/picture/picture.component.mjs +3 -3
- package/esm2022/lib/components/progress-spinner/progress-spinner.component.mjs +13 -24
- package/esm2022/lib/components/scrollable/components/scrollable/scrollable.component.mjs +92 -51
- package/esm2022/lib/components/skeleton/components/skeleton/skeleton.component.mjs +8 -14
- package/esm2022/lib/components/skeleton/partials/skeleton-item/skeleton-item.component.mjs +3 -3
- package/esm2022/lib/components/sort/components/sort-header/sort-header.component.mjs +24 -49
- package/esm2022/lib/components/sort/partials/sort/sort.directive.mjs +18 -36
- package/esm2022/lib/components/sort/services/sort-header-intl.mjs +3 -3
- package/esm2022/lib/components/table/components/table/table.component.mjs +7 -8
- package/esm2022/lib/components/table/partials/cells/cell/cell.directive.mjs +3 -3
- package/esm2022/lib/components/table/partials/cells/cell-def/cell-def.directive.mjs +3 -3
- package/esm2022/lib/components/table/partials/cells/column-def/column-def.directive.mjs +3 -3
- package/esm2022/lib/components/table/partials/cells/footer-cell/footer-cell.directive.mjs +3 -3
- package/esm2022/lib/components/table/partials/cells/footer-cell-def/footer-cell-def.directive.mjs +3 -3
- package/esm2022/lib/components/table/partials/cells/header-cell/header-cell.directive.mjs +3 -3
- package/esm2022/lib/components/table/partials/cells/header-cell-def/header-cell-def.directive.mjs +3 -3
- package/esm2022/lib/components/table/partials/cells/text-column/text-column.component.mjs +3 -3
- package/esm2022/lib/components/table/partials/rows/footer-row/footer-row.component.mjs +3 -3
- package/esm2022/lib/components/table/partials/rows/footer-row-def/footer-row-def.directive.mjs +3 -3
- package/esm2022/lib/components/table/partials/rows/header-row/header-row.component.mjs +3 -3
- package/esm2022/lib/components/table/partials/rows/header-row-def/header-row-def.directive.mjs +3 -3
- package/esm2022/lib/components/table/partials/rows/no-data-row/no-data-row.directive.mjs +3 -3
- package/esm2022/lib/components/table/partials/rows/recycle-rows/recycle-rows.directive.mjs +3 -3
- package/esm2022/lib/components/table/partials/rows/row/row.component.mjs +3 -3
- package/esm2022/lib/components/table/partials/rows/row-def/row-def.directive.mjs +3 -3
- package/esm2022/lib/components/table/partials/table-busy/table-busy.directive.mjs +8 -8
- package/esm2022/lib/components/table/partials/table-busy-outlet/table-busy-outlet.directive.mjs +9 -9
- package/esm2022/lib/components/tabs/components/inline-tabs/inline-tabs.component.mjs +41 -70
- package/esm2022/lib/components/tabs/components/nav-tabs/nav-tabs.component.mjs +10 -18
- package/esm2022/lib/components/tabs/partials/inline-tabs/inline-tab/inline-tab.component.mjs +11 -22
- package/esm2022/lib/components/tabs/partials/inline-tabs/inline-tab-body/inline-tab-body.component.mjs +15 -17
- package/esm2022/lib/components/tabs/partials/inline-tabs/inline-tab-body-host/inline-tab-body-host.directive.mjs +3 -3
- package/esm2022/lib/components/tabs/partials/inline-tabs/inline-tab-content/inline-tab-content.directive.mjs +8 -8
- package/esm2022/lib/components/tabs/partials/inline-tabs/inline-tab-header/inline-tab-header.component.mjs +6 -15
- package/esm2022/lib/components/tabs/partials/inline-tabs/inline-tab-label/inline-tab-label.directive.mjs +3 -3
- package/esm2022/lib/components/tabs/partials/inline-tabs/inline-tab-label-wrapper/inline-tab-label-wrapper.directive.mjs +11 -17
- package/esm2022/lib/components/tabs/partials/nav-tabs/nav-tab-link/nav-tab-link.directive.mjs +24 -43
- package/esm2022/lib/components/tabs/partials/nav-tabs/nav-tabs-outlet/nav-tabs-outlet.component.mjs +3 -3
- package/esm2022/lib/components/tabs/utils/active-tab-underline.util.mjs +6 -7
- package/esm2022/lib/components/tabs/utils/paginated-tab-header.directive.mjs +25 -45
- package/esm2022/lib/services/swipe-handler.service.mjs +3 -3
- package/fesm2022/ethlete-cdk.mjs +780 -921
- package/fesm2022/ethlete-cdk.mjs.map +1 -1
- package/lib/components/accordion/components/accordion/accordion.component.d.ts +5 -8
- package/lib/components/accordion/components/accordion-group/accordion-group.component.d.ts +3 -5
- package/lib/components/accordion/partials/accordion-hint/accordion-hint.directive.d.ts +1 -1
- package/lib/components/accordion/partials/accordion-hint-wrapper/accordion-hint-wrapper.directive.d.ts +1 -1
- package/lib/components/accordion/partials/accordion-label/accordion-label.directive.d.ts +1 -1
- package/lib/components/accordion/partials/accordion-label-wrapper/accordion-label-wrapper.directive.d.ts +1 -1
- package/lib/components/bracket/components/bracket/bracket.component.d.ts +1 -1
- package/lib/components/bracket/directives/bracket-match/bracket-match.directive.d.ts +1 -1
- package/lib/components/bracket/directives/bracket-round/bracket-round.directive.d.ts +1 -1
- package/lib/components/bracket/partials/bracket-match/bracket-match.component.d.ts +1 -1
- package/lib/components/bracket/partials/bracket-round-header/bracket-round-header.component.d.ts +1 -1
- package/lib/components/button/components/button/button.component.d.ts +1 -1
- package/lib/components/button/components/query-button/query-button.component.d.ts +1 -1
- package/lib/components/button/directives/button/button.directive.d.ts +3 -4
- package/lib/components/button/directives/query-button/query-button.directive.d.ts +1 -1
- package/lib/components/forms/components/checkbox/components/checkbox/checkbox.component.d.ts +1 -1
- package/lib/components/forms/components/checkbox/components/checkbox-field/checkbox-field.component.d.ts +1 -1
- package/lib/components/forms/components/checkbox/components/checkbox-group/checkbox-group.component.d.ts +1 -1
- package/lib/components/forms/components/checkbox/directives/checkbox/checkbox.directive.d.ts +1 -1
- package/lib/components/forms/components/checkbox/directives/checkbox-field/checkbox-field.directive.d.ts +1 -1
- package/lib/components/forms/components/checkbox/directives/checkbox-group/checkbox-group.directive.d.ts +1 -1
- package/lib/components/forms/components/checkbox/directives/checkbox-group-control/checkbox-group-control.directive.d.ts +1 -1
- package/lib/components/forms/components/error/components/error/error.component.d.ts +1 -1
- package/lib/components/forms/components/input/components/email-input/email-input.component.d.ts +1 -1
- package/lib/components/forms/components/input/components/input-field/input-field.component.d.ts +1 -1
- package/lib/components/forms/components/input/components/number-input/number-input.component.d.ts +1 -1
- package/lib/components/forms/components/input/components/password-input/password-input.component.d.ts +1 -1
- package/lib/components/forms/components/input/components/search-input/search-input.component.d.ts +1 -1
- package/lib/components/forms/components/input/components/text-input/text-input.component.d.ts +1 -1
- package/lib/components/forms/components/input/components/textarea-input/textarea-input.component.d.ts +5 -8
- package/lib/components/forms/components/input/directives/autosize-textarea/autosize-textarea.directive.d.ts +1 -1
- package/lib/components/forms/components/input/directives/email-input/email-input.directive.d.ts +1 -1
- package/lib/components/forms/components/input/directives/number-input/number-input.directive.d.ts +1 -1
- package/lib/components/forms/components/input/directives/password-input/password-input.directive.d.ts +1 -1
- package/lib/components/forms/components/input/directives/search-input/search-input.directive.d.ts +1 -1
- package/lib/components/forms/components/input/directives/text-input/text-input.directive.d.ts +1 -1
- package/lib/components/forms/components/input/directives/textarea-input/textarea-input.directive.d.ts +1 -1
- package/lib/components/forms/components/input/partials/password-input-toggle/password-input-toggle.component.d.ts +1 -1
- package/lib/components/forms/components/input/partials/search-input-clear/search-input-clear.component.d.ts +1 -1
- package/lib/components/forms/components/label/components/label/label.component.d.ts +1 -1
- package/lib/components/forms/components/label/directives/label-suffix/label-suffix.directive.d.ts +3 -5
- package/lib/components/forms/components/radio/components/radio/radio.component.d.ts +1 -1
- package/lib/components/forms/components/radio/components/radio-field/radio-field.component.d.ts +1 -1
- package/lib/components/forms/components/radio/components/radio-group/radio-group.component.d.ts +1 -1
- package/lib/components/forms/components/radio/directives/radio/radio.directive.d.ts +2 -3
- package/lib/components/forms/components/radio/directives/radio-field/radio-field.directive.d.ts +1 -1
- package/lib/components/forms/components/radio/directives/radio-group/radio-group.directive.d.ts +1 -1
- package/lib/components/forms/components/segmented-button/components/segmented-button/segmented-button.component.d.ts +1 -1
- package/lib/components/forms/components/segmented-button/components/segmented-button-field/segmented-button-field.component.d.ts +1 -1
- package/lib/components/forms/components/segmented-button/components/segmented-button-group/segmented-button-group.component.d.ts +1 -1
- package/lib/components/forms/components/segmented-button/directives/segmented-button/segmented-button.directive.d.ts +2 -3
- package/lib/components/forms/components/segmented-button/directives/segmented-button-field/segmented-button-field.directive.d.ts +1 -1
- package/lib/components/forms/components/segmented-button/directives/segmented-button-group/segmented-button-group.directive.d.ts +1 -1
- package/lib/components/forms/components/select/components/combobox/components/combobox/combobox.component.d.ts +5 -6
- package/lib/components/forms/components/select/components/combobox/directives/combobox/combobox.directive.d.ts +1 -1
- package/lib/components/forms/components/select/components/combobox/partials/combobox-body/combobox-body.component.d.ts +1 -1
- package/lib/components/forms/components/select/components/combobox/partials/combobox-option/combobox-option.component.d.ts +1 -1
- package/lib/components/forms/components/select/components/native-select/components/native-select/native-select.component.d.ts +1 -1
- package/lib/components/forms/components/select/components/native-select/directives/native-select-input/native-select-input.directive.d.ts +1 -1
- package/lib/components/forms/components/select/components/native-select/directives/native-select-option/native-select-option.directive.d.ts +5 -8
- package/lib/components/forms/components/select/components/native-select/partials/native-select-option/native-select-option.component.d.ts +1 -1
- package/lib/components/forms/components/select/components/select/components/select/select.component.d.ts +1 -1
- package/lib/components/forms/components/select/components/select/directives/select/select.directive.d.ts +2 -3
- package/lib/components/forms/components/select/components/select/directives/select-body/select-body.directive.d.ts +1 -1
- package/lib/components/forms/components/select/components/select/directives/select-option/select-option.directive.d.ts +2 -3
- package/lib/components/forms/components/select/components/select/partials/select-body/select-body.component.d.ts +1 -1
- package/lib/components/forms/components/select/components/select/partials/select-option/select-option.component.d.ts +1 -1
- package/lib/components/forms/components/select/components/select-field/select-field.component.d.ts +1 -1
- package/lib/components/forms/components/select/directives/select-field/select-field.directive.d.ts +1 -1
- package/lib/components/forms/components/slide-toggle/components/slide-toggle/slide-toggle.component.d.ts +1 -1
- package/lib/components/forms/components/slide-toggle/components/slide-toggle-field/slide-toggle-field.component.d.ts +1 -1
- package/lib/components/forms/components/slide-toggle/directives/slide-toggle/slide-toggle.directive.d.ts +1 -1
- package/lib/components/forms/components/slider/components/slider/slider.component.d.ts +6 -7
- package/lib/components/forms/components/slider/components/slider-field/slider-field.component.d.ts +1 -1
- package/lib/components/forms/directives/dynamic-form-field/dynamic-form-field.directive.d.ts +2 -3
- package/lib/components/forms/directives/dynamic-form-group/dynamic-form-group.directive.d.ts +2 -3
- package/lib/components/forms/directives/if-input-empty/if-input-empty.directive.d.ts +1 -1
- package/lib/components/forms/directives/if-input-filled/if-input-filled.directive.d.ts +1 -1
- package/lib/components/forms/directives/input/input.directive.d.ts +1 -1
- package/lib/components/forms/directives/input-prefix/input-prefix.directive.d.ts +1 -1
- package/lib/components/forms/directives/input-suffix/input-suffix.directive.d.ts +1 -1
- package/lib/components/forms/directives/native-input-ref/native-input-ref.directive.d.ts +1 -1
- package/lib/components/forms/directives/static-form-field/static-form-field.directive.d.ts +1 -1
- package/lib/components/forms/directives/static-form-group/static-form-group.directive.d.ts +1 -1
- package/lib/components/forms/directives/writeable-input/writeable-input.directive.d.ts +1 -1
- 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/icons/chevron-icon/chevron-icon.component.d.ts +1 -1
- package/lib/components/masonry/components/masonry/masonry.component.d.ts +3 -4
- package/lib/components/masonry/partials/masonry-item/masonry-item.component.d.ts +1 -1
- package/lib/components/overlay/components/bottom-sheet/components/bottom-sheet-container/bottom-sheet-container.component.d.ts +1 -1
- package/lib/components/overlay/components/bottom-sheet/partials/bottom-sheet-container-base/bottom-sheet-container-base.component.d.ts +1 -1
- package/lib/components/overlay/components/bottom-sheet/partials/bottom-sheet-drag-handle/bottom-sheet-drag-handle.component.d.ts +1 -1
- package/lib/components/overlay/components/bottom-sheet/partials/bottom-sheet-title/bottom-sheet-title.directive.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/components/dialog-container/dialog-container.component.d.ts +1 -1
- package/lib/components/overlay/components/dialog/partials/dialog-close/dialog-close.directive.d.ts +1 -1
- package/lib/components/overlay/components/dialog/partials/dialog-container-base/dialog-container-base.component.d.ts +1 -1
- package/lib/components/overlay/components/dialog/partials/dialog-title/dialog-title.directive.d.ts +1 -1
- package/lib/components/overlay/components/dialog/services/dialog-base.service.d.ts +1 -1
- package/lib/components/overlay/components/toggletip/components/toggletip/toggletip.component.d.ts +1 -1
- package/lib/components/overlay/components/toggletip/directives/toggletip/toggletip.directive.d.ts +2 -3
- package/lib/components/overlay/components/tooltip/components/tooltip/tooltip.component.d.ts +1 -1
- package/lib/components/overlay/components/tooltip/directives/tooltip/tooltip.directive.d.ts +1 -1
- package/lib/components/overlay/services/dynamic-overlay.service.d.ts +3 -6
- package/lib/components/pagination/components/pagination/pagination.component.d.ts +4 -4
- package/lib/components/pagination/partials/pagination-link/pagination-link.directive.d.ts +1 -1
- package/lib/components/picture/picture-data.directive.d.ts +3 -5
- package/lib/components/picture/picture.component.d.ts +1 -1
- package/lib/components/progress-spinner/progress-spinner.component.d.ts +7 -10
- package/lib/components/scrollable/components/scrollable/scrollable.component.d.ts +7 -3
- package/lib/components/skeleton/components/skeleton/skeleton.component.d.ts +3 -5
- package/lib/components/skeleton/partials/skeleton-item/skeleton-item.component.d.ts +1 -1
- package/lib/components/sort/components/sort-header/sort-header.component.d.ts +18 -22
- package/lib/components/sort/partials/sort/sort.directive.d.ts +8 -12
- package/lib/components/table/components/table/table.component.d.ts +2 -3
- package/lib/components/table/partials/cells/cell/cell.directive.d.ts +1 -1
- package/lib/components/table/partials/cells/cell-def/cell-def.directive.d.ts +1 -1
- package/lib/components/table/partials/cells/column-def/column-def.directive.d.ts +1 -1
- package/lib/components/table/partials/cells/footer-cell/footer-cell.directive.d.ts +1 -1
- package/lib/components/table/partials/cells/footer-cell-def/footer-cell-def.directive.d.ts +1 -1
- package/lib/components/table/partials/cells/header-cell/header-cell.directive.d.ts +1 -1
- package/lib/components/table/partials/cells/header-cell-def/header-cell-def.directive.d.ts +1 -1
- package/lib/components/table/partials/cells/text-column/text-column.component.d.ts +1 -1
- package/lib/components/table/partials/rows/footer-row/footer-row.component.d.ts +1 -1
- package/lib/components/table/partials/rows/footer-row-def/footer-row-def.directive.d.ts +1 -1
- package/lib/components/table/partials/rows/header-row/header-row.component.d.ts +1 -1
- package/lib/components/table/partials/rows/header-row-def/header-row-def.directive.d.ts +1 -1
- package/lib/components/table/partials/rows/no-data-row/no-data-row.directive.d.ts +1 -1
- package/lib/components/table/partials/rows/recycle-rows/recycle-rows.directive.d.ts +1 -1
- package/lib/components/table/partials/rows/row/row.component.d.ts +1 -1
- package/lib/components/table/partials/rows/row-def/row-def.directive.d.ts +1 -1
- package/lib/components/table/partials/table-busy/table-busy.directive.d.ts +2 -3
- package/lib/components/table/partials/table-busy-outlet/table-busy-outlet.directive.d.ts +2 -3
- package/lib/components/tabs/components/inline-tabs/inline-tabs.component.d.ts +15 -24
- package/lib/components/tabs/components/nav-tabs/nav-tabs.component.d.ts +3 -8
- package/lib/components/tabs/partials/inline-tabs/inline-tab/inline-tab.component.d.ts +5 -8
- package/lib/components/tabs/partials/inline-tabs/inline-tab-body/inline-tab-body.component.d.ts +6 -5
- package/lib/components/tabs/partials/inline-tabs/inline-tab-body-host/inline-tab-body-host.directive.d.ts +1 -1
- package/lib/components/tabs/partials/inline-tabs/inline-tab-content/inline-tab-content.directive.d.ts +2 -3
- package/lib/components/tabs/partials/inline-tabs/inline-tab-header/inline-tab-header.component.d.ts +3 -6
- package/lib/components/tabs/partials/inline-tabs/inline-tab-label/inline-tab-label.directive.d.ts +1 -1
- package/lib/components/tabs/partials/inline-tabs/inline-tab-label-wrapper/inline-tab-label-wrapper.directive.d.ts +4 -7
- package/lib/components/tabs/partials/nav-tabs/nav-tab-link/nav-tab-link.directive.d.ts +14 -18
- package/lib/components/tabs/partials/nav-tabs/nav-tabs-outlet/nav-tabs-outlet.component.d.ts +1 -1
- package/lib/components/tabs/utils/active-tab-underline.util.d.ts +2 -3
- package/lib/components/tabs/utils/paginated-tab-header.directive.d.ts +12 -17
- package/package.json +4 -5
package/fesm2022/ethlete-cdk.mjs
CHANGED
|
@@ -1,11 +1,10 @@
|
|
|
1
|
-
import { coerceBooleanProperty, coerceNumberProperty, _isNumberValue } from '@angular/cdk/coercion';
|
|
2
1
|
import * as i1 from '@angular/cdk/portal';
|
|
3
2
|
import { CdkPortal, PortalModule, ComponentPortal, CdkPortalOutlet, TemplatePortal } from '@angular/cdk/portal';
|
|
4
3
|
import { AsyncPipe, NgIf, NgClass, NgTemplateOutlet, NgForOf, JsonPipe, NgFor, DOCUMENT } from '@angular/common';
|
|
5
4
|
import * as i0 from '@angular/core';
|
|
6
|
-
import { Component, ViewEncapsulation, ChangeDetectionStrategy, Directive, InjectionToken, Input, ContentChild, ContentChildren, inject, ElementRef, Injector, HostBinding, isDevMode, Injectable, TemplateRef, ViewContainerRef, forwardRef, ViewChild, EventEmitter, Output, Optional, Inject, SkipSelf, HostListener, ChangeDetectorRef, Renderer2,
|
|
5
|
+
import { Component, ViewEncapsulation, ChangeDetectionStrategy, Directive, InjectionToken, booleanAttribute, Input, ContentChild, ContentChildren, inject, ElementRef, Injector, HostBinding, isDevMode, Injectable, TemplateRef, ViewContainerRef, forwardRef, ViewChild, numberAttribute, EventEmitter, Output, Optional, Inject, SkipSelf, HostListener, ChangeDetectorRef, Renderer2, Attribute, NgZone } from '@angular/core';
|
|
7
6
|
import * as i1$1 from '@ethlete/core';
|
|
8
|
-
import { LetDirective, createDestroy, ScrollObserverFirstElementDirective, ScrollObserverLastElementDirective, Memo, createReactiveBindings, IS_EMAIL, MUST_MATCH, IS_ARRAY_NOT_EMPTY, equal, ResizeObserverService, createFlipAnimation, ClickOutsideDirective, ANIMATED_LIFECYCLE_TOKEN, AnimatedLifecycleDirective, RuntimeError, AnimatedOverlayDirective, SelectionModel, ActiveSelectionModel, ObserveContentDirective, clamp, nextFrame, DELAYABLE_TOKEN, ObserveResizeDirective, SmartBlockScrollStrategy, RouterStateService, ClickObserverService, FocusVisibleService, scrollToElement, getElementVisibleStates, IS_ACTIVE_ELEMENT, IS_ELEMENT, CursorDragScrollDirective, ObserveScrollStateDirective, IsElementDirective, IsActiveElementDirective, ScrollObserverIgnoreTargetDirective, TypedQueryList } from '@ethlete/core';
|
|
7
|
+
import { LetDirective, createDestroy, ScrollObserverFirstElementDirective, ScrollObserverLastElementDirective, Memo, createReactiveBindings, IS_EMAIL, MUST_MATCH, IS_ARRAY_NOT_EMPTY, equal, ResizeObserverService, createFlipAnimation, ClickOutsideDirective, ANIMATED_LIFECYCLE_TOKEN, AnimatedLifecycleDirective, RuntimeError, AnimatedOverlayDirective, SelectionModel, ActiveSelectionModel, ObserveContentDirective, clamp, nextFrame, DELAYABLE_TOKEN, ObserveResizeDirective, SmartBlockScrollStrategy, RouterStateService, ClickObserverService, FocusVisibleService, ViewportService, scrollToElement, getElementVisibleStates, IS_ACTIVE_ELEMENT, IS_ELEMENT, CursorDragScrollDirective, ObserveScrollStateDirective, IsElementDirective, IsActiveElementDirective, ScrollObserverIgnoreTargetDirective, TypedQueryList } from '@ethlete/core';
|
|
9
8
|
import { BehaviorSubject, startWith, map, switchMap, combineLatest, pairwise, tap, takeUntil, skip, of, Subject, debounceTime, filter, distinctUntilChanged, withLatestFrom, skipWhile, catchError, throwError, firstValueFrom, fromEvent, merge, take, timer, skipUntil, defer, Subscription, Observable } from 'rxjs';
|
|
10
9
|
import { trigger, state, style, transition, animate } from '@angular/animations';
|
|
11
10
|
import { __decorate, __metadata } from 'tslib';
|
|
@@ -21,19 +20,19 @@ import { CdkDialogContainer, Dialog, DialogConfig, DIALOG_SCROLL_STRATEGY_PROVID
|
|
|
21
20
|
import * as i2 from '@angular/cdk/overlay';
|
|
22
21
|
import { ViewportRuler } from '@angular/cdk/overlay';
|
|
23
22
|
import { Meta, Title } from '@angular/platform-browser';
|
|
24
|
-
import
|
|
25
|
-
import { Router, NavigationEnd } from '@angular/router';
|
|
23
|
+
import { Router, NavigationEnd, RouterLink, RouterLinkActive } from '@angular/router';
|
|
26
24
|
import { _VIEW_REPEATER_STRATEGY, _RecycleViewRepeaterStrategy, _DisposeViewRepeaterStrategy, DataSource } from '@angular/cdk/collections';
|
|
27
25
|
import * as i2$1 from '@angular/cdk/platform';
|
|
28
|
-
import * as
|
|
29
|
-
import { CdkScrollableModule } from '@angular/cdk/scrolling';
|
|
26
|
+
import * as i3 from '@angular/cdk/scrolling';
|
|
27
|
+
import { CdkScrollableModule, ViewportRuler as ViewportRuler$1 } from '@angular/cdk/scrolling';
|
|
30
28
|
import * as i1$3 from '@angular/cdk/table';
|
|
31
29
|
import { CdkCell, CdkCellDef, CdkColumnDef, CDK_TABLE, CdkFooterCell, CdkFooterCellDef, CdkHeaderCell, CdkHeaderCellDef, CdkTextColumn, TEXT_COLUMN_OPTIONS, CdkFooterRow, CdkTableModule, CDK_ROW_TEMPLATE, CdkFooterRowDef, CdkHeaderRow, CdkHeaderRowDef, CdkNoDataRow, CdkRow, CdkRowDef, CdkTable, _COALESCED_STYLE_SCHEDULER, STICKY_POSITIONING_LISTENER, _CoalescedStyleScheduler } from '@angular/cdk/table';
|
|
30
|
+
import { _isNumberValue } from '@angular/cdk/coercion';
|
|
32
31
|
import { takeUntil as takeUntil$1, take as take$1 } from 'rxjs/operators';
|
|
33
32
|
|
|
34
33
|
class ChevronIconComponent {
|
|
35
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.
|
|
36
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.
|
|
34
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: ChevronIconComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
35
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.1", type: ChevronIconComponent, isStandalone: true, selector: "et-chevron-icon", host: { classAttribute: "et-chevron-icon" }, ngImport: i0, template: `
|
|
37
36
|
<!--! Font Awesome Pro 6.2.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2022 Fonticons, Inc. -->
|
|
38
37
|
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512">
|
|
39
38
|
<path
|
|
@@ -43,7 +42,7 @@ class ChevronIconComponent {
|
|
|
43
42
|
</svg>
|
|
44
43
|
`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
45
44
|
}
|
|
46
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.
|
|
45
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: ChevronIconComponent, decorators: [{
|
|
47
46
|
type: Component,
|
|
48
47
|
args: [{
|
|
49
48
|
selector: 'et-chevron-icon',
|
|
@@ -68,10 +67,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0", ngImpor
|
|
|
68
67
|
const IconImports = [ChevronIconComponent];
|
|
69
68
|
|
|
70
69
|
class AccordionLabelDirective {
|
|
71
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.
|
|
72
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.
|
|
70
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: AccordionLabelDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
71
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.1", type: AccordionLabelDirective, isStandalone: true, selector: "[et-accordion-label]", host: { classAttribute: "et-accordion-label" }, ngImport: i0 }); }
|
|
73
72
|
}
|
|
74
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.
|
|
73
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: AccordionLabelDirective, decorators: [{
|
|
75
74
|
type: Directive,
|
|
76
75
|
args: [{
|
|
77
76
|
selector: '[et-accordion-label]',
|
|
@@ -88,10 +87,10 @@ class AccordionLabelWrapperDirective extends CdkPortal {
|
|
|
88
87
|
constructor(templateRef, viewContainerRef) {
|
|
89
88
|
super(templateRef, viewContainerRef);
|
|
90
89
|
}
|
|
91
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.
|
|
92
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.
|
|
90
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: AccordionLabelWrapperDirective, deps: [{ token: i0.TemplateRef }, { token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
91
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.1", type: AccordionLabelWrapperDirective, isStandalone: true, selector: "ng-template[et-accordion-label-wrapper]", providers: [{ provide: ACCORDION_LABEL_WRAPPER_DIRECTIVE, useExisting: AccordionLabelWrapperDirective }], usesInheritance: true, ngImport: i0 }); }
|
|
93
92
|
}
|
|
94
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.
|
|
93
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: AccordionLabelWrapperDirective, decorators: [{
|
|
95
94
|
type: Directive,
|
|
96
95
|
args: [{
|
|
97
96
|
selector: 'ng-template[et-accordion-label-wrapper]',
|
|
@@ -101,10 +100,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0", ngImpor
|
|
|
101
100
|
}], ctorParameters: function () { return [{ type: i0.TemplateRef }, { type: i0.ViewContainerRef }]; } });
|
|
102
101
|
|
|
103
102
|
class AccordionHintDirective {
|
|
104
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.
|
|
105
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.
|
|
103
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: AccordionHintDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
104
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.1", type: AccordionHintDirective, isStandalone: true, selector: "[et-accordion-hint]", host: { classAttribute: "et-accordion-hint" }, ngImport: i0 }); }
|
|
106
105
|
}
|
|
107
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.
|
|
106
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: AccordionHintDirective, decorators: [{
|
|
108
107
|
type: Directive,
|
|
109
108
|
args: [{
|
|
110
109
|
selector: '[et-accordion-hint]',
|
|
@@ -121,10 +120,10 @@ class AccordionHintWrapperDirective extends CdkPortal {
|
|
|
121
120
|
constructor(templateRef, viewContainerRef) {
|
|
122
121
|
super(templateRef, viewContainerRef);
|
|
123
122
|
}
|
|
124
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.
|
|
125
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.
|
|
123
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: AccordionHintWrapperDirective, deps: [{ token: i0.TemplateRef }, { token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
124
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.1", type: AccordionHintWrapperDirective, isStandalone: true, selector: "ng-template[et-accordion-hint-wrapper]", providers: [{ provide: ACCORDION_HINT_WRAPPER_DIRECTIVE, useExisting: AccordionHintWrapperDirective }], usesInheritance: true, ngImport: i0 }); }
|
|
126
125
|
}
|
|
127
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.
|
|
126
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: AccordionHintWrapperDirective, decorators: [{
|
|
128
127
|
type: Directive,
|
|
129
128
|
args: [{
|
|
130
129
|
selector: 'ng-template[et-accordion-hint-wrapper]',
|
|
@@ -147,8 +146,8 @@ let accordionId = 0;
|
|
|
147
146
|
class AccordionComponent {
|
|
148
147
|
constructor() {
|
|
149
148
|
this._id = `et-accordion-${accordionId++}`;
|
|
150
|
-
this.
|
|
151
|
-
this.
|
|
149
|
+
this.isOpenByDefault = false;
|
|
150
|
+
this.disabled = false;
|
|
152
151
|
this.label = '';
|
|
153
152
|
this.bodyId = `${this._id}-body`;
|
|
154
153
|
this.headerId = `${this._id}-header`;
|
|
@@ -156,18 +155,6 @@ class AccordionComponent {
|
|
|
156
155
|
this._isLast = false;
|
|
157
156
|
this._isOpen$ = new BehaviorSubject(false);
|
|
158
157
|
}
|
|
159
|
-
get isOpenByDefault() {
|
|
160
|
-
return this._isOpenByDefault;
|
|
161
|
-
}
|
|
162
|
-
set isOpenByDefault(value) {
|
|
163
|
-
this._isOpenByDefault = coerceBooleanProperty(value);
|
|
164
|
-
}
|
|
165
|
-
get disabled() {
|
|
166
|
-
return this._disabled;
|
|
167
|
-
}
|
|
168
|
-
set disabled(value) {
|
|
169
|
-
this._disabled = coerceBooleanProperty(value);
|
|
170
|
-
}
|
|
171
158
|
get isOpen$() {
|
|
172
159
|
return this._isOpen$.asObservable();
|
|
173
160
|
}
|
|
@@ -186,10 +173,10 @@ class AccordionComponent {
|
|
|
186
173
|
close() {
|
|
187
174
|
this._isOpen$.next(false);
|
|
188
175
|
}
|
|
189
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.
|
|
190
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.
|
|
176
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: AccordionComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
177
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.1", type: AccordionComponent, isStandalone: true, selector: "et-accordion", inputs: { isOpenByDefault: ["isOpenByDefault", "isOpenByDefault", booleanAttribute], disabled: ["disabled", "disabled", booleanAttribute], label: "label" }, host: { classAttribute: "et-accordion" }, providers: [{ provide: ACCORDION_COMPONENT, useExisting: AccordionComponent }], queries: [{ propertyName: "templateLabel", first: true, predicate: ACCORDION_LABEL_WRAPPER_DIRECTIVE, descendants: true }, { propertyName: "templateHint", first: true, predicate: ACCORDION_HINT_WRAPPER_DIRECTIVE, descendants: true }], ngImport: i0, template: "<div *etLet=\"_isOpen$ | async as isOpen\" class=\"et-accordion-container\">\n <h3 class=\"et-accordion-header-wrapper\">\n <button\n [disabled]=\"disabled\"\n [id]=\"headerId\"\n [attr.aria-controls]=\"bodyId\"\n [attr.aria-expanded]=\"isOpen\"\n [class.et-accordion-has-hint]=\"!!templateHint\"\n (click)=\"toggleAccordionOpen()\"\n class=\"et-accordion-header\"\n type=\"button\"\n >\n <div>\n <ng-template [ngIf]=\"templateLabel\" [ngIfElse]=\"textLabelTpl\">\n <ng-template [cdkPortalOutlet]=\"templateLabel\" />\n </ng-template>\n\n <ng-template #textLabelTpl\n ><span et-accordion-label>{{ label }} </span>\n </ng-template>\n </div>\n\n <ng-container *ngIf=\"templateHint\">\n <ng-template [cdkPortalOutlet]=\"templateHint\" />\n </ng-container>\n\n <et-chevron-icon />\n </button>\n </h3>\n <div\n [@animateOpenClose]=\"(_isOpen$ | async) ? 'open' : 'close'\"\n [attr.aria-labelledby]=\"headerId\"\n [id]=\"bodyId\"\n class=\"et-accordion-body\"\n role=\"region\"\n >\n <div class=\"et-accordion-body-container\">\n <ng-content />\n </div>\n </div>\n <hr class=\"et-accordion-separator\" />\n</div>\n", styles: [":where(.et-accordion){--chevron-size: 15px}.et-accordion .et-accordion-container{position:relative;z-index:1}.et-accordion .et-chevron-icon{display:block;transform:rotate(180deg);transition:transform .3s var(--ease-5);inline-size:var(--chevron-size);block-size:var(--chevron-size)}.et-accordion [aria-expanded=true] .et-chevron-icon{transform:rotate(0)}.et-accordion .et-accordion-header{display:grid;grid-template-columns:1fr auto;inline-size:100%;block-size:100%;text-align:left;background-color:transparent;border:none;align-items:center;padding:0;gap:15px}.et-accordion .et-accordion-header:not(:disabled){cursor:pointer}.et-accordion .et-accordion-header.et-accordion-has-hint{grid-template-columns:1fr auto auto}.et-accordion .et-accordion-header-wrapper{margin:0}.et-accordion .et-accordion-body{overflow:hidden}.et-accordion .et-accordion-separator{position:relative;z-index:-1}\n"], dependencies: [{ kind: "directive", type: LetDirective, selector: "[etLet]", inputs: ["etLet"] }, { kind: "pipe", type: AsyncPipe, name: "async" }, { kind: "directive", type: AccordionLabelDirective, selector: "[et-accordion-label]" }, { kind: "ngmodule", type: PortalModule }, { kind: "directive", type: i1.CdkPortalOutlet, selector: "[cdkPortalOutlet]", inputs: ["cdkPortalOutlet"], outputs: ["attached"], exportAs: ["cdkPortalOutlet"] }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: ChevronIconComponent, selector: "et-chevron-icon" }], animations: [accordionAnimations.animateOpenClose], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
191
178
|
}
|
|
192
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.
|
|
179
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: AccordionComponent, decorators: [{
|
|
193
180
|
type: Component,
|
|
194
181
|
args: [{ selector: 'et-accordion', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, standalone: true, providers: [{ provide: ACCORDION_COMPONENT, useExisting: AccordionComponent }], imports: [
|
|
195
182
|
LetDirective,
|
|
@@ -204,9 +191,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0", ngImpor
|
|
|
204
191
|
class: 'et-accordion',
|
|
205
192
|
}, template: "<div *etLet=\"_isOpen$ | async as isOpen\" class=\"et-accordion-container\">\n <h3 class=\"et-accordion-header-wrapper\">\n <button\n [disabled]=\"disabled\"\n [id]=\"headerId\"\n [attr.aria-controls]=\"bodyId\"\n [attr.aria-expanded]=\"isOpen\"\n [class.et-accordion-has-hint]=\"!!templateHint\"\n (click)=\"toggleAccordionOpen()\"\n class=\"et-accordion-header\"\n type=\"button\"\n >\n <div>\n <ng-template [ngIf]=\"templateLabel\" [ngIfElse]=\"textLabelTpl\">\n <ng-template [cdkPortalOutlet]=\"templateLabel\" />\n </ng-template>\n\n <ng-template #textLabelTpl\n ><span et-accordion-label>{{ label }} </span>\n </ng-template>\n </div>\n\n <ng-container *ngIf=\"templateHint\">\n <ng-template [cdkPortalOutlet]=\"templateHint\" />\n </ng-container>\n\n <et-chevron-icon />\n </button>\n </h3>\n <div\n [@animateOpenClose]=\"(_isOpen$ | async) ? 'open' : 'close'\"\n [attr.aria-labelledby]=\"headerId\"\n [id]=\"bodyId\"\n class=\"et-accordion-body\"\n role=\"region\"\n >\n <div class=\"et-accordion-body-container\">\n <ng-content />\n </div>\n </div>\n <hr class=\"et-accordion-separator\" />\n</div>\n", styles: [":where(.et-accordion){--chevron-size: 15px}.et-accordion .et-accordion-container{position:relative;z-index:1}.et-accordion .et-chevron-icon{display:block;transform:rotate(180deg);transition:transform .3s var(--ease-5);inline-size:var(--chevron-size);block-size:var(--chevron-size)}.et-accordion [aria-expanded=true] .et-chevron-icon{transform:rotate(0)}.et-accordion .et-accordion-header{display:grid;grid-template-columns:1fr auto;inline-size:100%;block-size:100%;text-align:left;background-color:transparent;border:none;align-items:center;padding:0;gap:15px}.et-accordion .et-accordion-header:not(:disabled){cursor:pointer}.et-accordion .et-accordion-header.et-accordion-has-hint{grid-template-columns:1fr auto auto}.et-accordion .et-accordion-header-wrapper{margin:0}.et-accordion .et-accordion-body{overflow:hidden}.et-accordion .et-accordion-separator{position:relative;z-index:-1}\n"] }]
|
|
206
193
|
}], propDecorators: { isOpenByDefault: [{
|
|
207
|
-
type: Input
|
|
194
|
+
type: Input,
|
|
195
|
+
args: [{ transform: booleanAttribute }]
|
|
208
196
|
}], disabled: [{
|
|
209
|
-
type: Input
|
|
197
|
+
type: Input,
|
|
198
|
+
args: [{ transform: booleanAttribute }]
|
|
210
199
|
}], label: [{
|
|
211
200
|
type: Input
|
|
212
201
|
}], templateLabel: [{
|
|
@@ -220,13 +209,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0", ngImpor
|
|
|
220
209
|
class AccordionGroupComponent {
|
|
221
210
|
constructor() {
|
|
222
211
|
this._destroy$ = createDestroy();
|
|
223
|
-
this.
|
|
224
|
-
}
|
|
225
|
-
get autoCloseOthers() {
|
|
226
|
-
return this._autoCloseOthers;
|
|
227
|
-
}
|
|
228
|
-
set autoCloseOthers(value) {
|
|
229
|
-
this._autoCloseOthers = coerceBooleanProperty(value);
|
|
212
|
+
this.autoCloseOthers = false;
|
|
230
213
|
}
|
|
231
214
|
ngAfterContentInit() {
|
|
232
215
|
if (!this._accordions) {
|
|
@@ -255,16 +238,17 @@ class AccordionGroupComponent {
|
|
|
255
238
|
}), takeUntil(this._destroy$))
|
|
256
239
|
.subscribe();
|
|
257
240
|
}
|
|
258
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.
|
|
259
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.
|
|
241
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: AccordionGroupComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
242
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.1", type: AccordionGroupComponent, isStandalone: true, selector: "et-accordion-group", inputs: { autoCloseOthers: ["autoCloseOthers", "autoCloseOthers", booleanAttribute] }, host: { classAttribute: "et-accordion-group" }, queries: [{ propertyName: "_accordions", predicate: ACCORDION_COMPONENT }], ngImport: i0, template: "<ng-content select=\"et-accordion\" />\n", changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
260
243
|
}
|
|
261
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.
|
|
244
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: AccordionGroupComponent, decorators: [{
|
|
262
245
|
type: Component,
|
|
263
246
|
args: [{ selector: 'et-accordion-group', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, standalone: true, host: {
|
|
264
247
|
class: 'et-accordion-group',
|
|
265
248
|
}, template: "<ng-content select=\"et-accordion\" />\n" }]
|
|
266
249
|
}], propDecorators: { autoCloseOthers: [{
|
|
267
|
-
type: Input
|
|
250
|
+
type: Input,
|
|
251
|
+
args: [{ transform: booleanAttribute }]
|
|
268
252
|
}], _accordions: [{
|
|
269
253
|
type: ContentChildren,
|
|
270
254
|
args: [ACCORDION_COMPONENT]
|
|
@@ -285,10 +269,10 @@ class BracketMatchDirective {
|
|
|
285
269
|
this.bracket = inject(BRACKET_TOKEN);
|
|
286
270
|
this.match$ = this.bracket.getBracketMatchById(this.matchId);
|
|
287
271
|
}
|
|
288
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.
|
|
289
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.
|
|
272
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: BracketMatchDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
273
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.1", type: BracketMatchDirective, isStandalone: true, ngImport: i0 }); }
|
|
290
274
|
}
|
|
291
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.
|
|
275
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: BracketMatchDirective, decorators: [{
|
|
292
276
|
type: Directive,
|
|
293
277
|
args: [{
|
|
294
278
|
standalone: true,
|
|
@@ -301,10 +285,10 @@ class BracketRoundDirective {
|
|
|
301
285
|
this.bracket = inject(BRACKET_TOKEN);
|
|
302
286
|
this.round$ = this.bracket.getBracketRoundById(this.roundId);
|
|
303
287
|
}
|
|
304
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.
|
|
305
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.
|
|
288
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: BracketRoundDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
289
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.1", type: BracketRoundDirective, isStandalone: true, ngImport: i0 }); }
|
|
306
290
|
}
|
|
307
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.
|
|
291
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: BracketRoundDirective, decorators: [{
|
|
308
292
|
type: Directive,
|
|
309
293
|
args: [{
|
|
310
294
|
standalone: true,
|
|
@@ -315,10 +299,10 @@ class BracketMatchComponent {
|
|
|
315
299
|
constructor() {
|
|
316
300
|
this.matchData = inject(BracketMatchDirective);
|
|
317
301
|
}
|
|
318
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.
|
|
319
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.
|
|
302
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: BracketMatchComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
303
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.1", type: BracketMatchComponent, isStandalone: true, selector: "et-bracket-match", host: { classAttribute: "et-bracket-match" }, hostDirectives: [{ directive: BracketMatchDirective }], ngImport: i0, template: "<ng-container *ngIf=\"matchData.match$ | async as match\">\n {{ match.data.id }}\n</ng-container>\n", styles: [""], dependencies: [{ kind: "pipe", type: AsyncPipe, name: "async" }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
320
304
|
}
|
|
321
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.
|
|
305
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: BracketMatchComponent, decorators: [{
|
|
322
306
|
type: Component,
|
|
323
307
|
args: [{ selector: 'et-bracket-match', standalone: true, encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, host: {
|
|
324
308
|
class: 'et-bracket-match',
|
|
@@ -329,10 +313,10 @@ class BracketRoundHeaderComponent {
|
|
|
329
313
|
constructor() {
|
|
330
314
|
this.roundData = inject(BracketRoundDirective);
|
|
331
315
|
}
|
|
332
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.
|
|
333
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.
|
|
316
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: BracketRoundHeaderComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
317
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.1", type: BracketRoundHeaderComponent, isStandalone: true, selector: "et-bracket-round-header", host: { classAttribute: "et-bracket-round-header" }, hostDirectives: [{ directive: BracketRoundDirective }], ngImport: i0, template: "<ng-container *ngIf=\"roundData.round$ | async as round\">\n {{ round.name }}\n</ng-container>\n", styles: [""], dependencies: [{ kind: "pipe", type: AsyncPipe, name: "async" }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
334
318
|
}
|
|
335
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.
|
|
319
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: BracketRoundHeaderComponent, decorators: [{
|
|
336
320
|
type: Component,
|
|
337
321
|
args: [{ selector: 'et-bracket-round-header', standalone: true, encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, host: {
|
|
338
322
|
class: 'et-bracket-round-header',
|
|
@@ -909,8 +893,8 @@ class BracketComponent {
|
|
|
909
893
|
const round = this._getRoundById(roundId, bracket);
|
|
910
894
|
return round?.matches.find((match) => match.data.id === matchId) ?? null;
|
|
911
895
|
}
|
|
912
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.
|
|
913
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.
|
|
896
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: BracketComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
897
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.1", type: BracketComponent, isStandalone: true, selector: "et-bracket", inputs: { itemWith: "itemWith", itemHeight: "itemHeight", roundHeaderHeight: "roundHeaderHeight", upperLowerBracketGap: "upperLowerBracketGap", columnGap: "columnGap", rowGap: "rowGap", roundsWithMatches: "roundsWithMatches", componentConfig: "componentConfig" }, host: { properties: { "attr.has-round-headers": "this.hasRoundHeaders" }, classAttribute: "et-bracket" }, providers: [
|
|
914
898
|
{
|
|
915
899
|
provide: BRACKET_TOKEN,
|
|
916
900
|
useExisting: BracketComponent,
|
|
@@ -987,7 +971,7 @@ __decorate([
|
|
|
987
971
|
__metadata("design:paramtypes", [Object, Bracket]),
|
|
988
972
|
__metadata("design:returntype", void 0)
|
|
989
973
|
], BracketComponent.prototype, "_getNextMatch", null);
|
|
990
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.
|
|
974
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: BracketComponent, decorators: [{
|
|
991
975
|
type: Component,
|
|
992
976
|
args: [{ selector: 'et-bracket', standalone: true, encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, imports: [
|
|
993
977
|
NgClass,
|
|
@@ -1063,7 +1047,7 @@ class ButtonDirective {
|
|
|
1063
1047
|
return this._disabled$.value;
|
|
1064
1048
|
}
|
|
1065
1049
|
set disabled(value) {
|
|
1066
|
-
this._disabled$.next(
|
|
1050
|
+
this._disabled$.next(booleanAttribute(value));
|
|
1067
1051
|
}
|
|
1068
1052
|
get disabled$() {
|
|
1069
1053
|
return this._disabled$.asObservable();
|
|
@@ -1081,7 +1065,7 @@ class ButtonDirective {
|
|
|
1081
1065
|
return this._pressed$.value;
|
|
1082
1066
|
}
|
|
1083
1067
|
set pressed(value) {
|
|
1084
|
-
this._pressed$.next(
|
|
1068
|
+
this._pressed$.next(booleanAttribute(value));
|
|
1085
1069
|
}
|
|
1086
1070
|
_removeDisabledBindings() {
|
|
1087
1071
|
this._bindings.remove('disabled', 'aria-disabled');
|
|
@@ -1089,10 +1073,10 @@ class ButtonDirective {
|
|
|
1089
1073
|
_removeTabIndexBindings() {
|
|
1090
1074
|
this._bindings.remove('tabindex');
|
|
1091
1075
|
}
|
|
1092
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.
|
|
1093
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.
|
|
1076
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: ButtonDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
1077
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.1", type: ButtonDirective, isStandalone: true, inputs: { disabled: "disabled", type: "type", pressed: "pressed" }, exportAs: ["etButton"], ngImport: i0 }); }
|
|
1094
1078
|
}
|
|
1095
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.
|
|
1079
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: ButtonDirective, decorators: [{
|
|
1096
1080
|
type: Directive,
|
|
1097
1081
|
args: [{
|
|
1098
1082
|
standalone: true,
|
|
@@ -1196,10 +1180,10 @@ class QueryButtonDirective {
|
|
|
1196
1180
|
});
|
|
1197
1181
|
this._button._removeDisabledBindings();
|
|
1198
1182
|
}
|
|
1199
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.
|
|
1200
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.
|
|
1183
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: QueryButtonDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
1184
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.1", type: QueryButtonDirective, isStandalone: true, inputs: { query: "query" }, exportAs: ["etQueryButton"], ngImport: i0 }); }
|
|
1201
1185
|
}
|
|
1202
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.
|
|
1186
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: QueryButtonDirective, decorators: [{
|
|
1203
1187
|
type: Directive,
|
|
1204
1188
|
args: [{
|
|
1205
1189
|
standalone: true,
|
|
@@ -1213,10 +1197,10 @@ class ButtonComponent {
|
|
|
1213
1197
|
constructor() {
|
|
1214
1198
|
this.button = inject(ButtonDirective);
|
|
1215
1199
|
}
|
|
1216
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.
|
|
1217
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.
|
|
1200
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: ButtonComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1201
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.1", type: ButtonComponent, isStandalone: true, selector: "[et-button]", host: { classAttribute: "et-button" }, hostDirectives: [{ directive: ButtonDirective, inputs: ["disabled", "disabled", "type", "type", "pressed", "pressed"] }], ngImport: i0, template: "<span class=\"et-button-content\">\n <span class=\"et-button-text\">\n <ng-content></ng-content>\n </span>\n</span>\n", styles: [""], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
1218
1202
|
}
|
|
1219
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.
|
|
1203
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: ButtonComponent, decorators: [{
|
|
1220
1204
|
type: Component,
|
|
1221
1205
|
args: [{ selector: '[et-button]', standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, hostDirectives: [{ directive: ButtonDirective, inputs: ['disabled', 'type', 'pressed'] }], host: {
|
|
1222
1206
|
class: 'et-button',
|
|
@@ -1227,10 +1211,10 @@ class QueryButtonComponent {
|
|
|
1227
1211
|
constructor() {
|
|
1228
1212
|
this.queryButton = inject(QueryButtonDirective);
|
|
1229
1213
|
}
|
|
1230
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.
|
|
1231
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.
|
|
1214
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: QueryButtonComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1215
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.1", type: QueryButtonComponent, isStandalone: true, selector: "[et-query-button]", host: { classAttribute: "et-query-button" }, hostDirectives: [{ directive: QueryButtonDirective, inputs: ["query", "query"] }, { directive: ButtonDirective, inputs: ["disabled", "disabled", "type", "type", "pressed", "pressed"] }], ngImport: i0, template: "<ng-container *etLet=\"queryButton.showSuccess$ | async as showSuccess\">\n <ng-container *etLet=\"queryButton.showFailure$ | async as showFailure\">\n <span *etQuery=\"queryButton.query$ | async; loading as loading\" class=\"et-button-content et-query-button-content\">\n <span\n [attr.aria-hidden]=\"loading || showSuccess || showFailure ? 'true' : undefined\"\n class=\"et-button-text et-query-button-text et-query-button-text--default\"\n >\n <ng-content></ng-content>\n </span>\n\n <span *ngIf=\"loading\" class=\"et-query-button-loading\"> </span>\n <span *ngIf=\"loading\" class=\"et-button-text et-query-button-text et-query-button-text--loading\">Loading</span>\n\n <span *ngIf=\"showSuccess\" class=\"et-button-text et-query-button-text et-query-button-text--success\">Success</span>\n <span *ngIf=\"showFailure\" class=\"et-button-text et-query-button-text et-query-button-text--failure\">Failure</span>\n </span>\n </ng-container>\n</ng-container>\n", styles: [".et-query-button .et-button-content{display:grid}.et-query-button .et-query-button-text,.et-query-button .et-query-button-loading{grid-area:1/1/2/2}.et-query-button.et-query-button--loading .et-query-button-text--default,.et-query-button.et-query-button--success .et-query-button-text--default,.et-query-button.et-query-button--failure .et-query-button-text--default{opacity:0;-webkit-user-select:none;user-select:none}\n"], dependencies: [{ kind: "directive", type: QueryDirective, selector: "[etQuery]", inputs: ["etQuery", "etQueryCache"] }, { kind: "pipe", type: AsyncPipe, name: "async" }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: LetDirective, selector: "[etLet]", inputs: ["etLet"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
1232
1216
|
}
|
|
1233
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.
|
|
1217
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: QueryButtonComponent, decorators: [{
|
|
1234
1218
|
type: Component,
|
|
1235
1219
|
args: [{ selector: '[et-query-button]', standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, hostDirectives: [
|
|
1236
1220
|
{ directive: QueryButtonDirective, inputs: ['query'] },
|
|
@@ -1283,10 +1267,10 @@ class DefaultValidatorErrorsService {
|
|
|
1283
1267
|
}
|
|
1284
1268
|
return 'This field is invalid';
|
|
1285
1269
|
}
|
|
1286
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.
|
|
1287
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.
|
|
1270
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: DefaultValidatorErrorsService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1271
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: DefaultValidatorErrorsService }); }
|
|
1288
1272
|
}
|
|
1289
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.
|
|
1273
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: DefaultValidatorErrorsService, decorators: [{
|
|
1290
1274
|
type: Injectable
|
|
1291
1275
|
}] });
|
|
1292
1276
|
|
|
@@ -1304,10 +1288,10 @@ class FormFieldStateService {
|
|
|
1304
1288
|
return idList || null;
|
|
1305
1289
|
}));
|
|
1306
1290
|
}
|
|
1307
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.
|
|
1308
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.
|
|
1291
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: FormFieldStateService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1292
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: FormFieldStateService }); }
|
|
1309
1293
|
}
|
|
1310
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.
|
|
1294
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: FormFieldStateService, decorators: [{
|
|
1311
1295
|
type: Injectable
|
|
1312
1296
|
}] });
|
|
1313
1297
|
|
|
@@ -1322,10 +1306,10 @@ class FormGroupStateService {
|
|
|
1322
1306
|
return idList || null;
|
|
1323
1307
|
}));
|
|
1324
1308
|
}
|
|
1325
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.
|
|
1326
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.
|
|
1309
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: FormGroupStateService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1310
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: FormGroupStateService }); }
|
|
1327
1311
|
}
|
|
1328
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.
|
|
1312
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: FormGroupStateService, decorators: [{
|
|
1329
1313
|
type: Injectable
|
|
1330
1314
|
}] });
|
|
1331
1315
|
|
|
@@ -1355,10 +1339,10 @@ class InputStateService {
|
|
|
1355
1339
|
// stub
|
|
1356
1340
|
};
|
|
1357
1341
|
}
|
|
1358
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.
|
|
1359
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.
|
|
1342
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: InputStateService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1343
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: InputStateService }); }
|
|
1360
1344
|
}
|
|
1361
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.
|
|
1345
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: InputStateService, decorators: [{
|
|
1362
1346
|
type: Injectable
|
|
1363
1347
|
}] });
|
|
1364
1348
|
|
|
@@ -1369,8 +1353,8 @@ class LabelComponent {
|
|
|
1369
1353
|
this.formFieldStateService = inject(FormFieldStateService);
|
|
1370
1354
|
this.id = `et-label-${++nextUniqueId$6}`;
|
|
1371
1355
|
}
|
|
1372
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.
|
|
1373
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.
|
|
1356
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: LabelComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1357
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.1", type: LabelComponent, isStandalone: true, selector: "et-label", host: { classAttribute: "et-label" }, providers: [{ provide: LABEL_TOKEN, useExisting: LabelComponent }], exportAs: ["etLabel"], ngImport: i0, template: `
|
|
1374
1358
|
<label
|
|
1375
1359
|
[attr.for]="formFieldStateService.inputId$ | async"
|
|
1376
1360
|
[attr.aria-owns]="formFieldStateService.inputId$ | async"
|
|
@@ -1382,7 +1366,7 @@ class LabelComponent {
|
|
|
1382
1366
|
<ng-content select="[etLabelSuffix]" />
|
|
1383
1367
|
`, isInline: true, dependencies: [{ kind: "pipe", type: AsyncPipe, name: "async" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
1384
1368
|
}
|
|
1385
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.
|
|
1369
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: LabelComponent, decorators: [{
|
|
1386
1370
|
type: Component,
|
|
1387
1371
|
args: [{
|
|
1388
1372
|
selector: 'et-label',
|
|
@@ -1411,21 +1395,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0", ngImpor
|
|
|
1411
1395
|
|
|
1412
1396
|
class LabelSuffixDirective {
|
|
1413
1397
|
constructor() {
|
|
1414
|
-
this.
|
|
1415
|
-
}
|
|
1416
|
-
get showToScreenReader() {
|
|
1417
|
-
return this._showToScreenReader;
|
|
1418
|
-
}
|
|
1419
|
-
set showToScreenReader(value) {
|
|
1420
|
-
this._showToScreenReader = coerceBooleanProperty(value);
|
|
1398
|
+
this.showToScreenReader = false;
|
|
1421
1399
|
}
|
|
1422
1400
|
get _attrAriaHidden() {
|
|
1423
1401
|
return this.showToScreenReader ? null : 'true';
|
|
1424
1402
|
}
|
|
1425
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.
|
|
1426
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.
|
|
1403
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: LabelSuffixDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
1404
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.1", type: LabelSuffixDirective, isStandalone: true, selector: "[etLabelSuffix]", inputs: { showToScreenReader: ["showToScreenReader", "showToScreenReader", booleanAttribute] }, host: { properties: { "attr.aria-hidden": "this._attrAriaHidden" } }, exportAs: ["etLabelSuffix"], ngImport: i0 }); }
|
|
1427
1405
|
}
|
|
1428
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.
|
|
1406
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: LabelSuffixDirective, decorators: [{
|
|
1429
1407
|
type: Directive,
|
|
1430
1408
|
args: [{
|
|
1431
1409
|
selector: '[etLabelSuffix]',
|
|
@@ -1433,7 +1411,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0", ngImpor
|
|
|
1433
1411
|
exportAs: 'etLabelSuffix',
|
|
1434
1412
|
}]
|
|
1435
1413
|
}], propDecorators: { showToScreenReader: [{
|
|
1436
|
-
type: Input
|
|
1414
|
+
type: Input,
|
|
1415
|
+
args: [{ transform: booleanAttribute }]
|
|
1437
1416
|
}], _attrAriaHidden: [{
|
|
1438
1417
|
type: HostBinding,
|
|
1439
1418
|
args: ['attr.aria-hidden']
|
|
@@ -1450,20 +1429,20 @@ class DynamicFormFieldDirective {
|
|
|
1450
1429
|
return this._explicitlyHideErrorMessage$.getValue();
|
|
1451
1430
|
}
|
|
1452
1431
|
set hideErrorMessage(value) {
|
|
1453
|
-
this._explicitlyHideErrorMessage$.next(
|
|
1432
|
+
this._explicitlyHideErrorMessage$.next(booleanAttribute(value));
|
|
1454
1433
|
}
|
|
1455
1434
|
get hideErrorMessage$() {
|
|
1456
1435
|
return this._explicitlyHideErrorMessage$.asObservable();
|
|
1457
1436
|
}
|
|
1458
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.
|
|
1459
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.
|
|
1437
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: DynamicFormFieldDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
1438
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.1", type: DynamicFormFieldDirective, isStandalone: true, inputs: { hideErrorMessage: "hideErrorMessage" }, providers: [
|
|
1460
1439
|
{
|
|
1461
1440
|
provide: DYNAMIC_FORM_FIELD_TOKEN,
|
|
1462
1441
|
useExisting: DynamicFormFieldDirective,
|
|
1463
1442
|
},
|
|
1464
1443
|
], exportAs: ["etDynamicFormField"], ngImport: i0 }); }
|
|
1465
1444
|
}
|
|
1466
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.
|
|
1445
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: DynamicFormFieldDirective, decorators: [{
|
|
1467
1446
|
type: Directive,
|
|
1468
1447
|
args: [{
|
|
1469
1448
|
standalone: true,
|
|
@@ -1488,20 +1467,20 @@ class DynamicFormGroupDirective {
|
|
|
1488
1467
|
return this._explicitlyHideErrorMessage$.getValue();
|
|
1489
1468
|
}
|
|
1490
1469
|
set hideErrorMessage(value) {
|
|
1491
|
-
this._explicitlyHideErrorMessage$.next(
|
|
1470
|
+
this._explicitlyHideErrorMessage$.next(booleanAttribute(value));
|
|
1492
1471
|
}
|
|
1493
1472
|
get hideErrorMessage$() {
|
|
1494
1473
|
return this._explicitlyHideErrorMessage$.asObservable();
|
|
1495
1474
|
}
|
|
1496
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.
|
|
1497
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.
|
|
1475
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: DynamicFormGroupDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
1476
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.1", type: DynamicFormGroupDirective, isStandalone: true, inputs: { hideErrorMessage: "hideErrorMessage" }, providers: [
|
|
1498
1477
|
{
|
|
1499
1478
|
provide: DYNAMIC_FORM_GROUP_TOKEN,
|
|
1500
1479
|
useExisting: DynamicFormGroupDirective,
|
|
1501
1480
|
},
|
|
1502
1481
|
], exportAs: ["etDynamicFormGroup"], ngImport: i0 }); }
|
|
1503
1482
|
}
|
|
1504
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.
|
|
1483
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: DynamicFormGroupDirective, decorators: [{
|
|
1505
1484
|
type: Directive,
|
|
1506
1485
|
args: [{
|
|
1507
1486
|
standalone: true,
|
|
@@ -1736,10 +1715,10 @@ class InputDirective {
|
|
|
1736
1715
|
this._inputStateService.disabledChange$.next(isDisabled);
|
|
1737
1716
|
}
|
|
1738
1717
|
}
|
|
1739
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.
|
|
1740
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.
|
|
1718
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: InputDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
1719
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.1", type: InputDirective, isStandalone: true, selector: "[etInput]", inputs: { autocomplete: "autocomplete", placeholder: "placeholder" }, host: { properties: { "attr.autocomplete": "null" }, classAttribute: "et-input" }, providers: [{ provide: INPUT_TOKEN, useExisting: InputDirective }], exportAs: ["etInput"], ngImport: i0 }); }
|
|
1741
1720
|
}
|
|
1742
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.
|
|
1721
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: InputDirective, decorators: [{
|
|
1743
1722
|
type: Directive,
|
|
1744
1723
|
args: [{
|
|
1745
1724
|
selector: '[etInput]',
|
|
@@ -1781,10 +1760,10 @@ class IfInputEmptyDirective {
|
|
|
1781
1760
|
}))
|
|
1782
1761
|
.subscribe();
|
|
1783
1762
|
}
|
|
1784
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.
|
|
1785
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.
|
|
1763
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: IfInputEmptyDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
1764
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.1", type: IfInputEmptyDirective, isStandalone: true, selector: "[etIfInputEmpty]", ngImport: i0 }); }
|
|
1786
1765
|
}
|
|
1787
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.
|
|
1766
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: IfInputEmptyDirective, decorators: [{
|
|
1788
1767
|
type: Directive,
|
|
1789
1768
|
args: [{
|
|
1790
1769
|
selector: '[etIfInputEmpty]',
|
|
@@ -1816,10 +1795,10 @@ class IfInputFilledDirective {
|
|
|
1816
1795
|
}))
|
|
1817
1796
|
.subscribe();
|
|
1818
1797
|
}
|
|
1819
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.
|
|
1820
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.
|
|
1798
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: IfInputFilledDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
1799
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.1", type: IfInputFilledDirective, isStandalone: true, selector: "[etIfInputFilled]", ngImport: i0 }); }
|
|
1821
1800
|
}
|
|
1822
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.
|
|
1801
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: IfInputFilledDirective, decorators: [{
|
|
1823
1802
|
type: Directive,
|
|
1824
1803
|
args: [{
|
|
1825
1804
|
selector: '[etIfInputFilled]',
|
|
@@ -1829,15 +1808,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0", ngImpor
|
|
|
1829
1808
|
|
|
1830
1809
|
const INPUT_PREFIX_TOKEN = new InjectionToken('INPUT_PREFIX_DIRECTIVE_TOKEN');
|
|
1831
1810
|
class InputPrefixDirective {
|
|
1832
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.
|
|
1833
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.
|
|
1811
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: InputPrefixDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
1812
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.1", type: InputPrefixDirective, isStandalone: true, selector: "[etInputPrefix]", host: { classAttribute: "et-input-prefix" }, providers: [
|
|
1834
1813
|
{
|
|
1835
1814
|
provide: INPUT_PREFIX_TOKEN,
|
|
1836
1815
|
useExisting: InputPrefixDirective,
|
|
1837
1816
|
},
|
|
1838
1817
|
], exportAs: ["etInputPrefix"], ngImport: i0 }); }
|
|
1839
1818
|
}
|
|
1840
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.
|
|
1819
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: InputPrefixDirective, decorators: [{
|
|
1841
1820
|
type: Directive,
|
|
1842
1821
|
args: [{
|
|
1843
1822
|
selector: '[etInputPrefix]',
|
|
@@ -1857,15 +1836,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0", ngImpor
|
|
|
1857
1836
|
|
|
1858
1837
|
const INPUT_SUFFIX_TOKEN = new InjectionToken('INPUT_SUFFIX_DIRECTIVE_TOKEN');
|
|
1859
1838
|
class InputSuffixDirective {
|
|
1860
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.
|
|
1861
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.
|
|
1839
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: InputSuffixDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
1840
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.1", type: InputSuffixDirective, isStandalone: true, selector: "[etInputSuffix]", host: { classAttribute: "et-input-suffix" }, providers: [
|
|
1862
1841
|
{
|
|
1863
1842
|
provide: INPUT_SUFFIX_TOKEN,
|
|
1864
1843
|
useExisting: InputSuffixDirective,
|
|
1865
1844
|
},
|
|
1866
1845
|
], exportAs: ["etInputSuffix"], ngImport: i0 }); }
|
|
1867
1846
|
}
|
|
1868
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.
|
|
1847
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: InputSuffixDirective, decorators: [{
|
|
1869
1848
|
type: Directive,
|
|
1870
1849
|
args: [{
|
|
1871
1850
|
selector: '[etInputSuffix]',
|
|
@@ -1888,10 +1867,10 @@ class NativeInputRefDirective {
|
|
|
1888
1867
|
constructor() {
|
|
1889
1868
|
this.element = inject(ElementRef);
|
|
1890
1869
|
}
|
|
1891
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.
|
|
1892
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.
|
|
1870
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: NativeInputRefDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
1871
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.1", type: NativeInputRefDirective, isStandalone: true, selector: "input[etNativeInputRef], textarea[etNativeInputRef], select[etNativeInputRef], button[etNativeInputRef]", providers: [{ provide: NATIVE_INPUT_REF_TOKEN, useExisting: NativeInputRefDirective }], ngImport: i0 }); }
|
|
1893
1872
|
}
|
|
1894
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.
|
|
1873
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: NativeInputRefDirective, decorators: [{
|
|
1895
1874
|
type: Directive,
|
|
1896
1875
|
args: [{
|
|
1897
1876
|
selector: 'input[etNativeInputRef], textarea[etNativeInputRef], select[etNativeInputRef], button[etNativeInputRef]',
|
|
@@ -1938,8 +1917,8 @@ class StaticFormFieldDirective {
|
|
|
1938
1917
|
}), takeUntil(this._destroy$))
|
|
1939
1918
|
.subscribe();
|
|
1940
1919
|
}
|
|
1941
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.
|
|
1942
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.
|
|
1920
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: StaticFormFieldDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
1921
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.1", type: StaticFormFieldDirective, isStandalone: true, providers: [
|
|
1943
1922
|
FormFieldStateService,
|
|
1944
1923
|
{
|
|
1945
1924
|
provide: STATIC_FORM_FIELD_TOKEN,
|
|
@@ -1947,7 +1926,7 @@ class StaticFormFieldDirective {
|
|
|
1947
1926
|
},
|
|
1948
1927
|
], queries: [{ propertyName: "_input", predicate: i0.forwardRef(function () { return INPUT_TOKEN; }) }, { propertyName: "_label", predicate: i0.forwardRef(function () { return LABEL_TOKEN; }) }], exportAs: ["etStaticFormField"], ngImport: i0 }); }
|
|
1949
1928
|
}
|
|
1950
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.
|
|
1929
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: StaticFormFieldDirective, decorators: [{
|
|
1951
1930
|
type: Directive,
|
|
1952
1931
|
args: [{
|
|
1953
1932
|
standalone: true,
|
|
@@ -1970,8 +1949,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0", ngImpor
|
|
|
1970
1949
|
|
|
1971
1950
|
const STATIC_FORM_GROUP_TOKEN = new InjectionToken('ET_STATIC_FORM_GROUP_DIRECTIVE_TOKEN');
|
|
1972
1951
|
class StaticFormGroupDirective {
|
|
1973
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.
|
|
1974
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.
|
|
1952
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: StaticFormGroupDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
1953
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.1", type: StaticFormGroupDirective, isStandalone: true, providers: [
|
|
1975
1954
|
FormGroupStateService,
|
|
1976
1955
|
{
|
|
1977
1956
|
provide: STATIC_FORM_GROUP_TOKEN,
|
|
@@ -1979,7 +1958,7 @@ class StaticFormGroupDirective {
|
|
|
1979
1958
|
},
|
|
1980
1959
|
], exportAs: ["etStaticFormGroup"], ngImport: i0 }); }
|
|
1981
1960
|
}
|
|
1982
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.
|
|
1961
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: StaticFormGroupDirective, decorators: [{
|
|
1983
1962
|
type: Directive,
|
|
1984
1963
|
args: [{
|
|
1985
1964
|
standalone: true,
|
|
@@ -2038,14 +2017,14 @@ class WriteableInputDirective {
|
|
|
2038
2017
|
setDisabledState(isDisabled) {
|
|
2039
2018
|
this._inputStateService.disabled$.next(isDisabled);
|
|
2040
2019
|
}
|
|
2041
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.
|
|
2042
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.
|
|
2020
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: WriteableInputDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
2021
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.1", type: WriteableInputDirective, isStandalone: true, providers: [
|
|
2043
2022
|
WRITEABLE_INPUT_VALUE_ACCESSOR,
|
|
2044
2023
|
InputStateService,
|
|
2045
2024
|
{ provide: WRITEABLE_INPUT_TOKEN, useExisting: WriteableInputDirective },
|
|
2046
2025
|
], exportAs: ["etWriteableInput"], ngImport: i0 }); }
|
|
2047
2026
|
}
|
|
2048
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.
|
|
2027
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: WriteableInputDirective, decorators: [{
|
|
2049
2028
|
type: Directive,
|
|
2050
2029
|
args: [{
|
|
2051
2030
|
standalone: true,
|
|
@@ -2095,10 +2074,10 @@ class ErrorComponent {
|
|
|
2095
2074
|
this._formFieldOrGroupStateService.errorId$.next(null);
|
|
2096
2075
|
}
|
|
2097
2076
|
}
|
|
2098
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.
|
|
2099
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.
|
|
2077
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: ErrorComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
2078
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.1", type: ErrorComponent, isStandalone: true, selector: "et-error", inputs: { errors: "errors" }, host: { classAttribute: "et-error" }, ngImport: i0, template: "<ng-container *ngIf=\"errorText$ | async | async as text\">\n <span [id]=\"id\" aria-atomic=\"true\" aria-live=\"polite\"> {{ text }} </span>\n</ng-container>\n", styles: [""], dependencies: [{ kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "pipe", type: AsyncPipe, name: "async" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
2100
2079
|
}
|
|
2101
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.
|
|
2080
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: ErrorComponent, decorators: [{
|
|
2102
2081
|
type: Component,
|
|
2103
2082
|
args: [{ selector: 'et-error', standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, host: {
|
|
2104
2083
|
class: 'et-error',
|
|
@@ -2122,10 +2101,10 @@ class CheckboxFieldDirective {
|
|
|
2122
2101
|
observable: this._checkbox.changes.pipe(startWith(this._checkbox)).pipe(switchMap((checkboxes) => combineLatest(checkboxes.filter((cb) => !!cb).map((checkbox) => checkbox.indeterminate$))), map((checked) => checked.some((value) => value))),
|
|
2123
2102
|
});
|
|
2124
2103
|
}
|
|
2125
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.
|
|
2126
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.
|
|
2104
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: CheckboxFieldDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
2105
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.1", type: CheckboxFieldDirective, isStandalone: true, providers: [{ provide: CHECKBOX_FIELD_TOKEN, useExisting: CheckboxFieldDirective }], queries: [{ propertyName: "_checkbox", predicate: i0.forwardRef(function () { return CHECKBOX_TOKEN; }), descendants: true }], exportAs: ["etCheckboxGroup"], ngImport: i0 }); }
|
|
2127
2106
|
}
|
|
2128
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.
|
|
2107
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: CheckboxFieldDirective, decorators: [{
|
|
2129
2108
|
type: Directive,
|
|
2130
2109
|
args: [{
|
|
2131
2110
|
standalone: true,
|
|
@@ -2164,10 +2143,10 @@ class CheckboxDirective {
|
|
|
2164
2143
|
this.input._markAsTouched();
|
|
2165
2144
|
this.input._setShouldDisplayError(true);
|
|
2166
2145
|
}
|
|
2167
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.
|
|
2168
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.
|
|
2146
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: CheckboxDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
2147
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.1", type: CheckboxDirective, isStandalone: true, providers: [{ provide: CHECKBOX_TOKEN, useExisting: CheckboxDirective }], exportAs: ["etCheckbox"], ngImport: i0 }); }
|
|
2169
2148
|
}
|
|
2170
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.
|
|
2149
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: CheckboxDirective, decorators: [{
|
|
2171
2150
|
type: Directive,
|
|
2172
2151
|
args: [{
|
|
2173
2152
|
standalone: true,
|
|
@@ -2232,10 +2211,10 @@ class CheckboxGroupDirective {
|
|
|
2232
2211
|
}))
|
|
2233
2212
|
.subscribe();
|
|
2234
2213
|
}
|
|
2235
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.
|
|
2236
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.
|
|
2214
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: CheckboxGroupDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
2215
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.1", type: CheckboxGroupDirective, isStandalone: true, host: { attributes: { "role": "group" } }, providers: [{ provide: CHECKBOX_GROUP_TOKEN, useExisting: CheckboxGroupDirective }], queries: [{ propertyName: "groupControl", first: true, predicate: i0.forwardRef(function () { return CHECKBOX_GROUP_CONTROL_TOKEN; }), descendants: true }, { propertyName: "checkboxes", predicate: i0.forwardRef(function () { return CHECKBOX_TOKEN; }), descendants: true }], exportAs: ["etCheckboxGroup"], ngImport: i0 }); }
|
|
2237
2216
|
}
|
|
2238
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.
|
|
2217
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: CheckboxGroupDirective, decorators: [{
|
|
2239
2218
|
type: Directive,
|
|
2240
2219
|
args: [{
|
|
2241
2220
|
standalone: true,
|
|
@@ -2271,10 +2250,10 @@ class CheckboxGroupControlDirective {
|
|
|
2271
2250
|
}))) ?? of(false),
|
|
2272
2251
|
});
|
|
2273
2252
|
}
|
|
2274
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.
|
|
2275
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.
|
|
2253
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: CheckboxGroupControlDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
2254
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.1", type: CheckboxGroupControlDirective, isStandalone: true, selector: "[etCheckboxGroupControl]", providers: [{ provide: CHECKBOX_GROUP_CONTROL_TOKEN, useExisting: CheckboxGroupControlDirective }], exportAs: ["etCheckboxGroupControl"], ngImport: i0 }); }
|
|
2276
2255
|
}
|
|
2277
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.
|
|
2256
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: CheckboxGroupControlDirective, decorators: [{
|
|
2278
2257
|
type: Directive,
|
|
2279
2258
|
args: [{
|
|
2280
2259
|
selector: '[etCheckboxGroupControl]',
|
|
@@ -2288,8 +2267,8 @@ class CheckboxFieldComponent {
|
|
|
2288
2267
|
constructor() {
|
|
2289
2268
|
this.inputState = inject(InputStateService);
|
|
2290
2269
|
}
|
|
2291
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.
|
|
2292
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.
|
|
2270
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: CheckboxFieldComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
2271
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.1", type: CheckboxFieldComponent, isStandalone: true, selector: "et-checkbox-field", host: { classAttribute: "et-form-field et-checkbox-field" }, hostDirectives: [{ directive: StaticFormFieldDirective }, { directive: WriteableInputDirective }, { directive: i0.forwardRef(function () { return DynamicFormFieldDirective; }), inputs: ["hideErrorMessage", "hideErrorMessage"] }, { directive: CheckboxFieldDirective }], ngImport: i0, template: `
|
|
2293
2272
|
<div class="et-checkbox-field-container">
|
|
2294
2273
|
<ng-content select="et-checkbox" />
|
|
2295
2274
|
<ng-content select="et-label" />
|
|
@@ -2297,7 +2276,7 @@ class CheckboxFieldComponent {
|
|
|
2297
2276
|
<et-error [errors]="inputState.errors$ | async" />
|
|
2298
2277
|
`, isInline: true, dependencies: [{ kind: "component", type: ErrorComponent, selector: "et-error", inputs: ["errors"] }, { kind: "pipe", type: AsyncPipe, name: "async" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
2299
2278
|
}
|
|
2300
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.
|
|
2279
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: CheckboxFieldComponent, decorators: [{
|
|
2301
2280
|
type: Component,
|
|
2302
2281
|
args: [{
|
|
2303
2282
|
selector: 'et-checkbox-field',
|
|
@@ -2328,10 +2307,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0", ngImpor
|
|
|
2328
2307
|
}] });
|
|
2329
2308
|
|
|
2330
2309
|
class CheckboxGroupComponent {
|
|
2331
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.
|
|
2332
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.
|
|
2310
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: CheckboxGroupComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
2311
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.1", type: CheckboxGroupComponent, isStandalone: true, selector: "et-checkbox-group", host: { classAttribute: "et-form-group et-checkbox-group" }, hostDirectives: [{ directive: CheckboxGroupDirective }, { directive: StaticFormGroupDirective }], ngImport: i0, template: ` <ng-content select="et-checkbox-field" /> `, isInline: true, styles: [":where(.et-checkbox-group){display:block}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
2333
2312
|
}
|
|
2334
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.
|
|
2313
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: CheckboxGroupComponent, decorators: [{
|
|
2335
2314
|
type: Component,
|
|
2336
2315
|
args: [{ selector: 'et-checkbox-group', template: ` <ng-content select="et-checkbox-field" /> `, standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, host: {
|
|
2337
2316
|
class: 'et-form-group et-checkbox-group',
|
|
@@ -2349,10 +2328,10 @@ class DecoratedFormFieldBase {
|
|
|
2349
2328
|
observable: this._formFieldStateService.hasSuffix$,
|
|
2350
2329
|
});
|
|
2351
2330
|
}
|
|
2352
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.
|
|
2353
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.
|
|
2331
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: DecoratedFormFieldBase, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
2332
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.1", type: DecoratedFormFieldBase, ngImport: i0 }); }
|
|
2354
2333
|
}
|
|
2355
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.
|
|
2334
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: DecoratedFormFieldBase, decorators: [{
|
|
2356
2335
|
type: Directive
|
|
2357
2336
|
}] });
|
|
2358
2337
|
|
|
@@ -2363,10 +2342,10 @@ class InputBase {
|
|
|
2363
2342
|
set nativeInputRef(value) {
|
|
2364
2343
|
this.input._setNativeInputRef(value);
|
|
2365
2344
|
}
|
|
2366
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.
|
|
2367
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.
|
|
2345
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: InputBase, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
2346
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.1", type: InputBase, viewQueries: [{ propertyName: "nativeInputRef", first: true, predicate: NATIVE_INPUT_REF_TOKEN, descendants: true }], ngImport: i0 }); }
|
|
2368
2347
|
}
|
|
2369
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.
|
|
2348
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: InputBase, decorators: [{
|
|
2370
2349
|
type: Directive
|
|
2371
2350
|
}], propDecorators: { nativeInputRef: [{
|
|
2372
2351
|
type: ViewChild,
|
|
@@ -2397,10 +2376,10 @@ class DecoratedInputBase extends InputBase {
|
|
|
2397
2376
|
.pipe(takeUntil(this._destroy$), startWith(this.inputSuffix), map((list) => list.length > 0))
|
|
2398
2377
|
.subscribe(this._formFieldStateService.hasSuffix$);
|
|
2399
2378
|
}
|
|
2400
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.
|
|
2401
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.
|
|
2379
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: DecoratedInputBase, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
|
|
2380
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.1", type: DecoratedInputBase, queries: [{ propertyName: "inputPrefix", predicate: INPUT_PREFIX_TOKEN }, { propertyName: "inputSuffix", predicate: INPUT_SUFFIX_TOKEN }], usesInheritance: true, ngImport: i0 }); }
|
|
2402
2381
|
}
|
|
2403
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.
|
|
2382
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: DecoratedInputBase, decorators: [{
|
|
2404
2383
|
type: Directive
|
|
2405
2384
|
}], propDecorators: { inputPrefix: [{
|
|
2406
2385
|
type: ContentChildren,
|
|
@@ -2415,10 +2394,10 @@ class CheckboxComponent extends InputBase {
|
|
|
2415
2394
|
super(...arguments);
|
|
2416
2395
|
this.checkbox = inject(CHECKBOX_TOKEN);
|
|
2417
2396
|
}
|
|
2418
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.
|
|
2419
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.
|
|
2397
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: CheckboxComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
2398
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.1", type: CheckboxComponent, isStandalone: true, selector: "et-checkbox", host: { classAttribute: "et-checkbox" }, usesInheritance: true, hostDirectives: [{ directive: CheckboxDirective }, { directive: InputDirective, inputs: ["autocomplete", "autocomplete"] }], ngImport: i0, template: "<input\n [attr.tabindex]=\"(input.disabled$ | async) ? -1 : 0\"\n [attr.checked]=\"(checkbox.checked$ | async) || null\"\n [attr.aria-labelledby]=\"input.labelId$ | async\"\n [attr.aria-required]=\"(input.required$ | async) || null\"\n [disabled]=\"input.disabled$ | async\"\n [attr.id]=\"input.id\"\n [attr.autocomplete]=\"input.autocomplete || null\"\n [attr.aria-describedby]=\"input.describedBy$ | async\"\n [indeterminate]=\"checkbox.indeterminate$ | async\"\n (click)=\"checkbox._onInputInteraction($event)\"\n (blur)=\"checkbox._controlTouched()\"\n class=\"et-checkbox-native-input\"\n etNativeInputRef\n type=\"checkbox\"\n/>\n\n<div [ngClass]=\"{ 'et-checkbox-check--active': checkbox.checked$ | async }\" class=\"et-checkbox-check\"></div>\n<div\n [ngClass]=\"{ 'et-checkbox-indeterminate--active': checkbox.indeterminate$ | async }\"\n class=\"et-checkbox-indeterminate\"\n></div>\n", styles: [":where(.et-checkbox){--et-checkbox-size: 25px;--et-checkbox-check-size: 10px;--et-checkbox-border-color: #e5e5e5;--et-checkbox-state-color: #e5e5e5;--et-checkbox-indeterminate-width: 10px;--et-checkbox-indeterminate-height: 2px;inline-size:var(--et-checkbox-size);block-size:var(--et-checkbox-size);border:1px solid var(--et-checkbox-border-color);display:inline-grid}:where(.et-checkbox-check){inline-size:var(--et-checkbox-check-size);block-size:var(--et-checkbox-check-size)}:where(.et-checkbox-check).et-checkbox-check--active{background-color:var(--et-checkbox-state-color)}:where(.et-checkbox-indeterminate){inline-size:var(--et-checkbox-indeterminate-width);block-size:var(--et-checkbox-indeterminate-height)}:where(.et-checkbox-indeterminate).et-checkbox-indeterminate--active{background-color:var(--et-checkbox-state-color)}.et-checkbox{position:relative;align-items:center;justify-items:center}.et-checkbox-native-input,.et-checkbox-check,.et-checkbox-indeterminate{grid-area:1/1/2/2}.et-checkbox-native-input{z-index:1;inline-size:var(--et-checkbox-size);block-size:var(--et-checkbox-size);opacity:0;margin:0;border:none}.et-checkbox:not(.et-checkbox--disabled) .et-checkbox-native-input{cursor:pointer}\n"], dependencies: [{ kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "pipe", type: AsyncPipe, name: "async" }, { kind: "directive", type: NativeInputRefDirective, selector: "input[etNativeInputRef], textarea[etNativeInputRef], select[etNativeInputRef], button[etNativeInputRef]" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
2420
2399
|
}
|
|
2421
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.
|
|
2400
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: CheckboxComponent, decorators: [{
|
|
2422
2401
|
type: Component,
|
|
2423
2402
|
args: [{ selector: 'et-checkbox', standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, host: {
|
|
2424
2403
|
class: 'et-checkbox',
|
|
@@ -2465,10 +2444,10 @@ class AutosizeTextareaDirective {
|
|
|
2465
2444
|
this.element.style.height = '0';
|
|
2466
2445
|
this.element.style.height = `${this.element.scrollHeight}px`;
|
|
2467
2446
|
}
|
|
2468
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.
|
|
2469
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.
|
|
2447
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: AutosizeTextareaDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
2448
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.1", type: AutosizeTextareaDirective, isStandalone: true, selector: "et-textarea-input[etAutosize]", host: { classAttribute: "et-textarea--autosize" }, ngImport: i0 }); }
|
|
2470
2449
|
}
|
|
2471
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.
|
|
2450
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: AutosizeTextareaDirective, decorators: [{
|
|
2472
2451
|
type: Directive,
|
|
2473
2452
|
args: [{
|
|
2474
2453
|
standalone: true,
|
|
@@ -2512,10 +2491,10 @@ class EmailInputDirective {
|
|
|
2512
2491
|
this.input._markAsTouched();
|
|
2513
2492
|
this.input._setShouldDisplayError(true);
|
|
2514
2493
|
}
|
|
2515
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.
|
|
2516
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.
|
|
2494
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: EmailInputDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
2495
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.1", type: EmailInputDirective, isStandalone: true, providers: [{ provide: EMAIL_INPUT_TOKEN, useExisting: EmailInputDirective }], exportAs: ["etEmailInput"], ngImport: i0 }); }
|
|
2517
2496
|
}
|
|
2518
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.
|
|
2497
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: EmailInputDirective, decorators: [{
|
|
2519
2498
|
type: Directive,
|
|
2520
2499
|
args: [{
|
|
2521
2500
|
standalone: true,
|
|
@@ -2558,10 +2537,10 @@ class NumberInputDirective {
|
|
|
2558
2537
|
this.input._markAsTouched();
|
|
2559
2538
|
this.input._setShouldDisplayError(true);
|
|
2560
2539
|
}
|
|
2561
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.
|
|
2562
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.
|
|
2540
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: NumberInputDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
2541
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.1", type: NumberInputDirective, isStandalone: true, providers: [{ provide: NUMBER_INPUT_TOKEN, useExisting: NumberInputDirective }], exportAs: ["etNumberInput"], ngImport: i0 }); }
|
|
2563
2542
|
}
|
|
2564
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.
|
|
2543
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: NumberInputDirective, decorators: [{
|
|
2565
2544
|
type: Directive,
|
|
2566
2545
|
args: [{
|
|
2567
2546
|
standalone: true,
|
|
@@ -2607,10 +2586,10 @@ class PasswordInputDirective {
|
|
|
2607
2586
|
_toggleShowPassword() {
|
|
2608
2587
|
this.showPassword$.next(!this.showPassword$.value);
|
|
2609
2588
|
}
|
|
2610
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.
|
|
2611
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.
|
|
2589
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: PasswordInputDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
2590
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.1", type: PasswordInputDirective, isStandalone: true, providers: [{ provide: PASSWORD_INPUT_TOKEN, useExisting: PasswordInputDirective }], exportAs: ["etPasswordInput"], ngImport: i0 }); }
|
|
2612
2591
|
}
|
|
2613
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.
|
|
2592
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: PasswordInputDirective, decorators: [{
|
|
2614
2593
|
type: Directive,
|
|
2615
2594
|
args: [{
|
|
2616
2595
|
standalone: true,
|
|
@@ -2656,10 +2635,10 @@ class SearchInputDirective {
|
|
|
2656
2635
|
this.input._updateValue(null);
|
|
2657
2636
|
this._controlTouched();
|
|
2658
2637
|
}
|
|
2659
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.
|
|
2660
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.
|
|
2638
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: SearchInputDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
2639
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.1", type: SearchInputDirective, isStandalone: true, providers: [{ provide: SEARCH_INPUT_TOKEN, useExisting: SearchInputDirective }], exportAs: ["etSearchInput"], ngImport: i0 }); }
|
|
2661
2640
|
}
|
|
2662
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.
|
|
2641
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: SearchInputDirective, decorators: [{
|
|
2663
2642
|
type: Directive,
|
|
2664
2643
|
args: [{
|
|
2665
2644
|
standalone: true,
|
|
@@ -2701,10 +2680,10 @@ class TextInputDirective {
|
|
|
2701
2680
|
this.input._markAsTouched();
|
|
2702
2681
|
this.input._setShouldDisplayError(true);
|
|
2703
2682
|
}
|
|
2704
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.
|
|
2705
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.
|
|
2683
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: TextInputDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
2684
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.1", type: TextInputDirective, isStandalone: true, providers: [{ provide: TEXT_INPUT_TOKEN, useExisting: TextInputDirective }], exportAs: ["etTextInput"], ngImport: i0 }); }
|
|
2706
2685
|
}
|
|
2707
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.
|
|
2686
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: TextInputDirective, decorators: [{
|
|
2708
2687
|
type: Directive,
|
|
2709
2688
|
args: [{
|
|
2710
2689
|
standalone: true,
|
|
@@ -2746,10 +2725,10 @@ class TextareaInputDirective {
|
|
|
2746
2725
|
this.input._markAsTouched();
|
|
2747
2726
|
this.input._setShouldDisplayError(true);
|
|
2748
2727
|
}
|
|
2749
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.
|
|
2750
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.
|
|
2728
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: TextareaInputDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
2729
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.1", type: TextareaInputDirective, isStandalone: true, providers: [{ provide: TEXTAREA_INPUT_TOKEN, useExisting: TextareaInputDirective }], exportAs: ["etTextareaInput"], ngImport: i0 }); }
|
|
2751
2730
|
}
|
|
2752
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.
|
|
2731
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: TextareaInputDirective, decorators: [{
|
|
2753
2732
|
type: Directive,
|
|
2754
2733
|
args: [{
|
|
2755
2734
|
standalone: true,
|
|
@@ -2763,10 +2742,10 @@ class EmailInputComponent extends DecoratedInputBase {
|
|
|
2763
2742
|
super(...arguments);
|
|
2764
2743
|
this.emailInput = inject(EMAIL_INPUT_TOKEN);
|
|
2765
2744
|
}
|
|
2766
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.
|
|
2767
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.
|
|
2745
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: EmailInputComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
2746
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.1", type: EmailInputComponent, isStandalone: true, selector: "et-email-input", host: { classAttribute: "et-email-input" }, usesInheritance: true, hostDirectives: [{ directive: EmailInputDirective }, { directive: InputDirective, inputs: ["autocomplete", "autocomplete", "placeholder", "placeholder"] }], ngImport: i0, template: "<ng-content select=\"[etInputPrefix]\" />\n\n<input\n [attr.id]=\"input.id\"\n [attr.aria-labelledby]=\"input.labelId$ | async\"\n [required]=\"input.required$ | async\"\n [disabled]=\"input.disabled$ | async\"\n [attr.autocomplete]=\"input.autocomplete || null\"\n [attr.placeholder]=\"input.placeholder || null\"\n [attr.aria-describedby]=\"input.describedBy$ | async\"\n (input)=\"emailInput._onInputInteraction($event)\"\n (blur)=\"emailInput._controlTouched()\"\n class=\"et-input-native-control et-email-input-native-control\"\n type=\"email\"\n etNativeInputRef\n/>\n\n<ng-content select=\"[etInputSuffix]\" />\n", styles: [""], dependencies: [{ kind: "pipe", type: AsyncPipe, name: "async" }, { kind: "directive", type: NativeInputRefDirective, selector: "input[etNativeInputRef], textarea[etNativeInputRef], select[etNativeInputRef], button[etNativeInputRef]" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
2768
2747
|
}
|
|
2769
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.
|
|
2748
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: EmailInputComponent, decorators: [{
|
|
2770
2749
|
type: Component,
|
|
2771
2750
|
args: [{ selector: 'et-email-input', standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, host: {
|
|
2772
2751
|
class: 'et-email-input',
|
|
@@ -2778,8 +2757,8 @@ class InputFieldComponent extends DecoratedFormFieldBase {
|
|
|
2778
2757
|
super(...arguments);
|
|
2779
2758
|
this.inputState = inject(InputStateService);
|
|
2780
2759
|
}
|
|
2781
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.
|
|
2782
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.
|
|
2760
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: InputFieldComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
2761
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.1", type: InputFieldComponent, isStandalone: true, selector: "et-input-field", host: { classAttribute: "et-form-field et-input-field" }, usesInheritance: true, hostDirectives: [{ directive: StaticFormFieldDirective }, { directive: WriteableInputDirective }, { directive: i0.forwardRef(function () { return DynamicFormFieldDirective; }), inputs: ["hideErrorMessage", "hideErrorMessage"] }], ngImport: i0, template: `
|
|
2783
2762
|
<ng-content select="et-label" />
|
|
2784
2763
|
<div class="et-input-field-input">
|
|
2785
2764
|
<ng-content
|
|
@@ -2789,7 +2768,7 @@ class InputFieldComponent extends DecoratedFormFieldBase {
|
|
|
2789
2768
|
<et-error [errors]="inputState.errors$ | async" />
|
|
2790
2769
|
`, isInline: true, dependencies: [{ kind: "component", type: ErrorComponent, selector: "et-error", inputs: ["errors"] }, { kind: "pipe", type: AsyncPipe, name: "async" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
2791
2770
|
}
|
|
2792
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.
|
|
2771
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: InputFieldComponent, decorators: [{
|
|
2793
2772
|
type: Component,
|
|
2794
2773
|
args: [{
|
|
2795
2774
|
selector: 'et-input-field',
|
|
@@ -2825,10 +2804,10 @@ class NumberInputComponent extends DecoratedInputBase {
|
|
|
2825
2804
|
super(...arguments);
|
|
2826
2805
|
this.numberInput = inject(NUMBER_INPUT_TOKEN);
|
|
2827
2806
|
}
|
|
2828
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.
|
|
2829
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.
|
|
2807
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: NumberInputComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
2808
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.1", type: NumberInputComponent, isStandalone: true, selector: "et-number-input", host: { classAttribute: "et-number-input" }, usesInheritance: true, hostDirectives: [{ directive: NumberInputDirective }, { directive: InputDirective, inputs: ["autocomplete", "autocomplete", "placeholder", "placeholder"] }], ngImport: i0, template: "<ng-content select=\"[etInputPrefix]\" />\n\n<input\n [attr.id]=\"input.id\"\n [attr.aria-labelledby]=\"input.labelId$ | async\"\n [required]=\"input.required$ | async\"\n [disabled]=\"input.disabled$ | async\"\n [attr.autocomplete]=\"input.autocomplete || null\"\n [attr.placeholder]=\"input.placeholder || null\"\n [attr.aria-describedby]=\"input.describedBy$ | async\"\n (input)=\"numberInput._onInputInteraction($event)\"\n (blur)=\"numberInput._controlTouched()\"\n class=\"et-input-native-control et-number-input-native-control\"\n type=\"number\"\n etNativeInputRef\n/>\n\n<ng-content select=\"[etInputSuffix]\" />\n", styles: [""], dependencies: [{ kind: "pipe", type: AsyncPipe, name: "async" }, { kind: "directive", type: NativeInputRefDirective, selector: "input[etNativeInputRef], textarea[etNativeInputRef], select[etNativeInputRef], button[etNativeInputRef]" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
2830
2809
|
}
|
|
2831
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.
|
|
2810
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: NumberInputComponent, decorators: [{
|
|
2832
2811
|
type: Component,
|
|
2833
2812
|
args: [{ selector: 'et-number-input', standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, host: {
|
|
2834
2813
|
class: 'et-number-input',
|
|
@@ -2840,10 +2819,10 @@ class PasswordInputComponent extends DecoratedInputBase {
|
|
|
2840
2819
|
super(...arguments);
|
|
2841
2820
|
this.passwordInput = inject(PASSWORD_INPUT_TOKEN);
|
|
2842
2821
|
}
|
|
2843
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.
|
|
2844
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.
|
|
2822
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: PasswordInputComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
2823
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.1", type: PasswordInputComponent, isStandalone: true, selector: "et-password-input", host: { classAttribute: "et-password-input" }, usesInheritance: true, hostDirectives: [{ directive: PasswordInputDirective }, { directive: InputDirective, inputs: ["autocomplete", "autocomplete", "placeholder", "placeholder"] }], ngImport: i0, template: "<ng-content select=\"[etInputPrefix]\" />\n\n<input\n [attr.id]=\"input.id\"\n [attr.aria-labelledby]=\"input.labelId$ | async\"\n [required]=\"input.required$ | async\"\n [disabled]=\"input.disabled$ | async\"\n [attr.type]=\"(passwordInput.showPassword$ | async) ? 'text' : 'password'\"\n [attr.autocomplete]=\"input.autocomplete || null\"\n [attr.placeholder]=\"input.placeholder || null\"\n [attr.aria-describedby]=\"input.describedBy$ | async\"\n (input)=\"passwordInput._onInputInteraction($event)\"\n (blur)=\"passwordInput._controlTouched()\"\n class=\"et-input-native-control et-password-input-native-control\"\n etNativeInputRef\n spellcheck=\"false\"\n/>\n\n<ng-content select=\"[etInputSuffix]\" />\n", styles: [""], dependencies: [{ kind: "pipe", type: AsyncPipe, name: "async" }, { kind: "directive", type: NativeInputRefDirective, selector: "input[etNativeInputRef], textarea[etNativeInputRef], select[etNativeInputRef], button[etNativeInputRef]" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
2845
2824
|
}
|
|
2846
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.
|
|
2825
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: PasswordInputComponent, decorators: [{
|
|
2847
2826
|
type: Component,
|
|
2848
2827
|
args: [{ selector: 'et-password-input', standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, host: {
|
|
2849
2828
|
class: 'et-password-input',
|
|
@@ -2855,10 +2834,10 @@ class SearchInputComponent extends DecoratedInputBase {
|
|
|
2855
2834
|
super(...arguments);
|
|
2856
2835
|
this.searchInput = inject(SEARCH_INPUT_TOKEN);
|
|
2857
2836
|
}
|
|
2858
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.
|
|
2859
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.
|
|
2837
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: SearchInputComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
2838
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.1", type: SearchInputComponent, isStandalone: true, selector: "et-search-input", host: { classAttribute: "et-search-input" }, usesInheritance: true, hostDirectives: [{ directive: SearchInputDirective }, { directive: InputDirective, inputs: ["autocomplete", "autocomplete", "placeholder", "placeholder"] }], ngImport: i0, template: "<ng-content select=\"[etInputPrefix]\" />\n\n<input\n [attr.id]=\"input.id\"\n [attr.aria-labelledby]=\"input.labelId$ | async\"\n [required]=\"input.required$ | async\"\n [disabled]=\"input.disabled$ | async\"\n [attr.autocomplete]=\"input.autocomplete || null\"\n [attr.placeholder]=\"input.placeholder || null\"\n [attr.aria-describedby]=\"input.describedBy$ | async\"\n (input)=\"searchInput._onInputInteraction($event)\"\n (blur)=\"searchInput._controlTouched()\"\n (keyup.escape)=\"searchInput._clear()\"\n class=\"et-input-native-control et-search-input-native-control\"\n type=\"search\"\n etNativeInputRef\n/>\n\n<ng-content select=\"[etInputSuffix]\" />\n", styles: [".et-search-input input[type=search]::-webkit-search-cancel-button,.et-search-input input[type=search]::-webkit-search-decoration{-webkit-appearance:none}\n"], dependencies: [{ kind: "pipe", type: AsyncPipe, name: "async" }, { kind: "directive", type: NativeInputRefDirective, selector: "input[etNativeInputRef], textarea[etNativeInputRef], select[etNativeInputRef], button[etNativeInputRef]" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
2860
2839
|
}
|
|
2861
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.
|
|
2840
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: SearchInputComponent, decorators: [{
|
|
2862
2841
|
type: Component,
|
|
2863
2842
|
args: [{ selector: 'et-search-input', standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, host: {
|
|
2864
2843
|
class: 'et-search-input',
|
|
@@ -2870,10 +2849,10 @@ class TextInputComponent extends DecoratedInputBase {
|
|
|
2870
2849
|
super(...arguments);
|
|
2871
2850
|
this.textInput = inject(TEXT_INPUT_TOKEN);
|
|
2872
2851
|
}
|
|
2873
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.
|
|
2874
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.
|
|
2852
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: TextInputComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
2853
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.1", type: TextInputComponent, isStandalone: true, selector: "et-text-input", host: { classAttribute: "et-text-input" }, usesInheritance: true, hostDirectives: [{ directive: TextInputDirective }, { directive: InputDirective, inputs: ["autocomplete", "autocomplete", "placeholder", "placeholder"] }], ngImport: i0, template: "<ng-content select=\"[etInputPrefix]\" />\n\n<input\n [attr.id]=\"input.id\"\n [attr.aria-labelledby]=\"input.labelId$ | async\"\n [required]=\"input.required$ | async\"\n [disabled]=\"input.disabled$ | async\"\n [attr.autocomplete]=\"input.autocomplete || null\"\n [attr.placeholder]=\"input.placeholder || null\"\n [attr.aria-describedby]=\"input.describedBy$ | async\"\n (input)=\"textInput._onInputInteraction($event)\"\n (blur)=\"textInput._controlTouched()\"\n class=\"et-input-native-control et-text-input-native-control\"\n type=\"text\"\n etNativeInputRef\n/>\n\n<ng-content select=\"[etInputSuffix]\" />\n", styles: [""], dependencies: [{ kind: "pipe", type: AsyncPipe, name: "async" }, { kind: "directive", type: NativeInputRefDirective, selector: "input[etNativeInputRef], textarea[etNativeInputRef], select[etNativeInputRef], button[etNativeInputRef]" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
2875
2854
|
}
|
|
2876
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.
|
|
2855
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: TextInputComponent, decorators: [{
|
|
2877
2856
|
type: Component,
|
|
2878
2857
|
args: [{ selector: 'et-text-input', standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, host: {
|
|
2879
2858
|
class: 'et-text-input',
|
|
@@ -2884,33 +2863,23 @@ class TextareaInputComponent extends DecoratedInputBase {
|
|
|
2884
2863
|
constructor() {
|
|
2885
2864
|
super(...arguments);
|
|
2886
2865
|
this.textareaInput = inject(TEXTAREA_INPUT_TOKEN);
|
|
2887
|
-
this.
|
|
2888
|
-
this.
|
|
2889
|
-
}
|
|
2890
|
-
get cols() {
|
|
2891
|
-
return this._cols;
|
|
2892
|
-
}
|
|
2893
|
-
set cols(value) {
|
|
2894
|
-
this._cols = coerceNumberProperty(value);
|
|
2866
|
+
this.cols = null;
|
|
2867
|
+
this.rows = null;
|
|
2895
2868
|
}
|
|
2896
|
-
|
|
2897
|
-
|
|
2898
|
-
}
|
|
2899
|
-
set rows(value) {
|
|
2900
|
-
this._rows = coerceNumberProperty(value);
|
|
2901
|
-
}
|
|
2902
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.0", ngImport: i0, type: TextareaInputComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
2903
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.0", type: TextareaInputComponent, isStandalone: true, selector: "et-textarea-input", inputs: { cols: "cols", rows: "rows" }, host: { classAttribute: "et-textarea-input" }, usesInheritance: true, hostDirectives: [{ directive: TextareaInputDirective }, { directive: InputDirective, inputs: ["autocomplete", "autocomplete", "placeholder", "placeholder"] }], ngImport: i0, template: "<textarea\n [attr.id]=\"input.id\"\n [attr.aria-labelledby]=\"input.labelId$ | async\"\n [required]=\"input.required$ | async\"\n [disabled]=\"input.disabled$ | async\"\n [attr.autocomplete]=\"input.autocomplete || null\"\n [attr.placeholder]=\"input.placeholder || null\"\n [attr.aria-describedby]=\"input.describedBy$ | async\"\n [cols]=\"cols\"\n [rows]=\"rows\"\n (input)=\"textareaInput._onInputInteraction($event)\"\n (blur)=\"textareaInput._controlTouched()\"\n class=\"et-input-native-control et-textarea-input-native-control\"\n etNativeInputRef\n></textarea>\n", styles: [""], dependencies: [{ kind: "pipe", type: AsyncPipe, name: "async" }, { kind: "directive", type: NativeInputRefDirective, selector: "input[etNativeInputRef], textarea[etNativeInputRef], select[etNativeInputRef], button[etNativeInputRef]" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
2869
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: TextareaInputComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
2870
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.1", type: TextareaInputComponent, isStandalone: true, selector: "et-textarea-input", inputs: { cols: ["cols", "cols", numberAttribute], rows: ["rows", "rows", numberAttribute] }, host: { classAttribute: "et-textarea-input" }, usesInheritance: true, hostDirectives: [{ directive: TextareaInputDirective }, { directive: InputDirective, inputs: ["autocomplete", "autocomplete", "placeholder", "placeholder"] }], ngImport: i0, template: "<textarea\n [attr.id]=\"input.id\"\n [attr.aria-labelledby]=\"input.labelId$ | async\"\n [required]=\"input.required$ | async\"\n [disabled]=\"input.disabled$ | async\"\n [attr.autocomplete]=\"input.autocomplete || null\"\n [attr.placeholder]=\"input.placeholder || null\"\n [attr.aria-describedby]=\"input.describedBy$ | async\"\n [cols]=\"cols\"\n [rows]=\"rows\"\n (input)=\"textareaInput._onInputInteraction($event)\"\n (blur)=\"textareaInput._controlTouched()\"\n class=\"et-input-native-control et-textarea-input-native-control\"\n etNativeInputRef\n></textarea>\n", styles: [""], dependencies: [{ kind: "pipe", type: AsyncPipe, name: "async" }, { kind: "directive", type: NativeInputRefDirective, selector: "input[etNativeInputRef], textarea[etNativeInputRef], select[etNativeInputRef], button[etNativeInputRef]" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
2904
2871
|
}
|
|
2905
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.
|
|
2872
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: TextareaInputComponent, decorators: [{
|
|
2906
2873
|
type: Component,
|
|
2907
2874
|
args: [{ selector: 'et-textarea-input', standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, host: {
|
|
2908
2875
|
class: 'et-textarea-input',
|
|
2909
2876
|
}, imports: [AsyncPipe, NativeInputRefDirective], hostDirectives: [TextareaInputDirective, { directive: InputDirective, inputs: ['autocomplete', 'placeholder'] }], template: "<textarea\n [attr.id]=\"input.id\"\n [attr.aria-labelledby]=\"input.labelId$ | async\"\n [required]=\"input.required$ | async\"\n [disabled]=\"input.disabled$ | async\"\n [attr.autocomplete]=\"input.autocomplete || null\"\n [attr.placeholder]=\"input.placeholder || null\"\n [attr.aria-describedby]=\"input.describedBy$ | async\"\n [cols]=\"cols\"\n [rows]=\"rows\"\n (input)=\"textareaInput._onInputInteraction($event)\"\n (blur)=\"textareaInput._controlTouched()\"\n class=\"et-input-native-control et-textarea-input-native-control\"\n etNativeInputRef\n></textarea>\n" }]
|
|
2910
2877
|
}], propDecorators: { cols: [{
|
|
2911
|
-
type: Input
|
|
2878
|
+
type: Input,
|
|
2879
|
+
args: [{ transform: numberAttribute }]
|
|
2912
2880
|
}], rows: [{
|
|
2913
|
-
type: Input
|
|
2881
|
+
type: Input,
|
|
2882
|
+
args: [{ transform: numberAttribute }]
|
|
2914
2883
|
}] } });
|
|
2915
2884
|
|
|
2916
2885
|
class PasswordInputToggleComponent {
|
|
@@ -2918,10 +2887,10 @@ class PasswordInputToggleComponent {
|
|
|
2918
2887
|
this.passwordInput = inject(PASSWORD_INPUT_TOKEN);
|
|
2919
2888
|
this.input = inject(INPUT_TOKEN);
|
|
2920
2889
|
}
|
|
2921
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.
|
|
2922
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.
|
|
2890
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: PasswordInputToggleComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
2891
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.1", type: PasswordInputToggleComponent, isStandalone: true, selector: "et-password-input-toggle", inputs: { ariaLabel: "ariaLabel" }, host: { classAttribute: "et-password-input-toggle" }, ngImport: i0, template: "<button\n [attr.aria-controls]=\"input.id\"\n [attr.aria-pressed]=\"passwordInput.showPassword$ | async\"\n [class.et-password-input-toggle-button--active]=\"passwordInput.showPassword$ | async\"\n [attr.aria-label]=\"ariaLabel || null\"\n [disabled]=\"input.disabled$ | async\"\n (click)=\"passwordInput._toggleShowPassword(); input.focusInputVia()\"\n class=\"et-password-input-toggle-button\"\n type=\"button\"\n tabindex=\"-1\"\n>\n <ng-content />\n</button>\n", styles: [""], dependencies: [{ kind: "pipe", type: AsyncPipe, name: "async" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
2923
2892
|
}
|
|
2924
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.
|
|
2893
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: PasswordInputToggleComponent, decorators: [{
|
|
2925
2894
|
type: Component,
|
|
2926
2895
|
args: [{ selector: 'et-password-input-toggle', standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, host: {
|
|
2927
2896
|
class: 'et-password-input-toggle',
|
|
@@ -2935,10 +2904,10 @@ class SearchInputClearComponent {
|
|
|
2935
2904
|
this.searchInput = inject(SEARCH_INPUT_TOKEN);
|
|
2936
2905
|
this.input = inject(INPUT_TOKEN);
|
|
2937
2906
|
}
|
|
2938
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.
|
|
2939
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.
|
|
2907
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: SearchInputClearComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
2908
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.1", type: SearchInputClearComponent, isStandalone: true, selector: "et-search-input-clear", inputs: { ariaLabel: "ariaLabel" }, host: { classAttribute: "et-search-input-clear" }, ngImport: i0, template: "<button\n [attr.aria-controls]=\"input.id\"\n [attr.aria-label]=\"ariaLabel || null\"\n [disabled]=\"input.disabled$ | async\"\n (click)=\"searchInput._clear(); input.focusInputVia()\"\n class=\"et-search-input-clear-button\"\n type=\"button\"\n>\n <ng-content />\n</button>\n", styles: [""], dependencies: [{ kind: "pipe", type: AsyncPipe, name: "async" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
2940
2909
|
}
|
|
2941
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.
|
|
2910
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: SearchInputClearComponent, decorators: [{
|
|
2942
2911
|
type: Component,
|
|
2943
2912
|
args: [{ selector: 'et-search-input-clear', standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, host: {
|
|
2944
2913
|
class: 'et-search-input-clear',
|
|
@@ -2990,7 +2959,7 @@ class RadioDirective {
|
|
|
2990
2959
|
return this._disabled$.getValue();
|
|
2991
2960
|
}
|
|
2992
2961
|
set disabled(value) {
|
|
2993
|
-
this._disabled$.next(
|
|
2962
|
+
this._disabled$.next(booleanAttribute(value));
|
|
2994
2963
|
}
|
|
2995
2964
|
_onInputInteraction(event) {
|
|
2996
2965
|
event.stopPropagation();
|
|
@@ -3005,10 +2974,10 @@ class RadioDirective {
|
|
|
3005
2974
|
this.input._markAsTouched();
|
|
3006
2975
|
this.input._setShouldDisplayError(true);
|
|
3007
2976
|
}
|
|
3008
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.
|
|
3009
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.
|
|
2977
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: RadioDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
2978
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.1", type: RadioDirective, isStandalone: true, inputs: { value: "value", disabled: "disabled" }, providers: [{ provide: RADIO_TOKEN, useExisting: RadioDirective }], exportAs: ["etRadio"], ngImport: i0 }); }
|
|
3010
2979
|
}
|
|
3011
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.
|
|
2980
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: RadioDirective, decorators: [{
|
|
3012
2981
|
type: Directive,
|
|
3013
2982
|
args: [{
|
|
3014
2983
|
standalone: true,
|
|
@@ -3040,10 +3009,10 @@ class RadioFieldDirective {
|
|
|
3040
3009
|
observable: this._radio.changes.pipe(startWith(this._radio)).pipe(switchMap((radios) => combineLatest(radios.filter((radio) => !!radio).map((radio) => radio.disabled$))), map((disabled) => disabled.some((value) => value))),
|
|
3041
3010
|
});
|
|
3042
3011
|
}
|
|
3043
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.
|
|
3044
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.
|
|
3012
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: RadioFieldDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
3013
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.1", type: RadioFieldDirective, isStandalone: true, providers: [{ provide: RADIO_FIELD_TOKEN, useExisting: RadioFieldDirective }], queries: [{ propertyName: "_radio", predicate: i0.forwardRef(function () { return RADIO_TOKEN; }), descendants: true }], exportAs: ["etRadioField"], ngImport: i0 }); }
|
|
3045
3014
|
}
|
|
3046
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.
|
|
3015
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: RadioFieldDirective, decorators: [{
|
|
3047
3016
|
type: Directive,
|
|
3048
3017
|
args: [{
|
|
3049
3018
|
standalone: true,
|
|
@@ -3071,10 +3040,10 @@ class RadioGroupDirective {
|
|
|
3071
3040
|
})),
|
|
3072
3041
|
});
|
|
3073
3042
|
}
|
|
3074
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.
|
|
3075
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.
|
|
3043
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: RadioGroupDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
3044
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.1", type: RadioGroupDirective, isStandalone: true, host: { attributes: { "role": "radiogroup" } }, providers: [{ provide: RADIO_GROUP_TOKEN, useExisting: RadioGroupDirective }], exportAs: ["etRadioGroup"], ngImport: i0 }); }
|
|
3076
3045
|
}
|
|
3077
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.
|
|
3046
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: RadioGroupDirective, decorators: [{
|
|
3078
3047
|
type: Directive,
|
|
3079
3048
|
args: [{
|
|
3080
3049
|
standalone: true,
|
|
@@ -3087,15 +3056,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0", ngImpor
|
|
|
3087
3056
|
}] });
|
|
3088
3057
|
|
|
3089
3058
|
class RadioFieldComponent {
|
|
3090
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.
|
|
3091
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.
|
|
3059
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: RadioFieldComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
3060
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.1", type: RadioFieldComponent, isStandalone: true, selector: "et-radio-field", host: { classAttribute: "et-form-field et-radio-field" }, hostDirectives: [{ directive: StaticFormFieldDirective }, { directive: RadioFieldDirective }], ngImport: i0, template: `
|
|
3092
3061
|
<div class="et-radio-field-container">
|
|
3093
3062
|
<ng-content select="et-radio" />
|
|
3094
3063
|
<ng-content select="et-label" />
|
|
3095
3064
|
</div>
|
|
3096
3065
|
`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
3097
3066
|
}
|
|
3098
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.
|
|
3067
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: RadioFieldComponent, decorators: [{
|
|
3099
3068
|
type: Component,
|
|
3100
3069
|
args: [{
|
|
3101
3070
|
selector: 'et-radio-field',
|
|
@@ -3119,15 +3088,15 @@ class RadioGroupComponent {
|
|
|
3119
3088
|
constructor() {
|
|
3120
3089
|
this.inputState = inject(InputStateService);
|
|
3121
3090
|
}
|
|
3122
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.
|
|
3123
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.
|
|
3091
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: RadioGroupComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
3092
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.1", type: RadioGroupComponent, isStandalone: true, selector: "et-radio-group", host: { classAttribute: "et-form-group et-radio-group" }, hostDirectives: [{ directive: StaticFormGroupDirective }, { directive: WriteableInputDirective }, { directive: i0.forwardRef(function () { return DynamicFormGroupDirective; }), inputs: ["hideErrorMessage", "hideErrorMessage"] }, { directive: RadioGroupDirective }], ngImport: i0, template: `
|
|
3124
3093
|
<div class="et-radio-group-container">
|
|
3125
3094
|
<ng-content select="et-radio-field" />
|
|
3126
3095
|
</div>
|
|
3127
3096
|
<et-error [errors]="inputState.errors$ | async" />
|
|
3128
3097
|
`, isInline: true, styles: [":where(.et-radio-group){display:block}\n"], dependencies: [{ kind: "component", type: ErrorComponent, selector: "et-error", inputs: ["errors"] }, { kind: "pipe", type: AsyncPipe, name: "async" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
3129
3098
|
}
|
|
3130
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.
|
|
3099
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: RadioGroupComponent, decorators: [{
|
|
3131
3100
|
type: Component,
|
|
3132
3101
|
args: [{ selector: 'et-radio-group', template: `
|
|
3133
3102
|
<div class="et-radio-group-container">
|
|
@@ -3153,10 +3122,10 @@ class RadioComponent extends InputBase {
|
|
|
3153
3122
|
this.radio = inject(RADIO_TOKEN);
|
|
3154
3123
|
this.radioGroup = inject(RADIO_GROUP_TOKEN);
|
|
3155
3124
|
}
|
|
3156
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.
|
|
3157
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.
|
|
3125
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: RadioComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
3126
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.1", type: RadioComponent, isStandalone: true, selector: "et-radio", host: { classAttribute: "et-radio" }, usesInheritance: true, hostDirectives: [{ directive: RadioDirective, inputs: ["value", "value", "disabled", "disabled"] }, { directive: InputDirective, inputs: ["autocomplete", "autocomplete"] }], ngImport: i0, template: "<input\n [attr.tabindex]=\"(radio.disabled$ | async) ? -1 : 0\"\n [attr.checked]=\"(radio.checked$ | async) || null\"\n [attr.aria-labelledby]=\"input.labelId$ | async\"\n [attr.aria-required]=\"(input.required$ | async) || null\"\n [disabled]=\"radio.disabled$ | async\"\n [attr.id]=\"input.id\"\n [attr.name]=\"radioGroup.name\"\n (click)=\"radio._onInputInteraction($event)\"\n (blur)=\"radio._controlTouched()\"\n class=\"et-radio-native-input\"\n type=\"radio\"\n etNativeInputRef\n/>\n\n<div [ngClass]=\"{ 'et-radio-check--active': radio.checked$ | async }\" class=\"et-radio-check\"></div>\n", styles: [":where(.et-radio){--et-radio-size: 25px;--et-radio-check-size: 10px;--et-radio-border-radius: 50%;--et-radio-border-color: #e5e5e5;--et-radio-state-color: #e5e5e5;inline-size:var(--et-radio-size);block-size:var(--et-radio-size);border:1px solid var(--et-radio-border-color);border-radius:var(--et-radio-border-radius);display:inline-grid}:where(.et-radio-check){inline-size:var(--et-radio-check-size);block-size:var(--et-radio-check-size);border-radius:var(--et-radio-border-radius)}:where(.et-radio-check).et-radio-check--active{background-color:var(--et-radio-state-color)}.et-radio{position:relative;align-items:center;justify-items:center}.et-radio-native-input,.et-radio-check{grid-area:1/1/2/2}.et-radio-native-input{z-index:1;inline-size:var(--et-radio-size);block-size:var(--et-radio-size);opacity:0;margin:0;border:none}.et-radio:not(.et-radio--disabled) .et-radio-native-input{cursor:pointer}\n"], dependencies: [{ kind: "pipe", type: AsyncPipe, name: "async" }, { kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: NativeInputRefDirective, selector: "input[etNativeInputRef], textarea[etNativeInputRef], select[etNativeInputRef], button[etNativeInputRef]" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
3158
3127
|
}
|
|
3159
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.
|
|
3128
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: RadioComponent, decorators: [{
|
|
3160
3129
|
type: Component,
|
|
3161
3130
|
args: [{ selector: 'et-radio', standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, host: {
|
|
3162
3131
|
class: 'et-radio',
|
|
@@ -3195,7 +3164,7 @@ class SegmentedButtonDirective {
|
|
|
3195
3164
|
return this._disabled$.getValue();
|
|
3196
3165
|
}
|
|
3197
3166
|
set disabled(value) {
|
|
3198
|
-
this._disabled$.next(
|
|
3167
|
+
this._disabled$.next(booleanAttribute(value));
|
|
3199
3168
|
}
|
|
3200
3169
|
get activeIndicatorElement$() {
|
|
3201
3170
|
return this._activeIndicatorElement$.asObservable();
|
|
@@ -3219,10 +3188,10 @@ class SegmentedButtonDirective {
|
|
|
3219
3188
|
this.input._markAsTouched();
|
|
3220
3189
|
this.input._setShouldDisplayError(true);
|
|
3221
3190
|
}
|
|
3222
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.
|
|
3223
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.
|
|
3191
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: SegmentedButtonDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
3192
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.1", type: SegmentedButtonDirective, isStandalone: true, inputs: { value: "value", disabled: "disabled" }, providers: [{ provide: SEGMENTED_BUTTON_TOKEN, useExisting: SegmentedButtonDirective }], exportAs: ["etSegmentedButton"], ngImport: i0 }); }
|
|
3224
3193
|
}
|
|
3225
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.
|
|
3194
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: SegmentedButtonDirective, decorators: [{
|
|
3226
3195
|
type: Directive,
|
|
3227
3196
|
args: [{
|
|
3228
3197
|
standalone: true,
|
|
@@ -3254,10 +3223,10 @@ class SegmentedButtonFieldDirective {
|
|
|
3254
3223
|
observable: this._segmentedButton.changes.pipe(startWith(this._segmentedButton)).pipe(switchMap((buttons) => combineLatest(buttons.filter((radio) => !!radio).map((button) => button.disabled$))), map((disabled) => disabled.some((value) => value))),
|
|
3255
3224
|
});
|
|
3256
3225
|
}
|
|
3257
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.
|
|
3258
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.
|
|
3226
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: SegmentedButtonFieldDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
3227
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.1", type: SegmentedButtonFieldDirective, isStandalone: true, providers: [{ provide: SEGMENTED_BUTTON_FIELD_TOKEN, useExisting: SegmentedButtonFieldDirective }], queries: [{ propertyName: "_segmentedButton", predicate: i0.forwardRef(function () { return SEGMENTED_BUTTON_TOKEN; }), descendants: true }], exportAs: ["etSegmentedButtonField"], ngImport: i0 }); }
|
|
3259
3228
|
}
|
|
3260
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.
|
|
3229
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: SegmentedButtonFieldDirective, decorators: [{
|
|
3261
3230
|
type: Directive,
|
|
3262
3231
|
args: [{
|
|
3263
3232
|
standalone: true,
|
|
@@ -3313,10 +3282,10 @@ class SegmentedButtonGroupDirective {
|
|
|
3313
3282
|
}), takeUntil(this._destroy$))
|
|
3314
3283
|
.subscribe();
|
|
3315
3284
|
}
|
|
3316
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.
|
|
3317
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.
|
|
3285
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: SegmentedButtonGroupDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
3286
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.1", type: SegmentedButtonGroupDirective, isStandalone: true, host: { attributes: { "role": "group" } }, providers: [{ provide: SEGMENTED_BUTTON_GROUP_TOKEN, useExisting: SegmentedButtonGroupDirective }], queries: [{ propertyName: "_segmentedButtons", predicate: i0.forwardRef(function () { return SEGMENTED_BUTTON_TOKEN; }), descendants: true }], exportAs: ["etSegmentedButtonGroup"], ngImport: i0 }); }
|
|
3318
3287
|
}
|
|
3319
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.
|
|
3288
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: SegmentedButtonGroupDirective, decorators: [{
|
|
3320
3289
|
type: Directive,
|
|
3321
3290
|
args: [{
|
|
3322
3291
|
standalone: true,
|
|
@@ -3343,10 +3312,10 @@ class SegmentedButtonComponent extends InputBase {
|
|
|
3343
3312
|
}
|
|
3344
3313
|
this.segmentedButton._setActiveIndicatorElement(this.activeIndicator.nativeElement);
|
|
3345
3314
|
}
|
|
3346
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.
|
|
3347
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.
|
|
3315
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: SegmentedButtonComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
3316
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.1", type: SegmentedButtonComponent, isStandalone: true, selector: "et-segmented-button", host: { classAttribute: "et-segmented-button" }, viewQueries: [{ propertyName: "activeIndicator", first: true, predicate: ["activeIndicator"], descendants: true, static: true }], usesInheritance: true, hostDirectives: [{ directive: SegmentedButtonDirective, inputs: ["value", "value", "disabled", "disabled"] }, { directive: InputDirective }], ngImport: i0, template: "<button\n [attr.tabindex]=\"(input.disabled$ | async) ? -1 : 0\"\n [attr.aria-pressed]=\"segmentedButton.checked$ | async\"\n [attr.aria-required]=\"(input.required$ | async) || null\"\n [attr.aria-describedby]=\"input.describedBy$ | async\"\n [disabled]=\"segmentedButton.disabled$ | async\"\n [attr.id]=\"input.id\"\n (click)=\"segmentedButton._onInputInteraction($event)\"\n (blur)=\"segmentedButton._controlTouched()\"\n class=\"et-segmented-button-button\"\n type=\"button\"\n>\n <div #activeIndicator class=\"et-segmented-button-button-active-indicator\"></div>\n\n <span class=\"et-segmented-button-button-content\">\n <ng-content />\n </span>\n</button>\n", styles: [":where(.et-segmented-button){--et-segmented-button-active-indicator-color: #e0e0e0;--et-segmented-button-active-indicator-radius: 1px}.et-segmented-button-button{position:relative}.et-segmented-button-button-content{position:relative;z-index:2}.et-segmented-button-button-active-indicator{position:absolute;inset:0;background-color:var(--et-segmented-button-active-indicator-color);border-radius:var(--et-segmented-button-active-indicator-radius);opacity:0;z-index:1}.et-segmented-button--checked .et-segmented-button-button-active-indicator{opacity:1}\n"], dependencies: [{ kind: "pipe", type: AsyncPipe, name: "async" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
3348
3317
|
}
|
|
3349
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.
|
|
3318
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: SegmentedButtonComponent, decorators: [{
|
|
3350
3319
|
type: Component,
|
|
3351
3320
|
args: [{ selector: 'et-segmented-button', standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, host: {
|
|
3352
3321
|
class: 'et-segmented-button',
|
|
@@ -3360,14 +3329,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0", ngImpor
|
|
|
3360
3329
|
}] } });
|
|
3361
3330
|
|
|
3362
3331
|
class SegmentedButtonFieldComponent {
|
|
3363
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.
|
|
3364
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.
|
|
3332
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: SegmentedButtonFieldComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
3333
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.1", type: SegmentedButtonFieldComponent, isStandalone: true, selector: "et-segmented-button-field", host: { classAttribute: "et-form-field et-segmented-button-field" }, hostDirectives: [{ directive: StaticFormFieldDirective }, { directive: SegmentedButtonFieldDirective }], ngImport: i0, template: `
|
|
3365
3334
|
<div class="et-segmented-button-field-container">
|
|
3366
3335
|
<ng-content select="et-segmented-button" />
|
|
3367
3336
|
</div>
|
|
3368
3337
|
`, isInline: true, styles: [""], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
3369
3338
|
}
|
|
3370
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.
|
|
3339
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: SegmentedButtonFieldComponent, decorators: [{
|
|
3371
3340
|
type: Component,
|
|
3372
3341
|
args: [{ selector: 'et-segmented-button-field', template: `
|
|
3373
3342
|
<div class="et-segmented-button-field-container">
|
|
@@ -3382,15 +3351,15 @@ class SegmentedButtonGroupComponent {
|
|
|
3382
3351
|
constructor() {
|
|
3383
3352
|
this.inputState = inject(InputStateService);
|
|
3384
3353
|
}
|
|
3385
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.
|
|
3386
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.
|
|
3354
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: SegmentedButtonGroupComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
3355
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.1", type: SegmentedButtonGroupComponent, isStandalone: true, selector: "et-segmented-button-group", host: { classAttribute: "et-form-group et-segmented-button-group" }, hostDirectives: [{ directive: StaticFormGroupDirective }, { directive: WriteableInputDirective }, { directive: i0.forwardRef(function () { return DynamicFormGroupDirective; }), inputs: ["hideErrorMessage", "hideErrorMessage"] }, { directive: SegmentedButtonGroupDirective }], ngImport: i0, template: `
|
|
3387
3356
|
<div class="et-segmented-button-group-container">
|
|
3388
3357
|
<ng-content select="et-segmented-button-field" />
|
|
3389
3358
|
</div>
|
|
3390
3359
|
<et-error [errors]="inputState.errors$ | async" />
|
|
3391
3360
|
`, isInline: true, styles: [":where(.et-segmented-button-group){--et-segmented-button-group-gap: 1rem}.et-segmented-button-group-container{display:flex;gap:var(--et-segmented-button-group-gap)}\n"], dependencies: [{ kind: "component", type: ErrorComponent, selector: "et-error", inputs: ["errors"] }, { kind: "pipe", type: AsyncPipe, name: "async" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
3392
3361
|
}
|
|
3393
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.
|
|
3362
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: SegmentedButtonGroupComponent, decorators: [{
|
|
3394
3363
|
type: Component,
|
|
3395
3364
|
args: [{ selector: 'et-segmented-button-group', template: `
|
|
3396
3365
|
<div class="et-segmented-button-group-container">
|
|
@@ -3421,10 +3390,10 @@ class SelectFieldDirective {
|
|
|
3421
3390
|
constructor() {
|
|
3422
3391
|
this._bindings = createReactiveBindings();
|
|
3423
3392
|
}
|
|
3424
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.
|
|
3425
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.
|
|
3393
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: SelectFieldDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
3394
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.1", type: SelectFieldDirective, isStandalone: true, providers: [{ provide: SELECT_FIELD_TOKEN, useExisting: SelectFieldDirective }], exportAs: ["etSelectField"], ngImport: i0 }); }
|
|
3426
3395
|
}
|
|
3427
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.
|
|
3396
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: SelectFieldDirective, decorators: [{
|
|
3428
3397
|
type: Directive,
|
|
3429
3398
|
args: [{
|
|
3430
3399
|
standalone: true,
|
|
@@ -3438,8 +3407,8 @@ class SelectFieldComponent extends DecoratedFormFieldBase {
|
|
|
3438
3407
|
super(...arguments);
|
|
3439
3408
|
this.inputState = inject(InputStateService);
|
|
3440
3409
|
}
|
|
3441
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.
|
|
3442
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.
|
|
3410
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: SelectFieldComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
3411
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.1", type: SelectFieldComponent, isStandalone: true, selector: "et-select-field", host: { classAttribute: "et-form-field et-select-field" }, usesInheritance: true, hostDirectives: [{ directive: SelectFieldDirective }, { directive: StaticFormFieldDirective }, { directive: WriteableInputDirective }, { directive: i0.forwardRef(function () { return DynamicFormFieldDirective; }), inputs: ["hideErrorMessage", "hideErrorMessage"] }], ngImport: i0, template: `
|
|
3443
3412
|
<ng-content select="et-label" />
|
|
3444
3413
|
<div class="et-select-field-input">
|
|
3445
3414
|
<ng-content />
|
|
@@ -3447,7 +3416,7 @@ class SelectFieldComponent extends DecoratedFormFieldBase {
|
|
|
3447
3416
|
<et-error [errors]="inputState.errors$ | async" />
|
|
3448
3417
|
`, isInline: true, dependencies: [{ kind: "component", type: ErrorComponent, selector: "et-error", inputs: ["errors"] }, { kind: "pipe", type: AsyncPipe, name: "async" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
3449
3418
|
}
|
|
3450
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.
|
|
3419
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: SelectFieldComponent, decorators: [{
|
|
3451
3420
|
type: Component,
|
|
3452
3421
|
args: [{
|
|
3453
3422
|
selector: 'et-select-field',
|
|
@@ -3515,15 +3484,15 @@ class ComboboxOptionComponent {
|
|
|
3515
3484
|
}
|
|
3516
3485
|
this.combobox.writeValueFromOption(this.option);
|
|
3517
3486
|
}
|
|
3518
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.
|
|
3519
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.
|
|
3487
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: ComboboxOptionComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
3488
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.1", type: ComboboxOptionComponent, isStandalone: true, selector: "et-combobox-option", inputs: { option: "option" }, host: { listeners: { "click": "selectOption()" }, classAttribute: "et-combobox-option" }, providers: [
|
|
3520
3489
|
{
|
|
3521
3490
|
provide: COMBOBOX_OPTION_TOKEN,
|
|
3522
3491
|
useExisting: ComboboxOptionComponent,
|
|
3523
3492
|
},
|
|
3524
3493
|
], ngImport: i0, template: "{{ combobox.getOptionLabel(option) | async }}\n", dependencies: [{ kind: "pipe", type: AsyncPipe, name: "async" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
3525
3494
|
}
|
|
3526
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.
|
|
3495
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: ComboboxOptionComponent, decorators: [{
|
|
3527
3496
|
type: Component,
|
|
3528
3497
|
args: [{ selector: 'et-combobox-option', standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, host: {
|
|
3529
3498
|
class: 'et-combobox-option',
|
|
@@ -3556,15 +3525,15 @@ class ComboboxBodyComponent {
|
|
|
3556
3525
|
.pipe(takeUntil(this._destroy$), tap(() => this.combobox.close()))
|
|
3557
3526
|
.subscribe();
|
|
3558
3527
|
}
|
|
3559
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.
|
|
3560
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.
|
|
3528
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: ComboboxBodyComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
3529
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.1", type: ComboboxBodyComponent, isStandalone: true, selector: "et-combobox-body", host: { classAttribute: "et-combobox-body et-with-default-animation" }, providers: [
|
|
3561
3530
|
{
|
|
3562
3531
|
provide: COMBOBOX_BODY_TOKEN,
|
|
3563
3532
|
useExisting: ComboboxBodyComponent,
|
|
3564
3533
|
},
|
|
3565
3534
|
], viewQueries: [{ propertyName: "_animatedLifecycle", first: true, predicate: ANIMATED_LIFECYCLE_TOKEN, descendants: true, static: true }], hostDirectives: [{ directive: i1$1.ClickOutsideDirective }], ngImport: i0, template: "<!-- eslint-disable @angular-eslint/template/use-track-by-function -->\n<div class=\"et-combobox-body-container\" etAnimatedLifecycle>\n <ng-container *etLet=\"combobox.options$ | async as options\">\n <p *ngIf=\"!options?.length\" class=\"et-combobox-body--empty\">{{ combobox.emptyText }}</p>\n\n <et-combobox-option *ngFor=\"let option of options\" [option]=\"option\" />\n </ng-container>\n</div>\n", dependencies: [{ kind: "directive", type: NgFor, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "component", type: ComboboxOptionComponent, selector: "et-combobox-option", inputs: ["option"] }, { kind: "directive", type: LetDirective, selector: "[etLet]", inputs: ["etLet"] }, { kind: "pipe", type: AsyncPipe, name: "async" }, { kind: "directive", type: AnimatedLifecycleDirective, selector: "[etAnimatedLifecycle]", exportAs: ["etAnimatedLifecycle"] }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
3566
3535
|
}
|
|
3567
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.
|
|
3536
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: ComboboxBodyComponent, decorators: [{
|
|
3568
3537
|
type: Component,
|
|
3569
3538
|
args: [{ selector: 'et-combobox-body', standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, host: {
|
|
3570
3539
|
class: 'et-combobox-body et-with-default-animation',
|
|
@@ -3637,7 +3606,7 @@ class ComboboxComponent extends DecoratedInputBase {
|
|
|
3637
3606
|
return this._filterInternal$.value;
|
|
3638
3607
|
}
|
|
3639
3608
|
set filterInternal(value) {
|
|
3640
|
-
const val =
|
|
3609
|
+
const val = booleanAttribute(value);
|
|
3641
3610
|
this._filterInternal$.next(val);
|
|
3642
3611
|
if (!val) {
|
|
3643
3612
|
this._selectionModel.setFilter('');
|
|
@@ -3650,7 +3619,7 @@ class ComboboxComponent extends DecoratedInputBase {
|
|
|
3650
3619
|
return this._loading$.value;
|
|
3651
3620
|
}
|
|
3652
3621
|
set loading(value) {
|
|
3653
|
-
this._loading$.next(
|
|
3622
|
+
this._loading$.next(booleanAttribute(value));
|
|
3654
3623
|
}
|
|
3655
3624
|
get error() {
|
|
3656
3625
|
return this._error$.value;
|
|
@@ -3665,7 +3634,7 @@ class ComboboxComponent extends DecoratedInputBase {
|
|
|
3665
3634
|
this._placeholder$.next(value);
|
|
3666
3635
|
}
|
|
3667
3636
|
set multiple(value) {
|
|
3668
|
-
this._selectionModel.setAllowMultiple(
|
|
3637
|
+
this._selectionModel.setAllowMultiple(booleanAttribute(value));
|
|
3669
3638
|
}
|
|
3670
3639
|
set bindLabel(value) {
|
|
3671
3640
|
this._selectionModel.setLabelBinding(value);
|
|
@@ -3677,7 +3646,7 @@ class ComboboxComponent extends DecoratedInputBase {
|
|
|
3677
3646
|
return this._allowCustomValues$.value;
|
|
3678
3647
|
}
|
|
3679
3648
|
set allowCustomValues(value) {
|
|
3680
|
-
this._allowCustomValues$.next(
|
|
3649
|
+
this._allowCustomValues$.next(booleanAttribute(value));
|
|
3681
3650
|
}
|
|
3682
3651
|
//#endregion
|
|
3683
3652
|
//#region Members
|
|
@@ -3999,15 +3968,15 @@ class ComboboxComponent extends DecoratedInputBase {
|
|
|
3999
3968
|
}))
|
|
4000
3969
|
.subscribe();
|
|
4001
3970
|
}
|
|
4002
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.
|
|
4003
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.
|
|
3971
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: ComboboxComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
3972
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.1", type: ComboboxComponent, isStandalone: true, selector: "et-combobox", inputs: { options: "options", initialValue: "initialValue", filterInternal: "filterInternal", loading: "loading", error: "error", emptyText: "emptyText", placeholder: "placeholder", multiple: "multiple", bindLabel: "bindLabel", bindValue: "bindValue", allowCustomValues: "allowCustomValues" }, outputs: { filterChange: "filterChange" }, host: { listeners: { "click": "selectInputAndOpen()" }, classAttribute: "et-combobox" }, providers: [
|
|
4004
3973
|
{
|
|
4005
3974
|
provide: COMBOBOX_TOKEN,
|
|
4006
3975
|
useExisting: ComboboxComponent,
|
|
4007
3976
|
},
|
|
4008
3977
|
], usesInheritance: true, hostDirectives: [{ directive: InputDirective }, { directive: i1$1.AnimatedOverlayDirective }], ngImport: i0, template: "<!-- eslint-disable @angular-eslint/template/click-events-have-key-events -->\n<!-- eslint-disable @angular-eslint/template/use-track-by-function -->\n<ng-content select=\"[etInputPrefix]\" />\n\n<div class=\"et-combobox-wrapper\">\n <ul *ngIf=\"multiple$ | async\" class=\"et-combobox-selected-options\">\n <li *ngFor=\"let item of selectedOptions$ | async\" class=\"et-combobox-selected-option\">\n {{ getOptionLabel(item) | async }}\n <span\n (click)=\"removeSelectedOption(item); $event.stopPropagation()\"\n class=\"et-combobox-selected-option-remove\"\n tabindex=\"-1\"\n >\n x\n </span>\n </li>\n </ul>\n\n <input\n (keydown)=\"processKeydownEvent($event)\"\n (click)=\"open()\"\n (blur)=\"handleBlurEvent()\"\n (input)=\"processInputEvent($event)\"\n type=\"text\"\n etNativeInputRef\n />\n\n <et-chevron-icon class=\"et-combobox-chevron\" />\n</div>\n\n<ng-content select=\"[etInputSuffix]\" />\n\n<ng-template>\n <ng-content />\n</ng-template>\n", styles: [".et-combobox-body.et-with-default-animation .et-combobox-body-container.et-animation-enter-from,.et-combobox-body.et-with-default-animation .et-combobox-body-container.et-animation-leave-to{opacity:0;transform:scaleY(0)}.et-combobox-body.et-with-default-animation .et-combobox-body-container.et-animation-enter-active{transition:transform 125ms var(--ease-out-5),opacity 125ms var(--ease-out-5)}.et-combobox-body.et-with-default-animation .et-combobox-body-container.et-animation-leave-active{transition:transform 50ms var(--ease-in-5),opacity 50ms var(--ease-in-5)}.et-combobox-body.et-with-default-animation[data-popper-placement^=top] .et-combobox-body-container{transform-origin:bottom}.et-combobox-body.et-with-default-animation[data-popper-placement^=bottom] .et-combobox-body-container{transform-origin:top}.et-combobox-body-container{display:block;background-color:#3d3d3d;color:#fff;max-height:300px;overflow:auto}@supports (overflow: overlay){.et-combobox-body-container{overflow:overlay}}.et-combobox-body{width:100%;display:grid}.et-combobox-option{display:block}:where(.et-combobox-option--active){background-color:#1e1e1e}.et-combobox{display:block;border:1px solid #ccc;padding:15px;position:relative}.et-combobox-chevron{transform:rotate(180deg);display:block;inline-size:15px;block-size:15px;position:absolute;inset-inline-end:15px;inset-block-start:7px}\n"], dependencies: [{ kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: NativeInputRefDirective, selector: "input[etNativeInputRef], textarea[etNativeInputRef], select[etNativeInputRef], button[etNativeInputRef]" }, { kind: "pipe", type: AsyncPipe, name: "async" }, { kind: "component", type: ChevronIconComponent, selector: "et-chevron-icon" }, { kind: "directive", type: NgFor, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
4009
3978
|
}
|
|
4010
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.
|
|
3979
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: ComboboxComponent, decorators: [{
|
|
4011
3980
|
type: Component,
|
|
4012
3981
|
args: [{ selector: 'et-combobox', standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, host: {
|
|
4013
3982
|
class: 'et-combobox',
|
|
@@ -4055,15 +4024,15 @@ const ComboboxImports = [
|
|
|
4055
4024
|
|
|
4056
4025
|
const COMBOBOX_DIR_TOKEN = new InjectionToken('ET_COMBOBOX_INPUT_TOKEN');
|
|
4057
4026
|
class ComboboxDirective {
|
|
4058
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.
|
|
4059
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.
|
|
4027
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: ComboboxDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
4028
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.1", type: ComboboxDirective, isStandalone: true, providers: [
|
|
4060
4029
|
{
|
|
4061
4030
|
provide: COMBOBOX_DIR_TOKEN,
|
|
4062
4031
|
useExisting: ComboboxDirective,
|
|
4063
4032
|
},
|
|
4064
4033
|
], ngImport: i0 }); }
|
|
4065
4034
|
}
|
|
4066
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.
|
|
4035
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: ComboboxDirective, decorators: [{
|
|
4067
4036
|
type: Directive,
|
|
4068
4037
|
args: [{
|
|
4069
4038
|
standalone: true,
|
|
@@ -4081,8 +4050,8 @@ class NativeSelectOptionDirective {
|
|
|
4081
4050
|
constructor() {
|
|
4082
4051
|
this._textTemplate$ = new BehaviorSubject(null);
|
|
4083
4052
|
this._value$ = new BehaviorSubject(null);
|
|
4084
|
-
this.
|
|
4085
|
-
this.
|
|
4053
|
+
this.disabled = false;
|
|
4054
|
+
this.hidden = false;
|
|
4086
4055
|
}
|
|
4087
4056
|
get textTemplate$() {
|
|
4088
4057
|
return this._textTemplate$.asObservable();
|
|
@@ -4093,25 +4062,13 @@ class NativeSelectOptionDirective {
|
|
|
4093
4062
|
set value(value) {
|
|
4094
4063
|
this._value$.next(value);
|
|
4095
4064
|
}
|
|
4096
|
-
get disabled() {
|
|
4097
|
-
return this._disabled;
|
|
4098
|
-
}
|
|
4099
|
-
set disabled(value) {
|
|
4100
|
-
this._disabled = coerceBooleanProperty(value);
|
|
4101
|
-
}
|
|
4102
|
-
get hidden() {
|
|
4103
|
-
return this._hidden;
|
|
4104
|
-
}
|
|
4105
|
-
set hidden(value) {
|
|
4106
|
-
this._hidden = coerceBooleanProperty(value);
|
|
4107
|
-
}
|
|
4108
4065
|
_setTextTemplate(template) {
|
|
4109
4066
|
this._textTemplate$.next(template);
|
|
4110
4067
|
}
|
|
4111
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.
|
|
4112
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.
|
|
4068
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: NativeSelectOptionDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
4069
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.1", type: NativeSelectOptionDirective, isStandalone: true, inputs: { value: "value", disabled: ["disabled", "disabled", booleanAttribute], hidden: ["hidden", "hidden", booleanAttribute], key: "key" }, providers: [{ provide: NATIVE_SELECT_OPTION_TOKEN, useExisting: NativeSelectOptionDirective }], exportAs: ["etNativeSelectOption"], ngImport: i0 }); }
|
|
4113
4070
|
}
|
|
4114
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.
|
|
4071
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: NativeSelectOptionDirective, decorators: [{
|
|
4115
4072
|
type: Directive,
|
|
4116
4073
|
args: [{
|
|
4117
4074
|
standalone: true,
|
|
@@ -4121,9 +4078,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0", ngImpor
|
|
|
4121
4078
|
}], propDecorators: { value: [{
|
|
4122
4079
|
type: Input
|
|
4123
4080
|
}], disabled: [{
|
|
4124
|
-
type: Input
|
|
4081
|
+
type: Input,
|
|
4082
|
+
args: [{ transform: booleanAttribute }]
|
|
4125
4083
|
}], hidden: [{
|
|
4126
|
-
type: Input
|
|
4084
|
+
type: Input,
|
|
4085
|
+
args: [{ transform: booleanAttribute }]
|
|
4127
4086
|
}], key: [{
|
|
4128
4087
|
type: Input
|
|
4129
4088
|
}] } });
|
|
@@ -4165,10 +4124,10 @@ class NativeSelectInputDirective {
|
|
|
4165
4124
|
this.input._markAsTouched();
|
|
4166
4125
|
this.input._setShouldDisplayError(true);
|
|
4167
4126
|
}
|
|
4168
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.
|
|
4169
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.
|
|
4127
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: NativeSelectInputDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
4128
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.1", type: NativeSelectInputDirective, isStandalone: true, providers: [{ provide: NATIVE_SELECT_INPUT_TOKEN, useExisting: NativeSelectInputDirective }], queries: [{ propertyName: "options", predicate: NATIVE_SELECT_OPTION_TOKEN, descendants: true }], exportAs: ["etNativeSelectInput"], ngImport: i0 }); }
|
|
4170
4129
|
}
|
|
4171
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.
|
|
4130
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: NativeSelectInputDirective, decorators: [{
|
|
4172
4131
|
type: Directive,
|
|
4173
4132
|
args: [{
|
|
4174
4133
|
standalone: true,
|
|
@@ -4185,10 +4144,10 @@ class NativeSelectInputComponent extends DecoratedInputBase {
|
|
|
4185
4144
|
super(...arguments);
|
|
4186
4145
|
this.select = inject(NATIVE_SELECT_INPUT_TOKEN);
|
|
4187
4146
|
}
|
|
4188
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.
|
|
4189
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.
|
|
4147
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: NativeSelectInputComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
4148
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.1", type: NativeSelectInputComponent, isStandalone: true, selector: "et-native-select", host: { classAttribute: "et-native-select" }, usesInheritance: true, hostDirectives: [{ directive: NativeSelectInputDirective }, { directive: InputDirective, inputs: ["autocomplete", "autocomplete"] }], ngImport: i0, template: "<ng-template>\n <ng-content select=\"et-native-select-option\" />\n</ng-template>\n\n<ng-content select=\"[etInputPrefix]\" />\n\n<select\n [attr.id]=\"input.id\"\n [attr.aria-labelledby]=\"input.labelId$ | async\"\n [required]=\"input.required$ | async\"\n [disabled]=\"input.disabled$ | async\"\n [attr.autocomplete]=\"input.autocomplete || null\"\n [attr.aria-describedby]=\"input.describedBy$ | async\"\n (input)=\"select._onInputInteraction($event)\"\n (blur)=\"select._controlTouched()\"\n class=\"et-native-select-native-input\"\n etNativeInputRef\n>\n <option\n *ngFor=\"let option of select.options; trackBy: select._trackByFn\"\n [value]=\"option.value\"\n [disabled]=\"option.disabled\"\n [attr.selected]=\"option.value === input.value ? '' : null\"\n [attr.hidden]=\"option.hidden ? '' : null\"\n class=\"et-native-select-native-option\"\n >\n <ng-container *ngTemplateOutlet=\"option.textTemplate$ | async\" />\n </option>\n</select>\n\n<ng-content select=\"[etInputSuffix]\" />\n", dependencies: [{ kind: "directive", type: NativeInputRefDirective, selector: "input[etNativeInputRef], textarea[etNativeInputRef], select[etNativeInputRef], button[etNativeInputRef]" }, { kind: "directive", type: NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "pipe", type: AsyncPipe, name: "async" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
4190
4149
|
}
|
|
4191
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.
|
|
4150
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: NativeSelectInputComponent, decorators: [{
|
|
4192
4151
|
type: Component,
|
|
4193
4152
|
args: [{ selector: 'et-native-select', standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, host: {
|
|
4194
4153
|
class: 'et-native-select',
|
|
@@ -4202,10 +4161,10 @@ class NativeSelectOptionComponent {
|
|
|
4202
4161
|
ngOnInit() {
|
|
4203
4162
|
this.option._setTextTemplate(this.textTpl ?? null);
|
|
4204
4163
|
}
|
|
4205
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.
|
|
4206
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.
|
|
4164
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: NativeSelectOptionComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
4165
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.1", type: NativeSelectOptionComponent, isStandalone: true, selector: "et-native-select-option", host: { classAttribute: "et-native-select-option" }, viewQueries: [{ propertyName: "textTpl", first: true, predicate: ["textTpl"], descendants: true, static: true }], hostDirectives: [{ directive: NativeSelectOptionDirective, inputs: ["value", "value", "disabled", "disabled", "hidden", "hidden"] }], ngImport: i0, template: ` <ng-template #textTpl> <ng-content /></ng-template> `, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
4207
4166
|
}
|
|
4208
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.
|
|
4167
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: NativeSelectOptionComponent, decorators: [{
|
|
4209
4168
|
type: Component,
|
|
4210
4169
|
args: [{
|
|
4211
4170
|
selector: 'et-native-select-option',
|
|
@@ -4278,7 +4237,7 @@ class SelectOptionDirective {
|
|
|
4278
4237
|
return this._disabled$.value;
|
|
4279
4238
|
}
|
|
4280
4239
|
set disabled(value) {
|
|
4281
|
-
this._disabled$.next(
|
|
4240
|
+
this._disabled$.next(booleanAttribute(value));
|
|
4282
4241
|
}
|
|
4283
4242
|
ngAfterContentInit() {
|
|
4284
4243
|
this._updateViewValue();
|
|
@@ -4312,15 +4271,15 @@ class SelectOptionDirective {
|
|
|
4312
4271
|
_setActive(isActive) {
|
|
4313
4272
|
this._isActive$.next(isActive);
|
|
4314
4273
|
}
|
|
4315
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.
|
|
4316
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.
|
|
4274
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: SelectOptionDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
4275
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.1", type: SelectOptionDirective, isStandalone: true, inputs: { value: "value", disabled: "disabled" }, host: { attributes: { "role": "option" }, listeners: { "click": "setSelectValue()", "etObserveContent": "_updateViewValue()" }, properties: { "attr.id": "id", "attr.aria-disabled": "disabled", "class.et-select-option--disabled": "disabled" } }, providers: [
|
|
4317
4276
|
{
|
|
4318
4277
|
provide: SELECT_OPTION_TOKEN,
|
|
4319
4278
|
useExisting: SelectOptionDirective,
|
|
4320
4279
|
},
|
|
4321
4280
|
], hostDirectives: [{ directive: i1$1.ObserveContentDirective }], ngImport: i0 }); }
|
|
4322
4281
|
}
|
|
4323
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.
|
|
4282
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: SelectOptionDirective, decorators: [{
|
|
4324
4283
|
type: Directive,
|
|
4325
4284
|
args: [{
|
|
4326
4285
|
standalone: true,
|
|
@@ -4355,7 +4314,7 @@ class SelectDirective {
|
|
|
4355
4314
|
return this._multiple$.value;
|
|
4356
4315
|
}
|
|
4357
4316
|
set multiple(value) {
|
|
4358
|
-
this._multiple$.next(
|
|
4317
|
+
this._multiple$.next(booleanAttribute(value));
|
|
4359
4318
|
this._migrateSelectValue();
|
|
4360
4319
|
}
|
|
4361
4320
|
set _selectOptionsQueryList(value) {
|
|
@@ -4766,15 +4725,15 @@ class SelectDirective {
|
|
|
4766
4725
|
}
|
|
4767
4726
|
this._setActiveOption(null);
|
|
4768
4727
|
}
|
|
4769
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.
|
|
4770
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.
|
|
4728
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: SelectDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
4729
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.1", type: SelectDirective, isStandalone: true, inputs: { multiple: "multiple", emptyText: "emptyText" }, providers: [
|
|
4771
4730
|
{
|
|
4772
4731
|
provide: SELECT_TOKEN,
|
|
4773
4732
|
useExisting: SelectDirective,
|
|
4774
4733
|
},
|
|
4775
4734
|
], queries: [{ propertyName: "_selectOptionsQueryList", predicate: SELECT_OPTION_TOKEN, descendants: true }], hostDirectives: [{ directive: i1$1.AnimatedOverlayDirective }], ngImport: i0 }); }
|
|
4776
4735
|
}
|
|
4777
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.
|
|
4736
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: SelectDirective, decorators: [{
|
|
4778
4737
|
type: Directive,
|
|
4779
4738
|
args: [{
|
|
4780
4739
|
standalone: true,
|
|
@@ -4822,15 +4781,15 @@ class SelectBodyDirective {
|
|
|
4822
4781
|
.pipe(takeUntil(this._destroy$), tap(() => this._select.unmountSelectBody()))
|
|
4823
4782
|
.subscribe();
|
|
4824
4783
|
}
|
|
4825
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.
|
|
4826
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.
|
|
4784
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: SelectBodyDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
4785
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.1", type: SelectBodyDirective, isStandalone: true, host: { attributes: { "tabindex": "-1", "role": "listbox" }, properties: { "attr.id": "id" } }, providers: [
|
|
4827
4786
|
{
|
|
4828
4787
|
provide: SELECT_BODY_TOKEN,
|
|
4829
4788
|
useExisting: SelectBodyDirective,
|
|
4830
4789
|
},
|
|
4831
4790
|
], hostDirectives: [{ directive: i1$1.ClickOutsideDirective }], ngImport: i0 }); }
|
|
4832
4791
|
}
|
|
4833
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.
|
|
4792
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: SelectBodyDirective, decorators: [{
|
|
4834
4793
|
type: Directive,
|
|
4835
4794
|
args: [{
|
|
4836
4795
|
standalone: true,
|
|
@@ -4854,14 +4813,14 @@ class SelectBodyComponent {
|
|
|
4854
4813
|
this.selectBody = inject(SELECT_BODY_TOKEN);
|
|
4855
4814
|
this._bodyTemplate = null;
|
|
4856
4815
|
}
|
|
4857
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.
|
|
4858
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.
|
|
4816
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: SelectBodyComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
4817
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.1", type: SelectBodyComponent, isStandalone: true, selector: "et-select-body", host: { classAttribute: "et-select-body et-with-default-animation" }, viewQueries: [{ propertyName: "_animatedLifecycle", first: true, predicate: ANIMATED_LIFECYCLE_TOKEN, descendants: true, static: true }], hostDirectives: [{ directive: SelectBodyDirective }], ngImport: i0, template: `
|
|
4859
4818
|
<div class="et-select-body-container" etAnimatedLifecycle>
|
|
4860
4819
|
<ng-container [ngTemplateOutlet]="_bodyTemplate" />
|
|
4861
4820
|
</div>
|
|
4862
4821
|
`, isInline: true, styles: [".et-select-body.et-with-default-animation .et-select-body-container.et-animation-enter-from,.et-select-body.et-with-default-animation .et-select-body-container.et-animation-leave-to{opacity:0;transform:scaleY(0)}.et-select-body.et-with-default-animation .et-select-body-container.et-animation-enter-active{transition:transform 125ms var(--ease-out-5),opacity 125ms var(--ease-out-5)}.et-select-body.et-with-default-animation .et-select-body-container.et-animation-leave-active{transition:transform 50ms var(--ease-in-5),opacity 50ms var(--ease-in-5)}.et-select-body.et-with-default-animation[data-popper-placement^=top] .et-select-body-container{transform-origin:bottom}.et-select-body.et-with-default-animation[data-popper-placement^=bottom] .et-select-body-container{transform-origin:top}.et-select-body-container{display:block;background-color:#3d3d3d;color:#fff;max-height:300px;overflow:auto}@supports (overflow: overlay){.et-select-body-container{overflow:overlay}}.et-select-body{width:100%;display:grid}\n"], dependencies: [{ kind: "directive", type: AnimatedLifecycleDirective, selector: "[etAnimatedLifecycle]", exportAs: ["etAnimatedLifecycle"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
4863
4822
|
}
|
|
4864
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.
|
|
4823
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: SelectBodyComponent, decorators: [{
|
|
4865
4824
|
type: Component,
|
|
4866
4825
|
args: [{ selector: 'et-select-body', template: `
|
|
4867
4826
|
<div class="et-select-body-container" etAnimatedLifecycle>
|
|
@@ -4879,10 +4838,10 @@ class SelectOptionComponent {
|
|
|
4879
4838
|
constructor() {
|
|
4880
4839
|
this.selectOption = inject(SELECT_OPTION_TOKEN);
|
|
4881
4840
|
}
|
|
4882
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.
|
|
4883
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.
|
|
4841
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: SelectOptionComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
4842
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.1", type: SelectOptionComponent, isStandalone: true, selector: "et-select-option", host: { classAttribute: "et-select-option" }, hostDirectives: [{ directive: SelectOptionDirective, inputs: ["value", "value", "disabled", "disabled"] }], ngImport: i0, template: ` <ng-content /> `, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
4884
4843
|
}
|
|
4885
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.
|
|
4844
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: SelectOptionComponent, decorators: [{
|
|
4886
4845
|
type: Component,
|
|
4887
4846
|
args: [{
|
|
4888
4847
|
selector: 'et-select-option',
|
|
@@ -4909,10 +4868,10 @@ class SelectComponent extends DecoratedInputBase {
|
|
|
4909
4868
|
return;
|
|
4910
4869
|
this.select.setSelectBody({ component: SelectBodyComponent, template: this.selectBodyTpl });
|
|
4911
4870
|
}
|
|
4912
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.
|
|
4913
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.
|
|
4871
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: SelectComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
4872
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.1", type: SelectComponent, isStandalone: true, selector: "et-select", host: { classAttribute: "et-select" }, viewQueries: [{ propertyName: "selectBodyTpl", first: true, predicate: ["selectBodyTpl"], descendants: true }], usesInheritance: true, hostDirectives: [{ directive: InputDirective }, { directive: SelectDirective, inputs: ["multiple", "multiple", "emptyText", "emptyText"] }], ngImport: i0, template: "<ng-content select=\"[etInputPrefix]\" />\n\n<div class=\"et-select-wrapper\">\n <div\n #inputElement\n [attr.id]=\"input.id\"\n [attr.aria-labelledby]=\"select.labelledBy$ | async\"\n [attr.aria-describedby]=\"input.describedBy$ | async\"\n [attr.tabindex]=\"(input.disabled$ | async) ? -1 : 0\"\n [attr.aria-required]=\"(input.required$ | async) || null\"\n [attr.aria-disabled]=\"(input.disabled$ | async) || null\"\n [attr.aria-invalid]=\"(input.invalid$ | async) || null\"\n [attr.aria-controls]=\"(select.selectBodyId$ | async) || null\"\n [attr.aria-owns]=\"(select.owns$ | async) || null\"\n [attr.aria-expanded]=\"select.isOpen$ | async\"\n [attr.aria-activedescendant]=\"select.activeDescendant$ | async\"\n (click)=\"select.mountSelectBody()\"\n (keydown)=\"select.handleKeyDown($event)\"\n (blur)=\"select._controlTouched()\"\n class=\"et-select-input et-select-input--static\"\n aria-haspopup=\"listbox\"\n role=\"combobox\"\n aria-autocomplete=\"none\"\n >\n <span\n *etLet=\"select.ariaViewValue$ | async as ariaViewValue\"\n [attr.id]=\"select.selectCurrentValueId\"\n [class.cdk-visually-hidden]=\"select.multiple && ariaViewValue\"\n class=\"et-select-current-value\"\n >\n <ng-container *ngIf=\"select.ariaViewValue$ | async as ariaViewValue; else emptyTpl\">\n {{ ariaViewValue }}\n </ng-container>\n <ng-template #emptyTpl> {{ select.emptyText }} </ng-template>\n </span>\n\n <ng-container *ngIf=\"select.multiple\">\n <ng-container *ngIf=\"select.selectedOptions$ | async as selectedOptions\">\n <ul *ngIf=\"selectedOptions.length\" class=\"et-select-selected-options\" aria-hidden=\"true\">\n <li *ngFor=\"let opt of selectedOptions; trackBy: select.trackByFn\" class=\"et-select-selected-option\">\n {{ opt.opt.viewValue$ | async }}\n <button\n (click)=\"\n $event.stopImmediatePropagation(); inputElement.focus(); select.removeOptionFromSelection(opt.opt)\n \"\n class=\"et-select-selected-option-remove\"\n tabindex=\"-1\"\n type=\"button\"\n ></button>\n </li>\n </ul>\n </ng-container>\n </ng-container>\n </div>\n\n <et-chevron-icon class=\"et-select-chevron\" />\n</div>\n\n<ng-content select=\"[etInputSuffix]\" />\n\n<ng-template #selectBodyTpl>\n <ng-content />\n</ng-template>\n", styles: [".et-select{display:block;border:1px solid #ccc;padding:15px;position:relative}.et-select-input{position:absolute;inset:0}.et-select-option{display:block}.et-select-chevron{transform:rotate(180deg);display:block;inline-size:15px;block-size:15px;position:absolute;inset-inline-end:15px;inset-block-start:7px}.et-select-option--active{background-color:#1f1f1f}.et-select-option--selected{font-weight:700}.et-select-selected-options{display:flex;flex-wrap:wrap;list-style:none;margin:0;padding:0;gap:5px}\n"], dependencies: [{ kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "pipe", type: AsyncPipe, name: "async" }, { kind: "component", type: ChevronIconComponent, selector: "et-chevron-icon" }, { kind: "directive", type: LetDirective, selector: "[etLet]", inputs: ["etLet"] }, { kind: "directive", type: NgFor, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
4914
4873
|
}
|
|
4915
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.
|
|
4874
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: SelectComponent, decorators: [{
|
|
4916
4875
|
type: Component,
|
|
4917
4876
|
args: [{ selector: 'et-select', standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, host: {
|
|
4918
4877
|
class: 'et-select',
|
|
@@ -4935,8 +4894,8 @@ class SlideToggleFieldComponent {
|
|
|
4935
4894
|
constructor() {
|
|
4936
4895
|
this.inputState = inject(InputStateService);
|
|
4937
4896
|
}
|
|
4938
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.
|
|
4939
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.
|
|
4897
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: SlideToggleFieldComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
4898
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.1", type: SlideToggleFieldComponent, isStandalone: true, selector: "et-slide-toggle-field", host: { classAttribute: "et-form-field et-slide-toggle-field" }, hostDirectives: [{ directive: StaticFormFieldDirective }, { directive: WriteableInputDirective }, { directive: i0.forwardRef(function () { return DynamicFormFieldDirective; }), inputs: ["hideErrorMessage", "hideErrorMessage"] }], ngImport: i0, template: `
|
|
4940
4899
|
<div class="et-slide-toggle-field-container">
|
|
4941
4900
|
<ng-content select="et-slide-toggle" />
|
|
4942
4901
|
<ng-content select="et-label" />
|
|
@@ -4944,7 +4903,7 @@ class SlideToggleFieldComponent {
|
|
|
4944
4903
|
<et-error [errors]="inputState.errors$ | async" />
|
|
4945
4904
|
`, isInline: true, dependencies: [{ kind: "component", type: ErrorComponent, selector: "et-error", inputs: ["errors"] }, { kind: "pipe", type: AsyncPipe, name: "async" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
4946
4905
|
}
|
|
4947
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.
|
|
4906
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: SlideToggleFieldComponent, decorators: [{
|
|
4948
4907
|
type: Component,
|
|
4949
4908
|
args: [{
|
|
4950
4909
|
selector: 'et-slide-toggle-field',
|
|
@@ -4996,10 +4955,10 @@ class SlideToggleDirective {
|
|
|
4996
4955
|
this.input._markAsTouched();
|
|
4997
4956
|
this.input._setShouldDisplayError(true);
|
|
4998
4957
|
}
|
|
4999
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.
|
|
5000
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.
|
|
4958
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: SlideToggleDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
4959
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.1", type: SlideToggleDirective, isStandalone: true, providers: [{ provide: SLIDE_TOGGLE_TOKEN, useExisting: SlideToggleDirective }], exportAs: ["etSlideToggle"], ngImport: i0 }); }
|
|
5001
4960
|
}
|
|
5002
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.
|
|
4961
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: SlideToggleDirective, decorators: [{
|
|
5003
4962
|
type: Directive,
|
|
5004
4963
|
args: [{
|
|
5005
4964
|
standalone: true,
|
|
@@ -5013,10 +4972,10 @@ class SlideToggleComponent extends InputBase {
|
|
|
5013
4972
|
super(...arguments);
|
|
5014
4973
|
this.slideToggle = inject(SLIDE_TOGGLE_TOKEN);
|
|
5015
4974
|
}
|
|
5016
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.
|
|
5017
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.
|
|
4975
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: SlideToggleComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
4976
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.1", type: SlideToggleComponent, isStandalone: true, selector: "et-slide-toggle", host: { classAttribute: "et-slide-toggle" }, usesInheritance: true, hostDirectives: [{ directive: SlideToggleDirective }, { directive: InputDirective }], ngImport: i0, template: "<button\n [attr.tabindex]=\"(input.disabled$ | async) ? -1 : 0\"\n [attr.aria-checked]=\"slideToggle.checked$ | async\"\n [attr.aria-labelledby]=\"input.labelId$ | async\"\n [attr.aria-required]=\"(input.required$ | async) || null\"\n [attr.aria-describedby]=\"input.describedBy$ | async\"\n [disabled]=\"input.disabled$ | async\"\n [attr.id]=\"input.id\"\n (click)=\"slideToggle._onInputInteraction($event)\"\n (blur)=\"slideToggle._controlTouched()\"\n class=\"et-slide-toggle-button\"\n role=\"switch\"\n type=\"button\"\n etNativeInputRef\n>\n <div class=\"et-slide-toggle-handle\"></div>\n</button>\n", styles: [":where(.et-slide-toggle-button){--et-slide-toggle-button-inline-size: 42px;--et-slide-toggle-button-block-size: 22px;--et-slide-toggle-button-border-radius: 9999px;--et-slide-toggle-border-size: 1px;--et-slide-toggle-border-style: solid;--et-slide-toggle-track-unchecked-color: #e0e0e0;--et-slide-toggle-track-checked-color: #ff8686;--et-slide-toggle-border-unchecked-color: var(--et-slide-toggle-track-unchecked-color);--et-slide-toggle-border-checked-color: var(--et-slide-toggle-track-checked-color);--et-slide-toggle-thumb-size: calc( var(--et-slide-toggle-button-block-size) - (var(--et-slide-toggle-thumb-spacing) * 2) );--et-slide-toggle-thumb-spacing: 3px;--et-slide-toggle-border-radius: 9999px;--et-slide-toggle-thumb-unchecked-color: #525252;--et-slide-toggle-thumb-checked-color: var(--et-slide-toggle-thumb-unchecked-color)}:where(.et-slide-toggle){display:inline-block}.et-slide-toggle-button{position:relative;display:block;box-sizing:border-box;inline-size:var(--et-slide-toggle-button-inline-size);block-size:var(--et-slide-toggle-button-block-size);border-radius:var(--et-slide-toggle-button-border-radius);background-color:var(--et-slide-toggle-track-unchecked-color);border:var(--et-slide-toggle-border-size) var(--et-slide-toggle-border-style) var(--et-slide-toggle-border-unchecked-color);padding:0;transition:background-color .2s var(--ease-5),border-color .2s var(--ease-5)}.et-slide-toggle-button:not(:disabled){cursor:pointer}.et-slide-toggle-handle{position:absolute;inset-block-start:calc(var(--et-slide-toggle-thumb-spacing) - var(--et-slide-toggle-border-size));inset-inline-start:calc(var(--et-slide-toggle-thumb-spacing) - var(--et-slide-toggle-border-size));inline-size:var(--et-slide-toggle-thumb-size);block-size:var(--et-slide-toggle-thumb-size);border-radius:var(--et-slide-toggle-border-radius);background-color:var(--et-slide-toggle-thumb-unchecked-color);transition:transform .2s var(--ease-5),background-color .2s var(--ease-5)}.et-slide-toggle--checked .et-slide-toggle-button{background-color:var(--et-slide-toggle-track-checked-color);border-color:var(--et-slide-toggle-border-checked-color)}.et-slide-toggle--checked .et-slide-toggle-handle{transform:translate(calc(var(--et-slide-toggle-button-inline-size) - var(--et-slide-toggle-thumb-size) - var(--et-slide-toggle-thumb-spacing) * 2));background-color:var(--et-slide-toggle-thumb-checked-color)}\n"], dependencies: [{ kind: "pipe", type: AsyncPipe, name: "async" }, { kind: "directive", type: NativeInputRefDirective, selector: "input[etNativeInputRef], textarea[etNativeInputRef], select[etNativeInputRef], button[etNativeInputRef]" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
5018
4977
|
}
|
|
5019
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.
|
|
4978
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: SlideToggleComponent, decorators: [{
|
|
5020
4979
|
type: Component,
|
|
5021
4980
|
args: [{ selector: 'et-slide-toggle', standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, host: {
|
|
5022
4981
|
class: 'et-slide-toggle',
|
|
@@ -5029,8 +4988,8 @@ class SliderFieldComponent {
|
|
|
5029
4988
|
constructor() {
|
|
5030
4989
|
this.inputState = inject(InputStateService);
|
|
5031
4990
|
}
|
|
5032
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.
|
|
5033
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.
|
|
4991
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: SliderFieldComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
4992
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.1", type: SliderFieldComponent, isStandalone: true, selector: "et-slider-field", host: { classAttribute: "et-form-field et-slider-field" }, hostDirectives: [{ directive: StaticFormFieldDirective }, { directive: WriteableInputDirective }, { directive: i0.forwardRef(function () { return DynamicFormFieldDirective; }), inputs: ["hideErrorMessage", "hideErrorMessage"] }], ngImport: i0, template: `
|
|
5034
4993
|
<ng-content select="et-label" />
|
|
5035
4994
|
<div class="et-slider-field-container">
|
|
5036
4995
|
<ng-content select="et-slider" />
|
|
@@ -5038,7 +4997,7 @@ class SliderFieldComponent {
|
|
|
5038
4997
|
<et-error [errors]="inputState.errors$ | async" />
|
|
5039
4998
|
`, isInline: true, dependencies: [{ kind: "component", type: ErrorComponent, selector: "et-error", inputs: ["errors"] }, { kind: "pipe", type: AsyncPipe, name: "async" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
5040
4999
|
}
|
|
5041
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.
|
|
5000
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: SliderFieldComponent, decorators: [{
|
|
5042
5001
|
type: Component,
|
|
5043
5002
|
args: [{
|
|
5044
5003
|
selector: 'et-slider-field',
|
|
@@ -5231,31 +5190,31 @@ class SliderComponent {
|
|
|
5231
5190
|
return this._min$.value;
|
|
5232
5191
|
}
|
|
5233
5192
|
set min(value) {
|
|
5234
|
-
this._min$.next(
|
|
5193
|
+
this._min$.next(numberAttribute(value, 0));
|
|
5235
5194
|
}
|
|
5236
5195
|
get max() {
|
|
5237
5196
|
return this._max$.value;
|
|
5238
5197
|
}
|
|
5239
5198
|
set max(value) {
|
|
5240
|
-
this._max$.next(
|
|
5199
|
+
this._max$.next(numberAttribute(value, 100));
|
|
5241
5200
|
}
|
|
5242
5201
|
get step() {
|
|
5243
5202
|
return this._step$.value;
|
|
5244
5203
|
}
|
|
5245
5204
|
set step(value) {
|
|
5246
|
-
this._step$.next(
|
|
5205
|
+
this._step$.next(numberAttribute(value, 1));
|
|
5247
5206
|
}
|
|
5248
5207
|
get vertical() {
|
|
5249
5208
|
return this._vertical$.value;
|
|
5250
5209
|
}
|
|
5251
5210
|
set vertical(value) {
|
|
5252
|
-
this._vertical$.next(
|
|
5211
|
+
this._vertical$.next(booleanAttribute(value));
|
|
5253
5212
|
}
|
|
5254
5213
|
get inverted() {
|
|
5255
5214
|
return this._inverted$.value;
|
|
5256
5215
|
}
|
|
5257
5216
|
set inverted(value) {
|
|
5258
|
-
this._inverted$.next(
|
|
5217
|
+
this._inverted$.next(booleanAttribute(value));
|
|
5259
5218
|
}
|
|
5260
5219
|
ngOnInit() {
|
|
5261
5220
|
merge(this._mouseDown$, this._touchStart$)
|
|
@@ -5377,10 +5336,10 @@ class SliderComponent {
|
|
|
5377
5336
|
this._sliderDimensions$.next(this._elementRef.nativeElement.getBoundingClientRect());
|
|
5378
5337
|
return this._sliderDimensions$;
|
|
5379
5338
|
}
|
|
5380
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.
|
|
5381
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.
|
|
5339
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: SliderComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
5340
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.1", type: SliderComponent, isStandalone: true, selector: "et-slider", inputs: { min: "min", max: "max", step: "step", vertical: "vertical", inverted: "inverted" }, host: { attributes: { "role": "slider" }, properties: { "id": "_input.id" }, classAttribute: "et-slider" }, hostDirectives: [{ directive: InputDirective, inputs: ["autocomplete", "autocomplete"] }], ngImport: i0, template: "<div class=\"et-slider-track-container\">\n <div\n *ngIf=\"trackBackgroundStyles$ | async as trackBackgroundStyles\"\n [style.transform]=\"trackBackgroundStyles.transform\"\n class=\"et-slider-track-background\"\n ></div>\n <div\n *ngIf=\"trackFillStyles$ | async as trackFillStyles\"\n [style.transform]=\"trackFillStyles.transform\"\n [style.display]=\"trackFillStyles.display\"\n class=\"et-slider-track-fill\"\n ></div>\n</div>\n\n<div\n *ngIf=\"thumbContainerStyles$ | async as thumbContainerStyles\"\n [style.transform]=\"thumbContainerStyles.transform\"\n class=\"et-slider-thumb-container\"\n>\n <div class=\"et-slider-thumb\"></div>\n</div>\n", styles: [":where(.et-slider){--et-slider-track-block-size: 2px;--et-slider-track-border-radius: 0;--et-slider-inactive-track-color: #646464;--et-slider-active-track-color: #ffffff;--et-slider-block-size: 32px;--et-slider-min-inline-size: 112px;--et-slider-thumb-target-size: 32px;--et-slider-thumb-size: 12px;--et-slider-thumb-border-radius: 9999px;--et-slider-thumb-color: #ffffff;--et-slider-transition-duration: 80ms;outline:none}.et-slider{position:relative;display:block}.et-slider.et-slider--disable-animations{--et-slider-transition-duration: 0ms}.et-slider[aria-orientation=horizontal]{block-size:var(--et-slider-block-size);min-inline-size:var(--et-slider-min-inline-size)}.et-slider[aria-orientation=horizontal] .et-slider-track-container{inset-block-start:calc(50% - var(--et-slider-track-block-size) / 2);inset-inline-start:0;block-size:var(--et-slider-track-block-size);inline-size:100%}.et-slider[aria-orientation=horizontal] .et-slider-track-fill{block-size:var(--et-slider-track-block-size);inline-size:100%;transform-origin:0 0}.et-slider[aria-orientation=horizontal] .et-slider-track-background{block-size:var(--et-slider-track-block-size);inline-size:100%;transform-origin:100% 100%}.et-slider[aria-orientation=horizontal] .et-slider-thumb-container{inline-size:100%;block-size:0;inset-block-start:50%}.et-slider[aria-orientation=horizontal].et-slider--inverted .et-slider-track-fill{transform-origin:100% 100%}.et-slider[aria-orientation=horizontal].et-slider--inverted .et-slider-track-background{transform-origin:0 0}.et-slider[aria-orientation=vertical]{inline-size:var(--et-slider-block-size);min-block-size:var(--et-slider-min-inline-size)}.et-slider[aria-orientation=vertical] .et-slider-track-container{inset-block-start:0;inset-inline-start:calc(50% - var(--et-slider-track-block-size) / 2);block-size:100%;inline-size:var(--et-slider-track-block-size)}.et-slider[aria-orientation=vertical] .et-slider-track-fill{inline-size:var(--et-slider-track-block-size);block-size:100%;transform-origin:100% 100%}.et-slider[aria-orientation=vertical] .et-slider-track-background{inline-size:var(--et-slider-track-block-size);block-size:100%;transform-origin:0 0}.et-slider[aria-orientation=vertical] .et-slider-thumb-container{inline-size:0;block-size:100%;inset-inline-start:50%}.et-slider[aria-orientation=vertical].et-slider--inverted .et-slider-track-fill{transform-origin:0 0}.et-slider[aria-orientation=vertical].et-slider--inverted .et-slider-track-background,[dir=rtl] .et-slider[aria-orientation=horizontal] .et-slider-track-fill{transform-origin:100% 100%}[dir=rtl] .et-slider[aria-orientation=horizontal] .et-slider-track-background,[dir=rtl] .et-slider[aria-orientation=horizontal].et-slider--inverted .et-slider-track-fill{transform-origin:0 0}[dir=rtl] .et-slider[aria-orientation=horizontal].et-slider--inverted .et-slider-track-background{transform-origin:100% 100%}.et-slider .et-slider-track-container{position:absolute;overflow:hidden}.et-slider .et-slider-track-fill{position:absolute;transition:transform var(--et-slider-transition-duration);background-color:var(--et-slider-active-track-color)}.et-slider .et-slider-track-background{position:absolute;transition:transform var(--et-slider-transition-duration);background-color:var(--et-slider-inactive-track-color)}.et-slider .et-slider-thumb-container{position:absolute;z-index:1;transition:transform var(--et-slider-transition-duration)}.et-slider .et-slider-thumb{position:absolute;inset-inline-end:calc(var(--et-slider-thumb-target-size) / 2 * -1);inset-block-end:calc(var(--et-slider-thumb-target-size) / 2 * -1);inline-size:var(--et-slider-thumb-target-size);block-size:var(--et-slider-thumb-target-size);transition:transform var(--et-slider-transition-duration);display:flex;justify-content:center;align-items:center}.et-slider .et-slider-thumb:after{content:\"\";position:relative;inline-size:var(--et-slider-thumb-size);block-size:var(--et-slider-thumb-size);background-color:var(--et-slider-thumb-color);border-radius:var(--et-slider-thumb-border-radius);cursor:grab}.et-slider.et-slider--is-sliding .et-slider-thumb:after{cursor:grabbing}\n"], dependencies: [{ kind: "pipe", type: AsyncPipe, name: "async" }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
5382
5341
|
}
|
|
5383
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.
|
|
5342
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: SliderComponent, decorators: [{
|
|
5384
5343
|
type: Component,
|
|
5385
5344
|
args: [{ selector: 'et-slider', standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, host: {
|
|
5386
5345
|
class: 'et-slider',
|
|
@@ -5447,10 +5406,10 @@ class MasonryItemComponent {
|
|
|
5447
5406
|
nextFrame(() => this._isPositioned$.next(true));
|
|
5448
5407
|
}
|
|
5449
5408
|
}
|
|
5450
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.
|
|
5451
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.
|
|
5409
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: MasonryItemComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
5410
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.1", type: MasonryItemComponent, isStandalone: true, selector: "[et-masonry-item], et-masonry-item", inputs: { key: "key" }, host: { attributes: { "role": "listitem" }, styleAttribute: "opacity: 0;", classAttribute: "et-masonry-item" }, providers: [{ provide: MASONRY_ITEM_TOKEN, useExisting: MasonryItemComponent }], viewQueries: [{ propertyName: "_innerElementRef", first: true, predicate: ["innerElement"], descendants: true, static: true }], exportAs: ["etMasonryItem"], ngImport: i0, template: `<div #innerElement class="et-masonry-item-inner"><ng-content /></div>`, isInline: true }); }
|
|
5452
5411
|
}
|
|
5453
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.
|
|
5412
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: MasonryItemComponent, decorators: [{
|
|
5454
5413
|
type: Component,
|
|
5455
5414
|
args: [{
|
|
5456
5415
|
selector: '[et-masonry-item], et-masonry-item',
|
|
@@ -5527,16 +5486,16 @@ class MasonryComponent {
|
|
|
5527
5486
|
};
|
|
5528
5487
|
}
|
|
5529
5488
|
get columWidth() {
|
|
5530
|
-
return this._columWidth$.getValue() ||
|
|
5489
|
+
return this._columWidth$.getValue() || 250;
|
|
5531
5490
|
}
|
|
5532
5491
|
set columWidth(value) {
|
|
5533
|
-
this._columWidth$.next(
|
|
5492
|
+
this._columWidth$.next(numberAttribute(value, 250));
|
|
5534
5493
|
}
|
|
5535
5494
|
get gap() {
|
|
5536
5495
|
return this._gap$.getValue() || 0;
|
|
5537
5496
|
}
|
|
5538
5497
|
set gap(value) {
|
|
5539
|
-
this._gap$.next(
|
|
5498
|
+
this._gap$.next(numberAttribute(value, 16));
|
|
5540
5499
|
}
|
|
5541
5500
|
ngAfterContentInit() {
|
|
5542
5501
|
if (!this._items) {
|
|
@@ -5642,13 +5601,13 @@ class MasonryComponent {
|
|
|
5642
5601
|
_setColumnWidth(width) {
|
|
5643
5602
|
this._elementRef.nativeElement.style.setProperty('--et-masonry-column-width', `${width}px`);
|
|
5644
5603
|
}
|
|
5645
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.
|
|
5646
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.
|
|
5604
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: MasonryComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
5605
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.1", type: MasonryComponent, isStandalone: true, selector: "et-masonry", inputs: { columWidth: "columWidth", gap: "gap" }, outputs: { initializing: "initializing", initialized: "initialized" }, host: { classAttribute: "et-masonry" }, queries: [{ propertyName: "_items", predicate: i0.forwardRef(function () { return MASONRY_ITEM_TOKEN; }), descendants: true }], ngImport: i0, template: `
|
|
5647
5606
|
<div (etObserveResize)="setResizeEvent()"></div>
|
|
5648
5607
|
<ng-content select="[etMasonryItem], et-masonry-item, ng-container" />
|
|
5649
5608
|
`, isInline: true, styles: [".et-masonry{position:relative;display:block}.et-masonry-item{position:absolute;top:0;left:0}.et-masonry.et-masonry--hide-overflow{overflow:hidden}.et-masonry.et-masonry--initialized .et-masonry-item{transition:transform .15s var(--ease-out-3)}\n"], dependencies: [{ kind: "directive", type: ObserveResizeDirective, selector: "[etObserveResize]", inputs: ["etObserveResizeDisabled", "etObserveResizeDebounce"], outputs: ["etObserveResize"], exportAs: ["etObserveResize"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
5650
5609
|
}
|
|
5651
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.
|
|
5610
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: MasonryComponent, decorators: [{
|
|
5652
5611
|
type: Component,
|
|
5653
5612
|
args: [{ selector: 'et-masonry', template: `
|
|
5654
5613
|
<div (etObserveResize)="setResizeEvent()"></div>
|
|
@@ -5715,10 +5674,10 @@ class BottomSheetContainerBaseComponent extends CdkDialogContainer {
|
|
|
5715
5674
|
this._trapFocus();
|
|
5716
5675
|
}
|
|
5717
5676
|
}
|
|
5718
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.
|
|
5719
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.
|
|
5677
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: BottomSheetContainerBaseComponent, deps: [{ token: i0.ElementRef }, { token: i1$2.FocusTrapFactory }, { token: DOCUMENT, optional: true }, { token: BOTTOM_SHEET_CONFIG }, { token: i1$2.InteractivityChecker }, { token: i0.NgZone }, { token: i2.OverlayRef }, { token: i1$2.FocusMonitor }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
5678
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.1", type: BottomSheetContainerBaseComponent, selector: "ng-component", usesInheritance: true, ngImport: i0, template: '', isInline: true }); }
|
|
5720
5679
|
}
|
|
5721
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.
|
|
5680
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: BottomSheetContainerBaseComponent, decorators: [{
|
|
5722
5681
|
type: Component,
|
|
5723
5682
|
args: [{ template: '' }]
|
|
5724
5683
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i1$2.FocusTrapFactory }, { type: Document, decorators: [{
|
|
@@ -5942,10 +5901,10 @@ class BottomSheetServiceBase {
|
|
|
5942
5901
|
bottomSheets[i].close();
|
|
5943
5902
|
}
|
|
5944
5903
|
}
|
|
5945
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.
|
|
5946
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.
|
|
5904
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: BottomSheetServiceBase, deps: "invalid", target: i0.ɵɵFactoryTarget.Directive }); }
|
|
5905
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.1", type: BottomSheetServiceBase, ngImport: i0 }); }
|
|
5947
5906
|
}
|
|
5948
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.
|
|
5907
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: BottomSheetServiceBase, decorators: [{
|
|
5949
5908
|
type: Directive
|
|
5950
5909
|
}], ctorParameters: function () { return [{ type: i2.Overlay }, { type: i0.Injector }, { type: undefined }, { type: undefined }, { type: undefined }, { type: i0.Type }, { type: i0.Type }, { type: i0.InjectionToken }]; } });
|
|
5951
5910
|
|
|
@@ -6025,10 +5984,10 @@ class SwipeHandlerService {
|
|
|
6025
5984
|
}
|
|
6026
5985
|
return handler;
|
|
6027
5986
|
}
|
|
6028
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.
|
|
6029
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.
|
|
5987
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: SwipeHandlerService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
5988
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: SwipeHandlerService, providedIn: 'root' }); }
|
|
6030
5989
|
}
|
|
6031
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.
|
|
5990
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: SwipeHandlerService, decorators: [{
|
|
6032
5991
|
type: Injectable,
|
|
6033
5992
|
args: [{
|
|
6034
5993
|
providedIn: 'root',
|
|
@@ -6072,10 +6031,10 @@ class BottomSheetSwipeHandlerService {
|
|
|
6072
6031
|
}
|
|
6073
6032
|
return handler;
|
|
6074
6033
|
}
|
|
6075
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.
|
|
6076
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.
|
|
6034
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: BottomSheetSwipeHandlerService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
6035
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: BottomSheetSwipeHandlerService }); }
|
|
6077
6036
|
}
|
|
6078
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.
|
|
6037
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: BottomSheetSwipeHandlerService, decorators: [{
|
|
6079
6038
|
type: Injectable
|
|
6080
6039
|
}] });
|
|
6081
6040
|
|
|
@@ -6083,10 +6042,10 @@ class BottomSheetService extends BottomSheetServiceBase {
|
|
|
6083
6042
|
constructor(overlay, injector, defaultOptions, scrollStrategy, parentBottomSheetService) {
|
|
6084
6043
|
super(overlay, injector, defaultOptions, parentBottomSheetService, scrollStrategy, BottomSheetRef, BottomSheetContainerComponent, BOTTOM_SHEET_DATA);
|
|
6085
6044
|
}
|
|
6086
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.
|
|
6087
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.
|
|
6045
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: BottomSheetService, deps: [{ token: i2.Overlay }, { token: i0.Injector }, { token: BOTTOM_SHEET_DEFAULT_OPTIONS, optional: true }, { token: BOTTOM_SHEET_SCROLL_STRATEGY }, { token: BottomSheetService, optional: true, skipSelf: true }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
6046
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: BottomSheetService }); }
|
|
6088
6047
|
}
|
|
6089
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.
|
|
6048
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: BottomSheetService, decorators: [{
|
|
6090
6049
|
type: Injectable
|
|
6091
6050
|
}], ctorParameters: function () { return [{ type: i2.Overlay }, { type: i0.Injector }, { type: undefined, decorators: [{
|
|
6092
6051
|
type: Optional
|
|
@@ -6171,10 +6130,10 @@ class BottomSheetDragHandleComponent {
|
|
|
6171
6130
|
this._bottomSheetRef._closeBottomSheetVia(this._bottomSheetRef, 'touch', this.bottomSheetResult);
|
|
6172
6131
|
}
|
|
6173
6132
|
}
|
|
6174
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.
|
|
6175
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.
|
|
6133
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: BottomSheetDragHandleComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
6134
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.1", type: BottomSheetDragHandleComponent, isStandalone: true, selector: "[et-bottom-sheet-drag-handle], [etBottomSheetDragHandle]", inputs: { ariaLabel: ["aria-label", "ariaLabel"], type: "type", bottomSheetResult: ["et-bottom-sheet-drag-handle", "bottomSheetResult"], _etBottomSheetDragHandle: ["etBottomSheetDragHandle", "_etBottomSheetDragHandle"] }, host: { listeners: { "click": "_onButtonClick($event)" }, properties: { "attr.aria-label": "ariaLabel || null", "attr.type": "this.type" }, classAttribute: "et-bottom-sheet-drag-handle" }, providers: [BottomSheetSwipeHandlerService], exportAs: ["etBottomSheetDragHandle"], usesOnChanges: true, ngImport: i0, template: '', isInline: true, styles: [":where(.et-bottom-sheet-drag-handle){--background-color: red}.et-bottom-sheet-drag-handle{--_tap-target-width: 100px;--_tap-target-height: 25px;inset-inline-start:calc(50% - var(--_tap-target-width) / 2);inline-size:var(--_tap-target-width);block-size:var(--_tap-target-height);border:none;position:relative;background-color:#0000;touch-action:manipulation;-webkit-appearance:none;appearance:none}.et-bottom-sheet-drag-handle:before{--_toggle-width: 32px;--_toggle-height: 4px;inline-size:var(--_toggle-width);block-size:var(--_toggle-height);content:\"\";position:absolute;background-color:var(--background-color);border-radius:9999px;inset-inline-start:calc(50% - var(--_toggle-width) / 2);inset-block-start:calc(50% - var(--_toggle-height) / 2);z-index:1}.et-bottom-sheet-drag-handle:after{opacity:0;inline-size:100%;block-size:100%;content:\"\";position:absolute;background-color:#0003;border-radius:8px;inset-block-start:0;inset-inline-start:0;transform:scale(0);transition:opacity .3s var(--ease-5),transform .3s var(--ease-5)}.et-bottom-sheet-drag-handle:focus-visible{outline:none}.et-bottom-sheet-drag-handle:focus-visible:after{opacity:1;transform:scale(1);transition:opacity .3s var(--ease-5),transform .3s var(--ease-squish-3)}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
6176
6135
|
}
|
|
6177
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.
|
|
6136
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: BottomSheetDragHandleComponent, decorators: [{
|
|
6178
6137
|
type: Component,
|
|
6179
6138
|
args: [{ selector: '[et-bottom-sheet-drag-handle], [etBottomSheetDragHandle]', template: '', exportAs: 'etBottomSheetDragHandle', host: {
|
|
6180
6139
|
class: 'et-bottom-sheet-drag-handle',
|
|
@@ -6227,10 +6186,10 @@ class BottomSheetTitleDirective {
|
|
|
6227
6186
|
});
|
|
6228
6187
|
}
|
|
6229
6188
|
}
|
|
6230
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.
|
|
6231
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.
|
|
6189
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: BottomSheetTitleDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
6190
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.1", type: BottomSheetTitleDirective, isStandalone: true, selector: "[et-bottom-sheet-title], [etBottomSheetTitle]", inputs: { id: "id" }, host: { properties: { "attr.id": "this.id" } }, exportAs: ["etBottomSheetTitle"], ngImport: i0 }); }
|
|
6232
6191
|
}
|
|
6233
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.
|
|
6192
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: BottomSheetTitleDirective, decorators: [{
|
|
6234
6193
|
type: Directive,
|
|
6235
6194
|
args: [{
|
|
6236
6195
|
selector: '[et-bottom-sheet-title], [etBottomSheetTitle]',
|
|
@@ -6255,10 +6214,10 @@ class BottomSheetContainerComponent extends BottomSheetContainerBaseComponent {
|
|
|
6255
6214
|
this._animatedLifecycle.enter();
|
|
6256
6215
|
});
|
|
6257
6216
|
}
|
|
6258
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.
|
|
6259
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.
|
|
6217
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: BottomSheetContainerComponent, deps: [{ token: i0.ElementRef }, { token: i1$2.FocusTrapFactory }, { token: DOCUMENT, optional: true }, { token: BOTTOM_SHEET_CONFIG }, { token: i1$2.InteractivityChecker }, { token: i0.NgZone }, { token: i2.OverlayRef }, { token: i1$2.FocusMonitor }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
6218
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.1", type: BottomSheetContainerComponent, isStandalone: true, selector: "et-bottom-sheet-container", host: { attributes: { "tabindex": "-1" }, properties: { "attr.aria-modal": "_config.ariaModal", "id": "_config.id", "attr.role": "_config.role", "attr.aria-labelledby": "_config.ariaLabel ? null : _ariaLabelledBy", "attr.aria-label": "_config.ariaLabel", "attr.aria-describedby": "_config.ariaDescribedBy || null", "class.et-with-default-animation": "!_config.customAnimated", "class": "_config.containerClass" }, classAttribute: "et-bottom-sheet" }, usesInheritance: true, hostDirectives: [{ directive: i1$1.AnimatedLifecycleDirective }], ngImport: i0, template: `<ng-template cdkPortalOutlet></ng-template>`, isInline: true, styles: [".et-bottom-sheet{transform:translateY(var(--touch-translate-y))}.et-bottom-sheet.et-with-default-animation{outline:none}.et-bottom-sheet.et-with-default-animation.et-animation-enter-from,.et-bottom-sheet.et-with-default-animation.et-animation-leave-to{transform:translateY(100%)}.et-bottom-sheet.et-with-default-animation.et-animation-enter-active{transition:transform .3s var(--ease-out-5)}.et-bottom-sheet.et-with-default-animation.et-animation-leave-active{transition:transform .15s var(--ease-in-5)}\n"], dependencies: [{ kind: "ngmodule", type: PortalModule }, { kind: "directive", type: i1.CdkPortalOutlet, selector: "[cdkPortalOutlet]", inputs: ["cdkPortalOutlet"], outputs: ["attached"], exportAs: ["cdkPortalOutlet"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
6260
6219
|
}
|
|
6261
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.
|
|
6220
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: BottomSheetContainerComponent, decorators: [{
|
|
6262
6221
|
type: Component,
|
|
6263
6222
|
args: [{ selector: 'et-bottom-sheet-container', template: `<ng-template cdkPortalOutlet></ng-template>`, encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, host: {
|
|
6264
6223
|
class: 'et-bottom-sheet',
|
|
@@ -6548,10 +6507,10 @@ class DialogServiceBase {
|
|
|
6548
6507
|
dialogs[i].close();
|
|
6549
6508
|
}
|
|
6550
6509
|
}
|
|
6551
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.
|
|
6552
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.
|
|
6510
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: DialogServiceBase, deps: "invalid", target: i0.ɵɵFactoryTarget.Directive }); }
|
|
6511
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.1", type: DialogServiceBase, ngImport: i0 }); }
|
|
6553
6512
|
}
|
|
6554
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.
|
|
6513
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: DialogServiceBase, decorators: [{
|
|
6555
6514
|
type: Directive
|
|
6556
6515
|
}], ctorParameters: function () { return [{ type: i2.Overlay }, { type: i0.Injector }, { type: undefined }, { type: undefined }, { type: undefined }, { type: i0.Type }, { type: i0.Type }, { type: i0.InjectionToken }]; } });
|
|
6557
6516
|
|
|
@@ -6559,10 +6518,10 @@ class DialogService extends DialogServiceBase {
|
|
|
6559
6518
|
constructor(overlay, injector, defaultOptions, scrollStrategy, parentDialogService) {
|
|
6560
6519
|
super(overlay, injector, defaultOptions, parentDialogService, scrollStrategy, DialogRef, DialogContainerComponent, DIALOG_DATA);
|
|
6561
6520
|
}
|
|
6562
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.
|
|
6563
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.
|
|
6521
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: DialogService, deps: [{ token: i2.Overlay }, { token: i0.Injector }, { token: DIALOG_DEFAULT_OPTIONS, optional: true }, { token: DIALOG_SCROLL_STRATEGY }, { token: DialogService, optional: true, skipSelf: true }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
6522
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: DialogService }); }
|
|
6564
6523
|
}
|
|
6565
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.
|
|
6524
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: DialogService, decorators: [{
|
|
6566
6525
|
type: Injectable
|
|
6567
6526
|
}], ctorParameters: function () { return [{ type: i2.Overlay }, { type: i0.Injector }, { type: undefined, decorators: [{
|
|
6568
6527
|
type: Optional
|
|
@@ -6606,10 +6565,10 @@ class DialogCloseDirective {
|
|
|
6606
6565
|
}
|
|
6607
6566
|
this._dialogRef._closeDialogVia(this._dialogRef, event.screenX === 0 && event.screenY === 0 ? 'keyboard' : 'mouse', this.dialogResult);
|
|
6608
6567
|
}
|
|
6609
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.
|
|
6610
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.
|
|
6568
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: DialogCloseDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
6569
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.1", type: DialogCloseDirective, isStandalone: true, selector: "[et-dialog-close], [etDialogClose]", inputs: { ariaLabel: ["aria-label", "ariaLabel"], type: "type", dialogResult: ["et-dialog-close", "dialogResult"], _etDialogClose: ["etDialogClose", "_etDialogClose"] }, host: { listeners: { "click": "_onButtonClick($event)" }, properties: { "attr.aria-label": "ariaLabel || null", "attr.type": "this.type" } }, exportAs: ["etDialogClose"], usesOnChanges: true, ngImport: i0 }); }
|
|
6611
6570
|
}
|
|
6612
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.
|
|
6571
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: DialogCloseDirective, decorators: [{
|
|
6613
6572
|
type: Directive,
|
|
6614
6573
|
args: [{
|
|
6615
6574
|
selector: '[et-dialog-close], [etDialogClose]',
|
|
@@ -6655,10 +6614,10 @@ class DialogContainerBaseComponent extends CdkDialogContainer {
|
|
|
6655
6614
|
this._trapFocus();
|
|
6656
6615
|
}
|
|
6657
6616
|
}
|
|
6658
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.
|
|
6659
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.
|
|
6617
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: DialogContainerBaseComponent, deps: [{ token: i0.ElementRef }, { token: i1$2.FocusTrapFactory }, { token: DOCUMENT, optional: true }, { token: DIALOG_CONFIG }, { token: i1$2.InteractivityChecker }, { token: i0.NgZone }, { token: i2.OverlayRef }, { token: i1$2.FocusMonitor }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
6618
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.1", type: DialogContainerBaseComponent, selector: "ng-component", usesInheritance: true, ngImport: i0, template: '', isInline: true }); }
|
|
6660
6619
|
}
|
|
6661
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.
|
|
6620
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: DialogContainerBaseComponent, decorators: [{
|
|
6662
6621
|
type: Component,
|
|
6663
6622
|
args: [{ template: '' }]
|
|
6664
6623
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i1$2.FocusTrapFactory }, { type: Document, decorators: [{
|
|
@@ -6699,10 +6658,10 @@ class DialogTitleDirective {
|
|
|
6699
6658
|
});
|
|
6700
6659
|
}
|
|
6701
6660
|
}
|
|
6702
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.
|
|
6703
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.
|
|
6661
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: DialogTitleDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
6662
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.1", type: DialogTitleDirective, isStandalone: true, selector: "[et-dialog-title], [etDialogTitle]", inputs: { id: "id" }, host: { properties: { "attr.id": "this.id" } }, exportAs: ["etDialogTitle"], ngImport: i0 }); }
|
|
6704
6663
|
}
|
|
6705
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.
|
|
6664
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: DialogTitleDirective, decorators: [{
|
|
6706
6665
|
type: Directive,
|
|
6707
6666
|
args: [{
|
|
6708
6667
|
selector: '[et-dialog-title], [etDialogTitle]',
|
|
@@ -6727,10 +6686,10 @@ class DialogContainerComponent extends DialogContainerBaseComponent {
|
|
|
6727
6686
|
this._animatedLifecycle.enter();
|
|
6728
6687
|
});
|
|
6729
6688
|
}
|
|
6730
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.
|
|
6731
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.
|
|
6689
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: DialogContainerComponent, deps: [{ token: i0.ElementRef }, { token: i1$2.FocusTrapFactory }, { token: DOCUMENT, optional: true }, { token: DIALOG_CONFIG }, { token: i1$2.InteractivityChecker }, { token: i0.NgZone }, { token: i2.OverlayRef }, { token: i1$2.FocusMonitor }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
6690
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.1", type: DialogContainerComponent, isStandalone: true, selector: "et-dialog-container", host: { attributes: { "tabindex": "-1" }, properties: { "attr.aria-modal": "_config.ariaModal", "id": "_config.id", "attr.role": "_config.role", "attr.aria-labelledby": "_config.ariaLabel ? null : _ariaLabelledBy", "attr.aria-label": "_config.ariaLabel", "attr.aria-describedby": "_config.ariaDescribedBy || null", "class.et-with-default-animation": "!_config.customAnimated", "class": "_config.containerClass" }, classAttribute: "et-dialog" }, usesInheritance: true, hostDirectives: [{ directive: i1$1.AnimatedLifecycleDirective }], ngImport: i0, template: `<ng-template cdkPortalOutlet></ng-template>`, isInline: true, styles: [".et-dialog.et-with-default-animation{outline:none}.et-dialog.et-with-default-animation.et-animation-enter-from{opacity:0;transform:scale(1.15)}.et-dialog.et-with-default-animation.et-animation-leave-to{opacity:0;transform:scale(.8)}.et-dialog.et-with-default-animation.et-animation-enter-active{transition:transform .3s var(--ease-out-5),opacity .3s var(--ease-out-5)}.et-dialog.et-with-default-animation.et-animation-leave-active{transition:transform .15s var(--ease-out-5),opacity .15s var(--ease-out-5)}\n"], dependencies: [{ kind: "ngmodule", type: PortalModule }, { kind: "directive", type: i1.CdkPortalOutlet, selector: "[cdkPortalOutlet]", inputs: ["cdkPortalOutlet"], outputs: ["attached"], exportAs: ["cdkPortalOutlet"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
6732
6691
|
}
|
|
6733
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.
|
|
6692
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: DialogContainerComponent, decorators: [{
|
|
6734
6693
|
type: Component,
|
|
6735
6694
|
args: [{ selector: 'et-dialog-container', template: `<ng-template cdkPortalOutlet></ng-template>`, encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, host: {
|
|
6736
6695
|
class: 'et-dialog',
|
|
@@ -6790,7 +6749,7 @@ class ToggletipDirective {
|
|
|
6790
6749
|
return this._showToggletip;
|
|
6791
6750
|
}
|
|
6792
6751
|
set showToggletip(value) {
|
|
6793
|
-
this._showToggletip =
|
|
6752
|
+
this._showToggletip = booleanAttribute(value);
|
|
6794
6753
|
if (this._showToggletip && !this._animatedOverlay.isMounted) {
|
|
6795
6754
|
nextFrame(() => {
|
|
6796
6755
|
this._mountToggletip();
|
|
@@ -6869,15 +6828,15 @@ class ToggletipDirective {
|
|
|
6869
6828
|
],
|
|
6870
6829
|
});
|
|
6871
6830
|
}
|
|
6872
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.
|
|
6873
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.
|
|
6831
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: ToggletipDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
6832
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.1", type: ToggletipDirective, isStandalone: true, selector: "[etToggletip]", inputs: { toggletip: ["etToggletip", "toggletip"], showToggletip: "showToggletip" }, outputs: { toggletipClose: "toggletipClose" }, providers: [
|
|
6874
6833
|
{
|
|
6875
6834
|
provide: TOGGLETIP_DIRECTIVE,
|
|
6876
6835
|
useExisting: ToggletipDirective,
|
|
6877
6836
|
},
|
|
6878
6837
|
], hostDirectives: [{ directive: i1$1.AnimatedOverlayDirective, inputs: ["placement", "placement"] }], ngImport: i0 }); }
|
|
6879
6838
|
}
|
|
6880
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.
|
|
6839
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: ToggletipDirective, decorators: [{
|
|
6881
6840
|
type: Directive,
|
|
6882
6841
|
args: [{
|
|
6883
6842
|
selector: '[etToggletip]',
|
|
@@ -6923,15 +6882,15 @@ class ToggletipComponent {
|
|
|
6923
6882
|
_markForCheck() {
|
|
6924
6883
|
this._cdr.markForCheck();
|
|
6925
6884
|
}
|
|
6926
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.
|
|
6927
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.
|
|
6885
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: ToggletipComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
6886
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.1", type: ToggletipComponent, isStandalone: true, selector: "et-toggletip", host: { properties: { "attr.aria-hidden": "this.attrAriaHidden", "class.et-with-default-animation": "this.usesDefaultAnimation", "class": "this.containerClass" }, classAttribute: "et-toggletip" }, providers: [
|
|
6928
6887
|
{
|
|
6929
6888
|
provide: TOGGLETIP,
|
|
6930
6889
|
useExisting: ToggletipComponent,
|
|
6931
6890
|
},
|
|
6932
6891
|
], viewQueries: [{ propertyName: "_animatedLifecycle", first: true, predicate: ANIMATED_LIFECYCLE_TOKEN, descendants: true, static: true }], ngImport: i0, template: "<div class=\"et-toggletip-container\" etAnimatedLifecycle>\n <ng-container *ngIf=\"toggletipText\">\n {{ toggletipText }}\n </ng-container>\n\n <ng-container *ngIf=\"toggletipTemplate\">\n <ng-container *ngTemplateOutlet=\"toggletipTemplate; injector: injector\" />\n </ng-container>\n\n <div class=\"toggletip-arrow\" data-popper-arrow></div>\n</div>\n", styles: [":where(.et-toggletip){--background-color: hsl(0 0% 20%);--foreground-color: CanvasText;--border-radius: 4px;--padding-inline: 1.5ch;--padding-block: .75ch;--inline-max-size: 25ch;--arrow-size: 10px;--arrow-radius: 2px}.et-toggletip[data-popper-placement^=top] .toggletip-arrow{bottom:-4px}.et-toggletip[data-popper-placement^=right] .toggletip-arrow{left:-4px}.et-toggletip[data-popper-placement^=bottom] .toggletip-arrow{top:-4px}.et-toggletip[data-popper-placement^=left] .toggletip-arrow{right:-4px}.et-toggletip-container{z-index:1;inline-size:max-content;max-inline-size:var(--inline-max-size);padding:var(--padding-block) var(--padding-inline);border-radius:var(--border-radius);background:var(--background-color);color:var(--foreground-color)}.et-toggletip-container:before{content:\"; Has toggletip: \";clip:rect(1px,1px,1px,1px);clip-path:inset(50%);height:1px;width:1px;margin:-1px;overflow:hidden;padding:0;position:absolute}.toggletip-arrow{inline-size:var(--arrow-size);block-size:var(--arrow-size);position:absolute;z-index:-1}.toggletip-arrow:before{inline-size:var(--arrow-size);block-size:var(--arrow-size);border-radius:var(--arrow-radius);position:absolute;z-index:-1;transform:rotate(45deg);background:var(--background-color);top:0;left:0;content:\"\"}.et-toggletip.et-with-default-animation .et-toggletip-container.et-animation-enter-from,.et-toggletip.et-with-default-animation .et-toggletip-container.et-animation-leave-to{opacity:0}.et-toggletip.et-with-default-animation .et-toggletip-container.et-animation-enter-from .toggletip-arrow:before,.et-toggletip.et-with-default-animation .et-toggletip-container.et-animation-leave-to .toggletip-arrow:before{transform:rotate(45deg) scale(0)}.et-toggletip.et-with-default-animation .et-toggletip-container.et-animation-enter-active{transition:transform .2s var(--ease-out-5),opacity .2s var(--ease-out-5)}.et-toggletip.et-with-default-animation .et-toggletip-container.et-animation-enter-active .toggletip-arrow:before{transition:transform .2s var(--ease-out-5)}.et-toggletip.et-with-default-animation .et-toggletip-container.et-animation-leave-active{transition:transform .15s var(--ease-in-5),opacity .15s var(--ease-in-5)}.et-toggletip.et-with-default-animation .et-toggletip-container.et-animation-leave-active .toggletip-arrow:before{transition:transform .15s var(--ease-in-5)}.et-toggletip.et-with-default-animation[data-popper-placement^=top] .et-toggletip-container.et-animation-enter-from,.et-toggletip.et-with-default-animation[data-popper-placement^=top] .et-toggletip-container.et-animation-leave-to{transform:translateY(5px)}.et-toggletip.et-with-default-animation[data-popper-placement^=right] .et-toggletip-container.et-animation-enter-from,.et-toggletip.et-with-default-animation[data-popper-placement^=right] .et-toggletip-container.et-animation-leave-to{transform:translate(-5px)}.et-toggletip.et-with-default-animation[data-popper-placement^=bottom] .et-toggletip-container.et-animation-enter-from,.et-toggletip.et-with-default-animation[data-popper-placement^=bottom] .et-toggletip-container.et-animation-leave-to{transform:translateY(-5px)}.et-toggletip.et-with-default-animation[data-popper-placement^=left] .et-toggletip-container.et-animation-enter-from,.et-toggletip.et-with-default-animation[data-popper-placement^=left] .et-toggletip-container.et-animation-leave-to{transform:translate(5px)}\n"], dependencies: [{ kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: AnimatedLifecycleDirective, selector: "[etAnimatedLifecycle]", exportAs: ["etAnimatedLifecycle"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
6933
6892
|
}
|
|
6934
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.
|
|
6893
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: ToggletipComponent, decorators: [{
|
|
6935
6894
|
type: Component,
|
|
6936
6895
|
args: [{ selector: 'et-toggletip', standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, imports: [NgIf, NgTemplateOutlet, AnimatedLifecycleDirective], host: {
|
|
6937
6896
|
class: 'et-toggletip',
|
|
@@ -7103,15 +7062,15 @@ class TooltipDirective {
|
|
|
7103
7062
|
? this.tooltip
|
|
7104
7063
|
: null;
|
|
7105
7064
|
}
|
|
7106
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.
|
|
7107
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.
|
|
7065
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: TooltipDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
7066
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.1", type: TooltipDirective, isStandalone: true, selector: "[etTooltip]", inputs: { tooltip: ["etTooltip", "tooltip"], tooltipAriaDescription: "tooltipAriaDescription" }, providers: [
|
|
7108
7067
|
{
|
|
7109
7068
|
provide: TOOLTIP_DIRECTIVE,
|
|
7110
7069
|
useExisting: TooltipDirective,
|
|
7111
7070
|
},
|
|
7112
7071
|
], hostDirectives: [{ directive: i1$1.AnimatedOverlayDirective, inputs: ["placement", "placement"] }], ngImport: i0 }); }
|
|
7113
7072
|
}
|
|
7114
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.
|
|
7073
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: TooltipDirective, decorators: [{
|
|
7115
7074
|
type: Directive,
|
|
7116
7075
|
args: [{
|
|
7117
7076
|
selector: '[etTooltip]',
|
|
@@ -7153,15 +7112,15 @@ class TooltipComponent {
|
|
|
7153
7112
|
_markForCheck() {
|
|
7154
7113
|
this._cdr.markForCheck();
|
|
7155
7114
|
}
|
|
7156
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.
|
|
7157
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.
|
|
7115
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: TooltipComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
7116
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.1", type: TooltipComponent, isStandalone: true, selector: "et-tooltip", host: { properties: { "attr.aria-hidden": "this.attrAriaHidden", "class.et-with-default-animation": "this.usesDefaultAnimation", "class": "this.containerClass" }, classAttribute: "et-tooltip" }, providers: [
|
|
7158
7117
|
{
|
|
7159
7118
|
provide: TOOLTIP,
|
|
7160
7119
|
useExisting: TooltipComponent,
|
|
7161
7120
|
},
|
|
7162
7121
|
], viewQueries: [{ propertyName: "_animatedLifecycle", first: true, predicate: ANIMATED_LIFECYCLE_TOKEN, descendants: true, static: true }], ngImport: i0, template: "<div class=\"et-tooltip-container\" etAnimatedLifecycle>\n <ng-container *ngIf=\"tooltipText\">\n {{ tooltipText }}\n </ng-container>\n\n <ng-container *ngIf=\"tooltipTemplate\">\n <ng-container *ngTemplateOutlet=\"tooltipTemplate; injector: injector\" />\n </ng-container>\n\n <div class=\"tooltip-arrow\" data-popper-arrow></div>\n</div>\n", styles: [":where(.et-tooltip){--background-color: hsl(0 0% 20%);--foreground-color: CanvasText;--border-radius: 4px;--padding-inline: 1.5ch;--padding-block: .75ch;--inline-max-size: 25ch;--arrow-size: 10px;--arrow-radius: 2px}.et-tooltip{pointer-events:none;-webkit-user-select:none;user-select:none}.et-tooltip[data-popper-placement^=top] .tooltip-arrow{bottom:-4px}.et-tooltip[data-popper-placement^=right] .tooltip-arrow{left:-4px}.et-tooltip[data-popper-placement^=bottom] .tooltip-arrow{top:-4px}.et-tooltip[data-popper-placement^=left] .tooltip-arrow{right:-4px}.et-tooltip-container{z-index:1;inline-size:max-content;max-inline-size:var(--inline-max-size);padding:var(--padding-block) var(--padding-inline);border-radius:var(--border-radius);background:var(--background-color);color:var(--foreground-color)}.et-tooltip-container:before{content:\"; Has tooltip: \";clip:rect(1px,1px,1px,1px);clip-path:inset(50%);height:1px;width:1px;margin:-1px;overflow:hidden;padding:0;position:absolute}.tooltip-arrow{inline-size:var(--arrow-size);block-size:var(--arrow-size);position:absolute;z-index:-1}.tooltip-arrow:before{inline-size:var(--arrow-size);block-size:var(--arrow-size);border-radius:var(--arrow-radius);position:absolute;z-index:-1;transform:rotate(45deg);background:var(--background-color);top:0;left:0;content:\"\"}.et-tooltip.et-with-default-animation .et-tooltip-container.et-animation-enter-from,.et-tooltip.et-with-default-animation .et-tooltip-container.et-animation-leave-to{opacity:0}.et-tooltip.et-with-default-animation .et-tooltip-container.et-animation-enter-active{transition:transform .3s var(--ease-out-5),opacity .3s var(--ease-out-5)}.et-tooltip.et-with-default-animation .et-tooltip-container.et-animation-leave-active{transition:transform .15s var(--ease-in-5),opacity .15s var(--ease-in-5)}.et-tooltip.et-with-default-animation[data-popper-placement^=top] .et-tooltip-container.et-animation-enter-from,.et-tooltip.et-with-default-animation[data-popper-placement^=top] .et-tooltip-container.et-animation-leave-to{transform:translateY(5px)}.et-tooltip.et-with-default-animation[data-popper-placement^=right] .et-tooltip-container.et-animation-enter-from,.et-tooltip.et-with-default-animation[data-popper-placement^=right] .et-tooltip-container.et-animation-leave-to{transform:translate(-5px)}.et-tooltip.et-with-default-animation[data-popper-placement^=bottom] .et-tooltip-container.et-animation-enter-from,.et-tooltip.et-with-default-animation[data-popper-placement^=bottom] .et-tooltip-container.et-animation-leave-to{transform:translateY(-5px)}.et-tooltip.et-with-default-animation[data-popper-placement^=left] .et-tooltip-container.et-animation-enter-from,.et-tooltip.et-with-default-animation[data-popper-placement^=left] .et-tooltip-container.et-animation-leave-to{transform:translate(5px)}\n"], dependencies: [{ kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: AnimatedLifecycleDirective, selector: "[etAnimatedLifecycle]", exportAs: ["etAnimatedLifecycle"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
7163
7122
|
}
|
|
7164
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.
|
|
7123
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: TooltipComponent, decorators: [{
|
|
7165
7124
|
type: Component,
|
|
7166
7125
|
args: [{ selector: 'et-tooltip', standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, imports: [NgIf, NgTemplateOutlet, AnimatedLifecycleDirective], host: {
|
|
7167
7126
|
class: 'et-tooltip',
|
|
@@ -7188,10 +7147,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0", ngImpor
|
|
|
7188
7147
|
const TooltipImports = [TooltipDirective];
|
|
7189
7148
|
|
|
7190
7149
|
class DynamicOverlayService {
|
|
7191
|
-
constructor(
|
|
7192
|
-
this._dialogService =
|
|
7193
|
-
this._bottomSheetService =
|
|
7194
|
-
this._viewportService =
|
|
7150
|
+
constructor() {
|
|
7151
|
+
this._dialogService = inject(DialogService);
|
|
7152
|
+
this._bottomSheetService = inject(BottomSheetService);
|
|
7153
|
+
this._viewportService = inject(ViewportService);
|
|
7195
7154
|
}
|
|
7196
7155
|
open(componentOrTemplateRef, config) {
|
|
7197
7156
|
const shouldOpenAsDialog = this._viewportService.isMatched({ min: config.isDialogFrom });
|
|
@@ -7200,15 +7159,15 @@ class DynamicOverlayService {
|
|
|
7200
7159
|
}
|
|
7201
7160
|
return this._bottomSheetService.open(componentOrTemplateRef, config.bottomSheetConfig);
|
|
7202
7161
|
}
|
|
7203
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.
|
|
7204
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.
|
|
7162
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: DynamicOverlayService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
7163
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: DynamicOverlayService, providedIn: 'root' }); }
|
|
7205
7164
|
}
|
|
7206
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.
|
|
7165
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: DynamicOverlayService, decorators: [{
|
|
7207
7166
|
type: Injectable,
|
|
7208
7167
|
args: [{
|
|
7209
7168
|
providedIn: 'root',
|
|
7210
7169
|
}]
|
|
7211
|
-
}]
|
|
7170
|
+
}] });
|
|
7212
7171
|
|
|
7213
7172
|
class PaginationLinkDirective {
|
|
7214
7173
|
constructor() {
|
|
@@ -7221,10 +7180,10 @@ class PaginationLinkDirective {
|
|
|
7221
7180
|
}
|
|
7222
7181
|
this.pageClick.emit(this.page);
|
|
7223
7182
|
}
|
|
7224
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.
|
|
7225
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.
|
|
7183
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: PaginationLinkDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
7184
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.1", type: PaginationLinkDirective, isStandalone: true, selector: "[etPaginationLink]", inputs: { page: ["etPaginationLink", "page"] }, outputs: { pageClick: "pageClick" }, host: { listeners: { "click": "onClick($event)" } }, ngImport: i0 }); }
|
|
7226
7185
|
}
|
|
7227
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.
|
|
7186
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: PaginationLinkDirective, decorators: [{
|
|
7228
7187
|
type: Directive,
|
|
7229
7188
|
args: [{
|
|
7230
7189
|
selector: '[etPaginationLink]',
|
|
@@ -7288,10 +7247,10 @@ class PaginationHeadService {
|
|
|
7288
7247
|
});
|
|
7289
7248
|
}
|
|
7290
7249
|
}
|
|
7291
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.
|
|
7292
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.
|
|
7250
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: PaginationHeadService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
7251
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: PaginationHeadService }); }
|
|
7293
7252
|
}
|
|
7294
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.
|
|
7253
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: PaginationHeadService, decorators: [{
|
|
7295
7254
|
type: Injectable
|
|
7296
7255
|
}] });
|
|
7297
7256
|
|
|
@@ -7396,7 +7355,7 @@ class PaginationComponent {
|
|
|
7396
7355
|
return this._totalPages;
|
|
7397
7356
|
}
|
|
7398
7357
|
set totalPages(value) {
|
|
7399
|
-
this._totalPages =
|
|
7358
|
+
this._totalPages = numberAttribute(value, 0);
|
|
7400
7359
|
this._updatePages();
|
|
7401
7360
|
}
|
|
7402
7361
|
set headTitleTemplate(v) {
|
|
@@ -7408,7 +7367,7 @@ class PaginationComponent {
|
|
|
7408
7367
|
this._updateHead();
|
|
7409
7368
|
}
|
|
7410
7369
|
set headAddCanonicalTag(v) {
|
|
7411
|
-
this._paginationHeadService.addCanonicalTag =
|
|
7370
|
+
this._paginationHeadService.addCanonicalTag = v;
|
|
7412
7371
|
this._updateHead();
|
|
7413
7372
|
}
|
|
7414
7373
|
ngOnInit() {
|
|
@@ -7446,10 +7405,10 @@ class PaginationComponent {
|
|
|
7446
7405
|
this._paginationHeadService._updateHead(this.pageControl.value);
|
|
7447
7406
|
}
|
|
7448
7407
|
}
|
|
7449
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.
|
|
7450
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.
|
|
7408
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: PaginationComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
7409
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.1", type: PaginationComponent, isStandalone: true, selector: "et-pagination", inputs: { pageControl: "pageControl", totalPages: "totalPages", headTitleTemplate: "headTitleTemplate", headFirstPageTitle: "headFirstPageTitle", headAddCanonicalTag: ["headAddCanonicalTag", "headAddCanonicalTag", booleanAttribute], ariaLabel: "ariaLabel", pageChangeScrollAnchor: "pageChangeScrollAnchor" }, host: { classAttribute: "et-pagination" }, providers: [PaginationHeadService], ngImport: i0, template: "<nav *ngIf=\"pages$ | async as pages\" [attr.aria-label]=\"ariaLabel\" class=\"et-pagination-nav\">\n <ul class=\"et-pagination-list\">\n <li\n *ngFor=\"let page of pages; trackBy: trackByPage\"\n [class.et-pagination-hot-link]=\"page.type === 'hotLink'\"\n [class.et-pagination-page-link]=\"page.type === 'page'\"\n [class.et-pagination-item-disabled]=\"page.disabled\"\n class=\"et-pagination-list-item et-pagination-{{ page.explicitType }}\"\n >\n <a\n [attr.aria-current]=\"page.current ? 'page' : null\"\n [attr.aria-label]=\"page.ariaLabel\"\n [attr.aria-disabled]=\"page.disabled ? 'true' : null\"\n [etPaginationLink]=\"page\"\n [href]=\"page.disabled ? '#' : page.url\"\n (pageClick)=\"onPageClick($event)\"\n class=\"et-pagination-anchor\"\n >\n <ng-container *ngIf=\"page.type === 'page'\">\n {{ page.page }}\n </ng-container>\n </a>\n </li>\n </ul>\n</nav>\n", styles: [""], dependencies: [{ kind: "directive", type: NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "pipe", type: AsyncPipe, name: "async" }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: PaginationLinkDirective, selector: "[etPaginationLink]", inputs: ["etPaginationLink"], outputs: ["pageClick"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
7451
7410
|
}
|
|
7452
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.
|
|
7411
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: PaginationComponent, decorators: [{
|
|
7453
7412
|
type: Component,
|
|
7454
7413
|
args: [{ selector: 'et-pagination', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, standalone: true, imports: [NgForOf, AsyncPipe, NgIf, PaginationLinkDirective], providers: [PaginationHeadService], host: {
|
|
7455
7414
|
class: 'et-pagination',
|
|
@@ -7463,7 +7422,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0", ngImpor
|
|
|
7463
7422
|
}], headFirstPageTitle: [{
|
|
7464
7423
|
type: Input
|
|
7465
7424
|
}], headAddCanonicalTag: [{
|
|
7466
|
-
type: Input
|
|
7425
|
+
type: Input,
|
|
7426
|
+
args: [{ transform: booleanAttribute }]
|
|
7467
7427
|
}], ariaLabel: [{
|
|
7468
7428
|
type: Input
|
|
7469
7429
|
}], pageChangeScrollAnchor: [{
|
|
@@ -7474,7 +7434,7 @@ const PaginationImports = [PaginationComponent];
|
|
|
7474
7434
|
|
|
7475
7435
|
class PictureDataDirective {
|
|
7476
7436
|
constructor() {
|
|
7477
|
-
this.
|
|
7437
|
+
this.hasPriority = false;
|
|
7478
7438
|
this.imgClass = null;
|
|
7479
7439
|
this.figureClass = null;
|
|
7480
7440
|
this.figcaptionClass = null;
|
|
@@ -7486,22 +7446,17 @@ class PictureDataDirective {
|
|
|
7486
7446
|
this.height = null;
|
|
7487
7447
|
this.sizes = null;
|
|
7488
7448
|
}
|
|
7489
|
-
|
|
7490
|
-
|
|
7491
|
-
}
|
|
7492
|
-
set hasPriority(value) {
|
|
7493
|
-
this._hasPriority = coerceBooleanProperty(value);
|
|
7494
|
-
}
|
|
7495
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.0", ngImport: i0, type: PictureDataDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
7496
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.0", type: PictureDataDirective, isStandalone: true, inputs: { hasPriority: "hasPriority", imgClass: "imgClass", figureClass: "figureClass", figcaptionClass: "figcaptionClass", pictureClass: "pictureClass", defaultSrc: "defaultSrc", alt: "alt", figcaption: "figcaption", width: "width", height: "height", sizes: "sizes" }, ngImport: i0 }); }
|
|
7449
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: PictureDataDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
7450
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.1", type: PictureDataDirective, isStandalone: true, inputs: { hasPriority: ["hasPriority", "hasPriority", booleanAttribute], imgClass: "imgClass", figureClass: "figureClass", figcaptionClass: "figcaptionClass", pictureClass: "pictureClass", defaultSrc: "defaultSrc", alt: "alt", figcaption: "figcaption", width: "width", height: "height", sizes: "sizes" }, ngImport: i0 }); }
|
|
7497
7451
|
}
|
|
7498
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.
|
|
7452
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: PictureDataDirective, decorators: [{
|
|
7499
7453
|
type: Directive,
|
|
7500
7454
|
args: [{
|
|
7501
7455
|
standalone: true,
|
|
7502
7456
|
}]
|
|
7503
7457
|
}], propDecorators: { hasPriority: [{
|
|
7504
|
-
type: Input
|
|
7458
|
+
type: Input,
|
|
7459
|
+
args: [{ transform: booleanAttribute }]
|
|
7505
7460
|
}], imgClass: [{
|
|
7506
7461
|
type: Input
|
|
7507
7462
|
}], figureClass: [{
|
|
@@ -7530,10 +7485,10 @@ class PictureComponent {
|
|
|
7530
7485
|
this.sources = [];
|
|
7531
7486
|
this.trackBySrc = (_, item) => item.srcset;
|
|
7532
7487
|
}
|
|
7533
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.
|
|
7534
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.
|
|
7488
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: PictureComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
7489
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.1", type: PictureComponent, isStandalone: true, selector: "et-picture", inputs: { sources: "sources" }, host: { classAttribute: "et-picture" }, hostDirectives: [{ directive: PictureDataDirective, inputs: ["imgClass", "imgClass", "hasPriority", "hasPriority", "figureClass", "figureClass", "pictureClass", "pictureClass", "figcaptionClass", "figcaptionClass", "defaultSrc", "defaultSrc", "alt", "alt", "figcaption", "figcaption", "width", "width", "height", "height", "sizes", "sizes"] }], ngImport: i0, template: "<figure [ngClass]=\"pictureData.figureClass\" class=\"et-picture-figure\">\n <picture [ngClass]=\"pictureData.pictureClass\" class=\"et-picture-picture\">\n <source\n *ngFor=\"let source of sources; trackBy: trackBySrc\"\n [type]=\"source.type\"\n [attr.srcset]=\"source.srcset\"\n [attr.sizes]=\"pictureData.sizes\"\n />\n\n <img\n *ngIf=\"pictureData.defaultSrc\"\n [attr.loading]=\"pictureData.hasPriority ? 'eager' : 'lazy'\"\n [attr.fetchpriority]=\"pictureData.hasPriority ? 'high' : 'auto'\"\n [ngClass]=\"pictureData.imgClass\"\n [src]=\"pictureData.defaultSrc.srcset\"\n [attr.type]=\"pictureData.defaultSrc.type\"\n [attr.alt]=\"pictureData.alt\"\n [attr.width]=\"pictureData.width\"\n [attr.height]=\"pictureData.height\"\n [attr.sizes]=\"pictureData.sizes\"\n class=\"et-picture-img\"\n />\n </picture>\n\n <figcaption *ngIf=\"pictureData.figcaption\" [ngClass]=\"pictureData.figcaptionClass\" class=\"et-picture-figcaption\">\n {{ pictureData.figcaption }}\n </figcaption>\n</figure>\n", dependencies: [{ kind: "directive", type: NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
7535
7490
|
}
|
|
7536
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.
|
|
7491
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: PictureComponent, decorators: [{
|
|
7537
7492
|
type: Component,
|
|
7538
7493
|
args: [{ selector: 'et-picture', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, standalone: true, imports: [NgForOf, NgClass, NgIf], host: {
|
|
7539
7494
|
class: 'et-picture',
|
|
@@ -7569,37 +7524,25 @@ function PROGRESS_SPINNER_DEFAULT_OPTIONS_FACTORY() {
|
|
|
7569
7524
|
const BASE_SIZE = 100;
|
|
7570
7525
|
const BASE_STROKE_WIDTH = 10;
|
|
7571
7526
|
class ProgressSpinnerComponent {
|
|
7572
|
-
get multiColor() {
|
|
7573
|
-
return this._multiColor;
|
|
7574
|
-
}
|
|
7575
|
-
set multiColor(value) {
|
|
7576
|
-
this._multiColor = coerceBooleanProperty(value);
|
|
7577
|
-
}
|
|
7578
7527
|
get value() {
|
|
7579
7528
|
return this.mode === 'determinate' ? this._value : 0;
|
|
7580
7529
|
}
|
|
7581
7530
|
set value(v) {
|
|
7582
|
-
this._value = clamp(
|
|
7583
|
-
}
|
|
7584
|
-
get diameter() {
|
|
7585
|
-
return this._diameter;
|
|
7586
|
-
}
|
|
7587
|
-
set diameter(size) {
|
|
7588
|
-
this._diameter = coerceNumberProperty(size);
|
|
7531
|
+
this._value = clamp(numberAttribute(v, 0));
|
|
7589
7532
|
}
|
|
7590
7533
|
get strokeWidth() {
|
|
7591
7534
|
return this._strokeWidth ?? this.diameter / 10;
|
|
7592
7535
|
}
|
|
7593
7536
|
set strokeWidth(value) {
|
|
7594
|
-
this._strokeWidth =
|
|
7537
|
+
this._strokeWidth = numberAttribute(value);
|
|
7595
7538
|
}
|
|
7596
7539
|
constructor() {
|
|
7597
7540
|
this._elementRef = inject(ElementRef);
|
|
7598
7541
|
this._defaults = inject(PROGRESS_SPINNER_DEFAULT_OPTIONS);
|
|
7599
|
-
this.
|
|
7542
|
+
this.multiColor = false;
|
|
7600
7543
|
this.mode = this._elementRef.nativeElement.nodeName.toLowerCase() === 'et-spinner' ? 'indeterminate' : 'determinate';
|
|
7601
7544
|
this._value = 0;
|
|
7602
|
-
this.
|
|
7545
|
+
this.diameter = BASE_SIZE;
|
|
7603
7546
|
this._strokeWidth = null;
|
|
7604
7547
|
if (this._defaults) {
|
|
7605
7548
|
if (this._defaults.diameter) {
|
|
@@ -7629,10 +7572,10 @@ class ProgressSpinnerComponent {
|
|
|
7629
7572
|
_circleStrokeWidth() {
|
|
7630
7573
|
return (this.strokeWidth / this.diameter) * 100;
|
|
7631
7574
|
}
|
|
7632
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.
|
|
7633
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.
|
|
7575
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: ProgressSpinnerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
7576
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.1", type: ProgressSpinnerComponent, isStandalone: true, selector: "et-progress-spinner, et-spinner", inputs: { multiColor: ["multiColor", "multiColor", booleanAttribute], mode: "mode", value: "value", diameter: ["diameter", "diameter", numberAttribute], strokeWidth: "strokeWidth" }, host: { attributes: { "role": "progressbar", "tabindex": "-1" }, properties: { "class.et-circular-progress--indeterminate": "mode === \"indeterminate\"", "class.et-progress-spinner--multi-color": "multiColor", "style.width.px": "diameter", "style.height.px": "diameter", "attr.aria-valuemin": "0", "attr.aria-valuemax": "100", "attr.aria-valuenow": "mode === \"determinate\" ? value : null", "attr.mode": "mode" }, classAttribute: "et-progress-spinner" }, ngImport: i0, template: "<ng-template #circle>\n <svg\n [attr.viewBox]=\"_viewBox()\"\n class=\"et-circular-progress__indeterminate-circle-graphic\"\n xmlns=\"http://www.w3.org/2000/svg\"\n focusable=\"false\"\n >\n <circle\n [attr.r]=\"_circleRadius()\"\n [style.stroke-dasharray.px]=\"_strokeCircumference()\"\n [style.stroke-dashoffset.px]=\"_strokeCircumference() / 2\"\n [style.stroke-width.%]=\"_circleStrokeWidth()\"\n cx=\"50%\"\n cy=\"50%\"\n />\n </svg>\n</ng-template>\n\n<ng-template #spinner>\n <div class=\"et-circular-progress__circle-clipper et-circular-progress__circle-left\">\n <ng-container [ngTemplateOutlet]=\"circle\" />\n </div>\n <div class=\"et-circular-progress__gap-patch\">\n <ng-container [ngTemplateOutlet]=\"circle\" />\n </div>\n <div class=\"et-circular-progress__circle-clipper et-circular-progress__circle-right\">\n <ng-container [ngTemplateOutlet]=\"circle\" />\n </div>\n</ng-template>\n\n<div class=\"et-circular-progress__determinate-container\" aria-hidden=\"true\">\n <svg\n [attr.viewBox]=\"_viewBox()\"\n class=\"et-circular-progress__determinate-circle-graphic\"\n xmlns=\"http://www.w3.org/2000/svg\"\n focusable=\"false\"\n >\n <circle\n [attr.r]=\"_circleRadius()\"\n [style.stroke-dasharray.px]=\"_strokeCircumference()\"\n [style.stroke-dashoffset.px]=\"_strokeDashOffset()\"\n [style.stroke-width.%]=\"_circleStrokeWidth()\"\n class=\"et-circular-progress__determinate-circle\"\n cx=\"50%\"\n cy=\"50%\"\n />\n </svg>\n</div>\n\n<div class=\"et-circular-progress__indeterminate-container\" aria-hidden=\"true\">\n <div [class.et-circular-progress__color-1]=\"multiColor\" class=\"et-circular-progress__spinner-layer\">\n <ng-container [ngTemplateOutlet]=\"spinner\" />\n </div>\n\n <div class=\"et-circular-progress__spinner-layer et-circular-progress__color-2\">\n <ng-container [ngTemplateOutlet]=\"spinner\" />\n </div>\n\n <div class=\"et-circular-progress__spinner-layer et-circular-progress__color-3\">\n <ng-container [ngTemplateOutlet]=\"spinner\" />\n </div>\n\n <div class=\"et-circular-progress__spinner-layer et-circular-progress__color-4\">\n <ng-container [ngTemplateOutlet]=\"spinner\" />\n </div>\n</div>\n", styles: [":where(.et-progress-spinner){--et-progress-spinner-edges: round;--et-progress-spinner-color: #1e88e5;--et-progress-spinner-color-1: var(--et-progress-spinner-color);--et-progress-spinner-color-2: #f44336;--et-progress-spinner-color-3: #ff9800;--et-progress-spinner-color-4: #4caf50}.et-progress-spinner{position:relative;direction:ltr;transition:opacity .25s 0ms cubic-bezier(.4,0,.6,1);display:block;overflow:hidden;line-height:0}.et-progress-spinner.et-progress-spinner--multi-color .et-circular-progress__color-2,.et-progress-spinner.et-progress-spinner--multi-color .et-circular-progress__color-3,.et-progress-spinner.et-progress-spinner--multi-color .et-circular-progress__color-4{visibility:visible}.et-progress-spinner.et-progress-spinner--multi-color .et-circular-progress__color-1 .et-circular-progress__indeterminate-circle-graphic{stroke:var(--et-progress-spinner-color-1)}.et-circular-progress__determinate-circle,.et-circular-progress__indeterminate-circle-graphic{stroke:var(--et-progress-spinner-color);stroke-linecap:var(--et-progress-spinner-edges)}.et-circular-progress__color-2 .et-circular-progress__indeterminate-circle-graphic{stroke:var(--et-progress-spinner-color-2)}.et-circular-progress__color-3 .et-circular-progress__indeterminate-circle-graphic{stroke:var(--et-progress-spinner-color-3)}.et-circular-progress__color-4 .et-circular-progress__indeterminate-circle-graphic{stroke:var(--et-progress-spinner-color-4)}.et-circular-progress__color-2,.et-circular-progress__color-3,.et-circular-progress__color-4{visibility:hidden}.et-circular-progress__determinate-container,.et-circular-progress__indeterminate-circle-graphic,.et-circular-progress__indeterminate-container,.et-circular-progress__spinner-layer{position:absolute;width:100%;height:100%}.et-circular-progress__determinate-container{transform:rotate(-90deg)}.et-circular-progress__indeterminate-container{font-size:0;letter-spacing:0;white-space:nowrap;opacity:0}.et-circular-progress__determinate-circle-graphic,.et-circular-progress__indeterminate-circle-graphic{fill:#0000}.et-circular-progress__determinate-circle{transition:stroke-dashoffset .5s 0ms cubic-bezier(0,0,.2,1)}.et-circular-progress__gap-patch{position:absolute;top:0;left:47.5%;box-sizing:border-box;width:5%;height:100%;overflow:hidden}.et-circular-progress__gap-patch .et-circular-progress__indeterminate-circle-graphic{left:-900%;width:2000%;transform:rotate(180deg)}.et-circular-progress__circle-clipper{display:inline-flex;position:relative;width:50%;height:100%;overflow:hidden}.et-circular-progress__circle-clipper .et-circular-progress__indeterminate-circle-graphic{width:200%}.et-circular-progress__circle-right .et-circular-progress__indeterminate-circle-graphic{left:-100%}.et-circular-progress--indeterminate .et-circular-progress__determinate-container{opacity:0}.et-circular-progress--indeterminate .et-circular-progress__indeterminate-container{opacity:1}.et-circular-progress--indeterminate .et-circular-progress__indeterminate-container{animation:et-circular-progress-container-rotate 1.5682352941176s linear infinite}.et-circular-progress--indeterminate .et-circular-progress__spinner-layer{animation:et-circular-progress-spinner-layer-rotate 5332ms cubic-bezier(.4,0,.2,1) infinite both}.et-circular-progress--indeterminate .et-circular-progress__color-1{animation:et-circular-progress-spinner-layer-rotate 5332ms cubic-bezier(.4,0,.2,1) infinite both,et-circular-progress-color-1-fade-in-out 5332ms cubic-bezier(.4,0,.2,1) infinite both}.et-circular-progress--indeterminate .et-circular-progress__color-2{animation:et-circular-progress-spinner-layer-rotate 5332ms cubic-bezier(.4,0,.2,1) infinite both,et-circular-progress-color-2-fade-in-out 5332ms cubic-bezier(.4,0,.2,1) infinite both}.et-circular-progress--indeterminate .et-circular-progress__color-3{animation:et-circular-progress-spinner-layer-rotate 5332ms cubic-bezier(.4,0,.2,1) infinite both,et-circular-progress-color-3-fade-in-out 5332ms cubic-bezier(.4,0,.2,1) infinite both}.et-circular-progress--indeterminate .et-circular-progress__color-4{animation:et-circular-progress-spinner-layer-rotate 5332ms cubic-bezier(.4,0,.2,1) infinite both,et-circular-progress-color-4-fade-in-out 5332ms cubic-bezier(.4,0,.2,1) infinite both}.et-circular-progress--indeterminate .et-circular-progress__circle-left .et-circular-progress__indeterminate-circle-graphic{animation:et-circular-progress-left-spin 1333ms cubic-bezier(.4,0,.2,1) infinite both}.et-circular-progress--indeterminate .et-circular-progress__circle-right .et-circular-progress__indeterminate-circle-graphic{animation:et-circular-progress-right-spin 1333ms cubic-bezier(.4,0,.2,1) infinite both}@keyframes et-circular-progress-container-rotate{to{transform:rotate(360deg)}}@keyframes et-circular-progress-spinner-layer-rotate{12.5%{transform:rotate(135deg)}25%{transform:rotate(270deg)}37.5%{transform:rotate(405deg)}50%{transform:rotate(540deg)}62.5%{transform:rotate(675deg)}75%{transform:rotate(810deg)}87.5%{transform:rotate(945deg)}to{transform:rotate(1080deg)}}@keyframes et-circular-progress-color-1-fade-in-out{0%{opacity:.99}25%{opacity:.99}26%{opacity:0}50%{opacity:0}90%{opacity:.99}to{opacity:.99}}@keyframes et-circular-progress-color-2-fade-in-out{0%{opacity:0}15%{opacity:0}25%{opacity:.99}50%{opacity:.99}51%{opacity:0}to{opacity:0}}@keyframes et-circular-progress-color-3-fade-in-out{0%{opacity:0}40%{opacity:0}50%{opacity:.99}75%{opacity:.99}76%{opacity:0}to{opacity:0}}@keyframes et-circular-progress-color-4-fade-in-out{0%{opacity:0}65%{opacity:0}75%{opacity:.99}90%{opacity:.99}to{opacity:0}}@keyframes et-circular-progress-left-spin{0%{transform:rotate(260deg)}50%{transform:rotate(130deg)}to{transform:rotate(260deg)}}@keyframes et-circular-progress-right-spin{0%{transform:rotate(-260deg)}50%{transform:rotate(-130deg)}to{transform:rotate(-260deg)}}\n"], dependencies: [{ kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
7634
7577
|
}
|
|
7635
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.
|
|
7578
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: ProgressSpinnerComponent, decorators: [{
|
|
7636
7579
|
type: Component,
|
|
7637
7580
|
args: [{ selector: 'et-progress-spinner, et-spinner', standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, host: {
|
|
7638
7581
|
class: 'et-progress-spinner',
|
|
@@ -7648,13 +7591,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0", ngImpor
|
|
|
7648
7591
|
'[attr.mode]': 'mode',
|
|
7649
7592
|
}, imports: [NgTemplateOutlet, NgIf], hostDirectives: [], template: "<ng-template #circle>\n <svg\n [attr.viewBox]=\"_viewBox()\"\n class=\"et-circular-progress__indeterminate-circle-graphic\"\n xmlns=\"http://www.w3.org/2000/svg\"\n focusable=\"false\"\n >\n <circle\n [attr.r]=\"_circleRadius()\"\n [style.stroke-dasharray.px]=\"_strokeCircumference()\"\n [style.stroke-dashoffset.px]=\"_strokeCircumference() / 2\"\n [style.stroke-width.%]=\"_circleStrokeWidth()\"\n cx=\"50%\"\n cy=\"50%\"\n />\n </svg>\n</ng-template>\n\n<ng-template #spinner>\n <div class=\"et-circular-progress__circle-clipper et-circular-progress__circle-left\">\n <ng-container [ngTemplateOutlet]=\"circle\" />\n </div>\n <div class=\"et-circular-progress__gap-patch\">\n <ng-container [ngTemplateOutlet]=\"circle\" />\n </div>\n <div class=\"et-circular-progress__circle-clipper et-circular-progress__circle-right\">\n <ng-container [ngTemplateOutlet]=\"circle\" />\n </div>\n</ng-template>\n\n<div class=\"et-circular-progress__determinate-container\" aria-hidden=\"true\">\n <svg\n [attr.viewBox]=\"_viewBox()\"\n class=\"et-circular-progress__determinate-circle-graphic\"\n xmlns=\"http://www.w3.org/2000/svg\"\n focusable=\"false\"\n >\n <circle\n [attr.r]=\"_circleRadius()\"\n [style.stroke-dasharray.px]=\"_strokeCircumference()\"\n [style.stroke-dashoffset.px]=\"_strokeDashOffset()\"\n [style.stroke-width.%]=\"_circleStrokeWidth()\"\n class=\"et-circular-progress__determinate-circle\"\n cx=\"50%\"\n cy=\"50%\"\n />\n </svg>\n</div>\n\n<div class=\"et-circular-progress__indeterminate-container\" aria-hidden=\"true\">\n <div [class.et-circular-progress__color-1]=\"multiColor\" class=\"et-circular-progress__spinner-layer\">\n <ng-container [ngTemplateOutlet]=\"spinner\" />\n </div>\n\n <div class=\"et-circular-progress__spinner-layer et-circular-progress__color-2\">\n <ng-container [ngTemplateOutlet]=\"spinner\" />\n </div>\n\n <div class=\"et-circular-progress__spinner-layer et-circular-progress__color-3\">\n <ng-container [ngTemplateOutlet]=\"spinner\" />\n </div>\n\n <div class=\"et-circular-progress__spinner-layer et-circular-progress__color-4\">\n <ng-container [ngTemplateOutlet]=\"spinner\" />\n </div>\n</div>\n", styles: [":where(.et-progress-spinner){--et-progress-spinner-edges: round;--et-progress-spinner-color: #1e88e5;--et-progress-spinner-color-1: var(--et-progress-spinner-color);--et-progress-spinner-color-2: #f44336;--et-progress-spinner-color-3: #ff9800;--et-progress-spinner-color-4: #4caf50}.et-progress-spinner{position:relative;direction:ltr;transition:opacity .25s 0ms cubic-bezier(.4,0,.6,1);display:block;overflow:hidden;line-height:0}.et-progress-spinner.et-progress-spinner--multi-color .et-circular-progress__color-2,.et-progress-spinner.et-progress-spinner--multi-color .et-circular-progress__color-3,.et-progress-spinner.et-progress-spinner--multi-color .et-circular-progress__color-4{visibility:visible}.et-progress-spinner.et-progress-spinner--multi-color .et-circular-progress__color-1 .et-circular-progress__indeterminate-circle-graphic{stroke:var(--et-progress-spinner-color-1)}.et-circular-progress__determinate-circle,.et-circular-progress__indeterminate-circle-graphic{stroke:var(--et-progress-spinner-color);stroke-linecap:var(--et-progress-spinner-edges)}.et-circular-progress__color-2 .et-circular-progress__indeterminate-circle-graphic{stroke:var(--et-progress-spinner-color-2)}.et-circular-progress__color-3 .et-circular-progress__indeterminate-circle-graphic{stroke:var(--et-progress-spinner-color-3)}.et-circular-progress__color-4 .et-circular-progress__indeterminate-circle-graphic{stroke:var(--et-progress-spinner-color-4)}.et-circular-progress__color-2,.et-circular-progress__color-3,.et-circular-progress__color-4{visibility:hidden}.et-circular-progress__determinate-container,.et-circular-progress__indeterminate-circle-graphic,.et-circular-progress__indeterminate-container,.et-circular-progress__spinner-layer{position:absolute;width:100%;height:100%}.et-circular-progress__determinate-container{transform:rotate(-90deg)}.et-circular-progress__indeterminate-container{font-size:0;letter-spacing:0;white-space:nowrap;opacity:0}.et-circular-progress__determinate-circle-graphic,.et-circular-progress__indeterminate-circle-graphic{fill:#0000}.et-circular-progress__determinate-circle{transition:stroke-dashoffset .5s 0ms cubic-bezier(0,0,.2,1)}.et-circular-progress__gap-patch{position:absolute;top:0;left:47.5%;box-sizing:border-box;width:5%;height:100%;overflow:hidden}.et-circular-progress__gap-patch .et-circular-progress__indeterminate-circle-graphic{left:-900%;width:2000%;transform:rotate(180deg)}.et-circular-progress__circle-clipper{display:inline-flex;position:relative;width:50%;height:100%;overflow:hidden}.et-circular-progress__circle-clipper .et-circular-progress__indeterminate-circle-graphic{width:200%}.et-circular-progress__circle-right .et-circular-progress__indeterminate-circle-graphic{left:-100%}.et-circular-progress--indeterminate .et-circular-progress__determinate-container{opacity:0}.et-circular-progress--indeterminate .et-circular-progress__indeterminate-container{opacity:1}.et-circular-progress--indeterminate .et-circular-progress__indeterminate-container{animation:et-circular-progress-container-rotate 1.5682352941176s linear infinite}.et-circular-progress--indeterminate .et-circular-progress__spinner-layer{animation:et-circular-progress-spinner-layer-rotate 5332ms cubic-bezier(.4,0,.2,1) infinite both}.et-circular-progress--indeterminate .et-circular-progress__color-1{animation:et-circular-progress-spinner-layer-rotate 5332ms cubic-bezier(.4,0,.2,1) infinite both,et-circular-progress-color-1-fade-in-out 5332ms cubic-bezier(.4,0,.2,1) infinite both}.et-circular-progress--indeterminate .et-circular-progress__color-2{animation:et-circular-progress-spinner-layer-rotate 5332ms cubic-bezier(.4,0,.2,1) infinite both,et-circular-progress-color-2-fade-in-out 5332ms cubic-bezier(.4,0,.2,1) infinite both}.et-circular-progress--indeterminate .et-circular-progress__color-3{animation:et-circular-progress-spinner-layer-rotate 5332ms cubic-bezier(.4,0,.2,1) infinite both,et-circular-progress-color-3-fade-in-out 5332ms cubic-bezier(.4,0,.2,1) infinite both}.et-circular-progress--indeterminate .et-circular-progress__color-4{animation:et-circular-progress-spinner-layer-rotate 5332ms cubic-bezier(.4,0,.2,1) infinite both,et-circular-progress-color-4-fade-in-out 5332ms cubic-bezier(.4,0,.2,1) infinite both}.et-circular-progress--indeterminate .et-circular-progress__circle-left .et-circular-progress__indeterminate-circle-graphic{animation:et-circular-progress-left-spin 1333ms cubic-bezier(.4,0,.2,1) infinite both}.et-circular-progress--indeterminate .et-circular-progress__circle-right .et-circular-progress__indeterminate-circle-graphic{animation:et-circular-progress-right-spin 1333ms cubic-bezier(.4,0,.2,1) infinite both}@keyframes et-circular-progress-container-rotate{to{transform:rotate(360deg)}}@keyframes et-circular-progress-spinner-layer-rotate{12.5%{transform:rotate(135deg)}25%{transform:rotate(270deg)}37.5%{transform:rotate(405deg)}50%{transform:rotate(540deg)}62.5%{transform:rotate(675deg)}75%{transform:rotate(810deg)}87.5%{transform:rotate(945deg)}to{transform:rotate(1080deg)}}@keyframes et-circular-progress-color-1-fade-in-out{0%{opacity:.99}25%{opacity:.99}26%{opacity:0}50%{opacity:0}90%{opacity:.99}to{opacity:.99}}@keyframes et-circular-progress-color-2-fade-in-out{0%{opacity:0}15%{opacity:0}25%{opacity:.99}50%{opacity:.99}51%{opacity:0}to{opacity:0}}@keyframes et-circular-progress-color-3-fade-in-out{0%{opacity:0}40%{opacity:0}50%{opacity:.99}75%{opacity:.99}76%{opacity:0}to{opacity:0}}@keyframes et-circular-progress-color-4-fade-in-out{0%{opacity:0}65%{opacity:0}75%{opacity:.99}90%{opacity:.99}to{opacity:0}}@keyframes et-circular-progress-left-spin{0%{transform:rotate(260deg)}50%{transform:rotate(130deg)}to{transform:rotate(260deg)}}@keyframes et-circular-progress-right-spin{0%{transform:rotate(-260deg)}50%{transform:rotate(-130deg)}to{transform:rotate(-260deg)}}\n"] }]
|
|
7650
7593
|
}], ctorParameters: function () { return []; }, propDecorators: { multiColor: [{
|
|
7651
|
-
type: Input
|
|
7594
|
+
type: Input,
|
|
7595
|
+
args: [{ transform: booleanAttribute }]
|
|
7652
7596
|
}], mode: [{
|
|
7653
7597
|
type: Input
|
|
7654
7598
|
}], value: [{
|
|
7655
7599
|
type: Input
|
|
7656
7600
|
}], diameter: [{
|
|
7657
|
-
type: Input
|
|
7601
|
+
type: Input,
|
|
7602
|
+
args: [{ transform: numberAttribute }]
|
|
7658
7603
|
}], strokeWidth: [{
|
|
7659
7604
|
type: Input
|
|
7660
7605
|
}] } });
|
|
@@ -7665,6 +7610,7 @@ class ScrollableComponent {
|
|
|
7665
7610
|
this._renderer = inject(Renderer2);
|
|
7666
7611
|
this._elementRef = inject(ElementRef);
|
|
7667
7612
|
this._isCursorDragging$ = new BehaviorSubject(false);
|
|
7613
|
+
this._latestVisibilityStates$ = new BehaviorSubject([]);
|
|
7668
7614
|
this.itemSize = 'auto';
|
|
7669
7615
|
this.direction = 'horizontal';
|
|
7670
7616
|
this.renderMasks = true;
|
|
@@ -7682,6 +7628,53 @@ class ScrollableComponent {
|
|
|
7682
7628
|
this.elements = null;
|
|
7683
7629
|
this.scrollState$ = new BehaviorSubject(null);
|
|
7684
7630
|
}
|
|
7631
|
+
get highestVisibleIntersection() {
|
|
7632
|
+
const elements = this._latestVisibilityStates$.value;
|
|
7633
|
+
if (!elements.length) {
|
|
7634
|
+
return null;
|
|
7635
|
+
}
|
|
7636
|
+
return elements.reduce((prev, curr) => {
|
|
7637
|
+
if (!prev) {
|
|
7638
|
+
return curr;
|
|
7639
|
+
}
|
|
7640
|
+
return curr.intersectionRatio > prev.intersectionRatio ? curr : prev;
|
|
7641
|
+
});
|
|
7642
|
+
}
|
|
7643
|
+
get nextPartialIntersection() {
|
|
7644
|
+
const elements = this._latestVisibilityStates$.value;
|
|
7645
|
+
if (!elements.length) {
|
|
7646
|
+
return null;
|
|
7647
|
+
}
|
|
7648
|
+
const highestVisibleIntersection = this.highestVisibleIntersection;
|
|
7649
|
+
if (!highestVisibleIntersection) {
|
|
7650
|
+
return null;
|
|
7651
|
+
}
|
|
7652
|
+
const nextIndex = elements.slice(highestVisibleIntersection.index).findIndex((e) => !e.isIntersecting);
|
|
7653
|
+
if (nextIndex === -1) {
|
|
7654
|
+
return null;
|
|
7655
|
+
}
|
|
7656
|
+
const nextElement = elements[highestVisibleIntersection.index + nextIndex];
|
|
7657
|
+
return nextElement || null;
|
|
7658
|
+
}
|
|
7659
|
+
get previousPartialIntersection() {
|
|
7660
|
+
const elements = this._latestVisibilityStates$.value;
|
|
7661
|
+
if (!elements.length) {
|
|
7662
|
+
return null;
|
|
7663
|
+
}
|
|
7664
|
+
const highestVisibleIntersection = this.highestVisibleIntersection;
|
|
7665
|
+
if (!highestVisibleIntersection) {
|
|
7666
|
+
return null;
|
|
7667
|
+
}
|
|
7668
|
+
const previousIndex = elements
|
|
7669
|
+
.slice(0, highestVisibleIntersection.index)
|
|
7670
|
+
.reverse()
|
|
7671
|
+
.findIndex((e) => !e.isIntersecting);
|
|
7672
|
+
if (previousIndex === -1) {
|
|
7673
|
+
return null;
|
|
7674
|
+
}
|
|
7675
|
+
const previousElement = elements[highestVisibleIntersection.index - previousIndex - 1];
|
|
7676
|
+
return previousElement || null;
|
|
7677
|
+
}
|
|
7685
7678
|
ngOnInit() {
|
|
7686
7679
|
this.scrollState$
|
|
7687
7680
|
.pipe(tap((state) => {
|
|
@@ -7732,50 +7725,33 @@ class ScrollableComponent {
|
|
|
7732
7725
|
});
|
|
7733
7726
|
}
|
|
7734
7727
|
scrollOneItemSize(direction) {
|
|
7735
|
-
const elements = this.
|
|
7728
|
+
const elements = this._latestVisibilityStates$.value;
|
|
7736
7729
|
if (!elements.length) {
|
|
7737
7730
|
if (isDevMode()) {
|
|
7738
7731
|
console.warn('No elements found to scroll to. Make sure to apply the isElement directive to the elements you want to scroll to.');
|
|
7739
7732
|
}
|
|
7740
7733
|
return;
|
|
7741
7734
|
}
|
|
7742
|
-
const
|
|
7743
|
-
|
|
7744
|
-
const currentScroll = this.direction === 'horizontal' ? scrollElement.scrollLeft : scrollElement.scrollTop;
|
|
7745
|
-
const scrollableElements = elements.filter((e) => {
|
|
7746
|
-
if (!e)
|
|
7747
|
-
return false;
|
|
7748
|
-
const rect = e.elementRef.nativeElement.getBoundingClientRect();
|
|
7749
|
-
if (this.direction === 'horizontal') {
|
|
7750
|
-
return direction === 'start' ? rect.left < 0 : rect.right > parent.clientWidth;
|
|
7751
|
-
}
|
|
7752
|
-
else {
|
|
7753
|
-
return direction === 'start' ? rect.top < 0 : rect.bottom > parent.clientHeight;
|
|
7754
|
-
}
|
|
7755
|
-
});
|
|
7756
|
-
if (!scrollableElements.length) {
|
|
7757
|
-
return;
|
|
7758
|
-
}
|
|
7759
|
-
const scrollableElementRef = direction === 'start' ? scrollableElements[scrollableElements.length - 1] : scrollableElements[0];
|
|
7760
|
-
if (!scrollableElementRef) {
|
|
7735
|
+
const el = direction === 'start' ? this.previousPartialIntersection : this.nextPartialIntersection;
|
|
7736
|
+
if (!el) {
|
|
7761
7737
|
return;
|
|
7762
7738
|
}
|
|
7763
|
-
|
|
7764
|
-
|
|
7765
|
-
|
|
7766
|
-
|
|
7767
|
-
|
|
7768
|
-
|
|
7769
|
-
|
|
7770
|
-
scrollElement.scrollTo({
|
|
7771
|
-
[this.direction === 'horizontal' ? 'left' : 'top']: scrollFor,
|
|
7772
|
-
behavior: 'smooth',
|
|
7739
|
+
this.scrollToElement({
|
|
7740
|
+
element: el?.element,
|
|
7741
|
+
direction: this.direction === 'horizontal' ? 'inline' : 'block',
|
|
7742
|
+
origin: direction,
|
|
7743
|
+
...(this.direction === 'horizontal'
|
|
7744
|
+
? { scrollInlineMargin: this.scrollMargin }
|
|
7745
|
+
: { scrollBlockMargin: this.scrollMargin }),
|
|
7773
7746
|
});
|
|
7774
7747
|
}
|
|
7775
7748
|
scrollToElement(options) {
|
|
7776
7749
|
const scrollElement = this.scrollable.nativeElement;
|
|
7777
7750
|
scrollToElement({
|
|
7778
7751
|
container: scrollElement,
|
|
7752
|
+
...(this.direction === 'horizontal'
|
|
7753
|
+
? { scrollInlineMargin: this.scrollMargin }
|
|
7754
|
+
: { scrollBlockMargin: this.scrollMargin }),
|
|
7779
7755
|
...options,
|
|
7780
7756
|
});
|
|
7781
7757
|
}
|
|
@@ -7792,6 +7768,9 @@ class ScrollableComponent {
|
|
|
7792
7768
|
scrollToElement({
|
|
7793
7769
|
container: scrollElement,
|
|
7794
7770
|
element,
|
|
7771
|
+
...(this.direction === 'horizontal'
|
|
7772
|
+
? { scrollInlineMargin: this.scrollMargin }
|
|
7773
|
+
: { scrollBlockMargin: this.scrollMargin }),
|
|
7795
7774
|
...options,
|
|
7796
7775
|
});
|
|
7797
7776
|
}
|
|
@@ -7831,11 +7810,15 @@ class ScrollableComponent {
|
|
|
7831
7810
|
}))
|
|
7832
7811
|
.subscribe();
|
|
7833
7812
|
merge(fromEvent(scrollElement, 'scroll'), this._isCursorDragging$)
|
|
7834
|
-
.pipe(debounceTime(
|
|
7813
|
+
.pipe(debounceTime(300), takeUntil(this._destroy$), tap(() => {
|
|
7835
7814
|
const elements = this.elements
|
|
7836
7815
|
?.toArray()
|
|
7837
7816
|
.map((e) => e?.elementRef.nativeElement)
|
|
7838
7817
|
.filter((e) => !!e) ?? [];
|
|
7818
|
+
if (!elements.length) {
|
|
7819
|
+
this._latestVisibilityStates$.next([]);
|
|
7820
|
+
return;
|
|
7821
|
+
}
|
|
7839
7822
|
const states = getElementVisibleStates({
|
|
7840
7823
|
elements,
|
|
7841
7824
|
container: scrollElement,
|
|
@@ -7850,7 +7833,7 @@ class ScrollableComponent {
|
|
|
7850
7833
|
state.element.classList.remove(stateClass);
|
|
7851
7834
|
}
|
|
7852
7835
|
}
|
|
7853
|
-
|
|
7836
|
+
const intersectionChanges = states.map((s, i) => {
|
|
7854
7837
|
const state = {
|
|
7855
7838
|
element: s.element,
|
|
7856
7839
|
intersectionRatio: s[prop] / 100,
|
|
@@ -7858,23 +7841,26 @@ class ScrollableComponent {
|
|
|
7858
7841
|
index: i,
|
|
7859
7842
|
};
|
|
7860
7843
|
return state;
|
|
7861
|
-
})
|
|
7862
|
-
|
|
7844
|
+
});
|
|
7845
|
+
this.intersectionChange.emit(intersectionChanges);
|
|
7846
|
+
this._latestVisibilityStates$.next(intersectionChanges);
|
|
7847
|
+
if (isSnapping || this._isCursorDragging$.value || !this.snap)
|
|
7863
7848
|
return;
|
|
7864
|
-
const
|
|
7865
|
-
|
|
7849
|
+
const prev = this.previousPartialIntersection;
|
|
7850
|
+
const next = this.nextPartialIntersection;
|
|
7851
|
+
const skipSnap = !prev ||
|
|
7852
|
+
!next ||
|
|
7853
|
+
prev.intersectionRatio === 0 ||
|
|
7854
|
+
next.intersectionRatio === 0 ||
|
|
7855
|
+
prev.intersectionRatio === next.intersectionRatio;
|
|
7856
|
+
if (skipSnap)
|
|
7866
7857
|
return;
|
|
7867
|
-
const highestIntersecting =
|
|
7868
|
-
|
|
7869
|
-
|
|
7870
|
-
}
|
|
7871
|
-
return prev;
|
|
7872
|
-
});
|
|
7873
|
-
const fullIntersectionIndex = states.findIndex((s) => s[prop] === 100);
|
|
7874
|
-
const highestIntersectingIndex = states.findIndex((s) => s === highestIntersecting);
|
|
7875
|
-
const origin = highestIntersectingIndex > fullIntersectionIndex ? 'end' : 'start';
|
|
7876
|
-
if (!highestIntersecting || highestIntersecting[prop] === 100)
|
|
7858
|
+
const highestIntersecting = prev.intersectionRatio > next.intersectionRatio ? prev : next;
|
|
7859
|
+
const fullIntersectionIndex = this.highestVisibleIntersection?.index;
|
|
7860
|
+
if (fullIntersectionIndex === undefined)
|
|
7877
7861
|
return;
|
|
7862
|
+
const highestIntersectingIndex = highestIntersecting.index;
|
|
7863
|
+
const origin = highestIntersectingIndex > fullIntersectionIndex ? 'end' : 'start';
|
|
7878
7864
|
scrollToElement({
|
|
7879
7865
|
container: scrollElement,
|
|
7880
7866
|
element: highestIntersecting.element,
|
|
@@ -7891,14 +7877,14 @@ class ScrollableComponent {
|
|
|
7891
7877
|
}))
|
|
7892
7878
|
.subscribe();
|
|
7893
7879
|
}
|
|
7894
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.
|
|
7895
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.
|
|
7880
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: ScrollableComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
7881
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.1", type: ScrollableComponent, isStandalone: true, selector: "et-scrollable", inputs: { itemSize: "itemSize", direction: "direction", scrollableRole: "scrollableRole", scrollableClass: "scrollableClass", renderMasks: ["renderMasks", "renderMasks", booleanAttribute], renderButtons: ["renderButtons", "renderButtons", booleanAttribute], renderScrollbars: ["renderScrollbars", "renderScrollbars", booleanAttribute], stickyButtons: ["stickyButtons", "stickyButtons", booleanAttribute], cursorDragScroll: ["cursorDragScroll", "cursorDragScroll", booleanAttribute], disableActiveElementScrolling: ["disableActiveElementScrolling", "disableActiveElementScrolling", booleanAttribute], scrollMode: "scrollMode", snap: ["snap", "snap", booleanAttribute], scrollMargin: ["scrollMargin", "scrollMargin", numberAttribute] }, outputs: { scrollStateChange: "scrollStateChange", intersectionChange: "intersectionChange" }, host: { properties: { "attr.item-size": "this.itemSize", "attr.direction": "this.direction", "attr.render-scrollbars": "this.renderScrollbars", "attr.sticky-buttons": "this.stickyButtons" }, classAttribute: "et-scrollable" }, queries: [{ propertyName: "activeElements", predicate: IS_ACTIVE_ELEMENT, descendants: true }, { propertyName: "elements", predicate: IS_ELEMENT, descendants: true }], viewQueries: [{ propertyName: "scrollable", first: true, predicate: ["scrollable"], descendants: true, static: true }], ngImport: i0, template: "<div\n #scrollable\n [attr.role]=\"scrollableRole ?? undefined\"\n [ngClass]=\"scrollableClass\"\n [etCursorDragScroll]=\"cursorDragScroll\"\n [allowedDirection]=\"direction\"\n (etObserveScrollState)=\"_scrollStateChanged($event)\"\n (cursorDragStart)=\"setIsCursorDragging(true)\"\n (cursorDragEnd)=\"setIsCursorDragging(false)\"\n class=\"et-scrollable-container\"\n>\n <ng-content />\n</div>\n\n<div *ngIf=\"renderMasks\" class=\"et-scrollable-masks\">\n <div class=\"et-scrollable-mask et-scrollable-mask--start\"></div>\n <div class=\"et-scrollable-mask et-scrollable-mask--end\"></div>\n</div>\n\n<div *ngIf=\"renderButtons\" class=\"et-scrollable-buttons\">\n <button\n (click)=\"scrollToStartDirection()\"\n class=\"et-scrollable-button et-scrollable-button--start\"\n aria-hidden=\"true\"\n type=\"button\"\n tabindex=\"-1\"\n >\n <et-chevron-icon />\n </button>\n <button\n (click)=\"scrollToStartEnd()\"\n class=\"et-scrollable-button et-scrollable-button--end\"\n aria-hidden=\"true\"\n type=\"button\"\n tabindex=\"-1\"\n >\n <et-chevron-icon />\n </button>\n</div>\n", styles: [".et-scrollable{--mask: #121212 0, transparent 100%;--mask-size: 25px;--_auto-size: min-content;--_flow: column;display:grid;position:relative}.et-scrollable[item-size=same]{--auto-size: 1fr}.et-scrollable[item-size=full]{--auto-size: 100%}.et-scrollable[render-scrollbars=false] .et-scrollable-container{scrollbar-width:none}.et-scrollable[render-scrollbars=false] .et-scrollable-container::-webkit-scrollbar{display:none}.et-scrollable[direction=horizontal] .et-scrollable-container{grid-auto-columns:var(--_auto-size);overflow-x:auto;overflow-y:hidden}.et-scrollable[direction=horizontal] .et-scrollable-mask,.et-scrollable[direction=horizontal] .et-scrollable-button{inline-size:var(--mask-size);block-size:100%}.et-scrollable[direction=horizontal] .et-scrollable-mask--start,.et-scrollable[direction=horizontal] .et-scrollable-button--start{inset-block-start:0;inset-inline:0 0}.et-scrollable[direction=horizontal] .et-scrollable-mask--end,.et-scrollable[direction=horizontal] .et-scrollable-button--end{inset-block-start:0;inset-inline:calc(100% - 40px) 0}.et-scrollable[direction=horizontal] .et-scrollable-mask--start{background:linear-gradient(to right,var(--mask))}.et-scrollable[direction=horizontal] .et-scrollable-mask--end{background:linear-gradient(to left,var(--mask));inset-inline:calc(100% - var(--mask-size)) 100%}.et-scrollable[direction=horizontal] .et-scrollable-button--start{inset-block-start:calc(50% - 20px);transform:rotate(-90deg)}.et-scrollable[direction=horizontal] .et-scrollable-button--end{inset-block-start:calc(50% - 20px);transform:rotate(90deg)}.et-scrollable[direction=vertical]{--_flow: row}.et-scrollable[direction=vertical] .et-scrollable-container{grid-auto-rows:var(--_auto-size);overflow-x:hidden;overflow-y:auto}.et-scrollable[direction=vertical] .et-scrollable-mask,.et-scrollable[direction=vertical] .et-scrollable-button{block-size:var(--mask-size);inline-size:100%}.et-scrollable[direction=vertical] .et-scrollable-mask--start,.et-scrollable[direction=vertical] .et-scrollable-button--start{inset-block-start:0;inset-inline-start:0}.et-scrollable[direction=vertical] .et-scrollable-mask--end,.et-scrollable[direction=vertical] .et-scrollable-button--end{inset-block-end:0;inset-inline-start:0}.et-scrollable[direction=vertical] .et-scrollable-mask--start{background:linear-gradient(to bottom,var(--mask))}.et-scrollable[direction=vertical] .et-scrollable-mask--end{background:linear-gradient(to top,var(--mask))}.et-scrollable[direction=vertical] .et-scrollable-button--start{inset-inline-start:calc(50% - 20px);transform:rotate(0)}.et-scrollable[direction=vertical] .et-scrollable-button--end{inset-inline-start:calc(50% - 20px);transform:rotate(180deg)}.et-scrollable[at-start=false] .et-scrollable-masks .et-scrollable-mask--start,.et-scrollable[at-start=false] .et-scrollable-buttons .et-scrollable-button--start{opacity:1}.et-scrollable[at-start=false] .et-scrollable-buttons .et-scrollable-button--start{pointer-events:all}.et-scrollable[at-end=false] .et-scrollable-masks .et-scrollable-mask--end,.et-scrollable[at-end=false] .et-scrollable-buttons .et-scrollable-button--end{opacity:1}.et-scrollable[at-end=false] .et-scrollable-buttons .et-scrollable-button--end{pointer-events:all}.et-scrollable .et-scrollable-container{display:grid;grid-auto-flow:var(--_flow);overflow:auto;grid-row:1/1;grid-column:1/1}.et-scrollable .et-scrollable-masks,.et-scrollable .et-scrollable-buttons{grid-row:1/1;grid-column:1/1;pointer-events:none}.et-scrollable .et-scrollable-masks .et-scrollable-mask,.et-scrollable .et-scrollable-masks .et-scrollable-button,.et-scrollable .et-scrollable-buttons .et-scrollable-mask,.et-scrollable .et-scrollable-buttons .et-scrollable-button{position:absolute;opacity:0;transition:opacity .3s var(--ease-5)}.et-scrollable .et-scrollable-buttons .et-scrollable-button{background:transparent;border:none;padding:12px;inline-size:40px;block-size:40px;border-radius:4px;cursor:pointer}.et-scrollable .et-scrollable-buttons .et-scrollable-button .et-chevron-icon{pointer-events:none}.et-scrollable .et-scrollable-buttons .et-scrollable-button .et-scrollable-button--start{inset-inline:0 0}.et-scrollable .et-scrollable-buttons .et-scrollable-button .et-scrollable-button--end{inset-inline:calc(100% - 40px) 0}.et-scrollable[sticky-buttons=true]{--_sticky-margin: 10%}.et-scrollable[sticky-buttons=true] .et-scrollable-button{position:sticky}.et-scrollable[sticky-buttons=true][direction=horizontal] .et-scrollable-buttons{margin-block:var(--_sticky-margin)}.et-scrollable[sticky-buttons=true][direction=vertical] .et-scrollable-buttons{margin-inline:var(--_sticky-margin)}.et-scrollable[sticky-buttons=true][direction=vertical] .et-scrollable-buttons .et-scrollable-button--end{inset-block-start:100%}\n"], dependencies: [{ kind: "directive", type: CursorDragScrollDirective, selector: "[etCursorDragScroll]", inputs: ["etCursorDragScroll", "allowedDirection"], outputs: ["cursorDragStart", "cursorDragMove", "cursorDragEnd"], exportAs: ["etCursorDragScroll"] }, { kind: "directive", type: ObserveScrollStateDirective, selector: "[etObserveScrollState]", inputs: ["rootMargin", "observerThreshold"], outputs: ["etObserveScrollState"], exportAs: ["etObserveScrollState"] }, { kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: ChevronIconComponent, selector: "et-chevron-icon" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
7896
7882
|
}
|
|
7897
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.
|
|
7883
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: ScrollableComponent, decorators: [{
|
|
7898
7884
|
type: Component,
|
|
7899
7885
|
args: [{ selector: 'et-scrollable', standalone: true, encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, imports: [CursorDragScrollDirective, ObserveScrollStateDirective, NgClass, NgIf, LetDirective, ChevronIconComponent], host: {
|
|
7900
7886
|
class: 'et-scrollable',
|
|
7901
|
-
}, template: "<div\n #scrollable\n [attr.role]=\"scrollableRole ?? undefined\"\n [ngClass]=\"scrollableClass\"\n [etCursorDragScroll]=\"cursorDragScroll\"\n [allowedDirection]=\"direction\"\n (etObserveScrollState)=\"_scrollStateChanged($event)\"\n (cursorDragStart)=\"setIsCursorDragging(true)\"\n (cursorDragEnd)=\"setIsCursorDragging(false)\"\n class=\"et-scrollable-container\"\n>\n <ng-content />\n</div>\n\n<div *ngIf=\"renderMasks\" class=\"et-scrollable-masks\">\n <div class=\"et-scrollable-mask et-scrollable-mask--start\"></div>\n <div class=\"et-scrollable-mask et-scrollable-mask--end\"></div>\n</div>\n\n<div *ngIf=\"renderButtons\" class=\"et-scrollable-buttons\">\n <button\n (click)=\"scrollToStartDirection()\"\n class=\"et-scrollable-button et-scrollable-button--start\"\n aria-hidden=\"true\"\n type=\"button\"\n tabindex=\"-1\"\n >\n <et-chevron-icon />\n </button>\n <button\n (click)=\"scrollToStartEnd()\"\n class=\"et-scrollable-button et-scrollable-button--end\"\n aria-hidden=\"true\"\n type=\"button\"\n tabindex=\"-1\"\n >\n <et-chevron-icon />\n </button>\n</div>\n", styles: [".et-scrollable{--mask: #121212 0, transparent 100%;--mask-size: 25px;--_auto-size: min-content;--_flow: column;display:grid;position:relative}.et-scrollable[item-size=same]{--auto-size: 1fr}.et-scrollable[render-scrollbars=false] .et-scrollable-container{scrollbar-width:none}.et-scrollable[render-scrollbars=false] .et-scrollable-container::-webkit-scrollbar{display:none}.et-scrollable[direction=horizontal] .et-scrollable-container{grid-auto-columns:var(--_auto-size);overflow-x:auto;overflow-y:hidden}.et-scrollable[direction=horizontal] .et-scrollable-mask,.et-scrollable[direction=horizontal] .et-scrollable-button{inline-size:var(--mask-size);block-size:100%}.et-scrollable[direction=horizontal] .et-scrollable-mask--start,.et-scrollable[direction=horizontal] .et-scrollable-button--start{inset-block-start:0;inset-inline:0 0}.et-scrollable[direction=horizontal] .et-scrollable-mask--end,.et-scrollable[direction=horizontal] .et-scrollable-button--end{inset-block-start:0;inset-inline:calc(100% - 40px) 0}.et-scrollable[direction=horizontal] .et-scrollable-mask--start{background:linear-gradient(to right,var(--mask))}.et-scrollable[direction=horizontal] .et-scrollable-mask--end{background:linear-gradient(to left,var(--mask));inset-inline:calc(100% - var(--mask-size)) 100%}.et-scrollable[direction=horizontal] .et-scrollable-button--start{inset-block-start:calc(50% - 20px);transform:rotate(-90deg)}.et-scrollable[direction=horizontal] .et-scrollable-button--end{inset-block-start:calc(50% - 20px);transform:rotate(90deg)}.et-scrollable[direction=vertical]{--_flow: row}.et-scrollable[direction=vertical] .et-scrollable-container{grid-auto-rows:var(--_auto-size);overflow-x:hidden;overflow-y:auto}.et-scrollable[direction=vertical] .et-scrollable-mask,.et-scrollable[direction=vertical] .et-scrollable-button{block-size:var(--mask-size);inline-size:100%}.et-scrollable[direction=vertical] .et-scrollable-mask--start,.et-scrollable[direction=vertical] .et-scrollable-button--start{inset-block-start:0;inset-inline-start:0}.et-scrollable[direction=vertical] .et-scrollable-mask--end,.et-scrollable[direction=vertical] .et-scrollable-button--end{inset-block-end:0;inset-inline-start:0}.et-scrollable[direction=vertical] .et-scrollable-mask--start{background:linear-gradient(to bottom,var(--mask))}.et-scrollable[direction=vertical] .et-scrollable-mask--end{background:linear-gradient(to top,var(--mask))}.et-scrollable[at-start=false] .et-scrollable-masks .et-scrollable-mask--start,.et-scrollable[at-start=false] .et-scrollable-buttons .et-scrollable-button--start{opacity:1}.et-scrollable[at-start=false] .et-scrollable-buttons .et-scrollable-button--start{pointer-events:all}.et-scrollable[at-end=false] .et-scrollable-masks .et-scrollable-mask--end,.et-scrollable[at-end=false] .et-scrollable-buttons .et-scrollable-button--end{opacity:1}.et-scrollable[at-end=false] .et-scrollable-buttons .et-scrollable-button--end{pointer-events:all}.et-scrollable .et-scrollable-container{display:grid;grid-auto-flow:var(--_flow);overflow:auto;grid-row:1/1;grid-column:1/1}.et-scrollable .et-scrollable-masks,.et-scrollable .et-scrollable-buttons{grid-row:1/1;grid-column:1/1;pointer-events:none}.et-scrollable .et-scrollable-masks .et-scrollable-mask,.et-scrollable .et-scrollable-masks .et-scrollable-button,.et-scrollable .et-scrollable-buttons .et-scrollable-mask,.et-scrollable .et-scrollable-buttons .et-scrollable-button{position:absolute;opacity:0;transition:opacity .3s var(--ease-5)}.et-scrollable .et-scrollable-buttons .et-scrollable-button{background:transparent;border:none;padding:12px;inline-size:40px;block-size:40px;border-radius:4px;cursor:pointer}.et-scrollable .et-scrollable-buttons .et-scrollable-button .et-chevron-icon{pointer-events:none}.et-scrollable .et-scrollable-buttons .et-scrollable-button .et-scrollable-button--start{inset-inline:0 0}.et-scrollable .et-scrollable-buttons .et-scrollable-button .et-scrollable-button--end{inset-inline:calc(100% - 40px) 0}.et-scrollable[sticky-buttons=true] .et-scrollable-buttons{margin-block:
|
|
7887
|
+
}, template: "<div\n #scrollable\n [attr.role]=\"scrollableRole ?? undefined\"\n [ngClass]=\"scrollableClass\"\n [etCursorDragScroll]=\"cursorDragScroll\"\n [allowedDirection]=\"direction\"\n (etObserveScrollState)=\"_scrollStateChanged($event)\"\n (cursorDragStart)=\"setIsCursorDragging(true)\"\n (cursorDragEnd)=\"setIsCursorDragging(false)\"\n class=\"et-scrollable-container\"\n>\n <ng-content />\n</div>\n\n<div *ngIf=\"renderMasks\" class=\"et-scrollable-masks\">\n <div class=\"et-scrollable-mask et-scrollable-mask--start\"></div>\n <div class=\"et-scrollable-mask et-scrollable-mask--end\"></div>\n</div>\n\n<div *ngIf=\"renderButtons\" class=\"et-scrollable-buttons\">\n <button\n (click)=\"scrollToStartDirection()\"\n class=\"et-scrollable-button et-scrollable-button--start\"\n aria-hidden=\"true\"\n type=\"button\"\n tabindex=\"-1\"\n >\n <et-chevron-icon />\n </button>\n <button\n (click)=\"scrollToStartEnd()\"\n class=\"et-scrollable-button et-scrollable-button--end\"\n aria-hidden=\"true\"\n type=\"button\"\n tabindex=\"-1\"\n >\n <et-chevron-icon />\n </button>\n</div>\n", styles: [".et-scrollable{--mask: #121212 0, transparent 100%;--mask-size: 25px;--_auto-size: min-content;--_flow: column;display:grid;position:relative}.et-scrollable[item-size=same]{--auto-size: 1fr}.et-scrollable[item-size=full]{--auto-size: 100%}.et-scrollable[render-scrollbars=false] .et-scrollable-container{scrollbar-width:none}.et-scrollable[render-scrollbars=false] .et-scrollable-container::-webkit-scrollbar{display:none}.et-scrollable[direction=horizontal] .et-scrollable-container{grid-auto-columns:var(--_auto-size);overflow-x:auto;overflow-y:hidden}.et-scrollable[direction=horizontal] .et-scrollable-mask,.et-scrollable[direction=horizontal] .et-scrollable-button{inline-size:var(--mask-size);block-size:100%}.et-scrollable[direction=horizontal] .et-scrollable-mask--start,.et-scrollable[direction=horizontal] .et-scrollable-button--start{inset-block-start:0;inset-inline:0 0}.et-scrollable[direction=horizontal] .et-scrollable-mask--end,.et-scrollable[direction=horizontal] .et-scrollable-button--end{inset-block-start:0;inset-inline:calc(100% - 40px) 0}.et-scrollable[direction=horizontal] .et-scrollable-mask--start{background:linear-gradient(to right,var(--mask))}.et-scrollable[direction=horizontal] .et-scrollable-mask--end{background:linear-gradient(to left,var(--mask));inset-inline:calc(100% - var(--mask-size)) 100%}.et-scrollable[direction=horizontal] .et-scrollable-button--start{inset-block-start:calc(50% - 20px);transform:rotate(-90deg)}.et-scrollable[direction=horizontal] .et-scrollable-button--end{inset-block-start:calc(50% - 20px);transform:rotate(90deg)}.et-scrollable[direction=vertical]{--_flow: row}.et-scrollable[direction=vertical] .et-scrollable-container{grid-auto-rows:var(--_auto-size);overflow-x:hidden;overflow-y:auto}.et-scrollable[direction=vertical] .et-scrollable-mask,.et-scrollable[direction=vertical] .et-scrollable-button{block-size:var(--mask-size);inline-size:100%}.et-scrollable[direction=vertical] .et-scrollable-mask--start,.et-scrollable[direction=vertical] .et-scrollable-button--start{inset-block-start:0;inset-inline-start:0}.et-scrollable[direction=vertical] .et-scrollable-mask--end,.et-scrollable[direction=vertical] .et-scrollable-button--end{inset-block-end:0;inset-inline-start:0}.et-scrollable[direction=vertical] .et-scrollable-mask--start{background:linear-gradient(to bottom,var(--mask))}.et-scrollable[direction=vertical] .et-scrollable-mask--end{background:linear-gradient(to top,var(--mask))}.et-scrollable[direction=vertical] .et-scrollable-button--start{inset-inline-start:calc(50% - 20px);transform:rotate(0)}.et-scrollable[direction=vertical] .et-scrollable-button--end{inset-inline-start:calc(50% - 20px);transform:rotate(180deg)}.et-scrollable[at-start=false] .et-scrollable-masks .et-scrollable-mask--start,.et-scrollable[at-start=false] .et-scrollable-buttons .et-scrollable-button--start{opacity:1}.et-scrollable[at-start=false] .et-scrollable-buttons .et-scrollable-button--start{pointer-events:all}.et-scrollable[at-end=false] .et-scrollable-masks .et-scrollable-mask--end,.et-scrollable[at-end=false] .et-scrollable-buttons .et-scrollable-button--end{opacity:1}.et-scrollable[at-end=false] .et-scrollable-buttons .et-scrollable-button--end{pointer-events:all}.et-scrollable .et-scrollable-container{display:grid;grid-auto-flow:var(--_flow);overflow:auto;grid-row:1/1;grid-column:1/1}.et-scrollable .et-scrollable-masks,.et-scrollable .et-scrollable-buttons{grid-row:1/1;grid-column:1/1;pointer-events:none}.et-scrollable .et-scrollable-masks .et-scrollable-mask,.et-scrollable .et-scrollable-masks .et-scrollable-button,.et-scrollable .et-scrollable-buttons .et-scrollable-mask,.et-scrollable .et-scrollable-buttons .et-scrollable-button{position:absolute;opacity:0;transition:opacity .3s var(--ease-5)}.et-scrollable .et-scrollable-buttons .et-scrollable-button{background:transparent;border:none;padding:12px;inline-size:40px;block-size:40px;border-radius:4px;cursor:pointer}.et-scrollable .et-scrollable-buttons .et-scrollable-button .et-chevron-icon{pointer-events:none}.et-scrollable .et-scrollable-buttons .et-scrollable-button .et-scrollable-button--start{inset-inline:0 0}.et-scrollable .et-scrollable-buttons .et-scrollable-button .et-scrollable-button--end{inset-inline:calc(100% - 40px) 0}.et-scrollable[sticky-buttons=true]{--_sticky-margin: 10%}.et-scrollable[sticky-buttons=true] .et-scrollable-button{position:sticky}.et-scrollable[sticky-buttons=true][direction=horizontal] .et-scrollable-buttons{margin-block:var(--_sticky-margin)}.et-scrollable[sticky-buttons=true][direction=vertical] .et-scrollable-buttons{margin-inline:var(--_sticky-margin)}.et-scrollable[sticky-buttons=true][direction=vertical] .et-scrollable-buttons .et-scrollable-button--end{inset-block-start:100%}\n"] }]
|
|
7902
7888
|
}], propDecorators: { itemSize: [{
|
|
7903
7889
|
type: Input
|
|
7904
7890
|
}, {
|
|
@@ -7972,18 +7958,12 @@ const ScrollableImports = [
|
|
|
7972
7958
|
class SkeletonComponent {
|
|
7973
7959
|
constructor() {
|
|
7974
7960
|
this.loadingAllyText = 'Loading...';
|
|
7975
|
-
this.
|
|
7976
|
-
}
|
|
7977
|
-
get animated() {
|
|
7978
|
-
return this._animated;
|
|
7961
|
+
this.animated = true;
|
|
7979
7962
|
}
|
|
7980
|
-
|
|
7981
|
-
|
|
7982
|
-
}
|
|
7983
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.0", ngImport: i0, type: SkeletonComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
7984
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.0", type: SkeletonComponent, isStandalone: true, selector: "et-skeleton", inputs: { loadingAllyText: "loadingAllyText", animated: "animated" }, host: { properties: { "class.et-skeleton--animated": "this.animated" }, classAttribute: "et-skeleton" }, ngImport: i0, template: ` <span class="cdk-visually-hidden"> {{ loadingAllyText }} </span> <ng-content />`, isInline: true, styles: [":where(.et-skeleton){--et-skeleton-gradient: linear-gradient( 90deg, rgba(190, 190, 190, 0) 15%, rgba(129, 129, 129, .5) 37%, rgba(190, 190, 190, 0) 63% );--et-skeleton-animation-duration: 3s;--et-skeleton-animation-timing-function: var(--ease-3)}.et-skeleton{display:block;cursor:progress}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
7963
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: SkeletonComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
7964
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.1", type: SkeletonComponent, isStandalone: true, selector: "et-skeleton", inputs: { loadingAllyText: "loadingAllyText", animated: ["animated", "animated", booleanAttribute] }, host: { properties: { "class.et-skeleton--animated": "this.animated" }, classAttribute: "et-skeleton" }, ngImport: i0, template: ` <span class="cdk-visually-hidden"> {{ loadingAllyText }} </span> <ng-content />`, isInline: true, styles: [":where(.et-skeleton){--et-skeleton-gradient: linear-gradient( 90deg, rgba(190, 190, 190, 0) 15%, rgba(129, 129, 129, .5) 37%, rgba(190, 190, 190, 0) 63% );--et-skeleton-animation-duration: 3s;--et-skeleton-animation-timing-function: var(--ease-3)}.et-skeleton{display:block;cursor:progress}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
7985
7965
|
}
|
|
7986
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.
|
|
7966
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: SkeletonComponent, decorators: [{
|
|
7987
7967
|
type: Component,
|
|
7988
7968
|
args: [{ selector: 'et-skeleton', template: ` <span class="cdk-visually-hidden"> {{ loadingAllyText }} </span> <ng-content />`, standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, host: {
|
|
7989
7969
|
class: 'et-skeleton',
|
|
@@ -7991,7 +7971,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0", ngImpor
|
|
|
7991
7971
|
}], propDecorators: { loadingAllyText: [{
|
|
7992
7972
|
type: Input
|
|
7993
7973
|
}], animated: [{
|
|
7994
|
-
type: Input
|
|
7974
|
+
type: Input,
|
|
7975
|
+
args: [{ transform: booleanAttribute }]
|
|
7995
7976
|
}, {
|
|
7996
7977
|
type: HostBinding,
|
|
7997
7978
|
args: ['class.et-skeleton--animated']
|
|
@@ -8001,10 +7982,10 @@ class SkeletonItemComponent {
|
|
|
8001
7982
|
constructor() {
|
|
8002
7983
|
this.ariaHidden = true;
|
|
8003
7984
|
}
|
|
8004
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.
|
|
8005
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.
|
|
7985
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: SkeletonItemComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
7986
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.1", type: SkeletonItemComponent, isStandalone: true, selector: "et-skeleton-item", host: { properties: { "attr.aria-hidden": "this.ariaHidden" }, classAttribute: "et-skeleton-item" }, ngImport: i0, template: ``, isInline: true, styles: [".et-skeleton-item{display:block;overflow:hidden;position:relative}.et-skeleton--animated .et-skeleton-item:before{content:\"\";height:100%;left:0;position:absolute;right:0;top:0;transform:translate(-100%);z-index:1;background:var(--et-skeleton-gradient)}@media (prefers-reduced-motion: no-preference){.et-skeleton--animated .et-skeleton-item:before{animation:skeleton-loading var(--et-skeleton-animation-duration) infinite var(--et-skeleton-animation-timing-function)}}@keyframes skeleton-loading{0%{transform:translate(-100%)}to{transform:translate(100%)}}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
8006
7987
|
}
|
|
8007
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.
|
|
7988
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: SkeletonItemComponent, decorators: [{
|
|
8008
7989
|
type: Component,
|
|
8009
7990
|
args: [{ selector: 'et-skeleton-item', template: ``, standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, host: {
|
|
8010
7991
|
class: 'et-skeleton-item',
|
|
@@ -8017,10 +7998,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0", ngImpor
|
|
|
8017
7998
|
const SkeletonImports = [SkeletonComponent, SkeletonItemComponent];
|
|
8018
7999
|
|
|
8019
8000
|
class CellDirective extends CdkCell {
|
|
8020
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.
|
|
8021
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.
|
|
8001
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: CellDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
|
|
8002
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.1", type: CellDirective, isStandalone: true, selector: "et-cell, td[et-cell]", host: { classAttribute: "et-cell et-data-table__cell" }, usesInheritance: true, ngImport: i0 }); }
|
|
8022
8003
|
}
|
|
8023
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.
|
|
8004
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: CellDirective, decorators: [{
|
|
8024
8005
|
type: Directive,
|
|
8025
8006
|
args: [{
|
|
8026
8007
|
selector: 'et-cell, td[et-cell]',
|
|
@@ -8032,10 +8013,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0", ngImpor
|
|
|
8032
8013
|
}] });
|
|
8033
8014
|
|
|
8034
8015
|
class CellDefDirective extends CdkCellDef {
|
|
8035
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.
|
|
8036
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.
|
|
8016
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: CellDefDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
|
|
8017
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.1", type: CellDefDirective, isStandalone: true, selector: "[etCellDef]", providers: [{ provide: CdkCellDef, useExisting: CellDefDirective }], usesInheritance: true, ngImport: i0 }); }
|
|
8037
8018
|
}
|
|
8038
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.
|
|
8019
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: CellDefDirective, decorators: [{
|
|
8039
8020
|
type: Directive,
|
|
8040
8021
|
args: [{
|
|
8041
8022
|
selector: '[etCellDef]',
|
|
@@ -8059,13 +8040,13 @@ class ColumnDefDirective extends CdkColumnDef {
|
|
|
8059
8040
|
super._updateColumnCssClassName();
|
|
8060
8041
|
this._columnCssClassName?.push(`et-column-${this.cssClassFriendlyName}`);
|
|
8061
8042
|
}
|
|
8062
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.
|
|
8063
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.
|
|
8043
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: ColumnDefDirective, deps: [{ token: CDK_TABLE, optional: true }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
8044
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.1", type: ColumnDefDirective, isStandalone: true, selector: "[etColumnDef]", inputs: { name: ["etColumnDef", "name"] }, providers: [
|
|
8064
8045
|
{ provide: CdkColumnDef, useExisting: ColumnDefDirective },
|
|
8065
8046
|
{ provide: SORT_HEADER_COLUMN_DEF, useExisting: ColumnDefDirective },
|
|
8066
8047
|
], usesInheritance: true, ngImport: i0 }); }
|
|
8067
8048
|
}
|
|
8068
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.
|
|
8049
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: ColumnDefDirective, decorators: [{
|
|
8069
8050
|
type: Directive,
|
|
8070
8051
|
args: [{
|
|
8071
8052
|
selector: '[etColumnDef]',
|
|
@@ -8086,10 +8067,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0", ngImpor
|
|
|
8086
8067
|
}] } });
|
|
8087
8068
|
|
|
8088
8069
|
class FooterCellDirective extends CdkFooterCell {
|
|
8089
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.
|
|
8090
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.
|
|
8070
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: FooterCellDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
|
|
8071
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.1", type: FooterCellDirective, isStandalone: true, selector: "et-footer-cell, td[et-footer-cell]", host: { classAttribute: "et-footer-cell et-data-table__cell" }, usesInheritance: true, ngImport: i0 }); }
|
|
8091
8072
|
}
|
|
8092
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.
|
|
8073
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: FooterCellDirective, decorators: [{
|
|
8093
8074
|
type: Directive,
|
|
8094
8075
|
args: [{
|
|
8095
8076
|
selector: 'et-footer-cell, td[et-footer-cell]',
|
|
@@ -8101,10 +8082,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0", ngImpor
|
|
|
8101
8082
|
}] });
|
|
8102
8083
|
|
|
8103
8084
|
class FooterCellDefDirective extends CdkFooterCellDef {
|
|
8104
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.
|
|
8105
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.
|
|
8085
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: FooterCellDefDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
|
|
8086
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.1", type: FooterCellDefDirective, isStandalone: true, selector: "[etFooterCellDef]", providers: [{ provide: CdkFooterCellDef, useExisting: FooterCellDefDirective }], usesInheritance: true, ngImport: i0 }); }
|
|
8106
8087
|
}
|
|
8107
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.
|
|
8088
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: FooterCellDefDirective, decorators: [{
|
|
8108
8089
|
type: Directive,
|
|
8109
8090
|
args: [{
|
|
8110
8091
|
selector: '[etFooterCellDef]',
|
|
@@ -8114,10 +8095,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0", ngImpor
|
|
|
8114
8095
|
}] });
|
|
8115
8096
|
|
|
8116
8097
|
class HeaderCellDirective extends CdkHeaderCell {
|
|
8117
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.
|
|
8118
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.
|
|
8098
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: HeaderCellDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
|
|
8099
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.1", type: HeaderCellDirective, isStandalone: true, selector: "et-header-cell, th[et-header-cell]", host: { attributes: { "role": "columnheader" }, classAttribute: "et-header-cell et-data-table__header-cell" }, usesInheritance: true, ngImport: i0 }); }
|
|
8119
8100
|
}
|
|
8120
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.
|
|
8101
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: HeaderCellDirective, decorators: [{
|
|
8121
8102
|
type: Directive,
|
|
8122
8103
|
args: [{
|
|
8123
8104
|
selector: 'et-header-cell, th[et-header-cell]',
|
|
@@ -8130,10 +8111,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0", ngImpor
|
|
|
8130
8111
|
}] });
|
|
8131
8112
|
|
|
8132
8113
|
class HeaderCellDefDirective extends CdkHeaderCellDef {
|
|
8133
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.
|
|
8134
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.
|
|
8114
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: HeaderCellDefDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
|
|
8115
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.1", type: HeaderCellDefDirective, isStandalone: true, selector: "[etHeaderCellDef]", providers: [{ provide: CdkHeaderCellDef, useExisting: HeaderCellDefDirective }], usesInheritance: true, ngImport: i0 }); }
|
|
8135
8116
|
}
|
|
8136
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.
|
|
8117
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: HeaderCellDefDirective, decorators: [{
|
|
8137
8118
|
type: Directive,
|
|
8138
8119
|
args: [{
|
|
8139
8120
|
selector: '[etHeaderCellDef]',
|
|
@@ -8146,8 +8127,8 @@ class TextColumnComponent extends CdkTextColumn {
|
|
|
8146
8127
|
constructor(_table, _options) {
|
|
8147
8128
|
super(_table, _options);
|
|
8148
8129
|
}
|
|
8149
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.
|
|
8150
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.
|
|
8130
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: TextColumnComponent, deps: [{ token: i1$3.CdkTable, optional: true }, { token: TEXT_COLUMN_OPTIONS, optional: true }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
8131
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.1", type: TextColumnComponent, isStandalone: true, selector: "et-text-column", usesInheritance: true, ngImport: i0, template: `
|
|
8151
8132
|
<ng-container etColumnDef>
|
|
8152
8133
|
<th *etHeaderCellDef [style.text-align]="justify" et-header-cell>
|
|
8153
8134
|
{{ headerText }}
|
|
@@ -8159,7 +8140,7 @@ class TextColumnComponent extends CdkTextColumn {
|
|
|
8159
8140
|
</ng-container>
|
|
8160
8141
|
`, isInline: true, dependencies: [{ kind: "directive", type: ColumnDefDirective, selector: "[etColumnDef]", inputs: ["etColumnDef"] }, { kind: "directive", type: HeaderCellDefDirective, selector: "[etHeaderCellDef]" }, { kind: "directive", type: HeaderCellDirective, selector: "et-header-cell, th[et-header-cell]" }, { kind: "directive", type: CellDefDirective, selector: "[etCellDef]" }, { kind: "directive", type: CellDirective, selector: "et-cell, td[et-cell]" }], changeDetection: i0.ChangeDetectionStrategy.Default, encapsulation: i0.ViewEncapsulation.None }); }
|
|
8161
8142
|
}
|
|
8162
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.
|
|
8143
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: TextColumnComponent, decorators: [{
|
|
8163
8144
|
type: Component,
|
|
8164
8145
|
args: [{
|
|
8165
8146
|
selector: 'et-text-column',
|
|
@@ -8189,10 +8170,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0", ngImpor
|
|
|
8189
8170
|
}] }]; } });
|
|
8190
8171
|
|
|
8191
8172
|
class FooterRowComponent extends CdkFooterRow {
|
|
8192
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.
|
|
8193
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.
|
|
8173
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: FooterRowComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
8174
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.1", type: FooterRowComponent, isStandalone: true, selector: "et-footer-row, tr[et-footer-row]", host: { attributes: { "role": "row" }, classAttribute: "et-footer-row et-data-table__row" }, providers: [{ provide: CdkFooterRow, useExisting: FooterRowComponent }], exportAs: ["etFooterRow"], usesInheritance: true, ngImport: i0, template: "<ng-container cdkCellOutlet></ng-container>", isInline: true, dependencies: [{ kind: "ngmodule", type: CdkTableModule }, { kind: "directive", type: i1$3.CdkCellOutlet, selector: "[cdkCellOutlet]" }], changeDetection: i0.ChangeDetectionStrategy.Default, encapsulation: i0.ViewEncapsulation.None }); }
|
|
8194
8175
|
}
|
|
8195
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.
|
|
8176
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: FooterRowComponent, decorators: [{
|
|
8196
8177
|
type: Component,
|
|
8197
8178
|
args: [{
|
|
8198
8179
|
selector: 'et-footer-row, tr[et-footer-row]',
|
|
@@ -8214,10 +8195,10 @@ class FooterRowDefDirective extends CdkFooterRowDef {
|
|
|
8214
8195
|
constructor(template, _differs, _table) {
|
|
8215
8196
|
super(template, _differs, _table);
|
|
8216
8197
|
}
|
|
8217
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.
|
|
8218
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.
|
|
8198
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: FooterRowDefDirective, deps: [{ token: i0.TemplateRef }, { token: i0.IterableDiffers }, { token: CDK_TABLE, optional: true }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
8199
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.1", type: FooterRowDefDirective, isStandalone: true, selector: "[etFooterRowDef]", inputs: { columns: ["etFooterRowDef", "columns"], sticky: ["etFooterRowDefSticky", "sticky"] }, providers: [{ provide: CdkFooterRowDef, useExisting: FooterRowDefDirective }], usesInheritance: true, ngImport: i0 }); }
|
|
8219
8200
|
}
|
|
8220
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.
|
|
8201
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: FooterRowDefDirective, decorators: [{
|
|
8221
8202
|
type: Directive,
|
|
8222
8203
|
args: [{
|
|
8223
8204
|
selector: '[etFooterRowDef]',
|
|
@@ -8234,10 +8215,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0", ngImpor
|
|
|
8234
8215
|
}] }]; } });
|
|
8235
8216
|
|
|
8236
8217
|
class HeaderRowComponent extends CdkHeaderRow {
|
|
8237
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.
|
|
8238
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.
|
|
8218
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: HeaderRowComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
8219
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.1", type: HeaderRowComponent, isStandalone: true, selector: "et-header-row, tr[et-header-row]", host: { attributes: { "role": "row" }, classAttribute: "et-header-row et-data-table__header-row" }, providers: [{ provide: CdkHeaderRow, useExisting: HeaderRowComponent }], exportAs: ["etHeaderRow"], usesInheritance: true, ngImport: i0, template: "<ng-container cdkCellOutlet></ng-container>", isInline: true, dependencies: [{ kind: "ngmodule", type: CdkTableModule }, { kind: "directive", type: i1$3.CdkCellOutlet, selector: "[cdkCellOutlet]" }], changeDetection: i0.ChangeDetectionStrategy.Default, encapsulation: i0.ViewEncapsulation.None }); }
|
|
8239
8220
|
}
|
|
8240
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.
|
|
8221
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: HeaderRowComponent, decorators: [{
|
|
8241
8222
|
type: Component,
|
|
8242
8223
|
args: [{
|
|
8243
8224
|
selector: 'et-header-row, tr[et-header-row]',
|
|
@@ -8259,10 +8240,10 @@ class HeaderRowDefDirective extends CdkHeaderRowDef {
|
|
|
8259
8240
|
constructor(template, _differs, _table) {
|
|
8260
8241
|
super(template, _differs, _table);
|
|
8261
8242
|
}
|
|
8262
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.
|
|
8263
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.
|
|
8243
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: HeaderRowDefDirective, deps: [{ token: i0.TemplateRef }, { token: i0.IterableDiffers }, { token: CDK_TABLE, optional: true }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
8244
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.1", type: HeaderRowDefDirective, isStandalone: true, selector: "[etHeaderRowDef]", inputs: { columns: ["etHeaderRowDef", "columns"], sticky: ["etHeaderRowDefSticky", "sticky"] }, providers: [{ provide: CdkHeaderRowDef, useExisting: HeaderRowDefDirective }], usesInheritance: true, ngImport: i0 }); }
|
|
8264
8245
|
}
|
|
8265
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.
|
|
8246
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: HeaderRowDefDirective, decorators: [{
|
|
8266
8247
|
type: Directive,
|
|
8267
8248
|
args: [{
|
|
8268
8249
|
selector: '[etHeaderRowDef]',
|
|
@@ -8283,10 +8264,10 @@ class NoDataRowDirective extends CdkNoDataRow {
|
|
|
8283
8264
|
super(...arguments);
|
|
8284
8265
|
this._contentClassName = 'et-no-data-row';
|
|
8285
8266
|
}
|
|
8286
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.
|
|
8287
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.
|
|
8267
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: NoDataRowDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
|
|
8268
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.1", type: NoDataRowDirective, isStandalone: true, selector: "ng-template[etNoDataRow]", providers: [{ provide: CdkNoDataRow, useExisting: NoDataRowDirective }], usesInheritance: true, ngImport: i0 }); }
|
|
8288
8269
|
}
|
|
8289
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.
|
|
8270
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: NoDataRowDirective, decorators: [{
|
|
8290
8271
|
type: Directive,
|
|
8291
8272
|
args: [{
|
|
8292
8273
|
selector: 'ng-template[etNoDataRow]',
|
|
@@ -8296,10 +8277,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0", ngImpor
|
|
|
8296
8277
|
}] });
|
|
8297
8278
|
|
|
8298
8279
|
class RecycleRowsDirective {
|
|
8299
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.
|
|
8300
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.
|
|
8280
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: RecycleRowsDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
8281
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.1", type: RecycleRowsDirective, isStandalone: true, selector: "et-table[recycleRows], table[et-table][recycleRows]", providers: [{ provide: _VIEW_REPEATER_STRATEGY, useClass: _RecycleViewRepeaterStrategy }], ngImport: i0 }); }
|
|
8301
8282
|
}
|
|
8302
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.
|
|
8283
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: RecycleRowsDirective, decorators: [{
|
|
8303
8284
|
type: Directive,
|
|
8304
8285
|
args: [{
|
|
8305
8286
|
selector: 'et-table[recycleRows], table[et-table][recycleRows]',
|
|
@@ -8309,10 +8290,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0", ngImpor
|
|
|
8309
8290
|
}] });
|
|
8310
8291
|
|
|
8311
8292
|
class RowComponent extends CdkRow {
|
|
8312
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.
|
|
8313
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.
|
|
8293
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: RowComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
8294
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.1", type: RowComponent, isStandalone: true, selector: "et-row, [et-row], [et-row]", host: { attributes: { "role": "row" }, classAttribute: "et-row et-data-table__row" }, providers: [{ provide: CdkRow, useExisting: RowComponent }], exportAs: ["etRow"], usesInheritance: true, ngImport: i0, template: "<ng-container cdkCellOutlet></ng-container>", isInline: true, dependencies: [{ kind: "ngmodule", type: CdkTableModule }, { kind: "directive", type: i1$3.CdkCellOutlet, selector: "[cdkCellOutlet]" }], changeDetection: i0.ChangeDetectionStrategy.Default, encapsulation: i0.ViewEncapsulation.None }); }
|
|
8314
8295
|
}
|
|
8315
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.
|
|
8296
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: RowComponent, decorators: [{
|
|
8316
8297
|
type: Component,
|
|
8317
8298
|
args: [{
|
|
8318
8299
|
selector: 'et-row, [et-row], [et-row]',
|
|
@@ -8334,10 +8315,10 @@ class RowDefDirective extends CdkRowDef {
|
|
|
8334
8315
|
constructor(template, _differs, _table) {
|
|
8335
8316
|
super(template, _differs, _table);
|
|
8336
8317
|
}
|
|
8337
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.
|
|
8338
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.
|
|
8318
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: RowDefDirective, deps: [{ token: i0.TemplateRef }, { token: i0.IterableDiffers }, { token: CDK_TABLE, optional: true }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
8319
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.1", type: RowDefDirective, isStandalone: true, selector: "[etRowDef]", inputs: { columns: ["etRowDefColumns", "columns"], when: ["etRowDefWhen", "when"] }, providers: [{ provide: CdkRowDef, useExisting: RowDefDirective }], usesInheritance: true, ngImport: i0 }); }
|
|
8339
8320
|
}
|
|
8340
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.
|
|
8321
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: RowDefDirective, decorators: [{
|
|
8341
8322
|
type: Directive,
|
|
8342
8323
|
args: [{
|
|
8343
8324
|
selector: '[etRowDef]',
|
|
@@ -8354,40 +8335,40 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0", ngImpor
|
|
|
8354
8335
|
}] }]; } });
|
|
8355
8336
|
|
|
8356
8337
|
class TableBusyDirective {
|
|
8357
|
-
constructor(
|
|
8358
|
-
this.templateRef =
|
|
8338
|
+
constructor() {
|
|
8339
|
+
this.templateRef = inject(TemplateRef);
|
|
8359
8340
|
this._contentClassName = 'et-table-busy';
|
|
8360
8341
|
}
|
|
8361
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.
|
|
8362
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.
|
|
8342
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: TableBusyDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
8343
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.1", type: TableBusyDirective, isStandalone: true, selector: "ng-template[etTableBusy]", ngImport: i0 }); }
|
|
8363
8344
|
}
|
|
8364
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.
|
|
8345
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: TableBusyDirective, decorators: [{
|
|
8365
8346
|
type: Directive,
|
|
8366
8347
|
args: [{
|
|
8367
8348
|
selector: 'ng-template[etTableBusy]',
|
|
8368
8349
|
standalone: true,
|
|
8369
8350
|
}]
|
|
8370
|
-
}]
|
|
8351
|
+
}] });
|
|
8371
8352
|
|
|
8372
8353
|
class TableBusyOutletDirective {
|
|
8373
|
-
constructor(
|
|
8374
|
-
this.viewContainer =
|
|
8375
|
-
this.elementRef =
|
|
8354
|
+
constructor() {
|
|
8355
|
+
this.viewContainer = inject(ViewContainerRef);
|
|
8356
|
+
this.elementRef = inject(ElementRef);
|
|
8376
8357
|
}
|
|
8377
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.
|
|
8378
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.
|
|
8358
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: TableBusyOutletDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
8359
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.1", type: TableBusyOutletDirective, isStandalone: true, selector: "[tableBusyOutlet]", ngImport: i0 }); }
|
|
8379
8360
|
}
|
|
8380
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.
|
|
8361
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: TableBusyOutletDirective, decorators: [{
|
|
8381
8362
|
type: Directive,
|
|
8382
8363
|
args: [{ selector: '[tableBusyOutlet]', standalone: true }]
|
|
8383
|
-
}]
|
|
8364
|
+
}] });
|
|
8384
8365
|
|
|
8385
8366
|
class TableComponent extends CdkTable {
|
|
8386
8367
|
get busy() {
|
|
8387
8368
|
return this._busy;
|
|
8388
8369
|
}
|
|
8389
8370
|
set busy(value) {
|
|
8390
|
-
this._busy =
|
|
8371
|
+
this._busy = booleanAttribute(value);
|
|
8391
8372
|
this._updateTableBusy();
|
|
8392
8373
|
}
|
|
8393
8374
|
get _attrAriaBusy() {
|
|
@@ -8434,8 +8415,8 @@ class TableComponent extends CdkTable {
|
|
|
8434
8415
|
this._isShowingTableBusy = shouldShow;
|
|
8435
8416
|
this._cdr.markForCheck();
|
|
8436
8417
|
}
|
|
8437
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.
|
|
8438
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.
|
|
8418
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: TableComponent, deps: [{ token: i0.IterableDiffers }, { token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: 'role', attribute: true }, { token: i1$4.Directionality, optional: true }, { token: DOCUMENT }, { token: i2$1.Platform }, { token: _VIEW_REPEATER_STRATEGY }, { token: _COALESCED_STYLE_SCHEDULER }, { token: i3.ViewportRuler }, { token: STICKY_POSITIONING_LISTENER, optional: true, skipSelf: true }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
8419
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.1", type: TableComponent, isStandalone: true, selector: "et-table, table[et-table]", inputs: { busy: "busy" }, host: { properties: { "class.et-table-fixed-layout": "fixedLayout", "attr.aria-busy": "this._attrAriaBusy" }, classAttribute: "et-table et-data-table__table" }, providers: [
|
|
8439
8420
|
{ provide: CdkTable, useExisting: TableComponent },
|
|
8440
8421
|
{ provide: CDK_TABLE, useExisting: TableComponent },
|
|
8441
8422
|
{ provide: _COALESCED_STYLE_SCHEDULER, useClass: _CoalescedStyleScheduler },
|
|
@@ -8453,7 +8434,7 @@ class TableComponent extends CdkTable {
|
|
|
8453
8434
|
<ng-container footerRowOutlet />
|
|
8454
8435
|
`, isInline: true, styles: [":where(.et-table){--et-table-separator-color: #4c4c4c;--et-table-separator-width: 1px;--et-table-separator-style: solid;--et-table-header-row-min-height: 56px;--et-table-row-display: flex;--et-table-row-min-height: 48px;--et-table-row-inline-padding: 24px;--et-table-cell-display: flex;--et-table-cell-inline-padding: 0;--et-table-cell-block-padding: 0}.et-table{display:block;position:relative}.et-header-row{min-height:var(--et-table-header-row-min-height)}.et-row,.et-footer-row{min-height:var(--et-table-row-min-height)}.et-row,.et-header-row,.et-footer-row{display:var(--et-table-row-display);border-width:0;border-bottom-width:var(--et-table-separator-width);border-style:var(--et-table-separator-style);border-color:var(--et-table-separator-color);align-items:center;box-sizing:border-box}.et-cell,.et-header-cell,.et-footer-cell{padding-inline:var(--et-table-cell-inline-padding);padding-block:var(--et-table-cell-block-padding)}.et-cell:first-of-type,.et-header-cell:first-of-type,.et-footer-cell:first-of-type{padding-inline-start:var(--et-table-row-inline-padding)}.et-cell:last-of-type,.et-header-cell:last-of-type,.et-footer-cell:last-of-type{padding-inline-end:var(--et-table-row-inline-padding)}.et-cell,.et-header-cell,.et-footer-cell{flex:1;display:var(--et-table-cell-display);align-items:center;overflow:hidden;word-wrap:break-word;min-height:inherit;box-sizing:border-box}.et-table-sticky{position:sticky!important}.et-table{table-layout:auto;white-space:normal}.et-table tbody,.et-table tfoot,.et-table thead,.et-cell,.et-footer-cell,.et-header-row,.et-row,.et-footer-row,.et-table .et-header-cell{background:inherit}.et-table et-header-row.et-header-row,.et-table et-row.et-row,.et-table et-footer-row.et-footer-cell{height:unset}et-header-cell.et-header-cell,et-cell.et-cell,et-footer-cell.et-footer-cell{align-self:stretch}\n"], dependencies: [{ kind: "ngmodule", type: CdkTableModule }, { kind: "directive", type: i1$3.DataRowOutlet, selector: "[rowOutlet]" }, { kind: "directive", type: i1$3.HeaderRowOutlet, selector: "[headerRowOutlet]" }, { kind: "directive", type: i1$3.FooterRowOutlet, selector: "[footerRowOutlet]" }, { kind: "directive", type: i1$3.NoDataRowOutlet, selector: "[noDataRowOutlet]" }, { kind: "directive", type: TableBusyOutletDirective, selector: "[tableBusyOutlet]" }], changeDetection: i0.ChangeDetectionStrategy.Default, encapsulation: i0.ViewEncapsulation.None }); }
|
|
8455
8436
|
}
|
|
8456
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.
|
|
8437
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: TableComponent, decorators: [{
|
|
8457
8438
|
type: Component,
|
|
8458
8439
|
args: [{ selector: 'et-table, table[et-table]', exportAs: 'etTable', template: `
|
|
8459
8440
|
<ng-content select="caption" />
|
|
@@ -8489,7 +8470,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0", ngImpor
|
|
|
8489
8470
|
}] }, { type: i1$3._CoalescedStyleScheduler, decorators: [{
|
|
8490
8471
|
type: Inject,
|
|
8491
8472
|
args: [_COALESCED_STYLE_SCHEDULER]
|
|
8492
|
-
}] }, { type:
|
|
8473
|
+
}] }, { type: i3.ViewportRuler }, { type: undefined, decorators: [{
|
|
8493
8474
|
type: Optional
|
|
8494
8475
|
}, {
|
|
8495
8476
|
type: SkipSelf
|
|
@@ -8698,26 +8679,8 @@ class TableDataSource extends DataSource {
|
|
|
8698
8679
|
|
|
8699
8680
|
const SORT_DEFAULT_OPTIONS = new InjectionToken('SortDefaultOptions');
|
|
8700
8681
|
class SortDirective {
|
|
8701
|
-
|
|
8702
|
-
|
|
8703
|
-
}
|
|
8704
|
-
set disabled(value) {
|
|
8705
|
-
this._disabled = coerceBooleanProperty(value);
|
|
8706
|
-
}
|
|
8707
|
-
get direction() {
|
|
8708
|
-
return this._direction;
|
|
8709
|
-
}
|
|
8710
|
-
set direction(direction) {
|
|
8711
|
-
this._direction = direction;
|
|
8712
|
-
}
|
|
8713
|
-
get disableClear() {
|
|
8714
|
-
return this._disableClear;
|
|
8715
|
-
}
|
|
8716
|
-
set disableClear(v) {
|
|
8717
|
-
this._disableClear = coerceBooleanProperty(v);
|
|
8718
|
-
}
|
|
8719
|
-
constructor(_defaultOptions) {
|
|
8720
|
-
this._defaultOptions = _defaultOptions;
|
|
8682
|
+
constructor() {
|
|
8683
|
+
this._defaultOptions = inject(SORT_DEFAULT_OPTIONS, { optional: true });
|
|
8721
8684
|
this.sortables = new Map();
|
|
8722
8685
|
this._stateChanges = new Subject();
|
|
8723
8686
|
this._isInitialized = false;
|
|
@@ -8730,13 +8693,19 @@ class SortDirective {
|
|
|
8730
8693
|
this._pendingSubscribers?.push(subscriber);
|
|
8731
8694
|
}
|
|
8732
8695
|
});
|
|
8733
|
-
this.
|
|
8696
|
+
this.disabled = false;
|
|
8734
8697
|
this.start = 'asc';
|
|
8735
8698
|
this._direction = '';
|
|
8736
|
-
this.
|
|
8699
|
+
this.disableClear = false;
|
|
8737
8700
|
// eslint-disable-next-line @angular-eslint/no-output-rename
|
|
8738
8701
|
this.sortChange = new EventEmitter();
|
|
8739
8702
|
}
|
|
8703
|
+
get direction() {
|
|
8704
|
+
return this._direction;
|
|
8705
|
+
}
|
|
8706
|
+
set direction(direction) {
|
|
8707
|
+
this._direction = direction;
|
|
8708
|
+
}
|
|
8740
8709
|
register(sortable) {
|
|
8741
8710
|
this.sortables.set(sortable.id, sortable);
|
|
8742
8711
|
}
|
|
@@ -8795,10 +8764,10 @@ class SortDirective {
|
|
|
8795
8764
|
subscriber.next();
|
|
8796
8765
|
subscriber.complete();
|
|
8797
8766
|
}
|
|
8798
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.
|
|
8799
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.
|
|
8767
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: SortDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
8768
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.1", type: SortDirective, isStandalone: true, selector: "[etSort]", inputs: { disabled: ["etSortDisabled", "disabled", booleanAttribute], active: ["etSortActive", "active"], start: ["etSortStart", "start"], direction: ["etSortDirection", "direction"], disableClear: ["etSortDisableClear", "disableClear", booleanAttribute], sortControl: "sortControl", sortByControl: "sortByControl", sortDirectionControl: "sortDirectionControl" }, outputs: { sortChange: "etSortChange" }, host: { classAttribute: "et-sort" }, exportAs: ["etSort"], usesOnChanges: true, ngImport: i0 }); }
|
|
8800
8769
|
}
|
|
8801
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.
|
|
8770
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: SortDirective, decorators: [{
|
|
8802
8771
|
type: Directive,
|
|
8803
8772
|
args: [{
|
|
8804
8773
|
selector: '[etSort]',
|
|
@@ -8806,14 +8775,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0", ngImpor
|
|
|
8806
8775
|
host: { class: 'et-sort' },
|
|
8807
8776
|
standalone: true,
|
|
8808
8777
|
}]
|
|
8809
|
-
}],
|
|
8810
|
-
type: Optional
|
|
8811
|
-
}, {
|
|
8812
|
-
type: Inject,
|
|
8813
|
-
args: [SORT_DEFAULT_OPTIONS]
|
|
8814
|
-
}] }]; }, propDecorators: { disabled: [{
|
|
8778
|
+
}], propDecorators: { disabled: [{
|
|
8815
8779
|
type: Input,
|
|
8816
|
-
args: ['etSortDisabled']
|
|
8780
|
+
args: [{ alias: 'etSortDisabled', transform: booleanAttribute }]
|
|
8817
8781
|
}], active: [{
|
|
8818
8782
|
type: Input,
|
|
8819
8783
|
args: ['etSortActive']
|
|
@@ -8825,7 +8789,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0", ngImpor
|
|
|
8825
8789
|
args: ['etSortDirection']
|
|
8826
8790
|
}], disableClear: [{
|
|
8827
8791
|
type: Input,
|
|
8828
|
-
args: ['etSortDisableClear']
|
|
8792
|
+
args: [{ alias: 'etSortDisableClear', transform: booleanAttribute }]
|
|
8829
8793
|
}], sortControl: [{
|
|
8830
8794
|
type: Input
|
|
8831
8795
|
}], sortByControl: [{
|
|
@@ -8852,10 +8816,10 @@ class SortHeaderIntl {
|
|
|
8852
8816
|
constructor() {
|
|
8853
8817
|
this.changes = new Subject();
|
|
8854
8818
|
}
|
|
8855
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.
|
|
8856
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.
|
|
8819
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: SortHeaderIntl, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
8820
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: SortHeaderIntl, providedIn: 'root' }); }
|
|
8857
8821
|
}
|
|
8858
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.
|
|
8822
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: SortHeaderIntl, decorators: [{
|
|
8859
8823
|
type: Injectable,
|
|
8860
8824
|
args: [{ providedIn: 'root' }]
|
|
8861
8825
|
}] });
|
|
@@ -8869,24 +8833,12 @@ const SORT_HEADER_INTL_PROVIDER = {
|
|
|
8869
8833
|
};
|
|
8870
8834
|
|
|
8871
8835
|
class SortHeaderComponent {
|
|
8872
|
-
get disabled() {
|
|
8873
|
-
return this._disabled;
|
|
8874
|
-
}
|
|
8875
|
-
set disabled(value) {
|
|
8876
|
-
this._disabled = coerceBooleanProperty(value);
|
|
8877
|
-
}
|
|
8878
8836
|
get sortActionDescription() {
|
|
8879
8837
|
return this._sortActionDescription;
|
|
8880
8838
|
}
|
|
8881
8839
|
set sortActionDescription(value) {
|
|
8882
8840
|
this._updateSortActionDescription(value);
|
|
8883
8841
|
}
|
|
8884
|
-
get disableClear() {
|
|
8885
|
-
return this._disableClear;
|
|
8886
|
-
}
|
|
8887
|
-
set disableClear(v) {
|
|
8888
|
-
this._disableClear = coerceBooleanProperty(v);
|
|
8889
|
-
}
|
|
8890
8842
|
get _isSorted() {
|
|
8891
8843
|
if (!this._sort) {
|
|
8892
8844
|
return false;
|
|
@@ -8912,23 +8864,24 @@ class SortHeaderComponent {
|
|
|
8912
8864
|
}
|
|
8913
8865
|
return this._sort?.direction == 'asc' ? 'ascending' : 'descending';
|
|
8914
8866
|
}
|
|
8915
|
-
constructor(
|
|
8916
|
-
this._intl =
|
|
8917
|
-
this._changeDetectorRef =
|
|
8918
|
-
this._sort =
|
|
8919
|
-
this._columnDef =
|
|
8920
|
-
this._focusMonitor =
|
|
8921
|
-
this._elementRef =
|
|
8922
|
-
this._ariaDescriber =
|
|
8867
|
+
constructor() {
|
|
8868
|
+
this._intl = inject(SortHeaderIntl);
|
|
8869
|
+
this._changeDetectorRef = inject(ChangeDetectorRef);
|
|
8870
|
+
this._sort = inject(SortDirective, { optional: true });
|
|
8871
|
+
this._columnDef = inject(SORT_HEADER_COLUMN_DEF, { optional: true });
|
|
8872
|
+
this._focusMonitor = inject(FocusMonitor);
|
|
8873
|
+
this._elementRef = inject(ElementRef);
|
|
8874
|
+
this._ariaDescriber = inject(AriaDescriber);
|
|
8875
|
+
this._sortDefaultOptions = inject(SORT_DEFAULT_OPTIONS, { optional: true });
|
|
8923
8876
|
this._showIndicatorHint = false;
|
|
8924
8877
|
this._viewState = {};
|
|
8925
8878
|
this._arrowDirection = '';
|
|
8926
|
-
this.
|
|
8879
|
+
this.disabled = false;
|
|
8927
8880
|
this.arrowPosition = 'after';
|
|
8928
8881
|
this._sortActionDescription = 'Sort';
|
|
8929
|
-
this.
|
|
8930
|
-
if (
|
|
8931
|
-
this.arrowPosition =
|
|
8882
|
+
this.disableClear = false;
|
|
8883
|
+
if (this._sortDefaultOptions?.arrowPosition) {
|
|
8884
|
+
this.arrowPosition = this._sortDefaultOptions?.arrowPosition;
|
|
8932
8885
|
}
|
|
8933
8886
|
this._handleStateChanges();
|
|
8934
8887
|
}
|
|
@@ -9025,28 +8978,17 @@ class SortHeaderComponent {
|
|
|
9025
8978
|
this._changeDetectorRef.markForCheck();
|
|
9026
8979
|
});
|
|
9027
8980
|
}
|
|
9028
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.
|
|
9029
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.
|
|
8981
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: SortHeaderComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
8982
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.1", type: SortHeaderComponent, isStandalone: true, selector: "[et-sort-header]", inputs: { disabled: ["disabled", "disabled", booleanAttribute], id: ["et-sort-header", "id"], arrowPosition: "arrowPosition", start: "start", sortActionDescription: "sortActionDescription", disableClear: ["disableClear", "disableClear", booleanAttribute] }, host: { listeners: { "mouseenter": "_handleMouseEnter()", "mouseleave": "_handleMouseLeave()", "click": "_handleClick()", "keydown": "_handleKeydown($event)" }, properties: { "class.et-sort-header-disabled": "this.disabled", "attr.aria-sort": "this._ariaSortAttr" }, classAttribute: "et-sort-header" }, exportAs: ["etSortHeader"], ngImport: i0, template: "<div\n [class.et-sort-header-sorted]=\"_isSorted\"\n [class.et-sort-header-position-before]=\"arrowPosition === 'before'\"\n [attr.tabindex]=\"_isDisabled ? null : 0\"\n [attr.role]=\"_isDisabled ? null : 'button'\"\n class=\"et-sort-header-container\"\n>\n <div class=\"et-sort-header-content\">\n <ng-content />\n </div>\n\n <div *ngIf=\"_renderArrow\" class=\"et-sort-header-arrow {{ _getArrowDirectionState }} {{ _getArrowViewState }}\">\n <et-chevron-icon />\n </div>\n</div>\n", styles: [":where(.et-sort-header){--et-sort-header-arrow-size: 10px;--et-sort-header-gap: 8px}.et-sort-header{cursor:pointer}.et-sort-header.et-sort-header-disabled{cursor:default}.et-sort-header-container{display:flex;align-items:center;letter-spacing:normal;outline:0;gap:var(--et-sort-header-gap)}.et-sort-header-content{text-align:center;display:flex;align-items:center}.et-sort-header-position-before{flex-direction:row-reverse}.et-sort-header:hover .et-sort-header-arrow,.et-sort-header.cdk-keyboard-focused .et-sort-header-arrow{opacity:.5}.et-sort-header .et-sort-header-arrow{transition:opacity .2s var(--ease-out-5)}.et-sort-header .et-sort-header-arrow .et-chevron-icon svg{transition:transform .2s var(--ease-out-5)}.et-sort-header .et-sort-header-arrow{inline-size:var(--et-sort-header-arrow-size);opacity:0}.et-sort-header .et-sort-header-arrow.active-desc,.et-sort-header .et-sort-header-arrow.active-asc{opacity:1}.et-sort-header .et-sort-header-arrow.desc .et-chevron-icon svg,.et-sort-header .et-sort-header-arrow.asc .et-chevron-icon svg,.et-sort-header .et-sort-header-arrow.active-desc .et-chevron-icon svg{transform:rotate(180deg)}.et-sort-header .et-sort-header-arrow.active-asc .et-chevron-icon svg{transform:rotate(0)}\n"], dependencies: [{ kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: ChevronIconComponent, selector: "et-chevron-icon" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
9030
8983
|
}
|
|
9031
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.
|
|
8984
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: SortHeaderComponent, decorators: [{
|
|
9032
8985
|
type: Component,
|
|
9033
8986
|
args: [{ selector: '[et-sort-header]', exportAs: 'etSortHeader', host: {
|
|
9034
8987
|
class: 'et-sort-header',
|
|
9035
8988
|
}, encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, standalone: true, imports: [NgIf, ChevronIconComponent], template: "<div\n [class.et-sort-header-sorted]=\"_isSorted\"\n [class.et-sort-header-position-before]=\"arrowPosition === 'before'\"\n [attr.tabindex]=\"_isDisabled ? null : 0\"\n [attr.role]=\"_isDisabled ? null : 'button'\"\n class=\"et-sort-header-container\"\n>\n <div class=\"et-sort-header-content\">\n <ng-content />\n </div>\n\n <div *ngIf=\"_renderArrow\" class=\"et-sort-header-arrow {{ _getArrowDirectionState }} {{ _getArrowViewState }}\">\n <et-chevron-icon />\n </div>\n</div>\n", styles: [":where(.et-sort-header){--et-sort-header-arrow-size: 10px;--et-sort-header-gap: 8px}.et-sort-header{cursor:pointer}.et-sort-header.et-sort-header-disabled{cursor:default}.et-sort-header-container{display:flex;align-items:center;letter-spacing:normal;outline:0;gap:var(--et-sort-header-gap)}.et-sort-header-content{text-align:center;display:flex;align-items:center}.et-sort-header-position-before{flex-direction:row-reverse}.et-sort-header:hover .et-sort-header-arrow,.et-sort-header.cdk-keyboard-focused .et-sort-header-arrow{opacity:.5}.et-sort-header .et-sort-header-arrow{transition:opacity .2s var(--ease-out-5)}.et-sort-header .et-sort-header-arrow .et-chevron-icon svg{transition:transform .2s var(--ease-out-5)}.et-sort-header .et-sort-header-arrow{inline-size:var(--et-sort-header-arrow-size);opacity:0}.et-sort-header .et-sort-header-arrow.active-desc,.et-sort-header .et-sort-header-arrow.active-asc{opacity:1}.et-sort-header .et-sort-header-arrow.desc .et-chevron-icon svg,.et-sort-header .et-sort-header-arrow.asc .et-chevron-icon svg,.et-sort-header .et-sort-header-arrow.active-desc .et-chevron-icon svg{transform:rotate(180deg)}.et-sort-header .et-sort-header-arrow.active-asc .et-chevron-icon svg{transform:rotate(0)}\n"] }]
|
|
9036
|
-
}], ctorParameters: function () { return [
|
|
9037
|
-
|
|
9038
|
-
|
|
9039
|
-
type: Inject,
|
|
9040
|
-
args: [SORT_HEADER_COLUMN_DEF]
|
|
9041
|
-
}, {
|
|
9042
|
-
type: Optional
|
|
9043
|
-
}] }, { type: i1$2.FocusMonitor }, { type: i0.ElementRef }, { type: i1$2.AriaDescriber }, { type: undefined, decorators: [{
|
|
9044
|
-
type: Optional
|
|
9045
|
-
}, {
|
|
9046
|
-
type: Inject,
|
|
9047
|
-
args: [SORT_DEFAULT_OPTIONS]
|
|
9048
|
-
}] }]; }, propDecorators: { disabled: [{
|
|
9049
|
-
type: Input
|
|
8989
|
+
}], ctorParameters: function () { return []; }, propDecorators: { disabled: [{
|
|
8990
|
+
type: Input,
|
|
8991
|
+
args: [{ transform: booleanAttribute }]
|
|
9050
8992
|
}, {
|
|
9051
8993
|
type: HostBinding,
|
|
9052
8994
|
args: ['class.et-sort-header-disabled']
|
|
@@ -9060,7 +9002,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0", ngImpor
|
|
|
9060
9002
|
}], sortActionDescription: [{
|
|
9061
9003
|
type: Input
|
|
9062
9004
|
}], disableClear: [{
|
|
9063
|
-
type: Input
|
|
9005
|
+
type: Input,
|
|
9006
|
+
args: [{ transform: booleanAttribute }]
|
|
9064
9007
|
}], _ariaSortAttr: [{
|
|
9065
9008
|
type: HostBinding,
|
|
9066
9009
|
args: ['attr.aria-sort']
|
|
@@ -9112,10 +9055,10 @@ class InlineTabBodyHostDirective extends CdkPortalOutlet {
|
|
|
9112
9055
|
constructor(componentFactoryResolver, viewContainerRef, _document) {
|
|
9113
9056
|
super(componentFactoryResolver, viewContainerRef, _document);
|
|
9114
9057
|
}
|
|
9115
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.
|
|
9116
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.
|
|
9058
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: InlineTabBodyHostDirective, deps: [{ token: i0.ComponentFactoryResolver }, { token: i0.ViewContainerRef }, { token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
9059
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.1", type: InlineTabBodyHostDirective, isStandalone: true, selector: "[etInlineTabBodyHost]", host: { classAttribute: "et-inline-tab-body-host" }, usesInheritance: true, ngImport: i0 }); }
|
|
9117
9060
|
}
|
|
9118
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.
|
|
9061
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: InlineTabBodyHostDirective, decorators: [{
|
|
9119
9062
|
type: Directive,
|
|
9120
9063
|
args: [{
|
|
9121
9064
|
selector: '[etInlineTabBodyHost]',
|
|
@@ -9134,9 +9077,10 @@ class InlineTabBodyComponent {
|
|
|
9134
9077
|
this._positionIndex = position;
|
|
9135
9078
|
this._computePositionAnimationState();
|
|
9136
9079
|
}
|
|
9137
|
-
constructor(
|
|
9138
|
-
this._elementRef =
|
|
9139
|
-
this._dir =
|
|
9080
|
+
constructor() {
|
|
9081
|
+
this._elementRef = inject(ElementRef);
|
|
9082
|
+
this._dir = inject(Directionality);
|
|
9083
|
+
this._cdr = inject(ChangeDetectorRef);
|
|
9140
9084
|
this._centeringSub = Subscription.EMPTY;
|
|
9141
9085
|
this._leavingSub = Subscription.EMPTY;
|
|
9142
9086
|
this._dirChangeSubscription = Subscription.EMPTY;
|
|
@@ -9147,10 +9091,10 @@ class InlineTabBodyComponent {
|
|
|
9147
9091
|
this._onCentered = new EventEmitter(true);
|
|
9148
9092
|
this.animationDuration = '500ms';
|
|
9149
9093
|
this.preserveContent = false;
|
|
9150
|
-
if (_dir) {
|
|
9151
|
-
this._dirChangeSubscription = _dir.change.subscribe((dir) => {
|
|
9094
|
+
if (this._dir) {
|
|
9095
|
+
this._dirChangeSubscription = this._dir.change.subscribe((dir) => {
|
|
9152
9096
|
this._computePositionAnimationState(dir);
|
|
9153
|
-
|
|
9097
|
+
this._cdr.markForCheck();
|
|
9154
9098
|
});
|
|
9155
9099
|
}
|
|
9156
9100
|
this._translateTabComplete
|
|
@@ -9220,17 +9164,15 @@ class InlineTabBodyComponent {
|
|
|
9220
9164
|
}
|
|
9221
9165
|
return 'right-origin-center';
|
|
9222
9166
|
}
|
|
9223
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.
|
|
9224
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.
|
|
9167
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: InlineTabBodyComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
9168
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.1", type: InlineTabBodyComponent, isStandalone: true, selector: "et-inline-tab-body", inputs: { _content: ["content", "_content"], origin: "origin", animationDuration: "animationDuration", preserveContent: "preserveContent", position: "position" }, outputs: { _onCentering: "_onCentering", _beforeCentering: "_beforeCentering", _afterLeavingCenter: "_afterLeavingCenter", _onCentered: "_onCentered" }, host: { classAttribute: "et-inline-tab-body" }, viewQueries: [{ propertyName: "_portalHost", first: true, predicate: InlineTabBodyHostDirective, descendants: true, static: true }], ngImport: i0, template: "<div\n #content\n [@translateTab]=\"{\n value: _position,\n params: { animationDuration: '0ms' }\n }\"\n (@translateTab.start)=\"_onTranslateTabStarted($event)\"\n (@translateTab.done)=\"_translateTabComplete.next($event)\"\n cdkScrollable\n>\n <ng-template etInlineTabBodyHost />\n</div>\n", dependencies: [{ kind: "ngmodule", type: CdkScrollableModule }, { kind: "directive", type: i3.CdkScrollable, selector: "[cdk-scrollable], [cdkScrollable]" }, { kind: "directive", type: InlineTabBodyHostDirective, selector: "[etInlineTabBodyHost]" }], animations: [tabAnimations.translateTab], changeDetection: i0.ChangeDetectionStrategy.Default, encapsulation: i0.ViewEncapsulation.None }); }
|
|
9225
9169
|
}
|
|
9226
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.
|
|
9170
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: InlineTabBodyComponent, decorators: [{
|
|
9227
9171
|
type: Component,
|
|
9228
9172
|
args: [{ selector: 'et-inline-tab-body', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.Default, animations: [tabAnimations.translateTab], standalone: true, imports: [CdkScrollableModule, InlineTabBodyHostDirective], host: {
|
|
9229
9173
|
class: 'et-inline-tab-body',
|
|
9230
9174
|
}, template: "<div\n #content\n [@translateTab]=\"{\n value: _position,\n params: { animationDuration: '0ms' }\n }\"\n (@translateTab.start)=\"_onTranslateTabStarted($event)\"\n (@translateTab.done)=\"_translateTabComplete.next($event)\"\n cdkScrollable\n>\n <ng-template etInlineTabBodyHost />\n</div>\n" }]
|
|
9231
|
-
}], ctorParameters: function () { return [
|
|
9232
|
-
type: Optional
|
|
9233
|
-
}] }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { _onCentering: [{
|
|
9175
|
+
}], ctorParameters: function () { return []; }, propDecorators: { _onCentering: [{
|
|
9234
9176
|
type: Output
|
|
9235
9177
|
}], _beforeCentering: [{
|
|
9236
9178
|
type: Output
|
|
@@ -9256,13 +9198,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0", ngImpor
|
|
|
9256
9198
|
|
|
9257
9199
|
const TAB_CONTENT = new InjectionToken('TabContent');
|
|
9258
9200
|
class InlineTabContentDirective {
|
|
9259
|
-
constructor(
|
|
9260
|
-
this.template =
|
|
9201
|
+
constructor() {
|
|
9202
|
+
this.template = inject(TemplateRef);
|
|
9261
9203
|
}
|
|
9262
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.
|
|
9263
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.
|
|
9204
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: InlineTabContentDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
9205
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.1", type: InlineTabContentDirective, isStandalone: true, selector: "[etInlineTabContent]", host: { classAttribute: "et-inline-tab-content" }, providers: [{ provide: TAB_CONTENT, useExisting: InlineTabContentDirective }], ngImport: i0 }); }
|
|
9264
9206
|
}
|
|
9265
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.
|
|
9207
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: InlineTabContentDirective, decorators: [{
|
|
9266
9208
|
type: Directive,
|
|
9267
9209
|
args: [{
|
|
9268
9210
|
selector: '[etInlineTabContent]',
|
|
@@ -9272,7 +9214,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0", ngImpor
|
|
|
9272
9214
|
class: 'et-inline-tab-content',
|
|
9273
9215
|
},
|
|
9274
9216
|
}]
|
|
9275
|
-
}]
|
|
9217
|
+
}] });
|
|
9276
9218
|
|
|
9277
9219
|
const ACTIVE_CLASS = 'et-active-tab-underline--active';
|
|
9278
9220
|
const NO_TRANSITION_CLASS = 'et-active-tab-underline--no-transition';
|
|
@@ -9305,7 +9247,7 @@ class ActiveTabUnderlineDirective {
|
|
|
9305
9247
|
return this._fitToContent;
|
|
9306
9248
|
}
|
|
9307
9249
|
set fitUnderlineToContent(v) {
|
|
9308
|
-
const newValue =
|
|
9250
|
+
const newValue = booleanAttribute(v);
|
|
9309
9251
|
if (this._fitToContent !== newValue) {
|
|
9310
9252
|
this._fitToContent = newValue;
|
|
9311
9253
|
if (this._underlineElement) {
|
|
@@ -9361,10 +9303,10 @@ class ActiveTabUnderlineDirective {
|
|
|
9361
9303
|
}
|
|
9362
9304
|
parentElement.appendChild(this._underlineElement);
|
|
9363
9305
|
}
|
|
9364
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.
|
|
9365
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.
|
|
9306
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: ActiveTabUnderlineDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
9307
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.1", type: ActiveTabUnderlineDirective, isStandalone: true, inputs: { fitUnderlineToContent: "fitUnderlineToContent" }, ngImport: i0 }); }
|
|
9366
9308
|
}
|
|
9367
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.
|
|
9309
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: ActiveTabUnderlineDirective, decorators: [{
|
|
9368
9310
|
type: Directive,
|
|
9369
9311
|
args: [{ standalone: true }]
|
|
9370
9312
|
}], propDecorators: { fitUnderlineToContent: [{
|
|
@@ -9389,8 +9331,8 @@ class PaginatedTabHeaderDirective {
|
|
|
9389
9331
|
get selectedIndex() {
|
|
9390
9332
|
return this._selectedIndex;
|
|
9391
9333
|
}
|
|
9392
|
-
set selectedIndex(
|
|
9393
|
-
value =
|
|
9334
|
+
set selectedIndex(val) {
|
|
9335
|
+
const value = numberAttribute(val);
|
|
9394
9336
|
if (this._selectedIndex != value) {
|
|
9395
9337
|
this._selectedIndexChanged = true;
|
|
9396
9338
|
this._selectedIndex = value;
|
|
@@ -9399,43 +9341,25 @@ class PaginatedTabHeaderDirective {
|
|
|
9399
9341
|
}
|
|
9400
9342
|
}
|
|
9401
9343
|
}
|
|
9402
|
-
|
|
9403
|
-
|
|
9404
|
-
|
|
9405
|
-
|
|
9406
|
-
this.
|
|
9407
|
-
|
|
9408
|
-
get renderButtons() {
|
|
9409
|
-
return this._renderButtons;
|
|
9410
|
-
}
|
|
9411
|
-
set renderButtons(value) {
|
|
9412
|
-
this._renderButtons = coerceBooleanProperty(value);
|
|
9413
|
-
}
|
|
9414
|
-
get renderScrollbars() {
|
|
9415
|
-
return this._renderScrollbars;
|
|
9416
|
-
}
|
|
9417
|
-
set renderScrollbars(value) {
|
|
9418
|
-
this._renderScrollbars = coerceBooleanProperty(value);
|
|
9419
|
-
}
|
|
9420
|
-
constructor(_elementRef, _cdr, _viewportRuler, _dir, _ngZone) {
|
|
9421
|
-
this._elementRef = _elementRef;
|
|
9422
|
-
this._cdr = _cdr;
|
|
9423
|
-
this._viewportRuler = _viewportRuler;
|
|
9424
|
-
this._dir = _dir;
|
|
9425
|
-
this._ngZone = _ngZone;
|
|
9344
|
+
constructor() {
|
|
9345
|
+
this._elementRef = inject(ElementRef);
|
|
9346
|
+
this._cdr = inject(ChangeDetectorRef);
|
|
9347
|
+
this._viewportRuler = inject(ViewportRuler$1);
|
|
9348
|
+
this._dir = inject(Directionality, { optional: true });
|
|
9349
|
+
this._ngZone = inject(NgZone);
|
|
9426
9350
|
this._scrollDistance = 0;
|
|
9427
9351
|
this._selectedIndexChanged = false;
|
|
9428
9352
|
this._destroy$ = createDestroy();
|
|
9429
9353
|
this._stopScrolling = new Subject();
|
|
9430
9354
|
this._selectedIndex = 0;
|
|
9431
9355
|
this.itemSize = 'auto';
|
|
9432
|
-
this.
|
|
9433
|
-
this.
|
|
9434
|
-
this.
|
|
9356
|
+
this.renderMasks = true;
|
|
9357
|
+
this.renderButtons = true;
|
|
9358
|
+
this.renderScrollbars = false;
|
|
9435
9359
|
this.selectFocusedIndex = new EventEmitter();
|
|
9436
9360
|
this.indexFocused = new EventEmitter();
|
|
9437
|
-
_ngZone.runOutsideAngular(() => {
|
|
9438
|
-
fromEvent(_elementRef.nativeElement, 'mouseleave')
|
|
9361
|
+
this._ngZone.runOutsideAngular(() => {
|
|
9362
|
+
fromEvent(this._elementRef.nativeElement, 'mouseleave')
|
|
9439
9363
|
.pipe(takeUntil$1(this._destroy$))
|
|
9440
9364
|
.subscribe(() => {
|
|
9441
9365
|
this._stopInterval();
|
|
@@ -9628,25 +9552,26 @@ class PaginatedTabHeaderDirective {
|
|
|
9628
9552
|
this._scrollDistanceChanged = true;
|
|
9629
9553
|
return { maxScrollDistance, distance: this._scrollDistance };
|
|
9630
9554
|
}
|
|
9631
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.
|
|
9632
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.
|
|
9555
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: PaginatedTabHeaderDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
9556
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.1", type: PaginatedTabHeaderDirective, inputs: { selectedIndex: "selectedIndex", itemSize: "itemSize", scrollableClass: "scrollableClass", renderMasks: ["renderMasks", "renderMasks", booleanAttribute], renderButtons: ["renderButtons", "renderButtons", booleanAttribute], renderScrollbars: ["renderScrollbars", "renderScrollbars", booleanAttribute] }, outputs: { selectFocusedIndex: "selectFocusedIndex", indexFocused: "indexFocused" }, ngImport: i0 }); }
|
|
9633
9557
|
}
|
|
9634
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.
|
|
9558
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: PaginatedTabHeaderDirective, decorators: [{
|
|
9635
9559
|
type: Directive
|
|
9636
|
-
}], ctorParameters: function () { return [
|
|
9637
|
-
type: Optional
|
|
9638
|
-
}] }, { type: i0.NgZone }]; }, propDecorators: { selectedIndex: [{
|
|
9560
|
+
}], ctorParameters: function () { return []; }, propDecorators: { selectedIndex: [{
|
|
9639
9561
|
type: Input
|
|
9640
9562
|
}], itemSize: [{
|
|
9641
9563
|
type: Input
|
|
9642
9564
|
}], scrollableClass: [{
|
|
9643
9565
|
type: Input
|
|
9644
9566
|
}], renderMasks: [{
|
|
9645
|
-
type: Input
|
|
9567
|
+
type: Input,
|
|
9568
|
+
args: [{ transform: booleanAttribute }]
|
|
9646
9569
|
}], renderButtons: [{
|
|
9647
|
-
type: Input
|
|
9570
|
+
type: Input,
|
|
9571
|
+
args: [{ transform: booleanAttribute }]
|
|
9648
9572
|
}], renderScrollbars: [{
|
|
9649
|
-
type: Input
|
|
9573
|
+
type: Input,
|
|
9574
|
+
args: [{ transform: booleanAttribute }]
|
|
9650
9575
|
}], selectFocusedIndex: [{
|
|
9651
9576
|
type: Output
|
|
9652
9577
|
}], indexFocused: [{
|
|
@@ -9654,19 +9579,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0", ngImpor
|
|
|
9654
9579
|
}] } });
|
|
9655
9580
|
|
|
9656
9581
|
class InlineTabLabelWrapperDirective {
|
|
9657
|
-
|
|
9658
|
-
|
|
9659
|
-
|
|
9660
|
-
set disabled(value) {
|
|
9661
|
-
this._disabled = coerceBooleanProperty(value);
|
|
9582
|
+
constructor() {
|
|
9583
|
+
this.elementRef = inject(ElementRef);
|
|
9584
|
+
this.disabled = false;
|
|
9662
9585
|
}
|
|
9663
9586
|
get attrAriaDisabled() {
|
|
9664
9587
|
return this.disabled ? 'true' : null;
|
|
9665
9588
|
}
|
|
9666
|
-
constructor(elementRef) {
|
|
9667
|
-
this.elementRef = elementRef;
|
|
9668
|
-
this._disabled = false;
|
|
9669
|
-
}
|
|
9670
9589
|
focus() {
|
|
9671
9590
|
this.elementRef.nativeElement.focus();
|
|
9672
9591
|
}
|
|
@@ -9676,10 +9595,10 @@ class InlineTabLabelWrapperDirective {
|
|
|
9676
9595
|
getOffsetWidth() {
|
|
9677
9596
|
return this.elementRef.nativeElement.offsetWidth;
|
|
9678
9597
|
}
|
|
9679
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.
|
|
9680
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.
|
|
9598
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: InlineTabLabelWrapperDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
9599
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.1", type: InlineTabLabelWrapperDirective, isStandalone: true, selector: "[etInlineTabLabelWrapper]", inputs: { disabled: ["disabled", "disabled", booleanAttribute] }, host: { properties: { "attr.aria-disabled": "this.attrAriaDisabled" }, classAttribute: "et-inline-tab-label-wrapper" }, hostDirectives: [{ directive: ActiveTabUnderlineDirective, inputs: ["fitUnderlineToContent", "fitUnderlineToContent"] }], ngImport: i0 }); }
|
|
9681
9600
|
}
|
|
9682
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.
|
|
9601
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: InlineTabLabelWrapperDirective, decorators: [{
|
|
9683
9602
|
type: Directive,
|
|
9684
9603
|
args: [{
|
|
9685
9604
|
selector: '[etInlineTabLabelWrapper]',
|
|
@@ -9689,17 +9608,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0", ngImpor
|
|
|
9689
9608
|
},
|
|
9690
9609
|
hostDirectives: [{ directive: ActiveTabUnderlineDirective, inputs: ['fitUnderlineToContent'] }],
|
|
9691
9610
|
}]
|
|
9692
|
-
}],
|
|
9693
|
-
type: Input
|
|
9611
|
+
}], propDecorators: { disabled: [{
|
|
9612
|
+
type: Input,
|
|
9613
|
+
args: [{ transform: booleanAttribute }]
|
|
9694
9614
|
}], attrAriaDisabled: [{
|
|
9695
9615
|
type: HostBinding,
|
|
9696
9616
|
args: ['attr.aria-disabled']
|
|
9697
9617
|
}] } });
|
|
9698
9618
|
|
|
9699
9619
|
class InlineTabHeaderComponent extends PaginatedTabHeaderDirective {
|
|
9700
|
-
constructor(elementRef, changeDetectorRef, viewportRuler, dir, ngZone) {
|
|
9701
|
-
super(elementRef, changeDetectorRef, viewportRuler, dir, ngZone);
|
|
9702
|
-
}
|
|
9703
9620
|
ngAfterContentInit() {
|
|
9704
9621
|
this._activeTabUnderlineManager = new ActiveTabUnderlineBarManager(this._inkBars);
|
|
9705
9622
|
super.ngAfterContentInit();
|
|
@@ -9707,17 +9624,15 @@ class InlineTabHeaderComponent extends PaginatedTabHeaderDirective {
|
|
|
9707
9624
|
_itemSelected(event) {
|
|
9708
9625
|
event.preventDefault();
|
|
9709
9626
|
}
|
|
9710
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.
|
|
9711
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.
|
|
9627
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: InlineTabHeaderComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
9628
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.1", type: InlineTabHeaderComponent, isStandalone: true, selector: "et-inline-tab-header", host: { classAttribute: "et-inline-tab-header" }, queries: [{ propertyName: "_items", predicate: InlineTabLabelWrapperDirective }, { propertyName: "_inkBars", predicate: i0.forwardRef(function () { return ActiveTabUnderlineDirective; }), descendants: true }], viewQueries: [{ propertyName: "_scrollable", first: true, predicate: ScrollableComponent, descendants: true, static: true }], usesInheritance: true, ngImport: i0, template: "<et-scrollable\n [itemSize]=\"itemSize\"\n [renderButtons]=\"renderButtons\"\n [scrollableClass]=\"scrollableClass\"\n [renderMasks]=\"renderMasks\"\n [renderScrollbars]=\"renderScrollbars\"\n (keydown)=\"_handleKeydown($event)\"\n (contentChanged)=\"_onContentChanges()\"\n>\n <ng-content />\n</et-scrollable>\n", dependencies: [{ kind: "component", type: ScrollableComponent, selector: "et-scrollable", inputs: ["itemSize", "direction", "scrollableRole", "scrollableClass", "renderMasks", "renderButtons", "renderScrollbars", "stickyButtons", "cursorDragScroll", "disableActiveElementScrolling", "scrollMode", "snap", "scrollMargin"], outputs: ["scrollStateChange", "intersectionChange"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
9712
9629
|
}
|
|
9713
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.
|
|
9630
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: InlineTabHeaderComponent, decorators: [{
|
|
9714
9631
|
type: Component,
|
|
9715
9632
|
args: [{ selector: 'et-inline-tab-header', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, standalone: true, imports: [ScrollableComponent, NgClass, ObserveContentDirective, ScrollObserverIgnoreTargetDirective], host: {
|
|
9716
9633
|
class: 'et-inline-tab-header',
|
|
9717
9634
|
}, template: "<et-scrollable\n [itemSize]=\"itemSize\"\n [renderButtons]=\"renderButtons\"\n [scrollableClass]=\"scrollableClass\"\n [renderMasks]=\"renderMasks\"\n [renderScrollbars]=\"renderScrollbars\"\n (keydown)=\"_handleKeydown($event)\"\n (contentChanged)=\"_onContentChanges()\"\n>\n <ng-content />\n</et-scrollable>\n" }]
|
|
9718
|
-
}],
|
|
9719
|
-
type: Optional
|
|
9720
|
-
}] }, { type: i0.NgZone }]; }, propDecorators: { _items: [{
|
|
9635
|
+
}], propDecorators: { _items: [{
|
|
9721
9636
|
type: ContentChildren,
|
|
9722
9637
|
args: [InlineTabLabelWrapperDirective, { descendants: false }]
|
|
9723
9638
|
}], _scrollable: [{
|
|
@@ -9735,10 +9650,10 @@ class InlineTabLabelDirective extends CdkPortal {
|
|
|
9735
9650
|
super(templateRef, viewContainerRef);
|
|
9736
9651
|
this._closestTab = _closestTab;
|
|
9737
9652
|
}
|
|
9738
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.
|
|
9739
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.
|
|
9653
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: InlineTabLabelDirective, deps: [{ token: i0.TemplateRef }, { token: i0.ViewContainerRef }, { token: TAB, optional: true }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
9654
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.1", type: InlineTabLabelDirective, isStandalone: true, selector: "[et-inline-tab-label]", host: { classAttribute: "et-inline-tab-label" }, providers: [{ provide: TAB_LABEL, useExisting: InlineTabLabelDirective }], usesInheritance: true, ngImport: i0 }); }
|
|
9740
9655
|
}
|
|
9741
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.
|
|
9656
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: InlineTabLabelDirective, decorators: [{
|
|
9742
9657
|
type: Directive,
|
|
9743
9658
|
args: [{
|
|
9744
9659
|
selector: '[et-inline-tab-label]',
|
|
@@ -9763,28 +9678,16 @@ class InlineTabComponent {
|
|
|
9763
9678
|
set templateLabel(value) {
|
|
9764
9679
|
this._setTemplateLabelInput(value);
|
|
9765
9680
|
}
|
|
9766
|
-
get fitUnderlineToContent() {
|
|
9767
|
-
return this._fitToContent;
|
|
9768
|
-
}
|
|
9769
|
-
set fitUnderlineToContent(v) {
|
|
9770
|
-
this._fitToContent = coerceBooleanProperty(v);
|
|
9771
|
-
}
|
|
9772
|
-
get disabled() {
|
|
9773
|
-
return this._disabled;
|
|
9774
|
-
}
|
|
9775
|
-
set disabled(value) {
|
|
9776
|
-
this._disabled = coerceBooleanProperty(value);
|
|
9777
|
-
}
|
|
9778
9681
|
get content() {
|
|
9779
9682
|
return this._contentPortal;
|
|
9780
9683
|
}
|
|
9781
9684
|
constructor(_viewContainerRef, _closestTabGroup) {
|
|
9782
9685
|
this._viewContainerRef = _viewContainerRef;
|
|
9783
9686
|
this._closestTabGroup = _closestTabGroup;
|
|
9784
|
-
this.
|
|
9687
|
+
this.fitUnderlineToContent = false;
|
|
9785
9688
|
// eslint-disable-next-line @angular-eslint/no-input-rename
|
|
9786
9689
|
this.textLabel = '';
|
|
9787
|
-
this.
|
|
9690
|
+
this.disabled = false;
|
|
9788
9691
|
this._contentPortal = null;
|
|
9789
9692
|
this._stateChanges = new Subject();
|
|
9790
9693
|
this.position = null;
|
|
@@ -9807,10 +9710,10 @@ class InlineTabComponent {
|
|
|
9807
9710
|
this._templateLabel = value;
|
|
9808
9711
|
}
|
|
9809
9712
|
}
|
|
9810
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.
|
|
9811
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.
|
|
9713
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: InlineTabComponent, deps: [{ token: i0.ViewContainerRef }, { token: TAB_GROUP, optional: true }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
9714
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.1", type: InlineTabComponent, isStandalone: true, selector: "et-inline-tab", inputs: { fitUnderlineToContent: ["fitUnderlineToContent", "fitUnderlineToContent", booleanAttribute], textLabel: ["label", "textLabel"], ariaLabel: ["aria-label", "ariaLabel"], ariaLabelledby: ["aria-labelledby", "ariaLabelledby"], labelClass: "labelClass", bodyClass: "bodyClass", disabled: ["disabled", "disabled", booleanAttribute] }, host: { classAttribute: "et-inline-tab" }, providers: [{ provide: TAB, useExisting: InlineTabComponent }], queries: [{ propertyName: "templateLabel", first: true, predicate: TAB_LABEL, descendants: true }, { propertyName: "_explicitContent", first: true, predicate: TAB_CONTENT, descendants: true, read: TemplateRef, static: true }], viewQueries: [{ propertyName: "_implicitContent", first: true, predicate: TemplateRef, descendants: true, static: true }], usesOnChanges: true, ngImport: i0, template: "<ng-template><ng-content /></ng-template>\n", changeDetection: i0.ChangeDetectionStrategy.Default, encapsulation: i0.ViewEncapsulation.None }); }
|
|
9812
9715
|
}
|
|
9813
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.
|
|
9716
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: InlineTabComponent, decorators: [{
|
|
9814
9717
|
type: Component,
|
|
9815
9718
|
args: [{ selector: 'et-inline-tab', changeDetection: ChangeDetectionStrategy.Default, encapsulation: ViewEncapsulation.None, providers: [{ provide: TAB, useExisting: InlineTabComponent }], standalone: true, host: {
|
|
9816
9719
|
class: 'et-inline-tab',
|
|
@@ -9824,7 +9727,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0", ngImpor
|
|
|
9824
9727
|
type: ContentChild,
|
|
9825
9728
|
args: [TAB_LABEL]
|
|
9826
9729
|
}], fitUnderlineToContent: [{
|
|
9827
|
-
type: Input
|
|
9730
|
+
type: Input,
|
|
9731
|
+
args: [{ transform: booleanAttribute }]
|
|
9828
9732
|
}], _explicitContent: [{
|
|
9829
9733
|
type: ContentChild,
|
|
9830
9734
|
args: [TAB_CONTENT, { read: TemplateRef, static: true }]
|
|
@@ -9845,7 +9749,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0", ngImpor
|
|
|
9845
9749
|
}], bodyClass: [{
|
|
9846
9750
|
type: Input
|
|
9847
9751
|
}], disabled: [{
|
|
9848
|
-
type: Input
|
|
9752
|
+
type: Input,
|
|
9753
|
+
args: [{ transform: booleanAttribute }]
|
|
9849
9754
|
}] } });
|
|
9850
9755
|
|
|
9851
9756
|
let nextUniqueId$1 = 0;
|
|
@@ -9862,10 +9767,10 @@ class NavTabsOutletComponent {
|
|
|
9862
9767
|
get _attrId() {
|
|
9863
9768
|
return this.id;
|
|
9864
9769
|
}
|
|
9865
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.
|
|
9866
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.
|
|
9770
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: NavTabsOutletComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
9771
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.1", type: NavTabsOutletComponent, isStandalone: true, selector: "et-nav-tabs-outlet", inputs: { id: "id" }, host: { properties: { "attr.aria-labelledby": "this._attrAriaLabelledBy", "attr.role": "this._attrRole", "attr.id": "this._attrId" }, classAttribute: "et-nav-tabs-outlet" }, ngImport: i0, template: '<ng-content />', isInline: true, styles: [".et-nav-tabs{display:block}.et-nav-tabs .et-nav-tab-link{white-space:nowrap}.et-nav-tabs .et-nav-tab-link:not([aria-disabled=true]){cursor:pointer}.et-nav-tabs .et-scrollable-container{position:relative}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
9867
9772
|
}
|
|
9868
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.
|
|
9773
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: NavTabsOutletComponent, decorators: [{
|
|
9869
9774
|
type: Component,
|
|
9870
9775
|
args: [{ selector: 'et-nav-tabs-outlet', template: '<ng-content />', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, standalone: true, host: {
|
|
9871
9776
|
class: 'et-nav-tabs-outlet',
|
|
@@ -9884,14 +9789,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0", ngImpor
|
|
|
9884
9789
|
}] } });
|
|
9885
9790
|
|
|
9886
9791
|
class NavTabsComponent extends PaginatedTabHeaderDirective {
|
|
9792
|
+
constructor() {
|
|
9793
|
+
super(...arguments);
|
|
9794
|
+
this._router = inject(Router);
|
|
9795
|
+
}
|
|
9887
9796
|
get _attrRole() {
|
|
9888
9797
|
return this._getRole();
|
|
9889
9798
|
}
|
|
9890
|
-
constructor(elementRef, dir, ngZone, _cdr, viewportRuler, _router) {
|
|
9891
|
-
super(elementRef, _cdr, viewportRuler, dir, ngZone);
|
|
9892
|
-
this._cdr = _cdr;
|
|
9893
|
-
this._router = _router;
|
|
9894
|
-
}
|
|
9895
9799
|
ngOnInit() {
|
|
9896
9800
|
this._router.events
|
|
9897
9801
|
.pipe(filter((e) => e instanceof NavigationEnd), tap(() => this.updateActiveLink()), takeUntil(this._destroy$))
|
|
@@ -9932,17 +9836,15 @@ class NavTabsComponent extends PaginatedTabHeaderDirective {
|
|
|
9932
9836
|
_getRole() {
|
|
9933
9837
|
return this.tabOutlet ? 'tablist' : this._elementRef.nativeElement.getAttribute('role');
|
|
9934
9838
|
}
|
|
9935
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.
|
|
9936
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.
|
|
9839
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: NavTabsComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
9840
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.1", type: NavTabsComponent, isStandalone: true, selector: "[et-nav-tabs]", inputs: { tabOutlet: "tabOutlet" }, host: { properties: { "attr.role": "this._attrRole" }, classAttribute: "et-nav-tabs" }, queries: [{ propertyName: "_items", predicate: i0.forwardRef(function () { return NavTabLinkComponent; }), descendants: true }, { propertyName: "_inkBars", predicate: i0.forwardRef(function () { return ActiveTabUnderlineDirective; }), descendants: true }], viewQueries: [{ propertyName: "_scrollable", first: true, predicate: ScrollableComponent, descendants: true, static: true }], usesInheritance: true, ngImport: i0, template: "<et-scrollable\n [itemSize]=\"itemSize\"\n [renderButtons]=\"renderButtons\"\n [scrollableClass]=\"scrollableClass\"\n [renderMasks]=\"renderMasks\"\n [renderScrollbars]=\"renderScrollbars\"\n (keydown)=\"_handleKeydown($event)\"\n (contentChanged)=\"_onContentChanges()\"\n>\n <ng-content />\n</et-scrollable>\n", dependencies: [{ kind: "component", type: ScrollableComponent, selector: "et-scrollable", inputs: ["itemSize", "direction", "scrollableRole", "scrollableClass", "renderMasks", "renderButtons", "renderScrollbars", "stickyButtons", "cursorDragScroll", "disableActiveElementScrolling", "scrollMode", "snap", "scrollMargin"], outputs: ["scrollStateChange", "intersectionChange"] }], changeDetection: i0.ChangeDetectionStrategy.Default, encapsulation: i0.ViewEncapsulation.None }); }
|
|
9937
9841
|
}
|
|
9938
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.
|
|
9842
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: NavTabsComponent, decorators: [{
|
|
9939
9843
|
type: Component,
|
|
9940
9844
|
args: [{ selector: '[et-nav-tabs]', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.Default, standalone: true, imports: [ScrollableComponent, NgClass, ScrollObserverIgnoreTargetDirective], host: {
|
|
9941
9845
|
class: 'et-nav-tabs',
|
|
9942
9846
|
}, template: "<et-scrollable\n [itemSize]=\"itemSize\"\n [renderButtons]=\"renderButtons\"\n [scrollableClass]=\"scrollableClass\"\n [renderMasks]=\"renderMasks\"\n [renderScrollbars]=\"renderScrollbars\"\n (keydown)=\"_handleKeydown($event)\"\n (contentChanged)=\"_onContentChanges()\"\n>\n <ng-content />\n</et-scrollable>\n" }]
|
|
9943
|
-
}],
|
|
9944
|
-
type: Optional
|
|
9945
|
-
}] }, { type: i0.NgZone }, { type: i0.ChangeDetectorRef }, { type: i1$5.ViewportRuler }, { type: i3.Router }]; }, propDecorators: { tabOutlet: [{
|
|
9847
|
+
}], propDecorators: { tabOutlet: [{
|
|
9946
9848
|
type: Input
|
|
9947
9849
|
}], _items: [{
|
|
9948
9850
|
type: ContentChildren,
|
|
@@ -9976,18 +9878,6 @@ class NavTabLinkComponent {
|
|
|
9976
9878
|
const isActive = link.urlTree ? this._router.isActive(link.urlTree, options) : false;
|
|
9977
9879
|
return isActive;
|
|
9978
9880
|
}
|
|
9979
|
-
get tabIndex() {
|
|
9980
|
-
return this.disabled ? -1 : this._tabIndex;
|
|
9981
|
-
}
|
|
9982
|
-
set tabIndex(value) {
|
|
9983
|
-
this._tabIndex = value != null ? coerceNumberProperty(value) : 0;
|
|
9984
|
-
}
|
|
9985
|
-
get disabled() {
|
|
9986
|
-
return this._disabled;
|
|
9987
|
-
}
|
|
9988
|
-
set disabled(value) {
|
|
9989
|
-
this._disabled = coerceBooleanProperty(value);
|
|
9990
|
-
}
|
|
9991
9881
|
get _attrAriaControls() {
|
|
9992
9882
|
return this._getAriaControls();
|
|
9993
9883
|
}
|
|
@@ -10006,18 +9896,19 @@ class NavTabLinkComponent {
|
|
|
10006
9896
|
get _attrRole() {
|
|
10007
9897
|
return this._getRole();
|
|
10008
9898
|
}
|
|
10009
|
-
constructor(
|
|
10010
|
-
this._tabNavBar =
|
|
10011
|
-
this.elementRef =
|
|
10012
|
-
this._focusMonitor =
|
|
10013
|
-
this._router =
|
|
10014
|
-
this._cdr =
|
|
10015
|
-
this._ngZone =
|
|
10016
|
-
this._link =
|
|
10017
|
-
this._linkWithHref =
|
|
10018
|
-
this._linkConfig =
|
|
10019
|
-
|
|
10020
|
-
this.
|
|
9899
|
+
constructor(tabIndex) {
|
|
9900
|
+
this._tabNavBar = inject(NavTabsComponent);
|
|
9901
|
+
this.elementRef = inject(ElementRef);
|
|
9902
|
+
this._focusMonitor = inject(FocusMonitor);
|
|
9903
|
+
this._router = inject(Router);
|
|
9904
|
+
this._cdr = inject(ChangeDetectorRef);
|
|
9905
|
+
this._ngZone = inject(NgZone);
|
|
9906
|
+
this._link = inject(RouterLink, { optional: true });
|
|
9907
|
+
this._linkWithHref = inject(RouterLink, { optional: true });
|
|
9908
|
+
this._linkConfig = inject(RouterLinkActive, { optional: true });
|
|
9909
|
+
// eslint-disable-next-line @angular-eslint/no-input-rename
|
|
9910
|
+
this.tabIndex = 0;
|
|
9911
|
+
this.disabled = false;
|
|
10021
9912
|
this.id = `et-nav-tab-link-${nextUniqueId++}`;
|
|
10022
9913
|
this._haltDisabledEvents = (event) => {
|
|
10023
9914
|
if (this.disabled) {
|
|
@@ -10080,14 +9971,14 @@ class NavTabLinkComponent {
|
|
|
10080
9971
|
_markForCheck() {
|
|
10081
9972
|
this._cdr.markForCheck();
|
|
10082
9973
|
}
|
|
10083
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.
|
|
10084
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.
|
|
9974
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: NavTabLinkComponent, deps: [{ token: 'tabindex', attribute: true }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
9975
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.1", type: NavTabLinkComponent, isStandalone: true, selector: "[et-nav-tab-link]", inputs: { tabIndex: ["tabIndex", "tabIndex", (v) => numberAttribute(v, 0)], disabled: ["disabled", "disabled", booleanAttribute], id: "id" }, host: { listeners: { "focus": "_handleFocus()", "keydown": "_handleKeydown($event)" }, properties: { "attr.id": "this.id", "attr.aria-controls": "this._attrAriaControls", "attr.aria-current": "this._attrAriaCurrent", "attr.aria-disabled": "this._attrAriaDisabled", "attr.aria-selected": "this._attrAriaSelected", "attr.tabIndex": "this._attrTabIndex", "attr.role": "this._attrRole" }, classAttribute: "et-nav-tab-link" }, hostDirectives: [{ directive: ActiveTabUnderlineDirective, inputs: ["fitUnderlineToContent", "fitUnderlineToContent"] }], ngImport: i0, template: `
|
|
10085
9976
|
<span class="et-tab-content">
|
|
10086
9977
|
<ng-content />
|
|
10087
9978
|
</span>
|
|
10088
9979
|
`, isInline: true }); }
|
|
10089
9980
|
}
|
|
10090
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.
|
|
9981
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: NavTabLinkComponent, decorators: [{
|
|
10091
9982
|
type: Component,
|
|
10092
9983
|
args: [{
|
|
10093
9984
|
selector: '[et-nav-tab-link]',
|
|
@@ -10102,19 +9993,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0", ngImpor
|
|
|
10102
9993
|
},
|
|
10103
9994
|
hostDirectives: [{ directive: ActiveTabUnderlineDirective, inputs: ['fitUnderlineToContent'] }],
|
|
10104
9995
|
}]
|
|
10105
|
-
}], ctorParameters: function () { return [{ type:
|
|
9996
|
+
}], ctorParameters: function () { return [{ type: undefined, decorators: [{
|
|
10106
9997
|
type: Attribute,
|
|
10107
9998
|
args: ['tabindex']
|
|
10108
|
-
}] }, { type: i1$2.FocusMonitor }, { type: i3.Router }, { type: i0.ChangeDetectorRef }, { type: i0.NgZone }, { type: i3.RouterLink, decorators: [{
|
|
10109
|
-
type: Optional
|
|
10110
|
-
}] }, { type: i3.RouterLink, decorators: [{
|
|
10111
|
-
type: Optional
|
|
10112
|
-
}] }, { type: i3.RouterLinkActive, decorators: [{
|
|
10113
|
-
type: Optional
|
|
10114
9999
|
}] }]; }, propDecorators: { tabIndex: [{
|
|
10115
|
-
type: Input
|
|
10000
|
+
type: Input,
|
|
10001
|
+
args: [{ transform: (v) => numberAttribute(v, 0) }]
|
|
10116
10002
|
}], disabled: [{
|
|
10117
|
-
type: Input
|
|
10003
|
+
type: Input,
|
|
10004
|
+
args: [{ transform: booleanAttribute }]
|
|
10118
10005
|
}], id: [{
|
|
10119
10006
|
type: Input
|
|
10120
10007
|
}, {
|
|
@@ -10153,57 +10040,21 @@ let nextId = 0;
|
|
|
10153
10040
|
class InlineTabChangeEvent {
|
|
10154
10041
|
}
|
|
10155
10042
|
class InlineTabsComponent {
|
|
10156
|
-
|
|
10157
|
-
|
|
10158
|
-
|
|
10159
|
-
|
|
10160
|
-
this.
|
|
10161
|
-
}
|
|
10162
|
-
get contentTabIndex() {
|
|
10163
|
-
return this._contentTabIndex;
|
|
10164
|
-
}
|
|
10165
|
-
set contentTabIndex(value) {
|
|
10166
|
-
this._contentTabIndex = coerceNumberProperty(value, null);
|
|
10167
|
-
}
|
|
10168
|
-
get preserveContent() {
|
|
10169
|
-
return this._preserveContent;
|
|
10170
|
-
}
|
|
10171
|
-
set preserveContent(value) {
|
|
10172
|
-
this._preserveContent = coerceBooleanProperty(value);
|
|
10173
|
-
}
|
|
10174
|
-
get renderMasks() {
|
|
10175
|
-
return this._renderMasks;
|
|
10176
|
-
}
|
|
10177
|
-
set renderMasks(value) {
|
|
10178
|
-
this._renderMasks = coerceBooleanProperty(value);
|
|
10179
|
-
}
|
|
10180
|
-
get renderButtons() {
|
|
10181
|
-
return this._renderButtons;
|
|
10182
|
-
}
|
|
10183
|
-
set renderButtons(value) {
|
|
10184
|
-
this._renderButtons = coerceBooleanProperty(value);
|
|
10185
|
-
}
|
|
10186
|
-
get renderScrollbars() {
|
|
10187
|
-
return this._renderScrollbars;
|
|
10188
|
-
}
|
|
10189
|
-
set renderScrollbars(value) {
|
|
10190
|
-
this._renderScrollbars = coerceBooleanProperty(value);
|
|
10191
|
-
}
|
|
10192
|
-
constructor(_cdr) {
|
|
10193
|
-
this._cdr = _cdr;
|
|
10194
|
-
this._selectedIndex = null;
|
|
10195
|
-
this._contentTabIndex = null;
|
|
10196
|
-
this._preserveContent = false;
|
|
10043
|
+
constructor() {
|
|
10044
|
+
this._cdr = inject(ChangeDetectorRef);
|
|
10045
|
+
this.selectedIndex = null;
|
|
10046
|
+
this.contentTabIndex = null;
|
|
10047
|
+
this.preserveContent = false;
|
|
10197
10048
|
this.itemSize = 'auto';
|
|
10198
|
-
this.
|
|
10199
|
-
this.
|
|
10200
|
-
this.
|
|
10049
|
+
this.renderMasks = true;
|
|
10050
|
+
this.renderButtons = true;
|
|
10051
|
+
this.renderScrollbars = false;
|
|
10201
10052
|
this.selectedIndexChange = new EventEmitter();
|
|
10202
10053
|
this.focusChange = new EventEmitter();
|
|
10203
10054
|
this.selectedTabChange = new EventEmitter(true);
|
|
10055
|
+
this._tabBodyWrapper = null;
|
|
10204
10056
|
this._tabs = new TypedQueryList();
|
|
10205
10057
|
this._groupId = nextId++;
|
|
10206
|
-
this._indexToSelect = 0;
|
|
10207
10058
|
this._lastFocusedTabIndex = null;
|
|
10208
10059
|
this._tabsSubscription = Subscription.EMPTY;
|
|
10209
10060
|
this._tabLabelSubscription = Subscription.EMPTY;
|
|
@@ -10213,13 +10064,13 @@ class InlineTabsComponent {
|
|
|
10213
10064
|
this._subscribeToAllTabChanges();
|
|
10214
10065
|
this._subscribeToTabLabels();
|
|
10215
10066
|
this._tabsSubscription = this._tabs.changes.subscribe(() => {
|
|
10216
|
-
const indexToSelect = this._clampTabIndex(this.
|
|
10217
|
-
if (indexToSelect === this.
|
|
10067
|
+
const indexToSelect = this._clampTabIndex(this.selectedIndex);
|
|
10068
|
+
if (indexToSelect === this.selectedIndex) {
|
|
10218
10069
|
const tabs = this._tabs.toArray();
|
|
10219
10070
|
let selectedTab;
|
|
10220
10071
|
for (let i = 0; i < tabs.length; i++) {
|
|
10221
10072
|
if (tabs[i]?.isActive) {
|
|
10222
|
-
this.
|
|
10073
|
+
this.selectedIndex = i;
|
|
10223
10074
|
this._lastFocusedTabIndex = null;
|
|
10224
10075
|
selectedTab = tabs[i];
|
|
10225
10076
|
break;
|
|
@@ -10239,12 +10090,12 @@ class InlineTabsComponent {
|
|
|
10239
10090
|
});
|
|
10240
10091
|
}
|
|
10241
10092
|
ngAfterContentChecked() {
|
|
10242
|
-
const indexToSelect = (this.
|
|
10243
|
-
if (this.
|
|
10244
|
-
const isFirstRun = this.
|
|
10093
|
+
const indexToSelect = (this.selectedIndex = this._clampTabIndex(this.selectedIndex));
|
|
10094
|
+
if (this.selectedIndex != indexToSelect && this._tabBodyWrapper) {
|
|
10095
|
+
const isFirstRun = this.selectedIndex == null;
|
|
10245
10096
|
if (!isFirstRun) {
|
|
10246
10097
|
this.selectedTabChange.emit(this._createChangeEvent(indexToSelect));
|
|
10247
|
-
const wrapper = this._tabBodyWrapper
|
|
10098
|
+
const wrapper = this._tabBodyWrapper?.nativeElement;
|
|
10248
10099
|
wrapper.style.minHeight = wrapper.clientHeight + 'px';
|
|
10249
10100
|
}
|
|
10250
10101
|
Promise.resolve().then(() => {
|
|
@@ -10253,7 +10104,9 @@ class InlineTabsComponent {
|
|
|
10253
10104
|
.forEach((tab, index) => (tab.isActive = index === indexToSelect));
|
|
10254
10105
|
if (!isFirstRun) {
|
|
10255
10106
|
this.selectedIndexChange.emit(indexToSelect);
|
|
10256
|
-
this._tabBodyWrapper
|
|
10107
|
+
if (this._tabBodyWrapper) {
|
|
10108
|
+
this._tabBodyWrapper.nativeElement.style.minHeight = '';
|
|
10109
|
+
}
|
|
10257
10110
|
}
|
|
10258
10111
|
});
|
|
10259
10112
|
}
|
|
@@ -10261,12 +10114,12 @@ class InlineTabsComponent {
|
|
|
10261
10114
|
if (!tab)
|
|
10262
10115
|
return;
|
|
10263
10116
|
tab.position = index - indexToSelect;
|
|
10264
|
-
if (this.
|
|
10265
|
-
tab.origin = indexToSelect - this.
|
|
10117
|
+
if (this.selectedIndex != null && tab.position == 0 && !tab.origin) {
|
|
10118
|
+
tab.origin = indexToSelect - this.selectedIndex;
|
|
10266
10119
|
}
|
|
10267
10120
|
});
|
|
10268
|
-
if (this.
|
|
10269
|
-
this.
|
|
10121
|
+
if (this.selectedIndex !== indexToSelect) {
|
|
10122
|
+
this.selectedIndex = indexToSelect;
|
|
10270
10123
|
this._lastFocusedTabIndex = null;
|
|
10271
10124
|
this._cdr.markForCheck();
|
|
10272
10125
|
}
|
|
@@ -10349,15 +10202,15 @@ class InlineTabsComponent {
|
|
|
10349
10202
|
}
|
|
10350
10203
|
return event;
|
|
10351
10204
|
}
|
|
10352
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.
|
|
10353
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.
|
|
10205
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: InlineTabsComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
10206
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.1", type: InlineTabsComponent, isStandalone: true, selector: "et-inline-tabs", inputs: { selectedIndex: ["selectedIndex", "selectedIndex", numberAttribute], contentTabIndex: ["contentTabIndex", "contentTabIndex", numberAttribute], preserveContent: ["preserveContent", "preserveContent", booleanAttribute], tabHeaderClasses: "tabHeaderClasses", itemSize: "itemSize", scrollableClass: "scrollableClass", renderMasks: ["renderMasks", "renderMasks", booleanAttribute], renderButtons: ["renderButtons", "renderButtons", booleanAttribute], renderScrollbars: ["renderScrollbars", "renderScrollbars", booleanAttribute] }, outputs: { selectedIndexChange: "selectedIndexChange", focusChange: "focusChange", selectedTabChange: "selectedTabChange" }, host: { classAttribute: "et-inline-tabs" }, providers: [
|
|
10354
10207
|
{
|
|
10355
10208
|
provide: TAB_GROUP,
|
|
10356
10209
|
useExisting: InlineTabsComponent,
|
|
10357
10210
|
},
|
|
10358
10211
|
], queries: [{ propertyName: "_allTabs", predicate: InlineTabComponent, descendants: true }], viewQueries: [{ propertyName: "_tabBodyWrapper", first: true, predicate: ["tabBodyWrapper"], descendants: true }, { propertyName: "_tabHeader", first: true, predicate: ["tabHeader"], descendants: true }], ngImport: i0, template: "<et-inline-tab-header\n #tabHeader\n [selectedIndex]=\"selectedIndex || 0\"\n [ngClass]=\"tabHeaderClasses\"\n [itemSize]=\"itemSize\"\n [renderButtons]=\"renderButtons\"\n [scrollableClass]=\"scrollableClass\"\n [renderMasks]=\"renderMasks\"\n [renderScrollbars]=\"renderScrollbars\"\n (indexFocused)=\"_focusChanged($event)\"\n (selectFocusedIndex)=\"selectedIndex = $event\"\n>\n <!-- eslint-disable-next-line @angular-eslint/template/click-events-have-key-events -->\n <div\n *ngFor=\"let tab of _tabs; let i = index; trackBy: trackByTabFn\"\n [id]=\"_getTabLabelId(i)\"\n [attr.tabIndex]=\"_getTabIndex(tab, i)\"\n [attr.aria-posinset]=\"i + 1\"\n [attr.aria-setsize]=\"_tabs.length\"\n [attr.aria-controls]=\"_getTabContentId(i)\"\n [attr.aria-selected]=\"selectedIndex === i\"\n [attr.aria-label]=\"tab.ariaLabel || null\"\n [attr.aria-labelledby]=\"!tab.ariaLabel && tab.ariaLabelledby ? tab.ariaLabelledby : null\"\n [disabled]=\"tab.disabled\"\n [class.et-inline-tab-label--active]=\"selectedIndex === i\"\n [class.et-inline-tab-label--is-text]=\"!!tab.textLabel\"\n [fitUnderlineToContent]=\"tab.fitUnderlineToContent\"\n (click)=\"_handleClick(tab, tabHeader, i)\"\n (cdkFocusChange)=\"_tabFocusChanged($event, i)\"\n role=\"tab\"\n etInlineTabLabelWrapper\n cdkMonitorElementFocus\n >\n <span class=\"et-tab-content\">\n <ng-template [ngIf]=\"tab.templateLabel\" [ngIfElse]=\"tabTextLabel\">\n <ng-template [cdkPortalOutlet]=\"tab.templateLabel\" />\n </ng-template>\n\n <ng-template #tabTextLabel>{{ tab.textLabel }}</ng-template>\n </span>\n </div>\n</et-inline-tab-header>\n\n<div #tabBodyWrapper>\n <et-inline-tab-body\n *ngFor=\"let tab of _tabs; let i = index; trackBy: trackByTabFn\"\n [id]=\"_getTabContentId(i)\"\n [attr.tabindex]=\"contentTabIndex !== null && selectedIndex === i ? contentTabIndex : null\"\n [attr.aria-labelledby]=\"_getTabLabelId(i)\"\n [class.cdk-visually-hidden]=\"selectedIndex !== i\"\n [ngClass]=\"tab.bodyClass\"\n [class.sr-only]=\"selectedIndex !== i\"\n [content]=\"tab.content!\"\n [position]=\"tab.position!\"\n [origin]=\"tab.origin\"\n [preserveContent]=\"preserveContent\"\n role=\"tabpanel\"\n animationDuration=\"0ms\"\n />\n</div>\n", styles: [".et-inline-tabs{display:block}.et-inline-tabs .et-inline-tab-label--is-text{white-space:nowrap}.et-inline-tabs .et-inline-tab-label-wrapper:not([aria-disabled=true]){cursor:pointer}.et-inline-tabs .et-scrollable-container{position:relative}\n"], dependencies: [{ kind: "directive", type: NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: InlineTabHeaderComponent, selector: "et-inline-tab-header" }, { kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: InlineTabLabelWrapperDirective, selector: "[etInlineTabLabelWrapper]", inputs: ["disabled"] }, { kind: "ngmodule", type: A11yModule }, { kind: "directive", type: i1$2.CdkMonitorFocus, selector: "[cdkMonitorElementFocus], [cdkMonitorSubtreeFocus]", outputs: ["cdkFocusChange"], exportAs: ["cdkMonitorFocus"] }, { kind: "component", type: InlineTabBodyComponent, selector: "et-inline-tab-body", inputs: ["content", "origin", "animationDuration", "preserveContent", "position"], outputs: ["_onCentering", "_beforeCentering", "_afterLeavingCenter", "_onCentered"] }, { kind: "ngmodule", type: PortalModule }, { kind: "directive", type: i1.CdkPortalOutlet, selector: "[cdkPortalOutlet]", inputs: ["cdkPortalOutlet"], outputs: ["attached"], exportAs: ["cdkPortalOutlet"] }], changeDetection: i0.ChangeDetectionStrategy.Default, encapsulation: i0.ViewEncapsulation.None }); }
|
|
10359
10212
|
}
|
|
10360
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.
|
|
10213
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: InlineTabsComponent, decorators: [{
|
|
10361
10214
|
type: Component,
|
|
10362
10215
|
args: [{ selector: 'et-inline-tabs', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.Default, providers: [
|
|
10363
10216
|
{
|
|
@@ -10376,12 +10229,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0", ngImpor
|
|
|
10376
10229
|
], host: {
|
|
10377
10230
|
class: 'et-inline-tabs',
|
|
10378
10231
|
}, template: "<et-inline-tab-header\n #tabHeader\n [selectedIndex]=\"selectedIndex || 0\"\n [ngClass]=\"tabHeaderClasses\"\n [itemSize]=\"itemSize\"\n [renderButtons]=\"renderButtons\"\n [scrollableClass]=\"scrollableClass\"\n [renderMasks]=\"renderMasks\"\n [renderScrollbars]=\"renderScrollbars\"\n (indexFocused)=\"_focusChanged($event)\"\n (selectFocusedIndex)=\"selectedIndex = $event\"\n>\n <!-- eslint-disable-next-line @angular-eslint/template/click-events-have-key-events -->\n <div\n *ngFor=\"let tab of _tabs; let i = index; trackBy: trackByTabFn\"\n [id]=\"_getTabLabelId(i)\"\n [attr.tabIndex]=\"_getTabIndex(tab, i)\"\n [attr.aria-posinset]=\"i + 1\"\n [attr.aria-setsize]=\"_tabs.length\"\n [attr.aria-controls]=\"_getTabContentId(i)\"\n [attr.aria-selected]=\"selectedIndex === i\"\n [attr.aria-label]=\"tab.ariaLabel || null\"\n [attr.aria-labelledby]=\"!tab.ariaLabel && tab.ariaLabelledby ? tab.ariaLabelledby : null\"\n [disabled]=\"tab.disabled\"\n [class.et-inline-tab-label--active]=\"selectedIndex === i\"\n [class.et-inline-tab-label--is-text]=\"!!tab.textLabel\"\n [fitUnderlineToContent]=\"tab.fitUnderlineToContent\"\n (click)=\"_handleClick(tab, tabHeader, i)\"\n (cdkFocusChange)=\"_tabFocusChanged($event, i)\"\n role=\"tab\"\n etInlineTabLabelWrapper\n cdkMonitorElementFocus\n >\n <span class=\"et-tab-content\">\n <ng-template [ngIf]=\"tab.templateLabel\" [ngIfElse]=\"tabTextLabel\">\n <ng-template [cdkPortalOutlet]=\"tab.templateLabel\" />\n </ng-template>\n\n <ng-template #tabTextLabel>{{ tab.textLabel }}</ng-template>\n </span>\n </div>\n</et-inline-tab-header>\n\n<div #tabBodyWrapper>\n <et-inline-tab-body\n *ngFor=\"let tab of _tabs; let i = index; trackBy: trackByTabFn\"\n [id]=\"_getTabContentId(i)\"\n [attr.tabindex]=\"contentTabIndex !== null && selectedIndex === i ? contentTabIndex : null\"\n [attr.aria-labelledby]=\"_getTabLabelId(i)\"\n [class.cdk-visually-hidden]=\"selectedIndex !== i\"\n [ngClass]=\"tab.bodyClass\"\n [class.sr-only]=\"selectedIndex !== i\"\n [content]=\"tab.content!\"\n [position]=\"tab.position!\"\n [origin]=\"tab.origin\"\n [preserveContent]=\"preserveContent\"\n role=\"tabpanel\"\n animationDuration=\"0ms\"\n />\n</div>\n", styles: [".et-inline-tabs{display:block}.et-inline-tabs .et-inline-tab-label--is-text{white-space:nowrap}.et-inline-tabs .et-inline-tab-label-wrapper:not([aria-disabled=true]){cursor:pointer}.et-inline-tabs .et-scrollable-container{position:relative}\n"] }]
|
|
10379
|
-
}],
|
|
10380
|
-
type: Input
|
|
10232
|
+
}], propDecorators: { selectedIndex: [{
|
|
10233
|
+
type: Input,
|
|
10234
|
+
args: [{ transform: numberAttribute }]
|
|
10381
10235
|
}], contentTabIndex: [{
|
|
10382
|
-
type: Input
|
|
10236
|
+
type: Input,
|
|
10237
|
+
args: [{ transform: numberAttribute }]
|
|
10383
10238
|
}], preserveContent: [{
|
|
10384
|
-
type: Input
|
|
10239
|
+
type: Input,
|
|
10240
|
+
args: [{ transform: booleanAttribute }]
|
|
10385
10241
|
}], tabHeaderClasses: [{
|
|
10386
10242
|
type: Input
|
|
10387
10243
|
}], itemSize: [{
|
|
@@ -10389,11 +10245,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0", ngImpor
|
|
|
10389
10245
|
}], scrollableClass: [{
|
|
10390
10246
|
type: Input
|
|
10391
10247
|
}], renderMasks: [{
|
|
10392
|
-
type: Input
|
|
10248
|
+
type: Input,
|
|
10249
|
+
args: [{ transform: booleanAttribute }]
|
|
10393
10250
|
}], renderButtons: [{
|
|
10394
|
-
type: Input
|
|
10251
|
+
type: Input,
|
|
10252
|
+
args: [{ transform: booleanAttribute }]
|
|
10395
10253
|
}], renderScrollbars: [{
|
|
10396
|
-
type: Input
|
|
10254
|
+
type: Input,
|
|
10255
|
+
args: [{ transform: booleanAttribute }]
|
|
10397
10256
|
}], selectedIndexChange: [{
|
|
10398
10257
|
type: Output
|
|
10399
10258
|
}], focusChange: [{
|