igniteui-angular-inputs 20.1.0 → 20.2.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
@@ -128,7 +128,7 @@ export let XButtonBridge = /*@__PURE__*/ (() => {
128
128
  }
129
129
  else {
130
130
  this.ac = c;
131
- let e = d.view.k.createElement("span");
131
+ let e = d.view.l.createElement("span");
132
132
  e.setText(this.ac == null ? null : this.ac.toString());
133
133
  d.appendButtonContent(e);
134
134
  }
@@ -145,7 +145,13 @@ export let XButtonGroupBridge = /*@__PURE__*/ (() => {
145
145
  }
146
146
  }
147
147
  exportVisualData(a) {
148
- return a.a5();
148
+ let b = a.a5();
149
+ let c = this.getBoundingRect(a);
150
+ b.m = c.left;
151
+ b.n = c.top;
152
+ b.o = c.width;
153
+ b.l = c.height;
154
+ return b;
149
155
  }
150
156
  addButton(a, b) {
151
157
  this.v.add(b);
@@ -89,7 +89,8 @@ export let XCheckboxBridge = /*@__PURE__*/ (() => {
89
89
  }
90
90
  }
91
91
  exportVisualData(a) {
92
- return a.a3();
92
+ let b = a.a3();
93
+ return b;
93
94
  }
94
95
  }
95
96
  XCheckboxBridge.$t = markType(XCheckboxBridge, 'XCheckboxBridge', XComponentBridge.$);
@@ -121,7 +121,8 @@ export let XIconBridge = /*@__PURE__*/ (() => {
121
121
  }
122
122
  }
123
123
  exportVisualData(a) {
124
- return a.bg();
124
+ let b = a.bg();
125
+ return b;
125
126
  }
126
127
  }
127
128
  XIconBridge.$t = markType(XIconBridge, 'XIconBridge', XComponentBridge.$);
@@ -7,6 +7,7 @@ GOVERNS THE LICENSING, INSTALLATION AND USE OF INFRAGISTICS SOFTWARE. BY DOWNLOA
7
7
  import { XComponentBridge } from "./XComponentBridge";
8
8
  import { INativeUIInputBridge_$type } from "igniteui-angular-core";
9
9
  import { typeCast, runOn, delegateCombine, delegateRemove, enumGetBox, EnumUtil, typeGetValue, markType } from "igniteui-angular-core";
10
+ import { XInputGroup } from "./XInputGroup";
10
11
  import { XInput } from "./XInput";
11
12
  import { XSuffix } from "./XSuffix";
12
13
  import { NativeUIInputChangingEventArgs } from "igniteui-angular-core";
@@ -458,7 +459,16 @@ export let XInputBridge = /*@__PURE__*/ (() => {
458
459
  window.setTimeout(() => e.dr(b, c), 0);
459
460
  }
460
461
  exportVisualData(a) {
461
- return a.fe();
462
+ if (!(typeCast(XInputGroup.$, a) !== null)) {
463
+ return null;
464
+ }
465
+ let b = a;
466
+ if (b.inputs == null || b.inputs.count == 0 || !(typeCast(XInput.$, b.inputs._inner[0]) !== null)) {
467
+ return null;
468
+ }
469
+ let c = b.inputs._inner[0];
470
+ let d = c.bg();
471
+ return d;
462
472
  }
463
473
  }
464
474
  XInputBridge.$t = markType(XInputBridge, 'XInputBridge', XComponentBridge.$, [INativeUIInputBridge_$type]);
@@ -112,143 +112,143 @@ export let IgxColorEditorComponent = /*@__PURE__*/ (() => {
112
112
  * Gets or Sets the property name that contains the label.
113
113
  */
114
114
  get label() {
115
- return this.i.az;
115
+ return this.i.a2;
116
116
  }
117
117
  set label(v) {
118
- this.i.az = v;
118
+ this.i.a2 = v;
119
119
  }
120
120
  /**
121
121
  * Gets or sets the color to use for the text.
122
122
  */
123
123
  get labelTextColor() {
124
- return brushToString(this.i.cn);
124
+ return brushToString(this.i.cq);
125
125
  }
126
126
  set labelTextColor(v) {
127
- this.i.cn = stringToBrush(v);
127
+ this.i.cq = stringToBrush(v);
128
128
  }
129
129
  /**
130
130
  * Gets or sets the font to use for the input.
131
131
  */
132
132
  get labelTextStyle() {
133
- if (this.i.o == null) {
133
+ if (this.i.p == null) {
134
134
  return null;
135
135
  }
136
- return this.i.o.fontString;
136
+ return this.i.p.fontString;
137
137
  }
138
138
  set labelTextStyle(v) {
139
139
  let fi = new FontInfo();
140
140
  fi.fontString = v;
141
- this.i.o = fi;
141
+ this.i.p = fi;
142
142
  }
143
143
  /**
144
144
  * Gets or sets the display density to use for the date pcicker.
145
145
  */
146
146
  get density() {
147
- return this.i.k;
147
+ return this.i.l;
148
148
  }
149
149
  set density(v) {
150
- this.i.k = ensureEnum(ControlDisplayDensity_$type, v);
150
+ this.i.l = ensureEnum(ControlDisplayDensity_$type, v);
151
151
  }
152
152
  /**
153
153
  * Gets or sets the base built in theme to use for the date picker.
154
154
  */
155
155
  get baseTheme() {
156
- return this.i.i;
156
+ return this.i.j;
157
157
  }
158
158
  set baseTheme(v) {
159
- this.i.i = ensureEnum(BaseControlTheme_$type, v);
159
+ this.i.j = ensureEnum(BaseControlTheme_$type, v);
160
160
  }
161
161
  /**
162
162
  * Gets or sets the font to use for the combobox.
163
163
  */
164
164
  get textStyle() {
165
- if (this.i.p == null) {
165
+ if (this.i.q == null) {
166
166
  return null;
167
167
  }
168
- return this.i.p.fontString;
168
+ return this.i.q.fontString;
169
169
  }
170
170
  set textStyle(v) {
171
171
  let fi = new FontInfo();
172
172
  fi.fontString = v;
173
- this.i.p = fi;
173
+ this.i.q = fi;
174
174
  }
175
175
  /**
176
176
  * Gets or Sets the text color
177
177
  */
178
178
  get textColor() {
179
- return brushToString(this.i.co);
179
+ return brushToString(this.i.cr);
180
180
  }
181
181
  set textColor(v) {
182
- this.i.co = stringToBrush(v);
182
+ this.i.cr = stringToBrush(v);
183
183
  }
184
184
  /**
185
185
  * Gets or Sets the text color
186
186
  */
187
187
  get iconColor() {
188
- return brushToString(this.i.cm);
188
+ return brushToString(this.i.cp);
189
189
  }
190
190
  set iconColor(v) {
191
- this.i.cm = stringToBrush(v);
191
+ this.i.cp = stringToBrush(v);
192
192
  }
193
193
  /**
194
194
  * Gets or sets the ShowClearButton property to detirmine if the clear button is shown
195
195
  */
196
196
  get showClearButton() {
197
- return this.i.am;
197
+ return this.i.an;
198
198
  }
199
199
  set showClearButton(v) {
200
- this.i.am = ensureBool(v);
200
+ this.i.an = ensureBool(v);
201
201
  }
202
202
  /**
203
203
  * Gets or sets the AllowTextInput property to detirmine if entering text into the input is allowed
204
204
  */
205
205
  get allowTextInput() {
206
- return this.i.ag;
206
+ return this.i.ah;
207
207
  }
208
208
  set allowTextInput(v) {
209
- this.i.ag = ensureBool(v);
209
+ this.i.ah = ensureBool(v);
210
210
  }
211
211
  /**
212
212
  * Gets or sets the AllowTextInput property to detirmine if entering text into the input is allowed
213
213
  */
214
214
  get openOnFocus() {
215
- return this.i.ak;
215
+ return this.i.al;
216
216
  }
217
217
  set openOnFocus(v) {
218
- this.i.ak = ensureBool(v);
218
+ this.i.al = ensureBool(v);
219
219
  }
220
220
  get isDisabled() {
221
- return this.i.ah;
221
+ return this.i.ai;
222
222
  }
223
223
  set isDisabled(v) {
224
- this.i.ah = ensureBool(v);
224
+ this.i.ai = ensureBool(v);
225
225
  }
226
226
  /**
227
227
  * Indicates that the editor dropdown will position itself relative to the window instead of the document.
228
228
  */
229
229
  get isFixed() {
230
- return this.i.ai;
230
+ return this.i.aj;
231
231
  }
232
232
  set isFixed(v) {
233
- this.i.ai = ensureBool(v);
233
+ this.i.aj = ensureBool(v);
234
234
  }
235
235
  /**
236
236
  * Indicates that the dropdown should open as a child of the color editor.
237
237
  */
238
238
  get openAsChild() {
239
- return this.i.aj;
239
+ return this.i.ak;
240
240
  }
241
241
  set openAsChild(v) {
242
- this.i.aj = ensureBool(v);
242
+ this.i.ak = ensureBool(v);
243
243
  }
244
244
  /**
245
245
  * Indicates that the dropdown will place itself into the browser top layer.
246
246
  */
247
247
  get useTopLayer() {
248
- return this.i.an;
248
+ return this.i.ao;
249
249
  }
250
250
  set useTopLayer(v) {
251
- this.i.an = ensureBool(v);
251
+ this.i.ao = ensureBool(v);
252
252
  }
253
253
  findByName(name) {
254
254
  if (this.findEphemera) {
@@ -312,7 +312,23 @@ export let IgxColorEditorComponent = /*@__PURE__*/ (() => {
312
312
  this._inStyling = false;
313
313
  }
314
314
  select() {
315
- this.i.b8();
315
+ this.i.cb();
316
+ }
317
+ /**
318
+ * Exports visual information about the current state of the color editor.
319
+
320
+ */
321
+ exportVisualModel() {
322
+ let iv = this.i.as();
323
+ return (iv);
324
+ }
325
+ /**
326
+ * Returns a serialized copy of the exported visual model
327
+
328
+ */
329
+ exportSerializedVisualModel() {
330
+ let iv = this.i.ay();
331
+ return (iv);
316
332
  }
317
333
  /**
318
334
  * Called when color is selected.
@@ -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';
@@ -1606,7 +1606,7 @@ var XButtonGroup = /** @class */ /*@__PURE__*/ (function (_super) {
1606
1606
  };
1607
1607
  XButtonGroup.prototype.bq = function () {
1608
1608
  var a = this.e();
1609
- return a.l();
1609
+ return a.p();
1610
1610
  };
1611
1611
  XButtonGroup.prototype.e = function () {
1612
1612
  var a = new ButtonGroupVisualModelExport();
@@ -16,6 +16,10 @@ var ButtonGroupVisualModelExport = /** @class */ /*@__PURE__*/ (function (_super
16
16
  __extends(ButtonGroupVisualModelExport, _super);
17
17
  function ButtonGroupVisualModelExport() {
18
18
  var _this = _super !== null && _super.apply(this, arguments) || this;
19
+ _this.m = 0;
20
+ _this.n = 0;
21
+ _this.o = 0;
22
+ _this.l = 0;
19
23
  _this.e = 0;
20
24
  _this.f = 0;
21
25
  _this.a = null;
@@ -29,9 +33,13 @@ var ButtonGroupVisualModelExport = /** @class */ /*@__PURE__*/ (function (_super
29
33
  _this.i = null;
30
34
  return _this;
31
35
  }
32
- ButtonGroupVisualModelExport.prototype.l = function () {
36
+ ButtonGroupVisualModelExport.prototype.p = function () {
33
37
  var a = new StringBuilder(0);
34
38
  a.l("{");
39
+ a.l("left : " + this.m + ", ");
40
+ a.l("top : " + this.n + ", ");
41
+ a.l("height : " + this.l + ", ");
42
+ a.l("width : " + this.o + ", ");
35
43
  a.l("baseTheme : " + enumGetBox(BaseControlTheme_$type, this.e) + ", ");
36
44
  a.l("actualDensity : " + enumGetBox(ControlDisplayDensity_$type, this.f) + ", ");
37
45
  a.l("selectedIndices : " + this.a + ", ");