igniteui-angular-inputs 20.1.0 → 20.2.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 +1322 -1128
- package/bundles/igniteui-angular-inputs.umd.min.js +1 -1
- package/esm2015/lib/ButtonGroupView_combined.js +1 -1
- package/esm2015/lib/ButtonGroupVisualModelExport.js +9 -1
- package/esm2015/lib/ButtonView_combined.js +315 -308
- package/esm2015/lib/CheckboxListVisualModelExport.js +43 -0
- package/esm2015/lib/CheckboxView_combined.js +179 -164
- package/esm2015/lib/CheckboxVisualModelExport.js +14 -6
- package/esm2015/lib/ColorEditorVisualModelExport.js +40 -0
- package/esm2015/lib/IconView_combined.js +27 -22
- package/esm2015/lib/InputGroupView_combined.js +274 -262
- package/esm2015/lib/InputGroupVisualModelExport.js +2 -2
- package/esm2015/lib/InputVisualModelExport.js +34 -32
- package/esm2015/lib/MultiSliderView_combined.js +2 -2
- package/esm2015/lib/NativeUIXInputsFactory_combined.js +324 -299
- package/esm2015/lib/XButtonBridge.js +1 -1
- package/esm2015/lib/XButtonGroupBridge.js +7 -1
- package/esm2015/lib/XCheckboxBridge.js +2 -1
- package/esm2015/lib/XIconBridge.js +2 -1
- package/esm2015/lib/XInputBridge.js +11 -1
- package/esm2015/lib/igx-color-editor-component.js +49 -33
- package/esm2015/public_api.js +2 -0
- package/esm5/lib/ButtonGroupView_combined.js +1 -1
- package/esm5/lib/ButtonGroupVisualModelExport.js +9 -1
- package/esm5/lib/ButtonView_combined.js +315 -308
- package/esm5/lib/CheckboxListVisualModelExport.js +45 -0
- package/esm5/lib/CheckboxView_combined.js +177 -162
- package/esm5/lib/CheckboxVisualModelExport.js +14 -6
- package/esm5/lib/ColorEditorVisualModelExport.js +42 -0
- package/esm5/lib/IconView_combined.js +32 -27
- package/esm5/lib/InputGroupView_combined.js +275 -263
- package/esm5/lib/InputGroupVisualModelExport.js +2 -2
- package/esm5/lib/InputVisualModelExport.js +34 -32
- package/esm5/lib/MultiSliderView_combined.js +2 -2
- package/esm5/lib/NativeUIXInputsFactory_combined.js +315 -290
- package/esm5/lib/XButtonBridge.js +1 -1
- package/esm5/lib/XButtonGroupBridge.js +7 -1
- package/esm5/lib/XCheckboxBridge.js +2 -1
- package/esm5/lib/XIconBridge.js +2 -1
- package/esm5/lib/XInputBridge.js +11 -1
- package/esm5/lib/igx-color-editor-component.js +49 -33
- package/esm5/public_api.js +2 -0
- package/fesm2015/igniteui-angular-inputs.js +1328 -1136
- package/fesm5/igniteui-angular-inputs.js +1322 -1130
- package/lib/ButtonGroupVisualModelExport.d.ts +5 -1
- package/lib/ButtonView_combined.d.ts +42 -41
- package/lib/CheckboxListVisualModelExport.d.ts +18 -0
- package/lib/CheckboxView_combined.d.ts +30 -29
- package/lib/CheckboxVisualModelExport.d.ts +7 -3
- package/lib/ColorEditorVisualModelExport.d.ts +17 -0
- package/lib/IconView_combined.d.ts +2 -0
- package/lib/InputGroupView_combined.d.ts +57 -56
- package/lib/InputVisualModelExport.d.ts +14 -12
- package/lib/NativeUIXInputsFactory_combined.d.ts +90 -85
- package/lib/igx-color-editor-component.d.ts +10 -0
- package/package.json +2 -2
- package/public_api.d.ts +2 -0
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
|
|
8
8
|
import * as i0 from '@angular/core';
|
|
9
9
|
import { EventEmitter, ɵɵngDeclareFactory, Renderer2, ViewContainerRef, NgZone, Injector, ComponentFactoryResolver, ɵɵFactoryTarget, ɵɵngDeclareComponent, ElementRef, ChangeDetectionStrategy, ɵɵngDeclareClassMetadata, Component, ViewChild, Input, Output, ɵɵngDeclareNgModule, ɵɵngDeclareInjector, NgModule, TemplateRef, HostBinding, ContentChildren } from '@angular/core';
|
|
10
|
-
import { markEnum, Base, markType, StringBuilder, List$1, Delegate_$type, fromEnum, runOn, NativeUI, ScaleTransform, KeyFrameAnimationFactory, AnimationKeyFrameEffect, LinkedList$1, IKeyFrameAnimation_$type, PropertyChangedEventArgs, AnimationKeyFrameProperty, AnimationKeyFrameEffectTiming, AppearanceHelper, INotifyPropertyChanged_$type, BrushUtil, typeGetValue, EnumUtil, ElevationMode_$type, EventArgs, stringIsNullOrEmpty, isNaN_, IVisualData_$type, enumGetBox, CornerRadius, MouseEventArgs, FocusEventArgs, Thickness, ControlDisplayDensity_$type, BaseControlTheme_$type, HorizontalAlignment_$type, VerticalAlignment_$type, FontUtil, Dictionary$2, String_$type, Brush, DomWrapper_$type, Tuple$2, SVGNode, FastIterationDictionary$2, typeCast, PrimitiveVisualData, Ellipse, EllipseVisualData, Rectangle, RectangleVisualData, Line, LineVisualData, Path, PathVisualData, DoubleCollection, LegendItemHelper, stringStartsWith, trimStart, IIcon_$type, dateMinValue, dateGetMonth, parseBool, truncate, dateNow, dateMaxValue, dateAddYears, ObservableCollection$1, dateFromValues, delegateRemove, SRProvider, dateGetDate, stringIsNullOrWhiteSpace, delegateCombine, dateAddDays, Number_$type, dateAddMonths, timeSpanTotalDays, intDivide, NamePatcher, AngularRenderer, ensureEnum, brushToString, stringToBrush, ensureBool, FontInfo, toSpinal, initializePropertiesFromCss, TypeRegistrar, PortalManager, IgxFocusEventArgs, IgxChildContentModule, IgxChildContentDynamicModule, fromBrushCollection, toBrushCollection, Localization, HashSet$1, stringReplace, TransformGroup, TranslateTransform, MouseButtonEventArgs, Point_$type, KeyEventArgs, toNullable, fromEn, DeviceUtils, Rect, stringContains, stringSplit, Popup, IgxKeyEventArgs, IgCollection, SyncableObservableCollection$2, CollectionAdapter, NotifyCollectionChangedAction, NativeUIElementBridge, NativeUIMouseEventArgs, NativeUIKeyEventArgs, NativeUIInputChangingEventArgs, NativeUIFocusEventArgs, NativeUIClickedEventArgs, NativeUIComponentHorizontalAlignment_$type, NativeUIInputType_$type, NativeUIInputDisplayType_$type, NativeUIDisplayDensity_$type, INativeUIInputBridge_$type, NativeUIButtonClickedEventArgs, NativeUIButtonDisplayType_$type, NativeUIComponent, Type, Color, PathGeometry, PathFigure, PolyLineSegment, LineSegment, EllipseGeometry, PropertyUpdatedEventArgs, TextBlock, RenderingContext, CanvasViewRenderer, CanvasGestureDOMEventProxy,
|
|
10
|
+
import { markEnum, Base, markType, StringBuilder, List$1, Delegate_$type, fromEnum, runOn, NativeUI, ScaleTransform, KeyFrameAnimationFactory, AnimationKeyFrameEffect, LinkedList$1, IKeyFrameAnimation_$type, PropertyChangedEventArgs, AnimationKeyFrameProperty, AnimationKeyFrameEffectTiming, AppearanceHelper, INotifyPropertyChanged_$type, BrushUtil, typeGetValue, EnumUtil, ElevationMode_$type, EventArgs, stringIsNullOrEmpty, isNaN_, IVisualData_$type, enumGetBox, CornerRadius, MouseEventArgs, FocusEventArgs, Thickness, ControlDisplayDensity_$type, BaseControlTheme_$type, HorizontalAlignment_$type, VerticalAlignment_$type, FontUtil, Dictionary$2, String_$type, Brush, DomWrapper_$type, Tuple$2, SVGNode, FastIterationDictionary$2, typeCast, Size, PrimitiveVisualData, Ellipse, EllipseVisualData, Rectangle, RectangleVisualData, Line, LineVisualData, Path, PathVisualData, DoubleCollection, LegendItemHelper, stringStartsWith, trimStart, IIcon_$type, dateMinValue, dateGetMonth, parseBool, truncate, dateNow, dateMaxValue, dateAddYears, ObservableCollection$1, dateFromValues, delegateRemove, SRProvider, dateGetDate, stringIsNullOrWhiteSpace, delegateCombine, dateAddDays, Number_$type, dateAddMonths, timeSpanTotalDays, intDivide, NamePatcher, AngularRenderer, ensureEnum, brushToString, stringToBrush, ensureBool, FontInfo, toSpinal, initializePropertiesFromCss, TypeRegistrar, PortalManager, IgxFocusEventArgs, IgxChildContentModule, IgxChildContentDynamicModule, fromBrushCollection, toBrushCollection, Localization, HashSet$1, stringReplace, TransformGroup, TranslateTransform, MouseButtonEventArgs, Point_$type, KeyEventArgs, toNullable, fromEn, DeviceUtils, Rect, stringContains, stringSplit, Popup, IgxKeyEventArgs, IgCollection, SyncableObservableCollection$2, CollectionAdapter, NotifyCollectionChangedAction, NativeUIElementBridge, NativeUIMouseEventArgs, NativeUIKeyEventArgs, NativeUIInputChangingEventArgs, NativeUIFocusEventArgs, NativeUIClickedEventArgs, NativeUIComponentHorizontalAlignment_$type, NativeUIInputType_$type, NativeUIInputDisplayType_$type, NativeUIDisplayDensity_$type, INativeUIInputBridge_$type, NativeUIButtonClickedEventArgs, NativeUIButtonDisplayType_$type, NativeUIComponent, Type, Color, PathGeometry, PathFigure, PolyLineSegment, LineSegment, EllipseGeometry, PropertyUpdatedEventArgs, TextBlock, RenderingContext, CanvasViewRenderer, CanvasGestureDOMEventProxy, NotImplementedException, NativeUISliderValueChangedEventArgs, NativeUISliderOrientation_$type, NativeUIButton, NativeUIButtonGroupSelectionChangedEventArgs, NativeUIButtonGroupDisplayType_$type, INativeUIButtonGroupBridge_$type, RotateTransform, NativeUICheckboxChangeEventArgs, SvgIconRegistry, NativeUIPopupMeasuringContentEventArgs, NativeUIPopupOpenedEventArgs, NativeUIPopupClosedEventArgs, NativeUIPopupPointerPosition_$type, NativeUIPopupAnimationType_$type, INativeUIPopupBridge_$type, NativeUIInput, NativeUISlider, NativeUIButtonGroup, NativeUIColorEditor, NativeUICheckbox, NativeUIIcon, NativeUIPopup, INativeUIElementFactory_$type, NativeUIColorEditorValueChangedEventArgs, DOMExecutionContext, NativeUIInputsFactory, NativeUIWindow, NativeUIContent, ColorUtil, IgxPropertyUpdatedEventArgs, SyncableObservableCollection$1, fromRect, toRect } from 'igniteui-angular-core';
|
|
11
11
|
import { CommonModule } from '@angular/common';
|
|
12
12
|
|
|
13
13
|
/*
|
|
@@ -941,76 +941,76 @@ let ButtonView = /*@__PURE__*/ (() => {
|
|
|
941
941
|
class ButtonView extends Base {
|
|
942
942
|
constructor() {
|
|
943
943
|
super();
|
|
944
|
-
this.b = null;
|
|
945
|
-
this.k = null;
|
|
946
|
-
this.d = null;
|
|
947
|
-
this.h = new List$1(Delegate_$type, 0);
|
|
948
|
-
this.e = true;
|
|
949
|
-
this.n = null;
|
|
950
|
-
this.j = NaN;
|
|
951
|
-
this.i = NaN;
|
|
952
|
-
this.l = null;
|
|
953
944
|
this.c = null;
|
|
945
|
+
this.l = null;
|
|
946
|
+
this.e = null;
|
|
947
|
+
this.i = new List$1(Delegate_$type, 0);
|
|
948
|
+
this.f = true;
|
|
949
|
+
this.o = null;
|
|
950
|
+
this.k = NaN;
|
|
951
|
+
this.j = NaN;
|
|
954
952
|
this.m = null;
|
|
953
|
+
this.d = null;
|
|
954
|
+
this.n = null;
|
|
955
|
+
this.q = null;
|
|
955
956
|
this.p = null;
|
|
956
|
-
this.o = null;
|
|
957
957
|
}
|
|
958
|
-
|
|
958
|
+
ar() {
|
|
959
959
|
}
|
|
960
|
-
|
|
960
|
+
h() {
|
|
961
961
|
return true;
|
|
962
962
|
}
|
|
963
|
-
get
|
|
964
|
-
return this.
|
|
963
|
+
get r() {
|
|
964
|
+
return this.o;
|
|
965
965
|
}
|
|
966
|
-
get
|
|
967
|
-
return this.
|
|
966
|
+
get t() {
|
|
967
|
+
return this.n;
|
|
968
968
|
}
|
|
969
|
-
|
|
969
|
+
al(a) {
|
|
970
970
|
if (a == null) {
|
|
971
|
-
for (let b of fromEnum(this.
|
|
971
|
+
for (let b of fromEnum(this.i)) {
|
|
972
972
|
b();
|
|
973
973
|
}
|
|
974
|
-
this.
|
|
974
|
+
this.i.clear();
|
|
975
975
|
return;
|
|
976
976
|
}
|
|
977
|
-
this.
|
|
978
|
-
this.
|
|
979
|
-
this.
|
|
980
|
-
this.
|
|
981
|
-
this.
|
|
982
|
-
let c = this.
|
|
983
|
-
this.
|
|
984
|
-
this.
|
|
985
|
-
this.
|
|
986
|
-
this.
|
|
987
|
-
this.
|
|
988
|
-
this.
|
|
989
|
-
this.
|
|
990
|
-
this.
|
|
991
|
-
this.
|
|
992
|
-
this.
|
|
993
|
-
this.
|
|
994
|
-
this.
|
|
995
|
-
this.
|
|
996
|
-
this.
|
|
997
|
-
this.
|
|
998
|
-
NativeUI.o(this.
|
|
999
|
-
this.
|
|
1000
|
-
this.
|
|
1001
|
-
this.
|
|
1002
|
-
this.
|
|
1003
|
-
this.
|
|
1004
|
-
this.
|
|
1005
|
-
this.
|
|
1006
|
-
this.
|
|
1007
|
-
this.
|
|
1008
|
-
this.
|
|
1009
|
-
this.
|
|
1010
|
-
this.
|
|
1011
|
-
this.
|
|
1012
|
-
let d = this.
|
|
1013
|
-
let e = this.
|
|
977
|
+
this.l = a;
|
|
978
|
+
this.l.rootWrapper.setStyleProperty("display", "flex");
|
|
979
|
+
this.l.rootWrapper.setStyleProperty("flex-direction", "row");
|
|
980
|
+
this.l.rootWrapper.setStyleProperty("flex-wrap", "no-wrap");
|
|
981
|
+
this.l.rootWrapper.setStyleProperty("align-items", "center");
|
|
982
|
+
let c = this.l.createElement("button");
|
|
983
|
+
this.o = c;
|
|
984
|
+
this.o.setStyleProperty("position", "relative");
|
|
985
|
+
this.o.setStyleProperty("display", "inline-flex");
|
|
986
|
+
this.o.setStyleProperty("align-items", "center");
|
|
987
|
+
this.o.setStyleProperty("justify-content", "center");
|
|
988
|
+
this.a1();
|
|
989
|
+
this.o.setStyleProperty("border", "none");
|
|
990
|
+
this.o.setStyleProperty("cursor", "pointer");
|
|
991
|
+
this.o.setStyleProperty("user-select", "none");
|
|
992
|
+
this.o.setStyleProperty("outline-style", "none");
|
|
993
|
+
this.o.setStyleProperty("-webkit-tap-highlight-color", "transparent");
|
|
994
|
+
this.o.setStyleProperty("overflow", "hidden");
|
|
995
|
+
this.o.setStyleProperty("white-space", "no-wrap");
|
|
996
|
+
this.o.setStyleProperty("color", "#000");
|
|
997
|
+
this.o.setStyleProperty("background", this.c.no._fill);
|
|
998
|
+
NativeUI.o(this.o, this.c.kz);
|
|
999
|
+
this.o.setAttribute("id", this.c.hy);
|
|
1000
|
+
this.ay();
|
|
1001
|
+
this.i.add(c.listen("change", runOn(this, this.aa)));
|
|
1002
|
+
this.i.add(c.listen("click", runOn(this, this.ab)));
|
|
1003
|
+
this.i.add(c.listen("focus", runOn(this, this.ac)));
|
|
1004
|
+
this.i.add(c.listen("blur", runOn(this, this.z)));
|
|
1005
|
+
this.i.add(this.l.rootWrapper.listen("mouseenter", runOn(this, this.w)));
|
|
1006
|
+
this.i.add(this.l.rootWrapper.listen("mouseleave", runOn(this, this.x)));
|
|
1007
|
+
this.i.add(this.l.rootWrapper.listen("mousedown", runOn(this, this.v)));
|
|
1008
|
+
this.i.add(this.l.rootWrapper.listen("mouseup", runOn(this, this.y)));
|
|
1009
|
+
this.i.add(this.l.rootWrapper.listen("focusin", runOn(this, this.ad)));
|
|
1010
|
+
this.i.add(this.l.rootWrapper.listen("focusout", runOn(this, this.ae)));
|
|
1011
|
+
this.l.append(c);
|
|
1012
|
+
let d = this.l.createElement("div");
|
|
1013
|
+
let e = this.l.getSubRenderer(d);
|
|
1014
1014
|
d.setStyleProperty("position", "absolute");
|
|
1015
1015
|
d.setStyleProperty("width", "100%");
|
|
1016
1016
|
d.setStyleProperty("height", "100%");
|
|
@@ -1020,40 +1020,40 @@ let ButtonView = /*@__PURE__*/ (() => {
|
|
|
1020
1020
|
let f = new XRipple();
|
|
1021
1021
|
f.provideContainer(e);
|
|
1022
1022
|
f.q = c;
|
|
1023
|
-
let g = this.
|
|
1023
|
+
let g = this.l.getExternal(f, this.l.rootWrapper, this.l.getExternal(this.c, null, null));
|
|
1024
1024
|
f.h = false;
|
|
1025
1025
|
f.k = true;
|
|
1026
|
-
this.
|
|
1027
|
-
this.
|
|
1028
|
-
let h = this.
|
|
1026
|
+
this.d = f;
|
|
1027
|
+
this.o.append(d);
|
|
1028
|
+
let h = this.l.createElement("div");
|
|
1029
1029
|
h.addClass("ig-button-content");
|
|
1030
1030
|
h.setStyleProperty("font-family", "Verdana");
|
|
1031
1031
|
h.setStyleProperty("font-weight", "400");
|
|
1032
1032
|
h.setStyleProperty("font-size", ".875rem");
|
|
1033
|
-
this.
|
|
1034
|
-
this.
|
|
1035
|
-
this.
|
|
1036
|
-
this.
|
|
1037
|
-
this.
|
|
1033
|
+
this.n = h;
|
|
1034
|
+
this.i.add(h.listen("click", runOn(this, this.u)));
|
|
1035
|
+
this.o.append(h);
|
|
1036
|
+
this.p = h;
|
|
1037
|
+
this.l.getPortal(h, "ChildContent", (i) => {
|
|
1038
1038
|
let comp_ = i.componentRef;
|
|
1039
|
-
this.
|
|
1039
|
+
this.q = comp_;
|
|
1040
1040
|
{
|
|
1041
|
-
this.
|
|
1042
|
-
this.
|
|
1043
|
-
let direction_ = this.
|
|
1044
|
-
let display_ = this.
|
|
1045
|
-
let alignItems_ = this.
|
|
1041
|
+
this.p.setStyleProperty("flex-direction", this.c.g4);
|
|
1042
|
+
this.p.setStyleProperty("align-items", this.c.fb);
|
|
1043
|
+
let direction_ = this.c.g4;
|
|
1044
|
+
let display_ = this.c.fj != null ? this.c.fj : this.c.f0;
|
|
1045
|
+
let alignItems_ = this.c.fb;
|
|
1046
1046
|
comp_.display = display_;
|
|
1047
1047
|
comp_.flexDirection = direction_;
|
|
1048
1048
|
comp_.alignItems = alignItems_;
|
|
1049
1049
|
}
|
|
1050
1050
|
}, true);
|
|
1051
|
-
this.
|
|
1051
|
+
this.c.kl();
|
|
1052
1052
|
}
|
|
1053
|
-
|
|
1054
|
-
this.
|
|
1053
|
+
an() {
|
|
1054
|
+
this.d.i = this.c.as;
|
|
1055
1055
|
}
|
|
1056
|
-
|
|
1056
|
+
a1() {
|
|
1057
1057
|
let a = "2.25rem";
|
|
1058
1058
|
let b = "2.25rem";
|
|
1059
1059
|
let c = "2.25rem";
|
|
@@ -1067,7 +1067,7 @@ let ButtonView = /*@__PURE__*/ (() => {
|
|
|
1067
1067
|
let k = "0px";
|
|
1068
1068
|
let l = ".9375rem";
|
|
1069
1069
|
let m = ".5625rem 1rem";
|
|
1070
|
-
switch (this.
|
|
1070
|
+
switch (this.c.q) {
|
|
1071
1071
|
case 2:
|
|
1072
1072
|
m = ".375rem .75rem";
|
|
1073
1073
|
j = "1.875rem";
|
|
@@ -1100,130 +1100,130 @@ let ButtonView = /*@__PURE__*/ (() => {
|
|
|
1100
1100
|
c = "1rem";
|
|
1101
1101
|
break;
|
|
1102
1102
|
}
|
|
1103
|
-
if (!isNaN_(this.
|
|
1104
|
-
m = this.
|
|
1103
|
+
if (!isNaN_(this.c.bm) && !isNaN_(this.c.bo) && !isNaN_(this.c.bn) && !isNaN_(this.c.bl)) {
|
|
1104
|
+
m = this.c.bo + "px " + this.c.bn + "px " + this.c.bl + "px " + this.c.bm + "px";
|
|
1105
1105
|
}
|
|
1106
|
-
if (this.
|
|
1107
|
-
this.
|
|
1108
|
-
this.
|
|
1109
|
-
this.
|
|
1110
|
-
this.
|
|
1111
|
-
this.
|
|
1106
|
+
if (this.c.e == 4) {
|
|
1107
|
+
this.o.setStyleProperty("min-width", a);
|
|
1108
|
+
this.o.setStyleProperty("min-height", b);
|
|
1109
|
+
this.o.setStyleProperty("padding", k);
|
|
1110
|
+
this.o.setStyleProperty("width", c);
|
|
1111
|
+
this.o.setStyleProperty("height", d);
|
|
1112
1112
|
}
|
|
1113
|
-
else if (this.
|
|
1114
|
-
this.
|
|
1115
|
-
this.
|
|
1116
|
-
this.
|
|
1117
|
-
this.
|
|
1118
|
-
this.
|
|
1113
|
+
else if (this.c.e == 3) {
|
|
1114
|
+
this.o.setStyleProperty("min-width", e);
|
|
1115
|
+
this.o.setStyleProperty("min-height", f);
|
|
1116
|
+
this.o.setStyleProperty("padding", l);
|
|
1117
|
+
this.o.setStyleProperty("width", g);
|
|
1118
|
+
this.o.setStyleProperty("height", h);
|
|
1119
1119
|
}
|
|
1120
1120
|
else {
|
|
1121
|
-
this.
|
|
1122
|
-
this.
|
|
1123
|
-
this.
|
|
1124
|
-
this.
|
|
1125
|
-
this.
|
|
1121
|
+
this.o.setStyleProperty("width", "auto");
|
|
1122
|
+
this.o.setStyleProperty("height", "auto");
|
|
1123
|
+
this.o.setStyleProperty("min-width", i);
|
|
1124
|
+
this.o.setStyleProperty("min-height", j);
|
|
1125
|
+
this.o.setStyleProperty("padding", m);
|
|
1126
1126
|
}
|
|
1127
|
-
this.
|
|
1128
|
-
if (!isNaN_(this.
|
|
1129
|
-
this.
|
|
1127
|
+
this.l.rootWrapper.setStyleProperty("height", "auto");
|
|
1128
|
+
if (!isNaN_(this.c.bj) && this.c.bj > 0) {
|
|
1129
|
+
this.o.setStyleProperty("border-style", "solid");
|
|
1130
1130
|
}
|
|
1131
1131
|
else {
|
|
1132
|
-
this.
|
|
1132
|
+
this.o.setStyleProperty("border-style", "none");
|
|
1133
1133
|
}
|
|
1134
|
-
if (!isNaN_(this.
|
|
1135
|
-
this.
|
|
1134
|
+
if (!isNaN_(this.k)) {
|
|
1135
|
+
this.o.setStyleProperty("min-width", this.k.toString() + "px");
|
|
1136
1136
|
}
|
|
1137
|
-
if (!isNaN_(this.
|
|
1138
|
-
this.
|
|
1137
|
+
if (!isNaN_(this.j)) {
|
|
1138
|
+
this.o.setStyleProperty("min-height", this.j.toString() + "px");
|
|
1139
1139
|
}
|
|
1140
|
-
if (this.
|
|
1141
|
-
this.
|
|
1142
|
-
this.
|
|
1143
|
-
this.
|
|
1140
|
+
if (this.c.ay) {
|
|
1141
|
+
this.o.setStyleProperty("width", "100%");
|
|
1142
|
+
this.o.setStyleProperty("height", "100%");
|
|
1143
|
+
this.l.rootWrapper.setStyleProperty("height", "100%");
|
|
1144
1144
|
}
|
|
1145
1145
|
}
|
|
1146
|
-
|
|
1147
|
-
switch (this.
|
|
1146
|
+
av() {
|
|
1147
|
+
switch (this.c.le) {
|
|
1148
1148
|
case 1:
|
|
1149
|
-
this.
|
|
1150
|
-
this.
|
|
1149
|
+
this.o.setStyleProperty("justify-content", "center");
|
|
1150
|
+
this.p.setStyleProperty("flex-grow", "unset");
|
|
1151
1151
|
break;
|
|
1152
1152
|
case 3:
|
|
1153
|
-
this.
|
|
1154
|
-
this.
|
|
1153
|
+
this.o.setStyleProperty("justify-content", "stretch");
|
|
1154
|
+
this.p.setStyleProperty("flex-grow", "1");
|
|
1155
1155
|
break;
|
|
1156
1156
|
case 0:
|
|
1157
|
-
this.
|
|
1158
|
-
this.
|
|
1157
|
+
this.o.setStyleProperty("justify-content", "left");
|
|
1158
|
+
this.p.setStyleProperty("flex-grow", "unset");
|
|
1159
1159
|
break;
|
|
1160
1160
|
case 2:
|
|
1161
|
-
this.
|
|
1162
|
-
this.
|
|
1161
|
+
this.o.setStyleProperty("justify-content", "right");
|
|
1162
|
+
this.p.setStyleProperty("flex-grow", "unset");
|
|
1163
1163
|
break;
|
|
1164
1164
|
}
|
|
1165
1165
|
}
|
|
1166
|
+
ax(a) {
|
|
1167
|
+
this.k = a;
|
|
1168
|
+
}
|
|
1166
1169
|
aw(a) {
|
|
1167
1170
|
this.j = a;
|
|
1168
1171
|
}
|
|
1169
|
-
|
|
1170
|
-
this.
|
|
1171
|
-
|
|
1172
|
-
as() {
|
|
1173
|
-
this.n.setAttribute("disabled", this.b.disabled ? "true" : "false");
|
|
1174
|
-
this.n.setProperty("disabled", this.b.disabled);
|
|
1172
|
+
at() {
|
|
1173
|
+
this.o.setAttribute("disabled", this.c.disabled ? "true" : "false");
|
|
1174
|
+
this.o.setProperty("disabled", this.c.disabled);
|
|
1175
1175
|
}
|
|
1176
|
-
|
|
1177
|
-
if (this.
|
|
1178
|
-
this.
|
|
1179
|
-
let comp_ = this.
|
|
1180
|
-
if (this.
|
|
1181
|
-
this.
|
|
1182
|
-
let display_ = this.
|
|
1176
|
+
ao() {
|
|
1177
|
+
if (this.l != null) {
|
|
1178
|
+
this.l.rootWrapper.setStyleProperty("display", this.c.f0);
|
|
1179
|
+
let comp_ = this.q;
|
|
1180
|
+
if (this.q != null) {
|
|
1181
|
+
this.p.setStyleProperty("display", this.c.f0);
|
|
1182
|
+
let display_ = this.c.fj != null ? this.c.f0 : this.c.fj;
|
|
1183
1183
|
comp_.display = display_;
|
|
1184
1184
|
}
|
|
1185
|
-
let ext_ = this.
|
|
1185
|
+
let ext_ = this.l.getExternal(this.c, null, null);
|
|
1186
1186
|
if (ext_ && ext_._onDisplayChanged) {
|
|
1187
1187
|
ext_._onDisplayChanged();
|
|
1188
1188
|
}
|
|
1189
1189
|
;
|
|
1190
1190
|
}
|
|
1191
1191
|
}
|
|
1192
|
-
|
|
1193
|
-
if (this.
|
|
1194
|
-
let comp_ = this.
|
|
1195
|
-
if (this.
|
|
1196
|
-
let display_ = this.
|
|
1192
|
+
ak() {
|
|
1193
|
+
if (this.l != null) {
|
|
1194
|
+
let comp_ = this.q;
|
|
1195
|
+
if (this.q != null) {
|
|
1196
|
+
let display_ = this.c.fj != null ? this.c.fj : this.c.f0;
|
|
1197
1197
|
comp_.display = display_;
|
|
1198
1198
|
}
|
|
1199
1199
|
}
|
|
1200
1200
|
}
|
|
1201
|
-
|
|
1202
|
-
if (this.
|
|
1203
|
-
this.
|
|
1204
|
-
this.
|
|
1205
|
-
let comp_ = this.
|
|
1206
|
-
if (this.
|
|
1207
|
-
this.
|
|
1208
|
-
let alignItems_ = this.
|
|
1201
|
+
ai() {
|
|
1202
|
+
if (this.l != null) {
|
|
1203
|
+
this.l.rootWrapper.setStyleProperty("align-items", this.c.fb);
|
|
1204
|
+
this.o.setStyleProperty("align-items", this.c.fb);
|
|
1205
|
+
let comp_ = this.q;
|
|
1206
|
+
if (this.q != null) {
|
|
1207
|
+
this.p.setStyleProperty("align-items", this.c.fb);
|
|
1208
|
+
let alignItems_ = this.c.fb;
|
|
1209
1209
|
comp_.alignItems = alignItems_;
|
|
1210
1210
|
}
|
|
1211
|
-
let ext_ = this.
|
|
1211
|
+
let ext_ = this.l.getExternal(this.c, null, null);
|
|
1212
1212
|
if (ext_ && ext_._onAlignItemsChanged) {
|
|
1213
1213
|
ext_._onAlignItemsChanged();
|
|
1214
1214
|
}
|
|
1215
1215
|
;
|
|
1216
1216
|
}
|
|
1217
1217
|
}
|
|
1218
|
-
|
|
1219
|
-
if (this.
|
|
1220
|
-
this.
|
|
1221
|
-
this.
|
|
1222
|
-
let ext_ = this.
|
|
1223
|
-
let comp_ = this.
|
|
1224
|
-
if (this.
|
|
1225
|
-
this.
|
|
1226
|
-
let direction_ = this.
|
|
1218
|
+
ap() {
|
|
1219
|
+
if (this.l != null) {
|
|
1220
|
+
this.l.rootWrapper.setStyleProperty("flex-direction", this.c.g4);
|
|
1221
|
+
this.o.setStyleProperty("flex-direction", this.c.g4);
|
|
1222
|
+
let ext_ = this.l.getExternal(this.c, null, null);
|
|
1223
|
+
let comp_ = this.q;
|
|
1224
|
+
if (this.q != null) {
|
|
1225
|
+
this.p.setStyleProperty("flex-direction", this.c.g4);
|
|
1226
|
+
let direction_ = this.c.g4;
|
|
1227
1227
|
comp_.flexDirection = direction_;
|
|
1228
1228
|
}
|
|
1229
1229
|
if (ext_ && ext_._onFlexDirectionChanged) {
|
|
@@ -1232,147 +1232,147 @@ let ButtonView = /*@__PURE__*/ (() => {
|
|
|
1232
1232
|
;
|
|
1233
1233
|
}
|
|
1234
1234
|
}
|
|
1235
|
-
|
|
1236
|
-
if (this.
|
|
1237
|
-
this.
|
|
1238
|
-
this.
|
|
1239
|
-
let ext_ = this.
|
|
1235
|
+
aq() {
|
|
1236
|
+
if (this.l != null) {
|
|
1237
|
+
this.l.rootWrapper.setStyleProperty("flex-grow", this.c.g6);
|
|
1238
|
+
this.o.setStyleProperty("flex-grow", this.c.g6);
|
|
1239
|
+
let ext_ = this.l.getExternal(this.c, null, null);
|
|
1240
1240
|
if (ext_ && ext_._onFlexGrowChanged) {
|
|
1241
1241
|
ext_._onFlexGrowChanged();
|
|
1242
1242
|
}
|
|
1243
1243
|
;
|
|
1244
1244
|
}
|
|
1245
1245
|
}
|
|
1246
|
-
|
|
1246
|
+
u(a) {
|
|
1247
1247
|
}
|
|
1248
|
-
|
|
1249
|
-
if (this.
|
|
1250
|
-
let a = this.
|
|
1251
|
-
this.
|
|
1252
|
-
this.
|
|
1253
|
-
if (this.
|
|
1254
|
-
this.
|
|
1248
|
+
ay() {
|
|
1249
|
+
if (this.h()) {
|
|
1250
|
+
let a = this.c.hy;
|
|
1251
|
+
this.o.setAttribute("name", this.c.h6);
|
|
1252
|
+
this.o.setProperty("value", this.c.ee);
|
|
1253
|
+
if (this.c.az) {
|
|
1254
|
+
this.o.setAttribute("tabindex", this.c.d7.toString());
|
|
1255
1255
|
}
|
|
1256
|
-
this.
|
|
1256
|
+
this.o.setProperty("disabled", this.c.disabled);
|
|
1257
1257
|
{
|
|
1258
1258
|
}
|
|
1259
|
-
this.
|
|
1260
|
-
this.
|
|
1259
|
+
this.o.setAttribute("aria-label", this.c.fd);
|
|
1260
|
+
this.o.setStyleProperty("cursor", !this.c.av ? "pointer" : "unset");
|
|
1261
1261
|
}
|
|
1262
1262
|
}
|
|
1263
|
-
|
|
1264
|
-
if (this.
|
|
1265
|
-
let a = this.
|
|
1266
|
-
this.
|
|
1263
|
+
as() {
|
|
1264
|
+
if (this.h()) {
|
|
1265
|
+
let a = this.c.hy;
|
|
1266
|
+
this.o.setAttribute("id", a);
|
|
1267
1267
|
}
|
|
1268
1268
|
}
|
|
1269
|
-
|
|
1270
|
-
this.
|
|
1271
|
-
if (this.
|
|
1269
|
+
w(a) {
|
|
1270
|
+
this.c.kh();
|
|
1271
|
+
if (this.c.a5) {
|
|
1272
1272
|
a.stopPropagation();
|
|
1273
1273
|
}
|
|
1274
1274
|
}
|
|
1275
|
-
|
|
1276
|
-
this.
|
|
1277
|
-
if (this.
|
|
1275
|
+
x(a) {
|
|
1276
|
+
this.c.ki();
|
|
1277
|
+
if (this.c.a5) {
|
|
1278
1278
|
a.stopPropagation();
|
|
1279
1279
|
}
|
|
1280
1280
|
}
|
|
1281
|
-
|
|
1282
|
-
this.
|
|
1283
|
-
if (this.
|
|
1281
|
+
v(a) {
|
|
1282
|
+
this.c.kg();
|
|
1283
|
+
if (this.c.a5) {
|
|
1284
1284
|
a.stopPropagation();
|
|
1285
1285
|
}
|
|
1286
1286
|
}
|
|
1287
|
-
|
|
1288
|
-
this.
|
|
1289
|
-
if (this.
|
|
1287
|
+
y(a) {
|
|
1288
|
+
this.c.kj();
|
|
1289
|
+
if (this.c.a5) {
|
|
1290
1290
|
a.stopPropagation();
|
|
1291
1291
|
}
|
|
1292
1292
|
}
|
|
1293
|
-
|
|
1294
|
-
this.
|
|
1293
|
+
z(a) {
|
|
1294
|
+
this.c.ka();
|
|
1295
1295
|
}
|
|
1296
|
-
|
|
1297
|
-
this.
|
|
1296
|
+
ac(a) {
|
|
1297
|
+
this.c.kd();
|
|
1298
1298
|
}
|
|
1299
|
-
|
|
1300
|
-
this.
|
|
1301
|
-
if (!this.
|
|
1299
|
+
ab(a) {
|
|
1300
|
+
this.c.kb();
|
|
1301
|
+
if (!this.c.at) {
|
|
1302
1302
|
a.preventDefault();
|
|
1303
1303
|
}
|
|
1304
|
-
if (this.
|
|
1304
|
+
if (this.c.a5) {
|
|
1305
1305
|
a.stopPropagation();
|
|
1306
1306
|
}
|
|
1307
1307
|
}
|
|
1308
|
-
ac(a) {
|
|
1309
|
-
this.b.ke();
|
|
1310
|
-
}
|
|
1311
1308
|
ad(a) {
|
|
1312
|
-
this.
|
|
1309
|
+
this.c.ke();
|
|
1313
1310
|
}
|
|
1314
|
-
|
|
1311
|
+
ae(a) {
|
|
1312
|
+
this.c.kf(a.originalEvent.relatedTarget, a.originalEvent.target);
|
|
1313
|
+
}
|
|
1314
|
+
g() {
|
|
1315
1315
|
return false;
|
|
1316
1316
|
}
|
|
1317
|
-
|
|
1317
|
+
aa(a) {
|
|
1318
1318
|
}
|
|
1319
|
-
|
|
1319
|
+
ah() {
|
|
1320
1320
|
if (KeyFrameAnimationFactory.h == null) {
|
|
1321
|
-
KeyFrameAnimationFactory.h = this.
|
|
1321
|
+
KeyFrameAnimationFactory.h = this.l;
|
|
1322
1322
|
}
|
|
1323
1323
|
}
|
|
1324
|
-
|
|
1325
|
-
this.
|
|
1326
|
-
this.
|
|
1327
|
-
this.
|
|
1328
|
-
this.
|
|
1329
|
-
this.
|
|
1330
|
-
this.
|
|
1331
|
-
this.
|
|
1332
|
-
this.
|
|
1333
|
-
this.
|
|
1334
|
-
this.
|
|
1335
|
-
this.
|
|
1336
|
-
this.
|
|
1324
|
+
aj() {
|
|
1325
|
+
this.f = true;
|
|
1326
|
+
this.i.add(this.o.listen("change", runOn(this, this.aa)));
|
|
1327
|
+
this.i.add(this.o.listen("click", runOn(this, this.ab)));
|
|
1328
|
+
this.i.add(this.o.listen("focus", runOn(this, this.ac)));
|
|
1329
|
+
this.i.add(this.o.listen("blur", runOn(this, this.z)));
|
|
1330
|
+
this.i.add(this.n.listen("click", runOn(this, this.u)));
|
|
1331
|
+
this.i.add(this.o.listen("mouseenter", runOn(this, this.w)));
|
|
1332
|
+
this.i.add(this.o.listen("mouseleave", runOn(this, this.x)));
|
|
1333
|
+
this.i.add(this.o.listen("mousedown", runOn(this, this.v)));
|
|
1334
|
+
this.i.add(this.o.listen("mouseup", runOn(this, this.y)));
|
|
1335
|
+
this.i.add(this.o.listen("focusin", runOn(this, this.ad)));
|
|
1336
|
+
this.i.add(this.o.listen("focusout", runOn(this, this.ae)));
|
|
1337
1337
|
}
|
|
1338
|
-
|
|
1339
|
-
this.
|
|
1340
|
-
for (let a of fromEnum(this.
|
|
1338
|
+
am() {
|
|
1339
|
+
this.f = false;
|
|
1340
|
+
for (let a of fromEnum(this.i)) {
|
|
1341
1341
|
a();
|
|
1342
1342
|
}
|
|
1343
|
-
this.
|
|
1343
|
+
this.i.clear();
|
|
1344
1344
|
}
|
|
1345
|
-
|
|
1346
|
-
let model_ = this.
|
|
1345
|
+
au() {
|
|
1346
|
+
let model_ = this.c;
|
|
1347
1347
|
if (model_.externalObject && model_.externalObject.refreshDefaults) {
|
|
1348
1348
|
model_.externalObject.refreshDefaults();
|
|
1349
1349
|
}
|
|
1350
1350
|
;
|
|
1351
1351
|
}
|
|
1352
|
-
ay(a, b) {
|
|
1353
|
-
this.c.ax = a;
|
|
1354
|
-
this.c.aw = b;
|
|
1355
|
-
}
|
|
1356
1352
|
az(a, b) {
|
|
1357
|
-
|
|
1358
|
-
this.
|
|
1353
|
+
this.d.ax = a;
|
|
1354
|
+
this.d.aw = b;
|
|
1359
1355
|
}
|
|
1360
|
-
|
|
1356
|
+
a0(a, b) {
|
|
1357
|
+
let c = ElevationHelper.e(a, this.c.n0, this.c.nx, this.c.nn, b);
|
|
1358
|
+
this.o.setStyleProperty("box-shadow", c);
|
|
1359
|
+
}
|
|
1360
|
+
a2(a) {
|
|
1361
1361
|
if (a != null) {
|
|
1362
|
-
this.
|
|
1362
|
+
this.n.setStyleProperty("font", a.fontString);
|
|
1363
1363
|
}
|
|
1364
1364
|
}
|
|
1365
|
-
|
|
1366
|
-
this.
|
|
1365
|
+
af(a) {
|
|
1366
|
+
this.n.append(a);
|
|
1367
1367
|
}
|
|
1368
|
-
|
|
1369
|
-
this.
|
|
1368
|
+
ag() {
|
|
1369
|
+
this.n.removeChildren();
|
|
1370
1370
|
}
|
|
1371
|
-
|
|
1372
|
-
return this.
|
|
1371
|
+
s() {
|
|
1372
|
+
return this.n.getChildCount() > 0 ? this.n.getChildAt(0) : null;
|
|
1373
1373
|
}
|
|
1374
|
-
|
|
1375
|
-
let rect_ = this.
|
|
1374
|
+
b() {
|
|
1375
|
+
let rect_ = this.l.rootWrapper.getNativeElement().getBoundingClientRect();
|
|
1376
1376
|
let a = (rect_.top);
|
|
1377
1377
|
let b = (rect_.left);
|
|
1378
1378
|
let c = new Array(2);
|
|
@@ -1380,6 +1380,12 @@ let ButtonView = /*@__PURE__*/ (() => {
|
|
|
1380
1380
|
c[1] = b;
|
|
1381
1381
|
return c;
|
|
1382
1382
|
}
|
|
1383
|
+
a() {
|
|
1384
|
+
let a = new Array(2);
|
|
1385
|
+
a[0] = NativeUI.k(this.r);
|
|
1386
|
+
a[1] = NativeUI.d(this.r);
|
|
1387
|
+
return a;
|
|
1388
|
+
}
|
|
1383
1389
|
}
|
|
1384
1390
|
ButtonView.$t = markType(ButtonView, 'ButtonView');
|
|
1385
1391
|
return ButtonView;
|
|
@@ -1652,9 +1658,9 @@ let XButton = /*@__PURE__*/ (() => {
|
|
|
1652
1658
|
this.gotFocus = null;
|
|
1653
1659
|
this.lostFocus = null;
|
|
1654
1660
|
let a = new ButtonView();
|
|
1655
|
-
a.
|
|
1661
|
+
a.c = this;
|
|
1656
1662
|
this.view = a;
|
|
1657
|
-
this.view.
|
|
1663
|
+
this.view.ar();
|
|
1658
1664
|
}
|
|
1659
1665
|
get view() {
|
|
1660
1666
|
return this._view;
|
|
@@ -1785,7 +1791,7 @@ let XButton = /*@__PURE__*/ (() => {
|
|
|
1785
1791
|
case "IsDisabled":
|
|
1786
1792
|
this.as = this.disabled || this.aw;
|
|
1787
1793
|
this.kq();
|
|
1788
|
-
this.view.
|
|
1794
|
+
this.view.at();
|
|
1789
1795
|
this.kp();
|
|
1790
1796
|
break;
|
|
1791
1797
|
case "DisableRipple":
|
|
@@ -1797,7 +1803,7 @@ let XButton = /*@__PURE__*/ (() => {
|
|
|
1797
1803
|
this.kp();
|
|
1798
1804
|
break;
|
|
1799
1805
|
case "ActualDisableRipple":
|
|
1800
|
-
this.view.
|
|
1806
|
+
this.view.an();
|
|
1801
1807
|
break;
|
|
1802
1808
|
case "ActualBackgroundColor":
|
|
1803
1809
|
case "ActualDisabledBackgroundColor":
|
|
@@ -1820,11 +1826,11 @@ let XButton = /*@__PURE__*/ (() => {
|
|
|
1820
1826
|
if (this.e == 4) {
|
|
1821
1827
|
this.ko();
|
|
1822
1828
|
}
|
|
1823
|
-
this.view.
|
|
1829
|
+
this.view.a1();
|
|
1824
1830
|
this.kp();
|
|
1825
1831
|
break;
|
|
1826
1832
|
case "DisplayType":
|
|
1827
|
-
this.view.
|
|
1833
|
+
this.view.a1();
|
|
1828
1834
|
this.kq();
|
|
1829
1835
|
this.kp();
|
|
1830
1836
|
break;
|
|
@@ -1833,43 +1839,43 @@ let XButton = /*@__PURE__*/ (() => {
|
|
|
1833
1839
|
case "ContentPaddingRight":
|
|
1834
1840
|
case "ContentPaddingBottom":
|
|
1835
1841
|
case "FillAvailableSpace":
|
|
1836
|
-
this.view.
|
|
1842
|
+
this.view.a1();
|
|
1837
1843
|
break;
|
|
1838
1844
|
case "HorizontalContentAlignment":
|
|
1839
1845
|
case "VerticalContentAlignment":
|
|
1840
|
-
this.view.
|
|
1846
|
+
this.view.av();
|
|
1841
1847
|
break;
|
|
1842
1848
|
case "InputId":
|
|
1843
|
-
this.view.
|
|
1849
|
+
this.view.as();
|
|
1844
1850
|
break;
|
|
1845
1851
|
case "Display":
|
|
1846
|
-
this.view.
|
|
1852
|
+
this.view.ao();
|
|
1847
1853
|
break;
|
|
1848
1854
|
case "ChildContentDisplay":
|
|
1849
|
-
this.view.
|
|
1855
|
+
this.view.ak();
|
|
1850
1856
|
break;
|
|
1851
1857
|
case "FlexDirection":
|
|
1852
|
-
this.view.
|
|
1858
|
+
this.view.ap();
|
|
1853
1859
|
break;
|
|
1854
1860
|
case "FlexGrow":
|
|
1855
|
-
this.view.
|
|
1861
|
+
this.view.aq();
|
|
1856
1862
|
break;
|
|
1857
1863
|
case "AlignItems":
|
|
1858
|
-
this.view.
|
|
1864
|
+
this.view.ai();
|
|
1859
1865
|
break;
|
|
1860
1866
|
case "TabIndex":
|
|
1861
|
-
this.view.
|
|
1867
|
+
this.view.ay();
|
|
1862
1868
|
break;
|
|
1863
1869
|
case "DisablePointer":
|
|
1864
|
-
this.view.
|
|
1870
|
+
this.view.ay();
|
|
1865
1871
|
break;
|
|
1866
1872
|
case "MinWidth":
|
|
1867
|
-
this.view.
|
|
1868
|
-
this.view.
|
|
1873
|
+
this.view.ax(this.by);
|
|
1874
|
+
this.view.a1();
|
|
1869
1875
|
break;
|
|
1870
1876
|
case "MinHeight":
|
|
1871
|
-
this.view.
|
|
1872
|
-
this.view.
|
|
1877
|
+
this.view.aw(this.bx);
|
|
1878
|
+
this.view.a1();
|
|
1873
1879
|
break;
|
|
1874
1880
|
}
|
|
1875
1881
|
}
|
|
@@ -2053,7 +2059,7 @@ let XButton = /*@__PURE__*/ (() => {
|
|
|
2053
2059
|
}
|
|
2054
2060
|
}
|
|
2055
2061
|
kp() {
|
|
2056
|
-
let a = this.view.
|
|
2062
|
+
let a = this.view.r;
|
|
2057
2063
|
if (a == null) {
|
|
2058
2064
|
return;
|
|
2059
2065
|
}
|
|
@@ -2063,17 +2069,17 @@ let XButton = /*@__PURE__*/ (() => {
|
|
|
2063
2069
|
NativeUI.p(a, new Thickness(0, this.bj));
|
|
2064
2070
|
}
|
|
2065
2071
|
if (this.disabled) {
|
|
2066
|
-
this.view.
|
|
2072
|
+
this.view.a0(this.cu, this.u);
|
|
2067
2073
|
}
|
|
2068
2074
|
else if (this.focused && this.a2) {
|
|
2069
|
-
this.view.
|
|
2075
|
+
this.view.a0(this.cv, this.u);
|
|
2070
2076
|
}
|
|
2071
2077
|
else {
|
|
2072
2078
|
if (this.a3 && !this.au) {
|
|
2073
|
-
this.view.
|
|
2079
|
+
this.view.a0(this.cw, this.u);
|
|
2074
2080
|
}
|
|
2075
2081
|
else {
|
|
2076
|
-
this.view.
|
|
2082
|
+
this.view.a0(this.cx, this.u);
|
|
2077
2083
|
}
|
|
2078
2084
|
}
|
|
2079
2085
|
if (this.disabled) {
|
|
@@ -2090,26 +2096,26 @@ let XButton = /*@__PURE__*/ (() => {
|
|
|
2090
2096
|
NativeUI.m(a, this.no);
|
|
2091
2097
|
}
|
|
2092
2098
|
}
|
|
2093
|
-
this.view.
|
|
2099
|
+
this.view.az(this.ny, BrushUtil.j(0, 0, 0, 0));
|
|
2094
2100
|
if (this.aa != null) {
|
|
2095
|
-
this.view.
|
|
2101
|
+
this.view.a2(this.aa);
|
|
2096
2102
|
}
|
|
2097
2103
|
if (this.disabled) {
|
|
2098
|
-
NativeUI.q(this.view.
|
|
2099
|
-
NativeUI.r(this.view.
|
|
2104
|
+
NativeUI.q(this.view.t, this.ns);
|
|
2105
|
+
NativeUI.r(this.view.t, this.ns);
|
|
2100
2106
|
}
|
|
2101
2107
|
else if (this.focused && this.a2) {
|
|
2102
|
-
NativeUI.q(this.view.
|
|
2103
|
-
NativeUI.r(this.view.
|
|
2108
|
+
NativeUI.q(this.view.t, this.nu);
|
|
2109
|
+
NativeUI.r(this.view.t, this.nu);
|
|
2104
2110
|
}
|
|
2105
2111
|
else {
|
|
2106
2112
|
if (this.a3 && !this.au) {
|
|
2107
|
-
NativeUI.q(this.view.
|
|
2108
|
-
NativeUI.r(this.view.
|
|
2113
|
+
NativeUI.q(this.view.t, this.nw);
|
|
2114
|
+
NativeUI.r(this.view.t, this.nw);
|
|
2109
2115
|
}
|
|
2110
2116
|
else {
|
|
2111
|
-
NativeUI.q(this.view.
|
|
2112
|
-
NativeUI.r(this.view.
|
|
2117
|
+
NativeUI.q(this.view.t, this.nz);
|
|
2118
|
+
NativeUI.r(this.view.t, this.nz);
|
|
2113
2119
|
}
|
|
2114
2120
|
}
|
|
2115
2121
|
}
|
|
@@ -3810,7 +3816,7 @@ let XButton = /*@__PURE__*/ (() => {
|
|
|
3810
3816
|
}
|
|
3811
3817
|
kl() {
|
|
3812
3818
|
this.j8();
|
|
3813
|
-
this.view.
|
|
3819
|
+
this.view.az(this.ny, BrushUtil.j(0, 0, 0, 0));
|
|
3814
3820
|
this.kp();
|
|
3815
3821
|
}
|
|
3816
3822
|
get a() {
|
|
@@ -3820,25 +3826,25 @@ let XButton = /*@__PURE__*/ (() => {
|
|
|
3820
3826
|
return a;
|
|
3821
3827
|
}
|
|
3822
3828
|
j8() {
|
|
3823
|
-
this.view.
|
|
3829
|
+
this.view.ah();
|
|
3824
3830
|
}
|
|
3825
3831
|
onDetachedFromUI() {
|
|
3826
|
-
this.view.
|
|
3832
|
+
this.view.am();
|
|
3827
3833
|
}
|
|
3828
3834
|
onAttachedToUI() {
|
|
3829
|
-
this.view.
|
|
3835
|
+
this.view.aj();
|
|
3830
3836
|
}
|
|
3831
3837
|
appendButtonContent(a) {
|
|
3832
|
-
this.view.
|
|
3838
|
+
this.view.af(a);
|
|
3833
3839
|
}
|
|
3834
3840
|
clearButtonContent() {
|
|
3835
|
-
this.view.
|
|
3841
|
+
this.view.ag();
|
|
3836
3842
|
}
|
|
3837
3843
|
getButtonContent() {
|
|
3838
|
-
return this.view.
|
|
3844
|
+
return this.view.s();
|
|
3839
3845
|
}
|
|
3840
3846
|
a4() {
|
|
3841
|
-
return this.view.
|
|
3847
|
+
return this.view.h();
|
|
3842
3848
|
}
|
|
3843
3849
|
eb() {
|
|
3844
3850
|
return this.b();
|
|
@@ -3848,14 +3854,15 @@ let XButton = /*@__PURE__*/ (() => {
|
|
|
3848
3854
|
return a.serialize();
|
|
3849
3855
|
}
|
|
3850
3856
|
b() {
|
|
3851
|
-
let a = this.view.
|
|
3852
|
-
let b = this.view.
|
|
3857
|
+
let a = this.view.r;
|
|
3858
|
+
let b = this.view.t;
|
|
3853
3859
|
let c = new ButtonVisualModelExport();
|
|
3854
|
-
let d = this.view.
|
|
3860
|
+
let d = this.view.b();
|
|
3855
3861
|
c.s = d[0];
|
|
3856
3862
|
c.q = d[1];
|
|
3857
|
-
|
|
3858
|
-
c.t =
|
|
3863
|
+
let e = this.view.a();
|
|
3864
|
+
c.t = e[0];
|
|
3865
|
+
c.p = e[1];
|
|
3859
3866
|
c.h = this.n;
|
|
3860
3867
|
c.i = this.q;
|
|
3861
3868
|
c.c = AppearanceHelper.a(NativeUI.ak(a));
|
|
@@ -3873,44 +3880,44 @@ let XButton = /*@__PURE__*/ (() => {
|
|
|
3873
3880
|
c.y = this.g4;
|
|
3874
3881
|
c.z = this.g6;
|
|
3875
3882
|
c.w = this.fb;
|
|
3876
|
-
c.v = this.view.
|
|
3883
|
+
c.v = this.view.t.getNativeElement().innerText;
|
|
3877
3884
|
c.aa = this.h6;
|
|
3878
3885
|
c.m = this.focused;
|
|
3879
3886
|
c.k = this.as;
|
|
3880
3887
|
c.n = this.a3;
|
|
3881
3888
|
c.l = this.disabled;
|
|
3882
3889
|
if (this.aa != null) {
|
|
3883
|
-
let
|
|
3884
|
-
if (this.view != null &&
|
|
3885
|
-
let
|
|
3886
|
-
let
|
|
3887
|
-
|
|
3888
|
-
|
|
3889
|
-
|
|
3890
|
-
|
|
3891
|
-
|
|
3892
|
-
|
|
3890
|
+
let f = this.aa;
|
|
3891
|
+
if (this.view != null && f.q == null) {
|
|
3892
|
+
let g = this.view.l;
|
|
3893
|
+
let h = FontUtil.getFontInfoFromString(g, f.fontString);
|
|
3894
|
+
f.q = h.q;
|
|
3895
|
+
f.f = h.f;
|
|
3896
|
+
f.r = h.r;
|
|
3897
|
+
f.t = h.t;
|
|
3898
|
+
f.u = h.u;
|
|
3899
|
+
f.v = h.v;
|
|
3893
3900
|
}
|
|
3894
|
-
if (
|
|
3895
|
-
c.ab =
|
|
3901
|
+
if (f.q != null) {
|
|
3902
|
+
c.ab = f.q;
|
|
3896
3903
|
}
|
|
3897
|
-
if (!isNaN_(
|
|
3898
|
-
c.r =
|
|
3904
|
+
if (!isNaN_(f.f)) {
|
|
3905
|
+
c.r = f.f;
|
|
3899
3906
|
}
|
|
3900
|
-
if (
|
|
3901
|
-
c.af =
|
|
3907
|
+
if (f.v != null) {
|
|
3908
|
+
c.af = f.v;
|
|
3902
3909
|
}
|
|
3903
|
-
if (
|
|
3904
|
-
c.ad =
|
|
3910
|
+
if (f.t != null) {
|
|
3911
|
+
c.ad = f.t;
|
|
3905
3912
|
}
|
|
3906
|
-
if (
|
|
3907
|
-
c.ac =
|
|
3913
|
+
if (f.r != null) {
|
|
3914
|
+
c.ac = f.t;
|
|
3908
3915
|
}
|
|
3909
3916
|
}
|
|
3910
3917
|
return c;
|
|
3911
3918
|
}
|
|
3912
3919
|
provideContainer(a) {
|
|
3913
|
-
this.view.
|
|
3920
|
+
this.view.al(a);
|
|
3914
3921
|
}
|
|
3915
3922
|
}
|
|
3916
3923
|
XButton.$t = markType(XButton, 'XButton', Base.$, [INotifyPropertyChanged_$type]);
|
|
@@ -4666,6 +4673,9 @@ let IconView = /*@__PURE__*/ (() => {
|
|
|
4666
4673
|
this.v.rootWrapper.setStyleProperty("font", a.fontString);
|
|
4667
4674
|
}
|
|
4668
4675
|
}
|
|
4676
|
+
a2() {
|
|
4677
|
+
return new Size(1, this.v.rootWrapper.width(), this.v.rootWrapper.height());
|
|
4678
|
+
}
|
|
4669
4679
|
b() {
|
|
4670
4680
|
let rect_ = this.v.rootWrapper.getNativeElement().getBoundingClientRect();
|
|
4671
4681
|
let a = (rect_.top);
|
|
@@ -5622,38 +5632,39 @@ let XIcon = /*@__PURE__*/ (() => {
|
|
|
5622
5632
|
let b = this.view.b();
|
|
5623
5633
|
a.i = b[0];
|
|
5624
5634
|
a.g = b[1];
|
|
5625
|
-
|
|
5626
|
-
a.
|
|
5635
|
+
let c = this.view.a2();
|
|
5636
|
+
a.f = c.height;
|
|
5637
|
+
a.j = c.width;
|
|
5627
5638
|
a.a = this.view.a();
|
|
5628
5639
|
a.svg = this.svg;
|
|
5629
5640
|
a.svgPath = this.svgPath;
|
|
5630
5641
|
a.k = this.b0;
|
|
5631
5642
|
if (this.o != null) {
|
|
5632
|
-
let
|
|
5633
|
-
if (this.view != null &&
|
|
5634
|
-
let
|
|
5635
|
-
let
|
|
5636
|
-
|
|
5637
|
-
|
|
5638
|
-
|
|
5639
|
-
|
|
5640
|
-
|
|
5641
|
-
|
|
5643
|
+
let d = this.o;
|
|
5644
|
+
if (this.view != null && d.q == null) {
|
|
5645
|
+
let e = this.view.v;
|
|
5646
|
+
let f = FontUtil.getFontInfoFromString(e, d.fontString);
|
|
5647
|
+
d.q = f.q;
|
|
5648
|
+
d.f = f.f;
|
|
5649
|
+
d.r = f.r;
|
|
5650
|
+
d.t = f.t;
|
|
5651
|
+
d.u = f.u;
|
|
5652
|
+
d.v = f.v;
|
|
5642
5653
|
}
|
|
5643
|
-
if (
|
|
5644
|
-
a.o =
|
|
5654
|
+
if (d.q != null) {
|
|
5655
|
+
a.o = d.q;
|
|
5645
5656
|
}
|
|
5646
|
-
if (!isNaN_(
|
|
5647
|
-
a.h =
|
|
5657
|
+
if (!isNaN_(d.f)) {
|
|
5658
|
+
a.h = d.f;
|
|
5648
5659
|
}
|
|
5649
|
-
if (
|
|
5650
|
-
a.s =
|
|
5660
|
+
if (d.v != null) {
|
|
5661
|
+
a.s = d.v;
|
|
5651
5662
|
}
|
|
5652
|
-
if (
|
|
5653
|
-
a.q =
|
|
5663
|
+
if (d.t != null) {
|
|
5664
|
+
a.q = d.t;
|
|
5654
5665
|
}
|
|
5655
|
-
if (
|
|
5656
|
-
a.p =
|
|
5666
|
+
if (d.r != null) {
|
|
5667
|
+
a.p = d.t;
|
|
5657
5668
|
}
|
|
5658
5669
|
}
|
|
5659
5670
|
return a;
|
|
@@ -13107,8 +13118,8 @@ let InputGroupVisualModelExport = /*@__PURE__*/ (() => {
|
|
|
13107
13118
|
if (e != 0) {
|
|
13108
13119
|
a.l(",");
|
|
13109
13120
|
}
|
|
13110
|
-
let f = this.k._inner[e].
|
|
13111
|
-
a.l(this.k._inner[e].
|
|
13121
|
+
let f = this.k._inner[e].m.charAt(0).toString().toLowerCase() + this.k._inner[e].m.substr(1);
|
|
13122
|
+
a.l(this.k._inner[e].p());
|
|
13112
13123
|
}
|
|
13113
13124
|
a.l("],");
|
|
13114
13125
|
a.l("suffixModels : [");
|
|
@@ -13222,60 +13233,62 @@ let InputVisualModelExport = /*@__PURE__*/ (() => {
|
|
|
13222
13233
|
class InputVisualModelExport extends Base {
|
|
13223
13234
|
constructor() {
|
|
13224
13235
|
super(...arguments);
|
|
13225
|
-
this.
|
|
13236
|
+
this.i = 0;
|
|
13237
|
+
this.g = 0;
|
|
13238
|
+
this.j = 0;
|
|
13226
13239
|
this.f = 0;
|
|
13227
13240
|
this.b = 0;
|
|
13228
13241
|
this.c = 0;
|
|
13229
|
-
this.
|
|
13230
|
-
this.
|
|
13242
|
+
this.l = null;
|
|
13243
|
+
this.o = null;
|
|
13231
13244
|
this.d = false;
|
|
13232
13245
|
this.a = null;
|
|
13233
|
-
this.q = null;
|
|
13234
|
-
this.r = null;
|
|
13235
13246
|
this.s = null;
|
|
13236
|
-
this.g = 0;
|
|
13237
|
-
this.o = null;
|
|
13238
|
-
this.p = null;
|
|
13239
|
-
this.i = null;
|
|
13240
|
-
this.l = null;
|
|
13241
|
-
this.e = false;
|
|
13242
13247
|
this.t = null;
|
|
13248
|
+
this.u = null;
|
|
13249
|
+
this.h = 0;
|
|
13250
|
+
this.q = null;
|
|
13251
|
+
this.r = null;
|
|
13243
13252
|
this.k = null;
|
|
13253
|
+
this.n = null;
|
|
13254
|
+
this.e = false;
|
|
13255
|
+
this.v = null;
|
|
13256
|
+
this.m = null;
|
|
13244
13257
|
}
|
|
13245
|
-
|
|
13258
|
+
p() {
|
|
13246
13259
|
let a = new StringBuilder(0);
|
|
13247
13260
|
a.l("{");
|
|
13248
|
-
a.l("top : " + this.
|
|
13249
|
-
a.l("left : " + this.
|
|
13261
|
+
a.l("top : " + this.i + ", ");
|
|
13262
|
+
a.l("left : " + this.g + ", ");
|
|
13250
13263
|
a.l("shiftType : " + this.b + ", ");
|
|
13251
13264
|
a.l("actualDensity : " + this.c + ", ");
|
|
13252
|
-
a.l("mask : \"" + this.
|
|
13253
|
-
a.l("promptChar : \"" + this.
|
|
13265
|
+
a.l("mask : \"" + this.l + "\", ");
|
|
13266
|
+
a.l("promptChar : \"" + this.o + "\", ");
|
|
13254
13267
|
a.l("includeLiterals : " + this.d + ", ");
|
|
13255
13268
|
a.l("actualTextColor : " + this.a.serialize() + ", ");
|
|
13256
|
-
if (!stringIsNullOrEmpty(this.
|
|
13257
|
-
a.l("textStyleFontStyle : \"" + this.
|
|
13269
|
+
if (!stringIsNullOrEmpty(this.s)) {
|
|
13270
|
+
a.l("textStyleFontStyle : \"" + this.s + "\", ");
|
|
13258
13271
|
}
|
|
13259
|
-
if (!stringIsNullOrEmpty(this.
|
|
13260
|
-
a.l("textStyleFontVariant : \"" + this.
|
|
13272
|
+
if (!stringIsNullOrEmpty(this.t)) {
|
|
13273
|
+
a.l("textStyleFontVariant : \"" + this.t + "\", ");
|
|
13261
13274
|
}
|
|
13262
|
-
if (!stringIsNullOrEmpty(this.
|
|
13263
|
-
a.l("textStyleFontWeight : \"" + this.
|
|
13275
|
+
if (!stringIsNullOrEmpty(this.u)) {
|
|
13276
|
+
a.l("textStyleFontWeight : \"" + this.u + "\", ");
|
|
13264
13277
|
}
|
|
13265
|
-
if (!stringIsNullOrEmpty(this.
|
|
13266
|
-
a.l("textStyleFontFamily : \"" + this.
|
|
13278
|
+
if (!stringIsNullOrEmpty(this.q)) {
|
|
13279
|
+
a.l("textStyleFontFamily : \"" + this.q + "\", ");
|
|
13267
13280
|
}
|
|
13268
|
-
if (!stringIsNullOrEmpty(this.
|
|
13269
|
-
a.l("textStyleFontStretch : \"" + this.
|
|
13281
|
+
if (!stringIsNullOrEmpty(this.r)) {
|
|
13282
|
+
a.l("textStyleFontStretch : \"" + this.r + "\", ");
|
|
13270
13283
|
}
|
|
13271
|
-
if (!isNaN_(this.
|
|
13272
|
-
a.l("textStyleFontSize : " + this.
|
|
13284
|
+
if (!isNaN_(this.h)) {
|
|
13285
|
+
a.l("textStyleFontSize : " + this.h + ", ");
|
|
13273
13286
|
}
|
|
13274
|
-
a.l("inputType : \"" + this.
|
|
13275
|
-
a.l("placeholder : \"" + this.
|
|
13287
|
+
a.l("inputType : \"" + this.k + "\", ");
|
|
13288
|
+
a.l("placeholder : \"" + this.n + "\", ");
|
|
13276
13289
|
a.l("isHover : " + this.e + ", ");
|
|
13277
|
-
a.l("value : \"" + this.
|
|
13278
|
-
a.l("name : \"" + this.
|
|
13290
|
+
a.l("value : \"" + this.v + "\", ");
|
|
13291
|
+
a.l("name : \"" + this.m + "\", ");
|
|
13279
13292
|
a.l("}");
|
|
13280
13293
|
return a.toString();
|
|
13281
13294
|
}
|
|
@@ -14268,43 +14281,43 @@ let InputView = /*@__PURE__*/ (() => {
|
|
|
14268
14281
|
class InputView extends Base {
|
|
14269
14282
|
constructor() {
|
|
14270
14283
|
super();
|
|
14271
|
-
this.b = null;
|
|
14272
|
-
this.l = null;
|
|
14273
14284
|
this.c = null;
|
|
14274
|
-
this.j = new List$1(Delegate_$type, 0);
|
|
14275
|
-
this.g = false;
|
|
14276
|
-
this.f = false;
|
|
14277
|
-
this.r = null;
|
|
14278
|
-
this.d = true;
|
|
14279
14285
|
this.m = null;
|
|
14280
|
-
this.
|
|
14286
|
+
this.d = null;
|
|
14287
|
+
this.k = new List$1(Delegate_$type, 0);
|
|
14288
|
+
this.h = false;
|
|
14281
14289
|
this.g = false;
|
|
14290
|
+
this.s = null;
|
|
14291
|
+
this.e = true;
|
|
14292
|
+
this.n = null;
|
|
14293
|
+
this.o = null;
|
|
14294
|
+
this.h = false;
|
|
14282
14295
|
}
|
|
14283
|
-
|
|
14296
|
+
at() {
|
|
14284
14297
|
}
|
|
14285
|
-
|
|
14298
|
+
i() {
|
|
14286
14299
|
return true;
|
|
14287
14300
|
}
|
|
14288
|
-
get
|
|
14289
|
-
return this.
|
|
14301
|
+
get r() {
|
|
14302
|
+
return this.n;
|
|
14290
14303
|
}
|
|
14291
|
-
get
|
|
14304
|
+
get be() {
|
|
14292
14305
|
return null;
|
|
14293
14306
|
}
|
|
14294
|
-
get
|
|
14307
|
+
get j() {
|
|
14295
14308
|
return true;
|
|
14296
14309
|
}
|
|
14297
|
-
|
|
14310
|
+
aq(a) {
|
|
14298
14311
|
if (a == null) {
|
|
14299
|
-
for (let b of fromEnum(this.
|
|
14312
|
+
for (let b of fromEnum(this.k)) {
|
|
14300
14313
|
b();
|
|
14301
14314
|
}
|
|
14302
|
-
this.
|
|
14315
|
+
this.k.clear();
|
|
14303
14316
|
}
|
|
14304
|
-
this.
|
|
14305
|
-
this.
|
|
14306
|
-
let c = this.
|
|
14307
|
-
c.setAttribute("type", this.
|
|
14317
|
+
this.m = a;
|
|
14318
|
+
this.m.rootWrapper.setStyleProperty("display", "inline-block");
|
|
14319
|
+
let c = this.m.createElement("input");
|
|
14320
|
+
c.setAttribute("type", this.c.b8);
|
|
14308
14321
|
c.setStyleProperty("position", "relative");
|
|
14309
14322
|
c.setStyleProperty("box-sizing", "border-box");
|
|
14310
14323
|
c.setStyleProperty("display", "inline-block");
|
|
@@ -14323,75 +14336,75 @@ let InputView = /*@__PURE__*/ (() => {
|
|
|
14323
14336
|
c.setStyleProperty("background-attachment", "initial");
|
|
14324
14337
|
c.setStyleProperty("background-origin", "initial");
|
|
14325
14338
|
c.setStyleProperty("background-color", "transparent");
|
|
14326
|
-
NativeUI.q(c, this.
|
|
14339
|
+
NativeUI.q(c, this.c.d4);
|
|
14327
14340
|
c.setStyleProperty("outline-style", "none");
|
|
14328
14341
|
c.setStyleProperty("box-shadow", "none");
|
|
14329
14342
|
c.setStyleProperty("border-top", "0.1875rem solid transparent");
|
|
14330
14343
|
c.setStyleProperty("padding-bottom", "0.1875rem");
|
|
14331
|
-
c.setStyleProperty("text-align", this.
|
|
14344
|
+
c.setStyleProperty("text-align", this.u(this.c.dy));
|
|
14332
14345
|
c.setStyleProperty("font-family", "Verdana");
|
|
14333
14346
|
c.setStyleProperty("font-size", "1rem");
|
|
14334
|
-
this.
|
|
14335
|
-
this.
|
|
14336
|
-
this.
|
|
14337
|
-
this.
|
|
14338
|
-
this.
|
|
14339
|
-
this.
|
|
14340
|
-
this.
|
|
14341
|
-
this.
|
|
14342
|
-
this.
|
|
14343
|
-
this.
|
|
14344
|
-
this.
|
|
14345
|
-
this.
|
|
14346
|
-
this.
|
|
14347
|
-
this.
|
|
14348
|
-
this.
|
|
14349
|
-
this.
|
|
14350
|
-
this.
|
|
14351
|
-
this.
|
|
14352
|
-
this.
|
|
14353
|
-
this.
|
|
14347
|
+
this.k.add(c.listen("change", runOn(this, this.z)));
|
|
14348
|
+
this.k.add(c.listen("input", runOn(this, this.aa)));
|
|
14349
|
+
this.k.add(c.listen("focus", runOn(this, this.af)));
|
|
14350
|
+
this.k.add(c.listen("blur", runOn(this, this.y)));
|
|
14351
|
+
this.k.add(c.listen("mouseenter", runOn(this, this.w)));
|
|
14352
|
+
this.k.add(c.listen("mouseleave", runOn(this, this.x)));
|
|
14353
|
+
this.k.add(c.listen("keydown", runOn(this, this.ag)));
|
|
14354
|
+
this.k.add(c.listen("keyup", runOn(this, this.ai)));
|
|
14355
|
+
this.k.add(c.listen("keypress", runOn(this, this.ah)));
|
|
14356
|
+
this.k.add(c.listen("paste", runOn(this, this.al)));
|
|
14357
|
+
this.k.add(c.listen("dragenter", runOn(this, this.ad)));
|
|
14358
|
+
this.k.add(c.listen("dragleave", runOn(this, this.ae)));
|
|
14359
|
+
this.k.add(c.listen("compositionstart", runOn(this, this.ac)));
|
|
14360
|
+
this.k.add(c.listen("compositionend", runOn(this, this.ab)));
|
|
14361
|
+
this.k.add(c.listen("mousedown", runOn(this, this.aj)));
|
|
14362
|
+
this.k.add(c.listen("mouseup", runOn(this, this.ak)));
|
|
14363
|
+
this.n = c;
|
|
14364
|
+
this.m.append(this.n);
|
|
14365
|
+
this.an();
|
|
14366
|
+
this.c.dl();
|
|
14354
14367
|
}
|
|
14355
|
-
|
|
14368
|
+
a1(a) {
|
|
14356
14369
|
if (a) {
|
|
14357
|
-
this.
|
|
14370
|
+
this.n.setAttribute("readonly", a.toString());
|
|
14358
14371
|
}
|
|
14359
14372
|
else {
|
|
14360
|
-
this.
|
|
14373
|
+
this.n.getNativeElement().removeAttribute("readonly");
|
|
14361
14374
|
}
|
|
14362
14375
|
}
|
|
14363
|
-
|
|
14376
|
+
az(a) {
|
|
14364
14377
|
if (a) {
|
|
14365
|
-
this.
|
|
14378
|
+
this.n.setAttribute("disabled", "true");
|
|
14366
14379
|
}
|
|
14367
14380
|
else {
|
|
14368
|
-
this.
|
|
14381
|
+
this.n.getNativeElement().removeAttribute("disabled");
|
|
14369
14382
|
}
|
|
14370
14383
|
}
|
|
14371
|
-
|
|
14372
|
-
this.
|
|
14384
|
+
a6(a) {
|
|
14385
|
+
this.n.setStyleProperty("text-align", this.u(a));
|
|
14373
14386
|
}
|
|
14374
|
-
|
|
14387
|
+
a5(a) {
|
|
14375
14388
|
if (a) {
|
|
14376
|
-
this.
|
|
14389
|
+
this.n.removeClass("ig-input-hide-spinner");
|
|
14377
14390
|
}
|
|
14378
14391
|
else {
|
|
14379
|
-
this.
|
|
14392
|
+
this.n.addClass("ig-input-hide-spinner");
|
|
14380
14393
|
}
|
|
14381
14394
|
}
|
|
14382
|
-
|
|
14383
|
-
this.
|
|
14384
|
-
this.
|
|
14395
|
+
ac(a) {
|
|
14396
|
+
this.h = true;
|
|
14397
|
+
this.c.c3();
|
|
14385
14398
|
}
|
|
14386
|
-
|
|
14387
|
-
this.
|
|
14399
|
+
ab(a) {
|
|
14400
|
+
this.h = false;
|
|
14388
14401
|
let b = null;
|
|
14389
14402
|
if (a.originalEvent != null) {
|
|
14390
14403
|
b = (a.originalEvent.data);
|
|
14391
14404
|
}
|
|
14392
|
-
this.
|
|
14405
|
+
this.c.c2(b);
|
|
14393
14406
|
}
|
|
14394
|
-
|
|
14407
|
+
u(a) {
|
|
14395
14408
|
switch (a) {
|
|
14396
14409
|
case 0: return "left";
|
|
14397
14410
|
case 2: return "right";
|
|
@@ -14399,53 +14412,53 @@ let InputView = /*@__PURE__*/ (() => {
|
|
|
14399
14412
|
}
|
|
14400
14413
|
return "left";
|
|
14401
14414
|
}
|
|
14402
|
-
|
|
14403
|
-
this.
|
|
14404
|
-
if (this.
|
|
14405
|
-
this.
|
|
14415
|
+
ax() {
|
|
14416
|
+
this.n.setAttribute("type", this.c.b8);
|
|
14417
|
+
if (this.c.b8 == "date") {
|
|
14418
|
+
this.n.setStyleProperty("line-height", "normal");
|
|
14406
14419
|
}
|
|
14407
14420
|
else {
|
|
14408
|
-
this.
|
|
14421
|
+
this.n.setStyleProperty("line-height", "0");
|
|
14409
14422
|
}
|
|
14410
14423
|
}
|
|
14411
|
-
|
|
14412
|
-
this.
|
|
14424
|
+
av() {
|
|
14425
|
+
this.n.setAttribute("placeholder", this.c.cg);
|
|
14413
14426
|
}
|
|
14414
|
-
|
|
14415
|
-
switch (this.
|
|
14427
|
+
ba() {
|
|
14428
|
+
switch (this.c.z) {
|
|
14416
14429
|
case 1:
|
|
14417
|
-
this.
|
|
14418
|
-
this.
|
|
14430
|
+
this.n.setStyleProperty("height", "2rem");
|
|
14431
|
+
this.n.setStyleProperty("font-size", "1rem");
|
|
14419
14432
|
break;
|
|
14420
14433
|
case 2:
|
|
14421
|
-
this.
|
|
14422
|
-
this.
|
|
14434
|
+
this.n.setStyleProperty("height", "1.68421rem");
|
|
14435
|
+
this.n.setStyleProperty("font-size", "1rem");
|
|
14423
14436
|
break;
|
|
14424
14437
|
case 3:
|
|
14425
|
-
this.
|
|
14426
|
-
this.
|
|
14438
|
+
this.n.setStyleProperty("height", "1.45455rem");
|
|
14439
|
+
this.n.setStyleProperty("font-size", ".95455rem");
|
|
14427
14440
|
break;
|
|
14428
14441
|
case 4:
|
|
14429
|
-
this.
|
|
14430
|
-
this.
|
|
14442
|
+
this.n.setStyleProperty("height", "1.388445rem");
|
|
14443
|
+
this.n.setStyleProperty("font-size", "0.91116rem");
|
|
14431
14444
|
break;
|
|
14432
14445
|
}
|
|
14433
14446
|
}
|
|
14434
|
-
|
|
14435
|
-
let a = this.
|
|
14447
|
+
a9() {
|
|
14448
|
+
let a = this.l();
|
|
14436
14449
|
if (isNaN_(a) || a == 0) {
|
|
14437
|
-
if (!this.
|
|
14438
|
-
this.
|
|
14439
|
-
this.
|
|
14440
|
-
this.
|
|
14441
|
-
this.
|
|
14450
|
+
if (!this.g) {
|
|
14451
|
+
this.g = true;
|
|
14452
|
+
this.m.setTimeout(() => {
|
|
14453
|
+
this.g = false;
|
|
14454
|
+
this.a9();
|
|
14442
14455
|
}, 100);
|
|
14443
14456
|
}
|
|
14444
14457
|
}
|
|
14445
14458
|
let b = new TransformGroup();
|
|
14446
14459
|
b.j.add(((() => {
|
|
14447
14460
|
let $ret = new TranslateTransform();
|
|
14448
|
-
$ret.k = this.
|
|
14461
|
+
$ret.k = this.c.o == 2 ? (this.l() * -0.25) : 0;
|
|
14449
14462
|
return $ret;
|
|
14450
14463
|
})()));
|
|
14451
14464
|
b.j.add(((() => {
|
|
@@ -14454,194 +14467,203 @@ let InputView = /*@__PURE__*/ (() => {
|
|
|
14454
14467
|
$ret.m = 1;
|
|
14455
14468
|
return $ret;
|
|
14456
14469
|
})()));
|
|
14457
|
-
NativeUI.af(this.
|
|
14458
|
-
this.
|
|
14470
|
+
NativeUI.af(this.m.rootWrapper, b);
|
|
14471
|
+
this.m.rootWrapper.setStyleProperty("transform-origin", "0px 0px");
|
|
14459
14472
|
}
|
|
14460
|
-
|
|
14461
|
-
let a = this.
|
|
14473
|
+
l() {
|
|
14474
|
+
let a = this.m.rootWrapper.getStyleProperty("height");
|
|
14462
14475
|
let b = parseFloat(stringReplace(a, "px", ""));
|
|
14463
14476
|
return b;
|
|
14464
14477
|
}
|
|
14465
|
-
|
|
14466
|
-
this.
|
|
14478
|
+
ay(a) {
|
|
14479
|
+
this.n.setProperty("value", a);
|
|
14467
14480
|
}
|
|
14468
|
-
|
|
14469
|
-
this.
|
|
14481
|
+
a0(a) {
|
|
14482
|
+
this.n.setAttribute("name", a);
|
|
14470
14483
|
}
|
|
14471
|
-
|
|
14472
|
-
this.
|
|
14484
|
+
y(a) {
|
|
14485
|
+
this.c.cz();
|
|
14473
14486
|
}
|
|
14474
|
-
|
|
14475
|
-
this.
|
|
14487
|
+
af(a) {
|
|
14488
|
+
this.c.c7();
|
|
14476
14489
|
}
|
|
14477
|
-
|
|
14478
|
-
let b = this.
|
|
14479
|
-
this.
|
|
14490
|
+
aj(a) {
|
|
14491
|
+
let b = this.bd(a);
|
|
14492
|
+
this.c.dd(b);
|
|
14480
14493
|
if (b.handled) {
|
|
14481
14494
|
a.preventDefault();
|
|
14482
14495
|
}
|
|
14483
14496
|
}
|
|
14484
|
-
|
|
14485
|
-
let b = this.
|
|
14486
|
-
this.
|
|
14497
|
+
ak(a) {
|
|
14498
|
+
let b = this.bd(a);
|
|
14499
|
+
this.c.dg(b);
|
|
14487
14500
|
if (b.handled) {
|
|
14488
14501
|
a.preventDefault();
|
|
14489
14502
|
}
|
|
14490
14503
|
}
|
|
14491
|
-
|
|
14504
|
+
bd(a) {
|
|
14492
14505
|
let b = new MouseButtonEventArgs();
|
|
14493
14506
|
b.position = { $type: Point_$type, x: a.offsetX, y: a.offsetY };
|
|
14494
14507
|
return b;
|
|
14495
14508
|
}
|
|
14496
|
-
y(a) {
|
|
14497
|
-
this.b.c0();
|
|
14498
|
-
}
|
|
14499
14509
|
z(a) {
|
|
14500
|
-
this.
|
|
14510
|
+
this.c.c0();
|
|
14501
14511
|
}
|
|
14502
|
-
|
|
14503
|
-
|
|
14504
|
-
this.b.da(b);
|
|
14512
|
+
aa(a) {
|
|
14513
|
+
this.c.c1();
|
|
14505
14514
|
}
|
|
14506
|
-
|
|
14515
|
+
ag(a) {
|
|
14507
14516
|
let b = new KeyEventArgs(0, a);
|
|
14508
|
-
this.
|
|
14517
|
+
this.c.da(b);
|
|
14509
14518
|
}
|
|
14510
|
-
|
|
14519
|
+
ai(a) {
|
|
14511
14520
|
let b = new KeyEventArgs(0, a);
|
|
14512
|
-
this.
|
|
14521
|
+
this.c.dc(b);
|
|
14513
14522
|
}
|
|
14514
|
-
|
|
14515
|
-
|
|
14523
|
+
ah(a) {
|
|
14524
|
+
let b = new KeyEventArgs(0, a);
|
|
14525
|
+
this.c.db(b);
|
|
14516
14526
|
}
|
|
14517
|
-
|
|
14518
|
-
this.
|
|
14527
|
+
al(a) {
|
|
14528
|
+
this.c.dh();
|
|
14519
14529
|
}
|
|
14520
14530
|
ad(a) {
|
|
14521
|
-
this.
|
|
14531
|
+
this.c.c5();
|
|
14522
14532
|
}
|
|
14523
|
-
|
|
14524
|
-
|
|
14525
|
-
|
|
14526
|
-
|
|
14527
|
-
|
|
14533
|
+
ae(a) {
|
|
14534
|
+
this.c.c6();
|
|
14535
|
+
}
|
|
14536
|
+
bb(a) {
|
|
14537
|
+
if (this.s != a) {
|
|
14538
|
+
this.s = a;
|
|
14539
|
+
if (this.o != null) {
|
|
14540
|
+
this.o.setAttribute("d", this.s);
|
|
14528
14541
|
}
|
|
14529
14542
|
}
|
|
14530
14543
|
}
|
|
14531
|
-
|
|
14532
|
-
return this.
|
|
14544
|
+
t() {
|
|
14545
|
+
return this.n.getProperty("value");
|
|
14533
14546
|
}
|
|
14534
|
-
|
|
14547
|
+
v(a) {
|
|
14535
14548
|
}
|
|
14536
|
-
|
|
14537
|
-
if (this.
|
|
14538
|
-
if (this.
|
|
14539
|
-
this.
|
|
14549
|
+
a8() {
|
|
14550
|
+
if (this.i()) {
|
|
14551
|
+
if (this.c.as) {
|
|
14552
|
+
this.n.setAttribute("tabindex", this.c.be.toString());
|
|
14540
14553
|
}
|
|
14541
14554
|
else {
|
|
14542
|
-
this.
|
|
14555
|
+
this.n.getNativeElement().removeAttribute("tabindex");
|
|
14543
14556
|
}
|
|
14544
14557
|
}
|
|
14545
14558
|
}
|
|
14546
|
-
|
|
14547
|
-
let a = this.
|
|
14559
|
+
q() {
|
|
14560
|
+
let a = this.n.getProperty("selectionStart");
|
|
14548
14561
|
return typeGetValue(a);
|
|
14549
14562
|
}
|
|
14550
|
-
|
|
14551
|
-
let a = this.
|
|
14563
|
+
p() {
|
|
14564
|
+
let a = this.n.getProperty("selectionEnd");
|
|
14552
14565
|
return typeGetValue(a);
|
|
14553
14566
|
}
|
|
14554
|
-
|
|
14555
|
-
this.
|
|
14567
|
+
a4(a) {
|
|
14568
|
+
this.n.setProperty("selectionStart", a);
|
|
14556
14569
|
}
|
|
14557
|
-
|
|
14558
|
-
this.
|
|
14570
|
+
a2(a) {
|
|
14571
|
+
this.n.setProperty("selectionEnd", a);
|
|
14559
14572
|
}
|
|
14560
|
-
|
|
14561
|
-
if (this.
|
|
14573
|
+
au() {
|
|
14574
|
+
if (this.i()) {
|
|
14562
14575
|
}
|
|
14563
14576
|
}
|
|
14564
|
-
v(a) {
|
|
14565
|
-
this.b.de();
|
|
14566
|
-
}
|
|
14567
14577
|
w(a) {
|
|
14568
|
-
this.
|
|
14578
|
+
this.c.de();
|
|
14569
14579
|
}
|
|
14570
|
-
|
|
14571
|
-
this.
|
|
14572
|
-
this.j.add(this.m.listen("change", runOn(this, this.y)));
|
|
14573
|
-
this.j.add(this.m.listen("input", runOn(this, this.z)));
|
|
14574
|
-
this.j.add(this.m.listen("focus", runOn(this, this.ae)));
|
|
14575
|
-
this.j.add(this.m.listen("blur", runOn(this, this.x)));
|
|
14576
|
-
this.j.add(this.m.listen("mouseenter", runOn(this, this.v)));
|
|
14577
|
-
this.j.add(this.m.listen("mouseleave", runOn(this, this.w)));
|
|
14578
|
-
this.j.add(this.m.listen("keydown", runOn(this, this.af)));
|
|
14579
|
-
this.j.add(this.m.listen("paste", runOn(this, this.ak)));
|
|
14580
|
-
this.j.add(this.m.listen("dragenter", runOn(this, this.ac)));
|
|
14581
|
-
this.j.add(this.m.listen("dragleave", runOn(this, this.ad)));
|
|
14582
|
-
this.j.add(this.m.listen("compositionstart", runOn(this, this.ab)));
|
|
14583
|
-
this.j.add(this.m.listen("compositionend", runOn(this, this.aa)));
|
|
14584
|
-
this.j.add(this.m.listen("mousedown", runOn(this, this.ai)));
|
|
14585
|
-
this.j.add(this.m.listen("mouseup", runOn(this, this.aj)));
|
|
14580
|
+
x(a) {
|
|
14581
|
+
this.c.df();
|
|
14586
14582
|
}
|
|
14587
|
-
|
|
14588
|
-
this.
|
|
14589
|
-
|
|
14583
|
+
ao() {
|
|
14584
|
+
this.e = true;
|
|
14585
|
+
this.k.add(this.n.listen("change", runOn(this, this.z)));
|
|
14586
|
+
this.k.add(this.n.listen("input", runOn(this, this.aa)));
|
|
14587
|
+
this.k.add(this.n.listen("focus", runOn(this, this.af)));
|
|
14588
|
+
this.k.add(this.n.listen("blur", runOn(this, this.y)));
|
|
14589
|
+
this.k.add(this.n.listen("mouseenter", runOn(this, this.w)));
|
|
14590
|
+
this.k.add(this.n.listen("mouseleave", runOn(this, this.x)));
|
|
14591
|
+
this.k.add(this.n.listen("keydown", runOn(this, this.ag)));
|
|
14592
|
+
this.k.add(this.n.listen("paste", runOn(this, this.al)));
|
|
14593
|
+
this.k.add(this.n.listen("dragenter", runOn(this, this.ad)));
|
|
14594
|
+
this.k.add(this.n.listen("dragleave", runOn(this, this.ae)));
|
|
14595
|
+
this.k.add(this.n.listen("compositionstart", runOn(this, this.ac)));
|
|
14596
|
+
this.k.add(this.n.listen("compositionend", runOn(this, this.ab)));
|
|
14597
|
+
this.k.add(this.n.listen("mousedown", runOn(this, this.aj)));
|
|
14598
|
+
this.k.add(this.n.listen("mouseup", runOn(this, this.ak)));
|
|
14599
|
+
}
|
|
14600
|
+
ar() {
|
|
14601
|
+
this.e = false;
|
|
14602
|
+
for (let a of fromEnum(this.k)) {
|
|
14590
14603
|
a();
|
|
14591
14604
|
}
|
|
14592
|
-
this.
|
|
14605
|
+
this.k.clear();
|
|
14593
14606
|
}
|
|
14594
|
-
|
|
14607
|
+
bc(a) {
|
|
14595
14608
|
if (a != null) {
|
|
14596
|
-
this.
|
|
14609
|
+
this.n.setStyleProperty("font", a.fontString);
|
|
14597
14610
|
}
|
|
14598
14611
|
}
|
|
14599
|
-
|
|
14612
|
+
a7() {
|
|
14600
14613
|
}
|
|
14601
|
-
|
|
14602
|
-
if (this.
|
|
14603
|
-
let a = this.
|
|
14614
|
+
ap() {
|
|
14615
|
+
if (this.n != null) {
|
|
14616
|
+
let a = this.n.getNativeElement();
|
|
14604
14617
|
a.blur();
|
|
14605
14618
|
}
|
|
14606
14619
|
}
|
|
14607
|
-
|
|
14608
|
-
if (this.
|
|
14609
|
-
this.
|
|
14620
|
+
as(a) {
|
|
14621
|
+
if (this.n != null) {
|
|
14622
|
+
this.n.focus(a);
|
|
14610
14623
|
}
|
|
14611
14624
|
}
|
|
14612
|
-
|
|
14613
|
-
if (this.
|
|
14614
|
-
let nativeInput_ = this.
|
|
14625
|
+
aw() {
|
|
14626
|
+
if (this.n != null) {
|
|
14627
|
+
let nativeInput_ = this.n;
|
|
14615
14628
|
nativeInput_.getNativeElement().select();
|
|
14616
14629
|
}
|
|
14617
14630
|
}
|
|
14618
|
-
|
|
14619
|
-
if (this.
|
|
14620
|
-
let c = this.
|
|
14631
|
+
a3(a, b) {
|
|
14632
|
+
if (this.n != null) {
|
|
14633
|
+
let c = this.n.getNativeElement();
|
|
14621
14634
|
c.setSelectionRange(a, b);
|
|
14622
14635
|
}
|
|
14623
14636
|
}
|
|
14624
|
-
|
|
14637
|
+
am() {
|
|
14625
14638
|
if (KeyFrameAnimationFactory.h == null) {
|
|
14626
|
-
KeyFrameAnimationFactory.h = this.
|
|
14639
|
+
KeyFrameAnimationFactory.h = this.m;
|
|
14627
14640
|
}
|
|
14628
14641
|
}
|
|
14629
|
-
|
|
14630
|
-
return new AnimationKeyFrameEffect(0, this.
|
|
14642
|
+
b(a) {
|
|
14643
|
+
return new AnimationKeyFrameEffect(0, this.m.rootWrapper, 0, null, a);
|
|
14631
14644
|
}
|
|
14632
|
-
|
|
14633
|
-
if (InputView.
|
|
14645
|
+
an() {
|
|
14646
|
+
if (InputView.f) {
|
|
14634
14647
|
return;
|
|
14635
14648
|
}
|
|
14636
14649
|
let a = "\r\n.ig-input-hide-spinner::-webkit-outer-spin-button,\r\n.ig-input-hide-spinner::-webkit-inner-spin-button {\r\n -webkit-appearance: none;\r\n margin: 0;\r\n}";
|
|
14637
|
-
let b = this.
|
|
14650
|
+
let b = this.m.createElement("style");
|
|
14638
14651
|
b.setRawText(a);
|
|
14639
14652
|
document.head.appendChild(b.getNativeElement());
|
|
14640
|
-
InputView.
|
|
14653
|
+
InputView.f = true;
|
|
14654
|
+
}
|
|
14655
|
+
a() {
|
|
14656
|
+
let rect_ = this.n.getNativeElement().getBoundingClientRect();
|
|
14657
|
+
let a = (rect_.top);
|
|
14658
|
+
let b = (rect_.left);
|
|
14659
|
+
let c = new Array(2);
|
|
14660
|
+
c[0] = a;
|
|
14661
|
+
c[1] = b;
|
|
14662
|
+
return c;
|
|
14641
14663
|
}
|
|
14642
14664
|
}
|
|
14643
14665
|
InputView.$t = markType(InputView, 'InputView');
|
|
14644
|
-
InputView.
|
|
14666
|
+
InputView.f = false;
|
|
14645
14667
|
return InputView;
|
|
14646
14668
|
})();
|
|
14647
14669
|
/**
|
|
@@ -15693,7 +15715,7 @@ let XInputGroup = /*@__PURE__*/ (() => {
|
|
|
15693
15715
|
return a;
|
|
15694
15716
|
}
|
|
15695
15717
|
onChildrenMutated() {
|
|
15696
|
-
this.jr((a) => a.view.
|
|
15718
|
+
this.jr((a) => a.view.a9());
|
|
15697
15719
|
this.js((a) => a.view.aj());
|
|
15698
15720
|
this.jt((a) => a.view.r());
|
|
15699
15721
|
this.ju((a) => a.view.r());
|
|
@@ -17141,7 +17163,7 @@ let XInputGroup = /*@__PURE__*/ (() => {
|
|
|
17141
17163
|
this.view.ag();
|
|
17142
17164
|
}
|
|
17143
17165
|
ensureShift() {
|
|
17144
|
-
this.jr((a) => a.view.
|
|
17166
|
+
this.jr((a) => a.view.a9());
|
|
17145
17167
|
this.js((a) => a.view.aj());
|
|
17146
17168
|
this.jt((a) => a.view.r());
|
|
17147
17169
|
this.ju((a) => a.view.r());
|
|
@@ -18440,9 +18462,9 @@ let XInput = /*@__PURE__*/ (() => {
|
|
|
18440
18462
|
this.a0 = false;
|
|
18441
18463
|
this.u = new MaskParsingService();
|
|
18442
18464
|
let a = new InputView();
|
|
18443
|
-
a.
|
|
18465
|
+
a.c = this;
|
|
18444
18466
|
this.view = a;
|
|
18445
|
-
this.view.
|
|
18467
|
+
this.view.at();
|
|
18446
18468
|
XInput.ae = new FontInfo();
|
|
18447
18469
|
XInput.ae.q = "Verdana";
|
|
18448
18470
|
}
|
|
@@ -18550,7 +18572,7 @@ let XInput = /*@__PURE__*/ (() => {
|
|
|
18550
18572
|
break;
|
|
18551
18573
|
case "Value":
|
|
18552
18574
|
if (!this.al) {
|
|
18553
|
-
this.view.
|
|
18575
|
+
this.view.ay(this.cq);
|
|
18554
18576
|
if (this.b != null) {
|
|
18555
18577
|
this.b.kh();
|
|
18556
18578
|
}
|
|
@@ -18560,14 +18582,14 @@ let XInput = /*@__PURE__*/ (() => {
|
|
|
18560
18582
|
}
|
|
18561
18583
|
break;
|
|
18562
18584
|
case "Name":
|
|
18563
|
-
this.view.
|
|
18585
|
+
this.view.a0(this.e);
|
|
18564
18586
|
break;
|
|
18565
18587
|
case "Density":
|
|
18566
18588
|
this.z = this.aa == 0 ? 1 : this.aa;
|
|
18567
18589
|
break;
|
|
18568
18590
|
case "ActualDensity":
|
|
18591
|
+
this.view.ba();
|
|
18569
18592
|
this.view.a9();
|
|
18570
|
-
this.view.a8();
|
|
18571
18593
|
break;
|
|
18572
18594
|
case "InputGroup":
|
|
18573
18595
|
this.c8();
|
|
@@ -18590,33 +18612,33 @@ let XInput = /*@__PURE__*/ (() => {
|
|
|
18590
18612
|
this.c9();
|
|
18591
18613
|
break;
|
|
18592
18614
|
case "IsDisabled":
|
|
18593
|
-
this.view.
|
|
18615
|
+
this.view.az(this.am);
|
|
18594
18616
|
break;
|
|
18595
18617
|
case "IsReadOnly":
|
|
18596
|
-
this.view.
|
|
18618
|
+
this.view.a1(this.ao);
|
|
18597
18619
|
break;
|
|
18598
18620
|
case "TextAlignment":
|
|
18599
|
-
this.view.
|
|
18621
|
+
this.view.a6(this.dy);
|
|
18600
18622
|
break;
|
|
18601
18623
|
case "ShowSpinner":
|
|
18602
|
-
this.view.
|
|
18624
|
+
this.view.a5(this.a1);
|
|
18603
18625
|
break;
|
|
18604
18626
|
case "TabIndex":
|
|
18605
|
-
this.view.
|
|
18627
|
+
this.view.a8();
|
|
18606
18628
|
break;
|
|
18607
18629
|
}
|
|
18608
18630
|
}
|
|
18609
18631
|
di() {
|
|
18610
|
-
this.view.
|
|
18632
|
+
this.view.av();
|
|
18611
18633
|
}
|
|
18612
18634
|
dk() {
|
|
18613
|
-
this.view.
|
|
18635
|
+
this.view.ax();
|
|
18614
18636
|
}
|
|
18615
18637
|
dj() {
|
|
18616
|
-
this.view.
|
|
18638
|
+
this.view.a9();
|
|
18617
18639
|
}
|
|
18618
18640
|
c8() {
|
|
18619
|
-
this.view.
|
|
18641
|
+
this.view.a9();
|
|
18620
18642
|
}
|
|
18621
18643
|
dv() {
|
|
18622
18644
|
this.d4 = this.d8 != null ? this.d8 : XInput.d6;
|
|
@@ -18625,10 +18647,10 @@ let XInput = /*@__PURE__*/ (() => {
|
|
|
18625
18647
|
}
|
|
18626
18648
|
du() {
|
|
18627
18649
|
if (this.ad != null) {
|
|
18628
|
-
this.view.
|
|
18650
|
+
this.view.bc(this.ad);
|
|
18629
18651
|
}
|
|
18630
|
-
NativeUI.q(this.view.
|
|
18631
|
-
this.view.
|
|
18652
|
+
NativeUI.q(this.view.r, this.d4);
|
|
18653
|
+
this.view.a7();
|
|
18632
18654
|
}
|
|
18633
18655
|
get d4() {
|
|
18634
18656
|
return this.d0;
|
|
@@ -18742,12 +18764,12 @@ let XInput = /*@__PURE__*/ (() => {
|
|
|
18742
18764
|
}
|
|
18743
18765
|
c0() {
|
|
18744
18766
|
this.al = true;
|
|
18745
|
-
this.cq = this.view.
|
|
18767
|
+
this.cq = this.view.t();
|
|
18746
18768
|
if (this.change != null) {
|
|
18747
18769
|
this.change(this, ((() => {
|
|
18748
18770
|
let $ret = new InputChangeEventArgs();
|
|
18749
18771
|
$ret.value = this.cq;
|
|
18750
|
-
$ret.isCompositionInProgress = this.view.
|
|
18772
|
+
$ret.isCompositionInProgress = this.view.h;
|
|
18751
18773
|
return $ret;
|
|
18752
18774
|
})()));
|
|
18753
18775
|
}
|
|
@@ -18755,7 +18777,7 @@ let XInput = /*@__PURE__*/ (() => {
|
|
|
18755
18777
|
}
|
|
18756
18778
|
c1() {
|
|
18757
18779
|
this.al = true;
|
|
18758
|
-
this.cq = this.view.
|
|
18780
|
+
this.cq = this.view.t();
|
|
18759
18781
|
this.al = false;
|
|
18760
18782
|
if (this.ce != null) {
|
|
18761
18783
|
this.aq = true;
|
|
@@ -18798,7 +18820,7 @@ let XInput = /*@__PURE__*/ (() => {
|
|
|
18798
18820
|
this.changing(this, ((() => {
|
|
18799
18821
|
let $ret = new InputChangeEventArgs();
|
|
18800
18822
|
$ret.value = this.cq;
|
|
18801
|
-
$ret.isCompositionInProgress = this.view.
|
|
18823
|
+
$ret.isCompositionInProgress = this.view.h;
|
|
18802
18824
|
return $ret;
|
|
18803
18825
|
})()));
|
|
18804
18826
|
}
|
|
@@ -18891,7 +18913,7 @@ let XInput = /*@__PURE__*/ (() => {
|
|
|
18891
18913
|
cu() {
|
|
18892
18914
|
this.a9 = 0;
|
|
18893
18915
|
this.aj = false;
|
|
18894
|
-
this.view.
|
|
18916
|
+
this.view.a8();
|
|
18895
18917
|
}
|
|
18896
18918
|
get b2() {
|
|
18897
18919
|
return this.bl;
|
|
@@ -18969,83 +18991,86 @@ let XInput = /*@__PURE__*/ (() => {
|
|
|
18969
18991
|
dl() {
|
|
18970
18992
|
}
|
|
18971
18993
|
onDetachedFromUI() {
|
|
18972
|
-
this.view.
|
|
18994
|
+
this.view.ar();
|
|
18973
18995
|
}
|
|
18974
18996
|
onAttachedToUI() {
|
|
18975
|
-
this.view.
|
|
18997
|
+
this.view.ao();
|
|
18976
18998
|
}
|
|
18977
18999
|
az() {
|
|
18978
|
-
return this.view.
|
|
19000
|
+
return this.view.i();
|
|
18979
19001
|
}
|
|
18980
19002
|
bg() {
|
|
18981
19003
|
return this.j();
|
|
18982
19004
|
}
|
|
18983
19005
|
b1() {
|
|
18984
19006
|
let a = this.j();
|
|
18985
|
-
return a.
|
|
19007
|
+
return a.p();
|
|
18986
19008
|
}
|
|
18987
19009
|
j() {
|
|
18988
19010
|
let a = new InputVisualModelExport();
|
|
18989
|
-
let b = this.view.
|
|
18990
|
-
|
|
18991
|
-
a.
|
|
19011
|
+
let b = this.view.r;
|
|
19012
|
+
let c = this.view.a();
|
|
19013
|
+
a.i = c[0];
|
|
19014
|
+
a.g = c[1];
|
|
19015
|
+
a.f = this.view.m.rootWrapper.height();
|
|
19016
|
+
a.j = this.view.m.rootWrapper.width();
|
|
18992
19017
|
a.b = this.o;
|
|
18993
19018
|
a.c = this.z;
|
|
18994
|
-
a.
|
|
18995
|
-
a.
|
|
19019
|
+
a.l = this.ce;
|
|
19020
|
+
a.o = this.ci;
|
|
18996
19021
|
a.d = this.au;
|
|
18997
19022
|
a.a = AppearanceHelper.a(NativeUI.al(b));
|
|
18998
|
-
a.
|
|
18999
|
-
a.
|
|
19023
|
+
a.k = this.b8;
|
|
19024
|
+
a.n = this.cg;
|
|
19000
19025
|
a.e = this.aw;
|
|
19001
|
-
a.
|
|
19002
|
-
a.
|
|
19026
|
+
a.v = this.cq;
|
|
19027
|
+
a.m = this.e;
|
|
19003
19028
|
if (this.ad != null) {
|
|
19004
|
-
let
|
|
19005
|
-
if (this.view != null &&
|
|
19006
|
-
let
|
|
19007
|
-
let
|
|
19008
|
-
|
|
19009
|
-
|
|
19010
|
-
|
|
19011
|
-
|
|
19012
|
-
|
|
19013
|
-
|
|
19029
|
+
let d = this.ad;
|
|
19030
|
+
if (this.view != null && d.q == null) {
|
|
19031
|
+
let e = this.view.m;
|
|
19032
|
+
let f = FontUtil.getFontInfoFromString(e, d.fontString);
|
|
19033
|
+
d.q = f.q;
|
|
19034
|
+
d.f = f.f;
|
|
19035
|
+
d.r = f.r;
|
|
19036
|
+
d.t = f.t;
|
|
19037
|
+
d.u = f.u;
|
|
19038
|
+
d.v = f.v;
|
|
19014
19039
|
}
|
|
19015
|
-
if (
|
|
19016
|
-
a.
|
|
19040
|
+
if (d.q != null) {
|
|
19041
|
+
a.q = d.q;
|
|
19017
19042
|
}
|
|
19018
|
-
if (!isNaN_(
|
|
19019
|
-
a.
|
|
19043
|
+
if (!isNaN_(d.f)) {
|
|
19044
|
+
a.h = d.f;
|
|
19020
19045
|
}
|
|
19021
|
-
if (
|
|
19022
|
-
a.
|
|
19046
|
+
if (d.v != null) {
|
|
19047
|
+
a.u = d.v;
|
|
19023
19048
|
}
|
|
19024
|
-
if (
|
|
19025
|
-
a.
|
|
19049
|
+
if (d.t != null) {
|
|
19050
|
+
a.s = d.t;
|
|
19026
19051
|
}
|
|
19027
|
-
if (
|
|
19028
|
-
a.
|
|
19052
|
+
if (d.r != null) {
|
|
19053
|
+
a.r = d.t;
|
|
19029
19054
|
}
|
|
19030
19055
|
}
|
|
19031
19056
|
return a;
|
|
19032
19057
|
}
|
|
19033
19058
|
dr(a, b) {
|
|
19034
|
-
this.view.
|
|
19059
|
+
this.view.a3(a, b);
|
|
19035
19060
|
}
|
|
19036
19061
|
provideContainer(a) {
|
|
19037
|
-
this.view.
|
|
19062
|
+
this.view.aq(a);
|
|
19038
19063
|
}
|
|
19039
19064
|
ct() {
|
|
19040
19065
|
this.cz();
|
|
19041
|
-
this.view.
|
|
19066
|
+
this.view.ap();
|
|
19042
19067
|
}
|
|
19043
19068
|
focus(a = false) {
|
|
19044
19069
|
this.c7();
|
|
19045
|
-
this.view.
|
|
19070
|
+
this.view.as(a);
|
|
19046
19071
|
}
|
|
19047
19072
|
dp() {
|
|
19048
|
-
this.view.
|
|
19073
|
+
this.view.aw();
|
|
19049
19074
|
}
|
|
19050
19075
|
dt(a) {
|
|
19051
19076
|
this.aq = true;
|
|
@@ -19079,7 +19104,7 @@ let XInput = /*@__PURE__*/ (() => {
|
|
|
19079
19104
|
this.changing(this, ((() => {
|
|
19080
19105
|
let $ret = new InputChangeEventArgs();
|
|
19081
19106
|
$ret.value = this.cq;
|
|
19082
|
-
$ret.isCompositionInProgress = this.view.
|
|
19107
|
+
$ret.isCompositionInProgress = this.view.h;
|
|
19083
19108
|
return $ret;
|
|
19084
19109
|
})()));
|
|
19085
19110
|
}
|
|
@@ -19092,24 +19117,24 @@ let XInput = /*@__PURE__*/ (() => {
|
|
|
19092
19117
|
this.q = 0;
|
|
19093
19118
|
}
|
|
19094
19119
|
bb() {
|
|
19095
|
-
let a = this.view.
|
|
19096
|
-
let b = this.view.
|
|
19120
|
+
let a = this.view.q();
|
|
19121
|
+
let b = this.view.p();
|
|
19097
19122
|
return a == b && this.ai ? b - this.bk.length : a;
|
|
19098
19123
|
}
|
|
19099
19124
|
ba() {
|
|
19100
|
-
return this.view.
|
|
19125
|
+
return this.view.p();
|
|
19101
19126
|
}
|
|
19102
19127
|
get selectionStart() {
|
|
19103
19128
|
return this.bb();
|
|
19104
19129
|
}
|
|
19105
19130
|
set selectionStart(a) {
|
|
19106
|
-
this.view.
|
|
19131
|
+
this.view.a4(a);
|
|
19107
19132
|
}
|
|
19108
19133
|
get selectionEnd() {
|
|
19109
19134
|
return this.ba();
|
|
19110
19135
|
}
|
|
19111
19136
|
set selectionEnd(a) {
|
|
19112
|
-
this.view.
|
|
19137
|
+
this.view.a2(a);
|
|
19113
19138
|
}
|
|
19114
19139
|
get ay() {
|
|
19115
19140
|
return this.ap;
|
|
@@ -19140,9 +19165,9 @@ let XInput = /*@__PURE__*/ (() => {
|
|
|
19140
19165
|
this.dm(this.ag, this.ay);
|
|
19141
19166
|
}
|
|
19142
19167
|
cw() {
|
|
19143
|
-
this.view.
|
|
19168
|
+
this.view.am();
|
|
19144
19169
|
if (this.ag == null) {
|
|
19145
|
-
this.ag = KeyFrameAnimationFactory.f.c(this.view.
|
|
19170
|
+
this.ag = KeyFrameAnimationFactory.f.c(this.view.b(this.i).m(new AnimationKeyFrameProperty(1, 0)).m(new AnimationKeyFrameProperty(1, 1)));
|
|
19146
19171
|
}
|
|
19147
19172
|
}
|
|
19148
19173
|
get i() {
|
|
@@ -25861,7 +25886,16 @@ let XInputBridge = /*@__PURE__*/ (() => {
|
|
|
25861
25886
|
window.setTimeout(() => e.dr(b, c), 0);
|
|
25862
25887
|
}
|
|
25863
25888
|
exportVisualData(a) {
|
|
25864
|
-
|
|
25889
|
+
if (!(typeCast(XInputGroup.$, a) !== null)) {
|
|
25890
|
+
return null;
|
|
25891
|
+
}
|
|
25892
|
+
let b = a;
|
|
25893
|
+
if (b.inputs == null || b.inputs.count == 0 || !(typeCast(XInput.$, b.inputs._inner[0]) !== null)) {
|
|
25894
|
+
return null;
|
|
25895
|
+
}
|
|
25896
|
+
let c = b.inputs._inner[0];
|
|
25897
|
+
let d = c.bg();
|
|
25898
|
+
return d;
|
|
25865
25899
|
}
|
|
25866
25900
|
}
|
|
25867
25901
|
XInputBridge.$t = markType(XInputBridge, 'XInputBridge', XComponentBridge.$, [INativeUIInputBridge_$type]);
|
|
@@ -25988,7 +26022,7 @@ let XButtonBridge = /*@__PURE__*/ (() => {
|
|
|
25988
26022
|
}
|
|
25989
26023
|
else {
|
|
25990
26024
|
this.ac = c;
|
|
25991
|
-
let e = d.view.
|
|
26025
|
+
let e = d.view.l.createElement("span");
|
|
25992
26026
|
e.setText(this.ac == null ? null : this.ac.toString());
|
|
25993
26027
|
d.appendButtonContent(e);
|
|
25994
26028
|
}
|
|
@@ -27359,7 +27393,7 @@ let MultiSliderView = /*@__PURE__*/ (() => {
|
|
|
27359
27393
|
this.v = i;
|
|
27360
27394
|
let j = this.u.get2DCanvasContext(this.v);
|
|
27361
27395
|
this.l = new RenderingContext(new CanvasViewRenderer(), j);
|
|
27362
|
-
this.l.
|
|
27396
|
+
this.l.af(this.j);
|
|
27363
27397
|
this.ab();
|
|
27364
27398
|
this.a = new CanvasGestureDOMEventProxy(this.u.rootWrapper, this.u, false);
|
|
27365
27399
|
this.a.bl = this.g.e0;
|
|
@@ -27434,7 +27468,7 @@ let MultiSliderView = /*@__PURE__*/ (() => {
|
|
|
27434
27468
|
this.i = c;
|
|
27435
27469
|
this.j = this.i;
|
|
27436
27470
|
this.s = FontUtil.getCurrentFontHeight(this.u, this.j);
|
|
27437
|
-
this.l.
|
|
27471
|
+
this.l.af(this.i);
|
|
27438
27472
|
this.g.trackDirty();
|
|
27439
27473
|
}
|
|
27440
27474
|
}
|
|
@@ -29151,6 +29185,10 @@ let ButtonGroupVisualModelExport = /*@__PURE__*/ (() => {
|
|
|
29151
29185
|
class ButtonGroupVisualModelExport extends Base {
|
|
29152
29186
|
constructor() {
|
|
29153
29187
|
super(...arguments);
|
|
29188
|
+
this.m = 0;
|
|
29189
|
+
this.n = 0;
|
|
29190
|
+
this.o = 0;
|
|
29191
|
+
this.l = 0;
|
|
29154
29192
|
this.e = 0;
|
|
29155
29193
|
this.f = 0;
|
|
29156
29194
|
this.a = null;
|
|
@@ -29163,9 +29201,13 @@ let ButtonGroupVisualModelExport = /*@__PURE__*/ (() => {
|
|
|
29163
29201
|
this.h = false;
|
|
29164
29202
|
this.i = null;
|
|
29165
29203
|
}
|
|
29166
|
-
|
|
29204
|
+
p() {
|
|
29167
29205
|
let a = new StringBuilder(0);
|
|
29168
29206
|
a.l("{");
|
|
29207
|
+
a.l("left : " + this.m + ", ");
|
|
29208
|
+
a.l("top : " + this.n + ", ");
|
|
29209
|
+
a.l("height : " + this.l + ", ");
|
|
29210
|
+
a.l("width : " + this.o + ", ");
|
|
29169
29211
|
a.l("baseTheme : " + enumGetBox(BaseControlTheme_$type, this.e) + ", ");
|
|
29170
29212
|
a.l("actualDensity : " + enumGetBox(ControlDisplayDensity_$type, this.f) + ", ");
|
|
29171
29213
|
a.l("selectedIndices : " + this.a + ", ");
|
|
@@ -30420,7 +30462,7 @@ let XButtonGroup = /*@__PURE__*/ (() => {
|
|
|
30420
30462
|
}
|
|
30421
30463
|
bq() {
|
|
30422
30464
|
let a = this.e();
|
|
30423
|
-
return a.
|
|
30465
|
+
return a.p();
|
|
30424
30466
|
}
|
|
30425
30467
|
e() {
|
|
30426
30468
|
let a = new ButtonGroupVisualModelExport();
|
|
@@ -30654,7 +30696,13 @@ let XButtonGroupBridge = /*@__PURE__*/ (() => {
|
|
|
30654
30696
|
}
|
|
30655
30697
|
}
|
|
30656
30698
|
exportVisualData(a) {
|
|
30657
|
-
|
|
30699
|
+
let b = a.a5();
|
|
30700
|
+
let c = this.getBoundingRect(a);
|
|
30701
|
+
b.m = c.left;
|
|
30702
|
+
b.n = c.top;
|
|
30703
|
+
b.o = c.width;
|
|
30704
|
+
b.l = c.height;
|
|
30705
|
+
return b;
|
|
30658
30706
|
}
|
|
30659
30707
|
addButton(a, b) {
|
|
30660
30708
|
this.v.add(b);
|
|
@@ -30742,6 +30790,10 @@ let CheckboxVisualModelExport = /*@__PURE__*/ (() => {
|
|
|
30742
30790
|
class CheckboxVisualModelExport extends Base {
|
|
30743
30791
|
constructor() {
|
|
30744
30792
|
super(...arguments);
|
|
30793
|
+
this.r = 0;
|
|
30794
|
+
this.t = 0;
|
|
30795
|
+
this.u = 0;
|
|
30796
|
+
this.q = 0;
|
|
30745
30797
|
this.f = 0;
|
|
30746
30798
|
this.d = null;
|
|
30747
30799
|
this.c = null;
|
|
@@ -30750,20 +30802,24 @@ let CheckboxVisualModelExport = /*@__PURE__*/ (() => {
|
|
|
30750
30802
|
this.o = 0;
|
|
30751
30803
|
this.l = 0;
|
|
30752
30804
|
this.p = 0;
|
|
30753
|
-
this.
|
|
30805
|
+
this.s = 0;
|
|
30754
30806
|
this.n = 0;
|
|
30755
30807
|
this.m = 0;
|
|
30756
30808
|
this.a = null;
|
|
30757
|
-
this.
|
|
30809
|
+
this.v = null;
|
|
30758
30810
|
this.j = false;
|
|
30759
30811
|
this.g = false;
|
|
30760
30812
|
this.h = false;
|
|
30761
30813
|
this.k = false;
|
|
30762
30814
|
this.i = false;
|
|
30763
30815
|
}
|
|
30764
|
-
|
|
30816
|
+
w() {
|
|
30765
30817
|
let a = new StringBuilder(0);
|
|
30766
30818
|
a.l("{");
|
|
30819
|
+
a.l("left : " + this.r + ", ");
|
|
30820
|
+
a.l("top : " + this.t + ", ");
|
|
30821
|
+
a.l("height : " + this.q + ", ");
|
|
30822
|
+
a.l("width : " + this.u + ", ");
|
|
30767
30823
|
a.l("baseTheme : " + this.f + ", ");
|
|
30768
30824
|
a.l("actualUncheckedBackgroundColor : " + this.d.serialize() + ", ");
|
|
30769
30825
|
a.l("actualTickColor : " + this.c + ", ");
|
|
@@ -30771,11 +30827,11 @@ let CheckboxVisualModelExport = /*@__PURE__*/ (() => {
|
|
|
30771
30827
|
a.l("actualCheckedBorderColor : " + this.b.serialize() + ", ");
|
|
30772
30828
|
a.l("borderWidth : " + this.o + ", ");
|
|
30773
30829
|
a.l("actualBorderWidth : " + this.l + ", ");
|
|
30774
|
-
a.l("tickStrokeWidth : " + this.
|
|
30830
|
+
a.l("tickStrokeWidth : " + this.s + ", ");
|
|
30775
30831
|
a.l("actualTickStrokeWidth : " + this.n + ", ");
|
|
30776
30832
|
a.l("actualCheckedBackgroundColor : " + this.a.serialize() + ", ");
|
|
30777
|
-
if (this.
|
|
30778
|
-
a.l("value : \"" + this.
|
|
30833
|
+
if (this.v != null) {
|
|
30834
|
+
a.l("value : \"" + this.v.toString() + "\", ");
|
|
30779
30835
|
}
|
|
30780
30836
|
a.l("isFocused : " + this.j + ", ");
|
|
30781
30837
|
a.l("disableRipple : " + this.g + ", ");
|
|
@@ -30803,69 +30859,69 @@ let CheckboxView = /*@__PURE__*/ (() => {
|
|
|
30803
30859
|
class CheckboxView extends Base {
|
|
30804
30860
|
constructor() {
|
|
30805
30861
|
super();
|
|
30806
|
-
this.
|
|
30807
|
-
this.l = null;
|
|
30808
|
-
this.f = null;
|
|
30809
|
-
this.j = new List$1(Delegate_$type, 0);
|
|
30810
|
-
this.g = true;
|
|
30811
|
-
this.r = null;
|
|
30862
|
+
this.d = null;
|
|
30812
30863
|
this.m = null;
|
|
30813
|
-
this.
|
|
30864
|
+
this.g = null;
|
|
30865
|
+
this.k = new List$1(Delegate_$type, 0);
|
|
30866
|
+
this.h = true;
|
|
30867
|
+
this.s = null;
|
|
30814
30868
|
this.n = null;
|
|
30869
|
+
this.r = null;
|
|
30815
30870
|
this.o = null;
|
|
30816
|
-
this.d = null;
|
|
30817
30871
|
this.p = null;
|
|
30872
|
+
this.e = null;
|
|
30873
|
+
this.q = null;
|
|
30818
30874
|
}
|
|
30819
|
-
|
|
30875
|
+
ag() {
|
|
30820
30876
|
}
|
|
30821
|
-
|
|
30877
|
+
j() {
|
|
30822
30878
|
return true;
|
|
30823
30879
|
}
|
|
30824
|
-
|
|
30880
|
+
ae(a) {
|
|
30825
30881
|
if (a == null) {
|
|
30826
|
-
for (let b of fromEnum(this.
|
|
30882
|
+
for (let b of fromEnum(this.k)) {
|
|
30827
30883
|
b();
|
|
30828
30884
|
}
|
|
30829
|
-
this.
|
|
30885
|
+
this.k.clear();
|
|
30830
30886
|
return;
|
|
30831
30887
|
}
|
|
30832
|
-
this.
|
|
30833
|
-
this.
|
|
30834
|
-
this.
|
|
30835
|
-
this.
|
|
30836
|
-
this.
|
|
30837
|
-
let c = this.
|
|
30838
|
-
this.
|
|
30839
|
-
this.
|
|
30840
|
-
this.
|
|
30841
|
-
this.
|
|
30842
|
-
this.
|
|
30843
|
-
this.
|
|
30844
|
-
this.
|
|
30845
|
-
this.
|
|
30846
|
-
this.
|
|
30847
|
-
this.
|
|
30848
|
-
this.
|
|
30849
|
-
this.
|
|
30850
|
-
this.
|
|
30851
|
-
this.
|
|
30852
|
-
this.
|
|
30853
|
-
this.
|
|
30854
|
-
this.
|
|
30855
|
-
this.
|
|
30856
|
-
this.
|
|
30857
|
-
this.
|
|
30858
|
-
this.
|
|
30859
|
-
this.
|
|
30860
|
-
let d = this.
|
|
30888
|
+
this.m = a;
|
|
30889
|
+
this.m.rootWrapper.setStyleProperty("display", "flex");
|
|
30890
|
+
this.m.rootWrapper.setStyleProperty("flex-direction", "row");
|
|
30891
|
+
this.m.rootWrapper.setStyleProperty("flex-wrap", "no-wrap");
|
|
30892
|
+
this.m.rootWrapper.setStyleProperty("align-items", "center");
|
|
30893
|
+
let c = this.m.createElement("input");
|
|
30894
|
+
this.s = c;
|
|
30895
|
+
this.s.addClass("ig-native-checkbox");
|
|
30896
|
+
this.s.setStyleProperty("position", "absolute");
|
|
30897
|
+
this.s.setStyleProperty("width", "1px");
|
|
30898
|
+
this.s.setStyleProperty("height", "1px");
|
|
30899
|
+
this.s.setStyleProperty("margin", "-1px");
|
|
30900
|
+
this.s.setStyleProperty("border", "none");
|
|
30901
|
+
this.s.setStyleProperty("clip", "rect(0, 0, 0, 0)");
|
|
30902
|
+
this.s.setStyleProperty("outline", "0");
|
|
30903
|
+
this.s.setStyleProperty("pointer-events", "none");
|
|
30904
|
+
this.s.setStyleProperty("overflow", "hidden");
|
|
30905
|
+
this.s.setStyleProperty("-webkit-appearance", "none");
|
|
30906
|
+
this.s.setStyleProperty("-moz-appearance", "none");
|
|
30907
|
+
this.s.setStyleProperty("appearance", "none");
|
|
30908
|
+
this.s.setAttribute("type", "checkbox");
|
|
30909
|
+
this.s.setAttribute("id", this.d.b1);
|
|
30910
|
+
this.ak();
|
|
30911
|
+
this.k.add(c.listen("change", runOn(this, this.y)));
|
|
30912
|
+
this.k.add(c.listen("click", runOn(this, this.z)));
|
|
30913
|
+
this.k.add(c.listen("focus", runOn(this, this.aa)));
|
|
30914
|
+
this.k.add(c.listen("blur", runOn(this, this.x)));
|
|
30915
|
+
this.m.append(c);
|
|
30916
|
+
let d = this.m.createElement("div");
|
|
30861
30917
|
d.addClass("ig-checkbox-box");
|
|
30862
30918
|
d.setStyleProperty("width", "1.25em");
|
|
30863
30919
|
d.setStyleProperty("height", "1.25em");
|
|
30864
30920
|
d.setStyleProperty("position", "relative");
|
|
30865
|
-
this.
|
|
30866
|
-
this.
|
|
30867
|
-
let e = this.
|
|
30868
|
-
e.setAttribute("for", this.
|
|
30921
|
+
this.n = d;
|
|
30922
|
+
this.m.append(d);
|
|
30923
|
+
let e = this.m.createElement("label");
|
|
30924
|
+
e.setAttribute("for", this.d.b1);
|
|
30869
30925
|
e.addClass("ig-checkbox-composite");
|
|
30870
30926
|
e.setStyleProperty("box-sizing", "border-box");
|
|
30871
30927
|
e.setStyleProperty("position", "relative");
|
|
@@ -30884,9 +30940,9 @@ let CheckboxView = /*@__PURE__*/ (() => {
|
|
|
30884
30940
|
e.setStyleProperty("border-radius", "2px");
|
|
30885
30941
|
e.setStyleProperty("-webkit-tap-highlight-color", "transparent");
|
|
30886
30942
|
e.setStyleProperty("overflow", "hidden");
|
|
30887
|
-
this.
|
|
30888
|
-
this.
|
|
30889
|
-
let f = this.
|
|
30943
|
+
this.r = e;
|
|
30944
|
+
this.n.append(e);
|
|
30945
|
+
let f = this.m.createElementNS("svg", "http://www.w3.org/2000/svg");
|
|
30890
30946
|
f.setAttribute("viewBox", "0 0 24 24");
|
|
30891
30947
|
f.addClass("ig-checkbox-mark");
|
|
30892
30948
|
f.setStyleProperty("position", "absolute");
|
|
@@ -30902,14 +30958,14 @@ let CheckboxView = /*@__PURE__*/ (() => {
|
|
|
30902
30958
|
f.setStyleProperty("fill", "none");
|
|
30903
30959
|
f.setStyleProperty("opacity", "0");
|
|
30904
30960
|
f.setStyleProperty("z-index", "1");
|
|
30905
|
-
this.
|
|
30961
|
+
this.p = f;
|
|
30906
30962
|
e.append(f);
|
|
30907
|
-
let g = this.
|
|
30908
|
-
g.setAttribute("d", this.
|
|
30963
|
+
let g = this.m.createElementNS("path", "http://www.w3.org/2000/svg");
|
|
30964
|
+
g.setAttribute("d", this.d.bf);
|
|
30909
30965
|
f.append(g);
|
|
30910
|
-
this.
|
|
30911
|
-
let h = this.
|
|
30912
|
-
let i = this.
|
|
30966
|
+
this.o = g;
|
|
30967
|
+
let h = this.m.createElement("div");
|
|
30968
|
+
let i = this.m.getSubRenderer(h);
|
|
30913
30969
|
h.setStyleProperty("position", "absolute");
|
|
30914
30970
|
h.setStyleProperty("width", "3em");
|
|
30915
30971
|
h.setStyleProperty("height", "3em");
|
|
@@ -30920,12 +30976,12 @@ let CheckboxView = /*@__PURE__*/ (() => {
|
|
|
30920
30976
|
let j = new XRipple();
|
|
30921
30977
|
j.provideContainer(i);
|
|
30922
30978
|
j.q = d;
|
|
30923
|
-
let k = this.
|
|
30979
|
+
let k = this.m.getExternal(j, this.m.rootWrapper, this.m.getExternal(this.d, null, null));
|
|
30924
30980
|
j.h = true;
|
|
30925
30981
|
j.k = true;
|
|
30926
|
-
this.
|
|
30982
|
+
this.e = j;
|
|
30927
30983
|
d.append(h);
|
|
30928
|
-
let l = this.
|
|
30984
|
+
let l = this.m.createElement("span");
|
|
30929
30985
|
l.addClass("ig-checkbox-label");
|
|
30930
30986
|
l.setStyleProperty("font-family", "Verdana");
|
|
30931
30987
|
l.setStyleProperty("font-weight", "400");
|
|
@@ -30938,124 +30994,133 @@ let CheckboxView = /*@__PURE__*/ (() => {
|
|
|
30938
30994
|
l.setStyleProperty("margin-bottom", "0");
|
|
30939
30995
|
l.setStyleProperty("cursor", "pointer");
|
|
30940
30996
|
l.setStyleProperty("role", "label");
|
|
30941
|
-
this.
|
|
30942
|
-
this.
|
|
30943
|
-
this.
|
|
30944
|
-
this.
|
|
30997
|
+
this.q = l;
|
|
30998
|
+
this.k.add(l.listen("click", runOn(this, this.w)));
|
|
30999
|
+
this.m.append(l);
|
|
31000
|
+
this.m.getPortal(l, "ChildContent", (m) => {
|
|
30945
31001
|
}, true);
|
|
30946
|
-
this.
|
|
31002
|
+
this.d.cp();
|
|
30947
31003
|
}
|
|
30948
|
-
|
|
30949
|
-
this.
|
|
31004
|
+
w(a) {
|
|
31005
|
+
this.d.toggle();
|
|
30950
31006
|
}
|
|
30951
|
-
|
|
30952
|
-
if (this.
|
|
30953
|
-
let a = this.
|
|
30954
|
-
this.
|
|
30955
|
-
this.
|
|
30956
|
-
if (this.
|
|
30957
|
-
this.
|
|
30958
|
-
}
|
|
30959
|
-
this.
|
|
30960
|
-
this.
|
|
30961
|
-
this.
|
|
30962
|
-
this.
|
|
30963
|
-
if (this.
|
|
30964
|
-
this.
|
|
31007
|
+
ak() {
|
|
31008
|
+
if (this.j()) {
|
|
31009
|
+
let a = this.d.b1;
|
|
31010
|
+
this.s.setAttribute("name", this.d.ca);
|
|
31011
|
+
this.s.setProperty("value", this.d.a4);
|
|
31012
|
+
if (this.d.aa) {
|
|
31013
|
+
this.s.setAttribute("tabindex", this.d.az.toString());
|
|
31014
|
+
}
|
|
31015
|
+
this.s.setProperty("disabled", this.d.disabled);
|
|
31016
|
+
this.s.setProperty("indeterminate", this.d.indeterminate);
|
|
31017
|
+
this.s.setProperty("checked", this.d.checked);
|
|
31018
|
+
this.s.setProperty("required", this.d.ay);
|
|
31019
|
+
if (this.d.indeterminate) {
|
|
31020
|
+
this.s.setAttribute("aria-checked", "mixed");
|
|
30965
31021
|
}
|
|
30966
31022
|
else {
|
|
30967
|
-
this.
|
|
31023
|
+
this.s.setAttribute("aria-checked", this.d.checked ? "true" : "false");
|
|
30968
31024
|
}
|
|
30969
|
-
this.
|
|
30970
|
-
this.
|
|
31025
|
+
this.s.setAttribute("aria-labelledby", this.d.bn);
|
|
31026
|
+
this.s.setAttribute("aria-label", this.d.bm);
|
|
30971
31027
|
}
|
|
30972
31028
|
}
|
|
30973
|
-
|
|
30974
|
-
return new Size(1, this.
|
|
31029
|
+
am() {
|
|
31030
|
+
return new Size(1, this.r.width(), this.r.height());
|
|
30975
31031
|
}
|
|
30976
|
-
|
|
30977
|
-
this.
|
|
31032
|
+
a() {
|
|
31033
|
+
let rect_ = this.r.getNativeElement().getBoundingClientRect();
|
|
31034
|
+
let a = (rect_.top);
|
|
31035
|
+
let b = (rect_.left);
|
|
31036
|
+
let c = new Array(2);
|
|
31037
|
+
c[0] = a;
|
|
31038
|
+
c[1] = b;
|
|
31039
|
+
return c;
|
|
30978
31040
|
}
|
|
30979
|
-
|
|
30980
|
-
|
|
30981
|
-
|
|
30982
|
-
|
|
30983
|
-
|
|
31041
|
+
aj() {
|
|
31042
|
+
this.o.setAttribute("d", this.d.bf);
|
|
31043
|
+
}
|
|
31044
|
+
ah() {
|
|
31045
|
+
if (this.j()) {
|
|
31046
|
+
let a = this.d.b1;
|
|
31047
|
+
this.s.setAttribute("id", a);
|
|
31048
|
+
this.r.setAttribute("for", a);
|
|
30984
31049
|
}
|
|
30985
31050
|
}
|
|
30986
|
-
|
|
30987
|
-
this.
|
|
31051
|
+
x(a) {
|
|
31052
|
+
this.d.focused = false;
|
|
30988
31053
|
}
|
|
30989
|
-
|
|
30990
|
-
this.
|
|
31054
|
+
aa(a) {
|
|
31055
|
+
this.d.focused = true;
|
|
30991
31056
|
}
|
|
30992
|
-
|
|
31057
|
+
z(a) {
|
|
30993
31058
|
a.stopPropagation();
|
|
30994
|
-
if (this.
|
|
30995
|
-
let native_ = this.
|
|
31059
|
+
if (this.i()) {
|
|
31060
|
+
let native_ = this.s.getNativeElement();
|
|
30996
31061
|
native_.blur();
|
|
30997
31062
|
}
|
|
30998
|
-
this.
|
|
31063
|
+
this.d.toggle();
|
|
30999
31064
|
}
|
|
31000
|
-
|
|
31065
|
+
i() {
|
|
31001
31066
|
return false;
|
|
31002
31067
|
}
|
|
31003
|
-
|
|
31068
|
+
y(a) {
|
|
31004
31069
|
a.stopPropagation();
|
|
31005
31070
|
}
|
|
31006
|
-
|
|
31071
|
+
ab() {
|
|
31007
31072
|
if (KeyFrameAnimationFactory.h == null) {
|
|
31008
|
-
KeyFrameAnimationFactory.h = this.
|
|
31073
|
+
KeyFrameAnimationFactory.h = this.m;
|
|
31009
31074
|
}
|
|
31010
31075
|
}
|
|
31011
|
-
a(a) {
|
|
31012
|
-
return new AnimationKeyFrameEffect(0, this.q, 0, null, a);
|
|
31013
|
-
}
|
|
31014
31076
|
b(a) {
|
|
31015
|
-
return new AnimationKeyFrameEffect(0, this.
|
|
31077
|
+
return new AnimationKeyFrameEffect(0, this.r, 0, null, a);
|
|
31016
31078
|
}
|
|
31017
|
-
|
|
31079
|
+
c(a) {
|
|
31080
|
+
return new AnimationKeyFrameEffect(0, this.p, 0, null, a);
|
|
31018
31081
|
}
|
|
31019
|
-
|
|
31020
|
-
return this.q;
|
|
31082
|
+
ac(a) {
|
|
31021
31083
|
}
|
|
31022
|
-
get
|
|
31023
|
-
return this.
|
|
31084
|
+
get u() {
|
|
31085
|
+
return this.r;
|
|
31024
31086
|
}
|
|
31025
|
-
get
|
|
31026
|
-
return this.
|
|
31087
|
+
get t() {
|
|
31088
|
+
return this.r;
|
|
31027
31089
|
}
|
|
31028
|
-
get
|
|
31029
|
-
return this.
|
|
31090
|
+
get f() {
|
|
31091
|
+
return this.e;
|
|
31030
31092
|
}
|
|
31031
|
-
|
|
31032
|
-
this.
|
|
31033
|
-
this.j.add(this.r.listen("change", runOn(this, this.x)));
|
|
31034
|
-
this.j.add(this.r.listen("click", runOn(this, this.y)));
|
|
31035
|
-
this.j.add(this.r.listen("focus", runOn(this, this.z)));
|
|
31036
|
-
this.j.add(this.r.listen("blur", runOn(this, this.w)));
|
|
31037
|
-
this.j.add(this.p.listen("click", runOn(this, this.v)));
|
|
31093
|
+
get v() {
|
|
31094
|
+
return this.p;
|
|
31038
31095
|
}
|
|
31039
|
-
|
|
31040
|
-
this.
|
|
31041
|
-
|
|
31096
|
+
ad() {
|
|
31097
|
+
this.h = true;
|
|
31098
|
+
this.k.add(this.s.listen("change", runOn(this, this.y)));
|
|
31099
|
+
this.k.add(this.s.listen("click", runOn(this, this.z)));
|
|
31100
|
+
this.k.add(this.s.listen("focus", runOn(this, this.aa)));
|
|
31101
|
+
this.k.add(this.s.listen("blur", runOn(this, this.x)));
|
|
31102
|
+
this.k.add(this.q.listen("click", runOn(this, this.w)));
|
|
31103
|
+
}
|
|
31104
|
+
af() {
|
|
31105
|
+
this.h = false;
|
|
31106
|
+
for (let a of fromEnum(this.k)) {
|
|
31042
31107
|
a();
|
|
31043
31108
|
}
|
|
31044
|
-
this.
|
|
31109
|
+
this.k.clear();
|
|
31045
31110
|
}
|
|
31046
|
-
|
|
31047
|
-
let model_ = this.
|
|
31111
|
+
ai() {
|
|
31112
|
+
let model_ = this.d;
|
|
31048
31113
|
if (model_.externalObject && model_.externalObject.refreshDefaults) {
|
|
31049
31114
|
model_.externalObject.refreshDefaults();
|
|
31050
31115
|
}
|
|
31051
31116
|
;
|
|
31052
31117
|
}
|
|
31053
|
-
|
|
31054
|
-
this.
|
|
31055
|
-
this.
|
|
31118
|
+
al(a, b) {
|
|
31119
|
+
this.e.ax = a;
|
|
31120
|
+
this.e.aw = b;
|
|
31056
31121
|
}
|
|
31057
|
-
|
|
31058
|
-
let a = this.
|
|
31122
|
+
l() {
|
|
31123
|
+
let a = this.r.getStyleProperty("border-top-width");
|
|
31059
31124
|
a = stringReplace(a, "px", "");
|
|
31060
31125
|
return parseFloat(a);
|
|
31061
31126
|
}
|
|
@@ -31124,9 +31189,9 @@ let XCheckbox = /*@__PURE__*/ (() => {
|
|
|
31124
31189
|
this.ba = this.a8 + "-label";
|
|
31125
31190
|
this.a7 = this.ba;
|
|
31126
31191
|
let a = new CheckboxView();
|
|
31127
|
-
a.
|
|
31192
|
+
a.d = this;
|
|
31128
31193
|
this.view = a;
|
|
31129
|
-
this.view.
|
|
31194
|
+
this.view.ag();
|
|
31130
31195
|
}
|
|
31131
31196
|
get view() {
|
|
31132
31197
|
return this._view;
|
|
@@ -31221,7 +31286,7 @@ let XCheckbox = /*@__PURE__*/ (() => {
|
|
|
31221
31286
|
this.ct();
|
|
31222
31287
|
break;
|
|
31223
31288
|
case "ActualCheckPath":
|
|
31224
|
-
this.view.
|
|
31289
|
+
this.view.aj();
|
|
31225
31290
|
break;
|
|
31226
31291
|
case "IsChecked":
|
|
31227
31292
|
if (!this.s) {
|
|
@@ -31241,16 +31306,16 @@ let XCheckbox = /*@__PURE__*/ (() => {
|
|
|
31241
31306
|
}
|
|
31242
31307
|
break;
|
|
31243
31308
|
case "DisableRipple":
|
|
31244
|
-
this.view.
|
|
31309
|
+
this.view.f.i = this.y;
|
|
31245
31310
|
break;
|
|
31246
31311
|
case "InputId":
|
|
31247
|
-
this.view.
|
|
31312
|
+
this.view.ah();
|
|
31248
31313
|
break;
|
|
31249
31314
|
}
|
|
31250
31315
|
}
|
|
31251
31316
|
ct() {
|
|
31252
|
-
let a = this.view.
|
|
31253
|
-
let b = this.view.
|
|
31317
|
+
let a = this.view.u;
|
|
31318
|
+
let b = this.view.t;
|
|
31254
31319
|
if (a == null || b == null) {
|
|
31255
31320
|
return;
|
|
31256
31321
|
}
|
|
@@ -31269,7 +31334,7 @@ let XCheckbox = /*@__PURE__*/ (() => {
|
|
|
31269
31334
|
}
|
|
31270
31335
|
}
|
|
31271
31336
|
cw() {
|
|
31272
|
-
let a = this.view.
|
|
31337
|
+
let a = this.view.v;
|
|
31273
31338
|
if (a == null) {
|
|
31274
31339
|
return;
|
|
31275
31340
|
}
|
|
@@ -31624,10 +31689,10 @@ let XCheckbox = /*@__PURE__*/ (() => {
|
|
|
31624
31689
|
cp() {
|
|
31625
31690
|
this.ck();
|
|
31626
31691
|
if (this.checked) {
|
|
31627
|
-
this.view.
|
|
31692
|
+
this.view.al(BrushUtil.s(this.c8, 0.6), BrushUtil.s(this.c8, 0.1));
|
|
31628
31693
|
}
|
|
31629
31694
|
else {
|
|
31630
|
-
this.view.
|
|
31695
|
+
this.view.al(BrushUtil.s(this.c8, 0.6), BrushUtil.s(this.dc, 0.1));
|
|
31631
31696
|
}
|
|
31632
31697
|
}
|
|
31633
31698
|
get a() {
|
|
@@ -31637,15 +31702,15 @@ let XCheckbox = /*@__PURE__*/ (() => {
|
|
|
31637
31702
|
return a;
|
|
31638
31703
|
}
|
|
31639
31704
|
ck() {
|
|
31640
|
-
this.view.
|
|
31705
|
+
this.view.ab();
|
|
31641
31706
|
let a = false;
|
|
31642
31707
|
if (this.o == null) {
|
|
31643
31708
|
if (!a) {
|
|
31644
31709
|
a = true;
|
|
31645
|
-
this.view.
|
|
31710
|
+
this.view.ai();
|
|
31646
31711
|
}
|
|
31647
|
-
this.o = KeyFrameAnimationFactory.f.c(this.view.
|
|
31648
|
-
this.p = KeyFrameAnimationFactory.f.c(this.view.
|
|
31712
|
+
this.o = KeyFrameAnimationFactory.f.c(this.view.b(this.a).m(new AnimationKeyFrameProperty(2, this.db), new AnimationKeyFrameProperty(3, this.dc)).m(new AnimationKeyFrameProperty(2, this.c8), new AnimationKeyFrameProperty(3, this.c9)));
|
|
31713
|
+
this.p = KeyFrameAnimationFactory.f.c(this.view.c(this.a).m(new AnimationKeyFrameProperty(19, 24), new AnimationKeyFrameProperty(1, 0)).m(new AnimationKeyFrameProperty(19, 0), new AnimationKeyFrameProperty(1, 1)));
|
|
31649
31714
|
}
|
|
31650
31715
|
}
|
|
31651
31716
|
toggle() {
|
|
@@ -31682,21 +31747,21 @@ let XCheckbox = /*@__PURE__*/ (() => {
|
|
|
31682
31747
|
c = -1;
|
|
31683
31748
|
}
|
|
31684
31749
|
if (b) {
|
|
31685
|
-
this.view.
|
|
31750
|
+
this.view.al(BrushUtil.s(this.c8, 0.6), BrushUtil.s(this.c8, 0.1));
|
|
31686
31751
|
}
|
|
31687
31752
|
else {
|
|
31688
|
-
this.view.
|
|
31753
|
+
this.view.al(BrushUtil.s(this.c8, 0.6), BrushUtil.s(this.dc, 0.1));
|
|
31689
31754
|
}
|
|
31690
31755
|
if (!this.indeterminate) {
|
|
31691
|
-
NativeUI.af(this.view.
|
|
31756
|
+
NativeUI.af(this.view.v, null);
|
|
31692
31757
|
}
|
|
31693
31758
|
if (this.z || this.indeterminate || a) {
|
|
31694
|
-
let d = this.view.
|
|
31695
|
-
let e = this.view.
|
|
31696
|
-
let f = this.view.
|
|
31759
|
+
let d = this.view.u;
|
|
31760
|
+
let e = this.view.t;
|
|
31761
|
+
let f = this.view.v;
|
|
31697
31762
|
if (this.indeterminate) {
|
|
31698
31763
|
let g = new TransformGroup();
|
|
31699
|
-
let h = this.view.
|
|
31764
|
+
let h = this.view.am();
|
|
31700
31765
|
g.j.add(((() => {
|
|
31701
31766
|
let $ret = new RotateTransform();
|
|
31702
31767
|
$ret.j = 45;
|
|
@@ -31704,7 +31769,7 @@ let XCheckbox = /*@__PURE__*/ (() => {
|
|
|
31704
31769
|
})()));
|
|
31705
31770
|
g.j.add(((() => {
|
|
31706
31771
|
let $ret = new TranslateTransform();
|
|
31707
|
-
$ret.j = -this.view.
|
|
31772
|
+
$ret.j = -this.view.l();
|
|
31708
31773
|
return $ret;
|
|
31709
31774
|
})()));
|
|
31710
31775
|
NativeUI.m(d, this.c8);
|
|
@@ -31763,10 +31828,10 @@ let XCheckbox = /*@__PURE__*/ (() => {
|
|
|
31763
31828
|
}
|
|
31764
31829
|
}
|
|
31765
31830
|
onDetachedFromUI() {
|
|
31766
|
-
this.view.
|
|
31831
|
+
this.view.af();
|
|
31767
31832
|
}
|
|
31768
31833
|
onAttachedToUI() {
|
|
31769
|
-
this.view.
|
|
31834
|
+
this.view.ad();
|
|
31770
31835
|
}
|
|
31771
31836
|
onContentReady() {
|
|
31772
31837
|
if (this.indeterminate) {
|
|
@@ -31774,17 +31839,23 @@ let XCheckbox = /*@__PURE__*/ (() => {
|
|
|
31774
31839
|
}
|
|
31775
31840
|
}
|
|
31776
31841
|
af() {
|
|
31777
|
-
return this.view.
|
|
31842
|
+
return this.view.j();
|
|
31778
31843
|
}
|
|
31779
31844
|
a3() {
|
|
31780
31845
|
return this.b();
|
|
31781
31846
|
}
|
|
31782
31847
|
by() {
|
|
31783
31848
|
let a = this.b();
|
|
31784
|
-
return a.
|
|
31849
|
+
return a.w();
|
|
31785
31850
|
}
|
|
31786
31851
|
b() {
|
|
31787
31852
|
let a = new CheckboxVisualModelExport();
|
|
31853
|
+
let b = this.view.am();
|
|
31854
|
+
let c = this.view.a();
|
|
31855
|
+
a.u = b.width;
|
|
31856
|
+
a.q = b.height;
|
|
31857
|
+
a.t = c[0];
|
|
31858
|
+
a.r = c[1];
|
|
31788
31859
|
a.f = this.n;
|
|
31789
31860
|
a.d = AppearanceHelper.a(this.db);
|
|
31790
31861
|
a.c = AppearanceHelper.a(this.da);
|
|
@@ -31793,11 +31864,11 @@ let XCheckbox = /*@__PURE__*/ (() => {
|
|
|
31793
31864
|
a.o = this.aq;
|
|
31794
31865
|
a.l = this.an;
|
|
31795
31866
|
a.p = this.ar;
|
|
31796
|
-
a.
|
|
31867
|
+
a.s = this.av;
|
|
31797
31868
|
a.n = this.ap;
|
|
31798
31869
|
a.m = this.ao;
|
|
31799
31870
|
a.a = AppearanceHelper.a(this.c8);
|
|
31800
|
-
a.
|
|
31871
|
+
a.v = this.a4;
|
|
31801
31872
|
a.j = this.focused;
|
|
31802
31873
|
a.g = this.y;
|
|
31803
31874
|
a.h = this.checked;
|
|
@@ -31806,7 +31877,7 @@ let XCheckbox = /*@__PURE__*/ (() => {
|
|
|
31806
31877
|
return a;
|
|
31807
31878
|
}
|
|
31808
31879
|
provideContainer(a) {
|
|
31809
|
-
this.view.
|
|
31880
|
+
this.view.ae(a);
|
|
31810
31881
|
}
|
|
31811
31882
|
}
|
|
31812
31883
|
XCheckbox.$t = markType(XCheckbox, 'XCheckbox', Base.$, [INotifyPropertyChanged_$type]);
|
|
@@ -31972,7 +32043,8 @@ let XCheckboxBridge = /*@__PURE__*/ (() => {
|
|
|
31972
32043
|
}
|
|
31973
32044
|
}
|
|
31974
32045
|
exportVisualData(a) {
|
|
31975
|
-
|
|
32046
|
+
let b = a.a3();
|
|
32047
|
+
return b;
|
|
31976
32048
|
}
|
|
31977
32049
|
}
|
|
31978
32050
|
XCheckboxBridge.$t = markType(XCheckboxBridge, 'XCheckboxBridge', XComponentBridge.$);
|
|
@@ -32096,7 +32168,8 @@ let XIconBridge = /*@__PURE__*/ (() => {
|
|
|
32096
32168
|
}
|
|
32097
32169
|
}
|
|
32098
32170
|
exportVisualData(a) {
|
|
32099
|
-
|
|
32171
|
+
let b = a.bg();
|
|
32172
|
+
return b;
|
|
32100
32173
|
}
|
|
32101
32174
|
}
|
|
32102
32175
|
XIconBridge.$t = markType(XIconBridge, 'XIconBridge', XComponentBridge.$);
|
|
@@ -32450,6 +32523,45 @@ let ColorEditorPanelSelectedValueChangedEventArgs = /*@__PURE__*/ (() => {
|
|
|
32450
32523
|
return ColorEditorPanelSelectedValueChangedEventArgs;
|
|
32451
32524
|
})();
|
|
32452
32525
|
|
|
32526
|
+
/*
|
|
32527
|
+
THIS INFRAGISTICS ULTIMATE SOFTWARE LICENSE AGREEMENT ("AGREEMENT") LOCATED HERE:
|
|
32528
|
+
https://www.infragistics.com/legal/license/igultimate-la
|
|
32529
|
+
https://www.infragistics.com/legal/license/igultimate-eula
|
|
32530
|
+
GOVERNS THE LICENSING, INSTALLATION AND USE OF INFRAGISTICS SOFTWARE. BY DOWNLOADING AND/OR INSTALLING AND USING INFRAGISTICS SOFTWARE: you are indicating that you have read and understand this Agreement, and agree to be legally bound by it on behalf of the yourself and your company.
|
|
32531
|
+
*/
|
|
32532
|
+
/**
|
|
32533
|
+
* @hidden
|
|
32534
|
+
*/
|
|
32535
|
+
let ColorEditorVisualModelExport = /*@__PURE__*/ (() => {
|
|
32536
|
+
class ColorEditorVisualModelExport extends Base {
|
|
32537
|
+
constructor() {
|
|
32538
|
+
super(...arguments);
|
|
32539
|
+
this.e = 0;
|
|
32540
|
+
this.f = 0;
|
|
32541
|
+
this.g = 0;
|
|
32542
|
+
this.d = 0;
|
|
32543
|
+
this.b = 0;
|
|
32544
|
+
this.a = null;
|
|
32545
|
+
this.c = false;
|
|
32546
|
+
}
|
|
32547
|
+
h() {
|
|
32548
|
+
let a = new StringBuilder(0);
|
|
32549
|
+
a.l("{");
|
|
32550
|
+
a.l("left : " + this.e + ", ");
|
|
32551
|
+
a.l("top : " + this.f + ", ");
|
|
32552
|
+
a.l("height : " + this.d + ", ");
|
|
32553
|
+
a.l("width : " + this.g + ", ");
|
|
32554
|
+
a.l("baseTheme : " + this.b + ", ");
|
|
32555
|
+
a.l("value : " + this.a.serialize() + ", ");
|
|
32556
|
+
a.l("isDisabled : " + this.c + ", ");
|
|
32557
|
+
a.l("}");
|
|
32558
|
+
return a.toString();
|
|
32559
|
+
}
|
|
32560
|
+
}
|
|
32561
|
+
ColorEditorVisualModelExport.$t = markType(ColorEditorVisualModelExport, 'ColorEditorVisualModelExport');
|
|
32562
|
+
return ColorEditorVisualModelExport;
|
|
32563
|
+
})();
|
|
32564
|
+
|
|
32453
32565
|
/*
|
|
32454
32566
|
THIS INFRAGISTICS ULTIMATE SOFTWARE LICENSE AGREEMENT ("AGREEMENT") LOCATED HERE:
|
|
32455
32567
|
https://www.infragistics.com/legal/license/igultimate-la
|
|
@@ -32786,6 +32898,15 @@ let ColorEditorBridge = /*@__PURE__*/ (() => {
|
|
|
32786
32898
|
break;
|
|
32787
32899
|
}
|
|
32788
32900
|
}
|
|
32901
|
+
exportVisualData(a) {
|
|
32902
|
+
let b = a.as();
|
|
32903
|
+
let c = this.getBoundingRect(a);
|
|
32904
|
+
b.e = c.left;
|
|
32905
|
+
b.f = c.top;
|
|
32906
|
+
b.g = c.width;
|
|
32907
|
+
b.d = c.height;
|
|
32908
|
+
return b;
|
|
32909
|
+
}
|
|
32789
32910
|
}
|
|
32790
32911
|
ColorEditorBridge.$t = markType(ColorEditorBridge, 'ColorEditorBridge', XComponentBridge.$);
|
|
32791
32912
|
return ColorEditorBridge;
|
|
@@ -33146,7 +33267,7 @@ let ColorEditorView = /*@__PURE__*/ (() => {
|
|
|
33146
33267
|
this.a.a = new DOMExecutionContext(a);
|
|
33147
33268
|
}
|
|
33148
33269
|
this.h = a;
|
|
33149
|
-
this.a.
|
|
33270
|
+
this.a.bj();
|
|
33150
33271
|
}
|
|
33151
33272
|
m() {
|
|
33152
33273
|
if (KeyFrameAnimationFactory.h == null) {
|
|
@@ -33206,54 +33327,54 @@ let ColorEditor = /*@__PURE__*/ (() => {
|
|
|
33206
33327
|
class ColorEditor extends Base {
|
|
33207
33328
|
constructor() {
|
|
33208
33329
|
super();
|
|
33209
|
-
this.
|
|
33330
|
+
this.h = null;
|
|
33331
|
+
this.s = null;
|
|
33210
33332
|
this.r = null;
|
|
33211
|
-
this.
|
|
33212
|
-
this.d = null;
|
|
33213
|
-
this.v = false;
|
|
33214
|
-
this.af = false;
|
|
33215
|
-
this.ad = false;
|
|
33216
|
-
this.cj = BrushUtil.j(0, 0, 0, 0);
|
|
33333
|
+
this.e = null;
|
|
33217
33334
|
this.w = false;
|
|
33335
|
+
this.ag = false;
|
|
33336
|
+
this.ae = false;
|
|
33337
|
+
this.cm = BrushUtil.j(0, 0, 0, 0);
|
|
33338
|
+
this.x = false;
|
|
33218
33339
|
this.propertyChanged = null;
|
|
33219
33340
|
this.valueChanged = null;
|
|
33220
33341
|
this.valueChanging = null;
|
|
33221
|
-
this.
|
|
33342
|
+
this.t = null;
|
|
33222
33343
|
this.a = null;
|
|
33223
|
-
this.
|
|
33224
|
-
this.
|
|
33225
|
-
this.
|
|
33226
|
-
this.l = null;
|
|
33227
|
-
this.j = 2;
|
|
33228
|
-
this.h = 1;
|
|
33344
|
+
this.co = BrushUtil.j(255, 0, 0, 255);
|
|
33345
|
+
this.at = "";
|
|
33346
|
+
this.cl = BrushUtil.j(255, 24, 29, 31);
|
|
33229
33347
|
this.m = null;
|
|
33230
|
-
this.
|
|
33231
|
-
this.
|
|
33348
|
+
this.k = 2;
|
|
33349
|
+
this.i = 1;
|
|
33350
|
+
this.n = null;
|
|
33351
|
+
this.cn = BrushUtil.j(255, 24, 29, 31);
|
|
33352
|
+
this.ck = BrushUtil.j(255, 163, 172, 184);
|
|
33353
|
+
this.ad = true;
|
|
33354
|
+
this.v = true;
|
|
33232
33355
|
this.ac = true;
|
|
33233
|
-
this.u = true;
|
|
33234
|
-
this.ab = true;
|
|
33235
|
-
this.x = false;
|
|
33236
|
-
this.ap = 0;
|
|
33237
33356
|
this.y = false;
|
|
33238
|
-
this.
|
|
33239
|
-
this.ae = false;
|
|
33357
|
+
this.aq = 0;
|
|
33240
33358
|
this.z = false;
|
|
33359
|
+
this.ab = false;
|
|
33360
|
+
this.af = false;
|
|
33361
|
+
this.aa = false;
|
|
33241
33362
|
this.gotFocus = null;
|
|
33242
33363
|
this.lostFocus = null;
|
|
33243
33364
|
NativeUIInputsFactory.n();
|
|
33244
33365
|
NativeUIXInputsFactory.m();
|
|
33245
33366
|
let a = new ColorEditorView();
|
|
33246
33367
|
a.a = this;
|
|
33247
|
-
this.
|
|
33248
|
-
this.
|
|
33368
|
+
this.h = a;
|
|
33369
|
+
this.h.q();
|
|
33249
33370
|
}
|
|
33250
33371
|
onAttachedToUI() {
|
|
33251
|
-
this.
|
|
33372
|
+
this.h.n();
|
|
33252
33373
|
}
|
|
33253
33374
|
onDetachedFromUI() {
|
|
33254
|
-
this.
|
|
33375
|
+
this.h.p();
|
|
33255
33376
|
}
|
|
33256
|
-
|
|
33377
|
+
b4(a, b) {
|
|
33257
33378
|
if (this.valueChanging != null) {
|
|
33258
33379
|
this.valueChanging(this, ((() => {
|
|
33259
33380
|
let $ret = new ColorEditorPanelSelectedValueChangedEventArgs();
|
|
@@ -33262,7 +33383,7 @@ let ColorEditor = /*@__PURE__*/ (() => {
|
|
|
33262
33383
|
return $ret;
|
|
33263
33384
|
})()));
|
|
33264
33385
|
}
|
|
33265
|
-
if (this.
|
|
33386
|
+
if (this.x) {
|
|
33266
33387
|
}
|
|
33267
33388
|
}
|
|
33268
33389
|
notifySizeChanged() {
|
|
@@ -33271,74 +33392,44 @@ let ColorEditor = /*@__PURE__*/ (() => {
|
|
|
33271
33392
|
this.provideContainer(null);
|
|
33272
33393
|
}
|
|
33273
33394
|
provideContainer(a) {
|
|
33274
|
-
this.
|
|
33395
|
+
this.h.o(a);
|
|
33275
33396
|
}
|
|
33276
|
-
get
|
|
33277
|
-
if (this.
|
|
33278
|
-
this.
|
|
33279
|
-
this.
|
|
33397
|
+
get u() {
|
|
33398
|
+
if (this.t == null) {
|
|
33399
|
+
this.t = new SRProvider(this.h.h);
|
|
33400
|
+
this.t.cb("ColorEditor");
|
|
33280
33401
|
}
|
|
33281
|
-
return this.
|
|
33402
|
+
return this.t;
|
|
33282
33403
|
}
|
|
33283
33404
|
get value() {
|
|
33284
|
-
return this.
|
|
33405
|
+
return this.co;
|
|
33285
33406
|
}
|
|
33286
33407
|
set value(a) {
|
|
33287
|
-
let b = this.
|
|
33288
|
-
this.
|
|
33289
|
-
this.
|
|
33290
|
-
if (b != this.
|
|
33291
|
-
this.
|
|
33292
|
-
}
|
|
33293
|
-
}
|
|
33294
|
-
get az() {
|
|
33295
|
-
return this.ar;
|
|
33296
|
-
}
|
|
33297
|
-
set az(a) {
|
|
33298
|
-
let b = this.ar;
|
|
33299
|
-
this.ar = a;
|
|
33300
|
-
if (b != this.ar) {
|
|
33301
|
-
this.b0("Label", b, this.ar);
|
|
33302
|
-
}
|
|
33303
|
-
}
|
|
33304
|
-
get cn() {
|
|
33305
|
-
return this.ci;
|
|
33306
|
-
}
|
|
33307
|
-
set cn(a) {
|
|
33308
|
-
let b = this.ci;
|
|
33309
|
-
this.ci = a;
|
|
33310
|
-
if (b != this.ci) {
|
|
33311
|
-
this.b0("LabelTextColor", b, a);
|
|
33312
|
-
}
|
|
33313
|
-
}
|
|
33314
|
-
get o() {
|
|
33315
|
-
return this.l;
|
|
33316
|
-
}
|
|
33317
|
-
set o(a) {
|
|
33318
|
-
let b = this.l;
|
|
33319
|
-
this.l = a;
|
|
33320
|
-
if (b != this.l) {
|
|
33321
|
-
this.b0("LabelTextStyle", b, this.l);
|
|
33408
|
+
let b = this.co;
|
|
33409
|
+
this.cm = b;
|
|
33410
|
+
this.co = a;
|
|
33411
|
+
if (b != this.co) {
|
|
33412
|
+
this.b3("Value", b, this.co);
|
|
33322
33413
|
}
|
|
33323
33414
|
}
|
|
33324
|
-
get
|
|
33325
|
-
return this.
|
|
33415
|
+
get a2() {
|
|
33416
|
+
return this.at;
|
|
33326
33417
|
}
|
|
33327
|
-
set
|
|
33328
|
-
let b = this.
|
|
33329
|
-
this.
|
|
33330
|
-
if (b != this.
|
|
33331
|
-
this.
|
|
33418
|
+
set a2(a) {
|
|
33419
|
+
let b = this.at;
|
|
33420
|
+
this.at = a;
|
|
33421
|
+
if (b != this.at) {
|
|
33422
|
+
this.b3("Label", b, this.at);
|
|
33332
33423
|
}
|
|
33333
33424
|
}
|
|
33334
|
-
get
|
|
33335
|
-
return this.
|
|
33425
|
+
get cq() {
|
|
33426
|
+
return this.cl;
|
|
33336
33427
|
}
|
|
33337
|
-
set
|
|
33338
|
-
let b = this.
|
|
33339
|
-
this.
|
|
33340
|
-
if (b != this.
|
|
33341
|
-
this.
|
|
33428
|
+
set cq(a) {
|
|
33429
|
+
let b = this.cl;
|
|
33430
|
+
this.cl = a;
|
|
33431
|
+
if (b != this.cl) {
|
|
33432
|
+
this.b3("LabelTextColor", b, a);
|
|
33342
33433
|
}
|
|
33343
33434
|
}
|
|
33344
33435
|
get p() {
|
|
@@ -33348,77 +33439,87 @@ let ColorEditor = /*@__PURE__*/ (() => {
|
|
|
33348
33439
|
let b = this.m;
|
|
33349
33440
|
this.m = a;
|
|
33350
33441
|
if (b != this.m) {
|
|
33351
|
-
this.
|
|
33442
|
+
this.b3("LabelTextStyle", b, this.m);
|
|
33352
33443
|
}
|
|
33353
33444
|
}
|
|
33354
|
-
get
|
|
33355
|
-
return this.
|
|
33445
|
+
get l() {
|
|
33446
|
+
return this.k;
|
|
33356
33447
|
}
|
|
33357
|
-
set
|
|
33358
|
-
let b = this.
|
|
33359
|
-
this.
|
|
33360
|
-
if (b != this.
|
|
33361
|
-
this.
|
|
33448
|
+
set l(a) {
|
|
33449
|
+
let b = this.k;
|
|
33450
|
+
this.k = a;
|
|
33451
|
+
if (b != this.k) {
|
|
33452
|
+
this.b3("Density", enumGetBox(ControlDisplayDensity_$type, b), enumGetBox(ControlDisplayDensity_$type, this.k));
|
|
33362
33453
|
}
|
|
33363
33454
|
}
|
|
33364
|
-
get
|
|
33365
|
-
return this.
|
|
33455
|
+
get j() {
|
|
33456
|
+
return this.i;
|
|
33366
33457
|
}
|
|
33367
|
-
set
|
|
33368
|
-
let b = this.
|
|
33369
|
-
this.
|
|
33370
|
-
if (b != this.
|
|
33371
|
-
this.
|
|
33458
|
+
set j(a) {
|
|
33459
|
+
let b = this.i;
|
|
33460
|
+
this.i = a;
|
|
33461
|
+
if (b != this.i) {
|
|
33462
|
+
this.b3("BaseTheme", enumGetBox(BaseControlTheme_$type, b), enumGetBox(BaseControlTheme_$type, this.i));
|
|
33372
33463
|
}
|
|
33373
33464
|
}
|
|
33374
|
-
get
|
|
33375
|
-
return this.
|
|
33465
|
+
get q() {
|
|
33466
|
+
return this.n;
|
|
33376
33467
|
}
|
|
33377
|
-
set
|
|
33378
|
-
let b = this.
|
|
33379
|
-
this.
|
|
33380
|
-
if (b != this.
|
|
33381
|
-
this.
|
|
33468
|
+
set q(a) {
|
|
33469
|
+
let b = this.n;
|
|
33470
|
+
this.n = a;
|
|
33471
|
+
if (b != this.n) {
|
|
33472
|
+
this.b3("TextStyle", b, this.n);
|
|
33382
33473
|
}
|
|
33383
33474
|
}
|
|
33384
|
-
get
|
|
33385
|
-
return this.
|
|
33475
|
+
get cr() {
|
|
33476
|
+
return this.cn;
|
|
33386
33477
|
}
|
|
33387
|
-
set
|
|
33388
|
-
let b = this.
|
|
33389
|
-
this.
|
|
33390
|
-
if (b != this.
|
|
33391
|
-
this.
|
|
33478
|
+
set cr(a) {
|
|
33479
|
+
let b = this.cn;
|
|
33480
|
+
this.cn = a;
|
|
33481
|
+
if (b != this.cn) {
|
|
33482
|
+
this.b3("TextColor", b, this.cn);
|
|
33392
33483
|
}
|
|
33393
33484
|
}
|
|
33394
|
-
get
|
|
33395
|
-
return this.
|
|
33485
|
+
get cp() {
|
|
33486
|
+
return this.ck;
|
|
33396
33487
|
}
|
|
33397
|
-
set
|
|
33398
|
-
let b = this.
|
|
33399
|
-
this.
|
|
33400
|
-
if (b != this.
|
|
33401
|
-
this.
|
|
33488
|
+
set cp(a) {
|
|
33489
|
+
let b = this.ck;
|
|
33490
|
+
this.ck = a;
|
|
33491
|
+
if (b != this.ck) {
|
|
33492
|
+
this.b3("IconColor", b, this.ck);
|
|
33493
|
+
}
|
|
33494
|
+
}
|
|
33495
|
+
get an() {
|
|
33496
|
+
return this.ad;
|
|
33497
|
+
}
|
|
33498
|
+
set an(a) {
|
|
33499
|
+
let b = this.ad;
|
|
33500
|
+
this.ad = a;
|
|
33501
|
+
if (b != this.ad) {
|
|
33502
|
+
this.b3("ShowClearButton", b, this.ad);
|
|
33402
33503
|
}
|
|
33403
33504
|
}
|
|
33404
33505
|
get ah() {
|
|
33405
|
-
return this.
|
|
33506
|
+
return this.v;
|
|
33406
33507
|
}
|
|
33407
33508
|
set ah(a) {
|
|
33408
|
-
let b = this.
|
|
33409
|
-
this.
|
|
33410
|
-
if (b != this.
|
|
33411
|
-
this.
|
|
33509
|
+
let b = this.v;
|
|
33510
|
+
this.v = a;
|
|
33511
|
+
if (b != this.v) {
|
|
33512
|
+
this.b3("AllowTextInput", b, this.v);
|
|
33412
33513
|
}
|
|
33413
33514
|
}
|
|
33414
|
-
get
|
|
33415
|
-
return this.
|
|
33515
|
+
get al() {
|
|
33516
|
+
return this.ac;
|
|
33416
33517
|
}
|
|
33417
|
-
set
|
|
33418
|
-
let b = this.
|
|
33419
|
-
this.
|
|
33420
|
-
if (b != this.
|
|
33421
|
-
this.
|
|
33518
|
+
set al(a) {
|
|
33519
|
+
let b = this.ac;
|
|
33520
|
+
this.ac = a;
|
|
33521
|
+
if (b != this.ac) {
|
|
33522
|
+
this.b3("OpenOnFocus", b, this.ac);
|
|
33422
33523
|
}
|
|
33423
33524
|
}
|
|
33424
33525
|
get ai() {
|
|
@@ -33428,61 +33529,81 @@ let ColorEditor = /*@__PURE__*/ (() => {
|
|
|
33428
33529
|
let b = this.y;
|
|
33429
33530
|
this.y = a;
|
|
33430
33531
|
if (b != this.y) {
|
|
33431
|
-
this.
|
|
33532
|
+
this.b3("IsDisabled", b, this.y);
|
|
33533
|
+
}
|
|
33534
|
+
}
|
|
33535
|
+
get ar() {
|
|
33536
|
+
return this.aq;
|
|
33537
|
+
}
|
|
33538
|
+
set ar(a) {
|
|
33539
|
+
let b = this.aq;
|
|
33540
|
+
this.aq = a;
|
|
33541
|
+
if (b != this.aq) {
|
|
33542
|
+
this.b3("TabIndex", b, this.aq);
|
|
33432
33543
|
}
|
|
33433
33544
|
}
|
|
33434
33545
|
get aj() {
|
|
33435
|
-
return this.
|
|
33546
|
+
return this.z;
|
|
33436
33547
|
}
|
|
33437
33548
|
set aj(a) {
|
|
33438
|
-
let b = this.
|
|
33439
|
-
this.
|
|
33440
|
-
if (b != this.
|
|
33441
|
-
this.
|
|
33549
|
+
let b = this.z;
|
|
33550
|
+
this.z = a;
|
|
33551
|
+
if (b != this.z) {
|
|
33552
|
+
this.b3("IsFixed", b, this.z);
|
|
33442
33553
|
}
|
|
33443
33554
|
}
|
|
33444
|
-
get
|
|
33445
|
-
return this.
|
|
33555
|
+
get ak() {
|
|
33556
|
+
return this.ab;
|
|
33446
33557
|
}
|
|
33447
|
-
set
|
|
33448
|
-
let b = this.
|
|
33449
|
-
this.
|
|
33450
|
-
if (b != this.
|
|
33451
|
-
this.
|
|
33558
|
+
set ak(a) {
|
|
33559
|
+
let b = this.ab;
|
|
33560
|
+
this.ab = a;
|
|
33561
|
+
if (b != this.ab) {
|
|
33562
|
+
this.b3("OpenAsChild", b, this.ab);
|
|
33452
33563
|
}
|
|
33453
33564
|
}
|
|
33454
|
-
|
|
33565
|
+
get ao() {
|
|
33566
|
+
return this.af;
|
|
33567
|
+
}
|
|
33568
|
+
set ao(a) {
|
|
33569
|
+
let b = this.af;
|
|
33570
|
+
this.af = a;
|
|
33571
|
+
if (b != this.af) {
|
|
33572
|
+
this.b3("UseTopLayer", b, this.af);
|
|
33573
|
+
}
|
|
33574
|
+
}
|
|
33575
|
+
b3(a, b, c) {
|
|
33455
33576
|
if (this.propertyChanged != null) {
|
|
33456
33577
|
this.propertyChanged(this, new PropertyChangedEventArgs(a));
|
|
33457
33578
|
}
|
|
33458
|
-
this.
|
|
33579
|
+
this.b9(a, b, c);
|
|
33459
33580
|
}
|
|
33460
|
-
|
|
33581
|
+
b9(a, b, c) {
|
|
33461
33582
|
switch (a) {
|
|
33462
33583
|
case "Density":
|
|
33463
|
-
this.
|
|
33584
|
+
this.cc();
|
|
33464
33585
|
break;
|
|
33465
33586
|
case "BaseTheme":
|
|
33466
|
-
this.
|
|
33587
|
+
this.cd();
|
|
33467
33588
|
break;
|
|
33468
33589
|
case "Value":
|
|
33469
|
-
this.
|
|
33470
|
-
this.
|
|
33471
|
-
if (this.
|
|
33472
|
-
this.
|
|
33590
|
+
this.b4(this.cm, this.value);
|
|
33591
|
+
this.cm = this.value;
|
|
33592
|
+
if (this.e != null && !this.x) {
|
|
33593
|
+
this.e.value = this.value;
|
|
33473
33594
|
}
|
|
33474
33595
|
break;
|
|
33475
33596
|
case "Label":
|
|
33476
|
-
if (this.
|
|
33477
|
-
this.
|
|
33597
|
+
if (this.r != null) {
|
|
33598
|
+
this.r.b5 = this.a2;
|
|
33478
33599
|
}
|
|
33479
33600
|
break;
|
|
33480
33601
|
case "TextStyle":
|
|
33481
|
-
this.
|
|
33602
|
+
this.ci();
|
|
33482
33603
|
break;
|
|
33483
33604
|
case "ShowClearButton":
|
|
33484
|
-
if (this.
|
|
33485
|
-
if (this.
|
|
33605
|
+
if (this.r != null) {
|
|
33606
|
+
if (this.r.b7 != "") {
|
|
33486
33607
|
}
|
|
33487
33608
|
}
|
|
33488
33609
|
break;
|
|
@@ -33490,269 +33611,283 @@ let ColorEditor = /*@__PURE__*/ (() => {
|
|
|
33490
33611
|
case "LabelTextStyle":
|
|
33491
33612
|
case "TextColor":
|
|
33492
33613
|
case "IconColor":
|
|
33493
|
-
this.
|
|
33614
|
+
this.cj();
|
|
33494
33615
|
break;
|
|
33495
33616
|
case "AllowTextInput":
|
|
33496
|
-
if (this.
|
|
33497
|
-
this.
|
|
33617
|
+
if (this.r != null) {
|
|
33618
|
+
this.r.b0 = this.am();
|
|
33498
33619
|
}
|
|
33499
33620
|
break;
|
|
33500
33621
|
case "OpenOnFocus": break;
|
|
33501
33622
|
case "IsDisabled":
|
|
33502
33623
|
{
|
|
33503
|
-
if (this.
|
|
33504
|
-
this.
|
|
33624
|
+
if (this.r != null) {
|
|
33625
|
+
this.r.b0 = this.am();
|
|
33505
33626
|
}
|
|
33506
33627
|
}
|
|
33507
33628
|
break;
|
|
33508
33629
|
}
|
|
33509
33630
|
}
|
|
33510
|
-
|
|
33511
|
-
return this.
|
|
33631
|
+
am() {
|
|
33632
|
+
return this.ai || !this.ah;
|
|
33512
33633
|
}
|
|
33513
|
-
|
|
33514
|
-
if (this.
|
|
33515
|
-
this.
|
|
33634
|
+
cj() {
|
|
33635
|
+
if (this.r != null) {
|
|
33636
|
+
this.r.ce = this.cr;
|
|
33516
33637
|
}
|
|
33517
33638
|
}
|
|
33518
|
-
|
|
33519
|
-
if (this.
|
|
33639
|
+
ch() {
|
|
33640
|
+
if (this.r != null) {
|
|
33520
33641
|
}
|
|
33521
33642
|
}
|
|
33522
|
-
|
|
33523
|
-
if (this.
|
|
33524
|
-
this.
|
|
33643
|
+
ci() {
|
|
33644
|
+
if (this.n != null) {
|
|
33645
|
+
this.r.bk = this.n;
|
|
33525
33646
|
}
|
|
33526
33647
|
}
|
|
33527
|
-
|
|
33528
|
-
if (this.
|
|
33648
|
+
bh() {
|
|
33649
|
+
if (this.ai == true) {
|
|
33529
33650
|
return;
|
|
33530
33651
|
}
|
|
33531
|
-
if (this.
|
|
33532
|
-
this.
|
|
33652
|
+
if (this.r != null) {
|
|
33653
|
+
this.r.b7 = "";
|
|
33533
33654
|
}
|
|
33534
33655
|
this.value = BrushUtil.j(0, 0, 0, 0);
|
|
33535
|
-
this.
|
|
33536
|
-
this.
|
|
33656
|
+
this.e.ax();
|
|
33657
|
+
this.aa = false;
|
|
33537
33658
|
}
|
|
33538
|
-
|
|
33539
|
-
this.
|
|
33659
|
+
b1() {
|
|
33660
|
+
this.aa = true;
|
|
33540
33661
|
}
|
|
33541
|
-
|
|
33542
|
-
this.
|
|
33662
|
+
b2() {
|
|
33663
|
+
this.aa = false;
|
|
33543
33664
|
}
|
|
33544
|
-
|
|
33545
|
-
NativeUIWindow.h(15, runOn(this, this.
|
|
33546
|
-
NativeUIWindow.h(9, runOn(this, this.
|
|
33665
|
+
br() {
|
|
33666
|
+
NativeUIWindow.h(15, runOn(this, this.b7), this.h.h);
|
|
33667
|
+
NativeUIWindow.h(9, runOn(this, this.b6), this.h.h);
|
|
33547
33668
|
}
|
|
33548
|
-
|
|
33549
|
-
NativeUIWindow.i(15, runOn(this, this.
|
|
33550
|
-
NativeUIWindow.i(9, runOn(this, this.
|
|
33669
|
+
bv() {
|
|
33670
|
+
NativeUIWindow.i(15, runOn(this, this.b7));
|
|
33671
|
+
NativeUIWindow.i(9, runOn(this, this.b6));
|
|
33551
33672
|
}
|
|
33552
|
-
|
|
33673
|
+
b6(a) {
|
|
33553
33674
|
let b = a;
|
|
33554
|
-
if (this.
|
|
33555
|
-
if (this.
|
|
33556
|
-
this.
|
|
33675
|
+
if (this.r != null) {
|
|
33676
|
+
if (this.s.b6 && !this.s.t(b.b) && !this.r.t(b.b)) {
|
|
33677
|
+
this.bi();
|
|
33557
33678
|
}
|
|
33558
33679
|
}
|
|
33559
33680
|
}
|
|
33560
|
-
|
|
33561
|
-
if (this.
|
|
33562
|
-
let b = this.
|
|
33563
|
-
this.
|
|
33681
|
+
b7(a) {
|
|
33682
|
+
if (this.r != null) {
|
|
33683
|
+
let b = this.r.be();
|
|
33684
|
+
this.s.ce(b);
|
|
33564
33685
|
}
|
|
33565
33686
|
}
|
|
33566
|
-
|
|
33567
|
-
NativeUIComponent.av(this.
|
|
33687
|
+
bj() {
|
|
33688
|
+
NativeUIComponent.av(this.h.j(), [12, 2, 7, 0], [2, 2, 2, 2], (a) => {
|
|
33568
33689
|
let b = a[0];
|
|
33569
33690
|
let c = a[1];
|
|
33570
33691
|
let d = a[2];
|
|
33571
33692
|
let e = a[3];
|
|
33572
|
-
let f = this.
|
|
33573
|
-
this.
|
|
33693
|
+
let f = this.h.i();
|
|
33694
|
+
this.h.k(e, f);
|
|
33574
33695
|
b.bn(d);
|
|
33575
33696
|
d.bn(e);
|
|
33576
|
-
this.
|
|
33697
|
+
this.h.l(c);
|
|
33577
33698
|
b.ch = BrushUtil.j(255, 255, 255, 255);
|
|
33578
33699
|
b.ca = 150;
|
|
33579
33700
|
b.b8 = 8;
|
|
33580
33701
|
b.cb = 4;
|
|
33581
33702
|
b.b1 = true;
|
|
33582
|
-
this.
|
|
33583
|
-
this.
|
|
33584
|
-
this.
|
|
33585
|
-
this.
|
|
33586
|
-
this.
|
|
33587
|
-
this.
|
|
33588
|
-
this.
|
|
33589
|
-
this.
|
|
33590
|
-
this.
|
|
33591
|
-
this.
|
|
33592
|
-
this.
|
|
33593
|
-
this.
|
|
33594
|
-
this.
|
|
33595
|
-
let g = this.
|
|
33596
|
-
g.closed = delegateCombine(g.closed, runOn(this, this.
|
|
33597
|
-
let h = this.
|
|
33598
|
-
h.valueChanged = delegateCombine(h.valueChanged, runOn(this, this.
|
|
33599
|
-
d.o = runOn(this, this.
|
|
33600
|
-
let i = this.
|
|
33601
|
-
i.valueChanged = delegateCombine(i.valueChanged, runOn(this, this.
|
|
33703
|
+
this.r = c;
|
|
33704
|
+
this.r.c = this.j;
|
|
33705
|
+
this.r.bp = this.l;
|
|
33706
|
+
this.r.b6 = ColorEditor.a8;
|
|
33707
|
+
this.r.cc = BrushUtil.j(255, 255, 255, 255);
|
|
33708
|
+
this.r.cd = BrushUtil.j(255, 0, 0, 0);
|
|
33709
|
+
this.r.bn = runOn(this, this.cf);
|
|
33710
|
+
this.r.n = runOn(this, this.by);
|
|
33711
|
+
this.r.o = runOn(this, this.b0);
|
|
33712
|
+
this.r.cb = BrushUtil.j(255, 0, 0, 255);
|
|
33713
|
+
this.s = b;
|
|
33714
|
+
this.e = this.h.c(f);
|
|
33715
|
+
this.e.value = this.value;
|
|
33716
|
+
let g = this.e;
|
|
33717
|
+
g.closed = delegateCombine(g.closed, runOn(this, this.bf));
|
|
33718
|
+
let h = this.e;
|
|
33719
|
+
h.valueChanged = delegateCombine(h.valueChanged, runOn(this, this.bg));
|
|
33720
|
+
d.o = runOn(this, this.b0);
|
|
33721
|
+
let i = this.e;
|
|
33722
|
+
i.valueChanged = delegateCombine(i.valueChanged, runOn(this, this.bm));
|
|
33602
33723
|
});
|
|
33603
33724
|
}
|
|
33604
|
-
|
|
33725
|
+
bg(a, b) {
|
|
33605
33726
|
if (this.valueChanged != null) {
|
|
33606
33727
|
this.valueChanged(this, b);
|
|
33607
33728
|
}
|
|
33608
33729
|
}
|
|
33609
|
-
|
|
33610
|
-
this.
|
|
33730
|
+
bf(a, b) {
|
|
33731
|
+
this.bl(a);
|
|
33611
33732
|
}
|
|
33612
|
-
|
|
33613
|
-
if (!this.
|
|
33614
|
-
this.
|
|
33733
|
+
b0(a, b) {
|
|
33734
|
+
if (!this.s.t(b.b) && !this.r.t(b.b) && !(this.r.an == b.b)) {
|
|
33735
|
+
this.bp();
|
|
33615
33736
|
}
|
|
33616
33737
|
}
|
|
33617
|
-
|
|
33738
|
+
by(a, b) {
|
|
33618
33739
|
this.focus();
|
|
33619
33740
|
}
|
|
33620
|
-
|
|
33621
|
-
this.
|
|
33741
|
+
cf(a, b) {
|
|
33742
|
+
this.cg();
|
|
33622
33743
|
}
|
|
33623
|
-
|
|
33624
|
-
this.
|
|
33744
|
+
bm(a, b) {
|
|
33745
|
+
this.x = true;
|
|
33625
33746
|
this.value = b.newValue;
|
|
33626
|
-
this.
|
|
33627
|
-
this.
|
|
33747
|
+
this.x = false;
|
|
33748
|
+
this.b5(b.oldValue, b.newValue);
|
|
33628
33749
|
}
|
|
33629
|
-
|
|
33630
|
-
if (this.
|
|
33631
|
-
this.
|
|
33750
|
+
b5(a, b) {
|
|
33751
|
+
if (this.r != null) {
|
|
33752
|
+
this.r.cb = b;
|
|
33632
33753
|
}
|
|
33633
33754
|
}
|
|
33634
|
-
|
|
33635
|
-
if (this.
|
|
33636
|
-
this.
|
|
33637
|
-
this.
|
|
33755
|
+
bl(a) {
|
|
33756
|
+
if (this.s.b6) {
|
|
33757
|
+
this.w = true;
|
|
33758
|
+
this.bi();
|
|
33638
33759
|
}
|
|
33639
33760
|
}
|
|
33640
|
-
|
|
33641
|
-
if (this.
|
|
33642
|
-
if (this.
|
|
33643
|
-
this.
|
|
33761
|
+
cg() {
|
|
33762
|
+
if (this.w == false) {
|
|
33763
|
+
if (this.s.b6) {
|
|
33764
|
+
this.bi();
|
|
33644
33765
|
}
|
|
33645
33766
|
else {
|
|
33646
|
-
this.
|
|
33767
|
+
this.b8();
|
|
33647
33768
|
}
|
|
33648
33769
|
}
|
|
33649
33770
|
else {
|
|
33650
|
-
this.
|
|
33771
|
+
this.w = false;
|
|
33651
33772
|
}
|
|
33652
33773
|
}
|
|
33653
|
-
|
|
33654
|
-
if (this.
|
|
33774
|
+
b8() {
|
|
33775
|
+
if (this.ai) {
|
|
33655
33776
|
return;
|
|
33656
33777
|
}
|
|
33657
|
-
if (this.
|
|
33658
|
-
let a = this.
|
|
33659
|
-
let b = this.
|
|
33778
|
+
if (this.s != null) {
|
|
33779
|
+
let a = this.h.r(false);
|
|
33780
|
+
let b = this.h.s();
|
|
33660
33781
|
let c = b.height;
|
|
33661
33782
|
let d = 240;
|
|
33662
33783
|
let e = a.bottom + d;
|
|
33663
33784
|
if (!isNaN_(c) && c < e) {
|
|
33664
33785
|
let f = a.top - d;
|
|
33665
33786
|
if (f < 0) {
|
|
33666
|
-
this.
|
|
33787
|
+
this.ce(1, 0);
|
|
33667
33788
|
}
|
|
33668
33789
|
else {
|
|
33669
|
-
this.
|
|
33790
|
+
this.ce(2, 0);
|
|
33670
33791
|
}
|
|
33671
33792
|
}
|
|
33672
33793
|
else {
|
|
33673
|
-
this.
|
|
33794
|
+
this.ce(1, 0);
|
|
33674
33795
|
}
|
|
33675
33796
|
}
|
|
33676
33797
|
}
|
|
33677
|
-
|
|
33798
|
+
ce(a, b) {
|
|
33678
33799
|
{
|
|
33679
|
-
let c = this.
|
|
33680
|
-
this.
|
|
33800
|
+
let c = this.h.r(true);
|
|
33801
|
+
this.s.cf(c, a, b);
|
|
33681
33802
|
}
|
|
33682
33803
|
}
|
|
33683
|
-
|
|
33684
|
-
if (this.
|
|
33685
|
-
this.a.executeDelayed(() => this.
|
|
33804
|
+
bi() {
|
|
33805
|
+
if (this.s != null) {
|
|
33806
|
+
this.a.executeDelayed(() => this.s.cc(), 0);
|
|
33686
33807
|
}
|
|
33687
|
-
if (this.
|
|
33688
|
-
this.
|
|
33808
|
+
if (this.e != null) {
|
|
33809
|
+
this.e.bg();
|
|
33689
33810
|
}
|
|
33690
|
-
this.
|
|
33811
|
+
this.w = false;
|
|
33691
33812
|
}
|
|
33692
33813
|
focus(a = false) {
|
|
33693
|
-
if (this.
|
|
33694
|
-
this.
|
|
33814
|
+
if (this.r != null) {
|
|
33815
|
+
this.r.a0();
|
|
33695
33816
|
}
|
|
33696
|
-
if (!this.
|
|
33697
|
-
if (this.
|
|
33698
|
-
if (this.
|
|
33817
|
+
if (!this.s.b6 && this.al == true) {
|
|
33818
|
+
if (this.w == false) {
|
|
33819
|
+
if (this.aa) {
|
|
33699
33820
|
return;
|
|
33700
33821
|
}
|
|
33701
|
-
if (this.
|
|
33702
|
-
this.
|
|
33703
|
-
this.
|
|
33704
|
-
this.a.executeDelayed(() => this.
|
|
33822
|
+
if (this.ah == false) {
|
|
33823
|
+
this.b8();
|
|
33824
|
+
this.w = true;
|
|
33825
|
+
this.a.executeDelayed(() => this.bo(), 0);
|
|
33705
33826
|
}
|
|
33706
33827
|
else {
|
|
33707
|
-
if (this.
|
|
33708
|
-
this.
|
|
33709
|
-
this.
|
|
33710
|
-
this.a.executeDelayed(() => this.
|
|
33828
|
+
if (this.al == true && this.ae == false) {
|
|
33829
|
+
this.b8();
|
|
33830
|
+
this.w = true;
|
|
33831
|
+
this.a.executeDelayed(() => this.bo(), 0);
|
|
33711
33832
|
}
|
|
33712
33833
|
}
|
|
33713
33834
|
}
|
|
33714
33835
|
else {
|
|
33715
|
-
this.
|
|
33836
|
+
this.w = false;
|
|
33716
33837
|
}
|
|
33717
33838
|
}
|
|
33718
33839
|
}
|
|
33719
|
-
|
|
33720
|
-
this.
|
|
33840
|
+
bp() {
|
|
33841
|
+
this.w = false;
|
|
33721
33842
|
}
|
|
33722
|
-
|
|
33723
|
-
if (this.
|
|
33724
|
-
this.
|
|
33843
|
+
cb() {
|
|
33844
|
+
if (this.r != null) {
|
|
33845
|
+
this.r.b9();
|
|
33725
33846
|
}
|
|
33726
33847
|
}
|
|
33727
|
-
|
|
33728
|
-
this.
|
|
33848
|
+
bo() {
|
|
33849
|
+
this.e.a3();
|
|
33729
33850
|
}
|
|
33730
|
-
|
|
33851
|
+
bt() {
|
|
33731
33852
|
let a = new ColorEditorGotFocusEventArgs();
|
|
33732
|
-
this.
|
|
33853
|
+
this.bx(a);
|
|
33733
33854
|
}
|
|
33734
|
-
|
|
33855
|
+
bu() {
|
|
33735
33856
|
let a = new ColorEditorLostFocusEventArgs();
|
|
33736
|
-
this.
|
|
33857
|
+
this.bz(a);
|
|
33737
33858
|
}
|
|
33738
|
-
|
|
33859
|
+
cd() {
|
|
33860
|
+
}
|
|
33861
|
+
cc() {
|
|
33862
|
+
}
|
|
33863
|
+
as() {
|
|
33864
|
+
return this.b();
|
|
33739
33865
|
}
|
|
33740
|
-
|
|
33866
|
+
ay() {
|
|
33867
|
+
let a = this.b();
|
|
33868
|
+
return a.h();
|
|
33869
|
+
}
|
|
33870
|
+
b() {
|
|
33871
|
+
let a = new ColorEditorVisualModelExport();
|
|
33872
|
+
a.b = this.j;
|
|
33873
|
+
a.a = AppearanceHelper.a(this.value);
|
|
33874
|
+
a.c = this.ai;
|
|
33875
|
+
return a;
|
|
33741
33876
|
}
|
|
33742
|
-
|
|
33877
|
+
bx(a) {
|
|
33743
33878
|
if (null != this.gotFocus) {
|
|
33744
33879
|
this.gotFocus(this, a);
|
|
33745
33880
|
}
|
|
33746
33881
|
}
|
|
33747
|
-
|
|
33882
|
+
bz(a) {
|
|
33748
33883
|
if (null != this.lostFocus) {
|
|
33749
33884
|
this.lostFocus(this, a);
|
|
33750
33885
|
}
|
|
33751
33886
|
}
|
|
33752
33887
|
}
|
|
33753
33888
|
ColorEditor.$t = markType(ColorEditor, 'ColorEditor', Base.$, [INotifyPropertyChanged_$type]);
|
|
33754
|
-
ColorEditor.
|
|
33755
|
-
ColorEditor.
|
|
33889
|
+
ColorEditor.a8 = "M13.093 6.743a1.074 1.074 0 011.306.251l.237.237-6.4 6.4-.242-.231a1.074 1.074 0 01-.251-1.306c.446-.693 1.553-2.516.515-3.554-1.584-1.585-2.225-.94-3.809-2.528S2.714 3 3.354 2.354s2.073-.489 3.658 1.095.943 2.225 2.527 3.809c1.038 1.042 2.861-.069 3.554-.515zm6.93 5.874L15.31 7.9 8.9 14.31l4.433 4.433c-.039.159-.084.327-.137.508 0 0-.8 2.749.8 2.749s.8-2.749.8-2.749a10.75 10.75 0 01-.272-1.14L16.2 16.44a8.944 8.944 0 00-2.072-3.314s.555-.545 3.323 2.063l.811-.811-1.54-2.5 2.5 1.539z";
|
|
33890
|
+
ColorEditor.o = null;
|
|
33756
33891
|
return ColorEditor;
|
|
33757
33892
|
})();
|
|
33758
33893
|
/**
|
|
@@ -34764,143 +34899,143 @@ let IgxColorEditorComponent = /*@__PURE__*/ (() => {
|
|
|
34764
34899
|
* Gets or Sets the property name that contains the label.
|
|
34765
34900
|
*/
|
|
34766
34901
|
get label() {
|
|
34767
|
-
return this.i.
|
|
34902
|
+
return this.i.a2;
|
|
34768
34903
|
}
|
|
34769
34904
|
set label(v) {
|
|
34770
|
-
this.i.
|
|
34905
|
+
this.i.a2 = v;
|
|
34771
34906
|
}
|
|
34772
34907
|
/**
|
|
34773
34908
|
* Gets or sets the color to use for the text.
|
|
34774
34909
|
*/
|
|
34775
34910
|
get labelTextColor() {
|
|
34776
|
-
return brushToString(this.i.
|
|
34911
|
+
return brushToString(this.i.cq);
|
|
34777
34912
|
}
|
|
34778
34913
|
set labelTextColor(v) {
|
|
34779
|
-
this.i.
|
|
34914
|
+
this.i.cq = stringToBrush(v);
|
|
34780
34915
|
}
|
|
34781
34916
|
/**
|
|
34782
34917
|
* Gets or sets the font to use for the input.
|
|
34783
34918
|
*/
|
|
34784
34919
|
get labelTextStyle() {
|
|
34785
|
-
if (this.i.
|
|
34920
|
+
if (this.i.p == null) {
|
|
34786
34921
|
return null;
|
|
34787
34922
|
}
|
|
34788
|
-
return this.i.
|
|
34923
|
+
return this.i.p.fontString;
|
|
34789
34924
|
}
|
|
34790
34925
|
set labelTextStyle(v) {
|
|
34791
34926
|
let fi = new FontInfo();
|
|
34792
34927
|
fi.fontString = v;
|
|
34793
|
-
this.i.
|
|
34928
|
+
this.i.p = fi;
|
|
34794
34929
|
}
|
|
34795
34930
|
/**
|
|
34796
34931
|
* Gets or sets the display density to use for the date pcicker.
|
|
34797
34932
|
*/
|
|
34798
34933
|
get density() {
|
|
34799
|
-
return this.i.
|
|
34934
|
+
return this.i.l;
|
|
34800
34935
|
}
|
|
34801
34936
|
set density(v) {
|
|
34802
|
-
this.i.
|
|
34937
|
+
this.i.l = ensureEnum(ControlDisplayDensity_$type, v);
|
|
34803
34938
|
}
|
|
34804
34939
|
/**
|
|
34805
34940
|
* Gets or sets the base built in theme to use for the date picker.
|
|
34806
34941
|
*/
|
|
34807
34942
|
get baseTheme() {
|
|
34808
|
-
return this.i.
|
|
34943
|
+
return this.i.j;
|
|
34809
34944
|
}
|
|
34810
34945
|
set baseTheme(v) {
|
|
34811
|
-
this.i.
|
|
34946
|
+
this.i.j = ensureEnum(BaseControlTheme_$type, v);
|
|
34812
34947
|
}
|
|
34813
34948
|
/**
|
|
34814
34949
|
* Gets or sets the font to use for the combobox.
|
|
34815
34950
|
*/
|
|
34816
34951
|
get textStyle() {
|
|
34817
|
-
if (this.i.
|
|
34952
|
+
if (this.i.q == null) {
|
|
34818
34953
|
return null;
|
|
34819
34954
|
}
|
|
34820
|
-
return this.i.
|
|
34955
|
+
return this.i.q.fontString;
|
|
34821
34956
|
}
|
|
34822
34957
|
set textStyle(v) {
|
|
34823
34958
|
let fi = new FontInfo();
|
|
34824
34959
|
fi.fontString = v;
|
|
34825
|
-
this.i.
|
|
34960
|
+
this.i.q = fi;
|
|
34826
34961
|
}
|
|
34827
34962
|
/**
|
|
34828
34963
|
* Gets or Sets the text color
|
|
34829
34964
|
*/
|
|
34830
34965
|
get textColor() {
|
|
34831
|
-
return brushToString(this.i.
|
|
34966
|
+
return brushToString(this.i.cr);
|
|
34832
34967
|
}
|
|
34833
34968
|
set textColor(v) {
|
|
34834
|
-
this.i.
|
|
34969
|
+
this.i.cr = stringToBrush(v);
|
|
34835
34970
|
}
|
|
34836
34971
|
/**
|
|
34837
34972
|
* Gets or Sets the text color
|
|
34838
34973
|
*/
|
|
34839
34974
|
get iconColor() {
|
|
34840
|
-
return brushToString(this.i.
|
|
34975
|
+
return brushToString(this.i.cp);
|
|
34841
34976
|
}
|
|
34842
34977
|
set iconColor(v) {
|
|
34843
|
-
this.i.
|
|
34978
|
+
this.i.cp = stringToBrush(v);
|
|
34844
34979
|
}
|
|
34845
34980
|
/**
|
|
34846
34981
|
* Gets or sets the ShowClearButton property to detirmine if the clear button is shown
|
|
34847
34982
|
*/
|
|
34848
34983
|
get showClearButton() {
|
|
34849
|
-
return this.i.
|
|
34984
|
+
return this.i.an;
|
|
34850
34985
|
}
|
|
34851
34986
|
set showClearButton(v) {
|
|
34852
|
-
this.i.
|
|
34987
|
+
this.i.an = ensureBool(v);
|
|
34853
34988
|
}
|
|
34854
34989
|
/**
|
|
34855
34990
|
* Gets or sets the AllowTextInput property to detirmine if entering text into the input is allowed
|
|
34856
34991
|
*/
|
|
34857
34992
|
get allowTextInput() {
|
|
34858
|
-
return this.i.
|
|
34993
|
+
return this.i.ah;
|
|
34859
34994
|
}
|
|
34860
34995
|
set allowTextInput(v) {
|
|
34861
|
-
this.i.
|
|
34996
|
+
this.i.ah = ensureBool(v);
|
|
34862
34997
|
}
|
|
34863
34998
|
/**
|
|
34864
34999
|
* Gets or sets the AllowTextInput property to detirmine if entering text into the input is allowed
|
|
34865
35000
|
*/
|
|
34866
35001
|
get openOnFocus() {
|
|
34867
|
-
return this.i.
|
|
35002
|
+
return this.i.al;
|
|
34868
35003
|
}
|
|
34869
35004
|
set openOnFocus(v) {
|
|
34870
|
-
this.i.
|
|
35005
|
+
this.i.al = ensureBool(v);
|
|
34871
35006
|
}
|
|
34872
35007
|
get isDisabled() {
|
|
34873
|
-
return this.i.
|
|
35008
|
+
return this.i.ai;
|
|
34874
35009
|
}
|
|
34875
35010
|
set isDisabled(v) {
|
|
34876
|
-
this.i.
|
|
35011
|
+
this.i.ai = ensureBool(v);
|
|
34877
35012
|
}
|
|
34878
35013
|
/**
|
|
34879
35014
|
* Indicates that the editor dropdown will position itself relative to the window instead of the document.
|
|
34880
35015
|
*/
|
|
34881
35016
|
get isFixed() {
|
|
34882
|
-
return this.i.
|
|
35017
|
+
return this.i.aj;
|
|
34883
35018
|
}
|
|
34884
35019
|
set isFixed(v) {
|
|
34885
|
-
this.i.
|
|
35020
|
+
this.i.aj = ensureBool(v);
|
|
34886
35021
|
}
|
|
34887
35022
|
/**
|
|
34888
35023
|
* Indicates that the dropdown should open as a child of the color editor.
|
|
34889
35024
|
*/
|
|
34890
35025
|
get openAsChild() {
|
|
34891
|
-
return this.i.
|
|
35026
|
+
return this.i.ak;
|
|
34892
35027
|
}
|
|
34893
35028
|
set openAsChild(v) {
|
|
34894
|
-
this.i.
|
|
35029
|
+
this.i.ak = ensureBool(v);
|
|
34895
35030
|
}
|
|
34896
35031
|
/**
|
|
34897
35032
|
* Indicates that the dropdown will place itself into the browser top layer.
|
|
34898
35033
|
*/
|
|
34899
35034
|
get useTopLayer() {
|
|
34900
|
-
return this.i.
|
|
35035
|
+
return this.i.ao;
|
|
34901
35036
|
}
|
|
34902
35037
|
set useTopLayer(v) {
|
|
34903
|
-
this.i.
|
|
35038
|
+
this.i.ao = ensureBool(v);
|
|
34904
35039
|
}
|
|
34905
35040
|
findByName(name) {
|
|
34906
35041
|
if (this.findEphemera) {
|
|
@@ -34964,7 +35099,23 @@ let IgxColorEditorComponent = /*@__PURE__*/ (() => {
|
|
|
34964
35099
|
this._inStyling = false;
|
|
34965
35100
|
}
|
|
34966
35101
|
select() {
|
|
34967
|
-
this.i.
|
|
35102
|
+
this.i.cb();
|
|
35103
|
+
}
|
|
35104
|
+
/**
|
|
35105
|
+
* Exports visual information about the current state of the color editor.
|
|
35106
|
+
|
|
35107
|
+
*/
|
|
35108
|
+
exportVisualModel() {
|
|
35109
|
+
let iv = this.i.as();
|
|
35110
|
+
return (iv);
|
|
35111
|
+
}
|
|
35112
|
+
/**
|
|
35113
|
+
* Returns a serialized copy of the exported visual model
|
|
35114
|
+
|
|
35115
|
+
*/
|
|
35116
|
+
exportSerializedVisualModel() {
|
|
35117
|
+
let iv = this.i.ay();
|
|
35118
|
+
return (iv);
|
|
34968
35119
|
}
|
|
34969
35120
|
/**
|
|
34970
35121
|
* Called when color is selected.
|
|
@@ -39647,6 +39798,47 @@ GOVERNS THE LICENSING, INSTALLATION AND USE OF INFRAGISTICS SOFTWARE. BY DOWNLOA
|
|
|
39647
39798
|
*/
|
|
39648
39799
|
let IconViewType_$type = markEnum('IconViewType', 'SVG,0|SVGPath,1|SVGPaths,2|DataURL,3|Source,4|None,5');
|
|
39649
39800
|
|
|
39801
|
+
/*
|
|
39802
|
+
THIS INFRAGISTICS ULTIMATE SOFTWARE LICENSE AGREEMENT ("AGREEMENT") LOCATED HERE:
|
|
39803
|
+
https://www.infragistics.com/legal/license/igultimate-la
|
|
39804
|
+
https://www.infragistics.com/legal/license/igultimate-eula
|
|
39805
|
+
GOVERNS THE LICENSING, INSTALLATION AND USE OF INFRAGISTICS SOFTWARE. BY DOWNLOADING AND/OR INSTALLING AND USING INFRAGISTICS SOFTWARE: you are indicating that you have read and understand this Agreement, and agree to be legally bound by it on behalf of the yourself and your company.
|
|
39806
|
+
*/
|
|
39807
|
+
/**
|
|
39808
|
+
* @hidden
|
|
39809
|
+
*/
|
|
39810
|
+
let CheckboxListVisualModelExport = /*@__PURE__*/ (() => {
|
|
39811
|
+
class CheckboxListVisualModelExport extends Base {
|
|
39812
|
+
constructor() {
|
|
39813
|
+
super(...arguments);
|
|
39814
|
+
this.f = 0;
|
|
39815
|
+
this.g = 0;
|
|
39816
|
+
this.h = 0;
|
|
39817
|
+
this.e = 0;
|
|
39818
|
+
this.c = 0;
|
|
39819
|
+
this.b = null;
|
|
39820
|
+
this.a = null;
|
|
39821
|
+
this.d = 0;
|
|
39822
|
+
}
|
|
39823
|
+
i() {
|
|
39824
|
+
let a = new StringBuilder(0);
|
|
39825
|
+
a.l("{");
|
|
39826
|
+
a.l("left : " + this.f + ", ");
|
|
39827
|
+
a.l("top : " + this.g + ", ");
|
|
39828
|
+
a.l("height : " + this.e + ", ");
|
|
39829
|
+
a.l("width : " + this.h + ", ");
|
|
39830
|
+
a.l("baseTheme : " + enumGetBox(BaseControlTheme_$type, this.c) + ", ");
|
|
39831
|
+
a.l("backgroundColor : " + this.b.serialize() + ", ");
|
|
39832
|
+
a.l("actualSelectAllCaptionTextColor : " + this.a.serialize() + ", ");
|
|
39833
|
+
a.l("actualRowHeight : " + this.d);
|
|
39834
|
+
a.l("}");
|
|
39835
|
+
return a.toString();
|
|
39836
|
+
}
|
|
39837
|
+
}
|
|
39838
|
+
CheckboxListVisualModelExport.$t = markType(CheckboxListVisualModelExport, 'CheckboxListVisualModelExport');
|
|
39839
|
+
return CheckboxListVisualModelExport;
|
|
39840
|
+
})();
|
|
39841
|
+
|
|
39650
39842
|
/*
|
|
39651
39843
|
THIS INFRAGISTICS ULTIMATE SOFTWARE LICENSE AGREEMENT ("AGREEMENT") LOCATED HERE:
|
|
39652
39844
|
https://www.infragistics.com/legal/license/igultimate-la
|
|
@@ -39712,4 +39904,4 @@ let TextBlockVisualModelExport = /*@__PURE__*/ (() => {
|
|
|
39712
39904
|
* Generated bundle index. Do not edit.
|
|
39713
39905
|
*/
|
|
39714
39906
|
|
|
39715
|
-
export { ButtonClickEventArgs, ButtonDisplayStyle_$type, ButtonGroupDisplayStyle_$type, ButtonGroupOrientation, ButtonGroupOrientation_$type, ButtonGroupSelectionChangedEventArgs, ButtonGroupView, ButtonGroupVisualModelExport, ButtonView, ButtonVisualModelExport, CalendarView, CalendarVisualModelExport, CheckboxChangeEventArgs, CheckboxLabelPosition_$type, CheckboxView, CheckboxVisualModelExport, ColorEditor, ColorEditorBridge, ColorEditorGotFocusEventArgs, ColorEditorLostFocusEventArgs, ColorEditorPanel, ColorEditorPanelClosedEventArgs, ColorEditorPanelSelectedValueChangedEventArgs, ColorEditorPanelView, ColorEditorView, DateFormats, DateFormats_$type, DatePickerView, DatePickerVisualModelExport, DateTimeValueFormatter, DayInfo, DayOfWeek, DayOfWeek_$type, DefaultMultiSliderTrackBarVisual, DefaultMultiSliderTrackRangeVisual, DefaultMultiSliderTrackThumbCalloutVisual, DefaultMultiSliderTrackThumbVisual, DefaultMultiTrackShadeVisual, ElevationHelper, FirstWeek, FirstWeek_$type, GotFocusEventArgs, IMultiSliderTrackBarVisual_$type, IMultiSliderTrackRangeVisual_$type, IMultiSliderTrackShadeVisual_$type, IMultiSliderTrackThumbCalloutVisual_$type, IMultiSliderTrackThumbVisual_$type, ISliderTrackOwner_$type, IconClickedEventArgs, IconView, IconViewType_$type, IconVisualModelExport, IgxButtonClickEventArgs, IgxButtonGroupSelectionChangedEventArgs, IgxCheckboxChangeEventArgs, IgxColorEditorComponent, IgxColorEditorDynamicModule, IgxColorEditorGotFocusEventArgs, IgxColorEditorLostFocusEventArgs, IgxColorEditorModule, IgxColorEditorPanelClosedEventArgs, IgxColorEditorPanelComponent, IgxColorEditorPanelDynamicModule, IgxColorEditorPanelModule, IgxColorEditorPanelSelectedValueChangedEventArgs, IgxGotFocusEventArgs, IgxInputChangeEventArgs, IgxLostFocusEventArgs, IgxMultiSliderComponent, IgxMultiSliderDynamicModule, IgxMultiSliderModule, IgxMultiSliderResolvingToolTipValueEventArgs, IgxMultiSliderThumb, IgxMultiSliderThumbCollection, IgxMultiSliderThumbValueChangingEventArgs, IgxMultiSliderTrackThumbRange, IgxMultiSliderYValueChangingEventArgs, IgxSelectedValueChangedEventArgs, IgxXButtonComponent, IgxXButtonDynamicModule, IgxXButtonGroupButtonCollection, IgxXButtonGroupComponent, IgxXButtonGroupDynamicModule, IgxXButtonGroupModule, IgxXButtonModule, IgxXCalendarComponent, IgxXCalendarDynamicModule, IgxXCalendarLocaleEnModule, IgxXCalendarModule, IgxXCheckboxComponent, IgxXCheckboxDynamicModule, IgxXCheckboxModule, IgxXDatePickerComponent, IgxXDatePickerDynamicModule, IgxXDatePickerModule, IgxXIconComponent, IgxXIconDynamicModule, IgxXIconModule, IgxXInputComponent, IgxXInputDynamicModule, IgxXInputGroupComponent, IgxXInputGroupDynamicModule, IgxXInputGroupInputCollection, IgxXInputGroupItemComponent, IgxXInputGroupModule, IgxXInputModule, IgxXLabelComponent, IgxXLabelDynamicModule, IgxXLabelModule, IgxXPrefixComponent, IgxXPrefixDynamicModule, IgxXPrefixModule, IgxXRippleComponent, IgxXRippleDynamicModule, IgxXRippleModule, IgxXSuffixComponent, InputChangeEventArgs, InputGroupDisplayType, InputGroupDisplayType_$type, InputGroupView, InputGroupVisualModelExport, InputShiftType, InputShiftType_$type, InputView, InputVisualModelExport, KEYCODES_$type, LabelShiftType, LabelShiftType_$type, LabelView, LabelVisualModelExport, LostFocusEventArgs, MaskOptions, MaskParsingService, MultiSlider, MultiSliderBridge, MultiSliderCursor_$type, MultiSliderHitInfo, MultiSliderOrientation, MultiSliderOrientation_$type, MultiSliderResolvingToolTipValueEventArgs, MultiSliderThumb, MultiSliderThumbCollection, MultiSliderThumbRangePosition, MultiSliderThumbRangePosition_$type, MultiSliderThumbValueChangingEventArgs, MultiSliderTrackShadeOrientation_$type, MultiSliderTrackThumbRange, MultiSliderView, MultiSliderVisualArea_$type, MultiSliderYValueChangingEventArgs, NativeUIXInputsFactory, PrefixShiftType, PrefixShiftType_$type, PrefixView, PrefixVisualModelExport, Replaced, RippleView, RippleVisualModelExport, SelectedValueChangedEventArgs, SuffixShiftType, SuffixShiftType_$type, SuffixView, SuffixVisualModelExport, TextBlockVisualModelExport, TextElementsVisualModelExport, Theme, ThemeResolver, XButton, XButtonBridge, XButtonGroup, XButtonGroupBridge, XButtonGroupButtonCollection, XCalendar, XCalendarLocaleEn, XCheckbox, XCheckboxBridge, XComponentBridge, XDatePicker, XIcon, XIconBridge, XIconButtonBridge, XInput, XInputBridge, XInputGroup, XInputGroupInputCollection, XInputGroupItem, XLabel, XPopupBridge, XPrefix, XRipple, XSuffix };
|
|
39907
|
+
export { ButtonClickEventArgs, ButtonDisplayStyle_$type, ButtonGroupDisplayStyle_$type, ButtonGroupOrientation, ButtonGroupOrientation_$type, ButtonGroupSelectionChangedEventArgs, ButtonGroupView, ButtonGroupVisualModelExport, ButtonView, ButtonVisualModelExport, CalendarView, CalendarVisualModelExport, CheckboxChangeEventArgs, CheckboxLabelPosition_$type, CheckboxListVisualModelExport, CheckboxView, CheckboxVisualModelExport, ColorEditor, ColorEditorBridge, ColorEditorGotFocusEventArgs, ColorEditorLostFocusEventArgs, ColorEditorPanel, ColorEditorPanelClosedEventArgs, ColorEditorPanelSelectedValueChangedEventArgs, ColorEditorPanelView, ColorEditorView, ColorEditorVisualModelExport, DateFormats, DateFormats_$type, DatePickerView, DatePickerVisualModelExport, DateTimeValueFormatter, DayInfo, DayOfWeek, DayOfWeek_$type, DefaultMultiSliderTrackBarVisual, DefaultMultiSliderTrackRangeVisual, DefaultMultiSliderTrackThumbCalloutVisual, DefaultMultiSliderTrackThumbVisual, DefaultMultiTrackShadeVisual, ElevationHelper, FirstWeek, FirstWeek_$type, GotFocusEventArgs, IMultiSliderTrackBarVisual_$type, IMultiSliderTrackRangeVisual_$type, IMultiSliderTrackShadeVisual_$type, IMultiSliderTrackThumbCalloutVisual_$type, IMultiSliderTrackThumbVisual_$type, ISliderTrackOwner_$type, IconClickedEventArgs, IconView, IconViewType_$type, IconVisualModelExport, IgxButtonClickEventArgs, IgxButtonGroupSelectionChangedEventArgs, IgxCheckboxChangeEventArgs, IgxColorEditorComponent, IgxColorEditorDynamicModule, IgxColorEditorGotFocusEventArgs, IgxColorEditorLostFocusEventArgs, IgxColorEditorModule, IgxColorEditorPanelClosedEventArgs, IgxColorEditorPanelComponent, IgxColorEditorPanelDynamicModule, IgxColorEditorPanelModule, IgxColorEditorPanelSelectedValueChangedEventArgs, IgxGotFocusEventArgs, IgxInputChangeEventArgs, IgxLostFocusEventArgs, IgxMultiSliderComponent, IgxMultiSliderDynamicModule, IgxMultiSliderModule, IgxMultiSliderResolvingToolTipValueEventArgs, IgxMultiSliderThumb, IgxMultiSliderThumbCollection, IgxMultiSliderThumbValueChangingEventArgs, IgxMultiSliderTrackThumbRange, IgxMultiSliderYValueChangingEventArgs, IgxSelectedValueChangedEventArgs, IgxXButtonComponent, IgxXButtonDynamicModule, IgxXButtonGroupButtonCollection, IgxXButtonGroupComponent, IgxXButtonGroupDynamicModule, IgxXButtonGroupModule, IgxXButtonModule, IgxXCalendarComponent, IgxXCalendarDynamicModule, IgxXCalendarLocaleEnModule, IgxXCalendarModule, IgxXCheckboxComponent, IgxXCheckboxDynamicModule, IgxXCheckboxModule, IgxXDatePickerComponent, IgxXDatePickerDynamicModule, IgxXDatePickerModule, IgxXIconComponent, IgxXIconDynamicModule, IgxXIconModule, IgxXInputComponent, IgxXInputDynamicModule, IgxXInputGroupComponent, IgxXInputGroupDynamicModule, IgxXInputGroupInputCollection, IgxXInputGroupItemComponent, IgxXInputGroupModule, IgxXInputModule, IgxXLabelComponent, IgxXLabelDynamicModule, IgxXLabelModule, IgxXPrefixComponent, IgxXPrefixDynamicModule, IgxXPrefixModule, IgxXRippleComponent, IgxXRippleDynamicModule, IgxXRippleModule, IgxXSuffixComponent, InputChangeEventArgs, InputGroupDisplayType, InputGroupDisplayType_$type, InputGroupView, InputGroupVisualModelExport, InputShiftType, InputShiftType_$type, InputView, InputVisualModelExport, KEYCODES_$type, LabelShiftType, LabelShiftType_$type, LabelView, LabelVisualModelExport, LostFocusEventArgs, MaskOptions, MaskParsingService, MultiSlider, MultiSliderBridge, MultiSliderCursor_$type, MultiSliderHitInfo, MultiSliderOrientation, MultiSliderOrientation_$type, MultiSliderResolvingToolTipValueEventArgs, MultiSliderThumb, MultiSliderThumbCollection, MultiSliderThumbRangePosition, MultiSliderThumbRangePosition_$type, MultiSliderThumbValueChangingEventArgs, MultiSliderTrackShadeOrientation_$type, MultiSliderTrackThumbRange, MultiSliderView, MultiSliderVisualArea_$type, MultiSliderYValueChangingEventArgs, NativeUIXInputsFactory, PrefixShiftType, PrefixShiftType_$type, PrefixView, PrefixVisualModelExport, Replaced, RippleView, RippleVisualModelExport, SelectedValueChangedEventArgs, SuffixShiftType, SuffixShiftType_$type, SuffixView, SuffixVisualModelExport, TextBlockVisualModelExport, TextElementsVisualModelExport, Theme, ThemeResolver, XButton, XButtonBridge, XButtonGroup, XButtonGroupBridge, XButtonGroupButtonCollection, XCalendar, XCalendarLocaleEn, XCheckbox, XCheckboxBridge, XComponentBridge, XDatePicker, XIcon, XIconBridge, XIconButtonBridge, XInput, XInputBridge, XInputGroup, XInputGroupInputCollection, XInputGroupItem, XLabel, XPopupBridge, XPrefix, XRipple, XSuffix };
|