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.
Files changed (83) hide show
  1. package/bundles/igniteui-webcomponents-layouts.umd.js +1495 -2681
  2. package/bundles/igniteui-webcomponents-layouts.umd.min.js +1 -1
  3. package/esm2015/lib/ListPanelView_combined.js +31 -18
  4. package/esm2015/lib/PropertyEditorPanelView_combined.js +154 -154
  5. package/esm2015/lib/PropertyEditorPropertyDescription_combined.js +127 -116
  6. package/esm2015/lib/ToolActionButton.js +1 -91
  7. package/esm2015/lib/ToolPanelView_combined.js +862 -692
  8. package/esm2015/lib/ToolbarView_combined.js +123 -96
  9. package/esm2015/lib/igc-property-editor-property-description-component.js +66 -31
  10. package/esm2015/lib/igc-tool-action-component.js +42 -31
  11. package/esm2015/lib/igc-tool-action-menu-base-component.js +1 -1
  12. package/esm2015/lib/igc-tool-action-radio-component.js +7 -4
  13. package/esm2015/lib/igc-tool-panel-component.js +21 -10
  14. package/esm2015/lib/igc-toolbar-component.js +23 -12
  15. package/esm2015/public_api.js +0 -13
  16. package/esm5/lib/ListPanelView_combined.js +31 -18
  17. package/esm5/lib/PropertyEditorPanelView_combined.js +154 -154
  18. package/esm5/lib/PropertyEditorPropertyDescription_combined.js +131 -116
  19. package/esm5/lib/ToolActionButton.js +1 -94
  20. package/esm5/lib/ToolPanelView_combined.js +877 -693
  21. package/esm5/lib/ToolbarView_combined.js +123 -92
  22. package/esm5/lib/igc-property-editor-property-description-component.js +70 -31
  23. package/esm5/lib/igc-tool-action-component.js +46 -31
  24. package/esm5/lib/igc-tool-action-menu-base-component.js +1 -1
  25. package/esm5/lib/igc-tool-action-radio-component.js +6 -3
  26. package/esm5/lib/igc-tool-panel-component.js +25 -10
  27. package/esm5/lib/igc-toolbar-component.js +27 -12
  28. package/esm5/public_api.js +0 -13
  29. package/fesm2015/igniteui-webcomponents-layouts.js +1460 -2516
  30. package/fesm5/igniteui-webcomponents-layouts.js +1493 -2663
  31. package/lib/PropertyEditorPropertyDescription_combined.d.ts +24 -22
  32. package/lib/ToolActionButton.d.ts +1 -23
  33. package/lib/ToolPanelView_combined.d.ts +172 -146
  34. package/lib/ToolbarView_combined.d.ts +33 -28
  35. package/lib/igc-property-editor-property-description-component.d.ts +3 -0
  36. package/lib/igc-tool-action-component.d.ts +5 -0
  37. package/lib/igc-tool-action-radio-component.d.ts +4 -1
  38. package/lib/igc-tool-panel-component.d.ts +5 -0
  39. package/lib/igc-toolbar-component.d.ts +5 -0
  40. package/package.json +3 -3
  41. package/public_api.d.ts +0 -13
  42. package/esm2015/lib/OnClosedEventArgs.js +0 -16
  43. package/esm2015/lib/OnPopupEventArgs.js +0 -16
  44. package/esm2015/lib/Popup.js +0 -7
  45. package/esm2015/lib/PopupAlignment.js +0 -29
  46. package/esm2015/lib/PopupDirection.js +0 -29
  47. package/esm2015/lib/PopupView.js +0 -7
  48. package/esm2015/lib/PopupView_combined.js +0 -647
  49. package/esm2015/lib/PopupVisualModelExport.js +0 -36
  50. package/esm2015/lib/Popup_InnerAnimationInfo.js +0 -21
  51. package/esm2015/lib/Popup_OuterAnimationInfo.js +0 -23
  52. package/esm2015/lib/igc-on-closed-event-args.js +0 -24
  53. package/esm2015/lib/igc-on-popup-event-args.js +0 -24
  54. package/esm2015/lib/igc-popup-component.js +0 -388
  55. package/esm2015/lib/igc-popup-module.js +0 -19
  56. package/esm5/lib/OnClosedEventArgs.js +0 -20
  57. package/esm5/lib/OnPopupEventArgs.js +0 -20
  58. package/esm5/lib/Popup.js +0 -7
  59. package/esm5/lib/PopupAlignment.js +0 -29
  60. package/esm5/lib/PopupDirection.js +0 -29
  61. package/esm5/lib/PopupView.js +0 -7
  62. package/esm5/lib/PopupView_combined.js +0 -700
  63. package/esm5/lib/PopupVisualModelExport.js +0 -38
  64. package/esm5/lib/Popup_InnerAnimationInfo.js +0 -23
  65. package/esm5/lib/Popup_OuterAnimationInfo.js +0 -25
  66. package/esm5/lib/igc-on-closed-event-args.js +0 -30
  67. package/esm5/lib/igc-on-popup-event-args.js +0 -30
  68. package/esm5/lib/igc-popup-component.js +0 -473
  69. package/esm5/lib/igc-popup-module.js +0 -23
  70. package/lib/OnClosedEventArgs.d.ts +0 -7
  71. package/lib/OnPopupEventArgs.d.ts +0 -7
  72. package/lib/Popup.d.ts +0 -1
  73. package/lib/PopupAlignment.d.ts +0 -22
  74. package/lib/PopupDirection.d.ts +0 -22
  75. package/lib/PopupView.d.ts +0 -1
  76. package/lib/PopupView_combined.d.ts +0 -126
  77. package/lib/PopupVisualModelExport.d.ts +0 -14
  78. package/lib/Popup_InnerAnimationInfo.d.ts +0 -10
  79. package/lib/Popup_OuterAnimationInfo.d.ts +0 -12
  80. package/lib/igc-on-closed-event-args.d.ts +0 -12
  81. package/lib/igc-on-popup-event-args.d.ts +0 -12
  82. package/lib/igc-popup-component.d.ts +0 -110
  83. 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, enumGetBox } from "igniteui-webcomponents-core";
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 "./Popup";
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.aq(b);
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
- if (this.c.p != null) {
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.ba);
122
- NativeUI.k(b, this.c.a7);
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.o();
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.v;
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, "ao", {
201
+ Object.defineProperty(ToolAction.prototype, "ar", {
198
202
  get: function () {
199
- if (this.ar != null) {
200
- return this.ar;
203
+ if (this.au != null) {
204
+ return this.au;
201
205
  }
202
- if (this.ap != null) {
203
- return this.a1(this.ap);
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.a1 = function (a) {
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.g = function () {
226
+ ToolAction.prototype.i = function () {
223
227
  var _this = this;
224
228
  return ((function () {
225
229
  var $ret = new ToolCommandArgument();
226
- $ret.argumentName = _this.az();
227
- $ret.value = _this.w();
230
+ $ret.argumentName = _this.a2();
231
+ $ret.value = _this.y();
228
232
  return $ret;
229
233
  })());
230
234
  };
231
- ToolAction.prototype.az = function () {
232
- if (this.af != null) {
233
- return this.af;
235
+ ToolAction.prototype.a2 = function () {
236
+ if (this.ai != null) {
237
+ return this.ai;
234
238
  }
235
- return this.ao != null ? this.ao : "Unknown";
239
+ return this.ar != null ? this.ar : "Unknown";
236
240
  };
237
- ToolAction.prototype.w = function () {
238
- if (this.v != null) {
239
- return this.v;
241
+ ToolAction.prototype.y = function () {
242
+ if (this.x != null) {
243
+ return this.x;
240
244
  }
241
- return this.x();
245
+ return this.z();
242
246
  };
243
- ToolAction.prototype.x = function () {
247
+ ToolAction.prototype.z = function () {
244
248
  return null;
245
249
  };
246
- Object.defineProperty(ToolAction.prototype, "ax", {
250
+ Object.defineProperty(ToolAction.prototype, "a0", {
247
251
  get: function () {
248
- return this.ae;
252
+ return this.ag;
249
253
  },
250
254
  set: function (a) {
251
- var b = this.ae;
252
- this.ae = a;
253
- if (b != this.ae) {
254
- this.a8("ParentId", b, this.ae);
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.a0 = function () {
261
- if (this.ai != null) {
262
- return this.ai;
264
+ ToolAction.prototype.a3 = function () {
265
+ if (this.al != null) {
266
+ return this.al;
263
267
  }
264
- return this.ao;
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.z;
286
+ return this.aa;
269
287
  },
270
288
  set: function (a) {
271
- var b = this.z;
272
- this.z = a;
273
- if (b != this.z) {
274
- this.a8("CommandId", b, this.z);
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, "af", {
298
+ Object.defineProperty(ToolAction.prototype, "x", {
281
299
  get: function () {
282
- return this.y;
300
+ return this.w;
283
301
  },
284
302
  set: function (a) {
285
- var b = this.y;
286
- this.y = a;
287
- if (b != this.y) {
288
- this.a8("CommandArgument", b, this.y);
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, "v", {
312
+ Object.defineProperty(ToolAction.prototype, "g", {
295
313
  get: function () {
296
- return this.u;
314
+ return this.f;
297
315
  },
298
316
  set: function (a) {
299
- var b = this.u;
300
- this.u = a;
301
- if (b != this.u) {
302
- this.a8("CommandArgumentValue", b, this.u);
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, "r", {
326
+ Object.defineProperty(ToolAction.prototype, "t", {
309
327
  get: function () {
310
- return this.k;
328
+ return this.m;
311
329
  },
312
330
  set: function (a) {
313
- var b = this.k;
314
- this.k = a;
315
- if (b != this.k) {
316
- this.a8("PaddingLeft", b, this.k);
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, "s", {
340
+ Object.defineProperty(ToolAction.prototype, "u", {
323
341
  get: function () {
324
- return this.l;
342
+ return this.n;
325
343
  },
326
344
  set: function (a) {
327
- var b = this.l;
328
- this.l = a;
329
- if (b != this.l) {
330
- this.a8("PaddingRight", b, this.l);
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, "q", {
354
+ Object.defineProperty(ToolAction.prototype, "s", {
337
355
  get: function () {
338
- return this.j;
356
+ return this.l;
339
357
  },
340
358
  set: function (a) {
341
- var b = this.j;
342
- this.j = a;
343
- if (b != this.j) {
344
- this.a8("PaddingBottom", b, this.j);
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, "t", {
368
+ Object.defineProperty(ToolAction.prototype, "v", {
351
369
  get: function () {
352
- return this.m;
370
+ return this.o;
353
371
  },
354
372
  set: function (a) {
355
- var b = this.m;
356
- this.m = a;
357
- if (b != this.m) {
358
- this.a8("PaddingTop", b, this.m);
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, "i", {
382
+ Object.defineProperty(ToolAction.prototype, "k", {
365
383
  get: function () {
366
- return this.ax != null;
384
+ return this.a0 != null;
367
385
  },
368
386
  enumerable: true,
369
387
  configurable: true
370
388
  });
371
- Object.defineProperty(ToolAction.prototype, "ar", {
389
+ Object.defineProperty(ToolAction.prototype, "au", {
372
390
  get: function () {
373
- return this.ad;
391
+ return this.af;
374
392
  },
375
393
  set: function (a) {
376
- var b = this.ad;
377
- this.ad = a;
378
- if (b != this.ad) {
379
- this.a8("Name", b, this.ad);
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, "ap", {
403
+ Object.defineProperty(ToolAction.prototype, "as", {
386
404
  get: function () {
387
- return this.ac;
405
+ return this.ae;
388
406
  },
389
407
  set: function (a) {
390
- var b = this.ac;
391
- this.ac = a;
392
- if (b != this.ac) {
393
- this.a8("Label", b, this.ac);
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, "am", {
417
+ Object.defineProperty(ToolAction.prototype, "ap", {
400
418
  get: function () {
401
- return this.ab;
419
+ return this.ad;
402
420
  },
403
421
  set: function (a) {
404
- var b = this.ab;
405
- this.ab = a;
406
- if (b != this.ab) {
407
- this.a8("IconName", b, this.ab);
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, "ak", {
431
+ Object.defineProperty(ToolAction.prototype, "an", {
414
432
  get: function () {
415
- return this.aa;
433
+ return this.ac;
416
434
  },
417
435
  set: function (a) {
418
- var b = this.aa;
419
- this.aa = a;
420
- if (b != this.aa) {
421
- this.a8("IconCollectionName", b, this.aa);
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.a8 = function (a, b, c) {
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.bc(a, b, c);
449
+ this.bf(a, b, c);
432
450
  };
433
- ToolAction.prototype.get_f = function () {
451
+ ToolAction.prototype.get_h = function () {
434
452
  return 0;
435
453
  };
436
- Object.defineProperty(ToolAction.prototype, "f", {
454
+ Object.defineProperty(ToolAction.prototype, "h", {
437
455
  get: function () {
438
- return this.get_f();
456
+ return this.get_h();
439
457
  },
440
458
  enumerable: true,
441
459
  configurable: true
442
460
  });
443
- ToolAction.prototype.bc = function (a, b, c) {
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.ba = function (a, b, c, d) {
446
- this.bb(a, b, c, d);
468
+ ToolAction.prototype.bh = function () {
447
469
  };
448
- ToolAction.prototype.bb = function (a, b, c, d) {
470
+ ToolAction.prototype.bd = function (a, b, c, d) {
471
+ this.be(a, b, c, d);
449
472
  };
450
- ToolAction.prototype.a4 = function (a, b) {
451
- this.a5(a, b);
473
+ ToolAction.prototype.be = function (a, b, c, d) {
452
474
  };
453
- ToolAction.prototype.a5 = function (a, b) {
454
- b.e = this.n(a, b);
455
- b.g = this.p(a, b);
456
- b.f = this.o(a, b);
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.r + this.s);
493
+ c += (this.t + this.u);
469
494
  b.d = c;
470
495
  }
471
496
  };
472
- ToolAction.prototype.o = function (a, b) {
497
+ ToolAction.prototype.q = function (a, b) {
473
498
  return NaN;
474
499
  };
475
- ToolAction.prototype.p = function (a, b) {
476
- if (this.ap == null) {
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.ap);
504
+ var c = a.l.j(this.as);
480
505
  return c;
481
506
  };
482
- ToolAction.prototype.n = function (a, b) {
507
+ ToolAction.prototype.p = function (a, b) {
483
508
  return NaN;
484
509
  };
485
- ToolAction.prototype.a9 = function (a, b) {
486
- this.bd();
487
- if (this.i) {
488
- var c = this.e.c(this.ax);
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.a7(this);
515
+ c.ba(this);
491
516
  }
492
517
  }
493
518
  else {
494
- if (this.e.u(this)) {
519
+ if (this.e.w(this)) {
495
520
  if (this.performed != null) {
496
521
  var d_1 = new ToolActionEventDetailCollection();
497
- this.a3(this, d_1, b);
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.bd = function () {
519
- var a = this.a0();
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.a2(this, c);
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.ay(this, b);
561
+ this.e.a1(this, b);
537
562
  }
538
563
  };
539
- ToolAction.prototype.a2 = function (a, b) {
540
- var c = a.g();
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.y(a);
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].h()) {
548
- this.a2(d._inner[e], b);
572
+ if (d._inner[e].j()) {
573
+ this.a5(d._inner[e], b);
549
574
  }
550
575
  }
551
576
  }
552
577
  };
553
- ToolAction.prototype.h = function () {
578
+ ToolAction.prototype.j = function () {
554
579
  return true;
555
580
  };
556
- ToolAction.prototype.a7 = function (a) {
557
- if (this.i) {
558
- var b = this.e.c(this.ax);
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.a7(a);
585
+ b.ba(a);
561
586
  }
562
587
  }
563
588
  else {
564
- this.a9(this.b(false), a);
589
+ this.bc(this.b(false), a);
565
590
  }
566
591
  };
567
- ToolAction.prototype.a3 = function (a, b, c) {
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.y(a);
595
+ var e = this.e.aa(a);
571
596
  if (e != null) {
572
597
  for (var f = 0; f < e.count; f++) {
573
- this.a3(e._inner[f], b, c);
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.a6(a);
634
+ b.a9(a);
607
635
  return b;
608
636
  };
609
- ToolAction.prototype.a6 = function (a) {
610
- this.ar = a.name;
611
- this.ap = a.label;
612
- this.af = a.commandArgument;
613
- this.v = a.commandArgumentValue;
614
- this.ai = a.commandId;
615
- this.am = a.iconName;
616
- this.ak = a.iconCollectionName;
617
- this.r = a.paddingLeft;
618
- this.s = a.paddingRight;
619
- this.t = a.paddingTop;
620
- this.q = a.paddingBottom;
621
- this.ax = a.parentId;
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.get_f = function () {
746
+ ToolActionLabel.prototype.get_h = function () {
636
747
  return 4;
637
748
  };
638
- ToolActionLabel.prototype.bf = function (a, b, c, d, e, f, g) {
639
- if (a.w == null || EnumUtil.getEnumValue(ToolActionType_$type, a.w) != this.f) {
640
- a.a0 = b;
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.d = 0;
753
+ b.f = 0;
643
754
  }
644
755
  else {
645
- b.d = 3;
756
+ b.f = 3;
646
757
  }
647
- b.a7(0, 2, 1);
648
- b.a6(0, 1, isNaN_(g.e) ? 0 : g.e);
649
- b.a6(1, 1, isNaN_(g.g) ? 0 : g.g);
650
- b.as = new Thickness(1, this.r, this.t, this.s, this.q);
651
- if (b.av == 0) {
652
- b.aw(c);
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.bb(c, 0);
655
- b.ba(c, 1);
656
- c.e = 1;
657
- b.a1 = runOn(this, this.be);
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.h = f.a.j;
660
- b.aj = BrushUtil.g(0, 0, 0, 0);
661
- c.au = this.ap;
662
- c.al = BrushUtil.g(255, 20, 20, 20);
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.be = function (a, b) {
665
- this.a9(this.b(false), this);
775
+ ToolActionLabel.prototype.bi = function (a, b) {
776
+ this.bc(this.b(false), this);
666
777
  };
667
- ToolActionLabel.prototype.bb = function (a, b, c, d) {
778
+ ToolActionLabel.prototype.be = function (a, b, c, d) {
668
779
  var _this = this;
669
- _super.prototype.bb.call(this, a, b, c, d);
780
+ _super.prototype.be.call(this, a, b, c, d);
670
781
  var e = c.b;
671
- if (e.a0 == null || (e.w == null || EnumUtil.getEnumValue(ToolActionType_$type, e.w) != this.f)) {
672
- NativeUIComponent.ab(b.l.r(), [7, 3], function (f) {
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.a0 = g;
676
- _this.bf(e, g, h, a, b, c, d);
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.a0;
682
- var g = f.au(0);
683
- this.bf(e, f, g, a, b, c, d);
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.bf = null;
698
- _this.be = null;
808
+ _this.bj = "channel_1";
809
+ _this.bi = null;
699
810
  return _this;
700
811
  }
701
- ToolActionRadio.prototype.get_f = function () {
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.f;
828
+ b.b = this.h;
708
829
  b.d = a;
709
- if (this.be != null) {
710
- b.c = this.be.aw;
830
+ if (this.bi != null) {
831
+ b.c = this.bi.a1;
711
832
  }
712
833
  return b;
713
834
  };
714
- ToolActionRadio.prototype.x = function () {
715
- return this.be.aw;
835
+ ToolActionRadio.prototype.z = function () {
836
+ return this.bi.a1;
716
837
  };
717
- ToolActionRadio.prototype.bg = function () {
718
- if (this.be != null) {
719
- this.be.aw = false;
838
+ ToolActionRadio.prototype.bl = function () {
839
+ if (this.bi != null) {
840
+ this.bi.a1 = false;
720
841
  }
721
842
  };
722
- ToolActionRadio.prototype.o = function (a, b) {
843
+ ToolActionRadio.prototype.q = function (a, b) {
723
844
  return 30;
724
845
  };
725
- ToolActionRadio.prototype.bi = function (a, b, c, d, e, f, g, h) {
726
- if (a.w == null || EnumUtil.getEnumValue(ToolActionType_$type, a.w) != this.f) {
727
- a.a0 = b;
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.d = 0;
855
+ b.f = 0;
730
856
  }
731
857
  else {
732
- b.d = 3;
733
- }
734
- b.a7(0, 2, 1);
735
- b.a6(0, 1, isNaN_(h.e) ? 0 : h.e);
736
- b.a6(1, 1, isNaN_(h.g) ? 0 : h.g);
737
- b.a6(2, 2, 1);
738
- b.as = new Thickness(1, this.r, this.t, this.s, this.q);
739
- if (b.av == 0) {
740
- b.aw(c);
741
- b.aw(d);
742
- }
743
- b.bb(c, 0);
744
- b.ba(c, 1);
745
- b.bb(d, 0);
746
- b.ba(d, 2);
747
- this.be = d;
748
- d.ax = 25;
749
- d.av = true;
750
- d.d = 2;
751
- d.e = 1;
752
- d.au = runOn(this, this.bh);
753
- c.e = 1;
754
- }
755
- b.h = g.a.j;
756
- c.au = this.ap;
757
- c.al = BrushUtil.g(255, 20, 20, 20);
758
- };
759
- ToolActionRadio.prototype.bh = function (a, b) {
760
- this.a9(this.b(true), this);
761
- };
762
- ToolActionRadio.prototype.bb = function (a, b, c, d) {
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.bb.call(this, a, b, c, d);
890
+ _super.prototype.be.call(this, a, b, c, d);
765
891
  var e = c.b;
766
- if (e.a0 == null || (e.w == null || EnumUtil.getEnumValue(ToolActionType_$type, e.w) != this.f)) {
767
- NativeUIComponent.ab(b.l.r(), [7, 3, 6], function (f) {
768
- var g = f[0];
769
- var h = f[1];
770
- var i = f[2];
771
- e.a0 = g;
772
- _this.bi(e, g, h, i, a, b, c, d);
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 f = e.a0;
777
- var g = f.au(0);
778
- var h = f.au(1);
779
- this.bi(e, f, g, h, a, b, c, d);
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.get_f = function () {
925
+ ToolActionSeparator.prototype.get_h = function () {
795
926
  return 7;
796
927
  };
797
- ToolActionSeparator.prototype.a5 = function (a, b) {
798
- _super.prototype.a5.call(this, a, b);
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.be = function (a, b, c, d, e, f) {
807
- if (a.w == null || EnumUtil.getEnumValue(ToolActionType_$type, a.w) != this.f) {
808
- a.a0 = b;
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.d = 0;
811
- b.e = 3;
941
+ b.f = 0;
942
+ b.g = 3;
812
943
  }
813
944
  else {
814
- b.d = 3;
945
+ b.f = 3;
815
946
  }
816
947
  }
817
948
  if (f.a == 1) {
818
- b.n = DeviceUtils.g(2);
949
+ b.p = DeviceUtils.g(2);
819
950
  }
820
951
  else {
821
- b.h = DeviceUtils.g(2);
952
+ b.j = DeviceUtils.g(2);
822
953
  }
823
- b.aj = BrushUtil.g(255, 200, 200, 200);
824
- b.ak = BrushUtil.g(255, 80, 80, 80);
954
+ b.ao = BrushUtil.g(255, 200, 200, 200);
955
+ b.ap = BrushUtil.g(255, 80, 80, 80);
825
956
  };
826
- ToolActionSeparator.prototype.bb = function (a, b, c, d) {
957
+ ToolActionSeparator.prototype.be = function (a, b, c, d) {
827
958
  var _this = this;
828
- _super.prototype.bb.call(this, a, b, c, d);
959
+ _super.prototype.be.call(this, a, b, c, d);
829
960
  var e = c.b;
830
- if (e.a0 == null || (e.w == null || EnumUtil.getEnumValue(ToolActionType_$type, e.w) != this.f)) {
831
- NativeUIComponent.ab(b.l.r(), [7], function (f) {
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.a0 = g;
834
- _this.be(e, g, a, b, c, d);
964
+ e.a6 = g;
965
+ _this.bi(e, g, a, b, c, d);
835
966
  });
836
967
  }
837
968
  else {
838
- var f = e.a0;
839
- this.be(e, f, a, b, c, d);
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.be = null;
984
+ _this.bi = null;
854
985
  return _this;
855
986
  }
856
- ToolActionIconButton.prototype.get_f = function () {
987
+ ToolActionIconButton.prototype.get_h = function () {
857
988
  return 3;
858
989
  };
859
- ToolActionIconButton.prototype.g = function () {
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.f;
996
+ b.b = this.h;
866
997
  b.d = a;
867
998
  return b;
868
999
  };
869
- ToolActionIconButton.prototype.o = function (a, b) {
1000
+ ToolActionIconButton.prototype.q = function (a, b) {
870
1001
  return 30;
871
1002
  };
872
- ToolActionIconButton.prototype.bg = function (a, b, c, d, e, f, g) {
873
- if (a.w == null || EnumUtil.getEnumValue(ToolActionType_$type, a.w) != this.f) {
874
- a.a0 = b;
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.d = 0;
1012
+ b.f = 0;
877
1013
  }
878
1014
  else {
879
- b.d = 3;
1015
+ b.f = 3;
880
1016
  }
881
- b.a7(0, 2, 1);
882
- b.a6(0, 1, isNaN_(g.f) ? 0 : g.f);
883
- b.as = new Thickness(1, this.r, this.t, this.s, this.q);
884
- if (b.av == 0) {
885
- b.aw(c);
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.bb(c, 0);
888
- b.ba(c, 0);
889
- this.be = c;
890
- this.be.av = 2;
891
- this.be.au = runOn(this, this.bf);
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.be.ay = this.am;
894
- this.be.ax = this.ak;
895
- b.h = f.a.j;
1029
+ this.bi.a3 = this.ap;
1030
+ this.bi.a2 = this.an;
1031
+ b.j = f.a.j;
896
1032
  };
897
- ToolActionIconButton.prototype.bf = function (a, b) {
898
- this.a9(this.b(true), this);
1033
+ ToolActionIconButton.prototype.bj = function (a, b) {
1034
+ this.bc(this.b(true), this);
899
1035
  };
900
- ToolActionIconButton.prototype.bb = function (a, b, c, d) {
1036
+ ToolActionIconButton.prototype.be = function (a, b, c, d) {
901
1037
  var _this = this;
902
- _super.prototype.bb.call(this, a, b, c, d);
1038
+ _super.prototype.be.call(this, a, b, c, d);
903
1039
  var e = c.b;
904
- if (e.a0 == null || (e.w == null || EnumUtil.getEnumValue(ToolActionType_$type, e.w) != this.f)) {
905
- NativeUIComponent.ab(b.l.r(), [7, 10], function (f) {
906
- var g = f[0];
907
- var h = f[1];
908
- e.a0 = g;
909
- _this.bg(e, g, h, a, b, c, d);
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 f = e.a0;
914
- var g = f.au(0);
915
- this.bg(e, f, g, a, b, c, d);
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.get_f = function () {
1071
+ ToolActionGroupHeader.prototype.get_h = function () {
931
1072
  return 1;
932
1073
  };
933
- ToolActionGroupHeader.prototype.be = function (a, b, c, d, e, f, g) {
934
- if (a.w == null || EnumUtil.getEnumValue(ToolActionType_$type, a.w) != this.f) {
935
- a.a0 = b;
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.d = 0;
1078
+ b.f = 0;
938
1079
  }
939
1080
  else {
940
- b.d = 3;
941
- }
942
- b.a7(0, 2, 1);
943
- b.a6(0, 1, isNaN_(g.e) ? 0 : g.e);
944
- b.a6(1, 2, 1);
945
- b.as = new Thickness(1, this.r, this.t, this.s, this.q);
946
- if (b.av == 0) {
947
- b.aw(c);
948
- }
949
- c.e = 1;
950
- }
951
- b.h = f.a.j;
952
- b.aj = BrushUtil.g(255, 200, 200, 200);
953
- b.ak = BrushUtil.g(255, 80, 80, 80);
954
- b.aq = new Thickness(1, 0, 0, 0, 2);
955
- c.au = this.ap;
956
- c.al = BrushUtil.g(255, 20, 20, 20);
957
- b.bb(c, 0);
958
- b.ba(c, 1);
959
- };
960
- ToolActionGroupHeader.prototype.bb = function (a, b, c, d) {
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.bb.call(this, a, b, c, d);
1103
+ _super.prototype.be.call(this, a, b, c, d);
963
1104
  var e = c.b;
964
- if (e.a0 == null || (e.w == null || EnumUtil.getEnumValue(ToolActionType_$type, e.w) != this.f)) {
965
- NativeUIComponent.ab(b.l.r(), [7, 3], function (f) {
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.a0 = g;
969
- _this.be(e, g, h, a, b, c, d);
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.a0;
974
- var g = f.au(0);
975
- this.be(e, f, g, a, b, c, d);
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.bh = new ToolActionCollection();
990
- _this.bm = false;
991
- _this.be = null;
992
- _this.bk = null;
993
- _this.bl = false;
994
- _this.bj = null;
995
- _this.bo = false;
996
- _this.bn = false;
997
- var a = _this.bh;
998
- a.collectionChanged = delegateCombine(a.collectionChanged, runOn(_this, _this.bq));
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.g = function () {
1142
+ ToolActionMenuBase.prototype.i = function () {
1002
1143
  return null;
1003
1144
  };
1004
- ToolActionMenuBase.prototype.a6 = function (a) {
1005
- _super.prototype.a6.call(this, a);
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.bh.add(ToolAction.a(b.actions[c]));
1150
+ this.bl.add(ToolAction.a(b.actions[c]));
1010
1151
  }
1011
1152
  }
1012
1153
  };
1013
- ToolActionMenuBase.prototype.bq = function (a, b) {
1014
- this.bv();
1154
+ ToolActionMenuBase.prototype.bu = function (a, b) {
1155
+ this.bz();
1015
1156
  };
1016
- ToolActionMenuBase.prototype.bv = function () {
1157
+ ToolActionMenuBase.prototype.bz = function () {
1017
1158
  };
1018
1159
  Object.defineProperty(ToolActionMenuBase.prototype, "actions", {
1019
1160
  get: function () {
1020
- return this.bh;
1161
+ return this.bl;
1021
1162
  },
1022
1163
  set: function (a) {
1023
- var b = this.bh;
1024
- this.bh = a;
1025
- if (b != this.bh) {
1026
- this.a8("Actions", b, this.bh);
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.f;
1176
+ b.b = this.h;
1036
1177
  b.d = a;
1037
1178
  return b;
1038
1179
  };
1039
- ToolActionMenuBase.prototype.bw = function () {
1040
- this.bt();
1041
- this.bs();
1042
- this.bu();
1043
- if (this.be.t || this.bn) {
1044
- if (this.bn) {
1045
- this.bn = false;
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.be.ao();
1189
+ this.bi.ao();
1049
1190
  }
1050
1191
  }
1051
1192
  else {
1052
- if (this.bo) {
1053
- this.bx();
1193
+ if (this.bs) {
1194
+ this.b1();
1054
1195
  }
1055
1196
  else {
1056
- this.bn = true;
1197
+ this.br = true;
1057
1198
  }
1058
1199
  }
1059
1200
  };
1060
- ToolActionMenuBase.prototype.bx = function () {
1061
- this.be.showRelativeToExclusionRect(this.by(), this.bg(), this.bf());
1201
+ ToolActionMenuBase.prototype.b1 = function () {
1202
+ this.bi.showRelativeToExclusionRect(this.b2(), this.bk(), this.bj());
1062
1203
  };
1063
- ToolActionMenuBase.prototype.bf = function () {
1204
+ ToolActionMenuBase.prototype.bj = function () {
1064
1205
  return 1;
1065
1206
  };
1066
- ToolActionMenuBase.prototype.bg = function () {
1207
+ ToolActionMenuBase.prototype.bk = function () {
1067
1208
  return 1;
1068
1209
  };
1069
- ToolActionMenuBase.prototype.bu = function () {
1070
- if (!this.bl) {
1071
- this.bl = true;
1072
- this.be.appendPopupContent(this.bk.v);
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.bt = function () {
1076
- if (this.be == null) {
1216
+ ToolActionMenuBase.prototype.bx = function () {
1217
+ if (this.bi == null) {
1077
1218
  if (this.e == null) {
1078
1219
  return;
1079
1220
  }
1080
- this.be = this.e.l.a();
1221
+ this.bi = this.e.l.a();
1081
1222
  }
1082
1223
  };
1083
- ToolActionMenuBase.prototype.bs = function () {
1224
+ ToolActionMenuBase.prototype.bw = function () {
1084
1225
  var _this = this;
1085
- if (this.bk == null) {
1086
- NativeUIContent.ac(this.e.l.r(), 0, function (a) { return _this.bk = a; });
1087
- this.bj = this.e.l.b(this.bk);
1088
- var a = this.bj;
1089
- a.contentRefreshed = delegateCombine(a.contentRefreshed, runOn(this, this.br));
1090
- this.bj.actions = this.actions;
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.br = function (a, b) {
1094
- this.bo = true;
1095
- this.be.ar();
1096
- if (this.bn) {
1097
- this.bn = false;
1098
- this.bx();
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.bz = null;
1254
+ _this.b3 = null;
1113
1255
  return _this;
1114
1256
  }
1115
- ToolActionIconMenu.prototype.get_f = function () {
1257
+ ToolActionIconMenu.prototype.get_h = function () {
1116
1258
  return 3;
1117
1259
  };
1118
- ToolActionIconMenu.prototype.o = function (a, b) {
1260
+ ToolActionIconMenu.prototype.q = function (a, b) {
1119
1261
  return 30;
1120
1262
  };
1121
- ToolActionIconMenu.prototype.by = function () {
1122
- return this.e.l.ac(this.bz.v);
1263
+ ToolActionIconMenu.prototype.b2 = function () {
1264
+ return this.e.l.ac(this.b3.x);
1123
1265
  };
1124
- ToolActionIconMenu.prototype.b1 = function (a, b, c, d, e, f, g) {
1125
- if (a.w == null || EnumUtil.getEnumValue(ToolActionType_$type, a.w) != this.f) {
1126
- a.a0 = b;
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.d = 0;
1270
+ b.f = 0;
1129
1271
  }
1130
1272
  else {
1131
- b.d = 3;
1273
+ b.f = 3;
1132
1274
  }
1133
- b.a7(0, 2, 1);
1134
- b.a6(0, 1, isNaN_(g.f) ? 0 : g.f);
1135
- b.as = new Thickness(1, this.r, this.t, this.s, this.q);
1136
- if (b.av == 0) {
1137
- b.aw(c);
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.bb(c, 0);
1140
- b.ba(c, 0);
1141
- this.bz = c;
1142
- this.bz.av = 2;
1143
- this.bz.au = runOn(this, this.b0);
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.bz.ay = this.am;
1146
- this.bz.ax = this.ak;
1147
- b.h = f.a.j;
1287
+ this.b3.a3 = this.ap;
1288
+ this.b3.a2 = this.an;
1289
+ b.j = f.a.j;
1148
1290
  };
1149
- ToolActionIconMenu.prototype.b0 = function (a, b) {
1150
- this.bw();
1291
+ ToolActionIconMenu.prototype.b4 = function (a, b) {
1292
+ this.b0();
1151
1293
  };
1152
- ToolActionIconMenu.prototype.bb = function (a, b, c, d) {
1294
+ ToolActionIconMenu.prototype.be = function (a, b, c, d) {
1153
1295
  var _this = this;
1154
- _super.prototype.bb.call(this, a, b, c, d);
1296
+ _super.prototype.be.call(this, a, b, c, d);
1155
1297
  var e = c.b;
1156
- if (e.a0 == null || (e.w == null || EnumUtil.getEnumValue(ToolActionType_$type, e.w) != this.f)) {
1157
- NativeUIComponent.ab(b.l.r(), [7, 10], function (f) {
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.a0 = g;
1161
- _this.b1(e, g, h, a, b, c, d);
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.a0;
1166
- var g = f.au(0);
1167
- this.b1(e, f, g, a, b, c, d);
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.be = null;
1323
+ _this.bi = null;
1182
1324
  return _this;
1183
1325
  }
1184
- ToolActionCheckbox.prototype.get_f = function () {
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.f;
1332
+ b.b = this.h;
1191
1333
  b.d = a;
1192
- if (this.be != null) {
1193
- b.c = this.be.aw;
1334
+ if (this.bi != null) {
1335
+ b.c = this.bi.a1;
1194
1336
  }
1195
1337
  return b;
1196
1338
  };
1197
- ToolActionCheckbox.prototype.x = function () {
1198
- return this.be.aw;
1339
+ ToolActionCheckbox.prototype.z = function () {
1340
+ return this.bi.a1;
1199
1341
  };
1200
- ToolActionCheckbox.prototype.o = function (a, b) {
1342
+ ToolActionCheckbox.prototype.q = function (a, b) {
1201
1343
  return 30;
1202
1344
  };
1203
- ToolActionCheckbox.prototype.bg = function (a, b, c, d, e, f, g, h) {
1204
- if (a.w == null || EnumUtil.getEnumValue(ToolActionType_$type, a.w) != this.f) {
1205
- a.a0 = b;
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.d = 0;
1349
+ b.f = 0;
1208
1350
  }
1209
1351
  else {
1210
- b.d = 3;
1211
- }
1212
- b.a7(0, 2, 1);
1213
- b.a6(0, 1, isNaN_(h.e) ? 0 : h.e);
1214
- b.a6(1, 1, isNaN_(h.g) ? 0 : h.g);
1215
- b.a6(1, 2, 1);
1216
- b.as = new Thickness(1, this.r, this.t, this.s, this.q);
1217
- if (b.av == 0) {
1218
- b.aw(c);
1219
- b.aw(d);
1220
- }
1221
- b.bb(c, 0);
1222
- b.ba(c, 1);
1223
- b.bb(d, 0);
1224
- b.ba(d, 2);
1225
- this.be = d;
1226
- d.av = true;
1227
- d.d = 2;
1228
- d.e = 1;
1229
- d.au = runOn(this, this.bf);
1230
- c.e = 1;
1231
- }
1232
- b.h = g.a.j;
1233
- c.au = this.ap;
1234
- c.al = BrushUtil.g(255, 20, 20, 20);
1235
- };
1236
- ToolActionCheckbox.prototype.bf = function (a, b) {
1237
- this.a9(this.b(true), this);
1238
- };
1239
- ToolActionCheckbox.prototype.bb = function (a, b, c, d) {
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.bb.call(this, a, b, c, d);
1383
+ _super.prototype.be.call(this, a, b, c, d);
1242
1384
  var e = c.b;
1243
- if (e.a0 == null || (e.w == null || EnumUtil.getEnumValue(ToolActionType_$type, e.w) != this.f)) {
1244
- NativeUIComponent.ab(b.l.r(), [7, 3, 6], function (f) {
1245
- var g = f[0];
1246
- var h = f[1];
1247
- var i = f[2];
1248
- e.a0 = g;
1249
- _this.bg(e, g, h, i, a, b, c, d);
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 f = e.a0;
1254
- var g = f.au(0);
1255
- var h = f.au(1);
1256
- this.bg(e, f, g, h, a, b, c, d);
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.be = null;
1417
+ _this.bi = null;
1271
1418
  return _this;
1272
1419
  }
1273
- ToolActionNumberInput.prototype.get_f = function () {
1420
+ ToolActionNumberInput.prototype.get_h = function () {
1274
1421
  return 5;
1275
1422
  };
1276
- ToolActionNumberInput.prototype.x = function () {
1277
- return this.bf();
1423
+ ToolActionNumberInput.prototype.z = function () {
1424
+ return this.bj();
1278
1425
  };
1279
- ToolActionNumberInput.prototype.o = function (a, b) {
1426
+ ToolActionNumberInput.prototype.q = function (a, b) {
1280
1427
  return 100;
1281
1428
  };
1282
- ToolActionNumberInput.prototype.bh = function (a, b, c, d, e, f, g, h) {
1283
- if (a.w == null || EnumUtil.getEnumValue(ToolActionType_$type, a.w) != this.f) {
1284
- a.a0 = b;
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.d = 0;
1438
+ b.f = 0;
1287
1439
  }
1288
1440
  else {
1289
- b.d = 3;
1290
- }
1291
- b.a7(0, 2, 1);
1292
- b.a6(0, 1, isNaN_(h.e) ? 0 : h.e);
1293
- b.a6(1, 1, isNaN_(h.g) ? 0 : h.g);
1294
- b.a6(1, 2, 1);
1295
- b.as = new Thickness(1, this.r, this.t, this.s, this.q);
1296
- if (b.av == 0) {
1297
- b.aw(c);
1298
- b.aw(d);
1299
- }
1300
- b.bb(c, 0);
1301
- b.ba(c, 1);
1302
- b.bb(d, 0);
1303
- b.ba(d, 2);
1304
- this.be = d;
1305
- d.n = 100;
1306
- d.au = 2;
1307
- d.ax = 1;
1308
- d.d = 2;
1309
- d.e = 1;
1310
- d.aw = runOn(this, this.bg);
1311
- c.e = 1;
1312
- }
1313
- b.h = g.a.j;
1314
- c.au = this.ap;
1315
- c.al = BrushUtil.g(255, 20, 20, 20);
1316
- };
1317
- ToolActionNumberInput.prototype.bf = function () {
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.be != null && ((function () { var b = tryParseNumber(_this.be.ay, a); a = b.p1; return b.ret; })())) {
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.f;
1482
+ b.b = this.h;
1330
1483
  var c;
1331
- b.f = this.bf();
1484
+ b.f = this.bj();
1332
1485
  return b;
1333
1486
  };
1334
- ToolActionNumberInput.prototype.bg = function (a, b) {
1487
+ ToolActionNumberInput.prototype.bk = function (a, b) {
1335
1488
  var c = a;
1336
1489
  var d = this.b(true);
1337
- this.a9(d, this);
1490
+ this.bc(d, this);
1338
1491
  };
1339
- ToolActionNumberInput.prototype.bb = function (a, b, c, d) {
1492
+ ToolActionNumberInput.prototype.be = function (a, b, c, d) {
1340
1493
  var _this = this;
1341
- _super.prototype.bb.call(this, a, b, c, d);
1494
+ _super.prototype.be.call(this, a, b, c, d);
1342
1495
  var e = c.b;
1343
- if (e.a0 == null || (e.w == null || EnumUtil.getEnumValue(ToolActionType_$type, e.w) != this.f)) {
1344
- NativeUIComponent.ab(b.l.r(), [7, 3, 2], function (f) {
1345
- var g = f[0];
1346
- var h = f[1];
1347
- var i = f[2];
1348
- e.a0 = g;
1349
- _this.bh(e, g, h, i, a, b, c, d);
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 f = e.a0;
1354
- var g = f.au(0);
1355
- var h = f.au(1);
1356
- this.bh(e, f, g, h, a, b, c, d);
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.p = null;
1433
- _this.s = false;
1434
- _this.q = null;
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.t = false;
1440
- _this.w = new Dictionary$2(String_$type, List$1.$.specialize(ToolAction.$), 0);
1441
- _this.x = new Dictionary$2(String_$type, List$1.$.specialize(ToolAction.$), 0);
1442
- _this.v = new Dictionary$2(String_$type, ToolAction.$, 0);
1443
- _this.m = null;
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.a5 = ToolPanel.a8;
1446
- _this.a6 = ToolPanel.a9;
1603
+ _this.m = 0;
1604
+ _this.a9 = ToolPanel.bc;
1605
+ _this.ba = ToolPanel.bd;
1447
1606
  _this.b = null;
1448
- _this.z = Number.POSITIVE_INFINITY;
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.ak));
1453
- NativeUIInputsFactory.m();
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, "r", {
1620
+ Object.defineProperty(ToolPanel.prototype, "t", {
1461
1621
  get: function () {
1462
- if (this.q == null) {
1463
- this.q = new SRProvider(this.l.k);
1464
- this.q.cb("Layouts");
1622
+ if (this.s == null) {
1623
+ this.s = new SRProvider(this.l.k);
1624
+ this.s.cb("Layouts");
1465
1625
  }
1466
- return this.q;
1626
+ return this.s;
1467
1627
  },
1468
1628
  enumerable: true,
1469
1629
  configurable: true
1470
1630
  });
1471
- ToolPanel.prototype.aq = function (a) {
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.aj));
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.ag));
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.ah));
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.ai));
1642
+ e.itemWidthRequested = delegateCombine(e.itemWidthRequested, runOn(this, this.al));
1483
1643
  };
1484
- ToolPanel.prototype.ag = function (a, b) {
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.ah = function (a, b) {
1649
+ ToolPanel.prototype.ak = function (a, b) {
1490
1650
  var c = b.c;
1491
1651
  var d = new ToolActionMeasurementContext();
1492
- this.az(d);
1493
- c.a4(this, d);
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.ai = function (a, b) {
1661
+ ToolPanel.prototype.al = function (a, b) {
1502
1662
  var c = b.c;
1503
1663
  var d = new ToolActionMeasurementContext();
1504
- this.az(d);
1505
- c.a4(this, d);
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.aj = function (a, b) {
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.az(e);
1518
- c.a4(this, e);
1519
- c.ba(d, this, b, e);
1677
+ this.a2(e);
1678
+ c.a7(this, e);
1679
+ c.bd(d, this, b, e);
1520
1680
  }
1521
1681
  else {
1522
- c.ba(d, this, b, this.f);
1682
+ c.bd(d, this, b, this.f);
1523
1683
  }
1524
1684
  };
1525
- ToolPanel.prototype.aw = function (a) {
1526
- this.z = a.width;
1527
- this.a2();
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.ax("Actions", b, this.d);
1698
+ this.a0("Actions", b, this.d);
1538
1699
  }
1539
1700
  },
1540
1701
  enumerable: true,
1541
1702
  configurable: true
1542
1703
  });
1543
- ToolPanel.prototype.ak = function (a, b) {
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.ar));
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.ar));
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.av();
1754
+ this.a8();
1755
+ this.ay();
1594
1756
  };
1595
- ToolPanel.prototype.av = function () {
1596
- this.a2();
1757
+ ToolPanel.prototype.ay = function () {
1758
+ this.a5();
1597
1759
  };
1598
- ToolPanel.prototype.a2 = function () {
1599
- if (this.t) {
1760
+ ToolPanel.prototype.a5 = function () {
1761
+ if (this.v) {
1600
1762
  return;
1601
1763
  }
1602
- this.t = true;
1603
- this.a.enqueueAction(runOn(this, this.an));
1764
+ this.v = true;
1765
+ this.a.enqueueAction(runOn(this, this.aq));
1604
1766
  };
1605
- ToolPanel.prototype.an = function () {
1606
- if (!this.t) {
1767
+ ToolPanel.prototype.aq = function () {
1768
+ if (!this.v) {
1607
1769
  return;
1608
1770
  }
1609
- this.t = false;
1610
- this.al();
1611
- this.a4();
1771
+ this.v = false;
1772
+ this.ao();
1773
+ this.a7();
1612
1774
  for (var a = 0; a < this.d.count; a++) {
1613
- this.as(this.d._inner[a]);
1775
+ this.av(this.d._inner[a]);
1614
1776
  }
1615
- this.ao();
1777
+ this.ar();
1616
1778
  };
1617
- ToolPanel.prototype.al = function () {
1618
- this.w.clear();
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].ao != null) {
1624
- this.v.item(this.d._inner[a].ao, this.d._inner[a]);
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].ax != null) {
1629
- if (this.v.containsKey(this.d._inner[b].ax)) {
1630
- if (!this.w.containsKey(this.d._inner[b].ax)) {
1631
- this.w.item(this.d._inner[b].ax, new List$1(ToolAction.$, 0));
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.w.item(this.d._inner[b].ax);
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].f == 6) {
1640
- var e = this.d._inner[d].bf;
1641
- if (!this.x.containsKey(e)) {
1642
- this.x.item(e, new List$1(ToolAction.$, 0));
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.x.item(e).add(this.d._inner[d]);
1806
+ this.z.item(e).add(this.d._inner[d]);
1645
1807
  }
1646
1808
  }
1647
1809
  };
1648
- ToolPanel.prototype.u = function (a) {
1649
- if (a.ao == null) {
1810
+ ToolPanel.prototype.w = function (a) {
1811
+ if (a.ar == null) {
1650
1812
  return false;
1651
1813
  }
1652
- return this.w.containsKey(a.ao);
1814
+ return this.y.containsKey(a.ar);
1653
1815
  };
1654
1816
  ToolPanel.prototype.c = function (a) {
1655
- if (this.v.containsKey(a)) {
1656
- return this.v.item(a);
1817
+ if (this.x.containsKey(a)) {
1818
+ return this.x.item(a);
1657
1819
  }
1658
1820
  return null;
1659
1821
  };
1660
- ToolPanel.prototype.y = function (a) {
1661
- if (a.ao == null) {
1822
+ ToolPanel.prototype.aa = function (a) {
1823
+ if (a.ar == null) {
1662
1824
  return null;
1663
1825
  }
1664
- if (this.w.containsKey(a.ao)) {
1665
- return this.w.item(a.ao);
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.as = function (a) {
1831
+ ToolPanel.prototype.av = function (a) {
1670
1832
  var b = new ToolActionMeasurementContext();
1671
- this.az(b);
1672
- a.a4(this, b);
1673
- this.at(this.f, b);
1833
+ this.a2(b);
1834
+ a.a7(this, b);
1835
+ this.aw(this.f, b);
1674
1836
  };
1675
- ToolPanel.prototype.az = function (a) {
1837
+ ToolPanel.prototype.a2 = function (a) {
1676
1838
  a.a = this.k;
1677
- a.b = this.z;
1839
+ a.b = this.ab;
1678
1840
  };
1679
- ToolPanel.prototype.at = function (a, b) {
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.a4 = function () {
1859
+ ToolPanel.prototype.a7 = function () {
1698
1860
  this.f = new ToolActionMeasurementContext();
1699
1861
  this.f.a = this.k;
1700
- this.f.b = this.z;
1862
+ this.f.b = this.ab;
1701
1863
  };
1702
- ToolPanel.prototype.ao = function () {
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.ap = function () {
1708
- if (this.t) {
1709
- this.an();
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.a3 = function (a) {
1716
- var b = a.bf;
1717
- var c = a.ao;
1718
- if (this.x != null) {
1719
- if (this.x.containsKey(b)) {
1720
- for (var d = 0; d < this.x.item(b).count; d++) {
1721
- if (this.x.item(b)._inner[d].ao != c) {
1722
- this.x.item(b)._inner[d].bg();
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.ar = function (a, b) {
1729
- this.av();
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, "n", {
1902
+ Object.defineProperty(ToolPanel.prototype, "p", {
1741
1903
  get: function () {
1742
- return this.m;
1904
+ return this.o;
1743
1905
  },
1744
1906
  set: function (a) {
1745
- var b = this.m;
1746
- this.m = a;
1747
- if (b != this.m) {
1748
- this.ax("CellTextStyle", b, this.m);
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.o = function () {
1755
- if (this.n == null) {
1916
+ ToolPanel.prototype.q = function () {
1917
+ if (this.p == null) {
1756
1918
  return this.l.f();
1757
1919
  }
1758
- return this.n;
1920
+ return this.p;
1759
1921
  };
1760
- ToolPanel.prototype.ax = function (a, b, c) {
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.a0(a, b, c);
1926
+ this.a3(a, b, c);
1765
1927
  };
1766
- ToolPanel.prototype.a0 = function (a, b, c) {
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.a2();
1934
+ this.a5();
1770
1935
  break;
1771
1936
  case "BackgroundColor":
1772
1937
  case "TextColor":
1773
- this.a2();
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.ak));
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.ak));
1952
+ e.collectionChanged = delegateCombine(e.collectionChanged, runOn(this, this.an));
1788
1953
  }
1789
- this.a2();
1954
+ this.a5();
1790
1955
  break;
1791
1956
  }
1792
1957
  };
1793
- Object.defineProperty(ToolPanel.prototype, "a7", {
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.a5;
1979
+ return this.a9;
1796
1980
  },
1797
1981
  set: function (a) {
1798
- var b = this.a5;
1799
- this.a5 = a;
1800
- if (b != this.a5) {
1801
- this.ax("BackgroundColor", b, a);
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, "ba", {
1991
+ Object.defineProperty(ToolPanel.prototype, "be", {
1808
1992
  get: function () {
1809
- return this.a6;
1993
+ return this.ba;
1810
1994
  },
1811
1995
  set: function (a) {
1812
- var b = this.a6;
1813
- this.a6 = a;
1814
- if (b != this.a6) {
1815
- this.ax("TextColor", b, a);
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.ax("Orientation", enumGetBox(ToolPanelOrientation_$type, b), enumGetBox(ToolPanelOrientation_$type, a));
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.ay = function (a, b) {
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.f == 6) {
1844
- this.a3(a);
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.a8 = BrushUtil.g(255, 248, 248, 248);
1849
- ToolPanel.a9 = BrushUtil.g(255, 24, 29, 31);
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));