@strands.gg/accui 2.6.0 → 2.6.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/accui.css +1 -1
- package/dist/nuxt/module.cjs.js +1 -1
- package/dist/nuxt/module.es.js +1 -0
- package/dist/strands-auth-ui.cjs.js +1 -1
- package/dist/strands-auth-ui.es.js +412 -314
- package/package.json +1 -1
|
@@ -2,17 +2,17 @@ import { defineComponent, computed, provide, onMounted, onUnmounted, createEleme
|
|
|
2
2
|
import { u as useStrandsConfig, p as provideStrandsConfig } from "./useStrandsConfig-C3gBJK6y.es.js";
|
|
3
3
|
import { s } from "./useStrandsConfig-C3gBJK6y.es.js";
|
|
4
4
|
import { u as useStrandsAuth } from "./useStrandsAuth-DoUupKb8.es.js";
|
|
5
|
-
const _hoisted_1$
|
|
6
|
-
const _hoisted_2$
|
|
5
|
+
const _hoisted_1$T = { class: "app-content" };
|
|
6
|
+
const _hoisted_2$K = {
|
|
7
7
|
key: 0,
|
|
8
8
|
class: "ui-app-loading-overlay"
|
|
9
9
|
};
|
|
10
|
-
const _hoisted_3$
|
|
11
|
-
const _hoisted_4$
|
|
10
|
+
const _hoisted_3$H = { class: "ui-app-loading-content" };
|
|
11
|
+
const _hoisted_4$E = {
|
|
12
12
|
key: 0,
|
|
13
13
|
class: "ui-app-loading-message"
|
|
14
14
|
};
|
|
15
|
-
const _sfc_main
|
|
15
|
+
const _sfc_main$$ = /* @__PURE__ */ defineComponent({
|
|
16
16
|
__name: "UiApp",
|
|
17
17
|
props: {
|
|
18
18
|
theme: { default: "auto" },
|
|
@@ -57,17 +57,17 @@ const _sfc_main$_ = /* @__PURE__ */ defineComponent({
|
|
|
57
57
|
return openBlock(), createElementBlock("div", {
|
|
58
58
|
class: normalizeClass(["ui-app", appClasses.value])
|
|
59
59
|
}, [
|
|
60
|
-
createElementVNode("div", _hoisted_1$
|
|
60
|
+
createElementVNode("div", _hoisted_1$T, [
|
|
61
61
|
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
62
62
|
]),
|
|
63
63
|
(openBlock(), createBlock(Teleport, { to: "body" }, [
|
|
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$
|
|
68
|
-
createElementVNode("div", _hoisted_3$
|
|
67
|
+
isGlobalLoading.value ? (openBlock(), createElementBlock("div", _hoisted_2$K, [
|
|
68
|
+
createElementVNode("div", _hoisted_3$H, [
|
|
69
69
|
_cache[1] || (_cache[1] = createElementVNode("div", { class: "ui-app-loading-spinner" }, null, -1)),
|
|
70
|
-
_ctx.loadingMessage ? (openBlock(), createElementBlock("p", _hoisted_4$
|
|
70
|
+
_ctx.loadingMessage ? (openBlock(), createElementBlock("p", _hoisted_4$E, toDisplayString(_ctx.loadingMessage), 1)) : createCommentVNode("", true)
|
|
71
71
|
])
|
|
72
72
|
])) : createCommentVNode("", true)
|
|
73
73
|
]))
|
|
@@ -82,23 +82,23 @@ const _export_sfc = (sfc, props) => {
|
|
|
82
82
|
}
|
|
83
83
|
return target;
|
|
84
84
|
};
|
|
85
|
-
const UiApp = /* @__PURE__ */ _export_sfc(_sfc_main
|
|
86
|
-
const _hoisted_1$
|
|
87
|
-
const _hoisted_2$
|
|
88
|
-
const _hoisted_3$
|
|
89
|
-
const _hoisted_4$
|
|
85
|
+
const UiApp = /* @__PURE__ */ _export_sfc(_sfc_main$$, [["__scopeId", "data-v-f18c1706"]]);
|
|
86
|
+
const _hoisted_1$S = { class: "accui-component-scope" };
|
|
87
|
+
const _hoisted_2$J = { class: "alert-content" };
|
|
88
|
+
const _hoisted_3$G = { class: "alert-icon-container" };
|
|
89
|
+
const _hoisted_4$D = {
|
|
90
90
|
class: "alert-main-icon",
|
|
91
91
|
fill: "currentColor",
|
|
92
92
|
viewBox: "0 0 20 20",
|
|
93
93
|
"aria-hidden": "true"
|
|
94
94
|
};
|
|
95
|
-
const _hoisted_5$
|
|
95
|
+
const _hoisted_5$y = ["d"];
|
|
96
96
|
const _hoisted_6$t = { class: "alert-text-container" };
|
|
97
97
|
const _hoisted_7$s = {
|
|
98
98
|
key: 0,
|
|
99
99
|
class: "alert-dismiss-container"
|
|
100
100
|
};
|
|
101
|
-
const _sfc_main$
|
|
101
|
+
const _sfc_main$_ = /* @__PURE__ */ defineComponent({
|
|
102
102
|
__name: "UiAlert",
|
|
103
103
|
props: {
|
|
104
104
|
variant: { default: "info" },
|
|
@@ -134,19 +134,19 @@ const _sfc_main$Z = /* @__PURE__ */ defineComponent({
|
|
|
134
134
|
return icons[props.variant];
|
|
135
135
|
});
|
|
136
136
|
return (_ctx, _cache) => {
|
|
137
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
137
|
+
return openBlock(), createElementBlock("div", _hoisted_1$S, [
|
|
138
138
|
createElementVNode("div", {
|
|
139
139
|
class: normalizeClass(alertClasses.value),
|
|
140
140
|
role: "alert"
|
|
141
141
|
}, [
|
|
142
|
-
createElementVNode("div", _hoisted_2$
|
|
143
|
-
createElementVNode("div", _hoisted_3$
|
|
144
|
-
(openBlock(), createElementBlock("svg", _hoisted_4$
|
|
142
|
+
createElementVNode("div", _hoisted_2$J, [
|
|
143
|
+
createElementVNode("div", _hoisted_3$G, [
|
|
144
|
+
(openBlock(), createElementBlock("svg", _hoisted_4$D, [
|
|
145
145
|
createElementVNode("path", {
|
|
146
146
|
"fill-rule": "evenodd",
|
|
147
147
|
d: iconPath.value,
|
|
148
148
|
"clip-rule": "evenodd"
|
|
149
|
-
}, null, 8, _hoisted_5$
|
|
149
|
+
}, null, 8, _hoisted_5$y)
|
|
150
150
|
]))
|
|
151
151
|
]),
|
|
152
152
|
createElementVNode("div", _hoisted_6$t, [
|
|
@@ -188,22 +188,22 @@ const _sfc_main$Z = /* @__PURE__ */ defineComponent({
|
|
|
188
188
|
};
|
|
189
189
|
}
|
|
190
190
|
});
|
|
191
|
-
const StrandsUiAlert = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
191
|
+
const StrandsUiAlert = /* @__PURE__ */ _export_sfc(_sfc_main$_, [["__scopeId", "data-v-1beb49ad"]]);
|
|
192
192
|
const logo = '<svg width="302" height="438" viewBox="0 0 302 438" fill="none" xmlns="http://www.w3.org/2000/svg">\n<path d="M71.5001 96C71.5001 96 132 106 137 61.5C142 17 117.5 3.50005 94.5001 1.50003C71.5001 -0.499996 16.0001 8.5 2.00014 72.5C-6.5 130.5 71.5003 227.5 165 218C258.5 208.5 280.758 148.5 283.5 121C286.242 93.5 277.5 61.5 238.5 61.5C153 61.5 150.501 185 170.5 235C190.5 285 199 279 213 314C227.001 349 217.296 411.458 183 427C129.456 450.65 92 426 78.5 407.5C65 389 68.0003 357 94.5001 344.5C121 332 212.41 393.5 301.5 361" stroke="black"/>\n</svg>\n';
|
|
193
|
-
const _hoisted_1$
|
|
193
|
+
const _hoisted_1$R = {
|
|
194
194
|
key: 0,
|
|
195
195
|
class: "loader-icon"
|
|
196
196
|
};
|
|
197
|
-
const _hoisted_2$
|
|
198
|
-
const _hoisted_3$
|
|
199
|
-
const _hoisted_4$
|
|
200
|
-
const _hoisted_5$
|
|
197
|
+
const _hoisted_2$I = ["width", "height"];
|
|
198
|
+
const _hoisted_3$F = ["d"];
|
|
199
|
+
const _hoisted_4$C = ["stroke-width"];
|
|
200
|
+
const _hoisted_5$x = ["stroke-width"];
|
|
201
201
|
const _hoisted_6$s = ["width", "height"];
|
|
202
202
|
const _hoisted_7$r = {
|
|
203
203
|
key: 3,
|
|
204
204
|
class: "loader-text"
|
|
205
205
|
};
|
|
206
|
-
const _sfc_main$
|
|
206
|
+
const _sfc_main$Z = /* @__PURE__ */ defineComponent({
|
|
207
207
|
__name: "UiLoader",
|
|
208
208
|
props: {
|
|
209
209
|
size: { default: 80 },
|
|
@@ -224,7 +224,7 @@ const _sfc_main$Y = /* @__PURE__ */ defineComponent({
|
|
|
224
224
|
`loader-color-${_ctx.color}`
|
|
225
225
|
]])
|
|
226
226
|
}, [
|
|
227
|
-
_ctx.variant === "spinner" ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
227
|
+
_ctx.variant === "spinner" ? (openBlock(), createElementBlock("div", _hoisted_1$R, [
|
|
228
228
|
(openBlock(), createElementBlock("svg", {
|
|
229
229
|
width: _ctx.size,
|
|
230
230
|
height: _ctx.size,
|
|
@@ -235,7 +235,7 @@ const _sfc_main$Y = /* @__PURE__ */ defineComponent({
|
|
|
235
235
|
id: "logo-path",
|
|
236
236
|
d: unref(d),
|
|
237
237
|
transform: "translate(81, 13) scale(1.0)"
|
|
238
|
-
}, null, 8, _hoisted_3$
|
|
238
|
+
}, null, 8, _hoisted_3$F)
|
|
239
239
|
]),
|
|
240
240
|
createElementVNode("use", {
|
|
241
241
|
href: "#logo-path",
|
|
@@ -244,7 +244,7 @@ const _sfc_main$Y = /* @__PURE__ */ defineComponent({
|
|
|
244
244
|
"stroke-width": _ctx.weight,
|
|
245
245
|
"stroke-linecap": "round",
|
|
246
246
|
"stroke-linejoin": "round"
|
|
247
|
-
}, null, 8, _hoisted_4$
|
|
247
|
+
}, null, 8, _hoisted_4$C),
|
|
248
248
|
createElementVNode("use", {
|
|
249
249
|
href: "#logo-path",
|
|
250
250
|
fill: "none",
|
|
@@ -253,8 +253,8 @@ const _sfc_main$Y = /* @__PURE__ */ defineComponent({
|
|
|
253
253
|
"stroke-linecap": "round",
|
|
254
254
|
"stroke-linejoin": "round",
|
|
255
255
|
class: "loader-animated-path"
|
|
256
|
-
}, null, 8, _hoisted_5$
|
|
257
|
-
], 8, _hoisted_2$
|
|
256
|
+
}, null, 8, _hoisted_5$x)
|
|
257
|
+
], 8, _hoisted_2$I))
|
|
258
258
|
])) : _ctx.variant === "circle" ? (openBlock(), createElementBlock("div", {
|
|
259
259
|
key: 1,
|
|
260
260
|
class: "loader-circle",
|
|
@@ -293,21 +293,21 @@ const _sfc_main$Y = /* @__PURE__ */ defineComponent({
|
|
|
293
293
|
};
|
|
294
294
|
}
|
|
295
295
|
});
|
|
296
|
-
const StrandsUiLoader = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
297
|
-
const _hoisted_1$
|
|
296
|
+
const StrandsUiLoader = /* @__PURE__ */ _export_sfc(_sfc_main$Z, [["__scopeId", "data-v-d8fe101d"]]);
|
|
297
|
+
const _hoisted_1$Q = {
|
|
298
298
|
key: 0,
|
|
299
299
|
class: "button-loading-content"
|
|
300
300
|
};
|
|
301
|
-
const _hoisted_2$
|
|
302
|
-
const _hoisted_3$
|
|
301
|
+
const _hoisted_2$H = { key: 0 };
|
|
302
|
+
const _hoisted_3$E = {
|
|
303
303
|
key: 0,
|
|
304
304
|
class: "leading-icon"
|
|
305
305
|
};
|
|
306
|
-
const _hoisted_4$
|
|
306
|
+
const _hoisted_4$B = {
|
|
307
307
|
key: 1,
|
|
308
308
|
class: "trailing-icon"
|
|
309
309
|
};
|
|
310
|
-
const _sfc_main$
|
|
310
|
+
const _sfc_main$Y = /* @__PURE__ */ defineComponent({
|
|
311
311
|
__name: "UiButton.Content",
|
|
312
312
|
props: {
|
|
313
313
|
loading: { type: Boolean, default: false },
|
|
@@ -349,25 +349,25 @@ const _sfc_main$X = /* @__PURE__ */ defineComponent({
|
|
|
349
349
|
return props.size ? `button-content-${props.size}` : "button-content-md";
|
|
350
350
|
});
|
|
351
351
|
return (_ctx, _cache) => {
|
|
352
|
-
return _ctx.loading ? (openBlock(), createElementBlock("span", _hoisted_1$
|
|
352
|
+
return _ctx.loading ? (openBlock(), createElementBlock("span", _hoisted_1$Q, [
|
|
353
353
|
createVNode(StrandsUiLoader, {
|
|
354
354
|
variant: "circle",
|
|
355
355
|
size: loaderSize.value,
|
|
356
356
|
centered: false,
|
|
357
357
|
color: "white"
|
|
358
358
|
}, null, 8, ["size"]),
|
|
359
|
-
!_ctx.icon ? (openBlock(), createElementBlock("span", _hoisted_2$
|
|
359
|
+
!_ctx.icon ? (openBlock(), createElementBlock("span", _hoisted_2$H, toDisplayString(_ctx.loadingText || "Loading..."), 1)) : createCommentVNode("", true)
|
|
360
360
|
])) : (openBlock(), createElementBlock("span", {
|
|
361
361
|
key: 1,
|
|
362
362
|
class: normalizeClass(["button-content", sizeClass.value])
|
|
363
363
|
}, [
|
|
364
364
|
_ctx.icon ? renderSlot(_ctx.$slots, "icon", { key: 0 }, void 0, true) : (openBlock(), createElementBlock(Fragment$1, { key: 1 }, [
|
|
365
|
-
hasLeadingIconSlot.value ? (openBlock(), createElementBlock("span", _hoisted_3$
|
|
365
|
+
hasLeadingIconSlot.value ? (openBlock(), createElementBlock("span", _hoisted_3$E, [
|
|
366
366
|
renderSlot(_ctx.$slots, "leading-icon", {}, void 0, true)
|
|
367
367
|
])) : createCommentVNode("", true),
|
|
368
368
|
renderSlot(_ctx.$slots, "icon", {}, void 0, true),
|
|
369
369
|
renderSlot(_ctx.$slots, "default", {}, void 0, true),
|
|
370
|
-
hasTrailingIconSlot.value ? (openBlock(), createElementBlock("span", _hoisted_4$
|
|
370
|
+
hasTrailingIconSlot.value ? (openBlock(), createElementBlock("span", _hoisted_4$B, [
|
|
371
371
|
renderSlot(_ctx.$slots, "trailing-icon", {}, void 0, true)
|
|
372
372
|
])) : createCommentVNode("", true)
|
|
373
373
|
], 64))
|
|
@@ -375,9 +375,9 @@ const _sfc_main$X = /* @__PURE__ */ defineComponent({
|
|
|
375
375
|
};
|
|
376
376
|
}
|
|
377
377
|
});
|
|
378
|
-
const UiButtonContent = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
379
|
-
const _hoisted_1$
|
|
380
|
-
const _sfc_main$
|
|
378
|
+
const UiButtonContent = /* @__PURE__ */ _export_sfc(_sfc_main$Y, [["__scopeId", "data-v-5aa4146e"]]);
|
|
379
|
+
const _hoisted_1$P = ["href", "target", "rel"];
|
|
380
|
+
const _sfc_main$X = /* @__PURE__ */ defineComponent({
|
|
381
381
|
__name: "UiButton.Anchor",
|
|
382
382
|
props: {
|
|
383
383
|
to: {},
|
|
@@ -441,11 +441,11 @@ const _sfc_main$W = /* @__PURE__ */ defineComponent({
|
|
|
441
441
|
]),
|
|
442
442
|
_: 3
|
|
443
443
|
}, 8, ["loading", "loading-text", "icon"])
|
|
444
|
-
], 14, _hoisted_1$
|
|
444
|
+
], 14, _hoisted_1$P);
|
|
445
445
|
};
|
|
446
446
|
}
|
|
447
447
|
});
|
|
448
|
-
const _sfc_main$
|
|
448
|
+
const _sfc_main$W = /* @__PURE__ */ defineComponent({
|
|
449
449
|
__name: "UiButton.Nuxt",
|
|
450
450
|
props: {
|
|
451
451
|
to: {},
|
|
@@ -458,7 +458,14 @@ const _sfc_main$V = /* @__PURE__ */ defineComponent({
|
|
|
458
458
|
},
|
|
459
459
|
emits: ["click"],
|
|
460
460
|
setup(__props, { emit: __emit }) {
|
|
461
|
-
const NuxtLinkComponent =
|
|
461
|
+
const NuxtLinkComponent = computed(() => {
|
|
462
|
+
try {
|
|
463
|
+
const component = resolveComponent("NuxtLink");
|
|
464
|
+
return typeof component === "string" ? "a" : component;
|
|
465
|
+
} catch (error) {
|
|
466
|
+
return "a";
|
|
467
|
+
}
|
|
468
|
+
});
|
|
462
469
|
const props = __props;
|
|
463
470
|
const emit = __emit;
|
|
464
471
|
const handleLinkClick = (event) => {
|
|
@@ -469,8 +476,9 @@ const _sfc_main$V = /* @__PURE__ */ defineComponent({
|
|
|
469
476
|
emit("click", event);
|
|
470
477
|
};
|
|
471
478
|
return (_ctx, _cache) => {
|
|
472
|
-
return openBlock(), createBlock(resolveDynamicComponent(
|
|
473
|
-
to: _ctx.to,
|
|
479
|
+
return openBlock(), createBlock(resolveDynamicComponent(NuxtLinkComponent.value), {
|
|
480
|
+
to: NuxtLinkComponent.value === "a" ? void 0 : _ctx.to,
|
|
481
|
+
href: NuxtLinkComponent.value === "a" ? typeof _ctx.to === "string" ? _ctx.to : "/" : void 0,
|
|
474
482
|
class: normalizeClass(_ctx.buttonClasses),
|
|
475
483
|
style: normalizeStyle(_ctx.buttonStyles),
|
|
476
484
|
onClick: handleLinkClick
|
|
@@ -497,11 +505,11 @@ const _sfc_main$V = /* @__PURE__ */ defineComponent({
|
|
|
497
505
|
}, 8, ["loading", "loading-text", "icon"])
|
|
498
506
|
]),
|
|
499
507
|
_: 3
|
|
500
|
-
}, 8, ["to", "class", "style"]);
|
|
508
|
+
}, 8, ["to", "href", "class", "style"]);
|
|
501
509
|
};
|
|
502
510
|
}
|
|
503
511
|
});
|
|
504
|
-
const _sfc_main$
|
|
512
|
+
const _sfc_main$V = /* @__PURE__ */ defineComponent({
|
|
505
513
|
__name: "UiButton.Vue",
|
|
506
514
|
props: {
|
|
507
515
|
to: {},
|
|
@@ -557,8 +565,8 @@ const _sfc_main$U = /* @__PURE__ */ defineComponent({
|
|
|
557
565
|
};
|
|
558
566
|
}
|
|
559
567
|
});
|
|
560
|
-
const _hoisted_1$
|
|
561
|
-
const _sfc_main$
|
|
568
|
+
const _hoisted_1$O = ["type", "disabled"];
|
|
569
|
+
const _sfc_main$U = /* @__PURE__ */ defineComponent({
|
|
562
570
|
__name: "UiButton",
|
|
563
571
|
props: {
|
|
564
572
|
variant: { default: "primary" },
|
|
@@ -655,7 +663,7 @@ const _sfc_main$T = /* @__PURE__ */ defineComponent({
|
|
|
655
663
|
key: "1"
|
|
656
664
|
} : void 0
|
|
657
665
|
]), 1032, ["loading", "loading-text", "icon", "size"])
|
|
658
|
-
], 14, _hoisted_1$
|
|
666
|
+
], 14, _hoisted_1$O)) : isNuxtAvailable.value && _ctx.to ? (openBlock(), createBlock(_sfc_main$W, {
|
|
659
667
|
key: 1,
|
|
660
668
|
to: _ctx.to,
|
|
661
669
|
disabled: _ctx.disabled,
|
|
@@ -688,7 +696,7 @@ const _sfc_main$T = /* @__PURE__ */ defineComponent({
|
|
|
688
696
|
]),
|
|
689
697
|
key: "1"
|
|
690
698
|
} : void 0
|
|
691
|
-
]), 1032, ["to", "disabled", "loading", "loading-text", "icon", "button-classes", "button-styles"])) : isVueRouterAvailable.value && _ctx.to ? (openBlock(), createBlock(_sfc_main$
|
|
699
|
+
]), 1032, ["to", "disabled", "loading", "loading-text", "icon", "button-classes", "button-styles"])) : isVueRouterAvailable.value && _ctx.to ? (openBlock(), createBlock(_sfc_main$V, {
|
|
692
700
|
key: 2,
|
|
693
701
|
to: _ctx.to,
|
|
694
702
|
disabled: _ctx.disabled,
|
|
@@ -721,7 +729,7 @@ const _sfc_main$T = /* @__PURE__ */ defineComponent({
|
|
|
721
729
|
]),
|
|
722
730
|
key: "1"
|
|
723
731
|
} : void 0
|
|
724
|
-
]), 1032, ["to", "disabled", "loading", "loading-text", "icon", "button-classes", "button-styles"])) : (openBlock(), createBlock(_sfc_main$
|
|
732
|
+
]), 1032, ["to", "disabled", "loading", "loading-text", "icon", "button-classes", "button-styles"])) : (openBlock(), createBlock(_sfc_main$X, {
|
|
725
733
|
key: 3,
|
|
726
734
|
to: _ctx.to,
|
|
727
735
|
href: _ctx.href,
|
|
@@ -760,22 +768,22 @@ const _sfc_main$T = /* @__PURE__ */ defineComponent({
|
|
|
760
768
|
};
|
|
761
769
|
}
|
|
762
770
|
});
|
|
763
|
-
const StrandsUiButton = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
771
|
+
const StrandsUiButton = /* @__PURE__ */ _export_sfc(_sfc_main$U, [["__scopeId", "data-v-a5942725"]]);
|
|
764
772
|
const CompoundUiButton = StrandsUiButton;
|
|
765
773
|
CompoundUiButton.Content = UiButtonContent;
|
|
766
|
-
CompoundUiButton.Anchor = _sfc_main$
|
|
767
|
-
CompoundUiButton.Nuxt = _sfc_main$
|
|
768
|
-
CompoundUiButton.Vue = _sfc_main$
|
|
769
|
-
const _hoisted_1$
|
|
774
|
+
CompoundUiButton.Anchor = _sfc_main$X;
|
|
775
|
+
CompoundUiButton.Nuxt = _sfc_main$W;
|
|
776
|
+
CompoundUiButton.Vue = _sfc_main$V;
|
|
777
|
+
const _hoisted_1$N = {
|
|
770
778
|
key: 0,
|
|
771
779
|
class: "ui-card-header"
|
|
772
780
|
};
|
|
773
|
-
const _hoisted_2$
|
|
774
|
-
const _hoisted_3$
|
|
781
|
+
const _hoisted_2$G = { class: "ui-card-content" };
|
|
782
|
+
const _hoisted_3$D = {
|
|
775
783
|
key: 1,
|
|
776
784
|
class: "ui-card-footer"
|
|
777
785
|
};
|
|
778
|
-
const _sfc_main$
|
|
786
|
+
const _sfc_main$T = /* @__PURE__ */ defineComponent({
|
|
779
787
|
__name: "UiCard",
|
|
780
788
|
props: {
|
|
781
789
|
variant: { default: "default" },
|
|
@@ -793,20 +801,20 @@ const _sfc_main$S = /* @__PURE__ */ defineComponent({
|
|
|
793
801
|
`ui-card-color-${_ctx.color}`
|
|
794
802
|
]])
|
|
795
803
|
}, [
|
|
796
|
-
_ctx.$slots["header"] ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
804
|
+
_ctx.$slots["header"] ? (openBlock(), createElementBlock("div", _hoisted_1$N, [
|
|
797
805
|
renderSlot(_ctx.$slots, "header", {}, void 0, true)
|
|
798
806
|
])) : createCommentVNode("", true),
|
|
799
|
-
createElementVNode("div", _hoisted_2$
|
|
807
|
+
createElementVNode("div", _hoisted_2$G, [
|
|
800
808
|
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
801
809
|
]),
|
|
802
|
-
_ctx.$slots["footer"] ? (openBlock(), createElementBlock("div", _hoisted_3$
|
|
810
|
+
_ctx.$slots["footer"] ? (openBlock(), createElementBlock("div", _hoisted_3$D, [
|
|
803
811
|
renderSlot(_ctx.$slots, "footer", {}, void 0, true)
|
|
804
812
|
])) : createCommentVNode("", true)
|
|
805
813
|
], 2);
|
|
806
814
|
};
|
|
807
815
|
}
|
|
808
816
|
});
|
|
809
|
-
const StrandsUiCard = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
817
|
+
const StrandsUiCard = /* @__PURE__ */ _export_sfc(_sfc_main$T, [["__scopeId", "data-v-2c11aaa2"]]);
|
|
810
818
|
/**
|
|
811
819
|
* @license lucide-vue-next v0.542.0 - ISC
|
|
812
820
|
*
|
|
@@ -1360,24 +1368,24 @@ const X = createLucideIcon("x", [
|
|
|
1360
1368
|
["path", { d: "M18 6 6 18", key: "1bl5f8" }],
|
|
1361
1369
|
["path", { d: "m6 6 12 12", key: "d8bk6v" }]
|
|
1362
1370
|
]);
|
|
1363
|
-
const _hoisted_1$
|
|
1371
|
+
const _hoisted_1$M = {
|
|
1364
1372
|
key: 0,
|
|
1365
1373
|
class: "input-leading-icon"
|
|
1366
1374
|
};
|
|
1367
|
-
const _hoisted_2$
|
|
1368
|
-
const _hoisted_3$
|
|
1375
|
+
const _hoisted_2$F = ["id", "type", "value", "placeholder", "disabled", "readonly", "required", "min", "max", "step", "autocomplete", "spellcheck"];
|
|
1376
|
+
const _hoisted_3$C = {
|
|
1369
1377
|
key: 1,
|
|
1370
1378
|
class: "input-trailing-icon"
|
|
1371
1379
|
};
|
|
1372
|
-
const _hoisted_4$
|
|
1380
|
+
const _hoisted_4$A = {
|
|
1373
1381
|
key: 2,
|
|
1374
1382
|
class: "input-trailing-icon"
|
|
1375
1383
|
};
|
|
1376
|
-
const _hoisted_5$
|
|
1384
|
+
const _hoisted_5$w = {
|
|
1377
1385
|
key: 3,
|
|
1378
1386
|
class: "input-trailing-icon"
|
|
1379
1387
|
};
|
|
1380
|
-
const _sfc_main$
|
|
1388
|
+
const _sfc_main$S = /* @__PURE__ */ defineComponent({
|
|
1381
1389
|
__name: "UiInput.Text",
|
|
1382
1390
|
props: {
|
|
1383
1391
|
type: { default: "text" },
|
|
@@ -1460,7 +1468,7 @@ const _sfc_main$R = /* @__PURE__ */ defineComponent({
|
|
|
1460
1468
|
return openBlock(), createElementBlock("div", {
|
|
1461
1469
|
class: normalizeClass(["input-field-wrapper", wrapperClasses.value])
|
|
1462
1470
|
}, [
|
|
1463
|
-
_ctx.$slots["leading-icon"] ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
1471
|
+
_ctx.$slots["leading-icon"] ? (openBlock(), createElementBlock("div", _hoisted_1$M, [
|
|
1464
1472
|
renderSlot(_ctx.$slots, "leading-icon", {}, void 0, true)
|
|
1465
1473
|
])) : createCommentVNode("", true),
|
|
1466
1474
|
createElementVNode("input", {
|
|
@@ -1481,8 +1489,8 @@ const _sfc_main$R = /* @__PURE__ */ defineComponent({
|
|
|
1481
1489
|
onBlur: handleBlur,
|
|
1482
1490
|
onFocus: handleFocus,
|
|
1483
1491
|
onKeydown: handleKeydown
|
|
1484
|
-
}, null, 42, _hoisted_2$
|
|
1485
|
-
_ctx.type === "password" ? (openBlock(), createElementBlock("div", _hoisted_3$
|
|
1492
|
+
}, null, 42, _hoisted_2$F),
|
|
1493
|
+
_ctx.type === "password" ? (openBlock(), createElementBlock("div", _hoisted_3$C, [
|
|
1486
1494
|
createVNode(StrandsUiButton, {
|
|
1487
1495
|
color: showPassword.value ? "primary" : "secondary",
|
|
1488
1496
|
variant: showPassword.value ? "primary" : "ghost",
|
|
@@ -1497,7 +1505,7 @@ const _sfc_main$R = /* @__PURE__ */ defineComponent({
|
|
|
1497
1505
|
]),
|
|
1498
1506
|
_: 1
|
|
1499
1507
|
}, 8, ["color", "variant", "aria-label"])
|
|
1500
|
-
])) : _ctx.type === "search" && _ctx.modelValue && !_ctx.disabled && !_ctx.readonly ? (openBlock(), createElementBlock("div", _hoisted_4$
|
|
1508
|
+
])) : _ctx.type === "search" && _ctx.modelValue && !_ctx.disabled && !_ctx.readonly ? (openBlock(), createElementBlock("div", _hoisted_4$A, [
|
|
1501
1509
|
createVNode(StrandsUiButton, {
|
|
1502
1510
|
color: "danger",
|
|
1503
1511
|
variant: "ghost",
|
|
@@ -1512,24 +1520,24 @@ const _sfc_main$R = /* @__PURE__ */ defineComponent({
|
|
|
1512
1520
|
]),
|
|
1513
1521
|
_: 1
|
|
1514
1522
|
})
|
|
1515
|
-
])) : hasTrailingIcon.value ? (openBlock(), createElementBlock("div", _hoisted_5$
|
|
1523
|
+
])) : hasTrailingIcon.value ? (openBlock(), createElementBlock("div", _hoisted_5$w, [
|
|
1516
1524
|
renderSlot(_ctx.$slots, "trailing-icon", {}, void 0, true)
|
|
1517
1525
|
])) : createCommentVNode("", true)
|
|
1518
1526
|
], 2);
|
|
1519
1527
|
};
|
|
1520
1528
|
}
|
|
1521
1529
|
});
|
|
1522
|
-
const UiInputText = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
1523
|
-
const _hoisted_1$
|
|
1530
|
+
const UiInputText = /* @__PURE__ */ _export_sfc(_sfc_main$S, [["__scopeId", "data-v-728dfbde"]]);
|
|
1531
|
+
const _hoisted_1$L = {
|
|
1524
1532
|
key: 0,
|
|
1525
1533
|
class: "input-leading-icon"
|
|
1526
1534
|
};
|
|
1527
|
-
const _hoisted_2$
|
|
1528
|
-
const _hoisted_3$
|
|
1535
|
+
const _hoisted_2$E = ["id", "value", "placeholder", "disabled", "readonly", "required", "rows", "cols", "maxlength", "autocomplete", "spellcheck"];
|
|
1536
|
+
const _hoisted_3$B = {
|
|
1529
1537
|
key: 1,
|
|
1530
1538
|
class: "input-trailing-icon"
|
|
1531
1539
|
};
|
|
1532
|
-
const _sfc_main$
|
|
1540
|
+
const _sfc_main$R = /* @__PURE__ */ defineComponent({
|
|
1533
1541
|
__name: "UiInput.Textarea",
|
|
1534
1542
|
props: {
|
|
1535
1543
|
modelValue: {},
|
|
@@ -1591,7 +1599,7 @@ const _sfc_main$Q = /* @__PURE__ */ defineComponent({
|
|
|
1591
1599
|
return openBlock(), createElementBlock("div", {
|
|
1592
1600
|
class: normalizeClass(["input-field-wrapper input-textarea", wrapperClasses.value])
|
|
1593
1601
|
}, [
|
|
1594
|
-
_ctx.$slots["leading-icon"] ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
1602
|
+
_ctx.$slots["leading-icon"] ? (openBlock(), createElementBlock("div", _hoisted_1$L, [
|
|
1595
1603
|
renderSlot(_ctx.$slots, "leading-icon", {}, void 0, true)
|
|
1596
1604
|
])) : createCommentVNode("", true),
|
|
1597
1605
|
createElementVNode("div", {
|
|
@@ -1617,16 +1625,16 @@ const _sfc_main$Q = /* @__PURE__ */ defineComponent({
|
|
|
1617
1625
|
onBlur: handleBlur,
|
|
1618
1626
|
onFocus: handleFocus,
|
|
1619
1627
|
onKeydown: handleKeydown
|
|
1620
|
-
}, null, 42, _hoisted_2$
|
|
1628
|
+
}, null, 42, _hoisted_2$E)
|
|
1621
1629
|
], 2),
|
|
1622
|
-
_ctx.$slots["trailing-icon"] ? (openBlock(), createElementBlock("div", _hoisted_3$
|
|
1630
|
+
_ctx.$slots["trailing-icon"] ? (openBlock(), createElementBlock("div", _hoisted_3$B, [
|
|
1623
1631
|
renderSlot(_ctx.$slots, "trailing-icon", {}, void 0, true)
|
|
1624
1632
|
])) : createCommentVNode("", true)
|
|
1625
1633
|
], 2);
|
|
1626
1634
|
};
|
|
1627
1635
|
}
|
|
1628
1636
|
});
|
|
1629
|
-
const UiInputTextarea = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
1637
|
+
const UiInputTextarea = /* @__PURE__ */ _export_sfc(_sfc_main$R, [["__scopeId", "data-v-acf98514"]]);
|
|
1630
1638
|
function useFloatingPosition(options) {
|
|
1631
1639
|
const {
|
|
1632
1640
|
trigger,
|
|
@@ -1829,17 +1837,17 @@ function useFloatingPosition(options) {
|
|
|
1829
1837
|
cleanup
|
|
1830
1838
|
};
|
|
1831
1839
|
}
|
|
1832
|
-
const _hoisted_1$
|
|
1840
|
+
const _hoisted_1$K = {
|
|
1833
1841
|
key: 0,
|
|
1834
1842
|
class: "input-leading-icon"
|
|
1835
1843
|
};
|
|
1836
|
-
const _hoisted_2$
|
|
1837
|
-
const _hoisted_3$
|
|
1838
|
-
const _hoisted_4$
|
|
1844
|
+
const _hoisted_2$D = ["aria-expanded", "aria-controls"];
|
|
1845
|
+
const _hoisted_3$A = { class: "input-select-value" };
|
|
1846
|
+
const _hoisted_4$z = {
|
|
1839
1847
|
key: 0,
|
|
1840
1848
|
class: "input-select-text"
|
|
1841
1849
|
};
|
|
1842
|
-
const _hoisted_5$
|
|
1850
|
+
const _hoisted_5$v = {
|
|
1843
1851
|
key: 1,
|
|
1844
1852
|
class: "input-select-placeholder"
|
|
1845
1853
|
};
|
|
@@ -1867,7 +1875,7 @@ const _hoisted_14$l = {
|
|
|
1867
1875
|
key: 0,
|
|
1868
1876
|
class: "input-dropdown-option-check"
|
|
1869
1877
|
};
|
|
1870
|
-
const _sfc_main$
|
|
1878
|
+
const _sfc_main$Q = /* @__PURE__ */ defineComponent({
|
|
1871
1879
|
__name: "UiInput.Select",
|
|
1872
1880
|
props: {
|
|
1873
1881
|
modelValue: {},
|
|
@@ -2132,7 +2140,7 @@ const _sfc_main$P = /* @__PURE__ */ defineComponent({
|
|
|
2132
2140
|
paddingClasses.value
|
|
2133
2141
|
]])
|
|
2134
2142
|
}, [
|
|
2135
|
-
_ctx.$slots["leading-icon"] ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
2143
|
+
_ctx.$slots["leading-icon"] ? (openBlock(), createElementBlock("div", _hoisted_1$K, [
|
|
2136
2144
|
renderSlot(_ctx.$slots, "leading-icon", {}, void 0, true)
|
|
2137
2145
|
])) : createCommentVNode("", true),
|
|
2138
2146
|
createElementVNode("div", {
|
|
@@ -2147,15 +2155,15 @@ const _sfc_main$P = /* @__PURE__ */ defineComponent({
|
|
|
2147
2155
|
"aria-haspopup": true,
|
|
2148
2156
|
"aria-controls": dropdownId.value
|
|
2149
2157
|
}, [
|
|
2150
|
-
createElementVNode("div", _hoisted_3$
|
|
2151
|
-
displayValue.value ? (openBlock(), createElementBlock("span", _hoisted_4$
|
|
2158
|
+
createElementVNode("div", _hoisted_3$A, [
|
|
2159
|
+
displayValue.value ? (openBlock(), createElementBlock("span", _hoisted_4$z, toDisplayString(displayValue.value), 1)) : (openBlock(), createElementBlock("span", _hoisted_5$v, toDisplayString(_ctx.placeholder || "Select an option..."), 1))
|
|
2152
2160
|
]),
|
|
2153
2161
|
createElementVNode("div", {
|
|
2154
2162
|
class: normalizeClass(["input-select-arrow", { "input-select-arrow-open": dropdownState.value.isOpen }])
|
|
2155
2163
|
}, [
|
|
2156
2164
|
createVNode(unref(ChevronDown))
|
|
2157
2165
|
], 2)
|
|
2158
|
-
], 42, _hoisted_2$
|
|
2166
|
+
], 42, _hoisted_2$D),
|
|
2159
2167
|
_ctx.$slots["trailing-icon"] ? (openBlock(), createElementBlock("div", _hoisted_6$r, [
|
|
2160
2168
|
renderSlot(_ctx.$slots, "trailing-icon", {}, void 0, true)
|
|
2161
2169
|
])) : createCommentVNode("", true)
|
|
@@ -2224,12 +2232,12 @@ const _sfc_main$P = /* @__PURE__ */ defineComponent({
|
|
|
2224
2232
|
};
|
|
2225
2233
|
}
|
|
2226
2234
|
});
|
|
2227
|
-
const UiInputSelect = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
2228
|
-
const _hoisted_1$
|
|
2229
|
-
const _hoisted_2$
|
|
2230
|
-
const _hoisted_3$
|
|
2231
|
-
const _hoisted_4$
|
|
2232
|
-
const _hoisted_5$
|
|
2235
|
+
const UiInputSelect = /* @__PURE__ */ _export_sfc(_sfc_main$Q, [["__scopeId", "data-v-985cba8d"]]);
|
|
2236
|
+
const _hoisted_1$J = { class: "input-leading-icon" };
|
|
2237
|
+
const _hoisted_2$C = ["src"];
|
|
2238
|
+
const _hoisted_3$z = ["id", "accept", "multiple", "disabled", "required"];
|
|
2239
|
+
const _hoisted_4$y = { class: "input-file-content" };
|
|
2240
|
+
const _hoisted_5$u = {
|
|
2233
2241
|
key: 0,
|
|
2234
2242
|
class: "input-file-prompt"
|
|
2235
2243
|
};
|
|
@@ -2254,7 +2262,7 @@ const _hoisted_14$k = {
|
|
|
2254
2262
|
key: 1,
|
|
2255
2263
|
class: "input-trailing-icon"
|
|
2256
2264
|
};
|
|
2257
|
-
const _sfc_main$
|
|
2265
|
+
const _sfc_main$P = /* @__PURE__ */ defineComponent({
|
|
2258
2266
|
__name: "UiInput.File",
|
|
2259
2267
|
props: {
|
|
2260
2268
|
modelValue: {},
|
|
@@ -2432,13 +2440,13 @@ const _sfc_main$O = /* @__PURE__ */ defineComponent({
|
|
|
2432
2440
|
paddingClasses.value
|
|
2433
2441
|
]])
|
|
2434
2442
|
}, [
|
|
2435
|
-
createElementVNode("div", _hoisted_1$
|
|
2443
|
+
createElementVNode("div", _hoisted_1$J, [
|
|
2436
2444
|
hasImageSelected.value && imagePreviewUrl.value ? (openBlock(), createElementBlock("img", {
|
|
2437
2445
|
key: 0,
|
|
2438
2446
|
src: imagePreviewUrl.value,
|
|
2439
2447
|
alt: "Preview",
|
|
2440
2448
|
class: "input-file-preview"
|
|
2441
|
-
}, null, 8, _hoisted_2$
|
|
2449
|
+
}, null, 8, _hoisted_2$C)) : _ctx.$slots["leading-icon"] ? renderSlot(_ctx.$slots, "leading-icon", { key: 1 }, void 0, true) : (openBlock(), createBlock(unref(FileInput), { key: 2 }))
|
|
2442
2450
|
]),
|
|
2443
2451
|
createElementVNode("div", {
|
|
2444
2452
|
class: normalizeClass(["input-file-area", {
|
|
@@ -2463,9 +2471,9 @@ const _sfc_main$O = /* @__PURE__ */ defineComponent({
|
|
|
2463
2471
|
onChange: handleFileSelect,
|
|
2464
2472
|
onBlur: handleBlur,
|
|
2465
2473
|
onFocus: handleFocus
|
|
2466
|
-
}, null, 40, _hoisted_3$
|
|
2467
|
-
createElementVNode("div", _hoisted_4$
|
|
2468
|
-
selectedFiles.value.length === 0 ? (openBlock(), createElementBlock("div", _hoisted_5$
|
|
2474
|
+
}, null, 40, _hoisted_3$z),
|
|
2475
|
+
createElementVNode("div", _hoisted_4$y, [
|
|
2476
|
+
selectedFiles.value.length === 0 ? (openBlock(), createElementBlock("div", _hoisted_5$u, [
|
|
2469
2477
|
createElementVNode("div", _hoisted_6$q, toDisplayString(_ctx.dragDropText || "Click to select or drag and drop"), 1),
|
|
2470
2478
|
_ctx.accept ? (openBlock(), createElementBlock("div", _hoisted_7$p, toDisplayString(_ctx.accept), 1)) : createCommentVNode("", true)
|
|
2471
2479
|
])) : (openBlock(), createElementBlock("div", _hoisted_8$n, [
|
|
@@ -2500,19 +2508,19 @@ const _sfc_main$O = /* @__PURE__ */ defineComponent({
|
|
|
2500
2508
|
};
|
|
2501
2509
|
}
|
|
2502
2510
|
});
|
|
2503
|
-
const UiInputFile = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
2504
|
-
const _hoisted_1$
|
|
2505
|
-
const _hoisted_2$
|
|
2511
|
+
const UiInputFile = /* @__PURE__ */ _export_sfc(_sfc_main$P, [["__scopeId", "data-v-1328dc4f"]]);
|
|
2512
|
+
const _hoisted_1$I = { class: "tabs-wrapper" };
|
|
2513
|
+
const _hoisted_2$B = {
|
|
2506
2514
|
key: 0,
|
|
2507
2515
|
class: "tabs-before"
|
|
2508
2516
|
};
|
|
2509
|
-
const _hoisted_3$
|
|
2510
|
-
const _hoisted_4$
|
|
2517
|
+
const _hoisted_3$y = ["aria-selected", "id", "onClick"];
|
|
2518
|
+
const _hoisted_4$x = {
|
|
2511
2519
|
key: 1,
|
|
2512
2520
|
class: "tabs-after"
|
|
2513
2521
|
};
|
|
2514
|
-
const _hoisted_5$
|
|
2515
|
-
const _sfc_main$
|
|
2522
|
+
const _hoisted_5$t = ["aria-labelledby"];
|
|
2523
|
+
const _sfc_main$O = /* @__PURE__ */ defineComponent({
|
|
2516
2524
|
__name: "UiTabs",
|
|
2517
2525
|
props: {
|
|
2518
2526
|
modelValue: {},
|
|
@@ -2839,7 +2847,7 @@ const _sfc_main$N = /* @__PURE__ */ defineComponent({
|
|
|
2839
2847
|
{ "tabs-container--with-content": hasContentSlot.value }
|
|
2840
2848
|
]])
|
|
2841
2849
|
}, [
|
|
2842
|
-
createElementVNode("div", _hoisted_1$
|
|
2850
|
+
createElementVNode("div", _hoisted_1$I, [
|
|
2843
2851
|
createElementVNode("div", {
|
|
2844
2852
|
class: normalizeClass(["tabs-list", [
|
|
2845
2853
|
`tabs-list--${_ctx.orientation}`,
|
|
@@ -2848,7 +2856,7 @@ const _sfc_main$N = /* @__PURE__ */ defineComponent({
|
|
|
2848
2856
|
]]),
|
|
2849
2857
|
style: normalizeStyle(_ctx.sticky ? { position: "sticky", [_ctx.sticky.side]: `${_ctx.sticky.offset}px`, zIndex: 10 } : {})
|
|
2850
2858
|
}, [
|
|
2851
|
-
_ctx.$slots["before"] ? (openBlock(), createElementBlock("div", _hoisted_2$
|
|
2859
|
+
_ctx.$slots["before"] ? (openBlock(), createElementBlock("div", _hoisted_2$B, [
|
|
2852
2860
|
renderSlot(_ctx.$slots, "before", {}, void 0, true)
|
|
2853
2861
|
])) : createCommentVNode("", true),
|
|
2854
2862
|
createElementVNode("div", {
|
|
@@ -2872,7 +2880,7 @@ const _sfc_main$N = /* @__PURE__ */ defineComponent({
|
|
|
2872
2880
|
id: `tab-${tab.value}`,
|
|
2873
2881
|
role: "tab",
|
|
2874
2882
|
onClick: ($event) => handleTabClick(tab.value, index)
|
|
2875
|
-
}, toDisplayString(tab.label), 11, _hoisted_3$
|
|
2883
|
+
}, toDisplayString(tab.label), 11, _hoisted_3$y);
|
|
2876
2884
|
}), 128)),
|
|
2877
2885
|
createElementVNode("div", {
|
|
2878
2886
|
class: normalizeClass(["tab-background", { "no-transition": !enableTransitions.value }]),
|
|
@@ -2883,7 +2891,7 @@ const _sfc_main$N = /* @__PURE__ */ defineComponent({
|
|
|
2883
2891
|
style: normalizeStyle(underlineStyle.value)
|
|
2884
2892
|
}, null, 6)
|
|
2885
2893
|
], 2),
|
|
2886
|
-
_ctx.$slots["after"] ? (openBlock(), createElementBlock("div", _hoisted_4$
|
|
2894
|
+
_ctx.$slots["after"] ? (openBlock(), createElementBlock("div", _hoisted_4$x, [
|
|
2887
2895
|
renderSlot(_ctx.$slots, "after", {}, void 0, true)
|
|
2888
2896
|
])) : createCommentVNode("", true)
|
|
2889
2897
|
], 6)
|
|
@@ -2896,17 +2904,17 @@ const _sfc_main$N = /* @__PURE__ */ defineComponent({
|
|
|
2896
2904
|
id: "tabpanel"
|
|
2897
2905
|
}, [
|
|
2898
2906
|
renderSlot(_ctx.$slots, "content", { activeTab: activeTab.value }, void 0, true)
|
|
2899
|
-
], 10, _hoisted_5$
|
|
2907
|
+
], 10, _hoisted_5$t)) : createCommentVNode("", true)
|
|
2900
2908
|
], 2);
|
|
2901
2909
|
};
|
|
2902
2910
|
}
|
|
2903
2911
|
});
|
|
2904
|
-
const StrandsUiTabs = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
2905
|
-
const _hoisted_1$
|
|
2912
|
+
const StrandsUiTabs = /* @__PURE__ */ _export_sfc(_sfc_main$O, [["__scopeId", "data-v-edff91a5"]]);
|
|
2913
|
+
const _hoisted_1$H = {
|
|
2906
2914
|
key: 0,
|
|
2907
2915
|
class: "ui-divider-text"
|
|
2908
2916
|
};
|
|
2909
|
-
const _sfc_main$
|
|
2917
|
+
const _sfc_main$N = /* @__PURE__ */ defineComponent({
|
|
2910
2918
|
__name: "UiDivider",
|
|
2911
2919
|
props: {
|
|
2912
2920
|
orientation: { default: "horizontal" },
|
|
@@ -2960,7 +2968,7 @@ const _sfc_main$M = /* @__PURE__ */ defineComponent({
|
|
|
2960
2968
|
]),
|
|
2961
2969
|
style: normalizeStyle(dividerStyle.value)
|
|
2962
2970
|
}, [
|
|
2963
|
-
hasText.value ? (openBlock(), createElementBlock("span", _hoisted_1$
|
|
2971
|
+
hasText.value ? (openBlock(), createElementBlock("span", _hoisted_1$H, [
|
|
2964
2972
|
renderSlot(_ctx.$slots, "default", {}, () => [
|
|
2965
2973
|
createTextVNode(toDisplayString(_ctx.text), 1)
|
|
2966
2974
|
], true)
|
|
@@ -2969,15 +2977,15 @@ const _sfc_main$M = /* @__PURE__ */ defineComponent({
|
|
|
2969
2977
|
};
|
|
2970
2978
|
}
|
|
2971
2979
|
});
|
|
2972
|
-
const UiDivider = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
2973
|
-
const _hoisted_1$
|
|
2974
|
-
const _hoisted_2$
|
|
2975
|
-
const _hoisted_3$
|
|
2976
|
-
const _hoisted_4$
|
|
2980
|
+
const UiDivider = /* @__PURE__ */ _export_sfc(_sfc_main$N, [["__scopeId", "data-v-1c798024"]]);
|
|
2981
|
+
const _hoisted_1$G = { class: "datetime-picker-wrapper" };
|
|
2982
|
+
const _hoisted_2$A = { class: "datetime-picker-leading-icon" };
|
|
2983
|
+
const _hoisted_3$x = { class: "datetime-picker-display" };
|
|
2984
|
+
const _hoisted_4$w = {
|
|
2977
2985
|
key: 0,
|
|
2978
2986
|
class: "datetime-picker-value"
|
|
2979
2987
|
};
|
|
2980
|
-
const _hoisted_5$
|
|
2988
|
+
const _hoisted_5$s = {
|
|
2981
2989
|
key: 1,
|
|
2982
2990
|
class: "datetime-picker-placeholder"
|
|
2983
2991
|
};
|
|
@@ -3010,7 +3018,7 @@ const _hoisted_20$b = {
|
|
|
3010
3018
|
};
|
|
3011
3019
|
const _hoisted_21$b = { class: "time-scroll" };
|
|
3012
3020
|
const _hoisted_22$9 = { class: "datetime-picker-footer" };
|
|
3013
|
-
const _sfc_main$
|
|
3021
|
+
const _sfc_main$M = /* @__PURE__ */ defineComponent({
|
|
3014
3022
|
__name: "UiDateTimePicker",
|
|
3015
3023
|
props: {
|
|
3016
3024
|
modelValue: {},
|
|
@@ -3342,7 +3350,7 @@ const _sfc_main$L = /* @__PURE__ */ defineComponent({
|
|
|
3342
3350
|
cleanupFloating();
|
|
3343
3351
|
});
|
|
3344
3352
|
return (_ctx, _cache) => {
|
|
3345
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
3353
|
+
return openBlock(), createElementBlock("div", _hoisted_1$G, [
|
|
3346
3354
|
createElementVNode("div", {
|
|
3347
3355
|
ref_key: "triggerElement",
|
|
3348
3356
|
ref: triggerElement,
|
|
@@ -3352,11 +3360,11 @@ const _sfc_main$L = /* @__PURE__ */ defineComponent({
|
|
|
3352
3360
|
]]),
|
|
3353
3361
|
onClick: togglePicker
|
|
3354
3362
|
}, [
|
|
3355
|
-
createElementVNode("div", _hoisted_2$
|
|
3363
|
+
createElementVNode("div", _hoisted_2$A, [
|
|
3356
3364
|
_ctx.type === "date" ? (openBlock(), createBlock(unref(Calendar), { key: 0 })) : _ctx.type === "time" ? (openBlock(), createBlock(unref(Clock), { key: 1 })) : (openBlock(), createBlock(unref(CalendarClock), { key: 2 }))
|
|
3357
3365
|
]),
|
|
3358
|
-
createElementVNode("div", _hoisted_3$
|
|
3359
|
-
displayValue.value ? (openBlock(), createElementBlock("span", _hoisted_4$
|
|
3366
|
+
createElementVNode("div", _hoisted_3$x, [
|
|
3367
|
+
displayValue.value ? (openBlock(), createElementBlock("span", _hoisted_4$w, toDisplayString(displayValue.value), 1)) : (openBlock(), createElementBlock("span", _hoisted_5$s, toDisplayString(_ctx.placeholder || getDefaultPlaceholder()), 1))
|
|
3360
3368
|
]),
|
|
3361
3369
|
_ctx.modelValue && !_ctx.disabled && !_ctx.readonly ? (openBlock(), createElementBlock("div", {
|
|
3362
3370
|
key: 0,
|
|
@@ -3611,8 +3619,8 @@ const _sfc_main$L = /* @__PURE__ */ defineComponent({
|
|
|
3611
3619
|
};
|
|
3612
3620
|
}
|
|
3613
3621
|
});
|
|
3614
|
-
const UiDateTimePicker = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
3615
|
-
const _sfc_main$
|
|
3622
|
+
const UiDateTimePicker = /* @__PURE__ */ _export_sfc(_sfc_main$M, [["__scopeId", "data-v-10c66504"]]);
|
|
3623
|
+
const _sfc_main$L = /* @__PURE__ */ defineComponent({
|
|
3616
3624
|
__name: "UiInput.Date",
|
|
3617
3625
|
props: {
|
|
3618
3626
|
modelValue: {},
|
|
@@ -3655,7 +3663,7 @@ const _sfc_main$K = /* @__PURE__ */ defineComponent({
|
|
|
3655
3663
|
};
|
|
3656
3664
|
}
|
|
3657
3665
|
});
|
|
3658
|
-
const _sfc_main$
|
|
3666
|
+
const _sfc_main$K = /* @__PURE__ */ defineComponent({
|
|
3659
3667
|
__name: "UiInput.Time",
|
|
3660
3668
|
props: {
|
|
3661
3669
|
modelValue: {},
|
|
@@ -3696,7 +3704,7 @@ const _sfc_main$J = /* @__PURE__ */ defineComponent({
|
|
|
3696
3704
|
};
|
|
3697
3705
|
}
|
|
3698
3706
|
});
|
|
3699
|
-
const _sfc_main$
|
|
3707
|
+
const _sfc_main$J = /* @__PURE__ */ defineComponent({
|
|
3700
3708
|
__name: "UiInput.DateTime",
|
|
3701
3709
|
props: {
|
|
3702
3710
|
modelValue: {},
|
|
@@ -24695,14 +24703,14 @@ var TextAlign = Extension.create({
|
|
|
24695
24703
|
});
|
|
24696
24704
|
var index_default$1 = TextAlign;
|
|
24697
24705
|
var index_default = Placeholder;
|
|
24698
|
-
const _hoisted_1$
|
|
24699
|
-
const _hoisted_2$
|
|
24700
|
-
const _hoisted_3$
|
|
24701
|
-
const _hoisted_4$
|
|
24702
|
-
const _hoisted_5$
|
|
24706
|
+
const _hoisted_1$F = { class: "input-richtext-toolbar" };
|
|
24707
|
+
const _hoisted_2$z = { class: "input-richtext-group" };
|
|
24708
|
+
const _hoisted_3$w = { class: "input-richtext-group" };
|
|
24709
|
+
const _hoisted_4$v = { class: "input-richtext-group" };
|
|
24710
|
+
const _hoisted_5$r = { class: "input-richtext-group" };
|
|
24703
24711
|
const _hoisted_6$o = { class: "input-richtext-group" };
|
|
24704
24712
|
const _hoisted_7$n = { class: "input-richtext-editor-wrapper" };
|
|
24705
|
-
const _sfc_main$
|
|
24713
|
+
const _sfc_main$I = /* @__PURE__ */ defineComponent({
|
|
24706
24714
|
__name: "UiInput.RichText",
|
|
24707
24715
|
props: {
|
|
24708
24716
|
modelValue: {},
|
|
@@ -24782,8 +24790,8 @@ const _sfc_main$H = /* @__PURE__ */ defineComponent({
|
|
|
24782
24790
|
"input-disabled": _ctx.disabled
|
|
24783
24791
|
}])
|
|
24784
24792
|
}, [
|
|
24785
|
-
createElementVNode("div", _hoisted_1$
|
|
24786
|
-
createElementVNode("div", _hoisted_2$
|
|
24793
|
+
createElementVNode("div", _hoisted_1$F, [
|
|
24794
|
+
createElementVNode("div", _hoisted_2$z, [
|
|
24787
24795
|
createVNode(StrandsUiButton, {
|
|
24788
24796
|
color: unref(editor)?.isActive("bold") ? "primary" : "secondary",
|
|
24789
24797
|
size: "sm",
|
|
@@ -24846,7 +24854,7 @@ const _sfc_main$H = /* @__PURE__ */ defineComponent({
|
|
|
24846
24854
|
spacing: "28px",
|
|
24847
24855
|
margin: "4px"
|
|
24848
24856
|
}),
|
|
24849
|
-
createElementVNode("div", _hoisted_3$
|
|
24857
|
+
createElementVNode("div", _hoisted_3$w, [
|
|
24850
24858
|
createVNode(StrandsUiButton, {
|
|
24851
24859
|
color: unref(editor)?.isActive("heading", { level: 1 }) ? "primary" : "secondary",
|
|
24852
24860
|
size: "sm",
|
|
@@ -24895,7 +24903,7 @@ const _sfc_main$H = /* @__PURE__ */ defineComponent({
|
|
|
24895
24903
|
spacing: "28px",
|
|
24896
24904
|
margin: "4px"
|
|
24897
24905
|
}),
|
|
24898
|
-
createElementVNode("div", _hoisted_4$
|
|
24906
|
+
createElementVNode("div", _hoisted_4$v, [
|
|
24899
24907
|
createVNode(StrandsUiButton, {
|
|
24900
24908
|
color: unref(editor)?.isActive({ textAlign: "left" }) ? "primary" : "secondary",
|
|
24901
24909
|
size: "sm",
|
|
@@ -24944,7 +24952,7 @@ const _sfc_main$H = /* @__PURE__ */ defineComponent({
|
|
|
24944
24952
|
spacing: "28px",
|
|
24945
24953
|
margin: "4px"
|
|
24946
24954
|
}),
|
|
24947
|
-
createElementVNode("div", _hoisted_5$
|
|
24955
|
+
createElementVNode("div", _hoisted_5$r, [
|
|
24948
24956
|
createVNode(StrandsUiButton, {
|
|
24949
24957
|
color: unref(editor)?.isActive("bulletList") ? "primary" : "secondary",
|
|
24950
24958
|
size: "sm",
|
|
@@ -25063,22 +25071,22 @@ const _sfc_main$H = /* @__PURE__ */ defineComponent({
|
|
|
25063
25071
|
};
|
|
25064
25072
|
}
|
|
25065
25073
|
});
|
|
25066
|
-
const UiInputRichText = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
25067
|
-
const _hoisted_1$
|
|
25068
|
-
const _hoisted_2$
|
|
25069
|
-
const _hoisted_3$
|
|
25074
|
+
const UiInputRichText = /* @__PURE__ */ _export_sfc(_sfc_main$I, [["__scopeId", "data-v-1031412d"]]);
|
|
25075
|
+
const _hoisted_1$E = { class: "input-container" };
|
|
25076
|
+
const _hoisted_2$y = ["for"];
|
|
25077
|
+
const _hoisted_3$v = {
|
|
25070
25078
|
key: 0,
|
|
25071
25079
|
class: "input-required"
|
|
25072
25080
|
};
|
|
25073
|
-
const _hoisted_4$
|
|
25081
|
+
const _hoisted_4$u = {
|
|
25074
25082
|
key: 9,
|
|
25075
25083
|
class: "input-error-text"
|
|
25076
25084
|
};
|
|
25077
|
-
const _hoisted_5$
|
|
25085
|
+
const _hoisted_5$q = {
|
|
25078
25086
|
key: 10,
|
|
25079
25087
|
class: "input-help-text"
|
|
25080
25088
|
};
|
|
25081
|
-
const _sfc_main$
|
|
25089
|
+
const _sfc_main$H = /* @__PURE__ */ defineComponent({
|
|
25082
25090
|
__name: "UiInput",
|
|
25083
25091
|
props: {
|
|
25084
25092
|
type: {},
|
|
@@ -25143,15 +25151,15 @@ const _sfc_main$G = /* @__PURE__ */ defineComponent({
|
|
|
25143
25151
|
emit("file-error", error);
|
|
25144
25152
|
};
|
|
25145
25153
|
return (_ctx, _cache) => {
|
|
25146
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
25154
|
+
return openBlock(), createElementBlock("div", _hoisted_1$E, [
|
|
25147
25155
|
props.label ? (openBlock(), createElementBlock("label", {
|
|
25148
25156
|
key: 0,
|
|
25149
25157
|
for: inputId.value,
|
|
25150
25158
|
class: "input-label"
|
|
25151
25159
|
}, [
|
|
25152
25160
|
createTextVNode(toDisplayString(props.label) + " ", 1),
|
|
25153
|
-
props.required ? (openBlock(), createElementBlock("span", _hoisted_3$
|
|
25154
|
-
], 8, _hoisted_2$
|
|
25161
|
+
props.required ? (openBlock(), createElementBlock("span", _hoisted_3$v, "*")) : createCommentVNode("", true)
|
|
25162
|
+
], 8, _hoisted_2$y)) : createCommentVNode("", true),
|
|
25155
25163
|
isTextInput.value ? (openBlock(), createBlock(UiInputText, {
|
|
25156
25164
|
key: 1,
|
|
25157
25165
|
"model-value": _ctx.modelValue,
|
|
@@ -25286,7 +25294,7 @@ const _sfc_main$G = /* @__PURE__ */ defineComponent({
|
|
|
25286
25294
|
]),
|
|
25287
25295
|
key: "1"
|
|
25288
25296
|
} : void 0
|
|
25289
|
-
]), 1032, ["model-value", "accept", "multiple", "max-file-size", "drag-drop-text", "selected-text", "disabled", "required", "input-id", "error", "size"])) : _ctx.type === "date" ? (openBlock(), createBlock(_sfc_main$
|
|
25297
|
+
]), 1032, ["model-value", "accept", "multiple", "max-file-size", "drag-drop-text", "selected-text", "disabled", "required", "input-id", "error", "size"])) : _ctx.type === "date" ? (openBlock(), createBlock(_sfc_main$L, {
|
|
25290
25298
|
key: 5,
|
|
25291
25299
|
"model-value": _ctx.modelValue,
|
|
25292
25300
|
placeholder: _ctx.placeholder,
|
|
@@ -25301,7 +25309,7 @@ const _sfc_main$G = /* @__PURE__ */ defineComponent({
|
|
|
25301
25309
|
"onUpdate:modelValue": handleInput,
|
|
25302
25310
|
onBlur: handleBlur,
|
|
25303
25311
|
onFocus: handleFocus
|
|
25304
|
-
}, null, 8, ["model-value", "placeholder", "disabled", "readonly", "required", "min", "max", "input-id", "error", "size"])) : _ctx.type === "time" ? (openBlock(), createBlock(_sfc_main$
|
|
25312
|
+
}, null, 8, ["model-value", "placeholder", "disabled", "readonly", "required", "min", "max", "input-id", "error", "size"])) : _ctx.type === "time" ? (openBlock(), createBlock(_sfc_main$K, {
|
|
25305
25313
|
key: 6,
|
|
25306
25314
|
"model-value": _ctx.modelValue,
|
|
25307
25315
|
placeholder: _ctx.placeholder,
|
|
@@ -25314,7 +25322,7 @@ const _sfc_main$G = /* @__PURE__ */ defineComponent({
|
|
|
25314
25322
|
"onUpdate:modelValue": handleInput,
|
|
25315
25323
|
onBlur: handleBlur,
|
|
25316
25324
|
onFocus: handleFocus
|
|
25317
|
-
}, null, 8, ["model-value", "placeholder", "disabled", "readonly", "required", "input-id", "error", "size"])) : _ctx.type === "datetime" ? (openBlock(), createBlock(_sfc_main$
|
|
25325
|
+
}, null, 8, ["model-value", "placeholder", "disabled", "readonly", "required", "input-id", "error", "size"])) : _ctx.type === "datetime" ? (openBlock(), createBlock(_sfc_main$J, {
|
|
25318
25326
|
key: 7,
|
|
25319
25327
|
"model-value": _ctx.modelValue,
|
|
25320
25328
|
placeholder: _ctx.placeholder,
|
|
@@ -25343,15 +25351,15 @@ const _sfc_main$G = /* @__PURE__ */ defineComponent({
|
|
|
25343
25351
|
onBlur: handleBlur,
|
|
25344
25352
|
onFocus: handleFocus
|
|
25345
25353
|
}, null, 8, ["model-value", "placeholder", "disabled", "readonly", "input-id", "error", "min-height", "max-height"])) : createCommentVNode("", true),
|
|
25346
|
-
props.error && props.error !== true ? (openBlock(), createElementBlock("p", _hoisted_4$
|
|
25354
|
+
props.error && props.error !== true ? (openBlock(), createElementBlock("p", _hoisted_4$u, toDisplayString(typeof props.error === "string" ? props.error : props.error?.message || String(props.error)), 1)) : props.helpText ? (openBlock(), createElementBlock("p", _hoisted_5$q, toDisplayString(props.helpText), 1)) : createCommentVNode("", true)
|
|
25347
25355
|
]);
|
|
25348
25356
|
};
|
|
25349
25357
|
}
|
|
25350
25358
|
});
|
|
25351
|
-
const StrandsUiInput = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
25352
|
-
const _hoisted_1$
|
|
25353
|
-
const _hoisted_2$
|
|
25354
|
-
const _sfc_main$
|
|
25359
|
+
const StrandsUiInput = /* @__PURE__ */ _export_sfc(_sfc_main$H, [["__scopeId", "data-v-10a4eb0c"]]);
|
|
25360
|
+
const _hoisted_1$D = ["disabled", "aria-disabled"];
|
|
25361
|
+
const _hoisted_2$x = ["href", "target", "rel", "aria-disabled"];
|
|
25362
|
+
const _sfc_main$G = /* @__PURE__ */ defineComponent({
|
|
25355
25363
|
__name: "UiLink",
|
|
25356
25364
|
props: {
|
|
25357
25365
|
href: {},
|
|
@@ -25441,7 +25449,7 @@ const _sfc_main$F = /* @__PURE__ */ defineComponent({
|
|
|
25441
25449
|
onClick: handleClick2
|
|
25442
25450
|
}, [
|
|
25443
25451
|
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
25444
|
-
], 14, _hoisted_1$
|
|
25452
|
+
], 14, _hoisted_1$D)) : (openBlock(), createElementBlock("a", {
|
|
25445
25453
|
key: 1,
|
|
25446
25454
|
class: normalizeClass(["ui-link", [
|
|
25447
25455
|
`ui-link-${_ctx.variant}`,
|
|
@@ -25457,13 +25465,13 @@ const _sfc_main$F = /* @__PURE__ */ defineComponent({
|
|
|
25457
25465
|
onClick: handleClick2
|
|
25458
25466
|
}, [
|
|
25459
25467
|
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
25460
|
-
], 14, _hoisted_2$
|
|
25468
|
+
], 14, _hoisted_2$x));
|
|
25461
25469
|
};
|
|
25462
25470
|
}
|
|
25463
25471
|
});
|
|
25464
|
-
const StrandsUiLink = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
25465
|
-
const _hoisted_1$
|
|
25466
|
-
const _sfc_main$
|
|
25472
|
+
const StrandsUiLink = /* @__PURE__ */ _export_sfc(_sfc_main$G, [["__scopeId", "data-v-3bf99110"]]);
|
|
25473
|
+
const _hoisted_1$C = ["aria-pressed", "aria-labelledby"];
|
|
25474
|
+
const _sfc_main$F = /* @__PURE__ */ defineComponent({
|
|
25467
25475
|
__name: "UiToggle",
|
|
25468
25476
|
props: {
|
|
25469
25477
|
modelValue: { type: Boolean, default: false },
|
|
@@ -25503,19 +25511,19 @@ const _sfc_main$E = /* @__PURE__ */ defineComponent({
|
|
|
25503
25511
|
createElementVNode("span", {
|
|
25504
25512
|
class: normalizeClass(["ui-toggle-thumb", thumbClasses.value])
|
|
25505
25513
|
}, null, 2)
|
|
25506
|
-
], 10, _hoisted_1$
|
|
25514
|
+
], 10, _hoisted_1$C);
|
|
25507
25515
|
};
|
|
25508
25516
|
}
|
|
25509
25517
|
});
|
|
25510
|
-
const UiToggle = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
25511
|
-
const _hoisted_1$
|
|
25512
|
-
const _hoisted_2$
|
|
25513
|
-
const _hoisted_3$
|
|
25518
|
+
const UiToggle = /* @__PURE__ */ _export_sfc(_sfc_main$F, [["__scopeId", "data-v-6c2fb8dd"]]);
|
|
25519
|
+
const _hoisted_1$B = { class: "accui-component-scope" };
|
|
25520
|
+
const _hoisted_2$w = { class: "avatar-editor-simple" };
|
|
25521
|
+
const _hoisted_3$u = {
|
|
25514
25522
|
key: 1,
|
|
25515
25523
|
class: "editor-container"
|
|
25516
25524
|
};
|
|
25517
|
-
const _hoisted_4$
|
|
25518
|
-
const _hoisted_5$
|
|
25525
|
+
const _hoisted_4$t = { class: "editor-main" };
|
|
25526
|
+
const _hoisted_5$p = { class: "canvas-container" };
|
|
25519
25527
|
const _hoisted_6$n = ["width", "height"];
|
|
25520
25528
|
const _hoisted_7$m = { class: "crop-overlay" };
|
|
25521
25529
|
const _hoisted_8$l = { class: "crop-backdrop" };
|
|
@@ -25533,7 +25541,7 @@ const _hoisted_19$c = { class: "action-buttons" };
|
|
|
25533
25541
|
const _hoisted_20$a = { class: "preview-section" };
|
|
25534
25542
|
const _hoisted_21$a = { class: "preview-container" };
|
|
25535
25543
|
const _hoisted_22$8 = ["width", "height"];
|
|
25536
|
-
const _sfc_main$
|
|
25544
|
+
const _sfc_main$E = /* @__PURE__ */ defineComponent({
|
|
25537
25545
|
__name: "UiAvatarEditor",
|
|
25538
25546
|
props: {
|
|
25539
25547
|
size: { default: 300 },
|
|
@@ -25824,8 +25832,8 @@ const _sfc_main$D = /* @__PURE__ */ defineComponent({
|
|
|
25824
25832
|
}
|
|
25825
25833
|
}, { immediate: true });
|
|
25826
25834
|
return (_ctx, _cache) => {
|
|
25827
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
25828
|
-
createElementVNode("div", _hoisted_2$
|
|
25835
|
+
return openBlock(), createElementBlock("div", _hoisted_1$B, [
|
|
25836
|
+
createElementVNode("div", _hoisted_2$w, [
|
|
25829
25837
|
createElementVNode("input", {
|
|
25830
25838
|
ref_key: "fileInput",
|
|
25831
25839
|
ref: fileInput,
|
|
@@ -25845,9 +25853,9 @@ const _sfc_main$D = /* @__PURE__ */ defineComponent({
|
|
|
25845
25853
|
}, ["prevent"]))
|
|
25846
25854
|
}, [..._cache[6] || (_cache[6] = [
|
|
25847
25855
|
createStaticVNode('<div class="upload-content"><svg class="upload-icon" fill="none" stroke="currentColor" viewBox="0 0 24 24"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="M4 16l4.586-4.586a2 2 0 012.828 0L16 16m-2-2l1.586-1.586a2 2 0 012.828 0L20 14m-6-6h.01M6 20h12a2 2 0 002-2V6a2 2 0 00-2-2H6a2 2 0 00-2 2v12a2 2 0 002 2z"></path></svg><h3 class="upload-title">Upload your photo</h3><p class="upload-subtitle">Drag and drop or click to browse</p><div class="upload-formats"><span class="format-tag">JPG</span><span class="format-tag">PNG</span><span class="format-tag">GIF</span></div></div>', 1)
|
|
25848
|
-
])], 32)) : (openBlock(), createElementBlock("div", _hoisted_3$
|
|
25849
|
-
createElementVNode("div", _hoisted_4$
|
|
25850
|
-
createElementVNode("div", _hoisted_5$
|
|
25856
|
+
])], 32)) : (openBlock(), createElementBlock("div", _hoisted_3$u, [
|
|
25857
|
+
createElementVNode("div", _hoisted_4$t, [
|
|
25858
|
+
createElementVNode("div", _hoisted_5$p, [
|
|
25851
25859
|
createElementVNode("canvas", {
|
|
25852
25860
|
ref_key: "canvas",
|
|
25853
25861
|
ref: canvas,
|
|
@@ -26312,11 +26320,11 @@ class SoundEffects {
|
|
|
26312
26320
|
}
|
|
26313
26321
|
}
|
|
26314
26322
|
const playLevelUp = (level, userSettings) => SoundEffects.playLevelUp(level, userSettings);
|
|
26315
|
-
const _hoisted_1$
|
|
26316
|
-
const _hoisted_2$
|
|
26317
|
-
const _hoisted_3$
|
|
26318
|
-
const _hoisted_4$
|
|
26319
|
-
const _hoisted_5$
|
|
26323
|
+
const _hoisted_1$A = { class: "level-progress-container" };
|
|
26324
|
+
const _hoisted_2$v = ["width", "height", "viewBox"];
|
|
26325
|
+
const _hoisted_3$t = { key: 0 };
|
|
26326
|
+
const _hoisted_4$s = ["r"];
|
|
26327
|
+
const _hoisted_5$o = ["y"];
|
|
26320
26328
|
const _hoisted_6$m = ["d", "stroke-width"];
|
|
26321
26329
|
const _hoisted_7$l = ["d", "stroke", "stroke-width"];
|
|
26322
26330
|
const _hoisted_8$k = ["d"];
|
|
@@ -26342,7 +26350,7 @@ const INNER_GAP = 18;
|
|
|
26342
26350
|
const ANIMATION_DURATION = 600;
|
|
26343
26351
|
const LABEL_EXTRA_DEGREES = 12;
|
|
26344
26352
|
const LABEL_CHAR_DEGREES = 8;
|
|
26345
|
-
const _sfc_main$
|
|
26353
|
+
const _sfc_main$D = /* @__PURE__ */ defineComponent({
|
|
26346
26354
|
__name: "UiLevelProgress",
|
|
26347
26355
|
props: {
|
|
26348
26356
|
value: {},
|
|
@@ -26497,21 +26505,21 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
|
|
|
26497
26505
|
prevLevel = newLevel;
|
|
26498
26506
|
});
|
|
26499
26507
|
return (_ctx, _cache) => {
|
|
26500
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
26508
|
+
return openBlock(), createElementBlock("div", _hoisted_1$A, [
|
|
26501
26509
|
(openBlock(), createElementBlock("svg", {
|
|
26502
26510
|
width: unref(size),
|
|
26503
26511
|
height: unref(size),
|
|
26504
26512
|
viewBox: `0 0 ${unref(viewBox)} ${unref(viewBox)}`,
|
|
26505
26513
|
style: { "position": "relative" }
|
|
26506
26514
|
}, [
|
|
26507
|
-
levelUpActive.value ? (openBlock(), createElementBlock("g", _hoisted_3$
|
|
26515
|
+
levelUpActive.value ? (openBlock(), createElementBlock("g", _hoisted_3$t, [
|
|
26508
26516
|
createElementVNode("circle", {
|
|
26509
26517
|
cx: center,
|
|
26510
26518
|
cy: center,
|
|
26511
26519
|
r: innerCircleRadius.value,
|
|
26512
26520
|
fill: "#a800ff",
|
|
26513
26521
|
opacity: "0.92"
|
|
26514
|
-
}, null, 8, _hoisted_4$
|
|
26522
|
+
}, null, 8, _hoisted_4$s),
|
|
26515
26523
|
createElementVNode("text", {
|
|
26516
26524
|
x: center,
|
|
26517
26525
|
y: center + 15,
|
|
@@ -26520,7 +26528,7 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
|
|
|
26520
26528
|
"font-weight": "bold",
|
|
26521
26529
|
fill: "#fff",
|
|
26522
26530
|
style: { "font-family": "'Montserrat', sans-serif" }
|
|
26523
|
-
}, "Level Up", 8, _hoisted_5$
|
|
26531
|
+
}, "Level Up", 8, _hoisted_5$o)
|
|
26524
26532
|
])) : createCommentVNode("", true),
|
|
26525
26533
|
animatedValue.value >= 0 && animatedValue.value < props.max ? (openBlock(), createElementBlock("path", {
|
|
26526
26534
|
key: 1,
|
|
@@ -26590,12 +26598,12 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
|
|
|
26590
26598
|
}, null, -1)
|
|
26591
26599
|
])], 8, _hoisted_12$j)
|
|
26592
26600
|
])
|
|
26593
|
-
], 8, _hoisted_2$
|
|
26601
|
+
], 8, _hoisted_2$v))
|
|
26594
26602
|
]);
|
|
26595
26603
|
};
|
|
26596
26604
|
}
|
|
26597
26605
|
});
|
|
26598
|
-
const UiLevelProgress = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
26606
|
+
const UiLevelProgress = /* @__PURE__ */ _export_sfc(_sfc_main$D, [["__scopeId", "data-v-410a88ab"]]);
|
|
26599
26607
|
class ModalStack {
|
|
26600
26608
|
stack = [];
|
|
26601
26609
|
escapeHandlerRegistered = false;
|
|
@@ -26792,16 +26800,16 @@ function useGlobalModalStack() {
|
|
|
26792
26800
|
}
|
|
26793
26801
|
};
|
|
26794
26802
|
}
|
|
26795
|
-
const _hoisted_1$
|
|
26803
|
+
const _hoisted_1$z = {
|
|
26796
26804
|
key: 0,
|
|
26797
26805
|
class: "ui-modal-backdrop",
|
|
26798
26806
|
role: "dialog",
|
|
26799
26807
|
"aria-modal": "true"
|
|
26800
26808
|
};
|
|
26801
|
-
const _hoisted_2$
|
|
26802
|
-
const _hoisted_3$
|
|
26803
|
-
const _hoisted_4$
|
|
26804
|
-
const _sfc_main$
|
|
26809
|
+
const _hoisted_2$u = { class: "ui-modal-header-content" };
|
|
26810
|
+
const _hoisted_3$s = { class: "ui-modal-title" };
|
|
26811
|
+
const _hoisted_4$r = { key: 0 };
|
|
26812
|
+
const _sfc_main$C = /* @__PURE__ */ defineComponent({
|
|
26805
26813
|
__name: "UiModal",
|
|
26806
26814
|
props: {
|
|
26807
26815
|
modelValue: { type: Boolean, default: void 0 },
|
|
@@ -26953,7 +26961,7 @@ const _sfc_main$B = /* @__PURE__ */ defineComponent({
|
|
|
26953
26961
|
}, [
|
|
26954
26962
|
createVNode(Transition, { name: "modal" }, {
|
|
26955
26963
|
default: withCtx(() => [
|
|
26956
|
-
isModalOpen.value ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
26964
|
+
isModalOpen.value ? (openBlock(), createElementBlock("div", _hoisted_1$z, [
|
|
26957
26965
|
createElementVNode("div", {
|
|
26958
26966
|
class: "ui-modal-container",
|
|
26959
26967
|
ref_key: "modalContainer",
|
|
@@ -26968,14 +26976,14 @@ const _sfc_main$B = /* @__PURE__ */ defineComponent({
|
|
|
26968
26976
|
tabindex: "-1"
|
|
26969
26977
|
}, createSlots({
|
|
26970
26978
|
header: withCtx(() => [
|
|
26971
|
-
createElementVNode("div", _hoisted_2$
|
|
26972
|
-
createElementVNode("div", _hoisted_3$
|
|
26979
|
+
createElementVNode("div", _hoisted_2$u, [
|
|
26980
|
+
createElementVNode("div", _hoisted_3$s, [
|
|
26973
26981
|
renderSlot(_ctx.$slots, "header", {
|
|
26974
26982
|
handleClose: closeModal,
|
|
26975
26983
|
isOpen: isModalOpen.value,
|
|
26976
26984
|
openModal
|
|
26977
26985
|
}, () => [
|
|
26978
|
-
_ctx.$props.title ? (openBlock(), createElementBlock("h2", _hoisted_4$
|
|
26986
|
+
_ctx.$props.title ? (openBlock(), createElementBlock("h2", _hoisted_4$r, toDisplayString(_ctx.$props.title), 1)) : createCommentVNode("", true)
|
|
26979
26987
|
], true)
|
|
26980
26988
|
]),
|
|
26981
26989
|
_ctx.showCloseButton ? (openBlock(), createElementBlock("button", {
|
|
@@ -27025,7 +27033,7 @@ const _sfc_main$B = /* @__PURE__ */ defineComponent({
|
|
|
27025
27033
|
};
|
|
27026
27034
|
}
|
|
27027
27035
|
});
|
|
27028
|
-
const UiModal = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
27036
|
+
const UiModal = /* @__PURE__ */ _export_sfc(_sfc_main$C, [["__scopeId", "data-v-dece6264"]]);
|
|
27029
27037
|
const tailwindColors = {
|
|
27030
27038
|
"#000000": {
|
|
27031
27039
|
label: "Black"
|
|
@@ -27628,11 +27636,11 @@ const tailwindColors = {
|
|
|
27628
27636
|
]
|
|
27629
27637
|
}
|
|
27630
27638
|
};
|
|
27631
|
-
const _hoisted_1$
|
|
27632
|
-
const _hoisted_2$
|
|
27633
|
-
const _hoisted_3$
|
|
27634
|
-
const _hoisted_4$
|
|
27635
|
-
const _hoisted_5$
|
|
27639
|
+
const _hoisted_1$y = { class: "ui-color-picker" };
|
|
27640
|
+
const _hoisted_2$t = { class: "ui-color-picker-main" };
|
|
27641
|
+
const _hoisted_3$r = ["viewBox"];
|
|
27642
|
+
const _hoisted_4$q = ["d"];
|
|
27643
|
+
const _hoisted_5$n = ["d"];
|
|
27636
27644
|
const _hoisted_6$l = ["d"];
|
|
27637
27645
|
const _hoisted_7$k = ["d"];
|
|
27638
27646
|
const _hoisted_8$j = ["d"];
|
|
@@ -27711,7 +27719,7 @@ const _hoisted_50$1 = { class: "ui-color-picker-swatch-row ui-color-picker-swatc
|
|
|
27711
27719
|
const _hoisted_51$1 = ["onClick"];
|
|
27712
27720
|
const GLOBAL_PICKER_WIDTH = 200;
|
|
27713
27721
|
const GLOBAL_PICKER_HEIGHT = 150;
|
|
27714
|
-
const _sfc_main$
|
|
27722
|
+
const _sfc_main$B = /* @__PURE__ */ defineComponent({
|
|
27715
27723
|
__name: "UiColorPicker.Picker",
|
|
27716
27724
|
props: {
|
|
27717
27725
|
contrastLabel: {},
|
|
@@ -29256,8 +29264,8 @@ const _sfc_main$A = /* @__PURE__ */ defineComponent({
|
|
|
29256
29264
|
document.removeEventListener("touchend", handleAreaMouseUp);
|
|
29257
29265
|
});
|
|
29258
29266
|
return (_ctx, _cache) => {
|
|
29259
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
29260
|
-
createElementVNode("div", _hoisted_2$
|
|
29267
|
+
return openBlock(), createElementBlock("div", _hoisted_1$y, [
|
|
29268
|
+
createElementVNode("div", _hoisted_2$t, [
|
|
29261
29269
|
createElementVNode("div", {
|
|
29262
29270
|
ref_key: "colorAreaRef",
|
|
29263
29271
|
ref: colorAreaRef,
|
|
@@ -29325,14 +29333,14 @@ const _sfc_main$A = /* @__PURE__ */ defineComponent({
|
|
|
29325
29333
|
fill: "url(#orangeDotsPattern)",
|
|
29326
29334
|
"clip-path": "url(#canvasClip)",
|
|
29327
29335
|
opacity: "0.4"
|
|
29328
|
-
}, null, 8, _hoisted_4$
|
|
29336
|
+
}, null, 8, _hoisted_4$q)) : createCommentVNode("", true),
|
|
29329
29337
|
contrastDotsLargeTextPath.value ? (openBlock(), createElementBlock("path", {
|
|
29330
29338
|
key: 1,
|
|
29331
29339
|
d: contrastDotsLargeTextPath.value,
|
|
29332
29340
|
fill: "url(#redDotsPattern)",
|
|
29333
29341
|
"clip-path": "url(#canvasClip)",
|
|
29334
29342
|
opacity: "0.4"
|
|
29335
|
-
}, null, 8, _hoisted_5$
|
|
29343
|
+
}, null, 8, _hoisted_5$n)) : createCommentVNode("", true),
|
|
29336
29344
|
contrastBoundaryTopCurve.value ? (openBlock(), createElementBlock("path", {
|
|
29337
29345
|
key: 2,
|
|
29338
29346
|
d: contrastBoundaryTopCurve.value,
|
|
@@ -29379,7 +29387,7 @@ const _sfc_main$A = /* @__PURE__ */ defineComponent({
|
|
|
29379
29387
|
"stroke-opacity": "0.5",
|
|
29380
29388
|
"clip-path": "url(#canvasClip)"
|
|
29381
29389
|
}, null, 8, _hoisted_9$i)) : createCommentVNode("", true)
|
|
29382
|
-
], 8, _hoisted_3$
|
|
29390
|
+
], 8, _hoisted_3$r)) : createCommentVNode("", true)
|
|
29383
29391
|
], 2)) : createCommentVNode("", true),
|
|
29384
29392
|
createElementVNode("div", {
|
|
29385
29393
|
class: "ui-color-picker-cursor",
|
|
@@ -29898,10 +29906,10 @@ const _sfc_main$A = /* @__PURE__ */ defineComponent({
|
|
|
29898
29906
|
};
|
|
29899
29907
|
}
|
|
29900
29908
|
});
|
|
29901
|
-
const UiColorPickerPicker = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
29902
|
-
const _hoisted_1$
|
|
29903
|
-
const _hoisted_2$
|
|
29904
|
-
const _sfc_main$
|
|
29909
|
+
const UiColorPickerPicker = /* @__PURE__ */ _export_sfc(_sfc_main$B, [["__scopeId", "data-v-24473a61"]]);
|
|
29910
|
+
const _hoisted_1$x = { class: "ui-color-picker-button-container" };
|
|
29911
|
+
const _hoisted_2$s = { class: "ui-color-picker-button-preview" };
|
|
29912
|
+
const _sfc_main$A = /* @__PURE__ */ defineComponent({
|
|
29905
29913
|
__name: "UiColorPicker.Button",
|
|
29906
29914
|
props: {
|
|
29907
29915
|
modelValue: {},
|
|
@@ -29985,7 +29993,7 @@ const _sfc_main$z = /* @__PURE__ */ defineComponent({
|
|
|
29985
29993
|
cleanupFloating();
|
|
29986
29994
|
});
|
|
29987
29995
|
return (_ctx, _cache) => {
|
|
29988
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
29996
|
+
return openBlock(), createElementBlock("div", _hoisted_1$x, [
|
|
29989
29997
|
createVNode(StrandsUiButton, {
|
|
29990
29998
|
ref_key: "buttonRef",
|
|
29991
29999
|
ref: buttonRef,
|
|
@@ -29994,7 +30002,7 @@ const _sfc_main$z = /* @__PURE__ */ defineComponent({
|
|
|
29994
30002
|
onClick: togglePopover
|
|
29995
30003
|
}, {
|
|
29996
30004
|
"leading-icon": withCtx(() => [
|
|
29997
|
-
createElementVNode("div", _hoisted_2$
|
|
30005
|
+
createElementVNode("div", _hoisted_2$s, [
|
|
29998
30006
|
createElementVNode("div", {
|
|
29999
30007
|
class: "ui-color-picker-button-color",
|
|
30000
30008
|
style: normalizeStyle({ backgroundColor: currentColorString.value })
|
|
@@ -30029,8 +30037,8 @@ const _sfc_main$z = /* @__PURE__ */ defineComponent({
|
|
|
30029
30037
|
};
|
|
30030
30038
|
}
|
|
30031
30039
|
});
|
|
30032
|
-
const UiColorPickerButton = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
30033
|
-
const _sfc_main$
|
|
30040
|
+
const UiColorPickerButton = /* @__PURE__ */ _export_sfc(_sfc_main$A, [["__scopeId", "data-v-a03d15a6"]]);
|
|
30041
|
+
const _sfc_main$z = /* @__PURE__ */ defineComponent({
|
|
30034
30042
|
__name: "UiColorPicker",
|
|
30035
30043
|
props: {
|
|
30036
30044
|
modelValue: { default: "#EA00A8" },
|
|
@@ -30084,8 +30092,8 @@ const _sfc_main$y = /* @__PURE__ */ defineComponent({
|
|
|
30084
30092
|
};
|
|
30085
30093
|
}
|
|
30086
30094
|
});
|
|
30087
|
-
const _hoisted_1$
|
|
30088
|
-
const _sfc_main$
|
|
30095
|
+
const _hoisted_1$w = { class: "ui-tooltip-content" };
|
|
30096
|
+
const _sfc_main$y = /* @__PURE__ */ defineComponent({
|
|
30089
30097
|
__name: "UiTooltip",
|
|
30090
30098
|
props: {
|
|
30091
30099
|
content: { default: "" },
|
|
@@ -30208,7 +30216,7 @@ const _sfc_main$x = /* @__PURE__ */ defineComponent({
|
|
|
30208
30216
|
style: normalizeStyle(tooltipStyle.value),
|
|
30209
30217
|
role: "tooltip"
|
|
30210
30218
|
}, [
|
|
30211
|
-
createElementVNode("div", _hoisted_1$
|
|
30219
|
+
createElementVNode("div", _hoisted_1$w, [
|
|
30212
30220
|
renderSlot(_ctx.$slots, "tooltip", {}, () => [
|
|
30213
30221
|
createTextVNode(toDisplayString(_ctx.content), 1)
|
|
30214
30222
|
], true)
|
|
@@ -30222,15 +30230,15 @@ const _sfc_main$x = /* @__PURE__ */ defineComponent({
|
|
|
30222
30230
|
};
|
|
30223
30231
|
}
|
|
30224
30232
|
});
|
|
30225
|
-
const UiTooltip = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
30226
|
-
const _hoisted_1$
|
|
30227
|
-
const _hoisted_2$
|
|
30233
|
+
const UiTooltip = /* @__PURE__ */ _export_sfc(_sfc_main$y, [["__scopeId", "data-v-614c492f"]]);
|
|
30234
|
+
const _hoisted_1$v = { class: "ui-table-container" };
|
|
30235
|
+
const _hoisted_2$r = {
|
|
30228
30236
|
key: 0,
|
|
30229
30237
|
class: "ui-table-header"
|
|
30230
30238
|
};
|
|
30231
|
-
const _hoisted_3$
|
|
30232
|
-
const _hoisted_4$
|
|
30233
|
-
const _hoisted_5$
|
|
30239
|
+
const _hoisted_3$q = ["onDragenter", "onDrop"];
|
|
30240
|
+
const _hoisted_4$p = { class: "ui-table-header-content" };
|
|
30241
|
+
const _hoisted_5$m = ["onClick"];
|
|
30234
30242
|
const _hoisted_6$k = ["onDragstart"];
|
|
30235
30243
|
const _hoisted_7$j = {
|
|
30236
30244
|
key: 1,
|
|
@@ -30263,7 +30271,7 @@ const _hoisted_25$5 = {
|
|
|
30263
30271
|
key: 1,
|
|
30264
30272
|
class: "ui-table-footer"
|
|
30265
30273
|
};
|
|
30266
|
-
const _sfc_main$
|
|
30274
|
+
const _sfc_main$x = /* @__PURE__ */ defineComponent({
|
|
30267
30275
|
__name: "UiTable",
|
|
30268
30276
|
props: {
|
|
30269
30277
|
columns: {},
|
|
@@ -30517,7 +30525,7 @@ const _sfc_main$w = /* @__PURE__ */ defineComponent({
|
|
|
30517
30525
|
return groupCount;
|
|
30518
30526
|
};
|
|
30519
30527
|
return (_ctx, _cache) => {
|
|
30520
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
30528
|
+
return openBlock(), createElementBlock("div", _hoisted_1$v, [
|
|
30521
30529
|
createElementVNode("div", {
|
|
30522
30530
|
ref_key: "tableRef",
|
|
30523
30531
|
ref: tableRef,
|
|
@@ -30532,7 +30540,7 @@ const _sfc_main$w = /* @__PURE__ */ defineComponent({
|
|
|
30532
30540
|
]),
|
|
30533
30541
|
style: normalizeStyle(tableStyle.value)
|
|
30534
30542
|
}, [
|
|
30535
|
-
_ctx.columns.length > 0 ? (openBlock(), createElementBlock("div", _hoisted_2$
|
|
30543
|
+
_ctx.columns.length > 0 ? (openBlock(), createElementBlock("div", _hoisted_2$r, [
|
|
30536
30544
|
(openBlock(true), createElementBlock(Fragment$1, null, renderList(_ctx.columns, (column, index) => {
|
|
30537
30545
|
return openBlock(), createElementBlock("div", {
|
|
30538
30546
|
key: `header-${index}`,
|
|
@@ -30556,7 +30564,7 @@ const _sfc_main$w = /* @__PURE__ */ defineComponent({
|
|
|
30556
30564
|
onDrop: ($event) => handleDrop($event, index),
|
|
30557
30565
|
style: normalizeStyle(getHeaderColumnTransform(index))
|
|
30558
30566
|
}, [
|
|
30559
|
-
createElementVNode("div", _hoisted_4$
|
|
30567
|
+
createElementVNode("div", _hoisted_4$p, [
|
|
30560
30568
|
createElementVNode("div", {
|
|
30561
30569
|
class: "ui-table-header-main",
|
|
30562
30570
|
onClick: ($event) => column.sortable ? handleSort(column.key) : null
|
|
@@ -30583,7 +30591,7 @@ const _sfc_main$w = /* @__PURE__ */ defineComponent({
|
|
|
30583
30591
|
size: 16
|
|
30584
30592
|
}))
|
|
30585
30593
|
])) : createCommentVNode("", true)
|
|
30586
|
-
], 8, _hoisted_5$
|
|
30594
|
+
], 8, _hoisted_5$m),
|
|
30587
30595
|
createElementVNode("div", _hoisted_8$i, [
|
|
30588
30596
|
_ctx.filterable || column.filterable ? (openBlock(), createElementBlock("button", {
|
|
30589
30597
|
key: 0,
|
|
@@ -30629,7 +30637,7 @@ const _sfc_main$w = /* @__PURE__ */ defineComponent({
|
|
|
30629
30637
|
[vModelSelect, filters.value[column.key]]
|
|
30630
30638
|
]) : createCommentVNode("", true)
|
|
30631
30639
|
])) : createCommentVNode("", true)
|
|
30632
|
-
], 46, _hoisted_3$
|
|
30640
|
+
], 46, _hoisted_3$q);
|
|
30633
30641
|
}), 128))
|
|
30634
30642
|
])) : createCommentVNode("", true),
|
|
30635
30643
|
createElementVNode("div", _hoisted_16$d, [
|
|
@@ -30747,21 +30755,21 @@ const _sfc_main$w = /* @__PURE__ */ defineComponent({
|
|
|
30747
30755
|
};
|
|
30748
30756
|
}
|
|
30749
30757
|
});
|
|
30750
|
-
const UiTable = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
30751
|
-
const _hoisted_1$
|
|
30752
|
-
const _hoisted_2$
|
|
30758
|
+
const UiTable = /* @__PURE__ */ _export_sfc(_sfc_main$x, [["__scopeId", "data-v-263368b2"]]);
|
|
30759
|
+
const _hoisted_1$u = { class: "ui-hero-content" };
|
|
30760
|
+
const _hoisted_2$q = {
|
|
30753
30761
|
key: 0,
|
|
30754
30762
|
class: "ui-hero-header"
|
|
30755
30763
|
};
|
|
30756
|
-
const _hoisted_3$
|
|
30764
|
+
const _hoisted_3$p = {
|
|
30757
30765
|
key: 0,
|
|
30758
30766
|
class: "ui-hero-title"
|
|
30759
30767
|
};
|
|
30760
|
-
const _hoisted_4$
|
|
30768
|
+
const _hoisted_4$o = {
|
|
30761
30769
|
key: 1,
|
|
30762
30770
|
class: "ui-hero-description"
|
|
30763
30771
|
};
|
|
30764
|
-
const _hoisted_5$
|
|
30772
|
+
const _hoisted_5$l = {
|
|
30765
30773
|
key: 1,
|
|
30766
30774
|
class: "ui-hero-navigation"
|
|
30767
30775
|
};
|
|
@@ -30777,7 +30785,7 @@ const _hoisted_8$h = {
|
|
|
30777
30785
|
key: 1,
|
|
30778
30786
|
class: "ui-hero-background"
|
|
30779
30787
|
};
|
|
30780
|
-
const _sfc_main$
|
|
30788
|
+
const _sfc_main$w = /* @__PURE__ */ defineComponent({
|
|
30781
30789
|
__name: "UiHero",
|
|
30782
30790
|
props: {
|
|
30783
30791
|
variant: { default: "minimal" },
|
|
@@ -30852,14 +30860,14 @@ const _sfc_main$v = /* @__PURE__ */ defineComponent({
|
|
|
30852
30860
|
]]),
|
|
30853
30861
|
style: normalizeStyle(heroStyles.value)
|
|
30854
30862
|
}, [
|
|
30855
|
-
createElementVNode("div", _hoisted_1$
|
|
30856
|
-
hasHeaderSlot.value || _ctx.title || _ctx.description ? (openBlock(), createElementBlock("div", _hoisted_2$
|
|
30863
|
+
createElementVNode("div", _hoisted_1$u, [
|
|
30864
|
+
hasHeaderSlot.value || _ctx.title || _ctx.description ? (openBlock(), createElementBlock("div", _hoisted_2$q, [
|
|
30857
30865
|
renderSlot(_ctx.$slots, "header", {}, () => [
|
|
30858
|
-
_ctx.title ? (openBlock(), createElementBlock("h1", _hoisted_3$
|
|
30859
|
-
_ctx.description ? (openBlock(), createElementBlock("p", _hoisted_4$
|
|
30866
|
+
_ctx.title ? (openBlock(), createElementBlock("h1", _hoisted_3$p, toDisplayString(_ctx.title), 1)) : createCommentVNode("", true),
|
|
30867
|
+
_ctx.description ? (openBlock(), createElementBlock("p", _hoisted_4$o, toDisplayString(_ctx.description), 1)) : createCommentVNode("", true)
|
|
30860
30868
|
], true)
|
|
30861
30869
|
])) : createCommentVNode("", true),
|
|
30862
|
-
hasNavigationSlot.value ? (openBlock(), createElementBlock("div", _hoisted_5$
|
|
30870
|
+
hasNavigationSlot.value ? (openBlock(), createElementBlock("div", _hoisted_5$l, [
|
|
30863
30871
|
renderSlot(_ctx.$slots, "navigation", {}, void 0, true)
|
|
30864
30872
|
])) : createCommentVNode("", true),
|
|
30865
30873
|
hasDefaultSlot.value ? (openBlock(), createElementBlock("div", _hoisted_6$j, [
|
|
@@ -30876,7 +30884,7 @@ const _sfc_main$v = /* @__PURE__ */ defineComponent({
|
|
|
30876
30884
|
};
|
|
30877
30885
|
}
|
|
30878
30886
|
});
|
|
30879
|
-
const UiHero = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
30887
|
+
const UiHero = /* @__PURE__ */ _export_sfc(_sfc_main$w, [["__scopeId", "data-v-00e0d581"]]);
|
|
30880
30888
|
const currentTheme = ref("system");
|
|
30881
30889
|
const systemPrefersDark = ref(false);
|
|
30882
30890
|
const STORAGE_KEY = "strands-ui-theme";
|
|
@@ -31062,14 +31070,14 @@ function useTheme(fallbackTheme = "auto") {
|
|
|
31062
31070
|
themeClass
|
|
31063
31071
|
};
|
|
31064
31072
|
}
|
|
31065
|
-
const _hoisted_1$
|
|
31066
|
-
const _hoisted_2$
|
|
31067
|
-
const _hoisted_3$
|
|
31073
|
+
const _hoisted_1$t = { class: "accui-component-scope" };
|
|
31074
|
+
const _hoisted_2$p = { class: "ui-theme-toggle" };
|
|
31075
|
+
const _hoisted_3$o = {
|
|
31068
31076
|
key: 1,
|
|
31069
31077
|
class: "ui-theme-toggle-dropdown"
|
|
31070
31078
|
};
|
|
31071
|
-
const _hoisted_4$
|
|
31072
|
-
const _hoisted_5$
|
|
31079
|
+
const _hoisted_4$n = ["disabled", "onClick"];
|
|
31080
|
+
const _hoisted_5$k = {
|
|
31073
31081
|
key: 0,
|
|
31074
31082
|
class: "ui-theme-toggle-option-indicator"
|
|
31075
31083
|
};
|
|
@@ -31079,7 +31087,7 @@ const _hoisted_6$i = {
|
|
|
31079
31087
|
role: "group",
|
|
31080
31088
|
"aria-label": "Theme selection"
|
|
31081
31089
|
};
|
|
31082
|
-
const _sfc_main$
|
|
31090
|
+
const _sfc_main$v = /* @__PURE__ */ defineComponent({
|
|
31083
31091
|
__name: "UiThemeToggle",
|
|
31084
31092
|
props: {
|
|
31085
31093
|
variant: { default: "button" },
|
|
@@ -31129,8 +31137,8 @@ const _sfc_main$u = /* @__PURE__ */ defineComponent({
|
|
|
31129
31137
|
document.removeEventListener("click", handleClickOutside);
|
|
31130
31138
|
});
|
|
31131
31139
|
return (_ctx, _cache) => {
|
|
31132
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
31133
|
-
createElementVNode("div", _hoisted_2$
|
|
31140
|
+
return openBlock(), createElementBlock("div", _hoisted_1$t, [
|
|
31141
|
+
createElementVNode("div", _hoisted_2$p, [
|
|
31134
31142
|
_ctx.variant === "button" ? (openBlock(), createBlock(StrandsUiButton, {
|
|
31135
31143
|
key: 0,
|
|
31136
31144
|
icon: true,
|
|
@@ -31146,7 +31154,7 @@ const _sfc_main$u = /* @__PURE__ */ defineComponent({
|
|
|
31146
31154
|
(openBlock(), createBlock(resolveDynamicComponent(getIconComponent(currentIcon.value))))
|
|
31147
31155
|
]),
|
|
31148
31156
|
_: 1
|
|
31149
|
-
}, 8, ["size", "disabled", "title", "class"])) : _ctx.variant === "dropdown" ? (openBlock(), createElementBlock("div", _hoisted_3$
|
|
31157
|
+
}, 8, ["size", "disabled", "title", "class"])) : _ctx.variant === "dropdown" ? (openBlock(), createElementBlock("div", _hoisted_3$o, [
|
|
31150
31158
|
createVNode(StrandsUiButton, {
|
|
31151
31159
|
squircle: true,
|
|
31152
31160
|
variant: "ghost",
|
|
@@ -31187,8 +31195,8 @@ const _sfc_main$u = /* @__PURE__ */ defineComponent({
|
|
|
31187
31195
|
}, [
|
|
31188
31196
|
(openBlock(), createBlock(resolveDynamicComponent(getIconComponent(option.icon)), { class: "ui-theme-toggle-option-icon" })),
|
|
31189
31197
|
createElementVNode("span", null, toDisplayString(option.label), 1),
|
|
31190
|
-
unref(currentTheme2) === option.value ? (openBlock(), createElementBlock("div", _hoisted_5$
|
|
31191
|
-
], 10, _hoisted_4$
|
|
31198
|
+
unref(currentTheme2) === option.value ? (openBlock(), createElementBlock("div", _hoisted_5$k)) : createCommentVNode("", true)
|
|
31199
|
+
], 10, _hoisted_4$n);
|
|
31192
31200
|
}), 128))
|
|
31193
31201
|
])) : createCommentVNode("", true)
|
|
31194
31202
|
])) : _ctx.variant === "segmented" ? (openBlock(), createElementBlock("div", _hoisted_6$i, [
|
|
@@ -31220,21 +31228,21 @@ const _sfc_main$u = /* @__PURE__ */ defineComponent({
|
|
|
31220
31228
|
};
|
|
31221
31229
|
}
|
|
31222
31230
|
});
|
|
31223
|
-
const UiThemeToggle = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
31224
|
-
const _hoisted_1$
|
|
31231
|
+
const UiThemeToggle = /* @__PURE__ */ _export_sfc(_sfc_main$v, [["__scopeId", "data-v-42a061c8"]]);
|
|
31232
|
+
const _hoisted_1$s = {
|
|
31225
31233
|
key: 0,
|
|
31226
31234
|
class: "slider-header"
|
|
31227
31235
|
};
|
|
31228
|
-
const _hoisted_2$
|
|
31229
|
-
const _hoisted_3$
|
|
31236
|
+
const _hoisted_2$o = ["for"];
|
|
31237
|
+
const _hoisted_3$n = {
|
|
31230
31238
|
key: 0,
|
|
31231
31239
|
class: "slider-required"
|
|
31232
31240
|
};
|
|
31233
|
-
const _hoisted_4$
|
|
31241
|
+
const _hoisted_4$m = {
|
|
31234
31242
|
key: 1,
|
|
31235
31243
|
class: "slider-value"
|
|
31236
31244
|
};
|
|
31237
|
-
const _hoisted_5$
|
|
31245
|
+
const _hoisted_5$j = {
|
|
31238
31246
|
key: 0,
|
|
31239
31247
|
class: "slider-min-label"
|
|
31240
31248
|
};
|
|
@@ -31265,7 +31273,7 @@ const _hoisted_14$f = {
|
|
|
31265
31273
|
key: 1,
|
|
31266
31274
|
class: "slider-help-text"
|
|
31267
31275
|
};
|
|
31268
|
-
const _sfc_main$
|
|
31276
|
+
const _sfc_main$u = /* @__PURE__ */ defineComponent({
|
|
31269
31277
|
__name: "UiSlider",
|
|
31270
31278
|
props: {
|
|
31271
31279
|
modelValue: { default: 0 },
|
|
@@ -31369,21 +31377,21 @@ const _sfc_main$t = /* @__PURE__ */ defineComponent({
|
|
|
31369
31377
|
}
|
|
31370
31378
|
]])
|
|
31371
31379
|
}, [
|
|
31372
|
-
_ctx.label || _ctx.showValue ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
31380
|
+
_ctx.label || _ctx.showValue ? (openBlock(), createElementBlock("div", _hoisted_1$s, [
|
|
31373
31381
|
_ctx.label ? (openBlock(), createElementBlock("label", {
|
|
31374
31382
|
key: 0,
|
|
31375
31383
|
for: _ctx.inputId,
|
|
31376
31384
|
class: "slider-label"
|
|
31377
31385
|
}, [
|
|
31378
31386
|
createTextVNode(toDisplayString(_ctx.label) + " ", 1),
|
|
31379
|
-
_ctx.required ? (openBlock(), createElementBlock("span", _hoisted_3$
|
|
31380
|
-
], 8, _hoisted_2$
|
|
31381
|
-
_ctx.showValue ? (openBlock(), createElementBlock("div", _hoisted_4$
|
|
31387
|
+
_ctx.required ? (openBlock(), createElementBlock("span", _hoisted_3$n, "*")) : createCommentVNode("", true)
|
|
31388
|
+
], 8, _hoisted_2$o)) : createCommentVNode("", true),
|
|
31389
|
+
_ctx.showValue ? (openBlock(), createElementBlock("div", _hoisted_4$m, toDisplayString(displayValue.value) + toDisplayString(_ctx.unit), 1)) : createCommentVNode("", true)
|
|
31382
31390
|
])) : createCommentVNode("", true),
|
|
31383
31391
|
createElementVNode("div", {
|
|
31384
31392
|
class: normalizeClass(["slider-container", { "slider-error": _ctx.error }])
|
|
31385
31393
|
}, [
|
|
31386
|
-
_ctx.showMinMax ? (openBlock(), createElementBlock("div", _hoisted_5$
|
|
31394
|
+
_ctx.showMinMax ? (openBlock(), createElementBlock("div", _hoisted_5$j, toDisplayString(_ctx.min) + toDisplayString(_ctx.unit), 1)) : createCommentVNode("", true),
|
|
31387
31395
|
createElementVNode("div", _hoisted_6$h, [
|
|
31388
31396
|
createElementVNode("input", {
|
|
31389
31397
|
id: _ctx.inputId,
|
|
@@ -31438,21 +31446,21 @@ const _sfc_main$t = /* @__PURE__ */ defineComponent({
|
|
|
31438
31446
|
};
|
|
31439
31447
|
}
|
|
31440
31448
|
});
|
|
31441
|
-
const UiSlider = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
31442
|
-
const _hoisted_1$
|
|
31449
|
+
const UiSlider = /* @__PURE__ */ _export_sfc(_sfc_main$u, [["__scopeId", "data-v-39aa55d9"]]);
|
|
31450
|
+
const _hoisted_1$r = {
|
|
31443
31451
|
key: 0,
|
|
31444
31452
|
class: "radio-group-label"
|
|
31445
31453
|
};
|
|
31446
|
-
const _hoisted_2$
|
|
31454
|
+
const _hoisted_2$n = {
|
|
31447
31455
|
key: 0,
|
|
31448
31456
|
class: "radio-group-required"
|
|
31449
31457
|
};
|
|
31450
|
-
const _hoisted_3$
|
|
31458
|
+
const _hoisted_3$m = {
|
|
31451
31459
|
key: 1,
|
|
31452
31460
|
class: "radio-group-description"
|
|
31453
31461
|
};
|
|
31454
|
-
const _hoisted_4$
|
|
31455
|
-
const _hoisted_5$
|
|
31462
|
+
const _hoisted_4$l = ["onClick"];
|
|
31463
|
+
const _hoisted_5$i = ["id", "name", "value", "checked", "disabled", "required"];
|
|
31456
31464
|
const _hoisted_6$g = { class: "radio-content" };
|
|
31457
31465
|
const _hoisted_7$g = ["for"];
|
|
31458
31466
|
const _hoisted_8$f = {
|
|
@@ -31475,7 +31483,7 @@ const _hoisted_12$f = {
|
|
|
31475
31483
|
key: 1,
|
|
31476
31484
|
class: "radio-help-text"
|
|
31477
31485
|
};
|
|
31478
|
-
const _sfc_main$
|
|
31486
|
+
const _sfc_main$t = /* @__PURE__ */ defineComponent({
|
|
31479
31487
|
__name: "UiRadioGroup",
|
|
31480
31488
|
props: {
|
|
31481
31489
|
modelValue: {},
|
|
@@ -31525,11 +31533,11 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent({
|
|
|
31525
31533
|
{ "radio-group-disabled": _ctx.disabled }
|
|
31526
31534
|
]])
|
|
31527
31535
|
}, [
|
|
31528
|
-
_ctx.label ? (openBlock(), createElementBlock("label", _hoisted_1$
|
|
31536
|
+
_ctx.label ? (openBlock(), createElementBlock("label", _hoisted_1$r, [
|
|
31529
31537
|
createTextVNode(toDisplayString(_ctx.label) + " ", 1),
|
|
31530
|
-
_ctx.required ? (openBlock(), createElementBlock("span", _hoisted_2$
|
|
31538
|
+
_ctx.required ? (openBlock(), createElementBlock("span", _hoisted_2$n, "*")) : createCommentVNode("", true)
|
|
31531
31539
|
])) : createCommentVNode("", true),
|
|
31532
|
-
_ctx.description ? (openBlock(), createElementBlock("p", _hoisted_3$
|
|
31540
|
+
_ctx.description ? (openBlock(), createElementBlock("p", _hoisted_3$m, toDisplayString(_ctx.description), 1)) : createCommentVNode("", true),
|
|
31533
31541
|
createElementVNode("div", {
|
|
31534
31542
|
class: normalizeClass(["radio-options", [
|
|
31535
31543
|
orientationClasses.value,
|
|
@@ -31560,7 +31568,7 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent({
|
|
|
31560
31568
|
onChange: handleInputChange,
|
|
31561
31569
|
onFocus: handleFocus,
|
|
31562
31570
|
onBlur: handleBlur
|
|
31563
|
-
}, null, 40, _hoisted_5$
|
|
31571
|
+
}, null, 40, _hoisted_5$i),
|
|
31564
31572
|
_cache[0] || (_cache[0] = createElementVNode("div", { class: "radio-button" }, [
|
|
31565
31573
|
createElementVNode("div", { class: "radio-button-inner" })
|
|
31566
31574
|
], -1)),
|
|
@@ -31574,7 +31582,7 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent({
|
|
|
31574
31582
|
(openBlock(), createBlock(resolveDynamicComponent(option.icon)))
|
|
31575
31583
|
])) : createCommentVNode("", true)
|
|
31576
31584
|
])
|
|
31577
|
-
], 10, _hoisted_4$
|
|
31585
|
+
], 10, _hoisted_4$l);
|
|
31578
31586
|
}), 128))
|
|
31579
31587
|
], 2),
|
|
31580
31588
|
_ctx.helpText || _ctx.error ? (openBlock(), createElementBlock("div", _hoisted_10$f, [
|
|
@@ -31584,21 +31592,21 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent({
|
|
|
31584
31592
|
};
|
|
31585
31593
|
}
|
|
31586
31594
|
});
|
|
31587
|
-
const UiRadioGroup = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
31588
|
-
const _hoisted_1$
|
|
31595
|
+
const UiRadioGroup = /* @__PURE__ */ _export_sfc(_sfc_main$t, [["__scopeId", "data-v-4095f911"]]);
|
|
31596
|
+
const _hoisted_1$q = {
|
|
31589
31597
|
key: 0,
|
|
31590
31598
|
class: "checkbox-group-label"
|
|
31591
31599
|
};
|
|
31592
|
-
const _hoisted_2$
|
|
31600
|
+
const _hoisted_2$m = {
|
|
31593
31601
|
key: 0,
|
|
31594
31602
|
class: "checkbox-group-required"
|
|
31595
31603
|
};
|
|
31596
|
-
const _hoisted_3$
|
|
31604
|
+
const _hoisted_3$l = {
|
|
31597
31605
|
key: 1,
|
|
31598
31606
|
class: "checkbox-group-description"
|
|
31599
31607
|
};
|
|
31600
|
-
const _hoisted_4$
|
|
31601
|
-
const _hoisted_5$
|
|
31608
|
+
const _hoisted_4$k = ["onClick"];
|
|
31609
|
+
const _hoisted_5$h = ["id", "name", "value", "checked", "disabled", "required", "indeterminate", "onChange"];
|
|
31602
31610
|
const _hoisted_6$f = { class: "checkbox-button" };
|
|
31603
31611
|
const _hoisted_7$f = {
|
|
31604
31612
|
key: 0,
|
|
@@ -31653,7 +31661,7 @@ const _hoisted_21$7 = {
|
|
|
31653
31661
|
key: 1,
|
|
31654
31662
|
class: "checkbox-help-text"
|
|
31655
31663
|
};
|
|
31656
|
-
const _sfc_main$
|
|
31664
|
+
const _sfc_main$s = /* @__PURE__ */ defineComponent({
|
|
31657
31665
|
__name: "UiCheckboxGroup",
|
|
31658
31666
|
props: {
|
|
31659
31667
|
modelValue: { default: () => [] },
|
|
@@ -31743,11 +31751,11 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
|
|
|
31743
31751
|
{ "checkbox-group-disabled": _ctx.disabled }
|
|
31744
31752
|
]])
|
|
31745
31753
|
}, [
|
|
31746
|
-
_ctx.label ? (openBlock(), createElementBlock("label", _hoisted_1$
|
|
31754
|
+
_ctx.label ? (openBlock(), createElementBlock("label", _hoisted_1$q, [
|
|
31747
31755
|
createTextVNode(toDisplayString(_ctx.label) + " ", 1),
|
|
31748
|
-
_ctx.required ? (openBlock(), createElementBlock("span", _hoisted_2$
|
|
31756
|
+
_ctx.required ? (openBlock(), createElementBlock("span", _hoisted_2$m, "*")) : createCommentVNode("", true)
|
|
31749
31757
|
])) : createCommentVNode("", true),
|
|
31750
|
-
_ctx.description ? (openBlock(), createElementBlock("p", _hoisted_3$
|
|
31758
|
+
_ctx.description ? (openBlock(), createElementBlock("p", _hoisted_3$l, toDisplayString(_ctx.description), 1)) : createCommentVNode("", true),
|
|
31751
31759
|
createElementVNode("div", {
|
|
31752
31760
|
class: normalizeClass(["checkbox-options", [
|
|
31753
31761
|
orientationClasses.value,
|
|
@@ -31780,7 +31788,7 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
|
|
|
31780
31788
|
onChange: (event) => handleInputChange(option),
|
|
31781
31789
|
onFocus: handleFocus,
|
|
31782
31790
|
onBlur: handleBlur
|
|
31783
|
-
}, null, 40, _hoisted_5$
|
|
31791
|
+
}, null, 40, _hoisted_5$h),
|
|
31784
31792
|
createElementVNode("div", _hoisted_6$f, [
|
|
31785
31793
|
isSelected(option.value) ? (openBlock(), createElementBlock("svg", _hoisted_7$f, [..._cache[0] || (_cache[0] = [
|
|
31786
31794
|
createElementVNode("path", {
|
|
@@ -31806,7 +31814,7 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
|
|
|
31806
31814
|
(openBlock(), createBlock(resolveDynamicComponent(option.icon)))
|
|
31807
31815
|
])) : createCommentVNode("", true)
|
|
31808
31816
|
])
|
|
31809
|
-
], 10, _hoisted_4$
|
|
31817
|
+
], 10, _hoisted_4$k);
|
|
31810
31818
|
}), 128))
|
|
31811
31819
|
], 2),
|
|
31812
31820
|
_ctx.showSelectAll && _ctx.options.length > 1 ? (openBlock(), createElementBlock("div", _hoisted_13$e, [
|
|
@@ -31853,7 +31861,95 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
|
|
|
31853
31861
|
};
|
|
31854
31862
|
}
|
|
31855
31863
|
});
|
|
31856
|
-
const UiCheckboxGroup = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
31864
|
+
const UiCheckboxGroup = /* @__PURE__ */ _export_sfc(_sfc_main$s, [["__scopeId", "data-v-db488410"]]);
|
|
31865
|
+
const _hoisted_1$p = { class: "accui-component-scope" };
|
|
31866
|
+
const _hoisted_2$l = {
|
|
31867
|
+
key: 0,
|
|
31868
|
+
class: "ui-pill-leading-icon"
|
|
31869
|
+
};
|
|
31870
|
+
const _hoisted_3$k = {
|
|
31871
|
+
key: 1,
|
|
31872
|
+
class: "ui-pill-icon"
|
|
31873
|
+
};
|
|
31874
|
+
const _hoisted_4$j = {
|
|
31875
|
+
key: 2,
|
|
31876
|
+
class: "ui-pill-content"
|
|
31877
|
+
};
|
|
31878
|
+
const _hoisted_5$g = {
|
|
31879
|
+
key: 3,
|
|
31880
|
+
class: "ui-pill-trailing-icon"
|
|
31881
|
+
};
|
|
31882
|
+
const _sfc_main$r = /* @__PURE__ */ defineComponent({
|
|
31883
|
+
__name: "UiPill",
|
|
31884
|
+
props: {
|
|
31885
|
+
variant: { default: "filled" },
|
|
31886
|
+
size: { default: "md" },
|
|
31887
|
+
color: { default: "primary" },
|
|
31888
|
+
icon: { type: Boolean, default: false },
|
|
31889
|
+
iconOnly: { type: Boolean, default: false },
|
|
31890
|
+
removable: { type: Boolean, default: false },
|
|
31891
|
+
disabled: { type: Boolean, default: false },
|
|
31892
|
+
tooltip: {}
|
|
31893
|
+
},
|
|
31894
|
+
emits: ["remove"],
|
|
31895
|
+
setup(__props, { emit: __emit }) {
|
|
31896
|
+
const props = __props;
|
|
31897
|
+
const pillClasses = computed(() => {
|
|
31898
|
+
const classes = [
|
|
31899
|
+
"ui-pill",
|
|
31900
|
+
`ui-pill-${props.variant}`,
|
|
31901
|
+
`ui-pill-${props.size}`,
|
|
31902
|
+
`ui-pill-color-${props.color}`,
|
|
31903
|
+
props.icon ? "ui-pill-has-icon" : "",
|
|
31904
|
+
props.iconOnly ? "ui-pill-icon-only" : "",
|
|
31905
|
+
props.removable ? "ui-pill-removable" : "",
|
|
31906
|
+
props.disabled ? "ui-pill-disabled" : ""
|
|
31907
|
+
].filter(Boolean);
|
|
31908
|
+
return classes.join(" ");
|
|
31909
|
+
});
|
|
31910
|
+
const pillStyles = computed(() => {
|
|
31911
|
+
return {};
|
|
31912
|
+
});
|
|
31913
|
+
return (_ctx, _cache) => {
|
|
31914
|
+
return openBlock(), createElementBlock("div", _hoisted_1$p, [
|
|
31915
|
+
_ctx.variant === "dot-only" ? (openBlock(), createBlock(UiTooltip, {
|
|
31916
|
+
key: 0,
|
|
31917
|
+
content: _ctx.tooltip || _ctx.$slots.default?.()?.[0]?.children || "",
|
|
31918
|
+
delay: 0
|
|
31919
|
+
}, {
|
|
31920
|
+
default: withCtx(() => [
|
|
31921
|
+
createElementVNode("span", {
|
|
31922
|
+
class: normalizeClass(pillClasses.value),
|
|
31923
|
+
style: normalizeStyle(pillStyles.value)
|
|
31924
|
+
}, null, 6)
|
|
31925
|
+
]),
|
|
31926
|
+
_: 1
|
|
31927
|
+
}, 8, ["content"])) : (openBlock(), createElementBlock("span", {
|
|
31928
|
+
key: 1,
|
|
31929
|
+
class: normalizeClass([pillClasses.value, {
|
|
31930
|
+
"ui-pill-has-leading-icon": _ctx.$slots["leading-icon"],
|
|
31931
|
+
"ui-pill-has-trailing-icon": _ctx.$slots["trailing-icon"]
|
|
31932
|
+
}]),
|
|
31933
|
+
style: normalizeStyle(pillStyles.value)
|
|
31934
|
+
}, [
|
|
31935
|
+
_ctx.$slots["leading-icon"] && !_ctx.iconOnly ? (openBlock(), createElementBlock("span", _hoisted_2$l, [
|
|
31936
|
+
renderSlot(_ctx.$slots, "leading-icon", {}, void 0, true)
|
|
31937
|
+
])) : createCommentVNode("", true),
|
|
31938
|
+
_ctx.icon && _ctx.iconOnly ? (openBlock(), createElementBlock("span", _hoisted_3$k, [
|
|
31939
|
+
renderSlot(_ctx.$slots, "icon", {}, void 0, true)
|
|
31940
|
+
])) : createCommentVNode("", true),
|
|
31941
|
+
!_ctx.iconOnly ? (openBlock(), createElementBlock("span", _hoisted_4$j, [
|
|
31942
|
+
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
31943
|
+
])) : createCommentVNode("", true),
|
|
31944
|
+
_ctx.$slots["trailing-icon"] && !_ctx.iconOnly ? (openBlock(), createElementBlock("span", _hoisted_5$g, [
|
|
31945
|
+
renderSlot(_ctx.$slots, "trailing-icon", {}, void 0, true)
|
|
31946
|
+
])) : createCommentVNode("", true)
|
|
31947
|
+
], 6))
|
|
31948
|
+
]);
|
|
31949
|
+
};
|
|
31950
|
+
}
|
|
31951
|
+
});
|
|
31952
|
+
const UiPill = /* @__PURE__ */ _export_sfc(_sfc_main$r, [["__scopeId", "data-v-defab79f"]]);
|
|
31857
31953
|
const slotHasContent = (slotName, slots) => {
|
|
31858
31954
|
const slot = slots[slotName];
|
|
31859
31955
|
if (!slot) return false;
|
|
@@ -37492,7 +37588,7 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
|
|
|
37492
37588
|
};
|
|
37493
37589
|
}
|
|
37494
37590
|
});
|
|
37495
|
-
const StrandsSessionsModal = /* @__PURE__ */ _export_sfc(_sfc_main$a, [["__scopeId", "data-v-
|
|
37591
|
+
const StrandsSessionsModal = /* @__PURE__ */ _export_sfc(_sfc_main$a, [["__scopeId", "data-v-1958a7a9"]]);
|
|
37496
37592
|
const _hoisted_1$7 = { class: "accui-component-scope" };
|
|
37497
37593
|
const _hoisted_2$5 = { class: "profile-content-layout" };
|
|
37498
37594
|
const _hoisted_3$4 = { class: "profile-image-section" };
|
|
@@ -38709,7 +38805,7 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
|
|
|
38709
38805
|
], -1)
|
|
38710
38806
|
])])
|
|
38711
38807
|
]),
|
|
38712
|
-
createVNode(unref(_sfc_main$
|
|
38808
|
+
createVNode(unref(_sfc_main$E), {
|
|
38713
38809
|
uploading: uploading.value,
|
|
38714
38810
|
"preselected-file": selectedImageFile.value,
|
|
38715
38811
|
onUpload: handleAvatarUpload,
|
|
@@ -40369,11 +40465,11 @@ export {
|
|
|
40369
40465
|
StrandsUIPlugin,
|
|
40370
40466
|
StrandsUiAlert,
|
|
40371
40467
|
UiApp as StrandsUiApp,
|
|
40372
|
-
_sfc_main$
|
|
40468
|
+
_sfc_main$E as StrandsUiAvatarEditor,
|
|
40373
40469
|
CompoundUiButton as StrandsUiButton,
|
|
40374
40470
|
StrandsUiCard,
|
|
40375
40471
|
UiCheckboxGroup as StrandsUiCheckboxGroup,
|
|
40376
|
-
_sfc_main$
|
|
40472
|
+
_sfc_main$z as StrandsUiColorPicker,
|
|
40377
40473
|
UiDivider as StrandsUiDivider,
|
|
40378
40474
|
UiHero as StrandsUiHero,
|
|
40379
40475
|
StrandsUiInput,
|
|
@@ -40381,6 +40477,7 @@ export {
|
|
|
40381
40477
|
StrandsUiLink,
|
|
40382
40478
|
StrandsUiLoader,
|
|
40383
40479
|
UiModal as StrandsUiModal,
|
|
40480
|
+
UiPill as StrandsUiPill,
|
|
40384
40481
|
UiRadioGroup as StrandsUiRadioGroup,
|
|
40385
40482
|
UiSlider as StrandsUiSlider,
|
|
40386
40483
|
UiTable as StrandsUiTable,
|
|
@@ -40393,12 +40490,12 @@ export {
|
|
|
40393
40490
|
_sfc_main$5 as SvgIcon,
|
|
40394
40491
|
StrandsUiAlert as UiAlert,
|
|
40395
40492
|
UiApp,
|
|
40396
|
-
_sfc_main$
|
|
40397
|
-
_sfc_main$
|
|
40493
|
+
_sfc_main$E as UiAvatarEditor,
|
|
40494
|
+
_sfc_main$E as UiAvatarEditorSimple,
|
|
40398
40495
|
CompoundUiButton as UiButton,
|
|
40399
40496
|
StrandsUiCard as UiCard,
|
|
40400
40497
|
UiCheckboxGroup,
|
|
40401
|
-
_sfc_main$
|
|
40498
|
+
_sfc_main$z as UiColorPicker,
|
|
40402
40499
|
UiDivider,
|
|
40403
40500
|
UiHero,
|
|
40404
40501
|
StrandsUiInput as UiInput,
|
|
@@ -40406,6 +40503,7 @@ export {
|
|
|
40406
40503
|
StrandsUiLink as UiLink,
|
|
40407
40504
|
StrandsUiLoader as UiLoader,
|
|
40408
40505
|
UiModal,
|
|
40506
|
+
UiPill,
|
|
40409
40507
|
UiRadioGroup,
|
|
40410
40508
|
UiSlider,
|
|
40411
40509
|
UiTable,
|