igniteui-webcomponents-inputs 7.1.0-alpha.3 → 7.1.0-beta.1
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 +75 -43
- package/bundles/igniteui-webcomponents-inputs.umd.min.js +1 -1
- package/esm2015/lib/InputGroupView_combined.js +2 -0
- package/esm2015/lib/NativeUIXInputsFactory_combined.js +62 -43
- package/esm2015/lib/igc-color-editor-component.js +3 -0
- package/esm5/lib/InputGroupView_combined.js +2 -0
- package/esm5/lib/NativeUIXInputsFactory_combined.js +71 -44
- package/esm5/lib/igc-color-editor-component.js +3 -0
- package/fesm2015/igniteui-webcomponents-inputs.js +67 -43
- package/fesm5/igniteui-webcomponents-inputs.js +75 -43
- package/lib/NativeUIXInputsFactory_combined.d.ts +18 -13
- package/package.json +2 -2
|
@@ -21051,6 +21051,8 @@
|
|
|
21051
21051
|
$ret.addItem(1, XInputGroup.i);
|
|
21052
21052
|
$ret.addItem(3, XInputGroup.l);
|
|
21053
21053
|
$ret.addItem(4, XInputGroup.k);
|
|
21054
|
+
$ret.addItem(5, XInputGroup.l);
|
|
21055
|
+
$ret.addItem(6, XInputGroup.k);
|
|
21054
21056
|
return $ret;
|
|
21055
21057
|
})()), 2);
|
|
21056
21058
|
return XInputGroup;
|
|
@@ -38995,19 +38997,20 @@
|
|
|
38995
38997
|
function ColorEditorView() {
|
|
38996
38998
|
var _this = _super.call(this) || this;
|
|
38997
38999
|
_this.a = null;
|
|
38998
|
-
_this.
|
|
39000
|
+
_this.i = null;
|
|
38999
39001
|
_this.d = null;
|
|
39000
39002
|
_this.g = new igniteuiWebcomponentsCore.List$1(igniteuiWebcomponentsCore.Delegate_$type, 0);
|
|
39001
39003
|
_this.e = true;
|
|
39004
|
+
_this._createColorEditorPanel = null;
|
|
39002
39005
|
_this.b = null;
|
|
39003
39006
|
return _this;
|
|
39004
39007
|
}
|
|
39005
|
-
ColorEditorView.prototype.
|
|
39008
|
+
ColorEditorView.prototype.r = function () {
|
|
39006
39009
|
};
|
|
39007
39010
|
ColorEditorView.prototype.f = function () {
|
|
39008
39011
|
return true;
|
|
39009
39012
|
};
|
|
39010
|
-
ColorEditorView.prototype.
|
|
39013
|
+
ColorEditorView.prototype.p = function (a) {
|
|
39011
39014
|
var e_2, _a;
|
|
39012
39015
|
if (a == null) {
|
|
39013
39016
|
try {
|
|
@@ -39035,45 +39038,61 @@
|
|
|
39035
39038
|
if (this.a.a == null) {
|
|
39036
39039
|
this.a.a = new igniteuiWebcomponentsCore.DOMExecutionContext(a);
|
|
39037
39040
|
}
|
|
39038
|
-
this.
|
|
39041
|
+
this.i = a;
|
|
39039
39042
|
this.a.bj();
|
|
39040
39043
|
};
|
|
39041
|
-
ColorEditorView.prototype.
|
|
39044
|
+
ColorEditorView.prototype.n = function () {
|
|
39042
39045
|
if (igniteuiWebcomponentsCore.KeyFrameAnimationFactory.h == null) {
|
|
39043
|
-
igniteuiWebcomponentsCore.KeyFrameAnimationFactory.h = this.
|
|
39046
|
+
igniteuiWebcomponentsCore.KeyFrameAnimationFactory.h = this.i;
|
|
39044
39047
|
}
|
|
39045
39048
|
};
|
|
39046
|
-
ColorEditorView.prototype.
|
|
39049
|
+
ColorEditorView.prototype.o = function () {
|
|
39047
39050
|
this.e = true;
|
|
39048
39051
|
};
|
|
39049
|
-
ColorEditorView.prototype.
|
|
39052
|
+
ColorEditorView.prototype.q = function () {
|
|
39050
39053
|
this.e = false;
|
|
39051
39054
|
};
|
|
39052
|
-
ColorEditorView.prototype.
|
|
39053
|
-
return this.
|
|
39055
|
+
ColorEditorView.prototype.k = function () {
|
|
39056
|
+
return this.i;
|
|
39054
39057
|
};
|
|
39055
|
-
ColorEditorView.prototype
|
|
39056
|
-
|
|
39057
|
-
|
|
39058
|
-
|
|
39059
|
-
|
|
39060
|
-
|
|
39061
|
-
|
|
39062
|
-
|
|
39058
|
+
Object.defineProperty(ColorEditorView.prototype, "createColorEditorPanel", {
|
|
39059
|
+
get: function () {
|
|
39060
|
+
return this._createColorEditorPanel;
|
|
39061
|
+
},
|
|
39062
|
+
set: function (a) {
|
|
39063
|
+
this._createColorEditorPanel = a;
|
|
39064
|
+
},
|
|
39065
|
+
enumerable: false,
|
|
39066
|
+
configurable: true
|
|
39067
|
+
});
|
|
39068
|
+
ColorEditorView.prototype.j = function () {
|
|
39069
|
+
if (this.createColorEditorPanel != null) {
|
|
39070
|
+
var a = this.createColorEditorPanel();
|
|
39071
|
+
var b = this.i.getWrapper(a);
|
|
39072
|
+
this.b = (a.i);
|
|
39073
|
+
return a;
|
|
39074
|
+
}
|
|
39075
|
+
var c = new ColorEditorPanel();
|
|
39076
|
+
this.b = c;
|
|
39077
|
+
var d = this.i.createElement("div");
|
|
39078
|
+
var e = this.i.getSubRenderer(d);
|
|
39079
|
+
c.provideContainer(e);
|
|
39080
|
+
var f = this.i.getExternal(c, null, null);
|
|
39081
|
+
return d;
|
|
39063
39082
|
};
|
|
39064
|
-
ColorEditorView.prototype.
|
|
39083
|
+
ColorEditorView.prototype.l = function (a, b) {
|
|
39065
39084
|
var c = a.ao;
|
|
39066
|
-
c.append(this.
|
|
39085
|
+
c.append(this.i.getWrapper(b));
|
|
39067
39086
|
};
|
|
39068
|
-
ColorEditorView.prototype.
|
|
39069
|
-
this.
|
|
39087
|
+
ColorEditorView.prototype.m = function (a) {
|
|
39088
|
+
this.i.append(this.i.getWrapper(a.ao));
|
|
39070
39089
|
};
|
|
39071
39090
|
ColorEditorView.prototype.c = function (a) {
|
|
39072
39091
|
return this.b;
|
|
39073
39092
|
};
|
|
39074
|
-
ColorEditorView.prototype.
|
|
39075
|
-
if (this.
|
|
39076
|
-
var b = this.
|
|
39093
|
+
ColorEditorView.prototype.s = function (a) {
|
|
39094
|
+
if (this.i != null) {
|
|
39095
|
+
var b = this.i.rootWrapper.getNativeElement();
|
|
39077
39096
|
var c = (b.getBoundingClientRect());
|
|
39078
39097
|
if (a) {
|
|
39079
39098
|
c = new igniteuiWebcomponentsCore.Rect(0, c.left + window.pageXOffset, c.top + window.pageYOffset, c.width, c.height);
|
|
@@ -39082,7 +39101,7 @@
|
|
|
39082
39101
|
}
|
|
39083
39102
|
return null;
|
|
39084
39103
|
};
|
|
39085
|
-
ColorEditorView.prototype.
|
|
39104
|
+
ColorEditorView.prototype.t = function () {
|
|
39086
39105
|
return new igniteuiWebcomponentsCore.Size(1, NaN, NaN);
|
|
39087
39106
|
};
|
|
39088
39107
|
ColorEditorView.$t = igniteuiWebcomponentsCore.markType(ColorEditorView, 'ColorEditorView');
|
|
@@ -39095,7 +39114,7 @@
|
|
|
39095
39114
|
tslib.__extends(ColorEditor, _super);
|
|
39096
39115
|
function ColorEditor() {
|
|
39097
39116
|
var _this = _super.call(this) || this;
|
|
39098
|
-
_this.
|
|
39117
|
+
_this._view = null;
|
|
39099
39118
|
_this.s = null;
|
|
39100
39119
|
_this.r = null;
|
|
39101
39120
|
_this.e = null;
|
|
@@ -39133,15 +39152,25 @@
|
|
|
39133
39152
|
NativeUIXInputsFactory.m();
|
|
39134
39153
|
var a = new ColorEditorView();
|
|
39135
39154
|
a.a = _this;
|
|
39136
|
-
_this.
|
|
39137
|
-
_this.
|
|
39155
|
+
_this.view = a;
|
|
39156
|
+
_this.view.r();
|
|
39138
39157
|
return _this;
|
|
39139
39158
|
}
|
|
39159
|
+
Object.defineProperty(ColorEditor.prototype, "view", {
|
|
39160
|
+
get: function () {
|
|
39161
|
+
return this._view;
|
|
39162
|
+
},
|
|
39163
|
+
set: function (a) {
|
|
39164
|
+
this._view = a;
|
|
39165
|
+
},
|
|
39166
|
+
enumerable: false,
|
|
39167
|
+
configurable: true
|
|
39168
|
+
});
|
|
39140
39169
|
ColorEditor.prototype.onAttachedToUI = function () {
|
|
39141
|
-
this.
|
|
39170
|
+
this.view.o();
|
|
39142
39171
|
};
|
|
39143
39172
|
ColorEditor.prototype.onDetachedFromUI = function () {
|
|
39144
|
-
this.
|
|
39173
|
+
this.view.q();
|
|
39145
39174
|
};
|
|
39146
39175
|
ColorEditor.prototype.b4 = function (a, b) {
|
|
39147
39176
|
if (this.valueChanging != null) {
|
|
@@ -39161,12 +39190,12 @@
|
|
|
39161
39190
|
this.provideContainer(null);
|
|
39162
39191
|
};
|
|
39163
39192
|
ColorEditor.prototype.provideContainer = function (a) {
|
|
39164
|
-
this.
|
|
39193
|
+
this.view.p(a);
|
|
39165
39194
|
};
|
|
39166
39195
|
Object.defineProperty(ColorEditor.prototype, "u", {
|
|
39167
39196
|
get: function () {
|
|
39168
39197
|
if (this.t == null) {
|
|
39169
|
-
this.t = new igniteuiWebcomponentsCore.SRProvider(this.
|
|
39198
|
+
this.t = new igniteuiWebcomponentsCore.SRProvider(this.view.i);
|
|
39170
39199
|
this.t.cb("ColorEditor");
|
|
39171
39200
|
}
|
|
39172
39201
|
return this.t;
|
|
@@ -39504,8 +39533,8 @@
|
|
|
39504
39533
|
this.aa = false;
|
|
39505
39534
|
};
|
|
39506
39535
|
ColorEditor.prototype.br = function () {
|
|
39507
|
-
igniteuiWebcomponentsCore.NativeUIWindow.h(15, igniteuiWebcomponentsCore.runOn(this, this.b7), this.
|
|
39508
|
-
igniteuiWebcomponentsCore.NativeUIWindow.h(9, igniteuiWebcomponentsCore.runOn(this, this.b6), this.
|
|
39536
|
+
igniteuiWebcomponentsCore.NativeUIWindow.h(15, igniteuiWebcomponentsCore.runOn(this, this.b7), this.view.i);
|
|
39537
|
+
igniteuiWebcomponentsCore.NativeUIWindow.h(9, igniteuiWebcomponentsCore.runOn(this, this.b6), this.view.i);
|
|
39509
39538
|
};
|
|
39510
39539
|
ColorEditor.prototype.bv = function () {
|
|
39511
39540
|
igniteuiWebcomponentsCore.NativeUIWindow.i(15, igniteuiWebcomponentsCore.runOn(this, this.b7));
|
|
@@ -39527,16 +39556,16 @@
|
|
|
39527
39556
|
};
|
|
39528
39557
|
ColorEditor.prototype.bj = function () {
|
|
39529
39558
|
var _this = this;
|
|
39530
|
-
igniteuiWebcomponentsCore.NativeUIComponent.aw(this.
|
|
39559
|
+
igniteuiWebcomponentsCore.NativeUIComponent.aw(this.view.k(), [12, 2, 7, 0], [2, 2, 2, 2], function (a) {
|
|
39531
39560
|
var b = a[0];
|
|
39532
39561
|
var c = a[1];
|
|
39533
39562
|
var d = a[2];
|
|
39534
39563
|
var e = a[3];
|
|
39535
|
-
var f = _this.
|
|
39536
|
-
_this.
|
|
39564
|
+
var f = _this.view.j();
|
|
39565
|
+
_this.view.l(e, f);
|
|
39537
39566
|
b.bo(d);
|
|
39538
39567
|
d.bo(e);
|
|
39539
|
-
_this.
|
|
39568
|
+
_this.view.m(c);
|
|
39540
39569
|
b.ci = igniteuiWebcomponentsCore.BrushUtil.l(255, 255, 255, 255);
|
|
39541
39570
|
b.cb = 150;
|
|
39542
39571
|
b.b9 = 8;
|
|
@@ -39553,7 +39582,7 @@
|
|
|
39553
39582
|
_this.r.o = igniteuiWebcomponentsCore.runOn(_this, _this.b0);
|
|
39554
39583
|
_this.r.cc = igniteuiWebcomponentsCore.BrushUtil.l(255, 0, 0, 255);
|
|
39555
39584
|
_this.s = b;
|
|
39556
|
-
_this.e = _this.
|
|
39585
|
+
_this.e = _this.view.c(f);
|
|
39557
39586
|
_this.e.value = _this.value;
|
|
39558
39587
|
var g = _this.e;
|
|
39559
39588
|
g.closed = igniteuiWebcomponentsCore.delegateCombine(g.closed, igniteuiWebcomponentsCore.runOn(_this, _this.bf));
|
|
@@ -39618,8 +39647,8 @@
|
|
|
39618
39647
|
return;
|
|
39619
39648
|
}
|
|
39620
39649
|
if (this.s != null) {
|
|
39621
|
-
var a = this.
|
|
39622
|
-
var b = this.
|
|
39650
|
+
var a = this.view.s(false);
|
|
39651
|
+
var b = this.view.t();
|
|
39623
39652
|
var c = b.height;
|
|
39624
39653
|
var d = 240;
|
|
39625
39654
|
var e = a.bottom + d;
|
|
@@ -39639,7 +39668,7 @@
|
|
|
39639
39668
|
};
|
|
39640
39669
|
ColorEditor.prototype.ce = function (a, b) {
|
|
39641
39670
|
{
|
|
39642
|
-
var c = this.
|
|
39671
|
+
var c = this.view.s(true);
|
|
39643
39672
|
this.s.cg(c, a, b);
|
|
39644
39673
|
}
|
|
39645
39674
|
};
|
|
@@ -40775,6 +40804,9 @@
|
|
|
40775
40804
|
_this._wrapper = _this._renderer;
|
|
40776
40805
|
var colorEditor = _this.i;
|
|
40777
40806
|
_this._colorEditor = colorEditor;
|
|
40807
|
+
colorEditor.view.createColorEditorPanel = function () {
|
|
40808
|
+
return document.createElement("igc-color-editor-panel");
|
|
40809
|
+
};
|
|
40778
40810
|
colorEditor.provideContainer(_this._renderer);
|
|
40779
40811
|
_this._onChildrenChanged();
|
|
40780
40812
|
//Checkbox.notifySizeChanged();
|