@taiga-ui/core 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.
Files changed (123) hide show
  1. package/classes/accessors.d.ts +1 -1
  2. package/components/calendar/calendar-sheet.component.d.ts +1 -1
  3. package/components/calendar/calendar-sheet.pipe.d.ts +1 -1
  4. package/components/calendar/calendar.options.d.ts +9 -0
  5. package/components/calendar/index.d.ts +1 -0
  6. package/components/calendar/order-week-days.pipe.d.ts +1 -1
  7. package/components/data-list/data-list.d.ts +2 -1
  8. package/components/data-list/data-list.tokens.d.ts +0 -18
  9. package/components/data-list/index.d.ts +3 -2
  10. package/components/data-list/option-with-value.directive.d.ts +9 -0
  11. package/components/data-list/{option/option.directive.d.ts → option.directive.d.ts} +3 -10
  12. package/components/icon/icon.component.d.ts +2 -2
  13. package/components/input/input.d.ts +4 -1
  14. package/components/label/label.directive.d.ts +1 -1
  15. package/components/link/index.d.ts +0 -1
  16. package/components/link/link.directive.d.ts +8 -6
  17. package/components/scrollbar/scroll-ref.directive.d.ts +2 -0
  18. package/components/scrollbar/scrollbar.component.d.ts +1 -5
  19. package/components/spin-button/spin-button.component.d.ts +1 -1
  20. package/components/textfield/textfield-multi/textfield-multi.component.d.ts +2 -2
  21. package/directives/items-handlers/items-handlers.directive.d.ts +5 -9
  22. package/directives/items-handlers/items-handlers.tokens.d.ts +4 -4
  23. package/fesm2022/taiga-ui-core-classes.mjs +3 -3
  24. package/fesm2022/taiga-ui-core-classes.mjs.map +1 -1
  25. package/fesm2022/taiga-ui-core-components-button.mjs +7 -7
  26. package/fesm2022/taiga-ui-core-components-button.mjs.map +1 -1
  27. package/fesm2022/taiga-ui-core-components-calendar.mjs +36 -30
  28. package/fesm2022/taiga-ui-core-components-calendar.mjs.map +1 -1
  29. package/fesm2022/taiga-ui-core-components-cell.mjs +7 -7
  30. package/fesm2022/taiga-ui-core-components-cell.mjs.map +1 -1
  31. package/fesm2022/taiga-ui-core-components-data-list.mjs +84 -93
  32. package/fesm2022/taiga-ui-core-components-data-list.mjs.map +1 -1
  33. package/fesm2022/taiga-ui-core-components-error.mjs +9 -9
  34. package/fesm2022/taiga-ui-core-components-expand.mjs +3 -3
  35. package/fesm2022/taiga-ui-core-components-icon.mjs +8 -8
  36. package/fesm2022/taiga-ui-core-components-icon.mjs.map +1 -1
  37. package/fesm2022/taiga-ui-core-components-input.mjs +17 -8
  38. package/fesm2022/taiga-ui-core-components-input.mjs.map +1 -1
  39. package/fesm2022/taiga-ui-core-components-label.mjs +10 -12
  40. package/fesm2022/taiga-ui-core-components-label.mjs.map +1 -1
  41. package/fesm2022/taiga-ui-core-components-link.mjs +13 -24
  42. package/fesm2022/taiga-ui-core-components-link.mjs.map +1 -1
  43. package/fesm2022/taiga-ui-core-components-loader.mjs +3 -3
  44. package/fesm2022/taiga-ui-core-components-loader.mjs.map +1 -1
  45. package/fesm2022/taiga-ui-core-components-notification.mjs +19 -21
  46. package/fesm2022/taiga-ui-core-components-notification.mjs.map +1 -1
  47. package/fesm2022/taiga-ui-core-components-root.mjs +4 -4
  48. package/fesm2022/taiga-ui-core-components-root.mjs.map +1 -1
  49. package/fesm2022/taiga-ui-core-components-scrollbar.mjs +42 -47
  50. package/fesm2022/taiga-ui-core-components-scrollbar.mjs.map +1 -1
  51. package/fesm2022/taiga-ui-core-components-spin-button.mjs +5 -5
  52. package/fesm2022/taiga-ui-core-components-spin-button.mjs.map +1 -1
  53. package/fesm2022/taiga-ui-core-components-textfield.mjs +35 -33
  54. package/fesm2022/taiga-ui-core-components-textfield.mjs.map +1 -1
  55. package/fesm2022/taiga-ui-core-components-title.mjs +6 -6
  56. package/fesm2022/taiga-ui-core-directives-appearance.mjs +10 -10
  57. package/fesm2022/taiga-ui-core-directives-appearance.mjs.map +1 -1
  58. package/fesm2022/taiga-ui-core-directives-date-format.mjs +3 -3
  59. package/fesm2022/taiga-ui-core-directives-group.mjs +7 -7
  60. package/fesm2022/taiga-ui-core-directives-group.mjs.map +1 -1
  61. package/fesm2022/taiga-ui-core-directives-icons.mjs +9 -9
  62. package/fesm2022/taiga-ui-core-directives-items-handlers.mjs +15 -36
  63. package/fesm2022/taiga-ui-core-directives-items-handlers.mjs.map +1 -1
  64. package/fesm2022/taiga-ui-core-directives-number-format.mjs +3 -3
  65. package/fesm2022/taiga-ui-core-pipes-format-number.mjs +3 -3
  66. package/fesm2022/taiga-ui-core-portals-alert.mjs +10 -10
  67. package/fesm2022/taiga-ui-core-portals-alert.mjs.map +1 -1
  68. package/fesm2022/taiga-ui-core-portals-dialog.mjs +12 -12
  69. package/fesm2022/taiga-ui-core-portals-dropdown.mjs +54 -54
  70. package/fesm2022/taiga-ui-core-portals-dropdown.mjs.map +1 -1
  71. package/fesm2022/taiga-ui-core-portals-hint.mjs +54 -54
  72. package/fesm2022/taiga-ui-core-portals-hint.mjs.map +1 -1
  73. package/fesm2022/taiga-ui-core-portals-modal.mjs +8 -8
  74. package/fesm2022/taiga-ui-core-portals-modal.mjs.map +1 -1
  75. package/fesm2022/taiga-ui-core-portals-popup.mjs +9 -9
  76. package/fesm2022/taiga-ui-core-services.mjs +15 -34
  77. package/fesm2022/taiga-ui-core-services.mjs.map +1 -1
  78. package/fesm2022/taiga-ui-core-tokens.mjs +4 -28
  79. package/fesm2022/taiga-ui-core-tokens.mjs.map +1 -1
  80. package/fesm2022/taiga-ui-core-utils-miscellaneous.mjs +13 -4
  81. package/fesm2022/taiga-ui-core-utils-miscellaneous.mjs.map +1 -1
  82. package/fesm2022/taiga-ui-core.mjs +0 -1
  83. package/fesm2022/taiga-ui-core.mjs.map +1 -1
  84. package/index.d.ts +0 -1
  85. package/package.json +57 -62
  86. package/portals/hint/hint-position.directive.d.ts +3 -3
  87. package/portals/hint/hint.directive.d.ts +1 -1
  88. package/services/index.d.ts +0 -1
  89. package/styles/components/appearance.less +5 -0
  90. package/styles/components/button.less +1 -1
  91. package/styles/components/link.less +8 -23
  92. package/styles/components/notification.less +4 -4
  93. package/styles/components/textfield.less +32 -64
  94. package/styles/mixins/appearance.less +9 -25
  95. package/styles/mixins/appearance.scss +8 -24
  96. package/styles/taiga-ui-local.less +0 -1
  97. package/styles/taiga-ui-local.scss +0 -1
  98. package/styles/taiga-ui-theme.less +0 -1
  99. package/styles/theme/appearance/outline.less +9 -18
  100. package/styles/theme/appearance/primary.less +2 -4
  101. package/styles/theme/appearance/secondary.less +6 -14
  102. package/styles/theme/appearance/status.less +0 -4
  103. package/styles/theme/appearance/table.less +38 -31
  104. package/styles/theme/appearance.less +0 -1
  105. package/tokens/common-icons.d.ts +2 -0
  106. package/tokens/index.d.ts +0 -4
  107. package/types/point.d.ts +1 -1
  108. package/utils/miscellaneous/font-scaling.d.ts +2 -1
  109. package/animations/animations.d.ts +0 -109
  110. package/animations/index.d.ts +0 -1
  111. package/components/link/link.options.d.ts +0 -10
  112. package/fesm2022/taiga-ui-core-animations.mjs +0 -370
  113. package/fesm2022/taiga-ui-core-animations.mjs.map +0 -1
  114. package/services/dark-theme.service.d.ts +0 -10
  115. package/styles/mixins/wrapper.less +0 -64
  116. package/styles/mixins/wrapper.scss +0 -61
  117. package/styles/theme/appearance/opposite.less +0 -17
  118. package/styles/theme/wrapper.less +0 -211
  119. package/tokens/day-type-handler.d.ts +0 -7
  120. package/tokens/first-day-of-week.d.ts +0 -5
  121. package/tokens/scroll-ref.d.ts +0 -2
  122. package/tokens/spin-icons.d.ts +0 -6
  123. /package/components/data-list/{option/option-content.d.ts → option-content.directive.d.ts} +0 -0
@@ -1,5 +1,5 @@
1
1
  import * as i0 from '@angular/core';
2
- import { signal, InjectionToken, Optional, SkipSelf, inject, Input, Directive, effect } from '@angular/core';
2
+ import { signal, InjectionToken, Optional, SkipSelf, inject, input, Directive, effect } from '@angular/core';
3
3
  import { tuiProvide } from '@taiga-ui/cdk/utils/di';
4
4
  import { TUI_FALSE_HANDLER, TUI_DEFAULT_IDENTITY_MATCHER } from '@taiga-ui/cdk/constants';
5
5
  import { NG_VALIDATORS } from '@angular/forms';
@@ -32,48 +32,27 @@ function tuiItemsHandlersProvider(options) {
32
32
 
33
33
  class TuiItemsHandlersDirective {
34
34
  constructor() {
35
- this.defaultHandlers = inject(TUI_ITEMS_HANDLERS, {
35
+ this.handlers = inject(TUI_ITEMS_HANDLERS, {
36
36
  skipSelf: true,
37
37
  });
38
- this.stringify = signal(this.defaultHandlers.stringify());
39
- this.identityMatcher = signal(this.defaultHandlers.identityMatcher());
40
- this.disabledItemHandler = signal(this.defaultHandlers.disabledItemHandler());
38
+ this.stringify = input(this.handlers.stringify());
39
+ this.identityMatcher = input(this.handlers.identityMatcher());
40
+ this.disabledItemHandler = input(this.handlers.disabledItemHandler());
41
41
  }
42
- // TODO(v5): use signal inputs
43
- set stringifySetter(x) {
44
- this.stringify.set(x);
45
- }
46
- // TODO(v5): use signal inputs
47
- set identityMatcherSetter(x) {
48
- this.identityMatcher.set(x);
49
- }
50
- // TODO(v5): use signal inputs
51
- set disabledItemHandlerSetter(x) {
52
- this.disabledItemHandler.set(x);
53
- }
54
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiItemsHandlersDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
55
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.15", type: TuiItemsHandlersDirective, isStandalone: true, inputs: { stringifySetter: ["stringify", "stringifySetter"], identityMatcherSetter: ["identityMatcher", "identityMatcherSetter"], disabledItemHandlerSetter: ["disabledItemHandler", "disabledItemHandlerSetter"] }, providers: [tuiProvide(TUI_ITEMS_HANDLERS, TuiItemsHandlersDirective)], ngImport: i0 }); }
42
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.17", ngImport: i0, type: TuiItemsHandlersDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
43
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "19.2.17", type: TuiItemsHandlersDirective, isStandalone: true, inputs: { stringify: { classPropertyName: "stringify", publicName: "stringify", isSignal: true, isRequired: false, transformFunction: null }, identityMatcher: { classPropertyName: "identityMatcher", publicName: "identityMatcher", isSignal: true, isRequired: false, transformFunction: null }, disabledItemHandler: { classPropertyName: "disabledItemHandler", publicName: "disabledItemHandler", isSignal: true, isRequired: false, transformFunction: null } }, providers: [tuiProvide(TUI_ITEMS_HANDLERS, TuiItemsHandlersDirective)], ngImport: i0 }); }
56
44
  }
57
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiItemsHandlersDirective, decorators: [{
45
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.17", ngImport: i0, type: TuiItemsHandlersDirective, decorators: [{
58
46
  type: Directive,
59
47
  args: [{
60
48
  providers: [tuiProvide(TUI_ITEMS_HANDLERS, TuiItemsHandlersDirective)],
61
49
  }]
62
- }], propDecorators: { stringifySetter: [{
63
- type: Input,
64
- args: ['stringify']
65
- }], identityMatcherSetter: [{
66
- type: Input,
67
- args: ['identityMatcher']
68
- }], disabledItemHandlerSetter: [{
69
- type: Input,
70
- args: ['disabledItemHandler']
71
- }] } });
50
+ }] });
72
51
  class TuiWithItemsHandlers {
73
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiWithItemsHandlers, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
74
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.15", type: TuiWithItemsHandlers, isStandalone: true, hostDirectives: [{ directive: TuiItemsHandlersDirective, inputs: ["stringify", "stringify", "identityMatcher", "identityMatcher", "disabledItemHandler", "disabledItemHandler"] }], ngImport: i0 }); }
52
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.17", ngImport: i0, type: TuiWithItemsHandlers, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
53
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.17", type: TuiWithItemsHandlers, isStandalone: true, hostDirectives: [{ directive: TuiItemsHandlersDirective, inputs: ["stringify", "stringify", "identityMatcher", "identityMatcher", "disabledItemHandler", "disabledItemHandler"] }], ngImport: i0 }); }
75
54
  }
76
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiWithItemsHandlers, decorators: [{
55
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.17", ngImport: i0, type: TuiWithItemsHandlers, decorators: [{
77
56
  type: Directive,
78
57
  args: [{
79
58
  hostDirectives: [
@@ -98,10 +77,10 @@ class TuiItemsHandlersValidator extends TuiValidator {
98
77
  : Boolean(value) && this.handlers.disabledItemHandler()(value);
99
78
  this.validate = ({ value }) => this.disabledItemHandler(value) ? { tuiDisabledItem: value } : null;
100
79
  }
101
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiItemsHandlersValidator, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
102
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.15", type: TuiItemsHandlersValidator, isStandalone: true, providers: [tuiProvide(NG_VALIDATORS, TuiItemsHandlersValidator, true)], usesInheritance: true, ngImport: i0 }); }
80
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.17", ngImport: i0, type: TuiItemsHandlersValidator, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
81
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.17", type: TuiItemsHandlersValidator, isStandalone: true, providers: [tuiProvide(NG_VALIDATORS, TuiItemsHandlersValidator, true)], usesInheritance: true, ngImport: i0 }); }
103
82
  }
104
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiItemsHandlersValidator, decorators: [{
83
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.17", ngImport: i0, type: TuiItemsHandlersValidator, decorators: [{
105
84
  type: Directive,
106
85
  args: [{
107
86
  providers: [tuiProvide(NG_VALIDATORS, TuiItemsHandlersValidator, true)],
@@ -1 +1 @@
1
- {"version":3,"file":"taiga-ui-core-directives-items-handlers.mjs","sources":["../../../projects/core/directives/items-handlers/items-handlers.tokens.ts","../../../projects/core/directives/items-handlers/items-handlers.directive.ts","../../../projects/core/directives/items-handlers/items-handlers.validator.ts","../../../projects/core/directives/items-handlers/taiga-ui-core-directives-items-handlers.ts"],"sourcesContent":["import {\n InjectionToken,\n Optional,\n type Provider,\n signal,\n SkipSelf,\n type WritableSignal,\n} from '@angular/core';\nimport {TUI_DEFAULT_IDENTITY_MATCHER, TUI_FALSE_HANDLER} from '@taiga-ui/cdk/constants';\nimport {\n type TuiBooleanHandler,\n type TuiIdentityMatcher,\n type TuiStringHandler,\n} from '@taiga-ui/cdk/types';\n\nexport interface TuiItemsHandlers<T> {\n readonly disabledItemHandler: WritableSignal<TuiBooleanHandler<T>>;\n readonly identityMatcher: WritableSignal<TuiIdentityMatcher<T>>;\n readonly stringify: WritableSignal<TuiStringHandler<T>>;\n}\n\nexport const TUI_DEFAULT_ITEMS_HANDLERS: TuiItemsHandlers<unknown> = {\n stringify: signal(String),\n identityMatcher: signal(TUI_DEFAULT_IDENTITY_MATCHER),\n disabledItemHandler: signal(TUI_FALSE_HANDLER),\n};\n\n/**\n * Default items handlers for components\n */\nexport const TUI_ITEMS_HANDLERS = new InjectionToken(\n ngDevMode ? 'TUI_ITEMS_HANDLERS' : '',\n {\n factory: () => TUI_DEFAULT_ITEMS_HANDLERS,\n },\n);\n\nexport function tuiItemsHandlersProvider<T>(\n options: Partial<TuiItemsHandlers<T>>,\n): Provider {\n return {\n provide: TUI_ITEMS_HANDLERS,\n deps: [[new Optional(), new SkipSelf(), TUI_ITEMS_HANDLERS]],\n useFactory: (parent: TuiItemsHandlers<T> | null): TuiItemsHandlers<T> => ({\n stringify: signal(\n parent?.stringify() ?? TUI_DEFAULT_ITEMS_HANDLERS.stringify(),\n ),\n identityMatcher: signal(\n parent?.identityMatcher() ?? TUI_DEFAULT_ITEMS_HANDLERS.identityMatcher(),\n ),\n disabledItemHandler: signal(\n parent?.disabledItemHandler() ??\n TUI_DEFAULT_ITEMS_HANDLERS.disabledItemHandler(),\n ),\n ...options,\n }),\n };\n}\n","import {Directive, inject, Input, signal} from '@angular/core';\nimport {\n type TuiBooleanHandler,\n type TuiIdentityMatcher,\n type TuiStringHandler,\n} from '@taiga-ui/cdk/types';\nimport {tuiProvide} from '@taiga-ui/cdk/utils/di';\n\nimport {TUI_ITEMS_HANDLERS, type TuiItemsHandlers} from './items-handlers.tokens';\n\n@Directive({\n providers: [tuiProvide(TUI_ITEMS_HANDLERS, TuiItemsHandlersDirective)],\n})\nexport class TuiItemsHandlersDirective<T> implements TuiItemsHandlers<T> {\n private readonly defaultHandlers = inject<TuiItemsHandlers<T>>(TUI_ITEMS_HANDLERS, {\n skipSelf: true,\n });\n\n public readonly stringify = signal(this.defaultHandlers.stringify());\n public readonly identityMatcher = signal(this.defaultHandlers.identityMatcher());\n public readonly disabledItemHandler = signal(\n this.defaultHandlers.disabledItemHandler(),\n );\n\n // TODO(v5): use signal inputs\n @Input('stringify')\n public set stringifySetter(x: TuiStringHandler<T>) {\n this.stringify.set(x);\n }\n\n // TODO(v5): use signal inputs\n @Input('identityMatcher')\n public set identityMatcherSetter(x: TuiIdentityMatcher<T>) {\n this.identityMatcher.set(x);\n }\n\n // TODO(v5): use signal inputs\n @Input('disabledItemHandler')\n public set disabledItemHandlerSetter(x: TuiBooleanHandler<T>) {\n this.disabledItemHandler.set(x);\n }\n}\n\n@Directive({\n hostDirectives: [\n {\n directive: TuiItemsHandlersDirective,\n inputs: ['stringify', 'identityMatcher', 'disabledItemHandler'],\n },\n ],\n})\nexport class TuiWithItemsHandlers {}\n","import {Directive, effect, inject} from '@angular/core';\nimport {NG_VALIDATORS, type ValidatorFn} from '@angular/forms';\nimport {TuiValidator} from '@taiga-ui/cdk/directives/validator';\nimport {type TuiBooleanHandler} from '@taiga-ui/cdk/types';\nimport {tuiProvide} from '@taiga-ui/cdk/utils/di';\n\nimport {TuiItemsHandlersDirective} from './items-handlers.directive';\n\n@Directive({\n providers: [tuiProvide(NG_VALIDATORS, TuiItemsHandlersValidator, true)],\n})\nexport class TuiItemsHandlersValidator extends TuiValidator {\n private readonly handlers = inject(TuiItemsHandlersDirective);\n\n protected readonly update = effect(() => {\n this.handlers.disabledItemHandler();\n this.onChange();\n });\n\n public disabledItemHandler: TuiBooleanHandler<any> = (value) =>\n Array.isArray(value)\n ? value.some((item) => this.handlers.disabledItemHandler()(item))\n : Boolean(value) && this.handlers.disabledItemHandler()(value);\n\n public override validate: ValidatorFn = ({value}) =>\n this.disabledItemHandler(value) ? {tuiDisabledItem: value} : null;\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;AAqBa,MAAA,0BAA0B,GAA8B;AACjE,IAAA,SAAS,EAAE,MAAM,CAAC,MAAM,CAAC;AACzB,IAAA,eAAe,EAAE,MAAM,CAAC,4BAA4B,CAAC;AACrD,IAAA,mBAAmB,EAAE,MAAM,CAAC,iBAAiB,CAAC;;AAGlD;;AAEG;AACU,MAAA,kBAAkB,GAAG,IAAI,cAAc,CAChD,SAAS,GAAG,oBAAoB,GAAG,EAAE,EACrC;AACI,IAAA,OAAO,EAAE,MAAM,0BAA0B;AAC5C,CAAA;AAGC,SAAU,wBAAwB,CACpC,OAAqC,EAAA;IAErC,OAAO;AACH,QAAA,OAAO,EAAE,kBAAkB;AAC3B,QAAA,IAAI,EAAE,CAAC,CAAC,IAAI,QAAQ,EAAE,EAAE,IAAI,QAAQ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BAAyB,EAAA,UAAA,EAAA,CAAA;kBAHrC,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;oBACP,SAAS,EAAE,CAAC,UAAU,CAAC,aAAa,EAA6B,yBAAA,EAAA,IAAI,CAAC,CAAC;AAC1E,iBAAA;;;ACVD;;AAEG;;;;"}
1
+ {"version":3,"file":"taiga-ui-core-directives-items-handlers.mjs","sources":["../../../projects/core/directives/items-handlers/items-handlers.tokens.ts","../../../projects/core/directives/items-handlers/items-handlers.directive.ts","../../../projects/core/directives/items-handlers/items-handlers.validator.ts","../../../projects/core/directives/items-handlers/taiga-ui-core-directives-items-handlers.ts"],"sourcesContent":["import {\n InjectionToken,\n Optional,\n type Provider,\n type Signal,\n signal,\n SkipSelf,\n} from '@angular/core';\nimport {TUI_DEFAULT_IDENTITY_MATCHER, TUI_FALSE_HANDLER} from '@taiga-ui/cdk/constants';\nimport {\n type TuiBooleanHandler,\n type TuiIdentityMatcher,\n type TuiStringHandler,\n} from '@taiga-ui/cdk/types';\n\nexport interface TuiItemsHandlers<T> {\n readonly disabledItemHandler: Signal<TuiBooleanHandler<T>>;\n readonly identityMatcher: Signal<TuiIdentityMatcher<T>>;\n readonly stringify: Signal<TuiStringHandler<T>>;\n}\n\nexport const TUI_DEFAULT_ITEMS_HANDLERS: TuiItemsHandlers<unknown> = {\n stringify: signal(String),\n identityMatcher: signal(TUI_DEFAULT_IDENTITY_MATCHER),\n disabledItemHandler: signal(TUI_FALSE_HANDLER),\n};\n\n/**\n * Default items handlers for components\n */\nexport const TUI_ITEMS_HANDLERS = new InjectionToken(\n ngDevMode ? 'TUI_ITEMS_HANDLERS' : '',\n {\n factory: () => TUI_DEFAULT_ITEMS_HANDLERS,\n },\n);\n\nexport function tuiItemsHandlersProvider<T>(\n options: Partial<TuiItemsHandlers<T>>,\n): Provider {\n return {\n provide: TUI_ITEMS_HANDLERS,\n deps: [[new Optional(), new SkipSelf(), TUI_ITEMS_HANDLERS]],\n useFactory: (parent: TuiItemsHandlers<T> | null): TuiItemsHandlers<T> => ({\n stringify: signal(\n parent?.stringify() ?? TUI_DEFAULT_ITEMS_HANDLERS.stringify(),\n ),\n identityMatcher: signal(\n parent?.identityMatcher() ?? TUI_DEFAULT_ITEMS_HANDLERS.identityMatcher(),\n ),\n disabledItemHandler: signal(\n parent?.disabledItemHandler() ??\n TUI_DEFAULT_ITEMS_HANDLERS.disabledItemHandler(),\n ),\n ...options,\n }),\n };\n}\n","import {Directive, inject, input} from '@angular/core';\nimport {tuiProvide} from '@taiga-ui/cdk/utils/di';\n\nimport {TUI_ITEMS_HANDLERS, type TuiItemsHandlers} from './items-handlers.tokens';\n\n@Directive({\n providers: [tuiProvide(TUI_ITEMS_HANDLERS, TuiItemsHandlersDirective)],\n})\nexport class TuiItemsHandlersDirective<T> implements TuiItemsHandlers<T> {\n private readonly handlers = inject<TuiItemsHandlers<T>>(TUI_ITEMS_HANDLERS, {\n skipSelf: true,\n });\n\n public readonly stringify = input(this.handlers.stringify());\n public readonly identityMatcher = input(this.handlers.identityMatcher());\n public readonly disabledItemHandler = input(this.handlers.disabledItemHandler());\n}\n\n@Directive({\n hostDirectives: [\n {\n directive: TuiItemsHandlersDirective,\n inputs: ['stringify', 'identityMatcher', 'disabledItemHandler'],\n },\n ],\n})\nexport class TuiWithItemsHandlers {}\n","import {Directive, effect, inject} from '@angular/core';\nimport {NG_VALIDATORS, type ValidatorFn} from '@angular/forms';\nimport {TuiValidator} from '@taiga-ui/cdk/directives/validator';\nimport {type TuiBooleanHandler} from '@taiga-ui/cdk/types';\nimport {tuiProvide} from '@taiga-ui/cdk/utils/di';\n\nimport {TuiItemsHandlersDirective} from './items-handlers.directive';\n\n@Directive({\n providers: [tuiProvide(NG_VALIDATORS, TuiItemsHandlersValidator, true)],\n})\nexport class TuiItemsHandlersValidator extends TuiValidator {\n private readonly handlers = inject(TuiItemsHandlersDirective);\n\n protected readonly update = effect(() => {\n this.handlers.disabledItemHandler();\n this.onChange();\n });\n\n public disabledItemHandler: TuiBooleanHandler<any> = (value) =>\n Array.isArray(value)\n ? value.some((item) => this.handlers.disabledItemHandler()(item))\n : Boolean(value) && this.handlers.disabledItemHandler()(value);\n\n public override validate: ValidatorFn = ({value}) =>\n this.disabledItemHandler(value) ? {tuiDisabledItem: value} : null;\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;AAqBa,MAAA,0BAA0B,GAA8B;AACjE,IAAA,SAAS,EAAE,MAAM,CAAC,MAAM,CAAC;AACzB,IAAA,eAAe,EAAE,MAAM,CAAC,4BAA4B,CAAC;AACrD,IAAA,mBAAmB,EAAE,MAAM,CAAC,iBAAiB,CAAC;;AAGlD;;AAEG;AACU,MAAA,kBAAkB,GAAG,IAAI,cAAc,CAChD,SAAS,GAAG,oBAAoB,GAAG,EAAE,EACrC;AACI,IAAA,OAAO,EAAE,MAAM,0BAA0B;AAC5C,CAAA;AAGC,SAAU,wBAAwB,CACpC,OAAqC,EAAA;IAErC,OAAO;AACH,QAAA,OAAO,EAAE,kBAAkB;AAC3B,QAAA,IAAI,EAAE,CAAC,CAAC,IAAI,QAAQ,EAAE,EAAE,IAAI,QAAQ,EAAE,EAAE,kBAAkB,CAAC,CAAC;AAC5D,QAAA,UAAU,EAAE,CAAC,MAAkC,MAA2B;AACtE,YAAA,SAAS,EAAE,MAAM,CACb,MAAM,EAAE,SAAS,EAAE,IAAI,0BAA0B,CAAC,SAAS,EAAE,CAChE;AACD,YAAA,eAAe,EAAE,MAAM,CACnB,MAAM,EAAE,eAAe,EAAE,IAAI,0BAA0B,CAAC,eAAe,EAAE,CAC5E;AACD,YAAA,mBAAmB,EAAE,MAAM,CACvB,MAAM,EAAE,mBAAmB,EAAE;gBACzB,0BAA0B,CAAC,mBAAmB,EAAE,CACvD;AACD,YAAA,GAAG,OAAO;SACb,CAAC;KACL;AACL;;MCjDa,yBAAyB,CAAA;AAHtC,IAAA,WAAA,GAAA;AAIqB,QAAA,IAAA,CAAA,Q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,CAAC,KAAK,CAAC,IAAI,IAAI,CAAC,QAAQ,CAAC,mBAAmB,EAAE,CAAC,KAAK,CAAC;QAEtD,IAAQ,CAAA,QAAA,GAAgB,CAAC,EAAC,KAAK,EAAC,KAC5C,IAAI,CAAC,mBAAmB,CAAC,KAAK,CAAC,GAAG,EAAC,eAAe,EAAE,KAAK,EAAC,GAAG,IAAI;AACxE;+GAfY,yBAAyB,EAAA,IAAA,EAAA,IAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;mGAAzB,yBAAyB,EAAA,YAAA,EAAA,IAAA,EAAA,SAAA,EAFvB,CAAC,UAAU,CAAC,aAAa,EAAE,yBAAyB,EAAE,IAAI,CAAC,CAAC,EAAA,eAAA,EAAA,IAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA,CAAA;;4FAE9D,yBAAyB,EAAA,UAAA,EAAA,CAAA;kBAHrC,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;oBACP,SAAS,EAAE,CAAC,UAAU,CAAC,aAAa,EAA6B,yBAAA,EAAA,IAAI,CAAC,CAAC;AAC1E,iBAAA;;;ACVD;;AAEG;;;;"}
@@ -6,8 +6,8 @@ class TuiNumberFormat {
6
6
  constructor() {
7
7
  this.tuiNumberFormat = input.required();
8
8
  }
9
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiNumberFormat, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
10
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "19.2.15", type: TuiNumberFormat, isStandalone: true, selector: "[tuiNumberFormat]", inputs: { tuiNumberFormat: { classPropertyName: "tuiNumberFormat", publicName: "tuiNumberFormat", isSignal: true, isRequired: true, transformFunction: null } }, providers: [
9
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.17", ngImport: i0, type: TuiNumberFormat, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
10
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "19.2.17", type: TuiNumberFormat, isStandalone: true, selector: "[tuiNumberFormat]", inputs: { tuiNumberFormat: { classPropertyName: "tuiNumberFormat", publicName: "tuiNumberFormat", isSignal: true, isRequired: true, transformFunction: null } }, providers: [
11
11
  {
12
12
  provide: TUI_NUMBER_FORMAT,
13
13
  useFactory: () => {
@@ -21,7 +21,7 @@ class TuiNumberFormat {
21
21
  },
22
22
  ], ngImport: i0 }); }
23
23
  }
24
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiNumberFormat, decorators: [{
24
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.17", ngImport: i0, type: TuiNumberFormat, decorators: [{
25
25
  type: Directive,
26
26
  args: [{
27
27
  selector: '[tuiNumberFormat]',
@@ -29,10 +29,10 @@ class TuiFormatNumberPipe {
29
29
  });
30
30
  return this.formatted();
31
31
  }
32
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiFormatNumberPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
33
- static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "19.2.15", ngImport: i0, type: TuiFormatNumberPipe, isStandalone: true, name: "tuiFormatNumber", pure: false }); }
32
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.17", ngImport: i0, type: TuiFormatNumberPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
33
+ static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "19.2.17", ngImport: i0, type: TuiFormatNumberPipe, isStandalone: true, name: "tuiFormatNumber", pure: false }); }
34
34
  }
35
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiFormatNumberPipe, decorators: [{
35
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.17", ngImport: i0, type: TuiFormatNumberPipe, decorators: [{
36
36
  type: Pipe,
37
37
  args: [{
38
38
  name: 'tuiFormatNumber',
@@ -6,22 +6,22 @@ import { TuiPortal } from '@taiga-ui/cdk/portals';
6
6
  import { TuiPopupService } from '@taiga-ui/core/portals/popup';
7
7
 
8
8
  class Styles {
9
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: Styles, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
10
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.15", type: Styles, isStandalone: true, selector: "ng-component", host: { classAttribute: "tui-alert-styles" }, ngImport: i0, template: '', isInline: true, styles: ["[tuiAlert]{position:relative;display:grid;grid-column:1;place-self:start start;isolation:isolate;--tui-from: translateX(-100%)}[tuiAlert][data-inline=end]{justify-self:end;--tui-from: translateX(100%)}[tuiAlert][data-inline=center]{justify-self:center;--tui-from: translateY(-100%)}[tuiAlert][data-block=end]{align-self:end}[tuiAlert][data-block=end][data-inline=center]{--tui-from: translateY(100%)}[tuiAlert][data-block=end]:nth-of-type(1){grid-row:11}[tuiAlert][data-block=end]:nth-of-type(2){grid-row:12}[tuiAlert][data-block=end]:nth-of-type(3){grid-row:13}[tuiAlert][data-block=end]:nth-of-type(4){grid-row:14}[tuiAlert][data-block=end]:nth-of-type(5){grid-row:15}[tuiAlert][data-block=end]:nth-of-type(6){grid-row:16}[tuiAlert][data-block=end]:nth-of-type(7){grid-row:17}[tuiAlert][data-block=end]:nth-of-type(8){grid-row:18}[tuiAlert].tui-enter,[tuiAlert].tui-leave{animation-name:tuiFade,tuiSlide,tuiCollapse}[tuiAlert]:not(:first-of-type){margin-block-start:0}[tuiAlert]:not(:last-of-type){margin-block-end:0}[tuiAlert]:nth-of-type(1){grid-row:5}[tuiAlert]:nth-of-type(2){grid-row:6}[tuiAlert]:nth-of-type(3){grid-row:7}[tuiAlert]:nth-of-type(4){grid-row:8}[tuiAlert]:nth-of-type(5){grid-row:9}[tuiAlert]>*{grid-row:1 / span 2}[tuiAlert]>*:before,[tuiAlert]>*:after{content:\"\";display:block;block-size:.375rem}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
9
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.17", ngImport: i0, type: Styles, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
10
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.17", type: Styles, isStandalone: true, selector: "ng-component", host: { classAttribute: "tui-alert-styles" }, ngImport: i0, template: '', isInline: true, styles: ["[tuiAlert]{position:relative;display:grid;grid-column:1;place-self:start start;isolation:isolate;--tui-from: translateX(-100%)}[tuiAlert][data-inline=end]{justify-self:end;--tui-from: translateX(100%)}[tuiAlert][data-inline=center]{justify-self:center;--tui-from: translateY(-100%)}[tuiAlert][data-block=end]{align-self:end}[tuiAlert][data-block=end][data-inline=center]{--tui-from: translateY(100%)}[tuiAlert][data-block=end]:nth-of-type(1){grid-row:11}[tuiAlert][data-block=end]:nth-of-type(2){grid-row:12}[tuiAlert][data-block=end]:nth-of-type(3){grid-row:13}[tuiAlert][data-block=end]:nth-of-type(4){grid-row:14}[tuiAlert][data-block=end]:nth-of-type(5){grid-row:15}[tuiAlert][data-block=end]:nth-of-type(6){grid-row:16}[tuiAlert][data-block=end]:nth-of-type(7){grid-row:17}[tuiAlert][data-block=end]:nth-of-type(8){grid-row:18}[tuiAlert].tui-enter,[tuiAlert].tui-leave{animation-name:tuiFade,tuiSlide,tuiCollapse}[tuiAlert]:not(:first-of-type){margin-block-start:0!important}[tuiAlert]:not(:last-of-type){margin-block-end:0!important}[tuiAlert]:nth-of-type(1){grid-row:5}[tuiAlert]:nth-of-type(2){grid-row:6}[tuiAlert]:nth-of-type(3){grid-row:7}[tuiAlert]:nth-of-type(4){grid-row:8}[tuiAlert]:nth-of-type(5){grid-row:9}[tuiAlert]>*{grid-row:1 / span 2}[tuiAlert]>*:before,[tuiAlert]>*:after{content:\"\";display:block;block-size:.375rem}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
11
11
  }
12
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: Styles, decorators: [{
12
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.17", ngImport: i0, type: Styles, decorators: [{
13
13
  type: Component,
14
- args: [{ template: '', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, host: { class: 'tui-alert-styles' }, styles: ["[tuiAlert]{position:relative;display:grid;grid-column:1;place-self:start start;isolation:isolate;--tui-from: translateX(-100%)}[tuiAlert][data-inline=end]{justify-self:end;--tui-from: translateX(100%)}[tuiAlert][data-inline=center]{justify-self:center;--tui-from: translateY(-100%)}[tuiAlert][data-block=end]{align-self:end}[tuiAlert][data-block=end][data-inline=center]{--tui-from: translateY(100%)}[tuiAlert][data-block=end]:nth-of-type(1){grid-row:11}[tuiAlert][data-block=end]:nth-of-type(2){grid-row:12}[tuiAlert][data-block=end]:nth-of-type(3){grid-row:13}[tuiAlert][data-block=end]:nth-of-type(4){grid-row:14}[tuiAlert][data-block=end]:nth-of-type(5){grid-row:15}[tuiAlert][data-block=end]:nth-of-type(6){grid-row:16}[tuiAlert][data-block=end]:nth-of-type(7){grid-row:17}[tuiAlert][data-block=end]:nth-of-type(8){grid-row:18}[tuiAlert].tui-enter,[tuiAlert].tui-leave{animation-name:tuiFade,tuiSlide,tuiCollapse}[tuiAlert]:not(:first-of-type){margin-block-start:0}[tuiAlert]:not(:last-of-type){margin-block-end:0}[tuiAlert]:nth-of-type(1){grid-row:5}[tuiAlert]:nth-of-type(2){grid-row:6}[tuiAlert]:nth-of-type(3){grid-row:7}[tuiAlert]:nth-of-type(4){grid-row:8}[tuiAlert]:nth-of-type(5){grid-row:9}[tuiAlert]>*{grid-row:1 / span 2}[tuiAlert]>*:before,[tuiAlert]>*:after{content:\"\";display:block;block-size:.375rem}\n"] }]
14
+ args: [{ template: '', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, host: { class: 'tui-alert-styles' }, styles: ["[tuiAlert]{position:relative;display:grid;grid-column:1;place-self:start start;isolation:isolate;--tui-from: translateX(-100%)}[tuiAlert][data-inline=end]{justify-self:end;--tui-from: translateX(100%)}[tuiAlert][data-inline=center]{justify-self:center;--tui-from: translateY(-100%)}[tuiAlert][data-block=end]{align-self:end}[tuiAlert][data-block=end][data-inline=center]{--tui-from: translateY(100%)}[tuiAlert][data-block=end]:nth-of-type(1){grid-row:11}[tuiAlert][data-block=end]:nth-of-type(2){grid-row:12}[tuiAlert][data-block=end]:nth-of-type(3){grid-row:13}[tuiAlert][data-block=end]:nth-of-type(4){grid-row:14}[tuiAlert][data-block=end]:nth-of-type(5){grid-row:15}[tuiAlert][data-block=end]:nth-of-type(6){grid-row:16}[tuiAlert][data-block=end]:nth-of-type(7){grid-row:17}[tuiAlert][data-block=end]:nth-of-type(8){grid-row:18}[tuiAlert].tui-enter,[tuiAlert].tui-leave{animation-name:tuiFade,tuiSlide,tuiCollapse}[tuiAlert]:not(:first-of-type){margin-block-start:0!important}[tuiAlert]:not(:last-of-type){margin-block-end:0!important}[tuiAlert]:nth-of-type(1){grid-row:5}[tuiAlert]:nth-of-type(2){grid-row:6}[tuiAlert]:nth-of-type(3){grid-row:7}[tuiAlert]:nth-of-type(4){grid-row:8}[tuiAlert]:nth-of-type(5){grid-row:9}[tuiAlert]>*{grid-row:1 / span 2}[tuiAlert]>*:before,[tuiAlert]>*:after{content:\"\";display:block;block-size:.375rem}\n"] }]
15
15
  }] });
16
16
  class TuiAlertDirective {
17
17
  constructor() {
18
18
  this.nothing = tuiWithStyles(Styles);
19
19
  this.context = injectContext();
20
20
  }
21
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiAlertDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
22
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.15", type: TuiAlertDirective, isStandalone: true, host: { attributes: { "role": "alert", "tuiAlert": "" }, properties: { "attr.data-block": "context.block", "attr.data-inline": "context.inline" } }, ngImport: i0 }); }
21
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.17", ngImport: i0, type: TuiAlertDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
22
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.17", type: TuiAlertDirective, isStandalone: true, host: { attributes: { "role": "alert", "tuiAlert": "" }, properties: { "attr.data-block": "context.block", "attr.data-inline": "context.inline" } }, ngImport: i0 }); }
23
23
  }
24
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiAlertDirective, decorators: [{
24
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.17", ngImport: i0, type: TuiAlertDirective, decorators: [{
25
25
  type: Directive,
26
26
  args: [{
27
27
  host: {
@@ -58,10 +58,10 @@ class TuiAlertService extends TuiPortal {
58
58
  }
59
59
  };
60
60
  }
61
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiAlertService, deps: "invalid", target: i0.ɵɵFactoryTarget.Injectable }); }
62
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiAlertService }); }
61
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.17", ngImport: i0, type: TuiAlertService, deps: "invalid", target: i0.ɵɵFactoryTarget.Injectable }); }
62
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.17", ngImport: i0, type: TuiAlertService }); }
63
63
  }
64
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiAlertService, decorators: [{
64
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.17", ngImport: i0, type: TuiAlertService, decorators: [{
65
65
  type: Injectable
66
66
  }], ctorParameters: () => [{ type: undefined }] });
67
67
 
@@ -1 +1 @@
1
- {"version":3,"file":"taiga-ui-core-portals-alert.mjs","sources":["../../../projects/core/portals/alert/alert.directive.ts","../../../projects/core/portals/alert/alert.service.ts","../../../projects/core/portals/alert/taiga-ui-core-portals-alert.ts"],"sourcesContent":["import {\n ChangeDetectionStrategy,\n Component,\n Directive,\n ViewEncapsulation,\n} from '@angular/core';\nimport {tuiWithStyles} from '@taiga-ui/cdk/utils/miscellaneous';\nimport {injectContext} from '@taiga-ui/polymorpheus';\n\nexport interface TuiPositionOptions {\n readonly block: 'end' | 'start';\n readonly inline: 'center' | 'end' | 'start';\n}\n\n@Component({\n template: '',\n styleUrl: './alert.style.less',\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n host: {class: 'tui-alert-styles'},\n})\nclass Styles {}\n\n@Directive({\n host: {\n role: 'alert',\n tuiAlert: '',\n '[attr.data-block]': 'context.block',\n '[attr.data-inline]': 'context.inline',\n },\n})\nexport class TuiAlertDirective {\n protected readonly nothing = tuiWithStyles(Styles);\n protected readonly context = injectContext<TuiPositionOptions>();\n}\n","import {type ComponentRef, inject, Injectable} from '@angular/core';\nimport {TuiPortal} from '@taiga-ui/cdk/portals';\nimport {TuiPopupService} from '@taiga-ui/core/portals/popup';\nimport {type PolymorpheusComponent} from '@taiga-ui/polymorpheus';\n\n@Injectable()\nexport abstract class TuiAlertService<T, K = void> extends TuiPortal<T, K> {\n private readonly concurrency: number;\n private readonly current = new Map<unknown, ComponentRef<unknown>>();\n private readonly queue = new Set<PolymorpheusComponent<unknown>>();\n\n constructor(concurrency: number) {\n super(inject(TuiPopupService));\n this.concurrency = Math.min(concurrency, 5);\n }\n\n protected override add(component: PolymorpheusComponent<unknown>): () => void {\n if (this.current.size < this.concurrency) {\n this.current.set(component, this.service.add(component));\n } else {\n this.queue.add(component);\n }\n\n return () => {\n this.current.get(component)?.destroy();\n this.current.delete(component);\n this.queue.delete(component);\n\n const [next] = this.queue;\n\n if (this.current.size < this.concurrency && next) {\n this.current.set(next, this.service.add(next));\n this.queue.delete(next);\n }\n };\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;AAcA,MAOM,MAAM,CAAA;+GAAN,MAAM,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAAN,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,IAAA,EAAA,MAAM,sHANE,EAAE,EAAA,QAAA,EAAA,IAAA,EAAA,MAAA,EAAA,CAAA,8yCAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,aAAA,EAAA,EAAA,CAAA,iBAAA,CAAA,IAAA,EAAA,CAAA,CAAA;;4FAMV,MAAM,EAAA,UAAA,EAAA,CAAA;kBAPX,SAAS;AACI,YAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,EAAE,EAEG,aAAA,EAAA,iBAAiB,CAAC,IAAI,EACpB,eAAA,EAAA,uBAAuB,CAAC,MAAM,EACzC,IAAA,EAAA,EAAC,KAAK,EAAE,kBAAkB,EAAC,EAAA,MAAA,EAAA,CAAA,8yCAAA,CAAA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AAE;AACtC,YAAA,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,SAAS,EAAE,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;;aACrD;AACH,YAAA,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,SAAS,CAAC;;AAG7B,QAAA,OAAO,MAAK;YACR,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,EAAE,OAAO,EAAE;AACtC,YAAA,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,SAAS,CAAC;AAC9B,YAAA,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,SAAS,CAAC;AAE5B,YAAA,MAAM,CAAC,IAAI,CAAC,GAAG,IAAI,CAAC,KAAK;AAEzB,YAAA,IAAI,IAAI,CAAC,OAAO,CAAC,IAAI,GAAG,IAAI,CAAC,WAAW,IAAI,IAAI,EAAE;AAC9C,gBAAA,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,EAAE,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC;AAC9C,gBAAA,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,IAAI,CAAC;;AAE/B,SAAC;;+GA5Ba,eAAe,EAAA,IAAA,EAAA,SAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,UAAA,EAAA,CAAA,CAAA;mHAAf,eAAe,EAAA,CAAA,CAAA;;4FAAf,eAAe,EAAA,UAAA,EAAA,CAAA;kBADpC;;;ACLD;;AAEG;;;;"}
1
+ {"version":3,"file":"taiga-ui-core-portals-alert.mjs","sources":["../../../projects/core/portals/alert/alert.directive.ts","../../../projects/core/portals/alert/alert.service.ts","../../../projects/core/portals/alert/taiga-ui-core-portals-alert.ts"],"sourcesContent":["import {\n ChangeDetectionStrategy,\n Component,\n Directive,\n ViewEncapsulation,\n} from '@angular/core';\nimport {tuiWithStyles} from '@taiga-ui/cdk/utils/miscellaneous';\nimport {injectContext} from '@taiga-ui/polymorpheus';\n\nexport interface TuiPositionOptions {\n readonly block: 'end' | 'start';\n readonly inline: 'center' | 'end' | 'start';\n}\n\n@Component({\n template: '',\n styleUrl: './alert.style.less',\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n host: {class: 'tui-alert-styles'},\n})\nclass Styles {}\n\n@Directive({\n host: {\n role: 'alert',\n tuiAlert: '',\n '[attr.data-block]': 'context.block',\n '[attr.data-inline]': 'context.inline',\n },\n})\nexport class TuiAlertDirective {\n protected readonly nothing = tuiWithStyles(Styles);\n protected readonly context = injectContext<TuiPositionOptions>();\n}\n","import {type ComponentRef, inject, Injectable} from '@angular/core';\nimport {TuiPortal} from '@taiga-ui/cdk/portals';\nimport {TuiPopupService} from '@taiga-ui/core/portals/popup';\nimport {type PolymorpheusComponent} from '@taiga-ui/polymorpheus';\n\n@Injectable()\nexport abstract class TuiAlertService<T, K = void> extends TuiPortal<T, K> {\n private readonly concurrency: number;\n private readonly current = new Map<unknown, ComponentRef<unknown>>();\n private readonly queue = new Set<PolymorpheusComponent<unknown>>();\n\n constructor(concurrency: number) {\n super(inject(TuiPopupService));\n this.concurrency = Math.min(concurrency, 5);\n }\n\n protected override add(component: PolymorpheusComponent<unknown>): () => void {\n if (this.current.size < this.concurrency) {\n this.current.set(component, this.service.add(component));\n } else {\n this.queue.add(component);\n }\n\n return () => {\n this.current.get(component)?.destroy();\n this.current.delete(component);\n this.queue.delete(component);\n\n const [next] = this.queue;\n\n if (this.current.size < this.concurrency && next) {\n this.current.set(next, this.service.add(next));\n this.queue.delete(next);\n }\n };\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;AAcA,MAOM,MAAM,CAAA;+GAAN,MAAM,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAAN,IAAA,SAAA,IAAA,CAAA,IAAA,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CAAC;AAC9C,gBAAA,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,IAAI,CAAC;;AAE/B,SAAC;;+GA5Ba,eAAe,EAAA,IAAA,EAAA,SAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,UAAA,EAAA,CAAA,CAAA;mHAAf,eAAe,EAAA,CAAA,CAAA;;4FAAf,eAAe,EAAA,UAAA,EAAA,CAAA;kBADpC;;;ACLD;;AAEG;;;;"}
@@ -47,10 +47,10 @@ class TuiDialogCloseService extends Observable {
47
47
  isOutside(target) {
48
48
  return tuiIsElement(target) && !tuiContainsOrAfter(this.el, target);
49
49
  }
50
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiDialogCloseService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
51
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiDialogCloseService }); }
50
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.17", ngImport: i0, type: TuiDialogCloseService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
51
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.17", ngImport: i0, type: TuiDialogCloseService }); }
52
52
  }
53
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiDialogCloseService, decorators: [{
53
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.17", ngImport: i0, type: TuiDialogCloseService, decorators: [{
54
54
  type: Injectable
55
55
  }], ctorParameters: () => [] });
56
56
 
@@ -77,10 +77,10 @@ class TuiDialogComponent {
77
77
  }
78
78
  });
79
79
  }
80
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiDialogComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
81
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.15", type: TuiDialogComponent, isStandalone: true, selector: "tui-dialog", host: { properties: { "attr.data-appearance": "context.appearance", "attr.data-size": "context.size", "class._closable": "context.closable", "class.tui-backdrop-hidden": "context.appearance.includes(\"fullscreen\")" } }, providers: [TuiDialogCloseService], hostDirectives: [{ directive: i1.TuiAnimated }], ngImport: i0, template: "@if (context.closable) {\n <button\n size=\"s\"\n tuiIconButton\n type=\"button\"\n class=\"t-close\"\n [appearance]=\"context.appearance.includes('fullscreen') ? 'action' : 'neutral'\"\n [iconStart]=\"icons.close\"\n [style.border-radius.%]=\"100\"\n (click)=\"close$.next()\"\n (mousedown.prevent.zoneless)=\"(0)\"\n >\n {{ close() }}\n </button>\n}\n\n@if (!primitive && context.label) {\n <header>\n <hgroup tuiTitle>\n <h2\n [id]=\"context.id\"\n [innerHTML]=\"context.label\"\n ></h2>\n </hgroup>\n </header>\n}\n\n<ng-container *polymorpheusOutlet=\"context.content as text; context: context\">\n <header>\n <hgroup tuiTitle>\n <h2\n [id]=\"context.id\"\n [innerHTML]=\"context.label\"\n ></h2>\n <p [innerHTML]=\"text\"></p>\n </hgroup>\n </header>\n @if (context.closable || context.dismissible) {\n <footer>\n <button\n size=\"m\"\n tuiAutoFocus\n tuiButton\n type=\"button\"\n (click)=\"context.$implicit.complete()\"\n >\n {{ context.data || 'OK' }}\n </button>\n </footer>\n }\n</ng-container>\n", styles: ["tui-dialog{position:relative;box-sizing:border-box;font:var(--tui-font-text-m);background:var(--tui-background-elevation-1);box-shadow:var(--tui-shadow-popup)}tui-dialog:not([data-appearance~=fullscreen])._closable>header,tui-dialog:not([data-appearance~=fullscreen])._closable>ng-component>header{padding-inline-end:2.5rem}tui-dialog>header,tui-dialog>ng-component>header{font:var(--tui-font-heading-5)}tui-dialog>header [tuiTitle],tui-dialog>ng-component>header [tuiTitle]{font:inherit}tui-dialog>header p,tui-dialog>ng-component>header p{margin:.25rem 0 0;font:var(--tui-font-text-m)}tui-dialog>header p:empty,tui-dialog>ng-component>header p:empty{display:none}tui-dialog>.t-close{position:absolute;top:1rem;z-index:1;inset-inline-end:1rem}tui-dialog[data-appearance~=taiga]{max-inline-size:calc(100vw - 5rem);margin:2.5rem;padding:1.75rem;border-radius:1.5rem;--tui-from: translateY(2.5rem)}tui-dialog[data-appearance~=taiga].tui-enter,tui-dialog[data-appearance~=taiga].tui-leave{animation-name:tuiFade,tuiSlide}tui-dialog[data-appearance~=taiga][data-size=s]{inline-size:25rem;padding:1.5rem}tui-dialog[data-appearance~=taiga][data-size=s]>header,tui-dialog[data-appearance~=taiga][data-size=s]>[tuiSlides]>*>header,tui-dialog[data-appearance~=taiga][data-size=s]>ng-component>header,tui-dialog[data-appearance~=taiga][data-size=s]>ng-component>[tuiSlides]>*>header{font:var(--tui-font-heading-5)}tui-dialog[data-appearance~=taiga][data-size=s]>header:not(:last-child),tui-dialog[data-appearance~=taiga][data-size=s]>[tuiSlides]>*>header:not(:last-child),tui-dialog[data-appearance~=taiga][data-size=s]>ng-component>header:not(:last-child),tui-dialog[data-appearance~=taiga][data-size=s]>ng-component>[tuiSlides]>*>header:not(:last-child){margin-block-end:1.25rem}tui-dialog[data-appearance~=taiga][data-size=s]>footer,tui-dialog[data-appearance~=taiga][data-size=s]>ng-component>footer{margin-block-start:1.25rem}tui-dialog[data-appearance~=taiga][data-size=m],tui-dialog[data-appearance~=taiga][data-size=l]{inline-size:37.5rem}tui-dialog[data-appearance~=taiga][data-size=m]>header,tui-dialog[data-appearance~=taiga][data-size=l]>header,tui-dialog[data-appearance~=taiga][data-size=m]>[tuiSlides]>*>header,tui-dialog[data-appearance~=taiga][data-size=l]>[tuiSlides]>*>header,tui-dialog[data-appearance~=taiga][data-size=m]>ng-component>header,tui-dialog[data-appearance~=taiga][data-size=l]>ng-component>header,tui-dialog[data-appearance~=taiga][data-size=m]>ng-component>[tuiSlides]>*>header,tui-dialog[data-appearance~=taiga][data-size=l]>ng-component>[tuiSlides]>*>header{font:var(--tui-font-heading-4)}tui-dialog[data-appearance~=taiga][data-size=m]>header:not(:last-child),tui-dialog[data-appearance~=taiga][data-size=l]>header:not(:last-child),tui-dialog[data-appearance~=taiga][data-size=m]>[tuiSlides]>*>header:not(:last-child),tui-dialog[data-appearance~=taiga][data-size=l]>[tuiSlides]>*>header:not(:last-child),tui-dialog[data-appearance~=taiga][data-size=m]>ng-component>header:not(:last-child),tui-dialog[data-appearance~=taiga][data-size=l]>ng-component>header:not(:last-child),tui-dialog[data-appearance~=taiga][data-size=m]>ng-component>[tuiSlides]>*>header:not(:last-child),tui-dialog[data-appearance~=taiga][data-size=l]>ng-component>[tuiSlides]>*>header:not(:last-child){margin-block-end:1.5rem}tui-dialog[data-appearance~=taiga][data-size=l]{inline-size:50rem}tui-dialog[data-appearance~=taiga]>footer,tui-dialog[data-appearance~=taiga]>ng-component>footer{display:flex;justify-content:flex-end;flex-wrap:wrap-reverse;gap:.75rem;margin-block-start:2rem}tui-dialog[data-appearance~=fullscreen][data-size]{display:flex;flex-direction:column;block-size:100%;inline-size:100%;padding:env(safe-area-inset-top) max(calc(50vw - var(--tui-width) / 2),1rem) max(2rem,env(safe-area-inset-bottom));background:var(--tui-background-base);box-shadow:none;--tui-width: 45rem;--tui-from: translateY(2rem)}tui-dialog[data-appearance~=fullscreen][data-size].tui-enter,tui-dialog[data-appearance~=fullscreen][data-size].tui-leave{animation-name:tuiFade,tuiSlide}tui-dialog[data-appearance~=fullscreen][data-size]>.t-close{position:sticky;top:env(safe-area-inset-top);block-size:4rem;inline-size:auto;align-self:flex-end;margin-block-end:2rem;border-radius:0!important;font:var(--tui-font-text-m)!important;border-image:conic-gradient(var(--tui-background-base) 0 0) fill 0 / 0 / env(safe-area-inset-top) 100vw 0}tui-dialog[data-appearance~=fullscreen][data-size]>.t-close:before{display:none}tui-dialog[data-appearance~=fullscreen][data-size].tui-app-bar .t-close{display:none}tui-dialog[data-appearance~=fullscreen][data-size]:not(._closable):not(.tui-app-bar):before{content:\"\";block-size:1.5rem}tui-dialog[data-appearance~=fullscreen][data-size]>tui-app-bar,tui-dialog[data-appearance~=fullscreen][data-size]>ng-component>tui-app-bar{position:sticky;top:0;z-index:1;order:-1;border-inline-end:calc(50vw - var(--tui-width) / 2) solid transparent;border-inline-start:calc(50vw - var(--tui-width) / 2) solid transparent;margin:0 calc(var(--tui-width) / 2 - 50vw) 2rem}tui-dialog[data-appearance~=fullscreen][data-size]>header,tui-dialog[data-appearance~=fullscreen][data-size]>[tuiSlides]>*>header,tui-dialog[data-appearance~=fullscreen][data-size]>ng-component>header,tui-dialog[data-appearance~=fullscreen][data-size]>ng-component>[tuiSlides]>*>header{font:var(--tui-font-heading-3);margin-block-end:2rem}tui-dialog[data-appearance~=fullscreen][data-size]>footer,tui-dialog[data-appearance~=fullscreen][data-size]>ng-component>footer{display:flex;gap:.5rem .75rem;padding:2rem calc(50vw - var(--tui-width) / 2);margin:0 calc(var(--tui-width) / 2 - 50vw) calc(-2rem - env(safe-area-inset-top))}tui-dialog[data-appearance~=fullscreen][data-size]>footer:before,tui-dialog[data-appearance~=fullscreen][data-size]>ng-component>footer:before{left:0;right:0}tui-root:not(._mobile) tui-dialog[data-appearance~=fullscreen][data-size]>footer,tui-root:not(._mobile) tui-dialog[data-appearance~=fullscreen][data-size]>ng-component>footer{flex-direction:row;background:color-mix(in hsl,var(--tui-background-base) 80%,transparent);-webkit-backdrop-filter:blur(2rem);backdrop-filter:blur(2rem)}tui-root:not(._mobile) tui-dialog[data-appearance~=fullscreen][data-size]>footer:before,tui-root:not(._mobile) tui-dialog[data-appearance~=fullscreen][data-size]>ng-component>footer:before{display:none}tui-root:not(._mobile) tui-dialog[data-appearance~=fullscreen][data-size]>footer>button,tui-root:not(._mobile) tui-dialog[data-appearance~=fullscreen][data-size]>ng-component>footer>button,tui-root:not(._mobile) tui-dialog[data-appearance~=fullscreen][data-size]>footer>a,tui-root:not(._mobile) tui-dialog[data-appearance~=fullscreen][data-size]>ng-component>footer>a{inline-size:auto}tui-root._mobile tui-dialog[data-appearance~=fullscreen][data-size]{padding-block-end:max(1rem,env(safe-area-inset-bottom));--tui-from: translateY(4rem)}tui-root._mobile tui-dialog[data-appearance~=fullscreen][data-size] .t-close{align-self:flex-start;block-size:3.5rem;margin-block-end:1rem}tui-root._mobile tui-dialog[data-appearance~=fullscreen][data-size]>tui-app-bar,tui-root._mobile tui-dialog[data-appearance~=fullscreen][data-size]>ng-component>tui-app-bar{margin:calc(-1*env(safe-area-inset-top)) -1rem 1rem;padding-block-start:env(safe-area-inset-top);box-sizing:content-box}tui-root._mobile tui-dialog[data-appearance~=fullscreen][data-size]>header,tui-root._mobile tui-dialog[data-appearance~=fullscreen][data-size]>[tuiSlides]>*>header,tui-root._mobile tui-dialog[data-appearance~=fullscreen][data-size]>ng-component>header,tui-root._mobile tui-dialog[data-appearance~=fullscreen][data-size]>ng-component>[tuiSlides]>*>header{margin:-.25rem 0 1.5rem}tui-root._mobile tui-dialog[data-appearance~=fullscreen][data-size]>footer,tui-root._mobile tui-dialog[data-appearance~=fullscreen][data-size]>ng-component>footer{padding:0 1rem max(1rem,env(safe-area-inset-bottom));margin:1.5rem -1rem calc(-1*max(1rem,env(safe-area-inset-bottom)))}\n"], dependencies: [{ kind: "directive", type: PolymorpheusOutlet, selector: "[polymorpheusOutlet]", inputs: ["polymorpheusOutlet", "polymorpheusOutletContext"] }, { kind: "directive", type: TuiAutoFocus, selector: "[tuiAutoFocus]", inputs: ["tuiAutoFocus"] }, { kind: "directive", type: TuiButton, selector: "a[tuiButton],button[tuiButton],a[tuiIconButton],button[tuiIconButton]", inputs: ["size"] }, { kind: "directive", type: TuiTitle, selector: "[tuiTitle]", inputs: ["tuiTitle"] }], changeDetection: i0.ChangeDetectionStrategy.Default, encapsulation: i0.ViewEncapsulation.None }); }
80
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.17", ngImport: i0, type: TuiDialogComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
81
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.17", type: TuiDialogComponent, isStandalone: true, selector: "tui-dialog", host: { properties: { "attr.data-appearance": "context.appearance", "attr.data-size": "context.size", "class._closable": "context.closable", "class.tui-backdrop-hidden": "context.appearance.includes(\"fullscreen\")" } }, providers: [TuiDialogCloseService], hostDirectives: [{ directive: i1.TuiAnimated }], ngImport: i0, template: "@if (context.closable) {\n <button\n size=\"s\"\n tuiIconButton\n type=\"button\"\n class=\"t-close\"\n [appearance]=\"context.appearance.includes('fullscreen') ? 'action' : 'neutral'\"\n [iconStart]=\"icons.close\"\n [style.border-radius.%]=\"100\"\n (click)=\"close$.next()\"\n (mousedown.prevent.zoneless)=\"(0)\"\n >\n {{ close() }}\n </button>\n}\n\n@if (!primitive && context.label) {\n <header>\n <hgroup tuiTitle>\n <h2\n [id]=\"context.id\"\n [innerHTML]=\"context.label\"\n ></h2>\n </hgroup>\n </header>\n}\n\n<ng-container *polymorpheusOutlet=\"context.content as text; context: context\">\n <header>\n <hgroup tuiTitle>\n <h2\n [id]=\"context.id\"\n [innerHTML]=\"context.label\"\n ></h2>\n <p [innerHTML]=\"text\"></p>\n </hgroup>\n </header>\n @if (context.closable || context.dismissible) {\n <footer>\n <button\n size=\"m\"\n tuiAutoFocus\n tuiButton\n type=\"button\"\n (click)=\"context.$implicit.complete()\"\n >\n {{ context.data || 'OK' }}\n </button>\n </footer>\n }\n</ng-container>\n", styles: ["tui-dialog{position:relative;box-sizing:border-box;font:var(--tui-font-text-m);background:var(--tui-background-elevation-1);box-shadow:var(--tui-shadow-popup)}tui-dialog:not([data-appearance~=fullscreen])._closable>header,tui-dialog:not([data-appearance~=fullscreen])._closable>ng-component>header{padding-inline-end:2.5rem}tui-dialog>header,tui-dialog>ng-component>header{font:var(--tui-font-heading-5)}tui-dialog>header [tuiTitle],tui-dialog>ng-component>header [tuiTitle]{font:inherit}tui-dialog>header p,tui-dialog>ng-component>header p{margin:.25rem 0 0;font:var(--tui-font-text-m)}tui-dialog>header p:empty,tui-dialog>ng-component>header p:empty{display:none}tui-dialog>.t-close{position:absolute;top:1rem;z-index:1;inset-inline-end:1rem}tui-dialog[data-appearance~=taiga]{max-inline-size:calc(100vw - 5rem);margin:2.5rem;padding:1.75rem;border-radius:1.5rem;--tui-from: translateY(2.5rem)}tui-dialog[data-appearance~=taiga].tui-enter,tui-dialog[data-appearance~=taiga].tui-leave{animation-name:tuiFade,tuiSlide}tui-dialog[data-appearance~=taiga][data-size=s]{inline-size:25rem;padding:1.5rem}tui-dialog[data-appearance~=taiga][data-size=s]>header,tui-dialog[data-appearance~=taiga][data-size=s]>[tuiSlides]>*>header,tui-dialog[data-appearance~=taiga][data-size=s]>ng-component>header,tui-dialog[data-appearance~=taiga][data-size=s]>ng-component>[tuiSlides]>*>header{font:var(--tui-font-heading-5)}tui-dialog[data-appearance~=taiga][data-size=s]>header:not(:last-child),tui-dialog[data-appearance~=taiga][data-size=s]>[tuiSlides]>*>header:not(:last-child),tui-dialog[data-appearance~=taiga][data-size=s]>ng-component>header:not(:last-child),tui-dialog[data-appearance~=taiga][data-size=s]>ng-component>[tuiSlides]>*>header:not(:last-child){margin-block-end:1.25rem}tui-dialog[data-appearance~=taiga][data-size=s]>footer,tui-dialog[data-appearance~=taiga][data-size=s]>ng-component>footer{margin-block-start:1.25rem}tui-dialog[data-appearance~=taiga][data-size=m],tui-dialog[data-appearance~=taiga][data-size=l]{inline-size:37.5rem}tui-dialog[data-appearance~=taiga][data-size=m]>header,tui-dialog[data-appearance~=taiga][data-size=l]>header,tui-dialog[data-appearance~=taiga][data-size=m]>[tuiSlides]>*>header,tui-dialog[data-appearance~=taiga][data-size=l]>[tuiSlides]>*>header,tui-dialog[data-appearance~=taiga][data-size=m]>ng-component>header,tui-dialog[data-appearance~=taiga][data-size=l]>ng-component>header,tui-dialog[data-appearance~=taiga][data-size=m]>ng-component>[tuiSlides]>*>header,tui-dialog[data-appearance~=taiga][data-size=l]>ng-component>[tuiSlides]>*>header{font:var(--tui-font-heading-4)}tui-dialog[data-appearance~=taiga][data-size=m]>header:not(:last-child),tui-dialog[data-appearance~=taiga][data-size=l]>header:not(:last-child),tui-dialog[data-appearance~=taiga][data-size=m]>[tuiSlides]>*>header:not(:last-child),tui-dialog[data-appearance~=taiga][data-size=l]>[tuiSlides]>*>header:not(:last-child),tui-dialog[data-appearance~=taiga][data-size=m]>ng-component>header:not(:last-child),tui-dialog[data-appearance~=taiga][data-size=l]>ng-component>header:not(:last-child),tui-dialog[data-appearance~=taiga][data-size=m]>ng-component>[tuiSlides]>*>header:not(:last-child),tui-dialog[data-appearance~=taiga][data-size=l]>ng-component>[tuiSlides]>*>header:not(:last-child){margin-block-end:1.5rem}tui-dialog[data-appearance~=taiga][data-size=l]{inline-size:50rem}tui-dialog[data-appearance~=taiga]>footer,tui-dialog[data-appearance~=taiga]>ng-component>footer{display:flex;justify-content:flex-end;flex-wrap:wrap-reverse;gap:.75rem;margin-block-start:2rem}tui-dialog[data-appearance~=fullscreen][data-size]{display:flex;flex-direction:column;block-size:100%;inline-size:100%;padding:env(safe-area-inset-top) max(calc(50vw - var(--tui-width) / 2),1rem) max(2rem,env(safe-area-inset-bottom));background:var(--tui-background-base);box-shadow:none;--tui-width: 45rem;--tui-from: translateY(2rem)}tui-dialog[data-appearance~=fullscreen][data-size].tui-enter,tui-dialog[data-appearance~=fullscreen][data-size].tui-leave{animation-name:tuiFade,tuiSlide}tui-dialog[data-appearance~=fullscreen][data-size]>.t-close{position:sticky;top:env(safe-area-inset-top);block-size:4rem;inline-size:auto;align-self:flex-end;margin-block-end:2rem;border-radius:0!important;font:var(--tui-font-text-m)!important;border-image:conic-gradient(var(--tui-background-base) 0 0) fill 0 / 0 / env(safe-area-inset-top) 100vw 0}tui-dialog[data-appearance~=fullscreen][data-size]>.t-close:before{display:none}tui-dialog[data-appearance~=fullscreen][data-size].tui-app-bar .t-close{display:none}tui-dialog[data-appearance~=fullscreen][data-size]:not(._closable):not(.tui-app-bar):before{content:\"\";block-size:1.5rem}tui-dialog[data-appearance~=fullscreen][data-size]>tui-app-bar,tui-dialog[data-appearance~=fullscreen][data-size]>ng-component>tui-app-bar{position:sticky;top:0;z-index:1;order:-1;border-inline-end:calc(50vw - var(--tui-width) / 2) solid transparent;border-inline-start:calc(50vw - var(--tui-width) / 2) solid transparent;margin:0 calc(var(--tui-width) / 2 - 50vw) 2rem}tui-dialog[data-appearance~=fullscreen][data-size]>header,tui-dialog[data-appearance~=fullscreen][data-size]>[tuiSlides]>*>header,tui-dialog[data-appearance~=fullscreen][data-size]>ng-component>header,tui-dialog[data-appearance~=fullscreen][data-size]>ng-component>[tuiSlides]>*>header{font:var(--tui-font-heading-3);margin-block-end:2rem}tui-dialog[data-appearance~=fullscreen][data-size]>footer,tui-dialog[data-appearance~=fullscreen][data-size]>ng-component>footer{display:flex;gap:.5rem .75rem;padding:2rem calc(50vw - var(--tui-width) / 2);margin:0 calc(var(--tui-width) / 2 - 50vw) calc(-2rem - env(safe-area-inset-top))}tui-dialog[data-appearance~=fullscreen][data-size]>footer:before,tui-dialog[data-appearance~=fullscreen][data-size]>ng-component>footer:before{left:0;right:0}tui-root:not(._mobile) tui-dialog[data-appearance~=fullscreen][data-size]>footer,tui-root:not(._mobile) tui-dialog[data-appearance~=fullscreen][data-size]>ng-component>footer{flex-direction:row;background:color-mix(in hsl,var(--tui-background-base) 80%,transparent);-webkit-backdrop-filter:blur(2rem);backdrop-filter:blur(2rem)}tui-root:not(._mobile) tui-dialog[data-appearance~=fullscreen][data-size]>footer:before,tui-root:not(._mobile) tui-dialog[data-appearance~=fullscreen][data-size]>ng-component>footer:before{display:none}tui-root:not(._mobile) tui-dialog[data-appearance~=fullscreen][data-size]>footer>button,tui-root:not(._mobile) tui-dialog[data-appearance~=fullscreen][data-size]>ng-component>footer>button,tui-root:not(._mobile) tui-dialog[data-appearance~=fullscreen][data-size]>footer>a,tui-root:not(._mobile) tui-dialog[data-appearance~=fullscreen][data-size]>ng-component>footer>a{inline-size:auto}tui-root._mobile tui-dialog[data-appearance~=fullscreen][data-size]{padding-block-end:max(1rem,env(safe-area-inset-bottom));--tui-from: translateY(4rem)}tui-root._mobile tui-dialog[data-appearance~=fullscreen][data-size] .t-close{align-self:flex-start;block-size:3.5rem;margin-block-end:1rem}tui-root._mobile tui-dialog[data-appearance~=fullscreen][data-size]>tui-app-bar,tui-root._mobile tui-dialog[data-appearance~=fullscreen][data-size]>ng-component>tui-app-bar{margin:calc(-1*env(safe-area-inset-top)) -1rem 1rem;padding-block-start:env(safe-area-inset-top);box-sizing:content-box}tui-root._mobile tui-dialog[data-appearance~=fullscreen][data-size]>header,tui-root._mobile tui-dialog[data-appearance~=fullscreen][data-size]>[tuiSlides]>*>header,tui-root._mobile tui-dialog[data-appearance~=fullscreen][data-size]>ng-component>header,tui-root._mobile tui-dialog[data-appearance~=fullscreen][data-size]>ng-component>[tuiSlides]>*>header{margin:-.25rem 0 1.5rem}tui-root._mobile tui-dialog[data-appearance~=fullscreen][data-size]>footer,tui-root._mobile tui-dialog[data-appearance~=fullscreen][data-size]>ng-component>footer{padding:0 1rem max(1rem,env(safe-area-inset-bottom));margin:1.5rem -1rem calc(-1*max(1rem,env(safe-area-inset-bottom)))}\n"], dependencies: [{ kind: "directive", type: PolymorpheusOutlet, selector: "[polymorpheusOutlet]", inputs: ["polymorpheusOutlet", "polymorpheusOutletContext"] }, { kind: "directive", type: TuiAutoFocus, selector: "[tuiAutoFocus]", inputs: ["tuiAutoFocus"] }, { kind: "directive", type: TuiButton, selector: "a[tuiButton],button[tuiButton],a[tuiIconButton],button[tuiIconButton]", inputs: ["size"] }, { kind: "directive", type: TuiTitle, selector: "[tuiTitle]", inputs: ["tuiTitle"] }], changeDetection: i0.ChangeDetectionStrategy.Default, encapsulation: i0.ViewEncapsulation.None }); }
82
82
  }
83
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiDialogComponent, decorators: [{
83
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.17", ngImport: i0, type: TuiDialogComponent, decorators: [{
84
84
  type: Component,
85
85
  args: [{ selector: 'tui-dialog', imports: [PolymorpheusOutlet, TuiAutoFocus, TuiButton, TuiTitle], encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.Default, providers: [TuiDialogCloseService], hostDirectives: [TuiAnimated], host: {
86
86
  '[attr.data-appearance]': 'context.appearance',
@@ -106,10 +106,10 @@ class TuiDialogService extends TuiModalService {
106
106
  this.options = inject(TUI_DIALOG_OPTIONS);
107
107
  this.content = TuiDialogComponent;
108
108
  }
109
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiDialogService, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
110
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiDialogService, providedIn: 'root' }); }
109
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.17", ngImport: i0, type: TuiDialogService, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
110
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.17", ngImport: i0, type: TuiDialogService, providedIn: 'root' }); }
111
111
  }
112
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiDialogService, decorators: [{
112
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.17", ngImport: i0, type: TuiDialogService, decorators: [{
113
113
  type: Injectable,
114
114
  args: [{
115
115
  providedIn: 'root',
@@ -120,10 +120,10 @@ class TuiDialog {
120
120
  constructor() {
121
121
  this.tuiDialogOptions = input({});
122
122
  }
123
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiDialog, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
124
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "19.2.15", type: TuiDialog, isStandalone: true, selector: "ng-template[tuiDialog]", inputs: { tuiDialogOptions: { classPropertyName: "tuiDialogOptions", publicName: "tuiDialogOptions", isSignal: true, isRequired: false, transformFunction: null } }, providers: [tuiAsPortal(TuiDialogService)], hostDirectives: [{ directive: i1$1.TuiPortalDirective, inputs: ["options", "tuiDialogOptions", "open", "tuiDialog"], outputs: ["openChange", "tuiDialogChange"] }], ngImport: i0 }); }
123
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.17", ngImport: i0, type: TuiDialog, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
124
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "19.2.17", type: TuiDialog, isStandalone: true, selector: "ng-template[tuiDialog]", inputs: { tuiDialogOptions: { classPropertyName: "tuiDialogOptions", publicName: "tuiDialogOptions", isSignal: true, isRequired: false, transformFunction: null } }, providers: [tuiAsPortal(TuiDialogService)], hostDirectives: [{ directive: i1$1.TuiPortalDirective, inputs: ["options", "tuiDialogOptions", "open", "tuiDialog"], outputs: ["openChange", "tuiDialogChange"] }], ngImport: i0 }); }
125
125
  }
126
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiDialog, decorators: [{
126
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.17", ngImport: i0, type: TuiDialog, decorators: [{
127
127
  type: Directive,
128
128
  args: [{
129
129
  selector: 'ng-template[tuiDialog]',