@taiga-ui/core 3.14.0-dev.main-3f74fe5 → 3.14.0-dev.main-49a682e
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/bundles/taiga-ui-core-components-alert.umd.js +11 -11
- package/bundles/taiga-ui-core-components-alert.umd.js.map +1 -1
- package/bundles/taiga-ui-core-components-button.umd.js +16 -16
- package/bundles/taiga-ui-core-components-button.umd.js.map +1 -1
- package/bundles/taiga-ui-core-components-calendar.umd.js +3 -3
- package/bundles/taiga-ui-core-components-calendar.umd.js.map +1 -1
- package/bundles/taiga-ui-core-components-data-list.umd.js +33 -36
- package/bundles/taiga-ui-core-components-data-list.umd.js.map +1 -1
- package/bundles/taiga-ui-core-components-dialog.umd.js +16 -16
- package/bundles/taiga-ui-core-components-dialog.umd.js.map +1 -1
- package/bundles/taiga-ui-core-components-error.umd.js +5 -5
- package/bundles/taiga-ui-core-components-error.umd.js.map +1 -1
- package/bundles/taiga-ui-core-components-expand.umd.js +14 -14
- package/bundles/taiga-ui-core-components-expand.umd.js.map +1 -1
- package/bundles/taiga-ui-core-components-group.umd.js +17 -17
- package/bundles/taiga-ui-core-components-group.umd.js.map +1 -1
- package/bundles/taiga-ui-core-components-hints-host.umd.js +4 -4
- package/bundles/taiga-ui-core-components-hints-host.umd.js.map +1 -1
- package/bundles/taiga-ui-core-components-hosted-dropdown.umd.js +12 -12
- package/bundles/taiga-ui-core-components-hosted-dropdown.umd.js.map +1 -1
- package/bundles/taiga-ui-core-components-label.umd.js +6 -6
- package/bundles/taiga-ui-core-components-label.umd.js.map +1 -1
- package/bundles/taiga-ui-core-components-link.umd.js +14 -14
- package/bundles/taiga-ui-core-components-link.umd.js.map +1 -1
- package/bundles/taiga-ui-core-components-loader.umd.js +5 -5
- package/bundles/taiga-ui-core-components-loader.umd.js.map +1 -1
- package/bundles/taiga-ui-core-components-notification.umd.js +10 -10
- package/bundles/taiga-ui-core-components-notification.umd.js.map +1 -1
- package/bundles/taiga-ui-core-components-primitive-calendar.umd.js +5 -5
- package/bundles/taiga-ui-core-components-primitive-calendar.umd.js.map +1 -1
- package/bundles/taiga-ui-core-components-primitive-checkbox.umd.js +5 -5
- package/bundles/taiga-ui-core-components-primitive-checkbox.umd.js.map +1 -1
- package/bundles/taiga-ui-core-components-primitive-spin-button.umd.js +5 -5
- package/bundles/taiga-ui-core-components-primitive-spin-button.umd.js.map +1 -1
- package/bundles/taiga-ui-core-components-primitive-textfield.umd.js +57 -57
- package/bundles/taiga-ui-core-components-primitive-textfield.umd.js.map +1 -1
- package/bundles/taiga-ui-core-components-primitive-year-picker.umd.js +4 -4
- package/bundles/taiga-ui-core-components-primitive-year-picker.umd.js.map +1 -1
- package/bundles/taiga-ui-core-components-root.umd.js +6 -6
- package/bundles/taiga-ui-core-components-root.umd.js.map +1 -1
- package/bundles/taiga-ui-core-components-scroll-controls.umd.js +28 -28
- package/bundles/taiga-ui-core-components-scroll-controls.umd.js.map +1 -1
- package/bundles/taiga-ui-core-components-scrollbar.umd.js +10 -10
- package/bundles/taiga-ui-core-components-scrollbar.umd.js.map +1 -1
- package/bundles/taiga-ui-core-components-svg.umd.js +18 -18
- package/bundles/taiga-ui-core-components-svg.umd.js.map +1 -1
- package/bundles/taiga-ui-core-components-theme-night.umd.js +4 -4
- package/bundles/taiga-ui-core-components-theme-night.umd.js.map +1 -1
- package/bundles/taiga-ui-core-components-tooltip.umd.js +9 -9
- package/bundles/taiga-ui-core-components-tooltip.umd.js.map +1 -1
- package/bundles/taiga-ui-core-directives-dropdown.umd.js +87 -83
- package/bundles/taiga-ui-core-directives-dropdown.umd.js.map +1 -1
- package/bundles/taiga-ui-core-directives-hint.umd.js +61 -61
- package/bundles/taiga-ui-core-directives-hint.umd.js.map +1 -1
- package/bundles/taiga-ui-core-directives-mask-accessor.umd.js +1 -1
- package/bundles/taiga-ui-core-directives-mask-accessor.umd.js.map +1 -1
- package/bundles/taiga-ui-core-directives-mode.umd.js +2 -2
- package/bundles/taiga-ui-core-directives-mode.umd.js.map +1 -1
- package/bundles/taiga-ui-core-directives-scroll-into-view.umd.js +1 -1
- package/bundles/taiga-ui-core-directives-scroll-into-view.umd.js.map +1 -1
- package/bundles/taiga-ui-core-directives-textfield-controller.umd.js +34 -34
- package/bundles/taiga-ui-core-directives-textfield-controller.umd.js.map +1 -1
- package/bundles/taiga-ui-core-directives-wrapper.umd.js +9 -9
- package/bundles/taiga-ui-core-directives-wrapper.umd.js.map +1 -1
- package/bundles/taiga-ui-core-internal-primitive-year-month-pagination.umd.js +3 -3
- package/bundles/taiga-ui-core-internal-primitive-year-month-pagination.umd.js.map +1 -1
- package/bundles/taiga-ui-core-internal-svg-defs-host.umd.js +3 -3
- package/bundles/taiga-ui-core-internal-svg-defs-host.umd.js.map +1 -1
- package/directives/dropdown/dropdown-context.directive.d.ts +4 -4
- package/directives/dropdown/dropdown-options.directive.d.ts +3 -5
- package/directives/dropdown/dropdown.directive.d.ts +1 -1
- package/esm2015/components/alert/alert.component.js +12 -12
- package/esm2015/components/button/button.component.js +17 -17
- package/esm2015/components/calendar/calendar.component.js +4 -4
- package/esm2015/components/data-list/data-list.component.js +16 -16
- package/esm2015/components/data-list/data-list.directive.js +2 -2
- package/esm2015/components/data-list/opt-group.directive.js +5 -5
- package/esm2015/components/data-list/option/option.component.js +14 -17
- package/esm2015/components/dialog/dialog.component.js +14 -14
- package/esm2015/components/dialog/dialog.directive.js +4 -4
- package/esm2015/components/error/error.component.js +6 -6
- package/esm2015/components/expand/expand-content.directive.js +2 -2
- package/esm2015/components/expand/expand.component.js +14 -14
- package/esm2015/components/group/group-styles.component.js +4 -4
- package/esm2015/components/group/group.directive.js +15 -15
- package/esm2015/components/hints-host/hints-host.component.js +5 -5
- package/esm2015/components/hosted-dropdown/hosted-dropdown-connector.directive.js +2 -2
- package/esm2015/components/hosted-dropdown/hosted-dropdown.component.js +12 -12
- package/esm2015/components/label/label.component.js +7 -7
- package/esm2015/components/link/link.component.js +15 -15
- package/esm2015/components/loader/loader.component.js +6 -6
- package/esm2015/components/notification/notification.component.js +11 -11
- package/esm2015/components/primitive-calendar/primitive-calendar.component.js +6 -6
- package/esm2015/components/primitive-checkbox/primitive-checkbox.component.js +6 -6
- package/esm2015/components/primitive-spin-button/primitive-spin-button.component.js +6 -6
- package/esm2015/components/primitive-textfield/primitive-textfield.component.js +32 -32
- package/esm2015/components/primitive-textfield/primitive-textfield.directive.js +2 -2
- package/esm2015/components/primitive-textfield/textfield/textfield.component.js +13 -13
- package/esm2015/components/primitive-textfield/value-decoration/value-decoration.component.js +14 -14
- package/esm2015/components/primitive-year-picker/primitive-year-picker.component.js +5 -5
- package/esm2015/components/root/root.component.js +7 -7
- package/esm2015/components/scroll-controls/scroll-controls.component.js +6 -6
- package/esm2015/components/scroll-controls/scrollbar-wrapper.directive.js +2 -2
- package/esm2015/components/scroll-controls/scrollbar.directive.js +23 -23
- package/esm2015/components/scrollbar/scroll-ref.directive.js +2 -2
- package/esm2015/components/scrollbar/scrollable.directive.js +2 -2
- package/esm2015/components/scrollbar/scrollbar.component.js +9 -9
- package/esm2015/components/svg/svg.component.js +19 -19
- package/esm2015/components/theme-night/theme-night.component.js +5 -5
- package/esm2015/components/tooltip/tooltip.component.js +10 -10
- package/esm2015/directives/dropdown/dropdown-context.directive.js +16 -16
- package/esm2015/directives/dropdown/dropdown-driver.directive.js +2 -2
- package/esm2015/directives/dropdown/dropdown-host.directive.js +2 -2
- package/esm2015/directives/dropdown/dropdown-hover.directive.js +4 -4
- package/esm2015/directives/dropdown/dropdown-manual.directive.js +2 -2
- package/esm2015/directives/dropdown/dropdown-options.directive.js +19 -15
- package/esm2015/directives/dropdown/dropdown-position-sided.directive.js +12 -12
- package/esm2015/directives/dropdown/dropdown-position.directive.js +11 -11
- package/esm2015/directives/dropdown/dropdown-selection.directive.js +11 -11
- package/esm2015/directives/dropdown/dropdown.component.js +17 -17
- package/esm2015/directives/dropdown/dropdown.directive.js +7 -7
- package/esm2015/directives/hint/hint-describe.directive.js +5 -5
- package/esm2015/directives/hint/hint-driver.directive.js +2 -2
- package/esm2015/directives/hint/hint-host.directive.js +2 -2
- package/esm2015/directives/hint/hint-hover.directive.js +5 -5
- package/esm2015/directives/hint/hint-manual.directive.js +2 -2
- package/esm2015/directives/hint/hint-options.directive.js +12 -12
- package/esm2015/directives/hint/hint-pointer.directive.js +3 -3
- package/esm2015/directives/hint/hint-position.directive.js +25 -25
- package/esm2015/directives/hint/hint.component.js +10 -10
- package/esm2015/directives/hint/hint.directive.js +5 -5
- package/esm2015/directives/mask-accessor/mask-accessor.directive.js +2 -2
- package/esm2015/directives/mode/mode.directive.js +3 -3
- package/esm2015/directives/scroll-into-view/scroll-into-view.directive.js +2 -2
- package/esm2015/directives/textfield-controller/textfield-cleaner.directive.js +4 -4
- package/esm2015/directives/textfield-controller/textfield-custom-content.directive.js +5 -5
- package/esm2015/directives/textfield-controller/textfield-filler.directive.js +5 -5
- package/esm2015/directives/textfield-controller/textfield-icon-left.directive.js +5 -5
- package/esm2015/directives/textfield-controller/textfield-icon.directive.js +5 -5
- package/esm2015/directives/textfield-controller/textfield-label-outside.directive.js +4 -4
- package/esm2015/directives/textfield-controller/textfield-postfix.directive.js +5 -5
- package/esm2015/directives/textfield-controller/textfield-prefix.directive.js +5 -5
- package/esm2015/directives/textfield-controller/textfield-size.directive.js +5 -5
- package/esm2015/directives/wrapper/wrapper.directive.js +10 -10
- package/esm2015/internal/primitive-year-month-pagination/primitive-year-month-pagination.component.js +4 -4
- package/esm2015/internal/svg-defs-host/svg-defs-host.component.js +4 -4
- package/fesm2015/taiga-ui-core-components-alert.js +11 -11
- package/fesm2015/taiga-ui-core-components-alert.js.map +1 -1
- package/fesm2015/taiga-ui-core-components-button.js +16 -16
- package/fesm2015/taiga-ui-core-components-button.js.map +1 -1
- package/fesm2015/taiga-ui-core-components-calendar.js +3 -3
- package/fesm2015/taiga-ui-core-components-calendar.js.map +1 -1
- package/fesm2015/taiga-ui-core-components-data-list.js +33 -36
- package/fesm2015/taiga-ui-core-components-data-list.js.map +1 -1
- package/fesm2015/taiga-ui-core-components-dialog.js +16 -16
- package/fesm2015/taiga-ui-core-components-dialog.js.map +1 -1
- package/fesm2015/taiga-ui-core-components-error.js +5 -5
- package/fesm2015/taiga-ui-core-components-error.js.map +1 -1
- package/fesm2015/taiga-ui-core-components-expand.js +14 -14
- package/fesm2015/taiga-ui-core-components-expand.js.map +1 -1
- package/fesm2015/taiga-ui-core-components-group.js +17 -17
- package/fesm2015/taiga-ui-core-components-group.js.map +1 -1
- package/fesm2015/taiga-ui-core-components-hints-host.js +4 -4
- package/fesm2015/taiga-ui-core-components-hints-host.js.map +1 -1
- package/fesm2015/taiga-ui-core-components-hosted-dropdown.js +12 -12
- package/fesm2015/taiga-ui-core-components-hosted-dropdown.js.map +1 -1
- package/fesm2015/taiga-ui-core-components-label.js +6 -6
- package/fesm2015/taiga-ui-core-components-label.js.map +1 -1
- package/fesm2015/taiga-ui-core-components-link.js +14 -14
- package/fesm2015/taiga-ui-core-components-link.js.map +1 -1
- package/fesm2015/taiga-ui-core-components-loader.js +5 -5
- package/fesm2015/taiga-ui-core-components-loader.js.map +1 -1
- package/fesm2015/taiga-ui-core-components-notification.js +10 -10
- package/fesm2015/taiga-ui-core-components-notification.js.map +1 -1
- package/fesm2015/taiga-ui-core-components-primitive-calendar.js +5 -5
- package/fesm2015/taiga-ui-core-components-primitive-calendar.js.map +1 -1
- package/fesm2015/taiga-ui-core-components-primitive-checkbox.js +5 -5
- package/fesm2015/taiga-ui-core-components-primitive-checkbox.js.map +1 -1
- package/fesm2015/taiga-ui-core-components-primitive-spin-button.js +5 -5
- package/fesm2015/taiga-ui-core-components-primitive-spin-button.js.map +1 -1
- package/fesm2015/taiga-ui-core-components-primitive-textfield.js +57 -57
- package/fesm2015/taiga-ui-core-components-primitive-textfield.js.map +1 -1
- package/fesm2015/taiga-ui-core-components-primitive-year-picker.js +4 -4
- package/fesm2015/taiga-ui-core-components-primitive-year-picker.js.map +1 -1
- package/fesm2015/taiga-ui-core-components-root.js +6 -6
- package/fesm2015/taiga-ui-core-components-root.js.map +1 -1
- package/fesm2015/taiga-ui-core-components-scroll-controls.js +28 -28
- package/fesm2015/taiga-ui-core-components-scroll-controls.js.map +1 -1
- package/fesm2015/taiga-ui-core-components-scrollbar.js +10 -10
- package/fesm2015/taiga-ui-core-components-scrollbar.js.map +1 -1
- package/fesm2015/taiga-ui-core-components-svg.js +18 -18
- package/fesm2015/taiga-ui-core-components-svg.js.map +1 -1
- package/fesm2015/taiga-ui-core-components-theme-night.js +4 -4
- package/fesm2015/taiga-ui-core-components-theme-night.js.map +1 -1
- package/fesm2015/taiga-ui-core-components-tooltip.js +9 -9
- package/fesm2015/taiga-ui-core-components-tooltip.js.map +1 -1
- package/fesm2015/taiga-ui-core-directives-dropdown.js +89 -84
- package/fesm2015/taiga-ui-core-directives-dropdown.js.map +1 -1
- package/fesm2015/taiga-ui-core-directives-hint.js +61 -61
- package/fesm2015/taiga-ui-core-directives-hint.js.map +1 -1
- package/fesm2015/taiga-ui-core-directives-mask-accessor.js +1 -1
- package/fesm2015/taiga-ui-core-directives-mask-accessor.js.map +1 -1
- package/fesm2015/taiga-ui-core-directives-mode.js +2 -2
- package/fesm2015/taiga-ui-core-directives-mode.js.map +1 -1
- package/fesm2015/taiga-ui-core-directives-scroll-into-view.js +1 -1
- package/fesm2015/taiga-ui-core-directives-scroll-into-view.js.map +1 -1
- package/fesm2015/taiga-ui-core-directives-textfield-controller.js +34 -34
- package/fesm2015/taiga-ui-core-directives-textfield-controller.js.map +1 -1
- package/fesm2015/taiga-ui-core-directives-wrapper.js +9 -9
- package/fesm2015/taiga-ui-core-directives-wrapper.js.map +1 -1
- package/fesm2015/taiga-ui-core-internal-primitive-year-month-pagination.js +3 -3
- package/fesm2015/taiga-ui-core-internal-primitive-year-month-pagination.js.map +1 -1
- package/fesm2015/taiga-ui-core-internal-svg-defs-host.js +3 -3
- package/fesm2015/taiga-ui-core-internal-svg-defs-host.js.map +1 -1
- package/package.json +2 -2
|
@@ -2,7 +2,7 @@ import * as i0 from '@angular/core';
|
|
|
2
2
|
import { InjectionToken, ElementRef, INJECTOR, Directive, Inject, Input, Optional, SkipSelf, forwardRef, Component, ChangeDetectionStrategy, Self, HostBinding, HostListener, ViewContainerRef, NgModule } from '@angular/core';
|
|
3
3
|
import { WINDOW } from '@ng-web-apis/common';
|
|
4
4
|
import * as i2 from '@taiga-ui/cdk';
|
|
5
|
-
import { TuiDropdownPortalService, tuiDefaultProp, tuiPure, TuiHoveredService, tuiPx, tuiGetClosestFocusable, TuiDestroyService, AbstractTuiPortalHostComponent, EMPTY_CLIENT_RECT, tuiPointToClientRect, ALWAYS_TRUE_HANDLER, tuiIsTextNode, tuiIsString, tuiIsElement, tuiGetNativeFocused, tuiIsTextfield, CHAR_ZERO_WIDTH_SPACE, CHAR_NO_BREAK_SPACE, TUI_RANGE, TuiActiveZoneModule, TuiOverscrollModule, TuiHoveredModule } from '@taiga-ui/cdk';
|
|
5
|
+
import { TuiDropdownPortalService, tuiDefaultProp, tuiPure, TuiHoveredService, tuiPx, tuiGetClosestFocusable, TuiDestroyService, AbstractTuiPortalHostComponent, EMPTY_CLIENT_RECT, tuiPointToClientRect, TuiActiveZoneDirective, ALWAYS_TRUE_HANDLER, tuiIsTextNode, tuiIsString, tuiIsElement, tuiGetNativeFocused, tuiIsTextfield, CHAR_ZERO_WIDTH_SPACE, CHAR_NO_BREAK_SPACE, TUI_RANGE, TuiActiveZoneModule, TuiOverscrollModule, TuiHoveredModule } from '@taiga-ui/cdk';
|
|
6
6
|
import * as i1$2 from '@taiga-ui/core/abstract';
|
|
7
7
|
import { tuiAsRectAccessor, tuiAsVehicle, TuiDriver, tuiAsDriver, TuiRectAccessor, AbstractTuiDriverDirective, tuiAsPositionAccessor } from '@taiga-ui/core/abstract';
|
|
8
8
|
import { tuiDropdownAnimation } from '@taiga-ui/core/animations';
|
|
@@ -30,13 +30,13 @@ class TuiDropdownDirective {
|
|
|
30
30
|
this.elementRef = elementRef;
|
|
31
31
|
this.component = component;
|
|
32
32
|
this.dropdownService = dropdownService;
|
|
33
|
-
this.content =
|
|
33
|
+
this.content = '';
|
|
34
34
|
this.dropdownBoxRef = null;
|
|
35
35
|
}
|
|
36
36
|
get position() {
|
|
37
37
|
return tuiCheckFixedPosition(this.elementRef.nativeElement)
|
|
38
|
-
?
|
|
39
|
-
:
|
|
38
|
+
? 'fixed'
|
|
39
|
+
: 'absolute';
|
|
40
40
|
}
|
|
41
41
|
ngAfterViewChecked() {
|
|
42
42
|
var _a, _b;
|
|
@@ -83,8 +83,8 @@ __decorate([
|
|
|
83
83
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TuiDropdownDirective, decorators: [{
|
|
84
84
|
type: Directive,
|
|
85
85
|
args: [{
|
|
86
|
-
selector:
|
|
87
|
-
exportAs:
|
|
86
|
+
selector: '[tuiDropdown]:not(ng-container)',
|
|
87
|
+
exportAs: 'tuiDropdown',
|
|
88
88
|
providers: [
|
|
89
89
|
tuiAsRectAccessor(TuiDropdownDirective),
|
|
90
90
|
tuiAsVehicle(TuiDropdownDirective),
|
|
@@ -106,7 +106,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
106
106
|
args: [TuiDropdownPortalService]
|
|
107
107
|
}] }]; }, propDecorators: { content: [{
|
|
108
108
|
type: Input,
|
|
109
|
-
args: [
|
|
109
|
+
args: ['tuiDropdown']
|
|
110
110
|
}], position: [] } });
|
|
111
111
|
|
|
112
112
|
class TuiDropdownHoverDirective extends TuiDriver {
|
|
@@ -133,7 +133,7 @@ __decorate([
|
|
|
133
133
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TuiDropdownHoverDirective, decorators: [{
|
|
134
134
|
type: Directive,
|
|
135
135
|
args: [{
|
|
136
|
-
selector:
|
|
136
|
+
selector: '[tuiDropdownHover]:not(ng-container)',
|
|
137
137
|
providers: [tuiAsDriver(TuiDropdownHoverDirective), TuiHoveredService],
|
|
138
138
|
}]
|
|
139
139
|
}], ctorParameters: function () { return [{ type: i5.Observable, decorators: [{
|
|
@@ -141,25 +141,22 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
141
141
|
args: [TuiHoveredService]
|
|
142
142
|
}] }]; }, propDecorators: { showDelay: [{
|
|
143
143
|
type: Input,
|
|
144
|
-
args: [
|
|
144
|
+
args: ['tuiDropdownShowDelay']
|
|
145
145
|
}], hideDelay: [{
|
|
146
146
|
type: Input,
|
|
147
|
-
args: [
|
|
147
|
+
args: ['tuiDropdownHideDelay']
|
|
148
148
|
}] } });
|
|
149
149
|
|
|
150
|
-
/**
|
|
151
|
-
* Safe space around host and screen edges
|
|
152
|
-
*/
|
|
153
|
-
const TUI_DROPDOWN_OFFSET = 4;
|
|
154
150
|
/** Default values for dropdown options */
|
|
155
151
|
const TUI_DROPDOWN_DEFAULT_OPTIONS = {
|
|
156
|
-
align:
|
|
152
|
+
align: 'left',
|
|
157
153
|
direction: null,
|
|
158
|
-
limitWidth:
|
|
154
|
+
limitWidth: 'auto',
|
|
159
155
|
maxHeight: 400,
|
|
160
156
|
minHeight: 80,
|
|
157
|
+
offset: 4,
|
|
161
158
|
};
|
|
162
|
-
const TUI_DROPDOWN_OPTIONS = new InjectionToken(
|
|
159
|
+
const TUI_DROPDOWN_OPTIONS = new InjectionToken('[TUI_DROPDOWN_OPTIONS] Default parameters for dropdown directive', {
|
|
163
160
|
factory: () => TUI_DROPDOWN_DEFAULT_OPTIONS,
|
|
164
161
|
});
|
|
165
162
|
const tuiDropdownOptionsProvider = (override) => ({
|
|
@@ -178,10 +175,11 @@ class TuiDropdownOptionsDirective {
|
|
|
178
175
|
this.limitWidth = this.options.limitWidth;
|
|
179
176
|
this.minHeight = this.options.minHeight;
|
|
180
177
|
this.maxHeight = this.options.maxHeight;
|
|
178
|
+
this.offset = this.options.offset;
|
|
181
179
|
}
|
|
182
180
|
}
|
|
183
181
|
TuiDropdownOptionsDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TuiDropdownOptionsDirective, deps: [{ token: TUI_DROPDOWN_OPTIONS, skipSelf: true }], target: i0.ɵɵFactoryTarget.Directive });
|
|
184
|
-
TuiDropdownOptionsDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: TuiDropdownOptionsDirective, selector: "[tuiDropdownAlign], [tuiDropdownDirection], [tuiDropdownLimitWidth], [tuiDropdownMinHeight], [tuiDropdownMaxHeight]", inputs: { align: ["tuiDropdownAlign", "align"], direction: ["tuiDropdownDirection", "direction"], limitWidth: ["tuiDropdownLimitWidth", "limitWidth"], minHeight: ["tuiDropdownMinHeight", "minHeight"], maxHeight: ["tuiDropdownMaxHeight", "maxHeight"] }, providers: [
|
|
182
|
+
TuiDropdownOptionsDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: TuiDropdownOptionsDirective, selector: "[tuiDropdownAlign], [tuiDropdownDirection], [tuiDropdownLimitWidth], [tuiDropdownMinHeight], [tuiDropdownMaxHeight], [tuiDropdownOffset]", inputs: { align: ["tuiDropdownAlign", "align"], direction: ["tuiDropdownDirection", "direction"], limitWidth: ["tuiDropdownLimitWidth", "limitWidth"], minHeight: ["tuiDropdownMinHeight", "minHeight"], maxHeight: ["tuiDropdownMaxHeight", "maxHeight"], offset: ["tuiDropdownOffset", "offset"] }, providers: [
|
|
185
183
|
{
|
|
186
184
|
provide: TUI_DROPDOWN_OPTIONS,
|
|
187
185
|
useExisting: forwardRef(() => TuiDropdownOptionsDirective),
|
|
@@ -202,10 +200,13 @@ __decorate([
|
|
|
202
200
|
__decorate([
|
|
203
201
|
tuiDefaultProp()
|
|
204
202
|
], TuiDropdownOptionsDirective.prototype, "maxHeight", void 0);
|
|
203
|
+
__decorate([
|
|
204
|
+
tuiDefaultProp()
|
|
205
|
+
], TuiDropdownOptionsDirective.prototype, "offset", void 0);
|
|
205
206
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TuiDropdownOptionsDirective, decorators: [{
|
|
206
207
|
type: Directive,
|
|
207
208
|
args: [{
|
|
208
|
-
selector:
|
|
209
|
+
selector: '[tuiDropdownAlign], [tuiDropdownDirection], [tuiDropdownLimitWidth], [tuiDropdownMinHeight], [tuiDropdownMaxHeight], [tuiDropdownOffset]',
|
|
209
210
|
providers: [
|
|
210
211
|
{
|
|
211
212
|
provide: TUI_DROPDOWN_OPTIONS,
|
|
@@ -220,19 +221,22 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
220
221
|
args: [TUI_DROPDOWN_OPTIONS]
|
|
221
222
|
}] }]; }, propDecorators: { align: [{
|
|
222
223
|
type: Input,
|
|
223
|
-
args: [
|
|
224
|
+
args: ['tuiDropdownAlign']
|
|
224
225
|
}], direction: [{
|
|
225
226
|
type: Input,
|
|
226
|
-
args: [
|
|
227
|
+
args: ['tuiDropdownDirection']
|
|
227
228
|
}], limitWidth: [{
|
|
228
229
|
type: Input,
|
|
229
|
-
args: [
|
|
230
|
+
args: ['tuiDropdownLimitWidth']
|
|
230
231
|
}], minHeight: [{
|
|
231
232
|
type: Input,
|
|
232
|
-
args: [
|
|
233
|
+
args: ['tuiDropdownMinHeight']
|
|
233
234
|
}], maxHeight: [{
|
|
234
235
|
type: Input,
|
|
235
|
-
args: [
|
|
236
|
+
args: ['tuiDropdownMaxHeight']
|
|
237
|
+
}], offset: [{
|
|
238
|
+
type: Input,
|
|
239
|
+
args: ['tuiDropdownOffset']
|
|
236
240
|
}] } });
|
|
237
241
|
|
|
238
242
|
/**
|
|
@@ -273,32 +277,32 @@ class TuiDropdownComponent {
|
|
|
273
277
|
const { clientRect } = this.host;
|
|
274
278
|
const { position } = this.directive;
|
|
275
279
|
const rect = this.accessor.getClientRect();
|
|
276
|
-
const offsetX = position ===
|
|
277
|
-
const offsetY = position ===
|
|
280
|
+
const offsetX = position === 'fixed' ? 0 : -clientRect.left;
|
|
281
|
+
const offsetY = position === 'fixed' ? 0 : -clientRect.top;
|
|
278
282
|
top += offsetY;
|
|
279
283
|
left += offsetX;
|
|
280
284
|
const isIntersecting = left < rect.right &&
|
|
281
285
|
right > rect.left &&
|
|
282
|
-
top < offsetY + 2 *
|
|
286
|
+
top < offsetY + 2 * this.options.offset;
|
|
283
287
|
const available = isIntersecting
|
|
284
|
-
? rect.top - 2 *
|
|
285
|
-
: offsetY + innerHeight - top -
|
|
288
|
+
? rect.top - 2 * this.options.offset
|
|
289
|
+
: offsetY + innerHeight - top - this.options.offset;
|
|
286
290
|
style.position = position;
|
|
287
|
-
style.top = tuiPx(Math.max(top, offsetY +
|
|
291
|
+
style.top = tuiPx(Math.max(top, offsetY + this.options.offset));
|
|
288
292
|
style.left = tuiPx(left);
|
|
289
293
|
style.maxHeight = tuiPx(Math.min(maxHeight, available));
|
|
290
|
-
style.width =
|
|
291
|
-
style.minWidth =
|
|
294
|
+
style.width = '';
|
|
295
|
+
style.minWidth = '';
|
|
292
296
|
switch (limitWidth) {
|
|
293
|
-
case
|
|
297
|
+
case 'min':
|
|
294
298
|
style.minWidth = tuiPx(rect.width);
|
|
295
299
|
break;
|
|
296
|
-
case
|
|
300
|
+
case 'fixed':
|
|
297
301
|
style.width = tuiPx(rect.width);
|
|
298
302
|
}
|
|
299
303
|
}
|
|
300
304
|
moveFocusOutside(previous) {
|
|
301
|
-
const host = document.createElement(
|
|
305
|
+
const host = document.createElement('div');
|
|
302
306
|
const { ownerDocument } = host;
|
|
303
307
|
const root = ownerDocument ? ownerDocument.body : host;
|
|
304
308
|
let focusable = tuiGetClosestFocusable({ initial: host, root, previous });
|
|
@@ -313,9 +317,9 @@ TuiDropdownComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", v
|
|
|
313
317
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TuiDropdownComponent, decorators: [{
|
|
314
318
|
type: Component,
|
|
315
319
|
args: [{
|
|
316
|
-
selector:
|
|
317
|
-
templateUrl:
|
|
318
|
-
styleUrls: [
|
|
320
|
+
selector: 'tui-dropdown',
|
|
321
|
+
templateUrl: './dropdown.template.html',
|
|
322
|
+
styleUrls: ['./dropdown.style.less'],
|
|
319
323
|
changeDetection: ChangeDetectionStrategy.Default,
|
|
320
324
|
providers: [TuiDestroyService, TuiPositionService],
|
|
321
325
|
animations: [tuiDropdownAnimation],
|
|
@@ -356,13 +360,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
356
360
|
args: [TuiDropdownHoverDirective]
|
|
357
361
|
}] }]; }, propDecorators: { dropdownAnimation: [{
|
|
358
362
|
type: HostBinding,
|
|
359
|
-
args: [
|
|
363
|
+
args: ['@tuiDropdownAnimation']
|
|
360
364
|
}] } });
|
|
361
365
|
|
|
362
366
|
class TuiDropdownContextDirective extends TuiDriver {
|
|
363
|
-
constructor(
|
|
367
|
+
constructor(activeZone) {
|
|
364
368
|
super(subscriber => this.stream$.subscribe(subscriber));
|
|
365
|
-
this.
|
|
369
|
+
this.activeZone = activeZone;
|
|
366
370
|
this.stream$ = new Subject();
|
|
367
371
|
this.currentRect = EMPTY_CLIENT_RECT;
|
|
368
372
|
}
|
|
@@ -371,8 +375,7 @@ class TuiDropdownContextDirective extends TuiDriver {
|
|
|
371
375
|
this.stream$.next(true);
|
|
372
376
|
}
|
|
373
377
|
closeDropdown(target) {
|
|
374
|
-
|
|
375
|
-
if (!((_a = this.dropdown.dropdownBoxRef) === null || _a === void 0 ? void 0 : _a.location.nativeElement.contains(target))) {
|
|
378
|
+
if (!this.activeZone.contains(target)) {
|
|
376
379
|
this.stream$.next(false);
|
|
377
380
|
}
|
|
378
381
|
}
|
|
@@ -380,35 +383,37 @@ class TuiDropdownContextDirective extends TuiDriver {
|
|
|
380
383
|
return this.currentRect;
|
|
381
384
|
}
|
|
382
385
|
}
|
|
383
|
-
TuiDropdownContextDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TuiDropdownContextDirective, deps: [{ token:
|
|
386
|
+
TuiDropdownContextDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TuiDropdownContextDirective, deps: [{ token: TuiActiveZoneDirective }], target: i0.ɵɵFactoryTarget.Directive });
|
|
384
387
|
TuiDropdownContextDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: TuiDropdownContextDirective, selector: "[tuiDropdown][tuiDropdownContext]", host: { listeners: { "contextmenu.prevent.stop": "onContextMenu($event.clientX,$event.clientY)", "document:click.silent": "closeDropdown($event.target)", "document:contextmenu.capture.silent": "closeDropdown($event.target)", "document:keydown.esc": "closeDropdown($event.currentTarget)" } }, providers: [
|
|
388
|
+
TuiActiveZoneDirective,
|
|
385
389
|
tuiAsDriver(TuiDropdownContextDirective),
|
|
386
390
|
tuiAsRectAccessor(TuiDropdownContextDirective),
|
|
387
391
|
], usesInheritance: true, ngImport: i0 });
|
|
388
392
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TuiDropdownContextDirective, decorators: [{
|
|
389
393
|
type: Directive,
|
|
390
394
|
args: [{
|
|
391
|
-
selector:
|
|
395
|
+
selector: '[tuiDropdown][tuiDropdownContext]',
|
|
392
396
|
providers: [
|
|
397
|
+
TuiActiveZoneDirective,
|
|
393
398
|
tuiAsDriver(TuiDropdownContextDirective),
|
|
394
399
|
tuiAsRectAccessor(TuiDropdownContextDirective),
|
|
395
400
|
],
|
|
396
401
|
}]
|
|
397
|
-
}], ctorParameters: function () { return [{ type:
|
|
402
|
+
}], ctorParameters: function () { return [{ type: i2.TuiActiveZoneDirective, decorators: [{
|
|
398
403
|
type: Inject,
|
|
399
|
-
args: [
|
|
404
|
+
args: [TuiActiveZoneDirective]
|
|
400
405
|
}] }]; }, propDecorators: { onContextMenu: [{
|
|
401
406
|
type: HostListener,
|
|
402
|
-
args: [
|
|
407
|
+
args: ['contextmenu.prevent.stop', ['$event.clientX', '$event.clientY']]
|
|
403
408
|
}], closeDropdown: [{
|
|
404
409
|
type: HostListener,
|
|
405
|
-
args: [
|
|
410
|
+
args: ['document:click.silent', ['$event.target']]
|
|
406
411
|
}, {
|
|
407
412
|
type: HostListener,
|
|
408
|
-
args: [
|
|
413
|
+
args: ['document:contextmenu.capture.silent', ['$event.target']]
|
|
409
414
|
}, {
|
|
410
415
|
type: HostListener,
|
|
411
|
-
args: [
|
|
416
|
+
args: ['document:keydown.esc', ['$event.currentTarget']]
|
|
412
417
|
}] } });
|
|
413
418
|
|
|
414
419
|
class TuiDropdownDriverDirective extends AbstractTuiDriverDirective {
|
|
@@ -418,7 +423,7 @@ TuiDropdownDriverDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0
|
|
|
418
423
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TuiDropdownDriverDirective, decorators: [{
|
|
419
424
|
type: Directive,
|
|
420
425
|
args: [{
|
|
421
|
-
selector:
|
|
426
|
+
selector: '[tuiDropdown]',
|
|
422
427
|
providers: [TuiDestroyService],
|
|
423
428
|
}]
|
|
424
429
|
}] });
|
|
@@ -434,7 +439,7 @@ TuiDropdownHostDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0
|
|
|
434
439
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TuiDropdownHostDirective, decorators: [{
|
|
435
440
|
type: Directive,
|
|
436
441
|
args: [{
|
|
437
|
-
selector:
|
|
442
|
+
selector: '[tuiDropdown][tuiDropdownHost]',
|
|
438
443
|
providers: [tuiAsRectAccessor(TuiDropdownHostDirective)],
|
|
439
444
|
}]
|
|
440
445
|
}], propDecorators: { tuiDropdownHost: [{
|
|
@@ -456,7 +461,7 @@ TuiDropdownManualDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0
|
|
|
456
461
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TuiDropdownManualDirective, decorators: [{
|
|
457
462
|
type: Directive,
|
|
458
463
|
args: [{
|
|
459
|
-
selector:
|
|
464
|
+
selector: '[tuiDropdown][tuiDropdownManual]',
|
|
460
465
|
providers: [tuiAsDriver(TuiDropdownManualDirective)],
|
|
461
466
|
}]
|
|
462
467
|
}], ctorParameters: function () { return []; }, propDecorators: { tuiDropdownManual: [{
|
|
@@ -473,21 +478,21 @@ class TuiDropdownPositionDirective {
|
|
|
473
478
|
const hostRect = this.accessor.getClientRect();
|
|
474
479
|
const { innerHeight, innerWidth } = this.windowRef;
|
|
475
480
|
const { minHeight, align, direction } = this.options;
|
|
476
|
-
const previous = this.previous || direction ||
|
|
477
|
-
const right = Math.max(hostRect.right - width,
|
|
481
|
+
const previous = this.previous || direction || 'bottom';
|
|
482
|
+
const right = Math.max(hostRect.right - width, this.options.offset);
|
|
478
483
|
const available = {
|
|
479
|
-
top: hostRect.top - 2 *
|
|
480
|
-
bottom: innerHeight - hostRect.bottom - 2 *
|
|
484
|
+
top: hostRect.top - 2 * this.options.offset,
|
|
485
|
+
bottom: innerHeight - hostRect.bottom - 2 * this.options.offset,
|
|
481
486
|
};
|
|
482
487
|
const position = {
|
|
483
|
-
top: hostRect.top -
|
|
484
|
-
bottom: hostRect.bottom +
|
|
488
|
+
top: hostRect.top - this.options.offset - height,
|
|
489
|
+
bottom: hostRect.bottom + this.options.offset,
|
|
485
490
|
right,
|
|
486
|
-
left: hostRect.left + width < innerWidth -
|
|
491
|
+
left: hostRect.left + width < innerWidth - this.options.offset
|
|
487
492
|
? hostRect.left
|
|
488
493
|
: right,
|
|
489
494
|
};
|
|
490
|
-
const better = available.top > available.bottom ?
|
|
495
|
+
const better = available.top > available.bottom ? 'top' : 'bottom';
|
|
491
496
|
if ((available[previous] > minHeight && direction) ||
|
|
492
497
|
available[previous] > height) {
|
|
493
498
|
return [position[previous], position[align]];
|
|
@@ -501,7 +506,7 @@ TuiDropdownPositionDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12
|
|
|
501
506
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TuiDropdownPositionDirective, decorators: [{
|
|
502
507
|
type: Directive,
|
|
503
508
|
args: [{
|
|
504
|
-
selector:
|
|
509
|
+
selector: '[tuiDropdown]:not([tuiDropdownCustomPosition]):not([tuiDropdownSided])',
|
|
505
510
|
providers: [tuiAsPositionAccessor(TuiDropdownPositionDirective)],
|
|
506
511
|
}]
|
|
507
512
|
}], ctorParameters: function () { return [{ type: undefined, decorators: [{
|
|
@@ -521,8 +526,8 @@ class TuiDropdownPositionSidedDirective {
|
|
|
521
526
|
this.windowRef = windowRef;
|
|
522
527
|
this.accessor = accessor;
|
|
523
528
|
this.vertical = vertical;
|
|
524
|
-
this.previous = this.options.direction ||
|
|
525
|
-
this.tuiDropdownSided =
|
|
529
|
+
this.previous = this.options.direction || 'bottom';
|
|
530
|
+
this.tuiDropdownSided = '';
|
|
526
531
|
}
|
|
527
532
|
getPosition(rect) {
|
|
528
533
|
if (this.tuiDropdownSided === false) {
|
|
@@ -534,17 +539,17 @@ class TuiDropdownPositionSidedDirective {
|
|
|
534
539
|
const { align, direction, minHeight } = this.options;
|
|
535
540
|
const available = {
|
|
536
541
|
top: hostRect.bottom,
|
|
537
|
-
left: hostRect.left -
|
|
538
|
-
right: innerWidth - hostRect.right -
|
|
542
|
+
left: hostRect.left - this.options.offset,
|
|
543
|
+
right: innerWidth - hostRect.right - this.options.offset,
|
|
539
544
|
bottom: innerHeight - hostRect.top,
|
|
540
545
|
};
|
|
541
546
|
const position = {
|
|
542
|
-
top: hostRect.bottom - height +
|
|
543
|
-
left: hostRect.left - width -
|
|
544
|
-
right: hostRect.right +
|
|
545
|
-
bottom: hostRect.top -
|
|
547
|
+
top: hostRect.bottom - height + 1,
|
|
548
|
+
left: hostRect.left - width - this.options.offset,
|
|
549
|
+
right: hostRect.right + this.options.offset,
|
|
550
|
+
bottom: hostRect.top - 1, // 1 for border
|
|
546
551
|
};
|
|
547
|
-
const better = available.top > available.bottom ?
|
|
552
|
+
const better = available.top > available.bottom ? 'top' : 'bottom';
|
|
548
553
|
const maxLeft = available.left > available.right ? position.left : position.right;
|
|
549
554
|
const left = available[align] > width ? position[align] : maxLeft;
|
|
550
555
|
if ((available[this.previous] > minHeight && direction) ||
|
|
@@ -563,7 +568,7 @@ TuiDropdownPositionSidedDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion
|
|
|
563
568
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TuiDropdownPositionSidedDirective, decorators: [{
|
|
564
569
|
type: Directive,
|
|
565
570
|
args: [{
|
|
566
|
-
selector:
|
|
571
|
+
selector: '[tuiDropdownSided]',
|
|
567
572
|
providers: [
|
|
568
573
|
TuiDropdownPositionDirective,
|
|
569
574
|
tuiAsPositionAccessor(TuiDropdownPositionSidedDirective),
|
|
@@ -606,7 +611,7 @@ class TuiDropdownSelectionDirective extends TuiDriver {
|
|
|
606
611
|
: this.range;
|
|
607
612
|
return (contained && handler(this.range)) || this.inDropdown(range);
|
|
608
613
|
}));
|
|
609
|
-
this.position =
|
|
614
|
+
this.position = 'selection';
|
|
610
615
|
}
|
|
611
616
|
set tuiDropdownSelection(visible) {
|
|
612
617
|
if (!tuiIsString(visible)) {
|
|
@@ -615,7 +620,7 @@ class TuiDropdownSelectionDirective extends TuiDriver {
|
|
|
615
620
|
}
|
|
616
621
|
getClientRect() {
|
|
617
622
|
switch (this.position) {
|
|
618
|
-
case
|
|
623
|
+
case 'tag': {
|
|
619
624
|
const { commonAncestorContainer } = this.range;
|
|
620
625
|
const element = tuiIsElement(commonAncestorContainer)
|
|
621
626
|
? commonAncestorContainer
|
|
@@ -624,7 +629,7 @@ class TuiDropdownSelectionDirective extends TuiDriver {
|
|
|
624
629
|
? element.getBoundingClientRect()
|
|
625
630
|
: EMPTY_CLIENT_RECT;
|
|
626
631
|
}
|
|
627
|
-
case
|
|
632
|
+
case 'word':
|
|
628
633
|
return tuiGetWordRange(this.range).getBoundingClientRect();
|
|
629
634
|
default:
|
|
630
635
|
return this.range.getBoundingClientRect();
|
|
@@ -681,13 +686,13 @@ class TuiDropdownSelectionDirective extends TuiDriver {
|
|
|
681
686
|
* Create an invisible DIV styled exactly like input/textarea element inside directive
|
|
682
687
|
*/
|
|
683
688
|
initGhost(element) {
|
|
684
|
-
const ghost = this.documentRef.createElement(
|
|
689
|
+
const ghost = this.documentRef.createElement('div');
|
|
685
690
|
const { nativeElement } = this.viewContainerRef.element;
|
|
686
691
|
const { font, letterSpacing, textTransform, padding } = getComputedStyle(element);
|
|
687
|
-
ghost.style.position =
|
|
688
|
-
ghost.style.pointerEvents =
|
|
689
|
-
ghost.style.opacity =
|
|
690
|
-
ghost.style.whiteSpace =
|
|
692
|
+
ghost.style.position = 'absolute';
|
|
693
|
+
ghost.style.pointerEvents = 'none';
|
|
694
|
+
ghost.style.opacity = '0';
|
|
695
|
+
ghost.style.whiteSpace = 'pre-wrap';
|
|
691
696
|
ghost.style.font = font;
|
|
692
697
|
ghost.style.letterSpacing = letterSpacing;
|
|
693
698
|
ghost.style.textTransform = textTransform;
|
|
@@ -708,7 +713,7 @@ __decorate([
|
|
|
708
713
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TuiDropdownSelectionDirective, decorators: [{
|
|
709
714
|
type: Directive,
|
|
710
715
|
args: [{
|
|
711
|
-
selector:
|
|
716
|
+
selector: '[tuiDropdown][tuiDropdownSelection]',
|
|
712
717
|
providers: [
|
|
713
718
|
tuiAsDriver(TuiDropdownSelectionDirective),
|
|
714
719
|
tuiAsRectAccessor(TuiDropdownSelectionDirective),
|
|
@@ -734,7 +739,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
734
739
|
args: [TuiDropdownDirective]
|
|
735
740
|
}] }]; }, propDecorators: { position: [{
|
|
736
741
|
type: Input,
|
|
737
|
-
args: [
|
|
742
|
+
args: ['tuiDropdownSelectionPosition']
|
|
738
743
|
}], tuiDropdownSelection: [{
|
|
739
744
|
type: Input
|
|
740
745
|
}] } });
|
|
@@ -820,5 +825,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
820
825
|
* Generated bundle index. Do not edit.
|
|
821
826
|
*/
|
|
822
827
|
|
|
823
|
-
export { TUI_DROPDOWN_COMPONENT, TUI_DROPDOWN_DEFAULT_OPTIONS,
|
|
828
|
+
export { TUI_DROPDOWN_COMPONENT, TUI_DROPDOWN_DEFAULT_OPTIONS, TUI_DROPDOWN_OPTIONS, TuiDropdownComponent, TuiDropdownContextDirective, TuiDropdownDirective, TuiDropdownDriverDirective, TuiDropdownHostDirective, TuiDropdownHoverDirective, TuiDropdownManualDirective, TuiDropdownModule, TuiDropdownOptionsDirective, TuiDropdownPositionDirective, TuiDropdownPositionSidedDirective, TuiDropdownSelectionDirective, tuiDropdownOptionsProvider };
|
|
824
829
|
//# sourceMappingURL=taiga-ui-core-directives-dropdown.js.map
|