@strands.gg/accui 2.11.32 → 2.11.33
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 +69 -69
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -3,7 +3,7 @@ import { u as useStrandsConfig, p as provideStrandsConfig } from "./useStrandsCo
|
|
|
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$
|
|
6
|
+
const _hoisted_2$M = {
|
|
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$
|
|
67
|
+
isGlobalLoading.value ? (openBlock(), createElementBlock("div", _hoisted_2$M, [
|
|
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$
|
|
87
|
+
const _hoisted_2$L = { 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$
|
|
142
|
+
createElementVNode("div", _hoisted_2$L, [
|
|
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$
|
|
197
|
+
const _hoisted_2$K = ["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$
|
|
270
|
+
], 8, _hoisted_2$K))
|
|
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$
|
|
314
|
+
const _hoisted_2$J = { 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$
|
|
372
|
+
!_ctx.icon ? (openBlock(), createElementBlock("span", _hoisted_2$J, toDisplayString(_ctx.loadingText || "Loading..."), 1)) : createCommentVNode("", true)
|
|
373
373
|
])) : (openBlock(), createElementBlock("span", {
|
|
374
374
|
key: 1,
|
|
375
375
|
class: normalizeClass(["button-content", sizeClass.value])
|
|
@@ -726,8 +726,11 @@ const _sfc_main$V = /* @__PURE__ */ defineComponent({
|
|
|
726
726
|
});
|
|
727
727
|
const UiTooltip = /* @__PURE__ */ _export_sfc(_sfc_main$V, [["__scopeId", "data-v-ba66edda"]]);
|
|
728
728
|
const _hoisted_1$O = ["type", "disabled", "tabindex"];
|
|
729
|
-
const _hoisted_2$
|
|
729
|
+
const _hoisted_2$I = ["type", "disabled", "tabindex"];
|
|
730
730
|
const _sfc_main$U = /* @__PURE__ */ defineComponent({
|
|
731
|
+
...{
|
|
732
|
+
inheritAttrs: false
|
|
733
|
+
},
|
|
731
734
|
__name: "UiButton",
|
|
732
735
|
props: {
|
|
733
736
|
variant: { default: "primary" },
|
|
@@ -811,15 +814,14 @@ const _sfc_main$U = /* @__PURE__ */ defineComponent({
|
|
|
811
814
|
return (_ctx, _cache) => {
|
|
812
815
|
return _ctx.title ? (openBlock(), createBlock(UiTooltip, normalizeProps(mergeProps({ key: 0 }, tooltipProps.value)), {
|
|
813
816
|
default: withCtx(() => [
|
|
814
|
-
!_ctx.to ? (openBlock(), createElementBlock("button", {
|
|
815
|
-
key: 0,
|
|
817
|
+
!_ctx.to ? (openBlock(), createElementBlock("button", mergeProps({ key: 0 }, _ctx.$attrs, {
|
|
816
818
|
type: _ctx.type,
|
|
817
819
|
disabled: _ctx.disabled || _ctx.loading,
|
|
818
|
-
class:
|
|
819
|
-
style:
|
|
820
|
+
class: buttonClassString.value,
|
|
821
|
+
style: buttonStyles.value,
|
|
820
822
|
tabindex: effectiveTabindex.value,
|
|
821
823
|
onClick: _cache[0] || (_cache[0] = ($event) => _ctx.$emit("click", $event))
|
|
822
|
-
}, [
|
|
824
|
+
}), [
|
|
823
825
|
createVNode(UiButtonContent, {
|
|
824
826
|
loading: _ctx.loading,
|
|
825
827
|
"loading-text": _ctx.loadingText,
|
|
@@ -849,7 +851,7 @@ const _sfc_main$U = /* @__PURE__ */ defineComponent({
|
|
|
849
851
|
key: "1"
|
|
850
852
|
} : void 0
|
|
851
853
|
]), 1032, ["loading", "loading-text", "icon", "size"])
|
|
852
|
-
],
|
|
854
|
+
], 16, _hoisted_1$O)) : isNuxtAvailable.value && _ctx.to ? (openBlock(), createBlock(_sfc_main$X, {
|
|
853
855
|
key: 1,
|
|
854
856
|
to: _ctx.to,
|
|
855
857
|
disabled: _ctx.disabled,
|
|
@@ -957,15 +959,14 @@ const _sfc_main$U = /* @__PURE__ */ defineComponent({
|
|
|
957
959
|
]),
|
|
958
960
|
_: 3
|
|
959
961
|
}, 16)) : (openBlock(), createElementBlock(Fragment$1, { key: 1 }, [
|
|
960
|
-
!_ctx.to ? (openBlock(), createElementBlock("button", {
|
|
961
|
-
key: 0,
|
|
962
|
+
!_ctx.to ? (openBlock(), createElementBlock("button", mergeProps({ key: 0 }, _ctx.$attrs, {
|
|
962
963
|
type: _ctx.type,
|
|
963
964
|
disabled: _ctx.disabled || _ctx.loading,
|
|
964
|
-
class:
|
|
965
|
-
style:
|
|
965
|
+
class: buttonClassString.value,
|
|
966
|
+
style: buttonStyles.value,
|
|
966
967
|
tabindex: effectiveTabindex.value,
|
|
967
968
|
onClick: _cache[4] || (_cache[4] = ($event) => _ctx.$emit("click", $event))
|
|
968
|
-
}, [
|
|
969
|
+
}), [
|
|
969
970
|
createVNode(UiButtonContent, {
|
|
970
971
|
loading: _ctx.loading,
|
|
971
972
|
"loading-text": _ctx.loadingText,
|
|
@@ -995,7 +996,7 @@ const _sfc_main$U = /* @__PURE__ */ defineComponent({
|
|
|
995
996
|
key: "1"
|
|
996
997
|
} : void 0
|
|
997
998
|
]), 1032, ["loading", "loading-text", "icon", "size"])
|
|
998
|
-
],
|
|
999
|
+
], 16, _hoisted_2$I)) : isNuxtAvailable.value && _ctx.to ? (openBlock(), createBlock(_sfc_main$X, {
|
|
999
1000
|
key: 1,
|
|
1000
1001
|
to: _ctx.to,
|
|
1001
1002
|
disabled: _ctx.disabled,
|
|
@@ -1104,7 +1105,7 @@ const _sfc_main$U = /* @__PURE__ */ defineComponent({
|
|
|
1104
1105
|
};
|
|
1105
1106
|
}
|
|
1106
1107
|
});
|
|
1107
|
-
const StrandsUiButton = /* @__PURE__ */ _export_sfc(_sfc_main$U, [["__scopeId", "data-v-
|
|
1108
|
+
const StrandsUiButton = /* @__PURE__ */ _export_sfc(_sfc_main$U, [["__scopeId", "data-v-21489ebf"]]);
|
|
1108
1109
|
const CompoundUiButton = StrandsUiButton;
|
|
1109
1110
|
CompoundUiButton.Content = UiButtonContent;
|
|
1110
1111
|
CompoundUiButton.Anchor = _sfc_main$Y;
|
|
@@ -1114,7 +1115,7 @@ const _hoisted_1$N = {
|
|
|
1114
1115
|
key: 0,
|
|
1115
1116
|
class: "ui-card-header"
|
|
1116
1117
|
};
|
|
1117
|
-
const _hoisted_2$
|
|
1118
|
+
const _hoisted_2$H = {
|
|
1118
1119
|
key: 0,
|
|
1119
1120
|
class: "ui-card-title-wrapper"
|
|
1120
1121
|
};
|
|
@@ -1162,7 +1163,7 @@ const _sfc_main$T = /* @__PURE__ */ defineComponent({
|
|
|
1162
1163
|
_ctx.$slots["header"] || _ctx.title || _ctx.subtitle || _ctx.$slots["leading-icon"] || _ctx.$slots["trailing-icon"] ? (openBlock(), createElementBlock("div", _hoisted_1$N, [
|
|
1163
1164
|
renderSlot(_ctx.$slots, "header", {}, () => [
|
|
1164
1165
|
renderSlot(_ctx.$slots, "leading-icon", {}, void 0, true),
|
|
1165
|
-
_ctx.title || _ctx.$slots["title"] || _ctx.subtitle || _ctx.$slots["subtitle"] ? (openBlock(), createElementBlock("div", _hoisted_2$
|
|
1166
|
+
_ctx.title || _ctx.$slots["title"] || _ctx.subtitle || _ctx.$slots["subtitle"] ? (openBlock(), createElementBlock("div", _hoisted_2$H, [
|
|
1166
1167
|
_ctx.title || _ctx.$slots["title"] ? renderSlot(_ctx.$slots, "title", { key: 0 }, () => [
|
|
1167
1168
|
_ctx.title ? (openBlock(), createElementBlock("h2", _hoisted_3$F, toDisplayString(_ctx.title), 1)) : createCommentVNode("", true)
|
|
1168
1169
|
], true) : createCommentVNode("", true),
|
|
@@ -1742,7 +1743,7 @@ const _hoisted_1$M = {
|
|
|
1742
1743
|
key: 0,
|
|
1743
1744
|
class: "input-leading-icon"
|
|
1744
1745
|
};
|
|
1745
|
-
const _hoisted_2$
|
|
1746
|
+
const _hoisted_2$G = ["id", "type", "value", "placeholder", "disabled", "readonly", "required", "min", "max", "step", "autocomplete", "spellcheck", "tabindex"];
|
|
1746
1747
|
const _hoisted_3$E = {
|
|
1747
1748
|
key: 1,
|
|
1748
1749
|
class: "input-trailing-icon"
|
|
@@ -1868,7 +1869,7 @@ const _sfc_main$S = /* @__PURE__ */ defineComponent({
|
|
|
1868
1869
|
onBlur: handleBlur,
|
|
1869
1870
|
onFocus: handleFocus,
|
|
1870
1871
|
onKeydown: handleKeydown
|
|
1871
|
-
}, null, 42, _hoisted_2$
|
|
1872
|
+
}, null, 42, _hoisted_2$G),
|
|
1872
1873
|
_ctx.type === "password" ? (openBlock(), createElementBlock("div", _hoisted_3$E, [
|
|
1873
1874
|
createVNode(StrandsUiButton, {
|
|
1874
1875
|
color: showPassword.value ? "primary" : "secondary",
|
|
@@ -1913,7 +1914,7 @@ const _hoisted_1$L = {
|
|
|
1913
1914
|
key: 0,
|
|
1914
1915
|
class: "input-leading-icon"
|
|
1915
1916
|
};
|
|
1916
|
-
const _hoisted_2$
|
|
1917
|
+
const _hoisted_2$F = ["id", "value", "placeholder", "disabled", "readonly", "required", "rows", "cols", "maxlength", "autocomplete", "spellcheck"];
|
|
1917
1918
|
const _hoisted_3$D = {
|
|
1918
1919
|
key: 1,
|
|
1919
1920
|
class: "input-trailing-icon"
|
|
@@ -2011,7 +2012,7 @@ const _sfc_main$R = /* @__PURE__ */ defineComponent({
|
|
|
2011
2012
|
onBlur: handleBlur,
|
|
2012
2013
|
onFocus: handleFocus,
|
|
2013
2014
|
onKeydown: handleKeydown
|
|
2014
|
-
}, null, 42, _hoisted_2$
|
|
2015
|
+
}, null, 42, _hoisted_2$F)
|
|
2015
2016
|
], 2),
|
|
2016
2017
|
props.hasTrailingIcon ? (openBlock(), createElementBlock("div", _hoisted_3$D, [
|
|
2017
2018
|
renderSlot(_ctx.$slots, "trailing-icon", {}, void 0, true)
|
|
@@ -2206,7 +2207,7 @@ function useFloatingPosition(options) {
|
|
|
2206
2207
|
}
|
|
2207
2208
|
}
|
|
2208
2209
|
if (clickOutside?.enabled) {
|
|
2209
|
-
document.addEventListener("click", handleClickOutside);
|
|
2210
|
+
document.addEventListener("click", handleClickOutside, true);
|
|
2210
2211
|
}
|
|
2211
2212
|
};
|
|
2212
2213
|
const cleanup = () => {
|
|
@@ -2215,7 +2216,7 @@ function useFloatingPosition(options) {
|
|
|
2215
2216
|
window.removeEventListener("scroll", handleScroll, true);
|
|
2216
2217
|
}
|
|
2217
2218
|
if (clickOutside?.enabled) {
|
|
2218
|
-
document.removeEventListener("click", handleClickOutside);
|
|
2219
|
+
document.removeEventListener("click", handleClickOutside, true);
|
|
2219
2220
|
}
|
|
2220
2221
|
if (resizeObserver) {
|
|
2221
2222
|
resizeObserver.disconnect();
|
|
@@ -2238,7 +2239,7 @@ const _hoisted_1$K = {
|
|
|
2238
2239
|
key: 0,
|
|
2239
2240
|
class: "input-leading-icon"
|
|
2240
2241
|
};
|
|
2241
|
-
const _hoisted_2$
|
|
2242
|
+
const _hoisted_2$E = ["tabindex", "aria-expanded", "aria-controls", "aria-disabled"];
|
|
2242
2243
|
const _hoisted_3$C = { class: "input-select-value" };
|
|
2243
2244
|
const _hoisted_4$B = {
|
|
2244
2245
|
key: 0,
|
|
@@ -2609,7 +2610,7 @@ const _sfc_main$Q = /* @__PURE__ */ defineComponent({
|
|
|
2609
2610
|
}, [
|
|
2610
2611
|
createVNode(unref(ChevronDown))
|
|
2611
2612
|
], 2)
|
|
2612
|
-
], 42, _hoisted_2$
|
|
2613
|
+
], 42, _hoisted_2$E),
|
|
2613
2614
|
props.hasTrailingIcon ? (openBlock(), createElementBlock("div", _hoisted_6$r, [
|
|
2614
2615
|
renderSlot(_ctx.$slots, "trailing-icon", {}, void 0, true)
|
|
2615
2616
|
])) : createCommentVNode("", true)
|
|
@@ -2686,7 +2687,7 @@ const _sfc_main$Q = /* @__PURE__ */ defineComponent({
|
|
|
2686
2687
|
});
|
|
2687
2688
|
const UiInputSelect = /* @__PURE__ */ _export_sfc(_sfc_main$Q, [["__scopeId", "data-v-302debb0"]]);
|
|
2688
2689
|
const _hoisted_1$J = { class: "input-leading-icon" };
|
|
2689
|
-
const _hoisted_2$
|
|
2690
|
+
const _hoisted_2$D = ["src"];
|
|
2690
2691
|
const _hoisted_3$B = ["id", "accept", "multiple", "disabled", "required"];
|
|
2691
2692
|
const _hoisted_4$A = { class: "input-file-content" };
|
|
2692
2693
|
const _hoisted_5$v = {
|
|
@@ -2929,7 +2930,7 @@ const _sfc_main$P = /* @__PURE__ */ defineComponent({
|
|
|
2929
2930
|
src: previewImageUrl.value,
|
|
2930
2931
|
alt: "Preview",
|
|
2931
2932
|
class: "input-file-preview"
|
|
2932
|
-
}, null, 8, _hoisted_2$
|
|
2933
|
+
}, null, 8, _hoisted_2$D)) : props.hasLeadingIcon ? renderSlot(_ctx.$slots, "leading-icon", { key: 1 }, void 0, true) : (openBlock(), createBlock(unref(FileInput), { key: 2 }))
|
|
2933
2934
|
]),
|
|
2934
2935
|
createElementVNode("div", {
|
|
2935
2936
|
class: normalizeClass(["input-file-area", {
|
|
@@ -3000,7 +3001,7 @@ const _sfc_main$P = /* @__PURE__ */ defineComponent({
|
|
|
3000
3001
|
});
|
|
3001
3002
|
const UiInputFile = /* @__PURE__ */ _export_sfc(_sfc_main$P, [["__scopeId", "data-v-e1fd712d"]]);
|
|
3002
3003
|
const _hoisted_1$I = { class: "tabs-wrapper" };
|
|
3003
|
-
const _hoisted_2$
|
|
3004
|
+
const _hoisted_2$C = {
|
|
3004
3005
|
key: 0,
|
|
3005
3006
|
class: "tabs-before"
|
|
3006
3007
|
};
|
|
@@ -3346,7 +3347,7 @@ const _sfc_main$O = /* @__PURE__ */ defineComponent({
|
|
|
3346
3347
|
]]),
|
|
3347
3348
|
style: normalizeStyle(_ctx.sticky ? { position: "sticky", [_ctx.sticky.side]: `${_ctx.sticky.offset}px`, zIndex: 10 } : {})
|
|
3348
3349
|
}, [
|
|
3349
|
-
_ctx.$slots["before"] ? (openBlock(), createElementBlock("div", _hoisted_2$
|
|
3350
|
+
_ctx.$slots["before"] ? (openBlock(), createElementBlock("div", _hoisted_2$C, [
|
|
3350
3351
|
renderSlot(_ctx.$slots, "before", {}, void 0, true)
|
|
3351
3352
|
])) : createCommentVNode("", true),
|
|
3352
3353
|
createElementVNode("div", {
|
|
@@ -3469,7 +3470,7 @@ const _sfc_main$N = /* @__PURE__ */ defineComponent({
|
|
|
3469
3470
|
});
|
|
3470
3471
|
const UiDivider = /* @__PURE__ */ _export_sfc(_sfc_main$N, [["__scopeId", "data-v-1c798024"]]);
|
|
3471
3472
|
const _hoisted_1$G = { class: "datetime-picker-wrapper" };
|
|
3472
|
-
const _hoisted_2$
|
|
3473
|
+
const _hoisted_2$B = { class: "datetime-picker-leading-icon" };
|
|
3473
3474
|
const _hoisted_3$z = { class: "datetime-picker-display" };
|
|
3474
3475
|
const _hoisted_4$y = {
|
|
3475
3476
|
key: 0,
|
|
@@ -3850,7 +3851,7 @@ const _sfc_main$M = /* @__PURE__ */ defineComponent({
|
|
|
3850
3851
|
]]),
|
|
3851
3852
|
onClick: togglePicker
|
|
3852
3853
|
}, [
|
|
3853
|
-
createElementVNode("div", _hoisted_2$
|
|
3854
|
+
createElementVNode("div", _hoisted_2$B, [
|
|
3854
3855
|
_ctx.type === "date" ? (openBlock(), createBlock(unref(Calendar), { key: 0 })) : _ctx.type === "time" ? (openBlock(), createBlock(unref(Clock), { key: 1 })) : (openBlock(), createBlock(unref(CalendarClock), { key: 2 }))
|
|
3855
3856
|
]),
|
|
3856
3857
|
createElementVNode("div", _hoisted_3$z, [
|
|
@@ -25194,7 +25195,7 @@ var TextAlign = Extension.create({
|
|
|
25194
25195
|
var index_default$1 = TextAlign;
|
|
25195
25196
|
var index_default = Placeholder;
|
|
25196
25197
|
const _hoisted_1$F = { class: "input-richtext-toolbar" };
|
|
25197
|
-
const _hoisted_2$
|
|
25198
|
+
const _hoisted_2$A = { class: "input-richtext-group" };
|
|
25198
25199
|
const _hoisted_3$y = { class: "input-richtext-group" };
|
|
25199
25200
|
const _hoisted_4$x = { class: "input-richtext-group" };
|
|
25200
25201
|
const _hoisted_5$s = { class: "input-richtext-group" };
|
|
@@ -25287,7 +25288,7 @@ const _sfc_main$I = /* @__PURE__ */ defineComponent({
|
|
|
25287
25288
|
}])
|
|
25288
25289
|
}, [
|
|
25289
25290
|
createElementVNode("div", _hoisted_1$F, [
|
|
25290
|
-
createElementVNode("div", _hoisted_2$
|
|
25291
|
+
createElementVNode("div", _hoisted_2$A, [
|
|
25291
25292
|
createVNode(StrandsUiButton, {
|
|
25292
25293
|
color: unref(editor)?.isActive("bold") ? "primary" : "secondary",
|
|
25293
25294
|
size: "sm",
|
|
@@ -25569,7 +25570,7 @@ const _sfc_main$I = /* @__PURE__ */ defineComponent({
|
|
|
25569
25570
|
});
|
|
25570
25571
|
const UiInputRichText = /* @__PURE__ */ _export_sfc(_sfc_main$I, [["__scopeId", "data-v-18a35d5d"]]);
|
|
25571
25572
|
const _hoisted_1$E = { class: "pincode-inputs" };
|
|
25572
|
-
const _hoisted_2$
|
|
25573
|
+
const _hoisted_2$z = {
|
|
25573
25574
|
key: 0,
|
|
25574
25575
|
class: "pincode-icon pincode-icon-leading"
|
|
25575
25576
|
};
|
|
@@ -25769,7 +25770,7 @@ const _sfc_main$H = /* @__PURE__ */ defineComponent({
|
|
|
25769
25770
|
class: normalizeClass(["pincode-wrapper", [`pincode-size-${_ctx.size}`, { "pincode-error": _ctx.error }]])
|
|
25770
25771
|
}, [
|
|
25771
25772
|
createElementVNode("div", _hoisted_1$E, [
|
|
25772
|
-
props.hasLeadingIcon ? (openBlock(), createElementBlock("div", _hoisted_2$
|
|
25773
|
+
props.hasLeadingIcon ? (openBlock(), createElementBlock("div", _hoisted_2$z, [
|
|
25773
25774
|
renderSlot(_ctx.$slots, "leading-icon", {}, void 0, true)
|
|
25774
25775
|
])) : createCommentVNode("", true),
|
|
25775
25776
|
(openBlock(true), createElementBlock(Fragment$1, null, renderList(_ctx.maxLength, (index) => {
|
|
@@ -25823,7 +25824,7 @@ function hasSlotContent(slots, slotName) {
|
|
|
25823
25824
|
});
|
|
25824
25825
|
}
|
|
25825
25826
|
const _hoisted_1$D = ["for"];
|
|
25826
|
-
const _hoisted_2$
|
|
25827
|
+
const _hoisted_2$y = {
|
|
25827
25828
|
key: 0,
|
|
25828
25829
|
class: "input-required"
|
|
25829
25830
|
};
|
|
@@ -25934,7 +25935,7 @@ const _sfc_main$G = /* @__PURE__ */ defineComponent({
|
|
|
25934
25935
|
class: "input-label"
|
|
25935
25936
|
}, [
|
|
25936
25937
|
createTextVNode(toDisplayString(props.label) + " ", 1),
|
|
25937
|
-
props.required ? (openBlock(), createElementBlock("span", _hoisted_2$
|
|
25938
|
+
props.required ? (openBlock(), createElementBlock("span", _hoisted_2$y, "*")) : createCommentVNode("", true)
|
|
25938
25939
|
], 8, _hoisted_1$D)) : createCommentVNode("", true),
|
|
25939
25940
|
createElementVNode("div", null, [
|
|
25940
25941
|
isTextInput.value ? (openBlock(), createBlock(UiInputText, {
|
|
@@ -26161,7 +26162,7 @@ const _sfc_main$G = /* @__PURE__ */ defineComponent({
|
|
|
26161
26162
|
});
|
|
26162
26163
|
const StrandsUiInput = /* @__PURE__ */ _export_sfc(_sfc_main$G, [["__scopeId", "data-v-96984fc3"]]);
|
|
26163
26164
|
const _hoisted_1$C = ["disabled", "aria-disabled"];
|
|
26164
|
-
const _hoisted_2$
|
|
26165
|
+
const _hoisted_2$x = ["href", "target", "rel", "aria-disabled"];
|
|
26165
26166
|
const _sfc_main$F = /* @__PURE__ */ defineComponent({
|
|
26166
26167
|
__name: "UiLink",
|
|
26167
26168
|
props: {
|
|
@@ -26268,13 +26269,13 @@ const _sfc_main$F = /* @__PURE__ */ defineComponent({
|
|
|
26268
26269
|
onClick: handleClick2
|
|
26269
26270
|
}, [
|
|
26270
26271
|
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
26271
|
-
], 14, _hoisted_2$
|
|
26272
|
+
], 14, _hoisted_2$x));
|
|
26272
26273
|
};
|
|
26273
26274
|
}
|
|
26274
26275
|
});
|
|
26275
26276
|
const StrandsUiLink = /* @__PURE__ */ _export_sfc(_sfc_main$F, [["__scopeId", "data-v-3bf99110"]]);
|
|
26276
26277
|
const _hoisted_1$B = { class: "ui-toggle-container" };
|
|
26277
|
-
const _hoisted_2$
|
|
26278
|
+
const _hoisted_2$w = ["for"];
|
|
26278
26279
|
const _hoisted_3$v = {
|
|
26279
26280
|
key: 0,
|
|
26280
26281
|
class: "ui-toggle-required"
|
|
@@ -26321,7 +26322,7 @@ const _sfc_main$E = /* @__PURE__ */ defineComponent({
|
|
|
26321
26322
|
}, [
|
|
26322
26323
|
createTextVNode(toDisplayString(_ctx.label) + " ", 1),
|
|
26323
26324
|
_ctx.required ? (openBlock(), createElementBlock("span", _hoisted_3$v, "*")) : createCommentVNode("", true)
|
|
26324
|
-
], 8, _hoisted_2$
|
|
26325
|
+
], 8, _hoisted_2$w)) : createCommentVNode("", true),
|
|
26325
26326
|
createElementVNode("button", {
|
|
26326
26327
|
id: toggleId.value,
|
|
26327
26328
|
type: "button",
|
|
@@ -26340,7 +26341,7 @@ const _sfc_main$E = /* @__PURE__ */ defineComponent({
|
|
|
26340
26341
|
});
|
|
26341
26342
|
const UiToggle = /* @__PURE__ */ _export_sfc(_sfc_main$E, [["__scopeId", "data-v-ba05b9e3"]]);
|
|
26342
26343
|
const _hoisted_1$A = { class: "accui-component-scope" };
|
|
26343
|
-
const _hoisted_2$
|
|
26344
|
+
const _hoisted_2$v = { class: "avatar-editor-simple" };
|
|
26344
26345
|
const _hoisted_3$u = {
|
|
26345
26346
|
key: 1,
|
|
26346
26347
|
class: "editor-container"
|
|
@@ -26656,7 +26657,7 @@ const _sfc_main$D = /* @__PURE__ */ defineComponent({
|
|
|
26656
26657
|
}, { immediate: true });
|
|
26657
26658
|
return (_ctx, _cache) => {
|
|
26658
26659
|
return openBlock(), createElementBlock("div", _hoisted_1$A, [
|
|
26659
|
-
createElementVNode("div", _hoisted_2$
|
|
26660
|
+
createElementVNode("div", _hoisted_2$v, [
|
|
26660
26661
|
createElementVNode("input", {
|
|
26661
26662
|
ref_key: "fileInput",
|
|
26662
26663
|
ref: fileInput,
|
|
@@ -27144,7 +27145,7 @@ class SoundEffects {
|
|
|
27144
27145
|
}
|
|
27145
27146
|
const playLevelUp = (level, userSettings) => SoundEffects.playLevelUp(level, userSettings);
|
|
27146
27147
|
const _hoisted_1$z = { class: "level-progress-container" };
|
|
27147
|
-
const _hoisted_2$
|
|
27148
|
+
const _hoisted_2$u = ["width", "height", "viewBox"];
|
|
27148
27149
|
const _hoisted_3$t = { key: 0 };
|
|
27149
27150
|
const _hoisted_4$s = ["r"];
|
|
27150
27151
|
const _hoisted_5$o = ["y"];
|
|
@@ -27421,7 +27422,7 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
|
|
|
27421
27422
|
}, null, -1)
|
|
27422
27423
|
])], 8, _hoisted_12$j)
|
|
27423
27424
|
])
|
|
27424
|
-
], 8, _hoisted_2$
|
|
27425
|
+
], 8, _hoisted_2$u))
|
|
27425
27426
|
]);
|
|
27426
27427
|
};
|
|
27427
27428
|
}
|
|
@@ -27635,7 +27636,7 @@ const _hoisted_1$y = {
|
|
|
27635
27636
|
role: "dialog",
|
|
27636
27637
|
"aria-modal": "true"
|
|
27637
27638
|
};
|
|
27638
|
-
const _hoisted_2$
|
|
27639
|
+
const _hoisted_2$t = { class: "ui-modal-header-content" };
|
|
27639
27640
|
const _hoisted_3$s = { class: "ui-modal-title" };
|
|
27640
27641
|
const _hoisted_4$r = { key: 0 };
|
|
27641
27642
|
const _hoisted_5$n = {
|
|
@@ -27813,7 +27814,7 @@ const _sfc_main$B = /* @__PURE__ */ defineComponent({
|
|
|
27813
27814
|
tabindex: "-1"
|
|
27814
27815
|
}, createSlots({
|
|
27815
27816
|
header: withCtx(() => [
|
|
27816
|
-
createElementVNode("div", _hoisted_2$
|
|
27817
|
+
createElementVNode("div", _hoisted_2$t, [
|
|
27817
27818
|
createElementVNode("div", _hoisted_3$s, [
|
|
27818
27819
|
renderSlot(_ctx.$slots, "header", {
|
|
27819
27820
|
handleClose: closeModal,
|
|
@@ -28477,7 +28478,7 @@ const tailwindColors = {
|
|
|
28477
28478
|
}
|
|
28478
28479
|
};
|
|
28479
28480
|
const _hoisted_1$x = { class: "ui-color-picker" };
|
|
28480
|
-
const _hoisted_2$
|
|
28481
|
+
const _hoisted_2$s = { class: "ui-color-picker-main" };
|
|
28481
28482
|
const _hoisted_3$r = ["viewBox"];
|
|
28482
28483
|
const _hoisted_4$q = ["d"];
|
|
28483
28484
|
const _hoisted_5$m = ["d"];
|
|
@@ -30105,7 +30106,7 @@ const _sfc_main$A = /* @__PURE__ */ defineComponent({
|
|
|
30105
30106
|
});
|
|
30106
30107
|
return (_ctx, _cache) => {
|
|
30107
30108
|
return openBlock(), createElementBlock("div", _hoisted_1$x, [
|
|
30108
|
-
createElementVNode("div", _hoisted_2$
|
|
30109
|
+
createElementVNode("div", _hoisted_2$s, [
|
|
30109
30110
|
createElementVNode("div", {
|
|
30110
30111
|
ref_key: "colorAreaRef",
|
|
30111
30112
|
ref: colorAreaRef,
|
|
@@ -30747,8 +30748,7 @@ const _sfc_main$A = /* @__PURE__ */ defineComponent({
|
|
|
30747
30748
|
}
|
|
30748
30749
|
});
|
|
30749
30750
|
const UiColorPickerPicker = /* @__PURE__ */ _export_sfc(_sfc_main$A, [["__scopeId", "data-v-24473a61"]]);
|
|
30750
|
-
const _hoisted_1$w = { class: "ui-color-picker-button-
|
|
30751
|
-
const _hoisted_2$s = { class: "ui-color-picker-button-preview" };
|
|
30751
|
+
const _hoisted_1$w = { class: "ui-color-picker-button-preview" };
|
|
30752
30752
|
const _sfc_main$z = /* @__PURE__ */ defineComponent({
|
|
30753
30753
|
__name: "UiColorPicker.Button",
|
|
30754
30754
|
props: {
|
|
@@ -30767,7 +30767,7 @@ const _sfc_main$z = /* @__PURE__ */ defineComponent({
|
|
|
30767
30767
|
setup(__props, { emit: __emit }) {
|
|
30768
30768
|
const props = __props;
|
|
30769
30769
|
const emit = __emit;
|
|
30770
|
-
const
|
|
30770
|
+
const containerRef = ref();
|
|
30771
30771
|
const popoverRef = ref();
|
|
30772
30772
|
const isPopoverOpen = ref(false);
|
|
30773
30773
|
const internalValue = computed({
|
|
@@ -30775,15 +30775,13 @@ const _sfc_main$z = /* @__PURE__ */ defineComponent({
|
|
|
30775
30775
|
set: (value) => emit("update:modelValue", value)
|
|
30776
30776
|
});
|
|
30777
30777
|
const currentColorString = computed(() => props.modelValue || "#000000");
|
|
30778
|
-
const triggerElement = computed(() => buttonRef.value?.$el);
|
|
30779
|
-
const floatingElement = computed(() => popoverRef.value);
|
|
30780
30778
|
const {
|
|
30781
30779
|
floatingStyle,
|
|
30782
30780
|
updatePosition,
|
|
30783
30781
|
cleanup: cleanupFloating
|
|
30784
30782
|
} = useFloatingPosition({
|
|
30785
|
-
trigger:
|
|
30786
|
-
floating:
|
|
30783
|
+
trigger: containerRef,
|
|
30784
|
+
floating: popoverRef,
|
|
30787
30785
|
placement: "bottom-start",
|
|
30788
30786
|
offset: 8,
|
|
30789
30787
|
shift: true,
|
|
@@ -30833,16 +30831,18 @@ const _sfc_main$z = /* @__PURE__ */ defineComponent({
|
|
|
30833
30831
|
cleanupFloating();
|
|
30834
30832
|
});
|
|
30835
30833
|
return (_ctx, _cache) => {
|
|
30836
|
-
return openBlock(), createElementBlock("div",
|
|
30834
|
+
return openBlock(), createElementBlock("div", {
|
|
30835
|
+
ref_key: "containerRef",
|
|
30836
|
+
ref: containerRef,
|
|
30837
|
+
class: "ui-color-picker-button-container"
|
|
30838
|
+
}, [
|
|
30837
30839
|
createVNode(StrandsUiButton, {
|
|
30838
|
-
ref_key: "buttonRef",
|
|
30839
|
-
ref: buttonRef,
|
|
30840
30840
|
disabled: props.disabled,
|
|
30841
30841
|
color: "secondary",
|
|
30842
30842
|
onClick: togglePopover
|
|
30843
30843
|
}, {
|
|
30844
30844
|
"leading-icon": withCtx(() => [
|
|
30845
|
-
createElementVNode("div",
|
|
30845
|
+
createElementVNode("div", _hoisted_1$w, [
|
|
30846
30846
|
createElementVNode("div", {
|
|
30847
30847
|
class: "ui-color-picker-button-color",
|
|
30848
30848
|
style: normalizeStyle({ backgroundColor: currentColorString.value })
|
|
@@ -30873,11 +30873,11 @@ const _sfc_main$z = /* @__PURE__ */ defineComponent({
|
|
|
30873
30873
|
}), null, 16, ["modelValue"])
|
|
30874
30874
|
], 4)) : createCommentVNode("", true)
|
|
30875
30875
|
]))
|
|
30876
|
-
]);
|
|
30876
|
+
], 512);
|
|
30877
30877
|
};
|
|
30878
30878
|
}
|
|
30879
30879
|
});
|
|
30880
|
-
const UiColorPickerButton = /* @__PURE__ */ _export_sfc(_sfc_main$z, [["__scopeId", "data-v-
|
|
30880
|
+
const UiColorPickerButton = /* @__PURE__ */ _export_sfc(_sfc_main$z, [["__scopeId", "data-v-2ccec31a"]]);
|
|
30881
30881
|
const _sfc_main$y = /* @__PURE__ */ defineComponent({
|
|
30882
30882
|
__name: "UiColorPicker",
|
|
30883
30883
|
props: {
|