@strands.gg/accui 2.6.1 → 2.6.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/accui.css +1 -1
- package/dist/nuxt/module.cjs.js +1 -1
- package/dist/nuxt/module.es.js +1 -0
- package/dist/strands-auth-ui.cjs.js +1 -1
- package/dist/strands-auth-ui.es.js +400 -310
- package/package.json +1 -1
|
@@ -2,17 +2,17 @@ import { defineComponent, computed, provide, onMounted, onUnmounted, createEleme
|
|
|
2
2
|
import { u as useStrandsConfig, p as provideStrandsConfig } from "./useStrandsConfig-C3gBJK6y.es.js";
|
|
3
3
|
import { s } from "./useStrandsConfig-C3gBJK6y.es.js";
|
|
4
4
|
import { u as useStrandsAuth } from "./useStrandsAuth-DoUupKb8.es.js";
|
|
5
|
-
const _hoisted_1$
|
|
6
|
-
const _hoisted_2$
|
|
5
|
+
const _hoisted_1$T = { class: "app-content" };
|
|
6
|
+
const _hoisted_2$K = {
|
|
7
7
|
key: 0,
|
|
8
8
|
class: "ui-app-loading-overlay"
|
|
9
9
|
};
|
|
10
|
-
const _hoisted_3$
|
|
11
|
-
const _hoisted_4$
|
|
10
|
+
const _hoisted_3$H = { class: "ui-app-loading-content" };
|
|
11
|
+
const _hoisted_4$E = {
|
|
12
12
|
key: 0,
|
|
13
13
|
class: "ui-app-loading-message"
|
|
14
14
|
};
|
|
15
|
-
const _sfc_main
|
|
15
|
+
const _sfc_main$$ = /* @__PURE__ */ defineComponent({
|
|
16
16
|
__name: "UiApp",
|
|
17
17
|
props: {
|
|
18
18
|
theme: { default: "auto" },
|
|
@@ -57,17 +57,17 @@ const _sfc_main$_ = /* @__PURE__ */ defineComponent({
|
|
|
57
57
|
return openBlock(), createElementBlock("div", {
|
|
58
58
|
class: normalizeClass(["ui-app", appClasses.value])
|
|
59
59
|
}, [
|
|
60
|
-
createElementVNode("div", _hoisted_1$
|
|
60
|
+
createElementVNode("div", _hoisted_1$T, [
|
|
61
61
|
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
62
62
|
]),
|
|
63
63
|
(openBlock(), createBlock(Teleport, { to: "body" }, [
|
|
64
64
|
_cache[0] || (_cache[0] = createElementVNode("div", { class: "ui-app-notifications" }, null, -1))
|
|
65
65
|
])),
|
|
66
66
|
(openBlock(), createBlock(Teleport, { to: "body" }, [
|
|
67
|
-
isGlobalLoading.value ? (openBlock(), createElementBlock("div", _hoisted_2$
|
|
68
|
-
createElementVNode("div", _hoisted_3$
|
|
67
|
+
isGlobalLoading.value ? (openBlock(), createElementBlock("div", _hoisted_2$K, [
|
|
68
|
+
createElementVNode("div", _hoisted_3$H, [
|
|
69
69
|
_cache[1] || (_cache[1] = createElementVNode("div", { class: "ui-app-loading-spinner" }, null, -1)),
|
|
70
|
-
_ctx.loadingMessage ? (openBlock(), createElementBlock("p", _hoisted_4$
|
|
70
|
+
_ctx.loadingMessage ? (openBlock(), createElementBlock("p", _hoisted_4$E, toDisplayString(_ctx.loadingMessage), 1)) : createCommentVNode("", true)
|
|
71
71
|
])
|
|
72
72
|
])) : createCommentVNode("", true)
|
|
73
73
|
]))
|
|
@@ -82,23 +82,23 @@ const _export_sfc = (sfc, props) => {
|
|
|
82
82
|
}
|
|
83
83
|
return target;
|
|
84
84
|
};
|
|
85
|
-
const UiApp = /* @__PURE__ */ _export_sfc(_sfc_main
|
|
86
|
-
const _hoisted_1$
|
|
87
|
-
const _hoisted_2$
|
|
88
|
-
const _hoisted_3$
|
|
89
|
-
const _hoisted_4$
|
|
85
|
+
const UiApp = /* @__PURE__ */ _export_sfc(_sfc_main$$, [["__scopeId", "data-v-f18c1706"]]);
|
|
86
|
+
const _hoisted_1$S = { class: "accui-component-scope" };
|
|
87
|
+
const _hoisted_2$J = { class: "alert-content" };
|
|
88
|
+
const _hoisted_3$G = { class: "alert-icon-container" };
|
|
89
|
+
const _hoisted_4$D = {
|
|
90
90
|
class: "alert-main-icon",
|
|
91
91
|
fill: "currentColor",
|
|
92
92
|
viewBox: "0 0 20 20",
|
|
93
93
|
"aria-hidden": "true"
|
|
94
94
|
};
|
|
95
|
-
const _hoisted_5$
|
|
95
|
+
const _hoisted_5$y = ["d"];
|
|
96
96
|
const _hoisted_6$t = { class: "alert-text-container" };
|
|
97
97
|
const _hoisted_7$s = {
|
|
98
98
|
key: 0,
|
|
99
99
|
class: "alert-dismiss-container"
|
|
100
100
|
};
|
|
101
|
-
const _sfc_main$
|
|
101
|
+
const _sfc_main$_ = /* @__PURE__ */ defineComponent({
|
|
102
102
|
__name: "UiAlert",
|
|
103
103
|
props: {
|
|
104
104
|
variant: { default: "info" },
|
|
@@ -134,19 +134,19 @@ const _sfc_main$Z = /* @__PURE__ */ defineComponent({
|
|
|
134
134
|
return icons[props.variant];
|
|
135
135
|
});
|
|
136
136
|
return (_ctx, _cache) => {
|
|
137
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
137
|
+
return openBlock(), createElementBlock("div", _hoisted_1$S, [
|
|
138
138
|
createElementVNode("div", {
|
|
139
139
|
class: normalizeClass(alertClasses.value),
|
|
140
140
|
role: "alert"
|
|
141
141
|
}, [
|
|
142
|
-
createElementVNode("div", _hoisted_2$
|
|
143
|
-
createElementVNode("div", _hoisted_3$
|
|
144
|
-
(openBlock(), createElementBlock("svg", _hoisted_4$
|
|
142
|
+
createElementVNode("div", _hoisted_2$J, [
|
|
143
|
+
createElementVNode("div", _hoisted_3$G, [
|
|
144
|
+
(openBlock(), createElementBlock("svg", _hoisted_4$D, [
|
|
145
145
|
createElementVNode("path", {
|
|
146
146
|
"fill-rule": "evenodd",
|
|
147
147
|
d: iconPath.value,
|
|
148
148
|
"clip-rule": "evenodd"
|
|
149
|
-
}, null, 8, _hoisted_5$
|
|
149
|
+
}, null, 8, _hoisted_5$y)
|
|
150
150
|
]))
|
|
151
151
|
]),
|
|
152
152
|
createElementVNode("div", _hoisted_6$t, [
|
|
@@ -188,22 +188,22 @@ const _sfc_main$Z = /* @__PURE__ */ defineComponent({
|
|
|
188
188
|
};
|
|
189
189
|
}
|
|
190
190
|
});
|
|
191
|
-
const StrandsUiAlert = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
191
|
+
const StrandsUiAlert = /* @__PURE__ */ _export_sfc(_sfc_main$_, [["__scopeId", "data-v-1beb49ad"]]);
|
|
192
192
|
const logo = '<svg width="302" height="438" viewBox="0 0 302 438" fill="none" xmlns="http://www.w3.org/2000/svg">\n<path d="M71.5001 96C71.5001 96 132 106 137 61.5C142 17 117.5 3.50005 94.5001 1.50003C71.5001 -0.499996 16.0001 8.5 2.00014 72.5C-6.5 130.5 71.5003 227.5 165 218C258.5 208.5 280.758 148.5 283.5 121C286.242 93.5 277.5 61.5 238.5 61.5C153 61.5 150.501 185 170.5 235C190.5 285 199 279 213 314C227.001 349 217.296 411.458 183 427C129.456 450.65 92 426 78.5 407.5C65 389 68.0003 357 94.5001 344.5C121 332 212.41 393.5 301.5 361" stroke="black"/>\n</svg>\n';
|
|
193
|
-
const _hoisted_1$
|
|
193
|
+
const _hoisted_1$R = {
|
|
194
194
|
key: 0,
|
|
195
195
|
class: "loader-icon"
|
|
196
196
|
};
|
|
197
|
-
const _hoisted_2$
|
|
198
|
-
const _hoisted_3$
|
|
199
|
-
const _hoisted_4$
|
|
200
|
-
const _hoisted_5$
|
|
197
|
+
const _hoisted_2$I = ["width", "height"];
|
|
198
|
+
const _hoisted_3$F = ["d"];
|
|
199
|
+
const _hoisted_4$C = ["stroke-width"];
|
|
200
|
+
const _hoisted_5$x = ["stroke-width"];
|
|
201
201
|
const _hoisted_6$s = ["width", "height"];
|
|
202
202
|
const _hoisted_7$r = {
|
|
203
203
|
key: 3,
|
|
204
204
|
class: "loader-text"
|
|
205
205
|
};
|
|
206
|
-
const _sfc_main$
|
|
206
|
+
const _sfc_main$Z = /* @__PURE__ */ defineComponent({
|
|
207
207
|
__name: "UiLoader",
|
|
208
208
|
props: {
|
|
209
209
|
size: { default: 80 },
|
|
@@ -224,7 +224,7 @@ const _sfc_main$Y = /* @__PURE__ */ defineComponent({
|
|
|
224
224
|
`loader-color-${_ctx.color}`
|
|
225
225
|
]])
|
|
226
226
|
}, [
|
|
227
|
-
_ctx.variant === "spinner" ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
227
|
+
_ctx.variant === "spinner" ? (openBlock(), createElementBlock("div", _hoisted_1$R, [
|
|
228
228
|
(openBlock(), createElementBlock("svg", {
|
|
229
229
|
width: _ctx.size,
|
|
230
230
|
height: _ctx.size,
|
|
@@ -235,7 +235,7 @@ const _sfc_main$Y = /* @__PURE__ */ defineComponent({
|
|
|
235
235
|
id: "logo-path",
|
|
236
236
|
d: unref(d),
|
|
237
237
|
transform: "translate(81, 13) scale(1.0)"
|
|
238
|
-
}, null, 8, _hoisted_3$
|
|
238
|
+
}, null, 8, _hoisted_3$F)
|
|
239
239
|
]),
|
|
240
240
|
createElementVNode("use", {
|
|
241
241
|
href: "#logo-path",
|
|
@@ -244,7 +244,7 @@ const _sfc_main$Y = /* @__PURE__ */ defineComponent({
|
|
|
244
244
|
"stroke-width": _ctx.weight,
|
|
245
245
|
"stroke-linecap": "round",
|
|
246
246
|
"stroke-linejoin": "round"
|
|
247
|
-
}, null, 8, _hoisted_4$
|
|
247
|
+
}, null, 8, _hoisted_4$C),
|
|
248
248
|
createElementVNode("use", {
|
|
249
249
|
href: "#logo-path",
|
|
250
250
|
fill: "none",
|
|
@@ -253,8 +253,8 @@ const _sfc_main$Y = /* @__PURE__ */ defineComponent({
|
|
|
253
253
|
"stroke-linecap": "round",
|
|
254
254
|
"stroke-linejoin": "round",
|
|
255
255
|
class: "loader-animated-path"
|
|
256
|
-
}, null, 8, _hoisted_5$
|
|
257
|
-
], 8, _hoisted_2$
|
|
256
|
+
}, null, 8, _hoisted_5$x)
|
|
257
|
+
], 8, _hoisted_2$I))
|
|
258
258
|
])) : _ctx.variant === "circle" ? (openBlock(), createElementBlock("div", {
|
|
259
259
|
key: 1,
|
|
260
260
|
class: "loader-circle",
|
|
@@ -293,21 +293,21 @@ const _sfc_main$Y = /* @__PURE__ */ defineComponent({
|
|
|
293
293
|
};
|
|
294
294
|
}
|
|
295
295
|
});
|
|
296
|
-
const StrandsUiLoader = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
297
|
-
const _hoisted_1$
|
|
296
|
+
const StrandsUiLoader = /* @__PURE__ */ _export_sfc(_sfc_main$Z, [["__scopeId", "data-v-d8fe101d"]]);
|
|
297
|
+
const _hoisted_1$Q = {
|
|
298
298
|
key: 0,
|
|
299
299
|
class: "button-loading-content"
|
|
300
300
|
};
|
|
301
|
-
const _hoisted_2$
|
|
302
|
-
const _hoisted_3$
|
|
301
|
+
const _hoisted_2$H = { key: 0 };
|
|
302
|
+
const _hoisted_3$E = {
|
|
303
303
|
key: 0,
|
|
304
304
|
class: "leading-icon"
|
|
305
305
|
};
|
|
306
|
-
const _hoisted_4$
|
|
306
|
+
const _hoisted_4$B = {
|
|
307
307
|
key: 1,
|
|
308
308
|
class: "trailing-icon"
|
|
309
309
|
};
|
|
310
|
-
const _sfc_main$
|
|
310
|
+
const _sfc_main$Y = /* @__PURE__ */ defineComponent({
|
|
311
311
|
__name: "UiButton.Content",
|
|
312
312
|
props: {
|
|
313
313
|
loading: { type: Boolean, default: false },
|
|
@@ -349,25 +349,25 @@ const _sfc_main$X = /* @__PURE__ */ defineComponent({
|
|
|
349
349
|
return props.size ? `button-content-${props.size}` : "button-content-md";
|
|
350
350
|
});
|
|
351
351
|
return (_ctx, _cache) => {
|
|
352
|
-
return _ctx.loading ? (openBlock(), createElementBlock("span", _hoisted_1$
|
|
352
|
+
return _ctx.loading ? (openBlock(), createElementBlock("span", _hoisted_1$Q, [
|
|
353
353
|
createVNode(StrandsUiLoader, {
|
|
354
354
|
variant: "circle",
|
|
355
355
|
size: loaderSize.value,
|
|
356
356
|
centered: false,
|
|
357
357
|
color: "white"
|
|
358
358
|
}, null, 8, ["size"]),
|
|
359
|
-
!_ctx.icon ? (openBlock(), createElementBlock("span", _hoisted_2$
|
|
359
|
+
!_ctx.icon ? (openBlock(), createElementBlock("span", _hoisted_2$H, toDisplayString(_ctx.loadingText || "Loading..."), 1)) : createCommentVNode("", true)
|
|
360
360
|
])) : (openBlock(), createElementBlock("span", {
|
|
361
361
|
key: 1,
|
|
362
362
|
class: normalizeClass(["button-content", sizeClass.value])
|
|
363
363
|
}, [
|
|
364
364
|
_ctx.icon ? renderSlot(_ctx.$slots, "icon", { key: 0 }, void 0, true) : (openBlock(), createElementBlock(Fragment$1, { key: 1 }, [
|
|
365
|
-
hasLeadingIconSlot.value ? (openBlock(), createElementBlock("span", _hoisted_3$
|
|
365
|
+
hasLeadingIconSlot.value ? (openBlock(), createElementBlock("span", _hoisted_3$E, [
|
|
366
366
|
renderSlot(_ctx.$slots, "leading-icon", {}, void 0, true)
|
|
367
367
|
])) : createCommentVNode("", true),
|
|
368
368
|
renderSlot(_ctx.$slots, "icon", {}, void 0, true),
|
|
369
369
|
renderSlot(_ctx.$slots, "default", {}, void 0, true),
|
|
370
|
-
hasTrailingIconSlot.value ? (openBlock(), createElementBlock("span", _hoisted_4$
|
|
370
|
+
hasTrailingIconSlot.value ? (openBlock(), createElementBlock("span", _hoisted_4$B, [
|
|
371
371
|
renderSlot(_ctx.$slots, "trailing-icon", {}, void 0, true)
|
|
372
372
|
])) : createCommentVNode("", true)
|
|
373
373
|
], 64))
|
|
@@ -375,9 +375,9 @@ const _sfc_main$X = /* @__PURE__ */ defineComponent({
|
|
|
375
375
|
};
|
|
376
376
|
}
|
|
377
377
|
});
|
|
378
|
-
const UiButtonContent = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
379
|
-
const _hoisted_1$
|
|
380
|
-
const _sfc_main$
|
|
378
|
+
const UiButtonContent = /* @__PURE__ */ _export_sfc(_sfc_main$Y, [["__scopeId", "data-v-5aa4146e"]]);
|
|
379
|
+
const _hoisted_1$P = ["href", "target", "rel"];
|
|
380
|
+
const _sfc_main$X = /* @__PURE__ */ defineComponent({
|
|
381
381
|
__name: "UiButton.Anchor",
|
|
382
382
|
props: {
|
|
383
383
|
to: {},
|
|
@@ -441,11 +441,11 @@ const _sfc_main$W = /* @__PURE__ */ defineComponent({
|
|
|
441
441
|
]),
|
|
442
442
|
_: 3
|
|
443
443
|
}, 8, ["loading", "loading-text", "icon"])
|
|
444
|
-
], 14, _hoisted_1$
|
|
444
|
+
], 14, _hoisted_1$P);
|
|
445
445
|
};
|
|
446
446
|
}
|
|
447
447
|
});
|
|
448
|
-
const _sfc_main$
|
|
448
|
+
const _sfc_main$W = /* @__PURE__ */ defineComponent({
|
|
449
449
|
__name: "UiButton.Nuxt",
|
|
450
450
|
props: {
|
|
451
451
|
to: {},
|
|
@@ -509,7 +509,7 @@ const _sfc_main$V = /* @__PURE__ */ defineComponent({
|
|
|
509
509
|
};
|
|
510
510
|
}
|
|
511
511
|
});
|
|
512
|
-
const _sfc_main$
|
|
512
|
+
const _sfc_main$V = /* @__PURE__ */ defineComponent({
|
|
513
513
|
__name: "UiButton.Vue",
|
|
514
514
|
props: {
|
|
515
515
|
to: {},
|
|
@@ -565,8 +565,8 @@ const _sfc_main$U = /* @__PURE__ */ defineComponent({
|
|
|
565
565
|
};
|
|
566
566
|
}
|
|
567
567
|
});
|
|
568
|
-
const _hoisted_1$
|
|
569
|
-
const _sfc_main$
|
|
568
|
+
const _hoisted_1$O = ["type", "disabled"];
|
|
569
|
+
const _sfc_main$U = /* @__PURE__ */ defineComponent({
|
|
570
570
|
__name: "UiButton",
|
|
571
571
|
props: {
|
|
572
572
|
variant: { default: "primary" },
|
|
@@ -663,7 +663,7 @@ const _sfc_main$T = /* @__PURE__ */ defineComponent({
|
|
|
663
663
|
key: "1"
|
|
664
664
|
} : void 0
|
|
665
665
|
]), 1032, ["loading", "loading-text", "icon", "size"])
|
|
666
|
-
], 14, _hoisted_1$
|
|
666
|
+
], 14, _hoisted_1$O)) : isNuxtAvailable.value && _ctx.to ? (openBlock(), createBlock(_sfc_main$W, {
|
|
667
667
|
key: 1,
|
|
668
668
|
to: _ctx.to,
|
|
669
669
|
disabled: _ctx.disabled,
|
|
@@ -696,7 +696,7 @@ const _sfc_main$T = /* @__PURE__ */ defineComponent({
|
|
|
696
696
|
]),
|
|
697
697
|
key: "1"
|
|
698
698
|
} : void 0
|
|
699
|
-
]), 1032, ["to", "disabled", "loading", "loading-text", "icon", "button-classes", "button-styles"])) : isVueRouterAvailable.value && _ctx.to ? (openBlock(), createBlock(_sfc_main$
|
|
699
|
+
]), 1032, ["to", "disabled", "loading", "loading-text", "icon", "button-classes", "button-styles"])) : isVueRouterAvailable.value && _ctx.to ? (openBlock(), createBlock(_sfc_main$V, {
|
|
700
700
|
key: 2,
|
|
701
701
|
to: _ctx.to,
|
|
702
702
|
disabled: _ctx.disabled,
|
|
@@ -729,7 +729,7 @@ const _sfc_main$T = /* @__PURE__ */ defineComponent({
|
|
|
729
729
|
]),
|
|
730
730
|
key: "1"
|
|
731
731
|
} : void 0
|
|
732
|
-
]), 1032, ["to", "disabled", "loading", "loading-text", "icon", "button-classes", "button-styles"])) : (openBlock(), createBlock(_sfc_main$
|
|
732
|
+
]), 1032, ["to", "disabled", "loading", "loading-text", "icon", "button-classes", "button-styles"])) : (openBlock(), createBlock(_sfc_main$X, {
|
|
733
733
|
key: 3,
|
|
734
734
|
to: _ctx.to,
|
|
735
735
|
href: _ctx.href,
|
|
@@ -768,22 +768,22 @@ const _sfc_main$T = /* @__PURE__ */ defineComponent({
|
|
|
768
768
|
};
|
|
769
769
|
}
|
|
770
770
|
});
|
|
771
|
-
const StrandsUiButton = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
771
|
+
const StrandsUiButton = /* @__PURE__ */ _export_sfc(_sfc_main$U, [["__scopeId", "data-v-a5942725"]]);
|
|
772
772
|
const CompoundUiButton = StrandsUiButton;
|
|
773
773
|
CompoundUiButton.Content = UiButtonContent;
|
|
774
|
-
CompoundUiButton.Anchor = _sfc_main$
|
|
775
|
-
CompoundUiButton.Nuxt = _sfc_main$
|
|
776
|
-
CompoundUiButton.Vue = _sfc_main$
|
|
777
|
-
const _hoisted_1$
|
|
774
|
+
CompoundUiButton.Anchor = _sfc_main$X;
|
|
775
|
+
CompoundUiButton.Nuxt = _sfc_main$W;
|
|
776
|
+
CompoundUiButton.Vue = _sfc_main$V;
|
|
777
|
+
const _hoisted_1$N = {
|
|
778
778
|
key: 0,
|
|
779
779
|
class: "ui-card-header"
|
|
780
780
|
};
|
|
781
|
-
const _hoisted_2$
|
|
782
|
-
const _hoisted_3$
|
|
781
|
+
const _hoisted_2$G = { class: "ui-card-content" };
|
|
782
|
+
const _hoisted_3$D = {
|
|
783
783
|
key: 1,
|
|
784
784
|
class: "ui-card-footer"
|
|
785
785
|
};
|
|
786
|
-
const _sfc_main$
|
|
786
|
+
const _sfc_main$T = /* @__PURE__ */ defineComponent({
|
|
787
787
|
__name: "UiCard",
|
|
788
788
|
props: {
|
|
789
789
|
variant: { default: "default" },
|
|
@@ -801,20 +801,20 @@ const _sfc_main$S = /* @__PURE__ */ defineComponent({
|
|
|
801
801
|
`ui-card-color-${_ctx.color}`
|
|
802
802
|
]])
|
|
803
803
|
}, [
|
|
804
|
-
_ctx.$slots["header"] ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
804
|
+
_ctx.$slots["header"] ? (openBlock(), createElementBlock("div", _hoisted_1$N, [
|
|
805
805
|
renderSlot(_ctx.$slots, "header", {}, void 0, true)
|
|
806
806
|
])) : createCommentVNode("", true),
|
|
807
|
-
createElementVNode("div", _hoisted_2$
|
|
807
|
+
createElementVNode("div", _hoisted_2$G, [
|
|
808
808
|
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
809
809
|
]),
|
|
810
|
-
_ctx.$slots["footer"] ? (openBlock(), createElementBlock("div", _hoisted_3$
|
|
810
|
+
_ctx.$slots["footer"] ? (openBlock(), createElementBlock("div", _hoisted_3$D, [
|
|
811
811
|
renderSlot(_ctx.$slots, "footer", {}, void 0, true)
|
|
812
812
|
])) : createCommentVNode("", true)
|
|
813
813
|
], 2);
|
|
814
814
|
};
|
|
815
815
|
}
|
|
816
816
|
});
|
|
817
|
-
const StrandsUiCard = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
817
|
+
const StrandsUiCard = /* @__PURE__ */ _export_sfc(_sfc_main$T, [["__scopeId", "data-v-2c11aaa2"]]);
|
|
818
818
|
/**
|
|
819
819
|
* @license lucide-vue-next v0.542.0 - ISC
|
|
820
820
|
*
|
|
@@ -1368,24 +1368,24 @@ const X = createLucideIcon("x", [
|
|
|
1368
1368
|
["path", { d: "M18 6 6 18", key: "1bl5f8" }],
|
|
1369
1369
|
["path", { d: "m6 6 12 12", key: "d8bk6v" }]
|
|
1370
1370
|
]);
|
|
1371
|
-
const _hoisted_1$
|
|
1371
|
+
const _hoisted_1$M = {
|
|
1372
1372
|
key: 0,
|
|
1373
1373
|
class: "input-leading-icon"
|
|
1374
1374
|
};
|
|
1375
|
-
const _hoisted_2$
|
|
1376
|
-
const _hoisted_3$
|
|
1375
|
+
const _hoisted_2$F = ["id", "type", "value", "placeholder", "disabled", "readonly", "required", "min", "max", "step", "autocomplete", "spellcheck"];
|
|
1376
|
+
const _hoisted_3$C = {
|
|
1377
1377
|
key: 1,
|
|
1378
1378
|
class: "input-trailing-icon"
|
|
1379
1379
|
};
|
|
1380
|
-
const _hoisted_4$
|
|
1380
|
+
const _hoisted_4$A = {
|
|
1381
1381
|
key: 2,
|
|
1382
1382
|
class: "input-trailing-icon"
|
|
1383
1383
|
};
|
|
1384
|
-
const _hoisted_5$
|
|
1384
|
+
const _hoisted_5$w = {
|
|
1385
1385
|
key: 3,
|
|
1386
1386
|
class: "input-trailing-icon"
|
|
1387
1387
|
};
|
|
1388
|
-
const _sfc_main$
|
|
1388
|
+
const _sfc_main$S = /* @__PURE__ */ defineComponent({
|
|
1389
1389
|
__name: "UiInput.Text",
|
|
1390
1390
|
props: {
|
|
1391
1391
|
type: { default: "text" },
|
|
@@ -1468,7 +1468,7 @@ const _sfc_main$R = /* @__PURE__ */ defineComponent({
|
|
|
1468
1468
|
return openBlock(), createElementBlock("div", {
|
|
1469
1469
|
class: normalizeClass(["input-field-wrapper", wrapperClasses.value])
|
|
1470
1470
|
}, [
|
|
1471
|
-
_ctx.$slots["leading-icon"] ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
1471
|
+
_ctx.$slots["leading-icon"] ? (openBlock(), createElementBlock("div", _hoisted_1$M, [
|
|
1472
1472
|
renderSlot(_ctx.$slots, "leading-icon", {}, void 0, true)
|
|
1473
1473
|
])) : createCommentVNode("", true),
|
|
1474
1474
|
createElementVNode("input", {
|
|
@@ -1489,8 +1489,8 @@ const _sfc_main$R = /* @__PURE__ */ defineComponent({
|
|
|
1489
1489
|
onBlur: handleBlur,
|
|
1490
1490
|
onFocus: handleFocus,
|
|
1491
1491
|
onKeydown: handleKeydown
|
|
1492
|
-
}, null, 42, _hoisted_2$
|
|
1493
|
-
_ctx.type === "password" ? (openBlock(), createElementBlock("div", _hoisted_3$
|
|
1492
|
+
}, null, 42, _hoisted_2$F),
|
|
1493
|
+
_ctx.type === "password" ? (openBlock(), createElementBlock("div", _hoisted_3$C, [
|
|
1494
1494
|
createVNode(StrandsUiButton, {
|
|
1495
1495
|
color: showPassword.value ? "primary" : "secondary",
|
|
1496
1496
|
variant: showPassword.value ? "primary" : "ghost",
|
|
@@ -1505,7 +1505,7 @@ const _sfc_main$R = /* @__PURE__ */ defineComponent({
|
|
|
1505
1505
|
]),
|
|
1506
1506
|
_: 1
|
|
1507
1507
|
}, 8, ["color", "variant", "aria-label"])
|
|
1508
|
-
])) : _ctx.type === "search" && _ctx.modelValue && !_ctx.disabled && !_ctx.readonly ? (openBlock(), createElementBlock("div", _hoisted_4$
|
|
1508
|
+
])) : _ctx.type === "search" && _ctx.modelValue && !_ctx.disabled && !_ctx.readonly ? (openBlock(), createElementBlock("div", _hoisted_4$A, [
|
|
1509
1509
|
createVNode(StrandsUiButton, {
|
|
1510
1510
|
color: "danger",
|
|
1511
1511
|
variant: "ghost",
|
|
@@ -1520,24 +1520,24 @@ const _sfc_main$R = /* @__PURE__ */ defineComponent({
|
|
|
1520
1520
|
]),
|
|
1521
1521
|
_: 1
|
|
1522
1522
|
})
|
|
1523
|
-
])) : hasTrailingIcon.value ? (openBlock(), createElementBlock("div", _hoisted_5$
|
|
1523
|
+
])) : hasTrailingIcon.value ? (openBlock(), createElementBlock("div", _hoisted_5$w, [
|
|
1524
1524
|
renderSlot(_ctx.$slots, "trailing-icon", {}, void 0, true)
|
|
1525
1525
|
])) : createCommentVNode("", true)
|
|
1526
1526
|
], 2);
|
|
1527
1527
|
};
|
|
1528
1528
|
}
|
|
1529
1529
|
});
|
|
1530
|
-
const UiInputText = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
1531
|
-
const _hoisted_1$
|
|
1530
|
+
const UiInputText = /* @__PURE__ */ _export_sfc(_sfc_main$S, [["__scopeId", "data-v-728dfbde"]]);
|
|
1531
|
+
const _hoisted_1$L = {
|
|
1532
1532
|
key: 0,
|
|
1533
1533
|
class: "input-leading-icon"
|
|
1534
1534
|
};
|
|
1535
|
-
const _hoisted_2$
|
|
1536
|
-
const _hoisted_3$
|
|
1535
|
+
const _hoisted_2$E = ["id", "value", "placeholder", "disabled", "readonly", "required", "rows", "cols", "maxlength", "autocomplete", "spellcheck"];
|
|
1536
|
+
const _hoisted_3$B = {
|
|
1537
1537
|
key: 1,
|
|
1538
1538
|
class: "input-trailing-icon"
|
|
1539
1539
|
};
|
|
1540
|
-
const _sfc_main$
|
|
1540
|
+
const _sfc_main$R = /* @__PURE__ */ defineComponent({
|
|
1541
1541
|
__name: "UiInput.Textarea",
|
|
1542
1542
|
props: {
|
|
1543
1543
|
modelValue: {},
|
|
@@ -1599,7 +1599,7 @@ const _sfc_main$Q = /* @__PURE__ */ defineComponent({
|
|
|
1599
1599
|
return openBlock(), createElementBlock("div", {
|
|
1600
1600
|
class: normalizeClass(["input-field-wrapper input-textarea", wrapperClasses.value])
|
|
1601
1601
|
}, [
|
|
1602
|
-
_ctx.$slots["leading-icon"] ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
1602
|
+
_ctx.$slots["leading-icon"] ? (openBlock(), createElementBlock("div", _hoisted_1$L, [
|
|
1603
1603
|
renderSlot(_ctx.$slots, "leading-icon", {}, void 0, true)
|
|
1604
1604
|
])) : createCommentVNode("", true),
|
|
1605
1605
|
createElementVNode("div", {
|
|
@@ -1625,16 +1625,16 @@ const _sfc_main$Q = /* @__PURE__ */ defineComponent({
|
|
|
1625
1625
|
onBlur: handleBlur,
|
|
1626
1626
|
onFocus: handleFocus,
|
|
1627
1627
|
onKeydown: handleKeydown
|
|
1628
|
-
}, null, 42, _hoisted_2$
|
|
1628
|
+
}, null, 42, _hoisted_2$E)
|
|
1629
1629
|
], 2),
|
|
1630
|
-
_ctx.$slots["trailing-icon"] ? (openBlock(), createElementBlock("div", _hoisted_3$
|
|
1630
|
+
_ctx.$slots["trailing-icon"] ? (openBlock(), createElementBlock("div", _hoisted_3$B, [
|
|
1631
1631
|
renderSlot(_ctx.$slots, "trailing-icon", {}, void 0, true)
|
|
1632
1632
|
])) : createCommentVNode("", true)
|
|
1633
1633
|
], 2);
|
|
1634
1634
|
};
|
|
1635
1635
|
}
|
|
1636
1636
|
});
|
|
1637
|
-
const UiInputTextarea = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
1637
|
+
const UiInputTextarea = /* @__PURE__ */ _export_sfc(_sfc_main$R, [["__scopeId", "data-v-acf98514"]]);
|
|
1638
1638
|
function useFloatingPosition(options) {
|
|
1639
1639
|
const {
|
|
1640
1640
|
trigger,
|
|
@@ -1837,17 +1837,17 @@ function useFloatingPosition(options) {
|
|
|
1837
1837
|
cleanup
|
|
1838
1838
|
};
|
|
1839
1839
|
}
|
|
1840
|
-
const _hoisted_1$
|
|
1840
|
+
const _hoisted_1$K = {
|
|
1841
1841
|
key: 0,
|
|
1842
1842
|
class: "input-leading-icon"
|
|
1843
1843
|
};
|
|
1844
|
-
const _hoisted_2$
|
|
1845
|
-
const _hoisted_3$
|
|
1846
|
-
const _hoisted_4$
|
|
1844
|
+
const _hoisted_2$D = ["aria-expanded", "aria-controls"];
|
|
1845
|
+
const _hoisted_3$A = { class: "input-select-value" };
|
|
1846
|
+
const _hoisted_4$z = {
|
|
1847
1847
|
key: 0,
|
|
1848
1848
|
class: "input-select-text"
|
|
1849
1849
|
};
|
|
1850
|
-
const _hoisted_5$
|
|
1850
|
+
const _hoisted_5$v = {
|
|
1851
1851
|
key: 1,
|
|
1852
1852
|
class: "input-select-placeholder"
|
|
1853
1853
|
};
|
|
@@ -1875,7 +1875,7 @@ const _hoisted_14$l = {
|
|
|
1875
1875
|
key: 0,
|
|
1876
1876
|
class: "input-dropdown-option-check"
|
|
1877
1877
|
};
|
|
1878
|
-
const _sfc_main$
|
|
1878
|
+
const _sfc_main$Q = /* @__PURE__ */ defineComponent({
|
|
1879
1879
|
__name: "UiInput.Select",
|
|
1880
1880
|
props: {
|
|
1881
1881
|
modelValue: {},
|
|
@@ -2140,7 +2140,7 @@ const _sfc_main$P = /* @__PURE__ */ defineComponent({
|
|
|
2140
2140
|
paddingClasses.value
|
|
2141
2141
|
]])
|
|
2142
2142
|
}, [
|
|
2143
|
-
_ctx.$slots["leading-icon"] ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
2143
|
+
_ctx.$slots["leading-icon"] ? (openBlock(), createElementBlock("div", _hoisted_1$K, [
|
|
2144
2144
|
renderSlot(_ctx.$slots, "leading-icon", {}, void 0, true)
|
|
2145
2145
|
])) : createCommentVNode("", true),
|
|
2146
2146
|
createElementVNode("div", {
|
|
@@ -2155,15 +2155,15 @@ const _sfc_main$P = /* @__PURE__ */ defineComponent({
|
|
|
2155
2155
|
"aria-haspopup": true,
|
|
2156
2156
|
"aria-controls": dropdownId.value
|
|
2157
2157
|
}, [
|
|
2158
|
-
createElementVNode("div", _hoisted_3$
|
|
2159
|
-
displayValue.value ? (openBlock(), createElementBlock("span", _hoisted_4$
|
|
2158
|
+
createElementVNode("div", _hoisted_3$A, [
|
|
2159
|
+
displayValue.value ? (openBlock(), createElementBlock("span", _hoisted_4$z, toDisplayString(displayValue.value), 1)) : (openBlock(), createElementBlock("span", _hoisted_5$v, toDisplayString(_ctx.placeholder || "Select an option..."), 1))
|
|
2160
2160
|
]),
|
|
2161
2161
|
createElementVNode("div", {
|
|
2162
2162
|
class: normalizeClass(["input-select-arrow", { "input-select-arrow-open": dropdownState.value.isOpen }])
|
|
2163
2163
|
}, [
|
|
2164
2164
|
createVNode(unref(ChevronDown))
|
|
2165
2165
|
], 2)
|
|
2166
|
-
], 42, _hoisted_2$
|
|
2166
|
+
], 42, _hoisted_2$D),
|
|
2167
2167
|
_ctx.$slots["trailing-icon"] ? (openBlock(), createElementBlock("div", _hoisted_6$r, [
|
|
2168
2168
|
renderSlot(_ctx.$slots, "trailing-icon", {}, void 0, true)
|
|
2169
2169
|
])) : createCommentVNode("", true)
|
|
@@ -2232,12 +2232,12 @@ const _sfc_main$P = /* @__PURE__ */ defineComponent({
|
|
|
2232
2232
|
};
|
|
2233
2233
|
}
|
|
2234
2234
|
});
|
|
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$
|
|
2235
|
+
const UiInputSelect = /* @__PURE__ */ _export_sfc(_sfc_main$Q, [["__scopeId", "data-v-985cba8d"]]);
|
|
2236
|
+
const _hoisted_1$J = { class: "input-leading-icon" };
|
|
2237
|
+
const _hoisted_2$C = ["src"];
|
|
2238
|
+
const _hoisted_3$z = ["id", "accept", "multiple", "disabled", "required"];
|
|
2239
|
+
const _hoisted_4$y = { class: "input-file-content" };
|
|
2240
|
+
const _hoisted_5$u = {
|
|
2241
2241
|
key: 0,
|
|
2242
2242
|
class: "input-file-prompt"
|
|
2243
2243
|
};
|
|
@@ -2262,7 +2262,7 @@ const _hoisted_14$k = {
|
|
|
2262
2262
|
key: 1,
|
|
2263
2263
|
class: "input-trailing-icon"
|
|
2264
2264
|
};
|
|
2265
|
-
const _sfc_main$
|
|
2265
|
+
const _sfc_main$P = /* @__PURE__ */ defineComponent({
|
|
2266
2266
|
__name: "UiInput.File",
|
|
2267
2267
|
props: {
|
|
2268
2268
|
modelValue: {},
|
|
@@ -2440,13 +2440,13 @@ const _sfc_main$O = /* @__PURE__ */ defineComponent({
|
|
|
2440
2440
|
paddingClasses.value
|
|
2441
2441
|
]])
|
|
2442
2442
|
}, [
|
|
2443
|
-
createElementVNode("div", _hoisted_1$
|
|
2443
|
+
createElementVNode("div", _hoisted_1$J, [
|
|
2444
2444
|
hasImageSelected.value && imagePreviewUrl.value ? (openBlock(), createElementBlock("img", {
|
|
2445
2445
|
key: 0,
|
|
2446
2446
|
src: imagePreviewUrl.value,
|
|
2447
2447
|
alt: "Preview",
|
|
2448
2448
|
class: "input-file-preview"
|
|
2449
|
-
}, null, 8, _hoisted_2$
|
|
2449
|
+
}, null, 8, _hoisted_2$C)) : _ctx.$slots["leading-icon"] ? renderSlot(_ctx.$slots, "leading-icon", { key: 1 }, void 0, true) : (openBlock(), createBlock(unref(FileInput), { key: 2 }))
|
|
2450
2450
|
]),
|
|
2451
2451
|
createElementVNode("div", {
|
|
2452
2452
|
class: normalizeClass(["input-file-area", {
|
|
@@ -2471,9 +2471,9 @@ const _sfc_main$O = /* @__PURE__ */ defineComponent({
|
|
|
2471
2471
|
onChange: handleFileSelect,
|
|
2472
2472
|
onBlur: handleBlur,
|
|
2473
2473
|
onFocus: handleFocus
|
|
2474
|
-
}, null, 40, _hoisted_3$
|
|
2475
|
-
createElementVNode("div", _hoisted_4$
|
|
2476
|
-
selectedFiles.value.length === 0 ? (openBlock(), createElementBlock("div", _hoisted_5$
|
|
2474
|
+
}, null, 40, _hoisted_3$z),
|
|
2475
|
+
createElementVNode("div", _hoisted_4$y, [
|
|
2476
|
+
selectedFiles.value.length === 0 ? (openBlock(), createElementBlock("div", _hoisted_5$u, [
|
|
2477
2477
|
createElementVNode("div", _hoisted_6$q, toDisplayString(_ctx.dragDropText || "Click to select or drag and drop"), 1),
|
|
2478
2478
|
_ctx.accept ? (openBlock(), createElementBlock("div", _hoisted_7$p, toDisplayString(_ctx.accept), 1)) : createCommentVNode("", true)
|
|
2479
2479
|
])) : (openBlock(), createElementBlock("div", _hoisted_8$n, [
|
|
@@ -2508,19 +2508,19 @@ const _sfc_main$O = /* @__PURE__ */ defineComponent({
|
|
|
2508
2508
|
};
|
|
2509
2509
|
}
|
|
2510
2510
|
});
|
|
2511
|
-
const UiInputFile = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
2512
|
-
const _hoisted_1$
|
|
2513
|
-
const _hoisted_2$
|
|
2511
|
+
const UiInputFile = /* @__PURE__ */ _export_sfc(_sfc_main$P, [["__scopeId", "data-v-1328dc4f"]]);
|
|
2512
|
+
const _hoisted_1$I = { class: "tabs-wrapper" };
|
|
2513
|
+
const _hoisted_2$B = {
|
|
2514
2514
|
key: 0,
|
|
2515
2515
|
class: "tabs-before"
|
|
2516
2516
|
};
|
|
2517
|
-
const _hoisted_3$
|
|
2518
|
-
const _hoisted_4$
|
|
2517
|
+
const _hoisted_3$y = ["aria-selected", "id", "onClick"];
|
|
2518
|
+
const _hoisted_4$x = {
|
|
2519
2519
|
key: 1,
|
|
2520
2520
|
class: "tabs-after"
|
|
2521
2521
|
};
|
|
2522
|
-
const _hoisted_5$
|
|
2523
|
-
const _sfc_main$
|
|
2522
|
+
const _hoisted_5$t = ["aria-labelledby"];
|
|
2523
|
+
const _sfc_main$O = /* @__PURE__ */ defineComponent({
|
|
2524
2524
|
__name: "UiTabs",
|
|
2525
2525
|
props: {
|
|
2526
2526
|
modelValue: {},
|
|
@@ -2847,7 +2847,7 @@ const _sfc_main$N = /* @__PURE__ */ defineComponent({
|
|
|
2847
2847
|
{ "tabs-container--with-content": hasContentSlot.value }
|
|
2848
2848
|
]])
|
|
2849
2849
|
}, [
|
|
2850
|
-
createElementVNode("div", _hoisted_1$
|
|
2850
|
+
createElementVNode("div", _hoisted_1$I, [
|
|
2851
2851
|
createElementVNode("div", {
|
|
2852
2852
|
class: normalizeClass(["tabs-list", [
|
|
2853
2853
|
`tabs-list--${_ctx.orientation}`,
|
|
@@ -2856,7 +2856,7 @@ const _sfc_main$N = /* @__PURE__ */ defineComponent({
|
|
|
2856
2856
|
]]),
|
|
2857
2857
|
style: normalizeStyle(_ctx.sticky ? { position: "sticky", [_ctx.sticky.side]: `${_ctx.sticky.offset}px`, zIndex: 10 } : {})
|
|
2858
2858
|
}, [
|
|
2859
|
-
_ctx.$slots["before"] ? (openBlock(), createElementBlock("div", _hoisted_2$
|
|
2859
|
+
_ctx.$slots["before"] ? (openBlock(), createElementBlock("div", _hoisted_2$B, [
|
|
2860
2860
|
renderSlot(_ctx.$slots, "before", {}, void 0, true)
|
|
2861
2861
|
])) : createCommentVNode("", true),
|
|
2862
2862
|
createElementVNode("div", {
|
|
@@ -2880,7 +2880,7 @@ const _sfc_main$N = /* @__PURE__ */ defineComponent({
|
|
|
2880
2880
|
id: `tab-${tab.value}`,
|
|
2881
2881
|
role: "tab",
|
|
2882
2882
|
onClick: ($event) => handleTabClick(tab.value, index)
|
|
2883
|
-
}, toDisplayString(tab.label), 11, _hoisted_3$
|
|
2883
|
+
}, toDisplayString(tab.label), 11, _hoisted_3$y);
|
|
2884
2884
|
}), 128)),
|
|
2885
2885
|
createElementVNode("div", {
|
|
2886
2886
|
class: normalizeClass(["tab-background", { "no-transition": !enableTransitions.value }]),
|
|
@@ -2891,7 +2891,7 @@ const _sfc_main$N = /* @__PURE__ */ defineComponent({
|
|
|
2891
2891
|
style: normalizeStyle(underlineStyle.value)
|
|
2892
2892
|
}, null, 6)
|
|
2893
2893
|
], 2),
|
|
2894
|
-
_ctx.$slots["after"] ? (openBlock(), createElementBlock("div", _hoisted_4$
|
|
2894
|
+
_ctx.$slots["after"] ? (openBlock(), createElementBlock("div", _hoisted_4$x, [
|
|
2895
2895
|
renderSlot(_ctx.$slots, "after", {}, void 0, true)
|
|
2896
2896
|
])) : createCommentVNode("", true)
|
|
2897
2897
|
], 6)
|
|
@@ -2904,17 +2904,17 @@ const _sfc_main$N = /* @__PURE__ */ defineComponent({
|
|
|
2904
2904
|
id: "tabpanel"
|
|
2905
2905
|
}, [
|
|
2906
2906
|
renderSlot(_ctx.$slots, "content", { activeTab: activeTab.value }, void 0, true)
|
|
2907
|
-
], 10, _hoisted_5$
|
|
2907
|
+
], 10, _hoisted_5$t)) : createCommentVNode("", true)
|
|
2908
2908
|
], 2);
|
|
2909
2909
|
};
|
|
2910
2910
|
}
|
|
2911
2911
|
});
|
|
2912
|
-
const StrandsUiTabs = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
2913
|
-
const _hoisted_1$
|
|
2912
|
+
const StrandsUiTabs = /* @__PURE__ */ _export_sfc(_sfc_main$O, [["__scopeId", "data-v-edff91a5"]]);
|
|
2913
|
+
const _hoisted_1$H = {
|
|
2914
2914
|
key: 0,
|
|
2915
2915
|
class: "ui-divider-text"
|
|
2916
2916
|
};
|
|
2917
|
-
const _sfc_main$
|
|
2917
|
+
const _sfc_main$N = /* @__PURE__ */ defineComponent({
|
|
2918
2918
|
__name: "UiDivider",
|
|
2919
2919
|
props: {
|
|
2920
2920
|
orientation: { default: "horizontal" },
|
|
@@ -2968,7 +2968,7 @@ const _sfc_main$M = /* @__PURE__ */ defineComponent({
|
|
|
2968
2968
|
]),
|
|
2969
2969
|
style: normalizeStyle(dividerStyle.value)
|
|
2970
2970
|
}, [
|
|
2971
|
-
hasText.value ? (openBlock(), createElementBlock("span", _hoisted_1$
|
|
2971
|
+
hasText.value ? (openBlock(), createElementBlock("span", _hoisted_1$H, [
|
|
2972
2972
|
renderSlot(_ctx.$slots, "default", {}, () => [
|
|
2973
2973
|
createTextVNode(toDisplayString(_ctx.text), 1)
|
|
2974
2974
|
], true)
|
|
@@ -2977,15 +2977,15 @@ const _sfc_main$M = /* @__PURE__ */ defineComponent({
|
|
|
2977
2977
|
};
|
|
2978
2978
|
}
|
|
2979
2979
|
});
|
|
2980
|
-
const UiDivider = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
2981
|
-
const _hoisted_1$
|
|
2982
|
-
const _hoisted_2$
|
|
2983
|
-
const _hoisted_3$
|
|
2984
|
-
const _hoisted_4$
|
|
2980
|
+
const UiDivider = /* @__PURE__ */ _export_sfc(_sfc_main$N, [["__scopeId", "data-v-1c798024"]]);
|
|
2981
|
+
const _hoisted_1$G = { class: "datetime-picker-wrapper" };
|
|
2982
|
+
const _hoisted_2$A = { class: "datetime-picker-leading-icon" };
|
|
2983
|
+
const _hoisted_3$x = { class: "datetime-picker-display" };
|
|
2984
|
+
const _hoisted_4$w = {
|
|
2985
2985
|
key: 0,
|
|
2986
2986
|
class: "datetime-picker-value"
|
|
2987
2987
|
};
|
|
2988
|
-
const _hoisted_5$
|
|
2988
|
+
const _hoisted_5$s = {
|
|
2989
2989
|
key: 1,
|
|
2990
2990
|
class: "datetime-picker-placeholder"
|
|
2991
2991
|
};
|
|
@@ -3018,7 +3018,7 @@ const _hoisted_20$b = {
|
|
|
3018
3018
|
};
|
|
3019
3019
|
const _hoisted_21$b = { class: "time-scroll" };
|
|
3020
3020
|
const _hoisted_22$9 = { class: "datetime-picker-footer" };
|
|
3021
|
-
const _sfc_main$
|
|
3021
|
+
const _sfc_main$M = /* @__PURE__ */ defineComponent({
|
|
3022
3022
|
__name: "UiDateTimePicker",
|
|
3023
3023
|
props: {
|
|
3024
3024
|
modelValue: {},
|
|
@@ -3350,7 +3350,7 @@ const _sfc_main$L = /* @__PURE__ */ defineComponent({
|
|
|
3350
3350
|
cleanupFloating();
|
|
3351
3351
|
});
|
|
3352
3352
|
return (_ctx, _cache) => {
|
|
3353
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
3353
|
+
return openBlock(), createElementBlock("div", _hoisted_1$G, [
|
|
3354
3354
|
createElementVNode("div", {
|
|
3355
3355
|
ref_key: "triggerElement",
|
|
3356
3356
|
ref: triggerElement,
|
|
@@ -3360,11 +3360,11 @@ const _sfc_main$L = /* @__PURE__ */ defineComponent({
|
|
|
3360
3360
|
]]),
|
|
3361
3361
|
onClick: togglePicker
|
|
3362
3362
|
}, [
|
|
3363
|
-
createElementVNode("div", _hoisted_2$
|
|
3363
|
+
createElementVNode("div", _hoisted_2$A, [
|
|
3364
3364
|
_ctx.type === "date" ? (openBlock(), createBlock(unref(Calendar), { key: 0 })) : _ctx.type === "time" ? (openBlock(), createBlock(unref(Clock), { key: 1 })) : (openBlock(), createBlock(unref(CalendarClock), { key: 2 }))
|
|
3365
3365
|
]),
|
|
3366
|
-
createElementVNode("div", _hoisted_3$
|
|
3367
|
-
displayValue.value ? (openBlock(), createElementBlock("span", _hoisted_4$
|
|
3366
|
+
createElementVNode("div", _hoisted_3$x, [
|
|
3367
|
+
displayValue.value ? (openBlock(), createElementBlock("span", _hoisted_4$w, toDisplayString(displayValue.value), 1)) : (openBlock(), createElementBlock("span", _hoisted_5$s, toDisplayString(_ctx.placeholder || getDefaultPlaceholder()), 1))
|
|
3368
3368
|
]),
|
|
3369
3369
|
_ctx.modelValue && !_ctx.disabled && !_ctx.readonly ? (openBlock(), createElementBlock("div", {
|
|
3370
3370
|
key: 0,
|
|
@@ -3619,8 +3619,8 @@ const _sfc_main$L = /* @__PURE__ */ defineComponent({
|
|
|
3619
3619
|
};
|
|
3620
3620
|
}
|
|
3621
3621
|
});
|
|
3622
|
-
const UiDateTimePicker = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
3623
|
-
const _sfc_main$
|
|
3622
|
+
const UiDateTimePicker = /* @__PURE__ */ _export_sfc(_sfc_main$M, [["__scopeId", "data-v-10c66504"]]);
|
|
3623
|
+
const _sfc_main$L = /* @__PURE__ */ defineComponent({
|
|
3624
3624
|
__name: "UiInput.Date",
|
|
3625
3625
|
props: {
|
|
3626
3626
|
modelValue: {},
|
|
@@ -3663,7 +3663,7 @@ const _sfc_main$K = /* @__PURE__ */ defineComponent({
|
|
|
3663
3663
|
};
|
|
3664
3664
|
}
|
|
3665
3665
|
});
|
|
3666
|
-
const _sfc_main$
|
|
3666
|
+
const _sfc_main$K = /* @__PURE__ */ defineComponent({
|
|
3667
3667
|
__name: "UiInput.Time",
|
|
3668
3668
|
props: {
|
|
3669
3669
|
modelValue: {},
|
|
@@ -3704,7 +3704,7 @@ const _sfc_main$J = /* @__PURE__ */ defineComponent({
|
|
|
3704
3704
|
};
|
|
3705
3705
|
}
|
|
3706
3706
|
});
|
|
3707
|
-
const _sfc_main$
|
|
3707
|
+
const _sfc_main$J = /* @__PURE__ */ defineComponent({
|
|
3708
3708
|
__name: "UiInput.DateTime",
|
|
3709
3709
|
props: {
|
|
3710
3710
|
modelValue: {},
|
|
@@ -24703,14 +24703,14 @@ var TextAlign = Extension.create({
|
|
|
24703
24703
|
});
|
|
24704
24704
|
var index_default$1 = TextAlign;
|
|
24705
24705
|
var index_default = Placeholder;
|
|
24706
|
-
const _hoisted_1$
|
|
24707
|
-
const _hoisted_2$
|
|
24708
|
-
const _hoisted_3$
|
|
24709
|
-
const _hoisted_4$
|
|
24710
|
-
const _hoisted_5$
|
|
24706
|
+
const _hoisted_1$F = { class: "input-richtext-toolbar" };
|
|
24707
|
+
const _hoisted_2$z = { class: "input-richtext-group" };
|
|
24708
|
+
const _hoisted_3$w = { class: "input-richtext-group" };
|
|
24709
|
+
const _hoisted_4$v = { class: "input-richtext-group" };
|
|
24710
|
+
const _hoisted_5$r = { class: "input-richtext-group" };
|
|
24711
24711
|
const _hoisted_6$o = { class: "input-richtext-group" };
|
|
24712
24712
|
const _hoisted_7$n = { class: "input-richtext-editor-wrapper" };
|
|
24713
|
-
const _sfc_main$
|
|
24713
|
+
const _sfc_main$I = /* @__PURE__ */ defineComponent({
|
|
24714
24714
|
__name: "UiInput.RichText",
|
|
24715
24715
|
props: {
|
|
24716
24716
|
modelValue: {},
|
|
@@ -24790,8 +24790,8 @@ const _sfc_main$H = /* @__PURE__ */ defineComponent({
|
|
|
24790
24790
|
"input-disabled": _ctx.disabled
|
|
24791
24791
|
}])
|
|
24792
24792
|
}, [
|
|
24793
|
-
createElementVNode("div", _hoisted_1$
|
|
24794
|
-
createElementVNode("div", _hoisted_2$
|
|
24793
|
+
createElementVNode("div", _hoisted_1$F, [
|
|
24794
|
+
createElementVNode("div", _hoisted_2$z, [
|
|
24795
24795
|
createVNode(StrandsUiButton, {
|
|
24796
24796
|
color: unref(editor)?.isActive("bold") ? "primary" : "secondary",
|
|
24797
24797
|
size: "sm",
|
|
@@ -24854,7 +24854,7 @@ const _sfc_main$H = /* @__PURE__ */ defineComponent({
|
|
|
24854
24854
|
spacing: "28px",
|
|
24855
24855
|
margin: "4px"
|
|
24856
24856
|
}),
|
|
24857
|
-
createElementVNode("div", _hoisted_3$
|
|
24857
|
+
createElementVNode("div", _hoisted_3$w, [
|
|
24858
24858
|
createVNode(StrandsUiButton, {
|
|
24859
24859
|
color: unref(editor)?.isActive("heading", { level: 1 }) ? "primary" : "secondary",
|
|
24860
24860
|
size: "sm",
|
|
@@ -24903,7 +24903,7 @@ const _sfc_main$H = /* @__PURE__ */ defineComponent({
|
|
|
24903
24903
|
spacing: "28px",
|
|
24904
24904
|
margin: "4px"
|
|
24905
24905
|
}),
|
|
24906
|
-
createElementVNode("div", _hoisted_4$
|
|
24906
|
+
createElementVNode("div", _hoisted_4$v, [
|
|
24907
24907
|
createVNode(StrandsUiButton, {
|
|
24908
24908
|
color: unref(editor)?.isActive({ textAlign: "left" }) ? "primary" : "secondary",
|
|
24909
24909
|
size: "sm",
|
|
@@ -24952,7 +24952,7 @@ const _sfc_main$H = /* @__PURE__ */ defineComponent({
|
|
|
24952
24952
|
spacing: "28px",
|
|
24953
24953
|
margin: "4px"
|
|
24954
24954
|
}),
|
|
24955
|
-
createElementVNode("div", _hoisted_5$
|
|
24955
|
+
createElementVNode("div", _hoisted_5$r, [
|
|
24956
24956
|
createVNode(StrandsUiButton, {
|
|
24957
24957
|
color: unref(editor)?.isActive("bulletList") ? "primary" : "secondary",
|
|
24958
24958
|
size: "sm",
|
|
@@ -25071,22 +25071,22 @@ const _sfc_main$H = /* @__PURE__ */ defineComponent({
|
|
|
25071
25071
|
};
|
|
25072
25072
|
}
|
|
25073
25073
|
});
|
|
25074
|
-
const UiInputRichText = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
25075
|
-
const _hoisted_1$
|
|
25076
|
-
const _hoisted_2$
|
|
25077
|
-
const _hoisted_3$
|
|
25074
|
+
const UiInputRichText = /* @__PURE__ */ _export_sfc(_sfc_main$I, [["__scopeId", "data-v-1031412d"]]);
|
|
25075
|
+
const _hoisted_1$E = { class: "input-container" };
|
|
25076
|
+
const _hoisted_2$y = ["for"];
|
|
25077
|
+
const _hoisted_3$v = {
|
|
25078
25078
|
key: 0,
|
|
25079
25079
|
class: "input-required"
|
|
25080
25080
|
};
|
|
25081
|
-
const _hoisted_4$
|
|
25081
|
+
const _hoisted_4$u = {
|
|
25082
25082
|
key: 9,
|
|
25083
25083
|
class: "input-error-text"
|
|
25084
25084
|
};
|
|
25085
|
-
const _hoisted_5$
|
|
25085
|
+
const _hoisted_5$q = {
|
|
25086
25086
|
key: 10,
|
|
25087
25087
|
class: "input-help-text"
|
|
25088
25088
|
};
|
|
25089
|
-
const _sfc_main$
|
|
25089
|
+
const _sfc_main$H = /* @__PURE__ */ defineComponent({
|
|
25090
25090
|
__name: "UiInput",
|
|
25091
25091
|
props: {
|
|
25092
25092
|
type: {},
|
|
@@ -25151,15 +25151,15 @@ const _sfc_main$G = /* @__PURE__ */ defineComponent({
|
|
|
25151
25151
|
emit("file-error", error);
|
|
25152
25152
|
};
|
|
25153
25153
|
return (_ctx, _cache) => {
|
|
25154
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
25154
|
+
return openBlock(), createElementBlock("div", _hoisted_1$E, [
|
|
25155
25155
|
props.label ? (openBlock(), createElementBlock("label", {
|
|
25156
25156
|
key: 0,
|
|
25157
25157
|
for: inputId.value,
|
|
25158
25158
|
class: "input-label"
|
|
25159
25159
|
}, [
|
|
25160
25160
|
createTextVNode(toDisplayString(props.label) + " ", 1),
|
|
25161
|
-
props.required ? (openBlock(), createElementBlock("span", _hoisted_3$
|
|
25162
|
-
], 8, _hoisted_2$
|
|
25161
|
+
props.required ? (openBlock(), createElementBlock("span", _hoisted_3$v, "*")) : createCommentVNode("", true)
|
|
25162
|
+
], 8, _hoisted_2$y)) : createCommentVNode("", true),
|
|
25163
25163
|
isTextInput.value ? (openBlock(), createBlock(UiInputText, {
|
|
25164
25164
|
key: 1,
|
|
25165
25165
|
"model-value": _ctx.modelValue,
|
|
@@ -25294,7 +25294,7 @@ const _sfc_main$G = /* @__PURE__ */ defineComponent({
|
|
|
25294
25294
|
]),
|
|
25295
25295
|
key: "1"
|
|
25296
25296
|
} : 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$
|
|
25297
|
+
]), 1032, ["model-value", "accept", "multiple", "max-file-size", "drag-drop-text", "selected-text", "disabled", "required", "input-id", "error", "size"])) : _ctx.type === "date" ? (openBlock(), createBlock(_sfc_main$L, {
|
|
25298
25298
|
key: 5,
|
|
25299
25299
|
"model-value": _ctx.modelValue,
|
|
25300
25300
|
placeholder: _ctx.placeholder,
|
|
@@ -25309,7 +25309,7 @@ const _sfc_main$G = /* @__PURE__ */ defineComponent({
|
|
|
25309
25309
|
"onUpdate:modelValue": handleInput,
|
|
25310
25310
|
onBlur: handleBlur,
|
|
25311
25311
|
onFocus: handleFocus
|
|
25312
|
-
}, null, 8, ["model-value", "placeholder", "disabled", "readonly", "required", "min", "max", "input-id", "error", "size"])) : _ctx.type === "time" ? (openBlock(), createBlock(_sfc_main$
|
|
25312
|
+
}, null, 8, ["model-value", "placeholder", "disabled", "readonly", "required", "min", "max", "input-id", "error", "size"])) : _ctx.type === "time" ? (openBlock(), createBlock(_sfc_main$K, {
|
|
25313
25313
|
key: 6,
|
|
25314
25314
|
"model-value": _ctx.modelValue,
|
|
25315
25315
|
placeholder: _ctx.placeholder,
|
|
@@ -25322,7 +25322,7 @@ const _sfc_main$G = /* @__PURE__ */ defineComponent({
|
|
|
25322
25322
|
"onUpdate:modelValue": handleInput,
|
|
25323
25323
|
onBlur: handleBlur,
|
|
25324
25324
|
onFocus: handleFocus
|
|
25325
|
-
}, null, 8, ["model-value", "placeholder", "disabled", "readonly", "required", "input-id", "error", "size"])) : _ctx.type === "datetime" ? (openBlock(), createBlock(_sfc_main$
|
|
25325
|
+
}, null, 8, ["model-value", "placeholder", "disabled", "readonly", "required", "input-id", "error", "size"])) : _ctx.type === "datetime" ? (openBlock(), createBlock(_sfc_main$J, {
|
|
25326
25326
|
key: 7,
|
|
25327
25327
|
"model-value": _ctx.modelValue,
|
|
25328
25328
|
placeholder: _ctx.placeholder,
|
|
@@ -25351,15 +25351,15 @@ const _sfc_main$G = /* @__PURE__ */ defineComponent({
|
|
|
25351
25351
|
onBlur: handleBlur,
|
|
25352
25352
|
onFocus: handleFocus
|
|
25353
25353
|
}, 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$
|
|
25354
|
+
props.error && props.error !== true ? (openBlock(), createElementBlock("p", _hoisted_4$u, toDisplayString(typeof props.error === "string" ? props.error : props.error?.message || String(props.error)), 1)) : props.helpText ? (openBlock(), createElementBlock("p", _hoisted_5$q, toDisplayString(props.helpText), 1)) : createCommentVNode("", true)
|
|
25355
25355
|
]);
|
|
25356
25356
|
};
|
|
25357
25357
|
}
|
|
25358
25358
|
});
|
|
25359
|
-
const StrandsUiInput = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
25360
|
-
const _hoisted_1$
|
|
25361
|
-
const _hoisted_2$
|
|
25362
|
-
const _sfc_main$
|
|
25359
|
+
const StrandsUiInput = /* @__PURE__ */ _export_sfc(_sfc_main$H, [["__scopeId", "data-v-10a4eb0c"]]);
|
|
25360
|
+
const _hoisted_1$D = ["disabled", "aria-disabled"];
|
|
25361
|
+
const _hoisted_2$x = ["href", "target", "rel", "aria-disabled"];
|
|
25362
|
+
const _sfc_main$G = /* @__PURE__ */ defineComponent({
|
|
25363
25363
|
__name: "UiLink",
|
|
25364
25364
|
props: {
|
|
25365
25365
|
href: {},
|
|
@@ -25449,7 +25449,7 @@ const _sfc_main$F = /* @__PURE__ */ defineComponent({
|
|
|
25449
25449
|
onClick: handleClick2
|
|
25450
25450
|
}, [
|
|
25451
25451
|
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
25452
|
-
], 14, _hoisted_1$
|
|
25452
|
+
], 14, _hoisted_1$D)) : (openBlock(), createElementBlock("a", {
|
|
25453
25453
|
key: 1,
|
|
25454
25454
|
class: normalizeClass(["ui-link", [
|
|
25455
25455
|
`ui-link-${_ctx.variant}`,
|
|
@@ -25465,13 +25465,13 @@ const _sfc_main$F = /* @__PURE__ */ defineComponent({
|
|
|
25465
25465
|
onClick: handleClick2
|
|
25466
25466
|
}, [
|
|
25467
25467
|
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
25468
|
-
], 14, _hoisted_2$
|
|
25468
|
+
], 14, _hoisted_2$x));
|
|
25469
25469
|
};
|
|
25470
25470
|
}
|
|
25471
25471
|
});
|
|
25472
|
-
const StrandsUiLink = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
25473
|
-
const _hoisted_1$
|
|
25474
|
-
const _sfc_main$
|
|
25472
|
+
const StrandsUiLink = /* @__PURE__ */ _export_sfc(_sfc_main$G, [["__scopeId", "data-v-3bf99110"]]);
|
|
25473
|
+
const _hoisted_1$C = ["aria-pressed", "aria-labelledby"];
|
|
25474
|
+
const _sfc_main$F = /* @__PURE__ */ defineComponent({
|
|
25475
25475
|
__name: "UiToggle",
|
|
25476
25476
|
props: {
|
|
25477
25477
|
modelValue: { type: Boolean, default: false },
|
|
@@ -25511,19 +25511,19 @@ const _sfc_main$E = /* @__PURE__ */ defineComponent({
|
|
|
25511
25511
|
createElementVNode("span", {
|
|
25512
25512
|
class: normalizeClass(["ui-toggle-thumb", thumbClasses.value])
|
|
25513
25513
|
}, null, 2)
|
|
25514
|
-
], 10, _hoisted_1$
|
|
25514
|
+
], 10, _hoisted_1$C);
|
|
25515
25515
|
};
|
|
25516
25516
|
}
|
|
25517
25517
|
});
|
|
25518
|
-
const UiToggle = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
25519
|
-
const _hoisted_1$
|
|
25520
|
-
const _hoisted_2$
|
|
25521
|
-
const _hoisted_3$
|
|
25518
|
+
const UiToggle = /* @__PURE__ */ _export_sfc(_sfc_main$F, [["__scopeId", "data-v-6c2fb8dd"]]);
|
|
25519
|
+
const _hoisted_1$B = { class: "accui-component-scope" };
|
|
25520
|
+
const _hoisted_2$w = { class: "avatar-editor-simple" };
|
|
25521
|
+
const _hoisted_3$u = {
|
|
25522
25522
|
key: 1,
|
|
25523
25523
|
class: "editor-container"
|
|
25524
25524
|
};
|
|
25525
|
-
const _hoisted_4$
|
|
25526
|
-
const _hoisted_5$
|
|
25525
|
+
const _hoisted_4$t = { class: "editor-main" };
|
|
25526
|
+
const _hoisted_5$p = { class: "canvas-container" };
|
|
25527
25527
|
const _hoisted_6$n = ["width", "height"];
|
|
25528
25528
|
const _hoisted_7$m = { class: "crop-overlay" };
|
|
25529
25529
|
const _hoisted_8$l = { class: "crop-backdrop" };
|
|
@@ -25541,7 +25541,7 @@ const _hoisted_19$c = { class: "action-buttons" };
|
|
|
25541
25541
|
const _hoisted_20$a = { class: "preview-section" };
|
|
25542
25542
|
const _hoisted_21$a = { class: "preview-container" };
|
|
25543
25543
|
const _hoisted_22$8 = ["width", "height"];
|
|
25544
|
-
const _sfc_main$
|
|
25544
|
+
const _sfc_main$E = /* @__PURE__ */ defineComponent({
|
|
25545
25545
|
__name: "UiAvatarEditor",
|
|
25546
25546
|
props: {
|
|
25547
25547
|
size: { default: 300 },
|
|
@@ -25832,8 +25832,8 @@ const _sfc_main$D = /* @__PURE__ */ defineComponent({
|
|
|
25832
25832
|
}
|
|
25833
25833
|
}, { immediate: true });
|
|
25834
25834
|
return (_ctx, _cache) => {
|
|
25835
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
25836
|
-
createElementVNode("div", _hoisted_2$
|
|
25835
|
+
return openBlock(), createElementBlock("div", _hoisted_1$B, [
|
|
25836
|
+
createElementVNode("div", _hoisted_2$w, [
|
|
25837
25837
|
createElementVNode("input", {
|
|
25838
25838
|
ref_key: "fileInput",
|
|
25839
25839
|
ref: fileInput,
|
|
@@ -25853,9 +25853,9 @@ const _sfc_main$D = /* @__PURE__ */ defineComponent({
|
|
|
25853
25853
|
}, ["prevent"]))
|
|
25854
25854
|
}, [..._cache[6] || (_cache[6] = [
|
|
25855
25855
|
createStaticVNode('<div class="upload-content"><svg class="upload-icon" fill="none" stroke="currentColor" viewBox="0 0 24 24"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="M4 16l4.586-4.586a2 2 0 012.828 0L16 16m-2-2l1.586-1.586a2 2 0 012.828 0L20 14m-6-6h.01M6 20h12a2 2 0 002-2V6a2 2 0 00-2-2H6a2 2 0 00-2 2v12a2 2 0 002 2z"></path></svg><h3 class="upload-title">Upload your photo</h3><p class="upload-subtitle">Drag and drop or click to browse</p><div class="upload-formats"><span class="format-tag">JPG</span><span class="format-tag">PNG</span><span class="format-tag">GIF</span></div></div>', 1)
|
|
25856
|
-
])], 32)) : (openBlock(), createElementBlock("div", _hoisted_3$
|
|
25857
|
-
createElementVNode("div", _hoisted_4$
|
|
25858
|
-
createElementVNode("div", _hoisted_5$
|
|
25856
|
+
])], 32)) : (openBlock(), createElementBlock("div", _hoisted_3$u, [
|
|
25857
|
+
createElementVNode("div", _hoisted_4$t, [
|
|
25858
|
+
createElementVNode("div", _hoisted_5$p, [
|
|
25859
25859
|
createElementVNode("canvas", {
|
|
25860
25860
|
ref_key: "canvas",
|
|
25861
25861
|
ref: canvas,
|
|
@@ -26320,11 +26320,11 @@ class SoundEffects {
|
|
|
26320
26320
|
}
|
|
26321
26321
|
}
|
|
26322
26322
|
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$
|
|
26323
|
+
const _hoisted_1$A = { class: "level-progress-container" };
|
|
26324
|
+
const _hoisted_2$v = ["width", "height", "viewBox"];
|
|
26325
|
+
const _hoisted_3$t = { key: 0 };
|
|
26326
|
+
const _hoisted_4$s = ["r"];
|
|
26327
|
+
const _hoisted_5$o = ["y"];
|
|
26328
26328
|
const _hoisted_6$m = ["d", "stroke-width"];
|
|
26329
26329
|
const _hoisted_7$l = ["d", "stroke", "stroke-width"];
|
|
26330
26330
|
const _hoisted_8$k = ["d"];
|
|
@@ -26350,7 +26350,7 @@ const INNER_GAP = 18;
|
|
|
26350
26350
|
const ANIMATION_DURATION = 600;
|
|
26351
26351
|
const LABEL_EXTRA_DEGREES = 12;
|
|
26352
26352
|
const LABEL_CHAR_DEGREES = 8;
|
|
26353
|
-
const _sfc_main$
|
|
26353
|
+
const _sfc_main$D = /* @__PURE__ */ defineComponent({
|
|
26354
26354
|
__name: "UiLevelProgress",
|
|
26355
26355
|
props: {
|
|
26356
26356
|
value: {},
|
|
@@ -26505,21 +26505,21 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
|
|
|
26505
26505
|
prevLevel = newLevel;
|
|
26506
26506
|
});
|
|
26507
26507
|
return (_ctx, _cache) => {
|
|
26508
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
26508
|
+
return openBlock(), createElementBlock("div", _hoisted_1$A, [
|
|
26509
26509
|
(openBlock(), createElementBlock("svg", {
|
|
26510
26510
|
width: unref(size),
|
|
26511
26511
|
height: unref(size),
|
|
26512
26512
|
viewBox: `0 0 ${unref(viewBox)} ${unref(viewBox)}`,
|
|
26513
26513
|
style: { "position": "relative" }
|
|
26514
26514
|
}, [
|
|
26515
|
-
levelUpActive.value ? (openBlock(), createElementBlock("g", _hoisted_3$
|
|
26515
|
+
levelUpActive.value ? (openBlock(), createElementBlock("g", _hoisted_3$t, [
|
|
26516
26516
|
createElementVNode("circle", {
|
|
26517
26517
|
cx: center,
|
|
26518
26518
|
cy: center,
|
|
26519
26519
|
r: innerCircleRadius.value,
|
|
26520
26520
|
fill: "#a800ff",
|
|
26521
26521
|
opacity: "0.92"
|
|
26522
|
-
}, null, 8, _hoisted_4$
|
|
26522
|
+
}, null, 8, _hoisted_4$s),
|
|
26523
26523
|
createElementVNode("text", {
|
|
26524
26524
|
x: center,
|
|
26525
26525
|
y: center + 15,
|
|
@@ -26528,7 +26528,7 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
|
|
|
26528
26528
|
"font-weight": "bold",
|
|
26529
26529
|
fill: "#fff",
|
|
26530
26530
|
style: { "font-family": "'Montserrat', sans-serif" }
|
|
26531
|
-
}, "Level Up", 8, _hoisted_5$
|
|
26531
|
+
}, "Level Up", 8, _hoisted_5$o)
|
|
26532
26532
|
])) : createCommentVNode("", true),
|
|
26533
26533
|
animatedValue.value >= 0 && animatedValue.value < props.max ? (openBlock(), createElementBlock("path", {
|
|
26534
26534
|
key: 1,
|
|
@@ -26598,12 +26598,12 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
|
|
|
26598
26598
|
}, null, -1)
|
|
26599
26599
|
])], 8, _hoisted_12$j)
|
|
26600
26600
|
])
|
|
26601
|
-
], 8, _hoisted_2$
|
|
26601
|
+
], 8, _hoisted_2$v))
|
|
26602
26602
|
]);
|
|
26603
26603
|
};
|
|
26604
26604
|
}
|
|
26605
26605
|
});
|
|
26606
|
-
const UiLevelProgress = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
26606
|
+
const UiLevelProgress = /* @__PURE__ */ _export_sfc(_sfc_main$D, [["__scopeId", "data-v-410a88ab"]]);
|
|
26607
26607
|
class ModalStack {
|
|
26608
26608
|
stack = [];
|
|
26609
26609
|
escapeHandlerRegistered = false;
|
|
@@ -26800,16 +26800,16 @@ function useGlobalModalStack() {
|
|
|
26800
26800
|
}
|
|
26801
26801
|
};
|
|
26802
26802
|
}
|
|
26803
|
-
const _hoisted_1$
|
|
26803
|
+
const _hoisted_1$z = {
|
|
26804
26804
|
key: 0,
|
|
26805
26805
|
class: "ui-modal-backdrop",
|
|
26806
26806
|
role: "dialog",
|
|
26807
26807
|
"aria-modal": "true"
|
|
26808
26808
|
};
|
|
26809
|
-
const _hoisted_2$
|
|
26810
|
-
const _hoisted_3$
|
|
26811
|
-
const _hoisted_4$
|
|
26812
|
-
const _sfc_main$
|
|
26809
|
+
const _hoisted_2$u = { class: "ui-modal-header-content" };
|
|
26810
|
+
const _hoisted_3$s = { class: "ui-modal-title" };
|
|
26811
|
+
const _hoisted_4$r = { key: 0 };
|
|
26812
|
+
const _sfc_main$C = /* @__PURE__ */ defineComponent({
|
|
26813
26813
|
__name: "UiModal",
|
|
26814
26814
|
props: {
|
|
26815
26815
|
modelValue: { type: Boolean, default: void 0 },
|
|
@@ -26961,7 +26961,7 @@ const _sfc_main$B = /* @__PURE__ */ defineComponent({
|
|
|
26961
26961
|
}, [
|
|
26962
26962
|
createVNode(Transition, { name: "modal" }, {
|
|
26963
26963
|
default: withCtx(() => [
|
|
26964
|
-
isModalOpen.value ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
26964
|
+
isModalOpen.value ? (openBlock(), createElementBlock("div", _hoisted_1$z, [
|
|
26965
26965
|
createElementVNode("div", {
|
|
26966
26966
|
class: "ui-modal-container",
|
|
26967
26967
|
ref_key: "modalContainer",
|
|
@@ -26976,14 +26976,14 @@ const _sfc_main$B = /* @__PURE__ */ defineComponent({
|
|
|
26976
26976
|
tabindex: "-1"
|
|
26977
26977
|
}, createSlots({
|
|
26978
26978
|
header: withCtx(() => [
|
|
26979
|
-
createElementVNode("div", _hoisted_2$
|
|
26980
|
-
createElementVNode("div", _hoisted_3$
|
|
26979
|
+
createElementVNode("div", _hoisted_2$u, [
|
|
26980
|
+
createElementVNode("div", _hoisted_3$s, [
|
|
26981
26981
|
renderSlot(_ctx.$slots, "header", {
|
|
26982
26982
|
handleClose: closeModal,
|
|
26983
26983
|
isOpen: isModalOpen.value,
|
|
26984
26984
|
openModal
|
|
26985
26985
|
}, () => [
|
|
26986
|
-
_ctx.$props.title ? (openBlock(), createElementBlock("h2", _hoisted_4$
|
|
26986
|
+
_ctx.$props.title ? (openBlock(), createElementBlock("h2", _hoisted_4$r, toDisplayString(_ctx.$props.title), 1)) : createCommentVNode("", true)
|
|
26987
26987
|
], true)
|
|
26988
26988
|
]),
|
|
26989
26989
|
_ctx.showCloseButton ? (openBlock(), createElementBlock("button", {
|
|
@@ -27033,7 +27033,7 @@ const _sfc_main$B = /* @__PURE__ */ defineComponent({
|
|
|
27033
27033
|
};
|
|
27034
27034
|
}
|
|
27035
27035
|
});
|
|
27036
|
-
const UiModal = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
27036
|
+
const UiModal = /* @__PURE__ */ _export_sfc(_sfc_main$C, [["__scopeId", "data-v-dece6264"]]);
|
|
27037
27037
|
const tailwindColors = {
|
|
27038
27038
|
"#000000": {
|
|
27039
27039
|
label: "Black"
|
|
@@ -27636,11 +27636,11 @@ const tailwindColors = {
|
|
|
27636
27636
|
]
|
|
27637
27637
|
}
|
|
27638
27638
|
};
|
|
27639
|
-
const _hoisted_1$
|
|
27640
|
-
const _hoisted_2$
|
|
27641
|
-
const _hoisted_3$
|
|
27642
|
-
const _hoisted_4$
|
|
27643
|
-
const _hoisted_5$
|
|
27639
|
+
const _hoisted_1$y = { class: "ui-color-picker" };
|
|
27640
|
+
const _hoisted_2$t = { class: "ui-color-picker-main" };
|
|
27641
|
+
const _hoisted_3$r = ["viewBox"];
|
|
27642
|
+
const _hoisted_4$q = ["d"];
|
|
27643
|
+
const _hoisted_5$n = ["d"];
|
|
27644
27644
|
const _hoisted_6$l = ["d"];
|
|
27645
27645
|
const _hoisted_7$k = ["d"];
|
|
27646
27646
|
const _hoisted_8$j = ["d"];
|
|
@@ -27719,7 +27719,7 @@ const _hoisted_50$1 = { class: "ui-color-picker-swatch-row ui-color-picker-swatc
|
|
|
27719
27719
|
const _hoisted_51$1 = ["onClick"];
|
|
27720
27720
|
const GLOBAL_PICKER_WIDTH = 200;
|
|
27721
27721
|
const GLOBAL_PICKER_HEIGHT = 150;
|
|
27722
|
-
const _sfc_main$
|
|
27722
|
+
const _sfc_main$B = /* @__PURE__ */ defineComponent({
|
|
27723
27723
|
__name: "UiColorPicker.Picker",
|
|
27724
27724
|
props: {
|
|
27725
27725
|
contrastLabel: {},
|
|
@@ -29264,8 +29264,8 @@ const _sfc_main$A = /* @__PURE__ */ defineComponent({
|
|
|
29264
29264
|
document.removeEventListener("touchend", handleAreaMouseUp);
|
|
29265
29265
|
});
|
|
29266
29266
|
return (_ctx, _cache) => {
|
|
29267
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
29268
|
-
createElementVNode("div", _hoisted_2$
|
|
29267
|
+
return openBlock(), createElementBlock("div", _hoisted_1$y, [
|
|
29268
|
+
createElementVNode("div", _hoisted_2$t, [
|
|
29269
29269
|
createElementVNode("div", {
|
|
29270
29270
|
ref_key: "colorAreaRef",
|
|
29271
29271
|
ref: colorAreaRef,
|
|
@@ -29333,14 +29333,14 @@ const _sfc_main$A = /* @__PURE__ */ defineComponent({
|
|
|
29333
29333
|
fill: "url(#orangeDotsPattern)",
|
|
29334
29334
|
"clip-path": "url(#canvasClip)",
|
|
29335
29335
|
opacity: "0.4"
|
|
29336
|
-
}, null, 8, _hoisted_4$
|
|
29336
|
+
}, null, 8, _hoisted_4$q)) : createCommentVNode("", true),
|
|
29337
29337
|
contrastDotsLargeTextPath.value ? (openBlock(), createElementBlock("path", {
|
|
29338
29338
|
key: 1,
|
|
29339
29339
|
d: contrastDotsLargeTextPath.value,
|
|
29340
29340
|
fill: "url(#redDotsPattern)",
|
|
29341
29341
|
"clip-path": "url(#canvasClip)",
|
|
29342
29342
|
opacity: "0.4"
|
|
29343
|
-
}, null, 8, _hoisted_5$
|
|
29343
|
+
}, null, 8, _hoisted_5$n)) : createCommentVNode("", true),
|
|
29344
29344
|
contrastBoundaryTopCurve.value ? (openBlock(), createElementBlock("path", {
|
|
29345
29345
|
key: 2,
|
|
29346
29346
|
d: contrastBoundaryTopCurve.value,
|
|
@@ -29387,7 +29387,7 @@ const _sfc_main$A = /* @__PURE__ */ defineComponent({
|
|
|
29387
29387
|
"stroke-opacity": "0.5",
|
|
29388
29388
|
"clip-path": "url(#canvasClip)"
|
|
29389
29389
|
}, null, 8, _hoisted_9$i)) : createCommentVNode("", true)
|
|
29390
|
-
], 8, _hoisted_3$
|
|
29390
|
+
], 8, _hoisted_3$r)) : createCommentVNode("", true)
|
|
29391
29391
|
], 2)) : createCommentVNode("", true),
|
|
29392
29392
|
createElementVNode("div", {
|
|
29393
29393
|
class: "ui-color-picker-cursor",
|
|
@@ -29906,10 +29906,10 @@ const _sfc_main$A = /* @__PURE__ */ defineComponent({
|
|
|
29906
29906
|
};
|
|
29907
29907
|
}
|
|
29908
29908
|
});
|
|
29909
|
-
const UiColorPickerPicker = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
29910
|
-
const _hoisted_1$
|
|
29911
|
-
const _hoisted_2$
|
|
29912
|
-
const _sfc_main$
|
|
29909
|
+
const UiColorPickerPicker = /* @__PURE__ */ _export_sfc(_sfc_main$B, [["__scopeId", "data-v-24473a61"]]);
|
|
29910
|
+
const _hoisted_1$x = { class: "ui-color-picker-button-container" };
|
|
29911
|
+
const _hoisted_2$s = { class: "ui-color-picker-button-preview" };
|
|
29912
|
+
const _sfc_main$A = /* @__PURE__ */ defineComponent({
|
|
29913
29913
|
__name: "UiColorPicker.Button",
|
|
29914
29914
|
props: {
|
|
29915
29915
|
modelValue: {},
|
|
@@ -29993,7 +29993,7 @@ const _sfc_main$z = /* @__PURE__ */ defineComponent({
|
|
|
29993
29993
|
cleanupFloating();
|
|
29994
29994
|
});
|
|
29995
29995
|
return (_ctx, _cache) => {
|
|
29996
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
29996
|
+
return openBlock(), createElementBlock("div", _hoisted_1$x, [
|
|
29997
29997
|
createVNode(StrandsUiButton, {
|
|
29998
29998
|
ref_key: "buttonRef",
|
|
29999
29999
|
ref: buttonRef,
|
|
@@ -30002,7 +30002,7 @@ const _sfc_main$z = /* @__PURE__ */ defineComponent({
|
|
|
30002
30002
|
onClick: togglePopover
|
|
30003
30003
|
}, {
|
|
30004
30004
|
"leading-icon": withCtx(() => [
|
|
30005
|
-
createElementVNode("div", _hoisted_2$
|
|
30005
|
+
createElementVNode("div", _hoisted_2$s, [
|
|
30006
30006
|
createElementVNode("div", {
|
|
30007
30007
|
class: "ui-color-picker-button-color",
|
|
30008
30008
|
style: normalizeStyle({ backgroundColor: currentColorString.value })
|
|
@@ -30037,8 +30037,8 @@ const _sfc_main$z = /* @__PURE__ */ defineComponent({
|
|
|
30037
30037
|
};
|
|
30038
30038
|
}
|
|
30039
30039
|
});
|
|
30040
|
-
const UiColorPickerButton = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
30041
|
-
const _sfc_main$
|
|
30040
|
+
const UiColorPickerButton = /* @__PURE__ */ _export_sfc(_sfc_main$A, [["__scopeId", "data-v-a03d15a6"]]);
|
|
30041
|
+
const _sfc_main$z = /* @__PURE__ */ defineComponent({
|
|
30042
30042
|
__name: "UiColorPicker",
|
|
30043
30043
|
props: {
|
|
30044
30044
|
modelValue: { default: "#EA00A8" },
|
|
@@ -30092,8 +30092,8 @@ const _sfc_main$y = /* @__PURE__ */ defineComponent({
|
|
|
30092
30092
|
};
|
|
30093
30093
|
}
|
|
30094
30094
|
});
|
|
30095
|
-
const _hoisted_1$
|
|
30096
|
-
const _sfc_main$
|
|
30095
|
+
const _hoisted_1$w = { class: "ui-tooltip-content" };
|
|
30096
|
+
const _sfc_main$y = /* @__PURE__ */ defineComponent({
|
|
30097
30097
|
__name: "UiTooltip",
|
|
30098
30098
|
props: {
|
|
30099
30099
|
content: { default: "" },
|
|
@@ -30216,7 +30216,7 @@ const _sfc_main$x = /* @__PURE__ */ defineComponent({
|
|
|
30216
30216
|
style: normalizeStyle(tooltipStyle.value),
|
|
30217
30217
|
role: "tooltip"
|
|
30218
30218
|
}, [
|
|
30219
|
-
createElementVNode("div", _hoisted_1$
|
|
30219
|
+
createElementVNode("div", _hoisted_1$w, [
|
|
30220
30220
|
renderSlot(_ctx.$slots, "tooltip", {}, () => [
|
|
30221
30221
|
createTextVNode(toDisplayString(_ctx.content), 1)
|
|
30222
30222
|
], true)
|
|
@@ -30230,15 +30230,15 @@ const _sfc_main$x = /* @__PURE__ */ defineComponent({
|
|
|
30230
30230
|
};
|
|
30231
30231
|
}
|
|
30232
30232
|
});
|
|
30233
|
-
const UiTooltip = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
30234
|
-
const _hoisted_1$
|
|
30235
|
-
const _hoisted_2$
|
|
30233
|
+
const UiTooltip = /* @__PURE__ */ _export_sfc(_sfc_main$y, [["__scopeId", "data-v-614c492f"]]);
|
|
30234
|
+
const _hoisted_1$v = { class: "ui-table-container" };
|
|
30235
|
+
const _hoisted_2$r = {
|
|
30236
30236
|
key: 0,
|
|
30237
30237
|
class: "ui-table-header"
|
|
30238
30238
|
};
|
|
30239
|
-
const _hoisted_3$
|
|
30240
|
-
const _hoisted_4$
|
|
30241
|
-
const _hoisted_5$
|
|
30239
|
+
const _hoisted_3$q = ["onDragenter", "onDrop"];
|
|
30240
|
+
const _hoisted_4$p = { class: "ui-table-header-content" };
|
|
30241
|
+
const _hoisted_5$m = ["onClick"];
|
|
30242
30242
|
const _hoisted_6$k = ["onDragstart"];
|
|
30243
30243
|
const _hoisted_7$j = {
|
|
30244
30244
|
key: 1,
|
|
@@ -30271,7 +30271,7 @@ const _hoisted_25$5 = {
|
|
|
30271
30271
|
key: 1,
|
|
30272
30272
|
class: "ui-table-footer"
|
|
30273
30273
|
};
|
|
30274
|
-
const _sfc_main$
|
|
30274
|
+
const _sfc_main$x = /* @__PURE__ */ defineComponent({
|
|
30275
30275
|
__name: "UiTable",
|
|
30276
30276
|
props: {
|
|
30277
30277
|
columns: {},
|
|
@@ -30525,7 +30525,7 @@ const _sfc_main$w = /* @__PURE__ */ defineComponent({
|
|
|
30525
30525
|
return groupCount;
|
|
30526
30526
|
};
|
|
30527
30527
|
return (_ctx, _cache) => {
|
|
30528
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
30528
|
+
return openBlock(), createElementBlock("div", _hoisted_1$v, [
|
|
30529
30529
|
createElementVNode("div", {
|
|
30530
30530
|
ref_key: "tableRef",
|
|
30531
30531
|
ref: tableRef,
|
|
@@ -30540,7 +30540,7 @@ const _sfc_main$w = /* @__PURE__ */ defineComponent({
|
|
|
30540
30540
|
]),
|
|
30541
30541
|
style: normalizeStyle(tableStyle.value)
|
|
30542
30542
|
}, [
|
|
30543
|
-
_ctx.columns.length > 0 ? (openBlock(), createElementBlock("div", _hoisted_2$
|
|
30543
|
+
_ctx.columns.length > 0 ? (openBlock(), createElementBlock("div", _hoisted_2$r, [
|
|
30544
30544
|
(openBlock(true), createElementBlock(Fragment$1, null, renderList(_ctx.columns, (column, index) => {
|
|
30545
30545
|
return openBlock(), createElementBlock("div", {
|
|
30546
30546
|
key: `header-${index}`,
|
|
@@ -30564,7 +30564,7 @@ const _sfc_main$w = /* @__PURE__ */ defineComponent({
|
|
|
30564
30564
|
onDrop: ($event) => handleDrop($event, index),
|
|
30565
30565
|
style: normalizeStyle(getHeaderColumnTransform(index))
|
|
30566
30566
|
}, [
|
|
30567
|
-
createElementVNode("div", _hoisted_4$
|
|
30567
|
+
createElementVNode("div", _hoisted_4$p, [
|
|
30568
30568
|
createElementVNode("div", {
|
|
30569
30569
|
class: "ui-table-header-main",
|
|
30570
30570
|
onClick: ($event) => column.sortable ? handleSort(column.key) : null
|
|
@@ -30591,7 +30591,7 @@ const _sfc_main$w = /* @__PURE__ */ defineComponent({
|
|
|
30591
30591
|
size: 16
|
|
30592
30592
|
}))
|
|
30593
30593
|
])) : createCommentVNode("", true)
|
|
30594
|
-
], 8, _hoisted_5$
|
|
30594
|
+
], 8, _hoisted_5$m),
|
|
30595
30595
|
createElementVNode("div", _hoisted_8$i, [
|
|
30596
30596
|
_ctx.filterable || column.filterable ? (openBlock(), createElementBlock("button", {
|
|
30597
30597
|
key: 0,
|
|
@@ -30637,7 +30637,7 @@ const _sfc_main$w = /* @__PURE__ */ defineComponent({
|
|
|
30637
30637
|
[vModelSelect, filters.value[column.key]]
|
|
30638
30638
|
]) : createCommentVNode("", true)
|
|
30639
30639
|
])) : createCommentVNode("", true)
|
|
30640
|
-
], 46, _hoisted_3$
|
|
30640
|
+
], 46, _hoisted_3$q);
|
|
30641
30641
|
}), 128))
|
|
30642
30642
|
])) : createCommentVNode("", true),
|
|
30643
30643
|
createElementVNode("div", _hoisted_16$d, [
|
|
@@ -30755,21 +30755,21 @@ const _sfc_main$w = /* @__PURE__ */ defineComponent({
|
|
|
30755
30755
|
};
|
|
30756
30756
|
}
|
|
30757
30757
|
});
|
|
30758
|
-
const UiTable = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
30759
|
-
const _hoisted_1$
|
|
30760
|
-
const _hoisted_2$
|
|
30758
|
+
const UiTable = /* @__PURE__ */ _export_sfc(_sfc_main$x, [["__scopeId", "data-v-263368b2"]]);
|
|
30759
|
+
const _hoisted_1$u = { class: "ui-hero-content" };
|
|
30760
|
+
const _hoisted_2$q = {
|
|
30761
30761
|
key: 0,
|
|
30762
30762
|
class: "ui-hero-header"
|
|
30763
30763
|
};
|
|
30764
|
-
const _hoisted_3$
|
|
30764
|
+
const _hoisted_3$p = {
|
|
30765
30765
|
key: 0,
|
|
30766
30766
|
class: "ui-hero-title"
|
|
30767
30767
|
};
|
|
30768
|
-
const _hoisted_4$
|
|
30768
|
+
const _hoisted_4$o = {
|
|
30769
30769
|
key: 1,
|
|
30770
30770
|
class: "ui-hero-description"
|
|
30771
30771
|
};
|
|
30772
|
-
const _hoisted_5$
|
|
30772
|
+
const _hoisted_5$l = {
|
|
30773
30773
|
key: 1,
|
|
30774
30774
|
class: "ui-hero-navigation"
|
|
30775
30775
|
};
|
|
@@ -30785,7 +30785,7 @@ const _hoisted_8$h = {
|
|
|
30785
30785
|
key: 1,
|
|
30786
30786
|
class: "ui-hero-background"
|
|
30787
30787
|
};
|
|
30788
|
-
const _sfc_main$
|
|
30788
|
+
const _sfc_main$w = /* @__PURE__ */ defineComponent({
|
|
30789
30789
|
__name: "UiHero",
|
|
30790
30790
|
props: {
|
|
30791
30791
|
variant: { default: "minimal" },
|
|
@@ -30860,14 +30860,14 @@ const _sfc_main$v = /* @__PURE__ */ defineComponent({
|
|
|
30860
30860
|
]]),
|
|
30861
30861
|
style: normalizeStyle(heroStyles.value)
|
|
30862
30862
|
}, [
|
|
30863
|
-
createElementVNode("div", _hoisted_1$
|
|
30864
|
-
hasHeaderSlot.value || _ctx.title || _ctx.description ? (openBlock(), createElementBlock("div", _hoisted_2$
|
|
30863
|
+
createElementVNode("div", _hoisted_1$u, [
|
|
30864
|
+
hasHeaderSlot.value || _ctx.title || _ctx.description ? (openBlock(), createElementBlock("div", _hoisted_2$q, [
|
|
30865
30865
|
renderSlot(_ctx.$slots, "header", {}, () => [
|
|
30866
|
-
_ctx.title ? (openBlock(), createElementBlock("h1", _hoisted_3$
|
|
30867
|
-
_ctx.description ? (openBlock(), createElementBlock("p", _hoisted_4$
|
|
30866
|
+
_ctx.title ? (openBlock(), createElementBlock("h1", _hoisted_3$p, toDisplayString(_ctx.title), 1)) : createCommentVNode("", true),
|
|
30867
|
+
_ctx.description ? (openBlock(), createElementBlock("p", _hoisted_4$o, toDisplayString(_ctx.description), 1)) : createCommentVNode("", true)
|
|
30868
30868
|
], true)
|
|
30869
30869
|
])) : createCommentVNode("", true),
|
|
30870
|
-
hasNavigationSlot.value ? (openBlock(), createElementBlock("div", _hoisted_5$
|
|
30870
|
+
hasNavigationSlot.value ? (openBlock(), createElementBlock("div", _hoisted_5$l, [
|
|
30871
30871
|
renderSlot(_ctx.$slots, "navigation", {}, void 0, true)
|
|
30872
30872
|
])) : createCommentVNode("", true),
|
|
30873
30873
|
hasDefaultSlot.value ? (openBlock(), createElementBlock("div", _hoisted_6$j, [
|
|
@@ -30884,7 +30884,7 @@ const _sfc_main$v = /* @__PURE__ */ defineComponent({
|
|
|
30884
30884
|
};
|
|
30885
30885
|
}
|
|
30886
30886
|
});
|
|
30887
|
-
const UiHero = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
30887
|
+
const UiHero = /* @__PURE__ */ _export_sfc(_sfc_main$w, [["__scopeId", "data-v-00e0d581"]]);
|
|
30888
30888
|
const currentTheme = ref("system");
|
|
30889
30889
|
const systemPrefersDark = ref(false);
|
|
30890
30890
|
const STORAGE_KEY = "strands-ui-theme";
|
|
@@ -31070,14 +31070,14 @@ function useTheme(fallbackTheme = "auto") {
|
|
|
31070
31070
|
themeClass
|
|
31071
31071
|
};
|
|
31072
31072
|
}
|
|
31073
|
-
const _hoisted_1$
|
|
31074
|
-
const _hoisted_2$
|
|
31075
|
-
const _hoisted_3$
|
|
31073
|
+
const _hoisted_1$t = { class: "accui-component-scope" };
|
|
31074
|
+
const _hoisted_2$p = { class: "ui-theme-toggle" };
|
|
31075
|
+
const _hoisted_3$o = {
|
|
31076
31076
|
key: 1,
|
|
31077
31077
|
class: "ui-theme-toggle-dropdown"
|
|
31078
31078
|
};
|
|
31079
|
-
const _hoisted_4$
|
|
31080
|
-
const _hoisted_5$
|
|
31079
|
+
const _hoisted_4$n = ["disabled", "onClick"];
|
|
31080
|
+
const _hoisted_5$k = {
|
|
31081
31081
|
key: 0,
|
|
31082
31082
|
class: "ui-theme-toggle-option-indicator"
|
|
31083
31083
|
};
|
|
@@ -31087,7 +31087,7 @@ const _hoisted_6$i = {
|
|
|
31087
31087
|
role: "group",
|
|
31088
31088
|
"aria-label": "Theme selection"
|
|
31089
31089
|
};
|
|
31090
|
-
const _sfc_main$
|
|
31090
|
+
const _sfc_main$v = /* @__PURE__ */ defineComponent({
|
|
31091
31091
|
__name: "UiThemeToggle",
|
|
31092
31092
|
props: {
|
|
31093
31093
|
variant: { default: "button" },
|
|
@@ -31137,8 +31137,8 @@ const _sfc_main$u = /* @__PURE__ */ defineComponent({
|
|
|
31137
31137
|
document.removeEventListener("click", handleClickOutside);
|
|
31138
31138
|
});
|
|
31139
31139
|
return (_ctx, _cache) => {
|
|
31140
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
31141
|
-
createElementVNode("div", _hoisted_2$
|
|
31140
|
+
return openBlock(), createElementBlock("div", _hoisted_1$t, [
|
|
31141
|
+
createElementVNode("div", _hoisted_2$p, [
|
|
31142
31142
|
_ctx.variant === "button" ? (openBlock(), createBlock(StrandsUiButton, {
|
|
31143
31143
|
key: 0,
|
|
31144
31144
|
icon: true,
|
|
@@ -31154,7 +31154,7 @@ const _sfc_main$u = /* @__PURE__ */ defineComponent({
|
|
|
31154
31154
|
(openBlock(), createBlock(resolveDynamicComponent(getIconComponent(currentIcon.value))))
|
|
31155
31155
|
]),
|
|
31156
31156
|
_: 1
|
|
31157
|
-
}, 8, ["size", "disabled", "title", "class"])) : _ctx.variant === "dropdown" ? (openBlock(), createElementBlock("div", _hoisted_3$
|
|
31157
|
+
}, 8, ["size", "disabled", "title", "class"])) : _ctx.variant === "dropdown" ? (openBlock(), createElementBlock("div", _hoisted_3$o, [
|
|
31158
31158
|
createVNode(StrandsUiButton, {
|
|
31159
31159
|
squircle: true,
|
|
31160
31160
|
variant: "ghost",
|
|
@@ -31195,8 +31195,8 @@ const _sfc_main$u = /* @__PURE__ */ defineComponent({
|
|
|
31195
31195
|
}, [
|
|
31196
31196
|
(openBlock(), createBlock(resolveDynamicComponent(getIconComponent(option.icon)), { class: "ui-theme-toggle-option-icon" })),
|
|
31197
31197
|
createElementVNode("span", null, toDisplayString(option.label), 1),
|
|
31198
|
-
unref(currentTheme2) === option.value ? (openBlock(), createElementBlock("div", _hoisted_5$
|
|
31199
|
-
], 10, _hoisted_4$
|
|
31198
|
+
unref(currentTheme2) === option.value ? (openBlock(), createElementBlock("div", _hoisted_5$k)) : createCommentVNode("", true)
|
|
31199
|
+
], 10, _hoisted_4$n);
|
|
31200
31200
|
}), 128))
|
|
31201
31201
|
])) : createCommentVNode("", true)
|
|
31202
31202
|
])) : _ctx.variant === "segmented" ? (openBlock(), createElementBlock("div", _hoisted_6$i, [
|
|
@@ -31228,21 +31228,21 @@ const _sfc_main$u = /* @__PURE__ */ defineComponent({
|
|
|
31228
31228
|
};
|
|
31229
31229
|
}
|
|
31230
31230
|
});
|
|
31231
|
-
const UiThemeToggle = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
31232
|
-
const _hoisted_1$
|
|
31231
|
+
const UiThemeToggle = /* @__PURE__ */ _export_sfc(_sfc_main$v, [["__scopeId", "data-v-42a061c8"]]);
|
|
31232
|
+
const _hoisted_1$s = {
|
|
31233
31233
|
key: 0,
|
|
31234
31234
|
class: "slider-header"
|
|
31235
31235
|
};
|
|
31236
|
-
const _hoisted_2$
|
|
31237
|
-
const _hoisted_3$
|
|
31236
|
+
const _hoisted_2$o = ["for"];
|
|
31237
|
+
const _hoisted_3$n = {
|
|
31238
31238
|
key: 0,
|
|
31239
31239
|
class: "slider-required"
|
|
31240
31240
|
};
|
|
31241
|
-
const _hoisted_4$
|
|
31241
|
+
const _hoisted_4$m = {
|
|
31242
31242
|
key: 1,
|
|
31243
31243
|
class: "slider-value"
|
|
31244
31244
|
};
|
|
31245
|
-
const _hoisted_5$
|
|
31245
|
+
const _hoisted_5$j = {
|
|
31246
31246
|
key: 0,
|
|
31247
31247
|
class: "slider-min-label"
|
|
31248
31248
|
};
|
|
@@ -31273,7 +31273,7 @@ const _hoisted_14$f = {
|
|
|
31273
31273
|
key: 1,
|
|
31274
31274
|
class: "slider-help-text"
|
|
31275
31275
|
};
|
|
31276
|
-
const _sfc_main$
|
|
31276
|
+
const _sfc_main$u = /* @__PURE__ */ defineComponent({
|
|
31277
31277
|
__name: "UiSlider",
|
|
31278
31278
|
props: {
|
|
31279
31279
|
modelValue: { default: 0 },
|
|
@@ -31377,21 +31377,21 @@ const _sfc_main$t = /* @__PURE__ */ defineComponent({
|
|
|
31377
31377
|
}
|
|
31378
31378
|
]])
|
|
31379
31379
|
}, [
|
|
31380
|
-
_ctx.label || _ctx.showValue ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
31380
|
+
_ctx.label || _ctx.showValue ? (openBlock(), createElementBlock("div", _hoisted_1$s, [
|
|
31381
31381
|
_ctx.label ? (openBlock(), createElementBlock("label", {
|
|
31382
31382
|
key: 0,
|
|
31383
31383
|
for: _ctx.inputId,
|
|
31384
31384
|
class: "slider-label"
|
|
31385
31385
|
}, [
|
|
31386
31386
|
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$
|
|
31387
|
+
_ctx.required ? (openBlock(), createElementBlock("span", _hoisted_3$n, "*")) : createCommentVNode("", true)
|
|
31388
|
+
], 8, _hoisted_2$o)) : createCommentVNode("", true),
|
|
31389
|
+
_ctx.showValue ? (openBlock(), createElementBlock("div", _hoisted_4$m, toDisplayString(displayValue.value) + toDisplayString(_ctx.unit), 1)) : createCommentVNode("", true)
|
|
31390
31390
|
])) : createCommentVNode("", true),
|
|
31391
31391
|
createElementVNode("div", {
|
|
31392
31392
|
class: normalizeClass(["slider-container", { "slider-error": _ctx.error }])
|
|
31393
31393
|
}, [
|
|
31394
|
-
_ctx.showMinMax ? (openBlock(), createElementBlock("div", _hoisted_5$
|
|
31394
|
+
_ctx.showMinMax ? (openBlock(), createElementBlock("div", _hoisted_5$j, toDisplayString(_ctx.min) + toDisplayString(_ctx.unit), 1)) : createCommentVNode("", true),
|
|
31395
31395
|
createElementVNode("div", _hoisted_6$h, [
|
|
31396
31396
|
createElementVNode("input", {
|
|
31397
31397
|
id: _ctx.inputId,
|
|
@@ -31446,21 +31446,21 @@ const _sfc_main$t = /* @__PURE__ */ defineComponent({
|
|
|
31446
31446
|
};
|
|
31447
31447
|
}
|
|
31448
31448
|
});
|
|
31449
|
-
const UiSlider = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
31450
|
-
const _hoisted_1$
|
|
31449
|
+
const UiSlider = /* @__PURE__ */ _export_sfc(_sfc_main$u, [["__scopeId", "data-v-39aa55d9"]]);
|
|
31450
|
+
const _hoisted_1$r = {
|
|
31451
31451
|
key: 0,
|
|
31452
31452
|
class: "radio-group-label"
|
|
31453
31453
|
};
|
|
31454
|
-
const _hoisted_2$
|
|
31454
|
+
const _hoisted_2$n = {
|
|
31455
31455
|
key: 0,
|
|
31456
31456
|
class: "radio-group-required"
|
|
31457
31457
|
};
|
|
31458
|
-
const _hoisted_3$
|
|
31458
|
+
const _hoisted_3$m = {
|
|
31459
31459
|
key: 1,
|
|
31460
31460
|
class: "radio-group-description"
|
|
31461
31461
|
};
|
|
31462
|
-
const _hoisted_4$
|
|
31463
|
-
const _hoisted_5$
|
|
31462
|
+
const _hoisted_4$l = ["onClick"];
|
|
31463
|
+
const _hoisted_5$i = ["id", "name", "value", "checked", "disabled", "required"];
|
|
31464
31464
|
const _hoisted_6$g = { class: "radio-content" };
|
|
31465
31465
|
const _hoisted_7$g = ["for"];
|
|
31466
31466
|
const _hoisted_8$f = {
|
|
@@ -31483,7 +31483,7 @@ const _hoisted_12$f = {
|
|
|
31483
31483
|
key: 1,
|
|
31484
31484
|
class: "radio-help-text"
|
|
31485
31485
|
};
|
|
31486
|
-
const _sfc_main$
|
|
31486
|
+
const _sfc_main$t = /* @__PURE__ */ defineComponent({
|
|
31487
31487
|
__name: "UiRadioGroup",
|
|
31488
31488
|
props: {
|
|
31489
31489
|
modelValue: {},
|
|
@@ -31533,11 +31533,11 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent({
|
|
|
31533
31533
|
{ "radio-group-disabled": _ctx.disabled }
|
|
31534
31534
|
]])
|
|
31535
31535
|
}, [
|
|
31536
|
-
_ctx.label ? (openBlock(), createElementBlock("label", _hoisted_1$
|
|
31536
|
+
_ctx.label ? (openBlock(), createElementBlock("label", _hoisted_1$r, [
|
|
31537
31537
|
createTextVNode(toDisplayString(_ctx.label) + " ", 1),
|
|
31538
|
-
_ctx.required ? (openBlock(), createElementBlock("span", _hoisted_2$
|
|
31538
|
+
_ctx.required ? (openBlock(), createElementBlock("span", _hoisted_2$n, "*")) : createCommentVNode("", true)
|
|
31539
31539
|
])) : createCommentVNode("", true),
|
|
31540
|
-
_ctx.description ? (openBlock(), createElementBlock("p", _hoisted_3$
|
|
31540
|
+
_ctx.description ? (openBlock(), createElementBlock("p", _hoisted_3$m, toDisplayString(_ctx.description), 1)) : createCommentVNode("", true),
|
|
31541
31541
|
createElementVNode("div", {
|
|
31542
31542
|
class: normalizeClass(["radio-options", [
|
|
31543
31543
|
orientationClasses.value,
|
|
@@ -31568,7 +31568,7 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent({
|
|
|
31568
31568
|
onChange: handleInputChange,
|
|
31569
31569
|
onFocus: handleFocus,
|
|
31570
31570
|
onBlur: handleBlur
|
|
31571
|
-
}, null, 40, _hoisted_5$
|
|
31571
|
+
}, null, 40, _hoisted_5$i),
|
|
31572
31572
|
_cache[0] || (_cache[0] = createElementVNode("div", { class: "radio-button" }, [
|
|
31573
31573
|
createElementVNode("div", { class: "radio-button-inner" })
|
|
31574
31574
|
], -1)),
|
|
@@ -31582,7 +31582,7 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent({
|
|
|
31582
31582
|
(openBlock(), createBlock(resolveDynamicComponent(option.icon)))
|
|
31583
31583
|
])) : createCommentVNode("", true)
|
|
31584
31584
|
])
|
|
31585
|
-
], 10, _hoisted_4$
|
|
31585
|
+
], 10, _hoisted_4$l);
|
|
31586
31586
|
}), 128))
|
|
31587
31587
|
], 2),
|
|
31588
31588
|
_ctx.helpText || _ctx.error ? (openBlock(), createElementBlock("div", _hoisted_10$f, [
|
|
@@ -31592,21 +31592,21 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent({
|
|
|
31592
31592
|
};
|
|
31593
31593
|
}
|
|
31594
31594
|
});
|
|
31595
|
-
const UiRadioGroup = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
31596
|
-
const _hoisted_1$
|
|
31595
|
+
const UiRadioGroup = /* @__PURE__ */ _export_sfc(_sfc_main$t, [["__scopeId", "data-v-4095f911"]]);
|
|
31596
|
+
const _hoisted_1$q = {
|
|
31597
31597
|
key: 0,
|
|
31598
31598
|
class: "checkbox-group-label"
|
|
31599
31599
|
};
|
|
31600
|
-
const _hoisted_2$
|
|
31600
|
+
const _hoisted_2$m = {
|
|
31601
31601
|
key: 0,
|
|
31602
31602
|
class: "checkbox-group-required"
|
|
31603
31603
|
};
|
|
31604
|
-
const _hoisted_3$
|
|
31604
|
+
const _hoisted_3$l = {
|
|
31605
31605
|
key: 1,
|
|
31606
31606
|
class: "checkbox-group-description"
|
|
31607
31607
|
};
|
|
31608
|
-
const _hoisted_4$
|
|
31609
|
-
const _hoisted_5$
|
|
31608
|
+
const _hoisted_4$k = ["onClick"];
|
|
31609
|
+
const _hoisted_5$h = ["id", "name", "value", "checked", "disabled", "required", "indeterminate", "onChange"];
|
|
31610
31610
|
const _hoisted_6$f = { class: "checkbox-button" };
|
|
31611
31611
|
const _hoisted_7$f = {
|
|
31612
31612
|
key: 0,
|
|
@@ -31661,7 +31661,7 @@ const _hoisted_21$7 = {
|
|
|
31661
31661
|
key: 1,
|
|
31662
31662
|
class: "checkbox-help-text"
|
|
31663
31663
|
};
|
|
31664
|
-
const _sfc_main$
|
|
31664
|
+
const _sfc_main$s = /* @__PURE__ */ defineComponent({
|
|
31665
31665
|
__name: "UiCheckboxGroup",
|
|
31666
31666
|
props: {
|
|
31667
31667
|
modelValue: { default: () => [] },
|
|
@@ -31751,11 +31751,11 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
|
|
|
31751
31751
|
{ "checkbox-group-disabled": _ctx.disabled }
|
|
31752
31752
|
]])
|
|
31753
31753
|
}, [
|
|
31754
|
-
_ctx.label ? (openBlock(), createElementBlock("label", _hoisted_1$
|
|
31754
|
+
_ctx.label ? (openBlock(), createElementBlock("label", _hoisted_1$q, [
|
|
31755
31755
|
createTextVNode(toDisplayString(_ctx.label) + " ", 1),
|
|
31756
|
-
_ctx.required ? (openBlock(), createElementBlock("span", _hoisted_2$
|
|
31756
|
+
_ctx.required ? (openBlock(), createElementBlock("span", _hoisted_2$m, "*")) : createCommentVNode("", true)
|
|
31757
31757
|
])) : createCommentVNode("", true),
|
|
31758
|
-
_ctx.description ? (openBlock(), createElementBlock("p", _hoisted_3$
|
|
31758
|
+
_ctx.description ? (openBlock(), createElementBlock("p", _hoisted_3$l, toDisplayString(_ctx.description), 1)) : createCommentVNode("", true),
|
|
31759
31759
|
createElementVNode("div", {
|
|
31760
31760
|
class: normalizeClass(["checkbox-options", [
|
|
31761
31761
|
orientationClasses.value,
|
|
@@ -31788,7 +31788,7 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
|
|
|
31788
31788
|
onChange: (event) => handleInputChange(option),
|
|
31789
31789
|
onFocus: handleFocus,
|
|
31790
31790
|
onBlur: handleBlur
|
|
31791
|
-
}, null, 40, _hoisted_5$
|
|
31791
|
+
}, null, 40, _hoisted_5$h),
|
|
31792
31792
|
createElementVNode("div", _hoisted_6$f, [
|
|
31793
31793
|
isSelected(option.value) ? (openBlock(), createElementBlock("svg", _hoisted_7$f, [..._cache[0] || (_cache[0] = [
|
|
31794
31794
|
createElementVNode("path", {
|
|
@@ -31814,7 +31814,7 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
|
|
|
31814
31814
|
(openBlock(), createBlock(resolveDynamicComponent(option.icon)))
|
|
31815
31815
|
])) : createCommentVNode("", true)
|
|
31816
31816
|
])
|
|
31817
|
-
], 10, _hoisted_4$
|
|
31817
|
+
], 10, _hoisted_4$k);
|
|
31818
31818
|
}), 128))
|
|
31819
31819
|
], 2),
|
|
31820
31820
|
_ctx.showSelectAll && _ctx.options.length > 1 ? (openBlock(), createElementBlock("div", _hoisted_13$e, [
|
|
@@ -31861,7 +31861,95 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
|
|
|
31861
31861
|
};
|
|
31862
31862
|
}
|
|
31863
31863
|
});
|
|
31864
|
-
const UiCheckboxGroup = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
31864
|
+
const UiCheckboxGroup = /* @__PURE__ */ _export_sfc(_sfc_main$s, [["__scopeId", "data-v-db488410"]]);
|
|
31865
|
+
const _hoisted_1$p = { class: "accui-component-scope" };
|
|
31866
|
+
const _hoisted_2$l = {
|
|
31867
|
+
key: 0,
|
|
31868
|
+
class: "ui-pill-leading-icon"
|
|
31869
|
+
};
|
|
31870
|
+
const _hoisted_3$k = {
|
|
31871
|
+
key: 1,
|
|
31872
|
+
class: "ui-pill-icon"
|
|
31873
|
+
};
|
|
31874
|
+
const _hoisted_4$j = {
|
|
31875
|
+
key: 2,
|
|
31876
|
+
class: "ui-pill-content"
|
|
31877
|
+
};
|
|
31878
|
+
const _hoisted_5$g = {
|
|
31879
|
+
key: 3,
|
|
31880
|
+
class: "ui-pill-trailing-icon"
|
|
31881
|
+
};
|
|
31882
|
+
const _sfc_main$r = /* @__PURE__ */ defineComponent({
|
|
31883
|
+
__name: "UiPill",
|
|
31884
|
+
props: {
|
|
31885
|
+
variant: { default: "filled" },
|
|
31886
|
+
size: { default: "md" },
|
|
31887
|
+
color: { default: "primary" },
|
|
31888
|
+
icon: { type: Boolean, default: false },
|
|
31889
|
+
iconOnly: { type: Boolean, default: false },
|
|
31890
|
+
removable: { type: Boolean, default: false },
|
|
31891
|
+
disabled: { type: Boolean, default: false },
|
|
31892
|
+
tooltip: {}
|
|
31893
|
+
},
|
|
31894
|
+
emits: ["remove"],
|
|
31895
|
+
setup(__props, { emit: __emit }) {
|
|
31896
|
+
const props = __props;
|
|
31897
|
+
const pillClasses = computed(() => {
|
|
31898
|
+
const classes = [
|
|
31899
|
+
"ui-pill",
|
|
31900
|
+
`ui-pill-${props.variant}`,
|
|
31901
|
+
`ui-pill-${props.size}`,
|
|
31902
|
+
`ui-pill-color-${props.color}`,
|
|
31903
|
+
props.icon ? "ui-pill-has-icon" : "",
|
|
31904
|
+
props.iconOnly ? "ui-pill-icon-only" : "",
|
|
31905
|
+
props.removable ? "ui-pill-removable" : "",
|
|
31906
|
+
props.disabled ? "ui-pill-disabled" : ""
|
|
31907
|
+
].filter(Boolean);
|
|
31908
|
+
return classes.join(" ");
|
|
31909
|
+
});
|
|
31910
|
+
const pillStyles = computed(() => {
|
|
31911
|
+
return {};
|
|
31912
|
+
});
|
|
31913
|
+
return (_ctx, _cache) => {
|
|
31914
|
+
return openBlock(), createElementBlock("div", _hoisted_1$p, [
|
|
31915
|
+
_ctx.variant === "dot-only" ? (openBlock(), createBlock(UiTooltip, {
|
|
31916
|
+
key: 0,
|
|
31917
|
+
content: _ctx.tooltip || _ctx.$slots.default?.()?.[0]?.children || "",
|
|
31918
|
+
delay: 0
|
|
31919
|
+
}, {
|
|
31920
|
+
default: withCtx(() => [
|
|
31921
|
+
createElementVNode("span", {
|
|
31922
|
+
class: normalizeClass(pillClasses.value),
|
|
31923
|
+
style: normalizeStyle(pillStyles.value)
|
|
31924
|
+
}, null, 6)
|
|
31925
|
+
]),
|
|
31926
|
+
_: 1
|
|
31927
|
+
}, 8, ["content"])) : (openBlock(), createElementBlock("span", {
|
|
31928
|
+
key: 1,
|
|
31929
|
+
class: normalizeClass([pillClasses.value, {
|
|
31930
|
+
"ui-pill-has-leading-icon": _ctx.$slots["leading-icon"],
|
|
31931
|
+
"ui-pill-has-trailing-icon": _ctx.$slots["trailing-icon"]
|
|
31932
|
+
}]),
|
|
31933
|
+
style: normalizeStyle(pillStyles.value)
|
|
31934
|
+
}, [
|
|
31935
|
+
_ctx.$slots["leading-icon"] && !_ctx.iconOnly ? (openBlock(), createElementBlock("span", _hoisted_2$l, [
|
|
31936
|
+
renderSlot(_ctx.$slots, "leading-icon", {}, void 0, true)
|
|
31937
|
+
])) : createCommentVNode("", true),
|
|
31938
|
+
_ctx.icon && _ctx.iconOnly ? (openBlock(), createElementBlock("span", _hoisted_3$k, [
|
|
31939
|
+
renderSlot(_ctx.$slots, "icon", {}, void 0, true)
|
|
31940
|
+
])) : createCommentVNode("", true),
|
|
31941
|
+
!_ctx.iconOnly ? (openBlock(), createElementBlock("span", _hoisted_4$j, [
|
|
31942
|
+
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
31943
|
+
])) : createCommentVNode("", true),
|
|
31944
|
+
_ctx.$slots["trailing-icon"] && !_ctx.iconOnly ? (openBlock(), createElementBlock("span", _hoisted_5$g, [
|
|
31945
|
+
renderSlot(_ctx.$slots, "trailing-icon", {}, void 0, true)
|
|
31946
|
+
])) : createCommentVNode("", true)
|
|
31947
|
+
], 6))
|
|
31948
|
+
]);
|
|
31949
|
+
};
|
|
31950
|
+
}
|
|
31951
|
+
});
|
|
31952
|
+
const UiPill = /* @__PURE__ */ _export_sfc(_sfc_main$r, [["__scopeId", "data-v-defab79f"]]);
|
|
31865
31953
|
const slotHasContent = (slotName, slots) => {
|
|
31866
31954
|
const slot = slots[slotName];
|
|
31867
31955
|
if (!slot) return false;
|
|
@@ -37500,7 +37588,7 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
|
|
|
37500
37588
|
};
|
|
37501
37589
|
}
|
|
37502
37590
|
});
|
|
37503
|
-
const StrandsSessionsModal = /* @__PURE__ */ _export_sfc(_sfc_main$a, [["__scopeId", "data-v-
|
|
37591
|
+
const StrandsSessionsModal = /* @__PURE__ */ _export_sfc(_sfc_main$a, [["__scopeId", "data-v-1958a7a9"]]);
|
|
37504
37592
|
const _hoisted_1$7 = { class: "accui-component-scope" };
|
|
37505
37593
|
const _hoisted_2$5 = { class: "profile-content-layout" };
|
|
37506
37594
|
const _hoisted_3$4 = { class: "profile-image-section" };
|
|
@@ -38717,7 +38805,7 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
|
|
|
38717
38805
|
], -1)
|
|
38718
38806
|
])])
|
|
38719
38807
|
]),
|
|
38720
|
-
createVNode(unref(_sfc_main$
|
|
38808
|
+
createVNode(unref(_sfc_main$E), {
|
|
38721
38809
|
uploading: uploading.value,
|
|
38722
38810
|
"preselected-file": selectedImageFile.value,
|
|
38723
38811
|
onUpload: handleAvatarUpload,
|
|
@@ -40377,11 +40465,11 @@ export {
|
|
|
40377
40465
|
StrandsUIPlugin,
|
|
40378
40466
|
StrandsUiAlert,
|
|
40379
40467
|
UiApp as StrandsUiApp,
|
|
40380
|
-
_sfc_main$
|
|
40468
|
+
_sfc_main$E as StrandsUiAvatarEditor,
|
|
40381
40469
|
CompoundUiButton as StrandsUiButton,
|
|
40382
40470
|
StrandsUiCard,
|
|
40383
40471
|
UiCheckboxGroup as StrandsUiCheckboxGroup,
|
|
40384
|
-
_sfc_main$
|
|
40472
|
+
_sfc_main$z as StrandsUiColorPicker,
|
|
40385
40473
|
UiDivider as StrandsUiDivider,
|
|
40386
40474
|
UiHero as StrandsUiHero,
|
|
40387
40475
|
StrandsUiInput,
|
|
@@ -40389,6 +40477,7 @@ export {
|
|
|
40389
40477
|
StrandsUiLink,
|
|
40390
40478
|
StrandsUiLoader,
|
|
40391
40479
|
UiModal as StrandsUiModal,
|
|
40480
|
+
UiPill as StrandsUiPill,
|
|
40392
40481
|
UiRadioGroup as StrandsUiRadioGroup,
|
|
40393
40482
|
UiSlider as StrandsUiSlider,
|
|
40394
40483
|
UiTable as StrandsUiTable,
|
|
@@ -40401,12 +40490,12 @@ export {
|
|
|
40401
40490
|
_sfc_main$5 as SvgIcon,
|
|
40402
40491
|
StrandsUiAlert as UiAlert,
|
|
40403
40492
|
UiApp,
|
|
40404
|
-
_sfc_main$
|
|
40405
|
-
_sfc_main$
|
|
40493
|
+
_sfc_main$E as UiAvatarEditor,
|
|
40494
|
+
_sfc_main$E as UiAvatarEditorSimple,
|
|
40406
40495
|
CompoundUiButton as UiButton,
|
|
40407
40496
|
StrandsUiCard as UiCard,
|
|
40408
40497
|
UiCheckboxGroup,
|
|
40409
|
-
_sfc_main$
|
|
40498
|
+
_sfc_main$z as UiColorPicker,
|
|
40410
40499
|
UiDivider,
|
|
40411
40500
|
UiHero,
|
|
40412
40501
|
StrandsUiInput as UiInput,
|
|
@@ -40414,6 +40503,7 @@ export {
|
|
|
40414
40503
|
StrandsUiLink as UiLink,
|
|
40415
40504
|
StrandsUiLoader as UiLoader,
|
|
40416
40505
|
UiModal,
|
|
40506
|
+
UiPill,
|
|
40417
40507
|
UiRadioGroup,
|
|
40418
40508
|
UiSlider,
|
|
40419
40509
|
UiTable,
|