@feedmepos/mf-common 1.4.1 → 1.6.0
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/App.vue.d.ts +3 -2
- package/dist/App.vue.d.ts.map +1 -0
- package/dist/api/index.d.ts +1 -0
- package/dist/api/index.d.ts.map +1 -0
- package/dist/app.d.ts +1 -0
- package/dist/app.d.ts.map +1 -0
- package/dist/app.js +194695 -46835
- package/dist/auth.d.ts +1 -0
- package/dist/auth.d.ts.map +1 -0
- package/dist/components/AllBusinessDialog.vue.d.ts +17 -0
- package/dist/components/AllBusinessDialog.vue.d.ts.map +1 -0
- package/dist/components/FeedmeLogo.vue.d.ts +2 -1
- package/dist/components/FeedmeLogo.vue.d.ts.map +1 -0
- package/dist/components/MyBusinessDialog.vue.d.ts +15 -0
- package/dist/components/MyBusinessDialog.vue.d.ts.map +1 -0
- package/dist/components/Portal/BusinessDialogMobile.vue.d.ts +17 -0
- package/dist/components/Portal/BusinessDialogMobile.vue.d.ts.map +1 -0
- package/dist/components/Portal/PortalDesktop.vue.d.ts +101 -0
- package/dist/components/Portal/PortalDesktop.vue.d.ts.map +1 -0
- package/dist/components/Portal/PortalMobile.vue.d.ts +102 -0
- package/dist/components/Portal/PortalMobile.vue.d.ts.map +1 -0
- package/dist/components/Portal/PortalTablet.vue.d.ts +101 -0
- package/dist/components/Portal/PortalTablet.vue.d.ts.map +1 -0
- package/dist/components/Portal/index.d.ts +21 -0
- package/dist/components/Portal/index.d.ts.map +1 -0
- package/dist/components/Portal/index.vue.d.ts +101 -0
- package/dist/components/Portal/index.vue.d.ts.map +1 -0
- package/dist/components/SelectCountryDialog.vue.d.ts +89 -0
- package/dist/components/SelectCountryDialog.vue.d.ts.map +1 -0
- package/dist/components/UserInfo/ProfileMenuItem.vue.d.ts +25 -0
- package/dist/components/UserInfo/ProfileMenuItem.vue.d.ts.map +1 -0
- package/dist/components/UserInfo/index.vue.d.ts +199 -0
- package/dist/components/UserInfo/index.vue.d.ts.map +1 -0
- package/dist/main.d.ts +1 -0
- package/dist/main.d.ts.map +1 -0
- package/dist/store.d.ts +3927 -5914
- package/dist/store.d.ts.map +1 -0
- package/dist/style.css +1 -1
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/dist/vite-preset.d.ts +7 -1
- package/dist/vite-preset.d.ts.map +1 -0
- package/dist/vite-preset.js +66 -50
- package/package.json +6 -6
- package/dist/components/AllStoreDialog.vue.d.ts +0 -2
- package/dist/components/UserInfo.vue.d.ts +0 -183
package/dist/vite-preset.js
CHANGED
@@ -1,104 +1,120 @@
|
|
1
|
-
import { resolve as
|
2
|
-
import { readFileSync as
|
3
|
-
const
|
4
|
-
const
|
5
|
-
return new RegExp(`^(${
|
6
|
-
},
|
1
|
+
import { resolve as x } from "path";
|
2
|
+
import { readFileSync as v } from "fs";
|
3
|
+
const b = (l) => {
|
4
|
+
const s = l.join("|");
|
5
|
+
return new RegExp(`^(${s})(\\/.*)?$`);
|
6
|
+
}, j = ({
|
7
7
|
externals: l
|
8
8
|
}) => {
|
9
|
-
const
|
9
|
+
const s = b(l);
|
10
10
|
return {
|
11
11
|
name: "externalize",
|
12
12
|
setup(e) {
|
13
|
-
e.onResolve({ filter:
|
14
|
-
path:
|
13
|
+
e.onResolve({ filter: s }, (r) => ({
|
14
|
+
path: r.path,
|
15
15
|
namespace: "externalize"
|
16
|
-
})), e.onLoad({ filter:
|
16
|
+
})), e.onLoad({ filter: s }, () => ({
|
17
17
|
contents: ""
|
18
18
|
}));
|
19
19
|
}
|
20
20
|
};
|
21
|
-
},
|
22
|
-
const
|
23
|
-
`${
|
21
|
+
}, O = (l) => {
|
22
|
+
const s = "/@id/", e = new RegExp(
|
23
|
+
`${s}(${l.join("|")})`,
|
24
24
|
"g"
|
25
25
|
);
|
26
26
|
return {
|
27
27
|
name: "vite-plugin-remove-prefix",
|
28
|
-
transform: (
|
28
|
+
transform: (r) => e.test(r) ? r.replace(
|
29
29
|
e,
|
30
|
-
(
|
31
|
-
) :
|
30
|
+
(n, c) => c
|
31
|
+
) : r
|
32
32
|
};
|
33
|
-
},
|
34
|
-
const { externals:
|
33
|
+
}, z = (l) => {
|
34
|
+
const { externals: s } = l;
|
35
35
|
return {
|
36
36
|
name: "vite-plugin-externalize",
|
37
37
|
enforce: "pre",
|
38
38
|
apply: "serve",
|
39
39
|
config: (e) => {
|
40
|
-
var
|
41
|
-
const
|
42
|
-
return
|
43
|
-
|
44
|
-
)),
|
40
|
+
var r;
|
41
|
+
const n = { ...e };
|
42
|
+
return n.optimizeDeps && n.optimizeDeps.esbuildOptions && ((r = n.optimizeDeps.esbuildOptions).plugins ?? (r.plugins = []), n.optimizeDeps.esbuildOptions.plugins.push(
|
43
|
+
j({ externals: s })
|
44
|
+
)), n;
|
45
45
|
},
|
46
46
|
configResolved: (e) => {
|
47
47
|
if (e.optimizeDeps && e.optimizeDeps.include) {
|
48
|
-
const
|
49
|
-
(
|
48
|
+
const n = e.optimizeDeps.include.filter(
|
49
|
+
(c) => !s.includes(c)
|
50
50
|
);
|
51
|
-
e.optimizeDeps.include =
|
51
|
+
e.optimizeDeps.include = n;
|
52
52
|
}
|
53
|
-
e.optimizeDeps && (e.optimizeDeps.exclude = e.optimizeDeps.exclude || [], e.optimizeDeps.exclude.push(...
|
54
|
-
const
|
55
|
-
e.plugins.push(
|
53
|
+
e.optimizeDeps && (e.optimizeDeps.exclude = e.optimizeDeps.exclude || [], e.optimizeDeps.exclude.push(...s));
|
54
|
+
const r = O(s);
|
55
|
+
e.plugins.push(r);
|
56
56
|
},
|
57
57
|
// Supresses the following warning:
|
58
58
|
// Failed to resolve import [dependency] from [sourceFile]. Does the file exist?
|
59
|
-
resolveId: (e) =>
|
59
|
+
resolveId: (e) => s.includes(e) ? { id: e, external: !0 } : null,
|
60
60
|
// Supresses the following warning:
|
61
61
|
// The following dependencies are imported but could not be resolved:
|
62
62
|
// [dependency] (imported by [sourceFile])
|
63
|
-
load: (e) =>
|
63
|
+
load: (e) => s.includes(e) ? "export default {};" : null
|
64
64
|
};
|
65
|
-
},
|
66
|
-
var
|
67
|
-
const
|
68
|
-
x(
|
69
|
-
),
|
65
|
+
}, y = "@feedmepos/mf-", P = (l, { command: s, mode: e }, r = {}) => {
|
66
|
+
var m, d, f, g;
|
67
|
+
const n = JSON.parse(
|
68
|
+
v(x(process.cwd(), "package.json"), "utf-8")
|
69
|
+
), c = Object.keys(n.dependencies).filter((t) => t.startsWith(y)).reduce((t, i) => (t[i] = n.dependencies[i], t), {});
|
70
|
+
(m = r.includeFmmfPackages) == null || m.forEach((t) => {
|
71
|
+
c[t] = n.dependencies[t] ?? "latest";
|
72
|
+
}), (d = r.excludeFmmfPackages) == null || d.forEach((t) => {
|
73
|
+
delete c[t];
|
74
|
+
});
|
75
|
+
let o = {
|
76
|
+
"@vue/devtools-api": "^6.5.0/lib/esm/index.js"
|
77
|
+
}, u = [...Object.keys(o), ...Object.keys(c)];
|
78
|
+
const p = { ...l };
|
79
|
+
s == "build" && e == "fmmf" && (o = {
|
80
|
+
...o,
|
70
81
|
vue: "^3.3.4/dist/vue.esm-browser.prod.min.js",
|
71
|
-
"
|
72
|
-
pinia: "^2.1.7/+esm"
|
73
|
-
|
74
|
-
}, u = [...Object.keys(o), ...Object.keys(p)], n = { ...l };
|
75
|
-
t == "build" && e == "fmmf" && (n.build = {
|
82
|
+
"vue-router": "^4.2.5/dist/vue-router.esm-browser.min.js",
|
83
|
+
pinia: "^2.1.7/+esm"
|
84
|
+
}, u = [...Object.keys(c), ...Object.keys(o)], p.build = {
|
76
85
|
emptyOutDir: !0,
|
77
86
|
lib: {
|
78
87
|
entry: {
|
79
|
-
app:
|
88
|
+
app: x(process.cwd(), "src/app.ts")
|
80
89
|
},
|
81
90
|
formats: ["es"]
|
82
91
|
},
|
83
92
|
rollupOptions: {
|
84
93
|
external: u
|
85
94
|
}
|
86
|
-
}),
|
95
|
+
}), p.plugins ?? (p.plugins = []), p.plugins.push(z({ externals: u })), p.build ?? (p.build = {}), (f = p.build).rollupOptions ?? (f.rollupOptions = {}), (g = p.build.rollupOptions).external ?? (g.external = []);
|
87
96
|
const a = {
|
88
97
|
imports: {
|
89
|
-
...Object.keys(
|
90
|
-
...Object.keys(o).reduce((
|
98
|
+
...Object.keys(c).reduce((t, i) => (t[i] = `https://cdn.jsdelivr.net/npm/${i}@latest/dist/app.js`, t), {}),
|
99
|
+
...Object.keys(o).reduce((t, i) => (t[i] = `https://cdn.jsdelivr.net/npm/${i}@${o[i]}`, t), {})
|
91
100
|
}
|
92
|
-
}
|
101
|
+
};
|
102
|
+
r.replaceFmmfPackages && Object.entries(r.replaceFmmfPackages).forEach(([t, i]) => {
|
103
|
+
if (t.startsWith("@feedmepos/mf-") || t === "@feedmepos/ui-library")
|
104
|
+
a.imports[t] = i;
|
105
|
+
else
|
106
|
+
throw new Error(`Invalid replaceFmmfPackages key: ${t}, must start with @feedmepos/mf-`);
|
107
|
+
});
|
108
|
+
const h = {
|
93
109
|
name: "vite-plugin-feedme-microfrontend",
|
94
110
|
enforce: "pre",
|
95
111
|
config: async () => {
|
96
112
|
},
|
97
113
|
transformIndexHtml: {
|
98
114
|
enforce: "pre",
|
99
|
-
transform(
|
115
|
+
transform(t) {
|
100
116
|
return {
|
101
|
-
html:
|
117
|
+
html: t,
|
102
118
|
tags: [
|
103
119
|
{
|
104
120
|
tag: "script",
|
@@ -120,8 +136,8 @@ const g = (l) => {
|
|
120
136
|
}
|
121
137
|
}
|
122
138
|
};
|
123
|
-
return
|
139
|
+
return p.plugins.push(h), p;
|
124
140
|
};
|
125
141
|
export {
|
126
|
-
|
142
|
+
P as fmmfVitePresent
|
127
143
|
};
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@feedmepos/mf-common",
|
3
|
-
"version": "1.
|
3
|
+
"version": "1.6.0",
|
4
4
|
"type": "module",
|
5
5
|
"files": [
|
6
6
|
"dist"
|
@@ -15,15 +15,13 @@
|
|
15
15
|
},
|
16
16
|
"./style.css": "./dist/style.css"
|
17
17
|
},
|
18
|
-
"publishConfig": {
|
19
|
-
"registry": "https://registry.npmjs.org"
|
20
|
-
},
|
21
18
|
"dependencies": {
|
22
19
|
"@feedmepos/core": "^2.0.0",
|
23
|
-
"@
|
20
|
+
"@vue/devtools-api": "^6.5.0",
|
24
21
|
"axios": "^1.6.0",
|
22
|
+
"libphonenumber-js": "^1.11.1",
|
25
23
|
"pinia": "^2.1.6",
|
26
|
-
"vue": "^3.
|
24
|
+
"vue": "^3.4.27",
|
27
25
|
"vue-router": "^4.2.5"
|
28
26
|
},
|
29
27
|
"devDependencies": {
|
@@ -40,6 +38,7 @@
|
|
40
38
|
"npm-run-all2": "^6.0.6",
|
41
39
|
"postcss": "^8.4.31",
|
42
40
|
"prettier": "^3.0.3",
|
41
|
+
"sass": "^1.77.1",
|
43
42
|
"tailwindcss": "^3.3.3",
|
44
43
|
"typescript": "~5.2.0",
|
45
44
|
"vite": "^4.4.9",
|
@@ -54,6 +53,7 @@
|
|
54
53
|
"build:vitePreset": "vite build --mode vite-preset",
|
55
54
|
"build:dts": "vue-tsc --declaration --emitDeclarationOnly -p tsconfig.app.json --outDir ./dist && mv ./dist/src/* dist",
|
56
55
|
"publish-npm": "pnpm build:mf && pnpm build:dts && pnpm build:vitePreset && pnpm publish --no-git-checks",
|
56
|
+
"deploy": "pnpm run build-only && pnpm publish --no-git-checks .",
|
57
57
|
"build-only": "pnpm build:mf && pnpm build:dts && pnpm build:vitePreset",
|
58
58
|
"type-check": "vue-tsc --noEmit -p tsconfig.app.json --composite false",
|
59
59
|
"lint": "eslint . --ext .vue,.js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --fix --ignore-path .gitignore",
|
@@ -1,2 +0,0 @@
|
|
1
|
-
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
|
2
|
-
export default _default;
|
@@ -1,183 +0,0 @@
|
|
1
|
-
import { type PropType } from 'vue';
|
2
|
-
import type { FeedMeUser } from '../auth';
|
3
|
-
import { type FmpBusiness } from '../store';
|
4
|
-
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
5
|
-
user: {
|
6
|
-
type: PropType<FeedMeUser | null>;
|
7
|
-
default: undefined;
|
8
|
-
};
|
9
|
-
businesses: {
|
10
|
-
type: PropType<FmpBusiness[]>;
|
11
|
-
required: true;
|
12
|
-
};
|
13
|
-
currentBusiness: {
|
14
|
-
type: PropType<FmpBusiness>;
|
15
|
-
default: undefined;
|
16
|
-
};
|
17
|
-
countries: {
|
18
|
-
type: PropType<{
|
19
|
-
code: "AF" | "AX" | "AL" | "DZ" | "AS" | "AD" | "AO" | "AI" | "AQ" | "AG" | "AR" | "AM" | "AW" | "AU" | "AT" | "AZ" | "BS" | "BH" | "BD" | "BB" | "BY" | "BE" | "BZ" | "BJ" | "BM" | "BT" | "BO" | "BQ" | "BA" | "BW" | "BV" | "BR" | "IO" | "BN" | "BG" | "BF" | "BI" | "KH" | "CM" | "CA" | "CV" | "KY" | "CF" | "TD" | "CL" | "CN" | "CX" | "CC" | "CO" | "KM" | "CG" | "CD" | "CK" | "CR" | "CI" | "HR" | "CU" | "CW" | "CY" | "CZ" | "DK" | "DJ" | "DM" | "DO" | "EC" | "EG" | "SV" | "GQ" | "ER" | "EE" | "ET" | "FK" | "FO" | "FJ" | "FI" | "FR" | "GF" | "PF" | "TF" | "GA" | "GM" | "GE" | "DE" | "GH" | "GI" | "GR" | "GL" | "GD" | "GP" | "GU" | "GT" | "GG" | "GN" | "GW" | "GY" | "HT" | "HM" | "VA" | "HN" | "HK" | "HU" | "IS" | "IN" | "ID" | "IR" | "IQ" | "IE" | "IM" | "IL" | "IT" | "JM" | "JP" | "JE" | "JO" | "KZ" | "KE" | "KI" | "KR" | "KP" | "KW" | "KG" | "LA" | "LV" | "LB" | "LS" | "LR" | "LY" | "LI" | "LT" | "LU" | "MO" | "MK" | "MG" | "MW" | "MY" | "MV" | "ML" | "MT" | "MH" | "MQ" | "MR" | "MU" | "YT" | "MX" | "FM" | "MD" | "MC" | "MN" | "ME" | "MS" | "MA" | "MZ" | "MM" | "NA" | "NR" | "NP" | "NL" | "NC" | "NZ" | "NI" | "NE" | "NG" | "NU" | "NF" | "MP" | "NO" | "OM" | "PK" | "PW" | "PS" | "PA" | "PG" | "PY" | "PE" | "PH" | "PN" | "PL" | "PT" | "PR" | "QA" | "RE" | "RO" | "RU" | "RW" | "BL" | "SH" | "KN" | "LC" | "MF" | "PM" | "VC" | "WS" | "SM" | "ST" | "SA" | "SN" | "RS" | "SC" | "SL" | "SG" | "SX" | "SK" | "SI" | "SB" | "SO" | "ZA" | "GS" | "SS" | "ES" | "LK" | "SD" | "SR" | "SJ" | "SZ" | "SE" | "CH" | "SY" | "TW" | "TJ" | "TZ" | "TH" | "TL" | "TG" | "TK" | "TO" | "TT" | "TN" | "TR" | "TM" | "TC" | "TV" | "UG" | "UA" | "AE" | "GB" | "US" | "UM" | "UY" | "UZ" | "VU" | "VE" | "VN" | "VG" | "VI" | "WF" | "EH" | "YE" | "ZM" | "ZW";
|
20
|
-
name: string;
|
21
|
-
currency: {
|
22
|
-
symbol: string;
|
23
|
-
code: string;
|
24
|
-
precision: number;
|
25
|
-
format: string;
|
26
|
-
};
|
27
|
-
taxSystems: {
|
28
|
-
code: string;
|
29
|
-
name: string;
|
30
|
-
variants: {
|
31
|
-
default?: boolean | null | undefined;
|
32
|
-
rateByTime?: {
|
33
|
-
rate: {
|
34
|
-
amount: number;
|
35
|
-
precision: number;
|
36
|
-
};
|
37
|
-
startDate: string;
|
38
|
-
}[] | undefined;
|
39
|
-
code: string;
|
40
|
-
name: string;
|
41
|
-
rate: {
|
42
|
-
amount: number;
|
43
|
-
precision: number;
|
44
|
-
};
|
45
|
-
}[];
|
46
|
-
}[];
|
47
|
-
}[]>;
|
48
|
-
required: true;
|
49
|
-
};
|
50
|
-
currentCountry: {
|
51
|
-
type: StringConstructor;
|
52
|
-
required: true;
|
53
|
-
};
|
54
|
-
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
55
|
-
login: () => void;
|
56
|
-
logout: () => void;
|
57
|
-
"select-business": (business: FmpBusiness) => void;
|
58
|
-
"select-country": (country: {
|
59
|
-
code: "AF" | "AX" | "AL" | "DZ" | "AS" | "AD" | "AO" | "AI" | "AQ" | "AG" | "AR" | "AM" | "AW" | "AU" | "AT" | "AZ" | "BS" | "BH" | "BD" | "BB" | "BY" | "BE" | "BZ" | "BJ" | "BM" | "BT" | "BO" | "BQ" | "BA" | "BW" | "BV" | "BR" | "IO" | "BN" | "BG" | "BF" | "BI" | "KH" | "CM" | "CA" | "CV" | "KY" | "CF" | "TD" | "CL" | "CN" | "CX" | "CC" | "CO" | "KM" | "CG" | "CD" | "CK" | "CR" | "CI" | "HR" | "CU" | "CW" | "CY" | "CZ" | "DK" | "DJ" | "DM" | "DO" | "EC" | "EG" | "SV" | "GQ" | "ER" | "EE" | "ET" | "FK" | "FO" | "FJ" | "FI" | "FR" | "GF" | "PF" | "TF" | "GA" | "GM" | "GE" | "DE" | "GH" | "GI" | "GR" | "GL" | "GD" | "GP" | "GU" | "GT" | "GG" | "GN" | "GW" | "GY" | "HT" | "HM" | "VA" | "HN" | "HK" | "HU" | "IS" | "IN" | "ID" | "IR" | "IQ" | "IE" | "IM" | "IL" | "IT" | "JM" | "JP" | "JE" | "JO" | "KZ" | "KE" | "KI" | "KR" | "KP" | "KW" | "KG" | "LA" | "LV" | "LB" | "LS" | "LR" | "LY" | "LI" | "LT" | "LU" | "MO" | "MK" | "MG" | "MW" | "MY" | "MV" | "ML" | "MT" | "MH" | "MQ" | "MR" | "MU" | "YT" | "MX" | "FM" | "MD" | "MC" | "MN" | "ME" | "MS" | "MA" | "MZ" | "MM" | "NA" | "NR" | "NP" | "NL" | "NC" | "NZ" | "NI" | "NE" | "NG" | "NU" | "NF" | "MP" | "NO" | "OM" | "PK" | "PW" | "PS" | "PA" | "PG" | "PY" | "PE" | "PH" | "PN" | "PL" | "PT" | "PR" | "QA" | "RE" | "RO" | "RU" | "RW" | "BL" | "SH" | "KN" | "LC" | "MF" | "PM" | "VC" | "WS" | "SM" | "ST" | "SA" | "SN" | "RS" | "SC" | "SL" | "SG" | "SX" | "SK" | "SI" | "SB" | "SO" | "ZA" | "GS" | "SS" | "ES" | "LK" | "SD" | "SR" | "SJ" | "SZ" | "SE" | "CH" | "SY" | "TW" | "TJ" | "TZ" | "TH" | "TL" | "TG" | "TK" | "TO" | "TT" | "TN" | "TR" | "TM" | "TC" | "TV" | "UG" | "UA" | "AE" | "GB" | "US" | "UM" | "UY" | "UZ" | "VU" | "VE" | "VN" | "VG" | "VI" | "WF" | "EH" | "YE" | "ZM" | "ZW";
|
60
|
-
name: string;
|
61
|
-
currency: {
|
62
|
-
symbol: string;
|
63
|
-
code: string;
|
64
|
-
precision: number;
|
65
|
-
format: string;
|
66
|
-
};
|
67
|
-
taxSystems: {
|
68
|
-
code: string;
|
69
|
-
name: string;
|
70
|
-
variants: {
|
71
|
-
default?: boolean | null | undefined;
|
72
|
-
rateByTime?: {
|
73
|
-
rate: {
|
74
|
-
amount: number;
|
75
|
-
precision: number;
|
76
|
-
};
|
77
|
-
startDate: string;
|
78
|
-
}[] | undefined;
|
79
|
-
code: string;
|
80
|
-
name: string;
|
81
|
-
rate: {
|
82
|
-
amount: number;
|
83
|
-
precision: number;
|
84
|
-
};
|
85
|
-
}[];
|
86
|
-
}[];
|
87
|
-
}) => void;
|
88
|
-
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
89
|
-
user: {
|
90
|
-
type: PropType<FeedMeUser | null>;
|
91
|
-
default: undefined;
|
92
|
-
};
|
93
|
-
businesses: {
|
94
|
-
type: PropType<FmpBusiness[]>;
|
95
|
-
required: true;
|
96
|
-
};
|
97
|
-
currentBusiness: {
|
98
|
-
type: PropType<FmpBusiness>;
|
99
|
-
default: undefined;
|
100
|
-
};
|
101
|
-
countries: {
|
102
|
-
type: PropType<{
|
103
|
-
code: "AF" | "AX" | "AL" | "DZ" | "AS" | "AD" | "AO" | "AI" | "AQ" | "AG" | "AR" | "AM" | "AW" | "AU" | "AT" | "AZ" | "BS" | "BH" | "BD" | "BB" | "BY" | "BE" | "BZ" | "BJ" | "BM" | "BT" | "BO" | "BQ" | "BA" | "BW" | "BV" | "BR" | "IO" | "BN" | "BG" | "BF" | "BI" | "KH" | "CM" | "CA" | "CV" | "KY" | "CF" | "TD" | "CL" | "CN" | "CX" | "CC" | "CO" | "KM" | "CG" | "CD" | "CK" | "CR" | "CI" | "HR" | "CU" | "CW" | "CY" | "CZ" | "DK" | "DJ" | "DM" | "DO" | "EC" | "EG" | "SV" | "GQ" | "ER" | "EE" | "ET" | "FK" | "FO" | "FJ" | "FI" | "FR" | "GF" | "PF" | "TF" | "GA" | "GM" | "GE" | "DE" | "GH" | "GI" | "GR" | "GL" | "GD" | "GP" | "GU" | "GT" | "GG" | "GN" | "GW" | "GY" | "HT" | "HM" | "VA" | "HN" | "HK" | "HU" | "IS" | "IN" | "ID" | "IR" | "IQ" | "IE" | "IM" | "IL" | "IT" | "JM" | "JP" | "JE" | "JO" | "KZ" | "KE" | "KI" | "KR" | "KP" | "KW" | "KG" | "LA" | "LV" | "LB" | "LS" | "LR" | "LY" | "LI" | "LT" | "LU" | "MO" | "MK" | "MG" | "MW" | "MY" | "MV" | "ML" | "MT" | "MH" | "MQ" | "MR" | "MU" | "YT" | "MX" | "FM" | "MD" | "MC" | "MN" | "ME" | "MS" | "MA" | "MZ" | "MM" | "NA" | "NR" | "NP" | "NL" | "NC" | "NZ" | "NI" | "NE" | "NG" | "NU" | "NF" | "MP" | "NO" | "OM" | "PK" | "PW" | "PS" | "PA" | "PG" | "PY" | "PE" | "PH" | "PN" | "PL" | "PT" | "PR" | "QA" | "RE" | "RO" | "RU" | "RW" | "BL" | "SH" | "KN" | "LC" | "MF" | "PM" | "VC" | "WS" | "SM" | "ST" | "SA" | "SN" | "RS" | "SC" | "SL" | "SG" | "SX" | "SK" | "SI" | "SB" | "SO" | "ZA" | "GS" | "SS" | "ES" | "LK" | "SD" | "SR" | "SJ" | "SZ" | "SE" | "CH" | "SY" | "TW" | "TJ" | "TZ" | "TH" | "TL" | "TG" | "TK" | "TO" | "TT" | "TN" | "TR" | "TM" | "TC" | "TV" | "UG" | "UA" | "AE" | "GB" | "US" | "UM" | "UY" | "UZ" | "VU" | "VE" | "VN" | "VG" | "VI" | "WF" | "EH" | "YE" | "ZM" | "ZW";
|
104
|
-
name: string;
|
105
|
-
currency: {
|
106
|
-
symbol: string;
|
107
|
-
code: string;
|
108
|
-
precision: number;
|
109
|
-
format: string;
|
110
|
-
};
|
111
|
-
taxSystems: {
|
112
|
-
code: string;
|
113
|
-
name: string;
|
114
|
-
variants: {
|
115
|
-
default?: boolean | null | undefined;
|
116
|
-
rateByTime?: {
|
117
|
-
rate: {
|
118
|
-
amount: number;
|
119
|
-
precision: number;
|
120
|
-
};
|
121
|
-
startDate: string;
|
122
|
-
}[] | undefined;
|
123
|
-
code: string;
|
124
|
-
name: string;
|
125
|
-
rate: {
|
126
|
-
amount: number;
|
127
|
-
precision: number;
|
128
|
-
};
|
129
|
-
}[];
|
130
|
-
}[];
|
131
|
-
}[]>;
|
132
|
-
required: true;
|
133
|
-
};
|
134
|
-
currentCountry: {
|
135
|
-
type: StringConstructor;
|
136
|
-
required: true;
|
137
|
-
};
|
138
|
-
}>> & {
|
139
|
-
onLogin?: (() => any) | undefined;
|
140
|
-
onLogout?: (() => any) | undefined;
|
141
|
-
"onSelect-business"?: ((business: FmpBusiness) => any) | undefined;
|
142
|
-
"onSelect-country"?: ((country: {
|
143
|
-
code: "AF" | "AX" | "AL" | "DZ" | "AS" | "AD" | "AO" | "AI" | "AQ" | "AG" | "AR" | "AM" | "AW" | "AU" | "AT" | "AZ" | "BS" | "BH" | "BD" | "BB" | "BY" | "BE" | "BZ" | "BJ" | "BM" | "BT" | "BO" | "BQ" | "BA" | "BW" | "BV" | "BR" | "IO" | "BN" | "BG" | "BF" | "BI" | "KH" | "CM" | "CA" | "CV" | "KY" | "CF" | "TD" | "CL" | "CN" | "CX" | "CC" | "CO" | "KM" | "CG" | "CD" | "CK" | "CR" | "CI" | "HR" | "CU" | "CW" | "CY" | "CZ" | "DK" | "DJ" | "DM" | "DO" | "EC" | "EG" | "SV" | "GQ" | "ER" | "EE" | "ET" | "FK" | "FO" | "FJ" | "FI" | "FR" | "GF" | "PF" | "TF" | "GA" | "GM" | "GE" | "DE" | "GH" | "GI" | "GR" | "GL" | "GD" | "GP" | "GU" | "GT" | "GG" | "GN" | "GW" | "GY" | "HT" | "HM" | "VA" | "HN" | "HK" | "HU" | "IS" | "IN" | "ID" | "IR" | "IQ" | "IE" | "IM" | "IL" | "IT" | "JM" | "JP" | "JE" | "JO" | "KZ" | "KE" | "KI" | "KR" | "KP" | "KW" | "KG" | "LA" | "LV" | "LB" | "LS" | "LR" | "LY" | "LI" | "LT" | "LU" | "MO" | "MK" | "MG" | "MW" | "MY" | "MV" | "ML" | "MT" | "MH" | "MQ" | "MR" | "MU" | "YT" | "MX" | "FM" | "MD" | "MC" | "MN" | "ME" | "MS" | "MA" | "MZ" | "MM" | "NA" | "NR" | "NP" | "NL" | "NC" | "NZ" | "NI" | "NE" | "NG" | "NU" | "NF" | "MP" | "NO" | "OM" | "PK" | "PW" | "PS" | "PA" | "PG" | "PY" | "PE" | "PH" | "PN" | "PL" | "PT" | "PR" | "QA" | "RE" | "RO" | "RU" | "RW" | "BL" | "SH" | "KN" | "LC" | "MF" | "PM" | "VC" | "WS" | "SM" | "ST" | "SA" | "SN" | "RS" | "SC" | "SL" | "SG" | "SX" | "SK" | "SI" | "SB" | "SO" | "ZA" | "GS" | "SS" | "ES" | "LK" | "SD" | "SR" | "SJ" | "SZ" | "SE" | "CH" | "SY" | "TW" | "TJ" | "TZ" | "TH" | "TL" | "TG" | "TK" | "TO" | "TT" | "TN" | "TR" | "TM" | "TC" | "TV" | "UG" | "UA" | "AE" | "GB" | "US" | "UM" | "UY" | "UZ" | "VU" | "VE" | "VN" | "VG" | "VI" | "WF" | "EH" | "YE" | "ZM" | "ZW";
|
144
|
-
name: string;
|
145
|
-
currency: {
|
146
|
-
symbol: string;
|
147
|
-
code: string;
|
148
|
-
precision: number;
|
149
|
-
format: string;
|
150
|
-
};
|
151
|
-
taxSystems: {
|
152
|
-
code: string;
|
153
|
-
name: string;
|
154
|
-
variants: {
|
155
|
-
default?: boolean | null | undefined;
|
156
|
-
rateByTime?: {
|
157
|
-
rate: {
|
158
|
-
amount: number;
|
159
|
-
precision: number;
|
160
|
-
};
|
161
|
-
startDate: string;
|
162
|
-
}[] | undefined;
|
163
|
-
code: string;
|
164
|
-
name: string;
|
165
|
-
rate: {
|
166
|
-
amount: number;
|
167
|
-
precision: number;
|
168
|
-
};
|
169
|
-
}[];
|
170
|
-
}[];
|
171
|
-
}) => any) | undefined;
|
172
|
-
}, {
|
173
|
-
currentBusiness: FmpBusiness;
|
174
|
-
user: FeedMeUser | null;
|
175
|
-
}, {}>, {
|
176
|
-
actions?(_: {}): any;
|
177
|
-
}>;
|
178
|
-
export default _default;
|
179
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
180
|
-
new (): {
|
181
|
-
$slots: S;
|
182
|
-
};
|
183
|
-
};
|