@taiga-ui/core 4.52.0-canary.e444d19 → 4.52.0-canary.ec0802b
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/README.md +1 -1
- package/classes/accessors.d.ts +1 -1
- package/components/button/button.directive.d.ts +2 -2
- package/components/button/button.options.d.ts +1 -1
- package/components/calendar/calendar-sheet.options.d.ts +1 -3
- package/components/cell/cell.directive.d.ts +9 -0
- package/components/cell/cell.options.d.ts +6 -0
- package/components/cell/index.d.ts +2 -0
- package/components/data-list/data-list.component.d.ts +7 -9
- package/components/data-list/opt-group.directive.d.ts +2 -2
- package/components/data-list/option/option.directive.d.ts +5 -6
- package/components/dialog/dialog.component.d.ts +6 -12
- package/components/dialog/dialog.directive.d.ts +5 -4
- package/components/dialog/dialog.factory.d.ts +1 -1
- package/components/dialog/dialog.options.d.ts +25 -0
- package/components/dialog/{dialog-close.service.d.ts → dialog.providers.d.ts} +2 -0
- package/components/dialog/dialog.service.d.ts +6 -3
- package/components/dialog/index.d.ts +2 -4
- package/components/error/error.component.d.ts +6 -8
- package/components/error/error.d.ts +4 -0
- package/components/error/error.directive.d.ts +19 -0
- package/components/error/error.pipe.d.ts +10 -0
- package/components/error/index.d.ts +3 -0
- package/components/expand/expand.component.d.ts +9 -28
- package/components/expand/index.d.ts +0 -2
- package/components/icon/icon.component.d.ts +1 -1
- package/components/index.d.ts +2 -2
- package/components/link/link.directive.d.ts +2 -2
- package/components/link/link.options.d.ts +1 -3
- package/components/loader/loader.component.d.ts +7 -7
- package/components/loader/loader.options.d.ts +1 -3
- package/components/modal/index.d.ts +2 -0
- package/components/modal/modal.component.d.ts +17 -0
- package/components/modal/modal.service.d.ts +13 -0
- package/components/notification/index.d.ts +3 -0
- package/components/notification/notification.component.d.ts +14 -0
- package/components/notification/notification.d.ts +3 -0
- package/components/notification/notification.directive.d.ts +7 -12
- package/components/notification/notification.options.d.ts +9 -7
- package/components/notification/notification.service.d.ts +17 -0
- package/components/root/root.component.d.ts +4 -6
- package/components/scrollbar/scroll-into-view.directive.d.ts +3 -2
- package/components/scrollbar/scrollbar.component.d.ts +2 -2
- package/components/scrollbar/scrollbar.directive.d.ts +2 -2
- package/components/scrollbar/scrollbar.options.d.ts +1 -1
- package/components/spin-button/spin-button.component.d.ts +8 -9
- package/components/textfield/index.d.ts +1 -3
- package/components/textfield/textfield-content.directive.d.ts +3 -2
- package/components/textfield/textfield-icon.d.ts +3 -3
- package/components/textfield/textfield-multi/textfield-multi.component.d.ts +5 -6
- package/components/textfield/textfield.component.d.ts +5 -7
- package/components/textfield/textfield.d.ts +2 -3
- package/components/textfield/textfield.directive.d.ts +11 -14
- package/components/textfield/textfield.options.d.ts +8 -11
- package/directives/alert/alert.directive.d.ts +11 -0
- package/directives/alert/alert.service.d.ts +12 -0
- package/directives/alert/index.d.ts +2 -0
- package/directives/appearance/appearance.directive.d.ts +5 -13
- package/directives/appearance/appearance.options.d.ts +1 -1
- package/directives/date-format/date-format.directive.d.ts +3 -7
- package/directives/dropdown/dropdown-content.directive.d.ts +9 -0
- package/directives/dropdown/dropdown-hover.options.d.ts +1 -3
- package/directives/dropdown/dropdown-position.directive.d.ts +1 -1
- package/directives/dropdown/dropdown.d.ts +2 -2
- package/directives/dropdown/dropdown.directive.d.ts +1 -2
- package/directives/dropdown/index.d.ts +1 -3
- package/directives/group/group.options.d.ts +1 -3
- package/directives/hint/hint-describe.directive.d.ts +4 -6
- package/directives/hint/hint-host.directive.d.ts +2 -2
- package/directives/hint/hint-hover.directive.d.ts +3 -4
- package/directives/hint/hint-manual.directive.d.ts +2 -2
- package/directives/hint/hint-options.directive.d.ts +3 -3
- package/directives/hint/hint-overflow.directive.d.ts +2 -2
- package/directives/hint/hint-position.directive.d.ts +4 -5
- package/directives/hint/hint-unstyled.component.d.ts +2 -7
- package/directives/hint/hint.component.d.ts +10 -11
- package/directives/hint/hint.directive.d.ts +9 -11
- package/directives/hint/index.d.ts +0 -2
- package/directives/icons/icons.bindings.d.ts +5 -0
- package/directives/icons/icons.directive.d.ts +6 -14
- package/directives/icons/index.d.ts +1 -0
- package/directives/index.d.ts +1 -1
- package/directives/number-format/number-format.directive.d.ts +3 -7
- package/directives/popup/popup.directive.d.ts +6 -5
- package/directives/popup/popup.service.d.ts +1 -1
- package/directives/popup/popups.component.d.ts +2 -2
- package/directives/title/title.directive.d.ts +2 -3
- package/fesm2022/taiga-ui-core-classes.mjs +1 -1
- package/fesm2022/taiga-ui-core-classes.mjs.map +1 -1
- package/fesm2022/taiga-ui-core-components-button.mjs +11 -18
- package/fesm2022/taiga-ui-core-components-button.mjs.map +1 -1
- package/fesm2022/taiga-ui-core-components-calendar.mjs +13 -18
- package/fesm2022/taiga-ui-core-components-calendar.mjs.map +1 -1
- package/fesm2022/taiga-ui-core-components-cell.mjs +45 -0
- package/fesm2022/taiga-ui-core-components-cell.mjs.map +1 -0
- package/fesm2022/taiga-ui-core-components-data-list.mjs +41 -75
- package/fesm2022/taiga-ui-core-components-data-list.mjs.map +1 -1
- package/fesm2022/taiga-ui-core-components-dialog.mjs +66 -103
- package/fesm2022/taiga-ui-core-components-dialog.mjs.map +1 -1
- package/fesm2022/taiga-ui-core-components-error.mjs +108 -24
- package/fesm2022/taiga-ui-core-components-error.mjs.map +1 -1
- package/fesm2022/taiga-ui-core-components-expand.mjs +33 -131
- package/fesm2022/taiga-ui-core-components-expand.mjs.map +1 -1
- package/fesm2022/taiga-ui-core-components-icon.mjs +3 -4
- package/fesm2022/taiga-ui-core-components-icon.mjs.map +1 -1
- package/fesm2022/taiga-ui-core-components-label.mjs +6 -9
- package/fesm2022/taiga-ui-core-components-label.mjs.map +1 -1
- package/fesm2022/taiga-ui-core-components-link.mjs +14 -23
- package/fesm2022/taiga-ui-core-components-link.mjs.map +1 -1
- package/fesm2022/taiga-ui-core-components-loader.mjs +14 -32
- package/fesm2022/taiga-ui-core-components-loader.mjs.map +1 -1
- package/fesm2022/taiga-ui-core-components-modal.mjs +89 -0
- package/fesm2022/taiga-ui-core-components-modal.mjs.map +1 -0
- package/fesm2022/taiga-ui-core-components-notification.mjs +108 -65
- package/fesm2022/taiga-ui-core-components-notification.mjs.map +1 -1
- package/fesm2022/taiga-ui-core-components-root.mjs +18 -49
- package/fesm2022/taiga-ui-core-components-root.mjs.map +1 -1
- package/fesm2022/taiga-ui-core-components-scrollbar.mjs +35 -43
- package/fesm2022/taiga-ui-core-components-scrollbar.mjs.map +1 -1
- package/fesm2022/taiga-ui-core-components-spin-button.mjs +14 -27
- package/fesm2022/taiga-ui-core-components-spin-button.mjs.map +1 -1
- package/fesm2022/taiga-ui-core-components-textfield.mjs +135 -277
- package/fesm2022/taiga-ui-core-components-textfield.mjs.map +1 -1
- package/fesm2022/taiga-ui-core-components.mjs +2 -2
- package/fesm2022/taiga-ui-core-directives-alert.mjs +73 -0
- package/fesm2022/taiga-ui-core-directives-alert.mjs.map +1 -0
- package/fesm2022/taiga-ui-core-directives-appearance.mjs +21 -59
- package/fesm2022/taiga-ui-core-directives-appearance.mjs.map +1 -1
- package/fesm2022/taiga-ui-core-directives-date-format.mjs +24 -18
- package/fesm2022/taiga-ui-core-directives-date-format.mjs.map +1 -1
- package/fesm2022/taiga-ui-core-directives-dropdown.mjs +50 -114
- package/fesm2022/taiga-ui-core-directives-dropdown.mjs.map +1 -1
- package/fesm2022/taiga-ui-core-directives-group.mjs +10 -17
- package/fesm2022/taiga-ui-core-directives-group.mjs.map +1 -1
- package/fesm2022/taiga-ui-core-directives-hint.mjs +117 -218
- package/fesm2022/taiga-ui-core-directives-hint.mjs.map +1 -1
- package/fesm2022/taiga-ui-core-directives-icons.mjs +30 -41
- package/fesm2022/taiga-ui-core-directives-icons.mjs.map +1 -1
- package/fesm2022/taiga-ui-core-directives-items-handlers.mjs +2 -5
- package/fesm2022/taiga-ui-core-directives-items-handlers.mjs.map +1 -1
- package/fesm2022/taiga-ui-core-directives-number-format.mjs +30 -18
- package/fesm2022/taiga-ui-core-directives-number-format.mjs.map +1 -1
- package/fesm2022/taiga-ui-core-directives-popup.mjs +13 -20
- package/fesm2022/taiga-ui-core-directives-popup.mjs.map +1 -1
- package/fesm2022/taiga-ui-core-directives-title.mjs +11 -17
- package/fesm2022/taiga-ui-core-directives-title.mjs.map +1 -1
- package/fesm2022/taiga-ui-core-directives.mjs +1 -1
- package/fesm2022/taiga-ui-core-pipes-auto-color.mjs +0 -1
- package/fesm2022/taiga-ui-core-pipes-auto-color.mjs.map +1 -1
- package/fesm2022/taiga-ui-core-pipes-calendar-sheet.mjs +0 -1
- package/fesm2022/taiga-ui-core-pipes-calendar-sheet.mjs.map +1 -1
- package/fesm2022/taiga-ui-core-pipes-flag.mjs +0 -1
- package/fesm2022/taiga-ui-core-pipes-flag.mjs.map +1 -1
- package/fesm2022/taiga-ui-core-pipes-format-date.mjs +0 -1
- package/fesm2022/taiga-ui-core-pipes-format-date.mjs.map +1 -1
- package/fesm2022/taiga-ui-core-pipes-format-number.mjs +21 -12
- package/fesm2022/taiga-ui-core-pipes-format-number.mjs.map +1 -1
- package/fesm2022/taiga-ui-core-pipes-initials.mjs +0 -1
- package/fesm2022/taiga-ui-core-pipes-initials.mjs.map +1 -1
- package/fesm2022/taiga-ui-core-pipes-month.mjs +2 -2
- package/fesm2022/taiga-ui-core-pipes-month.mjs.map +1 -1
- package/fesm2022/taiga-ui-core-pipes-order-week-days.mjs +0 -1
- package/fesm2022/taiga-ui-core-pipes-order-week-days.mjs.map +1 -1
- package/fesm2022/taiga-ui-core-pipes.mjs +0 -1
- package/fesm2022/taiga-ui-core-pipes.mjs.map +1 -1
- package/fesm2022/taiga-ui-core-tokens.mjs +28 -21
- package/fesm2022/taiga-ui-core-tokens.mjs.map +1 -1
- package/fesm2022/taiga-ui-core-utils-format.mjs +1 -0
- package/fesm2022/taiga-ui-core-utils-format.mjs.map +1 -1
- package/fesm2022/taiga-ui-core-utils-miscellaneous.mjs +50 -4
- package/fesm2022/taiga-ui-core-utils-miscellaneous.mjs.map +1 -1
- package/package.json +19 -20
- package/pipes/format-number/format-number.pipe.d.ts +5 -3
- package/pipes/index.d.ts +0 -1
- package/styles/components/button.less +0 -2
- package/styles/components/icons.less +4 -4
- package/styles/components/link.less +1 -0
- package/styles/mixins/appearance.less +1 -1
- package/styles/mixins/mixins.less +0 -6
- package/styles/mixins/mixins.scss +0 -6
- package/styles/mixins/slider.less +21 -16
- package/styles/theme/variables.less +2 -4
- package/tokens/common-icons.d.ts +1 -3
- package/tokens/date-format.d.ts +2 -3
- package/tokens/i18n.d.ts +7 -7
- package/tokens/icon-resolver.d.ts +0 -4
- package/tokens/index.d.ts +1 -0
- package/tokens/number-format.d.ts +2 -3
- package/tokens/validation-errors.d.ts +4 -0
- package/types/index.d.ts +0 -1
- package/utils/miscellaneous/index.d.ts +1 -0
- package/utils/miscellaneous/provide-taiga.d.ts +13 -0
- package/components/alert/alert.component.d.ts +0 -15
- package/components/alert/alert.directive.d.ts +0 -7
- package/components/alert/alert.interfaces.d.ts +0 -12
- package/components/alert/alert.service.d.ts +0 -7
- package/components/alert/alert.tokens.d.ts +0 -12
- package/components/alert/alerts.component.d.ts +0 -12
- package/components/alert/index.d.ts +0 -6
- package/components/dialog/dialog.interfaces.d.ts +0 -34
- package/components/dialog/dialog.tokens.d.ts +0 -15
- package/components/dialog/dialogs.component.d.ts +0 -8
- package/components/expand/expand-content.directive.d.ts +0 -8
- package/components/expand/expand.d.ts +0 -6
- package/components/fullscreen/fullscreen.component.d.ts +0 -14
- package/components/fullscreen/index.d.ts +0 -1
- package/components/textfield/select.directive.d.ts +0 -19
- package/components/textfield/textfield-dropdown.directive.d.ts +0 -16
- package/directives/dropdown/dropdown-portal.directive.d.ts +0 -14
- package/directives/dropdown/dropdown.service.d.ts +0 -6
- package/directives/dropdown/dropdowns.component.d.ts +0 -9
- package/directives/hint/hint.service.d.ts +0 -13
- package/directives/hint/hints.component.d.ts +0 -12
- package/directives/surface/index.d.ts +0 -1
- package/directives/surface/surface.directive.d.ts +0 -8
- package/fesm2022/taiga-ui-core-components-alert.mjs +0 -149
- package/fesm2022/taiga-ui-core-components-alert.mjs.map +0 -1
- package/fesm2022/taiga-ui-core-components-fullscreen.mjs +0 -66
- package/fesm2022/taiga-ui-core-components-fullscreen.mjs.map +0 -1
- package/fesm2022/taiga-ui-core-directives-surface.mjs +0 -50
- package/fesm2022/taiga-ui-core-directives-surface.mjs.map +0 -1
- package/fesm2022/taiga-ui-core-pipes-fallback-src.mjs +0 -29
- package/fesm2022/taiga-ui-core-pipes-fallback-src.mjs.map +0 -1
- package/pipes/fallback-src/fallback-src.pipe.d.ts +0 -9
- package/pipes/fallback-src/index.d.ts +0 -1
- package/types/portal-item.d.ts +0 -9
|
@@ -1,11 +1,6 @@
|
|
|
1
1
|
@import 'browsers.less';
|
|
2
2
|
|
|
3
3
|
.interactive(@ruleset) {
|
|
4
|
-
// TODO remove after dropping Safari 13 support
|
|
5
|
-
&:matches(a, button, select, textarea, input, label, .tui-interactive):not(:disabled) {
|
|
6
|
-
@ruleset();
|
|
7
|
-
}
|
|
8
|
-
|
|
9
4
|
&:is(a, button, select, textarea, input, label, .tui-interactive):not(:disabled) {
|
|
10
5
|
@ruleset();
|
|
11
6
|
}
|
|
@@ -75,7 +70,6 @@
|
|
|
75
70
|
gap: calc(var(--t-gap, ~'0rem') - 2 * var(--t-margin, 0rem));
|
|
76
71
|
|
|
77
72
|
> img,
|
|
78
|
-
> tui-svg,
|
|
79
73
|
> tui-icon,
|
|
80
74
|
> [tuiAvatar],
|
|
81
75
|
> tui-badge,
|
|
@@ -1,11 +1,6 @@
|
|
|
1
1
|
@import 'browsers.scss';
|
|
2
2
|
|
|
3
3
|
@mixin interactive {
|
|
4
|
-
// TODO remove after dropping Safari 13 support
|
|
5
|
-
&:matches(a, button, select, textarea, input, label, .tui-interactive):not(:disabled) {
|
|
6
|
-
@content;
|
|
7
|
-
}
|
|
8
|
-
|
|
9
4
|
&:is(a, button, select, textarea, input, label, .tui-interactive):not(:disabled) {
|
|
10
5
|
@content;
|
|
11
6
|
}
|
|
@@ -72,7 +67,6 @@
|
|
|
72
67
|
gap: calc(var(--t-gap) - 2 * var(--t-margin));
|
|
73
68
|
|
|
74
69
|
> img,
|
|
75
|
-
> tui-svg,
|
|
76
70
|
> tui-icon,
|
|
77
71
|
> [tuiAvatar],
|
|
78
72
|
> tui-badge,
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
@thumb-diameters: {
|
|
2
2
|
@s: 0.5rem;
|
|
3
3
|
@m: 0.75rem;
|
|
4
|
-
@l: 0.75rem;
|
|
5
4
|
};
|
|
6
5
|
|
|
7
6
|
@track-inset: {
|
|
@@ -10,9 +9,8 @@
|
|
|
10
9
|
@l: 1rem;
|
|
11
10
|
};
|
|
12
11
|
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
@thumb: @thumb-diameters[@@input-size];
|
|
12
|
+
.tui-slider-ticks-labels(@thumb-size: m) {
|
|
13
|
+
@thumb: @thumb-diameters[@@thumb-size];
|
|
16
14
|
|
|
17
15
|
--t-offset: calc(@thumb / 2);
|
|
18
16
|
|
|
@@ -45,27 +43,34 @@
|
|
|
45
43
|
}
|
|
46
44
|
}
|
|
47
45
|
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
margin-inline-start: calc(var(--tui-radius-m) / 2 + var(--t-offset));
|
|
46
|
+
tui-range + & {
|
|
47
|
+
--t-offset: @thumb;
|
|
51
48
|
}
|
|
52
49
|
|
|
53
50
|
/* TODO: add :has([tuiInputSlider]) */
|
|
54
|
-
tui-textfield + & {
|
|
55
|
-
--t-offset: calc(
|
|
51
|
+
tui-textfield[data-size='l'] + & {
|
|
52
|
+
--t-offset: calc(@track-inset[@l] + @thumb / 2);
|
|
56
53
|
}
|
|
57
54
|
|
|
58
55
|
/* TODO: add :has([tuiInputSlider]) */
|
|
59
|
-
tui-textfield[data-size='
|
|
60
|
-
--t-offset: calc(
|
|
56
|
+
tui-textfield[data-size='m'] + & {
|
|
57
|
+
--t-offset: calc(@track-inset[@m] + @thumb / 2);
|
|
61
58
|
}
|
|
62
59
|
|
|
63
|
-
|
|
64
|
-
tui-
|
|
65
|
-
--t-offset: @thumb;
|
|
60
|
+
/* TODO: add :has([tuiInputSlider]) */
|
|
61
|
+
tui-textfield[data-size='s'] + & {
|
|
62
|
+
--t-offset: calc(@track-inset[@s] + @thumb / 2);
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
tui-input-range[data-size='l'] + & {
|
|
66
|
+
--t-offset: calc(@track-inset[@l] + @thumb);
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
tui-input-range[data-size='m'] + & {
|
|
70
|
+
--t-offset: calc(@track-inset[@m] + @thumb);
|
|
66
71
|
}
|
|
67
72
|
|
|
68
|
-
tui-input-range[
|
|
69
|
-
--t-offset: calc(@track-inset[
|
|
73
|
+
tui-input-range[data-size='s'] + & {
|
|
74
|
+
--t-offset: calc(@track-inset[@s] + @thumb);
|
|
70
75
|
}
|
|
71
76
|
}
|
|
@@ -1,10 +1,8 @@
|
|
|
1
|
-
@font-fallback: -apple-system, 'BlinkMacSystemFont', system-ui, 'Roboto', 'Segoe UI', 'Helvetica Neue', sans-serif;
|
|
2
|
-
|
|
3
1
|
&:root,
|
|
4
2
|
&:host {
|
|
5
3
|
// Fonts
|
|
6
|
-
--tui-font-heading: 'Manrope',
|
|
7
|
-
--tui-font-text: 'Manrope',
|
|
4
|
+
--tui-font-heading: 'Manrope', system-ui, sans-serif;
|
|
5
|
+
--tui-font-text: 'Manrope', system-ui, sans-serif;
|
|
8
6
|
--tui-font-offset: ~'0rem';
|
|
9
7
|
// Heading
|
|
10
8
|
--tui-font-heading-1: bold calc(var(--tui-font-offset) + 3.125rem) / 3.5rem var(--tui-font-heading);
|
package/tokens/common-icons.d.ts
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { InjectionToken, type Provider } from '@angular/core';
|
|
2
1
|
export interface TuiCommonIcons {
|
|
3
2
|
readonly check: string;
|
|
4
3
|
readonly close: string;
|
|
@@ -7,5 +6,4 @@ export interface TuiCommonIcons {
|
|
|
7
6
|
readonly search: string;
|
|
8
7
|
readonly ellipsis: string;
|
|
9
8
|
}
|
|
10
|
-
export declare const TUI_COMMON_ICONS: InjectionToken<TuiCommonIcons
|
|
11
|
-
export declare function tuiCommonIconsProvider(icons: Partial<TuiCommonIcons>): Provider;
|
|
9
|
+
export declare const TUI_COMMON_ICONS: import("@angular/core").InjectionToken<TuiCommonIcons>, tuiCommonIconsProvider: (item: Partial<TuiCommonIcons> | (() => Partial<TuiCommonIcons>)) => import("@angular/core").FactoryProvider;
|
package/tokens/date-format.d.ts
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { InjectionToken, type Provider } from '@angular/core';
|
|
1
|
+
import { InjectionToken, type Provider, type Signal } from '@angular/core';
|
|
2
2
|
import { type TuiDateMode } from '@taiga-ui/cdk/date-time';
|
|
3
|
-
import { type Observable } from 'rxjs';
|
|
4
3
|
/**
|
|
5
4
|
* Formatting configuration for displayed dates
|
|
6
5
|
*/
|
|
@@ -19,5 +18,5 @@ export declare const TUI_DEFAULT_DATE_FORMAT: TuiDateFormatSettings;
|
|
|
19
18
|
/**
|
|
20
19
|
* Formatting configuration for displayed dates
|
|
21
20
|
*/
|
|
22
|
-
export declare const TUI_DATE_FORMAT: InjectionToken<
|
|
21
|
+
export declare const TUI_DATE_FORMAT: InjectionToken<Signal<TuiDateFormatSettings>>;
|
|
23
22
|
export declare function tuiDateFormatProvider(options: Partial<TuiDateFormatSettings>): Provider;
|
package/tokens/i18n.d.ts
CHANGED
|
@@ -2,28 +2,28 @@ import { InjectionToken } from '@angular/core';
|
|
|
2
2
|
/**
|
|
3
3
|
* Localized months names
|
|
4
4
|
*/
|
|
5
|
-
export declare const TUI_MONTHS: InjectionToken<import("
|
|
5
|
+
export declare const TUI_MONTHS: InjectionToken<import("@angular/core").Signal<readonly [January: string, February: string, March: string, April: string, May: string, June: string, July: string, August: string, September: string, October: string, November: string, December: string]>>;
|
|
6
6
|
/**
|
|
7
7
|
* i18n 'close' word
|
|
8
8
|
*/
|
|
9
|
-
export declare const TUI_CLOSE_WORD: InjectionToken<import("
|
|
9
|
+
export declare const TUI_CLOSE_WORD: InjectionToken<import("@angular/core").Signal<string>>;
|
|
10
10
|
/**
|
|
11
11
|
* i18n 'clear' word
|
|
12
12
|
*/
|
|
13
|
-
export declare const TUI_CLEAR_WORD: InjectionToken<import("
|
|
13
|
+
export declare const TUI_CLEAR_WORD: InjectionToken<import("@angular/core").Signal<string>>;
|
|
14
14
|
/**
|
|
15
15
|
* i18n 'Nothing found' message
|
|
16
16
|
*/
|
|
17
|
-
export declare const TUI_NOTHING_FOUND_MESSAGE: InjectionToken<import("
|
|
17
|
+
export declare const TUI_NOTHING_FOUND_MESSAGE: InjectionToken<import("@angular/core").Signal<string>>;
|
|
18
18
|
/**
|
|
19
19
|
* i18n of error message
|
|
20
20
|
*/
|
|
21
|
-
export declare const TUI_DEFAULT_ERROR_MESSAGE: InjectionToken<import("
|
|
21
|
+
export declare const TUI_DEFAULT_ERROR_MESSAGE: InjectionToken<import("@angular/core").Signal<string>>;
|
|
22
22
|
/**
|
|
23
23
|
* spin i18n texts
|
|
24
24
|
*/
|
|
25
|
-
export declare const TUI_SPIN_TEXTS: InjectionToken<import("
|
|
25
|
+
export declare const TUI_SPIN_TEXTS: InjectionToken<import("@angular/core").Signal<readonly [previous: string, next: string]>>;
|
|
26
26
|
/**
|
|
27
27
|
* calendars i18n texts
|
|
28
28
|
*/
|
|
29
|
-
export declare const TUI_SHORT_WEEK_DAYS: InjectionToken<import("
|
|
29
|
+
export declare const TUI_SHORT_WEEK_DAYS: InjectionToken<import("@angular/core").Signal<readonly [Monday: string, Tuesday: string, Wednesday: string, Thursday: string, Friday: string, Saturday: string, Sunday: string]>>;
|
|
@@ -1,10 +1,6 @@
|
|
|
1
1
|
import { InjectionToken, type Provider } from '@angular/core';
|
|
2
2
|
import { type TuiStringHandler } from '@taiga-ui/cdk/types';
|
|
3
3
|
export declare const TUI_ICON_RESOLVER: InjectionToken<TuiStringHandler<string>>;
|
|
4
|
-
/**
|
|
5
|
-
* @deprecated use {@link TUI_ICON_RESOLVER}
|
|
6
|
-
*/
|
|
7
|
-
export declare const TUI_ICON_START_RESOLVER: InjectionToken<TuiStringHandler<string>>;
|
|
8
4
|
export declare function tuiGetIconMode(icon?: string | null): string | undefined;
|
|
9
5
|
export declare function tuiInjectIconResolver(): TuiStringHandler<string>;
|
|
10
6
|
export declare function tuiIconResolverProvider(useValue: TuiStringHandler<string>): Provider;
|
package/tokens/index.d.ts
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { InjectionToken, type Provider } from '@angular/core';
|
|
1
|
+
import { InjectionToken, type Provider, type Signal } from '@angular/core';
|
|
2
2
|
import { type TuiRounding } from '@taiga-ui/cdk/types';
|
|
3
|
-
import { type Observable } from 'rxjs';
|
|
4
3
|
export type TuiDecimalMode = 'always' | 'not-zero' | 'pad';
|
|
5
4
|
export type TuiDecimalSymbol = ',' | '.';
|
|
6
5
|
/**
|
|
@@ -35,5 +34,5 @@ export declare const TUI_DEFAULT_NUMBER_FORMAT: TuiNumberFormatSettings;
|
|
|
35
34
|
/**
|
|
36
35
|
* Formatting configuration for displayed numbers
|
|
37
36
|
*/
|
|
38
|
-
export declare const TUI_NUMBER_FORMAT: InjectionToken<
|
|
37
|
+
export declare const TUI_NUMBER_FORMAT: InjectionToken<Signal<TuiNumberFormatSettings>>;
|
|
39
38
|
export declare function tuiNumberFormatProvider(options: Partial<TuiNumberFormatSettings>): Provider;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { InjectionToken, type Provider, type Signal } from '@angular/core';
|
|
2
|
+
import { type PolymorpheusContent } from '@taiga-ui/polymorpheus';
|
|
3
|
+
export declare const TUI_VALIDATION_ERRORS: InjectionToken<Record<string, PolymorpheusContent | Signal<PolymorpheusContent>>>;
|
|
4
|
+
export declare const tuiValidationErrorsProvider: (useValue: Record<string, PolymorpheusContent | Signal<PolymorpheusContent>>) => Provider;
|
package/types/index.d.ts
CHANGED
|
@@ -2,7 +2,6 @@ export type * from './direction';
|
|
|
2
2
|
export type * from './interactive-state';
|
|
3
3
|
export type * from './orientation';
|
|
4
4
|
export type * from './point';
|
|
5
|
-
export type * from './portal-item';
|
|
6
5
|
export type * from './range-state';
|
|
7
6
|
export type * from './size';
|
|
8
7
|
export type * from './value-content-context';
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { type EnvironmentProviders, InjectionToken, type Provider } from '@angular/core';
|
|
2
|
+
interface ExperimentalAPIs {
|
|
3
|
+
readonly all: boolean;
|
|
4
|
+
}
|
|
5
|
+
export interface TuiOptions {
|
|
6
|
+
readonly mode?: 'dark' | 'light';
|
|
7
|
+
readonly apis: Partial<ExperimentalAPIs> | 'stable';
|
|
8
|
+
readonly fontScaling: boolean;
|
|
9
|
+
readonly scrollbars: 'custom' | 'native';
|
|
10
|
+
}
|
|
11
|
+
export declare const TUI_OPTIONS: InjectionToken<TuiOptions>;
|
|
12
|
+
export declare function provideTaiga(config?: Partial<TuiOptions>): Array<EnvironmentProviders | Provider>;
|
|
13
|
+
export {};
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { type TuiPopover } from '@taiga-ui/cdk/services';
|
|
2
|
-
import { type TuiAlertOptions } from './alert.interfaces';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
import * as i1 from "@taiga-ui/cdk/directives/animated";
|
|
5
|
-
export declare class TuiAlertComponent<O, I> {
|
|
6
|
-
private readonly el;
|
|
7
|
-
protected readonly icons: import("@taiga-ui/core/tokens").TuiCommonIcons;
|
|
8
|
-
protected readonly close: import("@angular/core").Signal<string | undefined>;
|
|
9
|
-
protected readonly position: string;
|
|
10
|
-
protected readonly item: TuiPopover<TuiAlertOptions<I>, O>;
|
|
11
|
-
protected readonly sub: import("rxjs").Subscription;
|
|
12
|
-
get from(): string;
|
|
13
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TuiAlertComponent<any, any>, never>;
|
|
14
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TuiAlertComponent<any, any>, "tui-alert", never, {}, {}, never, never, true, [{ directive: typeof i1.TuiAnimated; inputs: {}; outputs: {}; }]>;
|
|
15
|
-
}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { TuiPopoverDirective } from '@taiga-ui/cdk/directives/popover';
|
|
2
|
-
import { type TuiAlertOptions } from './alert.interfaces';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class TuiAlert<T> extends TuiPopoverDirective<TuiAlertOptions<T>> {
|
|
5
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TuiAlert<any>, never>;
|
|
6
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<TuiAlert<any>, "ng-template[tuiAlert]", never, { "options": { "alias": "tuiAlertOptions"; "required": false; }; "open": { "alias": "tuiAlert"; "required": false; }; }, { "openChange": "tuiAlertChange"; }, never, never, true, never>;
|
|
7
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { type TuiPopoverContext } from '@taiga-ui/cdk/services';
|
|
2
|
-
import { type TuiHandler } from '@taiga-ui/cdk/types';
|
|
3
|
-
import { type TuiNotificationOptions } from '@taiga-ui/core/components/notification';
|
|
4
|
-
import { type PolymorpheusContent } from '@taiga-ui/polymorpheus';
|
|
5
|
-
export interface TuiAlertOptions<I = undefined> extends Omit<TuiNotificationOptions, 'size'> {
|
|
6
|
-
readonly autoClose: TuiHandler<string, number> | number;
|
|
7
|
-
readonly data: I;
|
|
8
|
-
readonly closeable: boolean;
|
|
9
|
-
readonly label: PolymorpheusContent<TuiAlertOptions<I>>;
|
|
10
|
-
}
|
|
11
|
-
export interface TuiAlertContext<O = void, I = undefined> extends TuiPopoverContext<O>, TuiAlertOptions<I> {
|
|
12
|
-
}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { TuiPopoverService } from '@taiga-ui/cdk/services';
|
|
2
|
-
import { type TuiAlertOptions } from './alert.interfaces';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class TuiAlertService extends TuiPopoverService<TuiAlertOptions<any>> {
|
|
5
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TuiAlertService, never>;
|
|
6
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<TuiAlertService>;
|
|
7
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { type FactoryProvider, InjectionToken } from '@angular/core';
|
|
2
|
-
import { BehaviorSubject } from 'rxjs';
|
|
3
|
-
import { type TuiAlertOptions } from './alert.interfaces';
|
|
4
|
-
export declare const TUI_ALERT_DEFAULT_OPTIONS: Omit<TuiAlertOptions, 'appearance' | 'icon'>;
|
|
5
|
-
export declare const TUI_ALERT_OPTIONS: InjectionToken<TuiAlertOptions<undefined>>;
|
|
6
|
-
export declare const TUI_ALERT_POSITION: InjectionToken<string>;
|
|
7
|
-
export declare const TUI_ALERTS: InjectionToken<BehaviorSubject<readonly any[]>>;
|
|
8
|
-
/**
|
|
9
|
-
* Grouping alerts by their component
|
|
10
|
-
*/
|
|
11
|
-
export declare const TUI_ALERTS_GROUPED: InjectionToken<import("rxjs").Observable<(readonly any[])[]>>;
|
|
12
|
-
export declare function tuiAlertOptionsProvider(options: Partial<TuiAlertOptions>): FactoryProvider;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { Injector, type Type } from '@angular/core';
|
|
2
|
-
import { type TuiMapper } from '@taiga-ui/cdk/types';
|
|
3
|
-
import { identity } from 'rxjs';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class TuiAlerts {
|
|
6
|
-
private readonly injector;
|
|
7
|
-
protected readonly alerts$: import("rxjs").Observable<(readonly any[])[]>;
|
|
8
|
-
protected readonly trackBy: typeof identity;
|
|
9
|
-
protected readonly mapper: TuiMapper<[Type<any>], Injector>;
|
|
10
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TuiAlerts, never>;
|
|
11
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TuiAlerts, "tui-alerts", never, {}, {}, never, never, true, never>;
|
|
12
|
-
}
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import { type TuiPopover, type TuiPopoverContext } from '@taiga-ui/cdk/services';
|
|
2
|
-
import { type TuiSizeL, type TuiSizeS } from '@taiga-ui/core/types';
|
|
3
|
-
import { type PolymorpheusContent } from '@taiga-ui/polymorpheus';
|
|
4
|
-
import { type Observable } from 'rxjs';
|
|
5
|
-
export type TuiDialogSize = TuiSizeL | TuiSizeS | 'auto' | 'fullscreen' | 'page';
|
|
6
|
-
/**
|
|
7
|
-
* Options for a dialog
|
|
8
|
-
*
|
|
9
|
-
* appearance - data-appearance attribute of the dialog ('' by default)
|
|
10
|
-
* size - size of the dialog ('m' by default)
|
|
11
|
-
* required - closing dialog throws (false by default)
|
|
12
|
-
* closeable - show close button (true by default)
|
|
13
|
-
* dismissible - close dialog by Esc button or click on overlay (true by default)
|
|
14
|
-
* label - string title for the dialog ('' by default)
|
|
15
|
-
* header - content above title ('' by default)
|
|
16
|
-
* data - arbitrary data for dialog
|
|
17
|
-
*/
|
|
18
|
-
export interface TuiDialogOptions<I> {
|
|
19
|
-
readonly appearance: string;
|
|
20
|
-
/**
|
|
21
|
-
* TODO: rename to closable in v5.0
|
|
22
|
-
*/
|
|
23
|
-
readonly closeable: Observable<boolean> | boolean;
|
|
24
|
-
readonly data: I extends void ? undefined : I & {
|
|
25
|
-
button?: string;
|
|
26
|
-
};
|
|
27
|
-
readonly dismissible: Observable<boolean> | boolean;
|
|
28
|
-
readonly header: PolymorpheusContent<TuiPopover<TuiDialogOptions<I>, any>>;
|
|
29
|
-
readonly label: string;
|
|
30
|
-
readonly required: boolean;
|
|
31
|
-
readonly size: TuiDialogSize;
|
|
32
|
-
}
|
|
33
|
-
export interface TuiDialogContext<O = void, I = undefined> extends TuiPopoverContext<O>, TuiDialogOptions<I> {
|
|
34
|
-
}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { InjectionToken, type Provider } from '@angular/core';
|
|
2
|
-
import { BehaviorSubject, type Observable } from 'rxjs';
|
|
3
|
-
import { type TuiDialogOptions } from './dialog.interfaces';
|
|
4
|
-
export declare const TUI_DIALOGS: InjectionToken<BehaviorSubject<readonly any[]>>;
|
|
5
|
-
export declare const TUI_DIALOG_DEFAULT_OPTIONS: TuiDialogOptions<void>;
|
|
6
|
-
/**
|
|
7
|
-
* A stream to close dialogs
|
|
8
|
-
* TODO: use router.events in v5
|
|
9
|
-
*/
|
|
10
|
-
export declare const TUI_DIALOGS_CLOSE: InjectionToken<Observable<unknown>>;
|
|
11
|
-
/**
|
|
12
|
-
* Default parameters for dialog component
|
|
13
|
-
*/
|
|
14
|
-
export declare const TUI_DIALOG_OPTIONS: InjectionToken<TuiDialogOptions<void>>;
|
|
15
|
-
export declare function tuiDialogOptionsProvider(options: Partial<TuiDialogOptions<unknown>>): Provider;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { type Signal } from '@angular/core';
|
|
2
|
-
import { type TuiPopover } from '@taiga-ui/cdk/services';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class TuiDialogs {
|
|
5
|
-
protected readonly dialogs: Signal<ReadonlyArray<TuiPopover<any, any>>>;
|
|
6
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TuiDialogs, never>;
|
|
7
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TuiDialogs, "tui-dialogs", never, {}, {}, never, never, true, never>;
|
|
8
|
-
}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
/**
|
|
3
|
-
* @deprecated use {@link TuiExpand} from @taiga-ui/experimental
|
|
4
|
-
*/
|
|
5
|
-
export declare class TuiExpandContent {
|
|
6
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TuiExpandContent, never>;
|
|
7
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<TuiExpandContent, "[tuiExpandContent]", never, {}, {}, never, never, true, never>;
|
|
8
|
-
}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { TuiExpandComponent } from './expand.component';
|
|
2
|
-
import { TuiExpandContent } from './expand-content.directive';
|
|
3
|
-
/**
|
|
4
|
-
* @deprecated use {@link TuiExpand} from @taiga-ui/experimental
|
|
5
|
-
*/
|
|
6
|
-
export declare const TuiExpand: readonly [typeof TuiExpandComponent, typeof TuiExpandContent];
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { EventEmitter } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class TuiFullscreen {
|
|
4
|
-
private readonly root?;
|
|
5
|
-
private readonly doc;
|
|
6
|
-
protected readonly open: import("@angular/core").WritableSignal<boolean>;
|
|
7
|
-
readonly opened: EventEmitter<boolean>;
|
|
8
|
-
options?: FullscreenOptions;
|
|
9
|
-
set fullscreen(open: boolean);
|
|
10
|
-
protected closedByEscape(event: Event): void;
|
|
11
|
-
private fullscreenState;
|
|
12
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TuiFullscreen, never>;
|
|
13
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TuiFullscreen, "[tuiFullscreen]", never, { "options": { "alias": "tuiFullscreenOptions"; "required": false; }; "fullscreen": { "alias": "tuiFullscreen"; "required": false; }; }, { "opened": "tuiFullscreenChange"; }, never, ["*"], true, never>;
|
|
14
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './fullscreen.component';
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { TuiTextfieldBase } from './textfield.directive';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
import * as i1 from "@taiga-ui/cdk/directives/native-validator";
|
|
4
|
-
import * as i2 from "@taiga-ui/core/directives/appearance";
|
|
5
|
-
/**
|
|
6
|
-
* @deprecated use {@link TuiSelect} from @taiga-ui/kit instead, drop in v5
|
|
7
|
-
*/
|
|
8
|
-
export declare class TuiSelect<T> extends TuiTextfieldBase<T> {
|
|
9
|
-
private readonly nav;
|
|
10
|
-
private readonly doc;
|
|
11
|
-
placeholder: string;
|
|
12
|
-
setValue(value: T): void;
|
|
13
|
-
focus(): void;
|
|
14
|
-
protected get ariaLabel(): string | null;
|
|
15
|
-
protected get stringified(): string;
|
|
16
|
-
protected onCopy(): Promise<void>;
|
|
17
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TuiSelect<any>, never>;
|
|
18
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TuiSelect<any>, "select[tuiTextfield]", never, { "placeholder": { "alias": "placeholder"; "required": false; }; }, {}, never, never, true, [{ directive: typeof i1.TuiNativeValidator; inputs: {}; outputs: {}; }, { directive: typeof i2.TuiAppearance; inputs: {}; outputs: {}; }]>;
|
|
19
|
-
}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { type OnDestroy } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class TuiTextfieldDropdownDirective implements OnDestroy {
|
|
4
|
-
private readonly directive;
|
|
5
|
-
constructor();
|
|
6
|
-
ngOnDestroy(): void;
|
|
7
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TuiTextfieldDropdownDirective, never>;
|
|
8
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<TuiTextfieldDropdownDirective, "ng-template[tuiTextfieldDropdown]", never, {}, {}, never, never, true, never>;
|
|
9
|
-
}
|
|
10
|
-
/**
|
|
11
|
-
* @deprecated remove in v5
|
|
12
|
-
*/
|
|
13
|
-
export declare class TuiWithTextfieldDropdown {
|
|
14
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TuiWithTextfieldDropdown, never>;
|
|
15
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<TuiWithTextfieldDropdown, never, never, {}, {}, never, never, true, never>;
|
|
16
|
-
}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { type OnDestroy } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
/**
|
|
4
|
-
* @deprecated use {@link TuiPopup} directive instead
|
|
5
|
-
*/
|
|
6
|
-
export declare class TuiDropdownPortal implements OnDestroy {
|
|
7
|
-
private readonly template;
|
|
8
|
-
private readonly service;
|
|
9
|
-
private viewRef?;
|
|
10
|
-
set tuiDropdown(show: boolean);
|
|
11
|
-
ngOnDestroy(): void;
|
|
12
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TuiDropdownPortal, never>;
|
|
13
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<TuiDropdownPortal, "ng-template[tuiDropdown]", never, { "tuiDropdown": { "alias": "tuiDropdown"; "required": false; }; }, {}, never, never, true, never>;
|
|
14
|
-
}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { TuiPortalService } from '@taiga-ui/cdk/classes';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class TuiDropdownService extends TuiPortalService {
|
|
4
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TuiDropdownService, never>;
|
|
5
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<TuiDropdownService>;
|
|
6
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { TuiPortals } from '@taiga-ui/cdk/classes';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
/**
|
|
4
|
-
* Host element for dynamically created portals, for example using {@link TuiDropdownDirective}.
|
|
5
|
-
*/
|
|
6
|
-
export declare class TuiDropdowns extends TuiPortals {
|
|
7
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TuiDropdowns, never>;
|
|
8
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TuiDropdowns, "tui-dropdowns", never, {}, {}, never, never, true, never>;
|
|
9
|
-
}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { type TuiPortalItem } from '@taiga-ui/core/types';
|
|
2
|
-
import { BehaviorSubject } from 'rxjs';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
/**
|
|
5
|
-
* Service for displaying hints/tooltips
|
|
6
|
-
*/
|
|
7
|
-
export declare class TuiHintService extends BehaviorSubject<readonly TuiPortalItem[]> {
|
|
8
|
-
constructor();
|
|
9
|
-
add(directive: TuiPortalItem): void;
|
|
10
|
-
remove(directive: TuiPortalItem): void;
|
|
11
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TuiHintService, never>;
|
|
12
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<TuiHintService>;
|
|
13
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { type OnInit } from '@angular/core';
|
|
2
|
-
import { type TuiPortalItem } from '@taiga-ui/core/types';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class TuiHints implements OnInit {
|
|
5
|
-
private readonly hints$;
|
|
6
|
-
private readonly destroyRef;
|
|
7
|
-
private readonly cdr;
|
|
8
|
-
protected hints: readonly TuiPortalItem[];
|
|
9
|
-
ngOnInit(): void;
|
|
10
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TuiHints, never>;
|
|
11
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TuiHints, "tui-hints", never, {}, {}, never, never, true, never>;
|
|
12
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './surface.directive';
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "@taiga-ui/core/directives/appearance";
|
|
3
|
-
export declare class TuiSurface {
|
|
4
|
-
protected readonly nothing: undefined;
|
|
5
|
-
tuiSurface: string;
|
|
6
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TuiSurface, never>;
|
|
7
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<TuiSurface, "[tuiSurface]", never, { "tuiSurface": { "alias": "tuiSurface"; "required": false; }; }, {}, never, never, true, [{ directive: typeof i1.TuiAppearance; inputs: { "tuiAppearance": "tuiSurface"; }; outputs: {}; }]>;
|
|
8
|
-
}
|