@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
@@ -0,0 +1,125 @@
1
+ import { c as Z } from "../clipboard-733b79a1.js";
2
+ import i from "dayjs";
3
+ import m from "dayjs/plugin/utc";
4
+ import p from "dayjs/plugin/timezone";
5
+ i.extend(m);
6
+ i.extend(p);
7
+ const h = (e, t = 2, o = 3, r = " ", s = ".") => {
8
+ const n = `\\d(?=(\\d{${o || 3}})+${t > 0 ? "\\D" : "$"})`, c = e.toFixed(Math.max(0, ~~t));
9
+ return (s ? c.replace(".", s) : c).replace(new RegExp(n, "g"), `$&${r}`);
10
+ }, A = h, z = (e, t = "UAH", o = "uk-UA") => e.toLocaleString(o, {
11
+ style: "currency",
12
+ currency: t
13
+ }), f = (e, t = "DD.MM.YYYY") => i(e).format(t), B = (e) => f(e, "YYYY-MM-DD");
14
+ function T(e) {
15
+ let t = Math.floor(e);
16
+ return [
17
+ { label: "d", value: 86400 },
18
+ { label: "h", value: 3600 },
19
+ { label: "m", value: 60 },
20
+ { label: "s", value: 1 }
21
+ ].map(({ label: r, value: s }) => {
22
+ const n = Math.floor(t / s);
23
+ return t %= s, n > 0 ? `${n}${r}` : "";
24
+ }).filter(Boolean).join(" ") || "0s";
25
+ }
26
+ const v = (e, t = 1) => {
27
+ if (e === 0)
28
+ return "0 B";
29
+ const o = 1024, r = t || 2, s = ["B", "KB", "MB", "GB", "TB", "PB", "EB", "ZB", "YB"], n = Math.floor(Math.log(e) / Math.log(o));
30
+ return `${parseFloat((e / Math.pow(o, n)).toFixed(r))} ${s[n]}`;
31
+ }, y = () => i.tz.guess(), D = () => (/* @__PURE__ */ new Date()).getTimezoneOffset(), g = (e) => e.replace(/[A-Z]/g, (t, o) => o > 0 ? " " + t.toLowerCase() : t).toLowerCase().replace(/[-_\s]+([a-z0-9])/g, (t, o) => o.toUpperCase()), L = (e) => e.replace(/\s+/g, "_").replace(/-+/g, "_").replace(/[A-Z]/g, (t, o) => (o > 0 ? "_" : "") + t.toLowerCase()).replace(/_+/g, "_"), b = (e) => {
32
+ const t = g(e);
33
+ return t.charAt(0).toUpperCase() + t.slice(1);
34
+ }, x = (e) => typeof e == "string" && e !== "", Y = (e, t = " ") => t.repeat(Math.max(0, e)), S = (e) => e.charAt(0).toUpperCase() + e.slice(1).toLowerCase(), U = (e) => e.charAt(0).toUpperCase() + e.slice(1), k = (e) => e.charAt(0).toLowerCase() + e.slice(1), M = (e, t) => typeof t == "string" ? t.trim().toLowerCase().includes(`${e}`.trim().toLowerCase()) : Array.isArray(t) ? t.some((o) => M(e, o)) : !1, P = (e, t, o = { showCounter: !0 }) => {
35
+ const r = [2, 0, 1, 1, 1, 2], s = o.showCounter && e > 1 ? e : "", n = t[e % 100 > 4 && e % 100 < 20 ? 2 : r[Math.min(e % 10, 5)]];
36
+ return `${s} ${n}`.trim();
37
+ }, C = {
38
+ а: "a",
39
+ б: "b",
40
+ в: "v",
41
+ г: "h",
42
+ ґ: "g",
43
+ д: "d",
44
+ е: "e",
45
+ є: "ie",
46
+ ж: "zh",
47
+ з: "z",
48
+ и: "y",
49
+ і: "i",
50
+ ї: "i",
51
+ й: "i",
52
+ к: "k",
53
+ л: "l",
54
+ м: "m",
55
+ н: "n",
56
+ о: "o",
57
+ п: "p",
58
+ р: "r",
59
+ с: "s",
60
+ т: "t",
61
+ у: "u",
62
+ ф: "f",
63
+ х: "kh",
64
+ ц: "ts",
65
+ ч: "ch",
66
+ ш: "sh",
67
+ щ: "shch",
68
+ ь: "",
69
+ ю: "iu",
70
+ я: "ia",
71
+ ы: "y",
72
+ э: "e",
73
+ ё: "e",
74
+ ъ: ""
75
+ }, F = (e) => e.toLowerCase().split("").map((t) => C[t] ?? t).join("").replace(/[^a-z0-9]+/g, "_").replace(/^_+|_+$/g, "").replace(/^(\d)/, "_$1"), w = (e, t = 0) => {
76
+ let o = 3735928559 ^ t, r = 1103547991 ^ t;
77
+ for (let s = 0, n; s < e.length; s++)
78
+ n = e.charCodeAt(s), o = Math.imul(o ^ n, 2654435761), r = Math.imul(r ^ n, 1597334677);
79
+ return o = Math.imul(o ^ o >>> 16, 2246822507), o ^= Math.imul(r ^ r >>> 13, 3266489909), r = Math.imul(r ^ r >>> 16, 2246822507), r ^= Math.imul(o ^ o >>> 13, 3266489909), 4294967296 * (2097151 & r) + (o >>> 0);
80
+ }, O = (e) => w(JSON.stringify(e)), j = (e, t = {}) => {
81
+ const o = t.url ?? "/version.json", r = t.intervalMs ?? 3e5;
82
+ let s = null, n = !1;
83
+ const c = () => {
84
+ if (s && clearTimeout(s), n)
85
+ return;
86
+ const l = window._app_hash || null, u = window._app_version || null;
87
+ !l || !u || (fetch(`${o}?t=${Date.now()}`).then((a) => a.json()).then((a) => {
88
+ a.version !== u ? e("version", a.version ?? "") : a.hash !== l && e("build", a.hash ?? "");
89
+ }).catch((a) => {
90
+ console.error("checkVersion", a);
91
+ }), s = setTimeout(c, r));
92
+ };
93
+ return s = setTimeout(c, r), {
94
+ run: c,
95
+ stop: () => {
96
+ n = !0, s && clearTimeout(s);
97
+ }
98
+ };
99
+ };
100
+ export {
101
+ S as capitalize,
102
+ M as containsString,
103
+ Z as copyToClipboard,
104
+ j as createVersionChecker,
105
+ w as cyrb53,
106
+ O as cyrb53FromObject,
107
+ A as formatAnyPrice,
108
+ v as formatBytes,
109
+ f as formatDate,
110
+ B as formatDateToInput,
111
+ T as formatDuration,
112
+ h as formatNumber,
113
+ z as formatPrice,
114
+ D as getTimezoneOffset,
115
+ y as guessTimezone,
116
+ x as isString,
117
+ k as lcfirst,
118
+ Y as makeString,
119
+ P as pluralize,
120
+ g as toCamelCase,
121
+ b as toPascalCase,
122
+ L as toSnakeCase,
123
+ F as transliterate,
124
+ U as ucfirst
125
+ };
@@ -0,0 +1,25 @@
1
+ /** Case utils ported from the identical lib/string/* copies in staff/voicecall/vizor/fin-bank/invoice. */
2
+ export declare const toCamelCase: (str: string) => string;
3
+ export declare const toSnakeCase: (str: string) => string;
4
+ export declare const toPascalCase: (str: string) => string;
5
+ export declare const isString: (value: unknown) => value is string;
6
+ export declare const makeString: (len: number, fill?: string) => string;
7
+ /** Ported from finance utils/str.js */
8
+ export declare const capitalize: (str: string) => string;
9
+ export declare const ucfirst: (str: string) => string;
10
+ export declare const lcfirst: (str: string) => string;
11
+ export declare const containsString: (needle: string, haystack: unknown) => boolean;
12
+ /**
13
+ * Slavic pluralization: pluralize(2, ['коментар', 'коментаря', 'коментарів']) -> "2 коментаря"
14
+ */
15
+ export declare const pluralize: (count: number, words: [string, string, string], options?: {
16
+ showCounter?: boolean;
17
+ }) => string;
18
+ /**
19
+ * Name → alias matching [a-z_][a-z0-9_]*: non-alphanumeric → '_',
20
+ * no repeated/edge '_', leading digit gets '_' prefix.
21
+ */
22
+ export declare const transliterate: (name: string) => string;
23
+ /** Fast 53-bit string hash (finance utils/hash.js) */
24
+ export declare const cyrb53: (str: string, seed?: number) => number;
25
+ export declare const cyrb53FromObject: (a: unknown) => number;
@@ -0,0 +1,26 @@
1
+ export type VersionChangeType = 'version' | 'build';
2
+ export interface VersionCheckerOptions {
3
+ /** Polled JSON endpoint, default '/version.json' ({ version, hash }). */
4
+ url?: string;
5
+ /** Poll interval in ms, default 5 minutes (as in invoice/staff). */
6
+ intervalMs?: number;
7
+ }
8
+ declare global {
9
+ interface Window {
10
+ _app_hash?: string;
11
+ _app_version?: string;
12
+ }
13
+ }
14
+ /**
15
+ * Watches /version.json (generated by the app's post-build step) and calls
16
+ * handleChange when the deployed version or build hash differs from the ones
17
+ * baked into index.html at page load (window._app_version / window._app_hash).
18
+ * No-op in dev where window._app_* are empty.
19
+ *
20
+ * Ported from the six near-identical copies in staff/voicecall/finance/wiki/
21
+ * accounts/vizor; adds configurable url/interval and a stop() handle.
22
+ */
23
+ export declare const createVersionChecker: (handleChange: (type: VersionChangeType, value: string) => void, opts?: VersionCheckerOptions) => {
24
+ run: () => void;
25
+ stop: () => void;
26
+ };
package/package.json CHANGED
@@ -1,13 +1,29 @@
1
1
  {
2
2
  "name": "@oneb/ui-vue",
3
- "version": "0.3.32",
3
+ "version": "0.4.1",
4
+ "description": "Oneb UI component library for Vue 3 (Tailwind CSS based)",
5
+ "keywords": [
6
+ "vue",
7
+ "vue3",
8
+ "components",
9
+ "ui",
10
+ "tailwind"
11
+ ],
12
+ "repository": {
13
+ "type": "git",
14
+ "url": "git+https://git.aiw.systems/aiw/cloud/libs/onebui/onebui-vue.git"
15
+ },
4
16
  "type": "module",
5
17
  "license": "MIT",
6
18
  "files": [
7
19
  "dist"
8
20
  ],
21
+ "main": "./dist/index.cjs",
9
22
  "module": "./dist/index.js",
10
23
  "types": "./dist/index.d.ts",
24
+ "sideEffects": [
25
+ "**/*.css"
26
+ ],
11
27
  "typesVersions": {
12
28
  "*": {
13
29
  "icons": [
@@ -28,6 +44,12 @@
28
44
  "buttonGroup": [
29
45
  "./dist/buttonGroup/index.d.ts"
30
46
  ],
47
+ "fileUpload": [
48
+ "./dist/fileUpload/index.d.ts"
49
+ ],
50
+ "filterBuilder": [
51
+ "./dist/filterBuilder/index.d.ts"
52
+ ],
31
53
  "form": [
32
54
  "./dist/form/index.d.ts"
33
55
  ],
@@ -37,12 +59,24 @@
37
59
  "common": [
38
60
  "./dist/common/index.d.ts"
39
61
  ],
62
+ "composables": [
63
+ "./dist/composables/index.d.ts"
64
+ ],
65
+ "confirm": [
66
+ "./dist/confirm/index.d.ts"
67
+ ],
68
+ "utils": [
69
+ "./dist/utils/index.d.ts"
70
+ ],
40
71
  "layout": [
41
72
  "./dist/layout/index.d.ts"
42
73
  ],
43
74
  "checkbox": [
44
75
  "./dist/checkbox/index.d.ts"
45
76
  ],
77
+ "chips": [
78
+ "./dist/chips/index.d.ts"
79
+ ],
46
80
  "collapse": [
47
81
  "./dist/collapse/index.d.ts"
48
82
  ],
@@ -61,18 +95,42 @@
61
95
  "modal": [
62
96
  "./dist/modal/index.d.ts"
63
97
  ],
98
+ "notifications": [
99
+ "./dist/notifications/index.d.ts"
100
+ ],
101
+ "popover": [
102
+ "./dist/popover/index.d.ts"
103
+ ],
104
+ "progress": [
105
+ "./dist/progress/index.d.ts"
106
+ ],
64
107
  "radio": [
65
108
  "./dist/radio/index.d.ts"
66
109
  ],
110
+ "searchInput": [
111
+ "./dist/searchInput/index.d.ts"
112
+ ],
113
+ "settings": [
114
+ "./dist/settings/index.d.ts"
115
+ ],
67
116
  "skeleton": [
68
117
  "./dist/skeleton/index.d.ts"
69
118
  ],
119
+ "spinner": [
120
+ "./dist/spinner/index.d.ts"
121
+ ],
70
122
  "stageBadge": [
71
123
  "./dist/stageBadge/index.d.ts"
72
124
  ],
125
+ "stepper": [
126
+ "./dist/stepper/index.d.ts"
127
+ ],
73
128
  "switch": [
74
129
  "./dist/switch/index.d.ts"
75
130
  ],
131
+ "tabs": [
132
+ "./dist/tabs/index.d.ts"
133
+ ],
76
134
  "toast": [
77
135
  "./dist/toast/index.d.ts"
78
136
  ],
@@ -82,9 +140,24 @@
82
140
  "periodPicker": [
83
141
  "./dist/periodPicker/index.d.ts"
84
142
  ],
143
+ "cursorList": [
144
+ "./dist/cursorList/index.d.ts"
145
+ ],
85
146
  "dataTable": [
86
147
  "./dist/dataTable/index.d.ts"
87
148
  ],
149
+ "dateTime": [
150
+ "./dist/dateTime/index.d.ts"
151
+ ],
152
+ "entityPicker": [
153
+ "./dist/entityPicker/index.d.ts"
154
+ ],
155
+ "i18n": [
156
+ "./dist/i18n/index.d.ts"
157
+ ],
158
+ "userList": [
159
+ "./dist/userList/index.d.ts"
160
+ ],
88
161
  "tailwind.config": [
89
162
  "./dist/tailwind.config.d.ts"
90
163
  ]
@@ -92,8 +165,9 @@
92
165
  },
93
166
  "exports": {
94
167
  ".": {
168
+ "types": "./dist/index.d.ts",
95
169
  "import": "./dist/index.js",
96
- "types": "./dist/index.d.ts"
170
+ "require": "./dist/index.cjs"
97
171
  },
98
172
  "./package.json": "./package.json",
99
173
  "./style.css": "./dist/style.css",
@@ -105,91 +179,208 @@
105
179
  },
106
180
  "./card": {
107
181
  "types": "./dist/card/index.d.ts",
108
- "import": "./dist/card/index.js"
182
+ "import": "./dist/card/index.js",
183
+ "require": "./dist/card/index.cjs"
109
184
  },
110
185
  "./button": {
111
186
  "types": "./dist/button/index.d.ts",
112
- "import": "./dist/button/index.js"
187
+ "import": "./dist/button/index.js",
188
+ "require": "./dist/button/index.cjs"
113
189
  },
114
190
  "./buttonGroup": {
115
191
  "types": "./dist/buttonGroup/index.d.ts",
116
- "import": "./dist/buttonGroup/index.js"
192
+ "import": "./dist/buttonGroup/index.js",
193
+ "require": "./dist/buttonGroup/index.cjs"
194
+ },
195
+ "./fileUpload": {
196
+ "types": "./dist/fileUpload/index.d.ts",
197
+ "import": "./dist/fileUpload/index.js",
198
+ "require": "./dist/fileUpload/index.cjs"
199
+ },
200
+ "./filterBuilder": {
201
+ "types": "./dist/filterBuilder/index.d.ts",
202
+ "import": "./dist/filterBuilder/index.js",
203
+ "require": "./dist/filterBuilder/index.cjs"
117
204
  },
118
205
  "./form": {
119
206
  "types": "./dist/form/index.d.ts",
120
- "import": "./dist/form/index.js"
207
+ "import": "./dist/form/index.js",
208
+ "require": "./dist/form/index.cjs"
121
209
  },
122
210
  "./dropdown": {
123
211
  "types": "./dist/dropdown/index.d.ts",
124
- "import": "./dist/dropdown/index.js"
212
+ "import": "./dist/dropdown/index.js",
213
+ "require": "./dist/dropdown/index.cjs"
125
214
  },
126
215
  "./common": {
127
216
  "types": "./dist/common/index.d.ts",
128
- "import": "./dist/common/index.js"
217
+ "import": "./dist/common/index.js",
218
+ "require": "./dist/common/index.cjs"
219
+ },
220
+ "./composables": {
221
+ "types": "./dist/composables/index.d.ts",
222
+ "import": "./dist/composables/index.js",
223
+ "require": "./dist/composables/index.cjs"
224
+ },
225
+ "./confirm": {
226
+ "types": "./dist/confirm/index.d.ts",
227
+ "import": "./dist/confirm/index.js",
228
+ "require": "./dist/confirm/index.cjs"
229
+ },
230
+ "./utils": {
231
+ "types": "./dist/utils/index.d.ts",
232
+ "import": "./dist/utils/index.js",
233
+ "require": "./dist/utils/index.cjs"
129
234
  },
130
235
  "./layout": {
131
236
  "types": "./dist/layout/index.d.ts",
132
- "import": "./dist/layout/index.js"
237
+ "import": "./dist/layout/index.js",
238
+ "require": "./dist/layout/index.cjs"
133
239
  },
134
240
  "./checkbox": {
135
241
  "types": "./dist/checkbox/index.d.ts",
136
- "import": "./dist/checkbox/index.js"
242
+ "import": "./dist/checkbox/index.js",
243
+ "require": "./dist/checkbox/index.cjs"
244
+ },
245
+ "./chips": {
246
+ "types": "./dist/chips/index.d.ts",
247
+ "import": "./dist/chips/index.js",
248
+ "require": "./dist/chips/index.cjs"
137
249
  },
138
250
  "./collapse": {
139
251
  "types": "./dist/collapse/index.d.ts",
140
- "import": "./dist/collapse/index.js"
252
+ "import": "./dist/collapse/index.js",
253
+ "require": "./dist/collapse/index.cjs"
141
254
  },
142
255
  "./errorsPage": {
143
256
  "types": "./dist/errorsPage/index.d.ts",
144
- "import": "./dist/errorsPage/index.js"
257
+ "import": "./dist/errorsPage/index.js",
258
+ "require": "./dist/errorsPage/index.cjs"
145
259
  },
146
260
  "./indicators": {
147
261
  "types": "./dist/indicators/index.d.ts",
148
- "import": "./dist/indicators/index.js"
262
+ "import": "./dist/indicators/index.js",
263
+ "require": "./dist/indicators/index.cjs"
149
264
  },
150
265
  "./infobox": {
151
266
  "types": "./dist/infobox/index.d.ts",
152
- "import": "./dist/infobox/index.js"
267
+ "import": "./dist/infobox/index.js",
268
+ "require": "./dist/infobox/index.cjs"
153
269
  },
154
270
  "./label": {
155
271
  "types": "./dist/label/index.d.ts",
156
- "import": "./dist/label/index.js"
272
+ "import": "./dist/label/index.js",
273
+ "require": "./dist/label/index.cjs"
157
274
  },
158
275
  "./modal": {
159
276
  "types": "./dist/modal/index.d.ts",
160
- "import": "./dist/modal/index.js"
277
+ "import": "./dist/modal/index.js",
278
+ "require": "./dist/modal/index.cjs"
279
+ },
280
+ "./popover": {
281
+ "types": "./dist/popover/index.d.ts",
282
+ "import": "./dist/popover/index.js",
283
+ "require": "./dist/popover/index.cjs"
284
+ },
285
+ "./progress": {
286
+ "types": "./dist/progress/index.d.ts",
287
+ "import": "./dist/progress/index.js",
288
+ "require": "./dist/progress/index.cjs"
289
+ },
290
+ "./notifications": {
291
+ "types": "./dist/notifications/index.d.ts",
292
+ "import": "./dist/notifications/index.js",
293
+ "require": "./dist/notifications/index.cjs"
161
294
  },
162
295
  "./radio": {
163
296
  "types": "./dist/radio/index.d.ts",
164
- "import": "./dist/radio/index.js"
297
+ "import": "./dist/radio/index.js",
298
+ "require": "./dist/radio/index.cjs"
299
+ },
300
+ "./searchInput": {
301
+ "types": "./dist/searchInput/index.d.ts",
302
+ "import": "./dist/searchInput/index.js",
303
+ "require": "./dist/searchInput/index.cjs"
304
+ },
305
+ "./settings": {
306
+ "types": "./dist/settings/index.d.ts",
307
+ "import": "./dist/settings/index.js",
308
+ "require": "./dist/settings/index.cjs"
165
309
  },
166
310
  "./skeleton": {
167
311
  "types": "./dist/skeleton/index.d.ts",
168
- "import": "./dist/skeleton/index.js"
312
+ "import": "./dist/skeleton/index.js",
313
+ "require": "./dist/skeleton/index.cjs"
314
+ },
315
+ "./spinner": {
316
+ "types": "./dist/spinner/index.d.ts",
317
+ "import": "./dist/spinner/index.js",
318
+ "require": "./dist/spinner/index.cjs"
169
319
  },
170
320
  "./stageBadge": {
171
321
  "types": "./dist/stageBadge/index.d.ts",
172
- "import": "./dist/stageBadge/index.js"
322
+ "import": "./dist/stageBadge/index.js",
323
+ "require": "./dist/stageBadge/index.cjs"
324
+ },
325
+ "./stepper": {
326
+ "types": "./dist/stepper/index.d.ts",
327
+ "import": "./dist/stepper/index.js",
328
+ "require": "./dist/stepper/index.cjs"
173
329
  },
174
330
  "./switch": {
175
331
  "types": "./dist/switch/index.d.ts",
176
- "import": "./dist/switch/index.js"
332
+ "import": "./dist/switch/index.js",
333
+ "require": "./dist/switch/index.cjs"
334
+ },
335
+ "./tabs": {
336
+ "types": "./dist/tabs/index.d.ts",
337
+ "import": "./dist/tabs/index.js",
338
+ "require": "./dist/tabs/index.cjs"
177
339
  },
178
340
  "./toast": {
179
341
  "types": "./dist/toast/index.d.ts",
180
- "import": "./dist/toast/index.js"
342
+ "import": "./dist/toast/index.js",
343
+ "require": "./dist/toast/index.cjs"
181
344
  },
182
345
  "./tooltip": {
183
346
  "types": "./dist/tooltip/index.d.ts",
184
- "import": "./dist/tooltip/index.js"
347
+ "import": "./dist/tooltip/index.js",
348
+ "require": "./dist/tooltip/index.cjs"
185
349
  },
186
350
  "./periodPicker": {
187
351
  "types": "./dist/periodPicker/index.d.ts",
188
- "import": "./dist/periodPicker/index.js"
352
+ "import": "./dist/periodPicker/index.js",
353
+ "require": "./dist/periodPicker/index.cjs"
354
+ },
355
+ "./cursorList": {
356
+ "types": "./dist/cursorList/index.d.ts",
357
+ "import": "./dist/cursorList/index.js",
358
+ "require": "./dist/cursorList/index.cjs"
189
359
  },
190
360
  "./dataTable": {
191
361
  "types": "./dist/dataTable/index.d.ts",
192
- "import": "./dist/dataTable/index.js"
362
+ "import": "./dist/dataTable/index.js",
363
+ "require": "./dist/dataTable/index.cjs"
364
+ },
365
+ "./dateTime": {
366
+ "types": "./dist/dateTime/index.d.ts",
367
+ "import": "./dist/dateTime/index.js",
368
+ "require": "./dist/dateTime/index.cjs"
369
+ },
370
+ "./entityPicker": {
371
+ "types": "./dist/entityPicker/index.d.ts",
372
+ "import": "./dist/entityPicker/index.js",
373
+ "require": "./dist/entityPicker/index.cjs"
374
+ },
375
+ "./i18n": {
376
+ "types": "./dist/i18n/index.d.ts",
377
+ "import": "./dist/i18n/index.js",
378
+ "require": "./dist/i18n/index.cjs"
379
+ },
380
+ "./userList": {
381
+ "types": "./dist/userList/index.d.ts",
382
+ "import": "./dist/userList/index.js",
383
+ "require": "./dist/userList/index.cjs"
193
384
  },
194
385
  "./icons": {
195
386
  "types": "./dist/icons/outline/esm/index.d.ts",
@@ -1 +0,0 @@
1
- "use strict";const e=require("vue");function t(r,n){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 o(r,n){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"})])}exports.render=t;exports.render$1=o;
@@ -1 +0,0 @@
1
- "use strict";const e=require("vue"),w=require("@floating-ui/dom"),D=require("@floating-ui/vue"),_=require("./OneAvatar.vue_vue_type_script_setup_true_lang-2d9f44f1.cjs"),E=require("./i18n/index.cjs"),N=require("./XMarkIcon-f94baa4c.cjs"),C=require("./ChevronDownIcon-6889ac87.cjs"),b=require("./ChevronRightIcon-7a2f0c20.cjs"),j=require("./button/index.cjs"),S=require("./_plugin-vue_export-helper-f246444f.cjs"),$={title:{type:String},stick:{type:String,default:"right"},appendBody:{type:Boolean,default:!1},trigger:{type:String,default:"click"},offset:{type:Number,default:5}},O={variant:{type:String,default:"primary"},label:{type:String},icon:{type:[Function,Object]}},P={modelValue:{type:[Object,Array],default:null},multiple:{type:Boolean,default:!1},items:{type:Array,default:()=>[]},title:{type:String},placeholder:{type:String,default:"Select"},searchPlaceholder:{type:String,default:"Search"},labelKey:{type:String,default:"label"},valueKey:{type:String,default:"id"},stick:{type:String,default:"bottom-start"},allowEmpty:{type:Boolean,default:!1},emptyLabel:{type:String},createLabel:{type:String},searchable:{type:Boolean,default:!0},isLoading:{type:Boolean,default:!1},groupKey:{type:String},maxWidth:{type:String},view:{type:String,default:"default"}},T=["data-opened"],q={key:0,class:"text-sm text-secondary-content px-3 py-2 text-left"},H={key:0,class:"text-sm text-secondary-content px-3 py-2 text-left"},A=e.defineComponent({__name:"OneDropdown",props:$,emits:["open","close"],setup(h,{emit:d}){const c=e.ref(!1),u=e.ref(null),v=e.ref(null),s=e.ref(null),r=d,t=h,a=()=>{c.value=!c.value,c.value?r("open"):r("close")};let p=null;const f=()=>{t.trigger==="hover"&&(p&&(clearTimeout(p),p=null),c.value||(c.value=!0,r("open")))},i=()=>{t.trigger==="hover"&&(p=setTimeout(()=>{c.value&&(c.value=!1,r("close"))},100))};e.provide("OneDropdown",{onToggle:a});let m=null;function g(){!v.value||!s.value||w.computePosition(v.value,s.value,{placement:t.stick?t.stick:"bottom-start",strategy:"fixed",middleware:[w.offset(t.offset),D.flip(),w.shift({padding:8})]}).then(({x:o,y:l})=>{s.value&&Object.assign(s.value.style,{left:`${o}px`,top:`${l}px`,visibility:"visible"})})}e.watch(c,async o=>{t.appendBody&&(o?(await e.nextTick(),v.value&&s.value&&(s.value.style.visibility="hidden",g(),m=w.autoUpdate(v.value,s.value,g))):m&&(m(),m=null))}),e.onBeforeUnmount(()=>{m&&m()});const k=e.computed(()=>{var x;if(t.appendBody)return"";const o=(x=u.value)==null?void 0:x.getBoundingClientRect(),l=o?o.x<270:!1;return o&&o.top+270>window.innerHeight?"up"+(l?"-right":"-left"):"down"+(l?"-right":"-left")}),y=e.computed(()=>{const o=["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 k.value.startsWith("up")?o.push("bottom-1 mb-10"):k.value.startsWith("down")&&o.push("top-1 mt-10"),t.stick==="right"?o.push("right-0"):t.stick==="left"&&o.push("left-0"),o}),n=e.computed(()=>["fixed z-[10000] 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(o,l)=>(e.openBlock(),e.createElementBlock("div",{class:"relative inline-block",ref_key:"containerRef",ref:u,"data-opened":c.value,onMouseenter:f,onMouseleave:i},[e.createElementVNode("div",{ref_key:"buttonRef",ref:v},[e.renderSlot(o.$slots,"button",e.normalizeProps(e.guardReactiveProps({onToggle:a,isExpanded:c.value})))],512),t.appendBody?(e.openBlock(),e.createBlock(e.Teleport,{key:0,to:"body"},[c.value&&o.trigger==="click"?(e.openBlock(),e.createElementBlock("div",{key:0,class:"fixed top-0 left-0 w-screen h-screen z-[9999]",onClick:a})):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(()=>[c.value?(e.openBlock(),e.createElementBlock("div",{key:0,ref_key:"menuRef",ref:s,class:e.normalizeClass(["menu",n.value]),role:"menu","aria-orientation":"vertical",tabindex:"-1",onMouseenter:f,onMouseleave:i},[o.title?(e.openBlock(),e.createElementBlock("div",q,e.toDisplayString(o.title),1)):e.createCommentVNode("",!0),e.renderSlot(o.$slots,"menu",e.normalizeProps(e.guardReactiveProps({onToggle:a})))],34)):e.createCommentVNode("",!0)]),_:3})])):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[c.value&&o.trigger==="click"?(e.openBlock(),e.createElementBlock("div",{key:0,class:"fixed top-0 left-0 w-screen h-screen z-10",onClick:a})):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(()=>[c.value?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(["menu",y.value]),role:"menu","aria-orientation":"vertical",tabindex:"-1"},[o.title?(e.openBlock(),e.createElementBlock("div",H,e.toDisplayString(o.title),1)):e.createCommentVNode("",!0),e.renderSlot(o.$slots,"menu",e.normalizeProps(e.guardReactiveProps({onToggle:a})))],2)):e.createCommentVNode("",!0)]),_:3})],64))],40,T))}}),B=e.defineComponent({__name:"OneDropdownItem",props:O,emits:["click"],setup(h,{emit:d}){const c=d,u=h,v=e.inject("OneDropdown"),s=()=>{v!==void 0&&v.onToggle(),c("click")},r=e.computed(()=>{const t=[];return u.variant==="secondary"?t.push("text-secondary-content hover:bg-secondary-body-hover"):u.variant==="danger"?t.push("text-danger-content hover:bg-danger-10"):u.variant==="warning"?t.push("text-warning-content hover:bg-warning-10"):u.variant==="info"?t.push("text-info-content hover:bg-info-10"):t.push("hover:bg-secondary-body-hover"),t});return(t,a)=>(e.openBlock(),e.createElementBlock("button",{class:e.normalizeClass(["px-3 py-1.5 flex items-center space-x-3 w-full whitespace-nowrap",r.value]),onClick:e.withModifiers(s,["prevent"])},[t.icon?(e.openBlock(),e.createBlock(e.resolveDynamicComponent(t.icon),{key:0,class:"w-4 h-4"})):e.createCommentVNode("",!0),e.createElementVNode("span",null,e.toDisplayString(t.label),1)],2))}});function I(h,d){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 R={user:{type:Object,required:!0},menu:{type:Array,default:()=>[]},iconSize:{type:String,default:"34"},app:{type:Object},onAccount:{type:Function},onLogout:{type:Function},t:{type:Function}},F={workspace:{type:Object,required:!0},workspaces:{type:Array},apps:{type:Array,required:!0},iconSize:{type:String,default:"24"},onChange:{type:Function},onApp:{type:Function},t:{type:Function}},U={help:{type:Object},helpSlug:{type:String},t:{type:Function}},W=["onClick"],K={class:"flex flex-col items-center pt-5 pb-2 h-full"},X={class:"flex flex-col px-10 py-1 mt-2 text-center"},G={class:"self-center text-base font-medium tracking-wide text-black"},J={class:"mt-1 text-xs leading-5 text-blue-500 font-light"},Q={class:"text-left w-full mt-5 px-3"},Y={class:"-mb-2 flex-shrink-0 mt-auto pt-6 text-[8px] leading-3 text-gray-400"},Z=e.defineComponent({__name:"OneUserMenu",props:R,setup(h){const d=h,c=E.useOnebI18n(),u=e.computed(()=>d.t??c),v=e.computed(()=>{var t;return(t=d.menu)==null?void 0:t.map(a=>{let p={label:a.label};a.icon!=null&&(p={...p,icon:a.icon});const f=typeof a.click=="function"?a.click:()=>{};return{key:a.label,args:p,click:f}})}),s=()=>{typeof d.onAccount=="function"&&d.onAccount()},r=()=>{typeof d.onLogout=="function"&&d.onLogout()};return(t,a)=>(e.openBlock(),e.createBlock(A,{stick:"right"},{button:e.withCtx(({onToggle:p,isExpanded:f})=>{var i,m;return[e.createElementVNode("button",{onClick:p,class:e.normalizeClass(["p-1 rounded-full hover:bg-secondary-10",[f?"bg-secondary-25":""]])},[e.createVNode(_._sfc_main,{text:((i=t.user)==null?void 0:i.name)||"",size:t.iconSize,src:(m=t.user)==null?void 0:m.photo_url,rounded:!0},null,8,["text","size","src"])],10,W)]}),menu:e.withCtx(()=>{var p,f,i,m,g;return[e.createElementVNode("div",K,[e.createVNode(_._sfc_main,{text:((p=t.user)==null?void 0:p.name)||"",size:80,src:(f=t.user)==null?void 0:f.photo_url,rounded:!0,class:"mx-auto"},null,8,["text","src"]),e.createElementVNode("div",X,[e.createElementVNode("div",G,e.toDisplayString((i=t.user)==null?void 0:i.name),1),e.createElementVNode("div",J,e.toDisplayString((m=t.user)==null?void 0:m.email),1)]),typeof d.onAccount=="function"?(e.openBlock(),e.createElementBlock("a",{key:0,onClick:s,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(u.value("ui.layout.account")),1)):e.createCommentVNode("",!0),e.createElementVNode("div",Q,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(v.value,k=>(e.openBlock(),e.createBlock(B,e.mergeProps({key:k.key},{ref_for:!0},k.args,{onClick:k.click}),null,16,["onClick"]))),128)),typeof t.onLogout=="function"?(e.openBlock(),e.createBlock(B,{key:0,icon:e.unref(I),label:u.value("ui.layout.logout"),class:"rounded py-3",onClick:r},null,8,["icon","label"])):e.createCommentVNode("",!0)]),a[0]||(a[0]=e.createElementVNode("div",{class:"space-y-2 text-center",style:{width:"240px"}},null,-1)),e.createElementVNode("div",Y,e.toDisplayString((g=t.app)==null?void 0:g.version),1)])]}),_:1}))}});function M(h,d){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"})])}const ee=["data-opened"],te={key:1,class:"absolute top-0 right-0 h-screen overflow-y-auto max-w-96 bg-white px-3 z-10"},oe={class:"flex justify-between items-center pt-3 mb-3"},ne={class:"font-semibold text-xl px-3"},le={class:"grid"},re={class:"rounded-lg m-3 border"},se={class:"space-x-2 flex items-center px-3 py-2",style:{width:"300px"}},ce={class:"flex justify-between relative"},ae={class:"flex items-center justify-between w-full text-left text-sm font-semibold"},ie={key:0},de={class:"text-xs font-semibold"},ue={class:"px-3 py-2"},pe={class:"text-secondary-content text-left pb-1 text-xs uppercase"},me={class:"overflow-auto max-h-full"},he={key:0,class:"space-y-2"},fe=["onClick"],ve={class:"flex"},ke={class:"border border-secondary-stroke rounded-2xl w-14 h-14 md:w-14 md:h-14 flex items-center justify-center"},ge={class:"pl-2"},ye={class:"text-sm mt-1 font-semibold"},xe={class:"text9 mt-1"},_e={key:1,class:"mt-2 w-full bg-[#FAFAFA] hover:bg-secondary-10 p-2 rounded-lg mb-5 text-xs hidden"},we=e.defineComponent({__name:"OneBrowserMenu",props:F,emits:["open","close"],setup(h,{emit:d}){const c=d,u=h,v=E.useOnebI18n(),s=e.computed(()=>u.t??v),r=e.ref(!1),t=()=>{r.value=!r.value,r.value?c("open"):c("close")},a=e.ref(!1);e.computed(()=>a.value?b.render:C.render);const p=()=>{typeof u.onChange=="function"&&u.onChange()},f=i=>{typeof u.onApp=="function"&&u.onApp(i)};return(i,m)=>{var g,k,y;return e.openBlock(),e.createElementBlock("div",{"data-opened":r.value},[e.createElementVNode("button",{onClick:t,class:e.normalizeClass(["sm:p-1 sm:w-[44px] sm:h-[44px] w-8 h-8 rounded-md hover:bg-secondary-10 flex",{"bg-secondary-10":r.value}])},[e.createVNode(e.unref(M),{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:t})):e.createCommentVNode("",!0),r.value?(e.openBlock(),e.createElementBlock("div",te,[e.createElementVNode("div",oe,[e.createElementVNode("div",ne,e.toDisplayString(s.value("ui.layout.workspaces")),1),e.createVNode(e.unref(N.render),{class:"w-6 cursor-pointer",onClick:t})]),e.createElementVNode("div",le,[e.createElementVNode("div",re,[e.createElementVNode("div",se,[e.createElementVNode("div",ce,[e.createVNode(_._sfc_main,{text:((g=i.workspace)==null?void 0:g.name)||"",src:(k=i.workspace)==null?void 0:k.photo_url,size:44,rounded:!1,class:"mx-auto"},null,8,["text","src"])]),e.createElementVNode("div",ae,e.toDisplayString((y=i.workspace)==null?void 0:y.name),1)]),a.value?(e.openBlock(),e.createElementBlock("div",ie,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(i.workspaces,n=>(e.openBlock(),e.createElementBlock("div",{key:n.name,class:"flex items-center space-x-3 border-t px-5 py-2 hover:bg-secondary-10"},[e.createVNode(_._sfc_main,{text:n.name,src:n.photo_url,size:30,rounded:!1},null,8,["text","src"]),e.createElementVNode("span",de,e.toDisplayString(n.name),1)]))),128))])):e.createCommentVNode("",!0),m[0]||(m[0]=e.createElementVNode("hr",null,null,-1)),e.createElementVNode("div",{onClick:p,class:"text-center py-2 cursor-pointer",style:{"font-size":"10px"}},e.toDisplayString(s.value("ui.layout.change_workspace")),1)])]),e.createElementVNode("div",ue,[e.createElementVNode("div",pe,e.toDisplayString(s.value("ui.layout.apps")),1),e.createElementVNode("div",me,[i.apps&&i.apps.length?(e.openBlock(),e.createElementBlock("div",he,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(i.apps,n=>(e.openBlock(),e.createElementBlock("div",{key:n.id,onClick:o=>f(n),class:"flex justify-between items-center rounded-lg hover:bg-secondary-10 p-2 bg-[#FAFAFA] cursor-pointer"},[e.createElementVNode("div",ve,[e.createElementVNode("div",ke,[e.createVNode(_._sfc_main,{text:n.name,src:n.photo_url,size:44,rounded:!1},null,8,["text","src"])]),e.createElementVNode("div",ge,[e.createElementVNode("p",ye,e.toDisplayString(n.name),1),e.createElementVNode("p",xe,e.toDisplayString(n==null?void 0:n.short),1)])]),e.createElementVNode("div",null,[e.createVNode(j.OneButton,{variant:"touch",icon:e.unref(b.render$1),onClick:o=>f(n)},null,8,["icon","onClick"])])],8,fe))),128))])):e.createCommentVNode("",!0),i.apps&&i.apps.length?(e.openBlock(),e.createElementBlock("button",_e,e.toDisplayString(s.value("ui.layout.view_all")),1)):e.createCommentVNode("",!0)])])])):e.createCommentVNode("",!0)],8,ee)}}});const be=S._export_sfc(we,[["__scopeId","data-v-3675784e"]]);function V(h,d){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:"M9.879 7.519c1.171-1.025 3.071-1.025 4.242 0 1.172 1.025 1.172 2.687 0 3.712-.203.179-.43.326-.67.442-.745.361-1.45.999-1.45 1.827v.75M21 12a9 9 0 11-18 0 9 9 0 0118 0zm-9 5.25h.008v.008H12v-.008z"})])}function Be(h,d){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:"M21 12a9 9 0 11-18 0 9 9 0 0118 0z"}),e.createElementVNode("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M15.91 11.672a.375.375 0 010 .656l-5.603 3.113a.375.375 0 01-.557-.328V8.887c0-.286.307-.466.557-.327l5.603 3.112z"})])}function z(h,d){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:"M12 21a9.004 9.004 0 008.716-6.747M12 21a9.004 9.004 0 01-8.716-6.747M12 21c2.485 0 4.5-4.03 4.5-9S14.485 3 12 3m0 18c-2.485 0-4.5-4.03-4.5-9S9.515 3 12 3m0 0a8.997 8.997 0 017.843 4.582M12 3a8.997 8.997 0 00-7.843 4.582m15.686 0A11.953 11.953 0 0112 10.5c-2.998 0-5.74-1.1-7.843-2.918m15.686 0A8.959 8.959 0 0121 12c0 .778-.099 1.533-.284 2.253m0 0A17.919 17.919 0 0112 16.5c-3.162 0-6.133-.815-8.716-2.247m0 0A9.015 9.015 0 013 12c0-1.605.42-3.113 1.157-4.418"})])}function L(h,d){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.625 9.75a.375.375 0 11-.75 0 .375.375 0 01.75 0zm0 0H8.25m4.125 0a.375.375 0 11-.75 0 .375.375 0 01.75 0zm0 0H12m4.125 0a.375.375 0 11-.75 0 .375.375 0 01.75 0zm0 0h-.375m-13.5 3.01c0 1.6 1.123 2.994 2.707 3.227 1.087.16 2.185.283 3.293.369V21l4.184-4.183a1.14 1.14 0 01.778-.332 48.294 48.294 0 005.83-.498c1.585-.233 2.708-1.626 2.708-3.228V6.741c0-1.602-1.123-2.995-2.707-3.228A48.394 48.394 0 0012 3c-2.392 0-4.744.175-7.043.513C3.373 3.746 2.25 5.14 2.25 6.741v6.018z"})])}function Ee(h,d){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:"M6 12L3.269 3.126A59.768 59.768 0 0121.485 12 59.77 59.77 0 013.27 20.876L5.999 12zm0 0h7.5"})])}const Ve=["data-opened"],Ne={key:1,class:"absolute top-0 right-0 h-screen max-w-96 bg-white px-3 z-10 flex flex-col"},Ce={class:"flex justify-between items-center pt-3 mb-3"},Se={class:"font-semibold text-xl px-3"},$e={key:0,class:"grid grid-cols-3 bg-[#FAFAFA] rounded-xl text-[#525B66] mb-2"},Ae=["onClick"],Fe={class:"uppercase text-[8px]"},Me={class:"overflow-y-auto grid rounded-xl"},ze={class:"max-h-full bg-[#FAFAFA]"},Le={key:0,class:"space-y-2"},De=["onClick"],je={class:"flex"},Oe={class:"pl-2"},Pe={class:"text-sm mt-1 font-semibold"},Te={class:"text-[10px] mt-1 text-[#979CA9]"},qe={class:"mt-auto"},He={key:0},Ie=["onClick"],Re={class:"flex items-center space-x-3"},Ue={class:"h-16"},We={key:0,class:"bg-[#FAFAFA] rounded-lg p-3"},Ke={class:"flex justify-between"},Xe=["onClick"],Ge={key:0,class:"tooltip-text min-w-[70px]"},Je={class:"flex justify-between mb-4"},Qe=["href"],Ye={class:"flex flex-nowrap items-center w-max h-[24px]"},Ze={class:"whitespace-nowrap overflow-hidden text-ellipsis text-left flex-shrink w-full text-[#525B66]"},et={class:"py-[8px] pl-0 pr-[8px]"},tt=e.defineComponent({__name:"OneHelpMenu",props:U,emits:["open","close"],setup(h,{emit:d}){const c=d,u=h,v=E.useOnebI18n(),s=e.computed(()=>u.t??v),r=e.computed(()=>{const n=u.help??{};return{label:n.label??s.value("ui.help.title"),social:n.social??s.value("ui.help.social"),socialButt:n.socialButt??s.value("ui.help.social"),buttMore:n.buttMore??s.value("ui.help.more"),buttNoMore:n.buttNoMore??s.value("ui.help.hide"),helpButton:n.helpButton??[{name:s.value("ui.help.support"),link:"https://t.me/onebapp_bot",icon:L},{name:s.value("ui.help.reference"),link:u.helpSlug?`https://oneb.app/help/${u.helpSlug}`:"https://oneb.app/help",icon:V},{name:s.value("ui.help.leave_request"),link:"https://oneb.app/support",icon:Ee}],helpList:n.helpList??[],video:n.video??[],socialList:n.socialList??[],termsOffer:n.termsOffer??[{name:s.value("ui.help.terms"),link:"https://oneb.app/terms-of-service"},{name:s.value("ui.help.offer"),link:"https://oneb.app/offer"}]}}),t=e.ref(!1),a=()=>{t.value=!t.value,t.value?c("open"):c("close")},p=e.computed(()=>k.value?b.render:C.render),f=e.ref(3),i=e.computed(()=>{var o;const n=((o=r.value.helpList)==null?void 0:o.length)||0;return f.value===n});e.computed(()=>(r.value.helpList||[]).slice(0,f.value));const m=()=>{var o;const n=((o=r.value.helpList)==null?void 0:o.length)||0;f.value=i.value?3:n},g=(n,o)=>{n&&o&&typeof o.openLink=="function"?o.openLink(o):n&&window.open(n,"_blank")},k=e.ref(!1),y=()=>{k.value=!k.value};return(n,o)=>(e.openBlock(),e.createElementBlock("div",{"data-opened":t.value},[e.createElementVNode("button",{onClick:a,class:e.normalizeClass(["sm:p-1 sm:w-[44px] sm:h-[44px] w-8 h-8 rounded-md hover:bg-secondary-10 flex",{"bg-secondary-10":t.value}])},[e.createVNode(e.unref(V),{class:"text-secondary-base w-full p-1 hover:text-blue-600 m-auto"})],2),t.value?(e.openBlock(),e.createElementBlock("div",{key:0,class:"fixed top-0 left-0 w-screen h-screen z-10 bg-black/10 flex flex-col",onClick:a})):e.createCommentVNode("",!0),t.value?(e.openBlock(),e.createElementBlock("div",Ne,[e.createElementVNode("div",Ce,[e.createElementVNode("div",Se,e.toDisplayString(r.value.label),1),e.createVNode(e.unref(N.render),{class:"w-6 cursor-pointer",onClick:a})]),r.value.helpButton?(e.openBlock(),e.createElementBlock("div",$e,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(r.value.helpButton,l=>(e.openBlock(),e.createElementBlock("button",{key:l.name,onClick:x=>g(l.link,l),class:"grid justify-center space-y-2 hover:bg-slate-100 p-3 rounded-xl hover:text-blue-500"},[e.createElementVNode("div",null,[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(l==null?void 0:l.icon),{class:"w-[16px] h-[16px] mx-auto"}))]),e.createElementVNode("span",Fe,e.toDisplayString(l.name),1)],8,Ae))),128))])):e.createCommentVNode("",!0),e.createElementVNode("div",Me,[e.createElementVNode("div",ze,[r.value.helpList&&r.value.helpList.length?(e.openBlock(),e.createElementBlock("div",Le,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(r.value.helpList,l=>(e.openBlock(),e.createElementBlock("div",{key:l.id,onClick:x=>g(l.link,l),class:"flex justify-between items-center rounded-lg hover:bg-slate-100 p-2 cursor-pointer hover:text-[#4089E0]"},[e.createElementVNode("div",je,[e.createElementVNode("div",Oe,[e.createElementVNode("p",Pe,e.toDisplayString(l.name),1),e.createElementVNode("p",Te,e.toDisplayString(l.category),1)])])],8,De))),128))])):e.createCommentVNode("",!0)])]),r.value.helpList&&r.value.helpList.length<0?(e.openBlock(),e.createElementBlock("button",{key:1,onClick:m,class:"h-11 w-full bg-[#FAFAFA] hover:bg-slate-100 p-3 text-[#525B66] rounded-b-xl text-xs hover:text-[#4089E0] font-medium"},e.toDisplayString(i.value?r.value.buttNoMore:r.value.buttMore),1)):e.createCommentVNode("",!0),e.createElementVNode("div",qe,[r.value.video?(e.openBlock(),e.createElementBlock("div",He,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(r.value.video,l=>(e.openBlock(),e.createElementBlock("button",{key:l.id,onClick:x=>g(l.link,l),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"},[e.createVNode(e.unref(Be),{class:"w-6 h-6"}),e.createElementVNode("span",null,e.toDisplayString(l.name),1)],8,Ie))),128))])):e.createCommentVNode("",!0),r.value.socialList?(e.openBlock(),e.createElementBlock("button",{key:1,onClick:y,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"},[e.createElementVNode("div",Re,[e.createVNode(e.unref(z),{class:"w-6 h-6"}),e.createElementVNode("span",null,e.toDisplayString(r.value.socialButt),1)]),e.createVNode(e.unref(p),{class:"w-4 h-4"})])):e.createCommentVNode("",!0),e.createElementVNode("div",Ue,[k.value?(e.openBlock(),e.createElementBlock("div",We,[e.createElementVNode("div",Ke,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(r.value.socialList,l=>(e.openBlock(),e.createElementBlock("button",{key:l.id,onClick:x=>g(l.link,l),class:"flex items-center space-x-2 p-2 rounded-lg hover:bg-slate-100 hover:text-blue-500 tooltip"},[e.createElementVNode("div",null,[l.name?(e.openBlock(),e.createElementBlock("div",Ge,e.toDisplayString(l.name),1)):e.createCommentVNode("",!0),(e.openBlock(),e.createBlock(e.resolveDynamicComponent(l==null?void 0:l.icon),{class:"w-[24px] h-[24px] mx-auto"}))])],8,Xe))),128))])])):e.createCommentVNode("",!0)]),e.createElementVNode("div",Je,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(r.value.termsOffer,l=>(e.openBlock(),e.createElementBlock("a",{key:l.name,target:"_blank",href:l.link,class:"ml-2 flex items-center rounded-lg text-xs hover:underline font-extralight cursor-pointer"},[e.createElementVNode("div",Ye,[e.createElementVNode("div",Ze,[e.createElementVNode("span",et,e.toDisplayString(l.name),1)])])],8,Qe))),128))])])])):e.createCommentVNode("",!0)],8,Ve))}});const ot=S._export_sfc(tt,[["__scopeId","data-v-56eccaba"]]);exports.OneBrowserMenu=be;exports.OneHelpMenu=ot;exports._sfc_main=A;exports._sfc_main$1=B;exports._sfc_main$2=Z;exports.browserMenuProps=F;exports.dropdownProps=$;exports.dropdownSelectProps=P;exports.render=M;exports.render$1=z;exports.render$2=L;
@@ -1 +0,0 @@
1
- "use strict";const e=require("vue");require("./SpinnerIcon.vue_vue_type_style_index_0_lang-0ea8fbf8.cjs");const o=require("./_plugin-vue_export-helper-f246444f.cjs"),r={},t={class:"spinner",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",style:{animation:"one-sp-ico-rot 2.7s linear infinite"}};function i(c,n){return e.openBlock(),e.createElementBlock("svg",t,[...n[0]||(n[0]=[e.createElementVNode("circle",{style:{"stroke-linecap":"round",animation:"one-sp-ico-dash 1.7s ease-in-out infinite"},class:"opacity-75",cx:"12",cy:"12",r:"8",fill:"none",stroke:"currentColor","stroke-width":"2"},null,-1)])])}const s=o._export_sfc(r,[["render",i]]);exports.SpinnerIcon=s;