prlg-ui 1.8.274 → 1.8.275
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/EyeIcon-CJg2W9QQ.cjs +1 -0
- package/dist/EyeIcon-D6SZWKKH.js +46 -0
- package/dist/{FileIcon-C277kDuk.js → FileIcon-D68SKu3j.js} +23 -43
- package/dist/FileIcon-Dt-TWf3B.cjs +1 -0
- package/dist/Image-598ujuSJ.cjs +1 -0
- package/dist/{Image-BU_5eHO2.js → Image-n1noBvGw.js} +2 -2
- package/dist/{QuestionIcon-CZL_QMX_.js → QuestionIcon-DKqLypNT.js} +25 -45
- package/dist/QuestionIcon-jgykxOw5.cjs +1 -0
- package/dist/QuestionRoundedIcon-8JEss3z6.cjs +1 -0
- package/dist/{QuestionRoundedIcon-HkVUQbjG.js → QuestionRoundedIcon-CB7yTjbm.js} +1 -1
- package/dist/SendIcon-Hp7buqZM.cjs +1 -0
- package/dist/{SendIcon-Cx3-Nh9T.js → SendIcon-MVeP0ZnP.js} +1 -1
- package/dist/{WarningIcon-DRYayjI6.js → WarningIcon-BaF2grFN.js} +69 -49
- package/dist/WarningIcon-CvlZXMh8.cjs +1 -0
- package/dist/blocks/index.cjs.js +1 -1
- package/dist/blocks/index.es.js +4 -4
- package/dist/fonts/Inter/.DS_Store +0 -0
- package/dist/icons/index.cjs.js +1 -1
- package/dist/icons/index.es.js +16 -16
- package/dist/prlg-ui.cjs.js +1 -1
- package/dist/prlg-ui.css +1 -1
- package/dist/prlg-ui.es.js +102 -103
- package/dist/reka-ui/index.cjs.js +4 -4
- package/dist/reka-ui/index.es.js +4223 -4010
- package/dist/rekaUI.d.ts +111 -3
- package/dist/utils/phoneMask.util.ts +37 -0
- package/package.json +1 -1
- package/dist/CloseIcon-DY724cRE.cjs +0 -1
- package/dist/CloseIcon-DwfoI5oL.js +0 -26
- package/dist/FileIcon-p0fI09Hd.cjs +0 -1
- package/dist/Image-BPcE12gU.cjs +0 -1
- package/dist/QuestionIcon-BJuflpqV.cjs +0 -1
- package/dist/QuestionRoundedIcon-C3hz_B66.cjs +0 -1
- package/dist/SendIcon-NKtDMH_Z.cjs +0 -1
- package/dist/WarningIcon-BrJkyWAV.cjs +0 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { createElementBlock as t, openBlock as o, createElementVNode as
|
|
2
|
-
import { _ as r } from "./
|
|
1
|
+
import { createElementBlock as t, openBlock as o, createElementVNode as n } from "vue";
|
|
2
|
+
import { _ as r } from "./EyeIcon-D6SZWKKH.js";
|
|
3
3
|
const l = {}, s = {
|
|
4
4
|
width: "19",
|
|
5
5
|
height: "19",
|
|
@@ -7,151 +7,171 @@ const l = {}, s = {
|
|
|
7
7
|
fill: "none",
|
|
8
8
|
xmlns: "http://www.w3.org/2000/svg"
|
|
9
9
|
};
|
|
10
|
-
function i(e,
|
|
11
|
-
return o(), t("svg", s, [...
|
|
12
|
-
|
|
10
|
+
function i(e, C) {
|
|
11
|
+
return o(), t("svg", s, [...C[0] || (C[0] = [
|
|
12
|
+
n("path", {
|
|
13
13
|
d: "M11.6087 13.3726C11.5102 13.3731 11.4125 13.3539 11.3215 13.3161C11.2305 13.2783 11.148 13.2228 11.0787 13.1526L7.57872 9.65265C7.43826 9.51202 7.35938 9.3214 7.35938 9.12265C7.35938 8.9239 7.43826 8.73328 7.57872 8.59265L11.0787 5.12265C11.2197 5.03126 11.3872 4.98984 11.5545 5.00503C11.7218 5.02021 11.8792 5.09113 12.0014 5.20641C12.1236 5.32169 12.2035 5.47465 12.2284 5.64079C12.2533 5.80693 12.2217 5.97661 12.1387 6.12265L9.13871 9.12265L12.1387 12.1226C12.2792 12.2633 12.3581 12.4539 12.3581 12.6526C12.3581 12.8514 12.2792 13.042 12.1387 13.1826C11.994 13.3133 11.8035 13.3816 11.6087 13.3726Z",
|
|
14
14
|
fill: "currentColor"
|
|
15
15
|
}, null, -1)
|
|
16
16
|
])]);
|
|
17
17
|
}
|
|
18
|
-
const
|
|
18
|
+
const y = /* @__PURE__ */ r(l, [["render", i]]), c = {}, _ = {
|
|
19
19
|
width: "19",
|
|
20
20
|
height: "19",
|
|
21
21
|
viewBox: "0 0 19 19",
|
|
22
22
|
fill: "none",
|
|
23
23
|
xmlns: "http://www.w3.org/2000/svg"
|
|
24
24
|
};
|
|
25
|
-
function w(e,
|
|
26
|
-
return o(), t("svg", _, [...
|
|
27
|
-
|
|
25
|
+
function w(e, C) {
|
|
26
|
+
return o(), t("svg", _, [...C[0] || (C[0] = [
|
|
27
|
+
n("path", {
|
|
28
28
|
d: "M8.10872 13.373C8.00801 13.3696 7.90905 13.3457 7.81791 13.3027C7.72678 13.2597 7.64538 13.1986 7.57872 13.123C7.43826 12.9824 7.35938 12.7918 7.35938 12.593C7.35938 12.3943 7.43826 12.2036 7.57872 12.063L10.5787 9.06301L7.57872 6.06301C7.51939 5.919 7.50637 5.76009 7.54147 5.60834C7.57657 5.4566 7.65803 5.31954 7.77457 5.2162C7.8911 5.11286 8.03691 5.04837 8.19176 5.03167C8.34662 5.01497 8.50283 5.04689 8.63871 5.12301L12.1387 8.62301C12.2792 8.76364 12.3581 8.95426 12.3581 9.15301C12.3581 9.35176 12.2792 9.54239 12.1387 9.68301L8.63871 13.123C8.57205 13.1986 8.49065 13.2597 8.39952 13.3027C8.30838 13.3457 8.20942 13.3696 8.10872 13.373Z",
|
|
29
29
|
fill: "currentColor"
|
|
30
30
|
}, null, -1)
|
|
31
31
|
])]);
|
|
32
32
|
}
|
|
33
|
-
const
|
|
33
|
+
const D = /* @__PURE__ */ r(c, [["render", w]]), d = {}, f = {
|
|
34
34
|
width: "19",
|
|
35
35
|
height: "19",
|
|
36
36
|
viewBox: "0 0 19 19",
|
|
37
37
|
fill: "none",
|
|
38
38
|
xmlns: "http://www.w3.org/2000/svg"
|
|
39
39
|
};
|
|
40
|
-
function h(e,
|
|
41
|
-
return o(), t("svg", f, [...
|
|
42
|
-
|
|
40
|
+
function h(e, C) {
|
|
41
|
+
return o(), t("svg", f, [...C[0] || (C[0] = [
|
|
42
|
+
n("path", {
|
|
43
43
|
d: "M9.85938 0.123047C8.07935 0.123047 6.33929 0.650888 4.85925 1.63982C3.3792 2.62875 2.22565 4.03436 1.54446 5.6789C0.863275 7.32343 0.685045 9.13303 1.03231 10.8789C1.37958 12.6247 2.23675 14.2283 3.49542 15.487C4.75409 16.7457 6.35774 17.6028 8.10357 17.9501C9.8494 18.2974 11.659 18.1192 13.3035 17.438C14.9481 16.7568 16.3537 15.6032 17.3426 14.1232C18.3315 12.6431 18.8594 10.9031 18.8594 9.12305C18.8594 6.7361 17.9112 4.44691 16.2233 2.75909C14.5355 1.07126 12.2463 0.123047 9.85938 0.123047ZM2.35938 9.12305C2.35787 7.39348 2.95899 5.71742 4.05938 4.38305L14.5994 14.923C13.5019 15.8232 12.1713 16.393 10.7625 16.566C9.35369 16.7391 7.92473 16.5082 6.64206 15.9004C5.35939 15.2926 4.27583 14.3329 3.5176 13.133C2.75938 11.9331 2.3577 10.5424 2.35938 9.12305ZM15.6594 13.863L5.11938 3.32305C6.55694 2.14661 8.38037 1.54634 10.2356 1.63878C12.0909 1.73121 13.8457 2.50976 15.1592 3.82327C16.4727 5.13677 17.2512 6.8915 17.3436 8.74678C17.4361 10.6021 16.8358 12.4255 15.6594 13.863Z",
|
|
44
44
|
fill: "currentColor"
|
|
45
45
|
}, null, -1)
|
|
46
46
|
])]);
|
|
47
47
|
}
|
|
48
|
-
const
|
|
48
|
+
const N = /* @__PURE__ */ r(d, [["render", h]]), u = {}, g = {
|
|
49
49
|
width: "19",
|
|
50
50
|
height: "19",
|
|
51
51
|
viewBox: "0 0 19 19",
|
|
52
52
|
fill: "none",
|
|
53
53
|
xmlns: "http://www.w3.org/2000/svg"
|
|
54
54
|
};
|
|
55
|
-
function
|
|
56
|
-
return o(), t("svg",
|
|
57
|
-
|
|
55
|
+
function L(e, C) {
|
|
56
|
+
return o(), t("svg", g, [...C[0] || (C[0] = [
|
|
57
|
+
n("path", {
|
|
58
58
|
d: "M6.68593 14.0781C6.68547 13.9795 6.70469 13.8819 6.74247 13.7909C6.78025 13.6999 6.83582 13.6173 6.90593 13.5481L11.3759 9.07809L6.93593 4.60809C6.84454 4.46713 6.80312 4.29957 6.81831 4.13227C6.8335 3.96497 6.90441 3.80761 7.01969 3.68541C7.13497 3.56321 7.28794 3.48326 7.45407 3.45836C7.62021 3.43346 7.7899 3.46506 7.93593 3.54809L12.9359 8.54809C13.0764 8.68871 13.1553 8.87934 13.1553 9.07809C13.1553 9.27684 13.0764 9.46746 12.9359 9.60809L7.93593 14.6081C7.79531 14.7485 7.60468 14.8274 7.40593 14.8274C7.20718 14.8274 7.01656 14.7485 6.87593 14.6081C6.74524 14.4634 6.67696 14.2729 6.68593 14.0781Z",
|
|
59
59
|
fill: "currentColor"
|
|
60
60
|
}, null, -1)
|
|
61
61
|
])]);
|
|
62
62
|
}
|
|
63
|
-
const
|
|
63
|
+
const U = /* @__PURE__ */ r(u, [["render", L]]), x = {}, v = {
|
|
64
64
|
width: "19",
|
|
65
65
|
height: "19",
|
|
66
66
|
viewBox: "0 0 19 19",
|
|
67
67
|
fill: "none",
|
|
68
68
|
xmlns: "http://www.w3.org/2000/svg"
|
|
69
69
|
};
|
|
70
|
-
function a(e,
|
|
71
|
-
return o(), t("svg", v, [...
|
|
72
|
-
|
|
70
|
+
function a(e, C) {
|
|
71
|
+
return o(), t("svg", v, [...C[0] || (C[0] = [
|
|
72
|
+
n("path", {
|
|
73
73
|
d: "M6.87101 15.3712C6.7703 15.3678 6.67134 15.3439 6.58021 15.3009C6.48907 15.2579 6.40768 15.1967 6.34101 15.1212L1.34101 10.1212C1.24568 10.0594 1.16563 9.97672 1.10692 9.87944C1.04821 9.78217 1.01237 9.67284 1.00209 9.55969C0.991823 9.44653 1.00739 9.33253 1.04763 9.22628C1.08786 9.12002 1.15171 9.0243 1.23436 8.94634C1.317 8.86837 1.41628 8.8102 1.52469 8.77622C1.63311 8.74223 1.74783 8.73332 1.86019 8.75016C1.97255 8.767 2.07961 8.80915 2.1733 8.87343C2.26699 8.9377 2.34485 9.02242 2.40101 9.12118L6.87101 13.5612L17.341 3.12118C17.482 3.02979 17.6495 2.98837 17.8168 3.00356C17.9841 3.01875 18.1415 3.08966 18.2637 3.20494C18.3859 3.32022 18.4658 3.47319 18.4907 3.63933C18.5156 3.80546 18.484 3.97515 18.401 4.12118L7.40101 15.1212C7.33434 15.1967 7.25295 15.2579 7.16181 15.3009C7.07067 15.3439 6.97172 15.3678 6.87101 15.3712Z",
|
|
74
74
|
fill: "currentColor"
|
|
75
75
|
}, null, -1)
|
|
76
76
|
])]);
|
|
77
77
|
}
|
|
78
|
-
const
|
|
78
|
+
const j = /* @__PURE__ */ r(x, [["render", a]]), p = {}, $ = {
|
|
79
79
|
width: "19",
|
|
80
80
|
height: "19",
|
|
81
81
|
viewBox: "0 0 19 19",
|
|
82
82
|
fill: "none",
|
|
83
83
|
xmlns: "http://www.w3.org/2000/svg"
|
|
84
84
|
};
|
|
85
|
-
function
|
|
86
|
-
return o(), t("svg",
|
|
87
|
-
|
|
85
|
+
function m(e, C) {
|
|
86
|
+
return o(), t("svg", $, [...C[0] || (C[0] = [
|
|
87
|
+
n("path", {
|
|
88
88
|
d: "M9.85938 18.1231C8.07935 18.1231 6.33929 17.5952 4.85925 16.6063C3.3792 15.6173 2.22565 14.2117 1.54446 12.5672C0.863275 10.9227 0.685045 9.11307 1.03231 7.36724C1.37958 5.62141 2.23675 4.01776 3.49542 2.75909C4.75409 1.50042 6.35774 0.64325 8.10357 0.295983C9.8494 -0.0512836 11.659 0.126946 13.3035 0.808135C14.9481 1.48932 16.3537 2.64288 17.3426 4.12292C18.3315 5.60296 18.8594 7.34302 18.8594 9.12305C18.8594 11.51 17.9112 13.7992 16.2233 15.487C14.5355 17.1748 12.2463 18.1231 9.85938 18.1231ZM9.85938 1.62305C8.37602 1.62305 6.92597 2.06292 5.6926 2.88703C4.45923 3.71114 3.49794 4.88248 2.93028 6.25293C2.36263 7.62337 2.2141 9.13137 2.50349 10.5862C2.79288 12.0411 3.50718 13.3775 4.55608 14.4264C5.60497 15.4752 6.94134 16.1896 8.3962 16.4789C9.85106 16.7683 11.3591 16.6198 12.7295 16.0521C14.1 15.4845 15.2713 14.5232 16.0954 13.2898C16.9195 12.0565 17.3594 10.6064 17.3594 9.12305C17.3594 7.13393 16.5692 5.22627 15.1627 3.81975C13.7562 2.41323 11.8485 1.62305 9.85938 1.62305Z",
|
|
89
89
|
fill: "currentColor"
|
|
90
90
|
}, null, -1),
|
|
91
|
-
|
|
91
|
+
n("path", {
|
|
92
92
|
d: "M6.85872 12.8739C6.76017 12.8743 6.66253 12.8551 6.57152 12.8173C6.48051 12.7796 6.39796 12.724 6.32872 12.6539C6.18826 12.5132 6.10938 12.3226 6.10938 12.1239C6.10938 11.9251 6.18826 11.7345 6.32872 11.5939L12.3287 5.59387C12.4709 5.46139 12.6589 5.38927 12.8532 5.39269C13.0475 5.39612 13.2329 5.47484 13.3703 5.61225C13.5077 5.74966 13.5865 5.93505 13.5899 6.12935C13.5933 6.32365 13.5212 6.5117 13.3887 6.65387L7.38871 12.6539C7.31947 12.724 7.23692 12.7796 7.14591 12.8173C7.0549 12.8551 6.95726 12.8743 6.85872 12.8739Z",
|
|
93
93
|
fill: "currentColor"
|
|
94
94
|
}, null, -1),
|
|
95
|
-
|
|
95
|
+
n("path", {
|
|
96
96
|
d: "M12.8602 12.8739C12.7617 12.8743 12.664 12.8551 12.573 12.8173C12.482 12.7796 12.3994 12.724 12.3302 12.6539L6.3302 6.65387C6.19772 6.5117 6.12559 6.32365 6.12902 6.12935C6.13245 5.93505 6.21116 5.74966 6.34858 5.61225C6.48599 5.47484 6.67138 5.39612 6.86568 5.39269C7.05998 5.38927 7.24802 5.46139 7.3902 5.59387L13.3902 11.5939C13.5306 11.7345 13.6095 11.9251 13.6095 12.1239C13.6095 12.3226 13.5306 12.5132 13.3902 12.6539C13.321 12.724 13.2384 12.7796 13.1474 12.8173C13.0564 12.8551 12.9587 12.8743 12.8602 12.8739Z",
|
|
97
97
|
fill: "currentColor"
|
|
98
98
|
}, null, -1)
|
|
99
99
|
])]);
|
|
100
100
|
}
|
|
101
|
-
const
|
|
101
|
+
const q = /* @__PURE__ */ r(p, [["render", m]]), M = {}, Z = {
|
|
102
|
+
width: "19",
|
|
103
|
+
height: "19",
|
|
104
|
+
viewBox: "0 0 19 19",
|
|
105
|
+
fill: "none",
|
|
106
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
107
|
+
};
|
|
108
|
+
function B(e, C) {
|
|
109
|
+
return o(), t("svg", Z, [...C[0] || (C[0] = [
|
|
110
|
+
n("path", {
|
|
111
|
+
d: "M18.5501 8.82305C18.4301 8.56305 15.6901 2.37305 9.8601 2.37305C9.30186 2.37246 8.74523 2.43282 8.2001 2.55305C8.02054 2.60863 7.8684 2.72961 7.7738 2.89203C7.67919 3.05445 7.64902 3.24648 7.68927 3.43008C7.72951 3.61369 7.83723 3.77549 7.99109 3.88345C8.14496 3.99142 8.33375 4.03767 8.5201 4.01305C8.96084 3.92094 9.40983 3.87403 9.8601 3.87305C14.0401 3.87305 16.4401 7.97305 17.0301 9.12305C16.6704 9.82585 16.2487 10.4952 15.7701 11.1231C15.6841 11.2337 15.6309 11.3663 15.6165 11.5057C15.602 11.6451 15.6269 11.7858 15.6883 11.9118C15.7498 12.0377 15.8453 12.144 15.964 12.2184C16.0827 12.2929 16.2199 12.3326 16.3601 12.3331C16.474 12.3327 16.5863 12.3064 16.6886 12.2561C16.7908 12.2059 16.8802 12.133 16.9501 12.0431C17.5799 11.2432 18.1167 10.3743 18.5501 9.45305C18.5939 9.35381 18.6165 9.24653 18.6165 9.13805C18.6165 9.02957 18.5939 8.92229 18.5501 8.82305Z",
|
|
112
|
+
fill: "currentColor"
|
|
113
|
+
}, null, -1),
|
|
114
|
+
n("path", {
|
|
115
|
+
d: "M4.38896 2.59387C4.24679 2.46139 4.05874 2.38927 3.86444 2.39269C3.67014 2.39612 3.48476 2.47483 3.34734 2.61225C3.20993 2.74966 3.13122 2.93505 3.12779 3.12935C3.12436 3.32365 3.19648 3.5117 3.32896 3.65387L4.24896 4.57387C2.94625 5.77228 1.89868 7.22118 1.16896 8.83387C1.12964 8.92725 1.10938 9.02755 1.10938 9.12887C1.10938 9.23019 1.12964 9.33049 1.16896 9.42387C1.28896 9.68387 4.02896 15.8739 9.85896 15.8739C11.4183 15.8816 12.9453 15.4294 14.249 14.5739L15.329 15.6539C15.4696 15.7943 15.6602 15.8732 15.859 15.8732C16.0577 15.8732 16.2483 15.7943 16.389 15.6539C16.5294 15.5132 16.6083 15.3226 16.6083 15.1239C16.6083 14.9251 16.5294 14.7345 16.389 14.5939L4.38896 2.59387ZM8.21896 8.59387L10.429 10.8139C10.1192 10.9165 9.78749 10.9336 9.46887 10.8632C9.15025 10.7927 8.85659 10.6375 8.61896 10.4139C8.37696 10.1753 8.21012 9.87106 8.13904 9.53875C8.06796 9.20643 8.09574 8.86058 8.21896 8.54387V8.59387ZM9.85896 14.3739C5.66896 14.3739 3.27896 10.2639 2.68896 9.12387C3.34165 7.81018 4.22966 6.62729 5.30896 5.63387L7.09896 7.42387C6.71479 8.04478 6.55161 8.77725 6.63587 9.50252C6.72014 10.2278 7.04691 10.9033 7.5632 11.4196C8.07949 11.9359 8.75504 12.2627 9.48031 12.347C10.2056 12.4312 10.9381 12.268 11.559 11.8839L13.169 13.4939C12.1641 14.0778 11.0211 14.3817 9.85896 14.3739Z",
|
|
116
|
+
fill: "currentColor"
|
|
117
|
+
}, null, -1)
|
|
118
|
+
])]);
|
|
119
|
+
}
|
|
120
|
+
const z = /* @__PURE__ */ r(M, [["render", B]]), I = {}, E = {
|
|
102
121
|
width: "15",
|
|
103
122
|
height: "10",
|
|
104
123
|
viewBox: "0 0 15 10",
|
|
105
124
|
fill: "none",
|
|
106
125
|
xmlns: "http://www.w3.org/2000/svg"
|
|
107
126
|
};
|
|
108
|
-
function
|
|
109
|
-
return o(), t("svg",
|
|
110
|
-
|
|
127
|
+
function k(e, C) {
|
|
128
|
+
return o(), t("svg", E, [...C[0] || (C[0] = [
|
|
129
|
+
n("path", {
|
|
111
130
|
d: "M0.999572 8.62346L7.49355 1.0933C7.67943 0.877755 8.03735 0.877755 8.22521 1.0933L14.7192 8.62346C14.9604 8.90426 14.7429 9.31557 14.3533 9.31557H1.3654C0.975842 9.31557 0.758322 8.90426 0.999572 8.62346Z",
|
|
112
131
|
fill: "currentColor"
|
|
113
132
|
}, null, -1)
|
|
114
133
|
])]);
|
|
115
134
|
}
|
|
116
|
-
const
|
|
135
|
+
const G = /* @__PURE__ */ r(I, [["render", k]]), A = {}, H = {
|
|
117
136
|
width: "15",
|
|
118
137
|
height: "10",
|
|
119
138
|
viewBox: "0 0 15 10",
|
|
120
139
|
fill: "none",
|
|
121
140
|
xmlns: "http://www.w3.org/2000/svg"
|
|
122
141
|
};
|
|
123
|
-
function
|
|
124
|
-
return o(), t("svg",
|
|
125
|
-
|
|
142
|
+
function R(e, C) {
|
|
143
|
+
return o(), t("svg", H, [...C[0] || (C[0] = [
|
|
144
|
+
n("path", {
|
|
126
145
|
d: "M14.7192 1.62264L8.2252 9.1528C8.03932 9.36834 7.6814 9.36834 7.49354 9.1528L0.999571 1.62264C0.758321 1.34184 0.975842 0.930525 1.3654 0.930525H14.3533C14.7429 0.930525 14.9604 1.34184 14.7192 1.62264Z",
|
|
127
146
|
fill: "currentColor"
|
|
128
147
|
}, null, -1)
|
|
129
148
|
])]);
|
|
130
149
|
}
|
|
131
|
-
const
|
|
150
|
+
const J = /* @__PURE__ */ r(A, [["render", R]]), S = {}, F = {
|
|
132
151
|
width: "18",
|
|
133
152
|
height: "18",
|
|
134
153
|
viewBox: "0 0 18 18",
|
|
135
154
|
fill: "none",
|
|
136
155
|
xmlns: "http://www.w3.org/2000/svg"
|
|
137
156
|
};
|
|
138
|
-
function
|
|
139
|
-
return o(), t("svg",
|
|
140
|
-
|
|
157
|
+
function V(e, C) {
|
|
158
|
+
return o(), t("svg", F, [...C[0] || (C[0] = [
|
|
159
|
+
n("path", {
|
|
141
160
|
d: "M9 0C4.03 0 0 4.03 0 9C0 13.97 4.03 18 9 18C13.97 18 18 13.97 18 9C18 4.03 13.97 0 9 0ZM9 16.5C4.86 16.5 1.5 13.14 1.5 9C1.5 4.86 4.86 1.5 9 1.5C13.14 1.5 16.5 4.86 16.5 9C16.5 13.14 13.14 16.5 9 16.5ZM10.52 5.63L10 10.15C9.88 11.29 8.12 11.28 8 10.15L7.48 5.63C7.32 3.46 10.67 3.46 10.51 5.63H10.52ZM10 13C10 13.55 9.55 14 9 14C8.45 14 8 13.55 8 13C8 12.45 8.45 12 9 12C9.55 12 10 12.45 10 13Z",
|
|
142
161
|
fill: "currentColor"
|
|
143
162
|
}, null, -1)
|
|
144
163
|
])]);
|
|
145
164
|
}
|
|
146
|
-
const
|
|
165
|
+
const K = /* @__PURE__ */ r(S, [["render", V]]);
|
|
147
166
|
export {
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
q as
|
|
167
|
+
y as A,
|
|
168
|
+
N as B,
|
|
169
|
+
U as C,
|
|
170
|
+
z as E,
|
|
171
|
+
G as S,
|
|
172
|
+
K as W,
|
|
173
|
+
D as a,
|
|
174
|
+
j as b,
|
|
175
|
+
q as c,
|
|
176
|
+
J as d
|
|
157
177
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const e=require("vue"),t=require("./EyeIcon-CJg2W9QQ.cjs"),C={},r={width:"19",height:"19",viewBox:"0 0 19 19",fill:"none",xmlns:"http://www.w3.org/2000/svg"};function l(o,n){return e.openBlock(),e.createElementBlock("svg",r,[...n[0]||(n[0]=[e.createElementVNode("path",{d:"M11.6087 13.3726C11.5102 13.3731 11.4125 13.3539 11.3215 13.3161C11.2305 13.2783 11.148 13.2228 11.0787 13.1526L7.57872 9.65265C7.43826 9.51202 7.35938 9.3214 7.35938 9.12265C7.35938 8.9239 7.43826 8.73328 7.57872 8.59265L11.0787 5.12265C11.2197 5.03126 11.3872 4.98984 11.5545 5.00503C11.7218 5.02021 11.8792 5.09113 12.0014 5.20641C12.1236 5.32169 12.2035 5.47465 12.2284 5.64079C12.2533 5.80693 12.2217 5.97661 12.1387 6.12265L9.13871 9.12265L12.1387 12.1226C12.2792 12.2633 12.3581 12.4539 12.3581 12.6526C12.3581 12.8514 12.2792 13.042 12.1387 13.1826C11.994 13.3133 11.8035 13.3816 11.6087 13.3726Z",fill:"currentColor"},null,-1)])])}const c=t._export_sfc(C,[["render",l]]),s={},i={width:"19",height:"19",viewBox:"0 0 19 19",fill:"none",xmlns:"http://www.w3.org/2000/svg"};function _(o,n){return e.openBlock(),e.createElementBlock("svg",i,[...n[0]||(n[0]=[e.createElementVNode("path",{d:"M8.10872 13.373C8.00801 13.3696 7.90905 13.3457 7.81791 13.3027C7.72678 13.2597 7.64538 13.1986 7.57872 13.123C7.43826 12.9824 7.35938 12.7918 7.35938 12.593C7.35938 12.3943 7.43826 12.2036 7.57872 12.063L10.5787 9.06301L7.57872 6.06301C7.51939 5.919 7.50637 5.76009 7.54147 5.60834C7.57657 5.4566 7.65803 5.31954 7.77457 5.2162C7.8911 5.11286 8.03691 5.04837 8.19176 5.03167C8.34662 5.01497 8.50283 5.04689 8.63871 5.12301L12.1387 8.62301C12.2792 8.76364 12.3581 8.95426 12.3581 9.15301C12.3581 9.35176 12.2792 9.54239 12.1387 9.68301L8.63871 13.123C8.57205 13.1986 8.49065 13.2597 8.39952 13.3027C8.30838 13.3457 8.20942 13.3696 8.10872 13.373Z",fill:"currentColor"},null,-1)])])}const d=t._export_sfc(s,[["render",_]]),f={},w={width:"19",height:"19",viewBox:"0 0 19 19",fill:"none",xmlns:"http://www.w3.org/2000/svg"};function h(o,n){return e.openBlock(),e.createElementBlock("svg",w,[...n[0]||(n[0]=[e.createElementVNode("path",{d:"M9.85938 0.123047C8.07935 0.123047 6.33929 0.650888 4.85925 1.63982C3.3792 2.62875 2.22565 4.03436 1.54446 5.6789C0.863275 7.32343 0.685045 9.13303 1.03231 10.8789C1.37958 12.6247 2.23675 14.2283 3.49542 15.487C4.75409 16.7457 6.35774 17.6028 8.10357 17.9501C9.8494 18.2974 11.659 18.1192 13.3035 17.438C14.9481 16.7568 16.3537 15.6032 17.3426 14.1232C18.3315 12.6431 18.8594 10.9031 18.8594 9.12305C18.8594 6.7361 17.9112 4.44691 16.2233 2.75909C14.5355 1.07126 12.2463 0.123047 9.85938 0.123047ZM2.35938 9.12305C2.35787 7.39348 2.95899 5.71742 4.05938 4.38305L14.5994 14.923C13.5019 15.8232 12.1713 16.393 10.7625 16.566C9.35369 16.7391 7.92473 16.5082 6.64206 15.9004C5.35939 15.2926 4.27583 14.3329 3.5176 13.133C2.75938 11.9331 2.3577 10.5424 2.35938 9.12305ZM15.6594 13.863L5.11938 3.32305C6.55694 2.14661 8.38037 1.54634 10.2356 1.63878C12.0909 1.73121 13.8457 2.50976 15.1592 3.82327C16.4727 5.13677 17.2512 6.8915 17.3436 8.74678C17.4361 10.6021 16.8358 12.4255 15.6594 13.863Z",fill:"currentColor"},null,-1)])])}const u=t._export_sfc(f,[["render",h]]),g={},p={width:"19",height:"19",viewBox:"0 0 19 19",fill:"none",xmlns:"http://www.w3.org/2000/svg"};function m(o,n){return e.openBlock(),e.createElementBlock("svg",p,[...n[0]||(n[0]=[e.createElementVNode("path",{d:"M6.68593 14.0781C6.68547 13.9795 6.70469 13.8819 6.74247 13.7909C6.78025 13.6999 6.83582 13.6173 6.90593 13.5481L11.3759 9.07809L6.93593 4.60809C6.84454 4.46713 6.80312 4.29957 6.81831 4.13227C6.8335 3.96497 6.90441 3.80761 7.01969 3.68541C7.13497 3.56321 7.28794 3.48326 7.45407 3.45836C7.62021 3.43346 7.7899 3.46506 7.93593 3.54809L12.9359 8.54809C13.0764 8.68871 13.1553 8.87934 13.1553 9.07809C13.1553 9.27684 13.0764 9.46746 12.9359 9.60809L7.93593 14.6081C7.79531 14.7485 7.60468 14.8274 7.40593 14.8274C7.20718 14.8274 7.01656 14.7485 6.87593 14.6081C6.74524 14.4634 6.67696 14.2729 6.68593 14.0781Z",fill:"currentColor"},null,-1)])])}const a=t._export_sfc(g,[["render",m]]),x={},L={width:"19",height:"19",viewBox:"0 0 19 19",fill:"none",xmlns:"http://www.w3.org/2000/svg"};function v(o,n){return e.openBlock(),e.createElementBlock("svg",L,[...n[0]||(n[0]=[e.createElementVNode("path",{d:"M6.87101 15.3712C6.7703 15.3678 6.67134 15.3439 6.58021 15.3009C6.48907 15.2579 6.40768 15.1967 6.34101 15.1212L1.34101 10.1212C1.24568 10.0594 1.16563 9.97672 1.10692 9.87944C1.04821 9.78217 1.01237 9.67284 1.00209 9.55969C0.991823 9.44653 1.00739 9.33253 1.04763 9.22628C1.08786 9.12002 1.15171 9.0243 1.23436 8.94634C1.317 8.86837 1.41628 8.8102 1.52469 8.77622C1.63311 8.74223 1.74783 8.73332 1.86019 8.75016C1.97255 8.767 2.07961 8.80915 2.1733 8.87343C2.26699 8.9377 2.34485 9.02242 2.40101 9.12118L6.87101 13.5612L17.341 3.12118C17.482 3.02979 17.6495 2.98837 17.8168 3.00356C17.9841 3.01875 18.1415 3.08966 18.2637 3.20494C18.3859 3.32022 18.4658 3.47319 18.4907 3.63933C18.5156 3.80546 18.484 3.97515 18.401 4.12118L7.40101 15.1212C7.33434 15.1967 7.25295 15.2579 7.16181 15.3009C7.07067 15.3439 6.97172 15.3678 6.87101 15.3712Z",fill:"currentColor"},null,-1)])])}const B=t._export_sfc(x,[["render",v]]),$={},E={width:"19",height:"19",viewBox:"0 0 19 19",fill:"none",xmlns:"http://www.w3.org/2000/svg"};function k(o,n){return e.openBlock(),e.createElementBlock("svg",E,[...n[0]||(n[0]=[e.createElementVNode("path",{d:"M9.85938 18.1231C8.07935 18.1231 6.33929 17.5952 4.85925 16.6063C3.3792 15.6173 2.22565 14.2117 1.54446 12.5672C0.863275 10.9227 0.685045 9.11307 1.03231 7.36724C1.37958 5.62141 2.23675 4.01776 3.49542 2.75909C4.75409 1.50042 6.35774 0.64325 8.10357 0.295983C9.8494 -0.0512836 11.659 0.126946 13.3035 0.808135C14.9481 1.48932 16.3537 2.64288 17.3426 4.12292C18.3315 5.60296 18.8594 7.34302 18.8594 9.12305C18.8594 11.51 17.9112 13.7992 16.2233 15.487C14.5355 17.1748 12.2463 18.1231 9.85938 18.1231ZM9.85938 1.62305C8.37602 1.62305 6.92597 2.06292 5.6926 2.88703C4.45923 3.71114 3.49794 4.88248 2.93028 6.25293C2.36263 7.62337 2.2141 9.13137 2.50349 10.5862C2.79288 12.0411 3.50718 13.3775 4.55608 14.4264C5.60497 15.4752 6.94134 16.1896 8.3962 16.4789C9.85106 16.7683 11.3591 16.6198 12.7295 16.0521C14.1 15.4845 15.2713 14.5232 16.0954 13.2898C16.9195 12.0565 17.3594 10.6064 17.3594 9.12305C17.3594 7.13393 16.5692 5.22627 15.1627 3.81975C13.7562 2.41323 11.8485 1.62305 9.85938 1.62305Z",fill:"currentColor"},null,-1),e.createElementVNode("path",{d:"M6.85872 12.8739C6.76017 12.8743 6.66253 12.8551 6.57152 12.8173C6.48051 12.7796 6.39796 12.724 6.32872 12.6539C6.18826 12.5132 6.10938 12.3226 6.10938 12.1239C6.10938 11.9251 6.18826 11.7345 6.32872 11.5939L12.3287 5.59387C12.4709 5.46139 12.6589 5.38927 12.8532 5.39269C13.0475 5.39612 13.2329 5.47484 13.3703 5.61225C13.5077 5.74966 13.5865 5.93505 13.5899 6.12935C13.5933 6.32365 13.5212 6.5117 13.3887 6.65387L7.38871 12.6539C7.31947 12.724 7.23692 12.7796 7.14591 12.8173C7.0549 12.8551 6.95726 12.8743 6.85872 12.8739Z",fill:"currentColor"},null,-1),e.createElementVNode("path",{d:"M12.8602 12.8739C12.7617 12.8743 12.664 12.8551 12.573 12.8173C12.482 12.7796 12.3994 12.724 12.3302 12.6539L6.3302 6.65387C6.19772 6.5117 6.12559 6.32365 6.12902 6.12935C6.13245 5.93505 6.21116 5.74966 6.34858 5.61225C6.48599 5.47484 6.67138 5.39612 6.86568 5.39269C7.05998 5.38927 7.24802 5.46139 7.3902 5.59387L13.3902 11.5939C13.5306 11.7345 13.6095 11.9251 13.6095 12.1239C13.6095 12.3226 13.5306 12.5132 13.3902 12.6539C13.321 12.724 13.2384 12.7796 13.1474 12.8173C13.0564 12.8551 12.9587 12.8743 12.8602 12.8739Z",fill:"currentColor"},null,-1)])])}const I=t._export_sfc($,[["render",k]]),M={},Z={width:"19",height:"19",viewBox:"0 0 19 19",fill:"none",xmlns:"http://www.w3.org/2000/svg"};function V(o,n){return e.openBlock(),e.createElementBlock("svg",Z,[...n[0]||(n[0]=[e.createElementVNode("path",{d:"M18.5501 8.82305C18.4301 8.56305 15.6901 2.37305 9.8601 2.37305C9.30186 2.37246 8.74523 2.43282 8.2001 2.55305C8.02054 2.60863 7.8684 2.72961 7.7738 2.89203C7.67919 3.05445 7.64902 3.24648 7.68927 3.43008C7.72951 3.61369 7.83723 3.77549 7.99109 3.88345C8.14496 3.99142 8.33375 4.03767 8.5201 4.01305C8.96084 3.92094 9.40983 3.87403 9.8601 3.87305C14.0401 3.87305 16.4401 7.97305 17.0301 9.12305C16.6704 9.82585 16.2487 10.4952 15.7701 11.1231C15.6841 11.2337 15.6309 11.3663 15.6165 11.5057C15.602 11.6451 15.6269 11.7858 15.6883 11.9118C15.7498 12.0377 15.8453 12.144 15.964 12.2184C16.0827 12.2929 16.2199 12.3326 16.3601 12.3331C16.474 12.3327 16.5863 12.3064 16.6886 12.2561C16.7908 12.2059 16.8802 12.133 16.9501 12.0431C17.5799 11.2432 18.1167 10.3743 18.5501 9.45305C18.5939 9.35381 18.6165 9.24653 18.6165 9.13805C18.6165 9.02957 18.5939 8.92229 18.5501 8.82305Z",fill:"currentColor"},null,-1),e.createElementVNode("path",{d:"M4.38896 2.59387C4.24679 2.46139 4.05874 2.38927 3.86444 2.39269C3.67014 2.39612 3.48476 2.47483 3.34734 2.61225C3.20993 2.74966 3.13122 2.93505 3.12779 3.12935C3.12436 3.32365 3.19648 3.5117 3.32896 3.65387L4.24896 4.57387C2.94625 5.77228 1.89868 7.22118 1.16896 8.83387C1.12964 8.92725 1.10938 9.02755 1.10938 9.12887C1.10938 9.23019 1.12964 9.33049 1.16896 9.42387C1.28896 9.68387 4.02896 15.8739 9.85896 15.8739C11.4183 15.8816 12.9453 15.4294 14.249 14.5739L15.329 15.6539C15.4696 15.7943 15.6602 15.8732 15.859 15.8732C16.0577 15.8732 16.2483 15.7943 16.389 15.6539C16.5294 15.5132 16.6083 15.3226 16.6083 15.1239C16.6083 14.9251 16.5294 14.7345 16.389 14.5939L4.38896 2.59387ZM8.21896 8.59387L10.429 10.8139C10.1192 10.9165 9.78749 10.9336 9.46887 10.8632C9.15025 10.7927 8.85659 10.6375 8.61896 10.4139C8.37696 10.1753 8.21012 9.87106 8.13904 9.53875C8.06796 9.20643 8.09574 8.86058 8.21896 8.54387V8.59387ZM9.85896 14.3739C5.66896 14.3739 3.27896 10.2639 2.68896 9.12387C3.34165 7.81018 4.22966 6.62729 5.30896 5.63387L7.09896 7.42387C6.71479 8.04478 6.55161 8.77725 6.63587 9.50252C6.72014 10.2278 7.04691 10.9033 7.5632 11.4196C8.07949 11.9359 8.75504 12.2627 9.48031 12.347C10.2056 12.4312 10.9381 12.268 11.559 11.8839L13.169 13.4939C12.1641 14.0778 11.0211 14.3817 9.85896 14.3739Z",fill:"currentColor"},null,-1)])])}const N=t._export_sfc(M,[["render",V]]),R={},A={width:"15",height:"10",viewBox:"0 0 15 10",fill:"none",xmlns:"http://www.w3.org/2000/svg"};function F(o,n){return e.openBlock(),e.createElementBlock("svg",A,[...n[0]||(n[0]=[e.createElementVNode("path",{d:"M0.999572 8.62346L7.49355 1.0933C7.67943 0.877755 8.03735 0.877755 8.22521 1.0933L14.7192 8.62346C14.9604 8.90426 14.7429 9.31557 14.3533 9.31557H1.3654C0.975842 9.31557 0.758322 8.90426 0.999572 8.62346Z",fill:"currentColor"},null,-1)])])}const S=t._export_sfc(R,[["render",F]]),y={},H={width:"15",height:"10",viewBox:"0 0 15 10",fill:"none",xmlns:"http://www.w3.org/2000/svg"};function q(o,n){return e.openBlock(),e.createElementBlock("svg",H,[...n[0]||(n[0]=[e.createElementVNode("path",{d:"M14.7192 1.62264L8.2252 9.1528C8.03932 9.36834 7.6814 9.36834 7.49354 9.1528L0.999571 1.62264C0.758321 1.34184 0.975842 0.930525 1.3654 0.930525H14.3533C14.7429 0.930525 14.9604 1.34184 14.7192 1.62264Z",fill:"currentColor"},null,-1)])])}const D=t._export_sfc(y,[["render",q]]),U={},W={width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"};function b(o,n){return e.openBlock(),e.createElementBlock("svg",W,[...n[0]||(n[0]=[e.createElementVNode("path",{d:"M9 0C4.03 0 0 4.03 0 9C0 13.97 4.03 18 9 18C13.97 18 18 13.97 18 9C18 4.03 13.97 0 9 0ZM9 16.5C4.86 16.5 1.5 13.14 1.5 9C1.5 4.86 4.86 1.5 9 1.5C13.14 1.5 16.5 4.86 16.5 9C16.5 13.14 13.14 16.5 9 16.5ZM10.52 5.63L10 10.15C9.88 11.29 8.12 11.28 8 10.15L7.48 5.63C7.32 3.46 10.67 3.46 10.51 5.63H10.52ZM10 13C10 13.55 9.55 14 9 14C8.45 14 8 13.55 8 13C8 12.45 8.45 12 9 12C9.55 12 10 12.45 10 13Z",fill:"currentColor"},null,-1)])])}const j=t._export_sfc(U,[["render",b]]);exports.AngleLeftIcon=c;exports.AngleRightIcon=d;exports.BanIcon=u;exports.CevronRightIcon=a;exports.CheckIcon=B;exports.CloseRoundedIcon=I;exports.EyeCloseIcon=N;exports.SortDownFillIcon=D;exports.SortUpFillIcon=S;exports.WarningIcon=j;
|
package/dist/blocks/index.cjs.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),u=require("../Image-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),u=require("../Image-598ujuSJ.cjs"),f=require("../EyeIcon-CJg2W9QQ.cjs"),p=require("../FileIcon-Dt-TWf3B.cjs"),m=require("../SendIcon-Hp7buqZM.cjs"),_=require("../parseFileSize.util-DE7Sk0nR.cjs"),v=require("../uploadFile.util-B_xj5G6-.cjs"),h={class:"chat-file__content"},k=e.defineComponent({__name:"ChatFile",props:{file:{}},emits:["deleteFile"],setup(s,{emit:n}){const i=n,r=e.computed(()=>URL.createObjectURL(s.file));return(t,c)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["chat-file",{"chat-file--image":e.unref(u.getFileTypeByMime)(t.file.type)==="image"}])},[e.createElementVNode("button",{class:"chat-file__delete",onClick:c[0]||(c[0]=l=>i("deleteFile",t.file))},[e.createVNode(e.unref(f.CloseIcon))]),e.createElementVNode("div",h,[e.unref(u.getFileTypeByMime)(t.file.type)==="image"?(e.openBlock(),e.createBlock(e.unref(u.Image),{key:0,file:r.value,size:"large",fullScreen:""},null,8,["file"])):(e.openBlock(),e.createBlock(e.unref(u.File),{key:1,file:r.value,outlined:!1},null,8,["file"]))])],2))}}),g=f._export_sfc(k,[["__scopeId","data-v-12b8458b"]]),B={class:"chat-field-actions"},y={ref:"overlay",class:"chat-field-actions__overlay"},b=["onClick"],C={class:"chat-field-actions__overlay-item__label"},V=["disabled"],F=e.defineComponent({__name:"ChatFieldActions",props:e.mergeModels({actions:{},disabled:{type:Boolean,default:!1},multiple:{type:Boolean,default:!0}},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(s){const n=e.useModel(s,"modelValue"),i=e.useTemplateRef("button"),r=e.useTemplateRef("overlay"),t=e.ref(!1),c=e.reactive({image:{icon:e.shallowRef(m.ImageIcon),label:"Добавить изображение"},file:{icon:e.shallowRef(p.FileIcon),label:"Добавить файл"}}),l=a=>{v.openFileDialog({accept:a==="image"?["image"]:["pdf","excel","word"],maxFileSize:"5mb",maxFiles:1}).then(o=>{n.value?n.value=s.multiple?[...n.value,...o]:o:n.value=[...o],t.value=!1})};return e.onMounted(()=>{_.onClickOutside(r.value,()=>{t.value=!1},{ignore:[i.value]})}),(a,o)=>(e.openBlock(),e.createElementBlock("div",B,[e.createVNode(e.Transition,{name:"slide-up"},{default:e.withCtx(()=>[e.withDirectives(e.createElementVNode("div",y,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.actions,d=>(e.openBlock(),e.createElementBlock("div",{class:"chat-field-actions__overlay-item",key:d,onClick:R=>l(d)},[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(c[d].icon),{class:"chat-field-actions__overlay-item__icon"})),e.createElementVNode("span",C,e.toDisplayString(c[d].label),1)],8,b))),128))],512),[[e.vShow,t.value]])]),_:1}),e.createElementVNode("button",{ref:"button",onClick:o[0]||(o[0]=d=>t.value=!t.value),class:e.normalizeClass(["chat-field-actions__button",{"chat-field-actions__button--active":t.value}]),disabled:a.disabled},[e.createVNode(e.unref(m.PlusRoundedIcon))],10,V)]))}}),E=f._export_sfc(F,[["__scopeId","data-v-62b95e1b"]]),N={class:"chat-field"},M={key:0,class:"chat-field__files"},T={class:"chat-field__wrapper"},I=["maxlength","placeholder"],S={key:1,class:"chat-field__footer"},$={key:1,class:"chat-field__char-count"},w=e.defineComponent({__name:"ChatField",props:e.mergeModels({viewActions:{type:Boolean,default:!1},actions:{default:()=>["file","image"]},placeholder:{default:"Введите сообщение"},maxLength:{},smallText:{},error:{type:Boolean},errorText:{},disabled:{type:Boolean,default:!1}},{message:{required:!0},messageModifiers:{},files:{},filesModifiers:{}}),emits:e.mergeModels(["sendMessage"],["update:message","update:files"]),setup(s,{emit:n}){const i=n,r=e.useModel(s,"message"),t=e.useModel(s,"files"),c=l=>{t.value&&(t.value=t.value.filter(a=>a.name!==l.name))};return(l,a)=>(e.openBlock(),e.createElementBlock("div",N,[t.value&&t.value.length>0?(e.openBlock(),e.createElementBlock("div",M,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.value,o=>(e.openBlock(),e.createBlock(g,{key:o.name,file:o,onDeleteFile:c},null,8,["file"]))),128))])):e.createCommentVNode("",!0),e.createElementVNode("div",T,[l.viewActions&&l.actions.length>0?(e.openBlock(),e.createBlock(E,{key:0,modelValue:t.value,"onUpdate:modelValue":a[0]||(a[0]=o=>t.value=o),actions:l.actions,disabled:l.disabled},null,8,["modelValue","actions","disabled"])):e.createCommentVNode("",!0),e.withDirectives(e.createElementVNode("input",{"onUpdate:modelValue":a[1]||(a[1]=o=>r.value=o),class:"chat-field__input",maxlength:l.maxLength,placeholder:l.placeholder},null,8,I),[[e.vModelText,r.value]]),e.createElementVNode("button",{class:"chat-field__button",onClick:a[2]||(a[2]=o=>i("sendMessage"))},[e.createVNode(e.unref(m.SendIcon))])]),l.smallText||l.error&&l.errorText||l.maxLength?(e.openBlock(),e.createElementBlock("div",S,[l.smallText||l.error&&l.errorText?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(["chat-field__small",{"chat-field__small--error":l.error}])},e.toDisplayString(l.error?l.errorText:l.smallText),3)):e.createCommentVNode("",!0),l.maxLength?(e.openBlock(),e.createElementBlock("div",$,e.toDisplayString(r.value.length)+" / "+e.toDisplayString(l.maxLength),1)):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0)]))}}),L={class:"bonus-summary"},D=e.defineComponent({__name:"BonusSummary",setup(s){return(n,i)=>(e.openBlock(),e.createElementBlock("div",L,[e.createVNode(e.unref(m.BonusIcon),{class:"bonus-summary__icon"}),i[0]||(i[0]=e.createElementVNode("div",{class:"bonus-summary__number"},"123",-1))]))}});exports.BonusSummary=D;exports.ChatField=w;
|
package/dist/blocks/index.es.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { defineComponent as g, computed as V, createElementBlock as o, openBlock as a, normalizeClass as C, unref as c, createElementVNode as n, createVNode as v, createBlock as p, mergeModels as y, useModel as b, useTemplateRef as F, ref as L, reactive as w, shallowRef as k, onMounted as S, Transition as R, withCtx as D, withDirectives as B, Fragment as I, renderList as T, resolveDynamicComponent as U, toDisplayString as h, vShow as z, createCommentVNode as _, vModelText as N } from "vue";
|
|
2
|
-
import { g as $, I as O, F as x } from "../Image-
|
|
3
|
-
import { C as A, _ as M } from "../
|
|
4
|
-
import { F as E } from "../FileIcon-
|
|
5
|
-
import { I as P, P as j, S as q, B as H } from "../SendIcon-
|
|
2
|
+
import { g as $, I as O, F as x } from "../Image-n1noBvGw.js";
|
|
3
|
+
import { C as A, _ as M } from "../EyeIcon-D6SZWKKH.js";
|
|
4
|
+
import { F as E } from "../FileIcon-D68SKu3j.js";
|
|
5
|
+
import { I as P, P as j, S as q, B as H } from "../SendIcon-MVeP0ZnP.js";
|
|
6
6
|
import { o as G } from "../parseFileSize.util-EJk-rAI5.js";
|
|
7
7
|
import { o as J } from "../uploadFile.util-vuFr0xb6.js";
|
|
8
8
|
const K = { class: "chat-file__content" }, Q = /* @__PURE__ */ g({
|
|
Binary file
|