@taiga-ui/kit 3.0.0-rc.4 → 3.0.0
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-kit-components-accordion.umd.js +1 -1
- package/bundles/taiga-ui-kit-components-accordion.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-action.umd.js +41 -46
- package/bundles/taiga-ui-kit-components-action.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-badged-content.umd.js +1 -1
- package/bundles/taiga-ui-kit-components-badged-content.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-combo-box.umd.js +1 -1
- package/bundles/taiga-ui-kit-components-combo-box.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-files.umd.js +1 -1
- package/bundles/taiga-ui-kit-components-files.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-input-copy.umd.js +2 -2
- package/bundles/taiga-ui-kit-components-input-copy.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-input-count.umd.js +12 -6
- package/bundles/taiga-ui-kit-components-input-count.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-input-date-range.umd.js +14 -10
- package/bundles/taiga-ui-kit-components-input-date-range.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-input-date-time.umd.js +2 -2
- package/bundles/taiga-ui-kit-components-input-date-time.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-input-date.umd.js +2 -2
- package/bundles/taiga-ui-kit-components-input-date.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-input-month-range.umd.js +1 -1
- package/bundles/taiga-ui-kit-components-input-month-range.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-input-month.umd.js +1 -1
- package/bundles/taiga-ui-kit-components-input-month.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-input-number.umd.js +5 -8
- package/bundles/taiga-ui-kit-components-input-number.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-input-password.umd.js +19 -15
- package/bundles/taiga-ui-kit-components-input-password.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-input-phone-international.umd.js +4 -4
- package/bundles/taiga-ui-kit-components-input-phone-international.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-input-phone.umd.js +2 -2
- package/bundles/taiga-ui-kit-components-input-phone.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-input-tag.umd.js +68 -59
- package/bundles/taiga-ui-kit-components-input-tag.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-input-time.umd.js +1 -1
- package/bundles/taiga-ui-kit-components-input-time.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-input.umd.js +1 -1
- package/bundles/taiga-ui-kit-components-input.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-line-clamp.umd.js +1 -1
- package/bundles/taiga-ui-kit-components-line-clamp.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-multi-select.umd.js +8 -2
- package/bundles/taiga-ui-kit-components-multi-select.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-push.umd.js +670 -0
- package/bundles/taiga-ui-kit-components-push.umd.js.map +1 -0
- package/bundles/taiga-ui-kit-components-select.umd.js +1 -1
- package/bundles/taiga-ui-kit-components-select.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-text-area.umd.js +25 -19
- package/bundles/taiga-ui-kit-components-text-area.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components.umd.js +10 -4
- package/bundles/taiga-ui-kit-components.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-validators.umd.js +2 -2
- package/bundles/taiga-ui-kit-validators.umd.js.map +1 -1
- package/components/action/action.component.d.ts +2 -4
- package/components/action/action.module.d.ts +2 -3
- package/components/combo-box/combo-box.directive.d.ts +2 -2
- package/components/index.d.ts +1 -0
- package/components/input/input.directive.d.ts +2 -2
- package/components/input-copy/input-copy.directive.d.ts +2 -2
- package/components/input-count/input-count.directive.d.ts +4 -3
- package/components/input-date/input-date.directive.d.ts +2 -2
- package/components/input-date-range/input-date-range.component.d.ts +3 -4
- package/components/input-date-range/input-date-range.directive.d.ts +3 -2
- package/components/input-date-time/input-date-time.directive.d.ts +2 -2
- package/components/input-month/input-month.directive.d.ts +2 -2
- package/components/input-month-range/input-month-range.directive.d.ts +2 -2
- package/components/input-number/input-number.directive.d.ts +2 -3
- package/components/input-password/input-password.component.d.ts +5 -4
- package/components/input-password/input-password.directive.d.ts +2 -2
- package/components/input-phone/input-phone.directive.d.ts +2 -2
- package/components/input-phone-international/input-phone-international.module.d.ts +1 -1
- package/components/input-tag/input-tag.component.d.ts +7 -6
- package/components/multi-select/multi-select.component.d.ts +2 -1
- package/components/push/index.d.ts +7 -0
- package/components/push/package.json +10 -0
- package/components/push/push-alert.component.d.ts +19 -0
- package/components/push/push-alert.directive.d.ts +12 -0
- package/components/push/push.component.d.ts +14 -0
- package/components/push/push.directive.d.ts +13 -0
- package/components/push/push.module.d.ts +13 -0
- package/components/push/push.options.d.ts +10 -0
- package/components/push/push.service.d.ts +13 -0
- package/components/push/taiga-ui-kit-components-push.d.ts +5 -0
- package/components/select/select.directive.d.ts +2 -2
- package/components/text-area/text-area.component.d.ts +6 -5
- package/components/text-area/text-area.directive.d.ts +2 -2
- package/components/text-area/text-area.module.d.ts +1 -1
- package/esm2015/components/accordion/accordion-item/accordion-item.component.js +2 -2
- package/esm2015/components/action/action.component.js +18 -24
- package/esm2015/components/action/action.module.js +1 -5
- package/esm2015/components/badged-content/badged-content.component.js +1 -1
- package/esm2015/components/combo-box/combo-box.directive.js +3 -3
- package/esm2015/components/files/file/file.component.js +3 -3
- package/esm2015/components/index.js +2 -1
- package/esm2015/components/input/input.directive.js +3 -3
- package/esm2015/components/input-copy/input-copy.component.js +2 -2
- package/esm2015/components/input-copy/input-copy.directive.js +3 -3
- package/esm2015/components/input-count/input-count.component.js +2 -3
- package/esm2015/components/input-count/input-count.directive.js +13 -6
- package/esm2015/components/input-date/input-date.component.js +2 -2
- package/esm2015/components/input-date/input-date.directive.js +3 -3
- package/esm2015/components/input-date-range/input-date-range.component.js +9 -10
- package/esm2015/components/input-date-range/input-date-range.directive.js +8 -3
- package/esm2015/components/input-date-time/input-date-time.component.js +2 -2
- package/esm2015/components/input-date-time/input-date-time.directive.js +3 -3
- package/esm2015/components/input-month/input-month.directive.js +3 -3
- package/esm2015/components/input-month-range/input-month-range.directive.js +3 -3
- package/esm2015/components/input-number/input-number.component.js +2 -2
- package/esm2015/components/input-number/input-number.directive.js +6 -9
- package/esm2015/components/input-password/input-password.component.js +14 -12
- package/esm2015/components/input-password/input-password.directive.js +7 -5
- package/esm2015/components/input-phone/input-phone.component.js +2 -2
- package/esm2015/components/input-phone/input-phone.directive.js +3 -3
- package/esm2015/components/input-phone-international/input-phone-international.component.js +2 -2
- package/esm2015/components/input-phone-international/input-phone-international.module.js +5 -5
- package/esm2015/components/input-tag/input-tag.component.js +32 -19
- package/esm2015/components/input-time/input-time.component.js +2 -2
- package/esm2015/components/line-clamp/line-clamp.component.js +2 -2
- package/esm2015/components/multi-select/multi-select.component.js +9 -3
- package/esm2015/components/push/index.js +8 -0
- package/esm2015/components/push/push-alert.component.js +49 -0
- package/esm2015/components/push/push-alert.directive.js +45 -0
- package/esm2015/components/push/push.component.js +52 -0
- package/esm2015/components/push/push.directive.js +54 -0
- package/esm2015/components/push/push.module.js +73 -0
- package/esm2015/components/push/push.options.js +10 -0
- package/esm2015/components/push/push.service.js +23 -0
- package/esm2015/components/push/taiga-ui-kit-components-push.js +5 -0
- package/esm2015/components/select/select.directive.js +3 -3
- package/esm2015/components/text-area/text-area.component.js +26 -17
- package/esm2015/components/text-area/text-area.directive.js +3 -3
- package/esm2015/components/text-area/text-area.module.js +2 -5
- package/esm2015/validators/unfinished.validator.js +4 -4
- package/fesm2015/taiga-ui-kit-components-accordion.js +1 -1
- package/fesm2015/taiga-ui-kit-components-accordion.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-action.js +17 -27
- package/fesm2015/taiga-ui-kit-components-action.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-badged-content.js +1 -1
- package/fesm2015/taiga-ui-kit-components-badged-content.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-combo-box.js +2 -2
- package/fesm2015/taiga-ui-kit-components-combo-box.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-files.js +2 -2
- package/fesm2015/taiga-ui-kit-components-files.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-input-copy.js +3 -3
- package/fesm2015/taiga-ui-kit-components-input-copy.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-input-count.js +13 -7
- package/fesm2015/taiga-ui-kit-components-input-count.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-input-date-range.js +14 -10
- package/fesm2015/taiga-ui-kit-components-input-date-range.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-input-date-time.js +3 -3
- package/fesm2015/taiga-ui-kit-components-input-date-time.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-input-date.js +3 -3
- package/fesm2015/taiga-ui-kit-components-input-date.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-input-month-range.js +2 -2
- package/fesm2015/taiga-ui-kit-components-input-month-range.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-input-month.js +2 -2
- package/fesm2015/taiga-ui-kit-components-input-month.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-input-number.js +6 -9
- package/fesm2015/taiga-ui-kit-components-input-number.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-input-password.js +18 -15
- package/fesm2015/taiga-ui-kit-components-input-password.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-input-phone-international.js +5 -5
- package/fesm2015/taiga-ui-kit-components-input-phone-international.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-input-phone.js +3 -3
- package/fesm2015/taiga-ui-kit-components-input-phone.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-input-tag.js +31 -18
- package/fesm2015/taiga-ui-kit-components-input-tag.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-input-time.js +1 -1
- package/fesm2015/taiga-ui-kit-components-input-time.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-input.js +2 -2
- package/fesm2015/taiga-ui-kit-components-input.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-line-clamp.js +1 -1
- package/fesm2015/taiga-ui-kit-components-line-clamp.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-multi-select.js +8 -2
- package/fesm2015/taiga-ui-kit-components-multi-select.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-push.js +277 -0
- package/fesm2015/taiga-ui-kit-components-push.js.map +1 -0
- package/fesm2015/taiga-ui-kit-components-select.js +2 -2
- package/fesm2015/taiga-ui-kit-components-select.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-text-area.js +26 -20
- package/fesm2015/taiga-ui-kit-components-text-area.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components.js +1 -0
- package/fesm2015/taiga-ui-kit-components.js.map +1 -1
- package/fesm2015/taiga-ui-kit-validators.js +3 -3
- package/fesm2015/taiga-ui-kit-validators.js.map +1 -1
- package/package.json +4 -4
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ChangeDetectorRef } from '@angular/core';
|
|
2
2
|
import { NgControl } from '@angular/forms';
|
|
3
3
|
import { AbstractTuiControl, TuiContextWithImplicit, TuiFocusableElementAccessor, TuiInputType, TuiNativeFocusableElement } from '@taiga-ui/cdk';
|
|
4
|
-
import { TuiBrightness,
|
|
4
|
+
import { TuiBrightness, TuiHintOptionsDirective, TuiSizeL, TuiSizeS, TuiTextfieldSizeDirective } from '@taiga-ui/core';
|
|
5
5
|
import { PolymorpheusContent } from '@tinkoff/ng-polymorpheus';
|
|
6
6
|
import { Observable } from 'rxjs';
|
|
7
7
|
import { TuiInputPasswordOptions } from './input-password-options';
|
|
@@ -10,13 +10,14 @@ export declare class TuiInputPasswordComponent extends AbstractTuiControl<string
|
|
|
10
10
|
private readonly textfieldSize;
|
|
11
11
|
readonly passwordTexts$: Observable<[string, string]>;
|
|
12
12
|
readonly options: TuiInputPasswordOptions;
|
|
13
|
-
readonly
|
|
13
|
+
readonly hintOptions: TuiHintOptionsDirective | null;
|
|
14
14
|
private readonly mode$;
|
|
15
15
|
private readonly textfield?;
|
|
16
|
+
private readonly directive$;
|
|
16
17
|
isPasswordHidden: boolean;
|
|
17
18
|
readonly computedAppearance$: Observable<string>;
|
|
18
19
|
readonly type: TuiContextWithImplicit<TuiSizeS | TuiSizeL>;
|
|
19
|
-
constructor(control: NgControl | null, changeDetectorRef: ChangeDetectorRef, textfieldSize: TuiTextfieldSizeDirective, passwordTexts$: Observable<[string, string]>, options: TuiInputPasswordOptions,
|
|
20
|
+
constructor(control: NgControl | null, changeDetectorRef: ChangeDetectorRef, textfieldSize: TuiTextfieldSizeDirective, passwordTexts$: Observable<[string, string]>, options: TuiInputPasswordOptions, hintOptions: TuiHintOptionsDirective | null, mode$: Observable<TuiBrightness | null>);
|
|
20
21
|
get nativeFocusableElement(): TuiNativeFocusableElement | null;
|
|
21
22
|
get focused(): boolean;
|
|
22
23
|
get icon(): PolymorpheusContent<TuiContextWithImplicit<TuiSizeS | TuiSizeL>>;
|
|
@@ -27,6 +28,6 @@ export declare class TuiInputPasswordComponent extends AbstractTuiControl<string
|
|
|
27
28
|
togglePasswordVisibility(): void;
|
|
28
29
|
protected getFallbackValue(): string;
|
|
29
30
|
private getContext;
|
|
30
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TuiInputPasswordComponent, [{ optional: true; self: true; }, null, null, null, null,
|
|
31
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TuiInputPasswordComponent, [{ optional: true; self: true; }, null, null, null, null, { optional: true; }, null]>;
|
|
31
32
|
static ɵcmp: i0.ɵɵComponentDeclaration<TuiInputPasswordComponent, "tui-input-password", never, {}, {}, never, ["*", "input"]>;
|
|
32
33
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { DoCheck } from '@angular/core';
|
|
2
|
-
import {
|
|
2
|
+
import { AbstractTuiTextfieldHost } from '@taiga-ui/core';
|
|
3
3
|
import { TuiInputPasswordComponent } from './input-password.component';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class TuiInputPasswordDirective extends
|
|
5
|
+
export declare class TuiInputPasswordDirective extends AbstractTuiTextfieldHost<TuiInputPasswordComponent> implements DoCheck {
|
|
6
6
|
input?: HTMLInputElement;
|
|
7
7
|
onValueChange(value: string): void;
|
|
8
8
|
process(input: HTMLInputElement): void;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { DoCheck } from '@angular/core';
|
|
2
|
-
import {
|
|
2
|
+
import { AbstractTuiTextfieldHost } from '@taiga-ui/core';
|
|
3
3
|
import { TuiInputPhoneComponent } from './input-phone.component';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class TuiInputPhoneDirective extends
|
|
5
|
+
export declare class TuiInputPhoneDirective extends AbstractTuiTextfieldHost<TuiInputPhoneComponent> implements DoCheck {
|
|
6
6
|
input?: HTMLInputElement;
|
|
7
7
|
get value(): string;
|
|
8
8
|
onValueChange(value: string): void;
|
|
@@ -9,6 +9,6 @@ import * as i7 from "@taiga-ui/kit/components/arrow";
|
|
|
9
9
|
import * as i8 from "@taiga-ui/cdk";
|
|
10
10
|
export declare class TuiInputPhoneInternationalModule {
|
|
11
11
|
static ɵfac: i0.ɵɵFactoryDeclaration<TuiInputPhoneInternationalModule, never>;
|
|
12
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<TuiInputPhoneInternationalModule, [typeof i1.TuiInputPhoneInternationalComponent], [typeof i2.CommonModule, typeof i3.FormsModule, typeof i4.PolymorpheusModule, typeof i5.TuiSvgModule, typeof i6.TuiInputPhoneModule, typeof i5.TuiGroupModule, typeof i5.TuiPrimitiveTextfieldModule, typeof i5.TuiTextfieldControllerModule, typeof i5.
|
|
12
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<TuiInputPhoneInternationalModule, [typeof i1.TuiInputPhoneInternationalComponent], [typeof i2.CommonModule, typeof i3.FormsModule, typeof i4.PolymorpheusModule, typeof i5.TuiSvgModule, typeof i6.TuiInputPhoneModule, typeof i5.TuiGroupModule, typeof i5.TuiPrimitiveTextfieldModule, typeof i5.TuiTextfieldControllerModule, typeof i5.TuiHintModule, typeof i5.TuiHostedDropdownModule, typeof i5.TuiDataListModule, typeof i7.TuiArrowModule, typeof i8.TuiLetModule, typeof i8.TuiMapperPipeModule, typeof i8.TuiActiveZoneModule], [typeof i1.TuiInputPhoneInternationalComponent]>;
|
|
13
13
|
static ɵinj: i0.ɵɵInjectorDeclaration<TuiInputPhoneInternationalModule>;
|
|
14
14
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ChangeDetectorRef, ElementRef, EventEmitter, TemplateRef } from '@angular/core';
|
|
2
2
|
import { NgControl } from '@angular/forms';
|
|
3
3
|
import { AbstractTuiMultipleControl, TuiActiveZoneDirective, TuiBooleanHandler, TuiContextWithImplicit, TuiFocusableElementAccessor, TuiScrollService } from '@taiga-ui/cdk';
|
|
4
|
-
import { TuiBrightness, TuiDataListHost,
|
|
4
|
+
import { TuiBrightness, TuiDataListHost, TuiHintOptionsDirective, TuiHostedDropdownComponent, TuiModeDirective, TuiScrollbarComponent, TuiSizeL, TuiSizeS, TuiTextfieldController } from '@taiga-ui/core';
|
|
5
5
|
import { TuiStringifiableItem } from '@taiga-ui/kit/classes';
|
|
6
6
|
import { TuiStatus } from '@taiga-ui/kit/types';
|
|
7
7
|
import { PolymorpheusContent } from '@tinkoff/ng-polymorpheus';
|
|
@@ -14,7 +14,7 @@ export declare class TuiInputTagComponent extends AbstractTuiMultipleControl<str
|
|
|
14
14
|
readonly appearance: string;
|
|
15
15
|
private readonly modeDirective;
|
|
16
16
|
private readonly mode$;
|
|
17
|
-
readonly
|
|
17
|
+
readonly hintOptions: TuiHintOptionsDirective | null;
|
|
18
18
|
readonly controller: TuiTextfieldController;
|
|
19
19
|
private readonly options;
|
|
20
20
|
private readonly parentHostedDropdown?;
|
|
@@ -33,6 +33,8 @@ export declare class TuiInputTagComponent extends AbstractTuiMultipleControl<str
|
|
|
33
33
|
expandable: boolean;
|
|
34
34
|
inputHidden: boolean;
|
|
35
35
|
uniqueTags: boolean;
|
|
36
|
+
maxLength: number | null;
|
|
37
|
+
placeholder: string;
|
|
36
38
|
disabledItemHandler: TuiBooleanHandler<string | TuiStringifiableItem<any>>;
|
|
37
39
|
set pseudoFocusedSetter(value: boolean | null);
|
|
38
40
|
readonly searchChange: EventEmitter<string>;
|
|
@@ -41,7 +43,7 @@ export declare class TuiInputTagComponent extends AbstractTuiMultipleControl<str
|
|
|
41
43
|
set scrollerSetter(scroller: TuiScrollbarComponent | null);
|
|
42
44
|
status$: Observable<TuiStatus>;
|
|
43
45
|
open: boolean;
|
|
44
|
-
constructor(control: NgControl | null, changeDetectorRef: ChangeDetectorRef, tuiScrollService: TuiScrollService, elementRef: ElementRef<HTMLElement>, appearance: string, modeDirective: TuiModeDirective | null, mode$: Observable<TuiBrightness | null>,
|
|
46
|
+
constructor(control: NgControl | null, changeDetectorRef: ChangeDetectorRef, tuiScrollService: TuiScrollService, elementRef: ElementRef<HTMLElement>, appearance: string, modeDirective: TuiModeDirective | null, mode$: Observable<TuiBrightness | null>, hintOptions: TuiHintOptionsDirective | null, controller: TuiTextfieldController, options: TuiInputTagOptions, parentHostedDropdown?: TuiHostedDropdownComponent | undefined);
|
|
45
47
|
get nativeFocusableElement(): HTMLInputElement | null;
|
|
46
48
|
get focused(): boolean;
|
|
47
49
|
get size(): TuiSizeL | TuiSizeS;
|
|
@@ -54,7 +56,6 @@ export declare class TuiInputTagComponent extends AbstractTuiMultipleControl<str
|
|
|
54
56
|
get hasPlaceholder(): boolean;
|
|
55
57
|
get placeholderRaised(): boolean;
|
|
56
58
|
get hasExampleText(): boolean;
|
|
57
|
-
get hasTooltip(): boolean;
|
|
58
59
|
get hasRightIcons(): boolean;
|
|
59
60
|
get status(): TuiStatus;
|
|
60
61
|
get canOpen(): boolean;
|
|
@@ -80,6 +81,6 @@ export declare class TuiInputTagComponent extends AbstractTuiMultipleControl<str
|
|
|
80
81
|
private addTag;
|
|
81
82
|
private deleteLastEnabledItem;
|
|
82
83
|
private focusInput;
|
|
83
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TuiInputTagComponent, [{ optional: true; self: true; }, null, null, null, null, { optional: true; }, null,
|
|
84
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TuiInputTagComponent, "tui-input-tag", never, { "separator": "separator"; "search": "search"; "editable": "editable"; "tagValidator": "tagValidator"; "expandable": "expandable"; "inputHidden": "inputHidden"; "uniqueTags": "uniqueTags"; "disabledItemHandler": "disabledItemHandler"; "pseudoFocusedSetter": "pseudoFocused"; }, { "searchChange": "searchChange"; }, ["datalist"], ["*"]>;
|
|
84
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TuiInputTagComponent, [{ optional: true; self: true; }, null, null, null, null, { optional: true; }, null, { optional: true; }, null, null, { optional: true; }]>;
|
|
85
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TuiInputTagComponent, "tui-input-tag", never, { "separator": "separator"; "search": "search"; "editable": "editable"; "tagValidator": "tagValidator"; "expandable": "expandable"; "inputHidden": "inputHidden"; "uniqueTags": "uniqueTags"; "maxLength": "maxLength"; "placeholder": "placeholder"; "disabledItemHandler": "disabledItemHandler"; "pseudoFocusedSetter": "pseudoFocused"; }, { "searchChange": "searchChange"; }, ["datalist"], ["*"]>;
|
|
85
86
|
}
|
|
@@ -21,6 +21,7 @@ export declare class TuiMultiSelectComponent<T> extends AbstractTuiMultipleContr
|
|
|
21
21
|
identityMatcher: TuiItemsHandlers<T>['identityMatcher'];
|
|
22
22
|
expandable: TuiMultiSelectOptions<T>['expandable'];
|
|
23
23
|
search: string | null;
|
|
24
|
+
placeholder: string;
|
|
24
25
|
editable: boolean;
|
|
25
26
|
disabledItemHandler: TuiItemsHandlers<T>['disabledItemHandler'];
|
|
26
27
|
valueContent: TuiMultiSelectOptions<T>['valueContent'];
|
|
@@ -57,5 +58,5 @@ export declare class TuiMultiSelectComponent<T> extends AbstractTuiMultipleContr
|
|
|
57
58
|
private updateSearch;
|
|
58
59
|
private focusInput;
|
|
59
60
|
static ɵfac: i0.ɵɵFactoryDeclaration<TuiMultiSelectComponent<any>, [{ optional: true; self: true; }, null, null, null, null, null, null]>;
|
|
60
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TuiMultiSelectComponent<any>, "tui-multi-select", never, { "stringify": "stringify"; "identityMatcher": "identityMatcher"; "expandable": "expandable"; "search": "search"; "editable": "editable"; "disabledItemHandler": "disabledItemHandler"; "valueContent": "valueContent"; }, { "searchChange": "searchChange"; }, ["accessor", "datalist"], ["*"]>;
|
|
61
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TuiMultiSelectComponent<any>, "tui-multi-select", never, { "stringify": "stringify"; "identityMatcher": "identityMatcher"; "expandable": "expandable"; "search": "search"; "placeholder": "placeholder"; "editable": "editable"; "disabledItemHandler": "disabledItemHandler"; "valueContent": "valueContent"; }, { "searchChange": "searchChange"; }, ["accessor", "datalist"], ["*"]>;
|
|
61
62
|
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
{
|
|
2
|
+
"main": "../../bundles/taiga-ui-kit-components-push.umd.js",
|
|
3
|
+
"module": "../../fesm2015/taiga-ui-kit-components-push.js",
|
|
4
|
+
"es2015": "../../fesm2015/taiga-ui-kit-components-push.js",
|
|
5
|
+
"esm2015": "../../esm2015/components/push/taiga-ui-kit-components-push.js",
|
|
6
|
+
"fesm2015": "../../fesm2015/taiga-ui-kit-components-push.js",
|
|
7
|
+
"typings": "taiga-ui-kit-components-push.d.ts",
|
|
8
|
+
"sideEffects": false,
|
|
9
|
+
"name": "@taiga-ui/kit/components/push"
|
|
10
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { AnimationOptions } from '@angular/animations';
|
|
2
|
+
import { TuiDialog } from '@taiga-ui/cdk';
|
|
3
|
+
import { TuiPushOptions } from './push.options';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class TuiPushAlertComponent {
|
|
6
|
+
private readonly options;
|
|
7
|
+
readonly context: TuiDialog<TuiPushOptions, string>;
|
|
8
|
+
readonly animation: {
|
|
9
|
+
readonly delay?: string | number | undefined;
|
|
10
|
+
readonly params?: {
|
|
11
|
+
[name: string]: any;
|
|
12
|
+
} | undefined;
|
|
13
|
+
readonly value: "";
|
|
14
|
+
};
|
|
15
|
+
constructor(options: AnimationOptions, context: TuiDialog<TuiPushOptions, string>);
|
|
16
|
+
get isDirective(): boolean;
|
|
17
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TuiPushAlertComponent, never>;
|
|
18
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TuiPushAlertComponent, "tui-push-alert", never, {}, {}, never, never>;
|
|
19
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { ChangeDetectorRef, TemplateRef } from '@angular/core';
|
|
2
|
+
import { PolymorpheusTemplate } from '@tinkoff/ng-polymorpheus';
|
|
3
|
+
import { Observable } from 'rxjs';
|
|
4
|
+
import { TuiPushService } from './push.service';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class TuiPushAlertDirective extends PolymorpheusTemplate<any> {
|
|
7
|
+
private readonly show$;
|
|
8
|
+
set tuiPush(show: boolean);
|
|
9
|
+
constructor(template: TemplateRef<any>, changeDetectorRef: ChangeDetectorRef, destroy$: Observable<unknown>, push: TuiPushService);
|
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TuiPushAlertDirective, never>;
|
|
11
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<TuiPushAlertDirective, "[tuiPush]", never, { "tuiPush": "tuiPush"; }, {}, never>;
|
|
12
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
|
2
|
+
import { Observable } from 'rxjs';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class TuiPushComponent {
|
|
5
|
+
readonly closeWord$: Observable<string>;
|
|
6
|
+
heading: string;
|
|
7
|
+
type: string;
|
|
8
|
+
timestamp: number;
|
|
9
|
+
readonly close: EventEmitter<void>;
|
|
10
|
+
constructor(closeWord$: Observable<string>);
|
|
11
|
+
get closeable(): boolean;
|
|
12
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TuiPushComponent, never>;
|
|
13
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TuiPushComponent, "tui-push", never, { "heading": "heading"; "type": "type"; "timestamp": "timestamp"; }, { "close": "close"; }, never, ["img", "tui-svg", "*", "[tuiButton]", "[tuiLink]"]>;
|
|
14
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { TuiButtonOptions, TuiModeDirective } from '@taiga-ui/core';
|
|
2
|
+
import { Subject } from 'rxjs';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class TuiPushDirective extends TuiModeDirective implements TuiButtonOptions {
|
|
5
|
+
private readonly modeDirective;
|
|
6
|
+
size: TuiButtonOptions['size'];
|
|
7
|
+
shape: null;
|
|
8
|
+
readonly change$: Subject<void>;
|
|
9
|
+
constructor(modeDirective: TuiModeDirective | null);
|
|
10
|
+
get appearance(): string;
|
|
11
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TuiPushDirective, [{ optional: true; skipSelf: true; }]>;
|
|
12
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<TuiPushDirective, "tui-push", never, {}, {}, never>;
|
|
13
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./push.component";
|
|
3
|
+
import * as i2 from "./push.directive";
|
|
4
|
+
import * as i3 from "./push-alert.component";
|
|
5
|
+
import * as i4 from "./push-alert.directive";
|
|
6
|
+
import * as i5 from "@angular/common";
|
|
7
|
+
import * as i6 from "@tinkoff/ng-polymorpheus";
|
|
8
|
+
import * as i7 from "@taiga-ui/core";
|
|
9
|
+
export declare class TuiPushModule {
|
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TuiPushModule, never>;
|
|
11
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<TuiPushModule, [typeof i1.TuiPushComponent, typeof i2.TuiPushDirective, typeof i3.TuiPushAlertComponent, typeof i4.TuiPushAlertDirective], [typeof i5.CommonModule, typeof i6.PolymorpheusModule, typeof i7.TuiButtonModule, typeof i7.TuiLinkModule, typeof i7.TuiSvgModule, typeof i7.TuiFormatDatePipeModule], [typeof i1.TuiPushComponent, typeof i2.TuiPushDirective, typeof i3.TuiPushAlertComponent, typeof i4.TuiPushAlertDirective]>;
|
|
12
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<TuiPushModule>;
|
|
13
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export interface TuiPushOptions {
|
|
2
|
+
readonly heading: string;
|
|
3
|
+
readonly type: string;
|
|
4
|
+
readonly timestamp: number;
|
|
5
|
+
readonly image: string;
|
|
6
|
+
readonly icon: string;
|
|
7
|
+
readonly iconColor: string;
|
|
8
|
+
readonly buttons: readonly string[];
|
|
9
|
+
}
|
|
10
|
+
export declare const TUI_PUSH_DEFAULT_OPTIONS: TuiPushOptions;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { AbstractTuiDialogService, TuiBaseDialogContext } from '@taiga-ui/cdk';
|
|
2
|
+
import { PolymorpheusComponent, PolymorpheusContent } from '@tinkoff/ng-polymorpheus';
|
|
3
|
+
import { Observable } from 'rxjs';
|
|
4
|
+
import { TuiPushOptions } from './push.options';
|
|
5
|
+
import { TuiPushAlertComponent } from './push-alert.component';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
export declare class TuiPushService extends AbstractTuiDialogService<TuiPushOptions, string> {
|
|
8
|
+
protected readonly component: PolymorpheusComponent<TuiPushAlertComponent, Record<any, any>>;
|
|
9
|
+
protected readonly defaultOptions: TuiPushOptions;
|
|
10
|
+
open(content: PolymorpheusContent<TuiBaseDialogContext<string> & TuiPushOptions>, options?: Partial<TuiPushOptions>): Observable<string>;
|
|
11
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TuiPushService, never>;
|
|
12
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<TuiPushService>;
|
|
13
|
+
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { AbstractTuiTextfieldHost } from '@taiga-ui/core';
|
|
2
2
|
import { TuiSelectComponent } from './select.component';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class TuiSelectDirective extends
|
|
4
|
+
export declare class TuiSelectDirective extends AbstractTuiTextfieldHost<TuiSelectComponent<unknown>> {
|
|
5
5
|
get readOnly(): boolean;
|
|
6
6
|
get value(): string;
|
|
7
7
|
onValueChange(value: string): void;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ChangeDetectorRef } from '@angular/core';
|
|
2
2
|
import { NgControl } from '@angular/forms';
|
|
3
3
|
import { AbstractTuiControl, TuiFocusableElementAccessor } from '@taiga-ui/cdk';
|
|
4
|
-
import { TuiBrightness,
|
|
4
|
+
import { TuiBrightness, TuiHintOptionsDirective, TuiSizeL, TuiSizeS, TuiTextfieldController } from '@taiga-ui/core';
|
|
5
5
|
import { Observable } from 'rxjs';
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
7
7
|
export declare const DEFAULT_ROWS = 20;
|
|
@@ -12,12 +12,13 @@ export declare class TuiTextAreaComponent extends AbstractTuiControl<string> imp
|
|
|
12
12
|
readonly isIOS: boolean;
|
|
13
13
|
readonly mode$: Observable<TuiBrightness | null>;
|
|
14
14
|
readonly controller: TuiTextfieldController;
|
|
15
|
-
readonly
|
|
15
|
+
readonly hintOptions: TuiHintOptionsDirective | null;
|
|
16
16
|
private readonly focusableElement?;
|
|
17
17
|
private readonly textfield?;
|
|
18
18
|
rows: number;
|
|
19
|
+
maxLength: number | null;
|
|
19
20
|
expandable: boolean;
|
|
20
|
-
constructor(control: NgControl | null, changeDetectorRef: ChangeDetectorRef, appearance: string, isIOS: boolean, mode$: Observable<TuiBrightness | null>, controller: TuiTextfieldController,
|
|
21
|
+
constructor(control: NgControl | null, changeDetectorRef: ChangeDetectorRef, appearance: string, isIOS: boolean, mode$: Observable<TuiBrightness | null>, controller: TuiTextfieldController, hintOptions: TuiHintOptionsDirective | null);
|
|
21
22
|
get labelOutside(): boolean;
|
|
22
23
|
get nativeFocusableElement(): HTMLTextAreaElement | null;
|
|
23
24
|
get focused(): boolean;
|
|
@@ -38,6 +39,6 @@ export declare class TuiTextAreaComponent extends AbstractTuiControl<string> imp
|
|
|
38
39
|
onMouseDown(event: MouseEvent): void;
|
|
39
40
|
protected getFallbackValue(): string;
|
|
40
41
|
private get lineHeight();
|
|
41
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TuiTextAreaComponent, [{ optional: true; self: true; }, null, null, null, null, null,
|
|
42
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TuiTextAreaComponent, "tui-text-area", never, { "rows": "rows"; "expandable": "expandable"; }, {}, ["textfield"], ["*", "textarea"]>;
|
|
42
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TuiTextAreaComponent, [{ optional: true; self: true; }, null, null, null, null, null, { optional: true; }]>;
|
|
43
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TuiTextAreaComponent, "tui-text-area", never, { "rows": "rows"; "maxLength": "maxLength"; "expandable": "expandable"; }, {}, ["textfield"], ["*", "textarea"]>;
|
|
43
44
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { AbstractTuiTextfieldHost } from '@taiga-ui/core';
|
|
2
2
|
import { TuiTextAreaComponent } from './text-area.component';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class TuiTextAreaDirective extends
|
|
4
|
+
export declare class TuiTextAreaDirective extends AbstractTuiTextfieldHost<TuiTextAreaComponent> {
|
|
5
5
|
onValueChange(value: string): void;
|
|
6
6
|
static ɵfac: i0.ɵɵFactoryDeclaration<TuiTextAreaDirective, never>;
|
|
7
7
|
static ɵdir: i0.ɵɵDirectiveDeclaration<TuiTextAreaDirective, "tui-text-area", never, {}, {}, never>;
|
|
@@ -7,6 +7,6 @@ import * as i5 from "@taiga-ui/cdk";
|
|
|
7
7
|
import * as i6 from "@taiga-ui/core";
|
|
8
8
|
export declare class TuiTextAreaModule {
|
|
9
9
|
static ɵfac: i0.ɵɵFactoryDeclaration<TuiTextAreaModule, never>;
|
|
10
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<TuiTextAreaModule, [typeof i1.TuiTextAreaComponent, typeof i2.TuiTextAreaDirective], [typeof i3.CommonModule, typeof i4.FormsModule, typeof i5.TuiFocusableModule, typeof i6.TuiScrollbarModule, typeof i6.TuiTooltipModule, typeof i6.TuiWrapperModule, typeof i6.
|
|
10
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<TuiTextAreaModule, [typeof i1.TuiTextAreaComponent, typeof i2.TuiTextAreaDirective], [typeof i3.CommonModule, typeof i4.FormsModule, typeof i5.TuiFocusableModule, typeof i6.TuiScrollbarModule, typeof i6.TuiTooltipModule, typeof i6.TuiWrapperModule, typeof i6.TuiSvgModule, typeof i6.TuiPrimitiveTextfieldModule], [typeof i1.TuiTextAreaComponent, typeof i2.TuiTextAreaDirective, typeof i6.TuiTextfieldComponent]>;
|
|
11
11
|
static ɵinj: i0.ɵɵInjectorDeclaration<TuiTextAreaModule>;
|
|
12
12
|
}
|
|
@@ -71,7 +71,7 @@ export class TuiAccordionItemComponent extends AbstractTuiInteractive {
|
|
|
71
71
|
}
|
|
72
72
|
}
|
|
73
73
|
TuiAccordionItemComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TuiAccordionItemComponent, deps: [{ token: ChangeDetectorRef }, { token: TUI_MODE }], target: i0.ɵɵFactoryTarget.Component });
|
|
74
|
-
TuiAccordionItemComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: TuiAccordionItemComponent, selector: "tui-accordion-item", inputs: { noPadding: "noPadding", showArrow: "showArrow", borders: "borders", size: "size", disabled: "disabled", disableHover: "disableHover", open: "open", async: "async" }, outputs: { openChange: "openChange" }, host: { listeners: { "$.data-mode.attr": "mode$" }, properties: { "class._no-padding": "this.noPadding", "class._has-arrow": "this.showArrow", "attr.data-tui-host-borders": "this.borders", "attr.data-size": "this.size", "class._disabled": "this.disabled" } }, providers: [tuiAsFocusableItemAccessor(TuiAccordionItemComponent), MODE_PROVIDER], queries: [{ propertyName: "eagerContent", first: true, predicate: TuiAccordionItemEagerContentDirective, descendants: true }, { propertyName: "lazyContent", first: true, predicate: TuiAccordionItemContentDirective, descendants: true }], viewQueries: [{ propertyName: "focusableElement", first: true, predicate: ["focusableElement"], descendants: true }], usesInheritance: true, ngImport: i0, template: "<div\n #focusableElement\n automation-id=\"tui-accordion__item-wrapper\"\n class=\"t-wrapper\"\n [tuiFocusable]=\"computedFocusable\"\n (tuiFocusVisibleChange)=\"onFocusVisible($event)\"\n (tuiFocusedChange)=\"onFocused($event)\"\n (keydown.space)=\"onItemKeyDownSpace($event)\"\n (keydown.enter)=\"onItemKeyDownSpace($event)\"\n (keydown.esc)=\"onItemKeyDownEsc($event)\"\n>\n <div\n automation-id=\"tui-accordion__item-header\"\n class=\"t-header\"\n [class.t-header_open]=\"open\"\n [class.t-header_hoverable]=\"!disableHover\"\n (click)=\"onRowToggle()\"\n >\n <div\n automation-id=\"tui-accordion__item-title\"\n class=\"t-title\"\n >\n <ng-content></ng-content>\n </div>\n <tui-svg\n *ngIf=\"showArrow\"\n automation-id=\"tui-accordion__item-arrow\"\n src=\"tuiIconChevronDownLarge\"\n class=\"t-icon\"\n [class.t-icon_open]=\"open\"\n ></tui-svg>\n </div>\n <tui-expand\n [async]=\"async\"\n [expanded]=\"open\"\n >\n <
|
|
74
|
+
TuiAccordionItemComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: TuiAccordionItemComponent, selector: "tui-accordion-item", inputs: { noPadding: "noPadding", showArrow: "showArrow", borders: "borders", size: "size", disabled: "disabled", disableHover: "disableHover", open: "open", async: "async" }, outputs: { openChange: "openChange" }, host: { listeners: { "$.data-mode.attr": "mode$" }, properties: { "class._no-padding": "this.noPadding", "class._has-arrow": "this.showArrow", "attr.data-tui-host-borders": "this.borders", "attr.data-size": "this.size", "class._disabled": "this.disabled" } }, providers: [tuiAsFocusableItemAccessor(TuiAccordionItemComponent), MODE_PROVIDER], queries: [{ propertyName: "eagerContent", first: true, predicate: TuiAccordionItemEagerContentDirective, descendants: true }, { propertyName: "lazyContent", first: true, predicate: TuiAccordionItemContentDirective, descendants: true }], viewQueries: [{ propertyName: "focusableElement", first: true, predicate: ["focusableElement"], descendants: true }], usesInheritance: true, ngImport: i0, template: "<div\n #focusableElement\n automation-id=\"tui-accordion__item-wrapper\"\n class=\"t-wrapper\"\n [tuiFocusable]=\"computedFocusable\"\n (tuiFocusVisibleChange)=\"onFocusVisible($event)\"\n (tuiFocusedChange)=\"onFocused($event)\"\n (keydown.space)=\"onItemKeyDownSpace($event)\"\n (keydown.enter)=\"onItemKeyDownSpace($event)\"\n (keydown.esc)=\"onItemKeyDownEsc($event)\"\n>\n <div\n automation-id=\"tui-accordion__item-header\"\n class=\"t-header\"\n [class.t-header_open]=\"open\"\n [class.t-header_hoverable]=\"!disableHover\"\n (click)=\"onRowToggle()\"\n >\n <div\n automation-id=\"tui-accordion__item-title\"\n class=\"t-title\"\n >\n <ng-content></ng-content>\n </div>\n <tui-svg\n *ngIf=\"showArrow\"\n automation-id=\"tui-accordion__item-arrow\"\n src=\"tuiIconChevronDownLarge\"\n class=\"t-icon\"\n [class.t-icon_open]=\"open\"\n ></tui-svg>\n </div>\n <tui-expand\n [async]=\"async\"\n [expanded]=\"open\"\n >\n <ng-template>\n <div\n *ngIf=\"lazyContent\"\n automation-id=\"tui-accordion__item-content\"\n class=\"t-content\"\n >\n <ng-container *polymorpheusOutlet=\"lazyContent as text\">\n {{ text }}\n </ng-container>\n </div>\n </ng-template>\n <div\n *ngIf=\"eagerContent\"\n class=\"t-content\"\n >\n <ng-content select=\"[tuiAccordionItemContent]\"></ng-content>\n </div>\n </tui-expand>\n</div>\n", styles: [":host{position:relative;display:block;overflow:hidden;border-radius:var(--tui-radius-l)}:host[data-tui-host-borders=top-bottom]{border-radius:0!important}.t-wrapper{position:relative;border-radius:inherit}.t-wrapper:focus{outline:none}.t-wrapper:after{position:absolute;top:0;left:0;width:100%;height:100%;content:\"\";box-sizing:border-box;border-radius:inherit;border:1px solid var(--tui-base-04);pointer-events:none}:host:not([data-tui-host-borders]) .t-wrapper:after{border-width:0}:host[data-tui-host-borders=all] .t-wrapper:after{border-width:1px}:host[data-tui-host-borders=top-bottom] .t-wrapper:after{border-left-width:0;border-right-width:0}:host[data-tui-host-borders=top] .t-wrapper:after{border-left-width:0;border-right-width:0;border-bottom-width:0}:host[data-tui-host-borders=bottom] .t-wrapper:after{border-left-width:0;border-right-width:0;border-top-width:0}:host[data-mode=onDark] .t-wrapper:after{border-color:var(--tui-base-03)}:host[data-mode=onLight] .t-wrapper:after{border-color:var(--tui-text-01)}:host._focus-visible .t-wrapper:after{border:2px solid var(--tui-focus)}:host:not([data-mode]) .t-wrapper{background:var(--tui-base-01)}.t-header{transition-property:background;transition-duration:.3s;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;display:flex;font:var(--tui-font-text-l);align-items:center;box-sizing:border-box;border-bottom:1px solid var(--tui-base-04);min-height:var(--tui-height-l);padding:.75rem 1.25rem;color:var(--tui-text-01);cursor:pointer}:host[data-mode=onDark] .t-header{color:var(--tui-text-01-night);border-color:var(--tui-base-03)}:host[data-mode=onLight] .t-header{border-color:var(--tui-text-01)}:host:not([data-tui-host-borders]) .t-header{border-bottom-width:0;box-shadow:none}:host._has-arrow .t-header{padding-right:.75rem}:host[data-mode=onDark] .t-header_open{background:var(--tui-clear-inverse)}:host[data-mode=onLight] .t-header_open{background:var(--tui-clear)}:host[data-size=s] .t-header{font:var(--tui-font-text-m);min-height:var(--tui-height-m);padding:.625rem .75rem .625rem 1rem}:host._no-padding .t-header{padding-left:0;padding-right:0}:host._disabled .t-header{cursor:default}:host:hover:not([data-mode]) .t-header_hoverable{background:var(--tui-base-02)}:host:hover[data-mode=onDark] .t-header_hoverable{background:var(--tui-clear-inverse)}:host:hover[data-mode=onLight] .t-header_hoverable{background:var(--tui-clear)}.t-title{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-right:0;flex-grow:1}:host._has-arrow .t-title{margin-right:.5rem}.t-icon{transition-property:transform,color;transition-duration:.3s;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;width:1.5rem;height:1.5rem;margin-left:auto;color:var(--tui-base-06)}.t-icon_open{transform:rotate(180deg)}:host[data-mode] .t-icon{opacity:var(--tui-disabled-opacity)}:host:hover[data-mode] .t-icon{opacity:.8}:host[data-mode=onDark] .t-icon{color:var(--tui-text-01-night)}:host[data-mode=onLight] .t-icon{color:var(--tui-text-01)}:host:hover:not([data-mode]) .t-icon{color:var(--tui-base-07)}.t-content{font:var(--tui-font-text-m);padding:1.25rem;word-wrap:break-word}:host[data-size=s] .t-content{font:var(--tui-font-text-s);padding:1rem}\n"], components: [{ type: i1.TuiSvgComponent, selector: "tui-svg", inputs: ["src"] }, { type: i1.TuiExpandComponent, selector: "tui-expand", inputs: ["async", "expanded"] }], directives: [{ type: i2.TuiFocusableDirective, selector: "[tuiFocusable]", inputs: ["tuiFocusable"] }, { type: i2.TuiFocusVisibleDirective, selector: "[tuiFocusVisibleChange]", outputs: ["tuiFocusVisibleChange"] }, { type: i2.TuiFocusedDirective, selector: "[tuiFocusedChange]", outputs: ["tuiFocusedChange"] }, { type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i4.PolymorpheusOutletDirective, selector: "[polymorpheusOutlet]", inputs: ["polymorpheusOutlet", "polymorpheusOutletContext"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
75
75
|
__decorate([
|
|
76
76
|
tuiDefaultProp()
|
|
77
77
|
], TuiAccordionItemComponent.prototype, "noPadding", void 0);
|
|
@@ -157,4 +157,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
157
157
|
type: ContentChild,
|
|
158
158
|
args: [TuiAccordionItemContentDirective]
|
|
159
159
|
}] } });
|
|
160
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWNjb3JkaW9uLWl0ZW0uY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMva2l0L2NvbXBvbmVudHMvYWNjb3JkaW9uL2FjY29yZGlvbi1pdGVtL2FjY29yZGlvbi1pdGVtLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2tpdC9jb21wb25lbnRzL2FjY29yZGlvbi9hY2NvcmRpb24taXRlbS9hY2NvcmRpb24taXRlbS50ZW1wbGF0ZS5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7QUFBQSxPQUFPLEVBQ0gsdUJBQXVCLEVBQ3ZCLGlCQUFpQixFQUNqQixTQUFTLEVBQ1QsWUFBWSxFQUVaLFlBQVksRUFDWixXQUFXLEVBQ1gsTUFBTSxFQUNOLEtBQUssRUFDTCxNQUFNLEVBQ04sU0FBUyxHQUNaLE1BQU0sZUFBZSxDQUFDO0FBQ3ZCLE9BQU8sRUFDSCxzQkFBc0IsRUFDdEIsMEJBQTBCLEVBQzFCLGNBQWMsRUFFZ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GFzcy50LWhlYWRlcl9ob3ZlcmFibGVdPVwiIWRpc2FibGVIb3ZlclwiXG4gICAgICAgIChjbGljayk9XCJvblJvd1RvZ2dsZSgpXCJcbiAgICA+XG4gICAgICAgIDxkaXZcbiAgICAgICAgICAgIGF1dG9tYXRpb24taWQ9XCJ0dWktYWNjb3JkaW9uX19pdGVtLXRpdGxlXCJcbiAgICAgICAgICAgIGNsYXNzPVwidC10aXRsZVwiXG4gICAgICAgID5cbiAgICAgICAgICAgIDxuZy1jb250ZW50PjwvbmctY29udGVudD5cbiAgICAgICAgPC9kaXY+XG4gICAgICAgIDx0dWktc3ZnXG4gICAgICAgICAgICAqbmdJZj1cInNob3dBcnJvd1wiXG4gICAgICAgICAgICBhdXRvbWF0aW9uLWlkPVwidHVpLWFjY29yZGlvbl9faXRlbS1hcnJvd1wiXG4gICAgICAgICAgICBzcmM9XCJ0dWlJY29uQ2hldnJvbkRvd25MYXJnZVwiXG4gICAgICAgICAgICBjbGFzcz1cInQtaWNvblwiXG4gICAgICAgICAgICBbY2xhc3MudC1pY29uX29wZW5dPVwib3BlblwiXG4gICAgICAgID48L3R1aS1zdmc+XG4gICAgPC9kaXY+XG4gICAgPHR1aS1leHBhbmRcbiAgICAgICAgW2FzeW5jXT1cImFzeW5jXCJcbiAgICAgICAgW2V4cGFuZGVkXT1cIm9wZW5cIlxuICAgID5cbiAgICAgICAgPGRpdlxuICAgICAgICAgICAgKm5nSWY9XCJlYWdlckNvbnRlbnRcIlxuICAgICAgICAgICAgY2xhc3M9XCJ0LWNvbnRlbnRcIlxuICAgICAgICA+XG4gICAgICAgICAgICA8bmctY29udGVudCBzZWxlY3Q9XCJbdHVpQWNjb3JkaW9uSXRlbUNvbnRlbnRdXCI+PC9uZy1jb250ZW50PlxuICAgICAgICA8L2Rpdj5cbiAgICAgICAgPG5nLXRlbXBsYXRlIHR1aUV4cGFuZENvbnRlbnQ+XG4gICAgICAgICAgICA8ZGl2XG4gICAgICAgICAgICAgICAgKm5nSWY9XCJsYXp5Q29udGVudFwiXG4gICAgICAgICAgICAgICAgYXV0b21hdGlvbi1pZD1cInR1aS1hY2NvcmRpb25fX2l0ZW0tY29udGVudFwiXG4gICAgICAgICAgICAgICAgY2xhc3M9XCJ0LWNvbnRlbnRcIlxuICAgICAgICAgICAgPlxuICAgICAgICAgICAgICAgIDxuZy1jb250YWluZXIgKnBvbHltb3JwaGV1c091dGxldD1cImxhenlDb250ZW50IGFzIHRleHRcIj5cbiAgICAgICAgICAgICAgICAgICAge3sgdGV4dCB9fVxuICAgICAgICAgICAgICAgIDwvbmctY29udGFpbmVyPlxuICAgICAgICAgICAgPC9kaXY+XG4gICAgICAgIDwvbmctdGVtcGxhdGU+XG4gICAgPC90dWktZXhwYW5kPlxuPC9kaXY+XG4iXX0=
|
|
160
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWNjb3JkaW9uLWl0ZW0uY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMva2l0L2NvbXBvbmVudHMvYWNjb3JkaW9uL2FjY29yZGlvbi1pdGVtL2FjY29yZGlvbi1pdGVtLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2tpdC9jb21wb25lbnRzL2FjY29yZGlvbi9hY2NvcmRpb24taXRlbS9hY2NvcmRpb24taXRlbS50ZW1wbGF0ZS5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7QUFBQSxPQUFPLEVBQ0gsdUJBQXVCLEVBQ3ZCLGlCQUFpQixFQUNqQixTQUFTLEVBQ1QsWUFBWSxFQUVaLFlBQVksRUFDWixXQUFXLEVBQ1gsTUFBTSxFQUNOLEtBQUssRUFDTCxNQUFNLEVBQ04sU0FBUyxHQUNaLE1BQU0sZUFBZSxDQUFDO0FBQ3ZCLE9BQU8sRUFDSCxzQkFBc0I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VhZGVyX29wZW5dPVwib3BlblwiXG4gICAgICAgIFtjbGFzcy50LWhlYWRlcl9ob3ZlcmFibGVdPVwiIWRpc2FibGVIb3ZlclwiXG4gICAgICAgIChjbGljayk9XCJvblJvd1RvZ2dsZSgpXCJcbiAgICA+XG4gICAgICAgIDxkaXZcbiAgICAgICAgICAgIGF1dG9tYXRpb24taWQ9XCJ0dWktYWNjb3JkaW9uX19pdGVtLXRpdGxlXCJcbiAgICAgICAgICAgIGNsYXNzPVwidC10aXRsZVwiXG4gICAgICAgID5cbiAgICAgICAgICAgIDxuZy1jb250ZW50PjwvbmctY29udGVudD5cbiAgICAgICAgPC9kaXY+XG4gICAgICAgIDx0dWktc3ZnXG4gICAgICAgICAgICAqbmdJZj1cInNob3dBcnJvd1wiXG4gICAgICAgICAgICBhdXRvbWF0aW9uLWlkPVwidHVpLWFjY29yZGlvbl9faXRlbS1hcnJvd1wiXG4gICAgICAgICAgICBzcmM9XCJ0dWlJY29uQ2hldnJvbkRvd25MYXJnZVwiXG4gICAgICAgICAgICBjbGFzcz1cInQtaWNvblwiXG4gICAgICAgICAgICBbY2xhc3MudC1pY29uX29wZW5dPVwib3BlblwiXG4gICAgICAgID48L3R1aS1zdmc+XG4gICAgPC9kaXY+XG4gICAgPHR1aS1leHBhbmRcbiAgICAgICAgW2FzeW5jXT1cImFzeW5jXCJcbiAgICAgICAgW2V4cGFuZGVkXT1cIm9wZW5cIlxuICAgID5cbiAgICAgICAgPG5nLXRlbXBsYXRlPlxuICAgICAgICAgICAgPGRpdlxuICAgICAgICAgICAgICAgICpuZ0lmPVwibGF6eUNvbnRlbnRcIlxuICAgICAgICAgICAgICAgIGF1dG9tYXRpb24taWQ9XCJ0dWktYWNjb3JkaW9uX19pdGVtLWNvbnRlbnRcIlxuICAgICAgICAgICAgICAgIGNsYXNzPVwidC1jb250ZW50XCJcbiAgICAgICAgICAgID5cbiAgICAgICAgICAgICAgICA8bmctY29udGFpbmVyICpwb2x5bW9ycGhldXNPdXRsZXQ9XCJsYXp5Q29udGVudCBhcyB0ZXh0XCI+XG4gICAgICAgICAgICAgICAgICAgIHt7IHRleHQgfX1cbiAgICAgICAgICAgICAgICA8L25nLWNvbnRhaW5lcj5cbiAgICAgICAgICAgIDwvZGl2PlxuICAgICAgICA8L25nLXRlbXBsYXRlPlxuICAgICAgICA8ZGl2XG4gICAgICAgICAgICAqbmdJZj1cImVhZ2VyQ29udGVudFwiXG4gICAgICAgICAgICBjbGFzcz1cInQtY29udGVudFwiXG4gICAgICAgID5cbiAgICAgICAgICAgIDxuZy1jb250ZW50IHNlbGVjdD1cIlt0dWlBY2NvcmRpb25JdGVtQ29udGVudF1cIj48L25nLWNvbnRlbnQ+XG4gICAgICAgIDwvZGl2PlxuICAgIDwvdHVpLWV4cGFuZD5cbjwvZGl2PlxuIl19
|
|
@@ -1,57 +1,51 @@
|
|
|
1
1
|
import { __decorate } from "tslib";
|
|
2
|
-
import { ChangeDetectionStrategy, Component, ElementRef, HostListener, Inject, Input,
|
|
2
|
+
import { ChangeDetectionStrategy, Component, ElementRef, HostBinding, HostListener, Inject, Input, } from '@angular/core';
|
|
3
3
|
import { AbstractTuiInteractive, tuiAsFocusableItemAccessor, tuiDefaultProp, TuiDestroyService, TuiFocusVisibleService, tuiIsNativeFocused, } from '@taiga-ui/cdk';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
import * as i1 from "@taiga-ui/kit/components/marker-icon";
|
|
6
6
|
import * as i2 from "@angular/common";
|
|
7
|
-
import * as i3 from "@taiga-ui/
|
|
8
|
-
import * as i4 from "@taiga-ui/cdk";
|
|
9
|
-
// TODO: 3.0 Refactor to button[tuiAction]
|
|
7
|
+
import * as i3 from "@taiga-ui/cdk";
|
|
10
8
|
export class TuiActionComponent extends AbstractTuiInteractive {
|
|
11
9
|
constructor(focusVisible$, elementRef) {
|
|
12
10
|
super();
|
|
13
11
|
this.elementRef = elementRef;
|
|
14
12
|
this.icon = ``;
|
|
15
|
-
this.isLink = this.elementRef.nativeElement.matches(`a`);
|
|
16
13
|
this.disabled = false;
|
|
17
|
-
if (!this.isLink) {
|
|
18
|
-
return;
|
|
19
|
-
}
|
|
20
14
|
focusVisible$.subscribe(visible => {
|
|
21
15
|
this.updateFocusVisible(visible);
|
|
22
16
|
});
|
|
23
17
|
}
|
|
24
18
|
get nativeFocusableElement() {
|
|
25
|
-
|
|
26
|
-
return this.elementRef.nativeElement;
|
|
27
|
-
}
|
|
28
|
-
return this.focusableElement ? this.focusableElement.nativeElement : null;
|
|
19
|
+
return this.elementRef.nativeElement;
|
|
29
20
|
}
|
|
30
21
|
get focused() {
|
|
31
22
|
return tuiIsNativeFocused(this.nativeFocusableElement);
|
|
32
23
|
}
|
|
24
|
+
get tabIndex() {
|
|
25
|
+
return this.computedFocusable ? 0 : -1;
|
|
26
|
+
}
|
|
33
27
|
onFocused(focused) {
|
|
34
28
|
this.updateFocused(focused);
|
|
35
29
|
}
|
|
36
|
-
onFocusVisible(focusVisible) {
|
|
37
|
-
this.updateFocusVisible(focusVisible);
|
|
38
|
-
}
|
|
39
30
|
}
|
|
40
31
|
TuiActionComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TuiActionComponent, deps: [{ token: TuiFocusVisibleService }, { token: ElementRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
41
|
-
TuiActionComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: TuiActionComponent, selector: "
|
|
32
|
+
TuiActionComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: TuiActionComponent, selector: "button[tuiAction], a[tuiAction]", inputs: { icon: "icon" }, host: { listeners: { "focusin": "onFocused(true)", "focusout": "onFocused(false)" }, properties: { "tabIndex": "this.tabIndex" }, classAttribute: "tui-island tui-island_hoverable" }, providers: [
|
|
42
33
|
TuiDestroyService,
|
|
43
34
|
TuiFocusVisibleService,
|
|
44
35
|
tuiAsFocusableItemAccessor(TuiActionComponent),
|
|
45
|
-
],
|
|
36
|
+
], usesInheritance: true, ngImport: i0, template: "<ng-content></ng-content>\n<tui-marker-icon\n *ngIf=\"icon\"\n size=\"s\"\n class=\"t-icon tui-island__marker\"\n [src]=\"icon\"\n></tui-marker-icon>\n", styles: [":host{-webkit-appearance:none;-moz-appearance:none;appearance:none;border:0;background:none;font-size:inherit;line-height:inherit;display:flex;justify-content:space-between;font:var(--tui-font-text-m);padding:.875rem;border:2px solid transparent;text-align:start}:host._focus-visible{border-color:var(--tui-focus)}:host:after{display:none}.t-icon{color:var(--tui-link);color:var(--tui-action-color, var(--tui-link));background-color:var(--tui-base-02);background-color:var(--tui-action-background, var(--tui-base-02))}\n"], components: [{ type: i1.TuiMarkerIconComponent, selector: "tui-marker-icon", inputs: ["mode", "size", "src"] }], directives: [{ type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
46
37
|
__decorate([
|
|
47
38
|
tuiDefaultProp()
|
|
48
39
|
], TuiActionComponent.prototype, "icon", void 0);
|
|
49
40
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TuiActionComponent, decorators: [{
|
|
50
41
|
type: Component,
|
|
51
42
|
args: [{
|
|
52
|
-
selector: `
|
|
43
|
+
selector: `button[tuiAction], a[tuiAction]`,
|
|
53
44
|
templateUrl: `./action.template.html`,
|
|
54
45
|
styleUrls: [`./action.style.less`],
|
|
46
|
+
host: {
|
|
47
|
+
class: `tui-island tui-island_hoverable`,
|
|
48
|
+
},
|
|
55
49
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
56
50
|
providers: [
|
|
57
51
|
TuiDestroyService,
|
|
@@ -59,17 +53,17 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
59
53
|
tuiAsFocusableItemAccessor(TuiActionComponent),
|
|
60
54
|
],
|
|
61
55
|
}]
|
|
62
|
-
}], ctorParameters: function () { return [{ type:
|
|
56
|
+
}], ctorParameters: function () { return [{ type: i3.TuiFocusVisibleService, decorators: [{
|
|
63
57
|
type: Inject,
|
|
64
58
|
args: [TuiFocusVisibleService]
|
|
65
59
|
}] }, { type: i0.ElementRef, decorators: [{
|
|
66
60
|
type: Inject,
|
|
67
61
|
args: [ElementRef]
|
|
68
|
-
}] }]; }, propDecorators: {
|
|
69
|
-
type: ViewChild,
|
|
70
|
-
args: [`focusableElement`]
|
|
71
|
-
}], icon: [{
|
|
62
|
+
}] }]; }, propDecorators: { icon: [{
|
|
72
63
|
type: Input
|
|
64
|
+
}], tabIndex: [{
|
|
65
|
+
type: HostBinding,
|
|
66
|
+
args: [`tabIndex`]
|
|
73
67
|
}], onFocused: [{
|
|
74
68
|
type: HostListener,
|
|
75
69
|
args: [`focusin`, [`true`]]
|
|
@@ -77,4 +71,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
77
71
|
type: HostListener,
|
|
78
72
|
args: [`focusout`, [`false`]]
|
|
79
73
|
}] } });
|
|
80
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
74
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWN0aW9uLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2tpdC9jb21wb25lbnRzL2FjdGlvbi9hY3Rpb24uY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMva2l0L2NvbXBvbmVudHMvYWN0aW9uL2FjdGlvbi50ZW1wbGF0ZS5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7QUFBQSxPQUFPLEVBQ0gsdUJBQXVCLEVBQ3ZCLFNBQVMsRUFDVC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