@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.
- package/dist/App-ccc37fd9.js +4343 -0
- package/dist/Business-edf5bd92.js +11975 -0
- package/dist/{CreateBusiness-8f569ca5.js → CreateBusiness-ec365db8.js} +21 -22
- package/dist/{FoodCourt-b50a5495.js → FoodCourt-652c44f9.js} +24 -26
- package/dist/{ResponsiveFabButton.vue_vue_type_script_setup_true_lang-664bb402.js → ResponsiveFabButton.vue_vue_type_script_setup_true_lang-977372d5.js} +1 -1
- package/dist/Tagging-798e2bb7.js +6683 -0
- package/dist/TemplateBuilder-3e34e9e8.js +27 -0
- package/dist/actionButton-cc6bcf01.js +66 -0
- package/dist/app-bd3cfc9c.js +784 -0
- package/dist/app.js +6 -9
- package/dist/apps/mf-settings/src/app.d.ts +1 -2
- package/dist/apps/mf-settings/src/components/business/RestaurantForm.vue.d.ts +1 -1
- package/dist/apps/mf-settings/src/components/tagging/TaggingForm.vue.d.ts +3 -3
- package/dist/apps/mf-settings/src/init.d.ts +1 -0
- package/dist/apps/mf-settings/src/store/attributeSettings.d.ts +15 -15
- package/dist/apps/mf-settings/tsconfig.app.tsbuildinfo +1 -1
- package/dist/business-93826a8c.js +31 -0
- package/dist/createForm-681e977a.js +64 -0
- package/dist/{index-3dd7fe2c.js → index-1eb3cc0a.js} +1 -1
- package/dist/index-f1e5e565.js +10903 -0
- package/dist/loading-6ee8ebc9.js +2385 -0
- package/dist/packages/shared/src/components/form/ImageDropField.vue.d.ts +1 -1
- package/dist/packages/shared/src/components/info/TextChip.vue.d.ts +1 -1
- package/dist/packages/shared/src/components/loading/PageLoading.vue.d.ts +2 -0
- package/dist/packages/shared/src/components/loading/index.d.ts +1 -0
- package/dist/packages/shared/src/composable/elementPosition.d.ts +1 -1
- package/dist/tslib.es6-449ce8af.js +3264 -0
- package/package.json +5 -4
- package/dist/App-358f23fc.js +0 -53
- package/dist/Business-618e5ec3.js +0 -3888
- package/dist/TemplateBuilder-54a34178.js +0 -27
- package/dist/app-050b47dd.js +0 -34303
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { g as e, b as a } from "./loading-6ee8ebc9.js";
|
|
2
|
+
const i = {
|
|
3
|
+
async readBusiness(s) {
|
|
4
|
+
return e(await a().get(`/businesses/${s}`));
|
|
5
|
+
},
|
|
6
|
+
async updateBusinessProfile(s, t) {
|
|
7
|
+
return e(await a().put(`/businesses/${s}/profile`, t));
|
|
8
|
+
},
|
|
9
|
+
async updateBusinessAttributeSettings(s, t) {
|
|
10
|
+
return e(await a().put(`/businesses/${s}/attribute-settings`, {
|
|
11
|
+
attributes: t
|
|
12
|
+
}));
|
|
13
|
+
},
|
|
14
|
+
async updateRestaurantAttributeSettings(s, t) {
|
|
15
|
+
return e(await a().put(`/businesses/${s}/restaurant-attribute-settings`, {
|
|
16
|
+
attributes: t
|
|
17
|
+
}));
|
|
18
|
+
},
|
|
19
|
+
async readAgentByCode(s) {
|
|
20
|
+
return e(await a("").get(`/agents/search-by-code/${s}`));
|
|
21
|
+
},
|
|
22
|
+
async createBusiness(s, t) {
|
|
23
|
+
return e(await a("", t).post("/businesses", s));
|
|
24
|
+
},
|
|
25
|
+
async readBusinesses(s) {
|
|
26
|
+
return e(await a("", s).get("/my/businesses"));
|
|
27
|
+
}
|
|
28
|
+
};
|
|
29
|
+
export {
|
|
30
|
+
i as b
|
|
31
|
+
};
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
import { defineComponent as p, openBlock as m, createElementBlock as u, createElementVNode as a, renderSlot as s, toDisplayString as f, normalizeClass as i, toRaw as h, markRaw as g, createVNode as x, render as C } from "vue";
|
|
2
|
+
const _ = {
|
|
3
|
+
class: /* @__PURE__ */ i([
|
|
4
|
+
"flex flex-col",
|
|
5
|
+
"p-24 xs:p-0",
|
|
6
|
+
"bg-fm-color-neutral-white",
|
|
7
|
+
"min-h-[calc(100dvh-56px)]",
|
|
8
|
+
"xs:max-h-[calc(100dvh-56px)]"
|
|
9
|
+
])
|
|
10
|
+
}, y = {
|
|
11
|
+
class: /* @__PURE__ */ i([
|
|
12
|
+
"flex items-center",
|
|
13
|
+
"mb-24 xs:mb-0 xs:p-16",
|
|
14
|
+
"xs:border-b border-fm-color-neutral-gray-100"
|
|
15
|
+
])
|
|
16
|
+
}, b = { class: "fm-typo-en-title-md-600" }, v = /* @__PURE__ */ p({
|
|
17
|
+
__name: "PageLayout",
|
|
18
|
+
props: {
|
|
19
|
+
heading: {}
|
|
20
|
+
},
|
|
21
|
+
setup(o) {
|
|
22
|
+
return (e, r) => (m(), u("div", _, [
|
|
23
|
+
a("div", y, [
|
|
24
|
+
s(e.$slots, "prepend-heading"),
|
|
25
|
+
a("div", null, [
|
|
26
|
+
a("h1", b, f(e.heading), 1),
|
|
27
|
+
s(e.$slots, "sub-heading")
|
|
28
|
+
]),
|
|
29
|
+
s(e.$slots, "append-heading")
|
|
30
|
+
]),
|
|
31
|
+
s(e.$slots, "default")
|
|
32
|
+
]));
|
|
33
|
+
}
|
|
34
|
+
});
|
|
35
|
+
function l(o) {
|
|
36
|
+
return JSON.parse(JSON.stringify(o));
|
|
37
|
+
}
|
|
38
|
+
function E(o) {
|
|
39
|
+
if (typeof structuredClone > "u")
|
|
40
|
+
return l(o);
|
|
41
|
+
try {
|
|
42
|
+
return structuredClone(h(o));
|
|
43
|
+
} catch {
|
|
44
|
+
return l(o);
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
const w = (o, e, r) => {
|
|
48
|
+
if (!e)
|
|
49
|
+
throw new Error("No current instance found");
|
|
50
|
+
const t = document.createElement("div");
|
|
51
|
+
document.body.appendChild(t);
|
|
52
|
+
const c = g(o), n = x(c, r);
|
|
53
|
+
return n.appContext = e.appContext, C(n, t), { container: t, vNode: n };
|
|
54
|
+
};
|
|
55
|
+
function S(o, e, r) {
|
|
56
|
+
var d;
|
|
57
|
+
const { vNode: t, unmount: c } = w(e, o, r), n = (d = t.component) == null ? void 0 : d.exposed;
|
|
58
|
+
n == null || n.trigger();
|
|
59
|
+
}
|
|
60
|
+
export {
|
|
61
|
+
v as _,
|
|
62
|
+
S as a,
|
|
63
|
+
E as c
|
|
64
|
+
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as Ee, e as vt } from "./
|
|
1
|
+
import { c as Ee, e as vt } from "./index-f1e5e565.js";
|
|
2
2
|
function et(W) {
|
|
3
3
|
throw new Error('Could not dynamically require "' + W + '". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.');
|
|
4
4
|
}
|