igniteui-angular-core 17.0.0 → 17.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bundles/igniteui-angular-core.umd.js +3388 -1605
- package/bundles/igniteui-angular-core.umd.min.js +2 -2
- package/esm2015/lib/CodeGeneratingComponentRendererCodeEmitter_combined.js +16 -5
- package/esm2015/lib/PopupView_combined.js +743 -607
- package/esm2015/lib/WebBaseExporterDescriptionMetadata_combined.js +2 -0
- package/esm2015/lib/WebColumnStateDescription.js +202 -0
- package/esm2015/lib/WebColumnStateDescriptionMetadata.js +67 -0
- package/esm2015/lib/WebGridBaseDirectiveDescription_combined.js +338 -330
- package/esm2015/lib/WebGridDescription.js +44 -44
- package/esm2015/lib/WebGridStateBaseDirectiveDescription.js +50 -0
- package/esm2015/lib/WebGridStateBaseDirectiveDescriptionMetadata.js +7 -0
- package/esm2015/lib/WebGridStateBaseDirectiveDescriptionMetadata_combined.js +124 -0
- package/esm2015/lib/WebGridStateBaseDirectiveDescriptionModule.js +20 -0
- package/esm2015/lib/WebGridStateCollectionDescription.js +50 -0
- package/esm2015/lib/WebGridStateCollectionDescriptionMetadata.js +48 -0
- package/esm2015/lib/WebGridStateComponentEventArgsDescription.js +36 -0
- package/esm2015/lib/WebGridStateComponentEventArgsDescriptionMetadata.js +7 -0
- package/esm2015/lib/WebGridStateDescription.js +23 -0
- package/esm2015/lib/WebGridStateDescriptionMetadata.js +7 -0
- package/esm2015/lib/WebGridStateDescriptionModule.js +22 -0
- package/esm2015/lib/WebGridStateInfoDescription.js +156 -0
- package/esm2015/lib/WebGridStateInfoDescriptionMetadata.js +79 -0
- package/esm2015/lib/WebGridStateOptionsDescription.js +146 -0
- package/esm2015/lib/WebGridStateOptionsDescriptionMetadata.js +58 -0
- package/esm2015/lib/WebGroupingStateDescription.js +50 -0
- package/esm2015/lib/WebGroupingStateDescriptionMetadata.js +50 -0
- package/esm2015/lib/WebPagingStateDescription.js +42 -0
- package/esm2015/lib/WebPagingStateDescriptionMetadata.js +45 -0
- package/esm2015/lib/WebPivotGridDescription.js +35 -35
- package/esm2015/lib/WebTreeGridDescription.js +27 -27
- package/esm2015/lib/igx-popup-component.js +59 -37
- package/esm2015/public_api.js +20 -0
- package/esm5/lib/CodeGeneratingComponentRendererCodeEmitter_combined.js +16 -5
- package/esm5/lib/PopupView_combined.js +738 -590
- package/esm5/lib/WebBaseExporterDescriptionMetadata_combined.js +2 -0
- package/esm5/lib/WebColumnStateDescription.js +296 -0
- package/esm5/lib/WebColumnStateDescriptionMetadata.js +71 -0
- package/esm5/lib/WebGridBaseDirectiveDescription_combined.js +342 -330
- package/esm5/lib/WebGridDescription.js +44 -44
- package/esm5/lib/WebGridStateBaseDirectiveDescription.js +68 -0
- package/esm5/lib/WebGridStateBaseDirectiveDescriptionMetadata.js +7 -0
- package/esm5/lib/WebGridStateBaseDirectiveDescriptionMetadata_combined.js +134 -0
- package/esm5/lib/WebGridStateBaseDirectiveDescriptionModule.js +24 -0
- package/esm5/lib/WebGridStateCollectionDescription.js +68 -0
- package/esm5/lib/WebGridStateCollectionDescriptionMetadata.js +52 -0
- package/esm5/lib/WebGridStateComponentEventArgsDescription.js +46 -0
- package/esm5/lib/WebGridStateComponentEventArgsDescriptionMetadata.js +7 -0
- package/esm5/lib/WebGridStateDescription.js +24 -0
- package/esm5/lib/WebGridStateDescriptionMetadata.js +7 -0
- package/esm5/lib/WebGridStateDescriptionModule.js +26 -0
- package/esm5/lib/WebGridStateInfoDescription.js +226 -0
- package/esm5/lib/WebGridStateInfoDescriptionMetadata.js +83 -0
- package/esm5/lib/WebGridStateOptionsDescription.js +212 -0
- package/esm5/lib/WebGridStateOptionsDescriptionMetadata.js +62 -0
- package/esm5/lib/WebGroupingStateDescription.js +68 -0
- package/esm5/lib/WebGroupingStateDescriptionMetadata.js +54 -0
- package/esm5/lib/WebPagingStateDescription.js +56 -0
- package/esm5/lib/WebPagingStateDescriptionMetadata.js +49 -0
- package/esm5/lib/WebPivotGridDescription.js +35 -35
- package/esm5/lib/WebTreeGridDescription.js +27 -27
- package/esm5/lib/igx-popup-component.js +67 -37
- package/esm5/public_api.js +20 -0
- package/fesm2015/igniteui-angular-core.js +2951 -1525
- package/fesm5/igniteui-angular-core.js +3369 -1606
- package/lib/IDataLegendSeries.d.ts +2 -0
- package/lib/IDataLegendTarget.d.ts +1 -0
- package/lib/PopupView_combined.d.ts +161 -144
- package/lib/WebColumnStateDescription.d.ts +77 -0
- package/lib/WebColumnStateDescriptionMetadata.d.ts +13 -0
- package/lib/WebGridBaseDirectiveDescription_combined.d.ts +119 -115
- package/lib/WebGridDescription.d.ts +16 -16
- package/lib/WebGridStateBaseDirectiveDescription.d.ts +21 -0
- package/lib/WebGridStateBaseDirectiveDescriptionMetadata.d.ts +1 -0
- package/lib/WebGridStateBaseDirectiveDescriptionMetadata_combined.d.ts +33 -0
- package/lib/WebGridStateBaseDirectiveDescriptionModule.d.ts +9 -0
- package/lib/WebGridStateCollectionDescription.d.ts +21 -0
- package/lib/WebGridStateCollectionDescriptionMetadata.d.ts +13 -0
- package/lib/WebGridStateComponentEventArgsDescription.d.ts +17 -0
- package/lib/WebGridStateComponentEventArgsDescriptionMetadata.d.ts +1 -0
- package/lib/WebGridStateDescription.d.ts +10 -0
- package/lib/WebGridStateDescriptionMetadata.d.ts +1 -0
- package/lib/WebGridStateDescriptionModule.d.ts +9 -0
- package/lib/WebGridStateInfoDescription.d.ts +70 -0
- package/lib/WebGridStateInfoDescriptionMetadata.d.ts +13 -0
- package/lib/WebGridStateOptionsDescription.d.ts +56 -0
- package/lib/WebGridStateOptionsDescriptionMetadata.d.ts +13 -0
- package/lib/WebGroupingStateDescription.d.ts +22 -0
- package/lib/WebGroupingStateDescriptionMetadata.d.ts +13 -0
- package/lib/WebPagingStateDescription.d.ts +17 -0
- package/lib/WebPagingStateDescriptionMetadata.d.ts +13 -0
- package/lib/WebPivotGridDescription.d.ts +13 -13
- package/lib/WebTreeGridDescription.d.ts +10 -10
- package/lib/igx-popup-component.d.ts +13 -1
- package/package.json +1 -1
- package/public_api.d.ts +20 -0
|
@@ -24,11 +24,12 @@ import { stringEmpty } from "./string";
|
|
|
24
24
|
import { OnClosedEventArgs } from "./OnClosedEventArgs";
|
|
25
25
|
import { MouseEventArgs } from "./MouseEventArgs";
|
|
26
26
|
import { FocusEventArgs } from "./FocusEventArgs";
|
|
27
|
+
import { PopupAnimation } from "./PopupAnimation";
|
|
27
28
|
import { List$1 } from "./List$1";
|
|
29
|
+
import { IKeyFrameAnimation_$type } from "./IKeyFrameAnimation";
|
|
28
30
|
import { AnimationKeyFrameProperty } from "./AnimationKeyFrameProperty";
|
|
29
31
|
import { TranslateTransform } from "./TranslateTransform";
|
|
30
32
|
import { OnPopupEventArgs } from "./OnPopupEventArgs";
|
|
31
|
-
import { PopupAnimation } from "./PopupAnimation";
|
|
32
33
|
import { DeviceUtils } from "./DeviceUtils";
|
|
33
34
|
import { PopupVisualModelExport } from "./PopupVisualModelExport";
|
|
34
35
|
import { AppearanceHelper } from "./AppearanceHelper";
|
|
@@ -40,69 +41,69 @@ var PopupView = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
40
41
|
__extends(PopupView, _super);
|
|
41
42
|
function PopupView() {
|
|
42
43
|
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
43
|
-
_this.
|
|
44
|
+
_this.ag = null;
|
|
44
45
|
_this.f = null;
|
|
46
|
+
_this.ao = null;
|
|
47
|
+
_this.an = null;
|
|
48
|
+
_this.am = null;
|
|
49
|
+
_this.aj = null;
|
|
45
50
|
_this.al = null;
|
|
46
51
|
_this.ak = null;
|
|
47
|
-
_this.
|
|
48
|
-
_this.
|
|
49
|
-
_this.
|
|
50
|
-
_this.
|
|
51
|
-
_this.
|
|
52
|
+
_this.aq = null;
|
|
53
|
+
_this.v = 0;
|
|
54
|
+
_this.w = 0;
|
|
55
|
+
_this.u = 0;
|
|
56
|
+
_this.m = false;
|
|
57
|
+
_this.x = 0;
|
|
52
58
|
_this.s = 0;
|
|
53
59
|
_this.t = 0;
|
|
54
|
-
_this.r = 0;
|
|
55
|
-
_this.l = false;
|
|
56
|
-
_this.u = 0;
|
|
57
|
-
_this.p = 0;
|
|
58
60
|
_this.q = 0;
|
|
59
|
-
_this.
|
|
60
|
-
_this.
|
|
61
|
-
_this.
|
|
62
|
-
_this.
|
|
63
|
-
_this.bk = new Size(1, 0, 0);
|
|
61
|
+
_this.r = 0;
|
|
62
|
+
_this.ai = null;
|
|
63
|
+
_this.ap = null;
|
|
64
|
+
_this.br = new Size(1, 0, 0);
|
|
64
65
|
_this.k = true;
|
|
65
|
-
_this.
|
|
66
|
+
_this.p = false;
|
|
66
67
|
return _this;
|
|
67
68
|
}
|
|
68
|
-
Object.defineProperty(PopupView.prototype, "
|
|
69
|
+
Object.defineProperty(PopupView.prototype, "af", {
|
|
69
70
|
get: function () {
|
|
70
|
-
return this.g.
|
|
71
|
+
return this.g.a3;
|
|
71
72
|
},
|
|
72
73
|
enumerable: false,
|
|
73
74
|
configurable: true
|
|
74
75
|
});
|
|
75
|
-
Object.defineProperty(PopupView.prototype, "
|
|
76
|
+
Object.defineProperty(PopupView.prototype, "ac", {
|
|
76
77
|
get: function () {
|
|
77
|
-
return this.
|
|
78
|
+
return this.af / 2;
|
|
78
79
|
},
|
|
79
80
|
enumerable: false,
|
|
80
81
|
configurable: true
|
|
81
82
|
});
|
|
82
|
-
Object.defineProperty(PopupView.prototype, "
|
|
83
|
+
Object.defineProperty(PopupView.prototype, "ab", {
|
|
83
84
|
get: function () {
|
|
84
|
-
return this.
|
|
85
|
+
return this.af * 1.414;
|
|
85
86
|
},
|
|
86
87
|
enumerable: false,
|
|
87
88
|
configurable: true
|
|
88
89
|
});
|
|
89
|
-
Object.defineProperty(PopupView.prototype, "
|
|
90
|
+
Object.defineProperty(PopupView.prototype, "aa", {
|
|
90
91
|
get: function () {
|
|
91
|
-
return this.
|
|
92
|
+
return this.ab / 2;
|
|
92
93
|
},
|
|
93
94
|
enumerable: false,
|
|
94
95
|
configurable: true
|
|
95
96
|
});
|
|
96
|
-
Object.defineProperty(PopupView.prototype, "
|
|
97
|
+
Object.defineProperty(PopupView.prototype, "ad", {
|
|
97
98
|
get: function () {
|
|
98
|
-
return (this.
|
|
99
|
+
return (this.bs.width / 2 - this.ac);
|
|
99
100
|
},
|
|
100
101
|
enumerable: false,
|
|
101
102
|
configurable: true
|
|
102
103
|
});
|
|
103
|
-
Object.defineProperty(PopupView.prototype, "
|
|
104
|
+
Object.defineProperty(PopupView.prototype, "ae", {
|
|
104
105
|
get: function () {
|
|
105
|
-
return (this.
|
|
106
|
+
return (this.bs.height / 2 - this.ac);
|
|
106
107
|
},
|
|
107
108
|
enumerable: false,
|
|
108
109
|
configurable: true
|
|
@@ -114,224 +115,234 @@ var PopupView = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
114
115
|
enumerable: false,
|
|
115
116
|
configurable: true
|
|
116
117
|
});
|
|
117
|
-
Object.defineProperty(PopupView.prototype, "
|
|
118
|
+
Object.defineProperty(PopupView.prototype, "ah", {
|
|
118
119
|
get: function () {
|
|
119
|
-
return this.
|
|
120
|
+
return this.ag;
|
|
120
121
|
},
|
|
121
122
|
enumerable: false,
|
|
122
123
|
configurable: true
|
|
123
124
|
});
|
|
124
|
-
PopupView.prototype.
|
|
125
|
-
this.
|
|
126
|
-
this.
|
|
127
|
-
this.
|
|
128
|
-
this.
|
|
129
|
-
this.
|
|
130
|
-
this.
|
|
131
|
-
this.
|
|
132
|
-
this.
|
|
133
|
-
this.
|
|
134
|
-
this.
|
|
135
|
-
this.
|
|
136
|
-
this.ah.setStyleProperty("z-index", "1");
|
|
137
|
-
this.ah.setStyleProperty("clip-path", stringFormat("path(\"M0,0l{0},{0}l0,-{0}l-{0},0Z\")", this.ac));
|
|
138
|
-
this.ai.append(this.ah);
|
|
139
|
-
this.ak = this.ad.createElement("div");
|
|
125
|
+
PopupView.prototype.a6 = function () {
|
|
126
|
+
this.ao.setStyleProperty("height", "0%");
|
|
127
|
+
this.ao.setStyleProperty("width", "0%");
|
|
128
|
+
this.aj = this.ag.createElement("div");
|
|
129
|
+
this.be(this.g.aq);
|
|
130
|
+
this.aj.setStyleProperty("z-index", "10000");
|
|
131
|
+
this.aj.setStyleProperty("inset", "unset");
|
|
132
|
+
this.aj.setStyleProperty("padding", "0px");
|
|
133
|
+
this.aj.setStyleProperty("border-width", "0px");
|
|
134
|
+
this.al = this.ag.createElement("div");
|
|
135
|
+
this.al.setStyleProperty("height", 20 * 1.414 / 2 + "px");
|
|
136
|
+
this.ak = this.ag.createElement("div");
|
|
140
137
|
this.ak.setStyleProperty("position", "relative");
|
|
141
|
-
this.ak.setStyleProperty("
|
|
142
|
-
this.ak.
|
|
143
|
-
this.
|
|
144
|
-
this.
|
|
145
|
-
this.
|
|
146
|
-
this.ag.
|
|
147
|
-
this.
|
|
148
|
-
this.
|
|
149
|
-
this.
|
|
150
|
-
this.
|
|
151
|
-
this.
|
|
152
|
-
|
|
153
|
-
|
|
138
|
+
this.ak.setStyleProperty("width", this.af + "px");
|
|
139
|
+
this.ak.setStyleProperty("height", this.af + "px");
|
|
140
|
+
this.ak.setStyleProperty("z-index", "1");
|
|
141
|
+
this.ak.setStyleProperty("clip-path", stringFormat("path(\"M0,0l{0},{0}l0,-{0}l-{0},0Z\")", this.af));
|
|
142
|
+
this.al.append(this.ak);
|
|
143
|
+
this.an = this.ag.createElement("div");
|
|
144
|
+
this.an.setStyleProperty("position", "relative");
|
|
145
|
+
this.an.setStyleProperty("overflow", "hidden");
|
|
146
|
+
this.an.setAttribute("key", "popupContentAreaOuter");
|
|
147
|
+
this.bf(this.g.ar);
|
|
148
|
+
this.aj.listen("mouseenter", runOn(this, this.a7));
|
|
149
|
+
this.aj.listen("mouseleave", runOn(this, this.a8));
|
|
150
|
+
this.aj.listen("focusin", runOn(this, this.a4));
|
|
151
|
+
this.aj.listen("focusout", runOn(this, this.a5));
|
|
152
|
+
this.am = this.ag.createElement("div");
|
|
153
|
+
this.am.setAttribute("key", "popupContentAreaInner");
|
|
154
|
+
this.an.append(this.am);
|
|
155
|
+
this.aj.append(this.an);
|
|
156
|
+
};
|
|
157
|
+
PopupView.prototype.bn = function () {
|
|
154
158
|
var a = this.g;
|
|
155
|
-
var b = ElevationHelper.e(a.
|
|
156
|
-
this.
|
|
159
|
+
var b = ElevationHelper.e(a.a6, a.cv, a.cu, a.ct);
|
|
160
|
+
if (this.l()) {
|
|
161
|
+
this.aj.setStyleProperty("box-shadow", b);
|
|
162
|
+
}
|
|
163
|
+
else {
|
|
164
|
+
this.an.setStyleProperty("box-shadow", b);
|
|
165
|
+
}
|
|
157
166
|
};
|
|
158
|
-
PopupView.prototype.
|
|
159
|
-
if (this.g.
|
|
160
|
-
this.
|
|
161
|
-
this.
|
|
167
|
+
PopupView.prototype.bl = function () {
|
|
168
|
+
if (this.g.cw != null) {
|
|
169
|
+
this.an.setStyleProperty("background-color", this.g.cw._fill);
|
|
170
|
+
this.ak.setStyleProperty("background-color", this.g.cw._fill);
|
|
162
171
|
}
|
|
163
|
-
if (this.g.
|
|
164
|
-
this.
|
|
172
|
+
if (this.g.c0 != null) {
|
|
173
|
+
this.ak.setStyleProperty("background-color", this.g.c0._fill);
|
|
165
174
|
}
|
|
166
175
|
};
|
|
167
|
-
PopupView.prototype.
|
|
168
|
-
if (!isNaN_(this.g.
|
|
169
|
-
NativeUI.o(this.
|
|
176
|
+
PopupView.prototype.bm = function () {
|
|
177
|
+
if (!isNaN_(this.g.a0)) {
|
|
178
|
+
NativeUI.o(this.an, new CornerRadius(0, this.g.a0));
|
|
170
179
|
}
|
|
171
180
|
};
|
|
172
|
-
PopupView.prototype.
|
|
173
|
-
if (null == this.
|
|
181
|
+
PopupView.prototype.bo = function () {
|
|
182
|
+
if (null == this.ao) {
|
|
174
183
|
return;
|
|
175
184
|
}
|
|
176
|
-
this.
|
|
177
|
-
this.
|
|
178
|
-
this.
|
|
185
|
+
this.be(this.g.aq);
|
|
186
|
+
this.bn();
|
|
187
|
+
this.bl();
|
|
188
|
+
this.bm();
|
|
189
|
+
};
|
|
190
|
+
PopupView.prototype.a7 = function (a) {
|
|
191
|
+
this.g.cb();
|
|
192
|
+
};
|
|
193
|
+
PopupView.prototype.a8 = function (a) {
|
|
194
|
+
this.g.cc();
|
|
179
195
|
};
|
|
180
196
|
PopupView.prototype.a4 = function (a) {
|
|
181
|
-
this.g.
|
|
197
|
+
this.g.b9();
|
|
182
198
|
};
|
|
183
199
|
PopupView.prototype.a5 = function (a) {
|
|
184
|
-
this.g.
|
|
185
|
-
};
|
|
186
|
-
PopupView.prototype.
|
|
187
|
-
|
|
188
|
-
};
|
|
189
|
-
PopupView.prototype.
|
|
190
|
-
this.
|
|
191
|
-
};
|
|
192
|
-
PopupView.prototype.
|
|
193
|
-
if (null != this.
|
|
194
|
-
this.
|
|
195
|
-
this.
|
|
196
|
-
var a = this.
|
|
197
|
-
if (false == this.
|
|
198
|
-
this.
|
|
199
|
-
if (this.g.
|
|
200
|
-
var b = this.g.
|
|
200
|
+
this.g.ca(a.originalEvent.relatedTarget);
|
|
201
|
+
};
|
|
202
|
+
PopupView.prototype.o = function () {
|
|
203
|
+
return (HTMLElement.prototype.hasOwnProperty("popover"));
|
|
204
|
+
};
|
|
205
|
+
PopupView.prototype.l = function () {
|
|
206
|
+
return this.o() && this.g.ax;
|
|
207
|
+
};
|
|
208
|
+
PopupView.prototype.at = function () {
|
|
209
|
+
if (null != this.aj) {
|
|
210
|
+
this.bo();
|
|
211
|
+
this.an.setStyleProperty("height", "0px");
|
|
212
|
+
var a = this.aj.getNativeElement();
|
|
213
|
+
if (false == this.m) {
|
|
214
|
+
this.al.remove();
|
|
215
|
+
if (this.g.at) {
|
|
216
|
+
var b = this.g.t();
|
|
201
217
|
if (b == 1) {
|
|
202
|
-
this.
|
|
203
|
-
var c = this.
|
|
204
|
-
var d = this.
|
|
205
|
-
var e = this.
|
|
218
|
+
this.aj.setStyleProperty("display", "block");
|
|
219
|
+
var c = this.aj.getNativeElement();
|
|
220
|
+
var d = this.al.getNativeElement();
|
|
221
|
+
var e = this.an.getNativeElement();
|
|
206
222
|
c.insertBefore(d, e);
|
|
207
223
|
}
|
|
208
224
|
else if (b == 2) {
|
|
209
|
-
this.
|
|
210
|
-
this.
|
|
225
|
+
this.aj.setStyleProperty("display", "block");
|
|
226
|
+
this.aj.append(this.al);
|
|
211
227
|
}
|
|
212
228
|
else if (b == 3) {
|
|
213
|
-
this.
|
|
214
|
-
var f = this.
|
|
215
|
-
var g = this.
|
|
216
|
-
var h = this.
|
|
229
|
+
this.aj.setStyleProperty("display", "flex");
|
|
230
|
+
var f = this.aj.getNativeElement();
|
|
231
|
+
var g = this.al.getNativeElement();
|
|
232
|
+
var h = this.an.getNativeElement();
|
|
217
233
|
f.insertBefore(g, h);
|
|
218
|
-
this.
|
|
219
|
-
this.
|
|
234
|
+
this.al.setStyleProperty("height", "unset");
|
|
235
|
+
this.al.setStyleProperty("width", 20 * 1.414 / 2 + "px");
|
|
220
236
|
}
|
|
221
237
|
else if (b == 4) {
|
|
222
|
-
this.
|
|
223
|
-
this.
|
|
224
|
-
this.
|
|
225
|
-
this.
|
|
238
|
+
this.aj.setStyleProperty("display", "flex");
|
|
239
|
+
this.aj.append(this.al);
|
|
240
|
+
this.al.setStyleProperty("height", "unset");
|
|
241
|
+
this.al.setStyleProperty("width", 20 * 1.414 / 2 + "px");
|
|
226
242
|
}
|
|
227
243
|
}
|
|
228
|
-
|
|
229
|
-
|
|
244
|
+
if (this.g.bd != null) {
|
|
245
|
+
this.g.bd.appendChild(a);
|
|
246
|
+
}
|
|
247
|
+
else {
|
|
248
|
+
document.body.appendChild(a);
|
|
249
|
+
}
|
|
250
|
+
this.m = true;
|
|
230
251
|
if (this.k) {
|
|
231
|
-
this.
|
|
252
|
+
this.a1();
|
|
253
|
+
}
|
|
254
|
+
this.bh(this.g.ax);
|
|
255
|
+
if (this.l()) {
|
|
256
|
+
a.showPopover();
|
|
232
257
|
}
|
|
233
258
|
}
|
|
234
259
|
}
|
|
235
260
|
};
|
|
236
|
-
PopupView.prototype.
|
|
237
|
-
this.
|
|
238
|
-
this.
|
|
239
|
-
this.
|
|
240
|
-
this.
|
|
241
|
-
this.
|
|
242
|
-
this.
|
|
243
|
-
if (this.
|
|
244
|
-
this.
|
|
261
|
+
PopupView.prototype.au = function (a, b) {
|
|
262
|
+
this.aj.setStyleProperty("top", PopupView.ar(a.f));
|
|
263
|
+
this.an.setStyleProperty("height", PopupView.as(a.h));
|
|
264
|
+
this.am.setStyleProperty("top", PopupView.as(b.b));
|
|
265
|
+
this.am.setStyleProperty("opacity", "1");
|
|
266
|
+
this.am.setStyleProperty("transform", stringEmpty());
|
|
267
|
+
this.x = 0;
|
|
268
|
+
if (this.p) {
|
|
269
|
+
this.bk();
|
|
245
270
|
}
|
|
246
|
-
if (this.g.
|
|
247
|
-
this.
|
|
271
|
+
if (this.g.aw) {
|
|
272
|
+
this.ap.observe(this.ai.getNativeElement());
|
|
248
273
|
}
|
|
249
274
|
else {
|
|
250
|
-
this.
|
|
275
|
+
this.ap.disconnect();
|
|
251
276
|
}
|
|
252
277
|
if (this.g.an) {
|
|
253
|
-
this.
|
|
278
|
+
this.bg(this.g.as);
|
|
254
279
|
}
|
|
255
280
|
return {
|
|
256
281
|
p0: a,
|
|
257
282
|
p1: b
|
|
258
283
|
};
|
|
259
284
|
};
|
|
260
|
-
PopupView.prototype.
|
|
261
|
-
this.
|
|
285
|
+
PopupView.prototype.av = function (a) {
|
|
286
|
+
this.x = a;
|
|
262
287
|
if (this.g.an) {
|
|
263
|
-
this.
|
|
264
|
-
}
|
|
265
|
-
if (this.g.as) {
|
|
266
|
-
var b = 0;
|
|
267
|
-
var c = 0;
|
|
268
|
-
switch (this.g.s()) {
|
|
269
|
-
case 3:
|
|
270
|
-
b = -135;
|
|
271
|
-
c = this.z;
|
|
272
|
-
this.s = c;
|
|
273
|
-
this.t = a / 2 - this.z;
|
|
274
|
-
break;
|
|
275
|
-
case 4:
|
|
276
|
-
b = 45;
|
|
277
|
-
c = -this.z;
|
|
278
|
-
this.s = c;
|
|
279
|
-
this.t = a / 2 - this.z;
|
|
280
|
-
break;
|
|
281
|
-
}
|
|
282
|
-
this.r = b;
|
|
283
|
-
this.ah.setStyleProperty("transform", "translate(" + this.s + "px, " + this.t + "px) rotate(" + this.r + "deg)");
|
|
288
|
+
this.bg(false);
|
|
284
289
|
}
|
|
290
|
+
this.bi(this.bs.width, a);
|
|
285
291
|
};
|
|
286
|
-
PopupView.prototype.
|
|
287
|
-
if (null != this.
|
|
288
|
-
var a = this.
|
|
289
|
-
|
|
290
|
-
|
|
292
|
+
PopupView.prototype.bc = function () {
|
|
293
|
+
if (null != this.aj && this.m) {
|
|
294
|
+
var a = this.aj.getNativeElement();
|
|
295
|
+
if (this.g.bd != null) {
|
|
296
|
+
this.g.bd.removeChild(a);
|
|
297
|
+
}
|
|
298
|
+
else {
|
|
299
|
+
document.body.removeChild(a);
|
|
300
|
+
}
|
|
301
|
+
this.m = false;
|
|
291
302
|
}
|
|
292
303
|
};
|
|
293
|
-
PopupView.prototype.
|
|
294
|
-
this.
|
|
295
|
-
this.
|
|
296
|
-
this.
|
|
304
|
+
PopupView.prototype.aw = function (a) {
|
|
305
|
+
this.ai = a;
|
|
306
|
+
this.am.append(this.ai);
|
|
307
|
+
this.ap = new ResizeObserver(runOn(this, this.a3));
|
|
297
308
|
};
|
|
298
|
-
PopupView.prototype.
|
|
299
|
-
if (this.
|
|
300
|
-
if (this.g.ao() && this.g.
|
|
309
|
+
PopupView.prototype.a3 = function (a) {
|
|
310
|
+
if (this.m) {
|
|
311
|
+
if (this.g.ao() && this.g.p == 0) {
|
|
301
312
|
return;
|
|
302
313
|
}
|
|
303
|
-
this.g.
|
|
314
|
+
this.g.b6();
|
|
304
315
|
}
|
|
305
316
|
};
|
|
306
317
|
PopupView.prototype.j = function (a) {
|
|
307
|
-
var b = this.
|
|
318
|
+
var b = this.aj.getNativeElement();
|
|
308
319
|
return b.contains(a);
|
|
309
320
|
};
|
|
310
|
-
PopupView.prototype.
|
|
311
|
-
this.
|
|
312
|
-
this.
|
|
313
|
-
this.
|
|
321
|
+
PopupView.prototype.bb = function (a) {
|
|
322
|
+
this.ai = null;
|
|
323
|
+
this.ap.disconnect();
|
|
324
|
+
this.ap = null;
|
|
314
325
|
a.remove();
|
|
315
326
|
};
|
|
316
327
|
PopupView.prototype.d = function (a) {
|
|
317
|
-
return new AnimationKeyFrameEffect(0, this.
|
|
328
|
+
return new AnimationKeyFrameEffect(0, this.am, 0, null, a);
|
|
318
329
|
};
|
|
319
330
|
PopupView.prototype.e = function (a) {
|
|
320
|
-
return new AnimationKeyFrameEffect(0, this.
|
|
331
|
+
return new AnimationKeyFrameEffect(0, this.an, 0, null, a);
|
|
321
332
|
};
|
|
322
|
-
PopupView.prototype.
|
|
333
|
+
PopupView.prototype.ay = function () {
|
|
323
334
|
if (KeyFrameAnimationFactory.h == null) {
|
|
324
|
-
KeyFrameAnimationFactory.h = this.
|
|
335
|
+
KeyFrameAnimationFactory.h = this.ah;
|
|
325
336
|
}
|
|
326
337
|
};
|
|
327
338
|
PopupView.prototype.c = function (a) {
|
|
328
|
-
return new AnimationKeyFrameEffect(0, this.
|
|
339
|
+
return new AnimationKeyFrameEffect(0, this.aj, 0, null, a);
|
|
329
340
|
};
|
|
330
341
|
PopupView.prototype.b = function (a) {
|
|
331
|
-
return new AnimationKeyFrameEffect(0, this.
|
|
342
|
+
return new AnimationKeyFrameEffect(0, this.an, 0, null, a);
|
|
332
343
|
};
|
|
333
344
|
PopupView.prototype.a = function (a) {
|
|
334
|
-
return new AnimationKeyFrameEffect(0, this.
|
|
345
|
+
return new AnimationKeyFrameEffect(0, this.aj, 0, null, a);
|
|
335
346
|
};
|
|
336
347
|
PopupView.prototype.i = function () {
|
|
337
348
|
return 12;
|
|
@@ -339,24 +350,27 @@ var PopupView = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
339
350
|
PopupView.prototype.h = function () {
|
|
340
351
|
return 11;
|
|
341
352
|
};
|
|
342
|
-
|
|
353
|
+
PopupView.prototype.n = function () {
|
|
354
|
+
return this.g.bd != null && !this.g.aq && !this.l();
|
|
355
|
+
};
|
|
356
|
+
Object.defineProperty(PopupView.prototype, "bs", {
|
|
343
357
|
get: function () {
|
|
344
358
|
if (this.k) {
|
|
345
|
-
this.
|
|
359
|
+
this.a1();
|
|
346
360
|
}
|
|
347
|
-
return this.
|
|
361
|
+
return this.br;
|
|
348
362
|
},
|
|
349
363
|
enumerable: false,
|
|
350
364
|
configurable: true
|
|
351
365
|
});
|
|
352
|
-
PopupView.prototype.
|
|
366
|
+
PopupView.prototype.y = function (a, b, c) {
|
|
353
367
|
var d;
|
|
354
368
|
switch (b) {
|
|
355
369
|
case 3:
|
|
356
|
-
d = a.left - (this.
|
|
370
|
+
d = (!this.n() ? a.left : 0) - (this.bs.width + (this.g.at ? this.aa : 0));
|
|
357
371
|
break;
|
|
358
372
|
case 4:
|
|
359
|
-
d = a.right;
|
|
373
|
+
d = !this.n() ? a.right : a.width;
|
|
360
374
|
break;
|
|
361
375
|
case 0:
|
|
362
376
|
case 2:
|
|
@@ -364,78 +378,78 @@ var PopupView = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
364
378
|
default:
|
|
365
379
|
switch (c) {
|
|
366
380
|
case 2:
|
|
367
|
-
d = a.right - this.
|
|
381
|
+
d = (!this.n() ? a.right : a.width) - this.bs.width;
|
|
368
382
|
break;
|
|
369
383
|
case 3:
|
|
370
|
-
d = a.right - (a.width / 2) - (this.
|
|
384
|
+
d = (!this.n() ? a.right : a.width) - (a.width / 2) - (this.bs.width / 2);
|
|
371
385
|
break;
|
|
372
386
|
case 0:
|
|
373
387
|
case 1:
|
|
374
388
|
default:
|
|
375
|
-
d = a.left;
|
|
389
|
+
d = !this.n() ? a.left : 0;
|
|
376
390
|
break;
|
|
377
391
|
}
|
|
378
392
|
break;
|
|
379
393
|
}
|
|
380
394
|
return d;
|
|
381
395
|
};
|
|
382
|
-
PopupView.prototype.
|
|
396
|
+
PopupView.prototype.z = function (a, b, c) {
|
|
383
397
|
var d;
|
|
384
398
|
switch (b) {
|
|
385
399
|
case 3:
|
|
386
400
|
case 4:
|
|
387
401
|
switch (c) {
|
|
388
402
|
case 2:
|
|
389
|
-
d = a.bottom - this.
|
|
403
|
+
d = (!this.n() ? a.bottom : 0) - this.bs.height;
|
|
390
404
|
break;
|
|
391
405
|
case 3:
|
|
392
|
-
d = a.top - (this.
|
|
406
|
+
d = (!this.n() ? a.top : -a.height) - (this.bs.height / 2) + (a.height / 2);
|
|
393
407
|
break;
|
|
394
408
|
case 0:
|
|
395
409
|
case 1:
|
|
396
410
|
default:
|
|
397
|
-
d = a.top;
|
|
411
|
+
d = !this.n() ? a.top : -a.height;
|
|
398
412
|
break;
|
|
399
413
|
}
|
|
400
414
|
break;
|
|
401
415
|
case 2:
|
|
402
|
-
d = a.top - (this.
|
|
416
|
+
d = (!this.n() ? a.top : -a.height) - (this.bs.height + (this.g.at ? this.aa : 0));
|
|
403
417
|
break;
|
|
404
418
|
case 0:
|
|
405
419
|
case 1:
|
|
406
420
|
default:
|
|
407
|
-
d = a.bottom;
|
|
421
|
+
d = !this.n() ? a.bottom : 0;
|
|
408
422
|
break;
|
|
409
423
|
}
|
|
410
424
|
return d;
|
|
411
425
|
};
|
|
412
|
-
PopupView.
|
|
426
|
+
PopupView.as = function (a) {
|
|
413
427
|
return stringFormat("{0}px", a);
|
|
414
428
|
};
|
|
415
|
-
PopupView.
|
|
429
|
+
PopupView.ar = function (a) {
|
|
416
430
|
return stringFormat("{0}px", a);
|
|
417
431
|
};
|
|
418
|
-
PopupView.prototype.
|
|
419
|
-
if (this.g.
|
|
420
|
-
switch (this.g.
|
|
432
|
+
PopupView.prototype.bj = function () {
|
|
433
|
+
if (this.g.r == 1 || this.g.r == 2) {
|
|
434
|
+
switch (this.g.j) {
|
|
421
435
|
case 3:
|
|
422
|
-
this.
|
|
436
|
+
this.v = this.ad + (this.s - this.q);
|
|
423
437
|
break;
|
|
424
438
|
}
|
|
425
439
|
}
|
|
426
|
-
else if (this.g.
|
|
427
|
-
switch (this.g.
|
|
440
|
+
else if (this.g.r == 3 || this.g.r == 4) {
|
|
441
|
+
switch (this.g.j) {
|
|
428
442
|
case 3:
|
|
429
|
-
this.
|
|
443
|
+
this.w = this.ae + (this.t - this.r);
|
|
430
444
|
break;
|
|
431
445
|
}
|
|
432
446
|
}
|
|
433
|
-
this.
|
|
447
|
+
this.ak.setStyleProperty("transform", "translate(" + this.v + "px, " + this.w + "px) rotate(" + this.u + "deg)");
|
|
434
448
|
};
|
|
435
|
-
PopupView.prototype.
|
|
436
|
-
this.
|
|
437
|
-
this.
|
|
438
|
-
if (this.g.
|
|
449
|
+
PopupView.prototype.ax = function (a, b, c, d) {
|
|
450
|
+
this.s = a;
|
|
451
|
+
this.t = b;
|
|
452
|
+
if (this.g.r == 1 || this.g.r == 2) {
|
|
439
453
|
var e = (window.innerWidth);
|
|
440
454
|
var f = a;
|
|
441
455
|
var g = f + c;
|
|
@@ -446,7 +460,7 @@ var PopupView = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
446
460
|
a = f - (g - (e - 5));
|
|
447
461
|
}
|
|
448
462
|
}
|
|
449
|
-
else if (this.g.
|
|
463
|
+
else if (this.g.r == 3 || this.g.r == 4) {
|
|
450
464
|
var h = (window.innerHeight);
|
|
451
465
|
var i = b;
|
|
452
466
|
var j = i + d;
|
|
@@ -462,162 +476,217 @@ var PopupView = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
462
476
|
p1: b
|
|
463
477
|
};
|
|
464
478
|
};
|
|
465
|
-
PopupView.prototype.
|
|
466
|
-
var d = this.
|
|
467
|
-
var e = this.
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
479
|
+
PopupView.prototype.bq = function (a, b, c) {
|
|
480
|
+
var d = this.z(a, b, c);
|
|
481
|
+
var e = this.y(a, b, c);
|
|
482
|
+
if (this.g.bd == null) {
|
|
483
|
+
var f = this.ax(e, d, this.bs.width, this.bs.height);
|
|
484
|
+
e = f.p0;
|
|
485
|
+
d = f.p1;
|
|
486
|
+
}
|
|
487
|
+
this.bd(e, d);
|
|
472
488
|
if (b == 2 || c == 2) {
|
|
473
489
|
var g = 10;
|
|
474
490
|
while (g > 0) {
|
|
475
|
-
var h = this.
|
|
476
|
-
var i = this.
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
491
|
+
var h = this.z(a, b, c);
|
|
492
|
+
var i = this.y(a, b, c);
|
|
493
|
+
if (this.g.bd == null) {
|
|
494
|
+
var j = this.ax(i, h, this.bs.width, this.bs.height);
|
|
495
|
+
i = j.p0;
|
|
496
|
+
h = j.p1;
|
|
497
|
+
}
|
|
480
498
|
if (h == d && i == e) {
|
|
481
499
|
g = 0;
|
|
482
500
|
break;
|
|
483
501
|
}
|
|
484
502
|
d = h;
|
|
485
503
|
e = i;
|
|
486
|
-
this.
|
|
504
|
+
this.bd(e, d);
|
|
487
505
|
g--;
|
|
488
506
|
}
|
|
489
507
|
}
|
|
490
|
-
this.
|
|
491
|
-
return new Rect(0, e, d, this.
|
|
508
|
+
this.bj();
|
|
509
|
+
return new Rect(0, e, d, this.bs.width, this.bs.height);
|
|
510
|
+
};
|
|
511
|
+
PopupView.prototype.bp = function (a, b, c) {
|
|
512
|
+
var d = new Rect(4);
|
|
513
|
+
var target_ = a;
|
|
514
|
+
if ((target_.getBoundingClientRect)) {
|
|
515
|
+
var bRect_ = target_.getBoundingClientRect();
|
|
516
|
+
d.left = (bRect_.left);
|
|
517
|
+
d.top = (bRect_.top);
|
|
518
|
+
d.width = (bRect_.width);
|
|
519
|
+
d.height = (bRect_.height);
|
|
520
|
+
}
|
|
521
|
+
var e = this.bq(d, b, c);
|
|
522
|
+
return e;
|
|
492
523
|
};
|
|
493
|
-
PopupView.prototype.
|
|
494
|
-
if (this.
|
|
495
|
-
this.
|
|
496
|
-
this.
|
|
497
|
-
this.
|
|
498
|
-
this.
|
|
499
|
-
this.
|
|
524
|
+
PopupView.prototype.a1 = function () {
|
|
525
|
+
if (this.m) {
|
|
526
|
+
this.an.setStyleProperty("width", stringEmpty());
|
|
527
|
+
this.an.setStyleProperty("height", stringEmpty());
|
|
528
|
+
this.aj.setStyleProperty("width", stringEmpty());
|
|
529
|
+
this.aj.setStyleProperty("height", stringEmpty());
|
|
530
|
+
this.aj.setStyleProperty("position", "absolute");
|
|
531
|
+
this.br = new Size(1, this.am.outerWidth(), this.am.outerHeight());
|
|
500
532
|
this.k = false;
|
|
501
|
-
this.
|
|
533
|
+
this.bk();
|
|
502
534
|
}
|
|
503
535
|
else {
|
|
504
536
|
this.k = true;
|
|
505
537
|
}
|
|
506
538
|
};
|
|
507
|
-
PopupView.prototype.
|
|
539
|
+
PopupView.prototype.bd = function (a, b) {
|
|
508
540
|
var c = stringFormat("{0}px", a);
|
|
509
541
|
var d = stringFormat("{0}px", b);
|
|
510
|
-
this.
|
|
511
|
-
this.
|
|
512
|
-
this.
|
|
513
|
-
this.
|
|
542
|
+
this.aj.setStyleProperty("left", c);
|
|
543
|
+
this.aj.setStyleProperty("top", d);
|
|
544
|
+
this.q = a;
|
|
545
|
+
this.r = b;
|
|
514
546
|
};
|
|
515
|
-
PopupView.prototype.
|
|
547
|
+
PopupView.prototype.a9 = function (a) {
|
|
516
548
|
var _this = this;
|
|
517
549
|
if (a == null) {
|
|
518
|
-
this.
|
|
519
|
-
if (this.
|
|
520
|
-
this.
|
|
550
|
+
this.ag = null;
|
|
551
|
+
if (this.aj != null) {
|
|
552
|
+
this.aj.unlistenAll();
|
|
521
553
|
}
|
|
522
554
|
return;
|
|
523
555
|
}
|
|
524
|
-
this.
|
|
556
|
+
this.ag = a;
|
|
525
557
|
var b = a.rootWrapper;
|
|
526
|
-
this.
|
|
527
|
-
this.
|
|
558
|
+
this.az(b);
|
|
559
|
+
this.ag.getPortal(this.am, "ChildContent", function (c) {
|
|
528
560
|
var comp_ = c.componentRef;
|
|
529
|
-
_this.
|
|
561
|
+
_this.aq = comp_;
|
|
530
562
|
}, true);
|
|
531
563
|
};
|
|
532
|
-
PopupView.prototype.
|
|
533
|
-
var a = new Size(1, this.
|
|
534
|
-
if (!this.
|
|
564
|
+
PopupView.prototype.bk = function () {
|
|
565
|
+
var a = new Size(1, this.bs.width, this.bs.height);
|
|
566
|
+
if (!this.m || !this.g.aw) {
|
|
535
567
|
a.height = 0;
|
|
536
568
|
}
|
|
537
569
|
var b = a.width;
|
|
538
570
|
var c = a.height;
|
|
539
571
|
var d = stringFormat("{0}px", b);
|
|
540
572
|
var e = stringFormat("{0}px", c);
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
switch (this.g.s()) {
|
|
573
|
+
this.bi(b, c);
|
|
574
|
+
if (this.g.at) {
|
|
575
|
+
switch (this.g.t()) {
|
|
545
576
|
case 2:
|
|
546
|
-
f = 135;
|
|
547
|
-
g = -this.z;
|
|
548
|
-
this.s = b / 2 - this.z;
|
|
549
|
-
this.t = g;
|
|
550
577
|
d = stringFormat("{0}px", b);
|
|
551
|
-
e = stringFormat("{0}px", this.
|
|
578
|
+
e = stringFormat("{0}px", this.aa + c);
|
|
552
579
|
break;
|
|
553
580
|
case 1:
|
|
554
|
-
f = -45;
|
|
555
|
-
g = this.x - this.z;
|
|
556
|
-
this.s = b / 2 - this.z;
|
|
557
|
-
this.t = g;
|
|
558
581
|
d = stringFormat("{0}px", b);
|
|
559
|
-
e = stringFormat("{0}px", this.
|
|
582
|
+
e = stringFormat("{0}px", this.aa + c);
|
|
560
583
|
break;
|
|
561
584
|
case 3:
|
|
562
|
-
|
|
563
|
-
g = this.x - this.z;
|
|
564
|
-
this.s = g;
|
|
565
|
-
this.t = c / 2 - this.z;
|
|
566
|
-
d = stringFormat("{0}px", this.x + b);
|
|
585
|
+
d = stringFormat("{0}px", this.aa + b);
|
|
567
586
|
e = stringFormat("{0}px", c);
|
|
568
587
|
break;
|
|
569
588
|
case 4:
|
|
570
|
-
|
|
571
|
-
g = -this.z;
|
|
572
|
-
this.s = g;
|
|
573
|
-
this.t = c / 2 - this.z;
|
|
574
|
-
d = stringFormat("{0}px", this.x + b);
|
|
589
|
+
d = stringFormat("{0}px", this.aa + b);
|
|
575
590
|
e = stringFormat("{0}px", c);
|
|
576
591
|
break;
|
|
577
592
|
}
|
|
578
|
-
this.r = f;
|
|
579
|
-
this.ah.setStyleProperty("transform", "translate(" + this.s + "px, " + this.t + "px) rotate(" + this.r + "deg)");
|
|
580
593
|
}
|
|
581
594
|
if (this.f.ao()) {
|
|
582
|
-
if (this.
|
|
595
|
+
if (this.x == c) {
|
|
583
596
|
return;
|
|
584
597
|
}
|
|
585
|
-
this.f.
|
|
586
|
-
this.
|
|
598
|
+
this.f.b2();
|
|
599
|
+
this.p = true;
|
|
587
600
|
return;
|
|
588
601
|
}
|
|
589
|
-
this.
|
|
590
|
-
var
|
|
591
|
-
var
|
|
592
|
-
this.
|
|
593
|
-
this.
|
|
594
|
-
this.
|
|
595
|
-
|
|
602
|
+
this.p = false;
|
|
603
|
+
var f = stringFormat("{0}px", b);
|
|
604
|
+
var g = stringFormat("{0}px", c);
|
|
605
|
+
this.an.setStyleProperty("width", f);
|
|
606
|
+
this.an.setStyleProperty("height", g);
|
|
607
|
+
if (!this.l()) {
|
|
608
|
+
if (this.g.bd != null) {
|
|
609
|
+
e = "0px";
|
|
610
|
+
}
|
|
611
|
+
this.aj.setStyleProperty("width", d);
|
|
612
|
+
this.aj.setStyleProperty("height", e);
|
|
613
|
+
}
|
|
614
|
+
this.be(this.g.aq);
|
|
596
615
|
};
|
|
597
|
-
PopupView.prototype.
|
|
598
|
-
this.
|
|
599
|
-
|
|
616
|
+
PopupView.prototype.bi = function (a, b) {
|
|
617
|
+
if (this.g.at) {
|
|
618
|
+
var c = 0;
|
|
619
|
+
var d = 0;
|
|
620
|
+
switch (this.g.t()) {
|
|
621
|
+
case 2:
|
|
622
|
+
c = 135;
|
|
623
|
+
d = -this.ac;
|
|
624
|
+
this.v = a / 2 - this.ac;
|
|
625
|
+
this.w = d;
|
|
626
|
+
break;
|
|
627
|
+
case 1:
|
|
628
|
+
c = -45;
|
|
629
|
+
d = this.aa - this.ac;
|
|
630
|
+
this.v = a / 2 - this.ac;
|
|
631
|
+
this.w = d;
|
|
632
|
+
break;
|
|
633
|
+
case 3:
|
|
634
|
+
c = -135;
|
|
635
|
+
d = this.aa - this.ac;
|
|
636
|
+
this.v = d;
|
|
637
|
+
this.w = b / 2 - this.ac;
|
|
638
|
+
break;
|
|
639
|
+
case 4:
|
|
640
|
+
c = 45;
|
|
641
|
+
d = -this.ac;
|
|
642
|
+
this.v = d;
|
|
643
|
+
this.w = b / 2 - this.ac;
|
|
644
|
+
break;
|
|
645
|
+
}
|
|
646
|
+
this.u = c;
|
|
647
|
+
this.ak.setStyleProperty("transform", "translate(" + this.v + "px, " + this.w + "px) rotate(" + this.u + "deg)");
|
|
648
|
+
}
|
|
649
|
+
};
|
|
650
|
+
PopupView.prototype.az = function (a) {
|
|
651
|
+
this.ao = a;
|
|
652
|
+
this.a6();
|
|
600
653
|
};
|
|
601
|
-
PopupView.prototype.
|
|
654
|
+
PopupView.prototype.a0 = function (a) {
|
|
602
655
|
this.f = a;
|
|
603
656
|
};
|
|
604
|
-
PopupView.prototype.
|
|
657
|
+
PopupView.prototype.a2 = function () {
|
|
605
658
|
};
|
|
606
|
-
PopupView.prototype.
|
|
607
|
-
this.
|
|
608
|
-
if (this.g.
|
|
659
|
+
PopupView.prototype.ba = function () {
|
|
660
|
+
this.at();
|
|
661
|
+
if (this.g.aw) {
|
|
609
662
|
return;
|
|
610
663
|
}
|
|
611
|
-
this.
|
|
664
|
+
this.bk();
|
|
612
665
|
};
|
|
613
|
-
PopupView.prototype.
|
|
614
|
-
if (this.
|
|
615
|
-
this.
|
|
666
|
+
PopupView.prototype.bg = function (a) {
|
|
667
|
+
if (this.aj != null) {
|
|
668
|
+
this.aj.setStyleProperty("pointer-events", a ? "auto" : "none");
|
|
616
669
|
}
|
|
617
670
|
};
|
|
618
|
-
PopupView.prototype.
|
|
619
|
-
if (this.
|
|
620
|
-
this.
|
|
671
|
+
PopupView.prototype.bf = function (a) {
|
|
672
|
+
if (this.aj != null) {
|
|
673
|
+
this.aj.setAttribute("tabindex", a ? "-1" : "");
|
|
674
|
+
}
|
|
675
|
+
};
|
|
676
|
+
PopupView.prototype.be = function (a) {
|
|
677
|
+
if (this.aj != null) {
|
|
678
|
+
this.aj.setStyleProperty("position", a ? "fixed" : this.g.bd != null ? "relative" : "absolute");
|
|
679
|
+
}
|
|
680
|
+
};
|
|
681
|
+
PopupView.prototype.bh = function (a) {
|
|
682
|
+
if (this.aj != null && this.o()) {
|
|
683
|
+
var b = this.aj.getNativeElement();
|
|
684
|
+
if (a) {
|
|
685
|
+
b.popover = "manual";
|
|
686
|
+
}
|
|
687
|
+
else {
|
|
688
|
+
b.popover = undefined;
|
|
689
|
+
}
|
|
621
690
|
}
|
|
622
691
|
};
|
|
623
692
|
PopupView.$t = markType(PopupView, 'PopupView');
|
|
@@ -631,13 +700,12 @@ var Popup = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
631
700
|
__extends(Popup, _super);
|
|
632
701
|
function Popup() {
|
|
633
702
|
var _this = _super.call(this) || this;
|
|
634
|
-
_this.
|
|
635
|
-
_this.
|
|
636
|
-
_this.
|
|
637
|
-
_this.
|
|
638
|
-
_this.
|
|
639
|
-
_this.
|
|
640
|
-
_this.ab = null;
|
|
703
|
+
_this.q = 0;
|
|
704
|
+
_this.i = 0;
|
|
705
|
+
_this.a1 = 0;
|
|
706
|
+
_this.c3 = null;
|
|
707
|
+
_this.c1 = null;
|
|
708
|
+
_this.bb = null;
|
|
641
709
|
_this.onClosed = null;
|
|
642
710
|
_this.onPopup = null;
|
|
643
711
|
_this.propertyChanged = null;
|
|
@@ -645,90 +713,102 @@ var Popup = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
645
713
|
_this.popupMouseLeave = null;
|
|
646
714
|
_this.popupGotFocus = null;
|
|
647
715
|
_this.popupLostFocus = null;
|
|
648
|
-
_this.
|
|
649
|
-
_this.
|
|
650
|
-
_this.
|
|
716
|
+
_this.w = null;
|
|
717
|
+
_this.af = false;
|
|
718
|
+
_this.a7 = 50;
|
|
651
719
|
_this.ak = true;
|
|
652
|
-
_this.
|
|
653
|
-
_this.
|
|
654
|
-
_this.
|
|
655
|
-
_this.
|
|
656
|
-
_this.
|
|
657
|
-
_this.
|
|
658
|
-
_this.
|
|
659
|
-
_this.
|
|
660
|
-
_this.
|
|
661
|
-
_this.
|
|
662
|
-
_this.
|
|
720
|
+
_this.o = 0;
|
|
721
|
+
_this.a5 = -1;
|
|
722
|
+
_this.a4 = Popup.a9;
|
|
723
|
+
_this.av = false;
|
|
724
|
+
_this.cq = Popup.cz;
|
|
725
|
+
_this.cp = Popup.cy;
|
|
726
|
+
_this.co = Popup.cx;
|
|
727
|
+
_this.cr = null;
|
|
728
|
+
_this.ay = 0;
|
|
729
|
+
_this.ag = true;
|
|
730
|
+
_this.ac = false;
|
|
731
|
+
_this.ah = false;
|
|
732
|
+
_this.s = 0;
|
|
733
|
+
_this.cs = null;
|
|
734
|
+
_this.az = 20;
|
|
663
735
|
_this.ai = false;
|
|
664
|
-
_this.
|
|
665
|
-
_this.
|
|
666
|
-
_this.ax = 20;
|
|
736
|
+
_this.ad = false;
|
|
737
|
+
_this.ae = false;
|
|
667
738
|
_this.aj = false;
|
|
668
|
-
_this.
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
_this
|
|
672
|
-
a.ax(_this);
|
|
739
|
+
_this.k = null;
|
|
740
|
+
var a = _this.v();
|
|
741
|
+
_this.w = a;
|
|
742
|
+
a.a0(_this);
|
|
673
743
|
return _this;
|
|
674
744
|
}
|
|
675
|
-
Object.defineProperty(Popup.prototype, "
|
|
745
|
+
Object.defineProperty(Popup.prototype, "c4", {
|
|
676
746
|
get: function () {
|
|
677
|
-
return this.
|
|
747
|
+
return this.c3;
|
|
678
748
|
},
|
|
679
749
|
enumerable: false,
|
|
680
750
|
configurable: true
|
|
681
751
|
});
|
|
682
|
-
Object.defineProperty(Popup.prototype, "
|
|
752
|
+
Object.defineProperty(Popup.prototype, "c2", {
|
|
683
753
|
get: function () {
|
|
684
|
-
return this.
|
|
754
|
+
return this.c1;
|
|
685
755
|
},
|
|
686
756
|
enumerable: false,
|
|
687
757
|
configurable: true
|
|
688
758
|
});
|
|
689
|
-
Object.defineProperty(Popup.prototype, "
|
|
759
|
+
Object.defineProperty(Popup.prototype, "r", {
|
|
690
760
|
get: function () {
|
|
691
|
-
return this.
|
|
761
|
+
return this.q;
|
|
762
|
+
},
|
|
763
|
+
set: function (a) {
|
|
764
|
+
this.q = a;
|
|
692
765
|
},
|
|
693
766
|
enumerable: false,
|
|
694
767
|
configurable: true
|
|
695
768
|
});
|
|
696
|
-
Object.defineProperty(Popup.prototype, "
|
|
769
|
+
Object.defineProperty(Popup.prototype, "j", {
|
|
697
770
|
get: function () {
|
|
698
|
-
return this.
|
|
771
|
+
return this.i;
|
|
699
772
|
},
|
|
700
773
|
enumerable: false,
|
|
701
774
|
configurable: true
|
|
702
775
|
});
|
|
703
|
-
Object.defineProperty(Popup.prototype, "
|
|
776
|
+
Object.defineProperty(Popup.prototype, "a2", {
|
|
704
777
|
get: function () {
|
|
705
|
-
return this.
|
|
778
|
+
return this.a1;
|
|
779
|
+
},
|
|
780
|
+
enumerable: false,
|
|
781
|
+
configurable: true
|
|
782
|
+
});
|
|
783
|
+
Object.defineProperty(Popup.prototype, "bd", {
|
|
784
|
+
get: function () {
|
|
785
|
+
return this.bb;
|
|
706
786
|
},
|
|
707
787
|
enumerable: false,
|
|
708
788
|
configurable: true
|
|
709
789
|
});
|
|
710
|
-
Popup.prototype.
|
|
790
|
+
Popup.prototype.cd = function (a, b, c) {
|
|
711
791
|
if (this.propertyChanged != null) {
|
|
712
792
|
this.propertyChanged(this, new PropertyChangedEventArgs(a));
|
|
713
793
|
}
|
|
714
|
-
this.
|
|
794
|
+
this.cg(a, b, c);
|
|
715
795
|
};
|
|
716
|
-
Popup.prototype.
|
|
796
|
+
Popup.prototype.cb = function () {
|
|
717
797
|
if (this.popupMouseEnter != null) {
|
|
718
798
|
this.popupMouseEnter(this, new MouseEventArgs());
|
|
719
799
|
}
|
|
720
800
|
};
|
|
721
|
-
Popup.prototype.
|
|
801
|
+
Popup.prototype.cc = function () {
|
|
722
802
|
if (this.popupMouseLeave != null) {
|
|
723
803
|
this.popupMouseLeave(this, new MouseEventArgs());
|
|
724
804
|
}
|
|
725
805
|
};
|
|
726
|
-
Popup.prototype.
|
|
806
|
+
Popup.prototype.b9 = function () {
|
|
727
807
|
if (this.popupGotFocus != null) {
|
|
728
808
|
this.popupGotFocus(this, new FocusEventArgs());
|
|
729
809
|
}
|
|
730
810
|
};
|
|
731
|
-
Popup.prototype.
|
|
811
|
+
Popup.prototype.ca = function (a) {
|
|
732
812
|
if (this.popupLostFocus != null) {
|
|
733
813
|
this.popupLostFocus(this, ((function () {
|
|
734
814
|
var $ret = new FocusEventArgs();
|
|
@@ -737,29 +817,29 @@ var Popup = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
737
817
|
})()));
|
|
738
818
|
}
|
|
739
819
|
};
|
|
740
|
-
Object.defineProperty(Popup.prototype, "
|
|
820
|
+
Object.defineProperty(Popup.prototype, "ar", {
|
|
741
821
|
get: function () {
|
|
742
|
-
return this.
|
|
822
|
+
return this.af;
|
|
743
823
|
},
|
|
744
824
|
set: function (a) {
|
|
745
|
-
var b = this.
|
|
746
|
-
this.
|
|
747
|
-
if (b != this.
|
|
748
|
-
this.
|
|
825
|
+
var b = this.af;
|
|
826
|
+
this.af = a;
|
|
827
|
+
if (b != this.af) {
|
|
828
|
+
this.cd("IsFocusable", b, this.af);
|
|
749
829
|
}
|
|
750
830
|
},
|
|
751
831
|
enumerable: false,
|
|
752
832
|
configurable: true
|
|
753
833
|
});
|
|
754
|
-
Object.defineProperty(Popup.prototype, "
|
|
834
|
+
Object.defineProperty(Popup.prototype, "a8", {
|
|
755
835
|
get: function () {
|
|
756
|
-
return this.
|
|
836
|
+
return this.a7;
|
|
757
837
|
},
|
|
758
838
|
set: function (a) {
|
|
759
|
-
var b = this.
|
|
760
|
-
this.
|
|
761
|
-
if (b != this.
|
|
762
|
-
this.
|
|
839
|
+
var b = this.a7;
|
|
840
|
+
this.a7 = a;
|
|
841
|
+
if (b != this.a7) {
|
|
842
|
+
this.cd("AnimationDuration", b, a);
|
|
763
843
|
}
|
|
764
844
|
},
|
|
765
845
|
enumerable: false,
|
|
@@ -773,140 +853,140 @@ var Popup = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
773
853
|
var b = this.ak;
|
|
774
854
|
this.ak = a;
|
|
775
855
|
if (b != this.ak) {
|
|
776
|
-
this.
|
|
856
|
+
this.cd("AnimationEnabled", b, a);
|
|
777
857
|
}
|
|
778
858
|
},
|
|
779
859
|
enumerable: false,
|
|
780
860
|
configurable: true
|
|
781
861
|
});
|
|
782
|
-
Object.defineProperty(Popup.prototype, "
|
|
862
|
+
Object.defineProperty(Popup.prototype, "p", {
|
|
783
863
|
get: function () {
|
|
784
|
-
return this.
|
|
864
|
+
return this.o;
|
|
785
865
|
},
|
|
786
866
|
set: function (a) {
|
|
787
|
-
var b = this.
|
|
788
|
-
this.
|
|
789
|
-
if (b != this.
|
|
790
|
-
this.
|
|
867
|
+
var b = this.o;
|
|
868
|
+
this.o = a;
|
|
869
|
+
if (b != this.o) {
|
|
870
|
+
this.cd("AnimationType", enumGetBox(PopupAnimationType_$type, b), enumGetBox(PopupAnimationType_$type, this.o));
|
|
791
871
|
}
|
|
792
872
|
},
|
|
793
873
|
enumerable: false,
|
|
794
874
|
configurable: true
|
|
795
875
|
});
|
|
796
|
-
Object.defineProperty(Popup.prototype, "
|
|
876
|
+
Object.defineProperty(Popup.prototype, "ba", {
|
|
797
877
|
get: function () {
|
|
798
|
-
return this.
|
|
878
|
+
return this.a5;
|
|
799
879
|
},
|
|
800
880
|
set: function (a) {
|
|
801
|
-
var b = this.
|
|
802
|
-
this.
|
|
803
|
-
if (b != this.
|
|
804
|
-
this.
|
|
881
|
+
var b = this.a5;
|
|
882
|
+
this.a5 = a;
|
|
883
|
+
if (b != this.a5) {
|
|
884
|
+
this.cd("Elevation", b, a);
|
|
805
885
|
}
|
|
806
886
|
},
|
|
807
887
|
enumerable: false,
|
|
808
888
|
configurable: true
|
|
809
889
|
});
|
|
810
|
-
Object.defineProperty(Popup.prototype, "
|
|
890
|
+
Object.defineProperty(Popup.prototype, "a6", {
|
|
811
891
|
get: function () {
|
|
812
|
-
return this.
|
|
892
|
+
return this.a4;
|
|
813
893
|
},
|
|
814
894
|
set: function (a) {
|
|
815
|
-
var b = this.
|
|
816
|
-
this.
|
|
817
|
-
if (b != this.
|
|
818
|
-
this.
|
|
895
|
+
var b = this.a4;
|
|
896
|
+
this.a4 = a;
|
|
897
|
+
if (b != this.a4) {
|
|
898
|
+
this.cd("ActualElevation", b, a);
|
|
819
899
|
}
|
|
820
900
|
},
|
|
821
901
|
enumerable: false,
|
|
822
902
|
configurable: true
|
|
823
903
|
});
|
|
824
|
-
Object.defineProperty(Popup.prototype, "
|
|
904
|
+
Object.defineProperty(Popup.prototype, "aw", {
|
|
825
905
|
get: function () {
|
|
826
|
-
return this.
|
|
906
|
+
return this.av;
|
|
827
907
|
},
|
|
828
908
|
enumerable: false,
|
|
829
909
|
configurable: true
|
|
830
910
|
});
|
|
831
|
-
Object.defineProperty(Popup.prototype, "
|
|
911
|
+
Object.defineProperty(Popup.prototype, "cv", {
|
|
832
912
|
get: function () {
|
|
833
|
-
return this.
|
|
913
|
+
return this.cq;
|
|
834
914
|
},
|
|
835
915
|
set: function (a) {
|
|
836
|
-
var b = this.
|
|
837
|
-
this.
|
|
838
|
-
if (b != this.
|
|
839
|
-
this.
|
|
916
|
+
var b = this.cq;
|
|
917
|
+
this.cq = a;
|
|
918
|
+
if (b != this.cq) {
|
|
919
|
+
this.cd("ActualUmbraShadowColor", b, a);
|
|
840
920
|
}
|
|
841
921
|
},
|
|
842
922
|
enumerable: false,
|
|
843
923
|
configurable: true
|
|
844
924
|
});
|
|
845
|
-
Object.defineProperty(Popup.prototype, "
|
|
925
|
+
Object.defineProperty(Popup.prototype, "cu", {
|
|
846
926
|
get: function () {
|
|
847
|
-
return this.
|
|
927
|
+
return this.cp;
|
|
848
928
|
},
|
|
849
929
|
set: function (a) {
|
|
850
|
-
var b = this.
|
|
851
|
-
this.
|
|
852
|
-
if (b != this.
|
|
853
|
-
this.
|
|
930
|
+
var b = this.cp;
|
|
931
|
+
this.cp = a;
|
|
932
|
+
if (b != this.cp) {
|
|
933
|
+
this.cd("ActualPenumbraShadowColor", b, a);
|
|
854
934
|
}
|
|
855
935
|
},
|
|
856
936
|
enumerable: false,
|
|
857
937
|
configurable: true
|
|
858
938
|
});
|
|
859
|
-
Object.defineProperty(Popup.prototype, "
|
|
939
|
+
Object.defineProperty(Popup.prototype, "ct", {
|
|
860
940
|
get: function () {
|
|
861
|
-
return this.
|
|
941
|
+
return this.co;
|
|
862
942
|
},
|
|
863
943
|
set: function (a) {
|
|
864
|
-
var b = this.
|
|
865
|
-
this.
|
|
866
|
-
if (b != this.
|
|
867
|
-
this.
|
|
944
|
+
var b = this.co;
|
|
945
|
+
this.co = a;
|
|
946
|
+
if (b != this.co) {
|
|
947
|
+
this.cd("ActualAmbientShadowColor", b, a);
|
|
868
948
|
}
|
|
869
949
|
},
|
|
870
950
|
enumerable: false,
|
|
871
951
|
configurable: true
|
|
872
952
|
});
|
|
873
|
-
Object.defineProperty(Popup.prototype, "
|
|
953
|
+
Object.defineProperty(Popup.prototype, "cw", {
|
|
874
954
|
get: function () {
|
|
875
|
-
return this.
|
|
955
|
+
return this.cr;
|
|
876
956
|
},
|
|
877
957
|
set: function (a) {
|
|
878
|
-
var b = this.
|
|
879
|
-
this.
|
|
880
|
-
if (b != this.
|
|
881
|
-
this.
|
|
958
|
+
var b = this.cr;
|
|
959
|
+
this.cr = a;
|
|
960
|
+
if (b != this.cr) {
|
|
961
|
+
this.cd("Background", b, this.cr);
|
|
882
962
|
}
|
|
883
963
|
},
|
|
884
964
|
enumerable: false,
|
|
885
965
|
configurable: true
|
|
886
966
|
});
|
|
887
|
-
Object.defineProperty(Popup.prototype, "
|
|
967
|
+
Object.defineProperty(Popup.prototype, "a0", {
|
|
888
968
|
get: function () {
|
|
889
|
-
return this.
|
|
969
|
+
return this.ay;
|
|
890
970
|
},
|
|
891
971
|
set: function (a) {
|
|
892
|
-
var b = this.
|
|
893
|
-
this.
|
|
894
|
-
if (b != this.
|
|
895
|
-
this.
|
|
972
|
+
var b = this.ay;
|
|
973
|
+
this.ay = a;
|
|
974
|
+
if (b != this.ay) {
|
|
975
|
+
this.cd("CornerRadius", b, this.ay);
|
|
896
976
|
}
|
|
897
977
|
},
|
|
898
978
|
enumerable: false,
|
|
899
979
|
configurable: true
|
|
900
980
|
});
|
|
901
|
-
Object.defineProperty(Popup.prototype, "
|
|
981
|
+
Object.defineProperty(Popup.prototype, "as", {
|
|
902
982
|
get: function () {
|
|
903
|
-
return this.
|
|
983
|
+
return this.ag;
|
|
904
984
|
},
|
|
905
985
|
set: function (a) {
|
|
906
|
-
var b = this.
|
|
907
|
-
this.
|
|
908
|
-
if (b != this.
|
|
909
|
-
this.
|
|
986
|
+
var b = this.ag;
|
|
987
|
+
this.ag = a;
|
|
988
|
+
if (b != this.ag) {
|
|
989
|
+
this.cd("IsHitTestVisible", b, this.ag);
|
|
910
990
|
}
|
|
911
991
|
},
|
|
912
992
|
enumerable: false,
|
|
@@ -914,106 +994,135 @@ var Popup = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
914
994
|
});
|
|
915
995
|
Object.defineProperty(Popup.prototype, "an", {
|
|
916
996
|
get: function () {
|
|
917
|
-
return this.
|
|
997
|
+
return this.ac;
|
|
918
998
|
},
|
|
919
999
|
set: function (a) {
|
|
920
|
-
var b = this.
|
|
921
|
-
this.
|
|
922
|
-
if (b != this.
|
|
923
|
-
this.
|
|
1000
|
+
var b = this.ac;
|
|
1001
|
+
this.ac = a;
|
|
1002
|
+
if (b != this.ac) {
|
|
1003
|
+
this.cd("DisableHitTestDuringAnimation", b, this.ac);
|
|
924
1004
|
}
|
|
925
1005
|
},
|
|
926
1006
|
enumerable: false,
|
|
927
1007
|
configurable: true
|
|
928
1008
|
});
|
|
929
|
-
Object.defineProperty(Popup.prototype, "
|
|
1009
|
+
Object.defineProperty(Popup.prototype, "at", {
|
|
930
1010
|
get: function () {
|
|
931
|
-
return this.
|
|
1011
|
+
return this.ah;
|
|
932
1012
|
},
|
|
933
1013
|
set: function (a) {
|
|
934
|
-
var b = this.
|
|
935
|
-
this.
|
|
936
|
-
if (b != this.
|
|
937
|
-
this.
|
|
1014
|
+
var b = this.ah;
|
|
1015
|
+
this.ah = a;
|
|
1016
|
+
if (b != this.ah) {
|
|
1017
|
+
this.cd("IsPointerEnabled", b, this.ah);
|
|
938
1018
|
}
|
|
939
1019
|
},
|
|
940
1020
|
enumerable: false,
|
|
941
1021
|
configurable: true
|
|
942
1022
|
});
|
|
943
|
-
Object.defineProperty(Popup.prototype, "
|
|
1023
|
+
Object.defineProperty(Popup.prototype, "u", {
|
|
944
1024
|
get: function () {
|
|
945
|
-
return this.
|
|
1025
|
+
return this.s;
|
|
946
1026
|
},
|
|
947
1027
|
set: function (a) {
|
|
948
|
-
var b = this.
|
|
949
|
-
this.
|
|
950
|
-
if (b != this.
|
|
951
|
-
this.
|
|
1028
|
+
var b = this.s;
|
|
1029
|
+
this.s = a;
|
|
1030
|
+
if (b != this.s) {
|
|
1031
|
+
this.cd("PointerPosition", enumGetBox(PopupPointerPosition_$type, b), enumGetBox(PopupPointerPosition_$type, this.s));
|
|
952
1032
|
}
|
|
953
1033
|
},
|
|
954
1034
|
enumerable: false,
|
|
955
1035
|
configurable: true
|
|
956
1036
|
});
|
|
957
|
-
Object.defineProperty(Popup.prototype, "
|
|
1037
|
+
Object.defineProperty(Popup.prototype, "c0", {
|
|
958
1038
|
get: function () {
|
|
959
|
-
return this.
|
|
1039
|
+
return this.cs;
|
|
960
1040
|
},
|
|
961
1041
|
set: function (a) {
|
|
962
|
-
var b = this.
|
|
963
|
-
this.
|
|
964
|
-
if (b != this.
|
|
965
|
-
this.
|
|
1042
|
+
var b = this.cs;
|
|
1043
|
+
this.cs = a;
|
|
1044
|
+
if (b != this.cs) {
|
|
1045
|
+
this.cd("PointerBackground", b, this.cs);
|
|
966
1046
|
}
|
|
967
1047
|
},
|
|
968
1048
|
enumerable: false,
|
|
969
1049
|
configurable: true
|
|
970
1050
|
});
|
|
971
|
-
Object.defineProperty(Popup.prototype, "
|
|
1051
|
+
Object.defineProperty(Popup.prototype, "a3", {
|
|
972
1052
|
get: function () {
|
|
973
|
-
return this.
|
|
1053
|
+
return this.az;
|
|
974
1054
|
},
|
|
975
1055
|
set: function (a) {
|
|
976
|
-
var b = this.
|
|
977
|
-
this.
|
|
978
|
-
if (b != this.
|
|
979
|
-
this.
|
|
1056
|
+
var b = this.az;
|
|
1057
|
+
this.az = a;
|
|
1058
|
+
if (b != this.az) {
|
|
1059
|
+
this.cd("PointerSize", b, this.az);
|
|
980
1060
|
}
|
|
981
1061
|
},
|
|
982
1062
|
enumerable: false,
|
|
983
1063
|
configurable: true
|
|
984
1064
|
});
|
|
985
|
-
Object.defineProperty(Popup.prototype, "
|
|
1065
|
+
Object.defineProperty(Popup.prototype, "au", {
|
|
986
1066
|
get: function () {
|
|
987
|
-
return this.
|
|
1067
|
+
return this.ai;
|
|
988
1068
|
},
|
|
989
1069
|
set: function (a) {
|
|
990
|
-
this.
|
|
1070
|
+
this.ai = a;
|
|
991
1071
|
},
|
|
992
1072
|
enumerable: false,
|
|
993
1073
|
configurable: true
|
|
994
1074
|
});
|
|
995
1075
|
Object.defineProperty(Popup.prototype, "ap", {
|
|
996
1076
|
get: function () {
|
|
997
|
-
return this.
|
|
1077
|
+
return this.ad;
|
|
998
1078
|
},
|
|
999
1079
|
set: function (a) {
|
|
1000
|
-
this.
|
|
1080
|
+
this.ad = a;
|
|
1081
|
+
},
|
|
1082
|
+
enumerable: false,
|
|
1083
|
+
configurable: true
|
|
1084
|
+
});
|
|
1085
|
+
Object.defineProperty(Popup.prototype, "aq", {
|
|
1086
|
+
get: function () {
|
|
1087
|
+
return this.ae;
|
|
1088
|
+
},
|
|
1089
|
+
set: function (a) {
|
|
1090
|
+
var b = this.ae;
|
|
1091
|
+
this.ae = a;
|
|
1092
|
+
if (b != this.ae) {
|
|
1093
|
+
this.cd("IsFixed", b, this.ae);
|
|
1094
|
+
}
|
|
1001
1095
|
},
|
|
1002
1096
|
enumerable: false,
|
|
1003
1097
|
configurable: true
|
|
1004
1098
|
});
|
|
1005
|
-
Popup.prototype
|
|
1099
|
+
Object.defineProperty(Popup.prototype, "ax", {
|
|
1100
|
+
get: function () {
|
|
1101
|
+
return this.aj;
|
|
1102
|
+
},
|
|
1103
|
+
set: function (a) {
|
|
1104
|
+
var b = this.aj;
|
|
1105
|
+
this.aj = a;
|
|
1106
|
+
if (b != this.aj) {
|
|
1107
|
+
this.cd("UseTopLayer", b, this.aj);
|
|
1108
|
+
}
|
|
1109
|
+
},
|
|
1110
|
+
enumerable: false,
|
|
1111
|
+
configurable: true
|
|
1112
|
+
});
|
|
1113
|
+
Popup.prototype.v = function () {
|
|
1006
1114
|
return new PopupView();
|
|
1007
1115
|
};
|
|
1008
|
-
Popup.prototype.
|
|
1116
|
+
Popup.prototype.cg = function (a, b, c) {
|
|
1009
1117
|
switch (a) {
|
|
1010
1118
|
case "IsShown":
|
|
1011
|
-
if (false == this.
|
|
1012
|
-
this.
|
|
1119
|
+
if (false == this.aw) {
|
|
1120
|
+
this.w.bc();
|
|
1121
|
+
this.bb = null;
|
|
1013
1122
|
}
|
|
1014
1123
|
break;
|
|
1015
1124
|
case "Elevation":
|
|
1016
|
-
this.
|
|
1125
|
+
this.a6 = this.ba == -1 ? Popup.a9 : this.ba;
|
|
1017
1126
|
break;
|
|
1018
1127
|
case "ActualElevation":
|
|
1019
1128
|
case "ActualUmbraShadowColor":
|
|
@@ -1021,35 +1130,40 @@ var Popup = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1021
1130
|
case "ActualAmbientShadowColor":
|
|
1022
1131
|
case "Background":
|
|
1023
1132
|
case "CornerRadius":
|
|
1024
|
-
this.
|
|
1133
|
+
this.w.bo();
|
|
1025
1134
|
break;
|
|
1026
1135
|
case "AnimationEnabled":
|
|
1027
1136
|
if (false == this.al) {
|
|
1028
|
-
this.
|
|
1137
|
+
this.b2();
|
|
1029
1138
|
}
|
|
1030
1139
|
break;
|
|
1031
1140
|
case "IsHitTestVisible":
|
|
1032
|
-
this.
|
|
1141
|
+
this.w.bg(this.as);
|
|
1033
1142
|
break;
|
|
1034
1143
|
case "IsFocusable":
|
|
1035
|
-
this.
|
|
1144
|
+
this.w.bf(this.ar);
|
|
1145
|
+
break;
|
|
1146
|
+
case "IsFixed":
|
|
1147
|
+
this.w.be(this.aq);
|
|
1148
|
+
break;
|
|
1149
|
+
case "UseTopLayer":
|
|
1150
|
+
this.w.bh(this.ax);
|
|
1036
1151
|
break;
|
|
1037
1152
|
}
|
|
1038
1153
|
};
|
|
1039
|
-
Popup.prototype.
|
|
1154
|
+
Popup.prototype.b2 = function () {
|
|
1040
1155
|
if (this.ao()) {
|
|
1041
|
-
|
|
1042
|
-
this.
|
|
1043
|
-
|
|
1044
|
-
|
|
1045
|
-
this.aa.cancel();
|
|
1156
|
+
for (var a = 0; a < this.k.a.count; a++) {
|
|
1157
|
+
if (this.k.a._inner[a].playState == 1) {
|
|
1158
|
+
this.k.a._inner[a].cancel();
|
|
1159
|
+
}
|
|
1046
1160
|
}
|
|
1047
1161
|
}
|
|
1048
1162
|
};
|
|
1049
|
-
Popup.prototype.
|
|
1050
|
-
var b = this.
|
|
1051
|
-
var c = a ? this.
|
|
1052
|
-
var d = this.
|
|
1163
|
+
Popup.prototype.z = function (a) {
|
|
1164
|
+
var b = this.g(a);
|
|
1165
|
+
var c = a ? this.c() : this.b();
|
|
1166
|
+
var d = this.w.d(c);
|
|
1053
1167
|
var e = new List$1(AnimationKeyFrameProperty.$, 0);
|
|
1054
1168
|
var f = new List$1(AnimationKeyFrameProperty.$, 0);
|
|
1055
1169
|
var g = new TranslateTransform();
|
|
@@ -1064,52 +1178,60 @@ var Popup = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1064
1178
|
d.m.apply(d, __spreadArray([], __read(f.toArray())));
|
|
1065
1179
|
return KeyFrameAnimationFactory.f.c(d);
|
|
1066
1180
|
};
|
|
1067
|
-
Popup.prototype.
|
|
1068
|
-
var b =
|
|
1069
|
-
this.
|
|
1070
|
-
|
|
1071
|
-
var d = this.
|
|
1072
|
-
var e =
|
|
1181
|
+
Popup.prototype.a = function (a) {
|
|
1182
|
+
var b = new List$1(IKeyFrameAnimation_$type, 0);
|
|
1183
|
+
var c = this.h(a);
|
|
1184
|
+
this.w.av(c.h);
|
|
1185
|
+
var d = a ? this.c() : this.b();
|
|
1186
|
+
var e = this.w.e(d);
|
|
1073
1187
|
var f = new List$1(AnimationKeyFrameProperty.$, 0);
|
|
1074
|
-
var g = new AnimationKeyFrameProperty
|
|
1075
|
-
var h = new AnimationKeyFrameProperty(10,
|
|
1076
|
-
|
|
1188
|
+
var g = new List$1(AnimationKeyFrameProperty.$, 0);
|
|
1189
|
+
var h = new AnimationKeyFrameProperty(10, c.g);
|
|
1190
|
+
var i = new AnimationKeyFrameProperty(10, c.h);
|
|
1077
1191
|
f.add(h);
|
|
1078
|
-
|
|
1079
|
-
|
|
1080
|
-
|
|
1081
|
-
|
|
1082
|
-
|
|
1083
|
-
|
|
1084
|
-
f
|
|
1192
|
+
g.add(i);
|
|
1193
|
+
e.m.apply(e, __spreadArray([], __read(f.toArray())));
|
|
1194
|
+
e.m.apply(e, __spreadArray([], __read(g.toArray())));
|
|
1195
|
+
b.add(KeyFrameAnimationFactory.f.c(e));
|
|
1196
|
+
if (this.q == 2) {
|
|
1197
|
+
var j = c.c;
|
|
1198
|
+
var k = c.f;
|
|
1199
|
+
var l = this.w.c(d);
|
|
1200
|
+
var m = new List$1(AnimationKeyFrameProperty.$, 0);
|
|
1201
|
+
var n = new List$1(AnimationKeyFrameProperty.$, 0);
|
|
1202
|
+
var o = new AnimationKeyFrameProperty(12, j);
|
|
1203
|
+
var p = new AnimationKeyFrameProperty(12, k);
|
|
1204
|
+
m.add(o);
|
|
1205
|
+
n.add(p);
|
|
1206
|
+
l.m.apply(l, __spreadArray([], __read(m.toArray())));
|
|
1207
|
+
l.m.apply(l, __spreadArray([], __read(n.toArray())));
|
|
1208
|
+
b.add(KeyFrameAnimationFactory.f.c(l));
|
|
1085
1209
|
}
|
|
1086
|
-
|
|
1087
|
-
d.m.apply(d, __spreadArray([], __read(f.toArray())));
|
|
1088
|
-
return KeyFrameAnimationFactory.f.c(d);
|
|
1210
|
+
return b.toArray();
|
|
1089
1211
|
};
|
|
1090
|
-
Popup.prototype.
|
|
1212
|
+
Popup.prototype.b = function () {
|
|
1091
1213
|
var a = new AnimationKeyFrameEffectTiming();
|
|
1092
|
-
a.g = this.
|
|
1214
|
+
a.g = this.a8;
|
|
1093
1215
|
a.b = 3;
|
|
1094
1216
|
return a;
|
|
1095
1217
|
};
|
|
1096
|
-
Popup.prototype.
|
|
1218
|
+
Popup.prototype.c = function () {
|
|
1097
1219
|
var a = new AnimationKeyFrameEffectTiming();
|
|
1098
|
-
a.g = this.
|
|
1220
|
+
a.g = this.a8;
|
|
1099
1221
|
a.b = 3;
|
|
1100
1222
|
return a;
|
|
1101
1223
|
};
|
|
1102
|
-
Popup.prototype.
|
|
1103
|
-
this.
|
|
1224
|
+
Popup.prototype.b5 = function () {
|
|
1225
|
+
this.w.ay();
|
|
1104
1226
|
};
|
|
1105
|
-
Popup.prototype.
|
|
1106
|
-
var b = truncate(this.
|
|
1227
|
+
Popup.prototype.g = function (a) {
|
|
1228
|
+
var b = truncate(this.w.bs.height);
|
|
1107
1229
|
if (b <= 0) {
|
|
1108
1230
|
b = 500;
|
|
1109
1231
|
}
|
|
1110
1232
|
var c = a ? -b : 0;
|
|
1111
1233
|
var d = a ? 0 : -b;
|
|
1112
|
-
if (this.
|
|
1234
|
+
if (this.q == 2) {
|
|
1113
1235
|
c = 0;
|
|
1114
1236
|
d = 0;
|
|
1115
1237
|
}
|
|
@@ -1121,35 +1243,35 @@ var Popup = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1121
1243
|
})());
|
|
1122
1244
|
return e;
|
|
1123
1245
|
};
|
|
1124
|
-
Popup.prototype.
|
|
1125
|
-
var b = truncate(this.
|
|
1246
|
+
Popup.prototype.h = function (a) {
|
|
1247
|
+
var b = truncate(this.w.bs.height);
|
|
1126
1248
|
if (b <= 0) {
|
|
1127
1249
|
b = 500;
|
|
1128
1250
|
}
|
|
1129
1251
|
var c = a ? 0 : b;
|
|
1130
1252
|
var d = a ? b : 0;
|
|
1131
|
-
var e = this.
|
|
1132
|
-
var f = this.
|
|
1133
|
-
var g = this.
|
|
1253
|
+
var e = this.c3.top;
|
|
1254
|
+
var f = this.c3.top;
|
|
1255
|
+
var g = this.c3.left;
|
|
1134
1256
|
var h = g;
|
|
1135
|
-
switch (this.
|
|
1257
|
+
switch (this.q) {
|
|
1136
1258
|
case 2:
|
|
1137
|
-
e = a ? this.
|
|
1138
|
-
f = a ? this.
|
|
1139
|
-
g = this.
|
|
1259
|
+
e = a ? this.c3.bottom : this.c3.top;
|
|
1260
|
+
f = a ? this.c3.top : this.c3.bottom;
|
|
1261
|
+
g = this.c3.left;
|
|
1140
1262
|
h = g;
|
|
1141
1263
|
break;
|
|
1142
1264
|
case 1:
|
|
1143
|
-
e = this.
|
|
1144
|
-
f = this.
|
|
1145
|
-
g = this.
|
|
1265
|
+
e = this.c3.top;
|
|
1266
|
+
f = this.c3.top;
|
|
1267
|
+
g = this.c3.left;
|
|
1146
1268
|
h = g;
|
|
1147
1269
|
break;
|
|
1148
1270
|
case 3:
|
|
1149
1271
|
case 4:
|
|
1150
|
-
e = this.
|
|
1272
|
+
e = this.c3.top;
|
|
1151
1273
|
f = e;
|
|
1152
|
-
g = this.
|
|
1274
|
+
g = this.c3.left;
|
|
1153
1275
|
h = g;
|
|
1154
1276
|
break;
|
|
1155
1277
|
}
|
|
@@ -1166,60 +1288,80 @@ var Popup = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1166
1288
|
return i;
|
|
1167
1289
|
};
|
|
1168
1290
|
Popup.prototype.ao = function () {
|
|
1169
|
-
if (
|
|
1291
|
+
if (this.k == null) {
|
|
1170
1292
|
return false;
|
|
1171
1293
|
}
|
|
1172
|
-
|
|
1173
|
-
|
|
1174
|
-
|
|
1175
|
-
|
|
1176
|
-
return true;
|
|
1294
|
+
for (var a = 0; a < this.k.a.count; a++) {
|
|
1295
|
+
if (this.k.a._inner[a].playState == 1) {
|
|
1296
|
+
return true;
|
|
1297
|
+
}
|
|
1177
1298
|
}
|
|
1178
1299
|
return false;
|
|
1179
1300
|
};
|
|
1180
|
-
Popup.prototype.
|
|
1181
|
-
this.
|
|
1301
|
+
Popup.prototype.b6 = function () {
|
|
1302
|
+
this.w.a1();
|
|
1303
|
+
if (this.aw) {
|
|
1304
|
+
if (this.bd != null) {
|
|
1305
|
+
this.c3 = this.w.bp(this.bd, this.q, this.i);
|
|
1306
|
+
}
|
|
1307
|
+
else {
|
|
1308
|
+
this.c3 = this.w.bq(this.c1, this.q, this.i);
|
|
1309
|
+
}
|
|
1310
|
+
}
|
|
1311
|
+
};
|
|
1312
|
+
Popup.prototype.cf = function (a, b, c) {
|
|
1313
|
+
this.c1 = a;
|
|
1314
|
+
this.q = b;
|
|
1315
|
+
this.i = c;
|
|
1316
|
+
this.a1 = 0;
|
|
1317
|
+
this.w.ba();
|
|
1318
|
+
this.c3 = this.w.bq(a, b, c);
|
|
1319
|
+
};
|
|
1320
|
+
Popup.prototype.ce = function (a, b, c) {
|
|
1321
|
+
this.bb = a;
|
|
1322
|
+
this.q = b;
|
|
1323
|
+
this.i = c;
|
|
1324
|
+
this.a1 = 0;
|
|
1325
|
+
this.w.ba();
|
|
1326
|
+
this.c3 = this.w.bp(a, b, c);
|
|
1327
|
+
};
|
|
1328
|
+
Popup.prototype.ck = function (a, b, c) {
|
|
1182
1329
|
if (this.av) {
|
|
1183
|
-
this.
|
|
1330
|
+
this.av = false;
|
|
1331
|
+
this.cd("IsShown", true, this.av);
|
|
1184
1332
|
}
|
|
1333
|
+
this.cf(a, b, c);
|
|
1334
|
+
this.cl(true);
|
|
1185
1335
|
};
|
|
1186
|
-
Popup.prototype.
|
|
1187
|
-
this.
|
|
1188
|
-
|
|
1189
|
-
|
|
1190
|
-
this.az = 0;
|
|
1191
|
-
this.v.a7();
|
|
1192
|
-
this.cu = this.v.bj(a, b, c);
|
|
1193
|
-
};
|
|
1194
|
-
Popup.prototype.cc = function (a, b, c) {
|
|
1195
|
-
if (this.au) {
|
|
1196
|
-
this.au = false;
|
|
1197
|
-
this.b7("IsShown", true, this.au);
|
|
1336
|
+
Popup.prototype.cj = function (a, b, c) {
|
|
1337
|
+
if (this.av) {
|
|
1338
|
+
this.av = false;
|
|
1339
|
+
this.cd("IsShown", true, this.av);
|
|
1198
1340
|
}
|
|
1199
|
-
this.
|
|
1200
|
-
this.
|
|
1341
|
+
this.ce(a, b, c);
|
|
1342
|
+
this.cl(true);
|
|
1201
1343
|
};
|
|
1202
|
-
Popup.prototype.
|
|
1344
|
+
Popup.prototype.cl = function (a) {
|
|
1203
1345
|
var _this = this;
|
|
1204
|
-
this.
|
|
1205
|
-
var b = this.
|
|
1346
|
+
this.b2();
|
|
1347
|
+
var b = this.av;
|
|
1348
|
+
this.av = a;
|
|
1206
1349
|
this.au = a;
|
|
1207
|
-
this.at = a;
|
|
1208
1350
|
this.ap = !a;
|
|
1209
|
-
var c = this.
|
|
1210
|
-
var d = this.
|
|
1351
|
+
var c = this.h(a);
|
|
1352
|
+
var d = this.g(a);
|
|
1211
1353
|
if (false == this.al) {
|
|
1212
|
-
var e = this.
|
|
1354
|
+
var e = this.w.au(c, d);
|
|
1213
1355
|
c = e.p0;
|
|
1214
1356
|
d = e.p1;
|
|
1215
1357
|
return;
|
|
1216
1358
|
}
|
|
1217
|
-
this.
|
|
1218
|
-
this.
|
|
1219
|
-
this.
|
|
1220
|
-
_this.
|
|
1221
|
-
_this.
|
|
1222
|
-
if (_this.
|
|
1359
|
+
this.b5();
|
|
1360
|
+
this.k = this.l(this.p, this.av);
|
|
1361
|
+
this.k.d(function () {
|
|
1362
|
+
_this.k.c();
|
|
1363
|
+
_this.cd("IsShown", b, _this.av);
|
|
1364
|
+
if (_this.av) {
|
|
1223
1365
|
if (_this.onPopup != null) {
|
|
1224
1366
|
_this.onPopup(_this, new OnPopupEventArgs());
|
|
1225
1367
|
}
|
|
@@ -1229,65 +1371,68 @@ var Popup = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1229
1371
|
_this.onClosed(_this, new OnClosedEventArgs());
|
|
1230
1372
|
}
|
|
1231
1373
|
}
|
|
1232
|
-
_this.
|
|
1374
|
+
_this.au = false;
|
|
1233
1375
|
_this.ap = false;
|
|
1234
|
-
var f = _this.
|
|
1376
|
+
var f = _this.w.au(c, d);
|
|
1235
1377
|
c = f.p0;
|
|
1236
1378
|
d = f.p1;
|
|
1237
1379
|
});
|
|
1238
1380
|
};
|
|
1239
|
-
Popup.prototype.
|
|
1381
|
+
Popup.prototype.l = function (a, b) {
|
|
1240
1382
|
switch (a) {
|
|
1241
|
-
case 0: return this.
|
|
1242
|
-
case 1: return this.
|
|
1243
|
-
default: return this.
|
|
1383
|
+
case 0: return this.n(b);
|
|
1384
|
+
case 1: return this.m(b);
|
|
1385
|
+
default: return this.n(b);
|
|
1244
1386
|
}
|
|
1245
1387
|
};
|
|
1246
|
-
Popup.prototype.
|
|
1247
|
-
var b = this.
|
|
1248
|
-
var c = this.
|
|
1388
|
+
Popup.prototype.n = function (a) {
|
|
1389
|
+
var b = this.z(a);
|
|
1390
|
+
var c = this.a(a);
|
|
1249
1391
|
var d = new PopupAnimation();
|
|
1250
1392
|
d.a.add(b);
|
|
1251
|
-
|
|
1393
|
+
for (var f = 0; f < c.length; f++) {
|
|
1394
|
+
var e = c[f];
|
|
1395
|
+
d.a.add(e);
|
|
1396
|
+
}
|
|
1252
1397
|
return d;
|
|
1253
1398
|
};
|
|
1254
|
-
Popup.prototype.
|
|
1255
|
-
var b = this.
|
|
1256
|
-
this.
|
|
1257
|
-
var c = this.
|
|
1258
|
-
var d = this.
|
|
1399
|
+
Popup.prototype.m = function (a) {
|
|
1400
|
+
var b = this.h(a);
|
|
1401
|
+
this.w.av(a ? b.h : b.g);
|
|
1402
|
+
var c = this.c();
|
|
1403
|
+
var d = this.w.c(c);
|
|
1259
1404
|
var e = DeviceUtils.g(30);
|
|
1260
|
-
var f = this.
|
|
1405
|
+
var f = this.w.i();
|
|
1261
1406
|
var g = b.f - e;
|
|
1262
1407
|
var h = b.f;
|
|
1263
|
-
switch (this.
|
|
1408
|
+
switch (this.q) {
|
|
1264
1409
|
case 2:
|
|
1265
1410
|
g = a ? b.f + e : b.c + e;
|
|
1266
1411
|
h = a ? b.f : b.c;
|
|
1267
|
-
f = this.
|
|
1412
|
+
f = this.w.i();
|
|
1268
1413
|
break;
|
|
1269
1414
|
case 1:
|
|
1270
1415
|
g = b.f - e;
|
|
1271
1416
|
h = b.f;
|
|
1272
|
-
f = this.
|
|
1417
|
+
f = this.w.i();
|
|
1273
1418
|
break;
|
|
1274
1419
|
case 3:
|
|
1275
1420
|
g = b.d + e;
|
|
1276
1421
|
h = b.d;
|
|
1277
|
-
f = this.
|
|
1422
|
+
f = this.w.h();
|
|
1278
1423
|
break;
|
|
1279
1424
|
case 4:
|
|
1280
1425
|
g = b.d - e;
|
|
1281
1426
|
h = b.d;
|
|
1282
|
-
f = this.
|
|
1427
|
+
f = this.w.h();
|
|
1283
1428
|
break;
|
|
1284
1429
|
}
|
|
1285
1430
|
d.m(new AnimationKeyFrameProperty(f, a ? g : h));
|
|
1286
1431
|
d.m(new AnimationKeyFrameProperty(f, a ? h : g));
|
|
1287
|
-
var i = this.
|
|
1432
|
+
var i = this.w.a(c);
|
|
1288
1433
|
i.m(new AnimationKeyFrameProperty(1, a ? 0 : 1));
|
|
1289
1434
|
i.m(new AnimationKeyFrameProperty(1, a ? 1 : 0));
|
|
1290
|
-
var j = this.
|
|
1435
|
+
var j = this.w.b(c);
|
|
1291
1436
|
j.m(new AnimationKeyFrameProperty(10, (a ? b.h : b.g)));
|
|
1292
1437
|
j.m(new AnimationKeyFrameProperty(10, (a ? b.h : b.g)));
|
|
1293
1438
|
var k = new PopupAnimation();
|
|
@@ -1297,55 +1442,58 @@ var Popup = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1297
1442
|
return k;
|
|
1298
1443
|
};
|
|
1299
1444
|
Popup.prototype.contains = function (a) {
|
|
1300
|
-
return this.
|
|
1445
|
+
return this.w.j(a);
|
|
1301
1446
|
};
|
|
1302
1447
|
Popup.prototype.appendPopupContent = function (a) {
|
|
1303
|
-
this.
|
|
1448
|
+
this.w.aw(a);
|
|
1304
1449
|
};
|
|
1305
1450
|
Popup.prototype.removePopupContent = function (a) {
|
|
1306
|
-
this.
|
|
1451
|
+
this.w.bb(a);
|
|
1307
1452
|
};
|
|
1308
|
-
Popup.prototype.
|
|
1309
|
-
if (!this.
|
|
1453
|
+
Popup.prototype.b3 = function () {
|
|
1454
|
+
if (!this.av) {
|
|
1310
1455
|
return;
|
|
1311
1456
|
}
|
|
1312
|
-
this.
|
|
1457
|
+
this.cl(false);
|
|
1313
1458
|
};
|
|
1314
1459
|
Popup.prototype.destroy = function () {
|
|
1315
1460
|
this.provideRenderer(null);
|
|
1316
1461
|
};
|
|
1317
1462
|
Popup.prototype.showRelativeToExclusionRect = function (a, b, c) {
|
|
1318
|
-
this.
|
|
1463
|
+
this.ck(a, b, c);
|
|
1464
|
+
};
|
|
1465
|
+
Popup.prototype.cn = function (a, b, c) {
|
|
1466
|
+
this.cj(a, b, c);
|
|
1319
1467
|
};
|
|
1320
|
-
Popup.prototype.
|
|
1321
|
-
this.
|
|
1322
|
-
this.
|
|
1468
|
+
Popup.prototype.b7 = function (a) {
|
|
1469
|
+
this.c1 = a;
|
|
1470
|
+
this.c3 = this.w.bq(a, this.q, this.i);
|
|
1323
1471
|
};
|
|
1324
1472
|
Popup.prototype.notifySizeChanged = function () {
|
|
1325
1473
|
};
|
|
1326
1474
|
Popup.prototype.provideRenderer = function (a) {
|
|
1327
|
-
this.
|
|
1475
|
+
this.w.a9(a);
|
|
1328
1476
|
};
|
|
1329
|
-
Popup.prototype.
|
|
1330
|
-
return this.
|
|
1477
|
+
Popup.prototype.bc = function () {
|
|
1478
|
+
return this.d();
|
|
1331
1479
|
};
|
|
1332
|
-
Popup.prototype.
|
|
1333
|
-
var a = this.
|
|
1480
|
+
Popup.prototype.bp = function () {
|
|
1481
|
+
var a = this.d();
|
|
1334
1482
|
return a.f();
|
|
1335
1483
|
};
|
|
1336
|
-
Popup.prototype.
|
|
1484
|
+
Popup.prototype.d = function () {
|
|
1337
1485
|
var a = new PopupVisualModelExport();
|
|
1338
|
-
a.e = this.
|
|
1339
|
-
a.d = this.
|
|
1340
|
-
a.c = AppearanceHelper.a(this.
|
|
1341
|
-
a.b = AppearanceHelper.a(this.
|
|
1342
|
-
a.a = AppearanceHelper.a(this.
|
|
1486
|
+
a.e = this.a6;
|
|
1487
|
+
a.d = this.aw;
|
|
1488
|
+
a.c = AppearanceHelper.a(this.cv);
|
|
1489
|
+
a.b = AppearanceHelper.a(this.cu);
|
|
1490
|
+
a.a = AppearanceHelper.a(this.ct);
|
|
1343
1491
|
return a;
|
|
1344
1492
|
};
|
|
1345
|
-
Popup.prototype.
|
|
1346
|
-
var a = this.
|
|
1493
|
+
Popup.prototype.t = function () {
|
|
1494
|
+
var a = this.u;
|
|
1347
1495
|
if (a == 0) {
|
|
1348
|
-
switch (this.
|
|
1496
|
+
switch (this.r) {
|
|
1349
1497
|
case 4:
|
|
1350
1498
|
a = 3;
|
|
1351
1499
|
break;
|
|
@@ -1363,10 +1511,10 @@ var Popup = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1363
1511
|
return a;
|
|
1364
1512
|
};
|
|
1365
1513
|
Popup.$t = markType(Popup, 'Popup', Base.$, [INotifyPropertyChanged_$type]);
|
|
1366
|
-
Popup.
|
|
1367
|
-
Popup.
|
|
1368
|
-
Popup.
|
|
1369
|
-
Popup.
|
|
1514
|
+
Popup.a9 = 2;
|
|
1515
|
+
Popup.cz = BrushUtil.g(66, 0, 0, 0);
|
|
1516
|
+
Popup.cy = BrushUtil.g(30, 0, 0, 0);
|
|
1517
|
+
Popup.cx = BrushUtil.g(20, 0, 0, 0);
|
|
1370
1518
|
return Popup;
|
|
1371
1519
|
}(Base));
|
|
1372
1520
|
export { Popup };
|