igniteui-angular-inputs 21.1.0-beta.1 → 21.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 +809 -218
- package/bundles/igniteui-angular-inputs.umd.min.js +1 -1
- package/esm2015/lib/CheckboxView_combined.js +7 -7
- package/esm2015/lib/NativeUIXInputsFactory_combined.js +40 -53
- package/esm2015/lib/igx-color-editor-component.js +3 -3
- package/esm2015/lib/igx-x-button-component.js +280 -56
- package/esm2015/lib/igx-x-input-group-component.js +480 -96
- package/esm5/lib/CheckboxView_combined.js +7 -7
- package/esm5/lib/NativeUIXInputsFactory_combined.js +41 -58
- package/esm5/lib/igx-color-editor-component.js +3 -3
- package/esm5/lib/igx-x-button-component.js +280 -56
- package/esm5/lib/igx-x-input-group-component.js +480 -96
- package/fesm2015/igniteui-angular-inputs.js +809 -214
- package/fesm5/igniteui-angular-inputs.js +809 -218
- package/lib/NativeUIXInputsFactory_combined.d.ts +12 -15
- package/package.json +2 -2
|
@@ -23,8 +23,8 @@ import { Thickness } from "igniteui-angular-core";
|
|
|
23
23
|
import { CheckboxChangeEventArgs } from "./CheckboxChangeEventArgs";
|
|
24
24
|
import { AnimationKeyFrameProperty } from "igniteui-angular-core";
|
|
25
25
|
import { TransformGroup } from "igniteui-angular-core";
|
|
26
|
-
import { RotateTransform } from "igniteui-angular-core";
|
|
27
26
|
import { TranslateTransform } from "igniteui-angular-core";
|
|
27
|
+
import { RotateTransform } from "igniteui-angular-core";
|
|
28
28
|
import { CheckboxVisualModelExport } from "./CheckboxVisualModelExport";
|
|
29
29
|
import { AppearanceHelper } from "igniteui-angular-core";
|
|
30
30
|
import { Dictionary$2 } from "igniteui-angular-core";
|
|
@@ -1142,13 +1142,13 @@ var XCheckbox = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1142
1142
|
var g = new TransformGroup();
|
|
1143
1143
|
var h = this.view.am();
|
|
1144
1144
|
g.j.add(((function () {
|
|
1145
|
-
var $ret = new
|
|
1146
|
-
$ret.j =
|
|
1145
|
+
var $ret = new TranslateTransform();
|
|
1146
|
+
$ret.j = _this.ap / 24 * -16;
|
|
1147
1147
|
return $ret;
|
|
1148
1148
|
})()));
|
|
1149
1149
|
g.j.add(((function () {
|
|
1150
|
-
var $ret = new
|
|
1151
|
-
$ret.j =
|
|
1150
|
+
var $ret = new RotateTransform();
|
|
1151
|
+
$ret.j = 45;
|
|
1152
1152
|
return $ret;
|
|
1153
1153
|
})()));
|
|
1154
1154
|
NativeUI.n(d, this.c8);
|
|
@@ -1287,7 +1287,7 @@ var XCheckbox = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1287
1287
|
})()));
|
|
1288
1288
|
XCheckbox.j = ThemeResolver.a(((function () {
|
|
1289
1289
|
var $ret = new Dictionary$2(String_$type, Base.$, 0);
|
|
1290
|
-
$ret.addItem("CheckPath", "
|
|
1290
|
+
$ret.addItem("CheckPath", "M4.1,12.7 9,17.6 20.3,6.3");
|
|
1291
1291
|
$ret.addItem("UncheckedBorderColor", BrushUtil.l(255, 105, 136, 255));
|
|
1292
1292
|
$ret.addItem("CheckedBorderColor", BrushUtil.l(255, 105, 136, 255));
|
|
1293
1293
|
$ret.addItem("UncheckedBackgroundColor", BrushUtil.l(255, 255, 255, 255));
|
|
@@ -1300,7 +1300,7 @@ var XCheckbox = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1300
1300
|
})()));
|
|
1301
1301
|
XCheckbox.i = ThemeResolver.a(((function () {
|
|
1302
1302
|
var $ret = new Dictionary$2(String_$type, Base.$, 0);
|
|
1303
|
-
$ret.addItem("CheckPath", "
|
|
1303
|
+
$ret.addItem("CheckPath", "M4.1,12.7 9,17.6 20.3,6.3");
|
|
1304
1304
|
$ret.addItem("UncheckedBorderColor", BrushUtil.l(255, 105, 136, 255));
|
|
1305
1305
|
$ret.addItem("CheckedBorderColor", BrushUtil.l(255, 105, 136, 255));
|
|
1306
1306
|
$ret.addItem("UncheckedBackgroundColor", BrushUtil.l(255, 55, 63, 86));
|
|
@@ -712,20 +712,19 @@ var ColorEditorView = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
712
712
|
function ColorEditorView() {
|
|
713
713
|
var _this = _super.call(this) || this;
|
|
714
714
|
_this.a = null;
|
|
715
|
-
_this.
|
|
715
|
+
_this.h = null;
|
|
716
716
|
_this.d = null;
|
|
717
717
|
_this.g = new List$1(Delegate_$type, 0);
|
|
718
718
|
_this.e = true;
|
|
719
|
-
_this._createColorEditorPanel = null;
|
|
720
719
|
_this.b = null;
|
|
721
720
|
return _this;
|
|
722
721
|
}
|
|
723
|
-
ColorEditorView.prototype.
|
|
722
|
+
ColorEditorView.prototype.q = function () {
|
|
724
723
|
};
|
|
725
724
|
ColorEditorView.prototype.f = function () {
|
|
726
725
|
return true;
|
|
727
726
|
};
|
|
728
|
-
ColorEditorView.prototype.
|
|
727
|
+
ColorEditorView.prototype.o = function (a) {
|
|
729
728
|
var e_2, _a;
|
|
730
729
|
if (a == null) {
|
|
731
730
|
try {
|
|
@@ -753,61 +752,45 @@ var ColorEditorView = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
753
752
|
if (this.a.a == null) {
|
|
754
753
|
this.a.a = new DOMExecutionContext(a);
|
|
755
754
|
}
|
|
756
|
-
this.
|
|
755
|
+
this.h = a;
|
|
757
756
|
this.a.bj();
|
|
758
757
|
};
|
|
759
|
-
ColorEditorView.prototype.
|
|
758
|
+
ColorEditorView.prototype.m = function () {
|
|
760
759
|
if (KeyFrameAnimationFactory.h == null) {
|
|
761
|
-
KeyFrameAnimationFactory.h = this.
|
|
760
|
+
KeyFrameAnimationFactory.h = this.h;
|
|
762
761
|
}
|
|
763
762
|
};
|
|
764
|
-
ColorEditorView.prototype.
|
|
763
|
+
ColorEditorView.prototype.n = function () {
|
|
765
764
|
this.e = true;
|
|
766
765
|
};
|
|
767
|
-
ColorEditorView.prototype.
|
|
766
|
+
ColorEditorView.prototype.p = function () {
|
|
768
767
|
this.e = false;
|
|
769
768
|
};
|
|
770
|
-
ColorEditorView.prototype.k = function () {
|
|
771
|
-
return this.i;
|
|
772
|
-
};
|
|
773
|
-
Object.defineProperty(ColorEditorView.prototype, "createColorEditorPanel", {
|
|
774
|
-
get: function () {
|
|
775
|
-
return this._createColorEditorPanel;
|
|
776
|
-
},
|
|
777
|
-
set: function (a) {
|
|
778
|
-
this._createColorEditorPanel = a;
|
|
779
|
-
},
|
|
780
|
-
enumerable: false,
|
|
781
|
-
configurable: true
|
|
782
|
-
});
|
|
783
769
|
ColorEditorView.prototype.j = function () {
|
|
784
|
-
|
|
785
|
-
|
|
786
|
-
|
|
787
|
-
|
|
788
|
-
|
|
789
|
-
|
|
790
|
-
var c =
|
|
791
|
-
|
|
792
|
-
var d = this.
|
|
793
|
-
|
|
794
|
-
|
|
795
|
-
|
|
796
|
-
return d;
|
|
797
|
-
};
|
|
798
|
-
ColorEditorView.prototype.l = function (a, b) {
|
|
770
|
+
return this.h;
|
|
771
|
+
};
|
|
772
|
+
ColorEditorView.prototype.i = function () {
|
|
773
|
+
var a = new ColorEditorPanel();
|
|
774
|
+
this.b = a;
|
|
775
|
+
var b = this.h.createElement("div");
|
|
776
|
+
var c = this.h.getSubRenderer(b);
|
|
777
|
+
a.provideContainer(c);
|
|
778
|
+
var d = this.h.getExternal(a, null, null);
|
|
779
|
+
return b;
|
|
780
|
+
};
|
|
781
|
+
ColorEditorView.prototype.k = function (a, b) {
|
|
799
782
|
var c = a.ao;
|
|
800
|
-
c.append(this.
|
|
783
|
+
c.append(this.h.getWrapper(b));
|
|
801
784
|
};
|
|
802
|
-
ColorEditorView.prototype.
|
|
803
|
-
this.
|
|
785
|
+
ColorEditorView.prototype.l = function (a) {
|
|
786
|
+
this.h.append(this.h.getWrapper(a.ao));
|
|
804
787
|
};
|
|
805
788
|
ColorEditorView.prototype.c = function (a) {
|
|
806
789
|
return this.b;
|
|
807
790
|
};
|
|
808
|
-
ColorEditorView.prototype.
|
|
809
|
-
if (this.
|
|
810
|
-
var b = this.
|
|
791
|
+
ColorEditorView.prototype.r = function (a) {
|
|
792
|
+
if (this.h != null) {
|
|
793
|
+
var b = this.h.rootWrapper.getNativeElement();
|
|
811
794
|
var c = (b.getBoundingClientRect());
|
|
812
795
|
if (a) {
|
|
813
796
|
c = new Rect(0, c.left + window.pageXOffset, c.top + window.pageYOffset, c.width, c.height);
|
|
@@ -816,7 +799,7 @@ var ColorEditorView = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
816
799
|
}
|
|
817
800
|
return null;
|
|
818
801
|
};
|
|
819
|
-
ColorEditorView.prototype.
|
|
802
|
+
ColorEditorView.prototype.s = function () {
|
|
820
803
|
return new Size(1, NaN, NaN);
|
|
821
804
|
};
|
|
822
805
|
ColorEditorView.$t = markType(ColorEditorView, 'ColorEditorView');
|
|
@@ -869,7 +852,7 @@ var ColorEditor = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
869
852
|
var a = new ColorEditorView();
|
|
870
853
|
a.a = _this;
|
|
871
854
|
_this.view = a;
|
|
872
|
-
_this.view.
|
|
855
|
+
_this.view.q();
|
|
873
856
|
return _this;
|
|
874
857
|
}
|
|
875
858
|
Object.defineProperty(ColorEditor.prototype, "view", {
|
|
@@ -883,10 +866,10 @@ var ColorEditor = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
883
866
|
configurable: true
|
|
884
867
|
});
|
|
885
868
|
ColorEditor.prototype.onAttachedToUI = function () {
|
|
886
|
-
this.view.
|
|
869
|
+
this.view.n();
|
|
887
870
|
};
|
|
888
871
|
ColorEditor.prototype.onDetachedFromUI = function () {
|
|
889
|
-
this.view.
|
|
872
|
+
this.view.p();
|
|
890
873
|
};
|
|
891
874
|
ColorEditor.prototype.b4 = function (a, b) {
|
|
892
875
|
if (this.valueChanging != null) {
|
|
@@ -906,12 +889,12 @@ var ColorEditor = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
906
889
|
this.provideContainer(null);
|
|
907
890
|
};
|
|
908
891
|
ColorEditor.prototype.provideContainer = function (a) {
|
|
909
|
-
this.view.
|
|
892
|
+
this.view.o(a);
|
|
910
893
|
};
|
|
911
894
|
Object.defineProperty(ColorEditor.prototype, "u", {
|
|
912
895
|
get: function () {
|
|
913
896
|
if (this.t == null) {
|
|
914
|
-
this.t = new SRProvider(this.view.
|
|
897
|
+
this.t = new SRProvider(this.view.h);
|
|
915
898
|
this.t.cb("ColorEditor");
|
|
916
899
|
}
|
|
917
900
|
return this.t;
|
|
@@ -1249,8 +1232,8 @@ var ColorEditor = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1249
1232
|
this.aa = false;
|
|
1250
1233
|
};
|
|
1251
1234
|
ColorEditor.prototype.br = function () {
|
|
1252
|
-
NativeUIWindow.h(15, runOn(this, this.b7), this.view.
|
|
1253
|
-
NativeUIWindow.h(9, runOn(this, this.b6), this.view.
|
|
1235
|
+
NativeUIWindow.h(15, runOn(this, this.b7), this.view.h);
|
|
1236
|
+
NativeUIWindow.h(9, runOn(this, this.b6), this.view.h);
|
|
1254
1237
|
};
|
|
1255
1238
|
ColorEditor.prototype.bv = function () {
|
|
1256
1239
|
NativeUIWindow.i(15, runOn(this, this.b7));
|
|
@@ -1272,16 +1255,16 @@ var ColorEditor = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1272
1255
|
};
|
|
1273
1256
|
ColorEditor.prototype.bj = function () {
|
|
1274
1257
|
var _this = this;
|
|
1275
|
-
NativeUIComponent.aw(this.view.
|
|
1258
|
+
NativeUIComponent.aw(this.view.j(), [12, 2, 7, 0], [2, 2, 2, 2], function (a) {
|
|
1276
1259
|
var b = a[0];
|
|
1277
1260
|
var c = a[1];
|
|
1278
1261
|
var d = a[2];
|
|
1279
1262
|
var e = a[3];
|
|
1280
|
-
var f = _this.view.
|
|
1281
|
-
_this.view.
|
|
1263
|
+
var f = _this.view.i();
|
|
1264
|
+
_this.view.k(e, f);
|
|
1282
1265
|
b.bo(d);
|
|
1283
1266
|
d.bo(e);
|
|
1284
|
-
_this.view.
|
|
1267
|
+
_this.view.l(c);
|
|
1285
1268
|
b.ci = BrushUtil.l(255, 255, 255, 255);
|
|
1286
1269
|
b.cb = 150;
|
|
1287
1270
|
b.b9 = 8;
|
|
@@ -1363,8 +1346,8 @@ var ColorEditor = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1363
1346
|
return;
|
|
1364
1347
|
}
|
|
1365
1348
|
if (this.s != null) {
|
|
1366
|
-
var a = this.view.
|
|
1367
|
-
var b = this.view.
|
|
1349
|
+
var a = this.view.r(false);
|
|
1350
|
+
var b = this.view.s();
|
|
1368
1351
|
var c = b.height;
|
|
1369
1352
|
var d = 240;
|
|
1370
1353
|
var e = a.bottom + d;
|
|
@@ -1384,7 +1367,7 @@ var ColorEditor = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1384
1367
|
};
|
|
1385
1368
|
ColorEditor.prototype.ce = function (a, b) {
|
|
1386
1369
|
{
|
|
1387
|
-
var c = this.view.
|
|
1370
|
+
var c = this.view.r(true);
|
|
1388
1371
|
this.s.cg(c, a, b);
|
|
1389
1372
|
}
|
|
1390
1373
|
};
|
|
@@ -56,9 +56,9 @@ var IgxColorEditorComponent = /** @class */ /*@__PURE__*/ (function () {
|
|
|
56
56
|
this._portalManager = new PortalManager("colorEditorContent", componentFactoryResolver);
|
|
57
57
|
var ren = new AngularRenderer(root, this.renderer, window.document, this.ngZone, true, {}, this._portalManager);
|
|
58
58
|
this._wrapper = ren;
|
|
59
|
-
colorEditor.view.createColorEditorPanel =
|
|
60
|
-
|
|
61
|
-
};
|
|
59
|
+
//(colorEditor as any).view.createColorEditorPanel = () => {
|
|
60
|
+
// return window.document.createElement("igx-color-editor-panel");
|
|
61
|
+
//};
|
|
62
62
|
colorEditor.provideContainer(ren);
|
|
63
63
|
}
|
|
64
64
|
}
|