@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,485 +1,152 @@
1
1
  (function (global, factory) {
2
- typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('@taiga-ui/cdk'), require('@angular/common')) :
3
- typeof define === 'function' && define.amd ? define('@taiga-ui/core/components/group', ['exports', '@angular/core', '@taiga-ui/cdk', '@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.group = {}), global.ng.core, global.i1, global.ng.common));
2
+ typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('@taiga-ui/cdk'), require('@angular/common')) :
3
+ typeof define === 'function' && define.amd ? define('@taiga-ui/core/components/group', ['exports', '@angular/core', '@taiga-ui/cdk', '@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.group = {}), global.ng.core, global.i1, global.ng.common));
5
5
  })(this, (function (exports, i0, i1, common) { '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
24
 
28
- /*! *****************************************************************************
29
- Copyright (c) Microsoft Corporation.
25
+ var i0__namespace = /*#__PURE__*/_interopNamespace(i0);
26
+ var i1__namespace = /*#__PURE__*/_interopNamespace(i1);
30
27
 
31
- Permission to use, copy, modify, and/or distribute this software for any
32
- purpose with or without fee is hereby granted.
33
-
34
- THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
35
- REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
36
- AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
37
- INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
38
- LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
39
- OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
40
- PERFORMANCE OF THIS SOFTWARE.
41
- ***************************************************************************** */
42
- /* global Reflect, Promise */
43
- var extendStatics = function (d, b) {
44
- extendStatics = Object.setPrototypeOf ||
45
- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
46
- function (d, b) { for (var p in b)
47
- if (Object.prototype.hasOwnProperty.call(b, p))
48
- d[p] = b[p]; };
49
- return extendStatics(d, b);
50
- };
51
- function __extends(d, b) {
52
- if (typeof b !== "function" && b !== null)
53
- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
54
- extendStatics(d, b);
55
- function __() { this.constructor = d; }
56
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
57
- }
58
- var __assign = function () {
59
- __assign = Object.assign || function __assign(t) {
60
- for (var s, i = 1, n = arguments.length; i < n; i++) {
61
- s = arguments[i];
62
- for (var p in s)
63
- if (Object.prototype.hasOwnProperty.call(s, p))
64
- t[p] = s[p];
65
- }
66
- return t;
67
- };
68
- return __assign.apply(this, arguments);
69
- };
70
- function __rest(s, e) {
71
- var t = {};
72
- for (var p in s)
73
- if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
74
- t[p] = s[p];
75
- if (s != null && typeof Object.getOwnPropertySymbols === "function")
76
- for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
77
- if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
78
- t[p[i]] = s[p[i]];
79
- }
80
- return t;
81
- }
82
- function __decorate(decorators, target, key, desc) {
83
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
84
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
85
- r = Reflect.decorate(decorators, target, key, desc);
86
- else
87
- for (var i = decorators.length - 1; i >= 0; i--)
88
- if (d = decorators[i])
89
- r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
90
- return c > 3 && r && Object.defineProperty(target, key, r), r;
91
- }
92
- function __param(paramIndex, decorator) {
93
- return function (target, key) { decorator(target, key, paramIndex); };
94
- }
95
- function __metadata(metadataKey, metadataValue) {
96
- if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
97
- return Reflect.metadata(metadataKey, metadataValue);
98
- }
99
- function __awaiter(thisArg, _arguments, P, generator) {
100
- function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
101
- return new (P || (P = Promise))(function (resolve, reject) {
102
- function fulfilled(value) { try {
103
- step(generator.next(value));
104
- }
105
- catch (e) {
106
- reject(e);
107
- } }
108
- function rejected(value) { try {
109
- step(generator["throw"](value));
110
- }
111
- catch (e) {
112
- reject(e);
113
- } }
114
- function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
115
- step((generator = generator.apply(thisArg, _arguments || [])).next());
116
- });
117
- }
118
- function __generator(thisArg, body) {
119
- var _ = { label: 0, sent: function () { if (t[0] & 1)
120
- throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
121
- return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function () { return this; }), g;
122
- function verb(n) { return function (v) { return step([n, v]); }; }
123
- function step(op) {
124
- if (f)
125
- throw new TypeError("Generator is already executing.");
126
- while (_)
127
- try {
128
- 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)
129
- return t;
130
- if (y = 0, t)
131
- op = [op[0] & 2, t.value];
132
- switch (op[0]) {
133
- case 0:
134
- case 1:
135
- t = op;
136
- break;
137
- case 4:
138
- _.label++;
139
- return { value: op[1], done: false };
140
- case 5:
141
- _.label++;
142
- y = op[1];
143
- op = [0];
144
- continue;
145
- case 7:
146
- op = _.ops.pop();
147
- _.trys.pop();
148
- continue;
149
- default:
150
- if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) {
151
- _ = 0;
152
- continue;
153
- }
154
- if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) {
155
- _.label = op[1];
156
- break;
157
- }
158
- if (op[0] === 6 && _.label < t[1]) {
159
- _.label = t[1];
160
- t = op;
161
- break;
162
- }
163
- if (t && _.label < t[2]) {
164
- _.label = t[2];
165
- _.ops.push(op);
166
- break;
167
- }
168
- if (t[2])
169
- _.ops.pop();
170
- _.trys.pop();
171
- continue;
172
- }
173
- op = body.call(thisArg, _);
174
- }
175
- catch (e) {
176
- op = [6, e];
177
- y = 0;
178
- }
179
- finally {
180
- f = t = 0;
181
- }
182
- if (op[0] & 5)
183
- throw op[1];
184
- return { value: op[0] ? op[1] : void 0, done: true };
185
- }
186
- }
187
- var __createBinding = Object.create ? (function (o, m, k, k2) {
188
- if (k2 === undefined)
189
- k2 = k;
190
- Object.defineProperty(o, k2, { enumerable: true, get: function () { return m[k]; } });
191
- }) : (function (o, m, k, k2) {
192
- if (k2 === undefined)
193
- k2 = k;
194
- o[k2] = m[k];
195
- });
196
- function __exportStar(m, o) {
197
- for (var p in m)
198
- if (p !== "default" && !Object.prototype.hasOwnProperty.call(o, p))
199
- __createBinding(o, m, p);
200
- }
201
- function __values(o) {
202
- var s = typeof Symbol === "function" && Symbol.iterator, m = s && o[s], i = 0;
203
- if (m)
204
- return m.call(o);
205
- if (o && typeof o.length === "number")
206
- return {
207
- next: function () {
208
- if (o && i >= o.length)
209
- o = void 0;
210
- return { value: o && o[i++], done: !o };
211
- }
212
- };
213
- throw new TypeError(s ? "Object is not iterable." : "Symbol.iterator is not defined.");
214
- }
215
- function __read(o, n) {
216
- var m = typeof Symbol === "function" && o[Symbol.iterator];
217
- if (!m)
218
- return o;
219
- var i = m.call(o), r, ar = [], e;
220
- try {
221
- while ((n === void 0 || n-- > 0) && !(r = i.next()).done)
222
- ar.push(r.value);
223
- }
224
- catch (error) {
225
- e = { error: error };
226
- }
227
- finally {
228
- try {
229
- if (r && !r.done && (m = i["return"]))
230
- m.call(i);
231
- }
232
- finally {
233
- if (e)
234
- throw e.error;
28
+ var TuiGroupStylesComponent = /** @class */ (function () {
29
+ function TuiGroupStylesComponent() {
235
30
  }
236
- }
237
- return ar;
238
- }
239
- /** @deprecated */
240
- function __spread() {
241
- for (var ar = [], i = 0; i < arguments.length; i++)
242
- ar = ar.concat(__read(arguments[i]));
243
- return ar;
244
- }
245
- /** @deprecated */
246
- function __spreadArrays() {
247
- for (var s = 0, i = 0, il = arguments.length; i < il; i++)
248
- s += arguments[i].length;
249
- for (var r = Array(s), k = 0, i = 0; i < il; i++)
250
- for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)
251
- r[k] = a[j];
252
- return r;
253
- }
254
- function __spreadArray(to, from, pack) {
255
- if (pack || arguments.length === 2)
256
- for (var i = 0, l = from.length, ar; i < l; i++) {
257
- if (ar || !(i in from)) {
258
- if (!ar)
259
- ar = Array.prototype.slice.call(from, 0, i);
260
- ar[i] = from[i];
261
- }
262
- }
263
- return to.concat(ar || from);
264
- }
265
- function __await(v) {
266
- return this instanceof __await ? (this.v = v, this) : new __await(v);
267
- }
268
- function __asyncGenerator(thisArg, _arguments, generator) {
269
- if (!Symbol.asyncIterator)
270
- throw new TypeError("Symbol.asyncIterator is not defined.");
271
- var g = generator.apply(thisArg, _arguments || []), i, q = [];
272
- return i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i;
273
- function verb(n) { if (g[n])
274
- i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }
275
- function resume(n, v) { try {
276
- step(g[n](v));
277
- }
278
- catch (e) {
279
- settle(q[0][3], e);
280
- } }
281
- function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }
282
- function fulfill(value) { resume("next", value); }
283
- function reject(value) { resume("throw", value); }
284
- function settle(f, v) { if (f(v), q.shift(), q.length)
285
- resume(q[0][0], q[0][1]); }
286
- }
287
- function __asyncDelegator(o) {
288
- var i, p;
289
- return i = {}, verb("next"), verb("throw", function (e) { throw e; }), verb("return"), i[Symbol.iterator] = function () { return this; }, i;
290
- 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; }
291
- }
292
- function __asyncValues(o) {
293
- if (!Symbol.asyncIterator)
294
- throw new TypeError("Symbol.asyncIterator is not defined.");
295
- var m = o[Symbol.asyncIterator], i;
296
- 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);
297
- 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); }); }; }
298
- function settle(resolve, reject, d, v) { Promise.resolve(v).then(function (v) { resolve({ value: v, done: d }); }, reject); }
299
- }
300
- function __makeTemplateObject(cooked, raw) {
301
- if (Object.defineProperty) {
302
- Object.defineProperty(cooked, "raw", { value: raw });
303
- }
304
- else {
305
- cooked.raw = raw;
306
- }
307
- return cooked;
308
- }
309
- ;
310
- var __setModuleDefault = Object.create ? (function (o, v) {
311
- Object.defineProperty(o, "default", { enumerable: true, value: v });
312
- }) : function (o, v) {
313
- o["default"] = v;
314
- };
315
- function __importStar(mod) {
316
- if (mod && mod.__esModule)
317
- return mod;
318
- var result = {};
319
- if (mod != null)
320
- for (var k in mod)
321
- if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k))
322
- __createBinding(result, mod, k);
323
- __setModuleDefault(result, mod);
324
- return result;
325
- }
326
- function __importDefault(mod) {
327
- return (mod && mod.__esModule) ? mod : { default: mod };
328
- }
329
- function __classPrivateFieldGet(receiver, state, kind, f) {
330
- if (kind === "a" && !f)
331
- throw new TypeError("Private accessor was defined without a getter");
332
- if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver))
333
- throw new TypeError("Cannot read private member from an object whose class did not declare it");
334
- return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
335
- }
336
- function __classPrivateFieldSet(receiver, state, value, kind, f) {
337
- if (kind === "m")
338
- throw new TypeError("Private method is not writable");
339
- if (kind === "a" && !f)
340
- throw new TypeError("Private accessor was defined without a setter");
341
- if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver))
342
- throw new TypeError("Cannot write private member to an object whose class did not declare it");
343
- return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
344
- }
345
-
346
- var TuiGroupStylesComponent = /** @class */ (function () {
347
- function TuiGroupStylesComponent() {
348
- }
349
- return TuiGroupStylesComponent;
350
- }());
351
- TuiGroupStylesComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiGroupStylesComponent, deps: [], target: i0__namespace.ɵɵFactoryTarget.Component });
352
- TuiGroupStylesComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: TuiGroupStylesComponent, selector: "tui-group-style", ngImport: i0__namespace, template: '', isInline: true, styles: [".tui-group{position:relative;z-index:0;display:flex}.tui-group>*{flex:1 1 0;min-width:0}.tui-group>*:nth-child(n){border-radius:0}.tui-group>*:not(:last-child){margin-right:.125rem}.tui-group_collapsed>*{z-index:1}.tui-group_collapsed>*:not(:last-child){margin-right:-1px}.tui-group_collapsed>*._readonly,.tui-group_collapsed>*._disabled,.tui-group_collapsed>*._readonly:hover,.tui-group_collapsed>*._disabled:hover{z-index:0}.tui-group_collapsed>*:hover,.tui-group_collapsed>*._hovered,.tui-group_collapsed>*._pressed{z-index:3}.tui-group_collapsed>*._invalid{z-index:2}.tui-group_collapsed>*._invalid:hover,.tui-group_collapsed>*._invalid._hovered,.tui-group_collapsed>*._invalid._pressed{z-index:4}.tui-group_collapsed>*._hosted_dropdown_focused,.tui-group_collapsed>*._focus-visible,.tui-group_collapsed>*._focused.ng-touched,.tui-group_collapsed>*._focused.ng-untouched{z-index:5}.tui-group_collapsed>*._active,.tui-group_collapsed>*[data-appearance=whiteblock-active]{z-index:6}.tui-group_collapsed>*._focus-visible._focused,.tui-group_collapsed>*._focus-visible._active,.tui-group_collapsed>*._focus-visible[data-appearance=whiteblock-active]{z-index:7}.tui-group_orientation_vertical{display:inline-flex;flex-direction:column}.tui-group_orientation_vertical>*{min-height:auto;flex:0 0 auto}.tui-group_orientation_vertical>*:not(:last-child){margin-right:0;margin-bottom:.125rem}.tui-group_orientation_vertical.tui-group_collapsed>*:not(:last-child){margin-right:0;margin-bottom:-1px}.tui-group_rounded.tui-group_orientation_horizontal>*:first-child{border-top-left-radius:var(--tui-radius-m);border-bottom-left-radius:var(--tui-radius-m)}.tui-group_rounded.tui-group_orientation_horizontal>*:last-child{border-top-right-radius:var(--tui-radius-m);border-bottom-right-radius:var(--tui-radius-m)}.tui-group_rounded.tui-group_orientation_horizontal.tui-group_radius_large>*:first-child{border-top-left-radius:var(--tui-radius-l);border-bottom-left-radius:var(--tui-radius-l)}.tui-group_rounded.tui-group_orientation_horizontal.tui-group_radius_large>*:last-child{border-top-right-radius:var(--tui-radius-l);border-bottom-right-radius:var(--tui-radius-l)}.tui-group_rounded.tui-group_orientation_vertical>*:first-child{border-top-left-radius:var(--tui-radius-m);border-top-right-radius:var(--tui-radius-m)}.tui-group_rounded.tui-group_orientation_vertical>*:last-child{border-bottom-left-radius:var(--tui-radius-m);border-bottom-right-radius:var(--tui-radius-m)}.tui-group_rounded.tui-group_orientation_vertical.tui-group_radius_large>*:first-child{border-top-left-radius:var(--tui-radius-l);border-top-right-radius:var(--tui-radius-l)}.tui-group_rounded.tui-group_orientation_vertical.tui-group_radius_large>*:last-child{border-bottom-left-radius:var(--tui-radius-l);border-bottom-right-radius:var(--tui-radius-l)}@media screen and (max-width: 47.9625em){.tui-group_rounded.tui-group_adaptive.tui-group_orientation_vertical:not(.tui-group_collapsed)>*:first-child:not(:last-child),.tui-group_rounded.tui-group_adaptive.tui-group_orientation_horizontal>*:first-child:not(:last-child),.tui-group_rounded.tui-group_adaptive.tui-group_orientation_vertical:not(.tui-group_collapsed)>*:last-child:not(:first-child),.tui-group_rounded.tui-group_adaptive.tui-group_orientation_horizontal>*:last-child:not(:first-child){border-radius:var(--tui-radius-m)}}@media screen and (max-width: 47.9625em){.tui-group_rounded.tui-group_adaptive.tui-group_radius_large.tui-group_orientation_vertical:not(.tui-group_collapsed)>*:first-child:not(:last-child),.tui-group_rounded.tui-group_adaptive.tui-group_radius_large.tui-group_orientation_horizontal>*:first-child:not(:last-child),.tui-group_rounded.tui-group_adaptive.tui-group_radius_large.tui-group_orientation_vertical:not(.tui-group_collapsed)>*:last-child:not(:first-child),.tui-group_rounded.tui-group_adaptive.tui-group_radius_large.tui-group_orientation_horizontal>*:last-child:not(:first-child){border-radius:var(--tui-radius-l)}}@media screen and (max-width: 47.9625em){.tui-group_adaptive.tui-group_orientation_vertical{width:100%}.tui-group_adaptive.tui-group_orientation_vertical>*:nth-child(n):not(:only-child){border-radius:var(--tui-radius-m)}.tui-group_adaptive.tui-group_orientation_vertical>*:not(:last-child){margin-bottom:1rem}.tui-group_adaptive.tui-group_orientation_vertical.tui-group_collapsed>*:nth-child(n):not(:only-child){border-radius:0}.tui-group_adaptive.tui-group_orientation_vertical.tui-group_collapsed>*:first-child:not(:last-child){border-radius:var(--tui-radius-m) var(--tui-radius-m) 0 0}.tui-group_adaptive.tui-group_orientation_vertical.tui-group_collapsed>*:last-child:not(:first-child){border-radius:0 0 var(--tui-radius-m) var(--tui-radius-m)}.tui-group_adaptive.tui-group_orientation_vertical.tui-group_collapsed>*:not(:last-child){margin-bottom:-1px}}@media screen and (max-width: 47.9625em){.tui-group_adaptive.tui-group_orientation_horizontal{flex-direction:column;width:100%}.tui-group_adaptive.tui-group_orientation_horizontal>*:nth-child(n):not(:only-child){border-radius:var(--tui-radius-m)}.tui-group_adaptive.tui-group_orientation_horizontal>*:not(:last-child){margin-right:0;margin-bottom:1rem}.tui-group_adaptive.tui-group_orientation_horizontal.tui-group_collapsed>*:nth-child(n):not(:only-child){border-radius:0}.tui-group_adaptive.tui-group_orientation_horizontal.tui-group_collapsed>*:first-child:not(:last-child){border-radius:var(--tui-radius-m) var(--tui-radius-m) 0 0}.tui-group_adaptive.tui-group_orientation_horizontal.tui-group_collapsed>*:last-child:not(:first-child){border-radius:0 0 var(--tui-radius-m) var(--tui-radius-m)}.tui-group_adaptive.tui-group_orientation_horizontal.tui-group_collapsed>*:not(:last-child){margin-right:0;margin-bottom:-1px}}@media screen and (max-width: 47.9625em){.tui-group_adaptive.tui-group_radius_large.tui-group_orientation_vertical>*:nth-child(n):not(:only-child){border-radius:var(--tui-radius-l)}.tui-group_adaptive.tui-group_radius_large.tui-group_orientation_vertical.tui-group_collapsed>*:nth-child(n):not(:only-child){border-radius:0}.tui-group_adaptive.tui-group_radius_large.tui-group_orientation_vertical.tui-group_collapsed>*:first-child:not(:last-child){border-radius:var(--tui-radius-l) var(--tui-radius-l) 0 0}.tui-group_adaptive.tui-group_radius_large.tui-group_orientation_vertical.tui-group_collapsed>*:last-child:not(:first-child){border-radius:0 0 var(--tui-radius-l) var(--tui-radius-l)}}@media screen and (max-width: 47.9625em){.tui-group_adaptive.tui-group_radius_large.tui-group_orientation_horizontal>*:nth-child(n):not(:only-child){border-radius:var(--tui-radius-l)}.tui-group_adaptive.tui-group_radius_large.tui-group_orientation_horizontal.tui-group_collapsed>*:nth-child(n):not(:only-child){border-radius:0}.tui-group_adaptive.tui-group_radius_large.tui-group_orientation_horizontal.tui-group_collapsed>*:first-child:not(:last-child){border-radius:var(--tui-radius-l) var(--tui-radius-l) 0 0}.tui-group_adaptive.tui-group_radius_large.tui-group_orientation_horizontal.tui-group_collapsed>*:last-child:not(:first-child){border-radius:0 0 var(--tui-radius-l) var(--tui-radius-l)}}.tui-group__auto-width-item{min-width:auto;flex:0 0 auto}.tui-group .tui-group__inherit-item{border-radius:inherit}\n"], changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush, encapsulation: i0__namespace.ViewEncapsulation.None });
353
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiGroupStylesComponent, decorators: [{
354
- type: i0.Component,
355
- args: [{
356
- selector: 'tui-group-style',
357
- template: '',
358
- styleUrls: ['./group.style.less'],
359
- encapsulation: i0.ViewEncapsulation.None,
360
- changeDetection: i0.ChangeDetectionStrategy.OnPush,
361
- }]
362
- }] });
31
+ return TuiGroupStylesComponent;
32
+ }());
33
+ TuiGroupStylesComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiGroupStylesComponent, deps: [], target: i0__namespace.ɵɵFactoryTarget.Component });
34
+ TuiGroupStylesComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: TuiGroupStylesComponent, selector: "tui-group-style", ngImport: i0__namespace, template: '', isInline: true, styles: [".tui-group{position:relative;z-index:0;display:flex}.tui-group>*{flex:1 1 0;min-width:0}.tui-group>*:nth-child(n){border-radius:0}.tui-group>*:not(:last-child){margin-right:.125rem}.tui-group_collapsed>*{z-index:1}.tui-group_collapsed>*:not(:last-child){margin-right:-1px}.tui-group_collapsed>*._readonly,.tui-group_collapsed>*._disabled,.tui-group_collapsed>*._readonly:hover,.tui-group_collapsed>*._disabled:hover{z-index:0}.tui-group_collapsed>*:hover,.tui-group_collapsed>*._hovered,.tui-group_collapsed>*._pressed{z-index:3}.tui-group_collapsed>*._invalid{z-index:2}.tui-group_collapsed>*._invalid:hover,.tui-group_collapsed>*._invalid._hovered,.tui-group_collapsed>*._invalid._pressed{z-index:4}.tui-group_collapsed>*._hosted_dropdown_focused,.tui-group_collapsed>*._focus-visible,.tui-group_collapsed>*._focused.ng-touched,.tui-group_collapsed>*._focused.ng-untouched{z-index:5}.tui-group_collapsed>*._active,.tui-group_collapsed>*[data-appearance=whiteblock-active]{z-index:6}.tui-group_collapsed>*._focus-visible._focused,.tui-group_collapsed>*._focus-visible._active,.tui-group_collapsed>*._focus-visible[data-appearance=whiteblock-active]{z-index:7}.tui-group_orientation_vertical{display:inline-flex;flex-direction:column}.tui-group_orientation_vertical>*{min-height:auto;flex:0 0 auto}.tui-group_orientation_vertical>*:not(:last-child){margin-right:0;margin-bottom:.125rem}.tui-group_orientation_vertical.tui-group_collapsed>*:not(:last-child){margin-right:0;margin-bottom:-1px}.tui-group_rounded.tui-group_orientation_horizontal>*:first-child{border-top-left-radius:var(--tui-radius-m);border-bottom-left-radius:var(--tui-radius-m)}.tui-group_rounded.tui-group_orientation_horizontal>*:last-child{border-top-right-radius:var(--tui-radius-m);border-bottom-right-radius:var(--tui-radius-m)}.tui-group_rounded.tui-group_orientation_horizontal.tui-group_radius_large>*:first-child{border-top-left-radius:var(--tui-radius-l);border-bottom-left-radius:var(--tui-radius-l)}.tui-group_rounded.tui-group_orientation_horizontal.tui-group_radius_large>*:last-child{border-top-right-radius:var(--tui-radius-l);border-bottom-right-radius:var(--tui-radius-l)}.tui-group_rounded.tui-group_orientation_vertical>*:first-child{border-top-left-radius:var(--tui-radius-m);border-top-right-radius:var(--tui-radius-m)}.tui-group_rounded.tui-group_orientation_vertical>*:last-child{border-bottom-left-radius:var(--tui-radius-m);border-bottom-right-radius:var(--tui-radius-m)}.tui-group_rounded.tui-group_orientation_vertical.tui-group_radius_large>*:first-child{border-top-left-radius:var(--tui-radius-l);border-top-right-radius:var(--tui-radius-l)}.tui-group_rounded.tui-group_orientation_vertical.tui-group_radius_large>*:last-child{border-bottom-left-radius:var(--tui-radius-l);border-bottom-right-radius:var(--tui-radius-l)}@media screen and (max-width: 47.9625em){.tui-group_rounded.tui-group_adaptive.tui-group_orientation_vertical:not(.tui-group_collapsed)>*:first-child:not(:last-child),.tui-group_rounded.tui-group_adaptive.tui-group_orientation_horizontal>*:first-child:not(:last-child),.tui-group_rounded.tui-group_adaptive.tui-group_orientation_vertical:not(.tui-group_collapsed)>*:last-child:not(:first-child),.tui-group_rounded.tui-group_adaptive.tui-group_orientation_horizontal>*:last-child:not(:first-child){border-radius:var(--tui-radius-m)}}@media screen and (max-width: 47.9625em){.tui-group_rounded.tui-group_adaptive.tui-group_radius_large.tui-group_orientation_vertical:not(.tui-group_collapsed)>*:first-child:not(:last-child),.tui-group_rounded.tui-group_adaptive.tui-group_radius_large.tui-group_orientation_horizontal>*:first-child:not(:last-child),.tui-group_rounded.tui-group_adaptive.tui-group_radius_large.tui-group_orientation_vertical:not(.tui-group_collapsed)>*:last-child:not(:first-child),.tui-group_rounded.tui-group_adaptive.tui-group_radius_large.tui-group_orientation_horizontal>*:last-child:not(:first-child){border-radius:var(--tui-radius-l)}}@media screen and (max-width: 47.9625em){.tui-group_adaptive.tui-group_orientation_vertical{width:100%}.tui-group_adaptive.tui-group_orientation_vertical>*:nth-child(n):not(:only-child){border-radius:var(--tui-radius-m)}.tui-group_adaptive.tui-group_orientation_vertical>*:not(:last-child){margin-bottom:1rem}.tui-group_adaptive.tui-group_orientation_vertical.tui-group_collapsed>*:nth-child(n):not(:only-child){border-radius:0}.tui-group_adaptive.tui-group_orientation_vertical.tui-group_collapsed>*:first-child:not(:last-child){border-radius:var(--tui-radius-m) var(--tui-radius-m) 0 0}.tui-group_adaptive.tui-group_orientation_vertical.tui-group_collapsed>*:last-child:not(:first-child){border-radius:0 0 var(--tui-radius-m) var(--tui-radius-m)}.tui-group_adaptive.tui-group_orientation_vertical.tui-group_collapsed>*:not(:last-child){margin-bottom:-1px}}@media screen and (max-width: 47.9625em){.tui-group_adaptive.tui-group_orientation_horizontal{flex-direction:column;width:100%}.tui-group_adaptive.tui-group_orientation_horizontal>*:nth-child(n):not(:only-child){border-radius:var(--tui-radius-m)}.tui-group_adaptive.tui-group_orientation_horizontal>*:not(:last-child){margin-right:0;margin-bottom:1rem}.tui-group_adaptive.tui-group_orientation_horizontal.tui-group_collapsed>*:nth-child(n):not(:only-child){border-radius:0}.tui-group_adaptive.tui-group_orientation_horizontal.tui-group_collapsed>*:first-child:not(:last-child){border-radius:var(--tui-radius-m) var(--tui-radius-m) 0 0}.tui-group_adaptive.tui-group_orientation_horizontal.tui-group_collapsed>*:last-child:not(:first-child){border-radius:0 0 var(--tui-radius-m) var(--tui-radius-m)}.tui-group_adaptive.tui-group_orientation_horizontal.tui-group_collapsed>*:not(:last-child){margin-right:0;margin-bottom:-1px}}@media screen and (max-width: 47.9625em){.tui-group_adaptive.tui-group_radius_large.tui-group_orientation_vertical>*:nth-child(n):not(:only-child){border-radius:var(--tui-radius-l)}.tui-group_adaptive.tui-group_radius_large.tui-group_orientation_vertical.tui-group_collapsed>*:nth-child(n):not(:only-child){border-radius:0}.tui-group_adaptive.tui-group_radius_large.tui-group_orientation_vertical.tui-group_collapsed>*:first-child:not(:last-child){border-radius:var(--tui-radius-l) var(--tui-radius-l) 0 0}.tui-group_adaptive.tui-group_radius_large.tui-group_orientation_vertical.tui-group_collapsed>*:last-child:not(:first-child){border-radius:0 0 var(--tui-radius-l) var(--tui-radius-l)}}@media screen and (max-width: 47.9625em){.tui-group_adaptive.tui-group_radius_large.tui-group_orientation_horizontal>*:nth-child(n):not(:only-child){border-radius:var(--tui-radius-l)}.tui-group_adaptive.tui-group_radius_large.tui-group_orientation_horizontal.tui-group_collapsed>*:nth-child(n):not(:only-child){border-radius:0}.tui-group_adaptive.tui-group_radius_large.tui-group_orientation_horizontal.tui-group_collapsed>*:first-child:not(:last-child){border-radius:var(--tui-radius-l) var(--tui-radius-l) 0 0}.tui-group_adaptive.tui-group_radius_large.tui-group_orientation_horizontal.tui-group_collapsed>*:last-child:not(:first-child){border-radius:0 0 var(--tui-radius-l) var(--tui-radius-l)}}.tui-group__auto-width-item{min-width:auto;flex:0 0 auto}.tui-group .tui-group__inherit-item{border-radius:inherit}\n"], changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush, encapsulation: i0__namespace.ViewEncapsulation.None });
35
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiGroupStylesComponent, decorators: [{
36
+ type: i0.Component,
37
+ args: [{
38
+ selector: 'tui-group-style',
39
+ template: '',
40
+ styleUrls: ['./group.style.less'],
41
+ encapsulation: i0.ViewEncapsulation.None,
42
+ changeDetection: i0.ChangeDetectionStrategy.OnPush,
43
+ }]
44
+ }] });
363
45
 
364
- var TuiGroupDirective = /** @class */ (function () {
365
- function TuiGroupDirective(directiveStyles) {
366
- this.orientation = 'horizontal';
367
- this.adaptive = false;
368
- this.collapsed = false;
369
- this.rounded = true;
370
- this.size = 'm';
371
- directiveStyles.addComponent(TuiGroupStylesComponent);
372
- }
373
- Object.defineProperty(TuiGroupDirective.prototype, "orientationHorizontal", {
374
- get: function () {
375
- return this.orientation === 'horizontal';
376
- },
377
- enumerable: false,
378
- configurable: true
379
- });
380
- Object.defineProperty(TuiGroupDirective.prototype, "orientationVertical", {
381
- get: function () {
382
- return this.orientation === 'vertical';
383
- },
384
- enumerable: false,
385
- configurable: true
386
- });
387
- Object.defineProperty(TuiGroupDirective.prototype, "sizeLarge", {
388
- get: function () {
389
- return this.size === 'l';
390
- },
391
- enumerable: false,
392
- configurable: true
393
- });
394
- return TuiGroupDirective;
395
- }());
396
- TuiGroupDirective.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiGroupDirective, deps: [{ token: i1.TuiDirectiveStylesService }], target: i0__namespace.ɵɵFactoryTarget.Directive });
397
- TuiGroupDirective.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.17", type: TuiGroupDirective, selector: "[tuiGroup]:not(ng-container)", inputs: { orientation: "orientation", adaptive: "adaptive", collapsed: "collapsed", rounded: "rounded", size: "size" }, host: { attributes: { "role": "group" }, properties: { "class.tui-group_adaptive": "this.adaptive", "class.tui-group_collapsed": "this.collapsed", "class.tui-group_rounded": "this.rounded", "class.tui-group_orientation_horizontal": "this.orientationHorizontal", "class.tui-group_orientation_vertical": "this.orientationVertical", "class.tui-group_radius_large": "this.sizeLarge" }, classAttribute: "tui-group" }, ngImport: i0__namespace });
398
- __decorate([
399
- i1.tuiDefaultProp()
400
- ], TuiGroupDirective.prototype, "orientation", void 0);
401
- __decorate([
402
- i1.tuiDefaultProp()
403
- ], TuiGroupDirective.prototype, "adaptive", void 0);
404
- __decorate([
405
- i1.tuiDefaultProp()
406
- ], TuiGroupDirective.prototype, "collapsed", void 0);
407
- __decorate([
408
- i1.tuiDefaultProp()
409
- ], TuiGroupDirective.prototype, "rounded", void 0);
410
- __decorate([
411
- i1.tuiDefaultProp()
412
- ], TuiGroupDirective.prototype, "size", void 0);
413
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiGroupDirective, decorators: [{
414
- type: i0.Directive,
415
- args: [{
416
- selector: '[tuiGroup]:not(ng-container)',
417
- host: {
418
- class: 'tui-group',
419
- role: 'group',
420
- },
421
- }]
422
- }], ctorParameters: function () {
423
- return [{ type: i1__namespace.TuiDirectiveStylesService, decorators: [{
424
- type: i0.Inject,
425
- args: [i1.TuiDirectiveStylesService]
426
- }] }];
427
- }, propDecorators: { orientation: [{
428
- type: i0.Input
429
- }], adaptive: [{
430
- type: i0.Input
431
- }, {
432
- type: i0.HostBinding,
433
- args: ['class.tui-group_adaptive']
434
- }], collapsed: [{
435
- type: i0.Input
436
- }, {
437
- type: i0.HostBinding,
438
- args: ['class.tui-group_collapsed']
439
- }], rounded: [{
440
- type: i0.Input
441
- }, {
442
- type: i0.HostBinding,
443
- args: ['class.tui-group_rounded']
444
- }], size: [{
445
- type: i0.Input
446
- }], orientationHorizontal: [{
447
- type: i0.HostBinding,
448
- args: ['class.tui-group_orientation_horizontal']
449
- }], orientationVertical: [{
450
- type: i0.HostBinding,
451
- args: ['class.tui-group_orientation_vertical']
452
- }], sizeLarge: [{
453
- type: i0.HostBinding,
454
- args: ['class.tui-group_radius_large']
455
- }] } });
46
+ var TuiGroupDirective = /** @class */ (function () {
47
+ function TuiGroupDirective(directiveStyles) {
48
+ this.orientation = 'horizontal';
49
+ this.adaptive = false;
50
+ this.collapsed = false;
51
+ this.rounded = true;
52
+ this.size = 'm';
53
+ directiveStyles.addComponent(TuiGroupStylesComponent);
54
+ }
55
+ Object.defineProperty(TuiGroupDirective.prototype, "orientationHorizontal", {
56
+ get: function () {
57
+ return this.orientation === 'horizontal';
58
+ },
59
+ enumerable: false,
60
+ configurable: true
61
+ });
62
+ Object.defineProperty(TuiGroupDirective.prototype, "orientationVertical", {
63
+ get: function () {
64
+ return this.orientation === 'vertical';
65
+ },
66
+ enumerable: false,
67
+ configurable: true
68
+ });
69
+ Object.defineProperty(TuiGroupDirective.prototype, "sizeLarge", {
70
+ get: function () {
71
+ return this.size === 'l';
72
+ },
73
+ enumerable: false,
74
+ configurable: true
75
+ });
76
+ return TuiGroupDirective;
77
+ }());
78
+ TuiGroupDirective.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiGroupDirective, deps: [{ token: i1.TuiDirectiveStylesService }], target: i0__namespace.ɵɵFactoryTarget.Directive });
79
+ TuiGroupDirective.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.17", type: TuiGroupDirective, selector: "[tuiGroup]:not(ng-container)", inputs: { orientation: "orientation", adaptive: "adaptive", collapsed: "collapsed", rounded: "rounded", size: "size" }, host: { attributes: { "role": "group" }, properties: { "class.tui-group_adaptive": "this.adaptive", "class.tui-group_collapsed": "this.collapsed", "class.tui-group_rounded": "this.rounded", "class.tui-group_orientation_horizontal": "this.orientationHorizontal", "class.tui-group_orientation_vertical": "this.orientationVertical", "class.tui-group_radius_large": "this.sizeLarge" }, classAttribute: "tui-group" }, ngImport: i0__namespace });
80
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiGroupDirective, decorators: [{
81
+ type: i0.Directive,
82
+ args: [{
83
+ selector: '[tuiGroup]:not(ng-container)',
84
+ host: {
85
+ class: 'tui-group',
86
+ role: 'group',
87
+ },
88
+ }]
89
+ }], ctorParameters: function () {
90
+ return [{ type: i1__namespace.TuiDirectiveStylesService, decorators: [{
91
+ type: i0.Inject,
92
+ args: [i1.TuiDirectiveStylesService]
93
+ }] }];
94
+ }, propDecorators: { orientation: [{
95
+ type: i0.Input
96
+ }], adaptive: [{
97
+ type: i0.Input
98
+ }, {
99
+ type: i0.HostBinding,
100
+ args: ['class.tui-group_adaptive']
101
+ }], collapsed: [{
102
+ type: i0.Input
103
+ }, {
104
+ type: i0.HostBinding,
105
+ args: ['class.tui-group_collapsed']
106
+ }], rounded: [{
107
+ type: i0.Input
108
+ }, {
109
+ type: i0.HostBinding,
110
+ args: ['class.tui-group_rounded']
111
+ }], size: [{
112
+ type: i0.Input
113
+ }], orientationHorizontal: [{
114
+ type: i0.HostBinding,
115
+ args: ['class.tui-group_orientation_horizontal']
116
+ }], orientationVertical: [{
117
+ type: i0.HostBinding,
118
+ args: ['class.tui-group_orientation_vertical']
119
+ }], sizeLarge: [{
120
+ type: i0.HostBinding,
121
+ args: ['class.tui-group_radius_large']
122
+ }] } });
456
123
 
457
- var TuiGroupModule = /** @class */ (function () {
458
- function TuiGroupModule() {
459
- }
460
- return TuiGroupModule;
461
- }());
462
- TuiGroupModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiGroupModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
463
- TuiGroupModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiGroupModule, declarations: [TuiGroupDirective, TuiGroupStylesComponent], imports: [common.CommonModule], exports: [TuiGroupDirective, TuiGroupStylesComponent] });
464
- TuiGroupModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiGroupModule, imports: [[common.CommonModule]] });
465
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiGroupModule, decorators: [{
466
- type: i0.NgModule,
467
- args: [{
468
- imports: [common.CommonModule],
469
- declarations: [TuiGroupDirective, TuiGroupStylesComponent],
470
- exports: [TuiGroupDirective, TuiGroupStylesComponent],
471
- }]
472
- }] });
124
+ var TuiGroupModule = /** @class */ (function () {
125
+ function TuiGroupModule() {
126
+ }
127
+ return TuiGroupModule;
128
+ }());
129
+ TuiGroupModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiGroupModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
130
+ TuiGroupModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiGroupModule, declarations: [TuiGroupDirective, TuiGroupStylesComponent], imports: [common.CommonModule], exports: [TuiGroupDirective, TuiGroupStylesComponent] });
131
+ TuiGroupModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiGroupModule, imports: [[common.CommonModule]] });
132
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiGroupModule, decorators: [{
133
+ type: i0.NgModule,
134
+ args: [{
135
+ imports: [common.CommonModule],
136
+ declarations: [TuiGroupDirective, TuiGroupStylesComponent],
137
+ exports: [TuiGroupDirective, TuiGroupStylesComponent],
138
+ }]
139
+ }] });
473
140
 
474
- /**
475
- * Generated bundle index. Do not edit.
476
- */
141
+ /**
142
+ * Generated bundle index. Do not edit.
143
+ */
477
144
 
478
- exports.TuiGroupDirective = TuiGroupDirective;
479
- exports.TuiGroupModule = TuiGroupModule;
480
- exports.TuiGroupStylesComponent = TuiGroupStylesComponent;
145
+ exports.TuiGroupDirective = TuiGroupDirective;
146
+ exports.TuiGroupModule = TuiGroupModule;
147
+ exports.TuiGroupStylesComponent = TuiGroupStylesComponent;
481
148
 
482
- Object.defineProperty(exports, '__esModule', { value: true });
149
+ Object.defineProperty(exports, '__esModule', { value: true });
483
150
 
484
151
  }));
485
152
  //# sourceMappingURL=taiga-ui-core-components-group.umd.js.map