@easemate/web-kit 0.3.5 → 0.3.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/build/elements.js CHANGED
@@ -2110,10 +2110,15 @@ var Checkbox = class extends (_HTMLElement2 = HTMLElement) {
2110
2110
  return;
2111
2111
  }
2112
2112
  this.checked = !this.checked;
2113
- dispatchControlEvent(this, "checkbox", {
2113
+ const name = this.name ?? this.getAttribute("name") ?? void 0;
2114
+ const detail = {
2115
+ name,
2114
2116
  value: this.checked,
2115
2117
  event
2116
- });
2118
+ };
2119
+ dispatchControlEvent(this, "checkbox", detail);
2120
+ dispatchControlEvent(this, "change", detail);
2121
+ dispatchControlEvent(this, CONTROL_CHANGE_EVENT, detail);
2117
2122
  }
2118
2123
  static {
2119
2124
  _initClass2();
@@ -4493,6 +4498,7 @@ var Dropdown = class extends (_HTMLElement5 = HTMLElement) {
4493
4498
  }
4494
4499
  }
4495
4500
  dispatchControlEvent(this, "toggle", {
4501
+ name: this.name ?? void 0,
4496
4502
  value: next,
4497
4503
  event: origin
4498
4504
  });
@@ -4756,6 +4762,7 @@ var Dropdown = class extends (_HTMLElement5 = HTMLElement) {
4756
4762
  }
4757
4763
  #dispatchValueChange(value, label, event) {
4758
4764
  dispatchControlEvent(this, "change", {
4765
+ name: this.name ?? void 0,
4759
4766
  value,
4760
4767
  event
4761
4768
  });
@@ -5639,20 +5646,28 @@ var Input = class extends (_HTMLElement6 = HTMLElement) {
5639
5646
  return;
5640
5647
  }
5641
5648
  this.value = target.value;
5642
- dispatchControlEvent(this, "input", {
5649
+ const name = this.name ?? this.getAttribute("name") ?? void 0;
5650
+ const detail = {
5651
+ name,
5643
5652
  value: this.value ?? "",
5644
5653
  event
5645
- });
5654
+ };
5655
+ dispatchControlEvent(this, "input", detail);
5656
+ dispatchControlEvent(this, CONTROL_CHANGE_EVENT, detail);
5646
5657
  }
5647
5658
  handleChange(event, target) {
5648
5659
  if (!target) {
5649
5660
  return;
5650
5661
  }
5651
5662
  this.value = target.value;
5652
- dispatchControlEvent(this, "change", {
5663
+ const name = this.name ?? this.getAttribute("name") ?? void 0;
5664
+ const detail = {
5665
+ name,
5653
5666
  value: this.value ?? "",
5654
5667
  event
5655
- });
5668
+ };
5669
+ dispatchControlEvent(this, "change", detail);
5670
+ dispatchControlEvent(this, CONTROL_CHANGE_EVENT, detail);
5656
5671
  }
5657
5672
  static {
5658
5673
  _initClass6();
@@ -8152,9 +8167,11 @@ var _dec111;
8152
8167
  var _dec28;
8153
8168
  var _dec37;
8154
8169
  var _dec47;
8170
+ var _dec55;
8155
8171
  var _init_dropdown;
8156
8172
  var _init_value5;
8157
8173
  var _init_disabled5;
8174
+ var _init_name4;
8158
8175
  var _init_placement3;
8159
8176
  var _initProto8;
8160
8177
  var _ColorInput;
@@ -8229,12 +8246,15 @@ _dec27 = Component({
8229
8246
  type: Boolean,
8230
8247
  reflect: true
8231
8248
  }), _dec47 = Prop({
8249
+ reflect: true,
8250
+ defaultValue: null
8251
+ }), _dec55 = Prop({
8232
8252
  reflect: true,
8233
8253
  defaultValue: "bottom-start"
8234
8254
  });
8235
8255
  var ColorInput = class extends (_HTMLElement10 = HTMLElement) {
8236
8256
  static {
8237
- ({ e: [_init_dropdown, _init_value5, _init_disabled5, _init_placement3, _initProto8], c: [_ColorInput, _initClass10] } = _apply_decs_2203_r10(this, [
8257
+ ({ e: [_init_dropdown, _init_value5, _init_disabled5, _init_name4, _init_placement3, _initProto8], c: [_ColorInput, _initClass10] } = _apply_decs_2203_r10(this, [
8238
8258
  [
8239
8259
  _dec111,
8240
8260
  1,
@@ -8253,6 +8273,11 @@ var ColorInput = class extends (_HTMLElement10 = HTMLElement) {
8253
8273
  [
8254
8274
  _dec47,
8255
8275
  1,
8276
+ "name"
8277
+ ],
8278
+ [
8279
+ _dec55,
8280
+ 1,
8256
8281
  "placement"
8257
8282
  ]
8258
8283
  ], [
@@ -8281,12 +8306,19 @@ var ColorInput = class extends (_HTMLElement10 = HTMLElement) {
8281
8306
  set disabled(_v) {
8282
8307
  this.#___private_disabled_3 = _v;
8283
8308
  }
8284
- #___private_placement_4;
8309
+ #___private_name_4;
8310
+ get name() {
8311
+ return this.#___private_name_4;
8312
+ }
8313
+ set name(_v) {
8314
+ this.#___private_name_4 = _v;
8315
+ }
8316
+ #___private_placement_5;
8285
8317
  get placement() {
8286
- return this.#___private_placement_4;
8318
+ return this.#___private_placement_5;
8287
8319
  }
8288
8320
  set placement(_v) {
8289
- this.#___private_placement_4 = _v;
8321
+ this.#___private_placement_5 = _v;
8290
8322
  }
8291
8323
  connectedCallback() {
8292
8324
  this.#hasCustomTrigger = this.querySelector('[slot="trigger"]') !== null;
@@ -8331,21 +8363,24 @@ var ColorInput = class extends (_HTMLElement10 = HTMLElement) {
8331
8363
  _initClass10();
8332
8364
  }
8333
8365
  constructor(...args) {
8334
- super(...args), this.#hasCustomTrigger = (_initProto8(this), false), this.#___private_dropdown_1 = _init_dropdown(this), this.#___private_value_2 = _init_value5(this), this.#___private_disabled_3 = _init_disabled5(this, false), this.#___private_placement_4 = _init_placement3(this, "bottom-start"), this.#handleInputChange = (event) => {
8366
+ super(...args), this.#hasCustomTrigger = (_initProto8(this), false), this.#___private_dropdown_1 = _init_dropdown(this), this.#___private_value_2 = _init_value5(this), this.#___private_disabled_3 = _init_disabled5(this, false), this.#___private_name_4 = _init_name4(this, null), this.#___private_placement_5 = _init_placement3(this, "bottom-start"), this.#handleInputChange = (event) => {
8335
8367
  this.value = event.target.value;
8336
8368
  dispatchControlEvent(this, "input", {
8369
+ name: this.name ?? void 0,
8337
8370
  value: this.value,
8338
8371
  event
8339
8372
  });
8340
8373
  }, this.#handlePickerInput = (event) => {
8341
8374
  this.value = event.detail.value;
8342
8375
  dispatchControlEvent(this, "input", {
8376
+ name: this.name ?? void 0,
8343
8377
  value: this.value,
8344
8378
  event
8345
8379
  });
8346
8380
  }, this.#handlePickerChange = (event) => {
8347
8381
  this.value = event.detail.value;
8348
8382
  dispatchControlEvent(this, "change", {
8383
+ name: this.name ?? void 0,
8349
8384
  value: this.value,
8350
8385
  event
8351
8386
  });
@@ -8358,6 +8393,7 @@ var ColorInput = class extends (_HTMLElement10 = HTMLElement) {
8358
8393
  }, this.#handlePickerApply = (event) => {
8359
8394
  this.value = event.detail.value;
8360
8395
  dispatchControlEvent(this, "change", {
8396
+ name: this.name ?? void 0,
8361
8397
  value: this.value,
8362
8398
  event
8363
8399
  });
@@ -9346,7 +9382,7 @@ _dec30 = Component({
9346
9382
  [part="content"] {
9347
9383
  height: 0;
9348
9384
  overflow: hidden;
9349
- transition: height 200ms cubic-bezier(.25, 0, .5, 1);
9385
+ transition: height 200ms cubic-bezier(.25, 0, .5, 1) !important;
9350
9386
  }
9351
9387
 
9352
9388
  :host([open]) [part="content"] {
@@ -13472,11 +13508,11 @@ function applyDecs2203RFactory21() {
13472
13508
  function _apply_decs_2203_r21(targetClass, memberDecs, classDecs, parentClass) {
13473
13509
  return (_apply_decs_2203_r21 = applyDecs2203RFactory21())(targetClass, memberDecs, classDecs, parentClass);
13474
13510
  }
13475
- var _dec55;
13511
+ var _dec56;
13476
13512
  var _initClass21;
13477
13513
  var _HTMLElement21;
13478
13514
  var _IconBezier;
13479
- _dec55 = Component({
13515
+ _dec56 = Component({
13480
13516
  tag: "ease-icon-bezier",
13481
13517
  styles: `
13482
13518
  :host {
@@ -13497,7 +13533,7 @@ _dec55 = Component({
13497
13533
  var IconBezier = class extends (_HTMLElement21 = HTMLElement) {
13498
13534
  static {
13499
13535
  ({ c: [_IconBezier, _initClass21] } = _apply_decs_2203_r21(this, [], [
13500
- _dec55
13536
+ _dec56
13501
13537
  ], _HTMLElement21));
13502
13538
  }
13503
13539
  static {
@@ -13879,11 +13915,11 @@ function applyDecs2203RFactory22() {
13879
13915
  function _apply_decs_2203_r22(targetClass, memberDecs, classDecs, parentClass) {
13880
13916
  return (_apply_decs_2203_r22 = applyDecs2203RFactory22())(targetClass, memberDecs, classDecs, parentClass);
13881
13917
  }
13882
- var _dec56;
13918
+ var _dec57;
13883
13919
  var _initClass22;
13884
13920
  var _HTMLElement22;
13885
13921
  var _IconBezierAngle;
13886
- _dec56 = Component({
13922
+ _dec57 = Component({
13887
13923
  tag: "ease-icon-bezier-angle",
13888
13924
  styles: `
13889
13925
  :host {
@@ -13911,7 +13947,7 @@ _dec56 = Component({
13911
13947
  var IconBezierAngle = class extends (_HTMLElement22 = HTMLElement) {
13912
13948
  static {
13913
13949
  ({ c: [_IconBezierAngle, _initClass22] } = _apply_decs_2203_r22(this, [], [
13914
- _dec56
13950
+ _dec57
13915
13951
  ], _HTMLElement22));
13916
13952
  }
13917
13953
  static {
@@ -14293,11 +14329,11 @@ function applyDecs2203RFactory23() {
14293
14329
  function _apply_decs_2203_r23(targetClass, memberDecs, classDecs, parentClass) {
14294
14330
  return (_apply_decs_2203_r23 = applyDecs2203RFactory23())(targetClass, memberDecs, classDecs, parentClass);
14295
14331
  }
14296
- var _dec57;
14332
+ var _dec58;
14297
14333
  var _initClass23;
14298
14334
  var _HTMLElement23;
14299
14335
  var _IconBezierDistribute;
14300
- _dec57 = Component({
14336
+ _dec58 = Component({
14301
14337
  tag: "ease-icon-bezier-distribute",
14302
14338
  styles: `
14303
14339
  :host {
@@ -14326,7 +14362,7 @@ _dec57 = Component({
14326
14362
  var IconBezierDistribute = class extends (_HTMLElement23 = HTMLElement) {
14327
14363
  static {
14328
14364
  ({ c: [_IconBezierDistribute, _initClass23] } = _apply_decs_2203_r23(this, [], [
14329
- _dec57
14365
+ _dec58
14330
14366
  ], _HTMLElement23));
14331
14367
  }
14332
14368
  static {
@@ -14708,11 +14744,11 @@ function applyDecs2203RFactory24() {
14708
14744
  function _apply_decs_2203_r24(targetClass, memberDecs, classDecs, parentClass) {
14709
14745
  return (_apply_decs_2203_r24 = applyDecs2203RFactory24())(targetClass, memberDecs, classDecs, parentClass);
14710
14746
  }
14711
- var _dec58;
14747
+ var _dec59;
14712
14748
  var _initClass24;
14713
14749
  var _HTMLElement24;
14714
14750
  var _IconBezierLength;
14715
- _dec58 = Component({
14751
+ _dec59 = Component({
14716
14752
  tag: "ease-icon-bezier-length",
14717
14753
  styles: `
14718
14754
  :host {
@@ -14738,7 +14774,7 @@ _dec58 = Component({
14738
14774
  var IconBezierLength = class extends (_HTMLElement24 = HTMLElement) {
14739
14775
  static {
14740
14776
  ({ c: [_IconBezierLength, _initClass24] } = _apply_decs_2203_r24(this, [], [
14741
- _dec58
14777
+ _dec59
14742
14778
  ], _HTMLElement24));
14743
14779
  }
14744
14780
  static {
@@ -15120,11 +15156,11 @@ function applyDecs2203RFactory25() {
15120
15156
  function _apply_decs_2203_r25(targetClass, memberDecs, classDecs, parentClass) {
15121
15157
  return (_apply_decs_2203_r25 = applyDecs2203RFactory25())(targetClass, memberDecs, classDecs, parentClass);
15122
15158
  }
15123
- var _dec59;
15159
+ var _dec60;
15124
15160
  var _initClass25;
15125
15161
  var _HTMLElement25;
15126
15162
  var _IconBezierMirror;
15127
- _dec59 = Component({
15163
+ _dec60 = Component({
15128
15164
  tag: "ease-icon-bezier-mirror",
15129
15165
  styles: `
15130
15166
  :host {
@@ -15150,7 +15186,7 @@ _dec59 = Component({
15150
15186
  var IconBezierMirror = class extends (_HTMLElement25 = HTMLElement) {
15151
15187
  static {
15152
15188
  ({ c: [_IconBezierMirror, _initClass25] } = _apply_decs_2203_r25(this, [], [
15153
- _dec59
15189
+ _dec60
15154
15190
  ], _HTMLElement25));
15155
15191
  }
15156
15192
  static {
@@ -15532,11 +15568,11 @@ function applyDecs2203RFactory26() {
15532
15568
  function _apply_decs_2203_r26(targetClass, memberDecs, classDecs, parentClass) {
15533
15569
  return (_apply_decs_2203_r26 = applyDecs2203RFactory26())(targetClass, memberDecs, classDecs, parentClass);
15534
15570
  }
15535
- var _dec60;
15571
+ var _dec61;
15536
15572
  var _initClass26;
15537
15573
  var _HTMLElement26;
15538
15574
  var _IconCheck;
15539
- _dec60 = Component({
15575
+ _dec61 = Component({
15540
15576
  tag: "ease-icon-check",
15541
15577
  styles: `
15542
15578
  :host {
@@ -15561,7 +15597,7 @@ _dec60 = Component({
15561
15597
  var IconCheck = class extends (_HTMLElement26 = HTMLElement) {
15562
15598
  static {
15563
15599
  ({ c: [_IconCheck, _initClass26] } = _apply_decs_2203_r26(this, [], [
15564
- _dec60
15600
+ _dec61
15565
15601
  ], _HTMLElement26));
15566
15602
  }
15567
15603
  static {
@@ -15943,11 +15979,11 @@ function applyDecs2203RFactory27() {
15943
15979
  function _apply_decs_2203_r27(targetClass, memberDecs, classDecs, parentClass) {
15944
15980
  return (_apply_decs_2203_r27 = applyDecs2203RFactory27())(targetClass, memberDecs, classDecs, parentClass);
15945
15981
  }
15946
- var _dec61;
15982
+ var _dec65;
15947
15983
  var _initClass27;
15948
15984
  var _HTMLElement27;
15949
15985
  var _IconCircleArrowLeft;
15950
- _dec61 = Component({
15986
+ _dec65 = Component({
15951
15987
  tag: "ease-icon-circle-arrow-left",
15952
15988
  styles: `
15953
15989
  :host {
@@ -15972,7 +16008,7 @@ _dec61 = Component({
15972
16008
  var IconCircleArrowLeft = class extends (_HTMLElement27 = HTMLElement) {
15973
16009
  static {
15974
16010
  ({ c: [_IconCircleArrowLeft, _initClass27] } = _apply_decs_2203_r27(this, [], [
15975
- _dec61
16011
+ _dec65
15976
16012
  ], _HTMLElement27));
15977
16013
  }
15978
16014
  static {
@@ -16354,11 +16390,11 @@ function applyDecs2203RFactory28() {
16354
16390
  function _apply_decs_2203_r28(targetClass, memberDecs, classDecs, parentClass) {
16355
16391
  return (_apply_decs_2203_r28 = applyDecs2203RFactory28())(targetClass, memberDecs, classDecs, parentClass);
16356
16392
  }
16357
- var _dec65;
16393
+ var _dec66;
16358
16394
  var _initClass28;
16359
16395
  var _HTMLElement28;
16360
16396
  var _IconCircleArrowRight;
16361
- _dec65 = Component({
16397
+ _dec66 = Component({
16362
16398
  tag: "ease-icon-circle-arrow-right",
16363
16399
  styles: `
16364
16400
  :host {
@@ -16383,7 +16419,7 @@ _dec65 = Component({
16383
16419
  var IconCircleArrowRight = class extends (_HTMLElement28 = HTMLElement) {
16384
16420
  static {
16385
16421
  ({ c: [_IconCircleArrowRight, _initClass28] } = _apply_decs_2203_r28(this, [], [
16386
- _dec65
16422
+ _dec66
16387
16423
  ], _HTMLElement28));
16388
16424
  }
16389
16425
  static {
@@ -16765,11 +16801,11 @@ function applyDecs2203RFactory29() {
16765
16801
  function _apply_decs_2203_r29(targetClass, memberDecs, classDecs, parentClass) {
16766
16802
  return (_apply_decs_2203_r29 = applyDecs2203RFactory29())(targetClass, memberDecs, classDecs, parentClass);
16767
16803
  }
16768
- var _dec66;
16804
+ var _dec67;
16769
16805
  var _initClass29;
16770
16806
  var _HTMLElement29;
16771
16807
  var _IconCode;
16772
- _dec66 = Component({
16808
+ _dec67 = Component({
16773
16809
  tag: "ease-icon-code",
16774
16810
  styles: `
16775
16811
  :host {
@@ -16794,7 +16830,7 @@ _dec66 = Component({
16794
16830
  var IconCode = class extends (_HTMLElement29 = HTMLElement) {
16795
16831
  static {
16796
16832
  ({ c: [_IconCode, _initClass29] } = _apply_decs_2203_r29(this, [], [
16797
- _dec66
16833
+ _dec67
16798
16834
  ], _HTMLElement29));
16799
16835
  }
16800
16836
  static {
@@ -17176,11 +17212,11 @@ function applyDecs2203RFactory30() {
17176
17212
  function _apply_decs_2203_r30(targetClass, memberDecs, classDecs, parentClass) {
17177
17213
  return (_apply_decs_2203_r30 = applyDecs2203RFactory30())(targetClass, memberDecs, classDecs, parentClass);
17178
17214
  }
17179
- var _dec67;
17215
+ var _dec68;
17180
17216
  var _initClass30;
17181
17217
  var _HTMLElement30;
17182
17218
  var _IconDots;
17183
- _dec67 = Component({
17219
+ _dec68 = Component({
17184
17220
  tag: "ease-icon-dots",
17185
17221
  styles: `
17186
17222
  :host {
@@ -17207,7 +17243,7 @@ _dec67 = Component({
17207
17243
  var IconDots = class extends (_HTMLElement30 = HTMLElement) {
17208
17244
  static {
17209
17245
  ({ c: [_IconDots, _initClass30] } = _apply_decs_2203_r30(this, [], [
17210
- _dec67
17246
+ _dec68
17211
17247
  ], _HTMLElement30));
17212
17248
  }
17213
17249
  static {
@@ -17589,11 +17625,11 @@ function applyDecs2203RFactory31() {
17589
17625
  function _apply_decs_2203_r31(targetClass, memberDecs, classDecs, parentClass) {
17590
17626
  return (_apply_decs_2203_r31 = applyDecs2203RFactory31())(targetClass, memberDecs, classDecs, parentClass);
17591
17627
  }
17592
- var _dec68;
17628
+ var _dec69;
17593
17629
  var _initClass31;
17594
17630
  var _HTMLElement31;
17595
17631
  var _IconMention;
17596
- _dec68 = Component({
17632
+ _dec69 = Component({
17597
17633
  tag: "ease-icon-mention",
17598
17634
  styles: `
17599
17635
  :host {
@@ -17618,7 +17654,7 @@ _dec68 = Component({
17618
17654
  var IconMention = class extends (_HTMLElement31 = HTMLElement) {
17619
17655
  static {
17620
17656
  ({ c: [_IconMention, _initClass31] } = _apply_decs_2203_r31(this, [], [
17621
- _dec68
17657
+ _dec69
17622
17658
  ], _HTMLElement31));
17623
17659
  }
17624
17660
  static {
@@ -18000,11 +18036,11 @@ function applyDecs2203RFactory32() {
18000
18036
  function _apply_decs_2203_r32(targetClass, memberDecs, classDecs, parentClass) {
18001
18037
  return (_apply_decs_2203_r32 = applyDecs2203RFactory32())(targetClass, memberDecs, classDecs, parentClass);
18002
18038
  }
18003
- var _dec69;
18039
+ var _dec70;
18004
18040
  var _initClass32;
18005
18041
  var _HTMLElement32;
18006
18042
  var _IconMinus;
18007
- _dec69 = Component({
18043
+ _dec70 = Component({
18008
18044
  tag: "ease-icon-minus",
18009
18045
  styles: `
18010
18046
  :host {
@@ -18029,7 +18065,7 @@ _dec69 = Component({
18029
18065
  var IconMinus = class extends (_HTMLElement32 = HTMLElement) {
18030
18066
  static {
18031
18067
  ({ c: [_IconMinus, _initClass32] } = _apply_decs_2203_r32(this, [], [
18032
- _dec69
18068
+ _dec70
18033
18069
  ], _HTMLElement32));
18034
18070
  }
18035
18071
  static {
@@ -18411,11 +18447,11 @@ function applyDecs2203RFactory33() {
18411
18447
  function _apply_decs_2203_r33(targetClass, memberDecs, classDecs, parentClass) {
18412
18448
  return (_apply_decs_2203_r33 = applyDecs2203RFactory33())(targetClass, memberDecs, classDecs, parentClass);
18413
18449
  }
18414
- var _dec70;
18450
+ var _dec71;
18415
18451
  var _initClass33;
18416
18452
  var _HTMLElement33;
18417
18453
  var _IconPlus;
18418
- _dec70 = Component({
18454
+ _dec71 = Component({
18419
18455
  tag: "ease-icon-plus",
18420
18456
  styles: `
18421
18457
  :host {
@@ -18440,7 +18476,7 @@ _dec70 = Component({
18440
18476
  var IconPlus = class extends (_HTMLElement33 = HTMLElement) {
18441
18477
  static {
18442
18478
  ({ c: [_IconPlus, _initClass33] } = _apply_decs_2203_r33(this, [], [
18443
- _dec70
18479
+ _dec71
18444
18480
  ], _HTMLElement33));
18445
18481
  }
18446
18482
  static {
@@ -18822,11 +18858,11 @@ function applyDecs2203RFactory34() {
18822
18858
  function _apply_decs_2203_r34(targetClass, memberDecs, classDecs, parentClass) {
18823
18859
  return (_apply_decs_2203_r34 = applyDecs2203RFactory34())(targetClass, memberDecs, classDecs, parentClass);
18824
18860
  }
18825
- var _dec71;
18861
+ var _dec74;
18826
18862
  var _initClass34;
18827
18863
  var _HTMLElement34;
18828
18864
  var _Settings;
18829
- _dec71 = Component({
18865
+ _dec74 = Component({
18830
18866
  tag: "ease-icon-settings",
18831
18867
  styles: `
18832
18868
  :host {
@@ -18851,7 +18887,7 @@ _dec71 = Component({
18851
18887
  var Settings = class extends (_HTMLElement34 = HTMLElement) {
18852
18888
  static {
18853
18889
  ({ c: [_Settings, _initClass34] } = _apply_decs_2203_r34(this, [], [
18854
- _dec71
18890
+ _dec74
18855
18891
  ], _HTMLElement34));
18856
18892
  }
18857
18893
  static {
@@ -19233,7 +19269,7 @@ function applyDecs2203RFactory35() {
19233
19269
  function _apply_decs_2203_r35(targetClass, memberDecs, classDecs, parentClass) {
19234
19270
  return (_apply_decs_2203_r35 = applyDecs2203RFactory35())(targetClass, memberDecs, classDecs, parentClass);
19235
19271
  }
19236
- var _dec74;
19272
+ var _dec75;
19237
19273
  var _initClass35;
19238
19274
  var _HTMLElement35;
19239
19275
  var _dec118;
@@ -19393,7 +19429,7 @@ var sortByAngle = (ids) => ids.map((id) => DOTS_DATA.find((d) => d.id === id)).f
19393
19429
  var LOOP_DURATION = 1500;
19394
19430
  var ROTATION_DURATION = 600;
19395
19431
  var _LogoLoader;
19396
- _dec74 = Component({
19432
+ _dec75 = Component({
19397
19433
  tag: "ease-logo-loader",
19398
19434
  styles: `
19399
19435
  :host {
@@ -19666,7 +19702,7 @@ var LogoLoader = class extends (_HTMLElement35 = HTMLElement) {
19666
19702
  "ariaLabel"
19667
19703
  ]
19668
19704
  ], [
19669
- _dec74
19705
+ _dec75
19670
19706
  ], _HTMLElement35));
19671
19707
  }
19672
19708
  #___private_loading_1;
@@ -20530,7 +20566,7 @@ function applyDecs2203RFactory36() {
20530
20566
  function _apply_decs_2203_r36(targetClass, memberDecs, classDecs, parentClass) {
20531
20567
  return (_apply_decs_2203_r36 = applyDecs2203RFactory36())(targetClass, memberDecs, classDecs, parentClass);
20532
20568
  }
20533
- var _dec75;
20569
+ var _dec76;
20534
20570
  var _initClass36;
20535
20571
  var _HTMLElement36;
20536
20572
  var _dec119;
@@ -20594,7 +20630,7 @@ var rateFps = (fps, targetFps) => {
20594
20630
  return "poor";
20595
20631
  };
20596
20632
  var _MonitorFps;
20597
- _dec75 = Component({
20633
+ _dec76 = Component({
20598
20634
  tag: "ease-monitor-fps",
20599
20635
  autoSlot: false,
20600
20636
  shadowMode: "open",
@@ -20713,7 +20749,7 @@ var MonitorFps = class extends (_HTMLElement36 = HTMLElement) {
20713
20749
  "canvasEl"
20714
20750
  ]
20715
20751
  ], [
20716
- _dec75
20752
+ _dec76
20717
20753
  ], _HTMLElement36));
20718
20754
  }
20719
20755
  #___private_paused_1;
@@ -21368,7 +21404,7 @@ function applyDecs2203RFactory37() {
21368
21404
  function _apply_decs_2203_r37(targetClass, memberDecs, classDecs, parentClass) {
21369
21405
  return (_apply_decs_2203_r37 = applyDecs2203RFactory37())(targetClass, memberDecs, classDecs, parentClass);
21370
21406
  }
21371
- var _dec76;
21407
+ var _dec77;
21372
21408
  var _initClass37;
21373
21409
  var _HTMLElement37;
21374
21410
  var _dec120;
@@ -21486,7 +21522,7 @@ var estimateCarbonFootprint = (totalBytes) => {
21486
21522
  return `${emissions.toFixed(3)}g CO2 eq.`;
21487
21523
  };
21488
21524
  var _Monitor;
21489
- _dec76 = Component({
21525
+ _dec77 = Component({
21490
21526
  tag: "ease-monitor",
21491
21527
  styles: `
21492
21528
  :host {
@@ -21630,7 +21666,7 @@ var Monitor = class extends (_HTMLElement37 = HTMLElement) {
21630
21666
  "handleFpsUpdate"
21631
21667
  ]
21632
21668
  ], [
21633
- _dec76
21669
+ _dec77
21634
21670
  ], _HTMLElement37));
21635
21671
  }
21636
21672
  #___private_metrics_1;
@@ -22519,7 +22555,7 @@ function applyDecs2203RFactory38() {
22519
22555
  function _apply_decs_2203_r38(targetClass, memberDecs, classDecs, parentClass) {
22520
22556
  return (_apply_decs_2203_r38 = applyDecs2203RFactory38())(targetClass, memberDecs, classDecs, parentClass);
22521
22557
  }
22522
- var _dec77;
22558
+ var _dec78;
22523
22559
  var _initClass38;
22524
22560
  var _HTMLElement38;
22525
22561
  var _dec121;
@@ -22528,19 +22564,19 @@ var _dec312;
22528
22564
  var _dec411;
22529
22565
  var _dec510;
22530
22566
  var _dec610;
22531
- var _dec78;
22567
+ var _dec79;
22532
22568
  var _dec84;
22533
22569
  var _dec94;
22534
22570
  var _init_value6;
22535
22571
  var _init_min;
22536
22572
  var _init_max;
22537
22573
  var _init_step;
22538
- var _init_name4;
22574
+ var _init_name5;
22539
22575
  var _init_disabled6;
22540
22576
  var _init_control3;
22541
22577
  var _initProto17;
22542
22578
  var _NumberInput;
22543
- _dec77 = Component({
22579
+ _dec78 = Component({
22544
22580
  tag: "ease-number-input",
22545
22581
  styles: `
22546
22582
  :host {
@@ -22639,14 +22675,14 @@ _dec77 = Component({
22639
22675
  }), _dec610 = Prop({
22640
22676
  type: Boolean,
22641
22677
  reflect: true
22642
- }), _dec78 = Query("input"), _dec84 = Listen("input", {
22678
+ }), _dec79 = Query("input"), _dec84 = Listen("input", {
22643
22679
  selector: "input"
22644
22680
  }), _dec94 = Listen("change", {
22645
22681
  selector: "input"
22646
22682
  });
22647
22683
  var NumberInput = class extends (_HTMLElement38 = HTMLElement) {
22648
22684
  static {
22649
- ({ e: [_init_value6, _init_min, _init_max, _init_step, _init_name4, _init_disabled6, _init_control3, _initProto17], c: [_NumberInput, _initClass38] } = _apply_decs_2203_r38(this, [
22685
+ ({ e: [_init_value6, _init_min, _init_max, _init_step, _init_name5, _init_disabled6, _init_control3, _initProto17], c: [_NumberInput, _initClass38] } = _apply_decs_2203_r38(this, [
22650
22686
  [
22651
22687
  _dec121,
22652
22688
  1,
@@ -22678,7 +22714,7 @@ var NumberInput = class extends (_HTMLElement38 = HTMLElement) {
22678
22714
  "disabled"
22679
22715
  ],
22680
22716
  [
22681
- _dec78,
22717
+ _dec79,
22682
22718
  1,
22683
22719
  "control"
22684
22720
  ],
@@ -22693,7 +22729,7 @@ var NumberInput = class extends (_HTMLElement38 = HTMLElement) {
22693
22729
  "handleChange"
22694
22730
  ]
22695
22731
  ], [
22696
- _dec77
22732
+ _dec78
22697
22733
  ], _HTMLElement38));
22698
22734
  }
22699
22735
  #___private_value_1;
@@ -22763,20 +22799,28 @@ var NumberInput = class extends (_HTMLElement38 = HTMLElement) {
22763
22799
  return;
22764
22800
  }
22765
22801
  this.value = coerceNumber(target.value);
22766
- dispatchControlEvent(this, "input", {
22802
+ const name = this.name ?? this.getAttribute("name") ?? void 0;
22803
+ const detail = {
22804
+ name,
22767
22805
  value: this.value,
22768
22806
  event
22769
- });
22807
+ };
22808
+ dispatchControlEvent(this, "input", detail);
22809
+ dispatchControlEvent(this, CONTROL_CHANGE_EVENT, detail);
22770
22810
  }
22771
22811
  handleChange(event, target) {
22772
22812
  if (!target) {
22773
22813
  return;
22774
22814
  }
22775
22815
  this.value = coerceNumber(target.value);
22776
- dispatchControlEvent(this, "change", {
22816
+ const name = this.name ?? this.getAttribute("name") ?? void 0;
22817
+ const detail = {
22818
+ name,
22777
22819
  value: this.value,
22778
22820
  event
22779
- });
22821
+ };
22822
+ dispatchControlEvent(this, "change", detail);
22823
+ dispatchControlEvent(this, CONTROL_CHANGE_EVENT, detail);
22780
22824
  }
22781
22825
  addActiveLayer(button) {
22782
22826
  const layer = document.createElement("div");
@@ -22814,7 +22858,7 @@ var NumberInput = class extends (_HTMLElement38 = HTMLElement) {
22814
22858
  _initClass38();
22815
22859
  }
22816
22860
  constructor(...args) {
22817
- super(...args), this.#___private_value_1 = (_initProto17(this), _init_value6(this)), this.#___private_min_2 = _init_min(this), this.#___private_max_3 = _init_max(this), this.#___private_step_4 = _init_step(this), this.#___private_name_5 = _init_name4(this), this.#___private_disabled_6 = _init_disabled6(this), this.#___private_control_7 = _init_control3(this);
22861
+ super(...args), this.#___private_value_1 = (_initProto17(this), _init_value6(this)), this.#___private_min_2 = _init_min(this), this.#___private_max_3 = _init_max(this), this.#___private_step_4 = _init_step(this), this.#___private_name_5 = _init_name5(this), this.#___private_disabled_6 = _init_disabled6(this), this.#___private_control_7 = _init_control3(this);
22818
22862
  }
22819
22863
  };
22820
22864
 
@@ -23192,7 +23236,7 @@ function applyDecs2203RFactory39() {
23192
23236
  function _apply_decs_2203_r39(targetClass, memberDecs, classDecs, parentClass) {
23193
23237
  return (_apply_decs_2203_r39 = applyDecs2203RFactory39())(targetClass, memberDecs, classDecs, parentClass);
23194
23238
  }
23195
- var _dec79;
23239
+ var _dec80;
23196
23240
  var _initClass39;
23197
23241
  var _HTMLElement39;
23198
23242
  var _dec123;
@@ -23203,10 +23247,10 @@ var _dec511;
23203
23247
  var _init_value7;
23204
23248
  var _init_disabled7;
23205
23249
  var _init_control4;
23206
- var _init_name5;
23250
+ var _init_name6;
23207
23251
  var _initProto18;
23208
23252
  var _Origin;
23209
- _dec79 = Component({
23253
+ _dec80 = Component({
23210
23254
  tag: "ease-origin",
23211
23255
  styles: `
23212
23256
  :host {
@@ -23352,7 +23396,7 @@ _dec79 = Component({
23352
23396
  });
23353
23397
  var Origin = class extends (_HTMLElement39 = HTMLElement) {
23354
23398
  static {
23355
- ({ e: [_init_value7, _init_disabled7, _init_control4, _init_name5, _initProto18], c: [_Origin, _initClass39] } = _apply_decs_2203_r39(this, [
23399
+ ({ e: [_init_value7, _init_disabled7, _init_control4, _init_name6, _initProto18], c: [_Origin, _initClass39] } = _apply_decs_2203_r39(this, [
23356
23400
  [
23357
23401
  _dec123,
23358
23402
  1,
@@ -23379,7 +23423,7 @@ var Origin = class extends (_HTMLElement39 = HTMLElement) {
23379
23423
  "handleChange"
23380
23424
  ]
23381
23425
  ], [
23382
- _dec79
23426
+ _dec80
23383
23427
  ], _HTMLElement39));
23384
23428
  }
23385
23429
  #___private_value_1;
@@ -23427,7 +23471,7 @@ var Origin = class extends (_HTMLElement39 = HTMLElement) {
23427
23471
  _initClass39();
23428
23472
  }
23429
23473
  constructor(...args) {
23430
- super(...args), this.#___private_value_1 = (_initProto18(this), _init_value7(this, "center-center")), this.#___private_disabled_2 = _init_disabled7(this), this.#___private_control_3 = _init_control4(this), this.#___private_name_4 = _init_name5(this, ""), this.handleValueChange = (event) => {
23474
+ super(...args), this.#___private_value_1 = (_initProto18(this), _init_value7(this, "center-center")), this.#___private_disabled_2 = _init_disabled7(this), this.#___private_control_3 = _init_control4(this), this.#___private_name_4 = _init_name6(this, ""), this.handleValueChange = (event) => {
23431
23475
  this.value = String(this.control?.value ?? "center-center");
23432
23476
  dispatchControlEvent(this, "change", {
23433
23477
  value: this.value,
@@ -23811,7 +23855,7 @@ function applyDecs2203RFactory40() {
23811
23855
  function _apply_decs_2203_r40(targetClass, memberDecs, classDecs, parentClass) {
23812
23856
  return (_apply_decs_2203_r40 = applyDecs2203RFactory40())(targetClass, memberDecs, classDecs, parentClass);
23813
23857
  }
23814
- var _dec80;
23858
+ var _dec81;
23815
23859
  var _initClass40;
23816
23860
  var _HTMLElement40;
23817
23861
  var _dec124;
@@ -23828,7 +23872,7 @@ var _init_contentElement2;
23828
23872
  var _init_bodyElement;
23829
23873
  var _initProto19;
23830
23874
  var _Panel;
23831
- _dec80 = Component({
23875
+ _dec81 = Component({
23832
23876
  tag: "ease-panel",
23833
23877
  shadowMode: "open",
23834
23878
  styles: `
@@ -23893,7 +23937,6 @@ _dec80 = Component({
23893
23937
  align-items: center;
23894
23938
  gap: 2px;
23895
23939
  flex-grow: 1;
23896
- margin: 0 0 0 4px;
23897
23940
  }
23898
23941
 
23899
23942
  [part="tabs"]:empty {
@@ -23902,17 +23945,18 @@ _dec80 = Component({
23902
23945
 
23903
23946
  [part="tab"] {
23904
23947
  appearance: none;
23948
+ border-radius: var(--ease-panel-tab-radius, var(--radii-md));
23949
+ background-color: var(--ease-panel-tab-background, transparent);
23950
+ box-sizing: border-box;
23951
+ padding: var(--ease-panel-tab-padding, 4px 8px);
23905
23952
  font-size: var(--ease-panel-tab-font-size);
23906
23953
  font-weight: var(--ease-panel-tab-font-weight);
23907
23954
  line-height: 24px;
23908
23955
  font-family: var(--ease-font-family);
23909
23956
  color: var(--ease-panel-tab-color);
23910
- background-color: transparent;
23911
23957
  border: none;
23912
- padding: 4px 8px;
23913
23958
  margin: 0;
23914
23959
  cursor: pointer;
23915
- border-radius: var(--ease-panel-tab-radius);
23916
23960
  transition: color 200ms, background-color 200ms;
23917
23961
  transition-timing-function: cubic-bezier(.25, 0, .5, 1);
23918
23962
  }
@@ -24122,7 +24166,7 @@ var Panel = class extends (_HTMLElement40 = HTMLElement) {
24122
24166
  "onDefaultSlotChange"
24123
24167
  ]
24124
24168
  ], [
24125
- _dec80
24169
+ _dec81
24126
24170
  ], _HTMLElement40));
24127
24171
  }
24128
24172
  #tabs;
@@ -24815,7 +24859,7 @@ function applyDecs2203RFactory41() {
24815
24859
  function _apply_decs_2203_r41(targetClass, memberDecs, classDecs, parentClass) {
24816
24860
  return (_apply_decs_2203_r41 = applyDecs2203RFactory41())(targetClass, memberDecs, classDecs, parentClass);
24817
24861
  }
24818
- var _dec81;
24862
+ var _dec85;
24819
24863
  var _initClass41;
24820
24864
  var _HTMLElement41;
24821
24865
  var _dec125;
@@ -24840,7 +24884,7 @@ var nextPanelId2 = /* @__PURE__ */ (() => {
24840
24884
  };
24841
24885
  })();
24842
24886
  var _RadioGroup;
24843
- _dec81 = Component({
24887
+ _dec85 = Component({
24844
24888
  tag: "ease-radio-group",
24845
24889
  shadowMode: "open",
24846
24890
  styles: `
@@ -24932,7 +24976,7 @@ var RadioGroup = class extends (_HTMLElement41 = HTMLElement) {
24932
24976
  "contentSlot"
24933
24977
  ]
24934
24978
  ], [
24935
- _dec81
24979
+ _dec85
24936
24980
  ], _HTMLElement41));
24937
24981
  }
24938
24982
  #___private_value_1;
@@ -25533,7 +25577,7 @@ function applyDecs2203RFactory42() {
25533
25577
  function _apply_decs_2203_r42(targetClass, memberDecs, classDecs, parentClass) {
25534
25578
  return (_apply_decs_2203_r42 = applyDecs2203RFactory42())(targetClass, memberDecs, classDecs, parentClass);
25535
25579
  }
25536
- var _dec85;
25580
+ var _dec86;
25537
25581
  var _initClass42;
25538
25582
  var _HTMLElement42;
25539
25583
  var _dec126;
@@ -25543,13 +25587,13 @@ var _dec414;
25543
25587
  var _dec513;
25544
25588
  var _dec612;
25545
25589
  var _init_checked2;
25546
- var _init_name6;
25590
+ var _init_name7;
25547
25591
  var _init_value9;
25548
25592
  var _init_disabled8;
25549
25593
  var _init_control5;
25550
25594
  var _initProto21;
25551
25595
  var _RadioInput;
25552
- _dec85 = Component({
25596
+ _dec86 = Component({
25553
25597
  tag: "ease-radio-input",
25554
25598
  shadowMode: "open",
25555
25599
  styles: `
@@ -25816,7 +25860,7 @@ _dec85 = Component({
25816
25860
  });
25817
25861
  var RadioInput = class extends (_HTMLElement42 = HTMLElement) {
25818
25862
  static {
25819
- ({ e: [_init_checked2, _init_name6, _init_value9, _init_disabled8, _init_control5, _initProto21], c: [_RadioInput, _initClass42] } = _apply_decs_2203_r42(this, [
25863
+ ({ e: [_init_checked2, _init_name7, _init_value9, _init_disabled8, _init_control5, _initProto21], c: [_RadioInput, _initClass42] } = _apply_decs_2203_r42(this, [
25820
25864
  [
25821
25865
  _dec126,
25822
25866
  1,
@@ -25848,7 +25892,7 @@ var RadioInput = class extends (_HTMLElement42 = HTMLElement) {
25848
25892
  "handleClick"
25849
25893
  ]
25850
25894
  ], [
25851
- _dec85
25895
+ _dec86
25852
25896
  ], _HTMLElement42));
25853
25897
  }
25854
25898
  #___private_checked_1;
@@ -25931,16 +25975,22 @@ var RadioInput = class extends (_HTMLElement42 = HTMLElement) {
25931
25975
  return;
25932
25976
  }
25933
25977
  this.checked = true;
25934
- dispatchControlEvent(this, "radio", {
25978
+ const groupName = this.closest("ease-radio-group")?.getAttribute("name") ?? void 0;
25979
+ const name = this.getAttribute("name") ?? groupName ?? void 0;
25980
+ const detail = {
25981
+ name,
25935
25982
  value: this.checked,
25936
25983
  event
25937
- });
25984
+ };
25985
+ dispatchControlEvent(this, "radio", detail);
25986
+ dispatchControlEvent(this, "change", detail);
25987
+ dispatchControlEvent(this, CONTROL_CHANGE_EVENT, detail);
25938
25988
  }
25939
25989
  static {
25940
25990
  _initClass42();
25941
25991
  }
25942
25992
  constructor(...args) {
25943
- super(...args), this.#___private_checked_1 = (_initProto21(this), _init_checked2(this)), this.#___private_name_2 = _init_name6(this), this.#___private_value_3 = _init_value9(this), this.#___private_disabled_4 = _init_disabled8(this), this.#___private_control_5 = _init_control5(this), this._firstRender = true, this.filterId = `goo-${crypto.randomUUID()}`;
25993
+ super(...args), this.#___private_checked_1 = (_initProto21(this), _init_checked2(this)), this.#___private_name_2 = _init_name7(this), this.#___private_value_3 = _init_value9(this), this.#___private_disabled_4 = _init_disabled8(this), this.#___private_control_5 = _init_control5(this), this._firstRender = true, this.filterId = `goo-${crypto.randomUUID()}`;
25944
25994
  }
25945
25995
  };
25946
25996
 
@@ -26318,7 +26368,7 @@ function applyDecs2203RFactory43() {
26318
26368
  function _apply_decs_2203_r43(targetClass, memberDecs, classDecs, parentClass) {
26319
26369
  return (_apply_decs_2203_r43 = applyDecs2203RFactory43())(targetClass, memberDecs, classDecs, parentClass);
26320
26370
  }
26321
- var _dec86;
26371
+ var _dec87;
26322
26372
  var _initClass43;
26323
26373
  var _HTMLElement43;
26324
26374
  var _dec127;
@@ -26328,7 +26378,7 @@ var _dec415;
26328
26378
  var _dec514;
26329
26379
  var _dec613;
26330
26380
  var _dec711;
26331
- var _dec87;
26381
+ var _dec88;
26332
26382
  var _dec95;
26333
26383
  var _dec104;
26334
26384
  var _dec1110;
@@ -26341,7 +26391,7 @@ var _init_control6;
26341
26391
  var _init_valueControl;
26342
26392
  var _initProto22;
26343
26393
  var _Slider;
26344
- _dec86 = Component({
26394
+ _dec87 = Component({
26345
26395
  tag: "ease-slider",
26346
26396
  styles: `
26347
26397
  :host {
@@ -26452,11 +26502,15 @@ _dec86 = Component({
26452
26502
  .step=${this.step ?? 1}
26453
26503
  .value=${String(this.value ?? 0)}
26454
26504
  ?disabled=${this.disabled}
26505
+ @input=${this.handleRangeInput}
26506
+ @change=${this.handleRangeChange}
26455
26507
  ?aria-disabled=${this.disabled}
26456
26508
  />
26457
26509
 
26458
26510
  <ease-input
26459
26511
  part="value"
26512
+ @input=${this.handleValueInput}
26513
+ @change=${this.handleValueChange}
26460
26514
  type="number"
26461
26515
  placeholder="-"
26462
26516
  .disabled=${Boolean(this.disabled)}
@@ -26480,7 +26534,7 @@ _dec86 = Component({
26480
26534
  }), _dec514 = Prop({
26481
26535
  type: Boolean,
26482
26536
  reflect: true
26483
- }), _dec613 = Query("input"), _dec711 = Query("ease-input"), _dec87 = Listen("input", {
26537
+ }), _dec613 = Query("input"), _dec711 = Query("ease-input"), _dec88 = Listen("input", {
26484
26538
  selector: 'input[type="range"]'
26485
26539
  }), _dec95 = Listen("change", {
26486
26540
  selector: 'input[type="range"]'
@@ -26530,7 +26584,7 @@ var Slider = class extends (_HTMLElement43 = HTMLElement) {
26530
26584
  "valueControl"
26531
26585
  ],
26532
26586
  [
26533
- _dec87,
26587
+ _dec88,
26534
26588
  2,
26535
26589
  "handleRangeInput"
26536
26590
  ],
@@ -26550,7 +26604,7 @@ var Slider = class extends (_HTMLElement43 = HTMLElement) {
26550
26604
  "handleValueChange"
26551
26605
  ]
26552
26606
  ], [
26553
- _dec86
26607
+ _dec87
26554
26608
  ], _HTMLElement43));
26555
26609
  }
26556
26610
  #___private_value_1;
@@ -26628,10 +26682,13 @@ var Slider = class extends (_HTMLElement43 = HTMLElement) {
26628
26682
  if (this.valueControl) {
26629
26683
  this.valueControl.value = numericValue === null ? "" : String(numericValue);
26630
26684
  }
26631
- dispatchControlEvent(this, "input", {
26685
+ const name = this.getAttribute("name") ?? void 0;
26686
+ const detail = {
26687
+ name,
26632
26688
  value: this.value,
26633
26689
  event
26634
- });
26690
+ };
26691
+ dispatchControlEvent(this, CONTROL_CHANGE_EVENT, detail);
26635
26692
  }
26636
26693
  handleRangeChange(event, target) {
26637
26694
  if (target) {
@@ -26642,10 +26699,13 @@ var Slider = class extends (_HTMLElement43 = HTMLElement) {
26642
26699
  this.valueControl.value = numericValue === null ? "" : String(numericValue);
26643
26700
  }
26644
26701
  }
26645
- dispatchControlEvent(this, "change", {
26702
+ const name = this.getAttribute("name") ?? void 0;
26703
+ const detail = {
26704
+ name,
26646
26705
  value: this.value,
26647
26706
  event
26648
- });
26707
+ };
26708
+ dispatchControlEvent(this, CONTROL_CHANGE_EVENT, detail);
26649
26709
  }
26650
26710
  handleValueInput(event) {
26651
26711
  const rawValue = event.detail?.value ?? "";
@@ -26655,10 +26715,15 @@ var Slider = class extends (_HTMLElement43 = HTMLElement) {
26655
26715
  if (this.control) {
26656
26716
  this.control.value = String(numericValue ?? 0);
26657
26717
  }
26658
- dispatchControlEvent(this, "input", {
26718
+ const name = this.getAttribute("name") ?? void 0;
26719
+ const controlEvent = event.detail?.event ?? event;
26720
+ const detail = {
26721
+ name,
26659
26722
  value: this.value,
26660
- event: event.detail?.event ?? event
26661
- });
26723
+ event: controlEvent
26724
+ };
26725
+ dispatchControlEvent(this, "input", detail);
26726
+ dispatchControlEvent(this, CONTROL_CHANGE_EVENT, detail);
26662
26727
  }
26663
26728
  handleValueChange(event) {
26664
26729
  const rawValue = event.detail?.value ?? "";
@@ -26668,10 +26733,15 @@ var Slider = class extends (_HTMLElement43 = HTMLElement) {
26668
26733
  if (this.control) {
26669
26734
  this.control.value = String(numericValue ?? 0);
26670
26735
  }
26671
- dispatchControlEvent(this, "change", {
26736
+ const name = this.getAttribute("name") ?? void 0;
26737
+ const controlEvent = event.detail?.event ?? event;
26738
+ const detail = {
26739
+ name,
26672
26740
  value: this.value,
26673
- event: event.detail?.event ?? event
26674
- });
26741
+ event: controlEvent
26742
+ };
26743
+ dispatchControlEvent(this, "change", detail);
26744
+ dispatchControlEvent(this, CONTROL_CHANGE_EVENT, detail);
26675
26745
  }
26676
26746
  updateProgress() {
26677
26747
  if (!this.control) {
@@ -27065,7 +27135,7 @@ function applyDecs2203RFactory44() {
27065
27135
  function _apply_decs_2203_r44(targetClass, memberDecs, classDecs, parentClass) {
27066
27136
  return (_apply_decs_2203_r44 = applyDecs2203RFactory44())(targetClass, memberDecs, classDecs, parentClass);
27067
27137
  }
27068
- var _dec88;
27138
+ var _dec89;
27069
27139
  var _initClass44;
27070
27140
  var _HTMLElement44;
27071
27141
  var _dec128;
@@ -27098,7 +27168,7 @@ var getControlName = (element) => {
27098
27168
  return element.getAttribute?.("name") ?? null;
27099
27169
  };
27100
27170
  var _State;
27101
- _dec88 = Component({
27171
+ _dec89 = Component({
27102
27172
  tag: "ease-state",
27103
27173
  shadowMode: "open",
27104
27174
  styles: `
@@ -27151,7 +27221,7 @@ var State = class extends (_HTMLElement44 = HTMLElement) {
27151
27221
  "handleControlChange"
27152
27222
  ]
27153
27223
  ], [
27154
- _dec88
27224
+ _dec89
27155
27225
  ], _HTMLElement44));
27156
27226
  }
27157
27227
  #controls;
@@ -27734,7 +27804,7 @@ function applyDecs2203RFactory45() {
27734
27804
  function _apply_decs_2203_r45(targetClass, memberDecs, classDecs, parentClass) {
27735
27805
  return (_apply_decs_2203_r45 = applyDecs2203RFactory45())(targetClass, memberDecs, classDecs, parentClass);
27736
27806
  }
27737
- var _dec89;
27807
+ var _dec90;
27738
27808
  var _initClass45;
27739
27809
  var _HTMLElement45;
27740
27810
  var _dec129;
@@ -27746,7 +27816,7 @@ var _init_disabled10;
27746
27816
  var _init_control7;
27747
27817
  var _initProto24;
27748
27818
  var _Toggle;
27749
- _dec89 = Component({
27819
+ _dec90 = Component({
27750
27820
  tag: "ease-toggle",
27751
27821
  styles: `
27752
27822
  :host {
@@ -27891,7 +27961,7 @@ var Toggle = class extends (_HTMLElement45 = HTMLElement) {
27891
27961
  "handleClick"
27892
27962
  ]
27893
27963
  ], [
27894
- _dec89
27964
+ _dec90
27895
27965
  ], _HTMLElement45));
27896
27966
  }
27897
27967
  #___private_checked_1;
@@ -27931,10 +28001,15 @@ var Toggle = class extends (_HTMLElement45 = HTMLElement) {
27931
28001
  return;
27932
28002
  }
27933
28003
  this.checked = !this.checked;
27934
- dispatchControlEvent(this, "toggle", {
28004
+ const name = this.getAttribute("name") ?? void 0;
28005
+ const detail = {
28006
+ name,
27935
28007
  value: this.checked,
27936
28008
  event
27937
- });
28009
+ };
28010
+ dispatchControlEvent(this, "toggle", detail);
28011
+ dispatchControlEvent(this, "change", detail);
28012
+ dispatchControlEvent(this, CONTROL_CHANGE_EVENT, detail);
27938
28013
  }
27939
28014
  static {
27940
28015
  _initClass45();
@@ -28318,7 +28393,7 @@ function applyDecs2203RFactory46() {
28318
28393
  function _apply_decs_2203_r46(targetClass, memberDecs, classDecs, parentClass) {
28319
28394
  return (_apply_decs_2203_r46 = applyDecs2203RFactory46())(targetClass, memberDecs, classDecs, parentClass);
28320
28395
  }
28321
- var _dec90;
28396
+ var _dec91;
28322
28397
  var _initClass46;
28323
28398
  var _HTMLElement46;
28324
28399
  var _dec130;
@@ -28334,7 +28409,7 @@ var _init_triggerElement;
28334
28409
  var _init_contentElement3;
28335
28410
  var _initProto25;
28336
28411
  var _Tooltip;
28337
- _dec90 = Component({
28412
+ _dec91 = Component({
28338
28413
  tag: "ease-tooltip",
28339
28414
  shadowMode: "open",
28340
28415
  styles: `
@@ -28418,7 +28493,7 @@ var Tooltip = class extends (_HTMLElement46 = HTMLElement) {
28418
28493
  "handleOutsideDismiss"
28419
28494
  ]
28420
28495
  ], [
28421
- _dec90
28496
+ _dec91
28422
28497
  ], _HTMLElement46));
28423
28498
  }
28424
28499
  #hoverTimer;