@taiga-ui/legacy 4.52.0-canary.65c65f9 → 4.52.0-canary.692273c
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/combo-box/combo-box.module.d.ts +1 -1
- package/components/dialog/dialog.component.d.ts +20 -0
- package/components/dialog/dialog.directive.d.ts +7 -0
- package/components/dialog/dialog.factory.d.ts +16 -0
- package/components/dialog/dialog.interfaces.d.ts +31 -0
- package/components/dialog/dialog.service.d.ts +7 -0
- package/components/dialog/dialog.tokens.d.ts +8 -0
- package/components/dialog/index.d.ts +6 -0
- package/components/index.d.ts +1 -11
- package/components/input/input.module.d.ts +1 -1
- package/components/input-date-range/input-date-range.module.d.ts +1 -1
- package/components/input-date-time/input-date-time.module.d.ts +1 -1
- package/components/input-month-range/input-month-range.module.d.ts +1 -1
- package/components/input-range/input-range.component.d.ts +1 -1
- package/components/input-tag/input-tag.module.d.ts +1 -1
- package/components/multi-select/multi-select.module.d.ts +1 -1
- package/components/select/select.module.d.ts +1 -1
- package/fesm2022/taiga-ui-legacy-components-combo-box.mjs +4 -5
- package/fesm2022/taiga-ui-legacy-components-combo-box.mjs.map +1 -1
- package/fesm2022/taiga-ui-legacy-components-dialog.mjs +130 -0
- package/fesm2022/taiga-ui-legacy-components-dialog.mjs.map +1 -0
- package/fesm2022/taiga-ui-legacy-components-input-date-range.mjs +2 -2
- 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-month-range.mjs +2 -2
- package/fesm2022/taiga-ui-legacy-components-input-month-range.mjs.map +1 -1
- package/fesm2022/taiga-ui-legacy-components-input-number.mjs +2 -2
- package/fesm2022/taiga-ui-legacy-components-input-number.mjs.map +1 -1
- package/fesm2022/taiga-ui-legacy-components-input-range.mjs +7 -7
- package/fesm2022/taiga-ui-legacy-components-input-range.mjs.map +1 -1
- package/fesm2022/taiga-ui-legacy-components-input-slider.mjs +3 -3
- package/fesm2022/taiga-ui-legacy-components-input-slider.mjs.map +1 -1
- package/fesm2022/taiga-ui-legacy-components-input-tag.mjs +3 -3
- package/fesm2022/taiga-ui-legacy-components-input-tag.mjs.map +1 -1
- package/fesm2022/taiga-ui-legacy-components-input.mjs +4 -5
- package/fesm2022/taiga-ui-legacy-components-input.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 +4 -4
- package/fesm2022/taiga-ui-legacy-components-multi-select.mjs.map +1 -1
- package/fesm2022/taiga-ui-legacy-components-primitive-textfield.mjs +2 -2
- package/fesm2022/taiga-ui-legacy-components-primitive-textfield.mjs.map +1 -1
- package/fesm2022/taiga-ui-legacy-components-select.mjs +4 -5
- package/fesm2022/taiga-ui-legacy-components-select.mjs.map +1 -1
- package/fesm2022/taiga-ui-legacy-components-textarea.mjs +2 -2
- package/fesm2022/taiga-ui-legacy-components-textarea.mjs.map +1 -1
- package/fesm2022/taiga-ui-legacy-components.mjs +1 -11
- package/fesm2022/taiga-ui-legacy-components.mjs.map +1 -1
- package/fesm2022/taiga-ui-legacy.mjs +0 -2
- package/fesm2022/taiga-ui-legacy.mjs.map +1 -1
- package/index.d.ts +0 -2
- package/package.json +5 -65
- package/utils/icons-path-factory.d.ts +1 -1
- package/components/color-selector/color-edit/color-edit.component.d.ts +0 -18
- package/components/color-selector/color-edit/color-edit.module.d.ts +0 -21
- package/components/color-selector/color-picker/color-picker.component.d.ts +0 -22
- package/components/color-selector/color-picker/color-picker.module.d.ts +0 -14
- package/components/color-selector/color-selector.component.d.ts +0 -47
- package/components/color-selector/color-selector.module.d.ts +0 -23
- package/components/color-selector/color-selector.options.d.ts +0 -25
- package/components/color-selector/flat-picker/flat-picker.component.d.ts +0 -12
- package/components/color-selector/flat-picker/flat-picker.module.d.ts +0 -12
- package/components/color-selector/index.d.ts +0 -16
- package/components/color-selector/linear-multi-picker/linear-multi-picker.component.d.ts +0 -17
- package/components/color-selector/linear-multi-picker/linear-multi-picker.module.d.ts +0 -12
- package/components/color-selector/linear-picker/linear-picker.component.d.ts +0 -10
- package/components/color-selector/linear-picker/linear-picker.module.d.ts +0 -12
- package/components/color-selector/palette/palette.component.d.ts +0 -10
- package/components/color-selector/palette/palette.module.d.ts +0 -13
- package/components/color-selector/services/picker.service.d.ts +0 -15
- package/components/input-color/index.d.ts +0 -2
- package/components/input-color/input-color.component.d.ts +0 -30
- package/components/input-color/input-color.module.d.ts +0 -17
- package/components/input-copy/index.d.ts +0 -4
- package/components/input-copy/input-copy.component.d.ts +0 -33
- package/components/input-copy/input-copy.directive.d.ts +0 -11
- package/components/input-copy/input-copy.module.d.ts +0 -18
- package/components/input-copy/input-copy.options.d.ts +0 -26
- package/components/input-date/index.d.ts +0 -3
- package/components/input-date/input-date.component.d.ts +0 -62
- package/components/input-date/input-date.directive.d.ts +0 -19
- package/components/input-date/input-date.module.d.ts +0 -24
- package/components/input-date/native-date/native-date.component.d.ts +0 -15
- package/components/input-date-multi/index.d.ts +0 -2
- package/components/input-date-multi/input-date-multi.component.d.ts +0 -66
- package/components/input-date-multi/input-date-multi.module.d.ts +0 -20
- package/components/input-month/index.d.ts +0 -3
- package/components/input-month/input-month.component.d.ts +0 -44
- package/components/input-month/input-month.directive.d.ts +0 -19
- package/components/input-month/input-month.module.d.ts +0 -19
- package/components/input-phone/index.d.ts +0 -4
- package/components/input-phone/input-phone.component.d.ts +0 -52
- package/components/input-phone/input-phone.directive.d.ts +0 -16
- package/components/input-phone/input-phone.module.d.ts +0 -15
- package/components/input-phone/input-phone.options.d.ts +0 -22
- package/components/input-phone/utils/complete-phone-insertion-preprocessor.d.ts +0 -9
- package/components/input-phone/utils/create-phone-mask-expression.d.ts +0 -7
- package/components/input-phone/utils/index.d.ts +0 -2
- package/components/input-phone-international/index.d.ts +0 -3
- package/components/input-phone-international/input-phone-international.component.d.ts +0 -43
- package/components/input-phone-international/input-phone-international.options.d.ts +0 -25
- package/components/input-phone-international/utils/extract-value-from-event.d.ts +0 -4
- package/components/input-time/index.d.ts +0 -4
- package/components/input-time/input-time.component.d.ts +0 -62
- package/components/input-time/input-time.directive.d.ts +0 -17
- package/components/input-time/input-time.module.d.ts +0 -23
- package/components/input-time/input-time.options.d.ts +0 -42
- package/components/input-time/native-time/native-time.component.d.ts +0 -12
- package/components/input-year/index.d.ts +0 -3
- package/components/input-year/input-year.component.d.ts +0 -36
- package/components/input-year/input-year.directive.d.ts +0 -14
- package/components/input-year/input-year.module.d.ts +0 -18
- package/components/svg/content-processor.d.ts +0 -19
- package/components/svg/deprecated-icons.d.ts +0 -5
- package/components/svg/index.d.ts +0 -5
- package/components/svg/svg-options.d.ts +0 -50
- package/components/svg/svg.component.d.ts +0 -50
- package/components/svg/svg.service.d.ts +0 -21
- package/fesm2022/taiga-ui-legacy-components-color-selector.mjs +0 -726
- package/fesm2022/taiga-ui-legacy-components-color-selector.mjs.map +0 -1
- package/fesm2022/taiga-ui-legacy-components-input-color.mjs +0 -127
- package/fesm2022/taiga-ui-legacy-components-input-color.mjs.map +0 -1
- package/fesm2022/taiga-ui-legacy-components-input-copy.mjs +0 -197
- package/fesm2022/taiga-ui-legacy-components-input-copy.mjs.map +0 -1
- package/fesm2022/taiga-ui-legacy-components-input-date-multi.mjs +0 -272
- package/fesm2022/taiga-ui-legacy-components-input-date-multi.mjs.map +0 -1
- package/fesm2022/taiga-ui-legacy-components-input-date.mjs +0 -372
- package/fesm2022/taiga-ui-legacy-components-input-date.mjs.map +0 -1
- package/fesm2022/taiga-ui-legacy-components-input-month.mjs +0 -231
- package/fesm2022/taiga-ui-legacy-components-input-month.mjs.map +0 -1
- package/fesm2022/taiga-ui-legacy-components-input-phone-international.mjs +0 -215
- package/fesm2022/taiga-ui-legacy-components-input-phone-international.mjs.map +0 -1
- package/fesm2022/taiga-ui-legacy-components-input-phone.mjs +0 -373
- package/fesm2022/taiga-ui-legacy-components-input-phone.mjs.map +0 -1
- package/fesm2022/taiga-ui-legacy-components-input-time.mjs +0 -430
- package/fesm2022/taiga-ui-legacy-components-input-time.mjs.map +0 -1
- package/fesm2022/taiga-ui-legacy-components-input-year.mjs +0 -188
- package/fesm2022/taiga-ui-legacy-components-input-year.mjs.map +0 -1
- package/fesm2022/taiga-ui-legacy-components-svg.mjs +0 -387
- package/fesm2022/taiga-ui-legacy-components-svg.mjs.map +0 -1
- package/fesm2022/taiga-ui-legacy-pipes-format-phone.mjs +0 -59
- package/fesm2022/taiga-ui-legacy-pipes-format-phone.mjs.map +0 -1
- package/fesm2022/taiga-ui-legacy-pipes-iso-to-country-code.mjs +0 -50
- package/fesm2022/taiga-ui-legacy-pipes-iso-to-country-code.mjs.map +0 -1
- package/fesm2022/taiga-ui-legacy-pipes-to-country-code.mjs +0 -80
- package/fesm2022/taiga-ui-legacy-pipes-to-country-code.mjs.map +0 -1
- package/fesm2022/taiga-ui-legacy-pipes.mjs +0 -8
- package/fesm2022/taiga-ui-legacy-pipes.mjs.map +0 -1
- package/fesm2022/taiga-ui-legacy-services.mjs +0 -42
- package/fesm2022/taiga-ui-legacy-services.mjs.map +0 -1
- package/pipes/format-phone/format-phone.pipe.d.ts +0 -37
- package/pipes/format-phone/index.d.ts +0 -1
- package/pipes/index.d.ts +0 -3
- package/pipes/iso-to-country-code/index.d.ts +0 -1
- package/pipes/iso-to-country-code/iso-to-country-code.pipe.d.ts +0 -30
- package/pipes/to-country-code/index.d.ts +0 -1
- package/pipes/to-country-code/to-country-code.pipe.d.ts +0 -38
- package/services/index.d.ts +0 -1
- package/services/static-request.service.d.ts +0 -11
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
import { type FactoryProvider, InjectionToken, type Provider } from '@angular/core';
|
|
2
|
-
import { type TuiHandler, type TuiSafeHtml, type TuiStringHandler } from '@taiga-ui/cdk/types';
|
|
3
|
-
/**
|
|
4
|
-
* @deprecated: drop in v5.0 use {@link TuiIcon}
|
|
5
|
-
* https://taiga-ui.dev/components/icon
|
|
6
|
-
*/
|
|
7
|
-
export declare const TUI_DEFAULT_ICONS_PLACE = "assets/taiga-ui/icons";
|
|
8
|
-
/**
|
|
9
|
-
* @deprecated: drop in v5.0 use {@link TuiIcon}
|
|
10
|
-
* https://taiga-ui.dev/components/icon
|
|
11
|
-
*/
|
|
12
|
-
export interface TuiSvgOptions {
|
|
13
|
-
readonly contentProcessor: TuiHandler<TuiSafeHtml, TuiSafeHtml>;
|
|
14
|
-
readonly deprecated: TuiStringHandler<string>;
|
|
15
|
-
readonly iconsPlace: string;
|
|
16
|
-
readonly path: (name: string, baseHref?: string) => string;
|
|
17
|
-
readonly srcProcessor: TuiHandler<TuiSafeHtml, TuiSafeHtml>;
|
|
18
|
-
}
|
|
19
|
-
/**
|
|
20
|
-
* @deprecated: drop in v5.0 use {@link TuiIcon}
|
|
21
|
-
* https://taiga-ui.dev/components/icon
|
|
22
|
-
*/
|
|
23
|
-
export type TuiSvgInterceptorHandler = ((src: TuiSafeHtml, options: TuiSvgOptions) => TuiSafeHtml) | ((src: TuiSafeHtml) => TuiSafeHtml);
|
|
24
|
-
/**
|
|
25
|
-
* @deprecated: drop in v5.0 use {@link TuiIcon}
|
|
26
|
-
* https://taiga-ui.dev/components/icon
|
|
27
|
-
*/
|
|
28
|
-
export declare const TUI_SVG_DEFAULT_OPTIONS: TuiSvgOptions;
|
|
29
|
-
/**
|
|
30
|
-
* @deprecated: drop in v5.0 use {@link TuiIcon}
|
|
31
|
-
* https://taiga-ui.dev/components/icon
|
|
32
|
-
*/
|
|
33
|
-
export declare const TUI_SVG_OPTIONS: InjectionToken<TuiSvgOptions>;
|
|
34
|
-
/**
|
|
35
|
-
* @deprecated: drop in v5.0 use {@link TuiIcon}
|
|
36
|
-
* https://taiga-ui.dev/components/icon
|
|
37
|
-
*/
|
|
38
|
-
export declare const TUI_SVG_SRC_INTERCEPTORS: InjectionToken<TuiSvgInterceptorHandler>;
|
|
39
|
-
/**
|
|
40
|
-
* @deprecated: drop in v5.0 use {@link TuiIcon}
|
|
41
|
-
* https://taiga-ui.dev/components/icon
|
|
42
|
-
*/
|
|
43
|
-
export declare function tuiSvgSrcInterceptors(interceptor: TuiSvgInterceptorHandler): Provider;
|
|
44
|
-
/**
|
|
45
|
-
* @deprecated: drop in v5.0 use {@link TuiIcon}
|
|
46
|
-
* https://taiga-ui.dev/components/icon
|
|
47
|
-
*/
|
|
48
|
-
export declare const tuiSvgOptionsProvider: (options: Partial<Omit<TuiSvgOptions, 'path'>> & {
|
|
49
|
-
path?: TuiSvgOptions['path'] | string;
|
|
50
|
-
}) => FactoryProvider;
|
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
import { type SafeHtml } from '@angular/platform-browser';
|
|
2
|
-
import { type TuiSafeHtml } from '@taiga-ui/cdk/types';
|
|
3
|
-
import { type Observable } from 'rxjs';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
/**
|
|
6
|
-
* @deprecated: drop in v5.0 use {@link TuiIcon}
|
|
7
|
-
* https://taiga-ui.dev/components/icon
|
|
8
|
-
*/
|
|
9
|
-
export interface TuiIconError {
|
|
10
|
-
readonly icon: string;
|
|
11
|
-
readonly message: string;
|
|
12
|
-
}
|
|
13
|
-
/**
|
|
14
|
-
* @deprecated: drop in v5.0 use {@link TuiIcon}
|
|
15
|
-
* https://taiga-ui.dev/components/icon
|
|
16
|
-
*/
|
|
17
|
-
export declare class TuiSvgComponent {
|
|
18
|
-
private icon;
|
|
19
|
-
private readonly doc;
|
|
20
|
-
private readonly win;
|
|
21
|
-
private readonly options;
|
|
22
|
-
private readonly tuiSanitizer;
|
|
23
|
-
private readonly svgService;
|
|
24
|
-
private readonly staticRequestService;
|
|
25
|
-
private readonly sanitizer;
|
|
26
|
-
private readonly el;
|
|
27
|
-
private readonly baseHref;
|
|
28
|
-
private readonly src$;
|
|
29
|
-
private readonly srcInterceptors;
|
|
30
|
-
protected readonly innerHTML$: Observable<SafeHtml>;
|
|
31
|
-
set src(src: TuiSafeHtml | null | undefined);
|
|
32
|
-
get src(): TuiSafeHtml;
|
|
33
|
-
get use(): string;
|
|
34
|
-
get isInnerHTML(): boolean;
|
|
35
|
-
protected onError(message?: string): void;
|
|
36
|
-
private get isShadowDOM();
|
|
37
|
-
private get isUse();
|
|
38
|
-
private get isExternal();
|
|
39
|
-
private get isUrl();
|
|
40
|
-
private get isSrc();
|
|
41
|
-
private get isName();
|
|
42
|
-
private get isCrossDomain();
|
|
43
|
-
private resolveName;
|
|
44
|
-
private getSafeHtml;
|
|
45
|
-
private process;
|
|
46
|
-
private sanitize;
|
|
47
|
-
private getExternalIcon;
|
|
48
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TuiSvgComponent, never>;
|
|
49
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TuiSvgComponent, "tui-svg", never, { "src": { "alias": "src"; "required": false; }; }, {}, never, never, true, never>;
|
|
50
|
-
}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { type SafeHtml } from '@angular/platform-browser';
|
|
2
|
-
import { BehaviorSubject } from 'rxjs';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
/**
|
|
5
|
-
* @deprecated: drop in v5.0 use {@link TuiIcon}
|
|
6
|
-
* Service for reusing SVGs without inlining each instance
|
|
7
|
-
*/
|
|
8
|
-
export declare class TuiSvgService {
|
|
9
|
-
private readonly tuiSanitizer;
|
|
10
|
-
private readonly sanitizer;
|
|
11
|
-
private originals;
|
|
12
|
-
readonly items$: BehaviorSubject<Map<string, SafeHtml>>;
|
|
13
|
-
constructor();
|
|
14
|
-
define(icons: Record<string, string>): void;
|
|
15
|
-
getOriginal(name: string): string | null;
|
|
16
|
-
private defineIcon;
|
|
17
|
-
private parseSrc;
|
|
18
|
-
private sanitize;
|
|
19
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TuiSvgService, never>;
|
|
20
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<TuiSvgService>;
|
|
21
|
-
}
|