@dv.net/ui-kit 7.4.2 → 7.5.1
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/assets/{DatePickerInput.vue_vue_type_script_setup_true_lang.zOBynXnC.js → DatePickerInput.vue_vue_type_script_setup_true_lang.0fTX2XyN.js} +69 -64
- package/dist/assets/{DatePickerInputs.vue_vue_type_script_setup_true_lang.CHu97t2s.js → DatePickerInputs.vue_vue_type_script_setup_true_lang.BDpkRcEN.js} +3 -3
- package/dist/assets/{DatePickerSlider.vue_vue_type_script_setup_true_lang.OWR8o6fM.js → DatePickerSlider.vue_vue_type_script_setup_true_lang.BGkzUy3Z.js} +28 -23
- package/dist/assets/{SelectSearch.vue_vue_type_script_setup_true_lang.C3yDssCy.js → SelectSearch.vue_vue_type_script_setup_true_lang.Cnqyp_Zb.js} +13 -8
- package/dist/assets/{SelectTrigger.vue_vue_type_script_setup_true_lang.Qj7K7MkG.js → SelectTrigger.vue_vue_type_script_setup_true_lang.DdrjuMDG.js} +15 -10
- package/dist/assets/{SelectVirtualList.vue_vue_type_script_setup_true_lang.D93PRpP9.js → SelectVirtualList.vue_vue_type_script_setup_true_lang.CiNZoKwF.js} +14 -9
- package/dist/assets/{TableSort.vue_vue_type_script_setup_true_lang.N-BF_O-e.js → TableSort.vue_vue_type_script_setup_true_lang.czdmoDoN.js} +14 -9
- package/dist/assets/{UiAvatar.vue_vue_type_script_setup_true_lang.CqOkYtri.js → UiAvatar.vue_vue_type_script_setup_true_lang.D1vn5qXx.js} +31 -26
- package/dist/assets/{UiBlockTitle.vue_vue_type_script_setup_true_lang.CDQzSyvH.js → UiBlockTitle.vue_vue_type_script_setup_true_lang.D3gstLQO.js} +19 -14
- package/dist/assets/{UiButton.vue_vue_type_script_setup_true_lang.CAgnUvIV.js → UiButton.vue_vue_type_script_setup_true_lang.C58Ve9-q.js} +49 -43
- package/dist/assets/UiChat.vue_vue_type_script_setup_true_lang.CTu88TXM.js +79 -0
- package/dist/assets/UiChatAttachments.vue_vue_type_script_setup_true_lang.CCGby5Jd.js +94 -0
- package/dist/assets/UiChatFooter.vue_vue_type_script_setup_true_lang.CqDExA87.js +88 -0
- package/dist/assets/UiChatHeader.vue_vue_type_script_setup_true_lang.BT2QlOtu.js +95 -0
- package/dist/assets/UiChatManagerAlert.vue_vue_type_script_setup_true_lang.DzU8TXYU.js +48 -0
- package/dist/assets/UiChatMessage.vue_vue_type_script_setup_true_lang.BuCaTu3U.js +50 -0
- package/dist/assets/UiChatMessageAttachments.vue_vue_type_script_setup_true_lang.gr8ostyK.js +55 -0
- package/dist/assets/{UiCheckbox.vue_vue_type_script_setup_true_lang.jNhN0anJ.js → UiCheckbox.vue_vue_type_script_setup_true_lang.BJv0xDk8.js} +33 -28
- package/dist/assets/{UiCollapseItem.vue_vue_type_script_setup_true_lang.T5nsbevZ.js → UiCollapseItem.vue_vue_type_script_setup_true_lang.CBGtA0OT.js} +18 -13
- package/dist/assets/{UiConfirm.vue_vue_type_script_setup_true_lang.BtEjkj0Q.js → UiConfirm.vue_vue_type_script_setup_true_lang.C0NGQkz6.js} +14 -9
- package/dist/assets/{UiCopyText.vue_vue_type_script_setup_true_lang.pRQoDOxU.js → UiCopyText.vue_vue_type_script_setup_true_lang.BW_J9zQD.js} +1 -1
- package/dist/assets/{UiDatepickerRange.vue_vue_type_script_setup_true_lang.DEaQJdY2.js → UiDatepickerRange.vue_vue_type_script_setup_true_lang.BfxSFgGk.js} +56 -51
- package/dist/assets/{UiDropdown.vue_vue_type_script_setup_true_lang.C8sc2Ar4.js → UiDropdown.vue_vue_type_script_setup_true_lang.BPFv-AjS.js} +1 -1
- package/dist/assets/{UiFileItemLoading.vue_vue_type_script_setup_true_lang.BA93cC3z.js → UiFileItemLoading.vue_vue_type_script_setup_true_lang.BLZuEoWZ.js} +2 -2
- package/dist/assets/UiGallery.vue_vue_type_script_setup_true_lang.pDss49af.js +96 -0
- package/dist/assets/{UiIconButton.vue_vue_type_script_setup_true_lang.O2daaEIF.js → UiIconButton.vue_vue_type_script_setup_true_lang.cJvSLKjQ.js} +24 -18
- package/dist/assets/{UiInput.vue_vue_type_script_setup_true_lang.CYBCqSiY.js → UiInput.vue_vue_type_script_setup_true_lang.Dr-b7jG5.js} +17 -17
- package/dist/assets/{UiLanguageButton.vue_vue_type_script_setup_true_lang.BxsrtKTK.js → UiLanguageButton.vue_vue_type_script_setup_true_lang.Ctoigfsg.js} +15 -10
- package/dist/assets/{UiLanguages.vue_vue_type_script_setup_true_lang.CRO_Wqzn.js → UiLanguages.vue_vue_type_script_setup_true_lang.MmWfwC3C.js} +15 -10
- package/dist/assets/{UiLayoutMenu.vue_vue_type_script_setup_true_lang.CjdqGSzF.js → UiLayoutMenu.vue_vue_type_script_setup_true_lang.4wLA6Do-.js} +2 -2
- package/dist/assets/{UiLayoutMenuItem.vue_vue_type_script_setup_true_lang.CLIVTrur.js → UiLayoutMenuItem.vue_vue_type_script_setup_true_lang.ZkGXLRX8.js} +13 -8
- package/dist/assets/{UiLoading.vue_vue_type_script_setup_true_lang.D452h_BA.js → UiLoading.vue_vue_type_script_setup_true_lang.cWPzNcNZ.js} +14 -9
- package/dist/assets/{UiMobileMenu.vue_vue_type_script_setup_true_lang.BWJ__ZHV.js → UiMobileMenu.vue_vue_type_script_setup_true_lang.CVdeZpLR.js} +12 -7
- package/dist/assets/{UiModal.vue_vue_type_script_setup_true_lang.CatEtX_V.js → UiModal.vue_vue_type_script_setup_true_lang.kAASqaaY.js} +26 -21
- package/dist/assets/{UiPagination.vue_vue_type_script_setup_true_lang.DgGKkF9g.js → UiPagination.vue_vue_type_script_setup_true_lang.Br97aEUF.js} +20 -15
- package/dist/assets/{UiProfileMenu.vue_vue_type_script_setup_true_lang.DLKXYSDQ.js → UiProfileMenu.vue_vue_type_script_setup_true_lang.BPIM20fS.js} +29 -24
- package/dist/assets/{UiProfileMenuItem.vue_vue_type_script_setup_true_lang.DhOjFaOe.js → UiProfileMenuItem.vue_vue_type_script_setup_true_lang.DAv4em8S.js} +18 -13
- package/dist/assets/{UiSelect.vue_vue_type_script_setup_true_lang.BSAwTWzc.js → UiSelect.vue_vue_type_script_setup_true_lang.KW-gAx4L.js} +16 -11
- package/dist/assets/{UiSwitch.vue_vue_type_script_setup_true_lang.DqsPZD1T.js → UiSwitch.vue_vue_type_script_setup_true_lang.CQL4VRs4.js} +16 -11
- package/dist/assets/{UiTable.vue_vue_type_script_setup_true_lang.DHaR-pL7.js → UiTable.vue_vue_type_script_setup_true_lang.BRxWn-LJ.js} +16 -11
- package/dist/assets/UiTextarea.vue_vue_type_script_setup_true_lang.bD1zcxkh.js +113 -0
- package/dist/assets/{UiTooltip.vue_vue_type_script_setup_true_lang.CptSEao7.js → UiTooltip.vue_vue_type_script_setup_true_lang.DNZTJcY4.js} +25 -20
- package/dist/assets/{index.CWUzDs_o.js → index.Cp1LhIxy.js} +8 -8
- package/dist/assets/{index.gJtK3DTa.js → index.DeYcP251.js} +6 -6
- package/dist/assets/{style.CD0jFgS4.js → style.C3xG1ALc.js} +4591 -4591
- package/dist/components/UiAvatar/UiAvatar.js +2 -2
- package/dist/components/UiBlockTitle/UiBlockTitle.js +2 -2
- package/dist/components/UiButton/UiButton.js +2 -2
- package/dist/components/UiChat/UiChat.js +5 -0
- package/dist/components/UiChat/UiChat.vue.d.ts +11 -0
- package/dist/components/UiChat/UiChatAttachments.js +5 -0
- package/dist/components/UiChat/UiChatAttachments.vue.d.ts +14 -0
- package/dist/components/UiChat/UiChatFooter.js +5 -0
- package/dist/components/UiChat/UiChatFooter.vue.d.ts +82 -0
- package/dist/components/UiChat/UiChatHeader.js +5 -0
- package/dist/components/UiChat/UiChatHeader.vue.d.ts +11 -0
- package/dist/components/UiChat/UiChatManagerAlert.js +5 -0
- package/dist/components/UiChat/UiChatManagerAlert.vue.d.ts +5 -0
- package/dist/components/UiChat/UiChatMessage.js +5 -0
- package/dist/components/UiChat/UiChatMessage.vue.d.ts +7 -0
- package/dist/components/UiChat/UiChatMessageAttachments.js +5 -0
- package/dist/components/UiChat/UiChatMessageAttachments.vue.d.ts +6 -0
- package/dist/components/UiChat/types.d.ts +57 -0
- package/dist/components/UiChat/types.js +1 -0
- package/dist/components/UiCheckbox/UiCheckbox.js +2 -2
- package/dist/components/UiCollapseItem/UiCollapseItem.js +2 -2
- package/dist/components/UiConfirm/UiConfirm.js +2 -2
- package/dist/components/UiCopyText/UiCopyText.js +1 -1
- package/dist/components/UiCopyText/UiCopyText.vue.d.ts +1 -1
- package/dist/components/UiDatepicker/UiDatepickerRange.js +2 -2
- package/dist/components/UiDatepicker/UiDatepickerRange.vue.d.ts +52 -52
- package/dist/components/UiDatepicker/components/DatePickerInput.js +2 -2
- package/dist/components/UiDatepicker/components/DatePickerInputs.js +2 -2
- package/dist/components/UiDatepicker/components/DatePickerSlider.js +2 -2
- package/dist/components/UiDragAndDrop/UiDragAndDrop.js +27 -22
- package/dist/components/UiDragAndDrop/UiFileItem.js +18 -13
- package/dist/components/UiDragAndDrop/UiFileItemLoading.js +2 -2
- package/dist/components/UiDropdown/UiDropdown.js +1 -1
- package/dist/components/UiDropdown/UiDropdown.vue.d.ts +2 -2
- package/dist/components/UiGallery/UiGallery.js +2 -2
- package/dist/components/UiGallery/UiGallery.vue.d.ts +2 -2
- package/dist/components/UiGallery/types.d.ts +7 -5
- package/dist/components/UiIconButton/UiIconButton.js +2 -2
- package/dist/components/UiInput/UiInput.js +2 -2
- package/dist/components/UiInput/UiInput.vue.d.ts +1 -1
- package/dist/components/UiLanguages/UiLanguages.js +2 -2
- package/dist/components/UiLanguages/UiLanguages.vue.d.ts +6 -6
- package/dist/components/UiLanguages/components/UiLanguageButton.js +1 -1
- package/dist/components/UiLayoutMenu/UiLayoutMenu.js +2 -2
- package/dist/components/UiLayoutMenu/UiLayoutMenuItem.js +2 -2
- package/dist/components/UiLoading/UiLoading.js +2 -2
- package/dist/components/UiMobileMenu/UiMobileMenu.js +2 -2
- package/dist/components/UiModal/UiModal.js +2 -2
- package/dist/components/UiPagination/UiPagination.js +2 -2
- package/dist/components/UiProfileMenu/UiProfileMenu.js +2 -2
- package/dist/components/UiProfileMenu/components/UiProfileMenuItem.js +2 -2
- package/dist/components/UiSelect/UiSelect.js +2 -2
- package/dist/components/UiSelect/UiSelect.vue.d.ts +4 -4
- package/dist/components/UiSelect/components/SelectSearch.js +2 -2
- package/dist/components/UiSelect/components/SelectSearch.vue.d.ts +3 -3
- package/dist/components/UiSelect/components/SelectTrigger.js +1 -1
- package/dist/components/UiSelect/components/SelectVirtualList.js +2 -2
- package/dist/components/UiSkeleton/UiSkeleton.vue.d.ts +1 -1
- package/dist/components/UiSwitch/UiSwitch.js +2 -2
- package/dist/components/UiTable/UiTable.js +2 -2
- package/dist/components/UiTable/components/TableSort.js +2 -2
- package/dist/components/UiTextarea/UiTextarea.js +1 -1
- package/dist/components/UiTextarea/UiTextarea.vue.d.ts +5 -3
- package/dist/components/UiTextarea/type.d.ts +1 -0
- package/dist/components/UiTooltip/UiTooltip.js +2 -2
- package/dist/components/UiTooltip/UiTooltip.vue.d.ts +2 -2
- package/dist/composables/useNotification/UiNotification.js +20 -15
- package/dist/config/index.d.ts +30 -0
- package/dist/config/index.js +17 -2
- package/dist/index.d.ts +1 -0
- package/dist/index.js +97 -94
- package/dist/style.css +1 -1
- package/package.json +1 -1
- package/dist/assets/UiGallery.vue_vue_type_script_setup_true_lang.vSJzXRLK.js +0 -97
- package/dist/assets/UiTextarea.vue_vue_type_script_setup_true_lang.Dv0mPKxv.js +0 -105
|
@@ -1,97 +0,0 @@
|
|
|
1
|
-
import { defineComponent as f, mergeModels as y, useModel as k, ref as w, computed as V, onMounted as h, onUnmounted as C, createBlock as L, createCommentVNode as p, openBlock as a, unref as n, withCtx as g, createElementVNode as U, createElementBlock as c, createVNode as u, Transition as b, Fragment as E } from "vue";
|
|
2
|
-
import "./vue3-lottie.es.BGWavb2-.js";
|
|
3
|
-
import "./style.CD0jFgS4.js";
|
|
4
|
-
/* empty css */
|
|
5
|
-
/* empty css */
|
|
6
|
-
/* empty css */
|
|
7
|
-
import "./useDatePicker.DnhbkLG1.js";
|
|
8
|
-
import "../config/index.js";
|
|
9
|
-
/* empty css */
|
|
10
|
-
import { _ as v } from "./UiIconButton.vue_vue_type_script_setup_true_lang.O2daaEIF.js";
|
|
11
|
-
import "../components/UiDatepicker/composables/useDatePickerPresets.js";
|
|
12
|
-
/* empty css */
|
|
13
|
-
/* empty css */
|
|
14
|
-
/* empty css */
|
|
15
|
-
/* empty css */
|
|
16
|
-
/* empty css */
|
|
17
|
-
/* empty css */
|
|
18
|
-
/* empty css */
|
|
19
|
-
/* empty css */
|
|
20
|
-
import "vue-router";
|
|
21
|
-
/* empty css */
|
|
22
|
-
import { _ as B } from "./UiModal.vue_vue_type_script_setup_true_lang.CatEtX_V.js";
|
|
23
|
-
/* empty css */
|
|
24
|
-
/* empty css */
|
|
25
|
-
/* empty css */
|
|
26
|
-
/* empty css */
|
|
27
|
-
/* empty css */
|
|
28
|
-
/* empty css */
|
|
29
|
-
/* empty css */
|
|
30
|
-
/* empty css */
|
|
31
|
-
const I = { class: "image-container" }, M = ["src"], me = /* @__PURE__ */ f({
|
|
32
|
-
__name: "UiGallery",
|
|
33
|
-
props: /* @__PURE__ */ y({
|
|
34
|
-
images: {}
|
|
35
|
-
}, {
|
|
36
|
-
modelValue: { type: Boolean, required: !0 },
|
|
37
|
-
modelModifiers: {}
|
|
38
|
-
}),
|
|
39
|
-
emits: ["update:modelValue"],
|
|
40
|
-
setup(t) {
|
|
41
|
-
const r = k(t, "modelValue"), e = w(0), s = V(
|
|
42
|
-
() => t.images[e.value]?.url || t.images[e.value]?.file && URL.createObjectURL(t.images[e.value].file)
|
|
43
|
-
), l = (i) => {
|
|
44
|
-
i === "-" ? e.value === 0 ? e.value = t.images.length - 1 : e.value-- : e.value === t.images.length - 1 ? e.value = 0 : e.value++;
|
|
45
|
-
}, d = (i) => {
|
|
46
|
-
r.value && (i.key === "ArrowLeft" && l("-"), i.key === "ArrowRight" && l("+"), i.key === "Escape" && (r.value = !1));
|
|
47
|
-
};
|
|
48
|
-
return h(() => {
|
|
49
|
-
t.images.length > 1 && document.addEventListener("keydown", d);
|
|
50
|
-
}), C(() => {
|
|
51
|
-
t.images.length > 1 && document.removeEventListener("keydown", d);
|
|
52
|
-
}), (i, o) => i.images.length && s.value ? (a(), L(n(B), {
|
|
53
|
-
key: 0,
|
|
54
|
-
modelValue: r.value,
|
|
55
|
-
"onUpdate:modelValue": o[2] || (o[2] = (m) => r.value = m),
|
|
56
|
-
popperClass: "ui-gallery"
|
|
57
|
-
}, {
|
|
58
|
-
default: g(() => [
|
|
59
|
-
U("div", I, [
|
|
60
|
-
u(b, {
|
|
61
|
-
name: "image-slide",
|
|
62
|
-
mode: "out-in"
|
|
63
|
-
}, {
|
|
64
|
-
default: g(() => [
|
|
65
|
-
(a(), c("img", {
|
|
66
|
-
key: e.value,
|
|
67
|
-
src: s.value,
|
|
68
|
-
alt: "Preview Image"
|
|
69
|
-
}, null, 8, M))
|
|
70
|
-
]),
|
|
71
|
-
_: 1
|
|
72
|
-
})
|
|
73
|
-
]),
|
|
74
|
-
i.images.length > 1 ? (a(), c(E, { key: 0 }, [
|
|
75
|
-
u(n(v), {
|
|
76
|
-
"icon-name": "keyboard-arrow-up",
|
|
77
|
-
"icon-type": "400",
|
|
78
|
-
class: "ui-gallery__img-preview-btn left",
|
|
79
|
-
type: "contrast",
|
|
80
|
-
onClick: o[0] || (o[0] = (m) => l("-"))
|
|
81
|
-
}),
|
|
82
|
-
u(n(v), {
|
|
83
|
-
"icon-name": "keyboard-arrow-up",
|
|
84
|
-
"icon-type": "400",
|
|
85
|
-
class: "ui-gallery__img-preview-btn right",
|
|
86
|
-
type: "contrast",
|
|
87
|
-
onClick: o[1] || (o[1] = (m) => l("+"))
|
|
88
|
-
})
|
|
89
|
-
], 64)) : p("", !0)
|
|
90
|
-
]),
|
|
91
|
-
_: 1
|
|
92
|
-
}, 8, ["modelValue"])) : p("", !0);
|
|
93
|
-
}
|
|
94
|
-
});
|
|
95
|
-
export {
|
|
96
|
-
me as _
|
|
97
|
-
};
|
|
@@ -1,105 +0,0 @@
|
|
|
1
|
-
import { defineComponent as $, mergeModels as c, useModel as z, ref as h, onMounted as L, nextTick as M, createElementBlock as u, openBlock as i, normalizeClass as y, renderSlot as d, withDirectives as N, createCommentVNode as r, createElementVNode as T, withKeys as C, vModelText as E, createVNode as D, toDisplayString as v } from "vue";
|
|
2
|
-
import { _ as I } from "./UiCopyText.vue_vue_type_script_setup_true_lang.pRQoDOxU.js";
|
|
3
|
-
/* empty css */
|
|
4
|
-
const K = ["maxlength", "id", "placeholder", "disabled", "readonly", "rows"], F = {
|
|
5
|
-
key: 1,
|
|
6
|
-
class: "ui-textarea__maxlength"
|
|
7
|
-
}, R = {
|
|
8
|
-
key: 2,
|
|
9
|
-
class: "ui-textarea__placeholder-block"
|
|
10
|
-
}, j = /* @__PURE__ */ $({
|
|
11
|
-
__name: "UiTextarea",
|
|
12
|
-
props: /* @__PURE__ */ c({
|
|
13
|
-
maxLength: {},
|
|
14
|
-
isDisabled: { type: Boolean },
|
|
15
|
-
placeholder: { default: "" },
|
|
16
|
-
label: { default: "" },
|
|
17
|
-
size: { default: "md" },
|
|
18
|
-
filled: { type: Boolean, default: !1 },
|
|
19
|
-
error: { type: Boolean, default: !1 },
|
|
20
|
-
disabled: { type: Boolean, default: !1 },
|
|
21
|
-
isEmptyValueNull: { type: Boolean },
|
|
22
|
-
copy: { type: Boolean, default: !1 },
|
|
23
|
-
id: {},
|
|
24
|
-
readonly: { type: Boolean },
|
|
25
|
-
rows: { default: 1 }
|
|
26
|
-
}, {
|
|
27
|
-
modelValue: { default: null },
|
|
28
|
-
modelModifiers: {}
|
|
29
|
-
}),
|
|
30
|
-
emits: /* @__PURE__ */ c(["input", "blur", "focus", "change"], ["update:modelValue"]),
|
|
31
|
-
setup(p, { expose: g, emit: b }) {
|
|
32
|
-
const f = p, t = b, l = z(p, "modelValue"), s = h(!1), a = h();
|
|
33
|
-
function o() {
|
|
34
|
-
a.value && f.size == "auto" && (a.value.style.height = "1em", a.value.style.height = a.value.scrollHeight + "px");
|
|
35
|
-
}
|
|
36
|
-
function B() {
|
|
37
|
-
s.value = !1, t("blur"), o();
|
|
38
|
-
}
|
|
39
|
-
function V(e) {
|
|
40
|
-
f.isEmptyValueNull && e.target.value === "" && (l.value = null), o(), t("input", e.target.value);
|
|
41
|
-
}
|
|
42
|
-
function k() {
|
|
43
|
-
s.value = !0, t("focus"), o();
|
|
44
|
-
}
|
|
45
|
-
function x() {
|
|
46
|
-
o();
|
|
47
|
-
}
|
|
48
|
-
function w() {
|
|
49
|
-
t("change");
|
|
50
|
-
}
|
|
51
|
-
return g({
|
|
52
|
-
focus: () => a.value?.focus()
|
|
53
|
-
}), L(() => {
|
|
54
|
-
M(o);
|
|
55
|
-
}), (e, n) => (i(), u("label", {
|
|
56
|
-
class: y(["ui-textarea", [
|
|
57
|
-
e.size,
|
|
58
|
-
{ "is-focus": s.value },
|
|
59
|
-
{ filled: e.filled },
|
|
60
|
-
{ "is-maxlength": e.maxLength },
|
|
61
|
-
{ "is-disabled": e.disabled }
|
|
62
|
-
]])
|
|
63
|
-
}, [
|
|
64
|
-
d(e.$slots, "prepend"),
|
|
65
|
-
N(T("textarea", {
|
|
66
|
-
maxlength: e.maxLength,
|
|
67
|
-
id: e.id,
|
|
68
|
-
ref_key: "textareaRef",
|
|
69
|
-
ref: a,
|
|
70
|
-
"onUpdate:modelValue": n[0] || (n[0] = (m) => l.value = m),
|
|
71
|
-
class: "ui-textarea__textarea",
|
|
72
|
-
placeholder: e.$slots.placeholder ? "" : e.placeholder,
|
|
73
|
-
disabled: e.disabled,
|
|
74
|
-
readonly: e.readonly,
|
|
75
|
-
onBlur: B,
|
|
76
|
-
onFocus: k,
|
|
77
|
-
onInput: V,
|
|
78
|
-
onChange: w,
|
|
79
|
-
onKeyup: x,
|
|
80
|
-
onKeydown: n[1] || (n[1] = C((m) => a.value?.blur(), ["esc"])),
|
|
81
|
-
rows: e.rows
|
|
82
|
-
}, null, 40, K), [
|
|
83
|
-
[E, l.value]
|
|
84
|
-
]),
|
|
85
|
-
d(e.$slots, "append"),
|
|
86
|
-
e.copy && l.value ? (i(), u("div", {
|
|
87
|
-
key: 0,
|
|
88
|
-
class: y(["ui-textarea__copy", { "is-disabled": e.disabled }])
|
|
89
|
-
}, [
|
|
90
|
-
D(I, {
|
|
91
|
-
colorIcon: "var(--color-icon-tertiary)",
|
|
92
|
-
sizeIcon: "sm",
|
|
93
|
-
copiedText: l.value
|
|
94
|
-
}, null, 8, ["copiedText"])
|
|
95
|
-
], 2)) : r("", !0),
|
|
96
|
-
e.maxLength ? (i(), u("div", F, v(l.value?.length) + " / " + v(e.maxLength), 1)) : r("", !0),
|
|
97
|
-
e.$slots.placeholder && !l.value && !s.value ? (i(), u("div", R, [
|
|
98
|
-
d(e.$slots, "placeholder")
|
|
99
|
-
])) : r("", !0)
|
|
100
|
-
], 2));
|
|
101
|
-
}
|
|
102
|
-
});
|
|
103
|
-
export {
|
|
104
|
-
j as _
|
|
105
|
-
};
|