@elmethis/qwik 0.0.26 → 0.0.28
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/lib/index.qwik.cjs +230 -197
- package/lib/index.qwik.mjs +230 -197
- package/lib/style.css +137 -103
- package/lib-types/components/code/elm-code-block.d.ts +1 -4
- package/lib-types/components/containments/elm-toggle.d.ts +2 -0
- package/lib-types/components/icon/elm-square-loading-icon.d.ts +6 -0
- package/lib-types/components/icon/elm-square-loading-icon.stories.d.ts +6 -0
- package/lib-types/components/media/elm-block-image.d.ts +4 -1
- package/lib-types/components/media/elm-block-image.stories.d.ts +1 -0
- package/lib-types/components/media/elm-file.d.ts +2 -0
- package/lib-types/components/navigation/elm-bookmark.d.ts +2 -0
- package/lib-types/components/others/elm-jarkup.d.ts +2 -0
- package/lib-types/components/others/elm-markdown.d.ts +2 -0
- package/lib-types/components/table/elm-table.d.ts +1 -4
- package/lib-types/components/typography/elm-block-quote.d.ts +2 -0
- package/lib-types/components/typography/elm-callout.d.ts +2 -0
- package/lib-types/components/typography/elm-divider.d.ts +1 -4
- package/lib-types/components/typography/elm-heading.d.ts +2 -0
- package/lib-types/components/typography/elm-list.d.ts +2 -0
- package/lib-types/index.d.ts +1 -0
- package/package.json +1 -1
package/lib/index.qwik.cjs
CHANGED
|
@@ -10,7 +10,7 @@ const marked = require("marked");
|
|
|
10
10
|
const caption$1 = "_caption_1j0ec_27";
|
|
11
11
|
const divider = "_divider_1j0ec_50";
|
|
12
12
|
const code$2 = "_code_1j0ec_1";
|
|
13
|
-
const styles$
|
|
13
|
+
const styles$A = {
|
|
14
14
|
"code-block": "_code-block_1j0ec_1",
|
|
15
15
|
"language-icon": "_language-icon_1j0ec_22",
|
|
16
16
|
caption: caption$1,
|
|
@@ -70,7 +70,7 @@ const Typescript = qwik.component$(({ size = 24, ...props }) => {
|
|
|
70
70
|
});
|
|
71
71
|
});
|
|
72
72
|
const path = "_path_1ccs2_1";
|
|
73
|
-
const styles$
|
|
73
|
+
const styles$z = {
|
|
74
74
|
path
|
|
75
75
|
};
|
|
76
76
|
const Bash = qwik.component$(({ size = 24, ...props }) => {
|
|
@@ -86,7 +86,7 @@ const Bash = qwik.component$(({ size = 24, ...props }) => {
|
|
|
86
86
|
d: "M4.24 4.24h119.53v119.53H4.24z"
|
|
87
87
|
}),
|
|
88
88
|
/* @__PURE__ */ jsxRuntime.jsx("path", {
|
|
89
|
-
class: styles$
|
|
89
|
+
class: styles$z.path,
|
|
90
90
|
d: "M109.01 28.64L71.28 6.24c-2.25-1.33-4.77-2-7.28-2s-5.03.67-7.28 2.01l-37.74 22.4c-4.5 2.67-7.28 7.61-7.28 12.96v44.8c0 5.35 2.77 10.29 7.28 12.96l37.73 22.4c2.25 1.34 4.76 2 7.28 2c2.51 0 5.03-.67 7.28-2l37.74-22.4c4.5-2.67 7.28-7.62 7.28-12.96V41.6c0-5.34-2.77-10.29-7.28-12.96M79.79 98.59l.06 3.22c0 .39-.25.83-.55.99l-1.91 1.1c-.3.15-.56-.03-.56-.42l-.03-3.17c-1.63.68-3.29.84-4.34.42c-.2-.08-.29-.37-.21-.71l.69-2.91c.06-.23.18-.46.34-.6c.06-.06.12-.1.18-.13c.11-.06.22-.07.31-.03c1.14.38 2.59.2 3.99-.5c1.78-.9 2.97-2.72 2.95-4.52c-.02-1.64-.9-2.31-3.05-2.33c-2.74.01-5.3-.53-5.34-4.57c-.03-3.32 1.69-6.78 4.43-8.96l-.03-3.25c0-.4.24-.84.55-1l1.85-1.18c.3-.15.56.04.56.43l.03 3.25c1.36-.54 2.54-.69 3.61-.44c.23.06.34.38.24.75l-.72 2.88c-.06.22-.18.44-.33.58a.8.8 0 0 1-.19.14c-.1.05-.19.06-.28.05c-.49-.11-1.65-.36-3.48.56c-1.92.97-2.59 2.64-2.58 3.88c.02 1.48.77 1.93 3.39 1.97c3.49.06 4.99 1.58 5.03 5.09c.05 3.44-1.79 7.15-4.61 9.41m26.34-60.5l-35.7 22.05c-4.45 2.6-7.73 5.52-7.74 10.89v43.99c0 3.21 1.3 5.29 3.29 5.9c-.65.11-1.32.19-1.98.19c-2.09 0-4.15-.57-5.96-1.64l-37.73-22.4c-3.69-2.19-5.98-6.28-5.98-10.67V41.6c0-4.39 2.29-8.48 5.98-10.67l37.74-22.4c1.81-1.07 3.87-1.64 5.96-1.64s4.15.57 5.96 1.64l37.74 22.4c3.11 1.85 5.21 5.04 5.8 8.63c-1.27-2.67-4.09-3.39-7.38-1.47"
|
|
91
91
|
}),
|
|
92
92
|
/* @__PURE__ */ jsxRuntime.jsx("path", {
|
|
@@ -527,12 +527,12 @@ const C = qwik.component$(({ size = 24, ...props }) => {
|
|
|
527
527
|
});
|
|
528
528
|
});
|
|
529
529
|
const icon$4 = "_icon_1gvln_1";
|
|
530
|
-
const styles$
|
|
530
|
+
const styles$y = {
|
|
531
531
|
icon: icon$4
|
|
532
532
|
};
|
|
533
533
|
const ElmMdiIcon = qwik.component$(({ d, size = "1em", color, lightColor, darkColor }) => {
|
|
534
534
|
return /* @__PURE__ */ jsxRuntime.jsx("svg", {
|
|
535
|
-
class: styles$
|
|
535
|
+
class: styles$y.icon,
|
|
536
536
|
style: {
|
|
537
537
|
"--color": lightColor ?? color,
|
|
538
538
|
"--dark-color": darkColor ?? color
|
|
@@ -641,7 +641,7 @@ const text$3 = "_text_1gswr_1";
|
|
|
641
641
|
const code$1 = "_code_1gswr_12";
|
|
642
642
|
const kbd = "_kbd_1gswr_21";
|
|
643
643
|
const link$1 = "_link_1gswr_47";
|
|
644
|
-
const styles$
|
|
644
|
+
const styles$x = {
|
|
645
645
|
text: text$3,
|
|
646
646
|
code: code$1,
|
|
647
647
|
kbd,
|
|
@@ -652,16 +652,16 @@ const textStyles = {
|
|
|
652
652
|
text: text$2
|
|
653
653
|
};
|
|
654
654
|
const icon$3 = "_icon_19g82_1";
|
|
655
|
-
const styles$
|
|
655
|
+
const styles$w = {
|
|
656
656
|
icon: icon$3
|
|
657
657
|
};
|
|
658
658
|
const ElmInlineIcon = qwik.component$(({ src, alt }) => {
|
|
659
659
|
return /* @__PURE__ */ jsxRuntime.jsx("span", {
|
|
660
|
-
class: styles$
|
|
660
|
+
class: styles$w.icon,
|
|
661
661
|
children: /* @__PURE__ */ jsxRuntime.jsx("img", {
|
|
662
662
|
src,
|
|
663
663
|
alt,
|
|
664
|
-
class: styles$
|
|
664
|
+
class: styles$w.icon
|
|
665
665
|
})
|
|
666
666
|
});
|
|
667
667
|
});
|
|
@@ -672,7 +672,7 @@ const ElmInlineText = qwik.component$((props) => {
|
|
|
672
672
|
}) : /* @__PURE__ */ jsxRuntime.jsx(qwik.Slot, {});
|
|
673
673
|
if (props.kbd) {
|
|
674
674
|
vnode = /* @__PURE__ */ jsxRuntime.jsx("kbd", {
|
|
675
|
-
class: styles$
|
|
675
|
+
class: styles$x.kbd,
|
|
676
676
|
children: vnode
|
|
677
677
|
});
|
|
678
678
|
}
|
|
@@ -698,13 +698,13 @@ const ElmInlineText = qwik.component$((props) => {
|
|
|
698
698
|
}
|
|
699
699
|
if (code2) {
|
|
700
700
|
vnode = /* @__PURE__ */ jsxRuntime.jsx("code", {
|
|
701
|
-
class: styles$
|
|
701
|
+
class: styles$x.code,
|
|
702
702
|
children: vnode
|
|
703
703
|
});
|
|
704
704
|
}
|
|
705
705
|
if (props.ruby) {
|
|
706
706
|
vnode = /* @__PURE__ */ jsxRuntime.jsxs("ruby", {
|
|
707
|
-
class: styles$
|
|
707
|
+
class: styles$x.text,
|
|
708
708
|
children: [
|
|
709
709
|
/* @__PURE__ */ jsxRuntime.jsx("span", {
|
|
710
710
|
children: vnode
|
|
@@ -717,7 +717,7 @@ const ElmInlineText = qwik.component$((props) => {
|
|
|
717
717
|
}
|
|
718
718
|
const wrappedVnode = /* @__PURE__ */ jsxRuntime.jsx("span", {
|
|
719
719
|
class: [
|
|
720
|
-
styles$
|
|
720
|
+
styles$x.text,
|
|
721
721
|
textStyles.text
|
|
722
722
|
],
|
|
723
723
|
style: {
|
|
@@ -729,7 +729,7 @@ const ElmInlineText = qwik.component$((props) => {
|
|
|
729
729
|
});
|
|
730
730
|
if (props.href) {
|
|
731
731
|
return /* @__PURE__ */ jsxRuntime.jsxs("a", {
|
|
732
|
-
class: styles$
|
|
732
|
+
class: styles$x.link,
|
|
733
733
|
href: props.href,
|
|
734
734
|
style: {
|
|
735
735
|
"--font-size": size
|
|
@@ -747,7 +747,7 @@ const ElmInlineText = qwik.component$((props) => {
|
|
|
747
747
|
return wrappedVnode;
|
|
748
748
|
});
|
|
749
749
|
const code = "_code_1sw1e_1";
|
|
750
|
-
const styles$
|
|
750
|
+
const styles$v = {
|
|
751
751
|
code
|
|
752
752
|
};
|
|
753
753
|
const ElmShikiHighlighter = qwik.component$(({ code: code2, language = "txt" }) => {
|
|
@@ -772,11 +772,11 @@ const ElmShikiHighlighter = qwik.component$(({ code: code2, language = "txt" })
|
|
|
772
772
|
}
|
|
773
773
|
});
|
|
774
774
|
return /* @__PURE__ */ jsxRuntime.jsx("pre", {
|
|
775
|
-
class: styles$
|
|
775
|
+
class: styles$v.code,
|
|
776
776
|
dangerouslySetInnerHTML: rawHtml.value
|
|
777
777
|
});
|
|
778
778
|
});
|
|
779
|
-
const ElmCodeBlock = qwik.component$(({ code: code2, language = "txt", caption: caption2,
|
|
779
|
+
const ElmCodeBlock = qwik.component$(({ code: code2, language = "txt", caption: caption2, style }) => {
|
|
780
780
|
const timerId = qwik.useSignal(null);
|
|
781
781
|
const copyToClipboard = qwik.$(async () => {
|
|
782
782
|
if (timerId.value !== null) {
|
|
@@ -791,19 +791,17 @@ const ElmCodeBlock = qwik.component$(({ code: code2, language = "txt", caption:
|
|
|
791
791
|
}
|
|
792
792
|
});
|
|
793
793
|
return /* @__PURE__ */ jsxRuntime.jsxs("figure", {
|
|
794
|
-
class: styles$
|
|
795
|
-
style
|
|
796
|
-
margin
|
|
797
|
-
},
|
|
794
|
+
class: styles$A["code-block"],
|
|
795
|
+
style,
|
|
798
796
|
children: [
|
|
799
797
|
/* @__PURE__ */ jsxRuntime.jsx("span", {
|
|
800
|
-
class: styles$
|
|
798
|
+
class: styles$A["language-icon"],
|
|
801
799
|
children: /* @__PURE__ */ jsxRuntime.jsx(ElmLanguageIcon, {
|
|
802
800
|
language
|
|
803
801
|
})
|
|
804
802
|
}),
|
|
805
803
|
/* @__PURE__ */ jsxRuntime.jsx("span", {
|
|
806
|
-
class: styles$
|
|
804
|
+
class: styles$A.caption,
|
|
807
805
|
children: /* @__PURE__ */ jsxRuntime.jsxs(ElmInlineText, {
|
|
808
806
|
children: [
|
|
809
807
|
caption2 || language,
|
|
@@ -812,7 +810,7 @@ const ElmCodeBlock = qwik.component$(({ code: code2, language = "txt", caption:
|
|
|
812
810
|
})
|
|
813
811
|
}),
|
|
814
812
|
/* @__PURE__ */ jsxRuntime.jsx("div", {
|
|
815
|
-
class: styles$
|
|
813
|
+
class: styles$A["copy-icon"],
|
|
816
814
|
onClick$: copyToClipboard,
|
|
817
815
|
children: /* @__PURE__ */ jsxRuntime.jsx(ElmMdiIcon, {
|
|
818
816
|
size: "1.25rem",
|
|
@@ -821,10 +819,10 @@ const ElmCodeBlock = qwik.component$(({ code: code2, language = "txt", caption:
|
|
|
821
819
|
})
|
|
822
820
|
}),
|
|
823
821
|
/* @__PURE__ */ jsxRuntime.jsx("hr", {
|
|
824
|
-
class: styles$
|
|
822
|
+
class: styles$A.divider
|
|
825
823
|
}),
|
|
826
824
|
/* @__PURE__ */ jsxRuntime.jsx("div", {
|
|
827
|
-
class: styles$
|
|
825
|
+
class: styles$A.code,
|
|
828
826
|
children: /* @__PURE__ */ jsxRuntime.jsx(ElmShikiHighlighter, {
|
|
829
827
|
code: code2,
|
|
830
828
|
language
|
|
@@ -844,7 +842,7 @@ const ElmKatex = qwik.component$(({ expression, block = false }) => {
|
|
|
844
842
|
});
|
|
845
843
|
});
|
|
846
844
|
const parallax = "_parallax_1kb0k_1";
|
|
847
|
-
const styles$
|
|
845
|
+
const styles$u = {
|
|
848
846
|
"parallax-watcher": "_parallax-watcher_1kb0k_1",
|
|
849
847
|
parallax
|
|
850
848
|
};
|
|
@@ -853,13 +851,13 @@ const ElmParallax = qwik.component$(({ images }) => {
|
|
|
853
851
|
return /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, {
|
|
854
852
|
children: [
|
|
855
853
|
/* @__PURE__ */ jsxRuntime.jsx("div", {
|
|
856
|
-
class: styles$
|
|
854
|
+
class: styles$u["parallax-watcher"],
|
|
857
855
|
"window:onScroll$": () => {
|
|
858
856
|
y.value = window.scrollY;
|
|
859
857
|
}
|
|
860
858
|
}),
|
|
861
859
|
images.map((image2, index) => /* @__PURE__ */ jsxRuntime.jsx("div", {
|
|
862
|
-
class: styles$
|
|
860
|
+
class: styles$u.parallax,
|
|
863
861
|
style: {
|
|
864
862
|
backgroundImage: `url(${image2})`,
|
|
865
863
|
transform: `scale(1.2) translateY(${y.value / (1e3 * (index + 1))}%)`,
|
|
@@ -869,60 +867,61 @@ const ElmParallax = qwik.component$(({ images }) => {
|
|
|
869
867
|
]
|
|
870
868
|
});
|
|
871
869
|
});
|
|
872
|
-
const toggle = "
|
|
873
|
-
const summary = "
|
|
874
|
-
const content$2 = "
|
|
875
|
-
const footer = "
|
|
876
|
-
const styles$
|
|
870
|
+
const toggle = "_toggle_pbyu8_1";
|
|
871
|
+
const summary = "_summary_pbyu8_14";
|
|
872
|
+
const content$2 = "_content_pbyu8_60";
|
|
873
|
+
const footer = "_footer_pbyu8_80";
|
|
874
|
+
const styles$t = {
|
|
877
875
|
toggle,
|
|
878
|
-
"toggle-closed": "_toggle-
|
|
879
|
-
"toggle-open": "_toggle-
|
|
876
|
+
"toggle-closed": "_toggle-closed_pbyu8_7",
|
|
877
|
+
"toggle-open": "_toggle-open_pbyu8_10",
|
|
880
878
|
summary,
|
|
881
|
-
"summary-open": "_summary-
|
|
882
|
-
"summary-closed": "_summary-
|
|
883
|
-
"chevron-icon": "_chevron-
|
|
884
|
-
"chevron-icon-open": "_chevron-icon-
|
|
885
|
-
"chevron-icon-closed": "_chevron-icon-
|
|
886
|
-
"plus-icon": "_plus-
|
|
887
|
-
"plus-icon-open": "_plus-icon-
|
|
888
|
-
"plus-icon-closed": "_plus-icon-
|
|
879
|
+
"summary-open": "_summary-open_pbyu8_29",
|
|
880
|
+
"summary-closed": "_summary-closed_pbyu8_33",
|
|
881
|
+
"chevron-icon": "_chevron-icon_pbyu8_37",
|
|
882
|
+
"chevron-icon-open": "_chevron-icon-open_pbyu8_40",
|
|
883
|
+
"chevron-icon-closed": "_chevron-icon-closed_pbyu8_43",
|
|
884
|
+
"plus-icon": "_plus-icon_pbyu8_47",
|
|
885
|
+
"plus-icon-open": "_plus-icon-open_pbyu8_53",
|
|
886
|
+
"plus-icon-closed": "_plus-icon-closed_pbyu8_56",
|
|
889
887
|
content: content$2,
|
|
890
|
-
"content-open": "_content-
|
|
891
|
-
"content-closed": "_content-
|
|
888
|
+
"content-open": "_content-open_pbyu8_73",
|
|
889
|
+
"content-closed": "_content-closed_pbyu8_76",
|
|
892
890
|
footer,
|
|
893
|
-
"footer-line": "_footer-
|
|
894
|
-
"footer-cross-icon": "_footer-cross-
|
|
891
|
+
"footer-line": "_footer-line_pbyu8_99",
|
|
892
|
+
"footer-cross-icon": "_footer-cross-icon_pbyu8_105"
|
|
895
893
|
};
|
|
896
|
-
const ElmToggle = qwik.component$(({ summary: summary2 }) => {
|
|
894
|
+
const ElmToggle = qwik.component$(({ summary: summary2, style }) => {
|
|
897
895
|
const isOpen = qwik.useSignal(false);
|
|
898
896
|
const toggle2 = qwik.$(() => {
|
|
899
897
|
isOpen.value = !isOpen.value;
|
|
900
898
|
});
|
|
901
899
|
return /* @__PURE__ */ jsxRuntime.jsxs("div", {
|
|
902
900
|
class: [
|
|
903
|
-
styles$
|
|
901
|
+
styles$t.toggle,
|
|
904
902
|
{
|
|
905
|
-
[styles$
|
|
906
|
-
[styles$
|
|
903
|
+
[styles$t["toggle-open"]]: isOpen.value,
|
|
904
|
+
[styles$t["toggle-closed"]]: !isOpen.value
|
|
907
905
|
}
|
|
908
906
|
],
|
|
907
|
+
style,
|
|
909
908
|
children: [
|
|
910
909
|
/* @__PURE__ */ jsxRuntime.jsxs("div", {
|
|
911
910
|
class: [
|
|
912
|
-
styles$
|
|
911
|
+
styles$t.summary,
|
|
913
912
|
{
|
|
914
|
-
[styles$
|
|
915
|
-
[styles$
|
|
913
|
+
[styles$t["summary-open"]]: isOpen.value,
|
|
914
|
+
[styles$t["summary-closed"]]: !isOpen.value
|
|
916
915
|
}
|
|
917
916
|
],
|
|
918
917
|
onClick$: toggle2,
|
|
919
918
|
children: [
|
|
920
919
|
/* @__PURE__ */ jsxRuntime.jsx("span", {
|
|
921
920
|
class: [
|
|
922
|
-
styles$
|
|
921
|
+
styles$t["chevron-icon"],
|
|
923
922
|
{
|
|
924
|
-
[styles$
|
|
925
|
-
[styles$
|
|
923
|
+
[styles$t["chevron-icon-open"]]: isOpen.value,
|
|
924
|
+
[styles$t["chevron-icon-closed"]]: !isOpen.value
|
|
926
925
|
}
|
|
927
926
|
],
|
|
928
927
|
children: /* @__PURE__ */ jsxRuntime.jsx(ElmMdiIcon, {
|
|
@@ -930,17 +929,17 @@ const ElmToggle = qwik.component$(({ summary: summary2 }) => {
|
|
|
930
929
|
})
|
|
931
930
|
}),
|
|
932
931
|
/* @__PURE__ */ jsxRuntime.jsx("span", {
|
|
933
|
-
class: styles$
|
|
932
|
+
class: styles$t["summary-text"],
|
|
934
933
|
children: summary2 ? summary2 : /* @__PURE__ */ jsxRuntime.jsx(qwik.Slot, {
|
|
935
934
|
name: "summary"
|
|
936
935
|
})
|
|
937
936
|
}),
|
|
938
937
|
/* @__PURE__ */ jsxRuntime.jsx("span", {
|
|
939
938
|
class: [
|
|
940
|
-
styles$
|
|
939
|
+
styles$t["plus-icon"],
|
|
941
940
|
{
|
|
942
|
-
[styles$
|
|
943
|
-
[styles$
|
|
941
|
+
[styles$t["plus-icon-open"]]: isOpen.value,
|
|
942
|
+
[styles$t["plus-icon-closed"]]: !isOpen.value
|
|
944
943
|
}
|
|
945
944
|
],
|
|
946
945
|
children: /* @__PURE__ */ jsxRuntime.jsx(ElmMdiIcon, {
|
|
@@ -953,16 +952,16 @@ const ElmToggle = qwik.component$(({ summary: summary2 }) => {
|
|
|
953
952
|
}),
|
|
954
953
|
/* @__PURE__ */ jsxRuntime.jsx("div", {
|
|
955
954
|
class: [
|
|
956
|
-
styles$
|
|
955
|
+
styles$t.content,
|
|
957
956
|
{
|
|
958
|
-
[styles$
|
|
959
|
-
[styles$
|
|
957
|
+
[styles$t["content-open"]]: isOpen.value,
|
|
958
|
+
[styles$t["content-closed"]]: !isOpen.value
|
|
960
959
|
}
|
|
961
960
|
],
|
|
962
961
|
children: /* @__PURE__ */ jsxRuntime.jsx(qwik.Slot, {})
|
|
963
962
|
}),
|
|
964
963
|
/* @__PURE__ */ jsxRuntime.jsxs("div", {
|
|
965
|
-
class: styles$
|
|
964
|
+
class: styles$t.footer,
|
|
966
965
|
onClick$: toggle2,
|
|
967
966
|
children: [
|
|
968
967
|
/* @__PURE__ */ jsxRuntime.jsx("span", {
|
|
@@ -972,10 +971,10 @@ const ElmToggle = qwik.component$(({ summary: summary2 }) => {
|
|
|
972
971
|
})
|
|
973
972
|
}),
|
|
974
973
|
/* @__PURE__ */ jsxRuntime.jsx("hr", {
|
|
975
|
-
class: styles$
|
|
974
|
+
class: styles$t["footer-line"]
|
|
976
975
|
}),
|
|
977
976
|
/* @__PURE__ */ jsxRuntime.jsx("span", {
|
|
978
|
-
class: styles$
|
|
977
|
+
class: styles$t["footer-cross-icon"],
|
|
979
978
|
children: /* @__PURE__ */ jsxRuntime.jsx(ElmMdiIcon, {
|
|
980
979
|
d: js.mdiPlus,
|
|
981
980
|
color: "#c56565"
|
|
@@ -985,14 +984,14 @@ const ElmToggle = qwik.component$(({ summary: summary2 }) => {
|
|
|
985
984
|
children: "CLOSE"
|
|
986
985
|
}),
|
|
987
986
|
/* @__PURE__ */ jsxRuntime.jsx("span", {
|
|
988
|
-
class: styles$
|
|
987
|
+
class: styles$t["footer-cross-icon"],
|
|
989
988
|
children: /* @__PURE__ */ jsxRuntime.jsx(ElmMdiIcon, {
|
|
990
989
|
d: js.mdiPlus,
|
|
991
990
|
color: "#c56565"
|
|
992
991
|
})
|
|
993
992
|
}),
|
|
994
993
|
/* @__PURE__ */ jsxRuntime.jsx("hr", {
|
|
995
|
-
class: styles$
|
|
994
|
+
class: styles$t["footer-line"]
|
|
996
995
|
}),
|
|
997
996
|
/* @__PURE__ */ jsxRuntime.jsx("span", {
|
|
998
997
|
style: {
|
|
@@ -1008,50 +1007,50 @@ const ElmToggle = qwik.component$(({ summary: summary2 }) => {
|
|
|
1008
1007
|
]
|
|
1009
1008
|
});
|
|
1010
1009
|
});
|
|
1011
|
-
const styles$
|
|
1010
|
+
const styles$s = {
|
|
1012
1011
|
"block-fallback": "_block-fallback_rt986_1"
|
|
1013
1012
|
};
|
|
1014
|
-
const wrapper$
|
|
1013
|
+
const wrapper$4 = "_wrapper_1yktj_12";
|
|
1015
1014
|
const dot = "_dot_1yktj_22";
|
|
1016
|
-
const styles$
|
|
1017
|
-
wrapper: wrapper$
|
|
1015
|
+
const styles$r = {
|
|
1016
|
+
wrapper: wrapper$4,
|
|
1018
1017
|
dot
|
|
1019
1018
|
};
|
|
1020
1019
|
const ElmDotLoadingIcon = qwik.component$(({ size = "4em", color = "#606875" }) => {
|
|
1021
1020
|
return /* @__PURE__ */ jsxRuntime.jsxs("div", {
|
|
1022
|
-
class: styles$
|
|
1021
|
+
class: styles$r.wrapper,
|
|
1023
1022
|
style: {
|
|
1024
1023
|
"--size": size,
|
|
1025
1024
|
"--color": color
|
|
1026
1025
|
},
|
|
1027
1026
|
children: [
|
|
1028
1027
|
/* @__PURE__ */ jsxRuntime.jsx("div", {
|
|
1029
|
-
class: styles$
|
|
1028
|
+
class: styles$r.dot,
|
|
1030
1029
|
"aria-hidden": "true"
|
|
1031
1030
|
}),
|
|
1032
1031
|
/* @__PURE__ */ jsxRuntime.jsx("div", {
|
|
1033
|
-
class: styles$
|
|
1032
|
+
class: styles$r.dot,
|
|
1034
1033
|
"aria-hidden": "true"
|
|
1035
1034
|
}),
|
|
1036
1035
|
/* @__PURE__ */ jsxRuntime.jsx("div", {
|
|
1037
|
-
class: styles$
|
|
1036
|
+
class: styles$r.dot,
|
|
1038
1037
|
"aria-hidden": "true"
|
|
1039
1038
|
})
|
|
1040
1039
|
]
|
|
1041
1040
|
});
|
|
1042
1041
|
});
|
|
1043
|
-
const styles$
|
|
1042
|
+
const styles$q = {
|
|
1044
1043
|
"rectangle-wave": "_rectangle-wave_hej9g_17"
|
|
1045
1044
|
};
|
|
1046
1045
|
const ElmRectangleWave = qwik.component$(() => {
|
|
1047
1046
|
return /* @__PURE__ */ jsxRuntime.jsx("div", {
|
|
1048
1047
|
"aria-hidden": "true",
|
|
1049
|
-
class: styles$
|
|
1048
|
+
class: styles$q["rectangle-wave"]
|
|
1050
1049
|
});
|
|
1051
1050
|
});
|
|
1052
1051
|
const ElmBlockFallback = qwik.component$(({ height = "16rem" }) => {
|
|
1053
1052
|
return /* @__PURE__ */ jsxRuntime.jsxs("div", {
|
|
1054
|
-
class: styles$
|
|
1053
|
+
class: styles$s["block-fallback"],
|
|
1055
1054
|
style: {
|
|
1056
1055
|
"--height": height
|
|
1057
1056
|
},
|
|
@@ -1068,7 +1067,7 @@ const colored = "_colored_1ykfy_50";
|
|
|
1068
1067
|
const enable = "_enable_1ykfy_54";
|
|
1069
1068
|
const flex = "_flex_1ykfy_76";
|
|
1070
1069
|
const ripple = "_ripple_1ykfy_97";
|
|
1071
|
-
const styles$
|
|
1070
|
+
const styles$p = {
|
|
1072
1071
|
button,
|
|
1073
1072
|
"button-ornament": "_button-ornament_1ykfy_21",
|
|
1074
1073
|
normal,
|
|
@@ -1092,11 +1091,11 @@ const ElmButton = qwik.component$((props) => {
|
|
|
1092
1091
|
return /* @__PURE__ */ jsxRuntime.jsxs("button", {
|
|
1093
1092
|
onClick$: handleClick,
|
|
1094
1093
|
class: [
|
|
1095
|
-
styles$
|
|
1096
|
-
!props.loading && !props.disabled && styles$
|
|
1097
|
-
props.color && styles$
|
|
1098
|
-
!props.color && !props.primary && styles$
|
|
1099
|
-
!props.color && props.primary && styles$
|
|
1094
|
+
styles$p.button,
|
|
1095
|
+
!props.loading && !props.disabled && styles$p.enable,
|
|
1096
|
+
props.color && styles$p.colored,
|
|
1097
|
+
!props.color && !props.primary && styles$p.normal,
|
|
1098
|
+
!props.color && props.primary && styles$p.primary
|
|
1100
1099
|
],
|
|
1101
1100
|
style: {
|
|
1102
1101
|
display: props.block ? "flex" : "inline-flex",
|
|
@@ -1107,16 +1106,16 @@ const ElmButton = qwik.component$((props) => {
|
|
|
1107
1106
|
},
|
|
1108
1107
|
children: [
|
|
1109
1108
|
clicked.value && /* @__PURE__ */ jsxRuntime.jsx("div", {
|
|
1110
|
-
class: styles$
|
|
1109
|
+
class: styles$p.ripple
|
|
1111
1110
|
}),
|
|
1112
1111
|
props.loading ? /* @__PURE__ */ jsxRuntime.jsx(ElmDotLoadingIcon, {
|
|
1113
1112
|
size: "1.5rem"
|
|
1114
1113
|
}) : /* @__PURE__ */ jsxRuntime.jsx("span", {
|
|
1115
|
-
class: styles$
|
|
1114
|
+
class: styles$p.flex,
|
|
1116
1115
|
children: /* @__PURE__ */ jsxRuntime.jsx(qwik.Slot, {})
|
|
1117
1116
|
}),
|
|
1118
1117
|
/* @__PURE__ */ jsxRuntime.jsx("div", {
|
|
1119
|
-
class: styles$
|
|
1118
|
+
class: styles$p["button-ornament"]
|
|
1120
1119
|
})
|
|
1121
1120
|
]
|
|
1122
1121
|
});
|
|
@@ -1125,7 +1124,7 @@ const container$2 = "_container_101ok_1";
|
|
|
1125
1124
|
const checkbox = "_checkbox_101ok_19";
|
|
1126
1125
|
const rect = "_rect_101ok_27";
|
|
1127
1126
|
const loading$1 = "_loading_101ok_40";
|
|
1128
|
-
const styles$
|
|
1127
|
+
const styles$o = {
|
|
1129
1128
|
container: container$2,
|
|
1130
1129
|
"container--disable": "_container--disable_101ok_11",
|
|
1131
1130
|
checkbox,
|
|
@@ -1145,8 +1144,8 @@ const ElmCheckbox = qwik.component$((props) => {
|
|
|
1145
1144
|
});
|
|
1146
1145
|
return /* @__PURE__ */ jsxRuntime.jsx("div", {
|
|
1147
1146
|
class: [
|
|
1148
|
-
styles$
|
|
1149
|
-
props.disable && styles$
|
|
1147
|
+
styles$o.container,
|
|
1148
|
+
props.disable && styles$o["container--disable"]
|
|
1150
1149
|
],
|
|
1151
1150
|
onClick$: toggleCheck,
|
|
1152
1151
|
children: /* @__PURE__ */ jsxRuntime.jsxs("div", {
|
|
@@ -1159,13 +1158,13 @@ const ElmCheckbox = qwik.component$((props) => {
|
|
|
1159
1158
|
/* @__PURE__ */ jsxRuntime.jsxs("svg", {
|
|
1160
1159
|
width: "24",
|
|
1161
1160
|
height: "24",
|
|
1162
|
-
class: styles$
|
|
1161
|
+
class: styles$o.checkbox,
|
|
1163
1162
|
children: [
|
|
1164
1163
|
/* @__PURE__ */ jsxRuntime.jsxs("circle", {
|
|
1165
1164
|
cx: "0",
|
|
1166
1165
|
cy: "0",
|
|
1167
1166
|
r: "2",
|
|
1168
|
-
class: styles$
|
|
1167
|
+
class: styles$o.loading,
|
|
1169
1168
|
style: {
|
|
1170
1169
|
opacity: props.loading ? 1 : 0
|
|
1171
1170
|
},
|
|
@@ -1192,7 +1191,7 @@ const ElmCheckbox = qwik.component$((props) => {
|
|
|
1192
1191
|
cx: "20",
|
|
1193
1192
|
cy: "20",
|
|
1194
1193
|
r: "2",
|
|
1195
|
-
class: styles$
|
|
1194
|
+
class: styles$o.loading,
|
|
1196
1195
|
style: {
|
|
1197
1196
|
opacity: props.loading ? 1 : 0
|
|
1198
1197
|
},
|
|
@@ -1221,14 +1220,14 @@ const ElmCheckbox = qwik.component$((props) => {
|
|
|
1221
1220
|
width: "16",
|
|
1222
1221
|
height: "16",
|
|
1223
1222
|
class: [
|
|
1224
|
-
styles$
|
|
1225
|
-
isChecked.value && styles$
|
|
1226
|
-
props.loading && styles$
|
|
1223
|
+
styles$o.rect,
|
|
1224
|
+
isChecked.value && styles$o["rect--checked"],
|
|
1225
|
+
props.loading && styles$o["rect--loading"]
|
|
1227
1226
|
],
|
|
1228
1227
|
"stroke-width": "0.8"
|
|
1229
1228
|
}),
|
|
1230
1229
|
isChecked.value && /* @__PURE__ */ jsxRuntime.jsx("polyline", {
|
|
1231
|
-
class: styles$
|
|
1230
|
+
class: styles$o["check-line"],
|
|
1232
1231
|
points: "5,12 10,17 19,8",
|
|
1233
1232
|
"stroke-width": "1.5",
|
|
1234
1233
|
fill: "transparent"
|
|
@@ -1300,7 +1299,7 @@ const ElmCheckbox = qwik.component$((props) => {
|
|
|
1300
1299
|
})
|
|
1301
1300
|
});
|
|
1302
1301
|
});
|
|
1303
|
-
const wrapper$
|
|
1302
|
+
const wrapper$3 = "_wrapper_1o5x2_1";
|
|
1304
1303
|
const active$1 = "_active_1o5x2_23";
|
|
1305
1304
|
const header$2 = "_header_1o5x2_27";
|
|
1306
1305
|
const label$1 = "_label_1o5x2_35";
|
|
@@ -1311,8 +1310,8 @@ const fallback$1 = "_fallback_1o5x2_71";
|
|
|
1311
1310
|
const pulldown = "_pulldown_1o5x2_79";
|
|
1312
1311
|
const option = "_option_1o5x2_96";
|
|
1313
1312
|
const description$1 = "_description_1o5x2_116";
|
|
1314
|
-
const styles$
|
|
1315
|
-
wrapper: wrapper$
|
|
1313
|
+
const styles$n = {
|
|
1314
|
+
wrapper: wrapper$3,
|
|
1316
1315
|
active: active$1,
|
|
1317
1316
|
header: header$2,
|
|
1318
1317
|
label: label$1,
|
|
@@ -1353,8 +1352,8 @@ const ElmSelect = qwik.component$((props) => {
|
|
|
1353
1352
|
return /* @__PURE__ */ jsxRuntime.jsxs("div", {
|
|
1354
1353
|
ref: containerRef,
|
|
1355
1354
|
class: [
|
|
1356
|
-
styles$
|
|
1357
|
-
isActive.value && styles$
|
|
1355
|
+
styles$n.wrapper,
|
|
1356
|
+
isActive.value && styles$n.active
|
|
1358
1357
|
],
|
|
1359
1358
|
style: {
|
|
1360
1359
|
backgroundColor: props.disabled || props.loading ? "rgba(0,0,0,0.15)" : void 0,
|
|
@@ -1363,23 +1362,23 @@ const ElmSelect = qwik.component$((props) => {
|
|
|
1363
1362
|
onClick$: handleToggle,
|
|
1364
1363
|
children: [
|
|
1365
1364
|
/* @__PURE__ */ jsxRuntime.jsx("div", {
|
|
1366
|
-
class: styles$
|
|
1365
|
+
class: styles$n.header,
|
|
1367
1366
|
children: /* @__PURE__ */ jsxRuntime.jsx("span", {
|
|
1368
1367
|
class: [
|
|
1369
|
-
styles$
|
|
1368
|
+
styles$n.label,
|
|
1370
1369
|
textStyles.text
|
|
1371
1370
|
],
|
|
1372
1371
|
children: props.label
|
|
1373
1372
|
})
|
|
1374
1373
|
}),
|
|
1375
1374
|
/* @__PURE__ */ jsxRuntime.jsx("div", {
|
|
1376
|
-
class: styles$
|
|
1375
|
+
class: styles$n.body,
|
|
1377
1376
|
children: /* @__PURE__ */ jsxRuntime.jsxs("div", {
|
|
1378
|
-
class: styles$
|
|
1377
|
+
class: styles$n.select,
|
|
1379
1378
|
children: [
|
|
1380
1379
|
/* @__PURE__ */ jsxRuntime.jsx("div", {
|
|
1381
1380
|
class: [
|
|
1382
|
-
styles$
|
|
1381
|
+
styles$n.selected,
|
|
1383
1382
|
textStyles.text
|
|
1384
1383
|
],
|
|
1385
1384
|
children: selectedOption.value ? /* @__PURE__ */ jsxRuntime.jsxs("div", {
|
|
@@ -1388,12 +1387,12 @@ const ElmSelect = qwik.component$((props) => {
|
|
|
1388
1387
|
children: selectedOption.value.label
|
|
1389
1388
|
}),
|
|
1390
1389
|
selectedOption.value.description && /* @__PURE__ */ jsxRuntime.jsx("span", {
|
|
1391
|
-
class: styles$
|
|
1390
|
+
class: styles$n.description,
|
|
1392
1391
|
children: selectedOption.value.description
|
|
1393
1392
|
})
|
|
1394
1393
|
]
|
|
1395
1394
|
}, selectedOption.value.id) : /* @__PURE__ */ jsxRuntime.jsxs("div", {
|
|
1396
|
-
class: styles$
|
|
1395
|
+
class: styles$n.fallback,
|
|
1397
1396
|
children: [
|
|
1398
1397
|
/* @__PURE__ */ jsxRuntime.jsx(ElmMdiIcon, {
|
|
1399
1398
|
d: js.mdiArrowDownDropCircleOutline
|
|
@@ -1409,10 +1408,10 @@ const ElmSelect = qwik.component$((props) => {
|
|
|
1409
1408
|
size: "1.5rem"
|
|
1410
1409
|
}),
|
|
1411
1410
|
isActive.value && /* @__PURE__ */ jsxRuntime.jsx("div", {
|
|
1412
|
-
class: styles$
|
|
1411
|
+
class: styles$n.pulldown,
|
|
1413
1412
|
children: props.options.map((option2) => /* @__PURE__ */ jsxRuntime.jsxs("div", {
|
|
1414
1413
|
class: [
|
|
1415
|
-
styles$
|
|
1414
|
+
styles$n.option,
|
|
1416
1415
|
textStyles.text
|
|
1417
1416
|
],
|
|
1418
1417
|
onClick$: (e) => {
|
|
@@ -1430,7 +1429,7 @@ const ElmSelect = qwik.component$((props) => {
|
|
|
1430
1429
|
children: option2.label
|
|
1431
1430
|
}),
|
|
1432
1431
|
option2.description && /* @__PURE__ */ jsxRuntime.jsx("span", {
|
|
1433
|
-
class: styles$
|
|
1432
|
+
class: styles$n.description,
|
|
1434
1433
|
children: option2.description
|
|
1435
1434
|
})
|
|
1436
1435
|
]
|
|
@@ -1444,7 +1443,7 @@ const ElmSelect = qwik.component$((props) => {
|
|
|
1444
1443
|
});
|
|
1445
1444
|
const bar = "_bar_gpty5_5";
|
|
1446
1445
|
const circle = "_circle_gpty5_25";
|
|
1447
|
-
const styles$
|
|
1446
|
+
const styles$m = {
|
|
1448
1447
|
"switch": "_switch_gpty5_1",
|
|
1449
1448
|
bar,
|
|
1450
1449
|
"bar--checked": "_bar--checked_gpty5_17",
|
|
@@ -1473,22 +1472,22 @@ const ElmSwitch = qwik.component$((props) => {
|
|
|
1473
1472
|
},
|
|
1474
1473
|
children: [
|
|
1475
1474
|
/* @__PURE__ */ jsxRuntime.jsx("input", {
|
|
1476
|
-
class: styles$
|
|
1475
|
+
class: styles$m.switch,
|
|
1477
1476
|
type: "checkbox",
|
|
1478
1477
|
checked: checked.value,
|
|
1479
1478
|
disabled: props.disabled
|
|
1480
1479
|
}),
|
|
1481
1480
|
/* @__PURE__ */ jsxRuntime.jsx("div", {
|
|
1482
1481
|
class: [
|
|
1483
|
-
styles$
|
|
1484
|
-
checked.value && styles$
|
|
1485
|
-
props.disabled && styles$
|
|
1482
|
+
styles$m.bar,
|
|
1483
|
+
checked.value && styles$m["bar--checked"],
|
|
1484
|
+
props.disabled && styles$m["bar--disabled"]
|
|
1486
1485
|
],
|
|
1487
1486
|
children: /* @__PURE__ */ jsxRuntime.jsx("div", {
|
|
1488
1487
|
class: [
|
|
1489
|
-
styles$
|
|
1490
|
-
checked.value && styles$
|
|
1491
|
-
props.disabled && styles$
|
|
1488
|
+
styles$m.circle,
|
|
1489
|
+
checked.value && styles$m["circle--checked"],
|
|
1490
|
+
props.disabled && styles$m["circle--disabled"]
|
|
1492
1491
|
]
|
|
1493
1492
|
})
|
|
1494
1493
|
})
|
|
@@ -1496,7 +1495,7 @@ const ElmSwitch = qwik.component$((props) => {
|
|
|
1496
1495
|
});
|
|
1497
1496
|
});
|
|
1498
1497
|
const loading = "_loading_1yj0v_19";
|
|
1499
|
-
const wrapper$
|
|
1498
|
+
const wrapper$2 = "_wrapper_1yj0v_33";
|
|
1500
1499
|
const active = "_active_1yj0v_55";
|
|
1501
1500
|
const header$1 = "_header_1yj0v_59";
|
|
1502
1501
|
const label = "_label_1yj0v_67";
|
|
@@ -1505,9 +1504,9 @@ const body$1 = "_body_1yj0v_88";
|
|
|
1505
1504
|
const input = "_input_1yj0v_109";
|
|
1506
1505
|
const icon$2 = "_icon_1yj0v_136";
|
|
1507
1506
|
const suffix = "_suffix_1yj0v_153";
|
|
1508
|
-
const styles$
|
|
1507
|
+
const styles$l = {
|
|
1509
1508
|
loading,
|
|
1510
|
-
wrapper: wrapper$
|
|
1509
|
+
wrapper: wrapper$2,
|
|
1511
1510
|
active,
|
|
1512
1511
|
header: header$1,
|
|
1513
1512
|
label,
|
|
@@ -1549,8 +1548,8 @@ const ElmTextField = qwik.component$((props) => {
|
|
|
1549
1548
|
};
|
|
1550
1549
|
return /* @__PURE__ */ jsxRuntime.jsxs("div", {
|
|
1551
1550
|
class: [
|
|
1552
|
-
styles$
|
|
1553
|
-
isFocused.value && styles$
|
|
1551
|
+
styles$l.wrapper,
|
|
1552
|
+
isFocused.value && styles$l.active
|
|
1554
1553
|
],
|
|
1555
1554
|
style: {
|
|
1556
1555
|
backgroundColor: props.disabled || props.loading ? "rgba(0,0,0,0.15)" : void 0,
|
|
@@ -1558,17 +1557,17 @@ const ElmTextField = qwik.component$((props) => {
|
|
|
1558
1557
|
},
|
|
1559
1558
|
children: [
|
|
1560
1559
|
/* @__PURE__ */ jsxRuntime.jsxs("div", {
|
|
1561
|
-
class: styles$
|
|
1560
|
+
class: styles$l.header,
|
|
1562
1561
|
children: [
|
|
1563
1562
|
/* @__PURE__ */ jsxRuntime.jsxs("label", {
|
|
1564
1563
|
for: id,
|
|
1565
|
-
class: styles$
|
|
1564
|
+
class: styles$l.label,
|
|
1566
1565
|
children: [
|
|
1567
1566
|
/* @__PURE__ */ jsxRuntime.jsx("span", {
|
|
1568
1567
|
children: props.label
|
|
1569
1568
|
}),
|
|
1570
1569
|
props.required && /* @__PURE__ */ jsxRuntime.jsx("span", {
|
|
1571
|
-
class: styles$
|
|
1570
|
+
class: styles$l.requierd,
|
|
1572
1571
|
children: "*"
|
|
1573
1572
|
})
|
|
1574
1573
|
]
|
|
@@ -1581,7 +1580,7 @@ const ElmTextField = qwik.component$((props) => {
|
|
|
1581
1580
|
]
|
|
1582
1581
|
}),
|
|
1583
1582
|
/* @__PURE__ */ jsxRuntime.jsxs("div", {
|
|
1584
|
-
class: styles$
|
|
1583
|
+
class: styles$l.body,
|
|
1585
1584
|
children: [
|
|
1586
1585
|
props.icon && /* @__PURE__ */ jsxRuntime.jsx(ElmMdiIcon, {
|
|
1587
1586
|
d: iconMap[props.icon],
|
|
@@ -1592,7 +1591,7 @@ const ElmTextField = qwik.component$((props) => {
|
|
|
1592
1591
|
id,
|
|
1593
1592
|
"bind:value": input2,
|
|
1594
1593
|
type: inputType.value,
|
|
1595
|
-
class: styles$
|
|
1594
|
+
class: styles$l.input,
|
|
1596
1595
|
placeholder: props.placeholder,
|
|
1597
1596
|
onFocus$: () => isFocused.value = true,
|
|
1598
1597
|
onBlur$: () => isFocused.value = false,
|
|
@@ -1603,16 +1602,16 @@ const ElmTextField = qwik.component$((props) => {
|
|
|
1603
1602
|
"aria-required": props.required
|
|
1604
1603
|
}),
|
|
1605
1604
|
/* @__PURE__ */ jsxRuntime.jsxs("div", {
|
|
1606
|
-
class: styles$
|
|
1605
|
+
class: styles$l["icon-box"],
|
|
1607
1606
|
children: [
|
|
1608
1607
|
/* @__PURE__ */ jsxRuntime.jsx("span", {
|
|
1609
|
-
class: styles$
|
|
1608
|
+
class: styles$l.suffix,
|
|
1610
1609
|
children: props.suffix != null && /* @__PURE__ */ jsxRuntime.jsx(ElmInlineText, {
|
|
1611
1610
|
text: props.suffix
|
|
1612
1611
|
})
|
|
1613
1612
|
}),
|
|
1614
1613
|
/* @__PURE__ */ jsxRuntime.jsx("div", {
|
|
1615
|
-
class: styles$
|
|
1614
|
+
class: styles$l.icon,
|
|
1616
1615
|
onClick$: handleVisibleSwitch,
|
|
1617
1616
|
children: /* @__PURE__ */ jsxRuntime.jsx(ElmMdiIcon, {
|
|
1618
1617
|
d: inputType.value === "text" ? js.mdiEyeOutline : js.mdiEyeOffOutline,
|
|
@@ -1621,7 +1620,7 @@ const ElmTextField = qwik.component$((props) => {
|
|
|
1621
1620
|
})
|
|
1622
1621
|
}),
|
|
1623
1622
|
/* @__PURE__ */ jsxRuntime.jsx("div", {
|
|
1624
|
-
class: styles$
|
|
1623
|
+
class: styles$l.icon,
|
|
1625
1624
|
onClick$: handleDelete,
|
|
1626
1625
|
children: /* @__PURE__ */ jsxRuntime.jsx(ElmMdiIcon, {
|
|
1627
1626
|
d: js.mdiBackspaceOutline,
|
|
@@ -1634,7 +1633,7 @@ const ElmTextField = qwik.component$((props) => {
|
|
|
1634
1633
|
]
|
|
1635
1634
|
}),
|
|
1636
1635
|
/* @__PURE__ */ jsxRuntime.jsx("div", {
|
|
1637
|
-
class: styles$
|
|
1636
|
+
class: styles$l.loading,
|
|
1638
1637
|
style: {
|
|
1639
1638
|
opacity: props.loading ? 0.2 : 0
|
|
1640
1639
|
}
|
|
@@ -1643,12 +1642,12 @@ const ElmTextField = qwik.component$((props) => {
|
|
|
1643
1642
|
});
|
|
1644
1643
|
});
|
|
1645
1644
|
const validation = "_validation_r3xix_1";
|
|
1646
|
-
const styles$
|
|
1645
|
+
const styles$k = {
|
|
1647
1646
|
validation
|
|
1648
1647
|
};
|
|
1649
1648
|
const ElmValidation = qwik.component$(({ text: text2, validColor = "#449763", isValid }) => {
|
|
1650
1649
|
return /* @__PURE__ */ jsxRuntime.jsxs("div", {
|
|
1651
|
-
class: styles$
|
|
1650
|
+
class: styles$k.validation,
|
|
1652
1651
|
style: {
|
|
1653
1652
|
"--opacity": isValid ? 1 : 0.5
|
|
1654
1653
|
},
|
|
@@ -1711,7 +1710,7 @@ function useElmethisTheme() {
|
|
|
1711
1710
|
};
|
|
1712
1711
|
}
|
|
1713
1712
|
const icon$1 = "_icon_1husg_1";
|
|
1714
|
-
const styles$
|
|
1713
|
+
const styles$j = {
|
|
1715
1714
|
icon: icon$1
|
|
1716
1715
|
};
|
|
1717
1716
|
const ElmToggleTheme = qwik.component$(({ size = "2rem" }) => {
|
|
@@ -1722,7 +1721,7 @@ const ElmToggleTheme = qwik.component$(({ size = "2rem" }) => {
|
|
|
1722
1721
|
width: size,
|
|
1723
1722
|
height: size,
|
|
1724
1723
|
viewBox: "0 0 24 24",
|
|
1725
|
-
class: styles$
|
|
1724
|
+
class: styles$j.icon,
|
|
1726
1725
|
onClick$: toggleTheme,
|
|
1727
1726
|
children: [
|
|
1728
1727
|
/* @__PURE__ */ jsxRuntime.jsxs("g", {
|
|
@@ -1930,7 +1929,7 @@ const ElmToggleTheme = qwik.component$(({ size = "2rem" }) => {
|
|
|
1930
1929
|
width: size,
|
|
1931
1930
|
height: size,
|
|
1932
1931
|
viewBox: "0 0 24 24",
|
|
1933
|
-
class: styles$
|
|
1932
|
+
class: styles$j.icon,
|
|
1934
1933
|
onClick$: toggleTheme,
|
|
1935
1934
|
children: [
|
|
1936
1935
|
/* @__PURE__ */ jsxRuntime.jsxs("path", {
|
|
@@ -2176,17 +2175,41 @@ const ElmToggleTheme = qwik.component$(({ size = "2rem" }) => {
|
|
|
2176
2175
|
})
|
|
2177
2176
|
});
|
|
2178
2177
|
});
|
|
2179
|
-
const
|
|
2180
|
-
const
|
|
2178
|
+
const wrapper$1 = "_wrapper_13xd3_15";
|
|
2179
|
+
const square = "_square_13xd3_24";
|
|
2180
|
+
const styles$i = {
|
|
2181
|
+
wrapper: wrapper$1,
|
|
2182
|
+
square
|
|
2183
|
+
};
|
|
2184
|
+
const ElmSquareLoadingIcon = qwik.component$(({ size = "3rem", dimensions = 4 }) => {
|
|
2185
|
+
const DURATION = 1200;
|
|
2186
|
+
const DELAY = DURATION / (dimensions * 3);
|
|
2187
|
+
return /* @__PURE__ */ jsxRuntime.jsx("div", {
|
|
2188
|
+
class: styles$i.wrapper,
|
|
2189
|
+
style: {
|
|
2190
|
+
"--size": size,
|
|
2191
|
+
"--dimensions": dimensions,
|
|
2192
|
+
"--duration": `${DURATION}ms`
|
|
2193
|
+
},
|
|
2194
|
+
children: new Array(dimensions).fill(null).map((_, rowIndex) => new Array(dimensions).fill(null).map((_2, columnIndex) => /* @__PURE__ */ jsxRuntime.jsx("div", {
|
|
2195
|
+
class: styles$i.square,
|
|
2196
|
+
style: {
|
|
2197
|
+
"--delay": `${DELAY * (rowIndex + columnIndex)}ms`
|
|
2198
|
+
}
|
|
2199
|
+
}, `${rowIndex}-${columnIndex}`)))
|
|
2200
|
+
});
|
|
2201
|
+
});
|
|
2202
|
+
const image$1 = "_image_sf1wj_12";
|
|
2203
|
+
const fallback = "_fallback_sf1wj_34";
|
|
2181
2204
|
const styles$h = {
|
|
2182
|
-
"block-image": "_block-
|
|
2183
|
-
"image-container": "_image-
|
|
2205
|
+
"block-image": "_block-image_sf1wj_1",
|
|
2206
|
+
"image-container": "_image-container_sf1wj_12",
|
|
2184
2207
|
image: image$1,
|
|
2185
2208
|
fallback,
|
|
2186
|
-
"caption-box": "_caption-
|
|
2187
|
-
"modal-container": "_modal-
|
|
2209
|
+
"caption-box": "_caption-box_sf1wj_44",
|
|
2210
|
+
"modal-container": "_modal-container_sf1wj_56"
|
|
2188
2211
|
};
|
|
2189
|
-
const ElmBlockImage = qwik.component$(({ src, alt, caption: caption2, width, height, enableModal = true }) => {
|
|
2212
|
+
const ElmBlockImage = qwik.component$(({ src, alt, caption: caption2, width, height, enableModal = true, srcset, sizes, style }) => {
|
|
2190
2213
|
const isLoading = qwik.useSignal(true);
|
|
2191
2214
|
const isShowModal = qwik.useSignal(false);
|
|
2192
2215
|
const handleImageLoad = qwik.$(() => {
|
|
@@ -2201,6 +2224,8 @@ const ElmBlockImage = qwik.component$(({ src, alt, caption: caption2, width, hei
|
|
|
2201
2224
|
class: styles$h.image,
|
|
2202
2225
|
src,
|
|
2203
2226
|
alt: alt ?? caption2 ?? "Image",
|
|
2227
|
+
srcset,
|
|
2228
|
+
sizes,
|
|
2204
2229
|
width,
|
|
2205
2230
|
height,
|
|
2206
2231
|
onLoad$: handleImageLoad,
|
|
@@ -2221,6 +2246,7 @@ const ElmBlockImage = qwik.component$(({ src, alt, caption: caption2, width, hei
|
|
|
2221
2246
|
});
|
|
2222
2247
|
return /* @__PURE__ */ jsxRuntime.jsxs("figure", {
|
|
2223
2248
|
class: styles$h["block-image"],
|
|
2249
|
+
style,
|
|
2224
2250
|
children: [
|
|
2225
2251
|
/* @__PURE__ */ jsxRuntime.jsxs("div", {
|
|
2226
2252
|
class: styles$h["image-container"],
|
|
@@ -2262,18 +2288,18 @@ const ElmBlockImage = qwik.component$(({ src, alt, caption: caption2, width, hei
|
|
|
2262
2288
|
]
|
|
2263
2289
|
});
|
|
2264
2290
|
});
|
|
2265
|
-
const file = "
|
|
2291
|
+
const file = "_file_eqa3m_1";
|
|
2266
2292
|
const styles$g = {
|
|
2267
2293
|
file,
|
|
2268
|
-
"file-size": "_file-
|
|
2269
|
-
"download-icon": "_download-
|
|
2294
|
+
"file-size": "_file-size_eqa3m_16",
|
|
2295
|
+
"download-icon": "_download-icon_eqa3m_21"
|
|
2270
2296
|
};
|
|
2271
2297
|
function getLastPathSegmentWithoutQueryOrHash(urlString) {
|
|
2272
2298
|
const cleanedUrl = urlString.split(/[?#]/)[0];
|
|
2273
2299
|
const pathSegments = cleanedUrl.split("/").filter(Boolean);
|
|
2274
2300
|
return pathSegments.length > 0 ? pathSegments[pathSegments.length - 1] : null;
|
|
2275
2301
|
}
|
|
2276
|
-
const ElmFile = qwik.component$(({ name, src, filesize }) => {
|
|
2302
|
+
const ElmFile = qwik.component$(({ name, src, filesize, style }) => {
|
|
2277
2303
|
const downloadFile = qwik.$(async () => {
|
|
2278
2304
|
let link2;
|
|
2279
2305
|
try {
|
|
@@ -2292,6 +2318,7 @@ const ElmFile = qwik.component$(({ name, src, filesize }) => {
|
|
|
2292
2318
|
});
|
|
2293
2319
|
return /* @__PURE__ */ jsxRuntime.jsxs("div", {
|
|
2294
2320
|
class: styles$g.file,
|
|
2321
|
+
style,
|
|
2295
2322
|
children: [
|
|
2296
2323
|
/* @__PURE__ */ jsxRuntime.jsx("div", {
|
|
2297
2324
|
children: /* @__PURE__ */ jsxRuntime.jsx(ElmMdiIcon, {
|
|
@@ -2321,13 +2348,13 @@ const ElmFile = qwik.component$(({ name, src, filesize }) => {
|
|
|
2321
2348
|
]
|
|
2322
2349
|
});
|
|
2323
2350
|
});
|
|
2324
|
-
const bookmark = "
|
|
2325
|
-
const container$1 = "
|
|
2326
|
-
const image = "
|
|
2327
|
-
const content$1 = "
|
|
2328
|
-
const title = "
|
|
2329
|
-
const description = "
|
|
2330
|
-
const link = "
|
|
2351
|
+
const bookmark = "_bookmark_xxvle_1";
|
|
2352
|
+
const container$1 = "_container_xxvle_20";
|
|
2353
|
+
const image = "_image_xxvle_33";
|
|
2354
|
+
const content$1 = "_content_xxvle_54";
|
|
2355
|
+
const title = "_title_xxvle_74";
|
|
2356
|
+
const description = "_description_xxvle_77";
|
|
2357
|
+
const link = "_link_xxvle_81";
|
|
2331
2358
|
const styles$f = {
|
|
2332
2359
|
bookmark,
|
|
2333
2360
|
container: container$1,
|
|
@@ -2337,7 +2364,7 @@ const styles$f = {
|
|
|
2337
2364
|
description,
|
|
2338
2365
|
link
|
|
2339
2366
|
};
|
|
2340
|
-
const ElmBookmark = qwik.component$(({ url, image: image2, title: title2, description: description2, favicon }) => {
|
|
2367
|
+
const ElmBookmark = qwik.component$(({ url, image: image2, title: title2, description: description2, favicon, style }) => {
|
|
2341
2368
|
const isError = qwik.useSignal(false);
|
|
2342
2369
|
const handleImageOnError = qwik.$(() => {
|
|
2343
2370
|
isError.value = true;
|
|
@@ -2348,6 +2375,7 @@ const ElmBookmark = qwik.component$(({ url, image: image2, title: title2, descri
|
|
|
2348
2375
|
};
|
|
2349
2376
|
return /* @__PURE__ */ jsxRuntime.jsx("div", {
|
|
2350
2377
|
class: styles$f.bookmark,
|
|
2378
|
+
style,
|
|
2351
2379
|
children: /* @__PURE__ */ jsxRuntime.jsxs("a", {
|
|
2352
2380
|
class: styles$f.container,
|
|
2353
2381
|
href: url,
|
|
@@ -2513,21 +2541,22 @@ const ElmPageTop = qwik.component$(({ position = "right" }) => {
|
|
|
2513
2541
|
]
|
|
2514
2542
|
});
|
|
2515
2543
|
});
|
|
2516
|
-
const blockquote = "
|
|
2517
|
-
const body = "
|
|
2518
|
-
const icon = "
|
|
2544
|
+
const blockquote = "_blockquote_1s60i_1";
|
|
2545
|
+
const body = "_body_1s60i_19";
|
|
2546
|
+
const icon = "_icon_1s60i_24";
|
|
2519
2547
|
const styles$c = {
|
|
2520
2548
|
blockquote,
|
|
2521
2549
|
body,
|
|
2522
2550
|
icon
|
|
2523
2551
|
};
|
|
2524
|
-
const ElmBlockQuote = qwik.component$(({ cite }) => {
|
|
2552
|
+
const ElmBlockQuote = qwik.component$(({ cite, style }) => {
|
|
2525
2553
|
return /* @__PURE__ */ jsxRuntime.jsxs("blockquote", {
|
|
2526
2554
|
class: [
|
|
2527
2555
|
styles$c.blockquote,
|
|
2528
2556
|
textStyles.text
|
|
2529
2557
|
],
|
|
2530
2558
|
cite,
|
|
2559
|
+
style,
|
|
2531
2560
|
children: [
|
|
2532
2561
|
/* @__PURE__ */ jsxRuntime.jsx("div", {
|
|
2533
2562
|
class: styles$c.icon,
|
|
@@ -2554,9 +2583,9 @@ const ElmBlockQuote = qwik.component$(({ cite }) => {
|
|
|
2554
2583
|
]
|
|
2555
2584
|
});
|
|
2556
2585
|
});
|
|
2557
|
-
const callout = "
|
|
2558
|
-
const header = "
|
|
2559
|
-
const content = "
|
|
2586
|
+
const callout = "_callout_ov76x_1";
|
|
2587
|
+
const header = "_header_ov76x_26";
|
|
2588
|
+
const content = "_content_ov76x_32";
|
|
2560
2589
|
const styles$b = {
|
|
2561
2590
|
callout,
|
|
2562
2591
|
header,
|
|
@@ -2584,11 +2613,12 @@ const COLOR_MAP = Object.freeze({
|
|
|
2584
2613
|
icon: js.mdiAlertOctagram
|
|
2585
2614
|
}
|
|
2586
2615
|
});
|
|
2587
|
-
const ElmCallout = qwik.component$(({ type = "note" }) => {
|
|
2616
|
+
const ElmCallout = qwik.component$(({ type = "note", style }) => {
|
|
2588
2617
|
return /* @__PURE__ */ jsxRuntime.jsxs("aside", {
|
|
2589
2618
|
class: styles$b.callout,
|
|
2590
2619
|
style: {
|
|
2591
|
-
"--callout-color": COLOR_MAP[type].code
|
|
2620
|
+
"--callout-color": COLOR_MAP[type].code,
|
|
2621
|
+
...style
|
|
2592
2622
|
},
|
|
2593
2623
|
children: [
|
|
2594
2624
|
/* @__PURE__ */ jsxRuntime.jsxs("div", {
|
|
@@ -2611,16 +2641,14 @@ const ElmCallout = qwik.component$(({ type = "note" }) => {
|
|
|
2611
2641
|
]
|
|
2612
2642
|
});
|
|
2613
2643
|
});
|
|
2614
|
-
const hr = "
|
|
2644
|
+
const hr = "_hr_b790w_1";
|
|
2615
2645
|
const styles$a = {
|
|
2616
2646
|
hr
|
|
2617
2647
|
};
|
|
2618
|
-
const ElmDivider = qwik.component$(({
|
|
2648
|
+
const ElmDivider = qwik.component$(({ style }) => {
|
|
2619
2649
|
return /* @__PURE__ */ jsxRuntime.jsx("hr", {
|
|
2620
2650
|
class: styles$a.hr,
|
|
2621
|
-
style
|
|
2622
|
-
marginBlock: margin
|
|
2623
|
-
}
|
|
2651
|
+
style
|
|
2624
2652
|
});
|
|
2625
2653
|
});
|
|
2626
2654
|
const fragment = "_fragment_1kofp_1";
|
|
@@ -2645,15 +2673,15 @@ const ElmFragmentIdentifier = qwik.component$(({ id }) => {
|
|
|
2645
2673
|
children: "#"
|
|
2646
2674
|
});
|
|
2647
2675
|
});
|
|
2648
|
-
const h1 = "
|
|
2649
|
-
const h2 = "
|
|
2650
|
-
const h2__underline = "
|
|
2651
|
-
const h3 = "
|
|
2652
|
-
const h4 = "
|
|
2653
|
-
const h5 = "
|
|
2654
|
-
const h6 = "
|
|
2676
|
+
const h1 = "_h1_1c1xr_10";
|
|
2677
|
+
const h2 = "_h2_1c1xr_40";
|
|
2678
|
+
const h2__underline = "_h2__underline_1c1xr_68";
|
|
2679
|
+
const h3 = "_h3_1c1xr_85";
|
|
2680
|
+
const h4 = "_h4_1c1xr_102";
|
|
2681
|
+
const h5 = "_h5_1c1xr_106";
|
|
2682
|
+
const h6 = "_h6_1c1xr_110";
|
|
2655
2683
|
const styles$8 = {
|
|
2656
|
-
"heading-common": "_heading-
|
|
2684
|
+
"heading-common": "_heading-common_1c1xr_1",
|
|
2657
2685
|
h1,
|
|
2658
2686
|
h2,
|
|
2659
2687
|
h2__underline,
|
|
@@ -2670,7 +2698,7 @@ const SIZE_MAP = Object.freeze({
|
|
|
2670
2698
|
5: 1.15,
|
|
2671
2699
|
6: 1.1
|
|
2672
2700
|
});
|
|
2673
|
-
const ElmHeading = qwik.component$(({ level, text: text2, id }) => {
|
|
2701
|
+
const ElmHeading = qwik.component$(({ level, text: text2, id, style }) => {
|
|
2674
2702
|
const Tag = `h${level}`;
|
|
2675
2703
|
return /* @__PURE__ */ jsxRuntime.jsxs(Tag, {
|
|
2676
2704
|
class: [
|
|
@@ -2679,7 +2707,8 @@ const ElmHeading = qwik.component$(({ level, text: text2, id }) => {
|
|
|
2679
2707
|
styles$8[`h${level}`]
|
|
2680
2708
|
],
|
|
2681
2709
|
style: {
|
|
2682
|
-
"--font-size": `${SIZE_MAP[level]}em
|
|
2710
|
+
"--font-size": `${SIZE_MAP[level]}em`,
|
|
2711
|
+
...style
|
|
2683
2712
|
},
|
|
2684
2713
|
children: [
|
|
2685
2714
|
/* @__PURE__ */ jsxRuntime.jsx("span", {
|
|
@@ -2702,11 +2731,11 @@ const ElmHeading = qwik.component$(({ level, text: text2, id }) => {
|
|
|
2702
2731
|
});
|
|
2703
2732
|
});
|
|
2704
2733
|
const styles$7 = {
|
|
2705
|
-
"elmethis-list-common": "_elmethis-list-
|
|
2706
|
-
"elmethis-bulleted-list": "_elmethis-bulleted-
|
|
2707
|
-
"elmethis-numbered-list": "_elmethis-numbered-
|
|
2734
|
+
"elmethis-list-common": "_elmethis-list-common_6g6c5_1",
|
|
2735
|
+
"elmethis-bulleted-list": "_elmethis-bulleted-list_6g6c5_9",
|
|
2736
|
+
"elmethis-numbered-list": "_elmethis-numbered-list_6g6c5_24"
|
|
2708
2737
|
};
|
|
2709
|
-
const ElmList = qwik.component$(({ listStyle = "unordered" }) => {
|
|
2738
|
+
const ElmList = qwik.component$(({ listStyle = "unordered", style }) => {
|
|
2710
2739
|
if (listStyle === "ordered") {
|
|
2711
2740
|
return /* @__PURE__ */ jsxRuntime.jsx("ol", {
|
|
2712
2741
|
class: [
|
|
@@ -2714,6 +2743,7 @@ const ElmList = qwik.component$(({ listStyle = "unordered" }) => {
|
|
|
2714
2743
|
styles$7["elmethis-list-common"],
|
|
2715
2744
|
styles$7["elmethis-numbered-list"]
|
|
2716
2745
|
],
|
|
2746
|
+
style,
|
|
2717
2747
|
children: /* @__PURE__ */ jsxRuntime.jsx(qwik.Slot, {})
|
|
2718
2748
|
});
|
|
2719
2749
|
} else {
|
|
@@ -2727,7 +2757,7 @@ const ElmList = qwik.component$(({ listStyle = "unordered" }) => {
|
|
|
2727
2757
|
});
|
|
2728
2758
|
}
|
|
2729
2759
|
});
|
|
2730
|
-
const paragraph = "
|
|
2760
|
+
const paragraph = "_paragraph_1klqe_1";
|
|
2731
2761
|
const styles$6 = {
|
|
2732
2762
|
paragraph
|
|
2733
2763
|
};
|
|
@@ -2777,7 +2807,7 @@ const styles$5 = {
|
|
|
2777
2807
|
};
|
|
2778
2808
|
const HasRowHeaderContext = qwik.createContextId("HasRowHeaderContext");
|
|
2779
2809
|
const ElmTable = qwik.component$((props) => {
|
|
2780
|
-
const {
|
|
2810
|
+
const { caption: caption2, hasRowHeader = false, style } = props;
|
|
2781
2811
|
const hasRowHeaderComputed = qwik.useComputed$(() => hasRowHeader);
|
|
2782
2812
|
qwik.useContextProvider(HasRowHeaderContext, hasRowHeaderComputed);
|
|
2783
2813
|
return /* @__PURE__ */ jsxRuntime.jsxs("table", {
|
|
@@ -2786,7 +2816,7 @@ const ElmTable = qwik.component$((props) => {
|
|
|
2786
2816
|
textStyles.text
|
|
2787
2817
|
],
|
|
2788
2818
|
style: {
|
|
2789
|
-
|
|
2819
|
+
...style
|
|
2790
2820
|
},
|
|
2791
2821
|
children: [
|
|
2792
2822
|
caption2 && /* @__PURE__ */ jsxRuntime.jsx("caption", {
|
|
@@ -2884,10 +2914,9 @@ const ElmTableCell = qwik.component$((props) => {
|
|
|
2884
2914
|
})
|
|
2885
2915
|
});
|
|
2886
2916
|
});
|
|
2887
|
-
const column = "
|
|
2917
|
+
const column = "_column_1yujg_1";
|
|
2888
2918
|
const styles$1 = {
|
|
2889
|
-
"
|
|
2890
|
-
"column-list": "_column-list_1l2bp_7",
|
|
2919
|
+
"column-list": "_column-list_1yujg_1",
|
|
2891
2920
|
column
|
|
2892
2921
|
};
|
|
2893
2922
|
const convertInlineComponentsToPlainText = (inlineComponents) => {
|
|
@@ -3053,7 +3082,10 @@ const ElmJarkup = qwik.component$((props) => {
|
|
|
3053
3082
|
});
|
|
3054
3083
|
};
|
|
3055
3084
|
return /* @__PURE__ */ jsxRuntime.jsx("div", {
|
|
3056
|
-
|
|
3085
|
+
style: {
|
|
3086
|
+
"--margin-block": "3rem",
|
|
3087
|
+
...props.style
|
|
3088
|
+
},
|
|
3057
3089
|
children: render(props.jsonComponents)
|
|
3058
3090
|
});
|
|
3059
3091
|
});
|
|
@@ -3310,6 +3342,7 @@ exports.ElmParallax = ElmParallax;
|
|
|
3310
3342
|
exports.ElmRectangleWave = ElmRectangleWave;
|
|
3311
3343
|
exports.ElmSelect = ElmSelect;
|
|
3312
3344
|
exports.ElmShikiHighlighter = ElmShikiHighlighter;
|
|
3345
|
+
exports.ElmSquareLoadingIcon = ElmSquareLoadingIcon;
|
|
3313
3346
|
exports.ElmSwitch = ElmSwitch;
|
|
3314
3347
|
exports.ElmTable = ElmTable;
|
|
3315
3348
|
exports.ElmTableBody = ElmTableBody;
|