@taiga-ui/legacy 4.0.0-rc.2 → 4.0.0-rc.3
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/components/color-selector/color-edit/color-edit.component.d.ts +21 -0
- package/components/color-selector/color-edit/color-edit.module.d.ts +19 -0
- package/components/color-selector/color-picker/color-picker.component.d.ts +25 -0
- package/components/color-selector/color-picker/color-picker.module.d.ts +13 -0
- package/components/color-selector/color-selector.component.d.ts +55 -0
- package/components/color-selector/color-selector.module.d.ts +23 -0
- package/components/color-selector/flat-picker/flat-picker.component.d.ts +15 -0
- package/components/color-selector/flat-picker/flat-picker.module.d.ts +11 -0
- package/components/color-selector/index.d.ts +15 -0
- package/components/color-selector/linear-multi-picker/linear-multi-picker.component.d.ts +20 -0
- package/components/color-selector/linear-multi-picker/linear-multi-picker.module.d.ts +11 -0
- package/components/color-selector/linear-picker/linear-picker.component.d.ts +13 -0
- package/components/color-selector/linear-picker/linear-picker.module.d.ts +11 -0
- package/components/color-selector/palette/palette.component.d.ts +13 -0
- package/components/color-selector/palette/palette.module.d.ts +12 -0
- package/components/color-selector/services/picker.service.d.ts +11 -0
- package/components/index.d.ts +2 -0
- package/components/input-color/index.d.ts +2 -0
- package/components/input-color/input-color.component.d.ts +29 -0
- package/components/input-color/input-color.module.d.ts +16 -0
- package/components/input-date-range/input-date-range.component.d.ts +6 -2
- package/components/input-phone-international/input-phone-international.component.d.ts +1 -1
- package/components/input-phone-international/input-phone-international.options.d.ts +1 -1
- package/components/input-tag/input-tag.component.d.ts +1 -1
- package/components/input-tag/input-tag.module.d.ts +1 -1
- package/components/primitive-textfield/primitive-textfield.component.d.ts +1 -1
- package/components/primitive-textfield/primitive-textfield.module.d.ts +1 -1
- package/components/textarea/textarea.module.d.ts +1 -1
- package/components/tooltip/tooltip.module.d.ts +4 -4
- package/directives/textfield-controller/textfield-icon-left.directive.d.ts +2 -2
- package/directives/textfield-controller/textfield.controller.d.ts +1 -1
- package/esm2022/classes/control.mjs +2 -2
- package/esm2022/components/arrow/arrow.component.mjs +3 -3
- package/esm2022/components/color-selector/color-edit/color-edit.component.mjs +62 -0
- package/esm2022/components/color-selector/color-edit/color-edit.module.mjs +54 -0
- package/esm2022/components/color-selector/color-picker/color-picker.component.mjs +73 -0
- package/esm2022/components/color-selector/color-picker/color-picker.module.mjs +24 -0
- package/esm2022/components/color-selector/color-selector.component.mjs +250 -0
- package/esm2022/components/color-selector/color-selector.module.mjs +66 -0
- package/esm2022/components/color-selector/flat-picker/flat-picker.component.mjs +37 -0
- package/esm2022/components/color-selector/flat-picker/flat-picker.module.mjs +22 -0
- package/esm2022/components/color-selector/index.mjs +16 -0
- package/esm2022/components/color-selector/linear-multi-picker/linear-multi-picker.component.mjs +65 -0
- package/esm2022/components/color-selector/linear-multi-picker/linear-multi-picker.module.mjs +22 -0
- package/esm2022/components/color-selector/linear-picker/linear-picker.component.mjs +34 -0
- package/esm2022/components/color-selector/linear-picker/linear-picker.module.mjs +22 -0
- package/esm2022/components/color-selector/palette/palette.component.mjs +26 -0
- package/esm2022/components/color-selector/palette/palette.module.mjs +24 -0
- package/esm2022/components/color-selector/services/picker.service.mjs +30 -0
- package/esm2022/components/color-selector/taiga-ui-legacy-components-color-selector.mjs +5 -0
- package/esm2022/components/combo-box/combo-box.component.mjs +4 -2
- package/esm2022/components/index.mjs +3 -1
- package/esm2022/components/input-color/index.mjs +3 -0
- package/esm2022/components/input-color/input-color.component.mjs +85 -0
- package/esm2022/components/input-color/input-color.module.mjs +43 -0
- package/esm2022/components/input-color/taiga-ui-legacy-components-input-color.mjs +5 -0
- package/esm2022/components/input-copy/input-copy.component.mjs +2 -2
- package/esm2022/components/input-date/input-date.component.mjs +4 -4
- package/esm2022/components/input-date-multi/input-date-multi.component.mjs +5 -5
- package/esm2022/components/input-date-range/input-date-range.component.mjs +31 -10
- package/esm2022/components/input-date-time/input-date-time.component.mjs +3 -3
- package/esm2022/components/input-month/input-month.directive.mjs +2 -2
- package/esm2022/components/input-month-range/input-month-range.directive.mjs +2 -2
- package/esm2022/components/input-number/input-number.component.mjs +5 -5
- package/esm2022/components/input-phone/utils/create-phone-mask-expression.mjs +2 -2
- package/esm2022/components/input-phone-international/input-phone-international.component.mjs +4 -4
- package/esm2022/components/input-phone-international/input-phone-international.options.mjs +1 -1
- package/esm2022/components/input-tag/input-tag.component.mjs +12 -12
- package/esm2022/components/input-tag/input-tag.module.mjs +5 -5
- package/esm2022/components/input-time/input-time.component.mjs +4 -4
- package/esm2022/components/input-time/native-time/native-time.component.mjs +2 -2
- package/esm2022/components/multi-select/hide-selected.pipe.mjs +3 -3
- package/esm2022/components/multi-select/multi-select-group/multi-select-group.component.mjs +6 -6
- package/esm2022/components/multi-select/multi-select-group/multi-select-group.directive.mjs +3 -3
- package/esm2022/components/multi-select/multi-select.component.mjs +4 -4
- package/esm2022/components/multi-select/multi-select.directive.mjs +2 -2
- package/esm2022/components/multi-select/native-multi-select/native-multi-select-group.component.mjs +2 -2
- package/esm2022/components/multi-select/native-multi-select/native-multi-select.component.mjs +2 -2
- package/esm2022/components/multi-select-option/multi-select-option.component.mjs +2 -2
- package/esm2022/components/primitive-textfield/primitive-textfield.component.mjs +11 -9
- package/esm2022/components/primitive-textfield/primitive-textfield.module.mjs +5 -5
- package/esm2022/components/primitive-textfield/textfield/textfield.component.mjs +2 -2
- package/esm2022/components/sheet/components/sheet/sheet.component.mjs +5 -5
- package/esm2022/components/sheet/components/sheet-bar/sheet-bar.component.mjs +2 -2
- package/esm2022/components/sheet/components/sheet-heading/sheet-heading.component.mjs +3 -3
- package/esm2022/components/sheet/components/sheets-host/sheets-host.component.mjs +2 -2
- package/esm2022/components/sheet/directives/sheet-close/sheet-close.directive.mjs +2 -2
- package/esm2022/components/sheet/directives/sheet-stop/sheet-stop.directive.mjs +2 -2
- package/esm2022/components/sheet/directives/sheet-top/sheet-top.directive.mjs +7 -7
- package/esm2022/components/sheet/directives/sheet-wrapper/sheet-wrapper.directive.mjs +2 -2
- package/esm2022/components/sheet/sheet.service.mjs +3 -3
- package/esm2022/components/svg/content-processor.mjs +2 -2
- package/esm2022/components/svg/svg-options.mjs +3 -3
- package/esm2022/components/svg/svg.component.mjs +2 -2
- package/esm2022/components/svg/svg.service.mjs +4 -4
- package/esm2022/components/table-bar/table-bar.component.mjs +3 -3
- package/esm2022/components/tag/tag.component.mjs +2 -2
- package/esm2022/components/textarea/textarea.component.mjs +10 -8
- package/esm2022/components/textarea/textarea.module.mjs +5 -5
- package/esm2022/components/tooltip/tooltip.component.mjs +2 -2
- package/esm2022/components/tooltip/tooltip.module.mjs +7 -7
- package/esm2022/directives/legacy-dropdown-open-monitor/legacy-dropdown-open-monitor.mjs +2 -2
- package/esm2022/directives/textfield-controller/textfield-icon-left.directive.mjs +3 -3
- package/esm2022/directives/textfield-controller/textfield.controller.mjs +3 -3
- package/esm2022/pipes/iso-to-country-code/iso-to-country-code.pipe.mjs +1 -1
- package/esm2022/pipes/to-country-code/to-country-code.pipe.mjs +2 -2
- package/esm2022/tokens/countries-masks.mjs +1 -1
- package/esm2022/tokens/icons.mjs +2 -2
- package/esm2022/tokens/month-formatter.mjs +3 -3
- package/esm2022/utils/get-max-allowed-phone-length.mjs +1 -1
- package/esm2022/utils/icons-path-factory.mjs +3 -3
- package/esm2022/utils/iso-to-country-code.mjs +1 -1
- package/fesm2022/taiga-ui-legacy-classes.mjs +1 -1
- package/fesm2022/taiga-ui-legacy-classes.mjs.map +1 -1
- package/fesm2022/taiga-ui-legacy-components-arrow.mjs +2 -2
- package/fesm2022/taiga-ui-legacy-components-arrow.mjs.map +1 -1
- package/fesm2022/taiga-ui-legacy-components-color-selector.mjs +725 -0
- package/fesm2022/taiga-ui-legacy-components-color-selector.mjs.map +1 -0
- package/fesm2022/taiga-ui-legacy-components-combo-box.mjs +3 -1
- package/fesm2022/taiga-ui-legacy-components-combo-box.mjs.map +1 -1
- package/fesm2022/taiga-ui-legacy-components-input-color.mjs +127 -0
- package/fesm2022/taiga-ui-legacy-components-input-color.mjs.map +1 -0
- package/fesm2022/taiga-ui-legacy-components-input-copy.mjs +1 -1
- package/fesm2022/taiga-ui-legacy-components-input-copy.mjs.map +1 -1
- package/fesm2022/taiga-ui-legacy-components-input-date-multi.mjs +4 -4
- package/fesm2022/taiga-ui-legacy-components-input-date-multi.mjs.map +1 -1
- package/fesm2022/taiga-ui-legacy-components-input-date-range.mjs +31 -11
- package/fesm2022/taiga-ui-legacy-components-input-date-range.mjs.map +1 -1
- package/fesm2022/taiga-ui-legacy-components-input-date-time.mjs +2 -2
- package/fesm2022/taiga-ui-legacy-components-input-date-time.mjs.map +1 -1
- package/fesm2022/taiga-ui-legacy-components-input-date.mjs +3 -3
- package/fesm2022/taiga-ui-legacy-components-input-date.mjs.map +1 -1
- package/fesm2022/taiga-ui-legacy-components-input-month-range.mjs +1 -1
- package/fesm2022/taiga-ui-legacy-components-input-month-range.mjs.map +1 -1
- package/fesm2022/taiga-ui-legacy-components-input-month.mjs +1 -1
- package/fesm2022/taiga-ui-legacy-components-input-month.mjs.map +1 -1
- package/fesm2022/taiga-ui-legacy-components-input-number.mjs +4 -4
- package/fesm2022/taiga-ui-legacy-components-input-number.mjs.map +1 -1
- package/fesm2022/taiga-ui-legacy-components-input-phone-international.mjs +3 -3
- package/fesm2022/taiga-ui-legacy-components-input-phone-international.mjs.map +1 -1
- package/fesm2022/taiga-ui-legacy-components-input-phone.mjs +1 -1
- package/fesm2022/taiga-ui-legacy-components-input-phone.mjs.map +1 -1
- package/fesm2022/taiga-ui-legacy-components-input-tag.mjs +15 -15
- package/fesm2022/taiga-ui-legacy-components-input-tag.mjs.map +1 -1
- package/fesm2022/taiga-ui-legacy-components-input-time.mjs +4 -4
- package/fesm2022/taiga-ui-legacy-components-input-time.mjs.map +1 -1
- package/fesm2022/taiga-ui-legacy-components-multi-select-option.mjs +1 -1
- package/fesm2022/taiga-ui-legacy-components-multi-select-option.mjs.map +1 -1
- package/fesm2022/taiga-ui-legacy-components-multi-select.mjs +15 -15
- package/fesm2022/taiga-ui-legacy-components-multi-select.mjs.map +1 -1
- package/fesm2022/taiga-ui-legacy-components-primitive-textfield.mjs +17 -15
- package/fesm2022/taiga-ui-legacy-components-primitive-textfield.mjs.map +1 -1
- package/fesm2022/taiga-ui-legacy-components-sheet.mjs +19 -19
- package/fesm2022/taiga-ui-legacy-components-sheet.mjs.map +1 -1
- package/fesm2022/taiga-ui-legacy-components-svg.mjs +7 -7
- package/fesm2022/taiga-ui-legacy-components-svg.mjs.map +1 -1
- package/fesm2022/taiga-ui-legacy-components-table-bar.mjs +2 -2
- package/fesm2022/taiga-ui-legacy-components-table-bar.mjs.map +1 -1
- package/fesm2022/taiga-ui-legacy-components-tag.mjs +2 -2
- package/fesm2022/taiga-ui-legacy-components-tag.mjs.map +1 -1
- package/fesm2022/taiga-ui-legacy-components-textarea.mjs +13 -11
- package/fesm2022/taiga-ui-legacy-components-textarea.mjs.map +1 -1
- package/fesm2022/taiga-ui-legacy-components-tooltip.mjs +8 -8
- package/fesm2022/taiga-ui-legacy-components-tooltip.mjs.map +1 -1
- package/fesm2022/taiga-ui-legacy-components.mjs +2 -0
- package/fesm2022/taiga-ui-legacy-components.mjs.map +1 -1
- package/fesm2022/taiga-ui-legacy-directives-legacy-dropdown-open-monitor.mjs +1 -1
- package/fesm2022/taiga-ui-legacy-directives-legacy-dropdown-open-monitor.mjs.map +1 -1
- package/fesm2022/taiga-ui-legacy-directives-textfield-controller.mjs +4 -4
- package/fesm2022/taiga-ui-legacy-directives-textfield-controller.mjs.map +1 -1
- package/fesm2022/taiga-ui-legacy-pipes-iso-to-country-code.mjs.map +1 -1
- package/fesm2022/taiga-ui-legacy-pipes-to-country-code.mjs +1 -1
- package/fesm2022/taiga-ui-legacy-pipes-to-country-code.mjs.map +1 -1
- package/fesm2022/taiga-ui-legacy-tokens.mjs +4 -4
- package/fesm2022/taiga-ui-legacy-tokens.mjs.map +1 -1
- package/fesm2022/taiga-ui-legacy-utils.mjs +2 -2
- package/fesm2022/taiga-ui-legacy-utils.mjs.map +1 -1
- package/package.json +13 -1
- package/pipes/iso-to-country-code/iso-to-country-code.pipe.d.ts +1 -1
- package/pipes/to-country-code/to-country-code.pipe.d.ts +1 -1
- package/styles/mixins/mixins.less +4 -8
- package/styles/mixins/mixins.scss +4 -4
- package/styles/mixins/textfield.less +1 -1
- package/styles/mixins/textfield.scss +1 -1
- package/styles/taiga-ui-local.less +0 -1
- package/styles/taiga-ui-local.scss +0 -1
- package/tokens/countries-masks.d.ts +1 -1
- package/tokens/icons.d.ts +1 -1
- package/utils/get-max-allowed-phone-length.d.ts +1 -1
- package/utils/icons-path-factory.d.ts +1 -1
- package/utils/iso-to-country-code.d.ts +1 -1
- package/styles/mixins/wrapper.less +0 -65
- package/styles/mixins/wrapper.scss +0 -59
- package/styles/taiga-ui-theme.less +0 -15
- package/styles/wrapper/accent.less +0 -28
- package/styles/wrapper/base.less +0 -44
- package/styles/wrapper/floating.less +0 -19
- package/styles/wrapper/glass.less +0 -31
- package/styles/wrapper/icon.less +0 -53
- package/styles/wrapper/mono.less +0 -23
- package/styles/wrapper/none.less +0 -5
- package/styles/wrapper/opposite.less +0 -33
- package/styles/wrapper/outline.less +0 -52
- package/styles/wrapper/primary.less +0 -32
- package/styles/wrapper/secondary-destructive.less +0 -16
- package/styles/wrapper/secondary.less +0 -47
- package/styles/wrapper/table.less +0 -82
- package/styles/wrapper/textfield.less +0 -80
- package/styles/wrapper/whiteblock.less +0 -47
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
|
2
|
+
import type { MaskitoOptions } from '@maskito/core';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
/**
|
|
5
|
+
* @deprecated: drop in v5.0
|
|
6
|
+
*/
|
|
7
|
+
export declare class TuiColorEditComponent {
|
|
8
|
+
color: [number, number, number, number];
|
|
9
|
+
readonly colorChange: EventEmitter<[number, number, number, number]>;
|
|
10
|
+
readonly hexMask: MaskitoOptions;
|
|
11
|
+
readonly modes: string[];
|
|
12
|
+
mode: string;
|
|
13
|
+
get isHex(): boolean;
|
|
14
|
+
get hex(): string;
|
|
15
|
+
get opacity(): number;
|
|
16
|
+
onHexChange(hex: string): void;
|
|
17
|
+
onRgbChange(...rgba: [number, number, number, number]): void;
|
|
18
|
+
private updateColor;
|
|
19
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TuiColorEditComponent, never>;
|
|
20
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TuiColorEditComponent, "tui-color-edit", never, { "color": { "alias": "color"; "required": false; }; }, { "colorChange": "colorChange"; }, never, never, false, never>;
|
|
21
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./color-edit.component";
|
|
3
|
+
import * as i2 from "@angular/common";
|
|
4
|
+
import * as i3 from "@angular/forms";
|
|
5
|
+
import * as i4 from "@maskito/angular";
|
|
6
|
+
import * as i5 from "@taiga-ui/legacy/components/primitive-textfield";
|
|
7
|
+
import * as i6 from "@taiga-ui/legacy/directives/textfield-controller";
|
|
8
|
+
import * as i7 from "@taiga-ui/legacy/components/input-number";
|
|
9
|
+
import * as i8 from "@taiga-ui/legacy/components/select";
|
|
10
|
+
import * as i9 from "@taiga-ui/core/directives/dropdown";
|
|
11
|
+
import * as i10 from "@taiga-ui/core/components/data-list";
|
|
12
|
+
/**
|
|
13
|
+
* @deprecated: drop in v5.0
|
|
14
|
+
*/
|
|
15
|
+
export declare class TuiColorEditModule {
|
|
16
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TuiColorEditModule, never>;
|
|
17
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<TuiColorEditModule, [typeof i1.TuiColorEditComponent], [typeof i2.CommonModule, typeof i3.FormsModule, typeof i4.MaskitoModule, typeof i5.TuiPrimitiveTextfieldModule, typeof i6.TuiTextfieldControllerModule, typeof i7.TuiInputNumberModule, typeof i8.TuiSelectModule, typeof i9.TuiDropdownOptionsDirective, typeof i9.TuiDropdownDriverDirective, typeof i9.TuiDropdownDirective, typeof i9.TuiDropdownComponent, typeof i9.TuiDropdownOpen, typeof i9.TuiDropdownPortal, typeof i9.TuiDropdownManual, typeof i9.TuiDropdownHover, typeof i9.TuiDropdownContext, typeof i9.TuiDropdownPosition, typeof i9.TuiDropdownPositionSided, typeof i9.TuiDropdownSelection, typeof i10.TuiDataListComponent, typeof i10.TuiDataListDirective, typeof i10.TuiOption, typeof i10.TuiOptGroup], [typeof i1.TuiColorEditComponent, typeof i9.TuiDropdownOptionsDirective, typeof i9.TuiDropdownDriverDirective, typeof i9.TuiDropdownDirective, typeof i9.TuiDropdownComponent, typeof i9.TuiDropdownOpen, typeof i9.TuiDropdownPortal, typeof i9.TuiDropdownManual, typeof i9.TuiDropdownHover, typeof i9.TuiDropdownContext, typeof i9.TuiDropdownPosition, typeof i9.TuiDropdownPositionSided, typeof i9.TuiDropdownSelection, typeof i10.TuiDataListComponent, typeof i10.TuiDataListDirective, typeof i10.TuiOption, typeof i10.TuiOptGroup]>;
|
|
18
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<TuiColorEditModule>;
|
|
19
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
|
2
|
+
import type { SafeStyle } from '@angular/platform-browser';
|
|
3
|
+
import type { TuiPoint } from '@taiga-ui/core/types';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
/**
|
|
6
|
+
* @deprecated: drop in v5.0
|
|
7
|
+
*/
|
|
8
|
+
export declare class TuiColorPickerComponent {
|
|
9
|
+
private readonly sanitizer;
|
|
10
|
+
protected point: TuiPoint;
|
|
11
|
+
protected hue: number;
|
|
12
|
+
protected opacity: number;
|
|
13
|
+
readonly colorChange: EventEmitter<[h: number, s: number, v: number, opacity: number]>;
|
|
14
|
+
set color(color: [h: number, s: number, v: number, opacity: number]);
|
|
15
|
+
get currentColor(): [h: number, s: number, v: number];
|
|
16
|
+
get base(): string;
|
|
17
|
+
get gradient(): SafeStyle;
|
|
18
|
+
onPointChange(point: TuiPoint): void;
|
|
19
|
+
onHueChange(hue: number): void;
|
|
20
|
+
onOpacityChange(opacity: number): void;
|
|
21
|
+
private getCurrentColor;
|
|
22
|
+
private updateColor;
|
|
23
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TuiColorPickerComponent, never>;
|
|
24
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TuiColorPickerComponent, "tui-color-picker", never, { "color": { "alias": "color"; "required": false; }; }, { "colorChange": "colorChange"; }, never, never, false, never>;
|
|
25
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./color-picker.component";
|
|
3
|
+
import * as i2 from "@angular/common";
|
|
4
|
+
import * as i3 from "../flat-picker/flat-picker.module";
|
|
5
|
+
import * as i4 from "../linear-picker/linear-picker.module";
|
|
6
|
+
/**
|
|
7
|
+
* @deprecated: drop in v5.0
|
|
8
|
+
*/
|
|
9
|
+
export declare class TuiColorPickerModule {
|
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TuiColorPickerModule, never>;
|
|
11
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<TuiColorPickerModule, [typeof i1.TuiColorPickerComponent], [typeof i2.CommonModule, typeof i3.TuiFlatPickerModule, typeof i4.TuiLinearPickerModule], [typeof i1.TuiColorPickerComponent]>;
|
|
12
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<TuiColorPickerModule>;
|
|
13
|
+
}
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import { EventEmitter, InjectionToken } from '@angular/core';
|
|
2
|
+
import type { SafeStyle } from '@angular/platform-browser';
|
|
3
|
+
import type { TuiGradientDirection } from '@taiga-ui/cdk/utils/color';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
/**
|
|
6
|
+
* @deprecated: drop in v5.0
|
|
7
|
+
*/
|
|
8
|
+
export declare const TUI_COLOR_SELECTOR_MODE_NAMES: InjectionToken<[string, string]>;
|
|
9
|
+
/**
|
|
10
|
+
* @deprecated: drop in v5.0
|
|
11
|
+
*/
|
|
12
|
+
export declare const TUI_DEFAULT_INPUT_COLORS: Map<string, string>;
|
|
13
|
+
/**
|
|
14
|
+
* @deprecated: drop in v5.0
|
|
15
|
+
*/
|
|
16
|
+
export declare class TuiColorSelectorComponent {
|
|
17
|
+
private stops;
|
|
18
|
+
private currentStop;
|
|
19
|
+
private direction;
|
|
20
|
+
private readonly sanitizer;
|
|
21
|
+
colors: ReadonlyMap<string, string>;
|
|
22
|
+
readonly colorChange: EventEmitter<string>;
|
|
23
|
+
color: [number, number, number, number];
|
|
24
|
+
readonly modes: [string, string];
|
|
25
|
+
currentMode: string;
|
|
26
|
+
readonly buttons: readonly TuiGradientDirection[];
|
|
27
|
+
set colorSetter(color: string);
|
|
28
|
+
get palette(): Map<string, string>;
|
|
29
|
+
get stopsKeys(): number[];
|
|
30
|
+
get currentColor(): [number, number, number, number];
|
|
31
|
+
get gradient(): SafeStyle;
|
|
32
|
+
get isGradient(): boolean;
|
|
33
|
+
getIcon(direction: TuiGradientDirection): string;
|
|
34
|
+
isModeActive(mode: string): boolean;
|
|
35
|
+
isDirectionActive(direction: TuiGradientDirection): boolean;
|
|
36
|
+
onPalettePick(color: string): void;
|
|
37
|
+
onDirectionChange(direction: TuiGradientDirection): void;
|
|
38
|
+
onModeSelect(mode: string): void;
|
|
39
|
+
onIndexChange(index: number): void;
|
|
40
|
+
onColorChange(color: [number, number, number, number]): void;
|
|
41
|
+
onStopsChange(stopsKeys: readonly number[]): void;
|
|
42
|
+
private getStopsKeys;
|
|
43
|
+
private filterPalette;
|
|
44
|
+
private updateColor;
|
|
45
|
+
private getGradient;
|
|
46
|
+
private getStop;
|
|
47
|
+
private addStop;
|
|
48
|
+
private removeStop;
|
|
49
|
+
private replaceStop;
|
|
50
|
+
private parse;
|
|
51
|
+
private parseGradient;
|
|
52
|
+
private parseColor;
|
|
53
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TuiColorSelectorComponent, never>;
|
|
54
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TuiColorSelectorComponent, "tui-color-selector", never, { "colors": { "alias": "colors"; "required": false; }; "colorSetter": { "alias": "color"; "required": false; }; }, { "colorChange": "colorChange"; }, never, never, false, never>;
|
|
55
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./color-selector.component";
|
|
3
|
+
import * as i2 from "@angular/common";
|
|
4
|
+
import * as i3 from "@taiga-ui/core/components/button";
|
|
5
|
+
import * as i4 from "@taiga-ui/legacy/components/svg";
|
|
6
|
+
import * as i5 from "./color-picker/color-picker.module";
|
|
7
|
+
import * as i6 from "./linear-multi-picker/linear-multi-picker.module";
|
|
8
|
+
import * as i7 from "@taiga-ui/cdk/directives/active-zone";
|
|
9
|
+
import * as i8 from "./color-edit/color-edit.module";
|
|
10
|
+
import * as i9 from "@taiga-ui/core/components/group";
|
|
11
|
+
import * as i10 from "./palette/palette.module";
|
|
12
|
+
import * as i11 from "@taiga-ui/kit/directives/chevron";
|
|
13
|
+
import * as i12 from "@taiga-ui/core/components/icon";
|
|
14
|
+
import * as i13 from "@taiga-ui/core/directives/hint";
|
|
15
|
+
import * as i14 from "@taiga-ui/core/components/data-list";
|
|
16
|
+
/**
|
|
17
|
+
* @deprecated: drop in v5.0
|
|
18
|
+
*/
|
|
19
|
+
export declare class TuiColorSelectorModule {
|
|
20
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TuiColorSelectorModule, never>;
|
|
21
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<TuiColorSelectorModule, [typeof i1.TuiColorSelectorComponent], [typeof i2.CommonModule, typeof i3.TuiButton, typeof i4.TuiSvgComponent, typeof i5.TuiColorPickerModule, typeof i6.TuiLinearMultiPickerModule, typeof i7.TuiActiveZone, typeof i8.TuiColorEditModule, typeof i9.TuiGroup, typeof i10.TuiPaletteModule, typeof i11.TuiChevron, typeof i12.TuiIcon, typeof i13.TuiHintComponent, typeof i13.TuiHintDirective, typeof i13.TuiHintOptionsDirective, typeof i13.TuiHintUnstyled, typeof i13.TuiHintDriver, typeof i13.TuiHintPosition, typeof i13.TuiHintHover, typeof i13.TuiHintDescribe, typeof i13.TuiHintHost, typeof i13.TuiHintManual, typeof i13.TuiHintPointer, typeof i14.TuiDataListComponent, typeof i14.TuiDataListDirective, typeof i14.TuiOption, typeof i14.TuiOptGroup], [typeof i1.TuiColorSelectorComponent, typeof i13.TuiHintComponent, typeof i13.TuiHintDirective, typeof i13.TuiHintOptionsDirective, typeof i13.TuiHintUnstyled, typeof i13.TuiHintDriver, typeof i13.TuiHintPosition, typeof i13.TuiHintHover, typeof i13.TuiHintDescribe, typeof i13.TuiHintHost, typeof i13.TuiHintManual, typeof i13.TuiHintPointer, typeof i14.TuiDataListComponent, typeof i14.TuiDataListDirective, typeof i14.TuiOption, typeof i14.TuiOptGroup]>;
|
|
22
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<TuiColorSelectorModule>;
|
|
23
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
|
2
|
+
import type { TuiPoint } from '@taiga-ui/core/types';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
/**
|
|
5
|
+
* @deprecated: drop in v5.0
|
|
6
|
+
*/
|
|
7
|
+
export declare class TuiFlatPickerComponent {
|
|
8
|
+
value: TuiPoint;
|
|
9
|
+
readonly valueChange: EventEmitter<[number, number]>;
|
|
10
|
+
constructor();
|
|
11
|
+
get left(): number;
|
|
12
|
+
get top(): number;
|
|
13
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TuiFlatPickerComponent, never>;
|
|
14
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TuiFlatPickerComponent, "tui-flat-picker", never, { "value": { "alias": "value"; "required": false; }; }, { "valueChange": "valueChange"; }, never, never, false, never>;
|
|
15
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./flat-picker.component";
|
|
3
|
+
import * as i2 from "@angular/common";
|
|
4
|
+
/**
|
|
5
|
+
* @deprecated: drop in v5.0
|
|
6
|
+
*/
|
|
7
|
+
export declare class TuiFlatPickerModule {
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TuiFlatPickerModule, never>;
|
|
9
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<TuiFlatPickerModule, [typeof i1.TuiFlatPickerComponent], [typeof i2.CommonModule], [typeof i1.TuiFlatPickerComponent]>;
|
|
10
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<TuiFlatPickerModule>;
|
|
11
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export * from './color-edit/color-edit.component';
|
|
2
|
+
export * from './color-edit/color-edit.module';
|
|
3
|
+
export * from './color-picker/color-picker.component';
|
|
4
|
+
export * from './color-picker/color-picker.module';
|
|
5
|
+
export * from './color-selector.component';
|
|
6
|
+
export * from './color-selector.module';
|
|
7
|
+
export * from './flat-picker/flat-picker.component';
|
|
8
|
+
export * from './flat-picker/flat-picker.module';
|
|
9
|
+
export * from './linear-multi-picker/linear-multi-picker.component';
|
|
10
|
+
export * from './linear-multi-picker/linear-multi-picker.module';
|
|
11
|
+
export * from './linear-picker/linear-picker.component';
|
|
12
|
+
export * from './linear-picker/linear-picker.module';
|
|
13
|
+
export * from './palette/palette.component';
|
|
14
|
+
export * from './palette/palette.module';
|
|
15
|
+
export * from './services/picker.service';
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
/**
|
|
4
|
+
* @deprecated: drop in v5.0
|
|
5
|
+
*/
|
|
6
|
+
export declare class TuiLinearMultiPickerComponent {
|
|
7
|
+
value: number[];
|
|
8
|
+
readonly valueChange: EventEmitter<number[]>;
|
|
9
|
+
readonly indexChange: EventEmitter<number>;
|
|
10
|
+
index: number;
|
|
11
|
+
constructor();
|
|
12
|
+
onMouseUp(): void;
|
|
13
|
+
onMouseDown(index: number): void;
|
|
14
|
+
onClick(index: number): void;
|
|
15
|
+
private onPicker;
|
|
16
|
+
private updateIndex;
|
|
17
|
+
private updateValue;
|
|
18
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TuiLinearMultiPickerComponent, never>;
|
|
19
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TuiLinearMultiPickerComponent, "tui-linear-multi-picker", never, { "value": { "alias": "value"; "required": false; }; }, { "valueChange": "valueChange"; "indexChange": "indexChange"; }, never, never, false, never>;
|
|
20
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./linear-multi-picker.component";
|
|
3
|
+
import * as i2 from "@angular/common";
|
|
4
|
+
/**
|
|
5
|
+
* @deprecated: drop in v5.0
|
|
6
|
+
*/
|
|
7
|
+
export declare class TuiLinearMultiPickerModule {
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TuiLinearMultiPickerModule, never>;
|
|
9
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<TuiLinearMultiPickerModule, [typeof i1.TuiLinearMultiPickerComponent], [typeof i2.CommonModule], [typeof i1.TuiLinearMultiPickerComponent]>;
|
|
10
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<TuiLinearMultiPickerModule>;
|
|
11
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
/**
|
|
4
|
+
* @deprecated: drop in v5.0
|
|
5
|
+
*/
|
|
6
|
+
export declare class TuiLinearPickerComponent {
|
|
7
|
+
value: number;
|
|
8
|
+
readonly valueChange: EventEmitter<number>;
|
|
9
|
+
constructor();
|
|
10
|
+
get left(): number;
|
|
11
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TuiLinearPickerComponent, never>;
|
|
12
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TuiLinearPickerComponent, "tui-linear-picker", never, { "value": { "alias": "value"; "required": false; }; }, { "valueChange": "valueChange"; }, never, never, false, never>;
|
|
13
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./linear-picker.component";
|
|
3
|
+
import * as i2 from "@angular/common";
|
|
4
|
+
/**
|
|
5
|
+
* @deprecated: drop in v5.0
|
|
6
|
+
*/
|
|
7
|
+
export declare class TuiLinearPickerModule {
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TuiLinearPickerModule, never>;
|
|
9
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<TuiLinearPickerModule, [typeof i1.TuiLinearPickerComponent], [typeof i2.CommonModule], [typeof i1.TuiLinearPickerComponent]>;
|
|
10
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<TuiLinearPickerModule>;
|
|
11
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type { KeyValue } from '@angular/common';
|
|
2
|
+
import { EventEmitter } from '@angular/core';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
/**
|
|
5
|
+
* @deprecated: drop in v5.0
|
|
6
|
+
*/
|
|
7
|
+
export declare class TuiPaletteComponent {
|
|
8
|
+
colors: ReadonlyMap<string, string>;
|
|
9
|
+
readonly selectedColor: EventEmitter<string>;
|
|
10
|
+
originalOrder: (_a: KeyValue<string, string>, _b: KeyValue<string, string>) => number;
|
|
11
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TuiPaletteComponent, never>;
|
|
12
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TuiPaletteComponent, "tui-palette", never, { "colors": { "alias": "colors"; "required": false; }; }, { "selectedColor": "selectedColor"; }, never, never, false, never>;
|
|
13
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./palette.component";
|
|
3
|
+
import * as i2 from "@angular/common";
|
|
4
|
+
import * as i3 from "@taiga-ui/core/directives/hint";
|
|
5
|
+
/**
|
|
6
|
+
* @deprecated: drop in v5.0
|
|
7
|
+
*/
|
|
8
|
+
export declare class TuiPaletteModule {
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TuiPaletteModule, never>;
|
|
10
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<TuiPaletteModule, [typeof i1.TuiPaletteComponent], [typeof i2.CommonModule, typeof i3.TuiHintComponent, typeof i3.TuiHintDirective, typeof i3.TuiHintOptionsDirective, typeof i3.TuiHintUnstyled, typeof i3.TuiHintDriver, typeof i3.TuiHintPosition, typeof i3.TuiHintHover, typeof i3.TuiHintDescribe, typeof i3.TuiHintHost, typeof i3.TuiHintManual, typeof i3.TuiHintPointer], [typeof i1.TuiPaletteComponent, typeof i3.TuiHintComponent, typeof i3.TuiHintDirective, typeof i3.TuiHintOptionsDirective, typeof i3.TuiHintUnstyled, typeof i3.TuiHintDriver, typeof i3.TuiHintPosition, typeof i3.TuiHintHover, typeof i3.TuiHintDescribe, typeof i3.TuiHintHost, typeof i3.TuiHintManual, typeof i3.TuiHintPointer]>;
|
|
11
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<TuiPaletteModule>;
|
|
12
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { TuiPoint } from '@taiga-ui/core/types';
|
|
2
|
+
import { Observable } from 'rxjs';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
/**
|
|
5
|
+
* @deprecated: drop in v5.0
|
|
6
|
+
*/
|
|
7
|
+
export declare class TuiPickerService extends Observable<TuiPoint> {
|
|
8
|
+
constructor();
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TuiPickerService, never>;
|
|
10
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<TuiPickerService>;
|
|
11
|
+
}
|
package/components/index.d.ts
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
export * from '@taiga-ui/legacy/components/arrow';
|
|
2
|
+
export * from '@taiga-ui/legacy/components/color-selector';
|
|
2
3
|
export * from '@taiga-ui/legacy/components/combo-box';
|
|
3
4
|
export * from '@taiga-ui/legacy/components/input';
|
|
5
|
+
export * from '@taiga-ui/legacy/components/input-color';
|
|
4
6
|
export * from '@taiga-ui/legacy/components/input-copy';
|
|
5
7
|
export * from '@taiga-ui/legacy/components/input-date';
|
|
6
8
|
export * from '@taiga-ui/legacy/components/input-date-multi';
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import type { SafeStyle } from '@angular/platform-browser';
|
|
2
|
+
import type { MaskitoOptions } from '@maskito/core';
|
|
3
|
+
import { AbstractTuiControl } from '@taiga-ui/legacy/classes';
|
|
4
|
+
import type { TuiFocusableElementAccessor, TuiNativeFocusableElement } from '@taiga-ui/legacy/tokens';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
type MaskMode = 'gradient' | 'hex' | 'rgb';
|
|
7
|
+
/**
|
|
8
|
+
* @deprecated: drop in v5.0
|
|
9
|
+
*/
|
|
10
|
+
export declare class TuiInputColorComponent extends AbstractTuiControl<string> implements TuiFocusableElementAccessor {
|
|
11
|
+
private readonly textfield?;
|
|
12
|
+
private readonly domSanitizer;
|
|
13
|
+
colors: ReadonlyMap<string, string>;
|
|
14
|
+
open: boolean;
|
|
15
|
+
get focused(): boolean;
|
|
16
|
+
get nativeFocusableElement(): TuiNativeFocusableElement | null;
|
|
17
|
+
get background(): SafeStyle;
|
|
18
|
+
get mode(): MaskMode;
|
|
19
|
+
onClick(): void;
|
|
20
|
+
maskitoOptions(mode: MaskMode): MaskitoOptions | null;
|
|
21
|
+
/** deprecated use 'value' setter */
|
|
22
|
+
onValueChange(textValue: string): void;
|
|
23
|
+
onFocused(focused: boolean): void;
|
|
24
|
+
protected getFallbackValue(): string;
|
|
25
|
+
private sanitize;
|
|
26
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TuiInputColorComponent, never>;
|
|
27
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TuiInputColorComponent, "tui-input-color", never, { "colors": { "alias": "colors"; "required": false; }; }, {}, never, ["*"], false, never>;
|
|
28
|
+
}
|
|
29
|
+
export {};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./input-color.component";
|
|
3
|
+
import * as i2 from "@angular/common";
|
|
4
|
+
import * as i3 from "@taiga-ui/legacy/components/primitive-textfield";
|
|
5
|
+
import * as i4 from "@taiga-ui/legacy/directives/textfield-controller";
|
|
6
|
+
import * as i5 from "@taiga-ui/legacy/components/color-selector";
|
|
7
|
+
import * as i6 from "@maskito/angular";
|
|
8
|
+
import * as i7 from "@taiga-ui/core/directives/dropdown";
|
|
9
|
+
/**
|
|
10
|
+
* @deprecated: drop in v5.0
|
|
11
|
+
*/
|
|
12
|
+
export declare class TuiInputColorModule {
|
|
13
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TuiInputColorModule, never>;
|
|
14
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<TuiInputColorModule, [typeof i1.TuiInputColorComponent], [typeof i2.CommonModule, typeof i3.TuiPrimitiveTextfieldModule, typeof i4.TuiTextfieldControllerModule, typeof i5.TuiColorSelectorModule, typeof i6.MaskitoModule, typeof i7.TuiDropdownOptionsDirective, typeof i7.TuiDropdownDriverDirective, typeof i7.TuiDropdownDirective, typeof i7.TuiDropdownComponent, typeof i7.TuiDropdownOpen, typeof i7.TuiDropdownPortal, typeof i7.TuiDropdownManual, typeof i7.TuiDropdownHover, typeof i7.TuiDropdownContext, typeof i7.TuiDropdownPosition, typeof i7.TuiDropdownPositionSided, typeof i7.TuiDropdownSelection], [typeof i1.TuiInputColorComponent, typeof i7.TuiDropdownOptionsDirective, typeof i7.TuiDropdownDriverDirective, typeof i7.TuiDropdownDirective, typeof i7.TuiDropdownComponent, typeof i7.TuiDropdownOpen, typeof i7.TuiDropdownPortal, typeof i7.TuiDropdownManual, typeof i7.TuiDropdownHover, typeof i7.TuiDropdownContext, typeof i7.TuiDropdownPosition, typeof i7.TuiDropdownPositionSided, typeof i7.TuiDropdownSelection]>;
|
|
15
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<TuiInputColorModule>;
|
|
16
|
+
}
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
+
import type { AfterViewChecked } from '@angular/core';
|
|
1
2
|
import type { MaskitoOptions } from '@maskito/core';
|
|
2
3
|
import type { TuiDateMode, TuiDay, TuiDayLike } from '@taiga-ui/cdk/date-time';
|
|
3
4
|
import { TuiDayRange, TuiMonth } from '@taiga-ui/cdk/date-time';
|
|
4
5
|
import type { TuiBooleanHandler } from '@taiga-ui/cdk/types';
|
|
5
6
|
import type { TuiMarkerHandler } from '@taiga-ui/core/components/calendar';
|
|
6
7
|
import type { TuiSizeL, TuiSizeS } from '@taiga-ui/core/types';
|
|
7
|
-
import type
|
|
8
|
+
import { type TuiDayRangePeriod } from '@taiga-ui/kit/components/calendar-range';
|
|
8
9
|
import type { TuiInputDateOptions } from '@taiga-ui/kit/tokens';
|
|
9
10
|
import { AbstractTuiNullableControl } from '@taiga-ui/legacy/classes';
|
|
10
11
|
import type { TuiFocusableElementAccessor } from '@taiga-ui/legacy/tokens';
|
|
@@ -13,8 +14,9 @@ import * as i0 from "@angular/core";
|
|
|
13
14
|
/**
|
|
14
15
|
* @deprecated: drop in v5.0
|
|
15
16
|
*/
|
|
16
|
-
export declare class TuiInputDateRangeComponent extends AbstractTuiNullableControl<TuiDayRange> implements TuiFocusableElementAccessor {
|
|
17
|
+
export declare class TuiInputDateRangeComponent extends AbstractTuiNullableControl<TuiDayRange> implements TuiFocusableElementAccessor, AfterViewChecked {
|
|
17
18
|
private readonly textfield?;
|
|
19
|
+
private readonly calendarRange?;
|
|
18
20
|
private readonly isMobile;
|
|
19
21
|
private readonly mobileCalendar;
|
|
20
22
|
private readonly options;
|
|
@@ -24,6 +26,7 @@ export declare class TuiInputDateRangeComponent extends AbstractTuiNullableContr
|
|
|
24
26
|
protected readonly dateFiller$: import("rxjs").Observable<string>;
|
|
25
27
|
protected dateFormat: import("@taiga-ui/core/tokens").TuiDateFormatSettings;
|
|
26
28
|
protected readonly dateFormat$: import("rxjs").Subscription;
|
|
29
|
+
protected selectedActivePeriod: TuiDayRangePeriod | null;
|
|
27
30
|
disabledItemHandler: TuiBooleanHandler<TuiDay>;
|
|
28
31
|
markerHandler: TuiMarkerHandler | null;
|
|
29
32
|
defaultViewedMonth: TuiMonth;
|
|
@@ -38,6 +41,7 @@ export declare class TuiInputDateRangeComponent extends AbstractTuiNullableContr
|
|
|
38
41
|
get computedExampleText(): string;
|
|
39
42
|
get computedValue(): string;
|
|
40
43
|
onClick(): void;
|
|
44
|
+
ngAfterViewChecked(): void;
|
|
41
45
|
onValueChange(value: string): void;
|
|
42
46
|
onRangeChange(range: TuiDayRange | null): void;
|
|
43
47
|
writeValue(value: TuiDayRange | null): void;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { EventEmitter } from '@angular/core';
|
|
2
2
|
import type { TuiContext } from '@taiga-ui/cdk/types';
|
|
3
3
|
import type { TuiSizeL, TuiSizeM, TuiSizeS } from '@taiga-ui/core/types';
|
|
4
|
-
import type { TuiCountryIsoCode } from '@taiga-ui/i18n/
|
|
4
|
+
import type { TuiCountryIsoCode } from '@taiga-ui/i18n/types';
|
|
5
5
|
import { AbstractTuiControl } from '@taiga-ui/legacy/classes';
|
|
6
6
|
import type { TuiFocusableElementAccessor } from '@taiga-ui/legacy/tokens';
|
|
7
7
|
import type { PolymorpheusContent } from '@taiga-ui/polymorpheus';
|
|
@@ -56,7 +56,7 @@ export declare class TuiInputTagComponent extends AbstractTuiMultipleControl<str
|
|
|
56
56
|
onTagEdited(value: string, index: number): void;
|
|
57
57
|
handleOption(item: string): void;
|
|
58
58
|
setDisabledState(): void;
|
|
59
|
-
protected get
|
|
59
|
+
protected get iconStart(): PolymorpheusContent<TuiContext<TuiSizeL | TuiSizeS>>;
|
|
60
60
|
protected get appearance(): string;
|
|
61
61
|
protected get expandable(): boolean;
|
|
62
62
|
protected get icon(): PolymorpheusContent<TuiContext<TuiSizeL | TuiSizeS>>;
|
|
@@ -16,6 +16,6 @@ import * as i12 from "@taiga-ui/core/directives/dropdown";
|
|
|
16
16
|
*/
|
|
17
17
|
export declare class TuiInputTagModule {
|
|
18
18
|
static ɵfac: i0.ɵɵFactoryDeclaration<TuiInputTagModule, never>;
|
|
19
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<TuiInputTagModule, [typeof i1.TuiInputTagComponent], [typeof i2.CommonModule, typeof i3.FormsModule, typeof i4.PolymorpheusOutlet, typeof i4.PolymorpheusTemplate, typeof i5.TuiHovered, typeof i6.TuiScrollbar, typeof i7.
|
|
19
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<TuiInputTagModule, [typeof i1.TuiInputTagComponent], [typeof i2.CommonModule, typeof i3.FormsModule, typeof i4.PolymorpheusOutlet, typeof i4.PolymorpheusTemplate, typeof i5.TuiHovered, typeof i6.TuiScrollbar, typeof i7.TuiTooltipModule, typeof i8.TuiTagModule, typeof i9.TuiWrapperModule, typeof i9.TuiLegacyDropdownOpenMonitorDirective, typeof i10.TuiAppearance, typeof i11.TuiIcon, typeof i12.TuiDropdownOptionsDirective, typeof i12.TuiDropdownDriverDirective, typeof i12.TuiDropdownDirective, typeof i12.TuiDropdownComponent, typeof i12.TuiDropdownOpen, typeof i12.TuiDropdownPortal, typeof i12.TuiDropdownManual, typeof i12.TuiDropdownHover, typeof i12.TuiDropdownContext, typeof i12.TuiDropdownPosition, typeof i12.TuiDropdownPositionSided, typeof i12.TuiDropdownSelection], [typeof i1.TuiInputTagComponent, typeof i12.TuiDropdownOptionsDirective, typeof i12.TuiDropdownDriverDirective, typeof i12.TuiDropdownDirective, typeof i12.TuiDropdownComponent, typeof i12.TuiDropdownOpen, typeof i12.TuiDropdownPortal, typeof i12.TuiDropdownManual, typeof i12.TuiDropdownHover, typeof i12.TuiDropdownContext, typeof i12.TuiDropdownPosition, typeof i12.TuiDropdownPositionSided, typeof i12.TuiDropdownSelection]>;
|
|
20
20
|
static ɵinj: i0.ɵɵInjectorDeclaration<TuiInputTagModule>;
|
|
21
21
|
}
|
|
@@ -11,7 +11,7 @@ import * as i0 from "@angular/core";
|
|
|
11
11
|
/**
|
|
12
12
|
* @deprecated: drop in v5.0
|
|
13
13
|
*/
|
|
14
|
-
export declare const
|
|
14
|
+
export declare const TUI_ICON_START_PADDINGS: Record<TuiSizeL | TuiSizeS, number>;
|
|
15
15
|
/**
|
|
16
16
|
* @deprecated: use `tui-textfield` instead of `tui-primitive-textfield`
|
|
17
17
|
*/
|
|
@@ -15,6 +15,6 @@ import * as i11 from "@taiga-ui/core/directives/appearance";
|
|
|
15
15
|
*/
|
|
16
16
|
export declare class TuiPrimitiveTextfieldModule {
|
|
17
17
|
static ɵfac: i0.ɵɵFactoryDeclaration<TuiPrimitiveTextfieldModule, never>;
|
|
18
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<TuiPrimitiveTextfieldModule, [typeof i1.TuiPrimitiveTextfieldComponent, typeof i2.TuiPrimitiveTextfieldDirective, typeof i3.TuiTextfieldComponent, typeof i4.TuiValueDecorationComponent], [typeof i5.CommonModule, typeof i6.FormsModule, typeof i7.PolymorpheusOutlet, typeof i7.PolymorpheusTemplate, typeof i8.TuiWrapperModule, typeof i9.
|
|
18
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<TuiPrimitiveTextfieldModule, [typeof i1.TuiPrimitiveTextfieldComponent, typeof i2.TuiPrimitiveTextfieldDirective, typeof i3.TuiTextfieldComponent, typeof i4.TuiValueDecorationComponent], [typeof i5.CommonModule, typeof i6.FormsModule, typeof i7.PolymorpheusOutlet, typeof i7.PolymorpheusTemplate, typeof i8.TuiWrapperModule, typeof i9.TuiTooltipModule, typeof i10.TuiIcon, typeof i11.TuiAppearance], [typeof i1.TuiPrimitiveTextfieldComponent, typeof i2.TuiPrimitiveTextfieldDirective, typeof i3.TuiTextfieldComponent]>;
|
|
19
19
|
static ɵinj: i0.ɵɵInjectorDeclaration<TuiPrimitiveTextfieldModule>;
|
|
20
20
|
}
|
|
@@ -15,6 +15,6 @@ import * as i11 from "@taiga-ui/core/directives/appearance";
|
|
|
15
15
|
*/
|
|
16
16
|
export declare class TuiTextareaModule {
|
|
17
17
|
static ɵfac: i0.ɵɵFactoryDeclaration<TuiTextareaModule, never>;
|
|
18
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<TuiTextareaModule, [typeof i1.TuiTextareaComponent, typeof i2.TuiTextareaDirective], [typeof i3.CommonModule, typeof i4.FormsModule, typeof i5.TuiScrollbar, typeof i6.
|
|
18
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<TuiTextareaModule, [typeof i1.TuiTextareaComponent, typeof i2.TuiTextareaDirective], [typeof i3.CommonModule, typeof i4.FormsModule, typeof i5.TuiScrollbar, typeof i6.TuiTooltipModule, typeof i7.TuiWrapperModule, typeof i8.TuiPrimitiveTextfieldModule, typeof i9.PolymorpheusOutlet, typeof i9.PolymorpheusTemplate, typeof i10.TuiIcon, typeof i11.TuiAppearance], [typeof i1.TuiTextareaComponent, typeof i2.TuiTextareaDirective, typeof i8.TuiTextfieldComponent, typeof i9.PolymorpheusOutlet, typeof i9.PolymorpheusTemplate]>;
|
|
19
19
|
static ɵinj: i0.ɵɵInjectorDeclaration<TuiTextareaModule>;
|
|
20
20
|
}
|
|
@@ -8,8 +8,8 @@ import * as i6 from "@taiga-ui/core/directives/hint";
|
|
|
8
8
|
/**
|
|
9
9
|
* @deprecated: drop in v5.0
|
|
10
10
|
*/
|
|
11
|
-
export declare class
|
|
12
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<
|
|
13
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<
|
|
14
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<
|
|
11
|
+
export declare class TuiTooltipModule {
|
|
12
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TuiTooltipModule, never>;
|
|
13
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<TuiTooltipModule, [typeof i1.TuiTooltipComponent], [typeof i2.CommonModule, typeof i3.TuiIcon, typeof i4.PolymorpheusOutlet, typeof i5.TuiAppearance, typeof i6.TuiHintComponent, typeof i6.TuiHintDirective, typeof i6.TuiHintOptionsDirective, typeof i6.TuiHintUnstyled, typeof i6.TuiHintDriver, typeof i6.TuiHintPosition, typeof i6.TuiHintHover, typeof i6.TuiHintDescribe, typeof i6.TuiHintHost, typeof i6.TuiHintManual, typeof i6.TuiHintPointer], [typeof i1.TuiTooltipComponent]>;
|
|
14
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<TuiTooltipModule>;
|
|
15
15
|
}
|
|
@@ -11,7 +11,7 @@ export declare const TUI_TEXTFIELD_ICON_LEFT: import("@angular/core").InjectionT
|
|
|
11
11
|
* @deprecated: drop in v5.0
|
|
12
12
|
*/
|
|
13
13
|
export declare class TuiTextfieldIconLeftDirective extends AbstractTuiController {
|
|
14
|
-
|
|
14
|
+
iconStart: PolymorpheusContent<TuiContext<TuiSizeL | TuiSizeS>>;
|
|
15
15
|
static ɵfac: i0.ɵɵFactoryDeclaration<TuiTextfieldIconLeftDirective, never>;
|
|
16
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<TuiTextfieldIconLeftDirective, "[tuiTextfieldIconLeft]", never, { "
|
|
16
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<TuiTextfieldIconLeftDirective, "[tuiTextfieldIconLeft]", never, { "iconStart": { "alias": "tuiTextfieldIconLeft"; "required": false; }; }, {}, never, never, false, never>;
|
|
17
17
|
}
|
|
@@ -32,7 +32,7 @@ export declare class TuiTextfieldController {
|
|
|
32
32
|
get cleaner(): boolean;
|
|
33
33
|
get customContent(): PolymorpheusContent;
|
|
34
34
|
get icon(): PolymorpheusContent<TuiContext<TuiSizeL | TuiSizeS>>;
|
|
35
|
-
get
|
|
35
|
+
get iconStart(): PolymorpheusContent<TuiContext<TuiSizeL | TuiSizeS>>;
|
|
36
36
|
get labelOutside(): boolean;
|
|
37
37
|
get size(): TuiSizeL | TuiSizeS;
|
|
38
38
|
get prefix(): string;
|