@taiga-ui/legacy 4.52.0-canary.91aeb4a → 4.52.0-canary.974ca4b

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 (89) hide show
  1. package/README.md +1 -1
  2. package/classes/abstract-textfield-host.d.ts +1 -1
  3. package/components/arrow/arrow.options.d.ts +1 -3
  4. package/components/arrow/arrow.providers.d.ts +1 -6
  5. package/components/dialog/dialog.component.d.ts +3 -4
  6. package/components/dialog/dialog.directive.d.ts +4 -3
  7. package/components/dialog/dialog.interfaces.d.ts +3 -4
  8. package/components/dialog/dialog.service.d.ts +5 -2
  9. package/components/dialog/dialog.tokens.d.ts +1 -3
  10. package/components/index.d.ts +1 -5
  11. package/components/input-date-range/input-date-range.component.d.ts +1 -2
  12. package/components/input-date-time/input-date-time.component.d.ts +1 -2
  13. package/components/input-number/input-number.component.d.ts +1 -2
  14. package/components/input-number/input-number.options.d.ts +1 -7
  15. package/components/mobile-dialog/index.d.ts +3 -0
  16. package/components/mobile-dialog/mobile-dialog.component.d.ts +10 -0
  17. package/components/mobile-dialog/mobile-dialog.options.d.ts +10 -0
  18. package/components/mobile-dialog/mobile-dialog.service.d.ts +14 -0
  19. package/components/pdf-viewer/pdf-viewer.component.d.ts +2 -2
  20. package/components/pdf-viewer/pdf-viewer.directive.d.ts +4 -3
  21. package/components/pdf-viewer/pdf-viewer.options.d.ts +1 -3
  22. package/components/pdf-viewer/pdf-viewer.service.d.ts +7 -3
  23. package/components/primitive-textfield/primitive-textfield-options.d.ts +2 -2
  24. package/components/select/select.options.d.ts +1 -7
  25. package/directives/textfield-controller/textfield.options.d.ts +1 -3
  26. package/fesm2022/taiga-ui-legacy-classes.mjs +1 -3
  27. package/fesm2022/taiga-ui-legacy-classes.mjs.map +1 -1
  28. package/fesm2022/taiga-ui-legacy-components-arrow.mjs +4 -17
  29. package/fesm2022/taiga-ui-legacy-components-arrow.mjs.map +1 -1
  30. package/fesm2022/taiga-ui-legacy-components-dialog.mjs +28 -21
  31. package/fesm2022/taiga-ui-legacy-components-dialog.mjs.map +1 -1
  32. package/fesm2022/taiga-ui-legacy-components-input-date-range.mjs +8 -14
  33. package/fesm2022/taiga-ui-legacy-components-input-date-range.mjs.map +1 -1
  34. package/fesm2022/taiga-ui-legacy-components-input-date-time.mjs +8 -14
  35. package/fesm2022/taiga-ui-legacy-components-input-date-time.mjs.map +1 -1
  36. package/fesm2022/taiga-ui-legacy-components-input-number.mjs +14 -29
  37. package/fesm2022/taiga-ui-legacy-components-input-number.mjs.map +1 -1
  38. package/fesm2022/taiga-ui-legacy-components-mobile-dialog.mjs +62 -0
  39. package/fesm2022/taiga-ui-legacy-components-mobile-dialog.mjs.map +1 -0
  40. package/fesm2022/taiga-ui-legacy-components-pdf-viewer.mjs +27 -21
  41. package/fesm2022/taiga-ui-legacy-components-pdf-viewer.mjs.map +1 -1
  42. package/fesm2022/taiga-ui-legacy-components-select.mjs +4 -12
  43. package/fesm2022/taiga-ui-legacy-components-select.mjs.map +1 -1
  44. package/fesm2022/taiga-ui-legacy-components.mjs +1 -5
  45. package/fesm2022/taiga-ui-legacy-components.mjs.map +1 -1
  46. package/fesm2022/taiga-ui-legacy-directives-legacy-dropdown-open-monitor.mjs +0 -1
  47. package/fesm2022/taiga-ui-legacy-directives-legacy-dropdown-open-monitor.mjs.map +1 -1
  48. package/fesm2022/taiga-ui-legacy-directives-textfield-controller.mjs +3 -7
  49. package/fesm2022/taiga-ui-legacy-directives-textfield-controller.mjs.map +1 -1
  50. package/fesm2022/taiga-ui-legacy-directives-unfinished-validator.mjs +0 -1
  51. package/fesm2022/taiga-ui-legacy-directives-unfinished-validator.mjs.map +1 -1
  52. package/package.json +11 -24
  53. package/utils/icons-path-factory.d.ts +1 -1
  54. package/components/input-tag/index.d.ts +0 -3
  55. package/components/input-tag/input-tag.component.d.ts +0 -103
  56. package/components/input-tag/input-tag.module.d.ts +0 -22
  57. package/components/input-tag/input-tag.options.d.ts +0 -27
  58. package/components/multi-select/hide-selected.pipe.d.ts +0 -11
  59. package/components/multi-select/index.d.ts +0 -10
  60. package/components/multi-select/multi-select-group/multi-select-group.component.d.ts +0 -23
  61. package/components/multi-select/multi-select-group/multi-select-group.directive.d.ts +0 -8
  62. package/components/multi-select/multi-select.component.d.ts +0 -71
  63. package/components/multi-select/multi-select.directive.d.ts +0 -14
  64. package/components/multi-select/multi-select.module.d.ts +0 -30
  65. package/components/multi-select/multi-select.options.d.ts +0 -14
  66. package/components/multi-select/native-multi-select/native-multi-select-group.component.d.ts +0 -9
  67. package/components/multi-select/native-multi-select/native-multi-select.component.d.ts +0 -8
  68. package/components/multi-select/native-multi-select/native-multi-select.d.ts +0 -11
  69. package/components/multi-select-option/index.d.ts +0 -2
  70. package/components/multi-select-option/multi-select-option.component.d.ts +0 -9
  71. package/components/multi-select-option/multi-select-option.module.d.ts +0 -9
  72. package/components/tag/index.d.ts +0 -3
  73. package/components/tag/tag.component.d.ts +0 -44
  74. package/components/tag/tag.module.d.ts +0 -16
  75. package/components/tag/tag.options.d.ts +0 -27
  76. package/components/textarea/index.d.ts +0 -3
  77. package/components/textarea/textarea.component.d.ts +0 -54
  78. package/components/textarea/textarea.directive.d.ts +0 -12
  79. package/components/textarea/textarea.module.d.ts +0 -21
  80. package/fesm2022/taiga-ui-legacy-components-input-tag.mjs +0 -524
  81. package/fesm2022/taiga-ui-legacy-components-input-tag.mjs.map +0 -1
  82. package/fesm2022/taiga-ui-legacy-components-multi-select-option.mjs +0 -47
  83. package/fesm2022/taiga-ui-legacy-components-multi-select-option.mjs.map +0 -1
  84. package/fesm2022/taiga-ui-legacy-components-multi-select.mjs +0 -686
  85. package/fesm2022/taiga-ui-legacy-components-multi-select.mjs.map +0 -1
  86. package/fesm2022/taiga-ui-legacy-components-tag.mjs +0 -225
  87. package/fesm2022/taiga-ui-legacy-components-tag.mjs.map +0 -1
  88. package/fesm2022/taiga-ui-legacy-components-textarea.mjs +0 -262
  89. package/fesm2022/taiga-ui-legacy-components-textarea.mjs.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"taiga-ui-legacy-directives-unfinished-validator.mjs","sources":["../../../projects/legacy/directives/unfinished-validator/unfinished.validator.ts","../../../projects/legacy/directives/unfinished-validator/unfinished-validator.directive.ts","../../../projects/legacy/directives/unfinished-validator/taiga-ui-legacy-directives-unfinished-validator.ts"],"sourcesContent":["import {type AbstractControl, type ValidatorFn} from '@angular/forms';\nimport {TuiValidationError} from '@taiga-ui/cdk/classes';\nimport {tuiIsHTMLElement, tuiIsInput} from '@taiga-ui/cdk/utils/dom';\nimport {type TuiFocusableElementAccessor} from '@taiga-ui/legacy/tokens';\nimport {type PolymorpheusContent} from '@taiga-ui/polymorpheus';\n\nexport function tuiCreateUnfinishedValidator(\n nativeInputGetter: () => TuiFocusableElementAccessor,\n message: PolymorpheusContent,\n): ValidatorFn {\n return ({\n value,\n }: AbstractControl): {unfinished: TuiValidationError | string} | null => {\n const nativeInput = nativeInputGetter();\n\n return value === null &&\n nativeInput &&\n tuiIsHTMLElement(nativeInput.nativeFocusableElement) &&\n tuiIsInput(nativeInput.nativeFocusableElement) &&\n nativeInput.nativeFocusableElement.value !== ''\n ? {unfinished: new TuiValidationError(message)}\n : null;\n };\n}\n","import {Directive, inject, INJECTOR, Input} from '@angular/core';\nimport {NG_VALIDATORS, type Validator} from '@angular/forms';\nimport {tuiProvide} from '@taiga-ui/cdk/utils/miscellaneous';\nimport {TUI_DEFAULT_ERROR_MESSAGE} from '@taiga-ui/core/tokens';\nimport {TUI_FOCUSABLE_ITEM_ACCESSOR} from '@taiga-ui/legacy/tokens';\n\nimport {tuiCreateUnfinishedValidator} from './unfinished.validator';\n\n@Directive({\n standalone: true,\n selector: '[tuiUnfinishedValidator]',\n providers: [tuiProvide(NG_VALIDATORS, TuiUnfinishedValidator, true)],\n})\nexport class TuiUnfinishedValidator implements Validator {\n private readonly default = inject(TUI_DEFAULT_ERROR_MESSAGE);\n private readonly injector = inject(INJECTOR);\n\n @Input()\n public tuiUnfinishedValidator = '';\n\n public readonly validate = tuiCreateUnfinishedValidator(\n () => this.injector.get(TUI_FOCUSABLE_ITEM_ACCESSOR),\n () => this.tuiUnfinishedValidator || this.default(),\n );\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;AAMgB,SAAA,4BAA4B,CACxC,iBAAoD,EACpD,OAA4B,EAAA;AAE5B,IAAA,OAAO,CAAC,EACJ,KAAK,GACS,KAAsD;AACpE,QAAA,MAAM,WAAW,GAAG,iBAAiB,EAAE;QAEvC,OAAO,KAAK,KAAK,IAAI;YACjB,WAAW;AACX,YAAA,gBAAgB,CAAC,WAAW,CAAC,sBAAsB,CAAC;AACpD,YAAA,UAAU,CAAC,WAAW,CAAC,sBAAsB,CAAC;AAC9C,YAAA,WAAW,CAAC,sBAAsB,CAAC,KAAK,KAAK;cAC3C,EAAC,UAAU,EAAE,IAAI,kBAAkB,CAAC,OAAO,CAAC;cAC5C,IAAI;AACd,KAAC;AACL;;MCVa,sBAAsB,CAAA;AALnC,IAAA,WAAA,GAAA;AAMqB,QAAA,IAAA,CAAA,OAAO,GAAG,MAAM,CAAC,yBAAyB,CAAC;AAC3C,QAAA,IAAA,CAAA,QAAQ,GAAG,MAAM,CAAC,QAAQ,CAAC;QAGrC,IAAsB,CAAA,sBAAA,GAAG,EAAE;QAElB,IAAQ,CAAA,QAAA,GAAG,4BAA4B,CACnD,MAAM,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,2BAA2B,CAAC,EACpD,MAAM,IAAI,CAAC,sBAAsB,IAAI,IAAI,CAAC,OAAO,EAAE,CACtD;AACJ;+GAXY,sBAAsB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;mGAAtB,sBAAsB,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,0BAAA,EAAA,MAAA,EAAA,EAAA,sBAAA,EAAA,wBAAA,EAAA,EAAA,SAAA,EAFpB,CAAC,UAAU,CAAC,aAAa,EAAE,sBAAsB,EAAE,IAAI,CAAC,CAAC,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA,CAAA;;4FAE3D,sBAAsB,EAAA,UAAA,EAAA,CAAA;kBALlC,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACP,oBAAA,UAAU,EAAE,IAAI;AAChB,oBAAA,QAAQ,EAAE,0BAA0B;oBACpC,SAAS,EAAE,CAAC,UAAU,CAAC,aAAa,EAA0B,sBAAA,EAAA,IAAI,CAAC,CAAC;AACvE,iBAAA;8BAMU,sBAAsB,EAAA,CAAA;sBAD5B;;;ACjBL;;AAEG;;;;"}
1
+ {"version":3,"file":"taiga-ui-legacy-directives-unfinished-validator.mjs","sources":["../../../projects/legacy/directives/unfinished-validator/unfinished.validator.ts","../../../projects/legacy/directives/unfinished-validator/unfinished-validator.directive.ts","../../../projects/legacy/directives/unfinished-validator/taiga-ui-legacy-directives-unfinished-validator.ts"],"sourcesContent":["import {type AbstractControl, type ValidatorFn} from '@angular/forms';\nimport {TuiValidationError} from '@taiga-ui/cdk/classes';\nimport {tuiIsHTMLElement, tuiIsInput} from '@taiga-ui/cdk/utils/dom';\nimport {type TuiFocusableElementAccessor} from '@taiga-ui/legacy/tokens';\nimport {type PolymorpheusContent} from '@taiga-ui/polymorpheus';\n\nexport function tuiCreateUnfinishedValidator(\n nativeInputGetter: () => TuiFocusableElementAccessor,\n message: PolymorpheusContent,\n): ValidatorFn {\n return ({\n value,\n }: AbstractControl): {unfinished: TuiValidationError | string} | null => {\n const nativeInput = nativeInputGetter();\n\n return value === null &&\n nativeInput &&\n tuiIsHTMLElement(nativeInput.nativeFocusableElement) &&\n tuiIsInput(nativeInput.nativeFocusableElement) &&\n nativeInput.nativeFocusableElement.value !== ''\n ? {unfinished: new TuiValidationError(message)}\n : null;\n };\n}\n","import {Directive, inject, INJECTOR, Input} from '@angular/core';\nimport {NG_VALIDATORS, type Validator} from '@angular/forms';\nimport {tuiProvide} from '@taiga-ui/cdk/utils/miscellaneous';\nimport {TUI_DEFAULT_ERROR_MESSAGE} from '@taiga-ui/core/tokens';\nimport {TUI_FOCUSABLE_ITEM_ACCESSOR} from '@taiga-ui/legacy/tokens';\n\nimport {tuiCreateUnfinishedValidator} from './unfinished.validator';\n\n@Directive({\n selector: '[tuiUnfinishedValidator]',\n providers: [tuiProvide(NG_VALIDATORS, TuiUnfinishedValidator, true)],\n})\nexport class TuiUnfinishedValidator implements Validator {\n private readonly default = inject(TUI_DEFAULT_ERROR_MESSAGE);\n private readonly injector = inject(INJECTOR);\n\n @Input()\n public tuiUnfinishedValidator = '';\n\n public readonly validate = tuiCreateUnfinishedValidator(\n () => this.injector.get(TUI_FOCUSABLE_ITEM_ACCESSOR),\n () => this.tuiUnfinishedValidator || this.default(),\n );\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;AAMgB,SAAA,4BAA4B,CACxC,iBAAoD,EACpD,OAA4B,EAAA;AAE5B,IAAA,OAAO,CAAC,EACJ,KAAK,GACS,KAAsD;AACpE,QAAA,MAAM,WAAW,GAAG,iBAAiB,EAAE;QAEvC,OAAO,KAAK,KAAK,IAAI;YACjB,WAAW;AACX,YAAA,gBAAgB,CAAC,WAAW,CAAC,sBAAsB,CAAC;AACpD,YAAA,UAAU,CAAC,WAAW,CAAC,sBAAsB,CAAC;AAC9C,YAAA,WAAW,CAAC,sBAAsB,CAAC,KAAK,KAAK;cAC3C,EAAC,UAAU,EAAE,IAAI,kBAAkB,CAAC,OAAO,CAAC;cAC5C,IAAI;AACd,KAAC;AACL;;MCXa,sBAAsB,CAAA;AAJnC,IAAA,WAAA,GAAA;AAKqB,QAAA,IAAA,CAAA,OAAO,GAAG,MAAM,CAAC,yBAAyB,CAAC;AAC3C,QAAA,IAAA,CAAA,QAAQ,GAAG,MAAM,CAAC,QAAQ,CAAC;QAGrC,IAAsB,CAAA,sBAAA,GAAG,EAAE;QAElB,IAAQ,CAAA,QAAA,GAAG,4BAA4B,CACnD,MAAM,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,2BAA2B,CAAC,EACpD,MAAM,IAAI,CAAC,sBAAsB,IAAI,IAAI,CAAC,OAAO,EAAE,CACtD;AACJ;+GAXY,sBAAsB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;mGAAtB,sBAAsB,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,0BAAA,EAAA,MAAA,EAAA,EAAA,sBAAA,EAAA,wBAAA,EAAA,EAAA,SAAA,EAFpB,CAAC,UAAU,CAAC,aAAa,EAAE,sBAAsB,EAAE,IAAI,CAAC,CAAC,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA,CAAA;;4FAE3D,sBAAsB,EAAA,UAAA,EAAA,CAAA;kBAJlC,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACP,oBAAA,QAAQ,EAAE,0BAA0B;oBACpC,SAAS,EAAE,CAAC,UAAU,CAAC,aAAa,EAA0B,sBAAA,EAAA,IAAI,CAAC,CAAC;AACvE,iBAAA;8BAMU,sBAAsB,EAAA,CAAA;sBAD5B;;;AChBL;;AAEG;;;;"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@taiga-ui/legacy",
3
- "version": "4.52.0-canary.91aeb4a",
3
+ "version": "4.52.0-canary.974ca4b",
4
4
  "description": "Legacy Taiga UI entities from the previous major release to simplify migration",
5
5
  "keywords": [
6
6
  "legacy",
@@ -8,7 +8,10 @@
8
8
  "outdated"
9
9
  ],
10
10
  "homepage": "https://github.com/taiga-family/taiga-ui",
11
- "repository": "https://github.com/taiga-family/taiga-ui",
11
+ "repository": {
12
+ "type": "git",
13
+ "url": "https://github.com/taiga-family/taiga-ui"
14
+ },
12
15
  "license": "Apache-2.0",
13
16
  "exports": {
14
17
  "./styles/*": "./styles/*",
@@ -75,17 +78,9 @@
75
78
  "types": "./components/input-slider/index.d.ts",
76
79
  "default": "./fesm2022/taiga-ui-legacy-components-input-slider.mjs"
77
80
  },
78
- "./components/input-tag": {
79
- "types": "./components/input-tag/index.d.ts",
80
- "default": "./fesm2022/taiga-ui-legacy-components-input-tag.mjs"
81
- },
82
- "./components/multi-select": {
83
- "types": "./components/multi-select/index.d.ts",
84
- "default": "./fesm2022/taiga-ui-legacy-components-multi-select.mjs"
85
- },
86
- "./components/multi-select-option": {
87
- "types": "./components/multi-select-option/index.d.ts",
88
- "default": "./fesm2022/taiga-ui-legacy-components-multi-select-option.mjs"
81
+ "./components/mobile-dialog": {
82
+ "types": "./components/mobile-dialog/index.d.ts",
83
+ "default": "./fesm2022/taiga-ui-legacy-components-mobile-dialog.mjs"
89
84
  },
90
85
  "./components/pdf-viewer": {
91
86
  "types": "./components/pdf-viewer/index.d.ts",
@@ -103,22 +98,14 @@
103
98
  "types": "./components/select-option/index.d.ts",
104
99
  "default": "./fesm2022/taiga-ui-legacy-components-select-option.mjs"
105
100
  },
106
- "./components/tag": {
107
- "types": "./components/tag/index.d.ts",
108
- "default": "./fesm2022/taiga-ui-legacy-components-tag.mjs"
109
- },
110
- "./components/textarea": {
111
- "types": "./components/textarea/index.d.ts",
112
- "default": "./fesm2022/taiga-ui-legacy-components-textarea.mjs"
101
+ "./components/tooltip": {
102
+ "types": "./components/tooltip/index.d.ts",
103
+ "default": "./fesm2022/taiga-ui-legacy-components-tooltip.mjs"
113
104
  },
114
105
  "./directives/legacy-dropdown-open-monitor": {
115
106
  "types": "./directives/legacy-dropdown-open-monitor/index.d.ts",
116
107
  "default": "./fesm2022/taiga-ui-legacy-directives-legacy-dropdown-open-monitor.mjs"
117
108
  },
118
- "./components/tooltip": {
119
- "types": "./components/tooltip/index.d.ts",
120
- "default": "./fesm2022/taiga-ui-legacy-components-tooltip.mjs"
121
- },
122
109
  "./directives/textfield-controller": {
123
110
  "types": "./directives/textfield-controller/index.d.ts",
124
111
  "default": "./fesm2022/taiga-ui-legacy-directives-textfield-controller.mjs"
@@ -2,7 +2,7 @@ import { type TuiStringHandler } from '@taiga-ui/cdk/types';
2
2
  /**
3
3
  * @deprecated: drop in v5.0
4
4
  */
5
- export declare const TUI_CACHE_BUSTING_PAYLOAD: "?v=4.52.0-canary.91aeb4a";
5
+ export declare const TUI_CACHE_BUSTING_PAYLOAD: "?v=4.52.0-canary.974ca4b";
6
6
  /**
7
7
  * @deprecated: drop in v5.0
8
8
  */
@@ -1,3 +0,0 @@
1
- export * from './input-tag.component';
2
- export * from './input-tag.module';
3
- export * from './input-tag.options';
@@ -1,103 +0,0 @@
1
- import { EventEmitter, TemplateRef } from '@angular/core';
2
- import { type TuiActiveZone } from '@taiga-ui/cdk/directives/active-zone';
3
- import { type TuiBooleanHandler, type TuiContext } from '@taiga-ui/cdk/types';
4
- import { type TuiDataListHost } from '@taiga-ui/core/components/data-list';
5
- import { TuiHintOptionsDirective } from '@taiga-ui/core/directives/hint';
6
- import { type TuiSizeL, type TuiSizeS } from '@taiga-ui/core/types';
7
- import { AbstractTuiMultipleControl, type TuiStringifiableItem } from '@taiga-ui/legacy/classes';
8
- import { type TuiFocusableElementAccessor } from '@taiga-ui/legacy/tokens';
9
- import { type TuiStatus } from '@taiga-ui/legacy/utils';
10
- import { type PolymorpheusContent } from '@taiga-ui/polymorpheus';
11
- import * as i0 from "@angular/core";
12
- import * as i1 from "@taiga-ui/core/directives/dropdown";
13
- /**
14
- * TODO(v5): delete it
15
- * @deprecated use {@link https://taiga-ui.dev/components/input-chip TuiInputChip} instead
16
- */
17
- export declare class TuiInputTagComponent extends AbstractTuiMultipleControl<string> implements TuiFocusableElementAccessor, TuiDataListHost<string> {
18
- private readonly dropdown?;
19
- private readonly focusableElement?;
20
- private readonly tagsContainer?;
21
- private readonly tags;
22
- private readonly cleanerSvg?;
23
- private readonly scrollBar?;
24
- private readonly el;
25
- private readonly options;
26
- protected readonly datalist?: TemplateRef<TuiContext<TuiActiveZone>>;
27
- protected readonly valueContent?: unknown;
28
- protected readonly errorIconTemplate?: TemplateRef<Record<string, unknown>>;
29
- protected readonly textfieldOptions: import("@taiga-ui/core/components/textfield").TuiTextfieldOptions;
30
- protected readonly hintOptions: TuiHintOptionsDirective | null;
31
- protected readonly controller: import("@taiga-ui/legacy/directives").TuiTextfieldController;
32
- protected readonly icons: import("@taiga-ui/core/tokens").TuiCommonIcons;
33
- protected status: TuiStatus;
34
- protected open: boolean;
35
- separator: RegExp | string;
36
- search: string | null;
37
- editable: boolean;
38
- tagValidator: TuiBooleanHandler<string> | TuiBooleanHandler<TuiStringifiableItem<unknown> | string>;
39
- rows: number;
40
- inputHidden: boolean;
41
- uniqueTags: boolean;
42
- autoColor: boolean;
43
- maxLength: number | null;
44
- placeholder: string;
45
- removable: boolean;
46
- disabledItemHandler: TuiBooleanHandler<TuiStringifiableItem<any> | string>;
47
- readonly searchChange: EventEmitter<string>;
48
- pseudoOpen: import("@angular/core").WritableSignal<boolean>;
49
- set pseudoFocusedSetter(value: boolean | null);
50
- /**
51
- * @deprecated hack
52
- */
53
- set setPseudoOpen(value: boolean);
54
- get labelOutside(): boolean;
55
- get size(): TuiSizeL | TuiSizeS;
56
- get nativeFocusableElement(): HTMLInputElement | null;
57
- get hasValue(): boolean;
58
- get hasExampleText(): boolean;
59
- get hasPlaceholder(): boolean;
60
- get focused(): boolean;
61
- get tagsEmpty(): boolean;
62
- onTagEdited(value: string, index: number): void;
63
- handleOption(item: string): void;
64
- setDisabledState(): void;
65
- protected get iconStart(): PolymorpheusContent<TuiContext<TuiSizeL | TuiSizeS>>;
66
- protected get appearance(): string;
67
- protected get expandable(): boolean;
68
- protected get icon(): PolymorpheusContent<TuiContext<TuiSizeL | TuiSizeS>>;
69
- protected get iconCleaner(): PolymorpheusContent<TuiContext<TuiSizeL | TuiSizeS>>;
70
- protected get hasCleaner(): boolean;
71
- protected get hasNativeValue(): boolean;
72
- protected get placeholderRaised(): boolean;
73
- protected get hasRightIcons(): boolean;
74
- protected get showHint(): boolean;
75
- protected get canOpen(): boolean;
76
- protected get computeMaxHeight(): number | null;
77
- protected onFocusInOut(): void;
78
- protected detectRetargetFromLabel(event: Event): void;
79
- protected getLeftContent(tag: string): PolymorpheusContent;
80
- protected onCleanerClick(): void;
81
- protected onActiveZone(active: boolean): void;
82
- protected onMouseDown(event: MouseEvent): void;
83
- protected onFieldKeyDownBackspace(event: Event): void;
84
- protected onFieldKeyDownArrowLeft(event: Event): void;
85
- protected onFieldKeyDownEnter(): void;
86
- protected onTagKeyDownArrowLeft(currentIndex: number): void;
87
- protected onTagKeyDownArrowRight(currentIndex: number): void;
88
- protected onInput(value: string): void;
89
- protected onPaste(event: Event): void;
90
- protected onDrop({ dataTransfer }: DragEvent): void;
91
- protected trackByFn(_: number, tag: string): string;
92
- private get lineHeight();
93
- private scrollTo;
94
- private filterValue;
95
- private onScrollKeyDown;
96
- private updateSearch;
97
- private addTag;
98
- private deleteLastEnabledItem;
99
- private focusInput;
100
- private clippedValue;
101
- static ɵfac: i0.ɵɵFactoryDeclaration<TuiInputTagComponent, never>;
102
- static ɵcmp: i0.ɵɵComponentDeclaration<TuiInputTagComponent, "tui-input-tag", never, { "separator": { "alias": "separator"; "required": false; }; "search": { "alias": "search"; "required": false; }; "editable": { "alias": "editable"; "required": false; }; "tagValidator": { "alias": "tagValidator"; "required": false; }; "rows": { "alias": "rows"; "required": false; }; "inputHidden": { "alias": "inputHidden"; "required": false; }; "uniqueTags": { "alias": "uniqueTags"; "required": false; }; "autoColor": { "alias": "autoColor"; "required": false; }; "maxLength": { "alias": "maxLength"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "removable": { "alias": "removable"; "required": false; }; "disabledItemHandler": { "alias": "disabledItemHandler"; "required": false; }; "pseudoFocusedSetter": { "alias": "pseudoFocused"; "required": false; }; "setPseudoOpen": { "alias": "pseudoOpen"; "required": false; }; }, { "searchChange": "searchChange"; }, ["datalist", "valueContent"], ["*", "tuiContent", "select"], false, [{ directive: typeof i1.TuiDropdownFixed; inputs: {}; outputs: {}; }]>;
103
- }
@@ -1,22 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "./input-tag.component";
3
- import * as i2 from "@angular/common";
4
- import * as i3 from "@angular/forms";
5
- import * as i4 from "@taiga-ui/polymorpheus";
6
- import * as i5 from "@taiga-ui/core/directives/appearance";
7
- import * as i6 from "@taiga-ui/cdk/directives/hovered";
8
- import * as i7 from "@taiga-ui/core/components/icon";
9
- import * as i8 from "@taiga-ui/legacy/directives";
10
- import * as i9 from "@taiga-ui/core/components/scrollbar";
11
- import * as i10 from "@taiga-ui/legacy/components/tag";
12
- import * as i11 from "@taiga-ui/legacy/components/tooltip";
13
- import * as i12 from "@taiga-ui/core/directives/dropdown";
14
- /**
15
- * TODO(v5): delete it
16
- * @deprecated use {@link https://taiga-ui.dev/components/input-chip TuiInputChip} instead
17
- */
18
- export declare class TuiInputTagModule {
19
- static ɵfac: i0.ɵɵFactoryDeclaration<TuiInputTagModule, never>;
20
- static ɵmod: i0.ɵɵNgModuleDeclaration<TuiInputTagModule, [typeof i1.TuiInputTagComponent], [typeof i2.CommonModule, typeof i3.FormsModule, typeof i4.PolymorpheusOutlet, typeof i4.PolymorpheusTemplate, typeof i5.TuiAppearance, typeof i6.TuiHovered, typeof i7.TuiIcon, typeof i8.TuiLegacyDropdownOpenMonitorDirective, typeof i9.TuiScrollbar, typeof i10.TuiTagModule, typeof i11.TuiTooltipModule, typeof i8.TuiWrapperModule, typeof i12.TuiDropdownOptionsDirective, typeof i12.TuiDropdownDriverDirective, typeof i12.TuiDropdownDirective, typeof i12.TuiDropdownComponent, typeof i12.TuiDropdownOpen, typeof i12.TuiDropdownOpenLegacy, typeof i12.TuiDropdownManual, typeof i12.TuiDropdownHover, typeof i12.TuiDropdownContent, typeof i12.TuiDropdownContext, typeof i12.TuiDropdownPosition, typeof i12.TuiDropdownPositionSided, typeof i12.TuiDropdownSelection], [typeof i1.TuiInputTagComponent, typeof i12.TuiDropdownOptionsDirective, typeof i12.TuiDropdownDriverDirective, typeof i12.TuiDropdownDirective, typeof i12.TuiDropdownComponent, typeof i12.TuiDropdownOpen, typeof i12.TuiDropdownOpenLegacy, typeof i12.TuiDropdownManual, typeof i12.TuiDropdownHover, typeof i12.TuiDropdownContent, typeof i12.TuiDropdownContext, typeof i12.TuiDropdownPosition, typeof i12.TuiDropdownPositionSided, typeof i12.TuiDropdownSelection]>;
21
- static ɵinj: i0.ɵɵInjectorDeclaration<TuiInputTagModule>;
22
- }
@@ -1,27 +0,0 @@
1
- import { InjectionToken, type Provider } from '@angular/core';
2
- import { type TuiStatus } from '@taiga-ui/legacy/utils';
3
- /**
4
- * TODO(v5): delete it
5
- * @deprecated use {@link https://taiga-ui.dev/components/input-chip TuiInputChip} instead
6
- */
7
- export interface TuiInputTagOptions {
8
- readonly autoColor: boolean;
9
- readonly separator: RegExp | string;
10
- readonly tagStatus: TuiStatus;
11
- readonly uniqueTags: boolean;
12
- }
13
- /**
14
- * TODO(v5): delete it
15
- * @deprecated use {@link https://taiga-ui.dev/components/input-chip TuiInputChip} instead
16
- */
17
- export declare const TUI_INPUT_TAG_DEFAULT_OPTIONS: TuiInputTagOptions;
18
- /**
19
- * @deprecated: drop in v5.0
20
- * Default parameters for InputTag component
21
- */
22
- export declare const TUI_INPUT_TAG_OPTIONS: InjectionToken<TuiInputTagOptions>;
23
- /**
24
- * TODO(v5): delete it
25
- * @deprecated use {@link https://taiga-ui.dev/components/input-chip TuiInputChip} instead
26
- */
27
- export declare function tuiInputTagOptionsProvider(options: Partial<TuiInputTagOptions>): Provider;
@@ -1,11 +0,0 @@
1
- import { type PipeTransform } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export declare class TuiHideSelectedPipe implements PipeTransform {
4
- private readonly component;
5
- transform<T>(items: readonly T[] | null): readonly T[] | null;
6
- transform<T>(items: ReadonlyArray<readonly T[]> | null): ReadonlyArray<readonly T[]> | null;
7
- private filter2d;
8
- private filter;
9
- static ɵfac: i0.ɵɵFactoryDeclaration<TuiHideSelectedPipe, never>;
10
- static ɵpipe: i0.ɵɵPipeDeclaration<TuiHideSelectedPipe, "tuiHideSelected", false>;
11
- }
@@ -1,10 +0,0 @@
1
- export * from './hide-selected.pipe';
2
- export * from './multi-select.component';
3
- export * from './multi-select.directive';
4
- export * from './multi-select.module';
5
- export * from './multi-select.options';
6
- export * from './multi-select-group/multi-select-group.component';
7
- export * from './multi-select-group/multi-select-group.directive';
8
- export * from './native-multi-select/native-multi-select';
9
- export * from './native-multi-select/native-multi-select.component';
10
- export * from './native-multi-select/native-multi-select-group.component';
@@ -1,23 +0,0 @@
1
- import { type Observable } from 'rxjs';
2
- import * as i0 from "@angular/core";
3
- export declare class TuiMultiSelectGroupComponent<T> {
4
- private readonly options;
5
- private readonly host;
6
- private readonly control;
7
- protected readonly multiSelectTexts: import("@angular/core").Signal<{
8
- all: string;
9
- none: string;
10
- }>;
11
- label: string;
12
- protected get empty$(): Observable<boolean>;
13
- protected get disabled$(): Observable<boolean>;
14
- protected get value$(): Observable<boolean | null>;
15
- protected onClick(checked: boolean | null): void;
16
- private get items$();
17
- private get valueChanges$();
18
- private get values();
19
- private get matcher();
20
- private filter;
21
- static ɵfac: i0.ɵɵFactoryDeclaration<TuiMultiSelectGroupComponent<any>, never>;
22
- static ɵcmp: i0.ɵɵComponentDeclaration<TuiMultiSelectGroupComponent<any>, "tui-opt-group[tuiMultiSelectGroup]", never, { "label": { "alias": "label"; "required": false; }; }, {}, ["options"], ["*"], false, never>;
23
- }
@@ -1,8 +0,0 @@
1
- import { TuiMultiSelectOptionComponent } from '@taiga-ui/legacy/components/multi-select-option';
2
- import { PolymorpheusComponent } from '@taiga-ui/polymorpheus';
3
- import * as i0 from "@angular/core";
4
- export declare const TUI_MULTI_SELECT_OPTION: PolymorpheusComponent<TuiMultiSelectOptionComponent<any[]>>;
5
- export declare class TuiMultiSelectGroupDirective {
6
- static ɵfac: i0.ɵɵFactoryDeclaration<TuiMultiSelectGroupDirective, never>;
7
- static ɵdir: i0.ɵɵDirectiveDeclaration<TuiMultiSelectGroupDirective, "[tuiMultiSelectGroup]", never, {}, {}, never, never, false, never>;
8
- }
@@ -1,71 +0,0 @@
1
- import { EventEmitter } from '@angular/core';
2
- import { type TuiActiveZone } from '@taiga-ui/cdk/directives/active-zone';
3
- import { type TuiBooleanHandler, type TuiContext, type TuiMapper, type TuiStringHandler } from '@taiga-ui/cdk/types';
4
- import { type TuiDataListHost } from '@taiga-ui/core/components/data-list';
5
- import { type TuiSizeL, type TuiSizeM, type TuiSizeS } from '@taiga-ui/core/types';
6
- import { type TuiItemsHandlers } from '@taiga-ui/kit/tokens';
7
- import { AbstractTuiMultipleControl, TuiStringifiableItem } from '@taiga-ui/legacy/classes';
8
- import { TuiInputTagComponent } from '@taiga-ui/legacy/components/input-tag';
9
- import { type TuiFocusableElementAccessor } from '@taiga-ui/legacy/tokens';
10
- import { type PolymorpheusContent } from '@taiga-ui/polymorpheus';
11
- import { type TuiMultiSelectOptions } from './multi-select.options';
12
- import * as i0 from "@angular/core";
13
- import * as i1 from "@taiga-ui/core/directives/dropdown";
14
- export declare class TuiMultiSelectComponent<T> extends AbstractTuiMultipleControl<T> implements TuiFocusableElementAccessor, TuiDataListHost<T> {
15
- private readonly accessor?;
16
- private readonly nativeSelect?;
17
- private readonly dropdown?;
18
- private readonly input?;
19
- private readonly arrowMode;
20
- private readonly itemsHandlers;
21
- private readonly options;
22
- private readonly inputTagOptions;
23
- protected readonly datalist: PolymorpheusContent<TuiContext<TuiActiveZone>>;
24
- protected open: boolean;
25
- protected readonly controller: import("@taiga-ui/legacy/directives").TuiTextfieldController;
26
- protected readonly isMobile: boolean;
27
- stringify: TuiItemsHandlers<T>['stringify'];
28
- identityMatcher: TuiItemsHandlers<T>['identityMatcher'];
29
- search: string | null;
30
- placeholder: string;
31
- editable: boolean;
32
- disabledItemHandler: TuiItemsHandlers<T>['disabledItemHandler'];
33
- valueContent: TuiMultiSelectOptions<T>['valueContent'];
34
- tagValidator: TuiBooleanHandler<T>;
35
- rows: TuiMultiSelectOptions<T>['rows'];
36
- autoColor: boolean;
37
- readonly searchChange: EventEmitter<string | null>;
38
- get size(): TuiSizeL | TuiSizeS;
39
- get nativeFocusableElement(): HTMLInputElement | null;
40
- get focused(): boolean;
41
- onValueChange(value: readonly T[]): void;
42
- onSearch(search: string | null): void;
43
- setDisabledState(): void;
44
- handleOption(option: T): void;
45
- protected get arrow(): PolymorpheusContent<TuiContext<TuiSizeL | TuiSizeM | TuiSizeS>>;
46
- protected get nativeDropdownMode(): boolean;
47
- protected get computedValue(): readonly T[];
48
- protected get searchOrSpace(): string;
49
- protected get searchString(): string;
50
- protected get computedGroup(): boolean;
51
- protected getStringifier(stringify: TuiStringHandler<T>): TuiStringHandler<TuiContext<T>>;
52
- protected readonly valueMapper: TuiMapper<[
53
- readonly T[],
54
- TuiStringHandler<T>,
55
- boolean?
56
- ], ReadonlyArray<TuiStringifiableItem<T>>>;
57
- protected readonly disabledItemHandlerWrapper: TuiMapper<[
58
- TuiBooleanHandler<T>
59
- ], TuiBooleanHandler<TuiStringifiableItem<T> | string>>;
60
- protected onSpace(event: Event): void;
61
- protected onEnter(event: Event): void;
62
- protected onKeyDown(event: KeyboardEvent): void;
63
- protected onPaste(event: Event): void;
64
- protected onClick({ nativeFocusableElement }: TuiInputTagComponent): void;
65
- protected onInput(value: ReadonlyArray<TuiStringifiableItem<T>>): void;
66
- protected onActiveZone(active: boolean): void;
67
- private filterValue;
68
- private updateSearch;
69
- static ɵfac: i0.ɵɵFactoryDeclaration<TuiMultiSelectComponent<any>, never>;
70
- static ɵcmp: i0.ɵɵComponentDeclaration<TuiMultiSelectComponent<any>, "tui-multi-select", never, { "stringify": { "alias": "stringify"; "required": false; }; "identityMatcher": { "alias": "identityMatcher"; "required": false; }; "search": { "alias": "search"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "editable": { "alias": "editable"; "required": false; }; "disabledItemHandler": { "alias": "disabledItemHandler"; "required": false; }; "valueContent": { "alias": "valueContent"; "required": false; }; "tagValidator": { "alias": "tagValidator"; "required": false; }; "rows": { "alias": "rows"; "required": false; }; "autoColor": { "alias": "autoColor"; "required": false; }; }, { "searchChange": "searchChange"; }, ["accessor", "nativeSelect", "datalist"], ["*", "select"], false, [{ directive: typeof i1.TuiDropdownFixed; inputs: {}; outputs: {}; }]>;
71
- }
@@ -1,14 +0,0 @@
1
- import { type TuiBooleanHandler } from '@taiga-ui/cdk/types';
2
- import { type TuiItemsHandlers } from '@taiga-ui/kit/tokens';
3
- import { AbstractTuiTextfieldHost } from '@taiga-ui/legacy/classes';
4
- import { type TuiMultiSelectComponent } from './multi-select.component';
5
- import * as i0 from "@angular/core";
6
- export declare class TuiMultiSelectDirective<T = string> extends AbstractTuiTextfieldHost<TuiMultiSelectComponent<T>> {
7
- get readOnly(): boolean;
8
- get stringify(): TuiItemsHandlers<T>['stringify'];
9
- disableItemHandler: TuiBooleanHandler<T>;
10
- onValueChange(): void;
11
- onSelectionChange(value: T[]): void;
12
- static ɵfac: i0.ɵɵFactoryDeclaration<TuiMultiSelectDirective<any>, never>;
13
- static ɵdir: i0.ɵɵDirectiveDeclaration<TuiMultiSelectDirective<any>, "tui-multi-select", never, {}, {}, never, never, false, never>;
14
- }
@@ -1,30 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "./multi-select.component";
3
- import * as i2 from "./multi-select-group/multi-select-group.component";
4
- import * as i3 from "./multi-select-group/multi-select-group.directive";
5
- import * as i4 from "./hide-selected.pipe";
6
- import * as i5 from "./native-multi-select/native-multi-select.component";
7
- import * as i6 from "./native-multi-select/native-multi-select-group.component";
8
- import * as i7 from "./multi-select.directive";
9
- import * as i8 from "@angular/common";
10
- import * as i9 from "@angular/forms";
11
- import * as i10 from "@taiga-ui/polymorpheus";
12
- import * as i11 from "@taiga-ui/legacy/components/arrow";
13
- import * as i12 from "@taiga-ui/legacy/components/input-tag";
14
- import * as i13 from "@taiga-ui/legacy/directives";
15
- import * as i14 from "@taiga-ui/core/components/link";
16
- import * as i15 from "@taiga-ui/cdk/pipes/mapper";
17
- import * as i16 from "@taiga-ui/legacy/components/multi-select-option";
18
- import * as i17 from "@taiga-ui/kit/pipes/stringify-content";
19
- import * as i18 from "@taiga-ui/core/components/data-list";
20
- import * as i19 from "@taiga-ui/kit/components/data-list-wrapper";
21
- import * as i20 from "@taiga-ui/core/directives/dropdown";
22
- /**
23
- * TODO(v5): delete it
24
- * @deprecated use new version of {@link https://taiga-ui.dev/components/input-chip TuiInputChip} (from @taiga-ui/kit) instead
25
- */
26
- export declare class TuiMultiSelectModule {
27
- static ɵfac: i0.ɵɵFactoryDeclaration<TuiMultiSelectModule, never>;
28
- static ɵmod: i0.ɵɵNgModuleDeclaration<TuiMultiSelectModule, [typeof i1.TuiMultiSelectComponent, typeof i2.TuiMultiSelectGroupComponent, typeof i3.TuiMultiSelectGroupDirective, typeof i4.TuiHideSelectedPipe, typeof i5.TuiNativeMultiSelectComponent, typeof i6.TuiNativeMultiSelectGroupComponent, typeof i7.TuiMultiSelectDirective], [typeof i8.CommonModule, typeof i9.FormsModule, typeof i10.PolymorpheusOutlet, typeof i10.PolymorpheusTemplate, typeof i11.TuiArrowComponent, typeof i12.TuiInputTagModule, typeof i13.TuiLegacyDropdownOpenMonitorDirective, typeof i14.TuiLink, typeof i15.TuiMapperPipe, typeof i16.TuiMultiSelectOptionModule, typeof i17.TuiStringifyContentPipe, typeof i13.TuiTextfieldControllerModule, typeof i13.TuiWrapperModule, typeof i18.TuiDataListComponent, typeof i18.TuiDataListDirective, typeof i18.TuiOption, typeof i18.TuiOptionNew, typeof i18.TuiOptionWithValue, typeof i18.TuiOptGroup, typeof i19.TuiDataListWrapperComponent, typeof i19.TuiDataListGroupWrapperComponent, typeof i18.TuiDataListDirective, typeof i20.TuiDropdownOptionsDirective, typeof i20.TuiDropdownDriverDirective, typeof i20.TuiDropdownDirective, typeof i20.TuiDropdownComponent, typeof i20.TuiDropdownOpen, typeof i20.TuiDropdownOpenLegacy, typeof i20.TuiDropdownManual, typeof i20.TuiDropdownHover, typeof i20.TuiDropdownContent, typeof i20.TuiDropdownContext, typeof i20.TuiDropdownPosition, typeof i20.TuiDropdownPositionSided, typeof i20.TuiDropdownSelection], [typeof i1.TuiMultiSelectComponent, typeof i2.TuiMultiSelectGroupComponent, typeof i3.TuiMultiSelectGroupDirective, typeof i4.TuiHideSelectedPipe, typeof i7.TuiMultiSelectDirective, typeof i5.TuiNativeMultiSelectComponent, typeof i6.TuiNativeMultiSelectGroupComponent, typeof i20.TuiDropdownOptionsDirective, typeof i20.TuiDropdownDriverDirective, typeof i20.TuiDropdownDirective, typeof i20.TuiDropdownComponent, typeof i20.TuiDropdownOpen, typeof i20.TuiDropdownOpenLegacy, typeof i20.TuiDropdownManual, typeof i20.TuiDropdownHover, typeof i20.TuiDropdownContent, typeof i20.TuiDropdownContext, typeof i20.TuiDropdownPosition, typeof i20.TuiDropdownPositionSided, typeof i20.TuiDropdownSelection, typeof i18.TuiDataListComponent, typeof i18.TuiDataListDirective, typeof i18.TuiOption, typeof i18.TuiOptionNew, typeof i18.TuiOptionWithValue, typeof i18.TuiOptGroup, typeof i19.TuiDataListWrapperComponent, typeof i19.TuiDataListGroupWrapperComponent, typeof i18.TuiDataListDirective]>;
29
- static ɵinj: i0.ɵɵInjectorDeclaration<TuiMultiSelectModule>;
30
- }
@@ -1,14 +0,0 @@
1
- import { InjectionToken, type Provider } from '@angular/core';
2
- import { type TuiContext } from '@taiga-ui/cdk/types';
3
- import { type PolymorpheusContent } from '@taiga-ui/polymorpheus';
4
- export interface TuiMultiSelectOptions<T> {
5
- readonly rows: number;
6
- readonly valueContent: PolymorpheusContent<TuiContext<readonly T[]>>;
7
- }
8
- export declare const TUI_MULTI_SELECT_DEFAULT_OPTIONS: TuiMultiSelectOptions<unknown>;
9
- /**
10
- * @deprecated: drop in v5.0
11
- * Default parameters for MultiSelect component
12
- */
13
- export declare const TUI_MULTI_SELECT_OPTIONS: InjectionToken<TuiMultiSelectOptions<unknown>>;
14
- export declare function tuiMultiSelectOptionsProvider<T>(options: Partial<TuiMultiSelectOptions<T>>): Provider;
@@ -1,9 +0,0 @@
1
- import { AbstractTuiNativeMultiSelect } from './native-multi-select';
2
- import * as i0 from "@angular/core";
3
- export declare class TuiNativeMultiSelectGroupComponent<T> extends AbstractTuiNativeMultiSelect<T> {
4
- items: readonly T[][] | null;
5
- labels: readonly string[];
6
- protected onValueChange(selectedOptions: HTMLSelectElement['selectedOptions']): void;
7
- static ɵfac: i0.ɵɵFactoryDeclaration<TuiNativeMultiSelectGroupComponent<any>, never>;
8
- static ɵcmp: i0.ɵɵComponentDeclaration<TuiNativeMultiSelectGroupComponent<any>, "select[multiple][tuiSelect][labels]", never, { "items": { "alias": "items"; "required": false; }; "labels": { "alias": "labels"; "required": false; }; }, {}, never, never, false, never>;
9
- }
@@ -1,8 +0,0 @@
1
- import { AbstractTuiNativeMultiSelect } from './native-multi-select';
2
- import * as i0 from "@angular/core";
3
- export declare class TuiNativeMultiSelectComponent<T> extends AbstractTuiNativeMultiSelect<T> {
4
- items: readonly T[] | null;
5
- protected onValueChange(selectedOptions: HTMLSelectElement['selectedOptions']): void;
6
- static ɵfac: i0.ɵɵFactoryDeclaration<TuiNativeMultiSelectComponent<any>, never>;
7
- static ɵcmp: i0.ɵɵComponentDeclaration<TuiNativeMultiSelectComponent<any>, "select[multiple][tuiSelect]:not([labels])", never, { "items": { "alias": "items"; "required": false; }; }, {}, never, never, false, never>;
8
- }
@@ -1,11 +0,0 @@
1
- import { type TuiMapper } from '@taiga-ui/cdk/types';
2
- import { type TuiItemsHandlers } from '@taiga-ui/kit/tokens';
3
- import { AbstractTuiNativeSelect } from '@taiga-ui/legacy/classes';
4
- import { type TuiMultiSelectDirective } from '../multi-select.directive';
5
- import * as i0 from "@angular/core";
6
- export declare abstract class AbstractTuiNativeMultiSelect<T> extends AbstractTuiNativeSelect<TuiMultiSelectDirective<T>, T> {
7
- protected get stringify(): TuiItemsHandlers<T>['stringify'];
8
- protected selectedMapper: TuiMapper<[T, ...any[]], boolean>;
9
- static ɵfac: i0.ɵɵFactoryDeclaration<AbstractTuiNativeMultiSelect<any>, never>;
10
- static ɵdir: i0.ɵɵDirectiveDeclaration<AbstractTuiNativeMultiSelect<any>, never, never, {}, {}, never, never, true, never>;
11
- }
@@ -1,2 +0,0 @@
1
- export * from './multi-select-option.component';
2
- export * from './multi-select-option.module';
@@ -1,9 +0,0 @@
1
- import { type TuiSizeS } from '@taiga-ui/core/types';
2
- import { TuiSelectOptionComponent } from '@taiga-ui/legacy/components/select-option';
3
- import * as i0 from "@angular/core";
4
- export declare class TuiMultiSelectOptionComponent<T extends any[]> extends TuiSelectOptionComponent<T> {
5
- protected get size(): TuiSizeS;
6
- protected get selected(): boolean;
7
- static ɵfac: i0.ɵɵFactoryDeclaration<TuiMultiSelectOptionComponent<any>, never>;
8
- static ɵcmp: i0.ɵɵComponentDeclaration<TuiMultiSelectOptionComponent<any>, "tui-multi-select-option", never, {}, {}, never, never, false, never>;
9
- }
@@ -1,9 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "./multi-select-option.component";
3
- import * as i2 from "@angular/common";
4
- import * as i3 from "@taiga-ui/kit/components/checkbox";
5
- export declare class TuiMultiSelectOptionModule {
6
- static ɵfac: i0.ɵɵFactoryDeclaration<TuiMultiSelectOptionModule, never>;
7
- static ɵmod: i0.ɵɵNgModuleDeclaration<TuiMultiSelectOptionModule, [typeof i1.TuiMultiSelectOptionComponent], [typeof i2.CommonModule, typeof i3.TuiCheckbox], [typeof i1.TuiMultiSelectOptionComponent]>;
8
- static ɵinj: i0.ɵɵInjectorDeclaration<TuiMultiSelectOptionModule>;
9
- }
@@ -1,3 +0,0 @@
1
- export * from './tag.component';
2
- export * from './tag.module';
3
- export * from './tag.options';
@@ -1,44 +0,0 @@
1
- import { ElementRef, EventEmitter } from '@angular/core';
2
- import { type TuiSizeL, type TuiSizeS, type TuiSizeXS } from '@taiga-ui/core/types';
3
- import { type TuiStatus } from '@taiga-ui/legacy/utils';
4
- import { type PolymorpheusContent } from '@taiga-ui/polymorpheus';
5
- import * as i0 from "@angular/core";
6
- /**
7
- * @deprecated: drop in v5.0 use {@link TuiChip}
8
- * https://taiga-ui.dev/components/chip
9
- */
10
- export declare class TuiTagComponent {
11
- private readonly el;
12
- private readonly options;
13
- protected editing: boolean;
14
- protected readonly icons: import("@taiga-ui/core/tokens").TuiCommonIcons;
15
- protected editedText: string | null;
16
- value: string;
17
- editable: boolean;
18
- separator: RegExp | string;
19
- maxLength: number | null;
20
- size: TuiSizeL | TuiSizeS;
21
- showLoader: boolean;
22
- status: TuiStatus;
23
- hoverable: boolean;
24
- removable: boolean;
25
- disabled: boolean;
26
- autoColor: boolean;
27
- leftContent: PolymorpheusContent;
28
- readonly edited: EventEmitter<string>;
29
- protected set input(input: ElementRef<HTMLInputElement>);
30
- protected get backgroundColor(): string | null;
31
- protected get canRemove(): boolean;
32
- protected get displayText(): string;
33
- protected get loaderSize(): TuiSizeXS;
34
- protected edit(event: Event): void;
35
- protected remove(event: Event): void;
36
- protected onInput(value: string): void;
37
- protected onKeyDown(event: KeyboardEvent): void;
38
- protected onBlur(): void;
39
- private get canEdit();
40
- private stopEditing;
41
- private save;
42
- static ɵfac: i0.ɵɵFactoryDeclaration<TuiTagComponent, never>;
43
- static ɵcmp: i0.ɵɵComponentDeclaration<TuiTagComponent, "tui-tag, a[tuiTag], button[tuiTag]", never, { "value": { "alias": "value"; "required": false; }; "editable": { "alias": "editable"; "required": false; }; "separator": { "alias": "separator"; "required": false; }; "maxLength": { "alias": "maxLength"; "required": false; }; "size": { "alias": "size"; "required": false; }; "showLoader": { "alias": "showLoader"; "required": false; }; "status": { "alias": "status"; "required": false; }; "hoverable": { "alias": "hoverable"; "required": false; }; "removable": { "alias": "removable"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "autoColor": { "alias": "autoColor"; "required": false; }; "leftContent": { "alias": "leftContent"; "required": false; }; }, { "edited": "edited"; }, never, never, false, never>;
44
- }
@@ -1,16 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "./tag.component";
3
- import * as i2 from "@angular/common";
4
- import * as i3 from "@angular/forms";
5
- import * as i4 from "@taiga-ui/polymorpheus";
6
- import * as i5 from "@taiga-ui/core/components/icon";
7
- import * as i6 from "@taiga-ui/core/components/loader";
8
- /**
9
- * @deprecated: drop in v5.0 use {@link TuiChip}
10
- * https://taiga-ui.dev/components/chip
11
- */
12
- export declare class TuiTagModule {
13
- static ɵfac: i0.ɵɵFactoryDeclaration<TuiTagModule, never>;
14
- static ɵmod: i0.ɵɵNgModuleDeclaration<TuiTagModule, [typeof i1.TuiTagComponent], [typeof i2.CommonModule, typeof i3.FormsModule, typeof i4.PolymorpheusOutlet, typeof i4.PolymorpheusTemplate, typeof i5.TuiIcon, typeof i6.TuiLoader], [typeof i1.TuiTagComponent]>;
15
- static ɵinj: i0.ɵɵInjectorDeclaration<TuiTagModule>;
16
- }
@@ -1,27 +0,0 @@
1
- import { InjectionToken, type Provider } from '@angular/core';
2
- import { type TuiSizeL, type TuiSizeS } from '@taiga-ui/core/types';
3
- import { type TuiStatus } from '@taiga-ui/legacy/utils';
4
- /**
5
- * @deprecated: drop in v5.0 use {@link TuiChip}
6
- * https://taiga-ui.dev/components/chip
7
- */
8
- export interface TuiTagOptions {
9
- readonly autoColor: boolean;
10
- readonly size: TuiSizeL | TuiSizeS;
11
- readonly status: TuiStatus;
12
- }
13
- /**
14
- * @deprecated: drop in v5.0 use {@link TuiChip}
15
- * https://taiga-ui.dev/components/chip
16
- */
17
- export declare const TUI_TAG_DEFAULT_OPTIONS: TuiTagOptions;
18
- /**
19
- * @deprecated: drop in v5.0 use {@link TuiChip}
20
- * https://taiga-ui.dev/components/chip
21
- */
22
- export declare const TUI_TAG_OPTIONS: InjectionToken<TuiTagOptions>;
23
- /**
24
- * @deprecated: drop in v5.0 use {@link TuiChip}
25
- * https://taiga-ui.dev/components/chip
26
- */
27
- export declare function tuiTagOptionsProvider(options: Partial<TuiTagOptions>): Provider;
@@ -1,3 +0,0 @@
1
- export * from './textarea.component';
2
- export * from './textarea.directive';
3
- export * from './textarea.module';