@strands.gg/accui 2.15.2 → 2.15.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{StrandsUIPlugin-CE4-QxEo.es.js → StrandsUIPlugin-DQrWv9kb.es.js} +61 -13
- package/dist/StrandsUIPlugin-Dy0kdib_.cjs.js +1 -0
- package/dist/accui.css +1 -1
- package/dist/index.cjs.js +1 -1
- package/dist/index.es.js +2 -2
- package/dist/vite.cjs.js +1 -1
- package/dist/vite.es.js +1 -1
- package/package.json +1 -1
- package/dist/StrandsUIPlugin-Dl-CMqkQ.cjs.js +0 -1
|
@@ -1650,6 +1650,7 @@ const _sfc_main$d = /* @__PURE__ */ defineComponent({
|
|
|
1650
1650
|
return openBlock(), createElementBlock("div", {
|
|
1651
1651
|
class: normalizeClass(["input-field-wrapper", wrapperClasses.value])
|
|
1652
1652
|
}, [
|
|
1653
|
+
renderSlot(_ctx.$slots, "leading", {}, void 0, true),
|
|
1653
1654
|
props.hasLeadingIcon ? (openBlock(), createElementBlock("div", _hoisted_1$a, [
|
|
1654
1655
|
renderSlot(_ctx.$slots, "leading-icon", {}, void 0, true)
|
|
1655
1656
|
])) : createCommentVNode("", true),
|
|
@@ -1707,12 +1708,13 @@ const _sfc_main$d = /* @__PURE__ */ defineComponent({
|
|
|
1707
1708
|
}, 8, ["tabindex"])
|
|
1708
1709
|
])) : props.hasTrailingIcon ? (openBlock(), createElementBlock("div", _hoisted_5$7, [
|
|
1709
1710
|
renderSlot(_ctx.$slots, "trailing-icon", {}, void 0, true)
|
|
1710
|
-
])) : createCommentVNode("", true)
|
|
1711
|
+
])) : createCommentVNode("", true),
|
|
1712
|
+
renderSlot(_ctx.$slots, "trailing", {}, void 0, true)
|
|
1711
1713
|
], 2);
|
|
1712
1714
|
};
|
|
1713
1715
|
}
|
|
1714
1716
|
});
|
|
1715
|
-
const UiInputText = /* @__PURE__ */ _export_sfc(_sfc_main$d, [["__scopeId", "data-v-
|
|
1717
|
+
const UiInputText = /* @__PURE__ */ _export_sfc(_sfc_main$d, [["__scopeId", "data-v-53b0fed3"]]);
|
|
1716
1718
|
const _hoisted_1$9 = {
|
|
1717
1719
|
key: 0,
|
|
1718
1720
|
class: "input-leading-icon"
|
|
@@ -1789,6 +1791,7 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
|
|
|
1789
1791
|
return openBlock(), createElementBlock("div", {
|
|
1790
1792
|
class: normalizeClass(["input-field-wrapper input-textarea", wrapperClasses.value])
|
|
1791
1793
|
}, [
|
|
1794
|
+
renderSlot(_ctx.$slots, "leading", {}, void 0, true),
|
|
1792
1795
|
props.hasLeadingIcon ? (openBlock(), createElementBlock("div", _hoisted_1$9, [
|
|
1793
1796
|
renderSlot(_ctx.$slots, "leading-icon", {}, void 0, true)
|
|
1794
1797
|
])) : createCommentVNode("", true),
|
|
@@ -1819,12 +1822,13 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
|
|
|
1819
1822
|
], 2),
|
|
1820
1823
|
props.hasTrailingIcon ? (openBlock(), createElementBlock("div", _hoisted_3$7, [
|
|
1821
1824
|
renderSlot(_ctx.$slots, "trailing-icon", {}, void 0, true)
|
|
1822
|
-
])) : createCommentVNode("", true)
|
|
1825
|
+
])) : createCommentVNode("", true),
|
|
1826
|
+
renderSlot(_ctx.$slots, "trailing", {}, void 0, true)
|
|
1823
1827
|
], 2);
|
|
1824
1828
|
};
|
|
1825
1829
|
}
|
|
1826
1830
|
});
|
|
1827
|
-
const UiInputTextarea = /* @__PURE__ */ _export_sfc(_sfc_main$c, [["__scopeId", "data-v-
|
|
1831
|
+
const UiInputTextarea = /* @__PURE__ */ _export_sfc(_sfc_main$c, [["__scopeId", "data-v-9da9ee52"]]);
|
|
1828
1832
|
function useFloatingPosition(options) {
|
|
1829
1833
|
const {
|
|
1830
1834
|
trigger,
|
|
@@ -2389,6 +2393,7 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
|
|
|
2389
2393
|
paddingClasses.value
|
|
2390
2394
|
]])
|
|
2391
2395
|
}, [
|
|
2396
|
+
renderSlot(_ctx.$slots, "leading", {}, void 0, true),
|
|
2392
2397
|
props.hasLeadingIcon ? (openBlock(), createElementBlock("div", _hoisted_1$8, [
|
|
2393
2398
|
renderSlot(_ctx.$slots, "leading-icon", {}, void 0, true)
|
|
2394
2399
|
])) : createCommentVNode("", true),
|
|
@@ -2416,7 +2421,8 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
|
|
|
2416
2421
|
], 42, _hoisted_2$7),
|
|
2417
2422
|
props.hasTrailingIcon ? (openBlock(), createElementBlock("div", _hoisted_6$3, [
|
|
2418
2423
|
renderSlot(_ctx.$slots, "trailing-icon", {}, void 0, true)
|
|
2419
|
-
])) : createCommentVNode("", true)
|
|
2424
|
+
])) : createCommentVNode("", true),
|
|
2425
|
+
renderSlot(_ctx.$slots, "trailing", {}, void 0, true)
|
|
2420
2426
|
], 2),
|
|
2421
2427
|
(openBlock(), createBlock(Teleport, { to: teleportTarget.value }, [
|
|
2422
2428
|
dropdownState.value.isOpen ? (openBlock(), createElementBlock("div", {
|
|
@@ -2488,7 +2494,7 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
|
|
|
2488
2494
|
};
|
|
2489
2495
|
}
|
|
2490
2496
|
});
|
|
2491
|
-
const UiInputSelect = /* @__PURE__ */ _export_sfc(_sfc_main$b, [["__scopeId", "data-v-
|
|
2497
|
+
const UiInputSelect = /* @__PURE__ */ _export_sfc(_sfc_main$b, [["__scopeId", "data-v-a13138e3"]]);
|
|
2492
2498
|
const _hoisted_1$7 = { class: "input-leading-icon" };
|
|
2493
2499
|
const _hoisted_2$6 = ["src"];
|
|
2494
2500
|
const _hoisted_3$5 = ["id", "accept", "multiple", "disabled", "required"];
|
|
@@ -2727,6 +2733,7 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
|
|
|
2727
2733
|
paddingClasses.value
|
|
2728
2734
|
]])
|
|
2729
2735
|
}, [
|
|
2736
|
+
renderSlot(_ctx.$slots, "leading", {}, void 0, true),
|
|
2730
2737
|
createElementVNode("div", _hoisted_1$7, [
|
|
2731
2738
|
previewImageUrl.value ? (openBlock(), createElementBlock("img", {
|
|
2732
2739
|
key: 0,
|
|
@@ -2797,12 +2804,13 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
|
|
|
2797
2804
|
])
|
|
2798
2805
|
])) : props.hasTrailingIcon ? (openBlock(), createElementBlock("div", _hoisted_18$1, [
|
|
2799
2806
|
renderSlot(_ctx.$slots, "trailing-icon", {}, void 0, true)
|
|
2800
|
-
])) : createCommentVNode("", true)
|
|
2807
|
+
])) : createCommentVNode("", true),
|
|
2808
|
+
renderSlot(_ctx.$slots, "trailing", {}, void 0, true)
|
|
2801
2809
|
], 2);
|
|
2802
2810
|
};
|
|
2803
2811
|
}
|
|
2804
2812
|
});
|
|
2805
|
-
const UiInputFile = /* @__PURE__ */ _export_sfc(_sfc_main$a, [["__scopeId", "data-v-
|
|
2813
|
+
const UiInputFile = /* @__PURE__ */ _export_sfc(_sfc_main$a, [["__scopeId", "data-v-e98a1db4"]]);
|
|
2806
2814
|
const _hoisted_1$6 = { class: "tabs-wrapper" };
|
|
2807
2815
|
const _hoisted_2$5 = {
|
|
2808
2816
|
key: 0,
|
|
@@ -25573,6 +25581,7 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
|
25573
25581
|
class: normalizeClass(["pincode-wrapper", [`pincode-size-${_ctx.size}`, { "pincode-error": _ctx.error }]])
|
|
25574
25582
|
}, [
|
|
25575
25583
|
createElementVNode("div", _hoisted_1$2, [
|
|
25584
|
+
renderSlot(_ctx.$slots, "leading", {}, void 0, true),
|
|
25576
25585
|
props.hasLeadingIcon ? (openBlock(), createElementBlock("div", _hoisted_2$2, [
|
|
25577
25586
|
renderSlot(_ctx.$slots, "leading-icon", {}, void 0, true)
|
|
25578
25587
|
])) : createCommentVNode("", true),
|
|
@@ -25607,13 +25616,14 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
|
25607
25616
|
}), 128)),
|
|
25608
25617
|
props.hasTrailingIcon ? (openBlock(), createElementBlock("div", _hoisted_5$1, [
|
|
25609
25618
|
renderSlot(_ctx.$slots, "trailing-icon", {}, void 0, true)
|
|
25610
|
-
])) : createCommentVNode("", true)
|
|
25619
|
+
])) : createCommentVNode("", true),
|
|
25620
|
+
renderSlot(_ctx.$slots, "trailing", {}, void 0, true)
|
|
25611
25621
|
])
|
|
25612
25622
|
], 2);
|
|
25613
25623
|
};
|
|
25614
25624
|
}
|
|
25615
25625
|
});
|
|
25616
|
-
const UiInputPincode = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["__scopeId", "data-v-
|
|
25626
|
+
const UiInputPincode = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["__scopeId", "data-v-12f41567"]]);
|
|
25617
25627
|
function hasSlotContent(slots, slotName) {
|
|
25618
25628
|
const slot = slots[slotName];
|
|
25619
25629
|
if (!slot) return false;
|
|
@@ -25765,12 +25775,18 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
25765
25775
|
onFocus: handleFocus,
|
|
25766
25776
|
onKeydown: handleKeydown
|
|
25767
25777
|
}, {
|
|
25778
|
+
leading: withCtx(() => [
|
|
25779
|
+
renderSlot(_ctx.$slots, "leading", {}, void 0, true)
|
|
25780
|
+
]),
|
|
25768
25781
|
"leading-icon": withCtx(() => [
|
|
25769
25782
|
renderSlot(_ctx.$slots, "leading-icon", {}, void 0, true)
|
|
25770
25783
|
]),
|
|
25771
25784
|
"trailing-icon": withCtx(() => [
|
|
25772
25785
|
renderSlot(_ctx.$slots, "trailing-icon", {}, void 0, true)
|
|
25773
25786
|
]),
|
|
25787
|
+
trailing: withCtx(() => [
|
|
25788
|
+
renderSlot(_ctx.$slots, "trailing", {}, void 0, true)
|
|
25789
|
+
]),
|
|
25774
25790
|
_: 3
|
|
25775
25791
|
}, 8, ["model-value", "type", "placeholder", "disabled", "readonly", "required", "min", "max", "step", "autocomplete", "spellcheck", "input-id", "error", "size", "tabindex", "has-leading-icon", "has-trailing-icon"])) : _ctx.type === "textarea" ? (openBlock(), createBlock(UiInputTextarea, {
|
|
25776
25792
|
key: 1,
|
|
@@ -25796,12 +25812,18 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
25796
25812
|
onFocus: handleFocus,
|
|
25797
25813
|
onKeydown: handleKeydown
|
|
25798
25814
|
}, {
|
|
25815
|
+
leading: withCtx(() => [
|
|
25816
|
+
renderSlot(_ctx.$slots, "leading", {}, void 0, true)
|
|
25817
|
+
]),
|
|
25799
25818
|
"leading-icon": withCtx(() => [
|
|
25800
25819
|
renderSlot(_ctx.$slots, "leading-icon", {}, void 0, true)
|
|
25801
25820
|
]),
|
|
25802
25821
|
"trailing-icon": withCtx(() => [
|
|
25803
25822
|
renderSlot(_ctx.$slots, "trailing-icon", {}, void 0, true)
|
|
25804
25823
|
]),
|
|
25824
|
+
trailing: withCtx(() => [
|
|
25825
|
+
renderSlot(_ctx.$slots, "trailing", {}, void 0, true)
|
|
25826
|
+
]),
|
|
25805
25827
|
_: 3
|
|
25806
25828
|
}, 8, ["model-value", "placeholder", "disabled", "readonly", "required", "rows", "cols", "maxlength", "autocomplete", "spellcheck", "resizable", "input-id", "error", "size", "tabindex", "has-leading-icon", "has-trailing-icon"])) : _ctx.type === "select" ? (openBlock(), createBlock(UiInputSelect, {
|
|
25807
25829
|
key: 2,
|
|
@@ -25825,12 +25847,18 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
25825
25847
|
onBlur: handleBlur,
|
|
25826
25848
|
onFocus: handleFocus
|
|
25827
25849
|
}, {
|
|
25850
|
+
leading: withCtx(() => [
|
|
25851
|
+
renderSlot(_ctx.$slots, "leading", {}, void 0, true)
|
|
25852
|
+
]),
|
|
25828
25853
|
"leading-icon": withCtx(() => [
|
|
25829
25854
|
renderSlot(_ctx.$slots, "leading-icon", {}, void 0, true)
|
|
25830
25855
|
]),
|
|
25831
25856
|
"trailing-icon": withCtx(() => [
|
|
25832
25857
|
renderSlot(_ctx.$slots, "trailing-icon", {}, void 0, true)
|
|
25833
25858
|
]),
|
|
25859
|
+
trailing: withCtx(() => [
|
|
25860
|
+
renderSlot(_ctx.$slots, "trailing", {}, void 0, true)
|
|
25861
|
+
]),
|
|
25834
25862
|
_: 3
|
|
25835
25863
|
}, 8, ["model-value", "options", "placeholder", "disabled", "multiple", "searchable", "allow-insert", "max-dropdown-height", "no-options-text", "search-placeholder", "input-id", "error", "size", "tabindex", "has-leading-icon", "has-trailing-icon"])) : _ctx.type === "file" ? (openBlock(), createBlock(UiInputFile, {
|
|
25836
25864
|
key: 3,
|
|
@@ -25855,12 +25883,18 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
25855
25883
|
onBlur: handleBlur,
|
|
25856
25884
|
onFocus: handleFocus
|
|
25857
25885
|
}, {
|
|
25886
|
+
leading: withCtx(() => [
|
|
25887
|
+
renderSlot(_ctx.$slots, "leading", {}, void 0, true)
|
|
25888
|
+
]),
|
|
25858
25889
|
"leading-icon": withCtx(() => [
|
|
25859
25890
|
renderSlot(_ctx.$slots, "leading-icon", {}, void 0, true)
|
|
25860
25891
|
]),
|
|
25861
25892
|
"trailing-icon": withCtx(() => [
|
|
25862
25893
|
renderSlot(_ctx.$slots, "trailing-icon", {}, void 0, true)
|
|
25863
25894
|
]),
|
|
25895
|
+
trailing: withCtx(() => [
|
|
25896
|
+
renderSlot(_ctx.$slots, "trailing", {}, void 0, true)
|
|
25897
|
+
]),
|
|
25864
25898
|
_: 3
|
|
25865
25899
|
}, 8, ["model-value", "accept", "multiple", "max-file-size", "drag-drop-text", "selected-text", "preview", "disabled", "required", "input-id", "error", "size", "tabindex", "has-leading-icon", "has-trailing-icon"])) : _ctx.type === "date" ? (openBlock(), createBlock(_sfc_main$6, {
|
|
25866
25900
|
key: 4,
|
|
@@ -25939,19 +25973,33 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
25939
25973
|
onFocus: handleFocus,
|
|
25940
25974
|
onComplete: handlePincodeComplete
|
|
25941
25975
|
}, createSlots({ _: 2 }, [
|
|
25976
|
+
hasSlotContent$1("leading") ? {
|
|
25977
|
+
name: "leading",
|
|
25978
|
+
fn: withCtx(() => [
|
|
25979
|
+
renderSlot(_ctx.$slots, "leading", {}, void 0, true)
|
|
25980
|
+
]),
|
|
25981
|
+
key: "0"
|
|
25982
|
+
} : void 0,
|
|
25942
25983
|
hasSlotContent$1("leading-icon") ? {
|
|
25943
25984
|
name: "leading-icon",
|
|
25944
25985
|
fn: withCtx(() => [
|
|
25945
25986
|
renderSlot(_ctx.$slots, "leading-icon", {}, void 0, true)
|
|
25946
25987
|
]),
|
|
25947
|
-
key: "
|
|
25988
|
+
key: "1"
|
|
25948
25989
|
} : void 0,
|
|
25949
25990
|
hasSlotContent$1("trailing-icon") ? {
|
|
25950
25991
|
name: "trailing-icon",
|
|
25951
25992
|
fn: withCtx(() => [
|
|
25952
25993
|
renderSlot(_ctx.$slots, "trailing-icon", {}, void 0, true)
|
|
25953
25994
|
]),
|
|
25954
|
-
key: "
|
|
25995
|
+
key: "2"
|
|
25996
|
+
} : void 0,
|
|
25997
|
+
hasSlotContent$1("trailing") ? {
|
|
25998
|
+
name: "trailing",
|
|
25999
|
+
fn: withCtx(() => [
|
|
26000
|
+
renderSlot(_ctx.$slots, "trailing", {}, void 0, true)
|
|
26001
|
+
]),
|
|
26002
|
+
key: "3"
|
|
25955
26003
|
} : void 0
|
|
25956
26004
|
]), 1032, ["model-value", "max-length", "variant", "divider", "disabled", "readonly", "input-id", "error", "size", "tabindex"])) : createCommentVNode("", true)
|
|
25957
26005
|
]),
|
|
@@ -25963,7 +26011,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
25963
26011
|
};
|
|
25964
26012
|
}
|
|
25965
26013
|
});
|
|
25966
|
-
const StrandsUiInput = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__scopeId", "data-v-
|
|
26014
|
+
const StrandsUiInput = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__scopeId", "data-v-b5fae908"]]);
|
|
25967
26015
|
const _hoisted_1 = ["disabled", "aria-disabled"];
|
|
25968
26016
|
const _hoisted_2 = ["href", "target", "rel", "aria-disabled"];
|
|
25969
26017
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|