@oneb/ui-vue 0.3.31 → 0.4.0

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