@strands.gg/accui 2.15.0 → 2.15.2
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/{StrandsUIPlugin-tl7L52hZ.es.js → StrandsUIPlugin-CE4-QxEo.es.js} +2 -2
- package/dist/{StrandsUIPlugin-C9rrMU2i.cjs.js → StrandsUIPlugin-Dl-CMqkQ.cjs.js} +1 -1
- package/dist/accui.css +1 -1
- package/dist/index.cjs.js +1 -1
- package/dist/index.es.js +171 -148
- package/dist/vite.cjs.js +1 -1
- package/dist/vite.es.js +1 -1
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { _ as _export_sfc, S as StrandsUiButton, U as UiButtonContent, a as _sfc_main$G, b as _sfc_main$H, c as _sfc_main$I, d as createLucideIcon, M as Minus, e as StrandsUiCard, f as UiTooltip, g as UiDivider, u as useFloatingPosition, C as ChevronDown, h as StrandsUiInput, i as StrandsUiLoader, j as StrandsUiTabs, k as StrandsUiLink, l as StrandsUiAlert } from "./StrandsUIPlugin-
|
|
2
|
-
import { m } from "./StrandsUIPlugin-
|
|
1
|
+
import { _ as _export_sfc, S as StrandsUiButton, U as UiButtonContent, a as _sfc_main$G, b as _sfc_main$H, c as _sfc_main$I, d as createLucideIcon, M as Minus, e as StrandsUiCard, f as UiTooltip, g as UiDivider, u as useFloatingPosition, C as ChevronDown, h as StrandsUiInput, i as StrandsUiLoader, j as StrandsUiTabs, k as StrandsUiLink, l as StrandsUiAlert } from "./StrandsUIPlugin-CE4-QxEo.es.js";
|
|
2
|
+
import { m } from "./StrandsUIPlugin-CE4-QxEo.es.js";
|
|
3
3
|
import { defineComponent, computed, provide, onMounted, onUnmounted, createElementBlock, openBlock, normalizeClass, createElementVNode, createBlock, renderSlot, Teleport, createCommentVNode, toDisplayString, createTextVNode, ref, reactive, watch, withModifiers, createStaticVNode, createVNode, withDirectives, withCtx, unref, vModelText, nextTick, Fragment, Transition, createSlots, normalizeStyle, renderList, mergeProps, useSlots, inject, resolveDynamicComponent, onBeforeUnmount, withKeys, h, isMemoSame, getCurrentInstance } from "vue";
|
|
4
4
|
import { u as useStrandsConfig, p as provideStrandsConfig } from "./useStrandsConfig-fRu-OG08.es.js";
|
|
5
5
|
import { s } from "./useStrandsConfig-fRu-OG08.es.js";
|
|
@@ -296,7 +296,7 @@ const _hoisted_18$e = ["min", "max"];
|
|
|
296
296
|
const _hoisted_19$d = { class: "action-buttons" };
|
|
297
297
|
const _hoisted_20$b = { class: "preview-section" };
|
|
298
298
|
const _hoisted_21$b = { class: "preview-container" };
|
|
299
|
-
const _hoisted_22$
|
|
299
|
+
const _hoisted_22$7 = ["width", "height"];
|
|
300
300
|
const _sfc_main$D = /* @__PURE__ */ defineComponent({
|
|
301
301
|
__name: "UiAvatarEditor",
|
|
302
302
|
props: {
|
|
@@ -766,7 +766,7 @@ const _sfc_main$D = /* @__PURE__ */ defineComponent({
|
|
|
766
766
|
width: previewSize.value,
|
|
767
767
|
height: previewSize.value,
|
|
768
768
|
class: "preview-canvas"
|
|
769
|
-
}, null, 8, _hoisted_22$
|
|
769
|
+
}, null, 8, _hoisted_22$7)
|
|
770
770
|
]),
|
|
771
771
|
_cache[10] || (_cache[10] = createElementVNode("p", { class: "preview-instructions" }, [
|
|
772
772
|
createTextVNode(" Drag image to reposition"),
|
|
@@ -1806,7 +1806,7 @@ const _sfc_main$B = /* @__PURE__ */ defineComponent({
|
|
|
1806
1806
|
};
|
|
1807
1807
|
}
|
|
1808
1808
|
});
|
|
1809
|
-
const UiModal = /* @__PURE__ */ _export_sfc(_sfc_main$B, [["__scopeId", "data-v-
|
|
1809
|
+
const UiModal = /* @__PURE__ */ _export_sfc(_sfc_main$B, [["__scopeId", "data-v-2decdbca"]]);
|
|
1810
1810
|
const tailwindColors = {
|
|
1811
1811
|
"#000000": {
|
|
1812
1812
|
label: "Black"
|
|
@@ -2436,7 +2436,7 @@ const _hoisted_20$a = {
|
|
|
2436
2436
|
class: "ui-color-picker-contrast-svg"
|
|
2437
2437
|
};
|
|
2438
2438
|
const _hoisted_21$a = ["cx", "fill"];
|
|
2439
|
-
const _hoisted_22$
|
|
2439
|
+
const _hoisted_22$6 = { class: "ui-color-picker-inputs" };
|
|
2440
2440
|
const _hoisted_23$5 = {
|
|
2441
2441
|
key: 0,
|
|
2442
2442
|
class: "ui-color-picker-input-row"
|
|
@@ -4295,7 +4295,7 @@ const _sfc_main$A = /* @__PURE__ */ defineComponent({
|
|
|
4295
4295
|
style: normalizeStyle({ left: `${alpha.value * 100}%` })
|
|
4296
4296
|
}, null, 4)
|
|
4297
4297
|
], 544)) : createCommentVNode("", true),
|
|
4298
|
-
createElementVNode("div", _hoisted_22$
|
|
4298
|
+
createElementVNode("div", _hoisted_22$6, [
|
|
4299
4299
|
currentColorFormat.value === "hex" ? (openBlock(), createElementBlock("div", _hoisted_23$5, [
|
|
4300
4300
|
createElementVNode("div", _hoisted_24$5, [
|
|
4301
4301
|
_cache[24] || (_cache[24] = createElementVNode("label", { class: "ui-color-picker-label" }, "Hex", -1)),
|
|
@@ -4897,7 +4897,7 @@ const _hoisted_21$9 = {
|
|
|
4897
4897
|
key: 0,
|
|
4898
4898
|
class: "ui-table-empty"
|
|
4899
4899
|
};
|
|
4900
|
-
const _hoisted_22$
|
|
4900
|
+
const _hoisted_22$5 = {
|
|
4901
4901
|
key: 1,
|
|
4902
4902
|
class: "ui-table-footer"
|
|
4903
4903
|
};
|
|
@@ -5453,7 +5453,7 @@ const _sfc_main$x = /* @__PURE__ */ defineComponent({
|
|
|
5453
5453
|
], true)
|
|
5454
5454
|
])) : createCommentVNode("", true)
|
|
5455
5455
|
]),
|
|
5456
|
-
hasFooterSlots.value ? (openBlock(), createElementBlock("div", _hoisted_22$
|
|
5456
|
+
hasFooterSlots.value ? (openBlock(), createElementBlock("div", _hoisted_22$5, [
|
|
5457
5457
|
(openBlock(true), createElementBlock(Fragment, null, renderList(internalColumns.value, (column, index) => {
|
|
5458
5458
|
return openBlock(), createElementBlock("div", {
|
|
5459
5459
|
key: `footer-${index}`,
|
|
@@ -5702,12 +5702,7 @@ function useDarkMode() {
|
|
|
5702
5702
|
mediaQuery.addListener(handleSystemThemeChange);
|
|
5703
5703
|
}
|
|
5704
5704
|
const storedTheme = getStoredTheme();
|
|
5705
|
-
|
|
5706
|
-
currentTheme.value = "light";
|
|
5707
|
-
setStoredTheme("light");
|
|
5708
|
-
} else {
|
|
5709
|
-
currentTheme.value = storedTheme;
|
|
5710
|
-
}
|
|
5705
|
+
currentTheme.value = storedTheme;
|
|
5711
5706
|
applyTheme(isDark.value);
|
|
5712
5707
|
watch(isDark, (newIsDark) => {
|
|
5713
5708
|
applyTheme(newIsDark);
|
|
@@ -5868,7 +5863,7 @@ const _sfc_main$v = /* @__PURE__ */ defineComponent({
|
|
|
5868
5863
|
_ctx.variant === "button" ? (openBlock(), createBlock(StrandsUiButton, {
|
|
5869
5864
|
key: 0,
|
|
5870
5865
|
icon: !_ctx.includeLabel,
|
|
5871
|
-
squircle:
|
|
5866
|
+
squircle: "",
|
|
5872
5867
|
variant: "ghost",
|
|
5873
5868
|
size: _ctx.size,
|
|
5874
5869
|
disabled: isDisabled.value,
|
|
@@ -5986,7 +5981,7 @@ const _sfc_main$v = /* @__PURE__ */ defineComponent({
|
|
|
5986
5981
|
};
|
|
5987
5982
|
}
|
|
5988
5983
|
});
|
|
5989
|
-
const UiThemeToggle = /* @__PURE__ */ _export_sfc(_sfc_main$v, [["__scopeId", "data-v-
|
|
5984
|
+
const UiThemeToggle = /* @__PURE__ */ _export_sfc(_sfc_main$v, [["__scopeId", "data-v-1edc8bae"]]);
|
|
5990
5985
|
const _hoisted_1$s = {
|
|
5991
5986
|
key: 0,
|
|
5992
5987
|
class: "slider-header"
|
|
@@ -7010,7 +7005,7 @@ const _hoisted_18$a = {
|
|
|
7010
7005
|
const _hoisted_19$9 = { class: "mfa-hardware-prompt" };
|
|
7011
7006
|
const _hoisted_20$7 = { class: "mfa-hardware-prompt-content" };
|
|
7012
7007
|
const _hoisted_21$7 = { class: "mfa-hardware-prompt-icon" };
|
|
7013
|
-
const _hoisted_22$
|
|
7008
|
+
const _hoisted_22$4 = { class: "mfa-hardware-prompt-text" };
|
|
7014
7009
|
const _hoisted_23$4 = { class: "mfa-hardware-prompt-title" };
|
|
7015
7010
|
const _hoisted_24$4 = { class: "mfa-hardware-prompt-description" };
|
|
7016
7011
|
const _hoisted_25$4 = { class: "mfa-backup-option" };
|
|
@@ -7514,7 +7509,7 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
|
|
|
7514
7509
|
class: "mfa-hardware-icon-svg"
|
|
7515
7510
|
}))
|
|
7516
7511
|
]),
|
|
7517
|
-
createElementVNode("div", _hoisted_22$
|
|
7512
|
+
createElementVNode("div", _hoisted_22$4, [
|
|
7518
7513
|
createElementVNode("h4", _hoisted_23$4, toDisplayString(selectedMethod.value.device_type === "passkey" ? "Use your passkey" : "Touch your hardware key"), 1),
|
|
7519
7514
|
createElementVNode("p", _hoisted_24$4, toDisplayString(selectedMethod.value.device_type === "passkey" ? "Use biometrics, PIN, or device security to authenticate" : "Insert and touch your hardware key to authenticate"), 1)
|
|
7520
7515
|
])
|
|
@@ -8943,7 +8938,7 @@ const _hoisted_19$6 = {
|
|
|
8943
8938
|
};
|
|
8944
8939
|
const _hoisted_20$5 = { class: "oauth-icon-fallback-text" };
|
|
8945
8940
|
const _hoisted_21$5 = { class: "oauth-button-text" };
|
|
8946
|
-
const _hoisted_22$
|
|
8941
|
+
const _hoisted_22$3 = {
|
|
8947
8942
|
key: 1,
|
|
8948
8943
|
class: "divider-with-text"
|
|
8949
8944
|
};
|
|
@@ -9170,7 +9165,7 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
|
|
|
9170
9165
|
}, 1032, ["disabled", "onClick"]);
|
|
9171
9166
|
}), 128))
|
|
9172
9167
|
])) : createCommentVNode("", true),
|
|
9173
|
-
unref(enabledProviders)?.length ? (openBlock(), createElementBlock("div", _hoisted_22$
|
|
9168
|
+
unref(enabledProviders)?.length ? (openBlock(), createElementBlock("div", _hoisted_22$3, [..._cache[8] || (_cache[8] = [
|
|
9174
9169
|
createElementVNode("span", { class: "divider-text" }, "Or create account with email", -1)
|
|
9175
9170
|
])])) : createCommentVNode("", true),
|
|
9176
9171
|
createElementVNode("form", {
|
|
@@ -11247,7 +11242,7 @@ const _hoisted_18$4 = { class: "mfa-device-option" };
|
|
|
11247
11242
|
const _hoisted_19$3 = { class: "mfa-device-option-content" };
|
|
11248
11243
|
const _hoisted_20$3 = { class: "mfa-device-option-icon" };
|
|
11249
11244
|
const _hoisted_21$3 = { class: "mfa-device-option" };
|
|
11250
|
-
const _hoisted_22$
|
|
11245
|
+
const _hoisted_22$2 = { class: "mfa-device-option-content" };
|
|
11251
11246
|
const _hoisted_23$2 = { class: "mfa-device-option-icon" };
|
|
11252
11247
|
const _hoisted_24$2 = {
|
|
11253
11248
|
key: 1,
|
|
@@ -11557,7 +11552,7 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
|
|
|
11557
11552
|
})
|
|
11558
11553
|
]),
|
|
11559
11554
|
createElementVNode("div", _hoisted_21$3, [
|
|
11560
|
-
createElementVNode("div", _hoisted_22$
|
|
11555
|
+
createElementVNode("div", _hoisted_22$2, [
|
|
11561
11556
|
createElementVNode("div", _hoisted_23$2, [
|
|
11562
11557
|
createVNode(Fingerprint, { size: 24 })
|
|
11563
11558
|
]),
|
|
@@ -11996,7 +11991,7 @@ const _hoisted_18$3 = {
|
|
|
11996
11991
|
const _hoisted_19$2 = { class: "session-details" };
|
|
11997
11992
|
const _hoisted_20$2 = { class: "detail-row" };
|
|
11998
11993
|
const _hoisted_21$2 = { class: "detail-icon" };
|
|
11999
|
-
const _hoisted_22$
|
|
11994
|
+
const _hoisted_22$1 = { class: "detail-text" };
|
|
12000
11995
|
const _hoisted_23$1 = { class: "detail-row" };
|
|
12001
11996
|
const _hoisted_24$1 = { class: "detail-icon" };
|
|
12002
11997
|
const _hoisted_25$1 = { class: "detail-text" };
|
|
@@ -12290,7 +12285,7 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
|
|
|
12290
12285
|
createElementVNode("span", _hoisted_21$2, [
|
|
12291
12286
|
createVNode(Monitor2, { size: 14 })
|
|
12292
12287
|
]),
|
|
12293
|
-
createElementVNode("span", _hoisted_22$
|
|
12288
|
+
createElementVNode("span", _hoisted_22$1, toDisplayString(session.user_agent || "Unknown device"), 1)
|
|
12294
12289
|
]),
|
|
12295
12290
|
createElementVNode("div", _hoisted_23$1, [
|
|
12296
12291
|
createElementVNode("span", _hoisted_24$1, [
|
|
@@ -12378,7 +12373,7 @@ const _hoisted_20$1 = {
|
|
|
12378
12373
|
class: "profile-change-form"
|
|
12379
12374
|
};
|
|
12380
12375
|
const _hoisted_21$1 = { class: "profile-password-section" };
|
|
12381
|
-
const _hoisted_22
|
|
12376
|
+
const _hoisted_22 = { class: "profile-field-section" };
|
|
12382
12377
|
const _hoisted_23 = { class: "profile-field-header" };
|
|
12383
12378
|
const _hoisted_24 = { class: "profile-field-subtitle" };
|
|
12384
12379
|
const _hoisted_25 = {
|
|
@@ -13287,7 +13282,7 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
|
|
|
13287
13282
|
]),
|
|
13288
13283
|
createElementVNode("div", _hoisted_21$1, [
|
|
13289
13284
|
_cache[23] || (_cache[23] = createElementVNode("h3", { class: "profile-section-title" }, "Security Settings", -1)),
|
|
13290
|
-
createElementVNode("div", _hoisted_22
|
|
13285
|
+
createElementVNode("div", _hoisted_22, [
|
|
13291
13286
|
createElementVNode("div", _hoisted_23, [
|
|
13292
13287
|
createElementVNode("div", null, [
|
|
13293
13288
|
_cache[18] || (_cache[18] = createElementVNode("h4", { class: "profile-field-title" }, "Password", -1)),
|
|
@@ -13947,58 +13942,45 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
|
13947
13942
|
};
|
|
13948
13943
|
}
|
|
13949
13944
|
});
|
|
13950
|
-
const _hoisted_1$3 =
|
|
13951
|
-
|
|
13952
|
-
|
|
13953
|
-
};
|
|
13954
|
-
const _hoisted_2$2 = ["src", "alt", "width", "height"];
|
|
13955
|
-
const _hoisted_3$2 = {
|
|
13956
|
-
key: 1,
|
|
13957
|
-
class: "mini-profile-avatar-default"
|
|
13958
|
-
};
|
|
13945
|
+
const _hoisted_1$3 = ["onKeydown", "aria-expanded"];
|
|
13946
|
+
const _hoisted_2$2 = { class: "mini-profile-avatar-container" };
|
|
13947
|
+
const _hoisted_3$2 = ["src", "alt", "width", "height"];
|
|
13959
13948
|
const _hoisted_4$2 = {
|
|
13960
13949
|
key: 1,
|
|
13961
|
-
class: "avatar-
|
|
13950
|
+
class: "mini-profile-avatar-default"
|
|
13962
13951
|
};
|
|
13963
|
-
const _hoisted_5$1 =
|
|
13964
|
-
const _hoisted_6$1 = {
|
|
13952
|
+
const _hoisted_5$1 = { class: "mini-profile-content" };
|
|
13953
|
+
const _hoisted_6$1 = { class: "mini-profile-name" };
|
|
13954
|
+
const _hoisted_7$1 = { class: "mini-profile-email" };
|
|
13955
|
+
const _hoisted_8$1 = ["src", "alt", "width", "height"];
|
|
13956
|
+
const _hoisted_9$1 = {
|
|
13965
13957
|
key: 1,
|
|
13966
13958
|
class: "avatar-default"
|
|
13967
13959
|
};
|
|
13968
|
-
const
|
|
13969
|
-
|
|
13970
|
-
|
|
13971
|
-
|
|
13972
|
-
const _hoisted_8$1 = { class: "mini-profile-name" };
|
|
13973
|
-
const _hoisted_9$1 = { class: "mini-profile-email" };
|
|
13974
|
-
const _hoisted_10$1 = {
|
|
13975
|
-
key: 1,
|
|
13976
|
-
class: "user-info"
|
|
13977
|
-
};
|
|
13978
|
-
const _hoisted_11$1 = { class: "user-name" };
|
|
13979
|
-
const _hoisted_12$1 = ["onKeydown"];
|
|
13980
|
-
const _hoisted_13$1 = { class: "dropdown-content" };
|
|
13981
|
-
const _hoisted_14$1 = {
|
|
13960
|
+
const _hoisted_10$1 = { key: 0 };
|
|
13961
|
+
const _hoisted_11$1 = ["onKeydown"];
|
|
13962
|
+
const _hoisted_12$1 = { class: "dropdown-content" };
|
|
13963
|
+
const _hoisted_13$1 = {
|
|
13982
13964
|
key: 0,
|
|
13983
13965
|
class: "dropdown-header"
|
|
13984
13966
|
};
|
|
13985
|
-
const
|
|
13967
|
+
const _hoisted_14$1 = {
|
|
13986
13968
|
key: 0,
|
|
13987
13969
|
class: "dropdown-avatar-container"
|
|
13988
13970
|
};
|
|
13989
|
-
const
|
|
13990
|
-
const
|
|
13971
|
+
const _hoisted_15$1 = ["src", "alt"];
|
|
13972
|
+
const _hoisted_16$1 = {
|
|
13991
13973
|
key: 1,
|
|
13992
13974
|
class: "dropdown-avatar-default"
|
|
13993
13975
|
};
|
|
13994
|
-
const
|
|
13995
|
-
const
|
|
13996
|
-
const
|
|
13997
|
-
const
|
|
13976
|
+
const _hoisted_17$1 = { class: "dropdown-user-details" };
|
|
13977
|
+
const _hoisted_18$1 = { class: "dropdown-user-name" };
|
|
13978
|
+
const _hoisted_19 = { class: "dropdown-user-email" };
|
|
13979
|
+
const _hoisted_20 = {
|
|
13998
13980
|
key: 1,
|
|
13999
13981
|
class: "dropdown-divider"
|
|
14000
13982
|
};
|
|
14001
|
-
const
|
|
13983
|
+
const _hoisted_21 = { class: "sign-in-auth-wrapper" };
|
|
14002
13984
|
const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
14003
13985
|
__name: "StrandsUserButton",
|
|
14004
13986
|
props: {
|
|
@@ -14008,7 +13990,8 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
14008
13990
|
redirectUrl: { default: "/" },
|
|
14009
13991
|
user: { default: void 0 },
|
|
14010
13992
|
menuAlign: { default: "right" },
|
|
14011
|
-
menuVerticalAlign: { default: "bottom" }
|
|
13993
|
+
menuVerticalAlign: { default: "bottom" },
|
|
13994
|
+
fullWidth: { type: Boolean, default: false }
|
|
14012
13995
|
},
|
|
14013
13996
|
emits: ["profile-updated", "signed-out", "signed-in"],
|
|
14014
13997
|
setup(__props, { emit: __emit }) {
|
|
@@ -14021,10 +14004,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
14021
14004
|
const containerRef = ref();
|
|
14022
14005
|
const triggerRef = ref();
|
|
14023
14006
|
const dropdownRef = ref();
|
|
14024
|
-
const triggerElement = computed(() =>
|
|
14025
|
-
const element = triggerRef.value?.$el;
|
|
14026
|
-
return element;
|
|
14027
|
-
});
|
|
14007
|
+
const triggerElement = computed(() => triggerRef.value);
|
|
14028
14008
|
const { floatingStyle, updatePosition } = useFloatingPosition({
|
|
14029
14009
|
trigger: triggerElement,
|
|
14030
14010
|
floating: dropdownRef,
|
|
@@ -14039,6 +14019,18 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
14039
14019
|
}
|
|
14040
14020
|
});
|
|
14041
14021
|
const avatarSize = computed(() => {
|
|
14022
|
+
if (props.variant === "mini-profile") {
|
|
14023
|
+
switch (props.size) {
|
|
14024
|
+
case "sm":
|
|
14025
|
+
return 32;
|
|
14026
|
+
case "md":
|
|
14027
|
+
return 44;
|
|
14028
|
+
case "lg":
|
|
14029
|
+
return 56;
|
|
14030
|
+
default:
|
|
14031
|
+
return 44;
|
|
14032
|
+
}
|
|
14033
|
+
}
|
|
14042
14034
|
switch (props.size) {
|
|
14043
14035
|
case "sm":
|
|
14044
14036
|
return 24;
|
|
@@ -14142,7 +14134,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
14142
14134
|
onClick: openSignIn,
|
|
14143
14135
|
"aria-label": "Sign in"
|
|
14144
14136
|
}, {
|
|
14145
|
-
"leading-icon": withCtx(() => [..._cache[
|
|
14137
|
+
"leading-icon": withCtx(() => [..._cache[9] || (_cache[9] = [
|
|
14146
14138
|
createElementVNode("svg", {
|
|
14147
14139
|
class: "sign-in-icon",
|
|
14148
14140
|
fill: "none",
|
|
@@ -14158,7 +14150,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
14158
14150
|
], -1)
|
|
14159
14151
|
])]),
|
|
14160
14152
|
default: withCtx(() => [
|
|
14161
|
-
_cache[
|
|
14153
|
+
_cache[10] || (_cache[10] = createTextVNode(" Sign In ", -1))
|
|
14162
14154
|
]),
|
|
14163
14155
|
_: 1
|
|
14164
14156
|
}),
|
|
@@ -14168,7 +14160,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
14168
14160
|
"fullscreen-on-mobile": false
|
|
14169
14161
|
}, {
|
|
14170
14162
|
default: withCtx(() => [
|
|
14171
|
-
createElementVNode("div",
|
|
14163
|
+
createElementVNode("div", _hoisted_21, [
|
|
14172
14164
|
createVNode(unref(StrandsAuth), {
|
|
14173
14165
|
onSignedIn: handleSignedIn,
|
|
14174
14166
|
onError: handleSignInError,
|
|
@@ -14187,13 +14179,82 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
14187
14179
|
})
|
|
14188
14180
|
]),
|
|
14189
14181
|
default: withCtx(() => [
|
|
14190
|
-
|
|
14191
|
-
|
|
14182
|
+
_ctx.variant === "mini-profile" ? (openBlock(), createElementBlock("div", {
|
|
14183
|
+
key: 0,
|
|
14184
|
+
ref_key: "triggerRef",
|
|
14185
|
+
ref: triggerRef,
|
|
14186
|
+
class: normalizeClass(["mini-profile-static-card", `user-button-size-${_ctx.size}`, { "mini-profile-active": showDropdown.value, "full-width": _ctx.fullWidth }]),
|
|
14187
|
+
onClick: toggleDropdown,
|
|
14188
|
+
onKeydown: [
|
|
14189
|
+
withKeys(toggleDropdown, ["enter"]),
|
|
14190
|
+
withKeys(withModifiers(toggleDropdown, ["prevent"]), ["space"]),
|
|
14191
|
+
withKeys(closeDropdown, ["escape"]),
|
|
14192
|
+
withKeys(withModifiers(openDropdown, ["prevent"]), ["arrow-down"])
|
|
14193
|
+
],
|
|
14194
|
+
role: "button",
|
|
14195
|
+
tabindex: "0",
|
|
14196
|
+
"aria-haspopup": "true",
|
|
14197
|
+
"aria-expanded": showDropdown.value,
|
|
14198
|
+
"aria-label": "User menu"
|
|
14199
|
+
}, [
|
|
14200
|
+
createElementVNode("div", _hoisted_2$2, [
|
|
14201
|
+
createVNode(unref(UiLevelProgress), {
|
|
14202
|
+
size: avatarSizeWithProgress.value,
|
|
14203
|
+
value: user.value?.xp || 0,
|
|
14204
|
+
max: user.value?.next_level_xp || 100,
|
|
14205
|
+
level: user.value?.level || 1,
|
|
14206
|
+
"level-label": `LEVEL ${user.value?.level || 1}`,
|
|
14207
|
+
"user-settings": user.value?.settings,
|
|
14208
|
+
class: "mini-profile-level-progress"
|
|
14209
|
+
}, null, 8, ["size", "value", "max", "level", "level-label", "user-settings"]),
|
|
14210
|
+
user.value?.avatar ? (openBlock(), createElementBlock("img", {
|
|
14211
|
+
key: 0,
|
|
14212
|
+
src: user.value.avatar,
|
|
14213
|
+
alt: `${user.value?.firstName || user.value?.email}'s avatar`,
|
|
14214
|
+
class: "mini-profile-avatar-image",
|
|
14215
|
+
width: avatarSize.value,
|
|
14216
|
+
height: avatarSize.value,
|
|
14217
|
+
loading: "eager"
|
|
14218
|
+
}, null, 8, _hoisted_3$2)) : (openBlock(), createElementBlock("div", _hoisted_4$2, [..._cache[2] || (_cache[2] = [
|
|
14219
|
+
createElementVNode("svg", {
|
|
14220
|
+
class: "mini-profile-avatar-icon",
|
|
14221
|
+
fill: "currentColor",
|
|
14222
|
+
viewBox: "0 0 20 20"
|
|
14223
|
+
}, [
|
|
14224
|
+
createElementVNode("path", {
|
|
14225
|
+
"fill-rule": "evenodd",
|
|
14226
|
+
d: "M10 9a3 3 0 100-6 3 3 0 000 6zm-7 9a7 7 0 1114 0H3z",
|
|
14227
|
+
"clip-rule": "evenodd"
|
|
14228
|
+
})
|
|
14229
|
+
], -1)
|
|
14230
|
+
])]))
|
|
14231
|
+
]),
|
|
14232
|
+
createElementVNode("div", _hoisted_5$1, [
|
|
14233
|
+
createElementVNode("div", _hoisted_6$1, toDisplayString(displayName.value), 1),
|
|
14234
|
+
createElementVNode("div", _hoisted_7$1, toDisplayString(user.value?.email), 1)
|
|
14235
|
+
]),
|
|
14236
|
+
(openBlock(), createElementBlock("svg", {
|
|
14237
|
+
class: normalizeClass(["mini-profile-dropdown-arrow", { "dropdown-arrow-open": showDropdown.value }]),
|
|
14238
|
+
fill: "none",
|
|
14239
|
+
stroke: "currentColor",
|
|
14240
|
+
viewBox: "0 0 24 24"
|
|
14241
|
+
}, [..._cache[3] || (_cache[3] = [
|
|
14242
|
+
createElementVNode("path", {
|
|
14243
|
+
"stroke-linecap": "round",
|
|
14244
|
+
"stroke-linejoin": "round",
|
|
14245
|
+
"stroke-width": "2",
|
|
14246
|
+
d: "M19 9l-7 7-7-7"
|
|
14247
|
+
}, null, -1)
|
|
14248
|
+
])], 2))
|
|
14249
|
+
], 42, _hoisted_1$3)) : (openBlock(), createElementBlock("div", {
|
|
14250
|
+
key: 1,
|
|
14251
|
+
ref_key: "triggerRef",
|
|
14252
|
+
ref: triggerRef,
|
|
14253
|
+
class: normalizeClass(["user-button-wrapper", { "full-width": _ctx.fullWidth }])
|
|
14192
14254
|
}, [
|
|
14193
14255
|
createVNode(unref(CompoundUiButton), {
|
|
14194
|
-
ref_key: "triggerRef",
|
|
14195
|
-
ref: triggerRef,
|
|
14196
14256
|
color: "secondary",
|
|
14257
|
+
size: _ctx.size,
|
|
14197
14258
|
active: showDropdown.value,
|
|
14198
14259
|
onClick: toggleDropdown,
|
|
14199
14260
|
onKeydown: [
|
|
@@ -14207,60 +14268,27 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
14207
14268
|
"aria-label": "User menu"
|
|
14208
14269
|
}, {
|
|
14209
14270
|
"leading-icon": withCtx(() => [
|
|
14210
|
-
|
|
14211
|
-
|
|
14212
|
-
|
|
14213
|
-
|
|
14214
|
-
|
|
14215
|
-
|
|
14216
|
-
|
|
14217
|
-
|
|
14218
|
-
|
|
14219
|
-
|
|
14220
|
-
|
|
14221
|
-
|
|
14222
|
-
|
|
14223
|
-
|
|
14224
|
-
|
|
14225
|
-
|
|
14226
|
-
|
|
14227
|
-
|
|
14228
|
-
|
|
14229
|
-
|
|
14230
|
-
|
|
14231
|
-
fill: "currentColor",
|
|
14232
|
-
viewBox: "0 0 20 20"
|
|
14233
|
-
}, [
|
|
14234
|
-
createElementVNode("path", {
|
|
14235
|
-
"fill-rule": "evenodd",
|
|
14236
|
-
d: "M10 9a3 3 0 100-6 3 3 0 000 6zm-7 9a7 7 0 1114 0H3z",
|
|
14237
|
-
"clip-rule": "evenodd"
|
|
14238
|
-
})
|
|
14239
|
-
], -1)
|
|
14240
|
-
])]))
|
|
14241
|
-
])) : (openBlock(), createElementBlock("div", _hoisted_4$2, [
|
|
14242
|
-
user.value?.avatar ? (openBlock(), createElementBlock("img", {
|
|
14243
|
-
key: 0,
|
|
14244
|
-
src: user.value.avatar,
|
|
14245
|
-
alt: `${user.value?.firstName || user.value?.email}'s avatar`,
|
|
14246
|
-
class: "avatar-image",
|
|
14247
|
-
width: avatarSize.value,
|
|
14248
|
-
height: avatarSize.value,
|
|
14249
|
-
loading: "eager"
|
|
14250
|
-
}, null, 8, _hoisted_5$1)) : (openBlock(), createElementBlock("div", _hoisted_6$1, [..._cache[3] || (_cache[3] = [
|
|
14251
|
-
createElementVNode("svg", {
|
|
14252
|
-
class: "avatar-icon",
|
|
14253
|
-
fill: "currentColor",
|
|
14254
|
-
viewBox: "0 0 20 20"
|
|
14255
|
-
}, [
|
|
14256
|
-
createElementVNode("path", {
|
|
14257
|
-
"fill-rule": "evenodd",
|
|
14258
|
-
d: "M10 9a3 3 0 100-6 3 3 0 000 6zm-7 9a7 7 0 1114 0H3z",
|
|
14259
|
-
"clip-rule": "evenodd"
|
|
14260
|
-
})
|
|
14261
|
-
], -1)
|
|
14262
|
-
])]))
|
|
14263
|
-
]))
|
|
14271
|
+
user.value?.avatar ? (openBlock(), createElementBlock("img", {
|
|
14272
|
+
key: 0,
|
|
14273
|
+
src: user.value.avatar,
|
|
14274
|
+
alt: `${user.value?.firstName || user.value?.email}'s avatar`,
|
|
14275
|
+
class: "avatar-image",
|
|
14276
|
+
width: avatarSize.value,
|
|
14277
|
+
height: avatarSize.value,
|
|
14278
|
+
loading: "eager"
|
|
14279
|
+
}, null, 8, _hoisted_8$1)) : (openBlock(), createElementBlock("div", _hoisted_9$1, [..._cache[4] || (_cache[4] = [
|
|
14280
|
+
createElementVNode("svg", {
|
|
14281
|
+
class: "avatar-icon",
|
|
14282
|
+
fill: "currentColor",
|
|
14283
|
+
viewBox: "0 0 20 20"
|
|
14284
|
+
}, [
|
|
14285
|
+
createElementVNode("path", {
|
|
14286
|
+
"fill-rule": "evenodd",
|
|
14287
|
+
d: "M10 9a3 3 0 100-6 3 3 0 000 6zm-7 9a7 7 0 1114 0H3z",
|
|
14288
|
+
"clip-rule": "evenodd"
|
|
14289
|
+
})
|
|
14290
|
+
], -1)
|
|
14291
|
+
])]))
|
|
14264
14292
|
]),
|
|
14265
14293
|
"trailing-icon": withCtx(() => [
|
|
14266
14294
|
(openBlock(), createElementBlock("svg", {
|
|
@@ -14268,7 +14296,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
14268
14296
|
fill: "none",
|
|
14269
14297
|
stroke: "currentColor",
|
|
14270
14298
|
viewBox: "0 0 24 24"
|
|
14271
|
-
}, [..._cache[
|
|
14299
|
+
}, [..._cache[5] || (_cache[5] = [
|
|
14272
14300
|
createElementVNode("path", {
|
|
14273
14301
|
"stroke-linecap": "round",
|
|
14274
14302
|
"stroke-linejoin": "round",
|
|
@@ -14278,16 +14306,11 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
14278
14306
|
])], 2))
|
|
14279
14307
|
]),
|
|
14280
14308
|
default: withCtx(() => [
|
|
14281
|
-
_ctx.
|
|
14282
|
-
createElementVNode("div", _hoisted_8$1, toDisplayString(displayName.value), 1),
|
|
14283
|
-
createElementVNode("div", _hoisted_9$1, toDisplayString(user.value?.email), 1)
|
|
14284
|
-
])) : !_ctx.hideUser ? (openBlock(), createElementBlock("div", _hoisted_10$1, [
|
|
14285
|
-
createElementVNode("div", _hoisted_11$1, toDisplayString(displayName.value), 1)
|
|
14286
|
-
])) : createCommentVNode("", true)
|
|
14309
|
+
!_ctx.hideUser ? (openBlock(), createElementBlock("span", _hoisted_10$1, toDisplayString(displayName.value), 1)) : createCommentVNode("", true)
|
|
14287
14310
|
]),
|
|
14288
14311
|
_: 1
|
|
14289
|
-
}, 8, ["active", "onKeydown", "aria-expanded"])
|
|
14290
|
-
], 2),
|
|
14312
|
+
}, 8, ["size", "active", "onKeydown", "aria-expanded"])
|
|
14313
|
+
], 2)),
|
|
14291
14314
|
(openBlock(), createBlock(Teleport, { to: "body" }, [
|
|
14292
14315
|
showDropdown.value ? (openBlock(), createElementBlock("div", {
|
|
14293
14316
|
key: 0,
|
|
@@ -14305,9 +14328,9 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
14305
14328
|
withKeys(withModifiers(focusLast, ["prevent"]), ["end"])
|
|
14306
14329
|
]
|
|
14307
14330
|
}, [
|
|
14308
|
-
createElementVNode("div",
|
|
14309
|
-
_ctx.variant !== "mini-profile" ? (openBlock(), createElementBlock("div",
|
|
14310
|
-
user.value ? (openBlock(), createElementBlock("div",
|
|
14331
|
+
createElementVNode("div", _hoisted_12$1, [
|
|
14332
|
+
_ctx.variant !== "mini-profile" ? (openBlock(), createElementBlock("div", _hoisted_13$1, [
|
|
14333
|
+
user.value ? (openBlock(), createElementBlock("div", _hoisted_14$1, [
|
|
14311
14334
|
createVNode(unref(UiLevelProgress), {
|
|
14312
14335
|
size: 80,
|
|
14313
14336
|
value: user.value.xp,
|
|
@@ -14324,7 +14347,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
14324
14347
|
class: "dropdown-avatar-image",
|
|
14325
14348
|
width: "64",
|
|
14326
14349
|
height: "64"
|
|
14327
|
-
}, null, 8,
|
|
14350
|
+
}, null, 8, _hoisted_15$1)) : (openBlock(), createElementBlock("div", _hoisted_16$1, [..._cache[6] || (_cache[6] = [
|
|
14328
14351
|
createElementVNode("svg", {
|
|
14329
14352
|
class: "dropdown-avatar-icon",
|
|
14330
14353
|
fill: "currentColor",
|
|
@@ -14338,20 +14361,20 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
14338
14361
|
], -1)
|
|
14339
14362
|
])]))
|
|
14340
14363
|
])) : createCommentVNode("", true),
|
|
14341
|
-
createElementVNode("div",
|
|
14342
|
-
createElementVNode("div",
|
|
14343
|
-
createElementVNode("div",
|
|
14364
|
+
createElementVNode("div", _hoisted_17$1, [
|
|
14365
|
+
createElementVNode("div", _hoisted_18$1, toDisplayString(displayName.value), 1),
|
|
14366
|
+
createElementVNode("div", _hoisted_19, toDisplayString(user.value?.email), 1)
|
|
14344
14367
|
])
|
|
14345
14368
|
])) : createCommentVNode("", true),
|
|
14346
14369
|
renderSlot(_ctx.$slots, "default", {}, void 0, true),
|
|
14347
|
-
_ctx.variant !== "mini-profile" ? (openBlock(), createElementBlock("div",
|
|
14370
|
+
_ctx.variant !== "mini-profile" ? (openBlock(), createElementBlock("div", _hoisted_20)) : createCommentVNode("", true),
|
|
14348
14371
|
createVNode(unref(StrandsNav), null, {
|
|
14349
14372
|
default: withCtx(() => [
|
|
14350
14373
|
createVNode(unref(StrandsNav).Item, {
|
|
14351
14374
|
color: "secondary",
|
|
14352
14375
|
onClick: openProfile
|
|
14353
14376
|
}, {
|
|
14354
|
-
default: withCtx(() => [..._cache[
|
|
14377
|
+
default: withCtx(() => [..._cache[7] || (_cache[7] = [
|
|
14355
14378
|
createTextVNode("Profile", -1)
|
|
14356
14379
|
])]),
|
|
14357
14380
|
_: 1
|
|
@@ -14360,7 +14383,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
14360
14383
|
color: "danger",
|
|
14361
14384
|
onClick: handleSignOut
|
|
14362
14385
|
}, {
|
|
14363
|
-
default: withCtx(() => [..._cache[
|
|
14386
|
+
default: withCtx(() => [..._cache[8] || (_cache[8] = [
|
|
14364
14387
|
createTextVNode("Sign Out", -1)
|
|
14365
14388
|
])]),
|
|
14366
14389
|
_: 1
|
|
@@ -14369,7 +14392,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
14369
14392
|
_: 1
|
|
14370
14393
|
})
|
|
14371
14394
|
])
|
|
14372
|
-
], 44,
|
|
14395
|
+
], 44, _hoisted_11$1)) : createCommentVNode("", true)
|
|
14373
14396
|
])),
|
|
14374
14397
|
createVNode(unref(UiModal), {
|
|
14375
14398
|
modelValue: showProfileModal.value,
|
|
@@ -14392,7 +14415,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
14392
14415
|
};
|
|
14393
14416
|
}
|
|
14394
14417
|
});
|
|
14395
|
-
const StrandsUserButton = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["__scopeId", "data-v-
|
|
14418
|
+
const StrandsUserButton = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["__scopeId", "data-v-11f7829e"]]);
|
|
14396
14419
|
const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
14397
14420
|
__name: "StrandsNav",
|
|
14398
14421
|
props: {
|
package/dist/vite.cjs.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";function n(n={}){const{styles:s=1,accentColor:r="#EA00A8",useSquircle:t=1,...i}=n;let c;return{name:"@strands.gg/accui:vite-plugin",enforce:"pre",config:(n,{command:s})=>(c={accentColor:r,useSquircle:t,...i},{define:{t:JSON.stringify(c)}}),transformIndexHtml:{order:"pre",handler(n){if(r&&"#EA00A8"!==r){const s=`<style data-strands-accent>\n :root {\n --strands-accent: ${r};\n --accui-strands-accent: ${r};\n --accui-strands-50: color-mix(in srgb, ${r} 10%, white);\n --accui-strands-100: color-mix(in srgb, ${r} 20%, white);\n --accui-strands-200: color-mix(in srgb, ${r} 30%, white);\n --accui-strands-300: color-mix(in srgb, ${r} 40%, white);\n --accui-strands-400: color-mix(in srgb, ${r} 70%, white);\n --accui-strands-500: ${r};\n --accui-strands-600: color-mix(in srgb, ${r} 85%, black);\n --accui-strands-700: color-mix(in srgb, ${r} 70%, black);\n --accui-strands-800: color-mix(in srgb, ${r} 55%, black);\n --accui-strands-900: color-mix(in srgb, ${r} 40%, black);\n --accui-strands-950: color-mix(in srgb, ${r} 25%, black);\n }</style>`;return n.replace("</head>",` ${s}\n </head>`)}return n}},transform:async(n,r)=>(s&&r.endsWith("main.ts")||r.endsWith("main.js"))&&!n.includes("@strands.gg/accui/style.css")?{code:`import '@strands.gg/accui/style.css'\n${n}`,map:null}:!r.endsWith("main.ts")&&!r.endsWith("main.js")||n.includes("setStrandsConfig")||n.includes("__STRANDS_INJECTED__")?null:{code:`\n// Auto-injected by @strands.gg/accui Vite plugin\nimport { setStrandsConfig } from '@strands.gg/accui'\n\nif (typeof window !== 'undefined') {\n const strandsConfig = ${JSON.stringify(c)}\n setStrandsConfig(strandsConfig)\n window.__STRANDS_CONFIG__ = strandsConfig\n window.__STRANDS_INJECTED__ = true\n}\n\n${n}`,map:null}}}Object.defineProperties(exports,{i:{value:1},[Symbol.toStringTag]:{value:"Module"}}),exports.StrandsAuth=n,exports.StrandsAuthVitePlugin=n,exports.createStrandsAuth=function(n={}){return{install(s){Promise.resolve().then(()=>require("./StrandsUIPlugin-
|
|
1
|
+
"use strict";function n(n={}){const{styles:s=1,accentColor:r="#EA00A8",useSquircle:t=1,...i}=n;let c;return{name:"@strands.gg/accui:vite-plugin",enforce:"pre",config:(n,{command:s})=>(c={accentColor:r,useSquircle:t,...i},{define:{t:JSON.stringify(c)}}),transformIndexHtml:{order:"pre",handler(n){if(r&&"#EA00A8"!==r){const s=`<style data-strands-accent>\n :root {\n --strands-accent: ${r};\n --accui-strands-accent: ${r};\n --accui-strands-50: color-mix(in srgb, ${r} 10%, white);\n --accui-strands-100: color-mix(in srgb, ${r} 20%, white);\n --accui-strands-200: color-mix(in srgb, ${r} 30%, white);\n --accui-strands-300: color-mix(in srgb, ${r} 40%, white);\n --accui-strands-400: color-mix(in srgb, ${r} 70%, white);\n --accui-strands-500: ${r};\n --accui-strands-600: color-mix(in srgb, ${r} 85%, black);\n --accui-strands-700: color-mix(in srgb, ${r} 70%, black);\n --accui-strands-800: color-mix(in srgb, ${r} 55%, black);\n --accui-strands-900: color-mix(in srgb, ${r} 40%, black);\n --accui-strands-950: color-mix(in srgb, ${r} 25%, black);\n }</style>`;return n.replace("</head>",` ${s}\n </head>`)}return n}},transform:async(n,r)=>(s&&r.endsWith("main.ts")||r.endsWith("main.js"))&&!n.includes("@strands.gg/accui/style.css")?{code:`import '@strands.gg/accui/style.css'\n${n}`,map:null}:!r.endsWith("main.ts")&&!r.endsWith("main.js")||n.includes("setStrandsConfig")||n.includes("__STRANDS_INJECTED__")?null:{code:`\n// Auto-injected by @strands.gg/accui Vite plugin\nimport { setStrandsConfig } from '@strands.gg/accui'\n\nif (typeof window !== 'undefined') {\n const strandsConfig = ${JSON.stringify(c)}\n setStrandsConfig(strandsConfig)\n window.__STRANDS_CONFIG__ = strandsConfig\n window.__STRANDS_INJECTED__ = true\n}\n\n${n}`,map:null}}}Object.defineProperties(exports,{i:{value:1},[Symbol.toStringTag]:{value:"Module"}}),exports.StrandsAuth=n,exports.StrandsAuthVitePlugin=n,exports.createStrandsAuth=function(n={}){return{install(s){Promise.resolve().then(()=>require("./StrandsUIPlugin-Dl-CMqkQ.cjs.js")).then(n=>n.StrandsUIPlugin$1).then(n=>{const r=n.default;s.use(r)}),Promise.resolve().then(()=>require("./useStrandsConfig-Sr6NG90B.cjs.js")).then(n=>n.useStrandsConfig$1).then(s=>{const{setStrandsConfig:r}=s;r(n),"undefined"!=typeof window&&(window.t=n)})}}},exports.default=n,exports.strandsAuth=n;
|
package/dist/vite.es.js
CHANGED
|
@@ -86,7 +86,7 @@ ${code}`,
|
|
|
86
86
|
function createStrandsAuth(config = {}) {
|
|
87
87
|
return {
|
|
88
88
|
install(app) {
|
|
89
|
-
import("./StrandsUIPlugin-
|
|
89
|
+
import("./StrandsUIPlugin-CE4-QxEo.es.js").then((n) => n.n).then((module) => {
|
|
90
90
|
const StrandsUIPlugin = module.default;
|
|
91
91
|
app.use(StrandsUIPlugin);
|
|
92
92
|
});
|