igniteui-webcomponents-layouts 4.0.4 → 4.2.3-alpha
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
|
@@ -5,7 +5,7 @@ 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
7
|
import * as tslib_1 from "tslib";
|
|
8
|
-
import { Base, markType, INotifyPropertyChanged_$type, PropertyChangedEventArgs, EnumUtil, runOn, delegateCombine, typeCast, delegateRemove, fromEn, String_$type
|
|
8
|
+
import { Base, markType, INotifyPropertyChanged_$type, PropertyChangedEventArgs, enumGetBox, EnumUtil, runOn, delegateCombine, typeCast, delegateRemove, fromEn, String_$type } from "igniteui-webcomponents-core";
|
|
9
9
|
import { RenderingContext } from "igniteui-webcomponents-core";
|
|
10
10
|
import { FontInfo } from "igniteui-webcomponents-core";
|
|
11
11
|
import { ListPanel } from "./ListPanel";
|
|
@@ -14,10 +14,11 @@ import { CanvasViewRenderer } from "igniteui-webcomponents-core";
|
|
|
14
14
|
import { Size } from "igniteui-webcomponents-core";
|
|
15
15
|
import { NativeUI } from "igniteui-webcomponents-core";
|
|
16
16
|
import { FontUtil } from "igniteui-webcomponents-core";
|
|
17
|
-
import { Popup } from "
|
|
17
|
+
import { Popup } from "igniteui-webcomponents-core";
|
|
18
18
|
import { NativeUIContent } from "igniteui-webcomponents-core";
|
|
19
19
|
import { NativeUIComponent } from "igniteui-webcomponents-core";
|
|
20
20
|
import { Rect } from "igniteui-webcomponents-core";
|
|
21
|
+
import { BaseControlTheme_$type } from "igniteui-webcomponents-core";
|
|
21
22
|
import { ToolActionType_$type } from "igniteui-webcomponents-core";
|
|
22
23
|
import { ToolCommandArgument } from "igniteui-webcomponents-core";
|
|
23
24
|
import { ToolActionMeasurementContext } from "./ToolActionMeasurementContext";
|
|
@@ -34,6 +35,7 @@ import { ObservableCollection$1 } from "igniteui-webcomponents-core";
|
|
|
34
35
|
import { ToolPanelContentRefreshedEventArgs } from "./ToolPanelContentRefreshedEventArgs";
|
|
35
36
|
import { SRProvider } from "igniteui-webcomponents-core";
|
|
36
37
|
import { Dictionary$2 } from "igniteui-webcomponents-core";
|
|
38
|
+
import { NativeUIXInputsFactory } from "igniteui-webcomponents-inputs";
|
|
37
39
|
import { NativeUIInputsFactory } from "igniteui-webcomponents-core";
|
|
38
40
|
/**
|
|
39
41
|
* @hidden
|
|
@@ -90,7 +92,7 @@ var ToolPanelView = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
90
92
|
b.provideContainer(d);
|
|
91
93
|
var e = this.k.getExternal(b, this.k.rootWrapper, this.k.getExternal(this.c, null, null));
|
|
92
94
|
b.externalListPanel = e;
|
|
93
|
-
this.c.
|
|
95
|
+
this.c.at(b);
|
|
94
96
|
var f = Math.round(a.rootWrapper.width());
|
|
95
97
|
var g = Math.round(a.rootWrapper.height());
|
|
96
98
|
this.k.rootWrapper.setStyleProperty("position", "relative");
|
|
@@ -108,7 +110,8 @@ var ToolPanelView = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
108
110
|
var a = this.k.rootWrapper.width();
|
|
109
111
|
var b = this.k.rootWrapper.height();
|
|
110
112
|
this.ad = new Size(1, a, b);
|
|
111
|
-
|
|
113
|
+
this.c.az(this.ad);
|
|
114
|
+
if (this.c.r != null) {
|
|
112
115
|
}
|
|
113
116
|
};
|
|
114
117
|
ToolPanelView.prototype.ab = function () {
|
|
@@ -118,8 +121,8 @@ var ToolPanelView = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
118
121
|
}
|
|
119
122
|
var b = a.rootWrapper;
|
|
120
123
|
if (null != b) {
|
|
121
|
-
NativeUI.o(b, this.c.
|
|
122
|
-
NativeUI.k(b, this.c.
|
|
124
|
+
NativeUI.o(b, this.c.be);
|
|
125
|
+
NativeUI.k(b, this.c.bb);
|
|
123
126
|
}
|
|
124
127
|
};
|
|
125
128
|
ToolPanelView.prototype.f = function () {
|
|
@@ -135,7 +138,7 @@ var ToolPanelView = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
135
138
|
return this.ad.width;
|
|
136
139
|
};
|
|
137
140
|
ToolPanelView.prototype.j = function (a) {
|
|
138
|
-
this.e = this.c.
|
|
141
|
+
this.e = this.c.q();
|
|
139
142
|
return FontUtil.measureStringWidth(a, this.e, this.g);
|
|
140
143
|
};
|
|
141
144
|
ToolPanelView.prototype.s = function (a, b) {
|
|
@@ -152,7 +155,7 @@ var ToolPanelView = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
152
155
|
ToolPanelView.prototype.b = function (a) {
|
|
153
156
|
var b = new ToolPanel();
|
|
154
157
|
var c = this.k.getExternal(b, this.k.rootWrapper, this.k.getExternal(this.c, null, null));
|
|
155
|
-
var d = a.
|
|
158
|
+
var d = a.x;
|
|
156
159
|
d.appendChild(b.l.k.rootWrapper.getNativeElement());
|
|
157
160
|
return b;
|
|
158
161
|
};
|
|
@@ -177,37 +180,38 @@ var ToolAction = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
177
180
|
function ToolAction() {
|
|
178
181
|
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
179
182
|
_this.e = null;
|
|
183
|
+
_this.ag = null;
|
|
184
|
+
_this.ab = null;
|
|
185
|
+
_this.aa = null;
|
|
186
|
+
_this.w = null;
|
|
187
|
+
_this.f = 0;
|
|
188
|
+
_this.m = DeviceUtils.g(5);
|
|
189
|
+
_this.n = DeviceUtils.g(5);
|
|
190
|
+
_this.l = DeviceUtils.g(2);
|
|
191
|
+
_this.o = DeviceUtils.g(2);
|
|
192
|
+
_this.af = null;
|
|
180
193
|
_this.ae = null;
|
|
181
|
-
_this.z = null;
|
|
182
|
-
_this.y = null;
|
|
183
|
-
_this.u = null;
|
|
184
|
-
_this.k = DeviceUtils.g(5);
|
|
185
|
-
_this.l = DeviceUtils.g(5);
|
|
186
|
-
_this.j = DeviceUtils.g(2);
|
|
187
|
-
_this.m = DeviceUtils.g(2);
|
|
188
194
|
_this.ad = null;
|
|
189
195
|
_this.ac = null;
|
|
190
|
-
_this.ab = null;
|
|
191
|
-
_this.aa = null;
|
|
192
196
|
_this.propertyChanged = null;
|
|
193
197
|
_this.onCommand = null;
|
|
194
198
|
_this.performed = null;
|
|
195
199
|
return _this;
|
|
196
200
|
}
|
|
197
|
-
Object.defineProperty(ToolAction.prototype, "
|
|
201
|
+
Object.defineProperty(ToolAction.prototype, "ar", {
|
|
198
202
|
get: function () {
|
|
199
|
-
if (this.
|
|
200
|
-
return this.
|
|
203
|
+
if (this.au != null) {
|
|
204
|
+
return this.au;
|
|
201
205
|
}
|
|
202
|
-
if (this.
|
|
203
|
-
return this.
|
|
206
|
+
if (this.as != null) {
|
|
207
|
+
return this.a4(this.as);
|
|
204
208
|
}
|
|
205
209
|
return null;
|
|
206
210
|
},
|
|
207
211
|
enumerable: true,
|
|
208
212
|
configurable: true
|
|
209
213
|
});
|
|
210
|
-
ToolAction.prototype.
|
|
214
|
+
ToolAction.prototype.a4 = function (a) {
|
|
211
215
|
return stringReplace(a, " ", "_");
|
|
212
216
|
};
|
|
213
217
|
ToolAction.prototype.b = function (a) {
|
|
@@ -219,241 +223,262 @@ var ToolAction = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
219
223
|
return $ret;
|
|
220
224
|
})());
|
|
221
225
|
};
|
|
222
|
-
ToolAction.prototype.
|
|
226
|
+
ToolAction.prototype.i = function () {
|
|
223
227
|
var _this = this;
|
|
224
228
|
return ((function () {
|
|
225
229
|
var $ret = new ToolCommandArgument();
|
|
226
|
-
$ret.argumentName = _this.
|
|
227
|
-
$ret.value = _this.
|
|
230
|
+
$ret.argumentName = _this.a2();
|
|
231
|
+
$ret.value = _this.y();
|
|
228
232
|
return $ret;
|
|
229
233
|
})());
|
|
230
234
|
};
|
|
231
|
-
ToolAction.prototype.
|
|
232
|
-
if (this.
|
|
233
|
-
return this.
|
|
235
|
+
ToolAction.prototype.a2 = function () {
|
|
236
|
+
if (this.ai != null) {
|
|
237
|
+
return this.ai;
|
|
234
238
|
}
|
|
235
|
-
return this.
|
|
239
|
+
return this.ar != null ? this.ar : "Unknown";
|
|
236
240
|
};
|
|
237
|
-
ToolAction.prototype.
|
|
238
|
-
if (this.
|
|
239
|
-
return this.
|
|
241
|
+
ToolAction.prototype.y = function () {
|
|
242
|
+
if (this.x != null) {
|
|
243
|
+
return this.x;
|
|
240
244
|
}
|
|
241
|
-
return this.
|
|
245
|
+
return this.z();
|
|
242
246
|
};
|
|
243
|
-
ToolAction.prototype.
|
|
247
|
+
ToolAction.prototype.z = function () {
|
|
244
248
|
return null;
|
|
245
249
|
};
|
|
246
|
-
Object.defineProperty(ToolAction.prototype, "
|
|
250
|
+
Object.defineProperty(ToolAction.prototype, "a0", {
|
|
247
251
|
get: function () {
|
|
248
|
-
return this.
|
|
252
|
+
return this.ag;
|
|
249
253
|
},
|
|
250
254
|
set: function (a) {
|
|
251
|
-
var b = this.
|
|
252
|
-
this.
|
|
253
|
-
if (b != this.
|
|
254
|
-
this.
|
|
255
|
+
var b = this.ag;
|
|
256
|
+
this.ag = a;
|
|
257
|
+
if (b != this.ag) {
|
|
258
|
+
this.bb("ParentId", b, this.ag);
|
|
255
259
|
}
|
|
256
260
|
},
|
|
257
261
|
enumerable: true,
|
|
258
262
|
configurable: true
|
|
259
263
|
});
|
|
260
|
-
ToolAction.prototype.
|
|
261
|
-
if (this.
|
|
262
|
-
return this.
|
|
264
|
+
ToolAction.prototype.a3 = function () {
|
|
265
|
+
if (this.al != null) {
|
|
266
|
+
return this.al;
|
|
263
267
|
}
|
|
264
|
-
return this.
|
|
268
|
+
return this.ar;
|
|
265
269
|
};
|
|
270
|
+
Object.defineProperty(ToolAction.prototype, "al", {
|
|
271
|
+
get: function () {
|
|
272
|
+
return this.ab;
|
|
273
|
+
},
|
|
274
|
+
set: function (a) {
|
|
275
|
+
var b = this.ab;
|
|
276
|
+
this.ab = a;
|
|
277
|
+
if (b != this.ab) {
|
|
278
|
+
this.bb("CommandId", b, this.ab);
|
|
279
|
+
}
|
|
280
|
+
},
|
|
281
|
+
enumerable: true,
|
|
282
|
+
configurable: true
|
|
283
|
+
});
|
|
266
284
|
Object.defineProperty(ToolAction.prototype, "ai", {
|
|
267
285
|
get: function () {
|
|
268
|
-
return this.
|
|
286
|
+
return this.aa;
|
|
269
287
|
},
|
|
270
288
|
set: function (a) {
|
|
271
|
-
var b = this.
|
|
272
|
-
this.
|
|
273
|
-
if (b != this.
|
|
274
|
-
this.
|
|
289
|
+
var b = this.aa;
|
|
290
|
+
this.aa = a;
|
|
291
|
+
if (b != this.aa) {
|
|
292
|
+
this.bb("CommandArgument", b, this.aa);
|
|
275
293
|
}
|
|
276
294
|
},
|
|
277
295
|
enumerable: true,
|
|
278
296
|
configurable: true
|
|
279
297
|
});
|
|
280
|
-
Object.defineProperty(ToolAction.prototype, "
|
|
298
|
+
Object.defineProperty(ToolAction.prototype, "x", {
|
|
281
299
|
get: function () {
|
|
282
|
-
return this.
|
|
300
|
+
return this.w;
|
|
283
301
|
},
|
|
284
302
|
set: function (a) {
|
|
285
|
-
var b = this.
|
|
286
|
-
this.
|
|
287
|
-
if (b != this.
|
|
288
|
-
this.
|
|
303
|
+
var b = this.w;
|
|
304
|
+
this.w = a;
|
|
305
|
+
if (b != this.w) {
|
|
306
|
+
this.bb("CommandArgumentValue", b, this.w);
|
|
289
307
|
}
|
|
290
308
|
},
|
|
291
309
|
enumerable: true,
|
|
292
310
|
configurable: true
|
|
293
311
|
});
|
|
294
|
-
Object.defineProperty(ToolAction.prototype, "
|
|
312
|
+
Object.defineProperty(ToolAction.prototype, "g", {
|
|
295
313
|
get: function () {
|
|
296
|
-
return this.
|
|
314
|
+
return this.f;
|
|
297
315
|
},
|
|
298
316
|
set: function (a) {
|
|
299
|
-
var b = this.
|
|
300
|
-
this.
|
|
301
|
-
if (b != this.
|
|
302
|
-
this.
|
|
317
|
+
var b = this.f;
|
|
318
|
+
this.f = a;
|
|
319
|
+
if (b != this.f) {
|
|
320
|
+
this.bb("BaseTheme", enumGetBox(BaseControlTheme_$type, b), enumGetBox(BaseControlTheme_$type, a));
|
|
303
321
|
}
|
|
304
322
|
},
|
|
305
323
|
enumerable: true,
|
|
306
324
|
configurable: true
|
|
307
325
|
});
|
|
308
|
-
Object.defineProperty(ToolAction.prototype, "
|
|
326
|
+
Object.defineProperty(ToolAction.prototype, "t", {
|
|
309
327
|
get: function () {
|
|
310
|
-
return this.
|
|
328
|
+
return this.m;
|
|
311
329
|
},
|
|
312
330
|
set: function (a) {
|
|
313
|
-
var b = this.
|
|
314
|
-
this.
|
|
315
|
-
if (b != this.
|
|
316
|
-
this.
|
|
331
|
+
var b = this.m;
|
|
332
|
+
this.m = a;
|
|
333
|
+
if (b != this.m) {
|
|
334
|
+
this.bb("PaddingLeft", b, this.m);
|
|
317
335
|
}
|
|
318
336
|
},
|
|
319
337
|
enumerable: true,
|
|
320
338
|
configurable: true
|
|
321
339
|
});
|
|
322
|
-
Object.defineProperty(ToolAction.prototype, "
|
|
340
|
+
Object.defineProperty(ToolAction.prototype, "u", {
|
|
323
341
|
get: function () {
|
|
324
|
-
return this.
|
|
342
|
+
return this.n;
|
|
325
343
|
},
|
|
326
344
|
set: function (a) {
|
|
327
|
-
var b = this.
|
|
328
|
-
this.
|
|
329
|
-
if (b != this.
|
|
330
|
-
this.
|
|
345
|
+
var b = this.n;
|
|
346
|
+
this.n = a;
|
|
347
|
+
if (b != this.n) {
|
|
348
|
+
this.bb("PaddingRight", b, this.n);
|
|
331
349
|
}
|
|
332
350
|
},
|
|
333
351
|
enumerable: true,
|
|
334
352
|
configurable: true
|
|
335
353
|
});
|
|
336
|
-
Object.defineProperty(ToolAction.prototype, "
|
|
354
|
+
Object.defineProperty(ToolAction.prototype, "s", {
|
|
337
355
|
get: function () {
|
|
338
|
-
return this.
|
|
356
|
+
return this.l;
|
|
339
357
|
},
|
|
340
358
|
set: function (a) {
|
|
341
|
-
var b = this.
|
|
342
|
-
this.
|
|
343
|
-
if (b != this.
|
|
344
|
-
this.
|
|
359
|
+
var b = this.l;
|
|
360
|
+
this.l = a;
|
|
361
|
+
if (b != this.l) {
|
|
362
|
+
this.bb("PaddingBottom", b, this.l);
|
|
345
363
|
}
|
|
346
364
|
},
|
|
347
365
|
enumerable: true,
|
|
348
366
|
configurable: true
|
|
349
367
|
});
|
|
350
|
-
Object.defineProperty(ToolAction.prototype, "
|
|
368
|
+
Object.defineProperty(ToolAction.prototype, "v", {
|
|
351
369
|
get: function () {
|
|
352
|
-
return this.
|
|
370
|
+
return this.o;
|
|
353
371
|
},
|
|
354
372
|
set: function (a) {
|
|
355
|
-
var b = this.
|
|
356
|
-
this.
|
|
357
|
-
if (b != this.
|
|
358
|
-
this.
|
|
373
|
+
var b = this.o;
|
|
374
|
+
this.o = a;
|
|
375
|
+
if (b != this.o) {
|
|
376
|
+
this.bb("PaddingTop", b, this.o);
|
|
359
377
|
}
|
|
360
378
|
},
|
|
361
379
|
enumerable: true,
|
|
362
380
|
configurable: true
|
|
363
381
|
});
|
|
364
|
-
Object.defineProperty(ToolAction.prototype, "
|
|
382
|
+
Object.defineProperty(ToolAction.prototype, "k", {
|
|
365
383
|
get: function () {
|
|
366
|
-
return this.
|
|
384
|
+
return this.a0 != null;
|
|
367
385
|
},
|
|
368
386
|
enumerable: true,
|
|
369
387
|
configurable: true
|
|
370
388
|
});
|
|
371
|
-
Object.defineProperty(ToolAction.prototype, "
|
|
389
|
+
Object.defineProperty(ToolAction.prototype, "au", {
|
|
372
390
|
get: function () {
|
|
373
|
-
return this.
|
|
391
|
+
return this.af;
|
|
374
392
|
},
|
|
375
393
|
set: function (a) {
|
|
376
|
-
var b = this.
|
|
377
|
-
this.
|
|
378
|
-
if (b != this.
|
|
379
|
-
this.
|
|
394
|
+
var b = this.af;
|
|
395
|
+
this.af = a;
|
|
396
|
+
if (b != this.af) {
|
|
397
|
+
this.bb("Name", b, this.af);
|
|
380
398
|
}
|
|
381
399
|
},
|
|
382
400
|
enumerable: true,
|
|
383
401
|
configurable: true
|
|
384
402
|
});
|
|
385
|
-
Object.defineProperty(ToolAction.prototype, "
|
|
403
|
+
Object.defineProperty(ToolAction.prototype, "as", {
|
|
386
404
|
get: function () {
|
|
387
|
-
return this.
|
|
405
|
+
return this.ae;
|
|
388
406
|
},
|
|
389
407
|
set: function (a) {
|
|
390
|
-
var b = this.
|
|
391
|
-
this.
|
|
392
|
-
if (b != this.
|
|
393
|
-
this.
|
|
408
|
+
var b = this.ae;
|
|
409
|
+
this.ae = a;
|
|
410
|
+
if (b != this.ae) {
|
|
411
|
+
this.bb("Label", b, this.ae);
|
|
394
412
|
}
|
|
395
413
|
},
|
|
396
414
|
enumerable: true,
|
|
397
415
|
configurable: true
|
|
398
416
|
});
|
|
399
|
-
Object.defineProperty(ToolAction.prototype, "
|
|
417
|
+
Object.defineProperty(ToolAction.prototype, "ap", {
|
|
400
418
|
get: function () {
|
|
401
|
-
return this.
|
|
419
|
+
return this.ad;
|
|
402
420
|
},
|
|
403
421
|
set: function (a) {
|
|
404
|
-
var b = this.
|
|
405
|
-
this.
|
|
406
|
-
if (b != this.
|
|
407
|
-
this.
|
|
422
|
+
var b = this.ad;
|
|
423
|
+
this.ad = a;
|
|
424
|
+
if (b != this.ad) {
|
|
425
|
+
this.bb("IconName", b, this.ad);
|
|
408
426
|
}
|
|
409
427
|
},
|
|
410
428
|
enumerable: true,
|
|
411
429
|
configurable: true
|
|
412
430
|
});
|
|
413
|
-
Object.defineProperty(ToolAction.prototype, "
|
|
431
|
+
Object.defineProperty(ToolAction.prototype, "an", {
|
|
414
432
|
get: function () {
|
|
415
|
-
return this.
|
|
433
|
+
return this.ac;
|
|
416
434
|
},
|
|
417
435
|
set: function (a) {
|
|
418
|
-
var b = this.
|
|
419
|
-
this.
|
|
420
|
-
if (b != this.
|
|
421
|
-
this.
|
|
436
|
+
var b = this.ac;
|
|
437
|
+
this.ac = a;
|
|
438
|
+
if (b != this.ac) {
|
|
439
|
+
this.bb("IconCollectionName", b, this.ac);
|
|
422
440
|
}
|
|
423
441
|
},
|
|
424
442
|
enumerable: true,
|
|
425
443
|
configurable: true
|
|
426
444
|
});
|
|
427
|
-
ToolAction.prototype.
|
|
445
|
+
ToolAction.prototype.bb = function (a, b, c) {
|
|
428
446
|
if (this.propertyChanged != null) {
|
|
429
447
|
this.propertyChanged(this, new PropertyChangedEventArgs(a));
|
|
430
448
|
}
|
|
431
|
-
this.
|
|
449
|
+
this.bf(a, b, c);
|
|
432
450
|
};
|
|
433
|
-
ToolAction.prototype.
|
|
451
|
+
ToolAction.prototype.get_h = function () {
|
|
434
452
|
return 0;
|
|
435
453
|
};
|
|
436
|
-
Object.defineProperty(ToolAction.prototype, "
|
|
454
|
+
Object.defineProperty(ToolAction.prototype, "h", {
|
|
437
455
|
get: function () {
|
|
438
|
-
return this.
|
|
456
|
+
return this.get_h();
|
|
439
457
|
},
|
|
440
458
|
enumerable: true,
|
|
441
459
|
configurable: true
|
|
442
460
|
});
|
|
443
|
-
ToolAction.prototype.
|
|
461
|
+
ToolAction.prototype.bf = function (a, b, c) {
|
|
462
|
+
switch (a) {
|
|
463
|
+
case "BaseTheme":
|
|
464
|
+
this.bh();
|
|
465
|
+
break;
|
|
466
|
+
}
|
|
444
467
|
};
|
|
445
|
-
ToolAction.prototype.
|
|
446
|
-
this.bb(a, b, c, d);
|
|
468
|
+
ToolAction.prototype.bh = function () {
|
|
447
469
|
};
|
|
448
|
-
ToolAction.prototype.
|
|
470
|
+
ToolAction.prototype.bd = function (a, b, c, d) {
|
|
471
|
+
this.be(a, b, c, d);
|
|
449
472
|
};
|
|
450
|
-
ToolAction.prototype.
|
|
451
|
-
this.a5(a, b);
|
|
473
|
+
ToolAction.prototype.be = function (a, b, c, d) {
|
|
452
474
|
};
|
|
453
|
-
ToolAction.prototype.
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
475
|
+
ToolAction.prototype.a7 = function (a, b) {
|
|
476
|
+
this.a8(a, b);
|
|
477
|
+
};
|
|
478
|
+
ToolAction.prototype.a8 = function (a, b) {
|
|
479
|
+
b.e = this.p(a, b);
|
|
480
|
+
b.g = this.r(a, b);
|
|
481
|
+
b.f = this.q(a, b);
|
|
457
482
|
if (b.a == 1) {
|
|
458
483
|
var c = 0;
|
|
459
484
|
if (!isNaN_(b.e)) {
|
|
@@ -465,36 +490,36 @@ var ToolAction = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
465
490
|
if (!isNaN_(b.f)) {
|
|
466
491
|
c += b.f;
|
|
467
492
|
}
|
|
468
|
-
c += (this.
|
|
493
|
+
c += (this.t + this.u);
|
|
469
494
|
b.d = c;
|
|
470
495
|
}
|
|
471
496
|
};
|
|
472
|
-
ToolAction.prototype.
|
|
497
|
+
ToolAction.prototype.q = function (a, b) {
|
|
473
498
|
return NaN;
|
|
474
499
|
};
|
|
475
|
-
ToolAction.prototype.
|
|
476
|
-
if (this.
|
|
500
|
+
ToolAction.prototype.r = function (a, b) {
|
|
501
|
+
if (this.as == null) {
|
|
477
502
|
return NaN;
|
|
478
503
|
}
|
|
479
|
-
var c = a.l.j(this.
|
|
504
|
+
var c = a.l.j(this.as);
|
|
480
505
|
return c;
|
|
481
506
|
};
|
|
482
|
-
ToolAction.prototype.
|
|
507
|
+
ToolAction.prototype.p = function (a, b) {
|
|
483
508
|
return NaN;
|
|
484
509
|
};
|
|
485
|
-
ToolAction.prototype.
|
|
486
|
-
this.
|
|
487
|
-
if (this.
|
|
488
|
-
var c = this.e.c(this.
|
|
510
|
+
ToolAction.prototype.bc = function (a, b) {
|
|
511
|
+
this.bg();
|
|
512
|
+
if (this.k) {
|
|
513
|
+
var c = this.e.c(this.a0);
|
|
489
514
|
if (c != null) {
|
|
490
|
-
c.
|
|
515
|
+
c.ba(this);
|
|
491
516
|
}
|
|
492
517
|
}
|
|
493
518
|
else {
|
|
494
|
-
if (this.e.
|
|
519
|
+
if (this.e.w(this)) {
|
|
495
520
|
if (this.performed != null) {
|
|
496
521
|
var d_1 = new ToolActionEventDetailCollection();
|
|
497
|
-
this.
|
|
522
|
+
this.a6(this, d_1, b);
|
|
498
523
|
this.performed(this, ((function () {
|
|
499
524
|
var $ret = new ToolActionPerformedEventArgs();
|
|
500
525
|
$ret.c = true;
|
|
@@ -515,15 +540,15 @@ var ToolAction = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
515
540
|
}
|
|
516
541
|
}
|
|
517
542
|
};
|
|
518
|
-
ToolAction.prototype.
|
|
519
|
-
var a = this.
|
|
543
|
+
ToolAction.prototype.bg = function () {
|
|
544
|
+
var a = this.a3();
|
|
520
545
|
if (a == null) {
|
|
521
546
|
return;
|
|
522
547
|
}
|
|
523
548
|
var b = new ToolCommand();
|
|
524
549
|
b.commandId = a;
|
|
525
550
|
var c = new List$1(ToolCommandArgument.$, 0);
|
|
526
|
-
this.
|
|
551
|
+
this.a5(this, c);
|
|
527
552
|
b.argumentsList = c.toArray();
|
|
528
553
|
if (this.onCommand != null) {
|
|
529
554
|
this.onCommand(this, ((function () {
|
|
@@ -533,44 +558,44 @@ var ToolAction = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
533
558
|
})()));
|
|
534
559
|
}
|
|
535
560
|
if (this.e != null) {
|
|
536
|
-
this.e.
|
|
561
|
+
this.e.a1(this, b);
|
|
537
562
|
}
|
|
538
563
|
};
|
|
539
|
-
ToolAction.prototype.
|
|
540
|
-
var c = a.
|
|
564
|
+
ToolAction.prototype.a5 = function (a, b) {
|
|
565
|
+
var c = a.i();
|
|
541
566
|
if (c != null) {
|
|
542
567
|
b.add(c);
|
|
543
568
|
}
|
|
544
|
-
var d = this.e.
|
|
569
|
+
var d = this.e.aa(a);
|
|
545
570
|
if (d != null) {
|
|
546
571
|
for (var e = 0; e < d.count; e++) {
|
|
547
|
-
if (d._inner[e].
|
|
548
|
-
this.
|
|
572
|
+
if (d._inner[e].j()) {
|
|
573
|
+
this.a5(d._inner[e], b);
|
|
549
574
|
}
|
|
550
575
|
}
|
|
551
576
|
}
|
|
552
577
|
};
|
|
553
|
-
ToolAction.prototype.
|
|
578
|
+
ToolAction.prototype.j = function () {
|
|
554
579
|
return true;
|
|
555
580
|
};
|
|
556
|
-
ToolAction.prototype.
|
|
557
|
-
if (this.
|
|
558
|
-
var b = this.e.c(this.
|
|
581
|
+
ToolAction.prototype.ba = function (a) {
|
|
582
|
+
if (this.k) {
|
|
583
|
+
var b = this.e.c(this.a0);
|
|
559
584
|
if (b != null) {
|
|
560
|
-
b.
|
|
585
|
+
b.ba(a);
|
|
561
586
|
}
|
|
562
587
|
}
|
|
563
588
|
else {
|
|
564
|
-
this.
|
|
589
|
+
this.bc(this.b(false), a);
|
|
565
590
|
}
|
|
566
591
|
};
|
|
567
|
-
ToolAction.prototype.
|
|
592
|
+
ToolAction.prototype.a6 = function (a, b, c) {
|
|
568
593
|
var d = a.b(a == c);
|
|
569
594
|
b.add(d);
|
|
570
|
-
var e = this.e.
|
|
595
|
+
var e = this.e.aa(a);
|
|
571
596
|
if (e != null) {
|
|
572
597
|
for (var f = 0; f < e.count; f++) {
|
|
573
|
-
this.
|
|
598
|
+
this.a6(e._inner[f], b, c);
|
|
574
599
|
}
|
|
575
600
|
}
|
|
576
601
|
};
|
|
@@ -601,29 +626,115 @@ var ToolAction = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
601
626
|
case 8:
|
|
602
627
|
b = new ToolActionIconMenu();
|
|
603
628
|
break;
|
|
629
|
+
case 9:
|
|
630
|
+
b = new ToolActionButton();
|
|
631
|
+
break;
|
|
604
632
|
case 0: return null;
|
|
605
633
|
}
|
|
606
|
-
b.
|
|
634
|
+
b.a9(a);
|
|
607
635
|
return b;
|
|
608
636
|
};
|
|
609
|
-
ToolAction.prototype.
|
|
610
|
-
this.
|
|
611
|
-
this.
|
|
612
|
-
this.
|
|
613
|
-
this.
|
|
614
|
-
this.
|
|
615
|
-
this.
|
|
616
|
-
this.
|
|
617
|
-
this.
|
|
618
|
-
this.
|
|
619
|
-
this.
|
|
620
|
-
this.
|
|
621
|
-
this.
|
|
637
|
+
ToolAction.prototype.a9 = function (a) {
|
|
638
|
+
this.au = a.name;
|
|
639
|
+
this.as = a.label;
|
|
640
|
+
this.ai = a.commandArgument;
|
|
641
|
+
this.x = a.commandArgumentValue;
|
|
642
|
+
this.al = a.commandId;
|
|
643
|
+
this.ap = a.iconName;
|
|
644
|
+
this.an = a.iconCollectionName;
|
|
645
|
+
this.t = a.paddingLeft;
|
|
646
|
+
this.u = a.paddingRight;
|
|
647
|
+
this.v = a.paddingTop;
|
|
648
|
+
this.s = a.paddingBottom;
|
|
649
|
+
this.a0 = a.parentId;
|
|
622
650
|
};
|
|
623
651
|
ToolAction.$t = markType(ToolAction, 'ToolAction', Base.$, [INotifyPropertyChanged_$type]);
|
|
624
652
|
return ToolAction;
|
|
625
653
|
}(Base));
|
|
626
654
|
export { ToolAction };
|
|
655
|
+
/**
|
|
656
|
+
* @hidden
|
|
657
|
+
*/
|
|
658
|
+
var ToolActionButton = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
659
|
+
tslib_1.__extends(ToolActionButton, _super);
|
|
660
|
+
function ToolActionButton() {
|
|
661
|
+
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
662
|
+
_this.bi = null;
|
|
663
|
+
return _this;
|
|
664
|
+
}
|
|
665
|
+
ToolActionButton.prototype.get_h = function () {
|
|
666
|
+
return 9;
|
|
667
|
+
};
|
|
668
|
+
ToolActionButton.prototype.i = function () {
|
|
669
|
+
return null;
|
|
670
|
+
};
|
|
671
|
+
ToolActionButton.prototype.b = function (a) {
|
|
672
|
+
var b = new ToolActionEventDetail();
|
|
673
|
+
b.a = this;
|
|
674
|
+
b.b = this.h;
|
|
675
|
+
b.d = a;
|
|
676
|
+
return b;
|
|
677
|
+
};
|
|
678
|
+
ToolActionButton.prototype.r = function (a, b) {
|
|
679
|
+
return NaN;
|
|
680
|
+
};
|
|
681
|
+
ToolActionButton.prototype.q = function (a, b) {
|
|
682
|
+
return 88;
|
|
683
|
+
};
|
|
684
|
+
ToolActionButton.prototype.bk = function (a, b, c, d, e, f, g) {
|
|
685
|
+
if (a.y == null || EnumUtil.getEnumValue(ToolActionType_$type, a.y) != this.h) {
|
|
686
|
+
a.a6 = b;
|
|
687
|
+
if (g.a == 1) {
|
|
688
|
+
b.f = 0;
|
|
689
|
+
}
|
|
690
|
+
else {
|
|
691
|
+
b.f = 3;
|
|
692
|
+
}
|
|
693
|
+
b.bd(0, 2, 1);
|
|
694
|
+
b.bc(0, 0, 1);
|
|
695
|
+
b.ax = new Thickness(1, this.t, this.v, this.u, this.s);
|
|
696
|
+
if (b.a0 == 0) {
|
|
697
|
+
b.a1(c);
|
|
698
|
+
}
|
|
699
|
+
b.bh(c, 0);
|
|
700
|
+
b.bg(c, 0);
|
|
701
|
+
this.bi = c;
|
|
702
|
+
this.bi.a0 = 2;
|
|
703
|
+
this.bi.az = runOn(this, this.bj);
|
|
704
|
+
}
|
|
705
|
+
c.a1 = this.as;
|
|
706
|
+
b.j = f.a.j;
|
|
707
|
+
};
|
|
708
|
+
ToolActionButton.prototype.bj = function (a, b) {
|
|
709
|
+
this.bc(this.b(true), this);
|
|
710
|
+
};
|
|
711
|
+
ToolActionButton.prototype.be = function (a, b, c, d) {
|
|
712
|
+
var _this = this;
|
|
713
|
+
_super.prototype.be.call(this, a, b, c, d);
|
|
714
|
+
var e = c.b;
|
|
715
|
+
if (e.a6 == null || (e.y == null || EnumUtil.getEnumValue(ToolActionType_$type, e.y) != this.h)) {
|
|
716
|
+
var f = [7, 1];
|
|
717
|
+
var g = [0, 0];
|
|
718
|
+
if (this.g >= 3 && this.g <= 6) {
|
|
719
|
+
g = [0, 2];
|
|
720
|
+
}
|
|
721
|
+
NativeUIComponent.ae(b.l.r(), f, g, function (h) {
|
|
722
|
+
var i = h[0];
|
|
723
|
+
var j = h[1];
|
|
724
|
+
e.a6 = i;
|
|
725
|
+
_this.bk(e, i, j, a, b, c, d);
|
|
726
|
+
});
|
|
727
|
+
}
|
|
728
|
+
else {
|
|
729
|
+
var h = e.a6;
|
|
730
|
+
var i = h.az(0);
|
|
731
|
+
this.bk(e, h, i, a, b, c, d);
|
|
732
|
+
}
|
|
733
|
+
};
|
|
734
|
+
ToolActionButton.$t = markType(ToolActionButton, 'ToolActionButton', ToolAction.$);
|
|
735
|
+
return ToolActionButton;
|
|
736
|
+
}(ToolAction));
|
|
737
|
+
export { ToolActionButton };
|
|
627
738
|
/**
|
|
628
739
|
* @hidden
|
|
629
740
|
*/
|
|
@@ -632,55 +743,55 @@ var ToolActionLabel = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
632
743
|
function ToolActionLabel() {
|
|
633
744
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
634
745
|
}
|
|
635
|
-
ToolActionLabel.prototype.
|
|
746
|
+
ToolActionLabel.prototype.get_h = function () {
|
|
636
747
|
return 4;
|
|
637
748
|
};
|
|
638
|
-
ToolActionLabel.prototype.
|
|
639
|
-
if (a.
|
|
640
|
-
a.
|
|
749
|
+
ToolActionLabel.prototype.bj = function (a, b, c, d, e, f, g) {
|
|
750
|
+
if (a.y == null || EnumUtil.getEnumValue(ToolActionType_$type, a.y) != this.h) {
|
|
751
|
+
a.a6 = b;
|
|
641
752
|
if (g.a == 1) {
|
|
642
|
-
b.
|
|
753
|
+
b.f = 0;
|
|
643
754
|
}
|
|
644
755
|
else {
|
|
645
|
-
b.
|
|
756
|
+
b.f = 3;
|
|
646
757
|
}
|
|
647
|
-
b.
|
|
648
|
-
b.
|
|
649
|
-
b.
|
|
650
|
-
b.
|
|
651
|
-
if (b.
|
|
652
|
-
b.
|
|
758
|
+
b.bd(0, 2, 1);
|
|
759
|
+
b.bc(0, 1, isNaN_(g.e) ? 0 : g.e);
|
|
760
|
+
b.bc(1, 1, isNaN_(g.g) ? 0 : g.g);
|
|
761
|
+
b.ax = new Thickness(1, this.t, this.v, this.u, this.s);
|
|
762
|
+
if (b.a0 == 0) {
|
|
763
|
+
b.a1(c);
|
|
653
764
|
}
|
|
654
|
-
b.
|
|
655
|
-
b.
|
|
656
|
-
c.
|
|
657
|
-
b.
|
|
765
|
+
b.bh(c, 0);
|
|
766
|
+
b.bg(c, 1);
|
|
767
|
+
c.g = 1;
|
|
768
|
+
b.a7 = runOn(this, this.bi);
|
|
658
769
|
}
|
|
659
|
-
b.
|
|
660
|
-
b.
|
|
661
|
-
c.
|
|
662
|
-
c.
|
|
770
|
+
b.j = f.a.j;
|
|
771
|
+
b.ao = BrushUtil.g(0, 0, 0, 0);
|
|
772
|
+
c.az = this.as;
|
|
773
|
+
c.aq = BrushUtil.g(255, 20, 20, 20);
|
|
663
774
|
};
|
|
664
|
-
ToolActionLabel.prototype.
|
|
665
|
-
this.
|
|
775
|
+
ToolActionLabel.prototype.bi = function (a, b) {
|
|
776
|
+
this.bc(this.b(false), this);
|
|
666
777
|
};
|
|
667
|
-
ToolActionLabel.prototype.
|
|
778
|
+
ToolActionLabel.prototype.be = function (a, b, c, d) {
|
|
668
779
|
var _this = this;
|
|
669
|
-
_super.prototype.
|
|
780
|
+
_super.prototype.be.call(this, a, b, c, d);
|
|
670
781
|
var e = c.b;
|
|
671
|
-
if (e.
|
|
672
|
-
NativeUIComponent.
|
|
782
|
+
if (e.a6 == null || (e.y == null || EnumUtil.getEnumValue(ToolActionType_$type, e.y) != this.h)) {
|
|
783
|
+
NativeUIComponent.af(b.l.r(), [7, 3], function (f) {
|
|
673
784
|
var g = f[0];
|
|
674
785
|
var h = f[1];
|
|
675
|
-
e.
|
|
676
|
-
_this.
|
|
786
|
+
e.a6 = g;
|
|
787
|
+
_this.bj(e, g, h, a, b, c, d);
|
|
677
788
|
});
|
|
678
789
|
;
|
|
679
790
|
}
|
|
680
791
|
else {
|
|
681
|
-
var f = e.
|
|
682
|
-
var g = f.
|
|
683
|
-
this.
|
|
792
|
+
var f = e.a6;
|
|
793
|
+
var g = f.az(0);
|
|
794
|
+
this.bj(e, f, g, a, b, c, d);
|
|
684
795
|
}
|
|
685
796
|
};
|
|
686
797
|
ToolActionLabel.$t = markType(ToolActionLabel, 'ToolActionLabel', ToolAction.$);
|
|
@@ -694,89 +805,109 @@ var ToolActionRadio = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
694
805
|
tslib_1.__extends(ToolActionRadio, _super);
|
|
695
806
|
function ToolActionRadio() {
|
|
696
807
|
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
697
|
-
_this.
|
|
698
|
-
_this.
|
|
808
|
+
_this.bj = "channel_1";
|
|
809
|
+
_this.bi = null;
|
|
699
810
|
return _this;
|
|
700
811
|
}
|
|
701
|
-
ToolActionRadio.prototype.
|
|
812
|
+
ToolActionRadio.prototype.get_h = function () {
|
|
702
813
|
return 6;
|
|
703
814
|
};
|
|
815
|
+
Object.defineProperty(ToolActionRadio.prototype, "bk", {
|
|
816
|
+
get: function () {
|
|
817
|
+
return this.bj;
|
|
818
|
+
},
|
|
819
|
+
set: function (a) {
|
|
820
|
+
this.bj = a;
|
|
821
|
+
},
|
|
822
|
+
enumerable: true,
|
|
823
|
+
configurable: true
|
|
824
|
+
});
|
|
704
825
|
ToolActionRadio.prototype.b = function (a) {
|
|
705
826
|
var b = new ToolActionEventDetail();
|
|
706
827
|
b.a = this;
|
|
707
|
-
b.b = this.
|
|
828
|
+
b.b = this.h;
|
|
708
829
|
b.d = a;
|
|
709
|
-
if (this.
|
|
710
|
-
b.c = this.
|
|
830
|
+
if (this.bi != null) {
|
|
831
|
+
b.c = this.bi.a1;
|
|
711
832
|
}
|
|
712
833
|
return b;
|
|
713
834
|
};
|
|
714
|
-
ToolActionRadio.prototype.
|
|
715
|
-
return this.
|
|
835
|
+
ToolActionRadio.prototype.z = function () {
|
|
836
|
+
return this.bi.a1;
|
|
716
837
|
};
|
|
717
|
-
ToolActionRadio.prototype.
|
|
718
|
-
if (this.
|
|
719
|
-
this.
|
|
838
|
+
ToolActionRadio.prototype.bl = function () {
|
|
839
|
+
if (this.bi != null) {
|
|
840
|
+
this.bi.a1 = false;
|
|
720
841
|
}
|
|
721
842
|
};
|
|
722
|
-
ToolActionRadio.prototype.
|
|
843
|
+
ToolActionRadio.prototype.q = function (a, b) {
|
|
723
844
|
return 30;
|
|
724
845
|
};
|
|
725
|
-
ToolActionRadio.prototype.
|
|
726
|
-
if (
|
|
727
|
-
|
|
846
|
+
ToolActionRadio.prototype.bh = function () {
|
|
847
|
+
if (this.bi != null) {
|
|
848
|
+
this.bi.c = this.g;
|
|
849
|
+
}
|
|
850
|
+
};
|
|
851
|
+
ToolActionRadio.prototype.bn = function (a, b, c, d, e, f, g, h) {
|
|
852
|
+
if (a.y == null || EnumUtil.getEnumValue(ToolActionType_$type, a.y) != this.h) {
|
|
853
|
+
a.a6 = b;
|
|
728
854
|
if (h.a == 1) {
|
|
729
|
-
b.
|
|
855
|
+
b.f = 0;
|
|
730
856
|
}
|
|
731
857
|
else {
|
|
732
|
-
b.
|
|
733
|
-
}
|
|
734
|
-
b.
|
|
735
|
-
b.
|
|
736
|
-
b.
|
|
737
|
-
b.
|
|
738
|
-
b.
|
|
739
|
-
if (b.
|
|
740
|
-
b.
|
|
741
|
-
b.
|
|
742
|
-
}
|
|
743
|
-
b.
|
|
744
|
-
b.
|
|
745
|
-
b.
|
|
746
|
-
b.
|
|
747
|
-
this.
|
|
748
|
-
d.
|
|
749
|
-
d.
|
|
750
|
-
d.
|
|
751
|
-
d.
|
|
752
|
-
d.
|
|
753
|
-
c.
|
|
754
|
-
}
|
|
755
|
-
b.
|
|
756
|
-
c.
|
|
757
|
-
c.
|
|
758
|
-
};
|
|
759
|
-
ToolActionRadio.prototype.
|
|
760
|
-
this.
|
|
761
|
-
};
|
|
762
|
-
ToolActionRadio.prototype.
|
|
858
|
+
b.f = 3;
|
|
859
|
+
}
|
|
860
|
+
b.bd(0, 2, 1);
|
|
861
|
+
b.bc(0, 1, isNaN_(h.e) ? 0 : h.e);
|
|
862
|
+
b.bc(1, 1, isNaN_(h.g) ? 0 : h.g);
|
|
863
|
+
b.bc(2, 2, 1);
|
|
864
|
+
b.ax = new Thickness(1, this.t, this.v, this.u, this.s);
|
|
865
|
+
if (b.a0 == 0) {
|
|
866
|
+
b.a1(c);
|
|
867
|
+
b.a1(d);
|
|
868
|
+
}
|
|
869
|
+
b.bh(c, 0);
|
|
870
|
+
b.bg(c, 1);
|
|
871
|
+
b.bh(d, 0);
|
|
872
|
+
b.bg(d, 2);
|
|
873
|
+
this.bi = d;
|
|
874
|
+
d.a2 = 25;
|
|
875
|
+
d.a0 = true;
|
|
876
|
+
d.f = 2;
|
|
877
|
+
d.g = 1;
|
|
878
|
+
d.az = runOn(this, this.bm);
|
|
879
|
+
c.g = 1;
|
|
880
|
+
}
|
|
881
|
+
b.j = g.a.j;
|
|
882
|
+
c.az = this.as;
|
|
883
|
+
c.aq = BrushUtil.g(255, 20, 20, 20);
|
|
884
|
+
};
|
|
885
|
+
ToolActionRadio.prototype.bm = function (a, b) {
|
|
886
|
+
this.bc(this.b(true), this);
|
|
887
|
+
};
|
|
888
|
+
ToolActionRadio.prototype.be = function (a, b, c, d) {
|
|
763
889
|
var _this = this;
|
|
764
|
-
_super.prototype.
|
|
890
|
+
_super.prototype.be.call(this, a, b, c, d);
|
|
765
891
|
var e = c.b;
|
|
766
|
-
if (e.
|
|
767
|
-
|
|
768
|
-
|
|
769
|
-
|
|
770
|
-
|
|
771
|
-
|
|
772
|
-
|
|
892
|
+
if (e.a6 == null || (e.y == null || EnumUtil.getEnumValue(ToolActionType_$type, e.y) != this.h)) {
|
|
893
|
+
var f = [7, 3, 6];
|
|
894
|
+
var g = [0, 0, 0];
|
|
895
|
+
if (this.g >= 3 && this.g <= 6) {
|
|
896
|
+
g = [0, 0, 2];
|
|
897
|
+
}
|
|
898
|
+
NativeUIComponent.ae(b.l.r(), f, g, function (h) {
|
|
899
|
+
var i = h[0];
|
|
900
|
+
var j = h[1];
|
|
901
|
+
var k = h[2];
|
|
902
|
+
e.a6 = i;
|
|
903
|
+
_this.bn(e, i, j, k, a, b, c, d);
|
|
773
904
|
});
|
|
774
905
|
}
|
|
775
906
|
else {
|
|
776
|
-
var
|
|
777
|
-
var
|
|
778
|
-
var
|
|
779
|
-
this.
|
|
907
|
+
var h = e.a6;
|
|
908
|
+
var i = h.az(0);
|
|
909
|
+
var j = h.az(1);
|
|
910
|
+
this.bn(e, h, i, j, a, b, c, d);
|
|
780
911
|
}
|
|
781
912
|
};
|
|
782
913
|
ToolActionRadio.$t = markType(ToolActionRadio, 'ToolActionRadio', ToolAction.$);
|
|
@@ -791,11 +922,11 @@ var ToolActionSeparator = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
791
922
|
function ToolActionSeparator() {
|
|
792
923
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
793
924
|
}
|
|
794
|
-
ToolActionSeparator.prototype.
|
|
925
|
+
ToolActionSeparator.prototype.get_h = function () {
|
|
795
926
|
return 7;
|
|
796
927
|
};
|
|
797
|
-
ToolActionSeparator.prototype.
|
|
798
|
-
_super.prototype.
|
|
928
|
+
ToolActionSeparator.prototype.a8 = function (a, b) {
|
|
929
|
+
_super.prototype.a8.call(this, a, b);
|
|
799
930
|
if (b.a == 1) {
|
|
800
931
|
b.d = 2;
|
|
801
932
|
}
|
|
@@ -803,40 +934,40 @@ var ToolActionSeparator = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
803
934
|
b.c = 2;
|
|
804
935
|
}
|
|
805
936
|
};
|
|
806
|
-
ToolActionSeparator.prototype.
|
|
807
|
-
if (a.
|
|
808
|
-
a.
|
|
937
|
+
ToolActionSeparator.prototype.bi = function (a, b, c, d, e, f) {
|
|
938
|
+
if (a.y == null || EnumUtil.getEnumValue(ToolActionType_$type, a.y) != this.h) {
|
|
939
|
+
a.a6 = b;
|
|
809
940
|
if (f.a == 1) {
|
|
810
|
-
b.
|
|
811
|
-
b.
|
|
941
|
+
b.f = 0;
|
|
942
|
+
b.g = 3;
|
|
812
943
|
}
|
|
813
944
|
else {
|
|
814
|
-
b.
|
|
945
|
+
b.f = 3;
|
|
815
946
|
}
|
|
816
947
|
}
|
|
817
948
|
if (f.a == 1) {
|
|
818
|
-
b.
|
|
949
|
+
b.p = DeviceUtils.g(2);
|
|
819
950
|
}
|
|
820
951
|
else {
|
|
821
|
-
b.
|
|
952
|
+
b.j = DeviceUtils.g(2);
|
|
822
953
|
}
|
|
823
|
-
b.
|
|
824
|
-
b.
|
|
954
|
+
b.ao = BrushUtil.g(255, 200, 200, 200);
|
|
955
|
+
b.ap = BrushUtil.g(255, 80, 80, 80);
|
|
825
956
|
};
|
|
826
|
-
ToolActionSeparator.prototype.
|
|
957
|
+
ToolActionSeparator.prototype.be = function (a, b, c, d) {
|
|
827
958
|
var _this = this;
|
|
828
|
-
_super.prototype.
|
|
959
|
+
_super.prototype.be.call(this, a, b, c, d);
|
|
829
960
|
var e = c.b;
|
|
830
|
-
if (e.
|
|
831
|
-
NativeUIComponent.
|
|
961
|
+
if (e.a6 == null || (e.y == null || EnumUtil.getEnumValue(ToolActionType_$type, e.y) != this.h)) {
|
|
962
|
+
NativeUIComponent.af(b.l.r(), [7], function (f) {
|
|
832
963
|
var g = f[0];
|
|
833
|
-
e.
|
|
834
|
-
_this.
|
|
964
|
+
e.a6 = g;
|
|
965
|
+
_this.bi(e, g, a, b, c, d);
|
|
835
966
|
});
|
|
836
967
|
}
|
|
837
968
|
else {
|
|
838
|
-
var f = e.
|
|
839
|
-
this.
|
|
969
|
+
var f = e.a6;
|
|
970
|
+
this.bi(e, f, a, b, c, d);
|
|
840
971
|
}
|
|
841
972
|
};
|
|
842
973
|
ToolActionSeparator.$t = markType(ToolActionSeparator, 'ToolActionSeparator', ToolAction.$);
|
|
@@ -850,69 +981,79 @@ var ToolActionIconButton = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
850
981
|
tslib_1.__extends(ToolActionIconButton, _super);
|
|
851
982
|
function ToolActionIconButton() {
|
|
852
983
|
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
853
|
-
_this.
|
|
984
|
+
_this.bi = null;
|
|
854
985
|
return _this;
|
|
855
986
|
}
|
|
856
|
-
ToolActionIconButton.prototype.
|
|
987
|
+
ToolActionIconButton.prototype.get_h = function () {
|
|
857
988
|
return 3;
|
|
858
989
|
};
|
|
859
|
-
ToolActionIconButton.prototype.
|
|
990
|
+
ToolActionIconButton.prototype.i = function () {
|
|
860
991
|
return null;
|
|
861
992
|
};
|
|
862
993
|
ToolActionIconButton.prototype.b = function (a) {
|
|
863
994
|
var b = new ToolActionEventDetail();
|
|
864
995
|
b.a = this;
|
|
865
|
-
b.b = this.
|
|
996
|
+
b.b = this.h;
|
|
866
997
|
b.d = a;
|
|
867
998
|
return b;
|
|
868
999
|
};
|
|
869
|
-
ToolActionIconButton.prototype.
|
|
1000
|
+
ToolActionIconButton.prototype.q = function (a, b) {
|
|
870
1001
|
return 30;
|
|
871
1002
|
};
|
|
872
|
-
ToolActionIconButton.prototype.
|
|
873
|
-
if (
|
|
874
|
-
|
|
1003
|
+
ToolActionIconButton.prototype.bh = function () {
|
|
1004
|
+
if (this.bi != null) {
|
|
1005
|
+
this.bi.c = this.g;
|
|
1006
|
+
}
|
|
1007
|
+
};
|
|
1008
|
+
ToolActionIconButton.prototype.bk = function (a, b, c, d, e, f, g) {
|
|
1009
|
+
if (a.y == null || EnumUtil.getEnumValue(ToolActionType_$type, a.y) != this.h) {
|
|
1010
|
+
a.a6 = b;
|
|
875
1011
|
if (g.a == 1) {
|
|
876
|
-
b.
|
|
1012
|
+
b.f = 0;
|
|
877
1013
|
}
|
|
878
1014
|
else {
|
|
879
|
-
b.
|
|
1015
|
+
b.f = 3;
|
|
880
1016
|
}
|
|
881
|
-
b.
|
|
882
|
-
b.
|
|
883
|
-
b.
|
|
884
|
-
if (b.
|
|
885
|
-
b.
|
|
1017
|
+
b.bd(0, 2, 1);
|
|
1018
|
+
b.bc(0, 1, isNaN_(g.f) ? 0 : g.f);
|
|
1019
|
+
b.ax = new Thickness(1, this.t, this.v, this.u, this.s);
|
|
1020
|
+
if (b.a0 == 0) {
|
|
1021
|
+
b.a1(c);
|
|
886
1022
|
}
|
|
887
|
-
b.
|
|
888
|
-
b.
|
|
889
|
-
this.
|
|
890
|
-
this.
|
|
891
|
-
this.
|
|
1023
|
+
b.bh(c, 0);
|
|
1024
|
+
b.bg(c, 0);
|
|
1025
|
+
this.bi = c;
|
|
1026
|
+
this.bi.a0 = 2;
|
|
1027
|
+
this.bi.az = runOn(this, this.bj);
|
|
892
1028
|
}
|
|
893
|
-
this.
|
|
894
|
-
this.
|
|
895
|
-
b.
|
|
1029
|
+
this.bi.a3 = this.ap;
|
|
1030
|
+
this.bi.a2 = this.an;
|
|
1031
|
+
b.j = f.a.j;
|
|
896
1032
|
};
|
|
897
|
-
ToolActionIconButton.prototype.
|
|
898
|
-
this.
|
|
1033
|
+
ToolActionIconButton.prototype.bj = function (a, b) {
|
|
1034
|
+
this.bc(this.b(true), this);
|
|
899
1035
|
};
|
|
900
|
-
ToolActionIconButton.prototype.
|
|
1036
|
+
ToolActionIconButton.prototype.be = function (a, b, c, d) {
|
|
901
1037
|
var _this = this;
|
|
902
|
-
_super.prototype.
|
|
1038
|
+
_super.prototype.be.call(this, a, b, c, d);
|
|
903
1039
|
var e = c.b;
|
|
904
|
-
if (e.
|
|
905
|
-
|
|
906
|
-
|
|
907
|
-
|
|
908
|
-
|
|
909
|
-
|
|
1040
|
+
if (e.a6 == null || (e.y == null || EnumUtil.getEnumValue(ToolActionType_$type, e.y) != this.h)) {
|
|
1041
|
+
var f = [7, 10];
|
|
1042
|
+
var g = [0, 0];
|
|
1043
|
+
if (this.g >= 3 && this.g <= 6) {
|
|
1044
|
+
g = [0, 2];
|
|
1045
|
+
}
|
|
1046
|
+
NativeUIComponent.ae(b.l.r(), f, g, function (h) {
|
|
1047
|
+
var i = h[0];
|
|
1048
|
+
var j = h[1];
|
|
1049
|
+
e.a6 = i;
|
|
1050
|
+
_this.bk(e, i, j, a, b, c, d);
|
|
910
1051
|
});
|
|
911
1052
|
}
|
|
912
1053
|
else {
|
|
913
|
-
var
|
|
914
|
-
var
|
|
915
|
-
this.
|
|
1054
|
+
var h = e.a6;
|
|
1055
|
+
var i = h.az(0);
|
|
1056
|
+
this.bk(e, h, i, a, b, c, d);
|
|
916
1057
|
}
|
|
917
1058
|
};
|
|
918
1059
|
ToolActionIconButton.$t = markType(ToolActionIconButton, 'ToolActionIconButton', ToolAction.$);
|
|
@@ -927,52 +1068,52 @@ var ToolActionGroupHeader = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
927
1068
|
function ToolActionGroupHeader() {
|
|
928
1069
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
929
1070
|
}
|
|
930
|
-
ToolActionGroupHeader.prototype.
|
|
1071
|
+
ToolActionGroupHeader.prototype.get_h = function () {
|
|
931
1072
|
return 1;
|
|
932
1073
|
};
|
|
933
|
-
ToolActionGroupHeader.prototype.
|
|
934
|
-
if (a.
|
|
935
|
-
a.
|
|
1074
|
+
ToolActionGroupHeader.prototype.bi = function (a, b, c, d, e, f, g) {
|
|
1075
|
+
if (a.y == null || EnumUtil.getEnumValue(ToolActionType_$type, a.y) != this.h) {
|
|
1076
|
+
a.a6 = b;
|
|
936
1077
|
if (g.a == 1) {
|
|
937
|
-
b.
|
|
1078
|
+
b.f = 0;
|
|
938
1079
|
}
|
|
939
1080
|
else {
|
|
940
|
-
b.
|
|
941
|
-
}
|
|
942
|
-
b.
|
|
943
|
-
b.
|
|
944
|
-
b.
|
|
945
|
-
b.
|
|
946
|
-
if (b.
|
|
947
|
-
b.
|
|
948
|
-
}
|
|
949
|
-
c.
|
|
950
|
-
}
|
|
951
|
-
b.
|
|
952
|
-
b.
|
|
953
|
-
b.
|
|
954
|
-
b.
|
|
955
|
-
c.
|
|
956
|
-
c.
|
|
957
|
-
b.
|
|
958
|
-
b.
|
|
959
|
-
};
|
|
960
|
-
ToolActionGroupHeader.prototype.
|
|
1081
|
+
b.f = 3;
|
|
1082
|
+
}
|
|
1083
|
+
b.bd(0, 2, 1);
|
|
1084
|
+
b.bc(0, 1, isNaN_(g.e) ? 0 : g.e);
|
|
1085
|
+
b.bc(1, 2, 1);
|
|
1086
|
+
b.ax = new Thickness(1, this.t, this.v, this.u, this.s);
|
|
1087
|
+
if (b.a0 == 0) {
|
|
1088
|
+
b.a1(c);
|
|
1089
|
+
}
|
|
1090
|
+
c.g = 1;
|
|
1091
|
+
}
|
|
1092
|
+
b.j = f.a.j;
|
|
1093
|
+
b.ao = BrushUtil.g(255, 200, 200, 200);
|
|
1094
|
+
b.ap = BrushUtil.g(255, 80, 80, 80);
|
|
1095
|
+
b.av = new Thickness(1, 0, 0, 0, 2);
|
|
1096
|
+
c.az = this.as;
|
|
1097
|
+
c.aq = BrushUtil.g(255, 20, 20, 20);
|
|
1098
|
+
b.bh(c, 0);
|
|
1099
|
+
b.bg(c, 1);
|
|
1100
|
+
};
|
|
1101
|
+
ToolActionGroupHeader.prototype.be = function (a, b, c, d) {
|
|
961
1102
|
var _this = this;
|
|
962
|
-
_super.prototype.
|
|
1103
|
+
_super.prototype.be.call(this, a, b, c, d);
|
|
963
1104
|
var e = c.b;
|
|
964
|
-
if (e.
|
|
965
|
-
NativeUIComponent.
|
|
1105
|
+
if (e.a6 == null || (e.y == null || EnumUtil.getEnumValue(ToolActionType_$type, e.y) != this.h)) {
|
|
1106
|
+
NativeUIComponent.af(b.l.r(), [7, 3], function (f) {
|
|
966
1107
|
var g = f[0];
|
|
967
1108
|
var h = f[1];
|
|
968
|
-
e.
|
|
969
|
-
_this.
|
|
1109
|
+
e.a6 = g;
|
|
1110
|
+
_this.bi(e, g, h, a, b, c, d);
|
|
970
1111
|
});
|
|
971
1112
|
}
|
|
972
1113
|
else {
|
|
973
|
-
var f = e.
|
|
974
|
-
var g = f.
|
|
975
|
-
this.
|
|
1114
|
+
var f = e.a6;
|
|
1115
|
+
var g = f.az(0);
|
|
1116
|
+
this.bi(e, f, g, a, b, c, d);
|
|
976
1117
|
}
|
|
977
1118
|
};
|
|
978
1119
|
ToolActionGroupHeader.$t = markType(ToolActionGroupHeader, 'ToolActionGroupHeader', ToolAction.$);
|
|
@@ -986,44 +1127,44 @@ var ToolActionMenuBase = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
986
1127
|
tslib_1.__extends(ToolActionMenuBase, _super);
|
|
987
1128
|
function ToolActionMenuBase() {
|
|
988
1129
|
var _this = _super.call(this) || this;
|
|
989
|
-
_this.
|
|
990
|
-
_this.
|
|
991
|
-
_this.
|
|
992
|
-
_this.
|
|
993
|
-
_this.
|
|
994
|
-
_this.
|
|
995
|
-
_this.
|
|
996
|
-
_this.
|
|
997
|
-
var a = _this.
|
|
998
|
-
a.collectionChanged = delegateCombine(a.collectionChanged, runOn(_this, _this.
|
|
1130
|
+
_this.bl = new ToolActionCollection();
|
|
1131
|
+
_this.bq = false;
|
|
1132
|
+
_this.bi = null;
|
|
1133
|
+
_this.bo = null;
|
|
1134
|
+
_this.bp = false;
|
|
1135
|
+
_this.bn = null;
|
|
1136
|
+
_this.bs = false;
|
|
1137
|
+
_this.br = false;
|
|
1138
|
+
var a = _this.bl;
|
|
1139
|
+
a.collectionChanged = delegateCombine(a.collectionChanged, runOn(_this, _this.bu));
|
|
999
1140
|
return _this;
|
|
1000
1141
|
}
|
|
1001
|
-
ToolActionMenuBase.prototype.
|
|
1142
|
+
ToolActionMenuBase.prototype.i = function () {
|
|
1002
1143
|
return null;
|
|
1003
1144
|
};
|
|
1004
|
-
ToolActionMenuBase.prototype.
|
|
1005
|
-
_super.prototype.
|
|
1145
|
+
ToolActionMenuBase.prototype.a9 = function (a) {
|
|
1146
|
+
_super.prototype.a9.call(this, a);
|
|
1006
1147
|
var b = a;
|
|
1007
1148
|
if (b.actions != null) {
|
|
1008
1149
|
for (var c = 0; c < b.actions.length; c++) {
|
|
1009
|
-
this.
|
|
1150
|
+
this.bl.add(ToolAction.a(b.actions[c]));
|
|
1010
1151
|
}
|
|
1011
1152
|
}
|
|
1012
1153
|
};
|
|
1013
|
-
ToolActionMenuBase.prototype.
|
|
1014
|
-
this.
|
|
1154
|
+
ToolActionMenuBase.prototype.bu = function (a, b) {
|
|
1155
|
+
this.bz();
|
|
1015
1156
|
};
|
|
1016
|
-
ToolActionMenuBase.prototype.
|
|
1157
|
+
ToolActionMenuBase.prototype.bz = function () {
|
|
1017
1158
|
};
|
|
1018
1159
|
Object.defineProperty(ToolActionMenuBase.prototype, "actions", {
|
|
1019
1160
|
get: function () {
|
|
1020
|
-
return this.
|
|
1161
|
+
return this.bl;
|
|
1021
1162
|
},
|
|
1022
1163
|
set: function (a) {
|
|
1023
|
-
var b = this.
|
|
1024
|
-
this.
|
|
1025
|
-
if (b != this.
|
|
1026
|
-
this.
|
|
1164
|
+
var b = this.bl;
|
|
1165
|
+
this.bl = a;
|
|
1166
|
+
if (b != this.bl) {
|
|
1167
|
+
this.bb("Actions", b, this.bl);
|
|
1027
1168
|
}
|
|
1028
1169
|
},
|
|
1029
1170
|
enumerable: true,
|
|
@@ -1032,70 +1173,71 @@ var ToolActionMenuBase = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1032
1173
|
ToolActionMenuBase.prototype.b = function (a) {
|
|
1033
1174
|
var b = new ToolActionEventDetail();
|
|
1034
1175
|
b.a = this;
|
|
1035
|
-
b.b = this.
|
|
1176
|
+
b.b = this.h;
|
|
1036
1177
|
b.d = a;
|
|
1037
1178
|
return b;
|
|
1038
1179
|
};
|
|
1039
|
-
ToolActionMenuBase.prototype.
|
|
1040
|
-
this.
|
|
1041
|
-
this.
|
|
1042
|
-
this.
|
|
1043
|
-
if (this.
|
|
1044
|
-
if (this.
|
|
1045
|
-
this.
|
|
1180
|
+
ToolActionMenuBase.prototype.b0 = function () {
|
|
1181
|
+
this.bx();
|
|
1182
|
+
this.bw();
|
|
1183
|
+
this.by();
|
|
1184
|
+
if (this.bi.t || this.br) {
|
|
1185
|
+
if (this.br) {
|
|
1186
|
+
this.br = false;
|
|
1046
1187
|
}
|
|
1047
1188
|
else {
|
|
1048
|
-
this.
|
|
1189
|
+
this.bi.ao();
|
|
1049
1190
|
}
|
|
1050
1191
|
}
|
|
1051
1192
|
else {
|
|
1052
|
-
if (this.
|
|
1053
|
-
this.
|
|
1193
|
+
if (this.bs) {
|
|
1194
|
+
this.b1();
|
|
1054
1195
|
}
|
|
1055
1196
|
else {
|
|
1056
|
-
this.
|
|
1197
|
+
this.br = true;
|
|
1057
1198
|
}
|
|
1058
1199
|
}
|
|
1059
1200
|
};
|
|
1060
|
-
ToolActionMenuBase.prototype.
|
|
1061
|
-
this.
|
|
1201
|
+
ToolActionMenuBase.prototype.b1 = function () {
|
|
1202
|
+
this.bi.showRelativeToExclusionRect(this.b2(), this.bk(), this.bj());
|
|
1062
1203
|
};
|
|
1063
|
-
ToolActionMenuBase.prototype.
|
|
1204
|
+
ToolActionMenuBase.prototype.bj = function () {
|
|
1064
1205
|
return 1;
|
|
1065
1206
|
};
|
|
1066
|
-
ToolActionMenuBase.prototype.
|
|
1207
|
+
ToolActionMenuBase.prototype.bk = function () {
|
|
1067
1208
|
return 1;
|
|
1068
1209
|
};
|
|
1069
|
-
ToolActionMenuBase.prototype.
|
|
1070
|
-
if (!this.
|
|
1071
|
-
this.
|
|
1072
|
-
this.
|
|
1210
|
+
ToolActionMenuBase.prototype.by = function () {
|
|
1211
|
+
if (!this.bp) {
|
|
1212
|
+
this.bp = true;
|
|
1213
|
+
this.bi.appendPopupContent(this.bo.x);
|
|
1073
1214
|
}
|
|
1074
1215
|
};
|
|
1075
|
-
ToolActionMenuBase.prototype.
|
|
1076
|
-
if (this.
|
|
1216
|
+
ToolActionMenuBase.prototype.bx = function () {
|
|
1217
|
+
if (this.bi == null) {
|
|
1077
1218
|
if (this.e == null) {
|
|
1078
1219
|
return;
|
|
1079
1220
|
}
|
|
1080
|
-
this.
|
|
1221
|
+
this.bi = this.e.l.a();
|
|
1081
1222
|
}
|
|
1082
1223
|
};
|
|
1083
|
-
ToolActionMenuBase.prototype.
|
|
1224
|
+
ToolActionMenuBase.prototype.bw = function () {
|
|
1084
1225
|
var _this = this;
|
|
1085
|
-
if (this.
|
|
1086
|
-
NativeUIContent.
|
|
1087
|
-
this.
|
|
1088
|
-
var a = this.
|
|
1089
|
-
a.contentRefreshed = delegateCombine(a.contentRefreshed, runOn(this, this.
|
|
1090
|
-
this.
|
|
1226
|
+
if (this.bo == null) {
|
|
1227
|
+
NativeUIContent.ah(this.e.l.r(), 0, function (a) { return _this.bo = a; });
|
|
1228
|
+
this.bn = this.e.l.b(this.bo);
|
|
1229
|
+
var a = this.bn;
|
|
1230
|
+
a.contentRefreshed = delegateCombine(a.contentRefreshed, runOn(this, this.bv));
|
|
1231
|
+
this.bn.actions = this.actions;
|
|
1232
|
+
this.bn.n = this.g;
|
|
1091
1233
|
}
|
|
1092
1234
|
};
|
|
1093
|
-
ToolActionMenuBase.prototype.
|
|
1094
|
-
this.
|
|
1095
|
-
this.
|
|
1096
|
-
if (this.
|
|
1097
|
-
this.
|
|
1098
|
-
this.
|
|
1235
|
+
ToolActionMenuBase.prototype.bv = function (a, b) {
|
|
1236
|
+
this.bs = true;
|
|
1237
|
+
this.bi.ar();
|
|
1238
|
+
if (this.br) {
|
|
1239
|
+
this.br = false;
|
|
1240
|
+
this.b1();
|
|
1099
1241
|
}
|
|
1100
1242
|
};
|
|
1101
1243
|
ToolActionMenuBase.$t = markType(ToolActionMenuBase, 'ToolActionMenuBase', ToolAction.$);
|
|
@@ -1109,62 +1251,62 @@ var ToolActionIconMenu = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1109
1251
|
tslib_1.__extends(ToolActionIconMenu, _super);
|
|
1110
1252
|
function ToolActionIconMenu() {
|
|
1111
1253
|
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
1112
|
-
_this.
|
|
1254
|
+
_this.b3 = null;
|
|
1113
1255
|
return _this;
|
|
1114
1256
|
}
|
|
1115
|
-
ToolActionIconMenu.prototype.
|
|
1257
|
+
ToolActionIconMenu.prototype.get_h = function () {
|
|
1116
1258
|
return 3;
|
|
1117
1259
|
};
|
|
1118
|
-
ToolActionIconMenu.prototype.
|
|
1260
|
+
ToolActionIconMenu.prototype.q = function (a, b) {
|
|
1119
1261
|
return 30;
|
|
1120
1262
|
};
|
|
1121
|
-
ToolActionIconMenu.prototype.
|
|
1122
|
-
return this.e.l.ac(this.
|
|
1263
|
+
ToolActionIconMenu.prototype.b2 = function () {
|
|
1264
|
+
return this.e.l.ac(this.b3.x);
|
|
1123
1265
|
};
|
|
1124
|
-
ToolActionIconMenu.prototype.
|
|
1125
|
-
if (a.
|
|
1126
|
-
a.
|
|
1266
|
+
ToolActionIconMenu.prototype.b5 = function (a, b, c, d, e, f, g) {
|
|
1267
|
+
if (a.y == null || EnumUtil.getEnumValue(ToolActionType_$type, a.y) != this.h) {
|
|
1268
|
+
a.a6 = b;
|
|
1127
1269
|
if (g.a == 1) {
|
|
1128
|
-
b.
|
|
1270
|
+
b.f = 0;
|
|
1129
1271
|
}
|
|
1130
1272
|
else {
|
|
1131
|
-
b.
|
|
1273
|
+
b.f = 3;
|
|
1132
1274
|
}
|
|
1133
|
-
b.
|
|
1134
|
-
b.
|
|
1135
|
-
b.
|
|
1136
|
-
if (b.
|
|
1137
|
-
b.
|
|
1275
|
+
b.bd(0, 2, 1);
|
|
1276
|
+
b.bc(0, 1, isNaN_(g.f) ? 0 : g.f);
|
|
1277
|
+
b.ax = new Thickness(1, this.t, this.v, this.u, this.s);
|
|
1278
|
+
if (b.a0 == 0) {
|
|
1279
|
+
b.a1(c);
|
|
1138
1280
|
}
|
|
1139
|
-
b.
|
|
1140
|
-
b.
|
|
1141
|
-
this.
|
|
1142
|
-
this.
|
|
1143
|
-
this.
|
|
1281
|
+
b.bh(c, 0);
|
|
1282
|
+
b.bg(c, 0);
|
|
1283
|
+
this.b3 = c;
|
|
1284
|
+
this.b3.a0 = 2;
|
|
1285
|
+
this.b3.az = runOn(this, this.b4);
|
|
1144
1286
|
}
|
|
1145
|
-
this.
|
|
1146
|
-
this.
|
|
1147
|
-
b.
|
|
1287
|
+
this.b3.a3 = this.ap;
|
|
1288
|
+
this.b3.a2 = this.an;
|
|
1289
|
+
b.j = f.a.j;
|
|
1148
1290
|
};
|
|
1149
|
-
ToolActionIconMenu.prototype.
|
|
1150
|
-
this.
|
|
1291
|
+
ToolActionIconMenu.prototype.b4 = function (a, b) {
|
|
1292
|
+
this.b0();
|
|
1151
1293
|
};
|
|
1152
|
-
ToolActionIconMenu.prototype.
|
|
1294
|
+
ToolActionIconMenu.prototype.be = function (a, b, c, d) {
|
|
1153
1295
|
var _this = this;
|
|
1154
|
-
_super.prototype.
|
|
1296
|
+
_super.prototype.be.call(this, a, b, c, d);
|
|
1155
1297
|
var e = c.b;
|
|
1156
|
-
if (e.
|
|
1157
|
-
NativeUIComponent.
|
|
1298
|
+
if (e.a6 == null || (e.y == null || EnumUtil.getEnumValue(ToolActionType_$type, e.y) != this.h)) {
|
|
1299
|
+
NativeUIComponent.af(b.l.r(), [7, 10], function (f) {
|
|
1158
1300
|
var g = f[0];
|
|
1159
1301
|
var h = f[1];
|
|
1160
|
-
e.
|
|
1161
|
-
_this.
|
|
1302
|
+
e.a6 = g;
|
|
1303
|
+
_this.b5(e, g, h, a, b, c, d);
|
|
1162
1304
|
});
|
|
1163
1305
|
}
|
|
1164
1306
|
else {
|
|
1165
|
-
var f = e.
|
|
1166
|
-
var g = f.
|
|
1167
|
-
this.
|
|
1307
|
+
var f = e.a6;
|
|
1308
|
+
var g = f.az(0);
|
|
1309
|
+
this.b5(e, f, g, a, b, c, d);
|
|
1168
1310
|
}
|
|
1169
1311
|
};
|
|
1170
1312
|
ToolActionIconMenu.$t = markType(ToolActionIconMenu, 'ToolActionIconMenu', ToolActionMenuBase.$);
|
|
@@ -1178,82 +1320,87 @@ var ToolActionCheckbox = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1178
1320
|
tslib_1.__extends(ToolActionCheckbox, _super);
|
|
1179
1321
|
function ToolActionCheckbox() {
|
|
1180
1322
|
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
1181
|
-
_this.
|
|
1323
|
+
_this.bi = null;
|
|
1182
1324
|
return _this;
|
|
1183
1325
|
}
|
|
1184
|
-
ToolActionCheckbox.prototype.
|
|
1326
|
+
ToolActionCheckbox.prototype.get_h = function () {
|
|
1185
1327
|
return 2;
|
|
1186
1328
|
};
|
|
1187
1329
|
ToolActionCheckbox.prototype.b = function (a) {
|
|
1188
1330
|
var b = new ToolActionEventDetail();
|
|
1189
1331
|
b.a = this;
|
|
1190
|
-
b.b = this.
|
|
1332
|
+
b.b = this.h;
|
|
1191
1333
|
b.d = a;
|
|
1192
|
-
if (this.
|
|
1193
|
-
b.c = this.
|
|
1334
|
+
if (this.bi != null) {
|
|
1335
|
+
b.c = this.bi.a1;
|
|
1194
1336
|
}
|
|
1195
1337
|
return b;
|
|
1196
1338
|
};
|
|
1197
|
-
ToolActionCheckbox.prototype.
|
|
1198
|
-
return this.
|
|
1339
|
+
ToolActionCheckbox.prototype.z = function () {
|
|
1340
|
+
return this.bi.a1;
|
|
1199
1341
|
};
|
|
1200
|
-
ToolActionCheckbox.prototype.
|
|
1342
|
+
ToolActionCheckbox.prototype.q = function (a, b) {
|
|
1201
1343
|
return 30;
|
|
1202
1344
|
};
|
|
1203
|
-
ToolActionCheckbox.prototype.
|
|
1204
|
-
if (a.
|
|
1205
|
-
a.
|
|
1345
|
+
ToolActionCheckbox.prototype.bk = function (a, b, c, d, e, f, g, h) {
|
|
1346
|
+
if (a.y == null || EnumUtil.getEnumValue(ToolActionType_$type, a.y) != this.h) {
|
|
1347
|
+
a.a6 = b;
|
|
1206
1348
|
if (h.a == 1) {
|
|
1207
|
-
b.
|
|
1349
|
+
b.f = 0;
|
|
1208
1350
|
}
|
|
1209
1351
|
else {
|
|
1210
|
-
b.
|
|
1211
|
-
}
|
|
1212
|
-
b.
|
|
1213
|
-
b.
|
|
1214
|
-
b.
|
|
1215
|
-
b.
|
|
1216
|
-
b.
|
|
1217
|
-
if (b.
|
|
1218
|
-
b.
|
|
1219
|
-
b.
|
|
1220
|
-
}
|
|
1221
|
-
b.
|
|
1222
|
-
b.
|
|
1223
|
-
b.
|
|
1224
|
-
b.
|
|
1225
|
-
this.
|
|
1226
|
-
d.
|
|
1227
|
-
d.
|
|
1228
|
-
d.
|
|
1229
|
-
d.
|
|
1230
|
-
c.
|
|
1231
|
-
}
|
|
1232
|
-
b.
|
|
1233
|
-
c.
|
|
1234
|
-
c.
|
|
1235
|
-
};
|
|
1236
|
-
ToolActionCheckbox.prototype.
|
|
1237
|
-
this.
|
|
1238
|
-
};
|
|
1239
|
-
ToolActionCheckbox.prototype.
|
|
1352
|
+
b.f = 3;
|
|
1353
|
+
}
|
|
1354
|
+
b.bd(0, 2, 1);
|
|
1355
|
+
b.bc(0, 1, isNaN_(h.e) ? 0 : h.e);
|
|
1356
|
+
b.bc(1, 1, isNaN_(h.g) ? 0 : h.g);
|
|
1357
|
+
b.bc(2, 2, 1);
|
|
1358
|
+
b.ax = new Thickness(1, this.t, this.v, this.u, this.s);
|
|
1359
|
+
if (b.a0 == 0) {
|
|
1360
|
+
b.a1(c);
|
|
1361
|
+
b.a1(d);
|
|
1362
|
+
}
|
|
1363
|
+
b.bh(c, 0);
|
|
1364
|
+
b.bg(c, 1);
|
|
1365
|
+
b.bh(d, 0);
|
|
1366
|
+
b.bg(d, 2);
|
|
1367
|
+
this.bi = d;
|
|
1368
|
+
d.a0 = true;
|
|
1369
|
+
d.f = 2;
|
|
1370
|
+
d.g = 1;
|
|
1371
|
+
d.az = runOn(this, this.bj);
|
|
1372
|
+
c.g = 1;
|
|
1373
|
+
}
|
|
1374
|
+
b.j = g.a.j;
|
|
1375
|
+
c.az = this.as;
|
|
1376
|
+
c.aq = BrushUtil.g(255, 20, 20, 20);
|
|
1377
|
+
};
|
|
1378
|
+
ToolActionCheckbox.prototype.bj = function (a, b) {
|
|
1379
|
+
this.bc(this.b(true), this);
|
|
1380
|
+
};
|
|
1381
|
+
ToolActionCheckbox.prototype.be = function (a, b, c, d) {
|
|
1240
1382
|
var _this = this;
|
|
1241
|
-
_super.prototype.
|
|
1383
|
+
_super.prototype.be.call(this, a, b, c, d);
|
|
1242
1384
|
var e = c.b;
|
|
1243
|
-
if (e.
|
|
1244
|
-
|
|
1245
|
-
|
|
1246
|
-
|
|
1247
|
-
|
|
1248
|
-
|
|
1249
|
-
|
|
1385
|
+
if (e.a6 == null || (e.y == null || EnumUtil.getEnumValue(ToolActionType_$type, e.y) != this.h)) {
|
|
1386
|
+
var f = [7, 3, 6];
|
|
1387
|
+
var g = [0, 0, 0];
|
|
1388
|
+
if (this.g >= 3 && this.g <= 6) {
|
|
1389
|
+
g = [0, 0, 2];
|
|
1390
|
+
}
|
|
1391
|
+
NativeUIComponent.ae(b.l.r(), f, g, function (h) {
|
|
1392
|
+
var i = h[0];
|
|
1393
|
+
var j = h[1];
|
|
1394
|
+
var k = h[2];
|
|
1395
|
+
e.a6 = i;
|
|
1396
|
+
_this.bk(e, i, j, k, a, b, c, d);
|
|
1250
1397
|
});
|
|
1251
1398
|
}
|
|
1252
1399
|
else {
|
|
1253
|
-
var
|
|
1254
|
-
var
|
|
1255
|
-
var
|
|
1256
|
-
this.
|
|
1400
|
+
var h = e.a6;
|
|
1401
|
+
var i = h.az(0);
|
|
1402
|
+
var j = h.az(1);
|
|
1403
|
+
this.bk(e, h, i, j, a, b, c, d);
|
|
1257
1404
|
}
|
|
1258
1405
|
};
|
|
1259
1406
|
ToolActionCheckbox.$t = markType(ToolActionCheckbox, 'ToolActionCheckbox', ToolAction.$);
|
|
@@ -1267,58 +1414,64 @@ var ToolActionNumberInput = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1267
1414
|
tslib_1.__extends(ToolActionNumberInput, _super);
|
|
1268
1415
|
function ToolActionNumberInput() {
|
|
1269
1416
|
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
1270
|
-
_this.
|
|
1417
|
+
_this.bi = null;
|
|
1271
1418
|
return _this;
|
|
1272
1419
|
}
|
|
1273
|
-
ToolActionNumberInput.prototype.
|
|
1420
|
+
ToolActionNumberInput.prototype.get_h = function () {
|
|
1274
1421
|
return 5;
|
|
1275
1422
|
};
|
|
1276
|
-
ToolActionNumberInput.prototype.
|
|
1277
|
-
return this.
|
|
1423
|
+
ToolActionNumberInput.prototype.z = function () {
|
|
1424
|
+
return this.bj();
|
|
1278
1425
|
};
|
|
1279
|
-
ToolActionNumberInput.prototype.
|
|
1426
|
+
ToolActionNumberInput.prototype.q = function (a, b) {
|
|
1280
1427
|
return 100;
|
|
1281
1428
|
};
|
|
1282
|
-
ToolActionNumberInput.prototype.bh = function (
|
|
1283
|
-
if (
|
|
1284
|
-
|
|
1429
|
+
ToolActionNumberInput.prototype.bh = function () {
|
|
1430
|
+
if (this.bi != null) {
|
|
1431
|
+
this.bi.c = this.g;
|
|
1432
|
+
}
|
|
1433
|
+
};
|
|
1434
|
+
ToolActionNumberInput.prototype.bl = function (a, b, c, d, e, f, g, h) {
|
|
1435
|
+
if (a.y == null || EnumUtil.getEnumValue(ToolActionType_$type, a.y) != this.h) {
|
|
1436
|
+
a.a6 = b;
|
|
1285
1437
|
if (h.a == 1) {
|
|
1286
|
-
b.
|
|
1438
|
+
b.f = 0;
|
|
1287
1439
|
}
|
|
1288
1440
|
else {
|
|
1289
|
-
b.
|
|
1290
|
-
}
|
|
1291
|
-
b.
|
|
1292
|
-
b.
|
|
1293
|
-
b.
|
|
1294
|
-
b.
|
|
1295
|
-
b.
|
|
1296
|
-
if (b.
|
|
1297
|
-
b.
|
|
1298
|
-
b.
|
|
1299
|
-
}
|
|
1300
|
-
b.
|
|
1301
|
-
b.
|
|
1302
|
-
b.
|
|
1303
|
-
b.
|
|
1304
|
-
this.
|
|
1305
|
-
d.
|
|
1306
|
-
d.
|
|
1307
|
-
d.
|
|
1308
|
-
d.
|
|
1309
|
-
d.
|
|
1310
|
-
d.
|
|
1311
|
-
|
|
1312
|
-
|
|
1313
|
-
|
|
1314
|
-
|
|
1315
|
-
c.
|
|
1316
|
-
|
|
1317
|
-
|
|
1441
|
+
b.f = 3;
|
|
1442
|
+
}
|
|
1443
|
+
b.bd(0, 2, 1);
|
|
1444
|
+
b.bc(0, 1, isNaN_(h.e) ? 0 : h.e);
|
|
1445
|
+
b.bc(1, 1, isNaN_(h.g) ? 0 : h.g);
|
|
1446
|
+
b.bc(1, 2, 1);
|
|
1447
|
+
b.ax = new Thickness(1, this.t, this.v, this.u, this.s);
|
|
1448
|
+
if (b.a0 == 0) {
|
|
1449
|
+
b.a1(c);
|
|
1450
|
+
b.a1(d);
|
|
1451
|
+
}
|
|
1452
|
+
b.bh(c, 0);
|
|
1453
|
+
b.bg(c, 1);
|
|
1454
|
+
b.bh(d, 0);
|
|
1455
|
+
b.bg(d, 2);
|
|
1456
|
+
this.bi = d;
|
|
1457
|
+
d.p = 100;
|
|
1458
|
+
d.az = 2;
|
|
1459
|
+
d.a2 = 1;
|
|
1460
|
+
d.f = 2;
|
|
1461
|
+
d.g = 1;
|
|
1462
|
+
d.a3 = 1;
|
|
1463
|
+
d.a1 = runOn(this, this.bk);
|
|
1464
|
+
c.g = 1;
|
|
1465
|
+
}
|
|
1466
|
+
b.j = g.a.j;
|
|
1467
|
+
c.az = this.as;
|
|
1468
|
+
c.aq = BrushUtil.g(255, 20, 20, 20);
|
|
1469
|
+
};
|
|
1470
|
+
ToolActionNumberInput.prototype.bj = function () {
|
|
1318
1471
|
var _this = this;
|
|
1319
1472
|
var a;
|
|
1320
1473
|
a = NaN;
|
|
1321
|
-
if (this.
|
|
1474
|
+
if (this.bi != null && ((function () { var b = tryParseNumber(_this.bi.a4, a); a = b.p1; return b.ret; })())) {
|
|
1322
1475
|
}
|
|
1323
1476
|
return a;
|
|
1324
1477
|
};
|
|
@@ -1326,34 +1479,39 @@ var ToolActionNumberInput = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1326
1479
|
var b = new ToolActionEventDetail();
|
|
1327
1480
|
b.a = this;
|
|
1328
1481
|
b.d = a;
|
|
1329
|
-
b.b = this.
|
|
1482
|
+
b.b = this.h;
|
|
1330
1483
|
var c;
|
|
1331
|
-
b.f = this.
|
|
1484
|
+
b.f = this.bj();
|
|
1332
1485
|
return b;
|
|
1333
1486
|
};
|
|
1334
|
-
ToolActionNumberInput.prototype.
|
|
1487
|
+
ToolActionNumberInput.prototype.bk = function (a, b) {
|
|
1335
1488
|
var c = a;
|
|
1336
1489
|
var d = this.b(true);
|
|
1337
|
-
this.
|
|
1490
|
+
this.bc(d, this);
|
|
1338
1491
|
};
|
|
1339
|
-
ToolActionNumberInput.prototype.
|
|
1492
|
+
ToolActionNumberInput.prototype.be = function (a, b, c, d) {
|
|
1340
1493
|
var _this = this;
|
|
1341
|
-
_super.prototype.
|
|
1494
|
+
_super.prototype.be.call(this, a, b, c, d);
|
|
1342
1495
|
var e = c.b;
|
|
1343
|
-
if (e.
|
|
1344
|
-
|
|
1345
|
-
|
|
1346
|
-
|
|
1347
|
-
|
|
1348
|
-
|
|
1349
|
-
|
|
1496
|
+
if (e.a6 == null || (e.y == null || EnumUtil.getEnumValue(ToolActionType_$type, e.y) != this.h)) {
|
|
1497
|
+
var f = [7, 3, 2];
|
|
1498
|
+
var g = [0, 0, 0];
|
|
1499
|
+
if (this.g >= 3 && this.g <= 6) {
|
|
1500
|
+
g = [0, 0, 2];
|
|
1501
|
+
}
|
|
1502
|
+
NativeUIComponent.ae(b.l.r(), f, g, function (h) {
|
|
1503
|
+
var i = h[0];
|
|
1504
|
+
var j = h[1];
|
|
1505
|
+
var k = h[2];
|
|
1506
|
+
e.a6 = i;
|
|
1507
|
+
_this.bl(e, i, j, k, a, b, c, d);
|
|
1350
1508
|
});
|
|
1351
1509
|
}
|
|
1352
1510
|
else {
|
|
1353
|
-
var
|
|
1354
|
-
var
|
|
1355
|
-
var
|
|
1356
|
-
this.
|
|
1511
|
+
var h = e.a6;
|
|
1512
|
+
var i = h.az(0);
|
|
1513
|
+
var j = h.az(1);
|
|
1514
|
+
this.bl(e, h, i, j, a, b, c, d);
|
|
1357
1515
|
}
|
|
1358
1516
|
};
|
|
1359
1517
|
ToolActionNumberInput.$t = markType(ToolActionNumberInput, 'ToolActionNumberInput', ToolAction.$);
|
|
@@ -1429,68 +1587,70 @@ var ToolPanel = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1429
1587
|
function ToolPanel() {
|
|
1430
1588
|
var _this = _super.call(this) || this;
|
|
1431
1589
|
_this.l = null;
|
|
1432
|
-
_this.
|
|
1433
|
-
_this.
|
|
1434
|
-
_this.
|
|
1590
|
+
_this.r = null;
|
|
1591
|
+
_this.u = false;
|
|
1592
|
+
_this.s = null;
|
|
1435
1593
|
_this.f = new ToolActionMeasurementContext();
|
|
1436
1594
|
_this.propertyChanged = null;
|
|
1437
1595
|
_this.d = new ToolActionCollection();
|
|
1438
1596
|
_this.contentRefreshed = null;
|
|
1439
|
-
_this.
|
|
1440
|
-
_this.
|
|
1441
|
-
_this.
|
|
1442
|
-
_this.
|
|
1443
|
-
_this.
|
|
1597
|
+
_this.v = false;
|
|
1598
|
+
_this.y = new Dictionary$2(String_$type, List$1.$.specialize(ToolAction.$), 0);
|
|
1599
|
+
_this.z = new Dictionary$2(String_$type, List$1.$.specialize(ToolAction.$), 0);
|
|
1600
|
+
_this.x = new Dictionary$2(String_$type, ToolAction.$, 0);
|
|
1601
|
+
_this.o = null;
|
|
1444
1602
|
_this.a = null;
|
|
1445
|
-
_this.
|
|
1446
|
-
_this.
|
|
1603
|
+
_this.m = 0;
|
|
1604
|
+
_this.a9 = ToolPanel.bc;
|
|
1605
|
+
_this.ba = ToolPanel.bd;
|
|
1447
1606
|
_this.b = null;
|
|
1448
|
-
_this.
|
|
1607
|
+
_this.ab = Number.POSITIVE_INFINITY;
|
|
1449
1608
|
_this.i = ToolPanel.j;
|
|
1450
1609
|
_this.onCommand = null;
|
|
1451
1610
|
var a = _this.actions;
|
|
1452
|
-
a.collectionChanged = delegateCombine(a.collectionChanged, runOn(_this, _this.
|
|
1453
|
-
|
|
1611
|
+
a.collectionChanged = delegateCombine(a.collectionChanged, runOn(_this, _this.an));
|
|
1612
|
+
NativeUIXInputsFactory.h();
|
|
1613
|
+
NativeUIInputsFactory.n();
|
|
1454
1614
|
var b = new ToolPanelView();
|
|
1455
1615
|
b.c = _this;
|
|
1456
1616
|
_this.l = b;
|
|
1457
1617
|
_this.l.x();
|
|
1458
1618
|
return _this;
|
|
1459
1619
|
}
|
|
1460
|
-
Object.defineProperty(ToolPanel.prototype, "
|
|
1620
|
+
Object.defineProperty(ToolPanel.prototype, "t", {
|
|
1461
1621
|
get: function () {
|
|
1462
|
-
if (this.
|
|
1463
|
-
this.
|
|
1464
|
-
this.
|
|
1622
|
+
if (this.s == null) {
|
|
1623
|
+
this.s = new SRProvider(this.l.k);
|
|
1624
|
+
this.s.cb("Layouts");
|
|
1465
1625
|
}
|
|
1466
|
-
return this.
|
|
1626
|
+
return this.s;
|
|
1467
1627
|
},
|
|
1468
1628
|
enumerable: true,
|
|
1469
1629
|
configurable: true
|
|
1470
1630
|
});
|
|
1471
|
-
ToolPanel.prototype.
|
|
1631
|
+
ToolPanel.prototype.at = function (a) {
|
|
1472
1632
|
this.b = a;
|
|
1473
1633
|
var b = this.b;
|
|
1474
|
-
b.rowUpdating = delegateCombine(b.rowUpdating, runOn(this, this.
|
|
1634
|
+
b.rowUpdating = delegateCombine(b.rowUpdating, runOn(this, this.am));
|
|
1475
1635
|
var c = this.b;
|
|
1476
|
-
c.contentRefreshed = delegateCombine(c.contentRefreshed, runOn(this, this.
|
|
1636
|
+
c.contentRefreshed = delegateCombine(c.contentRefreshed, runOn(this, this.aj));
|
|
1477
1637
|
this.b.k = this.k;
|
|
1478
1638
|
this.b.ai = true;
|
|
1479
1639
|
var d = this.b;
|
|
1480
|
-
d.itemHeightRequested = delegateCombine(d.itemHeightRequested, runOn(this, this.
|
|
1640
|
+
d.itemHeightRequested = delegateCombine(d.itemHeightRequested, runOn(this, this.ak));
|
|
1481
1641
|
var e = this.b;
|
|
1482
|
-
e.itemWidthRequested = delegateCombine(e.itemWidthRequested, runOn(this, this.
|
|
1642
|
+
e.itemWidthRequested = delegateCombine(e.itemWidthRequested, runOn(this, this.al));
|
|
1483
1643
|
};
|
|
1484
|
-
ToolPanel.prototype.
|
|
1644
|
+
ToolPanel.prototype.aj = function (a, b) {
|
|
1485
1645
|
if (this.contentRefreshed != null) {
|
|
1486
1646
|
this.contentRefreshed(this, new ToolPanelContentRefreshedEventArgs());
|
|
1487
1647
|
}
|
|
1488
1648
|
};
|
|
1489
|
-
ToolPanel.prototype.
|
|
1649
|
+
ToolPanel.prototype.ak = function (a, b) {
|
|
1490
1650
|
var c = b.c;
|
|
1491
1651
|
var d = new ToolActionMeasurementContext();
|
|
1492
|
-
this.
|
|
1493
|
-
c.
|
|
1652
|
+
this.a2(d);
|
|
1653
|
+
c.a7(this, d);
|
|
1494
1654
|
if (!isNaN_(d.c)) {
|
|
1495
1655
|
b.a = d.c;
|
|
1496
1656
|
}
|
|
@@ -1498,33 +1658,34 @@ var ToolPanel = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1498
1658
|
b.a = this.b.av;
|
|
1499
1659
|
}
|
|
1500
1660
|
};
|
|
1501
|
-
ToolPanel.prototype.
|
|
1661
|
+
ToolPanel.prototype.al = function (a, b) {
|
|
1502
1662
|
var c = b.c;
|
|
1503
1663
|
var d = new ToolActionMeasurementContext();
|
|
1504
|
-
this.
|
|
1505
|
-
c.
|
|
1664
|
+
this.a2(d);
|
|
1665
|
+
c.a7(this, d);
|
|
1506
1666
|
if (!isNaN_(d.d)) {
|
|
1507
1667
|
b.a = d.d;
|
|
1508
1668
|
}
|
|
1509
1669
|
else {
|
|
1510
1670
|
}
|
|
1511
1671
|
};
|
|
1512
|
-
ToolPanel.prototype.
|
|
1672
|
+
ToolPanel.prototype.am = function (a, b) {
|
|
1513
1673
|
var c = b.a.n;
|
|
1514
1674
|
var d = a;
|
|
1515
1675
|
if (this.k == 1) {
|
|
1516
1676
|
var e = new ToolActionMeasurementContext();
|
|
1517
|
-
this.
|
|
1518
|
-
c.
|
|
1519
|
-
c.
|
|
1677
|
+
this.a2(e);
|
|
1678
|
+
c.a7(this, e);
|
|
1679
|
+
c.bd(d, this, b, e);
|
|
1520
1680
|
}
|
|
1521
1681
|
else {
|
|
1522
|
-
c.
|
|
1682
|
+
c.bd(d, this, b, this.f);
|
|
1523
1683
|
}
|
|
1524
1684
|
};
|
|
1525
|
-
ToolPanel.prototype.
|
|
1526
|
-
this.
|
|
1527
|
-
this.
|
|
1685
|
+
ToolPanel.prototype.az = function (a) {
|
|
1686
|
+
this.ab = a.width;
|
|
1687
|
+
this.a5();
|
|
1688
|
+
this.b.notifySizeChanged();
|
|
1528
1689
|
};
|
|
1529
1690
|
Object.defineProperty(ToolPanel.prototype, "actions", {
|
|
1530
1691
|
get: function () {
|
|
@@ -1534,13 +1695,13 @@ var ToolPanel = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1534
1695
|
var b = this.d;
|
|
1535
1696
|
this.d = a;
|
|
1536
1697
|
if (b != this.d) {
|
|
1537
|
-
this.
|
|
1698
|
+
this.a0("Actions", b, this.d);
|
|
1538
1699
|
}
|
|
1539
1700
|
},
|
|
1540
1701
|
enumerable: true,
|
|
1541
1702
|
configurable: true
|
|
1542
1703
|
});
|
|
1543
|
-
ToolPanel.prototype.
|
|
1704
|
+
ToolPanel.prototype.an = function (a, b) {
|
|
1544
1705
|
var e_1, _a, e_2, _b;
|
|
1545
1706
|
if (b.oldItems != null) {
|
|
1546
1707
|
try {
|
|
@@ -1548,7 +1709,7 @@ var ToolPanel = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1548
1709
|
var c = _d.value;
|
|
1549
1710
|
if (typeCast(INotifyPropertyChanged_$type, c) !== null) {
|
|
1550
1711
|
var d = c;
|
|
1551
|
-
d.propertyChanged = delegateRemove(d.propertyChanged, runOn(this, this.
|
|
1712
|
+
d.propertyChanged = delegateRemove(d.propertyChanged, runOn(this, this.au));
|
|
1552
1713
|
}
|
|
1553
1714
|
}
|
|
1554
1715
|
}
|
|
@@ -1572,7 +1733,7 @@ var ToolPanel = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1572
1733
|
var e = _f.value;
|
|
1573
1734
|
if (typeCast(INotifyPropertyChanged_$type, e) !== null) {
|
|
1574
1735
|
var f = e;
|
|
1575
|
-
f.propertyChanged = delegateCombine(f.propertyChanged, runOn(this, this.
|
|
1736
|
+
f.propertyChanged = delegateCombine(f.propertyChanged, runOn(this, this.au));
|
|
1576
1737
|
}
|
|
1577
1738
|
}
|
|
1578
1739
|
}
|
|
@@ -1590,93 +1751,94 @@ var ToolPanel = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1590
1751
|
}
|
|
1591
1752
|
}
|
|
1592
1753
|
}
|
|
1593
|
-
this.
|
|
1754
|
+
this.a8();
|
|
1755
|
+
this.ay();
|
|
1594
1756
|
};
|
|
1595
|
-
ToolPanel.prototype.
|
|
1596
|
-
this.
|
|
1757
|
+
ToolPanel.prototype.ay = function () {
|
|
1758
|
+
this.a5();
|
|
1597
1759
|
};
|
|
1598
|
-
ToolPanel.prototype.
|
|
1599
|
-
if (this.
|
|
1760
|
+
ToolPanel.prototype.a5 = function () {
|
|
1761
|
+
if (this.v) {
|
|
1600
1762
|
return;
|
|
1601
1763
|
}
|
|
1602
|
-
this.
|
|
1603
|
-
this.a.enqueueAction(runOn(this, this.
|
|
1764
|
+
this.v = true;
|
|
1765
|
+
this.a.enqueueAction(runOn(this, this.aq));
|
|
1604
1766
|
};
|
|
1605
|
-
ToolPanel.prototype.
|
|
1606
|
-
if (!this.
|
|
1767
|
+
ToolPanel.prototype.aq = function () {
|
|
1768
|
+
if (!this.v) {
|
|
1607
1769
|
return;
|
|
1608
1770
|
}
|
|
1609
|
-
this.
|
|
1610
|
-
this.
|
|
1611
|
-
this.
|
|
1771
|
+
this.v = false;
|
|
1772
|
+
this.ao();
|
|
1773
|
+
this.a7();
|
|
1612
1774
|
for (var a = 0; a < this.d.count; a++) {
|
|
1613
|
-
this.
|
|
1775
|
+
this.av(this.d._inner[a]);
|
|
1614
1776
|
}
|
|
1615
|
-
this.
|
|
1777
|
+
this.ar();
|
|
1616
1778
|
};
|
|
1617
|
-
ToolPanel.prototype.
|
|
1618
|
-
this.
|
|
1779
|
+
ToolPanel.prototype.ao = function () {
|
|
1780
|
+
this.y.clear();
|
|
1781
|
+
this.z.clear();
|
|
1619
1782
|
this.x.clear();
|
|
1620
|
-
this.v.clear();
|
|
1621
1783
|
for (var a = 0; a < this.d.count; a++) {
|
|
1622
1784
|
this.d._inner[a].e = this;
|
|
1623
|
-
if (this.d._inner[a].
|
|
1624
|
-
this.
|
|
1785
|
+
if (this.d._inner[a].ar != null) {
|
|
1786
|
+
this.x.item(this.d._inner[a].ar, this.d._inner[a]);
|
|
1625
1787
|
}
|
|
1626
1788
|
}
|
|
1627
1789
|
for (var b = 0; b < this.d.count; b++) {
|
|
1628
|
-
if (this.d._inner[b].
|
|
1629
|
-
if (this.
|
|
1630
|
-
if (!this.
|
|
1631
|
-
this.
|
|
1790
|
+
if (this.d._inner[b].a0 != null) {
|
|
1791
|
+
if (this.x.containsKey(this.d._inner[b].a0)) {
|
|
1792
|
+
if (!this.y.containsKey(this.d._inner[b].a0)) {
|
|
1793
|
+
this.y.item(this.d._inner[b].a0, new List$1(ToolAction.$, 0));
|
|
1632
1794
|
}
|
|
1633
|
-
var c = this.
|
|
1795
|
+
var c = this.y.item(this.d._inner[b].a0);
|
|
1634
1796
|
c.add(this.d._inner[b]);
|
|
1635
1797
|
}
|
|
1636
1798
|
}
|
|
1637
1799
|
}
|
|
1638
1800
|
for (var d = 0; d < this.d.count; d++) {
|
|
1639
|
-
if (this.d._inner[d].
|
|
1640
|
-
var e = this.d._inner[d].
|
|
1641
|
-
if (!this.
|
|
1642
|
-
this.
|
|
1801
|
+
if (this.d._inner[d].h == 6) {
|
|
1802
|
+
var e = this.d._inner[d].bk;
|
|
1803
|
+
if (!this.z.containsKey(e)) {
|
|
1804
|
+
this.z.item(e, new List$1(ToolAction.$, 0));
|
|
1643
1805
|
}
|
|
1644
|
-
this.
|
|
1806
|
+
this.z.item(e).add(this.d._inner[d]);
|
|
1645
1807
|
}
|
|
1646
1808
|
}
|
|
1647
1809
|
};
|
|
1648
|
-
ToolPanel.prototype.
|
|
1649
|
-
if (a.
|
|
1810
|
+
ToolPanel.prototype.w = function (a) {
|
|
1811
|
+
if (a.ar == null) {
|
|
1650
1812
|
return false;
|
|
1651
1813
|
}
|
|
1652
|
-
return this.
|
|
1814
|
+
return this.y.containsKey(a.ar);
|
|
1653
1815
|
};
|
|
1654
1816
|
ToolPanel.prototype.c = function (a) {
|
|
1655
|
-
if (this.
|
|
1656
|
-
return this.
|
|
1817
|
+
if (this.x.containsKey(a)) {
|
|
1818
|
+
return this.x.item(a);
|
|
1657
1819
|
}
|
|
1658
1820
|
return null;
|
|
1659
1821
|
};
|
|
1660
|
-
ToolPanel.prototype.
|
|
1661
|
-
if (a.
|
|
1822
|
+
ToolPanel.prototype.aa = function (a) {
|
|
1823
|
+
if (a.ar == null) {
|
|
1662
1824
|
return null;
|
|
1663
1825
|
}
|
|
1664
|
-
if (this.
|
|
1665
|
-
return this.
|
|
1826
|
+
if (this.y.containsKey(a.ar)) {
|
|
1827
|
+
return this.y.item(a.ar);
|
|
1666
1828
|
}
|
|
1667
1829
|
return null;
|
|
1668
1830
|
};
|
|
1669
|
-
ToolPanel.prototype.
|
|
1831
|
+
ToolPanel.prototype.av = function (a) {
|
|
1670
1832
|
var b = new ToolActionMeasurementContext();
|
|
1671
|
-
this.
|
|
1672
|
-
a.
|
|
1673
|
-
this.
|
|
1833
|
+
this.a2(b);
|
|
1834
|
+
a.a7(this, b);
|
|
1835
|
+
this.aw(this.f, b);
|
|
1674
1836
|
};
|
|
1675
|
-
ToolPanel.prototype.
|
|
1837
|
+
ToolPanel.prototype.a2 = function (a) {
|
|
1676
1838
|
a.a = this.k;
|
|
1677
|
-
a.b = this.
|
|
1839
|
+
a.b = this.ab;
|
|
1678
1840
|
};
|
|
1679
|
-
ToolPanel.prototype.
|
|
1841
|
+
ToolPanel.prototype.aw = function (a, b) {
|
|
1680
1842
|
if (!isNaN_(b.e)) {
|
|
1681
1843
|
if (isNaN_(a.e)) {
|
|
1682
1844
|
a.e = b.e;
|
|
@@ -1694,39 +1856,39 @@ var ToolPanel = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1694
1856
|
}
|
|
1695
1857
|
}
|
|
1696
1858
|
};
|
|
1697
|
-
ToolPanel.prototype.
|
|
1859
|
+
ToolPanel.prototype.a7 = function () {
|
|
1698
1860
|
this.f = new ToolActionMeasurementContext();
|
|
1699
1861
|
this.f.a = this.k;
|
|
1700
|
-
this.f.b = this.
|
|
1862
|
+
this.f.b = this.ab;
|
|
1701
1863
|
};
|
|
1702
|
-
ToolPanel.prototype.
|
|
1864
|
+
ToolPanel.prototype.ar = function () {
|
|
1703
1865
|
if (this.b.itemsSource != this.actions) {
|
|
1704
1866
|
this.b.itemsSource = this.actions;
|
|
1705
1867
|
}
|
|
1706
1868
|
};
|
|
1707
|
-
ToolPanel.prototype.
|
|
1708
|
-
if (this.
|
|
1709
|
-
this.
|
|
1869
|
+
ToolPanel.prototype.as = function () {
|
|
1870
|
+
if (this.v) {
|
|
1871
|
+
this.aq();
|
|
1710
1872
|
}
|
|
1711
1873
|
if (this.b != null) {
|
|
1712
1874
|
this.b.bt();
|
|
1713
1875
|
}
|
|
1714
1876
|
};
|
|
1715
|
-
ToolPanel.prototype.
|
|
1716
|
-
var b = a.
|
|
1717
|
-
var c = a.
|
|
1718
|
-
if (this.
|
|
1719
|
-
if (this.
|
|
1720
|
-
for (var d = 0; d < this.
|
|
1721
|
-
if (this.
|
|
1722
|
-
this.
|
|
1877
|
+
ToolPanel.prototype.a6 = function (a) {
|
|
1878
|
+
var b = a.bk;
|
|
1879
|
+
var c = a.ar;
|
|
1880
|
+
if (this.z != null) {
|
|
1881
|
+
if (this.z.containsKey(b)) {
|
|
1882
|
+
for (var d = 0; d < this.z.item(b).count; d++) {
|
|
1883
|
+
if (this.z.item(b)._inner[d].ar != c) {
|
|
1884
|
+
this.z.item(b)._inner[d].bl();
|
|
1723
1885
|
}
|
|
1724
1886
|
}
|
|
1725
1887
|
}
|
|
1726
1888
|
}
|
|
1727
1889
|
};
|
|
1728
|
-
ToolPanel.prototype.
|
|
1729
|
-
this.
|
|
1890
|
+
ToolPanel.prototype.au = function (a, b) {
|
|
1891
|
+
this.ay();
|
|
1730
1892
|
};
|
|
1731
1893
|
ToolPanel.prototype.notifySizeChanged = function () {
|
|
1732
1894
|
this.l.u();
|
|
@@ -1737,40 +1899,43 @@ var ToolPanel = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1737
1899
|
ToolPanel.prototype.provideContainer = function (a) {
|
|
1738
1900
|
this.l.v(a);
|
|
1739
1901
|
};
|
|
1740
|
-
Object.defineProperty(ToolPanel.prototype, "
|
|
1902
|
+
Object.defineProperty(ToolPanel.prototype, "p", {
|
|
1741
1903
|
get: function () {
|
|
1742
|
-
return this.
|
|
1904
|
+
return this.o;
|
|
1743
1905
|
},
|
|
1744
1906
|
set: function (a) {
|
|
1745
|
-
var b = this.
|
|
1746
|
-
this.
|
|
1747
|
-
if (b != this.
|
|
1748
|
-
this.
|
|
1907
|
+
var b = this.o;
|
|
1908
|
+
this.o = a;
|
|
1909
|
+
if (b != this.o) {
|
|
1910
|
+
this.a0("CellTextStyle", b, this.o);
|
|
1749
1911
|
}
|
|
1750
1912
|
},
|
|
1751
1913
|
enumerable: true,
|
|
1752
1914
|
configurable: true
|
|
1753
1915
|
});
|
|
1754
|
-
ToolPanel.prototype.
|
|
1755
|
-
if (this.
|
|
1916
|
+
ToolPanel.prototype.q = function () {
|
|
1917
|
+
if (this.p == null) {
|
|
1756
1918
|
return this.l.f();
|
|
1757
1919
|
}
|
|
1758
|
-
return this.
|
|
1920
|
+
return this.p;
|
|
1759
1921
|
};
|
|
1760
|
-
ToolPanel.prototype.
|
|
1922
|
+
ToolPanel.prototype.a0 = function (a, b, c) {
|
|
1761
1923
|
if (this.propertyChanged != null) {
|
|
1762
1924
|
this.propertyChanged(this, new PropertyChangedEventArgs(a));
|
|
1763
1925
|
}
|
|
1764
|
-
this.
|
|
1926
|
+
this.a3(a, b, c);
|
|
1765
1927
|
};
|
|
1766
|
-
ToolPanel.prototype.
|
|
1928
|
+
ToolPanel.prototype.a3 = function (a, b, c) {
|
|
1767
1929
|
switch (a) {
|
|
1930
|
+
case "BaseTheme":
|
|
1931
|
+
this.a8();
|
|
1932
|
+
break;
|
|
1768
1933
|
case "CellTextStyle":
|
|
1769
|
-
this.
|
|
1934
|
+
this.a5();
|
|
1770
1935
|
break;
|
|
1771
1936
|
case "BackgroundColor":
|
|
1772
1937
|
case "TextColor":
|
|
1773
|
-
this.
|
|
1938
|
+
this.a5();
|
|
1774
1939
|
break;
|
|
1775
1940
|
case "Orientation":
|
|
1776
1941
|
if (this.b != null) {
|
|
@@ -1780,39 +1945,58 @@ var ToolPanel = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1780
1945
|
case "Actions":
|
|
1781
1946
|
if (b != null) {
|
|
1782
1947
|
var d = b;
|
|
1783
|
-
d.collectionChanged = delegateRemove(d.collectionChanged, runOn(this, this.
|
|
1948
|
+
d.collectionChanged = delegateRemove(d.collectionChanged, runOn(this, this.an));
|
|
1784
1949
|
}
|
|
1785
1950
|
if (c != null) {
|
|
1786
1951
|
var e = c;
|
|
1787
|
-
e.collectionChanged = delegateCombine(e.collectionChanged, runOn(this, this.
|
|
1952
|
+
e.collectionChanged = delegateCombine(e.collectionChanged, runOn(this, this.an));
|
|
1788
1953
|
}
|
|
1789
|
-
this.
|
|
1954
|
+
this.a5();
|
|
1790
1955
|
break;
|
|
1791
1956
|
}
|
|
1792
1957
|
};
|
|
1793
|
-
|
|
1958
|
+
ToolPanel.prototype.a8 = function () {
|
|
1959
|
+
for (var a = 0; a < this.d.count; a++) {
|
|
1960
|
+
this.d._inner[a].g = this.n;
|
|
1961
|
+
}
|
|
1962
|
+
};
|
|
1963
|
+
Object.defineProperty(ToolPanel.prototype, "n", {
|
|
1964
|
+
get: function () {
|
|
1965
|
+
return this.m;
|
|
1966
|
+
},
|
|
1967
|
+
set: function (a) {
|
|
1968
|
+
var b = this.m;
|
|
1969
|
+
this.m = a;
|
|
1970
|
+
if (b != this.m) {
|
|
1971
|
+
this.a0("BaseTheme", enumGetBox(BaseControlTheme_$type, b), enumGetBox(BaseControlTheme_$type, a));
|
|
1972
|
+
}
|
|
1973
|
+
},
|
|
1974
|
+
enumerable: true,
|
|
1975
|
+
configurable: true
|
|
1976
|
+
});
|
|
1977
|
+
Object.defineProperty(ToolPanel.prototype, "bb", {
|
|
1794
1978
|
get: function () {
|
|
1795
|
-
return this.
|
|
1979
|
+
return this.a9;
|
|
1796
1980
|
},
|
|
1797
1981
|
set: function (a) {
|
|
1798
|
-
var b = this.
|
|
1799
|
-
this.
|
|
1800
|
-
if (b != this.
|
|
1801
|
-
this.
|
|
1982
|
+
var b = this.a9;
|
|
1983
|
+
this.a9 = a;
|
|
1984
|
+
if (b != this.a9) {
|
|
1985
|
+
this.a0("BackgroundColor", b, a);
|
|
1802
1986
|
}
|
|
1803
1987
|
},
|
|
1804
1988
|
enumerable: true,
|
|
1805
1989
|
configurable: true
|
|
1806
1990
|
});
|
|
1807
|
-
Object.defineProperty(ToolPanel.prototype, "
|
|
1991
|
+
Object.defineProperty(ToolPanel.prototype, "be", {
|
|
1808
1992
|
get: function () {
|
|
1809
|
-
return this.
|
|
1993
|
+
return this.ba;
|
|
1810
1994
|
},
|
|
1811
1995
|
set: function (a) {
|
|
1812
|
-
var b = this.
|
|
1813
|
-
this.
|
|
1814
|
-
if (b != this.
|
|
1815
|
-
this.
|
|
1996
|
+
var b = this.ba;
|
|
1997
|
+
this.ba = a;
|
|
1998
|
+
if (b != this.ba) {
|
|
1999
|
+
this.a0("TextColor", b, a);
|
|
1816
2000
|
}
|
|
1817
2001
|
},
|
|
1818
2002
|
enumerable: true,
|
|
@@ -1826,13 +2010,13 @@ var ToolPanel = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1826
2010
|
var b = this.i;
|
|
1827
2011
|
this.i = a;
|
|
1828
2012
|
if (b != this.i) {
|
|
1829
|
-
this.
|
|
2013
|
+
this.a0("Orientation", enumGetBox(ToolPanelOrientation_$type, b), enumGetBox(ToolPanelOrientation_$type, a));
|
|
1830
2014
|
}
|
|
1831
2015
|
},
|
|
1832
2016
|
enumerable: true,
|
|
1833
2017
|
configurable: true
|
|
1834
2018
|
});
|
|
1835
|
-
ToolPanel.prototype.
|
|
2019
|
+
ToolPanel.prototype.a1 = function (a, b) {
|
|
1836
2020
|
if (this.onCommand != null) {
|
|
1837
2021
|
this.onCommand(this, ((function () {
|
|
1838
2022
|
var $ret = new ToolCommandEventArgs();
|
|
@@ -1840,13 +2024,13 @@ var ToolPanel = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1840
2024
|
return $ret;
|
|
1841
2025
|
})()));
|
|
1842
2026
|
}
|
|
1843
|
-
if (a.
|
|
1844
|
-
this.
|
|
2027
|
+
if (a.h == 6) {
|
|
2028
|
+
this.a6(a);
|
|
1845
2029
|
}
|
|
1846
2030
|
};
|
|
1847
2031
|
ToolPanel.$t = markType(ToolPanel, 'ToolPanel', Base.$, [INotifyPropertyChanged_$type]);
|
|
1848
|
-
ToolPanel.
|
|
1849
|
-
ToolPanel.
|
|
2032
|
+
ToolPanel.bc = BrushUtil.g(255, 248, 248, 248);
|
|
2033
|
+
ToolPanel.bd = BrushUtil.g(255, 24, 29, 31);
|
|
1850
2034
|
ToolPanel.j = 0;
|
|
1851
2035
|
return ToolPanel;
|
|
1852
2036
|
}(Base));
|