@feedmepos/mf-brand-app-builder 0.5.22-dev.0 → 0.5.22-dev.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 (163) hide show
  1. package/dist/{App-DSjCJtmn.js → App-D5eO5srB.js} +3 -3
  2. package/dist/{AssetsSettings-e8FjbJ_2.js → AssetsSettings-D_E8q7eK.js} +3 -3
  3. package/dist/{BrandkitView-YRlmRZnS.js → BrandkitView-BlJhBYi6.js} +2599 -1984
  4. package/dist/{BuilderView-BLM7vEZA.js → BuilderView-Dfl1VhES.js} +182 -179
  5. package/dist/{ImageUpload-CDR7v2YB.js → ImageUpload-FyvXrDKK.js} +2 -2
  6. package/dist/{LinkButton-DvF93Arq.js → LinkButton-C9OU3Rcs.js} +1 -1
  7. package/dist/{ListRepeater-Dri1M_Xh.js → ListRepeater-BnVoFhhm.js} +1 -1
  8. package/dist/{ManagementSettings-CROYjeuM.js → ManagementSettings-CtvF5d9C.js} +2 -2
  9. package/dist/{ProjectView-Tb44Sm_z.js → ProjectView-Bq0vBJ3V.js} +1 -1
  10. package/dist/{app-OPl2Khtq.js → app-CJ2VgCHp.js} +9 -9
  11. package/dist/app.js +1 -1
  12. package/dist/brand-core/src/entity.d.ts +81 -0
  13. package/dist/client/merchant/src/components/order-template/LayoutTemplateSection.vue.d.ts +14 -0
  14. package/dist/client/merchant/src/components/order-template/OrderTemplateEditorButton.vue.d.ts +10 -0
  15. package/dist/client/merchant/src/components/order-template/OrderTemplateEditorForm.vue.d.ts +14 -0
  16. package/dist/{merchant → client/merchant}/src/stores/business/index.d.ts +96 -12
  17. package/dist/{image-HDqbMgOR.js → image-BtHlnsmY.js} +1 -1
  18. package/dist/{index-BodukiEf.js → index-5BRydZO9.js} +1 -1
  19. package/dist/{index-DbvZZQr6.js → index-BEAkOquM.js} +1 -1
  20. package/dist/{index-CvbnxMT4.js → index-BXwbQwb-.js} +109 -109
  21. package/dist/{index-V999lx_3.js → index-ChMgx2Hq.js} +1 -1
  22. package/dist/{main--RZvbXYz.js → main-8cObQmGm.js} +354 -354
  23. package/dist/package.json +4 -2
  24. package/dist/style.css +1 -1
  25. package/package.json +4 -2
  26. /package/dist/{components → client/components}/src/components/BranchList.vue.d.ts +0 -0
  27. /package/dist/{components → client/components}/src/components/ButtonList.vue.d.ts +0 -0
  28. /package/dist/{components → client/components}/src/components/CountrySwitcher.vue.d.ts +0 -0
  29. /package/dist/{components → client/components}/src/components/Homepage.vue.d.ts +0 -0
  30. /package/dist/{components → client/components}/src/components/ImageCarousel.vue.d.ts +0 -0
  31. /package/dist/{components → client/components}/src/components/ImageDisplay.vue.d.ts +0 -0
  32. /package/dist/{components → client/components}/src/components/Member/MemberAchievements.vue.d.ts +0 -0
  33. /package/dist/{components → client/components}/src/components/Member/MemberCards.vue.d.ts +0 -0
  34. /package/dist/{components → client/components}/src/components/Member/MemberSummary.vue.d.ts +0 -0
  35. /package/dist/{components → client/components}/src/components/Member/TransactionList.vue.d.ts +0 -0
  36. /package/dist/{components → client/components}/src/components/MemberCard.vue.d.ts +0 -0
  37. /package/dist/{components → client/components}/src/components/NavigationBar.vue.d.ts +0 -0
  38. /package/dist/{components → client/components}/src/components/OrderHistoryCard.vue.d.ts +0 -0
  39. /package/dist/{components → client/components}/src/components/OrderMethod.vue.d.ts +0 -0
  40. /package/dist/{components → client/components}/src/components/TextDisplay.vue.d.ts +0 -0
  41. /package/dist/{components → client/components}/src/components/atoms/Button.vue.d.ts +0 -0
  42. /package/dist/{components → client/components}/src/components/atoms/CircularProgress.vue.d.ts +0 -0
  43. /package/dist/{components → client/components}/src/components/atoms/Container.vue.d.ts +0 -0
  44. /package/dist/{components → client/components}/src/components/atoms/Divider.vue.d.ts +0 -0
  45. /package/dist/{components → client/components}/src/components/atoms/Icon.vue.d.ts +0 -0
  46. /package/dist/{components → client/components}/src/components/atoms/LinkSlot.vue.d.ts +0 -0
  47. /package/dist/{components → client/components}/src/components/atoms/OrderTypeChip.vue.d.ts +0 -0
  48. /package/dist/{components → client/components}/src/i18n.d.ts +0 -0
  49. /package/dist/{components → client/components}/src/main.d.ts +0 -0
  50. /package/dist/{components → client/components}/src/utils/date.d.ts +0 -0
  51. /package/dist/{components → client/components}/src/utils/image.d.ts +0 -0
  52. /package/dist/{components → client/components}/src/views/OrderDetails.vue.d.ts +0 -0
  53. /package/dist/{components → client/components}/src/views/_Credit.vue.d.ts +0 -0
  54. /package/dist/{components → client/components}/src/views/_MemberProfile.vue.d.ts +0 -0
  55. /package/dist/{components → client/components}/src/views/_Point.vue.d.ts +0 -0
  56. /package/dist/{components → client/components}/src/views/_Referral.vue.d.ts +0 -0
  57. /package/dist/{components → client/components}/src/views/_ReferralTutorial.vue.d.ts +0 -0
  58. /package/dist/{merchant → client/merchant}/src/App.vue.d.ts +0 -0
  59. /package/dist/{merchant → client/merchant}/src/Entry.vue.d.ts +0 -0
  60. /package/dist/{merchant → client/merchant}/src/api/business/index.d.ts +0 -0
  61. /package/dist/{merchant → client/merchant}/src/api/image/index.d.ts +0 -0
  62. /package/dist/{merchant → client/merchant}/src/api/index.d.ts +0 -0
  63. /package/dist/{merchant → client/merchant}/src/api/template/index.d.ts +0 -0
  64. /package/dist/{merchant → client/merchant}/src/app.d.ts +0 -0
  65. /package/dist/{merchant → client/merchant}/src/components/atoms/BaButtonGroup.vue.d.ts +0 -0
  66. /package/dist/{merchant → client/merchant}/src/components/atoms/BaDivider.vue.d.ts +0 -0
  67. /package/dist/{merchant → client/merchant}/src/components/atoms/index.d.ts +0 -0
  68. /package/dist/{merchant → client/merchant}/src/components/brandkit/ColorSelection.vue.d.ts +0 -0
  69. /package/dist/{merchant → client/merchant}/src/components/editor/Editor.vue.d.ts +0 -0
  70. /package/dist/{merchant → client/merchant}/src/components/editor/EditorFloatingToobar.vue.d.ts +0 -0
  71. /package/dist/{merchant → client/merchant}/src/components/editor/toolbar/EditorToolbar.vue.d.ts +0 -0
  72. /package/dist/{merchant → client/merchant}/src/components/editor/toolbar/PreviewQrCode.vue.d.ts +0 -0
  73. /package/dist/{merchant → client/merchant}/src/components/editor/toolbar/TemplatePicker.vue.d.ts +0 -0
  74. /package/dist/{merchant → client/merchant}/src/components/editor/toolbar/TemplateShareMenu.vue.d.ts +0 -0
  75. /package/dist/{merchant → client/merchant}/src/components/element-sidebar/ElementSidebar.vue.d.ts +0 -0
  76. /package/dist/{merchant → client/merchant}/src/components/element-sidebar/all-elements.d.ts +0 -0
  77. /package/dist/{merchant → client/merchant}/src/components/inputs/ButtonGroup.vue.d.ts +0 -0
  78. /package/dist/{merchant → client/merchant}/src/components/inputs/ColorPicker.vue.d.ts +0 -0
  79. /package/dist/{merchant → client/merchant}/src/components/inputs/ImageUpload.vue.d.ts +0 -0
  80. /package/dist/{merchant → client/merchant}/src/components/inputs/LinkBrandkitColor.vue.d.ts +0 -0
  81. /package/dist/{merchant → client/merchant}/src/components/inputs/LinkButton.vue.d.ts +0 -0
  82. /package/dist/{merchant → client/merchant}/src/components/inputs/ListRepeater.vue.d.ts +0 -0
  83. /package/dist/{merchant → client/merchant}/src/components/inputs/Select.vue.d.ts +0 -0
  84. /package/dist/{merchant → client/merchant}/src/components/inputs/StepperField.vue.d.ts +0 -0
  85. /package/dist/{merchant → client/merchant}/src/components/inputs/Switch.vue.d.ts +0 -0
  86. /package/dist/{merchant → client/merchant}/src/components/inputs/TextAlign.vue.d.ts +0 -0
  87. /package/dist/{merchant → client/merchant}/src/components/inputs/TextDecorators.vue.d.ts +0 -0
  88. /package/dist/{merchant → client/merchant}/src/components/inputs/TextField.vue.d.ts +0 -0
  89. /package/dist/{merchant → client/merchant}/src/components/inputs/TextStyleList.vue.d.ts +0 -0
  90. /package/dist/{merchant → client/merchant}/src/components/inputs/index.d.ts +0 -0
  91. /package/dist/{merchant → client/merchant}/src/components/inspector/Inspector.vue.d.ts +0 -0
  92. /package/dist/{merchant → client/merchant}/src/components/inspector/atoms/ConfigSection.vue.d.ts +0 -0
  93. /package/dist/{merchant → client/merchant}/src/components/inspector/atoms/ConfigTab.vue.d.ts +0 -0
  94. /package/dist/{merchant → client/merchant}/src/components/inspector/atoms/ConfigTabItem.vue.d.ts +0 -0
  95. /package/dist/{merchant → client/merchant}/src/components/inspector/atoms/ConfigTabTitle.vue.d.ts +0 -0
  96. /package/dist/{merchant → client/merchant}/src/components/modals/TemplateSelectionModal.vue.d.ts +0 -0
  97. /package/dist/{merchant → client/merchant}/src/components/navigation-sidebar/NavigationSidebar.vue.d.ts +0 -0
  98. /package/dist/{merchant → client/merchant}/src/components/settings/AssetsSettings.vue.d.ts +0 -0
  99. /package/dist/{merchant → client/merchant}/src/components/settings/ManagementSettings.vue.d.ts +0 -0
  100. /package/dist/{merchant → client/merchant}/src/components/template/TemplatePreview.vue.d.ts +0 -0
  101. /package/dist/{merchant → client/merchant}/src/composables/useNode/index.d.ts +0 -0
  102. /package/dist/{merchant → client/merchant}/src/composables/useToast/index.d.ts +0 -0
  103. /package/dist/{merchant → client/merchant}/src/config/defaultTemplateConfig.d.ts +0 -0
  104. /package/dist/{merchant → client/merchant}/src/helpers/businessUrl.d.ts +0 -0
  105. /package/dist/{merchant → client/merchant}/src/main.d.ts +0 -0
  106. /package/dist/{merchant → client/merchant}/src/node-configs/branch-list/props.d.ts +0 -0
  107. /package/dist/{merchant → client/merchant}/src/node-configs/branch-list/schema.d.ts +0 -0
  108. /package/dist/{merchant → client/merchant}/src/node-configs/button-list/props.d.ts +0 -0
  109. /package/dist/{merchant → client/merchant}/src/node-configs/button-list/schema.d.ts +0 -0
  110. /package/dist/{merchant → client/merchant}/src/node-configs/carousel/props.d.ts +0 -0
  111. /package/dist/{merchant → client/merchant}/src/node-configs/carousel/schema.d.ts +0 -0
  112. /package/dist/{merchant → client/merchant}/src/node-configs/container/props.d.ts +0 -0
  113. /package/dist/{merchant → client/merchant}/src/node-configs/container/schema.d.ts +0 -0
  114. /package/dist/{merchant → client/merchant}/src/node-configs/display-image/props.d.ts +0 -0
  115. /package/dist/{merchant → client/merchant}/src/node-configs/display-image/schema.d.ts +0 -0
  116. /package/dist/{merchant → client/merchant}/src/node-configs/display-text/props.d.ts +0 -0
  117. /package/dist/{merchant → client/merchant}/src/node-configs/display-text/schema.d.ts +0 -0
  118. /package/dist/{merchant → client/merchant}/src/node-configs/homepage/props.d.ts +0 -0
  119. /package/dist/{merchant → client/merchant}/src/node-configs/homepage/schema.d.ts +0 -0
  120. /package/dist/{merchant → client/merchant}/src/node-configs/member-achievements/mock-data.d.ts +0 -0
  121. /package/dist/{merchant → client/merchant}/src/node-configs/member-achievements/props.d.ts +0 -0
  122. /package/dist/{merchant → client/merchant}/src/node-configs/member-achievements/schema.d.ts +0 -0
  123. /package/dist/{merchant → client/merchant}/src/node-configs/member-card/mock-data.d.ts +0 -0
  124. /package/dist/{merchant → client/merchant}/src/node-configs/member-card/props.d.ts +0 -0
  125. /package/dist/{merchant → client/merchant}/src/node-configs/member-card/schema.d.ts +0 -0
  126. /package/dist/{merchant → client/merchant}/src/node-configs/member-cards/mock-data.d.ts +0 -0
  127. /package/dist/{merchant → client/merchant}/src/node-configs/member-cards/props.d.ts +0 -0
  128. /package/dist/{merchant → client/merchant}/src/node-configs/member-cards/schema.d.ts +0 -0
  129. /package/dist/{merchant → client/merchant}/src/node-configs/member-history/mock-data.d.ts +0 -0
  130. /package/dist/{merchant → client/merchant}/src/node-configs/member-history/props.d.ts +0 -0
  131. /package/dist/{merchant → client/merchant}/src/node-configs/member-history/schema.d.ts +0 -0
  132. /package/dist/{merchant → client/merchant}/src/node-configs/member-profile/props.d.ts +0 -0
  133. /package/dist/{merchant → client/merchant}/src/node-configs/member-profile/schema.d.ts +0 -0
  134. /package/dist/{merchant → client/merchant}/src/node-configs/member-referral/props.d.ts +0 -0
  135. /package/dist/{merchant → client/merchant}/src/node-configs/member-referral/schema.d.ts +0 -0
  136. /package/dist/{merchant → client/merchant}/src/node-configs/member-referral-tutorial/props.d.ts +0 -0
  137. /package/dist/{merchant → client/merchant}/src/node-configs/member-referral-tutorial/schema.d.ts +0 -0
  138. /package/dist/{merchant → client/merchant}/src/node-configs/member-summary/mock-data.d.ts +0 -0
  139. /package/dist/{merchant → client/merchant}/src/node-configs/member-summary/props.d.ts +0 -0
  140. /package/dist/{merchant → client/merchant}/src/node-configs/member-summary/schema.d.ts +0 -0
  141. /package/dist/{merchant → client/merchant}/src/node-configs/mock-data.d.ts +0 -0
  142. /package/dist/{merchant → client/merchant}/src/node-configs/order-history-card/mock-data.d.ts +0 -0
  143. /package/dist/{merchant → client/merchant}/src/node-configs/order-history-card/props.d.ts +0 -0
  144. /package/dist/{merchant → client/merchant}/src/node-configs/order-history-card/schema.d.ts +0 -0
  145. /package/dist/{merchant → client/merchant}/src/node-configs/order-method/props.d.ts +0 -0
  146. /package/dist/{merchant → client/merchant}/src/node-configs/order-method/schema.d.ts +0 -0
  147. /package/dist/{merchant → client/merchant}/src/node-configs/props.d.ts +0 -0
  148. /package/dist/{merchant → client/merchant}/src/node-configs/schema.d.ts +0 -0
  149. /package/dist/{merchant → client/merchant}/src/plugin/formkit-i18n.d.ts +0 -0
  150. /package/dist/{merchant → client/merchant}/src/plugin/formkit.d.ts +0 -0
  151. /package/dist/{merchant → client/merchant}/src/plugin/i18n.d.ts +0 -0
  152. /package/dist/{merchant → client/merchant}/src/router/index.d.ts +0 -0
  153. /package/dist/{merchant → client/merchant}/src/router/shared.d.ts +0 -0
  154. /package/dist/{merchant → client/merchant}/src/stores/editor/index.d.ts +0 -0
  155. /package/dist/{merchant → client/merchant}/src/stores/template/index.d.ts +0 -0
  156. /package/dist/{merchant → client/merchant}/src/utils/deep-to-raw.d.ts +0 -0
  157. /package/dist/{merchant → client/merchant}/src/utils/image.d.ts +0 -0
  158. /package/dist/{merchant → client/merchant}/src/utils/provider-keys.d.ts +0 -0
  159. /package/dist/{merchant → client/merchant}/src/views/BrandkitView.vue.d.ts +0 -0
  160. /package/dist/{merchant → client/merchant}/src/views/BuilderView.vue.d.ts +0 -0
  161. /package/dist/{merchant → client/merchant}/src/views/ProjectView.vue.d.ts +0 -0
  162. /package/dist/{merchant → client/merchant}/src/views/SettingsView.vue.d.ts +0 -0
  163. /package/dist/{merchant → client/merchant}/src/views/views.d.ts +0 -0
@@ -1,7 +1,7 @@
1
1
  import { defineComponent as y, ref as b, resolveComponent as w, openBlock as r, createElementBlock as s, createVNode as c, Fragment as C, createElementVNode as i, unref as u, createCommentVNode as f } from "vue";
2
- import { r as g, I as h } from "./image-HDqbMgOR.js";
2
+ import { r as g, I as h } from "./image-BtHlnsmY.js";
3
3
  import { useCoreStore as I } from "@feedmepos/mf-common";
4
- import "./main--RZvbXYz.js";
4
+ import "./main-8cObQmGm.js";
5
5
  import { _ as $ } from "./Icon.vue_vue_type_style_index_0_lang-CVCHCcWR.js";
6
6
  import { C as k } from "./CircularProgress-h90pbjU3.js";
7
7
  import { v as F } from "./v4-ANoOI1Qw.js";
@@ -1,7 +1,7 @@
1
1
  import { defineComponent as I, ref as f, computed as k, onBeforeMount as L, resolveComponent as c, openBlock as u, createBlock as v, withCtx as m, createElementBlock as x, createElementVNode as a, toDisplayString as P, createVNode as r, withModifiers as R, Fragment as M, renderList as F } from "vue";
2
2
  import { B as y } from "./BaDivider-DWZv3fqi.js";
3
3
  import { _ as W } from "./Icon.vue_vue_type_style_index_0_lang-CVCHCcWR.js";
4
- import { u as $ } from "./index-V999lx_3.js";
4
+ import { u as $ } from "./index-ChMgx2Hq.js";
5
5
  import "@feedmepos/mf-common";
6
6
  const j = {
7
7
  key: 1,
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as b, resolveComponent as y, openBlock as c, createBlock as s, unref as u, withCtx as i, createElementBlock as m, Fragment as x, renderList as g, createElementVNode as p, createVNode as n, resolveDynamicComponent as F } from "vue";
2
- import { F as f } from "./app-OPl2Khtq.js";
2
+ import { F as f } from "./app-CJ2VgCHp.js";
3
3
  const h = { class: "flex justify-end gap-4 items-center w-full py-16 px-12 border-b" }, z = { class: "flex flex-col gap-4 w-full p-12" }, I = /* @__PURE__ */ b({
4
4
  __name: "ListRepeater",
5
5
  props: {
@@ -1,8 +1,8 @@
1
1
  import { defineComponent as C, ref as y, computed as S, watch as $, resolveComponent as d, openBlock as g, createElementBlock as k, createElementVNode as o, toDisplayString as _, unref as i, createVNode as u, createBlock as F, withCtx as U } from "vue";
2
2
  import { useCoreStore as P, useI18n as V } from "@feedmepos/mf-common";
3
- import { B as h } from "./index-DbvZZQr6.js";
3
+ import { B as h } from "./index-BEAkOquM.js";
4
4
  import { K as q } from "./vue-sonner-PX6Req0V.js";
5
- import { r as I, I as T } from "./image-HDqbMgOR.js";
5
+ import { r as I, I as T } from "./image-BtHlnsmY.js";
6
6
  import { useSnackbar as A } from "@feedmepos/ui-library";
7
7
  const E = new RegExp(/^[a-z0-9][a-z0-9\-]{4,}[a-z0-9]$/), N = [
8
8
  "brand",
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as De, openBlock as R, createElementBlock as k, normalizeClass as he, createElementVNode as M, toDisplayString as N, ref as oe, computed as re, watch as Re, resolveComponent as V, unref as T, Fragment as Qe, renderList as ce, createVNode as Z, createCommentVNode as P, createBlock as q, withCtx as ie, h as je } from "vue";
2
- import { u as ue } from "./index-V999lx_3.js";
2
+ import { u as ue } from "./index-ChMgx2Hq.js";
3
3
  import { useCoreStore as Te, useI18n as Ae } from "@feedmepos/mf-common";
4
4
  import { p as Oe } from "./views-BDWw3w14.js";
5
5
  import { useRouter as Me } from "vue-router";
@@ -4269,12 +4269,12 @@ const wi = {
4269
4269
  {
4270
4270
  path: "/",
4271
4271
  name: "brandkit",
4272
- component: V(() => import("./BrandkitView-YRlmRZnS.js"))
4272
+ component: V(() => import("./BrandkitView-BlJhBYi6.js"))
4273
4273
  },
4274
4274
  {
4275
4275
  path: "/projects",
4276
4276
  name: "projects",
4277
- component: V(() => import("./ProjectView-Tb44Sm_z.js"))
4277
+ component: V(() => import("./ProjectView-Bq0vBJ3V.js"))
4278
4278
  },
4279
4279
  {
4280
4280
  path: "/builder",
@@ -4284,7 +4284,7 @@ const wi = {
4284
4284
  path: ":templateId(.*)*",
4285
4285
  name: "builder",
4286
4286
  component: V(
4287
- () => import("./BuilderView-BLM7vEZA.js")
4287
+ () => import("./BuilderView-Dfl1VhES.js")
4288
4288
  )
4289
4289
  }
4290
4290
  ]
@@ -4299,14 +4299,14 @@ const wi = {
4299
4299
  path: "assets",
4300
4300
  name: "settings-assets",
4301
4301
  component: V(
4302
- () => import("./AssetsSettings-e8FjbJ_2.js")
4302
+ () => import("./AssetsSettings-D_E8q7eK.js")
4303
4303
  )
4304
4304
  },
4305
4305
  {
4306
4306
  path: "management",
4307
4307
  name: "settings-management",
4308
4308
  component: V(
4309
- () => import("./ManagementSettings-CROYjeuM.js")
4309
+ () => import("./ManagementSettings-CtvF5d9C.js")
4310
4310
  )
4311
4311
  }
4312
4312
  ]
@@ -8985,7 +8985,7 @@ const Kl = (e) => {
8985
8985
  ),
8986
8986
  BaListRepeater: z(
8987
8987
  V(
8988
- () => import("./ListRepeater-Dri1M_Xh.js")
8988
+ () => import("./ListRepeater-BnVoFhhm.js")
8989
8989
  )
8990
8990
  ),
8991
8991
  BaTextStyleList: z(
@@ -9005,13 +9005,13 @@ const Kl = (e) => {
9005
9005
  ),
9006
9006
  BaImageUpload: z(
9007
9007
  V(
9008
- () => import("./ImageUpload-CDR7v2YB.js")
9008
+ () => import("./ImageUpload-FyvXrDKK.js")
9009
9009
  ),
9010
9010
  { props: ["ignoreUpdate"] }
9011
9011
  ),
9012
9012
  BaLinkButton: z(
9013
9013
  V(
9014
- () => import("./LinkButton-DvF93Arq.js")
9014
+ () => import("./LinkButton-C9OU3Rcs.js")
9015
9015
  )
9016
9016
  ),
9017
9017
  BaSwitch: z(
@@ -9031,7 +9031,7 @@ const Kl = (e) => {
9031
9031
  "zh-CN": { ...ki, ...Ui },
9032
9032
  "zh-TW": { ...Pi, ...zi },
9033
9033
  "th-TH": { ...Mi, ...Ji }
9034
- }, Jl = V(() => import("./App-DSjCJtmn.js"));
9034
+ }, Jl = V(() => import("./App-D5eO5srB.js"));
9035
9035
  export {
9036
9036
  mi as F,
9037
9037
  pi as a,
package/dist/app.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import "vue";
2
- import { c as i, d as o, i as e, r as m } from "./app-OPl2Khtq.js";
2
+ import { c as i, d as o, i as e, r as m } from "./app-CJ2VgCHp.js";
3
3
  export {
4
4
  i as FmApp,
5
5
  o as FormKitPlugin,
@@ -0,0 +1,81 @@
1
+ import { type TemplateNode } from "@feedmepos/ordering-ui";
2
+ export type BrandFont = {
3
+ name: string;
4
+ source: 'google' | 'custom';
5
+ weights: string[];
6
+ files: {
7
+ [weight: string]: string;
8
+ };
9
+ };
10
+ export type BrandKit = {
11
+ colors: {
12
+ primary: string;
13
+ secondary: string;
14
+ accent: string;
15
+ background: {
16
+ base: string;
17
+ elevated: string;
18
+ };
19
+ neutral: {
20
+ light: string;
21
+ mid: string;
22
+ dark: string;
23
+ };
24
+ status: {
25
+ success: string;
26
+ warning: string;
27
+ error: string;
28
+ info?: string;
29
+ };
30
+ text: {
31
+ onPrimary: string;
32
+ primary: string;
33
+ secondary: string;
34
+ tertiary: string;
35
+ };
36
+ };
37
+ fonts: {
38
+ brand: string;
39
+ heading?: string;
40
+ body?: string;
41
+ };
42
+ fontFamilies?: {
43
+ stylesheet: string;
44
+ }[];
45
+ ordering?: {
46
+ app: {
47
+ category: 'HORIZONTAL' | 'VERTICAL';
48
+ items: 'LIST' | 'GRID';
49
+ singleCategory: boolean;
50
+ };
51
+ kiosk: {
52
+ category: 'HORIZONTAL' | 'VERTICAL';
53
+ };
54
+ };
55
+ layout?: {
56
+ app?: {
57
+ template?: {
58
+ mainView?: Record<string, unknown>;
59
+ cartView?: Record<string, unknown>;
60
+ };
61
+ };
62
+ kiosk?: {
63
+ template?: {
64
+ mainView?: Record<string, unknown>;
65
+ cartView?: Record<string, unknown>;
66
+ };
67
+ };
68
+ };
69
+ };
70
+ export { type TemplateNode };
71
+ export type FdoMetadata = {
72
+ type: 'BUSINESS' | 'RESTAURANT';
73
+ country: string;
74
+ pwaConfig: {
75
+ short_name: string;
76
+ name: string;
77
+ background_color: string;
78
+ theme_color: string;
79
+ };
80
+ brandkit: BrandKit | null;
81
+ };
@@ -0,0 +1,14 @@
1
+ type __VLS_Props = {
2
+ title: string;
3
+ description: string;
4
+ warning?: string;
5
+ };
6
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, HTMLDivElement>, {
7
+ default?(_: {}): any;
8
+ }>;
9
+ export default _default;
10
+ type __VLS_WithTemplateSlots<T, S> = T & {
11
+ new (): {
12
+ $slots: S;
13
+ };
14
+ };
@@ -0,0 +1,10 @@
1
+ type __VLS_Props = {
2
+ switchLabel?: string;
3
+ template: any;
4
+ };
5
+ declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
6
+ update: (template: any) => any;
7
+ }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
8
+ onUpdate?: ((template: any) => any) | undefined;
9
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, HTMLDivElement>;
10
+ export default _default;
@@ -0,0 +1,14 @@
1
+ interface OrderTemplate {
2
+ [key: string]: any;
3
+ }
4
+ interface Props {
5
+ template: OrderTemplate | null;
6
+ }
7
+ declare const _default: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
8
+ error: (error: string) => any;
9
+ update: (template: OrderTemplate) => any;
10
+ }, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
11
+ onError?: ((error: string) => any) | undefined;
12
+ onUpdate?: ((template: OrderTemplate) => any) | undefined;
13
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, HTMLDivElement>;
14
+ export default _default;
@@ -37,9 +37,9 @@ export declare const useBusinessStore: import("pinia").StoreDefinition<"business
37
37
  heading?: string | undefined;
38
38
  body?: string | undefined;
39
39
  };
40
- fontFamilies: {
40
+ fontFamilies?: {
41
41
  stylesheet: string;
42
- }[];
42
+ }[] | undefined;
43
43
  ordering?: {
44
44
  app: {
45
45
  category: "HORIZONTAL" | "VERTICAL";
@@ -50,6 +50,20 @@ export declare const useBusinessStore: import("pinia").StoreDefinition<"business
50
50
  category: "HORIZONTAL" | "VERTICAL";
51
51
  };
52
52
  } | undefined;
53
+ layout?: {
54
+ app?: {
55
+ template?: {
56
+ mainView?: Record<string, unknown> | undefined;
57
+ cartView?: Record<string, unknown> | undefined;
58
+ } | undefined;
59
+ } | undefined;
60
+ kiosk?: {
61
+ template?: {
62
+ mainView?: Record<string, unknown> | undefined;
63
+ cartView?: Record<string, unknown> | undefined;
64
+ } | undefined;
65
+ } | undefined;
66
+ } | undefined;
53
67
  } | null;
54
68
  }, IState | {
55
69
  multiCountrySlug: {
@@ -88,9 +102,9 @@ export declare const useBusinessStore: import("pinia").StoreDefinition<"business
88
102
  heading?: string | undefined;
89
103
  body?: string | undefined;
90
104
  };
91
- fontFamilies: {
105
+ fontFamilies?: {
92
106
  stylesheet: string;
93
- }[];
107
+ }[] | undefined;
94
108
  ordering?: {
95
109
  app: {
96
110
  category: "HORIZONTAL" | "VERTICAL";
@@ -101,6 +115,20 @@ export declare const useBusinessStore: import("pinia").StoreDefinition<"business
101
115
  category: "HORIZONTAL" | "VERTICAL";
102
116
  };
103
117
  } | undefined;
118
+ layout?: {
119
+ app?: {
120
+ template?: {
121
+ mainView?: Record<string, unknown> | undefined;
122
+ cartView?: Record<string, unknown> | undefined;
123
+ } | undefined;
124
+ } | undefined;
125
+ kiosk?: {
126
+ template?: {
127
+ mainView?: Record<string, unknown> | undefined;
128
+ cartView?: Record<string, unknown> | undefined;
129
+ } | undefined;
130
+ } | undefined;
131
+ } | undefined;
104
132
  } | null;
105
133
  }>;
106
134
  getGlobalSlug: (slug: string) => Promise<void>;
@@ -144,9 +172,9 @@ export declare const useBusinessStore: import("pinia").StoreDefinition<"business
144
172
  heading?: string | undefined;
145
173
  body?: string | undefined;
146
174
  };
147
- fontFamilies: {
175
+ fontFamilies?: {
148
176
  stylesheet: string;
149
- }[];
177
+ }[] | undefined;
150
178
  ordering?: {
151
179
  app: {
152
180
  category: "HORIZONTAL" | "VERTICAL";
@@ -157,6 +185,20 @@ export declare const useBusinessStore: import("pinia").StoreDefinition<"business
157
185
  category: "HORIZONTAL" | "VERTICAL";
158
186
  };
159
187
  } | undefined;
188
+ layout?: {
189
+ app?: {
190
+ template?: {
191
+ mainView?: Record<string, unknown> | undefined;
192
+ cartView?: Record<string, unknown> | undefined;
193
+ } | undefined;
194
+ } | undefined;
195
+ kiosk?: {
196
+ template?: {
197
+ mainView?: Record<string, unknown> | undefined;
198
+ cartView?: Record<string, unknown> | undefined;
199
+ } | undefined;
200
+ } | undefined;
201
+ } | undefined;
160
202
  } | null;
161
203
  }, IState | {
162
204
  multiCountrySlug: {
@@ -195,9 +237,9 @@ export declare const useBusinessStore: import("pinia").StoreDefinition<"business
195
237
  heading?: string | undefined;
196
238
  body?: string | undefined;
197
239
  };
198
- fontFamilies: {
240
+ fontFamilies?: {
199
241
  stylesheet: string;
200
- }[];
242
+ }[] | undefined;
201
243
  ordering?: {
202
244
  app: {
203
245
  category: "HORIZONTAL" | "VERTICAL";
@@ -208,6 +250,20 @@ export declare const useBusinessStore: import("pinia").StoreDefinition<"business
208
250
  category: "HORIZONTAL" | "VERTICAL";
209
251
  };
210
252
  } | undefined;
253
+ layout?: {
254
+ app?: {
255
+ template?: {
256
+ mainView?: Record<string, unknown> | undefined;
257
+ cartView?: Record<string, unknown> | undefined;
258
+ } | undefined;
259
+ } | undefined;
260
+ kiosk?: {
261
+ template?: {
262
+ mainView?: Record<string, unknown> | undefined;
263
+ cartView?: Record<string, unknown> | undefined;
264
+ } | undefined;
265
+ } | undefined;
266
+ } | undefined;
211
267
  } | null;
212
268
  }>;
213
269
  getGlobalSlug: (slug: string) => Promise<void>;
@@ -251,9 +307,9 @@ export declare const useBusinessStore: import("pinia").StoreDefinition<"business
251
307
  heading?: string | undefined;
252
308
  body?: string | undefined;
253
309
  };
254
- fontFamilies: {
310
+ fontFamilies?: {
255
311
  stylesheet: string;
256
- }[];
312
+ }[] | undefined;
257
313
  ordering?: {
258
314
  app: {
259
315
  category: "HORIZONTAL" | "VERTICAL";
@@ -264,6 +320,20 @@ export declare const useBusinessStore: import("pinia").StoreDefinition<"business
264
320
  category: "HORIZONTAL" | "VERTICAL";
265
321
  };
266
322
  } | undefined;
323
+ layout?: {
324
+ app?: {
325
+ template?: {
326
+ mainView?: Record<string, unknown> | undefined;
327
+ cartView?: Record<string, unknown> | undefined;
328
+ } | undefined;
329
+ } | undefined;
330
+ kiosk?: {
331
+ template?: {
332
+ mainView?: Record<string, unknown> | undefined;
333
+ cartView?: Record<string, unknown> | undefined;
334
+ } | undefined;
335
+ } | undefined;
336
+ } | undefined;
267
337
  } | null;
268
338
  }, IState | {
269
339
  multiCountrySlug: {
@@ -302,9 +372,9 @@ export declare const useBusinessStore: import("pinia").StoreDefinition<"business
302
372
  heading?: string | undefined;
303
373
  body?: string | undefined;
304
374
  };
305
- fontFamilies: {
375
+ fontFamilies?: {
306
376
  stylesheet: string;
307
- }[];
377
+ }[] | undefined;
308
378
  ordering?: {
309
379
  app: {
310
380
  category: "HORIZONTAL" | "VERTICAL";
@@ -315,6 +385,20 @@ export declare const useBusinessStore: import("pinia").StoreDefinition<"business
315
385
  category: "HORIZONTAL" | "VERTICAL";
316
386
  };
317
387
  } | undefined;
388
+ layout?: {
389
+ app?: {
390
+ template?: {
391
+ mainView?: Record<string, unknown> | undefined;
392
+ cartView?: Record<string, unknown> | undefined;
393
+ } | undefined;
394
+ } | undefined;
395
+ kiosk?: {
396
+ template?: {
397
+ mainView?: Record<string, unknown> | undefined;
398
+ cartView?: Record<string, unknown> | undefined;
399
+ } | undefined;
400
+ } | undefined;
401
+ } | undefined;
318
402
  } | null;
319
403
  }>;
320
404
  getGlobalSlug: (slug: string) => Promise<void>;
@@ -1,4 +1,4 @@
1
- import { H as r, b as p } from "./index-CvbnxMT4.js";
1
+ import { H as r, b as p } from "./index-BXwbQwb-.js";
2
2
  const i = () => p().PWA_ICON_SERVICE_BACKEND;
3
3
  async function d(e, t, a) {
4
4
  const n = new FormData();
@@ -1,4 +1,4 @@
1
- import { B as u } from "./index-DbvZZQr6.js";
1
+ import { B as u } from "./index-BEAkOquM.js";
2
2
  import { defineStore as a } from "pinia";
3
3
  import { ref as r } from "vue";
4
4
  const c = a("business", () => {
@@ -1,4 +1,4 @@
1
- import { H as e, b as r } from "./index-CvbnxMT4.js";
1
+ import { H as e, b as r } from "./index-BXwbQwb-.js";
2
2
  const o = () => r().PORTAL_V2_BACKEND, d = () => r().LICENSE_BACKEND;
3
3
  async function c(t) {
4
4
  return (await e.Get(