@feedmepos/mf-brand-app-builder 0.5.0 → 0.5.2-6.prod.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 (200) hide show
  1. package/README.md +37 -18
  2. package/dist/App-Cc1q_aD7.js +109 -0
  3. package/dist/AssetsSettings-DJOCXmyp.js +233 -0
  4. package/dist/BaDivider-Cp9gfB4r.js +10 -0
  5. package/dist/BrandkitView-BFSi5o-W.js +9931 -0
  6. package/dist/BuilderView-C4FaLoJw.js +10155 -0
  7. package/dist/ButtonGroup-2ilMTPHH.js +29 -0
  8. package/dist/CircularProgress-DdblYCtV.js +43 -0
  9. package/dist/ColorPicker-RKWzhLBO.js +543 -0
  10. package/dist/ColorPicker-dVFIiu94.js +159 -0
  11. package/dist/Icon.vue_vue_type_style_index_0_lang-BcRjQndc.js +16 -0
  12. package/dist/ImageUpload-I29iC9SL.js +73 -0
  13. package/dist/LinkButton-DNXBKGCn.js +170 -0
  14. package/dist/ListRepeater-B7siK-u5.js +86 -0
  15. package/dist/ManagementSettings-DHh2g_XJ.js +671 -0
  16. package/dist/ProjectView-DKXRpIC6.js +428 -0
  17. package/dist/Select-DQx6OfZx.js +95 -0
  18. package/dist/SettingsView-uft0uKio.js +34 -0
  19. package/dist/StepperField-nyaUK9ht.js +30 -0
  20. package/dist/Switch-uc_zN-mb.js +19 -0
  21. package/dist/TextAlign-BSp1Xi7F.js +51 -0
  22. package/dist/TextDecorators-1C54q7us.js +53 -0
  23. package/dist/TextField-DfBJB6vQ.js +24 -0
  24. package/dist/TextStyleList-Bef3irUx.js +68 -0
  25. package/dist/_commonjsHelpers-DaMA6jEr.js +8 -0
  26. package/dist/_plugin-vue_export-helper-CHgC5LLL.js +9 -0
  27. package/dist/app-vtsfertH.js +11886 -0
  28. package/dist/app.js +6 -15015
  29. package/dist/brand-core/src/brandkit.d.ts +49 -0
  30. package/dist/brand-core/src/entity.d.ts +105 -0
  31. package/dist/brandkit-CqTsCHzt.js +101 -0
  32. package/dist/{components → client/components}/src/components/ButtonList.vue.d.ts +2 -0
  33. package/dist/client/components/src/components/Homepage.vue.d.ts +19 -0
  34. package/dist/{components → client/components}/src/components/ImageDisplay.vue.d.ts +1 -1
  35. package/dist/client/components/src/components/Member/MemberAchievements.vue.d.ts +33 -0
  36. package/dist/client/components/src/components/Member/MemberCards.vue.d.ts +20 -0
  37. package/dist/client/components/src/components/Member/MemberSummary.vue.d.ts +24 -0
  38. package/dist/client/components/src/components/Member/TransactionList.vue.d.ts +5 -0
  39. package/dist/{components → client/components}/src/components/MemberCard.vue.d.ts +7 -0
  40. package/dist/client/components/src/components/NavigationBar.vue.d.ts +17 -0
  41. package/dist/{components → client/components}/src/components/OrderHistoryCard.vue.d.ts +9 -3
  42. package/dist/{components → client/components}/src/components/OrderMethod.vue.d.ts +3 -0
  43. package/dist/{components → client/components}/src/components/atoms/Button.vue.d.ts +3 -3
  44. package/dist/client/components/src/components/atoms/Container.vue.d.ts +26 -0
  45. package/dist/{components → client/components}/src/components/atoms/LinkSlot.vue.d.ts +3 -3
  46. package/dist/client/components/src/i18n.d.ts +4 -0
  47. package/dist/{components → client/components}/src/main.d.ts +9 -1
  48. package/dist/client/components/src/utils/date.d.ts +22 -0
  49. package/dist/client/components/src/utils/image.d.ts +2 -0
  50. package/dist/client/components/src/views/_Credit.vue.d.ts +24 -0
  51. package/dist/client/components/src/views/_MemberProfile.vue.d.ts +34 -0
  52. package/dist/client/components/src/views/_Point.vue.d.ts +24 -0
  53. package/dist/client/components/src/views/_Referral.vue.d.ts +31 -0
  54. package/dist/client/components/src/views/_ReferralTutorial.vue.d.ts +24 -0
  55. package/dist/client/merchant/src/api/business/index.d.ts +96 -0
  56. package/dist/client/merchant/src/api/index.d.ts +40 -0
  57. package/dist/{merchant → client/merchant}/src/api/template/index.d.ts +2 -2
  58. package/dist/client/merchant/src/app.d.ts +7101 -0
  59. package/dist/client/merchant/src/components/brandkit/ColorOverrideDialog.vue.d.ts +26 -0
  60. package/dist/client/merchant/src/components/brandkit/ColorSelection.vue.d.ts +15 -0
  61. package/dist/{merchant → client/merchant}/src/components/element-sidebar/all-elements.d.ts +1 -0
  62. package/dist/{merchant → client/merchant}/src/components/inputs/ColorPicker.vue.d.ts +1 -0
  63. package/dist/client/merchant/src/components/inputs/LinkBrandkitColor.vue.d.ts +9 -0
  64. package/dist/client/merchant/src/components/inspector/atoms/ConfigSection.vue.d.ts +12 -0
  65. package/dist/client/merchant/src/components/inspector/atoms/ConfigTab.vue.d.ts +18 -0
  66. package/dist/client/merchant/src/components/inspector/atoms/ConfigTabItem.vue.d.ts +13 -0
  67. package/dist/client/merchant/src/components/inspector/atoms/ConfigTabTitle.vue.d.ts +5 -0
  68. package/dist/client/merchant/src/components/modals/TemplateSelectionModal.vue.d.ts +18 -0
  69. package/dist/client/merchant/src/components/order-template/LayoutTemplateSection.vue.d.ts +14 -0
  70. package/dist/client/merchant/src/components/order-template/OrderTemplateEditorButton.vue.d.ts +10 -0
  71. package/dist/client/merchant/src/components/order-template/OrderTemplateEditorForm.vue.d.ts +14 -0
  72. package/dist/client/merchant/src/components/order-template/TemplateVersionHistory.vue.d.ts +18 -0
  73. package/dist/client/merchant/src/components/template/TemplatePreview.vue.d.ts +8 -0
  74. package/dist/{merchant → client/merchant}/src/composables/useNode/index.d.ts +2 -1
  75. package/dist/client/merchant/src/composables/useToast/index.d.ts +8 -0
  76. package/dist/client/merchant/src/config/defaultTemplateConfig.d.ts +18 -0
  77. package/dist/client/merchant/src/helpers/businessUrl.d.ts +2 -0
  78. package/dist/{merchant → client/merchant}/src/node-configs/branch-list/props.d.ts +1 -0
  79. package/dist/{merchant → client/merchant}/src/node-configs/button-list/props.d.ts +3 -0
  80. package/dist/{merchant → client/merchant}/src/node-configs/carousel/props.d.ts +1 -0
  81. package/dist/client/merchant/src/node-configs/container/props.d.ts +85 -0
  82. package/dist/{merchant → client/merchant}/src/node-configs/display-image/props.d.ts +1 -0
  83. package/dist/{merchant → client/merchant}/src/node-configs/display-text/props.d.ts +1 -0
  84. package/dist/client/merchant/src/node-configs/member-achievements/mock-data.d.ts +15 -0
  85. package/dist/client/merchant/src/node-configs/member-achievements/props.d.ts +40 -0
  86. package/dist/client/merchant/src/node-configs/member-achievements/schema.d.ts +2 -0
  87. package/dist/{merchant → client/merchant}/src/node-configs/member-card/mock-data.d.ts +1 -0
  88. package/dist/{merchant → client/merchant}/src/node-configs/member-card/props.d.ts +2 -0
  89. package/dist/client/merchant/src/node-configs/member-cards/mock-data.d.ts +3 -0
  90. package/dist/client/merchant/src/node-configs/member-cards/props.d.ts +24 -0
  91. package/dist/client/merchant/src/node-configs/member-cards/schema.d.ts +2 -0
  92. package/dist/client/merchant/src/node-configs/member-history/mock-data.d.ts +843 -0
  93. package/dist/client/merchant/src/node-configs/member-history/props.d.ts +1692 -0
  94. package/dist/client/merchant/src/node-configs/member-history/schema.d.ts +3 -0
  95. package/dist/client/merchant/src/node-configs/member-profile/props.d.ts +449 -0
  96. package/dist/client/merchant/src/node-configs/member-profile/schema.d.ts +2 -0
  97. package/dist/client/merchant/src/node-configs/member-referral/props.d.ts +98 -0
  98. package/dist/client/merchant/src/node-configs/member-referral/schema.d.ts +2 -0
  99. package/dist/client/merchant/src/node-configs/member-referral-tutorial/props.d.ts +8 -0
  100. package/dist/client/merchant/src/node-configs/member-referral-tutorial/schema.d.ts +2 -0
  101. package/dist/client/merchant/src/node-configs/member-summary/mock-data.d.ts +9 -0
  102. package/dist/client/merchant/src/node-configs/member-summary/props.d.ts +32 -0
  103. package/dist/client/merchant/src/node-configs/member-summary/schema.d.ts +2 -0
  104. package/dist/client/merchant/src/node-configs/mock-data.d.ts +7 -0
  105. package/dist/{merchant → client/merchant}/src/node-configs/order-history-card/props.d.ts +1 -0
  106. package/dist/{merchant → client/merchant}/src/node-configs/order-method/props.d.ts +1 -0
  107. package/dist/{merchant → client/merchant}/src/node-configs/props.d.ts +8 -1
  108. package/dist/{merchant → client/merchant}/src/node-configs/schema.d.ts +8 -1
  109. package/dist/client/merchant/src/plugin/formkit-i18n.d.ts +2 -0
  110. package/dist/client/merchant/src/plugin/i18n.d.ts +2 -0
  111. package/dist/client/merchant/src/stores/business/index.d.ts +964 -0
  112. package/dist/{merchant → client/merchant}/src/stores/editor/index.d.ts +1 -1
  113. package/dist/{merchant → client/merchant}/src/stores/template/index.d.ts +88 -9
  114. package/dist/client/merchant/src/utils/image.d.ts +1 -0
  115. package/dist/client/merchant/src/views/BuilderView.vue.d.ts +5 -0
  116. package/dist/client/merchant/src/views/views.d.ts +101 -0
  117. package/dist/dayjs.min-DnbY0e60.js +282 -0
  118. package/dist/image-S7-2rbQS.js +42 -0
  119. package/dist/index-BUEKCOG0.js +112 -0
  120. package/dist/index-C6_vWPi0.js +1822 -0
  121. package/dist/index-CPs0rWCO.js +198 -0
  122. package/dist/index-CawZ03Z8.js +30 -0
  123. package/dist/main-DLCAzTfw.js +10467 -0
  124. package/dist/package.json +19 -8
  125. package/dist/style.css +1 -1
  126. package/dist/v4-CKwdnpQf.js +26 -0
  127. package/dist/views-BDWw3w14.js +119 -0
  128. package/dist/vue-sonner-CBFYmm8_.js +750 -0
  129. package/package.json +19 -8
  130. package/dist/components/src/components/Homepage.vue.d.ts +0 -17
  131. package/dist/components/src/components/atoms/Container.vue.d.ts +0 -25
  132. package/dist/merchant/src/api/business/index.d.ts +0 -34
  133. package/dist/merchant/src/api/index.d.ts +0 -14
  134. package/dist/merchant/src/app.d.ts +0 -3
  135. package/dist/merchant/src/components/inspector/atoms/ConfigSection.vue.d.ts +0 -12
  136. package/dist/merchant/src/components/inspector/atoms/ConfigTab.vue.d.ts +0 -18
  137. package/dist/merchant/src/components/inspector/atoms/ConfigTabItem.vue.d.ts +0 -13
  138. package/dist/merchant/src/components/inspector/atoms/ConfigTabTitle.vue.d.ts +0 -6
  139. package/dist/merchant/src/node-configs/container/props.d.ts +0 -57
  140. package/dist/merchant/src/node-configs/mock-data.d.ts +0 -3
  141. package/dist/merchant/src/stores/business/index.d.ts +0 -49
  142. package/dist/{components → client/components}/src/components/BranchList.vue.d.ts +0 -0
  143. package/dist/{components → client/components}/src/components/CountrySwitcher.vue.d.ts +0 -0
  144. package/dist/{components → client/components}/src/components/ImageCarousel.vue.d.ts +0 -0
  145. package/dist/{components → client/components}/src/components/TextDisplay.vue.d.ts +0 -0
  146. package/dist/{components → client/components}/src/components/atoms/CircularProgress.vue.d.ts +1 -1
  147. /package/dist/{components → client/components}/src/components/atoms/Divider.vue.d.ts +0 -0
  148. /package/dist/{components → client/components}/src/components/atoms/Icon.vue.d.ts +0 -0
  149. /package/dist/{components → client/components}/src/components/atoms/OrderTypeChip.vue.d.ts +0 -0
  150. /package/dist/{components → client/components}/src/views/OrderDetails.vue.d.ts +0 -0
  151. /package/dist/{merchant → client/merchant}/src/App.vue.d.ts +0 -0
  152. /package/dist/{merchant → client/merchant}/src/Entry.vue.d.ts +0 -0
  153. /package/dist/{merchant → client/merchant}/src/api/image/index.d.ts +0 -0
  154. /package/dist/{merchant → client/merchant}/src/components/atoms/BaButtonGroup.vue.d.ts +0 -0
  155. /package/dist/{merchant → client/merchant}/src/components/atoms/BaDivider.vue.d.ts +0 -0
  156. /package/dist/{merchant → client/merchant}/src/components/atoms/index.d.ts +0 -0
  157. /package/dist/{merchant → client/merchant}/src/components/editor/Editor.vue.d.ts +0 -0
  158. /package/dist/{merchant → client/merchant}/src/components/editor/EditorFloatingToobar.vue.d.ts +0 -0
  159. /package/dist/{merchant → client/merchant}/src/components/editor/toolbar/EditorToolbar.vue.d.ts +0 -0
  160. /package/dist/{merchant → client/merchant}/src/components/editor/toolbar/PreviewQrCode.vue.d.ts +0 -0
  161. /package/dist/{merchant → client/merchant}/src/components/editor/toolbar/TemplatePicker.vue.d.ts +0 -0
  162. /package/dist/{merchant → client/merchant}/src/components/editor/toolbar/TemplateShareMenu.vue.d.ts +0 -0
  163. /package/dist/{merchant → client/merchant}/src/components/element-sidebar/ElementSidebar.vue.d.ts +0 -0
  164. /package/dist/{merchant → client/merchant}/src/components/inputs/ButtonGroup.vue.d.ts +0 -0
  165. /package/dist/{merchant → client/merchant}/src/components/inputs/ImageUpload.vue.d.ts +0 -0
  166. /package/dist/{merchant → client/merchant}/src/components/inputs/LinkButton.vue.d.ts +0 -0
  167. /package/dist/{merchant → client/merchant}/src/components/inputs/ListRepeater.vue.d.ts +0 -0
  168. /package/dist/{merchant → client/merchant}/src/components/inputs/Select.vue.d.ts +0 -0
  169. /package/dist/{merchant → client/merchant}/src/components/inputs/StepperField.vue.d.ts +0 -0
  170. /package/dist/{merchant → client/merchant}/src/components/inputs/Switch.vue.d.ts +0 -0
  171. /package/dist/{merchant → client/merchant}/src/components/inputs/TextAlign.vue.d.ts +0 -0
  172. /package/dist/{merchant → client/merchant}/src/components/inputs/TextDecorators.vue.d.ts +0 -0
  173. /package/dist/{merchant → client/merchant}/src/components/inputs/TextField.vue.d.ts +0 -0
  174. /package/dist/{merchant → client/merchant}/src/components/inputs/TextStyleList.vue.d.ts +0 -0
  175. /package/dist/{merchant → client/merchant}/src/components/inputs/index.d.ts +0 -0
  176. /package/dist/{merchant → client/merchant}/src/components/inspector/Inspector.vue.d.ts +0 -0
  177. /package/dist/{merchant → client/merchant}/src/components/navigation-sidebar/NavigationSidebar.vue.d.ts +0 -0
  178. /package/dist/{merchant → client/merchant}/src/components/settings/AssetsSettings.vue.d.ts +0 -0
  179. /package/dist/{merchant → client/merchant}/src/components/settings/ManagementSettings.vue.d.ts +0 -0
  180. /package/dist/{merchant → client/merchant}/src/main.d.ts +0 -0
  181. /package/dist/{merchant → client/merchant}/src/node-configs/branch-list/schema.d.ts +0 -0
  182. /package/dist/{merchant → client/merchant}/src/node-configs/button-list/schema.d.ts +0 -0
  183. /package/dist/{merchant → client/merchant}/src/node-configs/carousel/schema.d.ts +0 -0
  184. /package/dist/{merchant → client/merchant}/src/node-configs/container/schema.d.ts +0 -0
  185. /package/dist/{merchant → client/merchant}/src/node-configs/display-image/schema.d.ts +0 -0
  186. /package/dist/{merchant → client/merchant}/src/node-configs/display-text/schema.d.ts +0 -0
  187. /package/dist/{merchant → client/merchant}/src/node-configs/homepage/props.d.ts +0 -0
  188. /package/dist/{merchant → client/merchant}/src/node-configs/homepage/schema.d.ts +0 -0
  189. /package/dist/{merchant → client/merchant}/src/node-configs/member-card/schema.d.ts +0 -0
  190. /package/dist/{merchant → client/merchant}/src/node-configs/order-history-card/mock-data.d.ts +0 -0
  191. /package/dist/{merchant → client/merchant}/src/node-configs/order-history-card/schema.d.ts +0 -0
  192. /package/dist/{merchant → client/merchant}/src/node-configs/order-method/schema.d.ts +0 -0
  193. /package/dist/{merchant → client/merchant}/src/plugin/formkit.d.ts +0 -0
  194. /package/dist/{merchant → client/merchant}/src/router/index.d.ts +0 -0
  195. /package/dist/{merchant → client/merchant}/src/router/shared.d.ts +0 -0
  196. /package/dist/{merchant → client/merchant}/src/utils/deep-to-raw.d.ts +0 -0
  197. /package/dist/{merchant → client/merchant}/src/utils/provider-keys.d.ts +0 -0
  198. /package/dist/{merchant/src/views/BuilderView.vue.d.ts → client/merchant/src/views/BrandkitView.vue.d.ts} +0 -0
  199. /package/dist/{merchant/src/views/HomeView.vue.d.ts → client/merchant/src/views/ProjectView.vue.d.ts} +0 -0
  200. /package/dist/{merchant → client/merchant}/src/views/SettingsView.vue.d.ts +0 -0
package/README.md CHANGED
@@ -1,39 +1,58 @@
1
- # brand-app
1
+ # FeedMe Brand App - Merchant
2
2
 
3
- This template should help get you started developing with Vue 3 in Vite.
3
+ This project is a Vue 3-based application for merchants to manage their business mini-programs.
4
4
 
5
5
  ## Recommended IDE Setup
6
6
 
7
- [VSCode](https://code.visualstudio.com/) + [Volar](https://marketplace.visualstudio.com/items?itemName=Vue.volar) (and disable Vetur).
8
-
9
- ## Type Support for `.vue` Imports in TS
10
-
11
- TypeScript cannot handle type information for `.vue` imports by default, so we replace the `tsc` CLI with `vue-tsc` for type checking. In editors, we need [Volar](https://marketplace.visualstudio.com/items?itemName=Vue.volar) to make the TypeScript language service aware of `.vue` types.
12
-
13
- ## Customize configuration
14
-
15
- See [Vite Configuration Reference](https://vitejs.dev/config/).
7
+ [VSCode](https://code.visualstudio.com/) + [Vue - Official](https://marketplace.visualstudio.com/items?itemName=Vue.volar) + [Prettier](https://marketplace.visualstudio.com/items?itemName=esbenp.prettier-vscode)
16
8
 
17
9
  ## Project Setup
18
10
 
11
+ Install dependencies:
12
+
19
13
  ```sh
20
14
  pnpm install
21
15
  ```
22
16
 
23
- ### Compile and Hot-Reload for Development
17
+ ### Serve the Application
24
18
 
25
- ```sh
26
- pnpm dev
19
+ To serve the application locally, use one of the following commands:
20
+
21
+ - **Development Mode**:
22
+
23
+ ```sh
24
+ pnpm dev
25
+ ```
26
+
27
+ This will start the app in development mode.
28
+
29
+ - **Production Mode (Local Debug)**:
30
+ ```sh
31
+ pnpm prod
32
+ ```
33
+ This will start the app in a local production-like environment.
34
+
35
+ ### Access the Application
36
+
37
+ After serving the application, navigate to:
38
+
39
+ ```
40
+ http://localhost:4000
27
41
  ```
28
42
 
29
- ### Type-Check, Compile and Minify for Production
43
+ ### Type-Check, Compile, and Minify for Production
30
44
 
31
45
  ```sh
32
46
  pnpm build
33
47
  ```
34
48
 
35
- ### Lint with [ESLint](https://eslint.org/)
49
+ ## Recommended Editor Settings
36
50
 
37
- ```sh
38
- pnpm lint
51
+ To ensure consistent formatting, add the following settings to your editor configuration:
52
+
53
+ ```json
54
+ {
55
+ "editor.defaultFormatter": "esbenp.prettier-vscode",
56
+ "editor.formatOnSave": true
57
+ }
39
58
  ```
@@ -0,0 +1,109 @@
1
+ import { defineComponent as d, computed as h, resolveComponent as u, createElementBlock as m, openBlock as i, Fragment as f, renderList as b, createElementVNode as l, createVNode as r, unref as p, withCtx as _, ref as w, onMounted as x, onBeforeMount as y, watch as B, createBlock as k, createCommentVNode as S } from "vue";
2
+ import { useCoreStore as C } from "@feedmepos/mf-common";
3
+ import { V as F } from "./vue-sonner-CBFYmm8_.js";
4
+ import { useRoute as R, useRouter as V, RouterLink as L, RouterView as P } from "vue-router";
5
+ import { g as A } from "./index-C6_vWPi0.js";
6
+ import { u as N } from "./index-CawZ03Z8.js";
7
+ const $ = { class: "shrink-0 w-64 h-full bg-fm-color-neutral-white border-r border-fm-color-neutral-gray-100 p-[10px] flex flex-col gap-12" }, z = /* @__PURE__ */ d({
8
+ __name: "NavigationSidebar",
9
+ setup(g) {
10
+ const e = R();
11
+ V();
12
+ const c = [
13
+ {
14
+ name: "brandkit",
15
+ icon: "style"
16
+ },
17
+ {
18
+ name: "projects",
19
+ icon: "folder"
20
+ },
21
+ {
22
+ name: "builder",
23
+ icon: "build"
24
+ },
25
+ {
26
+ name: "settings",
27
+ icon: "settings"
28
+ }
29
+ ], t = h(
30
+ () => (s) => e.matched.map((o) => o.name).includes(s)
31
+ );
32
+ return (s, o) => {
33
+ const a = u("FmButton");
34
+ return i(), m("div", $, [
35
+ (i(), m(f, null, b(c, (n) => l("div", null, [
36
+ r(p(L), {
37
+ to: { name: n.name }
38
+ }, {
39
+ default: _(() => [
40
+ r(a, {
41
+ class: "w-[44px] !h-[44px]",
42
+ size: "lg",
43
+ icon: n.icon,
44
+ "icon-color": t.value(n.name) ? "primary" : "neutral-gray-400",
45
+ "bg-color": t.value(n.name) ? "system-warning-100" : "neutral-white"
46
+ }, null, 8, ["icon", "icon-color", "bg-color"])
47
+ ]),
48
+ _: 2
49
+ }, 1032, ["to"])
50
+ ])), 64))
51
+ ]);
52
+ };
53
+ }
54
+ }), M = { class: "relative h-[calc(100vh-56px)] w-screen" }, E = { class: "flex w-full h-full" }, q = /* @__PURE__ */ d({
55
+ __name: "App",
56
+ setup(g) {
57
+ const e = C(), c = N(), t = w(!0);
58
+ async function s() {
59
+ var o;
60
+ t.value = !0, (o = e.currentBusiness.value) != null && o._id && (await A(), await c.getPremiumStatus(e.currentBusiness.value._id), t.value = !1);
61
+ }
62
+ return x(async () => {
63
+ console.log(
64
+ `Running v0.5.26.prod.1 on ${e.namespace.value}`
65
+ ), e.hideSidebar.value = !0;
66
+ }), y(() => {
67
+ e.hideSidebar.value = !1;
68
+ }), B(
69
+ () => e.currentBusiness.value,
70
+ () => s(),
71
+ { immediate: !0 }
72
+ ), (o, a) => {
73
+ const n = u("FmCircularProgress"), v = u("FmOverlay");
74
+ return i(), m(f, null, [
75
+ a[0] || (a[0] = l("link", {
76
+ href: "https://fonts.googleapis.com/css2?family=Material+Symbols+Rounded:opsz,wght,FILL,GRAD@24,400,0..1,0",
77
+ rel: "stylesheet"
78
+ }, null, -1)),
79
+ l("div", M, [
80
+ r(p(F), {
81
+ position: "top-right",
82
+ "rich-colors": "",
83
+ "close-button": "",
84
+ duration: 3e3
85
+ }),
86
+ t.value ? (i(), k(v, {
87
+ key: 0,
88
+ "dismiss-away": !1,
89
+ "prevent-backdrop-event": !1,
90
+ transparent: !1,
91
+ "center-content": ""
92
+ }, {
93
+ default: _(() => [
94
+ r(n, { size: "xxl" })
95
+ ]),
96
+ _: 1
97
+ })) : S("", !0),
98
+ l("div", E, [
99
+ r(z),
100
+ r(p(P), { class: "flex-1" })
101
+ ])
102
+ ])
103
+ ], 64);
104
+ };
105
+ }
106
+ });
107
+ export {
108
+ q as default
109
+ };