@feedmepos/mf-settings 0.0.49 → 0.0.50-prod

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 (32) hide show
  1. package/dist/App-ccc37fd9.js +4343 -0
  2. package/dist/Business-edf5bd92.js +11975 -0
  3. package/dist/{CreateBusiness-8f569ca5.js → CreateBusiness-ec365db8.js} +21 -22
  4. package/dist/{FoodCourt-b50a5495.js → FoodCourt-652c44f9.js} +24 -26
  5. package/dist/{ResponsiveFabButton.vue_vue_type_script_setup_true_lang-664bb402.js → ResponsiveFabButton.vue_vue_type_script_setup_true_lang-977372d5.js} +1 -1
  6. package/dist/Tagging-798e2bb7.js +6683 -0
  7. package/dist/TemplateBuilder-3e34e9e8.js +27 -0
  8. package/dist/actionButton-cc6bcf01.js +66 -0
  9. package/dist/app-bd3cfc9c.js +784 -0
  10. package/dist/app.js +6 -9
  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/init.d.ts +1 -0
  15. package/dist/apps/mf-settings/src/store/attributeSettings.d.ts +15 -15
  16. package/dist/apps/mf-settings/tsconfig.app.tsbuildinfo +1 -1
  17. package/dist/business-93826a8c.js +31 -0
  18. package/dist/createForm-681e977a.js +64 -0
  19. package/dist/{index-3dd7fe2c.js → index-1eb3cc0a.js} +1 -1
  20. package/dist/index-f1e5e565.js +10903 -0
  21. package/dist/loading-6ee8ebc9.js +2385 -0
  22. package/dist/packages/shared/src/components/form/ImageDropField.vue.d.ts +1 -1
  23. package/dist/packages/shared/src/components/info/TextChip.vue.d.ts +1 -1
  24. package/dist/packages/shared/src/components/loading/PageLoading.vue.d.ts +2 -0
  25. package/dist/packages/shared/src/components/loading/index.d.ts +1 -0
  26. package/dist/packages/shared/src/composable/elementPosition.d.ts +1 -1
  27. package/dist/tslib.es6-449ce8af.js +3264 -0
  28. package/package.json +5 -4
  29. package/dist/App-358f23fc.js +0 -53
  30. package/dist/Business-618e5ec3.js +0 -3888
  31. package/dist/TemplateBuilder-54a34178.js +0 -27
  32. package/dist/app-050b47dd.js +0 -34303
@@ -0,0 +1,27 @@
1
+ import { defineComponent as o, computed as n, resolveComponent as d, openBlock as s, createElementBlock as c, createVNode as m } from "vue";
2
+ import { useCoreStore as u, FeedMeAuth as i } from "@feedmepos/mf-common";
3
+ const l = {
4
+ key: 0,
5
+ class: "w-full h-full flex items-center justify-center"
6
+ }, p = ["src"], h = /* @__PURE__ */ o({
7
+ __name: "TemplateBuilder",
8
+ setup(f) {
9
+ const e = u(), t = n(() => {
10
+ var r;
11
+ return e.currentBusiness.value ? `https://print-template-builder.feedme.cc//#/receipt-info?businessId=${(r = e.currentBusiness.value) == null ? void 0 : r.id}&country=${e.currentCountry.value}&token=${i.token}` : "";
12
+ });
13
+ return (r, b) => {
14
+ const a = d("FmCircularProgress");
15
+ return t.value ? (s(), c("iframe", {
16
+ key: 1,
17
+ class: "w-full h-full",
18
+ src: t.value
19
+ }, null, 8, p)) : (s(), c("div", l, [
20
+ m(a, { size: "lg" })
21
+ ]));
22
+ };
23
+ }
24
+ });
25
+ export {
26
+ h as default
27
+ };
@@ -0,0 +1,66 @@
1
+ import { defineComponent as p, openBlock as t, createElementBlock as o, normalizeClass as m, renderSlot as l, createElementVNode as r, toDisplayString as i, createCommentVNode as a, createVNode as u, withCtx as d, h as c, withModifiers as f } from "vue";
2
+ import { components as h } from "@feedmepos/ui-library";
3
+ const y = /* @__PURE__ */ p({
4
+ __name: "FormColumn",
5
+ props: {
6
+ shrinkable: { type: Boolean }
7
+ },
8
+ setup(s) {
9
+ return (e, n) => (t(), o("div", {
10
+ class: m(["flex-1 flex flex-col space-y-24", { "min-h-0": e.shrinkable }])
11
+ }, [
12
+ l(e.$slots, "default")
13
+ ], 2));
14
+ }
15
+ }), _ = {
16
+ key: 0,
17
+ class: "flex flex-row justify-between items-center"
18
+ }, b = { class: "space-y-4" }, k = { class: "fm-typo-en-title-sm-600" }, C = {
19
+ key: 0,
20
+ class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary"
21
+ }, w = /* @__PURE__ */ p({
22
+ __name: "FormSection",
23
+ props: {
24
+ title: {},
25
+ subTitle: {},
26
+ shrinkable: { type: Boolean }
27
+ },
28
+ setup(s) {
29
+ return (e, n) => (t(), o("div", {
30
+ class: m(["flex flex-col space-y-16", { "min-h-0": e.shrinkable }])
31
+ }, [
32
+ e.title ? (t(), o("div", _, [
33
+ r("div", b, [
34
+ r("p", k, i(e.title), 1),
35
+ e.subTitle ? (t(), o("p", C, i(e.subTitle), 1)) : a("", !0)
36
+ ]),
37
+ l(e.$slots, "append-title")
38
+ ])) : a("", !0),
39
+ u(y, { shrinkable: e.shrinkable }, {
40
+ default: d(() => [
41
+ l(e.$slots, "default")
42
+ ]),
43
+ _: 3
44
+ }, 8, ["shrinkable"])
45
+ ], 2));
46
+ }
47
+ });
48
+ function $(s) {
49
+ return c(
50
+ "div",
51
+ {
52
+ class: "flex justify-end"
53
+ },
54
+ s.map(({ name: e, onClick: n }) => c(h.FmButton, {
55
+ icon: e,
56
+ outline: !0,
57
+ variant: "tertiary",
58
+ iconColor: "neutral-gray-400",
59
+ onClick: f(n, ["stop", "prevent"])
60
+ }))
61
+ );
62
+ }
63
+ export {
64
+ w as _,
65
+ $ as c
66
+ };