igniteui-webcomponents-layouts 4.0.3 → 4.2.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bundles/igniteui-webcomponents-layouts.umd.js +1582 -2580
- package/bundles/igniteui-webcomponents-layouts.umd.min.js +1 -1
- package/esm2015/lib/ListPanelView_combined.js +31 -18
- package/esm2015/lib/PropertyEditorPanelView_combined.js +154 -154
- package/esm2015/lib/PropertyEditorPropertyDescription_combined.js +130 -116
- package/{esm5/lib/Popup.js → esm2015/lib/ToolActionButton.js} +1 -1
- package/esm2015/lib/ToolPanelView_combined.js +862 -692
- package/esm2015/lib/ToolbarView_combined.js +123 -96
- package/esm2015/lib/igc-list-panel-template-item-updating-event-args.js +5 -3
- package/esm2015/lib/igc-property-editor-property-description-component.js +71 -34
- package/esm2015/lib/igc-tool-action-button-component.js +63 -0
- package/esm2015/lib/{igc-popup-module.js → igc-tool-action-button-module.js} +6 -9
- package/esm2015/lib/igc-tool-action-component.js +42 -31
- package/esm2015/lib/igc-tool-action-menu-base-component.js +1 -1
- package/esm2015/lib/igc-tool-action-performed-event-args.js +5 -3
- package/esm2015/lib/igc-tool-action-radio-component.js +7 -4
- package/esm2015/lib/igc-tool-panel-component.js +21 -10
- package/esm2015/lib/igc-toolbar-component.js +23 -12
- package/esm2015/public_api.js +3 -13
- package/esm5/lib/ListPanelView_combined.js +31 -18
- package/esm5/lib/PropertyEditorPanelView_combined.js +154 -154
- package/esm5/lib/PropertyEditorPropertyDescription_combined.js +134 -116
- package/esm5/lib/{PopupView.js → ToolActionButton.js} +1 -1
- package/esm5/lib/ToolPanelView_combined.js +877 -693
- package/esm5/lib/ToolbarView_combined.js +123 -92
- package/esm5/lib/igc-list-panel-template-item-updating-event-args.js +5 -3
- package/esm5/lib/igc-property-editor-property-description-component.js +75 -34
- package/esm5/lib/igc-tool-action-button-component.js +72 -0
- package/esm5/lib/igc-tool-action-button-module.js +20 -0
- package/esm5/lib/igc-tool-action-component.js +46 -31
- package/esm5/lib/igc-tool-action-menu-base-component.js +1 -1
- package/esm5/lib/igc-tool-action-performed-event-args.js +5 -3
- package/esm5/lib/igc-tool-action-radio-component.js +6 -3
- package/esm5/lib/igc-tool-panel-component.js +25 -10
- package/esm5/lib/igc-toolbar-component.js +27 -12
- package/esm5/public_api.js +3 -13
- package/fesm2015/igniteui-webcomponents-layouts.js +1547 -2429
- package/fesm5/igniteui-webcomponents-layouts.js +1577 -2562
- package/lib/PropertyEditorPropertyDescription_combined.d.ts +24 -22
- package/lib/ToolActionButton.d.ts +1 -0
- package/lib/ToolPanelView_combined.d.ts +172 -146
- package/lib/ToolbarView_combined.d.ts +33 -28
- package/lib/igc-property-editor-property-description-component.d.ts +3 -0
- package/lib/igc-tool-action-button-component.d.ts +17 -0
- package/lib/igc-tool-action-button-module.d.ts +3 -0
- package/lib/igc-tool-action-component.d.ts +5 -0
- package/lib/igc-tool-action-radio-component.d.ts +4 -1
- package/lib/igc-tool-panel-component.d.ts +5 -0
- package/lib/igc-toolbar-component.d.ts +5 -0
- package/package.json +3 -3
- package/public_api.d.ts +3 -13
- package/esm2015/lib/OnClosedEventArgs.js +0 -16
- package/esm2015/lib/OnPopupEventArgs.js +0 -16
- package/esm2015/lib/Popup.js +0 -7
- package/esm2015/lib/PopupAlignment.js +0 -29
- package/esm2015/lib/PopupDirection.js +0 -29
- package/esm2015/lib/PopupView.js +0 -7
- package/esm2015/lib/PopupView_combined.js +0 -647
- package/esm2015/lib/PopupVisualModelExport.js +0 -36
- package/esm2015/lib/Popup_InnerAnimationInfo.js +0 -21
- package/esm2015/lib/Popup_OuterAnimationInfo.js +0 -23
- package/esm2015/lib/igc-on-closed-event-args.js +0 -24
- package/esm2015/lib/igc-on-popup-event-args.js +0 -24
- package/esm2015/lib/igc-popup-component.js +0 -388
- package/esm5/lib/OnClosedEventArgs.js +0 -20
- package/esm5/lib/OnPopupEventArgs.js +0 -20
- package/esm5/lib/PopupAlignment.js +0 -29
- package/esm5/lib/PopupDirection.js +0 -29
- package/esm5/lib/PopupView_combined.js +0 -700
- package/esm5/lib/PopupVisualModelExport.js +0 -38
- package/esm5/lib/Popup_InnerAnimationInfo.js +0 -23
- package/esm5/lib/Popup_OuterAnimationInfo.js +0 -25
- package/esm5/lib/igc-on-closed-event-args.js +0 -30
- package/esm5/lib/igc-on-popup-event-args.js +0 -30
- package/esm5/lib/igc-popup-component.js +0 -473
- package/esm5/lib/igc-popup-module.js +0 -23
- package/lib/OnClosedEventArgs.d.ts +0 -7
- package/lib/OnPopupEventArgs.d.ts +0 -7
- package/lib/Popup.d.ts +0 -1
- package/lib/PopupAlignment.d.ts +0 -22
- package/lib/PopupDirection.d.ts +0 -22
- package/lib/PopupView.d.ts +0 -1
- package/lib/PopupView_combined.d.ts +0 -126
- package/lib/PopupVisualModelExport.d.ts +0 -14
- package/lib/Popup_InnerAnimationInfo.d.ts +0 -10
- package/lib/Popup_OuterAnimationInfo.d.ts +0 -12
- package/lib/igc-on-closed-event-args.d.ts +0 -12
- package/lib/igc-on-popup-event-args.d.ts +0 -12
- package/lib/igc-popup-component.d.ts +0 -110
- package/lib/igc-popup-module.d.ts +0 -3
|
@@ -1,647 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
THIS INFRAGISTICS ULTIMATE SOFTWARE LICENSE AGREEMENT ("AGREEMENT") LOCATED HERE:
|
|
3
|
-
https://www.infragistics.com/legal/license/igultimate-la
|
|
4
|
-
https://www.infragistics.com/legal/license/igultimate-eula
|
|
5
|
-
GOVERNS THE LICENSING, INSTALLATION AND USE OF INFRAGISTICS SOFTWARE. BY DOWNLOADING AND/OR INSTALLING AND USING INFRAGISTICS SOFTWARE: you are indicating that you have read and understand this Agreement, and agree to be legally bound by it on behalf of the yourself and your company.
|
|
6
|
-
*/
|
|
7
|
-
import { Base, markType, INotifyPropertyChanged_$type, PropertyChangedEventArgs } from "igniteui-webcomponents-core";
|
|
8
|
-
import { Size } from "igniteui-webcomponents-core";
|
|
9
|
-
import { ElevationHelper } from "igniteui-webcomponents-core";
|
|
10
|
-
import { Popup_OuterAnimationInfo } from "./Popup_OuterAnimationInfo";
|
|
11
|
-
import { Popup_InnerAnimationInfo } from "./Popup_InnerAnimationInfo";
|
|
12
|
-
import { AnimationKeyFrameEffect } from "igniteui-webcomponents-core";
|
|
13
|
-
import { AnimationKeyFrameEffectTiming } from "igniteui-webcomponents-core";
|
|
14
|
-
import { KeyFrameAnimationFactory } from "igniteui-webcomponents-core";
|
|
15
|
-
import { Rect } from "igniteui-webcomponents-core";
|
|
16
|
-
import { stringEmpty } from "igniteui-webcomponents-core";
|
|
17
|
-
import { stringFormat } from "igniteui-webcomponents-core";
|
|
18
|
-
import { OnClosedEventArgs } from "./OnClosedEventArgs";
|
|
19
|
-
import { List$1 } from "igniteui-webcomponents-core";
|
|
20
|
-
import { AnimationKeyFrameProperty } from "igniteui-webcomponents-core";
|
|
21
|
-
import { TranslateTransform } from "igniteui-webcomponents-core";
|
|
22
|
-
import { OnPopupEventArgs } from "./OnPopupEventArgs";
|
|
23
|
-
import { PopupVisualModelExport } from "./PopupVisualModelExport";
|
|
24
|
-
import { AppearanceHelper } from "igniteui-webcomponents-core";
|
|
25
|
-
import { BrushUtil } from "igniteui-webcomponents-core";
|
|
26
|
-
import { truncate } from "igniteui-webcomponents-core";
|
|
27
|
-
/**
|
|
28
|
-
* @hidden
|
|
29
|
-
*/
|
|
30
|
-
export let PopupView = /*@__PURE__*/ (() => {
|
|
31
|
-
class PopupView extends Base {
|
|
32
|
-
constructor() {
|
|
33
|
-
super(...arguments);
|
|
34
|
-
this.k = null;
|
|
35
|
-
this.c = null;
|
|
36
|
-
this.o = null;
|
|
37
|
-
this.n = null;
|
|
38
|
-
this.m = null;
|
|
39
|
-
this.p = null;
|
|
40
|
-
this.f = false;
|
|
41
|
-
this.h = 0;
|
|
42
|
-
this.al = new Size(1, 0, 0);
|
|
43
|
-
this.e = true;
|
|
44
|
-
this.g = false;
|
|
45
|
-
}
|
|
46
|
-
get d() {
|
|
47
|
-
return this.c;
|
|
48
|
-
}
|
|
49
|
-
get l() {
|
|
50
|
-
return this.k;
|
|
51
|
-
}
|
|
52
|
-
ab() {
|
|
53
|
-
this.o.setStyleProperty("height", "0%");
|
|
54
|
-
this.o.setStyleProperty("width", "0%");
|
|
55
|
-
this.n = this.k.createElement("div");
|
|
56
|
-
this.n.setStyleProperty("position", "absolute");
|
|
57
|
-
this.n.setStyleProperty("overflow", "hidden");
|
|
58
|
-
this.n.setStyleProperty("z-index", "10000");
|
|
59
|
-
this.n.setAttribute("key", "popupContentAreaOuter");
|
|
60
|
-
this.m = this.k.createElement("div");
|
|
61
|
-
this.m.setAttribute("key", "popupContentAreaInner");
|
|
62
|
-
this.n.append(this.m);
|
|
63
|
-
}
|
|
64
|
-
ai() {
|
|
65
|
-
let a = this.d;
|
|
66
|
-
let b = ElevationHelper.e(a.w, a.a7, a.a6, a.a5);
|
|
67
|
-
this.n.setStyleProperty("box-shadow", b);
|
|
68
|
-
}
|
|
69
|
-
ah() {
|
|
70
|
-
if (this.d.a8 != null) {
|
|
71
|
-
this.n.setStyleProperty("background-color", this.d.a8._fill);
|
|
72
|
-
}
|
|
73
|
-
}
|
|
74
|
-
aj() {
|
|
75
|
-
if (null == this.o) {
|
|
76
|
-
return;
|
|
77
|
-
}
|
|
78
|
-
this.ai();
|
|
79
|
-
this.ah();
|
|
80
|
-
}
|
|
81
|
-
s() {
|
|
82
|
-
if (null != this.n) {
|
|
83
|
-
this.aj();
|
|
84
|
-
this.n.setStyleProperty("height", "0px");
|
|
85
|
-
let a = this.n.getNativeElement();
|
|
86
|
-
if (false == this.f) {
|
|
87
|
-
document.body.appendChild(a);
|
|
88
|
-
this.f = true;
|
|
89
|
-
if (this.e) {
|
|
90
|
-
this.z();
|
|
91
|
-
}
|
|
92
|
-
}
|
|
93
|
-
}
|
|
94
|
-
}
|
|
95
|
-
t(a, b) {
|
|
96
|
-
this.n.setStyleProperty("top", PopupView.q(a.b));
|
|
97
|
-
this.n.setStyleProperty("height", PopupView.r(a.d));
|
|
98
|
-
this.m.setStyleProperty("top", PopupView.r(b.b));
|
|
99
|
-
this.m.setStyleProperty("opacity", "1");
|
|
100
|
-
this.m.setStyleProperty("transform", stringEmpty());
|
|
101
|
-
this.h = 0;
|
|
102
|
-
if (this.g) {
|
|
103
|
-
this.ag();
|
|
104
|
-
}
|
|
105
|
-
return {
|
|
106
|
-
p0: a,
|
|
107
|
-
p1: b
|
|
108
|
-
};
|
|
109
|
-
}
|
|
110
|
-
u(a) {
|
|
111
|
-
this.h = a;
|
|
112
|
-
}
|
|
113
|
-
ae() {
|
|
114
|
-
if (null != this.n && this.f) {
|
|
115
|
-
let a = this.n.getNativeElement();
|
|
116
|
-
document.body.removeChild(a);
|
|
117
|
-
this.f = false;
|
|
118
|
-
}
|
|
119
|
-
}
|
|
120
|
-
v(a) {
|
|
121
|
-
this.m.append(a);
|
|
122
|
-
}
|
|
123
|
-
a(a) {
|
|
124
|
-
return new AnimationKeyFrameEffect(0, this.m, 0, null, a);
|
|
125
|
-
}
|
|
126
|
-
b(a) {
|
|
127
|
-
return new AnimationKeyFrameEffect(0, this.n, 0, null, a);
|
|
128
|
-
}
|
|
129
|
-
w() {
|
|
130
|
-
if (KeyFrameAnimationFactory.h == null) {
|
|
131
|
-
KeyFrameAnimationFactory.h = this.l;
|
|
132
|
-
}
|
|
133
|
-
}
|
|
134
|
-
get am() {
|
|
135
|
-
if (this.e) {
|
|
136
|
-
this.z();
|
|
137
|
-
}
|
|
138
|
-
return this.al;
|
|
139
|
-
}
|
|
140
|
-
i(a, b) {
|
|
141
|
-
let c;
|
|
142
|
-
let t1 = b;
|
|
143
|
-
L0: while (true) {
|
|
144
|
-
switch (t1) {
|
|
145
|
-
case 0:
|
|
146
|
-
case 1:
|
|
147
|
-
c = a.left;
|
|
148
|
-
break;
|
|
149
|
-
case 2:
|
|
150
|
-
c = a.right - this.am.width;
|
|
151
|
-
break;
|
|
152
|
-
default:
|
|
153
|
-
t1 = 0;
|
|
154
|
-
continue L0;
|
|
155
|
-
}
|
|
156
|
-
break;
|
|
157
|
-
}
|
|
158
|
-
return c;
|
|
159
|
-
}
|
|
160
|
-
j(a, b) {
|
|
161
|
-
let c;
|
|
162
|
-
let t1 = b;
|
|
163
|
-
L0: while (true) {
|
|
164
|
-
switch (t1) {
|
|
165
|
-
case 0:
|
|
166
|
-
case 1:
|
|
167
|
-
c = a.bottom;
|
|
168
|
-
break;
|
|
169
|
-
case 2:
|
|
170
|
-
c = a.top - this.am.height;
|
|
171
|
-
break;
|
|
172
|
-
default:
|
|
173
|
-
t1 = 0;
|
|
174
|
-
continue L0;
|
|
175
|
-
}
|
|
176
|
-
break;
|
|
177
|
-
}
|
|
178
|
-
return c;
|
|
179
|
-
}
|
|
180
|
-
static r(a) {
|
|
181
|
-
return stringFormat("{0}px", a);
|
|
182
|
-
}
|
|
183
|
-
static q(a) {
|
|
184
|
-
return stringFormat("{0}px", a);
|
|
185
|
-
}
|
|
186
|
-
ak(a, b, c) {
|
|
187
|
-
let d = this.j(a, b);
|
|
188
|
-
let e = this.i(a, c);
|
|
189
|
-
this.af(e, d);
|
|
190
|
-
if (b == 2 || c == 2) {
|
|
191
|
-
let f = 10;
|
|
192
|
-
while (f > 0) {
|
|
193
|
-
let g = this.j(a, b);
|
|
194
|
-
let h = this.i(a, c);
|
|
195
|
-
if (g == d && h == e) {
|
|
196
|
-
f = 0;
|
|
197
|
-
break;
|
|
198
|
-
}
|
|
199
|
-
d = g;
|
|
200
|
-
e = h;
|
|
201
|
-
this.af(e, d);
|
|
202
|
-
f--;
|
|
203
|
-
}
|
|
204
|
-
}
|
|
205
|
-
return new Rect(0, e, d, this.am.width, this.am.height);
|
|
206
|
-
}
|
|
207
|
-
z() {
|
|
208
|
-
if (this.f) {
|
|
209
|
-
this.n.setStyleProperty("width", stringEmpty());
|
|
210
|
-
this.n.setStyleProperty("height", stringEmpty());
|
|
211
|
-
this.al = new Size(1, this.m.outerWidth(), this.m.outerHeight());
|
|
212
|
-
this.e = false;
|
|
213
|
-
this.ag();
|
|
214
|
-
}
|
|
215
|
-
else {
|
|
216
|
-
this.e = true;
|
|
217
|
-
}
|
|
218
|
-
}
|
|
219
|
-
af(a, b) {
|
|
220
|
-
let c = stringFormat("{0}px", a);
|
|
221
|
-
let d = stringFormat("{0}px", b);
|
|
222
|
-
this.n.setStyleProperty("left", c);
|
|
223
|
-
this.n.setStyleProperty("top", d);
|
|
224
|
-
}
|
|
225
|
-
ac(a) {
|
|
226
|
-
if (a == null) {
|
|
227
|
-
this.k = null;
|
|
228
|
-
return;
|
|
229
|
-
}
|
|
230
|
-
this.k = a;
|
|
231
|
-
let b = a.rootWrapper;
|
|
232
|
-
this.x(b);
|
|
233
|
-
this.k.getPortal(this.m, "ChildContent", (c) => {
|
|
234
|
-
let comp_ = c.componentRef;
|
|
235
|
-
this.p = comp_;
|
|
236
|
-
}, true);
|
|
237
|
-
}
|
|
238
|
-
ag() {
|
|
239
|
-
let a = new Size(1, this.am.width, this.am.height);
|
|
240
|
-
if (!this.f || !this.d.t) {
|
|
241
|
-
a.height = 0;
|
|
242
|
-
}
|
|
243
|
-
let b = a.width;
|
|
244
|
-
let c = a.height;
|
|
245
|
-
if (this.c.r()) {
|
|
246
|
-
if (this.h == c) {
|
|
247
|
-
return;
|
|
248
|
-
}
|
|
249
|
-
this.c.an();
|
|
250
|
-
this.g = true;
|
|
251
|
-
return;
|
|
252
|
-
}
|
|
253
|
-
this.g = false;
|
|
254
|
-
let d = stringFormat("{0}px", b);
|
|
255
|
-
let e = stringFormat("{0}px", c);
|
|
256
|
-
this.n.setStyleProperty("width", d);
|
|
257
|
-
this.n.setStyleProperty("height", e);
|
|
258
|
-
}
|
|
259
|
-
x(a) {
|
|
260
|
-
this.o = a;
|
|
261
|
-
this.ab();
|
|
262
|
-
}
|
|
263
|
-
y(a) {
|
|
264
|
-
this.c = a;
|
|
265
|
-
}
|
|
266
|
-
aa() {
|
|
267
|
-
}
|
|
268
|
-
ad() {
|
|
269
|
-
this.s();
|
|
270
|
-
if (this.d.t) {
|
|
271
|
-
return;
|
|
272
|
-
}
|
|
273
|
-
this.ag();
|
|
274
|
-
}
|
|
275
|
-
}
|
|
276
|
-
PopupView.$t = /*@__PURE__*/ markType(PopupView, 'PopupView');
|
|
277
|
-
return PopupView;
|
|
278
|
-
})();
|
|
279
|
-
/**
|
|
280
|
-
* @hidden
|
|
281
|
-
*/
|
|
282
|
-
export let Popup = /*@__PURE__*/ (() => {
|
|
283
|
-
class Popup extends Base {
|
|
284
|
-
constructor() {
|
|
285
|
-
super();
|
|
286
|
-
this.i = 0;
|
|
287
|
-
this.h = 0;
|
|
288
|
-
this.bc = null;
|
|
289
|
-
this.n = null;
|
|
290
|
-
this.o = null;
|
|
291
|
-
this.onClosed = null;
|
|
292
|
-
this.onPopup = null;
|
|
293
|
-
this.propertyChanged = null;
|
|
294
|
-
this.k = null;
|
|
295
|
-
this.x = 50;
|
|
296
|
-
this.p = true;
|
|
297
|
-
this.v = -1;
|
|
298
|
-
this.u = Popup.z;
|
|
299
|
-
this.s = false;
|
|
300
|
-
this.a3 = Popup.bb;
|
|
301
|
-
this.a2 = Popup.ba;
|
|
302
|
-
this.a1 = Popup.a9;
|
|
303
|
-
this.a4 = null;
|
|
304
|
-
let a = this.j();
|
|
305
|
-
this.k = a;
|
|
306
|
-
a.y(this);
|
|
307
|
-
}
|
|
308
|
-
au(a, b, c) {
|
|
309
|
-
if (this.propertyChanged != null) {
|
|
310
|
-
this.propertyChanged(this, new PropertyChangedEventArgs(a));
|
|
311
|
-
}
|
|
312
|
-
this.aw(a, b, c);
|
|
313
|
-
}
|
|
314
|
-
get y() {
|
|
315
|
-
return this.x;
|
|
316
|
-
}
|
|
317
|
-
set y(a) {
|
|
318
|
-
let b = this.x;
|
|
319
|
-
this.x = a;
|
|
320
|
-
if (b != this.x) {
|
|
321
|
-
this.au("AnimationDuration", b, a);
|
|
322
|
-
}
|
|
323
|
-
}
|
|
324
|
-
get q() {
|
|
325
|
-
return this.p;
|
|
326
|
-
}
|
|
327
|
-
set q(a) {
|
|
328
|
-
let b = this.p;
|
|
329
|
-
this.p = a;
|
|
330
|
-
if (b != this.p) {
|
|
331
|
-
this.au("AnimationEnabled", b, a);
|
|
332
|
-
}
|
|
333
|
-
}
|
|
334
|
-
get aa() {
|
|
335
|
-
return this.v;
|
|
336
|
-
}
|
|
337
|
-
set aa(a) {
|
|
338
|
-
let b = this.v;
|
|
339
|
-
this.v = a;
|
|
340
|
-
if (b != this.v) {
|
|
341
|
-
this.au("Elevation", b, a);
|
|
342
|
-
}
|
|
343
|
-
}
|
|
344
|
-
get w() {
|
|
345
|
-
return this.u;
|
|
346
|
-
}
|
|
347
|
-
set w(a) {
|
|
348
|
-
let b = this.u;
|
|
349
|
-
this.u = a;
|
|
350
|
-
if (b != this.u) {
|
|
351
|
-
this.au("ActualElevation", b, a);
|
|
352
|
-
}
|
|
353
|
-
}
|
|
354
|
-
get t() {
|
|
355
|
-
return this.s;
|
|
356
|
-
}
|
|
357
|
-
get a7() {
|
|
358
|
-
return this.a3;
|
|
359
|
-
}
|
|
360
|
-
set a7(a) {
|
|
361
|
-
let b = this.a3;
|
|
362
|
-
this.a3 = a;
|
|
363
|
-
if (b != this.a3) {
|
|
364
|
-
this.au("ActualUmbraShadowColor", b, a);
|
|
365
|
-
}
|
|
366
|
-
}
|
|
367
|
-
get a6() {
|
|
368
|
-
return this.a2;
|
|
369
|
-
}
|
|
370
|
-
set a6(a) {
|
|
371
|
-
let b = this.a2;
|
|
372
|
-
this.a2 = a;
|
|
373
|
-
if (b != this.a2) {
|
|
374
|
-
this.au("ActualPenumbraShadowColor", b, a);
|
|
375
|
-
}
|
|
376
|
-
}
|
|
377
|
-
get a5() {
|
|
378
|
-
return this.a1;
|
|
379
|
-
}
|
|
380
|
-
set a5(a) {
|
|
381
|
-
let b = this.a1;
|
|
382
|
-
this.a1 = a;
|
|
383
|
-
if (b != this.a1) {
|
|
384
|
-
this.au("ActualAmbientShadowColor", b, a);
|
|
385
|
-
}
|
|
386
|
-
}
|
|
387
|
-
get a8() {
|
|
388
|
-
return this.a4;
|
|
389
|
-
}
|
|
390
|
-
set a8(a) {
|
|
391
|
-
let b = this.a4;
|
|
392
|
-
this.a4 = a;
|
|
393
|
-
if (b != this.a4) {
|
|
394
|
-
this.au("Background", b, this.a4);
|
|
395
|
-
}
|
|
396
|
-
}
|
|
397
|
-
j() {
|
|
398
|
-
return new PopupView();
|
|
399
|
-
}
|
|
400
|
-
aw(a, b, c) {
|
|
401
|
-
switch (a) {
|
|
402
|
-
case "IsShown":
|
|
403
|
-
if (false == this.t) {
|
|
404
|
-
this.k.ae();
|
|
405
|
-
}
|
|
406
|
-
break;
|
|
407
|
-
case "Elevation":
|
|
408
|
-
this.w = this.aa == -1 ? Popup.z : this.aa;
|
|
409
|
-
break;
|
|
410
|
-
case "ActualElevation":
|
|
411
|
-
case "ActualUmbraShadowColor":
|
|
412
|
-
case "ActualPenumbraShadowColor":
|
|
413
|
-
case "ActualAmbientShadowColor":
|
|
414
|
-
case "Background":
|
|
415
|
-
this.k.aj();
|
|
416
|
-
break;
|
|
417
|
-
case "AnimationEnabled":
|
|
418
|
-
if (false == this.q) {
|
|
419
|
-
this.an();
|
|
420
|
-
}
|
|
421
|
-
break;
|
|
422
|
-
}
|
|
423
|
-
}
|
|
424
|
-
an() {
|
|
425
|
-
if (this.r()) {
|
|
426
|
-
if (null != this.o && this.o.playState == 1) {
|
|
427
|
-
this.o.cancel();
|
|
428
|
-
}
|
|
429
|
-
if (null != this.n && this.n.playState == 1) {
|
|
430
|
-
this.n.cancel();
|
|
431
|
-
}
|
|
432
|
-
}
|
|
433
|
-
}
|
|
434
|
-
l(a) {
|
|
435
|
-
let b = this.f(a);
|
|
436
|
-
let c = a ? this.b() : this.a();
|
|
437
|
-
let d = this.k.a(c);
|
|
438
|
-
let e = new List$1(AnimationKeyFrameProperty.$, 0);
|
|
439
|
-
let f = new List$1(AnimationKeyFrameProperty.$, 0);
|
|
440
|
-
let g = new TranslateTransform();
|
|
441
|
-
g.k = b.a;
|
|
442
|
-
let h = new TranslateTransform();
|
|
443
|
-
h.k = b.b;
|
|
444
|
-
let i = new AnimationKeyFrameProperty(14, g);
|
|
445
|
-
let j = new AnimationKeyFrameProperty(14, h);
|
|
446
|
-
e.add(i);
|
|
447
|
-
f.add(j);
|
|
448
|
-
d.m(...e.toArray());
|
|
449
|
-
d.m(...f.toArray());
|
|
450
|
-
return KeyFrameAnimationFactory.f.c(d);
|
|
451
|
-
}
|
|
452
|
-
m(a) {
|
|
453
|
-
let b = this.g(a);
|
|
454
|
-
this.k.u(b.d);
|
|
455
|
-
let c = a ? this.b() : this.a();
|
|
456
|
-
let d = this.k.b(c);
|
|
457
|
-
let e = new List$1(AnimationKeyFrameProperty.$, 0);
|
|
458
|
-
let f = new List$1(AnimationKeyFrameProperty.$, 0);
|
|
459
|
-
let g = new AnimationKeyFrameProperty(10, b.c);
|
|
460
|
-
let h = new AnimationKeyFrameProperty(10, b.d);
|
|
461
|
-
e.add(g);
|
|
462
|
-
f.add(h);
|
|
463
|
-
if (this.i == 2) {
|
|
464
|
-
let i = b.a;
|
|
465
|
-
let j = b.b;
|
|
466
|
-
let k = new AnimationKeyFrameProperty(12, i);
|
|
467
|
-
let l = new AnimationKeyFrameProperty(12, j);
|
|
468
|
-
e.add(k);
|
|
469
|
-
f.add(l);
|
|
470
|
-
}
|
|
471
|
-
d.m(...e.toArray());
|
|
472
|
-
d.m(...f.toArray());
|
|
473
|
-
return KeyFrameAnimationFactory.f.c(d);
|
|
474
|
-
}
|
|
475
|
-
a() {
|
|
476
|
-
let a = new AnimationKeyFrameEffectTiming();
|
|
477
|
-
a.g = this.y;
|
|
478
|
-
a.b = 3;
|
|
479
|
-
return a;
|
|
480
|
-
}
|
|
481
|
-
b() {
|
|
482
|
-
let a = new AnimationKeyFrameEffectTiming();
|
|
483
|
-
a.g = this.y;
|
|
484
|
-
a.b = 3;
|
|
485
|
-
return a;
|
|
486
|
-
}
|
|
487
|
-
aq() {
|
|
488
|
-
this.k.w();
|
|
489
|
-
}
|
|
490
|
-
f(a) {
|
|
491
|
-
let b = truncate(this.k.am.height);
|
|
492
|
-
if (b <= 0) {
|
|
493
|
-
b = 500;
|
|
494
|
-
}
|
|
495
|
-
let c = a ? -b : 0;
|
|
496
|
-
let d = a ? 0 : -b;
|
|
497
|
-
if (this.i == 2) {
|
|
498
|
-
c = 0;
|
|
499
|
-
d = 0;
|
|
500
|
-
}
|
|
501
|
-
let e = ((() => {
|
|
502
|
-
let $ret = new Popup_InnerAnimationInfo();
|
|
503
|
-
$ret.a = c;
|
|
504
|
-
$ret.b = d;
|
|
505
|
-
return $ret;
|
|
506
|
-
})());
|
|
507
|
-
return e;
|
|
508
|
-
}
|
|
509
|
-
g(a) {
|
|
510
|
-
let b = truncate(this.k.am.height);
|
|
511
|
-
if (b <= 0) {
|
|
512
|
-
b = 500;
|
|
513
|
-
}
|
|
514
|
-
let c = a ? 0 : b;
|
|
515
|
-
let d = a ? b : 0;
|
|
516
|
-
let e;
|
|
517
|
-
let f;
|
|
518
|
-
if (this.i == 2) {
|
|
519
|
-
e = a ? this.bc.bottom : this.bc.top;
|
|
520
|
-
f = a ? this.bc.top : this.bc.bottom;
|
|
521
|
-
}
|
|
522
|
-
else {
|
|
523
|
-
e = this.bc.top;
|
|
524
|
-
f = this.bc.top;
|
|
525
|
-
}
|
|
526
|
-
let g = ((() => {
|
|
527
|
-
let $ret = new Popup_OuterAnimationInfo();
|
|
528
|
-
$ret.c = c;
|
|
529
|
-
$ret.d = d;
|
|
530
|
-
$ret.a = e;
|
|
531
|
-
$ret.b = f;
|
|
532
|
-
return $ret;
|
|
533
|
-
})());
|
|
534
|
-
return g;
|
|
535
|
-
}
|
|
536
|
-
r() {
|
|
537
|
-
if (null == this.o && null == this.n) {
|
|
538
|
-
return false;
|
|
539
|
-
}
|
|
540
|
-
if (null != this.o && this.o.playState == 1) {
|
|
541
|
-
return true;
|
|
542
|
-
}
|
|
543
|
-
if (null != this.n && this.n.playState == 1) {
|
|
544
|
-
return true;
|
|
545
|
-
}
|
|
546
|
-
return false;
|
|
547
|
-
}
|
|
548
|
-
ar() {
|
|
549
|
-
this.k.z();
|
|
550
|
-
}
|
|
551
|
-
av(a, b, c) {
|
|
552
|
-
this.k.ad();
|
|
553
|
-
this.bc = this.k.ak(a, b, c);
|
|
554
|
-
this.i = b;
|
|
555
|
-
this.h = c;
|
|
556
|
-
}
|
|
557
|
-
ay(a, b, c) {
|
|
558
|
-
if (this.s) {
|
|
559
|
-
this.s = false;
|
|
560
|
-
this.au("IsShown", true, this.s);
|
|
561
|
-
}
|
|
562
|
-
this.av(a, b, c);
|
|
563
|
-
this.az(true);
|
|
564
|
-
}
|
|
565
|
-
az(a) {
|
|
566
|
-
this.an();
|
|
567
|
-
let b = this.s;
|
|
568
|
-
this.s = a;
|
|
569
|
-
let c = this.g(a);
|
|
570
|
-
let d = this.f(a);
|
|
571
|
-
if (false == this.q) {
|
|
572
|
-
let e = this.k.t(c, d);
|
|
573
|
-
c = e.p0;
|
|
574
|
-
d = e.p1;
|
|
575
|
-
return;
|
|
576
|
-
}
|
|
577
|
-
this.aq();
|
|
578
|
-
this.n = this.l(this.s);
|
|
579
|
-
this.o = this.m(this.s);
|
|
580
|
-
this.n.play();
|
|
581
|
-
this.o.play();
|
|
582
|
-
this.n.finished.f((f) => this.n.commitStyles());
|
|
583
|
-
this.o.finished.f((f) => {
|
|
584
|
-
this.o.commitStyles();
|
|
585
|
-
this.au("IsShown", b, this.s);
|
|
586
|
-
if (this.s) {
|
|
587
|
-
if (this.onPopup != null) {
|
|
588
|
-
this.onPopup(this, new OnPopupEventArgs());
|
|
589
|
-
}
|
|
590
|
-
}
|
|
591
|
-
else {
|
|
592
|
-
if (this.onClosed != null) {
|
|
593
|
-
this.onClosed(this, new OnClosedEventArgs());
|
|
594
|
-
}
|
|
595
|
-
}
|
|
596
|
-
let g = this.k.t(c, d);
|
|
597
|
-
c = g.p0;
|
|
598
|
-
d = g.p1;
|
|
599
|
-
});
|
|
600
|
-
}
|
|
601
|
-
appendPopupContent(a) {
|
|
602
|
-
this.k.v(a);
|
|
603
|
-
}
|
|
604
|
-
ao() {
|
|
605
|
-
if (!this.s) {
|
|
606
|
-
return;
|
|
607
|
-
}
|
|
608
|
-
this.az(false);
|
|
609
|
-
}
|
|
610
|
-
destroy() {
|
|
611
|
-
this.provideRenderer(null);
|
|
612
|
-
}
|
|
613
|
-
showRelativeToExclusionRect(a, b, c) {
|
|
614
|
-
this.ay(a, b, c);
|
|
615
|
-
}
|
|
616
|
-
as(a) {
|
|
617
|
-
this.bc = this.k.ak(a, this.i, this.h);
|
|
618
|
-
}
|
|
619
|
-
notifySizeChanged() {
|
|
620
|
-
}
|
|
621
|
-
provideRenderer(a) {
|
|
622
|
-
this.k.ac(a);
|
|
623
|
-
}
|
|
624
|
-
ab() {
|
|
625
|
-
return this.c();
|
|
626
|
-
}
|
|
627
|
-
ak() {
|
|
628
|
-
let a = this.c();
|
|
629
|
-
return a.f();
|
|
630
|
-
}
|
|
631
|
-
c() {
|
|
632
|
-
let a = new PopupVisualModelExport();
|
|
633
|
-
a.e = this.w;
|
|
634
|
-
a.d = this.t;
|
|
635
|
-
a.c = AppearanceHelper.a(this.a7);
|
|
636
|
-
a.b = AppearanceHelper.a(this.a6);
|
|
637
|
-
a.a = AppearanceHelper.a(this.a5);
|
|
638
|
-
return a;
|
|
639
|
-
}
|
|
640
|
-
}
|
|
641
|
-
Popup.$t = /*@__PURE__*/ markType(Popup, 'Popup', Base.$, [INotifyPropertyChanged_$type]);
|
|
642
|
-
Popup.z = 2;
|
|
643
|
-
Popup.bb = /*@__PURE__*/ BrushUtil.g(66, 0, 0, 0);
|
|
644
|
-
Popup.ba = /*@__PURE__*/ BrushUtil.g(30, 0, 0, 0);
|
|
645
|
-
Popup.a9 = /*@__PURE__*/ BrushUtil.g(20, 0, 0, 0);
|
|
646
|
-
return Popup;
|
|
647
|
-
})();
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
THIS INFRAGISTICS ULTIMATE SOFTWARE LICENSE AGREEMENT ("AGREEMENT") LOCATED HERE:
|
|
3
|
-
https://www.infragistics.com/legal/license/igultimate-la
|
|
4
|
-
https://www.infragistics.com/legal/license/igultimate-eula
|
|
5
|
-
GOVERNS THE LICENSING, INSTALLATION AND USE OF INFRAGISTICS SOFTWARE. BY DOWNLOADING AND/OR INSTALLING AND USING INFRAGISTICS SOFTWARE: you are indicating that you have read and understand this Agreement, and agree to be legally bound by it on behalf of the yourself and your company.
|
|
6
|
-
*/
|
|
7
|
-
import { Base, markType } from "igniteui-webcomponents-core";
|
|
8
|
-
import { StringBuilder } from "igniteui-webcomponents-core";
|
|
9
|
-
/**
|
|
10
|
-
* @hidden
|
|
11
|
-
*/
|
|
12
|
-
export let PopupVisualModelExport = /*@__PURE__*/ (() => {
|
|
13
|
-
class PopupVisualModelExport extends Base {
|
|
14
|
-
constructor() {
|
|
15
|
-
super(...arguments);
|
|
16
|
-
this.e = 0;
|
|
17
|
-
this.d = false;
|
|
18
|
-
this.c = null;
|
|
19
|
-
this.b = null;
|
|
20
|
-
this.a = null;
|
|
21
|
-
}
|
|
22
|
-
f() {
|
|
23
|
-
let a = new StringBuilder(0);
|
|
24
|
-
a.l("{");
|
|
25
|
-
a.l("actualElevation : " + this.e + ", ");
|
|
26
|
-
a.l("isShown : " + this.d + ", ");
|
|
27
|
-
a.l("actualUmbraShadowColor : " + this.c.serialize() + ", ");
|
|
28
|
-
a.l("actualPenumbraShadowColor : " + this.b.serialize() + ", ");
|
|
29
|
-
a.l("actualAmbientShadowColor : " + this.a.serialize() + ", ");
|
|
30
|
-
a.l("}");
|
|
31
|
-
return a.toString();
|
|
32
|
-
}
|
|
33
|
-
}
|
|
34
|
-
PopupVisualModelExport.$t = /*@__PURE__*/ markType(PopupVisualModelExport, 'PopupVisualModelExport');
|
|
35
|
-
return PopupVisualModelExport;
|
|
36
|
-
})();
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
THIS INFRAGISTICS ULTIMATE SOFTWARE LICENSE AGREEMENT ("AGREEMENT") LOCATED HERE:
|
|
3
|
-
https://www.infragistics.com/legal/license/igultimate-la
|
|
4
|
-
https://www.infragistics.com/legal/license/igultimate-eula
|
|
5
|
-
GOVERNS THE LICENSING, INSTALLATION AND USE OF INFRAGISTICS SOFTWARE. BY DOWNLOADING AND/OR INSTALLING AND USING INFRAGISTICS SOFTWARE: you are indicating that you have read and understand this Agreement, and agree to be legally bound by it on behalf of the yourself and your company.
|
|
6
|
-
*/
|
|
7
|
-
import { ValueType, markStruct } from "igniteui-webcomponents-core";
|
|
8
|
-
/**
|
|
9
|
-
* @hidden
|
|
10
|
-
*/
|
|
11
|
-
export let Popup_InnerAnimationInfo = /*@__PURE__*/ (() => {
|
|
12
|
-
class Popup_InnerAnimationInfo extends ValueType {
|
|
13
|
-
constructor() {
|
|
14
|
-
super();
|
|
15
|
-
this.a = 0;
|
|
16
|
-
this.b = 0;
|
|
17
|
-
}
|
|
18
|
-
}
|
|
19
|
-
Popup_InnerAnimationInfo.$t = /*@__PURE__*/ markStruct(Popup_InnerAnimationInfo, 'Popup_InnerAnimationInfo');
|
|
20
|
-
return Popup_InnerAnimationInfo;
|
|
21
|
-
})();
|