@ethlete/cdk 2.3.1 → 2.3.2
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 +6 -0
- package/esm2022/lib/components/accordion/components/accordion/accordion.component.mjs +87 -0
- package/esm2022/lib/components/accordion/components/accordion-group/accordion-group.component.mjs +60 -0
- package/esm2022/lib/components/accordion/partials/accordion-hint/accordion-hint.directive.mjs +18 -0
- package/esm2022/lib/components/accordion/partials/accordion-hint-wrapper/accordion-hint-wrapper.directive.mjs +21 -0
- package/esm2022/lib/components/accordion/partials/accordion-label/accordion-label.directive.mjs +18 -0
- package/esm2022/lib/components/accordion/partials/accordion-label-wrapper/accordion-label-wrapper.directive.mjs +21 -0
- package/esm2022/lib/components/bracket/components/bracket/bracket.component.mjs +343 -0
- package/esm2022/lib/components/bracket/directives/bracket-match/bracket-match.directive.mjs +20 -0
- package/esm2022/lib/components/bracket/directives/bracket-round/bracket-round.directive.mjs +20 -0
- package/esm2022/lib/components/bracket/partials/bracket-match/bracket-match.component.mjs +20 -0
- package/esm2022/lib/components/bracket/partials/bracket-round-header/bracket-round-header.component.mjs +20 -0
- package/esm2022/lib/components/button/components/button/button.component.mjs +19 -0
- package/esm2022/lib/components/button/components/query-button/query-button.component.mjs +26 -0
- package/esm2022/lib/components/button/directives/button/button.directive.mjs +84 -0
- package/esm2022/lib/components/button/directives/query-button/query-button.directive.mjs +111 -0
- package/esm2022/lib/components/forms/components/checkbox/checkbox.imports.mjs +11 -0
- package/{esm2020 → esm2022}/lib/components/forms/components/checkbox/components/checkbox/checkbox.component.mjs +6 -5
- package/esm2022/lib/components/forms/components/checkbox/components/checkbox-field/checkbox-field.component.mjs +55 -0
- package/esm2022/lib/components/forms/components/checkbox/components/checkbox-group/checkbox-group.component.mjs +19 -0
- package/esm2022/lib/components/forms/components/checkbox/directives/checkbox/checkbox.directive.mjs +45 -0
- package/esm2022/lib/components/forms/components/checkbox/directives/checkbox-field/checkbox-field.directive.mjs +37 -0
- package/esm2022/lib/components/forms/components/checkbox/directives/checkbox-group/checkbox-group.directive.mjs +84 -0
- package/esm2022/lib/components/forms/components/checkbox/directives/checkbox-group-control/checkbox-group-control.directive.mjs +39 -0
- package/esm2022/lib/components/forms/components/error/components/error/error.component.mjs +57 -0
- package/esm2022/lib/components/forms/components/input/components/email-input/email-input.component.mjs +25 -0
- package/esm2022/lib/components/forms/components/input/components/input-field/input-field.component.mjs +58 -0
- package/esm2022/lib/components/forms/components/input/components/number-input/number-input.component.mjs +25 -0
- package/esm2022/lib/components/forms/components/input/components/password-input/password-input.component.mjs +25 -0
- package/esm2022/lib/components/forms/components/input/components/search-input/search-input.component.mjs +25 -0
- package/esm2022/lib/components/forms/components/input/components/text-input/text-input.component.mjs +25 -0
- package/esm2022/lib/components/forms/components/input/components/textarea-input/textarea-input.component.mjs +44 -0
- package/esm2022/lib/components/forms/components/input/directives/autosize-textarea/autosize-textarea.directive.mjs +53 -0
- package/esm2022/lib/components/forms/components/input/directives/email-input/email-input.directive.mjs +51 -0
- package/esm2022/lib/components/forms/components/input/directives/number-input/number-input.directive.mjs +52 -0
- package/esm2022/lib/components/forms/components/input/directives/password-input/password-input.directive.mjs +55 -0
- package/esm2022/lib/components/forms/components/input/directives/search-input/search-input.directive.mjs +55 -0
- package/esm2022/lib/components/forms/components/input/directives/text-input/text-input.directive.mjs +51 -0
- package/esm2022/lib/components/forms/components/input/directives/textarea-input/textarea-input.directive.mjs +51 -0
- package/{esm2020 → esm2022}/lib/components/forms/components/input/input.imports.mjs +3 -1
- package/esm2022/lib/components/forms/components/input/partials/password-input-toggle/password-input-toggle.component.mjs +23 -0
- package/esm2022/lib/components/forms/components/input/partials/search-input-clear/search-input-clear.component.mjs +23 -0
- package/esm2022/lib/components/forms/components/label/components/label/label.component.mjs +52 -0
- package/esm2022/lib/components/forms/components/label/directives/label-suffix/label-suffix.directive.mjs +34 -0
- package/esm2022/lib/components/forms/components/label/index.mjs +2 -0
- package/esm2022/lib/components/forms/components/radio/components/radio/radio.component.mjs +28 -0
- package/esm2022/lib/components/forms/components/radio/components/radio-field/radio-field.component.mjs +36 -0
- package/esm2022/lib/components/forms/components/radio/components/radio-group/radio-group.component.mjs +44 -0
- package/esm2022/lib/components/forms/components/radio/directives/radio/radio.directive.mjs +64 -0
- package/esm2022/lib/components/forms/components/radio/directives/radio-field/radio-field.directive.mjs +41 -0
- package/esm2022/lib/components/forms/components/radio/directives/radio-group/radio-group.directive.mjs +37 -0
- package/esm2022/lib/components/forms/components/radio/radio.imports.mjs +4 -0
- package/esm2022/lib/components/forms/components/segmented-button/components/segmented-button/segmented-button.component.mjs +38 -0
- package/esm2022/lib/components/forms/components/segmented-button/components/segmented-button-field/segmented-button-field.component.mjs +26 -0
- package/{esm2020 → esm2022}/lib/components/forms/components/segmented-button/components/segmented-button-group/segmented-button-group.component.mjs +8 -7
- package/esm2022/lib/components/forms/components/segmented-button/directives/segmented-button/segmented-button.directive.mjs +74 -0
- package/esm2022/lib/components/forms/components/segmented-button/directives/segmented-button-field/segmented-button-field.directive.mjs +41 -0
- package/esm2022/lib/components/forms/components/segmented-button/directives/segmented-button-group/segmented-button-group.directive.mjs +69 -0
- package/esm2022/lib/components/forms/components/select/components/native-select/components/index.mjs +2 -0
- package/esm2022/lib/components/forms/components/select/components/native-select/components/native-select/native-select.component.mjs +25 -0
- package/esm2022/lib/components/forms/components/select/components/native-select/components/native-select/public-api.mjs +2 -0
- package/esm2022/lib/components/forms/components/select/components/native-select/components/public-api.mjs +2 -0
- package/esm2022/lib/components/forms/components/select/components/native-select/directives/index.mjs +2 -0
- package/esm2022/lib/components/forms/components/select/components/native-select/directives/native-select-input/native-select-input.directive.mjs +59 -0
- package/esm2022/lib/components/forms/components/select/components/native-select/directives/native-select-input/public-api.mjs +2 -0
- package/esm2022/lib/components/forms/components/select/components/native-select/directives/native-select-option/index.mjs +2 -0
- package/esm2022/lib/components/forms/components/select/components/native-select/directives/native-select-option/native-select-option.directive.mjs +57 -0
- package/esm2022/lib/components/forms/components/select/components/native-select/directives/native-select-option/public-api.mjs +2 -0
- package/esm2022/lib/components/forms/components/select/components/native-select/directives/public-api.mjs +3 -0
- package/esm2022/lib/components/forms/components/select/components/native-select/native-select.imports.mjs +17 -0
- package/esm2022/lib/components/forms/components/select/components/native-select/partials/index.mjs +2 -0
- package/esm2022/lib/components/forms/components/select/components/native-select/partials/native-select-option/native-select-option.component.mjs +33 -0
- package/esm2022/lib/components/forms/components/select/components/native-select/partials/native-select-option/public-api.mjs +2 -0
- package/esm2022/lib/components/forms/components/select/components/native-select/partials/public-api.mjs +2 -0
- package/esm2022/lib/components/forms/components/select/components/native-select/public-api.mjs +6 -0
- package/esm2022/lib/components/forms/components/select/components/native-select/types/index.mjs +2 -0
- package/esm2022/lib/components/forms/components/select/components/native-select/types/public-api.mjs +2 -0
- package/esm2022/lib/components/forms/components/select/components/native-select/types/select.types.mjs +2 -0
- package/{esm2020 → esm2022}/lib/components/forms/components/select/components/public-api.mjs +2 -2
- package/esm2022/lib/components/forms/components/select/components/select/components/index.mjs +2 -0
- package/esm2022/lib/components/forms/components/select/components/select/components/public-api.mjs +2 -0
- package/esm2022/lib/components/forms/components/select/components/select/components/select/public-api.mjs +2 -0
- package/esm2022/lib/components/forms/components/select/components/select/components/select/select.component.mjs +37 -0
- package/esm2022/lib/components/forms/components/select/components/select/partials/index.mjs +2 -0
- package/esm2022/lib/components/forms/components/select/components/select/partials/public-api.mjs +4 -0
- package/esm2022/lib/components/forms/components/select/components/select/partials/select-body/public-api.mjs +2 -0
- package/esm2022/lib/components/forms/components/select/components/select/partials/select-body/select-body.component.mjs +23 -0
- package/esm2022/lib/components/forms/components/select/components/select/partials/select-option/public-api.mjs +2 -0
- package/esm2022/lib/components/forms/components/select/components/select/partials/select-option/select-option.component.mjs +23 -0
- package/esm2022/lib/components/forms/components/select/components/select/partials/tree-select-option/public-api.mjs +2 -0
- package/esm2022/lib/components/forms/components/select/components/select/partials/tree-select-option/tree-select-option.component.mjs +23 -0
- package/esm2022/lib/components/forms/components/select/components/select/public-api.mjs +4 -0
- package/esm2022/lib/components/forms/components/select/components/select/select.imports.mjs +15 -0
- package/esm2022/lib/components/forms/components/select/components/select-field/index.mjs +2 -0
- package/esm2022/lib/components/forms/components/select/components/select-field/select-field.component.mjs +54 -0
- package/esm2022/lib/components/forms/components/select/public-api.mjs +2 -0
- package/esm2022/lib/components/forms/components/slide-toggle/components/slide-toggle/slide-toggle.component.mjs +24 -0
- package/esm2022/lib/components/forms/components/slide-toggle/components/slide-toggle-field/slide-toggle-field.component.mjs +52 -0
- package/esm2022/lib/components/forms/components/slide-toggle/directives/slide-toggle/slide-toggle.directive.mjs +41 -0
- package/esm2022/lib/components/forms/components/slide-toggle/slide-toggle.imports.mjs +4 -0
- package/esm2022/lib/components/forms/components/slider/components/slider/slider.component.mjs +343 -0
- package/esm2022/lib/components/forms/components/slider/components/slider-field/slider-field.component.mjs +52 -0
- package/esm2022/lib/components/forms/components/slider/slider.imports.mjs +4 -0
- package/esm2022/lib/components/forms/directives/dynamic-form-field/dynamic-form-field.directive.mjs +43 -0
- package/esm2022/lib/components/forms/directives/dynamic-form-group/dynamic-form-group.directive.mjs +43 -0
- package/esm2022/lib/components/forms/directives/if-input-empty/if-input-empty.directive.mjs +42 -0
- package/esm2022/lib/components/forms/directives/if-input-filled/if-input-filled.directive.mjs +42 -0
- package/esm2022/lib/components/forms/directives/input/input.directive.mjs +234 -0
- package/esm2022/lib/components/forms/directives/input-prefix/input-prefix.directive.mjs +31 -0
- package/esm2022/lib/components/forms/directives/input-suffix/input-suffix.directive.mjs +31 -0
- package/esm2022/lib/components/forms/directives/native-input-ref/native-input-ref.directive.mjs +20 -0
- package/esm2022/lib/components/forms/directives/static-form-field/static-form-field.directive.mjs +79 -0
- package/esm2022/lib/components/forms/directives/static-form-group/static-form-group.directive.mjs +30 -0
- package/esm2022/lib/components/forms/directives/writeable-input/writeable-input.directive.mjs +72 -0
- package/esm2022/lib/components/forms/services/default-validator-errors.service.mjs +52 -0
- package/esm2022/lib/components/forms/services/form-field-state.service.mjs +25 -0
- package/esm2022/lib/components/forms/services/form-group-state.service.mjs +22 -0
- package/esm2022/lib/components/forms/services/input-state.service.mjs +36 -0
- package/esm2022/lib/components/forms/utils/decorated-form-field.base.mjs +23 -0
- package/esm2022/lib/components/forms/utils/decorated-input.base.mjs +45 -0
- package/esm2022/lib/components/forms/utils/input.base.mjs +21 -0
- package/esm2022/lib/components/icons/chevron-icon/chevron-icon.component.mjs +37 -0
- package/esm2022/lib/components/masonry/components/masonry/masonry.component.mjs +205 -0
- package/esm2022/lib/components/masonry/partials/masonry-item/masonry-item.component.mjs +75 -0
- package/esm2022/lib/components/overlay/components/bottom-sheet/components/bottom-sheet-container/bottom-sheet-container.component.mjs +52 -0
- package/esm2022/lib/components/overlay/components/bottom-sheet/partials/bottom-sheet-container-base/bottom-sheet-container-base.component.mjs +44 -0
- package/esm2022/lib/components/overlay/components/bottom-sheet/partials/bottom-sheet-drag-handle/bottom-sheet-drag-handle.component.mjs +104 -0
- package/esm2022/lib/components/overlay/components/bottom-sheet/partials/bottom-sheet-title/bottom-sheet-title.directive.mjs +50 -0
- package/esm2022/lib/components/overlay/components/bottom-sheet/services/bottom-sheet-base.service.mjs +114 -0
- package/esm2022/lib/components/overlay/components/bottom-sheet/services/bottom-sheet-swipe-handler.service.mjs +49 -0
- package/esm2022/lib/components/overlay/components/bottom-sheet/services/bottom-sheet.service.mjs +32 -0
- package/esm2022/lib/components/overlay/components/dialog/components/dialog-container/dialog-container.component.mjs +52 -0
- package/esm2022/lib/components/overlay/components/dialog/partials/dialog-close/dialog-close.directive.mjs +65 -0
- package/esm2022/lib/components/overlay/components/dialog/partials/dialog-container-base/dialog-container-base.component.mjs +44 -0
- package/esm2022/lib/components/overlay/components/dialog/partials/dialog-title/dialog-title.directive.mjs +50 -0
- package/esm2022/lib/components/overlay/components/dialog/services/dialog-base.service.mjs +110 -0
- package/esm2022/lib/components/overlay/components/dialog/services/dialog.service.mjs +32 -0
- package/{esm2020 → esm2022}/lib/components/overlay/components/dialog/utils/dialog-ref.mjs +2 -2
- package/esm2022/lib/components/overlay/components/toggletip/components/toggletip/toggletip.component.mjs +63 -0
- package/esm2022/lib/components/overlay/components/toggletip/directives/toggletip/toggletip.directive.mjs +197 -0
- package/esm2022/lib/components/overlay/components/tooltip/components/tooltip/tooltip.component.mjs +61 -0
- package/esm2022/lib/components/overlay/components/tooltip/directives/tooltip/tooltip.directive.mjs +241 -0
- package/esm2022/lib/components/overlay/services/dynamic-overlay.service.mjs +30 -0
- package/esm2022/lib/components/pagination/components/pagination/pagination.component.mjs +106 -0
- package/esm2022/lib/components/pagination/partials/pagination-link/pagination-link.directive.mjs +33 -0
- package/esm2022/lib/components/pagination/services/pagination-head.service.mjs +60 -0
- package/esm2022/lib/components/picture/picture-data.directive.mjs +56 -0
- package/esm2022/lib/components/picture/picture.component.mjs +41 -0
- package/esm2022/lib/components/progress-spinner/progress-spinner.component.mjs +106 -0
- package/esm2022/lib/components/scrollable/components/scrollable/scrollable.component.mjs +130 -0
- package/{esm2020 → esm2022}/lib/components/skeleton/components/skeleton/skeleton.component.mjs +6 -5
- package/esm2022/lib/components/skeleton/partials/skeleton-item/skeleton-item.component.mjs +20 -0
- package/esm2022/lib/components/sort/components/sort-header/sort-header.component.mjs +225 -0
- package/esm2022/lib/components/sort/partials/sort/sort.directive.mjs +158 -0
- package/esm2022/lib/components/sort/services/sort-header-intl.mjs +24 -0
- package/esm2022/lib/components/table/components/table/table.component.mjs +142 -0
- package/esm2022/lib/components/table/partials/cells/cell/cell.directive.mjs +19 -0
- package/esm2022/lib/components/table/partials/cells/cell-def/cell-def.directive.mjs +17 -0
- package/esm2022/lib/components/table/partials/cells/column-def/column-def.directive.mjs +45 -0
- package/esm2022/lib/components/table/partials/cells/footer-cell/footer-cell.directive.mjs +19 -0
- package/esm2022/lib/components/table/partials/cells/footer-cell-def/footer-cell-def.directive.mjs +17 -0
- package/esm2022/lib/components/table/partials/cells/header-cell/header-cell.directive.mjs +20 -0
- package/esm2022/lib/components/table/partials/cells/header-cell-def/header-cell-def.directive.mjs +17 -0
- package/{esm2020 → esm2022}/lib/components/table/partials/cells/text-column/text-column.component.mjs +8 -7
- package/esm2022/lib/components/table/partials/rows/footer-row/footer-row.component.mjs +27 -0
- package/esm2022/lib/components/table/partials/rows/footer-row-def/footer-row-def.directive.mjs +27 -0
- package/esm2022/lib/components/table/partials/rows/header-row/header-row.component.mjs +27 -0
- package/esm2022/lib/components/table/partials/rows/header-row-def/header-row-def.directive.mjs +27 -0
- package/esm2022/lib/components/table/partials/rows/no-data-row/no-data-row.directive.mjs +21 -0
- package/esm2022/lib/components/table/partials/rows/recycle-rows/recycle-rows.directive.mjs +17 -0
- package/esm2022/lib/components/table/partials/rows/row/row.component.mjs +27 -0
- package/esm2022/lib/components/table/partials/rows/row-def/row-def.directive.mjs +27 -0
- package/esm2022/lib/components/table/partials/table-busy/table-busy.directive.mjs +19 -0
- package/esm2022/lib/components/table/partials/table-busy-outlet/table-busy-outlet.directive.mjs +16 -0
- package/esm2022/lib/components/tabs/components/inline-tabs/inline-tabs.component.mjs +274 -0
- package/esm2022/lib/components/tabs/components/nav-tabs/nav-tabs.component.mjs +91 -0
- package/esm2022/lib/components/tabs/partials/inline-tabs/inline-tab/inline-tab.component.mjs +101 -0
- package/esm2022/lib/components/tabs/partials/inline-tabs/inline-tab-body/inline-tab-body.component.mjs +136 -0
- package/esm2022/lib/components/tabs/partials/inline-tabs/inline-tab-body-host/inline-tab-body-host.directive.mjs +26 -0
- package/esm2022/lib/components/tabs/partials/inline-tabs/inline-tab-content/inline-tab-content.directive.mjs +23 -0
- package/esm2022/lib/components/tabs/partials/inline-tabs/inline-tab-header/inline-tab-header.component.mjs +44 -0
- package/esm2022/lib/components/tabs/partials/inline-tabs/inline-tab-label/inline-tab-label.directive.mjs +31 -0
- package/esm2022/lib/components/tabs/partials/inline-tabs/inline-tab-label-wrapper/inline-tab-label-wrapper.directive.mjs +49 -0
- package/esm2022/lib/components/tabs/partials/nav-tabs/nav-tab-link/nav-tab-link.directive.mjs +204 -0
- package/esm2022/lib/components/tabs/partials/nav-tabs/nav-tabs-outlet/nav-tabs-outlet.component.mjs +38 -0
- package/esm2022/lib/components/tabs/utils/active-tab-underline.util.mjs +112 -0
- package/esm2022/lib/components/tabs/utils/paginated-tab-header.directive.mjs +285 -0
- package/esm2022/lib/services/swipe-handler.service.mjs +89 -0
- package/{fesm2020 → fesm2022}/ethlete-cdk.mjs +865 -735
- package/fesm2022/ethlete-cdk.mjs.map +1 -0
- package/lib/components/accordion/components/accordion/accordion.component.d.ts +1 -1
- package/lib/components/accordion/components/accordion-group/accordion-group.component.d.ts +1 -1
- package/lib/components/bracket/components/bracket/bracket.component.d.ts +1 -1
- package/lib/components/button/directives/button/button.directive.d.ts +1 -1
- package/lib/components/button/directives/query-button/query-button.directive.d.ts +1 -1
- package/lib/components/forms/components/checkbox/checkbox.imports.d.ts +2 -1
- package/lib/components/forms/components/error/components/error/error.component.d.ts +1 -1
- package/lib/components/forms/components/input/components/textarea-input/textarea-input.component.d.ts +1 -1
- package/lib/components/forms/components/input/input.imports.d.ts +2 -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/directives/label-suffix/label-suffix.directive.d.ts +1 -1
- package/lib/components/forms/components/radio/directives/radio/radio.directive.d.ts +1 -1
- package/lib/components/forms/components/radio/radio.imports.d.ts +2 -1
- package/lib/components/forms/components/segmented-button/directives/segmented-button/segmented-button.directive.d.ts +1 -1
- package/lib/components/forms/components/select/components/native-select/{native-select.component.d.ts → components/native-select/native-select.component.d.ts} +4 -4
- package/lib/components/forms/components/select/components/native-select/components/native-select/public-api.d.ts +1 -0
- package/lib/components/forms/components/select/components/native-select/components/public-api.d.ts +1 -0
- package/lib/components/forms/components/select/{directives → 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/index.d.ts +1 -0
- package/lib/components/forms/components/select/{directives → components/native-select/directives}/native-select-option/native-select-option.directive.d.ts +1 -1
- package/lib/components/forms/components/select/{native-select.imports.d.ts → components/native-select/native-select.imports.d.ts} +6 -3
- package/lib/components/forms/components/select/components/native-select/partials/index.d.ts +1 -0
- package/lib/components/forms/components/select/components/native-select/partials/public-api.d.ts +1 -0
- package/lib/components/forms/components/select/components/native-select/public-api.d.ts +5 -1
- package/lib/components/forms/components/select/components/native-select/types/index.d.ts +1 -0
- package/lib/components/forms/components/select/components/public-api.d.ts +1 -1
- package/lib/components/forms/components/select/components/select/components/index.d.ts +1 -0
- package/lib/components/forms/components/select/components/select/components/public-api.d.ts +1 -0
- package/lib/components/forms/components/select/components/select/components/select/public-api.d.ts +1 -0
- package/lib/components/forms/components/select/components/select/components/select/select.component.d.ts +13 -0
- package/lib/components/forms/components/select/components/select/partials/index.d.ts +1 -0
- package/lib/components/forms/components/select/components/select/partials/public-api.d.ts +3 -0
- package/lib/components/forms/components/select/components/select/partials/select-body/public-api.d.ts +1 -0
- package/lib/components/forms/components/select/components/select/partials/select-body/select-body.component.d.ts +5 -0
- package/lib/components/forms/components/select/components/select/partials/select-option/public-api.d.ts +1 -0
- package/lib/components/forms/components/select/components/select/partials/select-option/select-option.component.d.ts +5 -0
- package/lib/components/forms/components/select/components/select/partials/tree-select-option/public-api.d.ts +1 -0
- package/lib/components/forms/components/select/components/select/partials/tree-select-option/tree-select-option.component.d.ts +5 -0
- package/lib/components/forms/components/select/components/select/public-api.d.ts +3 -0
- package/lib/components/forms/components/select/components/select/select.imports.d.ts +6 -0
- package/lib/components/forms/components/select/components/select-field/index.d.ts +1 -0
- package/lib/components/forms/components/select/components/select-field/select-field.component.d.ts +1 -1
- package/lib/components/forms/components/select/public-api.d.ts +0 -3
- package/lib/components/forms/components/slide-toggle/slide-toggle.imports.d.ts +2 -1
- package/lib/components/forms/components/slider/components/slider/slider.component.d.ts +1 -1
- package/lib/components/forms/components/slider/slider.imports.d.ts +2 -1
- package/lib/components/forms/directives/dynamic-form-field/dynamic-form-field.directive.d.ts +1 -1
- package/lib/components/forms/directives/dynamic-form-group/dynamic-form-group.directive.d.ts +1 -1
- package/lib/components/forms/directives/input/input.directive.d.ts +1 -1
- package/lib/components/masonry/components/masonry/masonry.component.d.ts +1 -1
- package/lib/components/masonry/partials/masonry-item/masonry-item.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/dialog/partials/dialog-close/dialog-close.directive.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/toggletip/directives/toggletip/toggletip.directive.d.ts +1 -1
- package/lib/components/overlay/components/tooltip/directives/tooltip/tooltip.directive.d.ts +1 -1
- package/lib/components/pagination/components/pagination/pagination.component.d.ts +1 -1
- package/lib/components/pagination/partials/pagination-link/pagination-link.directive.d.ts +1 -1
- package/lib/components/picture/picture-data.directive.d.ts +1 -1
- package/lib/components/picture/picture.component.d.ts +1 -1
- package/lib/components/progress-spinner/progress-spinner.component.d.ts +1 -1
- package/lib/components/scrollable/components/scrollable/scrollable.component.d.ts +1 -1
- package/lib/components/skeleton/components/skeleton/skeleton.component.d.ts +1 -1
- package/lib/components/sort/components/sort-header/sort-header.component.d.ts +1 -1
- package/lib/components/sort/partials/sort/sort.directive.d.ts +1 -1
- package/lib/components/table/components/table/table.component.d.ts +1 -1
- package/lib/components/table/partials/cells/column-def/column-def.directive.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-def/header-row-def.directive.d.ts +1 -1
- package/lib/components/table/partials/rows/row-def/row-def.directive.d.ts +1 -1
- package/lib/components/tabs/components/inline-tabs/inline-tabs.component.d.ts +1 -1
- package/lib/components/tabs/components/nav-tabs/nav-tabs.component.d.ts +1 -1
- package/lib/components/tabs/partials/inline-tabs/inline-tab/inline-tab.component.d.ts +1 -1
- package/lib/components/tabs/partials/inline-tabs/inline-tab-body/inline-tab-body.component.d.ts +1 -1
- package/lib/components/tabs/partials/inline-tabs/inline-tab-label-wrapper/inline-tab-label-wrapper.directive.d.ts +1 -1
- package/lib/components/tabs/partials/nav-tabs/nav-tab-link/nav-tab-link.directive.d.ts +1 -1
- 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 +1 -1
- package/lib/components/tabs/utils/paginated-tab-header.directive.d.ts +1 -1
- package/package.json +11 -17
- package/esm2020/lib/components/accordion/components/accordion/accordion.component.mjs +0 -86
- package/esm2020/lib/components/accordion/components/accordion-group/accordion-group.component.mjs +0 -53
- package/esm2020/lib/components/accordion/partials/accordion-hint/accordion-hint.directive.mjs +0 -17
- package/esm2020/lib/components/accordion/partials/accordion-hint-wrapper/accordion-hint-wrapper.directive.mjs +0 -20
- package/esm2020/lib/components/accordion/partials/accordion-label/accordion-label.directive.mjs +0 -17
- package/esm2020/lib/components/accordion/partials/accordion-label-wrapper/accordion-label-wrapper.directive.mjs +0 -20
- package/esm2020/lib/components/bracket/components/bracket/bracket.component.mjs +0 -342
- package/esm2020/lib/components/bracket/directives/bracket-match/bracket-match.directive.mjs +0 -19
- package/esm2020/lib/components/bracket/directives/bracket-round/bracket-round.directive.mjs +0 -19
- package/esm2020/lib/components/bracket/partials/bracket-match/bracket-match.component.mjs +0 -19
- package/esm2020/lib/components/bracket/partials/bracket-round-header/bracket-round-header.component.mjs +0 -19
- package/esm2020/lib/components/button/components/button/button.component.mjs +0 -18
- package/esm2020/lib/components/button/components/query-button/query-button.component.mjs +0 -25
- package/esm2020/lib/components/button/directives/button/button.directive.mjs +0 -83
- package/esm2020/lib/components/button/directives/query-button/query-button.directive.mjs +0 -110
- package/esm2020/lib/components/forms/components/checkbox/checkbox.imports.mjs +0 -9
- package/esm2020/lib/components/forms/components/checkbox/components/checkbox-field/checkbox-field.component.mjs +0 -54
- package/esm2020/lib/components/forms/components/checkbox/components/checkbox-group/checkbox-group.component.mjs +0 -18
- package/esm2020/lib/components/forms/components/checkbox/directives/checkbox/checkbox.directive.mjs +0 -44
- package/esm2020/lib/components/forms/components/checkbox/directives/checkbox-field/checkbox-field.directive.mjs +0 -36
- package/esm2020/lib/components/forms/components/checkbox/directives/checkbox-group/checkbox-group.directive.mjs +0 -80
- package/esm2020/lib/components/forms/components/checkbox/directives/checkbox-group-control/checkbox-group-control.directive.mjs +0 -38
- package/esm2020/lib/components/forms/components/error/components/error/error.component.mjs +0 -56
- package/esm2020/lib/components/forms/components/input/components/email-input/email-input.component.mjs +0 -24
- package/esm2020/lib/components/forms/components/input/components/input-field/input-field.component.mjs +0 -57
- package/esm2020/lib/components/forms/components/input/components/number-input/number-input.component.mjs +0 -24
- package/esm2020/lib/components/forms/components/input/components/password-input/password-input.component.mjs +0 -24
- package/esm2020/lib/components/forms/components/input/components/search-input/search-input.component.mjs +0 -24
- package/esm2020/lib/components/forms/components/input/components/text-input/text-input.component.mjs +0 -24
- package/esm2020/lib/components/forms/components/input/components/textarea-input/textarea-input.component.mjs +0 -43
- package/esm2020/lib/components/forms/components/input/directives/autosize-textarea/autosize-textarea.directive.mjs +0 -52
- package/esm2020/lib/components/forms/components/input/directives/email-input/email-input.directive.mjs +0 -50
- package/esm2020/lib/components/forms/components/input/directives/number-input/number-input.directive.mjs +0 -51
- package/esm2020/lib/components/forms/components/input/directives/password-input/password-input.directive.mjs +0 -54
- package/esm2020/lib/components/forms/components/input/directives/search-input/search-input.directive.mjs +0 -54
- package/esm2020/lib/components/forms/components/input/directives/text-input/text-input.directive.mjs +0 -50
- package/esm2020/lib/components/forms/components/input/directives/textarea-input/textarea-input.directive.mjs +0 -50
- package/esm2020/lib/components/forms/components/input/partials/password-input-toggle/password-input-toggle.component.mjs +0 -22
- package/esm2020/lib/components/forms/components/input/partials/search-input-clear/search-input-clear.component.mjs +0 -22
- package/esm2020/lib/components/forms/components/label/components/label/label.component.mjs +0 -51
- package/esm2020/lib/components/forms/components/label/directives/label-suffix/label-suffix.directive.mjs +0 -33
- package/esm2020/lib/components/forms/components/radio/components/radio/radio.component.mjs +0 -27
- package/esm2020/lib/components/forms/components/radio/components/radio-field/radio-field.component.mjs +0 -35
- package/esm2020/lib/components/forms/components/radio/components/radio-group/radio-group.component.mjs +0 -43
- package/esm2020/lib/components/forms/components/radio/directives/radio/radio.directive.mjs +0 -63
- package/esm2020/lib/components/forms/components/radio/directives/radio-field/radio-field.directive.mjs +0 -40
- package/esm2020/lib/components/forms/components/radio/directives/radio-group/radio-group.directive.mjs +0 -36
- package/esm2020/lib/components/forms/components/radio/radio.imports.mjs +0 -3
- package/esm2020/lib/components/forms/components/segmented-button/components/segmented-button/segmented-button.component.mjs +0 -37
- package/esm2020/lib/components/forms/components/segmented-button/components/segmented-button-field/segmented-button-field.component.mjs +0 -25
- package/esm2020/lib/components/forms/components/segmented-button/directives/segmented-button/segmented-button.directive.mjs +0 -73
- package/esm2020/lib/components/forms/components/segmented-button/directives/segmented-button-field/segmented-button-field.directive.mjs +0 -40
- package/esm2020/lib/components/forms/components/segmented-button/directives/segmented-button-group/segmented-button-group.directive.mjs +0 -68
- package/esm2020/lib/components/forms/components/select/components/native-select/native-select.component.mjs +0 -24
- package/esm2020/lib/components/forms/components/select/components/native-select/public-api.mjs +0 -2
- package/esm2020/lib/components/forms/components/select/components/native-select-option/native-select-option.component.mjs +0 -32
- package/esm2020/lib/components/forms/components/select/components/native-select-option/public-api.mjs +0 -2
- package/esm2020/lib/components/forms/components/select/components/select-field/select-field.component.mjs +0 -53
- package/esm2020/lib/components/forms/components/select/directives/index.mjs +0 -2
- package/esm2020/lib/components/forms/components/select/directives/native-select-input/native-select-input.directive.mjs +0 -58
- package/esm2020/lib/components/forms/components/select/directives/native-select-input/public-api.mjs +0 -2
- package/esm2020/lib/components/forms/components/select/directives/native-select-option/index.mjs +0 -2
- package/esm2020/lib/components/forms/components/select/directives/native-select-option/native-select-option.directive.mjs +0 -56
- package/esm2020/lib/components/forms/components/select/directives/native-select-option/public-api.mjs +0 -2
- package/esm2020/lib/components/forms/components/select/directives/public-api.mjs +0 -3
- package/esm2020/lib/components/forms/components/select/native-select.imports.mjs +0 -13
- package/esm2020/lib/components/forms/components/select/public-api.mjs +0 -5
- package/esm2020/lib/components/forms/components/select/types/index.mjs +0 -2
- package/esm2020/lib/components/forms/components/select/types/public-api.mjs +0 -2
- package/esm2020/lib/components/forms/components/select/types/select.types.mjs +0 -2
- package/esm2020/lib/components/forms/components/slide-toggle/components/slide-toggle/slide-toggle.component.mjs +0 -23
- package/esm2020/lib/components/forms/components/slide-toggle/components/slide-toggle-field/slide-toggle-field.component.mjs +0 -51
- package/esm2020/lib/components/forms/components/slide-toggle/directives/slide-toggle/slide-toggle.directive.mjs +0 -40
- package/esm2020/lib/components/forms/components/slide-toggle/slide-toggle.imports.mjs +0 -3
- package/esm2020/lib/components/forms/components/slider/components/slider/slider.component.mjs +0 -342
- package/esm2020/lib/components/forms/components/slider/components/slider-field/slider-field.component.mjs +0 -51
- package/esm2020/lib/components/forms/components/slider/slider.imports.mjs +0 -3
- package/esm2020/lib/components/forms/directives/dynamic-form-field/dynamic-form-field.directive.mjs +0 -42
- package/esm2020/lib/components/forms/directives/dynamic-form-group/dynamic-form-group.directive.mjs +0 -42
- package/esm2020/lib/components/forms/directives/if-input-empty/if-input-empty.directive.mjs +0 -41
- package/esm2020/lib/components/forms/directives/if-input-filled/if-input-filled.directive.mjs +0 -41
- package/esm2020/lib/components/forms/directives/input/input.directive.mjs +0 -233
- package/esm2020/lib/components/forms/directives/input-prefix/input-prefix.directive.mjs +0 -30
- package/esm2020/lib/components/forms/directives/input-suffix/input-suffix.directive.mjs +0 -30
- package/esm2020/lib/components/forms/directives/native-input-ref/native-input-ref.directive.mjs +0 -19
- package/esm2020/lib/components/forms/directives/static-form-field/static-form-field.directive.mjs +0 -78
- package/esm2020/lib/components/forms/directives/static-form-group/static-form-group.directive.mjs +0 -29
- package/esm2020/lib/components/forms/directives/writeable-input/writeable-input.directive.mjs +0 -71
- package/esm2020/lib/components/forms/services/default-validator-errors.service.mjs +0 -51
- package/esm2020/lib/components/forms/services/form-field-state.service.mjs +0 -24
- package/esm2020/lib/components/forms/services/form-group-state.service.mjs +0 -21
- package/esm2020/lib/components/forms/services/input-state.service.mjs +0 -35
- package/esm2020/lib/components/forms/utils/decorated-form-field.base.mjs +0 -22
- package/esm2020/lib/components/forms/utils/decorated-input.base.mjs +0 -44
- package/esm2020/lib/components/forms/utils/input.base.mjs +0 -20
- package/esm2020/lib/components/icons/chevron-icon/chevron-icon.component.mjs +0 -36
- package/esm2020/lib/components/masonry/components/masonry/masonry.component.mjs +0 -199
- package/esm2020/lib/components/masonry/partials/masonry-item/masonry-item.component.mjs +0 -74
- package/esm2020/lib/components/overlay/components/bottom-sheet/components/bottom-sheet-container/bottom-sheet-container.component.mjs +0 -51
- package/esm2020/lib/components/overlay/components/bottom-sheet/partials/bottom-sheet-container-base/bottom-sheet-container-base.component.mjs +0 -43
- package/esm2020/lib/components/overlay/components/bottom-sheet/partials/bottom-sheet-drag-handle/bottom-sheet-drag-handle.component.mjs +0 -103
- package/esm2020/lib/components/overlay/components/bottom-sheet/partials/bottom-sheet-title/bottom-sheet-title.directive.mjs +0 -49
- package/esm2020/lib/components/overlay/components/bottom-sheet/services/bottom-sheet-base.service.mjs +0 -113
- package/esm2020/lib/components/overlay/components/bottom-sheet/services/bottom-sheet-swipe-handler.service.mjs +0 -48
- package/esm2020/lib/components/overlay/components/bottom-sheet/services/bottom-sheet.service.mjs +0 -31
- package/esm2020/lib/components/overlay/components/dialog/components/dialog-container/dialog-container.component.mjs +0 -51
- package/esm2020/lib/components/overlay/components/dialog/partials/dialog-close/dialog-close.directive.mjs +0 -64
- package/esm2020/lib/components/overlay/components/dialog/partials/dialog-container-base/dialog-container-base.component.mjs +0 -43
- package/esm2020/lib/components/overlay/components/dialog/partials/dialog-title/dialog-title.directive.mjs +0 -49
- package/esm2020/lib/components/overlay/components/dialog/services/dialog-base.service.mjs +0 -109
- package/esm2020/lib/components/overlay/components/dialog/services/dialog.service.mjs +0 -31
- package/esm2020/lib/components/overlay/components/toggletip/components/toggletip/toggletip.component.mjs +0 -62
- package/esm2020/lib/components/overlay/components/toggletip/directives/toggletip/toggletip.directive.mjs +0 -196
- package/esm2020/lib/components/overlay/components/tooltip/components/tooltip/tooltip.component.mjs +0 -60
- package/esm2020/lib/components/overlay/components/tooltip/directives/tooltip/tooltip.directive.mjs +0 -240
- package/esm2020/lib/components/overlay/services/dynamic-overlay.service.mjs +0 -29
- package/esm2020/lib/components/pagination/components/pagination/pagination.component.mjs +0 -105
- package/esm2020/lib/components/pagination/partials/pagination-link/pagination-link.directive.mjs +0 -32
- package/esm2020/lib/components/pagination/services/pagination-head.service.mjs +0 -59
- package/esm2020/lib/components/picture/picture-data.directive.mjs +0 -55
- package/esm2020/lib/components/picture/picture.component.mjs +0 -40
- package/esm2020/lib/components/progress-spinner/progress-spinner.component.mjs +0 -105
- package/esm2020/lib/components/scrollable/components/scrollable/scrollable.component.mjs +0 -129
- package/esm2020/lib/components/skeleton/partials/skeleton-item/skeleton-item.component.mjs +0 -19
- package/esm2020/lib/components/sort/components/sort-header/sort-header.component.mjs +0 -224
- package/esm2020/lib/components/sort/partials/sort/sort.directive.mjs +0 -157
- package/esm2020/lib/components/sort/services/sort-header-intl.mjs +0 -23
- package/esm2020/lib/components/table/components/table/table.component.mjs +0 -141
- package/esm2020/lib/components/table/partials/cells/cell/cell.directive.mjs +0 -18
- package/esm2020/lib/components/table/partials/cells/cell-def/cell-def.directive.mjs +0 -16
- package/esm2020/lib/components/table/partials/cells/column-def/column-def.directive.mjs +0 -44
- package/esm2020/lib/components/table/partials/cells/footer-cell/footer-cell.directive.mjs +0 -18
- package/esm2020/lib/components/table/partials/cells/footer-cell-def/footer-cell-def.directive.mjs +0 -16
- package/esm2020/lib/components/table/partials/cells/header-cell/header-cell.directive.mjs +0 -19
- package/esm2020/lib/components/table/partials/cells/header-cell-def/header-cell-def.directive.mjs +0 -16
- package/esm2020/lib/components/table/partials/rows/footer-row/footer-row.component.mjs +0 -26
- package/esm2020/lib/components/table/partials/rows/footer-row-def/footer-row-def.directive.mjs +0 -26
- package/esm2020/lib/components/table/partials/rows/header-row/header-row.component.mjs +0 -26
- package/esm2020/lib/components/table/partials/rows/header-row-def/header-row-def.directive.mjs +0 -26
- package/esm2020/lib/components/table/partials/rows/no-data-row/no-data-row.directive.mjs +0 -20
- package/esm2020/lib/components/table/partials/rows/recycle-rows/recycle-rows.directive.mjs +0 -16
- package/esm2020/lib/components/table/partials/rows/row/row.component.mjs +0 -26
- package/esm2020/lib/components/table/partials/rows/row-def/row-def.directive.mjs +0 -26
- package/esm2020/lib/components/table/partials/table-busy/table-busy.directive.mjs +0 -18
- package/esm2020/lib/components/table/partials/table-busy-outlet/table-busy-outlet.directive.mjs +0 -15
- package/esm2020/lib/components/tabs/components/inline-tabs/inline-tabs.component.mjs +0 -261
- package/esm2020/lib/components/tabs/components/nav-tabs/nav-tabs.component.mjs +0 -86
- package/esm2020/lib/components/tabs/partials/inline-tabs/inline-tab/inline-tab.component.mjs +0 -100
- package/esm2020/lib/components/tabs/partials/inline-tabs/inline-tab-body/inline-tab-body.component.mjs +0 -135
- package/esm2020/lib/components/tabs/partials/inline-tabs/inline-tab-body-host/inline-tab-body-host.directive.mjs +0 -25
- package/esm2020/lib/components/tabs/partials/inline-tabs/inline-tab-content/inline-tab-content.directive.mjs +0 -22
- package/esm2020/lib/components/tabs/partials/inline-tabs/inline-tab-header/inline-tab-header.component.mjs +0 -43
- package/esm2020/lib/components/tabs/partials/inline-tabs/inline-tab-label/inline-tab-label.directive.mjs +0 -30
- package/esm2020/lib/components/tabs/partials/inline-tabs/inline-tab-label-wrapper/inline-tab-label-wrapper.directive.mjs +0 -48
- package/esm2020/lib/components/tabs/partials/nav-tabs/nav-tab-link/nav-tab-link.directive.mjs +0 -203
- package/esm2020/lib/components/tabs/partials/nav-tabs/nav-tabs-outlet/nav-tabs-outlet.component.mjs +0 -37
- package/esm2020/lib/components/tabs/utils/active-tab-underline.util.mjs +0 -111
- package/esm2020/lib/components/tabs/utils/paginated-tab-header.directive.mjs +0 -284
- package/esm2020/lib/services/swipe-handler.service.mjs +0 -88
- package/fesm2015/ethlete-cdk.mjs +0 -9106
- package/fesm2015/ethlete-cdk.mjs.map +0 -1
- package/fesm2020/ethlete-cdk.mjs.map +0 -1
- /package/{esm2020 → esm2022}/ethlete-cdk.mjs +0 -0
- /package/{esm2020 → esm2022}/index.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/accordion/accordion.imports.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/accordion/components/accordion/accordion.component.animations.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/accordion/components/accordion/accordion.component.constants.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/accordion/components/accordion/index.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/accordion/components/accordion/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/accordion/components/accordion-group/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/accordion/components/index.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/accordion/components/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/accordion/partials/accordion-hint/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/accordion/partials/accordion-hint-wrapper/accordion-hint-wrapper.directive.constants.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/accordion/partials/accordion-hint-wrapper/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/accordion/partials/accordion-label/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/accordion/partials/accordion-label-wrapper/accordion-label-wrapper.directive.constants.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/accordion/partials/accordion-label-wrapper/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/accordion/partials/index.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/accordion/partials/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/accordion/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/bracket/bracket.imports.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/bracket/components/bracket/bracket.component.types.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/bracket/components/bracket/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/bracket/components/index.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/bracket/components/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/bracket/constants/bracket.constants.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/bracket/constants/index.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/bracket/constants/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/bracket/directives/bracket-match/index.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/bracket/directives/bracket-match/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/bracket/directives/bracket-round/index.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/bracket/directives/bracket-round/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/bracket/directives/index.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/bracket/directives/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/bracket/partials/bracket-match/index.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/bracket/partials/bracket-match/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/bracket/partials/bracket-round-header/index.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/bracket/partials/bracket-round-header/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/bracket/partials/index.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/bracket/partials/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/bracket/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/bracket/types/bracket-config.types.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/bracket/types/bracket.types.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/bracket/types/index.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/bracket/types/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/bracket/utils/bracket-config.utils.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/bracket/utils/bracket.utils.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/bracket/utils/index.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/bracket/utils/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/button/button.imports.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/button/components/button/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/button/components/index.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/button/components/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/button/components/query-button/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/button/directives/button/index.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/button/directives/button/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/button/directives/index.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/button/directives/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/button/directives/query-button/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/button/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/forms/components/checkbox/components/checkbox/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/forms/components/checkbox/components/checkbox-field/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/forms/components/checkbox/components/checkbox-group/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/forms/components/checkbox/components/index.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/forms/components/checkbox/components/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/forms/components/checkbox/directives/checkbox/index.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/forms/components/checkbox/directives/checkbox/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/forms/components/checkbox/directives/checkbox-field/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/forms/components/checkbox/directives/checkbox-group/index.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/forms/components/checkbox/directives/checkbox-group/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/forms/components/checkbox/directives/checkbox-group-control/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/forms/components/checkbox/directives/index.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/forms/components/checkbox/directives/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/forms/components/checkbox/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/forms/components/error/components/error/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/forms/components/error/components/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/forms/components/error/index.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/forms/components/error/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/forms/components/index.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/forms/components/input/components/email-input/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/forms/components/input/components/index.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/forms/components/input/components/input-field/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/forms/components/input/components/number-input/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/forms/components/input/components/password-input/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/forms/components/input/components/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/forms/components/input/components/search-input/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/forms/components/input/components/text-input/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/forms/components/input/components/textarea-input/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/forms/components/input/directives/autosize-textarea/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/forms/components/input/directives/email-input/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/forms/components/input/directives/index.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/forms/components/input/directives/number-input/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/forms/components/input/directives/password-input/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/forms/components/input/directives/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/forms/components/input/directives/search-input/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/forms/components/input/directives/text-input/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/forms/components/input/directives/textarea-input/index.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/forms/components/input/directives/textarea-input/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/forms/components/input/partials/index.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/forms/components/input/partials/password-input-toggle/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/forms/components/input/partials/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/forms/components/input/partials/search-input-clear/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/forms/components/input/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/forms/components/label/components/index.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/forms/components/label/components/label/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/forms/components/label/components/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/forms/components/label/directives/index.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/forms/components/label/directives/label-suffix/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/forms/components/label/directives/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/forms/components/label/label.imports.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/forms/components/label/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/forms/components/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/forms/components/radio/components/index.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/forms/components/radio/components/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/forms/components/radio/components/radio/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/forms/components/radio/components/radio-field/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/forms/components/radio/components/radio-group/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/forms/components/radio/directives/index.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/forms/components/radio/directives/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/forms/components/radio/directives/radio/index.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/forms/components/radio/directives/radio/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/forms/components/radio/directives/radio-field/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/forms/components/radio/directives/radio-group/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/forms/components/radio/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/forms/components/radio/types/index.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/forms/components/radio/types/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/forms/components/radio/types/radio.types.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/forms/components/segmented-button/components/index.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/forms/components/segmented-button/components/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/forms/components/segmented-button/components/segmented-button/index.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/forms/components/segmented-button/components/segmented-button/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/forms/components/segmented-button/components/segmented-button-field/index.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/forms/components/segmented-button/components/segmented-button-field/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/forms/components/segmented-button/components/segmented-button-group/index.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/forms/components/segmented-button/components/segmented-button-group/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/forms/components/segmented-button/directives/index.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/forms/components/segmented-button/directives/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/forms/components/segmented-button/directives/segmented-button/index.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/forms/components/segmented-button/directives/segmented-button/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/forms/components/segmented-button/directives/segmented-button-field/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/forms/components/segmented-button/directives/segmented-button-group/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/forms/components/segmented-button/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/forms/components/segmented-button/segmented-button.imports.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/forms/components/segmented-button/types/index.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/forms/components/segmented-button/types/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/forms/components/segmented-button/types/segmented-button.types.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/forms/components/select/components/index.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/forms/components/select/components/select-field/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/forms/components/slide-toggle/components/index.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/forms/components/slide-toggle/components/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/forms/components/slide-toggle/components/slide-toggle/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/forms/components/slide-toggle/components/slide-toggle-field/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/forms/components/slide-toggle/directives/index.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/forms/components/slide-toggle/directives/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/forms/components/slide-toggle/directives/slide-toggle/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/forms/components/slide-toggle/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/forms/components/slider/components/index.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/forms/components/slider/components/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/forms/components/slider/components/slider/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/forms/components/slider/components/slider-field/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/forms/components/slider/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/forms/directives/dynamic-form-field/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/forms/directives/dynamic-form-group/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/forms/directives/if-input-empty/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/forms/directives/if-input-filled/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/forms/directives/index.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/forms/directives/input/index.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/forms/directives/input/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/forms/directives/input-prefix/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/forms/directives/input-suffix/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/forms/directives/native-input-ref/index.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/forms/directives/native-input-ref/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/forms/directives/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/forms/directives/static-form-field/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/forms/directives/static-form-group/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/forms/directives/writeable-input/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/forms/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/forms/services/index.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/forms/services/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/forms/types/index.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/forms/types/input.types.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/forms/types/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/forms/utils/index.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/forms/utils/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/icons/chevron-icon/index.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/icons/chevron-icon/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/icons/icon.imports.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/icons/index.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/icons/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/masonry/components/index.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/masonry/components/masonry/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/masonry/components/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/masonry/masonry.imports.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/masonry/partials/index.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/masonry/partials/masonry-item/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/masonry/partials/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/masonry/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/masonry/types/masonry.types.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/masonry/types/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/overlay/components/bottom-sheet/bottom-sheet.imports.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/overlay/components/bottom-sheet/components/bottom-sheet-container/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/overlay/components/bottom-sheet/components/index.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/overlay/components/bottom-sheet/components/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/overlay/components/bottom-sheet/constants/bottom-sheet.constants.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/overlay/components/bottom-sheet/constants/index.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/overlay/components/bottom-sheet/constants/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/overlay/components/bottom-sheet/partials/bottom-sheet-container-base/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/overlay/components/bottom-sheet/partials/bottom-sheet-drag-handle/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/overlay/components/bottom-sheet/partials/bottom-sheet-title/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/overlay/components/bottom-sheet/partials/index.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/overlay/components/bottom-sheet/partials/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/overlay/components/bottom-sheet/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/overlay/components/bottom-sheet/services/index.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/overlay/components/bottom-sheet/services/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/overlay/components/bottom-sheet/types/bottom-sheet.types.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/overlay/components/bottom-sheet/types/index.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/overlay/components/bottom-sheet/types/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/overlay/components/bottom-sheet/utils/bottom-sheet-config.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/overlay/components/bottom-sheet/utils/bottom-sheet-ref.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/overlay/components/bottom-sheet/utils/bottom-sheet.utils.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/overlay/components/bottom-sheet/utils/index.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/overlay/components/bottom-sheet/utils/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/overlay/components/dialog/components/dialog-container/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/overlay/components/dialog/components/index.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/overlay/components/dialog/components/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/overlay/components/dialog/constants/dialog.constants.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/overlay/components/dialog/constants/index.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/overlay/components/dialog/constants/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/overlay/components/dialog/dialog.imports.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/overlay/components/dialog/partials/dialog-close/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/overlay/components/dialog/partials/dialog-container-base/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/overlay/components/dialog/partials/dialog-title/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/overlay/components/dialog/partials/index.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/overlay/components/dialog/partials/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/overlay/components/dialog/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/overlay/components/dialog/services/index.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/overlay/components/dialog/services/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/overlay/components/dialog/types/dialog.types.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/overlay/components/dialog/types/index.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/overlay/components/dialog/types/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/overlay/components/dialog/utils/dialog-config.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/overlay/components/dialog/utils/dialog.utils.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/overlay/components/dialog/utils/index.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/overlay/components/dialog/utils/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/overlay/components/index.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/overlay/components/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/overlay/components/toggletip/components/index.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/overlay/components/toggletip/components/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/overlay/components/toggletip/components/toggletip/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/overlay/components/toggletip/constants/index.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/overlay/components/toggletip/constants/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/overlay/components/toggletip/constants/toggletip.constants.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/overlay/components/toggletip/directives/index.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/overlay/components/toggletip/directives/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/overlay/components/toggletip/directives/toggletip/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/overlay/components/toggletip/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/overlay/components/toggletip/toggletip.imports.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/overlay/components/toggletip/types/index.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/overlay/components/toggletip/types/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/overlay/components/toggletip/types/toggletip.types.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/overlay/components/toggletip/utils/index.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/overlay/components/toggletip/utils/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/overlay/components/toggletip/utils/toggletip-config.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/overlay/components/toggletip/utils/toggletip.util.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/overlay/components/tooltip/components/index.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/overlay/components/tooltip/components/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/overlay/components/tooltip/components/tooltip/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/overlay/components/tooltip/constants/index.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/overlay/components/tooltip/constants/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/overlay/components/tooltip/constants/tooltip.constants.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/overlay/components/tooltip/directives/index.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/overlay/components/tooltip/directives/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/overlay/components/tooltip/directives/tooltip/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/overlay/components/tooltip/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/overlay/components/tooltip/tooltip.imports.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/overlay/components/tooltip/types/index.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/overlay/components/tooltip/types/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/overlay/components/tooltip/types/tooltip.types.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/overlay/components/tooltip/utils/index.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/overlay/components/tooltip/utils/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/overlay/components/tooltip/utils/tooltip-config.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/overlay/components/tooltip/utils/tooltip.util.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/overlay/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/overlay/services/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/overlay/types/dynamic-overlay.types.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/overlay/types/index.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/overlay/types/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/pagination/components/index.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/pagination/components/pagination/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/pagination/components/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/pagination/pagination.imports.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/pagination/partials/index.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/pagination/partials/pagination-link/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/pagination/partials/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/pagination/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/pagination/services/index.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/pagination/services/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/pagination/types/index.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/pagination/types/pagination.types.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/pagination/types/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/pagination/utils/index.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/pagination/utils/pagination.util.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/pagination/utils/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/picture/picture.component.types.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/picture/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/progress-spinner/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/scrollable/components/index.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/scrollable/components/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/scrollable/components/scrollable/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/scrollable/index.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/scrollable/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/scrollable/scrollable.imports.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/skeleton/components/index.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/skeleton/components/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/skeleton/components/skeleton/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/skeleton/partials/index.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/skeleton/partials/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/skeleton/partials/skeleton-item/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/skeleton/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/skeleton/skeleton.imports.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/sort/components/index.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/sort/components/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/sort/components/sort-header/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/sort/components/sort-header/sort-header.types.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/sort/index.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/sort/partials/index.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/sort/partials/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/sort/partials/sort/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/sort/partials/sort/sort.types.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/sort/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/sort/services/index.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/sort/services/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/sort/sort.imports.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/sort/types/index.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/sort/types/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/sort/types/sort-direction.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/table/components/index.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/table/components/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/table/components/table/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/table/constants/index.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/table/constants/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/table/constants/table-data-source.constants.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/table/index.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/table/partials/cells/cell/index.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/table/partials/cells/cell/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/table/partials/cells/cell-def/index.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/table/partials/cells/cell-def/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/table/partials/cells/column-def/index.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/table/partials/cells/column-def/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/table/partials/cells/footer-cell/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/table/partials/cells/footer-cell-def/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/table/partials/cells/header-cell/index.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/table/partials/cells/header-cell/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/table/partials/cells/header-cell-def/index.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/table/partials/cells/header-cell-def/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/table/partials/cells/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/table/partials/cells/text-column/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/table/partials/index.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/table/partials/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/table/partials/rows/footer-row/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/table/partials/rows/footer-row-def/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/table/partials/rows/header-row/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/table/partials/rows/header-row-def/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/table/partials/rows/no-data-row/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/table/partials/rows/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/table/partials/rows/recycle-rows/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/table/partials/rows/row/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/table/partials/rows/row-def/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/table/partials/table-busy/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/table/partials/table-busy-outlet/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/table/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/table/table.imports.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/table/types/index.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/table/types/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/table/types/table-data-source.types.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/table/utils/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/table/utils/table-data-source.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/tabs/animations/index.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/tabs/animations/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/tabs/animations/tabs.animations.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/tabs/components/index.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/tabs/components/inline-tabs/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/tabs/components/nav-tabs/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/tabs/components/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/tabs/partials/index.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/tabs/partials/inline-tabs/inline-tab/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/tabs/partials/inline-tabs/inline-tab-body/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/tabs/partials/inline-tabs/inline-tab-body-host/index.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/tabs/partials/inline-tabs/inline-tab-body-host/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/tabs/partials/inline-tabs/inline-tab-content/index.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/tabs/partials/inline-tabs/inline-tab-content/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/tabs/partials/inline-tabs/inline-tab-header/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/tabs/partials/inline-tabs/inline-tab-label/index.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/tabs/partials/inline-tabs/inline-tab-label/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/tabs/partials/inline-tabs/inline-tab-label-wrapper/index.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/tabs/partials/inline-tabs/inline-tab-label-wrapper/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/tabs/partials/inline-tabs/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/tabs/partials/nav-tabs/nav-tab-link/index.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/tabs/partials/nav-tabs/nav-tab-link/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/tabs/partials/nav-tabs/nav-tabs-outlet/index.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/tabs/partials/nav-tabs/nav-tabs-outlet/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/tabs/partials/nav-tabs/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/tabs/partials/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/tabs/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/tabs/tab.imports.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/tabs/types/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/tabs/types/tab-config.types.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/tabs/utils/index.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/tabs/utils/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/services/index.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/services/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/types/index.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/types/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/types/swipe.types.mjs +0 -0
- /package/lib/components/forms/components/{select/directives → label}/index.d.ts +0 -0
- /package/lib/components/forms/components/select/{directives/native-select-option → components/native-select/components}/index.d.ts +0 -0
- /package/lib/components/forms/components/select/{types → components/native-select/directives}/index.d.ts +0 -0
- /package/lib/components/forms/components/select/{directives → components/native-select/directives}/native-select-input/public-api.d.ts +0 -0
- /package/lib/components/forms/components/select/{directives → components/native-select/directives}/native-select-option/public-api.d.ts +0 -0
- /package/lib/components/forms/components/select/{directives → components/native-select/directives}/public-api.d.ts +0 -0
- /package/lib/components/forms/components/select/components/{native-select-option → native-select/partials/native-select-option}/native-select-option.component.d.ts +0 -0
- /package/lib/components/forms/components/select/components/{native-select-option → native-select/partials/native-select-option}/public-api.d.ts +0 -0
- /package/lib/components/forms/components/select/{types → components/native-select/types}/public-api.d.ts +0 -0
- /package/lib/components/forms/components/select/{types → components/native-select/types}/select.types.d.ts +0 -0
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { Directive, inject, InjectionToken } from '@angular/core';
|
|
2
|
+
import { createReactiveBindings, DestroyService } from '@ethlete/core';
|
|
3
|
+
import { map, of } from 'rxjs';
|
|
4
|
+
import { INPUT_TOKEN } from '../../../../directives';
|
|
5
|
+
import { CHECKBOX_TOKEN } from '../checkbox';
|
|
6
|
+
import { CHECKBOX_GROUP_TOKEN } from '../checkbox-group';
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
8
|
+
export const CHECKBOX_GROUP_CONTROL_TOKEN = new InjectionToken('ET_CHECKBOX_GROUP_CONTROL_TOKEN');
|
|
9
|
+
class CheckboxGroupControlDirective {
|
|
10
|
+
constructor() {
|
|
11
|
+
this.checkbox = inject(CHECKBOX_TOKEN);
|
|
12
|
+
this.input = inject(INPUT_TOKEN);
|
|
13
|
+
this.group = inject(CHECKBOX_GROUP_TOKEN);
|
|
14
|
+
this._bindings = createReactiveBindings();
|
|
15
|
+
}
|
|
16
|
+
ngAfterContentInit() {
|
|
17
|
+
this._bindings.push({
|
|
18
|
+
attribute: ['aria-controls'],
|
|
19
|
+
elementRef: this.input.nativeInputRef?.element,
|
|
20
|
+
observable: this.group.checkboxesWithoutGroupCtrl$.pipe(map((checkboxes) => ({
|
|
21
|
+
render: true,
|
|
22
|
+
value: checkboxes.map((checkbox) => checkbox.input.id).join(' '),
|
|
23
|
+
}))) ?? of(false),
|
|
24
|
+
});
|
|
25
|
+
}
|
|
26
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: CheckboxGroupControlDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
27
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0.0", type: CheckboxGroupControlDirective, isStandalone: true, selector: "[etCheckboxGroupControl]", providers: [{ provide: CHECKBOX_GROUP_CONTROL_TOKEN, useExisting: CheckboxGroupControlDirective }, DestroyService], exportAs: ["etCheckboxGroupControl"], ngImport: i0 }); }
|
|
28
|
+
}
|
|
29
|
+
export { CheckboxGroupControlDirective };
|
|
30
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: CheckboxGroupControlDirective, decorators: [{
|
|
31
|
+
type: Directive,
|
|
32
|
+
args: [{
|
|
33
|
+
selector: '[etCheckboxGroupControl]',
|
|
34
|
+
standalone: true,
|
|
35
|
+
exportAs: 'etCheckboxGroupControl',
|
|
36
|
+
providers: [{ provide: CHECKBOX_GROUP_CONTROL_TOKEN, useExisting: CheckboxGroupControlDirective }, DestroyService],
|
|
37
|
+
}]
|
|
38
|
+
}] });
|
|
39
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2hlY2tib3gtZ3JvdXAtY29udHJv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ubHkgY2hlY2tib3ggPSBpbmplY3QoQ0hFQ0tCT1hfVE9LRU4pO1xuICByZWFkb25seSBpbnB1dCA9IGluamVjdDxJbnB1dERpcmVjdGl2ZTxib29sZWFuPj4oSU5QVVRfVE9LRU4pO1xuICByZWFkb25seSBncm91cCA9IGluamVjdChDSEVDS0JPWF9HUk9VUF9UT0tFTik7XG5cbiAgcmVhZG9ubHkgX2JpbmRpbmdzID0gY3JlYXRlUmVhY3RpdmVCaW5kaW5ncygpO1xuXG4gIG5nQWZ0ZXJDb250ZW50SW5pdCgpOiB2b2lkIHtcbiAgICB0aGlzLl9iaW5kaW5ncy5wdXNoKHtcbiAgICAgIGF0dHJpYnV0ZTogWydhcmlhLWNvbnRyb2xzJ10sXG4gICAgICBlbGVtZW50UmVmOiB0aGlzLmlucHV0Lm5hdGl2ZUlucHV0UmVmPy5lbGVtZW50LFxuICAgICAgb2JzZXJ2YWJsZTpcbiAgICAgICAgdGhpcy5ncm91cC5jaGVja2JveGVzV2l0aG91dEdyb3VwQ3RybCQucGlwZShcbiAgICAgICAgICBtYXAoKGNoZWNrYm94ZXMpID0+ICh7XG4gICAgICAgICAgICByZW5kZXI6IHRydWUsXG4gICAgICAgICAgICB2YWx1ZTogY2hlY2tib3hlcy5tYXAoKGNoZWNrYm94KSA9PiBjaGVja2JveC5pbnB1dC5pZCkuam9pbignICcpLFxuICAgICAgICAgIH0pKSxcbiAgICAgICAgKSA/PyBvZihmYWxzZSksXG4gICAgfSk7XG4gIH1cbn1cbiJdfQ==
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
import { AsyncPipe, JsonPipe, NgIf } from '@angular/common';
|
|
2
|
+
import { ChangeDetectionStrategy, Component, inject, Input, ViewEncapsulation } from '@angular/core';
|
|
3
|
+
import { createReactiveBindings, DestroyService } from '@ethlete/core';
|
|
4
|
+
import { BehaviorSubject, map, of } from 'rxjs';
|
|
5
|
+
import { DYNAMIC_FORM_FIELD_TOKEN, DYNAMIC_FORM_GROUP_TOKEN } from '../../../../directives';
|
|
6
|
+
import { FormFieldStateService, FormGroupStateService, VALIDATOR_ERROR_SERVICE_TOKEN } from '../../../../services';
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
8
|
+
let _uniqueIdCounter = 0;
|
|
9
|
+
class ErrorComponent {
|
|
10
|
+
constructor() {
|
|
11
|
+
this._validatorErrorsService = inject(VALIDATOR_ERROR_SERVICE_TOKEN);
|
|
12
|
+
this._formFieldOrGroupStateService = inject(FormFieldStateService, { optional: true }) ?? inject(FormGroupStateService);
|
|
13
|
+
this._dynamicFormGroupOrField = inject(DYNAMIC_FORM_FIELD_TOKEN, { optional: true }) ?? inject(DYNAMIC_FORM_GROUP_TOKEN);
|
|
14
|
+
this.errorText$ = new BehaviorSubject(null);
|
|
15
|
+
this.id = `et-error-${_uniqueIdCounter++}`;
|
|
16
|
+
this._errors = null;
|
|
17
|
+
this._bindings = createReactiveBindings({
|
|
18
|
+
attribute: 'class.et-error--has-errors',
|
|
19
|
+
observable: this.errorText$.pipe(map((v) => !!v)),
|
|
20
|
+
}, {
|
|
21
|
+
attribute: 'class.cdk-visually-hidden',
|
|
22
|
+
observable: this._dynamicFormGroupOrField.hideErrorMessage$,
|
|
23
|
+
});
|
|
24
|
+
}
|
|
25
|
+
get errors() {
|
|
26
|
+
return this._errors;
|
|
27
|
+
}
|
|
28
|
+
set errors(v) {
|
|
29
|
+
this._errors = v;
|
|
30
|
+
if (v) {
|
|
31
|
+
const errorText = this._validatorErrorsService.parse(v);
|
|
32
|
+
if (typeof errorText === 'string') {
|
|
33
|
+
this.errorText$.next(of(errorText));
|
|
34
|
+
}
|
|
35
|
+
else {
|
|
36
|
+
this.errorText$.next(errorText);
|
|
37
|
+
}
|
|
38
|
+
this._formFieldOrGroupStateService.errorId$.next(this.id);
|
|
39
|
+
}
|
|
40
|
+
else {
|
|
41
|
+
this.errorText$.next(null);
|
|
42
|
+
this._formFieldOrGroupStateService.errorId$.next(null);
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: ErrorComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
46
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.0.0", type: ErrorComponent, isStandalone: true, selector: "et-error", inputs: { errors: "errors" }, host: { classAttribute: "et-error" }, providers: [DestroyService], 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 }); }
|
|
47
|
+
}
|
|
48
|
+
export { ErrorComponent };
|
|
49
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: ErrorComponent, decorators: [{
|
|
50
|
+
type: Component,
|
|
51
|
+
args: [{ selector: 'et-error', standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, host: {
|
|
52
|
+
class: 'et-error',
|
|
53
|
+
}, imports: [JsonPipe, NgIf, AsyncPipe], providers: [DestroyService], hostDirectives: [], 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" }]
|
|
54
|
+
}], propDecorators: { errors: [{
|
|
55
|
+
type: Input
|
|
56
|
+
}] } });
|
|
57
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZXJyb3IuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi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GFyaWEtYXRvbWljPVwidHJ1ZVwiIGFyaWEtbGl2ZT1cInBvbGl0ZVwiPiB7eyB0ZXh0IH19IDwvc3Bhbj5cbjwvbmctY29udGFpbmVyPlxuIl19
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { AsyncPipe } from '@angular/common';
|
|
2
|
+
import { ChangeDetectionStrategy, Component, inject, ViewEncapsulation } from '@angular/core';
|
|
3
|
+
import { DestroyService } from '@ethlete/core';
|
|
4
|
+
import { InputDirective, NativeInputRefDirective } from '../../../../directives';
|
|
5
|
+
import { DecoratedInputBase } from '../../../../utils';
|
|
6
|
+
import { EMAIL_INPUT_TOKEN, EmailInputDirective } from '../../directives';
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
8
|
+
import * as i1 from "../../directives/email-input/email-input.directive";
|
|
9
|
+
import * as i2 from "../../../../directives/input/input.directive";
|
|
10
|
+
class EmailInputComponent extends DecoratedInputBase {
|
|
11
|
+
constructor() {
|
|
12
|
+
super(...arguments);
|
|
13
|
+
this.emailInput = inject(EMAIL_INPUT_TOKEN);
|
|
14
|
+
}
|
|
15
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: EmailInputComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
16
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.0.0", type: EmailInputComponent, isStandalone: true, selector: "et-email-input", host: { classAttribute: "et-email-input" }, providers: [DestroyService], usesInheritance: true, hostDirectives: [{ directive: i1.EmailInputDirective }, { directive: i2.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 }); }
|
|
17
|
+
}
|
|
18
|
+
export { EmailInputComponent };
|
|
19
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: EmailInputComponent, decorators: [{
|
|
20
|
+
type: Component,
|
|
21
|
+
args: [{ selector: 'et-email-input', standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, host: {
|
|
22
|
+
class: 'et-email-input',
|
|
23
|
+
}, providers: [DestroyService], imports: [AsyncPipe, NativeInputRefDirective], hostDirectives: [EmailInputDirective, { directive: InputDirective, inputs: ['autocomplete', 'placeholder'] }], 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" }]
|
|
24
|
+
}] });
|
|
25
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW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XN5bmNcIlxuICBbZGlzYWJsZWRdPVwiaW5wdXQuZGlzYWJsZWQkIHwgYXN5bmNcIlxuICBbYXR0ci5hdXRvY29tcGxldGVdPVwiaW5wdXQuYXV0b2NvbXBsZXRlIHx8IG51bGxcIlxuICBbYXR0ci5wbGFjZWhvbGRlcl09XCJpbnB1dC5wbGFjZWhvbGRlciB8fCBudWxsXCJcbiAgW2F0dHIuYXJpYS1kZXNjcmliZWRieV09XCJpbnB1dC5kZXNjcmliZWRCeSQgfCBhc3luY1wiXG4gIChpbnB1dCk9XCJlbWFpbElucHV0Ll9vbklucHV0SW50ZXJhY3Rpb24oJGV2ZW50KVwiXG4gIChibHVyKT1cImVtYWlsSW5wdXQuX2NvbnRyb2xUb3VjaGVkKClcIlxuICBjbGFzcz1cImV0LWlucHV0LW5hdGl2ZS1jb250cm9sIGV0LWVtYWlsLWlucHV0LW5hdGl2ZS1jb250cm9sXCJcbiAgdHlwZT1cImVtYWlsXCJcbiAgZXROYXRpdmVJbnB1dFJlZlxuLz5cblxuPG5nLWNvbnRlbnQgc2VsZWN0PVwiW2V0SW5wdXRTdWZmaXhdXCIgLz5cbiJdfQ==
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
import { AsyncPipe, NgIf } from '@angular/common';
|
|
2
|
+
import { ChangeDetectionStrategy, Component, ViewEncapsulation, forwardRef, inject } from '@angular/core';
|
|
3
|
+
import { DynamicFormFieldDirective, StaticFormFieldDirective, WriteableInputDirective } from '../../../../directives';
|
|
4
|
+
import { InputStateService } from '../../../../services';
|
|
5
|
+
import { DecoratedFormFieldBase } from '../../../../utils';
|
|
6
|
+
import { ErrorComponent } from '../../../error';
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
8
|
+
import * as i1 from "../../../../directives/static-form-field/static-form-field.directive";
|
|
9
|
+
import * as i2 from "../../../../directives/writeable-input/writeable-input.directive";
|
|
10
|
+
import * as i3 from "../../../../directives/dynamic-form-field/dynamic-form-field.directive";
|
|
11
|
+
class InputFieldComponent extends DecoratedFormFieldBase {
|
|
12
|
+
constructor() {
|
|
13
|
+
super(...arguments);
|
|
14
|
+
this.inputState = inject(InputStateService);
|
|
15
|
+
}
|
|
16
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: InputFieldComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
17
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.0.0", type: InputFieldComponent, isStandalone: true, selector: "et-input-field", host: { classAttribute: "et-form-field et-input-field" }, usesInheritance: true, hostDirectives: [{ directive: i1.StaticFormFieldDirective }, { directive: i2.WriteableInputDirective }, { directive: i0.forwardRef(function () { return i3.DynamicFormFieldDirective; }), inputs: ["hideErrorMessage", "hideErrorMessage"] }], ngImport: i0, template: `
|
|
18
|
+
<ng-content select="et-label" />
|
|
19
|
+
<div class="et-input-field-input">
|
|
20
|
+
<ng-content
|
|
21
|
+
select="et-number-input, et-text-input, et-email-input, et-password-input, et-search-input, et-textarea-input"
|
|
22
|
+
/>
|
|
23
|
+
</div>
|
|
24
|
+
<et-error [errors]="inputState.errors$ | async" />
|
|
25
|
+
`, 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 }); }
|
|
26
|
+
}
|
|
27
|
+
export { InputFieldComponent };
|
|
28
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: InputFieldComponent, decorators: [{
|
|
29
|
+
type: Component,
|
|
30
|
+
args: [{
|
|
31
|
+
selector: 'et-input-field',
|
|
32
|
+
template: `
|
|
33
|
+
<ng-content select="et-label" />
|
|
34
|
+
<div class="et-input-field-input">
|
|
35
|
+
<ng-content
|
|
36
|
+
select="et-number-input, et-text-input, et-email-input, et-password-input, et-search-input, et-textarea-input"
|
|
37
|
+
/>
|
|
38
|
+
</div>
|
|
39
|
+
<et-error [errors]="inputState.errors$ | async" />
|
|
40
|
+
`,
|
|
41
|
+
standalone: true,
|
|
42
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
43
|
+
encapsulation: ViewEncapsulation.None,
|
|
44
|
+
host: {
|
|
45
|
+
class: 'et-form-field et-input-field',
|
|
46
|
+
},
|
|
47
|
+
hostDirectives: [
|
|
48
|
+
StaticFormFieldDirective,
|
|
49
|
+
WriteableInputDirective,
|
|
50
|
+
{
|
|
51
|
+
directive: forwardRef(() => DynamicFormFieldDirective),
|
|
52
|
+
inputs: ['hideErrorMessage'],
|
|
53
|
+
},
|
|
54
|
+
],
|
|
55
|
+
imports: [ErrorComponent, NgIf, AsyncPipe],
|
|
56
|
+
}]
|
|
57
|
+
}] });
|
|
58
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5wdXQtZmllbGQuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9jZGsvc3JjL2xpYi9jb21wb25lbnRzL2Zvcm1zL2NvbXBvbmVudHMvaW5wdXQvY29tcG9uZW50cy9pbnB1dC1maWVsZC9pbnB1dC1maWVsZC5jb21wb25lbnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFNBQVMsRUFBRSxJQUFJLEVBQUUsTUFBTSxpQkFBaUIsQ0FBQztBQUNsRCxPQUFPLEVBQUUsdUJBQXVCLEVBQUUsU0FBUyxFQUFRLGlCQUFpQixFQUFFLFVBQVUsRUFBRSxNQUFNLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDaEgsT0FBTyxFQUFFLHlCQUF5QixFQUFFLHdCQUF3QixFQUFFLHVCQUF1QixFQUFFLE1BQU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wiIC8+XG4gIGAsXG4gIHN0YW5kYWxvbmU6IHRydWUsXG4gIGNoYW5nZURldGVjdGlvbjogQ2hhbmdlRGV0ZWN0aW9uU3RyYXRlZ3kuT25QdXNoLFxuICBlbmNhcHN1bGF0aW9uOiBWaWV3RW5jYXBzdWxhdGlvbi5Ob25lLFxuICBob3N0OiB7XG4gICAgY2xhc3M6ICdldC1mb3JtLWZpZWxkIGV0LWlucHV0LWZpZWxkJyxcbiAgfSxcbiAgaG9zdERpcmVjdGl2ZXM6IFtcbiAgICBTdGF0aWNGb3JtRmllbGREaXJlY3RpdmUsXG4gICAgV3JpdGVhYmxlSW5wdXREaXJlY3RpdmUsXG4gICAge1xuICAgICAgZGlyZWN0aXZlOiBmb3J3YXJkUmVmKCgpID0+IER5bmFtaWNGb3JtRmllbGREaXJlY3RpdmUpIGFzIFR5cGU8RHluYW1pY0Zvcm1GaWVsZERpcmVjdGl2ZT4sXG4gICAgICBpbnB1dHM6IFsnaGlkZUVycm9yTWVzc2FnZSddLFxuICAgIH0sXG4gIF0sXG4gIGltcG9ydHM6IFtFcnJvckNvbXBvbmVudCwgTmdJZiwgQXN5bmNQaXBlXSxcbn0pXG5leHBvcnQgY2xhc3MgSW5wdXRGaWVsZENvbXBvbmVudCBleHRlbmRzIERlY29yYXRlZEZvcm1GaWVsZEJhc2Uge1xuICBwcm90ZWN0ZWQgcmVhZG9ubHkgaW5wdXRTdGF0ZSA9IGluamVjdChJbnB1dFN0YXRlU2VydmljZSk7XG59XG4iXX0=
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { AsyncPipe } from '@angular/common';
|
|
2
|
+
import { ChangeDetectionStrategy, Component, inject, ViewEncapsulation } from '@angular/core';
|
|
3
|
+
import { DestroyService } from '@ethlete/core';
|
|
4
|
+
import { InputDirective, NativeInputRefDirective } from '../../../../directives';
|
|
5
|
+
import { DecoratedInputBase } from '../../../../utils';
|
|
6
|
+
import { NumberInputDirective, NUMBER_INPUT_TOKEN } from '../../directives';
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
8
|
+
import * as i1 from "../../directives/number-input/number-input.directive";
|
|
9
|
+
import * as i2 from "../../../../directives/input/input.directive";
|
|
10
|
+
class NumberInputComponent extends DecoratedInputBase {
|
|
11
|
+
constructor() {
|
|
12
|
+
super(...arguments);
|
|
13
|
+
this.numberInput = inject(NUMBER_INPUT_TOKEN);
|
|
14
|
+
}
|
|
15
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: NumberInputComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
16
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.0.0", type: NumberInputComponent, isStandalone: true, selector: "et-number-input", host: { classAttribute: "et-number-input" }, providers: [DestroyService], usesInheritance: true, hostDirectives: [{ directive: i1.NumberInputDirective }, { directive: i2.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 }); }
|
|
17
|
+
}
|
|
18
|
+
export { NumberInputComponent };
|
|
19
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: NumberInputComponent, decorators: [{
|
|
20
|
+
type: Component,
|
|
21
|
+
args: [{ selector: 'et-number-input', standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, host: {
|
|
22
|
+
class: 'et-number-input',
|
|
23
|
+
}, providers: [DestroyService], imports: [AsyncPipe, NativeInputRefDirective], hostDirectives: [NumberInputDirective, { directive: InputDirective, inputs: ['autocomplete', 'placeholder'] }], 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" }]
|
|
24
|
+
}] });
|
|
25
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibnVtYmVyLWlucHV0LmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL2xpYnMvY2RrL3NyYy9saWIvY29tcG9uZW50cy9mb3Jtcy9jb21wb25lbnRzL2lucHV0L2NvbXBvbmVudHMvbnVtYmVyLWlucHV0L251bWJlci1pbnB1dC5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9saWJzL2Nkay9zcmMvbGliL2NvbXBvbmVudHMvZm9ybXMvY29tcG9uZW50cy9p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PVwibnVtYmVySW5wdXQuX2NvbnRyb2xUb3VjaGVkKClcIlxuICBjbGFzcz1cImV0LWlucHV0LW5hdGl2ZS1jb250cm9sIGV0LW51bWJlci1pbnB1dC1uYXRpdmUtY29udHJvbFwiXG4gIHR5cGU9XCJudW1iZXJcIlxuICBldE5hdGl2ZUlucHV0UmVmXG4vPlxuXG48bmctY29udGVudCBzZWxlY3Q9XCJbZXRJbnB1dFN1ZmZpeF1cIiAvPlxuIl19
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { AsyncPipe } from '@angular/common';
|
|
2
|
+
import { ChangeDetectionStrategy, Component, inject, ViewEncapsulation } from '@angular/core';
|
|
3
|
+
import { DestroyService } from '@ethlete/core';
|
|
4
|
+
import { InputDirective, NativeInputRefDirective } from '../../../../directives';
|
|
5
|
+
import { DecoratedInputBase } from '../../../../utils';
|
|
6
|
+
import { PasswordInputDirective, PASSWORD_INPUT_TOKEN } from '../../directives';
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
8
|
+
import * as i1 from "../../directives/password-input/password-input.directive";
|
|
9
|
+
import * as i2 from "../../../../directives/input/input.directive";
|
|
10
|
+
class PasswordInputComponent extends DecoratedInputBase {
|
|
11
|
+
constructor() {
|
|
12
|
+
super(...arguments);
|
|
13
|
+
this.passwordInput = inject(PASSWORD_INPUT_TOKEN);
|
|
14
|
+
}
|
|
15
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: PasswordInputComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
16
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.0.0", type: PasswordInputComponent, isStandalone: true, selector: "et-password-input", host: { classAttribute: "et-password-input" }, providers: [DestroyService], usesInheritance: true, hostDirectives: [{ directive: i1.PasswordInputDirective }, { directive: i2.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 }); }
|
|
17
|
+
}
|
|
18
|
+
export { PasswordInputComponent };
|
|
19
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: PasswordInputComponent, decorators: [{
|
|
20
|
+
type: Component,
|
|
21
|
+
args: [{ selector: 'et-password-input', standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, host: {
|
|
22
|
+
class: 'et-password-input',
|
|
23
|
+
}, providers: [DestroyService], imports: [AsyncPipe, NativeInputRefDirective], hostDirectives: [PasswordInputDirective, { directive: InputDirective, inputs: ['autocomplete', 'placeholder'] }], 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" }]
|
|
24
|
+
}] });
|
|
25
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicGFzc3dvcmQtaW5wdXQuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9jZGsvc3JjL2xpYi9jb21wb25lbnRzL2Zvcm1zL2NvbXBvbmVudHMvaW5wdXQvY29tcG9uZW50cy9wYXNzd29yZC1pbnB1dC9wYXNzd29yZC1pbnB1dC5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9saWJzL2Nkay9zcmMvbGliL2NvbXBvbmVudHMvZm9ybXMvY29tcG9uZW50cy9pbnB1dC9jb21wb25lbnRzL3Bhc3N3b3JkLWlucHV0L3Bhc3N3b3JkLWlucHV0LmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxTQUFTLEVBQUUsTUFBTSxpQkFBaUIsQ0FBQztBQUM1QyxPQUFPLEVBQUUsdUJBQXVCLEVBQUUsU0FBUyxFQUFFLE1BQU0sRUFBRSxpQkFBaUIsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUM5RixPQUFPLEVBQUUsY0FBYyxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQy9DLE9BQU8sRUFBRSxjQUFjLEVBQUUsdUJBQXVCLEVBQUUsTUFBTSx3QkFBd0IsQ0FBQztBQUNqRixPQUFPLEVBQUUsa0JBQWtCLEVB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0 +1,25 @@
|
|
|
1
|
+
import { AsyncPipe } from '@angular/common';
|
|
2
|
+
import { ChangeDetectionStrategy, Component, inject, ViewEncapsulation } from '@angular/core';
|
|
3
|
+
import { DestroyService } from '@ethlete/core';
|
|
4
|
+
import { InputDirective, NativeInputRefDirective } from '../../../../directives';
|
|
5
|
+
import { DecoratedInputBase } from '../../../../utils';
|
|
6
|
+
import { SearchInputDirective, SEARCH_INPUT_TOKEN } from '../../directives';
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
8
|
+
import * as i1 from "../../directives/search-input/search-input.directive";
|
|
9
|
+
import * as i2 from "../../../../directives/input/input.directive";
|
|
10
|
+
class SearchInputComponent extends DecoratedInputBase {
|
|
11
|
+
constructor() {
|
|
12
|
+
super(...arguments);
|
|
13
|
+
this.searchInput = inject(SEARCH_INPUT_TOKEN);
|
|
14
|
+
}
|
|
15
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: SearchInputComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
16
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.0.0", type: SearchInputComponent, isStandalone: true, selector: "et-search-input", host: { classAttribute: "et-search-input" }, providers: [DestroyService], usesInheritance: true, hostDirectives: [{ directive: i1.SearchInputDirective }, { directive: i2.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 }); }
|
|
17
|
+
}
|
|
18
|
+
export { SearchInputComponent };
|
|
19
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: SearchInputComponent, decorators: [{
|
|
20
|
+
type: Component,
|
|
21
|
+
args: [{ selector: 'et-search-input', standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, host: {
|
|
22
|
+
class: 'et-search-input',
|
|
23
|
+
}, providers: [DestroyService], imports: [AsyncPipe, NativeInputRefDirective], hostDirectives: [SearchInputDirective, { directive: InputDirective, inputs: ['autocomplete', 'placeholder'] }], 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"] }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09XCJpbnB1dC5sYWJlbElkJCB8IGFzeW5jXCJcbiAgW3JlcXVpcmVkXT1cImlucHV0LnJlcXVpcmVkJCB8IGFzeW5jXCJcbiAgW2Rpc2FibGVkXT1cImlucHV0LmRpc2FibGVkJCB8IGFzeW5jXCJcbiAgW2F0dHIuYXV0b2NvbXBsZXRlXT1cImlucHV0LmF1dG9jb21wbGV0ZSB8fCBudWxsXCJcbiAgW2F0dHIucGxhY2Vob2xkZXJdPVwiaW5wdXQucGxhY2Vob2xkZXIgfHwgbnVsbFwiXG4gIFthdHRyLmFyaWEtZGVzY3JpYmVkYnldPVwiaW5wdXQuZGVzY3JpYmVkQnkkIHwgYXN5bmNcIlxuICAoaW5wdXQpPVwic2VhcmNoSW5wdXQuX29uSW5wdXRJbnRlcmFjdGlvbigkZXZlbnQpXCJcbiAgKGJsdXIpPVwic2VhcmNoSW5wdXQuX2NvbnRyb2xUb3VjaGVkKClcIlxuICAoa2V5dXAuZXNjYXBlKT1cInNlYXJjaElucHV0Ll9jbGVhcigpXCJcbiAgY2xhc3M9XCJldC1pbnB1dC1uYXRpdmUtY29udHJvbCBldC1zZWFyY2gtaW5wdXQtbmF0aXZlLWNvbnRyb2xcIlxuICB0eXBlPVwic2VhcmNoXCJcbiAgZXROYXRpdmVJbnB1dFJlZlxuLz5cblxuPG5nLWNvbnRlbnQgc2VsZWN0PVwiW2V0SW5wdXRTdWZmaXhdXCIgLz5cbiJdfQ==
|
package/esm2022/lib/components/forms/components/input/components/text-input/text-input.component.mjs
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { AsyncPipe } from '@angular/common';
|
|
2
|
+
import { ChangeDetectionStrategy, Component, inject, ViewEncapsulation } from '@angular/core';
|
|
3
|
+
import { DestroyService } from '@ethlete/core';
|
|
4
|
+
import { InputDirective, NativeInputRefDirective } from '../../../../directives';
|
|
5
|
+
import { DecoratedInputBase } from '../../../../utils';
|
|
6
|
+
import { TextInputDirective, TEXT_INPUT_TOKEN } from '../../directives';
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
8
|
+
import * as i1 from "../../directives/text-input/text-input.directive";
|
|
9
|
+
import * as i2 from "../../../../directives/input/input.directive";
|
|
10
|
+
class TextInputComponent extends DecoratedInputBase {
|
|
11
|
+
constructor() {
|
|
12
|
+
super(...arguments);
|
|
13
|
+
this.textInput = inject(TEXT_INPUT_TOKEN);
|
|
14
|
+
}
|
|
15
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: TextInputComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
16
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.0.0", type: TextInputComponent, isStandalone: true, selector: "et-text-input", host: { classAttribute: "et-text-input" }, providers: [DestroyService], usesInheritance: true, hostDirectives: [{ directive: i1.TextInputDirective }, { directive: i2.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 }); }
|
|
17
|
+
}
|
|
18
|
+
export { TextInputComponent };
|
|
19
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: TextInputComponent, decorators: [{
|
|
20
|
+
type: Component,
|
|
21
|
+
args: [{ selector: 'et-text-input', standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, host: {
|
|
22
|
+
class: 'et-text-input',
|
|
23
|
+
}, providers: [DestroyService], imports: [AsyncPipe, NativeInputRefDirective], hostDirectives: [TextInputDirective, { directive: InputDirective, inputs: ['autocomplete', 'placeholder'] }], 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" }]
|
|
24
|
+
}] });
|
|
25
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGV4dC1pbnB1dC5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9saWJzL2Nkay9zcmMvbGliL2NvbXBvbmVudHMvZm9ybXMvY29tcG9uZW50cy9pbnB1dC9jb21wb25lbnRzL3RleHQtaW5wdXQvdGV4dC1pbnB1dC5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9saWJzL2Nkay9zcmMvbGliL2NvbXBvbmVudHMvZm9ybXMvY29tcG9uZW50cy9pbnB1dC9jb21wb25lbnRzL3Rle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dGl2ZS1jb250cm9sIGV0LXRleHQtaW5wdXQtbmF0aXZlLWNvbnRyb2xcIlxuICB0eXBlPVwidGV4dFwiXG4gIGV0TmF0aXZlSW5wdXRSZWZcbi8+XG5cbjxuZy1jb250ZW50IHNlbGVjdD1cIltldElucHV0U3VmZml4XVwiIC8+XG4iXX0=
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import { coerceNumberProperty } from '@angular/cdk/coercion';
|
|
2
|
+
import { AsyncPipe } from '@angular/common';
|
|
3
|
+
import { ChangeDetectionStrategy, Component, inject, Input, ViewEncapsulation } from '@angular/core';
|
|
4
|
+
import { DestroyService } from '@ethlete/core';
|
|
5
|
+
import { InputDirective, NativeInputRefDirective } from '../../../../directives';
|
|
6
|
+
import { DecoratedInputBase } from '../../../../utils';
|
|
7
|
+
import { TextareaInputDirective, TEXTAREA_INPUT_TOKEN } from '../../directives/textarea-input';
|
|
8
|
+
import * as i0 from "@angular/core";
|
|
9
|
+
import * as i1 from "../../directives/textarea-input/textarea-input.directive";
|
|
10
|
+
import * as i2 from "../../../../directives/input/input.directive";
|
|
11
|
+
class TextareaInputComponent extends DecoratedInputBase {
|
|
12
|
+
constructor() {
|
|
13
|
+
super(...arguments);
|
|
14
|
+
this.textareaInput = inject(TEXTAREA_INPUT_TOKEN);
|
|
15
|
+
this._cols = null;
|
|
16
|
+
this._rows = null;
|
|
17
|
+
}
|
|
18
|
+
get cols() {
|
|
19
|
+
return this._cols;
|
|
20
|
+
}
|
|
21
|
+
set cols(value) {
|
|
22
|
+
this._cols = coerceNumberProperty(value);
|
|
23
|
+
}
|
|
24
|
+
get rows() {
|
|
25
|
+
return this._rows;
|
|
26
|
+
}
|
|
27
|
+
set rows(value) {
|
|
28
|
+
this._rows = coerceNumberProperty(value);
|
|
29
|
+
}
|
|
30
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: TextareaInputComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
31
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.0.0", type: TextareaInputComponent, isStandalone: true, selector: "et-textarea-input", inputs: { cols: "cols", rows: "rows" }, host: { classAttribute: "et-textarea-input" }, providers: [DestroyService], usesInheritance: true, hostDirectives: [{ directive: i1.TextareaInputDirective }, { directive: i2.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 }); }
|
|
32
|
+
}
|
|
33
|
+
export { TextareaInputComponent };
|
|
34
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: TextareaInputComponent, decorators: [{
|
|
35
|
+
type: Component,
|
|
36
|
+
args: [{ selector: 'et-textarea-input', standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, host: {
|
|
37
|
+
class: 'et-textarea-input',
|
|
38
|
+
}, providers: [DestroyService], 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" }]
|
|
39
|
+
}], propDecorators: { cols: [{
|
|
40
|
+
type: Input
|
|
41
|
+
}], rows: [{
|
|
42
|
+
type: Input
|
|
43
|
+
}] } });
|
|
44
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGV4dGFyZWEtaW5wdXQuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9jZGsvc3JjL2xpYi9jb21wb25lbnRzL2Zvcm1zL2NvbXBvbmVudHMvaW5wdXQvY29tcG9uZW50cy90ZXh0YXJlYS1pbnB1dC90ZXh0YXJlYS1pbnB1dC5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9saWJzL2Nkay9zcmMvbGliL2NvbXBvbmVudHMvZm9ybXMvY29tcG9uZW50cy9pbnB1dC9jb21wb25lbnRzL3RleHRhcmVhLWlucHV0L3RleHRhcmVhLWlucHV0LmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxvQkFBb0IsRUFBZSxNQUFNLHVCQUF1QixDQUFDO0FBQzFFLE9BQU8sRUFBRSxTQUFTLEVBQUUsTUFBTSxpQkFBaUIsQ0FBQztBQUM1QyxPQUFPLEVBQ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hc3M9XCJldC1pbnB1dC1uYXRpdmUtY29udHJvbCBldC10ZXh0YXJlYS1pbnB1dC1uYXRpdmUtY29udHJvbFwiXG4gIGV0TmF0aXZlSW5wdXRSZWZcbj48L3RleHRhcmVhPlxuIl19
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import { Directive, inject, isDevMode } from '@angular/core';
|
|
2
|
+
import { DestroyService, ResizeObserverService } from '@ethlete/core';
|
|
3
|
+
import { debounceTime, takeUntil } from 'rxjs';
|
|
4
|
+
import { INPUT_TOKEN } from '../../../../directives';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
class AutosizeTextareaDirective {
|
|
7
|
+
constructor() {
|
|
8
|
+
this._input = inject(INPUT_TOKEN, { host: true });
|
|
9
|
+
this._resizeObserver = inject(ResizeObserverService);
|
|
10
|
+
this._destroy$ = inject(DestroyService, { host: true }).destroy$;
|
|
11
|
+
}
|
|
12
|
+
get element() {
|
|
13
|
+
if (!this._input.nativeInputRef?.element) {
|
|
14
|
+
if (isDevMode()) {
|
|
15
|
+
throw new Error('AutosizeTextareaDirective must be used with an input that has a native input element');
|
|
16
|
+
}
|
|
17
|
+
return null;
|
|
18
|
+
}
|
|
19
|
+
return this._input.nativeInputRef.element.nativeElement;
|
|
20
|
+
}
|
|
21
|
+
ngOnInit() {
|
|
22
|
+
if (!this.element) {
|
|
23
|
+
return;
|
|
24
|
+
}
|
|
25
|
+
this._resizeObserver
|
|
26
|
+
.observe(this.element)
|
|
27
|
+
.pipe(debounceTime(1), takeUntil(this._destroy$))
|
|
28
|
+
.subscribe(() => this.updateSize());
|
|
29
|
+
this.updateSize();
|
|
30
|
+
}
|
|
31
|
+
updateSize() {
|
|
32
|
+
if (!this.element) {
|
|
33
|
+
return;
|
|
34
|
+
}
|
|
35
|
+
this.element.style.height = '0';
|
|
36
|
+
this.element.style.height = `${this.element.scrollHeight}px`;
|
|
37
|
+
}
|
|
38
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: AutosizeTextareaDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
39
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0.0", type: AutosizeTextareaDirective, isStandalone: true, selector: "et-textarea-input[etAutosize]", host: { classAttribute: "et-textarea--autosize" }, providers: [DestroyService], ngImport: i0 }); }
|
|
40
|
+
}
|
|
41
|
+
export { AutosizeTextareaDirective };
|
|
42
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: AutosizeTextareaDirective, decorators: [{
|
|
43
|
+
type: Directive,
|
|
44
|
+
args: [{
|
|
45
|
+
standalone: true,
|
|
46
|
+
selector: 'et-textarea-input[etAutosize]',
|
|
47
|
+
host: {
|
|
48
|
+
class: 'et-textarea--autosize',
|
|
49
|
+
},
|
|
50
|
+
providers: [DestroyService],
|
|
51
|
+
}]
|
|
52
|
+
}] });
|
|
53
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXV0b3NpemUtdGV4dGFyZWEuZGlyZWN0aXZlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9jZGsvc3JjL2xpYi9jb21wb25lbnRzL2Zvcm1zL2NvbXBvbmVudHMvaW5wdXQvZGlyZWN0aXZlcy9hdXRvc2l6ZS10ZXh0YXJlYS9hdXRvc2l6ZS10ZXh0YXJlYS5kaXJlY3RpdmUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFNBQVMsRUFBRSxNQUFNLEVBQUUsU0FBUyxFQUFVLE1BQU0sZUFBZSxDQUFDO0FBQ3JFLE9BQU8sRUFBRSxjQUFjLEVBQUUscUJBQXFCLEVBQUUsTUFBTSxlQUFlLENBQUM7Q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oKTogdm9pZCB7XG4gICAgaWYgKCF0aGlzLmVsZW1lbnQpIHtcbiAgICAgIHJldHVybjtcbiAgICB9XG5cbiAgICB0aGlzLl9yZXNpemVPYnNlcnZlclxuICAgICAgLm9ic2VydmUodGhpcy5lbGVtZW50KVxuICAgICAgLnBpcGUoZGVib3VuY2VUaW1lKDEpLCB0YWtlVW50aWwodGhpcy5fZGVzdHJveSQpKVxuICAgICAgLnN1YnNjcmliZSgoKSA9PiB0aGlzLnVwZGF0ZVNpemUoKSk7XG5cbiAgICB0aGlzLnVwZGF0ZVNpemUoKTtcbiAgfVxuXG4gIHVwZGF0ZVNpemUoKSB7XG4gICAgaWYgKCF0aGlzLmVsZW1lbnQpIHtcbiAgICAgIHJldHVybjtcbiAgICB9XG5cbiAgICB0aGlzLmVsZW1lbnQuc3R5bGUuaGVpZ2h0ID0gJzAnO1xuICAgIHRoaXMuZWxlbWVudC5zdHlsZS5oZWlnaHQgPSBgJHt0aGlzLmVsZW1lbnQuc2Nyb2xsSGVpZ2h0fXB4YDtcbiAgfVxufVxuIl19
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { Directive, inject, InjectionToken } from '@angular/core';
|
|
2
|
+
import { DestroyService } from '@ethlete/core';
|
|
3
|
+
import { combineLatest, takeUntil, tap } from 'rxjs';
|
|
4
|
+
import { INPUT_TOKEN } from '../../../../directives';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export const EMAIL_INPUT_TOKEN = new InjectionToken('ET_EMAIL_INPUT_DIRECTIVE_TOKEN');
|
|
7
|
+
class EmailInputDirective {
|
|
8
|
+
constructor() {
|
|
9
|
+
this._destroy$ = inject(DestroyService, { host: true }).destroy$;
|
|
10
|
+
this.input = inject(INPUT_TOKEN);
|
|
11
|
+
}
|
|
12
|
+
ngOnInit() {
|
|
13
|
+
combineLatest([this.input.value$, this.input.nativeInputRef$])
|
|
14
|
+
.pipe(tap(([value, nativeInputRef]) => {
|
|
15
|
+
if (!nativeInputRef)
|
|
16
|
+
return;
|
|
17
|
+
if (value !== nativeInputRef.element.nativeElement.value) {
|
|
18
|
+
nativeInputRef.element.nativeElement.value = value ?? '';
|
|
19
|
+
}
|
|
20
|
+
}), takeUntil(this._destroy$))
|
|
21
|
+
.subscribe();
|
|
22
|
+
}
|
|
23
|
+
_onInputInteraction(event) {
|
|
24
|
+
event.stopPropagation();
|
|
25
|
+
const input = event.target;
|
|
26
|
+
const value = input.value;
|
|
27
|
+
if (value === '') {
|
|
28
|
+
this.input._updateValue(null);
|
|
29
|
+
}
|
|
30
|
+
else {
|
|
31
|
+
this.input._updateValue(value);
|
|
32
|
+
}
|
|
33
|
+
this.input._markAsTouched();
|
|
34
|
+
}
|
|
35
|
+
_controlTouched() {
|
|
36
|
+
this.input._markAsTouched();
|
|
37
|
+
this.input._setShouldDisplayError(true);
|
|
38
|
+
}
|
|
39
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: EmailInputDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
40
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0.0", type: EmailInputDirective, isStandalone: true, providers: [{ provide: EMAIL_INPUT_TOKEN, useExisting: EmailInputDirective }, DestroyService], exportAs: ["etEmailInput"], ngImport: i0 }); }
|
|
41
|
+
}
|
|
42
|
+
export { EmailInputDirective };
|
|
43
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: EmailInputDirective, decorators: [{
|
|
44
|
+
type: Directive,
|
|
45
|
+
args: [{
|
|
46
|
+
standalone: true,
|
|
47
|
+
exportAs: 'etEmailInput',
|
|
48
|
+
providers: [{ provide: EMAIL_INPUT_TOKEN, useExisting: EmailInputDirective }, DestroyService],
|
|
49
|
+
}]
|
|
50
|
+
}] });
|
|
51
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLC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