igniteui-webcomponents-inputs 7.1.0-alpha.0 → 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.
Files changed (77) hide show
  1. package/bundles/igniteui-webcomponents-inputs.umd.js +4621 -4122
  2. package/bundles/igniteui-webcomponents-inputs.umd.min.js +1 -1
  3. package/esm2015/lib/ButtonGroupView_combined.js +642 -628
  4. package/esm2015/lib/ButtonView_combined.js +2039 -1746
  5. package/esm2015/lib/CalendarView_combined.js +160 -160
  6. package/esm2015/lib/CheckboxView_combined.js +62 -62
  7. package/esm2015/lib/DatePickerView_combined.js +4 -4
  8. package/esm2015/lib/IconView_combined.js +163 -163
  9. package/esm2015/lib/InputGroupView_combined.js +240 -240
  10. package/esm2015/lib/MultiSliderBridge.js +14 -14
  11. package/esm2015/lib/MultiSliderView_combined.js +17 -17
  12. package/esm2015/lib/NativeUIXInputsFactory_combined.js +202 -202
  13. package/esm2015/lib/RippleView_combined.js +3 -3
  14. package/esm2015/lib/ThemeResolver.js +38 -22
  15. package/esm2015/lib/XButtonBridge.js +65 -57
  16. package/esm2015/lib/XButtonGroupBridge.js +19 -15
  17. package/esm2015/lib/XCheckboxBridge.js +8 -8
  18. package/esm2015/lib/XComponentBridge.js +4 -2
  19. package/esm2015/lib/XIconBridge.js +23 -23
  20. package/esm2015/lib/XIconButtonBridge.js +7 -7
  21. package/esm2015/lib/XInputBridge.js +18 -18
  22. package/esm2015/lib/XPopupBridge.js +28 -28
  23. package/esm2015/lib/igc-multi-slider-thumb-collection.js +7 -7
  24. package/esm2015/lib/igc-multi-slider-thumb-component.js +271 -0
  25. package/esm2015/lib/igc-multi-slider-thumb-module.js +16 -0
  26. package/esm2015/lib/igc-multi-slider-thumb-value-changing-event-args.js +3 -8
  27. package/esm2015/lib/igc-multi-slider-track-thumb-range.js +5 -15
  28. package/esm2015/lib/igc-x-button-component.js +567 -567
  29. package/esm2015/lib/igc-x-button-group-component.js +184 -184
  30. package/esm2015/lib/igc-x-icon-component.js +10 -10
  31. package/esm2015/public_api.js +2 -1
  32. package/esm5/lib/ButtonGroupView_combined.js +620 -606
  33. package/esm5/lib/ButtonView_combined.js +1953 -1660
  34. package/esm5/lib/CalendarView_combined.js +160 -160
  35. package/esm5/lib/CheckboxView_combined.js +62 -62
  36. package/esm5/lib/DatePickerView_combined.js +4 -4
  37. package/esm5/lib/IconView_combined.js +158 -158
  38. package/esm5/lib/InputGroupView_combined.js +240 -240
  39. package/esm5/lib/MultiSliderBridge.js +14 -14
  40. package/esm5/lib/MultiSliderView_combined.js +17 -17
  41. package/esm5/lib/NativeUIXInputsFactory_combined.js +202 -202
  42. package/esm5/lib/RippleView_combined.js +3 -3
  43. package/esm5/lib/ThemeResolver.js +38 -22
  44. package/esm5/lib/XButtonBridge.js +65 -57
  45. package/esm5/lib/XButtonGroupBridge.js +19 -15
  46. package/esm5/lib/XCheckboxBridge.js +8 -8
  47. package/esm5/lib/XComponentBridge.js +4 -2
  48. package/esm5/lib/XIconBridge.js +23 -23
  49. package/esm5/lib/XIconButtonBridge.js +7 -7
  50. package/esm5/lib/XInputBridge.js +18 -18
  51. package/esm5/lib/XPopupBridge.js +28 -28
  52. package/esm5/lib/igc-multi-slider-thumb-collection.js +7 -7
  53. package/esm5/lib/igc-multi-slider-thumb-component.js +300 -0
  54. package/esm5/lib/igc-multi-slider-thumb-module.js +20 -0
  55. package/esm5/lib/igc-multi-slider-thumb-value-changing-event-args.js +3 -8
  56. package/esm5/lib/igc-multi-slider-track-thumb-range.js +5 -15
  57. package/esm5/lib/igc-x-button-component.js +567 -567
  58. package/esm5/lib/igc-x-button-group-component.js +184 -184
  59. package/esm5/lib/igc-x-icon-component.js +10 -10
  60. package/esm5/public_api.js +2 -1
  61. package/fesm2015/igniteui-webcomponents-inputs.js +4947 -4459
  62. package/fesm5/igniteui-webcomponents-inputs.js +4621 -4123
  63. package/lib/ButtonGroupView_combined.d.ts +181 -179
  64. package/lib/ButtonView_combined.d.ts +479 -478
  65. package/lib/IconView_combined.d.ts +33 -34
  66. package/lib/MultiSliderView_combined.d.ts +1 -1
  67. package/lib/ThemeResolver.d.ts +18 -15
  68. package/lib/igc-multi-slider-thumb-collection.d.ts +4 -4
  69. package/lib/igc-multi-slider-thumb-component.d.ts +53 -0
  70. package/lib/igc-multi-slider-thumb-module.d.ts +3 -0
  71. package/lib/igc-multi-slider-thumb-value-changing-event-args.d.ts +3 -3
  72. package/lib/igc-multi-slider-track-thumb-range.d.ts +5 -5
  73. package/package.json +2 -2
  74. package/public_api.d.ts +2 -1
  75. package/esm2015/lib/igc-multi-slider-thumb.js +0 -109
  76. package/esm5/lib/igc-multi-slider-thumb.js +0 -132
  77. package/lib/igc-multi-slider-thumb.d.ts +0 -27
@@ -24,12 +24,12 @@ export var XIconButtonBridge = /** @class */ /*@__PURE__*/ (function (_super) {
24
24
  switch (b) {
25
25
  case 15:
26
26
  case 16:
27
- case 44:
28
27
  case 45:
29
28
  case 46:
30
29
  case 47:
31
30
  case 48:
32
- case 49: return this.al.t;
31
+ case 49:
32
+ case 50: return this.al.t;
33
33
  }
34
34
  return _super.prototype.getTargetForBuildInProperty.call(this, a, b);
35
35
  };
@@ -45,13 +45,13 @@ export var XIconButtonBridge = /** @class */ /*@__PURE__*/ (function (_super) {
45
45
  switch (b) {
46
46
  case 16:
47
47
  case 15:
48
- case 44:
49
48
  case 45:
50
49
  case 46:
51
50
  case 47:
52
51
  case 48:
53
- case 49: return this.al.getValue(a, b);
54
- case 18: return enumGetBox(BaseControlTheme_$type, a.n);
52
+ case 49:
53
+ case 50: return this.al.getValue(a, b);
54
+ case 18: return enumGetBox(BaseControlTheme_$type, a.o);
55
55
  }
56
56
  return _super.prototype.getValue.call(this, a, b);
57
57
  };
@@ -60,16 +60,16 @@ export var XIconButtonBridge = /** @class */ /*@__PURE__*/ (function (_super) {
60
60
  switch (b) {
61
61
  case 16:
62
62
  case 15:
63
- case 44:
64
63
  case 45:
65
64
  case 46:
66
65
  case 47:
67
66
  case 48:
68
67
  case 49:
68
+ case 50:
69
69
  this.al.setValue(a, b, c);
70
70
  break;
71
71
  case 18:
72
- a.n = EnumUtil.getEnumValue(BaseControlTheme_$type, c);
72
+ a.o = EnumUtil.getEnumValue(BaseControlTheme_$type, c);
73
73
  break;
74
74
  }
75
75
  };
@@ -268,18 +268,18 @@ export var XInputBridge = /** @class */ /*@__PURE__*/ (function (_super) {
268
268
  var c = a;
269
269
  var d = typeCast(XInput.$, c.inputs._inner[0]);
270
270
  switch (b) {
271
- case 103: return a.mc;
271
+ case 104: return a.mc;
272
272
  case 3:
273
273
  this.an(a);
274
274
  var e = this.v(a);
275
275
  return e.text;
276
- case 100:
276
+ case 101:
277
277
  this.ao(a);
278
278
  return this.u.svgPath;
279
- case 101:
279
+ case 102:
280
280
  this.ao(a);
281
281
  return this.u.fill;
282
- case 102:
282
+ case 103:
283
283
  this.ao(a);
284
284
  return this.u.ea;
285
285
  case 2: return d.cq;
@@ -315,11 +315,11 @@ export var XInputBridge = /** @class */ /*@__PURE__*/ (function (_super) {
315
315
  }
316
316
  break;
317
317
  case 21: return d.a1;
318
- case 32: return d.disabled;
319
- case 33: return d.d8;
320
- case 105: return d.selectionStart;
321
- case 106: return d.selectionEnd;
322
- case 107: return c.an;
318
+ case 33: return d.disabled;
319
+ case 34: return d.d8;
320
+ case 106: return d.selectionStart;
321
+ case 107: return d.selectionEnd;
322
+ case 108: return c.an;
323
323
  }
324
324
  return null;
325
325
  };
@@ -327,7 +327,7 @@ export var XInputBridge = /** @class */ /*@__PURE__*/ (function (_super) {
327
327
  var d = a;
328
328
  var e = typeCast(XInput.$, d.inputs._inner[0]);
329
329
  switch (b) {
330
- case 103:
330
+ case 104:
331
331
  a.mc = c;
332
332
  break;
333
333
  case 3:
@@ -335,15 +335,15 @@ export var XInputBridge = /** @class */ /*@__PURE__*/ (function (_super) {
335
335
  var f = this.v(a);
336
336
  f.text = c;
337
337
  break;
338
- case 100:
338
+ case 101:
339
339
  this.ao(a);
340
340
  this.u.svgPath = c;
341
341
  break;
342
- case 101:
342
+ case 102:
343
343
  this.ao(a);
344
344
  this.u.fill = c;
345
345
  break;
346
- case 102:
346
+ case 103:
347
347
  this.ao(a);
348
348
  this.u.ea = c;
349
349
  break;
@@ -414,19 +414,19 @@ export var XInputBridge = /** @class */ /*@__PURE__*/ (function (_super) {
414
414
  case 21:
415
415
  e.a1 = c;
416
416
  break;
417
- case 32:
417
+ case 33:
418
418
  e.disabled = c;
419
419
  break;
420
- case 33:
420
+ case 34:
421
421
  e.d8 = c;
422
422
  break;
423
- case 105:
423
+ case 106:
424
424
  e.selectionStart = typeGetValue(c);
425
425
  break;
426
- case 106:
426
+ case 107:
427
427
  e.selectionEnd = typeGetValue(c);
428
428
  break;
429
- case 107:
429
+ case 108:
430
430
  d.an = c;
431
431
  break;
432
432
  }
@@ -170,28 +170,28 @@ export var XPopupBridge = /** @class */ /*@__PURE__*/ (function (_super) {
170
170
  var c = a;
171
171
  switch (b) {
172
172
  case 22: return c.ax;
173
- case 60: return c.av;
174
- case 61: return c.aq;
173
+ case 61: return c.av;
174
+ case 62: return c.aq;
175
175
  case 25: return c.am;
176
176
  case 26: return c.a9;
177
177
  case 17: return c.a1;
178
178
  case 23: return c.c0;
179
- case 35: switch (c.p) {
179
+ case 36: switch (c.p) {
180
180
  case 1: return enumGetBox(NativeUIPopupAnimationType_$type, 1);
181
181
  default: return enumGetBox(NativeUIPopupAnimationType_$type, 0);
182
182
  }
183
- case 36: return c.at;
184
- case 37: return c.as;
185
- case 40: return c.bb;
186
- case 41: return c.au;
187
- case 43: switch (c.v) {
183
+ case 37: return c.at;
184
+ case 38: return c.as;
185
+ case 41: return c.bb;
186
+ case 42: return c.au;
187
+ case 44: switch (c.v) {
188
188
  case 1: return enumGetBox(NativeUIPopupPointerPosition_$type, 1);
189
189
  default: return enumGetBox(NativeUIPopupPointerPosition_$type, 2);
190
190
  }
191
- case 42: return c.c4;
192
- case 39: return c.ao;
193
- case 62: return c.a4;
194
- case 110: return c.ay;
191
+ case 43: return c.c4;
192
+ case 40: return c.ao;
193
+ case 63: return c.a4;
194
+ case 111: return c.ay;
195
195
  }
196
196
  return _super.prototype.getValue.call(this, a, b);
197
197
  };
@@ -210,7 +210,7 @@ export var XPopupBridge = /** @class */ /*@__PURE__*/ (function (_super) {
210
210
  case 23:
211
211
  d.c0 = c;
212
212
  break;
213
- case 35:
213
+ case 36:
214
214
  switch (EnumUtil.getEnumValue(NativeUIPopupAnimationType_$type, c)) {
215
215
  case 1:
216
216
  d.p = 1;
@@ -220,22 +220,22 @@ export var XPopupBridge = /** @class */ /*@__PURE__*/ (function (_super) {
220
220
  break;
221
221
  }
222
222
  break;
223
- case 36:
223
+ case 37:
224
224
  d.at = c;
225
225
  break;
226
- case 37:
226
+ case 38:
227
227
  d.as = c;
228
228
  break;
229
- case 40:
229
+ case 41:
230
230
  d.bb = typeGetValue(c);
231
231
  break;
232
- case 41:
232
+ case 42:
233
233
  d.au = c;
234
234
  break;
235
- case 42:
235
+ case 43:
236
236
  d.c4 = c;
237
237
  break;
238
- case 43:
238
+ case 44:
239
239
  switch (EnumUtil.getEnumValue(NativeUIPopupPointerPosition_$type, c)) {
240
240
  case 1:
241
241
  d.v = 1;
@@ -245,13 +245,13 @@ export var XPopupBridge = /** @class */ /*@__PURE__*/ (function (_super) {
245
245
  break;
246
246
  }
247
247
  break;
248
- case 39:
248
+ case 40:
249
249
  d.ao = c;
250
250
  break;
251
- case 62:
251
+ case 63:
252
252
  d.a4 = c;
253
253
  break;
254
- case 110:
254
+ case 111:
255
255
  d.ay = c;
256
256
  break;
257
257
  }
@@ -261,7 +261,7 @@ export var XPopupBridge = /** @class */ /*@__PURE__*/ (function (_super) {
261
261
  a.showRelativeToExclusionRect(b, this.v(c), this.u(d));
262
262
  };
263
263
  XPopupBridge.prototype.showRelativeToTarget = function (a, b, c, d) {
264
- var e = b.an.getNativeElement();
264
+ var e = b.ao.getNativeElement();
265
265
  a.cr(e, this.v(c), this.u(d));
266
266
  };
267
267
  XPopupBridge.prototype.close = function (a) {
@@ -293,17 +293,17 @@ export var XPopupBridge = /** @class */ /*@__PURE__*/ (function (_super) {
293
293
  }
294
294
  };
295
295
  XPopupBridge.prototype.exportVisualData = function (a) {
296
- return a.bg();
296
+ return a.bi();
297
297
  };
298
298
  XPopupBridge.prototype.addChild = function (a, b) {
299
299
  this.ae.add(b);
300
300
  var c = a;
301
- c.appendPopupContent(b.an);
301
+ c.appendPopupContent(b.ao);
302
302
  };
303
303
  XPopupBridge.prototype.insertChild = function (a, b, c) {
304
304
  this.ae.add(c);
305
305
  var d = a;
306
- d.appendPopupContent(c.an);
306
+ d.appendPopupContent(c.ao);
307
307
  };
308
308
  XPopupBridge.prototype.getChildAt = function (a, b) {
309
309
  return this.ae._inner[b];
@@ -313,12 +313,12 @@ export var XPopupBridge = /** @class */ /*@__PURE__*/ (function (_super) {
313
313
  };
314
314
  XPopupBridge.prototype.removeChild = function (a, b) {
315
315
  var c = a;
316
- c.removePopupContent(b.an);
316
+ c.removePopupContent(b.ao);
317
317
  this.ae.remove(b);
318
318
  };
319
319
  XPopupBridge.prototype.removeChildAt = function (a, b) {
320
320
  var c = a;
321
- c.removePopupContent(this.ae._inner[b].an);
321
+ c.removePopupContent(this.ae._inner[b].ao);
322
322
  this.ae.removeAt(b);
323
323
  };
324
324
  XPopupBridge.$t = markType(XPopupBridge, 'XPopupBridge', XComponentBridge.$, [INativeUIPopupBridge_$type]);
@@ -3,13 +3,13 @@ import { IgCollection } from "igniteui-webcomponents-core";
3
3
  import { markType } from "igniteui-webcomponents-core";
4
4
  import { SyncableObservableCollection$2 } from "igniteui-webcomponents-core";
5
5
  import { MultiSliderThumb as MultiSliderThumb_internal } from './MultiSliderThumb';
6
- import { IgcMultiSliderThumb as IgcMultiSliderThumb } from './igc-multi-slider-thumb';
6
+ import { IgcMultiSliderThumbComponent as IgcMultiSliderThumbComponent } from './igc-multi-slider-thumb-component';
7
7
  var IgcMultiSliderThumbCollection = /** @class */ /*@__PURE__*/ (function (_super) {
8
8
  __extends(IgcMultiSliderThumbCollection, _super);
9
9
  function IgcMultiSliderThumbCollection(list) {
10
10
  var _this = _super.call(this) || this;
11
- if (!IgcMultiSliderThumb.$type) {
12
- IgcMultiSliderThumb.$type = markType(IgcMultiSliderThumb, "IgcMultiSliderThumb");
11
+ if (!IgcMultiSliderThumbComponent.$type) {
12
+ IgcMultiSliderThumbComponent.$type = markType(IgcMultiSliderThumbComponent, "IgcMultiSliderThumbComponent");
13
13
  }
14
14
  if (list) {
15
15
  for (var i = 0; i < list.length; i++) {
@@ -19,10 +19,10 @@ var IgcMultiSliderThumbCollection = /** @class */ /*@__PURE__*/ (function (_supe
19
19
  return _this;
20
20
  }
21
21
  IgcMultiSliderThumbCollection.prototype._createInnerColl = function () {
22
- if (!IgcMultiSliderThumb.$type) {
23
- IgcMultiSliderThumb.$type = markType(IgcMultiSliderThumb, "IgcMultiSliderThumb");
22
+ if (!IgcMultiSliderThumbComponent.$type) {
23
+ IgcMultiSliderThumbComponent.$type = markType(IgcMultiSliderThumbComponent, "IgcMultiSliderThumbComponent");
24
24
  }
25
- var coll = new SyncableObservableCollection$2(IgcMultiSliderThumb.$type, MultiSliderThumb_internal.$type, 0);
25
+ var coll = new SyncableObservableCollection$2(IgcMultiSliderThumbComponent.$type, MultiSliderThumb_internal.$type, 0);
26
26
  coll.compare = function (ext, int) {
27
27
  var comp = ext;
28
28
  if (comp._implementation) {
@@ -39,7 +39,7 @@ var IgcMultiSliderThumbCollection = /** @class */ /*@__PURE__*/ (function (_supe
39
39
  coll.createFrom = function (int) {
40
40
  var ext = int.externalObject;
41
41
  if (!ext) {
42
- ext = new IgcMultiSliderThumb();
42
+ ext = new IgcMultiSliderThumbComponent();
43
43
  if (ext) {
44
44
  if (!int.$type && ext._implementation.setNativeElement) {
45
45
  ext._implementation.setNativeElement(int);
@@ -0,0 +1,300 @@
1
+ import { __extends } from "tslib";
2
+ import { IgcHTMLElement } from "igniteui-webcomponents-core";
3
+ import { delegateCombine, delegateRemove } from "igniteui-webcomponents-core";
4
+ import { MultiSliderThumbRangePosition_$type } from "./MultiSliderThumbRangePosition";
5
+ import { IgcMultiSliderTrackThumbRange } from "./igc-multi-slider-track-thumb-range";
6
+ import { IgcPropertyUpdatedEventArgs } from "igniteui-webcomponents-core";
7
+ import { MultiSliderThumb } from "./MultiSliderThumb";
8
+ import { TypeRegistrar } from "igniteui-webcomponents-core";
9
+ import { NamePatcher, getAllPropertyNames, fromSpinal, toSpinal, ensureEnum, enumToString, initializePropertiesFromCss } from "igniteui-webcomponents-core";
10
+ import { RegisterElementHelper } from "igniteui-webcomponents-core";
11
+ export var IgcMultiSliderThumbComponent = /** @class */ /*@__PURE__*/ (function (_super) {
12
+ __extends(IgcMultiSliderThumbComponent, _super);
13
+ function IgcMultiSliderThumbComponent() {
14
+ var _this = _super.call(this) || this;
15
+ _this._settingAttributes = false;
16
+ _this._attached = false;
17
+ _this._queuedSetAttributes = [];
18
+ _this._updatingFromAttribute = false;
19
+ _this.__p = null;
20
+ _this._hasUserValues = new Set();
21
+ _this._stylingContainer = null;
22
+ _this._stylingParent = null;
23
+ _this._inStyling = false;
24
+ _this._propertyUpdated = null;
25
+ _this._propertyUpdated_wrapped = null;
26
+ if (_this._styling) {
27
+ NamePatcher.ensureStylablePatched(Object.getPrototypeOf(_this));
28
+ }
29
+ _this._implementation = _this.createImplementation();
30
+ _this._implementation.externalObject = _this;
31
+ _this.onImplementationCreated();
32
+ if (_this._initializeAdapters) {
33
+ _this._initializeAdapters();
34
+ }
35
+ return _this;
36
+ }
37
+ IgcMultiSliderThumbComponent.prototype.createImplementation = function () {
38
+ return new MultiSliderThumb();
39
+ };
40
+ Object.defineProperty(IgcMultiSliderThumbComponent.prototype, "i", {
41
+ /**
42
+ * @hidden
43
+ */
44
+ get: function () {
45
+ return this._implementation;
46
+ } /**
47
+ * @hidden
48
+ */,
49
+ enumerable: false,
50
+ configurable: true
51
+ });
52
+ IgcMultiSliderThumbComponent._createFromInternal = function (internal) {
53
+ if (!internal) {
54
+ return null;
55
+ }
56
+ if (!internal.$type) {
57
+ return null;
58
+ }
59
+ var name = internal.$type.name;
60
+ var externalName = "Igc" + name + "Component";
61
+ if (!TypeRegistrar.isRegistered(externalName)) {
62
+ return null;
63
+ }
64
+ return TypeRegistrar.create(externalName);
65
+ };
66
+ IgcMultiSliderThumbComponent.prototype.onImplementationCreated = function () {
67
+ };
68
+ IgcMultiSliderThumbComponent.prototype._enqueueSetAttribute = function (attrName, attrValue) {
69
+ this._queuedSetAttributes.push({ attrName: attrName, attrValue: attrValue });
70
+ };
71
+ IgcMultiSliderThumbComponent.prototype._flushQueuedAttributes = function () {
72
+ this._settingAttributes = true;
73
+ for (var i = 0; i < this._queuedSetAttributes.length; i++) {
74
+ this.setAttribute(this._queuedSetAttributes[i].attrName, this._queuedSetAttributes[i].attrValue);
75
+ }
76
+ this._settingAttributes = false;
77
+ this._queuedSetAttributes.length = 0;
78
+ };
79
+ IgcMultiSliderThumbComponent.prototype._a = function (attrName, attrValue) {
80
+ if (this._updatingFromAttribute) {
81
+ return;
82
+ }
83
+ if (attrValue) {
84
+ attrValue = attrValue.toString();
85
+ }
86
+ this._settingAttributes = true;
87
+ attrName = toSpinal(attrName);
88
+ if (this._attached) {
89
+ this.setAttribute(attrName, attrValue);
90
+ }
91
+ else {
92
+ this._enqueueSetAttribute(attrName, attrValue);
93
+ }
94
+ this._settingAttributes = false;
95
+ };
96
+ IgcMultiSliderThumbComponent.prototype.connectedCallback = function () {
97
+ if (_super.prototype["connectedCallback"]) {
98
+ _super.prototype["connectedCallback"].call(this);
99
+ }
100
+ if (this.i.connectedCallback) {
101
+ this.i.connectedCallback();
102
+ }
103
+ if (!this._attached) {
104
+ this._attached = true;
105
+ this._flushQueuedAttributes();
106
+ }
107
+ };
108
+ IgcMultiSliderThumbComponent.prototype.disconnectedCallback = function () {
109
+ if (_super.prototype["disconnectedCallback"]) {
110
+ _super.prototype["disconnectedCallback"].call(this);
111
+ }
112
+ if (this.i.disconnectedCallback) {
113
+ this.i.disconnectedCallback();
114
+ }
115
+ if (this._attached) {
116
+ this._attached = false;
117
+ }
118
+ };
119
+ Object.defineProperty(IgcMultiSliderThumbComponent, "observedAttributes", {
120
+ get: function () {
121
+ if (IgcMultiSliderThumbComponent._observedAttributesIgcMultiSliderThumbComponent == null) {
122
+ var names = getAllPropertyNames(IgcMultiSliderThumbComponent);
123
+ for (var i = 0; i < names.length; i++) {
124
+ names[i] = toSpinal(names[i]);
125
+ }
126
+ IgcMultiSliderThumbComponent._observedAttributesIgcMultiSliderThumbComponent = names;
127
+ }
128
+ return IgcMultiSliderThumbComponent._observedAttributesIgcMultiSliderThumbComponent;
129
+ },
130
+ enumerable: false,
131
+ configurable: true
132
+ });
133
+ IgcMultiSliderThumbComponent.prototype.attributeChangedCallback = function (name, oldValue, newValue) {
134
+ if (this._settingAttributes) {
135
+ return;
136
+ }
137
+ var setName = fromSpinal(name);
138
+ this._updatingFromAttribute = true;
139
+ this[setName] = newValue;
140
+ this._updatingFromAttribute = false;
141
+ };
142
+ IgcMultiSliderThumbComponent.register = function () {
143
+ if (!IgcMultiSliderThumbComponent._isElementRegistered) {
144
+ IgcMultiSliderThumbComponent._isElementRegistered = true;
145
+ RegisterElementHelper.registerElement(IgcMultiSliderThumbComponent.htmlTagName, IgcMultiSliderThumbComponent);
146
+ }
147
+ };
148
+ Object.defineProperty(IgcMultiSliderThumbComponent.prototype, "value", {
149
+ get: function () {
150
+ return this.i.s;
151
+ },
152
+ set: function (v) {
153
+ this.i.s = +v;
154
+ this._a("value", this.i.s);
155
+ },
156
+ enumerable: false,
157
+ configurable: true
158
+ });
159
+ Object.defineProperty(IgcMultiSliderThumbComponent.prototype, "rangePosition", {
160
+ get: function () {
161
+ return this.i.g;
162
+ },
163
+ set: function (v) {
164
+ this.i.g = ensureEnum(MultiSliderThumbRangePosition_$type, v);
165
+ this._a("rangePosition", enumToString(MultiSliderThumbRangePosition_$type, this.i.g));
166
+ },
167
+ enumerable: false,
168
+ configurable: true
169
+ });
170
+ Object.defineProperty(IgcMultiSliderThumbComponent.prototype, "range", {
171
+ get: function () {
172
+ var r = this.i.i;
173
+ if (r == null) {
174
+ return null;
175
+ }
176
+ if (!r.externalObject) {
177
+ var e = new IgcMultiSliderTrackThumbRange();
178
+ if (r.$type) {
179
+ e._implementation = r;
180
+ }
181
+ else {
182
+ if (e.i.setNativeElement) {
183
+ e.i.setNativeElement(r);
184
+ }
185
+ }
186
+ r.externalObject = e;
187
+ }
188
+ return r.externalObject;
189
+ },
190
+ set: function (v) {
191
+ v == null ? this.i.i = null : this.i.i = v.i;
192
+ },
193
+ enumerable: false,
194
+ configurable: true
195
+ });
196
+ IgcMultiSliderThumbComponent.prototype.findByName = function (name) {
197
+ if (this.findEphemera) {
198
+ if (name && name.indexOf("@@e:") == 0) {
199
+ return this.findEphemera(name);
200
+ }
201
+ }
202
+ if (this.range && this.range.name && this.range.name == name) {
203
+ return this.range;
204
+ }
205
+ return null;
206
+ };
207
+ Object.defineProperty(IgcMultiSliderThumbComponent.prototype, "hasUserValues", {
208
+ get: function () {
209
+ return this._hasUserValues;
210
+ },
211
+ enumerable: false,
212
+ configurable: true
213
+ });
214
+ IgcMultiSliderThumbComponent.prototype.__m = function (propertyName) {
215
+ if (!this._inStyling) {
216
+ this._hasUserValues.add(propertyName);
217
+ }
218
+ };
219
+ IgcMultiSliderThumbComponent.prototype._styling = function (container, component, parent) {
220
+ if (this._inStyling) {
221
+ return;
222
+ }
223
+ this._inStyling = true;
224
+ this._stylingContainer = container;
225
+ this._stylingParent = component;
226
+ var genericPrefix = "";
227
+ var typeName = this.i.$type.name;
228
+ if (typeName.indexOf("Xam") === 0) {
229
+ typeName = typeName.substring(3);
230
+ }
231
+ genericPrefix = toSpinal("MultiSliderThumbComponent");
232
+ var additionalPrefixes = [];
233
+ var prefix = toSpinal(typeName);
234
+ additionalPrefixes.push(prefix + "-");
235
+ var b = this.i.$type.baseType;
236
+ while (b && b.name != "Object" &&
237
+ b.name != "Base" &&
238
+ b.name != "Control" &&
239
+ b.Name != "DependencyObject" &&
240
+ b.Name != "FrameworkElement") {
241
+ typeName = b.name;
242
+ if (typeName.indexOf("Xam") === 0) {
243
+ typeName = typeName.substring(3);
244
+ }
245
+ var basePrefix = toSpinal(typeName);
246
+ additionalPrefixes.push(basePrefix + "-");
247
+ b = b.baseType;
248
+ }
249
+ if (parent) {
250
+ var parentTypeName = parent.i.$type.name;
251
+ if (parentTypeName.indexOf("Xam") === 0) {
252
+ parentTypeName = parentTypeName.substring(3);
253
+ }
254
+ var parentPrefix = toSpinal(parentTypeName);
255
+ additionalPrefixes.push(parentPrefix + "-" + genericPrefix + "-");
256
+ additionalPrefixes.push(parentPrefix + "-" + prefix + "-");
257
+ }
258
+ initializePropertiesFromCss(container, this, genericPrefix + "-", this.hasUserValues, false, additionalPrefixes);
259
+ if (this._otherStyling) {
260
+ this._otherStyling(container, component, parent);
261
+ }
262
+ this._inStyling = false;
263
+ };
264
+ IgcMultiSliderThumbComponent.prototype.push = function (amount) {
265
+ var iv = this.i.r(amount);
266
+ return (iv);
267
+ };
268
+ Object.defineProperty(IgcMultiSliderThumbComponent.prototype, "propertyUpdated", {
269
+ get: function () {
270
+ return this._propertyUpdated;
271
+ },
272
+ set: function (ev) {
273
+ var _this = this;
274
+ if (this._propertyUpdated_wrapped !== null) {
275
+ this.i.propertyUpdated = delegateRemove(this.i.propertyUpdated, this._propertyUpdated_wrapped);
276
+ this._propertyUpdated_wrapped = null;
277
+ this._propertyUpdated = null;
278
+ }
279
+ this._propertyUpdated = ev;
280
+ this._propertyUpdated_wrapped = function (o, e) {
281
+ var outerArgs = new IgcPropertyUpdatedEventArgs();
282
+ outerArgs._provideImplementation(e);
283
+ if (_this.beforePropertyUpdated) {
284
+ _this.beforePropertyUpdated(_this, outerArgs);
285
+ }
286
+ if (_this._propertyUpdated) {
287
+ _this._propertyUpdated(_this, outerArgs);
288
+ }
289
+ };
290
+ this.i.propertyUpdated = delegateCombine(this.i.propertyUpdated, this._propertyUpdated_wrapped);
291
+ ;
292
+ },
293
+ enumerable: false,
294
+ configurable: true
295
+ });
296
+ IgcMultiSliderThumbComponent._observedAttributesIgcMultiSliderThumbComponent = null;
297
+ IgcMultiSliderThumbComponent.htmlTagName = "igc-multi-slider-thumb";
298
+ IgcMultiSliderThumbComponent._isElementRegistered = false;
299
+ return IgcMultiSliderThumbComponent;
300
+ }(IgcHTMLElement));
@@ -0,0 +1,20 @@
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
+ var IgcMultiSliderThumbModule = /** @class */ /*@__PURE__*/ (function () {
11
+ function IgcMultiSliderThumbModule() {
12
+ }
13
+ IgcMultiSliderThumbModule.register = function () {
14
+ IgcMultiSliderThumbComponent.register();
15
+ TypeRegistrar.registerCons("IgcMultiSliderThumbComponent", IgcMultiSliderThumbComponent);
16
+ TypeRegistrar.register("MultiSliderThumb", MultiSliderThumb.$type);
17
+ };
18
+ return IgcMultiSliderThumbModule;
19
+ }());
20
+ export { IgcMultiSliderThumbModule };
@@ -1,4 +1,4 @@
1
- import { IgcMultiSliderThumb } from "./igc-multi-slider-thumb";
1
+ import { IgcMultiSliderThumbComponent } from "./igc-multi-slider-thumb-component";
2
2
  import { MultiSliderThumbValueChangingEventArgs as MultiSliderThumbValueChangingEventArgs_internal } from "./MultiSliderThumbValueChangingEventArgs";
3
3
  var IgcMultiSliderThumbValueChangingEventArgs = /** @class */ /*@__PURE__*/ (function () {
4
4
  function IgcMultiSliderThumbValueChangingEventArgs() {
@@ -49,15 +49,10 @@ var IgcMultiSliderThumbValueChangingEventArgs = /** @class */ /*@__PURE__*/ (fun
49
49
  return null;
50
50
  }
51
51
  if (!r.externalObject) {
52
- var e = new IgcMultiSliderThumb();
53
- if (r.$type) {
52
+ var e = IgcMultiSliderThumbComponent._createFromInternal(r);
53
+ if (e) {
54
54
  e._implementation = r;
55
55
  }
56
- else {
57
- if (e.i.setNativeElement) {
58
- e.i.setNativeElement(r);
59
- }
60
- }
61
56
  r.externalObject = e;
62
57
  }
63
58
  return r.externalObject;