@taiga-ui/core 4.52.0-canary.6043e8f → 4.52.0-canary.61fea47
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/calendar/calendar-sheet.options.d.ts +1 -3
- package/{pipes/calendar-sheet → components/calendar}/calendar-sheet.pipe.d.ts +1 -1
- package/components/calendar/calendar-spin.component.d.ts +1 -0
- package/components/calendar/calendar-year.component.d.ts +1 -1
- package/components/calendar/index.d.ts +2 -0
- 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 +8 -12
- package/components/data-list/data-list.d.ts +2 -4
- package/components/data-list/data-list.tokens.d.ts +1 -5
- package/components/data-list/index.d.ts +0 -2
- package/components/data-list/opt-group.directive.d.ts +2 -2
- package/components/data-list/option/option-content.d.ts +6 -8
- package/components/data-list/option/option.directive.d.ts +7 -8
- package/components/error/error.component.d.ts +1 -1
- package/components/expand/expand.component.d.ts +9 -28
- package/components/expand/index.d.ts +0 -2
- package/components/index.d.ts +2 -3
- 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/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 +10 -7
- package/components/notification/notification.service.d.ts +17 -0
- package/components/root/root.component.d.ts +2 -3
- 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/spin-button/spin-button.component.d.ts +8 -9
- package/components/textfield/index.d.ts +1 -3
- package/components/textfield/textfield-multi/textfield-item.component.d.ts +3 -2
- package/components/textfield/textfield-multi/textfield-multi.component.d.ts +9 -14
- package/components/textfield/textfield.component.d.ts +23 -37
- package/components/textfield/textfield.d.ts +2 -3
- package/components/textfield/textfield.directive.d.ts +13 -20
- package/components/textfield/textfield.options.d.ts +8 -11
- package/{directives → components}/title/title.directive.d.ts +2 -3
- package/directives/appearance/appearance.directive.d.ts +1 -1
- package/directives/appearance/appearance.options.d.ts +1 -1
- package/directives/date-format/date-format.directive.d.ts +3 -7
- package/directives/group/group.directive.d.ts +7 -7
- package/directives/group/group.options.d.ts +1 -3
- package/directives/index.d.ts +0 -5
- package/directives/number-format/number-format.directive.d.ts +3 -7
- package/fesm2022/taiga-ui-core-classes.mjs +6 -8
- 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 +124 -26
- 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 +46 -206
- package/fesm2022/taiga-ui-core-components-data-list.mjs.map +1 -1
- package/fesm2022/taiga-ui-core-components-error.mjs +4 -3
- 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 +1 -2
- 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-notification.mjs +108 -66
- package/fesm2022/taiga-ui-core-components-notification.mjs.map +1 -1
- package/fesm2022/taiga-ui-core-components-root.mjs +6 -20
- package/fesm2022/taiga-ui-core-components-root.mjs.map +1 -1
- package/fesm2022/taiga-ui-core-components-scrollbar.mjs +36 -45
- 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 +171 -388
- package/fesm2022/taiga-ui-core-components-textfield.mjs.map +1 -1
- package/fesm2022/taiga-ui-core-components-title.mjs +37 -0
- package/fesm2022/taiga-ui-core-components-title.mjs.map +1 -0
- package/fesm2022/taiga-ui-core-components.mjs +2 -3
- package/fesm2022/taiga-ui-core-components.mjs.map +1 -1
- package/fesm2022/taiga-ui-core-directives-appearance.mjs +12 -15
- 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-group.mjs +23 -38
- package/fesm2022/taiga-ui-core-directives-group.mjs.map +1 -1
- package/fesm2022/taiga-ui-core-directives-icons.mjs +8 -11
- package/fesm2022/taiga-ui-core-directives-icons.mjs.map +1 -1
- package/fesm2022/taiga-ui-core-directives-items-handlers.mjs +3 -6
- 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.mjs +0 -5
- package/fesm2022/taiga-ui-core-directives.mjs.map +1 -1
- package/fesm2022/taiga-ui-core-pipes-format-number.mjs +19 -13
- package/fesm2022/taiga-ui-core-pipes-format-number.mjs.map +1 -1
- package/fesm2022/taiga-ui-core-pipes.mjs +0 -7
- package/fesm2022/taiga-ui-core-pipes.mjs.map +1 -1
- package/fesm2022/taiga-ui-core-portals-alert.mjs +73 -0
- package/fesm2022/taiga-ui-core-portals-alert.mjs.map +1 -0
- package/fesm2022/taiga-ui-core-portals-dialog.mjs +158 -0
- package/fesm2022/taiga-ui-core-portals-dialog.mjs.map +1 -0
- package/fesm2022/{taiga-ui-core-directives-dropdown.mjs → taiga-ui-core-portals-dropdown.mjs} +135 -287
- package/fesm2022/taiga-ui-core-portals-dropdown.mjs.map +1 -0
- package/fesm2022/{taiga-ui-core-directives-hint.mjs → taiga-ui-core-portals-hint.mjs} +118 -218
- package/fesm2022/taiga-ui-core-portals-hint.mjs.map +1 -0
- package/fesm2022/taiga-ui-core-portals-modal.mjs +89 -0
- package/fesm2022/taiga-ui-core-portals-modal.mjs.map +1 -0
- package/fesm2022/taiga-ui-core-portals-popup.mjs +56 -0
- package/fesm2022/taiga-ui-core-portals-popup.mjs.map +1 -0
- package/fesm2022/taiga-ui-core-portals.mjs +11 -0
- package/fesm2022/taiga-ui-core-portals.mjs.map +1 -0
- package/fesm2022/taiga-ui-core-services.mjs +3 -23
- package/fesm2022/taiga-ui-core-services.mjs.map +1 -1
- package/fesm2022/taiga-ui-core-tokens.mjs +22 -25
- package/fesm2022/taiga-ui-core-tokens.mjs.map +1 -1
- package/fesm2022/taiga-ui-core-utils-format.mjs +1 -22
- package/fesm2022/taiga-ui-core-utils-format.mjs.map +1 -1
- package/fesm2022/taiga-ui-core-utils-miscellaneous.mjs +8 -17
- package/fesm2022/taiga-ui-core-utils-miscellaneous.mjs.map +1 -1
- package/fesm2022/taiga-ui-core.mjs +1 -0
- package/fesm2022/taiga-ui-core.mjs.map +1 -1
- package/index.d.ts +1 -0
- package/package.json +77 -98
- package/pipes/format-number/format-number.pipe.d.ts +6 -4
- package/pipes/index.d.ts +0 -7
- package/portals/alert/alert.directive.d.ts +11 -0
- package/portals/alert/alert.service.d.ts +12 -0
- package/portals/alert/index.d.ts +2 -0
- package/portals/dialog/dialog.component.d.ts +14 -0
- package/portals/dialog/dialog.directive.d.ts +8 -0
- package/{components → portals}/dialog/dialog.factory.d.ts +1 -1
- package/portals/dialog/dialog.options.d.ts +25 -0
- package/{components/dialog/dialog-close.service.d.ts → portals/dialog/dialog.providers.d.ts} +2 -0
- package/portals/dialog/dialog.service.d.ts +10 -0
- package/portals/dialog/index.d.ts +6 -0
- package/portals/dropdown/dropdown-content.directive.d.ts +9 -0
- package/{directives → portals}/dropdown/dropdown-hover.directive.d.ts +5 -10
- package/{directives → portals}/dropdown/dropdown-hover.options.d.ts +1 -3
- package/{directives → portals}/dropdown/dropdown-manual.directive.d.ts +2 -2
- package/portals/dropdown/dropdown-open.directive.d.ts +30 -0
- package/{directives → portals}/dropdown/dropdown-position-sided.directive.d.ts +3 -3
- package/{directives → portals}/dropdown/dropdown-position.directive.d.ts +5 -5
- package/{directives → portals}/dropdown/dropdown-selection.directive.d.ts +4 -5
- package/{directives → portals}/dropdown/dropdown.bindings.d.ts +0 -1
- package/{directives → portals}/dropdown/dropdown.d.ts +2 -3
- package/{directives → portals}/dropdown/dropdown.directive.d.ts +6 -8
- package/{directives → portals}/dropdown/index.d.ts +1 -4
- package/{directives → portals}/hint/hint-describe.directive.d.ts +4 -6
- package/{directives → portals}/hint/hint-host.directive.d.ts +2 -2
- package/{directives → portals}/hint/hint-hover.directive.d.ts +3 -4
- package/{directives → portals}/hint/hint-manual.directive.d.ts +2 -2
- package/{directives → portals}/hint/hint-options.directive.d.ts +3 -3
- package/{directives → portals}/hint/hint-overflow.directive.d.ts +2 -2
- package/{directives → portals}/hint/hint-position.directive.d.ts +4 -5
- package/{directives → portals}/hint/hint-unstyled.component.d.ts +2 -7
- package/portals/hint/hint.component.d.ts +29 -0
- package/portals/hint/hint.directive.d.ts +24 -0
- package/{directives → portals}/hint/index.d.ts +0 -2
- package/portals/index.d.ts +6 -0
- package/portals/modal/index.d.ts +2 -0
- package/portals/modal/modal.component.d.ts +17 -0
- package/portals/modal/modal.service.d.ts +13 -0
- package/portals/popup/popup.directive.d.ts +12 -0
- package/{directives → portals}/popup/popup.service.d.ts +1 -1
- package/{directives → portals}/popup/popups.component.d.ts +2 -2
- package/services/index.d.ts +0 -1
- package/styles/components/link.less +1 -0
- package/styles/mixins/appearance.less +1 -1
- package/styles/mixins/mixins.less +0 -5
- package/styles/mixins/mixins.scss +0 -5
- package/styles/mixins/slider.less +21 -16
- package/styles/mixins/slider.scss +1 -2
- 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/icons.d.ts +0 -4
- package/tokens/number-format.d.ts +2 -3
- package/types/index.d.ts +0 -3
- package/types/size.d.ts +0 -11
- package/utils/format/index.d.ts +0 -1
- package/utils/miscellaneous/get-duration.d.ts +2 -0
- package/utils/miscellaneous/index.d.ts +1 -1
- 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/data-list/data-list.directive.d.ts +0 -7
- package/components/data-list/option/option-legacy.component.d.ts +0 -24
- package/components/dialog/active-zone-adapter.directive.d.ts +0 -11
- package/components/dialog/dialog.component.d.ts +0 -20
- package/components/dialog/dialog.directive.d.ts +0 -7
- package/components/dialog/dialog.interfaces.d.ts +0 -34
- package/components/dialog/dialog.service.d.ts +0 -7
- package/components/dialog/dialog.tokens.d.ts +0 -15
- package/components/dialog/dialogs.component.d.ts +0 -8
- package/components/dialog/index.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-open-legacy.directive.d.ts +0 -12
- package/directives/dropdown/dropdown-open.directive.d.ts +0 -33
- 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.component.d.ts +0 -30
- package/directives/hint/hint.directive.d.ts +0 -26
- package/directives/hint/hint.service.d.ts +0 -13
- package/directives/hint/hints.component.d.ts +0 -12
- package/directives/popup/popup.directive.d.ts +0 -11
- 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-dialog.mjs +0 -229
- package/fesm2022/taiga-ui-core-components-dialog.mjs.map +0 -1
- package/fesm2022/taiga-ui-core-components-fullscreen.mjs +0 -77
- package/fesm2022/taiga-ui-core-components-fullscreen.mjs.map +0 -1
- package/fesm2022/taiga-ui-core-directives-dropdown.mjs.map +0 -1
- package/fesm2022/taiga-ui-core-directives-hint.mjs.map +0 -1
- package/fesm2022/taiga-ui-core-directives-popup.mjs +0 -63
- package/fesm2022/taiga-ui-core-directives-popup.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-directives-title.mjs +0 -43
- package/fesm2022/taiga-ui-core-directives-title.mjs.map +0 -1
- package/fesm2022/taiga-ui-core-pipes-auto-color.mjs +0 -25
- package/fesm2022/taiga-ui-core-pipes-auto-color.mjs.map +0 -1
- package/fesm2022/taiga-ui-core-pipes-calendar-sheet.mjs +0 -94
- package/fesm2022/taiga-ui-core-pipes-calendar-sheet.mjs.map +0 -1
- package/fesm2022/taiga-ui-core-pipes-flag.mjs +0 -32
- package/fesm2022/taiga-ui-core-pipes-flag.mjs.map +0 -1
- package/fesm2022/taiga-ui-core-pipes-format-date.mjs +0 -28
- package/fesm2022/taiga-ui-core-pipes-format-date.mjs.map +0 -1
- package/fesm2022/taiga-ui-core-pipes-initials.mjs +0 -29
- package/fesm2022/taiga-ui-core-pipes-initials.mjs.map +0 -1
- package/fesm2022/taiga-ui-core-pipes-month.mjs +0 -29
- package/fesm2022/taiga-ui-core-pipes-month.mjs.map +0 -1
- package/fesm2022/taiga-ui-core-pipes-order-week-days.mjs +0 -36
- package/fesm2022/taiga-ui-core-pipes-order-week-days.mjs.map +0 -1
- package/pipes/auto-color/auto-color.pipe.d.ts +0 -7
- package/pipes/auto-color/index.d.ts +0 -1
- package/pipes/calendar-sheet/index.d.ts +0 -1
- package/pipes/calendar-sheet/utils.d.ts +0 -20
- package/pipes/flag/flag.pipe.d.ts +0 -14
- package/pipes/flag/index.d.ts +0 -1
- package/pipes/format-date/format-date.pipe.d.ts +0 -9
- package/pipes/format-date/index.d.ts +0 -1
- package/pipes/initials/index.d.ts +0 -1
- package/pipes/initials/initials.pipe.d.ts +0 -7
- package/pipes/month/index.d.ts +0 -1
- package/pipes/month/month.pipe.d.ts +0 -10
- package/pipes/order-week-days/index.d.ts +0 -1
- package/services/format-date.service.d.ts +0 -8
- package/types/portal-item.d.ts +0 -9
- package/types/range-state.d.ts +0 -4
- package/types/value-content-context.d.ts +0 -4
- package/utils/format/string-hash-to-hsl.d.ts +0 -6
- package/utils/miscellaneous/to-animation-options.d.ts +0 -4
- /package/{pipes/order-week-days → components/calendar}/order-week-days.pipe.d.ts +0 -0
- /package/{directives → components}/title/index.d.ts +0 -0
- /package/{directives → portals}/dropdown/dropdown-context.directive.d.ts +0 -0
- /package/{directives → portals}/dropdown/dropdown-limit-width.d.ts +0 -0
- /package/{directives → portals}/dropdown/dropdown-options.directive.d.ts +0 -0
- /package/{directives → portals}/dropdown/dropdown.component.d.ts +0 -0
- /package/{directives → portals}/dropdown/dropdown.driver.d.ts +0 -0
- /package/{directives → portals}/dropdown/dropdown.providers.d.ts +0 -0
- /package/{directives → portals}/dropdown/with-dropdown-open.directive.d.ts +0 -0
- /package/{directives → portals}/hint/hint-driver.directive.d.ts +0 -0
- /package/{directives → portals}/hint/hint-pointer.directive.d.ts +0 -0
- /package/{directives → portals}/hint/hint.d.ts +0 -0
- /package/{directives → portals}/hint/hint.providers.d.ts +0 -0
- /package/{directives → portals}/popup/index.d.ts +0 -0
package/README.md
CHANGED
package/classes/accessors.d.ts
CHANGED
|
@@ -10,7 +10,7 @@ export declare abstract class TuiRectAccessor extends TuiAccessor {
|
|
|
10
10
|
abstract getClientRect(): DOMRect;
|
|
11
11
|
}
|
|
12
12
|
export declare function tuiProvideAccessor<T extends TuiAccessor>(provide: AbstractType<T>, type: string, fallback: Type<T>): FactoryProvider;
|
|
13
|
-
export declare function tuiFallbackAccessor<T extends TuiAccessor>(type: string): (accessors: readonly T[] | null, fallback: T) => T;
|
|
13
|
+
export declare function tuiFallbackAccessor<T extends TuiAccessor>(type: string): (accessors: readonly T[] | null, fallback: Omit<T, 'type'>) => T;
|
|
14
14
|
export declare function tuiPositionAccessorFor(type: string, fallback: Type<TuiPositionAccessor>): FactoryProvider;
|
|
15
15
|
export declare function tuiRectAccessorFor(type: string, fallback: Type<TuiRectAccessor>): FactoryProvider;
|
|
16
16
|
export declare function tuiAsPositionAccessor(accessor: Type<TuiPositionAccessor>): ExistingProvider;
|
|
@@ -3,7 +3,7 @@ import * as i1 from "@taiga-ui/core/directives/appearance";
|
|
|
3
3
|
import * as i2 from "@taiga-ui/core/directives/icons";
|
|
4
4
|
export declare class TuiButton {
|
|
5
5
|
protected readonly nothing: undefined;
|
|
6
|
-
size: "m" | "l" | "xl" | "s" | "xs"
|
|
6
|
+
readonly size: import("@angular/core").InputSignal<"m" | "l" | "xl" | "s" | "xs">;
|
|
7
7
|
static ɵfac: i0.ɵɵFactoryDeclaration<TuiButton, never>;
|
|
8
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<TuiButton, "a[tuiButton],button[tuiButton],a[tuiIconButton],button[tuiIconButton]", never, { "size": { "alias": "size"; "required": false; }; }, {}, never, never, true, [{ directive: typeof i1.TuiWithAppearance; inputs: {}; outputs: {}; }, { directive: typeof i2.TuiWithIcons; inputs: {}; outputs: {}; }]>;
|
|
8
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<TuiButton, "a[tuiButton],button[tuiButton],a[tuiIconButton],button[tuiIconButton]", never, { "size": { "alias": "size"; "required": false; "isSignal": true; }; }, {}, never, never, true, [{ directive: typeof i1.TuiWithAppearance; inputs: {}; outputs: {}; }, { directive: typeof i2.TuiWithIcons; inputs: {}; outputs: {}; }]>;
|
|
9
9
|
}
|
|
@@ -1,7 +1,5 @@
|
|
|
1
|
-
import { InjectionToken, type Provider } from '@angular/core';
|
|
2
1
|
export interface TuiCalendarSheetOptions {
|
|
3
2
|
readonly rangeMode: boolean;
|
|
4
3
|
}
|
|
5
4
|
export declare const TUI_CALENDAR_SHEET_DEFAULT_OPTIONS: TuiCalendarSheetOptions;
|
|
6
|
-
export declare const TUI_CALENDAR_SHEET_OPTIONS: InjectionToken<TuiCalendarSheetOptions
|
|
7
|
-
export declare function tuiCalendarSheetOptionsProvider(options: Partial<TuiCalendarSheetOptions>): Provider;
|
|
5
|
+
export declare const TUI_CALENDAR_SHEET_OPTIONS: import("@angular/core").InjectionToken<TuiCalendarSheetOptions>, tuiCalendarSheetOptionsProvider: (item: Partial<TuiCalendarSheetOptions> | (() => Partial<TuiCalendarSheetOptions>)) => import("@angular/core").FactoryProvider;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type PipeTransform } from '@angular/core';
|
|
2
|
-
import {
|
|
2
|
+
import { TuiDay, type TuiMonth } from '@taiga-ui/cdk/date-time';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
export declare class TuiCalendarSheetPipe implements PipeTransform {
|
|
5
5
|
private readonly firstDayOfWeek;
|
|
@@ -2,6 +2,7 @@ import { EventEmitter } from '@angular/core';
|
|
|
2
2
|
import { TuiMonth, type TuiMonthLike, type TuiYear } from '@taiga-ui/cdk/date-time';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
export declare class TuiCalendarSpin {
|
|
5
|
+
protected readonly months: 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]>;
|
|
5
6
|
value: TuiMonth;
|
|
6
7
|
min: TuiMonth;
|
|
7
8
|
max: TuiMonth;
|
|
@@ -11,7 +11,7 @@ export declare class TuiCalendarYear {
|
|
|
11
11
|
readonly initialItem: import("@angular/core").WritableSignal<number>;
|
|
12
12
|
readonly min: import("@angular/core").WritableSignal<number>;
|
|
13
13
|
readonly max: import("@angular/core").WritableSignal<number>;
|
|
14
|
-
readonly value: import("@angular/core").WritableSignal<number | TuiYear |
|
|
14
|
+
readonly value: import("@angular/core").WritableSignal<number | TuiYear | readonly TuiDay[] | TuiDayRange | TuiMonthRange | null>;
|
|
15
15
|
set initialItemSetter(x: number | null);
|
|
16
16
|
set minSetter(x: number);
|
|
17
17
|
set maxSetter(x: number);
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
export * from './calendar.component';
|
|
2
2
|
export * from './calendar-sheet.component';
|
|
3
3
|
export * from './calendar-sheet.options';
|
|
4
|
+
export * from './calendar-sheet.pipe';
|
|
4
5
|
export * from './calendar-spin.component';
|
|
5
6
|
export * from './calendar-year.component';
|
|
7
|
+
export * from './order-week-days.pipe';
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class TuiCell {
|
|
3
|
+
protected readonly nothing: undefined;
|
|
4
|
+
protected readonly options: import("./cell.options").TuiCellOptions;
|
|
5
|
+
readonly size: import("@angular/core").InputSignal<"" | "m" | "l" | "s">;
|
|
6
|
+
readonly height: import("@angular/core").InputSignal<"compact" | "normal" | "spacious">;
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TuiCell, never>;
|
|
8
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<TuiCell, "[tuiCell]:not(ng-template)", never, { "size": { "alias": "tuiCell"; "required": false; "isSignal": true; }; "height": { "alias": "tuiCellHeight"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
9
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { type TuiSizeL, type TuiSizeS } from '@taiga-ui/core/types';
|
|
2
|
+
export interface TuiCellOptions {
|
|
3
|
+
readonly height: 'compact' | 'normal' | 'spacious';
|
|
4
|
+
readonly size: TuiSizeL | TuiSizeS | '';
|
|
5
|
+
}
|
|
6
|
+
export declare const TUI_CELL_OPTIONS: import("@angular/core").InjectionToken<TuiCellOptions>, tuiCellOptionsProvider: (item: Partial<TuiCellOptions> | (() => Partial<TuiCellOptions>)) => import("@angular/core").FactoryProvider;
|
|
@@ -1,30 +1,26 @@
|
|
|
1
|
-
import { type AfterContentChecked
|
|
1
|
+
import { type AfterContentChecked } from '@angular/core';
|
|
2
2
|
import { type TuiSizeL, type TuiSizeS } from '@taiga-ui/core/types';
|
|
3
3
|
import { type PolymorpheusContent } from '@taiga-ui/polymorpheus';
|
|
4
4
|
import { type TuiDataListAccessor } from './data-list.tokens';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
6
|
export declare function tuiInjectDataListSize(): TuiSizeL | TuiSizeS;
|
|
7
|
-
export declare class TuiDataListComponent<T> implements TuiDataListAccessor<T>, AfterContentChecked
|
|
8
|
-
private readonly legacyOptionsQuery;
|
|
9
|
-
private readonly optionsQuery;
|
|
7
|
+
export declare class TuiDataListComponent<T> implements TuiDataListAccessor<T>, AfterContentChecked {
|
|
10
8
|
private origin?;
|
|
11
9
|
private readonly ngZone;
|
|
12
10
|
private readonly destroyRef;
|
|
13
11
|
private readonly el;
|
|
14
12
|
private readonly cdr;
|
|
15
|
-
private readonly
|
|
16
|
-
protected readonly fallback: import("@angular/core").Signal<string
|
|
13
|
+
private readonly optionsQuery;
|
|
14
|
+
protected readonly fallback: import("@angular/core").Signal<string>;
|
|
17
15
|
protected readonly empty: import("@angular/core").WritableSignal<boolean>;
|
|
18
|
-
emptyContent: PolymorpheusContent
|
|
19
|
-
size: "m" | "l" | "s"
|
|
20
|
-
readonly options: import("@angular/core").Signal<
|
|
16
|
+
readonly emptyContent: import("@angular/core").InputSignal<PolymorpheusContent>;
|
|
17
|
+
readonly size: import("@angular/core").InputSignal<"m" | "l" | "s">;
|
|
18
|
+
readonly options: import("@angular/core").Signal<T[]>;
|
|
21
19
|
onKeyDownArrow(current: HTMLElement, step: number): void;
|
|
22
20
|
handleFocusLossIfNecessary(element?: Element): void;
|
|
23
|
-
ngAfterContentInit(): void;
|
|
24
21
|
ngAfterContentChecked(): void;
|
|
25
|
-
getOptions(includeDisabled?: boolean): readonly T[];
|
|
26
22
|
protected onFocusIn(relatedTarget: HTMLElement, currentTarget: HTMLElement): void;
|
|
27
23
|
private get elements();
|
|
28
24
|
static ɵfac: i0.ɵɵFactoryDeclaration<TuiDataListComponent<any>, never>;
|
|
29
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TuiDataListComponent<any>, "tui-data-list", never, { "emptyContent": { "alias": "emptyContent"; "required": false; }; "size": { "alias": "size"; "required": false; }; }, {}, ["
|
|
25
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TuiDataListComponent<any>, "tui-data-list", never, { "emptyContent": { "alias": "emptyContent"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; }, {}, ["optionsQuery"], ["*"], true, never>;
|
|
30
26
|
}
|
|
@@ -1,6 +1,4 @@
|
|
|
1
1
|
import { TuiDataListComponent } from './data-list.component';
|
|
2
|
-
import { TuiDataListDirective } from './data-list.directive';
|
|
3
2
|
import { TuiOptGroup } from './opt-group.directive';
|
|
4
|
-
import {
|
|
5
|
-
|
|
6
|
-
export declare const TuiDataList: readonly [typeof TuiDataListComponent, typeof TuiDataListDirective, typeof TuiOption, typeof TuiOptionNew, typeof TuiOptionWithValue, typeof TuiOptGroup];
|
|
3
|
+
import { TuiOption, TuiOptionWithValue } from './option/option.directive';
|
|
4
|
+
export declare const TuiDataList: readonly [typeof TuiDataListComponent, typeof TuiOption, typeof TuiOptionWithValue, typeof TuiOptGroup];
|
|
@@ -2,11 +2,7 @@ import { InjectionToken, type Provider, type Signal, type Type } from '@angular/
|
|
|
2
2
|
import { type TuiIdentityMatcher, type TuiStringHandler } from '@taiga-ui/cdk/types';
|
|
3
3
|
import { type TuiSizeL, type TuiSizeS } from '@taiga-ui/core/types';
|
|
4
4
|
export interface TuiDataListAccessor<T = unknown> {
|
|
5
|
-
|
|
6
|
-
* @deprecated Use `options` property instead
|
|
7
|
-
*/
|
|
8
|
-
getOptions(includeDisabled?: boolean): readonly T[];
|
|
9
|
-
options?: Signal<readonly T[]>;
|
|
5
|
+
options: Signal<readonly T[]>;
|
|
10
6
|
}
|
|
11
7
|
export interface TuiDataListHost<T> {
|
|
12
8
|
checkOption?(option: T): void;
|
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
export * from './data-list';
|
|
2
2
|
export * from './data-list.component';
|
|
3
|
-
export * from './data-list.directive';
|
|
4
3
|
export * from './data-list.tokens';
|
|
5
4
|
export * from './opt-group.directive';
|
|
6
5
|
export * from './option/option.directive';
|
|
7
6
|
export * from './option/option-content';
|
|
8
|
-
export * from './option/option-legacy.component';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
2
|
export declare class TuiOptGroup {
|
|
3
|
-
label
|
|
3
|
+
readonly label: import("@angular/core").InputSignal<string | null | undefined>;
|
|
4
4
|
static ɵfac: i0.ɵɵFactoryDeclaration<TuiOptGroup, never>;
|
|
5
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<TuiOptGroup, "tui-opt-group", never, { "label": { "alias": "label"; "required": false; }; }, {}, never, never, true, never>;
|
|
5
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<TuiOptGroup, "tui-opt-group", never, { "label": { "alias": "label"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
6
6
|
}
|
|
@@ -1,16 +1,14 @@
|
|
|
1
|
-
import { InjectionToken, type Provider, type
|
|
2
|
-
import { type TuiContext } from '@taiga-ui/cdk/types';
|
|
3
|
-
import { type PolymorpheusContent } from '@taiga-ui/polymorpheus';
|
|
1
|
+
import { InjectionToken, type Provider, type Type } from '@angular/core';
|
|
4
2
|
import * as i0 from "@angular/core";
|
|
5
3
|
/**
|
|
6
4
|
* Content for tuiOption component
|
|
7
5
|
*/
|
|
8
|
-
export declare const TUI_OPTION_CONTENT: InjectionToken<Type<any
|
|
9
|
-
export declare function tuiAsOptionContent(useValue:
|
|
6
|
+
export declare const TUI_OPTION_CONTENT: InjectionToken<Type<any>>;
|
|
7
|
+
export declare function tuiAsOptionContent(useValue: Type<any>): Provider;
|
|
10
8
|
export declare class TuiWithOptionContent {
|
|
11
|
-
protected readonly
|
|
12
|
-
protected readonly
|
|
9
|
+
protected readonly local: Type<any> | null;
|
|
10
|
+
protected readonly global: Type<any> | null;
|
|
13
11
|
get content(): Type<any> | null;
|
|
14
12
|
static ɵfac: i0.ɵɵFactoryDeclaration<TuiWithOptionContent, never>;
|
|
15
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<TuiWithOptionContent, never, never, {}, {}, ["
|
|
13
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<TuiWithOptionContent, never, never, {}, {}, ["local"], never, true, never>;
|
|
16
14
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { type OnDestroy } from '@angular/core';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
3
|
import * as i1 from "@taiga-ui/core/directives/icons";
|
|
4
|
-
export declare class
|
|
4
|
+
export declare class TuiOption<T = unknown> implements OnDestroy {
|
|
5
5
|
private readonly vcr;
|
|
6
6
|
private readonly isMobile;
|
|
7
7
|
private readonly el;
|
|
@@ -9,19 +9,18 @@ export declare class TuiOptionNew<T = unknown> implements OnDestroy {
|
|
|
9
9
|
private readonly content;
|
|
10
10
|
private readonly ref;
|
|
11
11
|
protected readonly dropdown: import("@angular/core").WritableSignal<import("@angular/core").ComponentRef<unknown> | null> | undefined;
|
|
12
|
-
disabled: boolean
|
|
12
|
+
readonly disabled: import("@angular/core").InputSignal<boolean>;
|
|
13
13
|
constructor();
|
|
14
14
|
ngOnDestroy(): void;
|
|
15
15
|
protected onMouseMove(): void;
|
|
16
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<
|
|
17
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<
|
|
16
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TuiOption<any>, never>;
|
|
17
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<TuiOption<any>, "button[tuiOption], a[tuiOption], label[tuiOption]", never, { "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; }, {}, never, never, true, [{ directive: typeof i1.TuiWithIcons; inputs: {}; outputs: {}; }]>;
|
|
18
18
|
}
|
|
19
19
|
export declare class TuiOptionWithValue<T = unknown> {
|
|
20
20
|
private readonly host;
|
|
21
|
-
disabled: boolean
|
|
22
|
-
readonly value: import("@angular/core").
|
|
23
|
-
set valueSetter(x: T);
|
|
21
|
+
readonly disabled: import("@angular/core").InputSignal<boolean>;
|
|
22
|
+
readonly value: import("@angular/core").InputSignal<T | undefined>;
|
|
24
23
|
protected onClick(value?: T | undefined): void;
|
|
25
24
|
static ɵfac: i0.ɵɵFactoryDeclaration<TuiOptionWithValue<any>, never>;
|
|
26
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<TuiOptionWithValue<any>, "button[tuiOption][value]
|
|
25
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<TuiOptionWithValue<any>, "button[tuiOption][value], a[tuiOption][value], label[tuiOption][value]", never, { "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "value": { "alias": "value"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
27
26
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { TuiValidationError } from '@taiga-ui/cdk/classes';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
3
|
export declare class TuiErrorComponent {
|
|
4
|
-
protected readonly default: import("@angular/core").Signal<string
|
|
4
|
+
protected readonly default: import("@angular/core").Signal<string>;
|
|
5
5
|
protected readonly content: import("@angular/core").Signal<TuiValidationError<Record<string, unknown>> | null>;
|
|
6
6
|
readonly error: import("@angular/core").InputSignal<string | TuiValidationError<Record<string, unknown>> | null>;
|
|
7
7
|
static ɵfac: i0.ɵɵFactoryDeclaration<TuiErrorComponent, never>;
|
|
@@ -1,30 +1,11 @@
|
|
|
1
|
-
import { type
|
|
2
|
-
import { TemplateRef } from '@angular/core';
|
|
1
|
+
import { type OnInit, TemplateRef } from '@angular/core';
|
|
3
2
|
import * as i0 from "@angular/core";
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
export declare class TuiExpandComponent {
|
|
13
|
-
private readonly contentWrapper?;
|
|
14
|
-
private readonly cdr;
|
|
15
|
-
private readonly destroyRef;
|
|
16
|
-
private state;
|
|
17
|
-
protected content: TemplateRef<NgIfContext<boolean>> | null;
|
|
18
|
-
protected expanded: boolean | null;
|
|
19
|
-
async: boolean;
|
|
20
|
-
set expandedSetter(expanded: boolean | null);
|
|
21
|
-
get contentVisible(): boolean;
|
|
22
|
-
protected get overflow(): boolean;
|
|
23
|
-
protected get loading(): boolean;
|
|
24
|
-
protected get height(): number | null;
|
|
25
|
-
protected onTransitionEnd({ propertyName, pseudoElement }: TransitionEvent): void;
|
|
26
|
-
protected onExpandLoaded(event: Event): void;
|
|
27
|
-
private retrigger;
|
|
28
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TuiExpandComponent, never>;
|
|
29
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TuiExpandComponent, "tui-expand", never, { "async": { "alias": "async"; "required": false; }; "expandedSetter": { "alias": "expanded"; "required": false; }; }, {}, ["content"], ["*"], true, never>;
|
|
3
|
+
export declare class TuiExpand implements OnInit {
|
|
4
|
+
protected readonly content: import("@angular/core").Signal<TemplateRef<any> | undefined>;
|
|
5
|
+
protected readonly open: import("@angular/core").WritableSignal<boolean>;
|
|
6
|
+
readonly expanded: import("@angular/core").InputSignal<boolean>;
|
|
7
|
+
ngOnInit(): void;
|
|
8
|
+
protected onTransitionEnd({ propertyName }: TransitionEvent): void;
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TuiExpand, never>;
|
|
10
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TuiExpand, "tui-expand", never, { "expanded": { "alias": "expanded"; "required": false; "isSignal": true; }; }, {}, ["content"], ["*"], true, never>;
|
|
30
11
|
}
|
package/components/index.d.ts
CHANGED
|
@@ -1,11 +1,9 @@
|
|
|
1
|
-
export * from '@taiga-ui/core/components/alert';
|
|
2
1
|
export * from '@taiga-ui/core/components/button';
|
|
3
2
|
export * from '@taiga-ui/core/components/calendar';
|
|
3
|
+
export * from '@taiga-ui/core/components/cell';
|
|
4
4
|
export * from '@taiga-ui/core/components/data-list';
|
|
5
|
-
export * from '@taiga-ui/core/components/dialog';
|
|
6
5
|
export * from '@taiga-ui/core/components/error';
|
|
7
6
|
export * from '@taiga-ui/core/components/expand';
|
|
8
|
-
export * from '@taiga-ui/core/components/fullscreen';
|
|
9
7
|
export * from '@taiga-ui/core/components/icon';
|
|
10
8
|
export * from '@taiga-ui/core/components/label';
|
|
11
9
|
export * from '@taiga-ui/core/components/link';
|
|
@@ -15,3 +13,4 @@ export * from '@taiga-ui/core/components/root';
|
|
|
15
13
|
export * from '@taiga-ui/core/components/scrollbar';
|
|
16
14
|
export * from '@taiga-ui/core/components/spin-button';
|
|
17
15
|
export * from '@taiga-ui/core/components/textfield';
|
|
16
|
+
export * from '@taiga-ui/core/components/title';
|
|
@@ -7,7 +7,7 @@ export declare class TuiLink {
|
|
|
7
7
|
* @deprecated: use on host
|
|
8
8
|
* [style.text-decoration-line]="'underline'"
|
|
9
9
|
*/
|
|
10
|
-
pseudo: boolean
|
|
10
|
+
readonly pseudo: import("@angular/core").InputSignal<boolean>;
|
|
11
11
|
static ɵfac: i0.ɵɵFactoryDeclaration<TuiLink, never>;
|
|
12
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<TuiLink, "a[tuiLink], button[tuiLink]", never, { "pseudo": { "alias": "pseudo"; "required": false; }; }, {}, never, never, true, [{ directive: typeof i1.TuiWithAppearance; inputs: {}; outputs: {}; }, { directive: typeof i2.TuiWithIcons; inputs: {}; outputs: {}; }]>;
|
|
12
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<TuiLink, "a[tuiLink], button[tuiLink]", never, { "pseudo": { "alias": "pseudo"; "required": false; "isSignal": true; }; }, {}, never, never, true, [{ directive: typeof i1.TuiWithAppearance; inputs: {}; outputs: {}; }, { directive: typeof i2.TuiWithIcons; inputs: {}; outputs: {}; }]>;
|
|
13
13
|
}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { type FactoryProvider, InjectionToken } from '@angular/core';
|
|
2
1
|
import { type TuiAppearanceOptions } from '@taiga-ui/core/directives/appearance';
|
|
3
2
|
export interface TuiLinkOptions extends TuiAppearanceOptions {
|
|
4
3
|
/**
|
|
@@ -8,5 +7,4 @@ export interface TuiLinkOptions extends TuiAppearanceOptions {
|
|
|
8
7
|
readonly pseudo: boolean;
|
|
9
8
|
}
|
|
10
9
|
export declare const TUI_LINK_DEFAULT_OPTIONS: TuiLinkOptions;
|
|
11
|
-
export declare const TUI_LINK_OPTIONS: InjectionToken<TuiLinkOptions
|
|
12
|
-
export declare function tuiLinkOptionsProvider(options: Partial<TuiLinkOptions>): FactoryProvider;
|
|
10
|
+
export declare const TUI_LINK_OPTIONS: import("@angular/core").InjectionToken<TuiLinkOptions>, tuiLinkOptionsProvider: (item: Partial<TuiLinkOptions> | (() => Partial<TuiLinkOptions>)) => import("@angular/core").FactoryProvider;
|
|
@@ -4,12 +4,12 @@ export declare class TuiLoader {
|
|
|
4
4
|
private readonly isIOS;
|
|
5
5
|
private readonly options;
|
|
6
6
|
protected readonly isApple: boolean;
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
7
|
+
protected readonly isHorizontal: import("@angular/core").Signal<boolean>;
|
|
8
|
+
readonly size: import("@angular/core").InputSignal<"m" | "s" | "xs" | "l" | "xl" | "xxl">;
|
|
9
|
+
readonly inheritColor: import("@angular/core").InputSignal<boolean>;
|
|
10
|
+
readonly overlay: import("@angular/core").InputSignal<boolean>;
|
|
11
|
+
readonly textContent: import("@angular/core").InputSignal<PolymorpheusContent>;
|
|
12
|
+
readonly loading: import("@angular/core").InputSignal<boolean>;
|
|
13
13
|
static ɵfac: i0.ɵɵFactoryDeclaration<TuiLoader, never>;
|
|
14
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TuiLoader, "tui-loader", never, { "size": { "alias": "size"; "required": false; }; "inheritColor": { "alias": "inheritColor"; "required": false; }; "overlay": { "alias": "overlay"; "required": false; }; "textContent": { "alias": "textContent"; "required": false; }; "loading": { "alias": "
|
|
14
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TuiLoader, "tui-loader", never, { "size": { "alias": "size"; "required": false; "isSignal": true; }; "inheritColor": { "alias": "inheritColor"; "required": false; "isSignal": true; }; "overlay": { "alias": "overlay"; "required": false; "isSignal": true; }; "textContent": { "alias": "textContent"; "required": false; "isSignal": true; }; "loading": { "alias": "loading"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
15
15
|
}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { InjectionToken, type Provider } from '@angular/core';
|
|
2
1
|
import { type TuiSizeXS, type TuiSizeXXL } from '@taiga-ui/core/types';
|
|
3
2
|
export interface TuiLoaderOptions {
|
|
4
3
|
readonly inheritColor: boolean;
|
|
@@ -10,5 +9,4 @@ export declare const TUI_LOADER_DEFAULT_OPTIONS: TuiLoaderOptions;
|
|
|
10
9
|
/**
|
|
11
10
|
* Default parameters for loader component
|
|
12
11
|
*/
|
|
13
|
-
export declare const TUI_LOADER_OPTIONS: InjectionToken<TuiLoaderOptions
|
|
14
|
-
export declare function tuiLoaderOptionsProvider(options: Partial<TuiLoaderOptions>): Provider;
|
|
12
|
+
export declare const TUI_LOADER_OPTIONS: import("@angular/core").InjectionToken<TuiLoaderOptions>, tuiLoaderOptionsProvider: (item: Partial<TuiLoaderOptions> | (() => Partial<TuiLoaderOptions>)) => import("@angular/core").FactoryProvider;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { type TuiPortalContext } from '@taiga-ui/cdk/portals';
|
|
2
|
+
import { type TuiNotificationOptions } from './notification.options';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
import * as i1 from "@taiga-ui/cdk/directives/animated";
|
|
5
|
+
import * as i2 from "@taiga-ui/core/portals/alert";
|
|
6
|
+
export declare class TuiNotificationComponent<O, I> {
|
|
7
|
+
private readonly el;
|
|
8
|
+
protected readonly icons: import("@taiga-ui/core/tokens").TuiCommonIcons;
|
|
9
|
+
protected readonly close: import("@angular/core").Signal<string>;
|
|
10
|
+
protected readonly item: TuiPortalContext<TuiNotificationOptions<I>, O>;
|
|
11
|
+
protected readonly sub: import("rxjs").Subscription;
|
|
12
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TuiNotificationComponent<any, any>, never>;
|
|
13
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TuiNotificationComponent<any, any>, "tui-notification-alert", never, {}, {}, never, never, true, [{ directive: typeof i1.TuiAnimated; inputs: {}; outputs: {}; }, { directive: typeof i2.TuiAlertDirective; inputs: {}; outputs: {}; }]>;
|
|
14
|
+
}
|
|
@@ -1,19 +1,14 @@
|
|
|
1
|
-
import { type OnChanges, type OnInit } from '@angular/core';
|
|
2
1
|
import { type TuiStringHandler } from '@taiga-ui/cdk/types';
|
|
3
|
-
import { TuiIcons } from '@taiga-ui/core/directives/icons';
|
|
4
2
|
import * as i0 from "@angular/core";
|
|
5
3
|
import * as i1 from "@taiga-ui/core/directives/icons";
|
|
6
4
|
import * as i2 from "@taiga-ui/core/directives/appearance";
|
|
7
|
-
export declare class
|
|
5
|
+
export declare class TuiNotificationDirective {
|
|
8
6
|
private readonly options;
|
|
9
7
|
protected readonly nothing: undefined;
|
|
10
|
-
protected readonly icons:
|
|
11
|
-
appearance: "info" | "positive" | "negative" | "warning" | "neutral" | "accent" | "action-destructive" | "action-grayscale" | "action" | "flat-destructive" | "flat-grayscale" | "flat" | "floating" | "glass" | "icon" | "outline-destructive" | "outline-grayscale" | "outline" | "primary-destructive" | "primary-grayscale" | "primary" | "secondary-destructive" | "secondary-grayscale" | "secondary" | "textfield" | (Record<never, never> & string)
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
private refresh;
|
|
17
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TuiNotification, never>;
|
|
18
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<TuiNotification, "tui-notification,a[tuiNotification],button[tuiNotification]", never, { "appearance": { "alias": "appearance"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "size": { "alias": "size"; "required": false; }; }, {}, never, never, true, [{ directive: typeof i1.TuiWithIcons; inputs: {}; outputs: {}; }, { directive: typeof i2.TuiWithAppearance; inputs: {}; outputs: {}; }]>;
|
|
8
|
+
protected readonly icons: import("@angular/core").Signal<string>;
|
|
9
|
+
readonly appearance: import("@angular/core").InputSignal<"" | ("info" | "positive" | "negative" | "warning" | "neutral" | "accent" | "action-destructive" | "action-grayscale" | "action" | "flat-destructive" | "flat-grayscale" | "flat" | "floating" | "glass" | "icon" | "outline-destructive" | "outline-grayscale" | "outline" | "primary-destructive" | "primary-grayscale" | "primary" | "secondary-destructive" | "secondary-grayscale" | "secondary" | "textfield" | (Record<never, never> & string))>;
|
|
10
|
+
readonly size: import("@angular/core").InputSignal<"m" | "l" | "s">;
|
|
11
|
+
readonly icon: import("@angular/core").InputSignal<string | TuiStringHandler<string>>;
|
|
12
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TuiNotificationDirective, never>;
|
|
13
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<TuiNotificationDirective, "tui-notification,[tuiNotification]:not(ng-template)", never, { "appearance": { "alias": "appearance"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "icon": { "alias": "icon"; "required": false; "isSignal": true; }; }, {}, never, never, true, [{ directive: typeof i1.TuiWithIcons; inputs: {}; outputs: {}; }, { directive: typeof i2.TuiWithAppearance; inputs: {}; outputs: {}; }]>;
|
|
19
14
|
}
|
|
@@ -1,13 +1,16 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { InjectionToken } from '@angular/core';
|
|
2
|
+
import { type TuiNumberHandler, type TuiStringHandler } from '@taiga-ui/cdk/types';
|
|
2
3
|
import { type TuiAppearanceOptions } from '@taiga-ui/core/directives/appearance';
|
|
4
|
+
import { type TuiPositionOptions } from '@taiga-ui/core/portals/alert';
|
|
3
5
|
import { type TuiSizeL, type TuiSizeS } from '@taiga-ui/core/types';
|
|
4
|
-
export interface TuiNotificationOptions extends TuiAppearanceOptions {
|
|
6
|
+
export interface TuiNotificationOptions<I = undefined> extends TuiAppearanceOptions, TuiPositionOptions {
|
|
5
7
|
readonly icon: TuiStringHandler<string> | string;
|
|
6
8
|
readonly size: TuiSizeL | TuiSizeS;
|
|
9
|
+
readonly autoClose: TuiNumberHandler<string> | number;
|
|
10
|
+
readonly closable: boolean;
|
|
11
|
+
readonly label: string;
|
|
12
|
+
readonly data: I;
|
|
7
13
|
}
|
|
8
|
-
/** Default values for the notification options. */
|
|
9
14
|
export declare const TUI_NOTIFICATION_DEFAULT_OPTIONS: TuiNotificationOptions;
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
*/
|
|
13
|
-
export declare const TUI_NOTIFICATION_OPTIONS: import("@angular/core").InjectionToken<TuiNotificationOptions>, tuiNotificationOptionsProvider: (item: Partial<TuiNotificationOptions> | (() => Partial<TuiNotificationOptions>)) => import("@angular/core").FactoryProvider;
|
|
15
|
+
export declare const TUI_NOTIFICATION_OPTIONS: InjectionToken<TuiNotificationOptions<undefined>>, tuiNotificationOptionsProvider: (item: Partial<TuiNotificationOptions<undefined>> | (() => Partial<TuiNotificationOptions<undefined>>)) => import("@angular/core").FactoryProvider;
|
|
16
|
+
export declare const TUI_NOTIFICATION_CONCURRENCY: InjectionToken<number>;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { TuiAlertService } from '@taiga-ui/core/portals/alert';
|
|
2
|
+
import { TuiNotificationComponent } from './notification.component';
|
|
3
|
+
import { type TuiNotificationOptions } from './notification.options';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
import * as i1 from "@taiga-ui/cdk/portals";
|
|
6
|
+
export declare class TuiNotificationService extends TuiAlertService<TuiNotificationOptions<any>> {
|
|
7
|
+
protected readonly options: TuiNotificationOptions<undefined>;
|
|
8
|
+
protected readonly component: typeof TuiNotificationComponent;
|
|
9
|
+
constructor();
|
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TuiNotificationService, never>;
|
|
11
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<TuiNotificationService>;
|
|
12
|
+
}
|
|
13
|
+
export declare class TuiNotificationTemplate<T> {
|
|
14
|
+
readonly tuiNotificationOptions: import("@angular/core").InputSignal<Partial<TuiNotificationOptions<T>>>;
|
|
15
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TuiNotificationTemplate<any>, never>;
|
|
16
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<TuiNotificationTemplate<any>, "ng-template[tuiNotification]", never, { "tuiNotificationOptions": { "alias": "tuiNotificationOptions"; "required": false; "isSignal": true; }; }, {}, never, never, true, [{ directive: typeof i1.TuiPortalDirective; inputs: { "options": "tuiNotificationOptions"; "open": "tuiNotification"; }; outputs: { "openChange": "tuiNotificationChange"; }; }]>;
|
|
17
|
+
}
|
|
@@ -2,7 +2,6 @@ import * as i0 from "@angular/core";
|
|
|
2
2
|
import * as i1 from "@taiga-ui/cdk/directives/platform";
|
|
3
3
|
import * as i2 from "@taiga-ui/cdk/directives/visual-viewport";
|
|
4
4
|
import * as i3 from "@taiga-ui/cdk/directives/font-size";
|
|
5
|
-
import * as i4 from "@taiga-ui/cdk/directives/active-zone";
|
|
6
5
|
export declare class TuiRoot {
|
|
7
6
|
private readonly doc;
|
|
8
7
|
private readonly el;
|
|
@@ -10,9 +9,9 @@ export declare class TuiRoot {
|
|
|
10
9
|
protected readonly reducedMotion: boolean;
|
|
11
10
|
protected readonly duration: number;
|
|
12
11
|
protected readonly top: import("@angular/core").WritableSignal<boolean>;
|
|
13
|
-
protected readonly
|
|
12
|
+
protected readonly breakpoint: import("@angular/core").Signal<"desktopLarge" | "desktopSmall" | "mobile" | null | undefined>;
|
|
14
13
|
protected readonly scrollbars: boolean;
|
|
15
14
|
protected get parent(): boolean;
|
|
16
15
|
static ɵfac: i0.ɵɵFactoryDeclaration<TuiRoot, never>;
|
|
17
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TuiRoot, "tui-root", never, {}, {}, never, ["*", "tuiOverContent"
|
|
16
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TuiRoot, "tui-root", never, {}, {}, never, ["*", "tuiOverContent"], true, [{ directive: typeof i1.TuiPlatform; inputs: {}; outputs: {}; }, { directive: typeof i2.TuiVisualViewport; inputs: {}; outputs: {}; }, { directive: typeof i3.TuiFontSize; inputs: {}; outputs: {}; }]>;
|
|
18
17
|
}
|
|
@@ -5,7 +5,8 @@ import * as i0 from "@angular/core";
|
|
|
5
5
|
export declare class TuiScrollIntoView {
|
|
6
6
|
private readonly el;
|
|
7
7
|
private readonly destroyRef;
|
|
8
|
-
|
|
8
|
+
readonly tuiScrollIntoView: import("@angular/core").InputSignal<boolean | undefined>;
|
|
9
|
+
protected readonly dispatchEvent: import("@angular/core").EffectRef;
|
|
9
10
|
static ɵfac: i0.ɵɵFactoryDeclaration<TuiScrollIntoView, never>;
|
|
10
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<TuiScrollIntoView, "[tuiScrollIntoView]", never, { "tuiScrollIntoView": { "alias": "tuiScrollIntoView"; "required": false; }; }, {}, never, never, true, never>;
|
|
11
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<TuiScrollIntoView, "[tuiScrollIntoView]", never, { "tuiScrollIntoView": { "alias": "tuiScrollIntoView"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
11
12
|
}
|
|
@@ -17,11 +17,11 @@ export declare class TuiScrollbar {
|
|
|
17
17
|
/**
|
|
18
18
|
* @deprecated: use tuiScrollbarOptionsProvider({ mode: 'hidden' })
|
|
19
19
|
*/
|
|
20
|
-
hidden: boolean
|
|
20
|
+
readonly hidden: import("@angular/core").InputSignal<boolean>;
|
|
21
21
|
protected get delegated(): boolean;
|
|
22
22
|
protected get scrollRef(): HTMLElement;
|
|
23
23
|
protected set scrollRef(element: HTMLElement);
|
|
24
24
|
protected scrollIntoView(detail: HTMLElement): void;
|
|
25
25
|
static ɵfac: i0.ɵɵFactoryDeclaration<TuiScrollbar, never>;
|
|
26
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TuiScrollbar, "tui-scrollbar", never, { "hidden": { "alias": "hidden"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
26
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TuiScrollbar, "tui-scrollbar", never, { "hidden": { "alias": "hidden"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
27
27
|
}
|
|
@@ -4,11 +4,11 @@ export declare class TuiScrollbarDirective {
|
|
|
4
4
|
private readonly style;
|
|
5
5
|
protected readonly scrollSub: import("rxjs").Subscription;
|
|
6
6
|
protected readonly styleSub: import("rxjs").Subscription;
|
|
7
|
-
tuiScrollbar:
|
|
7
|
+
readonly tuiScrollbar: import("@angular/core").InputSignal<"horizontal" | "vertical">;
|
|
8
8
|
private getScrolled;
|
|
9
9
|
private getCompensation;
|
|
10
10
|
private getThumb;
|
|
11
11
|
private getView;
|
|
12
12
|
static ɵfac: i0.ɵɵFactoryDeclaration<TuiScrollbarDirective, never>;
|
|
13
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<TuiScrollbarDirective, "[tuiScrollbar]", never, { "tuiScrollbar": { "alias": "tuiScrollbar"; "required": false; }; }, {}, never, never, true, never>;
|
|
13
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<TuiScrollbarDirective, "[tuiScrollbar]", never, { "tuiScrollbar": { "alias": "tuiScrollbar"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
14
14
|
}
|
|
@@ -1,16 +1,15 @@
|
|
|
1
|
-
import { EventEmitter } from '@angular/core';
|
|
2
1
|
import * as i0 from "@angular/core";
|
|
3
2
|
export declare class TuiSpinButton {
|
|
4
3
|
protected readonly icons: import("@taiga-ui/core/tokens").TuiSpinIcons;
|
|
5
|
-
protected readonly spinTexts
|
|
6
|
-
focusable: boolean
|
|
7
|
-
disabled: boolean
|
|
8
|
-
leftDisabled: boolean
|
|
9
|
-
rightDisabled: boolean
|
|
10
|
-
readonly leftClick:
|
|
11
|
-
readonly rightClick:
|
|
4
|
+
protected readonly spinTexts: import("@angular/core").Signal<readonly [previous: string, next: string]>;
|
|
5
|
+
readonly focusable: import("@angular/core").InputSignal<boolean>;
|
|
6
|
+
readonly disabled: import("@angular/core").InputSignal<boolean>;
|
|
7
|
+
readonly leftDisabled: import("@angular/core").InputSignal<boolean>;
|
|
8
|
+
readonly rightDisabled: import("@angular/core").InputSignal<boolean>;
|
|
9
|
+
readonly leftClick: import("@angular/core").OutputEmitterRef<void>;
|
|
10
|
+
readonly rightClick: import("@angular/core").OutputEmitterRef<void>;
|
|
12
11
|
onLeftClick(): void;
|
|
13
12
|
onRightClick(): void;
|
|
14
13
|
static ɵfac: i0.ɵɵFactoryDeclaration<TuiSpinButton, never>;
|
|
15
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TuiSpinButton, "tui-spin-button", never, { "focusable": { "alias": "focusable"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "leftDisabled": { "alias": "leftDisabled"; "required": false; }; "rightDisabled": { "alias": "rightDisabled"; "required": false; }; }, { "leftClick": "leftClick"; "rightClick": "rightClick"; }, never, ["*"], true, never>;
|
|
14
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TuiSpinButton, "tui-spin-button", never, { "focusable": { "alias": "focusable"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "leftDisabled": { "alias": "leftDisabled"; "required": false; "isSignal": true; }; "rightDisabled": { "alias": "rightDisabled"; "required": false; "isSignal": true; }; }, { "leftClick": "leftClick"; "rightClick": "rightClick"; }, never, ["*"], true, never>;
|
|
16
15
|
}
|
|
@@ -6,9 +6,7 @@ export * from './textfield.options';
|
|
|
6
6
|
export * from './textfield-accessor';
|
|
7
7
|
export * from './textfield-auxiliary';
|
|
8
8
|
export * from './textfield-content.directive';
|
|
9
|
-
export * from './textfield-dropdown.directive';
|
|
10
9
|
export * from './textfield-icon';
|
|
11
|
-
export * from './with-native-picker.directive';
|
|
12
|
-
export * from './select.directive';
|
|
13
10
|
export * from './textfield-multi/textfield-item.component';
|
|
14
11
|
export * from './textfield-multi/textfield-multi.component';
|
|
12
|
+
export * from './with-native-picker.directive';
|