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