@feedmepos/mf-settings 0.0.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/README.md +46 -0
- package/dist/app.js +90121 -0
- package/dist/favicon.ico +0 -0
- package/dist/node_modules/@feedmepos/portal-shared/src/api/index.d.ts +3 -0
- package/dist/node_modules/@feedmepos/portal-shared/src/api/public.d.ts +5 -0
- package/dist/node_modules/@feedmepos/portal-shared/src/components/form/FormLabel.vue.d.ts +33 -0
- package/dist/node_modules/@feedmepos/portal-shared/src/components/form/ImageDropField.vue.d.ts +42 -0
- package/dist/node_modules/@feedmepos/portal-shared/src/components/form/RestaurantSelector.vue.d.ts +28 -0
- package/dist/node_modules/@feedmepos/portal-shared/src/components/layout/FullScreenForm.vue.d.ts +32 -0
- package/dist/node_modules/@feedmepos/portal-shared/src/components/layout/PageLayout.vue.d.ts +24 -0
- package/dist/node_modules/@feedmepos/portal-shared/src/components/map/GoogleMap.vue.d.ts +79 -0
- package/dist/node_modules/@feedmepos/portal-shared/src/components/types.d.ts +95 -0
- package/dist/node_modules/@feedmepos/portal-shared/src/composable/clipboard.d.ts +3 -0
- package/dist/node_modules/@feedmepos/portal-shared/src/composable/loading.d.ts +29 -0
- package/dist/node_modules/@feedmepos/portal-shared/src/feature/featureMinVersion.d.ts +34 -0
- package/dist/node_modules/@feedmepos/portal-shared/src/helpers/contextMenu.d.ts +13 -0
- package/dist/node_modules/@feedmepos/portal-shared/src/helpers/createComponent.d.ts +7 -0
- package/dist/node_modules/@feedmepos/portal-shared/src/helpers/createForm.d.ts +2 -0
- package/dist/node_modules/@feedmepos/portal-shared/src/helpers/iteration.d.ts +10 -0
- package/dist/node_modules/@feedmepos/portal-shared/src/helpers/map.d.ts +370 -0
- package/dist/node_modules/@feedmepos/portal-shared/src/helpers/object.d.ts +6 -0
- package/dist/node_modules/@feedmepos/portal-shared/vite-preset.d.ts +10 -0
- package/dist/src/App.vue.d.ts +3 -0
- package/dist/src/Entry.vue.d.ts +2 -0
- package/dist/src/View/Business.vue.d.ts +2 -0
- package/dist/src/View/Device.vue.d.ts +2 -0
- package/dist/src/View/FoodCourt.vue.d.ts +2 -0
- package/dist/src/View/Payout.vue.d.ts +2 -0
- package/dist/src/View/bank.d.ts +36 -0
- package/dist/src/api/business.d.ts +9 -0
- package/dist/src/api/foodCourt.d.ts +16 -0
- package/dist/src/api/index.d.ts +7 -0
- package/dist/src/api/restaurant.d.ts +14 -0
- package/dist/src/app.d.ts +4 -0
- package/dist/src/components/NavigationTab.vue.d.ts +2 -0
- package/dist/src/components/business/Branding.vue.d.ts +2 -0
- package/dist/src/components/business/BusinessForm.vue.d.ts +41 -0
- package/dist/src/components/business/CoordinateDialog.vue.d.ts +27 -0
- package/dist/src/components/business/CoordinateInput.vue.d.ts +45 -0
- package/dist/src/components/business/GeneralInformation.vue.d.ts +15 -0
- package/dist/src/components/business/OperationHoursInput.vue.d.ts +28 -0
- package/dist/src/components/business/RestaurantAddress.vue.d.ts +49 -0
- package/dist/src/components/business/RestaurantForm.vue.d.ts +56 -0
- package/dist/src/components/foodcourt/CreateFoodCourt.vue.d.ts +26 -0
- package/dist/src/components/foodcourt/EditFoodCourt.vue.d.ts +28 -0
- package/dist/src/components/foodcourt/InviteFoodCourtMemberDialog.vue.d.ts +525 -0
- package/dist/src/components/foodcourt/foodCourt.d.ts +17 -0
- package/dist/src/components/payout/PayoutForm.vue.d.ts +79 -0
- package/dist/src/composable/search.d.ts +4 -0
- package/dist/src/extensions/business.d.ts +2 -0
- package/dist/src/extensions/profile.d.ts +27 -0
- package/dist/src/helpers/businessUrl.d.ts +2 -0
- package/dist/src/main.d.ts +1 -0
- package/dist/src/manager/restaurant.d.ts +12 -0
- package/dist/src/plugins/r2Storage.d.ts +12 -0
- package/dist/src/router/index.d.ts +2 -0
- package/dist/src/router/shared.d.ts +2 -0
- package/dist/src/types/business.d.ts +0 -0
- package/dist/src/types/permission.d.ts +68 -0
- package/dist/src/types/restaurant.d.ts +24 -0
- package/dist/style.css +1 -0
- package/dist/tsconfig.app.tsbuildinfo +1 -0
- package/package.json +83 -0
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { type PropType } from "vue";
|
|
2
|
+
import type { OperatingHours } from "@/types/restaurant";
|
|
3
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
4
|
+
modelValue: {
|
|
5
|
+
type: PropType<OperatingHours | null>;
|
|
6
|
+
default: undefined;
|
|
7
|
+
};
|
|
8
|
+
title: {
|
|
9
|
+
type: StringConstructor;
|
|
10
|
+
required: false;
|
|
11
|
+
};
|
|
12
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
13
|
+
"update:model-value": (value: OperatingHours) => void;
|
|
14
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
15
|
+
modelValue: {
|
|
16
|
+
type: PropType<OperatingHours | null>;
|
|
17
|
+
default: undefined;
|
|
18
|
+
};
|
|
19
|
+
title: {
|
|
20
|
+
type: StringConstructor;
|
|
21
|
+
required: false;
|
|
22
|
+
};
|
|
23
|
+
}>> & Readonly<{
|
|
24
|
+
"onUpdate:model-value"?: ((value: OperatingHours) => any) | undefined;
|
|
25
|
+
}>, {
|
|
26
|
+
modelValue: OperatingHours | null;
|
|
27
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
28
|
+
export default _default;
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import { type PropType } from "vue";
|
|
2
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
3
|
+
modelValue: {
|
|
4
|
+
type: PropType<{
|
|
5
|
+
coordinates?: number[] | null | undefined;
|
|
6
|
+
line2?: string | null | undefined;
|
|
7
|
+
state: string;
|
|
8
|
+
country: string;
|
|
9
|
+
line1: string;
|
|
10
|
+
city: string;
|
|
11
|
+
postcode: string;
|
|
12
|
+
} | undefined>;
|
|
13
|
+
required: true;
|
|
14
|
+
};
|
|
15
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
16
|
+
"update:model-value": (value: {
|
|
17
|
+
coordinates?: number[] | null | undefined;
|
|
18
|
+
line2?: string | null | undefined;
|
|
19
|
+
state: string;
|
|
20
|
+
country: string;
|
|
21
|
+
line1: string;
|
|
22
|
+
city: string;
|
|
23
|
+
postcode: string;
|
|
24
|
+
}) => void;
|
|
25
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
26
|
+
modelValue: {
|
|
27
|
+
type: PropType<{
|
|
28
|
+
coordinates?: number[] | null | undefined;
|
|
29
|
+
line2?: string | null | undefined;
|
|
30
|
+
state: string;
|
|
31
|
+
country: string;
|
|
32
|
+
line1: string;
|
|
33
|
+
city: string;
|
|
34
|
+
postcode: string;
|
|
35
|
+
} | undefined>;
|
|
36
|
+
required: true;
|
|
37
|
+
};
|
|
38
|
+
}>> & Readonly<{
|
|
39
|
+
"onUpdate:model-value"?: ((value: {
|
|
40
|
+
coordinates?: number[] | null | undefined;
|
|
41
|
+
line2?: string | null | undefined;
|
|
42
|
+
state: string;
|
|
43
|
+
country: string;
|
|
44
|
+
line1: string;
|
|
45
|
+
city: string;
|
|
46
|
+
postcode: string;
|
|
47
|
+
}) => any) | undefined;
|
|
48
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
49
|
+
export default _default;
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
import { type PropType } from "vue";
|
|
2
|
+
import { type Profile } from "@/extensions/profile";
|
|
3
|
+
import type { ExtendedRestaurant } from "@/types/restaurant";
|
|
4
|
+
export interface RestaurantDialogData extends Profile {
|
|
5
|
+
newThumbnailPhoto?: File;
|
|
6
|
+
newCoverPhoto?: File;
|
|
7
|
+
newPhotos?: File[];
|
|
8
|
+
}
|
|
9
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
10
|
+
restaurantId: {
|
|
11
|
+
type: StringConstructor;
|
|
12
|
+
default: undefined;
|
|
13
|
+
};
|
|
14
|
+
restaurant: {
|
|
15
|
+
type: PropType<ExtendedRestaurant>;
|
|
16
|
+
};
|
|
17
|
+
initialValue: {
|
|
18
|
+
type: PropType<RestaurantDialogData>;
|
|
19
|
+
default: undefined;
|
|
20
|
+
};
|
|
21
|
+
enableFeedmeExpress: {
|
|
22
|
+
type: BooleanConstructor;
|
|
23
|
+
required: true;
|
|
24
|
+
};
|
|
25
|
+
}>, {
|
|
26
|
+
trigger: (restaurantId?: string | undefined, initialValue?: RestaurantDialogData | undefined) => void;
|
|
27
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
28
|
+
restaurantId: {
|
|
29
|
+
type: StringConstructor;
|
|
30
|
+
default: undefined;
|
|
31
|
+
};
|
|
32
|
+
restaurant: {
|
|
33
|
+
type: PropType<ExtendedRestaurant>;
|
|
34
|
+
};
|
|
35
|
+
initialValue: {
|
|
36
|
+
type: PropType<RestaurantDialogData>;
|
|
37
|
+
default: undefined;
|
|
38
|
+
};
|
|
39
|
+
enableFeedmeExpress: {
|
|
40
|
+
type: BooleanConstructor;
|
|
41
|
+
required: true;
|
|
42
|
+
};
|
|
43
|
+
}>> & Readonly<{}>, {
|
|
44
|
+
restaurantId: string;
|
|
45
|
+
initialValue: RestaurantDialogData;
|
|
46
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, {
|
|
47
|
+
trigger?(_: {
|
|
48
|
+
trigger: (restaurantId?: string | undefined, initialValue?: RestaurantDialogData | undefined) => void;
|
|
49
|
+
}): any;
|
|
50
|
+
}>;
|
|
51
|
+
export default _default;
|
|
52
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
53
|
+
new (): {
|
|
54
|
+
$slots: S;
|
|
55
|
+
};
|
|
56
|
+
};
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
interface Props {
|
|
2
|
+
onSuccess?: () => void;
|
|
3
|
+
}
|
|
4
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>, {
|
|
5
|
+
show: import("vue").Ref<boolean, boolean>;
|
|
6
|
+
trigger: (event?: any) => void;
|
|
7
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, {
|
|
8
|
+
default?(_: {
|
|
9
|
+
trigger: (event?: any) => void;
|
|
10
|
+
}): any;
|
|
11
|
+
}>;
|
|
12
|
+
export default _default;
|
|
13
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
14
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
15
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
16
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
17
|
+
} : {
|
|
18
|
+
type: import('vue').PropType<T[K]>;
|
|
19
|
+
required: true;
|
|
20
|
+
};
|
|
21
|
+
};
|
|
22
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
23
|
+
new (): {
|
|
24
|
+
$slots: S;
|
|
25
|
+
};
|
|
26
|
+
};
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { type FoodCourtDto } from "@feedmepos/ordering-model";
|
|
2
|
+
interface Props {
|
|
3
|
+
initialValue: FoodCourtDto;
|
|
4
|
+
onSuccess?: () => void;
|
|
5
|
+
}
|
|
6
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>, {
|
|
7
|
+
show: import("vue").Ref<boolean, boolean>;
|
|
8
|
+
trigger: (event?: any) => void;
|
|
9
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, {
|
|
10
|
+
default?(_: {
|
|
11
|
+
trigger: (event?: any) => void;
|
|
12
|
+
}): any;
|
|
13
|
+
}>;
|
|
14
|
+
export default _default;
|
|
15
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
16
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
17
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
18
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
19
|
+
} : {
|
|
20
|
+
type: import('vue').PropType<T[K]>;
|
|
21
|
+
required: true;
|
|
22
|
+
};
|
|
23
|
+
};
|
|
24
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
25
|
+
new (): {
|
|
26
|
+
$slots: S;
|
|
27
|
+
};
|
|
28
|
+
};
|