@taiga-ui/core 3.33.1 → 3.34.0

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 (127) hide show
  1. package/bundles/taiga-ui-core-components-button.umd.js +0 -15
  2. package/bundles/taiga-ui-core-components-button.umd.js.map +1 -1
  3. package/bundles/taiga-ui-core-components-calendar.umd.js +0 -348
  4. package/bundles/taiga-ui-core-components-calendar.umd.js.map +1 -1
  5. package/bundles/taiga-ui-core-components-data-list.umd.js +0 -18
  6. package/bundles/taiga-ui-core-components-data-list.umd.js.map +1 -1
  7. package/bundles/taiga-ui-core-components-error.umd.js +0 -321
  8. package/bundles/taiga-ui-core-components-error.umd.js.map +1 -1
  9. package/bundles/taiga-ui-core-components-expand.umd.js +200 -524
  10. package/bundles/taiga-ui-core-components-expand.umd.js.map +1 -1
  11. package/bundles/taiga-ui-core-components-group.umd.js +136 -469
  12. package/bundles/taiga-ui-core-components-group.umd.js.map +1 -1
  13. package/bundles/taiga-ui-core-components-hosted-dropdown.umd.js +0 -9
  14. package/bundles/taiga-ui-core-components-hosted-dropdown.umd.js.map +1 -1
  15. package/bundles/taiga-ui-core-components-label.umd.js +4 -325
  16. package/bundles/taiga-ui-core-components-label.umd.js.map +1 -1
  17. package/bundles/taiga-ui-core-components-link.umd.js +0 -333
  18. package/bundles/taiga-ui-core-components-link.umd.js.map +1 -1
  19. package/bundles/taiga-ui-core-components-loader.umd.js +0 -330
  20. package/bundles/taiga-ui-core-components-loader.umd.js.map +1 -1
  21. package/bundles/taiga-ui-core-components-notification.umd.js +0 -327
  22. package/bundles/taiga-ui-core-components-notification.umd.js.map +1 -1
  23. package/bundles/taiga-ui-core-components-primitive-calendar.umd.js +0 -336
  24. package/bundles/taiga-ui-core-components-primitive-calendar.umd.js.map +1 -1
  25. package/bundles/taiga-ui-core-components-primitive-checkbox.umd.js +4 -343
  26. package/bundles/taiga-ui-core-components-primitive-checkbox.umd.js.map +1 -1
  27. package/bundles/taiga-ui-core-components-primitive-spin-button.umd.js +0 -12
  28. package/bundles/taiga-ui-core-components-primitive-spin-button.umd.js.map +1 -1
  29. package/bundles/taiga-ui-core-components-primitive-textfield.umd.js +0 -27
  30. package/bundles/taiga-ui-core-components-primitive-textfield.umd.js.map +1 -1
  31. package/bundles/taiga-ui-core-components-primitive-year-picker.umd.js +0 -333
  32. package/bundles/taiga-ui-core-components-primitive-year-picker.umd.js.map +1 -1
  33. package/bundles/taiga-ui-core-components-root.umd.js +1 -1
  34. package/bundles/taiga-ui-core-components-scrollbar.umd.js +0 -321
  35. package/bundles/taiga-ui-core-components-scrollbar.umd.js.map +1 -1
  36. package/bundles/taiga-ui-core-components-svg.umd.js +0 -3
  37. package/bundles/taiga-ui-core-components-svg.umd.js.map +1 -1
  38. package/bundles/taiga-ui-core-components-tooltip.umd.js +0 -3
  39. package/bundles/taiga-ui-core-components-tooltip.umd.js.map +1 -1
  40. package/bundles/taiga-ui-core-directives-dropdown.umd.js +0 -27
  41. package/bundles/taiga-ui-core-directives-dropdown.umd.js.map +1 -1
  42. package/bundles/taiga-ui-core-directives-hint.umd.js +0 -24
  43. package/bundles/taiga-ui-core-directives-hint.umd.js.map +1 -1
  44. package/bundles/taiga-ui-core-directives-scroll-into-view.umd.js +0 -321
  45. package/bundles/taiga-ui-core-directives-scroll-into-view.umd.js.map +1 -1
  46. package/bundles/taiga-ui-core-internal-primitive-year-month-pagination.umd.js +0 -327
  47. package/bundles/taiga-ui-core-internal-primitive-year-month-pagination.umd.js.map +1 -1
  48. package/constants/cache-basting-payload.d.ts +1 -1
  49. package/esm2015/components/button/button.component.js +2 -18
  50. package/esm2015/components/calendar/calendar.component.js +2 -33
  51. package/esm2015/components/data-list/data-list.component.js +2 -8
  52. package/esm2015/components/data-list/opt-group.directive.js +1 -6
  53. package/esm2015/components/data-list/option/option.component.js +2 -11
  54. package/esm2015/components/error/error.component.js +2 -6
  55. package/esm2015/components/expand/expand.component.js +2 -9
  56. package/esm2015/components/group/group.directive.js +2 -18
  57. package/esm2015/components/hosted-dropdown/hosted-dropdown.component.js +2 -11
  58. package/esm2015/components/label/label.component.js +1 -6
  59. package/esm2015/components/link/link.component.js +2 -18
  60. package/esm2015/components/loader/loader.component.js +2 -15
  61. package/esm2015/components/notification/notification.component.js +2 -12
  62. package/esm2015/components/primitive-calendar/primitive-calendar.component.js +2 -21
  63. package/esm2015/components/primitive-checkbox/primitive-checkbox.component.js +1 -24
  64. package/esm2015/components/primitive-spin-button/primitive-spin-button.component.js +2 -15
  65. package/esm2015/components/primitive-textfield/primitive-textfield.component.js +2 -29
  66. package/esm2015/components/primitive-year-picker/primitive-year-picker.component.js +2 -18
  67. package/esm2015/components/root/root.component.js +1 -1
  68. package/esm2015/components/scrollbar/scrollbar.component.js +2 -6
  69. package/esm2015/components/svg/svg.component.js +2 -5
  70. package/esm2015/components/tooltip/tooltip.component.js +2 -6
  71. package/esm2015/directives/dropdown/dropdown-hover.directive.js +2 -9
  72. package/esm2015/directives/dropdown/dropdown-options.directive.js +1 -21
  73. package/esm2015/directives/dropdown/dropdown-selection.directive.js +2 -6
  74. package/esm2015/directives/hint/hint-hover.directive.js +2 -9
  75. package/esm2015/directives/hint/hint-options.directive.js +2 -15
  76. package/esm2015/directives/hint/hint-position.directive.js +2 -5
  77. package/esm2015/directives/hint/hint.directive.js +2 -6
  78. package/esm2015/directives/scroll-into-view/scroll-into-view.directive.js +2 -6
  79. package/esm2015/internal/primitive-year-month-pagination/primitive-year-month-pagination.component.js +2 -12
  80. package/fesm2015/taiga-ui-core-components-button.js +1 -17
  81. package/fesm2015/taiga-ui-core-components-button.js.map +1 -1
  82. package/fesm2015/taiga-ui-core-components-calendar.js +1 -32
  83. package/fesm2015/taiga-ui-core-components-calendar.js.map +1 -1
  84. package/fesm2015/taiga-ui-core-components-data-list.js +1 -19
  85. package/fesm2015/taiga-ui-core-components-data-list.js.map +1 -1
  86. package/fesm2015/taiga-ui-core-components-error.js +1 -5
  87. package/fesm2015/taiga-ui-core-components-error.js.map +1 -1
  88. package/fesm2015/taiga-ui-core-components-expand.js +1 -8
  89. package/fesm2015/taiga-ui-core-components-expand.js.map +1 -1
  90. package/fesm2015/taiga-ui-core-components-group.js +1 -17
  91. package/fesm2015/taiga-ui-core-components-group.js.map +1 -1
  92. package/fesm2015/taiga-ui-core-components-hosted-dropdown.js +1 -10
  93. package/fesm2015/taiga-ui-core-components-hosted-dropdown.js.map +1 -1
  94. package/fesm2015/taiga-ui-core-components-label.js +0 -5
  95. package/fesm2015/taiga-ui-core-components-label.js.map +1 -1
  96. package/fesm2015/taiga-ui-core-components-link.js +1 -17
  97. package/fesm2015/taiga-ui-core-components-link.js.map +1 -1
  98. package/fesm2015/taiga-ui-core-components-loader.js +1 -14
  99. package/fesm2015/taiga-ui-core-components-loader.js.map +1 -1
  100. package/fesm2015/taiga-ui-core-components-notification.js +1 -11
  101. package/fesm2015/taiga-ui-core-components-notification.js.map +1 -1
  102. package/fesm2015/taiga-ui-core-components-primitive-calendar.js +1 -20
  103. package/fesm2015/taiga-ui-core-components-primitive-calendar.js.map +1 -1
  104. package/fesm2015/taiga-ui-core-components-primitive-checkbox.js +0 -23
  105. package/fesm2015/taiga-ui-core-components-primitive-checkbox.js.map +1 -1
  106. package/fesm2015/taiga-ui-core-components-primitive-spin-button.js +1 -14
  107. package/fesm2015/taiga-ui-core-components-primitive-spin-button.js.map +1 -1
  108. package/fesm2015/taiga-ui-core-components-primitive-textfield.js +1 -28
  109. package/fesm2015/taiga-ui-core-components-primitive-textfield.js.map +1 -1
  110. package/fesm2015/taiga-ui-core-components-primitive-year-picker.js +1 -17
  111. package/fesm2015/taiga-ui-core-components-primitive-year-picker.js.map +1 -1
  112. package/fesm2015/taiga-ui-core-components-root.js +1 -1
  113. package/fesm2015/taiga-ui-core-components-scrollbar.js +1 -5
  114. package/fesm2015/taiga-ui-core-components-scrollbar.js.map +1 -1
  115. package/fesm2015/taiga-ui-core-components-svg.js +1 -4
  116. package/fesm2015/taiga-ui-core-components-svg.js.map +1 -1
  117. package/fesm2015/taiga-ui-core-components-tooltip.js +1 -5
  118. package/fesm2015/taiga-ui-core-components-tooltip.js.map +1 -1
  119. package/fesm2015/taiga-ui-core-directives-dropdown.js +1 -28
  120. package/fesm2015/taiga-ui-core-directives-dropdown.js.map +1 -1
  121. package/fesm2015/taiga-ui-core-directives-hint.js +2 -25
  122. package/fesm2015/taiga-ui-core-directives-hint.js.map +1 -1
  123. package/fesm2015/taiga-ui-core-directives-scroll-into-view.js +1 -5
  124. package/fesm2015/taiga-ui-core-directives-scroll-into-view.js.map +1 -1
  125. package/fesm2015/taiga-ui-core-internal-primitive-year-month-pagination.js +1 -11
  126. package/fesm2015/taiga-ui-core-internal-primitive-year-month-pagination.js.map +1 -1
  127. package/package.json +4 -4
@@ -1,545 +1,221 @@
1
1
  (function (global, factory) {
2
- typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('@taiga-ui/cdk'), require('@taiga-ui/core/constants'), require('@taiga-ui/core/components/loader'), require('@angular/common')) :
3
- typeof define === 'function' && define.amd ? define('@taiga-ui/core/components/expand', ['exports', '@angular/core', '@taiga-ui/cdk', '@taiga-ui/core/constants', '@taiga-ui/core/components/loader', '@angular/common'], factory) :
4
- (global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global["taiga-ui"] = global["taiga-ui"] || {}, global["taiga-ui"].core = global["taiga-ui"].core || {}, global["taiga-ui"].core.components = global["taiga-ui"].core.components || {}, global["taiga-ui"].core.components.expand = {}), global.ng.core, global.cdk, global["taiga-ui"].core.constants, global["taiga-ui"].core.components.loader, global.ng.common));
2
+ typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('@taiga-ui/cdk'), require('@taiga-ui/core/constants'), require('@taiga-ui/core/components/loader'), require('@angular/common')) :
3
+ typeof define === 'function' && define.amd ? define('@taiga-ui/core/components/expand', ['exports', '@angular/core', '@taiga-ui/cdk', '@taiga-ui/core/constants', '@taiga-ui/core/components/loader', '@angular/common'], factory) :
4
+ (global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global["taiga-ui"] = global["taiga-ui"] || {}, global["taiga-ui"].core = global["taiga-ui"].core || {}, global["taiga-ui"].core.components = global["taiga-ui"].core.components || {}, global["taiga-ui"].core.components.expand = {}), global.ng.core, global.cdk, global["taiga-ui"].core.constants, global["taiga-ui"].core.components.loader, global.ng.common));
5
5
  })(this, (function (exports, i0, cdk, constants, i1, i2) { 'use strict';
6
6
 
7
- function _interopNamespace(e) {
8
- if (e && e.__esModule) return e;
9
- var n = Object.create(null);
10
- if (e) {
11
- Object.keys(e).forEach(function (k) {
12
- if (k !== 'default') {
13
- var d = Object.getOwnPropertyDescriptor(e, k);
14
- Object.defineProperty(n, k, d.get ? d : {
15
- enumerable: true,
16
- get: function () { return e[k]; }
17
- });
7
+ function _interopNamespace(e) {
8
+ if (e && e.__esModule) return e;
9
+ var n = Object.create(null);
10
+ if (e) {
11
+ Object.keys(e).forEach(function (k) {
12
+ if (k !== 'default') {
13
+ var d = Object.getOwnPropertyDescriptor(e, k);
14
+ Object.defineProperty(n, k, d.get ? d : {
15
+ enumerable: true,
16
+ get: function () { return e[k]; }
17
+ });
18
+ }
19
+ });
18
20
  }
19
- });
21
+ n["default"] = e;
22
+ return Object.freeze(n);
20
23
  }
21
- n["default"] = e;
22
- return Object.freeze(n);
23
- }
24
-
25
- var i0__namespace = /*#__PURE__*/_interopNamespace(i0);
26
- var i1__namespace = /*#__PURE__*/_interopNamespace(i1);
27
- var i2__namespace = /*#__PURE__*/_interopNamespace(i2);
28
24
 
29
- /*! *****************************************************************************
30
- Copyright (c) Microsoft Corporation.
25
+ var i0__namespace = /*#__PURE__*/_interopNamespace(i0);
26
+ var i1__namespace = /*#__PURE__*/_interopNamespace(i1);
27
+ var i2__namespace = /*#__PURE__*/_interopNamespace(i2);
31
28
 
32
- Permission to use, copy, modify, and/or distribute this software for any
33
- purpose with or without fee is hereby granted.
34
-
35
- THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
36
- REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
37
- AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
38
- INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
39
- LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
40
- OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
41
- PERFORMANCE OF THIS SOFTWARE.
42
- ***************************************************************************** */
43
- /* global Reflect, Promise */
44
- var extendStatics = function (d, b) {
45
- extendStatics = Object.setPrototypeOf ||
46
- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
47
- function (d, b) { for (var p in b)
48
- if (Object.prototype.hasOwnProperty.call(b, p))
49
- d[p] = b[p]; };
50
- return extendStatics(d, b);
51
- };
52
- function __extends(d, b) {
53
- if (typeof b !== "function" && b !== null)
54
- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
55
- extendStatics(d, b);
56
- function __() { this.constructor = d; }
57
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
58
- }
59
- var __assign = function () {
60
- __assign = Object.assign || function __assign(t) {
61
- for (var s, i = 1, n = arguments.length; i < n; i++) {
62
- s = arguments[i];
63
- for (var p in s)
64
- if (Object.prototype.hasOwnProperty.call(s, p))
65
- t[p] = s[p];
66
- }
67
- return t;
68
- };
69
- return __assign.apply(this, arguments);
70
- };
71
- function __rest(s, e) {
72
- var t = {};
73
- for (var p in s)
74
- if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
75
- t[p] = s[p];
76
- if (s != null && typeof Object.getOwnPropertySymbols === "function")
77
- for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
78
- if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
79
- t[p[i]] = s[p[i]];
29
+ var TuiExpandContentDirective = /** @class */ (function () {
30
+ function TuiExpandContentDirective() {
80
31
  }
81
- return t;
82
- }
83
- function __decorate(decorators, target, key, desc) {
84
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
85
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
86
- r = Reflect.decorate(decorators, target, key, desc);
87
- else
88
- for (var i = decorators.length - 1; i >= 0; i--)
89
- if (d = decorators[i])
90
- r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
91
- return c > 3 && r && Object.defineProperty(target, key, r), r;
92
- }
93
- function __param(paramIndex, decorator) {
94
- return function (target, key) { decorator(target, key, paramIndex); };
95
- }
96
- function __metadata(metadataKey, metadataValue) {
97
- if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
98
- return Reflect.metadata(metadataKey, metadataValue);
99
- }
100
- function __awaiter(thisArg, _arguments, P, generator) {
101
- function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
102
- return new (P || (P = Promise))(function (resolve, reject) {
103
- function fulfilled(value) { try {
104
- step(generator.next(value));
105
- }
106
- catch (e) {
107
- reject(e);
108
- } }
109
- function rejected(value) { try {
110
- step(generator["throw"](value));
32
+ return TuiExpandContentDirective;
33
+ }());
34
+ TuiExpandContentDirective.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiExpandContentDirective, deps: [], target: i0__namespace.ɵɵFactoryTarget.Directive });
35
+ TuiExpandContentDirective.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.17", type: TuiExpandContentDirective, selector: "[tuiExpandContent]", ngImport: i0__namespace });
36
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiExpandContentDirective, decorators: [{
37
+ type: i0.Directive,
38
+ args: [{
39
+ selector: '[tuiExpandContent]',
40
+ }]
41
+ }] });
42
+
43
+ var State;
44
+ (function (State) {
45
+ State[State["Idle"] = 0] = "Idle";
46
+ State[State["Loading"] = 1] = "Loading";
47
+ State[State["Prepared"] = 2] = "Prepared";
48
+ State[State["Animated"] = 3] = "Animated";
49
+ })(State || (State = {}));
50
+ var LOADER_HEIGHT = 48;
51
+ var TuiExpandComponent = /** @class */ (function () {
52
+ function TuiExpandComponent(cdr) {
53
+ this.cdr = cdr;
54
+ this.state = State.Idle;
55
+ this.async = false;
56
+ this.content = null;
57
+ this.expanded = null;
111
58
  }
112
- catch (e) {
113
- reject(e);
114
- } }
115
- function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
116
- step((generator = generator.apply(thisArg, _arguments || [])).next());
117
- });
118
- }
119
- function __generator(thisArg, body) {
120
- var _ = { label: 0, sent: function () { if (t[0] & 1)
121
- throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
122
- return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function () { return this; }), g;
123
- function verb(n) { return function (v) { return step([n, v]); }; }
124
- function step(op) {
125
- if (f)
126
- throw new TypeError("Generator is already executing.");
127
- while (_)
128
- try {
129
- if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done)
130
- return t;
131
- if (y = 0, t)
132
- op = [op[0] & 2, t.value];
133
- switch (op[0]) {
134
- case 0:
135
- case 1:
136
- t = op;
137
- break;
138
- case 4:
139
- _.label++;
140
- return { value: op[1], done: false };
141
- case 5:
142
- _.label++;
143
- y = op[1];
144
- op = [0];
145
- continue;
146
- case 7:
147
- op = _.ops.pop();
148
- _.trys.pop();
149
- continue;
150
- default:
151
- if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) {
152
- _ = 0;
153
- continue;
154
- }
155
- if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) {
156
- _.label = op[1];
157
- break;
158
- }
159
- if (op[0] === 6 && _.label < t[1]) {
160
- _.label = t[1];
161
- t = op;
162
- break;
163
- }
164
- if (t && _.label < t[2]) {
165
- _.label = t[2];
166
- _.ops.push(op);
167
- break;
168
- }
169
- if (t[2])
170
- _.ops.pop();
171
- _.trys.pop();
172
- continue;
59
+ Object.defineProperty(TuiExpandComponent.prototype, "expandedSetter", {
60
+ set: function (expanded) {
61
+ if (this.expanded === null) {
62
+ this.expanded = expanded;
63
+ return;
173
64
  }
174
- op = body.call(thisArg, _);
175
- }
176
- catch (e) {
177
- op = [6, e];
178
- y = 0;
179
- }
180
- finally {
181
- f = t = 0;
182
- }
183
- if (op[0] & 5)
184
- throw op[1];
185
- return { value: op[0] ? op[1] : void 0, done: true };
186
- }
187
- }
188
- var __createBinding = Object.create ? (function (o, m, k, k2) {
189
- if (k2 === undefined)
190
- k2 = k;
191
- Object.defineProperty(o, k2, { enumerable: true, get: function () { return m[k]; } });
192
- }) : (function (o, m, k, k2) {
193
- if (k2 === undefined)
194
- k2 = k;
195
- o[k2] = m[k];
196
- });
197
- function __exportStar(m, o) {
198
- for (var p in m)
199
- if (p !== "default" && !Object.prototype.hasOwnProperty.call(o, p))
200
- __createBinding(o, m, p);
201
- }
202
- function __values(o) {
203
- var s = typeof Symbol === "function" && Symbol.iterator, m = s && o[s], i = 0;
204
- if (m)
205
- return m.call(o);
206
- if (o && typeof o.length === "number")
207
- return {
208
- next: function () {
209
- if (o && i >= o.length)
210
- o = void 0;
211
- return { value: o && o[i++], done: !o };
65
+ if (this.state !== State.Idle) {
66
+ this.expanded = expanded;
67
+ this.state = State.Animated;
68
+ return;
69
+ }
70
+ this.expanded = expanded;
71
+ this.retrigger(this.async && expanded ? State.Loading : State.Animated);
72
+ },
73
+ enumerable: false,
74
+ configurable: true
75
+ });
76
+ Object.defineProperty(TuiExpandComponent.prototype, "overflow", {
77
+ get: function () {
78
+ return this.state !== State.Idle;
79
+ },
80
+ enumerable: false,
81
+ configurable: true
82
+ });
83
+ Object.defineProperty(TuiExpandComponent.prototype, "loading", {
84
+ get: function () {
85
+ return !!this.expanded && this.async && this.state === State.Loading;
86
+ },
87
+ enumerable: false,
88
+ configurable: true
89
+ });
90
+ Object.defineProperty(TuiExpandComponent.prototype, "height", {
91
+ get: function () {
92
+ var _a = this, expanded = _a.expanded, state = _a.state, contentWrapper = _a.contentWrapper;
93
+ if ((expanded && state === State.Prepared) ||
94
+ (!expanded && state === State.Animated)) {
95
+ return 0;
96
+ }
97
+ if (contentWrapper &&
98
+ ((!expanded && state === State.Prepared) ||
99
+ (expanded && state === State.Animated))) {
100
+ return contentWrapper.nativeElement.offsetHeight;
101
+ }
102
+ if (contentWrapper && expanded && state === State.Loading) {
103
+ return Math.max(contentWrapper.nativeElement.offsetHeight, LOADER_HEIGHT);
104
+ }
105
+ return null;
106
+ },
107
+ enumerable: false,
108
+ configurable: true
109
+ });
110
+ Object.defineProperty(TuiExpandComponent.prototype, "contentVisible", {
111
+ get: function () {
112
+ return this.expanded || this.state !== State.Idle;
113
+ },
114
+ enumerable: false,
115
+ configurable: true
116
+ });
117
+ TuiExpandComponent.prototype.onTransitionEnd = function (_a) {
118
+ var propertyName = _a.propertyName;
119
+ if (propertyName === 'opacity' && this.state === State.Animated) {
120
+ this.state = State.Idle;
212
121
  }
213
122
  };
214
- throw new TypeError(s ? "Object is not iterable." : "Symbol.iterator is not defined.");
215
- }
216
- function __read(o, n) {
217
- var m = typeof Symbol === "function" && o[Symbol.iterator];
218
- if (!m)
219
- return o;
220
- var i = m.call(o), r, ar = [], e;
221
- try {
222
- while ((n === void 0 || n-- > 0) && !(r = i.next()).done)
223
- ar.push(r.value);
224
- }
225
- catch (error) {
226
- e = { error: error };
227
- }
228
- finally {
229
- try {
230
- if (r && !r.done && (m = i["return"]))
231
- m.call(i);
232
- }
233
- finally {
234
- if (e)
235
- throw e.error;
236
- }
237
- }
238
- return ar;
239
- }
240
- /** @deprecated */
241
- function __spread() {
242
- for (var ar = [], i = 0; i < arguments.length; i++)
243
- ar = ar.concat(__read(arguments[i]));
244
- return ar;
245
- }
246
- /** @deprecated */
247
- function __spreadArrays() {
248
- for (var s = 0, i = 0, il = arguments.length; i < il; i++)
249
- s += arguments[i].length;
250
- for (var r = Array(s), k = 0, i = 0; i < il; i++)
251
- for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)
252
- r[k] = a[j];
253
- return r;
254
- }
255
- function __spreadArray(to, from, pack) {
256
- if (pack || arguments.length === 2)
257
- for (var i = 0, l = from.length, ar; i < l; i++) {
258
- if (ar || !(i in from)) {
259
- if (!ar)
260
- ar = Array.prototype.slice.call(from, 0, i);
261
- ar[i] = from[i];
123
+ TuiExpandComponent.prototype.onExpandLoaded = function (event) {
124
+ event.stopPropagation();
125
+ if (this.state === State.Loading) {
126
+ this.retrigger(State.Animated);
262
127
  }
263
- }
264
- return to.concat(ar || from);
265
- }
266
- function __await(v) {
267
- return this instanceof __await ? (this.v = v, this) : new __await(v);
268
- }
269
- function __asyncGenerator(thisArg, _arguments, generator) {
270
- if (!Symbol.asyncIterator)
271
- throw new TypeError("Symbol.asyncIterator is not defined.");
272
- var g = generator.apply(thisArg, _arguments || []), i, q = [];
273
- return i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i;
274
- function verb(n) { if (g[n])
275
- i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }
276
- function resume(n, v) { try {
277
- step(g[n](v));
278
- }
279
- catch (e) {
280
- settle(q[0][3], e);
281
- } }
282
- function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }
283
- function fulfill(value) { resume("next", value); }
284
- function reject(value) { resume("throw", value); }
285
- function settle(f, v) { if (f(v), q.shift(), q.length)
286
- resume(q[0][0], q[0][1]); }
287
- }
288
- function __asyncDelegator(o) {
289
- var i, p;
290
- return i = {}, verb("next"), verb("throw", function (e) { throw e; }), verb("return"), i[Symbol.iterator] = function () { return this; }, i;
291
- function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: n === "return" } : f ? f(v) : v; } : f; }
292
- }
293
- function __asyncValues(o) {
294
- if (!Symbol.asyncIterator)
295
- throw new TypeError("Symbol.asyncIterator is not defined.");
296
- var m = o[Symbol.asyncIterator], i;
297
- return m ? m.call(o) : (o = typeof __values === "function" ? __values(o) : o[Symbol.iterator](), i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i);
298
- function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }
299
- function settle(resolve, reject, d, v) { Promise.resolve(v).then(function (v) { resolve({ value: v, done: d }); }, reject); }
300
- }
301
- function __makeTemplateObject(cooked, raw) {
302
- if (Object.defineProperty) {
303
- Object.defineProperty(cooked, "raw", { value: raw });
304
- }
305
- else {
306
- cooked.raw = raw;
307
- }
308
- return cooked;
309
- }
310
- ;
311
- var __setModuleDefault = Object.create ? (function (o, v) {
312
- Object.defineProperty(o, "default", { enumerable: true, value: v });
313
- }) : function (o, v) {
314
- o["default"] = v;
315
- };
316
- function __importStar(mod) {
317
- if (mod && mod.__esModule)
318
- return mod;
319
- var result = {};
320
- if (mod != null)
321
- for (var k in mod)
322
- if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k))
323
- __createBinding(result, mod, k);
324
- __setModuleDefault(result, mod);
325
- return result;
326
- }
327
- function __importDefault(mod) {
328
- return (mod && mod.__esModule) ? mod : { default: mod };
329
- }
330
- function __classPrivateFieldGet(receiver, state, kind, f) {
331
- if (kind === "a" && !f)
332
- throw new TypeError("Private accessor was defined without a getter");
333
- if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver))
334
- throw new TypeError("Cannot read private member from an object whose class did not declare it");
335
- return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
336
- }
337
- function __classPrivateFieldSet(receiver, state, value, kind, f) {
338
- if (kind === "m")
339
- throw new TypeError("Private method is not writable");
340
- if (kind === "a" && !f)
341
- throw new TypeError("Private accessor was defined without a setter");
342
- if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver))
343
- throw new TypeError("Cannot write private member to an object whose class did not declare it");
344
- return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
345
- }
346
-
347
- var TuiExpandContentDirective = /** @class */ (function () {
348
- function TuiExpandContentDirective() {
349
- }
350
- return TuiExpandContentDirective;
351
- }());
352
- TuiExpandContentDirective.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiExpandContentDirective, deps: [], target: i0__namespace.ɵɵFactoryTarget.Directive });
353
- TuiExpandContentDirective.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.17", type: TuiExpandContentDirective, selector: "[tuiExpandContent]", ngImport: i0__namespace });
354
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiExpandContentDirective, decorators: [{
355
- type: i0.Directive,
356
- args: [{
357
- selector: '[tuiExpandContent]',
358
- }]
359
- }] });
128
+ };
129
+ TuiExpandComponent.prototype.retrigger = function (state) {
130
+ var _this = this;
131
+ this.state = State.Prepared;
132
+ // We need delay to re-trigger CSS height transition from the correct number
133
+ setTimeout(function () {
134
+ if (_this.state !== State.Prepared) {
135
+ return;
136
+ }
137
+ _this.state = state;
138
+ _this.cdr.markForCheck();
139
+ });
140
+ };
141
+ return TuiExpandComponent;
142
+ }());
143
+ TuiExpandComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiExpandComponent, deps: [{ token: i0.ChangeDetectorRef }], target: i0__namespace.ɵɵFactoryTarget.Component });
144
+ TuiExpandComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: TuiExpandComponent, selector: "tui-expand", inputs: { async: "async", expandedSetter: ["expanded", "expandedSetter"] }, host: { listeners: { "transitionend.self": "onTransitionEnd($event)", "tui-expand-loaded": "onExpandLoaded($event)" }, properties: { "class._expanded": "this.expanded", "attr.aria-expanded": "this.expanded", "class._overflow": "this.overflow", "class._loading": "this.loading", "style.height.px": "this.height" } }, queries: [{ propertyName: "content", first: true, predicate: TuiExpandContentDirective, descendants: true, read: i0.TemplateRef }], viewQueries: [{ propertyName: "contentWrapper", first: true, predicate: ["wrapper"], descendants: true }], ngImport: i0__namespace, template: "<div\n #wrapper\n class=\"t-wrapper\"\n @tuiParentAnimation\n [@.disabled]=\"overflow\"\n>\n <ng-container *ngIf=\"contentVisible\">\n <ng-content></ng-content>\n <tui-loader\n *ngIf=\"async; else content\"\n size=\"l\"\n [overlay]=\"true\"\n [showLoader]=\"loading\"\n >\n <ng-container [ngTemplateOutlet]=\"content\"></ng-container>\n </tui-loader>\n </ng-container>\n</div>\n", styles: [":host{display:block;transition-property:opacity,height,visibility;transition-duration:var(--tui-duration, .3s);opacity:0}:host._overflow{overflow:hidden}:host._expanded{opacity:1;transform:translate(0)}:host._loading{opacity:.99}.t-wrapper:before,.t-wrapper:after{content:\"\";display:table}\n"], components: [{ type: i1__namespace.TuiLoaderComponent, selector: "tui-loader", inputs: ["size", "inheritColor", "overlay", "textContent", "showLoader"] }], directives: [{ type: i2__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i2__namespace.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }], animations: [cdk.TUI_PARENT_ANIMATION], changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush });
145
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiExpandComponent, decorators: [{
146
+ type: i0.Component,
147
+ args: [{
148
+ selector: 'tui-expand',
149
+ templateUrl: './expand.template.html',
150
+ styleUrls: ['./expand.style.less'],
151
+ animations: [cdk.TUI_PARENT_ANIMATION],
152
+ changeDetection: i0.ChangeDetectionStrategy.OnPush,
153
+ }]
154
+ }], ctorParameters: function () {
155
+ return [{ type: i0__namespace.ChangeDetectorRef, decorators: [{
156
+ type: i0.Inject,
157
+ args: [i0.ChangeDetectorRef]
158
+ }] }];
159
+ }, propDecorators: { contentWrapper: [{
160
+ type: i0.ViewChild,
161
+ args: ['wrapper']
162
+ }], async: [{
163
+ type: i0.Input
164
+ }], expandedSetter: [{
165
+ type: i0.Input,
166
+ args: ['expanded']
167
+ }], content: [{
168
+ type: i0.ContentChild,
169
+ args: [TuiExpandContentDirective, { read: i0.TemplateRef }]
170
+ }], expanded: [{
171
+ type: i0.HostBinding,
172
+ args: ['class._expanded']
173
+ }, {
174
+ type: i0.HostBinding,
175
+ args: ['attr.aria-expanded']
176
+ }], overflow: [{
177
+ type: i0.HostBinding,
178
+ args: ['class._overflow']
179
+ }], loading: [{
180
+ type: i0.HostBinding,
181
+ args: ['class._loading']
182
+ }], height: [{
183
+ type: i0.HostBinding,
184
+ args: ['style.height.px']
185
+ }], onTransitionEnd: [{
186
+ type: i0.HostListener,
187
+ args: ['transitionend.self', ['$event']]
188
+ }], onExpandLoaded: [{
189
+ type: i0.HostListener,
190
+ args: [constants.TUI_EXPAND_LOADED, ['$event']]
191
+ }] } });
360
192
 
361
- var State;
362
- (function (State) {
363
- State[State["Idle"] = 0] = "Idle";
364
- State[State["Loading"] = 1] = "Loading";
365
- State[State["Prepared"] = 2] = "Prepared";
366
- State[State["Animated"] = 3] = "Animated";
367
- })(State || (State = {}));
368
- var LOADER_HEIGHT = 48;
369
- var TuiExpandComponent = /** @class */ (function () {
370
- function TuiExpandComponent(cdr) {
371
- this.cdr = cdr;
372
- this.state = State.Idle;
373
- this.async = false;
374
- this.content = null;
375
- this.expanded = null;
376
- }
377
- Object.defineProperty(TuiExpandComponent.prototype, "expandedSetter", {
378
- set: function (expanded) {
379
- if (this.expanded === null) {
380
- this.expanded = expanded;
381
- return;
382
- }
383
- if (this.state !== State.Idle) {
384
- this.expanded = expanded;
385
- this.state = State.Animated;
386
- return;
387
- }
388
- this.expanded = expanded;
389
- this.retrigger(this.async && expanded ? State.Loading : State.Animated);
390
- },
391
- enumerable: false,
392
- configurable: true
393
- });
394
- Object.defineProperty(TuiExpandComponent.prototype, "overflow", {
395
- get: function () {
396
- return this.state !== State.Idle;
397
- },
398
- enumerable: false,
399
- configurable: true
400
- });
401
- Object.defineProperty(TuiExpandComponent.prototype, "loading", {
402
- get: function () {
403
- return !!this.expanded && this.async && this.state === State.Loading;
404
- },
405
- enumerable: false,
406
- configurable: true
407
- });
408
- Object.defineProperty(TuiExpandComponent.prototype, "height", {
409
- get: function () {
410
- var _a = this, expanded = _a.expanded, state = _a.state, contentWrapper = _a.contentWrapper;
411
- if ((expanded && state === State.Prepared) ||
412
- (!expanded && state === State.Animated)) {
413
- return 0;
414
- }
415
- if (contentWrapper &&
416
- ((!expanded && state === State.Prepared) ||
417
- (expanded && state === State.Animated))) {
418
- return contentWrapper.nativeElement.offsetHeight;
419
- }
420
- if (contentWrapper && expanded && state === State.Loading) {
421
- return Math.max(contentWrapper.nativeElement.offsetHeight, LOADER_HEIGHT);
422
- }
423
- return null;
424
- },
425
- enumerable: false,
426
- configurable: true
427
- });
428
- Object.defineProperty(TuiExpandComponent.prototype, "contentVisible", {
429
- get: function () {
430
- return this.expanded || this.state !== State.Idle;
431
- },
432
- enumerable: false,
433
- configurable: true
434
- });
435
- TuiExpandComponent.prototype.onTransitionEnd = function (_a) {
436
- var propertyName = _a.propertyName;
437
- if (propertyName === 'opacity' && this.state === State.Animated) {
438
- this.state = State.Idle;
439
- }
440
- };
441
- TuiExpandComponent.prototype.onExpandLoaded = function (event) {
442
- event.stopPropagation();
443
- if (this.state === State.Loading) {
444
- this.retrigger(State.Animated);
193
+ var TuiExpandModule = /** @class */ (function () {
194
+ function TuiExpandModule() {
445
195
  }
446
- };
447
- TuiExpandComponent.prototype.retrigger = function (state) {
448
- var _this = this;
449
- this.state = State.Prepared;
450
- // We need delay to re-trigger CSS height transition from the correct number
451
- setTimeout(function () {
452
- if (_this.state !== State.Prepared) {
453
- return;
454
- }
455
- _this.state = state;
456
- _this.cdr.markForCheck();
457
- });
458
- };
459
- return TuiExpandComponent;
460
- }());
461
- TuiExpandComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiExpandComponent, deps: [{ token: i0.ChangeDetectorRef }], target: i0__namespace.ɵɵFactoryTarget.Component });
462
- TuiExpandComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: TuiExpandComponent, selector: "tui-expand", inputs: { async: "async", expandedSetter: ["expanded", "expandedSetter"] }, host: { listeners: { "transitionend.self": "onTransitionEnd($event)", "tui-expand-loaded": "onExpandLoaded($event)" }, properties: { "class._expanded": "this.expanded", "attr.aria-expanded": "this.expanded", "class._overflow": "this.overflow", "class._loading": "this.loading", "style.height.px": "this.height" } }, queries: [{ propertyName: "content", first: true, predicate: TuiExpandContentDirective, descendants: true, read: i0.TemplateRef }], viewQueries: [{ propertyName: "contentWrapper", first: true, predicate: ["wrapper"], descendants: true }], ngImport: i0__namespace, template: "<div\n #wrapper\n class=\"t-wrapper\"\n @tuiParentAnimation\n [@.disabled]=\"overflow\"\n>\n <ng-container *ngIf=\"contentVisible\">\n <ng-content></ng-content>\n <tui-loader\n *ngIf=\"async; else content\"\n size=\"l\"\n [overlay]=\"true\"\n [showLoader]=\"loading\"\n >\n <ng-container [ngTemplateOutlet]=\"content\"></ng-container>\n </tui-loader>\n </ng-container>\n</div>\n", styles: [":host{display:block;transition-property:opacity,height,visibility;transition-duration:var(--tui-duration, .3s);opacity:0}:host._overflow{overflow:hidden}:host._expanded{opacity:1;transform:translate(0)}:host._loading{opacity:.99}.t-wrapper:before,.t-wrapper:after{content:\"\";display:table}\n"], components: [{ type: i1__namespace.TuiLoaderComponent, selector: "tui-loader", inputs: ["size", "inheritColor", "overlay", "textContent", "showLoader"] }], directives: [{ type: i2__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i2__namespace.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }], animations: [cdk.TUI_PARENT_ANIMATION], changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush });
463
- __decorate([
464
- cdk.tuiDefaultProp()
465
- ], TuiExpandComponent.prototype, "async", void 0);
466
- __decorate([
467
- cdk.tuiRequiredSetter()
468
- ], TuiExpandComponent.prototype, "expandedSetter", null);
469
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiExpandComponent, decorators: [{
470
- type: i0.Component,
471
- args: [{
472
- selector: 'tui-expand',
473
- templateUrl: './expand.template.html',
474
- styleUrls: ['./expand.style.less'],
475
- animations: [cdk.TUI_PARENT_ANIMATION],
476
- changeDetection: i0.ChangeDetectionStrategy.OnPush,
477
- }]
478
- }], ctorParameters: function () {
479
- return [{ type: i0__namespace.ChangeDetectorRef, decorators: [{
480
- type: i0.Inject,
481
- args: [i0.ChangeDetectorRef]
482
- }] }];
483
- }, propDecorators: { contentWrapper: [{
484
- type: i0.ViewChild,
485
- args: ['wrapper']
486
- }], async: [{
487
- type: i0.Input
488
- }], expandedSetter: [{
489
- type: i0.Input,
490
- args: ['expanded']
491
- }], content: [{
492
- type: i0.ContentChild,
493
- args: [TuiExpandContentDirective, { read: i0.TemplateRef }]
494
- }], expanded: [{
495
- type: i0.HostBinding,
496
- args: ['class._expanded']
497
- }, {
498
- type: i0.HostBinding,
499
- args: ['attr.aria-expanded']
500
- }], overflow: [{
501
- type: i0.HostBinding,
502
- args: ['class._overflow']
503
- }], loading: [{
504
- type: i0.HostBinding,
505
- args: ['class._loading']
506
- }], height: [{
507
- type: i0.HostBinding,
508
- args: ['style.height.px']
509
- }], onTransitionEnd: [{
510
- type: i0.HostListener,
511
- args: ['transitionend.self', ['$event']]
512
- }], onExpandLoaded: [{
513
- type: i0.HostListener,
514
- args: [constants.TUI_EXPAND_LOADED, ['$event']]
515
- }] } });
516
-
517
- var TuiExpandModule = /** @class */ (function () {
518
- function TuiExpandModule() {
519
- }
520
- return TuiExpandModule;
521
- }());
522
- TuiExpandModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiExpandModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
523
- TuiExpandModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiExpandModule, declarations: [TuiExpandComponent, TuiExpandContentDirective], imports: [i2.CommonModule, i1.TuiLoaderModule], exports: [TuiExpandComponent, TuiExpandContentDirective] });
524
- TuiExpandModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiExpandModule, imports: [[i2.CommonModule, i1.TuiLoaderModule]] });
525
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiExpandModule, decorators: [{
526
- type: i0.NgModule,
527
- args: [{
528
- imports: [i2.CommonModule, i1.TuiLoaderModule],
529
- declarations: [TuiExpandComponent, TuiExpandContentDirective],
530
- exports: [TuiExpandComponent, TuiExpandContentDirective],
531
- }]
532
- }] });
196
+ return TuiExpandModule;
197
+ }());
198
+ TuiExpandModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiExpandModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
199
+ TuiExpandModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiExpandModule, declarations: [TuiExpandComponent, TuiExpandContentDirective], imports: [i2.CommonModule, i1.TuiLoaderModule], exports: [TuiExpandComponent, TuiExpandContentDirective] });
200
+ TuiExpandModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiExpandModule, imports: [[i2.CommonModule, i1.TuiLoaderModule]] });
201
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiExpandModule, decorators: [{
202
+ type: i0.NgModule,
203
+ args: [{
204
+ imports: [i2.CommonModule, i1.TuiLoaderModule],
205
+ declarations: [TuiExpandComponent, TuiExpandContentDirective],
206
+ exports: [TuiExpandComponent, TuiExpandContentDirective],
207
+ }]
208
+ }] });
533
209
 
534
- /**
535
- * Generated bundle index. Do not edit.
536
- */
210
+ /**
211
+ * Generated bundle index. Do not edit.
212
+ */
537
213
 
538
- exports.TuiExpandComponent = TuiExpandComponent;
539
- exports.TuiExpandContentDirective = TuiExpandContentDirective;
540
- exports.TuiExpandModule = TuiExpandModule;
214
+ exports.TuiExpandComponent = TuiExpandComponent;
215
+ exports.TuiExpandContentDirective = TuiExpandContentDirective;
216
+ exports.TuiExpandModule = TuiExpandModule;
541
217
 
542
- Object.defineProperty(exports, '__esModule', { value: true });
218
+ Object.defineProperty(exports, '__esModule', { value: true });
543
219
 
544
220
  }));
545
221
  //# sourceMappingURL=taiga-ui-core-components-expand.umd.js.map