@taiga-ui/kit 3.59.0 → 3.60.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 (135) hide show
  1. package/bundles/taiga-ui-kit-components-accordion.umd.js +774 -628
  2. package/bundles/taiga-ui-kit-components-accordion.umd.js.map +1 -1
  3. package/bundles/taiga-ui-kit-components-action.umd.js +598 -452
  4. package/bundles/taiga-ui-kit-components-action.umd.js.map +1 -1
  5. package/bundles/taiga-ui-kit-components-avatar.umd.js +640 -494
  6. package/bundles/taiga-ui-kit-components-avatar.umd.js.map +1 -1
  7. package/bundles/taiga-ui-kit-components-breadcrumbs.umd.js +563 -417
  8. package/bundles/taiga-ui-kit-components-breadcrumbs.umd.js.map +1 -1
  9. package/bundles/taiga-ui-kit-components-calendar-month.umd.js +747 -601
  10. package/bundles/taiga-ui-kit-components-calendar-month.umd.js.map +1 -1
  11. package/bundles/taiga-ui-kit-components-calendar-range.umd.js +718 -572
  12. package/bundles/taiga-ui-kit-components-calendar-range.umd.js.map +1 -1
  13. package/bundles/taiga-ui-kit-components-carousel.umd.js +821 -675
  14. package/bundles/taiga-ui-kit-components-carousel.umd.js.map +1 -1
  15. package/bundles/taiga-ui-kit-components-checkbox-block.umd.js +645 -499
  16. package/bundles/taiga-ui-kit-components-checkbox-block.umd.js.map +1 -1
  17. package/bundles/taiga-ui-kit-components-checkbox-labeled.umd.js +585 -439
  18. package/bundles/taiga-ui-kit-components-checkbox-labeled.umd.js.map +1 -1
  19. package/bundles/taiga-ui-kit-components-checkbox.umd.js +608 -462
  20. package/bundles/taiga-ui-kit-components-checkbox.umd.js.map +1 -1
  21. package/bundles/taiga-ui-kit-components-combo-box.umd.js +834 -688
  22. package/bundles/taiga-ui-kit-components-combo-box.umd.js.map +1 -1
  23. package/bundles/taiga-ui-kit-components-data-list-wrapper.umd.js +656 -510
  24. package/bundles/taiga-ui-kit-components-data-list-wrapper.umd.js.map +1 -1
  25. package/bundles/taiga-ui-kit-components-elastic-container.umd.js +587 -441
  26. package/bundles/taiga-ui-kit-components-elastic-container.umd.js.map +1 -1
  27. package/bundles/taiga-ui-kit-components-files.umd.js +808 -662
  28. package/bundles/taiga-ui-kit-components-files.umd.js.map +1 -1
  29. package/bundles/taiga-ui-kit-components-filter.umd.js +607 -461
  30. package/bundles/taiga-ui-kit-components-filter.umd.js.map +1 -1
  31. package/bundles/taiga-ui-kit-components-input-copy.umd.js +700 -554
  32. package/bundles/taiga-ui-kit-components-input-copy.umd.js.map +1 -1
  33. package/bundles/taiga-ui-kit-components-input-count.umd.js +809 -663
  34. package/bundles/taiga-ui-kit-components-input-count.umd.js.map +1 -1
  35. package/bundles/taiga-ui-kit-components-input-date-multi.umd.js +849 -703
  36. package/bundles/taiga-ui-kit-components-input-date-multi.umd.js.map +1 -1
  37. package/bundles/taiga-ui-kit-components-input-date-range.umd.js +973 -827
  38. package/bundles/taiga-ui-kit-components-input-date-range.umd.js.map +1 -1
  39. package/bundles/taiga-ui-kit-components-input-date-time.umd.js +1026 -880
  40. package/bundles/taiga-ui-kit-components-input-date-time.umd.js.map +1 -1
  41. package/bundles/taiga-ui-kit-components-input-date.umd.js +976 -830
  42. package/bundles/taiga-ui-kit-components-input-date.umd.js.map +1 -1
  43. package/bundles/taiga-ui-kit-components-input-files.umd.js +975 -829
  44. package/bundles/taiga-ui-kit-components-input-files.umd.js.map +1 -1
  45. package/bundles/taiga-ui-kit-components-input-inline.umd.js +612 -466
  46. package/bundles/taiga-ui-kit-components-input-inline.umd.js.map +1 -1
  47. package/bundles/taiga-ui-kit-components-input-month-range.umd.js +755 -609
  48. package/bundles/taiga-ui-kit-components-input-month-range.umd.js.map +1 -1
  49. package/bundles/taiga-ui-kit-components-input-month.umd.js +788 -642
  50. package/bundles/taiga-ui-kit-components-input-month.umd.js.map +1 -1
  51. package/bundles/taiga-ui-kit-components-input-number.umd.js +941 -795
  52. package/bundles/taiga-ui-kit-components-input-number.umd.js.map +1 -1
  53. package/bundles/taiga-ui-kit-components-input-password.umd.js +720 -574
  54. package/bundles/taiga-ui-kit-components-input-password.umd.js.map +1 -1
  55. package/bundles/taiga-ui-kit-components-input-phone-international.umd.js +811 -665
  56. package/bundles/taiga-ui-kit-components-input-phone-international.umd.js.map +1 -1
  57. package/bundles/taiga-ui-kit-components-input-phone.umd.js +913 -767
  58. package/bundles/taiga-ui-kit-components-input-phone.umd.js.map +1 -1
  59. package/bundles/taiga-ui-kit-components-input-range.umd.js +796 -650
  60. package/bundles/taiga-ui-kit-components-input-range.umd.js.map +1 -1
  61. package/bundles/taiga-ui-kit-components-input-slider.umd.js +737 -591
  62. package/bundles/taiga-ui-kit-components-input-slider.umd.js.map +1 -1
  63. package/bundles/taiga-ui-kit-components-input-tag.umd.js +1102 -956
  64. package/bundles/taiga-ui-kit-components-input-tag.umd.js.map +1 -1
  65. package/bundles/taiga-ui-kit-components-input-time.umd.js +1021 -875
  66. package/bundles/taiga-ui-kit-components-input-time.umd.js.map +1 -1
  67. package/bundles/taiga-ui-kit-components-input-year.umd.js +706 -560
  68. package/bundles/taiga-ui-kit-components-input-year.umd.js.map +1 -1
  69. package/bundles/taiga-ui-kit-components-input.umd.js +661 -515
  70. package/bundles/taiga-ui-kit-components-input.umd.js.map +1 -1
  71. package/bundles/taiga-ui-kit-components-items-with-more.umd.js +689 -543
  72. package/bundles/taiga-ui-kit-components-items-with-more.umd.js.map +1 -1
  73. package/bundles/taiga-ui-kit-components-line-clamp.umd.js +742 -596
  74. package/bundles/taiga-ui-kit-components-line-clamp.umd.js.map +1 -1
  75. package/bundles/taiga-ui-kit-components-multi-select-option.umd.js +544 -398
  76. package/bundles/taiga-ui-kit-components-multi-select-option.umd.js.map +1 -1
  77. package/bundles/taiga-ui-kit-components-multi-select.umd.js +1337 -1191
  78. package/bundles/taiga-ui-kit-components-multi-select.umd.js.map +1 -1
  79. package/bundles/taiga-ui-kit-components-pagination.umd.js +810 -664
  80. package/bundles/taiga-ui-kit-components-pagination.umd.js.map +1 -1
  81. package/bundles/taiga-ui-kit-components-pdf-viewer.umd.js +152 -6
  82. package/bundles/taiga-ui-kit-components-pdf-viewer.umd.js.map +1 -1
  83. package/bundles/taiga-ui-kit-components-progress.umd.js +152 -6
  84. package/bundles/taiga-ui-kit-components-progress.umd.js.map +1 -1
  85. package/bundles/taiga-ui-kit-components-push.umd.js +152 -6
  86. package/bundles/taiga-ui-kit-components-push.umd.js.map +1 -1
  87. package/bundles/taiga-ui-kit-components-radio-block.umd.js +645 -499
  88. package/bundles/taiga-ui-kit-components-radio-block.umd.js.map +1 -1
  89. package/bundles/taiga-ui-kit-components-radio-labeled.umd.js +616 -470
  90. package/bundles/taiga-ui-kit-components-radio-labeled.umd.js.map +1 -1
  91. package/bundles/taiga-ui-kit-components-radio-list.umd.js +628 -482
  92. package/bundles/taiga-ui-kit-components-radio-list.umd.js.map +1 -1
  93. package/bundles/taiga-ui-kit-components-radio.umd.js +689 -543
  94. package/bundles/taiga-ui-kit-components-radio.umd.js.map +1 -1
  95. package/bundles/taiga-ui-kit-components-range.umd.js +811 -665
  96. package/bundles/taiga-ui-kit-components-range.umd.js.map +1 -1
  97. package/bundles/taiga-ui-kit-components-rating.umd.js +646 -500
  98. package/bundles/taiga-ui-kit-components-rating.umd.js.map +1 -1
  99. package/bundles/taiga-ui-kit-components-routable-dialog.umd.js +580 -434
  100. package/bundles/taiga-ui-kit-components-routable-dialog.umd.js.map +1 -1
  101. package/bundles/taiga-ui-kit-components-select.umd.js +933 -787
  102. package/bundles/taiga-ui-kit-components-select.umd.js.map +1 -1
  103. package/bundles/taiga-ui-kit-components-slider.umd.js +943 -797
  104. package/bundles/taiga-ui-kit-components-slider.umd.js.map +1 -1
  105. package/bundles/taiga-ui-kit-components-stepper.umd.js +769 -623
  106. package/bundles/taiga-ui-kit-components-stepper.umd.js.map +1 -1
  107. package/bundles/taiga-ui-kit-components-tabs.umd.js +152 -6
  108. package/bundles/taiga-ui-kit-components-tabs.umd.js.map +1 -1
  109. package/bundles/taiga-ui-kit-components-textarea.umd.js +966 -820
  110. package/bundles/taiga-ui-kit-components-textarea.umd.js.map +1 -1
  111. package/bundles/taiga-ui-kit-components-tiles.umd.js +839 -693
  112. package/bundles/taiga-ui-kit-components-tiles.umd.js.map +1 -1
  113. package/bundles/taiga-ui-kit-components-toggle.umd.js +711 -565
  114. package/bundles/taiga-ui-kit-components-toggle.umd.js.map +1 -1
  115. package/bundles/taiga-ui-kit-constants.umd.js +152 -6
  116. package/bundles/taiga-ui-kit-constants.umd.js.map +1 -1
  117. package/bundles/taiga-ui-kit-directives-data-list-dropdown-manager.umd.js +637 -491
  118. package/bundles/taiga-ui-kit-directives-data-list-dropdown-manager.umd.js.map +1 -1
  119. package/bundles/taiga-ui-kit-directives-lazy-loading.umd.js +605 -459
  120. package/bundles/taiga-ui-kit-directives-lazy-loading.umd.js.map +1 -1
  121. package/bundles/taiga-ui-kit-directives-unmask-handler.umd.js +540 -394
  122. package/bundles/taiga-ui-kit-directives-unmask-handler.umd.js.map +1 -1
  123. package/bundles/taiga-ui-kit-pipes-field-error.umd.js +693 -547
  124. package/bundles/taiga-ui-kit-pipes-field-error.umd.js.map +1 -1
  125. package/bundles/taiga-ui-kit-pipes-filter-by-input.umd.js +616 -470
  126. package/bundles/taiga-ui-kit-pipes-filter-by-input.umd.js.map +1 -1
  127. package/bundles/taiga-ui-kit-pipes-sort-countries.umd.js +524 -378
  128. package/bundles/taiga-ui-kit-pipes-sort-countries.umd.js.map +1 -1
  129. package/bundles/taiga-ui-kit-utils-mask.umd.js +152 -6
  130. package/bundles/taiga-ui-kit-utils-mask.umd.js.map +1 -1
  131. package/bundles/taiga-ui-kit-utils-math.umd.js +152 -6
  132. package/bundles/taiga-ui-kit-utils-math.umd.js.map +1 -1
  133. package/bundles/taiga-ui-kit-utils-miscellaneous.umd.js +152 -6
  134. package/bundles/taiga-ui-kit-utils-miscellaneous.umd.js.map +1 -1
  135. package/package.json +6 -6
@@ -1,648 +1,794 @@
1
1
  (function (global, factory) {
2
- typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('@taiga-ui/cdk'), require('rxjs'), require('rxjs/operators'), require('@taiga-ui/core'), require('@taiga-ui/kit/components/arrow'), require('@tinkoff/ng-polymorpheus'), require('@angular/common')) :
3
- typeof define === 'function' && define.amd ? define('@taiga-ui/kit/components/accordion', ['exports', '@angular/core', '@taiga-ui/cdk', 'rxjs', 'rxjs/operators', '@taiga-ui/core', '@taiga-ui/kit/components/arrow', '@tinkoff/ng-polymorpheus', '@angular/common'], factory) :
4
- (global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global["taiga-ui"] = global["taiga-ui"] || {}, global["taiga-ui"].kit = global["taiga-ui"].kit || {}, global["taiga-ui"].kit.components = global["taiga-ui"].kit.components || {}, global["taiga-ui"].kit.components.accordion = {}), global.ng.core, global.i2, global.rxjs, global.rxjs.operators, global.i1, global["taiga-ui"].kit.components.arrow, global.i4, global.ng.common));
2
+ typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('@taiga-ui/cdk'), require('rxjs'), require('rxjs/operators'), require('@taiga-ui/core'), require('@taiga-ui/kit/components/arrow'), require('@tinkoff/ng-polymorpheus'), require('@angular/common')) :
3
+ typeof define === 'function' && define.amd ? define('@taiga-ui/kit/components/accordion', ['exports', '@angular/core', '@taiga-ui/cdk', 'rxjs', 'rxjs/operators', '@taiga-ui/core', '@taiga-ui/kit/components/arrow', '@tinkoff/ng-polymorpheus', '@angular/common'], factory) :
4
+ (global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global["taiga-ui"] = global["taiga-ui"] || {}, global["taiga-ui"].kit = global["taiga-ui"].kit || {}, global["taiga-ui"].kit.components = global["taiga-ui"].kit.components || {}, global["taiga-ui"].kit.components.accordion = {}), global.ng.core, global.i2, global.rxjs, global.rxjs.operators, global.i1, global["taiga-ui"].kit.components.arrow, global.i4, global.ng.common));
5
5
  })(this, (function (exports, i0, i2, i5, operators, i1, arrow, i4, i3) { '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
- });
18
- }
19
- });
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
+ });
20
18
  }
21
- n["default"] = e;
22
- return Object.freeze(n);
19
+ });
23
20
  }
21
+ n["default"] = e;
22
+ return Object.freeze(n);
23
+ }
24
24
 
25
- var i0__namespace = /*#__PURE__*/_interopNamespace(i0);
26
- var i2__namespace = /*#__PURE__*/_interopNamespace(i2);
27
- var i5__namespace = /*#__PURE__*/_interopNamespace(i5);
28
- var i1__namespace = /*#__PURE__*/_interopNamespace(i1);
29
- var i4__namespace = /*#__PURE__*/_interopNamespace(i4);
30
- var i3__namespace = /*#__PURE__*/_interopNamespace(i3);
25
+ var i0__namespace = /*#__PURE__*/_interopNamespace(i0);
26
+ var i2__namespace = /*#__PURE__*/_interopNamespace(i2);
27
+ var i5__namespace = /*#__PURE__*/_interopNamespace(i5);
28
+ var i1__namespace = /*#__PURE__*/_interopNamespace(i1);
29
+ var i4__namespace = /*#__PURE__*/_interopNamespace(i4);
30
+ var i3__namespace = /*#__PURE__*/_interopNamespace(i3);
31
31
 
32
- /*! *****************************************************************************
33
- Copyright (c) Microsoft Corporation.
32
+ /******************************************************************************
33
+ Copyright (c) Microsoft Corporation.
34
34
 
35
- Permission to use, copy, modify, and/or distribute this software for any
36
- purpose with or without fee is hereby granted.
35
+ Permission to use, copy, modify, and/or distribute this software for any
36
+ purpose with or without fee is hereby granted.
37
37
 
38
- THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
39
- REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
40
- AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
41
- INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
42
- LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
43
- OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
44
- PERFORMANCE OF THIS SOFTWARE.
45
- ***************************************************************************** */
46
- /* global Reflect, Promise */
47
- var extendStatics = function (d, b) {
48
- extendStatics = Object.setPrototypeOf ||
49
- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
50
- function (d, b) { for (var p in b)
51
- if (Object.prototype.hasOwnProperty.call(b, p))
52
- d[p] = b[p]; };
53
- return extendStatics(d, b);
54
- };
55
- function __extends(d, b) {
56
- if (typeof b !== "function" && b !== null)
57
- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
58
- extendStatics(d, b);
59
- function __() { this.constructor = d; }
60
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
61
- }
62
- var __assign = function () {
63
- __assign = Object.assign || function __assign(t) {
64
- for (var s, i = 1, n = arguments.length; i < n; i++) {
65
- s = arguments[i];
66
- for (var p in s)
67
- if (Object.prototype.hasOwnProperty.call(s, p))
68
- t[p] = s[p];
69
- }
70
- return t;
71
- };
72
- return __assign.apply(this, arguments);
73
- };
74
- function __rest(s, e) {
75
- var t = {};
76
- for (var p in s)
77
- if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
78
- t[p] = s[p];
79
- if (s != null && typeof Object.getOwnPropertySymbols === "function")
80
- for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
81
- if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
82
- t[p[i]] = s[p[i]];
83
- }
84
- return t;
85
- }
86
- function __decorate(decorators, target, key, desc) {
87
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
88
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
89
- r = Reflect.decorate(decorators, target, key, desc);
90
- else
91
- for (var i = decorators.length - 1; i >= 0; i--)
92
- if (d = decorators[i])
93
- r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
94
- return c > 3 && r && Object.defineProperty(target, key, r), r;
95
- }
96
- function __param(paramIndex, decorator) {
97
- return function (target, key) { decorator(target, key, paramIndex); };
98
- }
99
- function __metadata(metadataKey, metadataValue) {
100
- if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
101
- return Reflect.metadata(metadataKey, metadataValue);
102
- }
103
- function __awaiter(thisArg, _arguments, P, generator) {
104
- function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
105
- return new (P || (P = Promise))(function (resolve, reject) {
106
- function fulfilled(value) { try {
107
- step(generator.next(value));
108
- }
109
- catch (e) {
110
- reject(e);
111
- } }
112
- function rejected(value) { try {
113
- step(generator["throw"](value));
114
- }
115
- catch (e) {
116
- reject(e);
117
- } }
118
- function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
119
- step((generator = generator.apply(thisArg, _arguments || [])).next());
120
- });
121
- }
122
- function __generator(thisArg, body) {
123
- var _ = { label: 0, sent: function () { if (t[0] & 1)
124
- throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
125
- return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function () { return this; }), g;
126
- function verb(n) { return function (v) { return step([n, v]); }; }
127
- function step(op) {
128
- if (f)
129
- throw new TypeError("Generator is already executing.");
130
- while (_)
131
- try {
132
- 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)
133
- return t;
134
- if (y = 0, t)
135
- op = [op[0] & 2, t.value];
136
- switch (op[0]) {
137
- case 0:
138
- case 1:
139
- t = op;
140
- break;
141
- case 4:
142
- _.label++;
143
- return { value: op[1], done: false };
144
- case 5:
145
- _.label++;
146
- y = op[1];
147
- op = [0];
148
- continue;
149
- case 7:
150
- op = _.ops.pop();
151
- _.trys.pop();
152
- continue;
153
- default:
154
- if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) {
155
- _ = 0;
156
- continue;
157
- }
158
- if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) {
159
- _.label = op[1];
160
- break;
161
- }
162
- if (op[0] === 6 && _.label < t[1]) {
163
- _.label = t[1];
164
- t = op;
165
- break;
166
- }
167
- if (t && _.label < t[2]) {
168
- _.label = t[2];
169
- _.ops.push(op);
170
- break;
171
- }
172
- if (t[2])
173
- _.ops.pop();
174
- _.trys.pop();
175
- continue;
176
- }
177
- op = body.call(thisArg, _);
178
- }
179
- catch (e) {
180
- op = [6, e];
181
- y = 0;
182
- }
183
- finally {
184
- f = t = 0;
185
- }
186
- if (op[0] & 5)
187
- throw op[1];
188
- return { value: op[0] ? op[1] : void 0, done: true };
189
- }
190
- }
191
- var __createBinding = Object.create ? (function (o, m, k, k2) {
192
- if (k2 === undefined)
193
- k2 = k;
194
- Object.defineProperty(o, k2, { enumerable: true, get: function () { return m[k]; } });
195
- }) : (function (o, m, k, k2) {
196
- if (k2 === undefined)
197
- k2 = k;
198
- o[k2] = m[k];
199
- });
200
- function __exportStar(m, o) {
201
- for (var p in m)
202
- if (p !== "default" && !Object.prototype.hasOwnProperty.call(o, p))
203
- __createBinding(o, m, p);
204
- }
205
- function __values(o) {
206
- var s = typeof Symbol === "function" && Symbol.iterator, m = s && o[s], i = 0;
207
- if (m)
208
- return m.call(o);
209
- if (o && typeof o.length === "number")
210
- return {
211
- next: function () {
212
- if (o && i >= o.length)
213
- o = void 0;
214
- return { value: o && o[i++], done: !o };
215
- }
216
- };
217
- throw new TypeError(s ? "Object is not iterable." : "Symbol.iterator is not defined.");
218
- }
219
- function __read(o, n) {
220
- var m = typeof Symbol === "function" && o[Symbol.iterator];
221
- if (!m)
222
- return o;
223
- var i = m.call(o), r, ar = [], e;
224
- try {
225
- while ((n === void 0 || n-- > 0) && !(r = i.next()).done)
226
- ar.push(r.value);
227
- }
228
- catch (error) {
229
- e = { error: error };
230
- }
231
- finally {
232
- try {
233
- if (r && !r.done && (m = i["return"]))
234
- m.call(i);
235
- }
236
- finally {
237
- if (e)
238
- throw e.error;
239
- }
240
- }
241
- return ar;
242
- }
243
- /** @deprecated */
244
- function __spread() {
245
- for (var ar = [], i = 0; i < arguments.length; i++)
246
- ar = ar.concat(__read(arguments[i]));
247
- return ar;
248
- }
249
- /** @deprecated */
250
- function __spreadArrays() {
251
- for (var s = 0, i = 0, il = arguments.length; i < il; i++)
252
- s += arguments[i].length;
253
- for (var r = Array(s), k = 0, i = 0; i < il; i++)
254
- for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)
255
- r[k] = a[j];
256
- return r;
257
- }
258
- function __spreadArray(to, from, pack) {
259
- if (pack || arguments.length === 2)
260
- for (var i = 0, l = from.length, ar; i < l; i++) {
261
- if (ar || !(i in from)) {
262
- if (!ar)
263
- ar = Array.prototype.slice.call(from, 0, i);
264
- ar[i] = from[i];
265
- }
266
- }
267
- return to.concat(ar || from);
268
- }
269
- function __await(v) {
270
- return this instanceof __await ? (this.v = v, this) : new __await(v);
271
- }
272
- function __asyncGenerator(thisArg, _arguments, generator) {
273
- if (!Symbol.asyncIterator)
274
- throw new TypeError("Symbol.asyncIterator is not defined.");
275
- var g = generator.apply(thisArg, _arguments || []), i, q = [];
276
- return i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i;
277
- function verb(n) { if (g[n])
278
- i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }
279
- function resume(n, v) { try {
280
- step(g[n](v));
281
- }
282
- catch (e) {
283
- settle(q[0][3], e);
284
- } }
285
- function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }
286
- function fulfill(value) { resume("next", value); }
287
- function reject(value) { resume("throw", value); }
288
- function settle(f, v) { if (f(v), q.shift(), q.length)
289
- resume(q[0][0], q[0][1]); }
290
- }
291
- function __asyncDelegator(o) {
292
- var i, p;
293
- return i = {}, verb("next"), verb("throw", function (e) { throw e; }), verb("return"), i[Symbol.iterator] = function () { return this; }, i;
294
- 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; }
295
- }
296
- function __asyncValues(o) {
297
- if (!Symbol.asyncIterator)
298
- throw new TypeError("Symbol.asyncIterator is not defined.");
299
- var m = o[Symbol.asyncIterator], i;
300
- 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);
301
- 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); }); }; }
302
- function settle(resolve, reject, d, v) { Promise.resolve(v).then(function (v) { resolve({ value: v, done: d }); }, reject); }
303
- }
304
- function __makeTemplateObject(cooked, raw) {
305
- if (Object.defineProperty) {
306
- Object.defineProperty(cooked, "raw", { value: raw });
307
- }
308
- else {
309
- cooked.raw = raw;
310
- }
311
- return cooked;
312
- }
313
- ;
314
- var __setModuleDefault = Object.create ? (function (o, v) {
315
- Object.defineProperty(o, "default", { enumerable: true, value: v });
316
- }) : function (o, v) {
317
- o["default"] = v;
318
- };
319
- function __importStar(mod) {
320
- if (mod && mod.__esModule)
321
- return mod;
322
- var result = {};
323
- if (mod != null)
324
- for (var k in mod)
325
- if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k))
326
- __createBinding(result, mod, k);
327
- __setModuleDefault(result, mod);
328
- return result;
329
- }
330
- function __importDefault(mod) {
331
- return (mod && mod.__esModule) ? mod : { default: mod };
332
- }
333
- function __classPrivateFieldGet(receiver, state, kind, f) {
334
- if (kind === "a" && !f)
335
- throw new TypeError("Private accessor was defined without a getter");
336
- if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver))
337
- throw new TypeError("Cannot read private member from an object whose class did not declare it");
338
- return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
339
- }
340
- function __classPrivateFieldSet(receiver, state, value, kind, f) {
341
- if (kind === "m")
342
- throw new TypeError("Private method is not writable");
343
- if (kind === "a" && !f)
344
- throw new TypeError("Private accessor was defined without a setter");
345
- if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver))
346
- throw new TypeError("Cannot write private member to an object whose class did not declare it");
347
- return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
348
- }
38
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
39
+ REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
40
+ AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
41
+ INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
42
+ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
43
+ OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
44
+ PERFORMANCE OF THIS SOFTWARE.
45
+ ***************************************************************************** */
46
+ /* global Reflect, Promise, SuppressedError, Symbol */
47
+ var extendStatics = function (d, b) {
48
+ extendStatics = Object.setPrototypeOf ||
49
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
50
+ function (d, b) { for (var p in b)
51
+ if (Object.prototype.hasOwnProperty.call(b, p))
52
+ d[p] = b[p]; };
53
+ return extendStatics(d, b);
54
+ };
55
+ function __extends(d, b) {
56
+ if (typeof b !== "function" && b !== null)
57
+ throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
58
+ extendStatics(d, b);
59
+ function __() { this.constructor = d; }
60
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
61
+ }
62
+ var __assign = function () {
63
+ __assign = Object.assign || function __assign(t) {
64
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
65
+ s = arguments[i];
66
+ for (var p in s)
67
+ if (Object.prototype.hasOwnProperty.call(s, p))
68
+ t[p] = s[p];
69
+ }
70
+ return t;
71
+ };
72
+ return __assign.apply(this, arguments);
73
+ };
74
+ function __rest(s, e) {
75
+ var t = {};
76
+ for (var p in s)
77
+ if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
78
+ t[p] = s[p];
79
+ if (s != null && typeof Object.getOwnPropertySymbols === "function")
80
+ for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
81
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
82
+ t[p[i]] = s[p[i]];
83
+ }
84
+ return t;
85
+ }
86
+ function __decorate(decorators, target, key, desc) {
87
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
88
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
89
+ r = Reflect.decorate(decorators, target, key, desc);
90
+ else
91
+ for (var i = decorators.length - 1; i >= 0; i--)
92
+ if (d = decorators[i])
93
+ r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
94
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
95
+ }
96
+ function __param(paramIndex, decorator) {
97
+ return function (target, key) { decorator(target, key, paramIndex); };
98
+ }
99
+ function __esDecorate(ctor, descriptorIn, decorators, contextIn, initializers, extraInitializers) {
100
+ function accept(f) { if (f !== void 0 && typeof f !== "function")
101
+ throw new TypeError("Function expected"); return f; }
102
+ var kind = contextIn.kind, key = kind === "getter" ? "get" : kind === "setter" ? "set" : "value";
103
+ var target = !descriptorIn && ctor ? contextIn["static"] ? ctor : ctor.prototype : null;
104
+ var descriptor = descriptorIn || (target ? Object.getOwnPropertyDescriptor(target, contextIn.name) : {});
105
+ var _, done = false;
106
+ for (var i = decorators.length - 1; i >= 0; i--) {
107
+ var context = {};
108
+ for (var p in contextIn)
109
+ context[p] = p === "access" ? {} : contextIn[p];
110
+ for (var p in contextIn.access)
111
+ context.access[p] = contextIn.access[p];
112
+ context.addInitializer = function (f) { if (done)
113
+ throw new TypeError("Cannot add initializers after decoration has completed"); extraInitializers.push(accept(f || null)); };
114
+ var result = (0, decorators[i])(kind === "accessor" ? { get: descriptor.get, set: descriptor.set } : descriptor[key], context);
115
+ if (kind === "accessor") {
116
+ if (result === void 0)
117
+ continue;
118
+ if (result === null || typeof result !== "object")
119
+ throw new TypeError("Object expected");
120
+ if (_ = accept(result.get))
121
+ descriptor.get = _;
122
+ if (_ = accept(result.set))
123
+ descriptor.set = _;
124
+ if (_ = accept(result.init))
125
+ initializers.unshift(_);
126
+ }
127
+ else if (_ = accept(result)) {
128
+ if (kind === "field")
129
+ initializers.unshift(_);
130
+ else
131
+ descriptor[key] = _;
132
+ }
133
+ }
134
+ if (target)
135
+ Object.defineProperty(target, contextIn.name, descriptor);
136
+ done = true;
137
+ }
138
+ ;
139
+ function __runInitializers(thisArg, initializers, value) {
140
+ var useValue = arguments.length > 2;
141
+ for (var i = 0; i < initializers.length; i++) {
142
+ value = useValue ? initializers[i].call(thisArg, value) : initializers[i].call(thisArg);
143
+ }
144
+ return useValue ? value : void 0;
145
+ }
146
+ ;
147
+ function __propKey(x) {
148
+ return typeof x === "symbol" ? x : "".concat(x);
149
+ }
150
+ ;
151
+ function __setFunctionName(f, name, prefix) {
152
+ if (typeof name === "symbol")
153
+ name = name.description ? "[".concat(name.description, "]") : "";
154
+ return Object.defineProperty(f, "name", { configurable: true, value: prefix ? "".concat(prefix, " ", name) : name });
155
+ }
156
+ ;
157
+ function __metadata(metadataKey, metadataValue) {
158
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
159
+ return Reflect.metadata(metadataKey, metadataValue);
160
+ }
161
+ function __awaiter(thisArg, _arguments, P, generator) {
162
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
163
+ return new (P || (P = Promise))(function (resolve, reject) {
164
+ function fulfilled(value) { try {
165
+ step(generator.next(value));
166
+ }
167
+ catch (e) {
168
+ reject(e);
169
+ } }
170
+ function rejected(value) { try {
171
+ step(generator["throw"](value));
172
+ }
173
+ catch (e) {
174
+ reject(e);
175
+ } }
176
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
177
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
178
+ });
179
+ }
180
+ function __generator(thisArg, body) {
181
+ var _ = { label: 0, sent: function () { if (t[0] & 1)
182
+ throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
183
+ return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function () { return this; }), g;
184
+ function verb(n) { return function (v) { return step([n, v]); }; }
185
+ function step(op) {
186
+ if (f)
187
+ throw new TypeError("Generator is already executing.");
188
+ while (g && (g = 0, op[0] && (_ = 0)), _)
189
+ try {
190
+ 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)
191
+ return t;
192
+ if (y = 0, t)
193
+ op = [op[0] & 2, t.value];
194
+ switch (op[0]) {
195
+ case 0:
196
+ case 1:
197
+ t = op;
198
+ break;
199
+ case 4:
200
+ _.label++;
201
+ return { value: op[1], done: false };
202
+ case 5:
203
+ _.label++;
204
+ y = op[1];
205
+ op = [0];
206
+ continue;
207
+ case 7:
208
+ op = _.ops.pop();
209
+ _.trys.pop();
210
+ continue;
211
+ default:
212
+ if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) {
213
+ _ = 0;
214
+ continue;
215
+ }
216
+ if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) {
217
+ _.label = op[1];
218
+ break;
219
+ }
220
+ if (op[0] === 6 && _.label < t[1]) {
221
+ _.label = t[1];
222
+ t = op;
223
+ break;
224
+ }
225
+ if (t && _.label < t[2]) {
226
+ _.label = t[2];
227
+ _.ops.push(op);
228
+ break;
229
+ }
230
+ if (t[2])
231
+ _.ops.pop();
232
+ _.trys.pop();
233
+ continue;
234
+ }
235
+ op = body.call(thisArg, _);
236
+ }
237
+ catch (e) {
238
+ op = [6, e];
239
+ y = 0;
240
+ }
241
+ finally {
242
+ f = t = 0;
243
+ }
244
+ if (op[0] & 5)
245
+ throw op[1];
246
+ return { value: op[0] ? op[1] : void 0, done: true };
247
+ }
248
+ }
249
+ var __createBinding = Object.create ? (function (o, m, k, k2) {
250
+ if (k2 === undefined)
251
+ k2 = k;
252
+ var desc = Object.getOwnPropertyDescriptor(m, k);
253
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
254
+ desc = { enumerable: true, get: function () { return m[k]; } };
255
+ }
256
+ Object.defineProperty(o, k2, desc);
257
+ }) : (function (o, m, k, k2) {
258
+ if (k2 === undefined)
259
+ k2 = k;
260
+ o[k2] = m[k];
261
+ });
262
+ function __exportStar(m, o) {
263
+ for (var p in m)
264
+ if (p !== "default" && !Object.prototype.hasOwnProperty.call(o, p))
265
+ __createBinding(o, m, p);
266
+ }
267
+ function __values(o) {
268
+ var s = typeof Symbol === "function" && Symbol.iterator, m = s && o[s], i = 0;
269
+ if (m)
270
+ return m.call(o);
271
+ if (o && typeof o.length === "number")
272
+ return {
273
+ next: function () {
274
+ if (o && i >= o.length)
275
+ o = void 0;
276
+ return { value: o && o[i++], done: !o };
277
+ }
278
+ };
279
+ throw new TypeError(s ? "Object is not iterable." : "Symbol.iterator is not defined.");
280
+ }
281
+ function __read(o, n) {
282
+ var m = typeof Symbol === "function" && o[Symbol.iterator];
283
+ if (!m)
284
+ return o;
285
+ var i = m.call(o), r, ar = [], e;
286
+ try {
287
+ while ((n === void 0 || n-- > 0) && !(r = i.next()).done)
288
+ ar.push(r.value);
289
+ }
290
+ catch (error) {
291
+ e = { error: error };
292
+ }
293
+ finally {
294
+ try {
295
+ if (r && !r.done && (m = i["return"]))
296
+ m.call(i);
297
+ }
298
+ finally {
299
+ if (e)
300
+ throw e.error;
301
+ }
302
+ }
303
+ return ar;
304
+ }
305
+ /** @deprecated */
306
+ function __spread() {
307
+ for (var ar = [], i = 0; i < arguments.length; i++)
308
+ ar = ar.concat(__read(arguments[i]));
309
+ return ar;
310
+ }
311
+ /** @deprecated */
312
+ function __spreadArrays() {
313
+ for (var s = 0, i = 0, il = arguments.length; i < il; i++)
314
+ s += arguments[i].length;
315
+ for (var r = Array(s), k = 0, i = 0; i < il; i++)
316
+ for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)
317
+ r[k] = a[j];
318
+ return r;
319
+ }
320
+ function __spreadArray(to, from, pack) {
321
+ if (pack || arguments.length === 2)
322
+ for (var i = 0, l = from.length, ar; i < l; i++) {
323
+ if (ar || !(i in from)) {
324
+ if (!ar)
325
+ ar = Array.prototype.slice.call(from, 0, i);
326
+ ar[i] = from[i];
327
+ }
328
+ }
329
+ return to.concat(ar || Array.prototype.slice.call(from));
330
+ }
331
+ function __await(v) {
332
+ return this instanceof __await ? (this.v = v, this) : new __await(v);
333
+ }
334
+ function __asyncGenerator(thisArg, _arguments, generator) {
335
+ if (!Symbol.asyncIterator)
336
+ throw new TypeError("Symbol.asyncIterator is not defined.");
337
+ var g = generator.apply(thisArg, _arguments || []), i, q = [];
338
+ return i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i;
339
+ function verb(n) { if (g[n])
340
+ i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }
341
+ function resume(n, v) { try {
342
+ step(g[n](v));
343
+ }
344
+ catch (e) {
345
+ settle(q[0][3], e);
346
+ } }
347
+ function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }
348
+ function fulfill(value) { resume("next", value); }
349
+ function reject(value) { resume("throw", value); }
350
+ function settle(f, v) { if (f(v), q.shift(), q.length)
351
+ resume(q[0][0], q[0][1]); }
352
+ }
353
+ function __asyncDelegator(o) {
354
+ var i, p;
355
+ return i = {}, verb("next"), verb("throw", function (e) { throw e; }), verb("return"), i[Symbol.iterator] = function () { return this; }, i;
356
+ function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: false } : f ? f(v) : v; } : f; }
357
+ }
358
+ function __asyncValues(o) {
359
+ if (!Symbol.asyncIterator)
360
+ throw new TypeError("Symbol.asyncIterator is not defined.");
361
+ var m = o[Symbol.asyncIterator], i;
362
+ 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);
363
+ 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); }); }; }
364
+ function settle(resolve, reject, d, v) { Promise.resolve(v).then(function (v) { resolve({ value: v, done: d }); }, reject); }
365
+ }
366
+ function __makeTemplateObject(cooked, raw) {
367
+ if (Object.defineProperty) {
368
+ Object.defineProperty(cooked, "raw", { value: raw });
369
+ }
370
+ else {
371
+ cooked.raw = raw;
372
+ }
373
+ return cooked;
374
+ }
375
+ ;
376
+ var __setModuleDefault = Object.create ? (function (o, v) {
377
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
378
+ }) : function (o, v) {
379
+ o["default"] = v;
380
+ };
381
+ function __importStar(mod) {
382
+ if (mod && mod.__esModule)
383
+ return mod;
384
+ var result = {};
385
+ if (mod != null)
386
+ for (var k in mod)
387
+ if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k))
388
+ __createBinding(result, mod, k);
389
+ __setModuleDefault(result, mod);
390
+ return result;
391
+ }
392
+ function __importDefault(mod) {
393
+ return (mod && mod.__esModule) ? mod : { default: mod };
394
+ }
395
+ function __classPrivateFieldGet(receiver, state, kind, f) {
396
+ if (kind === "a" && !f)
397
+ throw new TypeError("Private accessor was defined without a getter");
398
+ if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver))
399
+ throw new TypeError("Cannot read private member from an object whose class did not declare it");
400
+ return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
401
+ }
402
+ function __classPrivateFieldSet(receiver, state, value, kind, f) {
403
+ if (kind === "m")
404
+ throw new TypeError("Private method is not writable");
405
+ if (kind === "a" && !f)
406
+ throw new TypeError("Private accessor was defined without a setter");
407
+ if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver))
408
+ throw new TypeError("Cannot write private member to an object whose class did not declare it");
409
+ return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
410
+ }
411
+ function __classPrivateFieldIn(state, receiver) {
412
+ if (receiver === null || (typeof receiver !== "object" && typeof receiver !== "function"))
413
+ throw new TypeError("Cannot use 'in' operator on non-object");
414
+ return typeof state === "function" ? receiver === state : state.has(receiver);
415
+ }
416
+ function __addDisposableResource(env, value, async) {
417
+ if (value !== null && value !== void 0) {
418
+ if (typeof value !== "object" && typeof value !== "function")
419
+ throw new TypeError("Object expected.");
420
+ var dispose;
421
+ if (async) {
422
+ if (!Symbol.asyncDispose)
423
+ throw new TypeError("Symbol.asyncDispose is not defined.");
424
+ dispose = value[Symbol.asyncDispose];
425
+ }
426
+ if (dispose === void 0) {
427
+ if (!Symbol.dispose)
428
+ throw new TypeError("Symbol.dispose is not defined.");
429
+ dispose = value[Symbol.dispose];
430
+ }
431
+ if (typeof dispose !== "function")
432
+ throw new TypeError("Object not disposable.");
433
+ env.stack.push({ value: value, dispose: dispose, async: async });
434
+ }
435
+ else if (async) {
436
+ env.stack.push({ async: true });
437
+ }
438
+ return value;
439
+ }
440
+ var _SuppressedError = typeof SuppressedError === "function" ? SuppressedError : function (error, suppressed, message) {
441
+ var e = new Error(message);
442
+ return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
443
+ };
444
+ function __disposeResources(env) {
445
+ function fail(e) {
446
+ env.error = env.hasError ? new _SuppressedError(e, env.error, "An error was suppressed during disposal.") : e;
447
+ env.hasError = true;
448
+ }
449
+ function next() {
450
+ while (env.stack.length) {
451
+ var rec = env.stack.pop();
452
+ try {
453
+ var result = rec.dispose && rec.dispose.call(rec.value);
454
+ if (rec.async)
455
+ return Promise.resolve(result).then(next, function (e) { fail(e); return next(); });
456
+ }
457
+ catch (e) {
458
+ fail(e);
459
+ }
460
+ }
461
+ if (env.hasError)
462
+ throw env.error;
463
+ }
464
+ return next();
465
+ }
466
+ var tslib_es6 = {
467
+ __extends: __extends,
468
+ __assign: __assign,
469
+ __rest: __rest,
470
+ __decorate: __decorate,
471
+ __param: __param,
472
+ __metadata: __metadata,
473
+ __awaiter: __awaiter,
474
+ __generator: __generator,
475
+ __createBinding: __createBinding,
476
+ __exportStar: __exportStar,
477
+ __values: __values,
478
+ __read: __read,
479
+ __spread: __spread,
480
+ __spreadArrays: __spreadArrays,
481
+ __spreadArray: __spreadArray,
482
+ __await: __await,
483
+ __asyncGenerator: __asyncGenerator,
484
+ __asyncDelegator: __asyncDelegator,
485
+ __asyncValues: __asyncValues,
486
+ __makeTemplateObject: __makeTemplateObject,
487
+ __importStar: __importStar,
488
+ __importDefault: __importDefault,
489
+ __classPrivateFieldGet: __classPrivateFieldGet,
490
+ __classPrivateFieldSet: __classPrivateFieldSet,
491
+ __classPrivateFieldIn: __classPrivateFieldIn,
492
+ __addDisposableResource: __addDisposableResource,
493
+ __disposeResources: __disposeResources,
494
+ };
349
495
 
350
- var TuiAccordionItemContentDirective = /** @class */ (function (_super) {
351
- __extends(TuiAccordionItemContentDirective, _super);
352
- function TuiAccordionItemContentDirective(templateRef, cdr) {
353
- return _super.call(this, templateRef, cdr) || this;
354
- }
355
- return TuiAccordionItemContentDirective;
356
- }(i4.PolymorpheusTemplate));
357
- TuiAccordionItemContentDirective.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiAccordionItemContentDirective, deps: [{ token: i0.TemplateRef, self: true }, { token: i0.ChangeDetectorRef }], target: i0__namespace.ɵɵFactoryTarget.Directive });
358
- TuiAccordionItemContentDirective.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.17", type: TuiAccordionItemContentDirective, selector: "ng-template[tuiAccordionItemContent]", usesInheritance: true, ngImport: i0__namespace });
359
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiAccordionItemContentDirective, decorators: [{
360
- type: i0.Directive,
361
- args: [{
362
- selector: 'ng-template[tuiAccordionItemContent]',
363
- }]
364
- }], ctorParameters: function () {
365
- return [{ type: i0__namespace.TemplateRef, decorators: [{
366
- type: i0.Inject,
367
- args: [i0.TemplateRef]
368
- }, {
369
- type: i0.Self
370
- }] }, { type: i0__namespace.ChangeDetectorRef, decorators: [{
371
- type: i0.Inject,
372
- args: [i0.ChangeDetectorRef]
373
- }] }];
374
- } });
496
+ var TuiAccordionItemContentDirective = /** @class */ (function (_super) {
497
+ __extends(TuiAccordionItemContentDirective, _super);
498
+ function TuiAccordionItemContentDirective(templateRef, cdr) {
499
+ return _super.call(this, templateRef, cdr) || this;
500
+ }
501
+ return TuiAccordionItemContentDirective;
502
+ }(i4.PolymorpheusTemplate));
503
+ TuiAccordionItemContentDirective.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiAccordionItemContentDirective, deps: [{ token: i0.TemplateRef, self: true }, { token: i0.ChangeDetectorRef }], target: i0__namespace.ɵɵFactoryTarget.Directive });
504
+ TuiAccordionItemContentDirective.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.17", type: TuiAccordionItemContentDirective, selector: "ng-template[tuiAccordionItemContent]", usesInheritance: true, ngImport: i0__namespace });
505
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiAccordionItemContentDirective, decorators: [{
506
+ type: i0.Directive,
507
+ args: [{
508
+ selector: 'ng-template[tuiAccordionItemContent]',
509
+ }]
510
+ }], ctorParameters: function () {
511
+ return [{ type: i0__namespace.TemplateRef, decorators: [{
512
+ type: i0.Inject,
513
+ args: [i0.TemplateRef]
514
+ }, {
515
+ type: i0.Self
516
+ }] }, { type: i0__namespace.ChangeDetectorRef, decorators: [{
517
+ type: i0.Inject,
518
+ args: [i0.ChangeDetectorRef]
519
+ }] }];
520
+ } });
375
521
 
376
- var TuiAccordionItemEagerContentDirective = /** @class */ (function () {
377
- function TuiAccordionItemEagerContentDirective() {
378
- }
379
- return TuiAccordionItemEagerContentDirective;
380
- }());
381
- TuiAccordionItemEagerContentDirective.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiAccordionItemEagerContentDirective, deps: [], target: i0__namespace.ɵɵFactoryTarget.Directive });
382
- TuiAccordionItemEagerContentDirective.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.17", type: TuiAccordionItemEagerContentDirective, selector: "[tuiAccordionItemContent]:not(ng-template)", ngImport: i0__namespace });
383
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiAccordionItemEagerContentDirective, decorators: [{
384
- type: i0.Directive,
385
- args: [{
386
- selector: '[tuiAccordionItemContent]:not(ng-template)',
387
- }]
388
- }] });
522
+ var TuiAccordionItemEagerContentDirective = /** @class */ (function () {
523
+ function TuiAccordionItemEagerContentDirective() {
524
+ }
525
+ return TuiAccordionItemEagerContentDirective;
526
+ }());
527
+ TuiAccordionItemEagerContentDirective.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiAccordionItemEagerContentDirective, deps: [], target: i0__namespace.ɵɵFactoryTarget.Directive });
528
+ TuiAccordionItemEagerContentDirective.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.17", type: TuiAccordionItemEagerContentDirective, selector: "[tuiAccordionItemContent]:not(ng-template)", ngImport: i0__namespace });
529
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiAccordionItemEagerContentDirective, decorators: [{
530
+ type: i0.Directive,
531
+ args: [{
532
+ selector: '[tuiAccordionItemContent]:not(ng-template)',
533
+ }]
534
+ }] });
389
535
 
390
- var TuiAccordionItemComponent = /** @class */ (function (_super) {
391
- __extends(TuiAccordionItemComponent, _super);
392
- function TuiAccordionItemComponent(cdr, mode$, options) {
393
- var _this = _super.call(this) || this;
394
- _this.cdr = cdr;
395
- _this.mode$ = mode$;
396
- _this.options = options;
397
- _this.noPadding = false;
398
- _this.showArrow = true;
399
- _this.borders = 'all';
400
- _this.size = 'm';
401
- _this.disabled = false;
402
- _this.disableHover = false;
403
- _this.open = false;
404
- _this.async = false;
405
- _this.openChange = new i0.EventEmitter();
406
- return _this;
407
- }
408
- Object.defineProperty(TuiAccordionItemComponent.prototype, "nativeFocusableElement", {
409
- get: function () {
410
- return this.disabled || !this.focusableElement
411
- ? null
412
- : this.focusableElement.nativeElement;
413
- },
414
- enumerable: false,
415
- configurable: true
416
- });
417
- Object.defineProperty(TuiAccordionItemComponent.prototype, "focused", {
418
- get: function () {
419
- return i2.tuiIsNativeFocused(this.nativeFocusableElement);
420
- },
421
- enumerable: false,
422
- configurable: true
423
- });
424
- TuiAccordionItemComponent.prototype.onFocused = function (focused) {
425
- this.updateFocused(focused);
426
- };
427
- TuiAccordionItemComponent.prototype.onFocusVisible = function (focusVisible) {
428
- this.updateFocusVisible(focusVisible);
429
- };
430
- TuiAccordionItemComponent.prototype.onRowToggle = function () {
431
- if (!this.disabled) {
432
- this.updateOpen(!this.open);
433
- }
434
- };
435
- TuiAccordionItemComponent.prototype.onItemKeyDownEsc = function (event) {
436
- if (!this.open) {
437
- return;
438
- }
439
- event.stopPropagation();
440
- this.updateOpen(false);
441
- };
442
- TuiAccordionItemComponent.prototype.close = function () {
443
- this.updateOpen(false);
444
- this.cdr.markForCheck();
445
- };
446
- TuiAccordionItemComponent.prototype.updateOpen = function (open) {
447
- if (this.open === open) {
448
- return;
449
- }
450
- this.open = open;
451
- this.openChange.emit(open);
452
- };
453
- return TuiAccordionItemComponent;
454
- }(i2.AbstractTuiInteractive));
455
- TuiAccordionItemComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiAccordionItemComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: i1.TUI_MODE }, { token: arrow.TUI_ARROW_OPTIONS }], target: i0__namespace.ɵɵFactoryTarget.Component });
456
- TuiAccordionItemComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: TuiAccordionItemComponent, selector: "tui-accordion-item", inputs: { noPadding: "noPadding", showArrow: "showArrow", borders: "borders", size: "size", disabled: "disabled", disableHover: "disableHover", open: "open", async: "async" }, outputs: { openChange: "openChange" }, host: { listeners: { "$.data-mode.attr": "mode$" }, properties: { "class._no-padding": "this.noPadding", "class._has-arrow": "this.showArrow", "attr.data-borders": "this.borders", "attr.data-size": "this.size", "class._disabled": "this.disabled" } }, providers: [i2.tuiAsFocusableItemAccessor(TuiAccordionItemComponent), i1.MODE_PROVIDER], queries: [{ propertyName: "eagerContent", first: true, predicate: TuiAccordionItemEagerContentDirective, descendants: true }, { propertyName: "lazyContent", first: true, predicate: TuiAccordionItemContentDirective, descendants: true }], viewQueries: [{ propertyName: "focusableElement", first: true, predicate: ["focusableElement"], descendants: true }], usesInheritance: true, ngImport: i0__namespace, template: "<div\n automation-id=\"tui-accordion__item-wrapper\"\n class=\"t-wrapper\"\n>\n <button\n #focusableElement\n automation-id=\"tui-accordion__item-header\"\n type=\"button\"\n class=\"t-header\"\n [class.t-header_hoverable]=\"!disableHover\"\n [class.t-header_open]=\"open\"\n [disabled]=\"computedDisabled\"\n [tuiFocusable]=\"computedFocusable\"\n (click)=\"onRowToggle()\"\n (keydown.esc)=\"onItemKeyDownEsc($event)\"\n (tuiFocusedChange)=\"onFocused($event)\"\n (tuiFocusVisibleChange)=\"onFocusVisible($event)\"\n >\n <span\n automation-id=\"tui-accordion__item-title\"\n class=\"t-title\"\n >\n <ng-content></ng-content>\n </span>\n <ng-container *ngIf=\"showArrow\">\n <tui-svg\n *polymorpheusOutlet=\"options.iconLarge as src\"\n automation-id=\"tui-accordion__item-arrow\"\n class=\"t-icon\"\n [class.t-icon_open]=\"open\"\n [src]=\"src\"\n ></tui-svg>\n </ng-container>\n </button>\n <tui-expand\n [async]=\"async\"\n [expanded]=\"open\"\n >\n <ng-template tuiExpandContent>\n <div\n *ngIf=\"lazyContent\"\n automation-id=\"tui-accordion__item-content\"\n class=\"t-content\"\n >\n <ng-container *polymorpheusOutlet=\"lazyContent as text\">\n {{ text }}\n </ng-container>\n </div>\n </ng-template>\n <div\n *ngIf=\"eagerContent\"\n class=\"t-content\"\n >\n <ng-content select=\"[tuiAccordionItemContent]\"></ng-content>\n </div>\n </tui-expand>\n</div>\n", styles: [":host{position:relative;display:block;overflow:hidden;border-radius:var(--tui-radius-l)}:host[data-borders=top-bottom]{border-radius:0!important}.t-wrapper{position:relative;border-radius:inherit}.t-wrapper:after{position:absolute;top:0;left:0;width:100%;height:100%;content:\"\";box-sizing:border-box;border-radius:inherit;border:1px solid var(--tui-base-04);pointer-events:none}:host:not([data-borders]) .t-wrapper:after{border-width:0}:host[data-borders=all] .t-wrapper:after{border-width:1px}:host[data-borders=top-bottom] .t-wrapper:after{border-left-width:0;border-right-width:0}:host[data-borders=top] .t-wrapper:after{border-left-width:0;border-right-width:0;border-bottom-width:0}:host[data-borders=bottom] .t-wrapper:after{border-left-width:0;border-right-width:0;border-top-width:0}:host[data-mode=onDark] .t-wrapper:after{border-color:var(--tui-base-03)}:host[data-mode=onLight] .t-wrapper:after{border-color:var(--tui-text-01)}:host._focus-visible .t-wrapper:after{border:2px solid var(--tui-focus)}:host:not([data-mode]) .t-wrapper{background:var(--tui-base-01)}.t-header{-webkit-appearance:none;-moz-appearance:none;appearance:none;border:0;background:none;font-size:inherit;line-height:inherit;text-decoration:none;transition-property:background;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;display:flex;width:100%;font:var(--tui-font-text-l);align-items:center;box-sizing:border-box;border-bottom:1px solid var(--tui-base-04);min-height:var(--tui-height-l);padding:.75rem 1.25rem;color:var(--tui-text-01);cursor:pointer;text-align:left;outline:none}:host[data-mode=onDark] .t-header{color:var(--tui-text-01-night);border-color:var(--tui-base-03)}:host[data-mode=onLight] .t-header{border-color:var(--tui-text-01)}:host:not([data-borders]) .t-header{border-bottom-width:0;box-shadow:none}:host._has-arrow .t-header{padding-right:.75rem}:host[data-mode=onDark] .t-header_open{background:var(--tui-clear-inverse)}:host[data-mode=onLight] .t-header_open{background:var(--tui-clear)}:host[data-size=s] .t-header{font:var(--tui-font-text-m);min-height:var(--tui-height-m);padding:.625rem .75rem .625rem 1rem}:host._no-padding .t-header{padding-left:0;padding-right:0}:host._disabled .t-header{cursor:default}.t-wrapper:hover:not([data-mode])>.t-header_hoverable{background:var(--tui-base-02)}.t-wrapper:hover[data-mode=onDark]>.t-header_hoverable{background:var(--tui-clear-inverse)}.t-wrapper:hover[data-mode=onLight]>.t-header_hoverable{background:var(--tui-clear)}.t-title{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-right:0;flex-grow:1}:host._has-arrow .t-title{margin-right:.5rem}.t-icon{transition-property:transform,color;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;width:1.5rem;height:1.5rem;margin-left:auto;color:var(--tui-base-06)}.t-icon_open{transform:rotate(180deg)}:host[data-mode] .t-icon{opacity:var(--tui-disabled-opacity)}:host:hover[data-mode] .t-icon{opacity:.8}:host[data-mode=onDark] .t-icon{color:var(--tui-text-01-night)}:host[data-mode=onLight] .t-icon{color:var(--tui-text-01)}:host:hover:not([data-mode]) .t-icon{color:var(--tui-base-07)}.t-content{font:var(--tui-font-text-m);padding:1.25rem;word-wrap:break-word}:host[data-size=s] .t-content{font:var(--tui-font-text-s);padding:1rem}\n"], components: [{ type: i1__namespace.TuiSvgComponent, selector: "tui-svg", inputs: ["src"] }, { type: i1__namespace.TuiExpandComponent, selector: "tui-expand", inputs: ["async", "expanded"] }], directives: [{ type: i2__namespace.TuiFocusableDirective, selector: "[tuiFocusable]", inputs: ["tuiFocusable"] }, { type: i2__namespace.TuiFocusedDirective, selector: "[tuiFocusedChange]", outputs: ["tuiFocusedChange"] }, { type: i2__namespace.TuiFocusVisibleDirective, selector: "[tuiFocusVisibleChange]", outputs: ["tuiFocusVisibleChange"] }, { type: i3__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i4__namespace.PolymorpheusOutletDirective, selector: "[polymorpheusOutlet]", inputs: ["polymorpheusOutlet", "polymorpheusOutletContext"] }, { type: i1__namespace.TuiExpandContentDirective, selector: "[tuiExpandContent]" }], changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush });
457
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiAccordionItemComponent, decorators: [{
458
- type: i0.Component,
459
- args: [{
460
- selector: 'tui-accordion-item',
461
- templateUrl: './accordion-item.template.html',
462
- styleUrls: ['./accordion-item.style.less'],
463
- changeDetection: i0.ChangeDetectionStrategy.OnPush,
464
- providers: [i2.tuiAsFocusableItemAccessor(TuiAccordionItemComponent), i1.MODE_PROVIDER],
465
- host: {
466
- '($.data-mode.attr)': 'mode$',
467
- },
468
- }]
469
- }], ctorParameters: function () {
470
- return [{ type: i0__namespace.ChangeDetectorRef, decorators: [{
471
- type: i0.Inject,
472
- args: [i0.ChangeDetectorRef]
473
- }] }, { type: i5__namespace.Observable, decorators: [{
474
- type: i0.Inject,
475
- args: [i1.TUI_MODE]
476
- }] }, { type: undefined, decorators: [{
477
- type: i0.Inject,
478
- args: [arrow.TUI_ARROW_OPTIONS]
479
- }] }];
480
- }, propDecorators: { focusableElement: [{
481
- type: i0.ViewChild,
482
- args: ['focusableElement']
483
- }], noPadding: [{
484
- type: i0.Input
485
- }, {
486
- type: i0.HostBinding,
487
- args: ['class._no-padding']
488
- }], showArrow: [{
489
- type: i0.Input
490
- }, {
491
- type: i0.HostBinding,
492
- args: ['class._has-arrow']
493
- }], borders: [{
494
- type: i0.Input
495
- }, {
496
- type: i0.HostBinding,
497
- args: ['attr.data-borders']
498
- }], size: [{
499
- type: i0.Input
500
- }, {
501
- type: i0.HostBinding,
502
- args: ['attr.data-size']
503
- }], disabled: [{
504
- type: i0.Input
505
- }, {
506
- type: i0.HostBinding,
507
- args: ['class._disabled']
508
- }], disableHover: [{
509
- type: i0.Input
510
- }], open: [{
511
- type: i0.Input
512
- }], async: [{
513
- type: i0.Input
514
- }], openChange: [{
515
- type: i0.Output
516
- }], eagerContent: [{
517
- type: i0.ContentChild,
518
- args: [TuiAccordionItemEagerContentDirective]
519
- }], lazyContent: [{
520
- type: i0.ContentChild,
521
- args: [TuiAccordionItemContentDirective]
522
- }] } });
536
+ var TuiAccordionItemComponent = /** @class */ (function (_super) {
537
+ __extends(TuiAccordionItemComponent, _super);
538
+ function TuiAccordionItemComponent(cdr, mode$, options) {
539
+ var _this = _super.call(this) || this;
540
+ _this.cdr = cdr;
541
+ _this.mode$ = mode$;
542
+ _this.options = options;
543
+ _this.noPadding = false;
544
+ _this.showArrow = true;
545
+ _this.borders = 'all';
546
+ _this.size = 'm';
547
+ _this.disabled = false;
548
+ _this.disableHover = false;
549
+ _this.open = false;
550
+ _this.async = false;
551
+ _this.openChange = new i0.EventEmitter();
552
+ return _this;
553
+ }
554
+ Object.defineProperty(TuiAccordionItemComponent.prototype, "nativeFocusableElement", {
555
+ get: function () {
556
+ return this.disabled || !this.focusableElement
557
+ ? null
558
+ : this.focusableElement.nativeElement;
559
+ },
560
+ enumerable: false,
561
+ configurable: true
562
+ });
563
+ Object.defineProperty(TuiAccordionItemComponent.prototype, "focused", {
564
+ get: function () {
565
+ return i2.tuiIsNativeFocused(this.nativeFocusableElement);
566
+ },
567
+ enumerable: false,
568
+ configurable: true
569
+ });
570
+ TuiAccordionItemComponent.prototype.onFocused = function (focused) {
571
+ this.updateFocused(focused);
572
+ };
573
+ TuiAccordionItemComponent.prototype.onFocusVisible = function (focusVisible) {
574
+ this.updateFocusVisible(focusVisible);
575
+ };
576
+ TuiAccordionItemComponent.prototype.onRowToggle = function () {
577
+ if (!this.disabled) {
578
+ this.updateOpen(!this.open);
579
+ }
580
+ };
581
+ TuiAccordionItemComponent.prototype.onItemKeyDownEsc = function (event) {
582
+ if (!this.open) {
583
+ return;
584
+ }
585
+ event.stopPropagation();
586
+ this.updateOpen(false);
587
+ };
588
+ TuiAccordionItemComponent.prototype.close = function () {
589
+ this.updateOpen(false);
590
+ this.cdr.markForCheck();
591
+ };
592
+ TuiAccordionItemComponent.prototype.updateOpen = function (open) {
593
+ if (this.open === open) {
594
+ return;
595
+ }
596
+ this.open = open;
597
+ this.openChange.emit(open);
598
+ };
599
+ return TuiAccordionItemComponent;
600
+ }(i2.AbstractTuiInteractive));
601
+ TuiAccordionItemComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiAccordionItemComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: i1.TUI_MODE }, { token: arrow.TUI_ARROW_OPTIONS }], target: i0__namespace.ɵɵFactoryTarget.Component });
602
+ TuiAccordionItemComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: TuiAccordionItemComponent, selector: "tui-accordion-item", inputs: { noPadding: "noPadding", showArrow: "showArrow", borders: "borders", size: "size", disabled: "disabled", disableHover: "disableHover", open: "open", async: "async" }, outputs: { openChange: "openChange" }, host: { listeners: { "$.data-mode.attr": "mode$" }, properties: { "class._no-padding": "this.noPadding", "class._has-arrow": "this.showArrow", "attr.data-borders": "this.borders", "attr.data-size": "this.size", "class._disabled": "this.disabled" } }, providers: [i2.tuiAsFocusableItemAccessor(TuiAccordionItemComponent), i1.MODE_PROVIDER], queries: [{ propertyName: "eagerContent", first: true, predicate: TuiAccordionItemEagerContentDirective, descendants: true }, { propertyName: "lazyContent", first: true, predicate: TuiAccordionItemContentDirective, descendants: true }], viewQueries: [{ propertyName: "focusableElement", first: true, predicate: ["focusableElement"], descendants: true }], usesInheritance: true, ngImport: i0__namespace, template: "<div\n automation-id=\"tui-accordion__item-wrapper\"\n class=\"t-wrapper\"\n>\n <button\n #focusableElement\n automation-id=\"tui-accordion__item-header\"\n type=\"button\"\n class=\"t-header\"\n [class.t-header_hoverable]=\"!disableHover\"\n [class.t-header_open]=\"open\"\n [disabled]=\"computedDisabled\"\n [tuiFocusable]=\"computedFocusable\"\n (click)=\"onRowToggle()\"\n (keydown.esc)=\"onItemKeyDownEsc($event)\"\n (tuiFocusedChange)=\"onFocused($event)\"\n (tuiFocusVisibleChange)=\"onFocusVisible($event)\"\n >\n <span\n automation-id=\"tui-accordion__item-title\"\n class=\"t-title\"\n >\n <ng-content></ng-content>\n </span>\n <ng-container *ngIf=\"showArrow\">\n <tui-svg\n *polymorpheusOutlet=\"options.iconLarge as src\"\n automation-id=\"tui-accordion__item-arrow\"\n class=\"t-icon\"\n [class.t-icon_open]=\"open\"\n [src]=\"src\"\n ></tui-svg>\n </ng-container>\n </button>\n <tui-expand\n [async]=\"async\"\n [expanded]=\"open\"\n >\n <ng-template tuiExpandContent>\n <div\n *ngIf=\"lazyContent\"\n automation-id=\"tui-accordion__item-content\"\n class=\"t-content\"\n >\n <ng-container *polymorpheusOutlet=\"lazyContent as text\">\n {{ text }}\n </ng-container>\n </div>\n </ng-template>\n <div\n *ngIf=\"eagerContent\"\n class=\"t-content\"\n >\n <ng-content select=\"[tuiAccordionItemContent]\"></ng-content>\n </div>\n </tui-expand>\n</div>\n", styles: [":host{position:relative;display:block;overflow:hidden;border-radius:var(--tui-radius-l)}:host[data-borders=top-bottom]{border-radius:0!important}.t-wrapper{position:relative;border-radius:inherit}.t-wrapper:after{position:absolute;top:0;left:0;width:100%;height:100%;content:\"\";box-sizing:border-box;border-radius:inherit;border:1px solid var(--tui-base-04);pointer-events:none}:host:not([data-borders]) .t-wrapper:after{border-width:0}:host[data-borders=all] .t-wrapper:after{border-width:1px}:host[data-borders=top-bottom] .t-wrapper:after{border-left-width:0;border-right-width:0}:host[data-borders=top] .t-wrapper:after{border-left-width:0;border-right-width:0;border-bottom-width:0}:host[data-borders=bottom] .t-wrapper:after{border-left-width:0;border-right-width:0;border-top-width:0}:host[data-mode=onDark] .t-wrapper:after{border-color:var(--tui-base-03)}:host[data-mode=onLight] .t-wrapper:after{border-color:var(--tui-text-01)}:host._focus-visible .t-wrapper:after{border:2px solid var(--tui-focus)}:host:not([data-mode]) .t-wrapper{background:var(--tui-base-01)}.t-header{-webkit-appearance:none;-moz-appearance:none;appearance:none;border:0;background:none;font-size:inherit;line-height:inherit;text-decoration:none;transition-property:background;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;display:flex;width:100%;font:var(--tui-font-text-l);align-items:center;box-sizing:border-box;border-bottom:1px solid var(--tui-base-04);min-height:var(--tui-height-l);padding:.75rem 1.25rem;color:var(--tui-text-01);cursor:pointer;text-align:left;outline:none}:host[data-mode=onDark] .t-header{color:var(--tui-text-01-night);border-color:var(--tui-base-03)}:host[data-mode=onLight] .t-header{border-color:var(--tui-text-01)}:host:not([data-borders]) .t-header{border-bottom-width:0;box-shadow:none}:host._has-arrow .t-header{padding-right:.75rem}:host[data-mode=onDark] .t-header_open{background:var(--tui-clear-inverse)}:host[data-mode=onLight] .t-header_open{background:var(--tui-clear)}:host[data-size=s] .t-header{font:var(--tui-font-text-m);min-height:var(--tui-height-m);padding:.625rem .75rem .625rem 1rem}:host._no-padding .t-header{padding-left:0;padding-right:0}:host._disabled .t-header{cursor:default}.t-wrapper:hover:not([data-mode])>.t-header_hoverable{background:var(--tui-base-02)}.t-wrapper:hover[data-mode=onDark]>.t-header_hoverable{background:var(--tui-clear-inverse)}.t-wrapper:hover[data-mode=onLight]>.t-header_hoverable{background:var(--tui-clear)}.t-title{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-right:0;flex-grow:1}:host._has-arrow .t-title{margin-right:.5rem}.t-icon{transition-property:transform,color;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;width:1.5rem;height:1.5rem;margin-left:auto;color:var(--tui-base-06)}.t-icon_open{transform:rotate(180deg)}:host[data-mode] .t-icon{opacity:var(--tui-disabled-opacity)}:host:hover[data-mode] .t-icon{opacity:.8}:host[data-mode=onDark] .t-icon{color:var(--tui-text-01-night)}:host[data-mode=onLight] .t-icon{color:var(--tui-text-01)}:host:hover:not([data-mode]) .t-icon{color:var(--tui-base-07)}.t-content{font:var(--tui-font-text-m);padding:1.25rem;word-wrap:break-word}:host[data-size=s] .t-content{font:var(--tui-font-text-s);padding:1rem}\n"], components: [{ type: i1__namespace.TuiSvgComponent, selector: "tui-svg", inputs: ["src"] }, { type: i1__namespace.TuiExpandComponent, selector: "tui-expand", inputs: ["async", "expanded"] }], directives: [{ type: i2__namespace.TuiFocusableDirective, selector: "[tuiFocusable]", inputs: ["tuiFocusable"] }, { type: i2__namespace.TuiFocusedDirective, selector: "[tuiFocusedChange]", outputs: ["tuiFocusedChange"] }, { type: i2__namespace.TuiFocusVisibleDirective, selector: "[tuiFocusVisibleChange]", outputs: ["tuiFocusVisibleChange"] }, { type: i3__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i4__namespace.PolymorpheusOutletDirective, selector: "[polymorpheusOutlet]", inputs: ["polymorpheusOutlet", "polymorpheusOutletContext"] }, { type: i1__namespace.TuiExpandContentDirective, selector: "[tuiExpandContent]" }], changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush });
603
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiAccordionItemComponent, decorators: [{
604
+ type: i0.Component,
605
+ args: [{
606
+ selector: 'tui-accordion-item',
607
+ templateUrl: './accordion-item.template.html',
608
+ styleUrls: ['./accordion-item.style.less'],
609
+ changeDetection: i0.ChangeDetectionStrategy.OnPush,
610
+ providers: [i2.tuiAsFocusableItemAccessor(TuiAccordionItemComponent), i1.MODE_PROVIDER],
611
+ host: {
612
+ '($.data-mode.attr)': 'mode$',
613
+ },
614
+ }]
615
+ }], ctorParameters: function () {
616
+ return [{ type: i0__namespace.ChangeDetectorRef, decorators: [{
617
+ type: i0.Inject,
618
+ args: [i0.ChangeDetectorRef]
619
+ }] }, { type: i5__namespace.Observable, decorators: [{
620
+ type: i0.Inject,
621
+ args: [i1.TUI_MODE]
622
+ }] }, { type: undefined, decorators: [{
623
+ type: i0.Inject,
624
+ args: [arrow.TUI_ARROW_OPTIONS]
625
+ }] }];
626
+ }, propDecorators: { focusableElement: [{
627
+ type: i0.ViewChild,
628
+ args: ['focusableElement']
629
+ }], noPadding: [{
630
+ type: i0.Input
631
+ }, {
632
+ type: i0.HostBinding,
633
+ args: ['class._no-padding']
634
+ }], showArrow: [{
635
+ type: i0.Input
636
+ }, {
637
+ type: i0.HostBinding,
638
+ args: ['class._has-arrow']
639
+ }], borders: [{
640
+ type: i0.Input
641
+ }, {
642
+ type: i0.HostBinding,
643
+ args: ['attr.data-borders']
644
+ }], size: [{
645
+ type: i0.Input
646
+ }, {
647
+ type: i0.HostBinding,
648
+ args: ['attr.data-size']
649
+ }], disabled: [{
650
+ type: i0.Input
651
+ }, {
652
+ type: i0.HostBinding,
653
+ args: ['class._disabled']
654
+ }], disableHover: [{
655
+ type: i0.Input
656
+ }], open: [{
657
+ type: i0.Input
658
+ }], async: [{
659
+ type: i0.Input
660
+ }], openChange: [{
661
+ type: i0.Output
662
+ }], eagerContent: [{
663
+ type: i0.ContentChild,
664
+ args: [TuiAccordionItemEagerContentDirective]
665
+ }], lazyContent: [{
666
+ type: i0.ContentChild,
667
+ args: [TuiAccordionItemContentDirective]
668
+ }] } });
523
669
 
524
- var TuiAccordionComponent = /** @class */ (function () {
525
- function TuiAccordionComponent(destroy$) {
526
- this.destroy$ = destroy$;
527
- this.closeOthers = true;
528
- this.rounded = true;
529
- this.accordionItems = i2.EMPTY_QUERY;
530
- }
531
- TuiAccordionComponent.prototype.ngAfterContentInit = function () {
532
- var _this = this;
533
- var accordionItems = this.accordionItems;
534
- var rows$ = i2.tuiQueryListChanges(accordionItems);
535
- var newOpenRow$ = rows$.pipe(operators.pairwise(), operators.map(function (_a) {
536
- var _b = __read(_a, 2), previous = _b[0], current = _b[1];
537
- return current.find(function (item) { return !previous.includes(item) && item.open; });
538
- }), operators.filter(i2.tuiIsPresent));
539
- var rowsOpen$ = i5.merge(rows$.pipe(operators.switchMap(function (rows) { return i5.merge.apply(void 0, __spreadArray([], __read(rows.map(function (row) { return row.openChange.pipe(operators.filter(i5.identity), operators.map(function () { return row; })); })))); })), newOpenRow$).pipe(operators.filter(function () { return _this.closeOthers; }), operators.takeUntil(this.destroy$));
540
- rowsOpen$.subscribe(function (currentRow) {
541
- accordionItems.forEach(function (row) {
542
- if (currentRow !== row) {
543
- row.close();
544
- }
545
- });
546
- });
547
- };
548
- return TuiAccordionComponent;
549
- }());
550
- TuiAccordionComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiAccordionComponent, deps: [{ token: i2.TuiDestroyService, self: true }], target: i0__namespace.ɵɵFactoryTarget.Component });
551
- TuiAccordionComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: TuiAccordionComponent, selector: "tui-accordion", inputs: { closeOthers: "closeOthers", rounded: "rounded" }, providers: [i2.TuiDestroyService], queries: [{ propertyName: "accordionItems", predicate: TuiAccordionItemComponent }], ngImport: i0__namespace, template: "<!--TODO: Unnecessary nesting, probably accordion can be a directive-->\n<div\n automation-id=\"tui-accordion__group\"\n orientation=\"vertical\"\n size=\"l\"\n tuiGroup\n class=\"t-group\"\n [collapsed]=\"true\"\n [rounded]=\"rounded\"\n>\n <ng-content select=\"tui-accordion-item\"></ng-content>\n</div>\n", styles: [":host{display:block}.t-group{display:flex}\n"], directives: [{ type: i1__namespace.TuiGroupDirective, selector: "[tuiGroup]:not(ng-container)", inputs: ["orientation", "adaptive", "collapsed", "rounded", "size"] }], changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush });
552
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiAccordionComponent, decorators: [{
553
- type: i0.Component,
554
- args: [{
555
- selector: 'tui-accordion',
556
- templateUrl: './accordion.template.html',
557
- styleUrls: ['./accordion.style.less'],
558
- changeDetection: i0.ChangeDetectionStrategy.OnPush,
559
- providers: [i2.TuiDestroyService],
560
- }]
561
- }], ctorParameters: function () {
562
- return [{ type: i2__namespace.TuiDestroyService, decorators: [{
563
- type: i0.Self
564
- }, {
565
- type: i0.Inject,
566
- args: [i2.TuiDestroyService]
567
- }] }];
568
- }, propDecorators: { closeOthers: [{
569
- type: i0.Input
570
- }], rounded: [{
571
- type: i0.Input
572
- }], accordionItems: [{
573
- type: i0.ContentChildren,
574
- args: [TuiAccordionItemComponent]
575
- }] } });
670
+ var TuiAccordionComponent = /** @class */ (function () {
671
+ function TuiAccordionComponent(destroy$) {
672
+ this.destroy$ = destroy$;
673
+ this.closeOthers = true;
674
+ this.rounded = true;
675
+ this.accordionItems = i2.EMPTY_QUERY;
676
+ }
677
+ TuiAccordionComponent.prototype.ngAfterContentInit = function () {
678
+ var _this = this;
679
+ var accordionItems = this.accordionItems;
680
+ var rows$ = i2.tuiQueryListChanges(accordionItems);
681
+ var newOpenRow$ = rows$.pipe(operators.pairwise(), operators.map(function (_a) {
682
+ var _b = __read(_a, 2), previous = _b[0], current = _b[1];
683
+ return current.find(function (item) { return !previous.includes(item) && item.open; });
684
+ }), operators.filter(i2.tuiIsPresent));
685
+ var rowsOpen$ = i5.merge(rows$.pipe(operators.switchMap(function (rows) { return i5.merge.apply(void 0, __spreadArray([], __read(rows.map(function (row) { return row.openChange.pipe(operators.filter(i5.identity), operators.map(function () { return row; })); })))); })), newOpenRow$).pipe(operators.filter(function () { return _this.closeOthers; }), operators.takeUntil(this.destroy$));
686
+ rowsOpen$.subscribe(function (currentRow) {
687
+ accordionItems.forEach(function (row) {
688
+ if (currentRow !== row) {
689
+ row.close();
690
+ }
691
+ });
692
+ });
693
+ };
694
+ return TuiAccordionComponent;
695
+ }());
696
+ TuiAccordionComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiAccordionComponent, deps: [{ token: i2.TuiDestroyService, self: true }], target: i0__namespace.ɵɵFactoryTarget.Component });
697
+ TuiAccordionComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: TuiAccordionComponent, selector: "tui-accordion", inputs: { closeOthers: "closeOthers", rounded: "rounded" }, providers: [i2.TuiDestroyService], queries: [{ propertyName: "accordionItems", predicate: TuiAccordionItemComponent }], ngImport: i0__namespace, template: "<!--TODO: Unnecessary nesting, probably accordion can be a directive-->\n<div\n automation-id=\"tui-accordion__group\"\n orientation=\"vertical\"\n size=\"l\"\n tuiGroup\n class=\"t-group\"\n [collapsed]=\"true\"\n [rounded]=\"rounded\"\n>\n <ng-content select=\"tui-accordion-item\"></ng-content>\n</div>\n", styles: [":host{display:block}.t-group{display:flex}\n"], directives: [{ type: i1__namespace.TuiGroupDirective, selector: "[tuiGroup]:not(ng-container)", inputs: ["orientation", "adaptive", "collapsed", "rounded", "size"] }], changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush });
698
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiAccordionComponent, decorators: [{
699
+ type: i0.Component,
700
+ args: [{
701
+ selector: 'tui-accordion',
702
+ templateUrl: './accordion.template.html',
703
+ styleUrls: ['./accordion.style.less'],
704
+ changeDetection: i0.ChangeDetectionStrategy.OnPush,
705
+ providers: [i2.TuiDestroyService],
706
+ }]
707
+ }], ctorParameters: function () {
708
+ return [{ type: i2__namespace.TuiDestroyService, decorators: [{
709
+ type: i0.Self
710
+ }, {
711
+ type: i0.Inject,
712
+ args: [i2.TuiDestroyService]
713
+ }] }];
714
+ }, propDecorators: { closeOthers: [{
715
+ type: i0.Input
716
+ }], rounded: [{
717
+ type: i0.Input
718
+ }], accordionItems: [{
719
+ type: i0.ContentChildren,
720
+ args: [TuiAccordionItemComponent]
721
+ }] } });
576
722
 
577
- var TuiAccordionModule = /** @class */ (function () {
578
- function TuiAccordionModule() {
579
- }
580
- return TuiAccordionModule;
581
- }());
582
- TuiAccordionModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiAccordionModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
583
- TuiAccordionModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiAccordionModule, declarations: [TuiAccordionComponent,
584
- TuiAccordionItemComponent,
585
- TuiAccordionItemContentDirective,
586
- TuiAccordionItemEagerContentDirective], imports: [i3.CommonModule,
587
- i2.TuiFocusedModule,
588
- i2.TuiFocusVisibleModule,
589
- i2.TuiFocusableModule,
590
- i4.PolymorpheusModule,
591
- i1.TuiSvgModule,
592
- i1.TuiGroupModule,
593
- i1.TuiExpandModule], exports: [TuiAccordionComponent,
594
- TuiAccordionItemComponent,
595
- TuiAccordionItemContentDirective,
596
- TuiAccordionItemEagerContentDirective] });
597
- TuiAccordionModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiAccordionModule, imports: [[
598
- i3.CommonModule,
599
- i2.TuiFocusedModule,
600
- i2.TuiFocusVisibleModule,
601
- i2.TuiFocusableModule,
602
- i4.PolymorpheusModule,
603
- i1.TuiSvgModule,
604
- i1.TuiGroupModule,
605
- i1.TuiExpandModule,
606
- ]] });
607
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiAccordionModule, decorators: [{
608
- type: i0.NgModule,
609
- args: [{
610
- imports: [
611
- i3.CommonModule,
612
- i2.TuiFocusedModule,
613
- i2.TuiFocusVisibleModule,
614
- i2.TuiFocusableModule,
615
- i4.PolymorpheusModule,
616
- i1.TuiSvgModule,
617
- i1.TuiGroupModule,
618
- i1.TuiExpandModule,
619
- ],
620
- declarations: [
621
- TuiAccordionComponent,
622
- TuiAccordionItemComponent,
623
- TuiAccordionItemContentDirective,
624
- TuiAccordionItemEagerContentDirective,
625
- ],
626
- exports: [
627
- TuiAccordionComponent,
628
- TuiAccordionItemComponent,
629
- TuiAccordionItemContentDirective,
630
- TuiAccordionItemEagerContentDirective,
631
- ],
632
- }]
633
- }] });
723
+ var TuiAccordionModule = /** @class */ (function () {
724
+ function TuiAccordionModule() {
725
+ }
726
+ return TuiAccordionModule;
727
+ }());
728
+ TuiAccordionModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiAccordionModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
729
+ TuiAccordionModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiAccordionModule, declarations: [TuiAccordionComponent,
730
+ TuiAccordionItemComponent,
731
+ TuiAccordionItemContentDirective,
732
+ TuiAccordionItemEagerContentDirective], imports: [i3.CommonModule,
733
+ i2.TuiFocusedModule,
734
+ i2.TuiFocusVisibleModule,
735
+ i2.TuiFocusableModule,
736
+ i4.PolymorpheusModule,
737
+ i1.TuiSvgModule,
738
+ i1.TuiGroupModule,
739
+ i1.TuiExpandModule], exports: [TuiAccordionComponent,
740
+ TuiAccordionItemComponent,
741
+ TuiAccordionItemContentDirective,
742
+ TuiAccordionItemEagerContentDirective] });
743
+ TuiAccordionModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiAccordionModule, imports: [[
744
+ i3.CommonModule,
745
+ i2.TuiFocusedModule,
746
+ i2.TuiFocusVisibleModule,
747
+ i2.TuiFocusableModule,
748
+ i4.PolymorpheusModule,
749
+ i1.TuiSvgModule,
750
+ i1.TuiGroupModule,
751
+ i1.TuiExpandModule,
752
+ ]] });
753
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiAccordionModule, decorators: [{
754
+ type: i0.NgModule,
755
+ args: [{
756
+ imports: [
757
+ i3.CommonModule,
758
+ i2.TuiFocusedModule,
759
+ i2.TuiFocusVisibleModule,
760
+ i2.TuiFocusableModule,
761
+ i4.PolymorpheusModule,
762
+ i1.TuiSvgModule,
763
+ i1.TuiGroupModule,
764
+ i1.TuiExpandModule,
765
+ ],
766
+ declarations: [
767
+ TuiAccordionComponent,
768
+ TuiAccordionItemComponent,
769
+ TuiAccordionItemContentDirective,
770
+ TuiAccordionItemEagerContentDirective,
771
+ ],
772
+ exports: [
773
+ TuiAccordionComponent,
774
+ TuiAccordionItemComponent,
775
+ TuiAccordionItemContentDirective,
776
+ TuiAccordionItemEagerContentDirective,
777
+ ],
778
+ }]
779
+ }] });
634
780
 
635
- /**
636
- * Generated bundle index. Do not edit.
637
- */
781
+ /**
782
+ * Generated bundle index. Do not edit.
783
+ */
638
784
 
639
- exports.TuiAccordionComponent = TuiAccordionComponent;
640
- exports.TuiAccordionItemComponent = TuiAccordionItemComponent;
641
- exports.TuiAccordionItemContentDirective = TuiAccordionItemContentDirective;
642
- exports.TuiAccordionItemEagerContentDirective = TuiAccordionItemEagerContentDirective;
643
- exports.TuiAccordionModule = TuiAccordionModule;
785
+ exports.TuiAccordionComponent = TuiAccordionComponent;
786
+ exports.TuiAccordionItemComponent = TuiAccordionItemComponent;
787
+ exports.TuiAccordionItemContentDirective = TuiAccordionItemContentDirective;
788
+ exports.TuiAccordionItemEagerContentDirective = TuiAccordionItemEagerContentDirective;
789
+ exports.TuiAccordionModule = TuiAccordionModule;
644
790
 
645
- Object.defineProperty(exports, '__esModule', { value: true });
791
+ Object.defineProperty(exports, '__esModule', { value: true });
646
792
 
647
793
  }));
648
794
  //# sourceMappingURL=taiga-ui-kit-components-accordion.umd.js.map