@taiga-ui/kit 4.42.0 → 4.43.0-canary.0505af2
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/avatar/avatar.options.d.ts +2 -1
- package/components/badge/badge.options.d.ts +2 -1
- package/components/badge-notification/badge-notification.options.d.ts +2 -1
- package/components/block/block.options.d.ts +2 -1
- package/components/breadcrumbs/breadcrumbs.options.d.ts +2 -1
- package/components/checkbox/checkbox.options.d.ts +2 -1
- package/components/chip/chip.options.d.ts +2 -1
- package/components/combo-box/combo-box.directive.d.ts +0 -1
- package/components/files/input-files/input-files.options.d.ts +2 -1
- package/components/index.d.ts +2 -0
- package/components/input-chip/input-chip.component.d.ts +2 -2
- package/components/input-chip/input-chip.directive.d.ts +2 -0
- package/components/input-date/input-date.directive.d.ts +2 -1
- package/components/input-date-range/input-date-range.directive.d.ts +1 -0
- package/components/input-date-range/input-date-range.options.d.ts +2 -1
- package/components/input-month/input-month.options.d.ts +2 -1
- package/components/input-month-range/input-month-range.options.d.ts +2 -1
- package/components/input-password/input-password.options.d.ts +2 -1
- package/components/input-phone-international/input-phone-international.options.d.ts +2 -1
- package/components/input-time/index.d.ts +4 -0
- package/components/input-time/input-time.component.d.ts +14 -0
- package/components/input-time/input-time.d.ts +3 -0
- package/components/input-time/input-time.directive.d.ts +31 -0
- package/components/input-time/input-time.options.d.ts +11 -0
- package/components/line-clamp/line-clamp.options.d.ts +2 -1
- package/components/multi-select/index.d.ts +4 -0
- package/components/multi-select/multi-select-group/multi-select-group.component.d.ts +19 -0
- package/components/multi-select/multi-select-group/multi-select-group.directive.d.ts +5 -0
- package/components/multi-select/multi-select-option/multi-select-option.component.d.ts +12 -0
- package/components/multi-select/multi-select.d.ts +3 -0
- package/components/pdf-viewer/pdf-viewer.options.d.ts +2 -1
- package/components/progress/progress-circle/progress-circle.component.d.ts +4 -1
- package/components/progress/progress.options.d.ts +2 -1
- package/components/push/push.options.d.ts +2 -1
- package/components/radio/radio.options.d.ts +2 -1
- package/components/rating/rating.options.d.ts +2 -1
- package/components/select/select-option/select-option.component.d.ts +4 -6
- package/components/slider/slider.options.d.ts +2 -1
- package/components/switch/switch.options.d.ts +2 -1
- package/components/tabs/tabs.options.d.ts +2 -1
- package/components/tabs/tabs.providers.d.ts +2 -1
- package/components/tiles/tiles.tokens.d.ts +2 -1
- package/components/tree/misc/tree.tokens.d.ts +9 -8
- package/directives/button-select/button-select.directive.d.ts +3 -2
- package/directives/chevron/chevron.directive.d.ts +2 -1
- package/directives/fluid-typography/fluid-typography.options.d.ts +2 -1
- package/esm2022/components/accordion/accordion-item.component.mjs +3 -3
- package/esm2022/components/avatar/avatar-labeled.component.mjs +3 -3
- package/esm2022/components/avatar/avatar-stack.component.mjs +2 -2
- package/esm2022/components/avatar/avatar.options.mjs +6 -3
- package/esm2022/components/badge/badge.directive.mjs +2 -2
- package/esm2022/components/badge/badge.options.mjs +6 -3
- package/esm2022/components/badge-notification/badge-notification.options.mjs +6 -3
- package/esm2022/components/block/block.options.mjs +6 -3
- package/esm2022/components/breadcrumbs/breadcrumbs.options.mjs +6 -3
- package/esm2022/components/calendar-month/calendar-month.component.mjs +3 -3
- package/esm2022/components/checkbox/checkbox.options.mjs +6 -3
- package/esm2022/components/chip/chip.options.mjs +6 -3
- package/esm2022/components/combo-box/combo-box.directive.mjs +4 -10
- package/esm2022/components/confirm/confirm.component.mjs +3 -3
- package/esm2022/components/data-list-wrapper/data-list-group-wrapper.component.mjs +3 -3
- package/esm2022/components/data-list-wrapper/data-list-wrapper.component.mjs +3 -3
- package/esm2022/components/elastic-container/elastic-container.component.mjs +3 -3
- package/esm2022/components/files/file/file.component.mjs +3 -3
- package/esm2022/components/files/files/files.component.mjs +3 -3
- package/esm2022/components/files/input-files/input-files.directive.mjs +3 -2
- package/esm2022/components/files/input-files/input-files.options.mjs +6 -3
- package/esm2022/components/filter/filter.component.mjs +3 -3
- package/esm2022/components/floating-container/floating-container.directive.mjs +2 -2
- package/esm2022/components/index.mjs +3 -1
- package/esm2022/components/input-chip/input-chip.component.mjs +15 -13
- package/esm2022/components/input-chip/input-chip.directive.mjs +20 -9
- package/esm2022/components/input-date/input-date.directive.mjs +11 -3
- package/esm2022/components/input-date-range/input-date-range.directive.mjs +6 -2
- package/esm2022/components/input-date-range/input-date-range.options.mjs +9 -7
- package/esm2022/components/input-inline/input-inline.component.mjs +3 -3
- package/esm2022/components/input-month/input-month.options.mjs +9 -7
- package/esm2022/components/input-month-range/input-month-range.options.mjs +9 -7
- package/esm2022/components/input-password/input-password.options.mjs +6 -3
- package/esm2022/components/input-phone-international/input-phone-international.component.mjs +1 -1
- package/esm2022/components/input-phone-international/input-phone-international.options.mjs +6 -3
- package/esm2022/components/input-pin/input-pin.component.mjs +3 -3
- package/esm2022/components/input-time/index.mjs +5 -0
- package/esm2022/components/input-time/input-time.component.mjs +49 -0
- package/esm2022/components/input-time/input-time.directive.mjs +123 -0
- package/esm2022/components/input-time/input-time.mjs +4 -0
- package/esm2022/components/input-time/input-time.options.mjs +9 -0
- package/esm2022/components/input-time/taiga-ui-kit-components-input-time.mjs +5 -0
- package/esm2022/components/line-clamp/line-clamp-box.component.mjs +3 -3
- package/esm2022/components/line-clamp/line-clamp.component.mjs +3 -3
- package/esm2022/components/line-clamp/line-clamp.options.mjs +6 -3
- package/esm2022/components/multi-select/index.mjs +5 -0
- package/esm2022/components/multi-select/multi-select-group/multi-select-group.component.mjs +50 -0
- package/esm2022/components/multi-select/multi-select-group/multi-select-group.directive.mjs +18 -0
- package/esm2022/components/multi-select/multi-select-option/multi-select-option.component.mjs +52 -0
- package/esm2022/components/multi-select/multi-select.mjs +7 -0
- package/esm2022/components/multi-select/taiga-ui-kit-components-multi-select.mjs +5 -0
- package/esm2022/components/pagination/pagination.component.mjs +3 -3
- package/esm2022/components/pdf-viewer/pdf-viewer.component.mjs +3 -3
- package/esm2022/components/pdf-viewer/pdf-viewer.options.mjs +6 -3
- package/esm2022/components/pin/pin.directive.mjs +2 -2
- package/esm2022/components/preview/preview.component.mjs +3 -3
- package/esm2022/components/preview/zoom/preview-zoom.component.mjs +3 -3
- package/esm2022/components/progress/progress-bar/fixed-gradient/progress-fixed-gradient.directive.mjs +2 -2
- package/esm2022/components/progress/progress-bar/progress-bar.component.mjs +2 -2
- package/esm2022/components/progress/progress-circle/progress-circle.component.mjs +9 -3
- package/esm2022/components/progress/progress.options.mjs +6 -3
- package/esm2022/components/push/push-alert.component.mjs +3 -3
- package/esm2022/components/push/push.component.mjs +3 -3
- package/esm2022/components/push/push.options.mjs +6 -3
- package/esm2022/components/radio/radio.options.mjs +6 -3
- package/esm2022/components/rating/rating.options.mjs +6 -3
- package/esm2022/components/select/select-option/select-option.component.mjs +29 -23
- package/esm2022/components/select/select.directive.mjs +1 -4
- package/esm2022/components/slider/slider.component.mjs +2 -2
- package/esm2022/components/slider/slider.options.mjs +6 -3
- package/esm2022/components/stepper/step.component.mjs +3 -3
- package/esm2022/components/switch/switch.options.mjs +6 -3
- package/esm2022/components/tabs/tabs-with-more.component.mjs +3 -3
- package/esm2022/components/tabs/tabs.directive.mjs +2 -2
- package/esm2022/components/tabs/tabs.options.mjs +6 -3
- package/esm2022/components/tabs/tabs.providers.mjs +3 -4
- package/esm2022/components/textarea/textarea-limit.directive.mjs +2 -2
- package/esm2022/components/textarea/textarea.component.mjs +3 -3
- package/esm2022/components/tiles/tiles.tokens.mjs +5 -3
- package/esm2022/components/tree/components/tree-item/tree-item.component.mjs +3 -3
- package/esm2022/components/tree/components/tree-item-content/tree-item-content.component.mjs +3 -3
- package/esm2022/components/tree/misc/tree.tokens.mjs +18 -10
- package/esm2022/directives/button-select/button-select.directive.mjs +15 -7
- package/esm2022/directives/chevron/chevron.directive.mjs +8 -6
- package/esm2022/directives/fluid-typography/fluid-typography.options.mjs +6 -3
- package/esm2022/pipes/emails/emails.options.mjs +13 -11
- package/esm2022/pipes/filter-by-input/filter-by-input.pipe.mjs +2 -2
- package/esm2022/pipes/hide-selected/hide-selected.pipe.mjs +46 -0
- package/esm2022/pipes/hide-selected/index.mjs +2 -0
- package/esm2022/pipes/hide-selected/taiga-ui-kit-pipes-hide-selected.mjs +5 -0
- package/esm2022/pipes/index.mjs +2 -1
- package/esm2022/tokens/calendar-date-stream.mjs +3 -4
- package/esm2022/tokens/date-inputs-value-transformers.mjs +8 -6
- package/esm2022/tokens/i18n.mjs +74 -26
- package/esm2022/tokens/items-handlers.mjs +9 -6
- package/esm2022/tokens/mobile-calendar.mjs +3 -4
- package/esm2022/tokens/month-formatter.mjs +10 -9
- package/esm2022/tokens/preview-icons.mjs +6 -3
- package/esm2022/tokens/validation-errors.mjs +5 -3
- package/esm2022/utils/index.mjs +2 -1
- package/esm2022/utils/inject-value.mjs +11 -0
- package/fesm2022/taiga-ui-kit-components-accordion.mjs +2 -2
- package/fesm2022/taiga-ui-kit-components-accordion.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-avatar.mjs +9 -7
- package/fesm2022/taiga-ui-kit-components-avatar.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-badge-notification.mjs +5 -3
- package/fesm2022/taiga-ui-kit-components-badge-notification.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-badge.mjs +7 -5
- package/fesm2022/taiga-ui-kit-components-badge.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-block.mjs +5 -3
- package/fesm2022/taiga-ui-kit-components-block.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-breadcrumbs.mjs +5 -3
- package/fesm2022/taiga-ui-kit-components-breadcrumbs.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-calendar-month.mjs +2 -2
- package/fesm2022/taiga-ui-kit-components-calendar-month.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-checkbox.mjs +5 -3
- package/fesm2022/taiga-ui-kit-components-checkbox.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-chip.mjs +5 -3
- package/fesm2022/taiga-ui-kit-components-chip.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-combo-box.mjs +3 -9
- package/fesm2022/taiga-ui-kit-components-combo-box.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-confirm.mjs +2 -2
- package/fesm2022/taiga-ui-kit-components-confirm.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-data-list-wrapper.mjs +4 -4
- package/fesm2022/taiga-ui-kit-components-data-list-wrapper.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-elastic-container.mjs +2 -2
- package/fesm2022/taiga-ui-kit-components-elastic-container.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-files.mjs +11 -8
- package/fesm2022/taiga-ui-kit-components-files.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-filter.mjs +2 -2
- package/fesm2022/taiga-ui-kit-components-filter.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-floating-container.mjs +2 -2
- package/fesm2022/taiga-ui-kit-components-floating-container.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-input-chip.mjs +109 -95
- package/fesm2022/taiga-ui-kit-components-input-chip.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-input-date-range.mjs +12 -6
- package/fesm2022/taiga-ui-kit-components-input-date-range.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-input-date.mjs +10 -2
- package/fesm2022/taiga-ui-kit-components-input-date.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-input-inline.mjs +2 -2
- package/fesm2022/taiga-ui-kit-components-input-inline.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-input-month-range.mjs +8 -6
- package/fesm2022/taiga-ui-kit-components-input-month-range.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-input-month.mjs +8 -6
- package/fesm2022/taiga-ui-kit-components-input-month.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-input-password.mjs +5 -3
- package/fesm2022/taiga-ui-kit-components-input-password.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-input-phone-international.mjs +6 -4
- package/fesm2022/taiga-ui-kit-components-input-phone-international.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-input-pin.mjs +2 -2
- package/fesm2022/taiga-ui-kit-components-input-pin.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-input-time.mjs +180 -0
- package/fesm2022/taiga-ui-kit-components-input-time.mjs.map +1 -0
- package/fesm2022/taiga-ui-kit-components-line-clamp.mjs +9 -7
- package/fesm2022/taiga-ui-kit-components-line-clamp.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-multi-select.mjs +118 -0
- package/fesm2022/taiga-ui-kit-components-multi-select.mjs.map +1 -0
- package/fesm2022/taiga-ui-kit-components-pagination.mjs +2 -2
- package/fesm2022/taiga-ui-kit-components-pagination.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-pdf-viewer.mjs +7 -5
- package/fesm2022/taiga-ui-kit-components-pdf-viewer.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-pin.mjs +2 -2
- package/fesm2022/taiga-ui-kit-components-pin.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-preview.mjs +4 -4
- package/fesm2022/taiga-ui-kit-components-preview.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-progress.mjs +17 -9
- package/fesm2022/taiga-ui-kit-components-progress.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-push.mjs +9 -7
- package/fesm2022/taiga-ui-kit-components-push.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-radio.mjs +5 -3
- package/fesm2022/taiga-ui-kit-components-radio.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-rating.mjs +5 -3
- package/fesm2022/taiga-ui-kit-components-rating.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-select.mjs +29 -24
- package/fesm2022/taiga-ui-kit-components-select.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-slider.mjs +7 -5
- package/fesm2022/taiga-ui-kit-components-slider.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-stepper.mjs +2 -2
- package/fesm2022/taiga-ui-kit-components-stepper.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-switch.mjs +5 -3
- package/fesm2022/taiga-ui-kit-components-switch.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-tabs.mjs +10 -8
- package/fesm2022/taiga-ui-kit-components-tabs.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-textarea.mjs +4 -4
- package/fesm2022/taiga-ui-kit-components-textarea.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-tiles.mjs +5 -3
- package/fesm2022/taiga-ui-kit-components-tiles.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-tree.mjs +22 -14
- package/fesm2022/taiga-ui-kit-components-tree.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components.mjs +2 -0
- package/fesm2022/taiga-ui-kit-components.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-directives-button-select.mjs +14 -6
- package/fesm2022/taiga-ui-kit-directives-button-select.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-directives-chevron.mjs +7 -5
- package/fesm2022/taiga-ui-kit-directives-chevron.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-directives-fluid-typography.mjs +5 -3
- package/fesm2022/taiga-ui-kit-directives-fluid-typography.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-pipes-emails.mjs +12 -11
- package/fesm2022/taiga-ui-kit-pipes-emails.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-pipes-filter-by-input.mjs +1 -1
- package/fesm2022/taiga-ui-kit-pipes-filter-by-input.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-pipes-hide-selected.mjs +52 -0
- package/fesm2022/taiga-ui-kit-pipes-hide-selected.mjs.map +1 -0
- package/fesm2022/taiga-ui-kit-pipes.mjs +1 -0
- package/fesm2022/taiga-ui-kit-pipes.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-tokens.mjs +102 -44
- package/fesm2022/taiga-ui-kit-tokens.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-utils.mjs +12 -1
- package/fesm2022/taiga-ui-kit-utils.mjs.map +1 -1
- package/package.json +38 -20
- package/pipes/emails/emails.options.d.ts +2 -1
- package/pipes/hide-selected/hide-selected.pipe.d.ts +12 -0
- package/pipes/hide-selected/index.d.ts +1 -0
- package/pipes/index.d.ts +1 -0
- package/styles/components/badge.less +1 -13
- package/styles/components/pin.less +2 -2
- package/styles/components/progress-bar.less +1 -1
- package/tokens/calendar-date-stream.d.ts +2 -1
- package/tokens/date-inputs-value-transformers.d.ts +5 -4
- package/tokens/i18n.d.ts +25 -24
- package/tokens/items-handlers.d.ts +6 -5
- package/tokens/mobile-calendar.d.ts +2 -1
- package/tokens/month-formatter.d.ts +2 -1
- package/tokens/preview-icons.d.ts +2 -1
- package/tokens/validation-errors.d.ts +2 -1
- package/utils/index.d.ts +1 -0
- package/utils/inject-value.d.ts +2 -0
|
@@ -37,7 +37,7 @@ tui-badge,
|
|
|
37
37
|
&[tuiStatus]::before {
|
|
38
38
|
inline-size: 0.375rem;
|
|
39
39
|
block-size: 0.375rem;
|
|
40
|
-
margin
|
|
40
|
+
margin: 0;
|
|
41
41
|
}
|
|
42
42
|
|
|
43
43
|
> tui-icon,
|
|
@@ -68,18 +68,6 @@ tui-badge,
|
|
|
68
68
|
--t-status: var(--tui-status-neutral);
|
|
69
69
|
}
|
|
70
70
|
|
|
71
|
-
&[tuiStatus][data-appearance='error']::before, /* TODO @deprecated remove in v5 */
|
|
72
|
-
&[tuiStatus][data-appearance='success']::before, /* TODO @deprecated remove in v5 */
|
|
73
|
-
&[tuiStatus][data-appearance='negative']::before,
|
|
74
|
-
&[tuiStatus][data-appearance='positive']::before,
|
|
75
|
-
&[tuiStatus][data-appearance='warning']::before,
|
|
76
|
-
&[tuiStatus][data-appearance='info']::before,
|
|
77
|
-
&[tuiStatus][data-appearance='neutral']::before {
|
|
78
|
-
content: '';
|
|
79
|
-
display: block;
|
|
80
|
-
margin: 0;
|
|
81
|
-
}
|
|
82
|
-
|
|
83
71
|
&[data-size='s'] {
|
|
84
72
|
--t-padding: 0 0.3125rem;
|
|
85
73
|
--t-size: 1rem;
|
|
@@ -79,7 +79,7 @@ tui-pin,
|
|
|
79
79
|
font: var(--tui-font-text-m);
|
|
80
80
|
font-weight: bold;
|
|
81
81
|
border-width: 0;
|
|
82
|
-
margin-
|
|
82
|
+
margin-block-start: -2.75rem;
|
|
83
83
|
|
|
84
84
|
> img {
|
|
85
85
|
padding: 0.125rem;
|
|
@@ -109,7 +109,7 @@ tui-pin,
|
|
|
109
109
|
font: var(--tui-font-text-m);
|
|
110
110
|
font-weight: bold;
|
|
111
111
|
border-width: 0;
|
|
112
|
-
margin-
|
|
112
|
+
margin-block-start: -2.75rem;
|
|
113
113
|
|
|
114
114
|
> img {
|
|
115
115
|
padding: 0.125rem;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { Provider } from '@angular/core';
|
|
2
|
+
import { InjectionToken } from '@angular/core';
|
|
2
3
|
import type { TuiValueTransformer } from '@taiga-ui/cdk/classes';
|
|
3
4
|
import type { TuiDay, TuiDayRange } from '@taiga-ui/cdk/date-time';
|
|
4
5
|
import type { Observable } from 'rxjs';
|
|
@@ -1,18 +1,19 @@
|
|
|
1
|
+
import { InjectionToken } from '@angular/core';
|
|
1
2
|
import type { TuiValueTransformer } from '@taiga-ui/cdk/classes';
|
|
2
3
|
import type { TuiDay, TuiDayRange, TuiTime } from '@taiga-ui/cdk/date-time';
|
|
3
4
|
/**
|
|
4
5
|
* Control value transformer of TuiDay to custom value format for InputDate* components
|
|
5
6
|
*/
|
|
6
|
-
export declare const TUI_DATE_VALUE_TRANSFORMER:
|
|
7
|
+
export declare const TUI_DATE_VALUE_TRANSFORMER: InjectionToken<TuiValueTransformer<TuiDay | null, unknown>>;
|
|
7
8
|
/**
|
|
8
9
|
* Control value transformer for InputDateRange component
|
|
9
10
|
*/
|
|
10
|
-
export declare const TUI_DATE_RANGE_VALUE_TRANSFORMER:
|
|
11
|
+
export declare const TUI_DATE_RANGE_VALUE_TRANSFORMER: InjectionToken<TuiValueTransformer<TuiDayRange | null, unknown>>;
|
|
11
12
|
/**
|
|
12
13
|
* Control value transformer for InputDateTime component
|
|
13
14
|
*/
|
|
14
|
-
export declare const TUI_DATE_TIME_VALUE_TRANSFORMER:
|
|
15
|
+
export declare const TUI_DATE_TIME_VALUE_TRANSFORMER: InjectionToken<TuiValueTransformer<[TuiDay, TuiTime | null], unknown>>;
|
|
15
16
|
/**
|
|
16
17
|
* Control value transformer for InputTime component
|
|
17
18
|
*/
|
|
18
|
-
export declare const TUI_TIME_VALUE_TRANSFORMER:
|
|
19
|
+
export declare const TUI_TIME_VALUE_TRANSFORMER: InjectionToken<TuiValueTransformer<TuiTime | null, unknown>>;
|
package/tokens/i18n.d.ts
CHANGED
|
@@ -1,20 +1,21 @@
|
|
|
1
|
+
import { InjectionToken } from '@angular/core';
|
|
1
2
|
import type { TuiDateMode } from '@taiga-ui/cdk/date-time';
|
|
2
3
|
import type { TuiCountryIsoCode } from '@taiga-ui/i18n/types';
|
|
3
4
|
import type { Observable } from 'rxjs';
|
|
4
|
-
export declare const TUI_CONFIRM_WORDS:
|
|
5
|
+
export declare const TUI_CONFIRM_WORDS: InjectionToken<Observable<{
|
|
5
6
|
no: string;
|
|
6
7
|
yes: string;
|
|
7
8
|
}>>;
|
|
8
|
-
export declare const TUI_CANCEL_WORD:
|
|
9
|
-
export declare const TUI_DONE_WORD:
|
|
10
|
-
export declare const TUI_MORE_WORD:
|
|
11
|
-
export declare const TUI_HIDE_TEXT:
|
|
12
|
-
export declare const TUI_SHOW_ALL_TEXT:
|
|
13
|
-
export declare const TUI_OTHER_DATE_TEXT:
|
|
14
|
-
export declare const TUI_CHOOSE_DAY_OR_RANGE_TEXTS:
|
|
15
|
-
export declare const TUI_FROM_TO_TEXTS:
|
|
16
|
-
export declare const TUI_PLUS_MINUS_TEXTS:
|
|
17
|
-
export declare const TUI_TIME_TEXTS:
|
|
9
|
+
export declare const TUI_CANCEL_WORD: InjectionToken<Observable<string>>;
|
|
10
|
+
export declare const TUI_DONE_WORD: InjectionToken<Observable<string>>;
|
|
11
|
+
export declare const TUI_MORE_WORD: InjectionToken<Observable<string>>;
|
|
12
|
+
export declare const TUI_HIDE_TEXT: InjectionToken<Observable<string>>;
|
|
13
|
+
export declare const TUI_SHOW_ALL_TEXT: InjectionToken<Observable<string>>;
|
|
14
|
+
export declare const TUI_OTHER_DATE_TEXT: InjectionToken<Observable<string>>;
|
|
15
|
+
export declare const TUI_CHOOSE_DAY_OR_RANGE_TEXTS: InjectionToken<Observable<readonly [choose_day: string, choose_range: string, choose_days: string]>>;
|
|
16
|
+
export declare const TUI_FROM_TO_TEXTS: InjectionToken<Observable<readonly [from: string, to: string]>>;
|
|
17
|
+
export declare const TUI_PLUS_MINUS_TEXTS: InjectionToken<Observable<readonly [plus: string, minus: string]>>;
|
|
18
|
+
export declare const TUI_TIME_TEXTS: InjectionToken<Observable<{
|
|
18
19
|
'MM:SS': string;
|
|
19
20
|
'HH:MM': string;
|
|
20
21
|
'HH:MM AA': string;
|
|
@@ -28,18 +29,18 @@ export declare const TUI_TIME_TEXTS: import("@angular/core").InjectionToken<Obse
|
|
|
28
29
|
'MM.SS.MSS': string;
|
|
29
30
|
'SS.MSS': string;
|
|
30
31
|
}>>;
|
|
31
|
-
export declare const TUI_DATE_TEXTS:
|
|
32
|
-
export declare const TUI_DIGITAL_INFORMATION_UNITS:
|
|
33
|
-
export declare const TUI_COPY_TEXTS:
|
|
34
|
-
export declare const TUI_PASSWORD_TEXTS:
|
|
35
|
-
export declare const TUI_CALENDAR_MONTHS:
|
|
36
|
-
export declare const TUI_FILE_TEXTS:
|
|
32
|
+
export declare const TUI_DATE_TEXTS: InjectionToken<Observable<Record<TuiDateMode, string>>>;
|
|
33
|
+
export declare const TUI_DIGITAL_INFORMATION_UNITS: InjectionToken<Observable<readonly [short_byte: string, short_kilobyte: string, short_megabyte: string]>>;
|
|
34
|
+
export declare const TUI_COPY_TEXTS: InjectionToken<Observable<readonly [copy: string, copied: string]>>;
|
|
35
|
+
export declare const TUI_PASSWORD_TEXTS: InjectionToken<Observable<readonly [show_password: string, hide_password: string]>>;
|
|
36
|
+
export declare const TUI_CALENDAR_MONTHS: InjectionToken<Observable<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]>>;
|
|
37
|
+
export declare const TUI_FILE_TEXTS: InjectionToken<Observable<{
|
|
37
38
|
loadingError: string;
|
|
38
39
|
preview: string;
|
|
39
40
|
remove: string;
|
|
40
41
|
}>>;
|
|
41
|
-
export declare const TUI_PAGINATION_TEXTS:
|
|
42
|
-
export declare const TUI_INPUT_FILE_TEXTS:
|
|
42
|
+
export declare const TUI_PAGINATION_TEXTS: InjectionToken<Observable<readonly [previous_page: string, next_page: string]>>;
|
|
43
|
+
export declare const TUI_INPUT_FILE_TEXTS: InjectionToken<Observable<{
|
|
43
44
|
defaultLabelMultiple: string;
|
|
44
45
|
defaultLabelSingle: string;
|
|
45
46
|
defaultLinkMultiple: string;
|
|
@@ -49,17 +50,17 @@ export declare const TUI_INPUT_FILE_TEXTS: import("@angular/core").InjectionToke
|
|
|
49
50
|
formatRejectionReason: string;
|
|
50
51
|
maxSizeRejectionReason: string;
|
|
51
52
|
}>>;
|
|
52
|
-
export declare const TUI_MULTI_SELECT_TEXTS:
|
|
53
|
+
export declare const TUI_MULTI_SELECT_TEXTS: InjectionToken<Observable<{
|
|
53
54
|
all: string;
|
|
54
55
|
none: string;
|
|
55
56
|
}>>;
|
|
56
|
-
export declare const TUI_COUNTRIES:
|
|
57
|
-
export declare const TUI_PREVIEW_TEXTS:
|
|
57
|
+
export declare const TUI_COUNTRIES: InjectionToken<Observable<Record<TuiCountryIsoCode, string>>>;
|
|
58
|
+
export declare const TUI_PREVIEW_TEXTS: InjectionToken<Observable<{
|
|
58
59
|
rotate: string;
|
|
59
60
|
}>>;
|
|
60
|
-
export declare const TUI_PREVIEW_ZOOM_TEXTS:
|
|
61
|
+
export declare const TUI_PREVIEW_ZOOM_TEXTS: InjectionToken<Observable<{
|
|
61
62
|
zoomIn: string;
|
|
62
63
|
zoomOut: string;
|
|
63
64
|
reset: string;
|
|
64
65
|
}>>;
|
|
65
|
-
export declare const TUI_INTERNATIONAL_SEARCH:
|
|
66
|
+
export declare const TUI_INTERNATIONAL_SEARCH: InjectionToken<Observable<string>>;
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import type { Provider } from '@angular/core';
|
|
2
|
+
import { InjectionToken } from '@angular/core';
|
|
2
3
|
import type { TuiBooleanHandler, TuiIdentityMatcher, TuiStringHandler } from '@taiga-ui/cdk/types';
|
|
3
4
|
/**
|
|
4
|
-
* @deprecated use it only for LEGACY controls. For new controls use the same entity from `@taiga-ui/
|
|
5
|
+
* @deprecated use it only for LEGACY controls. For new controls use the same entity from `@taiga-ui/core`.
|
|
5
6
|
* TODO(v5): delete
|
|
6
7
|
*/
|
|
7
8
|
export interface TuiItemsHandlers<T> {
|
|
@@ -10,17 +11,17 @@ export interface TuiItemsHandlers<T> {
|
|
|
10
11
|
readonly stringify: TuiStringHandler<T>;
|
|
11
12
|
}
|
|
12
13
|
/**
|
|
13
|
-
* @deprecated use it only for LEGACY controls. For new controls use the same entity from `@taiga-ui/
|
|
14
|
+
* @deprecated use it only for LEGACY controls. For new controls use the same entity from `@taiga-ui/core`.
|
|
14
15
|
* TODO(v5): delete
|
|
15
16
|
*/
|
|
16
17
|
export declare const TUI_DEFAULT_ITEMS_HANDLERS: TuiItemsHandlers<unknown>;
|
|
17
18
|
/**
|
|
18
|
-
* @deprecated use it only for LEGACY controls. For new controls use the same entity from `@taiga-ui/
|
|
19
|
+
* @deprecated use it only for LEGACY controls. For new controls use the same entity from `@taiga-ui/core`.
|
|
19
20
|
* TODO(v5): delete
|
|
20
21
|
*/
|
|
21
|
-
export declare const TUI_ITEMS_HANDLERS:
|
|
22
|
+
export declare const TUI_ITEMS_HANDLERS: InjectionToken<TuiItemsHandlers<unknown>>;
|
|
22
23
|
/**
|
|
23
|
-
* @deprecated use it only for LEGACY controls. For new controls use the same entity from `@taiga-ui/
|
|
24
|
+
* @deprecated use it only for LEGACY controls. For new controls use the same entity from `@taiga-ui/core`.
|
|
24
25
|
* TODO(v5): delete
|
|
25
26
|
*/
|
|
26
27
|
export declare function tuiItemsHandlersProvider<T>(options: Partial<TuiItemsHandlers<T>>): Provider;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import type { FactoryProvider, Type } from '@angular/core';
|
|
2
|
+
import { InjectionToken } from '@angular/core';
|
|
2
3
|
/**
|
|
3
4
|
* A component for mobile data picker
|
|
4
5
|
*/
|
|
5
|
-
export declare const TUI_MOBILE_CALENDAR:
|
|
6
|
+
export declare const TUI_MOBILE_CALENDAR: InjectionToken<Type<unknown>>;
|
|
6
7
|
export declare const TUI_MOBILE_CALENDAR_PROVIDER: FactoryProvider;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
+
import { InjectionToken } from '@angular/core';
|
|
1
2
|
import type { TuiMonth } from '@taiga-ui/cdk/date-time';
|
|
2
3
|
import type { TuiHandler } from '@taiga-ui/cdk/types';
|
|
3
4
|
import type { Observable } from 'rxjs';
|
|
4
|
-
export declare const TUI_MONTH_FORMATTER:
|
|
5
|
+
export declare const TUI_MONTH_FORMATTER: InjectionToken<Observable<TuiHandler<TuiMonth | null, string>>>;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type { Provider } from '@angular/core';
|
|
2
|
+
import { InjectionToken } from '@angular/core';
|
|
2
3
|
export interface TuiPreviewIcons {
|
|
3
4
|
readonly next: string;
|
|
4
5
|
readonly prev: string;
|
|
@@ -8,5 +9,5 @@ export interface TuiPreviewIcons {
|
|
|
8
9
|
readonly zoomReset: string;
|
|
9
10
|
}
|
|
10
11
|
export declare const TUI_PREVIEW_ICONS_DEFAULT: TuiPreviewIcons;
|
|
11
|
-
export declare const TUI_PREVIEW_ICONS:
|
|
12
|
+
export declare const TUI_PREVIEW_ICONS: InjectionToken<TuiPreviewIcons>;
|
|
12
13
|
export declare function tuiPreviewIconsProvider(icons: Partial<TuiPreviewIcons>): Provider;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import type { Provider } from '@angular/core';
|
|
2
|
+
import { InjectionToken } from '@angular/core';
|
|
2
3
|
import type { PolymorpheusContent } from '@taiga-ui/polymorpheus';
|
|
3
4
|
import type { Observable } from 'rxjs';
|
|
4
|
-
export declare const TUI_VALIDATION_ERRORS:
|
|
5
|
+
export declare const TUI_VALIDATION_ERRORS: InjectionToken<Record<string, PolymorpheusContent | Observable<PolymorpheusContent>>>;
|
|
5
6
|
export declare const tuiValidationErrorsProvider: (useValue: Record<string, Observable<PolymorpheusContent> | PolymorpheusContent>) => Provider;
|
package/utils/index.d.ts
CHANGED