@strands.gg/accui 2.11.3 → 2.11.5
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 +493 -439
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -92,7 +92,7 @@ const _hoisted_4$G = {
|
|
|
92
92
|
viewBox: "0 0 20 20",
|
|
93
93
|
"aria-hidden": "true"
|
|
94
94
|
};
|
|
95
|
-
const _hoisted_5$
|
|
95
|
+
const _hoisted_5$B = ["d"];
|
|
96
96
|
const _hoisted_6$v = { class: "alert-text-container" };
|
|
97
97
|
const _hoisted_7$s = {
|
|
98
98
|
key: 0,
|
|
@@ -146,7 +146,7 @@ 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$B)
|
|
150
150
|
]))
|
|
151
151
|
]),
|
|
152
152
|
createElementVNode("div", _hoisted_6$v, [
|
|
@@ -197,7 +197,7 @@ 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$
|
|
200
|
+
const _hoisted_5$A = ["stroke-width"];
|
|
201
201
|
const _hoisted_6$u = ["width", "height"];
|
|
202
202
|
const _hoisted_7$r = {
|
|
203
203
|
key: 3,
|
|
@@ -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$A)
|
|
270
270
|
], 8, _hoisted_2$K))
|
|
271
271
|
])) : _ctx.variant === "circle" ? (openBlock(), createElementBlock("div", {
|
|
272
272
|
key: 1,
|
|
@@ -388,7 +388,7 @@ const _sfc_main$Z = /* @__PURE__ */ defineComponent({
|
|
|
388
388
|
};
|
|
389
389
|
}
|
|
390
390
|
});
|
|
391
|
-
const UiButtonContent = /* @__PURE__ */ _export_sfc(_sfc_main$Z, [["__scopeId", "data-v-
|
|
391
|
+
const UiButtonContent = /* @__PURE__ */ _export_sfc(_sfc_main$Z, [["__scopeId", "data-v-97962cf6"]]);
|
|
392
392
|
const _hoisted_1$Q = ["href", "target", "rel"];
|
|
393
393
|
const _sfc_main$Y = /* @__PURE__ */ defineComponent({
|
|
394
394
|
__name: "UiButton.Anchor",
|
|
@@ -582,7 +582,7 @@ const _sfc_main$W = /* @__PURE__ */ defineComponent({
|
|
|
582
582
|
};
|
|
583
583
|
}
|
|
584
584
|
});
|
|
585
|
-
const _hoisted_1$P = ["type", "disabled"];
|
|
585
|
+
const _hoisted_1$P = ["type", "disabled", "tabindex"];
|
|
586
586
|
const _sfc_main$V = /* @__PURE__ */ defineComponent({
|
|
587
587
|
__name: "UiButton",
|
|
588
588
|
props: {
|
|
@@ -599,7 +599,8 @@ const _sfc_main$V = /* @__PURE__ */ defineComponent({
|
|
|
599
599
|
squircle: { type: Boolean, default: false },
|
|
600
600
|
to: {},
|
|
601
601
|
href: {},
|
|
602
|
-
external: { type: Boolean, default: false }
|
|
602
|
+
external: { type: Boolean, default: false },
|
|
603
|
+
tabindex: {}
|
|
603
604
|
},
|
|
604
605
|
emits: ["click"],
|
|
605
606
|
setup(__props, { emit: __emit }) {
|
|
@@ -642,6 +643,12 @@ const _sfc_main$V = /* @__PURE__ */ defineComponent({
|
|
|
642
643
|
fontWeight: props.fontWeight
|
|
643
644
|
};
|
|
644
645
|
});
|
|
646
|
+
const effectiveTabindex = computed(() => {
|
|
647
|
+
if (props.disabled || props.loading) {
|
|
648
|
+
return -1;
|
|
649
|
+
}
|
|
650
|
+
return props.tabindex ?? void 0;
|
|
651
|
+
});
|
|
645
652
|
return (_ctx, _cache) => {
|
|
646
653
|
return !_ctx.to ? (openBlock(), createElementBlock("button", {
|
|
647
654
|
key: 0,
|
|
@@ -649,6 +656,7 @@ const _sfc_main$V = /* @__PURE__ */ defineComponent({
|
|
|
649
656
|
disabled: _ctx.disabled || _ctx.loading,
|
|
650
657
|
class: normalizeClass(buttonClassString.value),
|
|
651
658
|
style: normalizeStyle(buttonStyles.value),
|
|
659
|
+
tabindex: effectiveTabindex.value,
|
|
652
660
|
onClick: _cache[0] || (_cache[0] = ($event) => _ctx.$emit("click", $event))
|
|
653
661
|
}, [
|
|
654
662
|
createVNode(UiButtonContent, {
|
|
@@ -689,6 +697,7 @@ const _sfc_main$V = /* @__PURE__ */ defineComponent({
|
|
|
689
697
|
icon: _ctx.icon,
|
|
690
698
|
"button-classes": buttonClasses.value,
|
|
691
699
|
"button-styles": buttonStyles.value,
|
|
700
|
+
tabindex: effectiveTabindex.value,
|
|
692
701
|
onClick: _cache[1] || (_cache[1] = ($event) => _ctx.$emit("click", $event))
|
|
693
702
|
}, createSlots({
|
|
694
703
|
icon: withCtx(() => [
|
|
@@ -713,7 +722,7 @@ const _sfc_main$V = /* @__PURE__ */ defineComponent({
|
|
|
713
722
|
]),
|
|
714
723
|
key: "1"
|
|
715
724
|
} : void 0
|
|
716
|
-
]), 1032, ["to", "disabled", "loading", "loading-text", "icon", "button-classes", "button-styles"])) : isVueRouterAvailable.value && _ctx.to ? (openBlock(), createBlock(_sfc_main$W, {
|
|
725
|
+
]), 1032, ["to", "disabled", "loading", "loading-text", "icon", "button-classes", "button-styles", "tabindex"])) : isVueRouterAvailable.value && _ctx.to ? (openBlock(), createBlock(_sfc_main$W, {
|
|
717
726
|
key: 2,
|
|
718
727
|
to: _ctx.to,
|
|
719
728
|
disabled: _ctx.disabled,
|
|
@@ -722,6 +731,7 @@ const _sfc_main$V = /* @__PURE__ */ defineComponent({
|
|
|
722
731
|
icon: _ctx.icon,
|
|
723
732
|
"button-classes": buttonClasses.value,
|
|
724
733
|
"button-styles": buttonStyles.value,
|
|
734
|
+
tabindex: effectiveTabindex.value,
|
|
725
735
|
onClick: _cache[2] || (_cache[2] = ($event) => _ctx.$emit("click", $event))
|
|
726
736
|
}, createSlots({
|
|
727
737
|
icon: withCtx(() => [
|
|
@@ -746,7 +756,7 @@ const _sfc_main$V = /* @__PURE__ */ defineComponent({
|
|
|
746
756
|
]),
|
|
747
757
|
key: "1"
|
|
748
758
|
} : void 0
|
|
749
|
-
]), 1032, ["to", "disabled", "loading", "loading-text", "icon", "button-classes", "button-styles"])) : (openBlock(), createBlock(_sfc_main$Y, {
|
|
759
|
+
]), 1032, ["to", "disabled", "loading", "loading-text", "icon", "button-classes", "button-styles", "tabindex"])) : (openBlock(), createBlock(_sfc_main$Y, {
|
|
750
760
|
key: 3,
|
|
751
761
|
to: _ctx.to,
|
|
752
762
|
href: _ctx.href,
|
|
@@ -757,6 +767,7 @@ const _sfc_main$V = /* @__PURE__ */ defineComponent({
|
|
|
757
767
|
icon: _ctx.icon,
|
|
758
768
|
"button-classes": buttonClasses.value,
|
|
759
769
|
"button-styles": buttonStyles.value,
|
|
770
|
+
tabindex: effectiveTabindex.value,
|
|
760
771
|
onClick: _cache[3] || (_cache[3] = ($event) => _ctx.$emit("click", $event))
|
|
761
772
|
}, createSlots({
|
|
762
773
|
icon: withCtx(() => [
|
|
@@ -781,11 +792,11 @@ const _sfc_main$V = /* @__PURE__ */ defineComponent({
|
|
|
781
792
|
]),
|
|
782
793
|
key: "1"
|
|
783
794
|
} : void 0
|
|
784
|
-
]), 1032, ["to", "href", "external", "disabled", "loading", "loading-text", "icon", "button-classes", "button-styles"]));
|
|
795
|
+
]), 1032, ["to", "href", "external", "disabled", "loading", "loading-text", "icon", "button-classes", "button-styles", "tabindex"]));
|
|
785
796
|
};
|
|
786
797
|
}
|
|
787
798
|
});
|
|
788
|
-
const StrandsUiButton = /* @__PURE__ */ _export_sfc(_sfc_main$V, [["__scopeId", "data-v-
|
|
799
|
+
const StrandsUiButton = /* @__PURE__ */ _export_sfc(_sfc_main$V, [["__scopeId", "data-v-5844ab0f"]]);
|
|
789
800
|
const CompoundUiButton = StrandsUiButton;
|
|
790
801
|
CompoundUiButton.Content = UiButtonContent;
|
|
791
802
|
CompoundUiButton.Anchor = _sfc_main$Y;
|
|
@@ -807,7 +818,7 @@ const _hoisted_4$D = {
|
|
|
807
818
|
key: 0,
|
|
808
819
|
class: "ui-card-subtitle"
|
|
809
820
|
};
|
|
810
|
-
const _hoisted_5$
|
|
821
|
+
const _hoisted_5$z = {
|
|
811
822
|
key: 1,
|
|
812
823
|
class: "ui-card-content"
|
|
813
824
|
};
|
|
@@ -855,7 +866,7 @@ const _sfc_main$U = /* @__PURE__ */ defineComponent({
|
|
|
855
866
|
renderSlot(_ctx.$slots, "actions", {}, void 0, true)
|
|
856
867
|
], true)
|
|
857
868
|
])) : createCommentVNode("", true),
|
|
858
|
-
_ctx.$slots["default"] ? (openBlock(), createElementBlock("div", _hoisted_5$
|
|
869
|
+
_ctx.$slots["default"] ? (openBlock(), createElementBlock("div", _hoisted_5$z, [
|
|
859
870
|
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
860
871
|
])) : createCommentVNode("", true),
|
|
861
872
|
_ctx.$slots["footer"] ? (openBlock(), createElementBlock("div", _hoisted_6$t, [
|
|
@@ -1423,7 +1434,7 @@ const _hoisted_1$N = {
|
|
|
1423
1434
|
key: 0,
|
|
1424
1435
|
class: "input-leading-icon"
|
|
1425
1436
|
};
|
|
1426
|
-
const _hoisted_2$H = ["id", "type", "value", "placeholder", "disabled", "readonly", "required", "min", "max", "step", "autocomplete", "spellcheck"];
|
|
1437
|
+
const _hoisted_2$H = ["id", "type", "value", "placeholder", "disabled", "readonly", "required", "min", "max", "step", "autocomplete", "spellcheck", "tabindex"];
|
|
1427
1438
|
const _hoisted_3$E = {
|
|
1428
1439
|
key: 1,
|
|
1429
1440
|
class: "input-trailing-icon"
|
|
@@ -1432,7 +1443,7 @@ const _hoisted_4$C = {
|
|
|
1432
1443
|
key: 2,
|
|
1433
1444
|
class: "input-trailing-icon"
|
|
1434
1445
|
};
|
|
1435
|
-
const _hoisted_5$
|
|
1446
|
+
const _hoisted_5$y = {
|
|
1436
1447
|
key: 3,
|
|
1437
1448
|
class: "input-trailing-icon"
|
|
1438
1449
|
};
|
|
@@ -1455,7 +1466,8 @@ const _sfc_main$T = /* @__PURE__ */ defineComponent({
|
|
|
1455
1466
|
fullWidth: { type: Boolean },
|
|
1456
1467
|
inputId: {},
|
|
1457
1468
|
error: { type: [Boolean, String, Error], default: false },
|
|
1458
|
-
size: { default: "md" }
|
|
1469
|
+
size: { default: "md" },
|
|
1470
|
+
tabindex: {}
|
|
1459
1471
|
},
|
|
1460
1472
|
emits: ["update:modelValue", "blur", "focus", "keydown"],
|
|
1461
1473
|
setup(__props, { emit: __emit }) {
|
|
@@ -1472,6 +1484,10 @@ const _sfc_main$T = /* @__PURE__ */ defineComponent({
|
|
|
1472
1484
|
const hasTrailingIcon = computed(() => {
|
|
1473
1485
|
return slots["trailing-icon"] || props.type === "password" || props.type === "search" && props.modelValue;
|
|
1474
1486
|
});
|
|
1487
|
+
const buttonTabindex = computed(() => {
|
|
1488
|
+
if (props.tabindex === void 0) return;
|
|
1489
|
+
return props.tabindex + 1;
|
|
1490
|
+
});
|
|
1475
1491
|
const wrapperClasses = computed(() => {
|
|
1476
1492
|
const classes = [];
|
|
1477
1493
|
if (props.error) classes.push("input-error");
|
|
@@ -1537,6 +1553,7 @@ const _sfc_main$T = /* @__PURE__ */ defineComponent({
|
|
|
1537
1553
|
step: _ctx.step,
|
|
1538
1554
|
autocomplete: _ctx.autocomplete,
|
|
1539
1555
|
spellcheck: _ctx.spellcheck,
|
|
1556
|
+
tabindex: _ctx.tabindex,
|
|
1540
1557
|
class: normalizeClass(["input-base", paddingClasses.value]),
|
|
1541
1558
|
onInput: handleInput,
|
|
1542
1559
|
onBlur: handleBlur,
|
|
@@ -1550,6 +1567,7 @@ const _sfc_main$T = /* @__PURE__ */ defineComponent({
|
|
|
1550
1567
|
size: "sm",
|
|
1551
1568
|
icon: "",
|
|
1552
1569
|
squircle: "",
|
|
1570
|
+
tabindex: buttonTabindex.value,
|
|
1553
1571
|
"aria-label": showPassword.value ? "Hide password" : "Show password",
|
|
1554
1572
|
onClick: togglePasswordVisibility
|
|
1555
1573
|
}, {
|
|
@@ -1557,7 +1575,7 @@ const _sfc_main$T = /* @__PURE__ */ defineComponent({
|
|
|
1557
1575
|
showPassword.value ? (openBlock(), createBlock(unref(EyeOff), { key: 0 })) : (openBlock(), createBlock(unref(Eye), { key: 1 }))
|
|
1558
1576
|
]),
|
|
1559
1577
|
_: 1
|
|
1560
|
-
}, 8, ["color", "variant", "aria-label"])
|
|
1578
|
+
}, 8, ["color", "variant", "tabindex", "aria-label"])
|
|
1561
1579
|
])) : _ctx.type === "search" && _ctx.modelValue && !_ctx.disabled && !_ctx.readonly ? (openBlock(), createElementBlock("div", _hoisted_4$C, [
|
|
1562
1580
|
createVNode(StrandsUiButton, {
|
|
1563
1581
|
color: "danger",
|
|
@@ -1565,6 +1583,7 @@ const _sfc_main$T = /* @__PURE__ */ defineComponent({
|
|
|
1565
1583
|
size: "sm",
|
|
1566
1584
|
icon: "",
|
|
1567
1585
|
squircle: "",
|
|
1586
|
+
tabindex: buttonTabindex.value,
|
|
1568
1587
|
"aria-label": "Clear search",
|
|
1569
1588
|
onClick: clearSearchValue
|
|
1570
1589
|
}, {
|
|
@@ -1572,15 +1591,15 @@ const _sfc_main$T = /* @__PURE__ */ defineComponent({
|
|
|
1572
1591
|
createVNode(unref(X))
|
|
1573
1592
|
]),
|
|
1574
1593
|
_: 1
|
|
1575
|
-
})
|
|
1576
|
-
])) : hasTrailingIcon.value ? (openBlock(), createElementBlock("div", _hoisted_5$
|
|
1594
|
+
}, 8, ["tabindex"])
|
|
1595
|
+
])) : hasTrailingIcon.value ? (openBlock(), createElementBlock("div", _hoisted_5$y, [
|
|
1577
1596
|
renderSlot(_ctx.$slots, "trailing-icon", {}, void 0, true)
|
|
1578
1597
|
])) : createCommentVNode("", true)
|
|
1579
1598
|
], 2);
|
|
1580
1599
|
};
|
|
1581
1600
|
}
|
|
1582
1601
|
});
|
|
1583
|
-
const UiInputText = /* @__PURE__ */ _export_sfc(_sfc_main$T, [["__scopeId", "data-v-
|
|
1602
|
+
const UiInputText = /* @__PURE__ */ _export_sfc(_sfc_main$T, [["__scopeId", "data-v-67ba177d"]]);
|
|
1584
1603
|
const _hoisted_1$M = {
|
|
1585
1604
|
key: 0,
|
|
1586
1605
|
class: "input-leading-icon"
|
|
@@ -1609,7 +1628,8 @@ const _sfc_main$S = /* @__PURE__ */ defineComponent({
|
|
|
1609
1628
|
fullWidth: { type: Boolean },
|
|
1610
1629
|
inputId: {},
|
|
1611
1630
|
error: { type: [Boolean, String, Error], default: false },
|
|
1612
|
-
size: { default: "md" }
|
|
1631
|
+
size: { default: "md" },
|
|
1632
|
+
tabindex: {}
|
|
1613
1633
|
},
|
|
1614
1634
|
emits: ["update:modelValue", "blur", "focus", "keydown"],
|
|
1615
1635
|
setup(__props, { emit: __emit }) {
|
|
@@ -1897,13 +1917,13 @@ const _hoisted_1$L = {
|
|
|
1897
1917
|
key: 0,
|
|
1898
1918
|
class: "input-leading-icon"
|
|
1899
1919
|
};
|
|
1900
|
-
const _hoisted_2$F = ["aria-expanded", "aria-controls"];
|
|
1920
|
+
const _hoisted_2$F = ["tabindex", "aria-expanded", "aria-controls"];
|
|
1901
1921
|
const _hoisted_3$C = { class: "input-select-value" };
|
|
1902
1922
|
const _hoisted_4$B = {
|
|
1903
1923
|
key: 0,
|
|
1904
1924
|
class: "input-select-text"
|
|
1905
1925
|
};
|
|
1906
|
-
const _hoisted_5$
|
|
1926
|
+
const _hoisted_5$x = {
|
|
1907
1927
|
key: 1,
|
|
1908
1928
|
class: "input-select-placeholder"
|
|
1909
1929
|
};
|
|
@@ -1951,7 +1971,8 @@ const _sfc_main$R = /* @__PURE__ */ defineComponent({
|
|
|
1951
1971
|
fullWidth: { type: Boolean },
|
|
1952
1972
|
inputId: {},
|
|
1953
1973
|
error: { type: [Boolean, String, Error], default: false },
|
|
1954
|
-
size: { default: "md" }
|
|
1974
|
+
size: { default: "md" },
|
|
1975
|
+
tabindex: {}
|
|
1955
1976
|
},
|
|
1956
1977
|
emits: ["update:modelValue", "blur", "focus"],
|
|
1957
1978
|
setup(__props, { emit: __emit }) {
|
|
@@ -2046,6 +2067,10 @@ const _sfc_main$R = /* @__PURE__ */ defineComponent({
|
|
|
2046
2067
|
}
|
|
2047
2068
|
return "Search...";
|
|
2048
2069
|
});
|
|
2070
|
+
const searchTabindex = computed(() => {
|
|
2071
|
+
if (props.tabindex === void 0) return;
|
|
2072
|
+
return props.tabindex + 1;
|
|
2073
|
+
});
|
|
2049
2074
|
const wrapperClasses = computed(() => {
|
|
2050
2075
|
const classes = [];
|
|
2051
2076
|
if (props.error) classes.push("input-error");
|
|
@@ -2250,14 +2275,14 @@ const _sfc_main$R = /* @__PURE__ */ defineComponent({
|
|
|
2250
2275
|
class: normalizeClass(["input-select-trigger", { "input-select-open": dropdownState.value.isOpen }]),
|
|
2251
2276
|
onClick: toggleDropdown,
|
|
2252
2277
|
onKeydown: handleTriggerKeydown,
|
|
2253
|
-
tabindex:
|
|
2278
|
+
tabindex: _ctx.tabindex,
|
|
2254
2279
|
role: "combobox",
|
|
2255
2280
|
"aria-expanded": dropdownState.value.isOpen,
|
|
2256
2281
|
"aria-haspopup": true,
|
|
2257
2282
|
"aria-controls": dropdownId.value
|
|
2258
2283
|
}, [
|
|
2259
2284
|
createElementVNode("div", _hoisted_3$C, [
|
|
2260
|
-
displayValue.value ? (openBlock(), createElementBlock("span", _hoisted_4$B, toDisplayString(displayValue.value), 1)) : (openBlock(), createElementBlock("span", _hoisted_5$
|
|
2285
|
+
displayValue.value ? (openBlock(), createElementBlock("span", _hoisted_4$B, toDisplayString(displayValue.value), 1)) : (openBlock(), createElementBlock("span", _hoisted_5$x, toDisplayString(_ctx.placeholder || "Select an option..."), 1))
|
|
2261
2286
|
]),
|
|
2262
2287
|
createElementVNode("div", {
|
|
2263
2288
|
class: normalizeClass(["input-select-arrow", { "input-select-arrow-open": dropdownState.value.isOpen }])
|
|
@@ -2291,13 +2316,14 @@ const _sfc_main$R = /* @__PURE__ */ defineComponent({
|
|
|
2291
2316
|
type: "search",
|
|
2292
2317
|
placeholder: computedSearchPlaceholder.value,
|
|
2293
2318
|
size: "sm",
|
|
2319
|
+
tabindex: searchTabindex.value,
|
|
2294
2320
|
onKeydown: handleSearchKeydown
|
|
2295
2321
|
}, {
|
|
2296
2322
|
"leading-icon": withCtx(() => [
|
|
2297
2323
|
createVNode(unref(Search))
|
|
2298
2324
|
]),
|
|
2299
2325
|
_: 1
|
|
2300
|
-
}, 8, ["modelValue", "placeholder"])
|
|
2326
|
+
}, 8, ["modelValue", "placeholder", "tabindex"])
|
|
2301
2327
|
])) : createCommentVNode("", true),
|
|
2302
2328
|
createElementVNode("div", {
|
|
2303
2329
|
class: "input-dropdown-options",
|
|
@@ -2338,12 +2364,12 @@ const _sfc_main$R = /* @__PURE__ */ defineComponent({
|
|
|
2338
2364
|
};
|
|
2339
2365
|
}
|
|
2340
2366
|
});
|
|
2341
|
-
const UiInputSelect = /* @__PURE__ */ _export_sfc(_sfc_main$R, [["__scopeId", "data-v-
|
|
2367
|
+
const UiInputSelect = /* @__PURE__ */ _export_sfc(_sfc_main$R, [["__scopeId", "data-v-f0fb5b75"]]);
|
|
2342
2368
|
const _hoisted_1$K = { class: "input-leading-icon" };
|
|
2343
2369
|
const _hoisted_2$E = ["src"];
|
|
2344
2370
|
const _hoisted_3$B = ["id", "accept", "multiple", "disabled", "required"];
|
|
2345
2371
|
const _hoisted_4$A = { class: "input-file-content" };
|
|
2346
|
-
const _hoisted_5$
|
|
2372
|
+
const _hoisted_5$w = {
|
|
2347
2373
|
key: 0,
|
|
2348
2374
|
class: "input-file-prompt"
|
|
2349
2375
|
};
|
|
@@ -2386,7 +2412,8 @@ const _sfc_main$Q = /* @__PURE__ */ defineComponent({
|
|
|
2386
2412
|
fullWidth: { type: Boolean },
|
|
2387
2413
|
inputId: {},
|
|
2388
2414
|
error: { type: [Boolean, String, Error], default: false },
|
|
2389
|
-
size: { default: "md" }
|
|
2415
|
+
size: { default: "md" },
|
|
2416
|
+
tabindex: {}
|
|
2390
2417
|
},
|
|
2391
2418
|
emits: ["update:modelValue", "file-error", "blur", "focus"],
|
|
2392
2419
|
setup(__props, { emit: __emit }) {
|
|
@@ -2584,7 +2611,7 @@ const _sfc_main$Q = /* @__PURE__ */ defineComponent({
|
|
|
2584
2611
|
onFocus: handleFocus
|
|
2585
2612
|
}, null, 40, _hoisted_3$B),
|
|
2586
2613
|
createElementVNode("div", _hoisted_4$A, [
|
|
2587
|
-
selectedFiles.value.length === 0 ? (openBlock(), createElementBlock("div", _hoisted_5$
|
|
2614
|
+
selectedFiles.value.length === 0 ? (openBlock(), createElementBlock("div", _hoisted_5$w, [
|
|
2588
2615
|
createElementVNode("div", _hoisted_6$r, toDisplayString(_ctx.dragDropText || "Click to select or drag and drop"), 1),
|
|
2589
2616
|
_ctx.accept ? (openBlock(), createElementBlock("div", _hoisted_7$p, toDisplayString(_ctx.accept), 1)) : createCommentVNode("", true)
|
|
2590
2617
|
])) : (openBlock(), createElementBlock("div", _hoisted_8$n, [
|
|
@@ -2630,7 +2657,7 @@ const _hoisted_4$z = {
|
|
|
2630
2657
|
key: 1,
|
|
2631
2658
|
class: "tabs-after"
|
|
2632
2659
|
};
|
|
2633
|
-
const _hoisted_5$
|
|
2660
|
+
const _hoisted_5$v = ["aria-labelledby"];
|
|
2634
2661
|
const _sfc_main$P = /* @__PURE__ */ defineComponent({
|
|
2635
2662
|
__name: "UiTabs",
|
|
2636
2663
|
props: {
|
|
@@ -3015,12 +3042,12 @@ const _sfc_main$P = /* @__PURE__ */ defineComponent({
|
|
|
3015
3042
|
id: "tabpanel"
|
|
3016
3043
|
}, [
|
|
3017
3044
|
renderSlot(_ctx.$slots, "content", { activeTab: activeTab.value }, void 0, true)
|
|
3018
|
-
], 10, _hoisted_5$
|
|
3045
|
+
], 10, _hoisted_5$v)) : createCommentVNode("", true)
|
|
3019
3046
|
], 2);
|
|
3020
3047
|
};
|
|
3021
3048
|
}
|
|
3022
3049
|
});
|
|
3023
|
-
const StrandsUiTabs = /* @__PURE__ */ _export_sfc(_sfc_main$P, [["__scopeId", "data-v-
|
|
3050
|
+
const StrandsUiTabs = /* @__PURE__ */ _export_sfc(_sfc_main$P, [["__scopeId", "data-v-901716e3"]]);
|
|
3024
3051
|
const _hoisted_1$I = {
|
|
3025
3052
|
key: 0,
|
|
3026
3053
|
class: "ui-divider-text"
|
|
@@ -3096,7 +3123,7 @@ const _hoisted_4$y = {
|
|
|
3096
3123
|
key: 0,
|
|
3097
3124
|
class: "datetime-picker-value"
|
|
3098
3125
|
};
|
|
3099
|
-
const _hoisted_5$
|
|
3126
|
+
const _hoisted_5$u = {
|
|
3100
3127
|
key: 1,
|
|
3101
3128
|
class: "datetime-picker-placeholder"
|
|
3102
3129
|
};
|
|
@@ -3119,8 +3146,8 @@ const _hoisted_14$j = {
|
|
|
3119
3146
|
class: "datetime-picker-panel datetime-picker-time-panel"
|
|
3120
3147
|
};
|
|
3121
3148
|
const _hoisted_15$g = { class: "time-selector" };
|
|
3122
|
-
const _hoisted_16$
|
|
3123
|
-
const _hoisted_17$
|
|
3149
|
+
const _hoisted_16$f = { class: "time-column" };
|
|
3150
|
+
const _hoisted_17$e = { class: "time-scroll" };
|
|
3124
3151
|
const _hoisted_18$e = { class: "time-column" };
|
|
3125
3152
|
const _hoisted_19$d = { class: "time-scroll" };
|
|
3126
3153
|
const _hoisted_20$b = {
|
|
@@ -3128,7 +3155,7 @@ const _hoisted_20$b = {
|
|
|
3128
3155
|
class: "time-column"
|
|
3129
3156
|
};
|
|
3130
3157
|
const _hoisted_21$b = { class: "time-scroll" };
|
|
3131
|
-
const _hoisted_22$
|
|
3158
|
+
const _hoisted_22$8 = { class: "datetime-picker-footer" };
|
|
3132
3159
|
const _sfc_main$N = /* @__PURE__ */ defineComponent({
|
|
3133
3160
|
__name: "UiDateTimePicker",
|
|
3134
3161
|
props: {
|
|
@@ -3475,7 +3502,7 @@ const _sfc_main$N = /* @__PURE__ */ defineComponent({
|
|
|
3475
3502
|
_ctx.type === "date" ? (openBlock(), createBlock(unref(Calendar), { key: 0 })) : _ctx.type === "time" ? (openBlock(), createBlock(unref(Clock), { key: 1 })) : (openBlock(), createBlock(unref(CalendarClock), { key: 2 }))
|
|
3476
3503
|
]),
|
|
3477
3504
|
createElementVNode("div", _hoisted_3$z, [
|
|
3478
|
-
displayValue.value ? (openBlock(), createElementBlock("span", _hoisted_4$y, toDisplayString(displayValue.value), 1)) : (openBlock(), createElementBlock("span", _hoisted_5$
|
|
3505
|
+
displayValue.value ? (openBlock(), createElementBlock("span", _hoisted_4$y, toDisplayString(displayValue.value), 1)) : (openBlock(), createElementBlock("span", _hoisted_5$u, toDisplayString(_ctx.placeholder || getDefaultPlaceholder()), 1))
|
|
3479
3506
|
]),
|
|
3480
3507
|
_ctx.modelValue && !_ctx.disabled && !_ctx.readonly ? (openBlock(), createElementBlock("div", {
|
|
3481
3508
|
key: 0,
|
|
@@ -3597,9 +3624,9 @@ const _sfc_main$N = /* @__PURE__ */ defineComponent({
|
|
|
3597
3624
|
])) : createCommentVNode("", true),
|
|
3598
3625
|
showTimePanel.value ? (openBlock(), createElementBlock("div", _hoisted_14$j, [
|
|
3599
3626
|
createElementVNode("div", _hoisted_15$g, [
|
|
3600
|
-
createElementVNode("div", _hoisted_16$
|
|
3627
|
+
createElementVNode("div", _hoisted_16$f, [
|
|
3601
3628
|
_cache[6] || (_cache[6] = createElementVNode("label", { class: "time-label" }, "Hour", -1)),
|
|
3602
|
-
createElementVNode("div", _hoisted_17$
|
|
3629
|
+
createElementVNode("div", _hoisted_17$e, [
|
|
3603
3630
|
(openBlock(true), createElementBlock(Fragment$1, null, renderList(hours.value, (hour) => {
|
|
3604
3631
|
return openBlock(), createBlock(StrandsUiButton, {
|
|
3605
3632
|
key: hour,
|
|
@@ -3671,7 +3698,7 @@ const _sfc_main$N = /* @__PURE__ */ defineComponent({
|
|
|
3671
3698
|
])
|
|
3672
3699
|
])) : createCommentVNode("", true),
|
|
3673
3700
|
createVNode(UiDivider),
|
|
3674
|
-
createElementVNode("div", _hoisted_22$
|
|
3701
|
+
createElementVNode("div", _hoisted_22$8, [
|
|
3675
3702
|
createVNode(StrandsUiButton, {
|
|
3676
3703
|
onClick: selectNow,
|
|
3677
3704
|
color: "primary",
|
|
@@ -3735,7 +3762,8 @@ const _sfc_main$M = /* @__PURE__ */ defineComponent({
|
|
|
3735
3762
|
fullWidth: { type: Boolean },
|
|
3736
3763
|
inputId: {},
|
|
3737
3764
|
error: { type: [Boolean, String, Error], default: false },
|
|
3738
|
-
size: { default: "md" }
|
|
3765
|
+
size: { default: "md" },
|
|
3766
|
+
tabindex: {}
|
|
3739
3767
|
},
|
|
3740
3768
|
emits: ["update:modelValue", "change", "blur", "focus", "keydown"],
|
|
3741
3769
|
setup(__props, { emit: __emit }) {
|
|
@@ -3780,7 +3808,8 @@ const _sfc_main$L = /* @__PURE__ */ defineComponent({
|
|
|
3780
3808
|
fullWidth: { type: Boolean },
|
|
3781
3809
|
inputId: {},
|
|
3782
3810
|
error: { type: [Boolean, String, Error], default: false },
|
|
3783
|
-
size: { default: "md" }
|
|
3811
|
+
size: { default: "md" },
|
|
3812
|
+
tabindex: {}
|
|
3784
3813
|
},
|
|
3785
3814
|
emits: ["update:modelValue", "change", "blur", "focus", "keydown"],
|
|
3786
3815
|
setup(__props, { emit: __emit }) {
|
|
@@ -3827,7 +3856,8 @@ const _sfc_main$K = /* @__PURE__ */ defineComponent({
|
|
|
3827
3856
|
fullWidth: { type: Boolean },
|
|
3828
3857
|
inputId: {},
|
|
3829
3858
|
error: { type: [Boolean, String, Error], default: false },
|
|
3830
|
-
size: { default: "md" }
|
|
3859
|
+
size: { default: "md" },
|
|
3860
|
+
tabindex: {}
|
|
3831
3861
|
},
|
|
3832
3862
|
emits: ["update:modelValue", "change", "blur", "focus", "keydown"],
|
|
3833
3863
|
setup(__props, { emit: __emit }) {
|
|
@@ -24815,7 +24845,7 @@ const _hoisted_1$G = { class: "input-richtext-toolbar" };
|
|
|
24815
24845
|
const _hoisted_2$B = { class: "input-richtext-group" };
|
|
24816
24846
|
const _hoisted_3$y = { class: "input-richtext-group" };
|
|
24817
24847
|
const _hoisted_4$x = { class: "input-richtext-group" };
|
|
24818
|
-
const _hoisted_5$
|
|
24848
|
+
const _hoisted_5$t = { class: "input-richtext-group" };
|
|
24819
24849
|
const _hoisted_6$p = { class: "input-richtext-group" };
|
|
24820
24850
|
const _hoisted_7$n = { class: "input-richtext-editor-wrapper" };
|
|
24821
24851
|
const _sfc_main$J = /* @__PURE__ */ defineComponent({
|
|
@@ -24833,7 +24863,8 @@ const _sfc_main$J = /* @__PURE__ */ defineComponent({
|
|
|
24833
24863
|
fullWidth: { type: Boolean },
|
|
24834
24864
|
inputId: {},
|
|
24835
24865
|
error: { type: [Boolean, String, Error], default: false },
|
|
24836
|
-
size: {}
|
|
24866
|
+
size: {},
|
|
24867
|
+
tabindex: {}
|
|
24837
24868
|
},
|
|
24838
24869
|
emits: ["update:modelValue", "blur", "focus"],
|
|
24839
24870
|
setup(__props, { emit: __emit }) {
|
|
@@ -25065,7 +25096,7 @@ const _sfc_main$J = /* @__PURE__ */ defineComponent({
|
|
|
25065
25096
|
spacing: "28px",
|
|
25066
25097
|
margin: "4px"
|
|
25067
25098
|
}),
|
|
25068
|
-
createElementVNode("div", _hoisted_5$
|
|
25099
|
+
createElementVNode("div", _hoisted_5$t, [
|
|
25069
25100
|
createVNode(StrandsUiButton, {
|
|
25070
25101
|
color: unref(editor)?.isActive("bulletList") ? "primary" : "secondary",
|
|
25071
25102
|
size: "sm",
|
|
@@ -25195,7 +25226,7 @@ const _hoisted_4$w = {
|
|
|
25195
25226
|
key: 1,
|
|
25196
25227
|
class: "pincode-divider"
|
|
25197
25228
|
};
|
|
25198
|
-
const _hoisted_5$
|
|
25229
|
+
const _hoisted_5$s = {
|
|
25199
25230
|
key: 1,
|
|
25200
25231
|
class: "pincode-icon pincode-icon-trailing"
|
|
25201
25232
|
};
|
|
@@ -25215,7 +25246,8 @@ const _sfc_main$I = /* @__PURE__ */ defineComponent({
|
|
|
25215
25246
|
fullWidth: { type: Boolean },
|
|
25216
25247
|
inputId: {},
|
|
25217
25248
|
error: { type: [Boolean, String, Error] },
|
|
25218
|
-
size: { default: "md" }
|
|
25249
|
+
size: { default: "md" },
|
|
25250
|
+
tabindex: {}
|
|
25219
25251
|
},
|
|
25220
25252
|
emits: ["update:modelValue", "blur", "focus", "complete"],
|
|
25221
25253
|
setup(__props, { emit: __emit }) {
|
|
@@ -25400,7 +25432,7 @@ const _sfc_main$I = /* @__PURE__ */ defineComponent({
|
|
|
25400
25432
|
value: values.value[index - 1],
|
|
25401
25433
|
disabled: _ctx.disabled,
|
|
25402
25434
|
readonly: _ctx.readonly,
|
|
25403
|
-
tabindex: _ctx.disabled ? -1 : 0,
|
|
25435
|
+
tabindex: _ctx.disabled ? -1 : void 0,
|
|
25404
25436
|
"data-index": index - 1,
|
|
25405
25437
|
maxlength: "1",
|
|
25406
25438
|
onInput: ($event) => handleInput($event, index - 1),
|
|
@@ -25415,7 +25447,7 @@ const _sfc_main$I = /* @__PURE__ */ defineComponent({
|
|
|
25415
25447
|
}, dividerProps.value, { class: "pincode-custom-divider" }), null, 16)) : shouldShowDivider(index) ? (openBlock(), createElementBlock("span", _hoisted_4$w, toDisplayString(dividerCharacter.value), 1)) : createCommentVNode("", true)
|
|
25416
25448
|
], 64);
|
|
25417
25449
|
}), 128)),
|
|
25418
|
-
_ctx.$slots["trailing-icon"] ? (openBlock(), createElementBlock("div", _hoisted_5$
|
|
25450
|
+
_ctx.$slots["trailing-icon"] ? (openBlock(), createElementBlock("div", _hoisted_5$s, [
|
|
25419
25451
|
renderSlot(_ctx.$slots, "trailing-icon", {}, void 0, true)
|
|
25420
25452
|
])) : createCommentVNode("", true)
|
|
25421
25453
|
])
|
|
@@ -25423,18 +25455,22 @@ const _sfc_main$I = /* @__PURE__ */ defineComponent({
|
|
|
25423
25455
|
};
|
|
25424
25456
|
}
|
|
25425
25457
|
});
|
|
25426
|
-
const UiInputPincode = /* @__PURE__ */ _export_sfc(_sfc_main$I, [["__scopeId", "data-v-
|
|
25458
|
+
const UiInputPincode = /* @__PURE__ */ _export_sfc(_sfc_main$I, [["__scopeId", "data-v-dc5d46fa"]]);
|
|
25427
25459
|
const _hoisted_1$E = ["for"];
|
|
25428
25460
|
const _hoisted_2$z = {
|
|
25429
25461
|
key: 0,
|
|
25430
25462
|
class: "input-required"
|
|
25431
25463
|
};
|
|
25432
25464
|
const _hoisted_3$w = {
|
|
25433
|
-
key:
|
|
25434
|
-
class: "input-
|
|
25465
|
+
key: 1,
|
|
25466
|
+
class: "input-hint"
|
|
25435
25467
|
};
|
|
25436
25468
|
const _hoisted_4$v = {
|
|
25437
|
-
key:
|
|
25469
|
+
key: 2,
|
|
25470
|
+
class: "input-error-text"
|
|
25471
|
+
};
|
|
25472
|
+
const _hoisted_5$r = {
|
|
25473
|
+
key: 3,
|
|
25438
25474
|
class: "input-help-text"
|
|
25439
25475
|
};
|
|
25440
25476
|
const _sfc_main$H = /* @__PURE__ */ defineComponent({
|
|
@@ -25457,6 +25493,7 @@ const _sfc_main$H = /* @__PURE__ */ defineComponent({
|
|
|
25457
25493
|
inputId: {},
|
|
25458
25494
|
error: { type: [Boolean, String, Error] },
|
|
25459
25495
|
size: {},
|
|
25496
|
+
tabindex: {},
|
|
25460
25497
|
options: {},
|
|
25461
25498
|
multiple: { type: Boolean },
|
|
25462
25499
|
searchable: { type: Boolean },
|
|
@@ -25519,239 +25556,254 @@ const _sfc_main$H = /* @__PURE__ */ defineComponent({
|
|
|
25519
25556
|
props.label ? (openBlock(), createElementBlock("label", {
|
|
25520
25557
|
key: 0,
|
|
25521
25558
|
for: inputId.value,
|
|
25559
|
+
tabindex: "-1",
|
|
25522
25560
|
class: "input-label"
|
|
25523
25561
|
}, [
|
|
25524
25562
|
createTextVNode(toDisplayString(props.label) + " ", 1),
|
|
25525
25563
|
props.required ? (openBlock(), createElementBlock("span", _hoisted_2$z, "*")) : createCommentVNode("", true)
|
|
25526
25564
|
], 8, _hoisted_1$E)) : createCommentVNode("", true),
|
|
25527
|
-
|
|
25528
|
-
|
|
25529
|
-
|
|
25530
|
-
|
|
25531
|
-
|
|
25532
|
-
|
|
25533
|
-
|
|
25534
|
-
|
|
25535
|
-
|
|
25536
|
-
|
|
25537
|
-
|
|
25538
|
-
|
|
25539
|
-
|
|
25540
|
-
|
|
25541
|
-
|
|
25542
|
-
|
|
25543
|
-
|
|
25544
|
-
|
|
25545
|
-
|
|
25546
|
-
|
|
25547
|
-
|
|
25548
|
-
|
|
25549
|
-
|
|
25550
|
-
|
|
25551
|
-
|
|
25552
|
-
|
|
25553
|
-
|
|
25554
|
-
|
|
25555
|
-
|
|
25556
|
-
|
|
25557
|
-
|
|
25558
|
-
|
|
25559
|
-
|
|
25560
|
-
|
|
25561
|
-
|
|
25562
|
-
|
|
25563
|
-
|
|
25564
|
-
"model-value": _ctx.
|
|
25565
|
-
|
|
25566
|
-
|
|
25567
|
-
|
|
25568
|
-
|
|
25569
|
-
|
|
25570
|
-
|
|
25571
|
-
|
|
25572
|
-
|
|
25573
|
-
|
|
25574
|
-
|
|
25575
|
-
|
|
25576
|
-
|
|
25577
|
-
|
|
25578
|
-
|
|
25579
|
-
|
|
25580
|
-
|
|
25581
|
-
|
|
25582
|
-
|
|
25583
|
-
|
|
25584
|
-
|
|
25585
|
-
|
|
25586
|
-
|
|
25587
|
-
|
|
25588
|
-
|
|
25589
|
-
|
|
25590
|
-
|
|
25591
|
-
|
|
25592
|
-
|
|
25593
|
-
|
|
25594
|
-
|
|
25595
|
-
|
|
25596
|
-
|
|
25597
|
-
|
|
25598
|
-
|
|
25599
|
-
|
|
25600
|
-
|
|
25601
|
-
|
|
25602
|
-
|
|
25603
|
-
|
|
25604
|
-
|
|
25605
|
-
|
|
25606
|
-
|
|
25607
|
-
|
|
25608
|
-
|
|
25609
|
-
|
|
25610
|
-
|
|
25611
|
-
|
|
25612
|
-
|
|
25613
|
-
|
|
25614
|
-
|
|
25615
|
-
|
|
25616
|
-
|
|
25617
|
-
|
|
25618
|
-
|
|
25619
|
-
|
|
25620
|
-
]
|
|
25621
|
-
|
|
25622
|
-
|
|
25623
|
-
|
|
25624
|
-
|
|
25625
|
-
|
|
25626
|
-
|
|
25627
|
-
]
|
|
25628
|
-
|
|
25629
|
-
|
|
25630
|
-
|
|
25631
|
-
|
|
25632
|
-
|
|
25633
|
-
|
|
25634
|
-
multiple:
|
|
25635
|
-
|
|
25636
|
-
|
|
25637
|
-
|
|
25638
|
-
|
|
25639
|
-
|
|
25640
|
-
|
|
25641
|
-
|
|
25642
|
-
|
|
25643
|
-
|
|
25644
|
-
|
|
25645
|
-
|
|
25646
|
-
|
|
25647
|
-
|
|
25648
|
-
|
|
25649
|
-
|
|
25650
|
-
|
|
25651
|
-
|
|
25652
|
-
|
|
25653
|
-
|
|
25654
|
-
|
|
25655
|
-
|
|
25656
|
-
|
|
25657
|
-
|
|
25658
|
-
|
|
25659
|
-
|
|
25660
|
-
|
|
25661
|
-
|
|
25662
|
-
|
|
25663
|
-
|
|
25664
|
-
|
|
25665
|
-
|
|
25666
|
-
|
|
25667
|
-
|
|
25668
|
-
|
|
25669
|
-
|
|
25670
|
-
|
|
25671
|
-
|
|
25672
|
-
|
|
25673
|
-
|
|
25674
|
-
|
|
25675
|
-
|
|
25676
|
-
|
|
25677
|
-
|
|
25678
|
-
|
|
25679
|
-
|
|
25680
|
-
|
|
25681
|
-
|
|
25682
|
-
|
|
25683
|
-
required:
|
|
25684
|
-
|
|
25685
|
-
|
|
25686
|
-
|
|
25687
|
-
|
|
25688
|
-
|
|
25689
|
-
|
|
25690
|
-
|
|
25691
|
-
|
|
25692
|
-
|
|
25693
|
-
|
|
25694
|
-
|
|
25695
|
-
|
|
25696
|
-
|
|
25697
|
-
|
|
25698
|
-
|
|
25699
|
-
|
|
25700
|
-
|
|
25701
|
-
|
|
25702
|
-
|
|
25703
|
-
|
|
25704
|
-
|
|
25705
|
-
|
|
25706
|
-
|
|
25707
|
-
|
|
25708
|
-
|
|
25709
|
-
|
|
25710
|
-
|
|
25711
|
-
|
|
25712
|
-
|
|
25713
|
-
"min-
|
|
25714
|
-
|
|
25715
|
-
|
|
25716
|
-
|
|
25717
|
-
|
|
25718
|
-
|
|
25719
|
-
|
|
25720
|
-
|
|
25721
|
-
|
|
25722
|
-
|
|
25723
|
-
|
|
25724
|
-
|
|
25725
|
-
|
|
25726
|
-
|
|
25727
|
-
error:
|
|
25728
|
-
|
|
25729
|
-
|
|
25730
|
-
|
|
25731
|
-
|
|
25732
|
-
|
|
25733
|
-
|
|
25734
|
-
|
|
25735
|
-
|
|
25736
|
-
|
|
25737
|
-
|
|
25738
|
-
|
|
25739
|
-
|
|
25740
|
-
|
|
25741
|
-
|
|
25742
|
-
|
|
25743
|
-
|
|
25744
|
-
|
|
25745
|
-
|
|
25746
|
-
|
|
25747
|
-
|
|
25748
|
-
|
|
25749
|
-
|
|
25565
|
+
createElementVNode("div", null, [
|
|
25566
|
+
isTextInput.value ? (openBlock(), createBlock(UiInputText, {
|
|
25567
|
+
key: 0,
|
|
25568
|
+
"model-value": _ctx.modelValue,
|
|
25569
|
+
type: _ctx.type,
|
|
25570
|
+
placeholder: _ctx.placeholder,
|
|
25571
|
+
disabled: _ctx.disabled,
|
|
25572
|
+
readonly: _ctx.readonly,
|
|
25573
|
+
required: props.required,
|
|
25574
|
+
min: props.min,
|
|
25575
|
+
max: props.max,
|
|
25576
|
+
step: props.step,
|
|
25577
|
+
autocomplete: props.autocomplete,
|
|
25578
|
+
spellcheck: props.spellcheck,
|
|
25579
|
+
"input-id": inputId.value,
|
|
25580
|
+
error: Boolean(props.error && props.error !== true && props.error !== ""),
|
|
25581
|
+
size: props.size,
|
|
25582
|
+
tabindex: _ctx.tabindex,
|
|
25583
|
+
"onUpdate:modelValue": handleInput,
|
|
25584
|
+
onBlur: handleBlur,
|
|
25585
|
+
onFocus: handleFocus,
|
|
25586
|
+
onKeydown: handleKeydown
|
|
25587
|
+
}, createSlots({ _: 2 }, [
|
|
25588
|
+
_ctx.$slots["leading-icon"] ? {
|
|
25589
|
+
name: "leading-icon",
|
|
25590
|
+
fn: withCtx(() => [
|
|
25591
|
+
renderSlot(_ctx.$slots, "leading-icon", {}, void 0, true)
|
|
25592
|
+
]),
|
|
25593
|
+
key: "0"
|
|
25594
|
+
} : void 0,
|
|
25595
|
+
_ctx.$slots["trailing-icon"] ? {
|
|
25596
|
+
name: "trailing-icon",
|
|
25597
|
+
fn: withCtx(() => [
|
|
25598
|
+
renderSlot(_ctx.$slots, "trailing-icon", {}, void 0, true)
|
|
25599
|
+
]),
|
|
25600
|
+
key: "1"
|
|
25601
|
+
} : void 0
|
|
25602
|
+
]), 1032, ["model-value", "type", "placeholder", "disabled", "readonly", "required", "min", "max", "step", "autocomplete", "spellcheck", "input-id", "error", "size", "tabindex"])) : _ctx.type === "textarea" ? (openBlock(), createBlock(UiInputTextarea, {
|
|
25603
|
+
key: 1,
|
|
25604
|
+
"model-value": _ctx.modelValue,
|
|
25605
|
+
placeholder: _ctx.placeholder,
|
|
25606
|
+
disabled: _ctx.disabled,
|
|
25607
|
+
readonly: _ctx.readonly,
|
|
25608
|
+
required: props.required,
|
|
25609
|
+
rows: props.rows,
|
|
25610
|
+
cols: props.cols,
|
|
25611
|
+
maxlength: props.maxlength,
|
|
25612
|
+
autocomplete: props.autocomplete,
|
|
25613
|
+
spellcheck: props.spellcheck,
|
|
25614
|
+
resizable: props.resizable,
|
|
25615
|
+
"input-id": inputId.value,
|
|
25616
|
+
error: props.error,
|
|
25617
|
+
size: props.size,
|
|
25618
|
+
tabindex: _ctx.tabindex,
|
|
25619
|
+
"onUpdate:modelValue": handleInput,
|
|
25620
|
+
onBlur: handleBlur,
|
|
25621
|
+
onFocus: handleFocus,
|
|
25622
|
+
onKeydown: handleKeydown
|
|
25623
|
+
}, createSlots({ _: 2 }, [
|
|
25624
|
+
_ctx.$slots["leading-icon"] ? {
|
|
25625
|
+
name: "leading-icon",
|
|
25626
|
+
fn: withCtx(() => [
|
|
25627
|
+
renderSlot(_ctx.$slots, "leading-icon", {}, void 0, true)
|
|
25628
|
+
]),
|
|
25629
|
+
key: "0"
|
|
25630
|
+
} : void 0,
|
|
25631
|
+
_ctx.$slots["trailing-icon"] ? {
|
|
25632
|
+
name: "trailing-icon",
|
|
25633
|
+
fn: withCtx(() => [
|
|
25634
|
+
renderSlot(_ctx.$slots, "trailing-icon", {}, void 0, true)
|
|
25635
|
+
]),
|
|
25636
|
+
key: "1"
|
|
25637
|
+
} : void 0
|
|
25638
|
+
]), 1032, ["model-value", "placeholder", "disabled", "readonly", "required", "rows", "cols", "maxlength", "autocomplete", "spellcheck", "resizable", "input-id", "error", "size", "tabindex"])) : _ctx.type === "select" ? (openBlock(), createBlock(UiInputSelect, {
|
|
25639
|
+
key: 2,
|
|
25640
|
+
"model-value": _ctx.modelValue,
|
|
25641
|
+
options: props.options,
|
|
25642
|
+
placeholder: _ctx.placeholder,
|
|
25643
|
+
disabled: _ctx.disabled,
|
|
25644
|
+
multiple: props.multiple,
|
|
25645
|
+
searchable: props.searchable,
|
|
25646
|
+
"allow-insert": props.allowInsert,
|
|
25647
|
+
"max-dropdown-height": props.maxDropdownHeight,
|
|
25648
|
+
"no-options-text": props.noOptionsText,
|
|
25649
|
+
"search-placeholder": props.searchPlaceholder,
|
|
25650
|
+
"input-id": inputId.value,
|
|
25651
|
+
error: props.error,
|
|
25652
|
+
size: props.size,
|
|
25653
|
+
tabindex: _ctx.tabindex,
|
|
25654
|
+
"onUpdate:modelValue": handleInput,
|
|
25655
|
+
onBlur: handleBlur,
|
|
25656
|
+
onFocus: handleFocus
|
|
25657
|
+
}, createSlots({ _: 2 }, [
|
|
25658
|
+
_ctx.$slots["leading-icon"] ? {
|
|
25659
|
+
name: "leading-icon",
|
|
25660
|
+
fn: withCtx(() => [
|
|
25661
|
+
renderSlot(_ctx.$slots, "leading-icon", {}, void 0, true)
|
|
25662
|
+
]),
|
|
25663
|
+
key: "0"
|
|
25664
|
+
} : void 0,
|
|
25665
|
+
_ctx.$slots["trailing-icon"] ? {
|
|
25666
|
+
name: "trailing-icon",
|
|
25667
|
+
fn: withCtx(() => [
|
|
25668
|
+
renderSlot(_ctx.$slots, "trailing-icon", {}, void 0, true)
|
|
25669
|
+
]),
|
|
25670
|
+
key: "1"
|
|
25671
|
+
} : void 0
|
|
25672
|
+
]), 1032, ["model-value", "options", "placeholder", "disabled", "multiple", "searchable", "allow-insert", "max-dropdown-height", "no-options-text", "search-placeholder", "input-id", "error", "size", "tabindex"])) : _ctx.type === "file" ? (openBlock(), createBlock(UiInputFile, {
|
|
25673
|
+
key: 3,
|
|
25674
|
+
"model-value": _ctx.modelValue,
|
|
25675
|
+
accept: props.accept,
|
|
25676
|
+
multiple: props.multiple,
|
|
25677
|
+
"max-file-size": props.maxFileSize,
|
|
25678
|
+
"drag-drop-text": props.dragDropText,
|
|
25679
|
+
"selected-text": props.selectedText,
|
|
25680
|
+
disabled: _ctx.disabled,
|
|
25681
|
+
required: props.required,
|
|
25682
|
+
"input-id": inputId.value,
|
|
25683
|
+
error: props.error,
|
|
25684
|
+
size: props.size,
|
|
25685
|
+
tabindex: _ctx.tabindex,
|
|
25686
|
+
"onUpdate:modelValue": handleInput,
|
|
25687
|
+
onFileError: handleFileError,
|
|
25688
|
+
onBlur: handleBlur,
|
|
25689
|
+
onFocus: handleFocus
|
|
25690
|
+
}, createSlots({ _: 2 }, [
|
|
25691
|
+
_ctx.$slots["leading-icon"] ? {
|
|
25692
|
+
name: "leading-icon",
|
|
25693
|
+
fn: withCtx(() => [
|
|
25694
|
+
renderSlot(_ctx.$slots, "leading-icon", {}, void 0, true)
|
|
25695
|
+
]),
|
|
25696
|
+
key: "0"
|
|
25697
|
+
} : void 0,
|
|
25698
|
+
_ctx.$slots["trailing-icon"] ? {
|
|
25699
|
+
name: "trailing-icon",
|
|
25700
|
+
fn: withCtx(() => [
|
|
25701
|
+
renderSlot(_ctx.$slots, "trailing-icon", {}, void 0, true)
|
|
25702
|
+
]),
|
|
25703
|
+
key: "1"
|
|
25704
|
+
} : void 0
|
|
25705
|
+
]), 1032, ["model-value", "accept", "multiple", "max-file-size", "drag-drop-text", "selected-text", "disabled", "required", "input-id", "error", "size", "tabindex"])) : _ctx.type === "date" ? (openBlock(), createBlock(_sfc_main$M, {
|
|
25706
|
+
key: 4,
|
|
25707
|
+
"model-value": _ctx.modelValue,
|
|
25708
|
+
placeholder: _ctx.placeholder,
|
|
25709
|
+
disabled: _ctx.disabled,
|
|
25710
|
+
readonly: _ctx.readonly,
|
|
25711
|
+
required: props.required,
|
|
25712
|
+
min: props.min,
|
|
25713
|
+
max: props.max,
|
|
25714
|
+
"input-id": inputId.value,
|
|
25715
|
+
error: props.error,
|
|
25716
|
+
size: props.size,
|
|
25717
|
+
tabindex: _ctx.tabindex,
|
|
25718
|
+
"onUpdate:modelValue": handleInput,
|
|
25719
|
+
onBlur: handleBlur,
|
|
25720
|
+
onFocus: handleFocus
|
|
25721
|
+
}, null, 8, ["model-value", "placeholder", "disabled", "readonly", "required", "min", "max", "input-id", "error", "size", "tabindex"])) : _ctx.type === "time" ? (openBlock(), createBlock(_sfc_main$L, {
|
|
25722
|
+
key: 5,
|
|
25723
|
+
"model-value": _ctx.modelValue,
|
|
25724
|
+
placeholder: _ctx.placeholder,
|
|
25725
|
+
disabled: _ctx.disabled,
|
|
25726
|
+
readonly: _ctx.readonly,
|
|
25727
|
+
required: props.required,
|
|
25728
|
+
"input-id": inputId.value,
|
|
25729
|
+
error: props.error,
|
|
25730
|
+
size: props.size,
|
|
25731
|
+
tabindex: _ctx.tabindex,
|
|
25732
|
+
"onUpdate:modelValue": handleInput,
|
|
25733
|
+
onBlur: handleBlur,
|
|
25734
|
+
onFocus: handleFocus
|
|
25735
|
+
}, null, 8, ["model-value", "placeholder", "disabled", "readonly", "required", "input-id", "error", "size", "tabindex"])) : _ctx.type === "datetime" ? (openBlock(), createBlock(_sfc_main$K, {
|
|
25736
|
+
key: 6,
|
|
25737
|
+
"model-value": _ctx.modelValue,
|
|
25738
|
+
placeholder: _ctx.placeholder,
|
|
25739
|
+
disabled: _ctx.disabled,
|
|
25740
|
+
readonly: _ctx.readonly,
|
|
25741
|
+
required: props.required,
|
|
25742
|
+
min: props.min,
|
|
25743
|
+
max: props.max,
|
|
25744
|
+
"input-id": inputId.value,
|
|
25745
|
+
error: props.error,
|
|
25746
|
+
size: props.size,
|
|
25747
|
+
tabindex: _ctx.tabindex,
|
|
25748
|
+
"onUpdate:modelValue": handleInput,
|
|
25749
|
+
onBlur: handleBlur,
|
|
25750
|
+
onFocus: handleFocus
|
|
25751
|
+
}, null, 8, ["model-value", "placeholder", "disabled", "readonly", "required", "min", "max", "input-id", "error", "size", "tabindex"])) : _ctx.type === "richtext" ? (openBlock(), createBlock(UiInputRichText, {
|
|
25752
|
+
key: 7,
|
|
25753
|
+
"model-value": _ctx.modelValue,
|
|
25754
|
+
placeholder: _ctx.placeholder,
|
|
25755
|
+
disabled: _ctx.disabled,
|
|
25756
|
+
readonly: _ctx.readonly,
|
|
25757
|
+
"input-id": inputId.value,
|
|
25758
|
+
error: props.error,
|
|
25759
|
+
"min-height": props.minHeight,
|
|
25760
|
+
"max-height": props.maxHeight,
|
|
25761
|
+
tabindex: _ctx.tabindex,
|
|
25762
|
+
"onUpdate:modelValue": handleInput,
|
|
25763
|
+
onBlur: handleBlur,
|
|
25764
|
+
onFocus: handleFocus
|
|
25765
|
+
}, null, 8, ["model-value", "placeholder", "disabled", "readonly", "input-id", "error", "min-height", "max-height", "tabindex"])) : _ctx.type === "pincode" ? (openBlock(), createBlock(UiInputPincode, {
|
|
25766
|
+
key: 8,
|
|
25767
|
+
"model-value": _ctx.modelValue,
|
|
25768
|
+
"max-length": props.maxLength || 6,
|
|
25769
|
+
variant: props.variant || "numeric",
|
|
25770
|
+
divider: props.divider,
|
|
25771
|
+
disabled: _ctx.disabled,
|
|
25772
|
+
readonly: _ctx.readonly,
|
|
25773
|
+
"input-id": inputId.value,
|
|
25774
|
+
error: props.error,
|
|
25775
|
+
size: props.size,
|
|
25776
|
+
tabindex: _ctx.tabindex,
|
|
25777
|
+
"onUpdate:modelValue": handleInput,
|
|
25778
|
+
onBlur: handleBlur,
|
|
25779
|
+
onFocus: handleFocus,
|
|
25780
|
+
onComplete: handlePincodeComplete
|
|
25781
|
+
}, createSlots({ _: 2 }, [
|
|
25782
|
+
_ctx.$slots["leading-icon"] ? {
|
|
25783
|
+
name: "leading-icon",
|
|
25784
|
+
fn: withCtx(() => [
|
|
25785
|
+
renderSlot(_ctx.$slots, "leading-icon", {}, void 0, true)
|
|
25786
|
+
]),
|
|
25787
|
+
key: "0"
|
|
25788
|
+
} : void 0,
|
|
25789
|
+
_ctx.$slots["trailing-icon"] ? {
|
|
25790
|
+
name: "trailing-icon",
|
|
25791
|
+
fn: withCtx(() => [
|
|
25792
|
+
renderSlot(_ctx.$slots, "trailing-icon", {}, void 0, true)
|
|
25793
|
+
]),
|
|
25794
|
+
key: "1"
|
|
25795
|
+
} : void 0
|
|
25796
|
+
]), 1032, ["model-value", "max-length", "variant", "divider", "disabled", "readonly", "input-id", "error", "size", "tabindex"])) : createCommentVNode("", true)
|
|
25797
|
+
]),
|
|
25798
|
+
_ctx.$slots["hint"] ? (openBlock(), createElementBlock("div", _hoisted_3$w, [
|
|
25799
|
+
renderSlot(_ctx.$slots, "hint", {}, void 0, true)
|
|
25800
|
+
])) : 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$r, toDisplayString(props.helpText), 1)) : createCommentVNode("", true)
|
|
25750
25802
|
], 2);
|
|
25751
25803
|
};
|
|
25752
25804
|
}
|
|
25753
25805
|
});
|
|
25754
|
-
const StrandsUiInput = /* @__PURE__ */ _export_sfc(_sfc_main$H, [["__scopeId", "data-v-
|
|
25806
|
+
const StrandsUiInput = /* @__PURE__ */ _export_sfc(_sfc_main$H, [["__scopeId", "data-v-1cf1d35b"]]);
|
|
25755
25807
|
const _hoisted_1$D = ["disabled", "aria-disabled"];
|
|
25756
25808
|
const _hoisted_2$y = ["href", "target", "rel", "aria-disabled"];
|
|
25757
25809
|
const _sfc_main$G = /* @__PURE__ */ defineComponent({
|
|
@@ -25949,13 +26001,13 @@ const _hoisted_12$k = ["cx", "cy", "r"];
|
|
|
25949
26001
|
const _hoisted_13$i = ["width", "height"];
|
|
25950
26002
|
const _hoisted_14$i = { class: "crop-svg" };
|
|
25951
26003
|
const _hoisted_15$f = ["cx", "cy", "r"];
|
|
25952
|
-
const _hoisted_16$
|
|
25953
|
-
const _hoisted_17$
|
|
26004
|
+
const _hoisted_16$e = { class: "controls" };
|
|
26005
|
+
const _hoisted_17$d = { class: "zoom-control" };
|
|
25954
26006
|
const _hoisted_18$d = ["min", "max"];
|
|
25955
26007
|
const _hoisted_19$c = { class: "action-buttons" };
|
|
25956
26008
|
const _hoisted_20$a = { class: "preview-section" };
|
|
25957
26009
|
const _hoisted_21$a = { class: "preview-container" };
|
|
25958
|
-
const _hoisted_22$
|
|
26010
|
+
const _hoisted_22$7 = ["width", "height"];
|
|
25959
26011
|
const _sfc_main$E = /* @__PURE__ */ defineComponent({
|
|
25960
26012
|
__name: "UiAvatarEditor",
|
|
25961
26013
|
props: {
|
|
@@ -26324,8 +26376,8 @@ const _sfc_main$E = /* @__PURE__ */ defineComponent({
|
|
|
26324
26376
|
]))
|
|
26325
26377
|
])
|
|
26326
26378
|
]),
|
|
26327
|
-
createElementVNode("div", _hoisted_16$
|
|
26328
|
-
createElementVNode("div", _hoisted_17$
|
|
26379
|
+
createElementVNode("div", _hoisted_16$e, [
|
|
26380
|
+
createElementVNode("div", _hoisted_17$d, [
|
|
26329
26381
|
createVNode(StrandsUiButton, {
|
|
26330
26382
|
onClick: _cache[2] || (_cache[2] = ($event) => {
|
|
26331
26383
|
zoom.value = Math.max(minZoom.value, zoom.value - 0.1);
|
|
@@ -26425,7 +26477,7 @@ const _sfc_main$E = /* @__PURE__ */ defineComponent({
|
|
|
26425
26477
|
width: previewSize.value,
|
|
26426
26478
|
height: previewSize.value,
|
|
26427
26479
|
class: "preview-canvas"
|
|
26428
|
-
}, null, 8, _hoisted_22$
|
|
26480
|
+
}, null, 8, _hoisted_22$7)
|
|
26429
26481
|
]),
|
|
26430
26482
|
_cache[10] || (_cache[10] = createElementVNode("p", { class: "preview-instructions" }, [
|
|
26431
26483
|
createTextVNode(" Drag image to reposition"),
|
|
@@ -28084,8 +28136,8 @@ const _hoisted_12$i = { class: "ui-color-picker-contrast-header" };
|
|
|
28084
28136
|
const _hoisted_13$h = { class: "ui-color-picker-contrast-colors" };
|
|
28085
28137
|
const _hoisted_14$h = { class: "ui-color-picker-contrast-color-demo" };
|
|
28086
28138
|
const _hoisted_15$e = { class: "ui-color-picker-contrast-ratio" };
|
|
28087
|
-
const _hoisted_16$
|
|
28088
|
-
const _hoisted_17$
|
|
28139
|
+
const _hoisted_16$d = { class: "ui-color-picker-contrast-levels" };
|
|
28140
|
+
const _hoisted_17$c = { class: "ui-color-picker-contrast-level-value" };
|
|
28089
28141
|
const _hoisted_18$c = { class: "ui-color-picker-contrast-level-value" };
|
|
28090
28142
|
const _hoisted_19$b = { class: "ui-color-picker-contrast-graph" };
|
|
28091
28143
|
const _hoisted_20$9 = {
|
|
@@ -28093,7 +28145,7 @@ const _hoisted_20$9 = {
|
|
|
28093
28145
|
class: "ui-color-picker-contrast-svg"
|
|
28094
28146
|
};
|
|
28095
28147
|
const _hoisted_21$9 = ["cx", "fill"];
|
|
28096
|
-
const _hoisted_22$
|
|
28148
|
+
const _hoisted_22$6 = { class: "ui-color-picker-inputs" };
|
|
28097
28149
|
const _hoisted_23$5 = {
|
|
28098
28150
|
key: 0,
|
|
28099
28151
|
class: "ui-color-picker-input-row"
|
|
@@ -29890,7 +29942,7 @@ const _sfc_main$B = /* @__PURE__ */ defineComponent({
|
|
|
29890
29942
|
createElementVNode("div", _hoisted_15$e, toDisplayString(contrastData.value.ratio.toFixed(2)) + ":1 ", 1)
|
|
29891
29943
|
])
|
|
29892
29944
|
]),
|
|
29893
|
-
createElementVNode("div", _hoisted_16$
|
|
29945
|
+
createElementVNode("div", _hoisted_16$d, [
|
|
29894
29946
|
createElementVNode("div", {
|
|
29895
29947
|
class: normalizeClass(["ui-color-picker-contrast-level", {
|
|
29896
29948
|
"ui-color-picker-contrast-level--pass": contrastData.value.normalText !== "FAIL",
|
|
@@ -29901,7 +29953,7 @@ const _sfc_main$B = /* @__PURE__ */ defineComponent({
|
|
|
29901
29953
|
createElementVNode("div", { class: "ui-color-picker-contrast-level-line ui-color-picker-contrast-level-line--solid" }),
|
|
29902
29954
|
createElementVNode("span", { class: "ui-color-picker-contrast-level-label" }, "Normal Text")
|
|
29903
29955
|
], -1)),
|
|
29904
|
-
createElementVNode("span", _hoisted_17$
|
|
29956
|
+
createElementVNode("span", _hoisted_17$c, toDisplayString(contrastData.value.normalText), 1)
|
|
29905
29957
|
], 2),
|
|
29906
29958
|
createElementVNode("div", {
|
|
29907
29959
|
class: normalizeClass(["ui-color-picker-contrast-level", {
|
|
@@ -29952,7 +30004,7 @@ const _sfc_main$B = /* @__PURE__ */ defineComponent({
|
|
|
29952
30004
|
style: normalizeStyle({ left: `${alpha2.value * 100}%` })
|
|
29953
30005
|
}, null, 4)
|
|
29954
30006
|
], 544)) : createCommentVNode("", true),
|
|
29955
|
-
createElementVNode("div", _hoisted_22$
|
|
30007
|
+
createElementVNode("div", _hoisted_22$6, [
|
|
29956
30008
|
currentColorFormat.value === "hex" ? (openBlock(), createElementBlock("div", _hoisted_23$5, [
|
|
29957
30009
|
createElementVNode("div", _hoisted_24$5, [
|
|
29958
30010
|
_cache[24] || (_cache[24] = createElementVNode("label", { class: "ui-color-picker-label" }, "Hex", -1)),
|
|
@@ -30685,8 +30737,8 @@ const _hoisted_12$h = { class: "ui-table-body" };
|
|
|
30685
30737
|
const _hoisted_13$g = { class: "ui-table-group-content" };
|
|
30686
30738
|
const _hoisted_14$g = { class: "ui-table-group-name" };
|
|
30687
30739
|
const _hoisted_15$d = { class: "ui-table-group-count" };
|
|
30688
|
-
const _hoisted_16$
|
|
30689
|
-
const _hoisted_17$
|
|
30740
|
+
const _hoisted_16$c = ["onClick"];
|
|
30741
|
+
const _hoisted_17$b = ["onClick"];
|
|
30690
30742
|
const _hoisted_18$b = { key: 1 };
|
|
30691
30743
|
const _hoisted_19$a = { class: "ui-table-subrow-content" };
|
|
30692
30744
|
const _hoisted_20$8 = { class: "ui-table-subrow-default" };
|
|
@@ -30694,7 +30746,7 @@ const _hoisted_21$8 = {
|
|
|
30694
30746
|
key: 0,
|
|
30695
30747
|
class: "ui-table-empty"
|
|
30696
30748
|
};
|
|
30697
|
-
const _hoisted_22$
|
|
30749
|
+
const _hoisted_22$5 = {
|
|
30698
30750
|
key: 1,
|
|
30699
30751
|
class: "ui-table-footer"
|
|
30700
30752
|
};
|
|
@@ -31216,9 +31268,9 @@ const _sfc_main$x = /* @__PURE__ */ defineComponent({
|
|
|
31216
31268
|
} : void 0
|
|
31217
31269
|
]), 1032, ["modelValue", "type", "options", "onUpdate:modelValue"])) : (openBlock(), createElementBlock("span", _hoisted_18$b, toDisplayString(getCellValue(row, column.key, column)), 1))
|
|
31218
31270
|
], true)
|
|
31219
|
-
], 14, _hoisted_17$
|
|
31271
|
+
], 14, _hoisted_17$b);
|
|
31220
31272
|
}), 128))
|
|
31221
|
-
], 10, _hoisted_16$
|
|
31273
|
+
], 10, _hoisted_16$c)),
|
|
31222
31274
|
expandedRows.value.has(rowIndex) ? (openBlock(), createElementBlock("div", {
|
|
31223
31275
|
key: 2,
|
|
31224
31276
|
class: "ui-table-subrow",
|
|
@@ -31245,7 +31297,7 @@ const _sfc_main$x = /* @__PURE__ */ defineComponent({
|
|
|
31245
31297
|
], true)
|
|
31246
31298
|
])) : createCommentVNode("", true)
|
|
31247
31299
|
]),
|
|
31248
|
-
hasFooterSlots.value ? (openBlock(), createElementBlock("div", _hoisted_22$
|
|
31300
|
+
hasFooterSlots.value ? (openBlock(), createElementBlock("div", _hoisted_22$5, [
|
|
31249
31301
|
(openBlock(true), createElementBlock(Fragment$1, null, renderList(internalColumns.value, (column, index) => {
|
|
31250
31302
|
return openBlock(), createElementBlock("div", {
|
|
31251
31303
|
key: `footer-${index}`,
|
|
@@ -32153,13 +32205,13 @@ const _hoisted_13$e = {
|
|
|
32153
32205
|
};
|
|
32154
32206
|
const _hoisted_14$e = ["id", "checked", "indeterminate"];
|
|
32155
32207
|
const _hoisted_15$c = { class: "checkbox-button" };
|
|
32156
|
-
const _hoisted_16$
|
|
32208
|
+
const _hoisted_16$b = {
|
|
32157
32209
|
key: 0,
|
|
32158
32210
|
class: "checkbox-check",
|
|
32159
32211
|
viewBox: "0 0 20 20",
|
|
32160
32212
|
fill: "currentColor"
|
|
32161
32213
|
};
|
|
32162
|
-
const _hoisted_17$
|
|
32214
|
+
const _hoisted_17$a = {
|
|
32163
32215
|
key: 1,
|
|
32164
32216
|
class: "checkbox-indeterminate",
|
|
32165
32217
|
viewBox: "0 0 20 20",
|
|
@@ -32351,13 +32403,13 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent({
|
|
|
32351
32403
|
onChange: handleSelectAll
|
|
32352
32404
|
}, null, 40, _hoisted_14$e),
|
|
32353
32405
|
createElementVNode("div", _hoisted_15$c, [
|
|
32354
|
-
isAllSelected.value ? (openBlock(), createElementBlock("svg", _hoisted_16$
|
|
32406
|
+
isAllSelected.value ? (openBlock(), createElementBlock("svg", _hoisted_16$b, [..._cache[2] || (_cache[2] = [
|
|
32355
32407
|
createElementVNode("path", {
|
|
32356
32408
|
"fill-rule": "evenodd",
|
|
32357
32409
|
d: "M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z",
|
|
32358
32410
|
"clip-rule": "evenodd"
|
|
32359
32411
|
}, null, -1)
|
|
32360
|
-
])])) : isSomeSelected.value ? (openBlock(), createElementBlock("svg", _hoisted_17$
|
|
32412
|
+
])])) : isSomeSelected.value ? (openBlock(), createElementBlock("svg", _hoisted_17$a, [..._cache[3] || (_cache[3] = [
|
|
32361
32413
|
createElementVNode("path", {
|
|
32362
32414
|
"fill-rule": "evenodd",
|
|
32363
32415
|
d: "M4 10a1 1 0 011-1h10a1 1 0 110 2H5a1 1 0 01-1-1z",
|
|
@@ -32757,8 +32809,8 @@ const _hoisted_13$d = {
|
|
|
32757
32809
|
};
|
|
32758
32810
|
const _hoisted_14$d = { class: "mfa-single-method-content" };
|
|
32759
32811
|
const _hoisted_15$b = { class: "mfa-single-method-name" };
|
|
32760
|
-
const _hoisted_16$
|
|
32761
|
-
const _hoisted_17$
|
|
32812
|
+
const _hoisted_16$a = { class: "mfa-single-method-type" };
|
|
32813
|
+
const _hoisted_17$9 = {
|
|
32762
32814
|
key: 2,
|
|
32763
32815
|
class: "mfa-email-request"
|
|
32764
32816
|
};
|
|
@@ -32769,7 +32821,7 @@ const _hoisted_18$9 = {
|
|
|
32769
32821
|
const _hoisted_19$8 = { class: "mfa-hardware-prompt" };
|
|
32770
32822
|
const _hoisted_20$6 = { class: "mfa-hardware-prompt-content" };
|
|
32771
32823
|
const _hoisted_21$6 = { class: "mfa-hardware-prompt-icon" };
|
|
32772
|
-
const _hoisted_22$
|
|
32824
|
+
const _hoisted_22$4 = { class: "mfa-hardware-prompt-text" };
|
|
32773
32825
|
const _hoisted_23$4 = { class: "mfa-hardware-prompt-title" };
|
|
32774
32826
|
const _hoisted_24$4 = { class: "mfa-hardware-prompt-description" };
|
|
32775
32827
|
const _hoisted_25$4 = { class: "mfa-backup-option" };
|
|
@@ -33246,11 +33298,11 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
|
|
|
33246
33298
|
})),
|
|
33247
33299
|
createElementVNode("div", null, [
|
|
33248
33300
|
createElementVNode("h3", _hoisted_15$b, toDisplayString(selectedMethod.value.device_name), 1),
|
|
33249
|
-
createElementVNode("p", _hoisted_16$
|
|
33301
|
+
createElementVNode("p", _hoisted_16$a, toDisplayString(unref(getDeviceTypeName)(selectedMethod.value.device_type)), 1)
|
|
33250
33302
|
])
|
|
33251
33303
|
])
|
|
33252
33304
|
])) : createCommentVNode("", true),
|
|
33253
|
-
selectedMethod.value?.device_type === "email" && !emailCodeSent.value ? (openBlock(), createElementBlock("div", _hoisted_17$
|
|
33305
|
+
selectedMethod.value?.device_type === "email" && !emailCodeSent.value ? (openBlock(), createElementBlock("div", _hoisted_17$9, [
|
|
33254
33306
|
_cache[10] || (_cache[10] = createElementVNode("p", { class: "mfa-email-request-text" }, "Click below to receive your verification code", -1)),
|
|
33255
33307
|
createVNode(unref(CompoundUiButton), {
|
|
33256
33308
|
variant: "primary",
|
|
@@ -33273,7 +33325,7 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
|
|
|
33273
33325
|
class: "mfa-hardware-icon-svg"
|
|
33274
33326
|
}))
|
|
33275
33327
|
]),
|
|
33276
|
-
createElementVNode("div", _hoisted_22$
|
|
33328
|
+
createElementVNode("div", _hoisted_22$4, [
|
|
33277
33329
|
createElementVNode("h4", _hoisted_23$4, toDisplayString(selectedMethod.value.device_type === "passkey" ? "Use your passkey" : "Touch your hardware key"), 1),
|
|
33278
33330
|
createElementVNode("p", _hoisted_24$4, toDisplayString(selectedMethod.value.device_type === "passkey" ? "Use biometrics, PIN, or device security to authenticate" : "Insert and touch your hardware key to authenticate"), 1)
|
|
33279
33331
|
])
|
|
@@ -33742,8 +33794,8 @@ const _hoisted_14$c = {
|
|
|
33742
33794
|
class: "auth-oauth-generic-icon"
|
|
33743
33795
|
};
|
|
33744
33796
|
const _hoisted_15$a = { class: "auth-oauth-generic-text" };
|
|
33745
|
-
const _hoisted_16$
|
|
33746
|
-
const _hoisted_17$
|
|
33797
|
+
const _hoisted_16$9 = { class: "auth-oauth-text" };
|
|
33798
|
+
const _hoisted_17$8 = {
|
|
33747
33799
|
key: 0,
|
|
33748
33800
|
class: "auth-divider"
|
|
33749
33801
|
};
|
|
@@ -33752,12 +33804,11 @@ const _hoisted_19$7 = {
|
|
|
33752
33804
|
key: 0,
|
|
33753
33805
|
class: "auth-password-field"
|
|
33754
33806
|
};
|
|
33755
|
-
const _hoisted_20$5 = {
|
|
33756
|
-
const _hoisted_21$5 = {
|
|
33807
|
+
const _hoisted_20$5 = {
|
|
33757
33808
|
key: 0,
|
|
33758
33809
|
class: "auth-back-link-container"
|
|
33759
33810
|
};
|
|
33760
|
-
const
|
|
33811
|
+
const _hoisted_21$5 = { class: "auth-support-text" };
|
|
33761
33812
|
const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
33762
33813
|
__name: "StrandsAuth",
|
|
33763
33814
|
props: {
|
|
@@ -34129,7 +34180,7 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
|
34129
34180
|
createElementVNode("span", _hoisted_15$a, toDisplayString((provider.displayName || provider.name).charAt(0).toUpperCase()), 1)
|
|
34130
34181
|
]))
|
|
34131
34182
|
]),
|
|
34132
|
-
createElementVNode("span", _hoisted_16$
|
|
34183
|
+
createElementVNode("span", _hoisted_16$9, " Continue with " + toDisplayString(provider.displayName || provider.name.charAt(0).toUpperCase() + provider.name.slice(1)), 1)
|
|
34133
34184
|
]),
|
|
34134
34185
|
_: 2
|
|
34135
34186
|
}, 1032, ["disabled", "onClick"]);
|
|
@@ -34147,7 +34198,7 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
|
34147
34198
|
onAfterLeave
|
|
34148
34199
|
}, {
|
|
34149
34200
|
default: withCtx(() => [
|
|
34150
|
-
!isPasswordReset.value && displayProviders.value?.length ? (openBlock(), createElementBlock("div", _hoisted_17$
|
|
34201
|
+
!isPasswordReset.value && displayProviders.value?.length ? (openBlock(), createElementBlock("div", _hoisted_17$8, [
|
|
34151
34202
|
createElementVNode("span", _hoisted_18$8, "Or " + toDisplayString(isSignUp.value ? "create account" : "sign in") + " with email", 1)
|
|
34152
34203
|
])) : createCommentVNode("", true)
|
|
34153
34204
|
]),
|
|
@@ -34182,28 +34233,30 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
|
34182
34233
|
}, {
|
|
34183
34234
|
default: withCtx(() => [
|
|
34184
34235
|
!isPasswordReset.value && !isSignUp.value ? (openBlock(), createElementBlock("div", _hoisted_19$7, [
|
|
34185
|
-
createElementVNode("div", _hoisted_20$5, [
|
|
34186
|
-
_cache[10] || (_cache[10] = createElementVNode("span", { class: "auth-password-label" }, "Password", -1)),
|
|
34187
|
-
createVNode(unref(StrandsUiLink), {
|
|
34188
|
-
variant: "primary",
|
|
34189
|
-
size: "sm",
|
|
34190
|
-
onClick: _cache[2] || (_cache[2] = ($event) => currentMode.value = "reset-password")
|
|
34191
|
-
}, {
|
|
34192
|
-
default: withCtx(() => [..._cache[9] || (_cache[9] = [
|
|
34193
|
-
createTextVNode(" Forgot password? ", -1)
|
|
34194
|
-
])]),
|
|
34195
|
-
_: 1
|
|
34196
|
-
})
|
|
34197
|
-
]),
|
|
34198
34236
|
createVNode(unref(StrandsUiInput), {
|
|
34199
34237
|
modelValue: form.password,
|
|
34200
34238
|
"onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => form.password = $event),
|
|
34201
34239
|
type: "password",
|
|
34240
|
+
label: "Password",
|
|
34202
34241
|
placeholder: "Enter your password",
|
|
34203
34242
|
required: "",
|
|
34204
34243
|
autocomplete: "current-password",
|
|
34205
34244
|
error: error.value && !form.password ? "Password is required" : ""
|
|
34206
|
-
},
|
|
34245
|
+
}, {
|
|
34246
|
+
hint: withCtx(() => [
|
|
34247
|
+
createVNode(unref(StrandsUiLink), {
|
|
34248
|
+
variant: "primary",
|
|
34249
|
+
size: "sm",
|
|
34250
|
+
onClick: _cache[2] || (_cache[2] = ($event) => currentMode.value = "reset-password")
|
|
34251
|
+
}, {
|
|
34252
|
+
default: withCtx(() => [..._cache[9] || (_cache[9] = [
|
|
34253
|
+
createTextVNode(" Forgot password? ", -1)
|
|
34254
|
+
])]),
|
|
34255
|
+
_: 1
|
|
34256
|
+
})
|
|
34257
|
+
]),
|
|
34258
|
+
_: 1
|
|
34259
|
+
}, 8, ["modelValue", "error"])
|
|
34207
34260
|
])) : createCommentVNode("", true)
|
|
34208
34261
|
]),
|
|
34209
34262
|
_: 1
|
|
@@ -34246,12 +34299,12 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
|
34246
34299
|
onAfterLeave
|
|
34247
34300
|
}, {
|
|
34248
34301
|
default: withCtx(() => [
|
|
34249
|
-
isPasswordReset.value ? (openBlock(), createElementBlock("div",
|
|
34302
|
+
isPasswordReset.value ? (openBlock(), createElementBlock("div", _hoisted_20$5, [
|
|
34250
34303
|
createVNode(unref(StrandsUiLink), {
|
|
34251
34304
|
onClick: _cache[4] || (_cache[4] = ($event) => currentMode.value = "signin"),
|
|
34252
34305
|
class: "auth-back-link"
|
|
34253
34306
|
}, {
|
|
34254
|
-
default: withCtx(() => [..._cache[
|
|
34307
|
+
default: withCtx(() => [..._cache[10] || (_cache[10] = [
|
|
34255
34308
|
createElementVNode("svg", {
|
|
34256
34309
|
class: "auth-back-icon",
|
|
34257
34310
|
fill: "none",
|
|
@@ -34290,13 +34343,13 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
|
34290
34343
|
name: "support-fade"
|
|
34291
34344
|
}, {
|
|
34292
34345
|
default: withCtx(() => [
|
|
34293
|
-
createElementVNode("p",
|
|
34294
|
-
_cache[
|
|
34346
|
+
createElementVNode("p", _hoisted_21$5, [
|
|
34347
|
+
_cache[12] || (_cache[12] = createTextVNode(" Need help? ", -1)),
|
|
34295
34348
|
createVNode(unref(StrandsUiLink), {
|
|
34296
34349
|
variant: "primary",
|
|
34297
34350
|
href: `mailto:${unref(getSupportEmail)()}`
|
|
34298
34351
|
}, {
|
|
34299
|
-
default: withCtx(() => [..._cache[
|
|
34352
|
+
default: withCtx(() => [..._cache[11] || (_cache[11] = [
|
|
34300
34353
|
createTextVNode(" Contact Support ", -1)
|
|
34301
34354
|
])]),
|
|
34302
34355
|
_: 1
|
|
@@ -34323,7 +34376,7 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
|
34323
34376
|
};
|
|
34324
34377
|
}
|
|
34325
34378
|
});
|
|
34326
|
-
const StrandsAuth = /* @__PURE__ */ _export_sfc(_sfc_main$n, [["__scopeId", "data-v-
|
|
34379
|
+
const StrandsAuth = /* @__PURE__ */ _export_sfc(_sfc_main$n, [["__scopeId", "data-v-00363795"]]);
|
|
34327
34380
|
const _hoisted_1$k = {
|
|
34328
34381
|
viewBox: "0 0 24 24",
|
|
34329
34382
|
class: "accui-w-5 accui-h-5"
|
|
@@ -34394,8 +34447,8 @@ const _hoisted_13$b = {
|
|
|
34394
34447
|
};
|
|
34395
34448
|
const _hoisted_14$b = { class: "accui-form-group" };
|
|
34396
34449
|
const _hoisted_15$9 = { class: "accui-input-wrapper" };
|
|
34397
|
-
const _hoisted_16$
|
|
34398
|
-
const _hoisted_17$
|
|
34450
|
+
const _hoisted_16$8 = { class: "accui-form-group" };
|
|
34451
|
+
const _hoisted_17$7 = { class: "accui-input-wrapper" };
|
|
34399
34452
|
const _hoisted_18$7 = { class: "accui-auth-links" };
|
|
34400
34453
|
const _hoisted_19$6 = { class: "accui-auth-link-text" };
|
|
34401
34454
|
const _sfc_main$k = /* @__PURE__ */ defineComponent({
|
|
@@ -34565,9 +34618,9 @@ const _sfc_main$k = /* @__PURE__ */ defineComponent({
|
|
|
34565
34618
|
])
|
|
34566
34619
|
])
|
|
34567
34620
|
]),
|
|
34568
|
-
createElementVNode("div", _hoisted_16$
|
|
34621
|
+
createElementVNode("div", _hoisted_16$8, [
|
|
34569
34622
|
_cache[11] || (_cache[11] = createElementVNode("label", { class: "accui-form-label" }, "Password", -1)),
|
|
34570
|
-
createElementVNode("div", _hoisted_17$
|
|
34623
|
+
createElementVNode("div", _hoisted_17$7, [
|
|
34571
34624
|
_cache[10] || (_cache[10] = createElementVNode("svg", {
|
|
34572
34625
|
class: "accui-input-icon",
|
|
34573
34626
|
viewBox: "0 0 20 20",
|
|
@@ -34684,8 +34737,8 @@ const _hoisted_15$8 = {
|
|
|
34684
34737
|
key: 0,
|
|
34685
34738
|
class: "oauth-icon"
|
|
34686
34739
|
};
|
|
34687
|
-
const _hoisted_16$
|
|
34688
|
-
const _hoisted_17$
|
|
34740
|
+
const _hoisted_16$7 = ["src", "alt"];
|
|
34741
|
+
const _hoisted_17$6 = {
|
|
34689
34742
|
key: 1,
|
|
34690
34743
|
viewBox: "0 0 24 24",
|
|
34691
34744
|
class: "oauth-icon"
|
|
@@ -34898,8 +34951,8 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
|
|
|
34898
34951
|
class: "oauth-icon-image",
|
|
34899
34952
|
width: "20",
|
|
34900
34953
|
height: "20"
|
|
34901
|
-
}, null, 8, _hoisted_16$
|
|
34902
|
-
])) : provider.id === "google" ? (openBlock(), createElementBlock("svg", _hoisted_17$
|
|
34954
|
+
}, null, 8, _hoisted_16$7)
|
|
34955
|
+
])) : provider.id === "google" ? (openBlock(), createElementBlock("svg", _hoisted_17$6, [..._cache[6] || (_cache[6] = [
|
|
34903
34956
|
createElementVNode("path", {
|
|
34904
34957
|
fill: "#4285F4",
|
|
34905
34958
|
d: "M22.56 12.25c0-.78-.07-1.53-.2-2.25H12v4.26h5.92c-.26 1.37-1.04 2.53-2.21 3.31v2.77h3.57c2.08-1.92 3.28-4.74 3.28-8.09z"
|
|
@@ -35406,8 +35459,8 @@ const _hoisted_14$8 = {
|
|
|
35406
35459
|
class: "totp-setup-step"
|
|
35407
35460
|
};
|
|
35408
35461
|
const _hoisted_15$7 = { class: "totp-setup-backup-codes" };
|
|
35409
|
-
const _hoisted_16$
|
|
35410
|
-
const _hoisted_17$
|
|
35462
|
+
const _hoisted_16$6 = { class: "totp-setup-backup-grid-wrapper" };
|
|
35463
|
+
const _hoisted_17$5 = { class: "totp-setup-backup-grid" };
|
|
35411
35464
|
const _hoisted_18$5 = { class: "totp-setup-backup-actions" };
|
|
35412
35465
|
const _hoisted_19$4 = { class: "totp-setup-final-actions" };
|
|
35413
35466
|
const _sfc_main$h = /* @__PURE__ */ defineComponent({
|
|
@@ -35692,8 +35745,8 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
|
|
|
35692
35745
|
createElementVNode("p", { class: "totp-setup-backup-header-description" }, " Store these codes in a safe place. Each code can only be used once. ")
|
|
35693
35746
|
])
|
|
35694
35747
|
], -1)),
|
|
35695
|
-
createElementVNode("div", _hoisted_16$
|
|
35696
|
-
createElementVNode("div", _hoisted_17$
|
|
35748
|
+
createElementVNode("div", _hoisted_16$6, [
|
|
35749
|
+
createElementVNode("div", _hoisted_17$5, [
|
|
35697
35750
|
(openBlock(true), createElementBlock(Fragment$1, null, renderList(totpSetupData.value?.backup_codes, (code, index) => {
|
|
35698
35751
|
return openBlock(), createElementBlock("div", {
|
|
35699
35752
|
key: index,
|
|
@@ -36083,8 +36136,8 @@ const _hoisted_12$7 = {
|
|
|
36083
36136
|
const _hoisted_13$7 = { class: "hardware-key-setup-backup-codes" };
|
|
36084
36137
|
const _hoisted_14$7 = { class: "hardware-key-setup-codes-container" };
|
|
36085
36138
|
const _hoisted_15$6 = { class: "hardware-key-setup-codes-grid" };
|
|
36086
|
-
const _hoisted_16$
|
|
36087
|
-
const _hoisted_17$
|
|
36139
|
+
const _hoisted_16$5 = { class: "hardware-key-setup-copy-action" };
|
|
36140
|
+
const _hoisted_17$4 = { class: "hardware-key-setup-final-action" };
|
|
36088
36141
|
const _hoisted_18$4 = {
|
|
36089
36142
|
key: 4,
|
|
36090
36143
|
class: "hardware-key-setup-step"
|
|
@@ -36545,7 +36598,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
|
|
|
36545
36598
|
}), 128))
|
|
36546
36599
|
])
|
|
36547
36600
|
]),
|
|
36548
|
-
createElementVNode("div", _hoisted_16$
|
|
36601
|
+
createElementVNode("div", _hoisted_16$5, [
|
|
36549
36602
|
createVNode(unref(CompoundUiButton), {
|
|
36550
36603
|
variant: "secondary",
|
|
36551
36604
|
size: "sm",
|
|
@@ -36558,7 +36611,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
|
|
|
36558
36611
|
})
|
|
36559
36612
|
])
|
|
36560
36613
|
]),
|
|
36561
|
-
createElementVNode("div", _hoisted_17$
|
|
36614
|
+
createElementVNode("div", _hoisted_17$4, [
|
|
36562
36615
|
createVNode(unref(CompoundUiButton), {
|
|
36563
36616
|
variant: "primary",
|
|
36564
36617
|
onClick: finish
|
|
@@ -36645,7 +36698,7 @@ const _hoisted_14$6 = {
|
|
|
36645
36698
|
class: "backup-codes-regenerate-warning"
|
|
36646
36699
|
};
|
|
36647
36700
|
const _hoisted_15$5 = { class: "backup-codes-regenerate-content" };
|
|
36648
|
-
const _hoisted_16$
|
|
36701
|
+
const _hoisted_16$4 = { class: "backup-codes-regenerate-actions" };
|
|
36649
36702
|
const _sfc_main$e = /* @__PURE__ */ defineComponent({
|
|
36650
36703
|
__name: "StrandsBackupCodesModal",
|
|
36651
36704
|
props: {
|
|
@@ -36856,7 +36909,7 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
|
|
|
36856
36909
|
createElementVNode("div", null, [
|
|
36857
36910
|
_cache[11] || (_cache[11] = createElementVNode("p", { class: "backup-codes-regenerate-title" }, "Regenerate Backup Codes?", -1)),
|
|
36858
36911
|
_cache[12] || (_cache[12] = createElementVNode("p", { class: "backup-codes-regenerate-description" }, " This will invalidate all current backup codes. Make sure to save the new ones. ", -1)),
|
|
36859
|
-
createElementVNode("div", _hoisted_16$
|
|
36912
|
+
createElementVNode("div", _hoisted_16$4, [
|
|
36860
36913
|
createVNode(unref(CompoundUiButton), {
|
|
36861
36914
|
variant: "primary",
|
|
36862
36915
|
size: "sm",
|
|
@@ -36999,8 +37052,8 @@ const _hoisted_12$5 = { class: "mfa-device-option" };
|
|
|
36999
37052
|
const _hoisted_13$5 = { class: "mfa-device-option-content" };
|
|
37000
37053
|
const _hoisted_14$5 = { class: "mfa-device-option-icon" };
|
|
37001
37054
|
const _hoisted_15$4 = { class: "mfa-device-option" };
|
|
37002
|
-
const _hoisted_16$
|
|
37003
|
-
const _hoisted_17$
|
|
37055
|
+
const _hoisted_16$3 = { class: "mfa-device-option-content" };
|
|
37056
|
+
const _hoisted_17$3 = { class: "mfa-device-option-icon" };
|
|
37004
37057
|
const _hoisted_18$3 = { class: "mfa-device-option" };
|
|
37005
37058
|
const _hoisted_19$2 = { class: "mfa-device-option-content" };
|
|
37006
37059
|
const _hoisted_20$2 = { class: "mfa-device-option-icon" };
|
|
@@ -37273,8 +37326,8 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
|
|
|
37273
37326
|
})
|
|
37274
37327
|
]),
|
|
37275
37328
|
createElementVNode("div", _hoisted_15$4, [
|
|
37276
|
-
createElementVNode("div", _hoisted_16$
|
|
37277
|
-
createElementVNode("div", _hoisted_17$
|
|
37329
|
+
createElementVNode("div", _hoisted_16$3, [
|
|
37330
|
+
createElementVNode("div", _hoisted_17$3, [
|
|
37278
37331
|
createVNode(Mail, { size: 24 })
|
|
37279
37332
|
]),
|
|
37280
37333
|
_cache[16] || (_cache[16] = createElementVNode("div", { class: "mfa-device-option-info" }, [
|
|
@@ -37742,11 +37795,11 @@ const _hoisted_12$3 = { class: "sessions-list" };
|
|
|
37742
37795
|
const _hoisted_13$3 = { class: "session-header" };
|
|
37743
37796
|
const _hoisted_14$3 = { class: "session-device-info" };
|
|
37744
37797
|
const _hoisted_15$3 = { class: "session-device-name" };
|
|
37745
|
-
const _hoisted_16$
|
|
37798
|
+
const _hoisted_16$2 = {
|
|
37746
37799
|
key: 0,
|
|
37747
37800
|
class: "session-current-badge"
|
|
37748
37801
|
};
|
|
37749
|
-
const _hoisted_17$
|
|
37802
|
+
const _hoisted_17$2 = { class: "session-location" };
|
|
37750
37803
|
const _hoisted_18$2 = {
|
|
37751
37804
|
key: 0,
|
|
37752
37805
|
class: "session-actions"
|
|
@@ -38022,9 +38075,9 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
|
|
|
38022
38075
|
createElementVNode("div", _hoisted_14$3, [
|
|
38023
38076
|
createElementVNode("h4", _hoisted_15$3, [
|
|
38024
38077
|
createTextVNode(toDisplayString(getDeviceName(session)) + " ", 1),
|
|
38025
|
-
session.is_current ? (openBlock(), createElementBlock("span", _hoisted_16$
|
|
38078
|
+
session.is_current ? (openBlock(), createElementBlock("span", _hoisted_16$2, " Current ")) : createCommentVNode("", true)
|
|
38026
38079
|
]),
|
|
38027
|
-
createElementVNode("div", _hoisted_17$
|
|
38080
|
+
createElementVNode("div", _hoisted_17$2, [
|
|
38028
38081
|
createVNode(MapPin, { size: 14 }),
|
|
38029
38082
|
createElementVNode("span", null, toDisplayString(getLocationString(session)), 1)
|
|
38030
38083
|
])
|
|
@@ -38124,11 +38177,11 @@ const _hoisted_12$2 = { class: "profile-section" };
|
|
|
38124
38177
|
const _hoisted_13$2 = { class: "profile-setting-card" };
|
|
38125
38178
|
const _hoisted_14$2 = { class: "profile-setting-header" };
|
|
38126
38179
|
const _hoisted_15$2 = { class: "profile-setting-subtitle" };
|
|
38127
|
-
const _hoisted_16$
|
|
38180
|
+
const _hoisted_16$1 = {
|
|
38128
38181
|
key: 0,
|
|
38129
38182
|
class: "profile-change-form"
|
|
38130
38183
|
};
|
|
38131
|
-
const _hoisted_17$
|
|
38184
|
+
const _hoisted_17$1 = { class: "profile-field-section" };
|
|
38132
38185
|
const _hoisted_18$1 = { class: "profile-field-header" };
|
|
38133
38186
|
const _hoisted_19 = { class: "profile-field-subtitle" };
|
|
38134
38187
|
const _hoisted_20 = {
|
|
@@ -38960,7 +39013,7 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
|
|
|
38960
39013
|
]),
|
|
38961
39014
|
createVNode(Transition, { name: "expand" }, {
|
|
38962
39015
|
default: withCtx(() => [
|
|
38963
|
-
showEmailChange.value ? (openBlock(), createElementBlock("div", _hoisted_16$
|
|
39016
|
+
showEmailChange.value ? (openBlock(), createElementBlock("div", _hoisted_16$1, [
|
|
38964
39017
|
createVNode(unref(StrandsUiInput), {
|
|
38965
39018
|
modelValue: emailChangeForm.newEmail,
|
|
38966
39019
|
"onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => emailChangeForm.newEmail = $event),
|
|
@@ -38993,7 +39046,7 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
|
|
|
38993
39046
|
_: 1
|
|
38994
39047
|
})
|
|
38995
39048
|
]),
|
|
38996
|
-
createElementVNode("div", _hoisted_17$
|
|
39049
|
+
createElementVNode("div", _hoisted_17$1, [
|
|
38997
39050
|
createElementVNode("div", _hoisted_18$1, [
|
|
38998
39051
|
createElementVNode("div", null, [
|
|
38999
39052
|
_cache[16] || (_cache[16] = createElementVNode("h4", { class: "profile-field-title" }, "Username", -1)),
|
|
@@ -39705,35 +39758,33 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
|
39705
39758
|
};
|
|
39706
39759
|
}
|
|
39707
39760
|
});
|
|
39708
|
-
const _hoisted_1$3 = {
|
|
39709
|
-
const _hoisted_2$2 = {
|
|
39761
|
+
const _hoisted_1$3 = {
|
|
39710
39762
|
key: 0,
|
|
39711
39763
|
class: "user-info"
|
|
39712
39764
|
};
|
|
39713
|
-
const
|
|
39714
|
-
const
|
|
39715
|
-
const
|
|
39716
|
-
const
|
|
39717
|
-
const _hoisted_7$1 = {
|
|
39765
|
+
const _hoisted_2$2 = { class: "user-name" };
|
|
39766
|
+
const _hoisted_3$2 = { class: "avatar-wrapper" };
|
|
39767
|
+
const _hoisted_4$2 = ["src", "alt"];
|
|
39768
|
+
const _hoisted_5$1 = {
|
|
39718
39769
|
key: 1,
|
|
39719
39770
|
class: "avatar-default"
|
|
39720
39771
|
};
|
|
39721
|
-
const
|
|
39722
|
-
const
|
|
39723
|
-
const
|
|
39724
|
-
const
|
|
39772
|
+
const _hoisted_6$1 = ["onKeydown"];
|
|
39773
|
+
const _hoisted_7$1 = { class: "dropdown-content" };
|
|
39774
|
+
const _hoisted_8$1 = { class: "dropdown-header" };
|
|
39775
|
+
const _hoisted_9$1 = {
|
|
39725
39776
|
key: 0,
|
|
39726
39777
|
class: "dropdown-avatar-container"
|
|
39727
39778
|
};
|
|
39728
|
-
const
|
|
39729
|
-
const
|
|
39779
|
+
const _hoisted_10$1 = ["src", "alt"];
|
|
39780
|
+
const _hoisted_11$1 = {
|
|
39730
39781
|
key: 1,
|
|
39731
39782
|
class: "dropdown-avatar-default"
|
|
39732
39783
|
};
|
|
39733
|
-
const
|
|
39734
|
-
const
|
|
39735
|
-
const
|
|
39736
|
-
const
|
|
39784
|
+
const _hoisted_12$1 = { class: "dropdown-user-details" };
|
|
39785
|
+
const _hoisted_13$1 = { class: "dropdown-user-name" };
|
|
39786
|
+
const _hoisted_14$1 = { class: "dropdown-user-email" };
|
|
39787
|
+
const _hoisted_15$1 = { class: "sign-in-auth-wrapper" };
|
|
39737
39788
|
const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
39738
39789
|
__name: "StrandsUserButton",
|
|
39739
39790
|
props: {
|
|
@@ -39852,7 +39903,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
39852
39903
|
onClick: openSignIn,
|
|
39853
39904
|
"aria-label": "Sign in"
|
|
39854
39905
|
}, {
|
|
39855
|
-
|
|
39906
|
+
"leading-icon": withCtx(() => [..._cache[8] || (_cache[8] = [
|
|
39856
39907
|
createElementVNode("svg", {
|
|
39857
39908
|
class: "sign-in-icon",
|
|
39858
39909
|
fill: "none",
|
|
@@ -39865,9 +39916,11 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
39865
39916
|
"stroke-width": "2",
|
|
39866
39917
|
d: "M11 16l-4-4m0 0l4-4m-4 4h14m-5 4v1a3 3 0 01-3 3H6a3 3 0 01-3-3V7a3 3 0 013-3h7a3 3 0 013 3v1"
|
|
39867
39918
|
})
|
|
39868
|
-
], -1)
|
|
39869
|
-
createElementVNode("span", null, "Sign In", -1)
|
|
39919
|
+
], -1)
|
|
39870
39920
|
])]),
|
|
39921
|
+
default: withCtx(() => [
|
|
39922
|
+
_cache[9] || (_cache[9] = createTextVNode(" Sign In ", -1))
|
|
39923
|
+
]),
|
|
39871
39924
|
_: 1
|
|
39872
39925
|
}),
|
|
39873
39926
|
createVNode(unref(UiModal), {
|
|
@@ -39876,7 +39929,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
39876
39929
|
"fullscreen-on-mobile": false
|
|
39877
39930
|
}, {
|
|
39878
39931
|
default: withCtx(() => [
|
|
39879
|
-
createElementVNode("div",
|
|
39932
|
+
createElementVNode("div", _hoisted_15$1, [
|
|
39880
39933
|
createVNode(unref(StrandsAuth), {
|
|
39881
39934
|
onSignedIn: handleSignedIn,
|
|
39882
39935
|
onError: handleSignInError,
|
|
@@ -39911,51 +39964,51 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
39911
39964
|
"aria-expanded": showDropdown.value,
|
|
39912
39965
|
"aria-label": "User menu"
|
|
39913
39966
|
}, {
|
|
39914
|
-
|
|
39915
|
-
createElementVNode("div",
|
|
39916
|
-
|
|
39917
|
-
|
|
39918
|
-
|
|
39919
|
-
|
|
39920
|
-
|
|
39921
|
-
|
|
39922
|
-
|
|
39923
|
-
|
|
39924
|
-
|
|
39925
|
-
|
|
39926
|
-
|
|
39927
|
-
|
|
39928
|
-
|
|
39929
|
-
|
|
39930
|
-
|
|
39931
|
-
|
|
39932
|
-
|
|
39933
|
-
|
|
39934
|
-
|
|
39935
|
-
|
|
39936
|
-
|
|
39937
|
-
d: "M10 9a3 3 0 100-6 3 3 0 000 6zm-7 9a7 7 0 1114 0H3z",
|
|
39938
|
-
"clip-rule": "evenodd"
|
|
39939
|
-
})
|
|
39940
|
-
], -1)
|
|
39941
|
-
])]))
|
|
39942
|
-
])
|
|
39943
|
-
]),
|
|
39944
|
-
(openBlock(), createElementBlock("svg", {
|
|
39945
|
-
class: normalizeClass(["dropdown-arrow", { "dropdown-arrow-open": showDropdown.value }]),
|
|
39946
|
-
fill: "none",
|
|
39947
|
-
stroke: "currentColor",
|
|
39948
|
-
viewBox: "0 0 24 24"
|
|
39949
|
-
}, [..._cache[3] || (_cache[3] = [
|
|
39950
|
-
createElementVNode("path", {
|
|
39951
|
-
"stroke-linecap": "round",
|
|
39952
|
-
"stroke-linejoin": "round",
|
|
39953
|
-
"stroke-width": "2",
|
|
39954
|
-
d: "M19 9l-7 7-7-7"
|
|
39955
|
-
}, null, -1)
|
|
39956
|
-
])], 2))
|
|
39967
|
+
"leading-icon": withCtx(() => [
|
|
39968
|
+
createElementVNode("div", _hoisted_3$2, [
|
|
39969
|
+
user.value?.avatar ? (openBlock(), createElementBlock("img", {
|
|
39970
|
+
key: 0,
|
|
39971
|
+
src: user.value.avatar,
|
|
39972
|
+
alt: `${user.value.firstName || user.value.email}'s avatar`,
|
|
39973
|
+
class: "avatar-image",
|
|
39974
|
+
width: "32",
|
|
39975
|
+
height: "32",
|
|
39976
|
+
loading: "eager"
|
|
39977
|
+
}, null, 8, _hoisted_4$2)) : (openBlock(), createElementBlock("div", _hoisted_5$1, [..._cache[2] || (_cache[2] = [
|
|
39978
|
+
createElementVNode("svg", {
|
|
39979
|
+
class: "avatar-icon",
|
|
39980
|
+
fill: "currentColor",
|
|
39981
|
+
viewBox: "0 0 20 20"
|
|
39982
|
+
}, [
|
|
39983
|
+
createElementVNode("path", {
|
|
39984
|
+
"fill-rule": "evenodd",
|
|
39985
|
+
d: "M10 9a3 3 0 100-6 3 3 0 000 6zm-7 9a7 7 0 1114 0H3z",
|
|
39986
|
+
"clip-rule": "evenodd"
|
|
39987
|
+
})
|
|
39988
|
+
], -1)
|
|
39989
|
+
])]))
|
|
39957
39990
|
])
|
|
39958
39991
|
]),
|
|
39992
|
+
"trailing-icon": withCtx(() => [
|
|
39993
|
+
(openBlock(), createElementBlock("svg", {
|
|
39994
|
+
class: normalizeClass(["dropdown-arrow", { "dropdown-arrow-open": showDropdown.value }]),
|
|
39995
|
+
fill: "none",
|
|
39996
|
+
stroke: "currentColor",
|
|
39997
|
+
viewBox: "0 0 24 24"
|
|
39998
|
+
}, [..._cache[3] || (_cache[3] = [
|
|
39999
|
+
createElementVNode("path", {
|
|
40000
|
+
"stroke-linecap": "round",
|
|
40001
|
+
"stroke-linejoin": "round",
|
|
40002
|
+
"stroke-width": "2",
|
|
40003
|
+
d: "M19 9l-7 7-7-7"
|
|
40004
|
+
}, null, -1)
|
|
40005
|
+
])], 2))
|
|
40006
|
+
]),
|
|
40007
|
+
default: withCtx(() => [
|
|
40008
|
+
!_ctx.hideUser ? (openBlock(), createElementBlock("div", _hoisted_1$3, [
|
|
40009
|
+
createElementVNode("div", _hoisted_2$2, toDisplayString(displayName.value), 1)
|
|
40010
|
+
])) : createCommentVNode("", true)
|
|
40011
|
+
]),
|
|
39959
40012
|
_: 1
|
|
39960
40013
|
}, 8, ["active", "onKeydown", "aria-expanded"]),
|
|
39961
40014
|
(openBlock(), createBlock(Teleport, { to: "body" }, [
|
|
@@ -39975,9 +40028,9 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
39975
40028
|
withKeys(withModifiers(focusLast, ["prevent"]), ["end"])
|
|
39976
40029
|
]
|
|
39977
40030
|
}, [
|
|
39978
|
-
createElementVNode("div",
|
|
39979
|
-
createElementVNode("div",
|
|
39980
|
-
user.value ? (openBlock(), createElementBlock("div",
|
|
40031
|
+
createElementVNode("div", _hoisted_7$1, [
|
|
40032
|
+
createElementVNode("div", _hoisted_8$1, [
|
|
40033
|
+
user.value ? (openBlock(), createElementBlock("div", _hoisted_9$1, [
|
|
39981
40034
|
createVNode(unref(UiLevelProgress), {
|
|
39982
40035
|
size: 80,
|
|
39983
40036
|
value: user.value.xp,
|
|
@@ -39994,7 +40047,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
39994
40047
|
class: "dropdown-avatar-image",
|
|
39995
40048
|
width: "64",
|
|
39996
40049
|
height: "64"
|
|
39997
|
-
}, null, 8,
|
|
40050
|
+
}, null, 8, _hoisted_10$1)) : (openBlock(), createElementBlock("div", _hoisted_11$1, [..._cache[4] || (_cache[4] = [
|
|
39998
40051
|
createElementVNode("svg", {
|
|
39999
40052
|
class: "dropdown-avatar-icon",
|
|
40000
40053
|
fill: "currentColor",
|
|
@@ -40008,9 +40061,9 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
40008
40061
|
], -1)
|
|
40009
40062
|
])]))
|
|
40010
40063
|
])) : createCommentVNode("", true),
|
|
40011
|
-
createElementVNode("div",
|
|
40012
|
-
createElementVNode("div",
|
|
40013
|
-
createElementVNode("div",
|
|
40064
|
+
createElementVNode("div", _hoisted_12$1, [
|
|
40065
|
+
createElementVNode("div", _hoisted_13$1, toDisplayString(displayName.value), 1),
|
|
40066
|
+
createElementVNode("div", _hoisted_14$1, toDisplayString(user.value?.email), 1)
|
|
40014
40067
|
])
|
|
40015
40068
|
]),
|
|
40016
40069
|
renderSlot(_ctx.$slots, "default", {}, void 0, true),
|
|
@@ -40039,7 +40092,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
40039
40092
|
_: 1
|
|
40040
40093
|
})
|
|
40041
40094
|
])
|
|
40042
|
-
], 44,
|
|
40095
|
+
], 44, _hoisted_6$1)) : createCommentVNode("", true)
|
|
40043
40096
|
])),
|
|
40044
40097
|
createVNode(unref(UiModal), {
|
|
40045
40098
|
modelValue: showProfileModal.value,
|
|
@@ -40062,7 +40115,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
40062
40115
|
};
|
|
40063
40116
|
}
|
|
40064
40117
|
});
|
|
40065
|
-
const StrandsUserButton = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["__scopeId", "data-v-
|
|
40118
|
+
const StrandsUserButton = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["__scopeId", "data-v-a0ed0ab9"]]);
|
|
40066
40119
|
const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
40067
40120
|
__name: "StrandsNav",
|
|
40068
40121
|
props: {
|
|
@@ -40141,7 +40194,8 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
|
40141
40194
|
squircle: { type: Boolean, default: true },
|
|
40142
40195
|
to: {},
|
|
40143
40196
|
href: {},
|
|
40144
|
-
external: { type: Boolean }
|
|
40197
|
+
external: { type: Boolean },
|
|
40198
|
+
tabindex: {}
|
|
40145
40199
|
},
|
|
40146
40200
|
setup(__props) {
|
|
40147
40201
|
const props = __props;
|