@ethlete/cdk 2.6.2 → 2.7.1
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 +14 -0
- package/esm2022/lib/components/accordion/components/accordion/accordion.component.mjs +13 -25
- package/esm2022/lib/components/accordion/components/accordion-group/accordion-group.component.mjs +9 -16
- package/esm2022/lib/components/accordion/partials/accordion-hint/accordion-hint.directive.mjs +5 -6
- package/esm2022/lib/components/accordion/partials/accordion-hint-wrapper/accordion-hint-wrapper.directive.mjs +5 -6
- package/esm2022/lib/components/accordion/partials/accordion-label/accordion-label.directive.mjs +5 -6
- package/esm2022/lib/components/accordion/partials/accordion-label-wrapper/accordion-label-wrapper.directive.mjs +5 -6
- package/esm2022/lib/components/bracket/components/bracket/bracket.component.mjs +5 -6
- package/esm2022/lib/components/bracket/directives/bracket-match/bracket-match.directive.mjs +5 -6
- package/esm2022/lib/components/bracket/directives/bracket-round/bracket-round.directive.mjs +5 -6
- package/esm2022/lib/components/bracket/partials/bracket-match/bracket-match.component.mjs +5 -6
- package/esm2022/lib/components/bracket/partials/bracket-round-header/bracket-round-header.component.mjs +5 -6
- package/esm2022/lib/components/button/components/button/button.component.mjs +5 -6
- package/esm2022/lib/components/button/components/query-button/query-button.component.mjs +5 -6
- package/esm2022/lib/components/button/directives/button/button.directive.mjs +8 -10
- package/esm2022/lib/components/button/directives/query-button/query-button.directive.mjs +5 -6
- package/esm2022/lib/components/forms/components/checkbox/components/checkbox/checkbox.component.mjs +5 -6
- package/esm2022/lib/components/forms/components/checkbox/components/checkbox-field/checkbox-field.component.mjs +5 -6
- package/esm2022/lib/components/forms/components/checkbox/components/checkbox-group/checkbox-group.component.mjs +5 -6
- package/esm2022/lib/components/forms/components/checkbox/directives/checkbox/checkbox.directive.mjs +5 -6
- package/esm2022/lib/components/forms/components/checkbox/directives/checkbox-field/checkbox-field.directive.mjs +5 -6
- package/esm2022/lib/components/forms/components/checkbox/directives/checkbox-group/checkbox-group.directive.mjs +5 -6
- package/esm2022/lib/components/forms/components/checkbox/directives/checkbox-group-control/checkbox-group-control.directive.mjs +5 -6
- package/esm2022/lib/components/forms/components/error/components/error/error.component.mjs +5 -6
- package/esm2022/lib/components/forms/components/input/components/email-input/email-input.component.mjs +5 -6
- package/esm2022/lib/components/forms/components/input/components/input-field/input-field.component.mjs +5 -6
- package/esm2022/lib/components/forms/components/input/components/number-input/number-input.component.mjs +5 -6
- package/esm2022/lib/components/forms/components/input/components/password-input/password-input.component.mjs +5 -6
- package/esm2022/lib/components/forms/components/input/components/search-input/search-input.component.mjs +5 -6
- package/esm2022/lib/components/forms/components/input/components/text-input/text-input.component.mjs +5 -6
- package/esm2022/lib/components/forms/components/input/components/textarea-input/textarea-input.component.mjs +12 -24
- package/esm2022/lib/components/forms/components/input/directives/autosize-textarea/autosize-textarea.directive.mjs +5 -6
- package/esm2022/lib/components/forms/components/input/directives/email-input/email-input.directive.mjs +5 -6
- package/esm2022/lib/components/forms/components/input/directives/number-input/number-input.directive.mjs +5 -6
- package/esm2022/lib/components/forms/components/input/directives/password-input/password-input.directive.mjs +5 -6
- package/esm2022/lib/components/forms/components/input/directives/search-input/search-input.directive.mjs +5 -6
- package/esm2022/lib/components/forms/components/input/directives/text-input/text-input.directive.mjs +5 -6
- package/esm2022/lib/components/forms/components/input/directives/textarea-input/textarea-input.directive.mjs +5 -6
- package/esm2022/lib/components/forms/components/input/partials/password-input-toggle/password-input-toggle.component.mjs +5 -6
- package/esm2022/lib/components/forms/components/input/partials/search-input-clear/search-input-clear.component.mjs +5 -6
- package/esm2022/lib/components/forms/components/label/components/label/label.component.mjs +5 -6
- package/esm2022/lib/components/forms/components/label/directives/label-suffix/label-suffix.directive.mjs +9 -16
- package/esm2022/lib/components/forms/components/radio/components/radio/radio.component.mjs +5 -6
- package/esm2022/lib/components/forms/components/radio/components/radio-field/radio-field.component.mjs +5 -6
- package/esm2022/lib/components/forms/components/radio/components/radio-group/radio-group.component.mjs +5 -6
- package/esm2022/lib/components/forms/components/radio/directives/radio/radio.directive.mjs +7 -9
- package/esm2022/lib/components/forms/components/radio/directives/radio-field/radio-field.directive.mjs +5 -6
- package/esm2022/lib/components/forms/components/radio/directives/radio-group/radio-group.directive.mjs +5 -6
- package/esm2022/lib/components/forms/components/segmented-button/components/segmented-button/segmented-button.component.mjs +5 -6
- package/esm2022/lib/components/forms/components/segmented-button/components/segmented-button-field/segmented-button-field.component.mjs +5 -6
- package/esm2022/lib/components/forms/components/segmented-button/components/segmented-button-group/segmented-button-group.component.mjs +5 -6
- package/esm2022/lib/components/forms/components/segmented-button/directives/segmented-button/segmented-button.directive.mjs +7 -9
- package/esm2022/lib/components/forms/components/segmented-button/directives/segmented-button-field/segmented-button-field.directive.mjs +5 -6
- package/esm2022/lib/components/forms/components/segmented-button/directives/segmented-button-group/segmented-button-group.directive.mjs +5 -6
- package/esm2022/lib/components/forms/components/select/components/combobox/components/combobox/combobox.component.mjs +10 -12
- package/esm2022/lib/components/forms/components/select/components/combobox/directives/combobox/combobox.directive.mjs +5 -6
- package/esm2022/lib/components/forms/components/select/components/combobox/partials/combobox-body/combobox-body.component.mjs +5 -6
- package/esm2022/lib/components/forms/components/select/components/combobox/partials/combobox-option/combobox-option.component.mjs +5 -6
- package/esm2022/lib/components/forms/components/select/components/native-select/components/native-select/native-select.component.mjs +5 -6
- package/esm2022/lib/components/forms/components/select/components/native-select/directives/native-select-input/native-select-input.directive.mjs +5 -6
- package/esm2022/lib/components/forms/components/select/components/native-select/directives/native-select-option/native-select-option.directive.mjs +12 -24
- package/esm2022/lib/components/forms/components/select/components/native-select/partials/native-select-option/native-select-option.component.mjs +5 -6
- package/esm2022/lib/components/forms/components/select/components/select/components/select/select.component.mjs +5 -6
- package/esm2022/lib/components/forms/components/select/components/select/directives/select/select.directive.mjs +7 -9
- package/esm2022/lib/components/forms/components/select/components/select/directives/select-body/select-body.directive.mjs +5 -6
- package/esm2022/lib/components/forms/components/select/components/select/directives/select-option/select-option.directive.mjs +7 -9
- package/esm2022/lib/components/forms/components/select/components/select/partials/select-body/select-body.component.mjs +5 -6
- package/esm2022/lib/components/forms/components/select/components/select/partials/select-option/select-option.component.mjs +5 -6
- package/esm2022/lib/components/forms/components/select/components/select-field/select-field.component.mjs +5 -6
- package/esm2022/lib/components/forms/components/select/directives/select-field/select-field.directive.mjs +5 -6
- package/esm2022/lib/components/forms/components/slide-toggle/components/slide-toggle/slide-toggle.component.mjs +5 -6
- package/esm2022/lib/components/forms/components/slide-toggle/components/slide-toggle-field/slide-toggle-field.component.mjs +5 -6
- package/esm2022/lib/components/forms/components/slide-toggle/directives/slide-toggle/slide-toggle.directive.mjs +5 -6
- package/esm2022/lib/components/forms/components/slider/components/slider/slider.component.mjs +12 -14
- package/esm2022/lib/components/forms/components/slider/components/slider-field/slider-field.component.mjs +5 -6
- package/esm2022/lib/components/forms/directives/dynamic-form-field/dynamic-form-field.directive.mjs +7 -9
- package/esm2022/lib/components/forms/directives/dynamic-form-group/dynamic-form-group.directive.mjs +7 -9
- package/esm2022/lib/components/forms/directives/if-input-empty/if-input-empty.directive.mjs +5 -6
- package/esm2022/lib/components/forms/directives/if-input-filled/if-input-filled.directive.mjs +5 -6
- package/esm2022/lib/components/forms/directives/input/input.directive.mjs +5 -6
- package/esm2022/lib/components/forms/directives/input-prefix/input-prefix.directive.mjs +5 -6
- package/esm2022/lib/components/forms/directives/input-suffix/input-suffix.directive.mjs +5 -6
- package/esm2022/lib/components/forms/directives/native-input-ref/native-input-ref.directive.mjs +5 -6
- package/esm2022/lib/components/forms/directives/static-form-field/static-form-field.directive.mjs +5 -6
- package/esm2022/lib/components/forms/directives/static-form-group/static-form-group.directive.mjs +5 -6
- package/esm2022/lib/components/forms/directives/writeable-input/writeable-input.directive.mjs +5 -6
- package/esm2022/lib/components/forms/services/default-validator-errors.service.mjs +5 -6
- package/esm2022/lib/components/forms/services/form-field-state.service.mjs +5 -6
- package/esm2022/lib/components/forms/services/form-group-state.service.mjs +5 -6
- package/esm2022/lib/components/forms/services/input-state.service.mjs +5 -6
- package/esm2022/lib/components/forms/utils/decorated-form-field.base.mjs +5 -6
- package/esm2022/lib/components/forms/utils/decorated-input.base.mjs +5 -6
- package/esm2022/lib/components/forms/utils/input.base.mjs +5 -6
- package/esm2022/lib/components/icons/chevron-icon/chevron-icon.component.mjs +5 -6
- package/esm2022/lib/components/masonry/components/masonry/masonry.component.mjs +9 -11
- package/esm2022/lib/components/masonry/partials/masonry-item/masonry-item.component.mjs +5 -6
- package/esm2022/lib/components/overlay/components/bottom-sheet/components/bottom-sheet-container/bottom-sheet-container.component.mjs +5 -6
- package/esm2022/lib/components/overlay/components/bottom-sheet/partials/bottom-sheet-container-base/bottom-sheet-container-base.component.mjs +5 -6
- package/esm2022/lib/components/overlay/components/bottom-sheet/partials/bottom-sheet-drag-handle/bottom-sheet-drag-handle.component.mjs +5 -6
- package/esm2022/lib/components/overlay/components/bottom-sheet/partials/bottom-sheet-title/bottom-sheet-title.directive.mjs +5 -6
- package/esm2022/lib/components/overlay/components/bottom-sheet/services/bottom-sheet-base.service.mjs +5 -6
- package/esm2022/lib/components/overlay/components/bottom-sheet/services/bottom-sheet-swipe-handler.service.mjs +5 -6
- package/esm2022/lib/components/overlay/components/bottom-sheet/services/bottom-sheet.service.mjs +5 -6
- package/esm2022/lib/components/overlay/components/dialog/components/dialog-container/dialog-container.component.mjs +5 -6
- package/esm2022/lib/components/overlay/components/dialog/partials/dialog-close/dialog-close.directive.mjs +5 -6
- package/esm2022/lib/components/overlay/components/dialog/partials/dialog-container-base/dialog-container-base.component.mjs +5 -6
- package/esm2022/lib/components/overlay/components/dialog/partials/dialog-title/dialog-title.directive.mjs +5 -6
- package/esm2022/lib/components/overlay/components/dialog/services/dialog-base.service.mjs +5 -6
- package/esm2022/lib/components/overlay/components/dialog/services/dialog.service.mjs +5 -6
- package/esm2022/lib/components/overlay/components/toggletip/components/toggletip/toggletip.component.mjs +5 -6
- package/esm2022/lib/components/overlay/components/toggletip/directives/toggletip/toggletip.directive.mjs +7 -9
- package/esm2022/lib/components/overlay/components/tooltip/components/tooltip/tooltip.component.mjs +5 -6
- package/esm2022/lib/components/overlay/components/tooltip/directives/tooltip/tooltip.directive.mjs +5 -6
- package/esm2022/lib/components/overlay/services/dynamic-overlay.service.mjs +11 -14
- package/esm2022/lib/components/pagination/components/pagination/pagination.component.mjs +10 -11
- package/esm2022/lib/components/pagination/partials/pagination-link/pagination-link.directive.mjs +5 -6
- package/esm2022/lib/components/pagination/services/pagination-head.service.mjs +5 -6
- package/esm2022/lib/components/picture/picture-data.directive.mjs +9 -16
- package/esm2022/lib/components/picture/picture.component.mjs +5 -6
- package/esm2022/lib/components/progress-spinner/progress-spinner.component.mjs +14 -26
- package/esm2022/lib/components/scrollable/components/scrollable/scrollable.component.mjs +163 -93
- package/esm2022/lib/components/scrollable/types/scrollable.types.mjs +1 -1
- package/esm2022/lib/components/skeleton/components/skeleton/skeleton.component.mjs +9 -16
- package/esm2022/lib/components/skeleton/partials/skeleton-item/skeleton-item.component.mjs +5 -6
- package/esm2022/lib/components/sort/components/sort-header/sort-header.component.mjs +25 -51
- package/esm2022/lib/components/sort/partials/sort/sort.directive.mjs +19 -38
- package/esm2022/lib/components/sort/services/sort-header-intl.mjs +5 -6
- package/esm2022/lib/components/table/components/table/table.component.mjs +8 -10
- package/esm2022/lib/components/table/partials/cells/cell/cell.directive.mjs +5 -6
- package/esm2022/lib/components/table/partials/cells/cell-def/cell-def.directive.mjs +5 -6
- package/esm2022/lib/components/table/partials/cells/column-def/column-def.directive.mjs +5 -6
- package/esm2022/lib/components/table/partials/cells/footer-cell/footer-cell.directive.mjs +5 -6
- package/esm2022/lib/components/table/partials/cells/footer-cell-def/footer-cell-def.directive.mjs +5 -6
- package/esm2022/lib/components/table/partials/cells/header-cell/header-cell.directive.mjs +5 -6
- package/esm2022/lib/components/table/partials/cells/header-cell-def/header-cell-def.directive.mjs +5 -6
- package/esm2022/lib/components/table/partials/cells/text-column/text-column.component.mjs +5 -6
- package/esm2022/lib/components/table/partials/rows/footer-row/footer-row.component.mjs +5 -6
- package/esm2022/lib/components/table/partials/rows/footer-row-def/footer-row-def.directive.mjs +5 -6
- package/esm2022/lib/components/table/partials/rows/header-row/header-row.component.mjs +5 -6
- package/esm2022/lib/components/table/partials/rows/header-row-def/header-row-def.directive.mjs +5 -6
- package/esm2022/lib/components/table/partials/rows/no-data-row/no-data-row.directive.mjs +5 -6
- package/esm2022/lib/components/table/partials/rows/recycle-rows/recycle-rows.directive.mjs +5 -6
- package/esm2022/lib/components/table/partials/rows/row/row.component.mjs +5 -6
- package/esm2022/lib/components/table/partials/rows/row-def/row-def.directive.mjs +5 -6
- package/esm2022/lib/components/table/partials/table-busy/table-busy.directive.mjs +9 -10
- package/esm2022/lib/components/table/partials/table-busy-outlet/table-busy-outlet.directive.mjs +10 -11
- package/esm2022/lib/components/tabs/components/inline-tabs/inline-tabs.component.mjs +42 -72
- package/esm2022/lib/components/tabs/components/nav-tabs/nav-tabs.component.mjs +11 -20
- package/esm2022/lib/components/tabs/partials/inline-tabs/inline-tab/inline-tab.component.mjs +12 -24
- package/esm2022/lib/components/tabs/partials/inline-tabs/inline-tab-body/inline-tab-body.component.mjs +16 -19
- package/esm2022/lib/components/tabs/partials/inline-tabs/inline-tab-body-host/inline-tab-body-host.directive.mjs +5 -6
- package/esm2022/lib/components/tabs/partials/inline-tabs/inline-tab-content/inline-tab-content.directive.mjs +9 -10
- package/esm2022/lib/components/tabs/partials/inline-tabs/inline-tab-header/inline-tab-header.component.mjs +7 -17
- package/esm2022/lib/components/tabs/partials/inline-tabs/inline-tab-label/inline-tab-label.directive.mjs +5 -6
- package/esm2022/lib/components/tabs/partials/inline-tabs/inline-tab-label-wrapper/inline-tab-label-wrapper.directive.mjs +12 -19
- package/esm2022/lib/components/tabs/partials/nav-tabs/nav-tab-link/nav-tab-link.directive.mjs +25 -45
- package/esm2022/lib/components/tabs/partials/nav-tabs/nav-tabs-outlet/nav-tabs-outlet.component.mjs +5 -6
- package/esm2022/lib/components/tabs/utils/active-tab-underline.util.mjs +7 -9
- package/esm2022/lib/components/tabs/utils/paginated-tab-header.directive.mjs +26 -47
- package/esm2022/lib/services/swipe-handler.service.mjs +5 -6
- package/fesm2022/ethlete-cdk.mjs +847 -957
- 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 +29 -27
- package/lib/components/scrollable/types/scrollable.types.d.ts +6 -0
- 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, Attribute } from '@angular/core';
|
|
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, 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.0
|
|
36
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.0
|
|
34
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.0", ngImport: i0, type: ChevronIconComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
35
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.0", 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.0
|
|
45
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0", 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.0.5", ngImpor
|
|
|
68
67
|
const IconImports = [ChevronIconComponent];
|
|
69
68
|
|
|
70
69
|
class AccordionLabelDirective {
|
|
71
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0
|
|
72
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0
|
|
70
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.0", ngImport: i0, type: AccordionLabelDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
71
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.0", 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.0
|
|
73
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0", 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.0
|
|
92
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0
|
|
90
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.0", 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.0", 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.0
|
|
93
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0", 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.0.5", 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.0
|
|
105
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0
|
|
103
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.0", ngImport: i0, type: AccordionHintDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
104
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.0", 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.0
|
|
106
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0", 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.0
|
|
125
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0
|
|
123
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.0", 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.0", 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.0
|
|
126
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0", 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.0
|
|
190
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.0
|
|
176
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.0", ngImport: i0, type: AccordionComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
177
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.0", 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.0
|
|
179
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0", 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.0.5", 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.0.5", 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.0
|
|
259
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.0
|
|
241
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.0", ngImport: i0, type: AccordionGroupComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
242
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.0", 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.0
|
|
244
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0", 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.0
|
|
289
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0
|
|
272
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.0", ngImport: i0, type: BracketMatchDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
273
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.0", type: BracketMatchDirective, isStandalone: true, ngImport: i0 }); }
|
|
290
274
|
}
|
|
291
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0
|
|
275
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0", 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.0
|
|
305
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0
|
|
288
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.0", ngImport: i0, type: BracketRoundDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
289
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.0", type: BracketRoundDirective, isStandalone: true, ngImport: i0 }); }
|
|
306
290
|
}
|
|
307
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0
|
|
291
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0", 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.0
|
|
319
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.0
|
|
302
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.0", ngImport: i0, type: BracketMatchComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
303
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.0", 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.0
|
|
305
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0", 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.0
|
|
333
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.0
|
|
316
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.0", ngImport: i0, type: BracketRoundHeaderComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
317
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.0", 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.0
|
|
319
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0", 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.0
|
|
913
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.0
|
|
896
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.0", ngImport: i0, type: BracketComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
897
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.0", 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.0
|
|
974
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0", 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.0
|
|
1093
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0
|
|
1076
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.0", ngImport: i0, type: ButtonDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
1077
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.0", 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.0
|
|
1079
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0", 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.0
|
|
1200
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0
|
|
1183
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.0", ngImport: i0, type: QueryButtonDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
1184
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.0", type: QueryButtonDirective, isStandalone: true, inputs: { query: "query" }, exportAs: ["etQueryButton"], ngImport: i0 }); }
|
|
1201
1185
|
}
|
|
1202
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0
|
|
1186
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0", 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.0
|
|
1217
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.0
|
|
1200
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.0", ngImport: i0, type: ButtonComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1201
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.0", 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.0
|
|
1203
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0", 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.0
|
|
1231
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.0
|
|
1214
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.0", ngImport: i0, type: QueryButtonComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1215
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.0", 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.0
|
|
1217
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0", 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.0
|
|
1287
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.0
|
|
1270
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.0", ngImport: i0, type: DefaultValidatorErrorsService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1271
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.0", ngImport: i0, type: DefaultValidatorErrorsService }); }
|
|
1288
1272
|
}
|
|
1289
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0
|
|
1273
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0", 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.0
|
|
1308
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.0
|
|
1291
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.0", ngImport: i0, type: FormFieldStateService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1292
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.0", ngImport: i0, type: FormFieldStateService }); }
|
|
1309
1293
|
}
|
|
1310
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0
|
|
1294
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0", 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.0
|
|
1326
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.0
|
|
1309
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.0", ngImport: i0, type: FormGroupStateService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1310
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.0", ngImport: i0, type: FormGroupStateService }); }
|
|
1327
1311
|
}
|
|
1328
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0
|
|
1312
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0", 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.0
|
|
1359
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.0
|
|
1342
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.0", ngImport: i0, type: InputStateService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1343
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.0", ngImport: i0, type: InputStateService }); }
|
|
1360
1344
|
}
|
|
1361
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0
|
|
1345
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0", 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.0
|
|
1373
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.0
|
|
1356
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.0", ngImport: i0, type: LabelComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1357
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.0", 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.0
|
|
1369
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0", 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.0.5", 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.0
|
|
1426
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0
|
|
1403
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.0", ngImport: i0, type: LabelSuffixDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
1404
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.0", 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.0
|
|
1406
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0", 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.0.5", 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.0
|
|
1459
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0
|
|
1437
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.0", ngImport: i0, type: DynamicFormFieldDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
1438
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.0", 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.0
|
|
1445
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0", 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.0
|
|
1497
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0
|
|
1475
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.0", ngImport: i0, type: DynamicFormGroupDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
1476
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.0", 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.0
|
|
1483
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0", 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.0
|
|
1740
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0
|
|
1718
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.0", ngImport: i0, type: InputDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
1719
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.0", 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.0
|
|
1721
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0", 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.0
|
|
1785
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0
|
|
1763
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.0", ngImport: i0, type: IfInputEmptyDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
1764
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.0", type: IfInputEmptyDirective, isStandalone: true, selector: "[etIfInputEmpty]", ngImport: i0 }); }
|
|
1786
1765
|
}
|
|
1787
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0
|
|
1766
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0", 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.0
|
|
1820
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0
|
|
1798
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.0", ngImport: i0, type: IfInputFilledDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
1799
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.0", type: IfInputFilledDirective, isStandalone: true, selector: "[etIfInputFilled]", ngImport: i0 }); }
|
|
1821
1800
|
}
|
|
1822
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0
|
|
1801
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0", 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.0.5", 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.0
|
|
1833
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0
|
|
1811
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.0", ngImport: i0, type: InputPrefixDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
1812
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.0", 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.0
|
|
1819
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0", 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.0.5", 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.0
|
|
1861
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0
|
|
1839
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.0", ngImport: i0, type: InputSuffixDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
1840
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.0", 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.0
|
|
1847
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0", 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.0
|
|
1892
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0
|
|
1870
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.0", ngImport: i0, type: NativeInputRefDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
1871
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.0", 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.0
|
|
1873
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0", 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.0
|
|
1942
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0
|
|
1920
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.0", ngImport: i0, type: StaticFormFieldDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
1921
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.0", 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.0
|
|
1929
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0", 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.0.5", 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.0
|
|
1974
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0
|
|
1952
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.0", ngImport: i0, type: StaticFormGroupDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
1953
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.0", 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.0
|
|
1961
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0", 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.0
|
|
2042
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0
|
|
2020
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.0", ngImport: i0, type: WriteableInputDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
2021
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.0", 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.0
|
|
2027
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0", 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.0
|
|
2099
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.0
|
|
2077
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.0", ngImport: i0, type: ErrorComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
2078
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.0", 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.0
|
|
2080
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0", 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.0
|
|
2126
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0
|
|
2104
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.0", ngImport: i0, type: CheckboxFieldDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
2105
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.0", 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.0
|
|
2107
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0", 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.0
|
|
2168
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0
|
|
2146
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.0", ngImport: i0, type: CheckboxDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
2147
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.0", 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.0
|
|
2149
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0", 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.0
|
|
2236
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0
|
|
2214
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.0", ngImport: i0, type: CheckboxGroupDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
2215
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.0", 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.0
|
|
2217
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0", 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.0
|
|
2275
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0
|
|
2253
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.0", ngImport: i0, type: CheckboxGroupControlDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
2254
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.0", 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.0
|
|
2256
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0", 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.0
|
|
2292
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.0
|
|
2270
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.0", ngImport: i0, type: CheckboxFieldComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
2271
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.0", 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.0
|
|
2279
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0", 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.0.5", ngImpor
|
|
|
2328
2307
|
}] });
|
|
2329
2308
|
|
|
2330
2309
|
class CheckboxGroupComponent {
|
|
2331
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0
|
|
2332
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.0
|
|
2310
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.0", ngImport: i0, type: CheckboxGroupComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
2311
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.0", 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.0
|
|
2313
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0", 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.0
|
|
2353
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0
|
|
2331
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.0", ngImport: i0, type: DecoratedFormFieldBase, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
2332
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.0", type: DecoratedFormFieldBase, ngImport: i0 }); }
|
|
2354
2333
|
}
|
|
2355
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0
|
|
2334
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0", 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.0
|
|
2367
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0
|
|
2345
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.0", ngImport: i0, type: InputBase, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
2346
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.0", 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.0
|
|
2348
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0", 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.0
|
|
2401
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0
|
|
2379
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.0", ngImport: i0, type: DecoratedInputBase, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
|
|
2380
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.0", 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.0
|
|
2382
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0", 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.0
|
|
2419
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.0
|
|
2397
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.0", ngImport: i0, type: CheckboxComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
2398
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.0", 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.0
|
|
2400
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0", 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.0
|
|
2469
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0
|
|
2447
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.0", ngImport: i0, type: AutosizeTextareaDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
2448
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.0", 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.0
|
|
2450
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0", 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.0
|
|
2516
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0
|
|
2494
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.0", ngImport: i0, type: EmailInputDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
2495
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.0", 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.0
|
|
2497
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0", 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.0
|
|
2562
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0
|
|
2540
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.0", ngImport: i0, type: NumberInputDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
2541
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.0", 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.0
|
|
2543
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0", 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.0
|
|
2611
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0
|
|
2589
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.0", ngImport: i0, type: PasswordInputDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
2590
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.0", 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.0
|
|
2592
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0", 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.0
|
|
2660
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0
|
|
2638
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.0", ngImport: i0, type: SearchInputDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
2639
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.0", 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.0
|
|
2641
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0", 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.0
|
|
2705
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0
|
|
2683
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.0", ngImport: i0, type: TextInputDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
2684
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.0", 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.0
|
|
2686
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0", 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.0
|
|
2750
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0
|
|
2728
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.0", ngImport: i0, type: TextareaInputDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
2729
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.0", 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.0
|
|
2731
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0", 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.0
|
|
2767
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.0
|
|
2745
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.0", ngImport: i0, type: EmailInputComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
2746
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.0", 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.0
|
|
2748
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0", 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.0
|
|
2782
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.0
|
|
2760
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.0", ngImport: i0, type: InputFieldComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
2761
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.0", 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.0
|
|
2771
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0", 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.0
|
|
2829
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.0
|
|
2807
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.0", ngImport: i0, type: NumberInputComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
2808
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.0", 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.0
|
|
2810
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0", 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.0
|
|
2844
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.0
|
|
2822
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.0", ngImport: i0, type: PasswordInputComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
2823
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.0", 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.0
|
|
2825
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0", 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.0
|
|
2859
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.0
|
|
2837
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.0", ngImport: i0, type: SearchInputComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
2838
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.0", 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.0
|
|
2840
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0", 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.0
|
|
2874
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.0
|
|
2852
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.0", ngImport: i0, type: TextInputComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
2853
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.0", 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.0
|
|
2855
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0", 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);
|
|
2895
|
-
}
|
|
2896
|
-
get rows() {
|
|
2897
|
-
return this._rows;
|
|
2866
|
+
this.cols = null;
|
|
2867
|
+
this.rows = null;
|
|
2898
2868
|
}
|
|
2899
|
-
|
|
2900
|
-
|
|
2901
|
-
}
|
|
2902
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.5", ngImport: i0, type: TextareaInputComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
2903
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.0.5", 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.0", ngImport: i0, type: TextareaInputComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
2870
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.0", 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.0
|
|
2872
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0", 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.0
|
|
2922
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.0
|
|
2890
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.0", ngImport: i0, type: PasswordInputToggleComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
2891
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.0", 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.0
|
|
2893
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0", 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.0
|
|
2939
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.0
|
|
2907
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.0", ngImport: i0, type: SearchInputClearComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
2908
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.0", 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.0
|
|
2910
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0", 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.0
|
|
3009
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0
|
|
2977
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.0", ngImport: i0, type: RadioDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
2978
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.0", 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.0
|
|
2980
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0", 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.0
|
|
3044
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0
|
|
3012
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.0", ngImport: i0, type: RadioFieldDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
3013
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.0", 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.0
|
|
3015
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0", 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.0
|
|
3075
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0
|
|
3043
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.0", ngImport: i0, type: RadioGroupDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
3044
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.0", 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.0
|
|
3046
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0", 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.0.5", ngImpor
|
|
|
3087
3056
|
}] });
|
|
3088
3057
|
|
|
3089
3058
|
class RadioFieldComponent {
|
|
3090
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0
|
|
3091
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.0
|
|
3059
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.0", ngImport: i0, type: RadioFieldComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
3060
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.0", 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.0
|
|
3067
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0", 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.0
|
|
3123
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.0
|
|
3091
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.0", ngImport: i0, type: RadioGroupComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
3092
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.0", 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.0
|
|
3099
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0", 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.0
|
|
3157
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.0
|
|
3125
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.0", ngImport: i0, type: RadioComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
3126
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.0", 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.0
|
|
3128
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0", 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.0
|
|
3223
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0
|
|
3191
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.0", ngImport: i0, type: SegmentedButtonDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
3192
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.0", 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.0
|
|
3194
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0", 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.0
|
|
3258
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0
|
|
3226
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.0", ngImport: i0, type: SegmentedButtonFieldDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
3227
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.0", 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.0
|
|
3229
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0", 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.0
|
|
3317
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0
|
|
3285
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.0", ngImport: i0, type: SegmentedButtonGroupDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
3286
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.0", 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.0
|
|
3288
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0", 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.0
|
|
3347
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.0
|
|
3315
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.0", ngImport: i0, type: SegmentedButtonComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
3316
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.0", 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.0
|
|
3318
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0", 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.0.5", ngImpor
|
|
|
3360
3329
|
}] } });
|
|
3361
3330
|
|
|
3362
3331
|
class SegmentedButtonFieldComponent {
|
|
3363
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0
|
|
3364
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.0
|
|
3332
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.0", ngImport: i0, type: SegmentedButtonFieldComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
3333
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.0", 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.0
|
|
3339
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0", 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.0
|
|
3386
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.0
|
|
3354
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.0", ngImport: i0, type: SegmentedButtonGroupComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
3355
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.0", 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.0
|
|
3362
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0", 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.0
|
|
3425
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0
|
|
3393
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.0", ngImport: i0, type: SelectFieldDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
3394
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.0", 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.0
|
|
3396
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0", 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.0
|
|
3442
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.0
|
|
3410
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.0", ngImport: i0, type: SelectFieldComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
3411
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.0", 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.0
|
|
3419
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0", 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.0
|
|
3519
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.0
|
|
3487
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.0", ngImport: i0, type: ComboboxOptionComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
3488
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.0", 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.0
|
|
3495
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0", 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.0
|
|
3560
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.0
|
|
3528
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.0", ngImport: i0, type: ComboboxBodyComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
3529
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.0", 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.0
|
|
3536
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0", 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.0
|
|
4003
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.0
|
|
3971
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.0", ngImport: i0, type: ComboboxComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
3972
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.0", 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.0
|
|
3979
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0", 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.0
|
|
4059
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0
|
|
4027
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.0", ngImport: i0, type: ComboboxDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
4028
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.0", 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.0
|
|
4035
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0", 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.0
|
|
4112
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0
|
|
4068
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.0", ngImport: i0, type: NativeSelectOptionDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
4069
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.0", 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.0
|
|
4071
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0", 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.0.5", 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.0
|
|
4169
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0
|
|
4127
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.0", ngImport: i0, type: NativeSelectInputDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
4128
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.0", 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.0
|
|
4130
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0", 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.0
|
|
4189
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.0
|
|
4147
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.0", ngImport: i0, type: NativeSelectInputComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
4148
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.0", 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.0
|
|
4150
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0", 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.0
|
|
4206
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.0
|
|
4164
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.0", ngImport: i0, type: NativeSelectOptionComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
4165
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.0", 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.0
|
|
4167
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0", 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.0
|
|
4316
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0
|
|
4274
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.0", ngImport: i0, type: SelectOptionDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
4275
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.0", 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.0
|
|
4282
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0", 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.0
|
|
4770
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0
|
|
4728
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.0", ngImport: i0, type: SelectDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
4729
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.0", 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.0
|
|
4736
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0", 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.0
|
|
4826
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0
|
|
4784
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.0", ngImport: i0, type: SelectBodyDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
4785
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.0", 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.0
|
|
4792
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0", 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.0
|
|
4858
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.0
|
|
4816
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.0", ngImport: i0, type: SelectBodyComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
4817
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.0", 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.0
|
|
4823
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0", 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.0
|
|
4883
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.0
|
|
4841
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.0", ngImport: i0, type: SelectOptionComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
4842
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.0", 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.0
|
|
4844
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0", 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.0
|
|
4913
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.0
|
|
4871
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.0", ngImport: i0, type: SelectComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
4872
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.0", 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.0
|
|
4874
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0", 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.0
|
|
4939
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.0
|
|
4897
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.0", ngImport: i0, type: SlideToggleFieldComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
4898
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.0", 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.0
|
|
4906
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0", 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.0
|
|
5000
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0
|
|
4958
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.0", ngImport: i0, type: SlideToggleDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
4959
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.0", 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.0
|
|
4961
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0", 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.0
|
|
5017
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.0
|
|
4975
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.0", ngImport: i0, type: SlideToggleComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
4976
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.0", 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.0
|
|
4978
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0", 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.0
|
|
5033
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.0
|
|
4991
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.0", ngImport: i0, type: SliderFieldComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
4992
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.0", 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.0
|
|
5000
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0", 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.0
|
|
5381
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.0
|
|
5339
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.0", ngImport: i0, type: SliderComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
5340
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.0", 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.0
|
|
5342
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0", 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.0
|
|
5451
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.0
|
|
5409
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.0", ngImport: i0, type: MasonryItemComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
5410
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.0", 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.0
|
|
5412
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0", 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.0
|
|
5646
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.0
|
|
5604
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.0", ngImport: i0, type: MasonryComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
5605
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.0", 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.0
|
|
5610
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0", 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.0
|
|
5719
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.0
|
|
5677
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.0", 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.0", type: BottomSheetContainerBaseComponent, selector: "ng-component", usesInheritance: true, ngImport: i0, template: '', isInline: true }); }
|
|
5720
5679
|
}
|
|
5721
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0
|
|
5680
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0", 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.0
|
|
5946
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0
|
|
5904
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.0", ngImport: i0, type: BottomSheetServiceBase, deps: "invalid", target: i0.ɵɵFactoryTarget.Directive }); }
|
|
5905
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.0", type: BottomSheetServiceBase, ngImport: i0 }); }
|
|
5947
5906
|
}
|
|
5948
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0
|
|
5907
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0", 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.0
|
|
6029
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.0
|
|
5987
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.0", ngImport: i0, type: SwipeHandlerService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
5988
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.0", ngImport: i0, type: SwipeHandlerService, providedIn: 'root' }); }
|
|
6030
5989
|
}
|
|
6031
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0
|
|
5990
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0", 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.0
|
|
6076
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.0
|
|
6034
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.0", ngImport: i0, type: BottomSheetSwipeHandlerService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
6035
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.0", ngImport: i0, type: BottomSheetSwipeHandlerService }); }
|
|
6077
6036
|
}
|
|
6078
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0
|
|
6037
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0", 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.0
|
|
6087
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.0
|
|
6045
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.0", 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.0", ngImport: i0, type: BottomSheetService }); }
|
|
6088
6047
|
}
|
|
6089
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0
|
|
6048
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0", 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.0
|
|
6175
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.0
|
|
6133
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.0", ngImport: i0, type: BottomSheetDragHandleComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
6134
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.0", 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.0
|
|
6136
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0", 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.0
|
|
6231
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0
|
|
6189
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.0", ngImport: i0, type: BottomSheetTitleDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
6190
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.0", 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.0
|
|
6192
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0", 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.0
|
|
6259
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.0
|
|
6217
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.0", 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.0", 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.0
|
|
6220
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0", 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.0
|
|
6552
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0
|
|
6510
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.0", ngImport: i0, type: DialogServiceBase, deps: "invalid", target: i0.ɵɵFactoryTarget.Directive }); }
|
|
6511
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.0", type: DialogServiceBase, ngImport: i0 }); }
|
|
6553
6512
|
}
|
|
6554
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0
|
|
6513
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0", 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.0
|
|
6563
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.0
|
|
6521
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.0", 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.0", ngImport: i0, type: DialogService }); }
|
|
6564
6523
|
}
|
|
6565
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0
|
|
6524
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0", 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.0
|
|
6610
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0
|
|
6568
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.0", ngImport: i0, type: DialogCloseDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
6569
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.0", 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.0
|
|
6571
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0", 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.0
|
|
6659
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.0
|
|
6617
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.0", 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.0", type: DialogContainerBaseComponent, selector: "ng-component", usesInheritance: true, ngImport: i0, template: '', isInline: true }); }
|
|
6660
6619
|
}
|
|
6661
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0
|
|
6620
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0", 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.0
|
|
6703
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0
|
|
6661
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.0", ngImport: i0, type: DialogTitleDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
6662
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.0", 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.0
|
|
6664
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0", 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.0
|
|
6731
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.0
|
|
6689
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.0", 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.0", 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.0
|
|
6692
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0", 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.0
|
|
6873
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0
|
|
6831
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.0", ngImport: i0, type: ToggletipDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
6832
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.0", 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.0
|
|
6839
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0", 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.0
|
|
6927
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.0
|
|
6885
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.0", ngImport: i0, type: ToggletipComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
6886
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.0", 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.0
|
|
6893
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0", 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.0
|
|
7107
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0
|
|
7065
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.0", ngImport: i0, type: TooltipDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
7066
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.0", 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.0
|
|
7073
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0", 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.0
|
|
7157
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.0
|
|
7115
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.0", ngImport: i0, type: TooltipComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
7116
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.0", 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.0
|
|
7123
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0", 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.0.5", 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.0
|
|
7204
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.0
|
|
7162
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.0", ngImport: i0, type: DynamicOverlayService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
7163
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.0", ngImport: i0, type: DynamicOverlayService, providedIn: 'root' }); }
|
|
7205
7164
|
}
|
|
7206
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0
|
|
7165
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0", 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.0
|
|
7225
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0
|
|
7183
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.0", ngImport: i0, type: PaginationLinkDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
7184
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.0", 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.0
|
|
7186
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0", 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.0
|
|
7292
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.0
|
|
7250
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.0", ngImport: i0, type: PaginationHeadService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
7251
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.0", ngImport: i0, type: PaginationHeadService }); }
|
|
7293
7252
|
}
|
|
7294
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0
|
|
7253
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0", 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.0
|
|
7450
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.0
|
|
7408
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.0", ngImport: i0, type: PaginationComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
7409
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.0", 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.0
|
|
7411
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0", 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.0.5", 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.0.5", ngImport: i0, type: PictureDataDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
7496
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0.5", 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.0", ngImport: i0, type: PictureDataDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
7450
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.0", 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.0
|
|
7452
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0", 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.0
|
|
7534
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.0
|
|
7488
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.0", ngImport: i0, type: PictureComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
7489
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.0", 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.0
|
|
7491
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0", 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.0
|
|
7633
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.0
|
|
7575
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.0", ngImport: i0, type: ProgressSpinnerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
7576
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.0", 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.0
|
|
7578
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0", 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.0.5", 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
|
}] } });
|
|
@@ -7664,63 +7609,24 @@ class ScrollableComponent {
|
|
|
7664
7609
|
this._destroy$ = createDestroy();
|
|
7665
7610
|
this._renderer = inject(Renderer2);
|
|
7666
7611
|
this._elementRef = inject(ElementRef);
|
|
7612
|
+
this._isCursorDragging$ = new BehaviorSubject(false);
|
|
7667
7613
|
this.itemSize = 'auto';
|
|
7668
7614
|
this.direction = 'horizontal';
|
|
7669
|
-
this.
|
|
7670
|
-
this.
|
|
7671
|
-
this.
|
|
7672
|
-
this.
|
|
7673
|
-
this.
|
|
7674
|
-
this.
|
|
7675
|
-
this._disableActiveElementScrolling = false;
|
|
7615
|
+
this.renderMasks = true;
|
|
7616
|
+
this.renderButtons = true;
|
|
7617
|
+
this.renderScrollbars = false;
|
|
7618
|
+
this.stickyButtons = false;
|
|
7619
|
+
this.cursorDragScroll = true;
|
|
7620
|
+
this.disableActiveElementScrolling = false;
|
|
7676
7621
|
this.scrollMode = 'container';
|
|
7622
|
+
this.snap = false;
|
|
7623
|
+
this.scrollMargin = 0;
|
|
7677
7624
|
this.scrollStateChange = new EventEmitter();
|
|
7625
|
+
this.intersectionChange = new EventEmitter();
|
|
7678
7626
|
this.activeElements = null;
|
|
7679
7627
|
this.elements = null;
|
|
7680
7628
|
this.scrollState$ = new BehaviorSubject(null);
|
|
7681
7629
|
}
|
|
7682
|
-
get renderMasks() {
|
|
7683
|
-
return this._renderMasks;
|
|
7684
|
-
}
|
|
7685
|
-
set renderMasks(value) {
|
|
7686
|
-
this._renderMasks = coerceBooleanProperty(value);
|
|
7687
|
-
}
|
|
7688
|
-
get renderButtons() {
|
|
7689
|
-
return this._renderButtons;
|
|
7690
|
-
}
|
|
7691
|
-
set renderButtons(value) {
|
|
7692
|
-
this._renderButtons = coerceBooleanProperty(value);
|
|
7693
|
-
}
|
|
7694
|
-
get renderScrollbars() {
|
|
7695
|
-
return this._renderScrollbars;
|
|
7696
|
-
}
|
|
7697
|
-
set renderScrollbars(value) {
|
|
7698
|
-
this._renderScrollbars = coerceBooleanProperty(value);
|
|
7699
|
-
}
|
|
7700
|
-
get stickyButtons() {
|
|
7701
|
-
return this._stickyButtons;
|
|
7702
|
-
}
|
|
7703
|
-
set stickyButtons(value) {
|
|
7704
|
-
this._stickyButtons = coerceBooleanProperty(value);
|
|
7705
|
-
}
|
|
7706
|
-
get cursorDragScroll() {
|
|
7707
|
-
return this._cursorDragScroll;
|
|
7708
|
-
}
|
|
7709
|
-
set cursorDragScroll(value) {
|
|
7710
|
-
this._cursorDragScroll = coerceBooleanProperty(value);
|
|
7711
|
-
}
|
|
7712
|
-
get activeElementScrollMargin() {
|
|
7713
|
-
return this._activeElementScrollMargin;
|
|
7714
|
-
}
|
|
7715
|
-
set activeElementScrollMargin(value) {
|
|
7716
|
-
this._activeElementScrollMargin = coerceNumberProperty(value);
|
|
7717
|
-
}
|
|
7718
|
-
get disableActiveElementScrolling() {
|
|
7719
|
-
return this._disableActiveElementScrolling;
|
|
7720
|
-
}
|
|
7721
|
-
set disableActiveElementScrolling(value) {
|
|
7722
|
-
this._disableActiveElementScrolling = coerceBooleanProperty(value);
|
|
7723
|
-
}
|
|
7724
7630
|
ngOnInit() {
|
|
7725
7631
|
this.scrollState$
|
|
7726
7632
|
.pipe(tap((state) => {
|
|
@@ -7733,6 +7639,7 @@ class ScrollableComponent {
|
|
|
7733
7639
|
this._renderer.setAttribute(element, 'can-scroll', state.canScroll.toString());
|
|
7734
7640
|
}), takeUntil(this._destroy$))
|
|
7735
7641
|
.subscribe();
|
|
7642
|
+
this._setupScrollListening();
|
|
7736
7643
|
}
|
|
7737
7644
|
ngAfterContentInit() {
|
|
7738
7645
|
if (!this.activeElements || !this.elements) {
|
|
@@ -7753,35 +7660,12 @@ class ScrollableComponent {
|
|
|
7753
7660
|
behavior: 'auto',
|
|
7754
7661
|
container: this.scrollable.nativeElement,
|
|
7755
7662
|
element: firstActive.elementRef.nativeElement,
|
|
7756
|
-
scrollInlineMargin: this.direction === 'horizontal' ? this.
|
|
7757
|
-
scrollBlockMargin: this.direction === 'horizontal' ? 0 : this.
|
|
7663
|
+
scrollInlineMargin: this.direction === 'horizontal' ? this.scrollMargin : 0,
|
|
7664
|
+
scrollBlockMargin: this.direction === 'horizontal' ? 0 : this.scrollMargin,
|
|
7758
7665
|
});
|
|
7759
7666
|
}), takeUntil(this._destroy$))
|
|
7760
7667
|
.subscribe();
|
|
7761
7668
|
}
|
|
7762
|
-
_scrollStateChanged(scrollState) {
|
|
7763
|
-
if (equal(this.scrollState$.value, scrollState)) {
|
|
7764
|
-
return;
|
|
7765
|
-
}
|
|
7766
|
-
this.scrollState$.next(scrollState);
|
|
7767
|
-
this.scrollStateChange.emit(scrollState);
|
|
7768
|
-
}
|
|
7769
|
-
scrollToStartDirection() {
|
|
7770
|
-
if (this.scrollMode === 'container') {
|
|
7771
|
-
this.scrollOneContainerSize('start');
|
|
7772
|
-
}
|
|
7773
|
-
else {
|
|
7774
|
-
this.scrollOneItemSize('start');
|
|
7775
|
-
}
|
|
7776
|
-
}
|
|
7777
|
-
scrollToStartEnd() {
|
|
7778
|
-
if (this.scrollMode === 'container') {
|
|
7779
|
-
this.scrollOneContainerSize('end');
|
|
7780
|
-
}
|
|
7781
|
-
else {
|
|
7782
|
-
this.scrollOneItemSize('end');
|
|
7783
|
-
}
|
|
7784
|
-
}
|
|
7785
7669
|
scrollOneContainerSize(direction) {
|
|
7786
7670
|
const scrollElement = this.scrollable.nativeElement;
|
|
7787
7671
|
const parent = this._elementRef.nativeElement;
|
|
@@ -7833,14 +7717,135 @@ class ScrollableComponent {
|
|
|
7833
7717
|
behavior: 'smooth',
|
|
7834
7718
|
});
|
|
7835
7719
|
}
|
|
7836
|
-
|
|
7837
|
-
|
|
7720
|
+
scrollToElement(options) {
|
|
7721
|
+
const scrollElement = this.scrollable.nativeElement;
|
|
7722
|
+
scrollToElement({
|
|
7723
|
+
container: scrollElement,
|
|
7724
|
+
...options,
|
|
7725
|
+
});
|
|
7726
|
+
}
|
|
7727
|
+
scrollToElementByIndex(options) {
|
|
7728
|
+
const elements = this.elements?.toArray() ?? [];
|
|
7729
|
+
if (!elements.length) {
|
|
7730
|
+
if (isDevMode()) {
|
|
7731
|
+
console.warn('No elements found to scroll to. Make sure to apply the isElement directive to the elements you want to scroll to.');
|
|
7732
|
+
}
|
|
7733
|
+
return;
|
|
7734
|
+
}
|
|
7735
|
+
const scrollElement = this.scrollable.nativeElement;
|
|
7736
|
+
const element = elements[options.index]?.elementRef.nativeElement;
|
|
7737
|
+
scrollToElement({
|
|
7738
|
+
container: scrollElement,
|
|
7739
|
+
element,
|
|
7740
|
+
...options,
|
|
7741
|
+
});
|
|
7742
|
+
}
|
|
7743
|
+
setIsCursorDragging(isDragging) {
|
|
7744
|
+
this._isCursorDragging$.next(isDragging);
|
|
7745
|
+
}
|
|
7746
|
+
_scrollStateChanged(scrollState) {
|
|
7747
|
+
if (equal(this.scrollState$.value, scrollState)) {
|
|
7748
|
+
return;
|
|
7749
|
+
}
|
|
7750
|
+
this.scrollState$.next(scrollState);
|
|
7751
|
+
this.scrollStateChange.emit(scrollState);
|
|
7752
|
+
}
|
|
7753
|
+
scrollToStartDirection() {
|
|
7754
|
+
if (this.scrollMode === 'container') {
|
|
7755
|
+
this.scrollOneContainerSize('start');
|
|
7756
|
+
}
|
|
7757
|
+
else {
|
|
7758
|
+
this.scrollOneItemSize('start');
|
|
7759
|
+
}
|
|
7760
|
+
}
|
|
7761
|
+
scrollToStartEnd() {
|
|
7762
|
+
if (this.scrollMode === 'container') {
|
|
7763
|
+
this.scrollOneContainerSize('end');
|
|
7764
|
+
}
|
|
7765
|
+
else {
|
|
7766
|
+
this.scrollOneItemSize('end');
|
|
7767
|
+
}
|
|
7768
|
+
}
|
|
7769
|
+
_setupScrollListening() {
|
|
7770
|
+
const scrollElement = this.scrollable.nativeElement;
|
|
7771
|
+
let isSnapping = false;
|
|
7772
|
+
let snapTimeout = 0;
|
|
7773
|
+
merge(fromEvent(scrollElement, 'wheel'), fromEvent(scrollElement, 'touchstart'))
|
|
7774
|
+
.pipe(takeUntil(this._destroy$), tap(() => {
|
|
7775
|
+
isSnapping = false;
|
|
7776
|
+
}))
|
|
7777
|
+
.subscribe();
|
|
7778
|
+
merge(fromEvent(scrollElement, 'scroll'), this._isCursorDragging$)
|
|
7779
|
+
.pipe(debounceTime(25), takeUntil(this._destroy$), tap(() => {
|
|
7780
|
+
const elements = this.elements
|
|
7781
|
+
?.toArray()
|
|
7782
|
+
.map((e) => e?.elementRef.nativeElement)
|
|
7783
|
+
.filter((e) => !!e) ?? [];
|
|
7784
|
+
if (!elements.length)
|
|
7785
|
+
return;
|
|
7786
|
+
const states = getElementVisibleStates({
|
|
7787
|
+
elements,
|
|
7788
|
+
container: scrollElement,
|
|
7789
|
+
});
|
|
7790
|
+
const prop = this.direction === 'horizontal' ? 'inlineIntersection' : 'blockIntersection';
|
|
7791
|
+
const stateClass = `et-element--is-intersecting`;
|
|
7792
|
+
for (const state of states) {
|
|
7793
|
+
if (state[prop] === 100) {
|
|
7794
|
+
state.element.classList.add(stateClass);
|
|
7795
|
+
}
|
|
7796
|
+
else {
|
|
7797
|
+
state.element.classList.remove(stateClass);
|
|
7798
|
+
}
|
|
7799
|
+
}
|
|
7800
|
+
this.intersectionChange.emit(states.map((s, i) => {
|
|
7801
|
+
const state = {
|
|
7802
|
+
element: s.element,
|
|
7803
|
+
intersectionRatio: s[prop] / 100,
|
|
7804
|
+
isIntersecting: s[prop] === 100,
|
|
7805
|
+
index: i,
|
|
7806
|
+
};
|
|
7807
|
+
return state;
|
|
7808
|
+
}));
|
|
7809
|
+
if (isSnapping || this._isCursorDragging$.value || !this.snap)
|
|
7810
|
+
return;
|
|
7811
|
+
const isOnlyOnePartialIntersection = states.filter((s) => s[prop] < 100 && s[prop] > 0).length === 1;
|
|
7812
|
+
if (isOnlyOnePartialIntersection)
|
|
7813
|
+
return;
|
|
7814
|
+
const highestIntersecting = states.reduce((prev, current) => {
|
|
7815
|
+
if (current[prop] > prev[prop] && current[prop] < 100) {
|
|
7816
|
+
return current;
|
|
7817
|
+
}
|
|
7818
|
+
return prev;
|
|
7819
|
+
});
|
|
7820
|
+
const fullIntersectionIndex = states.findIndex((s) => s[prop] === 100);
|
|
7821
|
+
const highestIntersectingIndex = states.findIndex((s) => s === highestIntersecting);
|
|
7822
|
+
const origin = highestIntersectingIndex > fullIntersectionIndex ? 'end' : 'start';
|
|
7823
|
+
if (!highestIntersecting || highestIntersecting[prop] === 100)
|
|
7824
|
+
return;
|
|
7825
|
+
scrollToElement({
|
|
7826
|
+
container: scrollElement,
|
|
7827
|
+
element: highestIntersecting.element,
|
|
7828
|
+
direction: this.direction === 'horizontal' ? 'inline' : 'block',
|
|
7829
|
+
origin,
|
|
7830
|
+
scrollBlockMargin: this.direction === 'horizontal' ? 0 : this.scrollMargin,
|
|
7831
|
+
scrollInlineMargin: this.direction === 'horizontal' ? this.scrollMargin : 0,
|
|
7832
|
+
});
|
|
7833
|
+
isSnapping = true;
|
|
7834
|
+
window.clearTimeout(snapTimeout);
|
|
7835
|
+
snapTimeout = window.setTimeout(() => {
|
|
7836
|
+
isSnapping = false;
|
|
7837
|
+
}, 1000);
|
|
7838
|
+
}))
|
|
7839
|
+
.subscribe();
|
|
7840
|
+
}
|
|
7841
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.0", ngImport: i0, type: ScrollableComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
7842
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.0", 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[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:10%}.et-scrollable[sticky-buttons=true] .et-scrollable-buttons .et-scrollable-button{position:sticky}\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 }); }
|
|
7838
7843
|
}
|
|
7839
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0
|
|
7844
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0", ngImport: i0, type: ScrollableComponent, decorators: [{
|
|
7840
7845
|
type: Component,
|
|
7841
7846
|
args: [{ selector: 'et-scrollable', standalone: true, encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, imports: [CursorDragScrollDirective, ObserveScrollStateDirective, NgClass, NgIf, LetDirective, ChevronIconComponent], host: {
|
|
7842
7847
|
class: 'et-scrollable',
|
|
7843
|
-
}, template: "<div\n #scrollable\n [attr.role]=\"scrollableRole ?? undefined\"\n [ngClass]=\"scrollableClass\"\n [etCursorDragScroll]=\"cursorDragScroll\"\n [allowedDirection]=\"direction\"\n (etObserveScrollState)=\"_scrollStateChanged($event)\"\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
|
|
7848
|
+
}, 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:10%}.et-scrollable[sticky-buttons=true] .et-scrollable-buttons .et-scrollable-button{position:sticky}\n"] }]
|
|
7844
7849
|
}], propDecorators: { itemSize: [{
|
|
7845
7850
|
type: Input
|
|
7846
7851
|
}, {
|
|
@@ -7856,29 +7861,41 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.5", ngImpor
|
|
|
7856
7861
|
}], scrollableClass: [{
|
|
7857
7862
|
type: Input
|
|
7858
7863
|
}], renderMasks: [{
|
|
7859
|
-
type: Input
|
|
7864
|
+
type: Input,
|
|
7865
|
+
args: [{ transform: booleanAttribute }]
|
|
7860
7866
|
}], renderButtons: [{
|
|
7861
|
-
type: Input
|
|
7867
|
+
type: Input,
|
|
7868
|
+
args: [{ transform: booleanAttribute }]
|
|
7862
7869
|
}], renderScrollbars: [{
|
|
7863
|
-
type: Input
|
|
7870
|
+
type: Input,
|
|
7871
|
+
args: [{ transform: booleanAttribute }]
|
|
7864
7872
|
}, {
|
|
7865
7873
|
type: HostBinding,
|
|
7866
7874
|
args: ['attr.render-scrollbars']
|
|
7867
7875
|
}], stickyButtons: [{
|
|
7868
|
-
type: Input
|
|
7876
|
+
type: Input,
|
|
7877
|
+
args: [{ transform: booleanAttribute }]
|
|
7869
7878
|
}, {
|
|
7870
7879
|
type: HostBinding,
|
|
7871
7880
|
args: ['attr.sticky-buttons']
|
|
7872
7881
|
}], cursorDragScroll: [{
|
|
7873
|
-
type: Input
|
|
7874
|
-
|
|
7875
|
-
type: Input
|
|
7882
|
+
type: Input,
|
|
7883
|
+
args: [{ transform: booleanAttribute }]
|
|
7876
7884
|
}], disableActiveElementScrolling: [{
|
|
7877
|
-
type: Input
|
|
7885
|
+
type: Input,
|
|
7886
|
+
args: [{ transform: booleanAttribute }]
|
|
7878
7887
|
}], scrollMode: [{
|
|
7879
7888
|
type: Input
|
|
7889
|
+
}], snap: [{
|
|
7890
|
+
type: Input,
|
|
7891
|
+
args: [{ transform: booleanAttribute }]
|
|
7892
|
+
}], scrollMargin: [{
|
|
7893
|
+
type: Input,
|
|
7894
|
+
args: [{ transform: numberAttribute }]
|
|
7880
7895
|
}], scrollStateChange: [{
|
|
7881
7896
|
type: Output
|
|
7897
|
+
}], intersectionChange: [{
|
|
7898
|
+
type: Output
|
|
7882
7899
|
}], scrollable: [{
|
|
7883
7900
|
type: ViewChild,
|
|
7884
7901
|
args: ['scrollable', { static: true }]
|
|
@@ -7902,18 +7919,12 @@ const ScrollableImports = [
|
|
|
7902
7919
|
class SkeletonComponent {
|
|
7903
7920
|
constructor() {
|
|
7904
7921
|
this.loadingAllyText = 'Loading...';
|
|
7905
|
-
this.
|
|
7906
|
-
}
|
|
7907
|
-
get animated() {
|
|
7908
|
-
return this._animated;
|
|
7922
|
+
this.animated = true;
|
|
7909
7923
|
}
|
|
7910
|
-
|
|
7911
|
-
|
|
7912
|
-
}
|
|
7913
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.5", ngImport: i0, type: SkeletonComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
7914
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.0.5", 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 }); }
|
|
7924
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.0", ngImport: i0, type: SkeletonComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
7925
|
+
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", "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 }); }
|
|
7915
7926
|
}
|
|
7916
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0
|
|
7927
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0", ngImport: i0, type: SkeletonComponent, decorators: [{
|
|
7917
7928
|
type: Component,
|
|
7918
7929
|
args: [{ selector: 'et-skeleton', template: ` <span class="cdk-visually-hidden"> {{ loadingAllyText }} </span> <ng-content />`, standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, host: {
|
|
7919
7930
|
class: 'et-skeleton',
|
|
@@ -7921,7 +7932,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.5", ngImpor
|
|
|
7921
7932
|
}], propDecorators: { loadingAllyText: [{
|
|
7922
7933
|
type: Input
|
|
7923
7934
|
}], animated: [{
|
|
7924
|
-
type: Input
|
|
7935
|
+
type: Input,
|
|
7936
|
+
args: [{ transform: booleanAttribute }]
|
|
7925
7937
|
}, {
|
|
7926
7938
|
type: HostBinding,
|
|
7927
7939
|
args: ['class.et-skeleton--animated']
|
|
@@ -7931,10 +7943,10 @@ class SkeletonItemComponent {
|
|
|
7931
7943
|
constructor() {
|
|
7932
7944
|
this.ariaHidden = true;
|
|
7933
7945
|
}
|
|
7934
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0
|
|
7935
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.0
|
|
7946
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.0", ngImport: i0, type: SkeletonItemComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
7947
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.0", 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 }); }
|
|
7936
7948
|
}
|
|
7937
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0
|
|
7949
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0", ngImport: i0, type: SkeletonItemComponent, decorators: [{
|
|
7938
7950
|
type: Component,
|
|
7939
7951
|
args: [{ selector: 'et-skeleton-item', template: ``, standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, host: {
|
|
7940
7952
|
class: 'et-skeleton-item',
|
|
@@ -7947,10 +7959,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.5", ngImpor
|
|
|
7947
7959
|
const SkeletonImports = [SkeletonComponent, SkeletonItemComponent];
|
|
7948
7960
|
|
|
7949
7961
|
class CellDirective extends CdkCell {
|
|
7950
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0
|
|
7951
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0
|
|
7962
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.0", ngImport: i0, type: CellDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
|
|
7963
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.0", type: CellDirective, isStandalone: true, selector: "et-cell, td[et-cell]", host: { classAttribute: "et-cell et-data-table__cell" }, usesInheritance: true, ngImport: i0 }); }
|
|
7952
7964
|
}
|
|
7953
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0
|
|
7965
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0", ngImport: i0, type: CellDirective, decorators: [{
|
|
7954
7966
|
type: Directive,
|
|
7955
7967
|
args: [{
|
|
7956
7968
|
selector: 'et-cell, td[et-cell]',
|
|
@@ -7962,10 +7974,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.5", ngImpor
|
|
|
7962
7974
|
}] });
|
|
7963
7975
|
|
|
7964
7976
|
class CellDefDirective extends CdkCellDef {
|
|
7965
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0
|
|
7966
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0
|
|
7977
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.0", ngImport: i0, type: CellDefDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
|
|
7978
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.0", type: CellDefDirective, isStandalone: true, selector: "[etCellDef]", providers: [{ provide: CdkCellDef, useExisting: CellDefDirective }], usesInheritance: true, ngImport: i0 }); }
|
|
7967
7979
|
}
|
|
7968
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0
|
|
7980
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0", ngImport: i0, type: CellDefDirective, decorators: [{
|
|
7969
7981
|
type: Directive,
|
|
7970
7982
|
args: [{
|
|
7971
7983
|
selector: '[etCellDef]',
|
|
@@ -7989,13 +8001,13 @@ class ColumnDefDirective extends CdkColumnDef {
|
|
|
7989
8001
|
super._updateColumnCssClassName();
|
|
7990
8002
|
this._columnCssClassName?.push(`et-column-${this.cssClassFriendlyName}`);
|
|
7991
8003
|
}
|
|
7992
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0
|
|
7993
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0
|
|
8004
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.0", ngImport: i0, type: ColumnDefDirective, deps: [{ token: CDK_TABLE, optional: true }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
8005
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.0", type: ColumnDefDirective, isStandalone: true, selector: "[etColumnDef]", inputs: { name: ["etColumnDef", "name"] }, providers: [
|
|
7994
8006
|
{ provide: CdkColumnDef, useExisting: ColumnDefDirective },
|
|
7995
8007
|
{ provide: SORT_HEADER_COLUMN_DEF, useExisting: ColumnDefDirective },
|
|
7996
8008
|
], usesInheritance: true, ngImport: i0 }); }
|
|
7997
8009
|
}
|
|
7998
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0
|
|
8010
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0", ngImport: i0, type: ColumnDefDirective, decorators: [{
|
|
7999
8011
|
type: Directive,
|
|
8000
8012
|
args: [{
|
|
8001
8013
|
selector: '[etColumnDef]',
|
|
@@ -8016,10 +8028,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.5", ngImpor
|
|
|
8016
8028
|
}] } });
|
|
8017
8029
|
|
|
8018
8030
|
class FooterCellDirective extends CdkFooterCell {
|
|
8019
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0
|
|
8020
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0
|
|
8031
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.0", ngImport: i0, type: FooterCellDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
|
|
8032
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.0", 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 }); }
|
|
8021
8033
|
}
|
|
8022
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0
|
|
8034
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0", ngImport: i0, type: FooterCellDirective, decorators: [{
|
|
8023
8035
|
type: Directive,
|
|
8024
8036
|
args: [{
|
|
8025
8037
|
selector: 'et-footer-cell, td[et-footer-cell]',
|
|
@@ -8031,10 +8043,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.5", ngImpor
|
|
|
8031
8043
|
}] });
|
|
8032
8044
|
|
|
8033
8045
|
class FooterCellDefDirective extends CdkFooterCellDef {
|
|
8034
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0
|
|
8035
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0
|
|
8046
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.0", ngImport: i0, type: FooterCellDefDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
|
|
8047
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.0", type: FooterCellDefDirective, isStandalone: true, selector: "[etFooterCellDef]", providers: [{ provide: CdkFooterCellDef, useExisting: FooterCellDefDirective }], usesInheritance: true, ngImport: i0 }); }
|
|
8036
8048
|
}
|
|
8037
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0
|
|
8049
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0", ngImport: i0, type: FooterCellDefDirective, decorators: [{
|
|
8038
8050
|
type: Directive,
|
|
8039
8051
|
args: [{
|
|
8040
8052
|
selector: '[etFooterCellDef]',
|
|
@@ -8044,10 +8056,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.5", ngImpor
|
|
|
8044
8056
|
}] });
|
|
8045
8057
|
|
|
8046
8058
|
class HeaderCellDirective extends CdkHeaderCell {
|
|
8047
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0
|
|
8048
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0
|
|
8059
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.0", ngImport: i0, type: HeaderCellDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
|
|
8060
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.0", 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 }); }
|
|
8049
8061
|
}
|
|
8050
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0
|
|
8062
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0", ngImport: i0, type: HeaderCellDirective, decorators: [{
|
|
8051
8063
|
type: Directive,
|
|
8052
8064
|
args: [{
|
|
8053
8065
|
selector: 'et-header-cell, th[et-header-cell]',
|
|
@@ -8060,10 +8072,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.5", ngImpor
|
|
|
8060
8072
|
}] });
|
|
8061
8073
|
|
|
8062
8074
|
class HeaderCellDefDirective extends CdkHeaderCellDef {
|
|
8063
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0
|
|
8064
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0
|
|
8075
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.0", ngImport: i0, type: HeaderCellDefDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
|
|
8076
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.0", type: HeaderCellDefDirective, isStandalone: true, selector: "[etHeaderCellDef]", providers: [{ provide: CdkHeaderCellDef, useExisting: HeaderCellDefDirective }], usesInheritance: true, ngImport: i0 }); }
|
|
8065
8077
|
}
|
|
8066
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0
|
|
8078
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0", ngImport: i0, type: HeaderCellDefDirective, decorators: [{
|
|
8067
8079
|
type: Directive,
|
|
8068
8080
|
args: [{
|
|
8069
8081
|
selector: '[etHeaderCellDef]',
|
|
@@ -8076,8 +8088,8 @@ class TextColumnComponent extends CdkTextColumn {
|
|
|
8076
8088
|
constructor(_table, _options) {
|
|
8077
8089
|
super(_table, _options);
|
|
8078
8090
|
}
|
|
8079
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0
|
|
8080
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.0
|
|
8091
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.0", ngImport: i0, type: TextColumnComponent, deps: [{ token: i1$3.CdkTable, optional: true }, { token: TEXT_COLUMN_OPTIONS, optional: true }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
8092
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.0", type: TextColumnComponent, isStandalone: true, selector: "et-text-column", usesInheritance: true, ngImport: i0, template: `
|
|
8081
8093
|
<ng-container etColumnDef>
|
|
8082
8094
|
<th *etHeaderCellDef [style.text-align]="justify" et-header-cell>
|
|
8083
8095
|
{{ headerText }}
|
|
@@ -8089,7 +8101,7 @@ class TextColumnComponent extends CdkTextColumn {
|
|
|
8089
8101
|
</ng-container>
|
|
8090
8102
|
`, 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 }); }
|
|
8091
8103
|
}
|
|
8092
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0
|
|
8104
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0", ngImport: i0, type: TextColumnComponent, decorators: [{
|
|
8093
8105
|
type: Component,
|
|
8094
8106
|
args: [{
|
|
8095
8107
|
selector: 'et-text-column',
|
|
@@ -8119,10 +8131,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.5", ngImpor
|
|
|
8119
8131
|
}] }]; } });
|
|
8120
8132
|
|
|
8121
8133
|
class FooterRowComponent extends CdkFooterRow {
|
|
8122
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0
|
|
8123
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.0
|
|
8134
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.0", ngImport: i0, type: FooterRowComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
8135
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.0", 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 }); }
|
|
8124
8136
|
}
|
|
8125
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0
|
|
8137
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0", ngImport: i0, type: FooterRowComponent, decorators: [{
|
|
8126
8138
|
type: Component,
|
|
8127
8139
|
args: [{
|
|
8128
8140
|
selector: 'et-footer-row, tr[et-footer-row]',
|
|
@@ -8144,10 +8156,10 @@ class FooterRowDefDirective extends CdkFooterRowDef {
|
|
|
8144
8156
|
constructor(template, _differs, _table) {
|
|
8145
8157
|
super(template, _differs, _table);
|
|
8146
8158
|
}
|
|
8147
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0
|
|
8148
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0
|
|
8159
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.0", ngImport: i0, type: FooterRowDefDirective, deps: [{ token: i0.TemplateRef }, { token: i0.IterableDiffers }, { token: CDK_TABLE, optional: true }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
8160
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.0", type: FooterRowDefDirective, isStandalone: true, selector: "[etFooterRowDef]", inputs: { columns: ["etFooterRowDef", "columns"], sticky: ["etFooterRowDefSticky", "sticky"] }, providers: [{ provide: CdkFooterRowDef, useExisting: FooterRowDefDirective }], usesInheritance: true, ngImport: i0 }); }
|
|
8149
8161
|
}
|
|
8150
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0
|
|
8162
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0", ngImport: i0, type: FooterRowDefDirective, decorators: [{
|
|
8151
8163
|
type: Directive,
|
|
8152
8164
|
args: [{
|
|
8153
8165
|
selector: '[etFooterRowDef]',
|
|
@@ -8164,10 +8176,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.5", ngImpor
|
|
|
8164
8176
|
}] }]; } });
|
|
8165
8177
|
|
|
8166
8178
|
class HeaderRowComponent extends CdkHeaderRow {
|
|
8167
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0
|
|
8168
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.0
|
|
8179
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.0", ngImport: i0, type: HeaderRowComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
8180
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.0", 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 }); }
|
|
8169
8181
|
}
|
|
8170
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0
|
|
8182
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0", ngImport: i0, type: HeaderRowComponent, decorators: [{
|
|
8171
8183
|
type: Component,
|
|
8172
8184
|
args: [{
|
|
8173
8185
|
selector: 'et-header-row, tr[et-header-row]',
|
|
@@ -8189,10 +8201,10 @@ class HeaderRowDefDirective extends CdkHeaderRowDef {
|
|
|
8189
8201
|
constructor(template, _differs, _table) {
|
|
8190
8202
|
super(template, _differs, _table);
|
|
8191
8203
|
}
|
|
8192
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0
|
|
8193
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0
|
|
8204
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.0", ngImport: i0, type: HeaderRowDefDirective, deps: [{ token: i0.TemplateRef }, { token: i0.IterableDiffers }, { token: CDK_TABLE, optional: true }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
8205
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.0", type: HeaderRowDefDirective, isStandalone: true, selector: "[etHeaderRowDef]", inputs: { columns: ["etHeaderRowDef", "columns"], sticky: ["etHeaderRowDefSticky", "sticky"] }, providers: [{ provide: CdkHeaderRowDef, useExisting: HeaderRowDefDirective }], usesInheritance: true, ngImport: i0 }); }
|
|
8194
8206
|
}
|
|
8195
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0
|
|
8207
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0", ngImport: i0, type: HeaderRowDefDirective, decorators: [{
|
|
8196
8208
|
type: Directive,
|
|
8197
8209
|
args: [{
|
|
8198
8210
|
selector: '[etHeaderRowDef]',
|
|
@@ -8213,10 +8225,10 @@ class NoDataRowDirective extends CdkNoDataRow {
|
|
|
8213
8225
|
super(...arguments);
|
|
8214
8226
|
this._contentClassName = 'et-no-data-row';
|
|
8215
8227
|
}
|
|
8216
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0
|
|
8217
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0
|
|
8228
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.0", ngImport: i0, type: NoDataRowDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
|
|
8229
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.0", type: NoDataRowDirective, isStandalone: true, selector: "ng-template[etNoDataRow]", providers: [{ provide: CdkNoDataRow, useExisting: NoDataRowDirective }], usesInheritance: true, ngImport: i0 }); }
|
|
8218
8230
|
}
|
|
8219
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0
|
|
8231
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0", ngImport: i0, type: NoDataRowDirective, decorators: [{
|
|
8220
8232
|
type: Directive,
|
|
8221
8233
|
args: [{
|
|
8222
8234
|
selector: 'ng-template[etNoDataRow]',
|
|
@@ -8226,10 +8238,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.5", ngImpor
|
|
|
8226
8238
|
}] });
|
|
8227
8239
|
|
|
8228
8240
|
class RecycleRowsDirective {
|
|
8229
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0
|
|
8230
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0
|
|
8241
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.0", ngImport: i0, type: RecycleRowsDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
8242
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.0", type: RecycleRowsDirective, isStandalone: true, selector: "et-table[recycleRows], table[et-table][recycleRows]", providers: [{ provide: _VIEW_REPEATER_STRATEGY, useClass: _RecycleViewRepeaterStrategy }], ngImport: i0 }); }
|
|
8231
8243
|
}
|
|
8232
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0
|
|
8244
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0", ngImport: i0, type: RecycleRowsDirective, decorators: [{
|
|
8233
8245
|
type: Directive,
|
|
8234
8246
|
args: [{
|
|
8235
8247
|
selector: 'et-table[recycleRows], table[et-table][recycleRows]',
|
|
@@ -8239,10 +8251,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.5", ngImpor
|
|
|
8239
8251
|
}] });
|
|
8240
8252
|
|
|
8241
8253
|
class RowComponent extends CdkRow {
|
|
8242
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0
|
|
8243
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.0
|
|
8254
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.0", ngImport: i0, type: RowComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
8255
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.0", 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 }); }
|
|
8244
8256
|
}
|
|
8245
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0
|
|
8257
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0", ngImport: i0, type: RowComponent, decorators: [{
|
|
8246
8258
|
type: Component,
|
|
8247
8259
|
args: [{
|
|
8248
8260
|
selector: 'et-row, [et-row], [et-row]',
|
|
@@ -8264,10 +8276,10 @@ class RowDefDirective extends CdkRowDef {
|
|
|
8264
8276
|
constructor(template, _differs, _table) {
|
|
8265
8277
|
super(template, _differs, _table);
|
|
8266
8278
|
}
|
|
8267
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0
|
|
8268
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0
|
|
8279
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.0", ngImport: i0, type: RowDefDirective, deps: [{ token: i0.TemplateRef }, { token: i0.IterableDiffers }, { token: CDK_TABLE, optional: true }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
8280
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.0", type: RowDefDirective, isStandalone: true, selector: "[etRowDef]", inputs: { columns: ["etRowDefColumns", "columns"], when: ["etRowDefWhen", "when"] }, providers: [{ provide: CdkRowDef, useExisting: RowDefDirective }], usesInheritance: true, ngImport: i0 }); }
|
|
8269
8281
|
}
|
|
8270
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0
|
|
8282
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0", ngImport: i0, type: RowDefDirective, decorators: [{
|
|
8271
8283
|
type: Directive,
|
|
8272
8284
|
args: [{
|
|
8273
8285
|
selector: '[etRowDef]',
|
|
@@ -8284,40 +8296,40 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.5", ngImpor
|
|
|
8284
8296
|
}] }]; } });
|
|
8285
8297
|
|
|
8286
8298
|
class TableBusyDirective {
|
|
8287
|
-
constructor(
|
|
8288
|
-
this.templateRef =
|
|
8299
|
+
constructor() {
|
|
8300
|
+
this.templateRef = inject(TemplateRef);
|
|
8289
8301
|
this._contentClassName = 'et-table-busy';
|
|
8290
8302
|
}
|
|
8291
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0
|
|
8292
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0
|
|
8303
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.0", ngImport: i0, type: TableBusyDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
8304
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.0", type: TableBusyDirective, isStandalone: true, selector: "ng-template[etTableBusy]", ngImport: i0 }); }
|
|
8293
8305
|
}
|
|
8294
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0
|
|
8306
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0", ngImport: i0, type: TableBusyDirective, decorators: [{
|
|
8295
8307
|
type: Directive,
|
|
8296
8308
|
args: [{
|
|
8297
8309
|
selector: 'ng-template[etTableBusy]',
|
|
8298
8310
|
standalone: true,
|
|
8299
8311
|
}]
|
|
8300
|
-
}]
|
|
8312
|
+
}] });
|
|
8301
8313
|
|
|
8302
8314
|
class TableBusyOutletDirective {
|
|
8303
|
-
constructor(
|
|
8304
|
-
this.viewContainer =
|
|
8305
|
-
this.elementRef =
|
|
8315
|
+
constructor() {
|
|
8316
|
+
this.viewContainer = inject(ViewContainerRef);
|
|
8317
|
+
this.elementRef = inject(ElementRef);
|
|
8306
8318
|
}
|
|
8307
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0
|
|
8308
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0
|
|
8319
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.0", ngImport: i0, type: TableBusyOutletDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
8320
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.0", type: TableBusyOutletDirective, isStandalone: true, selector: "[tableBusyOutlet]", ngImport: i0 }); }
|
|
8309
8321
|
}
|
|
8310
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0
|
|
8322
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0", ngImport: i0, type: TableBusyOutletDirective, decorators: [{
|
|
8311
8323
|
type: Directive,
|
|
8312
8324
|
args: [{ selector: '[tableBusyOutlet]', standalone: true }]
|
|
8313
|
-
}]
|
|
8325
|
+
}] });
|
|
8314
8326
|
|
|
8315
8327
|
class TableComponent extends CdkTable {
|
|
8316
8328
|
get busy() {
|
|
8317
8329
|
return this._busy;
|
|
8318
8330
|
}
|
|
8319
8331
|
set busy(value) {
|
|
8320
|
-
this._busy =
|
|
8332
|
+
this._busy = booleanAttribute(value);
|
|
8321
8333
|
this._updateTableBusy();
|
|
8322
8334
|
}
|
|
8323
8335
|
get _attrAriaBusy() {
|
|
@@ -8364,8 +8376,8 @@ class TableComponent extends CdkTable {
|
|
|
8364
8376
|
this._isShowingTableBusy = shouldShow;
|
|
8365
8377
|
this._cdr.markForCheck();
|
|
8366
8378
|
}
|
|
8367
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0
|
|
8368
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.0
|
|
8379
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.0", 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 }); }
|
|
8380
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.0", 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: [
|
|
8369
8381
|
{ provide: CdkTable, useExisting: TableComponent },
|
|
8370
8382
|
{ provide: CDK_TABLE, useExisting: TableComponent },
|
|
8371
8383
|
{ provide: _COALESCED_STYLE_SCHEDULER, useClass: _CoalescedStyleScheduler },
|
|
@@ -8383,7 +8395,7 @@ class TableComponent extends CdkTable {
|
|
|
8383
8395
|
<ng-container footerRowOutlet />
|
|
8384
8396
|
`, 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 }); }
|
|
8385
8397
|
}
|
|
8386
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0
|
|
8398
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0", ngImport: i0, type: TableComponent, decorators: [{
|
|
8387
8399
|
type: Component,
|
|
8388
8400
|
args: [{ selector: 'et-table, table[et-table]', exportAs: 'etTable', template: `
|
|
8389
8401
|
<ng-content select="caption" />
|
|
@@ -8419,7 +8431,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.5", ngImpor
|
|
|
8419
8431
|
}] }, { type: i1$3._CoalescedStyleScheduler, decorators: [{
|
|
8420
8432
|
type: Inject,
|
|
8421
8433
|
args: [_COALESCED_STYLE_SCHEDULER]
|
|
8422
|
-
}] }, { type:
|
|
8434
|
+
}] }, { type: i3.ViewportRuler }, { type: undefined, decorators: [{
|
|
8423
8435
|
type: Optional
|
|
8424
8436
|
}, {
|
|
8425
8437
|
type: SkipSelf
|
|
@@ -8628,26 +8640,8 @@ class TableDataSource extends DataSource {
|
|
|
8628
8640
|
|
|
8629
8641
|
const SORT_DEFAULT_OPTIONS = new InjectionToken('SortDefaultOptions');
|
|
8630
8642
|
class SortDirective {
|
|
8631
|
-
|
|
8632
|
-
|
|
8633
|
-
}
|
|
8634
|
-
set disabled(value) {
|
|
8635
|
-
this._disabled = coerceBooleanProperty(value);
|
|
8636
|
-
}
|
|
8637
|
-
get direction() {
|
|
8638
|
-
return this._direction;
|
|
8639
|
-
}
|
|
8640
|
-
set direction(direction) {
|
|
8641
|
-
this._direction = direction;
|
|
8642
|
-
}
|
|
8643
|
-
get disableClear() {
|
|
8644
|
-
return this._disableClear;
|
|
8645
|
-
}
|
|
8646
|
-
set disableClear(v) {
|
|
8647
|
-
this._disableClear = coerceBooleanProperty(v);
|
|
8648
|
-
}
|
|
8649
|
-
constructor(_defaultOptions) {
|
|
8650
|
-
this._defaultOptions = _defaultOptions;
|
|
8643
|
+
constructor() {
|
|
8644
|
+
this._defaultOptions = inject(SORT_DEFAULT_OPTIONS, { optional: true });
|
|
8651
8645
|
this.sortables = new Map();
|
|
8652
8646
|
this._stateChanges = new Subject();
|
|
8653
8647
|
this._isInitialized = false;
|
|
@@ -8660,13 +8654,19 @@ class SortDirective {
|
|
|
8660
8654
|
this._pendingSubscribers?.push(subscriber);
|
|
8661
8655
|
}
|
|
8662
8656
|
});
|
|
8663
|
-
this.
|
|
8657
|
+
this.disabled = false;
|
|
8664
8658
|
this.start = 'asc';
|
|
8665
8659
|
this._direction = '';
|
|
8666
|
-
this.
|
|
8660
|
+
this.disableClear = false;
|
|
8667
8661
|
// eslint-disable-next-line @angular-eslint/no-output-rename
|
|
8668
8662
|
this.sortChange = new EventEmitter();
|
|
8669
8663
|
}
|
|
8664
|
+
get direction() {
|
|
8665
|
+
return this._direction;
|
|
8666
|
+
}
|
|
8667
|
+
set direction(direction) {
|
|
8668
|
+
this._direction = direction;
|
|
8669
|
+
}
|
|
8670
8670
|
register(sortable) {
|
|
8671
8671
|
this.sortables.set(sortable.id, sortable);
|
|
8672
8672
|
}
|
|
@@ -8725,10 +8725,10 @@ class SortDirective {
|
|
|
8725
8725
|
subscriber.next();
|
|
8726
8726
|
subscriber.complete();
|
|
8727
8727
|
}
|
|
8728
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0
|
|
8729
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0
|
|
8728
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.0", ngImport: i0, type: SortDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
8729
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.0", 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 }); }
|
|
8730
8730
|
}
|
|
8731
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0
|
|
8731
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0", ngImport: i0, type: SortDirective, decorators: [{
|
|
8732
8732
|
type: Directive,
|
|
8733
8733
|
args: [{
|
|
8734
8734
|
selector: '[etSort]',
|
|
@@ -8736,14 +8736,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.5", ngImpor
|
|
|
8736
8736
|
host: { class: 'et-sort' },
|
|
8737
8737
|
standalone: true,
|
|
8738
8738
|
}]
|
|
8739
|
-
}],
|
|
8740
|
-
type: Optional
|
|
8741
|
-
}, {
|
|
8742
|
-
type: Inject,
|
|
8743
|
-
args: [SORT_DEFAULT_OPTIONS]
|
|
8744
|
-
}] }]; }, propDecorators: { disabled: [{
|
|
8739
|
+
}], propDecorators: { disabled: [{
|
|
8745
8740
|
type: Input,
|
|
8746
|
-
args: ['etSortDisabled']
|
|
8741
|
+
args: [{ alias: 'etSortDisabled', transform: booleanAttribute }]
|
|
8747
8742
|
}], active: [{
|
|
8748
8743
|
type: Input,
|
|
8749
8744
|
args: ['etSortActive']
|
|
@@ -8755,7 +8750,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.5", ngImpor
|
|
|
8755
8750
|
args: ['etSortDirection']
|
|
8756
8751
|
}], disableClear: [{
|
|
8757
8752
|
type: Input,
|
|
8758
|
-
args: ['etSortDisableClear']
|
|
8753
|
+
args: [{ alias: 'etSortDisableClear', transform: booleanAttribute }]
|
|
8759
8754
|
}], sortControl: [{
|
|
8760
8755
|
type: Input
|
|
8761
8756
|
}], sortByControl: [{
|
|
@@ -8782,10 +8777,10 @@ class SortHeaderIntl {
|
|
|
8782
8777
|
constructor() {
|
|
8783
8778
|
this.changes = new Subject();
|
|
8784
8779
|
}
|
|
8785
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0
|
|
8786
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.0
|
|
8780
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.0", ngImport: i0, type: SortHeaderIntl, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
8781
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.0", ngImport: i0, type: SortHeaderIntl, providedIn: 'root' }); }
|
|
8787
8782
|
}
|
|
8788
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0
|
|
8783
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0", ngImport: i0, type: SortHeaderIntl, decorators: [{
|
|
8789
8784
|
type: Injectable,
|
|
8790
8785
|
args: [{ providedIn: 'root' }]
|
|
8791
8786
|
}] });
|
|
@@ -8799,24 +8794,12 @@ const SORT_HEADER_INTL_PROVIDER = {
|
|
|
8799
8794
|
};
|
|
8800
8795
|
|
|
8801
8796
|
class SortHeaderComponent {
|
|
8802
|
-
get disabled() {
|
|
8803
|
-
return this._disabled;
|
|
8804
|
-
}
|
|
8805
|
-
set disabled(value) {
|
|
8806
|
-
this._disabled = coerceBooleanProperty(value);
|
|
8807
|
-
}
|
|
8808
8797
|
get sortActionDescription() {
|
|
8809
8798
|
return this._sortActionDescription;
|
|
8810
8799
|
}
|
|
8811
8800
|
set sortActionDescription(value) {
|
|
8812
8801
|
this._updateSortActionDescription(value);
|
|
8813
8802
|
}
|
|
8814
|
-
get disableClear() {
|
|
8815
|
-
return this._disableClear;
|
|
8816
|
-
}
|
|
8817
|
-
set disableClear(v) {
|
|
8818
|
-
this._disableClear = coerceBooleanProperty(v);
|
|
8819
|
-
}
|
|
8820
8803
|
get _isSorted() {
|
|
8821
8804
|
if (!this._sort) {
|
|
8822
8805
|
return false;
|
|
@@ -8842,23 +8825,24 @@ class SortHeaderComponent {
|
|
|
8842
8825
|
}
|
|
8843
8826
|
return this._sort?.direction == 'asc' ? 'ascending' : 'descending';
|
|
8844
8827
|
}
|
|
8845
|
-
constructor(
|
|
8846
|
-
this._intl =
|
|
8847
|
-
this._changeDetectorRef =
|
|
8848
|
-
this._sort =
|
|
8849
|
-
this._columnDef =
|
|
8850
|
-
this._focusMonitor =
|
|
8851
|
-
this._elementRef =
|
|
8852
|
-
this._ariaDescriber =
|
|
8828
|
+
constructor() {
|
|
8829
|
+
this._intl = inject(SortHeaderIntl);
|
|
8830
|
+
this._changeDetectorRef = inject(ChangeDetectorRef);
|
|
8831
|
+
this._sort = inject(SortDirective, { optional: true });
|
|
8832
|
+
this._columnDef = inject(SORT_HEADER_COLUMN_DEF, { optional: true });
|
|
8833
|
+
this._focusMonitor = inject(FocusMonitor);
|
|
8834
|
+
this._elementRef = inject(ElementRef);
|
|
8835
|
+
this._ariaDescriber = inject(AriaDescriber);
|
|
8836
|
+
this._sortDefaultOptions = inject(SORT_DEFAULT_OPTIONS, { optional: true });
|
|
8853
8837
|
this._showIndicatorHint = false;
|
|
8854
8838
|
this._viewState = {};
|
|
8855
8839
|
this._arrowDirection = '';
|
|
8856
|
-
this.
|
|
8840
|
+
this.disabled = false;
|
|
8857
8841
|
this.arrowPosition = 'after';
|
|
8858
8842
|
this._sortActionDescription = 'Sort';
|
|
8859
|
-
this.
|
|
8860
|
-
if (
|
|
8861
|
-
this.arrowPosition =
|
|
8843
|
+
this.disableClear = false;
|
|
8844
|
+
if (this._sortDefaultOptions?.arrowPosition) {
|
|
8845
|
+
this.arrowPosition = this._sortDefaultOptions?.arrowPosition;
|
|
8862
8846
|
}
|
|
8863
8847
|
this._handleStateChanges();
|
|
8864
8848
|
}
|
|
@@ -8955,28 +8939,17 @@ class SortHeaderComponent {
|
|
|
8955
8939
|
this._changeDetectorRef.markForCheck();
|
|
8956
8940
|
});
|
|
8957
8941
|
}
|
|
8958
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0
|
|
8959
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.0
|
|
8942
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.0", ngImport: i0, type: SortHeaderComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
8943
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.0", 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 }); }
|
|
8960
8944
|
}
|
|
8961
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0
|
|
8945
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0", ngImport: i0, type: SortHeaderComponent, decorators: [{
|
|
8962
8946
|
type: Component,
|
|
8963
8947
|
args: [{ selector: '[et-sort-header]', exportAs: 'etSortHeader', host: {
|
|
8964
8948
|
class: 'et-sort-header',
|
|
8965
8949
|
}, 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"] }]
|
|
8966
|
-
}], ctorParameters: function () { return [
|
|
8967
|
-
|
|
8968
|
-
|
|
8969
|
-
type: Inject,
|
|
8970
|
-
args: [SORT_HEADER_COLUMN_DEF]
|
|
8971
|
-
}, {
|
|
8972
|
-
type: Optional
|
|
8973
|
-
}] }, { type: i1$2.FocusMonitor }, { type: i0.ElementRef }, { type: i1$2.AriaDescriber }, { type: undefined, decorators: [{
|
|
8974
|
-
type: Optional
|
|
8975
|
-
}, {
|
|
8976
|
-
type: Inject,
|
|
8977
|
-
args: [SORT_DEFAULT_OPTIONS]
|
|
8978
|
-
}] }]; }, propDecorators: { disabled: [{
|
|
8979
|
-
type: Input
|
|
8950
|
+
}], ctorParameters: function () { return []; }, propDecorators: { disabled: [{
|
|
8951
|
+
type: Input,
|
|
8952
|
+
args: [{ transform: booleanAttribute }]
|
|
8980
8953
|
}, {
|
|
8981
8954
|
type: HostBinding,
|
|
8982
8955
|
args: ['class.et-sort-header-disabled']
|
|
@@ -8990,7 +8963,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.5", ngImpor
|
|
|
8990
8963
|
}], sortActionDescription: [{
|
|
8991
8964
|
type: Input
|
|
8992
8965
|
}], disableClear: [{
|
|
8993
|
-
type: Input
|
|
8966
|
+
type: Input,
|
|
8967
|
+
args: [{ transform: booleanAttribute }]
|
|
8994
8968
|
}], _ariaSortAttr: [{
|
|
8995
8969
|
type: HostBinding,
|
|
8996
8970
|
args: ['attr.aria-sort']
|
|
@@ -9042,10 +9016,10 @@ class InlineTabBodyHostDirective extends CdkPortalOutlet {
|
|
|
9042
9016
|
constructor(componentFactoryResolver, viewContainerRef, _document) {
|
|
9043
9017
|
super(componentFactoryResolver, viewContainerRef, _document);
|
|
9044
9018
|
}
|
|
9045
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0
|
|
9046
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0
|
|
9019
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.0", ngImport: i0, type: InlineTabBodyHostDirective, deps: [{ token: i0.ComponentFactoryResolver }, { token: i0.ViewContainerRef }, { token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
9020
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.0", type: InlineTabBodyHostDirective, isStandalone: true, selector: "[etInlineTabBodyHost]", host: { classAttribute: "et-inline-tab-body-host" }, usesInheritance: true, ngImport: i0 }); }
|
|
9047
9021
|
}
|
|
9048
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0
|
|
9022
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0", ngImport: i0, type: InlineTabBodyHostDirective, decorators: [{
|
|
9049
9023
|
type: Directive,
|
|
9050
9024
|
args: [{
|
|
9051
9025
|
selector: '[etInlineTabBodyHost]',
|
|
@@ -9064,9 +9038,10 @@ class InlineTabBodyComponent {
|
|
|
9064
9038
|
this._positionIndex = position;
|
|
9065
9039
|
this._computePositionAnimationState();
|
|
9066
9040
|
}
|
|
9067
|
-
constructor(
|
|
9068
|
-
this._elementRef =
|
|
9069
|
-
this._dir =
|
|
9041
|
+
constructor() {
|
|
9042
|
+
this._elementRef = inject(ElementRef);
|
|
9043
|
+
this._dir = inject(Directionality);
|
|
9044
|
+
this._cdr = inject(ChangeDetectorRef);
|
|
9070
9045
|
this._centeringSub = Subscription.EMPTY;
|
|
9071
9046
|
this._leavingSub = Subscription.EMPTY;
|
|
9072
9047
|
this._dirChangeSubscription = Subscription.EMPTY;
|
|
@@ -9077,10 +9052,10 @@ class InlineTabBodyComponent {
|
|
|
9077
9052
|
this._onCentered = new EventEmitter(true);
|
|
9078
9053
|
this.animationDuration = '500ms';
|
|
9079
9054
|
this.preserveContent = false;
|
|
9080
|
-
if (_dir) {
|
|
9081
|
-
this._dirChangeSubscription = _dir.change.subscribe((dir) => {
|
|
9055
|
+
if (this._dir) {
|
|
9056
|
+
this._dirChangeSubscription = this._dir.change.subscribe((dir) => {
|
|
9082
9057
|
this._computePositionAnimationState(dir);
|
|
9083
|
-
|
|
9058
|
+
this._cdr.markForCheck();
|
|
9084
9059
|
});
|
|
9085
9060
|
}
|
|
9086
9061
|
this._translateTabComplete
|
|
@@ -9150,17 +9125,15 @@ class InlineTabBodyComponent {
|
|
|
9150
9125
|
}
|
|
9151
9126
|
return 'right-origin-center';
|
|
9152
9127
|
}
|
|
9153
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0
|
|
9154
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.0
|
|
9128
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.0", ngImport: i0, type: InlineTabBodyComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
9129
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.0", 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 }); }
|
|
9155
9130
|
}
|
|
9156
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0
|
|
9131
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0", ngImport: i0, type: InlineTabBodyComponent, decorators: [{
|
|
9157
9132
|
type: Component,
|
|
9158
9133
|
args: [{ selector: 'et-inline-tab-body', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.Default, animations: [tabAnimations.translateTab], standalone: true, imports: [CdkScrollableModule, InlineTabBodyHostDirective], host: {
|
|
9159
9134
|
class: 'et-inline-tab-body',
|
|
9160
9135
|
}, 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" }]
|
|
9161
|
-
}], ctorParameters: function () { return [
|
|
9162
|
-
type: Optional
|
|
9163
|
-
}] }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { _onCentering: [{
|
|
9136
|
+
}], ctorParameters: function () { return []; }, propDecorators: { _onCentering: [{
|
|
9164
9137
|
type: Output
|
|
9165
9138
|
}], _beforeCentering: [{
|
|
9166
9139
|
type: Output
|
|
@@ -9186,13 +9159,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.5", ngImpor
|
|
|
9186
9159
|
|
|
9187
9160
|
const TAB_CONTENT = new InjectionToken('TabContent');
|
|
9188
9161
|
class InlineTabContentDirective {
|
|
9189
|
-
constructor(
|
|
9190
|
-
this.template =
|
|
9162
|
+
constructor() {
|
|
9163
|
+
this.template = inject(TemplateRef);
|
|
9191
9164
|
}
|
|
9192
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0
|
|
9193
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0
|
|
9165
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.0", ngImport: i0, type: InlineTabContentDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
9166
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.0", type: InlineTabContentDirective, isStandalone: true, selector: "[etInlineTabContent]", host: { classAttribute: "et-inline-tab-content" }, providers: [{ provide: TAB_CONTENT, useExisting: InlineTabContentDirective }], ngImport: i0 }); }
|
|
9194
9167
|
}
|
|
9195
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0
|
|
9168
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0", ngImport: i0, type: InlineTabContentDirective, decorators: [{
|
|
9196
9169
|
type: Directive,
|
|
9197
9170
|
args: [{
|
|
9198
9171
|
selector: '[etInlineTabContent]',
|
|
@@ -9202,7 +9175,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.5", ngImpor
|
|
|
9202
9175
|
class: 'et-inline-tab-content',
|
|
9203
9176
|
},
|
|
9204
9177
|
}]
|
|
9205
|
-
}]
|
|
9178
|
+
}] });
|
|
9206
9179
|
|
|
9207
9180
|
const ACTIVE_CLASS = 'et-active-tab-underline--active';
|
|
9208
9181
|
const NO_TRANSITION_CLASS = 'et-active-tab-underline--no-transition';
|
|
@@ -9235,7 +9208,7 @@ class ActiveTabUnderlineDirective {
|
|
|
9235
9208
|
return this._fitToContent;
|
|
9236
9209
|
}
|
|
9237
9210
|
set fitUnderlineToContent(v) {
|
|
9238
|
-
const newValue =
|
|
9211
|
+
const newValue = booleanAttribute(v);
|
|
9239
9212
|
if (this._fitToContent !== newValue) {
|
|
9240
9213
|
this._fitToContent = newValue;
|
|
9241
9214
|
if (this._underlineElement) {
|
|
@@ -9291,10 +9264,10 @@ class ActiveTabUnderlineDirective {
|
|
|
9291
9264
|
}
|
|
9292
9265
|
parentElement.appendChild(this._underlineElement);
|
|
9293
9266
|
}
|
|
9294
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0
|
|
9295
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0
|
|
9267
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.0", ngImport: i0, type: ActiveTabUnderlineDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
9268
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.0", type: ActiveTabUnderlineDirective, isStandalone: true, inputs: { fitUnderlineToContent: "fitUnderlineToContent" }, ngImport: i0 }); }
|
|
9296
9269
|
}
|
|
9297
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0
|
|
9270
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0", ngImport: i0, type: ActiveTabUnderlineDirective, decorators: [{
|
|
9298
9271
|
type: Directive,
|
|
9299
9272
|
args: [{ standalone: true }]
|
|
9300
9273
|
}], propDecorators: { fitUnderlineToContent: [{
|
|
@@ -9319,8 +9292,8 @@ class PaginatedTabHeaderDirective {
|
|
|
9319
9292
|
get selectedIndex() {
|
|
9320
9293
|
return this._selectedIndex;
|
|
9321
9294
|
}
|
|
9322
|
-
set selectedIndex(
|
|
9323
|
-
value =
|
|
9295
|
+
set selectedIndex(val) {
|
|
9296
|
+
const value = numberAttribute(val);
|
|
9324
9297
|
if (this._selectedIndex != value) {
|
|
9325
9298
|
this._selectedIndexChanged = true;
|
|
9326
9299
|
this._selectedIndex = value;
|
|
@@ -9329,43 +9302,25 @@ class PaginatedTabHeaderDirective {
|
|
|
9329
9302
|
}
|
|
9330
9303
|
}
|
|
9331
9304
|
}
|
|
9332
|
-
|
|
9333
|
-
|
|
9334
|
-
|
|
9335
|
-
|
|
9336
|
-
this.
|
|
9337
|
-
|
|
9338
|
-
get renderButtons() {
|
|
9339
|
-
return this._renderButtons;
|
|
9340
|
-
}
|
|
9341
|
-
set renderButtons(value) {
|
|
9342
|
-
this._renderButtons = coerceBooleanProperty(value);
|
|
9343
|
-
}
|
|
9344
|
-
get renderScrollbars() {
|
|
9345
|
-
return this._renderScrollbars;
|
|
9346
|
-
}
|
|
9347
|
-
set renderScrollbars(value) {
|
|
9348
|
-
this._renderScrollbars = coerceBooleanProperty(value);
|
|
9349
|
-
}
|
|
9350
|
-
constructor(_elementRef, _cdr, _viewportRuler, _dir, _ngZone) {
|
|
9351
|
-
this._elementRef = _elementRef;
|
|
9352
|
-
this._cdr = _cdr;
|
|
9353
|
-
this._viewportRuler = _viewportRuler;
|
|
9354
|
-
this._dir = _dir;
|
|
9355
|
-
this._ngZone = _ngZone;
|
|
9305
|
+
constructor() {
|
|
9306
|
+
this._elementRef = inject(ElementRef);
|
|
9307
|
+
this._cdr = inject(ChangeDetectorRef);
|
|
9308
|
+
this._viewportRuler = inject(ViewportRuler$1);
|
|
9309
|
+
this._dir = inject(Directionality, { optional: true });
|
|
9310
|
+
this._ngZone = inject(NgZone);
|
|
9356
9311
|
this._scrollDistance = 0;
|
|
9357
9312
|
this._selectedIndexChanged = false;
|
|
9358
9313
|
this._destroy$ = createDestroy();
|
|
9359
9314
|
this._stopScrolling = new Subject();
|
|
9360
9315
|
this._selectedIndex = 0;
|
|
9361
9316
|
this.itemSize = 'auto';
|
|
9362
|
-
this.
|
|
9363
|
-
this.
|
|
9364
|
-
this.
|
|
9317
|
+
this.renderMasks = true;
|
|
9318
|
+
this.renderButtons = true;
|
|
9319
|
+
this.renderScrollbars = false;
|
|
9365
9320
|
this.selectFocusedIndex = new EventEmitter();
|
|
9366
9321
|
this.indexFocused = new EventEmitter();
|
|
9367
|
-
_ngZone.runOutsideAngular(() => {
|
|
9368
|
-
fromEvent(_elementRef.nativeElement, 'mouseleave')
|
|
9322
|
+
this._ngZone.runOutsideAngular(() => {
|
|
9323
|
+
fromEvent(this._elementRef.nativeElement, 'mouseleave')
|
|
9369
9324
|
.pipe(takeUntil$1(this._destroy$))
|
|
9370
9325
|
.subscribe(() => {
|
|
9371
9326
|
this._stopInterval();
|
|
@@ -9558,25 +9513,26 @@ class PaginatedTabHeaderDirective {
|
|
|
9558
9513
|
this._scrollDistanceChanged = true;
|
|
9559
9514
|
return { maxScrollDistance, distance: this._scrollDistance };
|
|
9560
9515
|
}
|
|
9561
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0
|
|
9562
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0
|
|
9516
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.0", ngImport: i0, type: PaginatedTabHeaderDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
9517
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.0", 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 }); }
|
|
9563
9518
|
}
|
|
9564
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0
|
|
9519
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0", ngImport: i0, type: PaginatedTabHeaderDirective, decorators: [{
|
|
9565
9520
|
type: Directive
|
|
9566
|
-
}], ctorParameters: function () { return [
|
|
9567
|
-
type: Optional
|
|
9568
|
-
}] }, { type: i0.NgZone }]; }, propDecorators: { selectedIndex: [{
|
|
9521
|
+
}], ctorParameters: function () { return []; }, propDecorators: { selectedIndex: [{
|
|
9569
9522
|
type: Input
|
|
9570
9523
|
}], itemSize: [{
|
|
9571
9524
|
type: Input
|
|
9572
9525
|
}], scrollableClass: [{
|
|
9573
9526
|
type: Input
|
|
9574
9527
|
}], renderMasks: [{
|
|
9575
|
-
type: Input
|
|
9528
|
+
type: Input,
|
|
9529
|
+
args: [{ transform: booleanAttribute }]
|
|
9576
9530
|
}], renderButtons: [{
|
|
9577
|
-
type: Input
|
|
9531
|
+
type: Input,
|
|
9532
|
+
args: [{ transform: booleanAttribute }]
|
|
9578
9533
|
}], renderScrollbars: [{
|
|
9579
|
-
type: Input
|
|
9534
|
+
type: Input,
|
|
9535
|
+
args: [{ transform: booleanAttribute }]
|
|
9580
9536
|
}], selectFocusedIndex: [{
|
|
9581
9537
|
type: Output
|
|
9582
9538
|
}], indexFocused: [{
|
|
@@ -9584,19 +9540,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.5", ngImpor
|
|
|
9584
9540
|
}] } });
|
|
9585
9541
|
|
|
9586
9542
|
class InlineTabLabelWrapperDirective {
|
|
9587
|
-
|
|
9588
|
-
|
|
9589
|
-
|
|
9590
|
-
set disabled(value) {
|
|
9591
|
-
this._disabled = coerceBooleanProperty(value);
|
|
9543
|
+
constructor() {
|
|
9544
|
+
this.elementRef = inject(ElementRef);
|
|
9545
|
+
this.disabled = false;
|
|
9592
9546
|
}
|
|
9593
9547
|
get attrAriaDisabled() {
|
|
9594
9548
|
return this.disabled ? 'true' : null;
|
|
9595
9549
|
}
|
|
9596
|
-
constructor(elementRef) {
|
|
9597
|
-
this.elementRef = elementRef;
|
|
9598
|
-
this._disabled = false;
|
|
9599
|
-
}
|
|
9600
9550
|
focus() {
|
|
9601
9551
|
this.elementRef.nativeElement.focus();
|
|
9602
9552
|
}
|
|
@@ -9606,10 +9556,10 @@ class InlineTabLabelWrapperDirective {
|
|
|
9606
9556
|
getOffsetWidth() {
|
|
9607
9557
|
return this.elementRef.nativeElement.offsetWidth;
|
|
9608
9558
|
}
|
|
9609
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0
|
|
9610
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0
|
|
9559
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.0", ngImport: i0, type: InlineTabLabelWrapperDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
9560
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.0", 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 }); }
|
|
9611
9561
|
}
|
|
9612
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0
|
|
9562
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0", ngImport: i0, type: InlineTabLabelWrapperDirective, decorators: [{
|
|
9613
9563
|
type: Directive,
|
|
9614
9564
|
args: [{
|
|
9615
9565
|
selector: '[etInlineTabLabelWrapper]',
|
|
@@ -9619,17 +9569,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.5", ngImpor
|
|
|
9619
9569
|
},
|
|
9620
9570
|
hostDirectives: [{ directive: ActiveTabUnderlineDirective, inputs: ['fitUnderlineToContent'] }],
|
|
9621
9571
|
}]
|
|
9622
|
-
}],
|
|
9623
|
-
type: Input
|
|
9572
|
+
}], propDecorators: { disabled: [{
|
|
9573
|
+
type: Input,
|
|
9574
|
+
args: [{ transform: booleanAttribute }]
|
|
9624
9575
|
}], attrAriaDisabled: [{
|
|
9625
9576
|
type: HostBinding,
|
|
9626
9577
|
args: ['attr.aria-disabled']
|
|
9627
9578
|
}] } });
|
|
9628
9579
|
|
|
9629
9580
|
class InlineTabHeaderComponent extends PaginatedTabHeaderDirective {
|
|
9630
|
-
constructor(elementRef, changeDetectorRef, viewportRuler, dir, ngZone) {
|
|
9631
|
-
super(elementRef, changeDetectorRef, viewportRuler, dir, ngZone);
|
|
9632
|
-
}
|
|
9633
9581
|
ngAfterContentInit() {
|
|
9634
9582
|
this._activeTabUnderlineManager = new ActiveTabUnderlineBarManager(this._inkBars);
|
|
9635
9583
|
super.ngAfterContentInit();
|
|
@@ -9637,17 +9585,15 @@ class InlineTabHeaderComponent extends PaginatedTabHeaderDirective {
|
|
|
9637
9585
|
_itemSelected(event) {
|
|
9638
9586
|
event.preventDefault();
|
|
9639
9587
|
}
|
|
9640
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0
|
|
9641
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.0
|
|
9588
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.0", ngImport: i0, type: InlineTabHeaderComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
9589
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.0", 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 }); }
|
|
9642
9590
|
}
|
|
9643
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0
|
|
9591
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0", ngImport: i0, type: InlineTabHeaderComponent, decorators: [{
|
|
9644
9592
|
type: Component,
|
|
9645
9593
|
args: [{ selector: 'et-inline-tab-header', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, standalone: true, imports: [ScrollableComponent, NgClass, ObserveContentDirective, ScrollObserverIgnoreTargetDirective], host: {
|
|
9646
9594
|
class: 'et-inline-tab-header',
|
|
9647
9595
|
}, 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" }]
|
|
9648
|
-
}],
|
|
9649
|
-
type: Optional
|
|
9650
|
-
}] }, { type: i0.NgZone }]; }, propDecorators: { _items: [{
|
|
9596
|
+
}], propDecorators: { _items: [{
|
|
9651
9597
|
type: ContentChildren,
|
|
9652
9598
|
args: [InlineTabLabelWrapperDirective, { descendants: false }]
|
|
9653
9599
|
}], _scrollable: [{
|
|
@@ -9665,10 +9611,10 @@ class InlineTabLabelDirective extends CdkPortal {
|
|
|
9665
9611
|
super(templateRef, viewContainerRef);
|
|
9666
9612
|
this._closestTab = _closestTab;
|
|
9667
9613
|
}
|
|
9668
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0
|
|
9669
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0
|
|
9614
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.0", ngImport: i0, type: InlineTabLabelDirective, deps: [{ token: i0.TemplateRef }, { token: i0.ViewContainerRef }, { token: TAB, optional: true }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
9615
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.0", 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 }); }
|
|
9670
9616
|
}
|
|
9671
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0
|
|
9617
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0", ngImport: i0, type: InlineTabLabelDirective, decorators: [{
|
|
9672
9618
|
type: Directive,
|
|
9673
9619
|
args: [{
|
|
9674
9620
|
selector: '[et-inline-tab-label]',
|
|
@@ -9693,28 +9639,16 @@ class InlineTabComponent {
|
|
|
9693
9639
|
set templateLabel(value) {
|
|
9694
9640
|
this._setTemplateLabelInput(value);
|
|
9695
9641
|
}
|
|
9696
|
-
get fitUnderlineToContent() {
|
|
9697
|
-
return this._fitToContent;
|
|
9698
|
-
}
|
|
9699
|
-
set fitUnderlineToContent(v) {
|
|
9700
|
-
this._fitToContent = coerceBooleanProperty(v);
|
|
9701
|
-
}
|
|
9702
|
-
get disabled() {
|
|
9703
|
-
return this._disabled;
|
|
9704
|
-
}
|
|
9705
|
-
set disabled(value) {
|
|
9706
|
-
this._disabled = coerceBooleanProperty(value);
|
|
9707
|
-
}
|
|
9708
9642
|
get content() {
|
|
9709
9643
|
return this._contentPortal;
|
|
9710
9644
|
}
|
|
9711
9645
|
constructor(_viewContainerRef, _closestTabGroup) {
|
|
9712
9646
|
this._viewContainerRef = _viewContainerRef;
|
|
9713
9647
|
this._closestTabGroup = _closestTabGroup;
|
|
9714
|
-
this.
|
|
9648
|
+
this.fitUnderlineToContent = false;
|
|
9715
9649
|
// eslint-disable-next-line @angular-eslint/no-input-rename
|
|
9716
9650
|
this.textLabel = '';
|
|
9717
|
-
this.
|
|
9651
|
+
this.disabled = false;
|
|
9718
9652
|
this._contentPortal = null;
|
|
9719
9653
|
this._stateChanges = new Subject();
|
|
9720
9654
|
this.position = null;
|
|
@@ -9737,10 +9671,10 @@ class InlineTabComponent {
|
|
|
9737
9671
|
this._templateLabel = value;
|
|
9738
9672
|
}
|
|
9739
9673
|
}
|
|
9740
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0
|
|
9741
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.0
|
|
9674
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.0", ngImport: i0, type: InlineTabComponent, deps: [{ token: i0.ViewContainerRef }, { token: TAB_GROUP, optional: true }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
9675
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.0", 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 }); }
|
|
9742
9676
|
}
|
|
9743
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0
|
|
9677
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0", ngImport: i0, type: InlineTabComponent, decorators: [{
|
|
9744
9678
|
type: Component,
|
|
9745
9679
|
args: [{ selector: 'et-inline-tab', changeDetection: ChangeDetectionStrategy.Default, encapsulation: ViewEncapsulation.None, providers: [{ provide: TAB, useExisting: InlineTabComponent }], standalone: true, host: {
|
|
9746
9680
|
class: 'et-inline-tab',
|
|
@@ -9754,7 +9688,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.5", ngImpor
|
|
|
9754
9688
|
type: ContentChild,
|
|
9755
9689
|
args: [TAB_LABEL]
|
|
9756
9690
|
}], fitUnderlineToContent: [{
|
|
9757
|
-
type: Input
|
|
9691
|
+
type: Input,
|
|
9692
|
+
args: [{ transform: booleanAttribute }]
|
|
9758
9693
|
}], _explicitContent: [{
|
|
9759
9694
|
type: ContentChild,
|
|
9760
9695
|
args: [TAB_CONTENT, { read: TemplateRef, static: true }]
|
|
@@ -9775,7 +9710,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.5", ngImpor
|
|
|
9775
9710
|
}], bodyClass: [{
|
|
9776
9711
|
type: Input
|
|
9777
9712
|
}], disabled: [{
|
|
9778
|
-
type: Input
|
|
9713
|
+
type: Input,
|
|
9714
|
+
args: [{ transform: booleanAttribute }]
|
|
9779
9715
|
}] } });
|
|
9780
9716
|
|
|
9781
9717
|
let nextUniqueId$1 = 0;
|
|
@@ -9792,10 +9728,10 @@ class NavTabsOutletComponent {
|
|
|
9792
9728
|
get _attrId() {
|
|
9793
9729
|
return this.id;
|
|
9794
9730
|
}
|
|
9795
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0
|
|
9796
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.0
|
|
9731
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.0", ngImport: i0, type: NavTabsOutletComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
9732
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.0", 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 }); }
|
|
9797
9733
|
}
|
|
9798
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0
|
|
9734
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0", ngImport: i0, type: NavTabsOutletComponent, decorators: [{
|
|
9799
9735
|
type: Component,
|
|
9800
9736
|
args: [{ selector: 'et-nav-tabs-outlet', template: '<ng-content />', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, standalone: true, host: {
|
|
9801
9737
|
class: 'et-nav-tabs-outlet',
|
|
@@ -9814,14 +9750,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.5", ngImpor
|
|
|
9814
9750
|
}] } });
|
|
9815
9751
|
|
|
9816
9752
|
class NavTabsComponent extends PaginatedTabHeaderDirective {
|
|
9753
|
+
constructor() {
|
|
9754
|
+
super(...arguments);
|
|
9755
|
+
this._router = inject(Router);
|
|
9756
|
+
}
|
|
9817
9757
|
get _attrRole() {
|
|
9818
9758
|
return this._getRole();
|
|
9819
9759
|
}
|
|
9820
|
-
constructor(elementRef, dir, ngZone, _cdr, viewportRuler, _router) {
|
|
9821
|
-
super(elementRef, _cdr, viewportRuler, dir, ngZone);
|
|
9822
|
-
this._cdr = _cdr;
|
|
9823
|
-
this._router = _router;
|
|
9824
|
-
}
|
|
9825
9760
|
ngOnInit() {
|
|
9826
9761
|
this._router.events
|
|
9827
9762
|
.pipe(filter((e) => e instanceof NavigationEnd), tap(() => this.updateActiveLink()), takeUntil(this._destroy$))
|
|
@@ -9862,17 +9797,15 @@ class NavTabsComponent extends PaginatedTabHeaderDirective {
|
|
|
9862
9797
|
_getRole() {
|
|
9863
9798
|
return this.tabOutlet ? 'tablist' : this._elementRef.nativeElement.getAttribute('role');
|
|
9864
9799
|
}
|
|
9865
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0
|
|
9866
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.0
|
|
9800
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.0", ngImport: i0, type: NavTabsComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
9801
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.0", 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 }); }
|
|
9867
9802
|
}
|
|
9868
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0
|
|
9803
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0", ngImport: i0, type: NavTabsComponent, decorators: [{
|
|
9869
9804
|
type: Component,
|
|
9870
9805
|
args: [{ selector: '[et-nav-tabs]', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.Default, standalone: true, imports: [ScrollableComponent, NgClass, ScrollObserverIgnoreTargetDirective], host: {
|
|
9871
9806
|
class: 'et-nav-tabs',
|
|
9872
9807
|
}, 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" }]
|
|
9873
|
-
}],
|
|
9874
|
-
type: Optional
|
|
9875
|
-
}] }, { type: i0.NgZone }, { type: i0.ChangeDetectorRef }, { type: i1$5.ViewportRuler }, { type: i3.Router }]; }, propDecorators: { tabOutlet: [{
|
|
9808
|
+
}], propDecorators: { tabOutlet: [{
|
|
9876
9809
|
type: Input
|
|
9877
9810
|
}], _items: [{
|
|
9878
9811
|
type: ContentChildren,
|
|
@@ -9906,18 +9839,6 @@ class NavTabLinkComponent {
|
|
|
9906
9839
|
const isActive = link.urlTree ? this._router.isActive(link.urlTree, options) : false;
|
|
9907
9840
|
return isActive;
|
|
9908
9841
|
}
|
|
9909
|
-
get tabIndex() {
|
|
9910
|
-
return this.disabled ? -1 : this._tabIndex;
|
|
9911
|
-
}
|
|
9912
|
-
set tabIndex(value) {
|
|
9913
|
-
this._tabIndex = value != null ? coerceNumberProperty(value) : 0;
|
|
9914
|
-
}
|
|
9915
|
-
get disabled() {
|
|
9916
|
-
return this._disabled;
|
|
9917
|
-
}
|
|
9918
|
-
set disabled(value) {
|
|
9919
|
-
this._disabled = coerceBooleanProperty(value);
|
|
9920
|
-
}
|
|
9921
9842
|
get _attrAriaControls() {
|
|
9922
9843
|
return this._getAriaControls();
|
|
9923
9844
|
}
|
|
@@ -9936,18 +9857,19 @@ class NavTabLinkComponent {
|
|
|
9936
9857
|
get _attrRole() {
|
|
9937
9858
|
return this._getRole();
|
|
9938
9859
|
}
|
|
9939
|
-
constructor(
|
|
9940
|
-
this._tabNavBar =
|
|
9941
|
-
this.elementRef =
|
|
9942
|
-
this._focusMonitor =
|
|
9943
|
-
this._router =
|
|
9944
|
-
this._cdr =
|
|
9945
|
-
this._ngZone =
|
|
9946
|
-
this._link =
|
|
9947
|
-
this._linkWithHref =
|
|
9948
|
-
this._linkConfig =
|
|
9949
|
-
|
|
9950
|
-
this.
|
|
9860
|
+
constructor(tabIndex) {
|
|
9861
|
+
this._tabNavBar = inject(NavTabsComponent);
|
|
9862
|
+
this.elementRef = inject(ElementRef);
|
|
9863
|
+
this._focusMonitor = inject(FocusMonitor);
|
|
9864
|
+
this._router = inject(Router);
|
|
9865
|
+
this._cdr = inject(ChangeDetectorRef);
|
|
9866
|
+
this._ngZone = inject(NgZone);
|
|
9867
|
+
this._link = inject(RouterLink, { optional: true });
|
|
9868
|
+
this._linkWithHref = inject(RouterLink, { optional: true });
|
|
9869
|
+
this._linkConfig = inject(RouterLinkActive, { optional: true });
|
|
9870
|
+
// eslint-disable-next-line @angular-eslint/no-input-rename
|
|
9871
|
+
this.tabIndex = 0;
|
|
9872
|
+
this.disabled = false;
|
|
9951
9873
|
this.id = `et-nav-tab-link-${nextUniqueId++}`;
|
|
9952
9874
|
this._haltDisabledEvents = (event) => {
|
|
9953
9875
|
if (this.disabled) {
|
|
@@ -10010,14 +9932,14 @@ class NavTabLinkComponent {
|
|
|
10010
9932
|
_markForCheck() {
|
|
10011
9933
|
this._cdr.markForCheck();
|
|
10012
9934
|
}
|
|
10013
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0
|
|
10014
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.0
|
|
9935
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.0", ngImport: i0, type: NavTabLinkComponent, deps: [{ token: 'tabindex', attribute: true }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
9936
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.0", 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: `
|
|
10015
9937
|
<span class="et-tab-content">
|
|
10016
9938
|
<ng-content />
|
|
10017
9939
|
</span>
|
|
10018
9940
|
`, isInline: true }); }
|
|
10019
9941
|
}
|
|
10020
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0
|
|
9942
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0", ngImport: i0, type: NavTabLinkComponent, decorators: [{
|
|
10021
9943
|
type: Component,
|
|
10022
9944
|
args: [{
|
|
10023
9945
|
selector: '[et-nav-tab-link]',
|
|
@@ -10032,19 +9954,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.5", ngImpor
|
|
|
10032
9954
|
},
|
|
10033
9955
|
hostDirectives: [{ directive: ActiveTabUnderlineDirective, inputs: ['fitUnderlineToContent'] }],
|
|
10034
9956
|
}]
|
|
10035
|
-
}], ctorParameters: function () { return [{ type:
|
|
9957
|
+
}], ctorParameters: function () { return [{ type: undefined, decorators: [{
|
|
10036
9958
|
type: Attribute,
|
|
10037
9959
|
args: ['tabindex']
|
|
10038
|
-
}] }, { type: i1$2.FocusMonitor }, { type: i3.Router }, { type: i0.ChangeDetectorRef }, { type: i0.NgZone }, { type: i3.RouterLink, decorators: [{
|
|
10039
|
-
type: Optional
|
|
10040
|
-
}] }, { type: i3.RouterLink, decorators: [{
|
|
10041
|
-
type: Optional
|
|
10042
|
-
}] }, { type: i3.RouterLinkActive, decorators: [{
|
|
10043
|
-
type: Optional
|
|
10044
9960
|
}] }]; }, propDecorators: { tabIndex: [{
|
|
10045
|
-
type: Input
|
|
9961
|
+
type: Input,
|
|
9962
|
+
args: [{ transform: (v) => numberAttribute(v, 0) }]
|
|
10046
9963
|
}], disabled: [{
|
|
10047
|
-
type: Input
|
|
9964
|
+
type: Input,
|
|
9965
|
+
args: [{ transform: booleanAttribute }]
|
|
10048
9966
|
}], id: [{
|
|
10049
9967
|
type: Input
|
|
10050
9968
|
}, {
|
|
@@ -10083,57 +10001,21 @@ let nextId = 0;
|
|
|
10083
10001
|
class InlineTabChangeEvent {
|
|
10084
10002
|
}
|
|
10085
10003
|
class InlineTabsComponent {
|
|
10086
|
-
|
|
10087
|
-
|
|
10088
|
-
|
|
10089
|
-
|
|
10090
|
-
this.
|
|
10091
|
-
}
|
|
10092
|
-
get contentTabIndex() {
|
|
10093
|
-
return this._contentTabIndex;
|
|
10094
|
-
}
|
|
10095
|
-
set contentTabIndex(value) {
|
|
10096
|
-
this._contentTabIndex = coerceNumberProperty(value, null);
|
|
10097
|
-
}
|
|
10098
|
-
get preserveContent() {
|
|
10099
|
-
return this._preserveContent;
|
|
10100
|
-
}
|
|
10101
|
-
set preserveContent(value) {
|
|
10102
|
-
this._preserveContent = coerceBooleanProperty(value);
|
|
10103
|
-
}
|
|
10104
|
-
get renderMasks() {
|
|
10105
|
-
return this._renderMasks;
|
|
10106
|
-
}
|
|
10107
|
-
set renderMasks(value) {
|
|
10108
|
-
this._renderMasks = coerceBooleanProperty(value);
|
|
10109
|
-
}
|
|
10110
|
-
get renderButtons() {
|
|
10111
|
-
return this._renderButtons;
|
|
10112
|
-
}
|
|
10113
|
-
set renderButtons(value) {
|
|
10114
|
-
this._renderButtons = coerceBooleanProperty(value);
|
|
10115
|
-
}
|
|
10116
|
-
get renderScrollbars() {
|
|
10117
|
-
return this._renderScrollbars;
|
|
10118
|
-
}
|
|
10119
|
-
set renderScrollbars(value) {
|
|
10120
|
-
this._renderScrollbars = coerceBooleanProperty(value);
|
|
10121
|
-
}
|
|
10122
|
-
constructor(_cdr) {
|
|
10123
|
-
this._cdr = _cdr;
|
|
10124
|
-
this._selectedIndex = null;
|
|
10125
|
-
this._contentTabIndex = null;
|
|
10126
|
-
this._preserveContent = false;
|
|
10004
|
+
constructor() {
|
|
10005
|
+
this._cdr = inject(ChangeDetectorRef);
|
|
10006
|
+
this.selectedIndex = null;
|
|
10007
|
+
this.contentTabIndex = null;
|
|
10008
|
+
this.preserveContent = false;
|
|
10127
10009
|
this.itemSize = 'auto';
|
|
10128
|
-
this.
|
|
10129
|
-
this.
|
|
10130
|
-
this.
|
|
10010
|
+
this.renderMasks = true;
|
|
10011
|
+
this.renderButtons = true;
|
|
10012
|
+
this.renderScrollbars = false;
|
|
10131
10013
|
this.selectedIndexChange = new EventEmitter();
|
|
10132
10014
|
this.focusChange = new EventEmitter();
|
|
10133
10015
|
this.selectedTabChange = new EventEmitter(true);
|
|
10016
|
+
this._tabBodyWrapper = null;
|
|
10134
10017
|
this._tabs = new TypedQueryList();
|
|
10135
10018
|
this._groupId = nextId++;
|
|
10136
|
-
this._indexToSelect = 0;
|
|
10137
10019
|
this._lastFocusedTabIndex = null;
|
|
10138
10020
|
this._tabsSubscription = Subscription.EMPTY;
|
|
10139
10021
|
this._tabLabelSubscription = Subscription.EMPTY;
|
|
@@ -10143,13 +10025,13 @@ class InlineTabsComponent {
|
|
|
10143
10025
|
this._subscribeToAllTabChanges();
|
|
10144
10026
|
this._subscribeToTabLabels();
|
|
10145
10027
|
this._tabsSubscription = this._tabs.changes.subscribe(() => {
|
|
10146
|
-
const indexToSelect = this._clampTabIndex(this.
|
|
10147
|
-
if (indexToSelect === this.
|
|
10028
|
+
const indexToSelect = this._clampTabIndex(this.selectedIndex);
|
|
10029
|
+
if (indexToSelect === this.selectedIndex) {
|
|
10148
10030
|
const tabs = this._tabs.toArray();
|
|
10149
10031
|
let selectedTab;
|
|
10150
10032
|
for (let i = 0; i < tabs.length; i++) {
|
|
10151
10033
|
if (tabs[i]?.isActive) {
|
|
10152
|
-
this.
|
|
10034
|
+
this.selectedIndex = i;
|
|
10153
10035
|
this._lastFocusedTabIndex = null;
|
|
10154
10036
|
selectedTab = tabs[i];
|
|
10155
10037
|
break;
|
|
@@ -10169,12 +10051,12 @@ class InlineTabsComponent {
|
|
|
10169
10051
|
});
|
|
10170
10052
|
}
|
|
10171
10053
|
ngAfterContentChecked() {
|
|
10172
|
-
const indexToSelect = (this.
|
|
10173
|
-
if (this.
|
|
10174
|
-
const isFirstRun = this.
|
|
10054
|
+
const indexToSelect = (this.selectedIndex = this._clampTabIndex(this.selectedIndex));
|
|
10055
|
+
if (this.selectedIndex != indexToSelect && this._tabBodyWrapper) {
|
|
10056
|
+
const isFirstRun = this.selectedIndex == null;
|
|
10175
10057
|
if (!isFirstRun) {
|
|
10176
10058
|
this.selectedTabChange.emit(this._createChangeEvent(indexToSelect));
|
|
10177
|
-
const wrapper = this._tabBodyWrapper
|
|
10059
|
+
const wrapper = this._tabBodyWrapper?.nativeElement;
|
|
10178
10060
|
wrapper.style.minHeight = wrapper.clientHeight + 'px';
|
|
10179
10061
|
}
|
|
10180
10062
|
Promise.resolve().then(() => {
|
|
@@ -10183,7 +10065,9 @@ class InlineTabsComponent {
|
|
|
10183
10065
|
.forEach((tab, index) => (tab.isActive = index === indexToSelect));
|
|
10184
10066
|
if (!isFirstRun) {
|
|
10185
10067
|
this.selectedIndexChange.emit(indexToSelect);
|
|
10186
|
-
this._tabBodyWrapper
|
|
10068
|
+
if (this._tabBodyWrapper) {
|
|
10069
|
+
this._tabBodyWrapper.nativeElement.style.minHeight = '';
|
|
10070
|
+
}
|
|
10187
10071
|
}
|
|
10188
10072
|
});
|
|
10189
10073
|
}
|
|
@@ -10191,12 +10075,12 @@ class InlineTabsComponent {
|
|
|
10191
10075
|
if (!tab)
|
|
10192
10076
|
return;
|
|
10193
10077
|
tab.position = index - indexToSelect;
|
|
10194
|
-
if (this.
|
|
10195
|
-
tab.origin = indexToSelect - this.
|
|
10078
|
+
if (this.selectedIndex != null && tab.position == 0 && !tab.origin) {
|
|
10079
|
+
tab.origin = indexToSelect - this.selectedIndex;
|
|
10196
10080
|
}
|
|
10197
10081
|
});
|
|
10198
|
-
if (this.
|
|
10199
|
-
this.
|
|
10082
|
+
if (this.selectedIndex !== indexToSelect) {
|
|
10083
|
+
this.selectedIndex = indexToSelect;
|
|
10200
10084
|
this._lastFocusedTabIndex = null;
|
|
10201
10085
|
this._cdr.markForCheck();
|
|
10202
10086
|
}
|
|
@@ -10279,15 +10163,15 @@ class InlineTabsComponent {
|
|
|
10279
10163
|
}
|
|
10280
10164
|
return event;
|
|
10281
10165
|
}
|
|
10282
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0
|
|
10283
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.0
|
|
10166
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.0", ngImport: i0, type: InlineTabsComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
10167
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.0", 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: [
|
|
10284
10168
|
{
|
|
10285
10169
|
provide: TAB_GROUP,
|
|
10286
10170
|
useExisting: InlineTabsComponent,
|
|
10287
10171
|
},
|
|
10288
10172
|
], 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 }); }
|
|
10289
10173
|
}
|
|
10290
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0
|
|
10174
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0", ngImport: i0, type: InlineTabsComponent, decorators: [{
|
|
10291
10175
|
type: Component,
|
|
10292
10176
|
args: [{ selector: 'et-inline-tabs', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.Default, providers: [
|
|
10293
10177
|
{
|
|
@@ -10306,12 +10190,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.5", ngImpor
|
|
|
10306
10190
|
], host: {
|
|
10307
10191
|
class: 'et-inline-tabs',
|
|
10308
10192
|
}, 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"] }]
|
|
10309
|
-
}],
|
|
10310
|
-
type: Input
|
|
10193
|
+
}], propDecorators: { selectedIndex: [{
|
|
10194
|
+
type: Input,
|
|
10195
|
+
args: [{ transform: numberAttribute }]
|
|
10311
10196
|
}], contentTabIndex: [{
|
|
10312
|
-
type: Input
|
|
10197
|
+
type: Input,
|
|
10198
|
+
args: [{ transform: numberAttribute }]
|
|
10313
10199
|
}], preserveContent: [{
|
|
10314
|
-
type: Input
|
|
10200
|
+
type: Input,
|
|
10201
|
+
args: [{ transform: booleanAttribute }]
|
|
10315
10202
|
}], tabHeaderClasses: [{
|
|
10316
10203
|
type: Input
|
|
10317
10204
|
}], itemSize: [{
|
|
@@ -10319,11 +10206,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.5", ngImpor
|
|
|
10319
10206
|
}], scrollableClass: [{
|
|
10320
10207
|
type: Input
|
|
10321
10208
|
}], renderMasks: [{
|
|
10322
|
-
type: Input
|
|
10209
|
+
type: Input,
|
|
10210
|
+
args: [{ transform: booleanAttribute }]
|
|
10323
10211
|
}], renderButtons: [{
|
|
10324
|
-
type: Input
|
|
10212
|
+
type: Input,
|
|
10213
|
+
args: [{ transform: booleanAttribute }]
|
|
10325
10214
|
}], renderScrollbars: [{
|
|
10326
|
-
type: Input
|
|
10215
|
+
type: Input,
|
|
10216
|
+
args: [{ transform: booleanAttribute }]
|
|
10327
10217
|
}], selectedIndexChange: [{
|
|
10328
10218
|
type: Output
|
|
10329
10219
|
}], focusChange: [{
|