@oneb/ui-vue 0.3.30 → 0.3.32
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/InformationCircleIcon-2f6097a0.js +20 -0
- package/dist/InformationCircleIcon-d6b67d5d.cjs +1 -0
- package/dist/{NoSymbolIcon-e58a9aee.js → NoSymbolIcon-b3470a26.js} +8 -25
- package/dist/{NoSymbolIcon-5d326416.cjs → NoSymbolIcon-e84375bb.cjs} +1 -1
- package/dist/OneHelpMenu-73817f8a.js +922 -0
- package/dist/OneHelpMenu-c6e88d8f.cjs +1 -0
- package/dist/dropdown/index.cjs +1 -1
- package/dist/dropdown/index.js +209 -209
- package/dist/dropdown/menu.d.ts +23 -31
- package/dist/i18n/index.cjs +1 -1
- package/dist/i18n/index.js +36 -11
- package/dist/index.cjs +1 -1
- package/dist/index.js +100 -99
- package/dist/infobox/index.cjs +1 -1
- package/dist/infobox/index.js +4 -3
- package/dist/layout/index.cjs +1 -1
- package/dist/layout/index.js +726 -721
- package/dist/layout/layout.d.ts +10 -12
- package/dist/periodPicker/index.cjs +1 -1
- package/dist/periodPicker/index.js +736 -675
- package/dist/periodPicker/periodPicker.d.ts +1 -1
- package/dist/stageBadge/OneStageBadge.vue.d.ts +2 -0
- package/dist/stageBadge/index.cjs +1 -0
- package/dist/stageBadge/index.d.ts +3 -0
- package/dist/stageBadge/index.js +124 -0
- package/dist/stageBadge/stageBadge.d.ts +64 -0
- package/dist/style.css +1 -1
- package/dist/toast/index.cjs +1 -1
- package/dist/toast/index.js +6 -5
- package/package.json +8 -1
- package/dist/OneHelpMenu-79b2d83f.cjs +0 -1
- package/dist/OneHelpMenu-df4e18a9.js +0 -877
|
@@ -1,877 +0,0 @@
|
|
|
1
|
-
import { defineComponent as E, ref as S, provide as Y, watch as Z, nextTick as ee, onBeforeUnmount as te, computed as F, openBlock as t, createElementBlock as o, createElementVNode as e, renderSlot as H, normalizeProps as I, guardReactiveProps as R, createBlock as M, Teleport as oe, createCommentVNode as p, createVNode as _, Transition as W, withCtx as P, normalizeClass as j, toDisplayString as d, Fragment as $, inject as ne, withModifiers as se, resolveDynamicComponent as V, renderList as L, mergeProps as le, unref as A } from "vue";
|
|
2
|
-
import { autoUpdate as re, computePosition as ie, offset as ae, shift as ce } from "@floating-ui/dom";
|
|
3
|
-
import { flip as ue } from "@floating-ui/vue";
|
|
4
|
-
import { _ as O } from "./OneAvatar.vue_vue_type_script_setup_true_lang-08ab80dd.js";
|
|
5
|
-
import { r as G } from "./XMarkIcon-51ef0691.js";
|
|
6
|
-
import { r as J } from "./ChevronDownIcon-6805ce6c.js";
|
|
7
|
-
import { r as Q, a as de } from "./ChevronRightIcon-4549a26b.js";
|
|
8
|
-
import { OneButton as pe } from "./button/index.js";
|
|
9
|
-
import { _ as X } from "./_plugin-vue_export-helper-dad06003.js";
|
|
10
|
-
const he = {
|
|
11
|
-
title: {
|
|
12
|
-
type: String
|
|
13
|
-
},
|
|
14
|
-
stick: {
|
|
15
|
-
type: String,
|
|
16
|
-
default: "right"
|
|
17
|
-
},
|
|
18
|
-
appendBody: {
|
|
19
|
-
type: Boolean,
|
|
20
|
-
default: !1
|
|
21
|
-
},
|
|
22
|
-
trigger: {
|
|
23
|
-
type: String,
|
|
24
|
-
default: "click"
|
|
25
|
-
},
|
|
26
|
-
offset: {
|
|
27
|
-
type: Number,
|
|
28
|
-
default: 5
|
|
29
|
-
}
|
|
30
|
-
}, fe = {
|
|
31
|
-
variant: {
|
|
32
|
-
type: String,
|
|
33
|
-
default: "primary"
|
|
34
|
-
},
|
|
35
|
-
label: {
|
|
36
|
-
type: String
|
|
37
|
-
},
|
|
38
|
-
icon: {
|
|
39
|
-
type: [Function, Object]
|
|
40
|
-
}
|
|
41
|
-
}, Dt = {
|
|
42
|
-
modelValue: {
|
|
43
|
-
type: [Object, Array],
|
|
44
|
-
default: null
|
|
45
|
-
},
|
|
46
|
-
multiple: {
|
|
47
|
-
type: Boolean,
|
|
48
|
-
default: !1
|
|
49
|
-
},
|
|
50
|
-
items: {
|
|
51
|
-
type: Array,
|
|
52
|
-
default: () => []
|
|
53
|
-
},
|
|
54
|
-
title: {
|
|
55
|
-
type: String
|
|
56
|
-
},
|
|
57
|
-
placeholder: {
|
|
58
|
-
type: String,
|
|
59
|
-
default: "Select"
|
|
60
|
-
},
|
|
61
|
-
searchPlaceholder: {
|
|
62
|
-
type: String,
|
|
63
|
-
default: "Search"
|
|
64
|
-
},
|
|
65
|
-
labelKey: {
|
|
66
|
-
type: String,
|
|
67
|
-
default: "label"
|
|
68
|
-
},
|
|
69
|
-
valueKey: {
|
|
70
|
-
type: String,
|
|
71
|
-
default: "id"
|
|
72
|
-
},
|
|
73
|
-
stick: {
|
|
74
|
-
type: String,
|
|
75
|
-
default: "bottom-start"
|
|
76
|
-
},
|
|
77
|
-
allowEmpty: {
|
|
78
|
-
type: Boolean,
|
|
79
|
-
default: !1
|
|
80
|
-
},
|
|
81
|
-
emptyLabel: {
|
|
82
|
-
type: String
|
|
83
|
-
},
|
|
84
|
-
createLabel: {
|
|
85
|
-
type: String
|
|
86
|
-
},
|
|
87
|
-
searchable: {
|
|
88
|
-
type: Boolean,
|
|
89
|
-
default: !0
|
|
90
|
-
},
|
|
91
|
-
isLoading: {
|
|
92
|
-
type: Boolean,
|
|
93
|
-
default: !1
|
|
94
|
-
},
|
|
95
|
-
groupKey: {
|
|
96
|
-
type: String
|
|
97
|
-
},
|
|
98
|
-
maxWidth: {
|
|
99
|
-
type: String
|
|
100
|
-
},
|
|
101
|
-
view: {
|
|
102
|
-
type: String,
|
|
103
|
-
default: "default"
|
|
104
|
-
}
|
|
105
|
-
}, ve = ["data-opened"], me = {
|
|
106
|
-
key: 0,
|
|
107
|
-
class: "text-sm text-secondary-content px-3 py-2 text-left"
|
|
108
|
-
}, ye = {
|
|
109
|
-
key: 0,
|
|
110
|
-
class: "text-sm text-secondary-content px-3 py-2 text-left"
|
|
111
|
-
}, ge = /* @__PURE__ */ E({
|
|
112
|
-
__name: "OneDropdown",
|
|
113
|
-
props: he,
|
|
114
|
-
emits: ["open", "close"],
|
|
115
|
-
setup(w, { emit: m }) {
|
|
116
|
-
const u = S(!1), y = S(null), c = S(null), l = S(null), h = m, s = w, f = () => {
|
|
117
|
-
u.value = !u.value, u.value ? h("open") : h("close");
|
|
118
|
-
};
|
|
119
|
-
let a = null;
|
|
120
|
-
const g = () => {
|
|
121
|
-
s.trigger === "hover" && (a && (clearTimeout(a), a = null), u.value || (u.value = !0, h("open")));
|
|
122
|
-
}, k = () => {
|
|
123
|
-
s.trigger === "hover" && (a = setTimeout(() => {
|
|
124
|
-
u.value && (u.value = !1, h("close"));
|
|
125
|
-
}, 100));
|
|
126
|
-
};
|
|
127
|
-
Y("OneDropdown", {
|
|
128
|
-
onToggle: f
|
|
129
|
-
});
|
|
130
|
-
let x = null;
|
|
131
|
-
function r() {
|
|
132
|
-
!c.value || !l.value || ie(c.value, l.value, {
|
|
133
|
-
placement: s.stick ? s.stick : "bottom-start",
|
|
134
|
-
strategy: "fixed",
|
|
135
|
-
middleware: [ae(s.offset), ue(), ce({ padding: 8 })]
|
|
136
|
-
}).then(({ x: n, y: C }) => {
|
|
137
|
-
l.value && Object.assign(l.value.style, {
|
|
138
|
-
left: `${n}px`,
|
|
139
|
-
top: `${C}px`,
|
|
140
|
-
visibility: "visible"
|
|
141
|
-
});
|
|
142
|
-
});
|
|
143
|
-
}
|
|
144
|
-
Z(u, async (n) => {
|
|
145
|
-
s.appendBody && (n ? (await ee(), c.value && l.value && (l.value.style.visibility = "hidden", r(), x = re(c.value, l.value, r))) : x && (x(), x = null));
|
|
146
|
-
}), te(() => {
|
|
147
|
-
x && x();
|
|
148
|
-
});
|
|
149
|
-
const v = F(() => {
|
|
150
|
-
var z;
|
|
151
|
-
if (s.appendBody)
|
|
152
|
-
return "";
|
|
153
|
-
const n = (z = y.value) == null ? void 0 : z.getBoundingClientRect(), C = n ? n.x < 270 : !1;
|
|
154
|
-
return n && n.top + 270 > window.innerHeight ? "up" + (C ? "-right" : "-left") : "down" + (C ? "-right" : "-left");
|
|
155
|
-
}), b = F(() => {
|
|
156
|
-
const n = [
|
|
157
|
-
"absolute z-10 w-fit rounded-md bg-white",
|
|
158
|
-
"py-1 shadow-lg ring-1 ring-black ring-opacity-5 focus:outline-none",
|
|
159
|
-
"overflow-auto max-h-[540px] min-w-[150px] max-w-[540px]"
|
|
160
|
-
];
|
|
161
|
-
return v.value.startsWith("up") ? n.push("bottom-1 mb-10") : v.value.startsWith("down") && n.push("top-1 mt-10"), s.stick === "right" ? n.push("right-0") : s.stick === "left" && n.push("left-0"), n;
|
|
162
|
-
}), B = F(() => [
|
|
163
|
-
"fixed z-[10000] w-fit rounded-md bg-white",
|
|
164
|
-
"py-1 shadow-lg ring-1 ring-black ring-opacity-5 focus:outline-none",
|
|
165
|
-
"overflow-auto max-h-[540px] min-w-[150px] max-w-[540px]"
|
|
166
|
-
]);
|
|
167
|
-
return (n, C) => (t(), o("div", {
|
|
168
|
-
class: "relative inline-block",
|
|
169
|
-
ref_key: "containerRef",
|
|
170
|
-
ref: y,
|
|
171
|
-
"data-opened": u.value,
|
|
172
|
-
onMouseenter: g,
|
|
173
|
-
onMouseleave: k
|
|
174
|
-
}, [
|
|
175
|
-
e("div", {
|
|
176
|
-
ref_key: "buttonRef",
|
|
177
|
-
ref: c
|
|
178
|
-
}, [
|
|
179
|
-
H(n.$slots, "button", I(R({ onToggle: f, isExpanded: u.value })))
|
|
180
|
-
], 512),
|
|
181
|
-
s.appendBody ? (t(), M(oe, {
|
|
182
|
-
key: 0,
|
|
183
|
-
to: "body"
|
|
184
|
-
}, [
|
|
185
|
-
u.value && n.trigger === "click" ? (t(), o("div", {
|
|
186
|
-
key: 0,
|
|
187
|
-
class: "fixed top-0 left-0 w-screen h-screen z-[9999]",
|
|
188
|
-
onClick: f
|
|
189
|
-
})) : p("", !0),
|
|
190
|
-
_(W, {
|
|
191
|
-
"enter-active-class": "transition ease-out duration-100",
|
|
192
|
-
"enter-from-class": "transform opacity-0 scale-95",
|
|
193
|
-
"enter-to-class": "transform opacity-100 scale-100",
|
|
194
|
-
"leave-active-class": "transition ease-in duration-75",
|
|
195
|
-
"leave-from-class": "transform opacity-100 scale-100",
|
|
196
|
-
"leave-to-class": "transform opacity-0 scale-95"
|
|
197
|
-
}, {
|
|
198
|
-
default: P(() => [
|
|
199
|
-
u.value ? (t(), o("div", {
|
|
200
|
-
key: 0,
|
|
201
|
-
ref_key: "menuRef",
|
|
202
|
-
ref: l,
|
|
203
|
-
class: j(["menu", B.value]),
|
|
204
|
-
role: "menu",
|
|
205
|
-
"aria-orientation": "vertical",
|
|
206
|
-
tabindex: "-1",
|
|
207
|
-
onMouseenter: g,
|
|
208
|
-
onMouseleave: k
|
|
209
|
-
}, [
|
|
210
|
-
n.title ? (t(), o("div", me, d(n.title), 1)) : p("", !0),
|
|
211
|
-
H(n.$slots, "menu", I(R({ onToggle: f })))
|
|
212
|
-
], 34)) : p("", !0)
|
|
213
|
-
]),
|
|
214
|
-
_: 3
|
|
215
|
-
})
|
|
216
|
-
])) : (t(), o($, { key: 1 }, [
|
|
217
|
-
u.value && n.trigger === "click" ? (t(), o("div", {
|
|
218
|
-
key: 0,
|
|
219
|
-
class: "fixed top-0 left-0 w-screen h-screen z-10",
|
|
220
|
-
onClick: f
|
|
221
|
-
})) : p("", !0),
|
|
222
|
-
_(W, {
|
|
223
|
-
"enter-active-class": "transition ease-out duration-100",
|
|
224
|
-
"enter-from-class": "transform opacity-0 scale-95",
|
|
225
|
-
"enter-to-class": "transform opacity-100 scale-100",
|
|
226
|
-
"leave-active-class": "transition ease-in duration-75",
|
|
227
|
-
"leave-from-class": "transform opacity-100 scale-100",
|
|
228
|
-
"leave-to-class": "transform opacity-0 scale-95"
|
|
229
|
-
}, {
|
|
230
|
-
default: P(() => [
|
|
231
|
-
u.value ? (t(), o("div", {
|
|
232
|
-
key: 0,
|
|
233
|
-
class: j(["menu", b.value]),
|
|
234
|
-
role: "menu",
|
|
235
|
-
"aria-orientation": "vertical",
|
|
236
|
-
tabindex: "-1"
|
|
237
|
-
}, [
|
|
238
|
-
n.title ? (t(), o("div", ye, d(n.title), 1)) : p("", !0),
|
|
239
|
-
H(n.$slots, "menu", I(R({ onToggle: f })))
|
|
240
|
-
], 2)) : p("", !0)
|
|
241
|
-
]),
|
|
242
|
-
_: 3
|
|
243
|
-
})
|
|
244
|
-
], 64))
|
|
245
|
-
], 40, ve));
|
|
246
|
-
}
|
|
247
|
-
}), K = /* @__PURE__ */ E({
|
|
248
|
-
__name: "OneDropdownItem",
|
|
249
|
-
props: fe,
|
|
250
|
-
emits: ["click"],
|
|
251
|
-
setup(w, { emit: m }) {
|
|
252
|
-
const u = m, y = w, c = ne("OneDropdown"), l = () => {
|
|
253
|
-
c !== void 0 && c.onToggle(), u("click");
|
|
254
|
-
}, h = F(() => {
|
|
255
|
-
const s = [];
|
|
256
|
-
return y.variant === "secondary" ? s.push("text-secondary-content hover:bg-secondary-body-hover") : y.variant === "danger" ? s.push("text-danger-content hover:bg-danger-10") : y.variant === "warning" ? s.push("text-warning-content hover:bg-warning-10") : y.variant === "info" ? s.push("text-info-content hover:bg-info-10") : s.push("hover:bg-secondary-body-hover"), s;
|
|
257
|
-
});
|
|
258
|
-
return (s, f) => (t(), o("button", {
|
|
259
|
-
class: j(["px-3 py-1.5 flex items-center space-x-3 w-full whitespace-nowrap", h.value]),
|
|
260
|
-
onClick: se(l, ["prevent"])
|
|
261
|
-
}, [
|
|
262
|
-
s.icon ? (t(), M(V(s.icon), {
|
|
263
|
-
key: 0,
|
|
264
|
-
class: "w-4 h-4"
|
|
265
|
-
})) : p("", !0),
|
|
266
|
-
e("span", null, d(s.label), 1)
|
|
267
|
-
], 2));
|
|
268
|
-
}
|
|
269
|
-
});
|
|
270
|
-
function xe(w, m) {
|
|
271
|
-
return t(), o("svg", {
|
|
272
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
273
|
-
fill: "none",
|
|
274
|
-
viewBox: "0 0 24 24",
|
|
275
|
-
"stroke-width": "1.8",
|
|
276
|
-
stroke: "currentColor",
|
|
277
|
-
"aria-hidden": "true"
|
|
278
|
-
}, [
|
|
279
|
-
e("path", {
|
|
280
|
-
"stroke-linecap": "round",
|
|
281
|
-
"stroke-linejoin": "round",
|
|
282
|
-
d: "M15.75 9V5.25A2.25 2.25 0 0013.5 3h-6a2.25 2.25 0 00-2.25 2.25v13.5A2.25 2.25 0 007.5 21h6a2.25 2.25 0 002.25-2.25V15m3 0l3-3m0 0l-3-3m3 3H9"
|
|
283
|
-
})
|
|
284
|
-
]);
|
|
285
|
-
}
|
|
286
|
-
const _e = {
|
|
287
|
-
user: {
|
|
288
|
-
type: Object,
|
|
289
|
-
required: !0
|
|
290
|
-
},
|
|
291
|
-
menu: {
|
|
292
|
-
type: Array,
|
|
293
|
-
default: () => []
|
|
294
|
-
},
|
|
295
|
-
iconSize: {
|
|
296
|
-
type: String,
|
|
297
|
-
default: "34"
|
|
298
|
-
},
|
|
299
|
-
app: {
|
|
300
|
-
type: Object
|
|
301
|
-
},
|
|
302
|
-
accountLabel: {
|
|
303
|
-
type: String,
|
|
304
|
-
default: "Account"
|
|
305
|
-
},
|
|
306
|
-
logoutLabel: {
|
|
307
|
-
type: String,
|
|
308
|
-
default: "Logout"
|
|
309
|
-
},
|
|
310
|
-
versionLabel: {
|
|
311
|
-
type: String,
|
|
312
|
-
default: ""
|
|
313
|
-
},
|
|
314
|
-
onAccount: {
|
|
315
|
-
type: Function
|
|
316
|
-
},
|
|
317
|
-
onLogout: {
|
|
318
|
-
type: Function
|
|
319
|
-
}
|
|
320
|
-
}, we = {
|
|
321
|
-
workspace: {
|
|
322
|
-
type: Object,
|
|
323
|
-
required: !0
|
|
324
|
-
},
|
|
325
|
-
workspaces: {
|
|
326
|
-
type: Array
|
|
327
|
-
},
|
|
328
|
-
apps: {
|
|
329
|
-
type: Array,
|
|
330
|
-
required: !0
|
|
331
|
-
},
|
|
332
|
-
iconSize: {
|
|
333
|
-
type: String,
|
|
334
|
-
default: "24"
|
|
335
|
-
},
|
|
336
|
-
appsTitle: {
|
|
337
|
-
type: String,
|
|
338
|
-
default: "Ваші додатки"
|
|
339
|
-
},
|
|
340
|
-
changeLabel: {
|
|
341
|
-
type: String,
|
|
342
|
-
default: "Керувати робочими просторами"
|
|
343
|
-
},
|
|
344
|
-
onChange: {
|
|
345
|
-
type: Function
|
|
346
|
-
},
|
|
347
|
-
onApp: {
|
|
348
|
-
type: Function
|
|
349
|
-
}
|
|
350
|
-
}, ke = {
|
|
351
|
-
help: {
|
|
352
|
-
type: Object,
|
|
353
|
-
required: !0
|
|
354
|
-
}
|
|
355
|
-
}, be = ["onClick"], Ce = { class: "flex flex-col items-center pt-5 pb-2 h-full" }, $e = { class: "flex flex-col px-10 py-1 mt-2 text-center" }, Ae = { class: "self-center text-base font-medium tracking-wide text-black" }, Se = { class: "mt-1 text-xs leading-5 text-blue-500 font-light" }, Fe = { class: "text-left w-full mt-5 px-3" }, Le = { class: "-mb-2 flex-shrink-0 mt-auto pt-6 text-[8px] leading-3 text-gray-400" }, Nt = /* @__PURE__ */ E({
|
|
356
|
-
__name: "OneUserMenu",
|
|
357
|
-
props: _e,
|
|
358
|
-
setup(w) {
|
|
359
|
-
const m = w, u = F(() => {
|
|
360
|
-
var l;
|
|
361
|
-
return (l = m.menu) == null ? void 0 : l.map((h) => {
|
|
362
|
-
let s = { label: h.label };
|
|
363
|
-
h.icon != null && (s = { ...s, icon: h.icon });
|
|
364
|
-
const f = typeof h.click == "function" ? h.click : () => {
|
|
365
|
-
};
|
|
366
|
-
return {
|
|
367
|
-
key: h.label,
|
|
368
|
-
args: s,
|
|
369
|
-
click: f
|
|
370
|
-
};
|
|
371
|
-
});
|
|
372
|
-
}), y = () => {
|
|
373
|
-
typeof m.onAccount == "function" && m.onAccount();
|
|
374
|
-
}, c = () => {
|
|
375
|
-
typeof m.onLogout == "function" && m.onLogout();
|
|
376
|
-
};
|
|
377
|
-
return (l, h) => (t(), M(ge, { stick: "right" }, {
|
|
378
|
-
button: P(({ onToggle: s, isExpanded: f }) => {
|
|
379
|
-
var a, g;
|
|
380
|
-
return [
|
|
381
|
-
e("button", {
|
|
382
|
-
onClick: s,
|
|
383
|
-
class: j(["p-1 rounded-full hover:bg-secondary-10", [f ? "bg-secondary-25" : ""]])
|
|
384
|
-
}, [
|
|
385
|
-
_(O, {
|
|
386
|
-
text: ((a = l.user) == null ? void 0 : a.name) || "",
|
|
387
|
-
size: l.iconSize,
|
|
388
|
-
src: (g = l.user) == null ? void 0 : g.photo_url,
|
|
389
|
-
rounded: !0
|
|
390
|
-
}, null, 8, ["text", "size", "src"])
|
|
391
|
-
], 10, be)
|
|
392
|
-
];
|
|
393
|
-
}),
|
|
394
|
-
menu: P(() => {
|
|
395
|
-
var s, f, a, g, k;
|
|
396
|
-
return [
|
|
397
|
-
e("div", Ce, [
|
|
398
|
-
_(O, {
|
|
399
|
-
text: ((s = l.user) == null ? void 0 : s.name) || "",
|
|
400
|
-
size: 80,
|
|
401
|
-
src: (f = l.user) == null ? void 0 : f.photo_url,
|
|
402
|
-
rounded: !0,
|
|
403
|
-
class: "mx-auto"
|
|
404
|
-
}, null, 8, ["text", "src"]),
|
|
405
|
-
e("div", $e, [
|
|
406
|
-
e("div", Ae, d((a = l.user) == null ? void 0 : a.name), 1),
|
|
407
|
-
e("div", Se, d((g = l.user) == null ? void 0 : g.email), 1)
|
|
408
|
-
]),
|
|
409
|
-
typeof m.onAccount == "function" ? (t(), o("a", {
|
|
410
|
-
key: 0,
|
|
411
|
-
onClick: y,
|
|
412
|
-
class: "cursor-pointer justify-center px-8 py-2 mt-3 text-xs font-semibold tracking-wide leading-5 text-gray-600 border border-solid bg-neutral-100 border-slate-200 rounded-[50px] hover:bg-neutral-200"
|
|
413
|
-
}, d(l.accountLabel), 1)) : p("", !0),
|
|
414
|
-
e("div", Fe, [
|
|
415
|
-
(t(!0), o($, null, L(u.value, (x) => (t(), M(K, le({
|
|
416
|
-
key: x.key
|
|
417
|
-
}, { ref_for: !0 }, x.args, {
|
|
418
|
-
onClick: x.click
|
|
419
|
-
}), null, 16, ["onClick"]))), 128)),
|
|
420
|
-
typeof l.onLogout == "function" ? (t(), M(K, {
|
|
421
|
-
key: 0,
|
|
422
|
-
icon: A(xe),
|
|
423
|
-
label: l.logoutLabel,
|
|
424
|
-
class: "rounded py-3",
|
|
425
|
-
onClick: c
|
|
426
|
-
}, null, 8, ["icon", "label"])) : p("", !0)
|
|
427
|
-
]),
|
|
428
|
-
h[0] || (h[0] = e("div", {
|
|
429
|
-
class: "space-y-2 text-center",
|
|
430
|
-
style: { width: "240px" }
|
|
431
|
-
}, null, -1)),
|
|
432
|
-
e("div", Le, d((k = l.app) == null ? void 0 : k.version), 1)
|
|
433
|
-
])
|
|
434
|
-
];
|
|
435
|
-
}),
|
|
436
|
-
_: 1
|
|
437
|
-
}));
|
|
438
|
-
}
|
|
439
|
-
});
|
|
440
|
-
function Be(w, m) {
|
|
441
|
-
return t(), o("svg", {
|
|
442
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
443
|
-
fill: "none",
|
|
444
|
-
viewBox: "0 0 24 24",
|
|
445
|
-
"stroke-width": "1.8",
|
|
446
|
-
stroke: "currentColor",
|
|
447
|
-
"aria-hidden": "true"
|
|
448
|
-
}, [
|
|
449
|
-
e("rect", {
|
|
450
|
-
width: "2.94",
|
|
451
|
-
height: "2.94",
|
|
452
|
-
x: "17.16",
|
|
453
|
-
y: "3.9",
|
|
454
|
-
fill: "currentColor",
|
|
455
|
-
"stroke-width": "1.8",
|
|
456
|
-
rx: "1.1"
|
|
457
|
-
}),
|
|
458
|
-
e("rect", {
|
|
459
|
-
width: "2.94",
|
|
460
|
-
height: "2.94",
|
|
461
|
-
x: "10.53",
|
|
462
|
-
y: "3.9",
|
|
463
|
-
fill: "currentColor",
|
|
464
|
-
"stroke-width": "1.8",
|
|
465
|
-
rx: "1.1"
|
|
466
|
-
}),
|
|
467
|
-
e("rect", {
|
|
468
|
-
width: "2.94",
|
|
469
|
-
height: "2.94",
|
|
470
|
-
x: "3.9",
|
|
471
|
-
y: "3.9",
|
|
472
|
-
fill: "currentColor",
|
|
473
|
-
"stroke-width": "1.8",
|
|
474
|
-
rx: "1.1"
|
|
475
|
-
}),
|
|
476
|
-
e("rect", {
|
|
477
|
-
width: "2.94",
|
|
478
|
-
height: "2.94",
|
|
479
|
-
x: "17.16",
|
|
480
|
-
y: "10.53",
|
|
481
|
-
fill: "currentColor",
|
|
482
|
-
"stroke-width": "1.8",
|
|
483
|
-
rx: "1.1"
|
|
484
|
-
}),
|
|
485
|
-
e("rect", {
|
|
486
|
-
width: "2.94",
|
|
487
|
-
height: "2.94",
|
|
488
|
-
x: "10.53",
|
|
489
|
-
y: "10.53",
|
|
490
|
-
fill: "currentColor",
|
|
491
|
-
"stroke-width": "1.8",
|
|
492
|
-
rx: "1.1"
|
|
493
|
-
}),
|
|
494
|
-
e("rect", {
|
|
495
|
-
width: "2.94",
|
|
496
|
-
height: "2.94",
|
|
497
|
-
x: "3.9",
|
|
498
|
-
y: "10.53",
|
|
499
|
-
fill: "currentColor",
|
|
500
|
-
"stroke-width": "1.8",
|
|
501
|
-
rx: "1.1"
|
|
502
|
-
}),
|
|
503
|
-
e("rect", {
|
|
504
|
-
width: "2.94",
|
|
505
|
-
height: "2.94",
|
|
506
|
-
x: "17.16",
|
|
507
|
-
y: "17.16",
|
|
508
|
-
fill: "currentColor",
|
|
509
|
-
"stroke-width": "1.8",
|
|
510
|
-
rx: "1.1"
|
|
511
|
-
}),
|
|
512
|
-
e("rect", {
|
|
513
|
-
width: "2.94",
|
|
514
|
-
height: "2.94",
|
|
515
|
-
x: "10.53",
|
|
516
|
-
y: "17.16",
|
|
517
|
-
fill: "currentColor",
|
|
518
|
-
"stroke-width": "1.8",
|
|
519
|
-
rx: "1.1"
|
|
520
|
-
}),
|
|
521
|
-
e("rect", {
|
|
522
|
-
width: "2.94",
|
|
523
|
-
height: "2.94",
|
|
524
|
-
x: "3.9",
|
|
525
|
-
y: "17.16",
|
|
526
|
-
fill: "currentColor",
|
|
527
|
-
"stroke-width": "1.8",
|
|
528
|
-
rx: "1.1"
|
|
529
|
-
})
|
|
530
|
-
]);
|
|
531
|
-
}
|
|
532
|
-
const Me = ["data-opened"], je = {
|
|
533
|
-
key: 1,
|
|
534
|
-
class: "absolute top-0 right-0 h-screen overflow-y-auto max-w-96 bg-white px-3 z-10"
|
|
535
|
-
}, ze = { class: "flex justify-between items-center pt-3 mb-3" }, Oe = { class: "font-semibold text-xl px-3" }, Ee = { class: "grid" }, Pe = { class: "rounded-lg m-3 border" }, Te = {
|
|
536
|
-
class: "space-x-2 flex items-center px-3 py-2",
|
|
537
|
-
style: { width: "300px" }
|
|
538
|
-
}, He = { class: "flex justify-between relative" }, Ie = { class: "flex items-center justify-between w-full text-left text-sm font-semibold" }, Re = { key: 0 }, Ve = { class: "text-xs font-semibold" }, De = { class: "px-3 py-2" }, Ne = { class: "text-secondary-content text-left pb-1 text-xs uppercase" }, qe = { class: "overflow-auto max-h-full" }, Ue = {
|
|
539
|
-
key: 0,
|
|
540
|
-
class: "space-y-2"
|
|
541
|
-
}, We = ["onClick"], Ke = { class: "flex" }, Ge = { class: "border border-secondary-stroke rounded-2xl w-14 h-14 md:w-14 md:h-14 flex items-center justify-center" }, Je = { class: "pl-2" }, Qe = { class: "text-sm mt-1 font-semibold" }, Xe = { class: "text9 mt-1" }, Ye = {
|
|
542
|
-
key: 1,
|
|
543
|
-
class: "mt-2 w-full bg-[#FAFAFA] hover:bg-secondary-10 p-2 rounded-lg mb-5 text-xs hidden"
|
|
544
|
-
}, Ze = /* @__PURE__ */ E({
|
|
545
|
-
__name: "OneBrowserMenu",
|
|
546
|
-
props: we,
|
|
547
|
-
emits: ["open", "close"],
|
|
548
|
-
setup(w, { emit: m }) {
|
|
549
|
-
const u = m, y = w, c = S(!1), l = () => {
|
|
550
|
-
c.value = !c.value, c.value ? u("open") : u("close");
|
|
551
|
-
}, h = S(!1);
|
|
552
|
-
F(() => h.value ? Q : J);
|
|
553
|
-
const s = () => {
|
|
554
|
-
typeof y.onChange == "function" && y.onChange();
|
|
555
|
-
}, f = (a) => {
|
|
556
|
-
typeof y.onApp == "function" && y.onApp(a);
|
|
557
|
-
};
|
|
558
|
-
return (a, g) => {
|
|
559
|
-
var k, x, r, v, b, B;
|
|
560
|
-
return t(), o("div", { "data-opened": c.value }, [
|
|
561
|
-
e("button", {
|
|
562
|
-
onClick: l,
|
|
563
|
-
class: j(["sm:p-1 sm:w-[44px] sm:h-[44px] w-8 h-8 rounded-md hover:bg-secondary-10 flex", { "bg-secondary-10": c.value }])
|
|
564
|
-
}, [
|
|
565
|
-
_(A(Be), { class: "text-secondary-base w-full p-1 hover:text-blue-600 m-auto" })
|
|
566
|
-
], 2),
|
|
567
|
-
c.value ? (t(), o("div", {
|
|
568
|
-
key: 0,
|
|
569
|
-
class: "fixed top-0 left-0 w-screen h-screen z-10 bg-black/10",
|
|
570
|
-
onClick: l
|
|
571
|
-
})) : p("", !0),
|
|
572
|
-
c.value ? (t(), o("div", je, [
|
|
573
|
-
e("div", ze, [
|
|
574
|
-
e("div", Oe, d((k = a.workspace) == null ? void 0 : k.title), 1),
|
|
575
|
-
_(A(G), {
|
|
576
|
-
class: "w-6 cursor-pointer",
|
|
577
|
-
onClick: l
|
|
578
|
-
})
|
|
579
|
-
]),
|
|
580
|
-
e("div", Ee, [
|
|
581
|
-
e("div", Pe, [
|
|
582
|
-
e("div", Te, [
|
|
583
|
-
e("div", He, [
|
|
584
|
-
_(O, {
|
|
585
|
-
text: ((x = a.workspace) == null ? void 0 : x.name) || "",
|
|
586
|
-
src: (r = a.workspace) == null ? void 0 : r.photo_url,
|
|
587
|
-
size: 44,
|
|
588
|
-
rounded: !1,
|
|
589
|
-
class: "mx-auto"
|
|
590
|
-
}, null, 8, ["text", "src"])
|
|
591
|
-
]),
|
|
592
|
-
e("div", Ie, d((v = a.workspace) == null ? void 0 : v.name), 1)
|
|
593
|
-
]),
|
|
594
|
-
h.value ? (t(), o("div", Re, [
|
|
595
|
-
(t(!0), o($, null, L(a.workspaces, (n) => (t(), o("div", {
|
|
596
|
-
key: n.name,
|
|
597
|
-
class: "flex items-center space-x-3 border-t px-5 py-2 hover:bg-secondary-10"
|
|
598
|
-
}, [
|
|
599
|
-
_(O, {
|
|
600
|
-
text: n.name,
|
|
601
|
-
src: n.photo_url,
|
|
602
|
-
size: 30,
|
|
603
|
-
rounded: !1
|
|
604
|
-
}, null, 8, ["text", "src"]),
|
|
605
|
-
e("span", Ve, d(n.name), 1)
|
|
606
|
-
]))), 128))
|
|
607
|
-
])) : p("", !0),
|
|
608
|
-
g[0] || (g[0] = e("hr", null, null, -1)),
|
|
609
|
-
e("div", {
|
|
610
|
-
onClick: s,
|
|
611
|
-
class: "text-center py-2 cursor-pointer",
|
|
612
|
-
style: { "font-size": "10px" }
|
|
613
|
-
}, d((b = a.workspace) == null ? void 0 : b.changeLabel), 1)
|
|
614
|
-
])
|
|
615
|
-
]),
|
|
616
|
-
e("div", De, [
|
|
617
|
-
e("div", Ne, d((B = a.workspace) == null ? void 0 : B.appsLabel), 1),
|
|
618
|
-
e("div", qe, [
|
|
619
|
-
a.apps && a.apps.length ? (t(), o("div", Ue, [
|
|
620
|
-
(t(!0), o($, null, L(a.apps, (n) => (t(), o("div", {
|
|
621
|
-
key: n.id,
|
|
622
|
-
onClick: (C) => f(n),
|
|
623
|
-
class: "flex justify-between items-center rounded-lg hover:bg-secondary-10 p-2 bg-[#FAFAFA] cursor-pointer"
|
|
624
|
-
}, [
|
|
625
|
-
e("div", Ke, [
|
|
626
|
-
e("div", Ge, [
|
|
627
|
-
_(O, {
|
|
628
|
-
text: n.name,
|
|
629
|
-
src: n.photo_url,
|
|
630
|
-
size: 44,
|
|
631
|
-
rounded: !1
|
|
632
|
-
}, null, 8, ["text", "src"])
|
|
633
|
-
]),
|
|
634
|
-
e("div", Je, [
|
|
635
|
-
e("p", Qe, d(n.name), 1),
|
|
636
|
-
e("p", Xe, d(n == null ? void 0 : n.short), 1)
|
|
637
|
-
])
|
|
638
|
-
]),
|
|
639
|
-
e("div", null, [
|
|
640
|
-
_(pe, {
|
|
641
|
-
variant: "touch",
|
|
642
|
-
icon: A(de),
|
|
643
|
-
onClick: (C) => f(n)
|
|
644
|
-
}, null, 8, ["icon", "onClick"])
|
|
645
|
-
])
|
|
646
|
-
], 8, We))), 128))
|
|
647
|
-
])) : p("", !0),
|
|
648
|
-
a.apps && a.apps.length ? (t(), o("button", Ye, d("Дивитися всі"))) : p("", !0)
|
|
649
|
-
])
|
|
650
|
-
])
|
|
651
|
-
])) : p("", !0)
|
|
652
|
-
], 8, Me);
|
|
653
|
-
};
|
|
654
|
-
}
|
|
655
|
-
});
|
|
656
|
-
const qt = /* @__PURE__ */ X(Ze, [["__scopeId", "data-v-9e75279e"]]);
|
|
657
|
-
function et(w, m) {
|
|
658
|
-
return t(), o("svg", {
|
|
659
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
660
|
-
fill: "none",
|
|
661
|
-
viewBox: "0 0 24 24",
|
|
662
|
-
"stroke-width": "1.8",
|
|
663
|
-
stroke: "currentColor",
|
|
664
|
-
"aria-hidden": "true"
|
|
665
|
-
}, [
|
|
666
|
-
e("path", {
|
|
667
|
-
"stroke-linecap": "round",
|
|
668
|
-
"stroke-linejoin": "round",
|
|
669
|
-
d: "M9.879 7.519c1.171-1.025 3.071-1.025 4.242 0 1.172 1.025 1.172 2.687 0 3.712-.203.179-.43.326-.67.442-.745.361-1.45.999-1.45 1.827v.75M21 12a9 9 0 11-18 0 9 9 0 0118 0zm-9 5.25h.008v.008H12v-.008z"
|
|
670
|
-
})
|
|
671
|
-
]);
|
|
672
|
-
}
|
|
673
|
-
function tt(w, m) {
|
|
674
|
-
return t(), o("svg", {
|
|
675
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
676
|
-
fill: "none",
|
|
677
|
-
viewBox: "0 0 24 24",
|
|
678
|
-
"stroke-width": "1.8",
|
|
679
|
-
stroke: "currentColor",
|
|
680
|
-
"aria-hidden": "true"
|
|
681
|
-
}, [
|
|
682
|
-
e("path", {
|
|
683
|
-
"stroke-linecap": "round",
|
|
684
|
-
"stroke-linejoin": "round",
|
|
685
|
-
d: "M21 12a9 9 0 11-18 0 9 9 0 0118 0z"
|
|
686
|
-
}),
|
|
687
|
-
e("path", {
|
|
688
|
-
"stroke-linecap": "round",
|
|
689
|
-
"stroke-linejoin": "round",
|
|
690
|
-
d: "M15.91 11.672a.375.375 0 010 .656l-5.603 3.113a.375.375 0 01-.557-.328V8.887c0-.286.307-.466.557-.327l5.603 3.112z"
|
|
691
|
-
})
|
|
692
|
-
]);
|
|
693
|
-
}
|
|
694
|
-
function ot(w, m) {
|
|
695
|
-
return t(), o("svg", {
|
|
696
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
697
|
-
fill: "none",
|
|
698
|
-
viewBox: "0 0 24 24",
|
|
699
|
-
"stroke-width": "1.8",
|
|
700
|
-
stroke: "currentColor",
|
|
701
|
-
"aria-hidden": "true"
|
|
702
|
-
}, [
|
|
703
|
-
e("path", {
|
|
704
|
-
"stroke-linecap": "round",
|
|
705
|
-
"stroke-linejoin": "round",
|
|
706
|
-
d: "M12 21a9.004 9.004 0 008.716-6.747M12 21a9.004 9.004 0 01-8.716-6.747M12 21c2.485 0 4.5-4.03 4.5-9S14.485 3 12 3m0 18c-2.485 0-4.5-4.03-4.5-9S9.515 3 12 3m0 0a8.997 8.997 0 017.843 4.582M12 3a8.997 8.997 0 00-7.843 4.582m15.686 0A11.953 11.953 0 0112 10.5c-2.998 0-5.74-1.1-7.843-2.918m15.686 0A8.959 8.959 0 0121 12c0 .778-.099 1.533-.284 2.253m0 0A17.919 17.919 0 0112 16.5c-3.162 0-6.133-.815-8.716-2.247m0 0A9.015 9.015 0 013 12c0-1.605.42-3.113 1.157-4.418"
|
|
707
|
-
})
|
|
708
|
-
]);
|
|
709
|
-
}
|
|
710
|
-
const nt = ["data-opened"], st = {
|
|
711
|
-
key: 1,
|
|
712
|
-
class: "absolute top-0 right-0 h-screen max-w-96 bg-white px-3 z-10 flex flex-col"
|
|
713
|
-
}, lt = { class: "flex justify-between items-center pt-3 mb-3" }, rt = { class: "font-semibold text-xl px-3" }, it = {
|
|
714
|
-
key: 0,
|
|
715
|
-
class: "grid grid-cols-3 bg-[#FAFAFA] rounded-xl text-[#525B66] mb-2"
|
|
716
|
-
}, at = ["onClick"], ct = { class: "uppercase text-[8px]" }, ut = { class: "overflow-y-auto grid rounded-xl" }, dt = { class: "max-h-full bg-[#FAFAFA]" }, pt = {
|
|
717
|
-
key: 0,
|
|
718
|
-
class: "space-y-2"
|
|
719
|
-
}, ht = ["onClick"], ft = { class: "flex" }, vt = { class: "pl-2" }, mt = { class: "text-sm mt-1 font-semibold" }, yt = { class: "text-[10px] mt-1 text-[#979CA9]" }, gt = { class: "mt-auto" }, xt = { key: 0 }, _t = ["onClick"], wt = { class: "flex items-center space-x-3" }, kt = { class: "h-16" }, bt = {
|
|
720
|
-
key: 0,
|
|
721
|
-
class: "bg-[#FAFAFA] rounded-lg p-3"
|
|
722
|
-
}, Ct = { class: "flex justify-between" }, $t = ["onClick"], At = {
|
|
723
|
-
key: 0,
|
|
724
|
-
class: "tooltip-text min-w-[70px]"
|
|
725
|
-
}, St = { class: "flex justify-between mb-4" }, Ft = ["href"], Lt = { class: "flex flex-nowrap items-center w-max h-[24px]" }, Bt = { class: "whitespace-nowrap overflow-hidden text-ellipsis text-left flex-shrink w-full text-[#525B66]" }, Mt = { class: "py-[8px] pl-0 pr-[8px]" }, jt = /* @__PURE__ */ E({
|
|
726
|
-
__name: "OneHelpMenu",
|
|
727
|
-
props: ke,
|
|
728
|
-
emits: ["open", "close"],
|
|
729
|
-
setup(w, { emit: m }) {
|
|
730
|
-
const u = m, y = w, c = S(!1), l = () => {
|
|
731
|
-
c.value = !c.value, c.value ? u("open") : u("close");
|
|
732
|
-
}, h = F(() => k.value ? Q : J), s = S(3), f = F(() => {
|
|
733
|
-
var v, b;
|
|
734
|
-
const r = ((b = (v = y.help) == null ? void 0 : v.helpList) == null ? void 0 : b.length) || 0;
|
|
735
|
-
return s.value === r;
|
|
736
|
-
});
|
|
737
|
-
F(() => {
|
|
738
|
-
var v;
|
|
739
|
-
return (((v = y.help) == null ? void 0 : v.helpList) || []).slice(0, s.value);
|
|
740
|
-
});
|
|
741
|
-
const a = () => {
|
|
742
|
-
var v, b;
|
|
743
|
-
const r = ((b = (v = y.help) == null ? void 0 : v.helpList) == null ? void 0 : b.length) || 0;
|
|
744
|
-
s.value = f.value ? 3 : r;
|
|
745
|
-
}, g = (r, v) => {
|
|
746
|
-
r && v && typeof v.openLink == "function" ? v.openLink(v) : r && window.open(r, "_blank");
|
|
747
|
-
}, k = S(!1), x = () => {
|
|
748
|
-
k.value = !k.value;
|
|
749
|
-
};
|
|
750
|
-
return (r, v) => {
|
|
751
|
-
var b, B, n, C, z, D, N, q, U;
|
|
752
|
-
return t(), o("div", { "data-opened": c.value }, [
|
|
753
|
-
e("button", {
|
|
754
|
-
onClick: l,
|
|
755
|
-
class: j(["sm:p-1 sm:w-[44px] sm:h-[44px] w-8 h-8 rounded-md hover:bg-secondary-10 flex", { "bg-secondary-10": c.value }])
|
|
756
|
-
}, [
|
|
757
|
-
_(A(et), { class: "text-secondary-base w-full p-1 hover:text-blue-600 m-auto" })
|
|
758
|
-
], 2),
|
|
759
|
-
c.value ? (t(), o("div", {
|
|
760
|
-
key: 0,
|
|
761
|
-
class: "fixed top-0 left-0 w-screen h-screen z-10 bg-black/10 flex flex-col",
|
|
762
|
-
onClick: l
|
|
763
|
-
})) : p("", !0),
|
|
764
|
-
c.value ? (t(), o("div", st, [
|
|
765
|
-
e("div", lt, [
|
|
766
|
-
e("div", rt, d((b = r.help) == null ? void 0 : b.label), 1),
|
|
767
|
-
_(A(G), {
|
|
768
|
-
class: "w-6 cursor-pointer",
|
|
769
|
-
onClick: l
|
|
770
|
-
})
|
|
771
|
-
]),
|
|
772
|
-
(B = r.help) != null && B.helpButton ? (t(), o("div", it, [
|
|
773
|
-
(t(!0), o($, null, L((n = r.help) == null ? void 0 : n.helpButton, (i) => (t(), o("button", {
|
|
774
|
-
key: i.name,
|
|
775
|
-
onClick: (T) => g(i.link, i),
|
|
776
|
-
class: "grid justify-center space-y-2 hover:bg-slate-100 p-3 rounded-xl hover:text-blue-500"
|
|
777
|
-
}, [
|
|
778
|
-
e("div", null, [
|
|
779
|
-
(t(), M(V(i == null ? void 0 : i.icon), { class: "w-[16px] h-[16px] mx-auto" }))
|
|
780
|
-
]),
|
|
781
|
-
e("span", ct, d(i.name), 1)
|
|
782
|
-
], 8, at))), 128))
|
|
783
|
-
])) : p("", !0),
|
|
784
|
-
e("div", ut, [
|
|
785
|
-
e("div", dt, [
|
|
786
|
-
(C = r.help) != null && C.helpList && r.help.helpList.length ? (t(), o("div", pt, [
|
|
787
|
-
(t(!0), o($, null, L(r.help.helpList, (i) => (t(), o("div", {
|
|
788
|
-
key: i.id,
|
|
789
|
-
onClick: (T) => g(i.link, i),
|
|
790
|
-
class: "flex justify-between items-center rounded-lg hover:bg-slate-100 p-2 cursor-pointer hover:text-[#4089E0]"
|
|
791
|
-
}, [
|
|
792
|
-
e("div", ft, [
|
|
793
|
-
e("div", vt, [
|
|
794
|
-
e("p", mt, d(i.name), 1),
|
|
795
|
-
e("p", yt, d(i.category), 1)
|
|
796
|
-
])
|
|
797
|
-
])
|
|
798
|
-
], 8, ht))), 128))
|
|
799
|
-
])) : p("", !0)
|
|
800
|
-
])
|
|
801
|
-
]),
|
|
802
|
-
(z = r.help) != null && z.helpList && r.help.helpList.length < 0 ? (t(), o("button", {
|
|
803
|
-
key: 1,
|
|
804
|
-
onClick: a,
|
|
805
|
-
class: "h-11 w-full bg-[#FAFAFA] hover:bg-slate-100 p-3 text-[#525B66] rounded-b-xl text-xs hover:text-[#4089E0] font-medium"
|
|
806
|
-
}, d(f.value ? r.help.buttNoMore : r.help.buttMore), 1)) : p("", !0),
|
|
807
|
-
e("div", gt, [
|
|
808
|
-
(D = r.help) != null && D.video ? (t(), o("div", xt, [
|
|
809
|
-
(t(!0), o($, null, L(r.help.video, (i) => (t(), o("button", {
|
|
810
|
-
key: i.id,
|
|
811
|
-
onClick: (T) => g(i.link, i),
|
|
812
|
-
class: "flex items-center space-x-3 mt-2 w-full bg-[#FAFAFA] hover:bg-slate-100 p-4 text-[#525B66] rounded-lg text-sm hover:text-[#4089E0] font-medium"
|
|
813
|
-
}, [
|
|
814
|
-
_(A(tt), { class: "w-6 h-6" }),
|
|
815
|
-
e("span", null, d(i.name), 1)
|
|
816
|
-
], 8, _t))), 128))
|
|
817
|
-
])) : p("", !0),
|
|
818
|
-
(N = r.help) != null && N.socialList ? (t(), o("button", {
|
|
819
|
-
key: 1,
|
|
820
|
-
onClick: x,
|
|
821
|
-
class: "flex items-center justify-between mt-2 w-full bg-[#FAFAFA] hover:bg-slate-100 p-4 text-[#525B66] rounded-lg text-sm hover:text-[#4089E0] font-medium"
|
|
822
|
-
}, [
|
|
823
|
-
e("div", wt, [
|
|
824
|
-
_(A(ot), { class: "w-6 h-6" }),
|
|
825
|
-
e("span", null, d(r.help.socialButt), 1)
|
|
826
|
-
]),
|
|
827
|
-
_(A(h), { class: "w-4 h-4" })
|
|
828
|
-
])) : p("", !0),
|
|
829
|
-
e("div", kt, [
|
|
830
|
-
k.value ? (t(), o("div", bt, [
|
|
831
|
-
e("div", Ct, [
|
|
832
|
-
(t(!0), o($, null, L((q = r.help) == null ? void 0 : q.socialList, (i) => (t(), o("button", {
|
|
833
|
-
key: i.id,
|
|
834
|
-
onClick: (T) => g(i.link, i),
|
|
835
|
-
class: "flex items-center space-x-2 p-2 rounded-lg hover:bg-slate-100 hover:text-blue-500 tooltip"
|
|
836
|
-
}, [
|
|
837
|
-
e("div", null, [
|
|
838
|
-
i.name ? (t(), o("div", At, d(i.name), 1)) : p("", !0),
|
|
839
|
-
(t(), M(V(i == null ? void 0 : i.icon), { class: "w-[24px] h-[24px] mx-auto" }))
|
|
840
|
-
])
|
|
841
|
-
], 8, $t))), 128))
|
|
842
|
-
])
|
|
843
|
-
])) : p("", !0)
|
|
844
|
-
]),
|
|
845
|
-
e("div", St, [
|
|
846
|
-
(t(!0), o($, null, L((U = r.help) == null ? void 0 : U.termsOffer, (i) => (t(), o("a", {
|
|
847
|
-
key: i.name,
|
|
848
|
-
target: "_blank",
|
|
849
|
-
href: i.link,
|
|
850
|
-
class: "ml-2 flex items-center rounded-lg text-xs hover:underline font-extralight cursor-pointer"
|
|
851
|
-
}, [
|
|
852
|
-
e("div", Lt, [
|
|
853
|
-
e("div", Bt, [
|
|
854
|
-
e("span", Mt, d(i.name), 1)
|
|
855
|
-
])
|
|
856
|
-
])
|
|
857
|
-
], 8, Ft))), 128))
|
|
858
|
-
])
|
|
859
|
-
])
|
|
860
|
-
])) : p("", !0)
|
|
861
|
-
], 8, nt);
|
|
862
|
-
};
|
|
863
|
-
}
|
|
864
|
-
});
|
|
865
|
-
const Ut = /* @__PURE__ */ X(jt, [["__scopeId", "data-v-f5d2b453"]]);
|
|
866
|
-
export {
|
|
867
|
-
qt as O,
|
|
868
|
-
ge as _,
|
|
869
|
-
K as a,
|
|
870
|
-
Nt as b,
|
|
871
|
-
Ut as c,
|
|
872
|
-
he as d,
|
|
873
|
-
we as e,
|
|
874
|
-
Dt as f,
|
|
875
|
-
ot as g,
|
|
876
|
-
Be as r
|
|
877
|
-
};
|