igniteui-angular-inputs 17.3.1-alpha.0 → 18.1.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 +971 -753
- package/bundles/igniteui-angular-inputs.umd.min.js +1 -1
- package/esm2015/lib/ButtonGroupVisualModelExport.js +1 -1
- package/esm2015/lib/ButtonView_combined.js +28 -33
- package/esm2015/lib/ButtonVisualModelExport.js +14 -13
- package/esm2015/lib/CalendarView_combined.js +2 -0
- package/esm2015/lib/CalendarVisualModelExport.js +1 -1
- package/esm2015/lib/CheckboxView_combined.js +2 -2
- package/esm2015/lib/DatePickerView_combined.js +325 -322
- package/esm2015/lib/IconView_combined.js +310 -201
- package/esm2015/lib/IconVisualModelExport.js +46 -33
- package/esm2015/lib/NativeUIXInputsFactory.js +9 -9
- package/esm2015/lib/TextBlockVisualModelExport.js +64 -0
- package/esm2015/lib/XButtonBridge.js +11 -4
- package/esm2015/lib/XCheckboxBridge.js +19 -0
- package/esm2015/lib/{DatePicker.js → XDatePicker.js} +1 -1
- package/esm2015/lib/XIconBridge.js +6 -0
- package/esm2015/lib/XIconButtonBridge.js +1 -1
- package/esm2015/lib/XInputBridge.js +3 -0
- package/esm2015/lib/XPopupBridge.js +11 -8
- package/esm2015/lib/{igx-date-picker-component.js → igx-x-date-picker-component.js} +40 -40
- package/esm2015/lib/{igx-date-picker-dynamic-module.js → igx-x-date-picker-dynamic-module.js} +20 -20
- package/esm2015/lib/{igx-date-picker-module.js → igx-x-date-picker-module.js} +14 -14
- package/esm2015/public_api.js +5 -4
- package/esm5/lib/ButtonGroupVisualModelExport.js +1 -1
- package/esm5/lib/ButtonView_combined.js +33 -38
- package/esm5/lib/ButtonVisualModelExport.js +14 -13
- package/esm5/lib/CalendarView_combined.js +2 -0
- package/esm5/lib/CalendarVisualModelExport.js +1 -1
- package/esm5/lib/CheckboxView_combined.js +2 -2
- package/esm5/lib/DatePickerView_combined.js +336 -333
- package/esm5/lib/IconView_combined.js +308 -199
- package/esm5/lib/IconVisualModelExport.js +50 -33
- package/esm5/lib/NativeUIXInputsFactory.js +9 -9
- package/esm5/lib/TextBlockVisualModelExport.js +66 -0
- package/esm5/lib/XButtonBridge.js +11 -4
- package/esm5/lib/XCheckboxBridge.js +19 -0
- package/esm5/lib/{DatePicker.js → XDatePicker.js} +1 -1
- package/esm5/lib/XIconBridge.js +6 -0
- package/esm5/lib/XIconButtonBridge.js +1 -1
- package/esm5/lib/XInputBridge.js +3 -0
- package/esm5/lib/XPopupBridge.js +11 -8
- package/esm5/lib/{igx-date-picker-component.js → igx-x-date-picker-component.js} +87 -87
- package/esm5/lib/{igx-date-picker-dynamic-module.js → igx-x-date-picker-dynamic-module.js} +21 -21
- package/esm5/lib/{igx-date-picker-module.js → igx-x-date-picker-module.js} +15 -15
- package/esm5/public_api.js +5 -4
- package/fesm2015/igniteui-angular-inputs.js +906 -693
- package/fesm5/igniteui-angular-inputs.js +968 -751
- package/lib/ButtonVisualModelExport.d.ts +6 -5
- package/lib/DatePickerView_combined.d.ts +75 -74
- package/lib/IconView_combined.d.ts +35 -32
- package/lib/IconVisualModelExport.d.ts +17 -12
- package/lib/TextBlockVisualModelExport.d.ts +21 -0
- package/lib/XButtonBridge.d.ts +1 -0
- package/lib/XCheckboxBridge.d.ts +1 -0
- package/lib/XDatePicker.d.ts +1 -0
- package/lib/XIconBridge.d.ts +1 -0
- package/lib/XInputBridge.d.ts +1 -0
- package/lib/XPopupBridge.d.ts +1 -0
- package/lib/{igx-date-picker-component.d.ts → igx-x-date-picker-component.d.ts} +6 -6
- package/lib/igx-x-date-picker-dynamic-module.d.ts +13 -0
- package/lib/igx-x-date-picker-module.d.ts +13 -0
- package/package.json +5 -5
- package/public_api.d.ts +5 -4
- package/lib/DatePicker.d.ts +0 -1
- package/lib/igx-date-picker-dynamic-module.d.ts +0 -13
- package/lib/igx-date-picker-module.d.ts +0 -13
|
@@ -26,7 +26,6 @@ import { FocusEventArgs } from "igniteui-angular-core";
|
|
|
26
26
|
import { Thickness } from "igniteui-angular-core";
|
|
27
27
|
import { BrushUtil } from "igniteui-angular-core";
|
|
28
28
|
import { ButtonVisualModelExport } from "./ButtonVisualModelExport";
|
|
29
|
-
import { UIElementPropertyAccessorFactory } from "igniteui-angular-core";
|
|
30
29
|
import { AppearanceHelper } from "igniteui-angular-core";
|
|
31
30
|
import { FontUtil } from "igniteui-angular-core";
|
|
32
31
|
import { Dictionary$2 } from "igniteui-angular-core";
|
|
@@ -200,10 +199,13 @@ export let ButtonView = /*@__PURE__*/ (() => {
|
|
|
200
199
|
this.n.setStyleProperty("height", h);
|
|
201
200
|
}
|
|
202
201
|
else {
|
|
202
|
+
this.n.setStyleProperty("width", "auto");
|
|
203
|
+
this.n.setStyleProperty("height", "auto");
|
|
203
204
|
this.n.setStyleProperty("min-width", i);
|
|
204
205
|
this.n.setStyleProperty("min-height", j);
|
|
205
206
|
this.n.setStyleProperty("padding", m);
|
|
206
207
|
}
|
|
208
|
+
this.k.rootWrapper.setStyleProperty("height", "auto");
|
|
207
209
|
if (!isNaN_(this.b.bf) && this.b.bf > 0) {
|
|
208
210
|
this.n.setStyleProperty("border-style", "solid");
|
|
209
211
|
}
|
|
@@ -221,11 +223,6 @@ export let ButtonView = /*@__PURE__*/ (() => {
|
|
|
221
223
|
this.n.setStyleProperty("height", "100%");
|
|
222
224
|
this.k.rootWrapper.setStyleProperty("height", "100%");
|
|
223
225
|
}
|
|
224
|
-
else {
|
|
225
|
-
this.n.setStyleProperty("width", "auto");
|
|
226
|
-
this.n.setStyleProperty("height", "auto");
|
|
227
|
-
this.k.rootWrapper.setStyleProperty("height", "auto");
|
|
228
|
-
}
|
|
229
226
|
}
|
|
230
227
|
as() {
|
|
231
228
|
switch (this.b.k5) {
|
|
@@ -2858,17 +2855,15 @@ export let XButton = /*@__PURE__*/ (() => {
|
|
|
2858
2855
|
}
|
|
2859
2856
|
f0() {
|
|
2860
2857
|
let a = this.b();
|
|
2861
|
-
return a.
|
|
2858
|
+
return a.serialize();
|
|
2862
2859
|
}
|
|
2863
2860
|
b() {
|
|
2864
2861
|
let a = this.view.q;
|
|
2865
2862
|
let b = this.view.s;
|
|
2866
2863
|
let c = new ButtonVisualModelExport();
|
|
2867
|
-
let d =
|
|
2868
|
-
|
|
2869
|
-
|
|
2870
|
-
c.s = f[0];
|
|
2871
|
-
c.q = f[1];
|
|
2864
|
+
let d = this.view.a();
|
|
2865
|
+
c.s = d[0];
|
|
2866
|
+
c.q = d[1];
|
|
2872
2867
|
c.p = NativeUI.d(a);
|
|
2873
2868
|
c.t = NativeUI.k(a);
|
|
2874
2869
|
c.h = this.n;
|
|
@@ -2879,7 +2874,7 @@ export let XButton = /*@__PURE__*/ (() => {
|
|
|
2879
2874
|
c.a = AppearanceHelper.a(this.ne);
|
|
2880
2875
|
c.u = this.ct;
|
|
2881
2876
|
c.e = AppearanceHelper.a(this.np);
|
|
2882
|
-
c.
|
|
2877
|
+
c.ag = this.kr;
|
|
2883
2878
|
c.b = AppearanceHelper.a(NativeUI.aj(a));
|
|
2884
2879
|
c.j = this.u;
|
|
2885
2880
|
c.f = AppearanceHelper.a(NativeUI.al(b));
|
|
@@ -2895,31 +2890,31 @@ export let XButton = /*@__PURE__*/ (() => {
|
|
|
2895
2890
|
c.n = this.a0;
|
|
2896
2891
|
c.l = this.disabled;
|
|
2897
2892
|
if (this.aa != null) {
|
|
2898
|
-
let
|
|
2899
|
-
if (this.view != null &&
|
|
2900
|
-
let
|
|
2901
|
-
let
|
|
2902
|
-
|
|
2903
|
-
|
|
2904
|
-
|
|
2905
|
-
|
|
2906
|
-
|
|
2907
|
-
|
|
2893
|
+
let e = this.aa;
|
|
2894
|
+
if (this.view != null && e.q == null) {
|
|
2895
|
+
let f = this.view.k;
|
|
2896
|
+
let g = FontUtil.getFontInfoFromString(f, e.fontString);
|
|
2897
|
+
e.q = g.q;
|
|
2898
|
+
e.f = g.f;
|
|
2899
|
+
e.r = g.r;
|
|
2900
|
+
e.t = g.t;
|
|
2901
|
+
e.u = g.u;
|
|
2902
|
+
e.v = g.v;
|
|
2908
2903
|
}
|
|
2909
|
-
if (
|
|
2910
|
-
c.
|
|
2904
|
+
if (e.q != null) {
|
|
2905
|
+
c.ab = e.q;
|
|
2911
2906
|
}
|
|
2912
|
-
if (!isNaN_(
|
|
2913
|
-
c.r =
|
|
2907
|
+
if (!isNaN_(e.f)) {
|
|
2908
|
+
c.r = e.f;
|
|
2914
2909
|
}
|
|
2915
|
-
if (
|
|
2916
|
-
c.
|
|
2910
|
+
if (e.v != null) {
|
|
2911
|
+
c.af = e.v;
|
|
2917
2912
|
}
|
|
2918
|
-
if (
|
|
2919
|
-
c.
|
|
2913
|
+
if (e.t != null) {
|
|
2914
|
+
c.ad = e.t;
|
|
2920
2915
|
}
|
|
2921
|
-
if (
|
|
2922
|
-
c.
|
|
2916
|
+
if (e.r != null) {
|
|
2917
|
+
c.ac = e.t;
|
|
2923
2918
|
}
|
|
2924
2919
|
}
|
|
2925
2920
|
return c;
|
|
@@ -5,6 +5,7 @@ https://www.infragistics.com/legal/license/igultimate-eula
|
|
|
5
5
|
GOVERNS THE LICENSING, INSTALLATION AND USE OF INFRAGISTICS SOFTWARE. BY DOWNLOADING AND/OR INSTALLING AND USING INFRAGISTICS SOFTWARE: you are indicating that you have read and understand this Agreement, and agree to be legally bound by it on behalf of the yourself and your company.
|
|
6
6
|
*/
|
|
7
7
|
import { Base, markType } from "igniteui-angular-core";
|
|
8
|
+
import { IVisualData_$type } from "igniteui-angular-core";
|
|
8
9
|
import { StringBuilder } from "igniteui-angular-core";
|
|
9
10
|
import { stringIsNullOrEmpty } from "igniteui-angular-core";
|
|
10
11
|
import { isNaN_ } from "igniteui-angular-core";
|
|
@@ -27,17 +28,17 @@ export let ButtonVisualModelExport = /*@__PURE__*/ (() => {
|
|
|
27
28
|
this.a = null;
|
|
28
29
|
this.u = 0;
|
|
29
30
|
this.e = null;
|
|
30
|
-
this.
|
|
31
|
+
this.ag = null;
|
|
31
32
|
this.b = null;
|
|
32
33
|
this.j = 0;
|
|
33
34
|
this.f = null;
|
|
34
35
|
this.o = 0;
|
|
36
|
+
this.ad = null;
|
|
35
37
|
this.ae = null;
|
|
36
38
|
this.af = null;
|
|
37
|
-
this.ag = null;
|
|
38
39
|
this.r = 0;
|
|
40
|
+
this.ab = null;
|
|
39
41
|
this.ac = null;
|
|
40
|
-
this.ad = null;
|
|
41
42
|
this.x = null;
|
|
42
43
|
this.y = null;
|
|
43
44
|
this.z = null;
|
|
@@ -49,7 +50,7 @@ export let ButtonVisualModelExport = /*@__PURE__*/ (() => {
|
|
|
49
50
|
this.n = false;
|
|
50
51
|
this.l = false;
|
|
51
52
|
}
|
|
52
|
-
|
|
53
|
+
serialize() {
|
|
53
54
|
let a = new StringBuilder(0);
|
|
54
55
|
a.l("{");
|
|
55
56
|
a.l("top : " + this.s + ", ");
|
|
@@ -70,20 +71,20 @@ export let ButtonVisualModelExport = /*@__PURE__*/ (() => {
|
|
|
70
71
|
a.l("actualElevationMode : " + this.j + ", ");
|
|
71
72
|
a.l("actualTextColor : " + this.f.serialize() + ", ");
|
|
72
73
|
a.l("actualBorderWidth : " + this.o + ", ");
|
|
74
|
+
if (!stringIsNullOrEmpty(this.ad)) {
|
|
75
|
+
a.l("textStyleFontStyle : \"" + this.ad + "\", ");
|
|
76
|
+
}
|
|
73
77
|
if (!stringIsNullOrEmpty(this.ae)) {
|
|
74
|
-
a.l("
|
|
78
|
+
a.l("textStyleFontVariant : \"" + this.ae + "\", ");
|
|
75
79
|
}
|
|
76
80
|
if (!stringIsNullOrEmpty(this.af)) {
|
|
77
|
-
a.l("
|
|
81
|
+
a.l("textStyleFontWeight : \"" + this.af + "\", ");
|
|
78
82
|
}
|
|
79
|
-
if (!stringIsNullOrEmpty(this.
|
|
80
|
-
a.l("
|
|
83
|
+
if (!stringIsNullOrEmpty(this.ab)) {
|
|
84
|
+
a.l("textStyleFontFamily : \"" + this.ab + "\", ");
|
|
81
85
|
}
|
|
82
86
|
if (!stringIsNullOrEmpty(this.ac)) {
|
|
83
|
-
a.l("
|
|
84
|
-
}
|
|
85
|
-
if (!stringIsNullOrEmpty(this.ad)) {
|
|
86
|
-
a.l("textStyleFontStretch : \"" + this.ad + "\", ");
|
|
87
|
+
a.l("textStyleFontStretch : \"" + this.ac + "\", ");
|
|
87
88
|
}
|
|
88
89
|
if (!isNaN_(this.r)) {
|
|
89
90
|
a.l("textStyleFontSize : " + this.r + ", ");
|
|
@@ -104,6 +105,6 @@ export let ButtonVisualModelExport = /*@__PURE__*/ (() => {
|
|
|
104
105
|
return a.toString();
|
|
105
106
|
}
|
|
106
107
|
}
|
|
107
|
-
ButtonVisualModelExport.$t = markType(ButtonVisualModelExport, 'ButtonVisualModelExport');
|
|
108
|
+
ButtonVisualModelExport.$t = markType(ButtonVisualModelExport, 'ButtonVisualModelExport', Base.$, [IVisualData_$type]);
|
|
108
109
|
return ButtonVisualModelExport;
|
|
109
110
|
})();
|
|
@@ -2286,7 +2286,9 @@ export let XCalendar = /*@__PURE__*/ (() => {
|
|
|
2286
2286
|
}
|
|
2287
2287
|
}
|
|
2288
2288
|
else {
|
|
2289
|
+
this.aj._inner[0].disabled = false;
|
|
2289
2290
|
this.aj._inner[2].disabled = false;
|
|
2291
|
+
this.aj._inner[3].disabled = false;
|
|
2290
2292
|
if (b == this.au.getFullYear()) {
|
|
2291
2293
|
if (c == dateGetMonth(this.au)) {
|
|
2292
2294
|
this.aj._inner[0].disabled = true;
|
|
@@ -72,7 +72,7 @@ export let CalendarVisualModelExport = /*@__PURE__*/ (() => {
|
|
|
72
72
|
a.l(",");
|
|
73
73
|
}
|
|
74
74
|
let c = this.j._inner[b].aa.charAt(0).toString().toLowerCase() + this.j._inner[b].aa.substr(1);
|
|
75
|
-
a.l(this.j._inner[b].
|
|
75
|
+
a.l(this.j._inner[b].serialize());
|
|
76
76
|
}
|
|
77
77
|
a.l("],");
|
|
78
78
|
a.l("dayNamesModels: [");
|
|
@@ -1077,7 +1077,7 @@ export let XCheckbox = /*@__PURE__*/ (() => {
|
|
|
1077
1077
|
$ret.addItem("CheckedBackgroundColor", BrushUtil.h(255, 105, 136, 255));
|
|
1078
1078
|
$ret.addItem("TickColor", BrushUtil.h(255, 255, 255, 255));
|
|
1079
1079
|
$ret.addItem("TickStrokeWidth", 3);
|
|
1080
|
-
$ret.addItem("BorderWidth",
|
|
1080
|
+
$ret.addItem("BorderWidth", 1);
|
|
1081
1081
|
$ret.addItem("CornerRadius", 2);
|
|
1082
1082
|
return $ret;
|
|
1083
1083
|
})()));
|
|
@@ -1090,7 +1090,7 @@ export let XCheckbox = /*@__PURE__*/ (() => {
|
|
|
1090
1090
|
$ret.addItem("CheckedBackgroundColor", BrushUtil.h(255, 105, 136, 255));
|
|
1091
1091
|
$ret.addItem("TickColor", BrushUtil.h(255, 255, 255, 255));
|
|
1092
1092
|
$ret.addItem("TickStrokeWidth", 3);
|
|
1093
|
-
$ret.addItem("BorderWidth",
|
|
1093
|
+
$ret.addItem("BorderWidth", 1);
|
|
1094
1094
|
$ret.addItem("CornerRadius", 2);
|
|
1095
1095
|
return $ret;
|
|
1096
1096
|
})()));
|