@feedmepos/mf-common 1.10.0-beta.1 → 1.11.0-beta.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -1 +1 @@
1
- {"version":3,"file":"App.vue.d.ts","sourceRoot":"","sources":["../../src/App.vue.ts"],"names":[],"mappings":";;;AA+JA,wBAAwG;AACxG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAAE,QAAO;QAClD,MAAM,EAAE,CAAC,CAAC;KACT,CAAA;CAAE,CAAC"}
1
+ {"version":3,"file":"App.vue.d.ts","sourceRoot":"","sources":["../../src/App.vue.ts"],"names":[],"mappings":";;;AAiKA,wBAAwG;AACxG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAAE,QAAO;QAClD,MAAM,EAAE,CAAC,CAAC;KACT,CAAA;CAAE,CAAC"}
package/dist/app.d.ts CHANGED
@@ -1,6 +1,8 @@
1
1
  import { FeedMeAuth } from "@feedmepos/auth";
2
2
  import type { FmNamespace } from "@/store";
3
3
  import { useCoreStore } from "./store";
4
+ import enUS from "./locales/en-US.json";
5
+ import type { FeedMeI18nOptions } from "@feedmepos/i18n";
4
6
  export declare function initialize(clientId: string, namespace?: FmNamespace): void;
5
7
  export declare const onAuthStateChanged: typeof FeedMeAuth.onAuthStateChanged;
6
8
  export { baseClientInstance } from "./api";
@@ -9,4 +11,261 @@ export { useCoreStore, FeedMeAuth };
9
11
  export { CountryOptions } from "./utils/country";
10
12
  export { FmpUser } from "./store";
11
13
  export { installRouteValidation, Permission, type ValidationManifest, type RouteValidationResult } from "./permission/permission";
14
+ export declare const availableLocales: string[];
15
+ export declare const portalShellI18nMessages: {
16
+ "en-US": {
17
+ portalshell: {
18
+ menu: {
19
+ account: string;
20
+ business: string;
21
+ myBusiness: string;
22
+ manageAccount: string;
23
+ country: {
24
+ label: string;
25
+ my: string;
26
+ sg: string;
27
+ id: string;
28
+ th: string;
29
+ vn: string;
30
+ ph: string;
31
+ hk: string;
32
+ mo: string;
33
+ };
34
+ language: string;
35
+ logOut: string;
36
+ debug: string;
37
+ stopDebug: string;
38
+ };
39
+ apps: {
40
+ section: {
41
+ switchTo: string;
42
+ devSpace: string;
43
+ };
44
+ actions: {
45
+ settings: string;
46
+ switchToV2: string;
47
+ };
48
+ pos: {
49
+ label: string;
50
+ sublabel: string;
51
+ };
52
+ connect: {
53
+ label: string;
54
+ sublabel: string;
55
+ };
56
+ report: {
57
+ label: string;
58
+ sublabel: string;
59
+ };
60
+ inventory: {
61
+ label: string;
62
+ sublabel: string;
63
+ };
64
+ brand: {
65
+ label: string;
66
+ sublabel: string;
67
+ };
68
+ payment: {
69
+ label: string;
70
+ sublabel: string;
71
+ };
72
+ settings: {
73
+ label: string;
74
+ };
75
+ adminSpace: {
76
+ label: string;
77
+ sublabel: string;
78
+ };
79
+ };
80
+ selectBusiness: {
81
+ title: string;
82
+ searchPlaceholder: string;
83
+ };
84
+ myBusiness: {
85
+ title: string;
86
+ };
87
+ debugUser: {
88
+ title: string;
89
+ subtitle: string;
90
+ debug: string;
91
+ phoneEmpty: string;
92
+ debugFailed: string;
93
+ stopDebugTitle: string;
94
+ stopDebugMessage: string;
95
+ stopDebugFailed: string;
96
+ };
97
+ logOut: {
98
+ title: string;
99
+ subtitle: string;
100
+ logOut: string;
101
+ };
102
+ manageAccount: {
103
+ title: string;
104
+ basicInfo: string;
105
+ name: string;
106
+ email: string;
107
+ phone: string;
108
+ password: string;
109
+ passwordSubtitle: string;
110
+ changePassword: string;
111
+ profileUpdated: string;
112
+ failedToUpdateProfile: string;
113
+ nameRequired: string;
114
+ emailRequired: string;
115
+ emailInvalid: string;
116
+ };
117
+ changePassword: {
118
+ step1: {
119
+ title: string;
120
+ subtitle: string;
121
+ currentPassword: string;
122
+ forgotPassword: string;
123
+ passwordConfirmed: string;
124
+ passwordConfirmFailed: string;
125
+ };
126
+ step2: {
127
+ title: string;
128
+ newPassword: string;
129
+ confirmNewPassword: string;
130
+ changePassword: string;
131
+ passwordChanged: string;
132
+ failedToChangePassword: string;
133
+ newPasswordRequired: string;
134
+ passwordMustBeAtLeast8Characters: string;
135
+ useAtLeast8Characters: string;
136
+ passwordsDoNotMatch: string;
137
+ };
138
+ };
139
+ };
140
+ };
141
+ "zh-CN": {
142
+ portalshell: {
143
+ menu: {
144
+ account: string;
145
+ business: string;
146
+ myBusiness: string;
147
+ manageAccount: string;
148
+ country: {
149
+ label: string;
150
+ my: string;
151
+ sg: string;
152
+ id: string;
153
+ th: string;
154
+ vn: string;
155
+ ph: string;
156
+ hk: string;
157
+ mo: string;
158
+ };
159
+ language: string;
160
+ logOut: string;
161
+ debug: string;
162
+ stopDebug: string;
163
+ };
164
+ apps: {
165
+ section: {
166
+ switchTo: string;
167
+ devSpace: string;
168
+ };
169
+ actions: {
170
+ settings: string;
171
+ switchToV2: string;
172
+ };
173
+ pos: {
174
+ label: string;
175
+ sublabel: string;
176
+ };
177
+ connect: {
178
+ label: string;
179
+ sublabel: string;
180
+ };
181
+ report: {
182
+ label: string;
183
+ sublabel: string;
184
+ };
185
+ inventory: {
186
+ label: string;
187
+ sublabel: string;
188
+ };
189
+ brand: {
190
+ label: string;
191
+ sublabel: string;
192
+ };
193
+ payment: {
194
+ label: string;
195
+ sublabel: string;
196
+ };
197
+ settings: {
198
+ label: string;
199
+ };
200
+ adminSpace: {
201
+ label: string;
202
+ sublabel: string;
203
+ };
204
+ };
205
+ selectBusiness: {
206
+ title: string;
207
+ searchPlaceholder: string;
208
+ };
209
+ myBusiness: {
210
+ title: string;
211
+ };
212
+ debugUser: {
213
+ title: string;
214
+ subtitle: string;
215
+ debug: string;
216
+ phoneEmpty: string;
217
+ debugFailed: string;
218
+ stopDebugTitle: string;
219
+ stopDebugMessage: string;
220
+ stopDebugFailed: string;
221
+ };
222
+ logOut: {
223
+ title: string;
224
+ subtitle: string;
225
+ logOut: string;
226
+ };
227
+ manageAccount: {
228
+ title: string;
229
+ basicInfo: string;
230
+ name: string;
231
+ email: string;
232
+ phone: string;
233
+ password: string;
234
+ passwordSubtitle: string;
235
+ changePassword: string;
236
+ profileUpdated: string;
237
+ failedToUpdateProfile: string;
238
+ nameRequired: string;
239
+ emailRequired: string;
240
+ emailInvalid: string;
241
+ };
242
+ changePassword: {
243
+ step1: {
244
+ title: string;
245
+ subtitle: string;
246
+ currentPassword: string;
247
+ forgotPassword: string;
248
+ passwordConfirmed: string;
249
+ passwordConfirmFailed: string;
250
+ };
251
+ step2: {
252
+ title: string;
253
+ newPassword: string;
254
+ confirmNewPassword: string;
255
+ changePassword: string;
256
+ passwordChanged: string;
257
+ failedToChangePassword: string;
258
+ newPasswordRequired: string;
259
+ passwordMustBeAtLeast8Characters: string;
260
+ useAtLeast8Characters: string;
261
+ passwordsDoNotMatch: string;
262
+ };
263
+ };
264
+ };
265
+ };
266
+ };
267
+ export type PortalShellI18nSchema = typeof enUS;
268
+ export { useI18n } from "@feedmepos/i18n";
269
+ export type { CommonMessagesSchema, FeedMeI18nOptions, I18n, DefineLocaleMessage } from "@feedmepos/i18n";
270
+ export declare function createFeedMeI18n(options: FeedMeI18nOptions): import("vue-i18n").I18n<{}, {}, {}, string, boolean>;
12
271
  //# sourceMappingURL=app.d.ts.map
package/dist/app.d.ts.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"app.d.ts","sourceRoot":"","sources":["../../src/app.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAA;AAC5C,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,SAAS,CAAA;AAC1C,OAAO,EAAE,YAAY,EAAE,MAAM,SAAS,CAAA;AAEtC,wBAAgB,UAAU,CAAC,QAAQ,EAAE,MAAM,EAAE,SAAS,CAAC,EAAE,WAAW,QAenE;AAED,eAAO,MAAM,kBAAkB,sCAAgC,CAAA;AAC/D,OAAO,EAAE,kBAAkB,EAAE,MAAM,OAAO,CAAA;AAC1C,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,WAAW,CAAA;A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