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.
Files changed (95) hide show
  1. package/bundles/igniteui-angular-core.umd.js +3388 -1605
  2. package/bundles/igniteui-angular-core.umd.min.js +2 -2
  3. package/esm2015/lib/CodeGeneratingComponentRendererCodeEmitter_combined.js +16 -5
  4. package/esm2015/lib/PopupView_combined.js +743 -607
  5. package/esm2015/lib/WebBaseExporterDescriptionMetadata_combined.js +2 -0
  6. package/esm2015/lib/WebColumnStateDescription.js +202 -0
  7. package/esm2015/lib/WebColumnStateDescriptionMetadata.js +67 -0
  8. package/esm2015/lib/WebGridBaseDirectiveDescription_combined.js +338 -330
  9. package/esm2015/lib/WebGridDescription.js +44 -44
  10. package/esm2015/lib/WebGridStateBaseDirectiveDescription.js +50 -0
  11. package/esm2015/lib/WebGridStateBaseDirectiveDescriptionMetadata.js +7 -0
  12. package/esm2015/lib/WebGridStateBaseDirectiveDescriptionMetadata_combined.js +124 -0
  13. package/esm2015/lib/WebGridStateBaseDirectiveDescriptionModule.js +20 -0
  14. package/esm2015/lib/WebGridStateCollectionDescription.js +50 -0
  15. package/esm2015/lib/WebGridStateCollectionDescriptionMetadata.js +48 -0
  16. package/esm2015/lib/WebGridStateComponentEventArgsDescription.js +36 -0
  17. package/esm2015/lib/WebGridStateComponentEventArgsDescriptionMetadata.js +7 -0
  18. package/esm2015/lib/WebGridStateDescription.js +23 -0
  19. package/esm2015/lib/WebGridStateDescriptionMetadata.js +7 -0
  20. package/esm2015/lib/WebGridStateDescriptionModule.js +22 -0
  21. package/esm2015/lib/WebGridStateInfoDescription.js +156 -0
  22. package/esm2015/lib/WebGridStateInfoDescriptionMetadata.js +79 -0
  23. package/esm2015/lib/WebGridStateOptionsDescription.js +146 -0
  24. package/esm2015/lib/WebGridStateOptionsDescriptionMetadata.js +58 -0
  25. package/esm2015/lib/WebGroupingStateDescription.js +50 -0
  26. package/esm2015/lib/WebGroupingStateDescriptionMetadata.js +50 -0
  27. package/esm2015/lib/WebPagingStateDescription.js +42 -0
  28. package/esm2015/lib/WebPagingStateDescriptionMetadata.js +45 -0
  29. package/esm2015/lib/WebPivotGridDescription.js +35 -35
  30. package/esm2015/lib/WebTreeGridDescription.js +27 -27
  31. package/esm2015/lib/igx-popup-component.js +59 -37
  32. package/esm2015/public_api.js +20 -0
  33. package/esm5/lib/CodeGeneratingComponentRendererCodeEmitter_combined.js +16 -5
  34. package/esm5/lib/PopupView_combined.js +738 -590
  35. package/esm5/lib/WebBaseExporterDescriptionMetadata_combined.js +2 -0
  36. package/esm5/lib/WebColumnStateDescription.js +296 -0
  37. package/esm5/lib/WebColumnStateDescriptionMetadata.js +71 -0
  38. package/esm5/lib/WebGridBaseDirectiveDescription_combined.js +342 -330
  39. package/esm5/lib/WebGridDescription.js +44 -44
  40. package/esm5/lib/WebGridStateBaseDirectiveDescription.js +68 -0
  41. package/esm5/lib/WebGridStateBaseDirectiveDescriptionMetadata.js +7 -0
  42. package/esm5/lib/WebGridStateBaseDirectiveDescriptionMetadata_combined.js +134 -0
  43. package/esm5/lib/WebGridStateBaseDirectiveDescriptionModule.js +24 -0
  44. package/esm5/lib/WebGridStateCollectionDescription.js +68 -0
  45. package/esm5/lib/WebGridStateCollectionDescriptionMetadata.js +52 -0
  46. package/esm5/lib/WebGridStateComponentEventArgsDescription.js +46 -0
  47. package/esm5/lib/WebGridStateComponentEventArgsDescriptionMetadata.js +7 -0
  48. package/esm5/lib/WebGridStateDescription.js +24 -0
  49. package/esm5/lib/WebGridStateDescriptionMetadata.js +7 -0
  50. package/esm5/lib/WebGridStateDescriptionModule.js +26 -0
  51. package/esm5/lib/WebGridStateInfoDescription.js +226 -0
  52. package/esm5/lib/WebGridStateInfoDescriptionMetadata.js +83 -0
  53. package/esm5/lib/WebGridStateOptionsDescription.js +212 -0
  54. package/esm5/lib/WebGridStateOptionsDescriptionMetadata.js +62 -0
  55. package/esm5/lib/WebGroupingStateDescription.js +68 -0
  56. package/esm5/lib/WebGroupingStateDescriptionMetadata.js +54 -0
  57. package/esm5/lib/WebPagingStateDescription.js +56 -0
  58. package/esm5/lib/WebPagingStateDescriptionMetadata.js +49 -0
  59. package/esm5/lib/WebPivotGridDescription.js +35 -35
  60. package/esm5/lib/WebTreeGridDescription.js +27 -27
  61. package/esm5/lib/igx-popup-component.js +67 -37
  62. package/esm5/public_api.js +20 -0
  63. package/fesm2015/igniteui-angular-core.js +2951 -1525
  64. package/fesm5/igniteui-angular-core.js +3369 -1606
  65. package/lib/IDataLegendSeries.d.ts +2 -0
  66. package/lib/IDataLegendTarget.d.ts +1 -0
  67. package/lib/PopupView_combined.d.ts +161 -144
  68. package/lib/WebColumnStateDescription.d.ts +77 -0
  69. package/lib/WebColumnStateDescriptionMetadata.d.ts +13 -0
  70. package/lib/WebGridBaseDirectiveDescription_combined.d.ts +119 -115
  71. package/lib/WebGridDescription.d.ts +16 -16
  72. package/lib/WebGridStateBaseDirectiveDescription.d.ts +21 -0
  73. package/lib/WebGridStateBaseDirectiveDescriptionMetadata.d.ts +1 -0
  74. package/lib/WebGridStateBaseDirectiveDescriptionMetadata_combined.d.ts +33 -0
  75. package/lib/WebGridStateBaseDirectiveDescriptionModule.d.ts +9 -0
  76. package/lib/WebGridStateCollectionDescription.d.ts +21 -0
  77. package/lib/WebGridStateCollectionDescriptionMetadata.d.ts +13 -0
  78. package/lib/WebGridStateComponentEventArgsDescription.d.ts +17 -0
  79. package/lib/WebGridStateComponentEventArgsDescriptionMetadata.d.ts +1 -0
  80. package/lib/WebGridStateDescription.d.ts +10 -0
  81. package/lib/WebGridStateDescriptionMetadata.d.ts +1 -0
  82. package/lib/WebGridStateDescriptionModule.d.ts +9 -0
  83. package/lib/WebGridStateInfoDescription.d.ts +70 -0
  84. package/lib/WebGridStateInfoDescriptionMetadata.d.ts +13 -0
  85. package/lib/WebGridStateOptionsDescription.d.ts +56 -0
  86. package/lib/WebGridStateOptionsDescriptionMetadata.d.ts +13 -0
  87. package/lib/WebGroupingStateDescription.d.ts +22 -0
  88. package/lib/WebGroupingStateDescriptionMetadata.d.ts +13 -0
  89. package/lib/WebPagingStateDescription.d.ts +17 -0
  90. package/lib/WebPagingStateDescriptionMetadata.d.ts +13 -0
  91. package/lib/WebPivotGridDescription.d.ts +13 -13
  92. package/lib/WebTreeGridDescription.d.ts +10 -10
  93. package/lib/igx-popup-component.d.ts +13 -1
  94. package/package.json +1 -1
  95. 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.ad = null;
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.aj = null;
48
- _this.ag = null;
49
- _this.ai = null;
50
- _this.ah = null;
51
- _this.an = null;
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.n = 0;
60
- _this.o = 0;
61
- _this.af = null;
62
- _this.am = null;
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.m = false;
66
+ _this.p = false;
66
67
  return _this;
67
68
  }
68
- Object.defineProperty(PopupView.prototype, "ac", {
69
+ Object.defineProperty(PopupView.prototype, "af", {
69
70
  get: function () {
70
- return this.g.a1;
71
+ return this.g.a3;
71
72
  },
72
73
  enumerable: false,
73
74
  configurable: true
74
75
  });
75
- Object.defineProperty(PopupView.prototype, "z", {
76
+ Object.defineProperty(PopupView.prototype, "ac", {
76
77
  get: function () {
77
- return this.ac / 2;
78
+ return this.af / 2;
78
79
  },
79
80
  enumerable: false,
80
81
  configurable: true
81
82
  });
82
- Object.defineProperty(PopupView.prototype, "y", {
83
+ Object.defineProperty(PopupView.prototype, "ab", {
83
84
  get: function () {
84
- return this.ac * 1.414;
85
+ return this.af * 1.414;
85
86
  },
86
87
  enumerable: false,
87
88
  configurable: true
88
89
  });
89
- Object.defineProperty(PopupView.prototype, "x", {
90
+ Object.defineProperty(PopupView.prototype, "aa", {
90
91
  get: function () {
91
- return this.y / 2;
92
+ return this.ab / 2;
92
93
  },
93
94
  enumerable: false,
94
95
  configurable: true
95
96
  });
96
- Object.defineProperty(PopupView.prototype, "aa", {
97
+ Object.defineProperty(PopupView.prototype, "ad", {
97
98
  get: function () {
98
- return (this.bl.width / 2 - this.z);
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, "ab", {
104
+ Object.defineProperty(PopupView.prototype, "ae", {
104
105
  get: function () {
105
- return (this.bl.height / 2 - this.z);
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, "ae", {
118
+ Object.defineProperty(PopupView.prototype, "ah", {
118
119
  get: function () {
119
- return this.ad;
120
+ return this.ag;
120
121
  },
121
122
  enumerable: false,
122
123
  configurable: true
123
124
  });
124
- PopupView.prototype.a3 = function () {
125
- this.al.setStyleProperty("height", "0%");
126
- this.al.setStyleProperty("width", "0%");
127
- this.ag = this.ad.createElement("div");
128
- this.ag.setStyleProperty("position", "absolute");
129
- this.ag.setStyleProperty("z-index", "10000");
130
- this.ai = this.ad.createElement("div");
131
- this.ai.setStyleProperty("height", 20 * 1.414 / 2 + "px");
132
- this.ah = this.ad.createElement("div");
133
- this.ah.setStyleProperty("position", "relative");
134
- this.ah.setStyleProperty("width", this.ac + "px");
135
- this.ah.setStyleProperty("height", this.ac + "px");
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("overflow", "hidden");
142
- this.ak.setAttribute("key", "popupContentAreaOuter");
143
- this.bb(this.g.aq);
144
- this.ag.listen("mouseenter", runOn(this, this.a4));
145
- this.ag.listen("mouseleave", runOn(this, this.a5));
146
- this.ag.listen("focusin", runOn(this, this.a1));
147
- this.ag.listen("focusout", runOn(this, this.a2));
148
- this.aj = this.ad.createElement("div");
149
- this.aj.setAttribute("key", "popupContentAreaInner");
150
- this.ak.append(this.aj);
151
- this.ag.append(this.ak);
152
- };
153
- PopupView.prototype.bh = function () {
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.a4, a.cm, a.cl, a.ck);
156
- this.ak.setStyleProperty("box-shadow", b);
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.bf = function () {
159
- if (this.g.cn != null) {
160
- this.ak.setStyleProperty("background-color", this.g.cn._fill);
161
- this.ah.setStyleProperty("background-color", this.g.cn._fill);
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.cr != null) {
164
- this.ah.setStyleProperty("background-color", this.g.cr._fill);
172
+ if (this.g.c0 != null) {
173
+ this.ak.setStyleProperty("background-color", this.g.c0._fill);
165
174
  }
166
175
  };
167
- PopupView.prototype.bg = function () {
168
- if (!isNaN_(this.g.ay)) {
169
- NativeUI.o(this.ak, new CornerRadius(0, this.g.ay));
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.bi = function () {
173
- if (null == this.al) {
181
+ PopupView.prototype.bo = function () {
182
+ if (null == this.ao) {
174
183
  return;
175
184
  }
176
- this.bh();
177
- this.bf();
178
- this.bg();
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.b5();
197
+ this.g.b9();
182
198
  };
183
199
  PopupView.prototype.a5 = function (a) {
184
- this.g.b6();
185
- };
186
- PopupView.prototype.a1 = function (a) {
187
- this.g.b3();
188
- };
189
- PopupView.prototype.a2 = function (a) {
190
- this.g.b4(a.originalEvent.relatedTarget);
191
- };
192
- PopupView.prototype.aq = function () {
193
- if (null != this.ag) {
194
- this.bi();
195
- this.ak.setStyleProperty("height", "0px");
196
- var a = this.ag.getNativeElement();
197
- if (false == this.l) {
198
- this.ai.remove();
199
- if (this.g.as) {
200
- var b = this.g.s();
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.ag.setStyleProperty("display", "block");
203
- var c = this.ag.getNativeElement();
204
- var d = this.ai.getNativeElement();
205
- var e = this.ak.getNativeElement();
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.ag.setStyleProperty("display", "block");
210
- this.ag.append(this.ai);
225
+ this.aj.setStyleProperty("display", "block");
226
+ this.aj.append(this.al);
211
227
  }
212
228
  else if (b == 3) {
213
- this.ag.setStyleProperty("display", "flex");
214
- var f = this.ag.getNativeElement();
215
- var g = this.ai.getNativeElement();
216
- var h = this.ak.getNativeElement();
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.ai.setStyleProperty("height", "unset");
219
- this.ai.setStyleProperty("width", 20 * 1.414 / 2 + "px");
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.ag.setStyleProperty("display", "flex");
223
- this.ag.append(this.ai);
224
- this.ai.setStyleProperty("height", "unset");
225
- this.ai.setStyleProperty("width", 20 * 1.414 / 2 + "px");
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
- document.body.appendChild(a);
229
- this.l = true;
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.ay();
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.ar = function (a, b) {
237
- this.ag.setStyleProperty("top", PopupView.ao(a.f));
238
- this.ak.setStyleProperty("height", PopupView.ap(a.h));
239
- this.ag.setStyleProperty("top", PopupView.ap(b.b));
240
- this.aj.setStyleProperty("opacity", "1");
241
- this.aj.setStyleProperty("transform", stringEmpty());
242
- this.u = 0;
243
- if (this.m) {
244
- this.be();
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.av) {
247
- this.am.observe(this.af.getNativeElement());
271
+ if (this.g.aw) {
272
+ this.ap.observe(this.ai.getNativeElement());
248
273
  }
249
274
  else {
250
- this.am.disconnect();
275
+ this.ap.disconnect();
251
276
  }
252
277
  if (this.g.an) {
253
- this.bc(this.g.ar);
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.as = function (a) {
261
- this.u = a;
285
+ PopupView.prototype.av = function (a) {
286
+ this.x = a;
262
287
  if (this.g.an) {
263
- this.bc(false);
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.a9 = function () {
287
- if (null != this.ag && this.l) {
288
- var a = this.ag.getNativeElement();
289
- document.body.removeChild(a);
290
- this.l = false;
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.at = function (a) {
294
- this.af = a;
295
- this.aj.append(this.af);
296
- this.am = new ResizeObserver(runOn(this, this.a0));
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.a0 = function (a) {
299
- if (this.l) {
300
- if (this.g.ao() && this.g.o == 0) {
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.b0();
314
+ this.g.b6();
304
315
  }
305
316
  };
306
317
  PopupView.prototype.j = function (a) {
307
- var b = this.ag.getNativeElement();
318
+ var b = this.aj.getNativeElement();
308
319
  return b.contains(a);
309
320
  };
310
- PopupView.prototype.a8 = function (a) {
311
- this.af = null;
312
- this.am.disconnect();
313
- this.am = null;
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.aj, 0, null, a);
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.ak, 0, null, a);
331
+ return new AnimationKeyFrameEffect(0, this.an, 0, null, a);
321
332
  };
322
- PopupView.prototype.av = function () {
333
+ PopupView.prototype.ay = function () {
323
334
  if (KeyFrameAnimationFactory.h == null) {
324
- KeyFrameAnimationFactory.h = this.ae;
335
+ KeyFrameAnimationFactory.h = this.ah;
325
336
  }
326
337
  };
327
338
  PopupView.prototype.c = function (a) {
328
- return new AnimationKeyFrameEffect(0, this.ag, 0, null, a);
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.ak, 0, null, a);
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.ag, 0, null, a);
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
- Object.defineProperty(PopupView.prototype, "bl", {
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.ay();
359
+ this.a1();
346
360
  }
347
- return this.bk;
361
+ return this.br;
348
362
  },
349
363
  enumerable: false,
350
364
  configurable: true
351
365
  });
352
- PopupView.prototype.v = function (a, b, c) {
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.bl.width + (this.g.as ? this.x : 0));
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.bl.width;
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.bl.width / 2);
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.w = function (a, b, c) {
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.bl.height;
403
+ d = (!this.n() ? a.bottom : 0) - this.bs.height;
390
404
  break;
391
405
  case 3:
392
- d = a.top - (this.bl.height / 2) + (a.height / 2);
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.bl.height + (this.g.as ? this.x : 0));
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.ap = function (a) {
426
+ PopupView.as = function (a) {
413
427
  return stringFormat("{0}px", a);
414
428
  };
415
- PopupView.ao = function (a) {
429
+ PopupView.ar = function (a) {
416
430
  return stringFormat("{0}px", a);
417
431
  };
418
- PopupView.prototype.bd = function () {
419
- if (this.g.q == 1 || this.g.q == 2) {
420
- switch (this.g.i) {
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.s = this.aa + (this.p - this.n);
436
+ this.v = this.ad + (this.s - this.q);
423
437
  break;
424
438
  }
425
439
  }
426
- else if (this.g.q == 3 || this.g.q == 4) {
427
- switch (this.g.i) {
440
+ else if (this.g.r == 3 || this.g.r == 4) {
441
+ switch (this.g.j) {
428
442
  case 3:
429
- this.t = this.ab + (this.q - this.o);
443
+ this.w = this.ae + (this.t - this.r);
430
444
  break;
431
445
  }
432
446
  }
433
- this.ah.setStyleProperty("transform", "translate(" + this.s + "px, " + this.t + "px) rotate(" + this.r + "deg)");
447
+ this.ak.setStyleProperty("transform", "translate(" + this.v + "px, " + this.w + "px) rotate(" + this.u + "deg)");
434
448
  };
435
- PopupView.prototype.au = function (a, b, c, d) {
436
- this.p = a;
437
- this.q = b;
438
- if (this.g.q == 1 || this.g.q == 2) {
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.q == 3 || this.g.q == 4) {
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.bj = function (a, b, c) {
466
- var d = this.w(a, b, c);
467
- var e = this.v(a, b, c);
468
- var f = this.au(e, d, this.bl.width, this.bl.height);
469
- e = f.p0;
470
- d = f.p1;
471
- this.ba(e, d);
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.w(a, b, c);
476
- var i = this.v(a, b, c);
477
- var j = this.au(i, h, this.bl.width, this.bl.height);
478
- i = j.p0;
479
- h = j.p1;
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.ba(e, d);
504
+ this.bd(e, d);
487
505
  g--;
488
506
  }
489
507
  }
490
- this.bd();
491
- return new Rect(0, e, d, this.bl.width, this.bl.height);
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.ay = function () {
494
- if (this.l) {
495
- this.ak.setStyleProperty("width", stringEmpty());
496
- this.ak.setStyleProperty("height", stringEmpty());
497
- this.ag.setStyleProperty("width", stringEmpty());
498
- this.ag.setStyleProperty("height", stringEmpty());
499
- this.bk = new Size(1, this.aj.outerWidth(), this.aj.outerHeight());
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.be();
533
+ this.bk();
502
534
  }
503
535
  else {
504
536
  this.k = true;
505
537
  }
506
538
  };
507
- PopupView.prototype.ba = function (a, b) {
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.ag.setStyleProperty("left", c);
511
- this.ag.setStyleProperty("top", d);
512
- this.n = a;
513
- this.o = b;
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.a6 = function (a) {
547
+ PopupView.prototype.a9 = function (a) {
516
548
  var _this = this;
517
549
  if (a == null) {
518
- this.ad = null;
519
- if (this.ag != null) {
520
- this.ag.unlistenAll();
550
+ this.ag = null;
551
+ if (this.aj != null) {
552
+ this.aj.unlistenAll();
521
553
  }
522
554
  return;
523
555
  }
524
- this.ad = a;
556
+ this.ag = a;
525
557
  var b = a.rootWrapper;
526
- this.aw(b);
527
- this.ad.getPortal(this.aj, "ChildContent", function (c) {
558
+ this.az(b);
559
+ this.ag.getPortal(this.am, "ChildContent", function (c) {
528
560
  var comp_ = c.componentRef;
529
- _this.an = comp_;
561
+ _this.aq = comp_;
530
562
  }, true);
531
563
  };
532
- PopupView.prototype.be = function () {
533
- var a = new Size(1, this.bl.width, this.bl.height);
534
- if (!this.l || !this.g.av) {
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
- if (this.g.as) {
542
- var f = 0;
543
- var g = 0;
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.x + c);
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.x + c);
582
+ e = stringFormat("{0}px", this.aa + c);
560
583
  break;
561
584
  case 3:
562
- f = -135;
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
- f = 45;
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.u == c) {
595
+ if (this.x == c) {
583
596
  return;
584
597
  }
585
- this.f.bw();
586
- this.m = true;
598
+ this.f.b2();
599
+ this.p = true;
587
600
  return;
588
601
  }
589
- this.m = false;
590
- var h = stringFormat("{0}px", b);
591
- var i = stringFormat("{0}px", c);
592
- this.ak.setStyleProperty("width", h);
593
- this.ak.setStyleProperty("height", i);
594
- this.ag.setStyleProperty("width", d);
595
- this.ag.setStyleProperty("height", e);
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.aw = function (a) {
598
- this.al = a;
599
- this.a3();
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.ax = function (a) {
654
+ PopupView.prototype.a0 = function (a) {
602
655
  this.f = a;
603
656
  };
604
- PopupView.prototype.az = function () {
657
+ PopupView.prototype.a2 = function () {
605
658
  };
606
- PopupView.prototype.a7 = function () {
607
- this.aq();
608
- if (this.g.av) {
659
+ PopupView.prototype.ba = function () {
660
+ this.at();
661
+ if (this.g.aw) {
609
662
  return;
610
663
  }
611
- this.be();
664
+ this.bk();
612
665
  };
613
- PopupView.prototype.bc = function (a) {
614
- if (this.ag != null) {
615
- this.ag.setStyleProperty("pointer-events", a ? "auto" : "none");
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.bb = function (a) {
619
- if (this.ag != null) {
620
- this.ag.setAttribute("tabindex", a ? "-1" : "");
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.p = 0;
635
- _this.h = 0;
636
- _this.az = 0;
637
- _this.cu = null;
638
- _this.cs = null;
639
- _this.aa = null;
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.v = null;
649
- _this.ag = false;
650
- _this.a5 = 50;
716
+ _this.w = null;
717
+ _this.af = false;
718
+ _this.a7 = 50;
651
719
  _this.ak = true;
652
- _this.n = 0;
653
- _this.a3 = -1;
654
- _this.a2 = Popup.a7;
655
- _this.au = false;
656
- _this.ch = Popup.cq;
657
- _this.cg = Popup.cp;
658
- _this.cf = Popup.co;
659
- _this.ci = null;
660
- _this.aw = 0;
661
- _this.ah = true;
662
- _this.ae = false;
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.r = 0;
665
- _this.cj = null;
666
- _this.ax = 20;
736
+ _this.ad = false;
737
+ _this.ae = false;
667
738
  _this.aj = false;
668
- _this.af = false;
669
- _this.j = null;
670
- var a = _this.u();
671
- _this.v = a;
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, "cv", {
745
+ Object.defineProperty(Popup.prototype, "c4", {
676
746
  get: function () {
677
- return this.cu;
747
+ return this.c3;
678
748
  },
679
749
  enumerable: false,
680
750
  configurable: true
681
751
  });
682
- Object.defineProperty(Popup.prototype, "ct", {
752
+ Object.defineProperty(Popup.prototype, "c2", {
683
753
  get: function () {
684
- return this.cs;
754
+ return this.c1;
685
755
  },
686
756
  enumerable: false,
687
757
  configurable: true
688
758
  });
689
- Object.defineProperty(Popup.prototype, "q", {
759
+ Object.defineProperty(Popup.prototype, "r", {
690
760
  get: function () {
691
- return this.p;
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, "i", {
769
+ Object.defineProperty(Popup.prototype, "j", {
697
770
  get: function () {
698
- return this.h;
771
+ return this.i;
699
772
  },
700
773
  enumerable: false,
701
774
  configurable: true
702
775
  });
703
- Object.defineProperty(Popup.prototype, "a0", {
776
+ Object.defineProperty(Popup.prototype, "a2", {
704
777
  get: function () {
705
- return this.az;
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.b7 = function (a, b, c) {
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.b9(a, b, c);
794
+ this.cg(a, b, c);
715
795
  };
716
- Popup.prototype.b5 = function () {
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.b6 = function () {
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.b3 = function () {
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.b4 = function (a) {
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, "aq", {
820
+ Object.defineProperty(Popup.prototype, "ar", {
741
821
  get: function () {
742
- return this.ag;
822
+ return this.af;
743
823
  },
744
824
  set: function (a) {
745
- var b = this.ag;
746
- this.ag = a;
747
- if (b != this.ag) {
748
- this.b7("IsFocusable", b, this.ag);
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, "a6", {
834
+ Object.defineProperty(Popup.prototype, "a8", {
755
835
  get: function () {
756
- return this.a5;
836
+ return this.a7;
757
837
  },
758
838
  set: function (a) {
759
- var b = this.a5;
760
- this.a5 = a;
761
- if (b != this.a5) {
762
- this.b7("AnimationDuration", b, a);
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.b7("AnimationEnabled", b, a);
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, "o", {
862
+ Object.defineProperty(Popup.prototype, "p", {
783
863
  get: function () {
784
- return this.n;
864
+ return this.o;
785
865
  },
786
866
  set: function (a) {
787
- var b = this.n;
788
- this.n = a;
789
- if (b != this.n) {
790
- this.b7("AnimationType", enumGetBox(PopupAnimationType_$type, b), enumGetBox(PopupAnimationType_$type, this.n));
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, "a8", {
876
+ Object.defineProperty(Popup.prototype, "ba", {
797
877
  get: function () {
798
- return this.a3;
878
+ return this.a5;
799
879
  },
800
880
  set: function (a) {
801
- var b = this.a3;
802
- this.a3 = a;
803
- if (b != this.a3) {
804
- this.b7("Elevation", b, a);
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, "a4", {
890
+ Object.defineProperty(Popup.prototype, "a6", {
811
891
  get: function () {
812
- return this.a2;
892
+ return this.a4;
813
893
  },
814
894
  set: function (a) {
815
- var b = this.a2;
816
- this.a2 = a;
817
- if (b != this.a2) {
818
- this.b7("ActualElevation", b, a);
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, "av", {
904
+ Object.defineProperty(Popup.prototype, "aw", {
825
905
  get: function () {
826
- return this.au;
906
+ return this.av;
827
907
  },
828
908
  enumerable: false,
829
909
  configurable: true
830
910
  });
831
- Object.defineProperty(Popup.prototype, "cm", {
911
+ Object.defineProperty(Popup.prototype, "cv", {
832
912
  get: function () {
833
- return this.ch;
913
+ return this.cq;
834
914
  },
835
915
  set: function (a) {
836
- var b = this.ch;
837
- this.ch = a;
838
- if (b != this.ch) {
839
- this.b7("ActualUmbraShadowColor", b, a);
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, "cl", {
925
+ Object.defineProperty(Popup.prototype, "cu", {
846
926
  get: function () {
847
- return this.cg;
927
+ return this.cp;
848
928
  },
849
929
  set: function (a) {
850
- var b = this.cg;
851
- this.cg = a;
852
- if (b != this.cg) {
853
- this.b7("ActualPenumbraShadowColor", b, a);
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, "ck", {
939
+ Object.defineProperty(Popup.prototype, "ct", {
860
940
  get: function () {
861
- return this.cf;
941
+ return this.co;
862
942
  },
863
943
  set: function (a) {
864
- var b = this.cf;
865
- this.cf = a;
866
- if (b != this.cf) {
867
- this.b7("ActualAmbientShadowColor", b, a);
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, "cn", {
953
+ Object.defineProperty(Popup.prototype, "cw", {
874
954
  get: function () {
875
- return this.ci;
955
+ return this.cr;
876
956
  },
877
957
  set: function (a) {
878
- var b = this.ci;
879
- this.ci = a;
880
- if (b != this.ci) {
881
- this.b7("Background", b, this.ci);
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, "ay", {
967
+ Object.defineProperty(Popup.prototype, "a0", {
888
968
  get: function () {
889
- return this.aw;
969
+ return this.ay;
890
970
  },
891
971
  set: function (a) {
892
- var b = this.aw;
893
- this.aw = a;
894
- if (b != this.aw) {
895
- this.b7("CornerRadius", b, this.aw);
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, "ar", {
981
+ Object.defineProperty(Popup.prototype, "as", {
902
982
  get: function () {
903
- return this.ah;
983
+ return this.ag;
904
984
  },
905
985
  set: function (a) {
906
- var b = this.ah;
907
- this.ah = a;
908
- if (b != this.ah) {
909
- this.b7("IsHitTestVisible", b, this.ah);
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.ae;
997
+ return this.ac;
918
998
  },
919
999
  set: function (a) {
920
- var b = this.ae;
921
- this.ae = a;
922
- if (b != this.ae) {
923
- this.b7("DisableHitTestDuringAnimation", b, this.ae);
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, "as", {
1009
+ Object.defineProperty(Popup.prototype, "at", {
930
1010
  get: function () {
931
- return this.ai;
1011
+ return this.ah;
932
1012
  },
933
1013
  set: function (a) {
934
- var b = this.ai;
935
- this.ai = a;
936
- if (b != this.ai) {
937
- this.b7("IsPointerEnabled", b, this.ai);
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, "t", {
1023
+ Object.defineProperty(Popup.prototype, "u", {
944
1024
  get: function () {
945
- return this.r;
1025
+ return this.s;
946
1026
  },
947
1027
  set: function (a) {
948
- var b = this.r;
949
- this.r = a;
950
- if (b != this.r) {
951
- this.b7("PointerPosition", enumGetBox(PopupPointerPosition_$type, b), enumGetBox(PopupPointerPosition_$type, this.r));
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, "cr", {
1037
+ Object.defineProperty(Popup.prototype, "c0", {
958
1038
  get: function () {
959
- return this.cj;
1039
+ return this.cs;
960
1040
  },
961
1041
  set: function (a) {
962
- var b = this.cj;
963
- this.cj = a;
964
- if (b != this.cj) {
965
- this.b7("PointerBackground", b, this.cj);
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, "a1", {
1051
+ Object.defineProperty(Popup.prototype, "a3", {
972
1052
  get: function () {
973
- return this.ax;
1053
+ return this.az;
974
1054
  },
975
1055
  set: function (a) {
976
- var b = this.ax;
977
- this.ax = a;
978
- if (b != this.ax) {
979
- this.b7("PointerSize", b, this.ax);
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, "at", {
1065
+ Object.defineProperty(Popup.prototype, "au", {
986
1066
  get: function () {
987
- return this.aj;
1067
+ return this.ai;
988
1068
  },
989
1069
  set: function (a) {
990
- this.aj = a;
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.af;
1077
+ return this.ad;
998
1078
  },
999
1079
  set: function (a) {
1000
- this.af = a;
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.u = function () {
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.b9 = function (a, b, c) {
1116
+ Popup.prototype.cg = function (a, b, c) {
1009
1117
  switch (a) {
1010
1118
  case "IsShown":
1011
- if (false == this.av) {
1012
- this.v.a9();
1119
+ if (false == this.aw) {
1120
+ this.w.bc();
1121
+ this.bb = null;
1013
1122
  }
1014
1123
  break;
1015
1124
  case "Elevation":
1016
- this.a4 = this.a8 == -1 ? Popup.a7 : this.a8;
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.v.bi();
1133
+ this.w.bo();
1025
1134
  break;
1026
1135
  case "AnimationEnabled":
1027
1136
  if (false == this.al) {
1028
- this.bw();
1137
+ this.b2();
1029
1138
  }
1030
1139
  break;
1031
1140
  case "IsHitTestVisible":
1032
- this.v.bc(this.ar);
1141
+ this.w.bg(this.as);
1033
1142
  break;
1034
1143
  case "IsFocusable":
1035
- this.v.bb(this.aq);
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.bw = function () {
1154
+ Popup.prototype.b2 = function () {
1040
1155
  if (this.ao()) {
1041
- if (null != this.ab && this.ab.playState == 1) {
1042
- this.ab.cancel();
1043
- }
1044
- if (null != this.aa && this.aa.playState == 1) {
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.y = function (a) {
1050
- var b = this.f(a);
1051
- var c = a ? this.b() : this.a();
1052
- var d = this.v.d(c);
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.z = function (a) {
1068
- var b = this.g(a);
1069
- this.v.as(b.h);
1070
- var c = a ? this.b() : this.a();
1071
- var d = this.v.e(c);
1072
- var e = new List$1(AnimationKeyFrameProperty.$, 0);
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(10, b.g);
1075
- var h = new AnimationKeyFrameProperty(10, b.h);
1076
- e.add(g);
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
- if (this.p == 2) {
1079
- var i = b.c;
1080
- var j = b.f;
1081
- var k = new AnimationKeyFrameProperty(12, i);
1082
- var l = new AnimationKeyFrameProperty(12, j);
1083
- e.add(k);
1084
- f.add(l);
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
- d.m.apply(d, __spreadArray([], __read(e.toArray())));
1087
- d.m.apply(d, __spreadArray([], __read(f.toArray())));
1088
- return KeyFrameAnimationFactory.f.c(d);
1210
+ return b.toArray();
1089
1211
  };
1090
- Popup.prototype.a = function () {
1212
+ Popup.prototype.b = function () {
1091
1213
  var a = new AnimationKeyFrameEffectTiming();
1092
- a.g = this.a6;
1214
+ a.g = this.a8;
1093
1215
  a.b = 3;
1094
1216
  return a;
1095
1217
  };
1096
- Popup.prototype.b = function () {
1218
+ Popup.prototype.c = function () {
1097
1219
  var a = new AnimationKeyFrameEffectTiming();
1098
- a.g = this.a6;
1220
+ a.g = this.a8;
1099
1221
  a.b = 3;
1100
1222
  return a;
1101
1223
  };
1102
- Popup.prototype.bz = function () {
1103
- this.v.av();
1224
+ Popup.prototype.b5 = function () {
1225
+ this.w.ay();
1104
1226
  };
1105
- Popup.prototype.f = function (a) {
1106
- var b = truncate(this.v.bl.height);
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.p == 2) {
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.g = function (a) {
1125
- var b = truncate(this.v.bl.height);
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.cu.top;
1132
- var f = this.cu.top;
1133
- var g = this.cu.left;
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.p) {
1257
+ switch (this.q) {
1136
1258
  case 2:
1137
- e = a ? this.cu.bottom : this.cu.top;
1138
- f = a ? this.cu.top : this.cu.bottom;
1139
- g = this.cu.left;
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.cu.top;
1144
- f = this.cu.top;
1145
- g = this.cu.left;
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.cu.top;
1272
+ e = this.c3.top;
1151
1273
  f = e;
1152
- g = this.cu.left;
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 (null == this.ab && null == this.aa) {
1291
+ if (this.k == null) {
1170
1292
  return false;
1171
1293
  }
1172
- if (null != this.ab && this.ab.playState == 1) {
1173
- return true;
1174
- }
1175
- if (null != this.aa && this.aa.playState == 1) {
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.b0 = function () {
1181
- this.v.ay();
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.cu = this.v.bj(this.cs, this.p, this.h);
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.b8 = function (a, b, c) {
1187
- this.cs = a;
1188
- this.p = b;
1189
- this.h = c;
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.b8(a, b, c);
1200
- this.cd(true);
1341
+ this.ce(a, b, c);
1342
+ this.cl(true);
1201
1343
  };
1202
- Popup.prototype.cd = function (a) {
1344
+ Popup.prototype.cl = function (a) {
1203
1345
  var _this = this;
1204
- this.bw();
1205
- var b = this.au;
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.g(a);
1210
- var d = this.f(a);
1351
+ var c = this.h(a);
1352
+ var d = this.g(a);
1211
1353
  if (false == this.al) {
1212
- var e = this.v.ar(c, d);
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.bz();
1218
- this.j = this.k(this.o, this.au);
1219
- this.j.d(function () {
1220
- _this.j.c();
1221
- _this.b7("IsShown", b, _this.au);
1222
- if (_this.au) {
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.at = false;
1374
+ _this.au = false;
1233
1375
  _this.ap = false;
1234
- var f = _this.v.ar(c, d);
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.k = function (a, b) {
1381
+ Popup.prototype.l = function (a, b) {
1240
1382
  switch (a) {
1241
- case 0: return this.m(b);
1242
- case 1: return this.l(b);
1243
- default: return this.m(b);
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.m = function (a) {
1247
- var b = this.y(a);
1248
- var c = this.z(a);
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
- d.a.add(c);
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.l = function (a) {
1255
- var b = this.g(a);
1256
- this.v.as(a ? b.h : b.g);
1257
- var c = this.b();
1258
- var d = this.v.c(c);
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.v.i();
1405
+ var f = this.w.i();
1261
1406
  var g = b.f - e;
1262
1407
  var h = b.f;
1263
- switch (this.p) {
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.v.i();
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.v.i();
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.v.h();
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.v.h();
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.v.a(c);
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.v.b(c);
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.v.j(a);
1445
+ return this.w.j(a);
1301
1446
  };
1302
1447
  Popup.prototype.appendPopupContent = function (a) {
1303
- this.v.at(a);
1448
+ this.w.aw(a);
1304
1449
  };
1305
1450
  Popup.prototype.removePopupContent = function (a) {
1306
- this.v.a8(a);
1451
+ this.w.bb(a);
1307
1452
  };
1308
- Popup.prototype.bx = function () {
1309
- if (!this.au) {
1453
+ Popup.prototype.b3 = function () {
1454
+ if (!this.av) {
1310
1455
  return;
1311
1456
  }
1312
- this.cd(false);
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.cc(a, b, c);
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.b1 = function (a) {
1321
- this.cs = a;
1322
- this.cu = this.v.bj(a, this.p, this.h);
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.v.a6(a);
1475
+ this.w.a9(a);
1328
1476
  };
1329
- Popup.prototype.a9 = function () {
1330
- return this.c();
1477
+ Popup.prototype.bc = function () {
1478
+ return this.d();
1331
1479
  };
1332
- Popup.prototype.bl = function () {
1333
- var a = this.c();
1480
+ Popup.prototype.bp = function () {
1481
+ var a = this.d();
1334
1482
  return a.f();
1335
1483
  };
1336
- Popup.prototype.c = function () {
1484
+ Popup.prototype.d = function () {
1337
1485
  var a = new PopupVisualModelExport();
1338
- a.e = this.a4;
1339
- a.d = this.av;
1340
- a.c = AppearanceHelper.a(this.cm);
1341
- a.b = AppearanceHelper.a(this.cl);
1342
- a.a = AppearanceHelper.a(this.ck);
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.s = function () {
1346
- var a = this.t;
1493
+ Popup.prototype.t = function () {
1494
+ var a = this.u;
1347
1495
  if (a == 0) {
1348
- switch (this.q) {
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.a7 = 2;
1367
- Popup.cq = BrushUtil.g(66, 0, 0, 0);
1368
- Popup.cp = BrushUtil.g(30, 0, 0, 0);
1369
- Popup.co = BrushUtil.g(20, 0, 0, 0);
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 };