igniteui-webcomponents-inputs 4.2.5 → 4.3.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.
- package/bundles/igniteui-webcomponents-inputs.umd.js +10205 -7880
- package/bundles/igniteui-webcomponents-inputs.umd.min.js +1 -1
- package/esm2015/lib/ButtonGroupView_combined.js +98 -98
- package/esm2015/lib/ButtonView_combined.js +2206 -1799
- package/esm2015/lib/CalendarView_combined.js +156 -156
- package/esm2015/lib/CheckboxView_combined.js +532 -458
- package/esm2015/lib/DatePickerView_combined.js +398 -364
- package/esm2015/lib/IconView_combined.js +553 -355
- package/esm2015/lib/InputGroupView_combined.js +2432 -2152
- package/esm2015/lib/NativeUIXInputsFactory.js +65 -23
- package/esm2015/lib/RippleView_combined.js +1 -1
- package/esm2015/lib/Theme.js +48 -0
- package/esm2015/lib/ThemeResolver.js +131 -7
- package/esm2015/lib/XButtonBridge.js +218 -22
- package/esm2015/lib/XCheckboxBridge.js +25 -16
- package/esm2015/lib/XComponentBridge.js +20 -6
- package/esm2015/lib/XIconBridge.js +93 -0
- package/esm2015/lib/XIconButtonBridge.js +45 -33
- package/esm2015/lib/XInputBridge.js +91 -38
- package/esm2015/lib/XPopupBridge.js +287 -0
- package/esm2015/lib/igc-date-picker-component.js +60 -58
- package/esm2015/lib/igc-x-button-component.js +694 -546
- package/esm2015/lib/igc-x-button-group-component.js +28 -28
- package/esm2015/lib/igc-x-calendar-component.js +16 -16
- package/esm2015/lib/igc-x-checkbox-component.js +77 -77
- package/esm2015/lib/igc-x-icon-component.js +239 -118
- package/esm2015/lib/igc-x-input-component.js +61 -43
- package/esm2015/lib/igc-x-input-group-component.js +576 -576
- package/esm2015/lib/igc-x-input-group-item-component.js +18 -18
- package/esm2015/lib/igc-x-ripple-component.js +35 -35
- package/esm2015/public_api.js +3 -0
- package/esm5/lib/ButtonClickEventArgs.js +2 -2
- package/esm5/lib/ButtonGroupSelectionChangedEventArgs.js +2 -2
- package/esm5/lib/ButtonGroupView_combined.js +176 -176
- package/esm5/lib/ButtonGroupVisualModelExport.js +2 -2
- package/esm5/lib/ButtonView_combined.js +2259 -1808
- package/esm5/lib/ButtonVisualModelExport.js +2 -2
- package/esm5/lib/CalendarView_combined.js +181 -181
- package/esm5/lib/CalendarVisualModelExport.js +2 -2
- package/esm5/lib/CheckboxChangeEventArgs.js +4 -4
- package/esm5/lib/CheckboxView_combined.js +561 -483
- package/esm5/lib/CheckboxVisualModelExport.js +2 -2
- package/esm5/lib/DatePickerView_combined.js +421 -383
- package/esm5/lib/DatePickerVisualModelExport.js +2 -2
- package/esm5/lib/DateTimeValueFormatter.js +2 -2
- package/esm5/lib/DayInfo.js +2 -2
- package/esm5/lib/ElevationHelper.js +2 -2
- package/esm5/lib/GotFocusEventArgs.js +2 -2
- package/esm5/lib/IconClickedEventArgs.js +2 -2
- package/esm5/lib/IconView_combined.js +600 -362
- package/esm5/lib/IconVisualModelExport.js +3 -3
- package/esm5/lib/InputChangeEventArgs.js +4 -4
- package/esm5/lib/InputGroupView_combined.js +2534 -2246
- package/esm5/lib/InputGroupVisualModelExport.js +2 -2
- package/esm5/lib/InputVisualModelExport.js +2 -2
- package/esm5/lib/LabelVisualModelExport.js +2 -2
- package/esm5/lib/LostFocusEventArgs.js +2 -2
- package/esm5/lib/MaskOptions.js +2 -2
- package/esm5/lib/MaskParsingService.js +5 -5
- package/esm5/lib/NativeUIXInputsFactory.js +69 -27
- package/esm5/lib/PrefixVisualModelExport.js +2 -2
- package/esm5/lib/Replaced.js +2 -2
- package/esm5/lib/RippleView_combined.js +17 -17
- package/esm5/lib/RippleVisualModelExport.js +2 -2
- package/esm5/lib/SelectedValueChangedEventArgs.js +4 -4
- package/esm5/lib/SuffixVisualModelExport.js +2 -2
- package/esm5/lib/TextElementsVisualModelExport.js +2 -2
- package/esm5/lib/Theme.js +58 -0
- package/esm5/lib/ThemeResolver.js +137 -11
- package/esm5/lib/XButtonBridge.js +220 -24
- package/esm5/lib/XButtonGroupButtonCollection.js +2 -2
- package/esm5/lib/XCheckboxBridge.js +27 -18
- package/esm5/lib/XComponentBridge.js +26 -8
- package/esm5/lib/XIconBridge.js +95 -0
- package/esm5/lib/XIconButtonBridge.js +47 -35
- package/esm5/lib/XInputBridge.js +93 -40
- package/esm5/lib/XPopupBridge.js +289 -0
- package/esm5/lib/igc-button-click-event-args.js +1 -1
- package/esm5/lib/igc-button-group-selection-changed-event-args.js +1 -1
- package/esm5/lib/igc-checkbox-change-event-args.js +3 -3
- package/esm5/lib/igc-date-picker-component.js +80 -78
- package/esm5/lib/igc-got-focus-event-args.js +1 -1
- package/esm5/lib/igc-input-change-event-args.js +3 -3
- package/esm5/lib/igc-lost-focus-event-args.js +1 -1
- package/esm5/lib/igc-selected-value-changed-event-args.js +3 -3
- package/esm5/lib/igc-x-button-component.js +908 -710
- package/esm5/lib/igc-x-button-group-button-collection.js +2 -2
- package/esm5/lib/igc-x-button-group-component.js +73 -73
- package/esm5/lib/igc-x-calendar-component.js +30 -30
- package/esm5/lib/igc-x-checkbox-component.js +117 -117
- package/esm5/lib/igc-x-icon-component.js +297 -136
- package/esm5/lib/igc-x-input-component.js +104 -78
- package/esm5/lib/igc-x-input-group-component.js +716 -716
- package/esm5/lib/igc-x-input-group-input-collection.js +2 -2
- package/esm5/lib/igc-x-input-group-item-component.js +6 -6
- package/esm5/lib/igc-x-label-component.js +30 -30
- package/esm5/lib/igc-x-prefix-component.js +9 -9
- package/esm5/lib/igc-x-ripple-component.js +19 -19
- package/esm5/lib/igc-x-suffix-component.js +9 -9
- package/esm5/public_api.js +3 -0
- package/fesm2015/igniteui-webcomponents-inputs.js +9194 -7084
- package/fesm5/igniteui-webcomponents-inputs.js +10090 -7768
- package/lib/ButtonGroupView_combined.d.ts +136 -70
- package/lib/ButtonView_combined.d.ts +609 -583
- package/lib/CalendarView_combined.d.ts +43 -22
- package/lib/CheckboxChangeEventArgs.d.ts +4 -2
- package/lib/CheckboxView_combined.d.ts +150 -117
- package/lib/DatePickerView_combined.d.ts +109 -81
- package/lib/IconView_combined.d.ts +164 -93
- package/lib/IconVisualModelExport.d.ts +2 -1
- package/lib/InputChangeEventArgs.d.ts +4 -2
- package/lib/InputGroupView_combined.d.ts +771 -771
- package/lib/NativeUIXInputsFactory.d.ts +6 -4
- package/lib/RippleView_combined.d.ts +19 -10
- package/lib/SelectedValueChangedEventArgs.d.ts +4 -2
- package/lib/Theme.d.ts +15 -0
- package/lib/ThemeResolver.d.ts +44 -6
- package/lib/XButtonBridge.d.ts +23 -5
- package/lib/XCheckboxBridge.d.ts +3 -3
- package/lib/XComponentBridge.d.ts +2 -1
- package/lib/XIconBridge.d.ts +14 -0
- package/lib/XIconButtonBridge.d.ts +4 -4
- package/lib/XInputBridge.d.ts +11 -7
- package/lib/XPopupBridge.d.ts +52 -0
- package/lib/igc-button-click-event-args.d.ts +1 -1
- package/lib/igc-button-group-selection-changed-event-args.d.ts +1 -1
- package/lib/igc-checkbox-change-event-args.d.ts +5 -3
- package/lib/igc-date-picker-component.d.ts +65 -34
- package/lib/igc-got-focus-event-args.d.ts +1 -1
- package/lib/igc-input-change-event-args.d.ts +5 -3
- package/lib/igc-lost-focus-event-args.d.ts +1 -1
- package/lib/igc-selected-value-changed-event-args.d.ts +5 -3
- package/lib/igc-x-button-component.d.ts +399 -173
- package/lib/igc-x-button-group-component.d.ts +136 -70
- package/lib/igc-x-calendar-component.d.ts +53 -28
- package/lib/igc-x-checkbox-component.d.ts +71 -37
- package/lib/igc-x-icon-component.d.ts +140 -44
- package/lib/igc-x-input-component.d.ts +69 -32
- package/lib/igc-x-input-group-component.d.ts +325 -165
- package/lib/igc-x-input-group-item-component.d.ts +5 -4
- package/lib/igc-x-label-component.d.ts +52 -27
- package/lib/igc-x-prefix-component.d.ts +10 -6
- package/lib/igc-x-ripple-component.d.ts +31 -17
- package/lib/igc-x-suffix-component.d.ts +10 -6
- package/package.json +2 -2
- package/public_api.d.ts +3 -0
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { XIcon } from "./XIcon";
|
|
2
|
-
import { ensureEnum, brushToString, stringToBrush, ensureBool, initializePropertiesFromCss, NamePatcher, toSpinal, enumToString, getAllPropertyNames, fromSpinal } from "igniteui-webcomponents-core";
|
|
2
|
+
import { ensureEnum, brushToString, stringToBrush, ensureBool, initializePropertiesFromCss, NamePatcher, toSpinal, fromBrushCollection, toBrushCollection, brushCollectionToString, 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";
|
|
@@ -186,223 +186,284 @@ export let IgcXIconComponent = /*@__PURE__*/ (() => {
|
|
|
186
186
|
* Gets or sets the base built in theme to use for the button.
|
|
187
187
|
*/
|
|
188
188
|
get baseTheme() {
|
|
189
|
-
return this.i.
|
|
189
|
+
return this.i.i;
|
|
190
190
|
}
|
|
191
191
|
set baseTheme(v) {
|
|
192
|
-
this.i.
|
|
193
|
-
this._a("baseTheme", enumToString(BaseControlTheme_$type, this.i.
|
|
192
|
+
this.i.i = ensureEnum(BaseControlTheme_$type, v);
|
|
193
|
+
this._a("baseTheme", enumToString(BaseControlTheme_$type, this.i.i));
|
|
194
194
|
}
|
|
195
195
|
/**
|
|
196
|
-
* Gets the color
|
|
196
|
+
* Gets the fill color currently used by the icon.
|
|
197
197
|
*/
|
|
198
198
|
get actualFill() {
|
|
199
|
-
return brushToString(this.i.
|
|
199
|
+
return brushToString(this.i.cp);
|
|
200
200
|
}
|
|
201
201
|
set actualFill(v) {
|
|
202
|
-
this.i.
|
|
203
|
-
this._a("actualFill", brushToString(this.i.
|
|
202
|
+
this.i.cp = stringToBrush(v);
|
|
203
|
+
this._a("actualFill", brushToString(this.i.cp));
|
|
204
204
|
}
|
|
205
205
|
/**
|
|
206
|
-
* Gets the color
|
|
206
|
+
* Gets the stroke color currently used by the icon.
|
|
207
|
+
*/
|
|
208
|
+
get actualStroke() {
|
|
209
|
+
return brushToString(this.i.cq);
|
|
210
|
+
}
|
|
211
|
+
set actualStroke(v) {
|
|
212
|
+
this.i.cq = stringToBrush(v);
|
|
213
|
+
this._a("actualStroke", brushToString(this.i.cq));
|
|
214
|
+
}
|
|
215
|
+
/**
|
|
216
|
+
* Gets the text color currently used by the icon.
|
|
207
217
|
*/
|
|
208
218
|
get actualTextColor() {
|
|
209
|
-
return brushToString(this.i.
|
|
219
|
+
return brushToString(this.i.cr);
|
|
210
220
|
}
|
|
211
221
|
set actualTextColor(v) {
|
|
212
|
-
this.i.
|
|
213
|
-
this._a("actualTextColor", brushToString(this.i.
|
|
222
|
+
this.i.cr = stringToBrush(v);
|
|
223
|
+
this._a("actualTextColor", brushToString(this.i.cr));
|
|
214
224
|
}
|
|
215
225
|
/**
|
|
216
|
-
* Gets the
|
|
226
|
+
* Gets the stroke width currently used by the icon.
|
|
217
227
|
*/
|
|
218
|
-
get
|
|
219
|
-
return
|
|
228
|
+
get actualStrokeWidth() {
|
|
229
|
+
return this.i.ad;
|
|
220
230
|
}
|
|
221
|
-
set
|
|
222
|
-
this.i.
|
|
223
|
-
this._a("
|
|
231
|
+
set actualStrokeWidth(v) {
|
|
232
|
+
this.i.ad = +v;
|
|
233
|
+
this._a("actualStrokeWidth", this.i.ad);
|
|
224
234
|
}
|
|
225
235
|
/**
|
|
226
|
-
* Gets the
|
|
236
|
+
* Gets or sets the fill color to use for the icon.
|
|
227
237
|
*/
|
|
228
|
-
get
|
|
229
|
-
return brushToString(this.i.
|
|
238
|
+
get fill() {
|
|
239
|
+
return brushToString(this.i.fill);
|
|
230
240
|
}
|
|
231
|
-
set
|
|
232
|
-
this.i.
|
|
233
|
-
this._a("
|
|
241
|
+
set fill(v) {
|
|
242
|
+
this.i.fill = stringToBrush(v);
|
|
243
|
+
this._a("fill", brushToString(this.i.fill));
|
|
234
244
|
}
|
|
235
245
|
/**
|
|
236
|
-
* Gets the stroke to use for the icon.
|
|
246
|
+
* Gets or sets the stroke color to use for the icon.
|
|
237
247
|
*/
|
|
238
|
-
get
|
|
239
|
-
return brushToString(this.i.
|
|
248
|
+
get stroke() {
|
|
249
|
+
return brushToString(this.i.c5);
|
|
240
250
|
}
|
|
241
|
-
set
|
|
242
|
-
this.i.
|
|
243
|
-
this._a("
|
|
251
|
+
set stroke(v) {
|
|
252
|
+
this.i.c5 = stringToBrush(v);
|
|
253
|
+
this._a("stroke", brushToString(this.i.c5));
|
|
244
254
|
}
|
|
245
255
|
/**
|
|
246
|
-
* Gets the
|
|
256
|
+
* Gets or sets the stroke thickness to use for the icon.
|
|
247
257
|
*/
|
|
248
|
-
get
|
|
249
|
-
return this.i.
|
|
258
|
+
get strokeWidth() {
|
|
259
|
+
return this.i.aj;
|
|
250
260
|
}
|
|
251
|
-
set
|
|
252
|
-
this.i.
|
|
253
|
-
this._a("
|
|
261
|
+
set strokeWidth(v) {
|
|
262
|
+
this.i.aj = +v;
|
|
263
|
+
this._a("strokeWidth", this.i.aj);
|
|
254
264
|
}
|
|
255
265
|
/**
|
|
256
|
-
* Gets the
|
|
266
|
+
* Gets or sets the text color to use for the icon.
|
|
257
267
|
*/
|
|
258
|
-
get
|
|
259
|
-
return this.i.
|
|
268
|
+
get textColor() {
|
|
269
|
+
return brushToString(this.i.c6);
|
|
260
270
|
}
|
|
261
|
-
set
|
|
262
|
-
this.i.
|
|
263
|
-
this._a("
|
|
271
|
+
set textColor(v) {
|
|
272
|
+
this.i.c6 = stringToBrush(v);
|
|
273
|
+
this._a("textColor", brushToString(this.i.c6));
|
|
264
274
|
}
|
|
265
275
|
/**
|
|
266
|
-
* Gets or sets the color to use
|
|
276
|
+
* Gets or sets the fill color to use when the icon is hovered.
|
|
267
277
|
*/
|
|
268
|
-
get
|
|
269
|
-
return brushToString(this.i.
|
|
278
|
+
get hoverFill() {
|
|
279
|
+
return brushToString(this.i.cy);
|
|
270
280
|
}
|
|
271
|
-
set
|
|
272
|
-
this.i.
|
|
273
|
-
this._a("
|
|
281
|
+
set hoverFill(v) {
|
|
282
|
+
this.i.cy = stringToBrush(v);
|
|
283
|
+
this._a("hoverFill", brushToString(this.i.cy));
|
|
274
284
|
}
|
|
275
285
|
/**
|
|
276
|
-
* Gets or sets the color to use
|
|
286
|
+
* Gets or sets the stroke color to use when the icon is hovered.
|
|
277
287
|
*/
|
|
278
|
-
get
|
|
279
|
-
return brushToString(this.i.
|
|
288
|
+
get hoverStroke() {
|
|
289
|
+
return brushToString(this.i.cz);
|
|
280
290
|
}
|
|
281
|
-
set
|
|
282
|
-
this.i.
|
|
283
|
-
this._a("
|
|
291
|
+
set hoverStroke(v) {
|
|
292
|
+
this.i.cz = stringToBrush(v);
|
|
293
|
+
this._a("hoverStroke", brushToString(this.i.cz));
|
|
284
294
|
}
|
|
285
295
|
/**
|
|
286
|
-
* Gets or sets the
|
|
296
|
+
* Gets or sets the stroke thickness to use when the icon is hovered.
|
|
287
297
|
*/
|
|
288
|
-
get
|
|
289
|
-
return this.i.
|
|
298
|
+
get hoverStrokeThickness() {
|
|
299
|
+
return this.i.ah;
|
|
290
300
|
}
|
|
291
|
-
set
|
|
292
|
-
this.i.
|
|
301
|
+
set hoverStrokeThickness(v) {
|
|
302
|
+
this.i.ah = +v;
|
|
303
|
+
this._a("hoverStrokeThickness", this.i.ah);
|
|
293
304
|
}
|
|
294
305
|
/**
|
|
295
|
-
* Gets or sets the color to use
|
|
306
|
+
* Gets or sets the text color to use when the icon is hovered.
|
|
296
307
|
*/
|
|
297
|
-
get
|
|
298
|
-
return brushToString(this.i.
|
|
308
|
+
get hoverTextColor() {
|
|
309
|
+
return brushToString(this.i.c0);
|
|
299
310
|
}
|
|
300
|
-
set
|
|
301
|
-
this.i.
|
|
302
|
-
this._a("
|
|
311
|
+
set hoverTextColor(v) {
|
|
312
|
+
this.i.c0 = stringToBrush(v);
|
|
313
|
+
this._a("hoverTextColor", brushToString(this.i.c0));
|
|
303
314
|
}
|
|
304
315
|
/**
|
|
305
|
-
* Gets or sets
|
|
316
|
+
* Gets or sets a collection of fill colors to use in the icon.
|
|
317
|
+
* These colors can be used by SVG elements that have been marked with the
|
|
318
|
+
* ig-icon-fill-#
|
|
319
|
+
* class where # is a number from 0 to count - 1.
|
|
306
320
|
*/
|
|
307
|
-
get
|
|
308
|
-
return
|
|
321
|
+
get fillColors() {
|
|
322
|
+
return fromBrushCollection(this.i.c);
|
|
309
323
|
}
|
|
310
|
-
set
|
|
311
|
-
this.i.
|
|
312
|
-
this._a("
|
|
324
|
+
set fillColors(v) {
|
|
325
|
+
this.i.c = toBrushCollection(v);
|
|
326
|
+
this._a("fillColors", brushCollectionToString(this.i.c));
|
|
313
327
|
}
|
|
314
328
|
/**
|
|
315
|
-
* Gets or sets
|
|
329
|
+
* Gets or sets a collection of stroke colors to use in the icon.
|
|
330
|
+
* These colors can be used by SVG elements that have been marked with the
|
|
331
|
+
* ig-icon-stroke-#
|
|
332
|
+
* class where # is a number from 0 to count - 1.
|
|
316
333
|
*/
|
|
317
|
-
get
|
|
318
|
-
return
|
|
334
|
+
get strokeColors() {
|
|
335
|
+
return fromBrushCollection(this.i.d);
|
|
319
336
|
}
|
|
320
|
-
set
|
|
321
|
-
this.i.
|
|
322
|
-
this._a("
|
|
337
|
+
set strokeColors(v) {
|
|
338
|
+
this.i.d = toBrushCollection(v);
|
|
339
|
+
this._a("strokeColors", brushCollectionToString(this.i.d));
|
|
323
340
|
}
|
|
324
341
|
/**
|
|
325
|
-
* Gets or sets
|
|
342
|
+
* Gets or sets a primary fill color for the icon.
|
|
343
|
+
* This color is used by SVG elements that have been marked
|
|
344
|
+
* with the
|
|
345
|
+
* ig-icon-primary-fill
|
|
346
|
+
* class.
|
|
326
347
|
*/
|
|
327
|
-
get
|
|
328
|
-
return this.i.
|
|
348
|
+
get primaryFillColor() {
|
|
349
|
+
return brushToString(this.i.c1);
|
|
329
350
|
}
|
|
330
|
-
set
|
|
331
|
-
this.i.
|
|
332
|
-
this._a("
|
|
351
|
+
set primaryFillColor(v) {
|
|
352
|
+
this.i.c1 = stringToBrush(v);
|
|
353
|
+
this._a("primaryFillColor", brushToString(this.i.c1));
|
|
354
|
+
}
|
|
355
|
+
/**
|
|
356
|
+
* Gets or sets a primary stroke color for the icon.
|
|
357
|
+
* This color is used by SVG elements that have been marked
|
|
358
|
+
* with the
|
|
359
|
+
* ig-icon-primary-stroke
|
|
360
|
+
* class.
|
|
361
|
+
*/
|
|
362
|
+
get primaryStrokeColor() {
|
|
363
|
+
return brushToString(this.i.c2);
|
|
364
|
+
}
|
|
365
|
+
set primaryStrokeColor(v) {
|
|
366
|
+
this.i.c2 = stringToBrush(v);
|
|
367
|
+
this._a("primaryStrokeColor", brushToString(this.i.c2));
|
|
333
368
|
}
|
|
334
369
|
/**
|
|
335
|
-
* Gets or sets
|
|
370
|
+
* Gets or sets a secondary fill color for the icon.
|
|
371
|
+
* This color is used by SVG elements that have been marked
|
|
372
|
+
* with the
|
|
373
|
+
* ig-icon-secondary-fill
|
|
374
|
+
* class.
|
|
336
375
|
*/
|
|
337
|
-
get
|
|
338
|
-
return this.i.
|
|
376
|
+
get secondaryFillColor() {
|
|
377
|
+
return brushToString(this.i.c3);
|
|
339
378
|
}
|
|
340
|
-
set
|
|
341
|
-
this.i.
|
|
342
|
-
this._a("
|
|
379
|
+
set secondaryFillColor(v) {
|
|
380
|
+
this.i.c3 = stringToBrush(v);
|
|
381
|
+
this._a("secondaryFillColor", brushToString(this.i.c3));
|
|
382
|
+
}
|
|
383
|
+
/**
|
|
384
|
+
* Gets or sets a secondary stroke color for the icon.
|
|
385
|
+
* This color is used by SVG elements that have been marked
|
|
386
|
+
* with the
|
|
387
|
+
* ig-icon-secondary-stroke
|
|
388
|
+
* class.
|
|
389
|
+
*/
|
|
390
|
+
get secondaryStrokeColor() {
|
|
391
|
+
return brushToString(this.i.c4);
|
|
392
|
+
}
|
|
393
|
+
set secondaryStrokeColor(v) {
|
|
394
|
+
this.i.c4 = stringToBrush(v);
|
|
395
|
+
this._a("secondaryStrokeColor", brushToString(this.i.c4));
|
|
396
|
+
}
|
|
397
|
+
/**
|
|
398
|
+
* Gets or sets path data for the icon to use.
|
|
399
|
+
*/
|
|
400
|
+
get svgPath() {
|
|
401
|
+
return this.i.svgPath;
|
|
402
|
+
}
|
|
403
|
+
set svgPath(v) {
|
|
404
|
+
this.i.svgPath = v;
|
|
405
|
+
}
|
|
406
|
+
/**
|
|
407
|
+
* Gets or sets svg text for the icon to use.
|
|
408
|
+
*/
|
|
409
|
+
get svg() {
|
|
410
|
+
return this.i.svg;
|
|
411
|
+
}
|
|
412
|
+
set svg(v) {
|
|
413
|
+
this.i.svg = v;
|
|
343
414
|
}
|
|
344
415
|
/**
|
|
345
416
|
* Gets or sets the use for the button.
|
|
346
417
|
*/
|
|
347
418
|
get textStyle() {
|
|
348
|
-
if (this.i.
|
|
419
|
+
if (this.i.k == null) {
|
|
349
420
|
return null;
|
|
350
421
|
}
|
|
351
|
-
return this.i.
|
|
422
|
+
return this.i.k.fontString;
|
|
352
423
|
}
|
|
353
424
|
set textStyle(v) {
|
|
354
425
|
let fi = new FontInfo();
|
|
355
426
|
fi.fontString = v;
|
|
356
|
-
this.i.
|
|
357
|
-
this._a("textStyle", this.i.
|
|
358
|
-
}
|
|
359
|
-
/**
|
|
360
|
-
* Gets or sets the color to use for the hovered text of the button regardless of type.
|
|
361
|
-
*/
|
|
362
|
-
get hoverTextColor() {
|
|
363
|
-
return brushToString(this.i.b9);
|
|
364
|
-
}
|
|
365
|
-
set hoverTextColor(v) {
|
|
366
|
-
this.i.b9 = stringToBrush(v);
|
|
367
|
-
this._a("hoverTextColor", brushToString(this.i.b9));
|
|
427
|
+
this.i.k = fi;
|
|
428
|
+
this._a("textStyle", this.i.k != null ? this.i.k.fontString : "");
|
|
368
429
|
}
|
|
369
430
|
/**
|
|
370
431
|
* Gets or sets the id to use for the checkbox.
|
|
371
432
|
*/
|
|
372
433
|
get id() {
|
|
373
|
-
return this.i.
|
|
434
|
+
return this.i.bc;
|
|
374
435
|
}
|
|
375
436
|
set id(v) {
|
|
376
|
-
this.i.
|
|
437
|
+
this.i.bc = v;
|
|
377
438
|
}
|
|
378
439
|
/**
|
|
379
440
|
* Gets or sets TabIndex to use for the checkbox.
|
|
380
441
|
*/
|
|
381
442
|
get tabIndex() {
|
|
382
|
-
return this.i.
|
|
443
|
+
return this.i.aq;
|
|
383
444
|
}
|
|
384
445
|
set tabIndex(v) {
|
|
385
|
-
this.i.
|
|
386
|
-
this._a("tabIndex", this.i.
|
|
446
|
+
this.i.aq = +v;
|
|
447
|
+
this._a("tabIndex", this.i.aq);
|
|
387
448
|
}
|
|
388
449
|
/**
|
|
389
450
|
* Gets or sets the value of the aria-label attribute.
|
|
390
451
|
*/
|
|
391
452
|
get ariaLabel() {
|
|
392
|
-
return this.i.
|
|
453
|
+
return this.i.a1;
|
|
393
454
|
}
|
|
394
455
|
set ariaLabel(v) {
|
|
395
|
-
this.i.
|
|
456
|
+
this.i.a1 = v;
|
|
396
457
|
}
|
|
397
458
|
/**
|
|
398
459
|
* Gets or sets whether the icon is hovered.
|
|
399
460
|
*/
|
|
400
461
|
get isHover() {
|
|
401
|
-
return this.i.
|
|
462
|
+
return this.i.r;
|
|
402
463
|
}
|
|
403
464
|
set isHover(v) {
|
|
404
|
-
this.i.
|
|
405
|
-
this._a("isHover", this.i.
|
|
465
|
+
this.i.r = ensureBool(v);
|
|
466
|
+
this._a("isHover", this.i.r);
|
|
406
467
|
}
|
|
407
468
|
/**
|
|
408
469
|
* Gets or sets whether the checkbox is disabled.
|
|
@@ -415,11 +476,71 @@ export let IgcXIconComponent = /*@__PURE__*/ (() => {
|
|
|
415
476
|
this._a("disabled", this.i.disabled);
|
|
416
477
|
}
|
|
417
478
|
get opacity() {
|
|
418
|
-
return this.i.
|
|
479
|
+
return this.i.ai;
|
|
419
480
|
}
|
|
420
481
|
set opacity(v) {
|
|
421
|
-
this.i.
|
|
422
|
-
this._a("opacity", this.i.
|
|
482
|
+
this.i.ai = +v;
|
|
483
|
+
this._a("opacity", this.i.ai);
|
|
484
|
+
}
|
|
485
|
+
/**
|
|
486
|
+
* Gets or sets the viewbox left for the svg icon.
|
|
487
|
+
*/
|
|
488
|
+
get viewBoxLeft() {
|
|
489
|
+
return this.i.al;
|
|
490
|
+
}
|
|
491
|
+
set viewBoxLeft(v) {
|
|
492
|
+
this.i.al = +v;
|
|
493
|
+
this._a("viewBoxLeft", this.i.al);
|
|
494
|
+
}
|
|
495
|
+
/**
|
|
496
|
+
* Gets or sets the viewbox top for the svg icon.
|
|
497
|
+
*/
|
|
498
|
+
get viewBoxTop() {
|
|
499
|
+
return this.i.am;
|
|
500
|
+
}
|
|
501
|
+
set viewBoxTop(v) {
|
|
502
|
+
this.i.am = +v;
|
|
503
|
+
this._a("viewBoxTop", this.i.am);
|
|
504
|
+
}
|
|
505
|
+
/**
|
|
506
|
+
* Gets or sets the viewbox width for the svg icon.
|
|
507
|
+
*/
|
|
508
|
+
get viewBoxWidth() {
|
|
509
|
+
return this.i.an;
|
|
510
|
+
}
|
|
511
|
+
set viewBoxWidth(v) {
|
|
512
|
+
this.i.an = +v;
|
|
513
|
+
this._a("viewBoxWidth", this.i.an);
|
|
514
|
+
}
|
|
515
|
+
/**
|
|
516
|
+
* Gets or sets the viewbox height for the svg icon.
|
|
517
|
+
*/
|
|
518
|
+
get viewBoxHeight() {
|
|
519
|
+
return this.i.ak;
|
|
520
|
+
}
|
|
521
|
+
set viewBoxHeight(v) {
|
|
522
|
+
this.i.ak = +v;
|
|
523
|
+
this._a("viewBoxHeight", this.i.ak);
|
|
524
|
+
}
|
|
525
|
+
/**
|
|
526
|
+
* Gets or sets the width of the icon.
|
|
527
|
+
*/
|
|
528
|
+
get width() {
|
|
529
|
+
return this.i.ao;
|
|
530
|
+
}
|
|
531
|
+
set width(v) {
|
|
532
|
+
this.i.ao = +v;
|
|
533
|
+
this._a("width", this.i.ao);
|
|
534
|
+
}
|
|
535
|
+
/**
|
|
536
|
+
* Gets or sets the height of the icon.
|
|
537
|
+
*/
|
|
538
|
+
get height() {
|
|
539
|
+
return this.i.ag;
|
|
540
|
+
}
|
|
541
|
+
set height(v) {
|
|
542
|
+
this.i.ag = +v;
|
|
543
|
+
this._a("height", this.i.ag);
|
|
423
544
|
}
|
|
424
545
|
findByName(name) {
|
|
425
546
|
if (this.findEphemera) {
|
|
@@ -493,7 +614,7 @@ export let IgcXIconComponent = /*@__PURE__*/ (() => {
|
|
|
493
614
|
|
|
494
615
|
*/
|
|
495
616
|
exportVisualModel() {
|
|
496
|
-
let iv = this.i.
|
|
617
|
+
let iv = this.i.as();
|
|
497
618
|
return (iv);
|
|
498
619
|
}
|
|
499
620
|
/**
|
|
@@ -501,7 +622,7 @@ export let IgcXIconComponent = /*@__PURE__*/ (() => {
|
|
|
501
622
|
|
|
502
623
|
*/
|
|
503
624
|
exportSerializedVisualModel() {
|
|
504
|
-
let iv = this.i.
|
|
625
|
+
let iv = this.i.a4();
|
|
505
626
|
return (iv);
|
|
506
627
|
}
|
|
507
628
|
}
|