@strands.gg/accui 2.11.5 → 2.11.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/accui.css +1 -1
- package/dist/index.cjs.js +1 -1
- package/dist/index.es.js +188 -152
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -92,8 +92,8 @@ const _hoisted_4$G = {
|
|
|
92
92
|
viewBox: "0 0 20 20",
|
|
93
93
|
"aria-hidden": "true"
|
|
94
94
|
};
|
|
95
|
-
const _hoisted_5$
|
|
96
|
-
const _hoisted_6$
|
|
95
|
+
const _hoisted_5$A = ["d"];
|
|
96
|
+
const _hoisted_6$u = { class: "alert-text-container" };
|
|
97
97
|
const _hoisted_7$s = {
|
|
98
98
|
key: 0,
|
|
99
99
|
class: "alert-dismiss-container"
|
|
@@ -146,10 +146,10 @@ const _sfc_main$$ = /* @__PURE__ */ defineComponent({
|
|
|
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$A)
|
|
150
150
|
]))
|
|
151
151
|
]),
|
|
152
|
-
createElementVNode("div", _hoisted_6$
|
|
152
|
+
createElementVNode("div", _hoisted_6$u, [
|
|
153
153
|
_ctx.title ? (openBlock(), createElementBlock("h3", {
|
|
154
154
|
key: 0,
|
|
155
155
|
class: normalizeClass(titleClasses.value)
|
|
@@ -197,8 +197,8 @@ const _hoisted_1$S = {
|
|
|
197
197
|
const _hoisted_2$K = ["width", "height"];
|
|
198
198
|
const _hoisted_3$H = ["d"];
|
|
199
199
|
const _hoisted_4$F = ["stroke-width"];
|
|
200
|
-
const _hoisted_5$
|
|
201
|
-
const _hoisted_6$
|
|
200
|
+
const _hoisted_5$z = ["stroke-width"];
|
|
201
|
+
const _hoisted_6$t = ["width", "height"];
|
|
202
202
|
const _hoisted_7$r = {
|
|
203
203
|
key: 3,
|
|
204
204
|
class: "loader-text"
|
|
@@ -266,7 +266,7 @@ const _sfc_main$_ = /* @__PURE__ */ defineComponent({
|
|
|
266
266
|
"stroke-linecap": "round",
|
|
267
267
|
"stroke-linejoin": "round",
|
|
268
268
|
class: "loader-animated-path"
|
|
269
|
-
}, null, 8, _hoisted_5$
|
|
269
|
+
}, null, 8, _hoisted_5$z)
|
|
270
270
|
], 8, _hoisted_2$K))
|
|
271
271
|
])) : _ctx.variant === "circle" ? (openBlock(), createElementBlock("div", {
|
|
272
272
|
key: 1,
|
|
@@ -288,7 +288,7 @@ const _sfc_main$_ = /* @__PURE__ */ defineComponent({
|
|
|
288
288
|
"stroke-linecap": "round",
|
|
289
289
|
class: "loader-circle-path"
|
|
290
290
|
}, null, -1)
|
|
291
|
-
])], 8, _hoisted_6$
|
|
291
|
+
])], 8, _hoisted_6$t))
|
|
292
292
|
], 4)) : _ctx.variant === "bar" ? (openBlock(), createElementBlock("div", {
|
|
293
293
|
key: 2,
|
|
294
294
|
class: "loader-bar",
|
|
@@ -796,7 +796,7 @@ const _sfc_main$V = /* @__PURE__ */ defineComponent({
|
|
|
796
796
|
};
|
|
797
797
|
}
|
|
798
798
|
});
|
|
799
|
-
const StrandsUiButton = /* @__PURE__ */ _export_sfc(_sfc_main$V, [["__scopeId", "data-v-
|
|
799
|
+
const StrandsUiButton = /* @__PURE__ */ _export_sfc(_sfc_main$V, [["__scopeId", "data-v-8817cc57"]]);
|
|
800
800
|
const CompoundUiButton = StrandsUiButton;
|
|
801
801
|
CompoundUiButton.Content = UiButtonContent;
|
|
802
802
|
CompoundUiButton.Anchor = _sfc_main$Y;
|
|
@@ -818,11 +818,11 @@ const _hoisted_4$D = {
|
|
|
818
818
|
key: 0,
|
|
819
819
|
class: "ui-card-subtitle"
|
|
820
820
|
};
|
|
821
|
-
const _hoisted_5$
|
|
821
|
+
const _hoisted_5$y = {
|
|
822
822
|
key: 1,
|
|
823
823
|
class: "ui-card-content"
|
|
824
824
|
};
|
|
825
|
-
const _hoisted_6$
|
|
825
|
+
const _hoisted_6$s = {
|
|
826
826
|
key: 2,
|
|
827
827
|
class: "ui-card-footer"
|
|
828
828
|
};
|
|
@@ -866,17 +866,17 @@ const _sfc_main$U = /* @__PURE__ */ defineComponent({
|
|
|
866
866
|
renderSlot(_ctx.$slots, "actions", {}, void 0, true)
|
|
867
867
|
], true)
|
|
868
868
|
])) : createCommentVNode("", true),
|
|
869
|
-
_ctx.$slots["default"] ? (openBlock(), createElementBlock("div", _hoisted_5$
|
|
869
|
+
_ctx.$slots["default"] ? (openBlock(), createElementBlock("div", _hoisted_5$y, [
|
|
870
870
|
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
871
871
|
])) : createCommentVNode("", true),
|
|
872
|
-
_ctx.$slots["footer"] ? (openBlock(), createElementBlock("div", _hoisted_6$
|
|
872
|
+
_ctx.$slots["footer"] ? (openBlock(), createElementBlock("div", _hoisted_6$s, [
|
|
873
873
|
renderSlot(_ctx.$slots, "footer", {}, void 0, true)
|
|
874
874
|
])) : createCommentVNode("", true)
|
|
875
875
|
], 2);
|
|
876
876
|
};
|
|
877
877
|
}
|
|
878
878
|
});
|
|
879
|
-
const StrandsUiCard = /* @__PURE__ */ _export_sfc(_sfc_main$U, [["__scopeId", "data-v-
|
|
879
|
+
const StrandsUiCard = /* @__PURE__ */ _export_sfc(_sfc_main$U, [["__scopeId", "data-v-1f1f4fb6"]]);
|
|
880
880
|
/**
|
|
881
881
|
* @license lucide-vue-next v0.542.0 - ISC
|
|
882
882
|
*
|
|
@@ -1443,7 +1443,7 @@ const _hoisted_4$C = {
|
|
|
1443
1443
|
key: 2,
|
|
1444
1444
|
class: "input-trailing-icon"
|
|
1445
1445
|
};
|
|
1446
|
-
const _hoisted_5$
|
|
1446
|
+
const _hoisted_5$x = {
|
|
1447
1447
|
key: 3,
|
|
1448
1448
|
class: "input-trailing-icon"
|
|
1449
1449
|
};
|
|
@@ -1592,7 +1592,7 @@ const _sfc_main$T = /* @__PURE__ */ defineComponent({
|
|
|
1592
1592
|
]),
|
|
1593
1593
|
_: 1
|
|
1594
1594
|
}, 8, ["tabindex"])
|
|
1595
|
-
])) : hasTrailingIcon.value ? (openBlock(), createElementBlock("div", _hoisted_5$
|
|
1595
|
+
])) : hasTrailingIcon.value ? (openBlock(), createElementBlock("div", _hoisted_5$x, [
|
|
1596
1596
|
renderSlot(_ctx.$slots, "trailing-icon", {}, void 0, true)
|
|
1597
1597
|
])) : createCommentVNode("", true)
|
|
1598
1598
|
], 2);
|
|
@@ -1917,17 +1917,17 @@ const _hoisted_1$L = {
|
|
|
1917
1917
|
key: 0,
|
|
1918
1918
|
class: "input-leading-icon"
|
|
1919
1919
|
};
|
|
1920
|
-
const _hoisted_2$F = ["tabindex", "aria-expanded", "aria-controls"];
|
|
1920
|
+
const _hoisted_2$F = ["tabindex", "aria-expanded", "aria-controls", "aria-disabled"];
|
|
1921
1921
|
const _hoisted_3$C = { class: "input-select-value" };
|
|
1922
1922
|
const _hoisted_4$B = {
|
|
1923
1923
|
key: 0,
|
|
1924
1924
|
class: "input-select-text"
|
|
1925
1925
|
};
|
|
1926
|
-
const _hoisted_5$
|
|
1926
|
+
const _hoisted_5$w = {
|
|
1927
1927
|
key: 1,
|
|
1928
1928
|
class: "input-select-placeholder"
|
|
1929
1929
|
};
|
|
1930
|
-
const _hoisted_6$
|
|
1930
|
+
const _hoisted_6$r = {
|
|
1931
1931
|
key: 1,
|
|
1932
1932
|
class: "input-trailing-icon"
|
|
1933
1933
|
};
|
|
@@ -2279,10 +2279,11 @@ const _sfc_main$R = /* @__PURE__ */ defineComponent({
|
|
|
2279
2279
|
role: "combobox",
|
|
2280
2280
|
"aria-expanded": dropdownState.value.isOpen,
|
|
2281
2281
|
"aria-haspopup": true,
|
|
2282
|
-
"aria-controls": dropdownId.value
|
|
2282
|
+
"aria-controls": dropdownId.value,
|
|
2283
|
+
"aria-disabled": _ctx.disabled
|
|
2283
2284
|
}, [
|
|
2284
2285
|
createElementVNode("div", _hoisted_3$C, [
|
|
2285
|
-
displayValue.value ? (openBlock(), createElementBlock("span", _hoisted_4$B, toDisplayString(displayValue.value), 1)) : (openBlock(), createElementBlock("span", _hoisted_5$
|
|
2286
|
+
displayValue.value ? (openBlock(), createElementBlock("span", _hoisted_4$B, toDisplayString(displayValue.value), 1)) : (openBlock(), createElementBlock("span", _hoisted_5$w, toDisplayString(_ctx.placeholder || "Select an option..."), 1))
|
|
2286
2287
|
]),
|
|
2287
2288
|
createElementVNode("div", {
|
|
2288
2289
|
class: normalizeClass(["input-select-arrow", { "input-select-arrow-open": dropdownState.value.isOpen }])
|
|
@@ -2290,7 +2291,7 @@ const _sfc_main$R = /* @__PURE__ */ defineComponent({
|
|
|
2290
2291
|
createVNode(unref(ChevronDown))
|
|
2291
2292
|
], 2)
|
|
2292
2293
|
], 42, _hoisted_2$F),
|
|
2293
|
-
_ctx.$slots["trailing-icon"] ? (openBlock(), createElementBlock("div", _hoisted_6$
|
|
2294
|
+
_ctx.$slots["trailing-icon"] ? (openBlock(), createElementBlock("div", _hoisted_6$r, [
|
|
2294
2295
|
renderSlot(_ctx.$slots, "trailing-icon", {}, void 0, true)
|
|
2295
2296
|
])) : createCommentVNode("", true)
|
|
2296
2297
|
], 2),
|
|
@@ -2364,16 +2365,16 @@ const _sfc_main$R = /* @__PURE__ */ defineComponent({
|
|
|
2364
2365
|
};
|
|
2365
2366
|
}
|
|
2366
2367
|
});
|
|
2367
|
-
const UiInputSelect = /* @__PURE__ */ _export_sfc(_sfc_main$R, [["__scopeId", "data-v-
|
|
2368
|
+
const UiInputSelect = /* @__PURE__ */ _export_sfc(_sfc_main$R, [["__scopeId", "data-v-4bf998b8"]]);
|
|
2368
2369
|
const _hoisted_1$K = { class: "input-leading-icon" };
|
|
2369
2370
|
const _hoisted_2$E = ["src"];
|
|
2370
2371
|
const _hoisted_3$B = ["id", "accept", "multiple", "disabled", "required"];
|
|
2371
2372
|
const _hoisted_4$A = { class: "input-file-content" };
|
|
2372
|
-
const _hoisted_5$
|
|
2373
|
+
const _hoisted_5$v = {
|
|
2373
2374
|
key: 0,
|
|
2374
2375
|
class: "input-file-prompt"
|
|
2375
2376
|
};
|
|
2376
|
-
const _hoisted_6$
|
|
2377
|
+
const _hoisted_6$q = { class: "input-file-prompt-text" };
|
|
2377
2378
|
const _hoisted_7$p = {
|
|
2378
2379
|
key: 0,
|
|
2379
2380
|
class: "input-file-accept-text"
|
|
@@ -2611,8 +2612,8 @@ const _sfc_main$Q = /* @__PURE__ */ defineComponent({
|
|
|
2611
2612
|
onFocus: handleFocus
|
|
2612
2613
|
}, null, 40, _hoisted_3$B),
|
|
2613
2614
|
createElementVNode("div", _hoisted_4$A, [
|
|
2614
|
-
selectedFiles.value.length === 0 ? (openBlock(), createElementBlock("div", _hoisted_5$
|
|
2615
|
-
createElementVNode("div", _hoisted_6$
|
|
2615
|
+
selectedFiles.value.length === 0 ? (openBlock(), createElementBlock("div", _hoisted_5$v, [
|
|
2616
|
+
createElementVNode("div", _hoisted_6$q, toDisplayString(_ctx.dragDropText || "Click to select or drag and drop"), 1),
|
|
2616
2617
|
_ctx.accept ? (openBlock(), createElementBlock("div", _hoisted_7$p, toDisplayString(_ctx.accept), 1)) : createCommentVNode("", true)
|
|
2617
2618
|
])) : (openBlock(), createElementBlock("div", _hoisted_8$n, [
|
|
2618
2619
|
createElementVNode("div", _hoisted_9$m, toDisplayString(_ctx.selectedText || `${selectedFiles.value.length} file(s) selected`), 1),
|
|
@@ -2657,7 +2658,7 @@ const _hoisted_4$z = {
|
|
|
2657
2658
|
key: 1,
|
|
2658
2659
|
class: "tabs-after"
|
|
2659
2660
|
};
|
|
2660
|
-
const _hoisted_5$
|
|
2661
|
+
const _hoisted_5$u = ["aria-labelledby"];
|
|
2661
2662
|
const _sfc_main$P = /* @__PURE__ */ defineComponent({
|
|
2662
2663
|
__name: "UiTabs",
|
|
2663
2664
|
props: {
|
|
@@ -3042,7 +3043,7 @@ const _sfc_main$P = /* @__PURE__ */ defineComponent({
|
|
|
3042
3043
|
id: "tabpanel"
|
|
3043
3044
|
}, [
|
|
3044
3045
|
renderSlot(_ctx.$slots, "content", { activeTab: activeTab.value }, void 0, true)
|
|
3045
|
-
], 10, _hoisted_5$
|
|
3046
|
+
], 10, _hoisted_5$u)) : createCommentVNode("", true)
|
|
3046
3047
|
], 2);
|
|
3047
3048
|
};
|
|
3048
3049
|
}
|
|
@@ -3123,11 +3124,11 @@ const _hoisted_4$y = {
|
|
|
3123
3124
|
key: 0,
|
|
3124
3125
|
class: "datetime-picker-value"
|
|
3125
3126
|
};
|
|
3126
|
-
const _hoisted_5$
|
|
3127
|
+
const _hoisted_5$t = {
|
|
3127
3128
|
key: 1,
|
|
3128
3129
|
class: "datetime-picker-placeholder"
|
|
3129
3130
|
};
|
|
3130
|
-
const _hoisted_6$
|
|
3131
|
+
const _hoisted_6$p = {
|
|
3131
3132
|
key: 1,
|
|
3132
3133
|
class: "datetime-picker-trailing-icon"
|
|
3133
3134
|
};
|
|
@@ -3502,7 +3503,7 @@ const _sfc_main$N = /* @__PURE__ */ defineComponent({
|
|
|
3502
3503
|
_ctx.type === "date" ? (openBlock(), createBlock(unref(Calendar), { key: 0 })) : _ctx.type === "time" ? (openBlock(), createBlock(unref(Clock), { key: 1 })) : (openBlock(), createBlock(unref(CalendarClock), { key: 2 }))
|
|
3503
3504
|
]),
|
|
3504
3505
|
createElementVNode("div", _hoisted_3$z, [
|
|
3505
|
-
displayValue.value ? (openBlock(), createElementBlock("span", _hoisted_4$y, toDisplayString(displayValue.value), 1)) : (openBlock(), createElementBlock("span", _hoisted_5$
|
|
3506
|
+
displayValue.value ? (openBlock(), createElementBlock("span", _hoisted_4$y, toDisplayString(displayValue.value), 1)) : (openBlock(), createElementBlock("span", _hoisted_5$t, toDisplayString(_ctx.placeholder || getDefaultPlaceholder()), 1))
|
|
3506
3507
|
]),
|
|
3507
3508
|
_ctx.modelValue && !_ctx.disabled && !_ctx.readonly ? (openBlock(), createElementBlock("div", {
|
|
3508
3509
|
key: 0,
|
|
@@ -3510,7 +3511,7 @@ const _sfc_main$N = /* @__PURE__ */ defineComponent({
|
|
|
3510
3511
|
onClick: withModifiers(clearValue, ["stop"])
|
|
3511
3512
|
}, [
|
|
3512
3513
|
createVNode(unref(X))
|
|
3513
|
-
])) : (openBlock(), createElementBlock("div", _hoisted_6$
|
|
3514
|
+
])) : (openBlock(), createElementBlock("div", _hoisted_6$p, [
|
|
3514
3515
|
createVNode(unref(ChevronDown))
|
|
3515
3516
|
]))
|
|
3516
3517
|
], 2),
|
|
@@ -24845,8 +24846,8 @@ const _hoisted_1$G = { class: "input-richtext-toolbar" };
|
|
|
24845
24846
|
const _hoisted_2$B = { class: "input-richtext-group" };
|
|
24846
24847
|
const _hoisted_3$y = { class: "input-richtext-group" };
|
|
24847
24848
|
const _hoisted_4$x = { class: "input-richtext-group" };
|
|
24848
|
-
const _hoisted_5$
|
|
24849
|
-
const _hoisted_6$
|
|
24849
|
+
const _hoisted_5$s = { class: "input-richtext-group" };
|
|
24850
|
+
const _hoisted_6$o = { class: "input-richtext-group" };
|
|
24850
24851
|
const _hoisted_7$n = { class: "input-richtext-editor-wrapper" };
|
|
24851
24852
|
const _sfc_main$J = /* @__PURE__ */ defineComponent({
|
|
24852
24853
|
__name: "UiInput.RichText",
|
|
@@ -25096,7 +25097,7 @@ const _sfc_main$J = /* @__PURE__ */ defineComponent({
|
|
|
25096
25097
|
spacing: "28px",
|
|
25097
25098
|
margin: "4px"
|
|
25098
25099
|
}),
|
|
25099
|
-
createElementVNode("div", _hoisted_5$
|
|
25100
|
+
createElementVNode("div", _hoisted_5$s, [
|
|
25100
25101
|
createVNode(StrandsUiButton, {
|
|
25101
25102
|
color: unref(editor)?.isActive("bulletList") ? "primary" : "secondary",
|
|
25102
25103
|
size: "sm",
|
|
@@ -25159,7 +25160,7 @@ const _sfc_main$J = /* @__PURE__ */ defineComponent({
|
|
|
25159
25160
|
spacing: "28px",
|
|
25160
25161
|
margin: "4px"
|
|
25161
25162
|
}),
|
|
25162
|
-
createElementVNode("div", _hoisted_6$
|
|
25163
|
+
createElementVNode("div", _hoisted_6$o, [
|
|
25163
25164
|
createVNode(StrandsUiButton, {
|
|
25164
25165
|
color: "secondary",
|
|
25165
25166
|
size: "sm",
|
|
@@ -25226,7 +25227,7 @@ const _hoisted_4$w = {
|
|
|
25226
25227
|
key: 1,
|
|
25227
25228
|
class: "pincode-divider"
|
|
25228
25229
|
};
|
|
25229
|
-
const _hoisted_5$
|
|
25230
|
+
const _hoisted_5$r = {
|
|
25230
25231
|
key: 1,
|
|
25231
25232
|
class: "pincode-icon pincode-icon-trailing"
|
|
25232
25233
|
};
|
|
@@ -25447,7 +25448,7 @@ const _sfc_main$I = /* @__PURE__ */ defineComponent({
|
|
|
25447
25448
|
}, dividerProps.value, { class: "pincode-custom-divider" }), null, 16)) : shouldShowDivider(index) ? (openBlock(), createElementBlock("span", _hoisted_4$w, toDisplayString(dividerCharacter.value), 1)) : createCommentVNode("", true)
|
|
25448
25449
|
], 64);
|
|
25449
25450
|
}), 128)),
|
|
25450
|
-
_ctx.$slots["trailing-icon"] ? (openBlock(), createElementBlock("div", _hoisted_5$
|
|
25451
|
+
_ctx.$slots["trailing-icon"] ? (openBlock(), createElementBlock("div", _hoisted_5$r, [
|
|
25451
25452
|
renderSlot(_ctx.$slots, "trailing-icon", {}, void 0, true)
|
|
25452
25453
|
])) : createCommentVNode("", true)
|
|
25453
25454
|
])
|
|
@@ -25469,7 +25470,7 @@ const _hoisted_4$v = {
|
|
|
25469
25470
|
key: 2,
|
|
25470
25471
|
class: "input-error-text"
|
|
25471
25472
|
};
|
|
25472
|
-
const _hoisted_5$
|
|
25473
|
+
const _hoisted_5$q = {
|
|
25473
25474
|
key: 3,
|
|
25474
25475
|
class: "input-help-text"
|
|
25475
25476
|
};
|
|
@@ -25798,7 +25799,7 @@ const _sfc_main$H = /* @__PURE__ */ defineComponent({
|
|
|
25798
25799
|
_ctx.$slots["hint"] ? (openBlock(), createElementBlock("div", _hoisted_3$w, [
|
|
25799
25800
|
renderSlot(_ctx.$slots, "hint", {}, void 0, true)
|
|
25800
25801
|
])) : createCommentVNode("", true),
|
|
25801
|
-
props.error && props.error !== true ? (openBlock(), createElementBlock("p", _hoisted_4$v, toDisplayString(typeof props.error === "string" ? props.error : props.error?.message || String(props.error)), 1)) : props.helpText ? (openBlock(), createElementBlock("p", _hoisted_5$
|
|
25802
|
+
props.error && props.error !== true ? (openBlock(), createElementBlock("p", _hoisted_4$v, 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)
|
|
25802
25803
|
], 2);
|
|
25803
25804
|
};
|
|
25804
25805
|
}
|
|
@@ -25990,8 +25991,8 @@ const _hoisted_3$u = {
|
|
|
25990
25991
|
class: "editor-container"
|
|
25991
25992
|
};
|
|
25992
25993
|
const _hoisted_4$t = { class: "editor-main" };
|
|
25993
|
-
const _hoisted_5$
|
|
25994
|
-
const _hoisted_6$
|
|
25994
|
+
const _hoisted_5$p = { class: "canvas-container" };
|
|
25995
|
+
const _hoisted_6$n = ["width", "height"];
|
|
25995
25996
|
const _hoisted_7$m = { class: "crop-overlay" };
|
|
25996
25997
|
const _hoisted_8$l = { class: "crop-backdrop" };
|
|
25997
25998
|
const _hoisted_9$k = { class: "crop-svg" };
|
|
@@ -26322,7 +26323,7 @@ const _sfc_main$E = /* @__PURE__ */ defineComponent({
|
|
|
26322
26323
|
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)
|
|
26323
26324
|
])], 32)) : (openBlock(), createElementBlock("div", _hoisted_3$u, [
|
|
26324
26325
|
createElementVNode("div", _hoisted_4$t, [
|
|
26325
|
-
createElementVNode("div", _hoisted_5$
|
|
26326
|
+
createElementVNode("div", _hoisted_5$p, [
|
|
26326
26327
|
createElementVNode("canvas", {
|
|
26327
26328
|
ref_key: "canvas",
|
|
26328
26329
|
ref: canvas,
|
|
@@ -26331,7 +26332,7 @@ const _sfc_main$E = /* @__PURE__ */ defineComponent({
|
|
|
26331
26332
|
class: "canvas",
|
|
26332
26333
|
onMousedown: startDrag,
|
|
26333
26334
|
onWheel: handleWheel
|
|
26334
|
-
}, null, 40, _hoisted_6$
|
|
26335
|
+
}, null, 40, _hoisted_6$n),
|
|
26335
26336
|
createElementVNode("div", _hoisted_7$m, [
|
|
26336
26337
|
createElementVNode("div", _hoisted_8$l, [
|
|
26337
26338
|
(openBlock(), createElementBlock("svg", _hoisted_9$k, [
|
|
@@ -26791,8 +26792,8 @@ const _hoisted_1$A = { class: "level-progress-container" };
|
|
|
26791
26792
|
const _hoisted_2$v = ["width", "height", "viewBox"];
|
|
26792
26793
|
const _hoisted_3$t = { key: 0 };
|
|
26793
26794
|
const _hoisted_4$s = ["r"];
|
|
26794
|
-
const _hoisted_5$
|
|
26795
|
-
const _hoisted_6$
|
|
26795
|
+
const _hoisted_5$o = ["y"];
|
|
26796
|
+
const _hoisted_6$m = ["d", "stroke-width"];
|
|
26796
26797
|
const _hoisted_7$l = ["d", "stroke", "stroke-width"];
|
|
26797
26798
|
const _hoisted_8$k = ["d"];
|
|
26798
26799
|
const _hoisted_9$j = ["d", "stroke", "stroke-width"];
|
|
@@ -26995,7 +26996,7 @@ const _sfc_main$D = /* @__PURE__ */ defineComponent({
|
|
|
26995
26996
|
"font-weight": "bold",
|
|
26996
26997
|
fill: "#fff",
|
|
26997
26998
|
style: { "font-family": "'Montserrat', sans-serif" }
|
|
26998
|
-
}, "Level Up", 8, _hoisted_5$
|
|
26999
|
+
}, "Level Up", 8, _hoisted_5$o)
|
|
26999
27000
|
])) : createCommentVNode("", true),
|
|
27000
27001
|
animatedValue.value >= 0 && animatedValue.value < props.max ? (openBlock(), createElementBlock("path", {
|
|
27001
27002
|
key: 1,
|
|
@@ -27004,7 +27005,7 @@ const _sfc_main$D = /* @__PURE__ */ defineComponent({
|
|
|
27004
27005
|
"stroke-width": thickness.value,
|
|
27005
27006
|
fill: "none",
|
|
27006
27007
|
"stroke-linecap": "round"
|
|
27007
|
-
}, null, 8, _hoisted_6$
|
|
27008
|
+
}, null, 8, _hoisted_6$m)) : createCommentVNode("", true),
|
|
27008
27009
|
createElementVNode("path", {
|
|
27009
27010
|
d: staticArcPath.value,
|
|
27010
27011
|
stroke: staticArcGradient.value,
|
|
@@ -27282,11 +27283,11 @@ const _hoisted_1$z = {
|
|
|
27282
27283
|
const _hoisted_2$u = { class: "ui-modal-header-content" };
|
|
27283
27284
|
const _hoisted_3$s = { class: "ui-modal-title" };
|
|
27284
27285
|
const _hoisted_4$r = { key: 0 };
|
|
27285
|
-
const _hoisted_5$
|
|
27286
|
+
const _hoisted_5$n = {
|
|
27286
27287
|
key: 1,
|
|
27287
27288
|
class: "ui-modal-subtitle"
|
|
27288
27289
|
};
|
|
27289
|
-
const _hoisted_6$
|
|
27290
|
+
const _hoisted_6$l = { class: "ui-modal-body-content" };
|
|
27290
27291
|
const _sfc_main$C = /* @__PURE__ */ defineComponent({
|
|
27291
27292
|
__name: "UiModal",
|
|
27292
27293
|
props: {
|
|
@@ -27387,10 +27388,12 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
|
|
|
27387
27388
|
if (modal.isOpen.value) {
|
|
27388
27389
|
modal.closeModal();
|
|
27389
27390
|
}
|
|
27390
|
-
|
|
27391
|
-
|
|
27392
|
-
|
|
27393
|
-
|
|
27391
|
+
nextTick(() => {
|
|
27392
|
+
const openModals = document.querySelectorAll('[role="dialog"][aria-modal="true"]');
|
|
27393
|
+
if (openModals.length === 0) {
|
|
27394
|
+
document.body.style.overflow = "";
|
|
27395
|
+
}
|
|
27396
|
+
});
|
|
27394
27397
|
}
|
|
27395
27398
|
});
|
|
27396
27399
|
const handleTabKey = (e) => {
|
|
@@ -27463,7 +27466,7 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
|
|
|
27463
27466
|
openModal
|
|
27464
27467
|
}, () => [
|
|
27465
27468
|
_ctx.$props.title ? (openBlock(), createElementBlock("h2", _hoisted_4$r, toDisplayString(_ctx.$props.title), 1)) : createCommentVNode("", true),
|
|
27466
|
-
_ctx.$props.subtitle ? (openBlock(), createElementBlock("p", _hoisted_5$
|
|
27469
|
+
_ctx.$props.subtitle ? (openBlock(), createElementBlock("p", _hoisted_5$n, toDisplayString(_ctx.$props.subtitle), 1)) : createCommentVNode("", true)
|
|
27467
27470
|
], true)
|
|
27468
27471
|
]),
|
|
27469
27472
|
_ctx.showCloseButton ? (openBlock(), createElementBlock("button", {
|
|
@@ -27487,7 +27490,7 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
|
|
|
27487
27490
|
])
|
|
27488
27491
|
]),
|
|
27489
27492
|
default: withCtx(() => [
|
|
27490
|
-
createElementVNode("div", _hoisted_6$
|
|
27493
|
+
createElementVNode("div", _hoisted_6$l, [
|
|
27491
27494
|
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
27492
27495
|
])
|
|
27493
27496
|
]),
|
|
@@ -27515,7 +27518,7 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
|
|
|
27515
27518
|
};
|
|
27516
27519
|
}
|
|
27517
27520
|
});
|
|
27518
|
-
const UiModal = /* @__PURE__ */ _export_sfc(_sfc_main$C, [["__scopeId", "data-v-
|
|
27521
|
+
const UiModal = /* @__PURE__ */ _export_sfc(_sfc_main$C, [["__scopeId", "data-v-ecf47be6"]]);
|
|
27519
27522
|
const tailwindColors = {
|
|
27520
27523
|
"#000000": {
|
|
27521
27524
|
label: "Black"
|
|
@@ -28122,8 +28125,8 @@ const _hoisted_1$y = { class: "ui-color-picker" };
|
|
|
28122
28125
|
const _hoisted_2$t = { class: "ui-color-picker-main" };
|
|
28123
28126
|
const _hoisted_3$r = ["viewBox"];
|
|
28124
28127
|
const _hoisted_4$q = ["d"];
|
|
28125
|
-
const _hoisted_5$
|
|
28126
|
-
const _hoisted_6$
|
|
28128
|
+
const _hoisted_5$m = ["d"];
|
|
28129
|
+
const _hoisted_6$k = ["d"];
|
|
28127
28130
|
const _hoisted_7$k = ["d"];
|
|
28128
28131
|
const _hoisted_8$j = ["d"];
|
|
28129
28132
|
const _hoisted_9$i = ["d"];
|
|
@@ -29822,7 +29825,7 @@ const _sfc_main$B = /* @__PURE__ */ defineComponent({
|
|
|
29822
29825
|
fill: "url(#redDotsPattern)",
|
|
29823
29826
|
"clip-path": "url(#canvasClip)",
|
|
29824
29827
|
opacity: "0.4"
|
|
29825
|
-
}, null, 8, _hoisted_5$
|
|
29828
|
+
}, null, 8, _hoisted_5$m)) : createCommentVNode("", true),
|
|
29826
29829
|
contrastBoundaryTopCurve.value ? (openBlock(), createElementBlock("path", {
|
|
29827
29830
|
key: 2,
|
|
29828
29831
|
d: contrastBoundaryTopCurve.value,
|
|
@@ -29834,7 +29837,7 @@ const _sfc_main$B = /* @__PURE__ */ defineComponent({
|
|
|
29834
29837
|
"stroke-dasharray": "6 8",
|
|
29835
29838
|
"stroke-opacity": "0.5",
|
|
29836
29839
|
"clip-path": "url(#canvasClip)"
|
|
29837
|
-
}, null, 8, _hoisted_6$
|
|
29840
|
+
}, null, 8, _hoisted_6$k)) : createCommentVNode("", true),
|
|
29838
29841
|
contrastBoundaryBottomCurve.value ? (openBlock(), createElementBlock("path", {
|
|
29839
29842
|
key: 3,
|
|
29840
29843
|
d: contrastBoundaryBottomCurve.value,
|
|
@@ -30720,8 +30723,8 @@ const _hoisted_2$r = {
|
|
|
30720
30723
|
};
|
|
30721
30724
|
const _hoisted_3$q = ["onDragenter", "onDrop"];
|
|
30722
30725
|
const _hoisted_4$p = { class: "ui-table-header-content" };
|
|
30723
|
-
const _hoisted_5$
|
|
30724
|
-
const _hoisted_6$
|
|
30726
|
+
const _hoisted_5$l = ["onClick"];
|
|
30727
|
+
const _hoisted_6$j = ["onDragstart"];
|
|
30725
30728
|
const _hoisted_7$j = {
|
|
30726
30729
|
key: 1,
|
|
30727
30730
|
class: "ui-table-sort-icon"
|
|
@@ -31124,7 +31127,7 @@ const _sfc_main$x = /* @__PURE__ */ defineComponent({
|
|
|
31124
31127
|
onDragend: handleDragEnd
|
|
31125
31128
|
}, [
|
|
31126
31129
|
createVNode(unref(GripVertical), { size: 14 })
|
|
31127
|
-
], 40, _hoisted_6$
|
|
31130
|
+
], 40, _hoisted_6$j)) : createCommentVNode("", true),
|
|
31128
31131
|
createElementVNode("span", null, toDisplayString(column.label), 1),
|
|
31129
31132
|
column.sortable ? (openBlock(), createElementBlock("span", _hoisted_7$j, [
|
|
31130
31133
|
sortKey.value === column.key && sortOrder.value === "asc" ? (openBlock(), createBlock(unref(ChevronUp), {
|
|
@@ -31138,7 +31141,7 @@ const _sfc_main$x = /* @__PURE__ */ defineComponent({
|
|
|
31138
31141
|
size: 16
|
|
31139
31142
|
}))
|
|
31140
31143
|
])) : createCommentVNode("", true)
|
|
31141
|
-
], 8, _hoisted_5$
|
|
31144
|
+
], 8, _hoisted_5$l),
|
|
31142
31145
|
createElementVNode("div", _hoisted_8$i, [
|
|
31143
31146
|
_ctx.filterable || column.filterable ? (openBlock(), createElementBlock("button", {
|
|
31144
31147
|
key: 0,
|
|
@@ -31338,11 +31341,11 @@ const _hoisted_4$o = {
|
|
|
31338
31341
|
key: 1,
|
|
31339
31342
|
class: "ui-hero-description"
|
|
31340
31343
|
};
|
|
31341
|
-
const _hoisted_5$
|
|
31344
|
+
const _hoisted_5$k = {
|
|
31342
31345
|
key: 1,
|
|
31343
31346
|
class: "ui-hero-navigation"
|
|
31344
31347
|
};
|
|
31345
|
-
const _hoisted_6$
|
|
31348
|
+
const _hoisted_6$i = {
|
|
31346
31349
|
key: 2,
|
|
31347
31350
|
class: "ui-hero-body"
|
|
31348
31351
|
};
|
|
@@ -31436,10 +31439,10 @@ const _sfc_main$w = /* @__PURE__ */ defineComponent({
|
|
|
31436
31439
|
_ctx.description ? (openBlock(), createElementBlock("p", _hoisted_4$o, toDisplayString(_ctx.description), 1)) : createCommentVNode("", true)
|
|
31437
31440
|
], true)
|
|
31438
31441
|
])) : createCommentVNode("", true),
|
|
31439
|
-
hasNavigationSlot.value ? (openBlock(), createElementBlock("div", _hoisted_5$
|
|
31442
|
+
hasNavigationSlot.value ? (openBlock(), createElementBlock("div", _hoisted_5$k, [
|
|
31440
31443
|
renderSlot(_ctx.$slots, "navigation", {}, void 0, true)
|
|
31441
31444
|
])) : createCommentVNode("", true),
|
|
31442
|
-
hasDefaultSlot.value ? (openBlock(), createElementBlock("div", _hoisted_6$
|
|
31445
|
+
hasDefaultSlot.value ? (openBlock(), createElementBlock("div", _hoisted_6$i, [
|
|
31443
31446
|
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
31444
31447
|
])) : createCommentVNode("", true)
|
|
31445
31448
|
]),
|
|
@@ -31639,18 +31642,16 @@ function useTheme(fallbackTheme = "auto") {
|
|
|
31639
31642
|
themeClass
|
|
31640
31643
|
};
|
|
31641
31644
|
}
|
|
31642
|
-
const _hoisted_1$t = {
|
|
31643
|
-
const _hoisted_2$p = { class: "ui-theme-toggle" };
|
|
31644
|
-
const _hoisted_3$o = {
|
|
31645
|
+
const _hoisted_1$t = {
|
|
31645
31646
|
key: 1,
|
|
31646
31647
|
class: "ui-theme-toggle-dropdown"
|
|
31647
31648
|
};
|
|
31648
|
-
const
|
|
31649
|
-
const
|
|
31649
|
+
const _hoisted_2$p = ["disabled", "onClick"];
|
|
31650
|
+
const _hoisted_3$o = {
|
|
31650
31651
|
key: 0,
|
|
31651
31652
|
class: "ui-theme-toggle-option-indicator"
|
|
31652
31653
|
};
|
|
31653
|
-
const
|
|
31654
|
+
const _hoisted_4$n = {
|
|
31654
31655
|
key: 2,
|
|
31655
31656
|
class: "ui-theme-toggle-segmented",
|
|
31656
31657
|
role: "group",
|
|
@@ -31660,7 +31661,9 @@ const _sfc_main$v = /* @__PURE__ */ defineComponent({
|
|
|
31660
31661
|
__name: "UiThemeToggle",
|
|
31661
31662
|
props: {
|
|
31662
31663
|
variant: { default: "button" },
|
|
31663
|
-
size: { default: "md" }
|
|
31664
|
+
size: { default: "md" },
|
|
31665
|
+
fullWidth: { type: Boolean, default: false },
|
|
31666
|
+
includeLabel: { type: Boolean, default: false }
|
|
31664
31667
|
},
|
|
31665
31668
|
setup(__props) {
|
|
31666
31669
|
const props = __props;
|
|
@@ -31706,98 +31709,131 @@ const _sfc_main$v = /* @__PURE__ */ defineComponent({
|
|
|
31706
31709
|
document.removeEventListener("click", handleClickOutside);
|
|
31707
31710
|
});
|
|
31708
31711
|
return (_ctx, _cache) => {
|
|
31709
|
-
return openBlock(), createElementBlock("div",
|
|
31710
|
-
|
|
31711
|
-
|
|
31712
|
-
|
|
31713
|
-
|
|
31712
|
+
return openBlock(), createElementBlock("div", {
|
|
31713
|
+
class: normalizeClass(["ui-theme-toggle", { "ui-theme-toggle--full-width": _ctx.fullWidth }])
|
|
31714
|
+
}, [
|
|
31715
|
+
_ctx.variant === "button" ? (openBlock(), createBlock(StrandsUiButton, {
|
|
31716
|
+
key: 0,
|
|
31717
|
+
icon: !_ctx.includeLabel,
|
|
31718
|
+
squircle: true,
|
|
31719
|
+
variant: "ghost",
|
|
31720
|
+
size: _ctx.size,
|
|
31721
|
+
disabled: isDisabled.value,
|
|
31722
|
+
onClick: _cache[0] || (_cache[0] = ($event) => isDisabled.value ? null : toggleTheme),
|
|
31723
|
+
title: isDisabled.value ? "Theme is locked by app settings" : `Switch to ${nextThemeLabel.value.toLowerCase()} theme`,
|
|
31724
|
+
class: normalizeClass(["ui-theme-toggle-button", { "ui-theme-toggle--disabled": isDisabled.value }])
|
|
31725
|
+
}, createSlots({
|
|
31726
|
+
default: withCtx(() => [
|
|
31727
|
+
_ctx.includeLabel ? (openBlock(), createElementBlock(Fragment$1, { key: 0 }, [
|
|
31728
|
+
createTextVNode(toDisplayString(unref(themeLabel)) + toDisplayString(isDisabled.value ? " (Locked)" : ""), 1)
|
|
31729
|
+
], 64)) : createCommentVNode("", true)
|
|
31730
|
+
]),
|
|
31731
|
+
_: 2
|
|
31732
|
+
}, [
|
|
31733
|
+
_ctx.includeLabel ? {
|
|
31734
|
+
name: "leading-icon",
|
|
31735
|
+
fn: withCtx(() => [
|
|
31736
|
+
(openBlock(), createBlock(resolveDynamicComponent(getIconComponent(currentIcon.value))))
|
|
31737
|
+
]),
|
|
31738
|
+
key: "0"
|
|
31739
|
+
} : {
|
|
31740
|
+
name: "icon",
|
|
31741
|
+
fn: withCtx(() => [
|
|
31742
|
+
(openBlock(), createBlock(resolveDynamicComponent(getIconComponent(currentIcon.value))))
|
|
31743
|
+
]),
|
|
31744
|
+
key: "1"
|
|
31745
|
+
}
|
|
31746
|
+
]), 1032, ["icon", "size", "disabled", "title", "class"])) : _ctx.variant === "dropdown" ? (openBlock(), createElementBlock("div", _hoisted_1$t, [
|
|
31747
|
+
createVNode(StrandsUiButton, {
|
|
31714
31748
|
squircle: true,
|
|
31715
31749
|
variant: "ghost",
|
|
31716
31750
|
size: _ctx.size,
|
|
31717
31751
|
disabled: isDisabled.value,
|
|
31718
|
-
onClick: _cache[
|
|
31719
|
-
|
|
31720
|
-
|
|
31752
|
+
onClick: _cache[1] || (_cache[1] = ($event) => isDisabled.value ? null : showDropdown.value = !showDropdown.value),
|
|
31753
|
+
class: normalizeClass(["ui-theme-toggle-trigger", { "ui-theme-toggle--disabled": isDisabled.value }]),
|
|
31754
|
+
title: isDisabled.value ? "Theme is locked by app settings" : void 0
|
|
31721
31755
|
}, {
|
|
31722
|
-
icon: withCtx(() => [
|
|
31756
|
+
"leading-icon": withCtx(() => [
|
|
31723
31757
|
(openBlock(), createBlock(resolveDynamicComponent(getIconComponent(currentIcon.value))))
|
|
31724
31758
|
]),
|
|
31759
|
+
"trailing-icon": withCtx(() => [
|
|
31760
|
+
(openBlock(), createBlock(resolveDynamicComponent(getIconComponent(showDropdown.value ? "chevron-up" : "chevron-down"))))
|
|
31761
|
+
]),
|
|
31762
|
+
default: withCtx(() => [
|
|
31763
|
+
createTextVNode(" " + toDisplayString(unref(themeLabel)) + toDisplayString(isDisabled.value ? " (Locked)" : "") + " ", 1)
|
|
31764
|
+
]),
|
|
31725
31765
|
_: 1
|
|
31726
|
-
}, 8, ["size", "disabled", "
|
|
31727
|
-
|
|
31728
|
-
|
|
31729
|
-
|
|
31766
|
+
}, 8, ["size", "disabled", "class", "title"]),
|
|
31767
|
+
showDropdown.value ? (openBlock(), createElementBlock("div", {
|
|
31768
|
+
key: 0,
|
|
31769
|
+
class: "ui-theme-toggle-menu",
|
|
31770
|
+
onClick: _cache[2] || (_cache[2] = ($event) => showDropdown.value = false)
|
|
31771
|
+
}, [
|
|
31772
|
+
(openBlock(true), createElementBlock(Fragment$1, null, renderList(unref(themeOptions), (option) => {
|
|
31773
|
+
return openBlock(), createElementBlock("button", {
|
|
31774
|
+
key: option.value,
|
|
31775
|
+
class: normalizeClass([
|
|
31776
|
+
"ui-theme-toggle-option",
|
|
31777
|
+
{
|
|
31778
|
+
"ui-theme-toggle-option--active": unref(currentTheme2) === option.value,
|
|
31779
|
+
"ui-theme-toggle-option--disabled": isDisabled.value
|
|
31780
|
+
}
|
|
31781
|
+
]),
|
|
31782
|
+
disabled: isDisabled.value,
|
|
31783
|
+
onClick: ($event) => isDisabled.value ? null : unref(setTheme)(option.value)
|
|
31784
|
+
}, [
|
|
31785
|
+
(openBlock(), createBlock(resolveDynamicComponent(getIconComponent(option.icon)), { class: "ui-theme-toggle-option-icon" })),
|
|
31786
|
+
createElementVNode("span", null, toDisplayString(option.label), 1),
|
|
31787
|
+
unref(currentTheme2) === option.value ? (openBlock(), createElementBlock("div", _hoisted_3$o)) : createCommentVNode("", true)
|
|
31788
|
+
], 10, _hoisted_2$p);
|
|
31789
|
+
}), 128))
|
|
31790
|
+
])) : createCommentVNode("", true)
|
|
31791
|
+
])) : _ctx.variant === "segmented" ? (openBlock(), createElementBlock("div", _hoisted_4$n, [
|
|
31792
|
+
(openBlock(true), createElementBlock(Fragment$1, null, renderList(unref(themeOptions), (option) => {
|
|
31793
|
+
return openBlock(), createBlock(StrandsUiButton, {
|
|
31794
|
+
key: option.value,
|
|
31795
|
+
variant: unref(currentTheme2) === option.value ? "primary" : "ghost",
|
|
31730
31796
|
size: _ctx.size,
|
|
31731
|
-
|
|
31732
|
-
|
|
31733
|
-
|
|
31734
|
-
|
|
31735
|
-
|
|
31736
|
-
|
|
31737
|
-
(openBlock(), createBlock(resolveDynamicComponent(getIconComponent(currentIcon.value))))
|
|
31738
|
-
]),
|
|
31739
|
-
"trailing-icon": withCtx(() => [
|
|
31740
|
-
(openBlock(), createBlock(resolveDynamicComponent(getIconComponent(showDropdown.value ? "chevron-up" : "chevron-down"))))
|
|
31797
|
+
squircle: "",
|
|
31798
|
+
icon: !_ctx.includeLabel,
|
|
31799
|
+
"full-width": "",
|
|
31800
|
+
class: normalizeClass([
|
|
31801
|
+
"ui-theme-toggle-segment",
|
|
31802
|
+
{ "ui-theme-toggle-segment--active": unref(currentTheme2) === option.value }
|
|
31741
31803
|
]),
|
|
31804
|
+
"aria-pressed": unref(currentTheme2) === option.value,
|
|
31805
|
+
"aria-label": `${option.label} theme`,
|
|
31806
|
+
onClick: ($event) => unref(setTheme)(option.value),
|
|
31807
|
+
title: `Switch to ${option.label.toLowerCase()} theme`
|
|
31808
|
+
}, createSlots({
|
|
31742
31809
|
default: withCtx(() => [
|
|
31743
|
-
|
|
31810
|
+
_ctx.includeLabel ? (openBlock(), createElementBlock(Fragment$1, { key: 0 }, [
|
|
31811
|
+
createTextVNode(toDisplayString(option.label), 1)
|
|
31812
|
+
], 64)) : createCommentVNode("", true)
|
|
31744
31813
|
]),
|
|
31745
|
-
_:
|
|
31746
|
-
}, 8, ["size", "disabled", "class", "title"]),
|
|
31747
|
-
showDropdown.value ? (openBlock(), createElementBlock("div", {
|
|
31748
|
-
key: 0,
|
|
31749
|
-
class: "ui-theme-toggle-menu",
|
|
31750
|
-
onClick: _cache[2] || (_cache[2] = ($event) => showDropdown.value = false)
|
|
31814
|
+
_: 2
|
|
31751
31815
|
}, [
|
|
31752
|
-
|
|
31753
|
-
|
|
31754
|
-
|
|
31755
|
-
|
|
31756
|
-
"ui-theme-toggle-option",
|
|
31757
|
-
{
|
|
31758
|
-
"ui-theme-toggle-option--active": unref(currentTheme2) === option.value,
|
|
31759
|
-
"ui-theme-toggle-option--disabled": isDisabled.value
|
|
31760
|
-
}
|
|
31761
|
-
]),
|
|
31762
|
-
disabled: isDisabled.value,
|
|
31763
|
-
onClick: ($event) => isDisabled.value ? null : unref(setTheme)(option.value)
|
|
31764
|
-
}, [
|
|
31765
|
-
(openBlock(), createBlock(resolveDynamicComponent(getIconComponent(option.icon)), { class: "ui-theme-toggle-option-icon" })),
|
|
31766
|
-
createElementVNode("span", null, toDisplayString(option.label), 1),
|
|
31767
|
-
unref(currentTheme2) === option.value ? (openBlock(), createElementBlock("div", _hoisted_5$k)) : createCommentVNode("", true)
|
|
31768
|
-
], 10, _hoisted_4$n);
|
|
31769
|
-
}), 128))
|
|
31770
|
-
])) : createCommentVNode("", true)
|
|
31771
|
-
])) : _ctx.variant === "segmented" ? (openBlock(), createElementBlock("div", _hoisted_6$i, [
|
|
31772
|
-
(openBlock(true), createElementBlock(Fragment$1, null, renderList(unref(themeOptions), (option) => {
|
|
31773
|
-
return openBlock(), createBlock(StrandsUiButton, {
|
|
31774
|
-
key: option.value,
|
|
31775
|
-
variant: unref(currentTheme2) === option.value ? "primary" : "ghost",
|
|
31776
|
-
icon: true,
|
|
31777
|
-
squircle: true,
|
|
31778
|
-
size: _ctx.size,
|
|
31779
|
-
class: normalizeClass([
|
|
31780
|
-
"ui-theme-toggle-segment",
|
|
31781
|
-
{ "ui-theme-toggle-segment--active": unref(currentTheme2) === option.value }
|
|
31816
|
+
_ctx.includeLabel ? {
|
|
31817
|
+
name: "leading-icon",
|
|
31818
|
+
fn: withCtx(() => [
|
|
31819
|
+
(openBlock(), createBlock(resolveDynamicComponent(getIconComponent(option.icon))))
|
|
31782
31820
|
]),
|
|
31783
|
-
"
|
|
31784
|
-
|
|
31785
|
-
|
|
31786
|
-
|
|
31787
|
-
}, {
|
|
31788
|
-
icon: withCtx(() => [
|
|
31821
|
+
key: "0"
|
|
31822
|
+
} : {
|
|
31823
|
+
name: "icon",
|
|
31824
|
+
fn: withCtx(() => [
|
|
31789
31825
|
(openBlock(), createBlock(resolveDynamicComponent(getIconComponent(option.icon))))
|
|
31790
31826
|
]),
|
|
31791
|
-
|
|
31792
|
-
}
|
|
31793
|
-
|
|
31794
|
-
|
|
31795
|
-
])
|
|
31796
|
-
]);
|
|
31827
|
+
key: "1"
|
|
31828
|
+
}
|
|
31829
|
+
]), 1032, ["variant", "size", "icon", "class", "aria-pressed", "aria-label", "onClick", "title"]);
|
|
31830
|
+
}), 128))
|
|
31831
|
+
])) : createCommentVNode("", true)
|
|
31832
|
+
], 2);
|
|
31797
31833
|
};
|
|
31798
31834
|
}
|
|
31799
31835
|
});
|
|
31800
|
-
const UiThemeToggle = /* @__PURE__ */ _export_sfc(_sfc_main$v, [["__scopeId", "data-v-
|
|
31836
|
+
const UiThemeToggle = /* @__PURE__ */ _export_sfc(_sfc_main$v, [["__scopeId", "data-v-9feda151"]]);
|
|
31801
31837
|
const _hoisted_1$s = {
|
|
31802
31838
|
key: 0,
|
|
31803
31839
|
class: "slider-header"
|
|
@@ -32161,7 +32197,7 @@ const _sfc_main$t = /* @__PURE__ */ defineComponent({
|
|
|
32161
32197
|
};
|
|
32162
32198
|
}
|
|
32163
32199
|
});
|
|
32164
|
-
const UiRadioGroup = /* @__PURE__ */ _export_sfc(_sfc_main$t, [["__scopeId", "data-v-
|
|
32200
|
+
const UiRadioGroup = /* @__PURE__ */ _export_sfc(_sfc_main$t, [["__scopeId", "data-v-c78c278d"]]);
|
|
32165
32201
|
const _hoisted_1$q = {
|
|
32166
32202
|
key: 0,
|
|
32167
32203
|
class: "checkbox-group-label"
|
|
@@ -32430,7 +32466,7 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent({
|
|
|
32430
32466
|
};
|
|
32431
32467
|
}
|
|
32432
32468
|
});
|
|
32433
|
-
const UiCheckboxGroup = /* @__PURE__ */ _export_sfc(_sfc_main$s, [["__scopeId", "data-v-
|
|
32469
|
+
const UiCheckboxGroup = /* @__PURE__ */ _export_sfc(_sfc_main$s, [["__scopeId", "data-v-f0f89e6a"]]);
|
|
32434
32470
|
const _hoisted_1$p = { class: "accui-component-scope" };
|
|
32435
32471
|
const _hoisted_2$l = {
|
|
32436
32472
|
key: 0,
|