@oneb/ui-vue 0.3.32 → 0.4.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (229) hide show
  1. package/dist/ChevronLeftIcon-7505e081.cjs +1 -0
  2. package/dist/ChevronLeftIcon-bb9adb5b.js +20 -0
  3. package/dist/ChevronRightIcon-2992cf0d.cjs +1 -0
  4. package/dist/ChevronRightIcon-b0585768.js +20 -0
  5. package/dist/ChevronUpIcon-64a673e1.cjs +1 -0
  6. package/dist/{ChevronRightIcon-4549a26b.js → ChevronUpIcon-c43f27a9.js} +2 -19
  7. package/dist/LogoOneb-b6ac382e.cjs +1 -0
  8. package/dist/LogoOneb-ddb388a4.js +16 -0
  9. package/dist/MagnifyingGlassIcon-adf871ba.cjs +1 -0
  10. package/dist/MagnifyingGlassIcon-ca213d3d.js +20 -0
  11. package/dist/OneDropdownAuto.vue_vue_type_script_setup_true_lang-2c508e8a.js +79 -0
  12. package/dist/OneDropdownAuto.vue_vue_type_script_setup_true_lang-bf923b04.cjs +1 -0
  13. package/dist/OneFormInput.vue_vue_type_script_setup_true_lang-b89117e7.js +521 -0
  14. package/dist/OneFormInput.vue_vue_type_script_setup_true_lang-f6f7cd96.cjs +1 -0
  15. package/dist/{OneHelpMenu-73817f8a.js → OneHelpMenu-2a2051d7.js} +120 -214
  16. package/dist/OneHelpMenu-78d9348a.cjs +1 -0
  17. package/dist/OneMarkdown.vue_vue_type_script_setup_true_lang-05266fc3.cjs +1 -0
  18. package/dist/OneMarkdown.vue_vue_type_script_setup_true_lang-bb2219c7.js +18 -0
  19. package/dist/OneModal-02a9a173.js +189 -0
  20. package/dist/OneModal-0e92c039.cjs +1 -0
  21. package/dist/OneTooltip.vue_vue_type_script_setup_true_lang-c492c128.js +25 -0
  22. package/dist/OneTooltip.vue_vue_type_script_setup_true_lang-e83a81ea.cjs +1 -0
  23. package/dist/SpinnerIcon-01be39fe.cjs +1 -0
  24. package/dist/{SpinnerIcon-74648c98.js → SpinnerIcon-516264ba.js} +5 -6
  25. package/dist/button/index.cjs +1 -1
  26. package/dist/button/index.d.ts +1 -1
  27. package/dist/button/index.js +3 -4
  28. package/dist/checkbox/checkbox.d.ts +5 -0
  29. package/dist/checkbox/index.cjs +1 -1
  30. package/dist/checkbox/index.js +40 -34
  31. package/dist/chips/OneChips.vue.d.ts +2 -0
  32. package/dist/chips/chips.d.ts +25 -0
  33. package/dist/chips/index.cjs +1 -0
  34. package/dist/chips/index.d.ts +3 -0
  35. package/dist/chips/index.js +62 -0
  36. package/dist/clipboard-494e1513.cjs +1 -0
  37. package/dist/clipboard-733b79a1.js +22 -0
  38. package/dist/common/OneDetailsList.vue.d.ts +2 -0
  39. package/dist/common/OneDetailsRow.vue.d.ts +2 -0
  40. package/dist/common/index.cjs +1 -1
  41. package/dist/common/index.d.ts +2 -0
  42. package/dist/common/index.js +68 -16
  43. package/dist/composables/index.cjs +1 -0
  44. package/dist/composables/index.d.ts +18 -0
  45. package/dist/composables/index.js +91 -0
  46. package/dist/composables/useAsyncMethod.d.ts +17 -0
  47. package/dist/composables/useAsyncSelect.d.ts +26 -0
  48. package/dist/composables/useConfirm.d.ts +27 -0
  49. package/dist/composables/useCursorList.d.ts +42 -0
  50. package/dist/composables/useDebouncedRef.d.ts +6 -0
  51. package/dist/composables/useFileUpload.d.ts +21 -0
  52. package/dist/composables/useFormSubmit.d.ts +23 -0
  53. package/dist/composables/useIsMobile.d.ts +8 -0
  54. package/dist/confirm/OneConfirmHost.vue.d.ts +2 -0
  55. package/dist/confirm/confirm.d.ts +10 -0
  56. package/dist/confirm/index.cjs +1 -0
  57. package/dist/confirm/index.d.ts +5 -0
  58. package/dist/confirm/index.js +59 -0
  59. package/dist/cursorList/OneCursorList.vue.d.ts +2 -0
  60. package/dist/cursorList/index.cjs +1 -0
  61. package/dist/cursorList/index.d.ts +3 -0
  62. package/dist/cursorList/index.js +78 -0
  63. package/dist/dataTable/index.cjs +1 -1
  64. package/dist/dataTable/index.js +256 -301
  65. package/dist/dateTime/OneDateTime.vue.d.ts +2 -0
  66. package/dist/dateTime/dateTime.d.ts +43 -0
  67. package/dist/dateTime/index.cjs +1 -0
  68. package/dist/dateTime/index.d.ts +3 -0
  69. package/dist/dateTime/index.js +66 -0
  70. package/dist/dropdown/index.cjs +1 -1
  71. package/dist/dropdown/index.js +302 -376
  72. package/dist/dropdown-5cb64ab7.cjs +1 -0
  73. package/dist/dropdown-c81fb945.js +101 -0
  74. package/dist/entityPicker/index.cjs +1 -1
  75. package/dist/entityPicker/index.js +57 -57
  76. package/dist/entityPicker/useEntityModal.d.ts +7 -3
  77. package/dist/errorsPage/OneCrashScreen.vue.d.ts +2 -0
  78. package/dist/errorsPage/OneErrorHero.vue.d.ts +2 -0
  79. package/dist/errorsPage/OneNotFoundPage.vue.d.ts +2 -0
  80. package/dist/errorsPage/OneServerErrorPage.vue.d.ts +2 -0
  81. package/dist/errorsPage/OneSnakeGame.vue.d.ts +2 -0
  82. package/dist/errorsPage/createAppErrorHandler.d.ts +24 -0
  83. package/dist/errorsPage/errorsType.d.ts +5 -0
  84. package/dist/errorsPage/index.cjs +1 -1
  85. package/dist/errorsPage/index.d.ts +8 -0
  86. package/dist/errorsPage/index.js +543 -28
  87. package/dist/errorsPage/useCrashState.d.ts +10 -0
  88. package/dist/fileUpload/OneDropzone.vue.d.ts +2 -0
  89. package/dist/fileUpload/OneFileUpload.vue.d.ts +2 -0
  90. package/dist/fileUpload/fileUpload.d.ts +17 -0
  91. package/dist/fileUpload/index.cjs +1 -0
  92. package/dist/fileUpload/index.d.ts +6 -0
  93. package/dist/fileUpload/index.js +228 -0
  94. package/dist/filterBuilder/OneFilterBuilder.vue.d.ts +2 -0
  95. package/dist/filterBuilder/OneFilterGroup.vue.d.ts +2 -0
  96. package/dist/filterBuilder/OneFilterRule.vue.d.ts +2 -0
  97. package/dist/filterBuilder/filterBuilder.d.ts +17 -0
  98. package/dist/filterBuilder/index.cjs +1 -0
  99. package/dist/filterBuilder/index.d.ts +5 -0
  100. package/dist/filterBuilder/index.js +268 -0
  101. package/dist/form/form.d.ts +1 -1
  102. package/dist/form/index.cjs +1 -1
  103. package/dist/form/index.js +66 -574
  104. package/dist/i18n/index.cjs +1 -1
  105. package/dist/i18n/index.js +101 -15
  106. package/dist/index.cjs +1 -1
  107. package/dist/index.d.ts +18 -0
  108. package/dist/index.js +244 -104
  109. package/dist/indicators/OneStatCard.vue.d.ts +2 -0
  110. package/dist/indicators/index.cjs +1 -1
  111. package/dist/indicators/index.d.ts +1 -0
  112. package/dist/indicators/index.js +66 -29
  113. package/dist/label/index.cjs +1 -1
  114. package/dist/label/index.js +5 -5
  115. package/dist/layout/LogoOneb.vue.d.ts +2 -0
  116. package/dist/layout/OneAuthLayout.vue.d.ts +2 -0
  117. package/dist/layout/OneBackButton.vue.d.ts +2 -0
  118. package/dist/layout/OneBreadcrumbs.vue.d.ts +2 -0
  119. package/dist/layout/OneEmptyLayout.vue.d.ts +6 -0
  120. package/dist/layout/OneGridLayout.vue.d.ts +2 -0
  121. package/dist/layout/index.cjs +1 -1
  122. package/dist/layout/index.d.ts +7 -1
  123. package/dist/layout/index.js +1059 -765
  124. package/dist/layout/layout.d.ts +11 -0
  125. package/dist/modal/OneModalHost.vue.d.ts +2 -0
  126. package/dist/modal/index.cjs +1 -1
  127. package/dist/modal/index.d.ts +3 -0
  128. package/dist/modal/index.js +84 -27
  129. package/dist/modal/modal.d.ts +9 -0
  130. package/dist/modal/useModalStack.d.ts +20 -0
  131. package/dist/notifications/OneNotificationItem.vue.d.ts +2 -0
  132. package/dist/notifications/OneNotificationsBell.vue.d.ts +2 -0
  133. package/dist/notifications/OneNotificationsPanel.vue.d.ts +2 -0
  134. package/dist/notifications/index.cjs +1 -0
  135. package/dist/notifications/index.d.ts +7 -0
  136. package/dist/notifications/index.js +477 -0
  137. package/dist/notifications/notifications.d.ts +53 -0
  138. package/dist/notifications/useNotifyfeed.d.ts +32 -0
  139. package/dist/periodPicker/index.cjs +1 -1
  140. package/dist/periodPicker/index.js +126 -139
  141. package/dist/popover/OnePopover.vue.d.ts +2 -0
  142. package/dist/popover/index.cjs +1 -0
  143. package/dist/popover/index.d.ts +3 -0
  144. package/dist/popover/index.js +104 -0
  145. package/dist/popover/popover.d.ts +31 -0
  146. package/dist/progress/OneProgress.vue.d.ts +2 -0
  147. package/dist/progress/index.cjs +1 -0
  148. package/dist/progress/index.d.ts +3 -0
  149. package/dist/progress/index.js +74 -0
  150. package/dist/progress/progress.d.ts +32 -0
  151. package/dist/searchInput/OneSearchInput.vue.d.ts +2 -0
  152. package/dist/searchInput/index.cjs +1 -0
  153. package/dist/searchInput/index.d.ts +3 -0
  154. package/dist/searchInput/index.js +103 -0
  155. package/dist/searchInput/searchInput.d.ts +39 -0
  156. package/dist/settings/OneSettingsLayout.vue.d.ts +2 -0
  157. package/dist/settings/OneSettingsRow.vue.d.ts +2 -0
  158. package/dist/settings/OneSettingsSection.vue.d.ts +2 -0
  159. package/dist/settings/index.cjs +1 -0
  160. package/dist/settings/index.d.ts +4 -0
  161. package/dist/settings/index.js +116 -0
  162. package/dist/spinner/OneSpinner.vue.d.ts +2 -0
  163. package/dist/spinner/index.cjs +1 -0
  164. package/dist/spinner/index.d.ts +3 -0
  165. package/dist/spinner/index.js +30 -0
  166. package/dist/spinner/spinner.d.ts +10 -0
  167. package/dist/stageBadge/index.cjs +1 -1
  168. package/dist/stageBadge/index.js +18 -16
  169. package/dist/stepper/OneStepper.vue.d.ts +2 -0
  170. package/dist/stepper/index.cjs +1 -0
  171. package/dist/stepper/index.d.ts +3 -0
  172. package/dist/stepper/index.js +53 -0
  173. package/dist/stepper/stepper.d.ts +24 -0
  174. package/dist/style.css +1 -1
  175. package/dist/switch/index.cjs +1 -1
  176. package/dist/switch/index.js +3 -4
  177. package/dist/tabs/OneTab.vue.d.ts +2 -0
  178. package/dist/tabs/OneTabs.vue.d.ts +2 -0
  179. package/dist/tabs/index.cjs +1 -0
  180. package/dist/tabs/index.d.ts +4 -0
  181. package/dist/tabs/index.js +64 -0
  182. package/dist/tabs/tabs.d.ts +7 -0
  183. package/dist/toast/OneMascotToast.vue.d.ts +2 -0
  184. package/dist/toast/RabbitIcon.vue.d.ts +2 -0
  185. package/dist/toast/index.cjs +1 -1
  186. package/dist/toast/index.d.ts +4 -0
  187. package/dist/toast/index.js +139 -74
  188. package/dist/toast/useMascotToast.d.ts +12 -0
  189. package/dist/tooltip/OneTooltip.vue.d.ts +2 -0
  190. package/dist/tooltip/index.cjs +2 -2
  191. package/dist/tooltip/index.d.ts +1 -0
  192. package/dist/tooltip/index.js +33 -30
  193. package/dist/useConfirm-6344b49d.cjs +1 -0
  194. package/dist/useConfirm-74e99a5c.js +23 -0
  195. package/dist/useCursorList-5c1b57aa.js +62 -0
  196. package/dist/useCursorList-e1cb41e7.cjs +1 -0
  197. package/dist/useElementWidth-b36a7ce9.js +40 -0
  198. package/dist/useElementWidth-b3e53f48.cjs +1 -0
  199. package/dist/useFileUpload-228dbc07.js +24 -0
  200. package/dist/useFileUpload-f47622bb.cjs +1 -0
  201. package/dist/useIsMobile-7b1f08cf.cjs +1 -0
  202. package/dist/useIsMobile-98fc0cf9.js +7 -0
  203. package/dist/useMediaQuery-1d87df02.cjs +1 -0
  204. package/dist/useMediaQuery-77a19b18.js +37 -0
  205. package/dist/useModal-6a5d870b.js +30 -0
  206. package/dist/useModal-aa6f4a57.cjs +1 -0
  207. package/dist/userList/OneUserInviteModal.vue.d.ts +2 -0
  208. package/dist/userList/OneUserList.vue.d.ts +2 -0
  209. package/dist/userList/OneUserListItem.vue.d.ts +2 -0
  210. package/dist/userList/index.cjs +1 -0
  211. package/dist/userList/index.d.ts +4 -0
  212. package/dist/userList/index.js +559 -0
  213. package/dist/utils/clipboard.d.ts +6 -0
  214. package/dist/utils/format.d.ts +17 -0
  215. package/dist/utils/index.cjs +1 -0
  216. package/dist/utils/index.d.ts +4 -0
  217. package/dist/utils/index.js +125 -0
  218. package/dist/utils/string.d.ts +25 -0
  219. package/dist/utils/versionChecker.d.ts +26 -0
  220. package/package.json +215 -24
  221. package/dist/ChevronRightIcon-7a2f0c20.cjs +0 -1
  222. package/dist/OneHelpMenu-c6e88d8f.cjs +0 -1
  223. package/dist/OneMarkdown.vue_vue_type_style_index_0_lang-0ea8fbf8.cjs +0 -1
  224. package/dist/OneMarkdown.vue_vue_type_style_index_0_lang-4ed993c7.js +0 -1
  225. package/dist/SpinnerIcon-ccb6f3fc.cjs +0 -1
  226. package/dist/SpinnerIcon.vue_vue_type_style_index_0_lang-0ea8fbf8.cjs +0 -1
  227. package/dist/SpinnerIcon.vue_vue_type_style_index_0_lang-4ed993c7.js +0 -1
  228. package/dist/useModal-0c73777f.cjs +0 -1
  229. package/dist/useModal-7fe9444b.js +0 -194
@@ -1,120 +1,27 @@
1
- import { defineComponent as O, ref as B, provide as G, watch as J, nextTick as Q, onBeforeUnmount as X, computed as C, openBlock as t, createElementBlock as o, createElementVNode as e, renderSlot as E, normalizeProps as H, guardReactiveProps as P, createBlock as S, Teleport as Y, createCommentVNode as h, createVNode as _, Transition as R, withCtx as T, normalizeClass as z, toDisplayString as d, Fragment as $, inject as Z, withModifiers as ee, resolveDynamicComponent as V, renderList as F, mergeProps as te, unref as A } from "vue";
2
- import { autoUpdate as oe, computePosition as ne, offset as se, shift as le } from "@floating-ui/dom";
3
- import { flip as re } from "@floating-ui/vue";
4
- import { _ as L } from "./OneAvatar.vue_vue_type_script_setup_true_lang-08ab80dd.js";
5
- import { useOnebI18n as I } from "./i18n/index.js";
1
+ import { defineComponent as S, ref as F, provide as J, watch as K, nextTick as Q, onBeforeUnmount as X, computed as C, openBlock as t, createElementBlock as o, createElementVNode as e, renderSlot as E, normalizeProps as H, guardReactiveProps as P, createBlock as B, Teleport as Y, createCommentVNode as h, createVNode as y, Transition as R, withCtx as T, normalizeClass as L, toDisplayString as d, Fragment as $, inject as Z, withModifiers as ee, resolveDynamicComponent as I, renderList as M, mergeProps as te, unref as A } from "vue";
2
+ import { d as oe, a as ne } from "./dropdown-c81fb945.js";
3
+ import { autoUpdate as se, computePosition as le, offset as re, shift as ie } from "@floating-ui/dom";
4
+ import { flip as ae } from "@floating-ui/vue";
5
+ import { _ as O } from "./OneAvatar.vue_vue_type_script_setup_true_lang-08ab80dd.js";
6
+ import { useOnebI18n as V } from "./i18n/index.js";
6
7
  import { r as q } from "./XMarkIcon-51ef0691.js";
7
8
  import { r as U } from "./ChevronDownIcon-6805ce6c.js";
8
- import { r as W, a as ie } from "./ChevronRightIcon-4549a26b.js";
9
- import { OneButton as ae } from "./button/index.js";
10
- import { _ as K } from "./_plugin-vue_export-helper-dad06003.js";
11
- const ce = {
12
- title: {
13
- type: String
14
- },
15
- stick: {
16
- type: String,
17
- default: "right"
18
- },
19
- appendBody: {
20
- type: Boolean,
21
- default: !1
22
- },
23
- trigger: {
24
- type: String,
25
- default: "click"
26
- },
27
- offset: {
28
- type: Number,
29
- default: 5
30
- }
31
- }, ue = {
32
- variant: {
33
- type: String,
34
- default: "primary"
35
- },
36
- label: {
37
- type: String
38
- },
39
- icon: {
40
- type: [Function, Object]
41
- }
42
- }, It = {
43
- modelValue: {
44
- type: [Object, Array],
45
- default: null
46
- },
47
- multiple: {
48
- type: Boolean,
49
- default: !1
50
- },
51
- items: {
52
- type: Array,
53
- default: () => []
54
- },
55
- title: {
56
- type: String
57
- },
58
- placeholder: {
59
- type: String,
60
- default: "Select"
61
- },
62
- searchPlaceholder: {
63
- type: String,
64
- default: "Search"
65
- },
66
- labelKey: {
67
- type: String,
68
- default: "label"
69
- },
70
- valueKey: {
71
- type: String,
72
- default: "id"
73
- },
74
- stick: {
75
- type: String,
76
- default: "bottom-start"
77
- },
78
- allowEmpty: {
79
- type: Boolean,
80
- default: !1
81
- },
82
- emptyLabel: {
83
- type: String
84
- },
85
- createLabel: {
86
- type: String
87
- },
88
- searchable: {
89
- type: Boolean,
90
- default: !0
91
- },
92
- isLoading: {
93
- type: Boolean,
94
- default: !1
95
- },
96
- groupKey: {
97
- type: String
98
- },
99
- maxWidth: {
100
- type: String
101
- },
102
- view: {
103
- type: String,
104
- default: "default"
105
- }
106
- }, de = ["data-opened"], pe = {
9
+ import { r as W } from "./ChevronUpIcon-c43f27a9.js";
10
+ import { r as ce } from "./ChevronRightIcon-b0585768.js";
11
+ import { OneButton as ue } from "./button/index.js";
12
+ import { _ as G } from "./_plugin-vue_export-helper-dad06003.js";
13
+ const de = ["data-opened"], pe = {
107
14
  key: 0,
108
15
  class: "text-sm text-secondary-content px-3 py-2 text-left"
109
16
  }, he = {
110
17
  key: 0,
111
18
  class: "text-sm text-secondary-content px-3 py-2 text-left"
112
- }, fe = /* @__PURE__ */ O({
19
+ }, fe = /* @__PURE__ */ S({
113
20
  __name: "OneDropdown",
114
- props: ce,
21
+ props: oe,
115
22
  emits: ["open", "close"],
116
- setup(y, { emit: f }) {
117
- const c = B(!1), v = B(null), w = B(null), a = B(null), i = f, n = y, u = () => {
23
+ setup(_, { emit: f }) {
24
+ const c = F(!1), v = F(null), w = F(null), a = F(null), i = f, n = _, u = () => {
118
25
  c.value = !c.value, c.value ? i("open") : i("close");
119
26
  };
120
27
  let m = null;
@@ -125,15 +32,15 @@ const ce = {
125
32
  c.value && (c.value = !1, i("close"));
126
33
  }, 100));
127
34
  };
128
- G("OneDropdown", {
35
+ J("OneDropdown", {
129
36
  onToggle: u
130
37
  });
131
38
  let x = null;
132
39
  function b() {
133
- !w.value || !a.value || ne(w.value, a.value, {
40
+ !w.value || !a.value || le(w.value, a.value, {
134
41
  placement: n.stick ? n.stick : "bottom-start",
135
42
  strategy: "fixed",
136
- middleware: [se(n.offset), re(), le({ padding: 8 })]
43
+ middleware: [re(n.offset), ae(), ie({ padding: 8 })]
137
44
  }).then(({ x: s, y: r }) => {
138
45
  a.value && Object.assign(a.value.style, {
139
46
  left: `${s}px`,
@@ -142,8 +49,8 @@ const ce = {
142
49
  });
143
50
  });
144
51
  }
145
- J(c, async (s) => {
146
- n.appendBody && (s ? (await Q(), w.value && a.value && (a.value.style.visibility = "hidden", b(), x = oe(w.value, a.value, b))) : x && (x(), x = null));
52
+ K(c, async (s) => {
53
+ n.appendBody && (s ? (await Q(), w.value && a.value && (a.value.style.visibility = "hidden", b(), x = se(w.value, a.value, b))) : x && (x(), x = null));
147
54
  }), X(() => {
148
55
  x && x();
149
56
  });
@@ -153,7 +60,7 @@ const ce = {
153
60
  return "";
154
61
  const s = (j = v.value) == null ? void 0 : j.getBoundingClientRect(), r = s ? s.x < 270 : !1;
155
62
  return s && s.top + 270 > window.innerHeight ? "up" + (r ? "-right" : "-left") : "down" + (r ? "-right" : "-left");
156
- }), M = C(() => {
63
+ }), z = C(() => {
157
64
  const s = [
158
65
  "absolute z-10 w-fit rounded-md bg-white",
159
66
  "py-1 shadow-lg ring-1 ring-black ring-opacity-5 focus:outline-none",
@@ -179,7 +86,7 @@ const ce = {
179
86
  }, [
180
87
  E(s.$slots, "button", H(P({ onToggle: u, isExpanded: c.value })))
181
88
  ], 512),
182
- n.appendBody ? (t(), S(Y, {
89
+ n.appendBody ? (t(), B(Y, {
183
90
  key: 0,
184
91
  to: "body"
185
92
  }, [
@@ -188,7 +95,7 @@ const ce = {
188
95
  class: "fixed top-0 left-0 w-screen h-screen z-[9999]",
189
96
  onClick: u
190
97
  })) : h("", !0),
191
- _(R, {
98
+ y(R, {
192
99
  "enter-active-class": "transition ease-out duration-100",
193
100
  "enter-from-class": "transform opacity-0 scale-95",
194
101
  "enter-to-class": "transform opacity-100 scale-100",
@@ -201,7 +108,7 @@ const ce = {
201
108
  key: 0,
202
109
  ref_key: "menuRef",
203
110
  ref: a,
204
- class: z(["menu", l.value]),
111
+ class: L(["menu", l.value]),
205
112
  role: "menu",
206
113
  "aria-orientation": "vertical",
207
114
  tabindex: "-1",
@@ -220,7 +127,7 @@ const ce = {
220
127
  class: "fixed top-0 left-0 w-screen h-screen z-10",
221
128
  onClick: u
222
129
  })) : h("", !0),
223
- _(R, {
130
+ y(R, {
224
131
  "enter-active-class": "transition ease-out duration-100",
225
132
  "enter-from-class": "transform opacity-0 scale-95",
226
133
  "enter-to-class": "transform opacity-100 scale-100",
@@ -231,7 +138,7 @@ const ce = {
231
138
  default: T(() => [
232
139
  c.value ? (t(), o("div", {
233
140
  key: 0,
234
- class: z(["menu", M.value]),
141
+ class: L(["menu", z.value]),
235
142
  role: "menu",
236
143
  "aria-orientation": "vertical",
237
144
  tabindex: "-1"
@@ -245,22 +152,22 @@ const ce = {
245
152
  ], 64))
246
153
  ], 40, de));
247
154
  }
248
- }), N = /* @__PURE__ */ O({
155
+ }), D = /* @__PURE__ */ S({
249
156
  __name: "OneDropdownItem",
250
- props: ue,
157
+ props: ne,
251
158
  emits: ["click"],
252
- setup(y, { emit: f }) {
253
- const c = f, v = y, w = Z("OneDropdown"), a = () => {
159
+ setup(_, { emit: f }) {
160
+ const c = f, v = _, w = Z("OneDropdown"), a = () => {
254
161
  w !== void 0 && w.onToggle(), c("click");
255
162
  }, i = C(() => {
256
163
  const n = [];
257
164
  return v.variant === "secondary" ? n.push("text-secondary-content hover:bg-secondary-body-hover") : v.variant === "danger" ? n.push("text-danger-content hover:bg-danger-10") : v.variant === "warning" ? n.push("text-warning-content hover:bg-warning-10") : v.variant === "info" ? n.push("text-info-content hover:bg-info-10") : n.push("hover:bg-secondary-body-hover"), n;
258
165
  });
259
166
  return (n, u) => (t(), o("button", {
260
- class: z(["px-3 py-1.5 flex items-center space-x-3 w-full whitespace-nowrap", i.value]),
167
+ class: L(["px-3 py-1.5 flex items-center space-x-3 w-full whitespace-nowrap", i.value]),
261
168
  onClick: ee(a, ["prevent"])
262
169
  }, [
263
- n.icon ? (t(), S(V(n.icon), {
170
+ n.icon ? (t(), B(I(n.icon), {
264
171
  key: 0,
265
172
  class: "w-4 h-4"
266
173
  })) : h("", !0),
@@ -268,7 +175,7 @@ const ce = {
268
175
  ], 2));
269
176
  }
270
177
  });
271
- function ve(y, f) {
178
+ function ve(_, f) {
272
179
  return t(), o("svg", {
273
180
  xmlns: "http://www.w3.org/2000/svg",
274
181
  fill: "none",
@@ -310,9 +217,10 @@ const me = {
310
217
  type: Function
311
218
  }
312
219
  }, xe = {
220
+ // template handles undefined (workspace?.name) — layouts pass it optionally
313
221
  workspace: {
314
222
  type: Object,
315
- required: !0
223
+ required: !1
316
224
  },
317
225
  workspaces: {
318
226
  type: Array
@@ -334,7 +242,7 @@ const me = {
334
242
  t: {
335
243
  type: Function
336
244
  }
337
- }, ye = {
245
+ }, _e = {
338
246
  help: {
339
247
  type: Object
340
248
  },
@@ -345,11 +253,11 @@ const me = {
345
253
  t: {
346
254
  type: Function
347
255
  }
348
- }, ge = ["onClick"], _e = { class: "flex flex-col items-center pt-5 pb-2 h-full" }, we = { class: "flex flex-col px-10 py-1 mt-2 text-center" }, ke = { class: "self-center text-base font-medium tracking-wide text-black" }, be = { class: "mt-1 text-xs leading-5 text-blue-500 font-light" }, Ce = { class: "text-left w-full mt-5 px-3" }, $e = { class: "-mb-2 flex-shrink-0 mt-auto pt-6 text-[8px] leading-3 text-gray-400" }, Rt = /* @__PURE__ */ O({
256
+ }, ge = ["onClick"], ye = { class: "flex flex-col items-center pt-5 pb-2 h-full" }, we = { class: "flex flex-col px-10 py-1 mt-2 text-center" }, ke = { class: "self-center text-base font-medium tracking-wide text-black" }, be = { class: "mt-1 text-xs leading-5 text-blue-500 font-light" }, Ce = { class: "text-left w-full mt-5 px-3" }, $e = { class: "-mb-2 flex-shrink-0 mt-auto pt-6 text-[8px] leading-3 text-gray-400" }, Dt = /* @__PURE__ */ S({
349
257
  __name: "OneUserMenu",
350
258
  props: me,
351
- setup(y) {
352
- const f = y, c = I(), v = C(() => f.t ?? c), w = C(() => {
259
+ setup(_) {
260
+ const f = _, c = V(), v = C(() => f.t ?? c), w = C(() => {
353
261
  var n;
354
262
  return (n = f.menu) == null ? void 0 : n.map((u) => {
355
263
  let m = { label: u.label };
@@ -367,15 +275,15 @@ const me = {
367
275
  }, i = () => {
368
276
  typeof f.onLogout == "function" && f.onLogout();
369
277
  };
370
- return (n, u) => (t(), S(fe, { stick: "right" }, {
278
+ return (n, u) => (t(), B(fe, { stick: "right" }, {
371
279
  button: T(({ onToggle: m, isExpanded: g }) => {
372
280
  var p, x;
373
281
  return [
374
282
  e("button", {
375
283
  onClick: m,
376
- class: z(["p-1 rounded-full hover:bg-secondary-10", [g ? "bg-secondary-25" : ""]])
284
+ class: L(["p-1 rounded-full hover:bg-secondary-10", [g ? "bg-secondary-25" : ""]])
377
285
  }, [
378
- _(L, {
286
+ y(O, {
379
287
  text: ((p = n.user) == null ? void 0 : p.name) || "",
380
288
  size: n.iconSize,
381
289
  src: (x = n.user) == null ? void 0 : x.photo_url,
@@ -387,8 +295,8 @@ const me = {
387
295
  menu: T(() => {
388
296
  var m, g, p, x, b;
389
297
  return [
390
- e("div", _e, [
391
- _(L, {
298
+ e("div", ye, [
299
+ y(O, {
392
300
  text: ((m = n.user) == null ? void 0 : m.name) || "",
393
301
  size: 80,
394
302
  src: (g = n.user) == null ? void 0 : g.photo_url,
@@ -405,12 +313,12 @@ const me = {
405
313
  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"
406
314
  }, d(v.value("ui.layout.account")), 1)) : h("", !0),
407
315
  e("div", Ce, [
408
- (t(!0), o($, null, F(w.value, (k) => (t(), S(N, te({
316
+ (t(!0), o($, null, M(w.value, (k) => (t(), B(D, te({
409
317
  key: k.key
410
318
  }, { ref_for: !0 }, k.args, {
411
319
  onClick: k.click
412
320
  }), null, 16, ["onClick"]))), 128)),
413
- typeof n.onLogout == "function" ? (t(), S(N, {
321
+ typeof n.onLogout == "function" ? (t(), B(D, {
414
322
  key: 0,
415
323
  icon: A(ve),
416
324
  label: v.value("ui.layout.logout"),
@@ -430,7 +338,7 @@ const me = {
430
338
  }));
431
339
  }
432
340
  });
433
- function Ae(y, f) {
341
+ function Ae(_, f) {
434
342
  return t(), o("svg", {
435
343
  xmlns: "http://www.w3.org/2000/svg",
436
344
  fill: "none",
@@ -522,26 +430,26 @@ function Ae(y, f) {
522
430
  })
523
431
  ]);
524
432
  }
525
- const Be = ["data-opened"], Fe = {
433
+ const Fe = ["data-opened"], Me = {
526
434
  key: 1,
527
435
  class: "absolute top-0 right-0 h-screen overflow-y-auto max-w-96 bg-white px-3 z-10"
528
- }, Se = { class: "flex justify-between items-center pt-3 mb-3" }, Me = { class: "font-semibold text-xl px-3" }, je = { class: "grid" }, ze = { class: "rounded-lg m-3 border" }, Le = {
436
+ }, Be = { class: "flex justify-between items-center pt-3 mb-3" }, ze = { class: "font-semibold text-xl px-3" }, je = { class: "grid" }, Le = { class: "rounded-lg m-3 border" }, Oe = {
529
437
  class: "space-x-2 flex items-center px-3 py-2",
530
438
  style: { width: "300px" }
531
- }, Oe = { class: "flex justify-between relative" }, Te = { class: "flex items-center justify-between w-full text-left text-sm font-semibold" }, Ee = { key: 0 }, He = { class: "text-xs font-semibold" }, Pe = { class: "px-3 py-2" }, Ve = { class: "text-secondary-content text-left pb-1 text-xs uppercase" }, Ie = { class: "overflow-auto max-h-full" }, Re = {
439
+ }, Se = { class: "flex justify-between relative" }, Te = { class: "flex items-center justify-between w-full text-left text-sm font-semibold" }, Ee = { key: 0 }, He = { class: "text-xs font-semibold" }, Pe = { class: "px-3 py-2" }, Ie = { class: "text-secondary-content text-left pb-1 text-xs uppercase" }, Ve = { class: "overflow-auto max-h-full" }, Re = {
532
440
  key: 0,
533
441
  class: "space-y-2"
534
- }, Ne = ["onClick"], De = { class: "flex" }, qe = { class: "border border-secondary-stroke rounded-2xl w-14 h-14 md:w-14 md:h-14 flex items-center justify-center" }, Ue = { class: "pl-2" }, We = { class: "text-sm mt-1 font-semibold" }, Ke = { class: "text9 mt-1" }, Ge = {
442
+ }, De = ["onClick"], Ne = { class: "flex" }, qe = { class: "border border-secondary-stroke rounded-2xl w-14 h-14 md:w-14 md:h-14 flex items-center justify-center" }, Ue = { class: "pl-2" }, We = { class: "text-sm mt-1 font-semibold" }, Ge = { class: "text9 mt-1" }, Je = {
535
443
  key: 1,
536
444
  class: "mt-2 w-full bg-[#FAFAFA] hover:bg-secondary-10 p-2 rounded-lg mb-5 text-xs hidden"
537
- }, Je = /* @__PURE__ */ O({
445
+ }, Ke = /* @__PURE__ */ S({
538
446
  __name: "OneBrowserMenu",
539
447
  props: xe,
540
448
  emits: ["open", "close"],
541
- setup(y, { emit: f }) {
542
- const c = f, v = y, w = I(), a = C(() => v.t ?? w), i = B(!1), n = () => {
449
+ setup(_, { emit: f }) {
450
+ const c = f, v = _, w = V(), a = C(() => v.t ?? w), i = F(!1), n = () => {
543
451
  i.value = !i.value, i.value ? c("open") : c("close");
544
- }, u = B(!1);
452
+ }, u = F(!1);
545
453
  C(() => u.value ? W : U);
546
454
  const m = () => {
547
455
  typeof v.onChange == "function" && v.onChange();
@@ -549,32 +457,32 @@ const Be = ["data-opened"], Fe = {
549
457
  typeof v.onApp == "function" && v.onApp(p);
550
458
  };
551
459
  return (p, x) => {
552
- var b, k, M;
460
+ var b, k, z;
553
461
  return t(), o("div", { "data-opened": i.value }, [
554
462
  e("button", {
555
463
  onClick: n,
556
- class: z(["sm:p-1 sm:w-[44px] sm:h-[44px] w-8 h-8 rounded-md hover:bg-secondary-10 flex", { "bg-secondary-10": i.value }])
464
+ class: L(["sm:p-1 sm:w-[44px] sm:h-[44px] w-8 h-8 rounded-md hover:bg-secondary-10 flex", { "bg-secondary-10": i.value }])
557
465
  }, [
558
- _(A(Ae), { class: "text-secondary-base w-full p-1 hover:text-blue-600 m-auto" })
466
+ y(A(Ae), { class: "text-secondary-base w-full p-1 hover:text-blue-600 m-auto" })
559
467
  ], 2),
560
468
  i.value ? (t(), o("div", {
561
469
  key: 0,
562
470
  class: "fixed top-0 left-0 w-screen h-screen z-10 bg-black/10",
563
471
  onClick: n
564
472
  })) : h("", !0),
565
- i.value ? (t(), o("div", Fe, [
566
- e("div", Se, [
567
- e("div", Me, d(a.value("ui.layout.workspaces")), 1),
568
- _(A(q), {
473
+ i.value ? (t(), o("div", Me, [
474
+ e("div", Be, [
475
+ e("div", ze, d(a.value("ui.layout.workspaces")), 1),
476
+ y(A(q), {
569
477
  class: "w-6 cursor-pointer",
570
478
  onClick: n
571
479
  })
572
480
  ]),
573
481
  e("div", je, [
574
- e("div", ze, [
575
- e("div", Le, [
576
- e("div", Oe, [
577
- _(L, {
482
+ e("div", Le, [
483
+ e("div", Oe, [
484
+ e("div", Se, [
485
+ y(O, {
578
486
  text: ((b = p.workspace) == null ? void 0 : b.name) || "",
579
487
  src: (k = p.workspace) == null ? void 0 : k.photo_url,
580
488
  size: 44,
@@ -582,14 +490,14 @@ const Be = ["data-opened"], Fe = {
582
490
  class: "mx-auto"
583
491
  }, null, 8, ["text", "src"])
584
492
  ]),
585
- e("div", Te, d((M = p.workspace) == null ? void 0 : M.name), 1)
493
+ e("div", Te, d((z = p.workspace) == null ? void 0 : z.name), 1)
586
494
  ]),
587
495
  u.value ? (t(), o("div", Ee, [
588
- (t(!0), o($, null, F(p.workspaces, (l) => (t(), o("div", {
496
+ (t(!0), o($, null, M(p.workspaces, (l) => (t(), o("div", {
589
497
  key: l.name,
590
498
  class: "flex items-center space-x-3 border-t px-5 py-2 hover:bg-secondary-10"
591
499
  }, [
592
- _(L, {
500
+ y(O, {
593
501
  text: l.name,
594
502
  src: l.photo_url,
595
503
  size: 30,
@@ -607,17 +515,17 @@ const Be = ["data-opened"], Fe = {
607
515
  ])
608
516
  ]),
609
517
  e("div", Pe, [
610
- e("div", Ve, d(a.value("ui.layout.apps")), 1),
611
- e("div", Ie, [
518
+ e("div", Ie, d(a.value("ui.layout.apps")), 1),
519
+ e("div", Ve, [
612
520
  p.apps && p.apps.length ? (t(), o("div", Re, [
613
- (t(!0), o($, null, F(p.apps, (l) => (t(), o("div", {
521
+ (t(!0), o($, null, M(p.apps, (l) => (t(), o("div", {
614
522
  key: l.id,
615
523
  onClick: (s) => g(l),
616
524
  class: "flex justify-between items-center rounded-lg hover:bg-secondary-10 p-2 bg-[#FAFAFA] cursor-pointer"
617
525
  }, [
618
- e("div", De, [
526
+ e("div", Ne, [
619
527
  e("div", qe, [
620
- _(L, {
528
+ y(O, {
621
529
  text: l.name,
622
530
  src: l.photo_url,
623
531
  size: 44,
@@ -626,28 +534,28 @@ const Be = ["data-opened"], Fe = {
626
534
  ]),
627
535
  e("div", Ue, [
628
536
  e("p", We, d(l.name), 1),
629
- e("p", Ke, d(l == null ? void 0 : l.short), 1)
537
+ e("p", Ge, d(l == null ? void 0 : l.short), 1)
630
538
  ])
631
539
  ]),
632
540
  e("div", null, [
633
- _(ae, {
541
+ y(ue, {
634
542
  variant: "touch",
635
- icon: A(ie),
543
+ icon: A(ce),
636
544
  onClick: (s) => g(l)
637
545
  }, null, 8, ["icon", "onClick"])
638
546
  ])
639
- ], 8, Ne))), 128))
547
+ ], 8, De))), 128))
640
548
  ])) : h("", !0),
641
- p.apps && p.apps.length ? (t(), o("button", Ge, d(a.value("ui.layout.view_all")), 1)) : h("", !0)
549
+ p.apps && p.apps.length ? (t(), o("button", Je, d(a.value("ui.layout.view_all")), 1)) : h("", !0)
642
550
  ])
643
551
  ])
644
552
  ])) : h("", !0)
645
- ], 8, Be);
553
+ ], 8, Fe);
646
554
  };
647
555
  }
648
556
  });
649
- const Nt = /* @__PURE__ */ K(Je, [["__scopeId", "data-v-3675784e"]]);
650
- function D(y, f) {
557
+ const Nt = /* @__PURE__ */ G(Ke, [["__scopeId", "data-v-3675784e"]]);
558
+ function N(_, f) {
651
559
  return t(), o("svg", {
652
560
  xmlns: "http://www.w3.org/2000/svg",
653
561
  fill: "none",
@@ -663,7 +571,7 @@ function D(y, f) {
663
571
  })
664
572
  ]);
665
573
  }
666
- function Qe(y, f) {
574
+ function Qe(_, f) {
667
575
  return t(), o("svg", {
668
576
  xmlns: "http://www.w3.org/2000/svg",
669
577
  fill: "none",
@@ -684,7 +592,7 @@ function Qe(y, f) {
684
592
  })
685
593
  ]);
686
594
  }
687
- function Xe(y, f) {
595
+ function Xe(_, f) {
688
596
  return t(), o("svg", {
689
597
  xmlns: "http://www.w3.org/2000/svg",
690
598
  fill: "none",
@@ -700,7 +608,7 @@ function Xe(y, f) {
700
608
  })
701
609
  ]);
702
610
  }
703
- function Ye(y, f) {
611
+ function Ye(_, f) {
704
612
  return t(), o("svg", {
705
613
  xmlns: "http://www.w3.org/2000/svg",
706
614
  fill: "none",
@@ -716,7 +624,7 @@ function Ye(y, f) {
716
624
  })
717
625
  ]);
718
626
  }
719
- function Ze(y, f) {
627
+ function Ze(_, f) {
720
628
  return t(), o("svg", {
721
629
  xmlns: "http://www.w3.org/2000/svg",
722
630
  fill: "none",
@@ -741,18 +649,18 @@ const et = ["data-opened"], tt = {
741
649
  }, lt = ["onClick"], rt = { class: "uppercase text-[8px]" }, it = { class: "overflow-y-auto grid rounded-xl" }, at = { class: "max-h-full bg-[#FAFAFA]" }, ct = {
742
650
  key: 0,
743
651
  class: "space-y-2"
744
- }, ut = ["onClick"], dt = { class: "flex" }, pt = { class: "pl-2" }, ht = { class: "text-sm mt-1 font-semibold" }, ft = { class: "text-[10px] mt-1 text-[#979CA9]" }, vt = { class: "mt-auto" }, mt = { key: 0 }, xt = ["onClick"], yt = { class: "flex items-center space-x-3" }, gt = { class: "h-16" }, _t = {
652
+ }, ut = ["onClick"], dt = { class: "flex" }, pt = { class: "pl-2" }, ht = { class: "text-sm mt-1 font-semibold" }, ft = { class: "text-[10px] mt-1 text-[#979CA9]" }, vt = { class: "mt-auto" }, mt = { key: 0 }, xt = ["onClick"], _t = { class: "flex items-center space-x-3" }, gt = { class: "h-16" }, yt = {
745
653
  key: 0,
746
654
  class: "bg-[#FAFAFA] rounded-lg p-3"
747
655
  }, wt = { class: "flex justify-between" }, kt = ["onClick"], bt = {
748
656
  key: 0,
749
657
  class: "tooltip-text min-w-[70px]"
750
- }, Ct = { class: "flex justify-between mb-4" }, $t = ["href"], At = { 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]" }, Ft = { class: "py-[8px] pl-0 pr-[8px]" }, St = /* @__PURE__ */ O({
658
+ }, Ct = { class: "flex justify-between mb-4" }, $t = ["href"], At = { class: "flex flex-nowrap items-center w-max h-[24px]" }, Ft = { class: "whitespace-nowrap overflow-hidden text-ellipsis text-left flex-shrink w-full text-[#525B66]" }, Mt = { class: "py-[8px] pl-0 pr-[8px]" }, Bt = /* @__PURE__ */ S({
751
659
  __name: "OneHelpMenu",
752
- props: ye,
660
+ props: _e,
753
661
  emits: ["open", "close"],
754
- setup(y, { emit: f }) {
755
- const c = f, v = y, w = I(), a = C(() => v.t ?? w), i = C(() => {
662
+ setup(_, { emit: f }) {
663
+ const c = f, v = _, w = V(), a = C(() => v.t ?? w), i = C(() => {
756
664
  const l = v.help ?? {};
757
665
  return {
758
666
  label: l.label ?? a.value("ui.help.title"),
@@ -765,7 +673,7 @@ const et = ["data-opened"], tt = {
765
673
  {
766
674
  name: a.value("ui.help.reference"),
767
675
  link: v.helpSlug ? `https://oneb.app/help/${v.helpSlug}` : "https://oneb.app/help",
768
- icon: D
676
+ icon: N
769
677
  },
770
678
  { name: a.value("ui.help.leave_request"), link: "https://oneb.app/support", icon: Ze }
771
679
  ],
@@ -777,9 +685,9 @@ const et = ["data-opened"], tt = {
777
685
  { name: a.value("ui.help.offer"), link: "https://oneb.app/offer" }
778
686
  ]
779
687
  };
780
- }), n = B(!1), u = () => {
688
+ }), n = F(!1), u = () => {
781
689
  n.value = !n.value, n.value ? c("open") : c("close");
782
- }, m = C(() => k.value ? W : U), g = B(3), p = C(() => {
690
+ }, m = C(() => k.value ? W : U), g = F(3), p = C(() => {
783
691
  var s;
784
692
  const l = ((s = i.value.helpList) == null ? void 0 : s.length) || 0;
785
693
  return g.value === l;
@@ -791,15 +699,15 @@ const et = ["data-opened"], tt = {
791
699
  g.value = p.value ? 3 : l;
792
700
  }, b = (l, s) => {
793
701
  l && s && typeof s.openLink == "function" ? s.openLink(s) : l && window.open(l, "_blank");
794
- }, k = B(!1), M = () => {
702
+ }, k = F(!1), z = () => {
795
703
  k.value = !k.value;
796
704
  };
797
705
  return (l, s) => (t(), o("div", { "data-opened": n.value }, [
798
706
  e("button", {
799
707
  onClick: u,
800
- class: z(["sm:p-1 sm:w-[44px] sm:h-[44px] w-8 h-8 rounded-md hover:bg-secondary-10 flex", { "bg-secondary-10": n.value }])
708
+ class: L(["sm:p-1 sm:w-[44px] sm:h-[44px] w-8 h-8 rounded-md hover:bg-secondary-10 flex", { "bg-secondary-10": n.value }])
801
709
  }, [
802
- _(A(D), { class: "text-secondary-base w-full p-1 hover:text-blue-600 m-auto" })
710
+ y(A(N), { class: "text-secondary-base w-full p-1 hover:text-blue-600 m-auto" })
803
711
  ], 2),
804
712
  n.value ? (t(), o("div", {
805
713
  key: 0,
@@ -809,19 +717,19 @@ const et = ["data-opened"], tt = {
809
717
  n.value ? (t(), o("div", tt, [
810
718
  e("div", ot, [
811
719
  e("div", nt, d(i.value.label), 1),
812
- _(A(q), {
720
+ y(A(q), {
813
721
  class: "w-6 cursor-pointer",
814
722
  onClick: u
815
723
  })
816
724
  ]),
817
725
  i.value.helpButton ? (t(), o("div", st, [
818
- (t(!0), o($, null, F(i.value.helpButton, (r) => (t(), o("button", {
726
+ (t(!0), o($, null, M(i.value.helpButton, (r) => (t(), o("button", {
819
727
  key: r.name,
820
728
  onClick: (j) => b(r.link, r),
821
729
  class: "grid justify-center space-y-2 hover:bg-slate-100 p-3 rounded-xl hover:text-blue-500"
822
730
  }, [
823
731
  e("div", null, [
824
- (t(), S(V(r == null ? void 0 : r.icon), { class: "w-[16px] h-[16px] mx-auto" }))
732
+ (t(), B(I(r == null ? void 0 : r.icon), { class: "w-[16px] h-[16px] mx-auto" }))
825
733
  ]),
826
734
  e("span", rt, d(r.name), 1)
827
735
  ], 8, lt))), 128))
@@ -829,7 +737,7 @@ const et = ["data-opened"], tt = {
829
737
  e("div", it, [
830
738
  e("div", at, [
831
739
  i.value.helpList && i.value.helpList.length ? (t(), o("div", ct, [
832
- (t(!0), o($, null, F(i.value.helpList, (r) => (t(), o("div", {
740
+ (t(!0), o($, null, M(i.value.helpList, (r) => (t(), o("div", {
833
741
  key: r.id,
834
742
  onClick: (j) => b(r.link, r),
835
743
  class: "flex justify-between items-center rounded-lg hover:bg-slate-100 p-2 cursor-pointer hover:text-[#4089E0]"
@@ -851,52 +759,52 @@ const et = ["data-opened"], tt = {
851
759
  }, d(p.value ? i.value.buttNoMore : i.value.buttMore), 1)) : h("", !0),
852
760
  e("div", vt, [
853
761
  i.value.video ? (t(), o("div", mt, [
854
- (t(!0), o($, null, F(i.value.video, (r) => (t(), o("button", {
762
+ (t(!0), o($, null, M(i.value.video, (r) => (t(), o("button", {
855
763
  key: r.id,
856
764
  onClick: (j) => b(r.link, r),
857
765
  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"
858
766
  }, [
859
- _(A(Qe), { class: "w-6 h-6" }),
767
+ y(A(Qe), { class: "w-6 h-6" }),
860
768
  e("span", null, d(r.name), 1)
861
769
  ], 8, xt))), 128))
862
770
  ])) : h("", !0),
863
771
  i.value.socialList ? (t(), o("button", {
864
772
  key: 1,
865
- onClick: M,
773
+ onClick: z,
866
774
  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"
867
775
  }, [
868
- e("div", yt, [
869
- _(A(Xe), { class: "w-6 h-6" }),
776
+ e("div", _t, [
777
+ y(A(Xe), { class: "w-6 h-6" }),
870
778
  e("span", null, d(i.value.socialButt), 1)
871
779
  ]),
872
- _(A(m), { class: "w-4 h-4" })
780
+ y(A(m), { class: "w-4 h-4" })
873
781
  ])) : h("", !0),
874
782
  e("div", gt, [
875
- k.value ? (t(), o("div", _t, [
783
+ k.value ? (t(), o("div", yt, [
876
784
  e("div", wt, [
877
- (t(!0), o($, null, F(i.value.socialList, (r) => (t(), o("button", {
785
+ (t(!0), o($, null, M(i.value.socialList, (r) => (t(), o("button", {
878
786
  key: r.id,
879
787
  onClick: (j) => b(r.link, r),
880
788
  class: "flex items-center space-x-2 p-2 rounded-lg hover:bg-slate-100 hover:text-blue-500 tooltip"
881
789
  }, [
882
790
  e("div", null, [
883
791
  r.name ? (t(), o("div", bt, d(r.name), 1)) : h("", !0),
884
- (t(), S(V(r == null ? void 0 : r.icon), { class: "w-[24px] h-[24px] mx-auto" }))
792
+ (t(), B(I(r == null ? void 0 : r.icon), { class: "w-[24px] h-[24px] mx-auto" }))
885
793
  ])
886
794
  ], 8, kt))), 128))
887
795
  ])
888
796
  ])) : h("", !0)
889
797
  ]),
890
798
  e("div", Ct, [
891
- (t(!0), o($, null, F(i.value.termsOffer, (r) => (t(), o("a", {
799
+ (t(!0), o($, null, M(i.value.termsOffer, (r) => (t(), o("a", {
892
800
  key: r.name,
893
801
  target: "_blank",
894
802
  href: r.link,
895
803
  class: "ml-2 flex items-center rounded-lg text-xs hover:underline font-extralight cursor-pointer"
896
804
  }, [
897
805
  e("div", At, [
898
- e("div", Bt, [
899
- e("span", Ft, d(r.name), 1)
806
+ e("div", Ft, [
807
+ e("span", Mt, d(r.name), 1)
900
808
  ])
901
809
  ])
902
810
  ], 8, $t))), 128))
@@ -906,17 +814,15 @@ const et = ["data-opened"], tt = {
906
814
  ], 8, et));
907
815
  }
908
816
  });
909
- const Dt = /* @__PURE__ */ K(St, [["__scopeId", "data-v-56eccaba"]]);
817
+ const qt = /* @__PURE__ */ G(Bt, [["__scopeId", "data-v-56eccaba"]]);
910
818
  export {
911
819
  Nt as O,
912
820
  fe as _,
913
- N as a,
914
- Rt as b,
915
- Dt as c,
916
- ce as d,
917
- xe as e,
918
- It as f,
919
- Xe as g,
920
- Ye as h,
821
+ D as a,
822
+ Dt as b,
823
+ qt as c,
824
+ xe as d,
825
+ Xe as e,
826
+ Ye as f,
921
827
  Ae as r
922
828
  };