@elmethis/qwik 0.0.27 → 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.
@@ -8,7 +8,7 @@ import { marked } from "marked";
8
8
  const caption$1 = "_caption_1j0ec_27";
9
9
  const divider = "_divider_1j0ec_50";
10
10
  const code$2 = "_code_1j0ec_1";
11
- const styles$z = {
11
+ const styles$A = {
12
12
  "code-block": "_code-block_1j0ec_1",
13
13
  "language-icon": "_language-icon_1j0ec_22",
14
14
  caption: caption$1,
@@ -68,7 +68,7 @@ const Typescript = component$(({ size = 24, ...props }) => {
68
68
  });
69
69
  });
70
70
  const path = "_path_1ccs2_1";
71
- const styles$y = {
71
+ const styles$z = {
72
72
  path
73
73
  };
74
74
  const Bash = component$(({ size = 24, ...props }) => {
@@ -84,7 +84,7 @@ const Bash = component$(({ size = 24, ...props }) => {
84
84
  d: "M4.24 4.24h119.53v119.53H4.24z"
85
85
  }),
86
86
  /* @__PURE__ */ jsx("path", {
87
- class: styles$y.path,
87
+ class: styles$z.path,
88
88
  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"
89
89
  }),
90
90
  /* @__PURE__ */ jsx("path", {
@@ -525,12 +525,12 @@ const C = component$(({ size = 24, ...props }) => {
525
525
  });
526
526
  });
527
527
  const icon$4 = "_icon_1gvln_1";
528
- const styles$x = {
528
+ const styles$y = {
529
529
  icon: icon$4
530
530
  };
531
531
  const ElmMdiIcon = component$(({ d, size = "1em", color, lightColor, darkColor }) => {
532
532
  return /* @__PURE__ */ jsx("svg", {
533
- class: styles$x.icon,
533
+ class: styles$y.icon,
534
534
  style: {
535
535
  "--color": lightColor ?? color,
536
536
  "--dark-color": darkColor ?? color
@@ -639,7 +639,7 @@ const text$3 = "_text_1gswr_1";
639
639
  const code$1 = "_code_1gswr_12";
640
640
  const kbd = "_kbd_1gswr_21";
641
641
  const link$1 = "_link_1gswr_47";
642
- const styles$w = {
642
+ const styles$x = {
643
643
  text: text$3,
644
644
  code: code$1,
645
645
  kbd,
@@ -650,16 +650,16 @@ const textStyles = {
650
650
  text: text$2
651
651
  };
652
652
  const icon$3 = "_icon_19g82_1";
653
- const styles$v = {
653
+ const styles$w = {
654
654
  icon: icon$3
655
655
  };
656
656
  const ElmInlineIcon = component$(({ src, alt }) => {
657
657
  return /* @__PURE__ */ jsx("span", {
658
- class: styles$v.icon,
658
+ class: styles$w.icon,
659
659
  children: /* @__PURE__ */ jsx("img", {
660
660
  src,
661
661
  alt,
662
- class: styles$v.icon
662
+ class: styles$w.icon
663
663
  })
664
664
  });
665
665
  });
@@ -670,7 +670,7 @@ const ElmInlineText = component$((props) => {
670
670
  }) : /* @__PURE__ */ jsx(Slot, {});
671
671
  if (props.kbd) {
672
672
  vnode = /* @__PURE__ */ jsx("kbd", {
673
- class: styles$w.kbd,
673
+ class: styles$x.kbd,
674
674
  children: vnode
675
675
  });
676
676
  }
@@ -696,13 +696,13 @@ const ElmInlineText = component$((props) => {
696
696
  }
697
697
  if (code2) {
698
698
  vnode = /* @__PURE__ */ jsx("code", {
699
- class: styles$w.code,
699
+ class: styles$x.code,
700
700
  children: vnode
701
701
  });
702
702
  }
703
703
  if (props.ruby) {
704
704
  vnode = /* @__PURE__ */ jsxs("ruby", {
705
- class: styles$w.text,
705
+ class: styles$x.text,
706
706
  children: [
707
707
  /* @__PURE__ */ jsx("span", {
708
708
  children: vnode
@@ -715,7 +715,7 @@ const ElmInlineText = component$((props) => {
715
715
  }
716
716
  const wrappedVnode = /* @__PURE__ */ jsx("span", {
717
717
  class: [
718
- styles$w.text,
718
+ styles$x.text,
719
719
  textStyles.text
720
720
  ],
721
721
  style: {
@@ -727,7 +727,7 @@ const ElmInlineText = component$((props) => {
727
727
  });
728
728
  if (props.href) {
729
729
  return /* @__PURE__ */ jsxs("a", {
730
- class: styles$w.link,
730
+ class: styles$x.link,
731
731
  href: props.href,
732
732
  style: {
733
733
  "--font-size": size
@@ -745,7 +745,7 @@ const ElmInlineText = component$((props) => {
745
745
  return wrappedVnode;
746
746
  });
747
747
  const code = "_code_1sw1e_1";
748
- const styles$u = {
748
+ const styles$v = {
749
749
  code
750
750
  };
751
751
  const ElmShikiHighlighter = component$(({ code: code2, language = "txt" }) => {
@@ -770,7 +770,7 @@ const ElmShikiHighlighter = component$(({ code: code2, language = "txt" }) => {
770
770
  }
771
771
  });
772
772
  return /* @__PURE__ */ jsx("pre", {
773
- class: styles$u.code,
773
+ class: styles$v.code,
774
774
  dangerouslySetInnerHTML: rawHtml.value
775
775
  });
776
776
  });
@@ -789,17 +789,17 @@ const ElmCodeBlock = component$(({ code: code2, language = "txt", caption: capti
789
789
  }
790
790
  });
791
791
  return /* @__PURE__ */ jsxs("figure", {
792
- class: styles$z["code-block"],
792
+ class: styles$A["code-block"],
793
793
  style,
794
794
  children: [
795
795
  /* @__PURE__ */ jsx("span", {
796
- class: styles$z["language-icon"],
796
+ class: styles$A["language-icon"],
797
797
  children: /* @__PURE__ */ jsx(ElmLanguageIcon, {
798
798
  language
799
799
  })
800
800
  }),
801
801
  /* @__PURE__ */ jsx("span", {
802
- class: styles$z.caption,
802
+ class: styles$A.caption,
803
803
  children: /* @__PURE__ */ jsxs(ElmInlineText, {
804
804
  children: [
805
805
  caption2 || language,
@@ -808,7 +808,7 @@ const ElmCodeBlock = component$(({ code: code2, language = "txt", caption: capti
808
808
  })
809
809
  }),
810
810
  /* @__PURE__ */ jsx("div", {
811
- class: styles$z["copy-icon"],
811
+ class: styles$A["copy-icon"],
812
812
  onClick$: copyToClipboard,
813
813
  children: /* @__PURE__ */ jsx(ElmMdiIcon, {
814
814
  size: "1.25rem",
@@ -817,10 +817,10 @@ const ElmCodeBlock = component$(({ code: code2, language = "txt", caption: capti
817
817
  })
818
818
  }),
819
819
  /* @__PURE__ */ jsx("hr", {
820
- class: styles$z.divider
820
+ class: styles$A.divider
821
821
  }),
822
822
  /* @__PURE__ */ jsx("div", {
823
- class: styles$z.code,
823
+ class: styles$A.code,
824
824
  children: /* @__PURE__ */ jsx(ElmShikiHighlighter, {
825
825
  code: code2,
826
826
  language
@@ -840,7 +840,7 @@ const ElmKatex = component$(({ expression, block = false }) => {
840
840
  });
841
841
  });
842
842
  const parallax = "_parallax_1kb0k_1";
843
- const styles$t = {
843
+ const styles$u = {
844
844
  "parallax-watcher": "_parallax-watcher_1kb0k_1",
845
845
  parallax
846
846
  };
@@ -849,13 +849,13 @@ const ElmParallax = component$(({ images }) => {
849
849
  return /* @__PURE__ */ jsxs(Fragment, {
850
850
  children: [
851
851
  /* @__PURE__ */ jsx("div", {
852
- class: styles$t["parallax-watcher"],
852
+ class: styles$u["parallax-watcher"],
853
853
  "window:onScroll$": () => {
854
854
  y.value = window.scrollY;
855
855
  }
856
856
  }),
857
857
  images.map((image2, index) => /* @__PURE__ */ jsx("div", {
858
- class: styles$t.parallax,
858
+ class: styles$u.parallax,
859
859
  style: {
860
860
  backgroundImage: `url(${image2})`,
861
861
  transform: `scale(1.2) translateY(${y.value / (1e3 * (index + 1))}%)`,
@@ -869,7 +869,7 @@ const toggle = "_toggle_pbyu8_1";
869
869
  const summary = "_summary_pbyu8_14";
870
870
  const content$2 = "_content_pbyu8_60";
871
871
  const footer = "_footer_pbyu8_80";
872
- const styles$s = {
872
+ const styles$t = {
873
873
  toggle,
874
874
  "toggle-closed": "_toggle-closed_pbyu8_7",
875
875
  "toggle-open": "_toggle-open_pbyu8_10",
@@ -896,30 +896,30 @@ const ElmToggle = component$(({ summary: summary2, style }) => {
896
896
  });
897
897
  return /* @__PURE__ */ jsxs("div", {
898
898
  class: [
899
- styles$s.toggle,
899
+ styles$t.toggle,
900
900
  {
901
- [styles$s["toggle-open"]]: isOpen.value,
902
- [styles$s["toggle-closed"]]: !isOpen.value
901
+ [styles$t["toggle-open"]]: isOpen.value,
902
+ [styles$t["toggle-closed"]]: !isOpen.value
903
903
  }
904
904
  ],
905
905
  style,
906
906
  children: [
907
907
  /* @__PURE__ */ jsxs("div", {
908
908
  class: [
909
- styles$s.summary,
909
+ styles$t.summary,
910
910
  {
911
- [styles$s["summary-open"]]: isOpen.value,
912
- [styles$s["summary-closed"]]: !isOpen.value
911
+ [styles$t["summary-open"]]: isOpen.value,
912
+ [styles$t["summary-closed"]]: !isOpen.value
913
913
  }
914
914
  ],
915
915
  onClick$: toggle2,
916
916
  children: [
917
917
  /* @__PURE__ */ jsx("span", {
918
918
  class: [
919
- styles$s["chevron-icon"],
919
+ styles$t["chevron-icon"],
920
920
  {
921
- [styles$s["chevron-icon-open"]]: isOpen.value,
922
- [styles$s["chevron-icon-closed"]]: !isOpen.value
921
+ [styles$t["chevron-icon-open"]]: isOpen.value,
922
+ [styles$t["chevron-icon-closed"]]: !isOpen.value
923
923
  }
924
924
  ],
925
925
  children: /* @__PURE__ */ jsx(ElmMdiIcon, {
@@ -927,17 +927,17 @@ const ElmToggle = component$(({ summary: summary2, style }) => {
927
927
  })
928
928
  }),
929
929
  /* @__PURE__ */ jsx("span", {
930
- class: styles$s["summary-text"],
930
+ class: styles$t["summary-text"],
931
931
  children: summary2 ? summary2 : /* @__PURE__ */ jsx(Slot, {
932
932
  name: "summary"
933
933
  })
934
934
  }),
935
935
  /* @__PURE__ */ jsx("span", {
936
936
  class: [
937
- styles$s["plus-icon"],
937
+ styles$t["plus-icon"],
938
938
  {
939
- [styles$s["plus-icon-open"]]: isOpen.value,
940
- [styles$s["plus-icon-closed"]]: !isOpen.value
939
+ [styles$t["plus-icon-open"]]: isOpen.value,
940
+ [styles$t["plus-icon-closed"]]: !isOpen.value
941
941
  }
942
942
  ],
943
943
  children: /* @__PURE__ */ jsx(ElmMdiIcon, {
@@ -950,16 +950,16 @@ const ElmToggle = component$(({ summary: summary2, style }) => {
950
950
  }),
951
951
  /* @__PURE__ */ jsx("div", {
952
952
  class: [
953
- styles$s.content,
953
+ styles$t.content,
954
954
  {
955
- [styles$s["content-open"]]: isOpen.value,
956
- [styles$s["content-closed"]]: !isOpen.value
955
+ [styles$t["content-open"]]: isOpen.value,
956
+ [styles$t["content-closed"]]: !isOpen.value
957
957
  }
958
958
  ],
959
959
  children: /* @__PURE__ */ jsx(Slot, {})
960
960
  }),
961
961
  /* @__PURE__ */ jsxs("div", {
962
- class: styles$s.footer,
962
+ class: styles$t.footer,
963
963
  onClick$: toggle2,
964
964
  children: [
965
965
  /* @__PURE__ */ jsx("span", {
@@ -969,10 +969,10 @@ const ElmToggle = component$(({ summary: summary2, style }) => {
969
969
  })
970
970
  }),
971
971
  /* @__PURE__ */ jsx("hr", {
972
- class: styles$s["footer-line"]
972
+ class: styles$t["footer-line"]
973
973
  }),
974
974
  /* @__PURE__ */ jsx("span", {
975
- class: styles$s["footer-cross-icon"],
975
+ class: styles$t["footer-cross-icon"],
976
976
  children: /* @__PURE__ */ jsx(ElmMdiIcon, {
977
977
  d: mdiPlus,
978
978
  color: "#c56565"
@@ -982,14 +982,14 @@ const ElmToggle = component$(({ summary: summary2, style }) => {
982
982
  children: "CLOSE"
983
983
  }),
984
984
  /* @__PURE__ */ jsx("span", {
985
- class: styles$s["footer-cross-icon"],
985
+ class: styles$t["footer-cross-icon"],
986
986
  children: /* @__PURE__ */ jsx(ElmMdiIcon, {
987
987
  d: mdiPlus,
988
988
  color: "#c56565"
989
989
  })
990
990
  }),
991
991
  /* @__PURE__ */ jsx("hr", {
992
- class: styles$s["footer-line"]
992
+ class: styles$t["footer-line"]
993
993
  }),
994
994
  /* @__PURE__ */ jsx("span", {
995
995
  style: {
@@ -1005,50 +1005,50 @@ const ElmToggle = component$(({ summary: summary2, style }) => {
1005
1005
  ]
1006
1006
  });
1007
1007
  });
1008
- const styles$r = {
1008
+ const styles$s = {
1009
1009
  "block-fallback": "_block-fallback_rt986_1"
1010
1010
  };
1011
- const wrapper$3 = "_wrapper_1yktj_12";
1011
+ const wrapper$4 = "_wrapper_1yktj_12";
1012
1012
  const dot = "_dot_1yktj_22";
1013
- const styles$q = {
1014
- wrapper: wrapper$3,
1013
+ const styles$r = {
1014
+ wrapper: wrapper$4,
1015
1015
  dot
1016
1016
  };
1017
1017
  const ElmDotLoadingIcon = component$(({ size = "4em", color = "#606875" }) => {
1018
1018
  return /* @__PURE__ */ jsxs("div", {
1019
- class: styles$q.wrapper,
1019
+ class: styles$r.wrapper,
1020
1020
  style: {
1021
1021
  "--size": size,
1022
1022
  "--color": color
1023
1023
  },
1024
1024
  children: [
1025
1025
  /* @__PURE__ */ jsx("div", {
1026
- class: styles$q.dot,
1026
+ class: styles$r.dot,
1027
1027
  "aria-hidden": "true"
1028
1028
  }),
1029
1029
  /* @__PURE__ */ jsx("div", {
1030
- class: styles$q.dot,
1030
+ class: styles$r.dot,
1031
1031
  "aria-hidden": "true"
1032
1032
  }),
1033
1033
  /* @__PURE__ */ jsx("div", {
1034
- class: styles$q.dot,
1034
+ class: styles$r.dot,
1035
1035
  "aria-hidden": "true"
1036
1036
  })
1037
1037
  ]
1038
1038
  });
1039
1039
  });
1040
- const styles$p = {
1040
+ const styles$q = {
1041
1041
  "rectangle-wave": "_rectangle-wave_hej9g_17"
1042
1042
  };
1043
1043
  const ElmRectangleWave = component$(() => {
1044
1044
  return /* @__PURE__ */ jsx("div", {
1045
1045
  "aria-hidden": "true",
1046
- class: styles$p["rectangle-wave"]
1046
+ class: styles$q["rectangle-wave"]
1047
1047
  });
1048
1048
  });
1049
1049
  const ElmBlockFallback = component$(({ height = "16rem" }) => {
1050
1050
  return /* @__PURE__ */ jsxs("div", {
1051
- class: styles$r["block-fallback"],
1051
+ class: styles$s["block-fallback"],
1052
1052
  style: {
1053
1053
  "--height": height
1054
1054
  },
@@ -1065,7 +1065,7 @@ const colored = "_colored_1ykfy_50";
1065
1065
  const enable = "_enable_1ykfy_54";
1066
1066
  const flex = "_flex_1ykfy_76";
1067
1067
  const ripple = "_ripple_1ykfy_97";
1068
- const styles$o = {
1068
+ const styles$p = {
1069
1069
  button,
1070
1070
  "button-ornament": "_button-ornament_1ykfy_21",
1071
1071
  normal,
@@ -1089,11 +1089,11 @@ const ElmButton = component$((props) => {
1089
1089
  return /* @__PURE__ */ jsxs("button", {
1090
1090
  onClick$: handleClick,
1091
1091
  class: [
1092
- styles$o.button,
1093
- !props.loading && !props.disabled && styles$o.enable,
1094
- props.color && styles$o.colored,
1095
- !props.color && !props.primary && styles$o.normal,
1096
- !props.color && props.primary && styles$o.primary
1092
+ styles$p.button,
1093
+ !props.loading && !props.disabled && styles$p.enable,
1094
+ props.color && styles$p.colored,
1095
+ !props.color && !props.primary && styles$p.normal,
1096
+ !props.color && props.primary && styles$p.primary
1097
1097
  ],
1098
1098
  style: {
1099
1099
  display: props.block ? "flex" : "inline-flex",
@@ -1104,16 +1104,16 @@ const ElmButton = component$((props) => {
1104
1104
  },
1105
1105
  children: [
1106
1106
  clicked.value && /* @__PURE__ */ jsx("div", {
1107
- class: styles$o.ripple
1107
+ class: styles$p.ripple
1108
1108
  }),
1109
1109
  props.loading ? /* @__PURE__ */ jsx(ElmDotLoadingIcon, {
1110
1110
  size: "1.5rem"
1111
1111
  }) : /* @__PURE__ */ jsx("span", {
1112
- class: styles$o.flex,
1112
+ class: styles$p.flex,
1113
1113
  children: /* @__PURE__ */ jsx(Slot, {})
1114
1114
  }),
1115
1115
  /* @__PURE__ */ jsx("div", {
1116
- class: styles$o["button-ornament"]
1116
+ class: styles$p["button-ornament"]
1117
1117
  })
1118
1118
  ]
1119
1119
  });
@@ -1122,7 +1122,7 @@ const container$2 = "_container_101ok_1";
1122
1122
  const checkbox = "_checkbox_101ok_19";
1123
1123
  const rect = "_rect_101ok_27";
1124
1124
  const loading$1 = "_loading_101ok_40";
1125
- const styles$n = {
1125
+ const styles$o = {
1126
1126
  container: container$2,
1127
1127
  "container--disable": "_container--disable_101ok_11",
1128
1128
  checkbox,
@@ -1142,8 +1142,8 @@ const ElmCheckbox = component$((props) => {
1142
1142
  });
1143
1143
  return /* @__PURE__ */ jsx("div", {
1144
1144
  class: [
1145
- styles$n.container,
1146
- props.disable && styles$n["container--disable"]
1145
+ styles$o.container,
1146
+ props.disable && styles$o["container--disable"]
1147
1147
  ],
1148
1148
  onClick$: toggleCheck,
1149
1149
  children: /* @__PURE__ */ jsxs("div", {
@@ -1156,13 +1156,13 @@ const ElmCheckbox = component$((props) => {
1156
1156
  /* @__PURE__ */ jsxs("svg", {
1157
1157
  width: "24",
1158
1158
  height: "24",
1159
- class: styles$n.checkbox,
1159
+ class: styles$o.checkbox,
1160
1160
  children: [
1161
1161
  /* @__PURE__ */ jsxs("circle", {
1162
1162
  cx: "0",
1163
1163
  cy: "0",
1164
1164
  r: "2",
1165
- class: styles$n.loading,
1165
+ class: styles$o.loading,
1166
1166
  style: {
1167
1167
  opacity: props.loading ? 1 : 0
1168
1168
  },
@@ -1189,7 +1189,7 @@ const ElmCheckbox = component$((props) => {
1189
1189
  cx: "20",
1190
1190
  cy: "20",
1191
1191
  r: "2",
1192
- class: styles$n.loading,
1192
+ class: styles$o.loading,
1193
1193
  style: {
1194
1194
  opacity: props.loading ? 1 : 0
1195
1195
  },
@@ -1218,14 +1218,14 @@ const ElmCheckbox = component$((props) => {
1218
1218
  width: "16",
1219
1219
  height: "16",
1220
1220
  class: [
1221
- styles$n.rect,
1222
- isChecked.value && styles$n["rect--checked"],
1223
- props.loading && styles$n["rect--loading"]
1221
+ styles$o.rect,
1222
+ isChecked.value && styles$o["rect--checked"],
1223
+ props.loading && styles$o["rect--loading"]
1224
1224
  ],
1225
1225
  "stroke-width": "0.8"
1226
1226
  }),
1227
1227
  isChecked.value && /* @__PURE__ */ jsx("polyline", {
1228
- class: styles$n["check-line"],
1228
+ class: styles$o["check-line"],
1229
1229
  points: "5,12 10,17 19,8",
1230
1230
  "stroke-width": "1.5",
1231
1231
  fill: "transparent"
@@ -1297,7 +1297,7 @@ const ElmCheckbox = component$((props) => {
1297
1297
  })
1298
1298
  });
1299
1299
  });
1300
- const wrapper$2 = "_wrapper_1o5x2_1";
1300
+ const wrapper$3 = "_wrapper_1o5x2_1";
1301
1301
  const active$1 = "_active_1o5x2_23";
1302
1302
  const header$2 = "_header_1o5x2_27";
1303
1303
  const label$1 = "_label_1o5x2_35";
@@ -1308,8 +1308,8 @@ const fallback$1 = "_fallback_1o5x2_71";
1308
1308
  const pulldown = "_pulldown_1o5x2_79";
1309
1309
  const option = "_option_1o5x2_96";
1310
1310
  const description$1 = "_description_1o5x2_116";
1311
- const styles$m = {
1312
- wrapper: wrapper$2,
1311
+ const styles$n = {
1312
+ wrapper: wrapper$3,
1313
1313
  active: active$1,
1314
1314
  header: header$2,
1315
1315
  label: label$1,
@@ -1350,8 +1350,8 @@ const ElmSelect = component$((props) => {
1350
1350
  return /* @__PURE__ */ jsxs("div", {
1351
1351
  ref: containerRef,
1352
1352
  class: [
1353
- styles$m.wrapper,
1354
- isActive.value && styles$m.active
1353
+ styles$n.wrapper,
1354
+ isActive.value && styles$n.active
1355
1355
  ],
1356
1356
  style: {
1357
1357
  backgroundColor: props.disabled || props.loading ? "rgba(0,0,0,0.15)" : void 0,
@@ -1360,23 +1360,23 @@ const ElmSelect = component$((props) => {
1360
1360
  onClick$: handleToggle,
1361
1361
  children: [
1362
1362
  /* @__PURE__ */ jsx("div", {
1363
- class: styles$m.header,
1363
+ class: styles$n.header,
1364
1364
  children: /* @__PURE__ */ jsx("span", {
1365
1365
  class: [
1366
- styles$m.label,
1366
+ styles$n.label,
1367
1367
  textStyles.text
1368
1368
  ],
1369
1369
  children: props.label
1370
1370
  })
1371
1371
  }),
1372
1372
  /* @__PURE__ */ jsx("div", {
1373
- class: styles$m.body,
1373
+ class: styles$n.body,
1374
1374
  children: /* @__PURE__ */ jsxs("div", {
1375
- class: styles$m.select,
1375
+ class: styles$n.select,
1376
1376
  children: [
1377
1377
  /* @__PURE__ */ jsx("div", {
1378
1378
  class: [
1379
- styles$m.selected,
1379
+ styles$n.selected,
1380
1380
  textStyles.text
1381
1381
  ],
1382
1382
  children: selectedOption.value ? /* @__PURE__ */ jsxs("div", {
@@ -1385,12 +1385,12 @@ const ElmSelect = component$((props) => {
1385
1385
  children: selectedOption.value.label
1386
1386
  }),
1387
1387
  selectedOption.value.description && /* @__PURE__ */ jsx("span", {
1388
- class: styles$m.description,
1388
+ class: styles$n.description,
1389
1389
  children: selectedOption.value.description
1390
1390
  })
1391
1391
  ]
1392
1392
  }, selectedOption.value.id) : /* @__PURE__ */ jsxs("div", {
1393
- class: styles$m.fallback,
1393
+ class: styles$n.fallback,
1394
1394
  children: [
1395
1395
  /* @__PURE__ */ jsx(ElmMdiIcon, {
1396
1396
  d: mdiArrowDownDropCircleOutline
@@ -1406,10 +1406,10 @@ const ElmSelect = component$((props) => {
1406
1406
  size: "1.5rem"
1407
1407
  }),
1408
1408
  isActive.value && /* @__PURE__ */ jsx("div", {
1409
- class: styles$m.pulldown,
1409
+ class: styles$n.pulldown,
1410
1410
  children: props.options.map((option2) => /* @__PURE__ */ jsxs("div", {
1411
1411
  class: [
1412
- styles$m.option,
1412
+ styles$n.option,
1413
1413
  textStyles.text
1414
1414
  ],
1415
1415
  onClick$: (e) => {
@@ -1427,7 +1427,7 @@ const ElmSelect = component$((props) => {
1427
1427
  children: option2.label
1428
1428
  }),
1429
1429
  option2.description && /* @__PURE__ */ jsx("span", {
1430
- class: styles$m.description,
1430
+ class: styles$n.description,
1431
1431
  children: option2.description
1432
1432
  })
1433
1433
  ]
@@ -1441,7 +1441,7 @@ const ElmSelect = component$((props) => {
1441
1441
  });
1442
1442
  const bar = "_bar_gpty5_5";
1443
1443
  const circle = "_circle_gpty5_25";
1444
- const styles$l = {
1444
+ const styles$m = {
1445
1445
  "switch": "_switch_gpty5_1",
1446
1446
  bar,
1447
1447
  "bar--checked": "_bar--checked_gpty5_17",
@@ -1470,22 +1470,22 @@ const ElmSwitch = component$((props) => {
1470
1470
  },
1471
1471
  children: [
1472
1472
  /* @__PURE__ */ jsx("input", {
1473
- class: styles$l.switch,
1473
+ class: styles$m.switch,
1474
1474
  type: "checkbox",
1475
1475
  checked: checked.value,
1476
1476
  disabled: props.disabled
1477
1477
  }),
1478
1478
  /* @__PURE__ */ jsx("div", {
1479
1479
  class: [
1480
- styles$l.bar,
1481
- checked.value && styles$l["bar--checked"],
1482
- props.disabled && styles$l["bar--disabled"]
1480
+ styles$m.bar,
1481
+ checked.value && styles$m["bar--checked"],
1482
+ props.disabled && styles$m["bar--disabled"]
1483
1483
  ],
1484
1484
  children: /* @__PURE__ */ jsx("div", {
1485
1485
  class: [
1486
- styles$l.circle,
1487
- checked.value && styles$l["circle--checked"],
1488
- props.disabled && styles$l["circle--disabled"]
1486
+ styles$m.circle,
1487
+ checked.value && styles$m["circle--checked"],
1488
+ props.disabled && styles$m["circle--disabled"]
1489
1489
  ]
1490
1490
  })
1491
1491
  })
@@ -1493,7 +1493,7 @@ const ElmSwitch = component$((props) => {
1493
1493
  });
1494
1494
  });
1495
1495
  const loading = "_loading_1yj0v_19";
1496
- const wrapper$1 = "_wrapper_1yj0v_33";
1496
+ const wrapper$2 = "_wrapper_1yj0v_33";
1497
1497
  const active = "_active_1yj0v_55";
1498
1498
  const header$1 = "_header_1yj0v_59";
1499
1499
  const label = "_label_1yj0v_67";
@@ -1502,9 +1502,9 @@ const body$1 = "_body_1yj0v_88";
1502
1502
  const input = "_input_1yj0v_109";
1503
1503
  const icon$2 = "_icon_1yj0v_136";
1504
1504
  const suffix = "_suffix_1yj0v_153";
1505
- const styles$k = {
1505
+ const styles$l = {
1506
1506
  loading,
1507
- wrapper: wrapper$1,
1507
+ wrapper: wrapper$2,
1508
1508
  active,
1509
1509
  header: header$1,
1510
1510
  label,
@@ -1546,8 +1546,8 @@ const ElmTextField = component$((props) => {
1546
1546
  };
1547
1547
  return /* @__PURE__ */ jsxs("div", {
1548
1548
  class: [
1549
- styles$k.wrapper,
1550
- isFocused.value && styles$k.active
1549
+ styles$l.wrapper,
1550
+ isFocused.value && styles$l.active
1551
1551
  ],
1552
1552
  style: {
1553
1553
  backgroundColor: props.disabled || props.loading ? "rgba(0,0,0,0.15)" : void 0,
@@ -1555,17 +1555,17 @@ const ElmTextField = component$((props) => {
1555
1555
  },
1556
1556
  children: [
1557
1557
  /* @__PURE__ */ jsxs("div", {
1558
- class: styles$k.header,
1558
+ class: styles$l.header,
1559
1559
  children: [
1560
1560
  /* @__PURE__ */ jsxs("label", {
1561
1561
  for: id,
1562
- class: styles$k.label,
1562
+ class: styles$l.label,
1563
1563
  children: [
1564
1564
  /* @__PURE__ */ jsx("span", {
1565
1565
  children: props.label
1566
1566
  }),
1567
1567
  props.required && /* @__PURE__ */ jsx("span", {
1568
- class: styles$k.requierd,
1568
+ class: styles$l.requierd,
1569
1569
  children: "*"
1570
1570
  })
1571
1571
  ]
@@ -1578,7 +1578,7 @@ const ElmTextField = component$((props) => {
1578
1578
  ]
1579
1579
  }),
1580
1580
  /* @__PURE__ */ jsxs("div", {
1581
- class: styles$k.body,
1581
+ class: styles$l.body,
1582
1582
  children: [
1583
1583
  props.icon && /* @__PURE__ */ jsx(ElmMdiIcon, {
1584
1584
  d: iconMap[props.icon],
@@ -1589,7 +1589,7 @@ const ElmTextField = component$((props) => {
1589
1589
  id,
1590
1590
  "bind:value": input2,
1591
1591
  type: inputType.value,
1592
- class: styles$k.input,
1592
+ class: styles$l.input,
1593
1593
  placeholder: props.placeholder,
1594
1594
  onFocus$: () => isFocused.value = true,
1595
1595
  onBlur$: () => isFocused.value = false,
@@ -1600,16 +1600,16 @@ const ElmTextField = component$((props) => {
1600
1600
  "aria-required": props.required
1601
1601
  }),
1602
1602
  /* @__PURE__ */ jsxs("div", {
1603
- class: styles$k["icon-box"],
1603
+ class: styles$l["icon-box"],
1604
1604
  children: [
1605
1605
  /* @__PURE__ */ jsx("span", {
1606
- class: styles$k.suffix,
1606
+ class: styles$l.suffix,
1607
1607
  children: props.suffix != null && /* @__PURE__ */ jsx(ElmInlineText, {
1608
1608
  text: props.suffix
1609
1609
  })
1610
1610
  }),
1611
1611
  /* @__PURE__ */ jsx("div", {
1612
- class: styles$k.icon,
1612
+ class: styles$l.icon,
1613
1613
  onClick$: handleVisibleSwitch,
1614
1614
  children: /* @__PURE__ */ jsx(ElmMdiIcon, {
1615
1615
  d: inputType.value === "text" ? mdiEyeOutline : mdiEyeOffOutline,
@@ -1618,7 +1618,7 @@ const ElmTextField = component$((props) => {
1618
1618
  })
1619
1619
  }),
1620
1620
  /* @__PURE__ */ jsx("div", {
1621
- class: styles$k.icon,
1621
+ class: styles$l.icon,
1622
1622
  onClick$: handleDelete,
1623
1623
  children: /* @__PURE__ */ jsx(ElmMdiIcon, {
1624
1624
  d: mdiBackspaceOutline,
@@ -1631,7 +1631,7 @@ const ElmTextField = component$((props) => {
1631
1631
  ]
1632
1632
  }),
1633
1633
  /* @__PURE__ */ jsx("div", {
1634
- class: styles$k.loading,
1634
+ class: styles$l.loading,
1635
1635
  style: {
1636
1636
  opacity: props.loading ? 0.2 : 0
1637
1637
  }
@@ -1640,12 +1640,12 @@ const ElmTextField = component$((props) => {
1640
1640
  });
1641
1641
  });
1642
1642
  const validation = "_validation_r3xix_1";
1643
- const styles$j = {
1643
+ const styles$k = {
1644
1644
  validation
1645
1645
  };
1646
1646
  const ElmValidation = component$(({ text: text2, validColor = "#449763", isValid }) => {
1647
1647
  return /* @__PURE__ */ jsxs("div", {
1648
- class: styles$j.validation,
1648
+ class: styles$k.validation,
1649
1649
  style: {
1650
1650
  "--opacity": isValid ? 1 : 0.5
1651
1651
  },
@@ -1708,7 +1708,7 @@ function useElmethisTheme() {
1708
1708
  };
1709
1709
  }
1710
1710
  const icon$1 = "_icon_1husg_1";
1711
- const styles$i = {
1711
+ const styles$j = {
1712
1712
  icon: icon$1
1713
1713
  };
1714
1714
  const ElmToggleTheme = component$(({ size = "2rem" }) => {
@@ -1719,7 +1719,7 @@ const ElmToggleTheme = component$(({ size = "2rem" }) => {
1719
1719
  width: size,
1720
1720
  height: size,
1721
1721
  viewBox: "0 0 24 24",
1722
- class: styles$i.icon,
1722
+ class: styles$j.icon,
1723
1723
  onClick$: toggleTheme,
1724
1724
  children: [
1725
1725
  /* @__PURE__ */ jsxs("g", {
@@ -1927,7 +1927,7 @@ const ElmToggleTheme = component$(({ size = "2rem" }) => {
1927
1927
  width: size,
1928
1928
  height: size,
1929
1929
  viewBox: "0 0 24 24",
1930
- class: styles$i.icon,
1930
+ class: styles$j.icon,
1931
1931
  onClick$: toggleTheme,
1932
1932
  children: [
1933
1933
  /* @__PURE__ */ jsxs("path", {
@@ -2173,6 +2173,30 @@ const ElmToggleTheme = component$(({ size = "2rem" }) => {
2173
2173
  })
2174
2174
  });
2175
2175
  });
2176
+ const wrapper$1 = "_wrapper_13xd3_15";
2177
+ const square = "_square_13xd3_24";
2178
+ const styles$i = {
2179
+ wrapper: wrapper$1,
2180
+ square
2181
+ };
2182
+ const ElmSquareLoadingIcon = component$(({ size = "3rem", dimensions = 4 }) => {
2183
+ const DURATION = 1200;
2184
+ const DELAY = DURATION / (dimensions * 3);
2185
+ return /* @__PURE__ */ jsx("div", {
2186
+ class: styles$i.wrapper,
2187
+ style: {
2188
+ "--size": size,
2189
+ "--dimensions": dimensions,
2190
+ "--duration": `${DURATION}ms`
2191
+ },
2192
+ children: new Array(dimensions).fill(null).map((_, rowIndex) => new Array(dimensions).fill(null).map((_2, columnIndex) => /* @__PURE__ */ jsx("div", {
2193
+ class: styles$i.square,
2194
+ style: {
2195
+ "--delay": `${DELAY * (rowIndex + columnIndex)}ms`
2196
+ }
2197
+ }, `${rowIndex}-${columnIndex}`)))
2198
+ });
2199
+ });
2176
2200
  const image$1 = "_image_sf1wj_12";
2177
2201
  const fallback = "_fallback_sf1wj_34";
2178
2202
  const styles$h = {
@@ -3317,6 +3341,7 @@ export {
3317
3341
  ElmRectangleWave,
3318
3342
  ElmSelect,
3319
3343
  ElmShikiHighlighter,
3344
+ ElmSquareLoadingIcon,
3320
3345
  ElmSwitch,
3321
3346
  ElmTable,
3322
3347
  ElmTableBody,