@taiga-ui/kit 4.40.0 → 4.41.0-canary.4634537

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.
@@ -1 +1 @@
1
- {"version":3,"file":"taiga-ui-kit-utils.mjs","sources":["../../../projects/kit/utils/create-time-periods.ts","../../../projects/kit/utils/is-flat.ts","../../../projects/kit/utils/maskito.binding.ts","../../../projects/kit/utils/phone.ts","../../../projects/kit/utils/toggle-day.ts","../../../projects/kit/utils/taiga-ui-kit-utils.ts"],"sourcesContent":["import {HOURS_IN_DAY, TuiTime} from '@taiga-ui/cdk/date-time';\n\nexport function tuiCreateTimePeriods(\n minHour = 0,\n maxHour: number = HOURS_IN_DAY,\n minutes: readonly number[] = [0, 30],\n): readonly TuiTime[] {\n const timeArray: TuiTime[] = [];\n\n for (let i = minHour; i < maxHour; i++) {\n minutes.forEach((minute) => {\n const time = new TuiTime(i, minute);\n\n timeArray.push(time);\n });\n }\n\n return timeArray;\n}\n","export function tuiIsFlat<T>(\n items: ReadonlyArray<readonly T[]> | readonly T[],\n): items is readonly T[] {\n return !Array.isArray(items[0]);\n}\n","import type {Signal, WritableSignal} from '@angular/core';\nimport {MaskitoDirective} from '@maskito/angular';\nimport type {MaskitoOptions} from '@maskito/core';\nimport {tuiDirectiveBinding} from '@taiga-ui/cdk/utils';\n\ntype M = MaskitoOptions | null;\n\nexport function tuiMaskito(options: M | WritableSignal<M>): WritableSignal<M>;\nexport function tuiMaskito(options: Signal<M>): Signal<M>;\nexport function tuiMaskito(options: M | Signal<M>): Signal<M> {\n return tuiDirectiveBinding(MaskitoDirective, 'options', options);\n}\n","import {CHAR_PLUS} from '@taiga-ui/cdk/constants';\nimport type {TuiCountryIsoCode} from '@taiga-ui/i18n/types/country-iso-code';\nimport type {MetadataJson} from 'libphonenumber-js/core';\nimport {getCountryCallingCode} from 'libphonenumber-js/core';\n\nexport function tuiGetCallingCode(\n iso: TuiCountryIsoCode,\n metadata?: MetadataJson | null,\n): string {\n return metadata ? CHAR_PLUS + getCountryCallingCode(iso, metadata) : '';\n}\n","import type {TuiDay} from '@taiga-ui/cdk/date-time';\n\nexport function tuiToggleDay(\n days: readonly TuiDay[] | null,\n day: TuiDay,\n): readonly TuiDay[] {\n return (\n (days?.find((item) => item.daySame(day))\n ? days.filter((item) => !item.daySame(day))\n : days?.concat(day)) || []\n );\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;AAEgB,SAAA,oBAAoB,CAChC,OAAO,GAAG,CAAC,EACX,OAAkB,GAAA,YAAY,EAC9B,OAA6B,GAAA,CAAC,CAAC,EAAE,EAAE,CAAC,EAAA;IAEpC,MAAM,SAAS,GAAc,EAAE,CAAC;IAEhC,KAAK,IAAI,CAAC,GAAG,OAAO,EAAE,CAAC,GAAG,OAAO,EAAE,CAAC,EAAE,EAAE;AACpC,QAAA,OAAO,CAAC,OAAO,CAAC,CAAC,MAAM,KAAI;YACvB,MAAM,IAAI,GAAG,IAAI,OAAO,CAAC,CAAC,EAAE,MAAM,CAAC,CAAC;AAEpC,YAAA,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;AACzB,SAAC,CAAC,CAAC;AACN,KAAA;AAED,IAAA,OAAO,SAAS,CAAC;AACrB;;AClBM,SAAU,SAAS,CACrB,KAAiD,EAAA;IAEjD,OAAO,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC;AACpC;;ACKM,SAAU,UAAU,CAAC,OAAsB,EAAA;IAC7C,OAAO,mBAAmB,CAAC,gBAAgB,EAAE,SAAS,EAAE,OAAO,CAAC,CAAC;AACrE;;ACNgB,SAAA,iBAAiB,CAC7B,GAAsB,EACtB,QAA8B,EAAA;AAE9B,IAAA,OAAO,QAAQ,GAAG,SAAS,GAAG,qBAAqB,CAAC,GAAG,EAAE,QAAQ,CAAC,GAAG,EAAE,CAAC;AAC5E;;ACRgB,SAAA,YAAY,CACxB,IAA8B,EAC9B,GAAW,EAAA;AAEX,IAAA,QACI,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC,IAAI,KAAK,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC;AACpC,UAAE,IAAI,CAAC,MAAM,CAAC,CAAC,IAAI,KAAK,CAAC,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC;UACzC,IAAI,EAAE,MAAM,CAAC,GAAG,CAAC,KAAK,EAAE,EAChC;AACN;;ACXA;;AAEG;;;;"}
1
+ {"version":3,"file":"taiga-ui-kit-utils.mjs","sources":["../../../projects/kit/utils/create-time-periods.ts","../../../projects/kit/utils/is-flat.ts","../../../projects/kit/utils/maskito.binding.ts","../../../projects/kit/utils/phone.ts","../../../projects/kit/utils/toggle-day.ts","../../../projects/kit/utils/taiga-ui-kit-utils.ts"],"sourcesContent":["import {HOURS_IN_DAY, TuiTime} from '@taiga-ui/cdk/date-time';\n\nexport function tuiCreateTimePeriods(\n minHour = 0,\n maxHour: number = HOURS_IN_DAY,\n minutes: readonly number[] = [0, 30],\n): readonly TuiTime[] {\n const timeArray: TuiTime[] = [];\n\n for (let i = minHour; i < maxHour; i++) {\n minutes.forEach((minute) => {\n const time = new TuiTime(i, minute);\n\n timeArray.push(time);\n });\n }\n\n return timeArray;\n}\n","export function tuiIsFlat<T>(\n items: ReadonlyArray<readonly T[]> | readonly T[],\n): items is readonly T[] {\n return !Array.isArray(items[0]);\n}\n","import type {Signal, WritableSignal} from '@angular/core';\nimport {MaskitoDirective} from '@maskito/angular';\nimport type {MaskitoOptions} from '@maskito/core';\nimport {tuiDirectiveBinding} from '@taiga-ui/cdk/utils';\n\ntype M = MaskitoOptions | null;\n\nexport function tuiMaskito(options: M | WritableSignal<M>): WritableSignal<M>;\nexport function tuiMaskito(options: Signal<M>): Signal<M>;\nexport function tuiMaskito(options: M | Signal<M>): Signal<M> {\n return tuiDirectiveBinding(MaskitoDirective, 'options', options);\n}\n","import {CHAR_PLUS} from '@taiga-ui/cdk/constants';\nimport type {TuiCountryIsoCode} from '@taiga-ui/i18n/types';\nimport type {MetadataJson} from 'libphonenumber-js/core';\nimport {getCountryCallingCode} from 'libphonenumber-js/core';\n\nexport function tuiGetCallingCode(\n iso: TuiCountryIsoCode,\n metadata?: MetadataJson | null,\n): string {\n return metadata ? CHAR_PLUS + getCountryCallingCode(iso, metadata) : '';\n}\n","import type {TuiDay} from '@taiga-ui/cdk/date-time';\n\nexport function tuiToggleDay(\n days: readonly TuiDay[] | null,\n day: TuiDay,\n): readonly TuiDay[] {\n return (\n (days?.find((item) => item.daySame(day))\n ? days.filter((item) => !item.daySame(day))\n : days?.concat(day)) || []\n );\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;AAEgB,SAAA,oBAAoB,CAChC,OAAO,GAAG,CAAC,EACX,OAAkB,GAAA,YAAY,EAC9B,OAA6B,GAAA,CAAC,CAAC,EAAE,EAAE,CAAC,EAAA;IAEpC,MAAM,SAAS,GAAc,EAAE,CAAC;IAEhC,KAAK,IAAI,CAAC,GAAG,OAAO,EAAE,CAAC,GAAG,OAAO,EAAE,CAAC,EAAE,EAAE;AACpC,QAAA,OAAO,CAAC,OAAO,CAAC,CAAC,MAAM,KAAI;YACvB,MAAM,IAAI,GAAG,IAAI,OAAO,CAAC,CAAC,EAAE,MAAM,CAAC,CAAC;AAEpC,YAAA,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;AACzB,SAAC,CAAC,CAAC;AACN,KAAA;AAED,IAAA,OAAO,SAAS,CAAC;AACrB;;AClBM,SAAU,SAAS,CACrB,KAAiD,EAAA;IAEjD,OAAO,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC;AACpC;;ACKM,SAAU,UAAU,CAAC,OAAsB,EAAA;IAC7C,OAAO,mBAAmB,CAAC,gBAAgB,EAAE,SAAS,EAAE,OAAO,CAAC,CAAC;AACrE;;ACNgB,SAAA,iBAAiB,CAC7B,GAAsB,EACtB,QAA8B,EAAA;AAE9B,IAAA,OAAO,QAAQ,GAAG,SAAS,GAAG,qBAAqB,CAAC,GAAG,EAAE,QAAQ,CAAC,GAAG,EAAE,CAAC;AAC5E;;ACRgB,SAAA,YAAY,CACxB,IAA8B,EAC9B,GAAW,EAAA;AAEX,IAAA,QACI,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC,IAAI,KAAK,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC;AACpC,UAAE,IAAI,CAAC,MAAM,CAAC,CAAC,IAAI,KAAK,CAAC,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC;UACzC,IAAI,EAAE,MAAM,CAAC,GAAG,CAAC,KAAK,EAAE,EAChC;AACN;;ACXA;;AAEG;;;;"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@taiga-ui/kit",
3
- "version": "4.40.0",
3
+ "version": "4.41.0-canary.4634537",
4
4
  "description": "Taiga UI Angular main components kit",
5
5
  "keywords": [
6
6
  "angular",
@@ -23,18 +23,18 @@
23
23
  "esm": "./esm2022/taiga-ui-kit.mjs",
24
24
  "default": "./fesm2022/taiga-ui-kit.mjs"
25
25
  },
26
- "./directives": {
27
- "types": "./directives/index.d.ts",
28
- "esm2022": "./esm2022/directives/taiga-ui-kit-directives.mjs",
29
- "esm": "./esm2022/directives/taiga-ui-kit-directives.mjs",
30
- "default": "./fesm2022/taiga-ui-kit-directives.mjs"
31
- },
32
26
  "./components": {
33
27
  "types": "./components/index.d.ts",
34
28
  "esm2022": "./esm2022/components/taiga-ui-kit-components.mjs",
35
29
  "esm": "./esm2022/components/taiga-ui-kit-components.mjs",
36
30
  "default": "./fesm2022/taiga-ui-kit-components.mjs"
37
31
  },
32
+ "./directives": {
33
+ "types": "./directives/index.d.ts",
34
+ "esm2022": "./esm2022/directives/taiga-ui-kit-directives.mjs",
35
+ "esm": "./esm2022/directives/taiga-ui-kit-directives.mjs",
36
+ "default": "./fesm2022/taiga-ui-kit-directives.mjs"
37
+ },
38
38
  "./pipes": {
39
39
  "types": "./pipes/index.d.ts",
40
40
  "esm2022": "./esm2022/pipes/taiga-ui-kit-pipes.mjs",
@@ -53,120 +53,6 @@
53
53
  "esm": "./esm2022/utils/taiga-ui-kit-utils.mjs",
54
54
  "default": "./fesm2022/taiga-ui-kit-utils.mjs"
55
55
  },
56
- "./directives/button-close": {
57
- "types": "./directives/button-close/index.d.ts",
58
- "esm2022": "./esm2022/directives/button-close/taiga-ui-kit-directives-button-close.mjs",
59
- "esm": "./esm2022/directives/button-close/taiga-ui-kit-directives-button-close.mjs",
60
- "default": "./fesm2022/taiga-ui-kit-directives-button-close.mjs"
61
- },
62
- "./directives/button-group": {
63
- "types": "./directives/button-group/index.d.ts",
64
- "esm2022": "./esm2022/directives/button-group/taiga-ui-kit-directives-button-group.mjs",
65
- "esm": "./esm2022/directives/button-group/taiga-ui-kit-directives-button-group.mjs",
66
- "default": "./fesm2022/taiga-ui-kit-directives-button-group.mjs"
67
- },
68
- "./directives/button-select": {
69
- "types": "./directives/button-select/index.d.ts",
70
- "esm2022": "./esm2022/directives/button-select/taiga-ui-kit-directives-button-select.mjs",
71
- "esm": "./esm2022/directives/button-select/taiga-ui-kit-directives-button-select.mjs",
72
- "default": "./fesm2022/taiga-ui-kit-directives-button-select.mjs"
73
- },
74
- "./directives/chevron": {
75
- "types": "./directives/chevron/index.d.ts",
76
- "esm2022": "./esm2022/directives/chevron/taiga-ui-kit-directives-chevron.mjs",
77
- "esm": "./esm2022/directives/chevron/taiga-ui-kit-directives-chevron.mjs",
78
- "default": "./fesm2022/taiga-ui-kit-directives-chevron.mjs"
79
- },
80
- "./directives/connected": {
81
- "types": "./directives/connected/index.d.ts",
82
- "esm2022": "./esm2022/directives/connected/taiga-ui-kit-directives-connected.mjs",
83
- "esm": "./esm2022/directives/connected/taiga-ui-kit-directives-connected.mjs",
84
- "default": "./fesm2022/taiga-ui-kit-directives-connected.mjs"
85
- },
86
- "./directives/copy": {
87
- "types": "./directives/copy/index.d.ts",
88
- "esm2022": "./esm2022/directives/copy/taiga-ui-kit-directives-copy.mjs",
89
- "esm": "./esm2022/directives/copy/taiga-ui-kit-directives-copy.mjs",
90
- "default": "./fesm2022/taiga-ui-kit-directives-copy.mjs"
91
- },
92
- "./directives/data-list-dropdown-manager": {
93
- "types": "./directives/data-list-dropdown-manager/index.d.ts",
94
- "esm2022": "./esm2022/directives/data-list-dropdown-manager/taiga-ui-kit-directives-data-list-dropdown-manager.mjs",
95
- "esm": "./esm2022/directives/data-list-dropdown-manager/taiga-ui-kit-directives-data-list-dropdown-manager.mjs",
96
- "default": "./fesm2022/taiga-ui-kit-directives-data-list-dropdown-manager.mjs"
97
- },
98
- "./directives/fade": {
99
- "types": "./directives/fade/index.d.ts",
100
- "esm2022": "./esm2022/directives/fade/taiga-ui-kit-directives-fade.mjs",
101
- "esm": "./esm2022/directives/fade/taiga-ui-kit-directives-fade.mjs",
102
- "default": "./fesm2022/taiga-ui-kit-directives-fade.mjs"
103
- },
104
- "./directives/fluid-typography": {
105
- "types": "./directives/fluid-typography/index.d.ts",
106
- "esm2022": "./esm2022/directives/fluid-typography/taiga-ui-kit-directives-fluid-typography.mjs",
107
- "esm": "./esm2022/directives/fluid-typography/taiga-ui-kit-directives-fluid-typography.mjs",
108
- "default": "./fesm2022/taiga-ui-kit-directives-fluid-typography.mjs"
109
- },
110
- "./directives/highlight": {
111
- "types": "./directives/highlight/index.d.ts",
112
- "esm2022": "./esm2022/directives/highlight/taiga-ui-kit-directives-highlight.mjs",
113
- "esm": "./esm2022/directives/highlight/taiga-ui-kit-directives-highlight.mjs",
114
- "default": "./fesm2022/taiga-ui-kit-directives-highlight.mjs"
115
- },
116
- "./directives/icon-badge": {
117
- "types": "./directives/icon-badge/index.d.ts",
118
- "esm2022": "./esm2022/directives/icon-badge/taiga-ui-kit-directives-icon-badge.mjs",
119
- "esm": "./esm2022/directives/icon-badge/taiga-ui-kit-directives-icon-badge.mjs",
120
- "default": "./fesm2022/taiga-ui-kit-directives-icon-badge.mjs"
121
- },
122
- "./directives/lazy-loading": {
123
- "types": "./directives/lazy-loading/index.d.ts",
124
- "esm2022": "./esm2022/directives/lazy-loading/taiga-ui-kit-directives-lazy-loading.mjs",
125
- "esm": "./esm2022/directives/lazy-loading/taiga-ui-kit-directives-lazy-loading.mjs",
126
- "default": "./fesm2022/taiga-ui-kit-directives-lazy-loading.mjs"
127
- },
128
- "./directives/password": {
129
- "types": "./directives/password/index.d.ts",
130
- "esm2022": "./esm2022/directives/password/taiga-ui-kit-directives-password.mjs",
131
- "esm": "./esm2022/directives/password/taiga-ui-kit-directives-password.mjs",
132
- "default": "./fesm2022/taiga-ui-kit-directives-password.mjs"
133
- },
134
- "./directives/present": {
135
- "types": "./directives/present/index.d.ts",
136
- "esm2022": "./esm2022/directives/present/taiga-ui-kit-directives-present.mjs",
137
- "esm": "./esm2022/directives/present/taiga-ui-kit-directives-present.mjs",
138
- "default": "./fesm2022/taiga-ui-kit-directives-present.mjs"
139
- },
140
- "./directives/sensitive": {
141
- "types": "./directives/sensitive/index.d.ts",
142
- "esm2022": "./esm2022/directives/sensitive/taiga-ui-kit-directives-sensitive.mjs",
143
- "esm": "./esm2022/directives/sensitive/taiga-ui-kit-directives-sensitive.mjs",
144
- "default": "./fesm2022/taiga-ui-kit-directives-sensitive.mjs"
145
- },
146
- "./directives/skeleton": {
147
- "types": "./directives/skeleton/index.d.ts",
148
- "esm2022": "./esm2022/directives/skeleton/taiga-ui-kit-directives-skeleton.mjs",
149
- "esm": "./esm2022/directives/skeleton/taiga-ui-kit-directives-skeleton.mjs",
150
- "default": "./fesm2022/taiga-ui-kit-directives-skeleton.mjs"
151
- },
152
- "./directives/tooltip": {
153
- "types": "./directives/tooltip/index.d.ts",
154
- "esm2022": "./esm2022/directives/tooltip/taiga-ui-kit-directives-tooltip.mjs",
155
- "esm": "./esm2022/directives/tooltip/taiga-ui-kit-directives-tooltip.mjs",
156
- "default": "./fesm2022/taiga-ui-kit-directives-tooltip.mjs"
157
- },
158
- "./directives/unfinished-validator": {
159
- "types": "./directives/unfinished-validator/index.d.ts",
160
- "esm2022": "./esm2022/directives/unfinished-validator/taiga-ui-kit-directives-unfinished-validator.mjs",
161
- "esm": "./esm2022/directives/unfinished-validator/taiga-ui-kit-directives-unfinished-validator.mjs",
162
- "default": "./fesm2022/taiga-ui-kit-directives-unfinished-validator.mjs"
163
- },
164
- "./directives/unmask-handler": {
165
- "types": "./directives/unmask-handler/index.d.ts",
166
- "esm2022": "./esm2022/directives/unmask-handler/taiga-ui-kit-directives-unmask-handler.mjs",
167
- "esm": "./esm2022/directives/unmask-handler/taiga-ui-kit-directives-unmask-handler.mjs",
168
- "default": "./fesm2022/taiga-ui-kit-directives-unmask-handler.mjs"
169
- },
170
56
  "./components/accordion": {
171
57
  "types": "./components/accordion/index.d.ts",
172
58
  "esm2022": "./esm2022/components/accordion/taiga-ui-kit-components-accordion.mjs",
@@ -533,6 +419,120 @@
533
419
  "esm": "./esm2022/components/tree/taiga-ui-kit-components-tree.mjs",
534
420
  "default": "./fesm2022/taiga-ui-kit-components-tree.mjs"
535
421
  },
422
+ "./directives/button-close": {
423
+ "types": "./directives/button-close/index.d.ts",
424
+ "esm2022": "./esm2022/directives/button-close/taiga-ui-kit-directives-button-close.mjs",
425
+ "esm": "./esm2022/directives/button-close/taiga-ui-kit-directives-button-close.mjs",
426
+ "default": "./fesm2022/taiga-ui-kit-directives-button-close.mjs"
427
+ },
428
+ "./directives/button-group": {
429
+ "types": "./directives/button-group/index.d.ts",
430
+ "esm2022": "./esm2022/directives/button-group/taiga-ui-kit-directives-button-group.mjs",
431
+ "esm": "./esm2022/directives/button-group/taiga-ui-kit-directives-button-group.mjs",
432
+ "default": "./fesm2022/taiga-ui-kit-directives-button-group.mjs"
433
+ },
434
+ "./directives/button-select": {
435
+ "types": "./directives/button-select/index.d.ts",
436
+ "esm2022": "./esm2022/directives/button-select/taiga-ui-kit-directives-button-select.mjs",
437
+ "esm": "./esm2022/directives/button-select/taiga-ui-kit-directives-button-select.mjs",
438
+ "default": "./fesm2022/taiga-ui-kit-directives-button-select.mjs"
439
+ },
440
+ "./directives/chevron": {
441
+ "types": "./directives/chevron/index.d.ts",
442
+ "esm2022": "./esm2022/directives/chevron/taiga-ui-kit-directives-chevron.mjs",
443
+ "esm": "./esm2022/directives/chevron/taiga-ui-kit-directives-chevron.mjs",
444
+ "default": "./fesm2022/taiga-ui-kit-directives-chevron.mjs"
445
+ },
446
+ "./directives/connected": {
447
+ "types": "./directives/connected/index.d.ts",
448
+ "esm2022": "./esm2022/directives/connected/taiga-ui-kit-directives-connected.mjs",
449
+ "esm": "./esm2022/directives/connected/taiga-ui-kit-directives-connected.mjs",
450
+ "default": "./fesm2022/taiga-ui-kit-directives-connected.mjs"
451
+ },
452
+ "./directives/copy": {
453
+ "types": "./directives/copy/index.d.ts",
454
+ "esm2022": "./esm2022/directives/copy/taiga-ui-kit-directives-copy.mjs",
455
+ "esm": "./esm2022/directives/copy/taiga-ui-kit-directives-copy.mjs",
456
+ "default": "./fesm2022/taiga-ui-kit-directives-copy.mjs"
457
+ },
458
+ "./directives/data-list-dropdown-manager": {
459
+ "types": "./directives/data-list-dropdown-manager/index.d.ts",
460
+ "esm2022": "./esm2022/directives/data-list-dropdown-manager/taiga-ui-kit-directives-data-list-dropdown-manager.mjs",
461
+ "esm": "./esm2022/directives/data-list-dropdown-manager/taiga-ui-kit-directives-data-list-dropdown-manager.mjs",
462
+ "default": "./fesm2022/taiga-ui-kit-directives-data-list-dropdown-manager.mjs"
463
+ },
464
+ "./directives/fade": {
465
+ "types": "./directives/fade/index.d.ts",
466
+ "esm2022": "./esm2022/directives/fade/taiga-ui-kit-directives-fade.mjs",
467
+ "esm": "./esm2022/directives/fade/taiga-ui-kit-directives-fade.mjs",
468
+ "default": "./fesm2022/taiga-ui-kit-directives-fade.mjs"
469
+ },
470
+ "./directives/fluid-typography": {
471
+ "types": "./directives/fluid-typography/index.d.ts",
472
+ "esm2022": "./esm2022/directives/fluid-typography/taiga-ui-kit-directives-fluid-typography.mjs",
473
+ "esm": "./esm2022/directives/fluid-typography/taiga-ui-kit-directives-fluid-typography.mjs",
474
+ "default": "./fesm2022/taiga-ui-kit-directives-fluid-typography.mjs"
475
+ },
476
+ "./directives/highlight": {
477
+ "types": "./directives/highlight/index.d.ts",
478
+ "esm2022": "./esm2022/directives/highlight/taiga-ui-kit-directives-highlight.mjs",
479
+ "esm": "./esm2022/directives/highlight/taiga-ui-kit-directives-highlight.mjs",
480
+ "default": "./fesm2022/taiga-ui-kit-directives-highlight.mjs"
481
+ },
482
+ "./directives/icon-badge": {
483
+ "types": "./directives/icon-badge/index.d.ts",
484
+ "esm2022": "./esm2022/directives/icon-badge/taiga-ui-kit-directives-icon-badge.mjs",
485
+ "esm": "./esm2022/directives/icon-badge/taiga-ui-kit-directives-icon-badge.mjs",
486
+ "default": "./fesm2022/taiga-ui-kit-directives-icon-badge.mjs"
487
+ },
488
+ "./directives/lazy-loading": {
489
+ "types": "./directives/lazy-loading/index.d.ts",
490
+ "esm2022": "./esm2022/directives/lazy-loading/taiga-ui-kit-directives-lazy-loading.mjs",
491
+ "esm": "./esm2022/directives/lazy-loading/taiga-ui-kit-directives-lazy-loading.mjs",
492
+ "default": "./fesm2022/taiga-ui-kit-directives-lazy-loading.mjs"
493
+ },
494
+ "./directives/password": {
495
+ "types": "./directives/password/index.d.ts",
496
+ "esm2022": "./esm2022/directives/password/taiga-ui-kit-directives-password.mjs",
497
+ "esm": "./esm2022/directives/password/taiga-ui-kit-directives-password.mjs",
498
+ "default": "./fesm2022/taiga-ui-kit-directives-password.mjs"
499
+ },
500
+ "./directives/present": {
501
+ "types": "./directives/present/index.d.ts",
502
+ "esm2022": "./esm2022/directives/present/taiga-ui-kit-directives-present.mjs",
503
+ "esm": "./esm2022/directives/present/taiga-ui-kit-directives-present.mjs",
504
+ "default": "./fesm2022/taiga-ui-kit-directives-present.mjs"
505
+ },
506
+ "./directives/sensitive": {
507
+ "types": "./directives/sensitive/index.d.ts",
508
+ "esm2022": "./esm2022/directives/sensitive/taiga-ui-kit-directives-sensitive.mjs",
509
+ "esm": "./esm2022/directives/sensitive/taiga-ui-kit-directives-sensitive.mjs",
510
+ "default": "./fesm2022/taiga-ui-kit-directives-sensitive.mjs"
511
+ },
512
+ "./directives/skeleton": {
513
+ "types": "./directives/skeleton/index.d.ts",
514
+ "esm2022": "./esm2022/directives/skeleton/taiga-ui-kit-directives-skeleton.mjs",
515
+ "esm": "./esm2022/directives/skeleton/taiga-ui-kit-directives-skeleton.mjs",
516
+ "default": "./fesm2022/taiga-ui-kit-directives-skeleton.mjs"
517
+ },
518
+ "./directives/tooltip": {
519
+ "types": "./directives/tooltip/index.d.ts",
520
+ "esm2022": "./esm2022/directives/tooltip/taiga-ui-kit-directives-tooltip.mjs",
521
+ "esm": "./esm2022/directives/tooltip/taiga-ui-kit-directives-tooltip.mjs",
522
+ "default": "./fesm2022/taiga-ui-kit-directives-tooltip.mjs"
523
+ },
524
+ "./directives/unfinished-validator": {
525
+ "types": "./directives/unfinished-validator/index.d.ts",
526
+ "esm2022": "./esm2022/directives/unfinished-validator/taiga-ui-kit-directives-unfinished-validator.mjs",
527
+ "esm": "./esm2022/directives/unfinished-validator/taiga-ui-kit-directives-unfinished-validator.mjs",
528
+ "default": "./fesm2022/taiga-ui-kit-directives-unfinished-validator.mjs"
529
+ },
530
+ "./directives/unmask-handler": {
531
+ "types": "./directives/unmask-handler/index.d.ts",
532
+ "esm2022": "./esm2022/directives/unmask-handler/taiga-ui-kit-directives-unmask-handler.mjs",
533
+ "esm": "./esm2022/directives/unmask-handler/taiga-ui-kit-directives-unmask-handler.mjs",
534
+ "default": "./fesm2022/taiga-ui-kit-directives-unmask-handler.mjs"
535
+ },
536
536
  "./pipes/emails": {
537
537
  "types": "./pipes/emails/index.d.ts",
538
538
  "esm2022": "./esm2022/pipes/emails/taiga-ui-kit-pipes-emails.mjs",
@@ -574,12 +574,6 @@
574
574
  "esm2022": "./esm2022/components/preview/preview-dialog/taiga-ui-kit-components-preview-preview-dialog.mjs",
575
575
  "esm": "./esm2022/components/preview/preview-dialog/taiga-ui-kit-components-preview-preview-dialog.mjs",
576
576
  "default": "./fesm2022/taiga-ui-kit-components-preview-preview-dialog.mjs"
577
- },
578
- "./components/progress/progress-segmented": {
579
- "types": "./components/progress/progress-segmented/index.d.ts",
580
- "esm2022": "./esm2022/components/progress/progress-segmented/taiga-ui-kit-components-progress-progress-segmented.mjs",
581
- "esm": "./esm2022/components/progress/progress-segmented/taiga-ui-kit-components-progress-progress-segmented.mjs",
582
- "default": "./fesm2022/taiga-ui-kit-components-progress-progress-segmented.mjs"
583
577
  }
584
578
  },
585
579
  "peerDependencies": {
@@ -587,17 +581,17 @@
587
581
  "@angular/core": ">=16.0.0",
588
582
  "@angular/forms": ">=16.0.0",
589
583
  "@angular/router": ">=16.0.0",
590
- "@maskito/angular": "^3.8.0",
591
- "@maskito/core": "^3.8.0",
592
- "@maskito/kit": "^3.8.0",
593
- "@maskito/phone": "^3.8.0",
584
+ "@maskito/angular": "^3.9.0",
585
+ "@maskito/core": "^3.9.0",
586
+ "@maskito/kit": "^3.9.0",
587
+ "@maskito/phone": "^3.9.0",
594
588
  "@ng-web-apis/common": "^4.12.0",
595
589
  "@ng-web-apis/intersection-observer": "^4.12.0",
596
590
  "@ng-web-apis/mutation-observer": "^4.12.0",
597
591
  "@ng-web-apis/resize-observer": "^4.12.0",
598
- "@taiga-ui/cdk": "^4.40.0",
599
- "@taiga-ui/core": "^4.40.0",
600
- "@taiga-ui/i18n": "^4.40.0",
592
+ "@taiga-ui/cdk": "^4.41.0",
593
+ "@taiga-ui/core": "^4.41.0",
594
+ "@taiga-ui/i18n": "^4.41.0",
601
595
  "@taiga-ui/polymorpheus": "^4.9.0",
602
596
  "rxjs": ">=7.0.0"
603
597
  },
package/tokens/i18n.d.ts CHANGED
@@ -22,6 +22,11 @@ export declare const TUI_TIME_TEXTS: import("@angular/core").InjectionToken<Obse
22
22
  'HH:MM:SS AA': string;
23
23
  'HH:MM:SS.MSS': string;
24
24
  'HH:MM:SS.MSS AA': string;
25
+ 'HH AA': string;
26
+ HH: string;
27
+ 'MM:SS.MSS': string;
28
+ 'MM.SS.MSS': string;
29
+ 'SS.MSS': string;
25
30
  }>>;
26
31
  export declare const TUI_DATE_TEXTS: import("@angular/core").InjectionToken<Observable<Record<TuiDateMode, string>>>;
27
32
  export declare const TUI_DIGITAL_INFORMATION_UNITS: import("@angular/core").InjectionToken<Observable<readonly [short_byte: string, short_kilobyte: string, short_megabyte: string]>>;
package/utils/phone.d.ts CHANGED
@@ -1,3 +1,3 @@
1
- import type { TuiCountryIsoCode } from '@taiga-ui/i18n/types/country-iso-code';
1
+ import type { TuiCountryIsoCode } from '@taiga-ui/i18n/types';
2
2
  import type { MetadataJson } from 'libphonenumber-js/core';
3
3
  export declare function tuiGetCallingCode(iso: TuiCountryIsoCode, metadata?: MetadataJson | null): string;
@@ -1 +0,0 @@
1
- export * from './progress-segmented.directive';
@@ -1,2 +0,0 @@
1
- export * from './progress-segmented.directive';
2
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9raXQvY29tcG9uZW50cy9wcm9ncmVzcy9wcm9ncmVzcy1zZWdtZW50ZWQvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsY0FBYyxnQ0FBZ0MsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCAqIGZyb20gJy4vcHJvZ3Jlc3Mtc2VnbWVudGVkLmRpcmVjdGl2ZSc7XG4iXX0=
@@ -1,5 +0,0 @@
1
- /**
2
- * Generated bundle index. Do not edit.
3
- */
4
- export * from './index';
5
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGFpZ2EtdWkta2l0LWNvbXBvbmVudHMtcHJvZ3Jlc3MtcHJvZ3Jlc3Mtc2VnbWVudGVkLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMva2l0L2NvbXBvbmVudHMvcHJvZ3Jlc3MvcHJvZ3Jlc3Mtc2VnbWVudGVkL3RhaWdhLXVpLWtpdC1jb21wb25lbnRzLXByb2dyZXNzLXByb2dyZXNzLXNlZ21lbnRlZC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTs7R0FFRztBQUVILGNBQWMsU0FBUyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBHZW5lcmF0ZWQgYnVuZGxlIGluZGV4LiBEbyBub3QgZWRpdC5cbiAqL1xuXG5leHBvcnQgKiBmcm9tICcuL2luZGV4JztcbiJdfQ==
@@ -1,40 +0,0 @@
1
- import * as i0 from '@angular/core';
2
- import { Component, ViewEncapsulation, ChangeDetectionStrategy, Directive, Input } from '@angular/core';
3
- import { tuiWithStyles } from '@taiga-ui/cdk/utils/miscellaneous';
4
-
5
- class TuiProgressSegmentedStyles {
6
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiProgressSegmentedStyles, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
7
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: TuiProgressSegmentedStyles, isStandalone: true, selector: "ng-component", host: { classAttribute: "tui-progress-segmented" }, ngImport: i0, template: '', isInline: true, styles: ["[tuiProgressBar]._segmented{--tui-segment-gap: .5rem;-webkit-mask-image:radial-gradient(circle closest-side at calc(var(--t-height) / 2) center,#999 0 99%,transparent calc(99% + .6px) 100%),radial-gradient(circle closest-side at calc(100% - calc(var(--t-height) / 2) - var(--tui-segment-gap)) center,#999 0 99%,transparent calc(99% + .6px) 100%),linear-gradient(to right,transparent 0 calc(var(--t-height) / 2),#999 calc(var(--t-height) / 2) calc(100% - calc(var(--t-height) / 2) - var(--tui-segment-gap)),transparent calc(100% - calc(var(--t-height) / 2) - var(--tui-segment-gap)));mask-image:radial-gradient(circle closest-side at calc(var(--t-height) / 2) center,#999 0 99%,transparent calc(99% + .6px) 100%),radial-gradient(circle closest-side at calc(100% - calc(var(--t-height) / 2) - var(--tui-segment-gap)) center,#999 0 99%,transparent calc(99% + .6px) 100%),linear-gradient(to right,transparent 0 calc(var(--t-height) / 2),#999 calc(var(--t-height) / 2) calc(100% - calc(var(--t-height) / 2) - var(--tui-segment-gap)),transparent calc(100% - calc(var(--t-height) / 2) - var(--tui-segment-gap)));-webkit-mask-size:calc(100% * var(--t-segment-width) + var(--tui-segment-gap) * var(--t-segment-width));mask-size:calc(100% * var(--t-segment-width) + var(--tui-segment-gap) * var(--t-segment-width))}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
8
- }
9
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiProgressSegmentedStyles, decorators: [{
10
- type: Component,
11
- args: [{ standalone: true, template: '', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, host: { class: 'tui-progress-segmented' }, styles: ["[tuiProgressBar]._segmented{--tui-segment-gap: .5rem;-webkit-mask-image:radial-gradient(circle closest-side at calc(var(--t-height) / 2) center,#999 0 99%,transparent calc(99% + .6px) 100%),radial-gradient(circle closest-side at calc(100% - calc(var(--t-height) / 2) - var(--tui-segment-gap)) center,#999 0 99%,transparent calc(99% + .6px) 100%),linear-gradient(to right,transparent 0 calc(var(--t-height) / 2),#999 calc(var(--t-height) / 2) calc(100% - calc(var(--t-height) / 2) - var(--tui-segment-gap)),transparent calc(100% - calc(var(--t-height) / 2) - var(--tui-segment-gap)));mask-image:radial-gradient(circle closest-side at calc(var(--t-height) / 2) center,#999 0 99%,transparent calc(99% + .6px) 100%),radial-gradient(circle closest-side at calc(100% - calc(var(--t-height) / 2) - var(--tui-segment-gap)) center,#999 0 99%,transparent calc(99% + .6px) 100%),linear-gradient(to right,transparent 0 calc(var(--t-height) / 2),#999 calc(var(--t-height) / 2) calc(100% - calc(var(--t-height) / 2) - var(--tui-segment-gap)),transparent calc(100% - calc(var(--t-height) / 2) - var(--tui-segment-gap)));-webkit-mask-size:calc(100% * var(--t-segment-width) + var(--tui-segment-gap) * var(--t-segment-width));mask-size:calc(100% * var(--t-segment-width) + var(--tui-segment-gap) * var(--t-segment-width))}\n"] }]
12
- }] });
13
- class TuiProgressSegmented {
14
- constructor() {
15
- this.nothing = tuiWithStyles(TuiProgressSegmentedStyles);
16
- this.segments = 1;
17
- }
18
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiProgressSegmented, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
19
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: TuiProgressSegmented, isStandalone: true, selector: "[tuiProgressBar][segments]", inputs: { segments: "segments" }, host: { properties: { "style.--t-segment-width": "1 / segments" }, classAttribute: "_segmented" }, ngImport: i0 }); }
20
- }
21
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiProgressSegmented, decorators: [{
22
- type: Directive,
23
- args: [{
24
- standalone: true,
25
- selector: '[tuiProgressBar][segments]',
26
- host: {
27
- class: '_segmented',
28
- '[style.--t-segment-width]': '1 / segments',
29
- },
30
- }]
31
- }], propDecorators: { segments: [{
32
- type: Input
33
- }] } });
34
-
35
- /**
36
- * Generated bundle index. Do not edit.
37
- */
38
-
39
- export { TuiProgressSegmented };
40
- //# sourceMappingURL=taiga-ui-kit-components-progress-progress-segmented.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"taiga-ui-kit-components-progress-progress-segmented.mjs","sources":["../../../projects/kit/components/progress/progress-segmented/progress-segmented.directive.ts","../../../projects/kit/components/progress/progress-segmented/taiga-ui-kit-components-progress-progress-segmented.ts"],"sourcesContent":["import {\n ChangeDetectionStrategy,\n Component,\n Directive,\n Input,\n ViewEncapsulation,\n} from '@angular/core';\nimport {tuiWithStyles} from '@taiga-ui/cdk/utils/miscellaneous';\n\n@Component({\n standalone: true,\n template: '',\n styleUrls: ['./progress-segmented.style.less'],\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n host: {class: 'tui-progress-segmented'},\n})\nclass TuiProgressSegmentedStyles {}\n\n@Directive({\n standalone: true,\n selector: '[tuiProgressBar][segments]',\n host: {\n class: '_segmented',\n '[style.--t-segment-width]': '1 / segments',\n },\n})\nexport class TuiProgressSegmented {\n protected readonly nothing = tuiWithStyles(TuiProgressSegmentedStyles);\n\n @Input()\n public segments = 1;\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;AASA,MAQM,0BAA0B,CAAA;+GAA1B,0BAA0B,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA,EAAA;AAA1B,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,IAAA,EAAA,0BAA0B,4HANlB,EAAE,EAAA,QAAA,EAAA,IAAA,EAAA,MAAA,EAAA,CAAA,6xCAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,aAAA,EAAA,EAAA,CAAA,iBAAA,CAAA,IAAA,EAAA,CAAA,CAAA,EAAA;;4FAMV,0BAA0B,EAAA,UAAA,EAAA,CAAA;kBAR/B,SAAS;AACM,YAAA,IAAA,EAAA,CAAA,EAAA,UAAA,EAAA,IAAI,EACN,QAAA,EAAA,EAAE,EAEG,aAAA,EAAA,iBAAiB,CAAC,IAAI,EAAA,eAAA,EACpB,uBAAuB,CAAC,MAAM,EACzC,IAAA,EAAA,EAAC,KAAK,EAAE,wBAAwB,EAAC,EAAA,MAAA,EAAA,CAAA,6xCAAA,CAAA,EAAA,CAAA;;AAI3C,MAQa,oBAAoB,CAAA;AARjC,IAAA,WAAA,GAAA;AASuB,QAAA,IAAA,CAAA,OAAO,GAAG,aAAa,CAAC,0BAA0B,CAAC,CAAC;QAGhE,IAAQ,CAAA,QAAA,GAAG,CAAC,CAAC;AACvB,KAAA;+GALY,oBAAoB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA,EAAA;mGAApB,oBAAoB,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,4BAAA,EAAA,MAAA,EAAA,EAAA,QAAA,EAAA,UAAA,EAAA,EAAA,IAAA,EAAA,EAAA,UAAA,EAAA,EAAA,yBAAA,EAAA,cAAA,EAAA,EAAA,cAAA,EAAA,YAAA,EAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA,CAAA,EAAA;;4FAApB,oBAAoB,EAAA,UAAA,EAAA,CAAA;kBARhC,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACP,oBAAA,UAAU,EAAE,IAAI;AAChB,oBAAA,QAAQ,EAAE,4BAA4B;AACtC,oBAAA,IAAI,EAAE;AACF,wBAAA,KAAK,EAAE,YAAY;AACnB,wBAAA,2BAA2B,EAAE,cAAc;AAC9C,qBAAA;AACJ,iBAAA,CAAA;8BAKU,QAAQ,EAAA,CAAA;sBADd,KAAK;;;AC9BV;;AAEG;;;;"}