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
|
@@ -22,8 +22,8 @@ import { Thickness } from "igniteui-webcomponents-core";
|
|
|
22
22
|
import { CheckboxChangeEventArgs } from "./CheckboxChangeEventArgs";
|
|
23
23
|
import { AnimationKeyFrameProperty } from "igniteui-webcomponents-core";
|
|
24
24
|
import { TransformGroup } from "igniteui-webcomponents-core";
|
|
25
|
-
import { RotateTransform } from "igniteui-webcomponents-core";
|
|
26
25
|
import { TranslateTransform } from "igniteui-webcomponents-core";
|
|
26
|
+
import { RotateTransform } from "igniteui-webcomponents-core";
|
|
27
27
|
import { CheckboxVisualModelExport } from "./CheckboxVisualModelExport";
|
|
28
28
|
import { AppearanceHelper } from "igniteui-webcomponents-core";
|
|
29
29
|
import { Dictionary$2 } from "igniteui-webcomponents-core";
|
|
@@ -935,13 +935,13 @@ let XCheckbox = /*@__PURE__*/ (() => {
|
|
|
935
935
|
let g = new TransformGroup();
|
|
936
936
|
let h = this.view.am();
|
|
937
937
|
g.j.add(((() => {
|
|
938
|
-
let $ret = new
|
|
939
|
-
$ret.j =
|
|
938
|
+
let $ret = new TranslateTransform();
|
|
939
|
+
$ret.j = this.ap / 24 * -16;
|
|
940
940
|
return $ret;
|
|
941
941
|
})()));
|
|
942
942
|
g.j.add(((() => {
|
|
943
|
-
let $ret = new
|
|
944
|
-
$ret.j =
|
|
943
|
+
let $ret = new RotateTransform();
|
|
944
|
+
$ret.j = 45;
|
|
945
945
|
return $ret;
|
|
946
946
|
})()));
|
|
947
947
|
NativeUI.n(d, this.c8);
|
|
@@ -1081,7 +1081,7 @@ let XCheckbox = /*@__PURE__*/ (() => {
|
|
|
1081
1081
|
})()));
|
|
1082
1082
|
XCheckbox.j = /*@__PURE__*/ ThemeResolver.a(/*@__PURE__*/ ((() => {
|
|
1083
1083
|
let $ret = new Dictionary$2(String_$type, Base.$, 0);
|
|
1084
|
-
$ret.addItem("CheckPath", "
|
|
1084
|
+
$ret.addItem("CheckPath", "M4.1,12.7 9,17.6 20.3,6.3");
|
|
1085
1085
|
$ret.addItem("UncheckedBorderColor", BrushUtil.l(255, 105, 136, 255));
|
|
1086
1086
|
$ret.addItem("CheckedBorderColor", BrushUtil.l(255, 105, 136, 255));
|
|
1087
1087
|
$ret.addItem("UncheckedBackgroundColor", BrushUtil.l(255, 255, 255, 255));
|
|
@@ -1094,7 +1094,7 @@ let XCheckbox = /*@__PURE__*/ (() => {
|
|
|
1094
1094
|
})()));
|
|
1095
1095
|
XCheckbox.i = /*@__PURE__*/ ThemeResolver.a(/*@__PURE__*/ ((() => {
|
|
1096
1096
|
let $ret = new Dictionary$2(String_$type, Base.$, 0);
|
|
1097
|
-
$ret.addItem("CheckPath", "
|
|
1097
|
+
$ret.addItem("CheckPath", "M4.1,12.7 9,17.6 20.3,6.3");
|
|
1098
1098
|
$ret.addItem("UncheckedBorderColor", BrushUtil.l(255, 105, 136, 255));
|
|
1099
1099
|
$ret.addItem("CheckedBorderColor", BrushUtil.l(255, 105, 136, 255));
|
|
1100
1100
|
$ret.addItem("UncheckedBackgroundColor", BrushUtil.l(255, 55, 63, 86));
|
|
@@ -674,19 +674,18 @@ let ColorEditorView = /*@__PURE__*/ (() => {
|
|
|
674
674
|
constructor() {
|
|
675
675
|
super();
|
|
676
676
|
this.a = null;
|
|
677
|
-
this.
|
|
677
|
+
this.h = null;
|
|
678
678
|
this.d = null;
|
|
679
679
|
this.g = new List$1(Delegate_$type, 0);
|
|
680
680
|
this.e = true;
|
|
681
|
-
this._createColorEditorPanel = null;
|
|
682
681
|
this.b = null;
|
|
683
682
|
}
|
|
684
|
-
|
|
683
|
+
q() {
|
|
685
684
|
}
|
|
686
685
|
f() {
|
|
687
686
|
return true;
|
|
688
687
|
}
|
|
689
|
-
|
|
688
|
+
o(a) {
|
|
690
689
|
if (a == null) {
|
|
691
690
|
for (let b of fromEnum(this.g)) {
|
|
692
691
|
b();
|
|
@@ -697,57 +696,45 @@ let ColorEditorView = /*@__PURE__*/ (() => {
|
|
|
697
696
|
if (this.a.a == null) {
|
|
698
697
|
this.a.a = new DOMExecutionContext(a);
|
|
699
698
|
}
|
|
700
|
-
this.
|
|
699
|
+
this.h = a;
|
|
701
700
|
this.a.bj();
|
|
702
701
|
}
|
|
703
|
-
|
|
702
|
+
m() {
|
|
704
703
|
if (KeyFrameAnimationFactory.h == null) {
|
|
705
|
-
KeyFrameAnimationFactory.h = this.
|
|
704
|
+
KeyFrameAnimationFactory.h = this.h;
|
|
706
705
|
}
|
|
707
706
|
}
|
|
708
|
-
|
|
707
|
+
n() {
|
|
709
708
|
this.e = true;
|
|
710
709
|
}
|
|
711
|
-
|
|
710
|
+
p() {
|
|
712
711
|
this.e = false;
|
|
713
712
|
}
|
|
714
|
-
k() {
|
|
715
|
-
return this.i;
|
|
716
|
-
}
|
|
717
|
-
get createColorEditorPanel() {
|
|
718
|
-
return this._createColorEditorPanel;
|
|
719
|
-
}
|
|
720
|
-
set createColorEditorPanel(a) {
|
|
721
|
-
this._createColorEditorPanel = a;
|
|
722
|
-
}
|
|
723
713
|
j() {
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
|
|
728
|
-
|
|
729
|
-
|
|
730
|
-
let c =
|
|
731
|
-
|
|
732
|
-
let d = this.
|
|
733
|
-
|
|
734
|
-
c.provideContainer(e);
|
|
735
|
-
let f = this.i.getExternal(c, null, null);
|
|
736
|
-
return d;
|
|
714
|
+
return this.h;
|
|
715
|
+
}
|
|
716
|
+
i() {
|
|
717
|
+
let a = new ColorEditorPanel();
|
|
718
|
+
this.b = a;
|
|
719
|
+
let b = this.h.createElement("div");
|
|
720
|
+
let c = this.h.getSubRenderer(b);
|
|
721
|
+
a.provideContainer(c);
|
|
722
|
+
let d = this.h.getExternal(a, null, null);
|
|
723
|
+
return b;
|
|
737
724
|
}
|
|
738
|
-
|
|
725
|
+
k(a, b) {
|
|
739
726
|
let c = a.ao;
|
|
740
|
-
c.append(this.
|
|
727
|
+
c.append(this.h.getWrapper(b));
|
|
741
728
|
}
|
|
742
|
-
|
|
743
|
-
this.
|
|
729
|
+
l(a) {
|
|
730
|
+
this.h.append(this.h.getWrapper(a.ao));
|
|
744
731
|
}
|
|
745
732
|
c(a) {
|
|
746
733
|
return this.b;
|
|
747
734
|
}
|
|
748
|
-
|
|
749
|
-
if (this.
|
|
750
|
-
let b = this.
|
|
735
|
+
r(a) {
|
|
736
|
+
if (this.h != null) {
|
|
737
|
+
let b = this.h.rootWrapper.getNativeElement();
|
|
751
738
|
let c = (b.getBoundingClientRect());
|
|
752
739
|
if (a) {
|
|
753
740
|
c = new Rect(0, c.left + window.pageXOffset, c.top + window.pageYOffset, c.width, c.height);
|
|
@@ -756,7 +743,7 @@ let ColorEditorView = /*@__PURE__*/ (() => {
|
|
|
756
743
|
}
|
|
757
744
|
return null;
|
|
758
745
|
}
|
|
759
|
-
|
|
746
|
+
s() {
|
|
760
747
|
return new Size(1, NaN, NaN);
|
|
761
748
|
}
|
|
762
749
|
}
|
|
@@ -813,13 +800,13 @@ let ColorEditor = /*@__PURE__*/ (() => {
|
|
|
813
800
|
let a = new ColorEditorView();
|
|
814
801
|
a.a = this;
|
|
815
802
|
this.view = a;
|
|
816
|
-
this.view.
|
|
803
|
+
this.view.q();
|
|
817
804
|
}
|
|
818
805
|
onAttachedToUI() {
|
|
819
|
-
this.view.
|
|
806
|
+
this.view.n();
|
|
820
807
|
}
|
|
821
808
|
onDetachedFromUI() {
|
|
822
|
-
this.view.
|
|
809
|
+
this.view.p();
|
|
823
810
|
}
|
|
824
811
|
b4(a, b) {
|
|
825
812
|
if (this.valueChanging != null) {
|
|
@@ -839,11 +826,11 @@ let ColorEditor = /*@__PURE__*/ (() => {
|
|
|
839
826
|
this.provideContainer(null);
|
|
840
827
|
}
|
|
841
828
|
provideContainer(a) {
|
|
842
|
-
this.view.
|
|
829
|
+
this.view.o(a);
|
|
843
830
|
}
|
|
844
831
|
get u() {
|
|
845
832
|
if (this.t == null) {
|
|
846
|
-
this.t = new SRProvider(this.view.
|
|
833
|
+
this.t = new SRProvider(this.view.h);
|
|
847
834
|
this.t.cb("ColorEditor");
|
|
848
835
|
}
|
|
849
836
|
return this.t;
|
|
@@ -1110,8 +1097,8 @@ let ColorEditor = /*@__PURE__*/ (() => {
|
|
|
1110
1097
|
this.aa = false;
|
|
1111
1098
|
}
|
|
1112
1099
|
br() {
|
|
1113
|
-
NativeUIWindow.h(15, runOn(this, this.b7), this.view.
|
|
1114
|
-
NativeUIWindow.h(9, runOn(this, this.b6), this.view.
|
|
1100
|
+
NativeUIWindow.h(15, runOn(this, this.b7), this.view.h);
|
|
1101
|
+
NativeUIWindow.h(9, runOn(this, this.b6), this.view.h);
|
|
1115
1102
|
}
|
|
1116
1103
|
bv() {
|
|
1117
1104
|
NativeUIWindow.i(15, runOn(this, this.b7));
|
|
@@ -1132,16 +1119,16 @@ let ColorEditor = /*@__PURE__*/ (() => {
|
|
|
1132
1119
|
}
|
|
1133
1120
|
}
|
|
1134
1121
|
bj() {
|
|
1135
|
-
NativeUIComponent.aw(this.view.
|
|
1122
|
+
NativeUIComponent.aw(this.view.j(), [12, 2, 7, 0], [2, 2, 2, 2], (a) => {
|
|
1136
1123
|
let b = a[0];
|
|
1137
1124
|
let c = a[1];
|
|
1138
1125
|
let d = a[2];
|
|
1139
1126
|
let e = a[3];
|
|
1140
|
-
let f = this.view.
|
|
1141
|
-
this.view.
|
|
1127
|
+
let f = this.view.i();
|
|
1128
|
+
this.view.k(e, f);
|
|
1142
1129
|
b.bo(d);
|
|
1143
1130
|
d.bo(e);
|
|
1144
|
-
this.view.
|
|
1131
|
+
this.view.l(c);
|
|
1145
1132
|
b.ci = BrushUtil.l(255, 255, 255, 255);
|
|
1146
1133
|
b.cb = 150;
|
|
1147
1134
|
b.b9 = 8;
|
|
@@ -1223,8 +1210,8 @@ let ColorEditor = /*@__PURE__*/ (() => {
|
|
|
1223
1210
|
return;
|
|
1224
1211
|
}
|
|
1225
1212
|
if (this.s != null) {
|
|
1226
|
-
let a = this.view.
|
|
1227
|
-
let b = this.view.
|
|
1213
|
+
let a = this.view.r(false);
|
|
1214
|
+
let b = this.view.s();
|
|
1228
1215
|
let c = b.height;
|
|
1229
1216
|
let d = 240;
|
|
1230
1217
|
let e = a.bottom + d;
|
|
@@ -1244,7 +1231,7 @@ let ColorEditor = /*@__PURE__*/ (() => {
|
|
|
1244
1231
|
}
|
|
1245
1232
|
ce(a, b) {
|
|
1246
1233
|
{
|
|
1247
|
-
let c = this.view.
|
|
1234
|
+
let c = this.view.r(true);
|
|
1248
1235
|
this.s.cg(c, a, b);
|
|
1249
1236
|
}
|
|
1250
1237
|
}
|
|
@@ -52,9 +52,9 @@ let IgcColorEditorComponent = /*@__PURE__*/ (() => {
|
|
|
52
52
|
this._wrapper = this._renderer;
|
|
53
53
|
var colorEditor = this.i;
|
|
54
54
|
this._colorEditor = colorEditor;
|
|
55
|
-
colorEditor.view.createColorEditorPanel = () => {
|
|
56
|
-
|
|
57
|
-
};
|
|
55
|
+
//(colorEditor as any).view.createColorEditorPanel = () => {
|
|
56
|
+
// return document.createElement("igc-color-editor-panel");
|
|
57
|
+
//};
|
|
58
58
|
colorEditor.provideContainer(this._renderer);
|
|
59
59
|
this._onChildrenChanged();
|
|
60
60
|
//Checkbox.notifySizeChanged();
|