@taiga-ui/kit 3.70.0-canary.e02fd1e → 3.71.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.
- package/bundles/taiga-ui-kit-components-accordion.umd.js +628 -774
- package/bundles/taiga-ui-kit-components-accordion.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-action.umd.js +452 -598
- package/bundles/taiga-ui-kit-components-action.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-avatar.umd.js +494 -640
- package/bundles/taiga-ui-kit-components-avatar.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-breadcrumbs.umd.js +417 -563
- package/bundles/taiga-ui-kit-components-breadcrumbs.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-calendar-month.umd.js +601 -747
- package/bundles/taiga-ui-kit-components-calendar-month.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-calendar-range.umd.js +572 -718
- package/bundles/taiga-ui-kit-components-calendar-range.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-carousel.umd.js +678 -824
- package/bundles/taiga-ui-kit-components-carousel.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-checkbox-block.umd.js +499 -645
- package/bundles/taiga-ui-kit-components-checkbox-block.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-checkbox-labeled.umd.js +439 -585
- package/bundles/taiga-ui-kit-components-checkbox-labeled.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-checkbox.umd.js +462 -608
- package/bundles/taiga-ui-kit-components-checkbox.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-combo-box.umd.js +688 -834
- package/bundles/taiga-ui-kit-components-combo-box.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-data-list-wrapper.umd.js +510 -656
- package/bundles/taiga-ui-kit-components-data-list-wrapper.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-elastic-container.umd.js +441 -587
- package/bundles/taiga-ui-kit-components-elastic-container.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-files.umd.js +660 -806
- package/bundles/taiga-ui-kit-components-files.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-filter.umd.js +461 -607
- package/bundles/taiga-ui-kit-components-filter.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-input-copy.umd.js +554 -700
- package/bundles/taiga-ui-kit-components-input-copy.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-input-count.umd.js +663 -809
- package/bundles/taiga-ui-kit-components-input-count.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-input-date-multi.umd.js +707 -853
- package/bundles/taiga-ui-kit-components-input-date-multi.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-input-date-range.umd.js +827 -973
- package/bundles/taiga-ui-kit-components-input-date-range.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-input-date-time.umd.js +896 -1042
- package/bundles/taiga-ui-kit-components-input-date-time.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-input-date.umd.js +830 -976
- package/bundles/taiga-ui-kit-components-input-date.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-input-files.umd.js +829 -975
- package/bundles/taiga-ui-kit-components-input-files.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-input-inline.umd.js +466 -612
- package/bundles/taiga-ui-kit-components-input-inline.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-input-month-range.umd.js +609 -755
- package/bundles/taiga-ui-kit-components-input-month-range.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-input-month.umd.js +642 -788
- package/bundles/taiga-ui-kit-components-input-month.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-input-number.umd.js +795 -941
- package/bundles/taiga-ui-kit-components-input-number.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-input-password.umd.js +574 -720
- package/bundles/taiga-ui-kit-components-input-password.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-input-phone-international.umd.js +665 -811
- package/bundles/taiga-ui-kit-components-input-phone-international.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-input-phone.umd.js +767 -913
- package/bundles/taiga-ui-kit-components-input-phone.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-input-range.umd.js +650 -796
- package/bundles/taiga-ui-kit-components-input-range.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-input-slider.umd.js +591 -737
- package/bundles/taiga-ui-kit-components-input-slider.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-input-tag.umd.js +958 -1104
- package/bundles/taiga-ui-kit-components-input-tag.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-input-time.umd.js +877 -1023
- package/bundles/taiga-ui-kit-components-input-time.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-input-year.umd.js +559 -705
- package/bundles/taiga-ui-kit-components-input-year.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-input.umd.js +515 -661
- package/bundles/taiga-ui-kit-components-input.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-items-with-more.umd.js +543 -689
- package/bundles/taiga-ui-kit-components-items-with-more.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-line-clamp.umd.js +596 -742
- package/bundles/taiga-ui-kit-components-line-clamp.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-multi-select-option.umd.js +398 -544
- package/bundles/taiga-ui-kit-components-multi-select-option.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-multi-select.umd.js +1191 -1337
- package/bundles/taiga-ui-kit-components-multi-select.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-pagination.umd.js +664 -810
- package/bundles/taiga-ui-kit-components-pagination.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-pdf-viewer.umd.js +6 -152
- package/bundles/taiga-ui-kit-components-pdf-viewer.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-progress.umd.js +6 -152
- package/bundles/taiga-ui-kit-components-progress.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-push.umd.js +6 -152
- package/bundles/taiga-ui-kit-components-push.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-radio-block.umd.js +499 -645
- package/bundles/taiga-ui-kit-components-radio-block.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-radio-labeled.umd.js +470 -616
- package/bundles/taiga-ui-kit-components-radio-labeled.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-radio-list.umd.js +482 -628
- package/bundles/taiga-ui-kit-components-radio-list.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-radio.umd.js +543 -689
- package/bundles/taiga-ui-kit-components-radio.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-range.umd.js +665 -811
- package/bundles/taiga-ui-kit-components-range.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-rating.umd.js +500 -646
- package/bundles/taiga-ui-kit-components-rating.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-routable-dialog.umd.js +440 -586
- package/bundles/taiga-ui-kit-components-routable-dialog.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-select.umd.js +787 -933
- package/bundles/taiga-ui-kit-components-select.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-slider.umd.js +797 -943
- package/bundles/taiga-ui-kit-components-slider.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-stepper.umd.js +623 -769
- package/bundles/taiga-ui-kit-components-stepper.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-tabs.umd.js +7 -153
- package/bundles/taiga-ui-kit-components-tabs.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-textarea.umd.js +820 -966
- package/bundles/taiga-ui-kit-components-textarea.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-tiles.umd.js +693 -839
- package/bundles/taiga-ui-kit-components-tiles.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-toggle.umd.js +565 -711
- package/bundles/taiga-ui-kit-components-toggle.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-constants.umd.js +6 -152
- package/bundles/taiga-ui-kit-constants.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-directives-data-list-dropdown-manager.umd.js +491 -637
- package/bundles/taiga-ui-kit-directives-data-list-dropdown-manager.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-directives-lazy-loading.umd.js +459 -605
- package/bundles/taiga-ui-kit-directives-lazy-loading.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-directives-unmask-handler.umd.js +394 -540
- package/bundles/taiga-ui-kit-directives-unmask-handler.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-pipes-field-error.umd.js +547 -693
- package/bundles/taiga-ui-kit-pipes-field-error.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-pipes-filter-by-input.umd.js +470 -616
- package/bundles/taiga-ui-kit-pipes-filter-by-input.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-pipes-sort-countries.umd.js +378 -524
- package/bundles/taiga-ui-kit-pipes-sort-countries.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-utils-mask.umd.js +6 -152
- package/bundles/taiga-ui-kit-utils-mask.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-utils-math.umd.js +6 -152
- package/bundles/taiga-ui-kit-utils-math.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-utils-miscellaneous.umd.js +6 -152
- package/bundles/taiga-ui-kit-utils-miscellaneous.umd.js.map +1 -1
- package/components/input-files/input-files.component.d.ts +1 -1
- package/esm2015/components/input-files/input-files.component.js +5 -5
- package/esm2015/components/tabs/tab/tab.component.js +1 -1
- package/fesm2015/taiga-ui-kit-components-input-files.js +4 -4
- package/fesm2015/taiga-ui-kit-components-input-files.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-tabs.js +1 -1
- package/fesm2015/taiga-ui-kit-components-tabs.js.map +1 -1
- package/package.json +42 -42
|
@@ -1,645 +1,499 @@
|
|
|
1
1
|
(function (global, factory) {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
2
|
+
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('@angular/forms'), require('@taiga-ui/cdk'), require('@taiga-ui/kit/components/radio-labeled'), require('@taiga-ui/kit/components/radio-group'), require('@angular/common'), require('@tinkoff/ng-polymorpheus')) :
|
|
3
|
+
typeof define === 'function' && define.amd ? define('@taiga-ui/kit/components/radio-list', ['exports', '@angular/core', '@angular/forms', '@taiga-ui/cdk', '@taiga-ui/kit/components/radio-labeled', '@taiga-ui/kit/components/radio-group', '@angular/common', '@tinkoff/ng-polymorpheus'], 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["radio-list"] = {}), global.ng.core, global.ng.forms, global.cdk, global["taiga-ui"].kit.components["radio-labeled"], global["taiga-ui"].kit.components["radio-group"], global.ng.common, global.i5));
|
|
5
5
|
})(this, (function (exports, i0, i4, cdk, i2, i1, i3, i5) { 'use strict';
|
|
6
6
|
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
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
24
|
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
25
|
+
var i0__namespace = /*#__PURE__*/_interopNamespace(i0);
|
|
26
|
+
var i4__namespace = /*#__PURE__*/_interopNamespace(i4);
|
|
27
|
+
var i2__namespace = /*#__PURE__*/_interopNamespace(i2);
|
|
28
|
+
var i1__namespace = /*#__PURE__*/_interopNamespace(i1);
|
|
29
|
+
var i3__namespace = /*#__PURE__*/_interopNamespace(i3);
|
|
30
|
+
var i5__namespace = /*#__PURE__*/_interopNamespace(i5);
|
|
31
31
|
|
|
32
|
-
|
|
33
|
-
|
|
32
|
+
/*! *****************************************************************************
|
|
33
|
+
Copyright (c) Microsoft Corporation.
|
|
34
34
|
|
|
35
|
-
|
|
36
|
-
|
|
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
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
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
|
-
};
|
|
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
|
+
}
|
|
495
349
|
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
350
|
+
var TuiRadioListComponent = /** @class */ (function (_super) {
|
|
351
|
+
__extends(TuiRadioListComponent, _super);
|
|
352
|
+
function TuiRadioListComponent(control, cdr, el) {
|
|
353
|
+
var _this = _super.call(this, control, cdr) || this;
|
|
354
|
+
_this.el = el;
|
|
355
|
+
_this.radioButtons = cdk.EMPTY_QUERY;
|
|
356
|
+
_this.items = [];
|
|
357
|
+
_this.size = 'm';
|
|
358
|
+
_this.identityMatcher = cdk.TUI_DEFAULT_IDENTITY_MATCHER;
|
|
359
|
+
_this.orientation = 'vertical';
|
|
360
|
+
_this.disabledItemHandler = cdk.ALWAYS_FALSE_HANDLER;
|
|
361
|
+
// @bad TODO: Remove & { index: number }
|
|
362
|
+
_this.itemContent = function (_b) {
|
|
363
|
+
var $implicit = _b.$implicit;
|
|
364
|
+
return String($implicit);
|
|
365
|
+
};
|
|
366
|
+
return _this;
|
|
367
|
+
}
|
|
368
|
+
Object.defineProperty(TuiRadioListComponent.prototype, "nativeFocusableElement", {
|
|
369
|
+
get: function () {
|
|
370
|
+
var _a;
|
|
371
|
+
var focusableRadioButton = this.radioButtons.find(function (radioButton) { return radioButton.nativeFocusableElement !== null; });
|
|
372
|
+
return (_a = focusableRadioButton === null || focusableRadioButton === void 0 ? void 0 : focusableRadioButton.nativeFocusableElement) !== null && _a !== void 0 ? _a : null;
|
|
373
|
+
},
|
|
374
|
+
enumerable: false,
|
|
375
|
+
configurable: true
|
|
376
|
+
});
|
|
377
|
+
Object.defineProperty(TuiRadioListComponent.prototype, "focused", {
|
|
378
|
+
get: function () {
|
|
379
|
+
return cdk.tuiIsNativeFocusedIn(this.el.nativeElement);
|
|
380
|
+
},
|
|
381
|
+
enumerable: false,
|
|
382
|
+
configurable: true
|
|
383
|
+
});
|
|
384
|
+
TuiRadioListComponent.prototype.computeId = function (index) {
|
|
385
|
+
return this.id + "-" + index;
|
|
386
|
+
};
|
|
387
|
+
TuiRadioListComponent.prototype.itemIsDisabled = function (item) {
|
|
388
|
+
return this.disabledItemHandler(item);
|
|
389
|
+
};
|
|
390
|
+
/** @deprecated use 'value' setter */
|
|
391
|
+
TuiRadioListComponent.prototype.onModelChange = function (value) {
|
|
392
|
+
this.value = value;
|
|
393
|
+
};
|
|
394
|
+
TuiRadioListComponent.prototype.itemIsActive = function (item) {
|
|
395
|
+
return this.value === null
|
|
396
|
+
? item === null
|
|
397
|
+
: this.identityMatcher(this.value, item);
|
|
398
|
+
};
|
|
399
|
+
return TuiRadioListComponent;
|
|
400
|
+
}(cdk.AbstractTuiNullableControl));
|
|
401
|
+
TuiRadioListComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiRadioListComponent, deps: [{ token: i4.NgControl, optional: true, self: true }, { token: i0.ChangeDetectorRef }, { token: i0.ElementRef }], target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
402
|
+
TuiRadioListComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: TuiRadioListComponent, selector: "tui-radio-list", inputs: { items: "items", size: "size", identityMatcher: "identityMatcher", orientation: "orientation", disabledItemHandler: "disabledItemHandler", itemContent: "itemContent" }, host: { properties: { "attr.data-size": "this.size", "attr.data-orientation": "this.orientation" } }, providers: [
|
|
403
|
+
cdk.tuiAsFocusableItemAccessor(TuiRadioListComponent),
|
|
404
|
+
cdk.tuiAsControl(TuiRadioListComponent),
|
|
405
|
+
], viewQueries: [{ propertyName: "radioButtons", predicate: i2.TuiRadioLabeledComponent, descendants: true }], usesInheritance: true, ngImport: i0__namespace, template: "<tui-radio-group class=\"t-group\">\n <tui-radio-labeled\n *ngFor=\"let item of items; index as index\"\n class=\"t-item\"\n [disabled]=\"disabled\"\n [identityMatcher]=\"identityMatcher\"\n [item]=\"item\"\n [nativeId]=\"computeId(index)\"\n [pseudoDisabled]=\"itemIsDisabled(item)\"\n [pseudoInvalid]=\"computedInvalid\"\n [readOnly]=\"readOnly\"\n [size]=\"size\"\n [(ngModel)]=\"value\"\n >\n <ng-container\n *polymorpheusOutlet=\"\n itemContent as text;\n context: {$implicit: item, index: index, active: itemIsActive(item)}\n \"\n >\n {{ text }}\n </ng-container>\n </tui-radio-labeled>\n</tui-radio-group>\n", styles: [":host{display:block}:host._readonly{pointer-events:none}.t-group{align-items:inherit}:host[data-orientation=horizontal] .t-group{display:flex;justify-content:inherit}.t-item{align-items:inherit}:host[data-orientation=horizontal] .t-item:nth-child(n + 2){margin-left:1.5rem}:host[data-orientation=vertical] .t-item:nth-child(n + 2){margin-top:.75rem}:host[data-size=l][data-orientation=horizontal] .t-item:nth-child(n + 2){margin-left:2.5rem}:host[data-size=l][data-orientation=vertical] .t-item:nth-child(n + 2){margin-top:1rem}\n"], components: [{ type: i1__namespace.TuiRadioGroupComponent, selector: "tui-radio-group", inputs: ["name"] }, { type: i2__namespace.TuiRadioLabeledComponent, selector: "tui-radio-labeled", inputs: ["item", "size", "identityMatcher", "pseudoDisabled"] }], directives: [{ type: i3__namespace.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i4__namespace.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i4__namespace.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { type: i5__namespace.PolymorpheusOutletDirective, selector: "[polymorpheusOutlet]", inputs: ["polymorpheusOutlet", "polymorpheusOutletContext"] }], changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush });
|
|
406
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiRadioListComponent, decorators: [{
|
|
407
|
+
type: i0.Component,
|
|
408
|
+
args: [{
|
|
409
|
+
selector: 'tui-radio-list',
|
|
410
|
+
templateUrl: './radio-list.template.html',
|
|
411
|
+
styleUrls: ['./radio-list.style.less'],
|
|
412
|
+
changeDetection: i0.ChangeDetectionStrategy.OnPush,
|
|
413
|
+
providers: [
|
|
414
|
+
cdk.tuiAsFocusableItemAccessor(TuiRadioListComponent),
|
|
415
|
+
cdk.tuiAsControl(TuiRadioListComponent),
|
|
416
|
+
],
|
|
417
|
+
}]
|
|
418
|
+
}], ctorParameters: function () {
|
|
419
|
+
return [{ type: i4__namespace.NgControl, decorators: [{
|
|
420
|
+
type: i0.Optional
|
|
421
|
+
}, {
|
|
422
|
+
type: i0.Self
|
|
423
|
+
}, {
|
|
424
|
+
type: i0.Inject,
|
|
425
|
+
args: [i4.NgControl]
|
|
426
|
+
}] }, { type: i0__namespace.ChangeDetectorRef, decorators: [{
|
|
427
|
+
type: i0.Inject,
|
|
428
|
+
args: [i0.ChangeDetectorRef]
|
|
429
|
+
}] }, { type: i0__namespace.ElementRef, decorators: [{
|
|
430
|
+
type: i0.Inject,
|
|
431
|
+
args: [i0.ElementRef]
|
|
432
|
+
}] }];
|
|
433
|
+
}, propDecorators: { radioButtons: [{
|
|
434
|
+
type: i0.ViewChildren,
|
|
435
|
+
args: [i2.TuiRadioLabeledComponent]
|
|
436
|
+
}], items: [{
|
|
437
|
+
type: i0.Input
|
|
438
|
+
}], size: [{
|
|
439
|
+
type: i0.Input
|
|
440
|
+
}, {
|
|
441
|
+
type: i0.HostBinding,
|
|
442
|
+
args: ['attr.data-size']
|
|
443
|
+
}], identityMatcher: [{
|
|
444
|
+
type: i0.Input
|
|
445
|
+
}], orientation: [{
|
|
446
|
+
type: i0.Input
|
|
447
|
+
}, {
|
|
448
|
+
type: i0.HostBinding,
|
|
449
|
+
args: ['attr.data-orientation']
|
|
450
|
+
}], disabledItemHandler: [{
|
|
451
|
+
type: i0.Input
|
|
452
|
+
}], itemContent: [{
|
|
453
|
+
type: i0.Input
|
|
454
|
+
}] } });
|
|
601
455
|
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
|
|
456
|
+
var TuiRadioListModule = /** @class */ (function () {
|
|
457
|
+
function TuiRadioListModule() {
|
|
458
|
+
}
|
|
459
|
+
return TuiRadioListModule;
|
|
460
|
+
}());
|
|
461
|
+
TuiRadioListModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiRadioListModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
|
|
462
|
+
TuiRadioListModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiRadioListModule, declarations: [TuiRadioListComponent], imports: [i3.CommonModule,
|
|
463
|
+
i4.FormsModule,
|
|
464
|
+
i5.PolymorpheusModule,
|
|
465
|
+
i1.TuiRadioGroupModule,
|
|
466
|
+
i2.TuiRadioLabeledModule], exports: [TuiRadioListComponent] });
|
|
467
|
+
TuiRadioListModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiRadioListModule, imports: [[
|
|
468
|
+
i3.CommonModule,
|
|
469
|
+
i4.FormsModule,
|
|
470
|
+
i5.PolymorpheusModule,
|
|
471
|
+
i1.TuiRadioGroupModule,
|
|
472
|
+
i2.TuiRadioLabeledModule,
|
|
473
|
+
]] });
|
|
474
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiRadioListModule, decorators: [{
|
|
475
|
+
type: i0.NgModule,
|
|
476
|
+
args: [{
|
|
477
|
+
imports: [
|
|
478
|
+
i3.CommonModule,
|
|
479
|
+
i4.FormsModule,
|
|
480
|
+
i5.PolymorpheusModule,
|
|
481
|
+
i1.TuiRadioGroupModule,
|
|
482
|
+
i2.TuiRadioLabeledModule,
|
|
483
|
+
],
|
|
484
|
+
declarations: [TuiRadioListComponent],
|
|
485
|
+
exports: [TuiRadioListComponent],
|
|
486
|
+
}]
|
|
487
|
+
}] });
|
|
634
488
|
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
489
|
+
/**
|
|
490
|
+
* Generated bundle index. Do not edit.
|
|
491
|
+
*/
|
|
638
492
|
|
|
639
|
-
|
|
640
|
-
|
|
493
|
+
exports.TuiRadioListComponent = TuiRadioListComponent;
|
|
494
|
+
exports.TuiRadioListModule = TuiRadioListModule;
|
|
641
495
|
|
|
642
|
-
|
|
496
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
643
497
|
|
|
644
498
|
}));
|
|
645
499
|
//# sourceMappingURL=taiga-ui-kit-components-radio-list.umd.js.map
|