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.
- package/bundles/igniteui-angular-inputs.umd.js +1322 -1128
- package/bundles/igniteui-angular-inputs.umd.min.js +1 -1
- package/esm2015/lib/ButtonGroupView_combined.js +1 -1
- package/esm2015/lib/ButtonGroupVisualModelExport.js +9 -1
- package/esm2015/lib/ButtonView_combined.js +315 -308
- package/esm2015/lib/CheckboxListVisualModelExport.js +43 -0
- package/esm2015/lib/CheckboxView_combined.js +179 -164
- package/esm2015/lib/CheckboxVisualModelExport.js +14 -6
- package/esm2015/lib/ColorEditorVisualModelExport.js +40 -0
- package/esm2015/lib/IconView_combined.js +27 -22
- package/esm2015/lib/InputGroupView_combined.js +274 -262
- package/esm2015/lib/InputGroupVisualModelExport.js +2 -2
- package/esm2015/lib/InputVisualModelExport.js +34 -32
- package/esm2015/lib/MultiSliderView_combined.js +2 -2
- package/esm2015/lib/NativeUIXInputsFactory_combined.js +324 -299
- package/esm2015/lib/XButtonBridge.js +1 -1
- package/esm2015/lib/XButtonGroupBridge.js +7 -1
- package/esm2015/lib/XCheckboxBridge.js +2 -1
- package/esm2015/lib/XIconBridge.js +2 -1
- package/esm2015/lib/XInputBridge.js +11 -1
- package/esm2015/lib/igx-color-editor-component.js +49 -33
- package/esm2015/public_api.js +2 -0
- package/esm5/lib/ButtonGroupView_combined.js +1 -1
- package/esm5/lib/ButtonGroupVisualModelExport.js +9 -1
- package/esm5/lib/ButtonView_combined.js +315 -308
- package/esm5/lib/CheckboxListVisualModelExport.js +45 -0
- package/esm5/lib/CheckboxView_combined.js +177 -162
- package/esm5/lib/CheckboxVisualModelExport.js +14 -6
- package/esm5/lib/ColorEditorVisualModelExport.js +42 -0
- package/esm5/lib/IconView_combined.js +32 -27
- package/esm5/lib/InputGroupView_combined.js +275 -263
- package/esm5/lib/InputGroupVisualModelExport.js +2 -2
- package/esm5/lib/InputVisualModelExport.js +34 -32
- package/esm5/lib/MultiSliderView_combined.js +2 -2
- package/esm5/lib/NativeUIXInputsFactory_combined.js +315 -290
- package/esm5/lib/XButtonBridge.js +1 -1
- package/esm5/lib/XButtonGroupBridge.js +7 -1
- package/esm5/lib/XCheckboxBridge.js +2 -1
- package/esm5/lib/XIconBridge.js +2 -1
- package/esm5/lib/XInputBridge.js +11 -1
- package/esm5/lib/igx-color-editor-component.js +49 -33
- package/esm5/public_api.js +2 -0
- package/fesm2015/igniteui-angular-inputs.js +1328 -1136
- package/fesm5/igniteui-angular-inputs.js +1322 -1130
- package/lib/ButtonGroupVisualModelExport.d.ts +5 -1
- package/lib/ButtonView_combined.d.ts +42 -41
- package/lib/CheckboxListVisualModelExport.d.ts +18 -0
- package/lib/CheckboxView_combined.d.ts +30 -29
- package/lib/CheckboxVisualModelExport.d.ts +7 -3
- package/lib/ColorEditorVisualModelExport.d.ts +17 -0
- package/lib/IconView_combined.d.ts +2 -0
- package/lib/InputGroupView_combined.d.ts +57 -56
- package/lib/InputVisualModelExport.d.ts +14 -12
- package/lib/NativeUIXInputsFactory_combined.d.ts +90 -85
- package/lib/igx-color-editor-component.d.ts +10 -0
- package/package.json +2 -2
- 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.
|
|
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
|
-
|
|
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);
|
|
@@ -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
|
-
|
|
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.
|
|
115
|
+
return this.i.a2;
|
|
116
116
|
}
|
|
117
117
|
set label(v) {
|
|
118
|
-
this.i.
|
|
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.
|
|
124
|
+
return brushToString(this.i.cq);
|
|
125
125
|
}
|
|
126
126
|
set labelTextColor(v) {
|
|
127
|
-
this.i.
|
|
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.
|
|
133
|
+
if (this.i.p == null) {
|
|
134
134
|
return null;
|
|
135
135
|
}
|
|
136
|
-
return this.i.
|
|
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.
|
|
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.
|
|
147
|
+
return this.i.l;
|
|
148
148
|
}
|
|
149
149
|
set density(v) {
|
|
150
|
-
this.i.
|
|
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.
|
|
156
|
+
return this.i.j;
|
|
157
157
|
}
|
|
158
158
|
set baseTheme(v) {
|
|
159
|
-
this.i.
|
|
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.
|
|
165
|
+
if (this.i.q == null) {
|
|
166
166
|
return null;
|
|
167
167
|
}
|
|
168
|
-
return this.i.
|
|
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.
|
|
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.
|
|
179
|
+
return brushToString(this.i.cr);
|
|
180
180
|
}
|
|
181
181
|
set textColor(v) {
|
|
182
|
-
this.i.
|
|
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.
|
|
188
|
+
return brushToString(this.i.cp);
|
|
189
189
|
}
|
|
190
190
|
set iconColor(v) {
|
|
191
|
-
this.i.
|
|
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.
|
|
197
|
+
return this.i.an;
|
|
198
198
|
}
|
|
199
199
|
set showClearButton(v) {
|
|
200
|
-
this.i.
|
|
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.
|
|
206
|
+
return this.i.ah;
|
|
207
207
|
}
|
|
208
208
|
set allowTextInput(v) {
|
|
209
|
-
this.i.
|
|
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.
|
|
215
|
+
return this.i.al;
|
|
216
216
|
}
|
|
217
217
|
set openOnFocus(v) {
|
|
218
|
-
this.i.
|
|
218
|
+
this.i.al = ensureBool(v);
|
|
219
219
|
}
|
|
220
220
|
get isDisabled() {
|
|
221
|
-
return this.i.
|
|
221
|
+
return this.i.ai;
|
|
222
222
|
}
|
|
223
223
|
set isDisabled(v) {
|
|
224
|
-
this.i.
|
|
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.
|
|
230
|
+
return this.i.aj;
|
|
231
231
|
}
|
|
232
232
|
set isFixed(v) {
|
|
233
|
-
this.i.
|
|
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.
|
|
239
|
+
return this.i.ak;
|
|
240
240
|
}
|
|
241
241
|
set openAsChild(v) {
|
|
242
|
-
this.i.
|
|
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.
|
|
248
|
+
return this.i.ao;
|
|
249
249
|
}
|
|
250
250
|
set useTopLayer(v) {
|
|
251
|
-
this.i.
|
|
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.
|
|
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.
|
package/esm2015/public_api.js
CHANGED
|
@@ -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.
|
|
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.
|
|
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 + ", ");
|