@strands.gg/accui 2.11.23 → 2.11.25

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/dist/index.es.js CHANGED
@@ -1,9 +1,9 @@
1
- import { defineComponent, computed, provide, onMounted, onUnmounted, createElementBlock, openBlock, normalizeClass, createElementVNode, createBlock, renderSlot, Teleport, createCommentVNode, toDisplayString, createTextVNode, unref, normalizeStyle, useSlots, createVNode, Fragment as Fragment$1, withCtx, getCurrentInstance, resolveDynamicComponent, resolveComponent, createSlots, useAttrs, h as h$1, ref, nextTick, withModifiers, renderList, watch, toRefs, withDirectives, vModelSelect, watchEffect, onBeforeUnmount, shallowRef, markRaw, customRef, useCssVars, mergeProps, reactive, createStaticVNode, vModelText, Transition, inject, withKeys, isMemoSame } from "vue";
1
+ import { defineComponent, computed, provide, onMounted, onUnmounted, createElementBlock, openBlock, normalizeClass, createElementVNode, createBlock, renderSlot, Teleport, createCommentVNode, toDisplayString, createTextVNode, unref, normalizeStyle, useSlots, createVNode, Fragment as Fragment$1, withCtx, getCurrentInstance, resolveDynamicComponent, resolveComponent, ref, nextTick, normalizeProps, mergeProps, createSlots, useAttrs, h as h$1, withModifiers, renderList, watch, toRefs, withDirectives, vModelSelect, watchEffect, onBeforeUnmount, shallowRef, markRaw, customRef, useCssVars, reactive, createStaticVNode, vModelText, Transition, inject, withKeys, isMemoSame } from "vue";
2
2
  import { u as useStrandsConfig, p as provideStrandsConfig } from "./useStrandsConfig-XmPqJn_B.es.js";
3
3
  import { s } from "./useStrandsConfig-XmPqJn_B.es.js";
4
4
  import { u as useStrandsAuth } from "./useStrandsAuth-Dca-zFQT.es.js";
5
5
  const _hoisted_1$U = { class: "app-content" };
6
- const _hoisted_2$M = {
6
+ const _hoisted_2$N = {
7
7
  key: 0,
8
8
  class: "ui-app-loading-overlay"
9
9
  };
@@ -64,7 +64,7 @@ const _sfc_main$10 = /* @__PURE__ */ defineComponent({
64
64
  _cache[0] || (_cache[0] = createElementVNode("div", { class: "ui-app-notifications" }, null, -1))
65
65
  ])),
66
66
  (openBlock(), createBlock(Teleport, { to: "body" }, [
67
- isGlobalLoading.value ? (openBlock(), createElementBlock("div", _hoisted_2$M, [
67
+ isGlobalLoading.value ? (openBlock(), createElementBlock("div", _hoisted_2$N, [
68
68
  createElementVNode("div", _hoisted_3$J, [
69
69
  _cache[1] || (_cache[1] = createElementVNode("div", { class: "ui-app-loading-spinner" }, null, -1)),
70
70
  _ctx.loadingMessage ? (openBlock(), createElementBlock("p", _hoisted_4$H, toDisplayString(_ctx.loadingMessage), 1)) : createCommentVNode("", true)
@@ -84,7 +84,7 @@ const _export_sfc = (sfc, props) => {
84
84
  };
85
85
  const UiApp = /* @__PURE__ */ _export_sfc(_sfc_main$10, [["__scopeId", "data-v-f18c1706"]]);
86
86
  const _hoisted_1$T = { class: "accui-component-scope" };
87
- const _hoisted_2$L = { class: "alert-content" };
87
+ const _hoisted_2$M = { class: "alert-content" };
88
88
  const _hoisted_3$I = { class: "alert-icon-container" };
89
89
  const _hoisted_4$G = {
90
90
  class: "alert-main-icon",
@@ -139,7 +139,7 @@ const _sfc_main$$ = /* @__PURE__ */ defineComponent({
139
139
  class: normalizeClass(alertClasses.value),
140
140
  role: "alert"
141
141
  }, [
142
- createElementVNode("div", _hoisted_2$L, [
142
+ createElementVNode("div", _hoisted_2$M, [
143
143
  createElementVNode("div", _hoisted_3$I, [
144
144
  (openBlock(), createElementBlock("svg", _hoisted_4$G, [
145
145
  createElementVNode("path", {
@@ -194,7 +194,7 @@ const _hoisted_1$S = {
194
194
  key: 0,
195
195
  class: "loader-icon"
196
196
  };
197
- const _hoisted_2$K = ["width", "height"];
197
+ const _hoisted_2$L = ["width", "height"];
198
198
  const _hoisted_3$H = ["d"];
199
199
  const _hoisted_4$F = ["stroke-width"];
200
200
  const _hoisted_5$z = ["stroke-width"];
@@ -267,7 +267,7 @@ const _sfc_main$_ = /* @__PURE__ */ defineComponent({
267
267
  "stroke-linejoin": "round",
268
268
  class: "loader-animated-path"
269
269
  }, null, 8, _hoisted_5$z)
270
- ], 8, _hoisted_2$K))
270
+ ], 8, _hoisted_2$L))
271
271
  ])) : _ctx.variant === "circle" ? (openBlock(), createElementBlock("div", {
272
272
  key: 1,
273
273
  class: "loader-circle",
@@ -311,7 +311,7 @@ const _hoisted_1$R = {
311
311
  key: 0,
312
312
  class: "button-loading-content"
313
313
  };
314
- const _hoisted_2$J = { key: 0 };
314
+ const _hoisted_2$K = { key: 0 };
315
315
  const _hoisted_3$G = {
316
316
  key: 0,
317
317
  class: "leading-icon"
@@ -369,7 +369,7 @@ const _sfc_main$Z = /* @__PURE__ */ defineComponent({
369
369
  centered: false,
370
370
  color: "white"
371
371
  }, null, 8, ["size"]),
372
- !_ctx.icon ? (openBlock(), createElementBlock("span", _hoisted_2$J, toDisplayString(_ctx.loadingText || "Loading..."), 1)) : createCommentVNode("", true)
372
+ !_ctx.icon ? (openBlock(), createElementBlock("span", _hoisted_2$K, toDisplayString(_ctx.loadingText || "Loading..."), 1)) : createCommentVNode("", true)
373
373
  ])) : (openBlock(), createElementBlock("span", {
374
374
  key: 1,
375
375
  class: normalizeClass(["button-content", sizeClass.value])
@@ -582,8 +582,148 @@ const _sfc_main$W = /* @__PURE__ */ defineComponent({
582
582
  };
583
583
  }
584
584
  });
585
- const _hoisted_1$P = ["type", "disabled", "tabindex"];
585
+ const _hoisted_1$P = { class: "ui-tooltip-content" };
586
586
  const _sfc_main$V = /* @__PURE__ */ defineComponent({
587
+ __name: "UiTooltip",
588
+ props: {
589
+ content: { default: "" },
590
+ position: { default: "top" },
591
+ delay: { default: 500 },
592
+ disabled: { type: Boolean, default: false },
593
+ offset: { default: 8 },
594
+ maxWidth: { default: 250 }
595
+ },
596
+ setup(__props) {
597
+ const props = __props;
598
+ const tooltipContainer = ref();
599
+ const tooltipRef = ref();
600
+ const isVisible = ref(false);
601
+ const shouldRender = ref(false);
602
+ let showTimeout = null;
603
+ let hideTimeout = null;
604
+ const tooltipStyle = ref({});
605
+ const updateTooltipPosition = async () => {
606
+ if (!tooltipContainer.value || !tooltipRef.value || !shouldRender.value) return;
607
+ await nextTick();
608
+ const containerRect = tooltipContainer.value.getBoundingClientRect();
609
+ tooltipRef.value.style.visibility = "hidden";
610
+ tooltipRef.value.style.opacity = "1";
611
+ const tooltipRect = tooltipRef.value.getBoundingClientRect();
612
+ const tooltipWidth = tooltipRect.width;
613
+ const tooltipHeight = tooltipRect.height;
614
+ tooltipRef.value.style.visibility = "";
615
+ tooltipRef.value.style.opacity = "";
616
+ const viewportWidth = window.innerWidth;
617
+ const viewportHeight = window.innerHeight;
618
+ let top = 0;
619
+ let left = 0;
620
+ switch (props.position) {
621
+ case "top":
622
+ top = containerRect.top - tooltipHeight - props.offset;
623
+ left = containerRect.left + containerRect.width / 2 - tooltipWidth / 2;
624
+ break;
625
+ case "bottom":
626
+ top = containerRect.bottom + props.offset;
627
+ left = containerRect.left + containerRect.width / 2 - tooltipWidth / 2;
628
+ break;
629
+ case "left":
630
+ top = containerRect.top + containerRect.height / 2 - tooltipHeight / 2;
631
+ left = containerRect.left - tooltipWidth - props.offset;
632
+ break;
633
+ case "right":
634
+ top = containerRect.top + containerRect.height / 2 - tooltipHeight / 2;
635
+ left = containerRect.right + props.offset;
636
+ break;
637
+ }
638
+ const padding = 8;
639
+ if (left < padding) {
640
+ left = padding;
641
+ } else if (left + tooltipWidth > viewportWidth - padding) {
642
+ left = viewportWidth - tooltipWidth - padding;
643
+ }
644
+ if (top < padding) {
645
+ top = padding;
646
+ } else if (top + tooltipHeight > viewportHeight - padding) {
647
+ top = viewportHeight - tooltipHeight - padding;
648
+ }
649
+ tooltipStyle.value = {
650
+ position: "fixed",
651
+ top: `${top}px`,
652
+ left: `${left}px`,
653
+ zIndex: "9999"
654
+ };
655
+ };
656
+ const showTooltip = () => {
657
+ if (props.disabled) return;
658
+ if (hideTimeout) {
659
+ clearTimeout(hideTimeout);
660
+ hideTimeout = null;
661
+ }
662
+ shouldRender.value = true;
663
+ nextTick(() => {
664
+ updateTooltipPosition();
665
+ });
666
+ showTimeout = setTimeout(() => {
667
+ isVisible.value = true;
668
+ }, props.delay);
669
+ };
670
+ const hideTooltip = () => {
671
+ if (showTimeout) {
672
+ clearTimeout(showTimeout);
673
+ showTimeout = null;
674
+ }
675
+ hideTimeout = setTimeout(() => {
676
+ isVisible.value = false;
677
+ setTimeout(() => {
678
+ shouldRender.value = false;
679
+ }, 200);
680
+ }, 100);
681
+ };
682
+ onUnmounted(() => {
683
+ if (showTimeout) clearTimeout(showTimeout);
684
+ if (hideTimeout) clearTimeout(hideTimeout);
685
+ });
686
+ return (_ctx, _cache) => {
687
+ return openBlock(), createElementBlock("div", {
688
+ ref_key: "tooltipContainer",
689
+ ref: tooltipContainer,
690
+ class: "ui-tooltip-container",
691
+ onMouseenter: showTooltip,
692
+ onMouseleave: hideTooltip
693
+ }, [
694
+ renderSlot(_ctx.$slots, "default", {}, void 0, true),
695
+ (openBlock(), createBlock(Teleport, { to: "body" }, [
696
+ shouldRender.value ? (openBlock(), createElementBlock("div", {
697
+ key: 0,
698
+ ref_key: "tooltipRef",
699
+ ref: tooltipRef,
700
+ class: normalizeClass(["ui-tooltip", [
701
+ `ui-tooltip--${_ctx.position}`,
702
+ {
703
+ "ui-tooltip--visible": isVisible.value
704
+ }
705
+ ]]),
706
+ style: normalizeStyle(tooltipStyle.value),
707
+ role: "tooltip"
708
+ }, [
709
+ createElementVNode("div", _hoisted_1$P, [
710
+ renderSlot(_ctx.$slots, "tooltip", {}, () => [
711
+ createTextVNode(toDisplayString(_ctx.content), 1)
712
+ ], true)
713
+ ]),
714
+ createElementVNode("div", {
715
+ class: normalizeClass(["ui-tooltip-arrow", `ui-tooltip-arrow--${_ctx.position}`])
716
+ }, null, 2)
717
+ ], 6)) : createCommentVNode("", true)
718
+ ]))
719
+ ], 544);
720
+ };
721
+ }
722
+ });
723
+ const UiTooltip = /* @__PURE__ */ _export_sfc(_sfc_main$V, [["__scopeId", "data-v-b5702341"]]);
724
+ const _hoisted_1$O = ["type", "disabled", "tabindex"];
725
+ const _hoisted_2$J = ["type", "disabled", "tabindex"];
726
+ const _sfc_main$U = /* @__PURE__ */ defineComponent({
587
727
  __name: "UiButton",
588
728
  props: {
589
729
  variant: { default: "primary" },
@@ -600,11 +740,26 @@ const _sfc_main$V = /* @__PURE__ */ defineComponent({
600
740
  to: {},
601
741
  href: {},
602
742
  external: { type: Boolean, default: false },
603
- tabindex: {}
743
+ tabindex: {},
744
+ title: {}
604
745
  },
605
746
  emits: ["click"],
606
747
  setup(__props, { emit: __emit }) {
607
748
  const props = __props;
749
+ const tooltipProps = computed(() => {
750
+ if (!props.title) return null;
751
+ if (typeof props.title === "string") {
752
+ return {
753
+ content: props.title,
754
+ position: "top",
755
+ disabled: props.disabled || props.loading
756
+ };
757
+ }
758
+ return {
759
+ ...props.title,
760
+ disabled: props.title.disabled ?? (props.disabled || props.loading)
761
+ };
762
+ });
608
763
  const isNuxtAvailable = computed(() => {
609
764
  if (typeof process !== "undefined" && process.client !== void 0) {
610
765
  return true;
@@ -650,20 +805,203 @@ const _sfc_main$V = /* @__PURE__ */ defineComponent({
650
805
  return props.tabindex ?? void 0;
651
806
  });
652
807
  return (_ctx, _cache) => {
653
- return !_ctx.to ? (openBlock(), createElementBlock("button", {
654
- key: 0,
655
- type: _ctx.type,
656
- disabled: _ctx.disabled || _ctx.loading,
657
- class: normalizeClass(buttonClassString.value),
658
- style: normalizeStyle(buttonStyles.value),
659
- tabindex: effectiveTabindex.value,
660
- onClick: _cache[0] || (_cache[0] = ($event) => _ctx.$emit("click", $event))
661
- }, [
662
- createVNode(UiButtonContent, {
808
+ return _ctx.title ? (openBlock(), createBlock(UiTooltip, normalizeProps(mergeProps({ key: 0 }, tooltipProps.value)), {
809
+ default: withCtx(() => [
810
+ !_ctx.to ? (openBlock(), createElementBlock("button", {
811
+ key: 0,
812
+ type: _ctx.type,
813
+ disabled: _ctx.disabled || _ctx.loading,
814
+ class: normalizeClass(buttonClassString.value),
815
+ style: normalizeStyle(buttonStyles.value),
816
+ tabindex: effectiveTabindex.value,
817
+ onClick: _cache[0] || (_cache[0] = ($event) => _ctx.$emit("click", $event))
818
+ }, [
819
+ createVNode(UiButtonContent, {
820
+ loading: _ctx.loading,
821
+ "loading-text": _ctx.loadingText,
822
+ icon: _ctx.icon,
823
+ size: _ctx.size
824
+ }, createSlots({
825
+ icon: withCtx(() => [
826
+ renderSlot(_ctx.$slots, "icon", {}, void 0, true)
827
+ ]),
828
+ default: withCtx(() => [
829
+ renderSlot(_ctx.$slots, "default", {}, void 0, true)
830
+ ]),
831
+ _: 2
832
+ }, [
833
+ _ctx.$slots["leading-icon"] ? {
834
+ name: "leading-icon",
835
+ fn: withCtx(() => [
836
+ renderSlot(_ctx.$slots, "leading-icon", {}, void 0, true)
837
+ ]),
838
+ key: "0"
839
+ } : void 0,
840
+ _ctx.$slots["trailing-icon"] ? {
841
+ name: "trailing-icon",
842
+ fn: withCtx(() => [
843
+ renderSlot(_ctx.$slots, "trailing-icon", {}, void 0, true)
844
+ ]),
845
+ key: "1"
846
+ } : void 0
847
+ ]), 1032, ["loading", "loading-text", "icon", "size"])
848
+ ], 14, _hoisted_1$O)) : isNuxtAvailable.value && _ctx.to ? (openBlock(), createBlock(_sfc_main$X, {
849
+ key: 1,
850
+ to: _ctx.to,
851
+ disabled: _ctx.disabled,
852
+ loading: _ctx.loading,
853
+ "loading-text": _ctx.loadingText,
854
+ icon: _ctx.icon,
855
+ "button-classes": buttonClasses.value,
856
+ "button-styles": buttonStyles.value,
857
+ tabindex: effectiveTabindex.value,
858
+ onClick: _cache[1] || (_cache[1] = ($event) => _ctx.$emit("click", $event))
859
+ }, createSlots({
860
+ icon: withCtx(() => [
861
+ renderSlot(_ctx.$slots, "icon", {}, void 0, true)
862
+ ]),
863
+ default: withCtx(() => [
864
+ renderSlot(_ctx.$slots, "default", {}, void 0, true)
865
+ ]),
866
+ _: 2
867
+ }, [
868
+ _ctx.$slots["leading-icon"] ? {
869
+ name: "leading-icon",
870
+ fn: withCtx(() => [
871
+ renderSlot(_ctx.$slots, "leading-icon", {}, void 0, true)
872
+ ]),
873
+ key: "0"
874
+ } : void 0,
875
+ _ctx.$slots["trailing-icon"] ? {
876
+ name: "trailing-icon",
877
+ fn: withCtx(() => [
878
+ renderSlot(_ctx.$slots, "trailing-icon", {}, void 0, true)
879
+ ]),
880
+ key: "1"
881
+ } : void 0
882
+ ]), 1032, ["to", "disabled", "loading", "loading-text", "icon", "button-classes", "button-styles", "tabindex"])) : isVueRouterAvailable.value && _ctx.to ? (openBlock(), createBlock(_sfc_main$W, {
883
+ key: 2,
884
+ to: _ctx.to,
885
+ disabled: _ctx.disabled,
886
+ loading: _ctx.loading,
887
+ "loading-text": _ctx.loadingText,
888
+ icon: _ctx.icon,
889
+ "button-classes": buttonClasses.value,
890
+ "button-styles": buttonStyles.value,
891
+ tabindex: effectiveTabindex.value,
892
+ onClick: _cache[2] || (_cache[2] = ($event) => _ctx.$emit("click", $event))
893
+ }, createSlots({
894
+ icon: withCtx(() => [
895
+ renderSlot(_ctx.$slots, "icon", {}, void 0, true)
896
+ ]),
897
+ default: withCtx(() => [
898
+ renderSlot(_ctx.$slots, "default", {}, void 0, true)
899
+ ]),
900
+ _: 2
901
+ }, [
902
+ _ctx.$slots["leading-icon"] ? {
903
+ name: "leading-icon",
904
+ fn: withCtx(() => [
905
+ renderSlot(_ctx.$slots, "leading-icon", {}, void 0, true)
906
+ ]),
907
+ key: "0"
908
+ } : void 0,
909
+ _ctx.$slots["trailing-icon"] ? {
910
+ name: "trailing-icon",
911
+ fn: withCtx(() => [
912
+ renderSlot(_ctx.$slots, "trailing-icon", {}, void 0, true)
913
+ ]),
914
+ key: "1"
915
+ } : void 0
916
+ ]), 1032, ["to", "disabled", "loading", "loading-text", "icon", "button-classes", "button-styles", "tabindex"])) : (openBlock(), createBlock(_sfc_main$Y, {
917
+ key: 3,
918
+ to: _ctx.to,
919
+ href: _ctx.href,
920
+ external: _ctx.external,
921
+ disabled: _ctx.disabled,
922
+ loading: _ctx.loading,
923
+ "loading-text": _ctx.loadingText,
924
+ icon: _ctx.icon,
925
+ "button-classes": buttonClasses.value,
926
+ "button-styles": buttonStyles.value,
927
+ tabindex: effectiveTabindex.value,
928
+ onClick: _cache[3] || (_cache[3] = ($event) => _ctx.$emit("click", $event))
929
+ }, createSlots({
930
+ icon: withCtx(() => [
931
+ renderSlot(_ctx.$slots, "icon", {}, void 0, true)
932
+ ]),
933
+ default: withCtx(() => [
934
+ renderSlot(_ctx.$slots, "default", {}, void 0, true)
935
+ ]),
936
+ _: 2
937
+ }, [
938
+ _ctx.$slots["leading-icon"] ? {
939
+ name: "leading-icon",
940
+ fn: withCtx(() => [
941
+ renderSlot(_ctx.$slots, "leading-icon", {}, void 0, true)
942
+ ]),
943
+ key: "0"
944
+ } : void 0,
945
+ _ctx.$slots["trailing-icon"] ? {
946
+ name: "trailing-icon",
947
+ fn: withCtx(() => [
948
+ renderSlot(_ctx.$slots, "trailing-icon", {}, void 0, true)
949
+ ]),
950
+ key: "1"
951
+ } : void 0
952
+ ]), 1032, ["to", "href", "external", "disabled", "loading", "loading-text", "icon", "button-classes", "button-styles", "tabindex"]))
953
+ ]),
954
+ _: 3
955
+ }, 16)) : (openBlock(), createElementBlock(Fragment$1, { key: 1 }, [
956
+ !_ctx.to ? (openBlock(), createElementBlock("button", {
957
+ key: 0,
958
+ type: _ctx.type,
959
+ disabled: _ctx.disabled || _ctx.loading,
960
+ class: normalizeClass(buttonClassString.value),
961
+ style: normalizeStyle(buttonStyles.value),
962
+ tabindex: effectiveTabindex.value,
963
+ onClick: _cache[4] || (_cache[4] = ($event) => _ctx.$emit("click", $event))
964
+ }, [
965
+ createVNode(UiButtonContent, {
966
+ loading: _ctx.loading,
967
+ "loading-text": _ctx.loadingText,
968
+ icon: _ctx.icon,
969
+ size: _ctx.size
970
+ }, createSlots({
971
+ icon: withCtx(() => [
972
+ renderSlot(_ctx.$slots, "icon", {}, void 0, true)
973
+ ]),
974
+ default: withCtx(() => [
975
+ renderSlot(_ctx.$slots, "default", {}, void 0, true)
976
+ ]),
977
+ _: 2
978
+ }, [
979
+ _ctx.$slots["leading-icon"] ? {
980
+ name: "leading-icon",
981
+ fn: withCtx(() => [
982
+ renderSlot(_ctx.$slots, "leading-icon", {}, void 0, true)
983
+ ]),
984
+ key: "0"
985
+ } : void 0,
986
+ _ctx.$slots["trailing-icon"] ? {
987
+ name: "trailing-icon",
988
+ fn: withCtx(() => [
989
+ renderSlot(_ctx.$slots, "trailing-icon", {}, void 0, true)
990
+ ]),
991
+ key: "1"
992
+ } : void 0
993
+ ]), 1032, ["loading", "loading-text", "icon", "size"])
994
+ ], 14, _hoisted_2$J)) : isNuxtAvailable.value && _ctx.to ? (openBlock(), createBlock(_sfc_main$X, {
995
+ key: 1,
996
+ to: _ctx.to,
997
+ disabled: _ctx.disabled,
663
998
  loading: _ctx.loading,
664
999
  "loading-text": _ctx.loadingText,
665
1000
  icon: _ctx.icon,
666
- size: _ctx.size
1001
+ "button-classes": buttonClasses.value,
1002
+ "button-styles": buttonStyles.value,
1003
+ tabindex: effectiveTabindex.value,
1004
+ onClick: _cache[5] || (_cache[5] = ($event) => _ctx.$emit("click", $event))
667
1005
  }, createSlots({
668
1006
  icon: withCtx(() => [
669
1007
  renderSlot(_ctx.$slots, "icon", {}, void 0, true)
@@ -687,122 +1025,88 @@ const _sfc_main$V = /* @__PURE__ */ defineComponent({
687
1025
  ]),
688
1026
  key: "1"
689
1027
  } : void 0
690
- ]), 1032, ["loading", "loading-text", "icon", "size"])
691
- ], 14, _hoisted_1$P)) : isNuxtAvailable.value && _ctx.to ? (openBlock(), createBlock(_sfc_main$X, {
692
- key: 1,
693
- to: _ctx.to,
694
- disabled: _ctx.disabled,
695
- loading: _ctx.loading,
696
- "loading-text": _ctx.loadingText,
697
- icon: _ctx.icon,
698
- "button-classes": buttonClasses.value,
699
- "button-styles": buttonStyles.value,
700
- tabindex: effectiveTabindex.value,
701
- onClick: _cache[1] || (_cache[1] = ($event) => _ctx.$emit("click", $event))
702
- }, createSlots({
703
- icon: withCtx(() => [
704
- renderSlot(_ctx.$slots, "icon", {}, void 0, true)
705
- ]),
706
- default: withCtx(() => [
707
- renderSlot(_ctx.$slots, "default", {}, void 0, true)
708
- ]),
709
- _: 2
710
- }, [
711
- _ctx.$slots["leading-icon"] ? {
712
- name: "leading-icon",
713
- fn: withCtx(() => [
714
- renderSlot(_ctx.$slots, "leading-icon", {}, void 0, true)
715
- ]),
716
- key: "0"
717
- } : void 0,
718
- _ctx.$slots["trailing-icon"] ? {
719
- name: "trailing-icon",
720
- fn: withCtx(() => [
721
- renderSlot(_ctx.$slots, "trailing-icon", {}, void 0, true)
722
- ]),
723
- key: "1"
724
- } : void 0
725
- ]), 1032, ["to", "disabled", "loading", "loading-text", "icon", "button-classes", "button-styles", "tabindex"])) : isVueRouterAvailable.value && _ctx.to ? (openBlock(), createBlock(_sfc_main$W, {
726
- key: 2,
727
- to: _ctx.to,
728
- disabled: _ctx.disabled,
729
- loading: _ctx.loading,
730
- "loading-text": _ctx.loadingText,
731
- icon: _ctx.icon,
732
- "button-classes": buttonClasses.value,
733
- "button-styles": buttonStyles.value,
734
- tabindex: effectiveTabindex.value,
735
- onClick: _cache[2] || (_cache[2] = ($event) => _ctx.$emit("click", $event))
736
- }, createSlots({
737
- icon: withCtx(() => [
738
- renderSlot(_ctx.$slots, "icon", {}, void 0, true)
739
- ]),
740
- default: withCtx(() => [
741
- renderSlot(_ctx.$slots, "default", {}, void 0, true)
742
- ]),
743
- _: 2
744
- }, [
745
- _ctx.$slots["leading-icon"] ? {
746
- name: "leading-icon",
747
- fn: withCtx(() => [
748
- renderSlot(_ctx.$slots, "leading-icon", {}, void 0, true)
1028
+ ]), 1032, ["to", "disabled", "loading", "loading-text", "icon", "button-classes", "button-styles", "tabindex"])) : isVueRouterAvailable.value && _ctx.to ? (openBlock(), createBlock(_sfc_main$W, {
1029
+ key: 2,
1030
+ to: _ctx.to,
1031
+ disabled: _ctx.disabled,
1032
+ loading: _ctx.loading,
1033
+ "loading-text": _ctx.loadingText,
1034
+ icon: _ctx.icon,
1035
+ "button-classes": buttonClasses.value,
1036
+ "button-styles": buttonStyles.value,
1037
+ tabindex: effectiveTabindex.value,
1038
+ onClick: _cache[6] || (_cache[6] = ($event) => _ctx.$emit("click", $event))
1039
+ }, createSlots({
1040
+ icon: withCtx(() => [
1041
+ renderSlot(_ctx.$slots, "icon", {}, void 0, true)
749
1042
  ]),
750
- key: "0"
751
- } : void 0,
752
- _ctx.$slots["trailing-icon"] ? {
753
- name: "trailing-icon",
754
- fn: withCtx(() => [
755
- renderSlot(_ctx.$slots, "trailing-icon", {}, void 0, true)
1043
+ default: withCtx(() => [
1044
+ renderSlot(_ctx.$slots, "default", {}, void 0, true)
756
1045
  ]),
757
- key: "1"
758
- } : void 0
759
- ]), 1032, ["to", "disabled", "loading", "loading-text", "icon", "button-classes", "button-styles", "tabindex"])) : (openBlock(), createBlock(_sfc_main$Y, {
760
- key: 3,
761
- to: _ctx.to,
762
- href: _ctx.href,
763
- external: _ctx.external,
764
- disabled: _ctx.disabled,
765
- loading: _ctx.loading,
766
- "loading-text": _ctx.loadingText,
767
- icon: _ctx.icon,
768
- "button-classes": buttonClasses.value,
769
- "button-styles": buttonStyles.value,
770
- tabindex: effectiveTabindex.value,
771
- onClick: _cache[3] || (_cache[3] = ($event) => _ctx.$emit("click", $event))
772
- }, createSlots({
773
- icon: withCtx(() => [
774
- renderSlot(_ctx.$slots, "icon", {}, void 0, true)
775
- ]),
776
- default: withCtx(() => [
777
- renderSlot(_ctx.$slots, "default", {}, void 0, true)
778
- ]),
779
- _: 2
780
- }, [
781
- _ctx.$slots["leading-icon"] ? {
782
- name: "leading-icon",
783
- fn: withCtx(() => [
784
- renderSlot(_ctx.$slots, "leading-icon", {}, void 0, true)
1046
+ _: 2
1047
+ }, [
1048
+ _ctx.$slots["leading-icon"] ? {
1049
+ name: "leading-icon",
1050
+ fn: withCtx(() => [
1051
+ renderSlot(_ctx.$slots, "leading-icon", {}, void 0, true)
1052
+ ]),
1053
+ key: "0"
1054
+ } : void 0,
1055
+ _ctx.$slots["trailing-icon"] ? {
1056
+ name: "trailing-icon",
1057
+ fn: withCtx(() => [
1058
+ renderSlot(_ctx.$slots, "trailing-icon", {}, void 0, true)
1059
+ ]),
1060
+ key: "1"
1061
+ } : void 0
1062
+ ]), 1032, ["to", "disabled", "loading", "loading-text", "icon", "button-classes", "button-styles", "tabindex"])) : (openBlock(), createBlock(_sfc_main$Y, {
1063
+ key: 3,
1064
+ to: _ctx.to,
1065
+ href: _ctx.href,
1066
+ external: _ctx.external,
1067
+ disabled: _ctx.disabled,
1068
+ loading: _ctx.loading,
1069
+ "loading-text": _ctx.loadingText,
1070
+ icon: _ctx.icon,
1071
+ "button-classes": buttonClasses.value,
1072
+ "button-styles": buttonStyles.value,
1073
+ tabindex: effectiveTabindex.value,
1074
+ onClick: _cache[7] || (_cache[7] = ($event) => _ctx.$emit("click", $event))
1075
+ }, createSlots({
1076
+ icon: withCtx(() => [
1077
+ renderSlot(_ctx.$slots, "icon", {}, void 0, true)
785
1078
  ]),
786
- key: "0"
787
- } : void 0,
788
- _ctx.$slots["trailing-icon"] ? {
789
- name: "trailing-icon",
790
- fn: withCtx(() => [
791
- renderSlot(_ctx.$slots, "trailing-icon", {}, void 0, true)
1079
+ default: withCtx(() => [
1080
+ renderSlot(_ctx.$slots, "default", {}, void 0, true)
792
1081
  ]),
793
- key: "1"
794
- } : void 0
795
- ]), 1032, ["to", "href", "external", "disabled", "loading", "loading-text", "icon", "button-classes", "button-styles", "tabindex"]));
1082
+ _: 2
1083
+ }, [
1084
+ _ctx.$slots["leading-icon"] ? {
1085
+ name: "leading-icon",
1086
+ fn: withCtx(() => [
1087
+ renderSlot(_ctx.$slots, "leading-icon", {}, void 0, true)
1088
+ ]),
1089
+ key: "0"
1090
+ } : void 0,
1091
+ _ctx.$slots["trailing-icon"] ? {
1092
+ name: "trailing-icon",
1093
+ fn: withCtx(() => [
1094
+ renderSlot(_ctx.$slots, "trailing-icon", {}, void 0, true)
1095
+ ]),
1096
+ key: "1"
1097
+ } : void 0
1098
+ ]), 1032, ["to", "href", "external", "disabled", "loading", "loading-text", "icon", "button-classes", "button-styles", "tabindex"]))
1099
+ ], 64));
796
1100
  };
797
1101
  }
798
1102
  });
799
- const StrandsUiButton = /* @__PURE__ */ _export_sfc(_sfc_main$V, [["__scopeId", "data-v-8817cc57"]]);
1103
+ const StrandsUiButton = /* @__PURE__ */ _export_sfc(_sfc_main$U, [["__scopeId", "data-v-52fc28e3"]]);
800
1104
  const CompoundUiButton = StrandsUiButton;
801
1105
  CompoundUiButton.Content = UiButtonContent;
802
1106
  CompoundUiButton.Anchor = _sfc_main$Y;
803
1107
  CompoundUiButton.Nuxt = _sfc_main$X;
804
1108
  CompoundUiButton.Vue = _sfc_main$W;
805
- const _hoisted_1$O = {
1109
+ const _hoisted_1$N = {
806
1110
  key: 0,
807
1111
  class: "ui-card-header"
808
1112
  };
@@ -826,7 +1130,7 @@ const _hoisted_6$s = {
826
1130
  key: 2,
827
1131
  class: "ui-card-footer"
828
1132
  };
829
- const _sfc_main$U = /* @__PURE__ */ defineComponent({
1133
+ const _sfc_main$T = /* @__PURE__ */ defineComponent({
830
1134
  ...{
831
1135
  inheritAttrs: false
832
1136
  },
@@ -851,7 +1155,7 @@ const _sfc_main$U = /* @__PURE__ */ defineComponent({
851
1155
  unref(attrs)["class"]
852
1156
  ]])
853
1157
  }, [
854
- _ctx.$slots["header"] || _ctx.title || _ctx.subtitle || _ctx.$slots["leading-icon"] || _ctx.$slots["trailing-icon"] ? (openBlock(), createElementBlock("div", _hoisted_1$O, [
1158
+ _ctx.$slots["header"] || _ctx.title || _ctx.subtitle || _ctx.$slots["leading-icon"] || _ctx.$slots["trailing-icon"] ? (openBlock(), createElementBlock("div", _hoisted_1$N, [
855
1159
  renderSlot(_ctx.$slots, "header", {}, () => [
856
1160
  renderSlot(_ctx.$slots, "leading-icon", {}, void 0, true),
857
1161
  _ctx.title || _ctx.$slots["title"] || _ctx.subtitle || _ctx.$slots["subtitle"] ? (openBlock(), createElementBlock("div", _hoisted_2$I, [
@@ -876,7 +1180,7 @@ const _sfc_main$U = /* @__PURE__ */ defineComponent({
876
1180
  };
877
1181
  }
878
1182
  });
879
- const StrandsUiCard = /* @__PURE__ */ _export_sfc(_sfc_main$U, [["__scopeId", "data-v-40cbf608"]]);
1183
+ const StrandsUiCard = /* @__PURE__ */ _export_sfc(_sfc_main$T, [["__scopeId", "data-v-40cbf608"]]);
880
1184
  /**
881
1185
  * @license lucide-vue-next v0.542.0 - ISC
882
1186
  *
@@ -1430,19 +1734,7 @@ const X = createLucideIcon("x", [
1430
1734
  ["path", { d: "M18 6 6 18", key: "1bl5f8" }],
1431
1735
  ["path", { d: "m6 6 12 12", key: "d8bk6v" }]
1432
1736
  ]);
1433
- function hasSlotContent(slots, slotName) {
1434
- const slot = slots[slotName];
1435
- if (!slot) return false;
1436
- const content = slot();
1437
- if (!content || content.length === 0) return false;
1438
- return content.some((vnode) => {
1439
- if (vnode.children && vnode.children !== "") return true;
1440
- if (vnode.type && typeof vnode.type === "object") return true;
1441
- if (vnode.props && Object.keys(vnode.props).length > 0) return true;
1442
- return false;
1443
- });
1444
- }
1445
- const _hoisted_1$N = {
1737
+ const _hoisted_1$M = {
1446
1738
  key: 0,
1447
1739
  class: "input-leading-icon"
1448
1740
  };
@@ -1459,7 +1751,7 @@ const _hoisted_5$x = {
1459
1751
  key: 3,
1460
1752
  class: "input-trailing-icon"
1461
1753
  };
1462
- const _sfc_main$T = /* @__PURE__ */ defineComponent({
1754
+ const _sfc_main$S = /* @__PURE__ */ defineComponent({
1463
1755
  __name: "UiInput.Text",
1464
1756
  props: {
1465
1757
  type: { default: "text" },
@@ -1468,6 +1760,8 @@ const _sfc_main$T = /* @__PURE__ */ defineComponent({
1468
1760
  step: {},
1469
1761
  autocomplete: {},
1470
1762
  spellcheck: { type: Boolean, default: true },
1763
+ hasLeadingIcon: { type: Boolean, default: false },
1764
+ hasTrailingIcon: { type: Boolean, default: false },
1471
1765
  label: {},
1472
1766
  helpText: {},
1473
1767
  modelValue: {},
@@ -1485,7 +1779,6 @@ const _sfc_main$T = /* @__PURE__ */ defineComponent({
1485
1779
  setup(__props, { emit: __emit }) {
1486
1780
  const props = __props;
1487
1781
  const emit = __emit;
1488
- const slots = useSlots();
1489
1782
  const showPassword = ref(false);
1490
1783
  const computedType = computed(() => {
1491
1784
  if (props.type === "password") {
@@ -1493,11 +1786,8 @@ const _sfc_main$T = /* @__PURE__ */ defineComponent({
1493
1786
  }
1494
1787
  return props.type;
1495
1788
  });
1496
- const hasLeadingIcon = computed(() => {
1497
- return hasSlotContent(slots, "leading-icon");
1498
- });
1499
- const hasTrailingIcon = computed(() => {
1500
- return hasSlotContent(slots, "trailing-icon") || props.type === "password" || props.type === "search" && props.modelValue;
1789
+ const hasTrailingIconComputed = computed(() => {
1790
+ return props.hasTrailingIcon || props.type === "password" || props.type === "search" && props.modelValue;
1501
1791
  });
1502
1792
  const buttonTabindex = computed(() => {
1503
1793
  if (props.tabindex === void 0) return;
@@ -1513,12 +1803,12 @@ const _sfc_main$T = /* @__PURE__ */ defineComponent({
1513
1803
  });
1514
1804
  const paddingClasses = computed(() => {
1515
1805
  const classes = [];
1516
- if (slots["leading-icon"]) {
1806
+ if (props.hasLeadingIcon) {
1517
1807
  classes.push("input-padding-left-icon");
1518
1808
  } else {
1519
1809
  classes.push("input-padding-left");
1520
1810
  }
1521
- if (hasTrailingIcon.value) {
1811
+ if (hasTrailingIconComputed.value) {
1522
1812
  classes.push("input-padding-right-icon");
1523
1813
  } else {
1524
1814
  classes.push("input-padding-right");
@@ -1552,7 +1842,7 @@ const _sfc_main$T = /* @__PURE__ */ defineComponent({
1552
1842
  return openBlock(), createElementBlock("div", {
1553
1843
  class: normalizeClass(["input-field-wrapper", wrapperClasses.value])
1554
1844
  }, [
1555
- hasLeadingIcon.value ? (openBlock(), createElementBlock("div", _hoisted_1$N, [
1845
+ props.hasLeadingIcon ? (openBlock(), createElementBlock("div", _hoisted_1$M, [
1556
1846
  renderSlot(_ctx.$slots, "leading-icon", {}, void 0, true)
1557
1847
  ])) : createCommentVNode("", true),
1558
1848
  createElementVNode("input", {
@@ -1607,15 +1897,15 @@ const _sfc_main$T = /* @__PURE__ */ defineComponent({
1607
1897
  ]),
1608
1898
  _: 1
1609
1899
  }, 8, ["tabindex"])
1610
- ])) : hasTrailingIcon.value ? (openBlock(), createElementBlock("div", _hoisted_5$x, [
1900
+ ])) : props.hasTrailingIcon ? (openBlock(), createElementBlock("div", _hoisted_5$x, [
1611
1901
  renderSlot(_ctx.$slots, "trailing-icon", {}, void 0, true)
1612
1902
  ])) : createCommentVNode("", true)
1613
1903
  ], 2);
1614
1904
  };
1615
1905
  }
1616
1906
  });
1617
- const UiInputText = /* @__PURE__ */ _export_sfc(_sfc_main$T, [["__scopeId", "data-v-99563a41"]]);
1618
- const _hoisted_1$M = {
1907
+ const UiInputText = /* @__PURE__ */ _export_sfc(_sfc_main$S, [["__scopeId", "data-v-b3152b5d"]]);
1908
+ const _hoisted_1$L = {
1619
1909
  key: 0,
1620
1910
  class: "input-leading-icon"
1621
1911
  };
@@ -1624,7 +1914,7 @@ const _hoisted_3$D = {
1624
1914
  key: 1,
1625
1915
  class: "input-trailing-icon"
1626
1916
  };
1627
- const _sfc_main$S = /* @__PURE__ */ defineComponent({
1917
+ const _sfc_main$R = /* @__PURE__ */ defineComponent({
1628
1918
  __name: "UiInput.Textarea",
1629
1919
  props: {
1630
1920
  rows: { default: 3 },
@@ -1633,6 +1923,8 @@ const _sfc_main$S = /* @__PURE__ */ defineComponent({
1633
1923
  autocomplete: {},
1634
1924
  spellcheck: { type: Boolean, default: true },
1635
1925
  resizable: { type: Boolean, default: true },
1926
+ hasLeadingIcon: { type: Boolean, default: false },
1927
+ hasTrailingIcon: { type: Boolean, default: false },
1636
1928
  label: {},
1637
1929
  helpText: {},
1638
1930
  modelValue: {},
@@ -1650,9 +1942,6 @@ const _sfc_main$S = /* @__PURE__ */ defineComponent({
1650
1942
  setup(__props, { emit: __emit }) {
1651
1943
  const props = __props;
1652
1944
  const emit = __emit;
1653
- const slots = useSlots();
1654
- const hasLeadingIcon = computed(() => hasSlotContent(slots, "leading-icon"));
1655
- const hasTrailingIcon = computed(() => hasSlotContent(slots, "trailing-icon"));
1656
1945
  const wrapperClasses = computed(() => {
1657
1946
  const classes = [];
1658
1947
  if (props.error) classes.push("input-error");
@@ -1663,12 +1952,12 @@ const _sfc_main$S = /* @__PURE__ */ defineComponent({
1663
1952
  });
1664
1953
  const paddingClasses = computed(() => {
1665
1954
  const classes = [];
1666
- if (hasLeadingIcon.value) {
1955
+ if (props.hasLeadingIcon) {
1667
1956
  classes.push("input-padding-left-icon");
1668
1957
  } else {
1669
1958
  classes.push("input-padding-left");
1670
1959
  }
1671
- if (hasTrailingIcon.value) {
1960
+ if (props.hasTrailingIcon) {
1672
1961
  classes.push("input-padding-right-icon");
1673
1962
  } else {
1674
1963
  classes.push("input-padding-right");
@@ -1692,7 +1981,7 @@ const _sfc_main$S = /* @__PURE__ */ defineComponent({
1692
1981
  return openBlock(), createElementBlock("div", {
1693
1982
  class: normalizeClass(["input-field-wrapper input-textarea", wrapperClasses.value])
1694
1983
  }, [
1695
- hasLeadingIcon.value ? (openBlock(), createElementBlock("div", _hoisted_1$M, [
1984
+ props.hasLeadingIcon ? (openBlock(), createElementBlock("div", _hoisted_1$L, [
1696
1985
  renderSlot(_ctx.$slots, "leading-icon", {}, void 0, true)
1697
1986
  ])) : createCommentVNode("", true),
1698
1987
  createElementVNode("div", {
@@ -1720,14 +2009,14 @@ const _sfc_main$S = /* @__PURE__ */ defineComponent({
1720
2009
  onKeydown: handleKeydown
1721
2010
  }, null, 42, _hoisted_2$G)
1722
2011
  ], 2),
1723
- hasTrailingIcon.value ? (openBlock(), createElementBlock("div", _hoisted_3$D, [
2012
+ props.hasTrailingIcon ? (openBlock(), createElementBlock("div", _hoisted_3$D, [
1724
2013
  renderSlot(_ctx.$slots, "trailing-icon", {}, void 0, true)
1725
2014
  ])) : createCommentVNode("", true)
1726
2015
  ], 2);
1727
2016
  };
1728
2017
  }
1729
2018
  });
1730
- const UiInputTextarea = /* @__PURE__ */ _export_sfc(_sfc_main$S, [["__scopeId", "data-v-ffd4ab5c"]]);
2019
+ const UiInputTextarea = /* @__PURE__ */ _export_sfc(_sfc_main$R, [["__scopeId", "data-v-4f57fd4b"]]);
1731
2020
  function useFloatingPosition(options) {
1732
2021
  const {
1733
2022
  trigger,
@@ -1930,7 +2219,7 @@ function useFloatingPosition(options) {
1930
2219
  cleanup
1931
2220
  };
1932
2221
  }
1933
- const _hoisted_1$L = {
2222
+ const _hoisted_1$K = {
1934
2223
  key: 0,
1935
2224
  class: "input-leading-icon"
1936
2225
  };
@@ -1968,7 +2257,7 @@ const _hoisted_14$l = {
1968
2257
  key: 0,
1969
2258
  class: "input-dropdown-option-check"
1970
2259
  };
1971
- const _sfc_main$R = /* @__PURE__ */ defineComponent({
2260
+ const _sfc_main$Q = /* @__PURE__ */ defineComponent({
1972
2261
  __name: "UiInput.Select",
1973
2262
  props: {
1974
2263
  options: { default: () => [] },
@@ -1978,6 +2267,8 @@ const _sfc_main$R = /* @__PURE__ */ defineComponent({
1978
2267
  maxDropdownHeight: { default: 400 },
1979
2268
  noOptionsText: { default: "No options available" },
1980
2269
  searchPlaceholder: { default: "" },
2270
+ hasLeadingIcon: { type: Boolean, default: false },
2271
+ hasTrailingIcon: { type: Boolean, default: false },
1981
2272
  label: {},
1982
2273
  helpText: {},
1983
2274
  modelValue: {},
@@ -1995,7 +2286,6 @@ const _sfc_main$R = /* @__PURE__ */ defineComponent({
1995
2286
  setup(__props, { emit: __emit }) {
1996
2287
  const props = __props;
1997
2288
  const emit = __emit;
1998
- const slots = useSlots();
1999
2289
  const selectTriggerRef = ref();
2000
2290
  const dropdownRef = ref();
2001
2291
  const searchInputRef = ref();
@@ -2101,12 +2391,12 @@ const _sfc_main$R = /* @__PURE__ */ defineComponent({
2101
2391
  });
2102
2392
  const paddingClasses = computed(() => {
2103
2393
  const classes = [];
2104
- if (slots["leading-icon"]) {
2394
+ if (props.hasLeadingIcon) {
2105
2395
  classes.push("input-padding-left-icon");
2106
2396
  } else {
2107
2397
  classes.push("input-padding-left");
2108
2398
  }
2109
- if (slots["trailing-icon"]) {
2399
+ if (props.hasTrailingIcon) {
2110
2400
  classes.push("input-padding-right-icon");
2111
2401
  } else {
2112
2402
  classes.push("input-padding-right");
@@ -2280,7 +2570,7 @@ const _sfc_main$R = /* @__PURE__ */ defineComponent({
2280
2570
  paddingClasses.value
2281
2571
  ]])
2282
2572
  }, [
2283
- _ctx.$slots["leading-icon"] ? (openBlock(), createElementBlock("div", _hoisted_1$L, [
2573
+ props.hasLeadingIcon ? (openBlock(), createElementBlock("div", _hoisted_1$K, [
2284
2574
  renderSlot(_ctx.$slots, "leading-icon", {}, void 0, true)
2285
2575
  ])) : createCommentVNode("", true),
2286
2576
  createElementVNode("div", {
@@ -2305,7 +2595,7 @@ const _sfc_main$R = /* @__PURE__ */ defineComponent({
2305
2595
  createVNode(unref(ChevronDown))
2306
2596
  ], 2)
2307
2597
  ], 42, _hoisted_2$F),
2308
- _ctx.$slots["trailing-icon"] ? (openBlock(), createElementBlock("div", _hoisted_6$r, [
2598
+ props.hasTrailingIcon ? (openBlock(), createElementBlock("div", _hoisted_6$r, [
2309
2599
  renderSlot(_ctx.$slots, "trailing-icon", {}, void 0, true)
2310
2600
  ])) : createCommentVNode("", true)
2311
2601
  ], 2),
@@ -2379,8 +2669,8 @@ const _sfc_main$R = /* @__PURE__ */ defineComponent({
2379
2669
  };
2380
2670
  }
2381
2671
  });
2382
- const UiInputSelect = /* @__PURE__ */ _export_sfc(_sfc_main$R, [["__scopeId", "data-v-662c22e1"]]);
2383
- const _hoisted_1$K = { class: "input-leading-icon" };
2672
+ const UiInputSelect = /* @__PURE__ */ _export_sfc(_sfc_main$Q, [["__scopeId", "data-v-302debb0"]]);
2673
+ const _hoisted_1$J = { class: "input-leading-icon" };
2384
2674
  const _hoisted_2$E = ["src"];
2385
2675
  const _hoisted_3$B = ["id", "accept", "multiple", "disabled", "required"];
2386
2676
  const _hoisted_4$A = { class: "input-file-content" };
@@ -2416,7 +2706,7 @@ const _hoisted_18$f = {
2416
2706
  key: 1,
2417
2707
  class: "input-trailing-icon"
2418
2708
  };
2419
- const _sfc_main$Q = /* @__PURE__ */ defineComponent({
2709
+ const _sfc_main$P = /* @__PURE__ */ defineComponent({
2420
2710
  __name: "UiInput.File",
2421
2711
  props: {
2422
2712
  accept: {},
@@ -2425,6 +2715,8 @@ const _sfc_main$Q = /* @__PURE__ */ defineComponent({
2425
2715
  dragDropText: {},
2426
2716
  selectedText: {},
2427
2717
  preview: {},
2718
+ hasLeadingIcon: { type: Boolean, default: false },
2719
+ hasTrailingIcon: { type: Boolean, default: false },
2428
2720
  label: {},
2429
2721
  helpText: {},
2430
2722
  modelValue: {},
@@ -2616,13 +2908,13 @@ const _sfc_main$Q = /* @__PURE__ */ defineComponent({
2616
2908
  paddingClasses.value
2617
2909
  ]])
2618
2910
  }, [
2619
- createElementVNode("div", _hoisted_1$K, [
2911
+ createElementVNode("div", _hoisted_1$J, [
2620
2912
  previewImageUrl.value ? (openBlock(), createElementBlock("img", {
2621
2913
  key: 0,
2622
2914
  src: previewImageUrl.value,
2623
2915
  alt: "Preview",
2624
2916
  class: "input-file-preview"
2625
- }, null, 8, _hoisted_2$E)) : _ctx.$slots["leading-icon"] ? renderSlot(_ctx.$slots, "leading-icon", { key: 1 }, void 0, true) : (openBlock(), createBlock(unref(FileInput), { key: 2 }))
2917
+ }, null, 8, _hoisted_2$E)) : props.hasLeadingIcon ? renderSlot(_ctx.$slots, "leading-icon", { key: 1 }, void 0, true) : (openBlock(), createBlock(unref(FileInput), { key: 2 }))
2626
2918
  ]),
2627
2919
  createElementVNode("div", {
2628
2920
  class: normalizeClass(["input-file-area", {
@@ -2684,15 +2976,15 @@ const _sfc_main$Q = /* @__PURE__ */ defineComponent({
2684
2976
  }, [
2685
2977
  createVNode(unref(X))
2686
2978
  ])
2687
- ])) : _ctx.$slots["trailing-icon"] ? (openBlock(), createElementBlock("div", _hoisted_18$f, [
2979
+ ])) : props.hasTrailingIcon ? (openBlock(), createElementBlock("div", _hoisted_18$f, [
2688
2980
  renderSlot(_ctx.$slots, "trailing-icon", {}, void 0, true)
2689
2981
  ])) : createCommentVNode("", true)
2690
2982
  ], 2);
2691
2983
  };
2692
2984
  }
2693
2985
  });
2694
- const UiInputFile = /* @__PURE__ */ _export_sfc(_sfc_main$Q, [["__scopeId", "data-v-86bf65ec"]]);
2695
- const _hoisted_1$J = { class: "tabs-wrapper" };
2986
+ const UiInputFile = /* @__PURE__ */ _export_sfc(_sfc_main$P, [["__scopeId", "data-v-e1fd712d"]]);
2987
+ const _hoisted_1$I = { class: "tabs-wrapper" };
2696
2988
  const _hoisted_2$D = {
2697
2989
  key: 0,
2698
2990
  class: "tabs-before"
@@ -2703,7 +2995,7 @@ const _hoisted_4$z = {
2703
2995
  class: "tabs-after"
2704
2996
  };
2705
2997
  const _hoisted_5$u = ["aria-labelledby"];
2706
- const _sfc_main$P = /* @__PURE__ */ defineComponent({
2998
+ const _sfc_main$O = /* @__PURE__ */ defineComponent({
2707
2999
  __name: "UiTabs",
2708
3000
  props: {
2709
3001
  modelValue: {},
@@ -3030,7 +3322,7 @@ const _sfc_main$P = /* @__PURE__ */ defineComponent({
3030
3322
  { "tabs-container--with-content": hasContentSlot.value }
3031
3323
  ]])
3032
3324
  }, [
3033
- createElementVNode("div", _hoisted_1$J, [
3325
+ createElementVNode("div", _hoisted_1$I, [
3034
3326
  createElementVNode("div", {
3035
3327
  class: normalizeClass(["tabs-list", [
3036
3328
  `tabs-list--${_ctx.orientation}`,
@@ -3092,12 +3384,12 @@ const _sfc_main$P = /* @__PURE__ */ defineComponent({
3092
3384
  };
3093
3385
  }
3094
3386
  });
3095
- const StrandsUiTabs = /* @__PURE__ */ _export_sfc(_sfc_main$P, [["__scopeId", "data-v-901716e3"]]);
3096
- const _hoisted_1$I = {
3387
+ const StrandsUiTabs = /* @__PURE__ */ _export_sfc(_sfc_main$O, [["__scopeId", "data-v-901716e3"]]);
3388
+ const _hoisted_1$H = {
3097
3389
  key: 0,
3098
3390
  class: "ui-divider-text"
3099
3391
  };
3100
- const _sfc_main$O = /* @__PURE__ */ defineComponent({
3392
+ const _sfc_main$N = /* @__PURE__ */ defineComponent({
3101
3393
  __name: "UiDivider",
3102
3394
  props: {
3103
3395
  orientation: { default: "horizontal" },
@@ -3151,7 +3443,7 @@ const _sfc_main$O = /* @__PURE__ */ defineComponent({
3151
3443
  ]),
3152
3444
  style: normalizeStyle(dividerStyle.value)
3153
3445
  }, [
3154
- hasText.value ? (openBlock(), createElementBlock("span", _hoisted_1$I, [
3446
+ hasText.value ? (openBlock(), createElementBlock("span", _hoisted_1$H, [
3155
3447
  renderSlot(_ctx.$slots, "default", {}, () => [
3156
3448
  createTextVNode(toDisplayString(_ctx.text), 1)
3157
3449
  ], true)
@@ -3160,8 +3452,8 @@ const _sfc_main$O = /* @__PURE__ */ defineComponent({
3160
3452
  };
3161
3453
  }
3162
3454
  });
3163
- const UiDivider = /* @__PURE__ */ _export_sfc(_sfc_main$O, [["__scopeId", "data-v-1c798024"]]);
3164
- const _hoisted_1$H = { class: "datetime-picker-wrapper" };
3455
+ const UiDivider = /* @__PURE__ */ _export_sfc(_sfc_main$N, [["__scopeId", "data-v-1c798024"]]);
3456
+ const _hoisted_1$G = { class: "datetime-picker-wrapper" };
3165
3457
  const _hoisted_2$C = { class: "datetime-picker-leading-icon" };
3166
3458
  const _hoisted_3$z = { class: "datetime-picker-display" };
3167
3459
  const _hoisted_4$y = {
@@ -3201,7 +3493,7 @@ const _hoisted_20$b = {
3201
3493
  };
3202
3494
  const _hoisted_21$b = { class: "time-scroll" };
3203
3495
  const _hoisted_22$8 = { class: "datetime-picker-footer" };
3204
- const _sfc_main$N = /* @__PURE__ */ defineComponent({
3496
+ const _sfc_main$M = /* @__PURE__ */ defineComponent({
3205
3497
  __name: "UiDateTimePicker",
3206
3498
  props: {
3207
3499
  modelValue: {},
@@ -3533,7 +3825,7 @@ const _sfc_main$N = /* @__PURE__ */ defineComponent({
3533
3825
  cleanupFloating();
3534
3826
  });
3535
3827
  return (_ctx, _cache) => {
3536
- return openBlock(), createElementBlock("div", _hoisted_1$H, [
3828
+ return openBlock(), createElementBlock("div", _hoisted_1$G, [
3537
3829
  createElementVNode("div", {
3538
3830
  ref_key: "triggerElement",
3539
3831
  ref: triggerElement,
@@ -3790,8 +4082,8 @@ const _sfc_main$N = /* @__PURE__ */ defineComponent({
3790
4082
  };
3791
4083
  }
3792
4084
  });
3793
- const UiDateTimePicker = /* @__PURE__ */ _export_sfc(_sfc_main$N, [["__scopeId", "data-v-f688c330"]]);
3794
- const _sfc_main$M = /* @__PURE__ */ defineComponent({
4085
+ const UiDateTimePicker = /* @__PURE__ */ _export_sfc(_sfc_main$M, [["__scopeId", "data-v-f688c330"]]);
4086
+ const _sfc_main$L = /* @__PURE__ */ defineComponent({
3795
4087
  __name: "UiInput.Date",
3796
4088
  props: {
3797
4089
  min: {},
@@ -3838,7 +4130,7 @@ const _sfc_main$M = /* @__PURE__ */ defineComponent({
3838
4130
  };
3839
4131
  }
3840
4132
  });
3841
- const _sfc_main$L = /* @__PURE__ */ defineComponent({
4133
+ const _sfc_main$K = /* @__PURE__ */ defineComponent({
3842
4134
  __name: "UiInput.Time",
3843
4135
  props: {
3844
4136
  is24Hour: { type: Boolean, default: true },
@@ -3883,7 +4175,7 @@ const _sfc_main$L = /* @__PURE__ */ defineComponent({
3883
4175
  };
3884
4176
  }
3885
4177
  });
3886
- const _sfc_main$K = /* @__PURE__ */ defineComponent({
4178
+ const _sfc_main$J = /* @__PURE__ */ defineComponent({
3887
4179
  __name: "UiInput.DateTime",
3888
4180
  props: {
3889
4181
  min: {},
@@ -24886,14 +25178,14 @@ var TextAlign = Extension.create({
24886
25178
  });
24887
25179
  var index_default$1 = TextAlign;
24888
25180
  var index_default = Placeholder;
24889
- const _hoisted_1$G = { class: "input-richtext-toolbar" };
25181
+ const _hoisted_1$F = { class: "input-richtext-toolbar" };
24890
25182
  const _hoisted_2$B = { class: "input-richtext-group" };
24891
25183
  const _hoisted_3$y = { class: "input-richtext-group" };
24892
25184
  const _hoisted_4$x = { class: "input-richtext-group" };
24893
25185
  const _hoisted_5$s = { class: "input-richtext-group" };
24894
25186
  const _hoisted_6$o = { class: "input-richtext-group" };
24895
25187
  const _hoisted_7$n = { class: "input-richtext-editor-wrapper" };
24896
- const _sfc_main$J = /* @__PURE__ */ defineComponent({
25188
+ const _sfc_main$I = /* @__PURE__ */ defineComponent({
24897
25189
  __name: "UiInput.RichText",
24898
25190
  props: {
24899
25191
  minHeight: { default: "200px" },
@@ -24979,7 +25271,7 @@ const _sfc_main$J = /* @__PURE__ */ defineComponent({
24979
25271
  "input-disabled": _ctx.disabled
24980
25272
  }])
24981
25273
  }, [
24982
- createElementVNode("div", _hoisted_1$G, [
25274
+ createElementVNode("div", _hoisted_1$F, [
24983
25275
  createElementVNode("div", _hoisted_2$B, [
24984
25276
  createVNode(StrandsUiButton, {
24985
25277
  color: unref(editor)?.isActive("bold") ? "primary" : "secondary",
@@ -25260,8 +25552,8 @@ const _sfc_main$J = /* @__PURE__ */ defineComponent({
25260
25552
  };
25261
25553
  }
25262
25554
  });
25263
- const UiInputRichText = /* @__PURE__ */ _export_sfc(_sfc_main$J, [["__scopeId", "data-v-18a35d5d"]]);
25264
- const _hoisted_1$F = { class: "pincode-inputs" };
25555
+ const UiInputRichText = /* @__PURE__ */ _export_sfc(_sfc_main$I, [["__scopeId", "data-v-18a35d5d"]]);
25556
+ const _hoisted_1$E = { class: "pincode-inputs" };
25265
25557
  const _hoisted_2$A = {
25266
25558
  key: 0,
25267
25559
  class: "pincode-icon pincode-icon-leading"
@@ -25275,12 +25567,14 @@ const _hoisted_5$r = {
25275
25567
  key: 1,
25276
25568
  class: "pincode-icon pincode-icon-trailing"
25277
25569
  };
25278
- const _sfc_main$I = /* @__PURE__ */ defineComponent({
25570
+ const _sfc_main$H = /* @__PURE__ */ defineComponent({
25279
25571
  __name: "UiInput.Pincode",
25280
25572
  props: {
25281
25573
  maxLength: { default: 6 },
25282
25574
  variant: { default: "numeric" },
25283
25575
  divider: {},
25576
+ hasLeadingIcon: { type: Boolean, default: false },
25577
+ hasTrailingIcon: { type: Boolean, default: false },
25284
25578
  label: {},
25285
25579
  helpText: {},
25286
25580
  modelValue: {},
@@ -25459,8 +25753,8 @@ const _sfc_main$I = /* @__PURE__ */ defineComponent({
25459
25753
  return openBlock(), createElementBlock("div", {
25460
25754
  class: normalizeClass(["pincode-wrapper", [`pincode-size-${_ctx.size}`, { "pincode-error": _ctx.error }]])
25461
25755
  }, [
25462
- createElementVNode("div", _hoisted_1$F, [
25463
- _ctx.$slots["leading-icon"] ? (openBlock(), createElementBlock("div", _hoisted_2$A, [
25756
+ createElementVNode("div", _hoisted_1$E, [
25757
+ props.hasLeadingIcon ? (openBlock(), createElementBlock("div", _hoisted_2$A, [
25464
25758
  renderSlot(_ctx.$slots, "leading-icon", {}, void 0, true)
25465
25759
  ])) : createCommentVNode("", true),
25466
25760
  (openBlock(true), createElementBlock(Fragment$1, null, renderList(_ctx.maxLength, (index) => {
@@ -25492,7 +25786,7 @@ const _sfc_main$I = /* @__PURE__ */ defineComponent({
25492
25786
  }, dividerProps.value, { class: "pincode-custom-divider" }), null, 16)) : shouldShowDivider(index) ? (openBlock(), createElementBlock("span", _hoisted_4$w, toDisplayString(dividerCharacter.value), 1)) : createCommentVNode("", true)
25493
25787
  ], 64);
25494
25788
  }), 128)),
25495
- _ctx.$slots["trailing-icon"] ? (openBlock(), createElementBlock("div", _hoisted_5$r, [
25789
+ props.hasTrailingIcon ? (openBlock(), createElementBlock("div", _hoisted_5$r, [
25496
25790
  renderSlot(_ctx.$slots, "trailing-icon", {}, void 0, true)
25497
25791
  ])) : createCommentVNode("", true)
25498
25792
  ])
@@ -25500,8 +25794,20 @@ const _sfc_main$I = /* @__PURE__ */ defineComponent({
25500
25794
  };
25501
25795
  }
25502
25796
  });
25503
- const UiInputPincode = /* @__PURE__ */ _export_sfc(_sfc_main$I, [["__scopeId", "data-v-dc5d46fa"]]);
25504
- const _hoisted_1$E = ["for"];
25797
+ const UiInputPincode = /* @__PURE__ */ _export_sfc(_sfc_main$H, [["__scopeId", "data-v-78a9c50b"]]);
25798
+ function hasSlotContent(slots, slotName) {
25799
+ const slot = slots[slotName];
25800
+ if (!slot) return false;
25801
+ const content = slot();
25802
+ if (!content || content.length === 0) return false;
25803
+ return content.some((vnode) => {
25804
+ if (vnode.children && vnode.children !== "") return true;
25805
+ if (vnode.type && typeof vnode.type === "object") return true;
25806
+ if (vnode.props && Object.keys(vnode.props).length > 0) return true;
25807
+ return false;
25808
+ });
25809
+ }
25810
+ const _hoisted_1$D = ["for"];
25505
25811
  const _hoisted_2$z = {
25506
25812
  key: 0,
25507
25813
  class: "input-required"
@@ -25518,7 +25824,7 @@ const _hoisted_5$q = {
25518
25824
  key: 3,
25519
25825
  class: "input-help-text"
25520
25826
  };
25521
- const _sfc_main$H = /* @__PURE__ */ defineComponent({
25827
+ const _sfc_main$G = /* @__PURE__ */ defineComponent({
25522
25828
  __name: "UiInput",
25523
25829
  props: {
25524
25830
  type: {},
@@ -25527,6 +25833,8 @@ const _sfc_main$H = /* @__PURE__ */ defineComponent({
25527
25833
  step: {},
25528
25834
  autocomplete: {},
25529
25835
  spellcheck: { type: Boolean },
25836
+ hasLeadingIcon: { type: Boolean },
25837
+ hasTrailingIcon: { type: Boolean },
25530
25838
  label: {},
25531
25839
  helpText: {},
25532
25840
  modelValue: {},
@@ -25612,7 +25920,7 @@ const _sfc_main$H = /* @__PURE__ */ defineComponent({
25612
25920
  }, [
25613
25921
  createTextVNode(toDisplayString(props.label) + " ", 1),
25614
25922
  props.required ? (openBlock(), createElementBlock("span", _hoisted_2$z, "*")) : createCommentVNode("", true)
25615
- ], 8, _hoisted_1$E)) : createCommentVNode("", true),
25923
+ ], 8, _hoisted_1$D)) : createCommentVNode("", true),
25616
25924
  createElementVNode("div", null, [
25617
25925
  isTextInput.value ? (openBlock(), createBlock(UiInputText, {
25618
25926
  key: 0,
@@ -25631,26 +25939,21 @@ const _sfc_main$H = /* @__PURE__ */ defineComponent({
25631
25939
  error: Boolean(props.error && props.error !== true && props.error !== ""),
25632
25940
  size: props.size,
25633
25941
  tabindex: _ctx.tabindex,
25942
+ "has-leading-icon": hasSlotContent$1("leading-icon"),
25943
+ "has-trailing-icon": hasSlotContent$1("trailing-icon"),
25634
25944
  "onUpdate:modelValue": handleInput,
25635
25945
  onBlur: handleBlur,
25636
25946
  onFocus: handleFocus,
25637
25947
  onKeydown: handleKeydown
25638
- }, createSlots({ _: 2 }, [
25639
- hasSlotContent$1("leading-icon") ? {
25640
- name: "leading-icon",
25641
- fn: withCtx(() => [
25642
- renderSlot(_ctx.$slots, "leading-icon", {}, void 0, true)
25643
- ]),
25644
- key: "0"
25645
- } : void 0,
25646
- hasSlotContent$1("trailing-icon") ? {
25647
- name: "trailing-icon",
25648
- fn: withCtx(() => [
25649
- renderSlot(_ctx.$slots, "trailing-icon", {}, void 0, true)
25650
- ]),
25651
- key: "1"
25652
- } : void 0
25653
- ]), 1032, ["model-value", "type", "placeholder", "disabled", "readonly", "required", "min", "max", "step", "autocomplete", "spellcheck", "input-id", "error", "size", "tabindex"])) : _ctx.type === "textarea" ? (openBlock(), createBlock(UiInputTextarea, {
25948
+ }, {
25949
+ "leading-icon": withCtx(() => [
25950
+ renderSlot(_ctx.$slots, "leading-icon", {}, void 0, true)
25951
+ ]),
25952
+ "trailing-icon": withCtx(() => [
25953
+ renderSlot(_ctx.$slots, "trailing-icon", {}, void 0, true)
25954
+ ]),
25955
+ _: 3
25956
+ }, 8, ["model-value", "type", "placeholder", "disabled", "readonly", "required", "min", "max", "step", "autocomplete", "spellcheck", "input-id", "error", "size", "tabindex", "has-leading-icon", "has-trailing-icon"])) : _ctx.type === "textarea" ? (openBlock(), createBlock(UiInputTextarea, {
25654
25957
  key: 1,
25655
25958
  "model-value": _ctx.modelValue,
25656
25959
  placeholder: _ctx.placeholder,
@@ -25667,26 +25970,21 @@ const _sfc_main$H = /* @__PURE__ */ defineComponent({
25667
25970
  error: props.error,
25668
25971
  size: props.size,
25669
25972
  tabindex: _ctx.tabindex,
25973
+ "has-leading-icon": hasSlotContent$1("leading-icon"),
25974
+ "has-trailing-icon": hasSlotContent$1("trailing-icon"),
25670
25975
  "onUpdate:modelValue": handleInput,
25671
25976
  onBlur: handleBlur,
25672
25977
  onFocus: handleFocus,
25673
25978
  onKeydown: handleKeydown
25674
- }, createSlots({ _: 2 }, [
25675
- hasSlotContent$1("leading-icon") ? {
25676
- name: "leading-icon",
25677
- fn: withCtx(() => [
25678
- renderSlot(_ctx.$slots, "leading-icon", {}, void 0, true)
25679
- ]),
25680
- key: "0"
25681
- } : void 0,
25682
- hasSlotContent$1("trailing-icon") ? {
25683
- name: "trailing-icon",
25684
- fn: withCtx(() => [
25685
- renderSlot(_ctx.$slots, "trailing-icon", {}, void 0, true)
25686
- ]),
25687
- key: "1"
25688
- } : void 0
25689
- ]), 1032, ["model-value", "placeholder", "disabled", "readonly", "required", "rows", "cols", "maxlength", "autocomplete", "spellcheck", "resizable", "input-id", "error", "size", "tabindex"])) : _ctx.type === "select" ? (openBlock(), createBlock(UiInputSelect, {
25979
+ }, {
25980
+ "leading-icon": withCtx(() => [
25981
+ renderSlot(_ctx.$slots, "leading-icon", {}, void 0, true)
25982
+ ]),
25983
+ "trailing-icon": withCtx(() => [
25984
+ renderSlot(_ctx.$slots, "trailing-icon", {}, void 0, true)
25985
+ ]),
25986
+ _: 3
25987
+ }, 8, ["model-value", "placeholder", "disabled", "readonly", "required", "rows", "cols", "maxlength", "autocomplete", "spellcheck", "resizable", "input-id", "error", "size", "tabindex", "has-leading-icon", "has-trailing-icon"])) : _ctx.type === "select" ? (openBlock(), createBlock(UiInputSelect, {
25690
25988
  key: 2,
25691
25989
  "model-value": _ctx.modelValue,
25692
25990
  options: props.options,
@@ -25702,25 +26000,20 @@ const _sfc_main$H = /* @__PURE__ */ defineComponent({
25702
26000
  error: props.error,
25703
26001
  size: props.size,
25704
26002
  tabindex: _ctx.tabindex,
26003
+ "has-leading-icon": hasSlotContent$1("leading-icon"),
26004
+ "has-trailing-icon": hasSlotContent$1("trailing-icon"),
25705
26005
  "onUpdate:modelValue": handleInput,
25706
26006
  onBlur: handleBlur,
25707
26007
  onFocus: handleFocus
25708
- }, createSlots({ _: 2 }, [
25709
- hasSlotContent$1("leading-icon") ? {
25710
- name: "leading-icon",
25711
- fn: withCtx(() => [
25712
- renderSlot(_ctx.$slots, "leading-icon", {}, void 0, true)
25713
- ]),
25714
- key: "0"
25715
- } : void 0,
25716
- hasSlotContent$1("trailing-icon") ? {
25717
- name: "trailing-icon",
25718
- fn: withCtx(() => [
25719
- renderSlot(_ctx.$slots, "trailing-icon", {}, void 0, true)
25720
- ]),
25721
- key: "1"
25722
- } : void 0
25723
- ]), 1032, ["model-value", "options", "placeholder", "disabled", "multiple", "searchable", "allow-insert", "max-dropdown-height", "no-options-text", "search-placeholder", "input-id", "error", "size", "tabindex"])) : _ctx.type === "file" ? (openBlock(), createBlock(UiInputFile, {
26008
+ }, {
26009
+ "leading-icon": withCtx(() => [
26010
+ renderSlot(_ctx.$slots, "leading-icon", {}, void 0, true)
26011
+ ]),
26012
+ "trailing-icon": withCtx(() => [
26013
+ renderSlot(_ctx.$slots, "trailing-icon", {}, void 0, true)
26014
+ ]),
26015
+ _: 3
26016
+ }, 8, ["model-value", "options", "placeholder", "disabled", "multiple", "searchable", "allow-insert", "max-dropdown-height", "no-options-text", "search-placeholder", "input-id", "error", "size", "tabindex", "has-leading-icon", "has-trailing-icon"])) : _ctx.type === "file" ? (openBlock(), createBlock(UiInputFile, {
25724
26017
  key: 3,
25725
26018
  "model-value": _ctx.modelValue,
25726
26019
  accept: props.accept,
@@ -25735,27 +26028,22 @@ const _sfc_main$H = /* @__PURE__ */ defineComponent({
25735
26028
  error: props.error,
25736
26029
  size: props.size,
25737
26030
  tabindex: _ctx.tabindex,
26031
+ "has-leading-icon": hasSlotContent$1("leading-icon"),
26032
+ "has-trailing-icon": hasSlotContent$1("trailing-icon"),
25738
26033
  "onUpdate:modelValue": handleInput,
25739
26034
  onFileError: handleFileError,
25740
26035
  onClearPreview: handleClearPreview,
25741
26036
  onBlur: handleBlur,
25742
26037
  onFocus: handleFocus
25743
- }, createSlots({ _: 2 }, [
25744
- hasSlotContent$1("leading-icon") ? {
25745
- name: "leading-icon",
25746
- fn: withCtx(() => [
25747
- renderSlot(_ctx.$slots, "leading-icon", {}, void 0, true)
25748
- ]),
25749
- key: "0"
25750
- } : void 0,
25751
- hasSlotContent$1("trailing-icon") ? {
25752
- name: "trailing-icon",
25753
- fn: withCtx(() => [
25754
- renderSlot(_ctx.$slots, "trailing-icon", {}, void 0, true)
25755
- ]),
25756
- key: "1"
25757
- } : void 0
25758
- ]), 1032, ["model-value", "accept", "multiple", "max-file-size", "drag-drop-text", "selected-text", "preview", "disabled", "required", "input-id", "error", "size", "tabindex"])) : _ctx.type === "date" ? (openBlock(), createBlock(_sfc_main$M, {
26038
+ }, {
26039
+ "leading-icon": withCtx(() => [
26040
+ renderSlot(_ctx.$slots, "leading-icon", {}, void 0, true)
26041
+ ]),
26042
+ "trailing-icon": withCtx(() => [
26043
+ renderSlot(_ctx.$slots, "trailing-icon", {}, void 0, true)
26044
+ ]),
26045
+ _: 3
26046
+ }, 8, ["model-value", "accept", "multiple", "max-file-size", "drag-drop-text", "selected-text", "preview", "disabled", "required", "input-id", "error", "size", "tabindex", "has-leading-icon", "has-trailing-icon"])) : _ctx.type === "date" ? (openBlock(), createBlock(_sfc_main$L, {
25759
26047
  key: 4,
25760
26048
  "model-value": _ctx.modelValue,
25761
26049
  placeholder: _ctx.placeholder,
@@ -25771,7 +26059,7 @@ const _sfc_main$H = /* @__PURE__ */ defineComponent({
25771
26059
  "onUpdate:modelValue": handleInput,
25772
26060
  onBlur: handleBlur,
25773
26061
  onFocus: handleFocus
25774
- }, null, 8, ["model-value", "placeholder", "disabled", "readonly", "required", "min", "max", "input-id", "error", "size", "tabindex"])) : _ctx.type === "time" ? (openBlock(), createBlock(_sfc_main$L, {
26062
+ }, null, 8, ["model-value", "placeholder", "disabled", "readonly", "required", "min", "max", "input-id", "error", "size", "tabindex"])) : _ctx.type === "time" ? (openBlock(), createBlock(_sfc_main$K, {
25775
26063
  key: 5,
25776
26064
  "model-value": _ctx.modelValue,
25777
26065
  placeholder: _ctx.placeholder,
@@ -25785,7 +26073,7 @@ const _sfc_main$H = /* @__PURE__ */ defineComponent({
25785
26073
  "onUpdate:modelValue": handleInput,
25786
26074
  onBlur: handleBlur,
25787
26075
  onFocus: handleFocus
25788
- }, null, 8, ["model-value", "placeholder", "disabled", "readonly", "required", "input-id", "error", "size", "tabindex"])) : _ctx.type === "datetime" ? (openBlock(), createBlock(_sfc_main$K, {
26076
+ }, null, 8, ["model-value", "placeholder", "disabled", "readonly", "required", "input-id", "error", "size", "tabindex"])) : _ctx.type === "datetime" ? (openBlock(), createBlock(_sfc_main$J, {
25789
26077
  key: 6,
25790
26078
  "model-value": _ctx.modelValue,
25791
26079
  placeholder: _ctx.placeholder,
@@ -25856,10 +26144,10 @@ const _sfc_main$H = /* @__PURE__ */ defineComponent({
25856
26144
  };
25857
26145
  }
25858
26146
  });
25859
- const StrandsUiInput = /* @__PURE__ */ _export_sfc(_sfc_main$H, [["__scopeId", "data-v-55d725f7"]]);
25860
- const _hoisted_1$D = ["disabled", "aria-disabled"];
26147
+ const StrandsUiInput = /* @__PURE__ */ _export_sfc(_sfc_main$G, [["__scopeId", "data-v-96984fc3"]]);
26148
+ const _hoisted_1$C = ["disabled", "aria-disabled"];
25861
26149
  const _hoisted_2$y = ["href", "target", "rel", "aria-disabled"];
25862
- const _sfc_main$G = /* @__PURE__ */ defineComponent({
26150
+ const _sfc_main$F = /* @__PURE__ */ defineComponent({
25863
26151
  __name: "UiLink",
25864
26152
  props: {
25865
26153
  href: {},
@@ -25949,7 +26237,7 @@ const _sfc_main$G = /* @__PURE__ */ defineComponent({
25949
26237
  onClick: handleClick2
25950
26238
  }, [
25951
26239
  renderSlot(_ctx.$slots, "default", {}, void 0, true)
25952
- ], 14, _hoisted_1$D)) : (openBlock(), createElementBlock("a", {
26240
+ ], 14, _hoisted_1$C)) : (openBlock(), createElementBlock("a", {
25953
26241
  key: 1,
25954
26242
  class: normalizeClass(["ui-link", [
25955
26243
  `ui-link-${_ctx.variant}`,
@@ -25969,15 +26257,15 @@ const _sfc_main$G = /* @__PURE__ */ defineComponent({
25969
26257
  };
25970
26258
  }
25971
26259
  });
25972
- const StrandsUiLink = /* @__PURE__ */ _export_sfc(_sfc_main$G, [["__scopeId", "data-v-3bf99110"]]);
25973
- const _hoisted_1$C = { class: "ui-toggle-container" };
26260
+ const StrandsUiLink = /* @__PURE__ */ _export_sfc(_sfc_main$F, [["__scopeId", "data-v-3bf99110"]]);
26261
+ const _hoisted_1$B = { class: "ui-toggle-container" };
25974
26262
  const _hoisted_2$x = ["for"];
25975
26263
  const _hoisted_3$v = {
25976
26264
  key: 0,
25977
26265
  class: "ui-toggle-required"
25978
26266
  };
25979
26267
  const _hoisted_4$u = ["id", "aria-pressed", "aria-labelledby"];
25980
- const _sfc_main$F = /* @__PURE__ */ defineComponent({
26268
+ const _sfc_main$E = /* @__PURE__ */ defineComponent({
25981
26269
  __name: "UiToggle",
25982
26270
  props: {
25983
26271
  modelValue: { type: Boolean, default: false },
@@ -26010,7 +26298,7 @@ const _sfc_main$F = /* @__PURE__ */ defineComponent({
26010
26298
  emit("update:modelValue", !props.modelValue);
26011
26299
  };
26012
26300
  return (_ctx, _cache) => {
26013
- return openBlock(), createElementBlock("div", _hoisted_1$C, [
26301
+ return openBlock(), createElementBlock("div", _hoisted_1$B, [
26014
26302
  _ctx.label ? (openBlock(), createElementBlock("label", {
26015
26303
  key: 0,
26016
26304
  for: toggleId.value,
@@ -26035,8 +26323,8 @@ const _sfc_main$F = /* @__PURE__ */ defineComponent({
26035
26323
  };
26036
26324
  }
26037
26325
  });
26038
- const UiToggle = /* @__PURE__ */ _export_sfc(_sfc_main$F, [["__scopeId", "data-v-ba05b9e3"]]);
26039
- const _hoisted_1$B = { class: "accui-component-scope" };
26326
+ const UiToggle = /* @__PURE__ */ _export_sfc(_sfc_main$E, [["__scopeId", "data-v-ba05b9e3"]]);
26327
+ const _hoisted_1$A = { class: "accui-component-scope" };
26040
26328
  const _hoisted_2$w = { class: "avatar-editor-simple" };
26041
26329
  const _hoisted_3$u = {
26042
26330
  key: 1,
@@ -26061,7 +26349,7 @@ const _hoisted_19$c = { class: "action-buttons" };
26061
26349
  const _hoisted_20$a = { class: "preview-section" };
26062
26350
  const _hoisted_21$a = { class: "preview-container" };
26063
26351
  const _hoisted_22$7 = ["width", "height"];
26064
- const _sfc_main$E = /* @__PURE__ */ defineComponent({
26352
+ const _sfc_main$D = /* @__PURE__ */ defineComponent({
26065
26353
  __name: "UiAvatarEditor",
26066
26354
  props: {
26067
26355
  size: { default: 300 },
@@ -26352,7 +26640,7 @@ const _sfc_main$E = /* @__PURE__ */ defineComponent({
26352
26640
  }
26353
26641
  }, { immediate: true });
26354
26642
  return (_ctx, _cache) => {
26355
- return openBlock(), createElementBlock("div", _hoisted_1$B, [
26643
+ return openBlock(), createElementBlock("div", _hoisted_1$A, [
26356
26644
  createElementVNode("div", _hoisted_2$w, [
26357
26645
  createElementVNode("input", {
26358
26646
  ref_key: "fileInput",
@@ -26840,7 +27128,7 @@ class SoundEffects {
26840
27128
  }
26841
27129
  }
26842
27130
  const playLevelUp = (level, userSettings) => SoundEffects.playLevelUp(level, userSettings);
26843
- const _hoisted_1$A = { class: "level-progress-container" };
27131
+ const _hoisted_1$z = { class: "level-progress-container" };
26844
27132
  const _hoisted_2$v = ["width", "height", "viewBox"];
26845
27133
  const _hoisted_3$t = { key: 0 };
26846
27134
  const _hoisted_4$s = ["r"];
@@ -26870,7 +27158,7 @@ const INNER_GAP = 18;
26870
27158
  const ANIMATION_DURATION = 600;
26871
27159
  const LABEL_EXTRA_DEGREES = 12;
26872
27160
  const LABEL_CHAR_DEGREES = 8;
26873
- const _sfc_main$D = /* @__PURE__ */ defineComponent({
27161
+ const _sfc_main$C = /* @__PURE__ */ defineComponent({
26874
27162
  __name: "UiLevelProgress",
26875
27163
  props: {
26876
27164
  value: {},
@@ -27025,7 +27313,7 @@ const _sfc_main$D = /* @__PURE__ */ defineComponent({
27025
27313
  prevLevel = newLevel;
27026
27314
  });
27027
27315
  return (_ctx, _cache) => {
27028
- return openBlock(), createElementBlock("div", _hoisted_1$A, [
27316
+ return openBlock(), createElementBlock("div", _hoisted_1$z, [
27029
27317
  (openBlock(), createElementBlock("svg", {
27030
27318
  width: unref(size),
27031
27319
  height: unref(size),
@@ -27123,7 +27411,7 @@ const _sfc_main$D = /* @__PURE__ */ defineComponent({
27123
27411
  };
27124
27412
  }
27125
27413
  });
27126
- const UiLevelProgress = /* @__PURE__ */ _export_sfc(_sfc_main$D, [["__scopeId", "data-v-410a88ab"]]);
27414
+ const UiLevelProgress = /* @__PURE__ */ _export_sfc(_sfc_main$C, [["__scopeId", "data-v-410a88ab"]]);
27127
27415
  class ModalStack {
27128
27416
  stack = [];
27129
27417
  escapeHandlerRegistered = false;
@@ -27326,7 +27614,7 @@ function useGlobalModalStack() {
27326
27614
  }
27327
27615
  };
27328
27616
  }
27329
- const _hoisted_1$z = {
27617
+ const _hoisted_1$y = {
27330
27618
  key: 0,
27331
27619
  class: "ui-modal-backdrop",
27332
27620
  role: "dialog",
@@ -27340,7 +27628,7 @@ const _hoisted_5$n = {
27340
27628
  class: "ui-modal-subtitle"
27341
27629
  };
27342
27630
  const _hoisted_6$l = { class: "ui-modal-body-content" };
27343
- const _sfc_main$C = /* @__PURE__ */ defineComponent({
27631
+ const _sfc_main$B = /* @__PURE__ */ defineComponent({
27344
27632
  __name: "UiModal",
27345
27633
  props: {
27346
27634
  modelValue: { type: Boolean, default: void 0 },
@@ -27495,7 +27783,7 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
27495
27783
  }, [
27496
27784
  createVNode(Transition, { name: "modal" }, {
27497
27785
  default: withCtx(() => [
27498
- isModalOpen.value ? (openBlock(), createElementBlock("div", _hoisted_1$z, [
27786
+ isModalOpen.value ? (openBlock(), createElementBlock("div", _hoisted_1$y, [
27499
27787
  createElementVNode("div", {
27500
27788
  class: "ui-modal-container",
27501
27789
  ref_key: "modalContainer",
@@ -27570,7 +27858,7 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
27570
27858
  };
27571
27859
  }
27572
27860
  });
27573
- const UiModal = /* @__PURE__ */ _export_sfc(_sfc_main$C, [["__scopeId", "data-v-ecf47be6"]]);
27861
+ const UiModal = /* @__PURE__ */ _export_sfc(_sfc_main$B, [["__scopeId", "data-v-ecf47be6"]]);
27574
27862
  const tailwindColors = {
27575
27863
  "#000000": {
27576
27864
  label: "Black"
@@ -28173,7 +28461,7 @@ const tailwindColors = {
28173
28461
  ]
28174
28462
  }
28175
28463
  };
28176
- const _hoisted_1$y = { class: "ui-color-picker" };
28464
+ const _hoisted_1$x = { class: "ui-color-picker" };
28177
28465
  const _hoisted_2$t = { class: "ui-color-picker-main" };
28178
28466
  const _hoisted_3$r = ["viewBox"];
28179
28467
  const _hoisted_4$q = ["d"];
@@ -28256,7 +28544,7 @@ const _hoisted_50$1 = { class: "ui-color-picker-swatch-row ui-color-picker-swatc
28256
28544
  const _hoisted_51$1 = ["onClick"];
28257
28545
  const GLOBAL_PICKER_WIDTH = 200;
28258
28546
  const GLOBAL_PICKER_HEIGHT = 150;
28259
- const _sfc_main$B = /* @__PURE__ */ defineComponent({
28547
+ const _sfc_main$A = /* @__PURE__ */ defineComponent({
28260
28548
  __name: "UiColorPicker.Picker",
28261
28549
  props: {
28262
28550
  contrastLabel: {},
@@ -29801,7 +30089,7 @@ const _sfc_main$B = /* @__PURE__ */ defineComponent({
29801
30089
  document.removeEventListener("touchend", handleAreaMouseUp);
29802
30090
  });
29803
30091
  return (_ctx, _cache) => {
29804
- return openBlock(), createElementBlock("div", _hoisted_1$y, [
30092
+ return openBlock(), createElementBlock("div", _hoisted_1$x, [
29805
30093
  createElementVNode("div", _hoisted_2$t, [
29806
30094
  createElementVNode("div", {
29807
30095
  ref_key: "colorAreaRef",
@@ -30443,10 +30731,10 @@ const _sfc_main$B = /* @__PURE__ */ defineComponent({
30443
30731
  };
30444
30732
  }
30445
30733
  });
30446
- const UiColorPickerPicker = /* @__PURE__ */ _export_sfc(_sfc_main$B, [["__scopeId", "data-v-24473a61"]]);
30447
- const _hoisted_1$x = { class: "ui-color-picker-button-container" };
30734
+ const UiColorPickerPicker = /* @__PURE__ */ _export_sfc(_sfc_main$A, [["__scopeId", "data-v-24473a61"]]);
30735
+ const _hoisted_1$w = { class: "ui-color-picker-button-container" };
30448
30736
  const _hoisted_2$s = { class: "ui-color-picker-button-preview" };
30449
- const _sfc_main$A = /* @__PURE__ */ defineComponent({
30737
+ const _sfc_main$z = /* @__PURE__ */ defineComponent({
30450
30738
  __name: "UiColorPicker.Button",
30451
30739
  props: {
30452
30740
  modelValue: {},
@@ -30530,7 +30818,7 @@ const _sfc_main$A = /* @__PURE__ */ defineComponent({
30530
30818
  cleanupFloating();
30531
30819
  });
30532
30820
  return (_ctx, _cache) => {
30533
- return openBlock(), createElementBlock("div", _hoisted_1$x, [
30821
+ return openBlock(), createElementBlock("div", _hoisted_1$w, [
30534
30822
  createVNode(StrandsUiButton, {
30535
30823
  ref_key: "buttonRef",
30536
30824
  ref: buttonRef,
@@ -30574,8 +30862,8 @@ const _sfc_main$A = /* @__PURE__ */ defineComponent({
30574
30862
  };
30575
30863
  }
30576
30864
  });
30577
- const UiColorPickerButton = /* @__PURE__ */ _export_sfc(_sfc_main$A, [["__scopeId", "data-v-a03d15a6"]]);
30578
- const _sfc_main$z = /* @__PURE__ */ defineComponent({
30865
+ const UiColorPickerButton = /* @__PURE__ */ _export_sfc(_sfc_main$z, [["__scopeId", "data-v-a03d15a6"]]);
30866
+ const _sfc_main$y = /* @__PURE__ */ defineComponent({
30579
30867
  __name: "UiColorPicker",
30580
30868
  props: {
30581
30869
  modelValue: { default: "#EA00A8" },
@@ -30629,145 +30917,6 @@ const _sfc_main$z = /* @__PURE__ */ defineComponent({
30629
30917
  };
30630
30918
  }
30631
30919
  });
30632
- const _hoisted_1$w = { class: "ui-tooltip-content" };
30633
- const _sfc_main$y = /* @__PURE__ */ defineComponent({
30634
- __name: "UiTooltip",
30635
- props: {
30636
- content: { default: "" },
30637
- position: { default: "top" },
30638
- delay: { default: 500 },
30639
- disabled: { type: Boolean, default: false },
30640
- offset: { default: 8 },
30641
- maxWidth: { default: 250 }
30642
- },
30643
- setup(__props) {
30644
- const props = __props;
30645
- const tooltipContainer = ref();
30646
- const tooltipRef = ref();
30647
- const isVisible = ref(false);
30648
- const shouldRender = ref(false);
30649
- let showTimeout = null;
30650
- let hideTimeout = null;
30651
- const tooltipStyle = ref({});
30652
- const updateTooltipPosition = async () => {
30653
- if (!tooltipContainer.value || !tooltipRef.value || !shouldRender.value) return;
30654
- await nextTick();
30655
- const containerRect = tooltipContainer.value.getBoundingClientRect();
30656
- tooltipRef.value.style.visibility = "hidden";
30657
- tooltipRef.value.style.opacity = "1";
30658
- const tooltipRect = tooltipRef.value.getBoundingClientRect();
30659
- const tooltipWidth = tooltipRect.width;
30660
- const tooltipHeight = tooltipRect.height;
30661
- tooltipRef.value.style.visibility = "";
30662
- tooltipRef.value.style.opacity = "";
30663
- const viewportWidth = window.innerWidth;
30664
- const viewportHeight = window.innerHeight;
30665
- let top = 0;
30666
- let left = 0;
30667
- switch (props.position) {
30668
- case "top":
30669
- top = containerRect.top - tooltipHeight - props.offset;
30670
- left = containerRect.left + containerRect.width / 2 - tooltipWidth / 2;
30671
- break;
30672
- case "bottom":
30673
- top = containerRect.bottom + props.offset;
30674
- left = containerRect.left + containerRect.width / 2 - tooltipWidth / 2;
30675
- break;
30676
- case "left":
30677
- top = containerRect.top + containerRect.height / 2 - tooltipHeight / 2;
30678
- left = containerRect.left - tooltipWidth - props.offset;
30679
- break;
30680
- case "right":
30681
- top = containerRect.top + containerRect.height / 2 - tooltipHeight / 2;
30682
- left = containerRect.right + props.offset;
30683
- break;
30684
- }
30685
- const padding = 8;
30686
- if (left < padding) {
30687
- left = padding;
30688
- } else if (left + tooltipWidth > viewportWidth - padding) {
30689
- left = viewportWidth - tooltipWidth - padding;
30690
- }
30691
- if (top < padding) {
30692
- top = padding;
30693
- } else if (top + tooltipHeight > viewportHeight - padding) {
30694
- top = viewportHeight - tooltipHeight - padding;
30695
- }
30696
- tooltipStyle.value = {
30697
- position: "fixed",
30698
- top: `${top}px`,
30699
- left: `${left}px`,
30700
- zIndex: "9999"
30701
- };
30702
- };
30703
- const showTooltip = () => {
30704
- if (props.disabled) return;
30705
- if (hideTimeout) {
30706
- clearTimeout(hideTimeout);
30707
- hideTimeout = null;
30708
- }
30709
- shouldRender.value = true;
30710
- nextTick(() => {
30711
- updateTooltipPosition();
30712
- });
30713
- showTimeout = setTimeout(() => {
30714
- isVisible.value = true;
30715
- }, props.delay);
30716
- };
30717
- const hideTooltip = () => {
30718
- if (showTimeout) {
30719
- clearTimeout(showTimeout);
30720
- showTimeout = null;
30721
- }
30722
- hideTimeout = setTimeout(() => {
30723
- isVisible.value = false;
30724
- setTimeout(() => {
30725
- shouldRender.value = false;
30726
- }, 200);
30727
- }, 100);
30728
- };
30729
- onUnmounted(() => {
30730
- if (showTimeout) clearTimeout(showTimeout);
30731
- if (hideTimeout) clearTimeout(hideTimeout);
30732
- });
30733
- return (_ctx, _cache) => {
30734
- return openBlock(), createElementBlock("div", {
30735
- ref_key: "tooltipContainer",
30736
- ref: tooltipContainer,
30737
- class: "ui-tooltip-container",
30738
- onMouseenter: showTooltip,
30739
- onMouseleave: hideTooltip
30740
- }, [
30741
- renderSlot(_ctx.$slots, "default", {}, void 0, true),
30742
- (openBlock(), createBlock(Teleport, { to: "body" }, [
30743
- shouldRender.value ? (openBlock(), createElementBlock("div", {
30744
- key: 0,
30745
- ref_key: "tooltipRef",
30746
- ref: tooltipRef,
30747
- class: normalizeClass(["ui-tooltip", [
30748
- `ui-tooltip--${_ctx.position}`,
30749
- {
30750
- "ui-tooltip--visible": isVisible.value
30751
- }
30752
- ]]),
30753
- style: normalizeStyle(tooltipStyle.value),
30754
- role: "tooltip"
30755
- }, [
30756
- createElementVNode("div", _hoisted_1$w, [
30757
- renderSlot(_ctx.$slots, "tooltip", {}, () => [
30758
- createTextVNode(toDisplayString(_ctx.content), 1)
30759
- ], true)
30760
- ]),
30761
- createElementVNode("div", {
30762
- class: normalizeClass(["ui-tooltip-arrow", `ui-tooltip-arrow--${_ctx.position}`])
30763
- }, null, 2)
30764
- ], 6)) : createCommentVNode("", true)
30765
- ]))
30766
- ], 544);
30767
- };
30768
- }
30769
- });
30770
- const UiTooltip = /* @__PURE__ */ _export_sfc(_sfc_main$y, [["__scopeId", "data-v-614c492f"]]);
30771
30920
  const _hoisted_1$v = { class: "ui-table-container" };
30772
30921
  const _hoisted_2$r = {
30773
30922
  key: 0,
@@ -39458,7 +39607,7 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
39458
39607
  ], -1)
39459
39608
  ])])
39460
39609
  ]),
39461
- createVNode(unref(_sfc_main$E), {
39610
+ createVNode(unref(_sfc_main$D), {
39462
39611
  uploading: uploading.value,
39463
39612
  "preselected-file": selectedImageFile.value,
39464
39613
  onUpload: handleAvatarUpload,
@@ -40288,7 +40437,8 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
40288
40437
  to: {},
40289
40438
  href: {},
40290
40439
  external: { type: Boolean },
40291
- tabindex: {}
40440
+ tabindex: {},
40441
+ title: {}
40292
40442
  },
40293
40443
  setup(__props) {
40294
40444
  const props = __props;
@@ -41113,11 +41263,11 @@ export {
41113
41263
  StrandsUIPlugin,
41114
41264
  StrandsUiAlert,
41115
41265
  UiApp as StrandsUiApp,
41116
- _sfc_main$E as StrandsUiAvatarEditor,
41266
+ _sfc_main$D as StrandsUiAvatarEditor,
41117
41267
  CompoundUiButton as StrandsUiButton,
41118
41268
  StrandsUiCard,
41119
41269
  UiCheckboxGroup as StrandsUiCheckboxGroup,
41120
- _sfc_main$z as StrandsUiColorPicker,
41270
+ _sfc_main$y as StrandsUiColorPicker,
41121
41271
  UiDivider as StrandsUiDivider,
41122
41272
  UiHero as StrandsUiHero,
41123
41273
  StrandsUiInput,
@@ -41138,12 +41288,12 @@ export {
41138
41288
  _sfc_main$5 as SvgIcon,
41139
41289
  StrandsUiAlert as UiAlert,
41140
41290
  UiApp,
41141
- _sfc_main$E as UiAvatarEditor,
41142
- _sfc_main$E as UiAvatarEditorSimple,
41291
+ _sfc_main$D as UiAvatarEditor,
41292
+ _sfc_main$D as UiAvatarEditorSimple,
41143
41293
  CompoundUiButton as UiButton,
41144
41294
  StrandsUiCard as UiCard,
41145
41295
  UiCheckboxGroup,
41146
- _sfc_main$z as UiColorPicker,
41296
+ _sfc_main$y as UiColorPicker,
41147
41297
  UiDivider,
41148
41298
  UiHero,
41149
41299
  StrandsUiInput as UiInput,