@ethlete/cdk 3.4.0 → 3.5.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +18 -0
- package/esm2022/lib/components/accordion/components/accordion/accordion.component.mjs +3 -3
- package/esm2022/lib/components/accordion/components/accordion-group/accordion-group.component.mjs +3 -3
- package/esm2022/lib/components/accordion/partials/accordion-hint/accordion-hint.directive.mjs +3 -3
- package/esm2022/lib/components/accordion/partials/accordion-hint-wrapper/accordion-hint-wrapper.directive.mjs +3 -3
- package/esm2022/lib/components/accordion/partials/accordion-label/accordion-label.directive.mjs +3 -3
- package/esm2022/lib/components/accordion/partials/accordion-label-wrapper/accordion-label-wrapper.directive.mjs +3 -3
- package/esm2022/lib/components/bracket/components/bracket/bracket.component.mjs +3 -3
- package/esm2022/lib/components/bracket/directives/bracket-match/bracket-match.directive.mjs +3 -3
- package/esm2022/lib/components/bracket/directives/bracket-round/bracket-round.directive.mjs +3 -3
- package/esm2022/lib/components/bracket/partials/bracket-match/bracket-match.component.mjs +3 -3
- package/esm2022/lib/components/bracket/partials/bracket-round-header/bracket-round-header.component.mjs +3 -3
- package/esm2022/lib/components/button/components/button/button.component.mjs +3 -3
- package/esm2022/lib/components/button/components/query-button/query-button.component.mjs +3 -3
- package/esm2022/lib/components/button/directives/button/button.directive.mjs +3 -3
- package/esm2022/lib/components/button/directives/query-button/query-button.directive.mjs +3 -3
- package/esm2022/lib/components/forms/components/checkbox/components/checkbox/checkbox.component.mjs +3 -3
- package/esm2022/lib/components/forms/components/checkbox/components/checkbox-field/checkbox-field.component.mjs +3 -3
- package/esm2022/lib/components/forms/components/checkbox/components/checkbox-group/checkbox-group.component.mjs +3 -3
- package/esm2022/lib/components/forms/components/checkbox/directives/checkbox/checkbox.directive.mjs +3 -3
- package/esm2022/lib/components/forms/components/checkbox/directives/checkbox-field/checkbox-field.directive.mjs +3 -3
- package/esm2022/lib/components/forms/components/checkbox/directives/checkbox-group/checkbox-group.directive.mjs +3 -3
- package/esm2022/lib/components/forms/components/checkbox/directives/checkbox-group-control/checkbox-group-control.directive.mjs +3 -3
- package/esm2022/lib/components/forms/components/error/components/error/error.component.mjs +3 -3
- package/esm2022/lib/components/forms/components/input/components/date-input/date-input.component.mjs +3 -3
- package/esm2022/lib/components/forms/components/input/components/email-input/email-input.component.mjs +3 -3
- package/esm2022/lib/components/forms/components/input/components/input-field/input-field.component.mjs +3 -3
- package/esm2022/lib/components/forms/components/input/components/number-input/number-input.component.mjs +3 -3
- package/esm2022/lib/components/forms/components/input/components/password-input/password-input.component.mjs +3 -3
- package/esm2022/lib/components/forms/components/input/components/search-input/search-input.component.mjs +3 -3
- package/esm2022/lib/components/forms/components/input/components/text-input/text-input.component.mjs +3 -3
- package/esm2022/lib/components/forms/components/input/components/textarea-input/textarea-input.component.mjs +3 -3
- package/esm2022/lib/components/forms/components/input/directives/autosize-textarea/autosize-textarea.directive.mjs +3 -3
- package/esm2022/lib/components/forms/components/input/directives/date-input/date-input.directive.mjs +3 -3
- package/esm2022/lib/components/forms/components/input/directives/email-input/email-input.directive.mjs +3 -3
- package/esm2022/lib/components/forms/components/input/directives/number-input/number-input.directive.mjs +3 -3
- package/esm2022/lib/components/forms/components/input/directives/password-input/password-input.directive.mjs +3 -3
- package/esm2022/lib/components/forms/components/input/directives/search-input/search-input.directive.mjs +3 -3
- package/esm2022/lib/components/forms/components/input/directives/text-input/text-input.directive.mjs +3 -3
- package/esm2022/lib/components/forms/components/input/directives/textarea-input/textarea-input.directive.mjs +3 -3
- package/esm2022/lib/components/forms/components/input/partials/password-input-toggle/password-input-toggle.component.mjs +3 -3
- package/esm2022/lib/components/forms/components/input/partials/search-input-clear/search-input-clear.component.mjs +3 -3
- package/esm2022/lib/components/forms/components/label/components/label/label.component.mjs +3 -3
- package/esm2022/lib/components/forms/components/label/directives/label-suffix/label-suffix.directive.mjs +3 -3
- package/esm2022/lib/components/forms/components/radio/components/radio/radio.component.mjs +3 -3
- package/esm2022/lib/components/forms/components/radio/components/radio-field/radio-field.component.mjs +3 -3
- package/esm2022/lib/components/forms/components/radio/components/radio-group/radio-group.component.mjs +3 -3
- package/esm2022/lib/components/forms/components/radio/directives/radio/radio.directive.mjs +3 -3
- package/esm2022/lib/components/forms/components/radio/directives/radio-field/radio-field.directive.mjs +3 -3
- package/esm2022/lib/components/forms/components/radio/directives/radio-group/radio-group.directive.mjs +3 -3
- package/esm2022/lib/components/forms/components/segmented-button/components/segmented-button/segmented-button.component.mjs +3 -3
- package/esm2022/lib/components/forms/components/segmented-button/components/segmented-button-field/segmented-button-field.component.mjs +3 -3
- package/esm2022/lib/components/forms/components/segmented-button/components/segmented-button-group/segmented-button-group.component.mjs +3 -3
- package/esm2022/lib/components/forms/components/segmented-button/directives/segmented-button/segmented-button.directive.mjs +4 -4
- package/esm2022/lib/components/forms/components/segmented-button/directives/segmented-button-field/segmented-button-field.directive.mjs +4 -4
- package/esm2022/lib/components/forms/components/segmented-button/directives/segmented-button-group/segmented-button-group.directive.mjs +4 -4
- package/esm2022/lib/components/forms/components/select/components/combobox/components/combobox/combobox.component.mjs +18 -7
- package/esm2022/lib/components/forms/components/select/components/combobox/directives/combobox/combobox.directive.mjs +81 -52
- package/esm2022/lib/components/forms/components/select/components/combobox/directives/combobox-option-template/combobox-option-template.directive.mjs +3 -3
- package/esm2022/lib/components/forms/components/select/components/combobox/directives/combobox-selected-option-template/combobox-selected-option-template.directive.mjs +3 -3
- package/esm2022/lib/components/forms/components/select/components/combobox/partials/combobox-body/combobox-body.component.mjs +8 -6
- package/esm2022/lib/components/forms/components/select/components/combobox/partials/combobox-option/combobox-option.component.mjs +13 -8
- package/esm2022/lib/components/forms/components/select/components/combobox/private/combobox.private.errors.mjs +22 -0
- package/esm2022/lib/components/forms/components/select/components/combobox/private/combobox.private.types.mjs +5 -0
- package/esm2022/lib/components/forms/components/select/components/combobox/private/index.mjs +3 -0
- package/esm2022/lib/components/forms/components/select/components/native-select/components/native-select/native-select.component.mjs +3 -3
- package/esm2022/lib/components/forms/components/select/components/native-select/directives/native-select-input/native-select-input.directive.mjs +3 -3
- package/esm2022/lib/components/forms/components/select/components/native-select/directives/native-select-option/native-select-option.directive.mjs +3 -3
- package/esm2022/lib/components/forms/components/select/components/native-select/partials/native-select-option/native-select-option.component.mjs +3 -3
- package/esm2022/lib/components/forms/components/select/components/select/components/select/select.component.mjs +3 -3
- package/esm2022/lib/components/forms/components/select/components/select/directives/select/select.directive.mjs +3 -3
- package/esm2022/lib/components/forms/components/select/components/select/directives/select-body/select-body.directive.mjs +3 -3
- package/esm2022/lib/components/forms/components/select/components/select/directives/select-option/select-option.directive.mjs +3 -3
- package/esm2022/lib/components/forms/components/select/components/select/partials/select-body/select-body.component.mjs +3 -3
- package/esm2022/lib/components/forms/components/select/components/select/partials/select-option/select-option.component.mjs +3 -3
- package/esm2022/lib/components/forms/components/select/components/select-field/select-field.component.mjs +3 -3
- package/esm2022/lib/components/forms/components/select/directives/select-field/select-field.directive.mjs +3 -3
- package/esm2022/lib/components/forms/components/selection-list/components/selection-list-field/selection-list-field.component.mjs +3 -3
- package/esm2022/lib/components/forms/components/selection-list/components/selection-list-option/selection-list-option.component.mjs +3 -3
- package/esm2022/lib/components/forms/components/selection-list/directives/selection-list-field/selection-list-field.directive.mjs +4 -4
- package/esm2022/lib/components/forms/components/selection-list/directives/selection-list-option/selection-list-option.directive.mjs +4 -4
- package/esm2022/lib/components/forms/components/slide-toggle/components/slide-toggle/slide-toggle.component.mjs +3 -3
- package/esm2022/lib/components/forms/components/slide-toggle/components/slide-toggle-field/slide-toggle-field.component.mjs +3 -3
- package/esm2022/lib/components/forms/components/slide-toggle/directives/slide-toggle/slide-toggle.directive.mjs +3 -3
- package/esm2022/lib/components/forms/components/slider/components/slider/slider.component.mjs +3 -3
- package/esm2022/lib/components/forms/components/slider/components/slider-field/slider-field.component.mjs +3 -3
- package/esm2022/lib/components/forms/directives/dynamic-form-field/dynamic-form-field.directive.mjs +3 -3
- package/esm2022/lib/components/forms/directives/dynamic-form-group/dynamic-form-group.directive.mjs +3 -3
- package/esm2022/lib/components/forms/directives/if-input-empty/if-input-empty.directive.mjs +3 -3
- package/esm2022/lib/components/forms/directives/if-input-filled/if-input-filled.directive.mjs +3 -3
- package/esm2022/lib/components/forms/directives/input/input.directive.mjs +3 -3
- package/esm2022/lib/components/forms/directives/input-prefix/input-prefix.directive.mjs +3 -3
- package/esm2022/lib/components/forms/directives/input-suffix/input-suffix.directive.mjs +3 -3
- package/esm2022/lib/components/forms/directives/native-input-ref/native-input-ref.directive.mjs +3 -3
- package/esm2022/lib/components/forms/directives/static-form-field/static-form-field.directive.mjs +3 -3
- package/esm2022/lib/components/forms/directives/static-form-group/static-form-group.directive.mjs +3 -3
- package/esm2022/lib/components/forms/directives/writeable-input/writeable-input.directive.mjs +3 -3
- package/esm2022/lib/components/forms/services/default-validator-errors.service.mjs +3 -3
- package/esm2022/lib/components/forms/services/form-field-state.service.mjs +3 -3
- package/esm2022/lib/components/forms/services/form-group-state.service.mjs +3 -3
- package/esm2022/lib/components/forms/services/input-state.service.mjs +3 -3
- package/esm2022/lib/components/forms/utils/decorated-form-field.base.mjs +3 -3
- package/esm2022/lib/components/forms/utils/decorated-input.base.mjs +3 -3
- package/esm2022/lib/components/forms/utils/input.base.mjs +3 -3
- package/esm2022/lib/components/icons/chevron-icon/chevron-icon.component.mjs +3 -3
- package/esm2022/lib/components/masonry/components/masonry/masonry.component.mjs +3 -3
- package/esm2022/lib/components/masonry/partials/masonry-item/masonry-item.component.mjs +3 -3
- package/esm2022/lib/components/overlay/components/bottom-sheet/components/bottom-sheet-container/bottom-sheet-container.component.mjs +3 -3
- package/esm2022/lib/components/overlay/components/bottom-sheet/partials/bottom-sheet-container-base/bottom-sheet-container-base.component.mjs +3 -3
- package/esm2022/lib/components/overlay/components/bottom-sheet/partials/bottom-sheet-drag-handle/bottom-sheet-drag-handle.component.mjs +3 -3
- package/esm2022/lib/components/overlay/components/bottom-sheet/partials/bottom-sheet-title/bottom-sheet-title.directive.mjs +5 -15
- package/esm2022/lib/components/overlay/components/bottom-sheet/services/bottom-sheet-base.service.mjs +3 -3
- package/esm2022/lib/components/overlay/components/bottom-sheet/services/bottom-sheet-swipe-handler.service.mjs +3 -3
- package/esm2022/lib/components/overlay/components/bottom-sheet/services/bottom-sheet.service.mjs +3 -3
- package/esm2022/lib/components/overlay/components/dialog/components/dialog-container/dialog-container.component.mjs +3 -3
- package/esm2022/lib/components/overlay/components/dialog/partials/dialog-close/dialog-close.directive.mjs +3 -3
- package/esm2022/lib/components/overlay/components/dialog/partials/dialog-container-base/dialog-container-base.component.mjs +3 -3
- package/esm2022/lib/components/overlay/components/dialog/partials/dialog-title/dialog-title.directive.mjs +5 -15
- package/esm2022/lib/components/overlay/components/dialog/services/dialog-base.service.mjs +3 -3
- package/esm2022/lib/components/overlay/components/dialog/services/dialog.service.mjs +3 -3
- package/esm2022/lib/components/overlay/components/menu/context-menu-trigger.mjs +6 -6
- package/esm2022/lib/components/overlay/components/menu/menu-aim.mjs +6 -6
- package/esm2022/lib/components/overlay/components/menu/menu-bar.mjs +3 -3
- package/esm2022/lib/components/overlay/components/menu/menu-base.mjs +3 -3
- package/esm2022/lib/components/overlay/components/menu/menu-group.mjs +3 -3
- package/esm2022/lib/components/overlay/components/menu/menu-item-checkbox.mjs +3 -3
- package/esm2022/lib/components/overlay/components/menu/menu-item-radio.mjs +3 -3
- package/esm2022/lib/components/overlay/components/menu/menu-item-selectable.mjs +3 -3
- package/esm2022/lib/components/overlay/components/menu/menu-item.mjs +3 -3
- package/esm2022/lib/components/overlay/components/menu/menu-module.mjs +4 -4
- package/esm2022/lib/components/overlay/components/menu/menu-stack.mjs +3 -3
- package/esm2022/lib/components/overlay/components/menu/menu-trigger-base.mjs +3 -3
- package/esm2022/lib/components/overlay/components/menu/menu-trigger.mjs +3 -3
- package/esm2022/lib/components/overlay/components/menu/menu.mjs +3 -3
- package/esm2022/lib/components/overlay/components/toggletip/components/toggletip/toggletip.component.mjs +3 -3
- package/esm2022/lib/components/overlay/components/toggletip/directives/toggletip/toggletip.directive.mjs +3 -3
- package/esm2022/lib/components/overlay/components/tooltip/components/tooltip/tooltip.component.mjs +3 -3
- package/esm2022/lib/components/overlay/components/tooltip/directives/tooltip/tooltip.directive.mjs +3 -3
- package/esm2022/lib/components/overlay/directives/dynamic-overlay-title/dynamic-overlay-title.directive.mjs +5 -15
- package/esm2022/lib/components/overlay/services/dynamic-overlay.service.mjs +3 -3
- package/esm2022/lib/components/pagination/components/pagination/pagination.component.mjs +3 -3
- package/esm2022/lib/components/pagination/partials/pagination-link/pagination-link.directive.mjs +3 -3
- package/esm2022/lib/components/pagination/services/pagination-head.service.mjs +3 -3
- package/esm2022/lib/components/picture/picture-data.directive.mjs +3 -3
- package/esm2022/lib/components/picture/picture.component.mjs +3 -3
- package/esm2022/lib/components/progress-spinner/progress-spinner.component.mjs +3 -3
- package/esm2022/lib/components/query-error/components/query-error/query-error.component.mjs +3 -3
- package/esm2022/lib/components/query-error/directives/query-error/query-error.directive.mjs +3 -3
- package/esm2022/lib/components/scrollable/components/scrollable/scrollable.component.mjs +3 -3
- package/esm2022/lib/components/skeleton/components/skeleton/skeleton.component.mjs +3 -3
- package/esm2022/lib/components/skeleton/partials/skeleton-item/skeleton-item.component.mjs +3 -3
- package/esm2022/lib/components/sort/components/sort-header/sort-header.component.mjs +3 -3
- package/esm2022/lib/components/sort/partials/sort/sort.directive.mjs +3 -3
- package/esm2022/lib/components/sort/services/sort-header-intl.mjs +3 -3
- package/esm2022/lib/components/table/components/table/table.component.mjs +3 -3
- package/esm2022/lib/components/table/partials/cells/cell/cell.directive.mjs +3 -3
- package/esm2022/lib/components/table/partials/cells/cell-def/cell-def.directive.mjs +3 -3
- package/esm2022/lib/components/table/partials/cells/column-def/column-def.directive.mjs +3 -3
- package/esm2022/lib/components/table/partials/cells/footer-cell/footer-cell.directive.mjs +3 -3
- package/esm2022/lib/components/table/partials/cells/footer-cell-def/footer-cell-def.directive.mjs +3 -3
- package/esm2022/lib/components/table/partials/cells/header-cell/header-cell.directive.mjs +3 -3
- package/esm2022/lib/components/table/partials/cells/header-cell-def/header-cell-def.directive.mjs +3 -3
- package/esm2022/lib/components/table/partials/cells/text-column/text-column.component.mjs +3 -3
- package/esm2022/lib/components/table/partials/rows/footer-row/footer-row.component.mjs +3 -3
- package/esm2022/lib/components/table/partials/rows/footer-row-def/footer-row-def.directive.mjs +3 -3
- package/esm2022/lib/components/table/partials/rows/header-row/header-row.component.mjs +3 -3
- package/esm2022/lib/components/table/partials/rows/header-row-def/header-row-def.directive.mjs +3 -3
- package/esm2022/lib/components/table/partials/rows/no-data-row/no-data-row.directive.mjs +3 -3
- package/esm2022/lib/components/table/partials/rows/recycle-rows/recycle-rows.directive.mjs +3 -3
- package/esm2022/lib/components/table/partials/rows/row/row.component.mjs +3 -3
- package/esm2022/lib/components/table/partials/rows/row-def/row-def.directive.mjs +3 -3
- package/esm2022/lib/components/table/partials/table-busy/table-busy.directive.mjs +3 -3
- package/esm2022/lib/components/table/partials/table-busy-outlet/table-busy-outlet.directive.mjs +3 -3
- package/esm2022/lib/components/tabs/components/inline-tabs/inline-tabs.component.mjs +3 -3
- package/esm2022/lib/components/tabs/components/nav-tabs/nav-tabs.component.mjs +3 -3
- package/esm2022/lib/components/tabs/partials/inline-tabs/inline-tab/inline-tab.component.mjs +3 -3
- package/esm2022/lib/components/tabs/partials/inline-tabs/inline-tab-body/inline-tab-body.component.mjs +3 -3
- package/esm2022/lib/components/tabs/partials/inline-tabs/inline-tab-body-host/inline-tab-body-host.directive.mjs +3 -3
- package/esm2022/lib/components/tabs/partials/inline-tabs/inline-tab-content/inline-tab-content.directive.mjs +3 -3
- package/esm2022/lib/components/tabs/partials/inline-tabs/inline-tab-header/inline-tab-header.component.mjs +3 -3
- package/esm2022/lib/components/tabs/partials/inline-tabs/inline-tab-label/inline-tab-label.directive.mjs +3 -3
- package/esm2022/lib/components/tabs/partials/inline-tabs/inline-tab-label-wrapper/inline-tab-label-wrapper.directive.mjs +3 -3
- package/esm2022/lib/components/tabs/partials/nav-tabs/nav-tab-link/nav-tab-link.directive.mjs +3 -3
- package/esm2022/lib/components/tabs/partials/nav-tabs/nav-tabs-outlet/nav-tabs-outlet.component.mjs +3 -3
- package/esm2022/lib/components/tabs/utils/active-tab-underline.util.mjs +3 -3
- package/esm2022/lib/components/tabs/utils/paginated-tab-header.directive.mjs +3 -3
- package/esm2022/lib/services/swipe-handler.service.mjs +3 -3
- package/esm2022/lib/types/public-api.mjs +1 -2
- package/fesm2022/ethlete-cdk.mjs +686 -644
- package/fesm2022/ethlete-cdk.mjs.map +1 -1
- package/lib/components/forms/components/segmented-button/directives/segmented-button/segmented-button.directive.d.ts +1 -1
- package/lib/components/forms/components/segmented-button/directives/segmented-button-field/segmented-button-field.directive.d.ts +1 -1
- package/lib/components/forms/components/select/components/combobox/components/combobox/combobox.component.d.ts +1 -1
- package/lib/components/forms/components/select/components/combobox/directives/combobox/combobox.directive.d.ts +22 -11
- package/lib/components/forms/components/select/components/combobox/partials/combobox-body/combobox-body.component.d.ts +2 -1
- package/lib/components/forms/components/select/components/combobox/partials/combobox-option/combobox-option.component.d.ts +1 -0
- package/lib/components/forms/components/select/components/combobox/private/combobox.private.errors.d.ts +11 -0
- package/lib/components/forms/components/select/components/combobox/private/combobox.private.types.d.ts +26 -0
- package/lib/components/forms/components/select/components/combobox/private/index.d.ts +2 -0
- package/lib/components/forms/components/selection-list/directives/selection-list-field/selection-list-field.directive.d.ts +1 -2
- package/lib/components/forms/components/selection-list/directives/selection-list-option/selection-list-option.directive.d.ts +1 -1
- package/lib/types/public-api.d.ts +0 -1
- package/package.json +3 -3
- package/esm2022/lib/types/value.types.mjs +0 -2
- package/lib/types/value.types.d.ts +0 -2
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { InjectionToken } from '@angular/core';
|
|
2
|
-
import { Primitive } from '
|
|
2
|
+
import { Primitive } from '@ethlete/core';
|
|
3
3
|
import { InputDirective } from '../../../../directives';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
export declare const SEGMENTED_BUTTON_TOKEN: InjectionToken<SegmentedButtonDirective>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { AfterContentInit, InjectionToken } from '@angular/core';
|
|
2
|
-
import { Primitive } from '
|
|
2
|
+
import { Primitive } from '@ethlete/core';
|
|
3
3
|
import { InputStateService } from '../../../../services';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
export declare const SEGMENTED_BUTTON_FIELD_TOKEN: InjectionToken<SegmentedButtonFieldDirective>;
|
|
@@ -8,5 +8,5 @@ export declare class ComboboxComponent extends DecoratedInputBase {
|
|
|
8
8
|
protected readonly combobox: ComboboxDirective;
|
|
9
9
|
constructor();
|
|
10
10
|
static ɵfac: i0.ɵɵFactoryDeclaration<ComboboxComponent, never>;
|
|
11
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ComboboxComponent, "et-combobox", never, {}, {}, never, ["[etInputPrefix]", "[etInputSuffix]", "*"], true, [{ directive: typeof i1.AnimatedOverlayDirective; inputs: {}; outputs: {}; }, { directive: typeof i2.InputDirective; inputs: {}; outputs: {}; }, { directive: typeof i3.ComboboxDirective; inputs: { "options": "options"; "initialValue": "initialValue"; "filterInternal": "filterInternal"; "loading": "loading"; "error": "error"; "emptyText": "emptyText"; "placeholder": "placeholder"; "multiple": "multiple"; "bindLabel": "bindLabel"; "bindValue": "bindValue"; "allowCustomValues": "allowCustomValues"; }; outputs: { "filterChange": "filterChange"; }; }]>;
|
|
11
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ComboboxComponent, "et-combobox", never, {}, {}, never, ["[etInputPrefix]", "[etInputSuffix]", "*"], true, [{ directive: typeof i1.AnimatedOverlayDirective; inputs: {}; outputs: {}; }, { directive: typeof i2.InputDirective; inputs: {}; outputs: {}; }, { directive: typeof i3.ComboboxDirective; inputs: { "options": "options"; "initialValue": "initialValue"; "filterInternal": "filterInternal"; "loading": "loading"; "error": "error"; "emptyText": "emptyText"; "placeholder": "placeholder"; "multiple": "multiple"; "bindLabel": "bindLabel"; "bindValue": "bindValue"; "allowCustomValues": "allowCustomValues"; "selectedOptionComponent": "selectedOptionComponent"; "optionComponent": "optionComponent"; }; outputs: { "filterChange": "filterChange"; }; }]>;
|
|
12
12
|
}
|
|
@@ -1,11 +1,9 @@
|
|
|
1
1
|
import { ComponentType } from '@angular/cdk/overlay';
|
|
2
|
-
import { EventEmitter, InjectionToken, OnInit,
|
|
3
|
-
import { AnimatedOverlayComponentBase } from '@ethlete/core';
|
|
2
|
+
import { EventEmitter, InjectionToken, OnInit, TrackByFunction } from '@angular/core';
|
|
3
|
+
import { AnimatedOverlayComponentBase, SelectionModel, SelectionModelBinding } from '@ethlete/core';
|
|
4
|
+
import { ComponentWithOption, TemplateRefWithOption } from '../../private';
|
|
4
5
|
import * as i0 from "@angular/core";
|
|
5
6
|
export declare const COMBOBOX_TOKEN: InjectionToken<ComboboxDirective>;
|
|
6
|
-
type TemplateRefWithOption = TemplateRef<{
|
|
7
|
-
option: unknown;
|
|
8
|
-
}>;
|
|
9
7
|
export declare class ComboboxDirective implements OnInit {
|
|
10
8
|
private readonly _destroy$;
|
|
11
9
|
private readonly _input;
|
|
@@ -13,6 +11,7 @@ export declare class ComboboxDirective implements OnInit {
|
|
|
13
11
|
get options(): unknown[];
|
|
14
12
|
set options(value: unknown[]);
|
|
15
13
|
set initialValue(value: unknown);
|
|
14
|
+
private _initialValue$;
|
|
16
15
|
get filterInternal(): boolean;
|
|
17
16
|
set filterInternal(value: unknown);
|
|
18
17
|
private _filterInternal$;
|
|
@@ -28,17 +27,25 @@ export declare class ComboboxDirective implements OnInit {
|
|
|
28
27
|
set placeholder(value: string | null);
|
|
29
28
|
private _placeholder$;
|
|
30
29
|
set multiple(value: unknown);
|
|
31
|
-
set bindLabel(value:
|
|
32
|
-
set bindValue(value:
|
|
30
|
+
set bindLabel(value: SelectionModelBinding | null);
|
|
31
|
+
set bindValue(value: SelectionModelBinding | null);
|
|
32
|
+
set bindKey(value: SelectionModelBinding | null);
|
|
33
33
|
get allowCustomValues(): boolean;
|
|
34
34
|
set allowCustomValues(value: unknown);
|
|
35
35
|
private _allowCustomValues$;
|
|
36
|
+
get optionComponent(): ComponentWithOption | null;
|
|
37
|
+
set optionComponent(component: ComponentWithOption | null);
|
|
38
|
+
private readonly _optionComponent$;
|
|
39
|
+
get selectedOptionComponent(): ComponentWithOption | null;
|
|
40
|
+
set selectedOptionComponent(component: ComponentWithOption | null);
|
|
41
|
+
private readonly _selectedOptionComponent$;
|
|
36
42
|
protected readonly filterChange: EventEmitter<string>;
|
|
43
|
+
private _shouldIgnoreNextBlurEvent;
|
|
37
44
|
private get _currentFilter();
|
|
38
45
|
private readonly _currentFilter$;
|
|
39
46
|
private get _isOpen();
|
|
40
47
|
private readonly _isOpen$;
|
|
41
|
-
|
|
48
|
+
readonly _selectionModel: SelectionModel<unknown>;
|
|
42
49
|
private readonly _activeSelectionModel;
|
|
43
50
|
readonly selectedOptions$: import("rxjs").Observable<unknown[]>;
|
|
44
51
|
readonly multiple$: import("rxjs").Observable<boolean>;
|
|
@@ -51,7 +58,9 @@ export declare class ComboboxDirective implements OnInit {
|
|
|
51
58
|
readonly _bindings: import("@ethlete/core").ReactiveBindingResult;
|
|
52
59
|
private _comboboxBodyComponent;
|
|
53
60
|
readonly customOptionTpl$: import("rxjs").Observable<TemplateRefWithOption | null>;
|
|
61
|
+
readonly customOptionComponent$: import("rxjs").Observable<ComponentWithOption | null>;
|
|
54
62
|
readonly customSelectedOptionTpl$: import("rxjs").Observable<TemplateRefWithOption | null>;
|
|
63
|
+
readonly customSelectedOptionComponent$: import("rxjs").Observable<ComponentWithOption | null>;
|
|
55
64
|
constructor();
|
|
56
65
|
ngOnInit(): void;
|
|
57
66
|
setBodyComponent(component: ComponentType<AnimatedOverlayComponentBase>): void;
|
|
@@ -60,10 +69,13 @@ export declare class ComboboxDirective implements OnInit {
|
|
|
60
69
|
removeSelectedOption(option: unknown): void;
|
|
61
70
|
open(): void;
|
|
62
71
|
close(): void;
|
|
72
|
+
focus(): void;
|
|
63
73
|
selectInputAndOpen(): void;
|
|
64
74
|
writeValueFromOption(option: unknown): void;
|
|
65
75
|
isOptionSelected(option: unknown): import("rxjs").Observable<boolean>;
|
|
66
76
|
isOptionActive(option: unknown): import("rxjs").Observable<boolean>;
|
|
77
|
+
trackByOptionKeyFn: TrackByFunction<unknown>;
|
|
78
|
+
_ignoreNextBlurEvent(): void;
|
|
67
79
|
_processKeydownEvent(event: KeyboardEvent): void;
|
|
68
80
|
_processInputEvent(event: Event): void;
|
|
69
81
|
_handleBlurEvent(): void;
|
|
@@ -72,8 +84,7 @@ export declare class ComboboxDirective implements OnInit {
|
|
|
72
84
|
private _setFilterFromInputValue;
|
|
73
85
|
private _interpretKeyHandlerResult;
|
|
74
86
|
private _debugValidateComboboxConfig;
|
|
75
|
-
private
|
|
87
|
+
private _debugValidateOptionAndInitialValueSchema;
|
|
76
88
|
static ɵfac: i0.ɵɵFactoryDeclaration<ComboboxDirective, never>;
|
|
77
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<ComboboxDirective, never, never, { "options": { "alias": "options"; "required": true; }; "initialValue": { "alias": "initialValue"; "required": false; }; "filterInternal": { "alias": "filterInternal"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "error": { "alias": "error"; "required": false; }; "emptyText": { "alias": "emptyText"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "multiple": { "alias": "multiple"; "required": false; }; "bindLabel": { "alias": "bindLabel"; "required": false; }; "bindValue": { "alias": "bindValue"; "required": false; }; "allowCustomValues": { "alias": "allowCustomValues"; "required": false; }; }, { "filterChange": "filterChange"; }, ["optionTemplate", "selectedOptionTemplate"], never, true, never>;
|
|
89
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ComboboxDirective, never, never, { "options": { "alias": "options"; "required": true; }; "initialValue": { "alias": "initialValue"; "required": false; }; "filterInternal": { "alias": "filterInternal"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "error": { "alias": "error"; "required": false; }; "emptyText": { "alias": "emptyText"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "multiple": { "alias": "multiple"; "required": false; }; "bindLabel": { "alias": "bindLabel"; "required": false; }; "bindValue": { "alias": "bindValue"; "required": false; }; "bindKey": { "alias": "bindKey"; "required": false; }; "allowCustomValues": { "alias": "allowCustomValues"; "required": false; }; "optionComponent": { "alias": "optionComponent"; "required": false; }; "selectedOptionComponent": { "alias": "selectedOptionComponent"; "required": false; }; }, { "filterChange": "filterChange"; }, ["optionTemplate", "selectedOptionTemplate"], never, true, never>;
|
|
78
90
|
}
|
|
79
|
-
export {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { InjectionToken, OnInit, TemplateRef } from '@angular/core';
|
|
1
|
+
import { InjectionToken, OnInit, TemplateRef, TrackByFunction } from '@angular/core';
|
|
2
2
|
import { AnimatedLifecycleDirective } from '@ethlete/core';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
import * as i1 from "@ethlete/core";
|
|
@@ -11,6 +11,7 @@ export declare class ComboboxBodyComponent implements OnInit {
|
|
|
11
11
|
readonly _bindings: import("@ethlete/core").ReactiveBindingResult;
|
|
12
12
|
_bodyTemplate: TemplateRef<unknown> | null;
|
|
13
13
|
ngOnInit(): void;
|
|
14
|
+
protected trackByFn: TrackByFunction<unknown>;
|
|
14
15
|
static ɵfac: i0.ɵɵFactoryDeclaration<ComboboxBodyComponent, never>;
|
|
15
16
|
static ɵcmp: i0.ɵɵComponentDeclaration<ComboboxBodyComponent, "et-combobox-body", never, {}, {}, never, never, true, [{ directive: typeof i1.ClickOutsideDirective; inputs: {}; outputs: {}; }]>;
|
|
16
17
|
}
|
|
@@ -11,6 +11,7 @@ export declare class ComboboxOptionComponent {
|
|
|
11
11
|
protected readonly active$: import("rxjs").Observable<boolean>;
|
|
12
12
|
readonly _bindings: import("@ethlete/core").ReactiveBindingResult;
|
|
13
13
|
protected selectOption(): void;
|
|
14
|
+
protected ignoreBlur(): void;
|
|
14
15
|
static ɵfac: i0.ɵɵFactoryDeclaration<ComboboxOptionComponent, never>;
|
|
15
16
|
static ɵcmp: i0.ɵɵComponentDeclaration<ComboboxOptionComponent, "et-combobox-option", never, { "option": { "alias": "option"; "required": true; }; }, {}, never, never, true, never>;
|
|
16
17
|
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { ComponentType } from '@angular/cdk/overlay';
|
|
2
|
+
import { AnimatedOverlayComponentBase } from '@ethlete/core';
|
|
3
|
+
export declare const COMBOBOX_ERRORS: {
|
|
4
|
+
readonly options_object_mismatch: "Expected options to be an array of objects. This is due to \"bindLabel\" and \"bindValue\" being set.";
|
|
5
|
+
readonly options_primitive_mismatch: "Expected options to be an array of primitives. This is due to \"bindLabel\" and \"bindValue\" not being set or \"allowCustomValues\" being set to true.";
|
|
6
|
+
readonly body_unset: "Combobox body component is not set";
|
|
7
|
+
readonly init_val_primitive_mismatch: "Combobox options are a primitive array, but the supplied \"initialValue\" is not a primitive";
|
|
8
|
+
readonly init_val_object_mismatch: "Combobox options are an object array, but the supplied \"initialValue\" is not an object";
|
|
9
|
+
};
|
|
10
|
+
export declare const comboboxError: (code: keyof typeof COMBOBOX_ERRORS, devOnly: boolean, data?: unknown) => never;
|
|
11
|
+
export declare function assetComboboxBodyComponentSet(component: ComponentType<AnimatedOverlayComponentBase> | null): asserts component is ComponentType<AnimatedOverlayComponentBase>;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { ComponentType } from '@angular/cdk/portal';
|
|
2
|
+
import { TemplateRef } from '@angular/core';
|
|
3
|
+
export declare const ComboboxOptionType: {
|
|
4
|
+
readonly Primitive: "primitive";
|
|
5
|
+
readonly Object: "object";
|
|
6
|
+
};
|
|
7
|
+
export interface KeyHandlerResult {
|
|
8
|
+
setFilter?: string;
|
|
9
|
+
overlayOperation?: 'open' | 'close';
|
|
10
|
+
optionAction?: {
|
|
11
|
+
type: 'add';
|
|
12
|
+
option: unknown;
|
|
13
|
+
} | {
|
|
14
|
+
type: 'remove';
|
|
15
|
+
option: unknown;
|
|
16
|
+
} | {
|
|
17
|
+
type: 'toggle';
|
|
18
|
+
option: unknown;
|
|
19
|
+
} | 'clear' | 'toggleAll';
|
|
20
|
+
}
|
|
21
|
+
export type TemplateRefWithOption = TemplateRef<{
|
|
22
|
+
option: unknown;
|
|
23
|
+
}>;
|
|
24
|
+
export type ComponentWithOption = ComponentType<{
|
|
25
|
+
option: any;
|
|
26
|
+
}>;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { InjectionToken } from '@angular/core';
|
|
2
|
-
import { TypedQueryList } from '@ethlete/core';
|
|
3
|
-
import { Primitive } from '../../../../../../types';
|
|
2
|
+
import { Primitive, TypedQueryList } from '@ethlete/core';
|
|
4
3
|
import { InputDirective } from '../../../../directives';
|
|
5
4
|
import { SelectionListOptionDirective } from '../selection-list-option';
|
|
6
5
|
import * as i0 from "@angular/core";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ElementRef, InjectionToken } from '@angular/core';
|
|
2
|
-
import { Primitive } from '
|
|
2
|
+
import { Primitive } from '@ethlete/core';
|
|
3
3
|
import { InputDirective } from '../../../../directives';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
export declare const SELECTION_LIST_OPTION: InjectionToken<SelectionListOptionDirective>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ethlete/cdk",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.5.1",
|
|
4
4
|
"exports": {
|
|
5
5
|
".": {
|
|
6
6
|
"css": "./src/lib/styles/index.css",
|
|
@@ -19,8 +19,8 @@
|
|
|
19
19
|
"peerDependencies": {
|
|
20
20
|
"@angular/common": "^15.2.1 || ^16.0.0",
|
|
21
21
|
"@angular/core": "^15.2.1 || ^16.0.0",
|
|
22
|
-
"@ethlete/core": "3.
|
|
23
|
-
"@angular/animations": "16.2.
|
|
22
|
+
"@ethlete/core": "3.2.0",
|
|
23
|
+
"@angular/animations": "16.2.1",
|
|
24
24
|
"@ethlete/query": "4.9.2"
|
|
25
25
|
},
|
|
26
26
|
"module": "fesm2022/ethlete-cdk.mjs",
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
export {};
|
|
2
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidmFsdWUudHlwZXMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9saWJzL2Nkay9zcmMvbGliL3R5cGVzL3ZhbHVlLnR5cGVzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiIiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgdHlwZSBQcmltaXRpdmUgPSBzdHJpbmcgfCBudW1iZXIgfCBib29sZWFuIHwgbnVsbCB8IHVuZGVmaW5lZCB8IHN5bWJvbCB8IGJpZ2ludDtcbmV4cG9ydCB0eXBlIFJlZmVyZW5jZSA9IFJlY29yZDxzdHJpbmcsIHVua25vd24+IHwgQXJyYXk8dW5rbm93bj47XG4iXX0=
|