@taiga-ui/kit 4.52.0-canary.ca43bcb → 4.52.0-canary.e07790b
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/calendar-range/day-range-period.d.ts +2 -1
- package/components/combo-box/combo-box.d.ts +4 -1
- package/components/index.d.ts +0 -3
- package/components/input-chip/input-chip.d.ts +5 -1
- package/components/input-color/input-color.d.ts +4 -1
- package/components/input-date/input-date.d.ts +4 -1
- package/components/input-date/input-date.directive.d.ts +3 -3
- package/components/input-date/input-date.options.d.ts +3 -3
- package/components/input-date-multi/input-date-multi.d.ts +1 -1
- package/components/input-date-multi/input-date-multi.directive.d.ts +1 -1
- package/components/input-date-range/input-date-range.d.ts +4 -1
- package/components/input-date-range/input-date-range.directive.d.ts +3 -6
- package/components/input-date-range/input-date-range.options.d.ts +2 -2
- package/components/input-date-time/input-date-time.d.ts +4 -1
- package/components/input-date-time/input-date-time.directive.d.ts +3 -3
- package/components/input-date-time/input-date-time.options.d.ts +2 -2
- package/components/input-month/input-month.d.ts +4 -1
- package/components/input-month/input-month.directive.d.ts +1 -1
- package/components/input-month-range/input-month-range.d.ts +4 -1
- package/components/input-month-range/input-month-range.directive.d.ts +1 -1
- package/components/input-number/input-number.d.ts +4 -1
- package/components/input-phone/input-phone.d.ts +4 -1
- package/components/input-phone-international/input-phone-international.component.d.ts +5 -0
- package/components/input-phone-international/input-phone-international.d.ts +4 -1
- package/components/input-pin/input-pin.d.ts +4 -1
- package/components/input-range/index.d.ts +0 -1
- package/components/input-range/input-range.component.d.ts +40 -8
- package/components/input-slider/input-slider.d.ts +4 -1
- package/components/input-time/input-time.d.ts +4 -1
- package/components/input-year/input-year.d.ts +4 -1
- package/components/input-year/input-year.options.d.ts +2 -2
- package/components/like/like.options.d.ts +1 -1
- package/components/pagination/pagination.component.d.ts +22 -52
- package/components/pagination/pagination.options.d.ts +3 -6
- package/components/preview/index.d.ts +1 -0
- package/components/preview/pagination/preview-pagination.component.d.ts +2 -1
- package/components/preview/preview.component.d.ts +1 -1
- package/components/preview/zoom/preview-zoom.component.d.ts +3 -1
- package/components/radio/radio.component.d.ts +1 -1
- package/components/select/select.d.ts +4 -1
- package/components/switch/switch.component.d.ts +1 -0
- package/components/textarea/textarea.d.ts +4 -1
- package/directives/fade/fade.directive.d.ts +5 -5
- package/directives/highlight/highlight.directive.d.ts +7 -8
- package/directives/present/present.directive.d.ts +2 -3
- package/directives/unfinished-validator/unfinished-validator.directive.d.ts +2 -2
- package/directives/unmask-handler/unmask-handler.directive.d.ts +3 -3
- package/fesm2022/taiga-ui-kit-components-accordion.mjs +6 -6
- package/fesm2022/taiga-ui-kit-components-action-bar.mjs +5 -5
- package/fesm2022/taiga-ui-kit-components-action-bar.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-avatar.mjs +18 -18
- package/fesm2022/taiga-ui-kit-components-badge-notification.mjs +3 -3
- package/fesm2022/taiga-ui-kit-components-badge.mjs +6 -6
- package/fesm2022/taiga-ui-kit-components-badged-content.mjs +6 -6
- package/fesm2022/taiga-ui-kit-components-block.mjs +6 -6
- package/fesm2022/taiga-ui-kit-components-breadcrumbs.mjs +3 -3
- package/fesm2022/taiga-ui-kit-components-button-loading.mjs +3 -3
- package/fesm2022/taiga-ui-kit-components-calendar-month.mjs +3 -3
- package/fesm2022/taiga-ui-kit-components-calendar-month.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-calendar-range.mjs +20 -12
- package/fesm2022/taiga-ui-kit-components-calendar-range.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-carousel.mjs +15 -15
- package/fesm2022/taiga-ui-kit-components-checkbox.mjs +3 -3
- package/fesm2022/taiga-ui-kit-components-chip.mjs +6 -6
- package/fesm2022/taiga-ui-kit-components-combo-box.mjs +15 -7
- package/fesm2022/taiga-ui-kit-components-combo-box.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-comment.mjs +6 -6
- package/fesm2022/taiga-ui-kit-components-compass.mjs +3 -3
- package/fesm2022/taiga-ui-kit-components-confirm.mjs +6 -6
- package/fesm2022/taiga-ui-kit-components-copy.mjs +7 -7
- package/fesm2022/taiga-ui-kit-components-copy.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-data-list-wrapper.mjs +12 -10
- package/fesm2022/taiga-ui-kit-components-data-list-wrapper.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-drawer.mjs +5 -5
- package/fesm2022/taiga-ui-kit-components-drawer.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-files.mjs +24 -24
- package/fesm2022/taiga-ui-kit-components-files.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-filter.mjs +3 -3
- package/fesm2022/taiga-ui-kit-components-fullscreen.mjs +3 -3
- package/fesm2022/taiga-ui-kit-components-input-chip.mjs +17 -10
- package/fesm2022/taiga-ui-kit-components-input-chip.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-input-color.mjs +13 -5
- package/fesm2022/taiga-ui-kit-components-input-color.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-input-date-multi.mjs +11 -10
- package/fesm2022/taiga-ui-kit-components-input-date-multi.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-input-date-range.mjs +19 -28
- package/fesm2022/taiga-ui-kit-components-input-date-range.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-input-date-time.mjs +20 -18
- package/fesm2022/taiga-ui-kit-components-input-date-time.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-input-date.mjs +25 -20
- package/fesm2022/taiga-ui-kit-components-input-date.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-input-inline.mjs +3 -3
- package/fesm2022/taiga-ui-kit-components-input-month-range.mjs +17 -15
- package/fesm2022/taiga-ui-kit-components-input-month-range.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-input-month.mjs +23 -15
- package/fesm2022/taiga-ui-kit-components-input-month.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-input-number.mjs +22 -17
- package/fesm2022/taiga-ui-kit-components-input-number.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-input-phone-international.mjs +62 -58
- package/fesm2022/taiga-ui-kit-components-input-phone-international.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-input-phone.mjs +13 -5
- package/fesm2022/taiga-ui-kit-components-input-phone.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-input-pin.mjs +14 -6
- package/fesm2022/taiga-ui-kit-components-input-pin.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-input-range.mjs +52 -57
- package/fesm2022/taiga-ui-kit-components-input-range.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-input-slider.mjs +13 -8
- package/fesm2022/taiga-ui-kit-components-input-slider.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-input-time.mjs +16 -14
- package/fesm2022/taiga-ui-kit-components-input-time.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-input-year.mjs +13 -8
- package/fesm2022/taiga-ui-kit-components-input-year.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-items-with-more.mjs +12 -12
- package/fesm2022/taiga-ui-kit-components-like.mjs +3 -3
- package/fesm2022/taiga-ui-kit-components-like.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-line-clamp.mjs +10 -10
- package/fesm2022/taiga-ui-kit-components-line-clamp.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-message.mjs +6 -6
- package/fesm2022/taiga-ui-kit-components-multi-select.mjs +12 -12
- package/fesm2022/taiga-ui-kit-components-multi-select.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-notification-middle.mjs +9 -9
- package/fesm2022/taiga-ui-kit-components-pager.mjs +3 -3
- package/fesm2022/taiga-ui-kit-components-pagination.mjs +59 -139
- package/fesm2022/taiga-ui-kit-components-pagination.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-pin.mjs +6 -6
- package/fesm2022/taiga-ui-kit-components-preview.mjs +42 -30
- package/fesm2022/taiga-ui-kit-components-preview.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-progress.mjs +24 -24
- package/fesm2022/taiga-ui-kit-components-pulse.mjs +3 -3
- package/fesm2022/taiga-ui-kit-components-push.mjs +12 -12
- package/fesm2022/taiga-ui-kit-components-push.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-radio-list.mjs +3 -3
- package/fesm2022/taiga-ui-kit-components-radio.mjs +6 -6
- package/fesm2022/taiga-ui-kit-components-radio.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-range.mjs +6 -6
- package/fesm2022/taiga-ui-kit-components-rating.mjs +3 -3
- package/fesm2022/taiga-ui-kit-components-routable-dialog.mjs +3 -3
- package/fesm2022/taiga-ui-kit-components-segmented.mjs +7 -7
- package/fesm2022/taiga-ui-kit-components-segmented.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-select.mjs +20 -11
- package/fesm2022/taiga-ui-kit-components-select.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-slider.mjs +16 -16
- package/fesm2022/taiga-ui-kit-components-slider.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-status.mjs +6 -6
- package/fesm2022/taiga-ui-kit-components-stepper.mjs +6 -6
- package/fesm2022/taiga-ui-kit-components-switch.mjs +9 -4
- package/fesm2022/taiga-ui-kit-components-switch.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-tabs.mjs +18 -18
- package/fesm2022/taiga-ui-kit-components-textarea.mjs +21 -17
- package/fesm2022/taiga-ui-kit-components-textarea.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-tiles.mjs +12 -12
- package/fesm2022/taiga-ui-kit-components-toast.mjs +17 -18
- package/fesm2022/taiga-ui-kit-components-toast.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-tree.mjs +24 -24
- package/fesm2022/taiga-ui-kit-components.mjs +0 -3
- package/fesm2022/taiga-ui-kit-components.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-directives-button-close.mjs +3 -3
- package/fesm2022/taiga-ui-kit-directives-button-group.mjs +6 -6
- package/fesm2022/taiga-ui-kit-directives-button-select.mjs +3 -3
- package/fesm2022/taiga-ui-kit-directives-chevron.mjs +7 -7
- package/fesm2022/taiga-ui-kit-directives-chevron.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-directives-connected.mjs +6 -6
- package/fesm2022/taiga-ui-kit-directives-data-list-dropdown-manager.mjs +3 -3
- package/fesm2022/taiga-ui-kit-directives-fade.mjs +20 -30
- package/fesm2022/taiga-ui-kit-directives-fade.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-directives-fluid-typography.mjs +3 -3
- package/fesm2022/taiga-ui-kit-directives-highlight.mjs +16 -24
- package/fesm2022/taiga-ui-kit-directives-highlight.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-directives-password.mjs +3 -3
- package/fesm2022/taiga-ui-kit-directives-present.mjs +8 -12
- package/fesm2022/taiga-ui-kit-directives-present.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-directives-sensitive.mjs +6 -6
- package/fesm2022/taiga-ui-kit-directives-shimmer.mjs +6 -6
- package/fesm2022/taiga-ui-kit-directives-skeleton.mjs +7 -6
- package/fesm2022/taiga-ui-kit-directives-skeleton.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-directives-tooltip.mjs +6 -6
- package/fesm2022/taiga-ui-kit-directives-unfinished-validator.mjs +7 -9
- package/fesm2022/taiga-ui-kit-directives-unfinished-validator.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-directives-unmask-handler.mjs +9 -13
- package/fesm2022/taiga-ui-kit-directives-unmask-handler.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-pipes-auto-color.mjs +3 -3
- package/fesm2022/taiga-ui-kit-pipes-emails.mjs +3 -3
- package/fesm2022/taiga-ui-kit-pipes-filter-by-input.mjs +12 -24
- package/fesm2022/taiga-ui-kit-pipes-filter-by-input.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-pipes-flag.mjs +3 -4
- package/fesm2022/taiga-ui-kit-pipes-flag.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-pipes-hide-selected.mjs +3 -3
- package/fesm2022/taiga-ui-kit-pipes-initials.mjs +3 -3
- package/fesm2022/taiga-ui-kit-pipes-sort-countries.mjs +10 -8
- package/fesm2022/taiga-ui-kit-pipes-sort-countries.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-pipes-stringify-content.mjs +3 -3
- package/fesm2022/taiga-ui-kit-pipes-stringify.mjs +3 -3
- package/fesm2022/taiga-ui-kit-tokens.mjs +4 -84
- package/fesm2022/taiga-ui-kit-tokens.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-utils.mjs +1 -7
- package/fesm2022/taiga-ui-kit-utils.mjs.map +1 -1
- package/package.json +18 -30
- package/pipes/filter-by-input/filter-by-input.pipe.d.ts +2 -2
- package/pipes/sort-countries/sort-countries.pipe.d.ts +4 -3
- package/styles/components/switch.less +2 -2
- package/tokens/i18n.d.ts +1 -0
- package/tokens/index.d.ts +0 -6
- package/utils/index.d.ts +0 -1
- package/components/elastic-container/elastic-container.component.d.ts +0 -8
- package/components/elastic-container/elastic-container.directive.d.ts +0 -7
- package/components/elastic-container/index.d.ts +0 -2
- package/components/floating-container/floating-container.directive.d.ts +0 -7
- package/components/floating-container/index.d.ts +0 -1
- package/components/input-range/input-range.d.ts +0 -3
- package/components/slides/index.d.ts +0 -1
- package/components/slides/slides.directive.d.ts +0 -11
- package/fesm2022/taiga-ui-kit-components-elastic-container.mjs +0 -77
- package/fesm2022/taiga-ui-kit-components-elastic-container.mjs.map +0 -1
- package/fesm2022/taiga-ui-kit-components-floating-container.mjs +0 -37
- package/fesm2022/taiga-ui-kit-components-floating-container.mjs.map +0 -1
- package/fesm2022/taiga-ui-kit-components-slides.mjs +0 -49
- package/fesm2022/taiga-ui-kit-components-slides.mjs.map +0 -1
- package/tokens/date-inputs-value-transformers.d.ts +0 -19
- package/tokens/input-date-options.d.ts +0 -15
- package/tokens/items-handlers.d.ts +0 -20
- package/tokens/mobile-calendar.d.ts +0 -6
- package/tokens/month-formatter.d.ts +0 -5
- package/utils/toggle-day.d.ts +0 -2
- /package/{tokens/preview-icons.d.ts → components/preview/preview.options.d.ts} +0 -0
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { TuiDayRange } from '@taiga-ui/cdk/date-time';
|
|
2
2
|
import { type TuiContext } from '@taiga-ui/cdk/types';
|
|
3
|
+
import { type TuiLanguageKit } from '@taiga-ui/i18n/types';
|
|
3
4
|
import { type PolymorpheusContent } from '@taiga-ui/polymorpheus';
|
|
4
5
|
export declare class TuiDayRangePeriod {
|
|
5
6
|
readonly range: TuiDayRange;
|
|
@@ -8,4 +9,4 @@ export declare class TuiDayRangePeriod {
|
|
|
8
9
|
constructor(range: TuiDayRange, name: string, content?: PolymorpheusContent<TuiContext<TuiDayRange>>);
|
|
9
10
|
toString(): string;
|
|
10
11
|
}
|
|
11
|
-
export declare function tuiCreateDefaultDayRangePeriods(periodTitles?: [
|
|
12
|
+
export declare function tuiCreateDefaultDayRangePeriods(periodTitles?: TuiLanguageKit['dayRangePeriods']): readonly TuiDayRangePeriod[];
|
|
@@ -1,2 +1,5 @@
|
|
|
1
|
+
import { TuiLabel } from '@taiga-ui/core/components/label';
|
|
2
|
+
import { TuiTextfieldComponent, TuiTextfieldOptionsDirective } from '@taiga-ui/core/components/textfield';
|
|
3
|
+
import { TuiDropdownContent } from '@taiga-ui/core/portals';
|
|
1
4
|
import { TuiComboBoxDirective } from './combo-box.directive';
|
|
2
|
-
export declare const TuiComboBox: readonly [typeof TuiComboBoxDirective,
|
|
5
|
+
export declare const TuiComboBox: readonly [typeof TuiComboBoxDirective, typeof TuiLabel, typeof TuiTextfieldComponent, typeof TuiTextfieldOptionsDirective, typeof TuiDropdownContent];
|
package/components/index.d.ts
CHANGED
|
@@ -19,10 +19,8 @@ export * from '@taiga-ui/kit/components/confirm';
|
|
|
19
19
|
export * from '@taiga-ui/kit/components/copy';
|
|
20
20
|
export * from '@taiga-ui/kit/components/data-list-wrapper';
|
|
21
21
|
export * from '@taiga-ui/kit/components/drawer';
|
|
22
|
-
export * from '@taiga-ui/kit/components/elastic-container';
|
|
23
22
|
export * from '@taiga-ui/kit/components/files';
|
|
24
23
|
export * from '@taiga-ui/kit/components/filter';
|
|
25
|
-
export * from '@taiga-ui/kit/components/floating-container';
|
|
26
24
|
export * from '@taiga-ui/kit/components/fullscreen';
|
|
27
25
|
export * from '@taiga-ui/kit/components/input-chip';
|
|
28
26
|
export * from '@taiga-ui/kit/components/input-color';
|
|
@@ -62,7 +60,6 @@ export * from '@taiga-ui/kit/components/routable-dialog';
|
|
|
62
60
|
export * from '@taiga-ui/kit/components/segmented';
|
|
63
61
|
export * from '@taiga-ui/kit/components/select';
|
|
64
62
|
export * from '@taiga-ui/kit/components/slider';
|
|
65
|
-
export * from '@taiga-ui/kit/components/slides';
|
|
66
63
|
export * from '@taiga-ui/kit/components/status';
|
|
67
64
|
export * from '@taiga-ui/kit/components/stepper';
|
|
68
65
|
export * from '@taiga-ui/kit/components/switch';
|
|
@@ -1,3 +1,7 @@
|
|
|
1
|
+
import { TuiItem } from '@taiga-ui/cdk/directives/item';
|
|
2
|
+
import { TuiLabel } from '@taiga-ui/core/components/label';
|
|
3
|
+
import { TuiTextfieldComponent, TuiTextfieldMultiComponent, TuiTextfieldOptionsDirective } from '@taiga-ui/core/components/textfield';
|
|
4
|
+
import { TuiDropdownContent } from '@taiga-ui/core/portals/dropdown';
|
|
1
5
|
import { TuiInputChipComponent } from './input-chip.component';
|
|
2
6
|
import { TuiInputChipDirective } from './input-chip.directive';
|
|
3
|
-
export declare const TuiInputChip: readonly [
|
|
7
|
+
export declare const TuiInputChip: readonly [typeof TuiItem, typeof TuiLabel, typeof TuiTextfieldComponent, typeof TuiTextfieldOptionsDirective, typeof TuiTextfieldMultiComponent, typeof TuiDropdownContent, typeof TuiInputChipDirective, typeof TuiInputChipComponent];
|
|
@@ -1,2 +1,5 @@
|
|
|
1
|
+
import { TuiLabel } from '@taiga-ui/core/components/label';
|
|
2
|
+
import { TuiTextfieldComponent, TuiTextfieldOptionsDirective } from '@taiga-ui/core/components/textfield';
|
|
3
|
+
import { TuiDropdownContent } from '@taiga-ui/core/portals';
|
|
1
4
|
import { TuiInputColorComponent } from './input-color.component';
|
|
2
|
-
export declare const TuiInputColor: readonly [typeof TuiInputColorComponent,
|
|
5
|
+
export declare const TuiInputColor: readonly [typeof TuiInputColorComponent, typeof TuiLabel, typeof TuiTextfieldComponent, typeof TuiTextfieldOptionsDirective, typeof TuiDropdownContent];
|
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
import { TuiCalendar } from '@taiga-ui/core/components/calendar';
|
|
2
|
+
import { TuiLabel } from '@taiga-ui/core/components/label';
|
|
3
|
+
import { TuiTextfieldComponent, TuiTextfieldOptionsDirective } from '@taiga-ui/core/components/textfield';
|
|
4
|
+
import { TuiDropdownContent } from '@taiga-ui/core/portals';
|
|
2
5
|
import { TuiInputDateComponent } from './input-date.component';
|
|
3
6
|
import { TuiInputDateDirective } from './input-date.directive';
|
|
4
|
-
export declare const TuiInputDate: readonly [typeof TuiInputDateDirective, typeof TuiInputDateComponent, typeof TuiCalendar,
|
|
7
|
+
export declare const TuiInputDate: readonly [typeof TuiInputDateDirective, typeof TuiInputDateComponent, typeof TuiCalendar, typeof TuiLabel, typeof TuiTextfieldComponent, typeof TuiTextfieldOptionsDirective, typeof TuiDropdownContent];
|
|
@@ -4,7 +4,7 @@ import { TuiCalendar } from '@taiga-ui/core/components/calendar';
|
|
|
4
4
|
import { TuiInputDirective } from '@taiga-ui/core/components/input';
|
|
5
5
|
import { type TuiItemsHandlers } from '@taiga-ui/core/directives/items-handlers';
|
|
6
6
|
import { TuiCalendarRange } from '@taiga-ui/kit/components/calendar-range';
|
|
7
|
-
import { type
|
|
7
|
+
import { type TuiInputDateOptions } from './input-date.options';
|
|
8
8
|
import * as i0 from "@angular/core";
|
|
9
9
|
import * as i1 from "@taiga-ui/core/components/input";
|
|
10
10
|
import * as i2 from "@taiga-ui/core/portals/dropdown";
|
|
@@ -21,7 +21,8 @@ export declare abstract class TuiInputDateBase<T extends TuiDay | TuiDayRange |
|
|
|
21
21
|
protected readonly handlers: TuiItemsHandlers<T>;
|
|
22
22
|
protected readonly format: import("@angular/core").Signal<import("@taiga-ui/core/tokens").TuiDateFormatSettings>;
|
|
23
23
|
protected readonly dropdownEnabled: import("@angular/core").Signal<boolean>;
|
|
24
|
-
protected readonly
|
|
24
|
+
protected readonly identity: import("@angular/core").WritableSignal<(a: TuiDay, b: TuiDay) => boolean>;
|
|
25
|
+
protected readonly options: Omit<TuiInputDateOptions, 'valueTransformer'>;
|
|
25
26
|
protected readonly valueEffect: import("@angular/core").EffectRef;
|
|
26
27
|
protected readonly calendarIn: import("@angular/core").EffectRef;
|
|
27
28
|
protected readonly calendarOut: import("@angular/core").EffectRef;
|
|
@@ -40,7 +41,6 @@ export declare abstract class TuiInputDateBase<T extends TuiDay | TuiDayRange |
|
|
|
40
41
|
static ɵdir: i0.ɵɵDirectiveDeclaration<TuiInputDateBase<any>, never, never, { "minSetter": { "alias": "min"; "required": false; }; "maxSetter": { "alias": "max"; "required": false; }; }, {}, never, never, true, never>;
|
|
41
42
|
}
|
|
42
43
|
export declare class TuiInputDateDirective extends TuiInputDateBase<TuiDay> {
|
|
43
|
-
protected readonly identity: void;
|
|
44
44
|
protected readonly mask: import("@angular/core").Signal<import("@maskito/core").MaskitoOptions | null>;
|
|
45
45
|
protected onValueChange(value: string): void;
|
|
46
46
|
static ɵfac: i0.ɵɵFactoryDeclaration<TuiInputDateDirective, never>;
|
|
@@ -2,16 +2,16 @@ import { type TuiValueTransformer } from '@taiga-ui/cdk/classes';
|
|
|
2
2
|
import { type TuiDay } from '@taiga-ui/cdk/date-time';
|
|
3
3
|
import { type TuiHandler } from '@taiga-ui/cdk/types';
|
|
4
4
|
import { type TuiSizeL, type TuiSizeS } from '@taiga-ui/core/types';
|
|
5
|
-
export interface
|
|
5
|
+
export interface TuiInputDateOptions {
|
|
6
6
|
readonly icon: TuiHandler<TuiSizeL | TuiSizeS, string>;
|
|
7
7
|
readonly max: TuiDay;
|
|
8
8
|
readonly min: TuiDay;
|
|
9
9
|
readonly valueTransformer: TuiValueTransformer<TuiDay | null, any>;
|
|
10
10
|
}
|
|
11
|
-
export declare const
|
|
11
|
+
export declare const TUI_INPUT_DATE_DEFAULT_OPTIONS: {
|
|
12
12
|
readonly icon: () => string;
|
|
13
13
|
readonly min: TuiDay;
|
|
14
14
|
readonly max: TuiDay;
|
|
15
15
|
readonly valueTransformer: TuiValueTransformer<any, any>;
|
|
16
16
|
};
|
|
17
|
-
export declare const
|
|
17
|
+
export declare const TUI_INPUT_DATE_OPTIONS: import("@angular/core").InjectionToken<TuiInputDateOptions>, tuiInputDateOptionsProvider: (item: Partial<TuiInputDateOptions> | (() => Partial<TuiInputDateOptions>)) => import("@angular/core").FactoryProvider;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { TuiCalendar } from '@taiga-ui/core/components/calendar';
|
|
2
2
|
import { TuiInputDateMultiDirective } from './input-date-multi.directive';
|
|
3
|
-
export declare const TuiInputDateMulti: readonly [typeof TuiInputDateMultiDirective, typeof TuiCalendar,
|
|
3
|
+
export declare const TuiInputDateMulti: readonly [typeof TuiInputDateMultiDirective, typeof TuiCalendar, typeof import("@taiga-ui/cdk/directives/item").TuiItem, typeof import("@taiga-ui/core/components/label").TuiLabel, typeof import("@taiga-ui/core/components/textfield").TuiTextfieldComponent, typeof import("@taiga-ui/core/components/textfield").TuiTextfieldOptionsDirective, typeof import("@taiga-ui/core/components/textfield").TuiTextfieldMultiComponent, typeof import("@taiga-ui/core/portals").TuiDropdownContent, typeof import("@taiga-ui/kit/components/input-chip").TuiInputChipDirective, typeof import("@taiga-ui/kit/components/input-chip").TuiInputChipComponent];
|
|
@@ -9,7 +9,7 @@ export declare class TuiInputDateMultiDirective extends TuiInputChipDirective<Tu
|
|
|
9
9
|
protected readonly icon: import("@angular/core").Signal<string>;
|
|
10
10
|
protected readonly filler: import("@angular/core").Signal<string>;
|
|
11
11
|
protected readonly format: import("@angular/core").Signal<import("@taiga-ui/core/tokens").TuiDateFormatSettings>;
|
|
12
|
-
protected readonly stringify:
|
|
12
|
+
protected readonly stringify: import("@angular/core").WritableSignal<(item: any) => any>;
|
|
13
13
|
protected readonly mask: import("@angular/core").Signal<import("@maskito/core").MaskitoOptions | null>;
|
|
14
14
|
protected readonly calendar: import("@angular/core").Signal<TuiCalendar | null>;
|
|
15
15
|
protected readonly calendarIn: import("@angular/core").EffectRef;
|
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
import { TuiLabel } from '@taiga-ui/core/components/label';
|
|
2
|
+
import { TuiTextfieldComponent, TuiTextfieldOptionsDirective } from '@taiga-ui/core/components/textfield';
|
|
3
|
+
import { TuiDropdownContent } from '@taiga-ui/core/portals';
|
|
1
4
|
import { TuiCalendarRange } from '@taiga-ui/kit/components/calendar-range';
|
|
2
5
|
import { TuiInputDateRangeDirective } from './input-date-range.directive';
|
|
3
|
-
export declare const TuiInputDateRange: readonly [typeof TuiInputDateRangeDirective, typeof TuiCalendarRange,
|
|
6
|
+
export declare const TuiInputDateRange: readonly [typeof TuiInputDateRangeDirective, typeof TuiCalendarRange, typeof TuiLabel, typeof TuiTextfieldComponent, typeof TuiTextfieldOptionsDirective, typeof TuiDropdownContent];
|
|
@@ -6,15 +6,12 @@ import * as i1 from "@taiga-ui/core/components/input";
|
|
|
6
6
|
import * as i2 from "@taiga-ui/core/portals/dropdown";
|
|
7
7
|
import * as i3 from "@maskito/angular";
|
|
8
8
|
export declare class TuiInputDateRangeDirective extends TuiInputDateBase<TuiDayRange> {
|
|
9
|
-
protected readonly identity: void;
|
|
10
9
|
protected readonly filler: import("@angular/core").Signal<string>;
|
|
11
10
|
protected readonly mask: import("@angular/core").Signal<import("@maskito/core").MaskitoOptions | null>;
|
|
12
|
-
readonly minLength: import("@angular/core").
|
|
13
|
-
readonly maxLength: import("@angular/core").
|
|
14
|
-
set minLengthSetter(minLength: TuiDayLike | null);
|
|
15
|
-
set maxLengthSetter(maxLength: TuiDayLike | null);
|
|
11
|
+
readonly minLength: import("@angular/core").InputSignal<TuiDayLike | null>;
|
|
12
|
+
readonly maxLength: import("@angular/core").InputSignal<TuiDayLike | null>;
|
|
16
13
|
protected processCalendar(calendar: TuiCalendarRange): void;
|
|
17
14
|
protected onValueChange(value: string): void;
|
|
18
15
|
static ɵfac: i0.ɵɵFactoryDeclaration<TuiInputDateRangeDirective, never>;
|
|
19
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<TuiInputDateRangeDirective, "input[tuiInputDateRange]", never, { "
|
|
16
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<TuiInputDateRangeDirective, "input[tuiInputDateRange]", never, { "minLength": { "alias": "minLength"; "required": false; "isSignal": true; }; "maxLength": { "alias": "maxLength"; "required": false; "isSignal": true; }; }, {}, never, never, true, [{ directive: typeof i1.TuiWithInput; inputs: {}; outputs: {}; }, { directive: typeof i2.TuiDropdownAuto; inputs: {}; outputs: {}; }, { directive: typeof i3.MaskitoDirective; inputs: {}; outputs: {}; }]>;
|
|
20
17
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { type FactoryProvider, InjectionToken } from '@angular/core';
|
|
2
2
|
import { type TuiValueTransformer } from '@taiga-ui/cdk/classes';
|
|
3
3
|
import { type TuiDayRange } from '@taiga-ui/cdk/date-time';
|
|
4
|
-
import { type
|
|
5
|
-
export interface TuiInputDateRangeOptions extends Omit<
|
|
4
|
+
import { type TuiInputDateOptions } from '@taiga-ui/kit/components/input-date';
|
|
5
|
+
export interface TuiInputDateRangeOptions extends Omit<TuiInputDateOptions, 'valueTransformer'> {
|
|
6
6
|
readonly valueTransformer: TuiValueTransformer<TuiDayRange | null, any>;
|
|
7
7
|
}
|
|
8
8
|
export declare const TUI_INPUT_DATE_RANGE_OPTIONS: InjectionToken<TuiInputDateRangeOptions>;
|
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
import { TuiCalendar } from '@taiga-ui/core/components/calendar';
|
|
2
|
+
import { TuiLabel } from '@taiga-ui/core/components/label';
|
|
3
|
+
import { TuiTextfieldComponent, TuiTextfieldOptionsDirective } from '@taiga-ui/core/components/textfield';
|
|
4
|
+
import { TuiDropdownContent } from '@taiga-ui/core/portals';
|
|
2
5
|
import { TuiInputDateTimeComponent } from './input-date-time.component';
|
|
3
6
|
import { TuiInputDateTimeDirective } from './input-date-time.directive';
|
|
4
|
-
export declare const TuiInputDateTime: readonly [typeof TuiInputDateTimeDirective, typeof TuiInputDateTimeComponent, typeof TuiCalendar,
|
|
7
|
+
export declare const TuiInputDateTime: readonly [typeof TuiInputDateTimeDirective, typeof TuiInputDateTimeComponent, typeof TuiCalendar, typeof TuiLabel, typeof TuiTextfieldComponent, typeof TuiTextfieldOptionsDirective, typeof TuiDropdownContent];
|
|
@@ -13,9 +13,9 @@ export declare class TuiInputDateTimeDirective extends TuiInputDateBase<readonly
|
|
|
13
13
|
private readonly timeFillers;
|
|
14
14
|
protected readonly options: import("./input-date-time.options").TuiInputDateTimeOptions;
|
|
15
15
|
protected readonly filler: import("@angular/core").Signal<string>;
|
|
16
|
-
protected valueEffect: import("@angular/core").EffectRef;
|
|
17
|
-
protected readonly identity:
|
|
18
|
-
protected readonly disabledItemHandler: import("@angular/core").
|
|
16
|
+
protected readonly valueEffect: import("@angular/core").EffectRef;
|
|
17
|
+
protected readonly identity: import("@angular/core").WritableSignal<(a: any, b: any) => boolean>;
|
|
18
|
+
protected readonly disabledItemHandler: import("@angular/core").Signal<(value: readonly [TuiDay, TuiTime | null] | null) => boolean>;
|
|
19
19
|
protected readonly mask: import("@angular/core").Signal<MaskitoOptions | null>;
|
|
20
20
|
readonly timeMode: import("@angular/core").WritableSignal<MaskitoTimeMode>;
|
|
21
21
|
readonly minTime: import("@angular/core").WritableSignal<TuiTime>;
|
|
@@ -2,8 +2,8 @@ import { type FactoryProvider, InjectionToken } from '@angular/core';
|
|
|
2
2
|
import { type MaskitoTimeMode } from '@maskito/kit';
|
|
3
3
|
import { type TuiValueTransformer } from '@taiga-ui/cdk/classes';
|
|
4
4
|
import { type TuiDay, type TuiTime } from '@taiga-ui/cdk/date-time';
|
|
5
|
-
import { type
|
|
6
|
-
export interface TuiInputDateTimeOptions extends Omit<
|
|
5
|
+
import { type TuiInputDateOptions } from '@taiga-ui/kit/components/input-date';
|
|
6
|
+
export interface TuiInputDateTimeOptions extends Omit<TuiInputDateOptions, 'valueTransformer'> {
|
|
7
7
|
readonly timeMode: MaskitoTimeMode;
|
|
8
8
|
readonly dateTimeSeparator: string;
|
|
9
9
|
readonly valueTransformer: TuiValueTransformer<[TuiDay, TuiTime | null] | null, any>;
|
|
@@ -1,4 +1,7 @@
|
|
|
1
|
+
import { TuiLabel } from '@taiga-ui/core/components/label';
|
|
2
|
+
import { TuiTextfieldComponent, TuiTextfieldOptionsDirective } from '@taiga-ui/core/components/textfield';
|
|
3
|
+
import { TuiDropdownContent } from '@taiga-ui/core/portals';
|
|
1
4
|
import { TuiCalendarMonth } from '@taiga-ui/kit/components/calendar-month';
|
|
2
5
|
import { TuiInputMonthComponent } from './input-month.component';
|
|
3
6
|
import { TuiInputMonthDirective } from './input-month.directive';
|
|
4
|
-
export declare const TuiInputMonth: readonly [typeof TuiInputMonthComponent, typeof TuiInputMonthDirective, typeof TuiCalendarMonth,
|
|
7
|
+
export declare const TuiInputMonth: readonly [typeof TuiInputMonthComponent, typeof TuiInputMonthDirective, typeof TuiCalendarMonth, typeof TuiLabel, typeof TuiTextfieldComponent, typeof TuiTextfieldOptionsDirective, typeof TuiDropdownContent];
|
|
@@ -7,7 +7,7 @@ import * as i2 from "@taiga-ui/core/components/textfield";
|
|
|
7
7
|
import * as i3 from "@taiga-ui/core/portals/dropdown";
|
|
8
8
|
export declare class TuiInputMonthDirective extends TuiControl<TuiMonth | null> {
|
|
9
9
|
private readonly input;
|
|
10
|
-
private readonly
|
|
10
|
+
private readonly months;
|
|
11
11
|
private readonly open;
|
|
12
12
|
protected readonly icon: import("@angular/core").Signal<string>;
|
|
13
13
|
protected readonly dropdownEnabled: import("@angular/core").Signal<boolean>;
|
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
import { TuiLabel } from '@taiga-ui/core/components/label';
|
|
2
|
+
import { TuiTextfieldComponent, TuiTextfieldOptionsDirective } from '@taiga-ui/core/components/textfield';
|
|
3
|
+
import { TuiDropdownContent } from '@taiga-ui/core/portals';
|
|
1
4
|
import { TuiCalendarMonth } from '@taiga-ui/kit/components/calendar-month';
|
|
2
5
|
import { TuiInputMonthRangeDirective } from './input-month-range.directive';
|
|
3
|
-
export declare const TuiInputMonthRange: readonly [typeof TuiInputMonthRangeDirective, typeof TuiCalendarMonth,
|
|
6
|
+
export declare const TuiInputMonthRange: readonly [typeof TuiInputMonthRangeDirective, typeof TuiCalendarMonth, typeof TuiLabel, typeof TuiTextfieldComponent, typeof TuiTextfieldOptionsDirective, typeof TuiDropdownContent];
|
|
@@ -6,7 +6,7 @@ import * as i2 from "@taiga-ui/core/components/textfield";
|
|
|
6
6
|
import * as i3 from "@taiga-ui/core/portals/dropdown";
|
|
7
7
|
export declare class TuiInputMonthRangeDirective extends TuiControl<TuiMonthRange | null> {
|
|
8
8
|
private readonly input;
|
|
9
|
-
private readonly
|
|
9
|
+
private readonly months;
|
|
10
10
|
private readonly open;
|
|
11
11
|
private readonly intermediateValue;
|
|
12
12
|
private readonly calendar;
|
|
@@ -1,4 +1,7 @@
|
|
|
1
|
+
import { TuiLabel } from '@taiga-ui/core/components/label';
|
|
2
|
+
import { TuiTextfieldComponent, TuiTextfieldOptionsDirective } from '@taiga-ui/core/components/textfield';
|
|
3
|
+
import { TuiDropdownContent } from '@taiga-ui/core/portals';
|
|
1
4
|
import { TuiInputNumberDirective } from './input-number.directive';
|
|
2
5
|
import { TuiQuantumValueTransformer } from './quantum.directive';
|
|
3
6
|
import { TuiInputNumberStep } from './step/input-number-step.component';
|
|
4
|
-
export declare const TuiInputNumber: readonly [typeof TuiInputNumberDirective, typeof TuiInputNumberStep, typeof TuiQuantumValueTransformer,
|
|
7
|
+
export declare const TuiInputNumber: readonly [typeof TuiInputNumberDirective, typeof TuiInputNumberStep, typeof TuiQuantumValueTransformer, typeof TuiLabel, typeof TuiTextfieldComponent, typeof TuiTextfieldOptionsDirective, typeof TuiDropdownContent];
|
|
@@ -1,2 +1,5 @@
|
|
|
1
|
+
import { TuiLabel } from '@taiga-ui/core/components/label';
|
|
2
|
+
import { TuiTextfieldComponent, TuiTextfieldOptionsDirective } from '@taiga-ui/core/components/textfield';
|
|
3
|
+
import { TuiDropdownContent } from '@taiga-ui/core/portals';
|
|
1
4
|
import { TuiInputPhoneDirective } from './input-phone.directive';
|
|
2
|
-
export declare const TuiInputPhone: readonly [typeof TuiInputPhoneDirective,
|
|
5
|
+
export declare const TuiInputPhone: readonly [typeof TuiInputPhoneDirective, typeof TuiLabel, typeof TuiTextfieldComponent, typeof TuiTextfieldOptionsDirective, typeof TuiDropdownContent];
|
|
@@ -3,6 +3,9 @@ import { type MaskitoOptions } from '@maskito/core';
|
|
|
3
3
|
import { TuiControl } from '@taiga-ui/cdk/classes';
|
|
4
4
|
import { type TuiCountryIsoCode } from '@taiga-ui/i18n/types';
|
|
5
5
|
import { type MetadataJson } from 'libphonenumber-js/core';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
import * as i1 from "@maskito/angular";
|
|
8
|
+
import * as i2 from "@taiga-ui/core/components/input";
|
|
6
9
|
export declare class TuiInputPhoneInternationalComponent extends TuiControl<string> {
|
|
7
10
|
protected readonly list: QueryList<ElementRef<HTMLButtonElement>>;
|
|
8
11
|
protected readonly el: HTMLInputElement;
|
|
@@ -37,4 +40,6 @@ export declare class TuiInputPhoneInternationalComponent extends TuiControl<stri
|
|
|
37
40
|
private computeMask;
|
|
38
41
|
private unmask;
|
|
39
42
|
private getCountryCode;
|
|
43
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TuiInputPhoneInternationalComponent, never>;
|
|
44
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TuiInputPhoneInternationalComponent, "input[tuiInputPhoneInternational]", never, { "countrySearch": { "alias": "countrySearch"; "required": false; }; "countriesValue": { "alias": "countries"; "required": false; }; "isoCode": { "alias": "countryIsoCode"; "required": false; }; }, { "countryIsoCodeChange": "countryIsoCodeChange"; }, never, never, true, [{ directive: typeof i1.MaskitoDirective; inputs: {}; outputs: {}; }, { directive: typeof i2.TuiWithInput; inputs: {}; outputs: {}; }]>;
|
|
40
45
|
}
|
|
@@ -1,2 +1,5 @@
|
|
|
1
|
+
import { TuiLabel } from '@taiga-ui/core/components/label';
|
|
2
|
+
import { TuiTextfieldComponent, TuiTextfieldOptionsDirective } from '@taiga-ui/core/components/textfield';
|
|
3
|
+
import { TuiDropdownContent } from '@taiga-ui/core/portals';
|
|
1
4
|
import { TuiInputPhoneInternationalComponent } from './input-phone-international.component';
|
|
2
|
-
export declare const TuiInputPhoneInternational: readonly [typeof TuiInputPhoneInternationalComponent,
|
|
5
|
+
export declare const TuiInputPhoneInternational: readonly [typeof TuiInputPhoneInternationalComponent, typeof TuiLabel, typeof TuiTextfieldComponent, typeof TuiTextfieldOptionsDirective, typeof TuiDropdownContent];
|
|
@@ -1,2 +1,5 @@
|
|
|
1
|
+
import { TuiLabel } from '@taiga-ui/core/components/label';
|
|
2
|
+
import { TuiTextfieldComponent, TuiTextfieldOptionsDirective } from '@taiga-ui/core/components/textfield';
|
|
3
|
+
import { TuiDropdownContent } from '@taiga-ui/core/portals';
|
|
1
4
|
import { TuiInputPinComponent } from './input-pin.component';
|
|
2
|
-
export declare const TuiInputPin: readonly [typeof TuiInputPinComponent,
|
|
5
|
+
export declare const TuiInputPin: readonly [typeof TuiInputPinComponent, typeof TuiLabel, typeof TuiTextfieldComponent, typeof TuiTextfieldOptionsDirective, typeof TuiDropdownContent];
|
|
@@ -2,7 +2,11 @@ import { TuiControl } from '@taiga-ui/cdk/classes';
|
|
|
2
2
|
import { type TuiContext } from '@taiga-ui/cdk/types';
|
|
3
3
|
import { type TuiKeySteps } from '@taiga-ui/kit/components/slider';
|
|
4
4
|
import { type PolymorpheusContent } from '@taiga-ui/polymorpheus';
|
|
5
|
-
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class TuiInputRange extends TuiControl<readonly [
|
|
7
|
+
number,
|
|
8
|
+
number
|
|
9
|
+
]> {
|
|
6
10
|
private readonly inputNumberRefs;
|
|
7
11
|
private readonly range?;
|
|
8
12
|
private readonly isMobile;
|
|
@@ -19,22 +23,50 @@ export declare class TuiInputRangeComponent extends TuiControl<readonly [number,
|
|
|
19
23
|
step: number;
|
|
20
24
|
segments: number;
|
|
21
25
|
keySteps: TuiKeySteps | null;
|
|
22
|
-
prefix: readonly [
|
|
23
|
-
|
|
26
|
+
prefix: readonly [
|
|
27
|
+
string,
|
|
28
|
+
string
|
|
29
|
+
];
|
|
30
|
+
postfix: readonly [
|
|
31
|
+
string,
|
|
32
|
+
string
|
|
33
|
+
];
|
|
24
34
|
content: import("@angular/core").InputSignal<readonly [PolymorpheusContent<TuiContext<number>>, PolymorpheusContent<TuiContext<number>>]>;
|
|
25
35
|
set quantumSetter(x: number);
|
|
26
|
-
writeValue(value: [
|
|
36
|
+
writeValue(value: [
|
|
37
|
+
number,
|
|
38
|
+
number
|
|
39
|
+
]): void;
|
|
27
40
|
protected get contentStartHidden(): boolean;
|
|
28
41
|
protected get contentEndHidden(): boolean;
|
|
29
|
-
protected takeStep(event: Event | KeyboardEvent, coefficients: readonly [
|
|
30
|
-
|
|
31
|
-
|
|
42
|
+
protected takeStep(event: Event | KeyboardEvent, coefficients: readonly [
|
|
43
|
+
number,
|
|
44
|
+
number
|
|
45
|
+
]): void;
|
|
46
|
+
protected onInput([start, end]: [
|
|
47
|
+
number | null,
|
|
48
|
+
number | null
|
|
49
|
+
]): void;
|
|
50
|
+
protected onExternalValueUpdate(value: readonly [
|
|
51
|
+
number,
|
|
52
|
+
number
|
|
53
|
+
]): void;
|
|
32
54
|
protected focusToTextfield(): void;
|
|
33
|
-
protected setTextfieldValues([start, end]: readonly [
|
|
55
|
+
protected setTextfieldValues([start, end]: readonly [
|
|
56
|
+
number,
|
|
57
|
+
number
|
|
58
|
+
]): void;
|
|
34
59
|
private get textfieldStart();
|
|
35
60
|
private get textfieldEnd();
|
|
36
61
|
private get activeTextfield();
|
|
37
62
|
private setValue;
|
|
38
63
|
private valueGuard;
|
|
39
64
|
private isPrimitive;
|
|
65
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TuiInputRange, never>;
|
|
66
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TuiInputRange, "tui-input-range", never, { "min": { "alias": "min"; "required": false; }; "max": { "alias": "max"; "required": false; }; "step": { "alias": "step"; "required": false; }; "segments": { "alias": "segments"; "required": false; }; "keySteps": { "alias": "keySteps"; "required": false; }; "prefix": { "alias": "prefix"; "required": false; }; "postfix": { "alias": "postfix"; "required": false; }; "content": { "alias": "content"; "required": false; "isSignal": true; }; "quantumSetter": { "alias": "quantum"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
67
|
+
static ngAcceptInputType_prefix: readonly [
|
|
68
|
+
string,
|
|
69
|
+
string
|
|
70
|
+
] | null;
|
|
71
|
+
static ngAcceptInputType_postfix: readonly [string, string] | null;
|
|
40
72
|
}
|
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
import { TuiLabel } from '@taiga-ui/core/components/label';
|
|
2
|
+
import { TuiTextfieldComponent, TuiTextfieldOptionsDirective } from '@taiga-ui/core/components/textfield';
|
|
3
|
+
import { TuiDropdownContent } from '@taiga-ui/core/portals';
|
|
1
4
|
import { TuiSliderComponent, TuiSliderKeySteps, TuiSliderKeyStepsBase } from '@taiga-ui/kit/components/slider';
|
|
2
5
|
import { TuiInputSliderDirective } from './input-slider.directive';
|
|
3
|
-
export declare const TuiInputSlider: readonly [typeof TuiSliderComponent, typeof TuiSliderKeyStepsBase, typeof TuiSliderKeySteps, typeof TuiInputSliderDirective,
|
|
6
|
+
export declare const TuiInputSlider: readonly [typeof TuiSliderComponent, typeof TuiSliderKeyStepsBase, typeof TuiSliderKeySteps, typeof TuiInputSliderDirective, typeof TuiLabel, typeof TuiTextfieldComponent, typeof TuiTextfieldOptionsDirective, typeof TuiDropdownContent];
|
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
import { TuiLabel } from '@taiga-ui/core/components/label';
|
|
2
|
+
import { TuiTextfieldComponent, TuiTextfieldOptionsDirective } from '@taiga-ui/core/components/textfield';
|
|
3
|
+
import { TuiDropdownContent } from '@taiga-ui/core/portals';
|
|
1
4
|
import { TuiInputTimeComponent } from './input-time.component';
|
|
2
5
|
import { TuiInputTimeDirective } from './input-time.directive';
|
|
3
|
-
export declare const TuiInputTime: readonly [typeof TuiInputTimeDirective, typeof TuiInputTimeComponent,
|
|
6
|
+
export declare const TuiInputTime: readonly [typeof TuiInputTimeDirective, typeof TuiInputTimeComponent, typeof TuiLabel, typeof TuiTextfieldComponent, typeof TuiTextfieldOptionsDirective, typeof TuiDropdownContent];
|
|
@@ -1,3 +1,6 @@
|
|
|
1
1
|
import { TuiCalendarYear } from '@taiga-ui/core/components/calendar';
|
|
2
|
+
import { TuiLabel } from '@taiga-ui/core/components/label';
|
|
3
|
+
import { TuiTextfieldComponent, TuiTextfieldOptionsDirective } from '@taiga-ui/core/components/textfield';
|
|
4
|
+
import { TuiDropdownContent } from '@taiga-ui/core/portals';
|
|
2
5
|
import { TuiInputYearDirective } from './input-year.directive';
|
|
3
|
-
export declare const TuiInputYear: readonly [typeof TuiInputYearDirective, typeof TuiCalendarYear,
|
|
6
|
+
export declare const TuiInputYear: readonly [typeof TuiInputYearDirective, typeof TuiCalendarYear, typeof TuiLabel, typeof TuiTextfieldComponent, typeof TuiTextfieldOptionsDirective, typeof TuiDropdownContent];
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { type FactoryProvider, InjectionToken } from '@angular/core';
|
|
2
2
|
import { type TuiValueTransformer } from '@taiga-ui/cdk/classes';
|
|
3
|
-
import { type
|
|
4
|
-
export interface TuiInputYearOptions extends Omit<
|
|
3
|
+
import { type TuiInputDateOptions } from '@taiga-ui/kit/components/input-date';
|
|
4
|
+
export interface TuiInputYearOptions extends Omit<TuiInputDateOptions, 'valueTransformer'> {
|
|
5
5
|
readonly valueTransformer: TuiValueTransformer<number | null, any>;
|
|
6
6
|
}
|
|
7
7
|
export declare const TUI_INPUT_YEAR_OPTIONS: InjectionToken<TuiInputYearOptions>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type TuiAppearanceOptions } from '@taiga-ui/core/directives';
|
|
1
|
+
import { type TuiAppearanceOptions } from '@taiga-ui/core/directives/appearance';
|
|
2
2
|
import { type TuiSizeS } from '@taiga-ui/core/types';
|
|
3
3
|
export interface TuiLikeOptions extends TuiAppearanceOptions {
|
|
4
4
|
readonly size: TuiSizeS;
|
|
@@ -1,44 +1,33 @@
|
|
|
1
|
-
import { EventEmitter } from '@angular/core';
|
|
2
1
|
import { type TuiContext } from '@taiga-ui/cdk/types';
|
|
3
|
-
import { type TuiHorizontalDirection
|
|
2
|
+
import { type TuiHorizontalDirection } from '@taiga-ui/core/types';
|
|
4
3
|
import { type PolymorpheusContent } from '@taiga-ui/polymorpheus';
|
|
5
4
|
import * as i0 from "@angular/core";
|
|
6
5
|
export declare class TuiPagination {
|
|
7
6
|
private readonly els;
|
|
8
7
|
private readonly el;
|
|
8
|
+
private readonly maxHalfLength;
|
|
9
|
+
private readonly maxElementsLength;
|
|
10
|
+
private readonly lastElementIndex;
|
|
11
|
+
private readonly itemsFit;
|
|
12
|
+
private readonly lastIndex;
|
|
13
|
+
private readonly reverseIndex;
|
|
9
14
|
protected readonly texts: import("@angular/core").Signal<readonly [previous_page: string, next_page: string]>;
|
|
10
|
-
protected readonly icons: import("@taiga-ui/core/tokens").
|
|
15
|
+
protected readonly icons: import("@taiga-ui/core/tokens").TuiCommonIcons;
|
|
11
16
|
protected readonly options: import("./pagination.options").TuiPaginationOptions;
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
readonly
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
* Customization for page number display.
|
|
26
|
-
*/
|
|
27
|
-
content: PolymorpheusContent<TuiContext<number>>;
|
|
28
|
-
/**
|
|
29
|
-
* Active page index
|
|
30
|
-
*/
|
|
31
|
-
index: number;
|
|
32
|
-
readonly indexChange: EventEmitter<number>;
|
|
33
|
-
get nativeFocusableElement(): HTMLElement | null;
|
|
17
|
+
protected readonly buttonSize: import("@angular/core").Signal<"xs" | "s">;
|
|
18
|
+
protected readonly elementsLength: import("@angular/core").Signal<number>;
|
|
19
|
+
readonly length: import("@angular/core").InputSignal<number>;
|
|
20
|
+
readonly focusable: import("@angular/core").InputSignal<boolean>;
|
|
21
|
+
readonly size: import("@angular/core").InputSignal<import("@taiga-ui/core/types").TuiSizeL>;
|
|
22
|
+
readonly disabled: import("@angular/core").InputSignal<boolean>;
|
|
23
|
+
readonly activePadding: import("@angular/core").InputSignal<number>;
|
|
24
|
+
readonly sidePadding: import("@angular/core").InputSignal<number>;
|
|
25
|
+
readonly content: import("@angular/core").InputSignal<PolymorpheusContent<TuiContext<number>>>;
|
|
26
|
+
readonly index: import("@angular/core").ModelSignal<number>;
|
|
27
|
+
readonly arrowIsDisabledRight: import("@angular/core").Signal<boolean>;
|
|
28
|
+
readonly arrowIsDisabledLeft: import("@angular/core").Signal<boolean>;
|
|
29
|
+
readonly nativeFocusableElement: import("@angular/core").Signal<HTMLElement | null>;
|
|
34
30
|
get focused(): boolean;
|
|
35
|
-
get arrowIsDisabledLeft(): boolean;
|
|
36
|
-
get arrowIsDisabledRight(): boolean;
|
|
37
|
-
/**
|
|
38
|
-
* Number of items in a container.
|
|
39
|
-
*/
|
|
40
|
-
protected get elementsLength(): number;
|
|
41
|
-
protected get buttonSize(): TuiSizeXS;
|
|
42
31
|
protected elementIsFocusable(index: number): boolean;
|
|
43
32
|
/**
|
|
44
33
|
* Get index by element index
|
|
@@ -51,24 +40,6 @@ export declare class TuiPagination {
|
|
|
51
40
|
protected onElementKeyDownArrowLeft(element: HTMLElement): void;
|
|
52
41
|
protected onElementKeyDownArrowRight(element: HTMLElement): void;
|
|
53
42
|
protected onArrowClick(direction: TuiHorizontalDirection): void;
|
|
54
|
-
/**
|
|
55
|
-
* Active index from the end
|
|
56
|
-
*/
|
|
57
|
-
private get reverseIndex();
|
|
58
|
-
/**
|
|
59
|
-
* Max number of elements in half (not counting the middle one).
|
|
60
|
-
*/
|
|
61
|
-
private get maxHalfLength();
|
|
62
|
-
/**
|
|
63
|
-
* Is there '...' anywhere
|
|
64
|
-
*/
|
|
65
|
-
private get itemsFit();
|
|
66
|
-
/**
|
|
67
|
-
* Max number of elements
|
|
68
|
-
*/
|
|
69
|
-
private get maxElementsLength();
|
|
70
|
-
private get lastIndex();
|
|
71
|
-
private get lastElementIndex();
|
|
72
43
|
/**
|
|
73
44
|
* Are there collapsed items at that index
|
|
74
45
|
* @param index
|
|
@@ -76,8 +47,7 @@ export declare class TuiPagination {
|
|
|
76
47
|
*/
|
|
77
48
|
private hasCollapsedItems;
|
|
78
49
|
private tryChangeTo;
|
|
79
|
-
private focusActive;
|
|
80
50
|
private updateIndex;
|
|
81
51
|
static ɵfac: i0.ɵɵFactoryDeclaration<TuiPagination, never>;
|
|
82
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TuiPagination, "tui-pagination", never, { "length": { "alias": "length"; "required": false; }; "focusable": { "alias": "focusable"; "required": false; }; "size": { "alias": "size"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "activePadding": { "alias": "activePadding"; "required": false; }; "sidePadding": { "alias": "sidePadding"; "required": false; }; "content": { "alias": "content"; "required": false; }; "index": { "alias": "index"; "required": false; }; }, { "
|
|
52
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TuiPagination, "tui-pagination", never, { "length": { "alias": "length"; "required": false; "isSignal": true; }; "focusable": { "alias": "focusable"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "activePadding": { "alias": "activePadding"; "required": false; "isSignal": true; }; "sidePadding": { "alias": "sidePadding"; "required": false; "isSignal": true; }; "content": { "alias": "content"; "required": false; "isSignal": true; }; "index": { "alias": "index"; "required": false; "isSignal": true; }; }, { "index": "indexChange"; }, never, never, true, never>;
|
|
83
53
|
}
|
|
@@ -1,10 +1,7 @@
|
|
|
1
1
|
import { type TuiStringHandler } from '@taiga-ui/cdk/types';
|
|
2
|
-
import { type TuiSizeL
|
|
2
|
+
import { type TuiSizeL } from '@taiga-ui/core/types';
|
|
3
3
|
export interface TuiPaginationOptions {
|
|
4
|
-
readonly
|
|
5
|
-
|
|
6
|
-
size: TuiSizeL | TuiSizeS;
|
|
7
|
-
}>;
|
|
8
|
-
readonly defaultSize: TuiSizeL | TuiSizeS;
|
|
4
|
+
readonly size: TuiSizeL;
|
|
5
|
+
readonly appearance: TuiStringHandler<boolean>;
|
|
9
6
|
}
|
|
10
7
|
export declare const TUI_PAGINATION_OPTIONS: import("@angular/core").InjectionToken<TuiPaginationOptions>, tuiPaginationOptionsProvider: (item: Partial<TuiPaginationOptions> | (() => Partial<TuiPaginationOptions>)) => import("@angular/core").FactoryProvider;
|
|
@@ -3,5 +3,6 @@ export * from './dialog';
|
|
|
3
3
|
export * from './pagination/preview-pagination.component';
|
|
4
4
|
export * from './preview';
|
|
5
5
|
export * from './preview.component';
|
|
6
|
+
export * from './preview.options';
|
|
6
7
|
export * from './title/preview-title.component';
|
|
7
8
|
export * from './zoom/preview-zoom.component';
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { EventEmitter } from '@angular/core';
|
|
2
|
+
import { type TuiPreviewIcons } from '../preview.options';
|
|
2
3
|
import * as i0 from "@angular/core";
|
|
3
4
|
export declare class TuiPreviewPagination {
|
|
4
|
-
protected readonly icons:
|
|
5
|
+
protected readonly icons: TuiPreviewIcons;
|
|
5
6
|
protected readonly paginationTexts: import("@angular/core").Signal<readonly [previous_page: string, next_page: string]>;
|
|
6
7
|
length: number;
|
|
7
8
|
index: number;
|