@oneb/ui-vue 0.1.21 → 0.1.22

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.
Files changed (46) hide show
  1. package/dist/{OneBrowserMenu-8cf71483.js → OneBrowserMenu-97c45a52.js} +177 -178
  2. package/dist/OneBrowserMenu-ac867a37.cjs +1 -0
  3. package/dist/button/index.cjs +1 -1
  4. package/dist/button/index.js +1 -1
  5. package/dist/dropdown/index.cjs +1 -1
  6. package/dist/dropdown/index.js +62 -62
  7. package/dist/form/index.cjs +1 -1
  8. package/dist/form/index.js +125 -125
  9. package/dist/index-81f36d8e.js +149 -0
  10. package/dist/index-98ecfd9e.cjs +1 -0
  11. package/dist/index.cjs +1 -1
  12. package/dist/index.js +2 -2
  13. package/dist/layout/index.cjs +1 -1
  14. package/dist/layout/index.js +407 -407
  15. package/package.json +1 -1
  16. package/dist/OneBrowserMenu-3650ed5d.cjs +0 -1
  17. package/dist/button/OneButton.vue.d.ts +0 -2
  18. package/dist/button/SpinnerIcon.vue.d.ts +0 -2
  19. package/dist/button/util.d.ts +0 -2
  20. package/dist/card/OneCard.vue.d.ts +0 -2
  21. package/dist/card/OneCardBody.vue.d.ts +0 -2
  22. package/dist/card/OneCardFooter.vue.d.ts +0 -2
  23. package/dist/card/OneCardHeader.vue.d.ts +0 -2
  24. package/dist/collapse/OneCollapse.vue.d.ts +0 -2
  25. package/dist/common/OneAvatar.vue.d.ts +0 -2
  26. package/dist/composables/useElementWidth.d.ts +0 -1
  27. package/dist/composables/useResizeObserver.d.ts +0 -5
  28. package/dist/dropdown/OneBrowserMenu.vue.d.ts +0 -2
  29. package/dist/dropdown/OneBrowserMenuGrid.vue.d.ts +0 -2
  30. package/dist/dropdown/OneDropdown.vue.d.ts +0 -2
  31. package/dist/dropdown/OneDropdownDivider.vue.d.ts +0 -2
  32. package/dist/dropdown/OneDropdownItem.vue.d.ts +0 -2
  33. package/dist/dropdown/OneUserMenu.vue.d.ts +0 -2
  34. package/dist/form/OneForm.vue.d.ts +0 -2
  35. package/dist/form/OneFormFeedback.vue.d.ts +0 -2
  36. package/dist/form/OneFormField.vue.d.ts +0 -2
  37. package/dist/form/OneFormInput.vue.d.ts +0 -2
  38. package/dist/form/OneFormLabel.vue.d.ts +0 -2
  39. package/dist/index-668faddf.cjs +0 -1
  40. package/dist/index-ab76dea6.js +0 -145
  41. package/dist/indicators/OneIndicators.vue.d.ts +0 -2
  42. package/dist/label/OneLabel.vue.d.ts +0 -2
  43. package/dist/layout/IconOneb.vue.d.ts +0 -2
  44. package/dist/layout/OneMainLayout.vue.d.ts +0 -2
  45. package/dist/layout/OneSidebar.vue.d.ts +0 -2
  46. package/dist/layout/OneSidebarLink.vue.d.ts +0 -2
@@ -1,9 +1,9 @@
1
- import { defineComponent as $, ref as C, provide as T, computed as _, openBlock as o, createElementBlock as r, renderSlot as M, normalizeProps as P, guardReactiveProps as D, createCommentVNode as m, createVNode as v, Transition as V, withCtx as z, normalizeClass as A, toDisplayString as p, inject as I, withModifiers as q, createBlock as k, resolveDynamicComponent as H, createElementVNode as e, Fragment as S, renderList as j, mergeProps as N, unref as b } from "vue";
1
+ import { defineComponent as $, ref as C, provide as E, computed as _, openBlock as o, createElementBlock as r, renderSlot as B, normalizeProps as M, guardReactiveProps as I, createCommentVNode as f, createVNode as v, Transition as R, withCtx as S, normalizeClass as A, toDisplayString as p, inject as T, withModifiers as V, createBlock as k, resolveDynamicComponent as q, createElementVNode as e, Fragment as z, renderList as j, mergeProps as H, unref as b, pushScopeId as N, popScopeId as W } from "vue";
2
2
  import { OneAvatar as w } from "./common/index.js";
3
- import { r as W } from "./XMarkIcon-51ef0691.js";
4
- import { _ as U } from "./index-ab76dea6.js";
5
- import { _ as G } from "./_plugin-vue_export-helper-dad06003.js";
6
- const J = {
3
+ import { r as U } from "./XMarkIcon-51ef0691.js";
4
+ import { _ as G } from "./index-81f36d8e.js";
5
+ import { _ as J } from "./_plugin-vue_export-helper-dad06003.js";
6
+ const K = {
7
7
  title: {
8
8
  type: String
9
9
  },
@@ -11,7 +11,7 @@ const J = {
11
11
  type: String,
12
12
  default: "right"
13
13
  }
14
- }, K = {
14
+ }, Q = {
15
15
  variant: {
16
16
  type: String,
17
17
  default: "primary"
@@ -22,44 +22,44 @@ const J = {
22
22
  icon: {
23
23
  type: [Function, Object]
24
24
  }
25
- }, Q = ["data-opened"], X = {
25
+ }, X = ["data-opened"], Y = {
26
26
  key: 0,
27
27
  class: "text-sm text-secondary-content px-3 py-2 text-left"
28
- }, Y = /* @__PURE__ */ $({
28
+ }, Z = /* @__PURE__ */ $({
29
29
  __name: "OneDropdown",
30
- props: J,
30
+ props: K,
31
31
  emits: ["open", "close"],
32
- setup(h, { emit: l }) {
33
- const u = C(!1), c = C(null), a = l, s = h, i = () => {
34
- u.value = !u.value, u.value ? a("open") : a("close");
32
+ setup(c, { emit: i }) {
33
+ const a = c, l = C(!1), h = C(null), n = () => {
34
+ l.value = !l.value, l.value ? i("open") : i("close");
35
35
  };
36
- T("OneDropdown", {
37
- onToggle: i
36
+ E("OneDropdown", {
37
+ onToggle: n
38
38
  });
39
- const n = _(() => {
40
- const t = c.value != null && c.value.getBoundingClientRect.x < 270;
41
- return c.value != null && c.value.getBoundingClientRect().top + 270 > window.innerHeight ? "up" + (t ? "-right" : "-left") : "down" + (t ? "-right" : "-left");
42
- }), f = _(() => {
39
+ const s = _(() => {
40
+ const t = h.value != null && h.value.getBoundingClientRect.x < 270;
41
+ return h.value != null && h.value.getBoundingClientRect().top + 270 > window.innerHeight ? "up" + (t ? "-right" : "-left") : "down" + (t ? "-right" : "-left");
42
+ }), u = _(() => {
43
43
  const t = [
44
44
  "absolute z-10 w-fit rounded-md bg-white",
45
45
  "py-1 shadow-lg ring-1 ring-black ring-opacity-5 focus:outline-none",
46
46
  "overflow-auto max-h-[540px] min-w-[150px] max-w-[540px]"
47
47
  ];
48
- return n.value.startsWith("up") ? t.push("bottom-1 mb-10") : n.value.startsWith("down") && t.push("top-1 mt-10"), s.stick === "right" ? t.push("right-0") : s.stick === "left" && t.push("left-0"), t;
48
+ return s.value.startsWith("up") ? t.push("bottom-1 mb-10") : s.value.startsWith("down") && t.push("top-1 mt-10"), a.stick === "right" ? t.push("right-0") : a.stick === "left" && t.push("left-0"), t;
49
49
  });
50
- return (t, g) => (o(), r("div", {
50
+ return (t, m) => (o(), r("div", {
51
51
  class: "relative inline-block",
52
52
  ref_key: "menuRef",
53
- ref: c,
54
- "data-opened": u.value
53
+ ref: h,
54
+ "data-opened": l.value
55
55
  }, [
56
- M(t.$slots, "button", P(D({ onToggle: i, isExpanded: u.value }))),
57
- u.value ? (o(), r("div", {
56
+ B(t.$slots, "button", M(I({ onToggle: n, isExpanded: l.value }))),
57
+ l.value ? (o(), r("div", {
58
58
  key: 0,
59
59
  class: "fixed top-0 left-0 w-screen h-screen z-10",
60
- onClick: i
61
- })) : m("", !0),
62
- v(V, {
60
+ onClick: n
61
+ })) : f("", !0),
62
+ v(R, {
63
63
  "enter-active-class": "transition ease-out duration-100",
64
64
  "enter-from-class": "transform opacity-0 scale-95",
65
65
  "enter-to-class": "transform opacity-100 scale-100",
@@ -67,46 +67,46 @@ const J = {
67
67
  "leave-from-class": "transform opacity-100 scale-100",
68
68
  "leave-to-class": "transform opacity-0 scale-95"
69
69
  }, {
70
- default: z(() => [
71
- u.value ? (o(), r("div", {
70
+ default: S(() => [
71
+ l.value ? (o(), r("div", {
72
72
  key: 0,
73
- class: A(["menu", f.value]),
73
+ class: A(["menu", u.value]),
74
74
  role: "menu",
75
75
  "aria-orientation": "vertical",
76
76
  tabindex: "-1"
77
77
  }, [
78
- t.title ? (o(), r("div", X, p(t.title), 1)) : m("", !0),
79
- M(t.$slots, "menu", P(D({ onToggle: i })))
80
- ], 2)) : m("", !0)
78
+ t.title ? (o(), r("div", Y, p(t.title), 1)) : f("", !0),
79
+ B(t.$slots, "menu", M(I({ onToggle: n })))
80
+ ], 2)) : f("", !0)
81
81
  ]),
82
82
  _: 3
83
83
  })
84
- ], 8, Q));
84
+ ], 8, X));
85
85
  }
86
- }), E = /* @__PURE__ */ $({
86
+ }), ee = ["onClick"], P = /* @__PURE__ */ $({
87
87
  __name: "OneDropdownItem",
88
- props: K,
88
+ props: Q,
89
89
  emits: ["click"],
90
- setup(h, { emit: l }) {
91
- const u = l, c = h, a = I("OneDropdown"), s = () => {
92
- a !== void 0 && a.onToggle(), u("click");
93
- }, i = _(() => {
94
- const n = [];
95
- return c.variant === "secondary" ? n.push("text-secondary-content hover:bg-secondary-body-hover") : c.variant === "danger" ? n.push("text-danger-content hover:bg-danger-10") : c.variant === "warning" ? n.push("text-warning-content hover:bg-warning-10") : c.variant === "info" ? n.push("text-info-content hover:bg-info-10") : n.push("hover:bg-secondary-body-hover"), n;
90
+ setup(c, { emit: i }) {
91
+ const a = c, l = T("OneDropdown"), h = () => {
92
+ l !== void 0 && l.onToggle(), i("click");
93
+ }, n = _(() => {
94
+ const s = [];
95
+ return a.variant === "secondary" ? s.push("text-secondary-content hover:bg-secondary-body-hover") : a.variant === "danger" ? s.push("text-danger-content hover:bg-danger-10") : a.variant === "warning" ? s.push("text-warning-content hover:bg-warning-10") : a.variant === "info" ? s.push("text-info-content hover:bg-info-10") : s.push("hover:bg-secondary-body-hover"), s;
96
96
  });
97
- return (n, f) => (o(), r("button", {
98
- class: A(["px-3 py-1.5 flex items-center space-x-3 w-full whitespace-nowrap", i.value]),
99
- onClick: q(s, ["prevent"])
97
+ return (s, u) => (o(), r("button", {
98
+ class: A(["px-3 py-1.5 flex items-center space-x-3 w-full whitespace-nowrap", n.value]),
99
+ onClick: V(h, ["prevent"])
100
100
  }, [
101
- n.icon ? (o(), k(H(n.icon), {
101
+ s.icon ? (o(), k(q(s.icon), {
102
102
  key: 0,
103
103
  class: "w-4 h-4"
104
- })) : m("", !0),
105
- e("span", null, p(n.label), 1)
106
- ], 2));
104
+ })) : f("", !0),
105
+ e("span", null, p(s.label), 1)
106
+ ], 10, ee));
107
107
  }
108
108
  });
109
- function Z(h, l) {
109
+ function te(c, i) {
110
110
  return o(), r("svg", {
111
111
  xmlns: "http://www.w3.org/2000/svg",
112
112
  fill: "none",
@@ -122,7 +122,7 @@ function Z(h, l) {
122
122
  })
123
123
  ]);
124
124
  }
125
- const ee = {
125
+ const oe = {
126
126
  user: {
127
127
  type: Object,
128
128
  required: !0
@@ -156,7 +156,7 @@ const ee = {
156
156
  onLogout: {
157
157
  type: Function
158
158
  }
159
- }, te = {
159
+ }, ne = {
160
160
  workspace: {
161
161
  type: Object,
162
162
  required: !0
@@ -186,85 +186,84 @@ const ee = {
186
186
  onApp: {
187
187
  type: Function
188
188
  }
189
- }, oe = ["onClick"], ne = { class: "flex flex-col items-center pt-5 pb-2 h-full" }, se = { class: "flex flex-col px-10 py-1 mt-2 text-center" }, re = { class: "self-center text-base font-medium tracking-wide text-black" }, ie = { class: "mt-1 text-xs leading-5 text-blue-500 font-light" }, le = { class: "text-left w-full mt-5 px-3" }, ce = { class: "-mb-2 flex-shrink-0 mt-auto pt-6 text-[8px] leading-3 text-gray-400" }, Ie = /* @__PURE__ */ $({
189
+ }, se = ["onClick"], re = { class: "flex flex-col items-center pt-5 pb-2 h-full" }, le = { class: "flex flex-col px-10 py-1 mt-2 text-center" }, ie = { class: "self-center text-base font-medium tracking-wide text-black" }, ce = { class: "mt-1 text-xs leading-5 text-blue-500 font-light" }, ae = { class: "text-left w-full mt-5 px-3" }, ue = /* @__PURE__ */ e("div", {
190
+ class: "space-y-2 text-center",
191
+ style: { width: "240px" }
192
+ }, null, -1), de = { class: "-mb-2 flex-shrink-0 mt-auto pt-6 text-[8px] leading-3 text-gray-400" }, Ue = /* @__PURE__ */ $({
190
193
  __name: "OneUserMenu",
191
- props: ee,
192
- setup(h) {
193
- const l = h, u = _(() => {
194
- var s;
195
- return (s = l.menu) == null ? void 0 : s.map((i) => {
196
- let n = { label: i.label };
197
- i.icon != null && (n = { ...n, icon: i.icon });
198
- const f = typeof i.click == "function" ? i.click : () => {
194
+ props: oe,
195
+ setup(c) {
196
+ const i = c, a = _(() => {
197
+ var n;
198
+ return (n = i.menu) == null ? void 0 : n.map((s) => {
199
+ let u = { label: s.label };
200
+ s.icon != null && (u = { ...u, icon: s.icon });
201
+ const t = typeof s.click == "function" ? s.click : () => {
199
202
  };
200
203
  return {
201
- key: i.label,
202
- args: n,
203
- click: f
204
+ key: s.label,
205
+ args: u,
206
+ click: t
204
207
  };
205
208
  });
206
- }), c = () => {
207
- typeof l.onAccount == "function" && l.onAccount();
208
- }, a = () => {
209
- typeof l.onLogout == "function" && l.onLogout();
209
+ }), l = () => {
210
+ typeof i.onAccount == "function" && i.onAccount();
211
+ }, h = () => {
212
+ typeof i.onLogout == "function" && i.onLogout();
210
213
  };
211
- return (s, i) => (o(), k(Y, { stick: "right" }, {
212
- button: z(({ onToggle: n, isExpanded: f }) => {
213
- var t, g;
214
+ return (n, s) => (o(), k(Z, { stick: "right" }, {
215
+ button: S(({ onToggle: u, isExpanded: t }) => {
216
+ var m, g;
214
217
  return [
215
218
  e("button", {
216
- onClick: n,
217
- class: A(["p-1 rounded-full hover:bg-secondary-10", [f ? "bg-secondary-25" : ""]])
219
+ onClick: u,
220
+ class: A(["p-1 rounded-full hover:bg-secondary-10", [t ? "bg-secondary-25" : ""]])
218
221
  }, [
219
222
  v(w, {
220
- text: ((t = s.user) == null ? void 0 : t.name) || "",
221
- size: s.iconSize,
222
- src: (g = s.user) == null ? void 0 : g.photo_url,
223
+ text: ((m = n.user) == null ? void 0 : m.name) || "",
224
+ size: n.iconSize,
225
+ src: (g = n.user) == null ? void 0 : g.photo_url,
223
226
  rounded: !0
224
227
  }, null, 8, ["text", "size", "src"])
225
- ], 10, oe)
228
+ ], 10, se)
226
229
  ];
227
230
  }),
228
- menu: z(() => {
229
- var n, f, t, g, y;
231
+ menu: S(() => {
232
+ var u, t, m, g, y;
230
233
  return [
231
- e("div", ne, [
234
+ e("div", re, [
232
235
  v(w, {
233
- text: ((n = s.user) == null ? void 0 : n.name) || "",
236
+ text: ((u = n.user) == null ? void 0 : u.name) || "",
234
237
  size: 80,
235
- src: (f = s.user) == null ? void 0 : f.photo_url,
238
+ src: (t = n.user) == null ? void 0 : t.photo_url,
236
239
  rounded: !0,
237
240
  class: "mx-auto"
238
241
  }, null, 8, ["text", "src"]),
239
- e("div", se, [
240
- e("div", re, p((t = s.user) == null ? void 0 : t.name), 1),
241
- e("div", ie, p((g = s.user) == null ? void 0 : g.email), 1)
242
+ e("div", le, [
243
+ e("div", ie, p((m = n.user) == null ? void 0 : m.name), 1),
244
+ e("div", ce, p((g = n.user) == null ? void 0 : g.email), 1)
242
245
  ]),
243
- typeof l.onAccount == "function" ? (o(), r("a", {
246
+ typeof i.onAccount == "function" ? (o(), r("a", {
244
247
  key: 0,
245
- onClick: c,
248
+ onClick: l,
246
249
  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"
247
- }, p(s.accountLabel), 1)) : m("", !0),
248
- e("div", le, [
249
- (o(!0), r(S, null, j(u.value, (x) => (o(), k(E, N({
250
- key: x.key,
251
- ref_for: !0
250
+ }, p(n.accountLabel), 1)) : f("", !0),
251
+ e("div", ae, [
252
+ (o(!0), r(z, null, j(a.value, (x) => (o(), k(P, H({
253
+ key: x.key
252
254
  }, x.args, {
253
255
  onClick: x.click
254
256
  }), null, 16, ["onClick"]))), 128)),
255
- typeof s.onLogout == "function" ? (o(), k(E, {
257
+ typeof n.onLogout == "function" ? (o(), k(P, {
256
258
  key: 0,
257
- icon: b(Z),
258
- label: s.logoutLabel,
259
+ icon: b(te),
260
+ label: n.logoutLabel,
259
261
  class: "rounded py-3",
260
- onClick: a
261
- }, null, 8, ["icon", "label"])) : m("", !0)
262
+ onClick: h
263
+ }, null, 8, ["icon", "label"])) : f("", !0)
262
264
  ]),
263
- i[0] || (i[0] = e("div", {
264
- class: "space-y-2 text-center",
265
- style: { width: "240px" }
266
- }, null, -1)),
267
- e("div", ce, p((y = s.app) == null ? void 0 : y.version), 1)
265
+ ue,
266
+ e("div", de, p((y = n.app) == null ? void 0 : y.version), 1)
268
267
  ])
269
268
  ];
270
269
  }),
@@ -272,7 +271,7 @@ const ee = {
272
271
  }));
273
272
  }
274
273
  });
275
- function ae(h, l) {
274
+ function pe(c, i) {
276
275
  return o(), r("svg", {
277
276
  xmlns: "http://www.w3.org/2000/svg",
278
277
  fill: "none",
@@ -364,7 +363,7 @@ function ae(h, l) {
364
363
  })
365
364
  ]);
366
365
  }
367
- function ue(h, l) {
366
+ function he(c, i) {
368
367
  return o(), r("svg", {
369
368
  xmlns: "http://www.w3.org/2000/svg",
370
369
  fill: "none",
@@ -380,7 +379,7 @@ function ue(h, l) {
380
379
  })
381
380
  ]);
382
381
  }
383
- function de(h, l) {
382
+ function fe(c, i) {
384
383
  return o(), r("svg", {
385
384
  xmlns: "http://www.w3.org/2000/svg",
386
385
  fill: "none",
@@ -396,7 +395,7 @@ function de(h, l) {
396
395
  })
397
396
  ]);
398
397
  }
399
- function pe(h, l) {
398
+ function ve(c, i) {
400
399
  return o(), r("svg", {
401
400
  xmlns: "http://www.w3.org/2000/svg",
402
401
  fill: "none",
@@ -412,70 +411,70 @@ function pe(h, l) {
412
411
  })
413
412
  ]);
414
413
  }
415
- const he = ["data-opened"], fe = {
414
+ const ge = (c) => (N("data-v-4936d4e4"), c = c(), W(), c), me = ["data-opened"], xe = {
416
415
  key: 1,
417
416
  class: "absolute top-0 right-0 h-screen overflow-y-auto max-w-96 bg-white px-3 z-10"
418
- }, me = { class: "flex justify-between items-center pt-3 mb-3" }, ge = { class: "font-semibold text-xl px-3" }, ve = { class: "grid" }, xe = { class: "rounded-lg m-3 border" }, ye = {
417
+ }, ye = { class: "flex justify-between items-center pt-3 mb-3" }, we = { class: "font-semibold text-xl px-3" }, _e = { class: "grid" }, ke = { class: "rounded-lg m-3 border" }, be = {
419
418
  class: "space-x-2 flex items-center px-3 py-2",
420
419
  style: { width: "300px" }
421
- }, we = { class: "flex justify-between relative" }, _e = { class: "flex items-center justify-between w-full text-left text-sm font-semibold" }, ke = { key: 0 }, be = { class: "text-xs font-semibold" }, Ce = { class: "px-3 py-2" }, $e = { class: "text-secondary-content text-left pb-1 text-xs uppercase" }, Ae = { class: "overflow-auto max-h-full" }, ze = {
420
+ }, Ce = { class: "flex justify-between relative" }, $e = { class: "flex items-center justify-between w-full text-left text-sm font-semibold" }, Ae = { key: 0 }, Se = { class: "text-xs font-semibold" }, ze = /* @__PURE__ */ ge(() => /* @__PURE__ */ e("hr", null, null, -1)), je = { class: "px-3 py-2" }, Le = { class: "text-secondary-content text-left pb-1 text-xs uppercase" }, Oe = { class: "overflow-auto max-h-full" }, Fe = {
422
421
  key: 0,
423
422
  class: "space-y-2"
424
- }, Se = ["onClick"], je = { class: "flex" }, Le = { class: "border border-secondary-stroke rounded-2xl w-14 h-14 md:w-14 md:h-14 flex items-center justify-center" }, Oe = { class: "pl-2" }, Fe = { class: "text-sm mt-1 font-semibold" }, Be = { class: "text9 mt-1" }, Me = {
423
+ }, Be = ["onClick"], Me = { class: "flex" }, Ie = { class: "border border-secondary-stroke rounded-2xl w-14 h-14 md:w-14 md:h-14 flex items-center justify-center" }, Pe = { class: "pl-2" }, De = { class: "text-sm mt-1 font-semibold" }, Ee = { class: "text9 mt-1" }, Re = {
425
424
  key: 1,
426
425
  class: "mt-2 w-full bg-[#FAFAFA] hover:bg-secondary-10 p-2 rounded-lg mb-5 text-xs hidden"
427
- }, Pe = /* @__PURE__ */ $({
426
+ }, Te = /* @__PURE__ */ $({
428
427
  __name: "OneBrowserMenu",
429
- props: te,
428
+ props: ne,
430
429
  emits: ["open", "close"],
431
- setup(h, { emit: l }) {
432
- const u = l, c = h, a = C(!1), s = () => {
433
- a.value = !a.value, a.value ? u("open") : u("close");
434
- }, i = C(!1);
435
- _(() => i.value ? de : ue);
436
- const n = () => {
437
- typeof c.onChange == "function" && c.onChange();
438
- }, f = (t) => {
439
- typeof c.onApp == "function" && c.onApp(t);
430
+ setup(c, { emit: i }) {
431
+ const a = c, l = C(!1), h = () => {
432
+ l.value = !l.value, l.value ? i("open") : i("close");
433
+ }, n = C(!1);
434
+ _(() => n.value ? fe : he);
435
+ const s = () => {
436
+ typeof a.onChange == "function" && a.onChange();
437
+ }, u = (t) => {
438
+ typeof a.onApp == "function" && a.onApp(t);
440
439
  };
441
- return (t, g) => {
442
- var y, x, L, O, F, B;
443
- return o(), r("div", { "data-opened": a.value }, [
440
+ return (t, m) => {
441
+ var g, y, x, L, O, F;
442
+ return o(), r("div", { "data-opened": l.value }, [
444
443
  e("button", {
445
- onClick: s,
446
- class: A(["p-1 w-[44px] h-[44px] rounded-md hover:bg-secondary-10", { "bg-secondary-10": a.value }])
444
+ onClick: h,
445
+ class: A(["p-1 w-[44px] h-[44px] rounded-md hover:bg-secondary-10", { "bg-secondary-10": l.value }])
447
446
  }, [
448
- v(b(ae), { class: "text-secondary-base w-full p-1 hover:text-blue-600 m-auto" })
447
+ v(b(pe), { class: "text-secondary-base w-full p-1 hover:text-blue-600 m-auto" })
449
448
  ], 2),
450
- a.value ? (o(), r("div", {
449
+ l.value ? (o(), r("div", {
451
450
  key: 0,
452
451
  class: "fixed top-0 left-0 w-screen h-screen z-10 bg-black/10",
453
- onClick: s
454
- })) : m("", !0),
455
- a.value ? (o(), r("div", fe, [
456
- e("div", me, [
457
- e("div", ge, p((y = t.workspace) == null ? void 0 : y.title), 1),
458
- v(b(W), {
452
+ onClick: h
453
+ })) : f("", !0),
454
+ l.value ? (o(), r("div", xe, [
455
+ e("div", ye, [
456
+ e("div", we, p((g = t.workspace) == null ? void 0 : g.title), 1),
457
+ v(b(U), {
459
458
  class: "w-6 cursor-pointer",
460
- onClick: s
459
+ onClick: h
461
460
  })
462
461
  ]),
463
- e("div", ve, [
464
- e("div", xe, [
465
- e("div", ye, [
466
- e("div", we, [
462
+ e("div", _e, [
463
+ e("div", ke, [
464
+ e("div", be, [
465
+ e("div", Ce, [
467
466
  v(w, {
468
- text: ((x = t.workspace) == null ? void 0 : x.name) || "",
469
- src: (L = t.workspace) == null ? void 0 : L.photo_url,
467
+ text: ((y = t.workspace) == null ? void 0 : y.name) || "",
468
+ src: (x = t.workspace) == null ? void 0 : x.photo_url,
470
469
  size: 44,
471
470
  rounded: !1,
472
471
  class: "mx-auto"
473
472
  }, null, 8, ["text", "src"])
474
473
  ]),
475
- e("div", _e, p((O = t.workspace) == null ? void 0 : O.name), 1)
474
+ e("div", $e, p((L = t.workspace) == null ? void 0 : L.name) + " ", 1)
476
475
  ]),
477
- i.value ? (o(), r("div", ke, [
478
- (o(!0), r(S, null, j(t.workspaces, (d) => (o(), r("div", {
476
+ n.value ? (o(), r("div", Ae, [
477
+ (o(!0), r(z, null, j(t.workspaces, (d) => (o(), r("div", {
479
478
  key: d.name,
480
479
  class: "flex items-center space-x-3 border-t px-5 py-2 hover:bg-secondary-10"
481
480
  }, [
@@ -485,28 +484,28 @@ const he = ["data-opened"], fe = {
485
484
  size: 30,
486
485
  rounded: !1
487
486
  }, null, 8, ["text", "src"]),
488
- e("span", be, p(d.name), 1)
487
+ e("span", Se, p(d.name), 1)
489
488
  ]))), 128))
490
- ])) : m("", !0),
491
- g[0] || (g[0] = e("hr", null, null, -1)),
489
+ ])) : f("", !0),
490
+ ze,
492
491
  e("div", {
493
- onClick: n,
492
+ onClick: s,
494
493
  class: "text-center py-2 cursor-pointer",
495
494
  style: { "font-size": "10px" }
496
- }, p((F = t.workspace) == null ? void 0 : F.changeLabel), 1)
495
+ }, p((O = t.workspace) == null ? void 0 : O.changeLabel), 1)
497
496
  ])
498
497
  ]),
499
- e("div", Ce, [
500
- e("div", $e, p((B = t.workspace) == null ? void 0 : B.appsLabel), 1),
501
- e("div", Ae, [
502
- t.apps && t.apps.length ? (o(), r("div", ze, [
503
- (o(!0), r(S, null, j(t.apps, (d) => (o(), r("div", {
498
+ e("div", je, [
499
+ e("div", Le, p((F = t.workspace) == null ? void 0 : F.appsLabel), 1),
500
+ e("div", Oe, [
501
+ t.apps && t.apps.length ? (o(), r("div", Fe, [
502
+ (o(!0), r(z, null, j(t.apps, (d) => (o(), r("div", {
504
503
  key: d.id,
505
- onClick: (R) => f(d),
504
+ onClick: (D) => u(d),
506
505
  class: "flex justify-between items-center rounded-lg hover:bg-secondary-10 p-2 bg-[#FAFAFA] cursor-pointer"
507
506
  }, [
508
- e("div", je, [
509
- e("div", Le, [
507
+ e("div", Me, [
508
+ e("div", Ie, [
510
509
  v(w, {
511
510
  text: d.name,
512
511
  src: d.photo_url,
@@ -514,37 +513,37 @@ const he = ["data-opened"], fe = {
514
513
  rounded: !1
515
514
  }, null, 8, ["text", "src"])
516
515
  ]),
517
- e("div", Oe, [
518
- e("p", Fe, p(d.name), 1),
519
- e("p", Be, p(d == null ? void 0 : d.short), 1)
516
+ e("div", Pe, [
517
+ e("p", De, p(d.name), 1),
518
+ e("p", Ee, p(d == null ? void 0 : d.short), 1)
520
519
  ])
521
520
  ]),
522
521
  e("div", null, [
523
- v(U, {
522
+ v(G, {
524
523
  variant: "touch",
525
- icon: b(pe),
526
- onClick: (R) => f(d)
524
+ icon: b(ve),
525
+ onClick: (D) => u(d)
527
526
  }, null, 8, ["icon", "onClick"])
528
527
  ])
529
- ], 8, Se))), 128))
530
- ])) : m("", !0),
531
- t.apps && t.apps.length ? (o(), r("button", Me, p("Дивитися всі"))) : m("", !0)
528
+ ], 8, Be))), 128))
529
+ ])) : f("", !0),
530
+ t.apps && t.apps.length ? (o(), r("button", Re, p("Дивитися всі"))) : f("", !0)
532
531
  ])
533
532
  ])
534
- ])) : m("", !0)
535
- ], 8, he);
533
+ ])) : f("", !0)
534
+ ], 8, me);
536
535
  };
537
536
  }
538
537
  });
539
- const qe = /* @__PURE__ */ G(Pe, [["__scopeId", "data-v-4936d4e4"]]);
538
+ const Ge = /* @__PURE__ */ J(Te, [["__scopeId", "data-v-4936d4e4"]]);
540
539
  export {
541
- qe as O,
542
- Y as _,
543
- E as a,
544
- Ie as b,
545
- ue as c,
546
- pe as d,
547
- te as e,
548
- ae as f,
549
- de as r
540
+ Ge as O,
541
+ Z as _,
542
+ P as a,
543
+ Ue as b,
544
+ he as c,
545
+ ve as d,
546
+ ne as e,
547
+ pe as f,
548
+ fe as r
550
549
  };
@@ -0,0 +1 @@
1
+ "use strict";const e=require("vue"),f=require("./common/index.cjs"),C=require("./XMarkIcon-f94baa4c.cjs"),N=require("./index-98ecfd9e.cjs"),S=require("./_plugin-vue_export-helper-f246444f.cjs"),$={title:{type:String},stick:{type:String,default:"right"}},A={variant:{type:String,default:"primary"},label:{type:String},icon:{type:[Function,Object]}},z=["data-opened"],D={key:0,class:"text-sm text-secondary-content px-3 py-2 text-left"},w=e.defineComponent({__name:"OneDropdown",props:$,emits:["open","close"],setup(s,{emit:l}){const c=s,r=e.ref(!1),d=e.ref(null),o=()=>{r.value=!r.value,r.value?l("open"):l("close")};e.provide("OneDropdown",{onToggle:o});const n=e.computed(()=>{const t=d.value!=null&&d.value.getBoundingClientRect.x<270;return d.value!=null&&d.value.getBoundingClientRect().top+270>window.innerHeight?"up"+(t?"-right":"-left"):"down"+(t?"-right":"-left")}),a=e.computed(()=>{const t=["absolute z-10 w-fit rounded-md bg-white","py-1 shadow-lg ring-1 ring-black ring-opacity-5 focus:outline-none","overflow-auto max-h-[540px] min-w-[150px] max-w-[540px]"];return n.value.startsWith("up")?t.push("bottom-1 mb-10"):n.value.startsWith("down")&&t.push("top-1 mt-10"),c.stick==="right"?t.push("right-0"):c.stick==="left"&&t.push("left-0"),t});return(t,p)=>(e.openBlock(),e.createElementBlock("div",{class:"relative inline-block",ref_key:"menuRef",ref:d,"data-opened":r.value},[e.renderSlot(t.$slots,"button",e.normalizeProps(e.guardReactiveProps({onToggle:o,isExpanded:r.value}))),r.value?(e.openBlock(),e.createElementBlock("div",{key:0,class:"fixed top-0 left-0 w-screen h-screen z-10",onClick:o})):e.createCommentVNode("",!0),e.createVNode(e.Transition,{"enter-active-class":"transition ease-out duration-100","enter-from-class":"transform opacity-0 scale-95","enter-to-class":"transform opacity-100 scale-100","leave-active-class":"transition ease-in duration-75","leave-from-class":"transform opacity-100 scale-100","leave-to-class":"transform opacity-0 scale-95"},{default:e.withCtx(()=>[r.value?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(["menu",a.value]),role:"menu","aria-orientation":"vertical",tabindex:"-1"},[t.title?(e.openBlock(),e.createElementBlock("div",D,e.toDisplayString(t.title),1)):e.createCommentVNode("",!0),e.renderSlot(t.$slots,"menu",e.normalizeProps(e.guardReactiveProps({onToggle:o})))],2)):e.createCommentVNode("",!0)]),_:3})],8,z))}}),O=["onClick"],k=e.defineComponent({__name:"OneDropdownItem",props:A,emits:["click"],setup(s,{emit:l}){const c=s,r=e.inject("OneDropdown"),d=()=>{r!==void 0&&r.onToggle(),l("click")},o=e.computed(()=>{const n=[];return c.variant==="secondary"?n.push("text-secondary-content hover:bg-secondary-body-hover"):c.variant==="danger"?n.push("text-danger-content hover:bg-danger-10"):c.variant==="warning"?n.push("text-warning-content hover:bg-warning-10"):c.variant==="info"?n.push("text-info-content hover:bg-info-10"):n.push("hover:bg-secondary-body-hover"),n});return(n,a)=>(e.openBlock(),e.createElementBlock("button",{class:e.normalizeClass(["px-3 py-1.5 flex items-center space-x-3 w-full whitespace-nowrap",o.value]),onClick:e.withModifiers(d,["prevent"])},[n.icon?(e.openBlock(),e.createBlock(e.resolveDynamicComponent(n.icon),{key:0,class:"w-4 h-4"})):e.createCommentVNode("",!0),e.createElementVNode("span",null,e.toDisplayString(n.label),1)],10,O))}});function L(s,l){return e.openBlock(),e.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.8",stroke:"currentColor","aria-hidden":"true"},[e.createElementVNode("path",{"stroke-linecap":"round","stroke-linejoin":"round",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"})])}const F={user:{type:Object,required:!0},menu:{type:Array,default:()=>[]},iconSize:{type:String,default:"34"},app:{type:Object},accountLabel:{type:String,default:"Account"},logoutLabel:{type:String,default:"Logout"},versionLabel:{type:String,default:""},onAccount:{type:Function},onLogout:{type:Function}},x={workspace:{type:Object,required:!0},workspaces:{type:Array},apps:{type:Array,required:!0},iconSize:{type:String,default:"24"},appsTitle:{type:String,default:"Ваші додатки"},changeLabel:{type:String,default:"Керувати робочими просторами"},onChange:{type:Function},onApp:{type:Function}},j=["onClick"],M={class:"flex flex-col items-center pt-5 pb-2 h-full"},P={class:"flex flex-col px-10 py-1 mt-2 text-center"},q={class:"self-center text-base font-medium tracking-wide text-black"},I={class:"mt-1 text-xs leading-5 text-blue-500 font-light"},R={class:"text-left w-full mt-5 px-3"},T=e.createElementVNode("div",{class:"space-y-2 text-center",style:{width:"240px"}},null,-1),H={class:"-mb-2 flex-shrink-0 mt-auto pt-6 text-[8px] leading-3 text-gray-400"},W=e.defineComponent({__name:"OneUserMenu",props:F,setup(s){const l=s,c=e.computed(()=>{var o;return(o=l.menu)==null?void 0:o.map(n=>{let a={label:n.label};n.icon!=null&&(a={...a,icon:n.icon});const t=typeof n.click=="function"?n.click:()=>{};return{key:n.label,args:a,click:t}})}),r=()=>{typeof l.onAccount=="function"&&l.onAccount()},d=()=>{typeof l.onLogout=="function"&&l.onLogout()};return(o,n)=>(e.openBlock(),e.createBlock(w,{stick:"right"},{button:e.withCtx(({onToggle:a,isExpanded:t})=>{var p,u;return[e.createElementVNode("button",{onClick:a,class:e.normalizeClass(["p-1 rounded-full hover:bg-secondary-10",[t?"bg-secondary-25":""]])},[e.createVNode(f.OneAvatar,{text:((p=o.user)==null?void 0:p.name)||"",size:o.iconSize,src:(u=o.user)==null?void 0:u.photo_url,rounded:!0},null,8,["text","size","src"])],10,j)]}),menu:e.withCtx(()=>{var a,t,p,u,h;return[e.createElementVNode("div",M,[e.createVNode(f.OneAvatar,{text:((a=o.user)==null?void 0:a.name)||"",size:80,src:(t=o.user)==null?void 0:t.photo_url,rounded:!0,class:"mx-auto"},null,8,["text","src"]),e.createElementVNode("div",P,[e.createElementVNode("div",q,e.toDisplayString((p=o.user)==null?void 0:p.name),1),e.createElementVNode("div",I,e.toDisplayString((u=o.user)==null?void 0:u.email),1)]),typeof l.onAccount=="function"?(e.openBlock(),e.createElementBlock("a",{key:0,onClick:r,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"},e.toDisplayString(o.accountLabel),1)):e.createCommentVNode("",!0),e.createElementVNode("div",R,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(c.value,m=>(e.openBlock(),e.createBlock(k,e.mergeProps({key:m.key},m.args,{onClick:m.click}),null,16,["onClick"]))),128)),typeof o.onLogout=="function"?(e.openBlock(),e.createBlock(k,{key:0,icon:e.unref(L),label:o.logoutLabel,class:"rounded py-3",onClick:d},null,8,["icon","label"])):e.createCommentVNode("",!0)]),T,e.createElementVNode("div",H,e.toDisplayString((h=o.app)==null?void 0:h.version),1)])]}),_:1}))}});function _(s,l){return e.openBlock(),e.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.8",stroke:"currentColor","aria-hidden":"true"},[e.createElementVNode("rect",{width:"2.94",height:"2.94",x:"17.16",y:"3.9",fill:"currentColor","stroke-width":"1.8",rx:"1.1"}),e.createElementVNode("rect",{width:"2.94",height:"2.94",x:"10.53",y:"3.9",fill:"currentColor","stroke-width":"1.8",rx:"1.1"}),e.createElementVNode("rect",{width:"2.94",height:"2.94",x:"3.9",y:"3.9",fill:"currentColor","stroke-width":"1.8",rx:"1.1"}),e.createElementVNode("rect",{width:"2.94",height:"2.94",x:"17.16",y:"10.53",fill:"currentColor","stroke-width":"1.8",rx:"1.1"}),e.createElementVNode("rect",{width:"2.94",height:"2.94",x:"10.53",y:"10.53",fill:"currentColor","stroke-width":"1.8",rx:"1.1"}),e.createElementVNode("rect",{width:"2.94",height:"2.94",x:"3.9",y:"10.53",fill:"currentColor","stroke-width":"1.8",rx:"1.1"}),e.createElementVNode("rect",{width:"2.94",height:"2.94",x:"17.16",y:"17.16",fill:"currentColor","stroke-width":"1.8",rx:"1.1"}),e.createElementVNode("rect",{width:"2.94",height:"2.94",x:"10.53",y:"17.16",fill:"currentColor","stroke-width":"1.8",rx:"1.1"}),e.createElementVNode("rect",{width:"2.94",height:"2.94",x:"3.9",y:"17.16",fill:"currentColor","stroke-width":"1.8",rx:"1.1"})])}function b(s,l){return e.openBlock(),e.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.8",stroke:"currentColor","aria-hidden":"true"},[e.createElementVNode("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M19.5 8.25l-7.5 7.5-7.5-7.5"})])}function E(s,l){return e.openBlock(),e.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.8",stroke:"currentColor","aria-hidden":"true"},[e.createElementVNode("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M4.5 15.75l7.5-7.5 7.5 7.5"})])}function V(s,l){return e.openBlock(),e.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.8",stroke:"currentColor","aria-hidden":"true"},[e.createElementVNode("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M8.25 4.5l7.5 7.5-7.5 7.5"})])}const U=s=>(e.pushScopeId("data-v-4936d4e4"),s=s(),e.popScopeId(),s),X=["data-opened"],G={key:1,class:"absolute top-0 right-0 h-screen overflow-y-auto max-w-96 bg-white px-3 z-10"},J={class:"flex justify-between items-center pt-3 mb-3"},K={class:"font-semibold text-xl px-3"},Q={class:"grid"},Y={class:"rounded-lg m-3 border"},Z={class:"space-x-2 flex items-center px-3 py-2",style:{width:"300px"}},ee={class:"flex justify-between relative"},te={class:"flex items-center justify-between w-full text-left text-sm font-semibold"},oe={key:0},ne={class:"text-xs font-semibold"},re=U(()=>e.createElementVNode("hr",null,null,-1)),le={class:"px-3 py-2"},se={class:"text-secondary-content text-left pb-1 text-xs uppercase"},ce={class:"overflow-auto max-h-full"},ae={key:0,class:"space-y-2"},ie=["onClick"],de={class:"flex"},ue={class:"border border-secondary-stroke rounded-2xl w-14 h-14 md:w-14 md:h-14 flex items-center justify-center"},pe={class:"pl-2"},me={class:"text-sm mt-1 font-semibold"},he={class:"text9 mt-1"},fe={key:1,class:"mt-2 w-full bg-[#FAFAFA] hover:bg-secondary-10 p-2 rounded-lg mb-5 text-xs hidden"},ke=e.defineComponent({__name:"OneBrowserMenu",props:x,emits:["open","close"],setup(s,{emit:l}){const c=s,r=e.ref(!1),d=()=>{r.value=!r.value,r.value?l("open"):l("close")},o=e.ref(!1);e.computed(()=>o.value?E:b);const n=()=>{typeof c.onChange=="function"&&c.onChange()},a=t=>{typeof c.onApp=="function"&&c.onApp(t)};return(t,p)=>{var u,h,m,g,v,y;return e.openBlock(),e.createElementBlock("div",{"data-opened":r.value},[e.createElementVNode("button",{onClick:d,class:e.normalizeClass(["p-1 w-[44px] h-[44px] rounded-md hover:bg-secondary-10",{"bg-secondary-10":r.value}])},[e.createVNode(e.unref(_),{class:"text-secondary-base w-full p-1 hover:text-blue-600 m-auto"})],2),r.value?(e.openBlock(),e.createElementBlock("div",{key:0,class:"fixed top-0 left-0 w-screen h-screen z-10 bg-black/10",onClick:d})):e.createCommentVNode("",!0),r.value?(e.openBlock(),e.createElementBlock("div",G,[e.createElementVNode("div",J,[e.createElementVNode("div",K,e.toDisplayString((u=t.workspace)==null?void 0:u.title),1),e.createVNode(e.unref(C.render),{class:"w-6 cursor-pointer",onClick:d})]),e.createElementVNode("div",Q,[e.createElementVNode("div",Y,[e.createElementVNode("div",Z,[e.createElementVNode("div",ee,[e.createVNode(f.OneAvatar,{text:((h=t.workspace)==null?void 0:h.name)||"",src:(m=t.workspace)==null?void 0:m.photo_url,size:44,rounded:!1,class:"mx-auto"},null,8,["text","src"])]),e.createElementVNode("div",te,e.toDisplayString((g=t.workspace)==null?void 0:g.name)+" ",1)]),o.value?(e.openBlock(),e.createElementBlock("div",oe,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.workspaces,i=>(e.openBlock(),e.createElementBlock("div",{key:i.name,class:"flex items-center space-x-3 border-t px-5 py-2 hover:bg-secondary-10"},[e.createVNode(f.OneAvatar,{text:i.name,src:i.photo_url,size:30,rounded:!1},null,8,["text","src"]),e.createElementVNode("span",ne,e.toDisplayString(i.name),1)]))),128))])):e.createCommentVNode("",!0),re,e.createElementVNode("div",{onClick:n,class:"text-center py-2 cursor-pointer",style:{"font-size":"10px"}},e.toDisplayString((v=t.workspace)==null?void 0:v.changeLabel),1)])]),e.createElementVNode("div",le,[e.createElementVNode("div",se,e.toDisplayString((y=t.workspace)==null?void 0:y.appsLabel),1),e.createElementVNode("div",ce,[t.apps&&t.apps.length?(e.openBlock(),e.createElementBlock("div",ae,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.apps,i=>(e.openBlock(),e.createElementBlock("div",{key:i.id,onClick:B=>a(i),class:"flex justify-between items-center rounded-lg hover:bg-secondary-10 p-2 bg-[#FAFAFA] cursor-pointer"},[e.createElementVNode("div",de,[e.createElementVNode("div",ue,[e.createVNode(f.OneAvatar,{text:i.name,src:i.photo_url,size:44,rounded:!1},null,8,["text","src"])]),e.createElementVNode("div",pe,[e.createElementVNode("p",me,e.toDisplayString(i.name),1),e.createElementVNode("p",he,e.toDisplayString(i==null?void 0:i.short),1)])]),e.createElementVNode("div",null,[e.createVNode(N._sfc_main,{variant:"touch",icon:e.unref(V),onClick:B=>a(i)},null,8,["icon","onClick"])])],8,ie))),128))])):e.createCommentVNode("",!0),t.apps&&t.apps.length?(e.openBlock(),e.createElementBlock("button",fe,e.toDisplayString("Дивитися всі"))):e.createCommentVNode("",!0)])])])):e.createCommentVNode("",!0)],8,X)}}});const ge=S._export_sfc(ke,[["__scopeId","data-v-4936d4e4"]]);exports.OneBrowserMenu=ge;exports._sfc_main=w;exports._sfc_main$1=k;exports._sfc_main$2=W;exports.browserMenuProps=x;exports.render=E;exports.render$1=b;exports.render$2=V;exports.render$3=_;
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../index-668faddf.cjs");require("vue");require("../_plugin-vue_export-helper-f246444f.cjs");exports.OneButton=e._sfc_main;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../index-98ecfd9e.cjs");require("vue");require("../_plugin-vue_export-helper-f246444f.cjs");exports.OneButton=e._sfc_main;
@@ -1,4 +1,4 @@
1
- import { _ as p } from "../index-ab76dea6.js";
1
+ import { _ as p } from "../index-81f36d8e.js";
2
2
  import "vue";
3
3
  import "../_plugin-vue_export-helper-dad06003.js";
4
4
  export {