igniteui-webcomponents-inputs 7.1.0-alpha.1 → 7.1.0-alpha.2
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/igniteui-webcomponents-inputs.umd.js +636 -467
- package/bundles/igniteui-webcomponents-inputs.umd.min.js +1 -1
- package/esm2015/lib/ButtonView_combined.js +21 -21
- package/esm2015/lib/CalendarView_combined.js +3 -3
- package/esm2015/lib/CheckboxView_combined.js +23 -23
- package/esm2015/lib/IconView_combined.js +163 -163
- package/esm2015/lib/InputGroupView_combined.js +31 -31
- package/esm2015/lib/MultiSliderBridge.js +14 -14
- package/esm2015/lib/MultiSliderView_combined.js +10 -10
- package/esm2015/lib/NativeUIXInputsFactory_combined.js +38 -38
- package/esm2015/lib/RippleView_combined.js +1 -1
- package/esm2015/lib/XButtonBridge.js +18 -18
- package/esm2015/lib/XButtonGroupBridge.js +6 -6
- package/esm2015/lib/XCheckboxBridge.js +8 -8
- package/esm2015/lib/XComponentBridge.js +4 -3
- package/esm2015/lib/XIconBridge.js +23 -23
- package/esm2015/lib/XIconButtonBridge.js +5 -5
- package/esm2015/lib/XInputBridge.js +18 -18
- package/esm2015/lib/XPopupBridge.js +23 -23
- package/esm2015/lib/igc-multi-slider-thumb-collection.js +7 -7
- package/esm2015/lib/igc-multi-slider-thumb-component.js +271 -0
- package/esm2015/lib/igc-multi-slider-thumb-module.js +16 -0
- package/esm2015/lib/igc-multi-slider-thumb-value-changing-event-args.js +3 -8
- package/esm2015/lib/igc-multi-slider-track-thumb-range.js +5 -15
- package/esm2015/lib/igc-x-icon-component.js +10 -10
- package/esm2015/public_api.js +2 -1
- package/esm5/lib/ButtonView_combined.js +21 -21
- package/esm5/lib/CalendarView_combined.js +3 -3
- package/esm5/lib/CheckboxView_combined.js +23 -23
- package/esm5/lib/IconView_combined.js +158 -158
- package/esm5/lib/InputGroupView_combined.js +31 -31
- package/esm5/lib/MultiSliderBridge.js +14 -14
- package/esm5/lib/MultiSliderView_combined.js +10 -10
- package/esm5/lib/NativeUIXInputsFactory_combined.js +38 -38
- package/esm5/lib/RippleView_combined.js +1 -1
- package/esm5/lib/XButtonBridge.js +18 -18
- package/esm5/lib/XButtonGroupBridge.js +6 -6
- package/esm5/lib/XCheckboxBridge.js +8 -8
- package/esm5/lib/XComponentBridge.js +4 -3
- package/esm5/lib/XIconBridge.js +23 -23
- package/esm5/lib/XIconButtonBridge.js +5 -5
- package/esm5/lib/XInputBridge.js +18 -18
- package/esm5/lib/XPopupBridge.js +23 -23
- package/esm5/lib/igc-multi-slider-thumb-collection.js +7 -7
- package/esm5/lib/igc-multi-slider-thumb-component.js +300 -0
- package/esm5/lib/igc-multi-slider-thumb-module.js +20 -0
- package/esm5/lib/igc-multi-slider-thumb-value-changing-event-args.js +3 -8
- package/esm5/lib/igc-multi-slider-track-thumb-range.js +5 -15
- package/esm5/lib/igc-x-icon-component.js +10 -10
- package/esm5/public_api.js +2 -1
- package/fesm2015/igniteui-webcomponents-inputs.js +692 -534
- package/fesm5/igniteui-webcomponents-inputs.js +635 -467
- package/lib/IconView_combined.d.ts +33 -34
- package/lib/MultiSliderView_combined.d.ts +1 -1
- package/lib/igc-multi-slider-thumb-collection.d.ts +4 -4
- package/lib/igc-multi-slider-thumb-component.d.ts +53 -0
- package/lib/igc-multi-slider-thumb-module.d.ts +3 -0
- package/lib/igc-multi-slider-thumb-value-changing-event-args.d.ts +3 -3
- package/lib/igc-multi-slider-track-thumb-range.d.ts +5 -5
- package/package.json +2 -2
- package/public_api.d.ts +2 -1
- package/esm2015/lib/igc-multi-slider-thumb.js +0 -109
- package/esm5/lib/igc-multi-slider-thumb.js +0 -132
- package/lib/igc-multi-slider-thumb.d.ts +0 -27
|
@@ -23,15 +23,15 @@ let XIconBridge = /*@__PURE__*/ (() => {
|
|
|
23
23
|
case 16: return this.v;
|
|
24
24
|
case 15: return this.u;
|
|
25
25
|
case 18: return enumGetBox(BaseControlTheme_$type, c.m);
|
|
26
|
-
case
|
|
27
|
-
case
|
|
28
|
-
case
|
|
29
|
-
case
|
|
30
|
-
case
|
|
31
|
-
case
|
|
32
|
-
case
|
|
33
|
-
case
|
|
34
|
-
case
|
|
26
|
+
case 45: return c.a6;
|
|
27
|
+
case 46: return c.a7;
|
|
28
|
+
case 47: return c.a8;
|
|
29
|
+
case 48: return c.a5;
|
|
30
|
+
case 49: return c.a9;
|
|
31
|
+
case 50: return c.a1;
|
|
32
|
+
case 64: return c.e;
|
|
33
|
+
case 65: return c.f;
|
|
34
|
+
case 66: return c.a4;
|
|
35
35
|
}
|
|
36
36
|
return super.getValue(a, b);
|
|
37
37
|
}
|
|
@@ -51,31 +51,31 @@ let XIconBridge = /*@__PURE__*/ (() => {
|
|
|
51
51
|
this.w(d);
|
|
52
52
|
}
|
|
53
53
|
break;
|
|
54
|
-
case
|
|
54
|
+
case 45:
|
|
55
55
|
d.a6 = c;
|
|
56
56
|
break;
|
|
57
|
-
case
|
|
57
|
+
case 46:
|
|
58
58
|
d.a7 = c;
|
|
59
59
|
break;
|
|
60
|
-
case
|
|
60
|
+
case 47:
|
|
61
61
|
d.a8 = c;
|
|
62
62
|
break;
|
|
63
|
-
case
|
|
63
|
+
case 48:
|
|
64
64
|
d.a5 = c;
|
|
65
65
|
break;
|
|
66
|
-
case
|
|
66
|
+
case 49:
|
|
67
67
|
d.a9 = c;
|
|
68
68
|
break;
|
|
69
|
-
case
|
|
69
|
+
case 50:
|
|
70
70
|
d.a1 = c;
|
|
71
71
|
break;
|
|
72
|
-
case
|
|
72
|
+
case 64:
|
|
73
73
|
d.e = c;
|
|
74
74
|
break;
|
|
75
|
-
case
|
|
75
|
+
case 65:
|
|
76
76
|
d.f = c;
|
|
77
77
|
break;
|
|
78
|
-
case
|
|
78
|
+
case 66:
|
|
79
79
|
d.a4 = c;
|
|
80
80
|
break;
|
|
81
81
|
}
|
|
@@ -90,8 +90,8 @@ let XIconBridge = /*@__PURE__*/ (() => {
|
|
|
90
90
|
a.svg = null;
|
|
91
91
|
a.svgPath = null;
|
|
92
92
|
a.b = null;
|
|
93
|
-
a.
|
|
94
|
-
a.
|
|
93
|
+
a.b2 = null;
|
|
94
|
+
a.bj = null;
|
|
95
95
|
let b = SvgIconRegistry.instance.getSvgPathString(this.u, this.v);
|
|
96
96
|
if (b != null) {
|
|
97
97
|
if (stringStartsWith(trimStart(b, ' ', '\n', '\r', '\t'), "<svg")) {
|
|
@@ -109,16 +109,16 @@ let XIconBridge = /*@__PURE__*/ (() => {
|
|
|
109
109
|
}
|
|
110
110
|
let d = SvgIconRegistry.instance.getDataURLString(this.u, this.v);
|
|
111
111
|
if (d != null) {
|
|
112
|
-
a.
|
|
112
|
+
a.b2 = d;
|
|
113
113
|
return;
|
|
114
114
|
}
|
|
115
115
|
let e = SvgIconRegistry.instance.getIconSource(this.u, this.v);
|
|
116
116
|
if (e != null) {
|
|
117
|
-
a.
|
|
117
|
+
a.bj = e;
|
|
118
118
|
}
|
|
119
119
|
}
|
|
120
120
|
exportVisualData(a) {
|
|
121
|
-
let b = a.
|
|
121
|
+
let b = a.bi();
|
|
122
122
|
return b;
|
|
123
123
|
}
|
|
124
124
|
}
|
|
@@ -19,12 +19,12 @@ let XIconButtonBridge = /*@__PURE__*/ (() => {
|
|
|
19
19
|
switch (b) {
|
|
20
20
|
case 15:
|
|
21
21
|
case 16:
|
|
22
|
-
case 44:
|
|
23
22
|
case 45:
|
|
24
23
|
case 46:
|
|
25
24
|
case 47:
|
|
26
25
|
case 48:
|
|
27
|
-
case 49:
|
|
26
|
+
case 49:
|
|
27
|
+
case 50: return this.al.t;
|
|
28
28
|
}
|
|
29
29
|
return super.getTargetForBuildInProperty(a, b);
|
|
30
30
|
}
|
|
@@ -40,12 +40,12 @@ let XIconButtonBridge = /*@__PURE__*/ (() => {
|
|
|
40
40
|
switch (b) {
|
|
41
41
|
case 16:
|
|
42
42
|
case 15:
|
|
43
|
-
case 44:
|
|
44
43
|
case 45:
|
|
45
44
|
case 46:
|
|
46
45
|
case 47:
|
|
47
46
|
case 48:
|
|
48
|
-
case 49:
|
|
47
|
+
case 49:
|
|
48
|
+
case 50: return this.al.getValue(a, b);
|
|
49
49
|
case 18: return enumGetBox(BaseControlTheme_$type, a.o);
|
|
50
50
|
}
|
|
51
51
|
return super.getValue(a, b);
|
|
@@ -55,12 +55,12 @@ let XIconButtonBridge = /*@__PURE__*/ (() => {
|
|
|
55
55
|
switch (b) {
|
|
56
56
|
case 16:
|
|
57
57
|
case 15:
|
|
58
|
-
case 44:
|
|
59
58
|
case 45:
|
|
60
59
|
case 46:
|
|
61
60
|
case 47:
|
|
62
61
|
case 48:
|
|
63
62
|
case 49:
|
|
63
|
+
case 50:
|
|
64
64
|
this.al.setValue(a, b, c);
|
|
65
65
|
break;
|
|
66
66
|
case 18:
|
|
@@ -263,18 +263,18 @@ let XInputBridge = /*@__PURE__*/ (() => {
|
|
|
263
263
|
let c = a;
|
|
264
264
|
let d = typeCast(XInput.$, c.inputs._inner[0]);
|
|
265
265
|
switch (b) {
|
|
266
|
-
case
|
|
266
|
+
case 104: return a.mc;
|
|
267
267
|
case 3:
|
|
268
268
|
this.an(a);
|
|
269
269
|
let e = this.v(a);
|
|
270
270
|
return e.text;
|
|
271
|
-
case
|
|
271
|
+
case 101:
|
|
272
272
|
this.ao(a);
|
|
273
273
|
return this.u.svgPath;
|
|
274
|
-
case
|
|
274
|
+
case 102:
|
|
275
275
|
this.ao(a);
|
|
276
276
|
return this.u.fill;
|
|
277
|
-
case
|
|
277
|
+
case 103:
|
|
278
278
|
this.ao(a);
|
|
279
279
|
return this.u.ea;
|
|
280
280
|
case 2: return d.cq;
|
|
@@ -310,11 +310,11 @@ let XInputBridge = /*@__PURE__*/ (() => {
|
|
|
310
310
|
}
|
|
311
311
|
break;
|
|
312
312
|
case 21: return d.a1;
|
|
313
|
-
case
|
|
314
|
-
case
|
|
315
|
-
case
|
|
316
|
-
case
|
|
317
|
-
case
|
|
313
|
+
case 33: return d.disabled;
|
|
314
|
+
case 34: return d.d8;
|
|
315
|
+
case 106: return d.selectionStart;
|
|
316
|
+
case 107: return d.selectionEnd;
|
|
317
|
+
case 108: return c.an;
|
|
318
318
|
}
|
|
319
319
|
return null;
|
|
320
320
|
}
|
|
@@ -322,7 +322,7 @@ let XInputBridge = /*@__PURE__*/ (() => {
|
|
|
322
322
|
let d = a;
|
|
323
323
|
let e = typeCast(XInput.$, d.inputs._inner[0]);
|
|
324
324
|
switch (b) {
|
|
325
|
-
case
|
|
325
|
+
case 104:
|
|
326
326
|
a.mc = c;
|
|
327
327
|
break;
|
|
328
328
|
case 3:
|
|
@@ -330,15 +330,15 @@ let XInputBridge = /*@__PURE__*/ (() => {
|
|
|
330
330
|
let f = this.v(a);
|
|
331
331
|
f.text = c;
|
|
332
332
|
break;
|
|
333
|
-
case
|
|
333
|
+
case 101:
|
|
334
334
|
this.ao(a);
|
|
335
335
|
this.u.svgPath = c;
|
|
336
336
|
break;
|
|
337
|
-
case
|
|
337
|
+
case 102:
|
|
338
338
|
this.ao(a);
|
|
339
339
|
this.u.fill = c;
|
|
340
340
|
break;
|
|
341
|
-
case
|
|
341
|
+
case 103:
|
|
342
342
|
this.ao(a);
|
|
343
343
|
this.u.ea = c;
|
|
344
344
|
break;
|
|
@@ -409,19 +409,19 @@ let XInputBridge = /*@__PURE__*/ (() => {
|
|
|
409
409
|
case 21:
|
|
410
410
|
e.a1 = c;
|
|
411
411
|
break;
|
|
412
|
-
case
|
|
412
|
+
case 33:
|
|
413
413
|
e.disabled = c;
|
|
414
414
|
break;
|
|
415
|
-
case
|
|
415
|
+
case 34:
|
|
416
416
|
e.d8 = c;
|
|
417
417
|
break;
|
|
418
|
-
case
|
|
418
|
+
case 106:
|
|
419
419
|
e.selectionStart = typeGetValue(c);
|
|
420
420
|
break;
|
|
421
|
-
case
|
|
421
|
+
case 107:
|
|
422
422
|
e.selectionEnd = typeGetValue(c);
|
|
423
423
|
break;
|
|
424
|
-
case
|
|
424
|
+
case 108:
|
|
425
425
|
d.an = c;
|
|
426
426
|
break;
|
|
427
427
|
}
|
|
@@ -165,28 +165,28 @@ let XPopupBridge = /*@__PURE__*/ (() => {
|
|
|
165
165
|
let c = a;
|
|
166
166
|
switch (b) {
|
|
167
167
|
case 22: return c.ax;
|
|
168
|
-
case
|
|
169
|
-
case
|
|
168
|
+
case 61: return c.av;
|
|
169
|
+
case 62: return c.aq;
|
|
170
170
|
case 25: return c.am;
|
|
171
171
|
case 26: return c.a9;
|
|
172
172
|
case 17: return c.a1;
|
|
173
173
|
case 23: return c.c0;
|
|
174
|
-
case
|
|
174
|
+
case 36: switch (c.p) {
|
|
175
175
|
case 1: return enumGetBox(NativeUIPopupAnimationType_$type, 1);
|
|
176
176
|
default: return enumGetBox(NativeUIPopupAnimationType_$type, 0);
|
|
177
177
|
}
|
|
178
|
-
case
|
|
179
|
-
case
|
|
180
|
-
case
|
|
181
|
-
case
|
|
182
|
-
case
|
|
178
|
+
case 37: return c.at;
|
|
179
|
+
case 38: return c.as;
|
|
180
|
+
case 41: return c.bb;
|
|
181
|
+
case 42: return c.au;
|
|
182
|
+
case 44: switch (c.v) {
|
|
183
183
|
case 1: return enumGetBox(NativeUIPopupPointerPosition_$type, 1);
|
|
184
184
|
default: return enumGetBox(NativeUIPopupPointerPosition_$type, 2);
|
|
185
185
|
}
|
|
186
|
-
case
|
|
187
|
-
case
|
|
188
|
-
case
|
|
189
|
-
case
|
|
186
|
+
case 43: return c.c4;
|
|
187
|
+
case 40: return c.ao;
|
|
188
|
+
case 63: return c.a4;
|
|
189
|
+
case 111: return c.ay;
|
|
190
190
|
}
|
|
191
191
|
return super.getValue(a, b);
|
|
192
192
|
}
|
|
@@ -205,7 +205,7 @@ let XPopupBridge = /*@__PURE__*/ (() => {
|
|
|
205
205
|
case 23:
|
|
206
206
|
d.c0 = c;
|
|
207
207
|
break;
|
|
208
|
-
case
|
|
208
|
+
case 36:
|
|
209
209
|
switch (EnumUtil.getEnumValue(NativeUIPopupAnimationType_$type, c)) {
|
|
210
210
|
case 1:
|
|
211
211
|
d.p = 1;
|
|
@@ -215,22 +215,22 @@ let XPopupBridge = /*@__PURE__*/ (() => {
|
|
|
215
215
|
break;
|
|
216
216
|
}
|
|
217
217
|
break;
|
|
218
|
-
case
|
|
218
|
+
case 37:
|
|
219
219
|
d.at = c;
|
|
220
220
|
break;
|
|
221
|
-
case
|
|
221
|
+
case 38:
|
|
222
222
|
d.as = c;
|
|
223
223
|
break;
|
|
224
|
-
case
|
|
224
|
+
case 41:
|
|
225
225
|
d.bb = typeGetValue(c);
|
|
226
226
|
break;
|
|
227
|
-
case
|
|
227
|
+
case 42:
|
|
228
228
|
d.au = c;
|
|
229
229
|
break;
|
|
230
|
-
case
|
|
230
|
+
case 43:
|
|
231
231
|
d.c4 = c;
|
|
232
232
|
break;
|
|
233
|
-
case
|
|
233
|
+
case 44:
|
|
234
234
|
switch (EnumUtil.getEnumValue(NativeUIPopupPointerPosition_$type, c)) {
|
|
235
235
|
case 1:
|
|
236
236
|
d.v = 1;
|
|
@@ -240,13 +240,13 @@ let XPopupBridge = /*@__PURE__*/ (() => {
|
|
|
240
240
|
break;
|
|
241
241
|
}
|
|
242
242
|
break;
|
|
243
|
-
case
|
|
243
|
+
case 40:
|
|
244
244
|
d.ao = c;
|
|
245
245
|
break;
|
|
246
|
-
case
|
|
246
|
+
case 63:
|
|
247
247
|
d.a4 = c;
|
|
248
248
|
break;
|
|
249
|
-
case
|
|
249
|
+
case 111:
|
|
250
250
|
d.ay = c;
|
|
251
251
|
break;
|
|
252
252
|
}
|
|
@@ -288,7 +288,7 @@ let XPopupBridge = /*@__PURE__*/ (() => {
|
|
|
288
288
|
}
|
|
289
289
|
}
|
|
290
290
|
exportVisualData(a) {
|
|
291
|
-
return a.
|
|
291
|
+
return a.bi();
|
|
292
292
|
}
|
|
293
293
|
addChild(a, b) {
|
|
294
294
|
this.ae.add(b);
|
|
@@ -2,12 +2,12 @@ import { IgCollection } from "igniteui-webcomponents-core";
|
|
|
2
2
|
import { markType } from "igniteui-webcomponents-core";
|
|
3
3
|
import { SyncableObservableCollection$2 } from "igniteui-webcomponents-core";
|
|
4
4
|
import { MultiSliderThumb as MultiSliderThumb_internal } from './MultiSliderThumb';
|
|
5
|
-
import {
|
|
5
|
+
import { IgcMultiSliderThumbComponent as IgcMultiSliderThumbComponent } from './igc-multi-slider-thumb-component';
|
|
6
6
|
export class IgcMultiSliderThumbCollection extends IgCollection {
|
|
7
7
|
constructor(list) {
|
|
8
8
|
super();
|
|
9
|
-
if (!
|
|
10
|
-
|
|
9
|
+
if (!IgcMultiSliderThumbComponent.$type) {
|
|
10
|
+
IgcMultiSliderThumbComponent.$type = markType(IgcMultiSliderThumbComponent, "IgcMultiSliderThumbComponent");
|
|
11
11
|
}
|
|
12
12
|
if (list) {
|
|
13
13
|
for (let i = 0; i < list.length; i++) {
|
|
@@ -16,10 +16,10 @@ export class IgcMultiSliderThumbCollection extends IgCollection {
|
|
|
16
16
|
}
|
|
17
17
|
}
|
|
18
18
|
_createInnerColl() {
|
|
19
|
-
if (!
|
|
20
|
-
|
|
19
|
+
if (!IgcMultiSliderThumbComponent.$type) {
|
|
20
|
+
IgcMultiSliderThumbComponent.$type = markType(IgcMultiSliderThumbComponent, "IgcMultiSliderThumbComponent");
|
|
21
21
|
}
|
|
22
|
-
let coll = new SyncableObservableCollection$2(
|
|
22
|
+
let coll = new SyncableObservableCollection$2(IgcMultiSliderThumbComponent.$type, MultiSliderThumb_internal.$type, 0);
|
|
23
23
|
coll.compare = (ext, int) => {
|
|
24
24
|
let comp = ext;
|
|
25
25
|
if (comp._implementation) {
|
|
@@ -36,7 +36,7 @@ export class IgcMultiSliderThumbCollection extends IgCollection {
|
|
|
36
36
|
coll.createFrom = (int) => {
|
|
37
37
|
let ext = int.externalObject;
|
|
38
38
|
if (!ext) {
|
|
39
|
-
ext = new
|
|
39
|
+
ext = new IgcMultiSliderThumbComponent();
|
|
40
40
|
if (ext) {
|
|
41
41
|
if (!int.$type && ext._implementation.setNativeElement) {
|
|
42
42
|
ext._implementation.setNativeElement(int);
|
|
@@ -0,0 +1,271 @@
|
|
|
1
|
+
import { IgcHTMLElement } from "igniteui-webcomponents-core";
|
|
2
|
+
import { delegateCombine, delegateRemove } from "igniteui-webcomponents-core";
|
|
3
|
+
import { MultiSliderThumbRangePosition_$type } from "./MultiSliderThumbRangePosition";
|
|
4
|
+
import { IgcMultiSliderTrackThumbRange } from "./igc-multi-slider-track-thumb-range";
|
|
5
|
+
import { IgcPropertyUpdatedEventArgs } from "igniteui-webcomponents-core";
|
|
6
|
+
import { MultiSliderThumb } from "./MultiSliderThumb";
|
|
7
|
+
import { TypeRegistrar } from "igniteui-webcomponents-core";
|
|
8
|
+
import { NamePatcher, getAllPropertyNames, fromSpinal, toSpinal, ensureEnum, enumToString, initializePropertiesFromCss } from "igniteui-webcomponents-core";
|
|
9
|
+
import { RegisterElementHelper } from "igniteui-webcomponents-core";
|
|
10
|
+
let IgcMultiSliderThumbComponent = /*@__PURE__*/ (() => {
|
|
11
|
+
class IgcMultiSliderThumbComponent extends IgcHTMLElement {
|
|
12
|
+
createImplementation() {
|
|
13
|
+
return new MultiSliderThumb();
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* @hidden
|
|
17
|
+
*/
|
|
18
|
+
get i() {
|
|
19
|
+
return this._implementation;
|
|
20
|
+
} /**
|
|
21
|
+
* @hidden
|
|
22
|
+
*/
|
|
23
|
+
static _createFromInternal(internal) {
|
|
24
|
+
if (!internal) {
|
|
25
|
+
return null;
|
|
26
|
+
}
|
|
27
|
+
if (!internal.$type) {
|
|
28
|
+
return null;
|
|
29
|
+
}
|
|
30
|
+
let name = internal.$type.name;
|
|
31
|
+
let externalName = "Igc" + name + "Component";
|
|
32
|
+
if (!TypeRegistrar.isRegistered(externalName)) {
|
|
33
|
+
return null;
|
|
34
|
+
}
|
|
35
|
+
return TypeRegistrar.create(externalName);
|
|
36
|
+
}
|
|
37
|
+
onImplementationCreated() {
|
|
38
|
+
}
|
|
39
|
+
constructor() {
|
|
40
|
+
super();
|
|
41
|
+
this._settingAttributes = false;
|
|
42
|
+
this._attached = false;
|
|
43
|
+
this._queuedSetAttributes = [];
|
|
44
|
+
this._updatingFromAttribute = false;
|
|
45
|
+
this.__p = null;
|
|
46
|
+
this._hasUserValues = new Set();
|
|
47
|
+
this._stylingContainer = null;
|
|
48
|
+
this._stylingParent = null;
|
|
49
|
+
this._inStyling = false;
|
|
50
|
+
this._propertyUpdated = null;
|
|
51
|
+
this._propertyUpdated_wrapped = null;
|
|
52
|
+
if (this._styling) {
|
|
53
|
+
NamePatcher.ensureStylablePatched(Object.getPrototypeOf(this));
|
|
54
|
+
}
|
|
55
|
+
this._implementation = this.createImplementation();
|
|
56
|
+
this._implementation.externalObject = this;
|
|
57
|
+
this.onImplementationCreated();
|
|
58
|
+
if (this._initializeAdapters) {
|
|
59
|
+
this._initializeAdapters();
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
_enqueueSetAttribute(attrName, attrValue) {
|
|
63
|
+
this._queuedSetAttributes.push({ attrName: attrName, attrValue: attrValue });
|
|
64
|
+
}
|
|
65
|
+
_flushQueuedAttributes() {
|
|
66
|
+
this._settingAttributes = true;
|
|
67
|
+
for (let i = 0; i < this._queuedSetAttributes.length; i++) {
|
|
68
|
+
this.setAttribute(this._queuedSetAttributes[i].attrName, this._queuedSetAttributes[i].attrValue);
|
|
69
|
+
}
|
|
70
|
+
this._settingAttributes = false;
|
|
71
|
+
this._queuedSetAttributes.length = 0;
|
|
72
|
+
}
|
|
73
|
+
_a(attrName, attrValue) {
|
|
74
|
+
if (this._updatingFromAttribute) {
|
|
75
|
+
return;
|
|
76
|
+
}
|
|
77
|
+
if (attrValue) {
|
|
78
|
+
attrValue = attrValue.toString();
|
|
79
|
+
}
|
|
80
|
+
this._settingAttributes = true;
|
|
81
|
+
attrName = toSpinal(attrName);
|
|
82
|
+
if (this._attached) {
|
|
83
|
+
this.setAttribute(attrName, attrValue);
|
|
84
|
+
}
|
|
85
|
+
else {
|
|
86
|
+
this._enqueueSetAttribute(attrName, attrValue);
|
|
87
|
+
}
|
|
88
|
+
this._settingAttributes = false;
|
|
89
|
+
}
|
|
90
|
+
connectedCallback() {
|
|
91
|
+
if (super["connectedCallback"]) {
|
|
92
|
+
super["connectedCallback"]();
|
|
93
|
+
}
|
|
94
|
+
if (this.i.connectedCallback) {
|
|
95
|
+
this.i.connectedCallback();
|
|
96
|
+
}
|
|
97
|
+
if (!this._attached) {
|
|
98
|
+
this._attached = true;
|
|
99
|
+
this._flushQueuedAttributes();
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
disconnectedCallback() {
|
|
103
|
+
if (super["disconnectedCallback"]) {
|
|
104
|
+
super["disconnectedCallback"]();
|
|
105
|
+
}
|
|
106
|
+
if (this.i.disconnectedCallback) {
|
|
107
|
+
this.i.disconnectedCallback();
|
|
108
|
+
}
|
|
109
|
+
if (this._attached) {
|
|
110
|
+
this._attached = false;
|
|
111
|
+
}
|
|
112
|
+
}
|
|
113
|
+
static get observedAttributes() {
|
|
114
|
+
if (IgcMultiSliderThumbComponent._observedAttributesIgcMultiSliderThumbComponent == null) {
|
|
115
|
+
let names = getAllPropertyNames(IgcMultiSliderThumbComponent);
|
|
116
|
+
for (let i = 0; i < names.length; i++) {
|
|
117
|
+
names[i] = toSpinal(names[i]);
|
|
118
|
+
}
|
|
119
|
+
IgcMultiSliderThumbComponent._observedAttributesIgcMultiSliderThumbComponent = names;
|
|
120
|
+
}
|
|
121
|
+
return IgcMultiSliderThumbComponent._observedAttributesIgcMultiSliderThumbComponent;
|
|
122
|
+
}
|
|
123
|
+
attributeChangedCallback(name, oldValue, newValue) {
|
|
124
|
+
if (this._settingAttributes) {
|
|
125
|
+
return;
|
|
126
|
+
}
|
|
127
|
+
let setName = fromSpinal(name);
|
|
128
|
+
this._updatingFromAttribute = true;
|
|
129
|
+
this[setName] = newValue;
|
|
130
|
+
this._updatingFromAttribute = false;
|
|
131
|
+
}
|
|
132
|
+
static register() {
|
|
133
|
+
if (!IgcMultiSliderThumbComponent._isElementRegistered) {
|
|
134
|
+
IgcMultiSliderThumbComponent._isElementRegistered = true;
|
|
135
|
+
RegisterElementHelper.registerElement(IgcMultiSliderThumbComponent.htmlTagName, IgcMultiSliderThumbComponent);
|
|
136
|
+
}
|
|
137
|
+
}
|
|
138
|
+
get value() {
|
|
139
|
+
return this.i.s;
|
|
140
|
+
}
|
|
141
|
+
set value(v) {
|
|
142
|
+
this.i.s = +v;
|
|
143
|
+
this._a("value", this.i.s);
|
|
144
|
+
}
|
|
145
|
+
get rangePosition() {
|
|
146
|
+
return this.i.g;
|
|
147
|
+
}
|
|
148
|
+
set rangePosition(v) {
|
|
149
|
+
this.i.g = ensureEnum(MultiSliderThumbRangePosition_$type, v);
|
|
150
|
+
this._a("rangePosition", enumToString(MultiSliderThumbRangePosition_$type, this.i.g));
|
|
151
|
+
}
|
|
152
|
+
get range() {
|
|
153
|
+
const r = this.i.i;
|
|
154
|
+
if (r == null) {
|
|
155
|
+
return null;
|
|
156
|
+
}
|
|
157
|
+
if (!r.externalObject) {
|
|
158
|
+
let e = new IgcMultiSliderTrackThumbRange();
|
|
159
|
+
if (r.$type) {
|
|
160
|
+
e._implementation = r;
|
|
161
|
+
}
|
|
162
|
+
else {
|
|
163
|
+
if (e.i.setNativeElement) {
|
|
164
|
+
e.i.setNativeElement(r);
|
|
165
|
+
}
|
|
166
|
+
}
|
|
167
|
+
r.externalObject = e;
|
|
168
|
+
}
|
|
169
|
+
return r.externalObject;
|
|
170
|
+
}
|
|
171
|
+
set range(v) {
|
|
172
|
+
v == null ? this.i.i = null : this.i.i = v.i;
|
|
173
|
+
}
|
|
174
|
+
findByName(name) {
|
|
175
|
+
if (this.findEphemera) {
|
|
176
|
+
if (name && name.indexOf("@@e:") == 0) {
|
|
177
|
+
return this.findEphemera(name);
|
|
178
|
+
}
|
|
179
|
+
}
|
|
180
|
+
if (this.range && this.range.name && this.range.name == name) {
|
|
181
|
+
return this.range;
|
|
182
|
+
}
|
|
183
|
+
return null;
|
|
184
|
+
}
|
|
185
|
+
get hasUserValues() {
|
|
186
|
+
return this._hasUserValues;
|
|
187
|
+
}
|
|
188
|
+
__m(propertyName) {
|
|
189
|
+
if (!this._inStyling) {
|
|
190
|
+
this._hasUserValues.add(propertyName);
|
|
191
|
+
}
|
|
192
|
+
}
|
|
193
|
+
_styling(container, component, parent) {
|
|
194
|
+
if (this._inStyling) {
|
|
195
|
+
return;
|
|
196
|
+
}
|
|
197
|
+
this._inStyling = true;
|
|
198
|
+
this._stylingContainer = container;
|
|
199
|
+
this._stylingParent = component;
|
|
200
|
+
let genericPrefix = "";
|
|
201
|
+
let typeName = this.i.$type.name;
|
|
202
|
+
if (typeName.indexOf("Xam") === 0) {
|
|
203
|
+
typeName = typeName.substring(3);
|
|
204
|
+
}
|
|
205
|
+
genericPrefix = toSpinal("MultiSliderThumbComponent");
|
|
206
|
+
let additionalPrefixes = [];
|
|
207
|
+
let prefix = toSpinal(typeName);
|
|
208
|
+
additionalPrefixes.push(prefix + "-");
|
|
209
|
+
let b = this.i.$type.baseType;
|
|
210
|
+
while (b && b.name != "Object" &&
|
|
211
|
+
b.name != "Base" &&
|
|
212
|
+
b.name != "Control" &&
|
|
213
|
+
b.Name != "DependencyObject" &&
|
|
214
|
+
b.Name != "FrameworkElement") {
|
|
215
|
+
typeName = b.name;
|
|
216
|
+
if (typeName.indexOf("Xam") === 0) {
|
|
217
|
+
typeName = typeName.substring(3);
|
|
218
|
+
}
|
|
219
|
+
let basePrefix = toSpinal(typeName);
|
|
220
|
+
additionalPrefixes.push(basePrefix + "-");
|
|
221
|
+
b = b.baseType;
|
|
222
|
+
}
|
|
223
|
+
if (parent) {
|
|
224
|
+
let parentTypeName = parent.i.$type.name;
|
|
225
|
+
if (parentTypeName.indexOf("Xam") === 0) {
|
|
226
|
+
parentTypeName = parentTypeName.substring(3);
|
|
227
|
+
}
|
|
228
|
+
let parentPrefix = toSpinal(parentTypeName);
|
|
229
|
+
additionalPrefixes.push(parentPrefix + "-" + genericPrefix + "-");
|
|
230
|
+
additionalPrefixes.push(parentPrefix + "-" + prefix + "-");
|
|
231
|
+
}
|
|
232
|
+
initializePropertiesFromCss(container, this, genericPrefix + "-", this.hasUserValues, false, additionalPrefixes);
|
|
233
|
+
if (this._otherStyling) {
|
|
234
|
+
this._otherStyling(container, component, parent);
|
|
235
|
+
}
|
|
236
|
+
this._inStyling = false;
|
|
237
|
+
}
|
|
238
|
+
push(amount) {
|
|
239
|
+
let iv = this.i.r(amount);
|
|
240
|
+
return (iv);
|
|
241
|
+
}
|
|
242
|
+
get propertyUpdated() {
|
|
243
|
+
return this._propertyUpdated;
|
|
244
|
+
}
|
|
245
|
+
set propertyUpdated(ev) {
|
|
246
|
+
if (this._propertyUpdated_wrapped !== null) {
|
|
247
|
+
this.i.propertyUpdated = delegateRemove(this.i.propertyUpdated, this._propertyUpdated_wrapped);
|
|
248
|
+
this._propertyUpdated_wrapped = null;
|
|
249
|
+
this._propertyUpdated = null;
|
|
250
|
+
}
|
|
251
|
+
this._propertyUpdated = ev;
|
|
252
|
+
this._propertyUpdated_wrapped = (o, e) => {
|
|
253
|
+
let outerArgs = new IgcPropertyUpdatedEventArgs();
|
|
254
|
+
outerArgs._provideImplementation(e);
|
|
255
|
+
if (this.beforePropertyUpdated) {
|
|
256
|
+
this.beforePropertyUpdated(this, outerArgs);
|
|
257
|
+
}
|
|
258
|
+
if (this._propertyUpdated) {
|
|
259
|
+
this._propertyUpdated(this, outerArgs);
|
|
260
|
+
}
|
|
261
|
+
};
|
|
262
|
+
this.i.propertyUpdated = delegateCombine(this.i.propertyUpdated, this._propertyUpdated_wrapped);
|
|
263
|
+
;
|
|
264
|
+
}
|
|
265
|
+
}
|
|
266
|
+
IgcMultiSliderThumbComponent._observedAttributesIgcMultiSliderThumbComponent = null;
|
|
267
|
+
IgcMultiSliderThumbComponent.htmlTagName = "igc-multi-slider-thumb";
|
|
268
|
+
IgcMultiSliderThumbComponent._isElementRegistered = false;
|
|
269
|
+
return IgcMultiSliderThumbComponent;
|
|
270
|
+
})();
|
|
271
|
+
export { IgcMultiSliderThumbComponent };
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/*
|
|
2
|
+
THIS INFRAGISTICS ULTIMATE SOFTWARE LICENSE AGREEMENT ("AGREEMENT") LOCATED HERE:
|
|
3
|
+
https://www.infragistics.com/legal/license/igultimate-la
|
|
4
|
+
https://www.infragistics.com/legal/license/igultimate-eula
|
|
5
|
+
GOVERNS THE LICENSING, INSTALLATION AND USE OF INFRAGISTICS SOFTWARE. BY DOWNLOADING AND/OR INSTALLING AND USING INFRAGISTICS SOFTWARE: you are indicating that you have read and understand this Agreement, and agree to be legally bound by it on behalf of the yourself and your company.
|
|
6
|
+
*/
|
|
7
|
+
import { IgcMultiSliderThumbComponent } from './igc-multi-slider-thumb-component';
|
|
8
|
+
import { MultiSliderThumb } from './MultiSliderThumb';
|
|
9
|
+
import { TypeRegistrar } from "igniteui-webcomponents-core";
|
|
10
|
+
export class IgcMultiSliderThumbModule {
|
|
11
|
+
static register() {
|
|
12
|
+
IgcMultiSliderThumbComponent.register();
|
|
13
|
+
TypeRegistrar.registerCons("IgcMultiSliderThumbComponent", IgcMultiSliderThumbComponent);
|
|
14
|
+
TypeRegistrar.register("MultiSliderThumb", MultiSliderThumb.$type);
|
|
15
|
+
}
|
|
16
|
+
}
|