@strands.gg/accui 2.17.15 → 2.17.16
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/accui.css +1 -1
- package/dist/index.cjs.js +1 -1
- package/dist/index.es.js +3 -5
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -10376,9 +10376,7 @@ const ti = {
|
|
|
10376
10376
|
},
|
|
10377
10377
|
emits: ["sign-in-required"],
|
|
10378
10378
|
setup(s, { emit: r }) {
|
|
10379
|
-
const t = r, { isAuthenticated: l, isInitializing: z, user: V, signOut: C,
|
|
10380
|
-
typeof window < "u" && w();
|
|
10381
|
-
const c = H(() => z.value), h = H(() => !c.value && l.value), x = H(() => !c.value && !l.value), $ = () => {
|
|
10379
|
+
const t = r, { isAuthenticated: l, isInitializing: z, user: V, signOut: C } = ft(), w = typeof window < "u", c = H(() => !w || z.value), h = H(() => !c.value && l.value), x = H(() => !c.value && !l.value), $ = () => {
|
|
10382
10380
|
t("sign-in-required");
|
|
10383
10381
|
};
|
|
10384
10382
|
return (u, m) => h.value ? (a(), o("div", {
|
|
@@ -10392,7 +10390,7 @@ const ti = {
|
|
|
10392
10390
|
], 2)) : x.value && s.showFallback ? (a(), o("div", X0, [
|
|
10393
10391
|
Pe(u.$slots, "fallback", { signIn: $ }, () => [
|
|
10394
10392
|
e("div", { class: "signed-in-fallback" }, [
|
|
10395
|
-
m[0] || (m[0] = Qt('<div class="signed-in-icon-container" data-v-
|
|
10393
|
+
m[0] || (m[0] = Qt('<div class="signed-in-icon-container" data-v-0094f02a><svg class="signed-in-icon" fill="none" stroke="currentColor" viewBox="0 0 24 24" data-v-0094f02a><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M12 15v2m-6 4h12a2 2 0 002-2v-6a2 2 0 00-2-2H6a2 2 0 00-2 2v6a2 2 0 002 2zm10-10V7a4 4 0 00-8 0v4h8z" data-v-0094f02a></path></svg></div><h3 class="signed-in-title" data-v-0094f02a>Sign in required</h3><p class="signed-in-subtitle" data-v-0094f02a>You need to be signed in to access this content.</p>', 3)),
|
|
10396
10394
|
e("button", {
|
|
10397
10395
|
onClick: $,
|
|
10398
10396
|
class: "signed-in-button"
|
|
@@ -10409,7 +10407,7 @@ const ti = {
|
|
|
10409
10407
|
], !0)
|
|
10410
10408
|
])) : I("", !0);
|
|
10411
10409
|
}
|
|
10412
|
-
}), tc = /* @__PURE__ */ Ue(ec, [["__scopeId", "data-v-
|
|
10410
|
+
}), tc = /* @__PURE__ */ Ue(ec, [["__scopeId", "data-v-0094f02a"]]), Cu = /* @__PURE__ */ Ve({
|
|
10413
10411
|
__name: "StrandsConfigProvider",
|
|
10414
10412
|
props: {
|
|
10415
10413
|
config: {}
|