igniteui-webcomponents-layouts 4.0.4 → 4.2.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bundles/igniteui-webcomponents-layouts.umd.js +1495 -2681
- package/bundles/igniteui-webcomponents-layouts.umd.min.js +1 -1
- package/esm2015/lib/ListPanelView_combined.js +31 -18
- package/esm2015/lib/PropertyEditorPanelView_combined.js +154 -154
- package/esm2015/lib/PropertyEditorPropertyDescription_combined.js +127 -116
- package/esm2015/lib/ToolActionButton.js +1 -91
- package/esm2015/lib/ToolPanelView_combined.js +862 -692
- package/esm2015/lib/ToolbarView_combined.js +123 -96
- package/esm2015/lib/igc-property-editor-property-description-component.js +66 -31
- package/esm2015/lib/igc-tool-action-component.js +42 -31
- package/esm2015/lib/igc-tool-action-menu-base-component.js +1 -1
- package/esm2015/lib/igc-tool-action-radio-component.js +7 -4
- package/esm2015/lib/igc-tool-panel-component.js +21 -10
- package/esm2015/lib/igc-toolbar-component.js +23 -12
- package/esm2015/public_api.js +0 -13
- package/esm5/lib/ListPanelView_combined.js +31 -18
- package/esm5/lib/PropertyEditorPanelView_combined.js +154 -154
- package/esm5/lib/PropertyEditorPropertyDescription_combined.js +131 -116
- package/esm5/lib/ToolActionButton.js +1 -94
- package/esm5/lib/ToolPanelView_combined.js +877 -693
- package/esm5/lib/ToolbarView_combined.js +123 -92
- package/esm5/lib/igc-property-editor-property-description-component.js +70 -31
- package/esm5/lib/igc-tool-action-component.js +46 -31
- package/esm5/lib/igc-tool-action-menu-base-component.js +1 -1
- package/esm5/lib/igc-tool-action-radio-component.js +6 -3
- package/esm5/lib/igc-tool-panel-component.js +25 -10
- package/esm5/lib/igc-toolbar-component.js +27 -12
- package/esm5/public_api.js +0 -13
- package/fesm2015/igniteui-webcomponents-layouts.js +1460 -2516
- package/fesm5/igniteui-webcomponents-layouts.js +1493 -2663
- package/lib/PropertyEditorPropertyDescription_combined.d.ts +24 -22
- package/lib/ToolActionButton.d.ts +1 -23
- package/lib/ToolPanelView_combined.d.ts +172 -146
- package/lib/ToolbarView_combined.d.ts +33 -28
- package/lib/igc-property-editor-property-description-component.d.ts +3 -0
- package/lib/igc-tool-action-component.d.ts +5 -0
- package/lib/igc-tool-action-radio-component.d.ts +4 -1
- package/lib/igc-tool-panel-component.d.ts +5 -0
- package/lib/igc-toolbar-component.d.ts +5 -0
- package/package.json +3 -3
- package/public_api.d.ts +0 -13
- package/esm2015/lib/OnClosedEventArgs.js +0 -16
- package/esm2015/lib/OnPopupEventArgs.js +0 -16
- package/esm2015/lib/Popup.js +0 -7
- package/esm2015/lib/PopupAlignment.js +0 -29
- package/esm2015/lib/PopupDirection.js +0 -29
- package/esm2015/lib/PopupView.js +0 -7
- package/esm2015/lib/PopupView_combined.js +0 -647
- package/esm2015/lib/PopupVisualModelExport.js +0 -36
- package/esm2015/lib/Popup_InnerAnimationInfo.js +0 -21
- package/esm2015/lib/Popup_OuterAnimationInfo.js +0 -23
- package/esm2015/lib/igc-on-closed-event-args.js +0 -24
- package/esm2015/lib/igc-on-popup-event-args.js +0 -24
- package/esm2015/lib/igc-popup-component.js +0 -388
- package/esm2015/lib/igc-popup-module.js +0 -19
- package/esm5/lib/OnClosedEventArgs.js +0 -20
- package/esm5/lib/OnPopupEventArgs.js +0 -20
- package/esm5/lib/Popup.js +0 -7
- package/esm5/lib/PopupAlignment.js +0 -29
- package/esm5/lib/PopupDirection.js +0 -29
- package/esm5/lib/PopupView.js +0 -7
- package/esm5/lib/PopupView_combined.js +0 -700
- package/esm5/lib/PopupVisualModelExport.js +0 -38
- package/esm5/lib/Popup_InnerAnimationInfo.js +0 -23
- package/esm5/lib/Popup_OuterAnimationInfo.js +0 -25
- package/esm5/lib/igc-on-closed-event-args.js +0 -30
- package/esm5/lib/igc-on-popup-event-args.js +0 -30
- package/esm5/lib/igc-popup-component.js +0 -473
- package/esm5/lib/igc-popup-module.js +0 -23
- package/lib/OnClosedEventArgs.d.ts +0 -7
- package/lib/OnPopupEventArgs.d.ts +0 -7
- package/lib/Popup.d.ts +0 -1
- package/lib/PopupAlignment.d.ts +0 -22
- package/lib/PopupDirection.d.ts +0 -22
- package/lib/PopupView.d.ts +0 -1
- package/lib/PopupView_combined.d.ts +0 -126
- package/lib/PopupVisualModelExport.d.ts +0 -14
- package/lib/Popup_InnerAnimationInfo.d.ts +0 -10
- package/lib/Popup_OuterAnimationInfo.d.ts +0 -12
- package/lib/igc-on-closed-event-args.d.ts +0 -12
- package/lib/igc-on-popup-event-args.d.ts +0 -12
- package/lib/igc-popup-component.d.ts +0 -110
- package/lib/igc-popup-module.d.ts +0 -3
|
@@ -21,28 +21,39 @@ export let PropertyEditorPropertyDescription = /*@__PURE__*/ (() => {
|
|
|
21
21
|
class PropertyEditorPropertyDescription extends Base {
|
|
22
22
|
constructor() {
|
|
23
23
|
super(...arguments);
|
|
24
|
+
this.aj = null;
|
|
24
25
|
this.ah = null;
|
|
25
|
-
this.
|
|
26
|
-
this.
|
|
26
|
+
this.o = 0;
|
|
27
|
+
this.ai = null;
|
|
28
|
+
this.q = false;
|
|
27
29
|
this.ag = null;
|
|
28
|
-
this.o = false;
|
|
29
|
-
this.ae = null;
|
|
30
30
|
this.a = null;
|
|
31
31
|
this.b = null;
|
|
32
|
-
this.
|
|
33
|
-
this.
|
|
34
|
-
this.r = NaN;
|
|
35
|
-
this.s = NaN;
|
|
32
|
+
this.ad = null;
|
|
33
|
+
this.w = NaN;
|
|
36
34
|
this.t = NaN;
|
|
35
|
+
this.u = NaN;
|
|
37
36
|
this.v = NaN;
|
|
37
|
+
this.x = NaN;
|
|
38
38
|
this.f = null;
|
|
39
|
-
this.h =
|
|
39
|
+
this.h = new PropertyEditorDescriptionObjectCollection();
|
|
40
|
+
this.l = new PropertyEditorPropertyDescriptionCollection();
|
|
40
41
|
this.e = null;
|
|
41
42
|
this.propertyChanged = null;
|
|
42
43
|
this.buttonClicked = null;
|
|
43
44
|
this.changed = null;
|
|
44
45
|
this.targetPropertyUpdating = null;
|
|
45
46
|
}
|
|
47
|
+
get an() {
|
|
48
|
+
return this.aj;
|
|
49
|
+
}
|
|
50
|
+
set an(a) {
|
|
51
|
+
let b = this.aj;
|
|
52
|
+
this.aj = a;
|
|
53
|
+
if (this.aj != b) {
|
|
54
|
+
this.aq("PropertyPath", b, a);
|
|
55
|
+
}
|
|
56
|
+
}
|
|
46
57
|
get al() {
|
|
47
58
|
return this.ah;
|
|
48
59
|
}
|
|
@@ -50,27 +61,37 @@ export let PropertyEditorPropertyDescription = /*@__PURE__*/ (() => {
|
|
|
50
61
|
let b = this.ah;
|
|
51
62
|
this.ah = a;
|
|
52
63
|
if (this.ah != b) {
|
|
53
|
-
this.
|
|
64
|
+
this.aq("Label", b, a);
|
|
54
65
|
}
|
|
55
66
|
}
|
|
56
|
-
get
|
|
57
|
-
return this.
|
|
67
|
+
get p() {
|
|
68
|
+
return this.o;
|
|
58
69
|
}
|
|
59
|
-
set
|
|
60
|
-
let b = this.
|
|
61
|
-
this.
|
|
62
|
-
if (this.
|
|
63
|
-
this.
|
|
70
|
+
set p(a) {
|
|
71
|
+
let b = this.o;
|
|
72
|
+
this.o = a;
|
|
73
|
+
if (this.o != b) {
|
|
74
|
+
this.aq("ValueType", enumGetBox(PropertyEditorValueType_$type, b), enumGetBox(PropertyEditorValueType_$type, a));
|
|
64
75
|
}
|
|
65
76
|
}
|
|
66
|
-
get
|
|
67
|
-
return this.
|
|
77
|
+
get am() {
|
|
78
|
+
return this.ai;
|
|
68
79
|
}
|
|
69
|
-
set
|
|
70
|
-
let b = this.
|
|
71
|
-
this.
|
|
72
|
-
if (this.
|
|
73
|
-
this.
|
|
80
|
+
set am(a) {
|
|
81
|
+
let b = this.ai;
|
|
82
|
+
this.ai = a;
|
|
83
|
+
if (this.ai != b) {
|
|
84
|
+
this.aq("PropertyDescriptionType", b, a);
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
get s() {
|
|
88
|
+
return this.q;
|
|
89
|
+
}
|
|
90
|
+
set s(a) {
|
|
91
|
+
let b = this.q;
|
|
92
|
+
this.q = a;
|
|
93
|
+
if (this.q != b) {
|
|
94
|
+
this.aq("ShouldOverrideDefaultEditor", b, a);
|
|
74
95
|
}
|
|
75
96
|
}
|
|
76
97
|
get ak() {
|
|
@@ -80,27 +101,7 @@ export let PropertyEditorPropertyDescription = /*@__PURE__*/ (() => {
|
|
|
80
101
|
let b = this.ag;
|
|
81
102
|
this.ag = a;
|
|
82
103
|
if (this.ag != b) {
|
|
83
|
-
this.
|
|
84
|
-
}
|
|
85
|
-
}
|
|
86
|
-
get q() {
|
|
87
|
-
return this.o;
|
|
88
|
-
}
|
|
89
|
-
set q(a) {
|
|
90
|
-
let b = this.o;
|
|
91
|
-
this.o = a;
|
|
92
|
-
if (this.o != b) {
|
|
93
|
-
this.ao("ShouldOverrideDefaultEditor", b, a);
|
|
94
|
-
}
|
|
95
|
-
}
|
|
96
|
-
get ai() {
|
|
97
|
-
return this.ae;
|
|
98
|
-
}
|
|
99
|
-
set ai(a) {
|
|
100
|
-
let b = this.ae;
|
|
101
|
-
this.ae = a;
|
|
102
|
-
if (this.ae != b) {
|
|
103
|
-
this.ao("ElementDescriptionType", b, a);
|
|
104
|
+
this.aq("ElementDescriptionType", b, a);
|
|
104
105
|
}
|
|
105
106
|
}
|
|
106
107
|
get c() {
|
|
@@ -110,7 +111,7 @@ export let PropertyEditorPropertyDescription = /*@__PURE__*/ (() => {
|
|
|
110
111
|
let b = this.a;
|
|
111
112
|
this.a = a;
|
|
112
113
|
if (this.a != b) {
|
|
113
|
-
this.
|
|
114
|
+
this.aq("DropDownNames", b, a);
|
|
114
115
|
}
|
|
115
116
|
}
|
|
116
117
|
get d() {
|
|
@@ -120,47 +121,27 @@ export let PropertyEditorPropertyDescription = /*@__PURE__*/ (() => {
|
|
|
120
121
|
let b = this.b;
|
|
121
122
|
this.b = a;
|
|
122
123
|
if (this.b != b) {
|
|
123
|
-
this.
|
|
124
|
+
this.aq("DropDownValues", b, a);
|
|
124
125
|
}
|
|
125
126
|
}
|
|
126
|
-
get
|
|
127
|
-
return this.
|
|
127
|
+
get af() {
|
|
128
|
+
return this.ad;
|
|
128
129
|
}
|
|
129
|
-
set
|
|
130
|
-
let b = this.
|
|
131
|
-
this.
|
|
132
|
-
if (this.
|
|
133
|
-
this.
|
|
130
|
+
set af(a) {
|
|
131
|
+
let b = this.ad;
|
|
132
|
+
this.ad = a;
|
|
133
|
+
if (this.ad != b) {
|
|
134
|
+
this.aq("PrimitiveValue", b, a);
|
|
134
135
|
}
|
|
135
136
|
}
|
|
136
|
-
get
|
|
137
|
-
return this.
|
|
137
|
+
get ab() {
|
|
138
|
+
return this.w;
|
|
138
139
|
}
|
|
139
|
-
set
|
|
140
|
-
let b = this.
|
|
141
|
-
this.
|
|
142
|
-
if (this.
|
|
143
|
-
this.
|
|
144
|
-
}
|
|
145
|
-
}
|
|
146
|
-
get w() {
|
|
147
|
-
return this.r;
|
|
148
|
-
}
|
|
149
|
-
set w(a) {
|
|
150
|
-
let b = this.r;
|
|
151
|
-
this.r = a;
|
|
152
|
-
if (this.r != b) {
|
|
153
|
-
this.ao("EditorWidth", b, a);
|
|
154
|
-
}
|
|
155
|
-
}
|
|
156
|
-
get x() {
|
|
157
|
-
return this.s;
|
|
158
|
-
}
|
|
159
|
-
set x(a) {
|
|
160
|
-
let b = this.s;
|
|
161
|
-
this.s = a;
|
|
162
|
-
if (this.s != b) {
|
|
163
|
-
this.ao("LabelWidth", b, a);
|
|
140
|
+
set ab(a) {
|
|
141
|
+
let b = this.w;
|
|
142
|
+
this.w = a;
|
|
143
|
+
if (this.w != b) {
|
|
144
|
+
this.aq("Min", b, a);
|
|
164
145
|
}
|
|
165
146
|
}
|
|
166
147
|
get y() {
|
|
@@ -170,7 +151,17 @@ export let PropertyEditorPropertyDescription = /*@__PURE__*/ (() => {
|
|
|
170
151
|
let b = this.t;
|
|
171
152
|
this.t = a;
|
|
172
153
|
if (this.t != b) {
|
|
173
|
-
this.
|
|
154
|
+
this.aq("EditorWidth", b, a);
|
|
155
|
+
}
|
|
156
|
+
}
|
|
157
|
+
get z() {
|
|
158
|
+
return this.u;
|
|
159
|
+
}
|
|
160
|
+
set z(a) {
|
|
161
|
+
let b = this.u;
|
|
162
|
+
this.u = a;
|
|
163
|
+
if (this.u != b) {
|
|
164
|
+
this.aq("LabelWidth", b, a);
|
|
174
165
|
}
|
|
175
166
|
}
|
|
176
167
|
get aa() {
|
|
@@ -180,7 +171,17 @@ export let PropertyEditorPropertyDescription = /*@__PURE__*/ (() => {
|
|
|
180
171
|
let b = this.v;
|
|
181
172
|
this.v = a;
|
|
182
173
|
if (this.v != b) {
|
|
183
|
-
this.
|
|
174
|
+
this.aq("Max", b, a);
|
|
175
|
+
}
|
|
176
|
+
}
|
|
177
|
+
get ac() {
|
|
178
|
+
return this.x;
|
|
179
|
+
}
|
|
180
|
+
set ac(a) {
|
|
181
|
+
let b = this.x;
|
|
182
|
+
this.x = a;
|
|
183
|
+
if (this.x != b) {
|
|
184
|
+
this.aq("Step", b, a);
|
|
184
185
|
}
|
|
185
186
|
}
|
|
186
187
|
get g() {
|
|
@@ -190,7 +191,7 @@ export let PropertyEditorPropertyDescription = /*@__PURE__*/ (() => {
|
|
|
190
191
|
let b = this.f;
|
|
191
192
|
this.f = a;
|
|
192
193
|
if (this.f != b) {
|
|
193
|
-
this.
|
|
194
|
+
this.aq("ComplexValue", b, a);
|
|
194
195
|
}
|
|
195
196
|
}
|
|
196
197
|
get i() {
|
|
@@ -200,38 +201,48 @@ export let PropertyEditorPropertyDescription = /*@__PURE__*/ (() => {
|
|
|
200
201
|
let b = this.h;
|
|
201
202
|
this.h = a;
|
|
202
203
|
if (this.h != b) {
|
|
203
|
-
this.
|
|
204
|
+
this.aq("ComplexValues", b, a);
|
|
204
205
|
}
|
|
205
206
|
}
|
|
206
|
-
|
|
207
|
+
get m() {
|
|
208
|
+
return this.l;
|
|
209
|
+
}
|
|
210
|
+
set m(a) {
|
|
211
|
+
let b = this.l;
|
|
212
|
+
this.l = a;
|
|
213
|
+
if (this.l != b) {
|
|
214
|
+
this.aq("Properties", b, a);
|
|
215
|
+
}
|
|
216
|
+
}
|
|
217
|
+
aq(a, b, c) {
|
|
207
218
|
if (this.propertyChanged != null) {
|
|
208
219
|
this.propertyChanged(this, new PropertyChangedEventArgs(a));
|
|
209
220
|
}
|
|
210
221
|
}
|
|
211
|
-
|
|
222
|
+
r(a) {
|
|
212
223
|
let b = false;
|
|
213
224
|
if (a == null) {
|
|
214
225
|
return false;
|
|
215
226
|
}
|
|
216
|
-
if (a.c != null && (this.c == null || !this.
|
|
227
|
+
if (a.c != null && (this.c == null || !this.s)) {
|
|
217
228
|
this.c = a.c;
|
|
218
229
|
}
|
|
219
|
-
if (a.d != null && (this.d == null || !this.
|
|
230
|
+
if (a.d != null && (this.d == null || !this.s)) {
|
|
220
231
|
this.d = a.d;
|
|
221
232
|
}
|
|
222
|
-
if (a.
|
|
223
|
-
this.ai = a.ai;
|
|
224
|
-
}
|
|
225
|
-
if (a.ak != null && (this.ak == null || !this.q)) {
|
|
233
|
+
if (a.ak != null && (this.ak == null || !this.s)) {
|
|
226
234
|
this.ak = a.ak;
|
|
227
235
|
}
|
|
228
|
-
if (a.
|
|
229
|
-
this.
|
|
236
|
+
if (a.am != null && (this.am == null || !this.s)) {
|
|
237
|
+
this.am = a.am;
|
|
238
|
+
}
|
|
239
|
+
if (a.p != 0 && (this.p == 0 || !this.s)) {
|
|
240
|
+
this.p = a.p;
|
|
230
241
|
b = true;
|
|
231
242
|
}
|
|
232
243
|
return true;
|
|
233
244
|
}
|
|
234
|
-
|
|
245
|
+
ae(a, b) {
|
|
235
246
|
if (b) {
|
|
236
247
|
return this.e;
|
|
237
248
|
}
|
|
@@ -240,21 +251,21 @@ export let PropertyEditorPropertyDescription = /*@__PURE__*/ (() => {
|
|
|
240
251
|
}
|
|
241
252
|
return null;
|
|
242
253
|
}
|
|
243
|
-
|
|
254
|
+
ap() {
|
|
244
255
|
if (this.buttonClicked != null) {
|
|
245
256
|
this.buttonClicked(this, new PropertyEditorPropertyDescriptionButtonClickEventArgs());
|
|
246
257
|
}
|
|
247
258
|
}
|
|
248
|
-
|
|
259
|
+
ao() {
|
|
249
260
|
if (this.changed != null) {
|
|
250
261
|
this.changed(this, ((() => {
|
|
251
262
|
let $ret = new PropertyEditorPropertyDescriptionChangedEventArgs();
|
|
252
|
-
$ret.newValue = this.
|
|
263
|
+
$ret.newValue = this.af;
|
|
253
264
|
return $ret;
|
|
254
265
|
})()));
|
|
255
266
|
}
|
|
256
267
|
}
|
|
257
|
-
|
|
268
|
+
ar(a, b, c) {
|
|
258
269
|
if (this.targetPropertyUpdating != null) {
|
|
259
270
|
this.targetPropertyUpdating(this, ((() => {
|
|
260
271
|
let $ret = new PropertyEditorPropertyDescriptionTargetPropertyUpdatingEventArgs();
|
|
@@ -344,28 +355,28 @@ export let PropertyEditorDataSource = /*@__PURE__*/ (() => {
|
|
|
344
355
|
}
|
|
345
356
|
f(a) {
|
|
346
357
|
let b = new PropertyEditorPropertyDescription();
|
|
347
|
-
b.
|
|
348
|
-
b.
|
|
349
|
-
b.
|
|
358
|
+
b.an = a.propertyName;
|
|
359
|
+
b.p = this.i(a);
|
|
360
|
+
b.am = a.specificExternalType != null ? a.specificExternalType : a.specificType;
|
|
350
361
|
if (a.knownType == 9) {
|
|
351
|
-
b.
|
|
352
|
-
if (this.j != null && this.j.containsKey(b.
|
|
353
|
-
b.e = this.j.item(b.
|
|
362
|
+
b.ak = a.collectionElementType;
|
|
363
|
+
if (this.j != null && this.j.containsKey(b.ak)) {
|
|
364
|
+
b.e = this.j.item(b.ak);
|
|
354
365
|
}
|
|
355
366
|
else {
|
|
356
|
-
b.e = PropertyEditorDataSource.d(this.a, b.
|
|
367
|
+
b.e = PropertyEditorDataSource.d(this.a, b.ak, this.j);
|
|
357
368
|
}
|
|
358
369
|
}
|
|
359
|
-
if (b.
|
|
360
|
-
if (this.j != null && this.j.containsKey(b.
|
|
361
|
-
b.e = this.j.item(b.
|
|
370
|
+
if (b.p == 8) {
|
|
371
|
+
if (this.j != null && this.j.containsKey(b.am)) {
|
|
372
|
+
b.e = this.j.item(b.am);
|
|
362
373
|
}
|
|
363
374
|
else {
|
|
364
|
-
b.e = PropertyEditorDataSource.d(this.a, b.
|
|
375
|
+
b.e = PropertyEditorDataSource.d(this.a, b.am, this.j);
|
|
365
376
|
}
|
|
366
377
|
}
|
|
367
|
-
if (b.
|
|
368
|
-
b.c = this.a.c(this.n, b.
|
|
378
|
+
if (b.p == 15) {
|
|
379
|
+
b.c = this.a.c(this.n, b.an);
|
|
369
380
|
b.d = b.d;
|
|
370
381
|
}
|
|
371
382
|
return b;
|
|
@@ -433,7 +444,7 @@ export let PropertyEditorDataSource = /*@__PURE__*/ (() => {
|
|
|
433
444
|
}
|
|
434
445
|
let e = this.b.getMetadata(this.n, c[d]);
|
|
435
446
|
let f = this.f(e);
|
|
436
|
-
if (f.
|
|
447
|
+
if (f.p == 0) {
|
|
437
448
|
continue;
|
|
438
449
|
}
|
|
439
450
|
a.add(f);
|
|
@@ -478,7 +489,7 @@ export let PropertyEditorDataSource = /*@__PURE__*/ (() => {
|
|
|
478
489
|
i = true;
|
|
479
490
|
}
|
|
480
491
|
if (e != null && typeCast(PropertyEditorPropertyDescription.$, e) !== null) {
|
|
481
|
-
let m = e.
|
|
492
|
+
let m = e.ae(h, i);
|
|
482
493
|
if (m == null) {
|
|
483
494
|
return null;
|
|
484
495
|
}
|
|
@@ -498,7 +509,7 @@ export let PropertyEditorDataSource = /*@__PURE__*/ (() => {
|
|
|
498
509
|
return null;
|
|
499
510
|
}
|
|
500
511
|
for (let p = 0; p < this.h.count; p++) {
|
|
501
|
-
if (Base.equalsStatic(this.h._inner[p].
|
|
512
|
+
if (Base.equalsStatic(this.h._inner[p].an, h)) {
|
|
502
513
|
e = this.h._inner[p];
|
|
503
514
|
break;
|
|
504
515
|
}
|
|
@@ -4,94 +4,4 @@ https://www.infragistics.com/legal/license/igultimate-la
|
|
|
4
4
|
https://www.infragistics.com/legal/license/igultimate-eula
|
|
5
5
|
GOVERNS THE LICENSING, INSTALLATION AND USE OF INFRAGISTICS SOFTWARE. BY DOWNLOADING AND/OR INSTALLING AND USING INFRAGISTICS SOFTWARE: you are indicating that you have read and understand this Agreement, and agree to be legally bound by it on behalf of the yourself and your company.
|
|
6
6
|
*/
|
|
7
|
-
|
|
8
|
-
import { ToolActionType_$type } from "igniteui-webcomponents-core";
|
|
9
|
-
import { ToolActionEventDetail } from "./ToolActionEventDetail";
|
|
10
|
-
import { Size } from "igniteui-webcomponents-core";
|
|
11
|
-
import { NativeUIComponent } from "igniteui-webcomponents-core";
|
|
12
|
-
import { Thickness } from "igniteui-webcomponents-core";
|
|
13
|
-
import { EnumUtil, runOn, markType } from "igniteui-webcomponents-core";
|
|
14
|
-
/**
|
|
15
|
-
* @hidden
|
|
16
|
-
*/
|
|
17
|
-
export let ToolActionButton = /*@__PURE__*/ (() => {
|
|
18
|
-
class ToolActionButton extends ToolAction {
|
|
19
|
-
constructor() {
|
|
20
|
-
super(...arguments);
|
|
21
|
-
this.be = null;
|
|
22
|
-
}
|
|
23
|
-
get_f() {
|
|
24
|
-
return 9;
|
|
25
|
-
}
|
|
26
|
-
g() {
|
|
27
|
-
return null;
|
|
28
|
-
}
|
|
29
|
-
b(a) {
|
|
30
|
-
let b = new ToolActionEventDetail();
|
|
31
|
-
b.a = this;
|
|
32
|
-
b.b = this.f;
|
|
33
|
-
b.d = a;
|
|
34
|
-
return b;
|
|
35
|
-
}
|
|
36
|
-
p(a, b) {
|
|
37
|
-
if (this.ap == null) {
|
|
38
|
-
return NaN;
|
|
39
|
-
}
|
|
40
|
-
let c = 88;
|
|
41
|
-
if (this.be != null) {
|
|
42
|
-
let d = new Size(0);
|
|
43
|
-
d.width = Number.POSITIVE_INFINITY;
|
|
44
|
-
d.height = Number.POSITIVE_INFINITY;
|
|
45
|
-
let e = this.be.ap(d);
|
|
46
|
-
c = e.width;
|
|
47
|
-
}
|
|
48
|
-
return c;
|
|
49
|
-
}
|
|
50
|
-
bg(a, b, c, d, e, f, g) {
|
|
51
|
-
if (a.w == null || EnumUtil.getEnumValue(ToolActionType_$type, a.w) != this.f) {
|
|
52
|
-
a.a0 = b;
|
|
53
|
-
if (g.a == 1) {
|
|
54
|
-
b.d = 0;
|
|
55
|
-
}
|
|
56
|
-
else {
|
|
57
|
-
b.d = 3;
|
|
58
|
-
}
|
|
59
|
-
b.a7(0, 2, 1);
|
|
60
|
-
b.a6(0, 0, 1);
|
|
61
|
-
b.as = new Thickness(1, this.r, this.t, this.s, this.q);
|
|
62
|
-
if (b.av == 0) {
|
|
63
|
-
b.aw(c);
|
|
64
|
-
}
|
|
65
|
-
b.bb(c, 0);
|
|
66
|
-
b.ba(c, 0);
|
|
67
|
-
this.be = c;
|
|
68
|
-
this.be.av = 2;
|
|
69
|
-
this.be.au = runOn(this, this.bf);
|
|
70
|
-
}
|
|
71
|
-
c.aw = this.ap;
|
|
72
|
-
b.h = f.a.j;
|
|
73
|
-
}
|
|
74
|
-
bf(a, b) {
|
|
75
|
-
this.a9(this.b(true), this);
|
|
76
|
-
}
|
|
77
|
-
bb(a, b, c, d) {
|
|
78
|
-
super.bb(a, b, c, d);
|
|
79
|
-
let e = c.b;
|
|
80
|
-
if (e.a0 == null || (e.w == null || EnumUtil.getEnumValue(ToolActionType_$type, e.w) != this.f)) {
|
|
81
|
-
NativeUIComponent.ab(b.l.r(), [7, 1], (f) => {
|
|
82
|
-
let g = f[0];
|
|
83
|
-
let h = f[1];
|
|
84
|
-
e.a0 = g;
|
|
85
|
-
this.bg(e, g, h, a, b, c, d);
|
|
86
|
-
});
|
|
87
|
-
}
|
|
88
|
-
else {
|
|
89
|
-
let f = e.a0;
|
|
90
|
-
let g = f.au(0);
|
|
91
|
-
this.bg(e, f, g, a, b, c, d);
|
|
92
|
-
}
|
|
93
|
-
}
|
|
94
|
-
}
|
|
95
|
-
ToolActionButton.$t = /*@__PURE__*/ markType(ToolActionButton, 'ToolActionButton', ToolAction.$);
|
|
96
|
-
return ToolActionButton;
|
|
97
|
-
})();
|
|
7
|
+
export { ToolActionButton } from "./ToolPanelView_combined";
|