@feedmepos/mf-settings 0.0.76 → 0.0.77-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.
- package/dist/{App-db2ef98c.js → App-fc19c11d.js} +10480 -8869
- package/dist/{Business-78210697.js → Business-083ba84f.js} +3056 -2938
- package/dist/{CreateBusiness-aaf86734.js → CreateBusiness-35369ca0.js} +7 -6
- package/dist/{FoodCourt-df578545.js → FoodCourt-cbb595f9.js} +7 -6
- package/dist/{Tagging-35151353.js → Tagging-f05dc43f.js} +7 -6
- package/dist/{app-5a16706e.js → app-8c2bd26c.js} +431 -401
- package/dist/app.js +5 -4
- package/dist/apps/mf-settings/src/api/media.d.ts +65 -0
- package/dist/apps/mf-settings/src/components/business/RestaurantForm.vue.d.ts +1 -1
- package/dist/apps/mf-settings/src/plugins/mediaStorage.d.ts +51 -0
- package/dist/apps/mf-settings/tsconfig.app.tsbuildinfo +1 -1
- package/dist/{business-d7e7bff5.js → business-aa881f3b.js} +1 -1
- package/dist/{dayjs.min-43d3507e.js → dayjs.min-4b595624.js} +1 -1
- package/dist/{index-2b34a8d8.js → index-a468d838.js} +1 -1
- package/dist/{index-4be121f9.js → index-d3531f7b.js} +13 -8
- package/dist/map-83d1fbe5.js +29 -0
- package/dist/packages/shared/src/components/form/ImageDropField.vue.d.ts +5 -0
- package/package.json +3 -3
- package/dist/apps/mf-settings/src/plugins/r2Storage.d.ts +0 -12
- package/dist/map-695afd6f.js +0 -3147
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as tt, computed as V, resolveComponent as et, openBlock as Z, createBlock as nt, normalizeProps as rt, mergeProps as q, createElementBlock as st, createVNode as it } from "vue";
|
|
2
2
|
import { useBreakpoints as at, useSnackbar as ot } from "@feedmepos/ui-library";
|
|
3
|
-
import { c as ut, g as ct } from "./app-
|
|
3
|
+
import { c as ut, g as ct } from "./app-8c2bd26c.js";
|
|
4
4
|
const ft = {
|
|
5
5
|
key: 1,
|
|
6
6
|
class: "z-10 fixed bottom-72 right-16"
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as B } from "./app-
|
|
1
|
+
import { c as B } from "./app-8c2bd26c.js";
|
|
2
2
|
var Na = {}, Xn = {}, s = {}, Qi = {}, pi = {}, Ui = {}, Qt = {};
|
|
3
3
|
(function(e) {
|
|
4
4
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.getParsedType = e.ZodParsedType = e.util = void 0;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { computed as Ll, isRef as Yl, watch as kl } from "vue";
|
|
2
2
|
import { SnackbarPosition as Vr } from "@feedmepos/ui-library";
|
|
3
3
|
import { defineStore as Gl } from "pinia";
|
|
4
|
-
import { c as q, b as Vl } from "./app-
|
|
5
|
-
import { l as m, e as Oa } from "./index-
|
|
4
|
+
import { c as q, b as Vl } from "./app-8c2bd26c.js";
|
|
5
|
+
import { l as m, e as Oa } from "./index-a468d838.js";
|
|
6
6
|
import { useCoreStore as Dn } from "@feedmepos/mf-common";
|
|
7
7
|
var ee = [];
|
|
8
8
|
for (var Hr = 0; Hr < 256; ++Hr)
|
|
@@ -11230,23 +11230,28 @@ const Ts = Gl("portal-app-store", {
|
|
|
11230
11230
|
throw new Error("Invalid restaurant");
|
|
11231
11231
|
};
|
|
11232
11232
|
Oa.F_COUNTRY.enum.SG, Oa.F_COUNTRY.enum.ID;
|
|
11233
|
+
function Vf(e) {
|
|
11234
|
+
return e.data;
|
|
11235
|
+
}
|
|
11233
11236
|
function zf(e = void 0) {
|
|
11234
11237
|
const { namespace: n, currentCountry: t } = Dn(), i = e ?? t.value, r = n.value === "dev", s = (i == null ? void 0 : i.toLowerCase()) !== "my" ? `.${i == null ? void 0 : i.toLowerCase()}` : "", d = `https://portal-v2${`${r ? "-dev" : ""}${s}.feedmeapi.com`}`;
|
|
11235
11238
|
return {
|
|
11236
|
-
portalBackendUrl: { remy: "https://remy-dev.feedmeapi.com/v1", customerApp: "https://feedmedev.cc", googleMap: "AIzaSyA_isPR1-9bX7UmRiJIhsIRNNwdn6DdmW4", templateBuilderUrl: "https://print-template-builder.feedme.dev/", gtm: { id: "GTM-P7Z9FMS6", serverUrl: "https://server-side-tagging-rsrq3ogsuq-as.a.run.app", env: "development", serverMeasurementId: "G-759WBZPF06", debug: !0 }, firebase: { apiKey: "AIzaSyAj8JdCHtP0Vc5vZobCfgoLzWxPIn0WUG4", authDomain: "feedme-dev-4c3ef.firebaseapp.com", databaseURL: "https://feedme-dev-4c3ef.firebaseio.com", projectId: "feedme-dev-4c3ef", storageBucket: "feedme-dev-4c3ef.appspot.com", messagingSenderId: "458797803788", appId: "1:458797803788:web:37f2af2926a84288f0c129", measurementId: "G-J2QG09D2Q7" }
|
|
11237
|
-
menuBackendUrl: { remy: "https://remy-dev.feedmeapi.com/v1", customerApp: "https://feedmedev.cc", googleMap: "AIzaSyA_isPR1-9bX7UmRiJIhsIRNNwdn6DdmW4", templateBuilderUrl: "https://print-template-builder.feedme.dev/", gtm: { id: "GTM-P7Z9FMS6", serverUrl: "https://server-side-tagging-rsrq3ogsuq-as.a.run.app", env: "development", serverMeasurementId: "G-759WBZPF06", debug: !0 }, firebase: { apiKey: "AIzaSyAj8JdCHtP0Vc5vZobCfgoLzWxPIn0WUG4", authDomain: "feedme-dev-4c3ef.firebaseapp.com", databaseURL: "https://feedme-dev-4c3ef.firebaseio.com", projectId: "feedme-dev-4c3ef", storageBucket: "feedme-dev-4c3ef.appspot.com", messagingSenderId: "458797803788", appId: "1:458797803788:web:37f2af2926a84288f0c129", measurementId: "G-J2QG09D2Q7" }
|
|
11239
|
+
portalBackendUrl: { remy: "https://remy-dev.feedmeapi.com/v1", customerApp: "https://feedmedev.cc", googleMap: "AIzaSyA_isPR1-9bX7UmRiJIhsIRNNwdn6DdmW4", templateBuilderUrl: "https://print-template-builder.feedme.dev/", gtm: { id: "GTM-P7Z9FMS6", serverUrl: "https://server-side-tagging-rsrq3ogsuq-as.a.run.app", env: "development", serverMeasurementId: "G-759WBZPF06", debug: !0 }, firebase: { apiKey: "AIzaSyAj8JdCHtP0Vc5vZobCfgoLzWxPIn0WUG4", authDomain: "feedme-dev-4c3ef.firebaseapp.com", databaseURL: "https://feedme-dev-4c3ef.firebaseio.com", projectId: "feedme-dev-4c3ef", storageBucket: "feedme-dev-4c3ef.appspot.com", messagingSenderId: "458797803788", appId: "1:458797803788:web:37f2af2926a84288f0c129", measurementId: "G-J2QG09D2Q7" } }.mainBackend ?? d,
|
|
11240
|
+
menuBackendUrl: { remy: "https://remy-dev.feedmeapi.com/v1", customerApp: "https://feedmedev.cc", googleMap: "AIzaSyA_isPR1-9bX7UmRiJIhsIRNNwdn6DdmW4", templateBuilderUrl: "https://print-template-builder.feedme.dev/", gtm: { id: "GTM-P7Z9FMS6", serverUrl: "https://server-side-tagging-rsrq3ogsuq-as.a.run.app", env: "development", serverMeasurementId: "G-759WBZPF06", debug: !0 }, firebase: { apiKey: "AIzaSyAj8JdCHtP0Vc5vZobCfgoLzWxPIn0WUG4", authDomain: "feedme-dev-4c3ef.firebaseapp.com", databaseURL: "https://feedme-dev-4c3ef.firebaseio.com", projectId: "feedme-dev-4c3ef", storageBucket: "feedme-dev-4c3ef.appspot.com", messagingSenderId: "458797803788", appId: "1:458797803788:web:37f2af2926a84288f0c129", measurementId: "G-J2QG09D2Q7" } }.menuBackend ?? d
|
|
11238
11241
|
};
|
|
11239
11242
|
}
|
|
11240
|
-
function
|
|
11243
|
+
function Hf(e) {
|
|
11241
11244
|
return e.data;
|
|
11242
11245
|
}
|
|
11243
11246
|
export {
|
|
11244
11247
|
_t as F,
|
|
11245
|
-
|
|
11248
|
+
Do as a,
|
|
11246
11249
|
Rl as b,
|
|
11247
|
-
|
|
11250
|
+
kf as c,
|
|
11248
11251
|
I as d,
|
|
11249
|
-
Vf as
|
|
11252
|
+
Vf as e,
|
|
11253
|
+
Ho as f,
|
|
11254
|
+
Hf as g,
|
|
11250
11255
|
Gf as r,
|
|
11251
11256
|
Yf as u
|
|
11252
11257
|
};
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { ref as n } from "vue";
|
|
2
|
+
const a = n(null), e = () => a.value;
|
|
3
|
+
function r(o) {
|
|
4
|
+
a.value || (a.value = o);
|
|
5
|
+
}
|
|
6
|
+
const l = Object.freeze({
|
|
7
|
+
jb: {
|
|
8
|
+
lat: 1.492659,
|
|
9
|
+
lng: 103.7413591
|
|
10
|
+
}
|
|
11
|
+
});
|
|
12
|
+
function c(o) {
|
|
13
|
+
return [o.lng, o.lat];
|
|
14
|
+
}
|
|
15
|
+
function i(o) {
|
|
16
|
+
if (o.length !== 2)
|
|
17
|
+
throw Error("Invalid coordinate array");
|
|
18
|
+
return {
|
|
19
|
+
lat: o[1],
|
|
20
|
+
lng: o[0]
|
|
21
|
+
};
|
|
22
|
+
}
|
|
23
|
+
export {
|
|
24
|
+
i as a,
|
|
25
|
+
c as b,
|
|
26
|
+
l as c,
|
|
27
|
+
e as g,
|
|
28
|
+
r as s
|
|
29
|
+
};
|
|
@@ -6,11 +6,14 @@ interface Props {
|
|
|
6
6
|
width?: number;
|
|
7
7
|
height?: number;
|
|
8
8
|
canDelete?: boolean;
|
|
9
|
+
/** Passed straight to the drop field and shown as the helper text. */
|
|
10
|
+
accept?: string;
|
|
9
11
|
}
|
|
10
12
|
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
|
|
11
13
|
width: number;
|
|
12
14
|
height: number;
|
|
13
15
|
canDelete: boolean;
|
|
16
|
+
accept: string;
|
|
14
17
|
}>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
15
18
|
"update:model-value": (file: File) => void;
|
|
16
19
|
"reset:model-value": () => void;
|
|
@@ -18,6 +21,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
18
21
|
width: number;
|
|
19
22
|
height: number;
|
|
20
23
|
canDelete: boolean;
|
|
24
|
+
accept: string;
|
|
21
25
|
}>>> & Readonly<{
|
|
22
26
|
"onUpdate:model-value"?: ((file: File) => any) | undefined;
|
|
23
27
|
"onReset:model-value"?: (() => any) | undefined;
|
|
@@ -25,6 +29,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
25
29
|
height: number;
|
|
26
30
|
width: number;
|
|
27
31
|
canDelete: boolean;
|
|
32
|
+
accept: string;
|
|
28
33
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
29
34
|
export default _default;
|
|
30
35
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@feedmepos/mf-settings",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.77-dev.1",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"files": [
|
|
6
6
|
"dist"
|
|
@@ -14,7 +14,6 @@
|
|
|
14
14
|
"./style.css": "./dist/style.css"
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
|
-
"@aws-sdk/client-s3": "3.608.0",
|
|
18
17
|
"@casl/ability": "^3.4.0",
|
|
19
18
|
"@feedmepos/auth": "^1.1.14",
|
|
20
19
|
"@feedmepos/core": "2.15.22",
|
|
@@ -23,6 +22,7 @@
|
|
|
23
22
|
"@feedmepos/mf-e-invoice": "^0.0.6",
|
|
24
23
|
"@feedmepos/custom-attributes": "0.0.1-rc.3",
|
|
25
24
|
"@feedmepos/mf-mdm": "1.4.2-beta.135",
|
|
25
|
+
"@feedmepos/mf-media": "^0.0.3",
|
|
26
26
|
"@feedmepos/ordering-model": "0.1.2-OT315-beta-2",
|
|
27
27
|
"@feedmepos/print": "file:../../core-legacy-1.5.tar.gz",
|
|
28
28
|
"@feedmepos/ui-library": "1.7.0",
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
"vue-pdf-embed": "2.1.0",
|
|
46
46
|
"vue-router": "^4.2.5",
|
|
47
47
|
"vuedraggable": "^4.1.0",
|
|
48
|
-
"@feedmepos/mf-common": "^1.29.
|
|
48
|
+
"@feedmepos/mf-common": "^1.29.30"
|
|
49
49
|
},
|
|
50
50
|
"devDependencies": {
|
|
51
51
|
"@rushstack/eslint-patch": "^1.3.3",
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
export declare const firebaseStorage: {
|
|
2
|
-
get(url: string, bucketUrl?: string): Promise<string>;
|
|
3
|
-
update(url: string, file: File, bucketUrl?: string): Promise<string>;
|
|
4
|
-
delete(url: string, bucketUrl?: string): Promise<void>;
|
|
5
|
-
};
|
|
6
|
-
export declare const r2Storage: {
|
|
7
|
-
get(url: string): Promise<string | ReadableStream<any> | undefined>;
|
|
8
|
-
update(url: string, file: File, config?: {
|
|
9
|
-
includedTime: boolean;
|
|
10
|
-
}): Promise<string>;
|
|
11
|
-
delete(url: string): Promise<void>;
|
|
12
|
-
};
|