igniteui-angular-inputs 20.1.0 → 20.2.0-beta.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (57) hide show
  1. package/bundles/igniteui-angular-inputs.umd.js +1322 -1128
  2. package/bundles/igniteui-angular-inputs.umd.min.js +1 -1
  3. package/esm2015/lib/ButtonGroupView_combined.js +1 -1
  4. package/esm2015/lib/ButtonGroupVisualModelExport.js +9 -1
  5. package/esm2015/lib/ButtonView_combined.js +315 -308
  6. package/esm2015/lib/CheckboxListVisualModelExport.js +43 -0
  7. package/esm2015/lib/CheckboxView_combined.js +179 -164
  8. package/esm2015/lib/CheckboxVisualModelExport.js +14 -6
  9. package/esm2015/lib/ColorEditorVisualModelExport.js +40 -0
  10. package/esm2015/lib/IconView_combined.js +27 -22
  11. package/esm2015/lib/InputGroupView_combined.js +274 -262
  12. package/esm2015/lib/InputGroupVisualModelExport.js +2 -2
  13. package/esm2015/lib/InputVisualModelExport.js +34 -32
  14. package/esm2015/lib/MultiSliderView_combined.js +2 -2
  15. package/esm2015/lib/NativeUIXInputsFactory_combined.js +324 -299
  16. package/esm2015/lib/XButtonBridge.js +1 -1
  17. package/esm2015/lib/XButtonGroupBridge.js +7 -1
  18. package/esm2015/lib/XCheckboxBridge.js +2 -1
  19. package/esm2015/lib/XIconBridge.js +2 -1
  20. package/esm2015/lib/XInputBridge.js +11 -1
  21. package/esm2015/lib/igx-color-editor-component.js +49 -33
  22. package/esm2015/public_api.js +2 -0
  23. package/esm5/lib/ButtonGroupView_combined.js +1 -1
  24. package/esm5/lib/ButtonGroupVisualModelExport.js +9 -1
  25. package/esm5/lib/ButtonView_combined.js +315 -308
  26. package/esm5/lib/CheckboxListVisualModelExport.js +45 -0
  27. package/esm5/lib/CheckboxView_combined.js +177 -162
  28. package/esm5/lib/CheckboxVisualModelExport.js +14 -6
  29. package/esm5/lib/ColorEditorVisualModelExport.js +42 -0
  30. package/esm5/lib/IconView_combined.js +32 -27
  31. package/esm5/lib/InputGroupView_combined.js +275 -263
  32. package/esm5/lib/InputGroupVisualModelExport.js +2 -2
  33. package/esm5/lib/InputVisualModelExport.js +34 -32
  34. package/esm5/lib/MultiSliderView_combined.js +2 -2
  35. package/esm5/lib/NativeUIXInputsFactory_combined.js +315 -290
  36. package/esm5/lib/XButtonBridge.js +1 -1
  37. package/esm5/lib/XButtonGroupBridge.js +7 -1
  38. package/esm5/lib/XCheckboxBridge.js +2 -1
  39. package/esm5/lib/XIconBridge.js +2 -1
  40. package/esm5/lib/XInputBridge.js +11 -1
  41. package/esm5/lib/igx-color-editor-component.js +49 -33
  42. package/esm5/public_api.js +2 -0
  43. package/fesm2015/igniteui-angular-inputs.js +1328 -1136
  44. package/fesm5/igniteui-angular-inputs.js +1322 -1130
  45. package/lib/ButtonGroupVisualModelExport.d.ts +5 -1
  46. package/lib/ButtonView_combined.d.ts +42 -41
  47. package/lib/CheckboxListVisualModelExport.d.ts +18 -0
  48. package/lib/CheckboxView_combined.d.ts +30 -29
  49. package/lib/CheckboxVisualModelExport.d.ts +7 -3
  50. package/lib/ColorEditorVisualModelExport.d.ts +17 -0
  51. package/lib/IconView_combined.d.ts +2 -0
  52. package/lib/InputGroupView_combined.d.ts +57 -56
  53. package/lib/InputVisualModelExport.d.ts +14 -12
  54. package/lib/NativeUIXInputsFactory_combined.d.ts +90 -85
  55. package/lib/igx-color-editor-component.d.ts +10 -0
  56. package/package.json +2 -2
  57. package/public_api.d.ts +2 -0
@@ -130,7 +130,7 @@ var XButtonBridge = /** @class */ /*@__PURE__*/ (function (_super) {
130
130
  }
131
131
  else {
132
132
  this.ac = c;
133
- var e = d.view.k.createElement("span");
133
+ var e = d.view.l.createElement("span");
134
134
  e.setText(this.ac == null ? null : this.ac.toString());
135
135
  d.appendButtonContent(e);
136
136
  }
@@ -147,7 +147,13 @@ var XButtonGroupBridge = /** @class */ /*@__PURE__*/ (function (_super) {
147
147
  }
148
148
  };
149
149
  XButtonGroupBridge.prototype.exportVisualData = function (a) {
150
- return a.a5();
150
+ var b = a.a5();
151
+ var c = this.getBoundingRect(a);
152
+ b.m = c.left;
153
+ b.n = c.top;
154
+ b.o = c.width;
155
+ b.l = c.height;
156
+ return b;
151
157
  };
152
158
  XButtonGroupBridge.prototype.addButton = function (a, b) {
153
159
  this.v.add(b);
@@ -91,7 +91,8 @@ var XCheckboxBridge = /** @class */ /*@__PURE__*/ (function (_super) {
91
91
  }
92
92
  };
93
93
  XCheckboxBridge.prototype.exportVisualData = function (a) {
94
- return a.a3();
94
+ var b = a.a3();
95
+ return b;
95
96
  };
96
97
  XCheckboxBridge.$t = markType(XCheckboxBridge, 'XCheckboxBridge', XComponentBridge.$);
97
98
  return XCheckboxBridge;
@@ -123,7 +123,8 @@ var XIconBridge = /** @class */ /*@__PURE__*/ (function (_super) {
123
123
  }
124
124
  };
125
125
  XIconBridge.prototype.exportVisualData = function (a) {
126
- return a.bg();
126
+ var b = a.bg();
127
+ return b;
127
128
  };
128
129
  XIconBridge.$t = markType(XIconBridge, 'XIconBridge', XComponentBridge.$);
129
130
  return XIconBridge;
@@ -8,6 +8,7 @@ import { __extends } from "tslib";
8
8
  import { XComponentBridge } from "./XComponentBridge";
9
9
  import { INativeUIInputBridge_$type } from "igniteui-angular-core";
10
10
  import { typeCast, runOn, delegateCombine, delegateRemove, enumGetBox, EnumUtil, typeGetValue, markType } from "igniteui-angular-core";
11
+ import { XInputGroup } from "./XInputGroup";
11
12
  import { XInput } from "./XInput";
12
13
  import { XSuffix } from "./XSuffix";
13
14
  import { NativeUIInputChangingEventArgs } from "igniteui-angular-core";
@@ -460,7 +461,16 @@ var XInputBridge = /** @class */ /*@__PURE__*/ (function (_super) {
460
461
  window.setTimeout(function () { return e.dr(b, c); }, 0);
461
462
  };
462
463
  XInputBridge.prototype.exportVisualData = function (a) {
463
- return a.fe();
464
+ if (!(typeCast(XInputGroup.$, a) !== null)) {
465
+ return null;
466
+ }
467
+ var b = a;
468
+ if (b.inputs == null || b.inputs.count == 0 || !(typeCast(XInput.$, b.inputs._inner[0]) !== null)) {
469
+ return null;
470
+ }
471
+ var c = b.inputs._inner[0];
472
+ var d = c.bg();
473
+ return d;
464
474
  };
465
475
  XInputBridge.$t = markType(XInputBridge, 'XInputBridge', XComponentBridge.$, [INativeUIInputBridge_$type]);
466
476
  return XInputBridge;
@@ -120,10 +120,10 @@ var IgxColorEditorComponent = /** @class */ /*@__PURE__*/ (function () {
120
120
  * Gets or Sets the property name that contains the label.
121
121
  */
122
122
  get: function () {
123
- return this.i.az;
123
+ return this.i.a2;
124
124
  },
125
125
  set: function (v) {
126
- this.i.az = v;
126
+ this.i.a2 = v;
127
127
  },
128
128
  enumerable: false,
129
129
  configurable: true
@@ -133,10 +133,10 @@ var IgxColorEditorComponent = /** @class */ /*@__PURE__*/ (function () {
133
133
  * Gets or sets the color to use for the text.
134
134
  */
135
135
  get: function () {
136
- return brushToString(this.i.cn);
136
+ return brushToString(this.i.cq);
137
137
  },
138
138
  set: function (v) {
139
- this.i.cn = stringToBrush(v);
139
+ this.i.cq = stringToBrush(v);
140
140
  },
141
141
  enumerable: false,
142
142
  configurable: true
@@ -146,15 +146,15 @@ var IgxColorEditorComponent = /** @class */ /*@__PURE__*/ (function () {
146
146
  * Gets or sets the font to use for the input.
147
147
  */
148
148
  get: function () {
149
- if (this.i.o == null) {
149
+ if (this.i.p == null) {
150
150
  return null;
151
151
  }
152
- return this.i.o.fontString;
152
+ return this.i.p.fontString;
153
153
  },
154
154
  set: function (v) {
155
155
  var fi = new FontInfo();
156
156
  fi.fontString = v;
157
- this.i.o = fi;
157
+ this.i.p = fi;
158
158
  },
159
159
  enumerable: false,
160
160
  configurable: true
@@ -164,10 +164,10 @@ var IgxColorEditorComponent = /** @class */ /*@__PURE__*/ (function () {
164
164
  * Gets or sets the display density to use for the date pcicker.
165
165
  */
166
166
  get: function () {
167
- return this.i.k;
167
+ return this.i.l;
168
168
  },
169
169
  set: function (v) {
170
- this.i.k = ensureEnum(ControlDisplayDensity_$type, v);
170
+ this.i.l = ensureEnum(ControlDisplayDensity_$type, v);
171
171
  },
172
172
  enumerable: false,
173
173
  configurable: true
@@ -177,10 +177,10 @@ var IgxColorEditorComponent = /** @class */ /*@__PURE__*/ (function () {
177
177
  * Gets or sets the base built in theme to use for the date picker.
178
178
  */
179
179
  get: function () {
180
- return this.i.i;
180
+ return this.i.j;
181
181
  },
182
182
  set: function (v) {
183
- this.i.i = ensureEnum(BaseControlTheme_$type, v);
183
+ this.i.j = ensureEnum(BaseControlTheme_$type, v);
184
184
  },
185
185
  enumerable: false,
186
186
  configurable: true
@@ -190,15 +190,15 @@ var IgxColorEditorComponent = /** @class */ /*@__PURE__*/ (function () {
190
190
  * Gets or sets the font to use for the combobox.
191
191
  */
192
192
  get: function () {
193
- if (this.i.p == null) {
193
+ if (this.i.q == null) {
194
194
  return null;
195
195
  }
196
- return this.i.p.fontString;
196
+ return this.i.q.fontString;
197
197
  },
198
198
  set: function (v) {
199
199
  var fi = new FontInfo();
200
200
  fi.fontString = v;
201
- this.i.p = fi;
201
+ this.i.q = fi;
202
202
  },
203
203
  enumerable: false,
204
204
  configurable: true
@@ -208,10 +208,10 @@ var IgxColorEditorComponent = /** @class */ /*@__PURE__*/ (function () {
208
208
  * Gets or Sets the text color
209
209
  */
210
210
  get: function () {
211
- return brushToString(this.i.co);
211
+ return brushToString(this.i.cr);
212
212
  },
213
213
  set: function (v) {
214
- this.i.co = stringToBrush(v);
214
+ this.i.cr = stringToBrush(v);
215
215
  },
216
216
  enumerable: false,
217
217
  configurable: true
@@ -221,10 +221,10 @@ var IgxColorEditorComponent = /** @class */ /*@__PURE__*/ (function () {
221
221
  * Gets or Sets the text color
222
222
  */
223
223
  get: function () {
224
- return brushToString(this.i.cm);
224
+ return brushToString(this.i.cp);
225
225
  },
226
226
  set: function (v) {
227
- this.i.cm = stringToBrush(v);
227
+ this.i.cp = stringToBrush(v);
228
228
  },
229
229
  enumerable: false,
230
230
  configurable: true
@@ -234,10 +234,10 @@ var IgxColorEditorComponent = /** @class */ /*@__PURE__*/ (function () {
234
234
  * Gets or sets the ShowClearButton property to detirmine if the clear button is shown
235
235
  */
236
236
  get: function () {
237
- return this.i.am;
237
+ return this.i.an;
238
238
  },
239
239
  set: function (v) {
240
- this.i.am = ensureBool(v);
240
+ this.i.an = ensureBool(v);
241
241
  },
242
242
  enumerable: false,
243
243
  configurable: true
@@ -247,10 +247,10 @@ var IgxColorEditorComponent = /** @class */ /*@__PURE__*/ (function () {
247
247
  * Gets or sets the AllowTextInput property to detirmine if entering text into the input is allowed
248
248
  */
249
249
  get: function () {
250
- return this.i.ag;
250
+ return this.i.ah;
251
251
  },
252
252
  set: function (v) {
253
- this.i.ag = ensureBool(v);
253
+ this.i.ah = ensureBool(v);
254
254
  },
255
255
  enumerable: false,
256
256
  configurable: true
@@ -260,20 +260,20 @@ var IgxColorEditorComponent = /** @class */ /*@__PURE__*/ (function () {
260
260
  * Gets or sets the AllowTextInput property to detirmine if entering text into the input is allowed
261
261
  */
262
262
  get: function () {
263
- return this.i.ak;
263
+ return this.i.al;
264
264
  },
265
265
  set: function (v) {
266
- this.i.ak = ensureBool(v);
266
+ this.i.al = ensureBool(v);
267
267
  },
268
268
  enumerable: false,
269
269
  configurable: true
270
270
  });
271
271
  Object.defineProperty(IgxColorEditorComponent.prototype, "isDisabled", {
272
272
  get: function () {
273
- return this.i.ah;
273
+ return this.i.ai;
274
274
  },
275
275
  set: function (v) {
276
- this.i.ah = ensureBool(v);
276
+ this.i.ai = ensureBool(v);
277
277
  },
278
278
  enumerable: false,
279
279
  configurable: true
@@ -283,10 +283,10 @@ var IgxColorEditorComponent = /** @class */ /*@__PURE__*/ (function () {
283
283
  * Indicates that the editor dropdown will position itself relative to the window instead of the document.
284
284
  */
285
285
  get: function () {
286
- return this.i.ai;
286
+ return this.i.aj;
287
287
  },
288
288
  set: function (v) {
289
- this.i.ai = ensureBool(v);
289
+ this.i.aj = ensureBool(v);
290
290
  },
291
291
  enumerable: false,
292
292
  configurable: true
@@ -296,10 +296,10 @@ var IgxColorEditorComponent = /** @class */ /*@__PURE__*/ (function () {
296
296
  * Indicates that the dropdown should open as a child of the color editor.
297
297
  */
298
298
  get: function () {
299
- return this.i.aj;
299
+ return this.i.ak;
300
300
  },
301
301
  set: function (v) {
302
- this.i.aj = ensureBool(v);
302
+ this.i.ak = ensureBool(v);
303
303
  },
304
304
  enumerable: false,
305
305
  configurable: true
@@ -309,10 +309,10 @@ var IgxColorEditorComponent = /** @class */ /*@__PURE__*/ (function () {
309
309
  * Indicates that the dropdown will place itself into the browser top layer.
310
310
  */
311
311
  get: function () {
312
- return this.i.an;
312
+ return this.i.ao;
313
313
  },
314
314
  set: function (v) {
315
- this.i.an = ensureBool(v);
315
+ this.i.ao = ensureBool(v);
316
316
  },
317
317
  enumerable: false,
318
318
  configurable: true
@@ -383,7 +383,23 @@ var IgxColorEditorComponent = /** @class */ /*@__PURE__*/ (function () {
383
383
  this._inStyling = false;
384
384
  };
385
385
  IgxColorEditorComponent.prototype.select = function () {
386
- this.i.b8();
386
+ this.i.cb();
387
+ };
388
+ /**
389
+ * Exports visual information about the current state of the color editor.
390
+
391
+ */
392
+ IgxColorEditorComponent.prototype.exportVisualModel = function () {
393
+ var iv = this.i.as();
394
+ return (iv);
395
+ };
396
+ /**
397
+ * Returns a serialized copy of the exported visual model
398
+
399
+ */
400
+ IgxColorEditorComponent.prototype.exportSerializedVisualModel = function () {
401
+ var iv = this.i.ay();
402
+ return (iv);
387
403
  };
388
404
  Object.defineProperty(IgxColorEditorComponent.prototype, "valueChanged", {
389
405
  /**
@@ -167,8 +167,10 @@ export * from './lib/XCheckbox';
167
167
  export * from './lib/CheckboxChangeEventArgs';
168
168
  export * from './lib/igx-checkbox-change-event-args';
169
169
  export * from './lib/CheckboxLabelPosition';
170
+ export * from './lib/CheckboxListVisualModelExport';
170
171
  export * from './lib/ButtonGroupVisualModelExport';
171
172
  export * from './lib/ButtonVisualModelExport';
173
+ export * from './lib/ColorEditorVisualModelExport';
172
174
  export * from './lib/CheckboxVisualModelExport';
173
175
  export * from './lib/IconVisualModelExport';
174
176
  export * from './lib/InputGroupVisualModelExport';