igniteui-webcomponents-inputs 7.1.0-beta.1 → 7.1.0-beta.3
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 +809 -218
- package/bundles/igniteui-webcomponents-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/igc-color-editor-component.js +3 -3
- package/esm2015/lib/igc-x-button-component.js +280 -56
- package/esm2015/lib/igc-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/igc-color-editor-component.js +3 -3
- package/esm5/lib/igc-x-button-component.js +280 -56
- package/esm5/lib/igc-x-input-group-component.js +480 -96
- package/fesm2015/igniteui-webcomponents-inputs.js +809 -214
- package/fesm5/igniteui-webcomponents-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-webcomponents-core";
|
|
|
23
23
|
import { CheckboxChangeEventArgs } from "./CheckboxChangeEventArgs";
|
|
24
24
|
import { AnimationKeyFrameProperty } from "igniteui-webcomponents-core";
|
|
25
25
|
import { TransformGroup } from "igniteui-webcomponents-core";
|
|
26
|
-
import { RotateTransform } from "igniteui-webcomponents-core";
|
|
27
26
|
import { TranslateTransform } from "igniteui-webcomponents-core";
|
|
27
|
+
import { RotateTransform } from "igniteui-webcomponents-core";
|
|
28
28
|
import { CheckboxVisualModelExport } from "./CheckboxVisualModelExport";
|
|
29
29
|
import { AppearanceHelper } from "igniteui-webcomponents-core";
|
|
30
30
|
import { Dictionary$2 } from "igniteui-webcomponents-core";
|
|
@@ -1141,13 +1141,13 @@ export var XCheckbox = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1141
1141
|
var g = new TransformGroup();
|
|
1142
1142
|
var h = this.view.am();
|
|
1143
1143
|
g.j.add(((function () {
|
|
1144
|
-
var $ret = new
|
|
1145
|
-
$ret.j =
|
|
1144
|
+
var $ret = new TranslateTransform();
|
|
1145
|
+
$ret.j = _this.ap / 24 * -16;
|
|
1146
1146
|
return $ret;
|
|
1147
1147
|
})()));
|
|
1148
1148
|
g.j.add(((function () {
|
|
1149
|
-
var $ret = new
|
|
1150
|
-
$ret.j =
|
|
1149
|
+
var $ret = new RotateTransform();
|
|
1150
|
+
$ret.j = 45;
|
|
1151
1151
|
return $ret;
|
|
1152
1152
|
})()));
|
|
1153
1153
|
NativeUI.n(d, this.c8);
|
|
@@ -1286,7 +1286,7 @@ export var XCheckbox = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1286
1286
|
})()));
|
|
1287
1287
|
XCheckbox.j = ThemeResolver.a(((function () {
|
|
1288
1288
|
var $ret = new Dictionary$2(String_$type, Base.$, 0);
|
|
1289
|
-
$ret.addItem("CheckPath", "
|
|
1289
|
+
$ret.addItem("CheckPath", "M4.1,12.7 9,17.6 20.3,6.3");
|
|
1290
1290
|
$ret.addItem("UncheckedBorderColor", BrushUtil.l(255, 105, 136, 255));
|
|
1291
1291
|
$ret.addItem("CheckedBorderColor", BrushUtil.l(255, 105, 136, 255));
|
|
1292
1292
|
$ret.addItem("UncheckedBackgroundColor", BrushUtil.l(255, 255, 255, 255));
|
|
@@ -1299,7 +1299,7 @@ export var XCheckbox = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1299
1299
|
})()));
|
|
1300
1300
|
XCheckbox.i = ThemeResolver.a(((function () {
|
|
1301
1301
|
var $ret = new Dictionary$2(String_$type, Base.$, 0);
|
|
1302
|
-
$ret.addItem("CheckPath", "
|
|
1302
|
+
$ret.addItem("CheckPath", "M4.1,12.7 9,17.6 20.3,6.3");
|
|
1303
1303
|
$ret.addItem("UncheckedBorderColor", BrushUtil.l(255, 105, 136, 255));
|
|
1304
1304
|
$ret.addItem("CheckedBorderColor", BrushUtil.l(255, 105, 136, 255));
|
|
1305
1305
|
$ret.addItem("UncheckedBackgroundColor", BrushUtil.l(255, 55, 63, 86));
|
|
@@ -709,20 +709,19 @@ export var ColorEditorView = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
709
709
|
function ColorEditorView() {
|
|
710
710
|
var _this = _super.call(this) || this;
|
|
711
711
|
_this.a = null;
|
|
712
|
-
_this.
|
|
712
|
+
_this.h = null;
|
|
713
713
|
_this.d = null;
|
|
714
714
|
_this.g = new List$1(Delegate_$type, 0);
|
|
715
715
|
_this.e = true;
|
|
716
|
-
_this._createColorEditorPanel = null;
|
|
717
716
|
_this.b = null;
|
|
718
717
|
return _this;
|
|
719
718
|
}
|
|
720
|
-
ColorEditorView.prototype.
|
|
719
|
+
ColorEditorView.prototype.q = function () {
|
|
721
720
|
};
|
|
722
721
|
ColorEditorView.prototype.f = function () {
|
|
723
722
|
return true;
|
|
724
723
|
};
|
|
725
|
-
ColorEditorView.prototype.
|
|
724
|
+
ColorEditorView.prototype.o = function (a) {
|
|
726
725
|
var e_2, _a;
|
|
727
726
|
if (a == null) {
|
|
728
727
|
try {
|
|
@@ -750,61 +749,45 @@ export var ColorEditorView = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
750
749
|
if (this.a.a == null) {
|
|
751
750
|
this.a.a = new DOMExecutionContext(a);
|
|
752
751
|
}
|
|
753
|
-
this.
|
|
752
|
+
this.h = a;
|
|
754
753
|
this.a.bj();
|
|
755
754
|
};
|
|
756
|
-
ColorEditorView.prototype.
|
|
755
|
+
ColorEditorView.prototype.m = function () {
|
|
757
756
|
if (KeyFrameAnimationFactory.h == null) {
|
|
758
|
-
KeyFrameAnimationFactory.h = this.
|
|
757
|
+
KeyFrameAnimationFactory.h = this.h;
|
|
759
758
|
}
|
|
760
759
|
};
|
|
761
|
-
ColorEditorView.prototype.
|
|
760
|
+
ColorEditorView.prototype.n = function () {
|
|
762
761
|
this.e = true;
|
|
763
762
|
};
|
|
764
|
-
ColorEditorView.prototype.
|
|
763
|
+
ColorEditorView.prototype.p = function () {
|
|
765
764
|
this.e = false;
|
|
766
765
|
};
|
|
767
|
-
ColorEditorView.prototype.k = function () {
|
|
768
|
-
return this.i;
|
|
769
|
-
};
|
|
770
|
-
Object.defineProperty(ColorEditorView.prototype, "createColorEditorPanel", {
|
|
771
|
-
get: function () {
|
|
772
|
-
return this._createColorEditorPanel;
|
|
773
|
-
},
|
|
774
|
-
set: function (a) {
|
|
775
|
-
this._createColorEditorPanel = a;
|
|
776
|
-
},
|
|
777
|
-
enumerable: false,
|
|
778
|
-
configurable: true
|
|
779
|
-
});
|
|
780
766
|
ColorEditorView.prototype.j = function () {
|
|
781
|
-
|
|
782
|
-
|
|
783
|
-
|
|
784
|
-
|
|
785
|
-
|
|
786
|
-
|
|
787
|
-
var c =
|
|
788
|
-
|
|
789
|
-
var d = this.
|
|
790
|
-
|
|
791
|
-
|
|
792
|
-
|
|
793
|
-
return d;
|
|
794
|
-
};
|
|
795
|
-
ColorEditorView.prototype.l = function (a, b) {
|
|
767
|
+
return this.h;
|
|
768
|
+
};
|
|
769
|
+
ColorEditorView.prototype.i = function () {
|
|
770
|
+
var a = new ColorEditorPanel();
|
|
771
|
+
this.b = a;
|
|
772
|
+
var b = this.h.createElement("div");
|
|
773
|
+
var c = this.h.getSubRenderer(b);
|
|
774
|
+
a.provideContainer(c);
|
|
775
|
+
var d = this.h.getExternal(a, null, null);
|
|
776
|
+
return b;
|
|
777
|
+
};
|
|
778
|
+
ColorEditorView.prototype.k = function (a, b) {
|
|
796
779
|
var c = a.ao;
|
|
797
|
-
c.append(this.
|
|
780
|
+
c.append(this.h.getWrapper(b));
|
|
798
781
|
};
|
|
799
|
-
ColorEditorView.prototype.
|
|
800
|
-
this.
|
|
782
|
+
ColorEditorView.prototype.l = function (a) {
|
|
783
|
+
this.h.append(this.h.getWrapper(a.ao));
|
|
801
784
|
};
|
|
802
785
|
ColorEditorView.prototype.c = function (a) {
|
|
803
786
|
return this.b;
|
|
804
787
|
};
|
|
805
|
-
ColorEditorView.prototype.
|
|
806
|
-
if (this.
|
|
807
|
-
var b = this.
|
|
788
|
+
ColorEditorView.prototype.r = function (a) {
|
|
789
|
+
if (this.h != null) {
|
|
790
|
+
var b = this.h.rootWrapper.getNativeElement();
|
|
808
791
|
var c = (b.getBoundingClientRect());
|
|
809
792
|
if (a) {
|
|
810
793
|
c = new Rect(0, c.left + window.pageXOffset, c.top + window.pageYOffset, c.width, c.height);
|
|
@@ -813,7 +796,7 @@ export var ColorEditorView = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
813
796
|
}
|
|
814
797
|
return null;
|
|
815
798
|
};
|
|
816
|
-
ColorEditorView.prototype.
|
|
799
|
+
ColorEditorView.prototype.s = function () {
|
|
817
800
|
return new Size(1, NaN, NaN);
|
|
818
801
|
};
|
|
819
802
|
ColorEditorView.$t = markType(ColorEditorView, 'ColorEditorView');
|
|
@@ -865,7 +848,7 @@ export var ColorEditor = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
865
848
|
var a = new ColorEditorView();
|
|
866
849
|
a.a = _this;
|
|
867
850
|
_this.view = a;
|
|
868
|
-
_this.view.
|
|
851
|
+
_this.view.q();
|
|
869
852
|
return _this;
|
|
870
853
|
}
|
|
871
854
|
Object.defineProperty(ColorEditor.prototype, "view", {
|
|
@@ -879,10 +862,10 @@ export var ColorEditor = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
879
862
|
configurable: true
|
|
880
863
|
});
|
|
881
864
|
ColorEditor.prototype.onAttachedToUI = function () {
|
|
882
|
-
this.view.
|
|
865
|
+
this.view.n();
|
|
883
866
|
};
|
|
884
867
|
ColorEditor.prototype.onDetachedFromUI = function () {
|
|
885
|
-
this.view.
|
|
868
|
+
this.view.p();
|
|
886
869
|
};
|
|
887
870
|
ColorEditor.prototype.b4 = function (a, b) {
|
|
888
871
|
if (this.valueChanging != null) {
|
|
@@ -902,12 +885,12 @@ export var ColorEditor = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
902
885
|
this.provideContainer(null);
|
|
903
886
|
};
|
|
904
887
|
ColorEditor.prototype.provideContainer = function (a) {
|
|
905
|
-
this.view.
|
|
888
|
+
this.view.o(a);
|
|
906
889
|
};
|
|
907
890
|
Object.defineProperty(ColorEditor.prototype, "u", {
|
|
908
891
|
get: function () {
|
|
909
892
|
if (this.t == null) {
|
|
910
|
-
this.t = new SRProvider(this.view.
|
|
893
|
+
this.t = new SRProvider(this.view.h);
|
|
911
894
|
this.t.cb("ColorEditor");
|
|
912
895
|
}
|
|
913
896
|
return this.t;
|
|
@@ -1245,8 +1228,8 @@ export var ColorEditor = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1245
1228
|
this.aa = false;
|
|
1246
1229
|
};
|
|
1247
1230
|
ColorEditor.prototype.br = function () {
|
|
1248
|
-
NativeUIWindow.h(15, runOn(this, this.b7), this.view.
|
|
1249
|
-
NativeUIWindow.h(9, runOn(this, this.b6), this.view.
|
|
1231
|
+
NativeUIWindow.h(15, runOn(this, this.b7), this.view.h);
|
|
1232
|
+
NativeUIWindow.h(9, runOn(this, this.b6), this.view.h);
|
|
1250
1233
|
};
|
|
1251
1234
|
ColorEditor.prototype.bv = function () {
|
|
1252
1235
|
NativeUIWindow.i(15, runOn(this, this.b7));
|
|
@@ -1268,16 +1251,16 @@ export var ColorEditor = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1268
1251
|
};
|
|
1269
1252
|
ColorEditor.prototype.bj = function () {
|
|
1270
1253
|
var _this = this;
|
|
1271
|
-
NativeUIComponent.aw(this.view.
|
|
1254
|
+
NativeUIComponent.aw(this.view.j(), [12, 2, 7, 0], [2, 2, 2, 2], function (a) {
|
|
1272
1255
|
var b = a[0];
|
|
1273
1256
|
var c = a[1];
|
|
1274
1257
|
var d = a[2];
|
|
1275
1258
|
var e = a[3];
|
|
1276
|
-
var f = _this.view.
|
|
1277
|
-
_this.view.
|
|
1259
|
+
var f = _this.view.i();
|
|
1260
|
+
_this.view.k(e, f);
|
|
1278
1261
|
b.bo(d);
|
|
1279
1262
|
d.bo(e);
|
|
1280
|
-
_this.view.
|
|
1263
|
+
_this.view.l(c);
|
|
1281
1264
|
b.ci = BrushUtil.l(255, 255, 255, 255);
|
|
1282
1265
|
b.cb = 150;
|
|
1283
1266
|
b.b9 = 8;
|
|
@@ -1359,8 +1342,8 @@ export var ColorEditor = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1359
1342
|
return;
|
|
1360
1343
|
}
|
|
1361
1344
|
if (this.s != null) {
|
|
1362
|
-
var a = this.view.
|
|
1363
|
-
var b = this.view.
|
|
1345
|
+
var a = this.view.r(false);
|
|
1346
|
+
var b = this.view.s();
|
|
1364
1347
|
var c = b.height;
|
|
1365
1348
|
var d = 240;
|
|
1366
1349
|
var e = a.bottom + d;
|
|
@@ -1380,7 +1363,7 @@ export var ColorEditor = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1380
1363
|
};
|
|
1381
1364
|
ColorEditor.prototype.ce = function (a, b) {
|
|
1382
1365
|
{
|
|
1383
|
-
var c = this.view.
|
|
1366
|
+
var c = this.view.r(true);
|
|
1384
1367
|
this.s.cg(c, a, b);
|
|
1385
1368
|
}
|
|
1386
1369
|
};
|
|
@@ -53,9 +53,9 @@ export var IgcColorEditorComponent = /** @class */ /*@__PURE__*/ (function (_sup
|
|
|
53
53
|
_this._wrapper = _this._renderer;
|
|
54
54
|
var colorEditor = _this.i;
|
|
55
55
|
_this._colorEditor = colorEditor;
|
|
56
|
-
colorEditor.view.createColorEditorPanel =
|
|
57
|
-
|
|
58
|
-
};
|
|
56
|
+
//(colorEditor as any).view.createColorEditorPanel = () => {
|
|
57
|
+
// return document.createElement("igc-color-editor-panel");
|
|
58
|
+
//};
|
|
59
59
|
colorEditor.provideContainer(_this._renderer);
|
|
60
60
|
_this._onChildrenChanged();
|
|
61
61
|
//Checkbox.notifySizeChanged();
|