@easemate/web-kit 0.3.3 → 0.3.5
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/README.md +105 -17
- package/build/decorators.cjs +7 -7
- package/build/decorators.cjs.map +1 -1
- package/build/decorators.js +7 -7
- package/build/decorators.js.map +1 -1
- package/build/elements.cjs +2003 -887
- package/build/elements.cjs.map +1 -1
- package/build/elements.d.cts +55 -6
- package/build/elements.d.ts +55 -6
- package/build/elements.js +2002 -888
- package/build/elements.js.map +1 -1
- package/build/{index-NzGpn7ai.d.cts → index-BKwMPyPy.d.cts} +3 -0
- package/build/{index-NzGpn7ai.d.ts → index-BKwMPyPy.d.ts} +3 -0
- package/build/index.cjs +2021 -873
- package/build/index.cjs.map +1 -1
- package/build/index.d.cts +4 -4
- package/build/index.d.ts +4 -4
- package/build/index.js +2016 -870
- package/build/index.js.map +1 -1
- package/build/{init-CaP7khA2.d.ts → init-C4Q5EEAr.d.ts} +1 -1
- package/build/{init-DmqoRv6_.d.cts → init-yLajTNMT.d.cts} +1 -1
- package/build/jsx.cjs.map +1 -1
- package/build/jsx.d.cts +21 -1
- package/build/jsx.d.ts +21 -1
- package/build/jsx.js.map +1 -1
- package/build/react.cjs +571 -512
- package/build/react.cjs.map +1 -1
- package/build/react.d.cts +4 -4
- package/build/react.d.ts +4 -4
- package/build/react.js +571 -512
- package/build/react.js.map +1 -1
- package/build/register.cjs +2504 -1392
- package/build/register.cjs.map +1 -1
- package/build/register.js +2485 -1373
- package/build/register.js.map +1 -1
- package/build/{registry-YCv1Ctoe.d.cts → registry-GVSJPmus.d.cts} +1 -0
- package/build/{registry-YCv1Ctoe.d.ts → registry-GVSJPmus.d.ts} +1 -0
- package/build/theme.cjs +34 -3
- package/build/theme.cjs.map +1 -1
- package/build/theme.d.cts +2 -2
- package/build/theme.d.ts +2 -2
- package/build/theme.js +34 -3
- package/build/theme.js.map +1 -1
- package/build/utils.cjs +3 -3
- package/build/utils.cjs.map +1 -1
- package/build/utils.js +3 -3
- package/build/utils.js.map +1 -1
- package/package.json +1 -1
package/build/elements.cjs
CHANGED
|
@@ -28,6 +28,7 @@ __export(elements_exports, {
|
|
|
28
28
|
ColorPicker: () => _ColorPicker,
|
|
29
29
|
Dropdown: () => _Dropdown,
|
|
30
30
|
Field: () => _Field,
|
|
31
|
+
Folder: () => _Folder,
|
|
31
32
|
IconAnchorAdd: () => _IconAnchorAdd,
|
|
32
33
|
IconAnchorRemove: () => _IconAnchorRemove,
|
|
33
34
|
IconArrowsVertical: () => _IconArrowsVertical,
|
|
@@ -43,6 +44,7 @@ __export(elements_exports, {
|
|
|
43
44
|
IconClear: () => _IconClear,
|
|
44
45
|
IconCode: () => _IconCode,
|
|
45
46
|
IconDots: () => _IconDots,
|
|
47
|
+
IconFolder: () => _IconFolder,
|
|
46
48
|
IconGrid: () => _IconGrid,
|
|
47
49
|
IconMention: () => _IconMention,
|
|
48
50
|
IconMinus: () => _IconMinus,
|
|
@@ -73,7 +75,7 @@ __export(elements_exports, {
|
|
|
73
75
|
});
|
|
74
76
|
module.exports = __toCommonJS(elements_exports);
|
|
75
77
|
|
|
76
|
-
// swc:/
|
|
78
|
+
// swc:/Users/aaroniker/Documents/GitHub/ease/web-kit/packages/core/src/elements/button/index.ts
|
|
77
79
|
var import_lit_html2 = require("lit-html");
|
|
78
80
|
|
|
79
81
|
// src/decorators/Component.ts
|
|
@@ -475,7 +477,7 @@ function Prop(options = {}) {
|
|
|
475
477
|
};
|
|
476
478
|
}
|
|
477
479
|
|
|
478
|
-
// swc:/
|
|
480
|
+
// swc:/Users/aaroniker/Documents/GitHub/ease/web-kit/packages/core/src/elements/button/index.ts
|
|
479
481
|
function applyDecs2203RFactory() {
|
|
480
482
|
function createAddInitializerMethod(initializers, decoratorFinishedRef) {
|
|
481
483
|
return function addInitializer(initializer) {
|
|
@@ -1158,10 +1160,10 @@ var Button = class extends (_HTMLElement = HTMLElement) {
|
|
|
1158
1160
|
}
|
|
1159
1161
|
};
|
|
1160
1162
|
|
|
1161
|
-
// swc:/
|
|
1163
|
+
// swc:/Users/aaroniker/Documents/GitHub/ease/web-kit/packages/core/src/elements/checkbox/index.ts
|
|
1162
1164
|
var import_lit_html3 = require("lit-html");
|
|
1163
1165
|
|
|
1164
|
-
// swc:/
|
|
1166
|
+
// swc:/Users/aaroniker/Documents/GitHub/ease/web-kit/packages/core/src/elements/shared.ts
|
|
1165
1167
|
var CONTROL_CHANGE_EVENT = "control-change";
|
|
1166
1168
|
var dispatchControlEvent = (host, type, detail) => {
|
|
1167
1169
|
host.dispatchEvent(new CustomEvent(type, {
|
|
@@ -1425,7 +1427,7 @@ function Query(selector, userOptions) {
|
|
|
1425
1427
|
return createQueryDecorator(selector, merged);
|
|
1426
1428
|
}
|
|
1427
1429
|
|
|
1428
|
-
// swc:/
|
|
1430
|
+
// swc:/Users/aaroniker/Documents/GitHub/ease/web-kit/packages/core/src/elements/checkbox/index.ts
|
|
1429
1431
|
function applyDecs2203RFactory2() {
|
|
1430
1432
|
function createAddInitializerMethod(initializers, decoratorFinishedRef) {
|
|
1431
1433
|
return function addInitializer(initializer) {
|
|
@@ -2198,10 +2200,10 @@ var Checkbox = class extends (_HTMLElement2 = HTMLElement) {
|
|
|
2198
2200
|
}
|
|
2199
2201
|
};
|
|
2200
2202
|
|
|
2201
|
-
// swc:/
|
|
2203
|
+
// swc:/Users/aaroniker/Documents/GitHub/ease/web-kit/packages/core/src/elements/color/index.ts
|
|
2202
2204
|
var import_lit_html12 = require("lit-html");
|
|
2203
2205
|
|
|
2204
|
-
// swc:/
|
|
2206
|
+
// swc:/Users/aaroniker/Documents/GitHub/ease/web-kit/packages/core/src/elements/popover/index.ts
|
|
2205
2207
|
var import_lit_html4 = require("lit-html");
|
|
2206
2208
|
function applyDecs2203RFactory3() {
|
|
2207
2209
|
function createAddInitializerMethod(initializers, decoratorFinishedRef) {
|
|
@@ -2581,11 +2583,13 @@ var _HTMLElement3;
|
|
|
2581
2583
|
var _dec13;
|
|
2582
2584
|
var _dec23;
|
|
2583
2585
|
var _dec33;
|
|
2586
|
+
var _dec43;
|
|
2587
|
+
var _init_contentElement;
|
|
2584
2588
|
var _init_placement;
|
|
2585
2589
|
var _init_offset;
|
|
2586
2590
|
var _init_open;
|
|
2587
2591
|
var _initProto3;
|
|
2588
|
-
var nextAnchorName = () => `--ease-popover-anchor-${crypto.randomUUID()}`;
|
|
2592
|
+
var nextAnchorName = () => `--ease-popover-anchor-${crypto.randomUUID().slice(0, 8)}`;
|
|
2589
2593
|
var _Popover;
|
|
2590
2594
|
_dec8 = Component({
|
|
2591
2595
|
tag: "ease-popover",
|
|
@@ -2595,7 +2599,6 @@ _dec8 = Component({
|
|
|
2595
2599
|
:host {
|
|
2596
2600
|
display: contents;
|
|
2597
2601
|
--ease-popover-offset: 8px;
|
|
2598
|
-
--ease-popover-anchor-name: --ease-popover-anchor;
|
|
2599
2602
|
--ease-popover-transform-origin: center center;
|
|
2600
2603
|
--ease-popover-duration: 200ms;
|
|
2601
2604
|
--ease-popover-content-min-width: auto;
|
|
@@ -2608,140 +2611,110 @@ _dec8 = Component({
|
|
|
2608
2611
|
}
|
|
2609
2612
|
|
|
2610
2613
|
[part="content"] {
|
|
2611
|
-
position-anchor: var(--ease-popover-anchor-name);
|
|
2612
2614
|
position: fixed;
|
|
2615
|
+
position-anchor: var(--ease-popover-anchor-name);
|
|
2613
2616
|
margin: 0;
|
|
2614
|
-
|
|
2617
|
+
padding: 0;
|
|
2618
|
+
border: none;
|
|
2619
|
+
background: transparent;
|
|
2620
|
+
overflow: visible;
|
|
2615
2621
|
width: var(--ease-popover-content-width);
|
|
2616
2622
|
min-width: var(--ease-popover-content-min-width);
|
|
2617
2623
|
max-width: var(--ease-popover-content-max-width);
|
|
2618
2624
|
box-sizing: border-box;
|
|
2619
|
-
overscroll-behavior: contain;
|
|
2620
|
-
z-index: 100;
|
|
2621
|
-
display: none;
|
|
2622
2625
|
}
|
|
2623
2626
|
|
|
2624
|
-
|
|
2627
|
+
[part="content"]:popover-open {
|
|
2625
2628
|
display: block;
|
|
2626
2629
|
}
|
|
2627
2630
|
|
|
2628
2631
|
:host([placement="top-start"]) [part="content"] {
|
|
2629
|
-
position-area: top right;
|
|
2630
|
-
|
|
2631
|
-
left: anchor(left);
|
|
2632
|
-
translate: 0 calc(var(--ease-popover-offset) * -1);
|
|
2632
|
+
position-area: top span-right;
|
|
2633
|
+
margin-bottom: var(--ease-popover-offset);
|
|
2633
2634
|
}
|
|
2634
|
-
|
|
2635
2635
|
:host([placement="top-center"]) [part="content"] {
|
|
2636
2636
|
position-area: top center;
|
|
2637
|
-
|
|
2638
|
-
left: anchor(center);
|
|
2639
|
-
translate: 0 calc(var(--ease-popover-offset) * -1);
|
|
2637
|
+
margin-bottom: var(--ease-popover-offset);
|
|
2640
2638
|
}
|
|
2641
|
-
|
|
2642
2639
|
:host([placement="top-end"]) [part="content"] {
|
|
2643
|
-
position-area: top
|
|
2644
|
-
|
|
2645
|
-
right: anchor(right);
|
|
2646
|
-
translate: 0 calc(var(--ease-popover-offset) * -1);
|
|
2640
|
+
position-area: top span-left;
|
|
2641
|
+
margin-bottom: var(--ease-popover-offset);
|
|
2647
2642
|
}
|
|
2648
|
-
|
|
2649
2643
|
:host([placement="bottom-start"]) [part="content"] {
|
|
2650
|
-
position-area: bottom right;
|
|
2651
|
-
top:
|
|
2652
|
-
left: anchor(left);
|
|
2653
|
-
translate: 0 var(--ease-popover-offset);
|
|
2644
|
+
position-area: bottom span-right;
|
|
2645
|
+
margin-top: var(--ease-popover-offset);
|
|
2654
2646
|
}
|
|
2655
|
-
|
|
2656
2647
|
:host([placement="bottom-center"]) [part="content"] {
|
|
2657
2648
|
position-area: bottom center;
|
|
2658
|
-
top:
|
|
2659
|
-
left: anchor(left);
|
|
2660
|
-
translate: 0 var(--ease-popover-offset);
|
|
2649
|
+
margin-top: var(--ease-popover-offset);
|
|
2661
2650
|
}
|
|
2662
|
-
|
|
2663
2651
|
:host([placement="bottom-end"]) [part="content"] {
|
|
2664
|
-
position-area: bottom left;
|
|
2665
|
-
top:
|
|
2666
|
-
right: anchor(right);
|
|
2667
|
-
translate: 0 var(--ease-popover-offset);
|
|
2652
|
+
position-area: bottom span-left;
|
|
2653
|
+
margin-top: var(--ease-popover-offset);
|
|
2668
2654
|
}
|
|
2669
|
-
|
|
2670
2655
|
:host([placement="left-start"]) [part="content"] {
|
|
2671
|
-
position-area: left bottom;
|
|
2672
|
-
|
|
2673
|
-
left: anchor(left);
|
|
2674
|
-
translate: calc(var(--ease-popover-offset) * -1) 0;
|
|
2656
|
+
position-area: left span-bottom;
|
|
2657
|
+
margin-right: var(--ease-popover-offset);
|
|
2675
2658
|
}
|
|
2676
|
-
|
|
2677
2659
|
:host([placement="left-center"]) [part="content"] {
|
|
2678
2660
|
position-area: left center;
|
|
2679
|
-
|
|
2680
|
-
left: anchor(left);
|
|
2681
|
-
translate: calc(var(--ease-popover-offset) * -1) 0;
|
|
2661
|
+
margin-right: var(--ease-popover-offset);
|
|
2682
2662
|
}
|
|
2683
|
-
|
|
2684
2663
|
:host([placement="left-end"]) [part="content"] {
|
|
2685
|
-
position-area: left top;
|
|
2686
|
-
|
|
2687
|
-
left: anchor(left);
|
|
2688
|
-
translate: calc(var(--ease-popover-offset) * -1) 0;
|
|
2664
|
+
position-area: left span-top;
|
|
2665
|
+
margin-right: var(--ease-popover-offset);
|
|
2689
2666
|
}
|
|
2690
|
-
|
|
2691
2667
|
:host([placement="right-start"]) [part="content"] {
|
|
2692
|
-
position-area: right
|
|
2693
|
-
|
|
2694
|
-
left: anchor(right);
|
|
2695
|
-
translate: var(--ease-popover-offset) 0;
|
|
2668
|
+
position-area: right span-bottom;
|
|
2669
|
+
margin-left: var(--ease-popover-offset);
|
|
2696
2670
|
}
|
|
2697
|
-
|
|
2698
2671
|
:host([placement="right-center"]) [part="content"] {
|
|
2699
2672
|
position-area: right center;
|
|
2700
|
-
|
|
2701
|
-
left: anchor(right);
|
|
2702
|
-
translate: var(--ease-popover-offset) 0;
|
|
2673
|
+
margin-left: var(--ease-popover-offset);
|
|
2703
2674
|
}
|
|
2704
|
-
|
|
2705
2675
|
:host([placement="right-end"]) [part="content"] {
|
|
2706
|
-
position-area: right
|
|
2707
|
-
|
|
2708
|
-
left: anchor(right);
|
|
2709
|
-
translate: var(--ease-popover-offset) 0;
|
|
2676
|
+
position-area: right span-top;
|
|
2677
|
+
margin-left: var(--ease-popover-offset);
|
|
2710
2678
|
}
|
|
2711
2679
|
`
|
|
2712
|
-
}), _dec13 = Prop({
|
|
2680
|
+
}), _dec13 = Query('[part="content"]'), _dec23 = Prop({
|
|
2713
2681
|
reflect: true,
|
|
2714
|
-
defaultValue: "bottom-start"
|
|
2715
|
-
|
|
2716
|
-
this.handlePlacementChange();
|
|
2717
|
-
}
|
|
2718
|
-
}), _dec23 = Prop({
|
|
2682
|
+
defaultValue: "bottom-start"
|
|
2683
|
+
}), _dec33 = Prop({
|
|
2719
2684
|
type: Number,
|
|
2720
2685
|
reflect: true,
|
|
2721
2686
|
defaultValue: 8,
|
|
2722
2687
|
onChange() {
|
|
2723
2688
|
this.handleOffsetChange();
|
|
2724
2689
|
}
|
|
2725
|
-
}),
|
|
2690
|
+
}), _dec43 = Prop({
|
|
2726
2691
|
type: Boolean,
|
|
2727
|
-
reflect: true
|
|
2692
|
+
reflect: true,
|
|
2693
|
+
onChange() {
|
|
2694
|
+
this.handleOpenChange();
|
|
2695
|
+
}
|
|
2728
2696
|
});
|
|
2729
2697
|
var Popover = class extends (_HTMLElement3 = HTMLElement) {
|
|
2730
2698
|
static {
|
|
2731
|
-
({ e: [_init_placement, _init_offset, _init_open, _initProto3], c: [_Popover, _initClass3] } = _apply_decs_2203_r3(this, [
|
|
2699
|
+
({ e: [_init_contentElement, _init_placement, _init_offset, _init_open, _initProto3], c: [_Popover, _initClass3] } = _apply_decs_2203_r3(this, [
|
|
2732
2700
|
[
|
|
2733
2701
|
_dec13,
|
|
2734
2702
|
1,
|
|
2735
|
-
"
|
|
2703
|
+
"contentElement"
|
|
2736
2704
|
],
|
|
2737
2705
|
[
|
|
2738
2706
|
_dec23,
|
|
2739
2707
|
1,
|
|
2740
|
-
"
|
|
2708
|
+
"placement"
|
|
2741
2709
|
],
|
|
2742
2710
|
[
|
|
2743
2711
|
_dec33,
|
|
2744
2712
|
1,
|
|
2713
|
+
"offset"
|
|
2714
|
+
],
|
|
2715
|
+
[
|
|
2716
|
+
_dec43,
|
|
2717
|
+
1,
|
|
2745
2718
|
"open"
|
|
2746
2719
|
]
|
|
2747
2720
|
], [
|
|
@@ -2749,89 +2722,79 @@ var Popover = class extends (_HTMLElement3 = HTMLElement) {
|
|
|
2749
2722
|
], _HTMLElement3));
|
|
2750
2723
|
}
|
|
2751
2724
|
#anchorName;
|
|
2752
|
-
#
|
|
2753
|
-
#initialized;
|
|
2725
|
+
#___private_contentElement_1;
|
|
2754
2726
|
get contentElement() {
|
|
2755
|
-
return this.#
|
|
2727
|
+
return this.#___private_contentElement_1;
|
|
2728
|
+
}
|
|
2729
|
+
set contentElement(_v) {
|
|
2730
|
+
this.#___private_contentElement_1 = _v;
|
|
2756
2731
|
}
|
|
2757
|
-
#
|
|
2732
|
+
#___private_placement_2;
|
|
2758
2733
|
get placement() {
|
|
2759
|
-
return this.#
|
|
2734
|
+
return this.#___private_placement_2;
|
|
2760
2735
|
}
|
|
2761
2736
|
set placement(_v) {
|
|
2762
|
-
this.#
|
|
2737
|
+
this.#___private_placement_2 = _v;
|
|
2763
2738
|
}
|
|
2764
|
-
#
|
|
2739
|
+
#___private_offset_3;
|
|
2765
2740
|
get offset() {
|
|
2766
|
-
return this.#
|
|
2741
|
+
return this.#___private_offset_3;
|
|
2767
2742
|
}
|
|
2768
2743
|
set offset(_v) {
|
|
2769
|
-
this.#
|
|
2744
|
+
this.#___private_offset_3 = _v;
|
|
2770
2745
|
}
|
|
2771
|
-
#
|
|
2746
|
+
#___private_open_4;
|
|
2772
2747
|
get open() {
|
|
2773
|
-
return this.#
|
|
2748
|
+
return this.#___private_open_4;
|
|
2774
2749
|
}
|
|
2775
2750
|
set open(_v) {
|
|
2776
|
-
this.#
|
|
2751
|
+
this.#___private_open_4 = _v;
|
|
2752
|
+
}
|
|
2753
|
+
handleOffsetChange() {
|
|
2754
|
+
const offset = Number.isFinite(this.offset) ? this.offset : 8;
|
|
2755
|
+
this.style.setProperty("--ease-popover-offset", `${offset}px`);
|
|
2756
|
+
}
|
|
2757
|
+
handleOpenChange() {
|
|
2758
|
+
const content = this.contentElement;
|
|
2759
|
+
if (!content) {
|
|
2760
|
+
return;
|
|
2761
|
+
}
|
|
2762
|
+
if (this.open) {
|
|
2763
|
+
content.showPopover();
|
|
2764
|
+
} else {
|
|
2765
|
+
content.hidePopover();
|
|
2766
|
+
}
|
|
2777
2767
|
}
|
|
2778
2768
|
connectedCallback() {
|
|
2779
|
-
this.#
|
|
2780
|
-
this
|
|
2769
|
+
this.style.setProperty("--ease-popover-anchor-name", this.#anchorName);
|
|
2770
|
+
this.handleOffsetChange();
|
|
2781
2771
|
}
|
|
2782
|
-
|
|
2783
|
-
|
|
2784
|
-
this
|
|
2772
|
+
afterRender() {
|
|
2773
|
+
const content = this.contentElement;
|
|
2774
|
+
if (content && this.open) {
|
|
2775
|
+
try {
|
|
2776
|
+
content.showPopover();
|
|
2777
|
+
} catch (_e) {
|
|
2778
|
+
}
|
|
2779
|
+
}
|
|
2785
2780
|
}
|
|
2786
2781
|
render() {
|
|
2787
2782
|
return import_lit_html4.html`
|
|
2788
|
-
<slot
|
|
2789
|
-
<div
|
|
2790
|
-
part="content"
|
|
2791
|
-
data-popover-content
|
|
2792
|
-
role="region"
|
|
2793
|
-
data-placement=${this.placement}
|
|
2794
|
-
>
|
|
2783
|
+
<slot name="trigger"></slot>
|
|
2784
|
+
<div part="content" popover="manual" role="region">
|
|
2795
2785
|
<slot></slot>
|
|
2796
2786
|
</div>
|
|
2797
2787
|
`;
|
|
2798
2788
|
}
|
|
2799
|
-
handlePlacementChange() {
|
|
2800
|
-
if (!this.#initialized) {
|
|
2801
|
-
this.requestRender();
|
|
2802
|
-
return;
|
|
2803
|
-
}
|
|
2804
|
-
this.#syncPlacement();
|
|
2805
|
-
}
|
|
2806
|
-
handleOffsetChange() {
|
|
2807
|
-
if (!this.#initialized) {
|
|
2808
|
-
this.requestRender();
|
|
2809
|
-
return;
|
|
2810
|
-
}
|
|
2811
|
-
this.#syncOffset();
|
|
2812
|
-
}
|
|
2813
|
-
#syncPlacement() {
|
|
2814
|
-
this.dataset.placement = this.placement;
|
|
2815
|
-
if (this.#contentElement) {
|
|
2816
|
-
this.#contentElement.dataset.placement = this.placement;
|
|
2817
|
-
}
|
|
2818
|
-
}
|
|
2819
|
-
#syncOffset() {
|
|
2820
|
-
const offset = Number.isFinite(this.offset) ? this.offset : 0;
|
|
2821
|
-
this.style.setProperty("--ease-popover-offset", `${offset}px`);
|
|
2822
|
-
}
|
|
2823
|
-
#syncAnchorName() {
|
|
2824
|
-
this.style.setProperty("--ease-popover-anchor-name", this.#anchorName);
|
|
2825
|
-
}
|
|
2826
2789
|
static {
|
|
2827
2790
|
_initClass3();
|
|
2828
2791
|
}
|
|
2829
2792
|
constructor(...args) {
|
|
2830
|
-
super(...args), this.#anchorName = (_initProto3(this), nextAnchorName()), this.#
|
|
2793
|
+
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);
|
|
2831
2794
|
}
|
|
2832
2795
|
};
|
|
2833
2796
|
|
|
2834
|
-
// swc:/
|
|
2797
|
+
// swc:/Users/aaroniker/Documents/GitHub/ease/web-kit/packages/core/src/elements/icons/animation/chevron.ts
|
|
2835
2798
|
var import_lit_html5 = require("lit-html");
|
|
2836
2799
|
function applyDecs2203RFactory4() {
|
|
2837
2800
|
function createAddInitializerMethod(initializers, decoratorFinishedRef) {
|
|
@@ -3295,10 +3258,10 @@ var IconChevron = class extends (_HTMLElement4 = HTMLElement) {
|
|
|
3295
3258
|
}
|
|
3296
3259
|
};
|
|
3297
3260
|
|
|
3298
|
-
// swc:/
|
|
3261
|
+
// swc:/Users/aaroniker/Documents/GitHub/ease/web-kit/packages/core/src/elements/dropdown/index.ts
|
|
3299
3262
|
var import_lit_html6 = require("lit-html");
|
|
3300
3263
|
|
|
3301
|
-
// swc:/
|
|
3264
|
+
// swc:/Users/aaroniker/Documents/GitHub/ease/web-kit/packages/core/src/utils/dismiss-controller.ts
|
|
3302
3265
|
var DismissController = class {
|
|
3303
3266
|
#onDismiss;
|
|
3304
3267
|
#context;
|
|
@@ -3510,7 +3473,7 @@ function OutsideClick(options = {}) {
|
|
|
3510
3473
|
};
|
|
3511
3474
|
}
|
|
3512
3475
|
|
|
3513
|
-
// swc:/
|
|
3476
|
+
// swc:/Users/aaroniker/Documents/GitHub/ease/web-kit/packages/core/src/elements/dropdown/index.ts
|
|
3514
3477
|
function applyDecs2203RFactory5() {
|
|
3515
3478
|
function createAddInitializerMethod(initializers, decoratorFinishedRef) {
|
|
3516
3479
|
return function addInitializer(initializer) {
|
|
@@ -3889,7 +3852,7 @@ var _HTMLElement5;
|
|
|
3889
3852
|
var _dec15;
|
|
3890
3853
|
var _dec24;
|
|
3891
3854
|
var _dec34;
|
|
3892
|
-
var
|
|
3855
|
+
var _dec44;
|
|
3893
3856
|
var _dec53;
|
|
3894
3857
|
var _dec63;
|
|
3895
3858
|
var _dec72;
|
|
@@ -4186,7 +4149,7 @@ _dec10 = Component({
|
|
|
4186
4149
|
}), _dec34 = Prop({
|
|
4187
4150
|
type: Boolean,
|
|
4188
4151
|
reflect: true
|
|
4189
|
-
}),
|
|
4152
|
+
}), _dec44 = Prop({
|
|
4190
4153
|
type: Boolean,
|
|
4191
4154
|
reflect: true
|
|
4192
4155
|
}), _dec53 = Prop({
|
|
@@ -4245,7 +4208,7 @@ var Dropdown = class extends (_HTMLElement5 = HTMLElement) {
|
|
|
4245
4208
|
"pill"
|
|
4246
4209
|
],
|
|
4247
4210
|
[
|
|
4248
|
-
|
|
4211
|
+
_dec44,
|
|
4249
4212
|
1,
|
|
4250
4213
|
"headless"
|
|
4251
4214
|
],
|
|
@@ -4982,7 +4945,7 @@ var Dropdown = class extends (_HTMLElement5 = HTMLElement) {
|
|
|
4982
4945
|
}
|
|
4983
4946
|
};
|
|
4984
4947
|
|
|
4985
|
-
// swc:/
|
|
4948
|
+
// swc:/Users/aaroniker/Documents/GitHub/ease/web-kit/packages/core/src/elements/input/index.ts
|
|
4986
4949
|
var import_lit_html7 = require("lit-html");
|
|
4987
4950
|
function applyDecs2203RFactory6() {
|
|
4988
4951
|
function createAddInitializerMethod(initializers, decoratorFinishedRef) {
|
|
@@ -5362,7 +5325,7 @@ var _HTMLElement6;
|
|
|
5362
5325
|
var _dec18;
|
|
5363
5326
|
var _dec25;
|
|
5364
5327
|
var _dec35;
|
|
5365
|
-
var
|
|
5328
|
+
var _dec45;
|
|
5366
5329
|
var _dec54;
|
|
5367
5330
|
var _dec64;
|
|
5368
5331
|
var _dec73;
|
|
@@ -5573,7 +5536,7 @@ _dec17 = Component({
|
|
|
5573
5536
|
}), _dec35 = Prop({
|
|
5574
5537
|
reflect: true,
|
|
5575
5538
|
defaultValue: "text"
|
|
5576
|
-
}),
|
|
5539
|
+
}), _dec45 = Prop({
|
|
5577
5540
|
reflect: true
|
|
5578
5541
|
}), _dec54 = Prop({
|
|
5579
5542
|
type: Boolean,
|
|
@@ -5611,7 +5574,7 @@ var Input = class extends (_HTMLElement6 = HTMLElement) {
|
|
|
5611
5574
|
"type"
|
|
5612
5575
|
],
|
|
5613
5576
|
[
|
|
5614
|
-
|
|
5577
|
+
_dec45,
|
|
5615
5578
|
1,
|
|
5616
5579
|
"name"
|
|
5617
5580
|
],
|
|
@@ -5776,10 +5739,10 @@ var Input = class extends (_HTMLElement6 = HTMLElement) {
|
|
|
5776
5739
|
}
|
|
5777
5740
|
};
|
|
5778
5741
|
|
|
5779
|
-
// swc:/
|
|
5742
|
+
// swc:/Users/aaroniker/Documents/GitHub/ease/web-kit/packages/core/src/elements/color/picker.ts
|
|
5780
5743
|
var import_lit_html11 = require("lit-html");
|
|
5781
5744
|
|
|
5782
|
-
// swc:/
|
|
5745
|
+
// swc:/Users/aaroniker/Documents/GitHub/ease/web-kit/packages/core/src/elements/color/utils.ts
|
|
5783
5746
|
var clamp01 = (value) => Math.max(0, Math.min(1, value));
|
|
5784
5747
|
function hsvToRgb(h, s, v) {
|
|
5785
5748
|
let hue = (h % 360 + 360) % 360;
|
|
@@ -6093,7 +6056,7 @@ function styleObject(input) {
|
|
|
6093
6056
|
return (0, import_style_map.styleMap)(definedEntries);
|
|
6094
6057
|
}
|
|
6095
6058
|
|
|
6096
|
-
// swc:/
|
|
6059
|
+
// swc:/Users/aaroniker/Documents/GitHub/ease/web-kit/packages/core/src/elements/icons/interface/arrows-vertical.ts
|
|
6097
6060
|
var import_lit_html9 = require("lit-html");
|
|
6098
6061
|
function applyDecs2203RFactory7() {
|
|
6099
6062
|
function createAddInitializerMethod(initializers, decoratorFinishedRef) {
|
|
@@ -6504,7 +6467,7 @@ var IconArrowsVertical = class extends (_HTMLElement7 = HTMLElement) {
|
|
|
6504
6467
|
}
|
|
6505
6468
|
};
|
|
6506
6469
|
|
|
6507
|
-
// swc:/
|
|
6470
|
+
// swc:/Users/aaroniker/Documents/GitHub/ease/web-kit/packages/core/src/elements/icons/interface/picker.ts
|
|
6508
6471
|
var import_lit_html10 = require("lit-html");
|
|
6509
6472
|
function applyDecs2203RFactory8() {
|
|
6510
6473
|
function createAddInitializerMethod(initializers, decoratorFinishedRef) {
|
|
@@ -6919,7 +6882,7 @@ var IconPicker = class extends (_HTMLElement8 = HTMLElement) {
|
|
|
6919
6882
|
}
|
|
6920
6883
|
};
|
|
6921
6884
|
|
|
6922
|
-
// swc:/
|
|
6885
|
+
// swc:/Users/aaroniker/Documents/GitHub/ease/web-kit/packages/core/src/elements/color/picker.ts
|
|
6923
6886
|
function applyDecs2203RFactory9() {
|
|
6924
6887
|
function createAddInitializerMethod(initializers, decoratorFinishedRef) {
|
|
6925
6888
|
return function addInitializer(initializer) {
|
|
@@ -7298,7 +7261,7 @@ var _HTMLElement9;
|
|
|
7298
7261
|
var _dec110;
|
|
7299
7262
|
var _dec26;
|
|
7300
7263
|
var _dec36;
|
|
7301
|
-
var
|
|
7264
|
+
var _dec46;
|
|
7302
7265
|
var _init_saturationArea;
|
|
7303
7266
|
var _init_hueArea;
|
|
7304
7267
|
var _init_hexInput;
|
|
@@ -7621,7 +7584,7 @@ _dec21 = Component({
|
|
|
7621
7584
|
</div>
|
|
7622
7585
|
`;
|
|
7623
7586
|
}
|
|
7624
|
-
}), _dec110 = Query('[part="saturation"]'), _dec26 = Query('[part="hue"]'), _dec36 = Query('[part="hex-input"]'),
|
|
7587
|
+
}), _dec110 = Query('[part="saturation"]'), _dec26 = Query('[part="hue"]'), _dec36 = Query('[part="hex-input"]'), _dec46 = Prop({
|
|
7625
7588
|
reflect: true,
|
|
7626
7589
|
defaultValue: "#FF0000",
|
|
7627
7590
|
onChange(value) {
|
|
@@ -7649,7 +7612,7 @@ var ColorPicker = class extends (_HTMLElement9 = HTMLElement) {
|
|
|
7649
7612
|
"hexInput"
|
|
7650
7613
|
],
|
|
7651
7614
|
[
|
|
7652
|
-
|
|
7615
|
+
_dec46,
|
|
7653
7616
|
1,
|
|
7654
7617
|
"value"
|
|
7655
7618
|
]
|
|
@@ -7886,7 +7849,7 @@ var ColorPicker = class extends (_HTMLElement9 = HTMLElement) {
|
|
|
7886
7849
|
}
|
|
7887
7850
|
};
|
|
7888
7851
|
|
|
7889
|
-
// swc:/
|
|
7852
|
+
// swc:/Users/aaroniker/Documents/GitHub/ease/web-kit/packages/core/src/elements/color/index.ts
|
|
7890
7853
|
function applyDecs2203RFactory10() {
|
|
7891
7854
|
function createAddInitializerMethod(initializers, decoratorFinishedRef) {
|
|
7892
7855
|
return function addInitializer(initializer) {
|
|
@@ -8265,7 +8228,7 @@ var _HTMLElement10;
|
|
|
8265
8228
|
var _dec111;
|
|
8266
8229
|
var _dec28;
|
|
8267
8230
|
var _dec37;
|
|
8268
|
-
var
|
|
8231
|
+
var _dec47;
|
|
8269
8232
|
var _init_dropdown;
|
|
8270
8233
|
var _init_value5;
|
|
8271
8234
|
var _init_disabled5;
|
|
@@ -8342,7 +8305,7 @@ _dec27 = Component({
|
|
|
8342
8305
|
}), _dec37 = Prop({
|
|
8343
8306
|
type: Boolean,
|
|
8344
8307
|
reflect: true
|
|
8345
|
-
}),
|
|
8308
|
+
}), _dec47 = Prop({
|
|
8346
8309
|
reflect: true,
|
|
8347
8310
|
defaultValue: "bottom-start"
|
|
8348
8311
|
});
|
|
@@ -8365,7 +8328,7 @@ var ColorInput = class extends (_HTMLElement10 = HTMLElement) {
|
|
|
8365
8328
|
"disabled"
|
|
8366
8329
|
],
|
|
8367
8330
|
[
|
|
8368
|
-
|
|
8331
|
+
_dec47,
|
|
8369
8332
|
1,
|
|
8370
8333
|
"placement"
|
|
8371
8334
|
]
|
|
@@ -8482,7 +8445,7 @@ var ColorInput = class extends (_HTMLElement10 = HTMLElement) {
|
|
|
8482
8445
|
}
|
|
8483
8446
|
};
|
|
8484
8447
|
|
|
8485
|
-
// swc:/
|
|
8448
|
+
// swc:/Users/aaroniker/Documents/GitHub/ease/web-kit/packages/core/src/elements/field/index.ts
|
|
8486
8449
|
var import_lit_html13 = require("lit-html");
|
|
8487
8450
|
function applyDecs2203RFactory11() {
|
|
8488
8451
|
function createAddInitializerMethod(initializers, decoratorFinishedRef) {
|
|
@@ -8876,6 +8839,7 @@ _dec29 = Component({
|
|
|
8876
8839
|
}
|
|
8877
8840
|
|
|
8878
8841
|
[part="field"] {
|
|
8842
|
+
scroll-snap-align: start;
|
|
8879
8843
|
display: grid;
|
|
8880
8844
|
grid-template-columns: var(--ease-field-label-width, 36%) auto;
|
|
8881
8845
|
column-gap: var(--ease-field-column-gap, 12px);
|
|
@@ -8978,7 +8942,7 @@ var Field = class extends (_HTMLElement11 = HTMLElement) {
|
|
|
8978
8942
|
}
|
|
8979
8943
|
};
|
|
8980
8944
|
|
|
8981
|
-
// swc:/
|
|
8945
|
+
// swc:/Users/aaroniker/Documents/GitHub/ease/web-kit/packages/core/src/elements/folder/index.ts
|
|
8982
8946
|
var import_lit_html14 = require("lit-html");
|
|
8983
8947
|
function applyDecs2203RFactory12() {
|
|
8984
8948
|
function createAddInitializerMethod(initializers, decoratorFinishedRef) {
|
|
@@ -9355,85 +9319,240 @@ function _apply_decs_2203_r12(targetClass, memberDecs, classDecs, parentClass) {
|
|
|
9355
9319
|
var _dec30;
|
|
9356
9320
|
var _initClass12;
|
|
9357
9321
|
var _HTMLElement12;
|
|
9358
|
-
var
|
|
9322
|
+
var _dec114;
|
|
9323
|
+
var _dec211;
|
|
9324
|
+
var _dec38;
|
|
9325
|
+
var _init_open3;
|
|
9326
|
+
var _init_headline;
|
|
9327
|
+
var _init_maxHeight2;
|
|
9328
|
+
var _initProto10;
|
|
9329
|
+
var _Folder;
|
|
9359
9330
|
_dec30 = Component({
|
|
9360
|
-
tag: "ease-
|
|
9331
|
+
tag: "ease-folder",
|
|
9332
|
+
shadowMode: "open",
|
|
9361
9333
|
styles: `
|
|
9334
|
+
@property --top-fade {
|
|
9335
|
+
syntax: "<length>";
|
|
9336
|
+
inherits: false;
|
|
9337
|
+
initial-value: 0px;
|
|
9338
|
+
}
|
|
9339
|
+
|
|
9340
|
+
@property --bottom-fade {
|
|
9341
|
+
syntax: "<length>";
|
|
9342
|
+
inherits: false;
|
|
9343
|
+
initial-value: 0px;
|
|
9344
|
+
}
|
|
9345
|
+
|
|
9346
|
+
@keyframes scroll-fade {
|
|
9347
|
+
0% {
|
|
9348
|
+
--top-fade: 0px;
|
|
9349
|
+
}
|
|
9350
|
+
10%, 100% {
|
|
9351
|
+
--top-fade: 8px;
|
|
9352
|
+
}
|
|
9353
|
+
0%, 90% {
|
|
9354
|
+
--bottom-fade: 8px;
|
|
9355
|
+
}
|
|
9356
|
+
100% {
|
|
9357
|
+
--bottom-fade: 0px;
|
|
9358
|
+
}
|
|
9359
|
+
}
|
|
9360
|
+
|
|
9361
|
+
|
|
9362
9362
|
:host {
|
|
9363
9363
|
display: block;
|
|
9364
|
-
width:
|
|
9365
|
-
height: var(--ease-icon-size, 16px);
|
|
9366
|
-
fill: none;
|
|
9367
|
-
stroke: currentColor;
|
|
9368
|
-
stroke-width: .75;
|
|
9369
|
-
stroke-linecap: round;
|
|
9370
|
-
stroke-linejoin: round;
|
|
9364
|
+
width: 100%;
|
|
9371
9365
|
}
|
|
9372
9366
|
|
|
9373
|
-
[part="
|
|
9374
|
-
|
|
9367
|
+
[part="section"] {
|
|
9368
|
+
display: block;
|
|
9369
|
+
width: 100%;
|
|
9370
|
+
border-radius: var(--ease-folder-radius);
|
|
9371
|
+
border: 1px solid var(--ease-folder-border-color);
|
|
9372
|
+
background-color: var(--ease-folder-background);
|
|
9373
|
+
background-clip: padding-box;
|
|
9374
|
+
box-sizing: border-box;
|
|
9375
|
+
overflow: hidden;
|
|
9376
|
+
}
|
|
9375
9377
|
|
|
9376
|
-
|
|
9377
|
-
|
|
9378
|
-
|
|
9379
|
-
|
|
9380
|
-
|
|
9378
|
+
[part="header"] {
|
|
9379
|
+
display: flex;
|
|
9380
|
+
align-items: center;
|
|
9381
|
+
gap: 8px;
|
|
9382
|
+
width: 100%;
|
|
9383
|
+
padding: var(--ease-folder-padding);
|
|
9384
|
+
box-sizing: border-box;
|
|
9385
|
+
cursor: pointer;
|
|
9386
|
+
user-select: none;
|
|
9387
|
+
}
|
|
9381
9388
|
|
|
9382
|
-
|
|
9383
|
-
|
|
9384
|
-
|
|
9385
|
-
|
|
9386
|
-
|
|
9387
|
-
|
|
9388
|
-
|
|
9389
|
+
[part="icon"] {
|
|
9390
|
+
flex: 0 0 auto;
|
|
9391
|
+
display: flex;
|
|
9392
|
+
align-items: center;
|
|
9393
|
+
justify-content: center;
|
|
9394
|
+
color: var(--ease-folder-icon-color);
|
|
9395
|
+
}
|
|
9389
9396
|
|
|
9390
|
-
|
|
9391
|
-
|
|
9392
|
-
|
|
9393
|
-
|
|
9394
|
-
|
|
9397
|
+
[part="headline"] {
|
|
9398
|
+
flex: 1 1 auto;
|
|
9399
|
+
font-size: var(--ease-folder-title-font-size);
|
|
9400
|
+
font-weight: var(--ease-folder-title-font-weight);
|
|
9401
|
+
line-height: 16px;
|
|
9402
|
+
font-family: var(--ease-font-family);
|
|
9403
|
+
color: var(--ease-folder-title-color);
|
|
9404
|
+
margin: 0;
|
|
9405
|
+
overflow: hidden;
|
|
9406
|
+
text-overflow: ellipsis;
|
|
9407
|
+
white-space: nowrap;
|
|
9408
|
+
}
|
|
9395
9409
|
|
|
9396
|
-
|
|
9397
|
-
|
|
9398
|
-
|
|
9399
|
-
|
|
9400
|
-
|
|
9410
|
+
[part="chevron"] {
|
|
9411
|
+
flex: 0 0 auto;
|
|
9412
|
+
display: flex;
|
|
9413
|
+
align-items: center;
|
|
9414
|
+
justify-content: center;
|
|
9415
|
+
color: var(--ease-folder-chevron-color);
|
|
9416
|
+
transition: color 200ms cubic-bezier(.25, 0, .5, 1);
|
|
9417
|
+
}
|
|
9401
9418
|
|
|
9402
|
-
|
|
9403
|
-
|
|
9404
|
-
|
|
9405
|
-
|
|
9406
|
-
|
|
9407
|
-
|
|
9419
|
+
[part="header"]:hover [part="chevron"] {
|
|
9420
|
+
color: var(--ease-folder-chevron-color-hover);
|
|
9421
|
+
}
|
|
9422
|
+
|
|
9423
|
+
[part="content"] {
|
|
9424
|
+
height: 0;
|
|
9425
|
+
overflow: hidden;
|
|
9426
|
+
transition: height 200ms cubic-bezier(.25, 0, .5, 1);
|
|
9427
|
+
}
|
|
9428
|
+
|
|
9429
|
+
:host([open]) [part="content"] {
|
|
9430
|
+
height: auto;
|
|
9431
|
+
}
|
|
9432
|
+
|
|
9433
|
+
[part="body"] {
|
|
9434
|
+
display: grid;
|
|
9435
|
+
grid-gap: var(--ease-folder-gap);
|
|
9436
|
+
padding: var(--ease-folder-padding);
|
|
9437
|
+
overflow-y: auto;
|
|
9438
|
+
overscroll-behavior: contain;
|
|
9439
|
+
mask-image: linear-gradient(to bottom, #0000, #ffff var(--top-fade) calc(100% - var(--bottom-fade)), #0000);
|
|
9440
|
+
animation-name: scroll-fade;
|
|
9441
|
+
animation-timeline: scroll(self y);
|
|
9442
|
+
scroll-snap-type: y mandatory;
|
|
9443
|
+
scrollbar-width: none;
|
|
9444
|
+
|
|
9445
|
+
&::-webkit-scrollbar {
|
|
9446
|
+
display: none;
|
|
9408
9447
|
}
|
|
9409
9448
|
}
|
|
9410
|
-
|
|
9411
|
-
|
|
9412
|
-
|
|
9413
|
-
|
|
9414
|
-
|
|
9415
|
-
|
|
9416
|
-
|
|
9417
|
-
|
|
9418
|
-
|
|
9419
|
-
|
|
9420
|
-
|
|
9421
|
-
|
|
9422
|
-
|
|
9423
|
-
|
|
9449
|
+
|
|
9450
|
+
`
|
|
9451
|
+
}), _dec114 = Prop({
|
|
9452
|
+
type: Boolean,
|
|
9453
|
+
reflect: true,
|
|
9454
|
+
attribute: "open",
|
|
9455
|
+
defaultValue: false
|
|
9456
|
+
}), _dec211 = Prop({
|
|
9457
|
+
reflect: true,
|
|
9458
|
+
attribute: "headline",
|
|
9459
|
+
defaultValue: ""
|
|
9460
|
+
}), _dec38 = Prop({
|
|
9461
|
+
reflect: true,
|
|
9462
|
+
attribute: "max-height",
|
|
9463
|
+
defaultValue: null
|
|
9424
9464
|
});
|
|
9425
|
-
var
|
|
9465
|
+
var Folder = class extends (_HTMLElement12 = HTMLElement) {
|
|
9426
9466
|
static {
|
|
9427
|
-
({ c: [
|
|
9467
|
+
({ e: [_init_open3, _init_headline, _init_maxHeight2, _initProto10], c: [_Folder, _initClass12] } = _apply_decs_2203_r12(this, [
|
|
9468
|
+
[
|
|
9469
|
+
_dec114,
|
|
9470
|
+
1,
|
|
9471
|
+
"open"
|
|
9472
|
+
],
|
|
9473
|
+
[
|
|
9474
|
+
_dec211,
|
|
9475
|
+
1,
|
|
9476
|
+
"headline"
|
|
9477
|
+
],
|
|
9478
|
+
[
|
|
9479
|
+
_dec38,
|
|
9480
|
+
1,
|
|
9481
|
+
"maxHeight"
|
|
9482
|
+
]
|
|
9483
|
+
], [
|
|
9428
9484
|
_dec30
|
|
9429
9485
|
], _HTMLElement12));
|
|
9430
9486
|
}
|
|
9431
|
-
|
|
9432
|
-
|
|
9487
|
+
#___private_open_1;
|
|
9488
|
+
get open() {
|
|
9489
|
+
return this.#___private_open_1;
|
|
9433
9490
|
}
|
|
9434
|
-
|
|
9435
|
-
|
|
9436
|
-
|
|
9491
|
+
set open(_v) {
|
|
9492
|
+
this.#___private_open_1 = _v;
|
|
9493
|
+
}
|
|
9494
|
+
#___private_headline_2;
|
|
9495
|
+
get headline() {
|
|
9496
|
+
return this.#___private_headline_2;
|
|
9497
|
+
}
|
|
9498
|
+
set headline(_v) {
|
|
9499
|
+
this.#___private_headline_2 = _v;
|
|
9500
|
+
}
|
|
9501
|
+
#___private_maxHeight_3;
|
|
9502
|
+
get maxHeight() {
|
|
9503
|
+
return this.#___private_maxHeight_3;
|
|
9504
|
+
}
|
|
9505
|
+
set maxHeight(_v) {
|
|
9506
|
+
this.#___private_maxHeight_3 = _v;
|
|
9507
|
+
}
|
|
9508
|
+
render() {
|
|
9509
|
+
return import_lit_html14.html`
|
|
9510
|
+
<section part="section">
|
|
9511
|
+
<div part="header" @click=${this.#handleHeaderClick}>
|
|
9512
|
+
<span part="icon">
|
|
9513
|
+
<ease-icon-folder state=${this.open ? "open" : "close"}></ease-icon-folder>
|
|
9514
|
+
</span>
|
|
9515
|
+
<span part="headline">
|
|
9516
|
+
${this.headline}
|
|
9517
|
+
</span>
|
|
9518
|
+
<span part="chevron">
|
|
9519
|
+
<ease-icon-chevron state=${this.open ? "up" : "down"}></ease-icon-chevron>
|
|
9520
|
+
</span>
|
|
9521
|
+
</div>
|
|
9522
|
+
<div part="content" style=${this.maxHeight ? `max-height: ${this.maxHeight}` : ""}>
|
|
9523
|
+
<div part="body">
|
|
9524
|
+
<slot></slot>
|
|
9525
|
+
</div>
|
|
9526
|
+
</div>
|
|
9527
|
+
</section>
|
|
9528
|
+
`;
|
|
9529
|
+
}
|
|
9530
|
+
toggle() {
|
|
9531
|
+
this.open = !this.open;
|
|
9532
|
+
}
|
|
9533
|
+
#handleHeaderClick;
|
|
9534
|
+
#stopPropagation;
|
|
9535
|
+
static {
|
|
9536
|
+
_initClass12();
|
|
9537
|
+
}
|
|
9538
|
+
constructor(...args) {
|
|
9539
|
+
super(...args), this.#___private_open_1 = (_initProto10(this), _init_open3(this, false)), this.#___private_headline_2 = _init_headline(this, null), this.#___private_maxHeight_3 = _init_maxHeight2(this, null), this.#handleHeaderClick = (event) => {
|
|
9540
|
+
this.toggle();
|
|
9541
|
+
this.dispatchEvent(new CustomEvent("folder-toggle", {
|
|
9542
|
+
detail: {
|
|
9543
|
+
open: this.open,
|
|
9544
|
+
event
|
|
9545
|
+
},
|
|
9546
|
+
bubbles: true,
|
|
9547
|
+
composed: true
|
|
9548
|
+
}));
|
|
9549
|
+
}, this.#stopPropagation = (event) => {
|
|
9550
|
+
event.stopPropagation();
|
|
9551
|
+
};
|
|
9552
|
+
}
|
|
9553
|
+
};
|
|
9554
|
+
|
|
9555
|
+
// swc:/Users/aaroniker/Documents/GitHub/ease/web-kit/packages/core/src/elements/icons/animation/clear.ts
|
|
9437
9556
|
var import_lit_html15 = require("lit-html");
|
|
9438
9557
|
function applyDecs2203RFactory13() {
|
|
9439
9558
|
function createAddInitializerMethod(initializers, decoratorFinishedRef) {
|
|
@@ -9804,17 +9923,941 @@ function applyDecs2203RFactory13() {
|
|
|
9804
9923
|
};
|
|
9805
9924
|
};
|
|
9806
9925
|
}
|
|
9807
|
-
function _apply_decs_2203_r13(targetClass, memberDecs, classDecs, parentClass) {
|
|
9808
|
-
return (_apply_decs_2203_r13 = applyDecs2203RFactory13())(targetClass, memberDecs, classDecs, parentClass);
|
|
9926
|
+
function _apply_decs_2203_r13(targetClass, memberDecs, classDecs, parentClass) {
|
|
9927
|
+
return (_apply_decs_2203_r13 = applyDecs2203RFactory13())(targetClass, memberDecs, classDecs, parentClass);
|
|
9928
|
+
}
|
|
9929
|
+
var _dec31;
|
|
9930
|
+
var _initClass13;
|
|
9931
|
+
var _HTMLElement13;
|
|
9932
|
+
var _IconClear;
|
|
9933
|
+
_dec31 = Component({
|
|
9934
|
+
tag: "ease-icon-clear",
|
|
9935
|
+
styles: `
|
|
9936
|
+
:host {
|
|
9937
|
+
display: block;
|
|
9938
|
+
width: var(--ease-icon-size, 16px);
|
|
9939
|
+
height: var(--ease-icon-size, 16px);
|
|
9940
|
+
fill: none;
|
|
9941
|
+
stroke: currentColor;
|
|
9942
|
+
stroke-width: .75;
|
|
9943
|
+
stroke-linecap: round;
|
|
9944
|
+
stroke-linejoin: round;
|
|
9945
|
+
}
|
|
9946
|
+
|
|
9947
|
+
[part="clear"] {
|
|
9948
|
+
& > path {
|
|
9949
|
+
|
|
9950
|
+
&:first-child {
|
|
9951
|
+
translate: var(--ease-icon-clear-path-translate, 0);
|
|
9952
|
+
transition: translate var(--ease-icon-clear-path-duration, 0.2s);
|
|
9953
|
+
transition-delay: var(--ease-icon-clear-path-delay, 0s);
|
|
9954
|
+
}
|
|
9955
|
+
|
|
9956
|
+
&:not(:first-child) {
|
|
9957
|
+
stroke-dasharray: 100 0 100;
|
|
9958
|
+
stroke-dashoffset: var(--ease-icon-clear-lines-offset, 100);
|
|
9959
|
+
transition: stroke-dashoffset var(--ease-icon-clear-lines-duration, 0.2s);
|
|
9960
|
+
transition-delay: var(--ease-icon-clear-lines-delay, 0s);
|
|
9961
|
+
}
|
|
9962
|
+
}
|
|
9963
|
+
|
|
9964
|
+
g {
|
|
9965
|
+
path {
|
|
9966
|
+
transform-box: fill-box;
|
|
9967
|
+
transform-origin: 50% 50%;
|
|
9968
|
+
transition: rotate var(--ease-icon-clear-star-duration, 0.2s), scale var(--ease-icon-clear-star-duration, 0.2s);
|
|
9969
|
+
|
|
9970
|
+
&:first-child {
|
|
9971
|
+
rotate: var(--ease-icon-clear-star-1-rotate, 0deg);
|
|
9972
|
+
scale: var(--ease-icon-clear-star-1-scale, 1);
|
|
9973
|
+
transition-delay: var(--ease-icon-clear-star-1-delay, 0s);
|
|
9974
|
+
}
|
|
9975
|
+
|
|
9976
|
+
&:last-child {
|
|
9977
|
+
rotate: var(--ease-icon-clear-star-2-rotate, 0deg);
|
|
9978
|
+
scale: var(--ease-icon-clear-star-2-scale, 1);
|
|
9979
|
+
transition-delay: var(--ease-icon-clear-star-2-delay, 0s);
|
|
9980
|
+
}
|
|
9981
|
+
}
|
|
9982
|
+
}
|
|
9983
|
+
}
|
|
9984
|
+
`,
|
|
9985
|
+
template() {
|
|
9986
|
+
return import_lit_html15.html`
|
|
9987
|
+
<svg part="clear" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
9988
|
+
<path d="M11.7613 10.334L13.7071 12.2798C14.1011 12.6739 14.1011 13.3127 13.7071 13.7067C13.3131 14.1007 12.6742 14.1007 12.2802 13.7067L10.3344 11.7609M11.7613 10.334L10.9541 8.08932M11.7613 10.334L10.3344 11.7609M10.3344 11.7609L8.08973 10.9537M6.69581 12.3476L12.348 6.69544C12.6942 6.34922 12.6942 5.7879 12.348 5.44168L11.892 4.98574C11.5458 4.63952 10.9845 4.63952 10.6383 4.98574L4.9861 10.6379C4.63989 10.9841 4.63989 11.5454 4.9861 11.8917L5.44204 12.3476C5.78826 12.6938 6.34959 12.6938 6.69581 12.3476Z" />
|
|
9989
|
+
<g>
|
|
9990
|
+
<path d="M3.3313 2.6645H4.66519M3.99824 1.99756V3.33145" />
|
|
9991
|
+
<path d="M4.66516 5.99946H5.99905M5.33211 5.33252V6.66641" />
|
|
9992
|
+
</g>
|
|
9993
|
+
<path d="M7.33301 1.99756L8.6669 3.33145" pathlength="100" />
|
|
9994
|
+
<path d="M3.6648 8.33386L1.99744 6.6665" pathlength="100" />
|
|
9995
|
+
</svg>
|
|
9996
|
+
`;
|
|
9997
|
+
}
|
|
9998
|
+
});
|
|
9999
|
+
var IconClear = class extends (_HTMLElement13 = HTMLElement) {
|
|
10000
|
+
static {
|
|
10001
|
+
({ c: [_IconClear, _initClass13] } = _apply_decs_2203_r13(this, [], [
|
|
10002
|
+
_dec31
|
|
10003
|
+
], _HTMLElement13));
|
|
10004
|
+
}
|
|
10005
|
+
static {
|
|
10006
|
+
_initClass13();
|
|
10007
|
+
}
|
|
10008
|
+
};
|
|
10009
|
+
|
|
10010
|
+
// swc:/Users/aaroniker/Documents/GitHub/ease/web-kit/packages/core/src/elements/icons/animation/folder.ts
|
|
10011
|
+
var import_lit_html16 = require("lit-html");
|
|
10012
|
+
function applyDecs2203RFactory14() {
|
|
10013
|
+
function createAddInitializerMethod(initializers, decoratorFinishedRef) {
|
|
10014
|
+
return function addInitializer(initializer) {
|
|
10015
|
+
assertNotFinished(decoratorFinishedRef, "addInitializer");
|
|
10016
|
+
assertCallable(initializer, "An initializer");
|
|
10017
|
+
initializers.push(initializer);
|
|
10018
|
+
};
|
|
10019
|
+
}
|
|
10020
|
+
function memberDec(dec, name, desc, initializers, kind, isStatic, isPrivate, metadata, value) {
|
|
10021
|
+
var kindStr;
|
|
10022
|
+
switch (kind) {
|
|
10023
|
+
case 1:
|
|
10024
|
+
kindStr = "accessor";
|
|
10025
|
+
break;
|
|
10026
|
+
case 2:
|
|
10027
|
+
kindStr = "method";
|
|
10028
|
+
break;
|
|
10029
|
+
case 3:
|
|
10030
|
+
kindStr = "getter";
|
|
10031
|
+
break;
|
|
10032
|
+
case 4:
|
|
10033
|
+
kindStr = "setter";
|
|
10034
|
+
break;
|
|
10035
|
+
default:
|
|
10036
|
+
kindStr = "field";
|
|
10037
|
+
}
|
|
10038
|
+
var ctx = {
|
|
10039
|
+
kind: kindStr,
|
|
10040
|
+
name: isPrivate ? "#" + name : name,
|
|
10041
|
+
static: isStatic,
|
|
10042
|
+
private: isPrivate,
|
|
10043
|
+
metadata
|
|
10044
|
+
};
|
|
10045
|
+
var decoratorFinishedRef = {
|
|
10046
|
+
v: false
|
|
10047
|
+
};
|
|
10048
|
+
ctx.addInitializer = createAddInitializerMethod(initializers, decoratorFinishedRef);
|
|
10049
|
+
var get, set;
|
|
10050
|
+
if (kind === 0) {
|
|
10051
|
+
if (isPrivate) {
|
|
10052
|
+
get = desc.get;
|
|
10053
|
+
set = desc.set;
|
|
10054
|
+
} else {
|
|
10055
|
+
get = function() {
|
|
10056
|
+
return this[name];
|
|
10057
|
+
};
|
|
10058
|
+
set = function(v) {
|
|
10059
|
+
this[name] = v;
|
|
10060
|
+
};
|
|
10061
|
+
}
|
|
10062
|
+
} else if (kind === 2) {
|
|
10063
|
+
get = function() {
|
|
10064
|
+
return desc.value;
|
|
10065
|
+
};
|
|
10066
|
+
} else {
|
|
10067
|
+
if (kind === 1 || kind === 3) {
|
|
10068
|
+
get = function() {
|
|
10069
|
+
return desc.get.call(this);
|
|
10070
|
+
};
|
|
10071
|
+
}
|
|
10072
|
+
if (kind === 1 || kind === 4) {
|
|
10073
|
+
set = function(v) {
|
|
10074
|
+
desc.set.call(this, v);
|
|
10075
|
+
};
|
|
10076
|
+
}
|
|
10077
|
+
}
|
|
10078
|
+
ctx.access = get && set ? {
|
|
10079
|
+
get,
|
|
10080
|
+
set
|
|
10081
|
+
} : get ? {
|
|
10082
|
+
get
|
|
10083
|
+
} : {
|
|
10084
|
+
set
|
|
10085
|
+
};
|
|
10086
|
+
try {
|
|
10087
|
+
return dec(value, ctx);
|
|
10088
|
+
} finally {
|
|
10089
|
+
decoratorFinishedRef.v = true;
|
|
10090
|
+
}
|
|
10091
|
+
}
|
|
10092
|
+
function assertNotFinished(decoratorFinishedRef, fnName) {
|
|
10093
|
+
if (decoratorFinishedRef.v) {
|
|
10094
|
+
throw new Error("attempted to call " + fnName + " after decoration was finished");
|
|
10095
|
+
}
|
|
10096
|
+
}
|
|
10097
|
+
function assertCallable(fn, hint) {
|
|
10098
|
+
if (typeof fn !== "function") {
|
|
10099
|
+
throw new TypeError(hint + " must be a function");
|
|
10100
|
+
}
|
|
10101
|
+
}
|
|
10102
|
+
function assertValidReturnValue(kind, value) {
|
|
10103
|
+
var type = typeof value;
|
|
10104
|
+
if (kind === 1) {
|
|
10105
|
+
if (type !== "object" || value === null) {
|
|
10106
|
+
throw new TypeError("accessor decorators must return an object with get, set, or init properties or void 0");
|
|
10107
|
+
}
|
|
10108
|
+
if (value.get !== void 0) {
|
|
10109
|
+
assertCallable(value.get, "accessor.get");
|
|
10110
|
+
}
|
|
10111
|
+
if (value.set !== void 0) {
|
|
10112
|
+
assertCallable(value.set, "accessor.set");
|
|
10113
|
+
}
|
|
10114
|
+
if (value.init !== void 0) {
|
|
10115
|
+
assertCallable(value.init, "accessor.init");
|
|
10116
|
+
}
|
|
10117
|
+
} else if (type !== "function") {
|
|
10118
|
+
var hint;
|
|
10119
|
+
if (kind === 0) {
|
|
10120
|
+
hint = "field";
|
|
10121
|
+
} else if (kind === 10) {
|
|
10122
|
+
hint = "class";
|
|
10123
|
+
} else {
|
|
10124
|
+
hint = "method";
|
|
10125
|
+
}
|
|
10126
|
+
throw new TypeError(hint + " decorators must return a function or void 0");
|
|
10127
|
+
}
|
|
10128
|
+
}
|
|
10129
|
+
function applyMemberDec(ret, base, decInfo, name, kind, isStatic, isPrivate, initializers, metadata) {
|
|
10130
|
+
var decs = decInfo[0];
|
|
10131
|
+
var desc, init, value;
|
|
10132
|
+
if (isPrivate) {
|
|
10133
|
+
if (kind === 0 || kind === 1) {
|
|
10134
|
+
desc = {
|
|
10135
|
+
get: decInfo[3],
|
|
10136
|
+
set: decInfo[4]
|
|
10137
|
+
};
|
|
10138
|
+
} else if (kind === 3) {
|
|
10139
|
+
desc = {
|
|
10140
|
+
get: decInfo[3]
|
|
10141
|
+
};
|
|
10142
|
+
} else if (kind === 4) {
|
|
10143
|
+
desc = {
|
|
10144
|
+
set: decInfo[3]
|
|
10145
|
+
};
|
|
10146
|
+
} else {
|
|
10147
|
+
desc = {
|
|
10148
|
+
value: decInfo[3]
|
|
10149
|
+
};
|
|
10150
|
+
}
|
|
10151
|
+
} else if (kind !== 0) {
|
|
10152
|
+
desc = Object.getOwnPropertyDescriptor(base, name);
|
|
10153
|
+
}
|
|
10154
|
+
if (kind === 1) {
|
|
10155
|
+
value = {
|
|
10156
|
+
get: desc.get,
|
|
10157
|
+
set: desc.set
|
|
10158
|
+
};
|
|
10159
|
+
} else if (kind === 2) {
|
|
10160
|
+
value = desc.value;
|
|
10161
|
+
} else if (kind === 3) {
|
|
10162
|
+
value = desc.get;
|
|
10163
|
+
} else if (kind === 4) {
|
|
10164
|
+
value = desc.set;
|
|
10165
|
+
}
|
|
10166
|
+
var newValue, get, set;
|
|
10167
|
+
if (typeof decs === "function") {
|
|
10168
|
+
newValue = memberDec(decs, name, desc, initializers, kind, isStatic, isPrivate, metadata, value);
|
|
10169
|
+
if (newValue !== void 0) {
|
|
10170
|
+
assertValidReturnValue(kind, newValue);
|
|
10171
|
+
if (kind === 0) {
|
|
10172
|
+
init = newValue;
|
|
10173
|
+
} else if (kind === 1) {
|
|
10174
|
+
init = newValue.init;
|
|
10175
|
+
get = newValue.get || value.get;
|
|
10176
|
+
set = newValue.set || value.set;
|
|
10177
|
+
value = {
|
|
10178
|
+
get,
|
|
10179
|
+
set
|
|
10180
|
+
};
|
|
10181
|
+
} else {
|
|
10182
|
+
value = newValue;
|
|
10183
|
+
}
|
|
10184
|
+
}
|
|
10185
|
+
} else {
|
|
10186
|
+
for (var i = decs.length - 1; i >= 0; i--) {
|
|
10187
|
+
var dec = decs[i];
|
|
10188
|
+
newValue = memberDec(dec, name, desc, initializers, kind, isStatic, isPrivate, metadata, value);
|
|
10189
|
+
if (newValue !== void 0) {
|
|
10190
|
+
assertValidReturnValue(kind, newValue);
|
|
10191
|
+
var newInit;
|
|
10192
|
+
if (kind === 0) {
|
|
10193
|
+
newInit = newValue;
|
|
10194
|
+
} else if (kind === 1) {
|
|
10195
|
+
newInit = newValue.init;
|
|
10196
|
+
get = newValue.get || value.get;
|
|
10197
|
+
set = newValue.set || value.set;
|
|
10198
|
+
value = {
|
|
10199
|
+
get,
|
|
10200
|
+
set
|
|
10201
|
+
};
|
|
10202
|
+
} else {
|
|
10203
|
+
value = newValue;
|
|
10204
|
+
}
|
|
10205
|
+
if (newInit !== void 0) {
|
|
10206
|
+
if (init === void 0) {
|
|
10207
|
+
init = newInit;
|
|
10208
|
+
} else if (typeof init === "function") {
|
|
10209
|
+
init = [
|
|
10210
|
+
init,
|
|
10211
|
+
newInit
|
|
10212
|
+
];
|
|
10213
|
+
} else {
|
|
10214
|
+
init.push(newInit);
|
|
10215
|
+
}
|
|
10216
|
+
}
|
|
10217
|
+
}
|
|
10218
|
+
}
|
|
10219
|
+
}
|
|
10220
|
+
if (kind === 0 || kind === 1) {
|
|
10221
|
+
if (init === void 0) {
|
|
10222
|
+
init = function(instance, init2) {
|
|
10223
|
+
return init2;
|
|
10224
|
+
};
|
|
10225
|
+
} else if (typeof init !== "function") {
|
|
10226
|
+
var ownInitializers = init;
|
|
10227
|
+
init = function(instance, init2) {
|
|
10228
|
+
var value2 = init2;
|
|
10229
|
+
for (var i2 = 0; i2 < ownInitializers.length; i2++) {
|
|
10230
|
+
value2 = ownInitializers[i2].call(instance, value2);
|
|
10231
|
+
}
|
|
10232
|
+
return value2;
|
|
10233
|
+
};
|
|
10234
|
+
} else {
|
|
10235
|
+
var originalInitializer = init;
|
|
10236
|
+
init = function(instance, init2) {
|
|
10237
|
+
return originalInitializer.call(instance, init2);
|
|
10238
|
+
};
|
|
10239
|
+
}
|
|
10240
|
+
ret.push(init);
|
|
10241
|
+
}
|
|
10242
|
+
if (kind !== 0) {
|
|
10243
|
+
if (kind === 1) {
|
|
10244
|
+
desc.get = value.get;
|
|
10245
|
+
desc.set = value.set;
|
|
10246
|
+
} else if (kind === 2) {
|
|
10247
|
+
desc.value = value;
|
|
10248
|
+
} else if (kind === 3) {
|
|
10249
|
+
desc.get = value;
|
|
10250
|
+
} else if (kind === 4) {
|
|
10251
|
+
desc.set = value;
|
|
10252
|
+
}
|
|
10253
|
+
if (isPrivate) {
|
|
10254
|
+
if (kind === 1) {
|
|
10255
|
+
ret.push(function(instance, args) {
|
|
10256
|
+
return value.get.call(instance, args);
|
|
10257
|
+
});
|
|
10258
|
+
ret.push(function(instance, args) {
|
|
10259
|
+
return value.set.call(instance, args);
|
|
10260
|
+
});
|
|
10261
|
+
} else if (kind === 2) {
|
|
10262
|
+
ret.push(value);
|
|
10263
|
+
} else {
|
|
10264
|
+
ret.push(function(instance, args) {
|
|
10265
|
+
return value.call(instance, args);
|
|
10266
|
+
});
|
|
10267
|
+
}
|
|
10268
|
+
} else {
|
|
10269
|
+
Object.defineProperty(base, name, desc);
|
|
10270
|
+
}
|
|
10271
|
+
}
|
|
10272
|
+
}
|
|
10273
|
+
function applyMemberDecs(Class, decInfos, metadata) {
|
|
10274
|
+
var ret = [];
|
|
10275
|
+
var protoInitializers;
|
|
10276
|
+
var staticInitializers;
|
|
10277
|
+
var existingProtoNonFields = /* @__PURE__ */ new Map();
|
|
10278
|
+
var existingStaticNonFields = /* @__PURE__ */ new Map();
|
|
10279
|
+
for (var i = 0; i < decInfos.length; i++) {
|
|
10280
|
+
var decInfo = decInfos[i];
|
|
10281
|
+
if (!Array.isArray(decInfo)) continue;
|
|
10282
|
+
var kind = decInfo[1];
|
|
10283
|
+
var name = decInfo[2];
|
|
10284
|
+
var isPrivate = decInfo.length > 3;
|
|
10285
|
+
var isStatic = kind >= 5;
|
|
10286
|
+
var base;
|
|
10287
|
+
var initializers;
|
|
10288
|
+
if (isStatic) {
|
|
10289
|
+
base = Class;
|
|
10290
|
+
kind = kind - 5;
|
|
10291
|
+
staticInitializers = staticInitializers || [];
|
|
10292
|
+
initializers = staticInitializers;
|
|
10293
|
+
} else {
|
|
10294
|
+
base = Class.prototype;
|
|
10295
|
+
protoInitializers = protoInitializers || [];
|
|
10296
|
+
initializers = protoInitializers;
|
|
10297
|
+
}
|
|
10298
|
+
if (kind !== 0 && !isPrivate) {
|
|
10299
|
+
var existingNonFields = isStatic ? existingStaticNonFields : existingProtoNonFields;
|
|
10300
|
+
var existingKind = existingNonFields.get(name) || 0;
|
|
10301
|
+
if (existingKind === true || existingKind === 3 && kind !== 4 || existingKind === 4 && kind !== 3) {
|
|
10302
|
+
throw new Error("Attempted to decorate a public method/accessor that has the same name as a previously decorated public method/accessor. This is not currently supported by the decorators plugin. Property name was: " + name);
|
|
10303
|
+
} else if (!existingKind && kind > 2) {
|
|
10304
|
+
existingNonFields.set(name, kind);
|
|
10305
|
+
} else {
|
|
10306
|
+
existingNonFields.set(name, true);
|
|
10307
|
+
}
|
|
10308
|
+
}
|
|
10309
|
+
applyMemberDec(ret, base, decInfo, name, kind, isStatic, isPrivate, initializers, metadata);
|
|
10310
|
+
}
|
|
10311
|
+
pushInitializers(ret, protoInitializers);
|
|
10312
|
+
pushInitializers(ret, staticInitializers);
|
|
10313
|
+
return ret;
|
|
10314
|
+
}
|
|
10315
|
+
function pushInitializers(ret, initializers) {
|
|
10316
|
+
if (initializers) {
|
|
10317
|
+
ret.push(function(instance) {
|
|
10318
|
+
for (var i = 0; i < initializers.length; i++) {
|
|
10319
|
+
initializers[i].call(instance);
|
|
10320
|
+
}
|
|
10321
|
+
return instance;
|
|
10322
|
+
});
|
|
10323
|
+
}
|
|
10324
|
+
}
|
|
10325
|
+
function applyClassDecs(targetClass, classDecs, metadata) {
|
|
10326
|
+
if (classDecs.length > 0) {
|
|
10327
|
+
var initializers = [];
|
|
10328
|
+
var newClass = targetClass;
|
|
10329
|
+
var name = targetClass.name;
|
|
10330
|
+
for (var i = classDecs.length - 1; i >= 0; i--) {
|
|
10331
|
+
var decoratorFinishedRef = {
|
|
10332
|
+
v: false
|
|
10333
|
+
};
|
|
10334
|
+
try {
|
|
10335
|
+
var nextNewClass = classDecs[i](newClass, {
|
|
10336
|
+
kind: "class",
|
|
10337
|
+
name,
|
|
10338
|
+
addInitializer: createAddInitializerMethod(initializers, decoratorFinishedRef),
|
|
10339
|
+
metadata
|
|
10340
|
+
});
|
|
10341
|
+
} finally {
|
|
10342
|
+
decoratorFinishedRef.v = true;
|
|
10343
|
+
}
|
|
10344
|
+
if (nextNewClass !== void 0) {
|
|
10345
|
+
assertValidReturnValue(10, nextNewClass);
|
|
10346
|
+
newClass = nextNewClass;
|
|
10347
|
+
}
|
|
10348
|
+
}
|
|
10349
|
+
return [
|
|
10350
|
+
defineMetadata(newClass, metadata),
|
|
10351
|
+
function() {
|
|
10352
|
+
for (var i2 = 0; i2 < initializers.length; i2++) {
|
|
10353
|
+
initializers[i2].call(newClass);
|
|
10354
|
+
}
|
|
10355
|
+
}
|
|
10356
|
+
];
|
|
10357
|
+
}
|
|
10358
|
+
}
|
|
10359
|
+
function defineMetadata(Class, metadata) {
|
|
10360
|
+
return Object.defineProperty(Class, Symbol.metadata || /* @__PURE__ */ Symbol.for("Symbol.metadata"), {
|
|
10361
|
+
configurable: true,
|
|
10362
|
+
enumerable: true,
|
|
10363
|
+
value: metadata
|
|
10364
|
+
});
|
|
10365
|
+
}
|
|
10366
|
+
return function applyDecs2203R(targetClass, memberDecs, classDecs, parentClass) {
|
|
10367
|
+
if (parentClass !== void 0) {
|
|
10368
|
+
var parentMetadata = parentClass[Symbol.metadata || /* @__PURE__ */ Symbol.for("Symbol.metadata")];
|
|
10369
|
+
}
|
|
10370
|
+
var metadata = Object.create(parentMetadata === void 0 ? null : parentMetadata);
|
|
10371
|
+
var e = applyMemberDecs(targetClass, memberDecs, metadata);
|
|
10372
|
+
if (!classDecs.length) defineMetadata(targetClass, metadata);
|
|
10373
|
+
return {
|
|
10374
|
+
e,
|
|
10375
|
+
get c() {
|
|
10376
|
+
return applyClassDecs(targetClass, classDecs, metadata);
|
|
10377
|
+
}
|
|
10378
|
+
};
|
|
10379
|
+
};
|
|
10380
|
+
}
|
|
10381
|
+
function _apply_decs_2203_r14(targetClass, memberDecs, classDecs, parentClass) {
|
|
10382
|
+
return (_apply_decs_2203_r14 = applyDecs2203RFactory14())(targetClass, memberDecs, classDecs, parentClass);
|
|
10383
|
+
}
|
|
10384
|
+
var _dec39;
|
|
10385
|
+
var _initClass14;
|
|
10386
|
+
var _HTMLElement14;
|
|
10387
|
+
var _dec115;
|
|
10388
|
+
var _init_state2;
|
|
10389
|
+
var _initProto11;
|
|
10390
|
+
var _IconFolder;
|
|
10391
|
+
_dec39 = Component({
|
|
10392
|
+
tag: "ease-icon-folder",
|
|
10393
|
+
styles: `
|
|
10394
|
+
:host {
|
|
10395
|
+
display: contents;
|
|
10396
|
+
}
|
|
10397
|
+
|
|
10398
|
+
[part="folder"] {
|
|
10399
|
+
display: block;
|
|
10400
|
+
position: relative;
|
|
10401
|
+
width: var(--ease-icon-size, 16px);
|
|
10402
|
+
height: var(--ease-icon-size, 16px);
|
|
10403
|
+
}
|
|
10404
|
+
|
|
10405
|
+
[part="folder"]::before {
|
|
10406
|
+
content: '';
|
|
10407
|
+
position: absolute;
|
|
10408
|
+
z-index: 1;
|
|
10409
|
+
width: 12px;
|
|
10410
|
+
height: 6px;
|
|
10411
|
+
top: 6px;
|
|
10412
|
+
left: 50%;
|
|
10413
|
+
transform: translate(-50%, .5px);
|
|
10414
|
+
background-color: currentColor;
|
|
10415
|
+
border-radius: 3px 3px 1px 1px;
|
|
10416
|
+
transform-origin: 50% 100%;
|
|
10417
|
+
transition: transform 200ms cubic-bezier(.25, 0, .5, 1);
|
|
10418
|
+
}
|
|
10419
|
+
|
|
10420
|
+
[part="folder"][data-state="open"]::before {
|
|
10421
|
+
transform: translate(-50%, .5px) scaleY(0.85) skewX(-28deg);
|
|
10422
|
+
}
|
|
10423
|
+
|
|
10424
|
+
svg {
|
|
10425
|
+
display: block;
|
|
10426
|
+
width: var(--ease-icon-size, 16px);
|
|
10427
|
+
height: var(--ease-icon-size, 16px);
|
|
10428
|
+
fill: none;
|
|
10429
|
+
stroke: currentColor;
|
|
10430
|
+
stroke-width: 1.5;
|
|
10431
|
+
stroke-linecap: round;
|
|
10432
|
+
stroke-linejoin: round;
|
|
10433
|
+
}
|
|
10434
|
+
`,
|
|
10435
|
+
observedAttributes: [
|
|
10436
|
+
"state"
|
|
10437
|
+
]
|
|
10438
|
+
}), _dec115 = Prop({
|
|
10439
|
+
reflect: true,
|
|
10440
|
+
attribute: "state",
|
|
10441
|
+
defaultValue: "close"
|
|
10442
|
+
});
|
|
10443
|
+
var IconFolder = class extends (_HTMLElement14 = HTMLElement) {
|
|
10444
|
+
static {
|
|
10445
|
+
({ e: [_init_state2, _initProto11], c: [_IconFolder, _initClass14] } = _apply_decs_2203_r14(this, [
|
|
10446
|
+
[
|
|
10447
|
+
_dec115,
|
|
10448
|
+
1,
|
|
10449
|
+
"state"
|
|
10450
|
+
]
|
|
10451
|
+
], [
|
|
10452
|
+
_dec39
|
|
10453
|
+
], _HTMLElement14));
|
|
10454
|
+
}
|
|
10455
|
+
#___private_state_1;
|
|
10456
|
+
get state() {
|
|
10457
|
+
return this.#___private_state_1;
|
|
10458
|
+
}
|
|
10459
|
+
set state(_v) {
|
|
10460
|
+
this.#___private_state_1 = _v;
|
|
10461
|
+
}
|
|
10462
|
+
render() {
|
|
10463
|
+
return import_lit_html16.html`
|
|
10464
|
+
<div part="folder" data-state=${this.state}>
|
|
10465
|
+
<svg viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg">
|
|
10466
|
+
<path d="M2 11V5C2 3.89543 2.89543 3 4 3H5.5C6.12951 3 6.72229 3.29639 7.1 3.8L7.4 4.2C7.77771 4.70361 8.37049 5 9 5H12C13.1046 5 14 5.89543 14 7V11C14 12.1046 13.1046 13 12 13H4C2.89543 13 2 12.1046 2 11Z" />
|
|
10467
|
+
</svg>
|
|
10468
|
+
</div>
|
|
10469
|
+
`;
|
|
10470
|
+
}
|
|
10471
|
+
static {
|
|
10472
|
+
_initClass14();
|
|
10473
|
+
}
|
|
10474
|
+
constructor(...args) {
|
|
10475
|
+
super(...args), this.#___private_state_1 = (_initProto11(this), _init_state2(this));
|
|
10476
|
+
}
|
|
10477
|
+
};
|
|
10478
|
+
|
|
10479
|
+
// swc:/Users/aaroniker/Documents/GitHub/ease/web-kit/packages/core/src/elements/icons/animation/grid.ts
|
|
10480
|
+
var import_lit_html17 = require("lit-html");
|
|
10481
|
+
function applyDecs2203RFactory15() {
|
|
10482
|
+
function createAddInitializerMethod(initializers, decoratorFinishedRef) {
|
|
10483
|
+
return function addInitializer(initializer) {
|
|
10484
|
+
assertNotFinished(decoratorFinishedRef, "addInitializer");
|
|
10485
|
+
assertCallable(initializer, "An initializer");
|
|
10486
|
+
initializers.push(initializer);
|
|
10487
|
+
};
|
|
10488
|
+
}
|
|
10489
|
+
function memberDec(dec, name, desc, initializers, kind, isStatic, isPrivate, metadata, value) {
|
|
10490
|
+
var kindStr;
|
|
10491
|
+
switch (kind) {
|
|
10492
|
+
case 1:
|
|
10493
|
+
kindStr = "accessor";
|
|
10494
|
+
break;
|
|
10495
|
+
case 2:
|
|
10496
|
+
kindStr = "method";
|
|
10497
|
+
break;
|
|
10498
|
+
case 3:
|
|
10499
|
+
kindStr = "getter";
|
|
10500
|
+
break;
|
|
10501
|
+
case 4:
|
|
10502
|
+
kindStr = "setter";
|
|
10503
|
+
break;
|
|
10504
|
+
default:
|
|
10505
|
+
kindStr = "field";
|
|
10506
|
+
}
|
|
10507
|
+
var ctx = {
|
|
10508
|
+
kind: kindStr,
|
|
10509
|
+
name: isPrivate ? "#" + name : name,
|
|
10510
|
+
static: isStatic,
|
|
10511
|
+
private: isPrivate,
|
|
10512
|
+
metadata
|
|
10513
|
+
};
|
|
10514
|
+
var decoratorFinishedRef = {
|
|
10515
|
+
v: false
|
|
10516
|
+
};
|
|
10517
|
+
ctx.addInitializer = createAddInitializerMethod(initializers, decoratorFinishedRef);
|
|
10518
|
+
var get, set;
|
|
10519
|
+
if (kind === 0) {
|
|
10520
|
+
if (isPrivate) {
|
|
10521
|
+
get = desc.get;
|
|
10522
|
+
set = desc.set;
|
|
10523
|
+
} else {
|
|
10524
|
+
get = function() {
|
|
10525
|
+
return this[name];
|
|
10526
|
+
};
|
|
10527
|
+
set = function(v) {
|
|
10528
|
+
this[name] = v;
|
|
10529
|
+
};
|
|
10530
|
+
}
|
|
10531
|
+
} else if (kind === 2) {
|
|
10532
|
+
get = function() {
|
|
10533
|
+
return desc.value;
|
|
10534
|
+
};
|
|
10535
|
+
} else {
|
|
10536
|
+
if (kind === 1 || kind === 3) {
|
|
10537
|
+
get = function() {
|
|
10538
|
+
return desc.get.call(this);
|
|
10539
|
+
};
|
|
10540
|
+
}
|
|
10541
|
+
if (kind === 1 || kind === 4) {
|
|
10542
|
+
set = function(v) {
|
|
10543
|
+
desc.set.call(this, v);
|
|
10544
|
+
};
|
|
10545
|
+
}
|
|
10546
|
+
}
|
|
10547
|
+
ctx.access = get && set ? {
|
|
10548
|
+
get,
|
|
10549
|
+
set
|
|
10550
|
+
} : get ? {
|
|
10551
|
+
get
|
|
10552
|
+
} : {
|
|
10553
|
+
set
|
|
10554
|
+
};
|
|
10555
|
+
try {
|
|
10556
|
+
return dec(value, ctx);
|
|
10557
|
+
} finally {
|
|
10558
|
+
decoratorFinishedRef.v = true;
|
|
10559
|
+
}
|
|
10560
|
+
}
|
|
10561
|
+
function assertNotFinished(decoratorFinishedRef, fnName) {
|
|
10562
|
+
if (decoratorFinishedRef.v) {
|
|
10563
|
+
throw new Error("attempted to call " + fnName + " after decoration was finished");
|
|
10564
|
+
}
|
|
10565
|
+
}
|
|
10566
|
+
function assertCallable(fn, hint) {
|
|
10567
|
+
if (typeof fn !== "function") {
|
|
10568
|
+
throw new TypeError(hint + " must be a function");
|
|
10569
|
+
}
|
|
10570
|
+
}
|
|
10571
|
+
function assertValidReturnValue(kind, value) {
|
|
10572
|
+
var type = typeof value;
|
|
10573
|
+
if (kind === 1) {
|
|
10574
|
+
if (type !== "object" || value === null) {
|
|
10575
|
+
throw new TypeError("accessor decorators must return an object with get, set, or init properties or void 0");
|
|
10576
|
+
}
|
|
10577
|
+
if (value.get !== void 0) {
|
|
10578
|
+
assertCallable(value.get, "accessor.get");
|
|
10579
|
+
}
|
|
10580
|
+
if (value.set !== void 0) {
|
|
10581
|
+
assertCallable(value.set, "accessor.set");
|
|
10582
|
+
}
|
|
10583
|
+
if (value.init !== void 0) {
|
|
10584
|
+
assertCallable(value.init, "accessor.init");
|
|
10585
|
+
}
|
|
10586
|
+
} else if (type !== "function") {
|
|
10587
|
+
var hint;
|
|
10588
|
+
if (kind === 0) {
|
|
10589
|
+
hint = "field";
|
|
10590
|
+
} else if (kind === 10) {
|
|
10591
|
+
hint = "class";
|
|
10592
|
+
} else {
|
|
10593
|
+
hint = "method";
|
|
10594
|
+
}
|
|
10595
|
+
throw new TypeError(hint + " decorators must return a function or void 0");
|
|
10596
|
+
}
|
|
10597
|
+
}
|
|
10598
|
+
function applyMemberDec(ret, base, decInfo, name, kind, isStatic, isPrivate, initializers, metadata) {
|
|
10599
|
+
var decs = decInfo[0];
|
|
10600
|
+
var desc, init, value;
|
|
10601
|
+
if (isPrivate) {
|
|
10602
|
+
if (kind === 0 || kind === 1) {
|
|
10603
|
+
desc = {
|
|
10604
|
+
get: decInfo[3],
|
|
10605
|
+
set: decInfo[4]
|
|
10606
|
+
};
|
|
10607
|
+
} else if (kind === 3) {
|
|
10608
|
+
desc = {
|
|
10609
|
+
get: decInfo[3]
|
|
10610
|
+
};
|
|
10611
|
+
} else if (kind === 4) {
|
|
10612
|
+
desc = {
|
|
10613
|
+
set: decInfo[3]
|
|
10614
|
+
};
|
|
10615
|
+
} else {
|
|
10616
|
+
desc = {
|
|
10617
|
+
value: decInfo[3]
|
|
10618
|
+
};
|
|
10619
|
+
}
|
|
10620
|
+
} else if (kind !== 0) {
|
|
10621
|
+
desc = Object.getOwnPropertyDescriptor(base, name);
|
|
10622
|
+
}
|
|
10623
|
+
if (kind === 1) {
|
|
10624
|
+
value = {
|
|
10625
|
+
get: desc.get,
|
|
10626
|
+
set: desc.set
|
|
10627
|
+
};
|
|
10628
|
+
} else if (kind === 2) {
|
|
10629
|
+
value = desc.value;
|
|
10630
|
+
} else if (kind === 3) {
|
|
10631
|
+
value = desc.get;
|
|
10632
|
+
} else if (kind === 4) {
|
|
10633
|
+
value = desc.set;
|
|
10634
|
+
}
|
|
10635
|
+
var newValue, get, set;
|
|
10636
|
+
if (typeof decs === "function") {
|
|
10637
|
+
newValue = memberDec(decs, name, desc, initializers, kind, isStatic, isPrivate, metadata, value);
|
|
10638
|
+
if (newValue !== void 0) {
|
|
10639
|
+
assertValidReturnValue(kind, newValue);
|
|
10640
|
+
if (kind === 0) {
|
|
10641
|
+
init = newValue;
|
|
10642
|
+
} else if (kind === 1) {
|
|
10643
|
+
init = newValue.init;
|
|
10644
|
+
get = newValue.get || value.get;
|
|
10645
|
+
set = newValue.set || value.set;
|
|
10646
|
+
value = {
|
|
10647
|
+
get,
|
|
10648
|
+
set
|
|
10649
|
+
};
|
|
10650
|
+
} else {
|
|
10651
|
+
value = newValue;
|
|
10652
|
+
}
|
|
10653
|
+
}
|
|
10654
|
+
} else {
|
|
10655
|
+
for (var i = decs.length - 1; i >= 0; i--) {
|
|
10656
|
+
var dec = decs[i];
|
|
10657
|
+
newValue = memberDec(dec, name, desc, initializers, kind, isStatic, isPrivate, metadata, value);
|
|
10658
|
+
if (newValue !== void 0) {
|
|
10659
|
+
assertValidReturnValue(kind, newValue);
|
|
10660
|
+
var newInit;
|
|
10661
|
+
if (kind === 0) {
|
|
10662
|
+
newInit = newValue;
|
|
10663
|
+
} else if (kind === 1) {
|
|
10664
|
+
newInit = newValue.init;
|
|
10665
|
+
get = newValue.get || value.get;
|
|
10666
|
+
set = newValue.set || value.set;
|
|
10667
|
+
value = {
|
|
10668
|
+
get,
|
|
10669
|
+
set
|
|
10670
|
+
};
|
|
10671
|
+
} else {
|
|
10672
|
+
value = newValue;
|
|
10673
|
+
}
|
|
10674
|
+
if (newInit !== void 0) {
|
|
10675
|
+
if (init === void 0) {
|
|
10676
|
+
init = newInit;
|
|
10677
|
+
} else if (typeof init === "function") {
|
|
10678
|
+
init = [
|
|
10679
|
+
init,
|
|
10680
|
+
newInit
|
|
10681
|
+
];
|
|
10682
|
+
} else {
|
|
10683
|
+
init.push(newInit);
|
|
10684
|
+
}
|
|
10685
|
+
}
|
|
10686
|
+
}
|
|
10687
|
+
}
|
|
10688
|
+
}
|
|
10689
|
+
if (kind === 0 || kind === 1) {
|
|
10690
|
+
if (init === void 0) {
|
|
10691
|
+
init = function(instance, init2) {
|
|
10692
|
+
return init2;
|
|
10693
|
+
};
|
|
10694
|
+
} else if (typeof init !== "function") {
|
|
10695
|
+
var ownInitializers = init;
|
|
10696
|
+
init = function(instance, init2) {
|
|
10697
|
+
var value2 = init2;
|
|
10698
|
+
for (var i2 = 0; i2 < ownInitializers.length; i2++) {
|
|
10699
|
+
value2 = ownInitializers[i2].call(instance, value2);
|
|
10700
|
+
}
|
|
10701
|
+
return value2;
|
|
10702
|
+
};
|
|
10703
|
+
} else {
|
|
10704
|
+
var originalInitializer = init;
|
|
10705
|
+
init = function(instance, init2) {
|
|
10706
|
+
return originalInitializer.call(instance, init2);
|
|
10707
|
+
};
|
|
10708
|
+
}
|
|
10709
|
+
ret.push(init);
|
|
10710
|
+
}
|
|
10711
|
+
if (kind !== 0) {
|
|
10712
|
+
if (kind === 1) {
|
|
10713
|
+
desc.get = value.get;
|
|
10714
|
+
desc.set = value.set;
|
|
10715
|
+
} else if (kind === 2) {
|
|
10716
|
+
desc.value = value;
|
|
10717
|
+
} else if (kind === 3) {
|
|
10718
|
+
desc.get = value;
|
|
10719
|
+
} else if (kind === 4) {
|
|
10720
|
+
desc.set = value;
|
|
10721
|
+
}
|
|
10722
|
+
if (isPrivate) {
|
|
10723
|
+
if (kind === 1) {
|
|
10724
|
+
ret.push(function(instance, args) {
|
|
10725
|
+
return value.get.call(instance, args);
|
|
10726
|
+
});
|
|
10727
|
+
ret.push(function(instance, args) {
|
|
10728
|
+
return value.set.call(instance, args);
|
|
10729
|
+
});
|
|
10730
|
+
} else if (kind === 2) {
|
|
10731
|
+
ret.push(value);
|
|
10732
|
+
} else {
|
|
10733
|
+
ret.push(function(instance, args) {
|
|
10734
|
+
return value.call(instance, args);
|
|
10735
|
+
});
|
|
10736
|
+
}
|
|
10737
|
+
} else {
|
|
10738
|
+
Object.defineProperty(base, name, desc);
|
|
10739
|
+
}
|
|
10740
|
+
}
|
|
10741
|
+
}
|
|
10742
|
+
function applyMemberDecs(Class, decInfos, metadata) {
|
|
10743
|
+
var ret = [];
|
|
10744
|
+
var protoInitializers;
|
|
10745
|
+
var staticInitializers;
|
|
10746
|
+
var existingProtoNonFields = /* @__PURE__ */ new Map();
|
|
10747
|
+
var existingStaticNonFields = /* @__PURE__ */ new Map();
|
|
10748
|
+
for (var i = 0; i < decInfos.length; i++) {
|
|
10749
|
+
var decInfo = decInfos[i];
|
|
10750
|
+
if (!Array.isArray(decInfo)) continue;
|
|
10751
|
+
var kind = decInfo[1];
|
|
10752
|
+
var name = decInfo[2];
|
|
10753
|
+
var isPrivate = decInfo.length > 3;
|
|
10754
|
+
var isStatic = kind >= 5;
|
|
10755
|
+
var base;
|
|
10756
|
+
var initializers;
|
|
10757
|
+
if (isStatic) {
|
|
10758
|
+
base = Class;
|
|
10759
|
+
kind = kind - 5;
|
|
10760
|
+
staticInitializers = staticInitializers || [];
|
|
10761
|
+
initializers = staticInitializers;
|
|
10762
|
+
} else {
|
|
10763
|
+
base = Class.prototype;
|
|
10764
|
+
protoInitializers = protoInitializers || [];
|
|
10765
|
+
initializers = protoInitializers;
|
|
10766
|
+
}
|
|
10767
|
+
if (kind !== 0 && !isPrivate) {
|
|
10768
|
+
var existingNonFields = isStatic ? existingStaticNonFields : existingProtoNonFields;
|
|
10769
|
+
var existingKind = existingNonFields.get(name) || 0;
|
|
10770
|
+
if (existingKind === true || existingKind === 3 && kind !== 4 || existingKind === 4 && kind !== 3) {
|
|
10771
|
+
throw new Error("Attempted to decorate a public method/accessor that has the same name as a previously decorated public method/accessor. This is not currently supported by the decorators plugin. Property name was: " + name);
|
|
10772
|
+
} else if (!existingKind && kind > 2) {
|
|
10773
|
+
existingNonFields.set(name, kind);
|
|
10774
|
+
} else {
|
|
10775
|
+
existingNonFields.set(name, true);
|
|
10776
|
+
}
|
|
10777
|
+
}
|
|
10778
|
+
applyMemberDec(ret, base, decInfo, name, kind, isStatic, isPrivate, initializers, metadata);
|
|
10779
|
+
}
|
|
10780
|
+
pushInitializers(ret, protoInitializers);
|
|
10781
|
+
pushInitializers(ret, staticInitializers);
|
|
10782
|
+
return ret;
|
|
10783
|
+
}
|
|
10784
|
+
function pushInitializers(ret, initializers) {
|
|
10785
|
+
if (initializers) {
|
|
10786
|
+
ret.push(function(instance) {
|
|
10787
|
+
for (var i = 0; i < initializers.length; i++) {
|
|
10788
|
+
initializers[i].call(instance);
|
|
10789
|
+
}
|
|
10790
|
+
return instance;
|
|
10791
|
+
});
|
|
10792
|
+
}
|
|
10793
|
+
}
|
|
10794
|
+
function applyClassDecs(targetClass, classDecs, metadata) {
|
|
10795
|
+
if (classDecs.length > 0) {
|
|
10796
|
+
var initializers = [];
|
|
10797
|
+
var newClass = targetClass;
|
|
10798
|
+
var name = targetClass.name;
|
|
10799
|
+
for (var i = classDecs.length - 1; i >= 0; i--) {
|
|
10800
|
+
var decoratorFinishedRef = {
|
|
10801
|
+
v: false
|
|
10802
|
+
};
|
|
10803
|
+
try {
|
|
10804
|
+
var nextNewClass = classDecs[i](newClass, {
|
|
10805
|
+
kind: "class",
|
|
10806
|
+
name,
|
|
10807
|
+
addInitializer: createAddInitializerMethod(initializers, decoratorFinishedRef),
|
|
10808
|
+
metadata
|
|
10809
|
+
});
|
|
10810
|
+
} finally {
|
|
10811
|
+
decoratorFinishedRef.v = true;
|
|
10812
|
+
}
|
|
10813
|
+
if (nextNewClass !== void 0) {
|
|
10814
|
+
assertValidReturnValue(10, nextNewClass);
|
|
10815
|
+
newClass = nextNewClass;
|
|
10816
|
+
}
|
|
10817
|
+
}
|
|
10818
|
+
return [
|
|
10819
|
+
defineMetadata(newClass, metadata),
|
|
10820
|
+
function() {
|
|
10821
|
+
for (var i2 = 0; i2 < initializers.length; i2++) {
|
|
10822
|
+
initializers[i2].call(newClass);
|
|
10823
|
+
}
|
|
10824
|
+
}
|
|
10825
|
+
];
|
|
10826
|
+
}
|
|
10827
|
+
}
|
|
10828
|
+
function defineMetadata(Class, metadata) {
|
|
10829
|
+
return Object.defineProperty(Class, Symbol.metadata || /* @__PURE__ */ Symbol.for("Symbol.metadata"), {
|
|
10830
|
+
configurable: true,
|
|
10831
|
+
enumerable: true,
|
|
10832
|
+
value: metadata
|
|
10833
|
+
});
|
|
10834
|
+
}
|
|
10835
|
+
return function applyDecs2203R(targetClass, memberDecs, classDecs, parentClass) {
|
|
10836
|
+
if (parentClass !== void 0) {
|
|
10837
|
+
var parentMetadata = parentClass[Symbol.metadata || /* @__PURE__ */ Symbol.for("Symbol.metadata")];
|
|
10838
|
+
}
|
|
10839
|
+
var metadata = Object.create(parentMetadata === void 0 ? null : parentMetadata);
|
|
10840
|
+
var e = applyMemberDecs(targetClass, memberDecs, metadata);
|
|
10841
|
+
if (!classDecs.length) defineMetadata(targetClass, metadata);
|
|
10842
|
+
return {
|
|
10843
|
+
e,
|
|
10844
|
+
get c() {
|
|
10845
|
+
return applyClassDecs(targetClass, classDecs, metadata);
|
|
10846
|
+
}
|
|
10847
|
+
};
|
|
10848
|
+
};
|
|
10849
|
+
}
|
|
10850
|
+
function _apply_decs_2203_r15(targetClass, memberDecs, classDecs, parentClass) {
|
|
10851
|
+
return (_apply_decs_2203_r15 = applyDecs2203RFactory15())(targetClass, memberDecs, classDecs, parentClass);
|
|
9809
10852
|
}
|
|
9810
|
-
var
|
|
9811
|
-
var
|
|
9812
|
-
var
|
|
9813
|
-
var
|
|
9814
|
-
var
|
|
9815
|
-
var
|
|
10853
|
+
var _dec40;
|
|
10854
|
+
var _initClass15;
|
|
10855
|
+
var _HTMLElement15;
|
|
10856
|
+
var _dec116;
|
|
10857
|
+
var _init_state3;
|
|
10858
|
+
var _initProto12;
|
|
9816
10859
|
var _IconGrid;
|
|
9817
|
-
|
|
10860
|
+
_dec40 = Component({
|
|
9818
10861
|
tag: "ease-icon-grid",
|
|
9819
10862
|
styles: `
|
|
9820
10863
|
:host {
|
|
@@ -9859,22 +10902,22 @@ _dec31 = Component({
|
|
|
9859
10902
|
observedAttributes: [
|
|
9860
10903
|
"state"
|
|
9861
10904
|
]
|
|
9862
|
-
}),
|
|
10905
|
+
}), _dec116 = Prop({
|
|
9863
10906
|
reflect: true,
|
|
9864
10907
|
attribute: "state",
|
|
9865
10908
|
defaultValue: "show"
|
|
9866
10909
|
});
|
|
9867
|
-
var IconGrid = class extends (
|
|
10910
|
+
var IconGrid = class extends (_HTMLElement15 = HTMLElement) {
|
|
9868
10911
|
static {
|
|
9869
|
-
({ e: [
|
|
10912
|
+
({ e: [_init_state3, _initProto12], c: [_IconGrid, _initClass15] } = _apply_decs_2203_r15(this, [
|
|
9870
10913
|
[
|
|
9871
|
-
|
|
10914
|
+
_dec116,
|
|
9872
10915
|
1,
|
|
9873
10916
|
"state"
|
|
9874
10917
|
]
|
|
9875
10918
|
], [
|
|
9876
|
-
|
|
9877
|
-
],
|
|
10919
|
+
_dec40
|
|
10920
|
+
], _HTMLElement15));
|
|
9878
10921
|
}
|
|
9879
10922
|
#___private_state_1;
|
|
9880
10923
|
get state() {
|
|
@@ -9884,7 +10927,7 @@ var IconGrid = class extends (_HTMLElement13 = HTMLElement) {
|
|
|
9884
10927
|
this.#___private_state_1 = _v;
|
|
9885
10928
|
}
|
|
9886
10929
|
render() {
|
|
9887
|
-
return
|
|
10930
|
+
return import_lit_html17.html`
|
|
9888
10931
|
<svg part="grid" viewBox="0 0 12 12" state=${this.state} xmlns="http://www.w3.org/2000/svg">
|
|
9889
10932
|
<path d="M10.5018 5.49971V3.99909C10.5018 2.6178 9.38204 1.49805 8.00076 1.49805H3.99909C2.6178 1.49805 1.49805 2.6178 1.49805 3.99909V8.00076C1.49805 9.38204 2.6178 10.5018 3.99909 10.5018H5.49971" />
|
|
9890
10933
|
<g data-state=${this.state}>
|
|
@@ -9902,16 +10945,16 @@ var IconGrid = class extends (_HTMLElement13 = HTMLElement) {
|
|
|
9902
10945
|
`;
|
|
9903
10946
|
}
|
|
9904
10947
|
static {
|
|
9905
|
-
|
|
10948
|
+
_initClass15();
|
|
9906
10949
|
}
|
|
9907
10950
|
constructor(...args) {
|
|
9908
|
-
super(...args), this.#___private_state_1 = (
|
|
10951
|
+
super(...args), this.#___private_state_1 = (_initProto12(this), _init_state3(this));
|
|
9909
10952
|
}
|
|
9910
10953
|
};
|
|
9911
10954
|
|
|
9912
|
-
// swc:/
|
|
9913
|
-
var
|
|
9914
|
-
function
|
|
10955
|
+
// swc:/Users/aaroniker/Documents/GitHub/ease/web-kit/packages/core/src/elements/icons/animation/loading.ts
|
|
10956
|
+
var import_lit_html18 = require("lit-html");
|
|
10957
|
+
function applyDecs2203RFactory16() {
|
|
9915
10958
|
function createAddInitializerMethod(initializers, decoratorFinishedRef) {
|
|
9916
10959
|
return function addInitializer(initializer) {
|
|
9917
10960
|
assertNotFinished(decoratorFinishedRef, "addInitializer");
|
|
@@ -10280,14 +11323,14 @@ function applyDecs2203RFactory14() {
|
|
|
10280
11323
|
};
|
|
10281
11324
|
};
|
|
10282
11325
|
}
|
|
10283
|
-
function
|
|
10284
|
-
return (
|
|
11326
|
+
function _apply_decs_2203_r16(targetClass, memberDecs, classDecs, parentClass) {
|
|
11327
|
+
return (_apply_decs_2203_r16 = applyDecs2203RFactory16())(targetClass, memberDecs, classDecs, parentClass);
|
|
10285
11328
|
}
|
|
10286
|
-
var
|
|
10287
|
-
var
|
|
10288
|
-
var
|
|
11329
|
+
var _dec41;
|
|
11330
|
+
var _initClass16;
|
|
11331
|
+
var _HTMLElement16;
|
|
10289
11332
|
var _Loading;
|
|
10290
|
-
|
|
11333
|
+
_dec41 = Component({
|
|
10291
11334
|
tag: "ease-icon-loading",
|
|
10292
11335
|
styles: `
|
|
10293
11336
|
:host {
|
|
@@ -10339,7 +11382,7 @@ _dec38 = Component({
|
|
|
10339
11382
|
}
|
|
10340
11383
|
`,
|
|
10341
11384
|
template() {
|
|
10342
|
-
return
|
|
11385
|
+
return import_lit_html18.html`
|
|
10343
11386
|
<svg viewBox="0 0 12 12" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
10344
11387
|
<circle cx="6" cy="6" r="4.5" stroke-opacity="0.25" />
|
|
10345
11388
|
<circle cx="6" cy="6" r="4.5" part="loading" pathlength="100" />
|
|
@@ -10347,20 +11390,20 @@ _dec38 = Component({
|
|
|
10347
11390
|
`;
|
|
10348
11391
|
}
|
|
10349
11392
|
});
|
|
10350
|
-
var Loading = class extends (
|
|
11393
|
+
var Loading = class extends (_HTMLElement16 = HTMLElement) {
|
|
10351
11394
|
static {
|
|
10352
|
-
({ c: [_Loading,
|
|
10353
|
-
|
|
10354
|
-
],
|
|
11395
|
+
({ c: [_Loading, _initClass16] } = _apply_decs_2203_r16(this, [], [
|
|
11396
|
+
_dec41
|
|
11397
|
+
], _HTMLElement16));
|
|
10355
11398
|
}
|
|
10356
11399
|
static {
|
|
10357
|
-
|
|
11400
|
+
_initClass16();
|
|
10358
11401
|
}
|
|
10359
11402
|
};
|
|
10360
11403
|
|
|
10361
|
-
// swc:/
|
|
10362
|
-
var
|
|
10363
|
-
function
|
|
11404
|
+
// swc:/Users/aaroniker/Documents/GitHub/ease/web-kit/packages/core/src/elements/icons/animation/snap.ts
|
|
11405
|
+
var import_lit_html19 = require("lit-html");
|
|
11406
|
+
function applyDecs2203RFactory17() {
|
|
10364
11407
|
function createAddInitializerMethod(initializers, decoratorFinishedRef) {
|
|
10365
11408
|
return function addInitializer(initializer) {
|
|
10366
11409
|
assertNotFinished(decoratorFinishedRef, "addInitializer");
|
|
@@ -10729,17 +11772,17 @@ function applyDecs2203RFactory15() {
|
|
|
10729
11772
|
};
|
|
10730
11773
|
};
|
|
10731
11774
|
}
|
|
10732
|
-
function
|
|
10733
|
-
return (
|
|
11775
|
+
function _apply_decs_2203_r17(targetClass, memberDecs, classDecs, parentClass) {
|
|
11776
|
+
return (_apply_decs_2203_r17 = applyDecs2203RFactory17())(targetClass, memberDecs, classDecs, parentClass);
|
|
10734
11777
|
}
|
|
10735
|
-
var
|
|
10736
|
-
var
|
|
10737
|
-
var
|
|
10738
|
-
var
|
|
10739
|
-
var
|
|
10740
|
-
var
|
|
11778
|
+
var _dec48;
|
|
11779
|
+
var _initClass17;
|
|
11780
|
+
var _HTMLElement17;
|
|
11781
|
+
var _dec117;
|
|
11782
|
+
var _init_state4;
|
|
11783
|
+
var _initProto13;
|
|
10741
11784
|
var _Snap;
|
|
10742
|
-
|
|
11785
|
+
_dec48 = Component({
|
|
10743
11786
|
tag: "ease-icon-snap",
|
|
10744
11787
|
styles: `
|
|
10745
11788
|
:host {
|
|
@@ -10826,22 +11869,22 @@ _dec39 = Component({
|
|
|
10826
11869
|
observedAttributes: [
|
|
10827
11870
|
"state"
|
|
10828
11871
|
]
|
|
10829
|
-
}),
|
|
11872
|
+
}), _dec117 = Prop({
|
|
10830
11873
|
reflect: true,
|
|
10831
11874
|
attribute: "state",
|
|
10832
11875
|
defaultValue: "default"
|
|
10833
11876
|
});
|
|
10834
|
-
var Snap = class extends (
|
|
11877
|
+
var Snap = class extends (_HTMLElement17 = HTMLElement) {
|
|
10835
11878
|
static {
|
|
10836
|
-
({ e: [
|
|
11879
|
+
({ e: [_init_state4, _initProto13], c: [_Snap, _initClass17] } = _apply_decs_2203_r17(this, [
|
|
10837
11880
|
[
|
|
10838
|
-
|
|
11881
|
+
_dec117,
|
|
10839
11882
|
1,
|
|
10840
11883
|
"state"
|
|
10841
11884
|
]
|
|
10842
11885
|
], [
|
|
10843
|
-
|
|
10844
|
-
],
|
|
11886
|
+
_dec48
|
|
11887
|
+
], _HTMLElement17));
|
|
10845
11888
|
}
|
|
10846
11889
|
#___private_state_1;
|
|
10847
11890
|
get state() {
|
|
@@ -10857,7 +11900,7 @@ var Snap = class extends (_HTMLElement15 = HTMLElement) {
|
|
|
10857
11900
|
const activePath2 = "M6.30855 7.08196C6.48218 6.9692 6.71426 7.01871 6.8271 7.19231C6.93984 7.36595 6.89035 7.59803 6.71675 7.71087C6.55769 7.8143 6.51399 7.8829 6.50288 7.9052C6.50718 7.91375 6.51671 7.92905 6.53804 7.95208C6.59186 8.01016 6.676 8.06871 6.76265 8.11614C6.80333 8.1384 6.83994 8.15555 6.86519 8.16692C6.87727 8.17236 6.88667 8.1762 6.89253 8.17864C6.89522 8.17976 6.89739 8.18117 6.89839 8.18157C6.92411 8.19492 6.94982 8.20826 6.97554 8.22161C7.34059 8.4726 7.44425 8.52362 7.48433 8.54387C7.51885 8.56133 7.56761 8.58533 7.62788 8.63665C7.66711 8.67009 7.71609 8.719 7.77827 8.78118C7.84064 8.84354 7.88955 8.89167 7.9228 8.93059C7.97354 8.98999 7.99693 9.03787 8.0146 9.07219C8.02503 9.09247 8.04365 9.12833 8.09077 9.20501C8.1741 9.33099 8.25744 9.45696 8.34077 9.58294C8.35477 9.60931 8.36876 9.63567 8.38276 9.66204C8.38276 9.66171 8.38276 9.66139 8.38276 9.66106C8.38311 9.66194 8.3836 9.6642 8.38472 9.66692C8.38713 9.67278 8.39182 9.68272 8.39741 9.69524C8.40866 9.72041 8.42527 9.75637 8.44722 9.7968C8.49432 9.88353 8.55171 9.96872 8.60933 10.0224C8.63022 10.0418 8.64563 10.0499 8.65425 10.0546C8.67716 10.0429 8.74616 9.99929 8.84858 9.84173C8.96155 9.66836 9.19361 9.61954 9.36714 9.73235C9.54063 9.84525 9.59026 10.0773 9.47749 10.2509C9.29202 10.5362 9.06335 10.7493 8.77534 10.7988C8.47563 10.8502 8.24137 10.7041 8.09858 10.5712C7.95494 10.4374 7.85125 10.2716 7.78804 10.1552C7.75497 10.0943 7.72938 10.0401 7.71187 10.0009C7.70702 9.99006 7.70284 9.98022 7.69917 9.97161C7.45448 9.61671 7.38641 9.49034 7.34761 9.41497C7.34662 9.41306 7.34544 9.41155 7.34468 9.41009C7.33244 9.39698 7.30693 9.37136 7.24702 9.31145C7.18316 9.24759 7.15849 9.22387 7.14644 9.21282C7.07033 9.17434 6.9431 9.10751 6.58589 8.86321C6.57737 8.85954 6.56726 8.85532 6.55659 8.85052C6.51749 8.83289 6.46383 8.80746 6.40327 8.77434C6.28687 8.71066 6.12089 8.60606 5.98726 8.46184C5.85457 8.31851 5.70938 8.0836 5.76069 7.78411C5.81025 7.49606 6.02305 7.26752 6.30855 7.08196C6.30855 7.08196 6.30855 7.08196 6.30855 7.08196Z";
|
|
10858
11901
|
const path1 = this.state === "active" ? activePath : defaultPath;
|
|
10859
11902
|
const path2 = this.state === "active" ? activePath2 : defaultPath2;
|
|
10860
|
-
return
|
|
11903
|
+
return import_lit_html19.html`
|
|
10861
11904
|
<svg part="snap" viewBox="0 0 12 12" state=${this.state} xmlns="http://www.w3.org/2000/svg">
|
|
10862
11905
|
<g part="cursor">
|
|
10863
11906
|
<path d=${path1} />
|
|
@@ -10883,16 +11926,16 @@ var Snap = class extends (_HTMLElement15 = HTMLElement) {
|
|
|
10883
11926
|
`;
|
|
10884
11927
|
}
|
|
10885
11928
|
static {
|
|
10886
|
-
|
|
11929
|
+
_initClass17();
|
|
10887
11930
|
}
|
|
10888
11931
|
constructor(...args) {
|
|
10889
|
-
super(...args), this.#___private_state_1 = (
|
|
11932
|
+
super(...args), this.#___private_state_1 = (_initProto13(this), _init_state4(this));
|
|
10890
11933
|
}
|
|
10891
11934
|
};
|
|
10892
11935
|
|
|
10893
|
-
// swc:/
|
|
10894
|
-
var
|
|
10895
|
-
function
|
|
11936
|
+
// swc:/Users/aaroniker/Documents/GitHub/ease/web-kit/packages/core/src/elements/icons/interface/anchor-add.ts
|
|
11937
|
+
var import_lit_html20 = require("lit-html");
|
|
11938
|
+
function applyDecs2203RFactory18() {
|
|
10896
11939
|
function createAddInitializerMethod(initializers, decoratorFinishedRef) {
|
|
10897
11940
|
return function addInitializer(initializer) {
|
|
10898
11941
|
assertNotFinished(decoratorFinishedRef, "addInitializer");
|
|
@@ -11261,14 +12304,14 @@ function applyDecs2203RFactory16() {
|
|
|
11261
12304
|
};
|
|
11262
12305
|
};
|
|
11263
12306
|
}
|
|
11264
|
-
function
|
|
11265
|
-
return (
|
|
12307
|
+
function _apply_decs_2203_r18(targetClass, memberDecs, classDecs, parentClass) {
|
|
12308
|
+
return (_apply_decs_2203_r18 = applyDecs2203RFactory18())(targetClass, memberDecs, classDecs, parentClass);
|
|
11266
12309
|
}
|
|
11267
|
-
var
|
|
11268
|
-
var
|
|
11269
|
-
var
|
|
12310
|
+
var _dec49;
|
|
12311
|
+
var _initClass18;
|
|
12312
|
+
var _HTMLElement18;
|
|
11270
12313
|
var _IconAnchorAdd;
|
|
11271
|
-
|
|
12314
|
+
_dec49 = Component({
|
|
11272
12315
|
tag: "ease-icon-anchor-add",
|
|
11273
12316
|
styles: `
|
|
11274
12317
|
:host {
|
|
@@ -11283,7 +12326,7 @@ _dec40 = Component({
|
|
|
11283
12326
|
}
|
|
11284
12327
|
`,
|
|
11285
12328
|
template() {
|
|
11286
|
-
return
|
|
12329
|
+
return import_lit_html20.html`
|
|
11287
12330
|
<svg viewBox="0 0 12 12" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
11288
12331
|
<path d="M2.70508 10.5003L5.30008 7.90527" />
|
|
11289
12332
|
<path d="M6.59557 6.61121C6.95348 6.96913 6.95348 7.54942 6.59557 7.90734C6.23765 8.26525 5.65736 8.26525 5.29944 7.90734C4.94153 7.54942 4.94153 6.96913 5.29944 6.61121C5.65736 6.25329 6.23765 6.25329 6.59557 6.61121" />
|
|
@@ -11295,20 +12338,20 @@ _dec40 = Component({
|
|
|
11295
12338
|
`;
|
|
11296
12339
|
}
|
|
11297
12340
|
});
|
|
11298
|
-
var IconAnchorAdd = class extends (
|
|
12341
|
+
var IconAnchorAdd = class extends (_HTMLElement18 = HTMLElement) {
|
|
11299
12342
|
static {
|
|
11300
|
-
({ c: [_IconAnchorAdd,
|
|
11301
|
-
|
|
11302
|
-
],
|
|
12343
|
+
({ c: [_IconAnchorAdd, _initClass18] } = _apply_decs_2203_r18(this, [], [
|
|
12344
|
+
_dec49
|
|
12345
|
+
], _HTMLElement18));
|
|
11303
12346
|
}
|
|
11304
12347
|
static {
|
|
11305
|
-
|
|
12348
|
+
_initClass18();
|
|
11306
12349
|
}
|
|
11307
12350
|
};
|
|
11308
12351
|
|
|
11309
|
-
// swc:/
|
|
11310
|
-
var
|
|
11311
|
-
function
|
|
12352
|
+
// swc:/Users/aaroniker/Documents/GitHub/ease/web-kit/packages/core/src/elements/icons/interface/anchor-remove.ts
|
|
12353
|
+
var import_lit_html21 = require("lit-html");
|
|
12354
|
+
function applyDecs2203RFactory19() {
|
|
11312
12355
|
function createAddInitializerMethod(initializers, decoratorFinishedRef) {
|
|
11313
12356
|
return function addInitializer(initializer) {
|
|
11314
12357
|
assertNotFinished(decoratorFinishedRef, "addInitializer");
|
|
@@ -11677,14 +12720,14 @@ function applyDecs2203RFactory17() {
|
|
|
11677
12720
|
};
|
|
11678
12721
|
};
|
|
11679
12722
|
}
|
|
11680
|
-
function
|
|
11681
|
-
return (
|
|
12723
|
+
function _apply_decs_2203_r19(targetClass, memberDecs, classDecs, parentClass) {
|
|
12724
|
+
return (_apply_decs_2203_r19 = applyDecs2203RFactory19())(targetClass, memberDecs, classDecs, parentClass);
|
|
11682
12725
|
}
|
|
11683
|
-
var
|
|
11684
|
-
var
|
|
11685
|
-
var
|
|
12726
|
+
var _dec50;
|
|
12727
|
+
var _initClass19;
|
|
12728
|
+
var _HTMLElement19;
|
|
11686
12729
|
var _IconAnchorRemove;
|
|
11687
|
-
|
|
12730
|
+
_dec50 = Component({
|
|
11688
12731
|
tag: "ease-icon-anchor-remove",
|
|
11689
12732
|
styles: `
|
|
11690
12733
|
:host {
|
|
@@ -11699,7 +12742,7 @@ _dec41 = Component({
|
|
|
11699
12742
|
}
|
|
11700
12743
|
`,
|
|
11701
12744
|
template() {
|
|
11702
|
-
return
|
|
12745
|
+
return import_lit_html21.html`
|
|
11703
12746
|
<svg viewBox="0 0 12 12" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
11704
12747
|
<path d="M2.70508 10.5003L5.30008 7.90527" />
|
|
11705
12748
|
<path d="M6.59557 6.61121C6.95348 6.96913 6.95348 7.54942 6.59557 7.90734C6.23765 8.26525 5.65736 8.26525 5.29944 7.90734C4.94153 7.54942 4.94153 6.96913 5.29944 6.61121C5.65736 6.25329 6.23765 6.25329 6.59557 6.61121" />
|
|
@@ -11710,20 +12753,20 @@ _dec41 = Component({
|
|
|
11710
12753
|
`;
|
|
11711
12754
|
}
|
|
11712
12755
|
});
|
|
11713
|
-
var IconAnchorRemove = class extends (
|
|
12756
|
+
var IconAnchorRemove = class extends (_HTMLElement19 = HTMLElement) {
|
|
11714
12757
|
static {
|
|
11715
|
-
({ c: [_IconAnchorRemove,
|
|
11716
|
-
|
|
11717
|
-
],
|
|
12758
|
+
({ c: [_IconAnchorRemove, _initClass19] } = _apply_decs_2203_r19(this, [], [
|
|
12759
|
+
_dec50
|
|
12760
|
+
], _HTMLElement19));
|
|
11718
12761
|
}
|
|
11719
12762
|
static {
|
|
11720
|
-
|
|
12763
|
+
_initClass19();
|
|
11721
12764
|
}
|
|
11722
12765
|
};
|
|
11723
12766
|
|
|
11724
|
-
// swc:/
|
|
11725
|
-
var
|
|
11726
|
-
function
|
|
12767
|
+
// swc:/Users/aaroniker/Documents/GitHub/ease/web-kit/packages/core/src/elements/icons/interface/arrow-up.ts
|
|
12768
|
+
var import_lit_html22 = require("lit-html");
|
|
12769
|
+
function applyDecs2203RFactory20() {
|
|
11727
12770
|
function createAddInitializerMethod(initializers, decoratorFinishedRef) {
|
|
11728
12771
|
return function addInitializer(initializer) {
|
|
11729
12772
|
assertNotFinished(decoratorFinishedRef, "addInitializer");
|
|
@@ -12092,14 +13135,14 @@ function applyDecs2203RFactory18() {
|
|
|
12092
13135
|
};
|
|
12093
13136
|
};
|
|
12094
13137
|
}
|
|
12095
|
-
function
|
|
12096
|
-
return (
|
|
13138
|
+
function _apply_decs_2203_r20(targetClass, memberDecs, classDecs, parentClass) {
|
|
13139
|
+
return (_apply_decs_2203_r20 = applyDecs2203RFactory20())(targetClass, memberDecs, classDecs, parentClass);
|
|
12097
13140
|
}
|
|
12098
|
-
var
|
|
12099
|
-
var
|
|
12100
|
-
var
|
|
13141
|
+
var _dec51;
|
|
13142
|
+
var _initClass20;
|
|
13143
|
+
var _HTMLElement20;
|
|
12101
13144
|
var _ArrowUp;
|
|
12102
|
-
|
|
13145
|
+
_dec51 = Component({
|
|
12103
13146
|
tag: "ease-icon-arrow-up",
|
|
12104
13147
|
styles: `
|
|
12105
13148
|
:host {
|
|
@@ -12114,27 +13157,27 @@ _dec47 = Component({
|
|
|
12114
13157
|
}
|
|
12115
13158
|
`,
|
|
12116
13159
|
template() {
|
|
12117
|
-
return
|
|
13160
|
+
return import_lit_html22.html`
|
|
12118
13161
|
<svg viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
12119
13162
|
<path d="M6.99992 12.6666V3.33331M6.99992 3.33331L2.33325 7.99998M6.99992 3.33331L11.6666 7.99998" />
|
|
12120
13163
|
</svg>
|
|
12121
13164
|
`;
|
|
12122
13165
|
}
|
|
12123
13166
|
});
|
|
12124
|
-
var ArrowUp = class extends (
|
|
13167
|
+
var ArrowUp = class extends (_HTMLElement20 = HTMLElement) {
|
|
12125
13168
|
static {
|
|
12126
|
-
({ c: [_ArrowUp,
|
|
12127
|
-
|
|
12128
|
-
],
|
|
13169
|
+
({ c: [_ArrowUp, _initClass20] } = _apply_decs_2203_r20(this, [], [
|
|
13170
|
+
_dec51
|
|
13171
|
+
], _HTMLElement20));
|
|
12129
13172
|
}
|
|
12130
13173
|
static {
|
|
12131
|
-
|
|
13174
|
+
_initClass20();
|
|
12132
13175
|
}
|
|
12133
13176
|
};
|
|
12134
13177
|
|
|
12135
|
-
// swc:/
|
|
12136
|
-
var
|
|
12137
|
-
function
|
|
13178
|
+
// swc:/Users/aaroniker/Documents/GitHub/ease/web-kit/packages/core/src/elements/icons/interface/bezier.ts
|
|
13179
|
+
var import_lit_html23 = require("lit-html");
|
|
13180
|
+
function applyDecs2203RFactory21() {
|
|
12138
13181
|
function createAddInitializerMethod(initializers, decoratorFinishedRef) {
|
|
12139
13182
|
return function addInitializer(initializer) {
|
|
12140
13183
|
assertNotFinished(decoratorFinishedRef, "addInitializer");
|
|
@@ -12503,14 +13546,14 @@ function applyDecs2203RFactory19() {
|
|
|
12503
13546
|
};
|
|
12504
13547
|
};
|
|
12505
13548
|
}
|
|
12506
|
-
function
|
|
12507
|
-
return (
|
|
13549
|
+
function _apply_decs_2203_r21(targetClass, memberDecs, classDecs, parentClass) {
|
|
13550
|
+
return (_apply_decs_2203_r21 = applyDecs2203RFactory21())(targetClass, memberDecs, classDecs, parentClass);
|
|
12508
13551
|
}
|
|
12509
|
-
var
|
|
12510
|
-
var
|
|
12511
|
-
var
|
|
13552
|
+
var _dec55;
|
|
13553
|
+
var _initClass21;
|
|
13554
|
+
var _HTMLElement21;
|
|
12512
13555
|
var _IconBezier;
|
|
12513
|
-
|
|
13556
|
+
_dec55 = Component({
|
|
12514
13557
|
tag: "ease-icon-bezier",
|
|
12515
13558
|
styles: `
|
|
12516
13559
|
:host {
|
|
@@ -12521,27 +13564,27 @@ _dec48 = Component({
|
|
|
12521
13564
|
}
|
|
12522
13565
|
`,
|
|
12523
13566
|
template() {
|
|
12524
|
-
return
|
|
13567
|
+
return import_lit_html23.html`
|
|
12525
13568
|
<svg viewBox="0 0 12 12" xmlns="http://www.w3.org/2000/svg">
|
|
12526
13569
|
<path d="M9.44279 8.84005C9.56156 9.00972 9.79538 9.05098 9.96505 8.93221C10.1347 8.81344 10.176 8.57962 10.0572 8.40995L9.75 8.625L9.44279 8.84005ZM1.94279 8.40995C1.82402 8.57962 1.86528 8.81344 2.03495 8.93221C2.20462 9.05098 2.43844 9.00972 2.55721 8.84005L2.25 8.625L1.94279 8.40995ZM7.21875 4.21875H6.84375C6.84375 4.68474 6.46599 5.0625 6 5.0625V5.4375V5.8125C6.8802 5.8125 7.59375 5.09895 7.59375 4.21875H7.21875ZM6 5.4375V5.0625C5.53401 5.0625 5.15625 4.68474 5.15625 4.21875H4.78125H4.40625C4.40625 5.09895 5.1198 5.8125 6 5.8125V5.4375ZM4.78125 4.21875H5.15625C5.15625 3.75276 5.53401 3.375 6 3.375V3V2.625C5.1198 2.625 4.40625 3.33855 4.40625 4.21875H4.78125ZM6 3V3.375C6.46599 3.375 6.84375 3.75276 6.84375 4.21875H7.21875H7.59375C7.59375 3.33855 6.8802 2.625 6 2.625V3ZM7.125 4.875L6.81779 5.09005L9.44279 8.84005L9.75 8.625L10.0572 8.40995L7.43221 4.65995L7.125 4.875ZM4.875 4.875L4.56779 4.65995L1.94279 8.40995L2.25 8.625L2.55721 8.84005L5.18221 5.09005L4.875 4.875Z" />
|
|
12527
13570
|
</svg>
|
|
12528
13571
|
`;
|
|
12529
13572
|
}
|
|
12530
13573
|
});
|
|
12531
|
-
var IconBezier = class extends (
|
|
13574
|
+
var IconBezier = class extends (_HTMLElement21 = HTMLElement) {
|
|
12532
13575
|
static {
|
|
12533
|
-
({ c: [_IconBezier,
|
|
12534
|
-
|
|
12535
|
-
],
|
|
13576
|
+
({ c: [_IconBezier, _initClass21] } = _apply_decs_2203_r21(this, [], [
|
|
13577
|
+
_dec55
|
|
13578
|
+
], _HTMLElement21));
|
|
12536
13579
|
}
|
|
12537
13580
|
static {
|
|
12538
|
-
|
|
13581
|
+
_initClass21();
|
|
12539
13582
|
}
|
|
12540
13583
|
};
|
|
12541
13584
|
|
|
12542
|
-
// swc:/
|
|
12543
|
-
var
|
|
12544
|
-
function
|
|
13585
|
+
// swc:/Users/aaroniker/Documents/GitHub/ease/web-kit/packages/core/src/elements/icons/interface/bezier-angle.ts
|
|
13586
|
+
var import_lit_html24 = require("lit-html");
|
|
13587
|
+
function applyDecs2203RFactory22() {
|
|
12545
13588
|
function createAddInitializerMethod(initializers, decoratorFinishedRef) {
|
|
12546
13589
|
return function addInitializer(initializer) {
|
|
12547
13590
|
assertNotFinished(decoratorFinishedRef, "addInitializer");
|
|
@@ -12910,14 +13953,14 @@ function applyDecs2203RFactory20() {
|
|
|
12910
13953
|
};
|
|
12911
13954
|
};
|
|
12912
13955
|
}
|
|
12913
|
-
function
|
|
12914
|
-
return (
|
|
13956
|
+
function _apply_decs_2203_r22(targetClass, memberDecs, classDecs, parentClass) {
|
|
13957
|
+
return (_apply_decs_2203_r22 = applyDecs2203RFactory22())(targetClass, memberDecs, classDecs, parentClass);
|
|
12915
13958
|
}
|
|
12916
|
-
var
|
|
12917
|
-
var
|
|
12918
|
-
var
|
|
13959
|
+
var _dec56;
|
|
13960
|
+
var _initClass22;
|
|
13961
|
+
var _HTMLElement22;
|
|
12919
13962
|
var _IconBezierAngle;
|
|
12920
|
-
|
|
13963
|
+
_dec56 = Component({
|
|
12921
13964
|
tag: "ease-icon-bezier-angle",
|
|
12922
13965
|
styles: `
|
|
12923
13966
|
:host {
|
|
@@ -12928,7 +13971,7 @@ _dec49 = Component({
|
|
|
12928
13971
|
}
|
|
12929
13972
|
`,
|
|
12930
13973
|
template() {
|
|
12931
|
-
return
|
|
13974
|
+
return import_lit_html24.html`
|
|
12932
13975
|
<svg viewBox="0 0 12 12" xmlns="http://www.w3.org/2000/svg">
|
|
12933
13976
|
<path d="M1.875 4.21875C1.875 4.63296 1.53921 4.96875 1.125 4.96875C0.710786 4.96875 0.375 4.63296 0.375 4.21875C0.375 3.80454 0.710786 3.46875 1.125 3.46875C1.53921 3.46875 1.875 3.80454 1.875 4.21875Z" fill-opacity="0.9"/>
|
|
12934
13977
|
<path d="M1.64062 4.21875C1.64062 3.93398 1.40977 3.70312 1.125 3.70312C0.840228 3.70312 0.609375 3.93398 0.609375 4.21875C0.609375 4.50352 0.840228 4.73438 1.125 4.73438C1.40977 4.73438 1.64062 4.50352 1.64062 4.21875ZM2.10938 4.21875C2.10938 4.76241 1.66866 5.20312 1.125 5.20312C0.581345 5.20312 0.140625 4.76241 0.140625 4.21875C0.140625 3.67509 0.581345 3.23438 1.125 3.23438C1.66866 3.23438 2.10938 3.67509 2.10938 4.21875Z" />
|
|
@@ -12942,20 +13985,20 @@ _dec49 = Component({
|
|
|
12942
13985
|
`;
|
|
12943
13986
|
}
|
|
12944
13987
|
});
|
|
12945
|
-
var IconBezierAngle = class extends (
|
|
13988
|
+
var IconBezierAngle = class extends (_HTMLElement22 = HTMLElement) {
|
|
12946
13989
|
static {
|
|
12947
|
-
({ c: [_IconBezierAngle,
|
|
12948
|
-
|
|
12949
|
-
],
|
|
13990
|
+
({ c: [_IconBezierAngle, _initClass22] } = _apply_decs_2203_r22(this, [], [
|
|
13991
|
+
_dec56
|
|
13992
|
+
], _HTMLElement22));
|
|
12950
13993
|
}
|
|
12951
13994
|
static {
|
|
12952
|
-
|
|
13995
|
+
_initClass22();
|
|
12953
13996
|
}
|
|
12954
13997
|
};
|
|
12955
13998
|
|
|
12956
|
-
// swc:/
|
|
12957
|
-
var
|
|
12958
|
-
function
|
|
13999
|
+
// swc:/Users/aaroniker/Documents/GitHub/ease/web-kit/packages/core/src/elements/icons/interface/bezier-distribute.ts
|
|
14000
|
+
var import_lit_html25 = require("lit-html");
|
|
14001
|
+
function applyDecs2203RFactory23() {
|
|
12959
14002
|
function createAddInitializerMethod(initializers, decoratorFinishedRef) {
|
|
12960
14003
|
return function addInitializer(initializer) {
|
|
12961
14004
|
assertNotFinished(decoratorFinishedRef, "addInitializer");
|
|
@@ -13324,14 +14367,14 @@ function applyDecs2203RFactory21() {
|
|
|
13324
14367
|
};
|
|
13325
14368
|
};
|
|
13326
14369
|
}
|
|
13327
|
-
function
|
|
13328
|
-
return (
|
|
14370
|
+
function _apply_decs_2203_r23(targetClass, memberDecs, classDecs, parentClass) {
|
|
14371
|
+
return (_apply_decs_2203_r23 = applyDecs2203RFactory23())(targetClass, memberDecs, classDecs, parentClass);
|
|
13329
14372
|
}
|
|
13330
|
-
var
|
|
13331
|
-
var
|
|
13332
|
-
var
|
|
14373
|
+
var _dec57;
|
|
14374
|
+
var _initClass23;
|
|
14375
|
+
var _HTMLElement23;
|
|
13333
14376
|
var _IconBezierDistribute;
|
|
13334
|
-
|
|
14377
|
+
_dec57 = Component({
|
|
13335
14378
|
tag: "ease-icon-bezier-distribute",
|
|
13336
14379
|
styles: `
|
|
13337
14380
|
:host {
|
|
@@ -13342,7 +14385,7 @@ _dec50 = Component({
|
|
|
13342
14385
|
}
|
|
13343
14386
|
`,
|
|
13344
14387
|
template() {
|
|
13345
|
-
return
|
|
14388
|
+
return import_lit_html25.html`
|
|
13346
14389
|
<svg viewBox="0 0 12 12" xmlns="http://www.w3.org/2000/svg">
|
|
13347
14390
|
<path d="M5.125 5.64502C5.33211 5.64502 5.5 5.81291 5.5 6.02002C5.5 6.22713 5.33211 6.39502 5.125 6.39502H2.5C2.29289 6.39502 2.125 6.22713 2.125 6.02002C2.125 5.81291 2.29289 5.64502 2.5 5.64502H5.125Z" />
|
|
13348
14391
|
<path d="M2.125 6.02002C2.125 5.81313 1.95689 5.64502 1.75 5.64502C1.54311 5.64502 1.375 5.81313 1.375 6.02002C1.375 6.22691 1.54311 6.39502 1.75 6.39502C1.95689 6.39502 2.125 6.22691 2.125 6.02002ZM2.875 6.02002C2.875 6.64113 2.37111 7.14502 1.75 7.14502C1.12889 7.14502 0.625 6.64113 0.625 6.02002C0.625 5.39891 1.12889 4.89502 1.75 4.89502C2.37111 4.89502 2.875 5.39891 2.875 6.02002Z" />
|
|
@@ -13357,20 +14400,20 @@ _dec50 = Component({
|
|
|
13357
14400
|
`;
|
|
13358
14401
|
}
|
|
13359
14402
|
});
|
|
13360
|
-
var IconBezierDistribute = class extends (
|
|
14403
|
+
var IconBezierDistribute = class extends (_HTMLElement23 = HTMLElement) {
|
|
13361
14404
|
static {
|
|
13362
|
-
({ c: [_IconBezierDistribute,
|
|
13363
|
-
|
|
13364
|
-
],
|
|
14405
|
+
({ c: [_IconBezierDistribute, _initClass23] } = _apply_decs_2203_r23(this, [], [
|
|
14406
|
+
_dec57
|
|
14407
|
+
], _HTMLElement23));
|
|
13365
14408
|
}
|
|
13366
14409
|
static {
|
|
13367
|
-
|
|
14410
|
+
_initClass23();
|
|
13368
14411
|
}
|
|
13369
14412
|
};
|
|
13370
14413
|
|
|
13371
|
-
// swc:/
|
|
13372
|
-
var
|
|
13373
|
-
function
|
|
14414
|
+
// swc:/Users/aaroniker/Documents/GitHub/ease/web-kit/packages/core/src/elements/icons/interface/bezier-length.ts
|
|
14415
|
+
var import_lit_html26 = require("lit-html");
|
|
14416
|
+
function applyDecs2203RFactory24() {
|
|
13374
14417
|
function createAddInitializerMethod(initializers, decoratorFinishedRef) {
|
|
13375
14418
|
return function addInitializer(initializer) {
|
|
13376
14419
|
assertNotFinished(decoratorFinishedRef, "addInitializer");
|
|
@@ -13739,14 +14782,14 @@ function applyDecs2203RFactory22() {
|
|
|
13739
14782
|
};
|
|
13740
14783
|
};
|
|
13741
14784
|
}
|
|
13742
|
-
function
|
|
13743
|
-
return (
|
|
14785
|
+
function _apply_decs_2203_r24(targetClass, memberDecs, classDecs, parentClass) {
|
|
14786
|
+
return (_apply_decs_2203_r24 = applyDecs2203RFactory24())(targetClass, memberDecs, classDecs, parentClass);
|
|
13744
14787
|
}
|
|
13745
|
-
var
|
|
13746
|
-
var
|
|
13747
|
-
var
|
|
14788
|
+
var _dec58;
|
|
14789
|
+
var _initClass24;
|
|
14790
|
+
var _HTMLElement24;
|
|
13748
14791
|
var _IconBezierLength;
|
|
13749
|
-
|
|
14792
|
+
_dec58 = Component({
|
|
13750
14793
|
tag: "ease-icon-bezier-length",
|
|
13751
14794
|
styles: `
|
|
13752
14795
|
:host {
|
|
@@ -13757,7 +14800,7 @@ _dec51 = Component({
|
|
|
13757
14800
|
}
|
|
13758
14801
|
`,
|
|
13759
14802
|
template() {
|
|
13760
|
-
return
|
|
14803
|
+
return import_lit_html26.html`
|
|
13761
14804
|
<svg viewBox="0 0 12 12" xmlns="http://www.w3.org/2000/svg">
|
|
13762
14805
|
<path d="M6.84375 4.21875C6.84375 3.75276 6.46599 3.375 6 3.375C5.53401 3.375 5.15625 3.75276 5.15625 4.21875C5.15625 4.68474 5.53401 5.0625 6 5.0625C6.46599 5.0625 6.84375 4.68474 6.84375 4.21875ZM7.59375 4.21875C7.59375 5.09895 6.8802 5.8125 6 5.8125C5.1198 5.8125 4.40625 5.09895 4.40625 4.21875C4.40625 3.33855 5.1198 2.625 6 2.625C6.8802 2.625 7.59375 3.33855 7.59375 4.21875Z" />
|
|
13763
14806
|
<path d="M2.48438 4.21875C2.48438 4.76241 2.04366 5.20312 1.5 5.20312C0.956345 5.20312 0.515625 4.76241 0.515625 4.21875C0.515625 3.67509 0.956345 3.23438 1.5 3.23438C2.04366 3.23438 2.48438 3.67509 2.48438 4.21875Z" />
|
|
@@ -13769,20 +14812,20 @@ _dec51 = Component({
|
|
|
13769
14812
|
`;
|
|
13770
14813
|
}
|
|
13771
14814
|
});
|
|
13772
|
-
var IconBezierLength = class extends (
|
|
14815
|
+
var IconBezierLength = class extends (_HTMLElement24 = HTMLElement) {
|
|
13773
14816
|
static {
|
|
13774
|
-
({ c: [_IconBezierLength,
|
|
13775
|
-
|
|
13776
|
-
],
|
|
14817
|
+
({ c: [_IconBezierLength, _initClass24] } = _apply_decs_2203_r24(this, [], [
|
|
14818
|
+
_dec58
|
|
14819
|
+
], _HTMLElement24));
|
|
13777
14820
|
}
|
|
13778
14821
|
static {
|
|
13779
|
-
|
|
14822
|
+
_initClass24();
|
|
13780
14823
|
}
|
|
13781
14824
|
};
|
|
13782
14825
|
|
|
13783
|
-
// swc:/
|
|
13784
|
-
var
|
|
13785
|
-
function
|
|
14826
|
+
// swc:/Users/aaroniker/Documents/GitHub/ease/web-kit/packages/core/src/elements/icons/interface/bezier-mirror.ts
|
|
14827
|
+
var import_lit_html27 = require("lit-html");
|
|
14828
|
+
function applyDecs2203RFactory25() {
|
|
13786
14829
|
function createAddInitializerMethod(initializers, decoratorFinishedRef) {
|
|
13787
14830
|
return function addInitializer(initializer) {
|
|
13788
14831
|
assertNotFinished(decoratorFinishedRef, "addInitializer");
|
|
@@ -14151,14 +15194,14 @@ function applyDecs2203RFactory23() {
|
|
|
14151
15194
|
};
|
|
14152
15195
|
};
|
|
14153
15196
|
}
|
|
14154
|
-
function
|
|
14155
|
-
return (
|
|
15197
|
+
function _apply_decs_2203_r25(targetClass, memberDecs, classDecs, parentClass) {
|
|
15198
|
+
return (_apply_decs_2203_r25 = applyDecs2203RFactory25())(targetClass, memberDecs, classDecs, parentClass);
|
|
14156
15199
|
}
|
|
14157
|
-
var
|
|
14158
|
-
var
|
|
14159
|
-
var
|
|
15200
|
+
var _dec59;
|
|
15201
|
+
var _initClass25;
|
|
15202
|
+
var _HTMLElement25;
|
|
14160
15203
|
var _IconBezierMirror;
|
|
14161
|
-
|
|
15204
|
+
_dec59 = Component({
|
|
14162
15205
|
tag: "ease-icon-bezier-mirror",
|
|
14163
15206
|
styles: `
|
|
14164
15207
|
:host {
|
|
@@ -14169,7 +15212,7 @@ _dec55 = Component({
|
|
|
14169
15212
|
}
|
|
14170
15213
|
`,
|
|
14171
15214
|
template() {
|
|
14172
|
-
return
|
|
15215
|
+
return import_lit_html27.html`
|
|
14173
15216
|
<svg viewBox="0 0 12 12" xmlns="http://www.w3.org/2000/svg">
|
|
14174
15217
|
<path d="M6.84375 4.21875C6.84375 3.75276 6.46599 3.375 6 3.375C5.53401 3.375 5.15625 3.75276 5.15625 4.21875C5.15625 4.68474 5.53401 5.0625 6 5.0625C6.46599 5.0625 6.84375 4.68474 6.84375 4.21875ZM7.59375 4.21875C7.59375 5.09895 6.8802 5.8125 6 5.8125C5.1198 5.8125 4.40625 5.09895 4.40625 4.21875C4.40625 3.33855 5.1198 2.625 6 2.625C6.8802 2.625 7.59375 3.33855 7.59375 4.21875Z" />
|
|
14175
15218
|
<path d="M2.48438 4.21875C2.48438 4.76241 2.04366 5.20312 1.5 5.20312C0.956345 5.20312 0.515625 4.76241 0.515625 4.21875C0.515625 3.67509 0.956345 3.23438 1.5 3.23438C2.04366 3.23438 2.48438 3.67509 2.48438 4.21875Z" />
|
|
@@ -14181,20 +15224,20 @@ _dec55 = Component({
|
|
|
14181
15224
|
`;
|
|
14182
15225
|
}
|
|
14183
15226
|
});
|
|
14184
|
-
var IconBezierMirror = class extends (
|
|
15227
|
+
var IconBezierMirror = class extends (_HTMLElement25 = HTMLElement) {
|
|
14185
15228
|
static {
|
|
14186
|
-
({ c: [_IconBezierMirror,
|
|
14187
|
-
|
|
14188
|
-
],
|
|
15229
|
+
({ c: [_IconBezierMirror, _initClass25] } = _apply_decs_2203_r25(this, [], [
|
|
15230
|
+
_dec59
|
|
15231
|
+
], _HTMLElement25));
|
|
14189
15232
|
}
|
|
14190
15233
|
static {
|
|
14191
|
-
|
|
15234
|
+
_initClass25();
|
|
14192
15235
|
}
|
|
14193
15236
|
};
|
|
14194
15237
|
|
|
14195
|
-
// swc:/
|
|
14196
|
-
var
|
|
14197
|
-
function
|
|
15238
|
+
// swc:/Users/aaroniker/Documents/GitHub/ease/web-kit/packages/core/src/elements/icons/interface/check.ts
|
|
15239
|
+
var import_lit_html28 = require("lit-html");
|
|
15240
|
+
function applyDecs2203RFactory26() {
|
|
14198
15241
|
function createAddInitializerMethod(initializers, decoratorFinishedRef) {
|
|
14199
15242
|
return function addInitializer(initializer) {
|
|
14200
15243
|
assertNotFinished(decoratorFinishedRef, "addInitializer");
|
|
@@ -14563,14 +15606,14 @@ function applyDecs2203RFactory24() {
|
|
|
14563
15606
|
};
|
|
14564
15607
|
};
|
|
14565
15608
|
}
|
|
14566
|
-
function
|
|
14567
|
-
return (
|
|
15609
|
+
function _apply_decs_2203_r26(targetClass, memberDecs, classDecs, parentClass) {
|
|
15610
|
+
return (_apply_decs_2203_r26 = applyDecs2203RFactory26())(targetClass, memberDecs, classDecs, parentClass);
|
|
14568
15611
|
}
|
|
14569
|
-
var
|
|
14570
|
-
var
|
|
14571
|
-
var
|
|
15612
|
+
var _dec60;
|
|
15613
|
+
var _initClass26;
|
|
15614
|
+
var _HTMLElement26;
|
|
14572
15615
|
var _IconCheck;
|
|
14573
|
-
|
|
15616
|
+
_dec60 = Component({
|
|
14574
15617
|
tag: "ease-icon-check",
|
|
14575
15618
|
styles: `
|
|
14576
15619
|
:host {
|
|
@@ -14585,27 +15628,27 @@ _dec56 = Component({
|
|
|
14585
15628
|
}
|
|
14586
15629
|
`,
|
|
14587
15630
|
template() {
|
|
14588
|
-
return
|
|
15631
|
+
return import_lit_html28.html`
|
|
14589
15632
|
<svg viewBox="0 0 12 12" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
14590
15633
|
<path d="M3 6.5L5.33333 9L10 4" path-length="100" />
|
|
14591
15634
|
</svg>
|
|
14592
15635
|
`;
|
|
14593
15636
|
}
|
|
14594
15637
|
});
|
|
14595
|
-
var IconCheck = class extends (
|
|
15638
|
+
var IconCheck = class extends (_HTMLElement26 = HTMLElement) {
|
|
14596
15639
|
static {
|
|
14597
|
-
({ c: [_IconCheck,
|
|
14598
|
-
|
|
14599
|
-
],
|
|
15640
|
+
({ c: [_IconCheck, _initClass26] } = _apply_decs_2203_r26(this, [], [
|
|
15641
|
+
_dec60
|
|
15642
|
+
], _HTMLElement26));
|
|
14600
15643
|
}
|
|
14601
15644
|
static {
|
|
14602
|
-
|
|
15645
|
+
_initClass26();
|
|
14603
15646
|
}
|
|
14604
15647
|
};
|
|
14605
15648
|
|
|
14606
|
-
// swc:/
|
|
14607
|
-
var
|
|
14608
|
-
function
|
|
15649
|
+
// swc:/Users/aaroniker/Documents/GitHub/ease/web-kit/packages/core/src/elements/icons/interface/circle-arrow-left.ts
|
|
15650
|
+
var import_lit_html29 = require("lit-html");
|
|
15651
|
+
function applyDecs2203RFactory27() {
|
|
14609
15652
|
function createAddInitializerMethod(initializers, decoratorFinishedRef) {
|
|
14610
15653
|
return function addInitializer(initializer) {
|
|
14611
15654
|
assertNotFinished(decoratorFinishedRef, "addInitializer");
|
|
@@ -14974,14 +16017,14 @@ function applyDecs2203RFactory25() {
|
|
|
14974
16017
|
};
|
|
14975
16018
|
};
|
|
14976
16019
|
}
|
|
14977
|
-
function
|
|
14978
|
-
return (
|
|
16020
|
+
function _apply_decs_2203_r27(targetClass, memberDecs, classDecs, parentClass) {
|
|
16021
|
+
return (_apply_decs_2203_r27 = applyDecs2203RFactory27())(targetClass, memberDecs, classDecs, parentClass);
|
|
14979
16022
|
}
|
|
14980
|
-
var
|
|
14981
|
-
var
|
|
14982
|
-
var
|
|
16023
|
+
var _dec61;
|
|
16024
|
+
var _initClass27;
|
|
16025
|
+
var _HTMLElement27;
|
|
14983
16026
|
var _IconCircleArrowLeft;
|
|
14984
|
-
|
|
16027
|
+
_dec61 = Component({
|
|
14985
16028
|
tag: "ease-icon-circle-arrow-left",
|
|
14986
16029
|
styles: `
|
|
14987
16030
|
:host {
|
|
@@ -14996,27 +16039,27 @@ _dec57 = Component({
|
|
|
14996
16039
|
}
|
|
14997
16040
|
`,
|
|
14998
16041
|
template() {
|
|
14999
|
-
return
|
|
16042
|
+
return import_lit_html29.html`
|
|
15000
16043
|
<svg viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
15001
16044
|
<path d="M14.6667 6.66667C14.6667 6.66667 13.33 4.84548 12.2441 3.75883C11.1582 2.67218 9.6576 2 8 2C4.68629 2 2 4.68629 2 8C2 11.3137 4.68629 14 8 14C10.7354 14 13.0433 12.1695 13.7655 9.66667M14.6667 6.66667V2.66667M14.6667 6.66667H10.6667" />
|
|
15002
16045
|
</svg>
|
|
15003
16046
|
`;
|
|
15004
16047
|
}
|
|
15005
16048
|
});
|
|
15006
|
-
var IconCircleArrowLeft = class extends (
|
|
16049
|
+
var IconCircleArrowLeft = class extends (_HTMLElement27 = HTMLElement) {
|
|
15007
16050
|
static {
|
|
15008
|
-
({ c: [_IconCircleArrowLeft,
|
|
15009
|
-
|
|
15010
|
-
],
|
|
16051
|
+
({ c: [_IconCircleArrowLeft, _initClass27] } = _apply_decs_2203_r27(this, [], [
|
|
16052
|
+
_dec61
|
|
16053
|
+
], _HTMLElement27));
|
|
15011
16054
|
}
|
|
15012
16055
|
static {
|
|
15013
|
-
|
|
16056
|
+
_initClass27();
|
|
15014
16057
|
}
|
|
15015
16058
|
};
|
|
15016
16059
|
|
|
15017
|
-
// swc:/
|
|
15018
|
-
var
|
|
15019
|
-
function
|
|
16060
|
+
// swc:/Users/aaroniker/Documents/GitHub/ease/web-kit/packages/core/src/elements/icons/interface/circle-arrow-right.ts
|
|
16061
|
+
var import_lit_html30 = require("lit-html");
|
|
16062
|
+
function applyDecs2203RFactory28() {
|
|
15020
16063
|
function createAddInitializerMethod(initializers, decoratorFinishedRef) {
|
|
15021
16064
|
return function addInitializer(initializer) {
|
|
15022
16065
|
assertNotFinished(decoratorFinishedRef, "addInitializer");
|
|
@@ -15385,14 +16428,14 @@ function applyDecs2203RFactory26() {
|
|
|
15385
16428
|
};
|
|
15386
16429
|
};
|
|
15387
16430
|
}
|
|
15388
|
-
function
|
|
15389
|
-
return (
|
|
16431
|
+
function _apply_decs_2203_r28(targetClass, memberDecs, classDecs, parentClass) {
|
|
16432
|
+
return (_apply_decs_2203_r28 = applyDecs2203RFactory28())(targetClass, memberDecs, classDecs, parentClass);
|
|
15390
16433
|
}
|
|
15391
|
-
var
|
|
15392
|
-
var
|
|
15393
|
-
var
|
|
16434
|
+
var _dec65;
|
|
16435
|
+
var _initClass28;
|
|
16436
|
+
var _HTMLElement28;
|
|
15394
16437
|
var _IconCircleArrowRight;
|
|
15395
|
-
|
|
16438
|
+
_dec65 = Component({
|
|
15396
16439
|
tag: "ease-icon-circle-arrow-right",
|
|
15397
16440
|
styles: `
|
|
15398
16441
|
:host {
|
|
@@ -15407,27 +16450,27 @@ _dec58 = Component({
|
|
|
15407
16450
|
}
|
|
15408
16451
|
`,
|
|
15409
16452
|
template() {
|
|
15410
|
-
return
|
|
16453
|
+
return import_lit_html30.html`
|
|
15411
16454
|
<svg viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg">
|
|
15412
16455
|
<path d="M1.33333 6.66667C1.33333 6.66667 2.66999 4.84548 3.75589 3.75883C4.84179 2.67218 6.3424 2 8 2C11.3137 2 14 4.68629 14 8C14 11.3137 11.3137 14 8 14C5.2646 14 2.95674 12.1695 2.23451 9.66667M1.33333 6.66667V2.66667M1.33333 6.66667H5.33333" />
|
|
15413
16456
|
</svg>
|
|
15414
16457
|
`;
|
|
15415
16458
|
}
|
|
15416
16459
|
});
|
|
15417
|
-
var IconCircleArrowRight = class extends (
|
|
16460
|
+
var IconCircleArrowRight = class extends (_HTMLElement28 = HTMLElement) {
|
|
15418
16461
|
static {
|
|
15419
|
-
({ c: [_IconCircleArrowRight,
|
|
15420
|
-
|
|
15421
|
-
],
|
|
16462
|
+
({ c: [_IconCircleArrowRight, _initClass28] } = _apply_decs_2203_r28(this, [], [
|
|
16463
|
+
_dec65
|
|
16464
|
+
], _HTMLElement28));
|
|
15422
16465
|
}
|
|
15423
16466
|
static {
|
|
15424
|
-
|
|
16467
|
+
_initClass28();
|
|
15425
16468
|
}
|
|
15426
16469
|
};
|
|
15427
16470
|
|
|
15428
|
-
// swc:/
|
|
15429
|
-
var
|
|
15430
|
-
function
|
|
16471
|
+
// swc:/Users/aaroniker/Documents/GitHub/ease/web-kit/packages/core/src/elements/icons/interface/code.ts
|
|
16472
|
+
var import_lit_html31 = require("lit-html");
|
|
16473
|
+
function applyDecs2203RFactory29() {
|
|
15431
16474
|
function createAddInitializerMethod(initializers, decoratorFinishedRef) {
|
|
15432
16475
|
return function addInitializer(initializer) {
|
|
15433
16476
|
assertNotFinished(decoratorFinishedRef, "addInitializer");
|
|
@@ -15796,14 +16839,14 @@ function applyDecs2203RFactory27() {
|
|
|
15796
16839
|
};
|
|
15797
16840
|
};
|
|
15798
16841
|
}
|
|
15799
|
-
function
|
|
15800
|
-
return (
|
|
16842
|
+
function _apply_decs_2203_r29(targetClass, memberDecs, classDecs, parentClass) {
|
|
16843
|
+
return (_apply_decs_2203_r29 = applyDecs2203RFactory29())(targetClass, memberDecs, classDecs, parentClass);
|
|
15801
16844
|
}
|
|
15802
|
-
var
|
|
15803
|
-
var
|
|
15804
|
-
var
|
|
16845
|
+
var _dec66;
|
|
16846
|
+
var _initClass29;
|
|
16847
|
+
var _HTMLElement29;
|
|
15805
16848
|
var _IconCode;
|
|
15806
|
-
|
|
16849
|
+
_dec66 = Component({
|
|
15807
16850
|
tag: "ease-icon-code",
|
|
15808
16851
|
styles: `
|
|
15809
16852
|
:host {
|
|
@@ -15818,27 +16861,27 @@ _dec59 = Component({
|
|
|
15818
16861
|
}
|
|
15819
16862
|
`,
|
|
15820
16863
|
template() {
|
|
15821
|
-
return
|
|
16864
|
+
return import_lit_html31.html`
|
|
15822
16865
|
<svg viewBox="0 0 12 12" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
15823
16866
|
<path d="M8 9L11 6L8 3M4 3L1 6L4 9" />
|
|
15824
16867
|
</svg>
|
|
15825
16868
|
`;
|
|
15826
16869
|
}
|
|
15827
16870
|
});
|
|
15828
|
-
var IconCode = class extends (
|
|
16871
|
+
var IconCode = class extends (_HTMLElement29 = HTMLElement) {
|
|
15829
16872
|
static {
|
|
15830
|
-
({ c: [_IconCode,
|
|
15831
|
-
|
|
15832
|
-
],
|
|
16873
|
+
({ c: [_IconCode, _initClass29] } = _apply_decs_2203_r29(this, [], [
|
|
16874
|
+
_dec66
|
|
16875
|
+
], _HTMLElement29));
|
|
15833
16876
|
}
|
|
15834
16877
|
static {
|
|
15835
|
-
|
|
16878
|
+
_initClass29();
|
|
15836
16879
|
}
|
|
15837
16880
|
};
|
|
15838
16881
|
|
|
15839
|
-
// swc:/
|
|
15840
|
-
var
|
|
15841
|
-
function
|
|
16882
|
+
// swc:/Users/aaroniker/Documents/GitHub/ease/web-kit/packages/core/src/elements/icons/interface/dots.ts
|
|
16883
|
+
var import_lit_html32 = require("lit-html");
|
|
16884
|
+
function applyDecs2203RFactory30() {
|
|
15842
16885
|
function createAddInitializerMethod(initializers, decoratorFinishedRef) {
|
|
15843
16886
|
return function addInitializer(initializer) {
|
|
15844
16887
|
assertNotFinished(decoratorFinishedRef, "addInitializer");
|
|
@@ -16207,14 +17250,14 @@ function applyDecs2203RFactory28() {
|
|
|
16207
17250
|
};
|
|
16208
17251
|
};
|
|
16209
17252
|
}
|
|
16210
|
-
function
|
|
16211
|
-
return (
|
|
17253
|
+
function _apply_decs_2203_r30(targetClass, memberDecs, classDecs, parentClass) {
|
|
17254
|
+
return (_apply_decs_2203_r30 = applyDecs2203RFactory30())(targetClass, memberDecs, classDecs, parentClass);
|
|
16212
17255
|
}
|
|
16213
|
-
var
|
|
16214
|
-
var
|
|
16215
|
-
var
|
|
17256
|
+
var _dec67;
|
|
17257
|
+
var _initClass30;
|
|
17258
|
+
var _HTMLElement30;
|
|
16216
17259
|
var _IconDots;
|
|
16217
|
-
|
|
17260
|
+
_dec67 = Component({
|
|
16218
17261
|
tag: "ease-icon-dots",
|
|
16219
17262
|
styles: `
|
|
16220
17263
|
:host {
|
|
@@ -16229,7 +17272,7 @@ _dec60 = Component({
|
|
|
16229
17272
|
}
|
|
16230
17273
|
`,
|
|
16231
17274
|
template() {
|
|
16232
|
-
return
|
|
17275
|
+
return import_lit_html32.html`
|
|
16233
17276
|
<svg viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
16234
17277
|
<path d="M8.00008 8.66655C8.36827 8.66655 8.66675 8.36808 8.66675 7.99989C8.66675 7.6317 8.36827 7.33322 8.00008 7.33322C7.63189 7.33322 7.33341 7.6317 7.33341 7.99989C7.33341 8.36808 7.63189 8.66655 8.00008 8.66655Z" />
|
|
16235
17278
|
<path d="M12.6667 8.66655C13.0349 8.66655 13.3334 8.36808 13.3334 7.99989C13.3334 7.6317 13.0349 7.33322 12.6667 7.33322C12.2986 7.33322 12.0001 7.6317 12.0001 7.99989C12.0001 8.36808 12.2986 8.66655 12.6667 8.66655Z" />
|
|
@@ -16238,20 +17281,20 @@ _dec60 = Component({
|
|
|
16238
17281
|
`;
|
|
16239
17282
|
}
|
|
16240
17283
|
});
|
|
16241
|
-
var IconDots = class extends (
|
|
17284
|
+
var IconDots = class extends (_HTMLElement30 = HTMLElement) {
|
|
16242
17285
|
static {
|
|
16243
|
-
({ c: [_IconDots,
|
|
16244
|
-
|
|
16245
|
-
],
|
|
17286
|
+
({ c: [_IconDots, _initClass30] } = _apply_decs_2203_r30(this, [], [
|
|
17287
|
+
_dec67
|
|
17288
|
+
], _HTMLElement30));
|
|
16246
17289
|
}
|
|
16247
17290
|
static {
|
|
16248
|
-
|
|
17291
|
+
_initClass30();
|
|
16249
17292
|
}
|
|
16250
17293
|
};
|
|
16251
17294
|
|
|
16252
|
-
// swc:/
|
|
16253
|
-
var
|
|
16254
|
-
function
|
|
17295
|
+
// swc:/Users/aaroniker/Documents/GitHub/ease/web-kit/packages/core/src/elements/icons/interface/mention.ts
|
|
17296
|
+
var import_lit_html33 = require("lit-html");
|
|
17297
|
+
function applyDecs2203RFactory31() {
|
|
16255
17298
|
function createAddInitializerMethod(initializers, decoratorFinishedRef) {
|
|
16256
17299
|
return function addInitializer(initializer) {
|
|
16257
17300
|
assertNotFinished(decoratorFinishedRef, "addInitializer");
|
|
@@ -16620,14 +17663,14 @@ function applyDecs2203RFactory29() {
|
|
|
16620
17663
|
};
|
|
16621
17664
|
};
|
|
16622
17665
|
}
|
|
16623
|
-
function
|
|
16624
|
-
return (
|
|
17666
|
+
function _apply_decs_2203_r31(targetClass, memberDecs, classDecs, parentClass) {
|
|
17667
|
+
return (_apply_decs_2203_r31 = applyDecs2203RFactory31())(targetClass, memberDecs, classDecs, parentClass);
|
|
16625
17668
|
}
|
|
16626
|
-
var
|
|
16627
|
-
var
|
|
16628
|
-
var
|
|
17669
|
+
var _dec68;
|
|
17670
|
+
var _initClass31;
|
|
17671
|
+
var _HTMLElement31;
|
|
16629
17672
|
var _IconMention;
|
|
16630
|
-
|
|
17673
|
+
_dec68 = Component({
|
|
16631
17674
|
tag: "ease-icon-mention",
|
|
16632
17675
|
styles: `
|
|
16633
17676
|
:host {
|
|
@@ -16642,27 +17685,27 @@ _dec61 = Component({
|
|
|
16642
17685
|
}
|
|
16643
17686
|
`,
|
|
16644
17687
|
template() {
|
|
16645
|
-
return
|
|
17688
|
+
return import_lit_html33.html`
|
|
16646
17689
|
<svg viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
16647
17690
|
<path d="M10.4 5.59963V8.59962C10.4 9.07701 10.5896 9.53485 10.9272 9.87242C11.2648 10.21 11.7226 10.3996 12.2 10.3996C12.6774 10.3996 13.1352 10.21 13.4728 9.87242C13.8104 9.53485 14 9.07701 14 8.59962V7.99962C13.9999 6.64544 13.5417 5.33111 12.7 4.27035C11.8582 3.20958 10.6823 2.46476 9.36359 2.15701C8.04484 1.84925 6.66076 1.99665 5.43641 2.57525C4.21206 3.15384 3.21944 4.1296 2.61996 5.34386C2.02048 6.55812 1.84939 7.93947 2.13451 9.26329C2.41963 10.5871 3.14419 11.7756 4.19038 12.6354C5.23657 13.4952 6.54286 13.9758 7.89684 13.9991C9.25083 14.0224 10.5729 13.587 11.648 12.7636M10.4 7.99962C10.4 9.32511 9.32549 10.3996 8 10.3996C6.67452 10.3996 5.6 9.32511 5.6 7.99962C5.6 6.67414 6.67452 5.59963 8 5.59963C9.32549 5.59963 10.4 6.67414 10.4 7.99962Z" />
|
|
16648
17691
|
</svg>
|
|
16649
17692
|
`;
|
|
16650
17693
|
}
|
|
16651
17694
|
});
|
|
16652
|
-
var IconMention = class extends (
|
|
17695
|
+
var IconMention = class extends (_HTMLElement31 = HTMLElement) {
|
|
16653
17696
|
static {
|
|
16654
|
-
({ c: [_IconMention,
|
|
16655
|
-
|
|
16656
|
-
],
|
|
17697
|
+
({ c: [_IconMention, _initClass31] } = _apply_decs_2203_r31(this, [], [
|
|
17698
|
+
_dec68
|
|
17699
|
+
], _HTMLElement31));
|
|
16657
17700
|
}
|
|
16658
17701
|
static {
|
|
16659
|
-
|
|
17702
|
+
_initClass31();
|
|
16660
17703
|
}
|
|
16661
17704
|
};
|
|
16662
17705
|
|
|
16663
|
-
// swc:/
|
|
16664
|
-
var
|
|
16665
|
-
function
|
|
17706
|
+
// swc:/Users/aaroniker/Documents/GitHub/ease/web-kit/packages/core/src/elements/icons/interface/minus.ts
|
|
17707
|
+
var import_lit_html34 = require("lit-html");
|
|
17708
|
+
function applyDecs2203RFactory32() {
|
|
16666
17709
|
function createAddInitializerMethod(initializers, decoratorFinishedRef) {
|
|
16667
17710
|
return function addInitializer(initializer) {
|
|
16668
17711
|
assertNotFinished(decoratorFinishedRef, "addInitializer");
|
|
@@ -17031,14 +18074,14 @@ function applyDecs2203RFactory30() {
|
|
|
17031
18074
|
};
|
|
17032
18075
|
};
|
|
17033
18076
|
}
|
|
17034
|
-
function
|
|
17035
|
-
return (
|
|
18077
|
+
function _apply_decs_2203_r32(targetClass, memberDecs, classDecs, parentClass) {
|
|
18078
|
+
return (_apply_decs_2203_r32 = applyDecs2203RFactory32())(targetClass, memberDecs, classDecs, parentClass);
|
|
17036
18079
|
}
|
|
17037
|
-
var
|
|
17038
|
-
var
|
|
17039
|
-
var
|
|
18080
|
+
var _dec69;
|
|
18081
|
+
var _initClass32;
|
|
18082
|
+
var _HTMLElement32;
|
|
17040
18083
|
var _IconMinus;
|
|
17041
|
-
|
|
18084
|
+
_dec69 = Component({
|
|
17042
18085
|
tag: "ease-icon-minus",
|
|
17043
18086
|
styles: `
|
|
17044
18087
|
:host {
|
|
@@ -17053,27 +18096,27 @@ _dec65 = Component({
|
|
|
17053
18096
|
}
|
|
17054
18097
|
`,
|
|
17055
18098
|
template() {
|
|
17056
|
-
return
|
|
18099
|
+
return import_lit_html34.html`
|
|
17057
18100
|
<svg viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
17058
18101
|
<path d="M5 7.99995H11" />
|
|
17059
18102
|
</svg>
|
|
17060
18103
|
`;
|
|
17061
18104
|
}
|
|
17062
18105
|
});
|
|
17063
|
-
var IconMinus = class extends (
|
|
18106
|
+
var IconMinus = class extends (_HTMLElement32 = HTMLElement) {
|
|
17064
18107
|
static {
|
|
17065
|
-
({ c: [_IconMinus,
|
|
17066
|
-
|
|
17067
|
-
],
|
|
18108
|
+
({ c: [_IconMinus, _initClass32] } = _apply_decs_2203_r32(this, [], [
|
|
18109
|
+
_dec69
|
|
18110
|
+
], _HTMLElement32));
|
|
17068
18111
|
}
|
|
17069
18112
|
static {
|
|
17070
|
-
|
|
18113
|
+
_initClass32();
|
|
17071
18114
|
}
|
|
17072
18115
|
};
|
|
17073
18116
|
|
|
17074
|
-
// swc:/
|
|
17075
|
-
var
|
|
17076
|
-
function
|
|
18117
|
+
// swc:/Users/aaroniker/Documents/GitHub/ease/web-kit/packages/core/src/elements/icons/interface/plus.ts
|
|
18118
|
+
var import_lit_html35 = require("lit-html");
|
|
18119
|
+
function applyDecs2203RFactory33() {
|
|
17077
18120
|
function createAddInitializerMethod(initializers, decoratorFinishedRef) {
|
|
17078
18121
|
return function addInitializer(initializer) {
|
|
17079
18122
|
assertNotFinished(decoratorFinishedRef, "addInitializer");
|
|
@@ -17442,14 +18485,14 @@ function applyDecs2203RFactory31() {
|
|
|
17442
18485
|
};
|
|
17443
18486
|
};
|
|
17444
18487
|
}
|
|
17445
|
-
function
|
|
17446
|
-
return (
|
|
18488
|
+
function _apply_decs_2203_r33(targetClass, memberDecs, classDecs, parentClass) {
|
|
18489
|
+
return (_apply_decs_2203_r33 = applyDecs2203RFactory33())(targetClass, memberDecs, classDecs, parentClass);
|
|
17447
18490
|
}
|
|
17448
|
-
var
|
|
17449
|
-
var
|
|
17450
|
-
var
|
|
18491
|
+
var _dec70;
|
|
18492
|
+
var _initClass33;
|
|
18493
|
+
var _HTMLElement33;
|
|
17451
18494
|
var _IconPlus;
|
|
17452
|
-
|
|
18495
|
+
_dec70 = Component({
|
|
17453
18496
|
tag: "ease-icon-plus",
|
|
17454
18497
|
styles: `
|
|
17455
18498
|
:host {
|
|
@@ -17464,27 +18507,27 @@ _dec66 = Component({
|
|
|
17464
18507
|
}
|
|
17465
18508
|
`,
|
|
17466
18509
|
template() {
|
|
17467
|
-
return
|
|
18510
|
+
return import_lit_html35.html`
|
|
17468
18511
|
<svg viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
17469
18512
|
<path d="M8.00018 4.28591C8.00018 4.28591 8.00018 8.42263 8.00018 11.714M4.28613 7.99995H11.7142" />
|
|
17470
18513
|
</svg>
|
|
17471
18514
|
`;
|
|
17472
18515
|
}
|
|
17473
18516
|
});
|
|
17474
|
-
var IconPlus = class extends (
|
|
18517
|
+
var IconPlus = class extends (_HTMLElement33 = HTMLElement) {
|
|
17475
18518
|
static {
|
|
17476
|
-
({ c: [_IconPlus,
|
|
17477
|
-
|
|
17478
|
-
],
|
|
18519
|
+
({ c: [_IconPlus, _initClass33] } = _apply_decs_2203_r33(this, [], [
|
|
18520
|
+
_dec70
|
|
18521
|
+
], _HTMLElement33));
|
|
17479
18522
|
}
|
|
17480
18523
|
static {
|
|
17481
|
-
|
|
18524
|
+
_initClass33();
|
|
17482
18525
|
}
|
|
17483
18526
|
};
|
|
17484
18527
|
|
|
17485
|
-
// swc:/
|
|
17486
|
-
var
|
|
17487
|
-
function
|
|
18528
|
+
// swc:/Users/aaroniker/Documents/GitHub/ease/web-kit/packages/core/src/elements/icons/interface/settings.ts
|
|
18529
|
+
var import_lit_html36 = require("lit-html");
|
|
18530
|
+
function applyDecs2203RFactory34() {
|
|
17488
18531
|
function createAddInitializerMethod(initializers, decoratorFinishedRef) {
|
|
17489
18532
|
return function addInitializer(initializer) {
|
|
17490
18533
|
assertNotFinished(decoratorFinishedRef, "addInitializer");
|
|
@@ -17853,14 +18896,14 @@ function applyDecs2203RFactory32() {
|
|
|
17853
18896
|
};
|
|
17854
18897
|
};
|
|
17855
18898
|
}
|
|
17856
|
-
function
|
|
17857
|
-
return (
|
|
18899
|
+
function _apply_decs_2203_r34(targetClass, memberDecs, classDecs, parentClass) {
|
|
18900
|
+
return (_apply_decs_2203_r34 = applyDecs2203RFactory34())(targetClass, memberDecs, classDecs, parentClass);
|
|
17858
18901
|
}
|
|
17859
|
-
var
|
|
17860
|
-
var
|
|
17861
|
-
var
|
|
18902
|
+
var _dec71;
|
|
18903
|
+
var _initClass34;
|
|
18904
|
+
var _HTMLElement34;
|
|
17862
18905
|
var _Settings;
|
|
17863
|
-
|
|
18906
|
+
_dec71 = Component({
|
|
17864
18907
|
tag: "ease-icon-settings",
|
|
17865
18908
|
styles: `
|
|
17866
18909
|
:host {
|
|
@@ -17875,27 +18918,27 @@ _dec67 = Component({
|
|
|
17875
18918
|
}
|
|
17876
18919
|
`,
|
|
17877
18920
|
template() {
|
|
17878
|
-
return
|
|
18921
|
+
return import_lit_html36.html`
|
|
17879
18922
|
<svg viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
17880
18923
|
<path d="M2 5.33319L10 5.33319M10 5.33319C10 6.43776 10.8954 7.33319 12 7.33319C13.1046 7.33319 14 6.43776 14 5.33319C14 4.22862 13.1046 3.33319 12 3.33319C10.8954 3.33319 10 4.22862 10 5.33319ZM6 10.6665L14 10.6665M6 10.6665C6 11.7711 5.10457 12.6665 4 12.6665C2.89543 12.6665 2 11.7711 2 10.6665C2 9.56195 2.89543 8.66652 4 8.66652C5.10457 8.66652 6 9.56195 6 10.6665Z" />
|
|
17881
18924
|
</svg>
|
|
17882
18925
|
`;
|
|
17883
18926
|
}
|
|
17884
18927
|
});
|
|
17885
|
-
var Settings = class extends (
|
|
18928
|
+
var Settings = class extends (_HTMLElement34 = HTMLElement) {
|
|
17886
18929
|
static {
|
|
17887
|
-
({ c: [_Settings,
|
|
17888
|
-
|
|
17889
|
-
],
|
|
18930
|
+
({ c: [_Settings, _initClass34] } = _apply_decs_2203_r34(this, [], [
|
|
18931
|
+
_dec71
|
|
18932
|
+
], _HTMLElement34));
|
|
17890
18933
|
}
|
|
17891
18934
|
static {
|
|
17892
|
-
|
|
18935
|
+
_initClass34();
|
|
17893
18936
|
}
|
|
17894
18937
|
};
|
|
17895
18938
|
|
|
17896
|
-
// swc:/
|
|
17897
|
-
var
|
|
17898
|
-
function
|
|
18939
|
+
// swc:/Users/aaroniker/Documents/GitHub/ease/web-kit/packages/core/src/elements/logo/index.ts
|
|
18940
|
+
var import_lit_html37 = require("lit-html");
|
|
18941
|
+
function applyDecs2203RFactory35() {
|
|
17899
18942
|
function createAddInitializerMethod(initializers, decoratorFinishedRef) {
|
|
17900
18943
|
return function addInitializer(initializer) {
|
|
17901
18944
|
assertNotFinished(decoratorFinishedRef, "addInitializer");
|
|
@@ -18264,21 +19307,21 @@ function applyDecs2203RFactory33() {
|
|
|
18264
19307
|
};
|
|
18265
19308
|
};
|
|
18266
19309
|
}
|
|
18267
|
-
function
|
|
18268
|
-
return (
|
|
19310
|
+
function _apply_decs_2203_r35(targetClass, memberDecs, classDecs, parentClass) {
|
|
19311
|
+
return (_apply_decs_2203_r35 = applyDecs2203RFactory35())(targetClass, memberDecs, classDecs, parentClass);
|
|
18269
19312
|
}
|
|
18270
|
-
var
|
|
18271
|
-
var
|
|
18272
|
-
var
|
|
18273
|
-
var
|
|
18274
|
-
var
|
|
19313
|
+
var _dec74;
|
|
19314
|
+
var _initClass35;
|
|
19315
|
+
var _HTMLElement35;
|
|
19316
|
+
var _dec118;
|
|
19317
|
+
var _dec212;
|
|
18275
19318
|
var _dec310;
|
|
18276
19319
|
var _dec410;
|
|
18277
19320
|
var _init_loading;
|
|
18278
19321
|
var _init_intro;
|
|
18279
19322
|
var _init_size;
|
|
18280
19323
|
var _init_ariaLabel;
|
|
18281
|
-
var
|
|
19324
|
+
var _initProto14;
|
|
18282
19325
|
var CENTER = {
|
|
18283
19326
|
x: 74,
|
|
18284
19327
|
y: 74
|
|
@@ -18427,7 +19470,7 @@ var sortByAngle = (ids) => ids.map((id) => DOTS_DATA.find((d) => d.id === id)).f
|
|
|
18427
19470
|
var LOOP_DURATION = 1500;
|
|
18428
19471
|
var ROTATION_DURATION = 600;
|
|
18429
19472
|
var _LogoLoader;
|
|
18430
|
-
|
|
19473
|
+
_dec74 = Component({
|
|
18431
19474
|
tag: "ease-logo-loader",
|
|
18432
19475
|
styles: `
|
|
18433
19476
|
:host {
|
|
@@ -18607,7 +19650,7 @@ _dec68 = Component({
|
|
|
18607
19650
|
const state = host.state;
|
|
18608
19651
|
const ariaLabel = host.ariaLabel;
|
|
18609
19652
|
const ariaLabelTrimmed = ariaLabel?.trim() ?? "";
|
|
18610
|
-
return
|
|
19653
|
+
return import_lit_html37.html`
|
|
18611
19654
|
<div
|
|
18612
19655
|
class="logo-loader"
|
|
18613
19656
|
data-state=${state}
|
|
@@ -18656,14 +19699,14 @@ _dec68 = Component({
|
|
|
18656
19699
|
</div>
|
|
18657
19700
|
`;
|
|
18658
19701
|
}
|
|
18659
|
-
}),
|
|
19702
|
+
}), _dec118 = Prop({
|
|
18660
19703
|
type: Boolean,
|
|
18661
19704
|
attribute: "loading",
|
|
18662
19705
|
defaultValue: false,
|
|
18663
19706
|
onChange(next) {
|
|
18664
19707
|
this.handleLoadingChange(next);
|
|
18665
19708
|
}
|
|
18666
|
-
}),
|
|
19709
|
+
}), _dec212 = Prop({
|
|
18667
19710
|
type: "string",
|
|
18668
19711
|
attribute: "intro",
|
|
18669
19712
|
defaultValue: "wave"
|
|
@@ -18676,16 +19719,16 @@ _dec68 = Component({
|
|
|
18676
19719
|
attribute: "aria-label",
|
|
18677
19720
|
defaultValue: null
|
|
18678
19721
|
});
|
|
18679
|
-
var LogoLoader = class extends (
|
|
19722
|
+
var LogoLoader = class extends (_HTMLElement35 = HTMLElement) {
|
|
18680
19723
|
static {
|
|
18681
|
-
({ e: [_init_loading, _init_intro, _init_size, _init_ariaLabel,
|
|
19724
|
+
({ e: [_init_loading, _init_intro, _init_size, _init_ariaLabel, _initProto14], c: [_LogoLoader, _initClass35] } = _apply_decs_2203_r35(this, [
|
|
18682
19725
|
[
|
|
18683
|
-
|
|
19726
|
+
_dec118,
|
|
18684
19727
|
1,
|
|
18685
19728
|
"loading"
|
|
18686
19729
|
],
|
|
18687
19730
|
[
|
|
18688
|
-
|
|
19731
|
+
_dec212,
|
|
18689
19732
|
1,
|
|
18690
19733
|
"intro"
|
|
18691
19734
|
],
|
|
@@ -18700,8 +19743,8 @@ var LogoLoader = class extends (_HTMLElement33 = HTMLElement) {
|
|
|
18700
19743
|
"ariaLabel"
|
|
18701
19744
|
]
|
|
18702
19745
|
], [
|
|
18703
|
-
|
|
18704
|
-
],
|
|
19746
|
+
_dec74
|
|
19747
|
+
], _HTMLElement35));
|
|
18705
19748
|
}
|
|
18706
19749
|
#___private_loading_1;
|
|
18707
19750
|
get loading() {
|
|
@@ -19129,15 +20172,15 @@ var LogoLoader = class extends (_HTMLElement33 = HTMLElement) {
|
|
|
19129
20172
|
}
|
|
19130
20173
|
}
|
|
19131
20174
|
static {
|
|
19132
|
-
|
|
20175
|
+
_initClass35();
|
|
19133
20176
|
}
|
|
19134
20177
|
constructor(...args) {
|
|
19135
|
-
super(...args), this.#___private_loading_1 = (
|
|
20178
|
+
super(...args), this.#___private_loading_1 = (_initProto14(this), _init_loading(this, false)), this.#___private_intro_2 = _init_intro(this, "wave"), this.#___private_size_3 = _init_size(this, 36), this.#___private_ariaLabel_4 = _init_ariaLabel(this, null), this.#state = "intro", this.#loopStartTime = 0, this.#animationTimers = [], this.#introCompleted = false;
|
|
19136
20179
|
}
|
|
19137
20180
|
};
|
|
19138
20181
|
|
|
19139
|
-
// swc:/
|
|
19140
|
-
var
|
|
20182
|
+
// swc:/Users/aaroniker/Documents/GitHub/ease/web-kit/packages/core/src/elements/monitor/index.ts
|
|
20183
|
+
var import_lit_html39 = require("lit-html");
|
|
19141
20184
|
|
|
19142
20185
|
// src/decorators/Watch.ts
|
|
19143
20186
|
var renderQueue2 = /* @__PURE__ */ new WeakMap();
|
|
@@ -19190,9 +20233,9 @@ function Watch(options = {}) {
|
|
|
19190
20233
|
};
|
|
19191
20234
|
}
|
|
19192
20235
|
|
|
19193
|
-
// swc:/
|
|
19194
|
-
var
|
|
19195
|
-
function
|
|
20236
|
+
// swc:/Users/aaroniker/Documents/GitHub/ease/web-kit/packages/core/src/elements/monitor/fps.ts
|
|
20237
|
+
var import_lit_html38 = require("lit-html");
|
|
20238
|
+
function applyDecs2203RFactory36() {
|
|
19196
20239
|
function createAddInitializerMethod(initializers, decoratorFinishedRef) {
|
|
19197
20240
|
return function addInitializer(initializer) {
|
|
19198
20241
|
assertNotFinished(decoratorFinishedRef, "addInitializer");
|
|
@@ -19561,17 +20604,17 @@ function applyDecs2203RFactory34() {
|
|
|
19561
20604
|
};
|
|
19562
20605
|
};
|
|
19563
20606
|
}
|
|
19564
|
-
function
|
|
19565
|
-
return (
|
|
20607
|
+
function _apply_decs_2203_r36(targetClass, memberDecs, classDecs, parentClass) {
|
|
20608
|
+
return (_apply_decs_2203_r36 = applyDecs2203RFactory36())(targetClass, memberDecs, classDecs, parentClass);
|
|
19566
20609
|
}
|
|
19567
|
-
var
|
|
19568
|
-
var
|
|
19569
|
-
var
|
|
19570
|
-
var
|
|
19571
|
-
var
|
|
20610
|
+
var _dec75;
|
|
20611
|
+
var _initClass36;
|
|
20612
|
+
var _HTMLElement36;
|
|
20613
|
+
var _dec119;
|
|
20614
|
+
var _dec213;
|
|
19572
20615
|
var _init_paused;
|
|
19573
20616
|
var _init_canvasEl;
|
|
19574
|
-
var
|
|
20617
|
+
var _initProto15;
|
|
19575
20618
|
var clamp = (value, min, max) => Math.max(min, Math.min(max, value));
|
|
19576
20619
|
var mean = (values) => {
|
|
19577
20620
|
if (values.length === 0) {
|
|
@@ -19628,7 +20671,7 @@ var rateFps = (fps, targetFps) => {
|
|
|
19628
20671
|
return "poor";
|
|
19629
20672
|
};
|
|
19630
20673
|
var _MonitorFps;
|
|
19631
|
-
|
|
20674
|
+
_dec75 = Component({
|
|
19632
20675
|
tag: "ease-monitor-fps",
|
|
19633
20676
|
autoSlot: false,
|
|
19634
20677
|
shadowMode: "open",
|
|
@@ -19728,27 +20771,27 @@ _dec69 = Component({
|
|
|
19728
20771
|
color: var(--color-gray-700);
|
|
19729
20772
|
}
|
|
19730
20773
|
`
|
|
19731
|
-
}),
|
|
20774
|
+
}), _dec119 = Prop({
|
|
19732
20775
|
type: Boolean,
|
|
19733
20776
|
reflect: true,
|
|
19734
20777
|
defaultValue: false
|
|
19735
|
-
}),
|
|
19736
|
-
var MonitorFps = class extends (
|
|
20778
|
+
}), _dec213 = Query('canvas[part="graph"]');
|
|
20779
|
+
var MonitorFps = class extends (_HTMLElement36 = HTMLElement) {
|
|
19737
20780
|
static {
|
|
19738
|
-
({ e: [_init_paused, _init_canvasEl,
|
|
20781
|
+
({ e: [_init_paused, _init_canvasEl, _initProto15], c: [_MonitorFps, _initClass36] } = _apply_decs_2203_r36(this, [
|
|
19739
20782
|
[
|
|
19740
|
-
|
|
20783
|
+
_dec119,
|
|
19741
20784
|
1,
|
|
19742
20785
|
"paused"
|
|
19743
20786
|
],
|
|
19744
20787
|
[
|
|
19745
|
-
|
|
20788
|
+
_dec213,
|
|
19746
20789
|
1,
|
|
19747
20790
|
"canvasEl"
|
|
19748
20791
|
]
|
|
19749
20792
|
], [
|
|
19750
|
-
|
|
19751
|
-
],
|
|
20793
|
+
_dec75
|
|
20794
|
+
], _HTMLElement36));
|
|
19752
20795
|
}
|
|
19753
20796
|
#___private_paused_1;
|
|
19754
20797
|
get paused() {
|
|
@@ -19797,7 +20840,7 @@ var MonitorFps = class extends (_HTMLElement34 = HTMLElement) {
|
|
|
19797
20840
|
this.#data.frameTimeAvg !== null ? `avg ${formatMs(this.#data.frameTimeAvg)}` : null,
|
|
19798
20841
|
this.#data.frameTimeP95 !== null ? `p95 ${formatMs(this.#data.frameTimeP95)}` : null
|
|
19799
20842
|
].filter(Boolean);
|
|
19800
|
-
return
|
|
20843
|
+
return import_lit_html38.html`
|
|
19801
20844
|
<div part="container">
|
|
19802
20845
|
<div part="header">
|
|
19803
20846
|
<div part="title">
|
|
@@ -19977,10 +21020,10 @@ var MonitorFps = class extends (_HTMLElement34 = HTMLElement) {
|
|
|
19977
21020
|
ctx.stroke();
|
|
19978
21021
|
}
|
|
19979
21022
|
static {
|
|
19980
|
-
|
|
21023
|
+
_initClass36();
|
|
19981
21024
|
}
|
|
19982
21025
|
constructor(...args) {
|
|
19983
|
-
super(...args), this.#___private_paused_1 = (
|
|
21026
|
+
super(...args), this.#___private_paused_1 = (_initProto15(this), _init_paused(this, false)), this.#___private_canvasEl_2 = _init_canvasEl(this), this.#rafId = null, this.#lastNow = 0, this.#lastSampleNow = 0, this.#framesSinceSample = 0, this.#frameDeltas = [], this.#fpsSamples = [], this.#maxFrameDeltas = 240, this.#maxFpsSamples = 90, this.#sampleIntervalMs = 250, this.#statsWindowFrames = 120, this.#data = {
|
|
19984
21027
|
fps: null,
|
|
19985
21028
|
refreshRate: null,
|
|
19986
21029
|
frameTimeAvg: null,
|
|
@@ -20029,8 +21072,8 @@ var MonitorFps = class extends (_HTMLElement34 = HTMLElement) {
|
|
|
20029
21072
|
}
|
|
20030
21073
|
};
|
|
20031
21074
|
|
|
20032
|
-
// swc:/
|
|
20033
|
-
function
|
|
21075
|
+
// swc:/Users/aaroniker/Documents/GitHub/ease/web-kit/packages/core/src/elements/monitor/index.ts
|
|
21076
|
+
function applyDecs2203RFactory37() {
|
|
20034
21077
|
function createAddInitializerMethod(initializers, decoratorFinishedRef) {
|
|
20035
21078
|
return function addInitializer(initializer) {
|
|
20036
21079
|
assertNotFinished(decoratorFinishedRef, "addInitializer");
|
|
@@ -20399,18 +21442,18 @@ function applyDecs2203RFactory35() {
|
|
|
20399
21442
|
};
|
|
20400
21443
|
};
|
|
20401
21444
|
}
|
|
20402
|
-
function
|
|
20403
|
-
return (
|
|
21445
|
+
function _apply_decs_2203_r37(targetClass, memberDecs, classDecs, parentClass) {
|
|
21446
|
+
return (_apply_decs_2203_r37 = applyDecs2203RFactory37())(targetClass, memberDecs, classDecs, parentClass);
|
|
20404
21447
|
}
|
|
20405
|
-
var
|
|
20406
|
-
var
|
|
20407
|
-
var
|
|
20408
|
-
var
|
|
20409
|
-
var
|
|
21448
|
+
var _dec76;
|
|
21449
|
+
var _initClass37;
|
|
21450
|
+
var _HTMLElement37;
|
|
21451
|
+
var _dec120;
|
|
21452
|
+
var _dec214;
|
|
20410
21453
|
var _dec311;
|
|
20411
21454
|
var _init_metrics;
|
|
20412
21455
|
var _init_network;
|
|
20413
|
-
var
|
|
21456
|
+
var _initProto16;
|
|
20414
21457
|
var METRIC_THRESHOLDS = {
|
|
20415
21458
|
LCP: {
|
|
20416
21459
|
good: 2500,
|
|
@@ -20520,7 +21563,7 @@ var estimateCarbonFootprint = (totalBytes) => {
|
|
|
20520
21563
|
return `${emissions.toFixed(3)}g CO2 eq.`;
|
|
20521
21564
|
};
|
|
20522
21565
|
var _Monitor;
|
|
20523
|
-
|
|
21566
|
+
_dec76 = Component({
|
|
20524
21567
|
tag: "ease-monitor",
|
|
20525
21568
|
styles: `
|
|
20526
21569
|
:host {
|
|
@@ -20644,17 +21687,17 @@ _dec70 = Component({
|
|
|
20644
21687
|
text-align: center;
|
|
20645
21688
|
}
|
|
20646
21689
|
`
|
|
20647
|
-
}),
|
|
20648
|
-
var Monitor = class extends (
|
|
21690
|
+
}), _dec120 = Watch({}), _dec214 = Watch({}), _dec311 = Listen("monitor-fps");
|
|
21691
|
+
var Monitor = class extends (_HTMLElement37 = HTMLElement) {
|
|
20649
21692
|
static {
|
|
20650
|
-
({ e: [_init_metrics, _init_network,
|
|
21693
|
+
({ e: [_init_metrics, _init_network, _initProto16], c: [_Monitor, _initClass37] } = _apply_decs_2203_r37(this, [
|
|
20651
21694
|
[
|
|
20652
|
-
|
|
21695
|
+
_dec120,
|
|
20653
21696
|
1,
|
|
20654
21697
|
"metrics"
|
|
20655
21698
|
],
|
|
20656
21699
|
[
|
|
20657
|
-
|
|
21700
|
+
_dec214,
|
|
20658
21701
|
1,
|
|
20659
21702
|
"network"
|
|
20660
21703
|
],
|
|
@@ -20664,8 +21707,8 @@ var Monitor = class extends (_HTMLElement35 = HTMLElement) {
|
|
|
20664
21707
|
"handleFpsUpdate"
|
|
20665
21708
|
]
|
|
20666
21709
|
], [
|
|
20667
|
-
|
|
20668
|
-
],
|
|
21710
|
+
_dec76
|
|
21711
|
+
], _HTMLElement37));
|
|
20669
21712
|
}
|
|
20670
21713
|
#___private_metrics_1;
|
|
20671
21714
|
get metrics() {
|
|
@@ -20970,14 +22013,14 @@ var Monitor = class extends (_HTMLElement35 = HTMLElement) {
|
|
|
20970
22013
|
return "unknown";
|
|
20971
22014
|
}
|
|
20972
22015
|
render() {
|
|
20973
|
-
return
|
|
22016
|
+
return import_lit_html39.html`
|
|
20974
22017
|
<div part="container">
|
|
20975
22018
|
${this.renderExpanded()}
|
|
20976
22019
|
</div>
|
|
20977
22020
|
`;
|
|
20978
22021
|
}
|
|
20979
22022
|
renderExpanded() {
|
|
20980
|
-
return
|
|
22023
|
+
return import_lit_html39.html`
|
|
20981
22024
|
<div part="header">
|
|
20982
22025
|
<div part="title">
|
|
20983
22026
|
<svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polyline points="23 6 13.5 15.5 8.5 10.5 1 18"></polyline><polyline points="17 6 23 6 23 12"></polyline></svg>
|
|
@@ -20998,7 +22041,7 @@ var Monitor = class extends (_HTMLElement35 = HTMLElement) {
|
|
|
20998
22041
|
const trend = this.getTrendDirection(key);
|
|
20999
22042
|
const benchmark = GLOBAL_BENCHMARKS[key];
|
|
21000
22043
|
const vsBenchmark = benchmark ? ` (vs avg ${formatMetric(key, benchmark)})` : "";
|
|
21001
|
-
return
|
|
22044
|
+
return import_lit_html39.html`
|
|
21002
22045
|
<div class="metric-box" title="${description}${vsBenchmark}">
|
|
21003
22046
|
<div part="metric-label" class="metric-label">${label}</div>
|
|
21004
22047
|
<div part="metric-value" class="metric-value rating-${rating}" data-rating=${rating}>
|
|
@@ -21011,7 +22054,7 @@ var Monitor = class extends (_HTMLElement35 = HTMLElement) {
|
|
|
21011
22054
|
renderVitalsAndTiming() {
|
|
21012
22055
|
const { LCP, INP, CLS, FCP, TBT } = this.metrics.coreWebVitals;
|
|
21013
22056
|
const { ttfb, loadTime } = this.metrics.navigation;
|
|
21014
|
-
return
|
|
22057
|
+
return import_lit_html39.html`
|
|
21015
22058
|
<section>
|
|
21016
22059
|
<div part="section-title" class="section-title">Vitals & Timing</div>
|
|
21017
22060
|
<div class="metrics-grid">
|
|
@@ -21028,7 +22071,7 @@ var Monitor = class extends (_HTMLElement35 = HTMLElement) {
|
|
|
21028
22071
|
}
|
|
21029
22072
|
renderRealtime() {
|
|
21030
22073
|
const { memory, longTasks } = this.metrics;
|
|
21031
|
-
return
|
|
22074
|
+
return import_lit_html39.html`
|
|
21032
22075
|
<section>
|
|
21033
22076
|
<div part="section-title" class="section-title">Realtime Monitoring</div>
|
|
21034
22077
|
<ease-monitor-fps></ease-monitor-fps>
|
|
@@ -21042,7 +22085,7 @@ var Monitor = class extends (_HTMLElement35 = HTMLElement) {
|
|
|
21042
22085
|
}
|
|
21043
22086
|
renderMemory(memory) {
|
|
21044
22087
|
if (!memory) {
|
|
21045
|
-
return
|
|
22088
|
+
return import_lit_html39.html`
|
|
21046
22089
|
<div class="memory-usage">
|
|
21047
22090
|
(performance.memory API not supported)
|
|
21048
22091
|
</div>
|
|
@@ -21055,7 +22098,7 @@ var Monitor = class extends (_HTMLElement35 = HTMLElement) {
|
|
|
21055
22098
|
} else if (usedPercent > 60) {
|
|
21056
22099
|
rating = "needs-improvement";
|
|
21057
22100
|
}
|
|
21058
|
-
return
|
|
22101
|
+
return import_lit_html39.html`
|
|
21059
22102
|
<div class="memory-usage">
|
|
21060
22103
|
<div class="resource-item">
|
|
21061
22104
|
<span>Used / Total Heap</span>
|
|
@@ -21075,7 +22118,7 @@ var Monitor = class extends (_HTMLElement35 = HTMLElement) {
|
|
|
21075
22118
|
}
|
|
21076
22119
|
renderNetworkInfo() {
|
|
21077
22120
|
const { effectiveType, rtt } = this.network;
|
|
21078
|
-
return
|
|
22121
|
+
return import_lit_html39.html`
|
|
21079
22122
|
<section>
|
|
21080
22123
|
<div part="section-title" class="section-title">Network Connection</div>
|
|
21081
22124
|
<div class="network-info">
|
|
@@ -21094,13 +22137,13 @@ var Monitor = class extends (_HTMLElement35 = HTMLElement) {
|
|
|
21094
22137
|
renderResources() {
|
|
21095
22138
|
const { js, css, img, other, totalSize } = this.metrics.resources;
|
|
21096
22139
|
const totalCount = js.count + css.count + img.count + other.count;
|
|
21097
|
-
const renderItem = (label, data) =>
|
|
22140
|
+
const renderItem = (label, data) => import_lit_html39.html`
|
|
21098
22141
|
<div class="resource-item">
|
|
21099
22142
|
<span>${label} (${data.count})</span>
|
|
21100
22143
|
<span>${formatBytes(data.size)}</span>
|
|
21101
22144
|
</div>
|
|
21102
22145
|
`;
|
|
21103
|
-
return
|
|
22146
|
+
return import_lit_html39.html`
|
|
21104
22147
|
<section>
|
|
21105
22148
|
<div part="section-title" class="section-title">Resources (Total: ${formatBytes(totalSize)} / ${totalCount} reqs)</div>
|
|
21106
22149
|
<div class="resource-list">
|
|
@@ -21119,10 +22162,10 @@ var Monitor = class extends (_HTMLElement35 = HTMLElement) {
|
|
|
21119
22162
|
`;
|
|
21120
22163
|
}
|
|
21121
22164
|
static {
|
|
21122
|
-
|
|
22165
|
+
_initClass37();
|
|
21123
22166
|
}
|
|
21124
22167
|
constructor(...args) {
|
|
21125
|
-
super(...args), this.#___private_metrics_1 = (
|
|
22168
|
+
super(...args), this.#___private_metrics_1 = (_initProto16(this), _init_metrics(this, {
|
|
21126
22169
|
navigation: {
|
|
21127
22170
|
loadTime: null,
|
|
21128
22171
|
domInteractive: null,
|
|
@@ -21179,9 +22222,9 @@ var Monitor = class extends (_HTMLElement35 = HTMLElement) {
|
|
|
21179
22222
|
}
|
|
21180
22223
|
};
|
|
21181
22224
|
|
|
21182
|
-
// swc:/
|
|
21183
|
-
var
|
|
21184
|
-
function
|
|
22225
|
+
// swc:/Users/aaroniker/Documents/GitHub/ease/web-kit/packages/core/src/elements/number/index.ts
|
|
22226
|
+
var import_lit_html40 = require("lit-html");
|
|
22227
|
+
function applyDecs2203RFactory38() {
|
|
21185
22228
|
function createAddInitializerMethod(initializers, decoratorFinishedRef) {
|
|
21186
22229
|
return function addInitializer(initializer) {
|
|
21187
22230
|
assertNotFinished(decoratorFinishedRef, "addInitializer");
|
|
@@ -21550,19 +22593,19 @@ function applyDecs2203RFactory36() {
|
|
|
21550
22593
|
};
|
|
21551
22594
|
};
|
|
21552
22595
|
}
|
|
21553
|
-
function
|
|
21554
|
-
return (
|
|
22596
|
+
function _apply_decs_2203_r38(targetClass, memberDecs, classDecs, parentClass) {
|
|
22597
|
+
return (_apply_decs_2203_r38 = applyDecs2203RFactory38())(targetClass, memberDecs, classDecs, parentClass);
|
|
21555
22598
|
}
|
|
21556
|
-
var
|
|
21557
|
-
var
|
|
21558
|
-
var
|
|
21559
|
-
var
|
|
21560
|
-
var
|
|
22599
|
+
var _dec77;
|
|
22600
|
+
var _initClass38;
|
|
22601
|
+
var _HTMLElement38;
|
|
22602
|
+
var _dec121;
|
|
22603
|
+
var _dec215;
|
|
21561
22604
|
var _dec312;
|
|
21562
22605
|
var _dec411;
|
|
21563
22606
|
var _dec510;
|
|
21564
22607
|
var _dec610;
|
|
21565
|
-
var
|
|
22608
|
+
var _dec78;
|
|
21566
22609
|
var _dec84;
|
|
21567
22610
|
var _dec94;
|
|
21568
22611
|
var _init_value6;
|
|
@@ -21572,9 +22615,9 @@ var _init_step;
|
|
|
21572
22615
|
var _init_name4;
|
|
21573
22616
|
var _init_disabled6;
|
|
21574
22617
|
var _init_control3;
|
|
21575
|
-
var
|
|
22618
|
+
var _initProto17;
|
|
21576
22619
|
var _NumberInput;
|
|
21577
|
-
|
|
22620
|
+
_dec77 = Component({
|
|
21578
22621
|
tag: "ease-number-input",
|
|
21579
22622
|
styles: `
|
|
21580
22623
|
:host {
|
|
@@ -21619,7 +22662,7 @@ _dec71 = Component({
|
|
|
21619
22662
|
}
|
|
21620
22663
|
`,
|
|
21621
22664
|
template() {
|
|
21622
|
-
return
|
|
22665
|
+
return import_lit_html40.html`
|
|
21623
22666
|
<div part="container">
|
|
21624
22667
|
<ease-input
|
|
21625
22668
|
part="control"
|
|
@@ -21656,10 +22699,10 @@ _dec71 = Component({
|
|
|
21656
22699
|
</div>
|
|
21657
22700
|
`;
|
|
21658
22701
|
}
|
|
21659
|
-
}),
|
|
22702
|
+
}), _dec121 = Prop({
|
|
21660
22703
|
type: Number,
|
|
21661
22704
|
reflect: true
|
|
21662
|
-
}),
|
|
22705
|
+
}), _dec215 = Prop({
|
|
21663
22706
|
type: Number,
|
|
21664
22707
|
reflect: true
|
|
21665
22708
|
}), _dec312 = Prop({
|
|
@@ -21673,21 +22716,21 @@ _dec71 = Component({
|
|
|
21673
22716
|
}), _dec610 = Prop({
|
|
21674
22717
|
type: Boolean,
|
|
21675
22718
|
reflect: true
|
|
21676
|
-
}),
|
|
22719
|
+
}), _dec78 = Query("input"), _dec84 = Listen("input", {
|
|
21677
22720
|
selector: "input"
|
|
21678
22721
|
}), _dec94 = Listen("change", {
|
|
21679
22722
|
selector: "input"
|
|
21680
22723
|
});
|
|
21681
|
-
var NumberInput = class extends (
|
|
22724
|
+
var NumberInput = class extends (_HTMLElement38 = HTMLElement) {
|
|
21682
22725
|
static {
|
|
21683
|
-
({ e: [_init_value6, _init_min, _init_max, _init_step, _init_name4, _init_disabled6, _init_control3,
|
|
22726
|
+
({ e: [_init_value6, _init_min, _init_max, _init_step, _init_name4, _init_disabled6, _init_control3, _initProto17], c: [_NumberInput, _initClass38] } = _apply_decs_2203_r38(this, [
|
|
21684
22727
|
[
|
|
21685
|
-
|
|
22728
|
+
_dec121,
|
|
21686
22729
|
1,
|
|
21687
22730
|
"value"
|
|
21688
22731
|
],
|
|
21689
22732
|
[
|
|
21690
|
-
|
|
22733
|
+
_dec215,
|
|
21691
22734
|
1,
|
|
21692
22735
|
"min"
|
|
21693
22736
|
],
|
|
@@ -21712,7 +22755,7 @@ var NumberInput = class extends (_HTMLElement36 = HTMLElement) {
|
|
|
21712
22755
|
"disabled"
|
|
21713
22756
|
],
|
|
21714
22757
|
[
|
|
21715
|
-
|
|
22758
|
+
_dec78,
|
|
21716
22759
|
1,
|
|
21717
22760
|
"control"
|
|
21718
22761
|
],
|
|
@@ -21727,8 +22770,8 @@ var NumberInput = class extends (_HTMLElement36 = HTMLElement) {
|
|
|
21727
22770
|
"handleChange"
|
|
21728
22771
|
]
|
|
21729
22772
|
], [
|
|
21730
|
-
|
|
21731
|
-
],
|
|
22773
|
+
_dec77
|
|
22774
|
+
], _HTMLElement38));
|
|
21732
22775
|
}
|
|
21733
22776
|
#___private_value_1;
|
|
21734
22777
|
get value() {
|
|
@@ -21845,16 +22888,16 @@ var NumberInput = class extends (_HTMLElement36 = HTMLElement) {
|
|
|
21845
22888
|
}
|
|
21846
22889
|
}
|
|
21847
22890
|
static {
|
|
21848
|
-
|
|
22891
|
+
_initClass38();
|
|
21849
22892
|
}
|
|
21850
22893
|
constructor(...args) {
|
|
21851
|
-
super(...args), this.#___private_value_1 = (
|
|
22894
|
+
super(...args), this.#___private_value_1 = (_initProto17(this), _init_value6(this)), this.#___private_min_2 = _init_min(this), this.#___private_max_3 = _init_max(this), this.#___private_step_4 = _init_step(this), this.#___private_name_5 = _init_name4(this), this.#___private_disabled_6 = _init_disabled6(this), this.#___private_control_7 = _init_control3(this);
|
|
21852
22895
|
}
|
|
21853
22896
|
};
|
|
21854
22897
|
|
|
21855
|
-
// swc:/
|
|
21856
|
-
var
|
|
21857
|
-
function
|
|
22898
|
+
// swc:/Users/aaroniker/Documents/GitHub/ease/web-kit/packages/core/src/elements/origin/index.ts
|
|
22899
|
+
var import_lit_html41 = require("lit-html");
|
|
22900
|
+
function applyDecs2203RFactory39() {
|
|
21858
22901
|
function createAddInitializerMethod(initializers, decoratorFinishedRef) {
|
|
21859
22902
|
return function addInitializer(initializer) {
|
|
21860
22903
|
assertNotFinished(decoratorFinishedRef, "addInitializer");
|
|
@@ -22223,14 +23266,14 @@ function applyDecs2203RFactory37() {
|
|
|
22223
23266
|
};
|
|
22224
23267
|
};
|
|
22225
23268
|
}
|
|
22226
|
-
function
|
|
22227
|
-
return (
|
|
23269
|
+
function _apply_decs_2203_r39(targetClass, memberDecs, classDecs, parentClass) {
|
|
23270
|
+
return (_apply_decs_2203_r39 = applyDecs2203RFactory39())(targetClass, memberDecs, classDecs, parentClass);
|
|
22228
23271
|
}
|
|
22229
|
-
var
|
|
22230
|
-
var
|
|
22231
|
-
var
|
|
22232
|
-
var
|
|
22233
|
-
var
|
|
23272
|
+
var _dec79;
|
|
23273
|
+
var _initClass39;
|
|
23274
|
+
var _HTMLElement39;
|
|
23275
|
+
var _dec123;
|
|
23276
|
+
var _dec216;
|
|
22234
23277
|
var _dec313;
|
|
22235
23278
|
var _dec412;
|
|
22236
23279
|
var _dec511;
|
|
@@ -22238,9 +23281,9 @@ var _init_value7;
|
|
|
22238
23281
|
var _init_disabled7;
|
|
22239
23282
|
var _init_control4;
|
|
22240
23283
|
var _init_name5;
|
|
22241
|
-
var
|
|
23284
|
+
var _initProto18;
|
|
22242
23285
|
var _Origin;
|
|
22243
|
-
|
|
23286
|
+
_dec79 = Component({
|
|
22244
23287
|
tag: "ease-origin",
|
|
22245
23288
|
styles: `
|
|
22246
23289
|
:host {
|
|
@@ -22352,7 +23395,7 @@ _dec75 = Component({
|
|
|
22352
23395
|
}
|
|
22353
23396
|
`,
|
|
22354
23397
|
template() {
|
|
22355
|
-
return
|
|
23398
|
+
return import_lit_html41.html`
|
|
22356
23399
|
<div part="container">
|
|
22357
23400
|
<div part="preview" data-value=${this.value ?? "center-center"}></div>
|
|
22358
23401
|
|
|
@@ -22372,10 +23415,10 @@ _dec75 = Component({
|
|
|
22372
23415
|
</div>
|
|
22373
23416
|
`;
|
|
22374
23417
|
}
|
|
22375
|
-
}),
|
|
23418
|
+
}), _dec123 = Prop({
|
|
22376
23419
|
reflect: true,
|
|
22377
23420
|
defaultValue: "center-center"
|
|
22378
|
-
}),
|
|
23421
|
+
}), _dec216 = Prop({
|
|
22379
23422
|
type: Boolean,
|
|
22380
23423
|
reflect: true
|
|
22381
23424
|
}), _dec313 = Query("ease-dropdown"), _dec412 = Prop({
|
|
@@ -22384,16 +23427,16 @@ _dec75 = Component({
|
|
|
22384
23427
|
}), _dec511 = Listen("change", {
|
|
22385
23428
|
selector: "ease-dropdown"
|
|
22386
23429
|
});
|
|
22387
|
-
var Origin = class extends (
|
|
23430
|
+
var Origin = class extends (_HTMLElement39 = HTMLElement) {
|
|
22388
23431
|
static {
|
|
22389
|
-
({ e: [_init_value7, _init_disabled7, _init_control4, _init_name5,
|
|
23432
|
+
({ e: [_init_value7, _init_disabled7, _init_control4, _init_name5, _initProto18], c: [_Origin, _initClass39] } = _apply_decs_2203_r39(this, [
|
|
22390
23433
|
[
|
|
22391
|
-
|
|
23434
|
+
_dec123,
|
|
22392
23435
|
1,
|
|
22393
23436
|
"value"
|
|
22394
23437
|
],
|
|
22395
23438
|
[
|
|
22396
|
-
|
|
23439
|
+
_dec216,
|
|
22397
23440
|
1,
|
|
22398
23441
|
"disabled"
|
|
22399
23442
|
],
|
|
@@ -22413,8 +23456,8 @@ var Origin = class extends (_HTMLElement37 = HTMLElement) {
|
|
|
22413
23456
|
"handleChange"
|
|
22414
23457
|
]
|
|
22415
23458
|
], [
|
|
22416
|
-
|
|
22417
|
-
],
|
|
23459
|
+
_dec79
|
|
23460
|
+
], _HTMLElement39));
|
|
22418
23461
|
}
|
|
22419
23462
|
#___private_value_1;
|
|
22420
23463
|
get value() {
|
|
@@ -22458,10 +23501,10 @@ var Origin = class extends (_HTMLElement37 = HTMLElement) {
|
|
|
22458
23501
|
});
|
|
22459
23502
|
}
|
|
22460
23503
|
static {
|
|
22461
|
-
|
|
23504
|
+
_initClass39();
|
|
22462
23505
|
}
|
|
22463
23506
|
constructor(...args) {
|
|
22464
|
-
super(...args), this.#___private_value_1 = (
|
|
23507
|
+
super(...args), this.#___private_value_1 = (_initProto18(this), _init_value7(this, "center-center")), this.#___private_disabled_2 = _init_disabled7(this), this.#___private_control_3 = _init_control4(this), this.#___private_name_4 = _init_name5(this, ""), this.handleValueChange = (event) => {
|
|
22465
23508
|
this.value = String(this.control?.value ?? "center-center");
|
|
22466
23509
|
dispatchControlEvent(this, "change", {
|
|
22467
23510
|
value: this.value,
|
|
@@ -22471,9 +23514,9 @@ var Origin = class extends (_HTMLElement37 = HTMLElement) {
|
|
|
22471
23514
|
}
|
|
22472
23515
|
};
|
|
22473
23516
|
|
|
22474
|
-
// swc:/
|
|
22475
|
-
var
|
|
22476
|
-
function
|
|
23517
|
+
// swc:/Users/aaroniker/Documents/GitHub/ease/web-kit/packages/core/src/elements/panel/index.ts
|
|
23518
|
+
var import_lit_html42 = require("lit-html");
|
|
23519
|
+
function applyDecs2203RFactory40() {
|
|
22477
23520
|
function createAddInitializerMethod(initializers, decoratorFinishedRef) {
|
|
22478
23521
|
return function addInitializer(initializer) {
|
|
22479
23522
|
assertNotFinished(decoratorFinishedRef, "addInitializer");
|
|
@@ -22842,42 +23885,53 @@ function applyDecs2203RFactory38() {
|
|
|
22842
23885
|
};
|
|
22843
23886
|
};
|
|
22844
23887
|
}
|
|
22845
|
-
function
|
|
22846
|
-
return (
|
|
23888
|
+
function _apply_decs_2203_r40(targetClass, memberDecs, classDecs, parentClass) {
|
|
23889
|
+
return (_apply_decs_2203_r40 = applyDecs2203RFactory40())(targetClass, memberDecs, classDecs, parentClass);
|
|
22847
23890
|
}
|
|
22848
|
-
var
|
|
22849
|
-
var
|
|
22850
|
-
var
|
|
22851
|
-
var
|
|
22852
|
-
var
|
|
23891
|
+
var _dec80;
|
|
23892
|
+
var _initClass40;
|
|
23893
|
+
var _HTMLElement40;
|
|
23894
|
+
var _dec124;
|
|
23895
|
+
var _dec217;
|
|
22853
23896
|
var _dec314;
|
|
22854
23897
|
var _dec413;
|
|
22855
23898
|
var _dec512;
|
|
23899
|
+
var _dec611;
|
|
23900
|
+
var _dec710;
|
|
22856
23901
|
var _init_activeTab;
|
|
22857
|
-
var
|
|
23902
|
+
var _init_headline2;
|
|
23903
|
+
var _init_maxHeight3;
|
|
23904
|
+
var _init_contentElement2;
|
|
22858
23905
|
var _init_bodyElement;
|
|
22859
|
-
var
|
|
23906
|
+
var _initProto19;
|
|
22860
23907
|
var _Panel;
|
|
22861
|
-
|
|
23908
|
+
_dec80 = Component({
|
|
22862
23909
|
tag: "ease-panel",
|
|
22863
23910
|
shadowMode: "open",
|
|
22864
23911
|
styles: `
|
|
22865
|
-
|
|
22866
|
-
|
|
22867
|
-
|
|
23912
|
+
@property --top-fade {
|
|
23913
|
+
syntax: "<length>";
|
|
23914
|
+
inherits: false;
|
|
23915
|
+
initial-value: 0px;
|
|
23916
|
+
}
|
|
23917
|
+
|
|
23918
|
+
@property --bottom-fade {
|
|
23919
|
+
syntax: "<length>";
|
|
23920
|
+
inherits: false;
|
|
23921
|
+
initial-value: 0px;
|
|
22868
23922
|
}
|
|
22869
23923
|
|
|
22870
23924
|
[part="section"] {
|
|
22871
23925
|
display: block;
|
|
22872
23926
|
width: 100%;
|
|
22873
|
-
max-width: var(--ease-panel-max-width
|
|
22874
|
-
border-radius: var(--ease-panel-radius
|
|
22875
|
-
border: 1px solid var(--ease-panel-border-color
|
|
23927
|
+
max-width: var(--ease-panel-max-width);
|
|
23928
|
+
border-radius: var(--ease-panel-radius);
|
|
23929
|
+
border: 1px solid var(--ease-panel-border-color);
|
|
22876
23930
|
background-clip: padding-box;
|
|
22877
|
-
background: var(--ease-panel-background
|
|
22878
|
-
box-shadow: var(--ease-panel-shadow
|
|
23931
|
+
background-color: var(--ease-panel-background);
|
|
23932
|
+
box-shadow: var(--ease-panel-shadow);
|
|
22879
23933
|
box-sizing: border-box;
|
|
22880
|
-
padding: var(--ease-panel-padding
|
|
23934
|
+
padding: var(--ease-panel-padding);
|
|
22881
23935
|
margin: auto;
|
|
22882
23936
|
}
|
|
22883
23937
|
|
|
@@ -22886,7 +23940,7 @@ _dec76 = Component({
|
|
|
22886
23940
|
align-items: center;
|
|
22887
23941
|
gap: 8px;
|
|
22888
23942
|
width: 100%;
|
|
22889
|
-
margin-bottom:
|
|
23943
|
+
margin-bottom: var(--ease-panel-header-spacing);
|
|
22890
23944
|
}
|
|
22891
23945
|
|
|
22892
23946
|
[part="header"]:not(:has([part="headline"] slot[name="headline"]::slotted(*))):not(:has([part="tabs"]:not(:empty))):not(:has([part="actions"] slot[name="actions"]::slotted(*))) {
|
|
@@ -22895,14 +23949,14 @@ _dec76 = Component({
|
|
|
22895
23949
|
}
|
|
22896
23950
|
|
|
22897
23951
|
[part="headline"] {
|
|
22898
|
-
font-size: var(--ease-panel-title-font-size
|
|
22899
|
-
font-weight: var(--ease-panel-title-font-weight
|
|
22900
|
-
line-height:
|
|
22901
|
-
font-family: var(--ease-font-family
|
|
22902
|
-
color: var(--ease-panel-title-color
|
|
23952
|
+
font-size: var(--ease-panel-title-font-size);
|
|
23953
|
+
font-weight: var(--ease-panel-title-font-weight);
|
|
23954
|
+
line-height: 24px;
|
|
23955
|
+
font-family: var(--ease-font-family);
|
|
23956
|
+
color: var(--ease-panel-title-color);
|
|
22903
23957
|
margin: 0 0 0 4px;
|
|
22904
23958
|
flex-grow: 1;
|
|
22905
|
-
text-
|
|
23959
|
+
text-overflow: ellipsis;
|
|
22906
23960
|
overflow: hidden;
|
|
22907
23961
|
white-space: nowrap;
|
|
22908
23962
|
}
|
|
@@ -22925,27 +23979,28 @@ _dec76 = Component({
|
|
|
22925
23979
|
|
|
22926
23980
|
[part="tab"] {
|
|
22927
23981
|
appearance: none;
|
|
22928
|
-
font-size: var(--ease-panel-tab-font-size
|
|
22929
|
-
font-weight: var(--ease-panel-tab-font-weight
|
|
22930
|
-
line-height:
|
|
22931
|
-
font-family: var(--ease-font-family
|
|
22932
|
-
color: var(--ease-panel-tab-color
|
|
22933
|
-
background: transparent;
|
|
23982
|
+
font-size: var(--ease-panel-tab-font-size);
|
|
23983
|
+
font-weight: var(--ease-panel-tab-font-weight);
|
|
23984
|
+
line-height: 24px;
|
|
23985
|
+
font-family: var(--ease-font-family);
|
|
23986
|
+
color: var(--ease-panel-tab-color);
|
|
23987
|
+
background-color: transparent;
|
|
22934
23988
|
border: none;
|
|
22935
23989
|
padding: 4px 8px;
|
|
22936
23990
|
margin: 0;
|
|
22937
23991
|
cursor: pointer;
|
|
22938
|
-
border-radius: var(--ease-panel-tab-radius
|
|
22939
|
-
transition: color
|
|
23992
|
+
border-radius: var(--ease-panel-tab-radius);
|
|
23993
|
+
transition: color 200ms, background-color 200ms;
|
|
23994
|
+
transition-timing-function: cubic-bezier(.25, 0, .5, 1);
|
|
22940
23995
|
}
|
|
22941
23996
|
|
|
22942
23997
|
[part="tab"]:hover {
|
|
22943
|
-
color: var(--ease-panel-tab-color-hover
|
|
23998
|
+
color: var(--ease-panel-tab-color-hover);
|
|
22944
23999
|
}
|
|
22945
24000
|
|
|
22946
24001
|
[part="tab"][aria-selected="true"] {
|
|
22947
|
-
color: var(--ease-panel-tab-color-active
|
|
22948
|
-
background: var(--ease-panel-tab-background-active
|
|
24002
|
+
color: var(--ease-panel-tab-color-active);
|
|
24003
|
+
background-color: var(--ease-panel-tab-background-active);
|
|
22949
24004
|
}
|
|
22950
24005
|
|
|
22951
24006
|
[part="actions"] {
|
|
@@ -22957,7 +24012,7 @@ _dec76 = Component({
|
|
|
22957
24012
|
|
|
22958
24013
|
slot[name="actions"]::slotted(button),
|
|
22959
24014
|
slot[name="actions"]::slotted(a) {
|
|
22960
|
-
--ease-icon-size: var(--ease-panel-action-icon-size
|
|
24015
|
+
--ease-icon-size: var(--ease-panel-action-icon-size);
|
|
22961
24016
|
|
|
22962
24017
|
appearance: none;
|
|
22963
24018
|
flex: 0 0 24px;
|
|
@@ -22968,7 +24023,8 @@ _dec76 = Component({
|
|
|
22968
24023
|
margin: 0;
|
|
22969
24024
|
cursor: pointer;
|
|
22970
24025
|
color: var(--color-gray-600);
|
|
22971
|
-
transition: color
|
|
24026
|
+
transition: color 200ms;
|
|
24027
|
+
transition-timing-function: cubic-bezier(.25, 0, .5, 1);
|
|
22972
24028
|
text-decoration: none;
|
|
22973
24029
|
display: flex;
|
|
22974
24030
|
align-items: center;
|
|
@@ -23010,12 +24066,37 @@ _dec76 = Component({
|
|
|
23010
24066
|
}
|
|
23011
24067
|
|
|
23012
24068
|
[part="content"][data-animating="true"] {
|
|
23013
|
-
transition: height
|
|
24069
|
+
transition: height 200ms cubic-bezier(.25, 0, .5, 1);
|
|
23014
24070
|
}
|
|
23015
24071
|
|
|
23016
24072
|
[part="body"] {
|
|
23017
24073
|
width: 100%;
|
|
23018
24074
|
position: relative;
|
|
24075
|
+
overflow-y: auto;
|
|
24076
|
+
mask-image: linear-gradient(to bottom, #0000, #ffff var(--top-fade) calc(100% - var(--bottom-fade)), #0000);
|
|
24077
|
+
animation-name: scroll-fade;
|
|
24078
|
+
animation-timeline: scroll(self y);
|
|
24079
|
+
scroll-snap-type: y mandatory;
|
|
24080
|
+
scrollbar-width: none;
|
|
24081
|
+
|
|
24082
|
+
&::-webkit-scrollbar {
|
|
24083
|
+
display: none;
|
|
24084
|
+
}
|
|
24085
|
+
}
|
|
24086
|
+
|
|
24087
|
+
@keyframes scroll-fade {
|
|
24088
|
+
0% {
|
|
24089
|
+
--top-fade: 0px;
|
|
24090
|
+
}
|
|
24091
|
+
10%, 100% {
|
|
24092
|
+
--top-fade: var(--ease-panel-fade-size);
|
|
24093
|
+
}
|
|
24094
|
+
0%, 90% {
|
|
24095
|
+
--bottom-fade: var(--ease-panel-fade-size);
|
|
24096
|
+
}
|
|
24097
|
+
100% {
|
|
24098
|
+
--bottom-fade: 0px;
|
|
24099
|
+
}
|
|
23019
24100
|
}
|
|
23020
24101
|
|
|
23021
24102
|
[part="tab-panel"] {
|
|
@@ -23039,7 +24120,7 @@ _dec76 = Component({
|
|
|
23039
24120
|
align-items: center;
|
|
23040
24121
|
justify-content: space-between;
|
|
23041
24122
|
width: 100%;
|
|
23042
|
-
padding: var(--ease-panel-footer-padding
|
|
24123
|
+
padding: var(--ease-panel-footer-padding);
|
|
23043
24124
|
box-sizing: border-box;
|
|
23044
24125
|
border-top: 1px solid var(--color-white-4);
|
|
23045
24126
|
|
|
@@ -23048,15 +24129,14 @@ _dec76 = Component({
|
|
|
23048
24129
|
}
|
|
23049
24130
|
}
|
|
23050
24131
|
|
|
23051
|
-
|
|
23052
|
-
::slotted([slot^="tab-"]) {
|
|
24132
|
+
[part="items"] {
|
|
23053
24133
|
display: grid;
|
|
23054
|
-
gap:
|
|
24134
|
+
grid-gap: var(--ease-panel-gap);
|
|
23055
24135
|
box-sizing: border-box;
|
|
23056
24136
|
width: 100%;
|
|
23057
24137
|
}
|
|
23058
24138
|
`
|
|
23059
|
-
}),
|
|
24139
|
+
}), _dec124 = Prop({
|
|
23060
24140
|
type: Number,
|
|
23061
24141
|
reflect: true,
|
|
23062
24142
|
attribute: "active-tab",
|
|
@@ -23067,42 +24147,60 @@ _dec76 = Component({
|
|
|
23067
24147
|
self.handleActiveTabChange(previous, next);
|
|
23068
24148
|
}
|
|
23069
24149
|
}
|
|
23070
|
-
}),
|
|
24150
|
+
}), _dec217 = Prop({
|
|
24151
|
+
reflect: true,
|
|
24152
|
+
attribute: "headline",
|
|
24153
|
+
defaultValue: ""
|
|
24154
|
+
}), _dec314 = Prop({
|
|
24155
|
+
reflect: true,
|
|
24156
|
+
attribute: "max-height",
|
|
24157
|
+
defaultValue: null
|
|
24158
|
+
}), _dec413 = Query('[part="content"]'), _dec512 = Query('[part="body"]'), _dec611 = Listen("slotchange", {
|
|
23071
24159
|
selector: 'slot[name="footer"]'
|
|
23072
|
-
}),
|
|
24160
|
+
}), _dec710 = Listen("slotchange", {
|
|
23073
24161
|
selector: "slot:not([name])"
|
|
23074
24162
|
});
|
|
23075
|
-
var Panel = class extends (
|
|
24163
|
+
var Panel = class extends (_HTMLElement40 = HTMLElement) {
|
|
23076
24164
|
static {
|
|
23077
|
-
({ e: [_init_activeTab,
|
|
24165
|
+
({ e: [_init_activeTab, _init_headline2, _init_maxHeight3, _init_contentElement2, _init_bodyElement, _initProto19], c: [_Panel, _initClass40] } = _apply_decs_2203_r40(this, [
|
|
23078
24166
|
[
|
|
23079
|
-
|
|
24167
|
+
_dec124,
|
|
23080
24168
|
1,
|
|
23081
24169
|
"activeTab"
|
|
23082
24170
|
],
|
|
23083
24171
|
[
|
|
23084
|
-
|
|
24172
|
+
_dec217,
|
|
23085
24173
|
1,
|
|
23086
|
-
"
|
|
24174
|
+
"headline"
|
|
23087
24175
|
],
|
|
23088
24176
|
[
|
|
23089
24177
|
_dec314,
|
|
23090
24178
|
1,
|
|
23091
|
-
"
|
|
24179
|
+
"maxHeight"
|
|
23092
24180
|
],
|
|
23093
24181
|
[
|
|
23094
24182
|
_dec413,
|
|
24183
|
+
1,
|
|
24184
|
+
"contentElement"
|
|
24185
|
+
],
|
|
24186
|
+
[
|
|
24187
|
+
_dec512,
|
|
24188
|
+
1,
|
|
24189
|
+
"bodyElement"
|
|
24190
|
+
],
|
|
24191
|
+
[
|
|
24192
|
+
_dec611,
|
|
23095
24193
|
2,
|
|
23096
24194
|
"onFooterSlotChange"
|
|
23097
24195
|
],
|
|
23098
24196
|
[
|
|
23099
|
-
|
|
24197
|
+
_dec710,
|
|
23100
24198
|
2,
|
|
23101
24199
|
"onDefaultSlotChange"
|
|
23102
24200
|
]
|
|
23103
24201
|
], [
|
|
23104
|
-
|
|
23105
|
-
],
|
|
24202
|
+
_dec80
|
|
24203
|
+
], _HTMLElement40));
|
|
23106
24204
|
}
|
|
23107
24205
|
#tabs;
|
|
23108
24206
|
#isAnimating;
|
|
@@ -23113,23 +24211,37 @@ var Panel = class extends (_HTMLElement38 = HTMLElement) {
|
|
|
23113
24211
|
set activeTab(_v) {
|
|
23114
24212
|
this.#___private_activeTab_1 = _v;
|
|
23115
24213
|
}
|
|
24214
|
+
#___private_headline_2;
|
|
24215
|
+
get headline() {
|
|
24216
|
+
return this.#___private_headline_2;
|
|
24217
|
+
}
|
|
24218
|
+
set headline(_v) {
|
|
24219
|
+
this.#___private_headline_2 = _v;
|
|
24220
|
+
}
|
|
24221
|
+
#___private_maxHeight_3;
|
|
24222
|
+
get maxHeight() {
|
|
24223
|
+
return this.#___private_maxHeight_3;
|
|
24224
|
+
}
|
|
24225
|
+
set maxHeight(_v) {
|
|
24226
|
+
this.#___private_maxHeight_3 = _v;
|
|
24227
|
+
}
|
|
23116
24228
|
/** @internal */
|
|
23117
24229
|
handleActiveTabChange(previous, next) {
|
|
23118
24230
|
this.performTabAnimation(previous, next);
|
|
23119
24231
|
}
|
|
23120
|
-
#
|
|
24232
|
+
#___private_contentElement_4;
|
|
23121
24233
|
get contentElement() {
|
|
23122
|
-
return this.#
|
|
24234
|
+
return this.#___private_contentElement_4;
|
|
23123
24235
|
}
|
|
23124
24236
|
set contentElement(_v) {
|
|
23125
|
-
this.#
|
|
24237
|
+
this.#___private_contentElement_4 = _v;
|
|
23126
24238
|
}
|
|
23127
|
-
#
|
|
24239
|
+
#___private_bodyElement_5;
|
|
23128
24240
|
get bodyElement() {
|
|
23129
|
-
return this.#
|
|
24241
|
+
return this.#___private_bodyElement_5;
|
|
23130
24242
|
}
|
|
23131
24243
|
set bodyElement(_v) {
|
|
23132
|
-
this.#
|
|
24244
|
+
this.#___private_bodyElement_5 = _v;
|
|
23133
24245
|
}
|
|
23134
24246
|
/**
|
|
23135
24247
|
* Get the tab configuration
|
|
@@ -23154,18 +24266,18 @@ var Panel = class extends (_HTMLElement38 = HTMLElement) {
|
|
|
23154
24266
|
}
|
|
23155
24267
|
render() {
|
|
23156
24268
|
const hasTabs = this.#tabs.length > 0;
|
|
23157
|
-
return
|
|
24269
|
+
return import_lit_html42.html`
|
|
23158
24270
|
<section part="section">
|
|
23159
24271
|
<div part="header">
|
|
23160
|
-
<h3 part="headline"
|
|
24272
|
+
<h3 part="headline">${this.headline}</h3>
|
|
23161
24273
|
${this.#renderTabs()}
|
|
23162
24274
|
<div part="actions">
|
|
23163
24275
|
<slot name="actions"></slot>
|
|
23164
24276
|
</div>
|
|
23165
24277
|
</div>
|
|
23166
24278
|
<div part="content">
|
|
23167
|
-
<div part="body">
|
|
23168
|
-
${hasTabs ? this.#renderTabPanels() :
|
|
24279
|
+
<div part="body" style=${this.maxHeight ? `max-height: ${this.maxHeight};` : ""}>
|
|
24280
|
+
${hasTabs ? this.#renderTabPanels() : import_lit_html42.html`<div part="items"><slot></slot></div>`}
|
|
23169
24281
|
</div>
|
|
23170
24282
|
</div>
|
|
23171
24283
|
<div part="footer">
|
|
@@ -23176,11 +24288,11 @@ var Panel = class extends (_HTMLElement38 = HTMLElement) {
|
|
|
23176
24288
|
}
|
|
23177
24289
|
#renderTabs() {
|
|
23178
24290
|
if (this.#tabs.length === 0) {
|
|
23179
|
-
return
|
|
24291
|
+
return import_lit_html42.nothing;
|
|
23180
24292
|
}
|
|
23181
|
-
return
|
|
24293
|
+
return import_lit_html42.html`
|
|
23182
24294
|
<div part="tabs" role="tablist">
|
|
23183
|
-
${this.#tabs.map((tab, index) =>
|
|
24295
|
+
${this.#tabs.map((tab, index) => import_lit_html42.html`
|
|
23184
24296
|
<button
|
|
23185
24297
|
part="tab"
|
|
23186
24298
|
role="tab"
|
|
@@ -23197,8 +24309,8 @@ var Panel = class extends (_HTMLElement38 = HTMLElement) {
|
|
|
23197
24309
|
`;
|
|
23198
24310
|
}
|
|
23199
24311
|
#renderTabPanels() {
|
|
23200
|
-
return
|
|
23201
|
-
${this.#tabs.map((tab, index) =>
|
|
24312
|
+
return import_lit_html42.html`
|
|
24313
|
+
${this.#tabs.map((tab, index) => import_lit_html42.html`
|
|
23202
24314
|
<div
|
|
23203
24315
|
part="tab-panel"
|
|
23204
24316
|
role="tabpanel"
|
|
@@ -23207,7 +24319,9 @@ var Panel = class extends (_HTMLElement38 = HTMLElement) {
|
|
|
23207
24319
|
data-state=${index === this.activeTab ? "active" : "hidden"}
|
|
23208
24320
|
data-index=${index}
|
|
23209
24321
|
>
|
|
23210
|
-
<
|
|
24322
|
+
<div part="items">
|
|
24323
|
+
<slot name=${`tab-${tab.id}`}></slot>
|
|
24324
|
+
</div>
|
|
23211
24325
|
</div>
|
|
23212
24326
|
`)}
|
|
23213
24327
|
`;
|
|
@@ -23382,17 +24496,17 @@ var Panel = class extends (_HTMLElement38 = HTMLElement) {
|
|
|
23382
24496
|
setBooleanAttribute(footer, "data-has-content", hasFooter);
|
|
23383
24497
|
}
|
|
23384
24498
|
static {
|
|
23385
|
-
|
|
24499
|
+
_initClass40();
|
|
23386
24500
|
}
|
|
23387
24501
|
constructor(...args) {
|
|
23388
|
-
super(...args), this.#tabs = (
|
|
24502
|
+
super(...args), this.#tabs = (_initProto19(this), []), this.#isAnimating = false, this.#___private_activeTab_1 = _init_activeTab(this, 0), this.#___private_headline_2 = _init_headline2(this, null), this.#___private_maxHeight_3 = _init_maxHeight3(this, null), this.#___private_contentElement_4 = _init_contentElement2(this), this.#___private_bodyElement_5 = _init_bodyElement(this);
|
|
23389
24503
|
}
|
|
23390
24504
|
};
|
|
23391
24505
|
|
|
23392
|
-
// swc:/
|
|
23393
|
-
var
|
|
24506
|
+
// swc:/Users/aaroniker/Documents/GitHub/ease/web-kit/packages/core/src/elements/radio/index.ts
|
|
24507
|
+
var import_lit_html43 = require("lit-html");
|
|
23394
24508
|
|
|
23395
|
-
// swc:/
|
|
24509
|
+
// swc:/Users/aaroniker/Documents/GitHub/ease/web-kit/packages/core/src/elements/radio/option.ts
|
|
23396
24510
|
var RadioOption = class extends HTMLElement {
|
|
23397
24511
|
connectedCallback() {
|
|
23398
24512
|
this.hidden = true;
|
|
@@ -23405,8 +24519,8 @@ if (!customElements.get("radio-option")) {
|
|
|
23405
24519
|
customElements.define("radio-option", RadioOption);
|
|
23406
24520
|
}
|
|
23407
24521
|
|
|
23408
|
-
// swc:/
|
|
23409
|
-
function
|
|
24522
|
+
// swc:/Users/aaroniker/Documents/GitHub/ease/web-kit/packages/core/src/elements/radio/index.ts
|
|
24523
|
+
function applyDecs2203RFactory41() {
|
|
23410
24524
|
function createAddInitializerMethod(initializers, decoratorFinishedRef) {
|
|
23411
24525
|
return function addInitializer(initializer) {
|
|
23412
24526
|
assertNotFinished(decoratorFinishedRef, "addInitializer");
|
|
@@ -23775,19 +24889,19 @@ function applyDecs2203RFactory39() {
|
|
|
23775
24889
|
};
|
|
23776
24890
|
};
|
|
23777
24891
|
}
|
|
23778
|
-
function
|
|
23779
|
-
return (
|
|
24892
|
+
function _apply_decs_2203_r41(targetClass, memberDecs, classDecs, parentClass) {
|
|
24893
|
+
return (_apply_decs_2203_r41 = applyDecs2203RFactory41())(targetClass, memberDecs, classDecs, parentClass);
|
|
23780
24894
|
}
|
|
23781
|
-
var
|
|
23782
|
-
var
|
|
23783
|
-
var
|
|
23784
|
-
var
|
|
23785
|
-
var
|
|
24895
|
+
var _dec81;
|
|
24896
|
+
var _initClass41;
|
|
24897
|
+
var _HTMLElement41;
|
|
24898
|
+
var _dec125;
|
|
24899
|
+
var _dec218;
|
|
23786
24900
|
var _dec315;
|
|
23787
24901
|
var _init_value8;
|
|
23788
24902
|
var _init_groupElement;
|
|
23789
24903
|
var _init_contentSlot2;
|
|
23790
|
-
var
|
|
24904
|
+
var _initProto20;
|
|
23791
24905
|
var nextOptionId2 = /* @__PURE__ */ (() => {
|
|
23792
24906
|
let counter = 0;
|
|
23793
24907
|
return () => {
|
|
@@ -23803,7 +24917,7 @@ var nextPanelId2 = /* @__PURE__ */ (() => {
|
|
|
23803
24917
|
};
|
|
23804
24918
|
})();
|
|
23805
24919
|
var _RadioGroup;
|
|
23806
|
-
|
|
24920
|
+
_dec81 = Component({
|
|
23807
24921
|
tag: "ease-radio-group",
|
|
23808
24922
|
shadowMode: "open",
|
|
23809
24923
|
styles: `
|
|
@@ -23860,13 +24974,13 @@ _dec77 = Component({
|
|
|
23860
24974
|
}
|
|
23861
24975
|
`,
|
|
23862
24976
|
template() {
|
|
23863
|
-
return
|
|
24977
|
+
return import_lit_html43.html`
|
|
23864
24978
|
<div part="group">
|
|
23865
24979
|
<slot name="content"></slot>
|
|
23866
24980
|
</div>
|
|
23867
24981
|
`;
|
|
23868
24982
|
}
|
|
23869
|
-
}),
|
|
24983
|
+
}), _dec125 = Prop({
|
|
23870
24984
|
reflect: true,
|
|
23871
24985
|
defaultValue: null,
|
|
23872
24986
|
onChange(next, previous) {
|
|
@@ -23875,17 +24989,17 @@ _dec77 = Component({
|
|
|
23875
24989
|
}
|
|
23876
24990
|
this.updateOptionSelectionState();
|
|
23877
24991
|
}
|
|
23878
|
-
}),
|
|
23879
|
-
var RadioGroup = class extends (
|
|
24992
|
+
}), _dec218 = Query('[part="group"]'), _dec315 = Query('slot[name="content"]');
|
|
24993
|
+
var RadioGroup = class extends (_HTMLElement41 = HTMLElement) {
|
|
23880
24994
|
static {
|
|
23881
|
-
({ e: [_init_value8, _init_groupElement, _init_contentSlot2,
|
|
24995
|
+
({ e: [_init_value8, _init_groupElement, _init_contentSlot2, _initProto20], c: [_RadioGroup, _initClass41] } = _apply_decs_2203_r41(this, [
|
|
23882
24996
|
[
|
|
23883
|
-
|
|
24997
|
+
_dec125,
|
|
23884
24998
|
1,
|
|
23885
24999
|
"value"
|
|
23886
25000
|
],
|
|
23887
25001
|
[
|
|
23888
|
-
|
|
25002
|
+
_dec218,
|
|
23889
25003
|
1,
|
|
23890
25004
|
"groupElement"
|
|
23891
25005
|
],
|
|
@@ -23895,8 +25009,8 @@ var RadioGroup = class extends (_HTMLElement39 = HTMLElement) {
|
|
|
23895
25009
|
"contentSlot"
|
|
23896
25010
|
]
|
|
23897
25011
|
], [
|
|
23898
|
-
|
|
23899
|
-
],
|
|
25012
|
+
_dec81
|
|
25013
|
+
], _HTMLElement41));
|
|
23900
25014
|
}
|
|
23901
25015
|
#___private_value_1;
|
|
23902
25016
|
get value() {
|
|
@@ -24113,18 +25227,18 @@ var RadioGroup = class extends (_HTMLElement39 = HTMLElement) {
|
|
|
24113
25227
|
}));
|
|
24114
25228
|
}
|
|
24115
25229
|
static {
|
|
24116
|
-
|
|
25230
|
+
_initClass41();
|
|
24117
25231
|
}
|
|
24118
25232
|
constructor(...args) {
|
|
24119
|
-
super(...args), this.#___private_value_1 = (
|
|
25233
|
+
super(...args), this.#___private_value_1 = (_initProto20(this), _init_value8(this, null)), this.#___private_groupElement_2 = _init_groupElement(this), this.#___private_contentSlot_3 = _init_contentSlot2(this), this.#options = [], this.#currentSlot = null, this.#optionsInitialized = false, this.#handleSlotChange = () => {
|
|
24120
25234
|
this.#syncOptions();
|
|
24121
25235
|
};
|
|
24122
25236
|
}
|
|
24123
25237
|
};
|
|
24124
25238
|
|
|
24125
|
-
// swc:/
|
|
24126
|
-
var
|
|
24127
|
-
function
|
|
25239
|
+
// swc:/Users/aaroniker/Documents/GitHub/ease/web-kit/packages/core/src/elements/radio/input.ts
|
|
25240
|
+
var import_lit_html44 = require("lit-html");
|
|
25241
|
+
function applyDecs2203RFactory42() {
|
|
24128
25242
|
function createAddInitializerMethod(initializers, decoratorFinishedRef) {
|
|
24129
25243
|
return function addInitializer(initializer) {
|
|
24130
25244
|
assertNotFinished(decoratorFinishedRef, "addInitializer");
|
|
@@ -24493,26 +25607,26 @@ function applyDecs2203RFactory40() {
|
|
|
24493
25607
|
};
|
|
24494
25608
|
};
|
|
24495
25609
|
}
|
|
24496
|
-
function
|
|
24497
|
-
return (
|
|
25610
|
+
function _apply_decs_2203_r42(targetClass, memberDecs, classDecs, parentClass) {
|
|
25611
|
+
return (_apply_decs_2203_r42 = applyDecs2203RFactory42())(targetClass, memberDecs, classDecs, parentClass);
|
|
24498
25612
|
}
|
|
24499
|
-
var
|
|
24500
|
-
var
|
|
24501
|
-
var
|
|
24502
|
-
var
|
|
24503
|
-
var
|
|
25613
|
+
var _dec85;
|
|
25614
|
+
var _initClass42;
|
|
25615
|
+
var _HTMLElement42;
|
|
25616
|
+
var _dec126;
|
|
25617
|
+
var _dec219;
|
|
24504
25618
|
var _dec316;
|
|
24505
25619
|
var _dec414;
|
|
24506
25620
|
var _dec513;
|
|
24507
|
-
var
|
|
25621
|
+
var _dec612;
|
|
24508
25622
|
var _init_checked2;
|
|
24509
25623
|
var _init_name6;
|
|
24510
25624
|
var _init_value9;
|
|
24511
25625
|
var _init_disabled8;
|
|
24512
25626
|
var _init_control5;
|
|
24513
|
-
var
|
|
25627
|
+
var _initProto21;
|
|
24514
25628
|
var _RadioInput;
|
|
24515
|
-
|
|
25629
|
+
_dec85 = Component({
|
|
24516
25630
|
tag: "ease-radio-input",
|
|
24517
25631
|
shadowMode: "open",
|
|
24518
25632
|
styles: `
|
|
@@ -24729,7 +25843,7 @@ _dec78 = Component({
|
|
|
24729
25843
|
}
|
|
24730
25844
|
`,
|
|
24731
25845
|
template() {
|
|
24732
|
-
return
|
|
25846
|
+
return import_lit_html44.html`
|
|
24733
25847
|
<button part="radio" type="button" role="radio" aria-checked=${this.checked} ?disabled=${this.disabled}>
|
|
24734
25848
|
<div class="radio">
|
|
24735
25849
|
<input part="control" name=${this.name} value=${this.value} ?checked=${this.checked} ?disabled=${this.disabled} type="radio" />
|
|
@@ -24752,7 +25866,7 @@ _dec78 = Component({
|
|
|
24752
25866
|
</button>
|
|
24753
25867
|
`;
|
|
24754
25868
|
}
|
|
24755
|
-
}),
|
|
25869
|
+
}), _dec126 = Prop({
|
|
24756
25870
|
type: Boolean,
|
|
24757
25871
|
reflect: true,
|
|
24758
25872
|
onChange(next) {
|
|
@@ -24767,26 +25881,26 @@ _dec78 = Component({
|
|
|
24767
25881
|
});
|
|
24768
25882
|
}
|
|
24769
25883
|
}
|
|
24770
|
-
}),
|
|
25884
|
+
}), _dec219 = Prop({
|
|
24771
25885
|
reflect: true
|
|
24772
25886
|
}), _dec316 = Prop({
|
|
24773
25887
|
reflect: true
|
|
24774
25888
|
}), _dec414 = Prop({
|
|
24775
25889
|
type: Boolean,
|
|
24776
25890
|
reflect: true
|
|
24777
|
-
}), _dec513 = Query("button"),
|
|
25891
|
+
}), _dec513 = Query("button"), _dec612 = Listen("click", {
|
|
24778
25892
|
selector: "button"
|
|
24779
25893
|
});
|
|
24780
|
-
var RadioInput = class extends (
|
|
25894
|
+
var RadioInput = class extends (_HTMLElement42 = HTMLElement) {
|
|
24781
25895
|
static {
|
|
24782
|
-
({ e: [_init_checked2, _init_name6, _init_value9, _init_disabled8, _init_control5,
|
|
25896
|
+
({ e: [_init_checked2, _init_name6, _init_value9, _init_disabled8, _init_control5, _initProto21], c: [_RadioInput, _initClass42] } = _apply_decs_2203_r42(this, [
|
|
24783
25897
|
[
|
|
24784
|
-
|
|
25898
|
+
_dec126,
|
|
24785
25899
|
1,
|
|
24786
25900
|
"checked"
|
|
24787
25901
|
],
|
|
24788
25902
|
[
|
|
24789
|
-
|
|
25903
|
+
_dec219,
|
|
24790
25904
|
1,
|
|
24791
25905
|
"name"
|
|
24792
25906
|
],
|
|
@@ -24806,13 +25920,13 @@ var RadioInput = class extends (_HTMLElement40 = HTMLElement) {
|
|
|
24806
25920
|
"control"
|
|
24807
25921
|
],
|
|
24808
25922
|
[
|
|
24809
|
-
|
|
25923
|
+
_dec612,
|
|
24810
25924
|
2,
|
|
24811
25925
|
"handleClick"
|
|
24812
25926
|
]
|
|
24813
25927
|
], [
|
|
24814
|
-
|
|
24815
|
-
],
|
|
25928
|
+
_dec85
|
|
25929
|
+
], _HTMLElement42));
|
|
24816
25930
|
}
|
|
24817
25931
|
#___private_checked_1;
|
|
24818
25932
|
get checked() {
|
|
@@ -24900,16 +26014,16 @@ var RadioInput = class extends (_HTMLElement40 = HTMLElement) {
|
|
|
24900
26014
|
});
|
|
24901
26015
|
}
|
|
24902
26016
|
static {
|
|
24903
|
-
|
|
26017
|
+
_initClass42();
|
|
24904
26018
|
}
|
|
24905
26019
|
constructor(...args) {
|
|
24906
|
-
super(...args), this.#___private_checked_1 = (
|
|
26020
|
+
super(...args), this.#___private_checked_1 = (_initProto21(this), _init_checked2(this)), this.#___private_name_2 = _init_name6(this), this.#___private_value_3 = _init_value9(this), this.#___private_disabled_4 = _init_disabled8(this), this.#___private_control_5 = _init_control5(this), this._firstRender = true, this.filterId = `goo-${crypto.randomUUID()}`;
|
|
24907
26021
|
}
|
|
24908
26022
|
};
|
|
24909
26023
|
|
|
24910
|
-
// swc:/
|
|
24911
|
-
var
|
|
24912
|
-
function
|
|
26024
|
+
// swc:/Users/aaroniker/Documents/GitHub/ease/web-kit/packages/core/src/elements/slider/index.ts
|
|
26025
|
+
var import_lit_html45 = require("lit-html");
|
|
26026
|
+
function applyDecs2203RFactory43() {
|
|
24913
26027
|
function createAddInitializerMethod(initializers, decoratorFinishedRef) {
|
|
24914
26028
|
return function addInitializer(initializer) {
|
|
24915
26029
|
assertNotFinished(decoratorFinishedRef, "addInitializer");
|
|
@@ -25278,20 +26392,20 @@ function applyDecs2203RFactory41() {
|
|
|
25278
26392
|
};
|
|
25279
26393
|
};
|
|
25280
26394
|
}
|
|
25281
|
-
function
|
|
25282
|
-
return (
|
|
26395
|
+
function _apply_decs_2203_r43(targetClass, memberDecs, classDecs, parentClass) {
|
|
26396
|
+
return (_apply_decs_2203_r43 = applyDecs2203RFactory43())(targetClass, memberDecs, classDecs, parentClass);
|
|
25283
26397
|
}
|
|
25284
|
-
var
|
|
25285
|
-
var
|
|
25286
|
-
var
|
|
25287
|
-
var
|
|
25288
|
-
var
|
|
26398
|
+
var _dec86;
|
|
26399
|
+
var _initClass43;
|
|
26400
|
+
var _HTMLElement43;
|
|
26401
|
+
var _dec127;
|
|
26402
|
+
var _dec220;
|
|
25289
26403
|
var _dec317;
|
|
25290
26404
|
var _dec415;
|
|
25291
26405
|
var _dec514;
|
|
25292
|
-
var
|
|
25293
|
-
var
|
|
25294
|
-
var
|
|
26406
|
+
var _dec613;
|
|
26407
|
+
var _dec711;
|
|
26408
|
+
var _dec87;
|
|
25295
26409
|
var _dec95;
|
|
25296
26410
|
var _dec104;
|
|
25297
26411
|
var _dec1110;
|
|
@@ -25302,9 +26416,9 @@ var _init_step2;
|
|
|
25302
26416
|
var _init_disabled9;
|
|
25303
26417
|
var _init_control6;
|
|
25304
26418
|
var _init_valueControl;
|
|
25305
|
-
var
|
|
26419
|
+
var _initProto22;
|
|
25306
26420
|
var _Slider;
|
|
25307
|
-
|
|
26421
|
+
_dec86 = Component({
|
|
25308
26422
|
tag: "ease-slider",
|
|
25309
26423
|
styles: `
|
|
25310
26424
|
:host {
|
|
@@ -25405,7 +26519,7 @@ _dec79 = Component({
|
|
|
25405
26519
|
}
|
|
25406
26520
|
`,
|
|
25407
26521
|
template() {
|
|
25408
|
-
return
|
|
26522
|
+
return import_lit_html45.html`
|
|
25409
26523
|
<div part="container">
|
|
25410
26524
|
<input
|
|
25411
26525
|
part="control"
|
|
@@ -25428,10 +26542,10 @@ _dec79 = Component({
|
|
|
25428
26542
|
</div>
|
|
25429
26543
|
`;
|
|
25430
26544
|
}
|
|
25431
|
-
}),
|
|
26545
|
+
}), _dec127 = Prop({
|
|
25432
26546
|
type: Number,
|
|
25433
26547
|
reflect: true
|
|
25434
|
-
}),
|
|
26548
|
+
}), _dec220 = Prop({
|
|
25435
26549
|
type: Number,
|
|
25436
26550
|
reflect: true
|
|
25437
26551
|
}), _dec317 = Prop({
|
|
@@ -25443,7 +26557,7 @@ _dec79 = Component({
|
|
|
25443
26557
|
}), _dec514 = Prop({
|
|
25444
26558
|
type: Boolean,
|
|
25445
26559
|
reflect: true
|
|
25446
|
-
}),
|
|
26560
|
+
}), _dec613 = Query("input"), _dec711 = Query("ease-input"), _dec87 = Listen("input", {
|
|
25447
26561
|
selector: 'input[type="range"]'
|
|
25448
26562
|
}), _dec95 = Listen("change", {
|
|
25449
26563
|
selector: 'input[type="range"]'
|
|
@@ -25454,16 +26568,16 @@ _dec79 = Component({
|
|
|
25454
26568
|
selector: "ease-input",
|
|
25455
26569
|
when: (event) => event instanceof CustomEvent && typeof event.detail?.value === "string"
|
|
25456
26570
|
});
|
|
25457
|
-
var Slider = class extends (
|
|
26571
|
+
var Slider = class extends (_HTMLElement43 = HTMLElement) {
|
|
25458
26572
|
static {
|
|
25459
|
-
({ e: [_init_value10, _init_min2, _init_max2, _init_step2, _init_disabled9, _init_control6, _init_valueControl,
|
|
26573
|
+
({ e: [_init_value10, _init_min2, _init_max2, _init_step2, _init_disabled9, _init_control6, _init_valueControl, _initProto22], c: [_Slider, _initClass43] } = _apply_decs_2203_r43(this, [
|
|
25460
26574
|
[
|
|
25461
|
-
|
|
26575
|
+
_dec127,
|
|
25462
26576
|
1,
|
|
25463
26577
|
"value"
|
|
25464
26578
|
],
|
|
25465
26579
|
[
|
|
25466
|
-
|
|
26580
|
+
_dec220,
|
|
25467
26581
|
1,
|
|
25468
26582
|
"min"
|
|
25469
26583
|
],
|
|
@@ -25483,17 +26597,17 @@ var Slider = class extends (_HTMLElement41 = HTMLElement) {
|
|
|
25483
26597
|
"disabled"
|
|
25484
26598
|
],
|
|
25485
26599
|
[
|
|
25486
|
-
|
|
26600
|
+
_dec613,
|
|
25487
26601
|
1,
|
|
25488
26602
|
"control"
|
|
25489
26603
|
],
|
|
25490
26604
|
[
|
|
25491
|
-
|
|
26605
|
+
_dec711,
|
|
25492
26606
|
1,
|
|
25493
26607
|
"valueControl"
|
|
25494
26608
|
],
|
|
25495
26609
|
[
|
|
25496
|
-
|
|
26610
|
+
_dec87,
|
|
25497
26611
|
2,
|
|
25498
26612
|
"handleRangeInput"
|
|
25499
26613
|
],
|
|
@@ -25513,8 +26627,8 @@ var Slider = class extends (_HTMLElement41 = HTMLElement) {
|
|
|
25513
26627
|
"handleValueChange"
|
|
25514
26628
|
]
|
|
25515
26629
|
], [
|
|
25516
|
-
|
|
25517
|
-
],
|
|
26630
|
+
_dec86
|
|
26631
|
+
], _HTMLElement43));
|
|
25518
26632
|
}
|
|
25519
26633
|
#___private_value_1;
|
|
25520
26634
|
get value() {
|
|
@@ -25647,16 +26761,16 @@ var Slider = class extends (_HTMLElement41 = HTMLElement) {
|
|
|
25647
26761
|
this.control.style.setProperty("--progress", `${Math.max(0, Math.min(100, percent))}%`);
|
|
25648
26762
|
}
|
|
25649
26763
|
static {
|
|
25650
|
-
|
|
26764
|
+
_initClass43();
|
|
25651
26765
|
}
|
|
25652
26766
|
constructor(...args) {
|
|
25653
|
-
super(...args), this.#___private_value_1 = (
|
|
26767
|
+
super(...args), this.#___private_value_1 = (_initProto22(this), _init_value10(this)), this.#___private_min_2 = _init_min2(this), this.#___private_max_3 = _init_max2(this), this.#___private_step_4 = _init_step2(this), this.#___private_disabled_5 = _init_disabled9(this), this.#___private_control_6 = _init_control6(this), this.#___private_valueControl_7 = _init_valueControl(this);
|
|
25654
26768
|
}
|
|
25655
26769
|
};
|
|
25656
26770
|
|
|
25657
|
-
// swc:/
|
|
25658
|
-
var
|
|
25659
|
-
function
|
|
26771
|
+
// swc:/Users/aaroniker/Documents/GitHub/ease/web-kit/packages/core/src/elements/state/index.ts
|
|
26772
|
+
var import_lit_html46 = require("lit-html");
|
|
26773
|
+
function applyDecs2203RFactory44() {
|
|
25660
26774
|
function createAddInitializerMethod(initializers, decoratorFinishedRef) {
|
|
25661
26775
|
return function addInitializer(initializer) {
|
|
25662
26776
|
assertNotFinished(decoratorFinishedRef, "addInitializer");
|
|
@@ -26025,20 +27139,20 @@ function applyDecs2203RFactory42() {
|
|
|
26025
27139
|
};
|
|
26026
27140
|
};
|
|
26027
27141
|
}
|
|
26028
|
-
function
|
|
26029
|
-
return (
|
|
27142
|
+
function _apply_decs_2203_r44(targetClass, memberDecs, classDecs, parentClass) {
|
|
27143
|
+
return (_apply_decs_2203_r44 = applyDecs2203RFactory44())(targetClass, memberDecs, classDecs, parentClass);
|
|
26030
27144
|
}
|
|
26031
|
-
var
|
|
26032
|
-
var
|
|
26033
|
-
var
|
|
26034
|
-
var
|
|
26035
|
-
var
|
|
27145
|
+
var _dec88;
|
|
27146
|
+
var _initClass44;
|
|
27147
|
+
var _HTMLElement44;
|
|
27148
|
+
var _dec128;
|
|
27149
|
+
var _dec221;
|
|
26036
27150
|
var _dec318;
|
|
26037
27151
|
var _dec416;
|
|
26038
27152
|
var _dec515;
|
|
26039
27153
|
var _init_value11;
|
|
26040
27154
|
var _init_defaultSlot;
|
|
26041
|
-
var
|
|
27155
|
+
var _initProto23;
|
|
26042
27156
|
var readControlValue2 = (element) => {
|
|
26043
27157
|
if (typeof element.value === "string" || typeof element.value === "number") {
|
|
26044
27158
|
return element.value;
|
|
@@ -26061,7 +27175,7 @@ var getControlName = (element) => {
|
|
|
26061
27175
|
return element.getAttribute?.("name") ?? null;
|
|
26062
27176
|
};
|
|
26063
27177
|
var _State;
|
|
26064
|
-
|
|
27178
|
+
_dec88 = Component({
|
|
26065
27179
|
tag: "ease-state",
|
|
26066
27180
|
shadowMode: "open",
|
|
26067
27181
|
styles: `
|
|
@@ -26071,30 +27185,30 @@ _dec80 = Component({
|
|
|
26071
27185
|
|
|
26072
27186
|
[part="container"] {
|
|
26073
27187
|
display: grid;
|
|
26074
|
-
gap: var(--ease-
|
|
27188
|
+
grid-gap: var(--ease-panel-gap);
|
|
26075
27189
|
box-sizing: border-box;
|
|
26076
27190
|
width: 100%;
|
|
26077
27191
|
}
|
|
26078
27192
|
`
|
|
26079
|
-
}),
|
|
27193
|
+
}), _dec128 = Prop({
|
|
26080
27194
|
reflect: true
|
|
26081
|
-
}),
|
|
27195
|
+
}), _dec221 = Query("slot"), _dec318 = Listen("input", {
|
|
26082
27196
|
target: (host) => host
|
|
26083
27197
|
}), _dec416 = Listen("change", {
|
|
26084
27198
|
target: (host) => host
|
|
26085
27199
|
}), _dec515 = Listen(CONTROL_CHANGE_EVENT, {
|
|
26086
27200
|
target: (host) => host
|
|
26087
27201
|
});
|
|
26088
|
-
var State = class extends (
|
|
27202
|
+
var State = class extends (_HTMLElement44 = HTMLElement) {
|
|
26089
27203
|
static {
|
|
26090
|
-
({ e: [_init_value11, _init_defaultSlot,
|
|
27204
|
+
({ e: [_init_value11, _init_defaultSlot, _initProto23], c: [_State, _initClass44] } = _apply_decs_2203_r44(this, [
|
|
26091
27205
|
[
|
|
26092
|
-
|
|
27206
|
+
_dec128,
|
|
26093
27207
|
1,
|
|
26094
27208
|
"value"
|
|
26095
27209
|
],
|
|
26096
27210
|
[
|
|
26097
|
-
|
|
27211
|
+
_dec221,
|
|
26098
27212
|
1,
|
|
26099
27213
|
"defaultSlot"
|
|
26100
27214
|
],
|
|
@@ -26114,8 +27228,8 @@ var State = class extends (_HTMLElement42 = HTMLElement) {
|
|
|
26114
27228
|
"handleControlChange"
|
|
26115
27229
|
]
|
|
26116
27230
|
], [
|
|
26117
|
-
|
|
26118
|
-
],
|
|
27231
|
+
_dec88
|
|
27232
|
+
], _HTMLElement44));
|
|
26119
27233
|
}
|
|
26120
27234
|
#controls;
|
|
26121
27235
|
#state;
|
|
@@ -26207,7 +27321,7 @@ var State = class extends (_HTMLElement42 = HTMLElement) {
|
|
|
26207
27321
|
this.defaultSlot?.removeEventListener("slotchange", this.#handleSlotChange);
|
|
26208
27322
|
}
|
|
26209
27323
|
render() {
|
|
26210
|
-
return
|
|
27324
|
+
return import_lit_html46.html`
|
|
26211
27325
|
<div part="container">
|
|
26212
27326
|
<slot></slot>
|
|
26213
27327
|
</div>
|
|
@@ -26313,19 +27427,19 @@ var State = class extends (_HTMLElement42 = HTMLElement) {
|
|
|
26313
27427
|
});
|
|
26314
27428
|
}
|
|
26315
27429
|
static {
|
|
26316
|
-
|
|
27430
|
+
_initClass44();
|
|
26317
27431
|
}
|
|
26318
27432
|
constructor(...args) {
|
|
26319
|
-
super(...args), this.#controls = (
|
|
27433
|
+
super(...args), this.#controls = (_initProto23(this), /* @__PURE__ */ new Map()), this.#state = {}, this.#initialState = {}, this.#subscribers = /* @__PURE__ */ new Map(), this.#___private_value_1 = _init_value11(this), this.#___private_defaultSlot_2 = _init_defaultSlot(this), this.#handleSlotChange = () => {
|
|
26320
27434
|
this.#detach();
|
|
26321
27435
|
this.#attach();
|
|
26322
27436
|
};
|
|
26323
27437
|
}
|
|
26324
27438
|
};
|
|
26325
27439
|
|
|
26326
|
-
// swc:/
|
|
26327
|
-
var
|
|
26328
|
-
function
|
|
27440
|
+
// swc:/Users/aaroniker/Documents/GitHub/ease/web-kit/packages/core/src/elements/toggle/index.ts
|
|
27441
|
+
var import_lit_html47 = require("lit-html");
|
|
27442
|
+
function applyDecs2203RFactory45() {
|
|
26329
27443
|
function createAddInitializerMethod(initializers, decoratorFinishedRef) {
|
|
26330
27444
|
return function addInitializer(initializer) {
|
|
26331
27445
|
assertNotFinished(decoratorFinishedRef, "addInitializer");
|
|
@@ -26694,22 +27808,22 @@ function applyDecs2203RFactory43() {
|
|
|
26694
27808
|
};
|
|
26695
27809
|
};
|
|
26696
27810
|
}
|
|
26697
|
-
function
|
|
26698
|
-
return (
|
|
27811
|
+
function _apply_decs_2203_r45(targetClass, memberDecs, classDecs, parentClass) {
|
|
27812
|
+
return (_apply_decs_2203_r45 = applyDecs2203RFactory45())(targetClass, memberDecs, classDecs, parentClass);
|
|
26699
27813
|
}
|
|
26700
|
-
var
|
|
26701
|
-
var
|
|
26702
|
-
var
|
|
26703
|
-
var
|
|
26704
|
-
var
|
|
27814
|
+
var _dec89;
|
|
27815
|
+
var _initClass45;
|
|
27816
|
+
var _HTMLElement45;
|
|
27817
|
+
var _dec129;
|
|
27818
|
+
var _dec222;
|
|
26705
27819
|
var _dec319;
|
|
26706
27820
|
var _dec417;
|
|
26707
27821
|
var _init_checked3;
|
|
26708
27822
|
var _init_disabled10;
|
|
26709
27823
|
var _init_control7;
|
|
26710
|
-
var
|
|
27824
|
+
var _initProto24;
|
|
26711
27825
|
var _Toggle;
|
|
26712
|
-
|
|
27826
|
+
_dec89 = Component({
|
|
26713
27827
|
tag: "ease-toggle",
|
|
26714
27828
|
styles: `
|
|
26715
27829
|
:host {
|
|
@@ -26802,7 +27916,7 @@ _dec81 = Component({
|
|
|
26802
27916
|
}
|
|
26803
27917
|
`,
|
|
26804
27918
|
template() {
|
|
26805
|
-
return
|
|
27919
|
+
return import_lit_html47.html`
|
|
26806
27920
|
<button part="control" type="button" aria-pressed="false">
|
|
26807
27921
|
<svg viewBox="0 0 26 12" fill="none" xmlns="http://www.w3.org/2000/svg" filter="url(#${this.filterId})">
|
|
26808
27922
|
<path part="default" d="M0 6C0 2.68629 2.68629 0 6 0V0C9.31371 0 12 2.68629 12 6V6C12 9.31371 9.31371 12 6 12V12C2.68629 12 0 9.31371 0 6V6Z" />
|
|
@@ -26821,25 +27935,25 @@ _dec81 = Component({
|
|
|
26821
27935
|
</button>
|
|
26822
27936
|
`;
|
|
26823
27937
|
}
|
|
26824
|
-
}),
|
|
27938
|
+
}), _dec129 = Prop({
|
|
26825
27939
|
type: Boolean,
|
|
26826
27940
|
reflect: true
|
|
26827
|
-
}),
|
|
27941
|
+
}), _dec222 = Prop({
|
|
26828
27942
|
type: Boolean,
|
|
26829
27943
|
reflect: true
|
|
26830
27944
|
}), _dec319 = Query("button"), _dec417 = Listen("click", {
|
|
26831
27945
|
selector: "button"
|
|
26832
27946
|
});
|
|
26833
|
-
var Toggle = class extends (
|
|
27947
|
+
var Toggle = class extends (_HTMLElement45 = HTMLElement) {
|
|
26834
27948
|
static {
|
|
26835
|
-
({ e: [_init_checked3, _init_disabled10, _init_control7,
|
|
27949
|
+
({ e: [_init_checked3, _init_disabled10, _init_control7, _initProto24], c: [_Toggle, _initClass45] } = _apply_decs_2203_r45(this, [
|
|
26836
27950
|
[
|
|
26837
|
-
|
|
27951
|
+
_dec129,
|
|
26838
27952
|
1,
|
|
26839
27953
|
"checked"
|
|
26840
27954
|
],
|
|
26841
27955
|
[
|
|
26842
|
-
|
|
27956
|
+
_dec222,
|
|
26843
27957
|
1,
|
|
26844
27958
|
"disabled"
|
|
26845
27959
|
],
|
|
@@ -26854,8 +27968,8 @@ var Toggle = class extends (_HTMLElement43 = HTMLElement) {
|
|
|
26854
27968
|
"handleClick"
|
|
26855
27969
|
]
|
|
26856
27970
|
], [
|
|
26857
|
-
|
|
26858
|
-
],
|
|
27971
|
+
_dec89
|
|
27972
|
+
], _HTMLElement45));
|
|
26859
27973
|
}
|
|
26860
27974
|
#___private_checked_1;
|
|
26861
27975
|
get checked() {
|
|
@@ -26900,16 +28014,16 @@ var Toggle = class extends (_HTMLElement43 = HTMLElement) {
|
|
|
26900
28014
|
});
|
|
26901
28015
|
}
|
|
26902
28016
|
static {
|
|
26903
|
-
|
|
28017
|
+
_initClass45();
|
|
26904
28018
|
}
|
|
26905
28019
|
constructor(...args) {
|
|
26906
|
-
super(...args), this.#___private_checked_1 = (
|
|
28020
|
+
super(...args), this.#___private_checked_1 = (_initProto24(this), _init_checked3(this)), this.#___private_disabled_2 = _init_disabled10(this), this.#___private_control_3 = _init_control7(this), this.filterId = `filter-${crypto.randomUUID()}`;
|
|
26907
28021
|
}
|
|
26908
28022
|
};
|
|
26909
28023
|
|
|
26910
|
-
// swc:/
|
|
26911
|
-
var
|
|
26912
|
-
function
|
|
28024
|
+
// swc:/Users/aaroniker/Documents/GitHub/ease/web-kit/packages/core/src/elements/tooltip/index.ts
|
|
28025
|
+
var import_lit_html48 = require("lit-html");
|
|
28026
|
+
function applyDecs2203RFactory46() {
|
|
26913
28027
|
function createAddInitializerMethod(initializers, decoratorFinishedRef) {
|
|
26914
28028
|
return function addInitializer(initializer) {
|
|
26915
28029
|
assertNotFinished(decoratorFinishedRef, "addInitializer");
|
|
@@ -27278,26 +28392,26 @@ function applyDecs2203RFactory44() {
|
|
|
27278
28392
|
};
|
|
27279
28393
|
};
|
|
27280
28394
|
}
|
|
27281
|
-
function
|
|
27282
|
-
return (
|
|
28395
|
+
function _apply_decs_2203_r46(targetClass, memberDecs, classDecs, parentClass) {
|
|
28396
|
+
return (_apply_decs_2203_r46 = applyDecs2203RFactory46())(targetClass, memberDecs, classDecs, parentClass);
|
|
27283
28397
|
}
|
|
27284
|
-
var
|
|
27285
|
-
var
|
|
27286
|
-
var
|
|
27287
|
-
var
|
|
27288
|
-
var
|
|
28398
|
+
var _dec90;
|
|
28399
|
+
var _initClass46;
|
|
28400
|
+
var _HTMLElement46;
|
|
28401
|
+
var _dec130;
|
|
28402
|
+
var _dec223;
|
|
27289
28403
|
var _dec320;
|
|
27290
28404
|
var _dec418;
|
|
27291
28405
|
var _dec516;
|
|
27292
|
-
var
|
|
27293
|
-
var
|
|
28406
|
+
var _dec614;
|
|
28407
|
+
var _init_open4;
|
|
27294
28408
|
var _init_delay;
|
|
27295
28409
|
var _init_placement4;
|
|
27296
28410
|
var _init_triggerElement;
|
|
27297
|
-
var
|
|
27298
|
-
var
|
|
28411
|
+
var _init_contentElement3;
|
|
28412
|
+
var _initProto25;
|
|
27299
28413
|
var _Tooltip;
|
|
27300
|
-
|
|
28414
|
+
_dec90 = Component({
|
|
27301
28415
|
tag: "ease-tooltip",
|
|
27302
28416
|
shadowMode: "open",
|
|
27303
28417
|
styles: `
|
|
@@ -27327,36 +28441,36 @@ _dec86 = Component({
|
|
|
27327
28441
|
display: block;
|
|
27328
28442
|
}
|
|
27329
28443
|
`
|
|
27330
|
-
}),
|
|
28444
|
+
}), _dec130 = Prop({
|
|
27331
28445
|
type: Boolean,
|
|
27332
28446
|
reflect: true,
|
|
27333
28447
|
onChange(next, previous) {
|
|
27334
28448
|
this._handleOpenChange(next, previous);
|
|
27335
28449
|
}
|
|
27336
|
-
}),
|
|
28450
|
+
}), _dec223 = Prop({
|
|
27337
28451
|
type: Number,
|
|
27338
28452
|
reflect: true,
|
|
27339
28453
|
defaultValue: 300
|
|
27340
28454
|
}), _dec320 = Prop({
|
|
27341
28455
|
reflect: true,
|
|
27342
28456
|
defaultValue: "top-center"
|
|
27343
|
-
}), _dec418 = Query('[slot="trigger"]'), _dec516 = Query("[data-tooltip-content]"),
|
|
28457
|
+
}), _dec418 = Query('[slot="trigger"]'), _dec516 = Query("[data-tooltip-content]"), _dec614 = OutsideClick({
|
|
27344
28458
|
content: (host) => host.contentElement,
|
|
27345
28459
|
triggers: (host) => [
|
|
27346
28460
|
host.triggerElement
|
|
27347
28461
|
],
|
|
27348
28462
|
disabled: (host) => !host.open
|
|
27349
28463
|
});
|
|
27350
|
-
var Tooltip = class extends (
|
|
28464
|
+
var Tooltip = class extends (_HTMLElement46 = HTMLElement) {
|
|
27351
28465
|
static {
|
|
27352
|
-
({ e: [
|
|
28466
|
+
({ e: [_init_open4, _init_delay, _init_placement4, _init_triggerElement, _init_contentElement3, _initProto25], c: [_Tooltip, _initClass46] } = _apply_decs_2203_r46(this, [
|
|
27353
28467
|
[
|
|
27354
|
-
|
|
28468
|
+
_dec130,
|
|
27355
28469
|
1,
|
|
27356
28470
|
"open"
|
|
27357
28471
|
],
|
|
27358
28472
|
[
|
|
27359
|
-
|
|
28473
|
+
_dec223,
|
|
27360
28474
|
1,
|
|
27361
28475
|
"delay"
|
|
27362
28476
|
],
|
|
@@ -27376,13 +28490,13 @@ var Tooltip = class extends (_HTMLElement44 = HTMLElement) {
|
|
|
27376
28490
|
"contentElement"
|
|
27377
28491
|
],
|
|
27378
28492
|
[
|
|
27379
|
-
|
|
28493
|
+
_dec614,
|
|
27380
28494
|
2,
|
|
27381
28495
|
"handleOutsideDismiss"
|
|
27382
28496
|
]
|
|
27383
28497
|
], [
|
|
27384
|
-
|
|
27385
|
-
],
|
|
28498
|
+
_dec90
|
|
28499
|
+
], _HTMLElement46));
|
|
27386
28500
|
}
|
|
27387
28501
|
#hoverTimer;
|
|
27388
28502
|
#trigger;
|
|
@@ -27449,7 +28563,7 @@ var Tooltip = class extends (_HTMLElement44 = HTMLElement) {
|
|
|
27449
28563
|
}
|
|
27450
28564
|
}
|
|
27451
28565
|
render() {
|
|
27452
|
-
return
|
|
28566
|
+
return import_lit_html48.html`
|
|
27453
28567
|
<ease-popover .placement=${this.placement} ?open=${this.open}>
|
|
27454
28568
|
<slot name="trigger" slot="trigger"></slot>
|
|
27455
28569
|
<div
|
|
@@ -27529,10 +28643,10 @@ var Tooltip = class extends (_HTMLElement44 = HTMLElement) {
|
|
|
27529
28643
|
}
|
|
27530
28644
|
}
|
|
27531
28645
|
static {
|
|
27532
|
-
|
|
28646
|
+
_initClass46();
|
|
27533
28647
|
}
|
|
27534
28648
|
constructor(...args) {
|
|
27535
|
-
super(...args), this.#hoverTimer = (
|
|
28649
|
+
super(...args), this.#hoverTimer = (_initProto25(this), null), this.#trigger = null, this.#content = null, this.#___private_open_1 = _init_open4(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 = () => {
|
|
27536
28650
|
this.#startTimer(() => {
|
|
27537
28651
|
this.open = true;
|
|
27538
28652
|
});
|
|
@@ -27558,6 +28672,7 @@ var Tooltip = class extends (_HTMLElement44 = HTMLElement) {
|
|
|
27558
28672
|
ColorPicker,
|
|
27559
28673
|
Dropdown,
|
|
27560
28674
|
Field,
|
|
28675
|
+
Folder,
|
|
27561
28676
|
IconAnchorAdd,
|
|
27562
28677
|
IconAnchorRemove,
|
|
27563
28678
|
IconArrowsVertical,
|
|
@@ -27573,6 +28688,7 @@ var Tooltip = class extends (_HTMLElement44 = HTMLElement) {
|
|
|
27573
28688
|
IconClear,
|
|
27574
28689
|
IconCode,
|
|
27575
28690
|
IconDots,
|
|
28691
|
+
IconFolder,
|
|
27576
28692
|
IconGrid,
|
|
27577
28693
|
IconMention,
|
|
27578
28694
|
IconMinus,
|