igniteui-webcomponents-inputs 4.0.3 → 4.2.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 +2781 -2143
- package/bundles/igniteui-webcomponents-inputs.umd.min.js +1 -1
- package/esm2015/lib/ButtonGroupView_combined.js +17 -17
- package/esm2015/lib/ButtonView_combined.js +945 -939
- package/esm2015/lib/CalendarView_combined.js +80 -80
- package/esm2015/lib/DatePickerView_combined.js +82 -64
- package/esm2015/lib/IconView_combined.js +250 -238
- package/esm2015/lib/InputGroupView_combined.js +368 -357
- package/esm2015/lib/NativeUIXInputsFactory.js +143 -0
- package/esm2015/lib/XButtonBridge.js +101 -0
- package/esm2015/lib/XCheckboxBridge.js +69 -0
- package/esm2015/lib/XComponentBridge.js +34 -0
- package/esm2015/lib/XIconButtonBridge.js +65 -0
- package/esm2015/lib/XInputBridge.js +162 -0
- package/esm2015/lib/igc-x-button-component.js +366 -366
- package/esm2015/lib/igc-x-icon-component.js +74 -63
- package/esm2015/lib/igc-x-input-component.js +65 -54
- package/esm2015/public_api.js +6 -0
- package/esm5/lib/ButtonGroupView_combined.js +17 -17
- package/esm5/lib/ButtonView_combined.js +941 -935
- package/esm5/lib/CalendarView_combined.js +80 -80
- package/esm5/lib/DatePickerView_combined.js +82 -64
- package/esm5/lib/IconView_combined.js +240 -224
- package/esm5/lib/InputGroupView_combined.js +353 -338
- package/esm5/lib/NativeUIXInputsFactory.js +153 -0
- package/esm5/lib/XButtonBridge.js +103 -0
- package/esm5/lib/XCheckboxBridge.js +71 -0
- package/esm5/lib/XComponentBridge.js +36 -0
- package/esm5/lib/XIconButtonBridge.js +67 -0
- package/esm5/lib/XInputBridge.js +164 -0
- package/esm5/lib/igc-x-button-component.js +366 -366
- package/esm5/lib/igc-x-icon-component.js +79 -64
- package/esm5/lib/igc-x-input-component.js +70 -55
- package/esm5/public_api.js +6 -0
- package/fesm2015/igniteui-webcomponents-inputs.js +2785 -2178
- package/fesm5/igniteui-webcomponents-inputs.js +2772 -2141
- package/lib/ButtonView_combined.d.ts +262 -260
- package/lib/DatePickerView_combined.d.ts +22 -21
- package/lib/DatePickerVisualModelExport.d.ts +1 -1
- package/lib/IconView_combined.d.ts +59 -56
- package/lib/InputGroupView_combined.d.ts +91 -89
- package/lib/NativeUIXInputsFactory.d.ts +22 -0
- package/lib/XButtonBridge.d.ts +21 -0
- package/lib/XCheckboxBridge.d.ts +19 -0
- package/lib/XComponentBridge.d.ts +17 -0
- package/lib/XIconButtonBridge.d.ts +16 -0
- package/lib/XInputBridge.d.ts +24 -0
- package/lib/igc-x-icon-component.d.ts +6 -1
- package/lib/igc-x-input-component.d.ts +6 -1
- package/package.json +2 -2
- package/public_api.d.ts +6 -0
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import { XIcon } from "./XIcon";
|
|
2
|
-
import { brushToString, stringToBrush, ensureBool, initializePropertiesFromCss, NamePatcher, toSpinal, getAllPropertyNames, fromSpinal } from "igniteui-webcomponents-core";
|
|
2
|
+
import { ensureEnum, brushToString, stringToBrush, ensureBool, initializePropertiesFromCss, NamePatcher, toSpinal, enumToString, getAllPropertyNames, fromSpinal } from "igniteui-webcomponents-core";
|
|
3
3
|
import { FontInfo } from "igniteui-webcomponents-core";
|
|
4
4
|
import { WebComponentRenderer, PortalManager } from "igniteui-webcomponents-core";
|
|
5
5
|
import { TypeRegistrar } from "igniteui-webcomponents-core";
|
|
6
6
|
import { RegisterElementHelper } from "igniteui-webcomponents-core";
|
|
7
7
|
import { IgcHTMLElement } from "igniteui-webcomponents-core";
|
|
8
|
+
import { BaseControlTheme_$type } from "igniteui-webcomponents-core";
|
|
8
9
|
export let IgcXIconComponent = /*@__PURE__*/ (() => {
|
|
9
10
|
class IgcXIconComponent extends IgcHTMLElement {
|
|
10
11
|
constructor() {
|
|
@@ -182,74 +183,84 @@ export let IgcXIconComponent = /*@__PURE__*/ (() => {
|
|
|
182
183
|
}
|
|
183
184
|
}
|
|
184
185
|
/**
|
|
185
|
-
* Gets the
|
|
186
|
+
* Gets or sets the base built in theme to use for the button.
|
|
186
187
|
*/
|
|
188
|
+
get baseTheme() {
|
|
189
|
+
return this.i.e;
|
|
190
|
+
}
|
|
191
|
+
set baseTheme(v) {
|
|
192
|
+
this.i.e = ensureEnum(BaseControlTheme_$type, v);
|
|
193
|
+
this._a("baseTheme", enumToString(BaseControlTheme_$type, this.i.e));
|
|
194
|
+
}
|
|
195
|
+
/**
|
|
196
|
+
* Gets the color to use for the actual background.
|
|
197
|
+
*/
|
|
187
198
|
get actualFill() {
|
|
188
|
-
return brushToString(this.i.
|
|
199
|
+
return brushToString(this.i.bx);
|
|
189
200
|
}
|
|
190
201
|
set actualFill(v) {
|
|
191
|
-
this.i.
|
|
192
|
-
this._a("actualFill", brushToString(this.i.
|
|
202
|
+
this.i.bx = stringToBrush(v);
|
|
203
|
+
this._a("actualFill", brushToString(this.i.bx));
|
|
193
204
|
}
|
|
194
205
|
/**
|
|
195
206
|
* Gets the color to use for the actual text color.
|
|
196
207
|
*/
|
|
197
208
|
get actualTextColor() {
|
|
198
|
-
return brushToString(this.i.
|
|
209
|
+
return brushToString(this.i.b1);
|
|
199
210
|
}
|
|
200
211
|
set actualTextColor(v) {
|
|
201
|
-
this.i.
|
|
202
|
-
this._a("actualTextColor", brushToString(this.i.
|
|
212
|
+
this.i.b1 = stringToBrush(v);
|
|
213
|
+
this._a("actualTextColor", brushToString(this.i.b1));
|
|
203
214
|
}
|
|
204
215
|
/**
|
|
205
216
|
* Gets the color to use for the actual background.
|
|
206
217
|
*/
|
|
207
218
|
get actualHoverFill() {
|
|
208
|
-
return brushToString(this.i.
|
|
219
|
+
return brushToString(this.i.by);
|
|
209
220
|
}
|
|
210
221
|
set actualHoverFill(v) {
|
|
211
|
-
this.i.
|
|
212
|
-
this._a("actualHoverFill", brushToString(this.i.
|
|
222
|
+
this.i.by = stringToBrush(v);
|
|
223
|
+
this._a("actualHoverFill", brushToString(this.i.by));
|
|
213
224
|
}
|
|
214
225
|
/**
|
|
215
226
|
* Gets the hover stroke to use for the icon.
|
|
216
227
|
*/
|
|
217
228
|
get actualHoverStroke() {
|
|
218
|
-
return brushToString(this.i.
|
|
229
|
+
return brushToString(this.i.bz);
|
|
219
230
|
}
|
|
220
231
|
set actualHoverStroke(v) {
|
|
221
|
-
this.i.
|
|
222
|
-
this._a("actualHoverStroke", brushToString(this.i.
|
|
232
|
+
this.i.bz = stringToBrush(v);
|
|
233
|
+
this._a("actualHoverStroke", brushToString(this.i.bz));
|
|
223
234
|
}
|
|
224
235
|
/**
|
|
225
236
|
* Gets the stroke to use for the icon.
|
|
226
237
|
*/
|
|
227
238
|
get actualStroke() {
|
|
228
|
-
return brushToString(this.i.
|
|
239
|
+
return brushToString(this.i.b0);
|
|
229
240
|
}
|
|
230
241
|
set actualStroke(v) {
|
|
231
|
-
this.i.
|
|
232
|
-
this._a("actualStroke", brushToString(this.i.
|
|
242
|
+
this.i.b0 = stringToBrush(v);
|
|
243
|
+
this._a("actualStroke", brushToString(this.i.b0));
|
|
233
244
|
}
|
|
234
245
|
/**
|
|
235
246
|
* Gets the hover stroke to use for the icon.
|
|
236
247
|
*/
|
|
237
248
|
get actualHoverStrokeThickness() {
|
|
238
|
-
return this.i.
|
|
249
|
+
return this.i.u;
|
|
239
250
|
}
|
|
240
251
|
set actualHoverStrokeThickness(v) {
|
|
241
|
-
this.i.
|
|
242
|
-
this._a("actualHoverStrokeThickness", this.i.
|
|
252
|
+
this.i.u = +v;
|
|
253
|
+
this._a("actualHoverStrokeThickness", this.i.u);
|
|
243
254
|
}
|
|
244
255
|
/**
|
|
245
256
|
* Gets the stroke to use for the icon.
|
|
246
257
|
*/
|
|
247
258
|
get actualStrokeThickness() {
|
|
248
|
-
return this.i.
|
|
259
|
+
return this.i.v;
|
|
249
260
|
}
|
|
250
261
|
set actualStrokeThickness(v) {
|
|
251
|
-
this.i.
|
|
252
|
-
this._a("actualStrokeThickness", this.i.
|
|
262
|
+
this.i.v = +v;
|
|
263
|
+
this._a("actualStrokeThickness", this.i.v);
|
|
253
264
|
}
|
|
254
265
|
/**
|
|
255
266
|
* Gets or sets the color to use for the actual background.
|
|
@@ -265,11 +276,11 @@ export let IgcXIconComponent = /*@__PURE__*/ (() => {
|
|
|
265
276
|
* Gets or sets the color to use for the text.
|
|
266
277
|
*/
|
|
267
278
|
get textColor() {
|
|
268
|
-
return brushToString(this.i.
|
|
279
|
+
return brushToString(this.i.cb);
|
|
269
280
|
}
|
|
270
281
|
set textColor(v) {
|
|
271
|
-
this.i.
|
|
272
|
-
this._a("textColor", brushToString(this.i.
|
|
282
|
+
this.i.cb = stringToBrush(v);
|
|
283
|
+
this._a("textColor", brushToString(this.i.cb));
|
|
273
284
|
}
|
|
274
285
|
/**
|
|
275
286
|
* Gets or sets the color to use for the text.
|
|
@@ -284,114 +295,114 @@ export let IgcXIconComponent = /*@__PURE__*/ (() => {
|
|
|
284
295
|
* Gets or sets the color to use for the actual background.
|
|
285
296
|
*/
|
|
286
297
|
get hoverFill() {
|
|
287
|
-
return brushToString(this.i.
|
|
298
|
+
return brushToString(this.i.b7);
|
|
288
299
|
}
|
|
289
300
|
set hoverFill(v) {
|
|
290
|
-
this.i.
|
|
291
|
-
this._a("hoverFill", brushToString(this.i.
|
|
301
|
+
this.i.b7 = stringToBrush(v);
|
|
302
|
+
this._a("hoverFill", brushToString(this.i.b7));
|
|
292
303
|
}
|
|
293
304
|
/**
|
|
294
305
|
* Gets or sets the hover stroke to use for the icon.
|
|
295
306
|
*/
|
|
296
307
|
get hoverStroke() {
|
|
297
|
-
return brushToString(this.i.
|
|
308
|
+
return brushToString(this.i.b8);
|
|
298
309
|
}
|
|
299
310
|
set hoverStroke(v) {
|
|
300
|
-
this.i.
|
|
301
|
-
this._a("hoverStroke", brushToString(this.i.
|
|
311
|
+
this.i.b8 = stringToBrush(v);
|
|
312
|
+
this._a("hoverStroke", brushToString(this.i.b8));
|
|
302
313
|
}
|
|
303
314
|
/**
|
|
304
315
|
* Gets or sets the stroke to use for the icon.
|
|
305
316
|
*/
|
|
306
317
|
get stroke() {
|
|
307
|
-
return brushToString(this.i.
|
|
318
|
+
return brushToString(this.i.ca);
|
|
308
319
|
}
|
|
309
320
|
set stroke(v) {
|
|
310
|
-
this.i.
|
|
311
|
-
this._a("stroke", brushToString(this.i.
|
|
321
|
+
this.i.ca = stringToBrush(v);
|
|
322
|
+
this._a("stroke", brushToString(this.i.ca));
|
|
312
323
|
}
|
|
313
324
|
/**
|
|
314
325
|
* Gets or sets the hover stroke to use for the icon.
|
|
315
326
|
*/
|
|
316
327
|
get hoverStrokeThickness() {
|
|
317
|
-
return this.i.
|
|
328
|
+
return this.i.y;
|
|
318
329
|
}
|
|
319
330
|
set hoverStrokeThickness(v) {
|
|
320
|
-
this.i.
|
|
321
|
-
this._a("hoverStrokeThickness", this.i.
|
|
331
|
+
this.i.y = +v;
|
|
332
|
+
this._a("hoverStrokeThickness", this.i.y);
|
|
322
333
|
}
|
|
323
334
|
/**
|
|
324
335
|
* Gets or sets the stroke to use for the icon.
|
|
325
336
|
*/
|
|
326
337
|
get strokeThickness() {
|
|
327
|
-
return this.i.
|
|
338
|
+
return this.i.aa;
|
|
328
339
|
}
|
|
329
340
|
set strokeThickness(v) {
|
|
330
|
-
this.i.
|
|
331
|
-
this._a("strokeThickness", this.i.
|
|
341
|
+
this.i.aa = +v;
|
|
342
|
+
this._a("strokeThickness", this.i.aa);
|
|
332
343
|
}
|
|
333
344
|
/**
|
|
334
345
|
* Gets or sets the use for the button.
|
|
335
346
|
*/
|
|
336
347
|
get textStyle() {
|
|
337
|
-
if (this.i.
|
|
348
|
+
if (this.i.g == null) {
|
|
338
349
|
return null;
|
|
339
350
|
}
|
|
340
|
-
return this.i.
|
|
351
|
+
return this.i.g.fontString;
|
|
341
352
|
}
|
|
342
353
|
set textStyle(v) {
|
|
343
354
|
let fi = new FontInfo();
|
|
344
355
|
fi.fontString = v;
|
|
345
|
-
this.i.
|
|
346
|
-
this._a("textStyle", this.i.
|
|
356
|
+
this.i.g = fi;
|
|
357
|
+
this._a("textStyle", this.i.g != null ? this.i.g.fontString : "");
|
|
347
358
|
}
|
|
348
359
|
/**
|
|
349
360
|
* Gets or sets the color to use for the hovered text of the button regardless of type.
|
|
350
361
|
*/
|
|
351
362
|
get hoverTextColor() {
|
|
352
|
-
return brushToString(this.i.
|
|
363
|
+
return brushToString(this.i.b9);
|
|
353
364
|
}
|
|
354
365
|
set hoverTextColor(v) {
|
|
355
|
-
this.i.
|
|
356
|
-
this._a("hoverTextColor", brushToString(this.i.
|
|
366
|
+
this.i.b9 = stringToBrush(v);
|
|
367
|
+
this._a("hoverTextColor", brushToString(this.i.b9));
|
|
357
368
|
}
|
|
358
369
|
/**
|
|
359
370
|
* Gets or sets the id to use for the checkbox.
|
|
360
371
|
*/
|
|
361
372
|
get id() {
|
|
362
|
-
return this.i.
|
|
373
|
+
return this.i.ay;
|
|
363
374
|
}
|
|
364
375
|
set id(v) {
|
|
365
|
-
this.i.
|
|
376
|
+
this.i.ay = v;
|
|
366
377
|
}
|
|
367
378
|
/**
|
|
368
379
|
* Gets or sets TabIndex to use for the checkbox.
|
|
369
380
|
*/
|
|
370
381
|
get tabIndex() {
|
|
371
|
-
return this.i.
|
|
382
|
+
return this.i.ac;
|
|
372
383
|
}
|
|
373
384
|
set tabIndex(v) {
|
|
374
|
-
this.i.
|
|
375
|
-
this._a("tabIndex", this.i.
|
|
385
|
+
this.i.ac = +v;
|
|
386
|
+
this._a("tabIndex", this.i.ac);
|
|
376
387
|
}
|
|
377
388
|
/**
|
|
378
389
|
* Gets or sets the value of the aria-label attribute.
|
|
379
390
|
*/
|
|
380
391
|
get ariaLabel() {
|
|
381
|
-
return this.i.
|
|
392
|
+
return this.i.ap;
|
|
382
393
|
}
|
|
383
394
|
set ariaLabel(v) {
|
|
384
|
-
this.i.
|
|
395
|
+
this.i.ap = v;
|
|
385
396
|
}
|
|
386
397
|
/**
|
|
387
398
|
* Gets or sets whether the icon is hovered.
|
|
388
399
|
*/
|
|
389
400
|
get isHover() {
|
|
390
|
-
return this.i.
|
|
401
|
+
return this.i.n;
|
|
391
402
|
}
|
|
392
403
|
set isHover(v) {
|
|
393
|
-
this.i.
|
|
394
|
-
this._a("isHover", this.i.
|
|
404
|
+
this.i.n = ensureBool(v);
|
|
405
|
+
this._a("isHover", this.i.n);
|
|
395
406
|
}
|
|
396
407
|
/**
|
|
397
408
|
* Gets or sets whether the checkbox is disabled.
|
|
@@ -404,11 +415,11 @@ export let IgcXIconComponent = /*@__PURE__*/ (() => {
|
|
|
404
415
|
this._a("disabled", this.i.disabled);
|
|
405
416
|
}
|
|
406
417
|
get opacity() {
|
|
407
|
-
return this.i.
|
|
418
|
+
return this.i.z;
|
|
408
419
|
}
|
|
409
420
|
set opacity(v) {
|
|
410
|
-
this.i.
|
|
411
|
-
this._a("opacity", this.i.
|
|
421
|
+
this.i.z = +v;
|
|
422
|
+
this._a("opacity", this.i.z);
|
|
412
423
|
}
|
|
413
424
|
findByName(name) {
|
|
414
425
|
if (this.findEphemera) {
|
|
@@ -482,7 +493,7 @@ export let IgcXIconComponent = /*@__PURE__*/ (() => {
|
|
|
482
493
|
|
|
483
494
|
*/
|
|
484
495
|
exportVisualModel() {
|
|
485
|
-
let iv = this.i.
|
|
496
|
+
let iv = this.i.ae();
|
|
486
497
|
return (iv);
|
|
487
498
|
}
|
|
488
499
|
/**
|
|
@@ -490,7 +501,7 @@ export let IgcXIconComponent = /*@__PURE__*/ (() => {
|
|
|
490
501
|
|
|
491
502
|
*/
|
|
492
503
|
exportSerializedVisualModel() {
|
|
493
|
-
let iv = this.i.
|
|
504
|
+
let iv = this.i.as();
|
|
494
505
|
return (iv);
|
|
495
506
|
}
|
|
496
507
|
}
|
|
@@ -8,6 +8,7 @@ import { IgcXInputGroupItemComponent } from './igc-x-input-group-item-component'
|
|
|
8
8
|
import { IgcInputChangeEventArgs } from './igc-input-change-event-args';
|
|
9
9
|
import { ControlDisplayDensity_$type } from "igniteui-webcomponents-core";
|
|
10
10
|
import { IgcKeyEventArgs } from "igniteui-webcomponents-core";
|
|
11
|
+
import { BaseControlTheme_$type } from "igniteui-webcomponents-core";
|
|
11
12
|
let requiredStyle = `
|
|
12
13
|
|
|
13
14
|
`;
|
|
@@ -177,184 +178,194 @@ export let IgcXInputComponent = /*@__PURE__*/ (() => {
|
|
|
177
178
|
}
|
|
178
179
|
}
|
|
179
180
|
/**
|
|
180
|
-
* Gets or sets the
|
|
181
|
+
* Gets or sets the base built in theme to use for the button.
|
|
181
182
|
*/
|
|
183
|
+
get baseTheme() {
|
|
184
|
+
return this.i.w;
|
|
185
|
+
}
|
|
186
|
+
set baseTheme(v) {
|
|
187
|
+
this.i.w = ensureEnum(BaseControlTheme_$type, v);
|
|
188
|
+
this._a("baseTheme", enumToString(BaseControlTheme_$type, this.i.w));
|
|
189
|
+
}
|
|
190
|
+
/**
|
|
191
|
+
* Gets or sets the display density to use for the input.
|
|
192
|
+
*/
|
|
182
193
|
get density() {
|
|
183
|
-
return this.i.
|
|
194
|
+
return this.i.aa;
|
|
184
195
|
}
|
|
185
196
|
set density(v) {
|
|
186
|
-
this.i.
|
|
187
|
-
this._a("density", enumToString(ControlDisplayDensity_$type, this.i.
|
|
197
|
+
this.i.aa = ensureEnum(ControlDisplayDensity_$type, v);
|
|
198
|
+
this._a("density", enumToString(ControlDisplayDensity_$type, this.i.aa));
|
|
188
199
|
}
|
|
189
200
|
/**
|
|
190
201
|
* Gets the actual display density to use for the label.
|
|
191
202
|
*/
|
|
192
203
|
get actualDensity() {
|
|
193
|
-
return this.i.
|
|
204
|
+
return this.i.z;
|
|
194
205
|
}
|
|
195
206
|
set actualDensity(v) {
|
|
196
|
-
this.i.
|
|
197
|
-
this._a("actualDensity", enumToString(ControlDisplayDensity_$type, this.i.
|
|
207
|
+
this.i.z = ensureEnum(ControlDisplayDensity_$type, v);
|
|
208
|
+
this._a("actualDensity", enumToString(ControlDisplayDensity_$type, this.i.z));
|
|
198
209
|
}
|
|
199
210
|
/**
|
|
200
211
|
* Gets/Sets the input mask for the input.
|
|
201
212
|
*/
|
|
202
213
|
get mask() {
|
|
203
|
-
return this.i.
|
|
214
|
+
return this.i.cc;
|
|
204
215
|
}
|
|
205
216
|
set mask(v) {
|
|
206
|
-
this.i.
|
|
217
|
+
this.i.cc = v;
|
|
207
218
|
}
|
|
208
219
|
/**
|
|
209
220
|
* Gets/Sets the character representing a fillable spot in the input mask
|
|
210
221
|
*/
|
|
211
222
|
get promptChar() {
|
|
212
|
-
return this.i.
|
|
223
|
+
return this.i.cg;
|
|
213
224
|
}
|
|
214
225
|
set promptChar(v) {
|
|
215
|
-
this.i.
|
|
226
|
+
this.i.cg = v;
|
|
216
227
|
}
|
|
217
228
|
/**
|
|
218
229
|
* Specifies if the bound value includes the formatting symbols.
|
|
219
230
|
*/
|
|
220
231
|
get includeLiterals() {
|
|
221
|
-
return this.i.
|
|
232
|
+
return this.i.at;
|
|
222
233
|
}
|
|
223
234
|
set includeLiterals(v) {
|
|
224
|
-
this.i.
|
|
225
|
-
this._a("includeLiterals", this.i.
|
|
235
|
+
this.i.at = ensureBool(v);
|
|
236
|
+
this._a("includeLiterals", this.i.at);
|
|
226
237
|
}
|
|
227
238
|
/**
|
|
228
239
|
* Gets the actual color to use for the text color.
|
|
229
240
|
*/
|
|
230
241
|
get actualTextColor() {
|
|
231
|
-
return brushToString(this.i.
|
|
242
|
+
return brushToString(this.i.dx);
|
|
232
243
|
}
|
|
233
244
|
set actualTextColor(v) {
|
|
234
|
-
this.i.
|
|
235
|
-
this._a("actualTextColor", brushToString(this.i.
|
|
245
|
+
this.i.dx = stringToBrush(v);
|
|
246
|
+
this._a("actualTextColor", brushToString(this.i.dx));
|
|
236
247
|
}
|
|
237
248
|
/**
|
|
238
249
|
* Gets the actual hover color to use for the text.
|
|
239
250
|
*/
|
|
240
251
|
get actualHoverTextColor() {
|
|
241
|
-
return brushToString(this.i.
|
|
252
|
+
return brushToString(this.i.dw);
|
|
242
253
|
}
|
|
243
254
|
set actualHoverTextColor(v) {
|
|
244
|
-
this.i.
|
|
245
|
-
this._a("actualHoverTextColor", brushToString(this.i.
|
|
255
|
+
this.i.dw = stringToBrush(v);
|
|
256
|
+
this._a("actualHoverTextColor", brushToString(this.i.dw));
|
|
246
257
|
}
|
|
247
258
|
/**
|
|
248
259
|
* Gets or sets the color to use for the text.
|
|
249
260
|
*/
|
|
250
261
|
get textColor() {
|
|
251
|
-
return brushToString(this.i.
|
|
262
|
+
return brushToString(this.i.d1);
|
|
252
263
|
}
|
|
253
264
|
set textColor(v) {
|
|
254
|
-
this.i.
|
|
255
|
-
this._a("textColor", brushToString(this.i.
|
|
265
|
+
this.i.d1 = stringToBrush(v);
|
|
266
|
+
this._a("textColor", brushToString(this.i.d1));
|
|
256
267
|
}
|
|
257
268
|
/**
|
|
258
269
|
* Gets or sets the use for the button.
|
|
259
270
|
*/
|
|
260
271
|
get textStyle() {
|
|
261
|
-
if (this.i.
|
|
272
|
+
if (this.i.af == null) {
|
|
262
273
|
return null;
|
|
263
274
|
}
|
|
264
|
-
return this.i.
|
|
275
|
+
return this.i.af.fontString;
|
|
265
276
|
}
|
|
266
277
|
set textStyle(v) {
|
|
267
278
|
let fi = new FontInfo();
|
|
268
279
|
fi.fontString = v;
|
|
269
|
-
this.i.
|
|
270
|
-
this._a("textStyle", this.i.
|
|
280
|
+
this.i.af = fi;
|
|
281
|
+
this._a("textStyle", this.i.af != null ? this.i.af.fontString : "");
|
|
271
282
|
}
|
|
272
283
|
/**
|
|
273
284
|
* Gets or sets the type to use for the input.
|
|
274
285
|
*/
|
|
275
286
|
get inputType() {
|
|
276
|
-
return this.i.
|
|
287
|
+
return this.i.b6;
|
|
277
288
|
}
|
|
278
289
|
set inputType(v) {
|
|
279
|
-
this.i.
|
|
290
|
+
this.i.b6 = v;
|
|
280
291
|
}
|
|
281
292
|
/**
|
|
282
293
|
* Gets or sets the placeholder to use for the input.
|
|
283
294
|
*/
|
|
284
295
|
get placeholder() {
|
|
285
|
-
return this.i.
|
|
296
|
+
return this.i.ce;
|
|
286
297
|
}
|
|
287
298
|
set placeholder(v) {
|
|
288
|
-
this.i.
|
|
299
|
+
this.i.ce = v;
|
|
289
300
|
}
|
|
290
301
|
/**
|
|
291
302
|
* Gets or sets the color to use for the hovered text of the button regardless of type.
|
|
292
303
|
*/
|
|
293
304
|
get hoverTextColor() {
|
|
294
|
-
return brushToString(this.i.
|
|
305
|
+
return brushToString(this.i.d0);
|
|
295
306
|
}
|
|
296
307
|
set hoverTextColor(v) {
|
|
297
|
-
this.i.
|
|
298
|
-
this._a("hoverTextColor", brushToString(this.i.
|
|
308
|
+
this.i.d0 = stringToBrush(v);
|
|
309
|
+
this._a("hoverTextColor", brushToString(this.i.d0));
|
|
299
310
|
}
|
|
300
311
|
/**
|
|
301
312
|
* Gets or sets the id to use for the checkbox.
|
|
302
313
|
*/
|
|
303
314
|
get id() {
|
|
304
|
-
return this.i.
|
|
315
|
+
return this.i.b3;
|
|
305
316
|
}
|
|
306
317
|
set id(v) {
|
|
307
|
-
this.i.
|
|
318
|
+
this.i.b3 = v;
|
|
308
319
|
}
|
|
309
320
|
/**
|
|
310
321
|
* Gets or sets TabIndex to use for the checkbox.
|
|
311
322
|
*/
|
|
312
323
|
get tabIndex() {
|
|
313
|
-
return this.i.
|
|
324
|
+
return this.i.bc;
|
|
314
325
|
}
|
|
315
326
|
set tabIndex(v) {
|
|
316
|
-
this.i.
|
|
317
|
-
this._a("tabIndex", this.i.
|
|
327
|
+
this.i.bc = +v;
|
|
328
|
+
this._a("tabIndex", this.i.bc);
|
|
318
329
|
}
|
|
319
330
|
/**
|
|
320
331
|
* Gets or sets the for attribute to use for the input.
|
|
321
332
|
*/
|
|
322
333
|
get for() {
|
|
323
|
-
return this.i.
|
|
334
|
+
return this.i.b0;
|
|
324
335
|
}
|
|
325
336
|
set for(v) {
|
|
326
|
-
this.i.
|
|
337
|
+
this.i.b0 = v;
|
|
327
338
|
}
|
|
328
339
|
/**
|
|
329
340
|
* Gets or sets the value of the aria-label attribute.
|
|
330
341
|
*/
|
|
331
342
|
get ariaLabel() {
|
|
332
|
-
return this.i.
|
|
343
|
+
return this.i.bv;
|
|
333
344
|
}
|
|
334
345
|
set ariaLabel(v) {
|
|
335
|
-
this.i.
|
|
346
|
+
this.i.bv = v;
|
|
336
347
|
}
|
|
337
348
|
/**
|
|
338
349
|
* Gets or sets whether the input is hovered.
|
|
339
350
|
*/
|
|
340
351
|
get isHover() {
|
|
341
|
-
return this.i.
|
|
352
|
+
return this.i.av;
|
|
342
353
|
}
|
|
343
354
|
set isHover(v) {
|
|
344
|
-
this.i.
|
|
345
|
-
this._a("isHover", this.i.
|
|
355
|
+
this.i.av = ensureBool(v);
|
|
356
|
+
this._a("isHover", this.i.av);
|
|
346
357
|
}
|
|
347
358
|
/**
|
|
348
359
|
* Gets or sets the value for the input.
|
|
349
360
|
*/
|
|
350
361
|
get value() {
|
|
351
|
-
return this.i.
|
|
362
|
+
return this.i.cm;
|
|
352
363
|
}
|
|
353
364
|
set value(v) {
|
|
354
|
-
this.i.
|
|
365
|
+
this.i.cm = v;
|
|
355
366
|
}
|
|
356
367
|
get hasValue() {
|
|
357
|
-
return this.i.
|
|
368
|
+
return this.i.as;
|
|
358
369
|
}
|
|
359
370
|
/**
|
|
360
371
|
* Gets or sets whether the checkbox is disabled.
|
|
@@ -407,7 +418,7 @@ export let IgcXInputComponent = /*@__PURE__*/ (() => {
|
|
|
407
418
|
|
|
408
419
|
*/
|
|
409
420
|
exportVisualModel() {
|
|
410
|
-
let iv = this.i.
|
|
421
|
+
let iv = this.i.be();
|
|
411
422
|
return (iv);
|
|
412
423
|
}
|
|
413
424
|
/**
|
|
@@ -415,17 +426,17 @@ export let IgcXInputComponent = /*@__PURE__*/ (() => {
|
|
|
415
426
|
|
|
416
427
|
*/
|
|
417
428
|
exportSerializedVisualModel() {
|
|
418
|
-
let iv = this.i.
|
|
429
|
+
let iv = this.i.bz();
|
|
419
430
|
return (iv);
|
|
420
431
|
}
|
|
421
432
|
setSelectionRange(selectionStart, selectionEnd) {
|
|
422
|
-
this.i.
|
|
433
|
+
this.i.dl(selectionStart, selectionEnd);
|
|
423
434
|
}
|
|
424
435
|
blur() {
|
|
425
|
-
this.i.
|
|
436
|
+
this.i.cp();
|
|
426
437
|
}
|
|
427
438
|
select() {
|
|
428
|
-
this.i.
|
|
439
|
+
this.i.dj();
|
|
429
440
|
}
|
|
430
441
|
get keyDown() {
|
|
431
442
|
return this._keyDown;
|
package/esm2015/public_api.js
CHANGED
|
@@ -41,6 +41,12 @@ export * from './lib/igc-x-input-group-component';
|
|
|
41
41
|
export * from './lib/igc-x-prefix-module';
|
|
42
42
|
export * from './lib/igc-x-prefix-component';
|
|
43
43
|
export * from './lib/igc-x-suffix-component';
|
|
44
|
+
export * from './lib/NativeUIXInputsFactory';
|
|
45
|
+
export * from './lib/XComponentBridge';
|
|
46
|
+
export * from './lib/XButtonBridge';
|
|
47
|
+
export * from './lib/XCheckboxBridge';
|
|
48
|
+
export * from './lib/XIconButtonBridge';
|
|
49
|
+
export * from './lib/XInputBridge';
|
|
44
50
|
export * from './lib/KEYCODES';
|
|
45
51
|
export * from './lib/MaskOptions';
|
|
46
52
|
export * from './lib/Replaced';
|
|
@@ -671,23 +671,23 @@ var XButtonGroup = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
671
671
|
if (this.v) {
|
|
672
672
|
b.disabled = this.disabled;
|
|
673
673
|
}
|
|
674
|
-
b.
|
|
674
|
+
b.nn = this.e0;
|
|
675
675
|
b.ax = this.ak;
|
|
676
|
-
b.
|
|
677
|
-
b.
|
|
678
|
-
b.
|
|
676
|
+
b.sj = this.e2;
|
|
677
|
+
b.si = this.e1;
|
|
678
|
+
b.sk = this.e3;
|
|
679
679
|
this.view.x(b);
|
|
680
680
|
if (this.aa(b)) {
|
|
681
|
-
b.
|
|
682
|
-
b.
|
|
683
|
-
b.
|
|
684
|
-
b.
|
|
681
|
+
b.nm = this.e7;
|
|
682
|
+
b.t9 = this.fa;
|
|
683
|
+
b.s9 = this.e8;
|
|
684
|
+
b.ta = this.e9;
|
|
685
685
|
}
|
|
686
686
|
else {
|
|
687
|
-
b.
|
|
688
|
-
b.
|
|
689
|
-
b.
|
|
690
|
-
b.
|
|
687
|
+
b.nm = this.ez;
|
|
688
|
+
b.t9 = this.e6;
|
|
689
|
+
b.s9 = this.e4;
|
|
690
|
+
b.ta = this.e5;
|
|
691
691
|
}
|
|
692
692
|
}
|
|
693
693
|
};
|
|
@@ -701,22 +701,22 @@ var XButtonGroup = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
701
701
|
return false;
|
|
702
702
|
};
|
|
703
703
|
XButtonGroup.prototype.dk = function (a) {
|
|
704
|
-
a.
|
|
704
|
+
a.kf = new CornerRadius(1, 0, 0, 0, 0);
|
|
705
705
|
};
|
|
706
706
|
XButtonGroup.prototype.dj = function (a) {
|
|
707
707
|
if (this.k == 1) {
|
|
708
|
-
a.
|
|
708
|
+
a.kf = new CornerRadius(1, 0, 0, this.al, this.al);
|
|
709
709
|
}
|
|
710
710
|
else {
|
|
711
|
-
a.
|
|
711
|
+
a.kf = new CornerRadius(1, 0, this.al, this.al, 0);
|
|
712
712
|
}
|
|
713
713
|
};
|
|
714
714
|
XButtonGroup.prototype.di = function (a) {
|
|
715
715
|
if (this.k == 1) {
|
|
716
|
-
a.
|
|
716
|
+
a.kf = new CornerRadius(1, this.al, this.al, 0, 0);
|
|
717
717
|
}
|
|
718
718
|
else {
|
|
719
|
-
a.
|
|
719
|
+
a.kf = new CornerRadius(1, this.al, 0, 0, this.al);
|
|
720
720
|
}
|
|
721
721
|
};
|
|
722
722
|
XButtonGroup.prototype.dh = function (a) {
|