prlg-ui 1.5.7 → 1.6.0

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.
@@ -1,93 +1,74 @@
1
- import { createElementBlock as o, openBlock as r, createElementVNode as n } from "vue";
2
- const l = (t, C) => {
3
- const e = t.__vccOpts || t;
4
- for (const [s, i] of C)
5
- e[s] = i;
6
- return e;
7
- }, c = {}, _ = {
1
+ import { createElementBlock as t, openBlock as o, createElementVNode as n } from "vue";
2
+ import { _ as r } from "./EyeIcon-DvnVzBB3.js";
3
+ const e = {}, s = {
8
4
  width: "19",
9
5
  height: "19",
10
6
  viewBox: "0 0 19 19",
11
7
  fill: "none",
12
8
  xmlns: "http://www.w3.org/2000/svg"
13
9
  };
14
- function w(t, C) {
15
- return r(), o("svg", _, C[0] || (C[0] = [
10
+ function i(l, C) {
11
+ return o(), t("svg", s, C[0] || (C[0] = [
16
12
  n("path", {
17
13
  d: "M9.85898 11.6222C9.76044 11.6226 9.6628 11.6034 9.57178 11.5656C9.48077 11.5278 9.39822 11.4723 9.32898 11.4022L5.85898 7.90216C5.76759 7.7612 5.72617 7.59364 5.74135 7.42634C5.75654 7.25903 5.82746 7.10167 5.94274 6.97948C6.05802 6.85728 6.21098 6.77733 6.37712 6.75243C6.54325 6.72753 6.71294 6.75913 6.85898 6.84216L9.85898 9.84216L12.859 6.84216C13.005 6.75913 13.1747 6.72753 13.3408 6.75243C13.507 6.77733 13.6599 6.85728 13.7752 6.97948C13.8905 7.10167 13.9614 7.25903 13.9766 7.42634C13.9918 7.59364 13.9504 7.7612 13.859 7.90216L10.359 11.4022C10.2265 11.5366 10.0476 11.6153 9.85898 11.6222Z",
18
14
  fill: "currentColor"
19
15
  }, null, -1)
20
16
  ]));
21
17
  }
22
- const s1 = /* @__PURE__ */ l(c, [["render", w]]), d = {}, f = {
18
+ const Y = /* @__PURE__ */ r(e, [["render", i]]), c = {}, _ = {
23
19
  width: "19",
24
20
  height: "19",
25
21
  viewBox: "0 0 19 19",
26
22
  fill: "none",
27
23
  xmlns: "http://www.w3.org/2000/svg"
28
24
  };
29
- function h(t, C) {
30
- return r(), o("svg", f, C[0] || (C[0] = [
25
+ function w(l, C) {
26
+ return o(), t("svg", _, C[0] || (C[0] = [
31
27
  n("path", {
32
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",
33
29
  fill: "currentColor"
34
30
  }, null, -1)
35
31
  ]));
36
32
  }
37
- const i1 = /* @__PURE__ */ l(d, [["render", h]]), u = {}, g = {
33
+ const C1 = /* @__PURE__ */ r(c, [["render", w]]), d = {}, f = {
38
34
  width: "19",
39
35
  height: "19",
40
36
  viewBox: "0 0 19 19",
41
37
  fill: "none",
42
38
  xmlns: "http://www.w3.org/2000/svg"
43
39
  };
44
- function a(t, C) {
45
- return r(), o("svg", g, C[0] || (C[0] = [
40
+ function h(l, C) {
41
+ return o(), t("svg", f, C[0] || (C[0] = [
46
42
  n("path", {
47
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",
48
44
  fill: "currentColor"
49
45
  }, null, -1)
50
46
  ]));
51
47
  }
52
- const c1 = /* @__PURE__ */ l(u, [["render", a]]), v = {}, x = {
48
+ const n1 = /* @__PURE__ */ r(d, [["render", h]]), u = {}, g = {
53
49
  width: "19",
54
50
  height: "19",
55
51
  viewBox: "0 0 19 19",
56
52
  fill: "none",
57
53
  xmlns: "http://www.w3.org/2000/svg"
58
54
  };
59
- function $(t, C) {
60
- return r(), o("svg", x, C[0] || (C[0] = [
55
+ function x(l, C) {
56
+ return o(), t("svg", g, C[0] || (C[0] = [
61
57
  n("path", {
62
58
  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",
63
59
  fill: "currentColor"
64
60
  }, null, -1)
65
61
  ]));
66
62
  }
67
- const _1 = /* @__PURE__ */ l(v, [["render", $]]), p = {}, L = {
63
+ const t1 = /* @__PURE__ */ r(u, [["render", x]]), a = {}, v = {
68
64
  width: "19",
69
65
  height: "19",
70
66
  viewBox: "0 0 19 19",
71
67
  fill: "none",
72
68
  xmlns: "http://www.w3.org/2000/svg"
73
69
  };
74
- function M(t, C) {
75
- return r(), o("svg", L, C[0] || (C[0] = [
76
- n("path", {
77
- d: "M10.9195 9.12301L15.3395 4.70301C15.4132 4.63434 15.4723 4.55154 15.5133 4.45954C15.5543 4.36754 15.5763 4.26823 15.5781 4.16753C15.5799 4.06683 15.5613 3.9668 15.5236 3.87341C15.4859 3.78002 15.4298 3.69519 15.3585 3.62397C15.2873 3.55275 15.2025 3.4966 15.1091 3.45888C15.0157 3.42116 14.9157 3.40264 14.815 3.40441C14.7143 3.40619 14.615 3.42823 14.523 3.46922C14.431 3.51022 14.3482 3.56932 14.2795 3.64301L9.8595 8.063L5.4395 3.64301C5.29732 3.51053 5.10927 3.4384 4.91497 3.44183C4.72067 3.44526 4.53529 3.52397 4.39787 3.66138C4.26046 3.7988 4.18175 3.98418 4.17832 4.17848C4.17489 4.37278 4.24702 4.56083 4.3795 4.70301L8.7995 9.12301L4.3795 13.543C4.23905 13.6836 4.16016 13.8743 4.16016 14.073C4.16016 14.2718 4.23905 14.4624 4.3795 14.603C4.52012 14.7435 4.71075 14.8223 4.9095 14.8223C5.10825 14.8223 5.29887 14.7435 5.4395 14.603L9.8595 10.183L14.2795 14.603C14.4201 14.7435 14.6107 14.8223 14.8095 14.8223C15.0082 14.8223 15.1989 14.7435 15.3395 14.603C15.4799 14.4624 15.5588 14.2718 15.5588 14.073C15.5588 13.8743 15.4799 13.6836 15.3395 13.543L10.9195 9.12301Z",
78
- fill: "currentColor"
79
- }, null, -1)
80
- ]));
81
- }
82
- const w1 = /* @__PURE__ */ l(p, [["render", M]]), m = {}, Z = {
83
- width: "19",
84
- height: "19",
85
- viewBox: "0 0 19 19",
86
- fill: "none",
87
- xmlns: "http://www.w3.org/2000/svg"
88
- };
89
- function V(t, C) {
90
- return r(), o("svg", Z, C[0] || (C[0] = [
70
+ function p(l, C) {
71
+ return o(), t("svg", v, C[0] || (C[0] = [
91
72
  n("path", {
92
73
  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",
93
74
  fill: "currentColor"
@@ -102,15 +83,15 @@ function V(t, C) {
102
83
  }, null, -1)
103
84
  ]));
104
85
  }
105
- const d1 = /* @__PURE__ */ l(m, [["render", V]]), B = {}, I = {
86
+ const o1 = /* @__PURE__ */ r(a, [["render", p]]), $ = {}, m = {
106
87
  width: "19",
107
88
  height: "19",
108
89
  viewBox: "0 0 19 19",
109
90
  fill: "none",
110
91
  xmlns: "http://www.w3.org/2000/svg"
111
92
  };
112
- function H(t, C) {
113
- return r(), o("svg", I, C[0] || (C[0] = [
93
+ function L(l, C) {
94
+ return o(), t("svg", m, C[0] || (C[0] = [
114
95
  n("path", {
115
96
  d: "M17.8569 15.8731H1.85686C1.72581 15.8727 1.59709 15.8385 1.4832 15.7736C1.3693 15.7088 1.27411 15.6156 1.20686 15.5031C1.14293 15.3885 1.10937 15.2594 1.10938 15.1281C1.10938 14.9969 1.14293 14.8678 1.20686 14.7531L9.20686 0.753136C9.27801 0.645873 9.3746 0.557884 9.48802 0.497017C9.60143 0.43615 9.72815 0.404297 9.85686 0.404297C9.98558 0.404297 10.1123 0.43615 10.2257 0.497017C10.3391 0.557884 10.4357 0.645873 10.5069 0.753136L18.5069 14.7531C18.5708 14.8678 18.6043 14.9969 18.6043 15.1281C18.6043 15.2594 18.5708 15.3885 18.5069 15.5031C18.4396 15.6156 18.3444 15.7088 18.2305 15.7736C18.1166 15.8385 17.9879 15.8727 17.8569 15.8731ZM3.14686 14.3731H16.5669L9.85686 2.63314L3.14686 14.3731Z",
116
97
  fill: "currentColor"
@@ -125,48 +106,29 @@ function H(t, C) {
125
106
  }, null, -1)
126
107
  ]));
127
108
  }
128
- const f1 = /* @__PURE__ */ l(B, [["render", H]]), E = {}, F = {
109
+ const r1 = /* @__PURE__ */ r($, [["render", L]]), M = {}, Z = {
129
110
  width: "19",
130
111
  height: "19",
131
112
  viewBox: "0 0 19 19",
132
113
  xmlns: "http://www.w3.org/2000/svg"
133
114
  };
134
- function b(t, C) {
135
- return r(), o("svg", F, C[0] || (C[0] = [
115
+ function V(l, C) {
116
+ return o(), t("svg", Z, C[0] || (C[0] = [
136
117
  n("path", {
137
118
  d: "M9.0939 2.0664L1.01022 15.1368C0.91566 15.2917 0.859375 15.483 0.859375 15.6893C0.859375 16.2368 1.25731 16.6801 1.74868 16.6801C1.75825 16.6801 1.76782 16.6801 1.77739 16.6795H17.9431C17.9509 16.6795 17.9605 16.6801 17.9701 16.6801C18.4614 16.6801 18.8594 16.2368 18.8594 15.6893C18.8594 15.4836 18.8031 15.2917 18.7063 15.1337L10.6249 2.06703C10.4537 1.79738 10.1746 1.62305 9.85937 1.62305C9.54418 1.62305 9.265 1.79738 9.09559 2.06389L9.0939 2.0664ZM10.4222 14.2347C10.4222 14.5456 10.1702 14.7976 9.85938 14.7976V14.7976C9.54852 14.7976 9.29652 14.5456 9.29652 14.2347V14.1063C9.29652 13.7954 9.54852 13.5434 9.85938 13.5434V13.5434C10.1702 13.5434 10.4222 13.7954 10.4222 14.1063V14.2347ZM9.85938 12.2892C9.54852 12.2892 9.29652 12.0372 9.29652 11.7264V7.27188C9.29652 6.92572 9.54868 6.64478 9.85937 6.64478C10.1701 6.64478 10.4222 6.92572 10.4222 7.27188V11.7264C10.4222 12.0372 10.1702 12.2892 9.85938 12.2892V12.2892Z",
138
119
  fill: "currentColor"
139
120
  }, null, -1)
140
121
  ]));
141
122
  }
142
- const h1 = /* @__PURE__ */ l(E, [["render", b]]), k = {}, S = {
143
- width: "19",
144
- height: "19",
145
- viewBox: "0 0 19 19",
146
- fill: "none",
147
- xmlns: "http://www.w3.org/2000/svg"
148
- };
149
- function y(t, C) {
150
- return r(), o("svg", S, C[0] || (C[0] = [
151
- n("path", {
152
- d: "M9.85938 15.873C4.02938 15.873 1.28937 9.68305 1.16937 9.42305C1.12977 9.32799 1.10938 9.22603 1.10938 9.12305C1.10938 9.02007 1.12977 8.91811 1.16937 8.82305C1.28937 8.56305 4.02938 2.37305 9.85938 2.37305C15.6894 2.37305 18.4294 8.56305 18.5494 8.82305C18.589 8.91811 18.6094 9.02007 18.6094 9.12305C18.6094 9.22603 18.589 9.32799 18.5494 9.42305C18.4294 9.68305 15.6894 15.873 9.85938 15.873ZM2.68937 9.12305C3.27937 10.273 5.68937 14.373 9.85938 14.373C14.0294 14.373 16.4394 10.273 17.0294 9.12305C16.4394 7.97305 14.0294 3.87305 9.85938 3.87305C5.68937 3.87305 3.27937 7.97305 2.68937 9.12305Z",
153
- fill: "currentColor"
154
- }, null, -1),
155
- n("path", {
156
- d: "M9.85938 12.373C9.21659 12.373 8.58823 12.1824 8.05377 11.8253C7.51931 11.4682 7.10275 10.9606 6.85677 10.3668C6.61078 9.77291 6.54642 9.11944 6.67182 8.489C6.79723 7.85857 7.10676 7.27947 7.56128 6.82495C8.0158 6.37043 8.59489 6.0609 9.22533 5.9355C9.85577 5.81009 10.5092 5.87446 11.1031 6.12044C11.697 6.36643 12.2045 6.78299 12.5617 7.31745C12.9188 7.85191 13.1094 8.48026 13.1094 9.12305C13.1067 9.98419 12.7635 10.8093 12.1546 11.4182C11.5456 12.0272 10.7205 12.3704 9.85938 12.373ZM9.85938 7.37305C9.51326 7.37305 9.17491 7.47568 8.88713 7.66798C8.59934 7.86027 8.37504 8.13358 8.24259 8.45335C8.11013 8.77312 8.07548 9.12499 8.143 9.46446C8.21053 9.80392 8.3772 10.1157 8.62194 10.3605C8.86668 10.6052 9.1785 10.7719 9.51797 10.8394C9.85744 10.9069 10.2093 10.8723 10.5291 10.7398C10.8488 10.6074 11.1222 10.3831 11.3144 10.0953C11.5067 9.80751 11.6094 9.46917 11.6094 9.12305C11.6068 8.65973 11.4215 8.21613 11.0939 7.88851C10.7663 7.56089 10.3227 7.37567 9.85938 7.37305Z",
157
- fill: "currentColor"
158
- }, null, -1)
159
- ]));
160
- }
161
- const u1 = /* @__PURE__ */ l(k, [["render", y]]), A = {}, P = {
123
+ const l1 = /* @__PURE__ */ r(M, [["render", V]]), B = {}, I = {
162
124
  width: "19",
163
125
  height: "19",
164
126
  viewBox: "0 0 19 19",
165
127
  fill: "none",
166
128
  xmlns: "http://www.w3.org/2000/svg"
167
129
  };
168
- function R(t, C) {
169
- return r(), o("svg", P, C[0] || (C[0] = [
130
+ function H(l, C) {
131
+ return o(), t("svg", I, C[0] || (C[0] = [
170
132
  n("path", {
171
133
  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",
172
134
  fill: "currentColor"
@@ -177,60 +139,60 @@ function R(t, C) {
177
139
  }, null, -1)
178
140
  ]));
179
141
  }
180
- const g1 = /* @__PURE__ */ l(A, [["render", R]]), W = {}, D = {
142
+ const e1 = /* @__PURE__ */ r(B, [["render", H]]), E = {}, F = {
181
143
  width: "19",
182
144
  height: "19",
183
145
  viewBox: "0 0 19 19",
184
146
  fill: "none",
185
147
  xmlns: "http://www.w3.org/2000/svg"
186
148
  };
187
- function N(t, C) {
188
- return r(), o("svg", D, C[0] || (C[0] = [
149
+ function b(l, C) {
150
+ return o(), t("svg", F, C[0] || (C[0] = [
189
151
  n("path", {
190
152
  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.67889C0.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.10356 17.9501C9.84939 18.2974 11.659 18.1191 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.12304C18.8569 6.73687 17.9078 4.44915 16.2206 2.76187C14.5333 1.07459 12.2456 0.125567 9.85938 0.123047ZM9.51322 4.27689C9.71861 4.27689 9.91939 4.3378 10.0902 4.4519C10.2609 4.56601 10.394 4.7282 10.4726 4.91795C10.5512 5.10771 10.5718 5.31651 10.5317 5.51795C10.4917 5.71939 10.3928 5.90443 10.2475 6.04966C10.1023 6.19489 9.91726 6.29379 9.71582 6.33386C9.51437 6.37393 9.30558 6.35337 9.11582 6.27477C8.92607 6.19617 8.76388 6.06307 8.64977 5.89229C8.53567 5.72152 8.47476 5.52074 8.47476 5.31535C8.47476 5.03994 8.58417 4.7758 8.77892 4.58105C8.97367 4.3863 9.23781 4.27689 9.51322 4.27689ZM10.5517 13.9692C10.1845 13.9692 9.83228 13.8233 9.57261 13.5637C9.31295 13.304 9.16707 12.9518 9.16707 12.5846V9.12304C8.98346 9.12304 8.80737 9.0501 8.67753 8.92027C8.5477 8.79044 8.47476 8.61435 8.47476 8.43074C8.47476 8.24713 8.5477 8.07104 8.67753 7.9412C8.80737 7.81137 8.98346 7.73843 9.16707 7.73843C9.53429 7.73843 9.88647 7.88431 10.1461 8.14397C10.4058 8.40364 10.5517 8.75582 10.5517 9.12304V12.5846C10.7353 12.5846 10.9114 12.6575 11.0412 12.7874C11.1711 12.9172 11.244 13.0933 11.244 13.2769C11.244 13.4605 11.1711 13.6366 11.0412 13.7664C10.9114 13.8963 10.7353 13.9692 10.5517 13.9692Z",
191
153
  fill: "currentColor"
192
154
  }, null, -1)
193
155
  ]));
194
156
  }
195
- const a1 = /* @__PURE__ */ l(W, [["render", N]]), O = {}, U = {
157
+ const s1 = /* @__PURE__ */ r(E, [["render", b]]), S = {}, k = {
196
158
  width: "19",
197
159
  height: "19",
198
160
  viewBox: "0 0 19 19",
199
161
  fill: "none",
200
162
  xmlns: "http://www.w3.org/2000/svg"
201
163
  };
202
- function j(t, C) {
203
- return r(), o("svg", U, C[0] || (C[0] = [
164
+ function A(l, C) {
165
+ return o(), t("svg", k, C[0] || (C[0] = [
204
166
  n("path", {
205
167
  d: "M17.8594 10.123H1.85938C1.59416 10.123 1.3398 10.0177 1.15227 9.83015C0.964732 9.64262 0.859375 9.38826 0.859375 9.12305C0.859375 8.85783 0.964732 8.60348 1.15227 8.41594C1.3398 8.2284 1.59416 8.12305 1.85938 8.12305H17.8594C18.1246 8.12305 18.3789 8.2284 18.5665 8.41594C18.754 8.60348 18.8594 8.85783 18.8594 9.12305C18.8594 9.38826 18.754 9.64262 18.5665 9.83015C18.3789 10.0177 18.1246 10.123 17.8594 10.123Z",
206
168
  fill: "currentColor"
207
169
  }, null, -1)
208
170
  ]));
209
171
  }
210
- const v1 = /* @__PURE__ */ l(O, [["render", j]]), q = {}, z = {
172
+ const i1 = /* @__PURE__ */ r(S, [["render", A]]), P = {}, R = {
211
173
  width: "19",
212
174
  height: "19",
213
175
  viewBox: "0 0 19 19",
214
176
  fill: "none",
215
177
  xmlns: "http://www.w3.org/2000/svg"
216
178
  };
217
- function G(t, C) {
218
- return r(), o("svg", z, C[0] || (C[0] = [
179
+ function W(l, C) {
180
+ return o(), t("svg", R, C[0] || (C[0] = [
219
181
  n("path", {
220
182
  d: "M10.6094 8.37305V2.12305C10.6094 1.92413 10.5304 1.73337 10.3897 1.59272C10.2491 1.45206 10.0583 1.37305 9.85938 1.37305C9.66046 1.37305 9.4697 1.45206 9.32905 1.59272C9.18839 1.73337 9.10938 1.92413 9.10938 2.12305V8.37305H2.85938C2.66046 8.37305 2.4697 8.45206 2.32904 8.59272C2.18839 8.73337 2.10938 8.92413 2.10938 9.12305C2.10938 9.32196 2.18839 9.51272 2.32904 9.65338C2.4697 9.79403 2.66046 9.87305 2.85938 9.87305H9.10938V16.123C9.11197 16.3212 9.19181 16.5104 9.33191 16.6505C9.472 16.7906 9.66127 16.8705 9.85938 16.873C10.0583 16.873 10.2491 16.794 10.3897 16.6534C10.5304 16.5127 10.6094 16.322 10.6094 16.123V9.87305H16.8594C17.0583 9.87305 17.2491 9.79403 17.3897 9.65338C17.5304 9.51272 17.6094 9.32196 17.6094 9.12305C17.6068 8.92494 17.5269 8.73568 17.3868 8.59558C17.2467 8.45549 17.0575 8.37564 16.8594 8.37305H10.6094Z",
221
183
  fill: "currentColor"
222
184
  }, null, -1)
223
185
  ]));
224
186
  }
225
- const x1 = /* @__PURE__ */ l(q, [["render", G]]), J = {}, K = {
187
+ const c1 = /* @__PURE__ */ r(P, [["render", W]]), y = {}, D = {
226
188
  width: "19",
227
189
  height: "19",
228
190
  viewBox: "0 0 19 19",
229
191
  fill: "none",
230
192
  xmlns: "http://www.w3.org/2000/svg"
231
193
  };
232
- function Q(t, C) {
233
- return r(), o("svg", K, C[0] || (C[0] = [
194
+ function N(l, C) {
195
+ return o(), t("svg", D, C[0] || (C[0] = [
234
196
  n("path", {
235
197
  d: "M8.63157 15.4233C7.14227 15.4233 5.68642 14.9817 4.44812 14.1543C3.20982 13.3268 2.24468 12.1508 1.67475 10.7749C1.10483 9.39896 0.955706 7.88493 1.24625 6.42425C1.5368 4.96358 2.25396 3.62186 3.30705 2.56877C4.36014 1.51568 5.70186 0.798518 7.16254 0.507972C8.62321 0.217425 10.1372 0.366544 11.5132 0.936472C12.8891 1.5064 14.0651 2.47154 14.8925 3.70984C15.7199 4.94814 16.1616 6.40399 16.1616 7.89328C16.1616 8.88214 15.9668 9.86131 15.5884 10.7749C15.21 11.6885 14.6553 12.5186 13.9561 13.2178C13.2569 13.917 12.4268 14.4717 11.5132 14.8501C10.5996 15.2285 9.62042 15.4233 8.63157 15.4233ZM8.63157 1.87328C7.44488 1.87328 6.28484 2.22518 5.29814 2.88447C4.31145 3.54376 3.54241 4.48083 3.08829 5.57718C2.63416 6.67354 2.51534 7.87994 2.74685 9.04383C2.97837 10.2077 3.54981 11.2768 4.38893 12.1159C5.22804 12.955 6.29714 13.5265 7.46102 13.758C8.62491 13.9895 9.83131 13.8707 10.9277 13.4166C12.024 12.9624 12.9611 12.1934 13.6204 11.2067C14.2797 10.22 14.6316 9.05997 14.6316 7.87328C14.6316 6.28199 13.9994 4.75586 12.8742 3.63064C11.749 2.50543 10.2229 1.87328 8.63157 1.87328Z",
236
198
  fill: "currentColor"
@@ -241,69 +203,66 @@ function Q(t, C) {
241
203
  }, null, -1)
242
204
  ]));
243
205
  }
244
- const $1 = /* @__PURE__ */ l(J, [["render", Q]]), T = {}, X = {
206
+ const _1 = /* @__PURE__ */ r(y, [["render", N]]), U = {}, j = {
245
207
  width: "15",
246
208
  height: "10",
247
209
  viewBox: "0 0 15 10",
248
210
  fill: "none",
249
211
  xmlns: "http://www.w3.org/2000/svg"
250
212
  };
251
- function Y(t, C) {
252
- return r(), o("svg", X, C[0] || (C[0] = [
213
+ function q(l, C) {
214
+ return o(), t("svg", j, C[0] || (C[0] = [
253
215
  n("path", {
254
216
  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",
255
217
  fill: "currentColor"
256
218
  }, null, -1)
257
219
  ]));
258
220
  }
259
- const p1 = /* @__PURE__ */ l(T, [["render", Y]]), C1 = {}, n1 = {
221
+ const w1 = /* @__PURE__ */ r(U, [["render", q]]), z = {}, G = {
260
222
  width: "15",
261
223
  height: "10",
262
224
  viewBox: "0 0 15 10",
263
225
  fill: "none",
264
226
  xmlns: "http://www.w3.org/2000/svg"
265
227
  };
266
- function t1(t, C) {
267
- return r(), o("svg", n1, C[0] || (C[0] = [
228
+ function J(l, C) {
229
+ return o(), t("svg", G, C[0] || (C[0] = [
268
230
  n("path", {
269
231
  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",
270
232
  fill: "currentColor"
271
233
  }, null, -1)
272
234
  ]));
273
235
  }
274
- const L1 = /* @__PURE__ */ l(C1, [["render", t1]]), o1 = {}, r1 = {
236
+ const d1 = /* @__PURE__ */ r(z, [["render", J]]), K = {}, O = {
275
237
  width: "19",
276
238
  height: "19",
277
239
  viewBox: "0 0 19 19",
278
240
  fill: "none",
279
241
  xmlns: "http://www.w3.org/2000/svg"
280
242
  };
281
- function l1(t, C) {
282
- return r(), o("svg", r1, C[0] || (C[0] = [
243
+ function Q(l, C) {
244
+ return o(), t("svg", O, C[0] || (C[0] = [
283
245
  n("path", {
284
246
  d: "M9.85938 0.123047C4.88913 0.123047 0.859375 4.1528 0.859375 9.12305C0.859375 14.0933 4.88913 18.123 9.85938 18.123C14.8296 18.123 18.8594 14.0933 18.8594 9.12305C18.8594 4.1528 14.8296 0.123047 9.85938 0.123047ZM10.6094 13.623C10.6094 14.0373 10.2736 14.373 9.85938 14.373V14.373C9.44516 14.373 9.10938 14.0373 9.10938 13.623V7.62305C9.10938 7.20883 9.44516 6.87305 9.85938 6.87305V6.87305C10.2736 6.87305 10.6094 7.20883 10.6094 7.62305V13.623ZM10.6094 4.62305C10.6094 5.03726 10.2736 5.37305 9.85938 5.37305V5.37305C9.44516 5.37305 9.10938 5.03726 9.10938 4.62305V4.62305C9.10938 4.20883 9.44516 3.87305 9.85938 3.87305V3.87305C10.2736 3.87305 10.6094 4.20883 10.6094 4.62305V4.62305Z",
285
247
  fill: "currentColor"
286
248
  }, null, -1)
287
249
  ]));
288
250
  }
289
- const M1 = /* @__PURE__ */ l(o1, [["render", l1]]);
251
+ const f1 = /* @__PURE__ */ r(K, [["render", Q]]);
290
252
  export {
291
- s1 as A,
292
- c1 as B,
293
- _1 as C,
294
- f1 as E,
295
- a1 as I,
296
- v1 as M,
297
- x1 as P,
298
- $1 as S,
299
- M1 as W,
300
- l as _,
301
- i1 as a,
302
- w1 as b,
303
- d1 as c,
304
- h1 as d,
305
- u1 as e,
306
- g1 as f,
307
- p1 as g,
308
- L1 as h
253
+ Y as A,
254
+ n1 as B,
255
+ t1 as C,
256
+ r1 as E,
257
+ s1 as I,
258
+ i1 as M,
259
+ c1 as P,
260
+ _1 as S,
261
+ f1 as W,
262
+ C1 as a,
263
+ o1 as b,
264
+ l1 as c,
265
+ e1 as d,
266
+ w1 as e,
267
+ d1 as f
309
268
  };
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),m=require("../EyeIcon-DSS0kjsN.cjs"),d=require("../TrashIcon-7HM_h8Xj.cjs"),p=require("../onClickOutside.util-DD1l-Ra5.cjs"),_=require("../dayjs.util-Dg65EiGQ.cjs"),v={key:0,class:"image-full-modal"},g={class:"image-full-modal__wrapper"},h={class:"image-full-modal__header"},k={class:"image-full-modal__main"},y=["src","alt"],V=e.defineComponent({__name:"ImageFullModal",props:{src:{},alt:{}},setup(l,{expose:n}){const t=e.ref(!1);return n({open:()=>{t.value=!0},close:()=>{t.value=!1}}),(s,o)=>(e.openBlock(),e.createBlock(e.Teleport,{to:"body"},[e.createVNode(e.Transition,{name:"fade"},{default:e.withCtx(()=>[t.value?(e.openBlock(),e.createElementBlock("div",v,[e.createElementVNode("div",{class:"image-full-modal__overlay",onClick:o[0]||(o[0]=c=>t.value=!1)}),e.createElementVNode("div",g,[e.createElementVNode("div",h,[e.createElementVNode("button",{class:"image-full-modal__close",onClick:o[1]||(o[1]=c=>t.value=!1)},[e.createVNode(e.unref(m.CloseIcon))])]),e.createElementVNode("div",k,[e.createElementVNode("img",{src:s.src,alt:s.alt},null,8,y)]),o[2]||(o[2]=e.createElementVNode("div",{class:"image-full-modal__footer"},null,-1))])])):e.createCommentVNode("",!0)]),_:1})]))}}),E=m._export_sfc(V,[["__scopeId","data-v-edc1a47e"]]),B=["src","alt"],N=e.defineComponent({__name:"Image",props:{src:{},alt:{},size:{default:"medium"},fillScreen:{type:Boolean}},setup(l){const n=e.useTemplateRef("imageFullModal");return(t,s)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createElementVNode("div",{class:e.normalizeClass(["image",`image--${t.size}`,{"image--fill-screen":t.fillScreen}])},[t.fillScreen?(e.openBlock(),e.createElementBlock("div",{key:0,class:"image__overlay",onClick:s[0]||(s[0]=o=>n.value?.open())},[e.createVNode(e.unref(m.EyeIcon))])):e.createCommentVNode("",!0),e.createElementVNode("img",{src:t.src,alt:t.alt},null,8,B)],2),t.fillScreen?(e.openBlock(),e.createBlock(E,{key:0,ref:"imageFullModal",src:t.src,alt:t.alt},null,8,["src","alt"])):e.createCommentVNode("",!0)],64))}}),C=m._export_sfc(N,[["__scopeId","data-v-360a26ed"]]);function f(l){return l.startsWith("image/")?"image":l==="application/pdf"?"pdf":l==="application/msword"||l==="application/vnd.openxmlformats-officedocument.wordprocessingml.document"?"word":l==="application/vnd.ms-excel"||l==="application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"?"excel":"other"}const b={class:"chat-file__content"},$={key:1,class:"chat-file__content-file"},F={class:"chat-file__content-file-icon"},I={class:"chat-file__content-file-name"},M=e.defineComponent({__name:"ChatFile",props:{file:{}},emits:["deleteFile"],setup(l,{emit:n}){const t=n,s=e.computed(()=>URL.createObjectURL(l.file)),o=e.computed(()=>{switch(f(l.file.type)){case"pdf":return d.PdfIcon;case"word":return d.WordIcon;case"excel":return d.ExcelIcon;case"other":return d.FileIcon;default:return null}});return(c,a)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["chat-file",{"chat-file--image":e.unref(f)(c.file.type)==="image"}])},[e.createElementVNode("button",{class:"chat-file__delete",onClick:a[0]||(a[0]=i=>t("deleteFile",c.file))},[e.createVNode(e.unref(m.CloseIcon))]),e.createElementVNode("div",b,[e.unref(f)(c.file.type)==="image"?(e.openBlock(),e.createBlock(e.unref(C),{key:0,src:s.value,alt:c.file.name,size:"large","fill-screen":""},null,8,["src","alt"])):(e.openBlock(),e.createElementBlock("div",$,[e.createElementVNode("div",F,[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(o.value)))]),e.createElementVNode("div",I,e.toDisplayString(c.file.name),1)])),a[1]||(a[1]=e.createElementVNode("div",{class:"chat-file__info"},[e.createElementVNode("div",{class:"chat-file__info-name"}," PNG "),e.createElementVNode("div",{class:"chat-file__info-separator"}),e.createElementVNode("div",{class:"chat-file__info-size"}," 34 MB ")],-1))])],2))}}),w=m._export_sfc(M,[["__scopeId","data-v-15110fe6"]]),S=l=>{const n=["b","kb","mb","gb","tb"],t=l.match(/[a-zA-Z]+/)?.[0]||"b",s=parseFloat(l.replace(t,"")),o=n.indexOf(t.toLowerCase());return s*Math.pow(1024,o)};function x(l){if(!l)return;const n=Array.isArray(l)?l:[l],t={image:["image/*"],pdf:["application/pdf"],excel:["application/vnd.ms-excel","application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"],word:["application/msword","application/vnd.openxmlformats-officedocument.wordprocessingml.document"],all:["*/*"]};return n.flatMap(s=>t[s]||[]).join(",")}function z(l={}){return new Promise(n=>{const t=document.createElement("input");t.type="file",t.style.display="none",l.maxFiles&&l.maxFiles>1&&(t.multiple=!0);const s=x(l.accept);s&&(t.accept=s),t.addEventListener("change",o=>{const c=o.target;let a=[];if(c.files&&c.files.length>0&&(a=Array.from(c.files),l.maxFiles&&a.length>l.maxFiles&&(a=a.slice(0,l.maxFiles)),l.maxFileSize)){const i=S(l.maxFileSize);a=a.filter(r=>r.size<=i)}n(a),document.body.removeChild(t)}),document.body.appendChild(t),t.click()})}const R={class:"chat-field-actions"},D={ref:"overlay",class:"chat-field-actions__overlay"},A=["onClick"],L={class:"chat-field-actions__overlay-item__label"},O=["disabled"],T=e.defineComponent({__name:"ChatFieldActions",props:e.mergeModels({actions:{},disabled:{type:Boolean,default:!1},multiple:{type:Boolean,default:!0}},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(l){const n=e.useModel(l,"modelValue"),t=e.useTemplateRef("button"),s=e.useTemplateRef("overlay"),o=e.ref(!1),c=e.reactive({image:{icon:e.shallowRef(d.ImageIcon),label:"Добавить изображение"},file:{icon:e.shallowRef(d.FileIcon),label:"Добавить файл"}}),a=i=>{z({accept:i==="image"?["image"]:["pdf","excel","word"],maxFileSize:"5mb",maxFiles:1}).then(r=>{n.value?n.value=l.multiple?[...n.value,...r]:r:n.value=[...r],o.value=!1})};return e.onMounted(()=>{p.onClickOutside(s.value,()=>{o.value=!1},{ignore:[t.value]})}),(i,r)=>(e.openBlock(),e.createElementBlock("div",R,[e.createVNode(e.Transition,{name:"slide-up"},{default:e.withCtx(()=>[e.withDirectives(e.createElementVNode("div",D,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(i.actions,u=>(e.openBlock(),e.createElementBlock("div",{class:"chat-field-actions__overlay-item",key:u,onClick:se=>a(u)},[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(c[u].icon),{class:"chat-field-actions__overlay-item__icon"})),e.createElementVNode("span",L,e.toDisplayString(c[u].label),1)],8,A))),128))],512),[[e.vShow,o.value]])]),_:1}),e.createElementVNode("button",{ref:"button",onClick:r[0]||(r[0]=u=>o.value=!o.value),class:e.normalizeClass(["chat-field-actions__button",{"chat-field-actions__button--active":o.value}]),disabled:i.disabled},[e.createVNode(e.unref(d.PlusRoundedIcon))],10,O)]))}}),q=m._export_sfc(T,[["__scopeId","data-v-6b295528"]]),P={class:"chat-field"},j={key:0,class:"chat-field__files"},U={class:"chat-field__wrapper"},H=["placeholder"],W=e.defineComponent({__name:"ChatField",props:e.mergeModels({viewActions:{type:Boolean,default:!1},actions:{default:()=>["file","image"]},placeholder:{default:"Введите сообщение"},disabled:{type:Boolean,default:!1}},{message:{required:!0},messageModifiers:{},files:{},filesModifiers:{}}),emits:e.mergeModels(["sendMessage"],["update:message","update:files"]),setup(l,{emit:n}){const t=n,s=e.useModel(l,"message"),o=e.useModel(l,"files"),c=a=>{o.value&&(o.value=o.value.filter(i=>i.name!==a.name))};return(a,i)=>(e.openBlock(),e.createElementBlock("div",P,[o.value&&o.value.length>0?(e.openBlock(),e.createElementBlock("div",j,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.value,r=>(e.openBlock(),e.createBlock(w,{key:r.name,file:r,onDeleteFile:c},null,8,["file"]))),128))])):e.createCommentVNode("",!0),e.createElementVNode("div",U,[a.viewActions&&a.actions.length>0?(e.openBlock(),e.createBlock(q,{key:0,modelValue:o.value,"onUpdate:modelValue":i[0]||(i[0]=r=>o.value=r),actions:a.actions,disabled:a.disabled},null,8,["modelValue","actions","disabled"])):e.createCommentVNode("",!0),e.withDirectives(e.createElementVNode("input",{"onUpdate:modelValue":i[1]||(i[1]=r=>s.value=r),class:"chat-field__input",placeholder:a.placeholder},null,8,H),[[e.vModelText,s.value]]),e.createElementVNode("button",{class:"chat-field__button",onClick:i[2]||(i[2]=r=>t("sendMessage"))},[e.createVNode(e.unref(d.SendIcon))])])]))}}),G={class:"message__avatar"},X=["src"],Y={class:"message__content"},Z={class:"message__info"},J={class:"message__name"},K={class:"message__time"},Q={class:"message__text"},ee={class:"message-actions__item"},te={class:"message-actions__item"},le=e.defineComponent({__name:"Message",props:{message:{},position:{default:"left"}},setup(l){const n=e.computed(()=>["message",`message--${l.position}`]),t=e.ref(null),s=e.ref(!1),o=a=>{t.value&&(s.value=!0,t.value.style.left=`${a.offsetX}px`,t.value.style.top=`${a.offsetY}px`)},c=a=>{t.value&&a.composedPath().includes(t.value)||(s.value=!1)};return e.onMounted(()=>{document.addEventListener("click",c)}),e.onUnmounted(()=>{document.removeEventListener("click",c)}),(a,i)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createElementVNode("div",{class:e.normalizeClass(n.value),onContextmenu:e.withModifiers(o,["right","prevent"])},[e.createElementVNode("div",G,[a.message.user.avatar?(e.openBlock(),e.createElementBlock("img",{key:1,src:a.message.user.avatar,alt:"avatar"},null,8,X)):(e.openBlock(),e.createBlock(e.unref(d.AvatarIcon),{key:0}))]),e.createElementVNode("div",Y,[e.createElementVNode("div",Z,[e.createElementVNode("div",J,[e.createElementVNode("strong",null,e.toDisplayString(a.message.user.name)+" "+e.toDisplayString(a.message.user.lastname),1),e.createTextVNode(" ("+e.toDisplayString(a.message.user.post)+") ",1)]),e.createElementVNode("div",K,e.toDisplayString(e.unref(_.dayjs)(a.message.created_at).format("HH:mm")),1)]),e.createElementVNode("p",Q,e.toDisplayString(a.message.text),1)])],34),e.createElementVNode("div",{ref_key:"actionsRef",ref:t,class:e.normalizeClass(["message-actions",{"message-actions--visible":s.value}])},[e.createElementVNode("div",ee,[e.createVNode(e.unref(d.CopyIcon),{class:"message-actions__item-icon"}),i[0]||(i[0]=e.createElementVNode("span",{class:"message-actions__item-text"},"Копировать",-1))]),e.createElementVNode("div",te,[e.createVNode(e.unref(d.TrashIcon),{class:"message-actions__item-icon"}),i[1]||(i[1]=e.createElementVNode("span",{class:"message-actions__item-text"},"Удалить",-1))])],2)],64))}}),ae={class:"bonus-summary"},oe=e.defineComponent({__name:"BonusSummary",setup(l){return(n,t)=>(e.openBlock(),e.createElementBlock("div",ae,[e.createVNode(e.unref(d.BonusIcon),{class:"bonus-summary__icon"}),t[0]||(t[0]=e.createElementVNode("div",{class:"bonus-summary__number"},"123",-1))]))}});exports.BonusSummary=oe;exports.ChatField=W;exports.Message=le;