igniteui-webcomponents-layouts 1.3.3

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 (141) hide show
  1. package/License +27 -0
  2. package/README.md +18 -0
  3. package/bundles/igniteui-webcomponents-layouts.umd.js +3012 -0
  4. package/bundles/igniteui-webcomponents-layouts.umd.js.map +1 -0
  5. package/bundles/igniteui-webcomponents-layouts.umd.min.js +2 -0
  6. package/bundles/igniteui-webcomponents-layouts.umd.min.js.map +1 -0
  7. package/esm2015/igniteui-webcomponents-layouts.js +2 -0
  8. package/esm2015/igniteui-webcomponents-layouts.js.map +1 -0
  9. package/esm2015/lib/ExpansionPanel.js +8 -0
  10. package/esm2015/lib/ExpansionPanel.js.map +1 -0
  11. package/esm2015/lib/ExpansionPanelUtilities.js +38 -0
  12. package/esm2015/lib/ExpansionPanelUtilities.js.map +1 -0
  13. package/esm2015/lib/ExpansionPanelView.js +8 -0
  14. package/esm2015/lib/ExpansionPanelView.js.map +1 -0
  15. package/esm2015/lib/ExpansionPanelView_combined.js +713 -0
  16. package/esm2015/lib/ExpansionPanelView_combined.js.map +1 -0
  17. package/esm2015/lib/OnClosedEventArgs.js +17 -0
  18. package/esm2015/lib/OnClosedEventArgs.js.map +1 -0
  19. package/esm2015/lib/OnCollapsedEventArgs.js +17 -0
  20. package/esm2015/lib/OnCollapsedEventArgs.js.map +1 -0
  21. package/esm2015/lib/OnExpandedEventArgs.js +17 -0
  22. package/esm2015/lib/OnExpandedEventArgs.js.map +1 -0
  23. package/esm2015/lib/OnPopupEventArgs.js +17 -0
  24. package/esm2015/lib/OnPopupEventArgs.js.map +1 -0
  25. package/esm2015/lib/Popup.js +8 -0
  26. package/esm2015/lib/Popup.js.map +1 -0
  27. package/esm2015/lib/PopupAlignment.js +30 -0
  28. package/esm2015/lib/PopupAlignment.js.map +1 -0
  29. package/esm2015/lib/PopupDirection.js +30 -0
  30. package/esm2015/lib/PopupDirection.js.map +1 -0
  31. package/esm2015/lib/PopupView.js +8 -0
  32. package/esm2015/lib/PopupView.js.map +1 -0
  33. package/esm2015/lib/PopupView_combined.js +648 -0
  34. package/esm2015/lib/PopupView_combined.js.map +1 -0
  35. package/esm2015/lib/PopupVisualModelExport.js +37 -0
  36. package/esm2015/lib/PopupVisualModelExport.js.map +1 -0
  37. package/esm2015/lib/Popup_InnerAnimationInfo.js +22 -0
  38. package/esm2015/lib/Popup_InnerAnimationInfo.js.map +1 -0
  39. package/esm2015/lib/Popup_OuterAnimationInfo.js +24 -0
  40. package/esm2015/lib/Popup_OuterAnimationInfo.js.map +1 -0
  41. package/esm2015/lib/igc-expansion-panel-component.js +501 -0
  42. package/esm2015/lib/igc-expansion-panel-component.js.map +1 -0
  43. package/esm2015/lib/igc-expansion-panel-module.js +18 -0
  44. package/esm2015/lib/igc-expansion-panel-module.js.map +1 -0
  45. package/esm2015/lib/igc-on-closed-event-args.js +25 -0
  46. package/esm2015/lib/igc-on-closed-event-args.js.map +1 -0
  47. package/esm2015/lib/igc-on-collapsed-event-args.js +25 -0
  48. package/esm2015/lib/igc-on-collapsed-event-args.js.map +1 -0
  49. package/esm2015/lib/igc-on-expanded-event-args.js +25 -0
  50. package/esm2015/lib/igc-on-expanded-event-args.js.map +1 -0
  51. package/esm2015/lib/igc-on-popup-event-args.js +25 -0
  52. package/esm2015/lib/igc-on-popup-event-args.js.map +1 -0
  53. package/esm2015/lib/igc-popup-component.js +382 -0
  54. package/esm2015/lib/igc-popup-component.js.map +1 -0
  55. package/esm2015/lib/igc-popup-module.js +20 -0
  56. package/esm2015/lib/igc-popup-module.js.map +1 -0
  57. package/esm2015/public_api.js +23 -0
  58. package/esm2015/public_api.js.map +1 -0
  59. package/esm5/igniteui-webcomponents-layouts.js +2 -0
  60. package/esm5/igniteui-webcomponents-layouts.js.map +1 -0
  61. package/esm5/lib/ExpansionPanel.js +8 -0
  62. package/esm5/lib/ExpansionPanel.js.map +1 -0
  63. package/esm5/lib/ExpansionPanelUtilities.js +42 -0
  64. package/esm5/lib/ExpansionPanelUtilities.js.map +1 -0
  65. package/esm5/lib/ExpansionPanelView.js +8 -0
  66. package/esm5/lib/ExpansionPanelView.js.map +1 -0
  67. package/esm5/lib/ExpansionPanelView_combined.js +810 -0
  68. package/esm5/lib/ExpansionPanelView_combined.js.map +1 -0
  69. package/esm5/lib/OnClosedEventArgs.js +21 -0
  70. package/esm5/lib/OnClosedEventArgs.js.map +1 -0
  71. package/esm5/lib/OnCollapsedEventArgs.js +21 -0
  72. package/esm5/lib/OnCollapsedEventArgs.js.map +1 -0
  73. package/esm5/lib/OnExpandedEventArgs.js +21 -0
  74. package/esm5/lib/OnExpandedEventArgs.js.map +1 -0
  75. package/esm5/lib/OnPopupEventArgs.js +21 -0
  76. package/esm5/lib/OnPopupEventArgs.js.map +1 -0
  77. package/esm5/lib/Popup.js +8 -0
  78. package/esm5/lib/Popup.js.map +1 -0
  79. package/esm5/lib/PopupAlignment.js +30 -0
  80. package/esm5/lib/PopupAlignment.js.map +1 -0
  81. package/esm5/lib/PopupDirection.js +30 -0
  82. package/esm5/lib/PopupDirection.js.map +1 -0
  83. package/esm5/lib/PopupView.js +8 -0
  84. package/esm5/lib/PopupView.js.map +1 -0
  85. package/esm5/lib/PopupView_combined.js +701 -0
  86. package/esm5/lib/PopupView_combined.js.map +1 -0
  87. package/esm5/lib/PopupVisualModelExport.js +39 -0
  88. package/esm5/lib/PopupVisualModelExport.js.map +1 -0
  89. package/esm5/lib/Popup_InnerAnimationInfo.js +24 -0
  90. package/esm5/lib/Popup_InnerAnimationInfo.js.map +1 -0
  91. package/esm5/lib/Popup_OuterAnimationInfo.js +26 -0
  92. package/esm5/lib/Popup_OuterAnimationInfo.js.map +1 -0
  93. package/esm5/lib/igc-expansion-panel-component.js +630 -0
  94. package/esm5/lib/igc-expansion-panel-component.js.map +1 -0
  95. package/esm5/lib/igc-expansion-panel-module.js +22 -0
  96. package/esm5/lib/igc-expansion-panel-module.js.map +1 -0
  97. package/esm5/lib/igc-on-closed-event-args.js +31 -0
  98. package/esm5/lib/igc-on-closed-event-args.js.map +1 -0
  99. package/esm5/lib/igc-on-collapsed-event-args.js +31 -0
  100. package/esm5/lib/igc-on-collapsed-event-args.js.map +1 -0
  101. package/esm5/lib/igc-on-expanded-event-args.js +31 -0
  102. package/esm5/lib/igc-on-expanded-event-args.js.map +1 -0
  103. package/esm5/lib/igc-on-popup-event-args.js +31 -0
  104. package/esm5/lib/igc-on-popup-event-args.js.map +1 -0
  105. package/esm5/lib/igc-popup-component.js +467 -0
  106. package/esm5/lib/igc-popup-component.js.map +1 -0
  107. package/esm5/lib/igc-popup-module.js +24 -0
  108. package/esm5/lib/igc-popup-module.js.map +1 -0
  109. package/esm5/public_api.js +23 -0
  110. package/esm5/public_api.js.map +1 -0
  111. package/fesm2015/igniteui-webcomponents-layouts.js +2591 -0
  112. package/fesm2015/igniteui-webcomponents-layouts.js.map +1 -0
  113. package/fesm5/igniteui-webcomponents-layouts.js +2982 -0
  114. package/fesm5/igniteui-webcomponents-layouts.js.map +1 -0
  115. package/igniteui-webcomponents-layouts.d.ts +1 -0
  116. package/lib/ExpansionPanel.d.ts +1 -0
  117. package/lib/ExpansionPanelUtilities.d.ts +12 -0
  118. package/lib/ExpansionPanelView.d.ts +1 -0
  119. package/lib/ExpansionPanelView_combined.d.ts +136 -0
  120. package/lib/OnClosedEventArgs.d.ts +7 -0
  121. package/lib/OnCollapsedEventArgs.d.ts +7 -0
  122. package/lib/OnExpandedEventArgs.d.ts +7 -0
  123. package/lib/OnPopupEventArgs.d.ts +7 -0
  124. package/lib/Popup.d.ts +1 -0
  125. package/lib/PopupAlignment.d.ts +22 -0
  126. package/lib/PopupDirection.d.ts +22 -0
  127. package/lib/PopupView.d.ts +1 -0
  128. package/lib/PopupView_combined.d.ts +126 -0
  129. package/lib/PopupVisualModelExport.d.ts +14 -0
  130. package/lib/Popup_InnerAnimationInfo.d.ts +10 -0
  131. package/lib/Popup_OuterAnimationInfo.d.ts +12 -0
  132. package/lib/igc-expansion-panel-component.d.ts +149 -0
  133. package/lib/igc-expansion-panel-module.d.ts +3 -0
  134. package/lib/igc-on-closed-event-args.d.ts +12 -0
  135. package/lib/igc-on-collapsed-event-args.d.ts +12 -0
  136. package/lib/igc-on-expanded-event-args.d.ts +12 -0
  137. package/lib/igc-on-popup-event-args.d.ts +12 -0
  138. package/lib/igc-popup-component.d.ts +110 -0
  139. package/lib/igc-popup-module.d.ts +3 -0
  140. package/package.json +36 -0
  141. package/public_api.d.ts +22 -0
@@ -0,0 +1,3012 @@
1
+ (function (global, factory) {
2
+ typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('tslib'), require('igniteui-webcomponents-core')) :
3
+ typeof define === 'function' && define.amd ? define(['exports', 'tslib', 'igniteui-webcomponents-core'], factory) :
4
+ (global = global || self, factory(global['igniteui-webcomponents-layouts'] = {}, global.tslib_1, global.igniteuiWebcomponentsCore));
5
+ }(this, (function (exports, tslib_1, igniteuiWebcomponentsCore) { 'use strict';
6
+
7
+ /*
8
+ THIS INFRAGISTICS ULTIMATE SOFTWARE LICENSE AGREEMENT ("AGREEMENT") LOCATED HERE:
9
+ https://www.infragistics.com/legal/license/igultimate-la
10
+ https://www.infragistics.com/legal/license/igultimate-eula
11
+ 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.
12
+ */
13
+ /**
14
+ * @hidden
15
+ */
16
+ var ExpansionPanelUtilities = /** @class */ /*@__PURE__*/ (function (_super) {
17
+ tslib_1.__extends(ExpansionPanelUtilities, _super);
18
+ function ExpansionPanelUtilities() {
19
+ return _super !== null && _super.apply(this, arguments) || this;
20
+ }
21
+ ExpansionPanelUtilities.a = function (a) {
22
+ var b = a.getNativeElement();
23
+ return b.checked;
24
+ };
25
+ ExpansionPanelUtilities.b = function (a, b) {
26
+ var c = a.getNativeElement();
27
+ c.checked = b;
28
+ };
29
+ ExpansionPanelUtilities.c = function (a) {
30
+ var b = 0;
31
+ if (a.altKey) {
32
+ b |= 1;
33
+ }
34
+ if (a.shiftKey) {
35
+ b |= 4;
36
+ }
37
+ if (a.ctrlKey) {
38
+ b |= 2;
39
+ }
40
+ return b;
41
+ };
42
+ ExpansionPanelUtilities.$t = igniteuiWebcomponentsCore.markType(ExpansionPanelUtilities, 'ExpansionPanelUtilities');
43
+ return ExpansionPanelUtilities;
44
+ }(igniteuiWebcomponentsCore.Base));
45
+
46
+ /*
47
+ THIS INFRAGISTICS ULTIMATE SOFTWARE LICENSE AGREEMENT ("AGREEMENT") LOCATED HERE:
48
+ https://www.infragistics.com/legal/license/igultimate-la
49
+ https://www.infragistics.com/legal/license/igultimate-eula
50
+ 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.
51
+ */
52
+ /**
53
+ * @hidden
54
+ */
55
+ var OnCollapsedEventArgs = /** @class */ /*@__PURE__*/ (function (_super) {
56
+ tslib_1.__extends(OnCollapsedEventArgs, _super);
57
+ function OnCollapsedEventArgs() {
58
+ return _super !== null && _super.apply(this, arguments) || this;
59
+ }
60
+ OnCollapsedEventArgs.$t = igniteuiWebcomponentsCore.markType(OnCollapsedEventArgs, 'OnCollapsedEventArgs', igniteuiWebcomponentsCore.EventArgs.$);
61
+ return OnCollapsedEventArgs;
62
+ }(igniteuiWebcomponentsCore.EventArgs));
63
+
64
+ /*
65
+ THIS INFRAGISTICS ULTIMATE SOFTWARE LICENSE AGREEMENT ("AGREEMENT") LOCATED HERE:
66
+ https://www.infragistics.com/legal/license/igultimate-la
67
+ https://www.infragistics.com/legal/license/igultimate-eula
68
+ 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.
69
+ */
70
+ /**
71
+ * @hidden
72
+ */
73
+ var OnExpandedEventArgs = /** @class */ /*@__PURE__*/ (function (_super) {
74
+ tslib_1.__extends(OnExpandedEventArgs, _super);
75
+ function OnExpandedEventArgs() {
76
+ return _super !== null && _super.apply(this, arguments) || this;
77
+ }
78
+ OnExpandedEventArgs.$t = igniteuiWebcomponentsCore.markType(OnExpandedEventArgs, 'OnExpandedEventArgs', igniteuiWebcomponentsCore.EventArgs.$);
79
+ return OnExpandedEventArgs;
80
+ }(igniteuiWebcomponentsCore.EventArgs));
81
+
82
+ /*
83
+ THIS INFRAGISTICS ULTIMATE SOFTWARE LICENSE AGREEMENT ("AGREEMENT") LOCATED HERE:
84
+ https://www.infragistics.com/legal/license/igultimate-la
85
+ https://www.infragistics.com/legal/license/igultimate-eula
86
+ 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.
87
+ */
88
+ /**
89
+ * @hidden
90
+ */
91
+ var ExpansionPanelView = /** @class */ /*@__PURE__*/ (function (_super) {
92
+ tslib_1.__extends(ExpansionPanelView, _super);
93
+ function ExpansionPanelView() {
94
+ var _this = _super !== null && _super.apply(this, arguments) || this;
95
+ _this.i = null;
96
+ _this.p = null;
97
+ _this.g = null;
98
+ _this.f = null;
99
+ _this.o = null;
100
+ _this.k = null;
101
+ _this.n = null;
102
+ _this.m = null;
103
+ _this.l = null;
104
+ return _this;
105
+ }
106
+ Object.defineProperty(ExpansionPanelView.prototype, "q", {
107
+ get: function () {
108
+ return this.p;
109
+ },
110
+ enumerable: true,
111
+ configurable: true
112
+ });
113
+ Object.defineProperty(ExpansionPanelView.prototype, "h", {
114
+ get: function () {
115
+ return this.g;
116
+ },
117
+ enumerable: true,
118
+ configurable: true
119
+ });
120
+ Object.defineProperty(ExpansionPanelView.prototype, "j", {
121
+ get: function () {
122
+ return this.i;
123
+ },
124
+ enumerable: true,
125
+ configurable: true
126
+ });
127
+ ExpansionPanelView.prototype.ab = function () {
128
+ this.q.setStyleProperty("display", "flex");
129
+ this.q.setStyleProperty("flexDirection", "column");
130
+ this.q.setStyleProperty("flexWrap", "no-wrap");
131
+ this.q.setStyleProperty("alignItems", "left");
132
+ };
133
+ ExpansionPanelView.prototype.aj = function () {
134
+ var a = this.h;
135
+ var b = igniteuiWebcomponentsCore.ElevationHelper.e(a.q, a.bn, a.bm, a.bi);
136
+ this.q.setStyleProperty("box-shadow", b);
137
+ };
138
+ ExpansionPanelView.prototype.ak = function () {
139
+ if (null == this.q) {
140
+ return;
141
+ }
142
+ this.aj();
143
+ this.ah();
144
+ this.ai();
145
+ this.ag();
146
+ if (null != this.o) {
147
+ igniteuiWebcomponentsCore.NativeUI.j(this.o, this.h.bl);
148
+ }
149
+ if (null != this.k) {
150
+ igniteuiWebcomponentsCore.NativeUI.n(this.k, this.h.bj);
151
+ }
152
+ if (null != this.n) {
153
+ igniteuiWebcomponentsCore.NativeUI.n(this.n, this.h.bk);
154
+ }
155
+ };
156
+ ExpansionPanelView.prototype.a = function (a) {
157
+ return new igniteuiWebcomponentsCore.AnimationKeyFrameEffect(0, this.k, 0, null, a);
158
+ };
159
+ ExpansionPanelView.prototype.b = function (a) {
160
+ return new igniteuiWebcomponentsCore.AnimationKeyFrameEffect(0, this.n, 0, null, a);
161
+ };
162
+ ExpansionPanelView.prototype.c = function (a) {
163
+ return new igniteuiWebcomponentsCore.AnimationKeyFrameEffect(0, this.o, 0, null, a);
164
+ };
165
+ ExpansionPanelView.prototype.d = function (a) {
166
+ return new igniteuiWebcomponentsCore.AnimationKeyFrameEffect(0, this.l, 0, null, a);
167
+ };
168
+ ExpansionPanelView.prototype.e = function (a) {
169
+ return new igniteuiWebcomponentsCore.AnimationKeyFrameEffect(0, this.m, 0, null, a);
170
+ };
171
+ ExpansionPanelView.prototype.u = function () {
172
+ if (igniteuiWebcomponentsCore.KeyFrameAnimationFactory.h == null) {
173
+ igniteuiWebcomponentsCore.KeyFrameAnimationFactory.h = this.j;
174
+ }
175
+ };
176
+ ExpansionPanelView.prototype.r = function () {
177
+ return this.l.outerHeight();
178
+ };
179
+ ExpansionPanelView.prototype.ac = function (a) {
180
+ if (a == null) {
181
+ this.i = null;
182
+ return;
183
+ }
184
+ this.i = a;
185
+ var b = a.rootWrapper;
186
+ this.y(b);
187
+ };
188
+ ExpansionPanelView.prototype.ag = function () {
189
+ if (null == this.f) {
190
+ return;
191
+ }
192
+ var a = this.h.n;
193
+ if (a) {
194
+ this.f.svgPath = ExpansionPanelView.s;
195
+ }
196
+ else {
197
+ this.f.svgPath = ExpansionPanelView.t;
198
+ }
199
+ };
200
+ ExpansionPanelView.prototype.ah = function () {
201
+ if (null != this.k) {
202
+ var a = this.h.ab;
203
+ this.k.setRawText(a);
204
+ }
205
+ };
206
+ ExpansionPanelView.prototype.ai = function () {
207
+ if (null != this.n) {
208
+ var a = this.h.ah;
209
+ this.n.setRawText(a);
210
+ }
211
+ };
212
+ ExpansionPanelView.prototype.y = function (a) {
213
+ this.p = a;
214
+ this.ab();
215
+ };
216
+ ExpansionPanelView.prototype.z = function (a) {
217
+ this.g = a;
218
+ };
219
+ ExpansionPanelView.prototype.aa = function () {
220
+ };
221
+ ExpansionPanelView.prototype.af = function (a) {
222
+ var b = this.j;
223
+ this.o = a;
224
+ var c = b.createElement("div");
225
+ this.o.append(c);
226
+ this.v(c);
227
+ var d = b.createElement("div");
228
+ d.setStyleProperty("display", "flex");
229
+ d.setStyleProperty("flex-direction", "column");
230
+ d.setStyleProperty("justify-content", "space-evenly");
231
+ d.setStyleProperty("align-items", "flex-start");
232
+ this.o.append(d);
233
+ var e = b.createElement("div");
234
+ d.append(e);
235
+ this.k = b.createElement("label");
236
+ e.append(this.k);
237
+ var f = b.createElement("div");
238
+ d.append(f);
239
+ this.n = b.createElement("label");
240
+ f.append(this.n);
241
+ this.o.setAttribute("tabindex", "0");
242
+ this.o.setStyleProperty("display", "flex");
243
+ this.o.setStyleProperty("flex-direction", "row");
244
+ c.setStyleProperty("display", "flex");
245
+ c.setStyleProperty("justify-content", "center");
246
+ c.setStyleProperty("flex-direction", "column");
247
+ c.setStyleProperty("margin", "0px 10px 0px 10px");
248
+ c.setStyleProperty("flex", "none | 0 | content");
249
+ this.ak();
250
+ this.o.listen("click", igniteuiWebcomponentsCore.runOn(this, this.w));
251
+ this.o.listen("keydown", igniteuiWebcomponentsCore.runOn(this, this.x));
252
+ };
253
+ ExpansionPanelView.prototype.v = function (a) {
254
+ var _this = this;
255
+ if (this.f != null) {
256
+ return;
257
+ }
258
+ this.i.getPortal(a, "Icon", function (b) {
259
+ var c = b.componentRef;
260
+ _this.f = (c.i);
261
+ _this.f.fill = ExpansionPanelView.al;
262
+ _this.ag();
263
+ }, false);
264
+ };
265
+ ExpansionPanelView.prototype.ae = function (a) {
266
+ var b = this.j;
267
+ this.m = a;
268
+ this.m.setAttribute("tabindex", "1");
269
+ this.m.setStyleProperty("overflow", "hidden");
270
+ };
271
+ ExpansionPanelView.prototype.ad = function (a) {
272
+ var b = this.j;
273
+ this.l = a;
274
+ };
275
+ ExpansionPanelView.prototype.w = function (a) {
276
+ var b = a.originalEvent;
277
+ var c = b.target;
278
+ this.h.a2();
279
+ };
280
+ ExpansionPanelView.prototype.x = function (a) {
281
+ var b = igniteuiWebcomponentsCore.BaseDOMEventProxy.cv(a);
282
+ var c = ExpansionPanelUtilities.c(a);
283
+ switch (b) {
284
+ case 9:
285
+ case 3:
286
+ this.h.a2();
287
+ a.preventDefault();
288
+ break;
289
+ case 17:
290
+ if (c == 1) {
291
+ this.h.au();
292
+ a.preventDefault();
293
+ }
294
+ break;
295
+ case 15:
296
+ if (c == 1) {
297
+ this.h.ar();
298
+ a.preventDefault();
299
+ }
300
+ break;
301
+ }
302
+ };
303
+ ExpansionPanelView.$t = igniteuiWebcomponentsCore.markType(ExpansionPanelView, 'ExpansionPanelView');
304
+ ExpansionPanelView.al = igniteuiWebcomponentsCore.BrushUtil.g(255, 33, 150, 243);
305
+ ExpansionPanelView.t = "M16.59 8.59L12 13.17 7.41 8.59 6 10l6 6 6-6z";
306
+ ExpansionPanelView.s = "M12 8l-6 6 1.41 1.41L12 10.83l4.59 4.58L18 14z";
307
+ return ExpansionPanelView;
308
+ }(igniteuiWebcomponentsCore.Base));
309
+ /**
310
+ * @hidden
311
+ */
312
+ var ExpansionPanel = /** @class */ /*@__PURE__*/ (function (_super) {
313
+ tslib_1.__extends(ExpansionPanel, _super);
314
+ function ExpansionPanel() {
315
+ var _this = _super.call(this) || this;
316
+ _this.c = null;
317
+ _this.onCollapsed = null;
318
+ _this.onExpanded = null;
319
+ _this.propertyChanged = null;
320
+ _this.g = null;
321
+ _this.aa = "Caption";
322
+ _this.bb = null;
323
+ _this.a4 = ExpansionPanel.bs;
324
+ _this.a9 = null;
325
+ _this.ba = null;
326
+ _this.ag = igniteuiWebcomponentsCore.stringEmpty();
327
+ _this.be = null;
328
+ _this.a5 = ExpansionPanel.bt;
329
+ _this.bc = null;
330
+ _this.bd = null;
331
+ _this.p = -1;
332
+ _this.o = ExpansionPanel.r;
333
+ _this.m = true;
334
+ _this.bf = null;
335
+ _this.a6 = ExpansionPanel.bu;
336
+ _this.bg = null;
337
+ _this.bh = null;
338
+ _this.a8 = ExpansionPanel.bw;
339
+ _this.a7 = ExpansionPanel.bv;
340
+ _this.a3 = ExpansionPanel.br;
341
+ var a = _this.f();
342
+ _this.g = a;
343
+ a.z(_this);
344
+ return _this;
345
+ }
346
+ ExpansionPanel.prototype.aw = function (a, b, c) {
347
+ if (this.propertyChanged != null) {
348
+ this.propertyChanged(this, new igniteuiWebcomponentsCore.PropertyChangedEventArgs(a));
349
+ }
350
+ this.ax(a, b, c);
351
+ };
352
+ Object.defineProperty(ExpansionPanel.prototype, "ab", {
353
+ get: function () {
354
+ return this.aa;
355
+ },
356
+ set: function (a) {
357
+ if (a == this.aa) {
358
+ return;
359
+ }
360
+ var b = this.aa;
361
+ this.aa = a;
362
+ this.aw("Caption", b, this.aa);
363
+ },
364
+ enumerable: true,
365
+ configurable: true
366
+ });
367
+ Object.defineProperty(ExpansionPanel.prototype, "bq", {
368
+ get: function () {
369
+ return this.bb;
370
+ },
371
+ set: function (a) {
372
+ var b = this.bb;
373
+ this.bb = a;
374
+ if (b != this.bb) {
375
+ this.aw("CaptionTextColor", b, a);
376
+ }
377
+ },
378
+ enumerable: true,
379
+ configurable: true
380
+ });
381
+ Object.defineProperty(ExpansionPanel.prototype, "bj", {
382
+ get: function () {
383
+ return this.a4;
384
+ },
385
+ set: function (a) {
386
+ var b = this.a4;
387
+ this.a4 = a;
388
+ if (b != this.a4) {
389
+ this.aw("ActualCaptionTextColor", b, a);
390
+ }
391
+ },
392
+ enumerable: true,
393
+ configurable: true
394
+ });
395
+ Object.defineProperty(ExpansionPanel.prototype, "bo", {
396
+ get: function () {
397
+ return this.a9;
398
+ },
399
+ set: function (a) {
400
+ var b = this.a9;
401
+ this.a9 = a;
402
+ if (b != this.a9) {
403
+ this.aw("CaptionCollapsedTextColor", b, a);
404
+ }
405
+ },
406
+ enumerable: true,
407
+ configurable: true
408
+ });
409
+ Object.defineProperty(ExpansionPanel.prototype, "bp", {
410
+ get: function () {
411
+ return this.ba;
412
+ },
413
+ set: function (a) {
414
+ var b = this.ba;
415
+ this.ba = a;
416
+ if (b != this.ba) {
417
+ this.aw("CaptionExpandedTextColor", b, a);
418
+ }
419
+ },
420
+ enumerable: true,
421
+ configurable: true
422
+ });
423
+ Object.defineProperty(ExpansionPanel.prototype, "ah", {
424
+ get: function () {
425
+ return this.ag;
426
+ },
427
+ set: function (a) {
428
+ if (a == this.ag) {
429
+ return;
430
+ }
431
+ var b = this.ag;
432
+ this.ag = a;
433
+ this.aw("Description", b, this.ag);
434
+ },
435
+ enumerable: true,
436
+ configurable: true
437
+ });
438
+ Object.defineProperty(ExpansionPanel.prototype, "bz", {
439
+ get: function () {
440
+ return this.be;
441
+ },
442
+ set: function (a) {
443
+ var b = this.be;
444
+ this.be = a;
445
+ if (b != this.be) {
446
+ this.aw("DescriptionTextColor", b, a);
447
+ }
448
+ },
449
+ enumerable: true,
450
+ configurable: true
451
+ });
452
+ Object.defineProperty(ExpansionPanel.prototype, "bk", {
453
+ get: function () {
454
+ return this.a5;
455
+ },
456
+ set: function (a) {
457
+ var b = this.a5;
458
+ this.a5 = a;
459
+ if (b != this.a5) {
460
+ this.aw("ActualDescriptionTextColor", b, a);
461
+ }
462
+ },
463
+ enumerable: true,
464
+ configurable: true
465
+ });
466
+ Object.defineProperty(ExpansionPanel.prototype, "bx", {
467
+ get: function () {
468
+ return this.bc;
469
+ },
470
+ set: function (a) {
471
+ var b = this.bc;
472
+ this.bc = a;
473
+ if (b != this.bc) {
474
+ this.aw("DescriptionCollapsedTextColor", b, a);
475
+ }
476
+ },
477
+ enumerable: true,
478
+ configurable: true
479
+ });
480
+ Object.defineProperty(ExpansionPanel.prototype, "by", {
481
+ get: function () {
482
+ return this.bd;
483
+ },
484
+ set: function (a) {
485
+ var b = this.bd;
486
+ this.bd = a;
487
+ if (b != this.bd) {
488
+ this.aw("DescriptionExpandedTextColor", b, a);
489
+ }
490
+ },
491
+ enumerable: true,
492
+ configurable: true
493
+ });
494
+ Object.defineProperty(ExpansionPanel.prototype, "s", {
495
+ get: function () {
496
+ return this.p;
497
+ },
498
+ set: function (a) {
499
+ var b = this.p;
500
+ this.p = a;
501
+ if (b != this.p) {
502
+ this.aw("Elevation", b, a);
503
+ }
504
+ },
505
+ enumerable: true,
506
+ configurable: true
507
+ });
508
+ Object.defineProperty(ExpansionPanel.prototype, "q", {
509
+ get: function () {
510
+ return this.o;
511
+ },
512
+ set: function (a) {
513
+ var b = this.o;
514
+ this.o = a;
515
+ if (b != this.o) {
516
+ this.aw("ActualElevation", b, a);
517
+ }
518
+ },
519
+ enumerable: true,
520
+ configurable: true
521
+ });
522
+ Object.defineProperty(ExpansionPanel.prototype, "n", {
523
+ get: function () {
524
+ return this.m;
525
+ },
526
+ set: function (a) {
527
+ var _this = this;
528
+ if (a == this.m) {
529
+ return;
530
+ }
531
+ this.at();
532
+ var b = this.m;
533
+ this.m = a;
534
+ var c = this.h(this.m);
535
+ var d = this.i(this.m);
536
+ var e = this.j(this.m);
537
+ var f = this.k(this.m);
538
+ var g = this.l(this.m);
539
+ c.play();
540
+ d.play();
541
+ e.play();
542
+ f.play();
543
+ g.play();
544
+ c.finished.f(function (h) { return c.commitStyles(); });
545
+ d.finished.f(function (h) { return d.commitStyles(); });
546
+ e.finished.f(function (h) { return e.commitStyles(); });
547
+ f.finished.f(function (h) { return f.commitStyles(); });
548
+ g.finished.f(function (h) {
549
+ g.commitStyles();
550
+ _this.aw("Expanded", b, _this.m);
551
+ if (_this.m) {
552
+ if (_this.onExpanded != null) {
553
+ _this.onExpanded(_this, new OnExpandedEventArgs());
554
+ }
555
+ else if (_this.onCollapsed != null) {
556
+ _this.onCollapsed(_this, new OnCollapsedEventArgs());
557
+ }
558
+ }
559
+ });
560
+ },
561
+ enumerable: true,
562
+ configurable: true
563
+ });
564
+ Object.defineProperty(ExpansionPanel.prototype, "b6", {
565
+ get: function () {
566
+ return this.bf;
567
+ },
568
+ set: function (a) {
569
+ var b = this.bf;
570
+ this.bf = a;
571
+ if (b != this.bf) {
572
+ this.aw("HeaderBackgroundColor", b, a);
573
+ }
574
+ },
575
+ enumerable: true,
576
+ configurable: true
577
+ });
578
+ Object.defineProperty(ExpansionPanel.prototype, "bl", {
579
+ get: function () {
580
+ return this.a6;
581
+ },
582
+ set: function (a) {
583
+ var b = this.a6;
584
+ this.a6 = a;
585
+ if (b != this.a6) {
586
+ this.aw("ActualHeaderBackgroundColor", b, a);
587
+ }
588
+ },
589
+ enumerable: true,
590
+ configurable: true
591
+ });
592
+ Object.defineProperty(ExpansionPanel.prototype, "b7", {
593
+ get: function () {
594
+ return this.bg;
595
+ },
596
+ set: function (a) {
597
+ var b = this.bg;
598
+ this.bg = a;
599
+ if (b != this.bg) {
600
+ this.aw("HeaderCollapsedBackgroundColor", b, a);
601
+ }
602
+ },
603
+ enumerable: true,
604
+ configurable: true
605
+ });
606
+ Object.defineProperty(ExpansionPanel.prototype, "b8", {
607
+ get: function () {
608
+ return this.bh;
609
+ },
610
+ set: function (a) {
611
+ var b = this.bh;
612
+ this.bh = a;
613
+ if (b != this.bh) {
614
+ this.aw("HeaderExpandedBackgroundColor", b, a);
615
+ }
616
+ },
617
+ enumerable: true,
618
+ configurable: true
619
+ });
620
+ Object.defineProperty(ExpansionPanel.prototype, "bn", {
621
+ get: function () {
622
+ return this.a8;
623
+ },
624
+ set: function (a) {
625
+ var b = this.a8;
626
+ this.a8 = a;
627
+ if (b != this.a8) {
628
+ this.aw("ActualUmbraShadowColor", b, a);
629
+ }
630
+ },
631
+ enumerable: true,
632
+ configurable: true
633
+ });
634
+ Object.defineProperty(ExpansionPanel.prototype, "bm", {
635
+ get: function () {
636
+ return this.a7;
637
+ },
638
+ set: function (a) {
639
+ var b = this.a7;
640
+ this.a7 = a;
641
+ if (b != this.a7) {
642
+ this.aw("ActualPenumbraShadowColor", b, a);
643
+ }
644
+ },
645
+ enumerable: true,
646
+ configurable: true
647
+ });
648
+ Object.defineProperty(ExpansionPanel.prototype, "bi", {
649
+ get: function () {
650
+ return this.a3;
651
+ },
652
+ set: function (a) {
653
+ var b = this.a3;
654
+ this.a3 = a;
655
+ if (b != this.a3) {
656
+ this.aw("ActualAmbientShadowColor", b, a);
657
+ }
658
+ },
659
+ enumerable: true,
660
+ configurable: true
661
+ });
662
+ ExpansionPanel.prototype.f = function () {
663
+ return new ExpansionPanelView();
664
+ };
665
+ ExpansionPanel.prototype.ax = function (a, b, c) {
666
+ switch (a) {
667
+ case "CaptionTextColor":
668
+ case "CaptionExpandedTextColor":
669
+ case "CaptionCollapsedTextColor":
670
+ case "DescriptionTextColor":
671
+ case "DescriptionExpandedTextColor":
672
+ case "DescriptionCollapsedTextColor":
673
+ case "HeaderBackgroundColor":
674
+ case "HeaderCollapsedBackgroundColor":
675
+ case "HeaderExpandedBackgroundColor":
676
+ case "Expanded":
677
+ var d = this.bl;
678
+ var e = this.b4();
679
+ var f = this.bj;
680
+ var g = this.b0();
681
+ var h = this.bk;
682
+ var i = this.b2();
683
+ var j = (d != e) || (f != g) || (h != i);
684
+ if (j) {
685
+ this.bl = e;
686
+ this.bj = g;
687
+ this.bk = i;
688
+ }
689
+ else if (a == "Expanded") {
690
+ this.g.ak();
691
+ }
692
+ break;
693
+ case "Elevation":
694
+ this.q = this.s == -1 ? ExpansionPanel.r : this.s;
695
+ break;
696
+ case "ActualElevation":
697
+ case "ActualHeaderBackgroundColor":
698
+ case "ActualCaptionTextColor":
699
+ case "ActualDescriptionTextColor":
700
+ case "ActualUmbraShadowColor":
701
+ case "ActualPenumbraShadowColor":
702
+ case "ActualAmbientShadowColor":
703
+ case "Caption":
704
+ case "Description":
705
+ this.g.ak();
706
+ break;
707
+ }
708
+ };
709
+ ExpansionPanel.prototype.h = function (a) {
710
+ var b = this.bj;
711
+ var c = this.b1(a);
712
+ var d = a ? this.b() : this.a();
713
+ var e = this.g.a(d);
714
+ var f = [new igniteuiWebcomponentsCore.AnimationKeyFrameProperty(7, b)];
715
+ var g = [new igniteuiWebcomponentsCore.AnimationKeyFrameProperty(7, c)];
716
+ e.m.apply(e, tslib_1.__spread(f));
717
+ e.m.apply(e, tslib_1.__spread(g));
718
+ return igniteuiWebcomponentsCore.KeyFrameAnimationFactory.f.c(e);
719
+ };
720
+ ExpansionPanel.prototype.i = function (a) {
721
+ var b = this.bk;
722
+ var c = this.b3(a);
723
+ var d = a ? this.b() : this.a();
724
+ var e = this.g.b(d);
725
+ var f = [new igniteuiWebcomponentsCore.AnimationKeyFrameProperty(7, b)];
726
+ var g = [new igniteuiWebcomponentsCore.AnimationKeyFrameProperty(7, c)];
727
+ e.m.apply(e, tslib_1.__spread(f));
728
+ e.m.apply(e, tslib_1.__spread(g));
729
+ return igniteuiWebcomponentsCore.KeyFrameAnimationFactory.f.c(e);
730
+ };
731
+ ExpansionPanel.prototype.j = function (a) {
732
+ var b = this.bl;
733
+ var c = this.b5(a);
734
+ var d = a ? this.b() : this.a();
735
+ var e = this.g.c(d);
736
+ var f = [new igniteuiWebcomponentsCore.AnimationKeyFrameProperty(2, b)];
737
+ var g = [new igniteuiWebcomponentsCore.AnimationKeyFrameProperty(2, c)];
738
+ e.m.apply(e, tslib_1.__spread(f));
739
+ e.m.apply(e, tslib_1.__spread(g));
740
+ return igniteuiWebcomponentsCore.KeyFrameAnimationFactory.f.c(e);
741
+ };
742
+ ExpansionPanel.prototype.k = function (a) {
743
+ var b = this.g.r();
744
+ if (b <= 0) {
745
+ b = 500;
746
+ }
747
+ var c = a ? -b : 0;
748
+ var d = a ? 0 : -b;
749
+ var e = a ? 0 : 1;
750
+ var f = a ? 1 : 0;
751
+ var g = a ? this.b() : this.a();
752
+ var h = new igniteuiWebcomponentsCore.TranslateTransform();
753
+ h.k = c;
754
+ var i = new igniteuiWebcomponentsCore.TranslateTransform();
755
+ i.k = d;
756
+ var j = this.g.d(g);
757
+ var k = [new igniteuiWebcomponentsCore.AnimationKeyFrameProperty(14, h), new igniteuiWebcomponentsCore.AnimationKeyFrameProperty(1, e)];
758
+ var l = [new igniteuiWebcomponentsCore.AnimationKeyFrameProperty(14, i), new igniteuiWebcomponentsCore.AnimationKeyFrameProperty(1, f)];
759
+ j.m.apply(j, tslib_1.__spread(k));
760
+ j.m.apply(j, tslib_1.__spread(l));
761
+ return igniteuiWebcomponentsCore.KeyFrameAnimationFactory.f.c(j);
762
+ };
763
+ ExpansionPanel.prototype.l = function (a) {
764
+ var b = this.g.r();
765
+ if (b <= 0) {
766
+ b = 500;
767
+ }
768
+ var c = a ? 0 : b;
769
+ var d = a ? b : 0;
770
+ var e = a ? this.b() : this.a();
771
+ var f = this.g.e(e);
772
+ var g = [new igniteuiWebcomponentsCore.AnimationKeyFrameProperty(10, c)];
773
+ var h = [new igniteuiWebcomponentsCore.AnimationKeyFrameProperty(10, d)];
774
+ f.m.apply(f, tslib_1.__spread(g));
775
+ f.m.apply(f, tslib_1.__spread(h));
776
+ return igniteuiWebcomponentsCore.KeyFrameAnimationFactory.f.c(f);
777
+ };
778
+ ExpansionPanel.prototype.a = function () {
779
+ var a = new igniteuiWebcomponentsCore.AnimationKeyFrameEffectTiming();
780
+ a.g = 300;
781
+ a.b = 3;
782
+ return a;
783
+ };
784
+ ExpansionPanel.prototype.b = function () {
785
+ var a = new igniteuiWebcomponentsCore.AnimationKeyFrameEffectTiming();
786
+ a.g = 300;
787
+ a.b = 3;
788
+ return a;
789
+ };
790
+ ExpansionPanel.prototype.at = function () {
791
+ this.g.u();
792
+ };
793
+ ExpansionPanel.prototype.b0 = function () {
794
+ return this.b1(this.n);
795
+ };
796
+ ExpansionPanel.prototype.b1 = function (a) {
797
+ var b;
798
+ var c = null;
799
+ c = a ? this.bp : this.bo;
800
+ if (null != c) {
801
+ b = c;
802
+ }
803
+ else {
804
+ b = null != this.bq ? this.bq : ExpansionPanel.bs;
805
+ }
806
+ return b;
807
+ };
808
+ ExpansionPanel.prototype.b2 = function () {
809
+ return this.b3(this.n);
810
+ };
811
+ ExpansionPanel.prototype.b3 = function (a) {
812
+ var b;
813
+ var c = null;
814
+ c = a ? this.by : this.bx;
815
+ if (null != c) {
816
+ b = c;
817
+ }
818
+ else {
819
+ b = null != this.bz ? this.bz : ExpansionPanel.bt;
820
+ }
821
+ return b;
822
+ };
823
+ ExpansionPanel.prototype.b4 = function () {
824
+ return this.b5(this.n);
825
+ };
826
+ ExpansionPanel.prototype.b5 = function (a) {
827
+ var b;
828
+ var c = null;
829
+ c = a ? this.b8 : this.b7;
830
+ if (null != c) {
831
+ b = c;
832
+ }
833
+ else {
834
+ b = null != this.b6 ? this.b6 : ExpansionPanel.bu;
835
+ }
836
+ return b;
837
+ };
838
+ ExpansionPanel.prototype.ar = function () {
839
+ this.n = false;
840
+ };
841
+ ExpansionPanel.prototype.destroy = function () {
842
+ this.provideRenderer(null);
843
+ };
844
+ ExpansionPanel.prototype.au = function () {
845
+ this.n = true;
846
+ };
847
+ ExpansionPanel.prototype.notifySizeChanged = function () {
848
+ };
849
+ ExpansionPanel.prototype.provideHeader = function (a) {
850
+ this.g.af(a);
851
+ };
852
+ ExpansionPanel.prototype.provideContentAreaOuter = function (a) {
853
+ this.g.ae(a);
854
+ };
855
+ ExpansionPanel.prototype.provideContentAreaInner = function (a) {
856
+ this.g.ad(a);
857
+ };
858
+ ExpansionPanel.prototype.provideRenderer = function (a) {
859
+ this.g.ac(a);
860
+ };
861
+ ExpansionPanel.prototype.a2 = function () {
862
+ this.n = !this.n;
863
+ };
864
+ ExpansionPanel.$t = igniteuiWebcomponentsCore.markType(ExpansionPanel, 'ExpansionPanel', igniteuiWebcomponentsCore.Base.$, [igniteuiWebcomponentsCore.INotifyPropertyChanged_$type]);
865
+ ExpansionPanel.bs = igniteuiWebcomponentsCore.BrushUtil.g(188, 0, 0, 0);
866
+ ExpansionPanel.bt = igniteuiWebcomponentsCore.BrushUtil.g(188, 0, 0, 0);
867
+ ExpansionPanel.r = 2;
868
+ ExpansionPanel.bu = igniteuiWebcomponentsCore.BrushUtil.g(255, 245, 245, 245);
869
+ ExpansionPanel.bw = igniteuiWebcomponentsCore.BrushUtil.g(66, 0, 0, 0);
870
+ ExpansionPanel.bv = igniteuiWebcomponentsCore.BrushUtil.g(30, 0, 0, 0);
871
+ ExpansionPanel.br = igniteuiWebcomponentsCore.BrushUtil.g(20, 0, 0, 0);
872
+ return ExpansionPanel;
873
+ }(igniteuiWebcomponentsCore.Base));
874
+
875
+ /*
876
+ THIS INFRAGISTICS ULTIMATE SOFTWARE LICENSE AGREEMENT ("AGREEMENT") LOCATED HERE:
877
+ https://www.infragistics.com/legal/license/igultimate-la
878
+ https://www.infragistics.com/legal/license/igultimate-eula
879
+ 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.
880
+ */
881
+
882
+ var IgcOnExpandedEventArgs = /** @class */ /*@__PURE__*/ (function () {
883
+ function IgcOnExpandedEventArgs() {
884
+ this._implementation = this.createImplementation();
885
+ this._implementation.externalObject = this;
886
+ this.onImplementationCreated();
887
+ }
888
+ IgcOnExpandedEventArgs.prototype.createImplementation = function () {
889
+ return new OnExpandedEventArgs();
890
+ };
891
+ Object.defineProperty(IgcOnExpandedEventArgs.prototype, "i", {
892
+ /**
893
+ * @hidden
894
+ */
895
+ get: function () {
896
+ return this._implementation;
897
+ },
898
+ enumerable: true,
899
+ configurable: true
900
+ });
901
+ IgcOnExpandedEventArgs.prototype.onImplementationCreated = function () {
902
+ };
903
+ IgcOnExpandedEventArgs.prototype._provideImplementation = function (i) {
904
+ this._implementation = i;
905
+ this._implementation.externalObject = this;
906
+ this.onImplementationCreated();
907
+ };
908
+ return IgcOnExpandedEventArgs;
909
+ }());
910
+
911
+ var IgcOnCollapsedEventArgs = /** @class */ /*@__PURE__*/ (function () {
912
+ function IgcOnCollapsedEventArgs() {
913
+ this._implementation = this.createImplementation();
914
+ this._implementation.externalObject = this;
915
+ this.onImplementationCreated();
916
+ }
917
+ IgcOnCollapsedEventArgs.prototype.createImplementation = function () {
918
+ return new OnCollapsedEventArgs();
919
+ };
920
+ Object.defineProperty(IgcOnCollapsedEventArgs.prototype, "i", {
921
+ /**
922
+ * @hidden
923
+ */
924
+ get: function () {
925
+ return this._implementation;
926
+ },
927
+ enumerable: true,
928
+ configurable: true
929
+ });
930
+ IgcOnCollapsedEventArgs.prototype.onImplementationCreated = function () {
931
+ };
932
+ IgcOnCollapsedEventArgs.prototype._provideImplementation = function (i) {
933
+ this._implementation = i;
934
+ this._implementation.externalObject = this;
935
+ this.onImplementationCreated();
936
+ };
937
+ return IgcOnCollapsedEventArgs;
938
+ }());
939
+
940
+ var IgcExpansionPanelComponent = /** @class */ /*@__PURE__*/ (function (_super) {
941
+ tslib_1.__extends(IgcExpansionPanelComponent, _super);
942
+ function IgcExpansionPanelComponent() {
943
+ var _this = _super.call(this) || this;
944
+ _this._implementation = null;
945
+ _this._disconnected = false;
946
+ _this._settingAttributes = false;
947
+ _this._attached = false;
948
+ _this._queuedSetAttributes = [];
949
+ _this._updatingFromAttribute = false;
950
+ _this.__p = null;
951
+ _this._hasUserValues = new Set();
952
+ _this._stylingContainer = null;
953
+ _this._stylingParent = null;
954
+ _this._inStyling = false;
955
+ _this._onCollapsed = null;
956
+ _this._onCollapsed_wrapped = null;
957
+ _this._onExpanded = null;
958
+ _this._onExpanded_wrapped = null;
959
+ if (_this._styling) {
960
+ igniteuiWebcomponentsCore.NamePatcher.ensureStylablePatched(Object.getPrototypeOf(_this));
961
+ }
962
+ _this._implementation = _this.createImplementation();
963
+ _this._portalManager = new igniteuiWebcomponentsCore.PortalManager("iconContent");
964
+ _this._webComponentRenderer = new igniteuiWebcomponentsCore.WebComponentRenderer(_this, document, true, {}, _this._portalManager);
965
+ _this._mainDiv = _this._webComponentRenderer.createElement("div");
966
+ _this._webComponentRenderer.updateRoot(_this._mainDiv);
967
+ var header = _this._webComponentRenderer.createElement("div");
968
+ header.setAttribute("key", "expansionPanelHeaderArea");
969
+ var contentOuter = _this._webComponentRenderer.createElement("div");
970
+ contentOuter.setAttribute("key", "expansionPanelContentAreaOuter");
971
+ var contentInner = _this._webComponentRenderer.createElement("div");
972
+ contentInner.setAttribute("key", "expansionPanelContentAreaInner");
973
+ contentOuter.append(contentInner);
974
+ _this._mainDiv.append(header);
975
+ _this._mainDiv.append(contentOuter);
976
+ var mut = new MutationObserver(function (list) {
977
+ var e_1, _b;
978
+ try {
979
+ for (var list_1 = tslib_1.__values(list), list_1_1 = list_1.next(); !list_1_1.done; list_1_1 = list_1.next()) {
980
+ var mutation = list_1_1.value;
981
+ if (mutation.type == 'childList') {
982
+ for (var i = 0; i < _this.childNodes.length; i++) {
983
+ var child = _this.childNodes[i];
984
+ if (child != _this._mainDiv.getNativeElement() &&
985
+ child !== header.getNativeElement() &&
986
+ child !== contentOuter.getNativeElement() &&
987
+ child !== contentInner.getNativeElement()) {
988
+ //TODO: maybe hide and clone this, allow for dynamic removal of content, etc.
989
+ child.remove();
990
+ contentInner.append(_this._webComponentRenderer.getWrapper(child));
991
+ }
992
+ }
993
+ }
994
+ }
995
+ }
996
+ catch (e_1_1) {
997
+ e_1 = { error: e_1_1 };
998
+ }
999
+ finally {
1000
+ try {
1001
+ if (list_1_1 && !list_1_1.done && (_b = list_1.return))
1002
+ _b.call(list_1);
1003
+ }
1004
+ finally {
1005
+ if (e_1)
1006
+ throw e_1.error;
1007
+ }
1008
+ }
1009
+ });
1010
+ mut.observe(_this, {
1011
+ childList: true
1012
+ });
1013
+ _this.i.provideRenderer(_this._webComponentRenderer);
1014
+ _this.i.provideHeader(_this._webComponentRenderer.getWrapper(header));
1015
+ _this.i.provideContentAreaOuter(_this._webComponentRenderer.getWrapper(contentOuter));
1016
+ _this.i.provideContentAreaInner(_this._webComponentRenderer.getWrapper(contentInner));
1017
+ return _this;
1018
+ }
1019
+ Object.defineProperty(IgcExpansionPanelComponent.prototype, "height", {
1020
+ get: function () {
1021
+ return this._height;
1022
+ },
1023
+ set: function (value) {
1024
+ this._height = value;
1025
+ this.style.height = value;
1026
+ },
1027
+ enumerable: true,
1028
+ configurable: true
1029
+ });
1030
+ Object.defineProperty(IgcExpansionPanelComponent.prototype, "width", {
1031
+ get: function () {
1032
+ return this._width;
1033
+ },
1034
+ set: function (value) {
1035
+ this._width = value;
1036
+ this.style.width = value;
1037
+ },
1038
+ enumerable: true,
1039
+ configurable: true
1040
+ });
1041
+ // supports angular themes or custom properties set in CSS
1042
+ IgcExpansionPanelComponent.prototype.updateStyle = function () {
1043
+ this._styling(this, this);
1044
+ };
1045
+ IgcExpansionPanelComponent.prototype.destroy = function () {
1046
+ this._implementation.destroy();
1047
+ this._webComponentRenderer.destroy();
1048
+ };
1049
+ IgcExpansionPanelComponent.prototype.createImplementation = function () {
1050
+ return new ExpansionPanel();
1051
+ };
1052
+ Object.defineProperty(IgcExpansionPanelComponent.prototype, "i", {
1053
+ get: function () {
1054
+ return this._implementation;
1055
+ },
1056
+ enumerable: true,
1057
+ configurable: true
1058
+ });
1059
+ IgcExpansionPanelComponent.prototype.disconnectedCallback = function () {
1060
+ this._disconnected = true;
1061
+ };
1062
+ IgcExpansionPanelComponent.prototype.connectedCallback = function () {
1063
+ if (this._disconnected) {
1064
+ this._disconnected = false;
1065
+ return;
1066
+ }
1067
+ this.classList.add("ig-expansion-panel");
1068
+ this.classList.add("igr-expansion-panel");
1069
+ this.appendChild(this._mainDiv.getNativeElement());
1070
+ this._attached = true;
1071
+ this.style.display = "block";
1072
+ this.style.height = this._height;
1073
+ this.style.width = this._width;
1074
+ this._flushQueuedAttributes();
1075
+ // supports themes or custom properties set in CSS
1076
+ this._styling(this, this);
1077
+ this.afterContentInit();
1078
+ };
1079
+ IgcExpansionPanelComponent.prototype.afterContentInit = function () {
1080
+ };
1081
+ IgcExpansionPanelComponent.prototype._enqueueSetAttribute = function (attrName, attrValue) {
1082
+ this._queuedSetAttributes.push({ attrName: attrName, attrValue: attrValue });
1083
+ };
1084
+ IgcExpansionPanelComponent.prototype._flushQueuedAttributes = function () {
1085
+ this._settingAttributes = true;
1086
+ for (var i = 0; i < this._queuedSetAttributes.length; i++) {
1087
+ this.setAttribute(this._queuedSetAttributes[i].attrName, this._queuedSetAttributes[i].attrValue);
1088
+ }
1089
+ this._settingAttributes = false;
1090
+ this._queuedSetAttributes.length = 0;
1091
+ };
1092
+ IgcExpansionPanelComponent.prototype._a = function (attrName, attrValue) {
1093
+ if (this._updatingFromAttribute) {
1094
+ return;
1095
+ }
1096
+ if (attrValue) {
1097
+ attrValue = attrValue.toString();
1098
+ }
1099
+ this._settingAttributes = true;
1100
+ attrName = igniteuiWebcomponentsCore.toSpinal(attrName);
1101
+ if (this._attached) {
1102
+ this.setAttribute(attrName, attrValue);
1103
+ }
1104
+ else {
1105
+ this._enqueueSetAttribute(attrName, attrValue);
1106
+ }
1107
+ this._settingAttributes = false;
1108
+ };
1109
+ Object.defineProperty(IgcExpansionPanelComponent, "observedAttributes", {
1110
+ get: function () {
1111
+ if (IgcExpansionPanelComponent._observedAttributesIgcExpansionPanelComponent == null) {
1112
+ var names = igniteuiWebcomponentsCore.getAllPropertyNames(IgcExpansionPanelComponent);
1113
+ for (var i = 0; i < names.length; i++) {
1114
+ names[i] = igniteuiWebcomponentsCore.toSpinal(names[i]);
1115
+ }
1116
+ IgcExpansionPanelComponent._observedAttributesIgcExpansionPanelComponent = names;
1117
+ }
1118
+ return IgcExpansionPanelComponent._observedAttributesIgcExpansionPanelComponent;
1119
+ },
1120
+ enumerable: true,
1121
+ configurable: true
1122
+ });
1123
+ IgcExpansionPanelComponent.prototype.attributeChangedCallback = function (name, oldValue, newValue) {
1124
+ if (this._settingAttributes) {
1125
+ return;
1126
+ }
1127
+ var setName = igniteuiWebcomponentsCore.fromSpinal(name);
1128
+ this._updatingFromAttribute = true;
1129
+ this[setName] = newValue;
1130
+ this._updatingFromAttribute = false;
1131
+ };
1132
+ IgcExpansionPanelComponent.register = function () {
1133
+ if (!IgcExpansionPanelComponent._isElementRegistered) {
1134
+ IgcExpansionPanelComponent._isElementRegistered = true;
1135
+ igniteuiWebcomponentsCore.RegisterElementHelper.registerElement(IgcExpansionPanelComponent.htmlTagName, IgcExpansionPanelComponent);
1136
+ }
1137
+ };
1138
+ Object.defineProperty(IgcExpansionPanelComponent.prototype, "caption", {
1139
+ /**
1140
+ * Gets / sets the caption to display in the header area.
1141
+ */
1142
+ get: function () {
1143
+ return this.i.ab;
1144
+ },
1145
+ set: function (v) {
1146
+ this.i.ab = v;
1147
+ },
1148
+ enumerable: true,
1149
+ configurable: true
1150
+ });
1151
+ Object.defineProperty(IgcExpansionPanelComponent.prototype, "captionTextColor", {
1152
+ /**
1153
+ * Gets or sets the color to use for the header caption text.
1154
+ */
1155
+ get: function () {
1156
+ return igniteuiWebcomponentsCore.brushToString(this.i.bq);
1157
+ },
1158
+ set: function (v) {
1159
+ this.i.bq = igniteuiWebcomponentsCore.stringToBrush(v);
1160
+ this._a("captionTextColor", igniteuiWebcomponentsCore.brushToString(this.i.bq));
1161
+ },
1162
+ enumerable: true,
1163
+ configurable: true
1164
+ });
1165
+ Object.defineProperty(IgcExpansionPanelComponent.prototype, "actualCaptionTextColor", {
1166
+ /**
1167
+ * Gets or sets the color to use for the actual header caption text.
1168
+ */
1169
+ get: function () {
1170
+ return igniteuiWebcomponentsCore.brushToString(this.i.bj);
1171
+ },
1172
+ set: function (v) {
1173
+ this.i.bj = igniteuiWebcomponentsCore.stringToBrush(v);
1174
+ this._a("actualCaptionTextColor", igniteuiWebcomponentsCore.brushToString(this.i.bj));
1175
+ },
1176
+ enumerable: true,
1177
+ configurable: true
1178
+ });
1179
+ Object.defineProperty(IgcExpansionPanelComponent.prototype, "captionCollapsedTextColor", {
1180
+ /**
1181
+ * Gets or sets the color to use for the header caption text when the panel is collapsed.
1182
+ */
1183
+ get: function () {
1184
+ return igniteuiWebcomponentsCore.brushToString(this.i.bo);
1185
+ },
1186
+ set: function (v) {
1187
+ this.i.bo = igniteuiWebcomponentsCore.stringToBrush(v);
1188
+ this._a("captionCollapsedTextColor", igniteuiWebcomponentsCore.brushToString(this.i.bo));
1189
+ },
1190
+ enumerable: true,
1191
+ configurable: true
1192
+ });
1193
+ Object.defineProperty(IgcExpansionPanelComponent.prototype, "captionExpandedTextColor", {
1194
+ /**
1195
+ * Gets or sets the color to use for the header caption text when the panel is expanded.
1196
+ */
1197
+ get: function () {
1198
+ return igniteuiWebcomponentsCore.brushToString(this.i.bp);
1199
+ },
1200
+ set: function (v) {
1201
+ this.i.bp = igniteuiWebcomponentsCore.stringToBrush(v);
1202
+ this._a("captionExpandedTextColor", igniteuiWebcomponentsCore.brushToString(this.i.bp));
1203
+ },
1204
+ enumerable: true,
1205
+ configurable: true
1206
+ });
1207
+ Object.defineProperty(IgcExpansionPanelComponent.prototype, "description", {
1208
+ /**
1209
+ * Gets / sets the description to display in the header area.
1210
+ */
1211
+ get: function () {
1212
+ return this.i.ah;
1213
+ },
1214
+ set: function (v) {
1215
+ this.i.ah = v;
1216
+ },
1217
+ enumerable: true,
1218
+ configurable: true
1219
+ });
1220
+ Object.defineProperty(IgcExpansionPanelComponent.prototype, "descriptionTextColor", {
1221
+ /**
1222
+ * Gets or sets the color to use for the header description text.
1223
+ */
1224
+ get: function () {
1225
+ return igniteuiWebcomponentsCore.brushToString(this.i.bz);
1226
+ },
1227
+ set: function (v) {
1228
+ this.i.bz = igniteuiWebcomponentsCore.stringToBrush(v);
1229
+ this._a("descriptionTextColor", igniteuiWebcomponentsCore.brushToString(this.i.bz));
1230
+ },
1231
+ enumerable: true,
1232
+ configurable: true
1233
+ });
1234
+ Object.defineProperty(IgcExpansionPanelComponent.prototype, "actualDescriptionTextColor", {
1235
+ /**
1236
+ * Gets or sets the color to use for the actual header description text.
1237
+ */
1238
+ get: function () {
1239
+ return igniteuiWebcomponentsCore.brushToString(this.i.bk);
1240
+ },
1241
+ set: function (v) {
1242
+ this.i.bk = igniteuiWebcomponentsCore.stringToBrush(v);
1243
+ this._a("actualDescriptionTextColor", igniteuiWebcomponentsCore.brushToString(this.i.bk));
1244
+ },
1245
+ enumerable: true,
1246
+ configurable: true
1247
+ });
1248
+ Object.defineProperty(IgcExpansionPanelComponent.prototype, "descriptionCollapsedTextColor", {
1249
+ /**
1250
+ * Gets or sets the color to use for the header description text when the panel is collapsed.
1251
+ */
1252
+ get: function () {
1253
+ return igniteuiWebcomponentsCore.brushToString(this.i.bx);
1254
+ },
1255
+ set: function (v) {
1256
+ this.i.bx = igniteuiWebcomponentsCore.stringToBrush(v);
1257
+ this._a("descriptionCollapsedTextColor", igniteuiWebcomponentsCore.brushToString(this.i.bx));
1258
+ },
1259
+ enumerable: true,
1260
+ configurable: true
1261
+ });
1262
+ Object.defineProperty(IgcExpansionPanelComponent.prototype, "descriptionExpandedTextColor", {
1263
+ /**
1264
+ * Gets or sets the color to use for the header description text when the panel is expanded.
1265
+ */
1266
+ get: function () {
1267
+ return igniteuiWebcomponentsCore.brushToString(this.i.by);
1268
+ },
1269
+ set: function (v) {
1270
+ this.i.by = igniteuiWebcomponentsCore.stringToBrush(v);
1271
+ this._a("descriptionExpandedTextColor", igniteuiWebcomponentsCore.brushToString(this.i.by));
1272
+ },
1273
+ enumerable: true,
1274
+ configurable: true
1275
+ });
1276
+ Object.defineProperty(IgcExpansionPanelComponent.prototype, "elevation", {
1277
+ /**
1278
+ * Gets or sets the elevation to use for the button regardless of type.
1279
+ */
1280
+ get: function () {
1281
+ return this.i.s;
1282
+ },
1283
+ set: function (v) {
1284
+ this.i.s = +v;
1285
+ this._a("elevation", this.i.s);
1286
+ },
1287
+ enumerable: true,
1288
+ configurable: true
1289
+ });
1290
+ Object.defineProperty(IgcExpansionPanelComponent.prototype, "actualElevation", {
1291
+ /**
1292
+ * Gets or sets the elevation of the border shadow
1293
+ */
1294
+ get: function () {
1295
+ return this.i.q;
1296
+ },
1297
+ set: function (v) {
1298
+ this.i.q = +v;
1299
+ this._a("actualElevation", this.i.q);
1300
+ },
1301
+ enumerable: true,
1302
+ configurable: true
1303
+ });
1304
+ Object.defineProperty(IgcExpansionPanelComponent.prototype, "expanded", {
1305
+ /**
1306
+ * Gets / sets the expanded state of the panel.
1307
+ */
1308
+ get: function () {
1309
+ return this.i.n;
1310
+ },
1311
+ set: function (v) {
1312
+ this.i.n = igniteuiWebcomponentsCore.ensureBool(v);
1313
+ this._a("expanded", this.i.n);
1314
+ },
1315
+ enumerable: true,
1316
+ configurable: true
1317
+ });
1318
+ Object.defineProperty(IgcExpansionPanelComponent.prototype, "headerBackgroundColor", {
1319
+ /**
1320
+ * Gets or sets the color to use for the background of the header.
1321
+ */
1322
+ get: function () {
1323
+ return igniteuiWebcomponentsCore.brushToString(this.i.b6);
1324
+ },
1325
+ set: function (v) {
1326
+ this.i.b6 = igniteuiWebcomponentsCore.stringToBrush(v);
1327
+ this._a("headerBackgroundColor", igniteuiWebcomponentsCore.brushToString(this.i.b6));
1328
+ },
1329
+ enumerable: true,
1330
+ configurable: true
1331
+ });
1332
+ Object.defineProperty(IgcExpansionPanelComponent.prototype, "actualHeaderBackgroundColor", {
1333
+ /**
1334
+ * Gets or sets the color to use for the actual background of the header.
1335
+ */
1336
+ get: function () {
1337
+ return igniteuiWebcomponentsCore.brushToString(this.i.bl);
1338
+ },
1339
+ set: function (v) {
1340
+ this.i.bl = igniteuiWebcomponentsCore.stringToBrush(v);
1341
+ this._a("actualHeaderBackgroundColor", igniteuiWebcomponentsCore.brushToString(this.i.bl));
1342
+ },
1343
+ enumerable: true,
1344
+ configurable: true
1345
+ });
1346
+ Object.defineProperty(IgcExpansionPanelComponent.prototype, "headerCollapsedBackgroundColor", {
1347
+ /**
1348
+ * Gets or sets the color to use for the background of the header when the panel is expanded.
1349
+ */
1350
+ get: function () {
1351
+ return igniteuiWebcomponentsCore.brushToString(this.i.b7);
1352
+ },
1353
+ set: function (v) {
1354
+ this.i.b7 = igniteuiWebcomponentsCore.stringToBrush(v);
1355
+ this._a("headerCollapsedBackgroundColor", igniteuiWebcomponentsCore.brushToString(this.i.b7));
1356
+ },
1357
+ enumerable: true,
1358
+ configurable: true
1359
+ });
1360
+ Object.defineProperty(IgcExpansionPanelComponent.prototype, "headerExpandedBackgroundColor", {
1361
+ /**
1362
+ * Gets or sets the color to use for the background of the header when the panel is expanded.
1363
+ */
1364
+ get: function () {
1365
+ return igniteuiWebcomponentsCore.brushToString(this.i.b8);
1366
+ },
1367
+ set: function (v) {
1368
+ this.i.b8 = igniteuiWebcomponentsCore.stringToBrush(v);
1369
+ this._a("headerExpandedBackgroundColor", igniteuiWebcomponentsCore.brushToString(this.i.b8));
1370
+ },
1371
+ enumerable: true,
1372
+ configurable: true
1373
+ });
1374
+ Object.defineProperty(IgcExpansionPanelComponent.prototype, "actualUmbraShadowColor", {
1375
+ /**
1376
+ * Gets or sets the color to use for the check mark when the checkbox is checked.
1377
+ */
1378
+ get: function () {
1379
+ return igniteuiWebcomponentsCore.brushToString(this.i.bn);
1380
+ },
1381
+ set: function (v) {
1382
+ this.i.bn = igniteuiWebcomponentsCore.stringToBrush(v);
1383
+ this._a("actualUmbraShadowColor", igniteuiWebcomponentsCore.brushToString(this.i.bn));
1384
+ },
1385
+ enumerable: true,
1386
+ configurable: true
1387
+ });
1388
+ Object.defineProperty(IgcExpansionPanelComponent.prototype, "actualPenumbraShadowColor", {
1389
+ /**
1390
+ * Gets or sets the color to use for the check mark when the checkbox is checked.
1391
+ */
1392
+ get: function () {
1393
+ return igniteuiWebcomponentsCore.brushToString(this.i.bm);
1394
+ },
1395
+ set: function (v) {
1396
+ this.i.bm = igniteuiWebcomponentsCore.stringToBrush(v);
1397
+ this._a("actualPenumbraShadowColor", igniteuiWebcomponentsCore.brushToString(this.i.bm));
1398
+ },
1399
+ enumerable: true,
1400
+ configurable: true
1401
+ });
1402
+ Object.defineProperty(IgcExpansionPanelComponent.prototype, "actualAmbientShadowColor", {
1403
+ /**
1404
+ * Gets or sets the color to use for the check mark when the checkbox is checked.
1405
+ */
1406
+ get: function () {
1407
+ return igniteuiWebcomponentsCore.brushToString(this.i.bi);
1408
+ },
1409
+ set: function (v) {
1410
+ this.i.bi = igniteuiWebcomponentsCore.stringToBrush(v);
1411
+ this._a("actualAmbientShadowColor", igniteuiWebcomponentsCore.brushToString(this.i.bi));
1412
+ },
1413
+ enumerable: true,
1414
+ configurable: true
1415
+ });
1416
+ IgcExpansionPanelComponent.prototype.findByName = function (name) {
1417
+ return null;
1418
+ };
1419
+ Object.defineProperty(IgcExpansionPanelComponent.prototype, "hasUserValues", {
1420
+ get: function () {
1421
+ return this._hasUserValues;
1422
+ },
1423
+ enumerable: true,
1424
+ configurable: true
1425
+ });
1426
+ IgcExpansionPanelComponent.prototype.__m = function (propertyName) {
1427
+ if (!this._inStyling) {
1428
+ this._hasUserValues.add(propertyName);
1429
+ }
1430
+ };
1431
+ IgcExpansionPanelComponent.prototype._styling = function (container, component, parent) {
1432
+ if (this._inStyling) {
1433
+ return;
1434
+ }
1435
+ this._inStyling = true;
1436
+ this._stylingContainer = container;
1437
+ this._stylingParent = component;
1438
+ var genericPrefix = "";
1439
+ var typeName = this.i.$type.name;
1440
+ if (typeName.indexOf("Xam") === 0) {
1441
+ typeName = typeName.substring(3);
1442
+ }
1443
+ genericPrefix = igniteuiWebcomponentsCore.toSpinal("ExpansionPanelComponent");
1444
+ var additionalPrefixes = [];
1445
+ var prefix = igniteuiWebcomponentsCore.toSpinal(typeName);
1446
+ additionalPrefixes.push(prefix + "-");
1447
+ var b = this.i.$type.baseType;
1448
+ while (b && b.name != "Object" &&
1449
+ b.name != "Base" &&
1450
+ b.name != "Control" &&
1451
+ b.Name != "DependencyObject" &&
1452
+ b.Name != "FrameworkElement") {
1453
+ typeName = b.name;
1454
+ if (typeName.indexOf("Xam") === 0) {
1455
+ typeName = typeName.substring(3);
1456
+ }
1457
+ var basePrefix = igniteuiWebcomponentsCore.toSpinal(typeName);
1458
+ additionalPrefixes.push(basePrefix + "-");
1459
+ b = b.baseType;
1460
+ }
1461
+ if (parent) {
1462
+ var parentTypeName = parent.i.$type.name;
1463
+ if (parentTypeName.indexOf("Xam") === 0) {
1464
+ parentTypeName = parentTypeName.substring(3);
1465
+ }
1466
+ var parentPrefix = igniteuiWebcomponentsCore.toSpinal(parentTypeName);
1467
+ additionalPrefixes.push(parentPrefix + "-" + genericPrefix + "-");
1468
+ additionalPrefixes.push(parentPrefix + "-" + prefix + "-");
1469
+ }
1470
+ igniteuiWebcomponentsCore.initializePropertiesFromCss(container, this, genericPrefix + "-", this.hasUserValues, false, additionalPrefixes);
1471
+ if (this._otherStyling) {
1472
+ this._otherStyling(container, component, parent);
1473
+ }
1474
+ this._inStyling = false;
1475
+ };
1476
+ /**
1477
+ * Collapses the contents of the expansion panel.
1478
+
1479
+ */
1480
+ IgcExpansionPanelComponent.prototype.collapse = function () {
1481
+ this.i.ar();
1482
+ };
1483
+ /**
1484
+ * Expands the contents of the expansion panel.
1485
+
1486
+ */
1487
+ IgcExpansionPanelComponent.prototype.expand = function () {
1488
+ this.i.au();
1489
+ };
1490
+ /**
1491
+ * Toggles the expanded state of the expansion panel.
1492
+
1493
+ */
1494
+ IgcExpansionPanelComponent.prototype.toggle = function () {
1495
+ this.i.a2();
1496
+ };
1497
+ Object.defineProperty(IgcExpansionPanelComponent.prototype, "onCollapsed", {
1498
+ /**
1499
+ * Fires when the expansion panel is collapsed.
1500
+ */
1501
+ get: function () {
1502
+ return this._onCollapsed;
1503
+ },
1504
+ set: function (ev) {
1505
+ var _this = this;
1506
+ if (this._onCollapsed_wrapped !== null) {
1507
+ this.i.onCollapsed = igniteuiWebcomponentsCore.delegateRemove(this.i.onCollapsed, this._onCollapsed_wrapped);
1508
+ this._onCollapsed_wrapped = null;
1509
+ this._onCollapsed = null;
1510
+ }
1511
+ this._onCollapsed = ev;
1512
+ this._onCollapsed_wrapped = function (o, e) {
1513
+ var outerArgs = new IgcOnCollapsedEventArgs();
1514
+ outerArgs._provideImplementation(e);
1515
+ if (_this.beforeOnCollapsed) {
1516
+ _this.beforeOnCollapsed(_this, outerArgs);
1517
+ }
1518
+ if (_this._onCollapsed) {
1519
+ _this._onCollapsed(_this, outerArgs);
1520
+ }
1521
+ };
1522
+ this.i.onCollapsed = igniteuiWebcomponentsCore.delegateCombine(this.i.onCollapsed, this._onCollapsed_wrapped);
1523
+ },
1524
+ enumerable: true,
1525
+ configurable: true
1526
+ });
1527
+ Object.defineProperty(IgcExpansionPanelComponent.prototype, "onExpanded", {
1528
+ get: function () {
1529
+ return this._onExpanded;
1530
+ },
1531
+ set: function (ev) {
1532
+ var _this = this;
1533
+ if (this._onExpanded_wrapped !== null) {
1534
+ this.i.onExpanded = igniteuiWebcomponentsCore.delegateRemove(this.i.onExpanded, this._onExpanded_wrapped);
1535
+ this._onExpanded_wrapped = null;
1536
+ this._onExpanded = null;
1537
+ }
1538
+ this._onExpanded = ev;
1539
+ this._onExpanded_wrapped = function (o, e) {
1540
+ var outerArgs = new IgcOnExpandedEventArgs();
1541
+ outerArgs._provideImplementation(e);
1542
+ if (_this.beforeOnExpanded) {
1543
+ _this.beforeOnExpanded(_this, outerArgs);
1544
+ }
1545
+ if (_this._onExpanded) {
1546
+ _this._onExpanded(_this, outerArgs);
1547
+ }
1548
+ };
1549
+ this.i.onExpanded = igniteuiWebcomponentsCore.delegateCombine(this.i.onExpanded, this._onExpanded_wrapped);
1550
+ },
1551
+ enumerable: true,
1552
+ configurable: true
1553
+ });
1554
+ IgcExpansionPanelComponent._observedAttributesIgcExpansionPanelComponent = null;
1555
+ IgcExpansionPanelComponent.htmlTagName = "igc-expansion-panel";
1556
+ IgcExpansionPanelComponent._isElementRegistered = false;
1557
+ return IgcExpansionPanelComponent;
1558
+ }(igniteuiWebcomponentsCore.IgcHTMLElement));
1559
+
1560
+ /*
1561
+ THIS INFRAGISTICS ULTIMATE SOFTWARE LICENSE AGREEMENT ("AGREEMENT") LOCATED HERE:
1562
+ https://www.infragistics.com/legal/license/igultimate-la
1563
+ https://www.infragistics.com/legal/license/igultimate-eula
1564
+ 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.
1565
+ */
1566
+ var IgcExpansionPanelModule = /** @class */ /*@__PURE__*/ (function () {
1567
+ function IgcExpansionPanelModule() {
1568
+ }
1569
+ IgcExpansionPanelModule.register = function () {
1570
+ IgcExpansionPanelComponent.register();
1571
+ igniteuiWebcomponentsCore.TypeRegistrar.registerCons('IgcExpansionPanelComponent', IgcExpansionPanelComponent);
1572
+ igniteuiWebcomponentsCore.TypeRegistrar.registerCons('IgcExpansionPanelComponent', IgcExpansionPanelComponent);
1573
+ igniteuiWebcomponentsCore.TypeRegistrar.register('ExpansionPanel', ExpansionPanel.$type);
1574
+ };
1575
+ return IgcExpansionPanelModule;
1576
+ }());
1577
+
1578
+ /*
1579
+ THIS INFRAGISTICS ULTIMATE SOFTWARE LICENSE AGREEMENT ("AGREEMENT") LOCATED HERE:
1580
+ https://www.infragistics.com/legal/license/igultimate-la
1581
+ https://www.infragistics.com/legal/license/igultimate-eula
1582
+ 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.
1583
+ */
1584
+ /**
1585
+ * @hidden
1586
+ */
1587
+ var Popup_OuterAnimationInfo = /** @class */ /*@__PURE__*/ (function (_super) {
1588
+ tslib_1.__extends(Popup_OuterAnimationInfo, _super);
1589
+ function Popup_OuterAnimationInfo() {
1590
+ var _this = _super.call(this) || this;
1591
+ _this.c = 0;
1592
+ _this.d = 0;
1593
+ _this.a = 0;
1594
+ _this.b = 0;
1595
+ return _this;
1596
+ }
1597
+ Popup_OuterAnimationInfo.$t = igniteuiWebcomponentsCore.markStruct(Popup_OuterAnimationInfo, 'Popup_OuterAnimationInfo');
1598
+ return Popup_OuterAnimationInfo;
1599
+ }(igniteuiWebcomponentsCore.ValueType));
1600
+
1601
+ /*
1602
+ THIS INFRAGISTICS ULTIMATE SOFTWARE LICENSE AGREEMENT ("AGREEMENT") LOCATED HERE:
1603
+ https://www.infragistics.com/legal/license/igultimate-la
1604
+ https://www.infragistics.com/legal/license/igultimate-eula
1605
+ 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.
1606
+ */
1607
+ /**
1608
+ * @hidden
1609
+ */
1610
+ var Popup_InnerAnimationInfo = /** @class */ /*@__PURE__*/ (function (_super) {
1611
+ tslib_1.__extends(Popup_InnerAnimationInfo, _super);
1612
+ function Popup_InnerAnimationInfo() {
1613
+ var _this = _super.call(this) || this;
1614
+ _this.a = 0;
1615
+ _this.b = 0;
1616
+ return _this;
1617
+ }
1618
+ Popup_InnerAnimationInfo.$t = igniteuiWebcomponentsCore.markStruct(Popup_InnerAnimationInfo, 'Popup_InnerAnimationInfo');
1619
+ return Popup_InnerAnimationInfo;
1620
+ }(igniteuiWebcomponentsCore.ValueType));
1621
+
1622
+ /*
1623
+ THIS INFRAGISTICS ULTIMATE SOFTWARE LICENSE AGREEMENT ("AGREEMENT") LOCATED HERE:
1624
+ https://www.infragistics.com/legal/license/igultimate-la
1625
+ https://www.infragistics.com/legal/license/igultimate-eula
1626
+ 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.
1627
+ */
1628
+ /**
1629
+ * @hidden
1630
+ */
1631
+ var OnClosedEventArgs = /** @class */ /*@__PURE__*/ (function (_super) {
1632
+ tslib_1.__extends(OnClosedEventArgs, _super);
1633
+ function OnClosedEventArgs() {
1634
+ return _super !== null && _super.apply(this, arguments) || this;
1635
+ }
1636
+ OnClosedEventArgs.$t = igniteuiWebcomponentsCore.markType(OnClosedEventArgs, 'OnClosedEventArgs', igniteuiWebcomponentsCore.EventArgs.$);
1637
+ return OnClosedEventArgs;
1638
+ }(igniteuiWebcomponentsCore.EventArgs));
1639
+
1640
+ /*
1641
+ THIS INFRAGISTICS ULTIMATE SOFTWARE LICENSE AGREEMENT ("AGREEMENT") LOCATED HERE:
1642
+ https://www.infragistics.com/legal/license/igultimate-la
1643
+ https://www.infragistics.com/legal/license/igultimate-eula
1644
+ 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.
1645
+ */
1646
+ /**
1647
+ * @hidden
1648
+ */
1649
+ var OnPopupEventArgs = /** @class */ /*@__PURE__*/ (function (_super) {
1650
+ tslib_1.__extends(OnPopupEventArgs, _super);
1651
+ function OnPopupEventArgs() {
1652
+ return _super !== null && _super.apply(this, arguments) || this;
1653
+ }
1654
+ OnPopupEventArgs.$t = igniteuiWebcomponentsCore.markType(OnPopupEventArgs, 'OnPopupEventArgs', igniteuiWebcomponentsCore.EventArgs.$);
1655
+ return OnPopupEventArgs;
1656
+ }(igniteuiWebcomponentsCore.EventArgs));
1657
+
1658
+ /*
1659
+ THIS INFRAGISTICS ULTIMATE SOFTWARE LICENSE AGREEMENT ("AGREEMENT") LOCATED HERE:
1660
+ https://www.infragistics.com/legal/license/igultimate-la
1661
+ https://www.infragistics.com/legal/license/igultimate-eula
1662
+ 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.
1663
+ */
1664
+ /**
1665
+ * @hidden
1666
+ */
1667
+ var PopupVisualModelExport = /** @class */ /*@__PURE__*/ (function (_super) {
1668
+ tslib_1.__extends(PopupVisualModelExport, _super);
1669
+ function PopupVisualModelExport() {
1670
+ var _this = _super !== null && _super.apply(this, arguments) || this;
1671
+ _this.e = 0;
1672
+ _this.d = false;
1673
+ _this.c = null;
1674
+ _this.b = null;
1675
+ _this.a = null;
1676
+ return _this;
1677
+ }
1678
+ PopupVisualModelExport.prototype.f = function () {
1679
+ var a = new igniteuiWebcomponentsCore.StringBuilder(0);
1680
+ a.l("{");
1681
+ a.l("actualElevation : " + this.e + ", ");
1682
+ a.l("isShown : " + this.d + ", ");
1683
+ a.l("actualUmbraShadowColor : " + this.c.serialize() + ", ");
1684
+ a.l("actualPenumbraShadowColor : " + this.b.serialize() + ", ");
1685
+ a.l("actualAmbientShadowColor : " + this.a.serialize() + ", ");
1686
+ a.l("}");
1687
+ return a.toString();
1688
+ };
1689
+ PopupVisualModelExport.$t = igniteuiWebcomponentsCore.markType(PopupVisualModelExport, 'PopupVisualModelExport');
1690
+ return PopupVisualModelExport;
1691
+ }(igniteuiWebcomponentsCore.Base));
1692
+
1693
+ /*
1694
+ THIS INFRAGISTICS ULTIMATE SOFTWARE LICENSE AGREEMENT ("AGREEMENT") LOCATED HERE:
1695
+ https://www.infragistics.com/legal/license/igultimate-la
1696
+ https://www.infragistics.com/legal/license/igultimate-eula
1697
+ 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.
1698
+ */
1699
+ /**
1700
+ * @hidden
1701
+ */
1702
+ var PopupView = /** @class */ /*@__PURE__*/ (function (_super) {
1703
+ tslib_1.__extends(PopupView, _super);
1704
+ function PopupView() {
1705
+ var _this = _super !== null && _super.apply(this, arguments) || this;
1706
+ _this.k = null;
1707
+ _this.c = null;
1708
+ _this.o = null;
1709
+ _this.n = null;
1710
+ _this.m = null;
1711
+ _this.p = null;
1712
+ _this.f = false;
1713
+ _this.h = 0;
1714
+ _this.al = new igniteuiWebcomponentsCore.Size(1, 0, 0);
1715
+ _this.e = true;
1716
+ _this.g = false;
1717
+ return _this;
1718
+ }
1719
+ Object.defineProperty(PopupView.prototype, "d", {
1720
+ get: function () {
1721
+ return this.c;
1722
+ },
1723
+ enumerable: true,
1724
+ configurable: true
1725
+ });
1726
+ Object.defineProperty(PopupView.prototype, "l", {
1727
+ get: function () {
1728
+ return this.k;
1729
+ },
1730
+ enumerable: true,
1731
+ configurable: true
1732
+ });
1733
+ PopupView.prototype.ab = function () {
1734
+ this.o.setStyleProperty("height", "0%");
1735
+ this.o.setStyleProperty("width", "0%");
1736
+ this.n = this.k.createElement("div");
1737
+ this.n.setStyleProperty("position", "absolute");
1738
+ this.n.setStyleProperty("overflow", "hidden");
1739
+ this.n.setStyleProperty("z-index", "10000");
1740
+ this.n.setAttribute("key", "popupContentAreaOuter");
1741
+ this.m = this.k.createElement("div");
1742
+ this.m.setAttribute("key", "popupContentAreaInner");
1743
+ this.n.append(this.m);
1744
+ };
1745
+ PopupView.prototype.ai = function () {
1746
+ var a = this.d;
1747
+ var b = igniteuiWebcomponentsCore.ElevationHelper.e(a.w, a.a7, a.a6, a.a5);
1748
+ this.n.setStyleProperty("box-shadow", b);
1749
+ };
1750
+ PopupView.prototype.ah = function () {
1751
+ if (this.d.a8 != null) {
1752
+ this.n.setStyleProperty("background-color", this.d.a8._fill);
1753
+ }
1754
+ };
1755
+ PopupView.prototype.aj = function () {
1756
+ if (null == this.o) {
1757
+ return;
1758
+ }
1759
+ this.ai();
1760
+ this.ah();
1761
+ };
1762
+ PopupView.prototype.s = function () {
1763
+ if (null != this.n) {
1764
+ this.aj();
1765
+ this.n.setStyleProperty("height", "0px");
1766
+ var a = this.n.getNativeElement();
1767
+ if (false == this.f) {
1768
+ document.body.appendChild(a);
1769
+ this.f = true;
1770
+ if (this.e) {
1771
+ this.z();
1772
+ }
1773
+ }
1774
+ }
1775
+ };
1776
+ PopupView.prototype.t = function (a, b) {
1777
+ this.n.setStyleProperty("top", PopupView.q(a.b));
1778
+ this.n.setStyleProperty("height", PopupView.r(a.d));
1779
+ this.m.setStyleProperty("top", PopupView.r(b.b));
1780
+ this.m.setStyleProperty("opacity", "1");
1781
+ this.m.setStyleProperty("transform", igniteuiWebcomponentsCore.stringEmpty());
1782
+ this.h = 0;
1783
+ if (this.g) {
1784
+ this.ag();
1785
+ }
1786
+ return {
1787
+ p0: a,
1788
+ p1: b
1789
+ };
1790
+ };
1791
+ PopupView.prototype.u = function (a) {
1792
+ this.h = a;
1793
+ };
1794
+ PopupView.prototype.ae = function () {
1795
+ if (null != this.n && this.f) {
1796
+ var a = this.n.getNativeElement();
1797
+ document.body.removeChild(a);
1798
+ this.f = false;
1799
+ }
1800
+ };
1801
+ PopupView.prototype.v = function (a) {
1802
+ this.m.append(a);
1803
+ };
1804
+ PopupView.prototype.a = function (a) {
1805
+ return new igniteuiWebcomponentsCore.AnimationKeyFrameEffect(0, this.m, 0, null, a);
1806
+ };
1807
+ PopupView.prototype.b = function (a) {
1808
+ return new igniteuiWebcomponentsCore.AnimationKeyFrameEffect(0, this.n, 0, null, a);
1809
+ };
1810
+ PopupView.prototype.w = function () {
1811
+ if (igniteuiWebcomponentsCore.KeyFrameAnimationFactory.h == null) {
1812
+ igniteuiWebcomponentsCore.KeyFrameAnimationFactory.h = this.l;
1813
+ }
1814
+ };
1815
+ Object.defineProperty(PopupView.prototype, "am", {
1816
+ get: function () {
1817
+ if (this.e) {
1818
+ this.z();
1819
+ }
1820
+ return this.al;
1821
+ },
1822
+ enumerable: true,
1823
+ configurable: true
1824
+ });
1825
+ PopupView.prototype.i = function (a, b) {
1826
+ var c;
1827
+ var t1 = b;
1828
+ L0: while (true) {
1829
+ switch (t1) {
1830
+ case 0:
1831
+ case 1:
1832
+ c = a.left;
1833
+ break;
1834
+ case 2:
1835
+ c = a.right - this.am.width;
1836
+ break;
1837
+ default:
1838
+ t1 = 0;
1839
+ continue L0;
1840
+ }
1841
+ break;
1842
+ }
1843
+ return c;
1844
+ };
1845
+ PopupView.prototype.j = function (a, b) {
1846
+ var c;
1847
+ var t1 = b;
1848
+ L0: while (true) {
1849
+ switch (t1) {
1850
+ case 0:
1851
+ case 1:
1852
+ c = a.bottom;
1853
+ break;
1854
+ case 2:
1855
+ c = a.top - this.am.height;
1856
+ break;
1857
+ default:
1858
+ t1 = 0;
1859
+ continue L0;
1860
+ }
1861
+ break;
1862
+ }
1863
+ return c;
1864
+ };
1865
+ PopupView.r = function (a) {
1866
+ return igniteuiWebcomponentsCore.stringFormat("{0}px", a);
1867
+ };
1868
+ PopupView.q = function (a) {
1869
+ return igniteuiWebcomponentsCore.stringFormat("{0}px", a);
1870
+ };
1871
+ PopupView.prototype.ak = function (a, b, c) {
1872
+ var d = this.j(a, b);
1873
+ var e = this.i(a, c);
1874
+ this.af(e, d);
1875
+ if (b == 2 || c == 2) {
1876
+ var f = 10;
1877
+ while (f > 0) {
1878
+ var g = this.j(a, b);
1879
+ var h = this.i(a, c);
1880
+ if (g == d && h == e) {
1881
+ f = 0;
1882
+ break;
1883
+ }
1884
+ d = g;
1885
+ e = h;
1886
+ this.af(e, d);
1887
+ f--;
1888
+ }
1889
+ }
1890
+ return new igniteuiWebcomponentsCore.Rect(0, e, d, this.am.width, this.am.height);
1891
+ };
1892
+ PopupView.prototype.z = function () {
1893
+ if (this.f) {
1894
+ this.n.setStyleProperty("width", igniteuiWebcomponentsCore.stringEmpty());
1895
+ this.n.setStyleProperty("height", igniteuiWebcomponentsCore.stringEmpty());
1896
+ this.al = new igniteuiWebcomponentsCore.Size(1, this.m.outerWidth(), this.m.outerHeight());
1897
+ this.e = false;
1898
+ this.ag();
1899
+ }
1900
+ else {
1901
+ this.e = true;
1902
+ }
1903
+ };
1904
+ PopupView.prototype.af = function (a, b) {
1905
+ var c = igniteuiWebcomponentsCore.stringFormat("{0}px", a);
1906
+ var d = igniteuiWebcomponentsCore.stringFormat("{0}px", b);
1907
+ this.n.setStyleProperty("left", c);
1908
+ this.n.setStyleProperty("top", d);
1909
+ };
1910
+ PopupView.prototype.ac = function (a) {
1911
+ var _this = this;
1912
+ if (a == null) {
1913
+ this.k = null;
1914
+ return;
1915
+ }
1916
+ this.k = a;
1917
+ var b = a.rootWrapper;
1918
+ this.x(b);
1919
+ this.k.getPortal(this.m, "ChildContent", function (c) {
1920
+ var comp_ = c.componentRef;
1921
+ _this.p = comp_;
1922
+ }, true);
1923
+ };
1924
+ PopupView.prototype.ag = function () {
1925
+ var a = new igniteuiWebcomponentsCore.Size(1, this.am.width, this.am.height);
1926
+ if (!this.f || !this.d.t) {
1927
+ a.height = 0;
1928
+ }
1929
+ var b = a.width;
1930
+ var c = a.height;
1931
+ if (this.c.r()) {
1932
+ if (this.h == c) {
1933
+ return;
1934
+ }
1935
+ this.c.an();
1936
+ this.g = true;
1937
+ return;
1938
+ }
1939
+ this.g = false;
1940
+ var d = igniteuiWebcomponentsCore.stringFormat("{0}px", b);
1941
+ var e = igniteuiWebcomponentsCore.stringFormat("{0}px", c);
1942
+ this.n.setStyleProperty("width", d);
1943
+ this.n.setStyleProperty("height", e);
1944
+ };
1945
+ PopupView.prototype.x = function (a) {
1946
+ this.o = a;
1947
+ this.ab();
1948
+ };
1949
+ PopupView.prototype.y = function (a) {
1950
+ this.c = a;
1951
+ };
1952
+ PopupView.prototype.aa = function () {
1953
+ };
1954
+ PopupView.prototype.ad = function () {
1955
+ this.s();
1956
+ if (this.d.t) {
1957
+ return;
1958
+ }
1959
+ this.ag();
1960
+ };
1961
+ PopupView.$t = igniteuiWebcomponentsCore.markType(PopupView, 'PopupView');
1962
+ return PopupView;
1963
+ }(igniteuiWebcomponentsCore.Base));
1964
+ /**
1965
+ * @hidden
1966
+ */
1967
+ var Popup = /** @class */ /*@__PURE__*/ (function (_super) {
1968
+ tslib_1.__extends(Popup, _super);
1969
+ function Popup() {
1970
+ var _this = _super.call(this) || this;
1971
+ _this.i = 0;
1972
+ _this.h = 0;
1973
+ _this.bc = null;
1974
+ _this.n = null;
1975
+ _this.o = null;
1976
+ _this.onClosed = null;
1977
+ _this.onPopup = null;
1978
+ _this.propertyChanged = null;
1979
+ _this.k = null;
1980
+ _this.x = 50;
1981
+ _this.p = true;
1982
+ _this.v = -1;
1983
+ _this.u = Popup.z;
1984
+ _this.s = false;
1985
+ _this.a3 = Popup.bb;
1986
+ _this.a2 = Popup.ba;
1987
+ _this.a1 = Popup.a9;
1988
+ _this.a4 = null;
1989
+ var a = _this.j();
1990
+ _this.k = a;
1991
+ a.y(_this);
1992
+ return _this;
1993
+ }
1994
+ Popup.prototype.au = function (a, b, c) {
1995
+ if (this.propertyChanged != null) {
1996
+ this.propertyChanged(this, new igniteuiWebcomponentsCore.PropertyChangedEventArgs(a));
1997
+ }
1998
+ this.aw(a, b, c);
1999
+ };
2000
+ Object.defineProperty(Popup.prototype, "y", {
2001
+ get: function () {
2002
+ return this.x;
2003
+ },
2004
+ set: function (a) {
2005
+ var b = this.x;
2006
+ this.x = a;
2007
+ if (b != this.x) {
2008
+ this.au("AnimationDuration", b, a);
2009
+ }
2010
+ },
2011
+ enumerable: true,
2012
+ configurable: true
2013
+ });
2014
+ Object.defineProperty(Popup.prototype, "q", {
2015
+ get: function () {
2016
+ return this.p;
2017
+ },
2018
+ set: function (a) {
2019
+ var b = this.p;
2020
+ this.p = a;
2021
+ if (b != this.p) {
2022
+ this.au("AnimationEnabled", b, a);
2023
+ }
2024
+ },
2025
+ enumerable: true,
2026
+ configurable: true
2027
+ });
2028
+ Object.defineProperty(Popup.prototype, "aa", {
2029
+ get: function () {
2030
+ return this.v;
2031
+ },
2032
+ set: function (a) {
2033
+ var b = this.v;
2034
+ this.v = a;
2035
+ if (b != this.v) {
2036
+ this.au("Elevation", b, a);
2037
+ }
2038
+ },
2039
+ enumerable: true,
2040
+ configurable: true
2041
+ });
2042
+ Object.defineProperty(Popup.prototype, "w", {
2043
+ get: function () {
2044
+ return this.u;
2045
+ },
2046
+ set: function (a) {
2047
+ var b = this.u;
2048
+ this.u = a;
2049
+ if (b != this.u) {
2050
+ this.au("ActualElevation", b, a);
2051
+ }
2052
+ },
2053
+ enumerable: true,
2054
+ configurable: true
2055
+ });
2056
+ Object.defineProperty(Popup.prototype, "t", {
2057
+ get: function () {
2058
+ return this.s;
2059
+ },
2060
+ enumerable: true,
2061
+ configurable: true
2062
+ });
2063
+ Object.defineProperty(Popup.prototype, "a7", {
2064
+ get: function () {
2065
+ return this.a3;
2066
+ },
2067
+ set: function (a) {
2068
+ var b = this.a3;
2069
+ this.a3 = a;
2070
+ if (b != this.a3) {
2071
+ this.au("ActualUmbraShadowColor", b, a);
2072
+ }
2073
+ },
2074
+ enumerable: true,
2075
+ configurable: true
2076
+ });
2077
+ Object.defineProperty(Popup.prototype, "a6", {
2078
+ get: function () {
2079
+ return this.a2;
2080
+ },
2081
+ set: function (a) {
2082
+ var b = this.a2;
2083
+ this.a2 = a;
2084
+ if (b != this.a2) {
2085
+ this.au("ActualPenumbraShadowColor", b, a);
2086
+ }
2087
+ },
2088
+ enumerable: true,
2089
+ configurable: true
2090
+ });
2091
+ Object.defineProperty(Popup.prototype, "a5", {
2092
+ get: function () {
2093
+ return this.a1;
2094
+ },
2095
+ set: function (a) {
2096
+ var b = this.a1;
2097
+ this.a1 = a;
2098
+ if (b != this.a1) {
2099
+ this.au("ActualAmbientShadowColor", b, a);
2100
+ }
2101
+ },
2102
+ enumerable: true,
2103
+ configurable: true
2104
+ });
2105
+ Object.defineProperty(Popup.prototype, "a8", {
2106
+ get: function () {
2107
+ return this.a4;
2108
+ },
2109
+ set: function (a) {
2110
+ var b = this.a4;
2111
+ this.a4 = a;
2112
+ if (b != this.a4) {
2113
+ this.au("Background", b, this.a4);
2114
+ }
2115
+ },
2116
+ enumerable: true,
2117
+ configurable: true
2118
+ });
2119
+ Popup.prototype.j = function () {
2120
+ return new PopupView();
2121
+ };
2122
+ Popup.prototype.aw = function (a, b, c) {
2123
+ switch (a) {
2124
+ case "IsShown":
2125
+ if (false == this.t) {
2126
+ this.k.ae();
2127
+ }
2128
+ break;
2129
+ case "Elevation":
2130
+ this.w = this.aa == -1 ? Popup.z : this.aa;
2131
+ break;
2132
+ case "ActualElevation":
2133
+ case "ActualUmbraShadowColor":
2134
+ case "ActualPenumbraShadowColor":
2135
+ case "ActualAmbientShadowColor":
2136
+ case "Background":
2137
+ this.k.aj();
2138
+ break;
2139
+ case "AnimationEnabled":
2140
+ if (false == this.q) {
2141
+ this.an();
2142
+ }
2143
+ break;
2144
+ }
2145
+ };
2146
+ Popup.prototype.an = function () {
2147
+ if (this.r()) {
2148
+ if (null != this.o && this.o.playState == 1) {
2149
+ this.o.cancel();
2150
+ }
2151
+ if (null != this.n && this.n.playState == 1) {
2152
+ this.n.cancel();
2153
+ }
2154
+ }
2155
+ };
2156
+ Popup.prototype.l = function (a) {
2157
+ var b = this.f(a);
2158
+ var c = a ? this.b() : this.a();
2159
+ var d = this.k.a(c);
2160
+ var e = new igniteuiWebcomponentsCore.List$1(igniteuiWebcomponentsCore.AnimationKeyFrameProperty.$, 0);
2161
+ var f = new igniteuiWebcomponentsCore.List$1(igniteuiWebcomponentsCore.AnimationKeyFrameProperty.$, 0);
2162
+ var g = new igniteuiWebcomponentsCore.TranslateTransform();
2163
+ g.k = b.a;
2164
+ var h = new igniteuiWebcomponentsCore.TranslateTransform();
2165
+ h.k = b.b;
2166
+ var i = new igniteuiWebcomponentsCore.AnimationKeyFrameProperty(14, g);
2167
+ var j = new igniteuiWebcomponentsCore.AnimationKeyFrameProperty(14, h);
2168
+ e.add(i);
2169
+ f.add(j);
2170
+ d.m.apply(d, tslib_1.__spread(e.toArray()));
2171
+ d.m.apply(d, tslib_1.__spread(f.toArray()));
2172
+ return igniteuiWebcomponentsCore.KeyFrameAnimationFactory.f.c(d);
2173
+ };
2174
+ Popup.prototype.m = function (a) {
2175
+ var b = this.g(a);
2176
+ this.k.u(b.d);
2177
+ var c = a ? this.b() : this.a();
2178
+ var d = this.k.b(c);
2179
+ var e = new igniteuiWebcomponentsCore.List$1(igniteuiWebcomponentsCore.AnimationKeyFrameProperty.$, 0);
2180
+ var f = new igniteuiWebcomponentsCore.List$1(igniteuiWebcomponentsCore.AnimationKeyFrameProperty.$, 0);
2181
+ var g = new igniteuiWebcomponentsCore.AnimationKeyFrameProperty(10, b.c);
2182
+ var h = new igniteuiWebcomponentsCore.AnimationKeyFrameProperty(10, b.d);
2183
+ e.add(g);
2184
+ f.add(h);
2185
+ if (this.i == 2) {
2186
+ var i = b.a;
2187
+ var j = b.b;
2188
+ var k = new igniteuiWebcomponentsCore.AnimationKeyFrameProperty(12, i);
2189
+ var l = new igniteuiWebcomponentsCore.AnimationKeyFrameProperty(12, j);
2190
+ e.add(k);
2191
+ f.add(l);
2192
+ }
2193
+ d.m.apply(d, tslib_1.__spread(e.toArray()));
2194
+ d.m.apply(d, tslib_1.__spread(f.toArray()));
2195
+ return igniteuiWebcomponentsCore.KeyFrameAnimationFactory.f.c(d);
2196
+ };
2197
+ Popup.prototype.a = function () {
2198
+ var a = new igniteuiWebcomponentsCore.AnimationKeyFrameEffectTiming();
2199
+ a.g = this.y;
2200
+ a.b = 3;
2201
+ return a;
2202
+ };
2203
+ Popup.prototype.b = function () {
2204
+ var a = new igniteuiWebcomponentsCore.AnimationKeyFrameEffectTiming();
2205
+ a.g = this.y;
2206
+ a.b = 3;
2207
+ return a;
2208
+ };
2209
+ Popup.prototype.aq = function () {
2210
+ this.k.w();
2211
+ };
2212
+ Popup.prototype.f = function (a) {
2213
+ var b = igniteuiWebcomponentsCore.truncate(this.k.am.height);
2214
+ if (b <= 0) {
2215
+ b = 500;
2216
+ }
2217
+ var c = a ? -b : 0;
2218
+ var d = a ? 0 : -b;
2219
+ if (this.i == 2) {
2220
+ c = 0;
2221
+ d = 0;
2222
+ }
2223
+ var e = ((function () {
2224
+ var $ret = new Popup_InnerAnimationInfo();
2225
+ $ret.a = c;
2226
+ $ret.b = d;
2227
+ return $ret;
2228
+ })());
2229
+ return e;
2230
+ };
2231
+ Popup.prototype.g = function (a) {
2232
+ var b = igniteuiWebcomponentsCore.truncate(this.k.am.height);
2233
+ if (b <= 0) {
2234
+ b = 500;
2235
+ }
2236
+ var c = a ? 0 : b;
2237
+ var d = a ? b : 0;
2238
+ var e;
2239
+ var f;
2240
+ if (this.i == 2) {
2241
+ e = a ? this.bc.bottom : this.bc.top;
2242
+ f = a ? this.bc.top : this.bc.bottom;
2243
+ }
2244
+ else {
2245
+ e = this.bc.top;
2246
+ f = this.bc.top;
2247
+ }
2248
+ var g = ((function () {
2249
+ var $ret = new Popup_OuterAnimationInfo();
2250
+ $ret.c = c;
2251
+ $ret.d = d;
2252
+ $ret.a = e;
2253
+ $ret.b = f;
2254
+ return $ret;
2255
+ })());
2256
+ return g;
2257
+ };
2258
+ Popup.prototype.r = function () {
2259
+ if (null == this.o && null == this.n) {
2260
+ return false;
2261
+ }
2262
+ if (null != this.o && this.o.playState == 1) {
2263
+ return true;
2264
+ }
2265
+ if (null != this.n && this.n.playState == 1) {
2266
+ return true;
2267
+ }
2268
+ return false;
2269
+ };
2270
+ Popup.prototype.ar = function () {
2271
+ this.k.z();
2272
+ };
2273
+ Popup.prototype.av = function (a, b, c) {
2274
+ this.k.ad();
2275
+ this.bc = this.k.ak(a, b, c);
2276
+ this.i = b;
2277
+ this.h = c;
2278
+ };
2279
+ Popup.prototype.ay = function (a, b, c) {
2280
+ if (this.s) {
2281
+ this.s = false;
2282
+ this.au("IsShown", true, this.s);
2283
+ }
2284
+ this.av(a, b, c);
2285
+ this.az(true);
2286
+ };
2287
+ Popup.prototype.az = function (a) {
2288
+ var _this = this;
2289
+ this.an();
2290
+ var b = this.s;
2291
+ this.s = a;
2292
+ var c = this.g(a);
2293
+ var d = this.f(a);
2294
+ if (false == this.q) {
2295
+ var e = this.k.t(c, d);
2296
+ c = e.p0;
2297
+ d = e.p1;
2298
+ return;
2299
+ }
2300
+ this.aq();
2301
+ this.n = this.l(this.s);
2302
+ this.o = this.m(this.s);
2303
+ this.n.play();
2304
+ this.o.play();
2305
+ this.n.finished.f(function (f) { return _this.n.commitStyles(); });
2306
+ this.o.finished.f(function (f) {
2307
+ _this.o.commitStyles();
2308
+ _this.au("IsShown", b, _this.s);
2309
+ if (_this.s) {
2310
+ if (_this.onPopup != null) {
2311
+ _this.onPopup(_this, new OnPopupEventArgs());
2312
+ }
2313
+ }
2314
+ else {
2315
+ if (_this.onClosed != null) {
2316
+ _this.onClosed(_this, new OnClosedEventArgs());
2317
+ }
2318
+ }
2319
+ var g = _this.k.t(c, d);
2320
+ c = g.p0;
2321
+ d = g.p1;
2322
+ });
2323
+ };
2324
+ Popup.prototype.appendPopupContent = function (a) {
2325
+ this.k.v(a);
2326
+ };
2327
+ Popup.prototype.ao = function () {
2328
+ if (!this.s) {
2329
+ return;
2330
+ }
2331
+ this.az(false);
2332
+ };
2333
+ Popup.prototype.destroy = function () {
2334
+ this.provideRenderer(null);
2335
+ };
2336
+ Popup.prototype.showRelativeToExclusionRect = function (a, b, c) {
2337
+ this.ay(a, b, c);
2338
+ };
2339
+ Popup.prototype.as = function (a) {
2340
+ this.bc = this.k.ak(a, this.i, this.h);
2341
+ };
2342
+ Popup.prototype.notifySizeChanged = function () {
2343
+ };
2344
+ Popup.prototype.provideRenderer = function (a) {
2345
+ this.k.ac(a);
2346
+ };
2347
+ Popup.prototype.ab = function () {
2348
+ return this.c();
2349
+ };
2350
+ Popup.prototype.ak = function () {
2351
+ var a = this.c();
2352
+ return a.f();
2353
+ };
2354
+ Popup.prototype.c = function () {
2355
+ var a = new PopupVisualModelExport();
2356
+ a.e = this.w;
2357
+ a.d = this.t;
2358
+ a.c = igniteuiWebcomponentsCore.AppearanceHelper.a(this.a7);
2359
+ a.b = igniteuiWebcomponentsCore.AppearanceHelper.a(this.a6);
2360
+ a.a = igniteuiWebcomponentsCore.AppearanceHelper.a(this.a5);
2361
+ return a;
2362
+ };
2363
+ Popup.$t = igniteuiWebcomponentsCore.markType(Popup, 'Popup', igniteuiWebcomponentsCore.Base.$, [igniteuiWebcomponentsCore.INotifyPropertyChanged_$type]);
2364
+ Popup.z = 2;
2365
+ Popup.bb = igniteuiWebcomponentsCore.BrushUtil.g(66, 0, 0, 0);
2366
+ Popup.ba = igniteuiWebcomponentsCore.BrushUtil.g(30, 0, 0, 0);
2367
+ Popup.a9 = igniteuiWebcomponentsCore.BrushUtil.g(20, 0, 0, 0);
2368
+ return Popup;
2369
+ }(igniteuiWebcomponentsCore.Base));
2370
+
2371
+ /*
2372
+ THIS INFRAGISTICS ULTIMATE SOFTWARE LICENSE AGREEMENT ("AGREEMENT") LOCATED HERE:
2373
+ https://www.infragistics.com/legal/license/igultimate-la
2374
+ https://www.infragistics.com/legal/license/igultimate-eula
2375
+ 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.
2376
+ */
2377
+
2378
+ var IgcOnPopupEventArgs = /** @class */ /*@__PURE__*/ (function () {
2379
+ function IgcOnPopupEventArgs() {
2380
+ this._implementation = this.createImplementation();
2381
+ this._implementation.externalObject = this;
2382
+ this.onImplementationCreated();
2383
+ }
2384
+ IgcOnPopupEventArgs.prototype.createImplementation = function () {
2385
+ return new OnPopupEventArgs();
2386
+ };
2387
+ Object.defineProperty(IgcOnPopupEventArgs.prototype, "i", {
2388
+ /**
2389
+ * @hidden
2390
+ */
2391
+ get: function () {
2392
+ return this._implementation;
2393
+ },
2394
+ enumerable: true,
2395
+ configurable: true
2396
+ });
2397
+ IgcOnPopupEventArgs.prototype.onImplementationCreated = function () {
2398
+ };
2399
+ IgcOnPopupEventArgs.prototype._provideImplementation = function (i) {
2400
+ this._implementation = i;
2401
+ this._implementation.externalObject = this;
2402
+ this.onImplementationCreated();
2403
+ };
2404
+ return IgcOnPopupEventArgs;
2405
+ }());
2406
+
2407
+ var IgcOnClosedEventArgs = /** @class */ /*@__PURE__*/ (function () {
2408
+ function IgcOnClosedEventArgs() {
2409
+ this._implementation = this.createImplementation();
2410
+ this._implementation.externalObject = this;
2411
+ this.onImplementationCreated();
2412
+ }
2413
+ IgcOnClosedEventArgs.prototype.createImplementation = function () {
2414
+ return new OnClosedEventArgs();
2415
+ };
2416
+ Object.defineProperty(IgcOnClosedEventArgs.prototype, "i", {
2417
+ /**
2418
+ * @hidden
2419
+ */
2420
+ get: function () {
2421
+ return this._implementation;
2422
+ },
2423
+ enumerable: true,
2424
+ configurable: true
2425
+ });
2426
+ IgcOnClosedEventArgs.prototype.onImplementationCreated = function () {
2427
+ };
2428
+ IgcOnClosedEventArgs.prototype._provideImplementation = function (i) {
2429
+ this._implementation = i;
2430
+ this._implementation.externalObject = this;
2431
+ this.onImplementationCreated();
2432
+ };
2433
+ return IgcOnClosedEventArgs;
2434
+ }());
2435
+
2436
+ var IgcPopupComponent = /** @class */ /*@__PURE__*/ (function (_super) {
2437
+ tslib_1.__extends(IgcPopupComponent, _super);
2438
+ function IgcPopupComponent() {
2439
+ var _this = _super.call(this) || this;
2440
+ _this._implementation = null;
2441
+ _this._disconnected = false;
2442
+ _this._settingAttributes = false;
2443
+ _this._attached = false;
2444
+ _this._queuedSetAttributes = [];
2445
+ _this._updatingFromAttribute = false;
2446
+ _this.__p = null;
2447
+ _this._hasUserValues = new Set();
2448
+ _this._stylingContainer = null;
2449
+ _this._stylingParent = null;
2450
+ _this._inStyling = false;
2451
+ _this._onClosed = null;
2452
+ _this._onClosed_wrapped = null;
2453
+ _this._onPopup = null;
2454
+ _this._onPopup_wrapped = null;
2455
+ if (_this._styling) {
2456
+ igniteuiWebcomponentsCore.NamePatcher.ensureStylablePatched(Object.getPrototypeOf(_this));
2457
+ }
2458
+ _this._implementation = _this.createImplementation();
2459
+ _this._portalManager = new igniteuiWebcomponentsCore.PortalManager("popupContent");
2460
+ _this._webComponentRenderer = new igniteuiWebcomponentsCore.WebComponentRenderer(_this, document, true, {}, _this._portalManager);
2461
+ _this._mainDiv = _this._webComponentRenderer.createElement("div");
2462
+ _this._webComponentRenderer.updateRoot(_this._mainDiv);
2463
+ _this.i.provideRenderer(_this._webComponentRenderer);
2464
+ var mut = new MutationObserver(function (list) {
2465
+ var e_1, _b;
2466
+ try {
2467
+ for (var list_1 = tslib_1.__values(list), list_1_1 = list_1.next(); !list_1_1.done; list_1_1 = list_1.next()) {
2468
+ var mutation = list_1_1.value;
2469
+ if (mutation.type == 'childList') {
2470
+ _this._onChildrenChanged();
2471
+ }
2472
+ }
2473
+ }
2474
+ catch (e_1_1) {
2475
+ e_1 = { error: e_1_1 };
2476
+ }
2477
+ finally {
2478
+ try {
2479
+ if (list_1_1 && !list_1_1.done && (_b = list_1.return))
2480
+ _b.call(list_1);
2481
+ }
2482
+ finally {
2483
+ if (e_1)
2484
+ throw e_1.error;
2485
+ }
2486
+ }
2487
+ });
2488
+ mut.observe(_this, {
2489
+ childList: true
2490
+ });
2491
+ return _this;
2492
+ }
2493
+ Object.defineProperty(IgcPopupComponent.prototype, "height", {
2494
+ get: function () {
2495
+ return this._height;
2496
+ },
2497
+ set: function (value) {
2498
+ this._height = value;
2499
+ this.style.height = value;
2500
+ },
2501
+ enumerable: true,
2502
+ configurable: true
2503
+ });
2504
+ Object.defineProperty(IgcPopupComponent.prototype, "width", {
2505
+ get: function () {
2506
+ return this._width;
2507
+ },
2508
+ set: function (value) {
2509
+ this._width = value;
2510
+ this.style.width = value;
2511
+ },
2512
+ enumerable: true,
2513
+ configurable: true
2514
+ });
2515
+ IgcPopupComponent.prototype._onChildrenChanged = function () {
2516
+ var children = [];
2517
+ for (var i = 0; i < this.childNodes.length; i++) {
2518
+ var child = this.childNodes[i];
2519
+ if (child !== this._mainDiv.getNativeElement()) {
2520
+ children.push(child);
2521
+ }
2522
+ }
2523
+ this._portalManager.onChildrenChanged(children);
2524
+ };
2525
+ // supports angular themes or custom properties set in CSS
2526
+ IgcPopupComponent.prototype.updateStyle = function () {
2527
+ this._styling(this, this);
2528
+ };
2529
+ IgcPopupComponent.prototype.destroy = function () {
2530
+ this._implementation.destroy();
2531
+ this._webComponentRenderer.destroy();
2532
+ };
2533
+ IgcPopupComponent.prototype.createImplementation = function () {
2534
+ return new Popup();
2535
+ };
2536
+ Object.defineProperty(IgcPopupComponent.prototype, "i", {
2537
+ get: function () {
2538
+ return this._implementation;
2539
+ },
2540
+ enumerable: true,
2541
+ configurable: true
2542
+ });
2543
+ IgcPopupComponent.prototype.disconnectedCallback = function () {
2544
+ this._disconnected = true;
2545
+ };
2546
+ IgcPopupComponent.prototype.connectedCallback = function () {
2547
+ if (this._disconnected) {
2548
+ this._disconnected = false;
2549
+ return;
2550
+ }
2551
+ this.classList.add("ig-popup");
2552
+ this.classList.add("igr-popup");
2553
+ this.appendChild(this._mainDiv.getNativeElement());
2554
+ this._attached = true;
2555
+ this.style.display = "block";
2556
+ this.style.height = this._height;
2557
+ this.style.width = this._width;
2558
+ this._flushQueuedAttributes();
2559
+ // supports themes or custom properties set in CSS
2560
+ this._styling(this, this);
2561
+ this.afterContentInit();
2562
+ };
2563
+ IgcPopupComponent.prototype.afterContentInit = function () {
2564
+ };
2565
+ IgcPopupComponent.prototype._enqueueSetAttribute = function (attrName, attrValue) {
2566
+ this._queuedSetAttributes.push({ attrName: attrName, attrValue: attrValue });
2567
+ };
2568
+ IgcPopupComponent.prototype._flushQueuedAttributes = function () {
2569
+ this._settingAttributes = true;
2570
+ for (var i = 0; i < this._queuedSetAttributes.length; i++) {
2571
+ this.setAttribute(this._queuedSetAttributes[i].attrName, this._queuedSetAttributes[i].attrValue);
2572
+ }
2573
+ this._settingAttributes = false;
2574
+ this._queuedSetAttributes.length = 0;
2575
+ };
2576
+ IgcPopupComponent.prototype._a = function (attrName, attrValue) {
2577
+ if (this._updatingFromAttribute) {
2578
+ return;
2579
+ }
2580
+ if (attrValue) {
2581
+ attrValue = attrValue.toString();
2582
+ }
2583
+ this._settingAttributes = true;
2584
+ attrName = igniteuiWebcomponentsCore.toSpinal(attrName);
2585
+ if (this._attached) {
2586
+ this.setAttribute(attrName, attrValue);
2587
+ }
2588
+ else {
2589
+ this._enqueueSetAttribute(attrName, attrValue);
2590
+ }
2591
+ this._settingAttributes = false;
2592
+ };
2593
+ Object.defineProperty(IgcPopupComponent, "observedAttributes", {
2594
+ get: function () {
2595
+ if (IgcPopupComponent._observedAttributesIgcPopupComponent == null) {
2596
+ var names = igniteuiWebcomponentsCore.getAllPropertyNames(IgcPopupComponent);
2597
+ for (var i = 0; i < names.length; i++) {
2598
+ names[i] = igniteuiWebcomponentsCore.toSpinal(names[i]);
2599
+ }
2600
+ IgcPopupComponent._observedAttributesIgcPopupComponent = names;
2601
+ }
2602
+ return IgcPopupComponent._observedAttributesIgcPopupComponent;
2603
+ },
2604
+ enumerable: true,
2605
+ configurable: true
2606
+ });
2607
+ IgcPopupComponent.prototype.attributeChangedCallback = function (name, oldValue, newValue) {
2608
+ if (this._settingAttributes) {
2609
+ return;
2610
+ }
2611
+ var setName = igniteuiWebcomponentsCore.fromSpinal(name);
2612
+ this._updatingFromAttribute = true;
2613
+ this[setName] = newValue;
2614
+ this._updatingFromAttribute = false;
2615
+ };
2616
+ IgcPopupComponent.register = function () {
2617
+ if (!IgcPopupComponent._isElementRegistered) {
2618
+ IgcPopupComponent._isElementRegistered = true;
2619
+ igniteuiWebcomponentsCore.RegisterElementHelper.registerElement(IgcPopupComponent.htmlTagName, IgcPopupComponent);
2620
+ }
2621
+ };
2622
+ Object.defineProperty(IgcPopupComponent.prototype, "animationDuration", {
2623
+ /**
2624
+ * Gets or sets the duration of the Popup and Closeup animations in milliseconds.
2625
+ */
2626
+ get: function () {
2627
+ return this.i.y;
2628
+ },
2629
+ set: function (v) {
2630
+ this.i.y = +v;
2631
+ this._a("animationDuration", this.i.y);
2632
+ },
2633
+ enumerable: true,
2634
+ configurable: true
2635
+ });
2636
+ Object.defineProperty(IgcPopupComponent.prototype, "animationEnabled", {
2637
+ /**
2638
+ * Gets or sets whether the popup and closeup animations are animated.
2639
+ */
2640
+ get: function () {
2641
+ return this.i.q;
2642
+ },
2643
+ set: function (v) {
2644
+ this.i.q = igniteuiWebcomponentsCore.ensureBool(v);
2645
+ this._a("animationEnabled", this.i.q);
2646
+ },
2647
+ enumerable: true,
2648
+ configurable: true
2649
+ });
2650
+ Object.defineProperty(IgcPopupComponent.prototype, "elevation", {
2651
+ /**
2652
+ * Gets or sets the elevation to use for the button regardless of type.
2653
+ */
2654
+ get: function () {
2655
+ return this.i.aa;
2656
+ },
2657
+ set: function (v) {
2658
+ this.i.aa = +v;
2659
+ this._a("elevation", this.i.aa);
2660
+ },
2661
+ enumerable: true,
2662
+ configurable: true
2663
+ });
2664
+ Object.defineProperty(IgcPopupComponent.prototype, "actualElevation", {
2665
+ /**
2666
+ * Gets or sets the elevation of the border shadow
2667
+ */
2668
+ get: function () {
2669
+ return this.i.w;
2670
+ },
2671
+ set: function (v) {
2672
+ this.i.w = +v;
2673
+ this._a("actualElevation", this.i.w);
2674
+ },
2675
+ enumerable: true,
2676
+ configurable: true
2677
+ });
2678
+ Object.defineProperty(IgcPopupComponent.prototype, "isShown", {
2679
+ /**
2680
+ * Gets / sets the isShown state of the panel.
2681
+ */
2682
+ get: function () {
2683
+ return this.i.t;
2684
+ },
2685
+ enumerable: true,
2686
+ configurable: true
2687
+ });
2688
+ Object.defineProperty(IgcPopupComponent.prototype, "actualUmbraShadowColor", {
2689
+ /**
2690
+ * Gets or sets the color to use for the check mark when the checkbox is checked.
2691
+ */
2692
+ get: function () {
2693
+ return igniteuiWebcomponentsCore.brushToString(this.i.a7);
2694
+ },
2695
+ set: function (v) {
2696
+ this.i.a7 = igniteuiWebcomponentsCore.stringToBrush(v);
2697
+ this._a("actualUmbraShadowColor", igniteuiWebcomponentsCore.brushToString(this.i.a7));
2698
+ },
2699
+ enumerable: true,
2700
+ configurable: true
2701
+ });
2702
+ Object.defineProperty(IgcPopupComponent.prototype, "actualPenumbraShadowColor", {
2703
+ /**
2704
+ * Gets or sets the color to use for the check mark when the checkbox is checked.
2705
+ */
2706
+ get: function () {
2707
+ return igniteuiWebcomponentsCore.brushToString(this.i.a6);
2708
+ },
2709
+ set: function (v) {
2710
+ this.i.a6 = igniteuiWebcomponentsCore.stringToBrush(v);
2711
+ this._a("actualPenumbraShadowColor", igniteuiWebcomponentsCore.brushToString(this.i.a6));
2712
+ },
2713
+ enumerable: true,
2714
+ configurable: true
2715
+ });
2716
+ Object.defineProperty(IgcPopupComponent.prototype, "actualAmbientShadowColor", {
2717
+ /**
2718
+ * Gets or sets the color to use for the check mark when the checkbox is checked.
2719
+ */
2720
+ get: function () {
2721
+ return igniteuiWebcomponentsCore.brushToString(this.i.a5);
2722
+ },
2723
+ set: function (v) {
2724
+ this.i.a5 = igniteuiWebcomponentsCore.stringToBrush(v);
2725
+ this._a("actualAmbientShadowColor", igniteuiWebcomponentsCore.brushToString(this.i.a5));
2726
+ },
2727
+ enumerable: true,
2728
+ configurable: true
2729
+ });
2730
+ Object.defineProperty(IgcPopupComponent.prototype, "background", {
2731
+ /**
2732
+ * Gets or sets the background color of the popup.
2733
+ */
2734
+ get: function () {
2735
+ return igniteuiWebcomponentsCore.brushToString(this.i.a8);
2736
+ },
2737
+ set: function (v) {
2738
+ this.i.a8 = igniteuiWebcomponentsCore.stringToBrush(v);
2739
+ this._a("background", igniteuiWebcomponentsCore.brushToString(this.i.a8));
2740
+ },
2741
+ enumerable: true,
2742
+ configurable: true
2743
+ });
2744
+ IgcPopupComponent.prototype.findByName = function (name) {
2745
+ return null;
2746
+ };
2747
+ Object.defineProperty(IgcPopupComponent.prototype, "hasUserValues", {
2748
+ get: function () {
2749
+ return this._hasUserValues;
2750
+ },
2751
+ enumerable: true,
2752
+ configurable: true
2753
+ });
2754
+ IgcPopupComponent.prototype.__m = function (propertyName) {
2755
+ if (!this._inStyling) {
2756
+ this._hasUserValues.add(propertyName);
2757
+ }
2758
+ };
2759
+ IgcPopupComponent.prototype._styling = function (container, component, parent) {
2760
+ if (this._inStyling) {
2761
+ return;
2762
+ }
2763
+ this._inStyling = true;
2764
+ this._stylingContainer = container;
2765
+ this._stylingParent = component;
2766
+ var genericPrefix = "";
2767
+ var typeName = this.i.$type.name;
2768
+ if (typeName.indexOf("Xam") === 0) {
2769
+ typeName = typeName.substring(3);
2770
+ }
2771
+ genericPrefix = igniteuiWebcomponentsCore.toSpinal("PopupComponent");
2772
+ var additionalPrefixes = [];
2773
+ var prefix = igniteuiWebcomponentsCore.toSpinal(typeName);
2774
+ additionalPrefixes.push(prefix + "-");
2775
+ var b = this.i.$type.baseType;
2776
+ while (b && b.name != "Object" &&
2777
+ b.name != "Base" &&
2778
+ b.name != "Control" &&
2779
+ b.Name != "DependencyObject" &&
2780
+ b.Name != "FrameworkElement") {
2781
+ typeName = b.name;
2782
+ if (typeName.indexOf("Xam") === 0) {
2783
+ typeName = typeName.substring(3);
2784
+ }
2785
+ var basePrefix = igniteuiWebcomponentsCore.toSpinal(typeName);
2786
+ additionalPrefixes.push(basePrefix + "-");
2787
+ b = b.baseType;
2788
+ }
2789
+ if (parent) {
2790
+ var parentTypeName = parent.i.$type.name;
2791
+ if (parentTypeName.indexOf("Xam") === 0) {
2792
+ parentTypeName = parentTypeName.substring(3);
2793
+ }
2794
+ var parentPrefix = igniteuiWebcomponentsCore.toSpinal(parentTypeName);
2795
+ additionalPrefixes.push(parentPrefix + "-" + genericPrefix + "-");
2796
+ additionalPrefixes.push(parentPrefix + "-" + prefix + "-");
2797
+ }
2798
+ igniteuiWebcomponentsCore.initializePropertiesFromCss(container, this, genericPrefix + "-", this.hasUserValues, false, additionalPrefixes);
2799
+ if (this._otherStyling) {
2800
+ this._otherStyling(container, component, parent);
2801
+ }
2802
+ this._inStyling = false;
2803
+ };
2804
+ /**
2805
+ * Closes the popup.
2806
+
2807
+ */
2808
+ IgcPopupComponent.prototype.close = function () {
2809
+ this.i.ao();
2810
+ };
2811
+ IgcPopupComponent.prototype.showRelativeToExclusionRect = function (exclusionRect, popupDirection, popupAlignment) {
2812
+ this.i.showRelativeToExclusionRect(igniteuiWebcomponentsCore.toRect(exclusionRect), (popupDirection == null ? null : popupDirection), (popupAlignment == null ? null : popupAlignment));
2813
+ };
2814
+ /**
2815
+ * Exports visual information about the current state of the grid.
2816
+
2817
+ */
2818
+ IgcPopupComponent.prototype.exportVisualModel = function () {
2819
+ var iv = this.i.ab();
2820
+ return (iv);
2821
+ };
2822
+ /**
2823
+ * Returns a serialized copy of the exported visual model
2824
+
2825
+ */
2826
+ IgcPopupComponent.prototype.exportSerializedVisualModel = function () {
2827
+ var iv = this.i.ak();
2828
+ return (iv);
2829
+ };
2830
+ Object.defineProperty(IgcPopupComponent.prototype, "onClosed", {
2831
+ get: function () {
2832
+ return this._onClosed;
2833
+ },
2834
+ set: function (ev) {
2835
+ var _this = this;
2836
+ if (this._onClosed_wrapped !== null) {
2837
+ this.i.onClosed = igniteuiWebcomponentsCore.delegateRemove(this.i.onClosed, this._onClosed_wrapped);
2838
+ this._onClosed_wrapped = null;
2839
+ this._onClosed = null;
2840
+ }
2841
+ this._onClosed = ev;
2842
+ this._onClosed_wrapped = function (o, e) {
2843
+ var outerArgs = new IgcOnClosedEventArgs();
2844
+ outerArgs._provideImplementation(e);
2845
+ if (_this.beforeOnClosed) {
2846
+ _this.beforeOnClosed(_this, outerArgs);
2847
+ }
2848
+ if (_this._onClosed) {
2849
+ _this._onClosed(_this, outerArgs);
2850
+ }
2851
+ };
2852
+ this.i.onClosed = igniteuiWebcomponentsCore.delegateCombine(this.i.onClosed, this._onClosed_wrapped);
2853
+ },
2854
+ enumerable: true,
2855
+ configurable: true
2856
+ });
2857
+ Object.defineProperty(IgcPopupComponent.prototype, "onPopup", {
2858
+ /**
2859
+ * Fires when the popup is shown
2860
+ */
2861
+ get: function () {
2862
+ return this._onPopup;
2863
+ },
2864
+ set: function (ev) {
2865
+ var _this = this;
2866
+ if (this._onPopup_wrapped !== null) {
2867
+ this.i.onPopup = igniteuiWebcomponentsCore.delegateRemove(this.i.onPopup, this._onPopup_wrapped);
2868
+ this._onPopup_wrapped = null;
2869
+ this._onPopup = null;
2870
+ }
2871
+ this._onPopup = ev;
2872
+ this._onPopup_wrapped = function (o, e) {
2873
+ var outerArgs = new IgcOnPopupEventArgs();
2874
+ outerArgs._provideImplementation(e);
2875
+ if (_this.beforeOnPopup) {
2876
+ _this.beforeOnPopup(_this, outerArgs);
2877
+ }
2878
+ if (_this._onPopup) {
2879
+ _this._onPopup(_this, outerArgs);
2880
+ }
2881
+ };
2882
+ this.i.onPopup = igniteuiWebcomponentsCore.delegateCombine(this.i.onPopup, this._onPopup_wrapped);
2883
+ },
2884
+ enumerable: true,
2885
+ configurable: true
2886
+ });
2887
+ IgcPopupComponent._observedAttributesIgcPopupComponent = null;
2888
+ IgcPopupComponent.htmlTagName = "igc-popup";
2889
+ IgcPopupComponent._isElementRegistered = false;
2890
+ return IgcPopupComponent;
2891
+ }(igniteuiWebcomponentsCore.IgcHTMLElement));
2892
+
2893
+ /*
2894
+ THIS INFRAGISTICS ULTIMATE SOFTWARE LICENSE AGREEMENT ("AGREEMENT") LOCATED HERE:
2895
+ https://www.infragistics.com/legal/license/igultimate-la
2896
+ https://www.infragistics.com/legal/license/igultimate-eula
2897
+ 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.
2898
+ */
2899
+ var IgcPopupModule = /** @class */ /*@__PURE__*/ (function () {
2900
+ function IgcPopupModule() {
2901
+ }
2902
+ IgcPopupModule.register = function () {
2903
+ igniteuiWebcomponentsCore.IgcChildContentModule.register();
2904
+ IgcPopupComponent.register();
2905
+ igniteuiWebcomponentsCore.TypeRegistrar.registerCons('IgcPopupComponent', IgcPopupComponent);
2906
+ igniteuiWebcomponentsCore.TypeRegistrar.registerCons('IgcPopupComponent', IgcPopupComponent);
2907
+ igniteuiWebcomponentsCore.TypeRegistrar.register('Popup', Popup.$type);
2908
+ };
2909
+ return IgcPopupModule;
2910
+ }());
2911
+
2912
+ /*
2913
+ THIS INFRAGISTICS ULTIMATE SOFTWARE LICENSE AGREEMENT ("AGREEMENT") LOCATED HERE:
2914
+ https://www.infragistics.com/legal/license/igultimate-la
2915
+ https://www.infragistics.com/legal/license/igultimate-eula
2916
+ 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.
2917
+ */
2918
+
2919
+ /*
2920
+ THIS INFRAGISTICS ULTIMATE SOFTWARE LICENSE AGREEMENT ("AGREEMENT") LOCATED HERE:
2921
+ https://www.infragistics.com/legal/license/igultimate-la
2922
+ https://www.infragistics.com/legal/license/igultimate-eula
2923
+ 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.
2924
+ */
2925
+
2926
+ /*
2927
+ THIS INFRAGISTICS ULTIMATE SOFTWARE LICENSE AGREEMENT ("AGREEMENT") LOCATED HERE:
2928
+ https://www.infragistics.com/legal/license/igultimate-la
2929
+ https://www.infragistics.com/legal/license/igultimate-eula
2930
+ 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.
2931
+ */
2932
+ /**
2933
+ * Indicates which side of the exclusion rectangle to which the popup is aligned.
2934
+ */
2935
+ var PopupAlignment = /*@__PURE__*/ (function (PopupAlignment) {
2936
+ /**
2937
+ * No specified direction.
2938
+ */
2939
+ PopupAlignment[PopupAlignment["Auto"] = 0] = "Auto";
2940
+ /**
2941
+ * Popup should be aligned to the near side. This usually means left or top.
2942
+ */
2943
+ PopupAlignment[PopupAlignment["Near"] = 1] = "Near";
2944
+ /**
2945
+ * Popup should be aligned to the near far. This usually means right or bottom.
2946
+ */
2947
+ PopupAlignment[PopupAlignment["Far"] = 2] = "Far";
2948
+ return PopupAlignment;
2949
+ })({});
2950
+ /**
2951
+ * @hidden
2952
+ */
2953
+ var PopupAlignment_$type = /*@__PURE__*/ igniteuiWebcomponentsCore.markEnum('PopupAlignment', 'Auto,0|Near,1|Far,2');
2954
+
2955
+ /*
2956
+ THIS INFRAGISTICS ULTIMATE SOFTWARE LICENSE AGREEMENT ("AGREEMENT") LOCATED HERE:
2957
+ https://www.infragistics.com/legal/license/igultimate-la
2958
+ https://www.infragistics.com/legal/license/igultimate-eula
2959
+ 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.
2960
+ */
2961
+ /**
2962
+ * Indicates which direction the popup will pop up in relation to the exclusion rectangle.
2963
+ */
2964
+ var PopupDirection = /*@__PURE__*/ (function (PopupDirection) {
2965
+ /**
2966
+ * No specified direction.
2967
+ */
2968
+ PopupDirection[PopupDirection["Auto"] = 0] = "Auto";
2969
+ /**
2970
+ * Popup should be displayed downward.
2971
+ */
2972
+ PopupDirection[PopupDirection["Down"] = 1] = "Down";
2973
+ /**
2974
+ * Popup should be displayed downward.
2975
+ */
2976
+ PopupDirection[PopupDirection["Up"] = 2] = "Up";
2977
+ return PopupDirection;
2978
+ })({});
2979
+ /**
2980
+ * @hidden
2981
+ */
2982
+ var PopupDirection_$type = /*@__PURE__*/ igniteuiWebcomponentsCore.markEnum('PopupDirection', 'Auto,0|Down,1|Up,2');
2983
+
2984
+ exports.ExpansionPanel = ExpansionPanel;
2985
+ exports.ExpansionPanelUtilities = ExpansionPanelUtilities;
2986
+ exports.ExpansionPanelView = ExpansionPanelView;
2987
+ exports.IgcExpansionPanelComponent = IgcExpansionPanelComponent;
2988
+ exports.IgcExpansionPanelModule = IgcExpansionPanelModule;
2989
+ exports.IgcOnClosedEventArgs = IgcOnClosedEventArgs;
2990
+ exports.IgcOnCollapsedEventArgs = IgcOnCollapsedEventArgs;
2991
+ exports.IgcOnExpandedEventArgs = IgcOnExpandedEventArgs;
2992
+ exports.IgcOnPopupEventArgs = IgcOnPopupEventArgs;
2993
+ exports.IgcPopupComponent = IgcPopupComponent;
2994
+ exports.IgcPopupModule = IgcPopupModule;
2995
+ exports.OnClosedEventArgs = OnClosedEventArgs;
2996
+ exports.OnCollapsedEventArgs = OnCollapsedEventArgs;
2997
+ exports.OnExpandedEventArgs = OnExpandedEventArgs;
2998
+ exports.OnPopupEventArgs = OnPopupEventArgs;
2999
+ exports.Popup = Popup;
3000
+ exports.PopupAlignment = PopupAlignment;
3001
+ exports.PopupAlignment_$type = PopupAlignment_$type;
3002
+ exports.PopupDirection = PopupDirection;
3003
+ exports.PopupDirection_$type = PopupDirection_$type;
3004
+ exports.PopupView = PopupView;
3005
+ exports.PopupVisualModelExport = PopupVisualModelExport;
3006
+ exports.Popup_InnerAnimationInfo = Popup_InnerAnimationInfo;
3007
+ exports.Popup_OuterAnimationInfo = Popup_OuterAnimationInfo;
3008
+
3009
+ Object.defineProperty(exports, '__esModule', { value: true });
3010
+
3011
+ })));
3012
+ //# sourceMappingURL=igniteui-webcomponents-layouts.umd.js.map