@feedmepos/mf-brand-app-builder 0.5.3 → 0.5.4-beta.3
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.js +13581 -7417
- package/dist/components/src/components/ImageDisplay.vue.d.ts +1 -1
- package/dist/components/src/utils/image.d.ts +2 -0
- package/dist/merchant/src/api/business/index.d.ts +7 -1
- package/dist/merchant/src/api/index.d.ts +4 -0
- package/dist/merchant/src/helpers/businessUrl.d.ts +2 -0
- package/dist/merchant/src/utils/image.d.ts +1 -0
- package/dist/package.json +5 -5
- package/dist/style.css +1 -1
- package/package.json +5 -5
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { type IBaResponse } from '..';
|
|
1
2
|
/**
|
|
2
3
|
* Get all business and country info from top-level slug
|
|
3
4
|
* @param slug
|
|
@@ -6,6 +7,10 @@
|
|
|
6
7
|
declare function getGlobalSlug(slug: string): Promise<{
|
|
7
8
|
[key: string]: string;
|
|
8
9
|
}>;
|
|
10
|
+
declare function setShortUrl(slug: string, oldSlug: string, businessId: string): Promise<IBaResponse<{
|
|
11
|
+
slug: string;
|
|
12
|
+
businessId: string;
|
|
13
|
+
}>>;
|
|
9
14
|
/**
|
|
10
15
|
* Get pwa metadata
|
|
11
16
|
* @param businessId
|
|
@@ -18,9 +23,10 @@ declare function getBusinessMetadata(businessId: string): Promise<unknown>;
|
|
|
18
23
|
* @param appName
|
|
19
24
|
*/
|
|
20
25
|
declare function setBusinessMetadata(businessId: string, appName: string, country: string): Promise<unknown>;
|
|
21
|
-
declare function updateBusinessProfile(businessId: string, payload: IBusinessProfilePayload): Promise<
|
|
26
|
+
declare function updateBusinessProfile(businessId: string, payload: IBusinessProfilePayload): Promise<any>;
|
|
22
27
|
export declare const BusinessApi: {
|
|
23
28
|
getGlobalSlug: typeof getGlobalSlug;
|
|
29
|
+
setShortUrl: typeof setShortUrl;
|
|
24
30
|
getBusinessMetadata: typeof getBusinessMetadata;
|
|
25
31
|
setBusinessMetadata: typeof setBusinessMetadata;
|
|
26
32
|
updateBusinessProfile: typeof updateBusinessProfile;
|
|
@@ -1,4 +1,8 @@
|
|
|
1
1
|
import { type AxiosRequestConfig, type AxiosResponse } from 'axios';
|
|
2
|
+
export interface IBaResponse<T = unknown> {
|
|
3
|
+
data?: T;
|
|
4
|
+
message: string;
|
|
5
|
+
}
|
|
2
6
|
export declare function generatePortalBackendUrl(): void;
|
|
3
7
|
declare class ApiClient {
|
|
4
8
|
Get<T>(baseUrl: string, url: string, config?: AxiosRequestConfig): Promise<AxiosResponse<T>>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function replaceLink(link: string): string;
|
package/dist/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@feedmepos/mf-brand-app-builder",
|
|
3
|
-
"version": "0.5.3",
|
|
3
|
+
"version": "0.5.4-beta.3",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"files": [
|
|
6
6
|
"dist"
|
|
@@ -32,16 +32,16 @@
|
|
|
32
32
|
"deploy:npm:prod": "pnpm run build-only:prod && pnpm publish --no-git-checks ."
|
|
33
33
|
},
|
|
34
34
|
"dependencies": {
|
|
35
|
-
"@feedmepos/mf-common": "^1.8.
|
|
35
|
+
"@feedmepos/mf-common": "^1.8.33",
|
|
36
36
|
"@feedmepos/ui-library": "^1.2.39",
|
|
37
|
-
"@formkit/core": "^1.6.
|
|
38
|
-
"@formkit/vue": "^1.6.
|
|
37
|
+
"@formkit/core": "^1.6.7",
|
|
38
|
+
"@formkit/vue": "^1.6.7",
|
|
39
39
|
"axios": "^1.7.2",
|
|
40
40
|
"dotenv": "^16.4.5",
|
|
41
41
|
"pinia": "^2.1.7",
|
|
42
42
|
"qrcode": "^1.5.4",
|
|
43
43
|
"uuid": "^9.0.1",
|
|
44
|
-
"vue": "^3.
|
|
44
|
+
"vue": "^3.5.12",
|
|
45
45
|
"vue-router": "^4.3.2",
|
|
46
46
|
"vue-sonner": "^1.1.4",
|
|
47
47
|
"vuedraggable": "^4.1.0"
|
package/dist/style.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.spinner[data-v-3c8691e9]{animation:progress-circular-dash-3c8691e9 2s ease-in-out infinite,progress-circular-rotate-3c8691e9 2s linear infinite;transform-origin:center center}@keyframes progress-circular-dash-3c8691e9{0%{stroke-dasharray:1,200;stroke-dashoffset:0}50%{stroke-dasharray:100,200;stroke-dashoffset:-15px}to{stroke-dasharray:100,200;stroke-dashoffset:-48px}}@keyframes progress-circular-rotate-3c8691e9{to{transform:rotate(720deg)}}.icon-rounded{font-variation-settings:"FILL" 0}.icon-filled{font-variation-settings:"FILL" 1}.ba-grid-2{grid-template-columns:repeat(2,minmax(0,1fr))}.ba-grid-3{grid-template-columns:repeat(3,minmax(0,1fr))}.ba-grid-4{grid-template-columns:repeat(4,minmax(0,1fr))}.fm-stepper-field--input{text-align:end}
|
|
1
|
+
.spinner[data-v-3c8691e9]{animation:progress-circular-dash-3c8691e9 2s ease-in-out infinite,progress-circular-rotate-3c8691e9 2s linear infinite;transform-origin:center center}@keyframes progress-circular-dash-3c8691e9{0%{stroke-dasharray:1,200;stroke-dashoffset:0}50%{stroke-dasharray:100,200;stroke-dashoffset:-15px}to{stroke-dasharray:100,200;stroke-dashoffset:-48px}}@keyframes progress-circular-rotate-3c8691e9{to{transform:rotate(720deg)}}.icon-rounded{font-variation-settings:"FILL" 0}.icon-filled{font-variation-settings:"FILL" 1}.ba-grid-2{grid-template-columns:repeat(2,minmax(0,1fr))}.ba-grid-3{grid-template-columns:repeat(3,minmax(0,1fr))}.ba-grid-4{grid-template-columns:repeat(4,minmax(0,1fr))}swiper-container::part(bullet-active){height:6px;width:18px;border-radius:6px;background-color:var(--fm-color-primary)}swiper-container::part(bullet){opacity:1;height:6px;width:6px;border-radius:9999;background-color:var(--fm-color-neutral-white)}.fm-stepper-field--input{text-align:end}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@feedmepos/mf-brand-app-builder",
|
|
3
|
-
"version": "0.5.3",
|
|
3
|
+
"version": "0.5.4-beta.3",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"files": [
|
|
6
6
|
"dist"
|
|
@@ -14,16 +14,16 @@
|
|
|
14
14
|
"./style": "./dist/style.css"
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
|
-
"@feedmepos/mf-common": "^1.8.
|
|
17
|
+
"@feedmepos/mf-common": "^1.8.33",
|
|
18
18
|
"@feedmepos/ui-library": "^1.2.39",
|
|
19
|
-
"@formkit/core": "^1.6.
|
|
20
|
-
"@formkit/vue": "^1.6.
|
|
19
|
+
"@formkit/core": "^1.6.7",
|
|
20
|
+
"@formkit/vue": "^1.6.7",
|
|
21
21
|
"axios": "^1.7.2",
|
|
22
22
|
"dotenv": "^16.4.5",
|
|
23
23
|
"pinia": "^2.1.7",
|
|
24
24
|
"qrcode": "^1.5.4",
|
|
25
25
|
"uuid": "^9.0.1",
|
|
26
|
-
"vue": "^3.
|
|
26
|
+
"vue": "^3.5.12",
|
|
27
27
|
"vue-router": "^4.3.2",
|
|
28
28
|
"vue-sonner": "^1.1.4",
|
|
29
29
|
"vuedraggable": "^4.1.0"
|