@easemate/web-kit 0.3.4 → 0.3.6

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/react.js CHANGED
@@ -3063,10 +3063,15 @@ var init_checkbox = __esm({
3063
3063
  return;
3064
3064
  }
3065
3065
  this.checked = !this.checked;
3066
- dispatchControlEvent(this, "checkbox", {
3066
+ const name = this.name ?? this.getAttribute("name") ?? void 0;
3067
+ const detail = {
3068
+ name,
3067
3069
  value: this.checked,
3068
3070
  event
3069
- });
3071
+ };
3072
+ dispatchControlEvent(this, "checkbox", detail);
3073
+ dispatchControlEvent(this, "change", detail);
3074
+ dispatchControlEvent(this, CONTROL_CHANGE_EVENT, detail);
3070
3075
  }
3071
3076
  static {
3072
3077
  _initClass2();
@@ -3457,13 +3462,14 @@ function applyDecs2203RFactory3() {
3457
3462
  function _apply_decs_2203_r3(targetClass, memberDecs, classDecs, parentClass) {
3458
3463
  return (_apply_decs_2203_r3 = applyDecs2203RFactory3())(targetClass, memberDecs, classDecs, parentClass);
3459
3464
  }
3460
- var _dec8, _initClass3, _HTMLElement3, _dec13, _dec23, _dec33, _init_placement, _init_offset, _init_open, _initProto3, nextAnchorName, _Popover, Popover, popover_default;
3465
+ var _dec8, _initClass3, _HTMLElement3, _dec13, _dec23, _dec33, _dec43, _init_contentElement, _init_placement, _init_offset, _init_open, _initProto3, nextAnchorName, _Popover, Popover, popover_default;
3461
3466
  var init_popover = __esm({
3462
3467
  "swc:/Users/aaroniker/Documents/GitHub/ease/web-kit/packages/core/src/elements/popover/index.ts"() {
3463
3468
  "use strict";
3464
3469
  init_Component();
3465
3470
  init_Prop();
3466
- nextAnchorName = () => `--ease-popover-anchor-${crypto.randomUUID()}`;
3471
+ init_Query();
3472
+ nextAnchorName = () => `--ease-popover-anchor-${crypto.randomUUID().slice(0, 8)}`;
3467
3473
  _dec8 = Component({
3468
3474
  tag: "ease-popover",
3469
3475
  autoSlot: false,
@@ -3472,7 +3478,6 @@ var init_popover = __esm({
3472
3478
  :host {
3473
3479
  display: contents;
3474
3480
  --ease-popover-offset: 8px;
3475
- --ease-popover-anchor-name: --ease-popover-anchor;
3476
3481
  --ease-popover-transform-origin: center center;
3477
3482
  --ease-popover-duration: 200ms;
3478
3483
  --ease-popover-content-min-width: auto;
@@ -3485,140 +3490,110 @@ var init_popover = __esm({
3485
3490
  }
3486
3491
 
3487
3492
  [part="content"] {
3488
- position-anchor: var(--ease-popover-anchor-name);
3489
3493
  position: fixed;
3494
+ position-anchor: var(--ease-popover-anchor-name);
3490
3495
  margin: 0;
3491
- transform-origin: var(--ease-popover-transform-origin);
3496
+ padding: 0;
3497
+ border: none;
3498
+ background: transparent;
3499
+ overflow: visible;
3492
3500
  width: var(--ease-popover-content-width);
3493
3501
  min-width: var(--ease-popover-content-min-width);
3494
3502
  max-width: var(--ease-popover-content-max-width);
3495
3503
  box-sizing: border-box;
3496
- overscroll-behavior: contain;
3497
- z-index: 100;
3498
- display: none;
3499
3504
  }
3500
3505
 
3501
- :host([open]) [part="content"] {
3506
+ [part="content"]:popover-open {
3502
3507
  display: block;
3503
3508
  }
3504
3509
 
3505
3510
  :host([placement="top-start"]) [part="content"] {
3506
- position-area: top right;
3507
- top: anchor(bottom);
3508
- left: anchor(left);
3509
- translate: 0 calc(var(--ease-popover-offset) * -1);
3511
+ position-area: top span-right;
3512
+ margin-bottom: var(--ease-popover-offset);
3510
3513
  }
3511
-
3512
3514
  :host([placement="top-center"]) [part="content"] {
3513
3515
  position-area: top center;
3514
- top: anchor(top);
3515
- left: anchor(center);
3516
- translate: 0 calc(var(--ease-popover-offset) * -1);
3516
+ margin-bottom: var(--ease-popover-offset);
3517
3517
  }
3518
-
3519
3518
  :host([placement="top-end"]) [part="content"] {
3520
- position-area: top right;
3521
- top: anchor(bottom);
3522
- right: anchor(right);
3523
- translate: 0 calc(var(--ease-popover-offset) * -1);
3519
+ position-area: top span-left;
3520
+ margin-bottom: var(--ease-popover-offset);
3524
3521
  }
3525
-
3526
3522
  :host([placement="bottom-start"]) [part="content"] {
3527
- position-area: bottom right;
3528
- top: anchor(bottom);
3529
- left: anchor(left);
3530
- translate: 0 var(--ease-popover-offset);
3523
+ position-area: bottom span-right;
3524
+ margin-top: var(--ease-popover-offset);
3531
3525
  }
3532
-
3533
3526
  :host([placement="bottom-center"]) [part="content"] {
3534
3527
  position-area: bottom center;
3535
- top: anchor(bottom);
3536
- left: anchor(left);
3537
- translate: 0 var(--ease-popover-offset);
3528
+ margin-top: var(--ease-popover-offset);
3538
3529
  }
3539
-
3540
3530
  :host([placement="bottom-end"]) [part="content"] {
3541
- position-area: bottom left;
3542
- top: anchor(bottom);
3543
- right: anchor(right);
3544
- translate: 0 var(--ease-popover-offset);
3531
+ position-area: bottom span-left;
3532
+ margin-top: var(--ease-popover-offset);
3545
3533
  }
3546
-
3547
3534
  :host([placement="left-start"]) [part="content"] {
3548
- position-area: left bottom;
3549
- top: anchor(top);
3550
- left: anchor(left);
3551
- translate: calc(var(--ease-popover-offset) * -1) 0;
3535
+ position-area: left span-bottom;
3536
+ margin-right: var(--ease-popover-offset);
3552
3537
  }
3553
-
3554
3538
  :host([placement="left-center"]) [part="content"] {
3555
3539
  position-area: left center;
3556
- top: anchor(top);
3557
- left: anchor(left);
3558
- translate: calc(var(--ease-popover-offset) * -1) 0;
3540
+ margin-right: var(--ease-popover-offset);
3559
3541
  }
3560
-
3561
3542
  :host([placement="left-end"]) [part="content"] {
3562
- position-area: left top;
3563
- top: anchor(top);
3564
- left: anchor(left);
3565
- translate: calc(var(--ease-popover-offset) * -1) 0;
3543
+ position-area: left span-top;
3544
+ margin-right: var(--ease-popover-offset);
3566
3545
  }
3567
-
3568
3546
  :host([placement="right-start"]) [part="content"] {
3569
- position-area: right end;
3570
- top: anchor(top);
3571
- left: anchor(right);
3572
- translate: var(--ease-popover-offset) 0;
3547
+ position-area: right span-bottom;
3548
+ margin-left: var(--ease-popover-offset);
3573
3549
  }
3574
-
3575
3550
  :host([placement="right-center"]) [part="content"] {
3576
3551
  position-area: right center;
3577
- top: anchor(top);
3578
- left: anchor(right);
3579
- translate: var(--ease-popover-offset) 0;
3552
+ margin-left: var(--ease-popover-offset);
3580
3553
  }
3581
-
3582
3554
  :host([placement="right-end"]) [part="content"] {
3583
- position-area: right start;
3584
- top: anchor(top);
3585
- left: anchor(right);
3586
- translate: var(--ease-popover-offset) 0;
3555
+ position-area: right span-top;
3556
+ margin-left: var(--ease-popover-offset);
3587
3557
  }
3588
3558
  `
3589
- }), _dec13 = Prop({
3559
+ }), _dec13 = Query('[part="content"]'), _dec23 = Prop({
3590
3560
  reflect: true,
3591
- defaultValue: "bottom-start",
3592
- onChange() {
3593
- this.handlePlacementChange();
3594
- }
3595
- }), _dec23 = Prop({
3561
+ defaultValue: "bottom-start"
3562
+ }), _dec33 = Prop({
3596
3563
  type: Number,
3597
3564
  reflect: true,
3598
3565
  defaultValue: 8,
3599
3566
  onChange() {
3600
3567
  this.handleOffsetChange();
3601
3568
  }
3602
- }), _dec33 = Prop({
3569
+ }), _dec43 = Prop({
3603
3570
  type: Boolean,
3604
- reflect: true
3571
+ reflect: true,
3572
+ onChange() {
3573
+ this.handleOpenChange();
3574
+ }
3605
3575
  });
3606
3576
  Popover = class extends (_HTMLElement3 = HTMLElement) {
3607
3577
  static {
3608
- ({ e: [_init_placement, _init_offset, _init_open, _initProto3], c: [_Popover, _initClass3] } = _apply_decs_2203_r3(this, [
3578
+ ({ e: [_init_contentElement, _init_placement, _init_offset, _init_open, _initProto3], c: [_Popover, _initClass3] } = _apply_decs_2203_r3(this, [
3609
3579
  [
3610
3580
  _dec13,
3611
3581
  1,
3612
- "placement"
3582
+ "contentElement"
3613
3583
  ],
3614
3584
  [
3615
3585
  _dec23,
3616
3586
  1,
3617
- "offset"
3587
+ "placement"
3618
3588
  ],
3619
3589
  [
3620
3590
  _dec33,
3621
3591
  1,
3592
+ "offset"
3593
+ ],
3594
+ [
3595
+ _dec43,
3596
+ 1,
3622
3597
  "open"
3623
3598
  ]
3624
3599
  ], [
@@ -3626,85 +3601,75 @@ var init_popover = __esm({
3626
3601
  ], _HTMLElement3));
3627
3602
  }
3628
3603
  #anchorName;
3629
- #contentElement;
3630
- #initialized;
3604
+ #___private_contentElement_1;
3631
3605
  get contentElement() {
3632
- return this.#contentElement;
3606
+ return this.#___private_contentElement_1;
3607
+ }
3608
+ set contentElement(_v) {
3609
+ this.#___private_contentElement_1 = _v;
3633
3610
  }
3634
- #___private_placement_1;
3611
+ #___private_placement_2;
3635
3612
  get placement() {
3636
- return this.#___private_placement_1;
3613
+ return this.#___private_placement_2;
3637
3614
  }
3638
3615
  set placement(_v) {
3639
- this.#___private_placement_1 = _v;
3616
+ this.#___private_placement_2 = _v;
3640
3617
  }
3641
- #___private_offset_2;
3618
+ #___private_offset_3;
3642
3619
  get offset() {
3643
- return this.#___private_offset_2;
3620
+ return this.#___private_offset_3;
3644
3621
  }
3645
3622
  set offset(_v) {
3646
- this.#___private_offset_2 = _v;
3623
+ this.#___private_offset_3 = _v;
3647
3624
  }
3648
- #___private_open_3;
3625
+ #___private_open_4;
3649
3626
  get open() {
3650
- return this.#___private_open_3;
3627
+ return this.#___private_open_4;
3651
3628
  }
3652
3629
  set open(_v) {
3653
- this.#___private_open_3 = _v;
3630
+ this.#___private_open_4 = _v;
3631
+ }
3632
+ handleOffsetChange() {
3633
+ const offset = Number.isFinite(this.offset) ? this.offset : 8;
3634
+ this.style.setProperty("--ease-popover-offset", `${offset}px`);
3635
+ }
3636
+ handleOpenChange() {
3637
+ const content = this.contentElement;
3638
+ if (!content) {
3639
+ return;
3640
+ }
3641
+ if (this.open) {
3642
+ content.showPopover();
3643
+ } else {
3644
+ content.hidePopover();
3645
+ }
3654
3646
  }
3655
3647
  connectedCallback() {
3656
- this.#syncAnchorName();
3657
- this.#syncOffset();
3648
+ this.style.setProperty("--ease-popover-anchor-name", this.#anchorName);
3649
+ this.handleOffsetChange();
3658
3650
  }
3659
- disconnectedCallback() {
3660
- this.#contentElement = null;
3661
- this.#initialized = false;
3651
+ afterRender() {
3652
+ const content = this.contentElement;
3653
+ if (content && this.open) {
3654
+ try {
3655
+ content.showPopover();
3656
+ } catch (_e) {
3657
+ }
3658
+ }
3662
3659
  }
3663
3660
  render() {
3664
3661
  return html4`
3665
- <slot slot="trigger" name="trigger"></slot>
3666
- <div
3667
- part="content"
3668
- data-popover-content
3669
- role="region"
3670
- data-placement=${this.placement}
3671
- >
3662
+ <slot name="trigger"></slot>
3663
+ <div part="content" popover="manual" role="region">
3672
3664
  <slot></slot>
3673
3665
  </div>
3674
3666
  `;
3675
3667
  }
3676
- handlePlacementChange() {
3677
- if (!this.#initialized) {
3678
- this.requestRender();
3679
- return;
3680
- }
3681
- this.#syncPlacement();
3682
- }
3683
- handleOffsetChange() {
3684
- if (!this.#initialized) {
3685
- this.requestRender();
3686
- return;
3687
- }
3688
- this.#syncOffset();
3689
- }
3690
- #syncPlacement() {
3691
- this.dataset.placement = this.placement;
3692
- if (this.#contentElement) {
3693
- this.#contentElement.dataset.placement = this.placement;
3694
- }
3695
- }
3696
- #syncOffset() {
3697
- const offset = Number.isFinite(this.offset) ? this.offset : 0;
3698
- this.style.setProperty("--ease-popover-offset", `${offset}px`);
3699
- }
3700
- #syncAnchorName() {
3701
- this.style.setProperty("--ease-popover-anchor-name", this.#anchorName);
3702
- }
3703
3668
  static {
3704
3669
  _initClass3();
3705
3670
  }
3706
3671
  constructor(...args) {
3707
- super(...args), this.#anchorName = (_initProto3(this), nextAnchorName()), this.#contentElement = null, this.#initialized = false, this.#___private_placement_1 = _init_placement(this), this.#___private_offset_2 = _init_offset(this, 8), this.#___private_open_3 = _init_open(this, false);
3672
+ super(...args), this.#anchorName = (_initProto3(this), nextAnchorName()), this.#___private_contentElement_1 = _init_contentElement(this), this.#___private_placement_2 = _init_placement(this), this.#___private_offset_3 = _init_offset(this, 8), this.#___private_open_4 = _init_open(this, false);
3708
3673
  }
3709
3674
  };
3710
3675
  popover_default = {
@@ -4793,7 +4758,7 @@ function applyDecs2203RFactory5() {
4793
4758
  function _apply_decs_2203_r5(targetClass, memberDecs, classDecs, parentClass) {
4794
4759
  return (_apply_decs_2203_r5 = applyDecs2203RFactory5())(targetClass, memberDecs, classDecs, parentClass);
4795
4760
  }
4796
- var _dec10, _initClass5, _HTMLElement5, _dec15, _dec24, _dec34, _dec43, _dec53, _dec63, _dec72, _dec82, _dec92, _dec102, _dec11, _dec122, _dec132, _dec142, _dec152, _dec16, _init_open2, _init_disabled3, _init_pill2, _init_headless, _init_searchable, _init_block2, _init_maxHeight, _init_name2, _init_value2, _init_placeholder, _init_placement2, _init_trigger, _init_searchInput, _init_panelContent, _init_contentSlot, _initProto5, nextOptionId, nextPanelId, _Dropdown, Dropdown;
4761
+ var _dec10, _initClass5, _HTMLElement5, _dec15, _dec24, _dec34, _dec44, _dec53, _dec63, _dec72, _dec82, _dec92, _dec102, _dec11, _dec122, _dec132, _dec142, _dec152, _dec16, _init_open2, _init_disabled3, _init_pill2, _init_headless, _init_searchable, _init_block2, _init_maxHeight, _init_name2, _init_value2, _init_placeholder, _init_placement2, _init_trigger, _init_searchInput, _init_panelContent, _init_contentSlot, _initProto5, nextOptionId, nextPanelId, _Dropdown, Dropdown;
4797
4762
  var init_dropdown = __esm({
4798
4763
  "swc:/Users/aaroniker/Documents/GitHub/ease/web-kit/packages/core/src/elements/dropdown/index.ts"() {
4799
4764
  "use strict";
@@ -5071,7 +5036,7 @@ var init_dropdown = __esm({
5071
5036
  }), _dec34 = Prop({
5072
5037
  type: Boolean,
5073
5038
  reflect: true
5074
- }), _dec43 = Prop({
5039
+ }), _dec44 = Prop({
5075
5040
  type: Boolean,
5076
5041
  reflect: true
5077
5042
  }), _dec53 = Prop({
@@ -5130,7 +5095,7 @@ var init_dropdown = __esm({
5130
5095
  "pill"
5131
5096
  ],
5132
5097
  [
5133
- _dec43,
5098
+ _dec44,
5134
5099
  1,
5135
5100
  "headless"
5136
5101
  ],
@@ -5492,6 +5457,7 @@ var init_dropdown = __esm({
5492
5457
  }
5493
5458
  }
5494
5459
  dispatchControlEvent(this, "toggle", {
5460
+ name: this.name ?? void 0,
5495
5461
  value: next,
5496
5462
  event: origin
5497
5463
  });
@@ -5755,6 +5721,7 @@ var init_dropdown = __esm({
5755
5721
  }
5756
5722
  #dispatchValueChange(value, label, event) {
5757
5723
  dispatchControlEvent(this, "change", {
5724
+ name: this.name ?? void 0,
5758
5725
  value,
5759
5726
  event
5760
5727
  });
@@ -6247,7 +6214,7 @@ function applyDecs2203RFactory6() {
6247
6214
  function _apply_decs_2203_r6(targetClass, memberDecs, classDecs, parentClass) {
6248
6215
  return (_apply_decs_2203_r6 = applyDecs2203RFactory6())(targetClass, memberDecs, classDecs, parentClass);
6249
6216
  }
6250
- var _dec17, _initClass6, _HTMLElement6, _dec18, _dec25, _dec35, _dec44, _dec54, _dec64, _dec73, _dec83, _dec93, _dec103, _dec112, _init_value3, _init_placeholder2, _init_type2, _init_name3, _init_disabled4, _init_headless2, _init_control2, _initProto6, _Input, Input;
6217
+ var _dec17, _initClass6, _HTMLElement6, _dec18, _dec25, _dec35, _dec45, _dec54, _dec64, _dec73, _dec83, _dec93, _dec103, _dec112, _init_value3, _init_placeholder2, _init_type2, _init_name3, _init_disabled4, _init_headless2, _init_control2, _initProto6, _Input, Input;
6251
6218
  var init_input = __esm({
6252
6219
  "swc:/Users/aaroniker/Documents/GitHub/ease/web-kit/packages/core/src/elements/input/index.ts"() {
6253
6220
  "use strict";
@@ -6450,7 +6417,7 @@ var init_input = __esm({
6450
6417
  }), _dec35 = Prop({
6451
6418
  reflect: true,
6452
6419
  defaultValue: "text"
6453
- }), _dec44 = Prop({
6420
+ }), _dec45 = Prop({
6454
6421
  reflect: true
6455
6422
  }), _dec54 = Prop({
6456
6423
  type: Boolean,
@@ -6488,7 +6455,7 @@ var init_input = __esm({
6488
6455
  "type"
6489
6456
  ],
6490
6457
  [
6491
- _dec44,
6458
+ _dec45,
6492
6459
  1,
6493
6460
  "name"
6494
6461
  ],
@@ -6630,20 +6597,28 @@ var init_input = __esm({
6630
6597
  return;
6631
6598
  }
6632
6599
  this.value = target.value;
6633
- dispatchControlEvent(this, "input", {
6600
+ const name = this.name ?? this.getAttribute("name") ?? void 0;
6601
+ const detail = {
6602
+ name,
6634
6603
  value: this.value ?? "",
6635
6604
  event
6636
- });
6605
+ };
6606
+ dispatchControlEvent(this, "input", detail);
6607
+ dispatchControlEvent(this, CONTROL_CHANGE_EVENT, detail);
6637
6608
  }
6638
6609
  handleChange(event, target) {
6639
6610
  if (!target) {
6640
6611
  return;
6641
6612
  }
6642
6613
  this.value = target.value;
6643
- dispatchControlEvent(this, "change", {
6614
+ const name = this.name ?? this.getAttribute("name") ?? void 0;
6615
+ const detail = {
6616
+ name,
6644
6617
  value: this.value ?? "",
6645
6618
  event
6646
- });
6619
+ };
6620
+ dispatchControlEvent(this, "change", detail);
6621
+ dispatchControlEvent(this, CONTROL_CHANGE_EVENT, detail);
6647
6622
  }
6648
6623
  static {
6649
6624
  _initClass6();
@@ -8199,7 +8174,7 @@ function applyDecs2203RFactory9() {
8199
8174
  function _apply_decs_2203_r9(targetClass, memberDecs, classDecs, parentClass) {
8200
8175
  return (_apply_decs_2203_r9 = applyDecs2203RFactory9())(targetClass, memberDecs, classDecs, parentClass);
8201
8176
  }
8202
- var _dec21, _initClass9, _HTMLElement9, _dec110, _dec26, _dec36, _dec45, _init_saturationArea, _init_hueArea, _init_hexInput, _init_value4, _initProto7, _ColorPicker, ColorPicker, picker_default;
8177
+ var _dec21, _initClass9, _HTMLElement9, _dec110, _dec26, _dec36, _dec46, _init_saturationArea, _init_hueArea, _init_hexInput, _init_value4, _initProto7, _ColorPicker, ColorPicker, picker_default;
8203
8178
  var init_picker2 = __esm({
8204
8179
  "swc:/Users/aaroniker/Documents/GitHub/ease/web-kit/packages/core/src/elements/color/picker.ts"() {
8205
8180
  "use strict";
@@ -8527,7 +8502,7 @@ var init_picker2 = __esm({
8527
8502
  </div>
8528
8503
  `;
8529
8504
  }
8530
- }), _dec110 = Query('[part="saturation"]'), _dec26 = Query('[part="hue"]'), _dec36 = Query('[part="hex-input"]'), _dec45 = Prop({
8505
+ }), _dec110 = Query('[part="saturation"]'), _dec26 = Query('[part="hue"]'), _dec36 = Query('[part="hex-input"]'), _dec46 = Prop({
8531
8506
  reflect: true,
8532
8507
  defaultValue: "#FF0000",
8533
8508
  onChange(value) {
@@ -8555,7 +8530,7 @@ var init_picker2 = __esm({
8555
8530
  "hexInput"
8556
8531
  ],
8557
8532
  [
8558
- _dec45,
8533
+ _dec46,
8559
8534
  1,
8560
8535
  "value"
8561
8536
  ]
@@ -9175,7 +9150,7 @@ function applyDecs2203RFactory10() {
9175
9150
  function _apply_decs_2203_r10(targetClass, memberDecs, classDecs, parentClass) {
9176
9151
  return (_apply_decs_2203_r10 = applyDecs2203RFactory10())(targetClass, memberDecs, classDecs, parentClass);
9177
9152
  }
9178
- var _dec27, _initClass10, _HTMLElement10, _dec111, _dec28, _dec37, _dec46, _init_dropdown, _init_value5, _init_disabled5, _init_placement3, _initProto8, _ColorInput, ColorInput;
9153
+ var _dec27, _initClass10, _HTMLElement10, _dec111, _dec28, _dec37, _dec47, _dec55, _init_dropdown, _init_value5, _init_disabled5, _init_name4, _init_placement3, _initProto8, _ColorInput, ColorInput;
9179
9154
  var init_color = __esm({
9180
9155
  "swc:/Users/aaroniker/Documents/GitHub/ease/web-kit/packages/core/src/elements/color/index.ts"() {
9181
9156
  "use strict";
@@ -9258,13 +9233,16 @@ var init_color = __esm({
9258
9233
  }), _dec37 = Prop({
9259
9234
  type: Boolean,
9260
9235
  reflect: true
9261
- }), _dec46 = Prop({
9236
+ }), _dec47 = Prop({
9237
+ reflect: true,
9238
+ defaultValue: null
9239
+ }), _dec55 = Prop({
9262
9240
  reflect: true,
9263
9241
  defaultValue: "bottom-start"
9264
9242
  });
9265
9243
  ColorInput = class extends (_HTMLElement10 = HTMLElement) {
9266
9244
  static {
9267
- ({ e: [_init_dropdown, _init_value5, _init_disabled5, _init_placement3, _initProto8], c: [_ColorInput, _initClass10] } = _apply_decs_2203_r10(this, [
9245
+ ({ e: [_init_dropdown, _init_value5, _init_disabled5, _init_name4, _init_placement3, _initProto8], c: [_ColorInput, _initClass10] } = _apply_decs_2203_r10(this, [
9268
9246
  [
9269
9247
  _dec111,
9270
9248
  1,
@@ -9281,7 +9259,12 @@ var init_color = __esm({
9281
9259
  "disabled"
9282
9260
  ],
9283
9261
  [
9284
- _dec46,
9262
+ _dec47,
9263
+ 1,
9264
+ "name"
9265
+ ],
9266
+ [
9267
+ _dec55,
9285
9268
  1,
9286
9269
  "placement"
9287
9270
  ]
@@ -9311,12 +9294,19 @@ var init_color = __esm({
9311
9294
  set disabled(_v) {
9312
9295
  this.#___private_disabled_3 = _v;
9313
9296
  }
9314
- #___private_placement_4;
9297
+ #___private_name_4;
9298
+ get name() {
9299
+ return this.#___private_name_4;
9300
+ }
9301
+ set name(_v) {
9302
+ this.#___private_name_4 = _v;
9303
+ }
9304
+ #___private_placement_5;
9315
9305
  get placement() {
9316
- return this.#___private_placement_4;
9306
+ return this.#___private_placement_5;
9317
9307
  }
9318
9308
  set placement(_v) {
9319
- this.#___private_placement_4 = _v;
9309
+ this.#___private_placement_5 = _v;
9320
9310
  }
9321
9311
  connectedCallback() {
9322
9312
  this.#hasCustomTrigger = this.querySelector('[slot="trigger"]') !== null;
@@ -9361,21 +9351,24 @@ var init_color = __esm({
9361
9351
  _initClass10();
9362
9352
  }
9363
9353
  constructor(...args) {
9364
- 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) => {
9354
+ 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) => {
9365
9355
  this.value = event.target.value;
9366
9356
  dispatchControlEvent(this, "input", {
9357
+ name: this.name ?? void 0,
9367
9358
  value: this.value,
9368
9359
  event
9369
9360
  });
9370
9361
  }, this.#handlePickerInput = (event) => {
9371
9362
  this.value = event.detail.value;
9372
9363
  dispatchControlEvent(this, "input", {
9364
+ name: this.name ?? void 0,
9373
9365
  value: this.value,
9374
9366
  event
9375
9367
  });
9376
9368
  }, this.#handlePickerChange = (event) => {
9377
9369
  this.value = event.detail.value;
9378
9370
  dispatchControlEvent(this, "change", {
9371
+ name: this.name ?? void 0,
9379
9372
  value: this.value,
9380
9373
  event
9381
9374
  });
@@ -9388,6 +9381,7 @@ var init_color = __esm({
9388
9381
  }, this.#handlePickerApply = (event) => {
9389
9382
  this.value = event.detail.value;
9390
9383
  dispatchControlEvent(this, "change", {
9384
+ name: this.name ?? void 0,
9391
9385
  value: this.value,
9392
9386
  event
9393
9387
  });
@@ -10614,7 +10608,7 @@ function applyDecs2203RFactory13() {
10614
10608
  function _apply_decs_2203_r13(targetClass, memberDecs, classDecs, parentClass) {
10615
10609
  return (_apply_decs_2203_r13 = applyDecs2203RFactory13())(targetClass, memberDecs, classDecs, parentClass);
10616
10610
  }
10617
- var _dec31, _initClass13, _HTMLElement13, _dec113, _dec210, _dec38, _dec47, _dec55, _dec65, _dec74, _dec84, _dec94, _init_value6, _init_min, _init_max, _init_step, _init_name4, _init_disabled6, _init_control3, _initProto9, _NumberInput, NumberInput;
10611
+ var _dec31, _initClass13, _HTMLElement13, _dec113, _dec210, _dec38, _dec48, _dec56, _dec65, _dec74, _dec84, _dec94, _init_value6, _init_min, _init_max, _init_step, _init_name5, _init_disabled6, _init_control3, _initProto9, _NumberInput, NumberInput;
10618
10612
  var init_number = __esm({
10619
10613
  "swc:/Users/aaroniker/Documents/GitHub/ease/web-kit/packages/core/src/elements/number/index.ts"() {
10620
10614
  "use strict";
@@ -10717,10 +10711,10 @@ var init_number = __esm({
10717
10711
  }), _dec38 = Prop({
10718
10712
  type: Number,
10719
10713
  reflect: true
10720
- }), _dec47 = Prop({
10714
+ }), _dec48 = Prop({
10721
10715
  type: Number,
10722
10716
  reflect: true
10723
- }), _dec55 = Prop({
10717
+ }), _dec56 = Prop({
10724
10718
  reflect: true
10725
10719
  }), _dec65 = Prop({
10726
10720
  type: Boolean,
@@ -10732,7 +10726,7 @@ var init_number = __esm({
10732
10726
  });
10733
10727
  NumberInput = class extends (_HTMLElement13 = HTMLElement) {
10734
10728
  static {
10735
- ({ e: [_init_value6, _init_min, _init_max, _init_step, _init_name4, _init_disabled6, _init_control3, _initProto9], c: [_NumberInput, _initClass13] } = _apply_decs_2203_r13(this, [
10729
+ ({ e: [_init_value6, _init_min, _init_max, _init_step, _init_name5, _init_disabled6, _init_control3, _initProto9], c: [_NumberInput, _initClass13] } = _apply_decs_2203_r13(this, [
10736
10730
  [
10737
10731
  _dec113,
10738
10732
  1,
@@ -10749,12 +10743,12 @@ var init_number = __esm({
10749
10743
  "max"
10750
10744
  ],
10751
10745
  [
10752
- _dec47,
10746
+ _dec48,
10753
10747
  1,
10754
10748
  "step"
10755
10749
  ],
10756
10750
  [
10757
- _dec55,
10751
+ _dec56,
10758
10752
  1,
10759
10753
  "name"
10760
10754
  ],
@@ -10849,20 +10843,28 @@ var init_number = __esm({
10849
10843
  return;
10850
10844
  }
10851
10845
  this.value = coerceNumber(target.value);
10852
- dispatchControlEvent(this, "input", {
10846
+ const name = this.name ?? this.getAttribute("name") ?? void 0;
10847
+ const detail = {
10848
+ name,
10853
10849
  value: this.value,
10854
10850
  event
10855
- });
10851
+ };
10852
+ dispatchControlEvent(this, "input", detail);
10853
+ dispatchControlEvent(this, CONTROL_CHANGE_EVENT, detail);
10856
10854
  }
10857
10855
  handleChange(event, target) {
10858
10856
  if (!target) {
10859
10857
  return;
10860
10858
  }
10861
10859
  this.value = coerceNumber(target.value);
10862
- dispatchControlEvent(this, "change", {
10860
+ const name = this.name ?? this.getAttribute("name") ?? void 0;
10861
+ const detail = {
10862
+ name,
10863
10863
  value: this.value,
10864
10864
  event
10865
- });
10865
+ };
10866
+ dispatchControlEvent(this, "change", detail);
10867
+ dispatchControlEvent(this, CONTROL_CHANGE_EVENT, detail);
10866
10868
  }
10867
10869
  addActiveLayer(button) {
10868
10870
  const layer = document.createElement("div");
@@ -10900,7 +10902,7 @@ var init_number = __esm({
10900
10902
  _initClass13();
10901
10903
  }
10902
10904
  constructor(...args) {
10903
- super(...args), this.#___private_value_1 = (_initProto9(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);
10905
+ super(...args), this.#___private_value_1 = (_initProto9(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);
10904
10906
  }
10905
10907
  };
10906
10908
  }
@@ -11284,7 +11286,7 @@ function applyDecs2203RFactory14() {
11284
11286
  function _apply_decs_2203_r14(targetClass, memberDecs, classDecs, parentClass) {
11285
11287
  return (_apply_decs_2203_r14 = applyDecs2203RFactory14())(targetClass, memberDecs, classDecs, parentClass);
11286
11288
  }
11287
- var _dec39, _initClass14, _HTMLElement14, _dec114, _dec211, _dec310, _dec48, _dec56, _init_value7, _init_disabled7, _init_control4, _init_name5, _initProto10, _Origin, Origin;
11289
+ var _dec39, _initClass14, _HTMLElement14, _dec114, _dec211, _dec310, _dec49, _dec57, _init_value7, _init_disabled7, _init_control4, _init_name6, _initProto10, _Origin, Origin;
11288
11290
  var init_origin = __esm({
11289
11291
  "swc:/Users/aaroniker/Documents/GitHub/ease/web-kit/packages/core/src/elements/origin/index.ts"() {
11290
11292
  "use strict";
@@ -11432,15 +11434,15 @@ var init_origin = __esm({
11432
11434
  }), _dec211 = Prop({
11433
11435
  type: Boolean,
11434
11436
  reflect: true
11435
- }), _dec310 = Query("ease-dropdown"), _dec48 = Prop({
11437
+ }), _dec310 = Query("ease-dropdown"), _dec49 = Prop({
11436
11438
  reflect: true,
11437
11439
  defaultValue: ""
11438
- }), _dec56 = Listen("change", {
11440
+ }), _dec57 = Listen("change", {
11439
11441
  selector: "ease-dropdown"
11440
11442
  });
11441
11443
  Origin = class extends (_HTMLElement14 = HTMLElement) {
11442
11444
  static {
11443
- ({ e: [_init_value7, _init_disabled7, _init_control4, _init_name5, _initProto10], c: [_Origin, _initClass14] } = _apply_decs_2203_r14(this, [
11445
+ ({ e: [_init_value7, _init_disabled7, _init_control4, _init_name6, _initProto10], c: [_Origin, _initClass14] } = _apply_decs_2203_r14(this, [
11444
11446
  [
11445
11447
  _dec114,
11446
11448
  1,
@@ -11457,12 +11459,12 @@ var init_origin = __esm({
11457
11459
  "control"
11458
11460
  ],
11459
11461
  [
11460
- _dec48,
11462
+ _dec49,
11461
11463
  1,
11462
11464
  "name"
11463
11465
  ],
11464
11466
  [
11465
- _dec56,
11467
+ _dec57,
11466
11468
  2,
11467
11469
  "handleChange"
11468
11470
  ]
@@ -11515,7 +11517,7 @@ var init_origin = __esm({
11515
11517
  _initClass14();
11516
11518
  }
11517
11519
  constructor(...args) {
11518
- super(...args), this.#___private_value_1 = (_initProto10(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) => {
11520
+ super(...args), this.#___private_value_1 = (_initProto10(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) => {
11519
11521
  this.value = String(this.control?.value ?? "center-center");
11520
11522
  dispatchControlEvent(this, "change", {
11521
11523
  value: this.value,
@@ -12648,7 +12650,7 @@ function applyDecs2203RFactory16() {
12648
12650
  function _apply_decs_2203_r16(targetClass, memberDecs, classDecs, parentClass) {
12649
12651
  return (_apply_decs_2203_r16 = applyDecs2203RFactory16())(targetClass, memberDecs, classDecs, parentClass);
12650
12652
  }
12651
- var _dec41, _initClass16, _HTMLElement16, _dec116, _dec213, _dec312, _dec49, _dec57, _dec66, _init_checked2, _init_name6, _init_value9, _init_disabled8, _init_control5, _initProto12, _RadioInput, RadioInput;
12653
+ var _dec41, _initClass16, _HTMLElement16, _dec116, _dec213, _dec312, _dec410, _dec58, _dec66, _init_checked2, _init_name7, _init_value9, _init_disabled8, _init_control5, _initProto12, _RadioInput, RadioInput;
12652
12654
  var init_input2 = __esm({
12653
12655
  "swc:/Users/aaroniker/Documents/GitHub/ease/web-kit/packages/core/src/elements/radio/input.ts"() {
12654
12656
  "use strict";
@@ -12916,15 +12918,15 @@ var init_input2 = __esm({
12916
12918
  reflect: true
12917
12919
  }), _dec312 = Prop({
12918
12920
  reflect: true
12919
- }), _dec49 = Prop({
12921
+ }), _dec410 = Prop({
12920
12922
  type: Boolean,
12921
12923
  reflect: true
12922
- }), _dec57 = Query("button"), _dec66 = Listen("click", {
12924
+ }), _dec58 = Query("button"), _dec66 = Listen("click", {
12923
12925
  selector: "button"
12924
12926
  });
12925
12927
  RadioInput = class extends (_HTMLElement16 = HTMLElement) {
12926
12928
  static {
12927
- ({ e: [_init_checked2, _init_name6, _init_value9, _init_disabled8, _init_control5, _initProto12], c: [_RadioInput, _initClass16] } = _apply_decs_2203_r16(this, [
12929
+ ({ e: [_init_checked2, _init_name7, _init_value9, _init_disabled8, _init_control5, _initProto12], c: [_RadioInput, _initClass16] } = _apply_decs_2203_r16(this, [
12928
12930
  [
12929
12931
  _dec116,
12930
12932
  1,
@@ -12941,12 +12943,12 @@ var init_input2 = __esm({
12941
12943
  "value"
12942
12944
  ],
12943
12945
  [
12944
- _dec49,
12946
+ _dec410,
12945
12947
  1,
12946
12948
  "disabled"
12947
12949
  ],
12948
12950
  [
12949
- _dec57,
12951
+ _dec58,
12950
12952
  1,
12951
12953
  "control"
12952
12954
  ],
@@ -13039,16 +13041,22 @@ var init_input2 = __esm({
13039
13041
  return;
13040
13042
  }
13041
13043
  this.checked = true;
13042
- dispatchControlEvent(this, "radio", {
13044
+ const groupName = this.closest("ease-radio-group")?.getAttribute("name") ?? void 0;
13045
+ const name = this.getAttribute("name") ?? groupName ?? void 0;
13046
+ const detail = {
13047
+ name,
13043
13048
  value: this.checked,
13044
13049
  event
13045
- });
13050
+ };
13051
+ dispatchControlEvent(this, "radio", detail);
13052
+ dispatchControlEvent(this, "change", detail);
13053
+ dispatchControlEvent(this, CONTROL_CHANGE_EVENT, detail);
13046
13054
  }
13047
13055
  static {
13048
13056
  _initClass16();
13049
13057
  }
13050
13058
  constructor(...args) {
13051
- super(...args), this.#___private_checked_1 = (_initProto12(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()}`;
13059
+ super(...args), this.#___private_checked_1 = (_initProto12(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()}`;
13052
13060
  }
13053
13061
  };
13054
13062
  }
@@ -13432,7 +13440,7 @@ function applyDecs2203RFactory17() {
13432
13440
  function _apply_decs_2203_r17(targetClass, memberDecs, classDecs, parentClass) {
13433
13441
  return (_apply_decs_2203_r17 = applyDecs2203RFactory17())(targetClass, memberDecs, classDecs, parentClass);
13434
13442
  }
13435
- var _dec50, _initClass17, _HTMLElement17, _dec117, _dec214, _dec313, _dec410, _dec58, _dec67, _dec75, _dec85, _dec95, _dec104, _dec118, _init_value10, _init_min2, _init_max2, _init_step2, _init_disabled9, _init_control6, _init_valueControl, _initProto13, _Slider, Slider;
13443
+ var _dec50, _initClass17, _HTMLElement17, _dec117, _dec214, _dec313, _dec411, _dec59, _dec67, _dec75, _dec85, _dec95, _dec104, _dec118, _init_value10, _init_min2, _init_max2, _init_step2, _init_disabled9, _init_control6, _init_valueControl, _initProto13, _Slider, Slider;
13436
13444
  var init_slider = __esm({
13437
13445
  "swc:/Users/aaroniker/Documents/GitHub/ease/web-kit/packages/core/src/elements/slider/index.ts"() {
13438
13446
  "use strict";
@@ -13553,11 +13561,15 @@ var init_slider = __esm({
13553
13561
  .step=${this.step ?? 1}
13554
13562
  .value=${String(this.value ?? 0)}
13555
13563
  ?disabled=${this.disabled}
13564
+ @input=${this.handleRangeInput}
13565
+ @change=${this.handleRangeChange}
13556
13566
  ?aria-disabled=${this.disabled}
13557
13567
  />
13558
13568
 
13559
13569
  <ease-input
13560
13570
  part="value"
13571
+ @input=${this.handleValueInput}
13572
+ @change=${this.handleValueChange}
13561
13573
  type="number"
13562
13574
  placeholder="-"
13563
13575
  .disabled=${Boolean(this.disabled)}
@@ -13575,10 +13587,10 @@ var init_slider = __esm({
13575
13587
  }), _dec313 = Prop({
13576
13588
  type: Number,
13577
13589
  reflect: true
13578
- }), _dec410 = Prop({
13590
+ }), _dec411 = Prop({
13579
13591
  type: Number,
13580
13592
  reflect: true
13581
- }), _dec58 = Prop({
13593
+ }), _dec59 = Prop({
13582
13594
  type: Boolean,
13583
13595
  reflect: true
13584
13596
  }), _dec67 = Query("input"), _dec75 = Query("ease-input"), _dec85 = Listen("input", {
@@ -13611,12 +13623,12 @@ var init_slider = __esm({
13611
13623
  "max"
13612
13624
  ],
13613
13625
  [
13614
- _dec410,
13626
+ _dec411,
13615
13627
  1,
13616
13628
  "step"
13617
13629
  ],
13618
13630
  [
13619
- _dec58,
13631
+ _dec59,
13620
13632
  1,
13621
13633
  "disabled"
13622
13634
  ],
@@ -13729,10 +13741,14 @@ var init_slider = __esm({
13729
13741
  if (this.valueControl) {
13730
13742
  this.valueControl.value = numericValue === null ? "" : String(numericValue);
13731
13743
  }
13732
- dispatchControlEvent(this, "input", {
13744
+ const name = this.getAttribute("name") ?? void 0;
13745
+ const detail = {
13746
+ name,
13733
13747
  value: this.value,
13734
13748
  event
13735
- });
13749
+ };
13750
+ dispatchControlEvent(this, "input", detail);
13751
+ dispatchControlEvent(this, CONTROL_CHANGE_EVENT, detail);
13736
13752
  }
13737
13753
  handleRangeChange(event, target) {
13738
13754
  if (target) {
@@ -13743,10 +13759,14 @@ var init_slider = __esm({
13743
13759
  this.valueControl.value = numericValue === null ? "" : String(numericValue);
13744
13760
  }
13745
13761
  }
13746
- dispatchControlEvent(this, "change", {
13762
+ const name = this.getAttribute("name") ?? void 0;
13763
+ const detail = {
13764
+ name,
13747
13765
  value: this.value,
13748
13766
  event
13749
- });
13767
+ };
13768
+ dispatchControlEvent(this, "change", detail);
13769
+ dispatchControlEvent(this, CONTROL_CHANGE_EVENT, detail);
13750
13770
  }
13751
13771
  handleValueInput(event) {
13752
13772
  const rawValue = event.detail?.value ?? "";
@@ -13756,10 +13776,15 @@ var init_slider = __esm({
13756
13776
  if (this.control) {
13757
13777
  this.control.value = String(numericValue ?? 0);
13758
13778
  }
13759
- dispatchControlEvent(this, "input", {
13779
+ const name = this.getAttribute("name") ?? void 0;
13780
+ const controlEvent = event.detail?.event ?? event;
13781
+ const detail = {
13782
+ name,
13760
13783
  value: this.value,
13761
- event: event.detail?.event ?? event
13762
- });
13784
+ event: controlEvent
13785
+ };
13786
+ dispatchControlEvent(this, "input", detail);
13787
+ dispatchControlEvent(this, CONTROL_CHANGE_EVENT, detail);
13763
13788
  }
13764
13789
  handleValueChange(event) {
13765
13790
  const rawValue = event.detail?.value ?? "";
@@ -13769,10 +13794,15 @@ var init_slider = __esm({
13769
13794
  if (this.control) {
13770
13795
  this.control.value = String(numericValue ?? 0);
13771
13796
  }
13772
- dispatchControlEvent(this, "change", {
13797
+ const name = this.getAttribute("name") ?? void 0;
13798
+ const controlEvent = event.detail?.event ?? event;
13799
+ const detail = {
13800
+ name,
13773
13801
  value: this.value,
13774
- event: event.detail?.event ?? event
13775
- });
13802
+ event: controlEvent
13803
+ };
13804
+ dispatchControlEvent(this, "change", detail);
13805
+ dispatchControlEvent(this, CONTROL_CHANGE_EVENT, detail);
13776
13806
  }
13777
13807
  updateProgress() {
13778
13808
  if (!this.control) {
@@ -14172,7 +14202,7 @@ function applyDecs2203RFactory18() {
14172
14202
  function _apply_decs_2203_r18(targetClass, memberDecs, classDecs, parentClass) {
14173
14203
  return (_apply_decs_2203_r18 = applyDecs2203RFactory18())(targetClass, memberDecs, classDecs, parentClass);
14174
14204
  }
14175
- var _dec51, _initClass18, _HTMLElement18, _dec119, _dec215, _dec314, _dec411, _init_checked3, _init_disabled10, _init_control7, _initProto14, _Toggle, Toggle;
14205
+ var _dec51, _initClass18, _HTMLElement18, _dec119, _dec215, _dec314, _dec412, _init_checked3, _init_disabled10, _init_control7, _initProto14, _Toggle, Toggle;
14176
14206
  var init_toggle = __esm({
14177
14207
  "swc:/Users/aaroniker/Documents/GitHub/ease/web-kit/packages/core/src/elements/toggle/index.ts"() {
14178
14208
  "use strict";
@@ -14299,7 +14329,7 @@ var init_toggle = __esm({
14299
14329
  }), _dec215 = Prop({
14300
14330
  type: Boolean,
14301
14331
  reflect: true
14302
- }), _dec314 = Query("button"), _dec411 = Listen("click", {
14332
+ }), _dec314 = Query("button"), _dec412 = Listen("click", {
14303
14333
  selector: "button"
14304
14334
  });
14305
14335
  Toggle = class extends (_HTMLElement18 = HTMLElement) {
@@ -14321,7 +14351,7 @@ var init_toggle = __esm({
14321
14351
  "control"
14322
14352
  ],
14323
14353
  [
14324
- _dec411,
14354
+ _dec412,
14325
14355
  2,
14326
14356
  "handleClick"
14327
14357
  ]
@@ -14366,10 +14396,15 @@ var init_toggle = __esm({
14366
14396
  return;
14367
14397
  }
14368
14398
  this.checked = !this.checked;
14369
- dispatchControlEvent(this, "toggle", {
14399
+ const name = this.getAttribute("name") ?? void 0;
14400
+ const detail = {
14401
+ name,
14370
14402
  value: this.checked,
14371
14403
  event
14372
- });
14404
+ };
14405
+ dispatchControlEvent(this, "toggle", detail);
14406
+ dispatchControlEvent(this, "change", detail);
14407
+ dispatchControlEvent(this, CONTROL_CHANGE_EVENT, detail);
14373
14408
  }
14374
14409
  static {
14375
14410
  _initClass18();
@@ -14759,13 +14794,13 @@ function applyDecs2203RFactory19() {
14759
14794
  function _apply_decs_2203_r19(targetClass, memberDecs, classDecs, parentClass) {
14760
14795
  return (_apply_decs_2203_r19 = applyDecs2203RFactory19())(targetClass, memberDecs, classDecs, parentClass);
14761
14796
  }
14762
- var _dec59, _initClass19, _HTMLElement19, _dec120, _dec216, _init_label, _init_fullWidth2, _initProto15, _Field, Field;
14797
+ var _dec60, _initClass19, _HTMLElement19, _dec120, _dec216, _init_label, _init_fullWidth2, _initProto15, _Field, Field;
14763
14798
  var init_field = __esm({
14764
14799
  "swc:/Users/aaroniker/Documents/GitHub/ease/web-kit/packages/core/src/elements/field/index.ts"() {
14765
14800
  "use strict";
14766
14801
  init_Component();
14767
14802
  init_Prop();
14768
- _dec59 = Component({
14803
+ _dec60 = Component({
14769
14804
  tag: "ease-field",
14770
14805
  autoSlot: false,
14771
14806
  shadowMode: "open",
@@ -14854,7 +14889,7 @@ var init_field = __esm({
14854
14889
  "fullWidth"
14855
14890
  ]
14856
14891
  ], [
14857
- _dec59
14892
+ _dec60
14858
14893
  ], _HTMLElement19));
14859
14894
  }
14860
14895
  #___private_label_1;
@@ -15259,7 +15294,7 @@ function applyDecs2203RFactory20() {
15259
15294
  function _apply_decs_2203_r20(targetClass, memberDecs, classDecs, parentClass) {
15260
15295
  return (_apply_decs_2203_r20 = applyDecs2203RFactory20())(targetClass, memberDecs, classDecs, parentClass);
15261
15296
  }
15262
- var _dec60, _initClass20, _HTMLElement20, _dec121, _dec217, _dec315, _dec412, _dec510, _dec68, _dec76, _init_activeTab, _init_headline, _init_maxHeight2, _init_contentElement, _init_bodyElement, _initProto16, _Panel, Panel;
15297
+ var _dec61, _initClass20, _HTMLElement20, _dec121, _dec217, _dec315, _dec413, _dec510, _dec68, _dec76, _init_activeTab, _init_headline, _init_maxHeight2, _init_contentElement2, _init_bodyElement, _initProto16, _Panel, Panel;
15263
15298
  var init_panel = __esm({
15264
15299
  "swc:/Users/aaroniker/Documents/GitHub/ease/web-kit/packages/core/src/elements/panel/index.ts"() {
15265
15300
  "use strict";
@@ -15268,7 +15303,7 @@ var init_panel = __esm({
15268
15303
  init_Listen();
15269
15304
  init_Prop();
15270
15305
  init_Query();
15271
- _dec60 = Component({
15306
+ _dec61 = Component({
15272
15307
  tag: "ease-panel",
15273
15308
  shadowMode: "open",
15274
15309
  styles: `
@@ -15333,7 +15368,6 @@ var init_panel = __esm({
15333
15368
  align-items: center;
15334
15369
  gap: 2px;
15335
15370
  flex-grow: 1;
15336
- margin: 0 0 0 4px;
15337
15371
  }
15338
15372
 
15339
15373
  [part="tabs"]:empty {
@@ -15342,17 +15376,18 @@ var init_panel = __esm({
15342
15376
 
15343
15377
  [part="tab"] {
15344
15378
  appearance: none;
15379
+ border-radius: var(--ease-panel-tab-radius, var(--radii-md));
15380
+ background-color: var(--ease-panel-tab-background, transparent);
15381
+ box-sizing: border-box;
15382
+ padding: var(--ease-panel-tab-padding, 4px 8px);
15345
15383
  font-size: var(--ease-panel-tab-font-size);
15346
15384
  font-weight: var(--ease-panel-tab-font-weight);
15347
15385
  line-height: 24px;
15348
15386
  font-family: var(--ease-font-family);
15349
15387
  color: var(--ease-panel-tab-color);
15350
- background-color: transparent;
15351
15388
  border: none;
15352
- padding: 4px 8px;
15353
15389
  margin: 0;
15354
15390
  cursor: pointer;
15355
- border-radius: var(--ease-panel-tab-radius);
15356
15391
  transition: color 200ms, background-color 200ms;
15357
15392
  transition-timing-function: cubic-bezier(.25, 0, .5, 1);
15358
15393
  }
@@ -15518,14 +15553,14 @@ var init_panel = __esm({
15518
15553
  reflect: true,
15519
15554
  attribute: "max-height",
15520
15555
  defaultValue: null
15521
- }), _dec412 = Query('[part="content"]'), _dec510 = Query('[part="body"]'), _dec68 = Listen("slotchange", {
15556
+ }), _dec413 = Query('[part="content"]'), _dec510 = Query('[part="body"]'), _dec68 = Listen("slotchange", {
15522
15557
  selector: 'slot[name="footer"]'
15523
15558
  }), _dec76 = Listen("slotchange", {
15524
15559
  selector: "slot:not([name])"
15525
15560
  });
15526
15561
  Panel = class extends (_HTMLElement20 = HTMLElement) {
15527
15562
  static {
15528
- ({ e: [_init_activeTab, _init_headline, _init_maxHeight2, _init_contentElement, _init_bodyElement, _initProto16], c: [_Panel, _initClass20] } = _apply_decs_2203_r20(this, [
15563
+ ({ e: [_init_activeTab, _init_headline, _init_maxHeight2, _init_contentElement2, _init_bodyElement, _initProto16], c: [_Panel, _initClass20] } = _apply_decs_2203_r20(this, [
15529
15564
  [
15530
15565
  _dec121,
15531
15566
  1,
@@ -15542,7 +15577,7 @@ var init_panel = __esm({
15542
15577
  "maxHeight"
15543
15578
  ],
15544
15579
  [
15545
- _dec412,
15580
+ _dec413,
15546
15581
  1,
15547
15582
  "contentElement"
15548
15583
  ],
@@ -15562,7 +15597,7 @@ var init_panel = __esm({
15562
15597
  "onDefaultSlotChange"
15563
15598
  ]
15564
15599
  ], [
15565
- _dec60
15600
+ _dec61
15566
15601
  ], _HTMLElement20));
15567
15602
  }
15568
15603
  #tabs;
@@ -15862,7 +15897,7 @@ var init_panel = __esm({
15862
15897
  _initClass20();
15863
15898
  }
15864
15899
  constructor(...args) {
15865
- super(...args), this.#tabs = (_initProto16(this), []), this.#isAnimating = false, this.#___private_activeTab_1 = _init_activeTab(this, 0), this.#___private_headline_2 = _init_headline(this, null), this.#___private_maxHeight_3 = _init_maxHeight2(this, null), this.#___private_contentElement_4 = _init_contentElement(this), this.#___private_bodyElement_5 = _init_bodyElement(this);
15900
+ super(...args), this.#tabs = (_initProto16(this), []), this.#isAnimating = false, this.#___private_activeTab_1 = _init_activeTab(this, 0), this.#___private_headline_2 = _init_headline(this, null), this.#___private_maxHeight_3 = _init_maxHeight2(this, null), this.#___private_contentElement_4 = _init_contentElement2(this), this.#___private_bodyElement_5 = _init_bodyElement(this);
15866
15901
  }
15867
15902
  };
15868
15903
  }
@@ -16246,7 +16281,7 @@ function applyDecs2203RFactory21() {
16246
16281
  function _apply_decs_2203_r21(targetClass, memberDecs, classDecs, parentClass) {
16247
16282
  return (_apply_decs_2203_r21 = applyDecs2203RFactory21())(targetClass, memberDecs, classDecs, parentClass);
16248
16283
  }
16249
- var _dec61, _initClass21, _HTMLElement21, _dec123, _dec218, _dec316, _dec413, _dec511, _init_value11, _init_defaultSlot, _initProto17, readControlValue, getControlName, _State, State;
16284
+ var _dec69, _initClass21, _HTMLElement21, _dec123, _dec218, _dec316, _dec414, _dec511, _init_value11, _init_defaultSlot, _initProto17, readControlValue, getControlName, _State, State;
16250
16285
  var init_state = __esm({
16251
16286
  "swc:/Users/aaroniker/Documents/GitHub/ease/web-kit/packages/core/src/elements/state/index.ts"() {
16252
16287
  "use strict";
@@ -16276,7 +16311,7 @@ var init_state = __esm({
16276
16311
  }
16277
16312
  return element.getAttribute?.("name") ?? null;
16278
16313
  };
16279
- _dec61 = Component({
16314
+ _dec69 = Component({
16280
16315
  tag: "ease-state",
16281
16316
  shadowMode: "open",
16282
16317
  styles: `
@@ -16295,7 +16330,7 @@ var init_state = __esm({
16295
16330
  reflect: true
16296
16331
  }), _dec218 = Query("slot"), _dec316 = Listen("input", {
16297
16332
  target: (host) => host
16298
- }), _dec413 = Listen("change", {
16333
+ }), _dec414 = Listen("change", {
16299
16334
  target: (host) => host
16300
16335
  }), _dec511 = Listen(CONTROL_CHANGE_EVENT, {
16301
16336
  target: (host) => host
@@ -16319,7 +16354,7 @@ var init_state = __esm({
16319
16354
  "handleInternalInput"
16320
16355
  ],
16321
16356
  [
16322
- _dec413,
16357
+ _dec414,
16323
16358
  2,
16324
16359
  "handleInternalChange"
16325
16360
  ],
@@ -16329,7 +16364,7 @@ var init_state = __esm({
16329
16364
  "handleControlChange"
16330
16365
  ]
16331
16366
  ], [
16332
- _dec61
16367
+ _dec69
16333
16368
  ], _HTMLElement21));
16334
16369
  }
16335
16370
  #controls;
@@ -16918,7 +16953,7 @@ function applyDecs2203RFactory22() {
16918
16953
  function _apply_decs_2203_r22(targetClass, memberDecs, classDecs, parentClass) {
16919
16954
  return (_apply_decs_2203_r22 = applyDecs2203RFactory22())(targetClass, memberDecs, classDecs, parentClass);
16920
16955
  }
16921
- var _dec69, _initClass22, _HTMLElement22, _dec124, _dec219, _dec317, _dec414, _dec512, _dec610, _init_open3, _init_delay, _init_placement4, _init_triggerElement, _init_contentElement2, _initProto18, _Tooltip, Tooltip;
16956
+ var _dec70, _initClass22, _HTMLElement22, _dec124, _dec219, _dec317, _dec415, _dec512, _dec610, _init_open3, _init_delay, _init_placement4, _init_triggerElement, _init_contentElement3, _initProto18, _Tooltip, Tooltip;
16922
16957
  var init_tooltip = __esm({
16923
16958
  "swc:/Users/aaroniker/Documents/GitHub/ease/web-kit/packages/core/src/elements/tooltip/index.ts"() {
16924
16959
  "use strict";
@@ -16927,7 +16962,7 @@ var init_tooltip = __esm({
16927
16962
  init_OutsideClick();
16928
16963
  init_Prop();
16929
16964
  init_Query();
16930
- _dec69 = Component({
16965
+ _dec70 = Component({
16931
16966
  tag: "ease-tooltip",
16932
16967
  shadowMode: "open",
16933
16968
  styles: `
@@ -16970,7 +17005,7 @@ var init_tooltip = __esm({
16970
17005
  }), _dec317 = Prop({
16971
17006
  reflect: true,
16972
17007
  defaultValue: "top-center"
16973
- }), _dec414 = Query('[slot="trigger"]'), _dec512 = Query("[data-tooltip-content]"), _dec610 = OutsideClick({
17008
+ }), _dec415 = Query('[slot="trigger"]'), _dec512 = Query("[data-tooltip-content]"), _dec610 = OutsideClick({
16974
17009
  content: (host) => host.contentElement,
16975
17010
  triggers: (host) => [
16976
17011
  host.triggerElement
@@ -16979,7 +17014,7 @@ var init_tooltip = __esm({
16979
17014
  });
16980
17015
  Tooltip = class extends (_HTMLElement22 = HTMLElement) {
16981
17016
  static {
16982
- ({ e: [_init_open3, _init_delay, _init_placement4, _init_triggerElement, _init_contentElement2, _initProto18], c: [_Tooltip, _initClass22] } = _apply_decs_2203_r22(this, [
17017
+ ({ e: [_init_open3, _init_delay, _init_placement4, _init_triggerElement, _init_contentElement3, _initProto18], c: [_Tooltip, _initClass22] } = _apply_decs_2203_r22(this, [
16983
17018
  [
16984
17019
  _dec124,
16985
17020
  1,
@@ -16996,7 +17031,7 @@ var init_tooltip = __esm({
16996
17031
  "placement"
16997
17032
  ],
16998
17033
  [
16999
- _dec414,
17034
+ _dec415,
17000
17035
  1,
17001
17036
  "triggerElement"
17002
17037
  ],
@@ -17011,7 +17046,7 @@ var init_tooltip = __esm({
17011
17046
  "handleOutsideDismiss"
17012
17047
  ]
17013
17048
  ], [
17014
- _dec69
17049
+ _dec70
17015
17050
  ], _HTMLElement22));
17016
17051
  }
17017
17052
  #hoverTimer;
@@ -17162,7 +17197,7 @@ var init_tooltip = __esm({
17162
17197
  _initClass22();
17163
17198
  }
17164
17199
  constructor(...args) {
17165
- super(...args), this.#hoverTimer = (_initProto18(this), null), this.#trigger = null, this.#content = null, this.#___private_open_1 = _init_open3(this, false), this.#___private_delay_2 = _init_delay(this, 300), this.#___private_placement_3 = _init_placement4(this, "top-center"), this.#___private_triggerElement_4 = _init_triggerElement(this), this.#___private_contentElement_5 = _init_contentElement2(this), this.#handleEnter = () => {
17200
+ super(...args), this.#hoverTimer = (_initProto18(this), null), this.#trigger = null, this.#content = null, this.#___private_open_1 = _init_open3(this, false), this.#___private_delay_2 = _init_delay(this, 300), this.#___private_placement_3 = _init_placement4(this, "top-center"), this.#___private_triggerElement_4 = _init_triggerElement(this), this.#___private_contentElement_5 = _init_contentElement3(this), this.#handleEnter = () => {
17166
17201
  this.#startTimer(() => {
17167
17202
  this.open = true;
17168
17203
  });
@@ -17559,7 +17594,7 @@ function applyDecs2203RFactory23() {
17559
17594
  function _apply_decs_2203_r23(targetClass, memberDecs, classDecs, parentClass) {
17560
17595
  return (_apply_decs_2203_r23 = applyDecs2203RFactory23())(targetClass, memberDecs, classDecs, parentClass);
17561
17596
  }
17562
- var _dec70, _initClass23, _HTMLElement23, _dec125, _dec220, _dec318, _dec415, _init_loading, _init_intro, _init_size, _init_ariaLabel, _initProto19, CENTER, DOTS_DATA, INNER_DOT_IDS, OUTER_DOT_IDS, forceReflow, getAngle, sortByAngle, LOOP_DURATION, ROTATION_DURATION, _LogoLoader, LogoLoader;
17597
+ var _dec71, _initClass23, _HTMLElement23, _dec125, _dec220, _dec318, _dec416, _init_loading, _init_intro, _init_size, _init_ariaLabel, _initProto19, CENTER, DOTS_DATA, INNER_DOT_IDS, OUTER_DOT_IDS, forceReflow, getAngle, sortByAngle, LOOP_DURATION, ROTATION_DURATION, _LogoLoader, LogoLoader;
17563
17598
  var init_logo = __esm({
17564
17599
  "swc:/Users/aaroniker/Documents/GitHub/ease/web-kit/packages/core/src/elements/logo/index.ts"() {
17565
17600
  "use strict";
@@ -17712,7 +17747,7 @@ var init_logo = __esm({
17712
17747
  sortByAngle = (ids) => ids.map((id) => DOTS_DATA.find((d) => d.id === id)).filter((dot) => dot != null).sort((a, b) => getAngle(a) - getAngle(b));
17713
17748
  LOOP_DURATION = 1500;
17714
17749
  ROTATION_DURATION = 600;
17715
- _dec70 = Component({
17750
+ _dec71 = Component({
17716
17751
  tag: "ease-logo-loader",
17717
17752
  styles: `
17718
17753
  :host {
@@ -17956,7 +17991,7 @@ var init_logo = __esm({
17956
17991
  type: Number,
17957
17992
  attribute: "size",
17958
17993
  defaultValue: 36
17959
- }), _dec415 = Prop({
17994
+ }), _dec416 = Prop({
17960
17995
  type: "string",
17961
17996
  attribute: "aria-label",
17962
17997
  defaultValue: null
@@ -17980,12 +18015,12 @@ var init_logo = __esm({
17980
18015
  "size"
17981
18016
  ],
17982
18017
  [
17983
- _dec415,
18018
+ _dec416,
17984
18019
  1,
17985
18020
  "ariaLabel"
17986
18021
  ]
17987
18022
  ], [
17988
- _dec70
18023
+ _dec71
17989
18024
  ], _HTMLElement23));
17990
18025
  }
17991
18026
  #___private_loading_1;
@@ -18858,7 +18893,7 @@ function applyDecs2203RFactory24() {
18858
18893
  function _apply_decs_2203_r24(targetClass, memberDecs, classDecs, parentClass) {
18859
18894
  return (_apply_decs_2203_r24 = applyDecs2203RFactory24())(targetClass, memberDecs, classDecs, parentClass);
18860
18895
  }
18861
- var _dec71, _initClass24, _HTMLElement24, _dec126, _dec221, _init_paused, _init_canvasEl, _initProto20, clamp, mean, quantile, computePercentile, computeMedian, formatNumber, formatMs, rateFps, _MonitorFps, MonitorFps;
18896
+ var _dec77, _initClass24, _HTMLElement24, _dec126, _dec221, _init_paused, _init_canvasEl, _initProto20, clamp, mean, quantile, computePercentile, computeMedian, formatNumber, formatMs, rateFps, _MonitorFps, MonitorFps;
18862
18897
  var init_fps = __esm({
18863
18898
  "swc:/Users/aaroniker/Documents/GitHub/ease/web-kit/packages/core/src/elements/monitor/fps.ts"() {
18864
18899
  "use strict";
@@ -18920,7 +18955,7 @@ var init_fps = __esm({
18920
18955
  }
18921
18956
  return "poor";
18922
18957
  };
18923
- _dec71 = Component({
18958
+ _dec77 = Component({
18924
18959
  tag: "ease-monitor-fps",
18925
18960
  autoSlot: false,
18926
18961
  shadowMode: "open",
@@ -19039,7 +19074,7 @@ var init_fps = __esm({
19039
19074
  "canvasEl"
19040
19075
  ]
19041
19076
  ], [
19042
- _dec71
19077
+ _dec77
19043
19078
  ], _HTMLElement24));
19044
19079
  }
19045
19080
  #___private_paused_1;
@@ -19701,7 +19736,7 @@ function applyDecs2203RFactory25() {
19701
19736
  function _apply_decs_2203_r25(targetClass, memberDecs, classDecs, parentClass) {
19702
19737
  return (_apply_decs_2203_r25 = applyDecs2203RFactory25())(targetClass, memberDecs, classDecs, parentClass);
19703
19738
  }
19704
- var _dec77, _initClass25, _HTMLElement25, _dec127, _dec222, _dec319, _init_metrics, _init_network, _initProto21, METRIC_THRESHOLDS, GLOBAL_BENCHMARKS, rateMetric, formatMetric, formatBytes, estimateCarbonFootprint, _Monitor, Monitor;
19739
+ var _dec78, _initClass25, _HTMLElement25, _dec127, _dec222, _dec319, _init_metrics, _init_network, _initProto21, METRIC_THRESHOLDS, GLOBAL_BENCHMARKS, rateMetric, formatMetric, formatBytes, estimateCarbonFootprint, _Monitor, Monitor;
19705
19740
  var init_monitor = __esm({
19706
19741
  "swc:/Users/aaroniker/Documents/GitHub/ease/web-kit/packages/core/src/elements/monitor/index.ts"() {
19707
19742
  "use strict";
@@ -19818,7 +19853,7 @@ var init_monitor = __esm({
19818
19853
  const emissions = totalBytes / 1e9 * 0.81;
19819
19854
  return `${emissions.toFixed(3)}g CO2 eq.`;
19820
19855
  };
19821
- _dec77 = Component({
19856
+ _dec78 = Component({
19822
19857
  tag: "ease-monitor",
19823
19858
  styles: `
19824
19859
  :host {
@@ -19962,7 +19997,7 @@ var init_monitor = __esm({
19962
19997
  "handleFpsUpdate"
19963
19998
  ]
19964
19999
  ], [
19965
- _dec77
20000
+ _dec78
19966
20001
  ], _HTMLElement25));
19967
20002
  }
19968
20003
  #___private_metrics_1;
@@ -20857,12 +20892,12 @@ function applyDecs2203RFactory26() {
20857
20892
  function _apply_decs_2203_r26(targetClass, memberDecs, classDecs, parentClass) {
20858
20893
  return (_apply_decs_2203_r26 = applyDecs2203RFactory26())(targetClass, memberDecs, classDecs, parentClass);
20859
20894
  }
20860
- var _dec78, _initClass26, _HTMLElement26, _IconAnchorAdd, IconAnchorAdd;
20895
+ var _dec79, _initClass26, _HTMLElement26, _IconAnchorAdd, IconAnchorAdd;
20861
20896
  var init_anchor_add = __esm({
20862
20897
  "swc:/Users/aaroniker/Documents/GitHub/ease/web-kit/packages/core/src/elements/icons/interface/anchor-add.ts"() {
20863
20898
  "use strict";
20864
20899
  init_Component();
20865
- _dec78 = Component({
20900
+ _dec79 = Component({
20866
20901
  tag: "ease-icon-anchor-add",
20867
20902
  styles: `
20868
20903
  :host {
@@ -20892,7 +20927,7 @@ var init_anchor_add = __esm({
20892
20927
  IconAnchorAdd = class extends (_HTMLElement26 = HTMLElement) {
20893
20928
  static {
20894
20929
  ({ c: [_IconAnchorAdd, _initClass26] } = _apply_decs_2203_r26(this, [], [
20895
- _dec78
20930
+ _dec79
20896
20931
  ], _HTMLElement26));
20897
20932
  }
20898
20933
  static {
@@ -21280,12 +21315,12 @@ function applyDecs2203RFactory27() {
21280
21315
  function _apply_decs_2203_r27(targetClass, memberDecs, classDecs, parentClass) {
21281
21316
  return (_apply_decs_2203_r27 = applyDecs2203RFactory27())(targetClass, memberDecs, classDecs, parentClass);
21282
21317
  }
21283
- var _dec79, _initClass27, _HTMLElement27, _IconAnchorRemove, IconAnchorRemove;
21318
+ var _dec80, _initClass27, _HTMLElement27, _IconAnchorRemove, IconAnchorRemove;
21284
21319
  var init_anchor_remove = __esm({
21285
21320
  "swc:/Users/aaroniker/Documents/GitHub/ease/web-kit/packages/core/src/elements/icons/interface/anchor-remove.ts"() {
21286
21321
  "use strict";
21287
21322
  init_Component();
21288
- _dec79 = Component({
21323
+ _dec80 = Component({
21289
21324
  tag: "ease-icon-anchor-remove",
21290
21325
  styles: `
21291
21326
  :host {
@@ -21314,7 +21349,7 @@ var init_anchor_remove = __esm({
21314
21349
  IconAnchorRemove = class extends (_HTMLElement27 = HTMLElement) {
21315
21350
  static {
21316
21351
  ({ c: [_IconAnchorRemove, _initClass27] } = _apply_decs_2203_r27(this, [], [
21317
- _dec79
21352
+ _dec80
21318
21353
  ], _HTMLElement27));
21319
21354
  }
21320
21355
  static {
@@ -21702,12 +21737,12 @@ function applyDecs2203RFactory28() {
21702
21737
  function _apply_decs_2203_r28(targetClass, memberDecs, classDecs, parentClass) {
21703
21738
  return (_apply_decs_2203_r28 = applyDecs2203RFactory28())(targetClass, memberDecs, classDecs, parentClass);
21704
21739
  }
21705
- var _dec80, _initClass28, _HTMLElement28, _ArrowUp, ArrowUp;
21740
+ var _dec81, _initClass28, _HTMLElement28, _ArrowUp, ArrowUp;
21706
21741
  var init_arrow_up = __esm({
21707
21742
  "swc:/Users/aaroniker/Documents/GitHub/ease/web-kit/packages/core/src/elements/icons/interface/arrow-up.ts"() {
21708
21743
  "use strict";
21709
21744
  init_Component();
21710
- _dec80 = Component({
21745
+ _dec81 = Component({
21711
21746
  tag: "ease-icon-arrow-up",
21712
21747
  styles: `
21713
21748
  :host {
@@ -21732,7 +21767,7 @@ var init_arrow_up = __esm({
21732
21767
  ArrowUp = class extends (_HTMLElement28 = HTMLElement) {
21733
21768
  static {
21734
21769
  ({ c: [_ArrowUp, _initClass28] } = _apply_decs_2203_r28(this, [], [
21735
- _dec80
21770
+ _dec81
21736
21771
  ], _HTMLElement28));
21737
21772
  }
21738
21773
  static {
@@ -22120,12 +22155,12 @@ function applyDecs2203RFactory29() {
22120
22155
  function _apply_decs_2203_r29(targetClass, memberDecs, classDecs, parentClass) {
22121
22156
  return (_apply_decs_2203_r29 = applyDecs2203RFactory29())(targetClass, memberDecs, classDecs, parentClass);
22122
22157
  }
22123
- var _dec81, _initClass29, _HTMLElement29, _IconBezier, IconBezier;
22158
+ var _dec86, _initClass29, _HTMLElement29, _IconBezier, IconBezier;
22124
22159
  var init_bezier = __esm({
22125
22160
  "swc:/Users/aaroniker/Documents/GitHub/ease/web-kit/packages/core/src/elements/icons/interface/bezier.ts"() {
22126
22161
  "use strict";
22127
22162
  init_Component();
22128
- _dec81 = Component({
22163
+ _dec86 = Component({
22129
22164
  tag: "ease-icon-bezier",
22130
22165
  styles: `
22131
22166
  :host {
@@ -22146,7 +22181,7 @@ var init_bezier = __esm({
22146
22181
  IconBezier = class extends (_HTMLElement29 = HTMLElement) {
22147
22182
  static {
22148
22183
  ({ c: [_IconBezier, _initClass29] } = _apply_decs_2203_r29(this, [], [
22149
- _dec81
22184
+ _dec86
22150
22185
  ], _HTMLElement29));
22151
22186
  }
22152
22187
  static {
@@ -22534,12 +22569,12 @@ function applyDecs2203RFactory30() {
22534
22569
  function _apply_decs_2203_r30(targetClass, memberDecs, classDecs, parentClass) {
22535
22570
  return (_apply_decs_2203_r30 = applyDecs2203RFactory30())(targetClass, memberDecs, classDecs, parentClass);
22536
22571
  }
22537
- var _dec86, _initClass30, _HTMLElement30, _IconBezierAngle, IconBezierAngle;
22572
+ var _dec87, _initClass30, _HTMLElement30, _IconBezierAngle, IconBezierAngle;
22538
22573
  var init_bezier_angle = __esm({
22539
22574
  "swc:/Users/aaroniker/Documents/GitHub/ease/web-kit/packages/core/src/elements/icons/interface/bezier-angle.ts"() {
22540
22575
  "use strict";
22541
22576
  init_Component();
22542
- _dec86 = Component({
22577
+ _dec87 = Component({
22543
22578
  tag: "ease-icon-bezier-angle",
22544
22579
  styles: `
22545
22580
  :host {
@@ -22567,7 +22602,7 @@ var init_bezier_angle = __esm({
22567
22602
  IconBezierAngle = class extends (_HTMLElement30 = HTMLElement) {
22568
22603
  static {
22569
22604
  ({ c: [_IconBezierAngle, _initClass30] } = _apply_decs_2203_r30(this, [], [
22570
- _dec86
22605
+ _dec87
22571
22606
  ], _HTMLElement30));
22572
22607
  }
22573
22608
  static {
@@ -22955,12 +22990,12 @@ function applyDecs2203RFactory31() {
22955
22990
  function _apply_decs_2203_r31(targetClass, memberDecs, classDecs, parentClass) {
22956
22991
  return (_apply_decs_2203_r31 = applyDecs2203RFactory31())(targetClass, memberDecs, classDecs, parentClass);
22957
22992
  }
22958
- var _dec87, _initClass31, _HTMLElement31, _IconBezierDistribute, IconBezierDistribute;
22993
+ var _dec88, _initClass31, _HTMLElement31, _IconBezierDistribute, IconBezierDistribute;
22959
22994
  var init_bezier_distribute = __esm({
22960
22995
  "swc:/Users/aaroniker/Documents/GitHub/ease/web-kit/packages/core/src/elements/icons/interface/bezier-distribute.ts"() {
22961
22996
  "use strict";
22962
22997
  init_Component();
22963
- _dec87 = Component({
22998
+ _dec88 = Component({
22964
22999
  tag: "ease-icon-bezier-distribute",
22965
23000
  styles: `
22966
23001
  :host {
@@ -22989,7 +23024,7 @@ var init_bezier_distribute = __esm({
22989
23024
  IconBezierDistribute = class extends (_HTMLElement31 = HTMLElement) {
22990
23025
  static {
22991
23026
  ({ c: [_IconBezierDistribute, _initClass31] } = _apply_decs_2203_r31(this, [], [
22992
- _dec87
23027
+ _dec88
22993
23028
  ], _HTMLElement31));
22994
23029
  }
22995
23030
  static {
@@ -23377,12 +23412,12 @@ function applyDecs2203RFactory32() {
23377
23412
  function _apply_decs_2203_r32(targetClass, memberDecs, classDecs, parentClass) {
23378
23413
  return (_apply_decs_2203_r32 = applyDecs2203RFactory32())(targetClass, memberDecs, classDecs, parentClass);
23379
23414
  }
23380
- var _dec88, _initClass32, _HTMLElement32, _IconBezierLength, IconBezierLength;
23415
+ var _dec89, _initClass32, _HTMLElement32, _IconBezierLength, IconBezierLength;
23381
23416
  var init_bezier_length = __esm({
23382
23417
  "swc:/Users/aaroniker/Documents/GitHub/ease/web-kit/packages/core/src/elements/icons/interface/bezier-length.ts"() {
23383
23418
  "use strict";
23384
23419
  init_Component();
23385
- _dec88 = Component({
23420
+ _dec89 = Component({
23386
23421
  tag: "ease-icon-bezier-length",
23387
23422
  styles: `
23388
23423
  :host {
@@ -23408,7 +23443,7 @@ var init_bezier_length = __esm({
23408
23443
  IconBezierLength = class extends (_HTMLElement32 = HTMLElement) {
23409
23444
  static {
23410
23445
  ({ c: [_IconBezierLength, _initClass32] } = _apply_decs_2203_r32(this, [], [
23411
- _dec88
23446
+ _dec89
23412
23447
  ], _HTMLElement32));
23413
23448
  }
23414
23449
  static {
@@ -23796,12 +23831,12 @@ function applyDecs2203RFactory33() {
23796
23831
  function _apply_decs_2203_r33(targetClass, memberDecs, classDecs, parentClass) {
23797
23832
  return (_apply_decs_2203_r33 = applyDecs2203RFactory33())(targetClass, memberDecs, classDecs, parentClass);
23798
23833
  }
23799
- var _dec89, _initClass33, _HTMLElement33, _IconBezierMirror, IconBezierMirror;
23834
+ var _dec90, _initClass33, _HTMLElement33, _IconBezierMirror, IconBezierMirror;
23800
23835
  var init_bezier_mirror = __esm({
23801
23836
  "swc:/Users/aaroniker/Documents/GitHub/ease/web-kit/packages/core/src/elements/icons/interface/bezier-mirror.ts"() {
23802
23837
  "use strict";
23803
23838
  init_Component();
23804
- _dec89 = Component({
23839
+ _dec90 = Component({
23805
23840
  tag: "ease-icon-bezier-mirror",
23806
23841
  styles: `
23807
23842
  :host {
@@ -23827,7 +23862,7 @@ var init_bezier_mirror = __esm({
23827
23862
  IconBezierMirror = class extends (_HTMLElement33 = HTMLElement) {
23828
23863
  static {
23829
23864
  ({ c: [_IconBezierMirror, _initClass33] } = _apply_decs_2203_r33(this, [], [
23830
- _dec89
23865
+ _dec90
23831
23866
  ], _HTMLElement33));
23832
23867
  }
23833
23868
  static {
@@ -24215,12 +24250,12 @@ function applyDecs2203RFactory34() {
24215
24250
  function _apply_decs_2203_r34(targetClass, memberDecs, classDecs, parentClass) {
24216
24251
  return (_apply_decs_2203_r34 = applyDecs2203RFactory34())(targetClass, memberDecs, classDecs, parentClass);
24217
24252
  }
24218
- var _dec90, _initClass34, _HTMLElement34, _IconCheck, IconCheck;
24253
+ var _dec91, _initClass34, _HTMLElement34, _IconCheck, IconCheck;
24219
24254
  var init_check = __esm({
24220
24255
  "swc:/Users/aaroniker/Documents/GitHub/ease/web-kit/packages/core/src/elements/icons/interface/check.ts"() {
24221
24256
  "use strict";
24222
24257
  init_Component();
24223
- _dec90 = Component({
24258
+ _dec91 = Component({
24224
24259
  tag: "ease-icon-check",
24225
24260
  styles: `
24226
24261
  :host {
@@ -24245,7 +24280,7 @@ var init_check = __esm({
24245
24280
  IconCheck = class extends (_HTMLElement34 = HTMLElement) {
24246
24281
  static {
24247
24282
  ({ c: [_IconCheck, _initClass34] } = _apply_decs_2203_r34(this, [], [
24248
- _dec90
24283
+ _dec91
24249
24284
  ], _HTMLElement34));
24250
24285
  }
24251
24286
  static {
@@ -24633,12 +24668,12 @@ function applyDecs2203RFactory35() {
24633
24668
  function _apply_decs_2203_r35(targetClass, memberDecs, classDecs, parentClass) {
24634
24669
  return (_apply_decs_2203_r35 = applyDecs2203RFactory35())(targetClass, memberDecs, classDecs, parentClass);
24635
24670
  }
24636
- var _dec91, _initClass35, _HTMLElement35, _IconCircleArrowLeft, IconCircleArrowLeft;
24671
+ var _dec96, _initClass35, _HTMLElement35, _IconCircleArrowLeft, IconCircleArrowLeft;
24637
24672
  var init_circle_arrow_left = __esm({
24638
24673
  "swc:/Users/aaroniker/Documents/GitHub/ease/web-kit/packages/core/src/elements/icons/interface/circle-arrow-left.ts"() {
24639
24674
  "use strict";
24640
24675
  init_Component();
24641
- _dec91 = Component({
24676
+ _dec96 = Component({
24642
24677
  tag: "ease-icon-circle-arrow-left",
24643
24678
  styles: `
24644
24679
  :host {
@@ -24663,7 +24698,7 @@ var init_circle_arrow_left = __esm({
24663
24698
  IconCircleArrowLeft = class extends (_HTMLElement35 = HTMLElement) {
24664
24699
  static {
24665
24700
  ({ c: [_IconCircleArrowLeft, _initClass35] } = _apply_decs_2203_r35(this, [], [
24666
- _dec91
24701
+ _dec96
24667
24702
  ], _HTMLElement35));
24668
24703
  }
24669
24704
  static {
@@ -25051,12 +25086,12 @@ function applyDecs2203RFactory36() {
25051
25086
  function _apply_decs_2203_r36(targetClass, memberDecs, classDecs, parentClass) {
25052
25087
  return (_apply_decs_2203_r36 = applyDecs2203RFactory36())(targetClass, memberDecs, classDecs, parentClass);
25053
25088
  }
25054
- var _dec96, _initClass36, _HTMLElement36, _IconCircleArrowRight, IconCircleArrowRight;
25089
+ var _dec97, _initClass36, _HTMLElement36, _IconCircleArrowRight, IconCircleArrowRight;
25055
25090
  var init_circle_arrow_right = __esm({
25056
25091
  "swc:/Users/aaroniker/Documents/GitHub/ease/web-kit/packages/core/src/elements/icons/interface/circle-arrow-right.ts"() {
25057
25092
  "use strict";
25058
25093
  init_Component();
25059
- _dec96 = Component({
25094
+ _dec97 = Component({
25060
25095
  tag: "ease-icon-circle-arrow-right",
25061
25096
  styles: `
25062
25097
  :host {
@@ -25081,7 +25116,7 @@ var init_circle_arrow_right = __esm({
25081
25116
  IconCircleArrowRight = class extends (_HTMLElement36 = HTMLElement) {
25082
25117
  static {
25083
25118
  ({ c: [_IconCircleArrowRight, _initClass36] } = _apply_decs_2203_r36(this, [], [
25084
- _dec96
25119
+ _dec97
25085
25120
  ], _HTMLElement36));
25086
25121
  }
25087
25122
  static {
@@ -25469,12 +25504,12 @@ function applyDecs2203RFactory37() {
25469
25504
  function _apply_decs_2203_r37(targetClass, memberDecs, classDecs, parentClass) {
25470
25505
  return (_apply_decs_2203_r37 = applyDecs2203RFactory37())(targetClass, memberDecs, classDecs, parentClass);
25471
25506
  }
25472
- var _dec97, _initClass37, _HTMLElement37, _IconClear, IconClear;
25507
+ var _dec98, _initClass37, _HTMLElement37, _IconClear, IconClear;
25473
25508
  var init_clear = __esm({
25474
25509
  "swc:/Users/aaroniker/Documents/GitHub/ease/web-kit/packages/core/src/elements/icons/animation/clear.ts"() {
25475
25510
  "use strict";
25476
25511
  init_Component();
25477
- _dec97 = Component({
25512
+ _dec98 = Component({
25478
25513
  tag: "ease-icon-clear",
25479
25514
  styles: `
25480
25515
  :host {
@@ -25543,7 +25578,7 @@ var init_clear = __esm({
25543
25578
  IconClear = class extends (_HTMLElement37 = HTMLElement) {
25544
25579
  static {
25545
25580
  ({ c: [_IconClear, _initClass37] } = _apply_decs_2203_r37(this, [], [
25546
- _dec97
25581
+ _dec98
25547
25582
  ], _HTMLElement37));
25548
25583
  }
25549
25584
  static {
@@ -25931,12 +25966,12 @@ function applyDecs2203RFactory38() {
25931
25966
  function _apply_decs_2203_r38(targetClass, memberDecs, classDecs, parentClass) {
25932
25967
  return (_apply_decs_2203_r38 = applyDecs2203RFactory38())(targetClass, memberDecs, classDecs, parentClass);
25933
25968
  }
25934
- var _dec98, _initClass38, _HTMLElement38, _IconCode, IconCode;
25969
+ var _dec99, _initClass38, _HTMLElement38, _IconCode, IconCode;
25935
25970
  var init_code = __esm({
25936
25971
  "swc:/Users/aaroniker/Documents/GitHub/ease/web-kit/packages/core/src/elements/icons/interface/code.ts"() {
25937
25972
  "use strict";
25938
25973
  init_Component();
25939
- _dec98 = Component({
25974
+ _dec99 = Component({
25940
25975
  tag: "ease-icon-code",
25941
25976
  styles: `
25942
25977
  :host {
@@ -25961,7 +25996,7 @@ var init_code = __esm({
25961
25996
  IconCode = class extends (_HTMLElement38 = HTMLElement) {
25962
25997
  static {
25963
25998
  ({ c: [_IconCode, _initClass38] } = _apply_decs_2203_r38(this, [], [
25964
- _dec98
25999
+ _dec99
25965
26000
  ], _HTMLElement38));
25966
26001
  }
25967
26002
  static {
@@ -26349,12 +26384,12 @@ function applyDecs2203RFactory39() {
26349
26384
  function _apply_decs_2203_r39(targetClass, memberDecs, classDecs, parentClass) {
26350
26385
  return (_apply_decs_2203_r39 = applyDecs2203RFactory39())(targetClass, memberDecs, classDecs, parentClass);
26351
26386
  }
26352
- var _dec99, _initClass39, _HTMLElement39, _IconDots, IconDots;
26387
+ var _dec100, _initClass39, _HTMLElement39, _IconDots, IconDots;
26353
26388
  var init_dots = __esm({
26354
26389
  "swc:/Users/aaroniker/Documents/GitHub/ease/web-kit/packages/core/src/elements/icons/interface/dots.ts"() {
26355
26390
  "use strict";
26356
26391
  init_Component();
26357
- _dec99 = Component({
26392
+ _dec100 = Component({
26358
26393
  tag: "ease-icon-dots",
26359
26394
  styles: `
26360
26395
  :host {
@@ -26381,7 +26416,7 @@ var init_dots = __esm({
26381
26416
  IconDots = class extends (_HTMLElement39 = HTMLElement) {
26382
26417
  static {
26383
26418
  ({ c: [_IconDots, _initClass39] } = _apply_decs_2203_r39(this, [], [
26384
- _dec99
26419
+ _dec100
26385
26420
  ], _HTMLElement39));
26386
26421
  }
26387
26422
  static {
@@ -26769,13 +26804,13 @@ function applyDecs2203RFactory40() {
26769
26804
  function _apply_decs_2203_r40(targetClass, memberDecs, classDecs, parentClass) {
26770
26805
  return (_apply_decs_2203_r40 = applyDecs2203RFactory40())(targetClass, memberDecs, classDecs, parentClass);
26771
26806
  }
26772
- var _dec100, _initClass40, _HTMLElement40, _dec128, _init_state2, _initProto22, _IconGrid, IconGrid;
26807
+ var _dec101, _initClass40, _HTMLElement40, _dec128, _init_state2, _initProto22, _IconGrid, IconGrid;
26773
26808
  var init_grid = __esm({
26774
26809
  "swc:/Users/aaroniker/Documents/GitHub/ease/web-kit/packages/core/src/elements/icons/animation/grid.ts"() {
26775
26810
  "use strict";
26776
26811
  init_Component();
26777
26812
  init_Prop();
26778
- _dec100 = Component({
26813
+ _dec101 = Component({
26779
26814
  tag: "ease-icon-grid",
26780
26815
  styles: `
26781
26816
  :host {
@@ -26834,7 +26869,7 @@ var init_grid = __esm({
26834
26869
  "state"
26835
26870
  ]
26836
26871
  ], [
26837
- _dec100
26872
+ _dec101
26838
26873
  ], _HTMLElement40));
26839
26874
  }
26840
26875
  #___private_state_1;
@@ -27250,12 +27285,12 @@ function applyDecs2203RFactory41() {
27250
27285
  function _apply_decs_2203_r41(targetClass, memberDecs, classDecs, parentClass) {
27251
27286
  return (_apply_decs_2203_r41 = applyDecs2203RFactory41())(targetClass, memberDecs, classDecs, parentClass);
27252
27287
  }
27253
- var _dec101, _initClass41, _HTMLElement41, _Loading, Loading;
27288
+ var _dec105, _initClass41, _HTMLElement41, _Loading, Loading;
27254
27289
  var init_loading = __esm({
27255
27290
  "swc:/Users/aaroniker/Documents/GitHub/ease/web-kit/packages/core/src/elements/icons/animation/loading.ts"() {
27256
27291
  "use strict";
27257
27292
  init_Component();
27258
- _dec101 = Component({
27293
+ _dec105 = Component({
27259
27294
  tag: "ease-icon-loading",
27260
27295
  styles: `
27261
27296
  :host {
@@ -27318,7 +27353,7 @@ var init_loading = __esm({
27318
27353
  Loading = class extends (_HTMLElement41 = HTMLElement) {
27319
27354
  static {
27320
27355
  ({ c: [_Loading, _initClass41] } = _apply_decs_2203_r41(this, [], [
27321
- _dec101
27356
+ _dec105
27322
27357
  ], _HTMLElement41));
27323
27358
  }
27324
27359
  static {
@@ -27706,12 +27741,12 @@ function applyDecs2203RFactory42() {
27706
27741
  function _apply_decs_2203_r42(targetClass, memberDecs, classDecs, parentClass) {
27707
27742
  return (_apply_decs_2203_r42 = applyDecs2203RFactory42())(targetClass, memberDecs, classDecs, parentClass);
27708
27743
  }
27709
- var _dec105, _initClass42, _HTMLElement42, _IconMention, IconMention;
27744
+ var _dec106, _initClass42, _HTMLElement42, _IconMention, IconMention;
27710
27745
  var init_mention = __esm({
27711
27746
  "swc:/Users/aaroniker/Documents/GitHub/ease/web-kit/packages/core/src/elements/icons/interface/mention.ts"() {
27712
27747
  "use strict";
27713
27748
  init_Component();
27714
- _dec105 = Component({
27749
+ _dec106 = Component({
27715
27750
  tag: "ease-icon-mention",
27716
27751
  styles: `
27717
27752
  :host {
@@ -27736,7 +27771,7 @@ var init_mention = __esm({
27736
27771
  IconMention = class extends (_HTMLElement42 = HTMLElement) {
27737
27772
  static {
27738
27773
  ({ c: [_IconMention, _initClass42] } = _apply_decs_2203_r42(this, [], [
27739
- _dec105
27774
+ _dec106
27740
27775
  ], _HTMLElement42));
27741
27776
  }
27742
27777
  static {
@@ -28124,12 +28159,12 @@ function applyDecs2203RFactory43() {
28124
28159
  function _apply_decs_2203_r43(targetClass, memberDecs, classDecs, parentClass) {
28125
28160
  return (_apply_decs_2203_r43 = applyDecs2203RFactory43())(targetClass, memberDecs, classDecs, parentClass);
28126
28161
  }
28127
- var _dec106, _initClass43, _HTMLElement43, _Settings, Settings;
28162
+ var _dec107, _initClass43, _HTMLElement43, _Settings, Settings;
28128
28163
  var init_settings = __esm({
28129
28164
  "swc:/Users/aaroniker/Documents/GitHub/ease/web-kit/packages/core/src/elements/icons/interface/settings.ts"() {
28130
28165
  "use strict";
28131
28166
  init_Component();
28132
- _dec106 = Component({
28167
+ _dec107 = Component({
28133
28168
  tag: "ease-icon-settings",
28134
28169
  styles: `
28135
28170
  :host {
@@ -28154,7 +28189,7 @@ var init_settings = __esm({
28154
28189
  Settings = class extends (_HTMLElement43 = HTMLElement) {
28155
28190
  static {
28156
28191
  ({ c: [_Settings, _initClass43] } = _apply_decs_2203_r43(this, [], [
28157
- _dec106
28192
+ _dec107
28158
28193
  ], _HTMLElement43));
28159
28194
  }
28160
28195
  static {
@@ -28542,13 +28577,13 @@ function applyDecs2203RFactory44() {
28542
28577
  function _apply_decs_2203_r44(targetClass, memberDecs, classDecs, parentClass) {
28543
28578
  return (_apply_decs_2203_r44 = applyDecs2203RFactory44())(targetClass, memberDecs, classDecs, parentClass);
28544
28579
  }
28545
- var _dec107, _initClass44, _HTMLElement44, _dec129, _init_state3, _initProto23, _Snap, Snap;
28580
+ var _dec108, _initClass44, _HTMLElement44, _dec129, _init_state3, _initProto23, _Snap, Snap;
28546
28581
  var init_snap = __esm({
28547
28582
  "swc:/Users/aaroniker/Documents/GitHub/ease/web-kit/packages/core/src/elements/icons/animation/snap.ts"() {
28548
28583
  "use strict";
28549
28584
  init_Component();
28550
28585
  init_Prop();
28551
- _dec107 = Component({
28586
+ _dec108 = Component({
28552
28587
  tag: "ease-icon-snap",
28553
28588
  styles: `
28554
28589
  :host {
@@ -28649,7 +28684,7 @@ var init_snap = __esm({
28649
28684
  "state"
28650
28685
  ]
28651
28686
  ], [
28652
- _dec107
28687
+ _dec108
28653
28688
  ], _HTMLElement44));
28654
28689
  }
28655
28690
  #___private_state_1;
@@ -29775,6 +29810,21 @@ var init_utils2 = __esm({
29775
29810
  }
29776
29811
  });
29777
29812
 
29813
+ // src/elements/shared.ts
29814
+ var dispatchControlEvent2;
29815
+ var init_shared2 = __esm({
29816
+ "src/elements/shared.ts"() {
29817
+ "use strict";
29818
+ dispatchControlEvent2 = (host, type, detail) => {
29819
+ host.dispatchEvent(new CustomEvent(type, {
29820
+ detail,
29821
+ bubbles: true,
29822
+ composed: true
29823
+ }));
29824
+ };
29825
+ }
29826
+ });
29827
+
29778
29828
  // swc:/Users/aaroniker/Documents/GitHub/ease/web-kit/packages/core/src/components/curve/constants.ts
29779
29829
  var HIT_AREA_RADIUS, LINEAR_HIT_THRESHOLD, LINEAR_PATH_SAMPLES, DRAG_ACTIVATION_DISTANCE_PX, DRAG_ACTIVATION_DISTANCE_PX_SQUARED, DEFAULT_HANDLE_LENGTH, SVG_WIDTH, SVG_HEIGHT, BEZIER_CONTROL_MIN_Y, BEZIER_CONTROL_MAX_Y, EASING_PRESETS;
29780
29830
  var init_constants = __esm({
@@ -30026,21 +30076,6 @@ var init_svg_renderer = __esm({
30026
30076
  }
30027
30077
  });
30028
30078
 
30029
- // src/elements/shared.ts
30030
- var dispatchControlEvent2;
30031
- var init_shared2 = __esm({
30032
- "src/elements/shared.ts"() {
30033
- "use strict";
30034
- dispatchControlEvent2 = (host, type, detail) => {
30035
- host.dispatchEvent(new CustomEvent(type, {
30036
- detail,
30037
- bubbles: true,
30038
- composed: true
30039
- }));
30040
- };
30041
- }
30042
- });
30043
-
30044
30079
  // swc:/Users/aaroniker/Documents/GitHub/ease/web-kit/packages/core/src/components/curve/canvas.ts
30045
30080
  import { html as html46, svg as svg2 } from "lit-html";
30046
30081
  function applyDecs2203RFactory45() {
@@ -30415,7 +30450,7 @@ function applyDecs2203RFactory45() {
30415
30450
  function _apply_decs_2203_r45(targetClass, memberDecs, classDecs, parentClass) {
30416
30451
  return (_apply_decs_2203_r45 = applyDecs2203RFactory45())(targetClass, memberDecs, classDecs, parentClass);
30417
30452
  }
30418
- var _dec108, _initClass45, _HTMLElement45, _dec130, _dec223, _dec320, _dec416, _dec513, _dec611, _dec710, _dec810, _dec910, _init_easingType, _init_points, _init_showGrid, _init_snapToGrid, _init_gridSize, _init_focusedLinearIndex, _init_simplify, _init_round, _init_svgElement, _initProto24, _CurveCanvas, CurveCanvas, lerp, lerpPoint, findTForX, splitCurveSegment, evaluateCubicPointNormalized;
30453
+ var _dec109, _initClass45, _HTMLElement45, _dec130, _dec223, _dec320, _dec417, _dec513, _dec611, _dec710, _dec810, _dec910, _init_easingType, _init_points, _init_showGrid, _init_snapToGrid, _init_gridSize, _init_focusedLinearIndex, _init_simplify, _init_round, _init_svgElement, _initProto24, _CurveCanvas, CurveCanvas, lerp, lerpPoint, findTForX, splitCurveSegment, evaluateCubicPointNormalized;
30419
30454
  var init_canvas = __esm({
30420
30455
  "swc:/Users/aaroniker/Documents/GitHub/ease/web-kit/packages/core/src/components/curve/canvas.ts"() {
30421
30456
  "use strict";
@@ -30428,7 +30463,7 @@ var init_canvas = __esm({
30428
30463
  init_Prop();
30429
30464
  init_Query();
30430
30465
  init_shared2();
30431
- _dec108 = Component({
30466
+ _dec109 = Component({
30432
30467
  tag: "ease-curve-canvas",
30433
30468
  styles: canvasStyles,
30434
30469
  template() {
@@ -30464,7 +30499,7 @@ var init_canvas = __esm({
30464
30499
  type: Boolean,
30465
30500
  reflect: true,
30466
30501
  defaultValue: true
30467
- }), _dec416 = Prop({
30502
+ }), _dec417 = Prop({
30468
30503
  type: Boolean,
30469
30504
  reflect: true,
30470
30505
  defaultValue: false
@@ -30504,7 +30539,7 @@ var init_canvas = __esm({
30504
30539
  "showGrid"
30505
30540
  ],
30506
30541
  [
30507
- _dec416,
30542
+ _dec417,
30508
30543
  1,
30509
30544
  "snapToGrid"
30510
30545
  ],
@@ -30534,7 +30569,7 @@ var init_canvas = __esm({
30534
30569
  "svgElement"
30535
30570
  ]
30536
30571
  ], [
30537
- _dec108
30572
+ _dec109
30538
30573
  ], _HTMLElement45));
30539
30574
  }
30540
30575
  #___private_easingType_1;
@@ -31418,6 +31453,7 @@ var init_canvas = __esm({
31418
31453
  }, this.#emitPoints = (value, event) => {
31419
31454
  const target = this.#getEventTarget();
31420
31455
  const detail = {
31456
+ name: target.name,
31421
31457
  value,
31422
31458
  event
31423
31459
  };
@@ -31428,6 +31464,7 @@ var init_canvas = __esm({
31428
31464
  }
31429
31465
  const target = this.#getEventTarget();
31430
31466
  const detail = {
31467
+ name: target.name,
31431
31468
  value: index,
31432
31469
  event
31433
31470
  };
@@ -32147,7 +32184,7 @@ function applyDecs2203RFactory46() {
32147
32184
  function _apply_decs_2203_r46(targetClass, memberDecs, classDecs, parentClass) {
32148
32185
  return (_apply_decs_2203_r46 = applyDecs2203RFactory46())(targetClass, memberDecs, classDecs, parentClass);
32149
32186
  }
32150
- var _dec109, _initClass46, _HTMLElement46, _dec131, _dec224, _dec321, _init_easingType2, _init_points2, _init_focusedLinearIndex2, _initProto25, _CanvasControls, CanvasControls;
32187
+ var _dec131, _initClass46, _HTMLElement46, _dec133, _dec224, _dec321, _init_easingType2, _init_points2, _init_focusedLinearIndex2, _initProto25, _CanvasControls, CanvasControls;
32151
32188
  var init_canvas_controls = __esm({
32152
32189
  "swc:/Users/aaroniker/Documents/GitHub/ease/web-kit/packages/core/src/components/curve/canvas-controls.ts"() {
32153
32190
  "use strict";
@@ -32158,7 +32195,7 @@ var init_canvas_controls = __esm({
32158
32195
  init_Component();
32159
32196
  init_Prop();
32160
32197
  init_shared2();
32161
- _dec109 = Component({
32198
+ _dec131 = Component({
32162
32199
  tag: "ease-curve-canvas-controls",
32163
32200
  styles: canvasControlsStyles,
32164
32201
  template() {
@@ -32218,7 +32255,7 @@ var init_canvas_controls = __esm({
32218
32255
  </div>
32219
32256
  `;
32220
32257
  }
32221
- }), _dec131 = Prop({
32258
+ }), _dec133 = Prop({
32222
32259
  reflect: true
32223
32260
  }), _dec224 = Prop({
32224
32261
  type: Object,
@@ -32232,7 +32269,7 @@ var init_canvas_controls = __esm({
32232
32269
  static {
32233
32270
  ({ e: [_init_easingType2, _init_points2, _init_focusedLinearIndex2, _initProto25], c: [_CanvasControls, _initClass46] } = _apply_decs_2203_r46(this, [
32234
32271
  [
32235
- _dec131,
32272
+ _dec133,
32236
32273
  1,
32237
32274
  "easingType"
32238
32275
  ],
@@ -32247,7 +32284,7 @@ var init_canvas_controls = __esm({
32247
32284
  "focusedLinearIndex"
32248
32285
  ]
32249
32286
  ], [
32250
- _dec109
32287
+ _dec131
32251
32288
  ], _HTMLElement46));
32252
32289
  }
32253
32290
  #___private_easingType_1;
@@ -32365,6 +32402,7 @@ var init_canvas_controls = __esm({
32365
32402
  }, this.#notifyHost = (type, value, event) => {
32366
32403
  const target = this.#getEventTarget();
32367
32404
  const detail = {
32405
+ name: target.name,
32368
32406
  value,
32369
32407
  event
32370
32408
  };
@@ -32877,12 +32915,12 @@ function applyDecs2203RFactory47() {
32877
32915
  function _apply_decs_2203_r47(targetClass, memberDecs, classDecs, parentClass) {
32878
32916
  return (_apply_decs_2203_r47 = applyDecs2203RFactory47())(targetClass, memberDecs, classDecs, parentClass);
32879
32917
  }
32880
- var _dec133, _initClass47, _HTMLElement47, _IconMinus2, IconMinus2;
32918
+ var _dec134, _initClass47, _HTMLElement47, _IconMinus2, IconMinus2;
32881
32919
  var init_minus2 = __esm({
32882
32920
  "src/elements/icons/interface/minus.ts"() {
32883
32921
  "use strict";
32884
32922
  init_Component();
32885
- _dec133 = Component({
32923
+ _dec134 = Component({
32886
32924
  tag: "ease-icon-minus",
32887
32925
  styles: `
32888
32926
  :host {
@@ -32907,7 +32945,7 @@ var init_minus2 = __esm({
32907
32945
  IconMinus2 = class extends (_HTMLElement47 = HTMLElement) {
32908
32946
  static {
32909
32947
  ({ c: [_IconMinus2, _initClass47] } = _apply_decs_2203_r47(this, [], [
32910
- _dec133
32948
+ _dec134
32911
32949
  ], _HTMLElement47));
32912
32950
  }
32913
32951
  static {
@@ -33291,12 +33329,12 @@ function applyDecs2203RFactory48() {
33291
33329
  function _apply_decs_2203_r48(targetClass, memberDecs, classDecs, parentClass) {
33292
33330
  return (_apply_decs_2203_r48 = applyDecs2203RFactory48())(targetClass, memberDecs, classDecs, parentClass);
33293
33331
  }
33294
- var _dec134, _initClass48, _HTMLElement48, _IconPlus2, IconPlus2;
33332
+ var _dec135, _initClass48, _HTMLElement48, _IconPlus2, IconPlus2;
33295
33333
  var init_plus2 = __esm({
33296
33334
  "src/elements/icons/interface/plus.ts"() {
33297
33335
  "use strict";
33298
33336
  init_Component();
33299
- _dec134 = Component({
33337
+ _dec135 = Component({
33300
33338
  tag: "ease-icon-plus",
33301
33339
  styles: `
33302
33340
  :host {
@@ -33321,7 +33359,7 @@ var init_plus2 = __esm({
33321
33359
  IconPlus2 = class extends (_HTMLElement48 = HTMLElement) {
33322
33360
  static {
33323
33361
  ({ c: [_IconPlus2, _initClass48] } = _apply_decs_2203_r48(this, [], [
33324
- _dec134
33362
+ _dec135
33325
33363
  ], _HTMLElement48));
33326
33364
  }
33327
33365
  static {
@@ -33705,13 +33743,13 @@ function applyDecs2203RFactory49() {
33705
33743
  function _apply_decs_2203_r49(targetClass, memberDecs, classDecs, parentClass) {
33706
33744
  return (_apply_decs_2203_r49 = applyDecs2203RFactory49())(targetClass, memberDecs, classDecs, parentClass);
33707
33745
  }
33708
- var _dec135, _initClass49, _HTMLElement49, _dec136, _dec225, _dec322, _dec417, _dec514, _dec612, _init_disabled11, _init_pill3, _init_fullWidth3, _init_type3, _init_block3, _init_variant2, _initProto26, _Button2, Button2;
33746
+ var _dec136, _initClass49, _HTMLElement49, _dec137, _dec225, _dec322, _dec418, _dec514, _dec612, _init_disabled11, _init_pill3, _init_fullWidth3, _init_type3, _init_block3, _init_variant2, _initProto26, _Button2, Button2;
33709
33747
  var init_button2 = __esm({
33710
33748
  "src/elements/button/index.ts"() {
33711
33749
  "use strict";
33712
33750
  init_Component();
33713
33751
  init_Prop();
33714
- _dec135 = Component({
33752
+ _dec136 = Component({
33715
33753
  tag: "ease-button",
33716
33754
  autoSlot: true,
33717
33755
  shadowMode: "open",
@@ -33878,7 +33916,7 @@ var init_button2 = __esm({
33878
33916
  }
33879
33917
  }
33880
33918
  `
33881
- }), _dec136 = Prop({
33919
+ }), _dec137 = Prop({
33882
33920
  type: Boolean,
33883
33921
  reflect: true
33884
33922
  }), _dec225 = Prop({
@@ -33887,7 +33925,7 @@ var init_button2 = __esm({
33887
33925
  }), _dec322 = Prop({
33888
33926
  type: Boolean,
33889
33927
  reflect: true
33890
- }), _dec417 = Prop({
33928
+ }), _dec418 = Prop({
33891
33929
  type: String,
33892
33930
  reflect: true,
33893
33931
  defaultValue: "button"
@@ -33907,7 +33945,7 @@ var init_button2 = __esm({
33907
33945
  static {
33908
33946
  ({ e: [_init_disabled11, _init_pill3, _init_fullWidth3, _init_type3, _init_block3, _init_variant2, _initProto26], c: [_Button2, _initClass49] } = _apply_decs_2203_r49(this, [
33909
33947
  [
33910
- _dec136,
33948
+ _dec137,
33911
33949
  1,
33912
33950
  "disabled"
33913
33951
  ],
@@ -33922,7 +33960,7 @@ var init_button2 = __esm({
33922
33960
  "fullWidth"
33923
33961
  ],
33924
33962
  [
33925
- _dec417,
33963
+ _dec418,
33926
33964
  1,
33927
33965
  "type"
33928
33966
  ],
@@ -33937,7 +33975,7 @@ var init_button2 = __esm({
33937
33975
  "variant"
33938
33976
  ]
33939
33977
  ], [
33940
- _dec135
33978
+ _dec136
33941
33979
  ], _HTMLElement49));
33942
33980
  }
33943
33981
  #___private_disabled_1;
@@ -34380,7 +34418,7 @@ function applyDecs2203RFactory50() {
34380
34418
  function _apply_decs_2203_r50(targetClass, memberDecs, classDecs, parentClass) {
34381
34419
  return (_apply_decs_2203_r50 = applyDecs2203RFactory50())(targetClass, memberDecs, classDecs, parentClass);
34382
34420
  }
34383
- var _dec137, _initClass50, _HTMLElement50, _dec138, _dec226, _dec323, _dec418, _dec515, _dec613, _init_easingType3, _init_points3, _init_showGrid2, _init_snapToGrid2, _init_gridSize2, _init_focusedLinearIndex3, _initProto27, _CurveControls, CurveControls;
34421
+ var _dec138, _initClass50, _HTMLElement50, _dec139, _dec226, _dec323, _dec419, _dec515, _dec613, _init_easingType3, _init_points3, _init_showGrid2, _init_snapToGrid2, _init_gridSize2, _init_focusedLinearIndex3, _initProto27, _CurveControls, CurveControls;
34384
34422
  var init_controls = __esm({
34385
34423
  "swc:/Users/aaroniker/Documents/GitHub/ease/web-kit/packages/core/src/components/curve/controls.ts"() {
34386
34424
  "use strict";
@@ -34394,7 +34432,7 @@ var init_controls = __esm({
34394
34432
  init_minus2();
34395
34433
  init_plus2();
34396
34434
  init_button2();
34397
- _dec137 = Component({
34435
+ _dec138 = Component({
34398
34436
  tag: "ease-curve-controls",
34399
34437
  styles: controlsStyles,
34400
34438
  template() {
@@ -34427,7 +34465,7 @@ var init_controls = __esm({
34427
34465
  </ease-field>
34428
34466
  `;
34429
34467
  }
34430
- }), _dec138 = Prop({
34468
+ }), _dec139 = Prop({
34431
34469
  reflect: true
34432
34470
  }), _dec226 = Prop({
34433
34471
  type: Object,
@@ -34439,7 +34477,7 @@ var init_controls = __esm({
34439
34477
  type: Boolean,
34440
34478
  reflect: true,
34441
34479
  defaultValue: true
34442
- }), _dec418 = Prop({
34480
+ }), _dec419 = Prop({
34443
34481
  type: Boolean,
34444
34482
  reflect: true,
34445
34483
  defaultValue: false
@@ -34459,7 +34497,7 @@ var init_controls = __esm({
34459
34497
  static {
34460
34498
  ({ e: [_init_easingType3, _init_points3, _init_showGrid2, _init_snapToGrid2, _init_gridSize2, _init_focusedLinearIndex3, _initProto27], c: [_CurveControls, _initClass50] } = _apply_decs_2203_r50(this, [
34461
34499
  [
34462
- _dec138,
34500
+ _dec139,
34463
34501
  1,
34464
34502
  "easingType"
34465
34503
  ],
@@ -34474,7 +34512,7 @@ var init_controls = __esm({
34474
34512
  "showGrid"
34475
34513
  ],
34476
34514
  [
34477
- _dec418,
34515
+ _dec419,
34478
34516
  1,
34479
34517
  "snapToGrid"
34480
34518
  ],
@@ -34489,7 +34527,7 @@ var init_controls = __esm({
34489
34527
  "focusedLinearIndex"
34490
34528
  ]
34491
34529
  ], [
34492
- _dec137
34530
+ _dec138
34493
34531
  ], _HTMLElement50));
34494
34532
  }
34495
34533
  #___private_easingType_1;
@@ -35399,6 +35437,7 @@ var init_controls = __esm({
35399
35437
  }, this.#notifyHost = (type, value, event) => {
35400
35438
  const target = this.#getEventTarget();
35401
35439
  const detail = {
35440
+ name: target.name,
35402
35441
  value,
35403
35442
  event
35404
35443
  };
@@ -36049,7 +36088,7 @@ function applyDecs2203RFactory51() {
36049
36088
  function _apply_decs_2203_r51(targetClass, memberDecs, classDecs, parentClass) {
36050
36089
  return (_apply_decs_2203_r51 = applyDecs2203RFactory51())(targetClass, memberDecs, classDecs, parentClass);
36051
36090
  }
36052
- var _dec139, _initClass51, _HTMLElement51, _dec140, _dec227, _init_language, _init_codeElement, _initProto28, _Code, Code;
36091
+ var _dec140, _initClass51, _HTMLElement51, _dec141, _dec227, _init_language, _init_codeElement, _initProto28, _Code, Code;
36053
36092
  var init_code2 = __esm({
36054
36093
  "src/components/code/index.ts"() {
36055
36094
  "use strict";
@@ -36059,7 +36098,7 @@ var init_code2 = __esm({
36059
36098
  init_Component();
36060
36099
  init_Prop();
36061
36100
  init_Query();
36062
- _dec139 = Component({
36101
+ _dec140 = Component({
36063
36102
  tag: "ease-code",
36064
36103
  shadowMode: "open",
36065
36104
  autoSlot: false,
@@ -36084,14 +36123,14 @@ var init_code2 = __esm({
36084
36123
  template() {
36085
36124
  return html52`<pre><code><slot></slot></code></pre>`;
36086
36125
  }
36087
- }), _dec140 = Prop({
36126
+ }), _dec141 = Prop({
36088
36127
  reflect: true
36089
36128
  }), _dec227 = Query("code");
36090
36129
  Code = class extends (_HTMLElement51 = HTMLElement) {
36091
36130
  static {
36092
36131
  ({ e: [_init_language, _init_codeElement, _initProto28], c: [_Code, _initClass51] } = _apply_decs_2203_r51(this, [
36093
36132
  [
36094
- _dec140,
36133
+ _dec141,
36095
36134
  1,
36096
36135
  "language"
36097
36136
  ],
@@ -36101,7 +36140,7 @@ var init_code2 = __esm({
36101
36140
  "codeElement"
36102
36141
  ]
36103
36142
  ], [
36104
- _dec139
36143
+ _dec140
36105
36144
  ], _HTMLElement51));
36106
36145
  }
36107
36146
  #instanceId;
@@ -36609,7 +36648,7 @@ function applyDecs2203RFactory52() {
36609
36648
  function _apply_decs_2203_r52(targetClass, memberDecs, classDecs, parentClass) {
36610
36649
  return (_apply_decs_2203_r52 = applyDecs2203RFactory52())(targetClass, memberDecs, classDecs, parentClass);
36611
36650
  }
36612
- var _dec141, _initClass52, _HTMLElement52, _dec143, _dec228, _dec324, _dec419, _dec516, _dec614, _init_easingType4, _init_points4, _init_name7, _init_variant3, _init_simplify2, _init_round2, _initProto29, _CurveOutput, CurveOutput;
36651
+ var _dec143, _initClass52, _HTMLElement52, _dec144, _dec228, _dec324, _dec420, _dec516, _dec614, _init_easingType4, _init_points4, _init_name8, _init_variant3, _init_simplify2, _init_round2, _initProto29, _CurveOutput, CurveOutput;
36613
36652
  var init_output = __esm({
36614
36653
  "swc:/Users/aaroniker/Documents/GitHub/ease/web-kit/packages/core/src/components/curve/output.ts"() {
36615
36654
  "use strict";
@@ -36619,7 +36658,7 @@ var init_output = __esm({
36619
36658
  init_Component();
36620
36659
  init_Prop();
36621
36660
  init_code2();
36622
- _dec141 = Component({
36661
+ _dec143 = Component({
36623
36662
  tag: "ease-curve-output",
36624
36663
  styles: outputStyles,
36625
36664
  template() {
@@ -36635,7 +36674,7 @@ var init_output = __esm({
36635
36674
  </div>
36636
36675
  `;
36637
36676
  }
36638
- }), _dec143 = Prop({
36677
+ }), _dec144 = Prop({
36639
36678
  type: String,
36640
36679
  reflect: true
36641
36680
  }), _dec228 = Prop({
@@ -36644,7 +36683,7 @@ var init_output = __esm({
36644
36683
  }), _dec324 = Prop({
36645
36684
  reflect: true,
36646
36685
  defaultValue: "ease-custom"
36647
- }), _dec419 = Prop({
36686
+ }), _dec420 = Prop({
36648
36687
  reflect: true,
36649
36688
  defaultValue: "animation"
36650
36689
  }), _dec516 = Prop({
@@ -36658,9 +36697,9 @@ var init_output = __esm({
36658
36697
  });
36659
36698
  CurveOutput = class extends (_HTMLElement52 = HTMLElement) {
36660
36699
  static {
36661
- ({ e: [_init_easingType4, _init_points4, _init_name7, _init_variant3, _init_simplify2, _init_round2, _initProto29], c: [_CurveOutput, _initClass52] } = _apply_decs_2203_r52(this, [
36700
+ ({ e: [_init_easingType4, _init_points4, _init_name8, _init_variant3, _init_simplify2, _init_round2, _initProto29], c: [_CurveOutput, _initClass52] } = _apply_decs_2203_r52(this, [
36662
36701
  [
36663
- _dec143,
36702
+ _dec144,
36664
36703
  1,
36665
36704
  "easingType"
36666
36705
  ],
@@ -36675,7 +36714,7 @@ var init_output = __esm({
36675
36714
  "name"
36676
36715
  ],
36677
36716
  [
36678
- _dec419,
36717
+ _dec420,
36679
36718
  1,
36680
36719
  "variant"
36681
36720
  ],
@@ -36690,7 +36729,7 @@ var init_output = __esm({
36690
36729
  "round"
36691
36730
  ]
36692
36731
  ], [
36693
- _dec141
36732
+ _dec143
36694
36733
  ], _HTMLElement52));
36695
36734
  }
36696
36735
  #___private_easingType_1;
@@ -36812,7 +36851,7 @@ var init_output = __esm({
36812
36851
  _initClass52();
36813
36852
  }
36814
36853
  constructor(...args) {
36815
- super(...args), this.#___private_easingType_1 = (_initProto29(this), _init_easingType4(this)), this.#___private_points_2 = _init_points4(this), this.#___private_name_3 = _init_name7(this), this.#___private_variant_4 = _init_variant3(this), this.#___private_simplify_5 = _init_simplify2(this), this.#___private_round_6 = _init_round2(this), this.#copyTimeout = null, this.#animationTimeout = null, this.#isAnimating = false, this.#copyToClipboard = async (event) => {
36854
+ super(...args), this.#___private_easingType_1 = (_initProto29(this), _init_easingType4(this)), this.#___private_points_2 = _init_points4(this), this.#___private_name_3 = _init_name8(this), this.#___private_variant_4 = _init_variant3(this), this.#___private_simplify_5 = _init_simplify2(this), this.#___private_round_6 = _init_round2(this), this.#copyTimeout = null, this.#animationTimeout = null, this.#isAnimating = false, this.#copyToClipboard = async (event) => {
36816
36855
  event.preventDefault();
36817
36856
  try {
36818
36857
  await navigator.clipboard.writeText(this.timingFunction);
@@ -37225,7 +37264,7 @@ function applyDecs2203RFactory53() {
37225
37264
  function _apply_decs_2203_r53(targetClass, memberDecs, classDecs, parentClass) {
37226
37265
  return (_apply_decs_2203_r53 = applyDecs2203RFactory53())(targetClass, memberDecs, classDecs, parentClass);
37227
37266
  }
37228
- var _dec144, _initClass53, _HTMLElement53, _dec145, _dec229, _dec325, _dec420, _dec517, _dec615, _init_open4, _init_delay2, _init_placement5, _init_triggerElement2, _init_contentElement3, _initProto30, _Tooltip2, Tooltip2;
37267
+ var _dec145, _initClass53, _HTMLElement53, _dec146, _dec229, _dec325, _dec421, _dec517, _dec615, _init_open4, _init_delay2, _init_placement5, _init_triggerElement2, _init_contentElement4, _initProto30, _Tooltip2, Tooltip2;
37229
37268
  var init_tooltip2 = __esm({
37230
37269
  "src/elements/tooltip/index.ts"() {
37231
37270
  "use strict";
@@ -37234,7 +37273,7 @@ var init_tooltip2 = __esm({
37234
37273
  init_OutsideClick();
37235
37274
  init_Prop();
37236
37275
  init_Query();
37237
- _dec144 = Component({
37276
+ _dec145 = Component({
37238
37277
  tag: "ease-tooltip",
37239
37278
  shadowMode: "open",
37240
37279
  styles: `
@@ -37264,7 +37303,7 @@ var init_tooltip2 = __esm({
37264
37303
  display: block;
37265
37304
  }
37266
37305
  `
37267
- }), _dec145 = Prop({
37306
+ }), _dec146 = Prop({
37268
37307
  type: Boolean,
37269
37308
  reflect: true,
37270
37309
  onChange(next, previous) {
@@ -37277,7 +37316,7 @@ var init_tooltip2 = __esm({
37277
37316
  }), _dec325 = Prop({
37278
37317
  reflect: true,
37279
37318
  defaultValue: "top-center"
37280
- }), _dec420 = Query('[slot="trigger"]'), _dec517 = Query("[data-tooltip-content]"), _dec615 = OutsideClick({
37319
+ }), _dec421 = Query('[slot="trigger"]'), _dec517 = Query("[data-tooltip-content]"), _dec615 = OutsideClick({
37281
37320
  content: (host) => host.contentElement,
37282
37321
  triggers: (host) => [
37283
37322
  host.triggerElement
@@ -37286,9 +37325,9 @@ var init_tooltip2 = __esm({
37286
37325
  });
37287
37326
  Tooltip2 = class extends (_HTMLElement53 = HTMLElement) {
37288
37327
  static {
37289
- ({ e: [_init_open4, _init_delay2, _init_placement5, _init_triggerElement2, _init_contentElement3, _initProto30], c: [_Tooltip2, _initClass53] } = _apply_decs_2203_r53(this, [
37328
+ ({ e: [_init_open4, _init_delay2, _init_placement5, _init_triggerElement2, _init_contentElement4, _initProto30], c: [_Tooltip2, _initClass53] } = _apply_decs_2203_r53(this, [
37290
37329
  [
37291
- _dec145,
37330
+ _dec146,
37292
37331
  1,
37293
37332
  "open"
37294
37333
  ],
@@ -37303,7 +37342,7 @@ var init_tooltip2 = __esm({
37303
37342
  "placement"
37304
37343
  ],
37305
37344
  [
37306
- _dec420,
37345
+ _dec421,
37307
37346
  1,
37308
37347
  "triggerElement"
37309
37348
  ],
@@ -37318,7 +37357,7 @@ var init_tooltip2 = __esm({
37318
37357
  "handleOutsideDismiss"
37319
37358
  ]
37320
37359
  ], [
37321
- _dec144
37360
+ _dec145
37322
37361
  ], _HTMLElement53));
37323
37362
  }
37324
37363
  #hoverTimer;
@@ -37469,7 +37508,7 @@ var init_tooltip2 = __esm({
37469
37508
  _initClass53();
37470
37509
  }
37471
37510
  constructor(...args) {
37472
- super(...args), this.#hoverTimer = (_initProto30(this), null), this.#trigger = null, this.#content = null, this.#___private_open_1 = _init_open4(this, false), this.#___private_delay_2 = _init_delay2(this, 300), this.#___private_placement_3 = _init_placement5(this, "top-center"), this.#___private_triggerElement_4 = _init_triggerElement2(this), this.#___private_contentElement_5 = _init_contentElement3(this), this.#handleEnter = () => {
37511
+ super(...args), this.#hoverTimer = (_initProto30(this), null), this.#trigger = null, this.#content = null, this.#___private_open_1 = _init_open4(this, false), this.#___private_delay_2 = _init_delay2(this, 300), this.#___private_placement_3 = _init_placement5(this, "top-center"), this.#___private_triggerElement_4 = _init_triggerElement2(this), this.#___private_contentElement_5 = _init_contentElement4(this), this.#handleEnter = () => {
37473
37512
  this.#startTimer(() => {
37474
37513
  this.open = true;
37475
37514
  });
@@ -37862,7 +37901,7 @@ function applyDecs2203RFactory54() {
37862
37901
  function _apply_decs_2203_r54(targetClass, memberDecs, classDecs, parentClass) {
37863
37902
  return (_apply_decs_2203_r54 = applyDecs2203RFactory54())(targetClass, memberDecs, classDecs, parentClass);
37864
37903
  }
37865
- var _dec146, _initClass54, _HTMLElement54, _dec147, _dec230, _dec326, _dec421, _dec518, _dec616, _dec711, _init_easingType5, _init_points5, _init_showGrid3, _init_snapToGrid3, _init_gridSize3, _init_simplify3, _init_round3, _initProto31, _CurveToolbar, CurveToolbar;
37904
+ var _dec147, _initClass54, _HTMLElement54, _dec148, _dec230, _dec326, _dec422, _dec518, _dec616, _dec711, _init_easingType5, _init_points5, _init_showGrid3, _init_snapToGrid3, _init_gridSize3, _init_simplify3, _init_round3, _initProto31, _CurveToolbar, CurveToolbar;
37866
37905
  var init_toolbar = __esm({
37867
37906
  "swc:/Users/aaroniker/Documents/GitHub/ease/web-kit/packages/core/src/components/curve/toolbar.ts"() {
37868
37907
  "use strict";
@@ -37876,7 +37915,7 @@ var init_toolbar = __esm({
37876
37915
  init_plus2();
37877
37916
  init_button2();
37878
37917
  init_tooltip2();
37879
- _dec146 = Component({
37918
+ _dec147 = Component({
37880
37919
  tag: "ease-curve-toolbar",
37881
37920
  styles: toolbarStyles,
37882
37921
  template() {
@@ -38003,7 +38042,7 @@ var init_toolbar = __esm({
38003
38042
  </div>
38004
38043
  `;
38005
38044
  }
38006
- }), _dec147 = Prop({
38045
+ }), _dec148 = Prop({
38007
38046
  reflect: true
38008
38047
  }), _dec230 = Prop({
38009
38048
  type: Object,
@@ -38012,7 +38051,7 @@ var init_toolbar = __esm({
38012
38051
  type: Boolean,
38013
38052
  reflect: true,
38014
38053
  defaultValue: true
38015
- }), _dec421 = Prop({
38054
+ }), _dec422 = Prop({
38016
38055
  type: Boolean,
38017
38056
  reflect: true,
38018
38057
  defaultValue: false
@@ -38033,7 +38072,7 @@ var init_toolbar = __esm({
38033
38072
  static {
38034
38073
  ({ e: [_init_easingType5, _init_points5, _init_showGrid3, _init_snapToGrid3, _init_gridSize3, _init_simplify3, _init_round3, _initProto31], c: [_CurveToolbar, _initClass54] } = _apply_decs_2203_r54(this, [
38035
38074
  [
38036
- _dec147,
38075
+ _dec148,
38037
38076
  1,
38038
38077
  "easingType"
38039
38078
  ],
@@ -38048,7 +38087,7 @@ var init_toolbar = __esm({
38048
38087
  "showGrid"
38049
38088
  ],
38050
38089
  [
38051
- _dec421,
38090
+ _dec422,
38052
38091
  1,
38053
38092
  "snapToGrid"
38054
38093
  ],
@@ -38068,7 +38107,7 @@ var init_toolbar = __esm({
38068
38107
  "round"
38069
38108
  ]
38070
38109
  ], [
38071
- _dec146
38110
+ _dec147
38072
38111
  ], _HTMLElement54));
38073
38112
  }
38074
38113
  #___private_easingType_1;
@@ -38144,6 +38183,7 @@ var init_toolbar = __esm({
38144
38183
  }, this.#notifyHost = (type, value, event) => {
38145
38184
  const target = this.#getEventTarget();
38146
38185
  const detail = {
38186
+ name: target.name,
38147
38187
  value,
38148
38188
  event
38149
38189
  };
@@ -38717,7 +38757,7 @@ function applyDecs2203RFactory55() {
38717
38757
  function _apply_decs_2203_r55(targetClass, memberDecs, classDecs, parentClass) {
38718
38758
  return (_apply_decs_2203_r55 = applyDecs2203RFactory55())(targetClass, memberDecs, classDecs, parentClass);
38719
38759
  }
38720
- var _dec148, _initClass55, _HTMLElement55, _dec149, _dec231, _dec327, _dec422, _dec519, _dec617, _dec712, _dec811, _dec911, _dec1010, _dec1110, _dec1210, _dec1310, _dec1410, _dec153, _dec162, _dec172, _dec182, _init_name8, _init_easingType6, _init_points6, _init_showGrid4, _init_snapToGrid4, _init_gridSize4, _init_simplify4, _init_round4, _init_focusedLinearIndex4, _initProto32, _Curve, Curve;
38760
+ var _dec149, _initClass55, _HTMLElement55, _dec150, _dec231, _dec327, _dec423, _dec519, _dec617, _dec712, _dec811, _dec911, _dec1010, _dec1110, _dec1210, _dec1310, _dec1410, _dec153, _dec162, _dec172, _dec182, _init_name9, _init_easingType6, _init_points6, _init_showGrid4, _init_snapToGrid4, _init_gridSize4, _init_simplify4, _init_round4, _init_focusedLinearIndex4, _initProto32, _Curve, Curve;
38721
38761
  var init_curve = __esm({
38722
38762
  "swc:/Users/aaroniker/Documents/GitHub/ease/web-kit/packages/core/src/components/curve/index.ts"() {
38723
38763
  "use strict";
@@ -38728,13 +38768,14 @@ var init_curve = __esm({
38728
38768
  init_Component();
38729
38769
  init_Listen();
38730
38770
  init_Prop();
38771
+ init_shared2();
38731
38772
  init_canvas();
38732
38773
  init_canvas_controls();
38733
38774
  init_controls();
38734
38775
  init_output();
38735
38776
  init_toolbar();
38736
38777
  init_types();
38737
- _dec148 = Component({
38778
+ _dec149 = Component({
38738
38779
  tag: "ease-curve",
38739
38780
  styles: containerStyles,
38740
38781
  template() {
@@ -38795,7 +38836,7 @@ var init_curve = __esm({
38795
38836
  </div>
38796
38837
  `;
38797
38838
  }
38798
- }), _dec149 = Prop({
38839
+ }), _dec150 = Prop({
38799
38840
  reflect: true,
38800
38841
  defaultValue: "ease-custom"
38801
38842
  }), _dec231 = Prop({
@@ -38822,7 +38863,7 @@ var init_curve = __esm({
38822
38863
  }
38823
38864
  };
38824
38865
  }
38825
- }), _dec422 = Prop({
38866
+ }), _dec423 = Prop({
38826
38867
  type: Boolean,
38827
38868
  reflect: true,
38828
38869
  defaultValue: true
@@ -38868,9 +38909,9 @@ var init_curve = __esm({
38868
38909
  });
38869
38910
  Curve = class extends (_HTMLElement55 = HTMLElement) {
38870
38911
  static {
38871
- ({ e: [_init_name8, _init_easingType6, _init_points6, _init_showGrid4, _init_snapToGrid4, _init_gridSize4, _init_simplify4, _init_round4, _init_focusedLinearIndex4, _initProto32], c: [_Curve, _initClass55] } = _apply_decs_2203_r55(this, [
38912
+ ({ e: [_init_name9, _init_easingType6, _init_points6, _init_showGrid4, _init_snapToGrid4, _init_gridSize4, _init_simplify4, _init_round4, _init_focusedLinearIndex4, _initProto32], c: [_Curve, _initClass55] } = _apply_decs_2203_r55(this, [
38872
38913
  [
38873
- _dec149,
38914
+ _dec150,
38874
38915
  1,
38875
38916
  "name"
38876
38917
  ],
@@ -38885,7 +38926,7 @@ var init_curve = __esm({
38885
38926
  "points"
38886
38927
  ],
38887
38928
  [
38888
- _dec422,
38929
+ _dec423,
38889
38930
  1,
38890
38931
  "showGrid"
38891
38932
  ],
@@ -38960,7 +39001,7 @@ var init_curve = __esm({
38960
39001
  "handleLinearPointFocus"
38961
39002
  ]
38962
39003
  ], [
38963
- _dec148
39004
+ _dec149
38964
39005
  ], _HTMLElement55));
38965
39006
  }
38966
39007
  #___private_name_1;
@@ -39234,20 +39275,17 @@ var init_curve = __esm({
39234
39275
  }
39235
39276
  emitPointsChange(value, sourceEvent) {
39236
39277
  const detail = {
39278
+ name: this.name,
39237
39279
  value,
39238
39280
  event: sourceEvent ?? new Event("points-change")
39239
39281
  };
39240
- this.dispatchEvent(new CustomEvent("points-change", {
39241
- detail,
39242
- bubbles: true,
39243
- composed: true
39244
- }));
39282
+ dispatchControlEvent2(this, "points-change", detail);
39245
39283
  }
39246
39284
  static {
39247
39285
  _initClass55();
39248
39286
  }
39249
39287
  constructor(...args) {
39250
- super(...args), this.#___private_name_1 = (_initProto32(this), _init_name8(this)), this.#___private_easingType_2 = _init_easingType6(this), this.#___private_points_3 = _init_points6(this), this.#___private_showGrid_4 = _init_showGrid4(this), this.#___private_snapToGrid_5 = _init_snapToGrid4(this), this.#___private_gridSize_6 = _init_gridSize4(this), this.#___private_simplify_7 = _init_simplify4(this), this.#___private_round_8 = _init_round4(this), this.#___private_focusedLinearIndex_9 = _init_focusedLinearIndex4(this, null);
39288
+ super(...args), this.#___private_name_1 = (_initProto32(this), _init_name9(this)), this.#___private_easingType_2 = _init_easingType6(this), this.#___private_points_3 = _init_points6(this), this.#___private_showGrid_4 = _init_showGrid4(this), this.#___private_snapToGrid_5 = _init_snapToGrid4(this), this.#___private_gridSize_6 = _init_gridSize4(this), this.#___private_simplify_7 = _init_simplify4(this), this.#___private_round_8 = _init_round4(this), this.#___private_focusedLinearIndex_9 = _init_focusedLinearIndex4(this, null);
39251
39289
  }
39252
39290
  };
39253
39291
  }
@@ -39631,7 +39669,7 @@ function applyDecs2203RFactory56() {
39631
39669
  function _apply_decs_2203_r56(targetClass, memberDecs, classDecs, parentClass) {
39632
39670
  return (_apply_decs_2203_r56 = applyDecs2203RFactory56())(targetClass, memberDecs, classDecs, parentClass);
39633
39671
  }
39634
- var _dec150, _initClass56, _HTMLElement56, _dec151, _dec232, _init_language2, _init_codeElement2, _initProto33, _Code2, Code2;
39672
+ var _dec151, _initClass56, _HTMLElement56, _dec154, _dec232, _init_language2, _init_codeElement2, _initProto33, _Code2, Code2;
39635
39673
  var init_code3 = __esm({
39636
39674
  "swc:/Users/aaroniker/Documents/GitHub/ease/web-kit/packages/core/src/components/code/index.ts"() {
39637
39675
  "use strict";
@@ -39641,7 +39679,7 @@ var init_code3 = __esm({
39641
39679
  init_Component();
39642
39680
  init_Prop();
39643
39681
  init_Query();
39644
- _dec150 = Component({
39682
+ _dec151 = Component({
39645
39683
  tag: "ease-code",
39646
39684
  shadowMode: "open",
39647
39685
  autoSlot: false,
@@ -39666,14 +39704,14 @@ var init_code3 = __esm({
39666
39704
  template() {
39667
39705
  return html57`<pre><code><slot></slot></code></pre>`;
39668
39706
  }
39669
- }), _dec151 = Prop({
39707
+ }), _dec154 = Prop({
39670
39708
  reflect: true
39671
39709
  }), _dec232 = Query("code");
39672
39710
  Code2 = class extends (_HTMLElement56 = HTMLElement) {
39673
39711
  static {
39674
39712
  ({ e: [_init_language2, _init_codeElement2, _initProto33], c: [_Code2, _initClass56] } = _apply_decs_2203_r56(this, [
39675
39713
  [
39676
- _dec151,
39714
+ _dec154,
39677
39715
  1,
39678
39716
  "language"
39679
39717
  ],
@@ -39683,7 +39721,7 @@ var init_code3 = __esm({
39683
39721
  "codeElement"
39684
39722
  ]
39685
39723
  ], [
39686
- _dec150
39724
+ _dec151
39687
39725
  ], _HTMLElement56));
39688
39726
  }
39689
39727
  #instanceId;