@feedmepos/mf-settings 0.0.74 → 0.0.75-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 (42) hide show
  1. package/dist/App-35971c1b.js +4378 -0
  2. package/dist/Business-f606024e.js +11276 -0
  3. package/dist/{CreateBusiness-c881b40e.js → CreateBusiness-8709fcdc.js} +117 -149
  4. package/dist/FoodCourt-b54debb1.js +47800 -0
  5. package/dist/{FormSection.vue_vue_type_script_setup_true_lang-6aab82f2.js → FormSection.vue_vue_type_script_setup_true_lang-f34c8596.js} +17 -16
  6. package/dist/{Tagging-4337306c.js → Tagging-a5f9efca.js} +8 -9
  7. package/dist/TemplateBuilder-54a34178.js +27 -0
  8. package/dist/app-3b03b910.js +4270 -0
  9. package/dist/app.js +3 -4
  10. package/dist/apps/mf-settings/src/app.d.ts +1 -1
  11. package/dist/apps/mf-settings/src/components/tagging/TaggingForm.vue.d.ts +6 -3
  12. package/dist/apps/mf-settings/src/extensions/business.d.ts +7 -2
  13. package/dist/apps/mf-settings/src/router/shared.d.ts +1 -1
  14. package/dist/apps/mf-settings/src/store/attributeSettings.d.ts +30 -15
  15. package/dist/apps/mf-settings/tsconfig.app.tsbuildinfo +1 -1
  16. package/dist/{business-f739dad4.js → business-1f49af71.js} +1 -1
  17. package/dist/dayjs.min-a3e17295.js +345 -0
  18. package/dist/index-406cc08d.js +19758 -0
  19. package/dist/{index-b9ef9a01.js → index-4d304b46.js} +5520 -5366
  20. package/dist/index-fdc00332.js +8047 -0
  21. package/dist/{map-54b71412.js → map-695afd6f.js} +410 -527
  22. package/dist/object-8ac0c0d8.js +63 -0
  23. package/dist/packages/shared/src/helpers/actionButton.d.ts +2 -2
  24. package/dist/rules-c9fa22f8.js +13 -0
  25. package/package.json +5 -4
  26. package/dist/App-12cbd13e.js +0 -23257
  27. package/dist/Business-c6660aea.js +0 -20073
  28. package/dist/FoodCourt-67ab2a1a.js +0 -72969
  29. package/dist/ReasonTemplate-b4e2346e.js +0 -2235
  30. package/dist/ResponsiveFabButton.vue_vue_type_script_setup_true_lang-8f929a2d.js +0 -38
  31. package/dist/TemplateBuilder-3e34e9e8.js +0 -27
  32. package/dist/_commonjs-dynamic-modules-bed80856.js +0 -6
  33. package/dist/_plugin-vue_export-helper-dad06003.js +0 -9
  34. package/dist/app-df7c7bf8.js +0 -1853
  35. package/dist/apps/mf-settings/src/View/ReasonTemplate.vue.d.ts +0 -2
  36. package/dist/apps/mf-settings/src/components/reason/ReasonTemplateForm.vue.d.ts +0 -28
  37. package/dist/apps/mf-settings/src/types/reasonTemplate.d.ts +0 -9
  38. package/dist/createForm-d3b97d2e.js +0 -50
  39. package/dist/dayjs.min-6eec923a.js +0 -310
  40. package/dist/index-6d139c6d.js +0 -2395
  41. package/dist/object-27ce045b.js +0 -16
  42. package/dist/rules-2bee6632.js +0 -6
@@ -1,21 +1,22 @@
1
- import { h as r, withModifiers as u, defineComponent as p, openBlock as t, createElementBlock as o, normalizeClass as m, renderSlot as l, createElementVNode as i, toDisplayString as a, createCommentVNode as c, createVNode as d, withCtx as f } from "vue";
2
- import { components as h } from "@feedmepos/ui-library";
3
- function w(s) {
1
+ import { h as r, withModifiers as u, defineComponent as p, openBlock as t, createElementBlock as o, normalizeClass as m, renderSlot as l, createElementVNode as i, toDisplayString as a, createCommentVNode as c, createVNode as f, withCtx as h } from "vue";
2
+ import { components as y } from "@feedmepos/ui-library";
3
+ function $(s) {
4
4
  return r(
5
5
  "div",
6
6
  {
7
7
  class: "flex justify-end"
8
8
  },
9
- s.map(({ name: e, onClick: n }) => r(h.FmButton, {
9
+ s.map(({ name: e, onClick: n, disabled: d }) => r(y.FmButton, {
10
10
  icon: e,
11
11
  outline: !0,
12
+ disabled: d ?? !1,
12
13
  variant: "tertiary",
13
14
  iconColor: "neutral-gray-400",
14
15
  onClick: u(n, ["stop", "prevent"])
15
16
  }))
16
17
  );
17
18
  }
18
- const y = /* @__PURE__ */ p({
19
+ const _ = /* @__PURE__ */ p({
19
20
  __name: "FormColumn",
20
21
  props: {
21
22
  shrinkable: { type: Boolean }
@@ -27,13 +28,13 @@ const y = /* @__PURE__ */ p({
27
28
  l(e.$slots, "default")
28
29
  ], 2));
29
30
  }
30
- }), _ = {
31
+ }), b = {
31
32
  key: 0,
32
33
  class: "flex flex-row justify-between items-center"
33
- }, b = { class: "space-y-4" }, k = { class: "fm-typo-en-title-sm-600" }, C = {
34
+ }, k = { class: "space-y-4" }, C = { class: "fm-typo-en-title-sm-600" }, v = {
34
35
  key: 0,
35
36
  class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary"
36
- }, $ = /* @__PURE__ */ p({
37
+ }, x = /* @__PURE__ */ p({
37
38
  __name: "FormSection",
38
39
  props: {
39
40
  title: {},
@@ -44,15 +45,15 @@ const y = /* @__PURE__ */ p({
44
45
  return (e, n) => (t(), o("div", {
45
46
  class: m(["flex flex-col space-y-16", { "min-h-0": e.shrinkable }])
46
47
  }, [
47
- e.title ? (t(), o("div", _, [
48
- i("div", b, [
49
- i("p", k, a(e.title), 1),
50
- e.subTitle ? (t(), o("p", C, a(e.subTitle), 1)) : c("", !0)
48
+ e.title ? (t(), o("div", b, [
49
+ i("div", k, [
50
+ i("p", C, a(e.title), 1),
51
+ e.subTitle ? (t(), o("p", v, a(e.subTitle), 1)) : c("", !0)
51
52
  ]),
52
53
  l(e.$slots, "append-title")
53
54
  ])) : c("", !0),
54
- d(y, { shrinkable: e.shrinkable }, {
55
- default: f(() => [
55
+ f(_, { shrinkable: e.shrinkable }, {
56
+ default: h(() => [
56
57
  l(e.$slots, "default")
57
58
  ]),
58
59
  _: 3
@@ -61,6 +62,6 @@ const y = /* @__PURE__ */ p({
61
62
  }
62
63
  });
63
64
  export {
64
- $ as _,
65
- w as c
65
+ x as _,
66
+ $ as c
66
67
  };
@@ -2,14 +2,13 @@ import { defineComponent as Ur, h as Ri, getCurrentInstance as Wi, inject as $m,
2
2
  import "@vue/devtools-api";
3
3
  import { useI18n as Uo, useCoreStore as ko } from "@feedmepos/mf-common";
4
4
  import { useDialog as Wo, useSnackbar as Vo, components as Qm, useBreakpoints as zm, FmButtonVariant as jm } from "@feedmepos/ui-library";
5
- import { _ as ev } from "./app-df7c7bf8.js";
6
- import { _ as nv, c as uo } from "./createForm-d3b97d2e.js";
7
- import { u as Bo } from "./index-6d139c6d.js";
8
- import { _ as so, c as tv } from "./FormSection.vue_vue_type_script_setup_true_lang-6aab82f2.js";
9
- import { c as Rr } from "./index-b9ef9a01.js";
10
- import { c as xi } from "./object-27ce045b.js";
5
+ import { c as Rr, _ as ev } from "./app-3b03b910.js";
6
+ import { c as xi, _ as nv, a as uo } from "./object-8ac0c0d8.js";
7
+ import { u as Bo } from "./index-4d304b46.js";
8
+ import { _ as so, c as tv } from "./FormSection.vue_vue_type_script_setup_true_lang-f34c8596.js";
9
+ import "./index-fdc00332.js";
11
10
  import { defineStore as rv } from "pinia";
12
- import { b as ss } from "./business-f739dad4.js";
11
+ import { b as ss } from "./business-1f49af71.js";
13
12
  import "@feedmepos/mf-mdm";
14
13
  import "@feedmepos/mf-order-setting";
15
14
  import "vue-router";
@@ -6715,7 +6714,7 @@ const lf = rv("mf-settings-attribute-settings", () => {
6715
6714
  ], 64);
6716
6715
  };
6717
6716
  }
6718
- }), y0 = { class: "flex flex-1" }, b0 = { class: "space-y-8" }, S0 = { class: "flex justify-end" }, Y0 = /* @__PURE__ */ Ur({
6717
+ }), y0 = { class: "flex flex-1" }, b0 = { class: "space-y-8" }, S0 = { class: "flex justify-end" }, H0 = /* @__PURE__ */ Ur({
6719
6718
  __name: "Tagging",
6720
6719
  setup(r) {
6721
6720
  const { t: s } = Hi(), u = ko(), f = Wi(), _ = lf(), d = Wo(), E = Vo(), L = Bo(E), N = ar(""), T = Ye(() => _.customAttributes.filter((A) => A.key.toLowerCase().includes(N.value.toLowerCase()))), F = Ye(() => [
@@ -6851,5 +6850,5 @@ const lf = rv("mf-settings-attribute-settings", () => {
6851
6850
  }
6852
6851
  });
6853
6852
  export {
6854
- Y0 as default
6853
+ H0 as default
6855
6854
  };
@@ -0,0 +1,27 @@
1
+ import { defineComponent as a, computed as c, resolveComponent as u, openBlock as s, createElementBlock as o, createVNode as d } from "vue";
2
+ import { useCoreStore as l, FeedMeAuth as m } from "@feedmepos/mf-common";
3
+ const i = {
4
+ key: 0,
5
+ class: "w-full h-full flex items-center justify-center"
6
+ }, p = ["src"], h = /* @__PURE__ */ a({
7
+ __name: "TemplateBuilder",
8
+ setup(f) {
9
+ const e = l(), t = c(() => {
10
+ var r;
11
+ return e.currentBusiness.value ? `https://print-template-builder.feedme.dev//#/receipt-info?businessId=${(r = e.currentBusiness.value) == null ? void 0 : r.id}&country=${e.currentCountry.value}&token=${m.token}` : "";
12
+ });
13
+ return (r, v) => {
14
+ const n = u("FmCircularProgress");
15
+ return t.value ? (s(), o("iframe", {
16
+ key: 1,
17
+ class: "w-full h-full",
18
+ src: t.value
19
+ }, null, 8, p)) : (s(), o("div", i, [
20
+ d(n, { size: "lg" })
21
+ ]));
22
+ };
23
+ }
24
+ });
25
+ export {
26
+ h as default
27
+ };