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
|
@@ -22,8 +22,8 @@ import { Thickness } from "igniteui-angular-core";
|
|
|
22
22
|
import { CheckboxChangeEventArgs } from "./CheckboxChangeEventArgs";
|
|
23
23
|
import { AnimationKeyFrameProperty } from "igniteui-angular-core";
|
|
24
24
|
import { TransformGroup } from "igniteui-angular-core";
|
|
25
|
-
import { RotateTransform } from "igniteui-angular-core";
|
|
26
25
|
import { TranslateTransform } from "igniteui-angular-core";
|
|
26
|
+
import { RotateTransform } from "igniteui-angular-core";
|
|
27
27
|
import { CheckboxVisualModelExport } from "./CheckboxVisualModelExport";
|
|
28
28
|
import { AppearanceHelper } from "igniteui-angular-core";
|
|
29
29
|
import { Dictionary$2 } from "igniteui-angular-core";
|
|
@@ -940,13 +940,13 @@ export let XCheckbox = /*@__PURE__*/ (() => {
|
|
|
940
940
|
let g = new TransformGroup();
|
|
941
941
|
let h = this.view.am();
|
|
942
942
|
g.j.add(((() => {
|
|
943
|
-
let $ret = new
|
|
944
|
-
$ret.j =
|
|
943
|
+
let $ret = new TranslateTransform();
|
|
944
|
+
$ret.j = this.ap / 24 * -16;
|
|
945
945
|
return $ret;
|
|
946
946
|
})()));
|
|
947
947
|
g.j.add(((() => {
|
|
948
|
-
let $ret = new
|
|
949
|
-
$ret.j =
|
|
948
|
+
let $ret = new RotateTransform();
|
|
949
|
+
$ret.j = 45;
|
|
950
950
|
return $ret;
|
|
951
951
|
})()));
|
|
952
952
|
NativeUI.n(d, this.c8);
|
|
@@ -1086,7 +1086,7 @@ export let XCheckbox = /*@__PURE__*/ (() => {
|
|
|
1086
1086
|
})()));
|
|
1087
1087
|
XCheckbox.j = ThemeResolver.a(((() => {
|
|
1088
1088
|
let $ret = new Dictionary$2(String_$type, Base.$, 0);
|
|
1089
|
-
$ret.addItem("CheckPath", "
|
|
1089
|
+
$ret.addItem("CheckPath", "M4.1,12.7 9,17.6 20.3,6.3");
|
|
1090
1090
|
$ret.addItem("UncheckedBorderColor", BrushUtil.l(255, 105, 136, 255));
|
|
1091
1091
|
$ret.addItem("CheckedBorderColor", BrushUtil.l(255, 105, 136, 255));
|
|
1092
1092
|
$ret.addItem("UncheckedBackgroundColor", BrushUtil.l(255, 255, 255, 255));
|
|
@@ -1099,7 +1099,7 @@ export let XCheckbox = /*@__PURE__*/ (() => {
|
|
|
1099
1099
|
})()));
|
|
1100
1100
|
XCheckbox.i = ThemeResolver.a(((() => {
|
|
1101
1101
|
let $ret = new Dictionary$2(String_$type, Base.$, 0);
|
|
1102
|
-
$ret.addItem("CheckPath", "
|
|
1102
|
+
$ret.addItem("CheckPath", "M4.1,12.7 9,17.6 20.3,6.3");
|
|
1103
1103
|
$ret.addItem("UncheckedBorderColor", BrushUtil.l(255, 105, 136, 255));
|
|
1104
1104
|
$ret.addItem("CheckedBorderColor", BrushUtil.l(255, 105, 136, 255));
|
|
1105
1105
|
$ret.addItem("UncheckedBackgroundColor", BrushUtil.l(255, 55, 63, 86));
|
|
@@ -683,19 +683,18 @@ export let ColorEditorView = /*@__PURE__*/ (() => {
|
|
|
683
683
|
constructor() {
|
|
684
684
|
super();
|
|
685
685
|
this.a = null;
|
|
686
|
-
this.
|
|
686
|
+
this.h = null;
|
|
687
687
|
this.d = null;
|
|
688
688
|
this.g = new List$1(Delegate_$type, 0);
|
|
689
689
|
this.e = true;
|
|
690
|
-
this._createColorEditorPanel = null;
|
|
691
690
|
this.b = null;
|
|
692
691
|
}
|
|
693
|
-
|
|
692
|
+
q() {
|
|
694
693
|
}
|
|
695
694
|
f() {
|
|
696
695
|
return true;
|
|
697
696
|
}
|
|
698
|
-
|
|
697
|
+
o(a) {
|
|
699
698
|
if (a == null) {
|
|
700
699
|
for (let b of fromEnum(this.g)) {
|
|
701
700
|
b();
|
|
@@ -706,57 +705,45 @@ export let ColorEditorView = /*@__PURE__*/ (() => {
|
|
|
706
705
|
if (this.a.a == null) {
|
|
707
706
|
this.a.a = new DOMExecutionContext(a);
|
|
708
707
|
}
|
|
709
|
-
this.
|
|
708
|
+
this.h = a;
|
|
710
709
|
this.a.bj();
|
|
711
710
|
}
|
|
712
|
-
|
|
711
|
+
m() {
|
|
713
712
|
if (KeyFrameAnimationFactory.h == null) {
|
|
714
|
-
KeyFrameAnimationFactory.h = this.
|
|
713
|
+
KeyFrameAnimationFactory.h = this.h;
|
|
715
714
|
}
|
|
716
715
|
}
|
|
717
|
-
|
|
716
|
+
n() {
|
|
718
717
|
this.e = true;
|
|
719
718
|
}
|
|
720
|
-
|
|
719
|
+
p() {
|
|
721
720
|
this.e = false;
|
|
722
721
|
}
|
|
723
|
-
k() {
|
|
724
|
-
return this.i;
|
|
725
|
-
}
|
|
726
|
-
get createColorEditorPanel() {
|
|
727
|
-
return this._createColorEditorPanel;
|
|
728
|
-
}
|
|
729
|
-
set createColorEditorPanel(a) {
|
|
730
|
-
this._createColorEditorPanel = a;
|
|
731
|
-
}
|
|
732
722
|
j() {
|
|
733
|
-
|
|
734
|
-
|
|
735
|
-
|
|
736
|
-
|
|
737
|
-
|
|
738
|
-
|
|
739
|
-
let c =
|
|
740
|
-
|
|
741
|
-
let d = this.
|
|
742
|
-
|
|
743
|
-
c.provideContainer(e);
|
|
744
|
-
let f = this.i.getExternal(c, null, null);
|
|
745
|
-
return d;
|
|
723
|
+
return this.h;
|
|
724
|
+
}
|
|
725
|
+
i() {
|
|
726
|
+
let a = new ColorEditorPanel();
|
|
727
|
+
this.b = a;
|
|
728
|
+
let b = this.h.createElement("div");
|
|
729
|
+
let c = this.h.getSubRenderer(b);
|
|
730
|
+
a.provideContainer(c);
|
|
731
|
+
let d = this.h.getExternal(a, null, null);
|
|
732
|
+
return b;
|
|
746
733
|
}
|
|
747
|
-
|
|
734
|
+
k(a, b) {
|
|
748
735
|
let c = a.ao;
|
|
749
|
-
c.append(this.
|
|
736
|
+
c.append(this.h.getWrapper(b));
|
|
750
737
|
}
|
|
751
|
-
|
|
752
|
-
this.
|
|
738
|
+
l(a) {
|
|
739
|
+
this.h.append(this.h.getWrapper(a.ao));
|
|
753
740
|
}
|
|
754
741
|
c(a) {
|
|
755
742
|
return this.b;
|
|
756
743
|
}
|
|
757
|
-
|
|
758
|
-
if (this.
|
|
759
|
-
let b = this.
|
|
744
|
+
r(a) {
|
|
745
|
+
if (this.h != null) {
|
|
746
|
+
let b = this.h.rootWrapper.getNativeElement();
|
|
760
747
|
let c = (b.getBoundingClientRect());
|
|
761
748
|
if (a) {
|
|
762
749
|
c = new Rect(0, c.left + window.pageXOffset, c.top + window.pageYOffset, c.width, c.height);
|
|
@@ -765,7 +752,7 @@ export let ColorEditorView = /*@__PURE__*/ (() => {
|
|
|
765
752
|
}
|
|
766
753
|
return null;
|
|
767
754
|
}
|
|
768
|
-
|
|
755
|
+
s() {
|
|
769
756
|
return new Size(1, NaN, NaN);
|
|
770
757
|
}
|
|
771
758
|
}
|
|
@@ -818,7 +805,7 @@ export let ColorEditor = /*@__PURE__*/ (() => {
|
|
|
818
805
|
let a = new ColorEditorView();
|
|
819
806
|
a.a = this;
|
|
820
807
|
this.view = a;
|
|
821
|
-
this.view.
|
|
808
|
+
this.view.q();
|
|
822
809
|
}
|
|
823
810
|
get view() {
|
|
824
811
|
return this._view;
|
|
@@ -827,10 +814,10 @@ export let ColorEditor = /*@__PURE__*/ (() => {
|
|
|
827
814
|
this._view = a;
|
|
828
815
|
}
|
|
829
816
|
onAttachedToUI() {
|
|
830
|
-
this.view.
|
|
817
|
+
this.view.n();
|
|
831
818
|
}
|
|
832
819
|
onDetachedFromUI() {
|
|
833
|
-
this.view.
|
|
820
|
+
this.view.p();
|
|
834
821
|
}
|
|
835
822
|
b4(a, b) {
|
|
836
823
|
if (this.valueChanging != null) {
|
|
@@ -850,11 +837,11 @@ export let ColorEditor = /*@__PURE__*/ (() => {
|
|
|
850
837
|
this.provideContainer(null);
|
|
851
838
|
}
|
|
852
839
|
provideContainer(a) {
|
|
853
|
-
this.view.
|
|
840
|
+
this.view.o(a);
|
|
854
841
|
}
|
|
855
842
|
get u() {
|
|
856
843
|
if (this.t == null) {
|
|
857
|
-
this.t = new SRProvider(this.view.
|
|
844
|
+
this.t = new SRProvider(this.view.h);
|
|
858
845
|
this.t.cb("ColorEditor");
|
|
859
846
|
}
|
|
860
847
|
return this.t;
|
|
@@ -1121,8 +1108,8 @@ export let ColorEditor = /*@__PURE__*/ (() => {
|
|
|
1121
1108
|
this.aa = false;
|
|
1122
1109
|
}
|
|
1123
1110
|
br() {
|
|
1124
|
-
NativeUIWindow.h(15, runOn(this, this.b7), this.view.
|
|
1125
|
-
NativeUIWindow.h(9, runOn(this, this.b6), this.view.
|
|
1111
|
+
NativeUIWindow.h(15, runOn(this, this.b7), this.view.h);
|
|
1112
|
+
NativeUIWindow.h(9, runOn(this, this.b6), this.view.h);
|
|
1126
1113
|
}
|
|
1127
1114
|
bv() {
|
|
1128
1115
|
NativeUIWindow.i(15, runOn(this, this.b7));
|
|
@@ -1143,16 +1130,16 @@ export let ColorEditor = /*@__PURE__*/ (() => {
|
|
|
1143
1130
|
}
|
|
1144
1131
|
}
|
|
1145
1132
|
bj() {
|
|
1146
|
-
NativeUIComponent.aw(this.view.
|
|
1133
|
+
NativeUIComponent.aw(this.view.j(), [12, 2, 7, 0], [2, 2, 2, 2], (a) => {
|
|
1147
1134
|
let b = a[0];
|
|
1148
1135
|
let c = a[1];
|
|
1149
1136
|
let d = a[2];
|
|
1150
1137
|
let e = a[3];
|
|
1151
|
-
let f = this.view.
|
|
1152
|
-
this.view.
|
|
1138
|
+
let f = this.view.i();
|
|
1139
|
+
this.view.k(e, f);
|
|
1153
1140
|
b.bo(d);
|
|
1154
1141
|
d.bo(e);
|
|
1155
|
-
this.view.
|
|
1142
|
+
this.view.l(c);
|
|
1156
1143
|
b.ci = BrushUtil.l(255, 255, 255, 255);
|
|
1157
1144
|
b.cb = 150;
|
|
1158
1145
|
b.b9 = 8;
|
|
@@ -1234,8 +1221,8 @@ export let ColorEditor = /*@__PURE__*/ (() => {
|
|
|
1234
1221
|
return;
|
|
1235
1222
|
}
|
|
1236
1223
|
if (this.s != null) {
|
|
1237
|
-
let a = this.view.
|
|
1238
|
-
let b = this.view.
|
|
1224
|
+
let a = this.view.r(false);
|
|
1225
|
+
let b = this.view.s();
|
|
1239
1226
|
let c = b.height;
|
|
1240
1227
|
let d = 240;
|
|
1241
1228
|
let e = a.bottom + d;
|
|
@@ -1255,7 +1242,7 @@ export let ColorEditor = /*@__PURE__*/ (() => {
|
|
|
1255
1242
|
}
|
|
1256
1243
|
ce(a, b) {
|
|
1257
1244
|
{
|
|
1258
|
-
let c = this.view.
|
|
1245
|
+
let c = this.view.r(true);
|
|
1259
1246
|
this.s.cg(c, a, b);
|
|
1260
1247
|
}
|
|
1261
1248
|
}
|
|
@@ -57,9 +57,9 @@ export let IgxColorEditorComponent = /*@__PURE__*/ (() => {
|
|
|
57
57
|
this._portalManager = new PortalManager("colorEditorContent", componentFactoryResolver);
|
|
58
58
|
var ren = new AngularRenderer(root, this.renderer, window.document, this.ngZone, true, {}, this._portalManager);
|
|
59
59
|
this._wrapper = ren;
|
|
60
|
-
colorEditor.view.createColorEditorPanel = () => {
|
|
61
|
-
|
|
62
|
-
};
|
|
60
|
+
//(colorEditor as any).view.createColorEditorPanel = () => {
|
|
61
|
+
// return window.document.createElement("igx-color-editor-panel");
|
|
62
|
+
//};
|
|
63
63
|
colorEditor.provideContainer(ren);
|
|
64
64
|
}
|
|
65
65
|
}
|