@strands.gg/accui 2.6.1 → 2.6.3
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/nuxt/runtime/composables/useStrandsAuth.cjs.js +1 -1
- package/dist/nuxt/runtime/composables/useStrandsAuth.es.js +1 -1
- package/dist/nuxt/runtime/plugin.client.cjs.js +1 -1
- package/dist/nuxt/runtime/plugin.client.es.js +1 -1
- package/dist/nuxt/runtime/plugin.server.cjs.js +1 -1
- package/dist/nuxt/runtime/plugin.server.es.js +1 -1
- package/dist/strands-auth-ui.cjs.js +1 -1
- package/dist/strands-auth-ui.es.js +437 -328
- package/dist/{useStrandsAuth-DoUupKb8.es.js → useStrandsAuth-B0jI8Gbq.es.js} +1 -1
- package/dist/{useStrandsAuth-WChBcwNF.cjs.js → useStrandsAuth-Dt4KTg73.cjs.js} +1 -1
- package/dist/useStrandsConfig-BUmt8HfH.cjs.js +1 -0
- package/dist/{useStrandsConfig-C3gBJK6y.es.js → useStrandsConfig-f200kXFG.es.js} +6 -1
- package/package.json +1 -1
- package/dist/useStrandsConfig-B6uW6Zkd.cjs.js +0 -1
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import { defineComponent, computed, provide, onMounted, onUnmounted, createElementBlock, openBlock, normalizeClass, createElementVNode, createBlock, renderSlot, Teleport, createCommentVNode, toDisplayString, createTextVNode, unref, normalizeStyle, useSlots, createVNode, Fragment as Fragment$1, withCtx, resolveComponent, resolveDynamicComponent, createSlots, h as h$1, ref, nextTick, withModifiers, renderList, watch, toRefs, withDirectives, vModelSelect, getCurrentInstance, watchEffect, onBeforeUnmount, shallowRef, markRaw, customRef, useCssVars, reactive, createStaticVNode, vModelText, Transition, mergeProps, inject, withKeys, isMemoSame } from "vue";
|
|
2
|
-
import { u as useStrandsConfig, p as provideStrandsConfig } from "./useStrandsConfig-
|
|
3
|
-
import { s } from "./useStrandsConfig-
|
|
4
|
-
import { u as useStrandsAuth } from "./useStrandsAuth-
|
|
5
|
-
const _hoisted_1$
|
|
6
|
-
const _hoisted_2$
|
|
2
|
+
import { u as useStrandsConfig, p as provideStrandsConfig } from "./useStrandsConfig-f200kXFG.es.js";
|
|
3
|
+
import { s } from "./useStrandsConfig-f200kXFG.es.js";
|
|
4
|
+
import { u as useStrandsAuth } from "./useStrandsAuth-B0jI8Gbq.es.js";
|
|
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,27 +188,27 @@ 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
|
-
size: { default:
|
|
209
|
+
size: { default: "md" },
|
|
210
210
|
color: { default: "primary" },
|
|
211
|
-
variant: { default: "
|
|
211
|
+
variant: { default: "circle" },
|
|
212
212
|
text: {},
|
|
213
213
|
centered: { type: Boolean, default: true },
|
|
214
214
|
weight: { default: 30 },
|
|
@@ -217,6 +217,19 @@ const _sfc_main$Y = /* @__PURE__ */ defineComponent({
|
|
|
217
217
|
setup(__props) {
|
|
218
218
|
const path = logo.replace(/<svg[^>]*>/, "").replace(/<\/svg>/, "").trim();
|
|
219
219
|
const d = path.match(/d="([^"]*)"/)?.[1] || "";
|
|
220
|
+
const props = __props;
|
|
221
|
+
const sizeMap = {
|
|
222
|
+
"sm": 32,
|
|
223
|
+
"md": 48,
|
|
224
|
+
"lg": 64,
|
|
225
|
+
"xl": 80
|
|
226
|
+
};
|
|
227
|
+
const computedSize = computed(() => {
|
|
228
|
+
if (typeof props.size === "number") {
|
|
229
|
+
return props.size;
|
|
230
|
+
}
|
|
231
|
+
return sizeMap[props.size] || sizeMap.md;
|
|
232
|
+
});
|
|
220
233
|
return (_ctx, _cache) => {
|
|
221
234
|
return openBlock(), createElementBlock("div", {
|
|
222
235
|
class: normalizeClass(["loader-container", [
|
|
@@ -224,10 +237,10 @@ const _sfc_main$Y = /* @__PURE__ */ defineComponent({
|
|
|
224
237
|
`loader-color-${_ctx.color}`
|
|
225
238
|
]])
|
|
226
239
|
}, [
|
|
227
|
-
_ctx.variant === "spinner" ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
240
|
+
_ctx.variant === "spinner" ? (openBlock(), createElementBlock("div", _hoisted_1$R, [
|
|
228
241
|
(openBlock(), createElementBlock("svg", {
|
|
229
|
-
width:
|
|
230
|
-
height:
|
|
242
|
+
width: computedSize.value,
|
|
243
|
+
height: computedSize.value,
|
|
231
244
|
viewBox: "0 0 500 500"
|
|
232
245
|
}, [
|
|
233
246
|
createElementVNode("defs", null, [
|
|
@@ -235,7 +248,7 @@ const _sfc_main$Y = /* @__PURE__ */ defineComponent({
|
|
|
235
248
|
id: "logo-path",
|
|
236
249
|
d: unref(d),
|
|
237
250
|
transform: "translate(81, 13) scale(1.0)"
|
|
238
|
-
}, null, 8, _hoisted_3$
|
|
251
|
+
}, null, 8, _hoisted_3$F)
|
|
239
252
|
]),
|
|
240
253
|
createElementVNode("use", {
|
|
241
254
|
href: "#logo-path",
|
|
@@ -244,7 +257,7 @@ const _sfc_main$Y = /* @__PURE__ */ defineComponent({
|
|
|
244
257
|
"stroke-width": _ctx.weight,
|
|
245
258
|
"stroke-linecap": "round",
|
|
246
259
|
"stroke-linejoin": "round"
|
|
247
|
-
}, null, 8, _hoisted_4$
|
|
260
|
+
}, null, 8, _hoisted_4$C),
|
|
248
261
|
createElementVNode("use", {
|
|
249
262
|
href: "#logo-path",
|
|
250
263
|
fill: "none",
|
|
@@ -253,16 +266,16 @@ const _sfc_main$Y = /* @__PURE__ */ defineComponent({
|
|
|
253
266
|
"stroke-linecap": "round",
|
|
254
267
|
"stroke-linejoin": "round",
|
|
255
268
|
class: "loader-animated-path"
|
|
256
|
-
}, null, 8, _hoisted_5$
|
|
257
|
-
], 8, _hoisted_2$
|
|
269
|
+
}, null, 8, _hoisted_5$x)
|
|
270
|
+
], 8, _hoisted_2$I))
|
|
258
271
|
])) : _ctx.variant === "circle" ? (openBlock(), createElementBlock("div", {
|
|
259
272
|
key: 1,
|
|
260
273
|
class: "loader-circle",
|
|
261
|
-
style: normalizeStyle({ width: `${
|
|
274
|
+
style: normalizeStyle({ width: `${computedSize.value}px`, height: `${computedSize.value}px` })
|
|
262
275
|
}, [
|
|
263
276
|
(openBlock(), createElementBlock("svg", {
|
|
264
|
-
width:
|
|
265
|
-
height:
|
|
277
|
+
width: computedSize.value,
|
|
278
|
+
height: computedSize.value,
|
|
266
279
|
viewBox: "0 0 50 50"
|
|
267
280
|
}, [..._cache[0] || (_cache[0] = [
|
|
268
281
|
createElementVNode("circle", {
|
|
@@ -280,8 +293,8 @@ const _sfc_main$Y = /* @__PURE__ */ defineComponent({
|
|
|
280
293
|
key: 2,
|
|
281
294
|
class: "loader-bar",
|
|
282
295
|
style: normalizeStyle({
|
|
283
|
-
width: _ctx.fullWidth ? "100%" : `${
|
|
284
|
-
height: `${Math.max(
|
|
296
|
+
width: _ctx.fullWidth ? "100%" : `${computedSize.value * 1.5}px`,
|
|
297
|
+
height: `${Math.max(computedSize.value * 0.1, 4)}px`
|
|
285
298
|
})
|
|
286
299
|
}, [..._cache[1] || (_cache[1] = [
|
|
287
300
|
createElementVNode("div", { class: "loader-bar-track" }, [
|
|
@@ -293,21 +306,21 @@ const _sfc_main$Y = /* @__PURE__ */ defineComponent({
|
|
|
293
306
|
};
|
|
294
307
|
}
|
|
295
308
|
});
|
|
296
|
-
const StrandsUiLoader = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
297
|
-
const _hoisted_1$
|
|
309
|
+
const StrandsUiLoader = /* @__PURE__ */ _export_sfc(_sfc_main$Z, [["__scopeId", "data-v-4b565c5d"]]);
|
|
310
|
+
const _hoisted_1$Q = {
|
|
298
311
|
key: 0,
|
|
299
312
|
class: "button-loading-content"
|
|
300
313
|
};
|
|
301
|
-
const _hoisted_2$
|
|
302
|
-
const _hoisted_3$
|
|
314
|
+
const _hoisted_2$H = { key: 0 };
|
|
315
|
+
const _hoisted_3$E = {
|
|
303
316
|
key: 0,
|
|
304
317
|
class: "leading-icon"
|
|
305
318
|
};
|
|
306
|
-
const _hoisted_4$
|
|
319
|
+
const _hoisted_4$B = {
|
|
307
320
|
key: 1,
|
|
308
321
|
class: "trailing-icon"
|
|
309
322
|
};
|
|
310
|
-
const _sfc_main$
|
|
323
|
+
const _sfc_main$Y = /* @__PURE__ */ defineComponent({
|
|
311
324
|
__name: "UiButton.Content",
|
|
312
325
|
props: {
|
|
313
326
|
loading: { type: Boolean, default: false },
|
|
@@ -349,25 +362,25 @@ const _sfc_main$X = /* @__PURE__ */ defineComponent({
|
|
|
349
362
|
return props.size ? `button-content-${props.size}` : "button-content-md";
|
|
350
363
|
});
|
|
351
364
|
return (_ctx, _cache) => {
|
|
352
|
-
return _ctx.loading ? (openBlock(), createElementBlock("span", _hoisted_1$
|
|
365
|
+
return _ctx.loading ? (openBlock(), createElementBlock("span", _hoisted_1$Q, [
|
|
353
366
|
createVNode(StrandsUiLoader, {
|
|
354
367
|
variant: "circle",
|
|
355
368
|
size: loaderSize.value,
|
|
356
369
|
centered: false,
|
|
357
370
|
color: "white"
|
|
358
371
|
}, null, 8, ["size"]),
|
|
359
|
-
!_ctx.icon ? (openBlock(), createElementBlock("span", _hoisted_2$
|
|
372
|
+
!_ctx.icon ? (openBlock(), createElementBlock("span", _hoisted_2$H, toDisplayString(_ctx.loadingText || "Loading..."), 1)) : createCommentVNode("", true)
|
|
360
373
|
])) : (openBlock(), createElementBlock("span", {
|
|
361
374
|
key: 1,
|
|
362
375
|
class: normalizeClass(["button-content", sizeClass.value])
|
|
363
376
|
}, [
|
|
364
377
|
_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$
|
|
378
|
+
hasLeadingIconSlot.value ? (openBlock(), createElementBlock("span", _hoisted_3$E, [
|
|
366
379
|
renderSlot(_ctx.$slots, "leading-icon", {}, void 0, true)
|
|
367
380
|
])) : createCommentVNode("", true),
|
|
368
381
|
renderSlot(_ctx.$slots, "icon", {}, void 0, true),
|
|
369
382
|
renderSlot(_ctx.$slots, "default", {}, void 0, true),
|
|
370
|
-
hasTrailingIconSlot.value ? (openBlock(), createElementBlock("span", _hoisted_4$
|
|
383
|
+
hasTrailingIconSlot.value ? (openBlock(), createElementBlock("span", _hoisted_4$B, [
|
|
371
384
|
renderSlot(_ctx.$slots, "trailing-icon", {}, void 0, true)
|
|
372
385
|
])) : createCommentVNode("", true)
|
|
373
386
|
], 64))
|
|
@@ -375,9 +388,9 @@ const _sfc_main$X = /* @__PURE__ */ defineComponent({
|
|
|
375
388
|
};
|
|
376
389
|
}
|
|
377
390
|
});
|
|
378
|
-
const UiButtonContent = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
379
|
-
const _hoisted_1$
|
|
380
|
-
const _sfc_main$
|
|
391
|
+
const UiButtonContent = /* @__PURE__ */ _export_sfc(_sfc_main$Y, [["__scopeId", "data-v-5aa4146e"]]);
|
|
392
|
+
const _hoisted_1$P = ["href", "target", "rel"];
|
|
393
|
+
const _sfc_main$X = /* @__PURE__ */ defineComponent({
|
|
381
394
|
__name: "UiButton.Anchor",
|
|
382
395
|
props: {
|
|
383
396
|
to: {},
|
|
@@ -441,11 +454,11 @@ const _sfc_main$W = /* @__PURE__ */ defineComponent({
|
|
|
441
454
|
]),
|
|
442
455
|
_: 3
|
|
443
456
|
}, 8, ["loading", "loading-text", "icon"])
|
|
444
|
-
], 14, _hoisted_1$
|
|
457
|
+
], 14, _hoisted_1$P);
|
|
445
458
|
};
|
|
446
459
|
}
|
|
447
460
|
});
|
|
448
|
-
const _sfc_main$
|
|
461
|
+
const _sfc_main$W = /* @__PURE__ */ defineComponent({
|
|
449
462
|
__name: "UiButton.Nuxt",
|
|
450
463
|
props: {
|
|
451
464
|
to: {},
|
|
@@ -509,7 +522,7 @@ const _sfc_main$V = /* @__PURE__ */ defineComponent({
|
|
|
509
522
|
};
|
|
510
523
|
}
|
|
511
524
|
});
|
|
512
|
-
const _sfc_main$
|
|
525
|
+
const _sfc_main$V = /* @__PURE__ */ defineComponent({
|
|
513
526
|
__name: "UiButton.Vue",
|
|
514
527
|
props: {
|
|
515
528
|
to: {},
|
|
@@ -565,8 +578,8 @@ const _sfc_main$U = /* @__PURE__ */ defineComponent({
|
|
|
565
578
|
};
|
|
566
579
|
}
|
|
567
580
|
});
|
|
568
|
-
const _hoisted_1$
|
|
569
|
-
const _sfc_main$
|
|
581
|
+
const _hoisted_1$O = ["type", "disabled"];
|
|
582
|
+
const _sfc_main$U = /* @__PURE__ */ defineComponent({
|
|
570
583
|
__name: "UiButton",
|
|
571
584
|
props: {
|
|
572
585
|
variant: { default: "primary" },
|
|
@@ -663,7 +676,7 @@ const _sfc_main$T = /* @__PURE__ */ defineComponent({
|
|
|
663
676
|
key: "1"
|
|
664
677
|
} : void 0
|
|
665
678
|
]), 1032, ["loading", "loading-text", "icon", "size"])
|
|
666
|
-
], 14, _hoisted_1$
|
|
679
|
+
], 14, _hoisted_1$O)) : isNuxtAvailable.value && _ctx.to ? (openBlock(), createBlock(_sfc_main$W, {
|
|
667
680
|
key: 1,
|
|
668
681
|
to: _ctx.to,
|
|
669
682
|
disabled: _ctx.disabled,
|
|
@@ -696,7 +709,7 @@ const _sfc_main$T = /* @__PURE__ */ defineComponent({
|
|
|
696
709
|
]),
|
|
697
710
|
key: "1"
|
|
698
711
|
} : void 0
|
|
699
|
-
]), 1032, ["to", "disabled", "loading", "loading-text", "icon", "button-classes", "button-styles"])) : isVueRouterAvailable.value && _ctx.to ? (openBlock(), createBlock(_sfc_main$
|
|
712
|
+
]), 1032, ["to", "disabled", "loading", "loading-text", "icon", "button-classes", "button-styles"])) : isVueRouterAvailable.value && _ctx.to ? (openBlock(), createBlock(_sfc_main$V, {
|
|
700
713
|
key: 2,
|
|
701
714
|
to: _ctx.to,
|
|
702
715
|
disabled: _ctx.disabled,
|
|
@@ -729,7 +742,7 @@ const _sfc_main$T = /* @__PURE__ */ defineComponent({
|
|
|
729
742
|
]),
|
|
730
743
|
key: "1"
|
|
731
744
|
} : void 0
|
|
732
|
-
]), 1032, ["to", "disabled", "loading", "loading-text", "icon", "button-classes", "button-styles"])) : (openBlock(), createBlock(_sfc_main$
|
|
745
|
+
]), 1032, ["to", "disabled", "loading", "loading-text", "icon", "button-classes", "button-styles"])) : (openBlock(), createBlock(_sfc_main$X, {
|
|
733
746
|
key: 3,
|
|
734
747
|
to: _ctx.to,
|
|
735
748
|
href: _ctx.href,
|
|
@@ -768,22 +781,22 @@ const _sfc_main$T = /* @__PURE__ */ defineComponent({
|
|
|
768
781
|
};
|
|
769
782
|
}
|
|
770
783
|
});
|
|
771
|
-
const StrandsUiButton = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
784
|
+
const StrandsUiButton = /* @__PURE__ */ _export_sfc(_sfc_main$U, [["__scopeId", "data-v-a5942725"]]);
|
|
772
785
|
const CompoundUiButton = StrandsUiButton;
|
|
773
786
|
CompoundUiButton.Content = UiButtonContent;
|
|
774
|
-
CompoundUiButton.Anchor = _sfc_main$
|
|
775
|
-
CompoundUiButton.Nuxt = _sfc_main$
|
|
776
|
-
CompoundUiButton.Vue = _sfc_main$
|
|
777
|
-
const _hoisted_1$
|
|
787
|
+
CompoundUiButton.Anchor = _sfc_main$X;
|
|
788
|
+
CompoundUiButton.Nuxt = _sfc_main$W;
|
|
789
|
+
CompoundUiButton.Vue = _sfc_main$V;
|
|
790
|
+
const _hoisted_1$N = {
|
|
778
791
|
key: 0,
|
|
779
792
|
class: "ui-card-header"
|
|
780
793
|
};
|
|
781
|
-
const _hoisted_2$
|
|
782
|
-
const _hoisted_3$
|
|
794
|
+
const _hoisted_2$G = { class: "ui-card-content" };
|
|
795
|
+
const _hoisted_3$D = {
|
|
783
796
|
key: 1,
|
|
784
797
|
class: "ui-card-footer"
|
|
785
798
|
};
|
|
786
|
-
const _sfc_main$
|
|
799
|
+
const _sfc_main$T = /* @__PURE__ */ defineComponent({
|
|
787
800
|
__name: "UiCard",
|
|
788
801
|
props: {
|
|
789
802
|
variant: { default: "default" },
|
|
@@ -801,20 +814,20 @@ const _sfc_main$S = /* @__PURE__ */ defineComponent({
|
|
|
801
814
|
`ui-card-color-${_ctx.color}`
|
|
802
815
|
]])
|
|
803
816
|
}, [
|
|
804
|
-
_ctx.$slots["header"] ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
817
|
+
_ctx.$slots["header"] ? (openBlock(), createElementBlock("div", _hoisted_1$N, [
|
|
805
818
|
renderSlot(_ctx.$slots, "header", {}, void 0, true)
|
|
806
819
|
])) : createCommentVNode("", true),
|
|
807
|
-
createElementVNode("div", _hoisted_2$
|
|
820
|
+
createElementVNode("div", _hoisted_2$G, [
|
|
808
821
|
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
809
822
|
]),
|
|
810
|
-
_ctx.$slots["footer"] ? (openBlock(), createElementBlock("div", _hoisted_3$
|
|
823
|
+
_ctx.$slots["footer"] ? (openBlock(), createElementBlock("div", _hoisted_3$D, [
|
|
811
824
|
renderSlot(_ctx.$slots, "footer", {}, void 0, true)
|
|
812
825
|
])) : createCommentVNode("", true)
|
|
813
826
|
], 2);
|
|
814
827
|
};
|
|
815
828
|
}
|
|
816
829
|
});
|
|
817
|
-
const StrandsUiCard = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
830
|
+
const StrandsUiCard = /* @__PURE__ */ _export_sfc(_sfc_main$T, [["__scopeId", "data-v-2c11aaa2"]]);
|
|
818
831
|
/**
|
|
819
832
|
* @license lucide-vue-next v0.542.0 - ISC
|
|
820
833
|
*
|
|
@@ -1368,24 +1381,24 @@ const X = createLucideIcon("x", [
|
|
|
1368
1381
|
["path", { d: "M18 6 6 18", key: "1bl5f8" }],
|
|
1369
1382
|
["path", { d: "m6 6 12 12", key: "d8bk6v" }]
|
|
1370
1383
|
]);
|
|
1371
|
-
const _hoisted_1$
|
|
1384
|
+
const _hoisted_1$M = {
|
|
1372
1385
|
key: 0,
|
|
1373
1386
|
class: "input-leading-icon"
|
|
1374
1387
|
};
|
|
1375
|
-
const _hoisted_2$
|
|
1376
|
-
const _hoisted_3$
|
|
1388
|
+
const _hoisted_2$F = ["id", "type", "value", "placeholder", "disabled", "readonly", "required", "min", "max", "step", "autocomplete", "spellcheck"];
|
|
1389
|
+
const _hoisted_3$C = {
|
|
1377
1390
|
key: 1,
|
|
1378
1391
|
class: "input-trailing-icon"
|
|
1379
1392
|
};
|
|
1380
|
-
const _hoisted_4$
|
|
1393
|
+
const _hoisted_4$A = {
|
|
1381
1394
|
key: 2,
|
|
1382
1395
|
class: "input-trailing-icon"
|
|
1383
1396
|
};
|
|
1384
|
-
const _hoisted_5$
|
|
1397
|
+
const _hoisted_5$w = {
|
|
1385
1398
|
key: 3,
|
|
1386
1399
|
class: "input-trailing-icon"
|
|
1387
1400
|
};
|
|
1388
|
-
const _sfc_main$
|
|
1401
|
+
const _sfc_main$S = /* @__PURE__ */ defineComponent({
|
|
1389
1402
|
__name: "UiInput.Text",
|
|
1390
1403
|
props: {
|
|
1391
1404
|
type: { default: "text" },
|
|
@@ -1468,7 +1481,7 @@ const _sfc_main$R = /* @__PURE__ */ defineComponent({
|
|
|
1468
1481
|
return openBlock(), createElementBlock("div", {
|
|
1469
1482
|
class: normalizeClass(["input-field-wrapper", wrapperClasses.value])
|
|
1470
1483
|
}, [
|
|
1471
|
-
_ctx.$slots["leading-icon"] ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
1484
|
+
_ctx.$slots["leading-icon"] ? (openBlock(), createElementBlock("div", _hoisted_1$M, [
|
|
1472
1485
|
renderSlot(_ctx.$slots, "leading-icon", {}, void 0, true)
|
|
1473
1486
|
])) : createCommentVNode("", true),
|
|
1474
1487
|
createElementVNode("input", {
|
|
@@ -1489,8 +1502,8 @@ const _sfc_main$R = /* @__PURE__ */ defineComponent({
|
|
|
1489
1502
|
onBlur: handleBlur,
|
|
1490
1503
|
onFocus: handleFocus,
|
|
1491
1504
|
onKeydown: handleKeydown
|
|
1492
|
-
}, null, 42, _hoisted_2$
|
|
1493
|
-
_ctx.type === "password" ? (openBlock(), createElementBlock("div", _hoisted_3$
|
|
1505
|
+
}, null, 42, _hoisted_2$F),
|
|
1506
|
+
_ctx.type === "password" ? (openBlock(), createElementBlock("div", _hoisted_3$C, [
|
|
1494
1507
|
createVNode(StrandsUiButton, {
|
|
1495
1508
|
color: showPassword.value ? "primary" : "secondary",
|
|
1496
1509
|
variant: showPassword.value ? "primary" : "ghost",
|
|
@@ -1505,7 +1518,7 @@ const _sfc_main$R = /* @__PURE__ */ defineComponent({
|
|
|
1505
1518
|
]),
|
|
1506
1519
|
_: 1
|
|
1507
1520
|
}, 8, ["color", "variant", "aria-label"])
|
|
1508
|
-
])) : _ctx.type === "search" && _ctx.modelValue && !_ctx.disabled && !_ctx.readonly ? (openBlock(), createElementBlock("div", _hoisted_4$
|
|
1521
|
+
])) : _ctx.type === "search" && _ctx.modelValue && !_ctx.disabled && !_ctx.readonly ? (openBlock(), createElementBlock("div", _hoisted_4$A, [
|
|
1509
1522
|
createVNode(StrandsUiButton, {
|
|
1510
1523
|
color: "danger",
|
|
1511
1524
|
variant: "ghost",
|
|
@@ -1520,24 +1533,24 @@ const _sfc_main$R = /* @__PURE__ */ defineComponent({
|
|
|
1520
1533
|
]),
|
|
1521
1534
|
_: 1
|
|
1522
1535
|
})
|
|
1523
|
-
])) : hasTrailingIcon.value ? (openBlock(), createElementBlock("div", _hoisted_5$
|
|
1536
|
+
])) : hasTrailingIcon.value ? (openBlock(), createElementBlock("div", _hoisted_5$w, [
|
|
1524
1537
|
renderSlot(_ctx.$slots, "trailing-icon", {}, void 0, true)
|
|
1525
1538
|
])) : createCommentVNode("", true)
|
|
1526
1539
|
], 2);
|
|
1527
1540
|
};
|
|
1528
1541
|
}
|
|
1529
1542
|
});
|
|
1530
|
-
const UiInputText = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
1531
|
-
const _hoisted_1$
|
|
1543
|
+
const UiInputText = /* @__PURE__ */ _export_sfc(_sfc_main$S, [["__scopeId", "data-v-728dfbde"]]);
|
|
1544
|
+
const _hoisted_1$L = {
|
|
1532
1545
|
key: 0,
|
|
1533
1546
|
class: "input-leading-icon"
|
|
1534
1547
|
};
|
|
1535
|
-
const _hoisted_2$
|
|
1536
|
-
const _hoisted_3$
|
|
1548
|
+
const _hoisted_2$E = ["id", "value", "placeholder", "disabled", "readonly", "required", "rows", "cols", "maxlength", "autocomplete", "spellcheck"];
|
|
1549
|
+
const _hoisted_3$B = {
|
|
1537
1550
|
key: 1,
|
|
1538
1551
|
class: "input-trailing-icon"
|
|
1539
1552
|
};
|
|
1540
|
-
const _sfc_main$
|
|
1553
|
+
const _sfc_main$R = /* @__PURE__ */ defineComponent({
|
|
1541
1554
|
__name: "UiInput.Textarea",
|
|
1542
1555
|
props: {
|
|
1543
1556
|
modelValue: {},
|
|
@@ -1599,7 +1612,7 @@ const _sfc_main$Q = /* @__PURE__ */ defineComponent({
|
|
|
1599
1612
|
return openBlock(), createElementBlock("div", {
|
|
1600
1613
|
class: normalizeClass(["input-field-wrapper input-textarea", wrapperClasses.value])
|
|
1601
1614
|
}, [
|
|
1602
|
-
_ctx.$slots["leading-icon"] ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
1615
|
+
_ctx.$slots["leading-icon"] ? (openBlock(), createElementBlock("div", _hoisted_1$L, [
|
|
1603
1616
|
renderSlot(_ctx.$slots, "leading-icon", {}, void 0, true)
|
|
1604
1617
|
])) : createCommentVNode("", true),
|
|
1605
1618
|
createElementVNode("div", {
|
|
@@ -1625,16 +1638,16 @@ const _sfc_main$Q = /* @__PURE__ */ defineComponent({
|
|
|
1625
1638
|
onBlur: handleBlur,
|
|
1626
1639
|
onFocus: handleFocus,
|
|
1627
1640
|
onKeydown: handleKeydown
|
|
1628
|
-
}, null, 42, _hoisted_2$
|
|
1641
|
+
}, null, 42, _hoisted_2$E)
|
|
1629
1642
|
], 2),
|
|
1630
|
-
_ctx.$slots["trailing-icon"] ? (openBlock(), createElementBlock("div", _hoisted_3$
|
|
1643
|
+
_ctx.$slots["trailing-icon"] ? (openBlock(), createElementBlock("div", _hoisted_3$B, [
|
|
1631
1644
|
renderSlot(_ctx.$slots, "trailing-icon", {}, void 0, true)
|
|
1632
1645
|
])) : createCommentVNode("", true)
|
|
1633
1646
|
], 2);
|
|
1634
1647
|
};
|
|
1635
1648
|
}
|
|
1636
1649
|
});
|
|
1637
|
-
const UiInputTextarea = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
1650
|
+
const UiInputTextarea = /* @__PURE__ */ _export_sfc(_sfc_main$R, [["__scopeId", "data-v-acf98514"]]);
|
|
1638
1651
|
function useFloatingPosition(options) {
|
|
1639
1652
|
const {
|
|
1640
1653
|
trigger,
|
|
@@ -1837,17 +1850,17 @@ function useFloatingPosition(options) {
|
|
|
1837
1850
|
cleanup
|
|
1838
1851
|
};
|
|
1839
1852
|
}
|
|
1840
|
-
const _hoisted_1$
|
|
1853
|
+
const _hoisted_1$K = {
|
|
1841
1854
|
key: 0,
|
|
1842
1855
|
class: "input-leading-icon"
|
|
1843
1856
|
};
|
|
1844
|
-
const _hoisted_2$
|
|
1845
|
-
const _hoisted_3$
|
|
1846
|
-
const _hoisted_4$
|
|
1857
|
+
const _hoisted_2$D = ["aria-expanded", "aria-controls"];
|
|
1858
|
+
const _hoisted_3$A = { class: "input-select-value" };
|
|
1859
|
+
const _hoisted_4$z = {
|
|
1847
1860
|
key: 0,
|
|
1848
1861
|
class: "input-select-text"
|
|
1849
1862
|
};
|
|
1850
|
-
const _hoisted_5$
|
|
1863
|
+
const _hoisted_5$v = {
|
|
1851
1864
|
key: 1,
|
|
1852
1865
|
class: "input-select-placeholder"
|
|
1853
1866
|
};
|
|
@@ -1875,7 +1888,7 @@ const _hoisted_14$l = {
|
|
|
1875
1888
|
key: 0,
|
|
1876
1889
|
class: "input-dropdown-option-check"
|
|
1877
1890
|
};
|
|
1878
|
-
const _sfc_main$
|
|
1891
|
+
const _sfc_main$Q = /* @__PURE__ */ defineComponent({
|
|
1879
1892
|
__name: "UiInput.Select",
|
|
1880
1893
|
props: {
|
|
1881
1894
|
modelValue: {},
|
|
@@ -2140,7 +2153,7 @@ const _sfc_main$P = /* @__PURE__ */ defineComponent({
|
|
|
2140
2153
|
paddingClasses.value
|
|
2141
2154
|
]])
|
|
2142
2155
|
}, [
|
|
2143
|
-
_ctx.$slots["leading-icon"] ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
2156
|
+
_ctx.$slots["leading-icon"] ? (openBlock(), createElementBlock("div", _hoisted_1$K, [
|
|
2144
2157
|
renderSlot(_ctx.$slots, "leading-icon", {}, void 0, true)
|
|
2145
2158
|
])) : createCommentVNode("", true),
|
|
2146
2159
|
createElementVNode("div", {
|
|
@@ -2155,15 +2168,15 @@ const _sfc_main$P = /* @__PURE__ */ defineComponent({
|
|
|
2155
2168
|
"aria-haspopup": true,
|
|
2156
2169
|
"aria-controls": dropdownId.value
|
|
2157
2170
|
}, [
|
|
2158
|
-
createElementVNode("div", _hoisted_3$
|
|
2159
|
-
displayValue.value ? (openBlock(), createElementBlock("span", _hoisted_4$
|
|
2171
|
+
createElementVNode("div", _hoisted_3$A, [
|
|
2172
|
+
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))
|
|
2160
2173
|
]),
|
|
2161
2174
|
createElementVNode("div", {
|
|
2162
2175
|
class: normalizeClass(["input-select-arrow", { "input-select-arrow-open": dropdownState.value.isOpen }])
|
|
2163
2176
|
}, [
|
|
2164
2177
|
createVNode(unref(ChevronDown))
|
|
2165
2178
|
], 2)
|
|
2166
|
-
], 42, _hoisted_2$
|
|
2179
|
+
], 42, _hoisted_2$D),
|
|
2167
2180
|
_ctx.$slots["trailing-icon"] ? (openBlock(), createElementBlock("div", _hoisted_6$r, [
|
|
2168
2181
|
renderSlot(_ctx.$slots, "trailing-icon", {}, void 0, true)
|
|
2169
2182
|
])) : createCommentVNode("", true)
|
|
@@ -2232,12 +2245,12 @@ const _sfc_main$P = /* @__PURE__ */ defineComponent({
|
|
|
2232
2245
|
};
|
|
2233
2246
|
}
|
|
2234
2247
|
});
|
|
2235
|
-
const UiInputSelect = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
2236
|
-
const _hoisted_1$
|
|
2237
|
-
const _hoisted_2$
|
|
2238
|
-
const _hoisted_3$
|
|
2239
|
-
const _hoisted_4$
|
|
2240
|
-
const _hoisted_5$
|
|
2248
|
+
const UiInputSelect = /* @__PURE__ */ _export_sfc(_sfc_main$Q, [["__scopeId", "data-v-985cba8d"]]);
|
|
2249
|
+
const _hoisted_1$J = { class: "input-leading-icon" };
|
|
2250
|
+
const _hoisted_2$C = ["src"];
|
|
2251
|
+
const _hoisted_3$z = ["id", "accept", "multiple", "disabled", "required"];
|
|
2252
|
+
const _hoisted_4$y = { class: "input-file-content" };
|
|
2253
|
+
const _hoisted_5$u = {
|
|
2241
2254
|
key: 0,
|
|
2242
2255
|
class: "input-file-prompt"
|
|
2243
2256
|
};
|
|
@@ -2262,7 +2275,7 @@ const _hoisted_14$k = {
|
|
|
2262
2275
|
key: 1,
|
|
2263
2276
|
class: "input-trailing-icon"
|
|
2264
2277
|
};
|
|
2265
|
-
const _sfc_main$
|
|
2278
|
+
const _sfc_main$P = /* @__PURE__ */ defineComponent({
|
|
2266
2279
|
__name: "UiInput.File",
|
|
2267
2280
|
props: {
|
|
2268
2281
|
modelValue: {},
|
|
@@ -2440,13 +2453,13 @@ const _sfc_main$O = /* @__PURE__ */ defineComponent({
|
|
|
2440
2453
|
paddingClasses.value
|
|
2441
2454
|
]])
|
|
2442
2455
|
}, [
|
|
2443
|
-
createElementVNode("div", _hoisted_1$
|
|
2456
|
+
createElementVNode("div", _hoisted_1$J, [
|
|
2444
2457
|
hasImageSelected.value && imagePreviewUrl.value ? (openBlock(), createElementBlock("img", {
|
|
2445
2458
|
key: 0,
|
|
2446
2459
|
src: imagePreviewUrl.value,
|
|
2447
2460
|
alt: "Preview",
|
|
2448
2461
|
class: "input-file-preview"
|
|
2449
|
-
}, null, 8, _hoisted_2$
|
|
2462
|
+
}, 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 }))
|
|
2450
2463
|
]),
|
|
2451
2464
|
createElementVNode("div", {
|
|
2452
2465
|
class: normalizeClass(["input-file-area", {
|
|
@@ -2471,9 +2484,9 @@ const _sfc_main$O = /* @__PURE__ */ defineComponent({
|
|
|
2471
2484
|
onChange: handleFileSelect,
|
|
2472
2485
|
onBlur: handleBlur,
|
|
2473
2486
|
onFocus: handleFocus
|
|
2474
|
-
}, null, 40, _hoisted_3$
|
|
2475
|
-
createElementVNode("div", _hoisted_4$
|
|
2476
|
-
selectedFiles.value.length === 0 ? (openBlock(), createElementBlock("div", _hoisted_5$
|
|
2487
|
+
}, null, 40, _hoisted_3$z),
|
|
2488
|
+
createElementVNode("div", _hoisted_4$y, [
|
|
2489
|
+
selectedFiles.value.length === 0 ? (openBlock(), createElementBlock("div", _hoisted_5$u, [
|
|
2477
2490
|
createElementVNode("div", _hoisted_6$q, toDisplayString(_ctx.dragDropText || "Click to select or drag and drop"), 1),
|
|
2478
2491
|
_ctx.accept ? (openBlock(), createElementBlock("div", _hoisted_7$p, toDisplayString(_ctx.accept), 1)) : createCommentVNode("", true)
|
|
2479
2492
|
])) : (openBlock(), createElementBlock("div", _hoisted_8$n, [
|
|
@@ -2508,19 +2521,19 @@ const _sfc_main$O = /* @__PURE__ */ defineComponent({
|
|
|
2508
2521
|
};
|
|
2509
2522
|
}
|
|
2510
2523
|
});
|
|
2511
|
-
const UiInputFile = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
2512
|
-
const _hoisted_1$
|
|
2513
|
-
const _hoisted_2$
|
|
2524
|
+
const UiInputFile = /* @__PURE__ */ _export_sfc(_sfc_main$P, [["__scopeId", "data-v-1328dc4f"]]);
|
|
2525
|
+
const _hoisted_1$I = { class: "tabs-wrapper" };
|
|
2526
|
+
const _hoisted_2$B = {
|
|
2514
2527
|
key: 0,
|
|
2515
2528
|
class: "tabs-before"
|
|
2516
2529
|
};
|
|
2517
|
-
const _hoisted_3$
|
|
2518
|
-
const _hoisted_4$
|
|
2530
|
+
const _hoisted_3$y = ["aria-selected", "id", "onClick"];
|
|
2531
|
+
const _hoisted_4$x = {
|
|
2519
2532
|
key: 1,
|
|
2520
2533
|
class: "tabs-after"
|
|
2521
2534
|
};
|
|
2522
|
-
const _hoisted_5$
|
|
2523
|
-
const _sfc_main$
|
|
2535
|
+
const _hoisted_5$t = ["aria-labelledby"];
|
|
2536
|
+
const _sfc_main$O = /* @__PURE__ */ defineComponent({
|
|
2524
2537
|
__name: "UiTabs",
|
|
2525
2538
|
props: {
|
|
2526
2539
|
modelValue: {},
|
|
@@ -2847,7 +2860,7 @@ const _sfc_main$N = /* @__PURE__ */ defineComponent({
|
|
|
2847
2860
|
{ "tabs-container--with-content": hasContentSlot.value }
|
|
2848
2861
|
]])
|
|
2849
2862
|
}, [
|
|
2850
|
-
createElementVNode("div", _hoisted_1$
|
|
2863
|
+
createElementVNode("div", _hoisted_1$I, [
|
|
2851
2864
|
createElementVNode("div", {
|
|
2852
2865
|
class: normalizeClass(["tabs-list", [
|
|
2853
2866
|
`tabs-list--${_ctx.orientation}`,
|
|
@@ -2856,7 +2869,7 @@ const _sfc_main$N = /* @__PURE__ */ defineComponent({
|
|
|
2856
2869
|
]]),
|
|
2857
2870
|
style: normalizeStyle(_ctx.sticky ? { position: "sticky", [_ctx.sticky.side]: `${_ctx.sticky.offset}px`, zIndex: 10 } : {})
|
|
2858
2871
|
}, [
|
|
2859
|
-
_ctx.$slots["before"] ? (openBlock(), createElementBlock("div", _hoisted_2$
|
|
2872
|
+
_ctx.$slots["before"] ? (openBlock(), createElementBlock("div", _hoisted_2$B, [
|
|
2860
2873
|
renderSlot(_ctx.$slots, "before", {}, void 0, true)
|
|
2861
2874
|
])) : createCommentVNode("", true),
|
|
2862
2875
|
createElementVNode("div", {
|
|
@@ -2880,7 +2893,7 @@ const _sfc_main$N = /* @__PURE__ */ defineComponent({
|
|
|
2880
2893
|
id: `tab-${tab.value}`,
|
|
2881
2894
|
role: "tab",
|
|
2882
2895
|
onClick: ($event) => handleTabClick(tab.value, index)
|
|
2883
|
-
}, toDisplayString(tab.label), 11, _hoisted_3$
|
|
2896
|
+
}, toDisplayString(tab.label), 11, _hoisted_3$y);
|
|
2884
2897
|
}), 128)),
|
|
2885
2898
|
createElementVNode("div", {
|
|
2886
2899
|
class: normalizeClass(["tab-background", { "no-transition": !enableTransitions.value }]),
|
|
@@ -2891,7 +2904,7 @@ const _sfc_main$N = /* @__PURE__ */ defineComponent({
|
|
|
2891
2904
|
style: normalizeStyle(underlineStyle.value)
|
|
2892
2905
|
}, null, 6)
|
|
2893
2906
|
], 2),
|
|
2894
|
-
_ctx.$slots["after"] ? (openBlock(), createElementBlock("div", _hoisted_4$
|
|
2907
|
+
_ctx.$slots["after"] ? (openBlock(), createElementBlock("div", _hoisted_4$x, [
|
|
2895
2908
|
renderSlot(_ctx.$slots, "after", {}, void 0, true)
|
|
2896
2909
|
])) : createCommentVNode("", true)
|
|
2897
2910
|
], 6)
|
|
@@ -2904,17 +2917,17 @@ const _sfc_main$N = /* @__PURE__ */ defineComponent({
|
|
|
2904
2917
|
id: "tabpanel"
|
|
2905
2918
|
}, [
|
|
2906
2919
|
renderSlot(_ctx.$slots, "content", { activeTab: activeTab.value }, void 0, true)
|
|
2907
|
-
], 10, _hoisted_5$
|
|
2920
|
+
], 10, _hoisted_5$t)) : createCommentVNode("", true)
|
|
2908
2921
|
], 2);
|
|
2909
2922
|
};
|
|
2910
2923
|
}
|
|
2911
2924
|
});
|
|
2912
|
-
const StrandsUiTabs = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
2913
|
-
const _hoisted_1$
|
|
2925
|
+
const StrandsUiTabs = /* @__PURE__ */ _export_sfc(_sfc_main$O, [["__scopeId", "data-v-edff91a5"]]);
|
|
2926
|
+
const _hoisted_1$H = {
|
|
2914
2927
|
key: 0,
|
|
2915
2928
|
class: "ui-divider-text"
|
|
2916
2929
|
};
|
|
2917
|
-
const _sfc_main$
|
|
2930
|
+
const _sfc_main$N = /* @__PURE__ */ defineComponent({
|
|
2918
2931
|
__name: "UiDivider",
|
|
2919
2932
|
props: {
|
|
2920
2933
|
orientation: { default: "horizontal" },
|
|
@@ -2968,7 +2981,7 @@ const _sfc_main$M = /* @__PURE__ */ defineComponent({
|
|
|
2968
2981
|
]),
|
|
2969
2982
|
style: normalizeStyle(dividerStyle.value)
|
|
2970
2983
|
}, [
|
|
2971
|
-
hasText.value ? (openBlock(), createElementBlock("span", _hoisted_1$
|
|
2984
|
+
hasText.value ? (openBlock(), createElementBlock("span", _hoisted_1$H, [
|
|
2972
2985
|
renderSlot(_ctx.$slots, "default", {}, () => [
|
|
2973
2986
|
createTextVNode(toDisplayString(_ctx.text), 1)
|
|
2974
2987
|
], true)
|
|
@@ -2977,15 +2990,15 @@ const _sfc_main$M = /* @__PURE__ */ defineComponent({
|
|
|
2977
2990
|
};
|
|
2978
2991
|
}
|
|
2979
2992
|
});
|
|
2980
|
-
const UiDivider = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
2981
|
-
const _hoisted_1$
|
|
2982
|
-
const _hoisted_2$
|
|
2983
|
-
const _hoisted_3$
|
|
2984
|
-
const _hoisted_4$
|
|
2993
|
+
const UiDivider = /* @__PURE__ */ _export_sfc(_sfc_main$N, [["__scopeId", "data-v-1c798024"]]);
|
|
2994
|
+
const _hoisted_1$G = { class: "datetime-picker-wrapper" };
|
|
2995
|
+
const _hoisted_2$A = { class: "datetime-picker-leading-icon" };
|
|
2996
|
+
const _hoisted_3$x = { class: "datetime-picker-display" };
|
|
2997
|
+
const _hoisted_4$w = {
|
|
2985
2998
|
key: 0,
|
|
2986
2999
|
class: "datetime-picker-value"
|
|
2987
3000
|
};
|
|
2988
|
-
const _hoisted_5$
|
|
3001
|
+
const _hoisted_5$s = {
|
|
2989
3002
|
key: 1,
|
|
2990
3003
|
class: "datetime-picker-placeholder"
|
|
2991
3004
|
};
|
|
@@ -3018,7 +3031,7 @@ const _hoisted_20$b = {
|
|
|
3018
3031
|
};
|
|
3019
3032
|
const _hoisted_21$b = { class: "time-scroll" };
|
|
3020
3033
|
const _hoisted_22$9 = { class: "datetime-picker-footer" };
|
|
3021
|
-
const _sfc_main$
|
|
3034
|
+
const _sfc_main$M = /* @__PURE__ */ defineComponent({
|
|
3022
3035
|
__name: "UiDateTimePicker",
|
|
3023
3036
|
props: {
|
|
3024
3037
|
modelValue: {},
|
|
@@ -3350,7 +3363,7 @@ const _sfc_main$L = /* @__PURE__ */ defineComponent({
|
|
|
3350
3363
|
cleanupFloating();
|
|
3351
3364
|
});
|
|
3352
3365
|
return (_ctx, _cache) => {
|
|
3353
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
3366
|
+
return openBlock(), createElementBlock("div", _hoisted_1$G, [
|
|
3354
3367
|
createElementVNode("div", {
|
|
3355
3368
|
ref_key: "triggerElement",
|
|
3356
3369
|
ref: triggerElement,
|
|
@@ -3360,11 +3373,11 @@ const _sfc_main$L = /* @__PURE__ */ defineComponent({
|
|
|
3360
3373
|
]]),
|
|
3361
3374
|
onClick: togglePicker
|
|
3362
3375
|
}, [
|
|
3363
|
-
createElementVNode("div", _hoisted_2$
|
|
3376
|
+
createElementVNode("div", _hoisted_2$A, [
|
|
3364
3377
|
_ctx.type === "date" ? (openBlock(), createBlock(unref(Calendar), { key: 0 })) : _ctx.type === "time" ? (openBlock(), createBlock(unref(Clock), { key: 1 })) : (openBlock(), createBlock(unref(CalendarClock), { key: 2 }))
|
|
3365
3378
|
]),
|
|
3366
|
-
createElementVNode("div", _hoisted_3$
|
|
3367
|
-
displayValue.value ? (openBlock(), createElementBlock("span", _hoisted_4$
|
|
3379
|
+
createElementVNode("div", _hoisted_3$x, [
|
|
3380
|
+
displayValue.value ? (openBlock(), createElementBlock("span", _hoisted_4$w, toDisplayString(displayValue.value), 1)) : (openBlock(), createElementBlock("span", _hoisted_5$s, toDisplayString(_ctx.placeholder || getDefaultPlaceholder()), 1))
|
|
3368
3381
|
]),
|
|
3369
3382
|
_ctx.modelValue && !_ctx.disabled && !_ctx.readonly ? (openBlock(), createElementBlock("div", {
|
|
3370
3383
|
key: 0,
|
|
@@ -3619,8 +3632,8 @@ const _sfc_main$L = /* @__PURE__ */ defineComponent({
|
|
|
3619
3632
|
};
|
|
3620
3633
|
}
|
|
3621
3634
|
});
|
|
3622
|
-
const UiDateTimePicker = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
3623
|
-
const _sfc_main$
|
|
3635
|
+
const UiDateTimePicker = /* @__PURE__ */ _export_sfc(_sfc_main$M, [["__scopeId", "data-v-10c66504"]]);
|
|
3636
|
+
const _sfc_main$L = /* @__PURE__ */ defineComponent({
|
|
3624
3637
|
__name: "UiInput.Date",
|
|
3625
3638
|
props: {
|
|
3626
3639
|
modelValue: {},
|
|
@@ -3663,7 +3676,7 @@ const _sfc_main$K = /* @__PURE__ */ defineComponent({
|
|
|
3663
3676
|
};
|
|
3664
3677
|
}
|
|
3665
3678
|
});
|
|
3666
|
-
const _sfc_main$
|
|
3679
|
+
const _sfc_main$K = /* @__PURE__ */ defineComponent({
|
|
3667
3680
|
__name: "UiInput.Time",
|
|
3668
3681
|
props: {
|
|
3669
3682
|
modelValue: {},
|
|
@@ -3704,7 +3717,7 @@ const _sfc_main$J = /* @__PURE__ */ defineComponent({
|
|
|
3704
3717
|
};
|
|
3705
3718
|
}
|
|
3706
3719
|
});
|
|
3707
|
-
const _sfc_main$
|
|
3720
|
+
const _sfc_main$J = /* @__PURE__ */ defineComponent({
|
|
3708
3721
|
__name: "UiInput.DateTime",
|
|
3709
3722
|
props: {
|
|
3710
3723
|
modelValue: {},
|
|
@@ -24703,14 +24716,14 @@ var TextAlign = Extension.create({
|
|
|
24703
24716
|
});
|
|
24704
24717
|
var index_default$1 = TextAlign;
|
|
24705
24718
|
var index_default = Placeholder;
|
|
24706
|
-
const _hoisted_1$
|
|
24707
|
-
const _hoisted_2$
|
|
24708
|
-
const _hoisted_3$
|
|
24709
|
-
const _hoisted_4$
|
|
24710
|
-
const _hoisted_5$
|
|
24719
|
+
const _hoisted_1$F = { class: "input-richtext-toolbar" };
|
|
24720
|
+
const _hoisted_2$z = { class: "input-richtext-group" };
|
|
24721
|
+
const _hoisted_3$w = { class: "input-richtext-group" };
|
|
24722
|
+
const _hoisted_4$v = { class: "input-richtext-group" };
|
|
24723
|
+
const _hoisted_5$r = { class: "input-richtext-group" };
|
|
24711
24724
|
const _hoisted_6$o = { class: "input-richtext-group" };
|
|
24712
24725
|
const _hoisted_7$n = { class: "input-richtext-editor-wrapper" };
|
|
24713
|
-
const _sfc_main$
|
|
24726
|
+
const _sfc_main$I = /* @__PURE__ */ defineComponent({
|
|
24714
24727
|
__name: "UiInput.RichText",
|
|
24715
24728
|
props: {
|
|
24716
24729
|
modelValue: {},
|
|
@@ -24790,8 +24803,8 @@ const _sfc_main$H = /* @__PURE__ */ defineComponent({
|
|
|
24790
24803
|
"input-disabled": _ctx.disabled
|
|
24791
24804
|
}])
|
|
24792
24805
|
}, [
|
|
24793
|
-
createElementVNode("div", _hoisted_1$
|
|
24794
|
-
createElementVNode("div", _hoisted_2$
|
|
24806
|
+
createElementVNode("div", _hoisted_1$F, [
|
|
24807
|
+
createElementVNode("div", _hoisted_2$z, [
|
|
24795
24808
|
createVNode(StrandsUiButton, {
|
|
24796
24809
|
color: unref(editor)?.isActive("bold") ? "primary" : "secondary",
|
|
24797
24810
|
size: "sm",
|
|
@@ -24854,7 +24867,7 @@ const _sfc_main$H = /* @__PURE__ */ defineComponent({
|
|
|
24854
24867
|
spacing: "28px",
|
|
24855
24868
|
margin: "4px"
|
|
24856
24869
|
}),
|
|
24857
|
-
createElementVNode("div", _hoisted_3$
|
|
24870
|
+
createElementVNode("div", _hoisted_3$w, [
|
|
24858
24871
|
createVNode(StrandsUiButton, {
|
|
24859
24872
|
color: unref(editor)?.isActive("heading", { level: 1 }) ? "primary" : "secondary",
|
|
24860
24873
|
size: "sm",
|
|
@@ -24903,7 +24916,7 @@ const _sfc_main$H = /* @__PURE__ */ defineComponent({
|
|
|
24903
24916
|
spacing: "28px",
|
|
24904
24917
|
margin: "4px"
|
|
24905
24918
|
}),
|
|
24906
|
-
createElementVNode("div", _hoisted_4$
|
|
24919
|
+
createElementVNode("div", _hoisted_4$v, [
|
|
24907
24920
|
createVNode(StrandsUiButton, {
|
|
24908
24921
|
color: unref(editor)?.isActive({ textAlign: "left" }) ? "primary" : "secondary",
|
|
24909
24922
|
size: "sm",
|
|
@@ -24952,7 +24965,7 @@ const _sfc_main$H = /* @__PURE__ */ defineComponent({
|
|
|
24952
24965
|
spacing: "28px",
|
|
24953
24966
|
margin: "4px"
|
|
24954
24967
|
}),
|
|
24955
|
-
createElementVNode("div", _hoisted_5$
|
|
24968
|
+
createElementVNode("div", _hoisted_5$r, [
|
|
24956
24969
|
createVNode(StrandsUiButton, {
|
|
24957
24970
|
color: unref(editor)?.isActive("bulletList") ? "primary" : "secondary",
|
|
24958
24971
|
size: "sm",
|
|
@@ -25071,22 +25084,22 @@ const _sfc_main$H = /* @__PURE__ */ defineComponent({
|
|
|
25071
25084
|
};
|
|
25072
25085
|
}
|
|
25073
25086
|
});
|
|
25074
|
-
const UiInputRichText = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
25075
|
-
const _hoisted_1$
|
|
25076
|
-
const _hoisted_2$
|
|
25077
|
-
const _hoisted_3$
|
|
25087
|
+
const UiInputRichText = /* @__PURE__ */ _export_sfc(_sfc_main$I, [["__scopeId", "data-v-1031412d"]]);
|
|
25088
|
+
const _hoisted_1$E = { class: "input-container" };
|
|
25089
|
+
const _hoisted_2$y = ["for"];
|
|
25090
|
+
const _hoisted_3$v = {
|
|
25078
25091
|
key: 0,
|
|
25079
25092
|
class: "input-required"
|
|
25080
25093
|
};
|
|
25081
|
-
const _hoisted_4$
|
|
25094
|
+
const _hoisted_4$u = {
|
|
25082
25095
|
key: 9,
|
|
25083
25096
|
class: "input-error-text"
|
|
25084
25097
|
};
|
|
25085
|
-
const _hoisted_5$
|
|
25098
|
+
const _hoisted_5$q = {
|
|
25086
25099
|
key: 10,
|
|
25087
25100
|
class: "input-help-text"
|
|
25088
25101
|
};
|
|
25089
|
-
const _sfc_main$
|
|
25102
|
+
const _sfc_main$H = /* @__PURE__ */ defineComponent({
|
|
25090
25103
|
__name: "UiInput",
|
|
25091
25104
|
props: {
|
|
25092
25105
|
type: {},
|
|
@@ -25151,15 +25164,15 @@ const _sfc_main$G = /* @__PURE__ */ defineComponent({
|
|
|
25151
25164
|
emit("file-error", error);
|
|
25152
25165
|
};
|
|
25153
25166
|
return (_ctx, _cache) => {
|
|
25154
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
25167
|
+
return openBlock(), createElementBlock("div", _hoisted_1$E, [
|
|
25155
25168
|
props.label ? (openBlock(), createElementBlock("label", {
|
|
25156
25169
|
key: 0,
|
|
25157
25170
|
for: inputId.value,
|
|
25158
25171
|
class: "input-label"
|
|
25159
25172
|
}, [
|
|
25160
25173
|
createTextVNode(toDisplayString(props.label) + " ", 1),
|
|
25161
|
-
props.required ? (openBlock(), createElementBlock("span", _hoisted_3$
|
|
25162
|
-
], 8, _hoisted_2$
|
|
25174
|
+
props.required ? (openBlock(), createElementBlock("span", _hoisted_3$v, "*")) : createCommentVNode("", true)
|
|
25175
|
+
], 8, _hoisted_2$y)) : createCommentVNode("", true),
|
|
25163
25176
|
isTextInput.value ? (openBlock(), createBlock(UiInputText, {
|
|
25164
25177
|
key: 1,
|
|
25165
25178
|
"model-value": _ctx.modelValue,
|
|
@@ -25294,7 +25307,7 @@ const _sfc_main$G = /* @__PURE__ */ defineComponent({
|
|
|
25294
25307
|
]),
|
|
25295
25308
|
key: "1"
|
|
25296
25309
|
} : void 0
|
|
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$
|
|
25310
|
+
]), 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, {
|
|
25298
25311
|
key: 5,
|
|
25299
25312
|
"model-value": _ctx.modelValue,
|
|
25300
25313
|
placeholder: _ctx.placeholder,
|
|
@@ -25309,7 +25322,7 @@ const _sfc_main$G = /* @__PURE__ */ defineComponent({
|
|
|
25309
25322
|
"onUpdate:modelValue": handleInput,
|
|
25310
25323
|
onBlur: handleBlur,
|
|
25311
25324
|
onFocus: handleFocus
|
|
25312
|
-
}, null, 8, ["model-value", "placeholder", "disabled", "readonly", "required", "min", "max", "input-id", "error", "size"])) : _ctx.type === "time" ? (openBlock(), createBlock(_sfc_main$
|
|
25325
|
+
}, null, 8, ["model-value", "placeholder", "disabled", "readonly", "required", "min", "max", "input-id", "error", "size"])) : _ctx.type === "time" ? (openBlock(), createBlock(_sfc_main$K, {
|
|
25313
25326
|
key: 6,
|
|
25314
25327
|
"model-value": _ctx.modelValue,
|
|
25315
25328
|
placeholder: _ctx.placeholder,
|
|
@@ -25322,7 +25335,7 @@ const _sfc_main$G = /* @__PURE__ */ defineComponent({
|
|
|
25322
25335
|
"onUpdate:modelValue": handleInput,
|
|
25323
25336
|
onBlur: handleBlur,
|
|
25324
25337
|
onFocus: handleFocus
|
|
25325
|
-
}, null, 8, ["model-value", "placeholder", "disabled", "readonly", "required", "input-id", "error", "size"])) : _ctx.type === "datetime" ? (openBlock(), createBlock(_sfc_main$
|
|
25338
|
+
}, null, 8, ["model-value", "placeholder", "disabled", "readonly", "required", "input-id", "error", "size"])) : _ctx.type === "datetime" ? (openBlock(), createBlock(_sfc_main$J, {
|
|
25326
25339
|
key: 7,
|
|
25327
25340
|
"model-value": _ctx.modelValue,
|
|
25328
25341
|
placeholder: _ctx.placeholder,
|
|
@@ -25351,15 +25364,15 @@ const _sfc_main$G = /* @__PURE__ */ defineComponent({
|
|
|
25351
25364
|
onBlur: handleBlur,
|
|
25352
25365
|
onFocus: handleFocus
|
|
25353
25366
|
}, null, 8, ["model-value", "placeholder", "disabled", "readonly", "input-id", "error", "min-height", "max-height"])) : createCommentVNode("", true),
|
|
25354
|
-
props.error && props.error !== true ? (openBlock(), createElementBlock("p", _hoisted_4$
|
|
25367
|
+
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)
|
|
25355
25368
|
]);
|
|
25356
25369
|
};
|
|
25357
25370
|
}
|
|
25358
25371
|
});
|
|
25359
|
-
const StrandsUiInput = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
25360
|
-
const _hoisted_1$
|
|
25361
|
-
const _hoisted_2$
|
|
25362
|
-
const _sfc_main$
|
|
25372
|
+
const StrandsUiInput = /* @__PURE__ */ _export_sfc(_sfc_main$H, [["__scopeId", "data-v-10a4eb0c"]]);
|
|
25373
|
+
const _hoisted_1$D = ["disabled", "aria-disabled"];
|
|
25374
|
+
const _hoisted_2$x = ["href", "target", "rel", "aria-disabled"];
|
|
25375
|
+
const _sfc_main$G = /* @__PURE__ */ defineComponent({
|
|
25363
25376
|
__name: "UiLink",
|
|
25364
25377
|
props: {
|
|
25365
25378
|
href: {},
|
|
@@ -25449,7 +25462,7 @@ const _sfc_main$F = /* @__PURE__ */ defineComponent({
|
|
|
25449
25462
|
onClick: handleClick2
|
|
25450
25463
|
}, [
|
|
25451
25464
|
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
25452
|
-
], 14, _hoisted_1$
|
|
25465
|
+
], 14, _hoisted_1$D)) : (openBlock(), createElementBlock("a", {
|
|
25453
25466
|
key: 1,
|
|
25454
25467
|
class: normalizeClass(["ui-link", [
|
|
25455
25468
|
`ui-link-${_ctx.variant}`,
|
|
@@ -25465,13 +25478,13 @@ const _sfc_main$F = /* @__PURE__ */ defineComponent({
|
|
|
25465
25478
|
onClick: handleClick2
|
|
25466
25479
|
}, [
|
|
25467
25480
|
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
25468
|
-
], 14, _hoisted_2$
|
|
25481
|
+
], 14, _hoisted_2$x));
|
|
25469
25482
|
};
|
|
25470
25483
|
}
|
|
25471
25484
|
});
|
|
25472
|
-
const StrandsUiLink = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
25473
|
-
const _hoisted_1$
|
|
25474
|
-
const _sfc_main$
|
|
25485
|
+
const StrandsUiLink = /* @__PURE__ */ _export_sfc(_sfc_main$G, [["__scopeId", "data-v-3bf99110"]]);
|
|
25486
|
+
const _hoisted_1$C = ["aria-pressed", "aria-labelledby"];
|
|
25487
|
+
const _sfc_main$F = /* @__PURE__ */ defineComponent({
|
|
25475
25488
|
__name: "UiToggle",
|
|
25476
25489
|
props: {
|
|
25477
25490
|
modelValue: { type: Boolean, default: false },
|
|
@@ -25511,19 +25524,19 @@ const _sfc_main$E = /* @__PURE__ */ defineComponent({
|
|
|
25511
25524
|
createElementVNode("span", {
|
|
25512
25525
|
class: normalizeClass(["ui-toggle-thumb", thumbClasses.value])
|
|
25513
25526
|
}, null, 2)
|
|
25514
|
-
], 10, _hoisted_1$
|
|
25527
|
+
], 10, _hoisted_1$C);
|
|
25515
25528
|
};
|
|
25516
25529
|
}
|
|
25517
25530
|
});
|
|
25518
|
-
const UiToggle = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
25519
|
-
const _hoisted_1$
|
|
25520
|
-
const _hoisted_2$
|
|
25521
|
-
const _hoisted_3$
|
|
25531
|
+
const UiToggle = /* @__PURE__ */ _export_sfc(_sfc_main$F, [["__scopeId", "data-v-6c2fb8dd"]]);
|
|
25532
|
+
const _hoisted_1$B = { class: "accui-component-scope" };
|
|
25533
|
+
const _hoisted_2$w = { class: "avatar-editor-simple" };
|
|
25534
|
+
const _hoisted_3$u = {
|
|
25522
25535
|
key: 1,
|
|
25523
25536
|
class: "editor-container"
|
|
25524
25537
|
};
|
|
25525
|
-
const _hoisted_4$
|
|
25526
|
-
const _hoisted_5$
|
|
25538
|
+
const _hoisted_4$t = { class: "editor-main" };
|
|
25539
|
+
const _hoisted_5$p = { class: "canvas-container" };
|
|
25527
25540
|
const _hoisted_6$n = ["width", "height"];
|
|
25528
25541
|
const _hoisted_7$m = { class: "crop-overlay" };
|
|
25529
25542
|
const _hoisted_8$l = { class: "crop-backdrop" };
|
|
@@ -25541,7 +25554,7 @@ const _hoisted_19$c = { class: "action-buttons" };
|
|
|
25541
25554
|
const _hoisted_20$a = { class: "preview-section" };
|
|
25542
25555
|
const _hoisted_21$a = { class: "preview-container" };
|
|
25543
25556
|
const _hoisted_22$8 = ["width", "height"];
|
|
25544
|
-
const _sfc_main$
|
|
25557
|
+
const _sfc_main$E = /* @__PURE__ */ defineComponent({
|
|
25545
25558
|
__name: "UiAvatarEditor",
|
|
25546
25559
|
props: {
|
|
25547
25560
|
size: { default: 300 },
|
|
@@ -25832,8 +25845,8 @@ const _sfc_main$D = /* @__PURE__ */ defineComponent({
|
|
|
25832
25845
|
}
|
|
25833
25846
|
}, { immediate: true });
|
|
25834
25847
|
return (_ctx, _cache) => {
|
|
25835
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
25836
|
-
createElementVNode("div", _hoisted_2$
|
|
25848
|
+
return openBlock(), createElementBlock("div", _hoisted_1$B, [
|
|
25849
|
+
createElementVNode("div", _hoisted_2$w, [
|
|
25837
25850
|
createElementVNode("input", {
|
|
25838
25851
|
ref_key: "fileInput",
|
|
25839
25852
|
ref: fileInput,
|
|
@@ -25853,9 +25866,9 @@ const _sfc_main$D = /* @__PURE__ */ defineComponent({
|
|
|
25853
25866
|
}, ["prevent"]))
|
|
25854
25867
|
}, [..._cache[6] || (_cache[6] = [
|
|
25855
25868
|
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)
|
|
25856
|
-
])], 32)) : (openBlock(), createElementBlock("div", _hoisted_3$
|
|
25857
|
-
createElementVNode("div", _hoisted_4$
|
|
25858
|
-
createElementVNode("div", _hoisted_5$
|
|
25869
|
+
])], 32)) : (openBlock(), createElementBlock("div", _hoisted_3$u, [
|
|
25870
|
+
createElementVNode("div", _hoisted_4$t, [
|
|
25871
|
+
createElementVNode("div", _hoisted_5$p, [
|
|
25859
25872
|
createElementVNode("canvas", {
|
|
25860
25873
|
ref_key: "canvas",
|
|
25861
25874
|
ref: canvas,
|
|
@@ -26320,11 +26333,11 @@ class SoundEffects {
|
|
|
26320
26333
|
}
|
|
26321
26334
|
}
|
|
26322
26335
|
const playLevelUp = (level, userSettings) => SoundEffects.playLevelUp(level, userSettings);
|
|
26323
|
-
const _hoisted_1$
|
|
26324
|
-
const _hoisted_2$
|
|
26325
|
-
const _hoisted_3$
|
|
26326
|
-
const _hoisted_4$
|
|
26327
|
-
const _hoisted_5$
|
|
26336
|
+
const _hoisted_1$A = { class: "level-progress-container" };
|
|
26337
|
+
const _hoisted_2$v = ["width", "height", "viewBox"];
|
|
26338
|
+
const _hoisted_3$t = { key: 0 };
|
|
26339
|
+
const _hoisted_4$s = ["r"];
|
|
26340
|
+
const _hoisted_5$o = ["y"];
|
|
26328
26341
|
const _hoisted_6$m = ["d", "stroke-width"];
|
|
26329
26342
|
const _hoisted_7$l = ["d", "stroke", "stroke-width"];
|
|
26330
26343
|
const _hoisted_8$k = ["d"];
|
|
@@ -26350,7 +26363,7 @@ const INNER_GAP = 18;
|
|
|
26350
26363
|
const ANIMATION_DURATION = 600;
|
|
26351
26364
|
const LABEL_EXTRA_DEGREES = 12;
|
|
26352
26365
|
const LABEL_CHAR_DEGREES = 8;
|
|
26353
|
-
const _sfc_main$
|
|
26366
|
+
const _sfc_main$D = /* @__PURE__ */ defineComponent({
|
|
26354
26367
|
__name: "UiLevelProgress",
|
|
26355
26368
|
props: {
|
|
26356
26369
|
value: {},
|
|
@@ -26505,21 +26518,21 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
|
|
|
26505
26518
|
prevLevel = newLevel;
|
|
26506
26519
|
});
|
|
26507
26520
|
return (_ctx, _cache) => {
|
|
26508
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
26521
|
+
return openBlock(), createElementBlock("div", _hoisted_1$A, [
|
|
26509
26522
|
(openBlock(), createElementBlock("svg", {
|
|
26510
26523
|
width: unref(size),
|
|
26511
26524
|
height: unref(size),
|
|
26512
26525
|
viewBox: `0 0 ${unref(viewBox)} ${unref(viewBox)}`,
|
|
26513
26526
|
style: { "position": "relative" }
|
|
26514
26527
|
}, [
|
|
26515
|
-
levelUpActive.value ? (openBlock(), createElementBlock("g", _hoisted_3$
|
|
26528
|
+
levelUpActive.value ? (openBlock(), createElementBlock("g", _hoisted_3$t, [
|
|
26516
26529
|
createElementVNode("circle", {
|
|
26517
26530
|
cx: center,
|
|
26518
26531
|
cy: center,
|
|
26519
26532
|
r: innerCircleRadius.value,
|
|
26520
26533
|
fill: "#a800ff",
|
|
26521
26534
|
opacity: "0.92"
|
|
26522
|
-
}, null, 8, _hoisted_4$
|
|
26535
|
+
}, null, 8, _hoisted_4$s),
|
|
26523
26536
|
createElementVNode("text", {
|
|
26524
26537
|
x: center,
|
|
26525
26538
|
y: center + 15,
|
|
@@ -26528,7 +26541,7 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
|
|
|
26528
26541
|
"font-weight": "bold",
|
|
26529
26542
|
fill: "#fff",
|
|
26530
26543
|
style: { "font-family": "'Montserrat', sans-serif" }
|
|
26531
|
-
}, "Level Up", 8, _hoisted_5$
|
|
26544
|
+
}, "Level Up", 8, _hoisted_5$o)
|
|
26532
26545
|
])) : createCommentVNode("", true),
|
|
26533
26546
|
animatedValue.value >= 0 && animatedValue.value < props.max ? (openBlock(), createElementBlock("path", {
|
|
26534
26547
|
key: 1,
|
|
@@ -26598,12 +26611,12 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
|
|
|
26598
26611
|
}, null, -1)
|
|
26599
26612
|
])], 8, _hoisted_12$j)
|
|
26600
26613
|
])
|
|
26601
|
-
], 8, _hoisted_2$
|
|
26614
|
+
], 8, _hoisted_2$v))
|
|
26602
26615
|
]);
|
|
26603
26616
|
};
|
|
26604
26617
|
}
|
|
26605
26618
|
});
|
|
26606
|
-
const UiLevelProgress = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
26619
|
+
const UiLevelProgress = /* @__PURE__ */ _export_sfc(_sfc_main$D, [["__scopeId", "data-v-410a88ab"]]);
|
|
26607
26620
|
class ModalStack {
|
|
26608
26621
|
stack = [];
|
|
26609
26622
|
escapeHandlerRegistered = false;
|
|
@@ -26741,11 +26754,14 @@ function useModalStack(options = {}) {
|
|
|
26741
26754
|
if (!modalInstance.value) return null;
|
|
26742
26755
|
return document.querySelector(`.ui-app-modal-backdrop[style*="z-index: ${modalInstance.value.zIndex - 1}"]`);
|
|
26743
26756
|
};
|
|
26744
|
-
|
|
26745
|
-
|
|
26746
|
-
|
|
26747
|
-
|
|
26748
|
-
|
|
26757
|
+
try {
|
|
26758
|
+
onUnmounted(() => {
|
|
26759
|
+
if (isOpen.value) {
|
|
26760
|
+
closeModal();
|
|
26761
|
+
}
|
|
26762
|
+
});
|
|
26763
|
+
} catch (e) {
|
|
26764
|
+
}
|
|
26749
26765
|
return {
|
|
26750
26766
|
// State
|
|
26751
26767
|
isOpen,
|
|
@@ -26782,7 +26798,10 @@ function useGlobalModalStack() {
|
|
|
26782
26798
|
const unsubscribe = modalStack.subscribe((state) => {
|
|
26783
26799
|
stackState.value = state;
|
|
26784
26800
|
});
|
|
26785
|
-
|
|
26801
|
+
try {
|
|
26802
|
+
onUnmounted(unsubscribe);
|
|
26803
|
+
} catch (e) {
|
|
26804
|
+
}
|
|
26786
26805
|
return {
|
|
26787
26806
|
state: stackState,
|
|
26788
26807
|
closeAll: () => {
|
|
@@ -26800,16 +26819,16 @@ function useGlobalModalStack() {
|
|
|
26800
26819
|
}
|
|
26801
26820
|
};
|
|
26802
26821
|
}
|
|
26803
|
-
const _hoisted_1$
|
|
26822
|
+
const _hoisted_1$z = {
|
|
26804
26823
|
key: 0,
|
|
26805
26824
|
class: "ui-modal-backdrop",
|
|
26806
26825
|
role: "dialog",
|
|
26807
26826
|
"aria-modal": "true"
|
|
26808
26827
|
};
|
|
26809
|
-
const _hoisted_2$
|
|
26810
|
-
const _hoisted_3$
|
|
26811
|
-
const _hoisted_4$
|
|
26812
|
-
const _sfc_main$
|
|
26828
|
+
const _hoisted_2$u = { class: "ui-modal-header-content" };
|
|
26829
|
+
const _hoisted_3$s = { class: "ui-modal-title" };
|
|
26830
|
+
const _hoisted_4$r = { key: 0 };
|
|
26831
|
+
const _sfc_main$C = /* @__PURE__ */ defineComponent({
|
|
26813
26832
|
__name: "UiModal",
|
|
26814
26833
|
props: {
|
|
26815
26834
|
modelValue: { type: Boolean, default: void 0 },
|
|
@@ -26961,7 +26980,7 @@ const _sfc_main$B = /* @__PURE__ */ defineComponent({
|
|
|
26961
26980
|
}, [
|
|
26962
26981
|
createVNode(Transition, { name: "modal" }, {
|
|
26963
26982
|
default: withCtx(() => [
|
|
26964
|
-
isModalOpen.value ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
26983
|
+
isModalOpen.value ? (openBlock(), createElementBlock("div", _hoisted_1$z, [
|
|
26965
26984
|
createElementVNode("div", {
|
|
26966
26985
|
class: "ui-modal-container",
|
|
26967
26986
|
ref_key: "modalContainer",
|
|
@@ -26976,14 +26995,14 @@ const _sfc_main$B = /* @__PURE__ */ defineComponent({
|
|
|
26976
26995
|
tabindex: "-1"
|
|
26977
26996
|
}, createSlots({
|
|
26978
26997
|
header: withCtx(() => [
|
|
26979
|
-
createElementVNode("div", _hoisted_2$
|
|
26980
|
-
createElementVNode("div", _hoisted_3$
|
|
26998
|
+
createElementVNode("div", _hoisted_2$u, [
|
|
26999
|
+
createElementVNode("div", _hoisted_3$s, [
|
|
26981
27000
|
renderSlot(_ctx.$slots, "header", {
|
|
26982
27001
|
handleClose: closeModal,
|
|
26983
27002
|
isOpen: isModalOpen.value,
|
|
26984
27003
|
openModal
|
|
26985
27004
|
}, () => [
|
|
26986
|
-
_ctx.$props.title ? (openBlock(), createElementBlock("h2", _hoisted_4$
|
|
27005
|
+
_ctx.$props.title ? (openBlock(), createElementBlock("h2", _hoisted_4$r, toDisplayString(_ctx.$props.title), 1)) : createCommentVNode("", true)
|
|
26987
27006
|
], true)
|
|
26988
27007
|
]),
|
|
26989
27008
|
_ctx.showCloseButton ? (openBlock(), createElementBlock("button", {
|
|
@@ -27033,7 +27052,7 @@ const _sfc_main$B = /* @__PURE__ */ defineComponent({
|
|
|
27033
27052
|
};
|
|
27034
27053
|
}
|
|
27035
27054
|
});
|
|
27036
|
-
const UiModal = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
27055
|
+
const UiModal = /* @__PURE__ */ _export_sfc(_sfc_main$C, [["__scopeId", "data-v-dece6264"]]);
|
|
27037
27056
|
const tailwindColors = {
|
|
27038
27057
|
"#000000": {
|
|
27039
27058
|
label: "Black"
|
|
@@ -27636,11 +27655,11 @@ const tailwindColors = {
|
|
|
27636
27655
|
]
|
|
27637
27656
|
}
|
|
27638
27657
|
};
|
|
27639
|
-
const _hoisted_1$
|
|
27640
|
-
const _hoisted_2$
|
|
27641
|
-
const _hoisted_3$
|
|
27642
|
-
const _hoisted_4$
|
|
27643
|
-
const _hoisted_5$
|
|
27658
|
+
const _hoisted_1$y = { class: "ui-color-picker" };
|
|
27659
|
+
const _hoisted_2$t = { class: "ui-color-picker-main" };
|
|
27660
|
+
const _hoisted_3$r = ["viewBox"];
|
|
27661
|
+
const _hoisted_4$q = ["d"];
|
|
27662
|
+
const _hoisted_5$n = ["d"];
|
|
27644
27663
|
const _hoisted_6$l = ["d"];
|
|
27645
27664
|
const _hoisted_7$k = ["d"];
|
|
27646
27665
|
const _hoisted_8$j = ["d"];
|
|
@@ -27719,7 +27738,7 @@ const _hoisted_50$1 = { class: "ui-color-picker-swatch-row ui-color-picker-swatc
|
|
|
27719
27738
|
const _hoisted_51$1 = ["onClick"];
|
|
27720
27739
|
const GLOBAL_PICKER_WIDTH = 200;
|
|
27721
27740
|
const GLOBAL_PICKER_HEIGHT = 150;
|
|
27722
|
-
const _sfc_main$
|
|
27741
|
+
const _sfc_main$B = /* @__PURE__ */ defineComponent({
|
|
27723
27742
|
__name: "UiColorPicker.Picker",
|
|
27724
27743
|
props: {
|
|
27725
27744
|
contrastLabel: {},
|
|
@@ -29264,8 +29283,8 @@ const _sfc_main$A = /* @__PURE__ */ defineComponent({
|
|
|
29264
29283
|
document.removeEventListener("touchend", handleAreaMouseUp);
|
|
29265
29284
|
});
|
|
29266
29285
|
return (_ctx, _cache) => {
|
|
29267
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
29268
|
-
createElementVNode("div", _hoisted_2$
|
|
29286
|
+
return openBlock(), createElementBlock("div", _hoisted_1$y, [
|
|
29287
|
+
createElementVNode("div", _hoisted_2$t, [
|
|
29269
29288
|
createElementVNode("div", {
|
|
29270
29289
|
ref_key: "colorAreaRef",
|
|
29271
29290
|
ref: colorAreaRef,
|
|
@@ -29333,14 +29352,14 @@ const _sfc_main$A = /* @__PURE__ */ defineComponent({
|
|
|
29333
29352
|
fill: "url(#orangeDotsPattern)",
|
|
29334
29353
|
"clip-path": "url(#canvasClip)",
|
|
29335
29354
|
opacity: "0.4"
|
|
29336
|
-
}, null, 8, _hoisted_4$
|
|
29355
|
+
}, null, 8, _hoisted_4$q)) : createCommentVNode("", true),
|
|
29337
29356
|
contrastDotsLargeTextPath.value ? (openBlock(), createElementBlock("path", {
|
|
29338
29357
|
key: 1,
|
|
29339
29358
|
d: contrastDotsLargeTextPath.value,
|
|
29340
29359
|
fill: "url(#redDotsPattern)",
|
|
29341
29360
|
"clip-path": "url(#canvasClip)",
|
|
29342
29361
|
opacity: "0.4"
|
|
29343
|
-
}, null, 8, _hoisted_5$
|
|
29362
|
+
}, null, 8, _hoisted_5$n)) : createCommentVNode("", true),
|
|
29344
29363
|
contrastBoundaryTopCurve.value ? (openBlock(), createElementBlock("path", {
|
|
29345
29364
|
key: 2,
|
|
29346
29365
|
d: contrastBoundaryTopCurve.value,
|
|
@@ -29387,7 +29406,7 @@ const _sfc_main$A = /* @__PURE__ */ defineComponent({
|
|
|
29387
29406
|
"stroke-opacity": "0.5",
|
|
29388
29407
|
"clip-path": "url(#canvasClip)"
|
|
29389
29408
|
}, null, 8, _hoisted_9$i)) : createCommentVNode("", true)
|
|
29390
|
-
], 8, _hoisted_3$
|
|
29409
|
+
], 8, _hoisted_3$r)) : createCommentVNode("", true)
|
|
29391
29410
|
], 2)) : createCommentVNode("", true),
|
|
29392
29411
|
createElementVNode("div", {
|
|
29393
29412
|
class: "ui-color-picker-cursor",
|
|
@@ -29906,10 +29925,10 @@ const _sfc_main$A = /* @__PURE__ */ defineComponent({
|
|
|
29906
29925
|
};
|
|
29907
29926
|
}
|
|
29908
29927
|
});
|
|
29909
|
-
const UiColorPickerPicker = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
29910
|
-
const _hoisted_1$
|
|
29911
|
-
const _hoisted_2$
|
|
29912
|
-
const _sfc_main$
|
|
29928
|
+
const UiColorPickerPicker = /* @__PURE__ */ _export_sfc(_sfc_main$B, [["__scopeId", "data-v-24473a61"]]);
|
|
29929
|
+
const _hoisted_1$x = { class: "ui-color-picker-button-container" };
|
|
29930
|
+
const _hoisted_2$s = { class: "ui-color-picker-button-preview" };
|
|
29931
|
+
const _sfc_main$A = /* @__PURE__ */ defineComponent({
|
|
29913
29932
|
__name: "UiColorPicker.Button",
|
|
29914
29933
|
props: {
|
|
29915
29934
|
modelValue: {},
|
|
@@ -29993,7 +30012,7 @@ const _sfc_main$z = /* @__PURE__ */ defineComponent({
|
|
|
29993
30012
|
cleanupFloating();
|
|
29994
30013
|
});
|
|
29995
30014
|
return (_ctx, _cache) => {
|
|
29996
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
30015
|
+
return openBlock(), createElementBlock("div", _hoisted_1$x, [
|
|
29997
30016
|
createVNode(StrandsUiButton, {
|
|
29998
30017
|
ref_key: "buttonRef",
|
|
29999
30018
|
ref: buttonRef,
|
|
@@ -30002,7 +30021,7 @@ const _sfc_main$z = /* @__PURE__ */ defineComponent({
|
|
|
30002
30021
|
onClick: togglePopover
|
|
30003
30022
|
}, {
|
|
30004
30023
|
"leading-icon": withCtx(() => [
|
|
30005
|
-
createElementVNode("div", _hoisted_2$
|
|
30024
|
+
createElementVNode("div", _hoisted_2$s, [
|
|
30006
30025
|
createElementVNode("div", {
|
|
30007
30026
|
class: "ui-color-picker-button-color",
|
|
30008
30027
|
style: normalizeStyle({ backgroundColor: currentColorString.value })
|
|
@@ -30037,8 +30056,8 @@ const _sfc_main$z = /* @__PURE__ */ defineComponent({
|
|
|
30037
30056
|
};
|
|
30038
30057
|
}
|
|
30039
30058
|
});
|
|
30040
|
-
const UiColorPickerButton = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
30041
|
-
const _sfc_main$
|
|
30059
|
+
const UiColorPickerButton = /* @__PURE__ */ _export_sfc(_sfc_main$A, [["__scopeId", "data-v-a03d15a6"]]);
|
|
30060
|
+
const _sfc_main$z = /* @__PURE__ */ defineComponent({
|
|
30042
30061
|
__name: "UiColorPicker",
|
|
30043
30062
|
props: {
|
|
30044
30063
|
modelValue: { default: "#EA00A8" },
|
|
@@ -30092,8 +30111,8 @@ const _sfc_main$y = /* @__PURE__ */ defineComponent({
|
|
|
30092
30111
|
};
|
|
30093
30112
|
}
|
|
30094
30113
|
});
|
|
30095
|
-
const _hoisted_1$
|
|
30096
|
-
const _sfc_main$
|
|
30114
|
+
const _hoisted_1$w = { class: "ui-tooltip-content" };
|
|
30115
|
+
const _sfc_main$y = /* @__PURE__ */ defineComponent({
|
|
30097
30116
|
__name: "UiTooltip",
|
|
30098
30117
|
props: {
|
|
30099
30118
|
content: { default: "" },
|
|
@@ -30216,7 +30235,7 @@ const _sfc_main$x = /* @__PURE__ */ defineComponent({
|
|
|
30216
30235
|
style: normalizeStyle(tooltipStyle.value),
|
|
30217
30236
|
role: "tooltip"
|
|
30218
30237
|
}, [
|
|
30219
|
-
createElementVNode("div", _hoisted_1$
|
|
30238
|
+
createElementVNode("div", _hoisted_1$w, [
|
|
30220
30239
|
renderSlot(_ctx.$slots, "tooltip", {}, () => [
|
|
30221
30240
|
createTextVNode(toDisplayString(_ctx.content), 1)
|
|
30222
30241
|
], true)
|
|
@@ -30230,15 +30249,15 @@ const _sfc_main$x = /* @__PURE__ */ defineComponent({
|
|
|
30230
30249
|
};
|
|
30231
30250
|
}
|
|
30232
30251
|
});
|
|
30233
|
-
const UiTooltip = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
30234
|
-
const _hoisted_1$
|
|
30235
|
-
const _hoisted_2$
|
|
30252
|
+
const UiTooltip = /* @__PURE__ */ _export_sfc(_sfc_main$y, [["__scopeId", "data-v-614c492f"]]);
|
|
30253
|
+
const _hoisted_1$v = { class: "ui-table-container" };
|
|
30254
|
+
const _hoisted_2$r = {
|
|
30236
30255
|
key: 0,
|
|
30237
30256
|
class: "ui-table-header"
|
|
30238
30257
|
};
|
|
30239
|
-
const _hoisted_3$
|
|
30240
|
-
const _hoisted_4$
|
|
30241
|
-
const _hoisted_5$
|
|
30258
|
+
const _hoisted_3$q = ["onDragenter", "onDrop"];
|
|
30259
|
+
const _hoisted_4$p = { class: "ui-table-header-content" };
|
|
30260
|
+
const _hoisted_5$m = ["onClick"];
|
|
30242
30261
|
const _hoisted_6$k = ["onDragstart"];
|
|
30243
30262
|
const _hoisted_7$j = {
|
|
30244
30263
|
key: 1,
|
|
@@ -30271,7 +30290,7 @@ const _hoisted_25$5 = {
|
|
|
30271
30290
|
key: 1,
|
|
30272
30291
|
class: "ui-table-footer"
|
|
30273
30292
|
};
|
|
30274
|
-
const _sfc_main$
|
|
30293
|
+
const _sfc_main$x = /* @__PURE__ */ defineComponent({
|
|
30275
30294
|
__name: "UiTable",
|
|
30276
30295
|
props: {
|
|
30277
30296
|
columns: {},
|
|
@@ -30525,7 +30544,7 @@ const _sfc_main$w = /* @__PURE__ */ defineComponent({
|
|
|
30525
30544
|
return groupCount;
|
|
30526
30545
|
};
|
|
30527
30546
|
return (_ctx, _cache) => {
|
|
30528
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
30547
|
+
return openBlock(), createElementBlock("div", _hoisted_1$v, [
|
|
30529
30548
|
createElementVNode("div", {
|
|
30530
30549
|
ref_key: "tableRef",
|
|
30531
30550
|
ref: tableRef,
|
|
@@ -30540,7 +30559,7 @@ const _sfc_main$w = /* @__PURE__ */ defineComponent({
|
|
|
30540
30559
|
]),
|
|
30541
30560
|
style: normalizeStyle(tableStyle.value)
|
|
30542
30561
|
}, [
|
|
30543
|
-
_ctx.columns.length > 0 ? (openBlock(), createElementBlock("div", _hoisted_2$
|
|
30562
|
+
_ctx.columns.length > 0 ? (openBlock(), createElementBlock("div", _hoisted_2$r, [
|
|
30544
30563
|
(openBlock(true), createElementBlock(Fragment$1, null, renderList(_ctx.columns, (column, index) => {
|
|
30545
30564
|
return openBlock(), createElementBlock("div", {
|
|
30546
30565
|
key: `header-${index}`,
|
|
@@ -30564,7 +30583,7 @@ const _sfc_main$w = /* @__PURE__ */ defineComponent({
|
|
|
30564
30583
|
onDrop: ($event) => handleDrop($event, index),
|
|
30565
30584
|
style: normalizeStyle(getHeaderColumnTransform(index))
|
|
30566
30585
|
}, [
|
|
30567
|
-
createElementVNode("div", _hoisted_4$
|
|
30586
|
+
createElementVNode("div", _hoisted_4$p, [
|
|
30568
30587
|
createElementVNode("div", {
|
|
30569
30588
|
class: "ui-table-header-main",
|
|
30570
30589
|
onClick: ($event) => column.sortable ? handleSort(column.key) : null
|
|
@@ -30591,7 +30610,7 @@ const _sfc_main$w = /* @__PURE__ */ defineComponent({
|
|
|
30591
30610
|
size: 16
|
|
30592
30611
|
}))
|
|
30593
30612
|
])) : createCommentVNode("", true)
|
|
30594
|
-
], 8, _hoisted_5$
|
|
30613
|
+
], 8, _hoisted_5$m),
|
|
30595
30614
|
createElementVNode("div", _hoisted_8$i, [
|
|
30596
30615
|
_ctx.filterable || column.filterable ? (openBlock(), createElementBlock("button", {
|
|
30597
30616
|
key: 0,
|
|
@@ -30637,7 +30656,7 @@ const _sfc_main$w = /* @__PURE__ */ defineComponent({
|
|
|
30637
30656
|
[vModelSelect, filters.value[column.key]]
|
|
30638
30657
|
]) : createCommentVNode("", true)
|
|
30639
30658
|
])) : createCommentVNode("", true)
|
|
30640
|
-
], 46, _hoisted_3$
|
|
30659
|
+
], 46, _hoisted_3$q);
|
|
30641
30660
|
}), 128))
|
|
30642
30661
|
])) : createCommentVNode("", true),
|
|
30643
30662
|
createElementVNode("div", _hoisted_16$d, [
|
|
@@ -30755,21 +30774,21 @@ const _sfc_main$w = /* @__PURE__ */ defineComponent({
|
|
|
30755
30774
|
};
|
|
30756
30775
|
}
|
|
30757
30776
|
});
|
|
30758
|
-
const UiTable = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
30759
|
-
const _hoisted_1$
|
|
30760
|
-
const _hoisted_2$
|
|
30777
|
+
const UiTable = /* @__PURE__ */ _export_sfc(_sfc_main$x, [["__scopeId", "data-v-263368b2"]]);
|
|
30778
|
+
const _hoisted_1$u = { class: "ui-hero-content" };
|
|
30779
|
+
const _hoisted_2$q = {
|
|
30761
30780
|
key: 0,
|
|
30762
30781
|
class: "ui-hero-header"
|
|
30763
30782
|
};
|
|
30764
|
-
const _hoisted_3$
|
|
30783
|
+
const _hoisted_3$p = {
|
|
30765
30784
|
key: 0,
|
|
30766
30785
|
class: "ui-hero-title"
|
|
30767
30786
|
};
|
|
30768
|
-
const _hoisted_4$
|
|
30787
|
+
const _hoisted_4$o = {
|
|
30769
30788
|
key: 1,
|
|
30770
30789
|
class: "ui-hero-description"
|
|
30771
30790
|
};
|
|
30772
|
-
const _hoisted_5$
|
|
30791
|
+
const _hoisted_5$l = {
|
|
30773
30792
|
key: 1,
|
|
30774
30793
|
class: "ui-hero-navigation"
|
|
30775
30794
|
};
|
|
@@ -30785,7 +30804,7 @@ const _hoisted_8$h = {
|
|
|
30785
30804
|
key: 1,
|
|
30786
30805
|
class: "ui-hero-background"
|
|
30787
30806
|
};
|
|
30788
|
-
const _sfc_main$
|
|
30807
|
+
const _sfc_main$w = /* @__PURE__ */ defineComponent({
|
|
30789
30808
|
__name: "UiHero",
|
|
30790
30809
|
props: {
|
|
30791
30810
|
variant: { default: "minimal" },
|
|
@@ -30860,14 +30879,14 @@ const _sfc_main$v = /* @__PURE__ */ defineComponent({
|
|
|
30860
30879
|
]]),
|
|
30861
30880
|
style: normalizeStyle(heroStyles.value)
|
|
30862
30881
|
}, [
|
|
30863
|
-
createElementVNode("div", _hoisted_1$
|
|
30864
|
-
hasHeaderSlot.value || _ctx.title || _ctx.description ? (openBlock(), createElementBlock("div", _hoisted_2$
|
|
30882
|
+
createElementVNode("div", _hoisted_1$u, [
|
|
30883
|
+
hasHeaderSlot.value || _ctx.title || _ctx.description ? (openBlock(), createElementBlock("div", _hoisted_2$q, [
|
|
30865
30884
|
renderSlot(_ctx.$slots, "header", {}, () => [
|
|
30866
|
-
_ctx.title ? (openBlock(), createElementBlock("h1", _hoisted_3$
|
|
30867
|
-
_ctx.description ? (openBlock(), createElementBlock("p", _hoisted_4$
|
|
30885
|
+
_ctx.title ? (openBlock(), createElementBlock("h1", _hoisted_3$p, toDisplayString(_ctx.title), 1)) : createCommentVNode("", true),
|
|
30886
|
+
_ctx.description ? (openBlock(), createElementBlock("p", _hoisted_4$o, toDisplayString(_ctx.description), 1)) : createCommentVNode("", true)
|
|
30868
30887
|
], true)
|
|
30869
30888
|
])) : createCommentVNode("", true),
|
|
30870
|
-
hasNavigationSlot.value ? (openBlock(), createElementBlock("div", _hoisted_5$
|
|
30889
|
+
hasNavigationSlot.value ? (openBlock(), createElementBlock("div", _hoisted_5$l, [
|
|
30871
30890
|
renderSlot(_ctx.$slots, "navigation", {}, void 0, true)
|
|
30872
30891
|
])) : createCommentVNode("", true),
|
|
30873
30892
|
hasDefaultSlot.value ? (openBlock(), createElementBlock("div", _hoisted_6$j, [
|
|
@@ -30884,7 +30903,7 @@ const _sfc_main$v = /* @__PURE__ */ defineComponent({
|
|
|
30884
30903
|
};
|
|
30885
30904
|
}
|
|
30886
30905
|
});
|
|
30887
|
-
const UiHero = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
30906
|
+
const UiHero = /* @__PURE__ */ _export_sfc(_sfc_main$w, [["__scopeId", "data-v-00e0d581"]]);
|
|
30888
30907
|
const currentTheme = ref("system");
|
|
30889
30908
|
const systemPrefersDark = ref(false);
|
|
30890
30909
|
const STORAGE_KEY = "strands-ui-theme";
|
|
@@ -31070,14 +31089,14 @@ function useTheme(fallbackTheme = "auto") {
|
|
|
31070
31089
|
themeClass
|
|
31071
31090
|
};
|
|
31072
31091
|
}
|
|
31073
|
-
const _hoisted_1$
|
|
31074
|
-
const _hoisted_2$
|
|
31075
|
-
const _hoisted_3$
|
|
31092
|
+
const _hoisted_1$t = { class: "accui-component-scope" };
|
|
31093
|
+
const _hoisted_2$p = { class: "ui-theme-toggle" };
|
|
31094
|
+
const _hoisted_3$o = {
|
|
31076
31095
|
key: 1,
|
|
31077
31096
|
class: "ui-theme-toggle-dropdown"
|
|
31078
31097
|
};
|
|
31079
|
-
const _hoisted_4$
|
|
31080
|
-
const _hoisted_5$
|
|
31098
|
+
const _hoisted_4$n = ["disabled", "onClick"];
|
|
31099
|
+
const _hoisted_5$k = {
|
|
31081
31100
|
key: 0,
|
|
31082
31101
|
class: "ui-theme-toggle-option-indicator"
|
|
31083
31102
|
};
|
|
@@ -31087,7 +31106,7 @@ const _hoisted_6$i = {
|
|
|
31087
31106
|
role: "group",
|
|
31088
31107
|
"aria-label": "Theme selection"
|
|
31089
31108
|
};
|
|
31090
|
-
const _sfc_main$
|
|
31109
|
+
const _sfc_main$v = /* @__PURE__ */ defineComponent({
|
|
31091
31110
|
__name: "UiThemeToggle",
|
|
31092
31111
|
props: {
|
|
31093
31112
|
variant: { default: "button" },
|
|
@@ -31137,8 +31156,8 @@ const _sfc_main$u = /* @__PURE__ */ defineComponent({
|
|
|
31137
31156
|
document.removeEventListener("click", handleClickOutside);
|
|
31138
31157
|
});
|
|
31139
31158
|
return (_ctx, _cache) => {
|
|
31140
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
31141
|
-
createElementVNode("div", _hoisted_2$
|
|
31159
|
+
return openBlock(), createElementBlock("div", _hoisted_1$t, [
|
|
31160
|
+
createElementVNode("div", _hoisted_2$p, [
|
|
31142
31161
|
_ctx.variant === "button" ? (openBlock(), createBlock(StrandsUiButton, {
|
|
31143
31162
|
key: 0,
|
|
31144
31163
|
icon: true,
|
|
@@ -31154,7 +31173,7 @@ const _sfc_main$u = /* @__PURE__ */ defineComponent({
|
|
|
31154
31173
|
(openBlock(), createBlock(resolveDynamicComponent(getIconComponent(currentIcon.value))))
|
|
31155
31174
|
]),
|
|
31156
31175
|
_: 1
|
|
31157
|
-
}, 8, ["size", "disabled", "title", "class"])) : _ctx.variant === "dropdown" ? (openBlock(), createElementBlock("div", _hoisted_3$
|
|
31176
|
+
}, 8, ["size", "disabled", "title", "class"])) : _ctx.variant === "dropdown" ? (openBlock(), createElementBlock("div", _hoisted_3$o, [
|
|
31158
31177
|
createVNode(StrandsUiButton, {
|
|
31159
31178
|
squircle: true,
|
|
31160
31179
|
variant: "ghost",
|
|
@@ -31195,8 +31214,8 @@ const _sfc_main$u = /* @__PURE__ */ defineComponent({
|
|
|
31195
31214
|
}, [
|
|
31196
31215
|
(openBlock(), createBlock(resolveDynamicComponent(getIconComponent(option.icon)), { class: "ui-theme-toggle-option-icon" })),
|
|
31197
31216
|
createElementVNode("span", null, toDisplayString(option.label), 1),
|
|
31198
|
-
unref(currentTheme2) === option.value ? (openBlock(), createElementBlock("div", _hoisted_5$
|
|
31199
|
-
], 10, _hoisted_4$
|
|
31217
|
+
unref(currentTheme2) === option.value ? (openBlock(), createElementBlock("div", _hoisted_5$k)) : createCommentVNode("", true)
|
|
31218
|
+
], 10, _hoisted_4$n);
|
|
31200
31219
|
}), 128))
|
|
31201
31220
|
])) : createCommentVNode("", true)
|
|
31202
31221
|
])) : _ctx.variant === "segmented" ? (openBlock(), createElementBlock("div", _hoisted_6$i, [
|
|
@@ -31228,21 +31247,21 @@ const _sfc_main$u = /* @__PURE__ */ defineComponent({
|
|
|
31228
31247
|
};
|
|
31229
31248
|
}
|
|
31230
31249
|
});
|
|
31231
|
-
const UiThemeToggle = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
31232
|
-
const _hoisted_1$
|
|
31250
|
+
const UiThemeToggle = /* @__PURE__ */ _export_sfc(_sfc_main$v, [["__scopeId", "data-v-42a061c8"]]);
|
|
31251
|
+
const _hoisted_1$s = {
|
|
31233
31252
|
key: 0,
|
|
31234
31253
|
class: "slider-header"
|
|
31235
31254
|
};
|
|
31236
|
-
const _hoisted_2$
|
|
31237
|
-
const _hoisted_3$
|
|
31255
|
+
const _hoisted_2$o = ["for"];
|
|
31256
|
+
const _hoisted_3$n = {
|
|
31238
31257
|
key: 0,
|
|
31239
31258
|
class: "slider-required"
|
|
31240
31259
|
};
|
|
31241
|
-
const _hoisted_4$
|
|
31260
|
+
const _hoisted_4$m = {
|
|
31242
31261
|
key: 1,
|
|
31243
31262
|
class: "slider-value"
|
|
31244
31263
|
};
|
|
31245
|
-
const _hoisted_5$
|
|
31264
|
+
const _hoisted_5$j = {
|
|
31246
31265
|
key: 0,
|
|
31247
31266
|
class: "slider-min-label"
|
|
31248
31267
|
};
|
|
@@ -31273,7 +31292,7 @@ const _hoisted_14$f = {
|
|
|
31273
31292
|
key: 1,
|
|
31274
31293
|
class: "slider-help-text"
|
|
31275
31294
|
};
|
|
31276
|
-
const _sfc_main$
|
|
31295
|
+
const _sfc_main$u = /* @__PURE__ */ defineComponent({
|
|
31277
31296
|
__name: "UiSlider",
|
|
31278
31297
|
props: {
|
|
31279
31298
|
modelValue: { default: 0 },
|
|
@@ -31377,21 +31396,21 @@ const _sfc_main$t = /* @__PURE__ */ defineComponent({
|
|
|
31377
31396
|
}
|
|
31378
31397
|
]])
|
|
31379
31398
|
}, [
|
|
31380
|
-
_ctx.label || _ctx.showValue ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
31399
|
+
_ctx.label || _ctx.showValue ? (openBlock(), createElementBlock("div", _hoisted_1$s, [
|
|
31381
31400
|
_ctx.label ? (openBlock(), createElementBlock("label", {
|
|
31382
31401
|
key: 0,
|
|
31383
31402
|
for: _ctx.inputId,
|
|
31384
31403
|
class: "slider-label"
|
|
31385
31404
|
}, [
|
|
31386
31405
|
createTextVNode(toDisplayString(_ctx.label) + " ", 1),
|
|
31387
|
-
_ctx.required ? (openBlock(), createElementBlock("span", _hoisted_3$
|
|
31388
|
-
], 8, _hoisted_2$
|
|
31389
|
-
_ctx.showValue ? (openBlock(), createElementBlock("div", _hoisted_4$
|
|
31406
|
+
_ctx.required ? (openBlock(), createElementBlock("span", _hoisted_3$n, "*")) : createCommentVNode("", true)
|
|
31407
|
+
], 8, _hoisted_2$o)) : createCommentVNode("", true),
|
|
31408
|
+
_ctx.showValue ? (openBlock(), createElementBlock("div", _hoisted_4$m, toDisplayString(displayValue.value) + toDisplayString(_ctx.unit), 1)) : createCommentVNode("", true)
|
|
31390
31409
|
])) : createCommentVNode("", true),
|
|
31391
31410
|
createElementVNode("div", {
|
|
31392
31411
|
class: normalizeClass(["slider-container", { "slider-error": _ctx.error }])
|
|
31393
31412
|
}, [
|
|
31394
|
-
_ctx.showMinMax ? (openBlock(), createElementBlock("div", _hoisted_5$
|
|
31413
|
+
_ctx.showMinMax ? (openBlock(), createElementBlock("div", _hoisted_5$j, toDisplayString(_ctx.min) + toDisplayString(_ctx.unit), 1)) : createCommentVNode("", true),
|
|
31395
31414
|
createElementVNode("div", _hoisted_6$h, [
|
|
31396
31415
|
createElementVNode("input", {
|
|
31397
31416
|
id: _ctx.inputId,
|
|
@@ -31446,21 +31465,21 @@ const _sfc_main$t = /* @__PURE__ */ defineComponent({
|
|
|
31446
31465
|
};
|
|
31447
31466
|
}
|
|
31448
31467
|
});
|
|
31449
|
-
const UiSlider = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
31450
|
-
const _hoisted_1$
|
|
31468
|
+
const UiSlider = /* @__PURE__ */ _export_sfc(_sfc_main$u, [["__scopeId", "data-v-39aa55d9"]]);
|
|
31469
|
+
const _hoisted_1$r = {
|
|
31451
31470
|
key: 0,
|
|
31452
31471
|
class: "radio-group-label"
|
|
31453
31472
|
};
|
|
31454
|
-
const _hoisted_2$
|
|
31473
|
+
const _hoisted_2$n = {
|
|
31455
31474
|
key: 0,
|
|
31456
31475
|
class: "radio-group-required"
|
|
31457
31476
|
};
|
|
31458
|
-
const _hoisted_3$
|
|
31477
|
+
const _hoisted_3$m = {
|
|
31459
31478
|
key: 1,
|
|
31460
31479
|
class: "radio-group-description"
|
|
31461
31480
|
};
|
|
31462
|
-
const _hoisted_4$
|
|
31463
|
-
const _hoisted_5$
|
|
31481
|
+
const _hoisted_4$l = ["onClick"];
|
|
31482
|
+
const _hoisted_5$i = ["id", "name", "value", "checked", "disabled", "required"];
|
|
31464
31483
|
const _hoisted_6$g = { class: "radio-content" };
|
|
31465
31484
|
const _hoisted_7$g = ["for"];
|
|
31466
31485
|
const _hoisted_8$f = {
|
|
@@ -31483,7 +31502,7 @@ const _hoisted_12$f = {
|
|
|
31483
31502
|
key: 1,
|
|
31484
31503
|
class: "radio-help-text"
|
|
31485
31504
|
};
|
|
31486
|
-
const _sfc_main$
|
|
31505
|
+
const _sfc_main$t = /* @__PURE__ */ defineComponent({
|
|
31487
31506
|
__name: "UiRadioGroup",
|
|
31488
31507
|
props: {
|
|
31489
31508
|
modelValue: {},
|
|
@@ -31533,11 +31552,11 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent({
|
|
|
31533
31552
|
{ "radio-group-disabled": _ctx.disabled }
|
|
31534
31553
|
]])
|
|
31535
31554
|
}, [
|
|
31536
|
-
_ctx.label ? (openBlock(), createElementBlock("label", _hoisted_1$
|
|
31555
|
+
_ctx.label ? (openBlock(), createElementBlock("label", _hoisted_1$r, [
|
|
31537
31556
|
createTextVNode(toDisplayString(_ctx.label) + " ", 1),
|
|
31538
|
-
_ctx.required ? (openBlock(), createElementBlock("span", _hoisted_2$
|
|
31557
|
+
_ctx.required ? (openBlock(), createElementBlock("span", _hoisted_2$n, "*")) : createCommentVNode("", true)
|
|
31539
31558
|
])) : createCommentVNode("", true),
|
|
31540
|
-
_ctx.description ? (openBlock(), createElementBlock("p", _hoisted_3$
|
|
31559
|
+
_ctx.description ? (openBlock(), createElementBlock("p", _hoisted_3$m, toDisplayString(_ctx.description), 1)) : createCommentVNode("", true),
|
|
31541
31560
|
createElementVNode("div", {
|
|
31542
31561
|
class: normalizeClass(["radio-options", [
|
|
31543
31562
|
orientationClasses.value,
|
|
@@ -31568,7 +31587,7 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent({
|
|
|
31568
31587
|
onChange: handleInputChange,
|
|
31569
31588
|
onFocus: handleFocus,
|
|
31570
31589
|
onBlur: handleBlur
|
|
31571
|
-
}, null, 40, _hoisted_5$
|
|
31590
|
+
}, null, 40, _hoisted_5$i),
|
|
31572
31591
|
_cache[0] || (_cache[0] = createElementVNode("div", { class: "radio-button" }, [
|
|
31573
31592
|
createElementVNode("div", { class: "radio-button-inner" })
|
|
31574
31593
|
], -1)),
|
|
@@ -31582,7 +31601,7 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent({
|
|
|
31582
31601
|
(openBlock(), createBlock(resolveDynamicComponent(option.icon)))
|
|
31583
31602
|
])) : createCommentVNode("", true)
|
|
31584
31603
|
])
|
|
31585
|
-
], 10, _hoisted_4$
|
|
31604
|
+
], 10, _hoisted_4$l);
|
|
31586
31605
|
}), 128))
|
|
31587
31606
|
], 2),
|
|
31588
31607
|
_ctx.helpText || _ctx.error ? (openBlock(), createElementBlock("div", _hoisted_10$f, [
|
|
@@ -31592,21 +31611,21 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent({
|
|
|
31592
31611
|
};
|
|
31593
31612
|
}
|
|
31594
31613
|
});
|
|
31595
|
-
const UiRadioGroup = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
31596
|
-
const _hoisted_1$
|
|
31614
|
+
const UiRadioGroup = /* @__PURE__ */ _export_sfc(_sfc_main$t, [["__scopeId", "data-v-4095f911"]]);
|
|
31615
|
+
const _hoisted_1$q = {
|
|
31597
31616
|
key: 0,
|
|
31598
31617
|
class: "checkbox-group-label"
|
|
31599
31618
|
};
|
|
31600
|
-
const _hoisted_2$
|
|
31619
|
+
const _hoisted_2$m = {
|
|
31601
31620
|
key: 0,
|
|
31602
31621
|
class: "checkbox-group-required"
|
|
31603
31622
|
};
|
|
31604
|
-
const _hoisted_3$
|
|
31623
|
+
const _hoisted_3$l = {
|
|
31605
31624
|
key: 1,
|
|
31606
31625
|
class: "checkbox-group-description"
|
|
31607
31626
|
};
|
|
31608
|
-
const _hoisted_4$
|
|
31609
|
-
const _hoisted_5$
|
|
31627
|
+
const _hoisted_4$k = ["onClick"];
|
|
31628
|
+
const _hoisted_5$h = ["id", "name", "value", "checked", "disabled", "required", "indeterminate", "onChange"];
|
|
31610
31629
|
const _hoisted_6$f = { class: "checkbox-button" };
|
|
31611
31630
|
const _hoisted_7$f = {
|
|
31612
31631
|
key: 0,
|
|
@@ -31661,7 +31680,7 @@ const _hoisted_21$7 = {
|
|
|
31661
31680
|
key: 1,
|
|
31662
31681
|
class: "checkbox-help-text"
|
|
31663
31682
|
};
|
|
31664
|
-
const _sfc_main$
|
|
31683
|
+
const _sfc_main$s = /* @__PURE__ */ defineComponent({
|
|
31665
31684
|
__name: "UiCheckboxGroup",
|
|
31666
31685
|
props: {
|
|
31667
31686
|
modelValue: { default: () => [] },
|
|
@@ -31751,11 +31770,11 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
|
|
|
31751
31770
|
{ "checkbox-group-disabled": _ctx.disabled }
|
|
31752
31771
|
]])
|
|
31753
31772
|
}, [
|
|
31754
|
-
_ctx.label ? (openBlock(), createElementBlock("label", _hoisted_1$
|
|
31773
|
+
_ctx.label ? (openBlock(), createElementBlock("label", _hoisted_1$q, [
|
|
31755
31774
|
createTextVNode(toDisplayString(_ctx.label) + " ", 1),
|
|
31756
|
-
_ctx.required ? (openBlock(), createElementBlock("span", _hoisted_2$
|
|
31775
|
+
_ctx.required ? (openBlock(), createElementBlock("span", _hoisted_2$m, "*")) : createCommentVNode("", true)
|
|
31757
31776
|
])) : createCommentVNode("", true),
|
|
31758
|
-
_ctx.description ? (openBlock(), createElementBlock("p", _hoisted_3$
|
|
31777
|
+
_ctx.description ? (openBlock(), createElementBlock("p", _hoisted_3$l, toDisplayString(_ctx.description), 1)) : createCommentVNode("", true),
|
|
31759
31778
|
createElementVNode("div", {
|
|
31760
31779
|
class: normalizeClass(["checkbox-options", [
|
|
31761
31780
|
orientationClasses.value,
|
|
@@ -31788,7 +31807,7 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
|
|
|
31788
31807
|
onChange: (event) => handleInputChange(option),
|
|
31789
31808
|
onFocus: handleFocus,
|
|
31790
31809
|
onBlur: handleBlur
|
|
31791
|
-
}, null, 40, _hoisted_5$
|
|
31810
|
+
}, null, 40, _hoisted_5$h),
|
|
31792
31811
|
createElementVNode("div", _hoisted_6$f, [
|
|
31793
31812
|
isSelected(option.value) ? (openBlock(), createElementBlock("svg", _hoisted_7$f, [..._cache[0] || (_cache[0] = [
|
|
31794
31813
|
createElementVNode("path", {
|
|
@@ -31814,7 +31833,7 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
|
|
|
31814
31833
|
(openBlock(), createBlock(resolveDynamicComponent(option.icon)))
|
|
31815
31834
|
])) : createCommentVNode("", true)
|
|
31816
31835
|
])
|
|
31817
|
-
], 10, _hoisted_4$
|
|
31836
|
+
], 10, _hoisted_4$k);
|
|
31818
31837
|
}), 128))
|
|
31819
31838
|
], 2),
|
|
31820
31839
|
_ctx.showSelectAll && _ctx.options.length > 1 ? (openBlock(), createElementBlock("div", _hoisted_13$e, [
|
|
@@ -31861,7 +31880,95 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
|
|
|
31861
31880
|
};
|
|
31862
31881
|
}
|
|
31863
31882
|
});
|
|
31864
|
-
const UiCheckboxGroup = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
31883
|
+
const UiCheckboxGroup = /* @__PURE__ */ _export_sfc(_sfc_main$s, [["__scopeId", "data-v-db488410"]]);
|
|
31884
|
+
const _hoisted_1$p = { class: "accui-component-scope" };
|
|
31885
|
+
const _hoisted_2$l = {
|
|
31886
|
+
key: 0,
|
|
31887
|
+
class: "ui-pill-leading-icon"
|
|
31888
|
+
};
|
|
31889
|
+
const _hoisted_3$k = {
|
|
31890
|
+
key: 1,
|
|
31891
|
+
class: "ui-pill-icon"
|
|
31892
|
+
};
|
|
31893
|
+
const _hoisted_4$j = {
|
|
31894
|
+
key: 2,
|
|
31895
|
+
class: "ui-pill-content"
|
|
31896
|
+
};
|
|
31897
|
+
const _hoisted_5$g = {
|
|
31898
|
+
key: 3,
|
|
31899
|
+
class: "ui-pill-trailing-icon"
|
|
31900
|
+
};
|
|
31901
|
+
const _sfc_main$r = /* @__PURE__ */ defineComponent({
|
|
31902
|
+
__name: "UiPill",
|
|
31903
|
+
props: {
|
|
31904
|
+
variant: { default: "filled" },
|
|
31905
|
+
size: { default: "md" },
|
|
31906
|
+
color: { default: "primary" },
|
|
31907
|
+
icon: { type: Boolean, default: false },
|
|
31908
|
+
iconOnly: { type: Boolean, default: false },
|
|
31909
|
+
removable: { type: Boolean, default: false },
|
|
31910
|
+
disabled: { type: Boolean, default: false },
|
|
31911
|
+
tooltip: {}
|
|
31912
|
+
},
|
|
31913
|
+
emits: ["remove"],
|
|
31914
|
+
setup(__props, { emit: __emit }) {
|
|
31915
|
+
const props = __props;
|
|
31916
|
+
const pillClasses = computed(() => {
|
|
31917
|
+
const classes = [
|
|
31918
|
+
"ui-pill",
|
|
31919
|
+
`ui-pill-${props.variant}`,
|
|
31920
|
+
`ui-pill-${props.size}`,
|
|
31921
|
+
`ui-pill-color-${props.color}`,
|
|
31922
|
+
props.icon ? "ui-pill-has-icon" : "",
|
|
31923
|
+
props.iconOnly ? "ui-pill-icon-only" : "",
|
|
31924
|
+
props.removable ? "ui-pill-removable" : "",
|
|
31925
|
+
props.disabled ? "ui-pill-disabled" : ""
|
|
31926
|
+
].filter(Boolean);
|
|
31927
|
+
return classes.join(" ");
|
|
31928
|
+
});
|
|
31929
|
+
const pillStyles = computed(() => {
|
|
31930
|
+
return {};
|
|
31931
|
+
});
|
|
31932
|
+
return (_ctx, _cache) => {
|
|
31933
|
+
return openBlock(), createElementBlock("div", _hoisted_1$p, [
|
|
31934
|
+
_ctx.variant === "dot-only" ? (openBlock(), createBlock(UiTooltip, {
|
|
31935
|
+
key: 0,
|
|
31936
|
+
content: _ctx.tooltip || _ctx.$slots.default?.()?.[0]?.children || "",
|
|
31937
|
+
delay: 0
|
|
31938
|
+
}, {
|
|
31939
|
+
default: withCtx(() => [
|
|
31940
|
+
createElementVNode("span", {
|
|
31941
|
+
class: normalizeClass(pillClasses.value),
|
|
31942
|
+
style: normalizeStyle(pillStyles.value)
|
|
31943
|
+
}, null, 6)
|
|
31944
|
+
]),
|
|
31945
|
+
_: 1
|
|
31946
|
+
}, 8, ["content"])) : (openBlock(), createElementBlock("span", {
|
|
31947
|
+
key: 1,
|
|
31948
|
+
class: normalizeClass([pillClasses.value, {
|
|
31949
|
+
"ui-pill-has-leading-icon": _ctx.$slots["leading-icon"],
|
|
31950
|
+
"ui-pill-has-trailing-icon": _ctx.$slots["trailing-icon"]
|
|
31951
|
+
}]),
|
|
31952
|
+
style: normalizeStyle(pillStyles.value)
|
|
31953
|
+
}, [
|
|
31954
|
+
_ctx.$slots["leading-icon"] && !_ctx.iconOnly ? (openBlock(), createElementBlock("span", _hoisted_2$l, [
|
|
31955
|
+
renderSlot(_ctx.$slots, "leading-icon", {}, void 0, true)
|
|
31956
|
+
])) : createCommentVNode("", true),
|
|
31957
|
+
_ctx.icon && _ctx.iconOnly ? (openBlock(), createElementBlock("span", _hoisted_3$k, [
|
|
31958
|
+
renderSlot(_ctx.$slots, "icon", {}, void 0, true)
|
|
31959
|
+
])) : createCommentVNode("", true),
|
|
31960
|
+
!_ctx.iconOnly ? (openBlock(), createElementBlock("span", _hoisted_4$j, [
|
|
31961
|
+
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
31962
|
+
])) : createCommentVNode("", true),
|
|
31963
|
+
_ctx.$slots["trailing-icon"] && !_ctx.iconOnly ? (openBlock(), createElementBlock("span", _hoisted_5$g, [
|
|
31964
|
+
renderSlot(_ctx.$slots, "trailing-icon", {}, void 0, true)
|
|
31965
|
+
])) : createCommentVNode("", true)
|
|
31966
|
+
], 6))
|
|
31967
|
+
]);
|
|
31968
|
+
};
|
|
31969
|
+
}
|
|
31970
|
+
});
|
|
31971
|
+
const UiPill = /* @__PURE__ */ _export_sfc(_sfc_main$r, [["__scopeId", "data-v-defab79f"]]);
|
|
31865
31972
|
const slotHasContent = (slotName, slots) => {
|
|
31866
31973
|
const slot = slots[slotName];
|
|
31867
31974
|
if (!slot) return false;
|
|
@@ -37500,7 +37607,7 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
|
|
|
37500
37607
|
};
|
|
37501
37608
|
}
|
|
37502
37609
|
});
|
|
37503
|
-
const StrandsSessionsModal = /* @__PURE__ */ _export_sfc(_sfc_main$a, [["__scopeId", "data-v-
|
|
37610
|
+
const StrandsSessionsModal = /* @__PURE__ */ _export_sfc(_sfc_main$a, [["__scopeId", "data-v-1958a7a9"]]);
|
|
37504
37611
|
const _hoisted_1$7 = { class: "accui-component-scope" };
|
|
37505
37612
|
const _hoisted_2$5 = { class: "profile-content-layout" };
|
|
37506
37613
|
const _hoisted_3$4 = { class: "profile-image-section" };
|
|
@@ -38717,7 +38824,7 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
|
|
|
38717
38824
|
], -1)
|
|
38718
38825
|
])])
|
|
38719
38826
|
]),
|
|
38720
|
-
createVNode(unref(_sfc_main$
|
|
38827
|
+
createVNode(unref(_sfc_main$E), {
|
|
38721
38828
|
uploading: uploading.value,
|
|
38722
38829
|
"preselected-file": selectedImageFile.value,
|
|
38723
38830
|
onUpload: handleAvatarUpload,
|
|
@@ -40377,11 +40484,11 @@ export {
|
|
|
40377
40484
|
StrandsUIPlugin,
|
|
40378
40485
|
StrandsUiAlert,
|
|
40379
40486
|
UiApp as StrandsUiApp,
|
|
40380
|
-
_sfc_main$
|
|
40487
|
+
_sfc_main$E as StrandsUiAvatarEditor,
|
|
40381
40488
|
CompoundUiButton as StrandsUiButton,
|
|
40382
40489
|
StrandsUiCard,
|
|
40383
40490
|
UiCheckboxGroup as StrandsUiCheckboxGroup,
|
|
40384
|
-
_sfc_main$
|
|
40491
|
+
_sfc_main$z as StrandsUiColorPicker,
|
|
40385
40492
|
UiDivider as StrandsUiDivider,
|
|
40386
40493
|
UiHero as StrandsUiHero,
|
|
40387
40494
|
StrandsUiInput,
|
|
@@ -40389,6 +40496,7 @@ export {
|
|
|
40389
40496
|
StrandsUiLink,
|
|
40390
40497
|
StrandsUiLoader,
|
|
40391
40498
|
UiModal as StrandsUiModal,
|
|
40499
|
+
UiPill as StrandsUiPill,
|
|
40392
40500
|
UiRadioGroup as StrandsUiRadioGroup,
|
|
40393
40501
|
UiSlider as StrandsUiSlider,
|
|
40394
40502
|
UiTable as StrandsUiTable,
|
|
@@ -40401,12 +40509,12 @@ export {
|
|
|
40401
40509
|
_sfc_main$5 as SvgIcon,
|
|
40402
40510
|
StrandsUiAlert as UiAlert,
|
|
40403
40511
|
UiApp,
|
|
40404
|
-
_sfc_main$
|
|
40405
|
-
_sfc_main$
|
|
40512
|
+
_sfc_main$E as UiAvatarEditor,
|
|
40513
|
+
_sfc_main$E as UiAvatarEditorSimple,
|
|
40406
40514
|
CompoundUiButton as UiButton,
|
|
40407
40515
|
StrandsUiCard as UiCard,
|
|
40408
40516
|
UiCheckboxGroup,
|
|
40409
|
-
_sfc_main$
|
|
40517
|
+
_sfc_main$z as UiColorPicker,
|
|
40410
40518
|
UiDivider,
|
|
40411
40519
|
UiHero,
|
|
40412
40520
|
StrandsUiInput as UiInput,
|
|
@@ -40414,6 +40522,7 @@ export {
|
|
|
40414
40522
|
StrandsUiLink as UiLink,
|
|
40415
40523
|
StrandsUiLoader as UiLoader,
|
|
40416
40524
|
UiModal,
|
|
40525
|
+
UiPill,
|
|
40417
40526
|
UiRadioGroup,
|
|
40418
40527
|
UiSlider,
|
|
40419
40528
|
UiTable,
|