@feedmepos/mf-settings 0.0.48-beta.0 → 0.0.48-beta.1-ex

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 (28) hide show
  1. package/dist/App-cddefb91.js +4351 -0
  2. package/dist/{Business-d368701b.js → Business-2da2ffc4.js} +236 -236
  3. package/dist/{CreateBusiness-fe3fc91e.js → CreateBusiness-fc4661b1.js} +12 -14
  4. package/dist/FoodCourt-17a5dadd.js +12451 -0
  5. package/dist/Tagging-0a2c6a6b.js +6694 -0
  6. package/dist/actionButton-6b6e9e60.js +88 -0
  7. package/dist/app.js +719 -13
  8. package/dist/apps/mf-settings/src/api/business.d.ts +1 -1
  9. package/dist/apps/mf-settings/src/api/foodCourt.d.ts +1 -1
  10. package/dist/apps/mf-settings/src/api/restaurant.d.ts +1 -1
  11. package/dist/apps/mf-settings/src/app.d.ts +1 -2
  12. package/dist/apps/mf-settings/src/components/business/RestaurantForm.vue.d.ts +1 -1
  13. package/dist/apps/mf-settings/src/components/tagging/TaggingForm.vue.d.ts +3 -3
  14. package/dist/apps/mf-settings/src/extensions/business.d.ts +1 -1
  15. package/dist/apps/mf-settings/src/extensions/profile.d.ts +1 -1
  16. package/dist/apps/mf-settings/src/init.d.ts +1 -0
  17. package/dist/apps/mf-settings/src/manager/restaurant.d.ts +1 -1
  18. package/dist/apps/mf-settings/src/store/attributeSettings.d.ts +16 -16
  19. package/dist/apps/mf-settings/src/types/restaurant.d.ts +1 -1
  20. package/dist/apps/mf-settings/tsconfig.app.tsbuildinfo +1 -1
  21. package/dist/business-8b22c801.js +31 -0
  22. package/dist/createForm-ad247a74.js +92 -0
  23. package/dist/index.esm2017-c60b1ce5.js +3147 -0
  24. package/dist/loading-eb019aa4.js +2385 -0
  25. package/dist/packages/shared/src/stores/app.d.ts +1 -1
  26. package/package.json +3 -3
  27. package/dist/FoodCourt-103e9580.js +0 -25602
  28. package/dist/app-b94d060a.js +0 -17440
@@ -1,14 +1,12 @@
1
- import { unref as n, defineComponent as A, openBlock as v, createElementBlock as y, ref as f, watch as $, computed as j, watchEffect as G, onBeforeUnmount as P, resolveComponent as h, createVNode as g, withCtx as W, createElementVNode as s, toDisplayString as b, Fragment as q, renderList as z, normalizeClass as R, createBlock as Z, createCommentVNode as Q } from "vue";
1
+ import { unref as n, defineComponent as A, openBlock as v, createElementBlock as y, ref as f, watch as $, computed as j, watchEffect as G, onBeforeUnmount as P, resolveComponent as h, createVNode as g, withCtx as W, createElementVNode as s, toDisplayString as b, Fragment as z, renderList as R, normalizeClass as Z, createBlock as q, createCommentVNode as Q } from "vue";
2
2
  import { useCoreStore as Y, useI18n as J, CountryOptions as K } from "@feedmepos/mf-common";
3
3
  import { _ as X, r as ee } from "./rules-c9fa22f8.js";
4
- import { o as te, q as w, F as se } from "./app-b94d060a.js";
5
- import "@feedmepos/core";
6
- import { useSnackbar as ne } from "@feedmepos/ui-library";
4
+ import { b as w } from "./business-8b22c801.js";
5
+ import "@feedmepos/core/entity";
6
+ import { useSnackbar as te } from "@feedmepos/ui-library";
7
+ import { u as se, F as ne } from "./loading-eb019aa4.js";
7
8
  import { useRouter as oe } from "vue-router";
8
- import "@feedmepos/mf-mdm";
9
- import "@feedmepos/mf-e-invoice";
10
9
  import "pinia";
11
- import "@vue/devtools-api";
12
10
  function L(r) {
13
11
  return typeof r == "function" ? r() : n(r);
14
12
  }
@@ -70,12 +68,12 @@ const re = `<svg width="388" height="388" viewBox="0 0 388 388" fill="none" xmln
70
68
  }, null, 8, ce));
71
69
  }
72
70
  });
73
- const de = /* @__PURE__ */ X(ue, [["__scopeId", "data-v-c0191534"]]), me = { class: "flex flex-col justify-center items-center bg-fm-color-neutral-white py-24" }, pe = { class: "space-y-32" }, _e = { class: "space-y-8" }, fe = { class: "fm-typo-en-title-lg-600" }, ge = { class: "space-y-8" }, ve = { class: "fm-typo-en-title-sm-600" }, he = { class: "flex gap-16" }, be = ["onClick"], ye = { class: "space-y-8" }, Ce = { class: "m-8 w-[33px]" }, we = ["innerHTML"], xe = { class: "fm-typo-en-body-sm-600" }, Fe = { class: "space-y-16" }, Ee = /* @__PURE__ */ A({
71
+ const de = /* @__PURE__ */ X(ue, [["__scopeId", "data-v-c0191534"]]), me = { class: "flex flex-col justify-center items-center bg-fm-color-neutral-white py-24" }, pe = { class: "space-y-32" }, _e = { class: "space-y-8" }, fe = { class: "fm-typo-en-title-lg-600" }, ge = { class: "space-y-8" }, ve = { class: "fm-typo-en-title-sm-600" }, he = { class: "flex gap-16" }, be = ["onClick"], ye = { class: "space-y-8" }, Ce = { class: "m-8 w-[33px]" }, we = ["innerHTML"], xe = { class: "fm-typo-en-body-sm-600" }, Fe = { class: "space-y-16" }, De = /* @__PURE__ */ A({
74
72
  __name: "CreateBusiness",
75
73
  setup(r) {
76
74
  var V;
77
75
  oe();
78
- const e = Y(), o = f(""), t = f(""), c = f(""), u = f(!0), x = ne(), _ = te(x), { t: l } = J(), i = f(((V = e.currentCountry.value) == null ? void 0 : V.toUpperCase()) || "MY"), m = f([]);
76
+ const e = Y(), o = f(""), t = f(""), c = f(""), u = f(!0), x = te(), _ = se(x), { t: l } = J(), i = f(((V = e.currentCountry.value) == null ? void 0 : V.toUpperCase()) || "MY"), m = f([]);
79
77
  $(
80
78
  i,
81
79
  (p) => {
@@ -121,7 +119,7 @@ const de = /* @__PURE__ */ X(ue, [["__scopeId", "data-v-c0191534"]]), me = { cla
121
119
  }
122
120
  async function E() {
123
121
  await e.signOut(), setTimeout(() => {
124
- window.location.href = `${se.baseUrl}/login?fm_redirect=${encodeURIComponent(window.location.protocol + "//" + window.location.host)}`;
122
+ window.location.href = `${ne.baseUrl}/login?fm_redirect=${encodeURIComponent(window.location.protocol + "//" + window.location.host)}`;
125
123
  }, 500);
126
124
  }
127
125
  return G(() => {
@@ -172,9 +170,9 @@ const de = /* @__PURE__ */ X(ue, [["__scopeId", "data-v-c0191534"]]), me = { cla
172
170
  s("div", ge, [
173
171
  s("div", ve, b(n(l)("settings.create_business.country.title")), 1),
174
172
  s("div", he, [
175
- (v(!0), y(q, null, z(n(K), (a) => (v(), y("div", {
173
+ (v(!0), y(z, null, R(n(K), (a) => (v(), y("div", {
176
174
  key: a.code,
177
- class: R(["flex-1 h-[124px] flex justify-center items-center border-2 fm-corner-radius-md cursor-pointer", [
175
+ class: Z(["flex-1 h-[124px] flex justify-center items-center border-2 fm-corner-radius-md cursor-pointer", [
178
176
  i.value === a.code ? "border-fm-color-primary" : "border-fm-color-neutral-gray-200",
179
177
  i.value === a.code ? "bg-fm-color-system-warning-100" : "bg-fm-color-neutral-white"
180
178
  ]]),
@@ -191,7 +189,7 @@ const de = /* @__PURE__ */ X(ue, [["__scopeId", "data-v-c0191534"]]), me = { cla
191
189
  ], 10, be))), 128))
192
190
  ])
193
191
  ]),
194
- m.value.length > 0 ? (v(), Z(N, {
192
+ m.value.length > 0 ? (v(), q(N, {
195
193
  key: 0,
196
194
  variant: "info",
197
195
  title: n(l)("settings.create_business.country.exists.title"),
@@ -228,5 +226,5 @@ const de = /* @__PURE__ */ X(ue, [["__scopeId", "data-v-c0191534"]]), me = { cla
228
226
  }
229
227
  });
230
228
  export {
231
- Ee as default
229
+ De as default
232
230
  };